@huyooo/ui 0.4.9 → 0.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{AuthkitAppSetting-D4uAa2Ni.js → AuthkitAppSetting-iL2SVGkm.js} +451 -432
  2. package/dist/{AuthkitAuthorize-WTE1sCbr.js → AuthkitAuthorize-CLG8uEWI.js} +33 -33
  3. package/dist/{CustomTable-Cd6RiAPX.js → CustomTable-DbiCOvmO.js} +209 -205
  4. package/dist/{FeedbackFeedBackItem-DYUIzqYg.js → FeedbackFeedBackItem-D1JwJFBF.js} +2 -2
  5. package/dist/{FeedbackFeedBackModal-DKgZZ8OR.js → FeedbackFeedBackModal-DOocV38w.js} +597 -596
  6. package/dist/InfiniteLoading-BOurBPUR.js +66 -0
  7. package/dist/{Menu-2SePYCYT.js → Menu-MZJINp6f.js} +32 -32
  8. package/dist/{MessageHandle-C9nSNw5A.js → MessageHandle-cZ2FXsJ5.js} +220 -260
  9. package/dist/{PaySubscriptions-CFKM4gyf.js → PaySubscriptions-MYoi8Ob_.js} +1 -1
  10. package/dist/{ReferrerReferees-q8H-v-Hq.js → ReferrerReferees-CFwb0s28.js} +49 -49
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js → Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js} +1 -1
  12. package/dist/{UserPanel-xh-QbW8U.js → UserPanel-DhGzInt8.js} +167 -168
  13. package/dist/api/Authkit/Users.d.ts +5 -4
  14. package/dist/api/Authkit/auth.d.ts +5 -4
  15. package/dist/authkit.js +3 -3
  16. package/dist/common.js +9 -9
  17. package/dist/components/InfiniteLoading.vue.d.ts +40 -4
  18. package/dist/components/Upload/Upload.vue.d.ts +2 -2
  19. package/dist/components/User/UserAvatar.vue.d.ts +1 -1
  20. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  21. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +3 -0
  22. package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
  23. package/dist/composables/Authkit/useAuthkitProps.d.ts +5 -0
  24. package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +143 -1
  25. package/dist/composables/usePolling.d.ts +27 -0
  26. package/dist/composables/useUserPanelProps.d.ts +27 -5
  27. package/dist/composables.js +3 -3
  28. package/dist/feedback.js +2 -2
  29. package/dist/index.js +47 -47
  30. package/dist/message.d.ts +1 -1
  31. package/dist/message.js +9 -8
  32. package/dist/pay.js +1 -1
  33. package/dist/referrer.js +1 -1
  34. package/dist/style.css +1 -1
  35. package/dist/types/api.d.ts +133 -0
  36. package/dist/upload.js +2 -2
  37. package/dist/useAuthkitProps-DB04dGw9.js +326 -0
  38. package/dist/{useUploadCos-DpOqkozy.js → useUploadCos-B8D9lYIk.js} +1486 -1489
  39. package/dist/useUserPanelProps-C5W72fZJ.js +54 -0
  40. package/dist/user.js +2 -2
  41. package/dist/utils/authkit.d.ts +7 -1
  42. package/dist/utils/configHelper.d.ts +17 -0
  43. package/dist/utils/errorHandler.d.ts +32 -0
  44. package/dist/utils/index.d.ts +11 -1
  45. package/package.json +1 -1
  46. package/dist/components/Message/MessageInfiniteLoading.vue.d.ts +0 -29
  47. package/dist/useAuthkitProps-DwKPhFjM.js +0 -283
  48. package/dist/useUserPanelProps-Dt9zkMJw.js +0 -14
@@ -4,81 +4,81 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import { defineComponent as Re, ref as Ie, computed as Ve, onMounted as Ye, onBeforeUnmount as Je, createElementBlock as de, openBlock as ce, normalizeStyle as be, renderSlot as Fe, createVNode as Le, unref as me, withCtx as Ee, createElementVNode as ye, createCommentVNode as Se, Fragment as $e, renderList as Me, normalizeClass as Be, toDisplayString as De, createBlock as Ce, createTextVNode as Xe, useSlots as Ze } from "vue";
7
+ import { defineComponent as Re, ref as Ie, computed as Ve, onMounted as Ye, onBeforeUnmount as Je, createElementBlock as de, openBlock as ce, normalizeStyle as be, renderSlot as Fe, createVNode as Le, unref as me, withCtx as Ee, createElementVNode as ye, createCommentVNode as Se, Fragment as $e, renderList as Me, normalizeClass as Be, toDisplayString as De, createBlock as ke, createTextVNode as Xe, useSlots as Ze } from "vue";
8
8
  import { Spin as Qe, Tooltip as Ke, Empty as et, Pagination as tt } from "@arco-design/web-vue";
9
9
  import { c as Ue } from "./_commonjsHelpers-DaMA6jEr.js";
10
10
  import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  var rt = { exports: {} };
12
- (function(N, I) {
13
- (function(P, v) {
14
- N.exports = v();
12
+ (function(O, I) {
13
+ (function(L, v) {
14
+ O.exports = v();
15
15
  })(Ue, function() {
16
- var P = 1e3, v = 6e4, H = 36e5, F = "millisecond", k = "second", _ = "minute", X = "hour", $ = "day", L = "week", U = "month", R = "quarter", M = "year", Y = "date", m = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = {
16
+ var L = 1e3, v = 6e4, H = 36e5, F = "millisecond", C = "second", _ = "minute", X = "hour", $ = "day", P = "week", U = "month", R = "quarter", M = "year", Y = "date", m = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = {
17
17
  name: "en",
18
18
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
19
19
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
20
- ordinal: function(O) {
21
- var g = ["th", "st", "nd", "rd"], d = O % 100;
22
- return "[" + O + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
20
+ ordinal: function(N) {
21
+ var g = ["th", "st", "nd", "rd"], d = N % 100;
22
+ return "[" + N + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
23
23
  }
24
- }, ie = function(O, g, d) {
25
- var y = String(O);
26
- return !y || y.length >= g ? O : "" + Array(g + 1 - y.length).join(d) + O;
24
+ }, ie = function(N, g, d) {
25
+ var y = String(N);
26
+ return !y || y.length >= g ? N : "" + Array(g + 1 - y.length).join(d) + N;
27
27
  }, he = {
28
28
  s: ie,
29
- z: function(O) {
30
- var g = -O.utcOffset(), d = Math.abs(g), y = Math.floor(d / 60), w = d % 60;
29
+ z: function(N) {
30
+ var g = -N.utcOffset(), d = Math.abs(g), y = Math.floor(d / 60), w = d % 60;
31
31
  return (g <= 0 ? "+" : "-") + ie(y, 2, "0") + ":" + ie(w, 2, "0");
32
32
  },
33
- m: function O(g, d) {
34
- if (g.date() < d.date()) return -O(d, g);
33
+ m: function N(g, d) {
34
+ if (g.date() < d.date()) return -N(d, g);
35
35
  var y = 12 * (d.year() - g.year()) + (d.month() - g.month()), w = g.clone().add(y, U), T = d - w < 0, D = g.clone().add(y + (T ? -1 : 1), U);
36
36
  return +(-(y + (d - w) / (T ? w - D : D - w)) || 0);
37
37
  },
38
- a: function(O) {
39
- return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
38
+ a: function(N) {
39
+ return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
40
40
  },
41
- p: function(O) {
41
+ p: function(N) {
42
42
  return {
43
43
  M: U,
44
44
  y: M,
45
- w: L,
45
+ w: P,
46
46
  d: $,
47
47
  D: Y,
48
48
  h: X,
49
49
  m: _,
50
- s: k,
50
+ s: C,
51
51
  ms: F,
52
52
  Q: R
53
- }[O] || String(O || "").toLowerCase().replace(/s$/, "");
53
+ }[N] || String(N || "").toLowerCase().replace(/s$/, "");
54
54
  },
55
- u: function(O) {
56
- return O === void 0;
55
+ u: function(N) {
56
+ return N === void 0;
57
57
  }
58
58
  }, ee = "en", S = {};
59
59
  S[ee] = x;
60
- var B = "$isDayjsObject", Z = function(O) {
61
- return O instanceof G || !(!O || !O[B]);
62
- }, Q = function O(g, d, y) {
60
+ var B = "$isDayjsObject", Z = function(N) {
61
+ return N instanceof G || !(!N || !N[B]);
62
+ }, Q = function N(g, d, y) {
63
63
  var w;
64
64
  if (!g) return ee;
65
65
  if (typeof g == "string") {
66
66
  var T = g.toLowerCase();
67
67
  S[T] && (w = T), d && (S[T] = d, w = T);
68
68
  var D = g.split("-");
69
- if (!w && D.length > 1) return O(D[0]);
69
+ if (!w && D.length > 1) return N(D[0]);
70
70
  } else {
71
71
  var q = g.name;
72
72
  S[q] = g, w = q;
73
73
  }
74
74
  return !y && w && (ee = w), w || !y && ee;
75
- }, p = function(O, g) {
76
- if (Z(O)) return O.clone();
75
+ }, p = function(N, g) {
76
+ if (Z(N)) return N.clone();
77
77
  var d = typeof g == "object" ? g : {};
78
- return d.date = O, d.args = arguments, new G(d);
78
+ return d.date = N, d.args = arguments, new G(d);
79
79
  }, b = he;
80
- b.l = Q, b.i = Z, b.w = function(O, g) {
81
- return p(O, {
80
+ b.l = Q, b.i = Z, b.w = function(N, g) {
81
+ return p(N, {
82
82
  locale: g.$L,
83
83
  utc: g.$u,
84
84
  x: g.$x,
@@ -86,10 +86,10 @@ var rt = { exports: {} };
86
86
  });
87
87
  };
88
88
  var G = function() {
89
- function O(d) {
89
+ function N(d) {
90
90
  this.$L = Q(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[B] = !0;
91
91
  }
92
- var g = O.prototype;
92
+ var g = N.prototype;
93
93
  return g.parse = function(d) {
94
94
  this.$d = function(y) {
95
95
  var w = y.date, T = y.utc;
@@ -97,7 +97,7 @@ var rt = { exports: {} };
97
97
  if (b.u(w)) return /* @__PURE__ */ new Date();
98
98
  if (w instanceof Date) return new Date(w);
99
99
  if (typeof w == "string" && !/Z$/i.test(w)) {
100
- var D = w.match(C);
100
+ var D = w.match(k);
101
101
  if (D) {
102
102
  var q = D[2] - 1 || 0, V = (D[7] || "0").substring(0, 3);
103
103
  return T ? new Date(Date.UTC(D[1], q, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, V)) : new Date(D[1], q, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, V);
@@ -137,7 +137,7 @@ var rt = { exports: {} };
137
137
  return T ? q(1, 0) : q(31, 11);
138
138
  case U:
139
139
  return T ? q(1, h) : q(0, h + 1);
140
- case L:
140
+ case P:
141
141
  var ge = this.$locale().weekStart || 0, oe = (te < ge ? te + 7 : te) - ge;
142
142
  return q(T ? fe - oe : fe + (6 - oe), h);
143
143
  case $:
@@ -147,7 +147,7 @@ var rt = { exports: {} };
147
147
  return V(ve + "Minutes", 1);
148
148
  case _:
149
149
  return V(ve + "Seconds", 2);
150
- case k:
150
+ case C:
151
151
  return V(ve + "Milliseconds", 3);
152
152
  default:
153
153
  return this.clone();
@@ -155,7 +155,7 @@ var rt = { exports: {} };
155
155
  }, g.endOf = function(d) {
156
156
  return this.startOf(d, !1);
157
157
  }, g.$set = function(d, y) {
158
- var w, T = b.p(d), D = "set" + (this.$u ? "UTC" : ""), q = (w = {}, w[$] = D + "Date", w[Y] = D + "Date", w[U] = D + "Month", w[M] = D + "FullYear", w[X] = D + "Hours", w[_] = D + "Minutes", w[k] = D + "Seconds", w[F] = D + "Milliseconds", w)[T], V = T === $ ? this.$D + (y - this.$W) : y;
158
+ var w, T = b.p(d), D = "set" + (this.$u ? "UTC" : ""), q = (w = {}, w[$] = D + "Date", w[Y] = D + "Date", w[U] = D + "Month", w[M] = D + "FullYear", w[X] = D + "Hours", w[_] = D + "Minutes", w[C] = D + "Seconds", w[F] = D + "Milliseconds", w)[T], V = T === $ ? this.$D + (y - this.$W) : y;
159
159
  if (T === U || T === M) {
160
160
  var te = this.clone().set(Y, 1);
161
161
  te.$d[q](V), te.init(), this.$d = te.set(Y, Math.min(this.$D, te.daysInMonth())).$d;
@@ -175,8 +175,8 @@ var rt = { exports: {} };
175
175
  if (D === U) return this.set(U, this.$M + d);
176
176
  if (D === M) return this.set(M, this.$y + d);
177
177
  if (D === $) return q(1);
178
- if (D === L) return q(7);
179
- var V = (w = {}, w[_] = v, w[X] = H, w[k] = P, w)[D] || 1, te = this.$d.getTime() + d * V;
178
+ if (D === P) return q(7);
179
+ var V = (w = {}, w[_] = v, w[X] = H, w[C] = L, w)[D] || 1, te = this.$d.getTime() + d * V;
180
180
  return b.w(te, this);
181
181
  }, g.subtract = function(d, y) {
182
182
  return this.add(-1 * d, y);
@@ -262,7 +262,7 @@ var rt = { exports: {} };
262
262
  case R:
263
263
  T = fe() / 3;
264
264
  break;
265
- case L:
265
+ case P:
266
266
  T = (h - te) / 6048e5;
267
267
  break;
268
268
  case $:
@@ -274,8 +274,8 @@ var rt = { exports: {} };
274
274
  case _:
275
275
  T = h / v;
276
276
  break;
277
- case k:
278
- T = h / P;
277
+ case C:
278
+ T = h / L;
279
279
  break;
280
280
  default:
281
281
  T = h;
@@ -299,29 +299,29 @@ var rt = { exports: {} };
299
299
  return this.$d.toISOString();
300
300
  }, g.toString = function() {
301
301
  return this.$d.toUTCString();
302
- }, O;
302
+ }, N;
303
303
  }(), K = G.prototype;
304
- return p.prototype = K, [["$ms", F], ["$s", k], ["$m", _], ["$H", X], ["$W", $], ["$M", U], ["$y", M], ["$D", Y]].forEach(function(O) {
305
- K[O[1]] = function(g) {
306
- return this.$g(g, O[0], O[1]);
304
+ return p.prototype = K, [["$ms", F], ["$s", C], ["$m", _], ["$H", X], ["$W", $], ["$M", U], ["$y", M], ["$D", Y]].forEach(function(N) {
305
+ K[N[1]] = function(g) {
306
+ return this.$g(g, N[0], N[1]);
307
307
  };
308
- }), p.extend = function(O, g) {
309
- return O.$i || (O(g, G, p), O.$i = !0), p;
310
- }, p.locale = Q, p.isDayjs = Z, p.unix = function(O) {
311
- return p(1e3 * O);
308
+ }), p.extend = function(N, g) {
309
+ return N.$i || (N(g, G, p), N.$i = !0), p;
310
+ }, p.locale = Q, p.isDayjs = Z, p.unix = function(N) {
311
+ return p(1e3 * N);
312
312
  }, p.en = S[ee], p.Ls = S, p.p = {}, p;
313
313
  });
314
314
  })(rt);
315
315
  var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
316
- (function(N) {
316
+ (function(O) {
317
317
  (function(I) {
318
- var P, v = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, H = Math.ceil, F = Math.floor, k = "[BigNumber Error] ", _ = k + "Number primitive has more than 15 significant digits: ", X = 1e14, $ = 14, L = 9007199254740991, U = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], R = 1e7, M = 1e9;
318
+ var L, v = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, H = Math.ceil, F = Math.floor, C = "[BigNumber Error] ", _ = C + "Number primitive has more than 15 significant digits: ", X = 1e14, $ = 14, P = 9007199254740991, U = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], R = 1e7, M = 1e9;
319
319
  function Y(S) {
320
320
  var B, Z, Q, p = h.prototype = {
321
321
  constructor: h,
322
322
  toString: null,
323
323
  valueOf: null
324
- }, b = new h(1), G = 20, K = 4, O = -7, g = 21, d = -1e7, y = 1e7, w = !1, T = 1, D = 0, q = {
324
+ }, b = new h(1), G = 20, K = 4, N = -7, g = 21, d = -1e7, y = 1e7, w = !1, T = 1, D = 0, q = {
325
325
  prefix: "",
326
326
  groupSize: 3,
327
327
  secondaryGroupSize: 0,
@@ -379,7 +379,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
379
379
  for (l = 0; a.charCodeAt(l) === 48; l++) ;
380
380
  for (s = a.length; a.charCodeAt(--s) === 48; ) ;
381
381
  if (a = a.slice(l, ++s)) {
382
- if (s -= l, n && h.DEBUG && s > 15 && (e > L || e !== F(e)))
382
+ if (s -= l, n && h.DEBUG && s > 15 && (e > P || e !== F(e)))
383
383
  throw Error(_ + f.s * e);
384
384
  if ((o = o - l - 1) > y)
385
385
  f.c = f.e = null;
@@ -402,38 +402,38 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
402
402
  var t, r;
403
403
  if (e != null)
404
404
  if (typeof e == "object") {
405
- if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (r = e[t], x(r, 0, M, t), G = r), e.hasOwnProperty(t = "ROUNDING_MODE") && (r = e[t], x(r, 0, 8, t), K = r), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (r = e[t], r && r.pop ? (x(r[0], -M, 0, t), x(r[1], 0, M, t), O = r[0], g = r[1]) : (x(r, -M, M, t), O = -(g = r < 0 ? -r : r))), e.hasOwnProperty(t = "RANGE"))
405
+ if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (r = e[t], x(r, 0, M, t), G = r), e.hasOwnProperty(t = "ROUNDING_MODE") && (r = e[t], x(r, 0, 8, t), K = r), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (r = e[t], r && r.pop ? (x(r[0], -M, 0, t), x(r[1], 0, M, t), N = r[0], g = r[1]) : (x(r, -M, M, t), N = -(g = r < 0 ? -r : r))), e.hasOwnProperty(t = "RANGE"))
406
406
  if (r = e[t], r && r.pop)
407
407
  x(r[0], -M, -1, t), x(r[1], 1, M, t), d = r[0], y = r[1];
408
408
  else if (x(r, -M, M, t), r)
409
409
  d = -(y = r < 0 ? -r : r);
410
410
  else
411
- throw Error(k + t + " cannot be zero: " + r);
411
+ throw Error(C + t + " cannot be zero: " + r);
412
412
  if (e.hasOwnProperty(t = "CRYPTO"))
413
413
  if (r = e[t], r === !!r)
414
414
  if (r)
415
415
  if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
416
416
  w = r;
417
417
  else
418
- throw w = !r, Error(k + "crypto unavailable");
418
+ throw w = !r, Error(C + "crypto unavailable");
419
419
  else
420
420
  w = r;
421
421
  else
422
- throw Error(k + t + " not true or false: " + r);
422
+ throw Error(C + t + " not true or false: " + r);
423
423
  if (e.hasOwnProperty(t = "MODULO_MODE") && (r = e[t], x(r, 0, 9, t), T = r), e.hasOwnProperty(t = "POW_PRECISION") && (r = e[t], x(r, 0, M, t), D = r), e.hasOwnProperty(t = "FORMAT"))
424
424
  if (r = e[t], typeof r == "object") q = r;
425
- else throw Error(k + t + " not an object: " + r);
425
+ else throw Error(C + t + " not an object: " + r);
426
426
  if (e.hasOwnProperty(t = "ALPHABET"))
427
427
  if (r = e[t], typeof r == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(r))
428
428
  te = r.slice(0, 10) == "0123456789", V = r;
429
429
  else
430
- throw Error(k + t + " invalid: " + r);
430
+ throw Error(C + t + " invalid: " + r);
431
431
  } else
432
- throw Error(k + "Object expected: " + e);
432
+ throw Error(C + "Object expected: " + e);
433
433
  return {
434
434
  DECIMAL_PLACES: G,
435
435
  ROUNDING_MODE: K,
436
- EXPONENTIAL_AT: [O, g],
436
+ EXPONENTIAL_AT: [N, g],
437
437
  RANGE: [d, y],
438
438
  CRYPTO: w,
439
439
  MODULO_MODE: T,
@@ -459,7 +459,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
459
459
  }
460
460
  } else if (u === null && i === null && (o === null || o === 1 || o === -1))
461
461
  return !0;
462
- throw Error(k + "Invalid BigNumber: " + e);
462
+ throw Error(C + "Invalid BigNumber: " + e);
463
463
  }, h.maximum = h.max = function() {
464
464
  return ve(arguments, -1);
465
465
  }, h.minimum = h.min = function() {
@@ -482,7 +482,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
482
482
  n = (u[s] & 31) * 281474976710656 + u[s + 1] * 1099511627776 + u[s + 2] * 4294967296 + u[s + 3] * 16777216 + (u[s + 4] << 16) + (u[s + 5] << 8) + u[s + 6], n >= 9e15 ? crypto.randomBytes(7).copy(u, s) : (a.push(n % 1e14), s += 7);
483
483
  s = l / 7;
484
484
  } else
485
- throw w = !1, Error(k + "crypto unavailable");
485
+ throw w = !1, Error(C + "crypto unavailable");
486
486
  if (!w)
487
487
  for (; s < l; )
488
488
  n = t(), n < 9e15 && (a[s++] = n % 1e14);
@@ -511,7 +511,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
511
511
  }
512
512
  return function(r, u, i, o, l) {
513
513
  var n, s, a, f, c, A, E, z, re = r.indexOf("."), se = G, j = K;
514
- for (re >= 0 && (f = D, D = 0, r = r.replace(".", ""), z = new h(u), A = z.pow(r.length - re), D = f, z.c = t(ee(C(A.c), A.e, "0"), 10, i, e), z.e = z.c.length), E = t(r, u, i, l ? (n = V, e) : (n = e, V)), a = f = E.length; E[--f] == 0; E.pop()) ;
514
+ for (re >= 0 && (f = D, D = 0, r = r.replace(".", ""), z = new h(u), A = z.pow(r.length - re), D = f, z.c = t(ee(k(A.c), A.e, "0"), 10, i, e), z.e = z.c.length), E = t(r, u, i, l ? (n = V, e) : (n = e, V)), a = f = E.length; E[--f] == 0; E.pop()) ;
515
515
  if (!E[0]) return n.charAt(0);
516
516
  if (re < 0 ? --a : (A.c = E, A.e = a, A.s = o, A = B(A, z, se, j, i), E = A.c, c = A.r, a = A.e), s = a + se + 1, re = E[s], f = i / 2, c = c || s < 0 || E[s + 1] != null, c = j < 4 ? (re != null || c) && (j == 0 || j == (A.s < 0 ? 3 : 2)) : re > f || re == f && (j == 4 || c || j == 6 && E[s - 1] & 1 || j == (A.s < 0 ? 8 : 7)), s < 1 || !E[0])
517
517
  r = c ? ee(n.charAt(1), -se, n.charAt(0)) : n.charAt(0);
@@ -592,8 +592,8 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
592
592
  var i, o, l, n, s;
593
593
  if (r == null ? r = K : x(r, 0, 8), !e.c) return e.toString();
594
594
  if (i = e.c[0], l = e.e, t == null)
595
- s = C(e.c), s = u == 1 || u == 2 && (l <= O || l >= g) ? he(s, l) : ee(s, l, "0");
596
- else if (e = oe(new h(e), t, r), o = e.e, s = C(e.c), n = s.length, u == 1 || u == 2 && (t <= o || o <= O)) {
595
+ s = k(e.c), s = u == 1 || u == 2 && (l <= N || l >= g) ? he(s, l) : ee(s, l, "0");
596
+ else if (e = oe(new h(e), t, r), o = e.e, s = k(e.c), n = s.length, u == 1 || u == 2 && (t <= o || o <= N)) {
597
597
  for (; n < t; s += "0", n++) ;
598
598
  s = he(s, o);
599
599
  } else if (t -= l, s = ee(s, o, "0"), o + 1 > n) {
@@ -624,7 +624,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
624
624
  }), s && (a = s, f = f.replace(t, "$1").replace(r, "0.$1")), l != f))
625
625
  return new h(f, a);
626
626
  if (h.DEBUG)
627
- throw Error(k + "Not a" + (s ? " base " + s : "") + " number: " + l);
627
+ throw Error(C + "Not a" + (s ? " base " + s : "") + " number: " + l);
628
628
  o.s = null;
629
629
  }
630
630
  o.c = o.e = null;
@@ -672,7 +672,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
672
672
  }
673
673
  function ue(e) {
674
674
  var t, r = e.e;
675
- return r === null ? e.toString() : (t = C(e.c), t = r <= O || r >= g ? he(t, r) : ee(t, r, "0"), e.s < 0 ? "-" + t : t);
675
+ return r === null ? e.toString() : (t = k(e.c), t = r <= N || r >= g ? he(t, r) : ee(t, r, "0"), e.s < 0 ? "-" + t : t);
676
676
  }
677
677
  return p.absoluteValue = p.abs = function() {
678
678
  var e = new h(this);
@@ -693,7 +693,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
693
693
  }, p.exponentiatedBy = p.pow = function(e, t) {
694
694
  var r, u, i, o, l, n, s, a, f, c = this;
695
695
  if (e = new h(e), e.c && !e.isInteger())
696
- throw Error(k + "Exponent not an integer: " + ue(e));
696
+ throw Error(C + "Exponent not an integer: " + ue(e));
697
697
  if (t != null && (t = new h(t)), n = e.e > 14, !c.c || !c.c[0] || c.c[0] == 1 && !c.e && c.c.length == 1 || !e.c || !e.c[0])
698
698
  return f = new h(Math.pow(+ue(c), n ? e.s * (2 - ie(e)) : +ue(e))), t ? f.mod(t) : f;
699
699
  if (s = e.s < 0, t) {
@@ -824,14 +824,14 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
824
824
  }
825
825
  return e && o.e + 1 > u && (u = o.e + 1), u;
826
826
  }, p.shiftedBy = function(e) {
827
- return x(e, -L, L), this.times("1e" + e);
827
+ return x(e, -P, P), this.times("1e" + e);
828
828
  }, p.squareRoot = p.sqrt = function() {
829
829
  var e, t, r, u, i, o = this, l = o.c, n = o.s, s = o.e, a = G + 4, f = new h("0.5");
830
830
  if (n !== 1 || !l || !l[0])
831
831
  return new h(!n || n < 0 && (!l || l[0]) ? NaN : l ? o : 1 / 0);
832
- if (n = Math.sqrt(+ue(o)), n == 0 || n == 1 / 0 ? (t = C(l), (t.length + s) % 2 == 0 && (t += "0"), n = Math.sqrt(+t), s = m((s + 1) / 2) - (s < 0 || s % 2), n == 1 / 0 ? t = "5e" + s : (t = n.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + s), r = new h(t)) : r = new h(n + ""), r.c[0]) {
832
+ if (n = Math.sqrt(+ue(o)), n == 0 || n == 1 / 0 ? (t = k(l), (t.length + s) % 2 == 0 && (t += "0"), n = Math.sqrt(+t), s = m((s + 1) / 2) - (s < 0 || s % 2), n == 1 / 0 ? t = "5e" + s : (t = n.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + s), r = new h(t)) : r = new h(n + ""), r.c[0]) {
833
833
  for (s = r.e, n = s + a, n < 3 && (n = 0); ; )
834
- if (i = r, r = f.times(i.plus(B(o, i, a, 1))), C(i.c).slice(0, n) === (t = C(r.c)).slice(0, n))
834
+ if (i = r, r = f.times(i.plus(B(o, i, a, 1))), k(i.c).slice(0, n) === (t = k(r.c)).slice(0, n))
835
835
  if (r.e < s && --n, t = t.slice(n - 3, n + 1), t == "9999" || !u && t == "4999") {
836
836
  if (!u && (oe(i, i.e + G + 2, 0), i.times(i).eq(o))) {
837
837
  r = i;
@@ -853,7 +853,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
853
853
  if (r == null)
854
854
  e != null && t && typeof t == "object" ? (r = t, t = null) : e && typeof e == "object" ? (r = e, e = t = null) : r = q;
855
855
  else if (typeof r != "object")
856
- throw Error(k + "Argument not an object: " + r);
856
+ throw Error(C + "Argument not an object: " + r);
857
857
  if (u = i.toFixed(e, t), i.c) {
858
858
  var o, l = u.split("."), n = +r.groupSize, s = +r.secondaryGroupSize, a = r.groupSeparator || "", f = l[0], c = l[1], A = i.s < 0, E = A ? f.slice(1) : f, z = E.length;
859
859
  if (s && (o = n, n = s, s = o, z -= o), n > 0 && z > 0) {
@@ -866,9 +866,9 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
866
866
  }, p.toFraction = function(e) {
867
867
  var t, r, u, i, o, l, n, s, a, f, c, A, E = this, z = E.c;
868
868
  if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(b)))
869
- throw Error(k + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
869
+ throw Error(C + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
870
870
  if (!z) return new h(E);
871
- for (t = new h(b), a = r = new h(b), u = s = new h(b), A = C(z), o = t.e = A.length - E.e - 1, t.c[0] = U[(l = o % $) < 0 ? $ + l : l], e = !e || n.comparedTo(t) > 0 ? o > 0 ? t : a : n, l = y, y = 1 / 0, n = new h(A), s.c[0] = 0; f = B(n, t, 0, 1), i = r.plus(f.times(u)), i.comparedTo(e) != 1; )
871
+ for (t = new h(b), a = r = new h(b), u = s = new h(b), A = k(z), o = t.e = A.length - E.e - 1, t.c[0] = U[(l = o % $) < 0 ? $ + l : l], e = !e || n.comparedTo(t) > 0 ? o > 0 ? t : a : n, l = y, y = 1 / 0, n = new h(A), s.c[0] = 0; f = B(n, t, 0, 1), i = r.plus(f.times(u)), i.comparedTo(e) != 1; )
872
872
  r = u, u = i, a = s.plus(f.times(i = a)), s = i, t = n.minus(f.times(i = t)), n = i;
873
873
  return i = B(e.minus(r), u, 0, 1), s = s.plus(i.times(a)), r = r.plus(i.times(u)), s.s = a.s = E.s, o = o * 2, c = B(a, u, o, K).minus(E).abs().comparedTo(B(s, r, o, K).minus(E).abs()) < 1 ? [a, u] : [s, r], y = l, c;
874
874
  }, p.toNumber = function() {
@@ -877,7 +877,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
877
877
  return e != null && x(e, 1, M), fe(this, e, t, 2);
878
878
  }, p.toString = function(e) {
879
879
  var t, r = this, u = r.s, i = r.e;
880
- return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= O || i >= g ? he(C(r.c), i) : ee(C(r.c), i, "0") : e === 10 && te ? (r = oe(new h(r), G + i + 1, K), t = ee(C(r.c), r.e, "0")) : (x(e, 2, V.length, "Base"), t = Z(ee(C(r.c), i, "0"), 10, e, u, !0)), u < 0 && r.c[0] && (t = "-" + t)), t;
880
+ return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= N || i >= g ? he(k(r.c), i) : ee(k(r.c), i, "0") : e === 10 && te ? (r = oe(new h(r), G + i + 1, K), t = ee(k(r.c), r.e, "0")) : (x(e, 2, V.length, "Base"), t = Z(ee(k(r.c), i, "0"), 10, e, u, !0)), u < 0 && r.c[0] && (t = "-" + t)), t;
881
881
  }, p.valueOf = p.toJSON = function() {
882
882
  return ue(this);
883
883
  }, p._isBigNumber = !0, S != null && h.set(S), h;
@@ -886,7 +886,7 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
886
886
  var B = S | 0;
887
887
  return S > 0 || S === B ? B : B - 1;
888
888
  }
889
- function C(S) {
889
+ function k(S) {
890
890
  for (var B, Z, Q = 1, p = S.length, b = S[0] + ""; Q < p; ) {
891
891
  for (B = S[Q++] + "", Z = $ - B.length; Z--; B = "0" + B) ;
892
892
  b += B;
@@ -895,18 +895,18 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
895
895
  return b.slice(0, p + 1 || 1);
896
896
  }
897
897
  function W(S, B) {
898
- var Z, Q, p = S.c, b = B.c, G = S.s, K = B.s, O = S.e, g = B.e;
898
+ var Z, Q, p = S.c, b = B.c, G = S.s, K = B.s, N = S.e, g = B.e;
899
899
  if (!G || !K) return null;
900
900
  if (Z = p && !p[0], Q = b && !b[0], Z || Q) return Z ? Q ? 0 : -K : G;
901
901
  if (G != K) return G;
902
- if (Z = G < 0, Q = O == g, !p || !b) return Q ? 0 : !p ^ Z ? 1 : -1;
903
- if (!Q) return O > g ^ Z ? 1 : -1;
904
- for (K = (O = p.length) < (g = b.length) ? O : g, G = 0; G < K; G++) if (p[G] != b[G]) return p[G] > b[G] ^ Z ? 1 : -1;
905
- return O == g ? 0 : O > g ^ Z ? 1 : -1;
902
+ if (Z = G < 0, Q = N == g, !p || !b) return Q ? 0 : !p ^ Z ? 1 : -1;
903
+ if (!Q) return N > g ^ Z ? 1 : -1;
904
+ for (K = (N = p.length) < (g = b.length) ? N : g, G = 0; G < K; G++) if (p[G] != b[G]) return p[G] > b[G] ^ Z ? 1 : -1;
905
+ return N == g ? 0 : N > g ^ Z ? 1 : -1;
906
906
  }
907
907
  function x(S, B, Z, Q) {
908
908
  if (S < B || S > Z || S !== F(S))
909
- throw Error(k + (Q || "Argument") + (typeof S == "number" ? S < B || S > Z ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(S));
909
+ throw Error(C + (Q || "Argument") + (typeof S == "number" ? S < B || S > Z ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(S));
910
910
  }
911
911
  function ie(S) {
912
912
  var B = S.c.length - 1;
@@ -926,14 +926,14 @@ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
926
926
  } else B < Q && (S = S.slice(0, B) + "." + S.slice(B));
927
927
  return S;
928
928
  }
929
- P = Y(), P.default = P.BigNumber = P, N.exports ? N.exports = P : (I || (I = typeof self < "u" && self ? self : window), I.BigNumber = P);
929
+ L = Y(), L.default = L.BigNumber = L, O.exports ? O.exports = L : (I || (I = typeof self < "u" && self ? self : window), I.BigNumber = L);
930
930
  })(Ue);
931
931
  })(We);
932
932
  var qe = We.exports;
933
- (function(N) {
934
- var I = qe, P = N.exports;
933
+ (function(O) {
934
+ var I = qe, L = O.exports;
935
935
  (function() {
936
- var v = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, H, F, k = {
936
+ var v = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, H, F, C = {
937
937
  // table of character substitutions
938
938
  "\b": "\\b",
939
939
  " ": "\\t",
@@ -943,15 +943,15 @@ var qe = We.exports;
943
943
  '"': '\\"',
944
944
  "\\": "\\\\"
945
945
  }, _;
946
- function X(L) {
947
- return v.lastIndex = 0, v.test(L) ? '"' + L.replace(v, function(U) {
948
- var R = k[U];
946
+ function X(P) {
947
+ return v.lastIndex = 0, v.test(P) ? '"' + P.replace(v, function(U) {
948
+ var R = C[U];
949
949
  return typeof R == "string" ? R : "\\u" + ("0000" + U.charCodeAt(0).toString(16)).slice(-4);
950
- }) + '"' : '"' + L + '"';
950
+ }) + '"' : '"' + P + '"';
951
951
  }
952
- function $(L, U) {
953
- var R, M, Y, m, C = H, W, x = U[L], ie = x != null && (x instanceof I || I.isBigNumber(x));
954
- switch (x && typeof x == "object" && typeof x.toJSON == "function" && (x = x.toJSON(L)), typeof _ == "function" && (x = _.call(U, L, x)), typeof x) {
952
+ function $(P, U) {
953
+ var R, M, Y, m, k = H, W, x = U[P], ie = x != null && (x instanceof I || I.isBigNumber(x));
954
+ switch (x && typeof x == "object" && typeof x.toJSON == "function" && (x = x.toJSON(P)), typeof _ == "function" && (x = _.call(U, P, x)), typeof x) {
955
955
  case "string":
956
956
  return ie ? x : X(x);
957
957
  case "number":
@@ -969,7 +969,7 @@ var qe = We.exports;
969
969
  return Y = W.length === 0 ? "[]" : H ? `[
970
970
  ` + H + W.join(`,
971
971
  ` + H) + `
972
- ` + C + "]" : "[" + W.join(",") + "]", H = C, Y;
972
+ ` + k + "]" : "[" + W.join(",") + "]", H = k, Y;
973
973
  }
974
974
  if (_ && typeof _ == "object")
975
975
  for (m = _.length, R = 0; R < m; R += 1)
@@ -982,10 +982,10 @@ var qe = We.exports;
982
982
  return Y = W.length === 0 ? "{}" : H ? `{
983
983
  ` + H + W.join(`,
984
984
  ` + H) + `
985
- ` + C + "}" : "{" + W.join(",") + "}", H = C, Y;
985
+ ` + k + "}" : "{" + W.join(",") + "}", H = k, Y;
986
986
  }
987
987
  }
988
- typeof P.stringify != "function" && (P.stringify = function(L, U, R) {
988
+ typeof L.stringify != "function" && (L.stringify = function(P, U, R) {
989
989
  var M;
990
990
  if (H = "", F = "", typeof R == "number")
991
991
  for (M = 0; M < R; M += 1)
@@ -994,14 +994,14 @@ var qe = We.exports;
994
994
  if (_ = U, U && typeof U != "function" && (typeof U != "object" || typeof U.length != "number"))
995
995
  throw new Error("JSON.stringify");
996
996
  return $("", {
997
- "": L
997
+ "": P
998
998
  });
999
999
  });
1000
1000
  })();
1001
1001
  })(ze);
1002
1002
  var nt = ze.exports, xe = null;
1003
1003
  const it = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, st = /(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;
1004
- var ot = function(N) {
1004
+ var ot = function(O) {
1005
1005
  var I = {
1006
1006
  strict: !1,
1007
1007
  // not being strict means do not generate syntax errors for "duplicate key"
@@ -1014,19 +1014,19 @@ var ot = function(N) {
1014
1014
  protoAction: "error",
1015
1015
  constructorAction: "error"
1016
1016
  };
1017
- if (N != null) {
1018
- if (N.strict === !0 && (I.strict = !0), N.storeAsString === !0 && (I.storeAsString = !0), I.alwaysParseAsBig = N.alwaysParseAsBig === !0 ? N.alwaysParseAsBig : !1, I.useNativeBigInt = N.useNativeBigInt === !0 ? N.useNativeBigInt : !1, typeof N.constructorAction < "u")
1019
- if (N.constructorAction === "error" || N.constructorAction === "ignore" || N.constructorAction === "preserve")
1020
- I.constructorAction = N.constructorAction;
1017
+ if (O != null) {
1018
+ if (O.strict === !0 && (I.strict = !0), O.storeAsString === !0 && (I.storeAsString = !0), I.alwaysParseAsBig = O.alwaysParseAsBig === !0 ? O.alwaysParseAsBig : !1, I.useNativeBigInt = O.useNativeBigInt === !0 ? O.useNativeBigInt : !1, typeof O.constructorAction < "u")
1019
+ if (O.constructorAction === "error" || O.constructorAction === "ignore" || O.constructorAction === "preserve")
1020
+ I.constructorAction = O.constructorAction;
1021
1021
  else
1022
- throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${N.constructorAction}`);
1023
- if (typeof N.protoAction < "u")
1024
- if (N.protoAction === "error" || N.protoAction === "ignore" || N.protoAction === "preserve")
1025
- I.protoAction = N.protoAction;
1022
+ throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${O.constructorAction}`);
1023
+ if (typeof O.protoAction < "u")
1024
+ if (O.protoAction === "error" || O.protoAction === "ignore" || O.protoAction === "preserve")
1025
+ I.protoAction = O.protoAction;
1026
1026
  else
1027
- throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${N.protoAction}`);
1027
+ throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${O.protoAction}`);
1028
1028
  }
1029
- var P, v, H = {
1029
+ var L, v, H = {
1030
1030
  '"': '"',
1031
1031
  "\\": "\\",
1032
1032
  "/": "/",
@@ -1036,49 +1036,49 @@ var ot = function(N) {
1036
1036
  `,
1037
1037
  r: "\r",
1038
1038
  t: " "
1039
- }, F, k = function(m) {
1039
+ }, F, C = function(m) {
1040
1040
  throw {
1041
1041
  name: "SyntaxError",
1042
1042
  message: m,
1043
- at: P,
1043
+ at: L,
1044
1044
  text: F
1045
1045
  };
1046
1046
  }, _ = function(m) {
1047
- return m && m !== v && k("Expected '" + m + "' instead of '" + v + "'"), v = F.charAt(P), P += 1, v;
1047
+ return m && m !== v && C("Expected '" + m + "' instead of '" + v + "'"), v = F.charAt(L), L += 1, v;
1048
1048
  }, X = function() {
1049
- var m, C = "";
1050
- for (v === "-" && (C = "-", _("-")); v >= "0" && v <= "9"; )
1051
- C += v, _();
1049
+ var m, k = "";
1050
+ for (v === "-" && (k = "-", _("-")); v >= "0" && v <= "9"; )
1051
+ k += v, _();
1052
1052
  if (v === ".")
1053
- for (C += "."; _() && v >= "0" && v <= "9"; )
1054
- C += v;
1053
+ for (k += "."; _() && v >= "0" && v <= "9"; )
1054
+ k += v;
1055
1055
  if (v === "e" || v === "E")
1056
- for (C += v, _(), (v === "-" || v === "+") && (C += v, _()); v >= "0" && v <= "9"; )
1057
- C += v, _();
1058
- if (m = +C, !isFinite(m))
1059
- k("Bad number");
1056
+ for (k += v, _(), (v === "-" || v === "+") && (k += v, _()); v >= "0" && v <= "9"; )
1057
+ k += v, _();
1058
+ if (m = +k, !isFinite(m))
1059
+ C("Bad number");
1060
1060
  else
1061
- return xe == null && (xe = qe), C.length > 15 ? I.storeAsString ? C : I.useNativeBigInt ? BigInt(C) : new xe(C) : I.alwaysParseAsBig ? I.useNativeBigInt ? BigInt(m) : new xe(m) : m;
1061
+ return xe == null && (xe = qe), k.length > 15 ? I.storeAsString ? k : I.useNativeBigInt ? BigInt(k) : new xe(k) : I.alwaysParseAsBig ? I.useNativeBigInt ? BigInt(m) : new xe(m) : m;
1062
1062
  }, $ = function() {
1063
- var m, C, W = "", x;
1063
+ var m, k, W = "", x;
1064
1064
  if (v === '"')
1065
- for (var ie = P; _(); ) {
1065
+ for (var ie = L; _(); ) {
1066
1066
  if (v === '"')
1067
- return P - 1 > ie && (W += F.substring(ie, P - 1)), _(), W;
1067
+ return L - 1 > ie && (W += F.substring(ie, L - 1)), _(), W;
1068
1068
  if (v === "\\") {
1069
- if (P - 1 > ie && (W += F.substring(ie, P - 1)), _(), v === "u") {
1070
- for (x = 0, C = 0; C < 4 && (m = parseInt(_(), 16), !!isFinite(m)); C += 1)
1069
+ if (L - 1 > ie && (W += F.substring(ie, L - 1)), _(), v === "u") {
1070
+ for (x = 0, k = 0; k < 4 && (m = parseInt(_(), 16), !!isFinite(m)); k += 1)
1071
1071
  x = x * 16 + m;
1072
1072
  W += String.fromCharCode(x);
1073
1073
  } else if (typeof H[v] == "string")
1074
1074
  W += H[v];
1075
1075
  else
1076
1076
  break;
1077
- ie = P;
1077
+ ie = L;
1078
1078
  }
1079
1079
  }
1080
- k("Bad string");
1081
- }, L = function() {
1080
+ C("Bad string");
1081
+ }, P = function() {
1082
1082
  for (; v && v <= " "; )
1083
1083
  _();
1084
1084
  }, U = function() {
@@ -1090,34 +1090,34 @@ var ot = function(N) {
1090
1090
  case "n":
1091
1091
  return _("n"), _("u"), _("l"), _("l"), null;
1092
1092
  }
1093
- k("Unexpected '" + v + "'");
1093
+ C("Unexpected '" + v + "'");
1094
1094
  }, R, M = function() {
1095
1095
  var m = [];
1096
1096
  if (v === "[") {
1097
- if (_("["), L(), v === "]")
1097
+ if (_("["), P(), v === "]")
1098
1098
  return _("]"), m;
1099
1099
  for (; v; ) {
1100
- if (m.push(R()), L(), v === "]")
1100
+ if (m.push(R()), P(), v === "]")
1101
1101
  return _("]"), m;
1102
- _(","), L();
1102
+ _(","), P();
1103
1103
  }
1104
1104
  }
1105
- k("Bad array");
1105
+ C("Bad array");
1106
1106
  }, Y = function() {
1107
- var m, C = /* @__PURE__ */ Object.create(null);
1107
+ var m, k = /* @__PURE__ */ Object.create(null);
1108
1108
  if (v === "{") {
1109
- if (_("{"), L(), v === "}")
1110
- return _("}"), C;
1109
+ if (_("{"), P(), v === "}")
1110
+ return _("}"), k;
1111
1111
  for (; v; ) {
1112
- if (m = $(), L(), _(":"), I.strict === !0 && Object.hasOwnProperty.call(C, m) && k('Duplicate key "' + m + '"'), it.test(m) === !0 ? I.protoAction === "error" ? k("Object contains forbidden prototype property") : I.protoAction === "ignore" ? R() : C[m] = R() : st.test(m) === !0 ? I.constructorAction === "error" ? k("Object contains forbidden constructor property") : I.constructorAction === "ignore" ? R() : C[m] = R() : C[m] = R(), L(), v === "}")
1113
- return _("}"), C;
1114
- _(","), L();
1112
+ if (m = $(), P(), _(":"), I.strict === !0 && Object.hasOwnProperty.call(k, m) && C('Duplicate key "' + m + '"'), it.test(m) === !0 ? I.protoAction === "error" ? C("Object contains forbidden prototype property") : I.protoAction === "ignore" ? R() : k[m] = R() : st.test(m) === !0 ? I.constructorAction === "error" ? C("Object contains forbidden constructor property") : I.constructorAction === "ignore" ? R() : k[m] = R() : k[m] = R(), P(), v === "}")
1113
+ return _("}"), k;
1114
+ _(","), P();
1115
1115
  }
1116
1116
  }
1117
- k("Bad object");
1117
+ C("Bad object");
1118
1118
  };
1119
1119
  return R = function() {
1120
- switch (L(), v) {
1120
+ switch (P(), v) {
1121
1121
  case "{":
1122
1122
  return Y();
1123
1123
  case "[":
@@ -1129,41 +1129,44 @@ var ot = function(N) {
1129
1129
  default:
1130
1130
  return v >= "0" && v <= "9" ? X() : U();
1131
1131
  }
1132
- }, function(m, C) {
1132
+ }, function(m, k) {
1133
1133
  var W;
1134
- return F = m + "", P = 0, v = " ", W = R(), L(), v && k("Syntax error"), typeof C == "function" ? function x(ie, he) {
1134
+ return F = m + "", L = 0, v = " ", W = R(), P(), v && C("Syntax error"), typeof k == "function" ? function x(ie, he) {
1135
1135
  var ee, S = ie[he];
1136
1136
  return S && typeof S == "object" && Object.keys(S).forEach(function(B) {
1137
1137
  ee = x(S, B), ee !== void 0 ? S[B] = ee : delete S[B];
1138
- }), C.call(ie, he, S);
1138
+ }), k.call(ie, he, S);
1139
1139
  }({
1140
1140
  "": W
1141
1141
  }, "") : W;
1142
1142
  };
1143
1143
  }, ut = ot, He = nt.stringify, Ge = ut;
1144
- Te.exports = function(N) {
1144
+ Te.exports = function(O) {
1145
1145
  return {
1146
- parse: Ge(N),
1146
+ parse: Ge(O),
1147
1147
  stringify: He
1148
1148
  };
1149
1149
  };
1150
1150
  var ft = Te.exports.parse = Ge(), at = Te.exports.stringify = He;
1151
- function Dt(N, I) {
1152
- return N.find((P) => P.key === I);
1151
+ function Dt(O, I) {
1152
+ return O.find((L) => L.key === I);
1153
1153
  }
1154
- function lt(N) {
1154
+ function kt(O, I) {
1155
+ return O.find((L) => L.key === I);
1156
+ }
1157
+ function lt(O) {
1155
1158
  try {
1156
- const I = typeof N == "string" ? ft(N) : N;
1159
+ const I = typeof O == "string" ? ft(O) : O;
1157
1160
  return at(I, null, 2);
1158
1161
  } catch (I) {
1159
- return console.error("Invalid JSON data:", I), N;
1162
+ return console.error("Invalid JSON data:", I), O;
1160
1163
  }
1161
1164
  }
1162
- function Pe(N) {
1163
- return N ? typeof N == "object" && N !== null ? lt(N) : typeof N == "boolean" || typeof N == "number" || N != null ? N.toString() : "-" : "-";
1165
+ function Pe(O) {
1166
+ return O ? typeof O == "object" && O !== null ? lt(O) : typeof O == "boolean" || typeof O == "number" || O != null ? O.toString() : "-" : "-";
1164
1167
  }
1165
- function ke(N, I) {
1166
- return I.split(".").reduce((P, v) => P == null ? void 0 : P[v], N);
1168
+ function Ce(O, I) {
1169
+ return I.split(".").reduce((L, v) => L == null ? void 0 : L[v], O);
1167
1170
  }
1168
1171
  const ct = /* @__PURE__ */ Re({
1169
1172
  __name: "Ellipsis",
@@ -1174,25 +1177,25 @@ const ct = /* @__PURE__ */ Re({
1174
1177
  default: () => !0
1175
1178
  }
1176
1179
  },
1177
- setup(N) {
1178
- const I = N, P = Ie(null), v = Ve(() => I.open ? P.value ? {
1179
- width: `${P.value.clientWidth}px`,
1180
+ setup(O) {
1181
+ const I = O, L = Ie(null), v = Ve(() => I.open ? L.value ? {
1182
+ width: `${L.value.clientWidth}px`,
1180
1183
  whiteSpace: "nowrap",
1181
1184
  overflow: "hidden",
1182
1185
  textOverflow: "ellipsis"
1183
1186
  } : {} : {}), H = () => {
1184
- if (I.open && P.value) {
1185
- const F = P.value.clientWidth;
1186
- P.value.style.width = `${F}px`;
1187
+ if (I.open && L.value) {
1188
+ const F = L.value.clientWidth;
1189
+ L.value.style.width = `${F}px`;
1187
1190
  }
1188
1191
  };
1189
1192
  return Ye(() => {
1190
1193
  I.open && (H(), window.addEventListener("resize", H));
1191
1194
  }), Je(() => {
1192
1195
  I.open && window.removeEventListener("resize", H);
1193
- }), (F, k) => (ce(), de("div", {
1196
+ }), (F, C) => (ce(), de("div", {
1194
1197
  ref_key: "ellipsisContainer",
1195
- ref: P,
1198
+ ref: L,
1196
1199
  style: be(v.value)
1197
1200
  }, [Fe(F.$slots, "default", {}, void 0, !0)], 4));
1198
1201
  }
@@ -1237,54 +1240,54 @@ const ct = /* @__PURE__ */ Re({
1237
1240
  }
1238
1241
  },
1239
1242
  emits: ["mouseenter", "mouseleave", "pageChange", "pageSizeChange"],
1240
- setup(N, {
1243
+ setup(O, {
1241
1244
  emit: I
1242
1245
  }) {
1243
- const P = Ie(-1), v = I, H = (L) => {
1244
- console.log(L, "currentPage"), v("pageChange", L);
1245
- }, F = (L) => {
1246
- console.log(L, "pageSize"), v("pageSizeChange", L);
1247
- }, k = N;
1248
- function _(L) {
1246
+ const L = Ie(-1), v = I, H = (P) => {
1247
+ v("pageChange", P);
1248
+ }, F = (P) => {
1249
+ v("pageSizeChange", P);
1250
+ }, C = O;
1251
+ function _(P) {
1249
1252
  const U = Ze();
1250
- return L ? !!U[L] : !1;
1253
+ return P ? !!U[P] : !1;
1251
1254
  }
1252
- function X(L) {
1253
- P.value = L, v("mouseenter", L);
1255
+ function X(P) {
1256
+ L.value = P, v("mouseenter", P);
1254
1257
  }
1255
- function $(L) {
1256
- P.value = -1, v("mouseleave", L);
1258
+ function $(P) {
1259
+ L.value = -1, v("mouseleave", P);
1257
1260
  }
1258
- return (L, U) => (ce(), de("div", pt, [Le(me(Qe), {
1259
- loading: k.loading,
1261
+ return (P, U) => (ce(), de("div", pt, [Le(me(Qe), {
1262
+ loading: C.loading,
1260
1263
  tip: "数据加载中"
1261
1264
  }, {
1262
1265
  default: Ee(() => {
1263
1266
  var R;
1264
- return [ye("div", dt, [ye("table", null, [ye("thead", null, [ye("tr", gt, [(ce(!0), de($e, null, Me(k.columns, (M, Y) => (ce(), de("th", {
1267
+ return [ye("div", dt, [ye("table", null, [ye("thead", null, [ye("tr", gt, [(ce(!0), de($e, null, Me(C.columns, (M, Y) => (ce(), de("th", {
1265
1268
  key: Y,
1266
1269
  class: Be({
1267
1270
  fixed: M.fixed,
1268
1271
  fixedBackground: M.fixed,
1269
- lastBorder: Y === k.columns.length - 1
1272
+ lastBorder: Y === C.columns.length - 1
1270
1273
  }),
1271
1274
  style: be({
1272
1275
  minWidth: `${M.minWidth}px`,
1273
1276
  width: `${M.width}px`
1274
1277
  })
1275
- }, De(M.title), 7))), 128))])]), ye("tbody", null, [(ce(!0), de($e, null, Me(k.data, (M, Y) => (ce(), de("tr", {
1278
+ }, De(M.title), 7))), 128))])]), ye("tbody", null, [(ce(!0), de($e, null, Me(C.data, (M, Y) => (ce(), de("tr", {
1276
1279
  key: Y,
1277
1280
  class: Be(["tableRow", {
1278
- trListHover: Y === P.value
1281
+ trListHover: Y === L.value
1279
1282
  }]),
1280
1283
  onMouseenter: (m) => X(Y),
1281
1284
  onMouseleave: (m) => $(Y)
1282
- }, [(ce(!0), de($e, null, Me(k.columns, (m, C) => (ce(), de("td", {
1283
- key: C,
1285
+ }, [(ce(!0), de($e, null, Me(C.columns, (m, k) => (ce(), de("td", {
1286
+ key: k,
1284
1287
  class: Be({
1285
1288
  fixed: m.fixed,
1286
- trListHover: Y === P.value,
1287
- lastBorder: C === k.columns.length - 1
1289
+ trListHover: Y === L.value,
1290
+ lastBorder: k === C.columns.length - 1
1288
1291
  }),
1289
1292
  style: be({
1290
1293
  minWidth: `${m.minWidth}px`,
@@ -1293,35 +1296,35 @@ const ct = /* @__PURE__ */ Re({
1293
1296
  }, [Le(ht, {
1294
1297
  open: m.ellipsis
1295
1298
  }, {
1296
- default: Ee(() => [_(m.slotName) ? Fe(L.$slots, m.slotName, {
1299
+ default: Ee(() => [_(m.slotName) ? Fe(P.$slots, m.slotName, {
1297
1300
  key: 0,
1298
1301
  record: M
1299
1302
  }, void 0, !0) : (ce(), de($e, {
1300
1303
  key: 1
1301
1304
  }, [m.dataIndex ? (ce(), de($e, {
1302
1305
  key: 0
1303
- }, [m.tooltip ? (ce(), Ce(me(Ke), {
1306
+ }, [m.tooltip ? (ce(), ke(me(Ke), {
1304
1307
  key: 0,
1305
- content: me(Pe)(me(ke)(M, m.dataIndex)),
1308
+ content: me(Pe)(me(Ce)(M, m.dataIndex)),
1306
1309
  position: "bottom"
1307
1310
  }, {
1308
- default: Ee(() => [ye("span", null, De(me(ke)(M, m.dataIndex)), 1)]),
1311
+ default: Ee(() => [ye("span", null, De(me(Ce)(M, m.dataIndex)), 1)]),
1309
1312
  _: 2
1310
1313
  }, 1032, ["content"])) : (ce(), de($e, {
1311
1314
  key: 1
1312
- }, [Xe(De(me(Pe)(me(ke)(M, m.dataIndex))), 1)], 64))], 64)) : Se("", !0)], 64))]),
1315
+ }, [Xe(De(me(Pe)(me(Ce)(M, m.dataIndex))), 1)], 64))], 64)) : Se("", !0)], 64))]),
1313
1316
  _: 2
1314
- }, 1032, ["open"])], 6))), 128))], 42, wt))), 128))])]), k.data.length === 0 ? (ce(), de("div", vt, [k.data.length === 0 ? (ce(), Ce(me(et), {
1317
+ }, 1032, ["open"])], 6))), 128))], 42, wt))), 128))])]), C.data.length === 0 ? (ce(), de("div", vt, [C.data.length === 0 ? (ce(), ke(me(et), {
1315
1318
  key: 0
1316
- })) : Se("", !0)])) : Se("", !0)]), ye("div", mt, [k.pagination ? (ce(), Ce(me(tt), {
1319
+ })) : Se("", !0)])) : Se("", !0)]), ye("div", mt, [C.pagination ? (ce(), ke(me(tt), {
1317
1320
  key: 0,
1318
- modelValue: k.pagination.current,
1319
- "onUpdate:modelValue": U[0] || (U[0] = (M) => k.pagination.current = M),
1320
- total: ((R = k.pagination) == null ? void 0 : R.total) || 0,
1321
- "page-size": N.pagination.pageSize,
1322
- "show-total": N.pagination.showTotal,
1323
- "show-jumper": N.pagination.showJumper,
1324
- "show-page-size": N.pagination.showPageSize,
1321
+ modelValue: C.pagination.current,
1322
+ "onUpdate:modelValue": U[0] || (U[0] = (M) => C.pagination.current = M),
1323
+ total: ((R = C.pagination) == null ? void 0 : R.total) || 0,
1324
+ "page-size": O.pagination.pageSize,
1325
+ "show-total": O.pagination.showTotal,
1326
+ "show-jumper": O.pagination.showJumper,
1327
+ "show-page-size": O.pagination.showPageSize,
1325
1328
  onChange: H,
1326
1329
  onPageSizeChange: F
1327
1330
  }, null, 8, ["modelValue", "total", "page-size", "show-total", "show-jumper", "show-page-size"])) : Se("", !0)])];
@@ -1329,9 +1332,10 @@ const ct = /* @__PURE__ */ Re({
1329
1332
  _: 3
1330
1333
  }, 8, ["loading"])]));
1331
1334
  }
1332
- }), Ct = /* @__PURE__ */ je(yt, [["__scopeId", "data-v-a797607a"]]);
1335
+ }), Ct = /* @__PURE__ */ je(yt, [["__scopeId", "data-v-aab4dbd5"]]);
1333
1336
  export {
1334
1337
  Ct as C,
1335
1338
  ht as E,
1336
- Dt as f
1339
+ Dt as a,
1340
+ kt as f
1337
1341
  };