@beaver-im/js-sdk 1.0.0 → 1.0.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.
@@ -1,9 +1,9 @@
1
- var so = Object.defineProperty;
2
- var ao = (e, t, n) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var nr = (e, t, n) => (ao(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as wt, ref as c0, onUnmounted as co, openBlock as x0, createElementBlock as h0, createElementVNode as X, createCommentVNode as D0, toDisplayString as P0, withDirectives as or, vModelText as xo, vModelDynamic as fo, watch as uo, getCurrentInstance as lo, resolveComponent as ir, createBlock as sr, defineCustomElement as ho } from "vue";
1
+ var io = Object.defineProperty;
2
+ var so = (e, t, n) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var nr = (e, t, n) => (so(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { defineComponent as wt, ref as c0, onUnmounted as ao, openBlock as x0, createElementBlock as h0, createElementVNode as X, createCommentVNode as m0, toDisplayString as k0, withDirectives as or, vModelText as co, vModelDynamic as xo, watch as fo, getCurrentInstance as uo, resolveComponent as ir, createBlock as sr, defineCustomElement as lo } from "vue";
5
5
  var M = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function po(e) {
6
+ function ho(e) {
7
7
  if (e.__esModule)
8
8
  return e;
9
9
  var t = e.default;
@@ -24,11 +24,11 @@ function po(e) {
24
24
  });
25
25
  }), n;
26
26
  }
27
- var V0 = {}, vo = function() {
27
+ var V0 = {}, po = function() {
28
28
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
29
29
  }, an = {}, o0 = {};
30
30
  let _t;
31
- const go = [
31
+ const vo = [
32
32
  0,
33
33
  // Not used
34
34
  26,
@@ -80,7 +80,7 @@ o0.getSymbolSize = function(t) {
80
80
  return t * 4 + 17;
81
81
  };
82
82
  o0.getSymbolTotalCodewords = function(t) {
83
- return go[t];
83
+ return vo[t];
84
84
  };
85
85
  o0.getBCHDigit = function(e) {
86
86
  let t = 0;
@@ -154,7 +154,7 @@ cn.prototype = {
154
154
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
155
155
  }
156
156
  };
157
- var Eo = cn;
157
+ var go = cn;
158
158
  function G0(e) {
159
159
  if (!e || e < 1)
160
160
  throw new Error("BitMatrix size must be defined and greater than 0");
@@ -173,7 +173,7 @@ G0.prototype.xor = function(e, t, n) {
173
173
  G0.prototype.isReserved = function(e, t) {
174
174
  return this.reservedBit[e * this.size + t];
175
175
  };
176
- var Bo = G0, xn = {};
176
+ var Eo = G0, xn = {};
177
177
  (function(e) {
178
178
  const t = o0.getSymbolSize;
179
179
  e.getRowColCoords = function(r) {
@@ -194,9 +194,9 @@ var Bo = G0, xn = {};
194
194
  };
195
195
  })(xn);
196
196
  var fn = {};
197
- const Co = o0.getSymbolSize, ar = 7;
197
+ const Bo = o0.getSymbolSize, ar = 7;
198
198
  fn.getPositions = function(t) {
199
- const n = Co(t);
199
+ const n = Bo(t);
200
200
  return [
201
201
  // top-left
202
202
  [0, 0],
@@ -658,13 +658,13 @@ pe.getTotalCodewordsCount = function(t, n) {
658
658
  }
659
659
  };
660
660
  var ln = {}, ve = {};
661
- const W0 = new Uint8Array(512), fe = new Uint8Array(256);
661
+ const $0 = new Uint8Array(512), fe = new Uint8Array(256);
662
662
  (function() {
663
663
  let t = 1;
664
664
  for (let n = 0; n < 255; n++)
665
- W0[n] = t, fe[t] = n, t <<= 1, t & 256 && (t ^= 285);
665
+ $0[n] = t, fe[t] = n, t <<= 1, t & 256 && (t ^= 285);
666
666
  for (let n = 255; n < 512; n++)
667
- W0[n] = W0[n - 255];
667
+ $0[n] = $0[n - 255];
668
668
  })();
669
669
  ve.log = function(t) {
670
670
  if (t < 1)
@@ -672,10 +672,10 @@ ve.log = function(t) {
672
672
  return fe[t];
673
673
  };
674
674
  ve.exp = function(t) {
675
- return W0[t];
675
+ return $0[t];
676
676
  };
677
677
  ve.mul = function(t, n) {
678
- return t === 0 || n === 0 ? 0 : W0[fe[t] + fe[n]];
678
+ return t === 0 || n === 0 ? 0 : $0[fe[t] + fe[n]];
679
679
  };
680
680
  (function(e) {
681
681
  const t = ve;
@@ -723,30 +723,30 @@ Rt.prototype.encode = function(t) {
723
723
  }
724
724
  return r;
725
725
  };
726
- var Ao = Rt, hn = {}, A0 = {}, St = {};
726
+ var Co = Rt, hn = {}, A0 = {}, St = {};
727
727
  St.isValid = function(t) {
728
728
  return !isNaN(t) && t >= 1 && t <= 40;
729
729
  };
730
730
  var p0 = {};
731
- const pn = "[0-9]+", bo = "[A-Z $%*+\\-./:]+";
731
+ const pn = "[0-9]+", Ao = "[A-Z $%*+\\-./:]+";
732
732
  let K0 = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
733
733
  K0 = K0.replace(/u/g, "\\u");
734
- const yo = "(?:(?![A-Z0-9 $%*+\\-./:]|" + K0 + `)(?:.|[\r
734
+ const bo = "(?:(?![A-Z0-9 $%*+\\-./:]|" + K0 + `)(?:.|[\r
735
735
  ]))+`;
736
736
  p0.KANJI = new RegExp(K0, "g");
737
737
  p0.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
738
- p0.BYTE = new RegExp(yo, "g");
738
+ p0.BYTE = new RegExp(bo, "g");
739
739
  p0.NUMERIC = new RegExp(pn, "g");
740
- p0.ALPHANUMERIC = new RegExp(bo, "g");
741
- const mo = new RegExp("^" + K0 + "$"), Do = new RegExp("^" + pn + "$"), Fo = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
740
+ p0.ALPHANUMERIC = new RegExp(Ao, "g");
741
+ const yo = new RegExp("^" + K0 + "$"), mo = new RegExp("^" + pn + "$"), Do = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
742
742
  p0.testKanji = function(t) {
743
- return mo.test(t);
743
+ return yo.test(t);
744
744
  };
745
745
  p0.testNumeric = function(t) {
746
- return Do.test(t);
746
+ return mo.test(t);
747
747
  };
748
748
  p0.testAlphanumeric = function(t) {
749
- return Fo.test(t);
749
+ return Do.test(t);
750
750
  };
751
751
  (function(e) {
752
752
  const t = St, n = p0;
@@ -874,37 +874,37 @@ p0.testAlphanumeric = function(t) {
874
874
  };
875
875
  })(hn);
876
876
  var vn = {};
877
- const Et = o0, gn = 1335, wo = 21522, cr = Et.getBCHDigit(gn);
877
+ const Et = o0, gn = 1335, Fo = 21522, cr = Et.getBCHDigit(gn);
878
878
  vn.getEncodedBits = function(t, n) {
879
879
  const r = t.bit << 3 | n;
880
880
  let o = r << 10;
881
881
  for (; Et.getBCHDigit(o) - cr >= 0; )
882
882
  o ^= gn << Et.getBCHDigit(o) - cr;
883
- return (r << 10 | o) ^ wo;
883
+ return (r << 10 | o) ^ Fo;
884
884
  };
885
885
  var En = {};
886
- const _o = A0;
887
- function T0(e) {
888
- this.mode = _o.NUMERIC, this.data = e.toString();
886
+ const wo = A0;
887
+ function P0(e) {
888
+ this.mode = wo.NUMERIC, this.data = e.toString();
889
889
  }
890
- T0.getBitsLength = function(t) {
890
+ P0.getBitsLength = function(t) {
891
891
  return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
892
892
  };
893
- T0.prototype.getLength = function() {
893
+ P0.prototype.getLength = function() {
894
894
  return this.data.length;
895
895
  };
896
- T0.prototype.getBitsLength = function() {
897
- return T0.getBitsLength(this.data.length);
896
+ P0.prototype.getBitsLength = function() {
897
+ return P0.getBitsLength(this.data.length);
898
898
  };
899
- T0.prototype.write = function(t) {
899
+ P0.prototype.write = function(t) {
900
900
  let n, r, o;
901
901
  for (n = 0; n + 3 <= this.data.length; n += 3)
902
902
  r = this.data.substr(n, 3), o = parseInt(r, 10), t.put(o, 10);
903
903
  const i = this.data.length - n;
904
904
  i > 0 && (r = this.data.substr(n), o = parseInt(r, 10), t.put(o, i * 3 + 1));
905
905
  };
906
- var Ro = T0;
907
- const So = A0, _e = [
906
+ var _o = P0;
907
+ const Ro = A0, _e = [
908
908
  "0",
909
909
  "1",
910
910
  "2",
@@ -951,19 +951,19 @@ const So = A0, _e = [
951
951
  "/",
952
952
  ":"
953
953
  ];
954
- function I0(e) {
955
- this.mode = So.ALPHANUMERIC, this.data = e;
954
+ function T0(e) {
955
+ this.mode = Ro.ALPHANUMERIC, this.data = e;
956
956
  }
957
- I0.getBitsLength = function(t) {
957
+ T0.getBitsLength = function(t) {
958
958
  return 11 * Math.floor(t / 2) + 6 * (t % 2);
959
959
  };
960
- I0.prototype.getLength = function() {
960
+ T0.prototype.getLength = function() {
961
961
  return this.data.length;
962
962
  };
963
- I0.prototype.getBitsLength = function() {
964
- return I0.getBitsLength(this.data.length);
963
+ T0.prototype.getBitsLength = function() {
964
+ return T0.getBitsLength(this.data.length);
965
965
  };
966
- I0.prototype.write = function(t) {
966
+ T0.prototype.write = function(t) {
967
967
  let n;
968
968
  for (n = 0; n + 2 <= this.data.length; n += 2) {
969
969
  let r = _e.indexOf(this.data[n]) * 45;
@@ -971,42 +971,42 @@ I0.prototype.write = function(t) {
971
971
  }
972
972
  this.data.length % 2 && t.put(_e.indexOf(this.data[n]), 6);
973
973
  };
974
- var ko = I0;
975
- const Po = A0;
976
- function L0(e) {
977
- this.mode = Po.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
974
+ var So = T0;
975
+ const ko = A0;
976
+ function I0(e) {
977
+ this.mode = ko.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
978
978
  }
979
- L0.getBitsLength = function(t) {
979
+ I0.getBitsLength = function(t) {
980
980
  return t * 8;
981
981
  };
982
- L0.prototype.getLength = function() {
982
+ I0.prototype.getLength = function() {
983
983
  return this.data.length;
984
984
  };
985
- L0.prototype.getBitsLength = function() {
986
- return L0.getBitsLength(this.data.length);
985
+ I0.prototype.getBitsLength = function() {
986
+ return I0.getBitsLength(this.data.length);
987
987
  };
988
- L0.prototype.write = function(e) {
988
+ I0.prototype.write = function(e) {
989
989
  for (let t = 0, n = this.data.length; t < n; t++)
990
990
  e.put(this.data[t], 8);
991
991
  };
992
- var To = L0;
993
- const Io = A0, Lo = o0;
994
- function N0(e) {
995
- this.mode = Io.KANJI, this.data = e;
992
+ var Po = I0;
993
+ const To = A0, Io = o0;
994
+ function L0(e) {
995
+ this.mode = To.KANJI, this.data = e;
996
996
  }
997
- N0.getBitsLength = function(t) {
997
+ L0.getBitsLength = function(t) {
998
998
  return t * 13;
999
999
  };
1000
- N0.prototype.getLength = function() {
1000
+ L0.prototype.getLength = function() {
1001
1001
  return this.data.length;
1002
1002
  };
1003
- N0.prototype.getBitsLength = function() {
1004
- return N0.getBitsLength(this.data.length);
1003
+ L0.prototype.getBitsLength = function() {
1004
+ return L0.getBitsLength(this.data.length);
1005
1005
  };
1006
- N0.prototype.write = function(e) {
1006
+ L0.prototype.write = function(e) {
1007
1007
  let t;
1008
1008
  for (t = 0; t < this.data.length; t++) {
1009
- let n = Lo.toSJIS(this.data[t]);
1009
+ let n = Io.toSJIS(this.data[t]);
1010
1010
  if (n >= 33088 && n <= 40956)
1011
1011
  n -= 33088;
1012
1012
  else if (n >= 57408 && n <= 60351)
@@ -1019,7 +1019,7 @@ Make sure your charset is UTF-8`
1019
1019
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
1020
1020
  }
1021
1021
  };
1022
- var No = N0, Bn = { exports: {} };
1022
+ var Lo = L0, Bn = { exports: {} };
1023
1023
  (function(e) {
1024
1024
  var t = {
1025
1025
  single_source_shortest_paths: function(n, r, o) {
@@ -1085,9 +1085,9 @@ var No = N0, Bn = { exports: {} };
1085
1085
  };
1086
1086
  e.exports = t;
1087
1087
  })(Bn);
1088
- var Oo = Bn.exports;
1088
+ var No = Bn.exports;
1089
1089
  (function(e) {
1090
- const t = A0, n = Ro, r = ko, o = To, i = No, a = p0, s = o0, x = Oo;
1090
+ const t = A0, n = _o, r = So, o = Po, i = Lo, a = p0, s = o0, x = No;
1091
1091
  function c(B) {
1092
1092
  return unescape(encodeURIComponent(B)).length;
1093
1093
  }
@@ -1217,9 +1217,9 @@ var Oo = Bn.exports;
1217
1217
  );
1218
1218
  };
1219
1219
  })(En);
1220
- const ge = o0, Re = he, Ho = Eo, zo = Bo, Uo = xn, Mo = fn, Bt = un, Ct = pe, qo = Ao, ue = hn, jo = vn, $o = A0, Se = En;
1221
- function Wo(e, t) {
1222
- const n = e.size, r = Mo.getPositions(t);
1220
+ const ge = o0, Re = he, Oo = go, Ho = Eo, zo = xn, Uo = fn, Bt = un, Ct = pe, Mo = Co, ue = hn, qo = vn, jo = A0, Se = En;
1221
+ function $o(e, t) {
1222
+ const n = e.size, r = Uo.getPositions(t);
1223
1223
  for (let o = 0; o < r.length; o++) {
1224
1224
  const i = r[o][0], a = r[o][1];
1225
1225
  for (let s = -1; s <= 7; s++)
@@ -1228,15 +1228,15 @@ function Wo(e, t) {
1228
1228
  a + x <= -1 || n <= a + x || (s >= 0 && s <= 6 && (x === 0 || x === 6) || x >= 0 && x <= 6 && (s === 0 || s === 6) || s >= 2 && s <= 4 && x >= 2 && x <= 4 ? e.set(i + s, a + x, !0, !0) : e.set(i + s, a + x, !1, !0));
1229
1229
  }
1230
1230
  }
1231
- function Ko(e) {
1231
+ function Wo(e) {
1232
1232
  const t = e.size;
1233
1233
  for (let n = 8; n < t - 8; n++) {
1234
1234
  const r = n % 2 === 0;
1235
1235
  e.set(n, 6, r, !0), e.set(6, n, r, !0);
1236
1236
  }
1237
1237
  }
1238
- function Vo(e, t) {
1239
- const n = Uo.getPositions(t);
1238
+ function Ko(e, t) {
1239
+ const n = zo.getPositions(t);
1240
1240
  for (let r = 0; r < n.length; r++) {
1241
1241
  const o = n[r][0], i = n[r][1];
1242
1242
  for (let a = -2; a <= 2; a++)
@@ -1244,20 +1244,20 @@ function Vo(e, t) {
1244
1244
  a === -2 || a === 2 || s === -2 || s === 2 || a === 0 && s === 0 ? e.set(o + a, i + s, !0, !0) : e.set(o + a, i + s, !1, !0);
1245
1245
  }
1246
1246
  }
1247
- function Go(e, t) {
1247
+ function Vo(e, t) {
1248
1248
  const n = e.size, r = ue.getEncodedBits(t);
1249
1249
  let o, i, a;
1250
1250
  for (let s = 0; s < 18; s++)
1251
1251
  o = Math.floor(s / 3), i = s % 3 + n - 8 - 3, a = (r >> s & 1) === 1, e.set(o, i, a, !0), e.set(i, o, a, !0);
1252
1252
  }
1253
1253
  function ke(e, t, n) {
1254
- const r = e.size, o = jo.getEncodedBits(t, n);
1254
+ const r = e.size, o = qo.getEncodedBits(t, n);
1255
1255
  let i, a;
1256
1256
  for (i = 0; i < 15; i++)
1257
1257
  a = (o >> i & 1) === 1, i < 6 ? e.set(i, 8, a, !0) : i < 8 ? e.set(i + 1, 8, a, !0) : e.set(r - 15 + i, 8, a, !0), i < 8 ? e.set(8, r - i - 1, a, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, a, !0) : e.set(8, 15 - i - 1, a, !0);
1258
1258
  e.set(r - 8, 8, 1, !0);
1259
1259
  }
1260
- function Xo(e, t) {
1260
+ function Go(e, t) {
1261
1261
  const n = e.size;
1262
1262
  let r = -1, o = n - 1, i = 7, a = 0;
1263
1263
  for (let s = n - 1; s > 0; s -= 2)
@@ -1273,10 +1273,10 @@ function Xo(e, t) {
1273
1273
  }
1274
1274
  }
1275
1275
  }
1276
- function Qo(e, t, n) {
1277
- const r = new Ho();
1276
+ function Xo(e, t, n) {
1277
+ const r = new Oo();
1278
1278
  n.forEach(function(x) {
1279
- r.put(x.mode.bit, 4), r.put(x.getLength(), $o.getCharCountIndicator(x.mode, e)), x.write(r);
1279
+ r.put(x.mode.bit, 4), r.put(x.getLength(), jo.getCharCountIndicator(x.mode, e)), x.write(r);
1280
1280
  });
1281
1281
  const o = ge.getSymbolTotalCodewords(e), i = Ct.getTotalCodewordsCount(e, t), a = (o - i) * 8;
1282
1282
  for (r.getLengthInBits() + 4 <= a && r.put(0, 4); r.getLengthInBits() % 8 !== 0; )
@@ -1284,10 +1284,10 @@ function Qo(e, t, n) {
1284
1284
  const s = (a - r.getLengthInBits()) / 8;
1285
1285
  for (let x = 0; x < s; x++)
1286
1286
  r.put(x % 2 ? 17 : 236, 8);
1287
- return Zo(r, e, t);
1287
+ return Qo(r, e, t);
1288
1288
  }
1289
- function Zo(e, t, n) {
1290
- const r = ge.getSymbolTotalCodewords(t), o = Ct.getTotalCodewordsCount(t, n), i = r - o, a = Ct.getBlocksCount(t, n), s = r % a, x = a - s, c = Math.floor(r / a), f = Math.floor(i / a), C = f + 1, l = c - f, p = new qo(l);
1289
+ function Qo(e, t, n) {
1290
+ const r = ge.getSymbolTotalCodewords(t), o = Ct.getTotalCodewordsCount(t, n), i = r - o, a = Ct.getBlocksCount(t, n), s = r % a, x = a - s, c = Math.floor(r / a), f = Math.floor(i / a), C = f + 1, l = c - f, p = new Mo(l);
1291
1291
  let g = 0;
1292
1292
  const v = new Array(a), h = new Array(a);
1293
1293
  let B = 0;
@@ -1306,7 +1306,7 @@ function Zo(e, t, n) {
1306
1306
  d[E++] = h[y][A];
1307
1307
  return d;
1308
1308
  }
1309
- function Yo(e, t, n, r) {
1309
+ function Zo(e, t, n, r) {
1310
1310
  let o;
1311
1311
  if (Array.isArray(e))
1312
1312
  o = Se.fromArray(e);
@@ -1331,8 +1331,8 @@ The chosen QR Code version cannot contain this amount of data.
1331
1331
  Minimum version required to store current data is: ` + i + `.
1332
1332
  `
1333
1333
  );
1334
- const a = Qo(t, n, o), s = ge.getSymbolSize(t), x = new zo(s);
1335
- return Wo(x, t), Ko(x), Vo(x, t), ke(x, n, 0), t >= 7 && Go(x, t), Xo(x, a), isNaN(r) && (r = Bt.getBestMask(
1334
+ const a = Xo(t, n, o), s = ge.getSymbolSize(t), x = new Ho(s);
1335
+ return $o(x, t), Wo(x), Ko(x, t), ke(x, n, 0), t >= 7 && Vo(x, t), Go(x, a), isNaN(r) && (r = Bt.getBestMask(
1336
1336
  x,
1337
1337
  ke.bind(null, x, n)
1338
1338
  )), Bt.applyMask(r, x), ke(x, n, r), {
@@ -1347,7 +1347,7 @@ an.create = function(t, n) {
1347
1347
  if (typeof t > "u" || t === "")
1348
1348
  throw new Error("No input text");
1349
1349
  let r = Re.M, o, i;
1350
- return typeof n < "u" && (r = Re.from(n.errorCorrectionLevel, Re.M), o = ue.from(n.version), i = Bt.from(n.maskPattern), n.toSJISFunc && ge.setToSJISFunction(n.toSJISFunc)), Yo(t, o, r, i);
1350
+ return typeof n < "u" && (r = Re.from(n.errorCorrectionLevel, Re.M), o = ue.from(n.version), i = Bt.from(n.maskPattern), n.toSJISFunc && ge.setToSJISFunction(n.toSJISFunc)), Zo(t, o, r, i);
1351
1351
  };
1352
1352
  var Cn = {}, kt = {};
1353
1353
  (function(e) {
@@ -1426,7 +1426,7 @@ var Cn = {}, kt = {};
1426
1426
  };
1427
1427
  })(Cn);
1428
1428
  var An = {};
1429
- const Jo = kt;
1429
+ const Yo = kt;
1430
1430
  function xr(e, t) {
1431
1431
  const n = e.a / 255, r = t + '="' + e.hex + '"';
1432
1432
  return n < 1 ? r + " " + t + '-opacity="' + n.toFixed(2).slice(1) + '"' : r;
@@ -1435,7 +1435,7 @@ function Pe(e, t, n) {
1435
1435
  let r = e + t;
1436
1436
  return typeof n < "u" && (r += " " + n), r;
1437
1437
  }
1438
- function ei(e, t, n) {
1438
+ function Jo(e, t, n) {
1439
1439
  let r = "", o = 0, i = !1, a = 0;
1440
1440
  for (let s = 0; s < e.length; s++) {
1441
1441
  const x = Math.floor(s % t), c = Math.floor(s / t);
@@ -1444,14 +1444,14 @@ function ei(e, t, n) {
1444
1444
  return r;
1445
1445
  }
1446
1446
  An.render = function(t, n, r) {
1447
- const o = Jo.getOptions(n), i = t.modules.size, a = t.modules.data, s = i + o.margin * 2, x = o.color.light.a ? "<path " + xr(o.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", c = "<path " + xr(o.color.dark, "stroke") + ' d="' + ei(a, i, o.margin) + '"/>', f = 'viewBox="0 0 ' + s + " " + s + '"', l = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + x + c + `</svg>
1447
+ const o = Yo.getOptions(n), i = t.modules.size, a = t.modules.data, s = i + o.margin * 2, x = o.color.light.a ? "<path " + xr(o.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", c = "<path " + xr(o.color.dark, "stroke") + ' d="' + Jo(a, i, o.margin) + '"/>', f = 'viewBox="0 0 ' + s + " " + s + '"', l = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + x + c + `</svg>
1448
1448
  `;
1449
1449
  return typeof r == "function" && r(null, l), l;
1450
1450
  };
1451
- const ti = vo, At = an, bn = Cn, ri = An;
1451
+ const ei = po, At = an, bn = Cn, ti = An;
1452
1452
  function Pt(e, t, n, r, o) {
1453
1453
  const i = [].slice.call(arguments, 1), a = i.length, s = typeof i[a - 1] == "function";
1454
- if (!s && !ti())
1454
+ if (!s && !ei())
1455
1455
  throw new Error("Callback required as last argument");
1456
1456
  if (s) {
1457
1457
  if (a < 2)
@@ -1480,37 +1480,22 @@ V0.create = At.create;
1480
1480
  V0.toCanvas = Pt.bind(null, bn.render);
1481
1481
  V0.toDataURL = Pt.bind(null, bn.renderToDataURL);
1482
1482
  V0.toString = Pt.bind(null, function(e, t, n) {
1483
- return ri.render(e, n);
1483
+ return ti.render(e, n);
1484
1484
  });
1485
- const fr = {
1486
- dev: {
1487
- env: "dev",
1488
- apiBase: "http://192.168.3.4:20800",
1489
- oauthBase: "http://192.168.3.4:8045"
1490
- },
1491
- test: {
1492
- env: "test",
1493
- apiBase: "https://server-test.wsrh8888.com",
1494
- oauthBase: "https://oauth-test.wsrh8888.com"
1495
- },
1496
- prod: {
1497
- env: "prod",
1498
- apiBase: "https://server.wsrh8888.com",
1499
- oauthBase: "https://oauth.wsrh8888.com"
1500
- }
1485
+ const W0 = {
1486
+ apiBase: "https://server.wsrh8888.com",
1487
+ oauthBase: "https://oauth.wsrh8888.com"
1501
1488
  };
1502
- class ni {
1489
+ class ri {
1503
1490
  constructor() {
1504
- nr(this, "data", fr.prod);
1491
+ nr(this, "data", { ...W0 });
1505
1492
  }
1506
1493
  init(t) {
1507
- const n = fr[t];
1508
- if (!n)
1509
- throw new Error(`不支持的 env: ${t}`);
1510
- this.data = n;
1511
- }
1512
- get env() {
1513
- return this.data.env;
1494
+ var n, r;
1495
+ this.data = {
1496
+ apiBase: ((n = t == null ? void 0 : t.apiBase) == null ? void 0 : n.trim()) || W0.apiBase,
1497
+ oauthBase: ((r = t == null ? void 0 : t.oauthBase) == null ? void 0 : r.trim()) || W0.oauthBase
1498
+ };
1514
1499
  }
1515
1500
  get apiBase() {
1516
1501
  return this.data.apiBase;
@@ -1519,30 +1504,30 @@ class ni {
1519
1504
  return this.data.oauthBase;
1520
1505
  }
1521
1506
  }
1522
- const X0 = new ni();
1507
+ const X0 = new ri();
1523
1508
  function yn(e, t) {
1524
1509
  return function() {
1525
1510
  return e.apply(t, arguments);
1526
1511
  };
1527
1512
  }
1528
- const { toString: oi } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: Be, toStringTag: mn } = Symbol, Ce = ((e) => (t) => {
1529
- const n = oi.call(t);
1513
+ const { toString: ni } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: Be, toStringTag: mn } = Symbol, Ce = ((e) => (t) => {
1514
+ const n = ni.call(t);
1530
1515
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
1531
- })(/* @__PURE__ */ Object.create(null)), d0 = (e) => (e = e.toLowerCase(), (t) => Ce(t) === e), Ae = (e) => (t) => typeof t === e, { isArray: H0 } = Array, O0 = Ae("undefined");
1516
+ })(/* @__PURE__ */ Object.create(null)), d0 = (e) => (e = e.toLowerCase(), (t) => Ce(t) === e), Ae = (e) => (t) => typeof t === e, { isArray: O0 } = Array, N0 = Ae("undefined");
1532
1517
  function Q0(e) {
1533
- return e !== null && !O0(e) && e.constructor !== null && !O0(e.constructor) && t0(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1518
+ return e !== null && !N0(e) && e.constructor !== null && !N0(e.constructor) && t0(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1534
1519
  }
1535
1520
  const Dn = d0("ArrayBuffer");
1536
- function ii(e) {
1521
+ function oi(e) {
1537
1522
  let t;
1538
1523
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Dn(e.buffer), t;
1539
1524
  }
1540
- const si = Ae("string"), t0 = Ae("function"), Fn = Ae("number"), Z0 = (e) => e !== null && typeof e == "object", ai = (e) => e === !0 || e === !1, se = (e) => {
1525
+ const ii = Ae("string"), t0 = Ae("function"), Fn = Ae("number"), Z0 = (e) => e !== null && typeof e == "object", si = (e) => e === !0 || e === !1, se = (e) => {
1541
1526
  if (Ce(e) !== "object")
1542
1527
  return !1;
1543
1528
  const t = Ee(e);
1544
1529
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(mn in e) && !(Be in e);
1545
- }, ci = (e) => {
1530
+ }, ai = (e) => {
1546
1531
  if (!Z0(e) || Q0(e))
1547
1532
  return !1;
1548
1533
  try {
@@ -1550,14 +1535,14 @@ const si = Ae("string"), t0 = Ae("function"), Fn = Ae("number"), Z0 = (e) => e !
1550
1535
  } catch {
1551
1536
  return !1;
1552
1537
  }
1553
- }, xi = d0("Date"), fi = d0("File"), ui = (e) => !!(e && typeof e.uri < "u"), li = (e) => e && typeof e.getParts < "u", di = d0("Blob"), hi = d0("FileList"), pi = (e) => Z0(e) && t0(e.pipe);
1554
- function vi() {
1538
+ }, ci = d0("Date"), xi = d0("File"), fi = (e) => !!(e && typeof e.uri < "u"), ui = (e) => e && typeof e.getParts < "u", li = d0("Blob"), di = d0("FileList"), hi = (e) => Z0(e) && t0(e.pipe);
1539
+ function pi() {
1555
1540
  return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
1556
1541
  }
1557
- const ur = vi(), lr = typeof ur.FormData < "u" ? ur.FormData : void 0, gi = (e) => {
1542
+ const fr = pi(), ur = typeof fr.FormData < "u" ? fr.FormData : void 0, vi = (e) => {
1558
1543
  if (!e)
1559
1544
  return !1;
1560
- if (lr && e instanceof lr)
1545
+ if (ur && e instanceof ur)
1561
1546
  return !0;
1562
1547
  const t = Ee(e);
1563
1548
  if (!t || t === Object.prototype || !t0(e.append))
@@ -1565,17 +1550,17 @@ const ur = vi(), lr = typeof ur.FormData < "u" ? ur.FormData : void 0, gi = (e)
1565
1550
  const n = Ce(e);
1566
1551
  return n === "formdata" || // detect form-data instance
1567
1552
  n === "object" && t0(e.toString) && e.toString() === "[object FormData]";
1568
- }, Ei = d0("URLSearchParams"), [Bi, Ci, Ai, bi] = [
1553
+ }, gi = d0("URLSearchParams"), [Ei, Bi, Ci, Ai] = [
1569
1554
  "ReadableStream",
1570
1555
  "Request",
1571
1556
  "Response",
1572
1557
  "Headers"
1573
- ].map(d0), yi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1558
+ ].map(d0), bi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1574
1559
  function Y0(e, t, { allOwnKeys: n = !1 } = {}) {
1575
1560
  if (e === null || typeof e > "u")
1576
1561
  return;
1577
1562
  let r, o;
1578
- if (typeof e != "object" && (e = [e]), H0(e))
1563
+ if (typeof e != "object" && (e = [e]), O0(e))
1579
1564
  for (r = 0, o = e.length; r < o; r++)
1580
1565
  t.call(null, e[r], r, e);
1581
1566
  else {
@@ -1598,19 +1583,19 @@ function wn(e, t) {
1598
1583
  return o;
1599
1584
  return null;
1600
1585
  }
1601
- const m0 = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _n = (e) => !O0(e) && e !== m0;
1586
+ const y0 = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _n = (e) => !N0(e) && e !== y0;
1602
1587
  function bt(...e) {
1603
1588
  const { caseless: t, skipUndefined: n } = _n(this) && this || {}, r = {}, o = (i, a) => {
1604
1589
  if (a === "__proto__" || a === "constructor" || a === "prototype")
1605
1590
  return;
1606
1591
  const s = t && wn(r, a) || a, x = yt(r, s) ? r[s] : void 0;
1607
- se(x) && se(i) ? r[s] = bt(x, i) : se(i) ? r[s] = bt({}, i) : H0(i) ? r[s] = i.slice() : (!n || !O0(i)) && (r[s] = i);
1592
+ se(x) && se(i) ? r[s] = bt(x, i) : se(i) ? r[s] = bt({}, i) : O0(i) ? r[s] = i.slice() : (!n || !N0(i)) && (r[s] = i);
1608
1593
  };
1609
1594
  for (let i = 0, a = e.length; i < a; i++)
1610
1595
  e[i] && Y0(e[i], o);
1611
1596
  return r;
1612
1597
  }
1613
- const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1598
+ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1614
1599
  t,
1615
1600
  (o, i) => {
1616
1601
  n && t0(o) ? Object.defineProperty(e, i, {
@@ -1630,7 +1615,7 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1630
1615
  });
1631
1616
  },
1632
1617
  { allOwnKeys: r }
1633
- ), e), Di = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Fi = (e, t, n, r) => {
1618
+ ), e), mi = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Di = (e, t, n, r) => {
1634
1619
  e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
1635
1620
  __proto__: null,
1636
1621
  value: e,
@@ -1641,7 +1626,7 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1641
1626
  __proto__: null,
1642
1627
  value: t.prototype
1643
1628
  }), n && Object.assign(e.prototype, n);
1644
- }, wi = (e, t, n, r) => {
1629
+ }, Fi = (e, t, n, r) => {
1645
1630
  let o, i, a;
1646
1631
  const s = {};
1647
1632
  if (t = t || {}, e == null)
@@ -1652,14 +1637,14 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1652
1637
  e = n !== !1 && Ee(e);
1653
1638
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
1654
1639
  return t;
1655
- }, _i = (e, t, n) => {
1640
+ }, wi = (e, t, n) => {
1656
1641
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
1657
1642
  const r = e.indexOf(t, n);
1658
1643
  return r !== -1 && r === n;
1659
- }, Ri = (e) => {
1644
+ }, _i = (e) => {
1660
1645
  if (!e)
1661
1646
  return null;
1662
- if (H0(e))
1647
+ if (O0(e))
1663
1648
  return e;
1664
1649
  let t = e.length;
1665
1650
  if (!Fn(t))
@@ -1668,28 +1653,28 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1668
1653
  for (; t-- > 0; )
1669
1654
  n[t] = e[t];
1670
1655
  return n;
1671
- }, Si = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), ki = (e, t) => {
1656
+ }, Ri = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), Si = (e, t) => {
1672
1657
  const r = (e && e[Be]).call(e);
1673
1658
  let o;
1674
1659
  for (; (o = r.next()) && !o.done; ) {
1675
1660
  const i = o.value;
1676
1661
  t.call(e, i[0], i[1]);
1677
1662
  }
1678
- }, Pi = (e, t) => {
1663
+ }, ki = (e, t) => {
1679
1664
  let n;
1680
1665
  const r = [];
1681
1666
  for (; (n = e.exec(t)) !== null; )
1682
1667
  r.push(n);
1683
1668
  return r;
1684
- }, Ti = d0("HTMLFormElement"), Ii = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, o) {
1669
+ }, Pi = d0("HTMLFormElement"), Ti = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, o) {
1685
1670
  return r.toUpperCase() + o;
1686
- }), yt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Li = d0("RegExp"), Rn = (e, t) => {
1671
+ }), yt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ii = d0("RegExp"), Rn = (e, t) => {
1687
1672
  const n = Object.getOwnPropertyDescriptors(e), r = {};
1688
1673
  Y0(n, (o, i) => {
1689
1674
  let a;
1690
1675
  (a = t(o, i, e)) !== !1 && (r[i] = a || o);
1691
1676
  }), Object.defineProperties(e, r);
1692
- }, Ni = (e) => {
1677
+ }, Li = (e) => {
1693
1678
  Rn(e, (t, n) => {
1694
1679
  if (t0(e) && ["arguments", "caller", "callee"].includes(n))
1695
1680
  return !1;
@@ -1704,19 +1689,19 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1704
1689
  });
1705
1690
  }
1706
1691
  });
1707
- }, Oi = (e, t) => {
1692
+ }, Ni = (e, t) => {
1708
1693
  const n = {}, r = (o) => {
1709
1694
  o.forEach((i) => {
1710
1695
  n[i] = !0;
1711
1696
  });
1712
1697
  };
1713
- return H0(e) ? r(e) : r(String(e).split(t)), n;
1714
- }, Hi = () => {
1715
- }, zi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1716
- function Ui(e) {
1698
+ return O0(e) ? r(e) : r(String(e).split(t)), n;
1699
+ }, Oi = () => {
1700
+ }, Hi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1701
+ function zi(e) {
1717
1702
  return !!(e && t0(e.append) && e[mn] === "FormData" && e[Be]);
1718
1703
  }
1719
- const Mi = (e) => {
1704
+ const Ui = (e) => {
1720
1705
  const t = new Array(10), n = (r, o) => {
1721
1706
  if (Z0(r)) {
1722
1707
  if (t.indexOf(r) >= 0)
@@ -1725,86 +1710,86 @@ const Mi = (e) => {
1725
1710
  return r;
1726
1711
  if (!("toJSON" in r)) {
1727
1712
  t[o] = r;
1728
- const i = H0(r) ? [] : {};
1713
+ const i = O0(r) ? [] : {};
1729
1714
  return Y0(r, (a, s) => {
1730
1715
  const x = n(a, o + 1);
1731
- !O0(x) && (i[s] = x);
1716
+ !N0(x) && (i[s] = x);
1732
1717
  }), t[o] = void 0, i;
1733
1718
  }
1734
1719
  }
1735
1720
  return r;
1736
1721
  };
1737
1722
  return n(e, 0);
1738
- }, qi = d0("AsyncFunction"), ji = (e) => e && (Z0(e) || t0(e)) && t0(e.then) && t0(e.catch), Sn = ((e, t) => e ? setImmediate : t ? ((n, r) => (m0.addEventListener(
1723
+ }, Mi = d0("AsyncFunction"), qi = (e) => e && (Z0(e) || t0(e)) && t0(e.then) && t0(e.catch), Sn = ((e, t) => e ? setImmediate : t ? ((n, r) => (y0.addEventListener(
1739
1724
  "message",
1740
1725
  ({ source: o, data: i }) => {
1741
- o === m0 && i === n && r.length && r.shift()();
1726
+ o === y0 && i === n && r.length && r.shift()();
1742
1727
  },
1743
1728
  !1
1744
1729
  ), (o) => {
1745
- r.push(o), m0.postMessage(n, "*");
1746
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", t0(m0.postMessage)), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(m0) : typeof process < "u" && process.nextTick || Sn, Wi = (e) => e != null && t0(e[Be]), D = {
1747
- isArray: H0,
1730
+ r.push(o), y0.postMessage(n, "*");
1731
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", t0(y0.postMessage)), ji = typeof queueMicrotask < "u" ? queueMicrotask.bind(y0) : typeof process < "u" && process.nextTick || Sn, $i = (e) => e != null && t0(e[Be]), D = {
1732
+ isArray: O0,
1748
1733
  isArrayBuffer: Dn,
1749
1734
  isBuffer: Q0,
1750
- isFormData: gi,
1751
- isArrayBufferView: ii,
1752
- isString: si,
1735
+ isFormData: vi,
1736
+ isArrayBufferView: oi,
1737
+ isString: ii,
1753
1738
  isNumber: Fn,
1754
- isBoolean: ai,
1739
+ isBoolean: si,
1755
1740
  isObject: Z0,
1756
1741
  isPlainObject: se,
1757
- isEmptyObject: ci,
1758
- isReadableStream: Bi,
1759
- isRequest: Ci,
1760
- isResponse: Ai,
1761
- isHeaders: bi,
1762
- isUndefined: O0,
1763
- isDate: xi,
1764
- isFile: fi,
1765
- isReactNativeBlob: ui,
1766
- isReactNative: li,
1767
- isBlob: di,
1768
- isRegExp: Li,
1742
+ isEmptyObject: ai,
1743
+ isReadableStream: Ei,
1744
+ isRequest: Bi,
1745
+ isResponse: Ci,
1746
+ isHeaders: Ai,
1747
+ isUndefined: N0,
1748
+ isDate: ci,
1749
+ isFile: xi,
1750
+ isReactNativeBlob: fi,
1751
+ isReactNative: ui,
1752
+ isBlob: li,
1753
+ isRegExp: Ii,
1769
1754
  isFunction: t0,
1770
- isStream: pi,
1771
- isURLSearchParams: Ei,
1772
- isTypedArray: Si,
1773
- isFileList: hi,
1755
+ isStream: hi,
1756
+ isURLSearchParams: gi,
1757
+ isTypedArray: Ri,
1758
+ isFileList: di,
1774
1759
  forEach: Y0,
1775
1760
  merge: bt,
1776
- extend: mi,
1777
- trim: yi,
1778
- stripBOM: Di,
1779
- inherits: Fi,
1780
- toFlatObject: wi,
1761
+ extend: yi,
1762
+ trim: bi,
1763
+ stripBOM: mi,
1764
+ inherits: Di,
1765
+ toFlatObject: Fi,
1781
1766
  kindOf: Ce,
1782
1767
  kindOfTest: d0,
1783
- endsWith: _i,
1784
- toArray: Ri,
1785
- forEachEntry: ki,
1786
- matchAll: Pi,
1787
- isHTMLForm: Ti,
1768
+ endsWith: wi,
1769
+ toArray: _i,
1770
+ forEachEntry: Si,
1771
+ matchAll: ki,
1772
+ isHTMLForm: Pi,
1788
1773
  hasOwnProperty: yt,
1789
1774
  hasOwnProp: yt,
1790
1775
  // an alias to avoid ESLint no-prototype-builtins detection
1791
1776
  reduceDescriptors: Rn,
1792
- freezeMethods: Ni,
1793
- toObjectSet: Oi,
1794
- toCamelCase: Ii,
1795
- noop: Hi,
1796
- toFiniteNumber: zi,
1777
+ freezeMethods: Li,
1778
+ toObjectSet: Ni,
1779
+ toCamelCase: Ti,
1780
+ noop: Oi,
1781
+ toFiniteNumber: Hi,
1797
1782
  findKey: wn,
1798
- global: m0,
1783
+ global: y0,
1799
1784
  isContextDefined: _n,
1800
- isSpecCompliantForm: Ui,
1801
- toJSONObject: Mi,
1802
- isAsyncFn: qi,
1803
- isThenable: ji,
1785
+ isSpecCompliantForm: zi,
1786
+ toJSONObject: Ui,
1787
+ isAsyncFn: Mi,
1788
+ isThenable: qi,
1804
1789
  setImmediate: Sn,
1805
- asap: $i,
1806
- isIterable: Wi
1807
- }, Ki = D.toObjectSet([
1790
+ asap: ji,
1791
+ isIterable: $i
1792
+ }, Wi = D.toObjectSet([
1808
1793
  "age",
1809
1794
  "authorization",
1810
1795
  "content-length",
@@ -1822,15 +1807,15 @@ const Mi = (e) => {
1822
1807
  "referer",
1823
1808
  "retry-after",
1824
1809
  "user-agent"
1825
- ]), Vi = (e) => {
1810
+ ]), Ki = (e) => {
1826
1811
  const t = {};
1827
1812
  let n, r, o;
1828
1813
  return e && e.split(`
1829
1814
  `).forEach(function(a) {
1830
- o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && Ki[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1815
+ o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && Wi[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1831
1816
  }), t;
1832
- }, dr = Symbol("internals"), Gi = /[^\x09\x20-\x7E\x80-\xFF]/g;
1833
- function Xi(e) {
1817
+ }, lr = Symbol("internals"), Vi = /[^\x09\x20-\x7E\x80-\xFF]/g;
1818
+ function Gi(e) {
1834
1819
  let t = 0, n = e.length;
1835
1820
  for (; t < n; ) {
1836
1821
  const r = e.charCodeAt(t);
@@ -1846,23 +1831,23 @@ function Xi(e) {
1846
1831
  }
1847
1832
  return t === 0 && n === e.length ? e : e.slice(t, n);
1848
1833
  }
1849
- function $0(e) {
1834
+ function j0(e) {
1850
1835
  return e && String(e).trim().toLowerCase();
1851
1836
  }
1852
- function Qi(e) {
1853
- return Xi(e.replace(Gi, ""));
1837
+ function Xi(e) {
1838
+ return Gi(e.replace(Vi, ""));
1854
1839
  }
1855
1840
  function ae(e) {
1856
- return e === !1 || e == null ? e : D.isArray(e) ? e.map(ae) : Qi(String(e));
1841
+ return e === !1 || e == null ? e : D.isArray(e) ? e.map(ae) : Xi(String(e));
1857
1842
  }
1858
- function Zi(e) {
1843
+ function Qi(e) {
1859
1844
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1860
1845
  let r;
1861
1846
  for (; r = n.exec(e); )
1862
1847
  t[r[1]] = r[2];
1863
1848
  return t;
1864
1849
  }
1865
- const Yi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1850
+ const Zi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1866
1851
  function Te(e, t, n, r, o) {
1867
1852
  if (D.isFunction(r))
1868
1853
  return r.call(this, t, n);
@@ -1873,10 +1858,10 @@ function Te(e, t, n, r, o) {
1873
1858
  return r.test(t);
1874
1859
  }
1875
1860
  }
1876
- function Ji(e) {
1861
+ function Yi(e) {
1877
1862
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
1878
1863
  }
1879
- function es(e, t) {
1864
+ function Ji(e, t) {
1880
1865
  const n = D.toCamelCase(" " + t);
1881
1866
  ["get", "set", "has"].forEach((r) => {
1882
1867
  Object.defineProperty(e, r + n, {
@@ -1897,7 +1882,7 @@ class be {
1897
1882
  set(t, n, r) {
1898
1883
  const o = this;
1899
1884
  function i(s, x, c) {
1900
- const f = $0(x);
1885
+ const f = j0(x);
1901
1886
  if (!f)
1902
1887
  throw new Error("header name must be a non-empty string");
1903
1888
  const C = D.findKey(o, f);
@@ -1906,8 +1891,8 @@ class be {
1906
1891
  const a = (s, x) => D.forEach(s, (c, f) => i(c, f, x));
1907
1892
  if (D.isPlainObject(t) || t instanceof this.constructor)
1908
1893
  a(t, n);
1909
- else if (D.isString(t) && (t = t.trim()) && !Yi(t))
1910
- a(Vi(t), n);
1894
+ else if (D.isString(t) && (t = t.trim()) && !Zi(t))
1895
+ a(Ki(t), n);
1911
1896
  else if (D.isObject(t) && D.isIterable(t)) {
1912
1897
  let s = {}, x, c;
1913
1898
  for (const f of t) {
@@ -1921,14 +1906,14 @@ class be {
1921
1906
  return this;
1922
1907
  }
1923
1908
  get(t, n) {
1924
- if (t = $0(t), t) {
1909
+ if (t = j0(t), t) {
1925
1910
  const r = D.findKey(this, t);
1926
1911
  if (r) {
1927
1912
  const o = this[r];
1928
1913
  if (!n)
1929
1914
  return o;
1930
1915
  if (n === !0)
1931
- return Zi(o);
1916
+ return Qi(o);
1932
1917
  if (D.isFunction(n))
1933
1918
  return n.call(this, o, r);
1934
1919
  if (D.isRegExp(n))
@@ -1938,7 +1923,7 @@ class be {
1938
1923
  }
1939
1924
  }
1940
1925
  has(t, n) {
1941
- if (t = $0(t), t) {
1926
+ if (t = j0(t), t) {
1942
1927
  const r = D.findKey(this, t);
1943
1928
  return !!(r && this[r] !== void 0 && (!n || Te(this, this[r], r, n)));
1944
1929
  }
@@ -1948,7 +1933,7 @@ class be {
1948
1933
  const r = this;
1949
1934
  let o = !1;
1950
1935
  function i(a) {
1951
- if (a = $0(a), a) {
1936
+ if (a = j0(a), a) {
1952
1937
  const s = D.findKey(r, a);
1953
1938
  s && (!n || Te(r, r[s], s, n)) && (delete r[s], o = !0);
1954
1939
  }
@@ -1972,7 +1957,7 @@ class be {
1972
1957
  n[a] = ae(o), delete n[i];
1973
1958
  return;
1974
1959
  }
1975
- const s = t ? Ji(i) : String(i).trim();
1960
+ const s = t ? Yi(i) : String(i).trim();
1976
1961
  s !== i && delete n[i], n[s] = ae(o), r[s] = !0;
1977
1962
  }), this;
1978
1963
  }
@@ -2006,12 +1991,12 @@ class be {
2006
1991
  return n.forEach((o) => r.set(o)), r;
2007
1992
  }
2008
1993
  static accessor(t) {
2009
- const r = (this[dr] = this[dr] = {
1994
+ const r = (this[lr] = this[lr] = {
2010
1995
  accessors: {}
2011
1996
  }).accessors, o = this.prototype;
2012
1997
  function i(a) {
2013
- const s = $0(a);
2014
- r[s] || (es(o, a), r[s] = !0);
1998
+ const s = j0(a);
1999
+ r[s] || (Ji(o, a), r[s] = !0);
2015
2000
  }
2016
2001
  return D.isArray(t) ? t.forEach(i) : i(t), this;
2017
2002
  }
@@ -2034,8 +2019,8 @@ D.reduceDescriptors(be.prototype, ({ value: e }, t) => {
2034
2019
  };
2035
2020
  });
2036
2021
  D.freezeMethods(be);
2037
- const f0 = be, ts = "[REDACTED ****]";
2038
- function rs(e) {
2022
+ const f0 = be, es = "[REDACTED ****]";
2023
+ function ts(e) {
2039
2024
  if (D.hasOwnProp(e, "toJSON"))
2040
2025
  return !0;
2041
2026
  let t = Object.getPrototypeOf(e);
@@ -2046,7 +2031,7 @@ function rs(e) {
2046
2031
  }
2047
2032
  return !1;
2048
2033
  }
2049
- function ns(e, t) {
2034
+ function rs(e, t) {
2050
2035
  const n = new Set(t.map((i) => String(i).toLowerCase())), r = [], o = (i) => {
2051
2036
  if (i === null || typeof i != "object" || D.isBuffer(i))
2052
2037
  return i;
@@ -2060,11 +2045,11 @@ function ns(e, t) {
2060
2045
  D.isUndefined(c) || (a[x] = c);
2061
2046
  });
2062
2047
  else {
2063
- if (!D.isPlainObject(i) && rs(i))
2048
+ if (!D.isPlainObject(i) && ts(i))
2064
2049
  return r.pop(), i;
2065
2050
  a = /* @__PURE__ */ Object.create(null);
2066
2051
  for (const [s, x] of Object.entries(i)) {
2067
- const c = n.has(s.toLowerCase()) ? ts : o(x);
2052
+ const c = n.has(s.toLowerCase()) ? es : o(x);
2068
2053
  D.isUndefined(c) || (a[s] = c);
2069
2054
  }
2070
2055
  }
@@ -2100,7 +2085,7 @@ class J extends Error {
2100
2085
  }), this.name = "AxiosError", this.isAxiosError = !0, n && (this.code = n), r && (this.config = r), o && (this.request = o), i && (this.response = i, this.status = i.status);
2101
2086
  }
2102
2087
  toJSON() {
2103
- const t = this.config, n = t && D.hasOwnProp(t, "redact") ? t.redact : void 0, r = D.isArray(n) && n.length > 0 ? ns(t, n) : D.toJSONObject(t);
2088
+ const t = this.config, n = t && D.hasOwnProp(t, "redact") ? t.redact : void 0, r = D.isArray(n) && n.length > 0 ? rs(t, n) : D.toJSONObject(t);
2104
2089
  return {
2105
2090
  // Standard
2106
2091
  message: this.message,
@@ -2134,7 +2119,7 @@ J.ERR_CANCELED = "ERR_CANCELED";
2134
2119
  J.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
2135
2120
  J.ERR_INVALID_URL = "ERR_INVALID_URL";
2136
2121
  J.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
2137
- const H = J, os = null;
2122
+ const H = J, ns = null;
2138
2123
  function mt(e) {
2139
2124
  return D.isPlainObject(e) || D.isArray(e);
2140
2125
  }
@@ -2146,10 +2131,10 @@ function Ie(e, t, n) {
2146
2131
  return o = kn(o), !n && i ? "[" + o + "]" : o;
2147
2132
  }).join(n ? "." : "") : t;
2148
2133
  }
2149
- function is(e) {
2134
+ function os(e) {
2150
2135
  return D.isArray(e) && !e.some(mt);
2151
2136
  }
2152
- const ss = D.toFlatObject(D, {}, null, function(t) {
2137
+ const is = D.toFlatObject(D, {}, null, function(t) {
2153
2138
  return /^is[A-Z]/.test(t);
2154
2139
  });
2155
2140
  function ye(e, t, n) {
@@ -2188,7 +2173,7 @@ function ye(e, t, n) {
2188
2173
  if (v && !B && typeof v == "object") {
2189
2174
  if (D.endsWith(h, "{}"))
2190
2175
  h = r ? h : h.slice(0, -2), v = JSON.stringify(v);
2191
- else if (D.isArray(v) && is(v) || (D.isFileList(v) || D.endsWith(h, "[]")) && (u = D.toArray(v)))
2176
+ else if (D.isArray(v) && os(v) || (D.isFileList(v) || D.endsWith(h, "[]")) && (u = D.toArray(v)))
2192
2177
  return h = kn(h), u.forEach(function(E, A) {
2193
2178
  !(D.isUndefined(E) || E === null) && t.append(
2194
2179
  // eslint-disable-next-line no-nested-ternary
@@ -2199,7 +2184,7 @@ function ye(e, t, n) {
2199
2184
  }
2200
2185
  return mt(v) ? !0 : (t.append(Ie(B, h, i), f(v)), !1);
2201
2186
  }
2202
- const l = [], p = Object.assign(ss, {
2187
+ const l = [], p = Object.assign(is, {
2203
2188
  defaultVisitor: C,
2204
2189
  convertValue: f,
2205
2190
  isVisitable: mt
@@ -2222,7 +2207,7 @@ function ye(e, t, n) {
2222
2207
  throw new TypeError("data must be an object");
2223
2208
  return g(e), t;
2224
2209
  }
2225
- function hr(e) {
2210
+ function dr(e) {
2226
2211
  const t = {
2227
2212
  "!": "%21",
2228
2213
  "'": "%27",
@@ -2244,19 +2229,19 @@ Pn.append = function(t, n) {
2244
2229
  };
2245
2230
  Pn.toString = function(t) {
2246
2231
  const n = t ? function(r) {
2247
- return t.call(this, r, hr);
2248
- } : hr;
2232
+ return t.call(this, r, dr);
2233
+ } : dr;
2249
2234
  return this._pairs.map(function(o) {
2250
2235
  return n(o[0]) + "=" + n(o[1]);
2251
2236
  }, "").join("&");
2252
2237
  };
2253
- function as(e) {
2238
+ function ss(e) {
2254
2239
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
2255
2240
  }
2256
2241
  function Tn(e, t, n) {
2257
2242
  if (!t)
2258
2243
  return e;
2259
- const r = n && n.encode || as, o = D.isFunction(n) ? {
2244
+ const r = n && n.encode || ss, o = D.isFunction(n) ? {
2260
2245
  serialize: n
2261
2246
  } : n, i = o && o.serialize;
2262
2247
  let a;
@@ -2266,7 +2251,7 @@ function Tn(e, t, n) {
2266
2251
  }
2267
2252
  return e;
2268
2253
  }
2269
- class cs {
2254
+ class as {
2270
2255
  constructor() {
2271
2256
  this.handlers = [];
2272
2257
  }
@@ -2321,32 +2306,32 @@ class cs {
2321
2306
  });
2322
2307
  }
2323
2308
  }
2324
- const pr = cs, It = {
2309
+ const hr = as, It = {
2325
2310
  silentJSONParsing: !0,
2326
2311
  forcedJSONParsing: !0,
2327
2312
  clarifyTimeoutError: !1,
2328
2313
  legacyInterceptorReqResOrdering: !0
2329
- }, xs = typeof URLSearchParams < "u" ? URLSearchParams : Tt, fs = typeof FormData < "u" ? FormData : null, us = typeof Blob < "u" ? Blob : null, ls = {
2314
+ }, cs = typeof URLSearchParams < "u" ? URLSearchParams : Tt, xs = typeof FormData < "u" ? FormData : null, fs = typeof Blob < "u" ? Blob : null, us = {
2330
2315
  isBrowser: !0,
2331
2316
  classes: {
2332
- URLSearchParams: xs,
2333
- FormData: fs,
2334
- Blob: us
2317
+ URLSearchParams: cs,
2318
+ FormData: xs,
2319
+ Blob: fs
2335
2320
  },
2336
2321
  protocols: ["http", "https", "file", "blob", "url", "data"]
2337
- }, Lt = typeof window < "u" && typeof document < "u", Dt = typeof navigator == "object" && navigator || void 0, ds = Lt && (!Dt || ["ReactNative", "NativeScript", "NS"].indexOf(Dt.product) < 0), hs = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2338
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), ps = Lt && window.location.href || "http://localhost", vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2322
+ }, Lt = typeof window < "u" && typeof document < "u", Dt = typeof navigator == "object" && navigator || void 0, ls = Lt && (!Dt || ["ReactNative", "NativeScript", "NS"].indexOf(Dt.product) < 0), ds = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2323
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), hs = Lt && window.location.href || "http://localhost", ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2339
2324
  __proto__: null,
2340
2325
  hasBrowserEnv: Lt,
2341
- hasStandardBrowserEnv: ds,
2342
- hasStandardBrowserWebWorkerEnv: hs,
2326
+ hasStandardBrowserEnv: ls,
2327
+ hasStandardBrowserWebWorkerEnv: ds,
2343
2328
  navigator: Dt,
2344
- origin: ps
2329
+ origin: hs
2345
2330
  }, Symbol.toStringTag, { value: "Module" })), e0 = {
2346
- ...vs,
2347
- ...ls
2331
+ ...ps,
2332
+ ...us
2348
2333
  };
2349
- function gs(e, t) {
2334
+ function vs(e, t) {
2350
2335
  return ye(e, new e0.classes.URLSearchParams(), {
2351
2336
  visitor: function(n, r, o, i) {
2352
2337
  return e0.isNode && D.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
@@ -2354,10 +2339,10 @@ function gs(e, t) {
2354
2339
  ...t
2355
2340
  });
2356
2341
  }
2357
- function Es(e) {
2342
+ function gs(e) {
2358
2343
  return D.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
2359
2344
  }
2360
- function Bs(e) {
2345
+ function Es(e) {
2361
2346
  const t = {}, n = Object.keys(e);
2362
2347
  let r;
2363
2348
  const o = n.length;
@@ -2372,18 +2357,18 @@ function In(e) {
2372
2357
  if (a === "__proto__")
2373
2358
  return !0;
2374
2359
  const s = Number.isFinite(+a), x = i >= n.length;
2375
- return a = !a && D.isArray(o) ? o.length : a, x ? (D.hasOwnProp(o, a) ? o[a] = D.isArray(o[a]) ? o[a].concat(r) : [o[a], r] : o[a] = r, !s) : ((!o[a] || !D.isObject(o[a])) && (o[a] = []), t(n, r, o[a], i) && D.isArray(o[a]) && (o[a] = Bs(o[a])), !s);
2360
+ return a = !a && D.isArray(o) ? o.length : a, x ? (D.hasOwnProp(o, a) ? o[a] = D.isArray(o[a]) ? o[a].concat(r) : [o[a], r] : o[a] = r, !s) : ((!o[a] || !D.isObject(o[a])) && (o[a] = []), t(n, r, o[a], i) && D.isArray(o[a]) && (o[a] = Es(o[a])), !s);
2376
2361
  }
2377
2362
  if (D.isFormData(e) && D.isFunction(e.entries)) {
2378
2363
  const n = {};
2379
2364
  return D.forEachEntry(e, (r, o) => {
2380
- t(Es(r), o, n, 0);
2365
+ t(gs(r), o, n, 0);
2381
2366
  }), n;
2382
2367
  }
2383
2368
  return null;
2384
2369
  }
2385
- const k0 = (e, t) => e != null && D.hasOwnProp(e, t) ? e[t] : void 0;
2386
- function Cs(e, t, n) {
2370
+ const S0 = (e, t) => e != null && D.hasOwnProp(e, t) ? e[t] : void 0;
2371
+ function Bs(e, t, n) {
2387
2372
  if (D.isString(e))
2388
2373
  try {
2389
2374
  return (t || JSON.parse)(e), D.trim(e);
@@ -2409,11 +2394,11 @@ const Nt = {
2409
2394
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
2410
2395
  let s;
2411
2396
  if (i) {
2412
- const x = k0(this, "formSerializer");
2397
+ const x = S0(this, "formSerializer");
2413
2398
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
2414
- return gs(t, x).toString();
2399
+ return vs(t, x).toString();
2415
2400
  if ((s = D.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
2416
- const c = k0(this, "env"), f = c && c.FormData;
2401
+ const c = S0(this, "env"), f = c && c.FormData;
2417
2402
  return ye(
2418
2403
  s ? { "files[]": t } : t,
2419
2404
  f && new f(),
@@ -2421,21 +2406,21 @@ const Nt = {
2421
2406
  );
2422
2407
  }
2423
2408
  }
2424
- return i || o ? (n.setContentType("application/json", !1), Cs(t)) : t;
2409
+ return i || o ? (n.setContentType("application/json", !1), Bs(t)) : t;
2425
2410
  }
2426
2411
  ],
2427
2412
  transformResponse: [
2428
2413
  function(t) {
2429
- const n = k0(this, "transitional") || Nt.transitional, r = n && n.forcedJSONParsing, o = k0(this, "responseType"), i = o === "json";
2414
+ const n = S0(this, "transitional") || Nt.transitional, r = n && n.forcedJSONParsing, o = S0(this, "responseType"), i = o === "json";
2430
2415
  if (D.isResponse(t) || D.isReadableStream(t))
2431
2416
  return t;
2432
2417
  if (t && D.isString(t) && (r && !o || i)) {
2433
2418
  const s = !(n && n.silentJSONParsing) && i;
2434
2419
  try {
2435
- return JSON.parse(t, k0(this, "parseReviver"));
2420
+ return JSON.parse(t, S0(this, "parseReviver"));
2436
2421
  } catch (x) {
2437
2422
  if (s)
2438
- throw x.name === "SyntaxError" ? H.from(x, H.ERR_BAD_RESPONSE, this, null, k0(this, "response")) : x;
2423
+ throw x.name === "SyntaxError" ? H.from(x, H.ERR_BAD_RESPONSE, this, null, S0(this, "response")) : x;
2439
2424
  }
2440
2425
  }
2441
2426
  return t;
@@ -2478,7 +2463,7 @@ function Le(e, t) {
2478
2463
  function Ln(e) {
2479
2464
  return !!(e && e.__CANCEL__);
2480
2465
  }
2481
- class As extends H {
2466
+ class Cs extends H {
2482
2467
  /**
2483
2468
  * A `CanceledError` is an object that is thrown when an operation is canceled.
2484
2469
  *
@@ -2492,7 +2477,7 @@ class As extends H {
2492
2477
  super(t ?? "canceled", H.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
2493
2478
  }
2494
2479
  }
2495
- const J0 = As;
2480
+ const J0 = Cs;
2496
2481
  function Nn(e, t, n) {
2497
2482
  const r = n.config.validateStatus;
2498
2483
  !n.status || !r || r(n.status) ? e(n) : t(new H(
@@ -2503,11 +2488,11 @@ function Nn(e, t, n) {
2503
2488
  n
2504
2489
  ));
2505
2490
  }
2506
- function bs(e) {
2491
+ function As(e) {
2507
2492
  const t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
2508
2493
  return t && t[1] || "";
2509
2494
  }
2510
- function ys(e, t) {
2495
+ function bs(e, t) {
2511
2496
  e = e || 10;
2512
2497
  const n = new Array(e), r = new Array(e);
2513
2498
  let o = 0, i = 0, a;
@@ -2523,7 +2508,7 @@ function ys(e, t) {
2523
2508
  return p ? Math.round(l * 1e3 / p) : void 0;
2524
2509
  };
2525
2510
  }
2526
- function ms(e, t) {
2511
+ function ys(e, t) {
2527
2512
  let n = 0, r = 1e3 / t, o, i;
2528
2513
  const a = (c, f = Date.now()) => {
2529
2514
  n = f, o = null, i && (clearTimeout(i), i = null), e(...c);
@@ -2537,8 +2522,8 @@ function ms(e, t) {
2537
2522
  }
2538
2523
  const le = (e, t, n = 3) => {
2539
2524
  let r = 0;
2540
- const o = ys(50, 250);
2541
- return ms((i) => {
2525
+ const o = bs(50, 250);
2526
+ return ys((i) => {
2542
2527
  const a = i.loaded, s = i.lengthComputable ? i.total : void 0, x = s != null ? Math.min(a, s) : a, c = Math.max(0, x - r), f = o(c);
2543
2528
  r = Math.max(r, x);
2544
2529
  const C = {
@@ -2554,7 +2539,7 @@ const le = (e, t, n = 3) => {
2554
2539
  };
2555
2540
  e(C);
2556
2541
  }, n);
2557
- }, vr = (e, t) => {
2542
+ }, pr = (e, t) => {
2558
2543
  const n = e != null;
2559
2544
  return [
2560
2545
  (r) => t[0]({
@@ -2564,10 +2549,10 @@ const le = (e, t, n = 3) => {
2564
2549
  }),
2565
2550
  t[1]
2566
2551
  ];
2567
- }, gr = (e) => (...t) => D.asap(() => e(...t)), Ds = e0.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, e0.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
2552
+ }, vr = (e) => (...t) => D.asap(() => e(...t)), ms = e0.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, e0.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
2568
2553
  new URL(e0.origin),
2569
2554
  e0.navigator && /(msie|trident)/i.test(e0.navigator.userAgent)
2570
- ) : () => !0, Fs = e0.hasStandardBrowserEnv ? (
2555
+ ) : () => !0, Ds = e0.hasStandardBrowserEnv ? (
2571
2556
  // Standard browser envs support document.cookie
2572
2557
  {
2573
2558
  write(e, t, n, r, o, i, a) {
@@ -2603,18 +2588,18 @@ const le = (e, t, n = 3) => {
2603
2588
  }
2604
2589
  }
2605
2590
  );
2606
- function ws(e) {
2591
+ function Fs(e) {
2607
2592
  return typeof e != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
2608
2593
  }
2609
- function _s(e, t) {
2594
+ function ws(e, t) {
2610
2595
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
2611
2596
  }
2612
2597
  function On(e, t, n) {
2613
- let r = !ws(t);
2614
- return e && (r || n === !1) ? _s(e, t) : t;
2598
+ let r = !Fs(t);
2599
+ return e && (r || n === !1) ? ws(e, t) : t;
2615
2600
  }
2616
- const Er = (e) => e instanceof f0 ? { ...e } : e;
2617
- function F0(e, t) {
2601
+ const gr = (e) => e instanceof f0 ? { ...e } : e;
2602
+ function D0(e, t) {
2618
2603
  t = t || {};
2619
2604
  const n = /* @__PURE__ */ Object.create(null);
2620
2605
  Object.defineProperty(n, "hasOwnProperty", {
@@ -2683,7 +2668,7 @@ function F0(e, t) {
2683
2668
  allowedSocketPaths: a,
2684
2669
  responseEncoding: a,
2685
2670
  validateStatus: s,
2686
- headers: (c, f, C) => o(Er(c), Er(f), C, !0)
2671
+ headers: (c, f, C) => o(gr(c), gr(f), C, !0)
2687
2672
  };
2688
2673
  return D.forEach(Object.keys({ ...e, ...t }), function(f) {
2689
2674
  if (f === "__proto__" || f === "constructor" || f === "prototype")
@@ -2692,21 +2677,21 @@ function F0(e, t) {
2692
2677
  D.isUndefined(g) && C !== s || (n[f] = g);
2693
2678
  }), n;
2694
2679
  }
2695
- const Rs = ["content-type", "content-length"];
2696
- function Ss(e, t, n) {
2680
+ const _s = ["content-type", "content-length"];
2681
+ function Rs(e, t, n) {
2697
2682
  if (n !== "content-only") {
2698
2683
  e.set(t);
2699
2684
  return;
2700
2685
  }
2701
2686
  Object.entries(t).forEach(([r, o]) => {
2702
- Rs.includes(r.toLowerCase()) && e.set(r, o);
2687
+ _s.includes(r.toLowerCase()) && e.set(r, o);
2703
2688
  });
2704
2689
  }
2705
- const ks = (e) => encodeURIComponent(e).replace(
2690
+ const Ss = (e) => encodeURIComponent(e).replace(
2706
2691
  /%([0-9A-F]{2})/gi,
2707
2692
  (t, n) => String.fromCharCode(parseInt(n, 16))
2708
2693
  ), Hn = (e) => {
2709
- const t = F0({}, e), n = (l) => D.hasOwnProp(t, l) ? t[l] : void 0, r = n("data");
2694
+ const t = D0({}, e), n = (l) => D.hasOwnProp(t, l) ? t[l] : void 0, r = n("data");
2710
2695
  let o = n("withXSRFToken");
2711
2696
  const i = n("xsrfHeaderName"), a = n("xsrfCookieName");
2712
2697
  let s = n("headers");
@@ -2717,13 +2702,13 @@ const ks = (e) => encodeURIComponent(e).replace(
2717
2702
  e.paramsSerializer
2718
2703
  ), x && s.set(
2719
2704
  "Authorization",
2720
- "Basic " + btoa((x.username || "") + ":" + (x.password ? ks(x.password) : ""))
2721
- ), D.isFormData(r) && (e0.hasStandardBrowserEnv || e0.hasStandardBrowserWebWorkerEnv ? s.setContentType(void 0) : D.isFunction(r.getHeaders) && Ss(s, r.getHeaders(), n("formDataHeaderPolicy"))), e0.hasStandardBrowserEnv && (D.isFunction(o) && (o = o(t)), o === !0 || o == null && Ds(t.url))) {
2722
- const p = i && a && Fs.read(a);
2705
+ "Basic " + btoa((x.username || "") + ":" + (x.password ? Ss(x.password) : ""))
2706
+ ), D.isFormData(r) && (e0.hasStandardBrowserEnv || e0.hasStandardBrowserWebWorkerEnv ? s.setContentType(void 0) : D.isFunction(r.getHeaders) && Rs(s, r.getHeaders(), n("formDataHeaderPolicy"))), e0.hasStandardBrowserEnv && (D.isFunction(o) && (o = o(t)), o === !0 || o == null && ms(t.url))) {
2707
+ const p = i && a && Ds.read(a);
2723
2708
  p && s.set(i, p);
2724
2709
  }
2725
2710
  return t;
2726
- }, Ps = typeof XMLHttpRequest < "u", Ts = Ps && function(e) {
2711
+ }, ks = typeof XMLHttpRequest < "u", Ps = ks && function(e) {
2727
2712
  return new Promise(function(n, r) {
2728
2713
  const o = Hn(e);
2729
2714
  let i = o.data;
@@ -2780,7 +2765,7 @@ const ks = (e) => encodeURIComponent(e).replace(
2780
2765
  }), D.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([l, g] = le(c, !0), h.addEventListener("progress", l)), x && h.upload && ([C, p] = le(x), h.upload.addEventListener("progress", C), h.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (f = (d) => {
2781
2766
  h && (r(!d || d.type ? new J0(null, e, h) : d), h.abort(), v(), h = null);
2782
2767
  }, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
2783
- const u = bs(o.url);
2768
+ const u = As(o.url);
2784
2769
  if (u && !e0.protocols.includes(u)) {
2785
2770
  r(
2786
2771
  new H(
@@ -2793,7 +2778,7 @@ const ks = (e) => encodeURIComponent(e).replace(
2793
2778
  }
2794
2779
  h.send(i || null);
2795
2780
  });
2796
- }, Is = (e, t) => {
2781
+ }, Ts = (e, t) => {
2797
2782
  const { length: n } = e = e ? e.filter(Boolean) : [];
2798
2783
  if (t || n) {
2799
2784
  let r = new AbortController(), o;
@@ -2818,7 +2803,7 @@ const ks = (e) => encodeURIComponent(e).replace(
2818
2803
  const { signal: x } = r;
2819
2804
  return x.unsubscribe = () => D.asap(s), x;
2820
2805
  }
2821
- }, Ls = Is, Ns = function* (e, t) {
2806
+ }, Is = Ts, Ls = function* (e, t) {
2822
2807
  let n = e.byteLength;
2823
2808
  if (!t || n < t) {
2824
2809
  yield e;
@@ -2827,10 +2812,10 @@ const ks = (e) => encodeURIComponent(e).replace(
2827
2812
  let r = 0, o;
2828
2813
  for (; r < n; )
2829
2814
  o = r + t, yield e.slice(r, o), r = o;
2830
- }, Os = async function* (e, t) {
2831
- for await (const n of Hs(e))
2832
- yield* Ns(n, t);
2833
- }, Hs = async function* (e) {
2815
+ }, Ns = async function* (e, t) {
2816
+ for await (const n of Os(e))
2817
+ yield* Ls(n, t);
2818
+ }, Os = async function* (e) {
2834
2819
  if (e[Symbol.asyncIterator]) {
2835
2820
  yield* e;
2836
2821
  return;
@@ -2846,8 +2831,8 @@ const ks = (e) => encodeURIComponent(e).replace(
2846
2831
  } finally {
2847
2832
  await t.cancel();
2848
2833
  }
2849
- }, Br = (e, t, n, r) => {
2850
- const o = Os(e, t);
2834
+ }, Er = (e, t, n, r) => {
2835
+ const o = Ns(e, t);
2851
2836
  let i = 0, a, s = (x) => {
2852
2837
  a || (a = !0, r && r(x));
2853
2838
  };
@@ -2879,7 +2864,7 @@ const ks = (e) => encodeURIComponent(e).replace(
2879
2864
  }
2880
2865
  );
2881
2866
  };
2882
- function zs(e) {
2867
+ function Hs(e) {
2883
2868
  if (!e || typeof e != "string" || !e.startsWith("data:"))
2884
2869
  return 0;
2885
2870
  const t = e.indexOf(",");
@@ -2919,13 +2904,13 @@ function zs(e) {
2919
2904
  }
2920
2905
  return i;
2921
2906
  }
2922
- const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
2907
+ const Ht = "1.16.0", Br = 64 * 1024, { isFunction: ie } = D, Cr = (e, ...t) => {
2923
2908
  try {
2924
2909
  return !!e(...t);
2925
2910
  } catch {
2926
2911
  return !1;
2927
2912
  }
2928
- }, Us = (e) => {
2913
+ }, zs = (e) => {
2929
2914
  const t = D.global ?? globalThis, { ReadableStream: n, TextEncoder: r } = t;
2930
2915
  e = D.merge.call(
2931
2916
  {
@@ -2940,7 +2925,7 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
2940
2925
  const { fetch: o, Request: i, Response: a } = e, s = o ? ie(o) : typeof fetch == "function", x = ie(i), c = ie(a);
2941
2926
  if (!s)
2942
2927
  return !1;
2943
- const f = s && ie(n), C = s && (typeof r == "function" ? ((B) => (u) => B.encode(u))(new r()) : async (B) => new Uint8Array(await new i(B).arrayBuffer())), l = x && f && Ar(() => {
2928
+ const f = s && ie(n), C = s && (typeof r == "function" ? ((B) => (u) => B.encode(u))(new r()) : async (B) => new Uint8Array(await new i(B).arrayBuffer())), l = x && f && Cr(() => {
2944
2929
  let B = !1;
2945
2930
  const u = new i(e0.origin, {
2946
2931
  body: new n(),
@@ -2950,7 +2935,7 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
2950
2935
  }
2951
2936
  }), d = u.headers.has("Content-Type");
2952
2937
  return u.body != null && u.body.cancel(), B && !d;
2953
- }), p = c && f && Ar(() => D.isReadableStream(new a("").body)), g = {
2938
+ }), p = c && f && Cr(() => D.isReadableStream(new a("").body)), g = {
2954
2939
  stream: p && ((B) => B.body)
2955
2940
  };
2956
2941
  s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((B) => {
@@ -3003,7 +2988,7 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3003
2988
  const z = D.isNumber(L) && L > -1, V = D.isNumber(O) && O > -1;
3004
2989
  let W = o || fetch;
3005
2990
  b = b ? (b + "").toLowerCase() : "text";
3006
- let q = Ls(
2991
+ let q = Is(
3007
2992
  [A, y && y.toAbortSignal()],
3008
2993
  m
3009
2994
  ), U = null;
@@ -3012,7 +2997,7 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3012
2997
  });
3013
2998
  let T;
3014
2999
  try {
3015
- if (z && typeof u == "string" && u.startsWith("data:") && zs(u) > L)
3000
+ if (z && typeof u == "string" && u.startsWith("data:") && Hs(u) > L)
3016
3001
  throw new H(
3017
3002
  "maxContentLength size of " + L + " exceeded",
3018
3003
  H.ERR_BAD_RESPONSE,
@@ -3036,11 +3021,11 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3036
3021
  duplex: "half"
3037
3022
  }), i0;
3038
3023
  if (D.isFormData(E) && (i0 = N.headers.get("content-type")) && F.setContentType(i0), N.body) {
3039
- const [u0, v0] = vr(
3024
+ const [u0, v0] = pr(
3040
3025
  T,
3041
- le(gr(I))
3026
+ le(vr(I))
3042
3027
  );
3043
- E = Br(N.body, Cr, u0, v0);
3028
+ E = Er(N.body, Br, u0, v0);
3044
3029
  }
3045
3030
  }
3046
3031
  D.isString(S) || (S = S ? "include" : "omit");
@@ -3077,9 +3062,9 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3077
3062
  ["status", "statusText", "headers"].forEach((Z) => {
3078
3063
  N[Z] = j[Z];
3079
3064
  });
3080
- const i0 = D.toFiniteNumber(j.headers.get("content-length")), [u0, v0] = w && vr(
3065
+ const i0 = D.toFiniteNumber(j.headers.get("content-length")), [u0, v0] = w && pr(
3081
3066
  i0,
3082
- le(gr(w), !0)
3067
+ le(vr(w), !0)
3083
3068
  ) || [];
3084
3069
  let g0 = 0;
3085
3070
  const r0 = (Z) => {
@@ -3093,7 +3078,7 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3093
3078
  u0 && u0(Z);
3094
3079
  };
3095
3080
  j = new a(
3096
- Br(j.body, Cr, r0, () => {
3081
+ Er(j.body, Br, r0, () => {
3097
3082
  v0 && v0(), _ && _();
3098
3083
  }),
3099
3084
  N
@@ -3143,18 +3128,18 @@ const Ht = "1.16.0", Cr = 64 * 1024, { isFunction: ie } = D, Ar = (e, ...t) => {
3143
3128
  ) : H.from(k, k && k.code, B, U, k && k.response);
3144
3129
  }
3145
3130
  };
3146
- }, Ms = /* @__PURE__ */ new Map(), zn = (e) => {
3131
+ }, Us = /* @__PURE__ */ new Map(), zn = (e) => {
3147
3132
  let t = e && e.env || {};
3148
3133
  const { fetch: n, Request: r, Response: o } = t, i = [r, o, n];
3149
- let a = i.length, s = a, x, c, f = Ms;
3134
+ let a = i.length, s = a, x, c, f = Us;
3150
3135
  for (; s--; )
3151
- x = i[s], c = f.get(x), c === void 0 && f.set(x, c = s ? /* @__PURE__ */ new Map() : Us(t)), f = c;
3136
+ x = i[s], c = f.get(x), c === void 0 && f.set(x, c = s ? /* @__PURE__ */ new Map() : zs(t)), f = c;
3152
3137
  return c;
3153
3138
  };
3154
3139
  zn();
3155
3140
  const zt = {
3156
- http: os,
3157
- xhr: Ts,
3141
+ http: ns,
3142
+ xhr: Ps,
3158
3143
  fetch: {
3159
3144
  get: zn
3160
3145
  }
@@ -3168,8 +3153,8 @@ D.forEach(zt, (e, t) => {
3168
3153
  Object.defineProperty(e, "adapterName", { __proto__: null, value: t });
3169
3154
  }
3170
3155
  });
3171
- const br = (e) => `- ${e}`, qs = (e) => D.isFunction(e) || e === null || e === !1;
3172
- function js(e, t) {
3156
+ const Ar = (e) => `- ${e}`, Ms = (e) => D.isFunction(e) || e === null || e === !1;
3157
+ function qs(e, t) {
3173
3158
  e = D.isArray(e) ? e : [e];
3174
3159
  const { length: n } = e;
3175
3160
  let r, o;
@@ -3177,7 +3162,7 @@ function js(e, t) {
3177
3162
  for (let a = 0; a < n; a++) {
3178
3163
  r = e[a];
3179
3164
  let s;
3180
- if (o = r, !qs(r) && (o = zt[(s = String(r)).toLowerCase()], o === void 0))
3165
+ if (o = r, !Ms(r) && (o = zt[(s = String(r)).toLowerCase()], o === void 0))
3181
3166
  throw new H(`Unknown adapter '${s}'`);
3182
3167
  if (o && (D.isFunction(o) || (o = o.get(t))))
3183
3168
  break;
@@ -3188,8 +3173,8 @@ function js(e, t) {
3188
3173
  ([x, c]) => `adapter ${x} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
3189
3174
  );
3190
3175
  let s = n ? a.length > 1 ? `since :
3191
- ` + a.map(br).join(`
3192
- `) : " " + br(a[0]) : "as no adapter specified";
3176
+ ` + a.map(Ar).join(`
3177
+ `) : " " + Ar(a[0]) : "as no adapter specified";
3193
3178
  throw new H(
3194
3179
  "There is no suitable adapter to dispatch the request " + s,
3195
3180
  "ERR_NOT_SUPPORT"
@@ -3202,7 +3187,7 @@ const Un = {
3202
3187
  * Resolve an adapter from a list of adapter names or functions.
3203
3188
  * @type {Function}
3204
3189
  */
3205
- getAdapter: js,
3190
+ getAdapter: qs,
3206
3191
  /**
3207
3192
  * Exposes all known adapters
3208
3193
  * @type {Object<string, Function|Object>}
@@ -3213,7 +3198,7 @@ function Ne(e) {
3213
3198
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
3214
3199
  throw new J0(null, e);
3215
3200
  }
3216
- function yr(e) {
3201
+ function br(e) {
3217
3202
  return Ne(e), e.headers = f0.from(e.headers), e.data = Le.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Un.getAdapter(e.adapter || Ot.adapter, e)(e).then(
3218
3203
  function(r) {
3219
3204
  Ne(e), e.response = r;
@@ -3248,7 +3233,7 @@ const me = {};
3248
3233
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
3249
3234
  };
3250
3235
  });
3251
- const mr = {};
3236
+ const yr = {};
3252
3237
  me.transitional = function(t, n, r) {
3253
3238
  function o(i, a) {
3254
3239
  return "[Axios v" + Ht + "] Transitional option '" + i + "'" + a + (r ? ". " + r : "");
@@ -3259,7 +3244,7 @@ me.transitional = function(t, n, r) {
3259
3244
  o(a, " has been removed" + (n ? " in " + n : "")),
3260
3245
  H.ERR_DEPRECATED
3261
3246
  );
3262
- return n && !mr[a] && (mr[a] = !0, console.warn(
3247
+ return n && !yr[a] && (yr[a] = !0, console.warn(
3263
3248
  o(
3264
3249
  a,
3265
3250
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -3270,7 +3255,7 @@ me.transitional = function(t, n, r) {
3270
3255
  me.spelling = function(t) {
3271
3256
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
3272
3257
  };
3273
- function $s(e, t, n) {
3258
+ function js(e, t, n) {
3274
3259
  if (typeof e != "object")
3275
3260
  throw new H("options must be an object", H.ERR_BAD_OPTION_VALUE);
3276
3261
  const r = Object.keys(e);
@@ -3291,14 +3276,14 @@ function $s(e, t, n) {
3291
3276
  }
3292
3277
  }
3293
3278
  const ce = {
3294
- assertOptions: $s,
3279
+ assertOptions: js,
3295
3280
  validators: me
3296
3281
  }, a0 = ce.validators;
3297
3282
  class de {
3298
3283
  constructor(t) {
3299
3284
  this.defaults = t || {}, this.interceptors = {
3300
- request: new pr(),
3301
- response: new pr()
3285
+ request: new hr(),
3286
+ response: new hr()
3302
3287
  };
3303
3288
  }
3304
3289
  /**
@@ -3340,7 +3325,7 @@ class de {
3340
3325
  }
3341
3326
  }
3342
3327
  _request(t, n) {
3343
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = F0(this.defaults, n);
3328
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = D0(this.defaults, n);
3344
3329
  const { transitional: r, paramsSerializer: o, headers: i } = n;
3345
3330
  r !== void 0 && ce.assertOptions(
3346
3331
  r,
@@ -3387,7 +3372,7 @@ class de {
3387
3372
  });
3388
3373
  let f, C = 0, l;
3389
3374
  if (!x) {
3390
- const g = [yr.bind(this), void 0];
3375
+ const g = [br.bind(this), void 0];
3391
3376
  for (g.unshift(...s), g.push(...c), l = g.length, f = Promise.resolve(n); C < l; )
3392
3377
  f = f.then(g[C++], g[C++]);
3393
3378
  return f;
@@ -3404,7 +3389,7 @@ class de {
3404
3389
  }
3405
3390
  }
3406
3391
  try {
3407
- f = yr.call(this, p);
3392
+ f = br.call(this, p);
3408
3393
  } catch (g) {
3409
3394
  return Promise.reject(g);
3410
3395
  }
@@ -3413,7 +3398,7 @@ class de {
3413
3398
  return f;
3414
3399
  }
3415
3400
  getUri(t) {
3416
- t = F0(this.defaults, t);
3401
+ t = D0(this.defaults, t);
3417
3402
  const n = On(t.baseURL, t.url, t.allowAbsoluteUrls);
3418
3403
  return Tn(n, t.params, t.paramsSerializer);
3419
3404
  }
@@ -3421,7 +3406,7 @@ class de {
3421
3406
  D.forEach(["delete", "get", "head", "options"], function(t) {
3422
3407
  de.prototype[t] = function(n, r) {
3423
3408
  return this.request(
3424
- F0(r || {}, {
3409
+ D0(r || {}, {
3425
3410
  method: t,
3426
3411
  url: n,
3427
3412
  data: (r || {}).data
@@ -3433,7 +3418,7 @@ D.forEach(["post", "put", "patch", "query"], function(t) {
3433
3418
  function n(r) {
3434
3419
  return function(i, a, s) {
3435
3420
  return this.request(
3436
- F0(s || {}, {
3421
+ D0(s || {}, {
3437
3422
  method: t,
3438
3423
  headers: r ? {
3439
3424
  "Content-Type": "multipart/form-data"
@@ -3521,13 +3506,13 @@ class Ut {
3521
3506
  };
3522
3507
  }
3523
3508
  }
3524
- const Ws = Ut;
3525
- function Ks(e) {
3509
+ const $s = Ut;
3510
+ function Ws(e) {
3526
3511
  return function(n) {
3527
3512
  return e.apply(null, n);
3528
3513
  };
3529
3514
  }
3530
- function Vs(e) {
3515
+ function Ks(e) {
3531
3516
  return D.isObject(e) && e.isAxiosError === !0;
3532
3517
  }
3533
3518
  const Ft = {
@@ -3604,17 +3589,17 @@ const Ft = {
3604
3589
  Object.entries(Ft).forEach(([e, t]) => {
3605
3590
  Ft[t] = e;
3606
3591
  });
3607
- const Gs = Ft;
3592
+ const Vs = Ft;
3608
3593
  function Mn(e) {
3609
3594
  const t = new xe(e), n = yn(xe.prototype.request, t);
3610
3595
  return D.extend(n, xe.prototype, t, { allOwnKeys: !0 }), D.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
3611
- return Mn(F0(e, o));
3596
+ return Mn(D0(e, o));
3612
3597
  }, n;
3613
3598
  }
3614
3599
  const Q = Mn(Ot);
3615
3600
  Q.Axios = xe;
3616
3601
  Q.CanceledError = J0;
3617
- Q.CancelToken = Ws;
3602
+ Q.CancelToken = $s;
3618
3603
  Q.isCancel = Ln;
3619
3604
  Q.VERSION = Ht;
3620
3605
  Q.toFormData = ye;
@@ -3623,15 +3608,15 @@ Q.Cancel = Q.CanceledError;
3623
3608
  Q.all = function(t) {
3624
3609
  return Promise.all(t);
3625
3610
  };
3626
- Q.spread = Ks;
3627
- Q.isAxiosError = Vs;
3628
- Q.mergeConfig = F0;
3611
+ Q.spread = Ws;
3612
+ Q.isAxiosError = Ks;
3613
+ Q.mergeConfig = D0;
3629
3614
  Q.AxiosHeaders = f0;
3630
3615
  Q.formToJSON = (e) => In(D.isHTMLForm(e) ? new FormData(e) : e);
3631
3616
  Q.getAdapter = Un.getAdapter;
3632
- Q.HttpStatusCode = Gs;
3617
+ Q.HttpStatusCode = Vs;
3633
3618
  Q.default = Q;
3634
- const Xs = Q, Mt = Xs.create({
3619
+ const Gs = Q, Mt = Gs.create({
3635
3620
  baseURL: "",
3636
3621
  timeout: 3e4,
3637
3622
  headers: {
@@ -3661,20 +3646,20 @@ function De(e) {
3661
3646
  result: null
3662
3647
  }));
3663
3648
  }
3664
- function Qs(e) {
3649
+ function Xs(e) {
3665
3650
  return `${X0.oauthBase.replace(/\/$/, "")}/scan?sceneId=${encodeURIComponent(e)}`;
3666
3651
  }
3667
- const Zs = (e) => De({
3652
+ const Qs = (e) => De({
3668
3653
  method: "POST",
3669
3654
  url: `${X0.apiBase}/api/open/oauth_public/v1/qrcode`,
3670
3655
  data: e
3671
- }), Ys = (e) => De({
3656
+ }), Zs = (e) => De({
3672
3657
  method: "GET",
3673
3658
  url: `${X0.apiBase}/api/open/oauth_public/v1/qrcode_status?sceneId=${e.sceneId}`
3674
- }), Js = "http://127.0.0.1:38794", ea = (e) => De({
3659
+ }), Ys = "http://127.0.0.1:38794", Js = (e) => De({
3675
3660
  method: "GET",
3676
- url: `${Js}/auth/quick_sign?appid=${encodeURIComponent(e)}`
3677
- }), ta = wt({
3661
+ url: `${Ys}/auth/quick_sign?appid=${encodeURIComponent(e)}`
3662
+ }), ea = wt({
3678
3663
  name: "QrcodeLoginView",
3679
3664
  props: {
3680
3665
  appId: {
@@ -3687,7 +3672,7 @@ const Zs = (e) => De({
3687
3672
  const n = c0(""), r = c0(""), o = c0(""), i = c0("waiting"), a = c0(300), s = c0(null);
3688
3673
  let x = null, c = null;
3689
3674
  const f = async () => {
3690
- const u = await ea(e.appId);
3675
+ const u = await Js(e.appId);
3691
3676
  if (u.code !== 0 || !u.result) {
3692
3677
  console.error(u.msg);
3693
3678
  return;
@@ -3714,17 +3699,17 @@ const Zs = (e) => De({
3714
3699
  n.value = d;
3715
3700
  }, p = async () => {
3716
3701
  o.value = "", i.value = "waiting";
3717
- const u = await Zs({ appId: e.appId });
3702
+ const u = await Qs({ appId: e.appId });
3718
3703
  if (u.code !== 0) {
3719
3704
  console.error(u.msg), o.value = u.msg;
3720
3705
  return;
3721
3706
  }
3722
- r.value = u.result.sceneId, a.value = u.result.expireIn, await l(Qs(u.result.sceneId)), g(), h();
3707
+ r.value = u.result.sceneId, a.value = u.result.expireIn, await l(Xs(u.result.sceneId)), g(), h();
3723
3708
  }, g = () => {
3724
3709
  v(), x = window.setInterval(async () => {
3725
3710
  if (!r.value)
3726
3711
  return;
3727
- const u = await Ys({ sceneId: r.value });
3712
+ const u = await Zs({ sceneId: r.value });
3728
3713
  if (u.code !== 0) {
3729
3714
  console.error(u.msg), o.value = u.msg, v(), B();
3730
3715
  return;
@@ -3750,7 +3735,7 @@ const Zs = (e) => De({
3750
3735
  }, B = () => {
3751
3736
  c && (clearInterval(c), c = null);
3752
3737
  };
3753
- return f(), p(), co(() => {
3738
+ return f(), p(), ao(() => {
3754
3739
  v(), B();
3755
3740
  }), {
3756
3741
  qrCodeDataUrl: n,
@@ -3762,39 +3747,39 @@ const Zs = (e) => De({
3762
3747
  handleLocalLogin: C
3763
3748
  };
3764
3749
  }
3765
- }), ra = `.qrcode-login-view[data-v-3a819666]{min-height:280px;padding:20px 16px 24px;box-sizing:border-box}.login-columns[data-v-3a819666]{display:flex;justify-content:center;align-items:flex-start;gap:24px}.login-column[data-v-3a819666]{display:flex;flex-direction:column;align-items:center;width:160px}.login-column--clickable[data-v-3a819666]{cursor:pointer}.login-column--clickable:hover .user-card[data-v-3a819666]{border-color:#ff7d45}.login-card[data-v-3a819666]{width:160px;height:160px;border:1px solid #ebeef5;border-radius:8px;overflow:hidden;background:#ffffff;box-sizing:border-box}.qrcode-box[data-v-3a819666]{position:relative;display:flex;align-items:center;justify-content:center}.user-card[data-v-3a819666]{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.33,1,.68,1)}.user-avatar[data-v-3a819666]{width:100%;height:100%;border-radius:8px;object-fit:cover}.login-column__label[data-v-3a819666]{margin-top:15px;font-size:14px;line-height:1.5;text-align:center;color:#2d3436;font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-column__label--action[data-v-3a819666]{color:#ff7d45;font-weight:500;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-column__label--action[data-v-3a819666]:hover{color:#e86835}.qr-code-img[data-v-3a819666]{width:100%;height:100%;object-fit:contain}.qr-placeholder[data-v-3a819666]{color:#b2bec3;font-size:13px}.qrcode-mask[data-v-3a819666]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center}.mask-content[data-v-3a819666]{text-align:center}.mask-content p[data-v-3a819666]{margin:4px 0;font-size:13px;color:#ff7d45;line-height:1.5}.login-error[data-v-3a819666]{margin:16px 0 0;font-size:12px;color:#ff5252;line-height:1.4;text-align:center}
3750
+ }), ta = `.qrcode-login-view[data-v-3a819666]{min-height:280px;padding:20px 16px 24px;box-sizing:border-box}.login-columns[data-v-3a819666]{display:flex;justify-content:center;align-items:flex-start;gap:24px}.login-column[data-v-3a819666]{display:flex;flex-direction:column;align-items:center;width:160px}.login-column--clickable[data-v-3a819666]{cursor:pointer}.login-column--clickable:hover .user-card[data-v-3a819666]{border-color:#ff7d45}.login-card[data-v-3a819666]{width:160px;height:160px;border:1px solid #ebeef5;border-radius:8px;overflow:hidden;background:#ffffff;box-sizing:border-box}.qrcode-box[data-v-3a819666]{position:relative;display:flex;align-items:center;justify-content:center}.user-card[data-v-3a819666]{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.33,1,.68,1)}.user-avatar[data-v-3a819666]{width:100%;height:100%;border-radius:8px;object-fit:cover}.login-column__label[data-v-3a819666]{margin-top:15px;font-size:14px;line-height:1.5;text-align:center;color:#2d3436;font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-column__label--action[data-v-3a819666]{color:#ff7d45;font-weight:500;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-column__label--action[data-v-3a819666]:hover{color:#e86835}.qr-code-img[data-v-3a819666]{width:100%;height:100%;object-fit:contain}.qr-placeholder[data-v-3a819666]{color:#b2bec3;font-size:13px}.qrcode-mask[data-v-3a819666]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center}.mask-content[data-v-3a819666]{text-align:center}.mask-content p[data-v-3a819666]{margin:4px 0;font-size:13px;color:#ff7d45;line-height:1.5}.login-error[data-v-3a819666]{margin:16px 0 0;font-size:12px;color:#ff5252;line-height:1.4;text-align:center}
3766
3751
  `, qt = (e, t) => {
3767
3752
  const n = e.__vccOpts || e;
3768
3753
  for (const [r, o] of t)
3769
3754
  n[r] = o;
3770
3755
  return n;
3771
- }, na = { class: "qrcode-login-view" }, oa = { class: "login-columns" }, ia = { class: "login-column" }, sa = { class: "login-card qrcode-box" }, aa = ["src"], ca = {
3756
+ }, ra = { class: "qrcode-login-view" }, na = { class: "login-columns" }, oa = { class: "login-column" }, ia = { class: "login-card qrcode-box" }, sa = ["src"], aa = {
3772
3757
  key: 1,
3773
3758
  class: "qr-placeholder"
3774
- }, xa = {
3759
+ }, ca = {
3775
3760
  key: 2,
3776
3761
  class: "qrcode-mask"
3777
- }, fa = { class: "login-card user-card" }, ua = ["src"], la = { class: "login-column__label" }, da = {
3762
+ }, xa = { class: "login-card user-card" }, fa = ["src"], ua = { class: "login-column__label" }, la = {
3778
3763
  key: 0,
3779
3764
  class: "login-error"
3780
3765
  };
3781
- function ha(e, t, n, r, o, i) {
3782
- return x0(), h0("div", na, [
3783
- X("div", oa, [
3784
- X("div", ia, [
3785
- X("div", sa, [
3766
+ function da(e, t, n, r, o, i) {
3767
+ return x0(), h0("div", ra, [
3768
+ X("div", na, [
3769
+ X("div", oa, [
3770
+ X("div", ia, [
3786
3771
  e.qrCodeDataUrl ? (x0(), h0("img", {
3787
3772
  key: 0,
3788
3773
  src: e.qrCodeDataUrl,
3789
3774
  alt: "二维码",
3790
3775
  class: "qr-code-img"
3791
- }, null, 8, aa)) : (x0(), h0("div", ca, "加载中...")),
3792
- e.scanStatus === "scanned" ? (x0(), h0("div", xa, [...t[2] || (t[2] = [
3776
+ }, null, 8, sa)) : (x0(), h0("div", aa, "加载中...")),
3777
+ e.scanStatus === "scanned" ? (x0(), h0("div", ca, [...t[2] || (t[2] = [
3793
3778
  X("div", { class: "mask-content" }, [
3794
3779
  X("p", null, "扫描成功"),
3795
3780
  X("p", null, "请在手机上确认登录")
3796
3781
  ], -1)
3797
- ])])) : D0("", !0)
3782
+ ])])) : m0("", !0)
3798
3783
  ]),
3799
3784
  X("span", {
3800
3785
  class: "login-column__label login-column__label--action",
@@ -3806,40 +3791,40 @@ function ha(e, t, n, r, o, i) {
3806
3791
  class: "login-column login-column--clickable",
3807
3792
  onClick: t[1] || (t[1] = (...a) => e.handleLocalLogin && e.handleLocalLogin(...a))
3808
3793
  }, [
3809
- X("div", fa, [
3794
+ X("div", xa, [
3810
3795
  X("img", {
3811
3796
  src: e.localUserInfo.avatar,
3812
3797
  alt: "用户头像",
3813
3798
  class: "user-avatar"
3814
- }, null, 8, ua)
3799
+ }, null, 8, fa)
3815
3800
  ]),
3816
- X("span", la, P0(e.localUserInfo.nickname), 1)
3817
- ])) : D0("", !0)
3801
+ X("span", ua, k0(e.localUserInfo.nickname), 1)
3802
+ ])) : m0("", !0)
3818
3803
  ]),
3819
- e.error ? (x0(), h0("p", da, P0(e.error), 1)) : D0("", !0)
3804
+ e.error ? (x0(), h0("p", la, k0(e.error), 1)) : m0("", !0)
3820
3805
  ]);
3821
3806
  }
3822
- const pa = /* @__PURE__ */ qt(ta, [["render", ha], ["styles", [ra]], ["__scopeId", "data-v-3a819666"]]);
3807
+ const ha = /* @__PURE__ */ qt(ea, [["render", da], ["styles", [ta]], ["__scopeId", "data-v-3a819666"]]);
3823
3808
  var qn = { exports: {} };
3824
- function va(e) {
3809
+ function pa(e) {
3825
3810
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
3826
3811
  }
3827
3812
  var Oe = { exports: {} };
3828
- const ga = {}, Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3813
+ const va = {}, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3829
3814
  __proto__: null,
3830
- default: ga
3831
- }, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ po(Ea);
3832
- var Dr;
3815
+ default: va
3816
+ }, Symbol.toStringTag, { value: "Module" })), Ea = /* @__PURE__ */ ho(ga);
3817
+ var mr;
3833
3818
  function $() {
3834
- return Dr || (Dr = 1, function(e, t) {
3819
+ return mr || (mr = 1, function(e, t) {
3835
3820
  (function(n, r) {
3836
3821
  e.exports = r();
3837
3822
  })(M, function() {
3838
3823
  var n = n || function(r, o) {
3839
3824
  var i;
3840
- if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && typeof M < "u" && M.crypto && (i = M.crypto), !i && typeof va == "function")
3825
+ if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && typeof M < "u" && M.crypto && (i = M.crypto), !i && typeof pa == "function")
3841
3826
  try {
3842
- i = Ba;
3827
+ i = Ea;
3843
3828
  } catch {
3844
3829
  }
3845
3830
  var a = function() {
@@ -4330,9 +4315,9 @@ function $() {
4330
4315
  });
4331
4316
  }(Oe)), Oe.exports;
4332
4317
  }
4333
- var He = { exports: {} }, Fr;
4318
+ var He = { exports: {} }, Dr;
4334
4319
  function Fe() {
4335
- return Fr || (Fr = 1, function(e, t) {
4320
+ return Dr || (Dr = 1, function(e, t) {
4336
4321
  (function(n, r) {
4337
4322
  e.exports = r($());
4338
4323
  })(M, function(n) {
@@ -4560,9 +4545,9 @@ function Fe() {
4560
4545
  });
4561
4546
  }(He)), He.exports;
4562
4547
  }
4563
- var ze = { exports: {} }, wr;
4564
- function Ca() {
4565
- return wr || (wr = 1, function(e, t) {
4548
+ var ze = { exports: {} }, Fr;
4549
+ function Ba() {
4550
+ return Fr || (Fr = 1, function(e, t) {
4566
4551
  (function(n, r) {
4567
4552
  e.exports = r($());
4568
4553
  })(M, function(n) {
@@ -4582,9 +4567,9 @@ function Ca() {
4582
4567
  });
4583
4568
  }(ze)), ze.exports;
4584
4569
  }
4585
- var Ue = { exports: {} }, _r;
4586
- function Aa() {
4587
- return _r || (_r = 1, function(e, t) {
4570
+ var Ue = { exports: {} }, wr;
4571
+ function Ca() {
4572
+ return wr || (wr = 1, function(e, t) {
4588
4573
  (function(n, r) {
4589
4574
  e.exports = r($());
4590
4575
  })(M, function(n) {
@@ -4676,9 +4661,9 @@ function Aa() {
4676
4661
  });
4677
4662
  }(Ue)), Ue.exports;
4678
4663
  }
4679
- var Me = { exports: {} }, Rr;
4680
- function w0() {
4681
- return Rr || (Rr = 1, function(e, t) {
4664
+ var Me = { exports: {} }, _r;
4665
+ function F0() {
4666
+ return _r || (_r = 1, function(e, t) {
4682
4667
  (function(n, r) {
4683
4668
  e.exports = r($());
4684
4669
  })(M, function(n) {
@@ -4751,9 +4736,9 @@ function w0() {
4751
4736
  });
4752
4737
  }(Me)), Me.exports;
4753
4738
  }
4754
- var qe = { exports: {} }, Sr;
4755
- function ba() {
4756
- return Sr || (Sr = 1, function(e, t) {
4739
+ var qe = { exports: {} }, Rr;
4740
+ function Aa() {
4741
+ return Rr || (Rr = 1, function(e, t) {
4757
4742
  (function(n, r) {
4758
4743
  e.exports = r($());
4759
4744
  })(M, function(n) {
@@ -4833,9 +4818,9 @@ function ba() {
4833
4818
  });
4834
4819
  }(qe)), qe.exports;
4835
4820
  }
4836
- var je = { exports: {} }, kr;
4837
- function _0() {
4838
- return kr || (kr = 1, function(e, t) {
4821
+ var je = { exports: {} }, Sr;
4822
+ function w0() {
4823
+ return Sr || (Sr = 1, function(e, t) {
4839
4824
  (function(n, r) {
4840
4825
  e.exports = r($());
4841
4826
  })(M, function(n) {
@@ -4899,9 +4884,9 @@ function _0() {
4899
4884
  });
4900
4885
  }(je)), je.exports;
4901
4886
  }
4902
- var $e = { exports: {} }, Pr;
4887
+ var $e = { exports: {} }, kr;
4903
4888
  function jn() {
4904
- return Pr || (Pr = 1, function(e, t) {
4889
+ return kr || (kr = 1, function(e, t) {
4905
4890
  (function(n, r) {
4906
4891
  e.exports = r($());
4907
4892
  })(M, function(n) {
@@ -4943,9 +4928,9 @@ function jn() {
4943
4928
  });
4944
4929
  }($e)), $e.exports;
4945
4930
  }
4946
- var We = { exports: {} }, Tr;
4931
+ var We = { exports: {} }, Pr;
4947
4932
  function jt() {
4948
- return Tr || (Tr = 1, function(e, t) {
4933
+ return Pr || (Pr = 1, function(e, t) {
4949
4934
  (function(n, r) {
4950
4935
  e.exports = r($());
4951
4936
  })(M, function(n) {
@@ -4995,9 +4980,9 @@ function jt() {
4995
4980
  });
4996
4981
  }(We)), We.exports;
4997
4982
  }
4998
- var Ke = { exports: {} }, Ir;
4999
- function ya() {
5000
- return Ir || (Ir = 1, function(e, t) {
4983
+ var Ke = { exports: {} }, Tr;
4984
+ function ba() {
4985
+ return Tr || (Tr = 1, function(e, t) {
5001
4986
  (function(n, r, o) {
5002
4987
  e.exports = r($(), jt());
5003
4988
  })(M, function(n) {
@@ -5025,9 +5010,9 @@ function ya() {
5025
5010
  });
5026
5011
  }(Ke)), Ke.exports;
5027
5012
  }
5028
- var Ve = { exports: {} }, Lr;
5013
+ var Ve = { exports: {} }, Ir;
5029
5014
  function $n() {
5030
- return Lr || (Lr = 1, function(e, t) {
5015
+ return Ir || (Ir = 1, function(e, t) {
5031
5016
  (function(n, r, o) {
5032
5017
  e.exports = r($(), Fe());
5033
5018
  })(M, function(n) {
@@ -5136,18 +5121,18 @@ function $n() {
5136
5121
  ]);
5137
5122
  },
5138
5123
  _doProcessBlock: function(g, v) {
5139
- for (var h = this._hash.words, B = h[0], u = h[1], d = h[2], E = h[3], A = h[4], y = h[5], m = h[6], w = h[7], I = B.high, b = B.low, F = u.high, S = u.low, R = d.high, L = d.low, O = E.high, z = E.low, V = A.high, W = A.low, q = y.high, U = y.low, _ = m.high, T = m.low, k = w.high, P = w.low, j = I, K = b, G = F, N = S, i0 = R, u0 = L, v0 = O, g0 = z, r0 = V, Z = W, ee = q, z0 = U, te = _, U0 = T, we = k, M0 = P, l0 = 0; l0 < 80; l0++) {
5124
+ for (var h = this._hash.words, B = h[0], u = h[1], d = h[2], E = h[3], A = h[4], y = h[5], m = h[6], w = h[7], I = B.high, b = B.low, F = u.high, S = u.low, R = d.high, L = d.low, O = E.high, z = E.low, V = A.high, W = A.low, q = y.high, U = y.low, _ = m.high, T = m.low, k = w.high, P = w.low, j = I, K = b, G = F, N = S, i0 = R, u0 = L, v0 = O, g0 = z, r0 = V, Z = W, ee = q, H0 = U, te = _, z0 = T, we = k, U0 = P, l0 = 0; l0 < 80; l0++) {
5140
5125
  var s0, E0, re = l[l0];
5141
5126
  if (l0 < 16)
5142
5127
  E0 = re.high = g[v + l0 * 2] | 0, s0 = re.low = g[v + l0 * 2 + 1] | 0;
5143
5128
  else {
5144
- var Wt = l[l0 - 15], R0 = Wt.high, q0 = Wt.low, Vn = (R0 >>> 1 | q0 << 31) ^ (R0 >>> 8 | q0 << 24) ^ R0 >>> 7, Kt = (q0 >>> 1 | R0 << 31) ^ (q0 >>> 8 | R0 << 24) ^ (q0 >>> 7 | R0 << 25), Vt = l[l0 - 2], S0 = Vt.high, j0 = Vt.low, Gn = (S0 >>> 19 | j0 << 13) ^ (S0 << 3 | j0 >>> 29) ^ S0 >>> 6, Gt = (j0 >>> 19 | S0 << 13) ^ (j0 << 3 | S0 >>> 29) ^ (j0 >>> 6 | S0 << 26), Xt = l[l0 - 7], Xn = Xt.high, Qn = Xt.low, Qt = l[l0 - 16], Zn = Qt.high, Zt = Qt.low;
5145
- s0 = Kt + Qn, E0 = Vn + Xn + (s0 >>> 0 < Kt >>> 0 ? 1 : 0), s0 = s0 + Gt, E0 = E0 + Gn + (s0 >>> 0 < Gt >>> 0 ? 1 : 0), s0 = s0 + Zt, E0 = E0 + Zn + (s0 >>> 0 < Zt >>> 0 ? 1 : 0), re.high = E0, re.low = s0;
5129
+ var Wt = l[l0 - 15], _0 = Wt.high, M0 = Wt.low, Kn = (_0 >>> 1 | M0 << 31) ^ (_0 >>> 8 | M0 << 24) ^ _0 >>> 7, Kt = (M0 >>> 1 | _0 << 31) ^ (M0 >>> 8 | _0 << 24) ^ (M0 >>> 7 | _0 << 25), Vt = l[l0 - 2], R0 = Vt.high, q0 = Vt.low, Vn = (R0 >>> 19 | q0 << 13) ^ (R0 << 3 | q0 >>> 29) ^ R0 >>> 6, Gt = (q0 >>> 19 | R0 << 13) ^ (q0 << 3 | R0 >>> 29) ^ (q0 >>> 6 | R0 << 26), Xt = l[l0 - 7], Gn = Xt.high, Xn = Xt.low, Qt = l[l0 - 16], Qn = Qt.high, Zt = Qt.low;
5130
+ s0 = Kt + Xn, E0 = Kn + Gn + (s0 >>> 0 < Kt >>> 0 ? 1 : 0), s0 = s0 + Gt, E0 = E0 + Vn + (s0 >>> 0 < Gt >>> 0 ? 1 : 0), s0 = s0 + Zt, E0 = E0 + Qn + (s0 >>> 0 < Zt >>> 0 ? 1 : 0), re.high = E0, re.low = s0;
5146
5131
  }
5147
- var Yn = r0 & ee ^ ~r0 & te, Yt = Z & z0 ^ ~Z & U0, Jn = j & G ^ j & i0 ^ G & i0, eo = K & N ^ K & u0 ^ N & u0, to = (j >>> 28 | K << 4) ^ (j << 30 | K >>> 2) ^ (j << 25 | K >>> 7), Jt = (K >>> 28 | j << 4) ^ (K << 30 | j >>> 2) ^ (K << 25 | j >>> 7), ro = (r0 >>> 14 | Z << 18) ^ (r0 >>> 18 | Z << 14) ^ (r0 << 23 | Z >>> 9), no = (Z >>> 14 | r0 << 18) ^ (Z >>> 18 | r0 << 14) ^ (Z << 23 | r0 >>> 9), er = C[l0], oo = er.high, tr = er.low, n0 = M0 + no, B0 = we + ro + (n0 >>> 0 < M0 >>> 0 ? 1 : 0), n0 = n0 + Yt, B0 = B0 + Yn + (n0 >>> 0 < Yt >>> 0 ? 1 : 0), n0 = n0 + tr, B0 = B0 + oo + (n0 >>> 0 < tr >>> 0 ? 1 : 0), n0 = n0 + s0, B0 = B0 + E0 + (n0 >>> 0 < s0 >>> 0 ? 1 : 0), rr = Jt + eo, io = to + Jn + (rr >>> 0 < Jt >>> 0 ? 1 : 0);
5148
- we = te, M0 = U0, te = ee, U0 = z0, ee = r0, z0 = Z, Z = g0 + n0 | 0, r0 = v0 + B0 + (Z >>> 0 < g0 >>> 0 ? 1 : 0) | 0, v0 = i0, g0 = u0, i0 = G, u0 = N, G = j, N = K, K = n0 + rr | 0, j = B0 + io + (K >>> 0 < n0 >>> 0 ? 1 : 0) | 0;
5132
+ var Zn = r0 & ee ^ ~r0 & te, Yt = Z & H0 ^ ~Z & z0, Yn = j & G ^ j & i0 ^ G & i0, Jn = K & N ^ K & u0 ^ N & u0, eo = (j >>> 28 | K << 4) ^ (j << 30 | K >>> 2) ^ (j << 25 | K >>> 7), Jt = (K >>> 28 | j << 4) ^ (K << 30 | j >>> 2) ^ (K << 25 | j >>> 7), to = (r0 >>> 14 | Z << 18) ^ (r0 >>> 18 | Z << 14) ^ (r0 << 23 | Z >>> 9), ro = (Z >>> 14 | r0 << 18) ^ (Z >>> 18 | r0 << 14) ^ (Z << 23 | r0 >>> 9), er = C[l0], no = er.high, tr = er.low, n0 = U0 + ro, B0 = we + to + (n0 >>> 0 < U0 >>> 0 ? 1 : 0), n0 = n0 + Yt, B0 = B0 + Zn + (n0 >>> 0 < Yt >>> 0 ? 1 : 0), n0 = n0 + tr, B0 = B0 + no + (n0 >>> 0 < tr >>> 0 ? 1 : 0), n0 = n0 + s0, B0 = B0 + E0 + (n0 >>> 0 < s0 >>> 0 ? 1 : 0), rr = Jt + Jn, oo = eo + Yn + (rr >>> 0 < Jt >>> 0 ? 1 : 0);
5133
+ we = te, U0 = z0, te = ee, z0 = H0, ee = r0, H0 = Z, Z = g0 + n0 | 0, r0 = v0 + B0 + (Z >>> 0 < g0 >>> 0 ? 1 : 0) | 0, v0 = i0, g0 = u0, i0 = G, u0 = N, G = j, N = K, K = n0 + rr | 0, j = B0 + oo + (K >>> 0 < n0 >>> 0 ? 1 : 0) | 0;
5149
5134
  }
5150
- b = B.low = b + K, B.high = I + j + (b >>> 0 < K >>> 0 ? 1 : 0), S = u.low = S + N, u.high = F + G + (S >>> 0 < N >>> 0 ? 1 : 0), L = d.low = L + u0, d.high = R + i0 + (L >>> 0 < u0 >>> 0 ? 1 : 0), z = E.low = z + g0, E.high = O + v0 + (z >>> 0 < g0 >>> 0 ? 1 : 0), W = A.low = W + Z, A.high = V + r0 + (W >>> 0 < Z >>> 0 ? 1 : 0), U = y.low = U + z0, y.high = q + ee + (U >>> 0 < z0 >>> 0 ? 1 : 0), T = m.low = T + U0, m.high = _ + te + (T >>> 0 < U0 >>> 0 ? 1 : 0), P = w.low = P + M0, w.high = k + we + (P >>> 0 < M0 >>> 0 ? 1 : 0);
5135
+ b = B.low = b + K, B.high = I + j + (b >>> 0 < K >>> 0 ? 1 : 0), S = u.low = S + N, u.high = F + G + (S >>> 0 < N >>> 0 ? 1 : 0), L = d.low = L + u0, d.high = R + i0 + (L >>> 0 < u0 >>> 0 ? 1 : 0), z = E.low = z + g0, E.high = O + v0 + (z >>> 0 < g0 >>> 0 ? 1 : 0), W = A.low = W + Z, A.high = V + r0 + (W >>> 0 < Z >>> 0 ? 1 : 0), U = y.low = U + H0, y.high = q + ee + (U >>> 0 < H0 >>> 0 ? 1 : 0), T = m.low = T + z0, m.high = _ + te + (T >>> 0 < z0 >>> 0 ? 1 : 0), P = w.low = P + U0, w.high = k + we + (P >>> 0 < U0 >>> 0 ? 1 : 0);
5151
5136
  },
5152
5137
  _doFinalize: function() {
5153
5138
  var g = this._data, v = g.words, h = this._nDataBytes * 8, B = g.sigBytes * 8;
@@ -5166,9 +5151,9 @@ function $n() {
5166
5151
  });
5167
5152
  }(Ve)), Ve.exports;
5168
5153
  }
5169
- var Ge = { exports: {} }, Nr;
5170
- function ma() {
5171
- return Nr || (Nr = 1, function(e, t) {
5154
+ var Ge = { exports: {} }, Lr;
5155
+ function ya() {
5156
+ return Lr || (Lr = 1, function(e, t) {
5172
5157
  (function(n, r, o) {
5173
5158
  e.exports = r($(), Fe(), $n());
5174
5159
  })(M, function(n) {
@@ -5196,9 +5181,9 @@ function ma() {
5196
5181
  });
5197
5182
  }(Ge)), Ge.exports;
5198
5183
  }
5199
- var Xe = { exports: {} }, Or;
5200
- function Da() {
5201
- return Or || (Or = 1, function(e, t) {
5184
+ var Xe = { exports: {} }, Nr;
5185
+ function ma() {
5186
+ return Nr || (Nr = 1, function(e, t) {
5202
5187
  (function(n, r, o) {
5203
5188
  e.exports = r($(), Fe());
5204
5189
  })(M, function(n) {
@@ -5306,9 +5291,9 @@ function Da() {
5306
5291
  });
5307
5292
  }(Xe)), Xe.exports;
5308
5293
  }
5309
- var Qe = { exports: {} }, Hr;
5310
- function Fa() {
5311
- return Hr || (Hr = 1, function(e, t) {
5294
+ var Qe = { exports: {} }, Or;
5295
+ function Da() {
5296
+ return Or || (Or = 1, function(e, t) {
5312
5297
  (function(n, r) {
5313
5298
  e.exports = r($());
5314
5299
  })(M, function(n) {
@@ -5699,9 +5684,9 @@ function Fa() {
5699
5684
  });
5700
5685
  }(Qe)), Qe.exports;
5701
5686
  }
5702
- var Ze = { exports: {} }, zr;
5687
+ var Ze = { exports: {} }, Hr;
5703
5688
  function $t() {
5704
- return zr || (zr = 1, function(e, t) {
5689
+ return Hr || (Hr = 1, function(e, t) {
5705
5690
  (function(n, r) {
5706
5691
  e.exports = r($());
5707
5692
  })(M, function(n) {
@@ -5777,9 +5762,9 @@ function $t() {
5777
5762
  });
5778
5763
  }(Ze)), Ze.exports;
5779
5764
  }
5780
- var Ye = { exports: {} }, Ur;
5781
- function wa() {
5782
- return Ur || (Ur = 1, function(e, t) {
5765
+ var Ye = { exports: {} }, zr;
5766
+ function Fa() {
5767
+ return zr || (zr = 1, function(e, t) {
5783
5768
  (function(n, r, o) {
5784
5769
  e.exports = r($(), jt(), $t());
5785
5770
  })(M, function(n) {
@@ -5844,9 +5829,9 @@ function wa() {
5844
5829
  });
5845
5830
  }(Ye)), Ye.exports;
5846
5831
  }
5847
- var Je = { exports: {} }, Mr;
5832
+ var Je = { exports: {} }, Ur;
5848
5833
  function b0() {
5849
- return Mr || (Mr = 1, function(e, t) {
5834
+ return Ur || (Ur = 1, function(e, t) {
5850
5835
  (function(n, r, o) {
5851
5836
  e.exports = r($(), jn(), $t());
5852
5837
  })(M, function(n) {
@@ -5907,9 +5892,9 @@ function b0() {
5907
5892
  });
5908
5893
  }(Je)), Je.exports;
5909
5894
  }
5910
- var et = { exports: {} }, qr;
5895
+ var et = { exports: {} }, Mr;
5911
5896
  function Y() {
5912
- return qr || (qr = 1, function(e, t) {
5897
+ return Mr || (Mr = 1, function(e, t) {
5913
5898
  (function(n, r, o) {
5914
5899
  e.exports = r($(), b0());
5915
5900
  })(M, function(n) {
@@ -6445,9 +6430,9 @@ function Y() {
6445
6430
  });
6446
6431
  }(et)), et.exports;
6447
6432
  }
6448
- var tt = { exports: {} }, jr;
6449
- function _a() {
6450
- return jr || (jr = 1, function(e, t) {
6433
+ var tt = { exports: {} }, qr;
6434
+ function wa() {
6435
+ return qr || (qr = 1, function(e, t) {
6451
6436
  (function(n, r, o) {
6452
6437
  e.exports = r($(), Y());
6453
6438
  })(M, function(n) {
@@ -6475,9 +6460,9 @@ function _a() {
6475
6460
  });
6476
6461
  }(tt)), tt.exports;
6477
6462
  }
6478
- var rt = { exports: {} }, $r;
6479
- function Ra() {
6480
- return $r || ($r = 1, function(e, t) {
6463
+ var rt = { exports: {} }, jr;
6464
+ function _a() {
6465
+ return jr || (jr = 1, function(e, t) {
6481
6466
  (function(n, r, o) {
6482
6467
  e.exports = r($(), Y());
6483
6468
  })(M, function(n) {
@@ -6497,9 +6482,9 @@ function Ra() {
6497
6482
  });
6498
6483
  }(rt)), rt.exports;
6499
6484
  }
6500
- var nt = { exports: {} }, Wr;
6501
- function Sa() {
6502
- return Wr || (Wr = 1, function(e, t) {
6485
+ var nt = { exports: {} }, $r;
6486
+ function Ra() {
6487
+ return $r || ($r = 1, function(e, t) {
6503
6488
  (function(n, r, o) {
6504
6489
  e.exports = r($(), Y());
6505
6490
  })(M, function(n) {
@@ -6536,9 +6521,9 @@ function Sa() {
6536
6521
  });
6537
6522
  }(nt)), nt.exports;
6538
6523
  }
6539
- var ot = { exports: {} }, Kr;
6540
- function ka() {
6541
- return Kr || (Kr = 1, function(e, t) {
6524
+ var ot = { exports: {} }, Wr;
6525
+ function Sa() {
6526
+ return Wr || (Wr = 1, function(e, t) {
6542
6527
  (function(n, r, o) {
6543
6528
  e.exports = r($(), Y());
6544
6529
  })(M, function(n) {
@@ -6556,9 +6541,9 @@ function ka() {
6556
6541
  });
6557
6542
  }(ot)), ot.exports;
6558
6543
  }
6559
- var it = { exports: {} }, Vr;
6560
- function Pa() {
6561
- return Vr || (Vr = 1, function(e, t) {
6544
+ var it = { exports: {} }, Kr;
6545
+ function ka() {
6546
+ return Kr || (Kr = 1, function(e, t) {
6562
6547
  (function(n, r, o) {
6563
6548
  e.exports = r($(), Y());
6564
6549
  })(M, function(n) {
@@ -6577,9 +6562,9 @@ function Pa() {
6577
6562
  });
6578
6563
  }(it)), it.exports;
6579
6564
  }
6580
- var st = { exports: {} }, Gr;
6581
- function Ta() {
6582
- return Gr || (Gr = 1, function(e, t) {
6565
+ var st = { exports: {} }, Vr;
6566
+ function Pa() {
6567
+ return Vr || (Vr = 1, function(e, t) {
6583
6568
  (function(n, r, o) {
6584
6569
  e.exports = r($(), Y());
6585
6570
  })(M, function(n) {
@@ -6596,9 +6581,9 @@ function Ta() {
6596
6581
  });
6597
6582
  }(st)), st.exports;
6598
6583
  }
6599
- var at = { exports: {} }, Xr;
6600
- function Ia() {
6601
- return Xr || (Xr = 1, function(e, t) {
6584
+ var at = { exports: {} }, Gr;
6585
+ function Ta() {
6586
+ return Gr || (Gr = 1, function(e, t) {
6602
6587
  (function(n, r, o) {
6603
6588
  e.exports = r($(), Y());
6604
6589
  })(M, function(n) {
@@ -6615,9 +6600,9 @@ function Ia() {
6615
6600
  });
6616
6601
  }(at)), at.exports;
6617
6602
  }
6618
- var ct = { exports: {} }, Qr;
6619
- function La() {
6620
- return Qr || (Qr = 1, function(e, t) {
6603
+ var ct = { exports: {} }, Xr;
6604
+ function Ia() {
6605
+ return Xr || (Xr = 1, function(e, t) {
6621
6606
  (function(n, r, o) {
6622
6607
  e.exports = r($(), Y());
6623
6608
  })(M, function(n) {
@@ -6632,9 +6617,9 @@ function La() {
6632
6617
  });
6633
6618
  }(ct)), ct.exports;
6634
6619
  }
6635
- var xt = { exports: {} }, Zr;
6636
- function Na() {
6637
- return Zr || (Zr = 1, function(e, t) {
6620
+ var xt = { exports: {} }, Qr;
6621
+ function La() {
6622
+ return Qr || (Qr = 1, function(e, t) {
6638
6623
  (function(n, r, o) {
6639
6624
  e.exports = r($(), Y());
6640
6625
  })(M, function(n) {
@@ -6654,9 +6639,9 @@ function Na() {
6654
6639
  });
6655
6640
  }(xt)), xt.exports;
6656
6641
  }
6657
- var ft = { exports: {} }, Yr;
6658
- function Oa() {
6659
- return Yr || (Yr = 1, function(e, t) {
6642
+ var ft = { exports: {} }, Zr;
6643
+ function Na() {
6644
+ return Zr || (Zr = 1, function(e, t) {
6660
6645
  (function(n, r, o) {
6661
6646
  e.exports = r($(), Y());
6662
6647
  })(M, function(n) {
@@ -6669,9 +6654,9 @@ function Oa() {
6669
6654
  });
6670
6655
  }(ft)), ft.exports;
6671
6656
  }
6672
- var ut = { exports: {} }, Jr;
6673
- function Ha() {
6674
- return Jr || (Jr = 1, function(e, t) {
6657
+ var ut = { exports: {} }, Yr;
6658
+ function Oa() {
6659
+ return Yr || (Yr = 1, function(e, t) {
6675
6660
  (function(n, r, o) {
6676
6661
  e.exports = r($(), Y());
6677
6662
  })(M, function(n) {
@@ -6716,11 +6701,11 @@ function Ha() {
6716
6701
  });
6717
6702
  }(ut)), ut.exports;
6718
6703
  }
6719
- var lt = { exports: {} }, en;
6720
- function za() {
6721
- return en || (en = 1, function(e, t) {
6704
+ var lt = { exports: {} }, Jr;
6705
+ function Ha() {
6706
+ return Jr || (Jr = 1, function(e, t) {
6722
6707
  (function(n, r, o) {
6723
- e.exports = r($(), w0(), _0(), b0(), Y());
6708
+ e.exports = r($(), F0(), w0(), b0(), Y());
6724
6709
  })(M, function(n) {
6725
6710
  return function() {
6726
6711
  var r = n, o = r.lib, i = o.BlockCipher, a = r.algo, s = [], x = [], c = [], f = [], C = [], l = [], p = [], g = [], v = [], h = [];
@@ -6776,11 +6761,11 @@ function za() {
6776
6761
  });
6777
6762
  }(lt)), lt.exports;
6778
6763
  }
6779
- var dt = { exports: {} }, tn;
6780
- function Ua() {
6781
- return tn || (tn = 1, function(e, t) {
6764
+ var dt = { exports: {} }, en;
6765
+ function za() {
6766
+ return en || (en = 1, function(e, t) {
6782
6767
  (function(n, r, o) {
6783
- e.exports = r($(), w0(), _0(), b0(), Y());
6768
+ e.exports = r($(), F0(), w0(), b0(), Y());
6784
6769
  })(M, function(n) {
6785
6770
  return function() {
6786
6771
  var r = n, o = r.lib, i = o.WordArray, a = o.BlockCipher, s = r.algo, x = [
@@ -7496,11 +7481,11 @@ function Ua() {
7496
7481
  });
7497
7482
  }(dt)), dt.exports;
7498
7483
  }
7499
- var ht = { exports: {} }, rn;
7500
- function Ma() {
7501
- return rn || (rn = 1, function(e, t) {
7484
+ var ht = { exports: {} }, tn;
7485
+ function Ua() {
7486
+ return tn || (tn = 1, function(e, t) {
7502
7487
  (function(n, r, o) {
7503
- e.exports = r($(), w0(), _0(), b0(), Y());
7488
+ e.exports = r($(), F0(), w0(), b0(), Y());
7504
7489
  })(M, function(n) {
7505
7490
  return function() {
7506
7491
  var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = a.RC4 = i.extend({
@@ -7550,11 +7535,11 @@ function Ma() {
7550
7535
  });
7551
7536
  }(ht)), ht.exports;
7552
7537
  }
7553
- var pt = { exports: {} }, nn;
7554
- function qa() {
7555
- return nn || (nn = 1, function(e, t) {
7538
+ var pt = { exports: {} }, rn;
7539
+ function Ma() {
7540
+ return rn || (rn = 1, function(e, t) {
7556
7541
  (function(n, r, o) {
7557
- e.exports = r($(), w0(), _0(), b0(), Y());
7542
+ e.exports = r($(), F0(), w0(), b0(), Y());
7558
7543
  })(M, function(n) {
7559
7544
  return function() {
7560
7545
  var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = [], x = [], c = [], f = a.Rabbit = i.extend({
@@ -7616,11 +7601,11 @@ function qa() {
7616
7601
  });
7617
7602
  }(pt)), pt.exports;
7618
7603
  }
7619
- var vt = { exports: {} }, on;
7620
- function ja() {
7621
- return on || (on = 1, function(e, t) {
7604
+ var vt = { exports: {} }, nn;
7605
+ function qa() {
7606
+ return nn || (nn = 1, function(e, t) {
7622
7607
  (function(n, r, o) {
7623
- e.exports = r($(), w0(), _0(), b0(), Y());
7608
+ e.exports = r($(), F0(), w0(), b0(), Y());
7624
7609
  })(M, function(n) {
7625
7610
  return function() {
7626
7611
  var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = [], x = [], c = [], f = a.RabbitLegacy = i.extend({
@@ -7680,11 +7665,11 @@ function ja() {
7680
7665
  });
7681
7666
  }(vt)), vt.exports;
7682
7667
  }
7683
- var gt = { exports: {} }, sn;
7684
- function $a() {
7685
- return sn || (sn = 1, function(e, t) {
7668
+ var gt = { exports: {} }, on;
7669
+ function ja() {
7670
+ return on || (on = 1, function(e, t) {
7686
7671
  (function(n, r, o) {
7687
- e.exports = r($(), w0(), _0(), b0(), Y());
7672
+ e.exports = r($(), F0(), w0(), b0(), Y());
7688
7673
  })(M, function(n) {
7689
7674
  return function() {
7690
7675
  var r = n, o = r.lib, i = o.BlockCipher, a = r.algo;
@@ -8804,17 +8789,17 @@ function $a() {
8804
8789
  }
8805
8790
  (function(e, t) {
8806
8791
  (function(n, r, o) {
8807
- e.exports = r($(), Fe(), Ca(), Aa(), w0(), ba(), _0(), jn(), jt(), ya(), $n(), ma(), Da(), Fa(), $t(), wa(), b0(), Y(), _a(), Ra(), Sa(), ka(), Pa(), Ta(), Ia(), La(), Na(), Oa(), Ha(), za(), Ua(), Ma(), qa(), ja(), $a());
8792
+ e.exports = r($(), Fe(), Ba(), Ca(), F0(), Aa(), w0(), jn(), jt(), ba(), $n(), ya(), ma(), Da(), $t(), Fa(), b0(), Y(), wa(), _a(), Ra(), Sa(), ka(), Pa(), Ta(), Ia(), La(), Na(), Oa(), Ha(), za(), Ua(), Ma(), qa(), ja());
8808
8793
  })(M, function(n) {
8809
8794
  return n;
8810
8795
  });
8811
8796
  })(qn);
8812
- var Wa = qn.exports;
8813
- const Ka = (e) => De({
8797
+ var $a = qn.exports;
8798
+ const Wa = (e) => De({
8814
8799
  method: "POST",
8815
8800
  url: `${X0.apiBase}/api/open/oauth_public/v1/password_login`,
8816
8801
  data: e
8817
- }), Va = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTEgMTJzNC04IDExLTggMTEgOCAxMSA4LTQgOC0xMSA4LTExLTgtMTEtOHoiPjwvcGF0aD4KICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiPjwvY2lyY2xlPgo8L3N2Zz4K", Ga = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTE3Ljk0IDE3Ljk0QTEwLjA3IDEwLjA3IDAgMCAxIDEyIDIwYy03IDAtMTEtOC0xMS04YTE4LjQ1IDE4LjQ1IDAgMCAxIDUuMDYtNS45NE05LjkgNC4yNEE5LjEyIDkuMTIgMCAwIDEgMTIgNGM3IDAgMTEgOCAxMSA4YTE4LjUgMTguNSAwIDAgMS0yLjE2IDMuMTltLTYuNzItMS4wN2EzIDMgMCAxIDEtNC4yNC00LjI0Ij48L3BhdGg+CiAgICA8bGluZSB4MT0iMSIgeTE9IjEiIHgyPSIyMyIgeTI9IjIzIj48L2xpbmU+Cjwvc3ZnPgo=", Xa = wt({
8802
+ }), Ka = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTEgMTJzNC04IDExLTggMTEgOCAxMSA4LTQgOC0xMSA4LTExLTgtMTEtOHoiPjwvcGF0aD4KICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiPjwvY2lyY2xlPgo8L3N2Zz4K", Va = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTE3Ljk0IDE3Ljk0QTEwLjA3IDEwLjA3IDAgMCAxIDEyIDIwYy03IDAtMTEtOC0xMS04YTE4LjQ1IDE4LjQ1IDAgMCAxIDUuMDYtNS45NE05LjkgNC4yNEE5LjEyIDkuMTIgMCAwIDEgMTIgNGM3IDAgMTEgOCAxMSA4YTE4LjUgMTguNSAwIDAgMS0yLjE2IDMuMTltLTYuNzItMS4wN2EzIDMgMCAxIDEtNC4yNC00LjI0Ij48L3BhdGg+CiAgICA8bGluZSB4MT0iMSIgeTE9IjEiIHgyPSIyMyIgeTI9IjIzIj48L2xpbmU+Cjwvc3ZnPgo=", Ga = wt({
8818
8803
  name: "PasswordLoginView",
8819
8804
  props: {
8820
8805
  appId: {
@@ -8836,7 +8821,7 @@ const Ka = (e) => De({
8836
8821
  handleLogin: async () => {
8837
8822
  if (!s() || !x())
8838
8823
  return;
8839
- const f = Wa.MD5(r.value).toString(), C = await Ka({
8824
+ const f = $a.MD5(r.value).toString(), C = await Wa({
8840
8825
  appId: e.appId,
8841
8826
  account: n.value,
8842
8827
  password: f
@@ -8847,33 +8832,33 @@ const Ka = (e) => De({
8847
8832
  }
8848
8833
  t("login-success", C.result.code);
8849
8834
  },
8850
- eyeIcon: Va,
8851
- eyeOffIcon: Ga
8835
+ eyeIcon: Ka,
8836
+ eyeOffIcon: Va
8852
8837
  };
8853
8838
  }
8854
- }), Qa = `.password-login-view[data-v-b1796c26]{min-height:280px}.login-form[data-v-b1796c26]{width:100%;margin:0 auto;padding:8px 0 24px}.input-wrap[data-v-b1796c26]{position:relative;font-size:13px;width:100%;max-width:274px;margin:0 auto 26px}.input-wrap input[data-v-b1796c26]{background:#f9fafb;box-sizing:border-box;border:1px solid #ebeef5;border-radius:6px;color:#2d3436;display:inline-block;font-size:13px;height:40px;line-height:40px;padding:0 12px;transition:border-color .2s cubic-bezier(.33,1,.68,1),box-shadow .2s cubic-bezier(.33,1,.68,1);width:100%;outline:none;-webkit-appearance:none}.input-wrap input[data-v-b1796c26]:focus{border-color:#ff7d45;background:#ffffff;box-shadow:0 0 0 3px #ffe6d9}.input-wrap input[data-v-b1796c26]::-webkit-input-placeholder{color:#b2bec3}.input-wrap input.password-input[data-v-b1796c26]{padding-right:40px}.password-toggle[data-v-b1796c26]{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#b2bec3;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1)}.password-toggle[data-v-b1796c26]:hover{color:#636e72}.password-toggle img[data-v-b1796c26]{width:18px;height:18px;display:block}.error-text[data-v-b1796c26]{color:#ff5252;font-size:12px;line-height:1.2;padding-top:4px;margin:0;position:absolute;top:100%;left:0}.notice-text[data-v-b1796c26]{width:100%;max-width:274px;font-size:13px;color:#ff5252;font-weight:500;margin:0 auto;line-height:1.5;text-align:center}.login-btn[data-v-b1796c26]{width:100%;max-width:274px;background:#ff7d45;border-radius:6px;text-align:center;line-height:36px;height:36px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;margin:38px auto 0;transition:background .2s cubic-bezier(.33,1,.68,1)}.login-btn[data-v-b1796c26]:hover{background:#e86835}
8855
- `, Za = { class: "password-login-view" }, Ya = { class: "login-form" }, Ja = { class: "input-wrap" }, ec = {
8839
+ }), Xa = `.password-login-view[data-v-b1796c26]{min-height:280px}.login-form[data-v-b1796c26]{width:100%;margin:0 auto;padding:8px 0 24px}.input-wrap[data-v-b1796c26]{position:relative;font-size:13px;width:100%;max-width:274px;margin:0 auto 26px}.input-wrap input[data-v-b1796c26]{background:#f9fafb;box-sizing:border-box;border:1px solid #ebeef5;border-radius:6px;color:#2d3436;display:inline-block;font-size:13px;height:40px;line-height:40px;padding:0 12px;transition:border-color .2s cubic-bezier(.33,1,.68,1),box-shadow .2s cubic-bezier(.33,1,.68,1);width:100%;outline:none;-webkit-appearance:none}.input-wrap input[data-v-b1796c26]:focus{border-color:#ff7d45;background:#ffffff;box-shadow:0 0 0 3px #ffe6d9}.input-wrap input[data-v-b1796c26]::-webkit-input-placeholder{color:#b2bec3}.input-wrap input.password-input[data-v-b1796c26]{padding-right:40px}.password-toggle[data-v-b1796c26]{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#b2bec3;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1)}.password-toggle[data-v-b1796c26]:hover{color:#636e72}.password-toggle img[data-v-b1796c26]{width:18px;height:18px;display:block}.error-text[data-v-b1796c26]{color:#ff5252;font-size:12px;line-height:1.2;padding-top:4px;margin:0;position:absolute;top:100%;left:0}.notice-text[data-v-b1796c26]{width:100%;max-width:274px;font-size:13px;color:#ff5252;font-weight:500;margin:0 auto;line-height:1.5;text-align:center}.login-btn[data-v-b1796c26]{width:100%;max-width:274px;background:#ff7d45;border-radius:6px;text-align:center;line-height:36px;height:36px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;margin:38px auto 0;transition:background .2s cubic-bezier(.33,1,.68,1)}.login-btn[data-v-b1796c26]:hover{background:#e86835}
8840
+ `, Qa = { class: "password-login-view" }, Za = { class: "login-form" }, Ya = { class: "input-wrap" }, Ja = {
8856
8841
  key: 0,
8857
8842
  class: "error-text"
8858
- }, tc = { class: "input-wrap" }, rc = ["type"], nc = ["src"], oc = {
8843
+ }, ec = { class: "input-wrap" }, tc = ["type"], rc = ["src"], nc = {
8859
8844
  key: 0,
8860
8845
  class: "error-text"
8861
8846
  };
8862
- function ic(e, t, n, r, o, i) {
8863
- return x0(), h0("div", Za, [
8864
- X("div", Ya, [
8865
- X("div", Ja, [
8847
+ function oc(e, t, n, r, o, i) {
8848
+ return x0(), h0("div", Qa, [
8849
+ X("div", Za, [
8850
+ X("div", Ya, [
8866
8851
  or(X("input", {
8867
8852
  type: "text",
8868
8853
  "onUpdate:modelValue": t[0] || (t[0] = (a) => e.account = a),
8869
8854
  placeholder: "请输入邮箱",
8870
8855
  onBlur: t[1] || (t[1] = () => e.validateAccount())
8871
8856
  }, null, 544), [
8872
- [xo, e.account]
8857
+ [co, e.account]
8873
8858
  ]),
8874
- e.accountError ? (x0(), h0("p", ec, P0(e.accountError), 1)) : D0("", !0)
8859
+ e.accountError ? (x0(), h0("p", Ja, k0(e.accountError), 1)) : m0("", !0)
8875
8860
  ]),
8876
- X("div", tc, [
8861
+ X("div", ec, [
8877
8862
  or(X("input", {
8878
8863
  type: e.showPassword ? "text" : "password",
8879
8864
  "onUpdate:modelValue": t[2] || (t[2] = (a) => e.password = a),
@@ -8881,8 +8866,8 @@ function ic(e, t, n, r, o, i) {
8881
8866
  autocomplete: "off",
8882
8867
  class: "password-input",
8883
8868
  onBlur: t[3] || (t[3] = () => e.validatePassword())
8884
- }, null, 40, rc), [
8885
- [fo, e.password]
8869
+ }, null, 40, tc), [
8870
+ [xo, e.password]
8886
8871
  ]),
8887
8872
  X("span", {
8888
8873
  class: "password-toggle",
@@ -8891,9 +8876,9 @@ function ic(e, t, n, r, o, i) {
8891
8876
  X("img", {
8892
8877
  src: e.showPassword ? e.eyeOffIcon : e.eyeIcon,
8893
8878
  alt: "切换密码可见性"
8894
- }, null, 8, nc)
8879
+ }, null, 8, rc)
8895
8880
  ]),
8896
- e.passwordError ? (x0(), h0("p", oc, P0(e.passwordError), 1)) : D0("", !0)
8881
+ e.passwordError ? (x0(), h0("p", nc, k0(e.passwordError), 1)) : m0("", !0)
8897
8882
  ]),
8898
8883
  X("div", {
8899
8884
  class: "login-btn",
@@ -8902,45 +8887,49 @@ function ic(e, t, n, r, o, i) {
8902
8887
  ])
8903
8888
  ]);
8904
8889
  }
8905
- const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId", "data-v-b1796c26"]]), ac = wt({
8890
+ const ic = /* @__PURE__ */ qt(Ga, [["render", oc], ["styles", [Xa]], ["__scopeId", "data-v-b1796c26"]]), sc = wt({
8906
8891
  name: "BeaverLogin",
8907
8892
  components: {
8908
- QrcodeLoginView: pa,
8909
- PasswordLoginView: sc
8893
+ QrcodeLoginView: ha,
8894
+ PasswordLoginView: ic
8910
8895
  },
8911
8896
  props: {
8912
- env: {
8913
- type: String,
8914
- default: "prod"
8915
- },
8916
8897
  appId: {
8917
8898
  type: String,
8918
8899
  required: !0
8919
8900
  },
8920
- redirectUrl: {
8901
+ apiBase: {
8921
8902
  type: String,
8922
- default: ""
8903
+ default: W0.apiBase
8923
8904
  },
8924
- state: {
8905
+ oauthBase: {
8906
+ type: String,
8907
+ default: W0.oauthBase
8908
+ },
8909
+ redirectUrl: {
8925
8910
  type: String,
8926
8911
  default: ""
8927
8912
  }
8928
8913
  },
8929
8914
  emits: ["login"],
8930
8915
  setup(e, { emit: t }) {
8931
- uo(() => e.env, (s) => {
8932
- X0.init(s);
8933
- }, { immediate: !0 });
8916
+ fo(
8917
+ () => [e.apiBase, e.oauthBase],
8918
+ ([s, x]) => {
8919
+ X0.init({ apiBase: s, oauthBase: x });
8920
+ },
8921
+ { immediate: !0 }
8922
+ );
8934
8923
  const n = c0("qrcode"), r = () => {
8935
8924
  n.value = n.value === "qrcode" ? "password" : "qrcode";
8936
8925
  }, o = (s) => {
8937
8926
  if (!e.redirectUrl)
8938
8927
  return !1;
8939
8928
  const x = new URL(e.redirectUrl);
8940
- return x.searchParams.set("code", s), e.state && x.searchParams.set("state", e.state), window.location.href = x.toString(), !0;
8929
+ return x.searchParams.set("code", s), window.location.href = x.toString(), !0;
8941
8930
  }, i = (s) => {
8942
8931
  var c, f;
8943
- const x = (f = (c = lo()) == null ? void 0 : c.proxy) == null ? void 0 : f.$el;
8932
+ const x = (f = (c = uo()) == null ? void 0 : c.proxy) == null ? void 0 : f.$el;
8944
8933
  x != null && x.dispatchEvent && x.dispatchEvent(new CustomEvent("login", {
8945
8934
  detail: s,
8946
8935
  bubbles: !0,
@@ -8959,32 +8948,32 @@ const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId
8959
8948
  }
8960
8949
  };
8961
8950
  }
8962
- }), cc = `:host{display:block;width:100%}.beaver-login-container{width:100%;position:relative;padding:0 0 20px;font-family:PingFang SC,Microsoft YaHei,SF Pro,Roboto,sans-serif;box-sizing:border-box}.login-header{position:relative;padding:32px 24px 16px}.login-header__title{margin:0;font-size:22px;font-weight:500;color:#2d3436;text-align:center;line-height:1.3}.login-header__switch{position:absolute;right:20px;top:38px;font-size:13px;color:#636e72;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-header__switch:hover{color:#ff7d45}.qrcode-login-container,.oauth-login-container{width:100%}
8963
- `, xc = { class: "beaver-login-container" }, fc = { class: "login-header" }, uc = { class: "login-header__title" };
8964
- function lc(e, t, n, r, o, i) {
8951
+ }), ac = `:host{display:block;width:100%}.beaver-login-container{width:100%;position:relative;padding:0 0 20px;font-family:PingFang SC,Microsoft YaHei,SF Pro,Roboto,sans-serif;box-sizing:border-box}.login-header{position:relative;padding:32px 24px 16px}.login-header__title{margin:0;font-size:22px;font-weight:500;color:#2d3436;text-align:center;line-height:1.3}.login-header__switch{position:absolute;right:20px;top:38px;font-size:13px;color:#636e72;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-header__switch:hover{color:#ff7d45}.qrcode-login-container,.oauth-login-container{width:100%}
8952
+ `, cc = { class: "beaver-login-container" }, xc = { class: "login-header" }, fc = { class: "login-header__title" };
8953
+ function uc(e, t, n, r, o, i) {
8965
8954
  const a = ir("QrcodeLoginView"), s = ir("PasswordLoginView");
8966
- return x0(), h0("div", xc, [
8967
- X("div", fc, [
8968
- X("h2", uc, P0(e.currentMode === "qrcode" ? "扫码登录" : "账号登录"), 1),
8955
+ return x0(), h0("div", cc, [
8956
+ X("div", xc, [
8957
+ X("h2", fc, k0(e.currentMode === "qrcode" ? "扫码登录" : "账号登录"), 1),
8969
8958
  X("span", {
8970
8959
  class: "login-header__switch",
8971
8960
  onClick: t[0] || (t[0] = (...x) => e.toggleLoginMode && e.toggleLoginMode(...x))
8972
- }, P0(e.currentMode === "qrcode" ? "密码登录" : "扫码登录"), 1)
8961
+ }, k0(e.currentMode === "qrcode" ? "密码登录" : "扫码登录"), 1)
8973
8962
  ]),
8974
8963
  e.currentMode === "qrcode" ? (x0(), sr(a, {
8975
8964
  key: 0,
8976
8965
  "app-id": e.appId,
8977
8966
  onLoginSuccess: e.handleLoginSuccess
8978
- }, null, 8, ["app-id", "onLoginSuccess"])) : D0("", !0),
8967
+ }, null, 8, ["app-id", "onLoginSuccess"])) : m0("", !0),
8979
8968
  e.currentMode === "password" ? (x0(), sr(s, {
8980
8969
  key: 1,
8981
8970
  "app-id": e.appId,
8982
8971
  onLoginSuccess: e.handleLoginSuccess
8983
- }, null, 8, ["app-id", "onLoginSuccess"])) : D0("", !0)
8972
+ }, null, 8, ["app-id", "onLoginSuccess"])) : m0("", !0)
8984
8973
  ]);
8985
8974
  }
8986
- const y0 = /* @__PURE__ */ qt(ac, [["render", lc], ["styles", [cc]]]), Wn = "1.0.0";
8987
- function Kn(e) {
8975
+ const sn = /* @__PURE__ */ qt(sc, [["render", uc], ["styles", [ac]]]), lc = "1.0.0";
8976
+ function Wn(e) {
8988
8977
  const t = [];
8989
8978
  if (!e)
8990
8979
  return t;
@@ -8993,36 +8982,28 @@ function Kn(e) {
8993
8982
  const r = e.components;
8994
8983
  for (const o in r) {
8995
8984
  const i = r[o];
8996
- i && t.push(...Kn(i));
8985
+ i && t.push(...Wn(i));
8997
8986
  }
8998
8987
  }
8999
8988
  return t;
9000
8989
  }
9001
8990
  function dc() {
9002
- if (customElements.get("beaver-login")) {
9003
- console.log("⚡ beaver-login 已注册,跳过重复注册");
8991
+ if (customElements.get("beaver-login"))
9004
8992
  return;
9005
- }
9006
- const e = Kn(y0);
9007
- console.log("🔍 BeaverLogin 组件结构:", {
9008
- has__css__: !!y0.__css__,
9009
- has_styles: !!y0.styles,
9010
- has_components: !!y0.components,
9011
- components: y0.components ? Object.keys(y0.components) : []
9012
- });
9013
- const t = ho({
9014
- ...y0,
8993
+ const e = Wn(sn), t = lo({
8994
+ ...sn,
9015
8995
  styles: e
9016
8996
  });
9017
- customElements.define("beaver-login", t), console.log("✅ beaver-login Web Component 注册成功"), console.log(`🦫 海狸IM SDK v${Wn} - 跨平台登录组件`), console.log(`📦 已合并 ${e.length} 个样式模块`);
8997
+ customElements.define("beaver-login", t);
9018
8998
  }
9019
8999
  const vc = {
9020
- version: Wn,
9000
+ version: lc,
9021
9001
  register: dc
9022
9002
  };
9023
9003
  export {
9004
+ W0 as DEFAULT_CONFIG,
9024
9005
  X0 as configManager,
9025
9006
  vc as default,
9026
9007
  dc as register,
9027
- Wn as version
9008
+ lc as version
9028
9009
  };