varsnap 1.8.4 → 1.8.5

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.
package/dist/varsnap.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Varsnap.js v1.8.4
2
+ * Varsnap.js v1.8.5
3
3
  */
4
4
  (function(exports) {
5
5
  !function(t) {
@@ -19,7 +19,7 @@
19
19
  function n(t, e, r) {
20
20
  if ("number" == typeof t) {
21
21
  if ("string" == typeof e) throw new TypeError('The "string" argument must be of type string. Received type number');
22
- return s(t);
22
+ return a(t);
23
23
  }
24
24
  return o(t, e, r);
25
25
  }
@@ -27,12 +27,12 @@
27
27
  if ("string" == typeof e) return function(e, r) {
28
28
  if ("string" == typeof r && "" !== r || (r = "utf8"),
29
29
  !n.isEncoding(r)) throw new TypeError("Unknown encoding: " + r);
30
- var o = 0 | f(e, r), i = t(o), s = i.write(e, r);
31
- return s !== o && (i = i.slice(0, s)), i;
30
+ var o = 0 | f(e, r), i = t(o), a = i.write(e, r);
31
+ return a !== o && (i = i.slice(0, a)), i;
32
32
  }(e, r);
33
- if (ArrayBuffer.isView(e)) return a(e);
33
+ if (ArrayBuffer.isView(e)) return s(e);
34
34
  if (null == e) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
35
- if (L(e, ArrayBuffer) || e && L(e.buffer, ArrayBuffer)) return function(t, e, r) {
35
+ if (I(e, ArrayBuffer) || e && I(e.buffer, ArrayBuffer)) return function(t, e, r) {
36
36
  if (e < 0 || t.byteLength < e) throw new RangeError('"offset" is outside of buffer bounds');
37
37
  if (t.byteLength < e + (r || 0)) throw new RangeError('"length" is outside of buffer bounds');
38
38
  var o;
@@ -42,14 +42,14 @@
42
42
  if ("number" == typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number');
43
43
  var i = e.valueOf && e.valueOf();
44
44
  if (null != i && i !== e) return n.from(i, r, o);
45
- var s = function(e) {
45
+ var a = function(e) {
46
46
  if (n.isBuffer(e)) {
47
47
  var r = 0 | u(e.length), o = t(r);
48
48
  return 0 === o.length || e.copy(o, 0, 0, r), o;
49
49
  }
50
- return void 0 !== e.length ? "number" != typeof e.length || I(e.length) ? t(0) : a(e) : "Buffer" === e.type && Array.isArray(e.data) ? a(e.data) : void 0;
50
+ return void 0 !== e.length ? "number" != typeof e.length || D(e.length) ? t(0) : s(e) : "Buffer" === e.type && Array.isArray(e.data) ? s(e.data) : void 0;
51
51
  }(e);
52
- if (s) return s;
52
+ if (a) return a;
53
53
  if ("undefined" != typeof Symbol && null != Symbol.toPrimitive && "function" == typeof e[Symbol.toPrimitive]) return n.from(e[Symbol.toPrimitive]("string"), r, o);
54
54
  throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
55
55
  }
@@ -57,10 +57,10 @@
57
57
  if ("number" != typeof t) throw new TypeError('"size" argument must be of type number');
58
58
  if (t < 0) throw new RangeError('The value "' + t + '" is invalid for option "size"');
59
59
  }
60
- function s(e) {
60
+ function a(e) {
61
61
  return i(e), t(e < 0 ? 0 : 0 | u(e));
62
62
  }
63
- function a(e) {
63
+ function s(e) {
64
64
  for (var r = e.length < 0 ? 0 : 0 | u(e.length), n = t(r), o = 0; o < r; o += 1) n[o] = 255 & e[o];
65
65
  return n;
66
66
  }
@@ -70,7 +70,7 @@
70
70
  }
71
71
  function f(t, e) {
72
72
  if (n.isBuffer(t)) return t.length;
73
- if (ArrayBuffer.isView(t) || L(t, ArrayBuffer)) return t.byteLength;
73
+ if (ArrayBuffer.isView(t) || I(t, ArrayBuffer)) return t.byteLength;
74
74
  if ("string" != typeof t) throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof t);
75
75
  var r = t.length, o = arguments.length > 2 && !0 === arguments[2];
76
76
  if (!o && 0 === r) return 0;
@@ -82,7 +82,7 @@
82
82
 
83
83
  case "utf8":
84
84
  case "utf-8":
85
- return x(t).length;
85
+ return P(t).length;
86
86
 
87
87
  case "ucs2":
88
88
  case "ucs-2":
@@ -94,21 +94,56 @@
94
94
  return r >>> 1;
95
95
 
96
96
  case "base64":
97
- return P(t).length;
97
+ return N(t).length;
98
98
 
99
99
  default:
100
- if (i) return o ? -1 : x(t).length;
100
+ if (i) return o ? -1 : P(t).length;
101
101
  e = ("" + e).toLowerCase(), i = !0;
102
102
  }
103
103
  }
104
104
  function c(t, e, r) {
105
+ var n = !1;
106
+ if ((void 0 === e || e < 0) && (e = 0), e > this.length) return "";
107
+ if ((void 0 === r || r > this.length) && (r = this.length),
108
+ r <= 0) return "";
109
+ if ((r >>>= 0) <= (e >>>= 0)) return "";
110
+ for (t || (t = "utf8"); ;) switch (t) {
111
+ case "hex":
112
+ return _(this, e, r);
113
+
114
+ case "utf8":
115
+ case "utf-8":
116
+ return E(this, e, r);
117
+
118
+ case "ascii":
119
+ return T(this, e, r);
120
+
121
+ case "latin1":
122
+ case "binary":
123
+ return S(this, e, r);
124
+
125
+ case "base64":
126
+ return b(this, e, r);
127
+
128
+ case "ucs2":
129
+ case "ucs-2":
130
+ case "utf16le":
131
+ case "utf-16le":
132
+ return R(this, e, r);
133
+
134
+ default:
135
+ if (n) throw new TypeError("Unknown encoding: " + t);
136
+ t = (t + "").toLowerCase(), n = !0;
137
+ }
138
+ }
139
+ function l(t, e, r) {
105
140
  var n = t[e];
106
141
  t[e] = t[r], t[r] = n;
107
142
  }
108
- function l(t, e, r, o, i) {
143
+ function h(t, e, r, o, i) {
109
144
  if (0 === t.length) return -1;
110
145
  if ("string" == typeof r ? (o = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648),
111
- I(r = +r) && (r = i ? 0 : t.length - 1), r < 0 && (r = t.length + r),
146
+ D(r = +r) && (r = i ? 0 : t.length - 1), r < 0 && (r = t.length + r),
112
147
  r >= t.length) {
113
148
  if (i) return -1;
114
149
  r = t.length - 1;
@@ -116,25 +151,25 @@
116
151
  if (!i) return -1;
117
152
  r = 0;
118
153
  }
119
- if ("string" == typeof e && (e = n.from(e, o)), n.isBuffer(e)) return 0 === e.length ? -1 : h(t, e, r, o, i);
120
- if ("number" == typeof e) return e &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : h(t, [ e ], r, o, i);
154
+ if ("string" == typeof e && (e = n.from(e, o)), n.isBuffer(e)) return 0 === e.length ? -1 : p(t, e, r, o, i);
155
+ if ("number" == typeof e) return e &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : p(t, [ e ], r, o, i);
121
156
  throw new TypeError("val must be string, number or Buffer");
122
157
  }
123
- function h(t, e, r, n, o) {
124
- var i, s = 1, a = t.length, u = e.length;
158
+ function p(t, e, r, n, o) {
159
+ var i, a = 1, s = t.length, u = e.length;
125
160
  if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
126
161
  if (t.length < 2 || e.length < 2) return -1;
127
- s = 2, a /= 2, u /= 2, r /= 2;
162
+ a = 2, s /= 2, u /= 2, r /= 2;
128
163
  }
129
164
  function f(t, e) {
130
- return 1 === s ? t[e] : t.readUInt16BE(e * s);
165
+ return 1 === a ? t[e] : t.readUInt16BE(e * a);
131
166
  }
132
167
  if (o) {
133
168
  var c = -1;
134
- for (i = r; i < a; i++) if (f(t, i) === f(e, -1 === c ? 0 : i - c)) {
135
- if (-1 === c && (c = i), i - c + 1 === u) return c * s;
169
+ for (i = r; i < s; i++) if (f(t, i) === f(e, -1 === c ? 0 : i - c)) {
170
+ if (-1 === c && (c = i), i - c + 1 === u) return c * a;
136
171
  } else -1 !== c && (i -= i - c), c = -1;
137
- } else for (r + u > a && (r = a - u), i = r; i >= 0; i--) {
172
+ } else for (r + u > s && (r = s - u), i = r; i >= 0; i--) {
138
173
  for (var l = !0, h = 0; h < u; h++) if (f(t, i + h) !== f(e, h)) {
139
174
  l = !1;
140
175
  break;
@@ -143,48 +178,48 @@
143
178
  }
144
179
  return -1;
145
180
  }
146
- function p(t, e, r, n) {
181
+ function d(t, e, r, n) {
147
182
  r = Number(r) || 0;
148
183
  var o = t.length - r;
149
184
  n ? (n = Number(n)) > o && (n = o) : n = o;
150
185
  var i = e.length;
151
186
  n > i / 2 && (n = i / 2);
152
- for (var s = 0; s < n; ++s) {
153
- var a = parseInt(e.substr(2 * s, 2), 16);
154
- if (I(a)) return s;
155
- t[r + s] = a;
187
+ for (var a = 0; a < n; ++a) {
188
+ var s = parseInt(e.substr(2 * a, 2), 16);
189
+ if (D(s)) return a;
190
+ t[r + a] = s;
156
191
  }
157
- return s;
158
- }
159
- function d(t, e, r, n) {
160
- return N(x(e, t.length - r), t, r, n);
192
+ return a;
161
193
  }
162
194
  function g(t, e, r, n) {
163
- return N(function(t) {
195
+ return L(P(e, t.length - r), t, r, n);
196
+ }
197
+ function y(t, e, r, n) {
198
+ return L(function(t) {
164
199
  for (var e = [], r = 0; r < t.length; ++r) e.push(255 & t.charCodeAt(r));
165
200
  return e;
166
201
  }(e), t, r, n);
167
202
  }
168
- function y(t, e, r, n) {
169
- return g(t, e, r, n);
170
- }
171
203
  function v(t, e, r, n) {
172
- return N(P(e), t, r, n);
204
+ return y(t, e, r, n);
173
205
  }
174
206
  function m(t, e, r, n) {
175
- return N(function(t, e) {
176
- for (var r, n, o, i = [], s = 0; s < t.length && !((e -= 2) < 0); ++s) n = (r = t.charCodeAt(s)) >> 8,
207
+ return L(N(e), t, r, n);
208
+ }
209
+ function w(t, e, r, n) {
210
+ return L(function(t, e) {
211
+ for (var r, n, o, i = [], a = 0; a < t.length && !((e -= 2) < 0); ++a) n = (r = t.charCodeAt(a)) >> 8,
177
212
  o = r % 256, i.push(o), i.push(n);
178
213
  return i;
179
214
  }(e, t.length - r), t, r, n);
180
215
  }
181
- function w(t, e, r) {
182
- return 0 === e && r === t.length ? j.fromByteArray(t) : j.fromByteArray(t.slice(e, r));
183
- }
184
216
  function b(t, e, r) {
217
+ return 0 === e && r === t.length ? x.fromByteArray(t) : x.fromByteArray(t.slice(e, r));
218
+ }
219
+ function E(t, e, r) {
185
220
  r = Math.min(t.length, r);
186
221
  for (var n = [], o = e; o < r; ) {
187
- var i, s, a, u, f = t[o], c = null, l = f > 239 ? 4 : f > 223 ? 3 : f > 191 ? 2 : 1;
222
+ var i, a, s, u, f = t[o], c = null, l = f > 239 ? 4 : f > 223 ? 3 : f > 191 ? 2 : 1;
188
223
  if (o + l <= r) switch (l) {
189
224
  case 1:
190
225
  f < 128 && (c = f);
@@ -195,11 +230,11 @@
195
230
  break;
196
231
 
197
232
  case 3:
198
- i = t[o + 1], s = t[o + 2], 128 == (192 & i) && 128 == (192 & s) && (u = (15 & f) << 12 | (63 & i) << 6 | 63 & s) > 2047 && (u < 55296 || u > 57343) && (c = u);
233
+ i = t[o + 1], a = t[o + 2], 128 == (192 & i) && 128 == (192 & a) && (u = (15 & f) << 12 | (63 & i) << 6 | 63 & a) > 2047 && (u < 55296 || u > 57343) && (c = u);
199
234
  break;
200
235
 
201
236
  case 4:
202
- i = t[o + 1], s = t[o + 2], a = t[o + 3], 128 == (192 & i) && 128 == (192 & s) && 128 == (192 & a) && (u = (15 & f) << 18 | (63 & i) << 12 | (63 & s) << 6 | 63 & a) > 65535 && u < 1114112 && (c = u);
237
+ i = t[o + 1], a = t[o + 2], s = t[o + 3], 128 == (192 & i) && 128 == (192 & a) && 128 == (192 & s) && (u = (15 & f) << 18 | (63 & i) << 12 | (63 & a) << 6 | 63 & s) > 65535 && u < 1114112 && (c = u);
203
238
  }
204
239
  null === c ? (c = 65533, l = 1) : c > 65535 && (c -= 65536,
205
240
  n.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c),
@@ -207,8 +242,8 @@
207
242
  }
208
243
  return function(t) {
209
244
  var e = t.length;
210
- if (e <= E) return String.fromCharCode.apply(String, t);
211
- for (var r = "", n = 0; n < e; ) r += String.fromCharCode.apply(String, t.slice(n, n += E));
245
+ if (e <= A) return String.fromCharCode.apply(String, t);
246
+ for (var r = "", n = 0; n < e; ) r += String.fromCharCode.apply(String, t.slice(n, n += A));
212
247
  return r;
213
248
  }(n);
214
249
  }
@@ -248,17 +283,17 @@
248
283
  return i(e), e <= 0 ? t(e) : void 0 !== r ? "string" == typeof n ? t(e).fill(r, n) : t(e).fill(r) : t(e);
249
284
  }(e, r, n);
250
285
  }, n.allocUnsafe = function(t) {
251
- return s(t);
286
+ return a(t);
252
287
  }, n.allocUnsafeSlow = function(t) {
253
- return s(t);
288
+ return a(t);
254
289
  }, n.isBuffer = function(t) {
255
290
  return null != t && !0 === t._isBuffer && t !== n.prototype;
256
291
  }, n.compare = function(t, e) {
257
- if (L(t, Uint8Array) && (t = n.from(t, t.offset, t.byteLength)),
258
- L(e, Uint8Array) && (e = n.from(e, e.offset, e.byteLength)),
292
+ if (I(t, Uint8Array) && (t = n.from(t, t.offset, t.byteLength)),
293
+ I(e, Uint8Array) && (e = n.from(e, e.offset, e.byteLength)),
259
294
  !n.isBuffer(t) || !n.isBuffer(e)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');
260
295
  if (t === e) return 0;
261
- for (var r = t.length, o = e.length, i = 0, s = Math.min(r, o); i < s; ++i) if (t[i] !== e[i]) {
296
+ for (var r = t.length, o = e.length, i = 0, a = Math.min(r, o); i < a; ++i) if (t[i] !== e[i]) {
262
297
  r = t[i], o = e[i];
263
298
  break;
264
299
  }
@@ -288,64 +323,30 @@
288
323
  if (void 0 === e) for (e = 0, r = 0; r < t.length; ++r) e += t[r].length;
289
324
  var o = n.allocUnsafe(e), i = 0;
290
325
  for (r = 0; r < t.length; ++r) {
291
- var s = t[r];
292
- if (L(s, Uint8Array) && (s = n.from(s)), !n.isBuffer(s)) throw new TypeError('"list" argument must be an Array of Buffers');
293
- s.copy(o, i), i += s.length;
326
+ var a = t[r];
327
+ if (I(a, Uint8Array) && (a = n.from(a)), !n.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers');
328
+ a.copy(o, i), i += a.length;
294
329
  }
295
330
  return o;
296
331
  }, n.byteLength = f, n.prototype._isBuffer = !0, n.prototype.swap16 = function() {
297
332
  var t = this.length;
298
333
  if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
299
- for (var e = 0; e < t; e += 2) c(this, e, e + 1);
334
+ for (var e = 0; e < t; e += 2) l(this, e, e + 1);
300
335
  return this;
301
336
  }, n.prototype.swap32 = function() {
302
337
  var t = this.length;
303
338
  if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
304
- for (var e = 0; e < t; e += 4) c(this, e, e + 3), c(this, e + 1, e + 2);
339
+ for (var e = 0; e < t; e += 4) l(this, e, e + 3), l(this, e + 1, e + 2);
305
340
  return this;
306
341
  }, n.prototype.swap64 = function() {
307
342
  var t = this.length;
308
343
  if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
309
- for (var e = 0; e < t; e += 8) c(this, e, e + 7), c(this, e + 1, e + 6),
310
- c(this, e + 2, e + 5), c(this, e + 3, e + 4);
344
+ for (var e = 0; e < t; e += 8) l(this, e, e + 7), l(this, e + 1, e + 6),
345
+ l(this, e + 2, e + 5), l(this, e + 3, e + 4);
311
346
  return this;
312
347
  }, n.prototype.toString = function() {
313
348
  var t = this.length;
314
- return 0 === t ? "" : 0 === arguments.length ? b(this, 0, t) : function(t, e, r) {
315
- var n = !1;
316
- if ((void 0 === e || e < 0) && (e = 0), e > this.length) return "";
317
- if ((void 0 === r || r > this.length) && (r = this.length),
318
- r <= 0) return "";
319
- if ((r >>>= 0) <= (e >>>= 0)) return "";
320
- for (t || (t = "utf8"); ;) switch (t) {
321
- case "hex":
322
- return S(this, e, r);
323
-
324
- case "utf8":
325
- case "utf-8":
326
- return b(this, e, r);
327
-
328
- case "ascii":
329
- return A(this, e, r);
330
-
331
- case "latin1":
332
- case "binary":
333
- return T(this, e, r);
334
-
335
- case "base64":
336
- return w(this, e, r);
337
-
338
- case "ucs2":
339
- case "ucs-2":
340
- case "utf16le":
341
- case "utf-16le":
342
- return _(this, e, r);
343
-
344
- default:
345
- if (n) throw new TypeError("Unknown encoding: " + t);
346
- t = (t + "").toLowerCase(), n = !0;
347
- }
348
- }.apply(this, arguments);
349
+ return 0 === t ? "" : 0 === arguments.length ? E(this, 0, t) : c.apply(this, arguments);
349
350
  }, n.prototype.toLocaleString = n.prototype.toString, n.prototype.equals = function(t) {
350
351
  if (!n.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
351
352
  return this === t || 0 === n.compare(this, t);
@@ -354,7 +355,7 @@
354
355
  return t = this.toString("hex", 0, e).replace(/(.{2})/g, "$1 ").trim(),
355
356
  this.length > e && (t += " ... "), "<Buffer " + t + ">";
356
357
  }, n.prototype.compare = function(t, e, r, o, i) {
357
- if (L(t, Uint8Array) && (t = n.from(t, t.offset, t.byteLength)),
358
+ if (I(t, Uint8Array) && (t = n.from(t, t.offset, t.byteLength)),
358
359
  !n.isBuffer(t)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof t);
359
360
  if (void 0 === e && (e = 0), void 0 === r && (r = t ? t.length : 0),
360
361
  void 0 === o && (o = 0), void 0 === i && (i = this.length),
@@ -363,17 +364,17 @@
363
364
  if (o >= i) return -1;
364
365
  if (e >= r) return 1;
365
366
  if (this === t) return 0;
366
- for (var s = (i >>>= 0) - (o >>>= 0), a = (r >>>= 0) - (e >>>= 0), u = Math.min(s, a), f = this.slice(o, i), c = t.slice(e, r), l = 0; l < u; ++l) if (f[l] !== c[l]) {
367
- s = f[l], a = c[l];
367
+ for (var a = (i >>>= 0) - (o >>>= 0), s = (r >>>= 0) - (e >>>= 0), u = Math.min(a, s), f = this.slice(o, i), c = t.slice(e, r), l = 0; l < u; ++l) if (f[l] !== c[l]) {
368
+ a = f[l], s = c[l];
368
369
  break;
369
370
  }
370
- return s < a ? -1 : a < s ? 1 : 0;
371
+ return a < s ? -1 : s < a ? 1 : 0;
371
372
  }, n.prototype.includes = function(t, e, r) {
372
373
  return -1 !== this.indexOf(t, e, r);
373
374
  }, n.prototype.indexOf = function(t, e, r) {
374
- return l(this, t, e, r, !0);
375
+ return h(this, t, e, r, !0);
375
376
  }, n.prototype.lastIndexOf = function(t, e, r) {
376
- return l(this, t, e, r, !1);
377
+ return h(this, t, e, r, !1);
377
378
  }, n.prototype.write = function(t, e, r, n) {
378
379
  if (void 0 === e) n = "utf8", r = this.length, e = 0; else if (void 0 === r && "string" == typeof e) n = e,
379
380
  r = this.length, e = 0; else {
@@ -386,27 +387,27 @@
386
387
  n || (n = "utf8");
387
388
  for (var i = !1; ;) switch (n) {
388
389
  case "hex":
389
- return p(this, t, e, r);
390
+ return d(this, t, e, r);
390
391
 
391
392
  case "utf8":
392
393
  case "utf-8":
393
- return d(this, t, e, r);
394
+ return g(this, t, e, r);
394
395
 
395
396
  case "ascii":
396
- return g(this, t, e, r);
397
+ return y(this, t, e, r);
397
398
 
398
399
  case "latin1":
399
400
  case "binary":
400
- return y(this, t, e, r);
401
+ return v(this, t, e, r);
401
402
 
402
403
  case "base64":
403
- return v(this, t, e, r);
404
+ return m(this, t, e, r);
404
405
 
405
406
  case "ucs2":
406
407
  case "ucs-2":
407
408
  case "utf16le":
408
409
  case "utf-16le":
409
- return m(this, t, e, r);
410
+ return w(this, t, e, r);
410
411
 
411
412
  default:
412
413
  if (i) throw new TypeError("Unknown encoding: " + n);
@@ -418,48 +419,48 @@
418
419
  data: Array.prototype.slice.call(this._arr || this, 0)
419
420
  };
420
421
  };
421
- var E = 4096;
422
- function A(t, e, r) {
422
+ var A = 4096;
423
+ function T(t, e, r) {
423
424
  var n = "";
424
425
  r = Math.min(t.length, r);
425
426
  for (var o = e; o < r; ++o) n += String.fromCharCode(127 & t[o]);
426
427
  return n;
427
428
  }
428
- function T(t, e, r) {
429
+ function S(t, e, r) {
429
430
  var n = "";
430
431
  r = Math.min(t.length, r);
431
432
  for (var o = e; o < r; ++o) n += String.fromCharCode(t[o]);
432
433
  return n;
433
434
  }
434
- function S(t, e, r) {
435
+ function _(t, e, r) {
435
436
  var n, o = t.length;
436
437
  (!e || e < 0) && (e = 0), (!r || r < 0 || r > o) && (r = o);
437
- for (var i = "", s = e; s < r; ++s) i += (n = t[s]) < 16 ? "0" + n.toString(16) : n.toString(16);
438
+ for (var i = "", a = e; a < r; ++a) i += (n = t[a]) < 16 ? "0" + n.toString(16) : n.toString(16);
438
439
  return i;
439
440
  }
440
- function _(t, e, r) {
441
+ function R(t, e, r) {
441
442
  for (var n = t.slice(e, r), o = "", i = 0; i < n.length; i += 2) o += String.fromCharCode(n[i] + 256 * n[i + 1]);
442
443
  return o;
443
444
  }
444
- function R(t, e, r) {
445
+ function O(t, e, r) {
445
446
  if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint");
446
447
  if (t + e > r) throw new RangeError("Trying to access beyond buffer length");
447
448
  }
448
- function O(t, e, r, o, i, s) {
449
+ function C(t, e, r, o, i, a) {
449
450
  if (!n.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance');
450
- if (e > i || e < s) throw new RangeError('"value" argument is out of bounds');
451
+ if (e > i || e < a) throw new RangeError('"value" argument is out of bounds');
451
452
  if (r + o > t.length) throw new RangeError("Index out of range");
452
453
  }
453
- function C(t, e, r, n, o, i) {
454
+ function B(t, e, r, n, o, i) {
454
455
  if (r + n > t.length) throw new RangeError("Index out of range");
455
456
  if (r < 0) throw new RangeError("Index out of range");
456
457
  }
457
- function B(t, e, r, n, o) {
458
- return e = +e, r >>>= 0, o || C(t, 0, r, 4), q.write(t, e, r, n, 23, 4),
458
+ function U(t, e, r, n, o) {
459
+ return e = +e, r >>>= 0, o || B(t, 0, r, 4), q.write(t, e, r, n, 23, 4),
459
460
  r + 4;
460
461
  }
461
- function U(t, e, r, n, o) {
462
- return e = +e, r >>>= 0, o || C(t, 0, r, 8), q.write(t, e, r, n, 52, 8),
462
+ function k(t, e, r, n, o) {
463
+ return e = +e, r >>>= 0, o || B(t, 0, r, 8), q.write(t, e, r, n, 52, 8),
463
464
  r + 8;
464
465
  }
465
466
  n.prototype.slice = function(t, e) {
@@ -470,123 +471,123 @@
470
471
  var o = this.subarray(t, e);
471
472
  return o.__proto__ = n.prototype, o;
472
473
  }, n.prototype.readUIntLE = function(t, e, r) {
473
- t >>>= 0, e >>>= 0, r || R(t, e, this.length);
474
+ t >>>= 0, e >>>= 0, r || O(t, e, this.length);
474
475
  for (var n = this[t], o = 1, i = 0; ++i < e && (o *= 256); ) n += this[t + i] * o;
475
476
  return n;
476
477
  }, n.prototype.readUIntBE = function(t, e, r) {
477
- t >>>= 0, e >>>= 0, r || R(t, e, this.length);
478
+ t >>>= 0, e >>>= 0, r || O(t, e, this.length);
478
479
  for (var n = this[t + --e], o = 1; e > 0 && (o *= 256); ) n += this[t + --e] * o;
479
480
  return n;
480
481
  }, n.prototype.readUInt8 = function(t, e) {
481
- return t >>>= 0, e || R(t, 1, this.length), this[t];
482
+ return t >>>= 0, e || O(t, 1, this.length), this[t];
482
483
  }, n.prototype.readUInt16LE = function(t, e) {
483
- return t >>>= 0, e || R(t, 2, this.length), this[t] | this[t + 1] << 8;
484
+ return t >>>= 0, e || O(t, 2, this.length), this[t] | this[t + 1] << 8;
484
485
  }, n.prototype.readUInt16BE = function(t, e) {
485
- return t >>>= 0, e || R(t, 2, this.length), this[t] << 8 | this[t + 1];
486
+ return t >>>= 0, e || O(t, 2, this.length), this[t] << 8 | this[t + 1];
486
487
  }, n.prototype.readUInt32LE = function(t, e) {
487
- return t >>>= 0, e || R(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3];
488
+ return t >>>= 0, e || O(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3];
488
489
  }, n.prototype.readUInt32BE = function(t, e) {
489
- return t >>>= 0, e || R(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
490
+ return t >>>= 0, e || O(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
490
491
  }, n.prototype.readIntLE = function(t, e, r) {
491
- t >>>= 0, e >>>= 0, r || R(t, e, this.length);
492
+ t >>>= 0, e >>>= 0, r || O(t, e, this.length);
492
493
  for (var n = this[t], o = 1, i = 0; ++i < e && (o *= 256); ) n += this[t + i] * o;
493
494
  return n >= (o *= 128) && (n -= Math.pow(2, 8 * e)), n;
494
495
  }, n.prototype.readIntBE = function(t, e, r) {
495
- t >>>= 0, e >>>= 0, r || R(t, e, this.length);
496
+ t >>>= 0, e >>>= 0, r || O(t, e, this.length);
496
497
  for (var n = e, o = 1, i = this[t + --n]; n > 0 && (o *= 256); ) i += this[t + --n] * o;
497
498
  return i >= (o *= 128) && (i -= Math.pow(2, 8 * e)), i;
498
499
  }, n.prototype.readInt8 = function(t, e) {
499
- return t >>>= 0, e || R(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];
500
+ return t >>>= 0, e || O(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];
500
501
  }, n.prototype.readInt16LE = function(t, e) {
501
- t >>>= 0, e || R(t, 2, this.length);
502
+ t >>>= 0, e || O(t, 2, this.length);
502
503
  var r = this[t] | this[t + 1] << 8;
503
504
  return 32768 & r ? 4294901760 | r : r;
504
505
  }, n.prototype.readInt16BE = function(t, e) {
505
- t >>>= 0, e || R(t, 2, this.length);
506
+ t >>>= 0, e || O(t, 2, this.length);
506
507
  var r = this[t + 1] | this[t] << 8;
507
508
  return 32768 & r ? 4294901760 | r : r;
508
509
  }, n.prototype.readInt32LE = function(t, e) {
509
- return t >>>= 0, e || R(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
510
+ return t >>>= 0, e || O(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
510
511
  }, n.prototype.readInt32BE = function(t, e) {
511
- return t >>>= 0, e || R(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
512
+ return t >>>= 0, e || O(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
512
513
  }, n.prototype.readFloatLE = function(t, e) {
513
- return t >>>= 0, e || R(t, 4, this.length), q.read(this, t, !0, 23, 4);
514
+ return t >>>= 0, e || O(t, 4, this.length), q.read(this, t, !0, 23, 4);
514
515
  }, n.prototype.readFloatBE = function(t, e) {
515
- return t >>>= 0, e || R(t, 4, this.length), q.read(this, t, !1, 23, 4);
516
+ return t >>>= 0, e || O(t, 4, this.length), q.read(this, t, !1, 23, 4);
516
517
  }, n.prototype.readDoubleLE = function(t, e) {
517
- return t >>>= 0, e || R(t, 8, this.length), q.read(this, t, !0, 52, 8);
518
+ return t >>>= 0, e || O(t, 8, this.length), q.read(this, t, !0, 52, 8);
518
519
  }, n.prototype.readDoubleBE = function(t, e) {
519
- return t >>>= 0, e || R(t, 8, this.length), q.read(this, t, !1, 52, 8);
520
+ return t >>>= 0, e || O(t, 8, this.length), q.read(this, t, !1, 52, 8);
520
521
  }, n.prototype.writeUIntLE = function(t, e, r, n) {
521
- t = +t, e >>>= 0, r >>>= 0, n || O(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
522
+ t = +t, e >>>= 0, r >>>= 0, n || C(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
522
523
  var o = 1, i = 0;
523
524
  for (this[e] = 255 & t; ++i < r && (o *= 256); ) this[e + i] = t / o & 255;
524
525
  return e + r;
525
526
  }, n.prototype.writeUIntBE = function(t, e, r, n) {
526
- t = +t, e >>>= 0, r >>>= 0, n || O(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
527
+ t = +t, e >>>= 0, r >>>= 0, n || C(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
527
528
  var o = r - 1, i = 1;
528
529
  for (this[e + o] = 255 & t; --o >= 0 && (i *= 256); ) this[e + o] = t / i & 255;
529
530
  return e + r;
530
531
  }, n.prototype.writeUInt8 = function(t, e, r) {
531
- return t = +t, e >>>= 0, r || O(this, t, e, 1, 255, 0),
532
+ return t = +t, e >>>= 0, r || C(this, t, e, 1, 255, 0),
532
533
  this[e] = 255 & t, e + 1;
533
534
  }, n.prototype.writeUInt16LE = function(t, e, r) {
534
- return t = +t, e >>>= 0, r || O(this, t, e, 2, 65535, 0),
535
+ return t = +t, e >>>= 0, r || C(this, t, e, 2, 65535, 0),
535
536
  this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2;
536
537
  }, n.prototype.writeUInt16BE = function(t, e, r) {
537
- return t = +t, e >>>= 0, r || O(this, t, e, 2, 65535, 0),
538
+ return t = +t, e >>>= 0, r || C(this, t, e, 2, 65535, 0),
538
539
  this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2;
539
540
  }, n.prototype.writeUInt32LE = function(t, e, r) {
540
- return t = +t, e >>>= 0, r || O(this, t, e, 4, 4294967295, 0),
541
+ return t = +t, e >>>= 0, r || C(this, t, e, 4, 4294967295, 0),
541
542
  this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8,
542
543
  this[e] = 255 & t, e + 4;
543
544
  }, n.prototype.writeUInt32BE = function(t, e, r) {
544
- return t = +t, e >>>= 0, r || O(this, t, e, 4, 4294967295, 0),
545
+ return t = +t, e >>>= 0, r || C(this, t, e, 4, 4294967295, 0),
545
546
  this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8,
546
547
  this[e + 3] = 255 & t, e + 4;
547
548
  }, n.prototype.writeIntLE = function(t, e, r, n) {
548
549
  if (t = +t, e >>>= 0, !n) {
549
550
  var o = Math.pow(2, 8 * r - 1);
550
- O(this, t, e, r, o - 1, -o);
551
+ C(this, t, e, r, o - 1, -o);
551
552
  }
552
- var i = 0, s = 1, a = 0;
553
- for (this[e] = 255 & t; ++i < r && (s *= 256); ) t < 0 && 0 === a && 0 !== this[e + i - 1] && (a = 1),
554
- this[e + i] = (t / s >> 0) - a & 255;
553
+ var i = 0, a = 1, s = 0;
554
+ for (this[e] = 255 & t; ++i < r && (a *= 256); ) t < 0 && 0 === s && 0 !== this[e + i - 1] && (s = 1),
555
+ this[e + i] = (t / a >> 0) - s & 255;
555
556
  return e + r;
556
557
  }, n.prototype.writeIntBE = function(t, e, r, n) {
557
558
  if (t = +t, e >>>= 0, !n) {
558
559
  var o = Math.pow(2, 8 * r - 1);
559
- O(this, t, e, r, o - 1, -o);
560
+ C(this, t, e, r, o - 1, -o);
560
561
  }
561
- var i = r - 1, s = 1, a = 0;
562
- for (this[e + i] = 255 & t; --i >= 0 && (s *= 256); ) t < 0 && 0 === a && 0 !== this[e + i + 1] && (a = 1),
563
- this[e + i] = (t / s >> 0) - a & 255;
562
+ var i = r - 1, a = 1, s = 0;
563
+ for (this[e + i] = 255 & t; --i >= 0 && (a *= 256); ) t < 0 && 0 === s && 0 !== this[e + i + 1] && (s = 1),
564
+ this[e + i] = (t / a >> 0) - s & 255;
564
565
  return e + r;
565
566
  }, n.prototype.writeInt8 = function(t, e, r) {
566
- return t = +t, e >>>= 0, r || O(this, t, e, 1, 127, -128),
567
+ return t = +t, e >>>= 0, r || C(this, t, e, 1, 127, -128),
567
568
  t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1;
568
569
  }, n.prototype.writeInt16LE = function(t, e, r) {
569
- return t = +t, e >>>= 0, r || O(this, t, e, 2, 32767, -32768),
570
+ return t = +t, e >>>= 0, r || C(this, t, e, 2, 32767, -32768),
570
571
  this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2;
571
572
  }, n.prototype.writeInt16BE = function(t, e, r) {
572
- return t = +t, e >>>= 0, r || O(this, t, e, 2, 32767, -32768),
573
+ return t = +t, e >>>= 0, r || C(this, t, e, 2, 32767, -32768),
573
574
  this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2;
574
575
  }, n.prototype.writeInt32LE = function(t, e, r) {
575
- return t = +t, e >>>= 0, r || O(this, t, e, 4, 2147483647, -2147483648),
576
+ return t = +t, e >>>= 0, r || C(this, t, e, 4, 2147483647, -2147483648),
576
577
  this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16,
577
578
  this[e + 3] = t >>> 24, e + 4;
578
579
  }, n.prototype.writeInt32BE = function(t, e, r) {
579
- return t = +t, e >>>= 0, r || O(this, t, e, 4, 2147483647, -2147483648),
580
+ return t = +t, e >>>= 0, r || C(this, t, e, 4, 2147483647, -2147483648),
580
581
  t < 0 && (t = 4294967295 + t + 1), this[e] = t >>> 24, this[e + 1] = t >>> 16,
581
582
  this[e + 2] = t >>> 8, this[e + 3] = 255 & t, e + 4;
582
583
  }, n.prototype.writeFloatLE = function(t, e, r) {
583
- return B(this, t, e, !0, r);
584
+ return U(this, t, e, !0, r);
584
585
  }, n.prototype.writeFloatBE = function(t, e, r) {
585
- return B(this, t, e, !1, r);
586
+ return U(this, t, e, !1, r);
586
587
  }, n.prototype.writeDoubleLE = function(t, e, r) {
587
- return U(this, t, e, !0, r);
588
+ return k(this, t, e, !0, r);
588
589
  }, n.prototype.writeDoubleBE = function(t, e, r) {
589
- return U(this, t, e, !1, r);
590
+ return k(this, t, e, !1, r);
590
591
  }, n.prototype.copy = function(t, e, r, o) {
591
592
  if (!n.isBuffer(t)) throw new TypeError("argument should be a Buffer");
592
593
  if (r || (r = 0), o || 0 === o || (o = this.length), e >= t.length && (e = t.length),
@@ -597,7 +598,7 @@
597
598
  if (o < 0) throw new RangeError("sourceEnd out of bounds");
598
599
  o > this.length && (o = this.length), t.length - e < o - r && (o = t.length - e + r);
599
600
  var i = o - r;
600
- if (this === t && "function" == typeof Uint8Array.prototype.copyWithin) this.copyWithin(e, r, o); else if (this === t && r < e && e < o) for (var s = i - 1; s >= 0; --s) t[s + e] = this[s + r]; else Uint8Array.prototype.set.call(t, this.subarray(r, o), e);
601
+ if (this === t && "function" == typeof Uint8Array.prototype.copyWithin) this.copyWithin(e, r, o); else if (this === t && r < e && e < o) for (var a = i - 1; a >= 0; --a) t[a + e] = this[a + r]; else Uint8Array.prototype.set.call(t, this.subarray(r, o), e);
601
602
  return i;
602
603
  }, n.prototype.fill = function(t, e, r, o) {
603
604
  if ("string" == typeof t) {
@@ -611,27 +612,27 @@
611
612
  } else "number" == typeof t && (t &= 255);
612
613
  if (e < 0 || this.length < e || this.length < r) throw new RangeError("Out of range index");
613
614
  if (r <= e) return this;
614
- var s;
615
+ var a;
615
616
  if (e >>>= 0, r = void 0 === r ? this.length : r >>> 0,
616
- t || (t = 0), "number" == typeof t) for (s = e; s < r; ++s) this[s] = t; else {
617
- var a = n.isBuffer(t) ? t : n.from(t, o), u = a.length;
617
+ t || (t = 0), "number" == typeof t) for (a = e; a < r; ++a) this[a] = t; else {
618
+ var s = n.isBuffer(t) ? t : n.from(t, o), u = s.length;
618
619
  if (0 === u) throw new TypeError('The value "' + t + '" is invalid for argument "value"');
619
- for (s = 0; s < r - e; ++s) this[s + e] = a[s % u];
620
+ for (a = 0; a < r - e; ++a) this[a + e] = s[a % u];
620
621
  }
621
622
  return this;
622
623
  };
623
- var k = /[^+/0-9A-Za-z-_]/g;
624
- function x(t, e) {
624
+ var j = /[^+/0-9A-Za-z-_]/g;
625
+ function P(t, e) {
625
626
  var r;
626
627
  e = e || 1 / 0;
627
- for (var n = t.length, o = null, i = [], s = 0; s < n; ++s) {
628
- if ((r = t.charCodeAt(s)) > 55295 && r < 57344) {
628
+ for (var n = t.length, o = null, i = [], a = 0; a < n; ++a) {
629
+ if ((r = t.charCodeAt(a)) > 55295 && r < 57344) {
629
630
  if (!o) {
630
631
  if (r > 56319) {
631
632
  (e -= 3) > -1 && i.push(239, 191, 189);
632
633
  continue;
633
634
  }
634
- if (s + 1 === n) {
635
+ if (a + 1 === n) {
635
636
  (e -= 3) > -1 && i.push(239, 191, 189);
636
637
  continue;
637
638
  }
@@ -661,21 +662,21 @@
661
662
  }
662
663
  return i;
663
664
  }
664
- function P(t) {
665
- return j.toByteArray(function(t) {
666
- if ((t = (t = t.split("=")[0]).trim().replace(k, "")).length < 2) return "";
665
+ function N(t) {
666
+ return x.toByteArray(function(t) {
667
+ if ((t = (t = t.split("=")[0]).trim().replace(j, "")).length < 2) return "";
667
668
  for (;t.length % 4 != 0; ) t += "=";
668
669
  return t;
669
670
  }(t));
670
671
  }
671
- function N(t, e, r, n) {
672
+ function L(t, e, r, n) {
672
673
  for (var o = 0; o < n && !(o + r >= e.length || o >= t.length); ++o) e[o + r] = t[o];
673
674
  return o;
674
675
  }
675
- function L(t, e) {
676
+ function I(t, e) {
676
677
  return t instanceof e || null != t && null != t.constructor && null != t.constructor.name && t.constructor.name === e.name;
677
678
  }
678
- function I(t) {
679
+ function D(t) {
679
680
  return t != t;
680
681
  }
681
682
  }).call(this);
@@ -690,13 +691,13 @@
690
691
  for (var r = new Array(arguments.length), n = 0; n < r.length; n++) r[n] = arguments[n];
691
692
  return t.apply(e, r);
692
693
  };
693
- }, i = Object.prototype.toString, s = (r = Object.create(null), function(t) {
694
+ }, i = Object.prototype.toString, a = (r = Object.create(null), function(t) {
694
695
  var e = i.call(t);
695
696
  return r[e] || (r[e] = e.slice(8, -1).toLowerCase());
696
697
  });
697
- function a(t) {
698
+ function s(t) {
698
699
  return t = t.toLowerCase(), function(e) {
699
- return s(e) === t;
700
+ return a(e) === t;
700
701
  };
701
702
  }
702
703
  function u(t) {
@@ -705,20 +706,20 @@
705
706
  function f(t) {
706
707
  return void 0 === t;
707
708
  }
708
- var c = a("ArrayBuffer");
709
+ var c = s("ArrayBuffer");
709
710
  function l(t) {
710
711
  return null !== t && "object" == typeof t;
711
712
  }
712
713
  function h(t) {
713
- if ("object" !== s(t)) return !1;
714
+ if ("object" !== a(t)) return !1;
714
715
  var e = Object.getPrototypeOf(t);
715
716
  return null === e || e === Object.prototype;
716
717
  }
717
- var p = a("Date"), d = a("File"), g = a("Blob"), y = a("FileList");
718
+ var p = s("Date"), d = s("File"), g = s("Blob"), y = s("FileList");
718
719
  function v(t) {
719
720
  return "[object Function]" === i.call(t);
720
721
  }
721
- var m = a("URLSearchParams");
722
+ var m = s("URLSearchParams");
722
723
  function w(t, e) {
723
724
  if (null != t) if ("object" != typeof t && (t = [ t ]), u(t)) for (var r = 0, n = t.length; r < n; r++) e.call(null, t[r], r, t); else for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && e.call(null, t[o], o, t);
724
725
  }
@@ -778,11 +779,11 @@
778
779
  r && Object.assign(t.prototype, r);
779
780
  },
780
781
  toFlatObject: function(t, e, r) {
781
- var n, o, i, s = {};
782
+ var n, o, i, a = {};
782
783
  e = e || {};
783
784
  do {
784
- for (o = (n = Object.getOwnPropertyNames(t)).length; o-- > 0; ) s[i = n[o]] || (e[i] = t[i],
785
- s[i] = !0);
785
+ for (o = (n = Object.getOwnPropertyNames(t)).length; o-- > 0; ) a[i = n[o]] || (e[i] = t[i],
786
+ a[i] = !0);
786
787
  t = Object.getPrototypeOf(t);
787
788
  } while (t && (!r || r(t, e)) && t !== Object.prototype);
788
789
  return e;
@@ -875,29 +876,29 @@
875
876
  }), Object.defineProperties(B, k), Object.defineProperty(U, "isAxiosError", {
876
877
  value: !0
877
878
  }), B.from = function(t, e, r, n, o, i) {
878
- var s = Object.create(U);
879
- return A.toFlatObject(t, s, function(t) {
879
+ var a = Object.create(U);
880
+ return A.toFlatObject(t, a, function(t) {
880
881
  return t !== Error.prototype;
881
- }), B.call(s, t.message, e, r, n, o), s.name = t.name, i && Object.assign(s, i),
882
- s;
882
+ }), B.call(a, t.message, e, r, n, o), a.name = t.name, i && Object.assign(a, i),
883
+ a;
883
884
  }, C = B;
884
- for (var x = {
885
+ for (var j = {
885
886
  silentJSONParsing: !0,
886
887
  forcedJSONParsing: !0,
887
888
  clarifyTimeoutError: !1
888
- }, j = {
889
+ }, x = {
889
890
  toByteArray: function(t) {
890
- var e, r, n = F(t), o = n[0], i = n[1], s = new L(function(t, e, r) {
891
+ var e, r, n = F(t), o = n[0], i = n[1], a = new L(function(t, e, r) {
891
892
  return 3 * (e + r) / 4 - r;
892
- }(0, o, i)), a = 0, u = i > 0 ? o - 4 : o;
893
+ }(0, o, i)), s = 0, u = i > 0 ? o - 4 : o;
893
894
  for (r = 0; r < u; r += 4) e = N[t.charCodeAt(r)] << 18 | N[t.charCodeAt(r + 1)] << 12 | N[t.charCodeAt(r + 2)] << 6 | N[t.charCodeAt(r + 3)],
894
- s[a++] = e >> 16 & 255, s[a++] = e >> 8 & 255, s[a++] = 255 & e;
895
+ a[s++] = e >> 16 & 255, a[s++] = e >> 8 & 255, a[s++] = 255 & e;
895
896
  return 2 === i && (e = N[t.charCodeAt(r)] << 2 | N[t.charCodeAt(r + 1)] >> 4,
896
- s[a++] = 255 & e), 1 === i && (e = N[t.charCodeAt(r)] << 10 | N[t.charCodeAt(r + 1)] << 4 | N[t.charCodeAt(r + 2)] >> 2,
897
- s[a++] = e >> 8 & 255, s[a++] = 255 & e), s;
897
+ a[s++] = 255 & e), 1 === i && (e = N[t.charCodeAt(r)] << 10 | N[t.charCodeAt(r + 1)] << 4 | N[t.charCodeAt(r + 2)] >> 2,
898
+ a[s++] = e >> 8 & 255, a[s++] = 255 & e), a;
898
899
  },
899
900
  fromByteArray: function(t) {
900
- for (var e, r = t.length, n = r % 3, o = [], i = 0, s = r - n; i < s; i += 16383) o.push(z(t, i, i + 16383 > s ? s : i + 16383));
901
+ for (var e, r = t.length, n = r % 3, o = [], i = 0, a = r - n; i < a; i += 16383) o.push(z(t, i, i + 16383 > a ? a : i + 16383));
901
902
  return 1 === n ? (e = t[r - 1], o.push(P[e >> 2] + P[e << 4 & 63] + "==")) : 2 === n && (e = (t[r - 2] << 8) + t[r - 1],
902
903
  o.push(P[e >> 10] + P[e >> 4 & 63] + P[e << 2 & 63] + "=")), o.join("");
903
904
  }
@@ -910,34 +911,34 @@
910
911
  return -1 === r && (r = e), [ r, r === e ? 0 : 4 - r % 4 ];
911
912
  }
912
913
  function z(t, e, r) {
913
- for (var n, o, i = [], s = e; s < r; s += 3) n = (t[s] << 16 & 16711680) + (t[s + 1] << 8 & 65280) + (255 & t[s + 2]),
914
+ for (var n, o, i = [], a = e; a < r; a += 3) n = (t[a] << 16 & 16711680) + (t[a + 1] << 8 & 65280) + (255 & t[a + 2]),
914
915
  i.push(P[(o = n) >> 18 & 63] + P[o >> 12 & 63] + P[o >> 6 & 63] + P[63 & o]);
915
916
  return i.join("");
916
917
  }
917
918
  N["-".charCodeAt(0)] = 62, N["_".charCodeAt(0)] = 63;
918
919
  var q = {
919
920
  read: function(t, e, r, n, o) {
920
- var i, s, a = 8 * o - n - 1, u = (1 << a) - 1, f = u >> 1, c = -7, l = r ? o - 1 : 0, h = r ? -1 : 1, p = t[e + l];
921
- for (l += h, i = p & (1 << -c) - 1, p >>= -c, c += a; c > 0; i = 256 * i + t[e + l],
921
+ var i, a, s = 8 * o - n - 1, u = (1 << s) - 1, f = u >> 1, c = -7, l = r ? o - 1 : 0, h = r ? -1 : 1, p = t[e + l];
922
+ for (l += h, i = p & (1 << -c) - 1, p >>= -c, c += s; c > 0; i = 256 * i + t[e + l],
922
923
  l += h, c -= 8);
923
- for (s = i & (1 << -c) - 1, i >>= -c, c += n; c > 0; s = 256 * s + t[e + l],
924
+ for (a = i & (1 << -c) - 1, i >>= -c, c += n; c > 0; a = 256 * a + t[e + l],
924
925
  l += h, c -= 8);
925
926
  if (0 === i) i = 1 - f; else {
926
- if (i === u) return s ? NaN : 1 / 0 * (p ? -1 : 1);
927
- s += Math.pow(2, n), i -= f;
927
+ if (i === u) return a ? NaN : 1 / 0 * (p ? -1 : 1);
928
+ a += Math.pow(2, n), i -= f;
928
929
  }
929
- return (p ? -1 : 1) * s * Math.pow(2, i - n);
930
+ return (p ? -1 : 1) * a * Math.pow(2, i - n);
930
931
  },
931
932
  write: function(t, e, r, n, o, i) {
932
- var s, a, u, f = 8 * i - o - 1, c = (1 << f) - 1, l = c >> 1, h = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = n ? 0 : i - 1, d = n ? 1 : -1, g = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;
933
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0,
934
- s = c) : (s = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -s)) < 1 && (s--,
935
- u *= 2), (e += s + l >= 1 ? h / u : h * Math.pow(2, 1 - l)) * u >= 2 && (s++,
936
- u /= 2), s + l >= c ? (a = 0, s = c) : s + l >= 1 ? (a = (e * u - 1) * Math.pow(2, o),
937
- s += l) : (a = e * Math.pow(2, l - 1) * Math.pow(2, o), s = 0)); o >= 8; t[r + p] = 255 & a,
938
- p += d, a /= 256, o -= 8);
939
- for (s = s << o | a, f += o; f > 0; t[r + p] = 255 & s, p += d,
940
- s /= 256, f -= 8);
933
+ var a, s, u, f = 8 * i - o - 1, c = (1 << f) - 1, l = c >> 1, h = 23 === o ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = n ? 0 : i - 1, d = n ? 1 : -1, g = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;
934
+ for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0,
935
+ a = c) : (a = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -a)) < 1 && (a--,
936
+ u *= 2), (e += a + l >= 1 ? h / u : h * Math.pow(2, 1 - l)) * u >= 2 && (a++,
937
+ u /= 2), a + l >= c ? (s = 0, a = c) : a + l >= 1 ? (s = (e * u - 1) * Math.pow(2, o),
938
+ a += l) : (s = e * Math.pow(2, l - 1) * Math.pow(2, o), a = 0)); o >= 8; t[r + p] = 255 & s,
939
+ p += d, s /= 256, o -= 8);
940
+ for (a = a << o | s, f += o; f > 0; t[r + p] = 255 & a, p += d,
941
+ a /= 256, f -= 8);
941
942
  t[r + p - d] |= 128 * g;
942
943
  }
943
944
  }, V = {};
@@ -955,11 +956,11 @@
955
956
  if (-1 !== n.indexOf(e)) throw Error("Circular reference detected in " + i);
956
957
  n.push(e), A.forEach(e, function(e, n) {
957
958
  if (!A.isUndefined(e)) {
958
- var s, a = i ? i + "." + n : n;
959
- if (e && !i && "object" == typeof e) if (A.endsWith(n, "{}")) e = JSON.stringify(e); else if (A.endsWith(n, "[]") && (s = A.toArray(e))) return void s.forEach(function(t) {
960
- !A.isUndefined(t) && r.append(a, o(t));
959
+ var a, s = i ? i + "." + n : n;
960
+ if (e && !i && "object" == typeof e) if (A.endsWith(n, "{}")) e = JSON.stringify(e); else if (A.endsWith(n, "[]") && (a = A.toArray(e))) return void a.forEach(function(t) {
961
+ !A.isUndefined(t) && r.append(s, o(t));
961
962
  });
962
- t(e, a);
963
+ t(e, s);
963
964
  }
964
965
  }), n.pop();
965
966
  } else r.append(i, o(e));
@@ -969,10 +970,10 @@
969
970
  }).call(this, n({}).Buffer);
970
971
  var J = A.isStandardBrowserEnv() ? {
971
972
  write: function(t, e, r, n, o, i) {
972
- var s = [];
973
- s.push(t + "=" + encodeURIComponent(e)), A.isNumber(r) && s.push("expires=" + new Date(r).toGMTString()),
974
- A.isString(n) && s.push("path=" + n), A.isString(o) && s.push("domain=" + o),
975
- !0 === i && s.push("secure"), document.cookie = s.join("; ");
973
+ var a = [];
974
+ a.push(t + "=" + encodeURIComponent(e)), A.isNumber(r) && a.push("expires=" + new Date(r).toGMTString()),
975
+ A.isString(n) && a.push("path=" + n), A.isString(o) && a.push("domain=" + o),
976
+ !0 === i && a.push("secure"), document.cookie = a.join("; ");
976
977
  },
977
978
  read: function(t) {
978
979
  var e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
@@ -1022,8 +1023,8 @@
1022
1023
  }), X = $;
1023
1024
  var G, K, Q, Z = function(t) {
1024
1025
  return new Promise(function(e, r) {
1025
- var n, o = t.data, i = t.headers, s = t.responseType;
1026
- function a() {
1026
+ var n, o = t.data, i = t.headers, a = t.responseType;
1027
+ function s() {
1027
1028
  t.cancelToken && t.cancelToken.unsubscribe(n), t.signal && t.signal.removeEventListener("abort", n);
1028
1029
  }
1029
1030
  A.isFormData(o) && A.isStandardBrowserEnv() && delete i["Content-Type"];
@@ -1049,11 +1050,11 @@
1049
1050
  var n = r.config.validateStatus;
1050
1051
  r.status && n && !n(r.status) ? e(new C("Request failed with status code " + r.status, [ C.ERR_BAD_REQUEST, C.ERR_BAD_RESPONSE ][Math.floor(r.status / 100) - 4], r.config, r.request, r)) : t(r);
1051
1052
  })(function(t) {
1052
- e(t), a();
1053
+ e(t), s();
1053
1054
  }, function(t) {
1054
- r(t), a();
1055
+ r(t), s();
1055
1056
  }, {
1056
- data: s && "text" !== s && "json" !== s ? u.response : u.responseText,
1057
+ data: a && "text" !== a && "json" !== a ? u.response : u.responseText,
1057
1058
  status: u.status,
1058
1059
  statusText: u.statusText,
1059
1060
  headers: n,
@@ -1070,7 +1071,7 @@
1070
1071
  }, u.onerror = function() {
1071
1072
  r(new C("Network Error", C.ERR_NETWORK, t, u, u)), u = null;
1072
1073
  }, u.ontimeout = function() {
1073
- var e = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded", n = t.transitional || x;
1074
+ var e = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded", n = t.transitional || j;
1074
1075
  t.timeoutErrorMessage && (e = t.timeoutErrorMessage), r(new C(e, n.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED, t, u)),
1075
1076
  u = null;
1076
1077
  }, A.isStandardBrowserEnv()) {
@@ -1080,7 +1081,7 @@
1080
1081
  "setRequestHeader" in u && A.forEach(i, function(t, e) {
1081
1082
  void 0 === o && "content-type" === e.toLowerCase() ? delete i[e] : u.setRequestHeader(e, t);
1082
1083
  }), A.isUndefined(t.withCredentials) || (u.withCredentials = !!t.withCredentials),
1083
- s && "json" !== s && (u.responseType = t.responseType), "function" == typeof t.onDownloadProgress && u.addEventListener("progress", t.onDownloadProgress),
1084
+ a && "json" !== a && (u.responseType = t.responseType), "function" == typeof t.onDownloadProgress && u.addEventListener("progress", t.onDownloadProgress),
1084
1085
  "function" == typeof t.onUploadProgress && u.upload && u.upload.addEventListener("progress", t.onUploadProgress),
1085
1086
  (t.cancelToken || t.signal) && (n = function(t) {
1086
1087
  u && (r(!t || t && t.type ? new X() : t), u.abort(), u = null);
@@ -1121,19 +1122,19 @@
1121
1122
  Q = rt;
1122
1123
  }
1123
1124
  }();
1124
- var ot, it = [], st = !1, at = -1;
1125
+ var ot, it = [], at = !1, st = -1;
1125
1126
  function ut() {
1126
- st && ot && (st = !1, ot.length ? it = ot.concat(it) : at = -1, it.length && ft());
1127
+ at && ot && (at = !1, ot.length ? it = ot.concat(it) : st = -1, it.length && ft());
1127
1128
  }
1128
1129
  function ft() {
1129
- if (!st) {
1130
+ if (!at) {
1130
1131
  var t = nt(ut);
1131
- st = !0;
1132
+ at = !0;
1132
1133
  for (var r = it.length; r; ) {
1133
- for (ot = it, it = []; ++at < r; ) ot && ot[at].run();
1134
- at = -1, r = it.length;
1134
+ for (ot = it, it = []; ++st < r; ) ot && ot[st].run();
1135
+ st = -1, r = it.length;
1135
1136
  }
1136
- ot = null, st = !1, function(t) {
1137
+ ot = null, at = !1, function(t) {
1137
1138
  if (Q === clearTimeout) return clearTimeout(t);
1138
1139
  if ((Q === rt || !Q) && clearTimeout) return Q = clearTimeout,
1139
1140
  clearTimeout(t);
@@ -1156,7 +1157,7 @@
1156
1157
  tt.nextTick = function(t) {
1157
1158
  var e = new Array(arguments.length - 1);
1158
1159
  if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];
1159
- it.push(new ct(t, e)), 1 !== it.length || st || nt(ft);
1160
+ it.push(new ct(t, e)), 1 !== it.length || at || nt(ft);
1160
1161
  }, ct.prototype.run = function() {
1161
1162
  this.fun.apply(null, this.array);
1162
1163
  }, tt.title = "browser", tt.browser = !0, tt.env = {}, tt.argv = [], tt.version = "",
@@ -1184,7 +1185,7 @@
1184
1185
  !A.isUndefined(t) && A.isUndefined(t["Content-Type"]) && (t["Content-Type"] = e);
1185
1186
  }
1186
1187
  var o, i = {
1187
- transitional: x,
1188
+ transitional: j,
1188
1189
  adapter: (("undefined" != typeof XMLHttpRequest || void 0 !== t && "[object process]" === Object.prototype.toString.call(t)) && (o = Z),
1189
1190
  o),
1190
1191
  transformRequest: [ function(t, r) {
@@ -1192,14 +1193,14 @@
1192
1193
  if (A.isArrayBufferView(t)) return t.buffer;
1193
1194
  if (A.isURLSearchParams(t)) return n(r, "application/x-www-form-urlencoded;charset=utf-8"),
1194
1195
  t.toString();
1195
- var o, i = A.isObject(t), s = r && r["Content-Type"];
1196
- if ((o = A.isFileList(t)) || i && "multipart/form-data" === s) {
1197
- var a = this.env && this.env.FormData;
1196
+ var o, i = A.isObject(t), a = r && r["Content-Type"];
1197
+ if ((o = A.isFileList(t)) || i && "multipart/form-data" === a) {
1198
+ var s = this.env && this.env.FormData;
1198
1199
  return V(o ? {
1199
1200
  "files[]": t
1200
- } : t, a && new a());
1201
+ } : t, s && new s());
1201
1202
  }
1202
- return i || "application/json" === s ? (n(r, "application/json"),
1203
+ return i || "application/json" === a ? (n(r, "application/json"),
1203
1204
  function(t, r, n) {
1204
1205
  if (A.isString(t)) try {
1205
1206
  return (0, JSON.parse)(t), A.trim(t);
@@ -1210,11 +1211,11 @@
1210
1211
  }(t)) : t;
1211
1212
  } ],
1212
1213
  transformResponse: [ function(t) {
1213
- var r = this.transitional || i.transitional, n = r && r.silentJSONParsing, o = r && r.forcedJSONParsing, s = !n && "json" === this.responseType;
1214
- if (s || o && A.isString(t) && t.length) try {
1214
+ var r = this.transitional || i.transitional, n = r && r.silentJSONParsing, o = r && r.forcedJSONParsing, a = !n && "json" === this.responseType;
1215
+ if (a || o && A.isString(t) && t.length) try {
1215
1216
  return JSON.parse(t);
1216
1217
  } catch (e) {
1217
- if (s) {
1218
+ if (a) {
1218
1219
  if ("SyntaxError" === e.name) throw C.from(e, C.ERR_BAD_RESPONSE, this, null, this.response);
1219
1220
  throw e;
1220
1221
  }
@@ -1280,44 +1281,44 @@
1280
1281
  function i(t) {
1281
1282
  if (!A.isUndefined(e[t])) return n(void 0, e[t]);
1282
1283
  }
1283
- function s(r) {
1284
+ function a(r) {
1284
1285
  return A.isUndefined(e[r]) ? A.isUndefined(t[r]) ? void 0 : n(void 0, t[r]) : n(void 0, e[r]);
1285
1286
  }
1286
- function a(r) {
1287
+ function s(r) {
1287
1288
  return r in e ? n(t[r], e[r]) : r in t ? n(void 0, t[r]) : void 0;
1288
1289
  }
1289
1290
  var u = {
1290
1291
  url: i,
1291
1292
  method: i,
1292
1293
  data: i,
1293
- baseURL: s,
1294
- transformRequest: s,
1295
- transformResponse: s,
1296
- paramsSerializer: s,
1297
- timeout: s,
1298
- timeoutMessage: s,
1299
- withCredentials: s,
1300
- adapter: s,
1301
- responseType: s,
1302
- xsrfCookieName: s,
1303
- xsrfHeaderName: s,
1304
- onUploadProgress: s,
1305
- onDownloadProgress: s,
1306
- decompress: s,
1307
- maxContentLength: s,
1308
- maxBodyLength: s,
1309
- beforeRedirect: s,
1310
- transport: s,
1311
- httpAgent: s,
1312
- httpsAgent: s,
1313
- cancelToken: s,
1314
- socketPath: s,
1315
- responseEncoding: s,
1316
- validateStatus: a
1294
+ baseURL: a,
1295
+ transformRequest: a,
1296
+ transformResponse: a,
1297
+ paramsSerializer: a,
1298
+ timeout: a,
1299
+ timeoutMessage: a,
1300
+ withCredentials: a,
1301
+ adapter: a,
1302
+ responseType: a,
1303
+ xsrfCookieName: a,
1304
+ xsrfHeaderName: a,
1305
+ onUploadProgress: a,
1306
+ onDownloadProgress: a,
1307
+ decompress: a,
1308
+ maxContentLength: a,
1309
+ maxBodyLength: a,
1310
+ beforeRedirect: a,
1311
+ transport: a,
1312
+ httpAgent: a,
1313
+ httpsAgent: a,
1314
+ cancelToken: a,
1315
+ socketPath: a,
1316
+ responseEncoding: a,
1317
+ validateStatus: s
1317
1318
  };
1318
1319
  return A.forEach(Object.keys(t).concat(Object.keys(e)), function(t) {
1319
1320
  var e = u[t] || o, n = e(t);
1320
- A.isUndefined(n) && e !== a || (r[t] = n);
1321
+ A.isUndefined(n) && e !== s || (r[t] = n);
1321
1322
  }), r;
1322
1323
  }, wt = "0.27.2", bt = wt, Et = {};
1323
1324
  [ "object", "boolean", "number", "function", "string", "symbol" ].forEach(function(t, e) {
@@ -1340,9 +1341,9 @@
1340
1341
  assertOptions: function(t, e, r) {
1341
1342
  if ("object" != typeof t) throw new C("options must be an object", C.ERR_BAD_OPTION_VALUE);
1342
1343
  for (var n = Object.keys(t), o = n.length; o-- > 0; ) {
1343
- var i = n[o], s = e[i];
1344
- if (s) {
1345
- var a = t[i], u = void 0 === a || s(a, i, t);
1344
+ var i = n[o], a = e[i];
1345
+ if (a) {
1346
+ var s = t[i], u = void 0 === s || a(s, i, t);
1346
1347
  if (!0 !== u) throw new C("option " + i + " must be " + u, C.ERR_BAD_OPTION_VALUE);
1347
1348
  } else if (!0 !== r) throw new C("Unknown option " + i, C.ERR_BAD_OPTION);
1348
1349
  }
@@ -1368,12 +1369,12 @@
1368
1369
  "function" == typeof t.runWhen && !1 === t.runWhen(e) || (o = o && t.synchronous,
1369
1370
  n.unshift(t.fulfilled, t.rejected));
1370
1371
  });
1371
- var i, s = [];
1372
+ var i, a = [];
1372
1373
  if (this.interceptors.response.forEach(function(t) {
1373
- s.push(t.fulfilled, t.rejected);
1374
+ a.push(t.fulfilled, t.rejected);
1374
1375
  }), !o) {
1375
- var a = [ vt, void 0 ];
1376
- for (Array.prototype.unshift.apply(a, n), a = a.concat(s), i = Promise.resolve(e); a.length; ) i = i.then(a.shift(), a.shift());
1376
+ var s = [ vt, void 0 ];
1377
+ for (Array.prototype.unshift.apply(s, n), s = s.concat(a), i = Promise.resolve(e); s.length; ) i = i.then(s.shift(), s.shift());
1377
1378
  return i;
1378
1379
  }
1379
1380
  for (var u = e; n.length; ) {
@@ -1390,7 +1391,7 @@
1390
1391
  } catch (l) {
1391
1392
  return Promise.reject(l);
1392
1393
  }
1393
- for (;s.length; ) i = i.then(s.shift(), s.shift());
1394
+ for (;a.length; ) i = i.then(a.shift(), a.shift());
1394
1395
  return i;
1395
1396
  }, _t.prototype.getUri = function(t) {
1396
1397
  t = mt(this.defaults, t);
@@ -1479,7 +1480,7 @@
1479
1480
  }, Bt.isAxiosError = function(t) {
1480
1481
  return A.isObject(t) && !0 === t.isAxiosError;
1481
1482
  }, (Ct = Bt).default = Bt;
1482
- var Ut = Ct, kt = {}, xt = {};
1483
+ var Ut = Ct, kt = {}, jt = {};
1483
1484
  return function(t) {
1484
1485
  (function() {
1485
1486
  "use strict";
@@ -1507,23 +1508,23 @@
1507
1508
  }
1508
1509
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1509
1510
  }
1510
- var s, a = !0, u = !1;
1511
+ var a, s = !0, u = !1;
1511
1512
  return {
1512
1513
  s: function() {
1513
1514
  n = n.call(t);
1514
1515
  },
1515
1516
  n: function() {
1516
1517
  var t = n.next();
1517
- return a = t.done, t;
1518
+ return s = t.done, t;
1518
1519
  },
1519
1520
  e: function(t) {
1520
- u = !0, s = t;
1521
+ u = !0, a = t;
1521
1522
  },
1522
1523
  f: function() {
1523
1524
  try {
1524
- a || null == n.return || n.return();
1525
+ s || null == n.return || n.return();
1525
1526
  } finally {
1526
- if (u) throw s;
1527
+ if (u) throw a;
1527
1528
  }
1528
1529
  }
1529
1530
  };
@@ -1551,22 +1552,33 @@
1551
1552
  function i(t, e) {
1552
1553
  if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
1553
1554
  }
1554
- function s(t, e) {
1555
+ function a(t, e) {
1555
1556
  for (var r = 0; r < e.length; r++) {
1556
1557
  var n = e[r];
1557
1558
  n.enumerable = n.enumerable || !1, n.configurable = !0,
1558
- "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n);
1559
+ "value" in n && (n.writable = !0), Object.defineProperty(t, (void 0,
1560
+ i = function(t, e) {
1561
+ if ("object" !== o(t) || null === t) return t;
1562
+ var r = t[Symbol.toPrimitive];
1563
+ if (void 0 !== r) {
1564
+ var n = r.call(t, "string");
1565
+ if ("object" !== o(n)) return n;
1566
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1567
+ }
1568
+ return String(t);
1569
+ }(n.key), "symbol" === o(i) ? i : String(i)), n);
1559
1570
  }
1571
+ var i;
1560
1572
  }
1561
- function a(t, e, r) {
1562
- return e && s(t.prototype, e), r && s(t, r), Object.defineProperty(t, "prototype", {
1573
+ function s(t, e, r) {
1574
+ return e && a(t.prototype, e), r && a(t, r), Object.defineProperty(t, "prototype", {
1563
1575
  writable: !1
1564
1576
  }), t;
1565
1577
  }
1566
- Object.defineProperty(xt, "__esModule", {
1578
+ Object.defineProperty(jt, "__esModule", {
1567
1579
  value: !0
1568
- }), xt.varsnap = xt.clientName = xt.version = void 0;
1569
- xt.version = "1.8.4", xt.clientName = "javascript." + xt.version;
1580
+ }), jt.varsnap = jt.clientName = jt.version = void 0;
1581
+ jt.version = "1.8.5", jt.clientName = "javascript." + jt.version;
1570
1582
  var u = {
1571
1583
  varsnap: !0,
1572
1584
  env: "development",
@@ -1578,7 +1590,7 @@
1578
1590
  function e() {
1579
1591
  i(this, e);
1580
1592
  }
1581
- return a(e, null, [ {
1593
+ return s(e, null, [ {
1582
1594
  key: "getConfig",
1583
1595
  value: function(t, e) {
1584
1596
  if (!t) return "";
@@ -1597,7 +1609,7 @@
1597
1609
  value: function(t, e) {
1598
1610
  var r = "";
1599
1611
  return r = "" !== e && void 0 !== e ? e : (r = (r = t.toString().split("{")[0]).replace(/^\s+|\s+$/g, "")).replace(/,\s+/g, ","),
1600
- "javascript." + xt.version + "." + r;
1612
+ "javascript." + jt.version + "." + r;
1601
1613
  }
1602
1614
  }, {
1603
1615
  key: "ajax",
@@ -1683,7 +1695,7 @@
1683
1695
  function t(e, r, n) {
1684
1696
  i(this, t), this.targetFunc = e, this.signature = r, this.config = n;
1685
1697
  }
1686
- return a(t, [ {
1698
+ return s(t, [ {
1687
1699
  key: "isEnabled",
1688
1700
  value: function() {
1689
1701
  return !!this.config.varsnap && "production" === l.getConfig(this.config, "env") && !!l.getConfig(this.config, "producerToken");
@@ -1729,7 +1741,7 @@
1729
1741
  function t(e, r, n) {
1730
1742
  i(this, t), this.targetFunc = e, this.signature = r, this.config = n;
1731
1743
  }
1732
- return a(t, [ {
1744
+ return s(t, [ {
1733
1745
  key: "isEnabled",
1734
1746
  value: function() {
1735
1747
  return !!this.config.varsnap && "development" === l.getConfig(this.config, "env") && !!l.getConfig(this.config, "consumerToken");
@@ -1742,36 +1754,36 @@
1742
1754
  return l.error(i.config, "Varsnap not enabled for testing"),
1743
1755
  t(!1);
1744
1756
  });
1745
- var s = {
1757
+ var a = {
1746
1758
  consumer_token: l.getConfig(this.config, "consumerToken"),
1747
1759
  signature: this.signature
1748
1760
  };
1749
- return l.ajax("https://www.varsnap.com/api/snap/consume/", s).then(function(a) {
1750
- var u = a;
1761
+ return l.ajax("https://www.varsnap.com/api/snap/consume/", a).then(function(s) {
1762
+ var u = s;
1751
1763
  if (!u || "ok" !== u.status) return [ new Promise(function(t) {
1752
1764
  return l.error(i.config, "Received error from Varsnap: " + u.status),
1753
1765
  t(!1);
1754
1766
  }) ];
1755
- 0 === u.results.length && l.log(i.config, "No snaps found for signature: " + s.signature);
1767
+ 0 === u.results.length && l.log(i.config, "No snaps found for signature: " + a.signature);
1756
1768
  var f, c = [], p = e(u.results);
1757
1769
  try {
1758
1770
  var d = function() {
1759
- var e, s = f.value, a = t.deserialize(s.inputs), u = t.deserialize(s.prod_outputs), l = void 0;
1771
+ var e, a, s = f.value, u = t.deserialize(s.inputs), l = t.deserialize(s.prod_outputs);
1760
1772
  try {
1761
- l = i.targetFunc.apply(i, function(t) {
1773
+ e = i.targetFunc.apply(i, function(t) {
1762
1774
  if (Array.isArray(t)) return n(t);
1763
- }(e = a) || function(t) {
1775
+ }(a = u) || function(t) {
1764
1776
  if ("undefined" != typeof Symbol && null != t[Symbol.iterator] || null != t["@@iterator"]) return Array.from(t);
1765
- }(e) || r(e) || function() {
1777
+ }(a) || r(a) || function() {
1766
1778
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1767
1779
  }());
1768
1780
  } catch (d) {
1769
- l = d;
1781
+ e = d;
1770
1782
  }
1771
- var p = Promise.resolve(l).then(function(t) {
1772
- var e = h.serialize(u) === h.serialize(t);
1773
- return i.reportCentral(o, s, u, t, e).then(function(r) {
1774
- i.reportLog(s.id, a, u, t, e, r);
1783
+ var p = Promise.resolve(e).then(function(t) {
1784
+ var e = h.serialize(l) === h.serialize(t);
1785
+ return i.reportCentral(o, s, l, t, e).then(function(r) {
1786
+ i.reportLog(s.id, u, l, t, e, r);
1775
1787
  }), e;
1776
1788
  });
1777
1789
  c.push(p);
@@ -1797,7 +1809,7 @@
1797
1809
  }, {
1798
1810
  key: "reportCentral",
1799
1811
  value: function(t, e, r, n, o) {
1800
- var i = this, s = {
1812
+ var i = this, a = {
1801
1813
  trial_group_id: t.trial_group_id,
1802
1814
  consumer_token: l.getConfig(this.config, "consumerToken"),
1803
1815
  snap_id: e.id,
@@ -1806,7 +1818,7 @@
1806
1818
  snap_outputs_formatted: h.serialize_formatted(r),
1807
1819
  test_outputs_formatted: h.serialize_formatted(n)
1808
1820
  };
1809
- return l.ajax("https://www.varsnap.com/api/trial/produce/", s).then(function(t) {
1821
+ return l.ajax("https://www.varsnap.com/api/trial/produce/", a).then(function(t) {
1810
1822
  var e = t;
1811
1823
  return !(!e || "ok" !== e.status) && e.trial_url;
1812
1824
  }).catch(function(t) {
@@ -1824,8 +1836,8 @@
1824
1836
  l.log(this.config, "Production function outputs: " + l.limitString(r)),
1825
1837
  l.log(this.config, "Your function outputs: " + l.limitString(n)),
1826
1838
  l.log(this.config, "Matching outputs: " + o);
1827
- var s = "Cannot upload trial";
1828
- i && (s = String(i)), l.log(this.config, "Trial URL: " + s);
1839
+ var a = "Cannot upload trial";
1840
+ i && (a = String(i)), l.log(this.config, "Trial URL: " + a);
1829
1841
  }
1830
1842
  }
1831
1843
  }, {
@@ -1846,8 +1858,8 @@
1846
1858
  for (var e, r = arguments.length, o = new Array(r), i = 0; i < r; i++) o[i] = arguments[i];
1847
1859
  try {
1848
1860
  e = t.apply(void 0, o);
1849
- } catch (s) {
1850
- throw n.produce(o, s), s;
1861
+ } catch (a) {
1862
+ throw n.produce(o, a), a;
1851
1863
  }
1852
1864
  return n.produce(o, e), e;
1853
1865
  };
@@ -1861,7 +1873,7 @@
1861
1873
  return {
1862
1874
  branch: e,
1863
1875
  consumer_token: l.getConfig(t, "consumerToken"),
1864
- client: xt.clientName
1876
+ client: jt.clientName
1865
1877
  };
1866
1878
  }).then(function(t) {
1867
1879
  var e = t;
@@ -1881,11 +1893,11 @@
1881
1893
  var n, o = [], i = e(r);
1882
1894
  try {
1883
1895
  for (i.s(); !(n = i.n()).done; ) {
1884
- var s = n.value.consume(t);
1885
- o.push(s);
1896
+ var a = n.value.consume(t);
1897
+ o.push(a);
1886
1898
  }
1887
- } catch (a) {
1888
- i.e(a);
1899
+ } catch (s) {
1900
+ i.e(s);
1889
1901
  } finally {
1890
1902
  i.f();
1891
1903
  }
@@ -1896,7 +1908,7 @@
1896
1908
  });
1897
1909
  });
1898
1910
  }
1899
- xt.varsnap = d, d._config = u, d.updateConfig = function(t) {
1911
+ jt.varsnap = d, d._config = u, d.updateConfig = function(t) {
1900
1912
  for (var e = d._config, r = 0, n = Object.keys(d._config); r < n.length; r++) {
1901
1913
  var o = n[r];
1902
1914
  Object.prototype.hasOwnProperty.call(t, o) && (e = l.setConfig(e, o, t[o]));
@@ -1904,8 +1916,8 @@
1904
1916
  d._config = e;
1905
1917
  }, d.reset = function() {
1906
1918
  l.resetConsumers(), l.resetProducers();
1907
- }, d.version = xt.version, d.runTests = g;
1919
+ }, d.version = jt.version, d.runTests = g;
1908
1920
  }).call(this);
1909
- }.call(this, G), xt.varsnap;
1921
+ }.call(this, G), jt.varsnap;
1910
1922
  });
1911
1923
  })(typeof Varsnap == "undefined" ? Varsnap = {} : Varsnap);