@vtj/ui 0.0.1-alpha.1 → 0.0.1-alpha.2

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/lib/index.js CHANGED
@@ -1 +1,3208 @@
1
-
1
+ import { ref as ln, unref as Gt, defineComponent as pn, renderSlot as ar, getCurrentInstance as cr, provide as ur, h as fr } from "vue";
2
+ import "@vueuse/core";
3
+ const dn = (t, e) => {
4
+ if (t.install = (n) => {
5
+ for (const r of [t, ...Object.values(e ?? {})])
6
+ typeof r == "function" ? n.use(r) : r.name && n.component(r.name, r);
7
+ }, e)
8
+ for (const [n, r] of Object.entries(e))
9
+ t[n] = r;
10
+ return t;
11
+ };
12
+ var lr = typeof global == "object" && global && global.Object === Object && global;
13
+ const hn = lr;
14
+ var pr = typeof self == "object" && self && self.Object === Object && self, dr = hn || pr || Function("return this")();
15
+ const V = dr;
16
+ var hr = V.Symbol;
17
+ const J = hr;
18
+ var mn = Object.prototype, mr = mn.hasOwnProperty, yr = mn.toString, vt = J ? J.toStringTag : void 0;
19
+ function gr(t) {
20
+ var e = mr.call(t, vt), n = t[vt];
21
+ try {
22
+ t[vt] = void 0;
23
+ var r = !0;
24
+ } catch {
25
+ }
26
+ var o = yr.call(t);
27
+ return r && (e ? t[vt] = n : delete t[vt]), o;
28
+ }
29
+ var vr = Object.prototype, br = vr.toString;
30
+ function wr(t) {
31
+ return br.call(t);
32
+ }
33
+ var _r = "[object Null]", Or = "[object Undefined]", Ee = J ? J.toStringTag : void 0;
34
+ function it(t) {
35
+ return t == null ? t === void 0 ? Or : _r : Ee && Ee in Object(t) ? gr(t) : wr(t);
36
+ }
37
+ function dt(t) {
38
+ return t != null && typeof t == "object";
39
+ }
40
+ var jr = Array.isArray;
41
+ const Zt = jr;
42
+ var Ae = J ? J.prototype : void 0;
43
+ Ae && Ae.toString;
44
+ function st(t) {
45
+ var e = typeof t;
46
+ return t != null && (e == "object" || e == "function");
47
+ }
48
+ function yn(t) {
49
+ return t;
50
+ }
51
+ var Sr = "[object AsyncFunction]", xr = "[object Function]", Er = "[object GeneratorFunction]", Ar = "[object Proxy]";
52
+ function me(t) {
53
+ if (!st(t))
54
+ return !1;
55
+ var e = it(t);
56
+ return e == xr || e == Er || e == Sr || e == Ar;
57
+ }
58
+ var Rr = V["__core-js_shared__"];
59
+ const Yt = Rr;
60
+ var Re = function() {
61
+ var t = /[^.]+$/.exec(Yt && Yt.keys && Yt.keys.IE_PROTO || "");
62
+ return t ? "Symbol(src)_1." + t : "";
63
+ }();
64
+ function Tr(t) {
65
+ return !!Re && Re in t;
66
+ }
67
+ var Cr = Function.prototype, Dr = Cr.toString;
68
+ function at(t) {
69
+ if (t != null) {
70
+ try {
71
+ return Dr.call(t);
72
+ } catch {
73
+ }
74
+ try {
75
+ return t + "";
76
+ } catch {
77
+ }
78
+ }
79
+ return "";
80
+ }
81
+ var Mr = /[\\^$.*+?()[\]{}|]/g, Pr = /^\[object .+?Constructor\]$/, Nr = Function.prototype, Br = Object.prototype, Fr = Nr.toString, kr = Br.hasOwnProperty, Lr = RegExp(
82
+ "^" + Fr.call(kr).replace(Mr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
83
+ );
84
+ function Ur(t) {
85
+ if (!st(t) || Tr(t))
86
+ return !1;
87
+ var e = me(t) ? Lr : Pr;
88
+ return e.test(at(t));
89
+ }
90
+ function $r(t, e) {
91
+ return t?.[e];
92
+ }
93
+ function ct(t, e) {
94
+ var n = $r(t, e);
95
+ return Ur(n) ? n : void 0;
96
+ }
97
+ var Ir = ct(V, "WeakMap");
98
+ const Qt = Ir;
99
+ var Te = Object.create, zr = function() {
100
+ function t() {
101
+ }
102
+ return function(e) {
103
+ if (!st(e))
104
+ return {};
105
+ if (Te)
106
+ return Te(e);
107
+ t.prototype = e;
108
+ var n = new t();
109
+ return t.prototype = void 0, n;
110
+ };
111
+ }();
112
+ const Hr = zr;
113
+ function gn(t, e, n) {
114
+ switch (n.length) {
115
+ case 0:
116
+ return t.call(e);
117
+ case 1:
118
+ return t.call(e, n[0]);
119
+ case 2:
120
+ return t.call(e, n[0], n[1]);
121
+ case 3:
122
+ return t.call(e, n[0], n[1], n[2]);
123
+ }
124
+ return t.apply(e, n);
125
+ }
126
+ function Yr(t, e) {
127
+ var n = -1, r = t.length;
128
+ for (e || (e = Array(r)); ++n < r; )
129
+ e[n] = t[n];
130
+ return e;
131
+ }
132
+ var Wr = 800, qr = 16, Jr = Date.now;
133
+ function Vr(t) {
134
+ var e = 0, n = 0;
135
+ return function() {
136
+ var r = Jr(), o = qr - (r - n);
137
+ if (n = r, o > 0) {
138
+ if (++e >= Wr)
139
+ return arguments[0];
140
+ } else
141
+ e = 0;
142
+ return t.apply(void 0, arguments);
143
+ };
144
+ }
145
+ function Kr(t) {
146
+ return function() {
147
+ return t;
148
+ };
149
+ }
150
+ var Gr = function() {
151
+ try {
152
+ var t = ct(Object, "defineProperty");
153
+ return t({}, "", {}), t;
154
+ } catch {
155
+ }
156
+ }();
157
+ const Mt = Gr;
158
+ var Zr = Mt ? function(t, e) {
159
+ return Mt(t, "toString", {
160
+ configurable: !0,
161
+ enumerable: !1,
162
+ value: Kr(e),
163
+ writable: !0
164
+ });
165
+ } : yn;
166
+ const Qr = Zr;
167
+ var Xr = Vr(Qr);
168
+ const to = Xr;
169
+ var eo = 9007199254740991, no = /^(?:0|[1-9]\d*)$/;
170
+ function vn(t, e) {
171
+ var n = typeof t;
172
+ return e = e ?? eo, !!e && (n == "number" || n != "symbol" && no.test(t)) && t > -1 && t % 1 == 0 && t < e;
173
+ }
174
+ function ye(t, e, n) {
175
+ e == "__proto__" && Mt ? Mt(t, e, {
176
+ configurable: !0,
177
+ enumerable: !0,
178
+ value: n,
179
+ writable: !0
180
+ }) : t[e] = n;
181
+ }
182
+ function Ft(t, e) {
183
+ return t === e || t !== t && e !== e;
184
+ }
185
+ var ro = Object.prototype, oo = ro.hasOwnProperty;
186
+ function io(t, e, n) {
187
+ var r = t[e];
188
+ (!(oo.call(t, e) && Ft(r, n)) || n === void 0 && !(e in t)) && ye(t, e, n);
189
+ }
190
+ function bn(t, e, n, r) {
191
+ var o = !n;
192
+ n || (n = {});
193
+ for (var i = -1, s = e.length; ++i < s; ) {
194
+ var u = e[i], c = r ? r(n[u], t[u], u, n, t) : void 0;
195
+ c === void 0 && (c = t[u]), o ? ye(n, u, c) : io(n, u, c);
196
+ }
197
+ return n;
198
+ }
199
+ var Ce = Math.max;
200
+ function so(t, e, n) {
201
+ return e = Ce(e === void 0 ? t.length - 1 : e, 0), function() {
202
+ for (var r = arguments, o = -1, i = Ce(r.length - e, 0), s = Array(i); ++o < i; )
203
+ s[o] = r[e + o];
204
+ o = -1;
205
+ for (var u = Array(e + 1); ++o < e; )
206
+ u[o] = r[o];
207
+ return u[e] = n(s), gn(t, this, u);
208
+ };
209
+ }
210
+ function wn(t, e) {
211
+ return to(so(t, e, yn), t + "");
212
+ }
213
+ var ao = 9007199254740991;
214
+ function _n(t) {
215
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= ao;
216
+ }
217
+ function ge(t) {
218
+ return t != null && _n(t.length) && !me(t);
219
+ }
220
+ function co(t, e, n) {
221
+ if (!st(n))
222
+ return !1;
223
+ var r = typeof e;
224
+ return (r == "number" ? ge(n) && vn(e, n.length) : r == "string" && e in n) ? Ft(n[e], t) : !1;
225
+ }
226
+ function On(t) {
227
+ return wn(function(e, n) {
228
+ var r = -1, o = n.length, i = o > 1 ? n[o - 1] : void 0, s = o > 2 ? n[2] : void 0;
229
+ for (i = t.length > 3 && typeof i == "function" ? (o--, i) : void 0, s && co(n[0], n[1], s) && (i = o < 3 ? void 0 : i, o = 1), e = Object(e); ++r < o; ) {
230
+ var u = n[r];
231
+ u && t(e, u, r, i);
232
+ }
233
+ return e;
234
+ });
235
+ }
236
+ var uo = Object.prototype;
237
+ function jn(t) {
238
+ var e = t && t.constructor, n = typeof e == "function" && e.prototype || uo;
239
+ return t === n;
240
+ }
241
+ function fo(t, e) {
242
+ for (var n = -1, r = Array(t); ++n < t; )
243
+ r[n] = e(n);
244
+ return r;
245
+ }
246
+ var lo = "[object Arguments]";
247
+ function De(t) {
248
+ return dt(t) && it(t) == lo;
249
+ }
250
+ var Sn = Object.prototype, po = Sn.hasOwnProperty, ho = Sn.propertyIsEnumerable, mo = De(function() {
251
+ return arguments;
252
+ }()) ? De : function(t) {
253
+ return dt(t) && po.call(t, "callee") && !ho.call(t, "callee");
254
+ };
255
+ const Xt = mo;
256
+ function yo() {
257
+ return !1;
258
+ }
259
+ var xn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = xn && typeof module == "object" && module && !module.nodeType && module, go = Me && Me.exports === xn, Pe = go ? V.Buffer : void 0, vo = Pe ? Pe.isBuffer : void 0, bo = vo || yo;
260
+ const En = bo;
261
+ var wo = "[object Arguments]", _o = "[object Array]", Oo = "[object Boolean]", jo = "[object Date]", So = "[object Error]", xo = "[object Function]", Eo = "[object Map]", Ao = "[object Number]", Ro = "[object Object]", To = "[object RegExp]", Co = "[object Set]", Do = "[object String]", Mo = "[object WeakMap]", Po = "[object ArrayBuffer]", No = "[object DataView]", Bo = "[object Float32Array]", Fo = "[object Float64Array]", ko = "[object Int8Array]", Lo = "[object Int16Array]", Uo = "[object Int32Array]", $o = "[object Uint8Array]", Io = "[object Uint8ClampedArray]", zo = "[object Uint16Array]", Ho = "[object Uint32Array]", U = {};
262
+ U[Bo] = U[Fo] = U[ko] = U[Lo] = U[Uo] = U[$o] = U[Io] = U[zo] = U[Ho] = !0;
263
+ U[wo] = U[_o] = U[Po] = U[Oo] = U[No] = U[jo] = U[So] = U[xo] = U[Eo] = U[Ao] = U[Ro] = U[To] = U[Co] = U[Do] = U[Mo] = !1;
264
+ function Yo(t) {
265
+ return dt(t) && _n(t.length) && !!U[it(t)];
266
+ }
267
+ function Wo(t) {
268
+ return function(e) {
269
+ return t(e);
270
+ };
271
+ }
272
+ var An = typeof exports == "object" && exports && !exports.nodeType && exports, wt = An && typeof module == "object" && module && !module.nodeType && module, qo = wt && wt.exports === An, Wt = qo && hn.process, Jo = function() {
273
+ try {
274
+ var t = wt && wt.require && wt.require("util").types;
275
+ return t || Wt && Wt.binding && Wt.binding("util");
276
+ } catch {
277
+ }
278
+ }();
279
+ const lt = Jo;
280
+ var Ne = lt && lt.isTypedArray, Vo = Ne ? Wo(Ne) : Yo;
281
+ const Rn = Vo;
282
+ var Ko = Object.prototype, Go = Ko.hasOwnProperty;
283
+ function Zo(t, e) {
284
+ var n = Zt(t), r = !n && Xt(t), o = !n && !r && En(t), i = !n && !r && !o && Rn(t), s = n || r || o || i, u = s ? fo(t.length, String) : [], c = u.length;
285
+ for (var a in t)
286
+ (e || Go.call(t, a)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
287
+ (a == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
288
+ o && (a == "offset" || a == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
289
+ i && (a == "buffer" || a == "byteLength" || a == "byteOffset") || // Skip index properties.
290
+ vn(a, c))) && u.push(a);
291
+ return u;
292
+ }
293
+ function Qo(t, e) {
294
+ return function(n) {
295
+ return t(e(n));
296
+ };
297
+ }
298
+ function Xo(t) {
299
+ var e = [];
300
+ if (t != null)
301
+ for (var n in Object(t))
302
+ e.push(n);
303
+ return e;
304
+ }
305
+ var ti = Object.prototype, ei = ti.hasOwnProperty;
306
+ function ni(t) {
307
+ if (!st(t))
308
+ return Xo(t);
309
+ var e = jn(t), n = [];
310
+ for (var r in t)
311
+ r == "constructor" && (e || !ei.call(t, r)) || n.push(r);
312
+ return n;
313
+ }
314
+ function ve(t) {
315
+ return ge(t) ? Zo(t, !0) : ni(t);
316
+ }
317
+ On(function(t, e, n, r) {
318
+ bn(e, ve(e), t, r);
319
+ });
320
+ var ri = ct(Object, "create");
321
+ const _t = ri;
322
+ function oi() {
323
+ this.__data__ = _t ? _t(null) : {}, this.size = 0;
324
+ }
325
+ function ii(t) {
326
+ var e = this.has(t) && delete this.__data__[t];
327
+ return this.size -= e ? 1 : 0, e;
328
+ }
329
+ var si = "__lodash_hash_undefined__", ai = Object.prototype, ci = ai.hasOwnProperty;
330
+ function ui(t) {
331
+ var e = this.__data__;
332
+ if (_t) {
333
+ var n = e[t];
334
+ return n === si ? void 0 : n;
335
+ }
336
+ return ci.call(e, t) ? e[t] : void 0;
337
+ }
338
+ var fi = Object.prototype, li = fi.hasOwnProperty;
339
+ function pi(t) {
340
+ var e = this.__data__;
341
+ return _t ? e[t] !== void 0 : li.call(e, t);
342
+ }
343
+ var di = "__lodash_hash_undefined__";
344
+ function hi(t, e) {
345
+ var n = this.__data__;
346
+ return this.size += this.has(t) ? 0 : 1, n[t] = _t && e === void 0 ? di : e, this;
347
+ }
348
+ function ot(t) {
349
+ var e = -1, n = t == null ? 0 : t.length;
350
+ for (this.clear(); ++e < n; ) {
351
+ var r = t[e];
352
+ this.set(r[0], r[1]);
353
+ }
354
+ }
355
+ ot.prototype.clear = oi;
356
+ ot.prototype.delete = ii;
357
+ ot.prototype.get = ui;
358
+ ot.prototype.has = pi;
359
+ ot.prototype.set = hi;
360
+ function mi() {
361
+ this.__data__ = [], this.size = 0;
362
+ }
363
+ function kt(t, e) {
364
+ for (var n = t.length; n--; )
365
+ if (Ft(t[n][0], e))
366
+ return n;
367
+ return -1;
368
+ }
369
+ var yi = Array.prototype, gi = yi.splice;
370
+ function vi(t) {
371
+ var e = this.__data__, n = kt(e, t);
372
+ if (n < 0)
373
+ return !1;
374
+ var r = e.length - 1;
375
+ return n == r ? e.pop() : gi.call(e, n, 1), --this.size, !0;
376
+ }
377
+ function bi(t) {
378
+ var e = this.__data__, n = kt(e, t);
379
+ return n < 0 ? void 0 : e[n][1];
380
+ }
381
+ function wi(t) {
382
+ return kt(this.__data__, t) > -1;
383
+ }
384
+ function _i(t, e) {
385
+ var n = this.__data__, r = kt(n, t);
386
+ return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
387
+ }
388
+ function Z(t) {
389
+ var e = -1, n = t == null ? 0 : t.length;
390
+ for (this.clear(); ++e < n; ) {
391
+ var r = t[e];
392
+ this.set(r[0], r[1]);
393
+ }
394
+ }
395
+ Z.prototype.clear = mi;
396
+ Z.prototype.delete = vi;
397
+ Z.prototype.get = bi;
398
+ Z.prototype.has = wi;
399
+ Z.prototype.set = _i;
400
+ var Oi = ct(V, "Map");
401
+ const Ot = Oi;
402
+ function ji() {
403
+ this.size = 0, this.__data__ = {
404
+ hash: new ot(),
405
+ map: new (Ot || Z)(),
406
+ string: new ot()
407
+ };
408
+ }
409
+ function Si(t) {
410
+ var e = typeof t;
411
+ return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
412
+ }
413
+ function Lt(t, e) {
414
+ var n = t.__data__;
415
+ return Si(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
416
+ }
417
+ function xi(t) {
418
+ var e = Lt(this, t).delete(t);
419
+ return this.size -= e ? 1 : 0, e;
420
+ }
421
+ function Ei(t) {
422
+ return Lt(this, t).get(t);
423
+ }
424
+ function Ai(t) {
425
+ return Lt(this, t).has(t);
426
+ }
427
+ function Ri(t, e) {
428
+ var n = Lt(this, t), r = n.size;
429
+ return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
430
+ }
431
+ function nt(t) {
432
+ var e = -1, n = t == null ? 0 : t.length;
433
+ for (this.clear(); ++e < n; ) {
434
+ var r = t[e];
435
+ this.set(r[0], r[1]);
436
+ }
437
+ }
438
+ nt.prototype.clear = ji;
439
+ nt.prototype.delete = xi;
440
+ nt.prototype.get = Ei;
441
+ nt.prototype.has = Ai;
442
+ nt.prototype.set = Ri;
443
+ var Ti = "Expected a function";
444
+ function be(t, e) {
445
+ if (typeof t != "function" || e != null && typeof e != "function")
446
+ throw new TypeError(Ti);
447
+ var n = function() {
448
+ var r = arguments, o = e ? e.apply(this, r) : r[0], i = n.cache;
449
+ if (i.has(o))
450
+ return i.get(o);
451
+ var s = t.apply(this, r);
452
+ return n.cache = i.set(o, s) || i, s;
453
+ };
454
+ return n.cache = new (be.Cache || nt)(), n;
455
+ }
456
+ be.Cache = nt;
457
+ var Ci = 500;
458
+ function Di(t) {
459
+ var e = be(t, function(r) {
460
+ return n.size === Ci && n.clear(), r;
461
+ }), n = e.cache;
462
+ return e;
463
+ }
464
+ var Mi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Pi = /\\(\\)?/g;
465
+ Di(function(t) {
466
+ var e = [];
467
+ return t.charCodeAt(0) === 46 && e.push(""), t.replace(Mi, function(n, r, o, i) {
468
+ e.push(o ? i.replace(Pi, "$1") : r || n);
469
+ }), e;
470
+ });
471
+ var Ni = Qo(Object.getPrototypeOf, Object);
472
+ const Tn = Ni;
473
+ var Bi = "[object Object]", Fi = Function.prototype, ki = Object.prototype, Cn = Fi.toString, Li = ki.hasOwnProperty, Ui = Cn.call(Object);
474
+ function Dn(t) {
475
+ if (!dt(t) || it(t) != Bi)
476
+ return !1;
477
+ var e = Tn(t);
478
+ if (e === null)
479
+ return !0;
480
+ var n = Li.call(e, "constructor") && e.constructor;
481
+ return typeof n == "function" && n instanceof n && Cn.call(n) == Ui;
482
+ }
483
+ var $i = "[object DOMException]", Ii = "[object Error]";
484
+ function zi(t) {
485
+ if (!dt(t))
486
+ return !1;
487
+ var e = it(t);
488
+ return e == Ii || e == $i || typeof t.message == "string" && typeof t.name == "string" && !Dn(t);
489
+ }
490
+ wn(function(t, e) {
491
+ try {
492
+ return gn(t, void 0, e);
493
+ } catch (n) {
494
+ return zi(n) ? n : new Error(n);
495
+ }
496
+ });
497
+ function Hi() {
498
+ this.__data__ = new Z(), this.size = 0;
499
+ }
500
+ function Yi(t) {
501
+ var e = this.__data__, n = e.delete(t);
502
+ return this.size = e.size, n;
503
+ }
504
+ function Wi(t) {
505
+ return this.__data__.get(t);
506
+ }
507
+ function qi(t) {
508
+ return this.__data__.has(t);
509
+ }
510
+ var Ji = 200;
511
+ function Vi(t, e) {
512
+ var n = this.__data__;
513
+ if (n instanceof Z) {
514
+ var r = n.__data__;
515
+ if (!Ot || r.length < Ji - 1)
516
+ return r.push([t, e]), this.size = ++n.size, this;
517
+ n = this.__data__ = new nt(r);
518
+ }
519
+ return n.set(t, e), this.size = n.size, this;
520
+ }
521
+ function ht(t) {
522
+ var e = this.__data__ = new Z(t);
523
+ this.size = e.size;
524
+ }
525
+ ht.prototype.clear = Hi;
526
+ ht.prototype.delete = Yi;
527
+ ht.prototype.get = Wi;
528
+ ht.prototype.has = qi;
529
+ ht.prototype.set = Vi;
530
+ var Mn = typeof exports == "object" && exports && !exports.nodeType && exports, Be = Mn && typeof module == "object" && module && !module.nodeType && module, Ki = Be && Be.exports === Mn, Fe = Ki ? V.Buffer : void 0, ke = Fe ? Fe.allocUnsafe : void 0;
531
+ function Gi(t, e) {
532
+ if (e)
533
+ return t.slice();
534
+ var n = t.length, r = ke ? ke(n) : new t.constructor(n);
535
+ return t.copy(r), r;
536
+ }
537
+ var Zi = ct(V, "DataView");
538
+ const te = Zi;
539
+ var Qi = ct(V, "Promise");
540
+ const ee = Qi;
541
+ var Xi = ct(V, "Set");
542
+ const ne = Xi;
543
+ var Le = "[object Map]", ts = "[object Object]", Ue = "[object Promise]", $e = "[object Set]", Ie = "[object WeakMap]", ze = "[object DataView]", es = at(te), ns = at(Ot), rs = at(ee), os = at(ne), is = at(Qt), ft = it;
544
+ (te && ft(new te(new ArrayBuffer(1))) != ze || Ot && ft(new Ot()) != Le || ee && ft(ee.resolve()) != Ue || ne && ft(new ne()) != $e || Qt && ft(new Qt()) != Ie) && (ft = function(t) {
545
+ var e = it(t), n = e == ts ? t.constructor : void 0, r = n ? at(n) : "";
546
+ if (r)
547
+ switch (r) {
548
+ case es:
549
+ return ze;
550
+ case ns:
551
+ return Le;
552
+ case rs:
553
+ return Ue;
554
+ case os:
555
+ return $e;
556
+ case is:
557
+ return Ie;
558
+ }
559
+ return e;
560
+ });
561
+ var ss = V.Uint8Array;
562
+ const He = ss;
563
+ function as(t) {
564
+ var e = new t.constructor(t.byteLength);
565
+ return new He(e).set(new He(t)), e;
566
+ }
567
+ var Ye = J ? J.prototype : void 0;
568
+ Ye && Ye.valueOf;
569
+ function cs(t, e) {
570
+ var n = e ? as(t.buffer) : t.buffer;
571
+ return new t.constructor(n, t.byteOffset, t.length);
572
+ }
573
+ function us(t) {
574
+ return typeof t.constructor == "function" && !jn(t) ? Hr(Tn(t)) : {};
575
+ }
576
+ lt && lt.isMap;
577
+ lt && lt.isSet;
578
+ var We = J ? J.prototype : void 0;
579
+ We && We.valueOf;
580
+ function fs(t) {
581
+ return function(e, n, r) {
582
+ for (var o = -1, i = Object(e), s = r(e), u = s.length; u--; ) {
583
+ var c = s[t ? u : ++o];
584
+ if (n(i[c], c, i) === !1)
585
+ break;
586
+ }
587
+ return e;
588
+ };
589
+ }
590
+ var ls = fs();
591
+ const ps = ls;
592
+ function re(t, e, n) {
593
+ (n !== void 0 && !Ft(t[e], n) || n === void 0 && !(e in t)) && ye(t, e, n);
594
+ }
595
+ function ds(t) {
596
+ return dt(t) && ge(t);
597
+ }
598
+ function oe(t, e) {
599
+ if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
600
+ return t[e];
601
+ }
602
+ function hs(t) {
603
+ return bn(t, ve(t));
604
+ }
605
+ function ms(t, e, n, r, o, i, s) {
606
+ var u = oe(t, n), c = oe(e, n), a = s.get(c);
607
+ if (a) {
608
+ re(t, n, a);
609
+ return;
610
+ }
611
+ var m = i ? i(u, c, n + "", t, e, s) : void 0, b = m === void 0;
612
+ if (b) {
613
+ var j = Zt(c), y = !j && En(c), x = !j && !y && Rn(c);
614
+ m = c, j || y || x ? Zt(u) ? m = u : ds(u) ? m = Yr(u) : y ? (b = !1, m = Gi(c, !0)) : x ? (b = !1, m = cs(c, !0)) : m = [] : Dn(c) || Xt(c) ? (m = u, Xt(u) ? m = hs(u) : (!st(u) || me(u)) && (m = us(c))) : b = !1;
615
+ }
616
+ b && (s.set(c, m), o(m, c, r, i, s), s.delete(c)), re(t, n, m);
617
+ }
618
+ function Pn(t, e, n, r, o) {
619
+ t !== e && ps(e, function(i, s) {
620
+ if (o || (o = new ht()), st(i))
621
+ ms(t, e, s, n, Pn, r, o);
622
+ else {
623
+ var u = r ? r(oe(t, s), i, s + "", t, e, o) : void 0;
624
+ u === void 0 && (u = i), re(t, s, u);
625
+ }
626
+ }, ve);
627
+ }
628
+ var ys = On(function(t, e, n) {
629
+ Pn(t, e, n);
630
+ });
631
+ const gs = ys;
632
+ function vs(t = !0) {
633
+ const e = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
634
+ /[xy]/g,
635
+ function(n) {
636
+ const r = Math.random() * 16 | 0;
637
+ return (n === "x" ? r : r & 3 | 8).toString(16);
638
+ }
639
+ );
640
+ return t ? e.toLowerCase() : e.replace(/-/gi, "");
641
+ }
642
+ function bs(t, e) {
643
+ const n = /* @__PURE__ */ Object.create(null), r = e || ((o) => o != null);
644
+ return Object.entries(t).forEach(([o, i]) => {
645
+ r(i) && (n[o] = i);
646
+ }), n;
647
+ }
648
+ function Pt(t) {
649
+ const e = typeof t;
650
+ return e === "string" ? t.trim() : Array.isArray(t) ? t.map((n) => Pt(n)) : (t && e === "object" && Object.entries(t).forEach(([n, r]) => {
651
+ t[n] = Pt(r);
652
+ }), t);
653
+ }
654
+ function Nn(t, e) {
655
+ return function() {
656
+ return t.apply(e, arguments);
657
+ };
658
+ }
659
+ const { toString: Bn } = Object.prototype, { getPrototypeOf: we } = Object, _e = ((t) => (e) => {
660
+ const n = Bn.call(e);
661
+ return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
662
+ })(/* @__PURE__ */ Object.create(null)), Q = (t) => (t = t.toLowerCase(), (e) => _e(e) === t), Ut = (t) => (e) => typeof e === t, { isArray: mt } = Array, jt = Ut("undefined");
663
+ function ws(t) {
664
+ return t !== null && !jt(t) && t.constructor !== null && !jt(t.constructor) && et(t.constructor.isBuffer) && t.constructor.isBuffer(t);
665
+ }
666
+ const Fn = Q("ArrayBuffer");
667
+ function _s(t) {
668
+ let e;
669
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Fn(t.buffer), e;
670
+ }
671
+ const Os = Ut("string"), et = Ut("function"), kn = Ut("number"), Oe = (t) => t !== null && typeof t == "object", js = (t) => t === !0 || t === !1, Rt = (t) => {
672
+ if (_e(t) !== "object")
673
+ return !1;
674
+ const e = we(t);
675
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
676
+ }, Ss = Q("Date"), xs = Q("File"), Es = Q("Blob"), As = Q("FileList"), Rs = (t) => Oe(t) && et(t.pipe), Ts = (t) => {
677
+ const e = "[object FormData]";
678
+ return t && (typeof FormData == "function" && t instanceof FormData || Bn.call(t) === e || et(t.toString) && t.toString() === e);
679
+ }, Cs = Q("URLSearchParams"), Ds = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
680
+ function St(t, e, { allOwnKeys: n = !1 } = {}) {
681
+ if (t === null || typeof t > "u")
682
+ return;
683
+ let r, o;
684
+ if (typeof t != "object" && (t = [t]), mt(t))
685
+ for (r = 0, o = t.length; r < o; r++)
686
+ e.call(null, t[r], r, t);
687
+ else {
688
+ const i = n ? Object.getOwnPropertyNames(t) : Object.keys(t), s = i.length;
689
+ let u;
690
+ for (r = 0; r < s; r++)
691
+ u = i[r], e.call(null, t[u], u, t);
692
+ }
693
+ }
694
+ function Ln(t, e) {
695
+ e = e.toLowerCase();
696
+ const n = Object.keys(t);
697
+ let r = n.length, o;
698
+ for (; r-- > 0; )
699
+ if (o = n[r], e === o.toLowerCase())
700
+ return o;
701
+ return null;
702
+ }
703
+ const Un = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), $n = (t) => !jt(t) && t !== Un;
704
+ function ie() {
705
+ const { caseless: t } = $n(this) && this || {}, e = {}, n = (r, o) => {
706
+ const i = t && Ln(e, o) || o;
707
+ Rt(e[i]) && Rt(r) ? e[i] = ie(e[i], r) : Rt(r) ? e[i] = ie({}, r) : mt(r) ? e[i] = r.slice() : e[i] = r;
708
+ };
709
+ for (let r = 0, o = arguments.length; r < o; r++)
710
+ arguments[r] && St(arguments[r], n);
711
+ return e;
712
+ }
713
+ const Ms = (t, e, n, { allOwnKeys: r } = {}) => (St(e, (o, i) => {
714
+ n && et(o) ? t[i] = Nn(o, n) : t[i] = o;
715
+ }, { allOwnKeys: r }), t), Ps = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ns = (t, e, n, r) => {
716
+ t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
717
+ value: e.prototype
718
+ }), n && Object.assign(t.prototype, n);
719
+ }, Bs = (t, e, n, r) => {
720
+ let o, i, s;
721
+ const u = {};
722
+ if (e = e || {}, t == null)
723
+ return e;
724
+ do {
725
+ for (o = Object.getOwnPropertyNames(t), i = o.length; i-- > 0; )
726
+ s = o[i], (!r || r(s, t, e)) && !u[s] && (e[s] = t[s], u[s] = !0);
727
+ t = n !== !1 && we(t);
728
+ } while (t && (!n || n(t, e)) && t !== Object.prototype);
729
+ return e;
730
+ }, Fs = (t, e, n) => {
731
+ t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
732
+ const r = t.indexOf(e, n);
733
+ return r !== -1 && r === n;
734
+ }, ks = (t) => {
735
+ if (!t)
736
+ return null;
737
+ if (mt(t))
738
+ return t;
739
+ let e = t.length;
740
+ if (!kn(e))
741
+ return null;
742
+ const n = new Array(e);
743
+ for (; e-- > 0; )
744
+ n[e] = t[e];
745
+ return n;
746
+ }, Ls = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && we(Uint8Array)), Us = (t, e) => {
747
+ const n = (t && t[Symbol.iterator]).call(t);
748
+ let r;
749
+ for (; (r = n.next()) && !r.done; ) {
750
+ const o = r.value;
751
+ e.call(t, o[0], o[1]);
752
+ }
753
+ }, $s = (t, e) => {
754
+ let n;
755
+ const r = [];
756
+ for (; (n = t.exec(e)) !== null; )
757
+ r.push(n);
758
+ return r;
759
+ }, Is = Q("HTMLFormElement"), zs = (t) => t.toLowerCase().replace(
760
+ /[-_\s]([a-z\d])(\w*)/g,
761
+ function(e, n, r) {
762
+ return n.toUpperCase() + r;
763
+ }
764
+ ), qe = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Hs = Q("RegExp"), In = (t, e) => {
765
+ const n = Object.getOwnPropertyDescriptors(t), r = {};
766
+ St(n, (o, i) => {
767
+ e(o, i, t) !== !1 && (r[i] = o);
768
+ }), Object.defineProperties(t, r);
769
+ }, Ys = (t) => {
770
+ In(t, (e, n) => {
771
+ if (et(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
772
+ return !1;
773
+ const r = t[n];
774
+ if (et(r)) {
775
+ if (e.enumerable = !1, "writable" in e) {
776
+ e.writable = !1;
777
+ return;
778
+ }
779
+ e.set || (e.set = () => {
780
+ throw Error("Can not rewrite read-only method '" + n + "'");
781
+ });
782
+ }
783
+ });
784
+ }, Ws = (t, e) => {
785
+ const n = {}, r = (o) => {
786
+ o.forEach((i) => {
787
+ n[i] = !0;
788
+ });
789
+ };
790
+ return mt(t) ? r(t) : r(String(t).split(e)), n;
791
+ }, qs = () => {
792
+ }, Js = (t, e) => (t = +t, Number.isFinite(t) ? t : e), qt = "abcdefghijklmnopqrstuvwxyz", Je = "0123456789", zn = {
793
+ DIGIT: Je,
794
+ ALPHA: qt,
795
+ ALPHA_DIGIT: qt + qt.toUpperCase() + Je
796
+ }, Vs = (t = 16, e = zn.ALPHA_DIGIT) => {
797
+ let n = "";
798
+ const { length: r } = e;
799
+ for (; t--; )
800
+ n += e[Math.random() * r | 0];
801
+ return n;
802
+ };
803
+ function Ks(t) {
804
+ return !!(t && et(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
805
+ }
806
+ const Gs = (t) => {
807
+ const e = new Array(10), n = (r, o) => {
808
+ if (Oe(r)) {
809
+ if (e.indexOf(r) >= 0)
810
+ return;
811
+ if (!("toJSON" in r)) {
812
+ e[o] = r;
813
+ const i = mt(r) ? [] : {};
814
+ return St(r, (s, u) => {
815
+ const c = n(s, o + 1);
816
+ !jt(c) && (i[u] = c);
817
+ }), e[o] = void 0, i;
818
+ }
819
+ }
820
+ return r;
821
+ };
822
+ return n(t, 0);
823
+ }, f = {
824
+ isArray: mt,
825
+ isArrayBuffer: Fn,
826
+ isBuffer: ws,
827
+ isFormData: Ts,
828
+ isArrayBufferView: _s,
829
+ isString: Os,
830
+ isNumber: kn,
831
+ isBoolean: js,
832
+ isObject: Oe,
833
+ isPlainObject: Rt,
834
+ isUndefined: jt,
835
+ isDate: Ss,
836
+ isFile: xs,
837
+ isBlob: Es,
838
+ isRegExp: Hs,
839
+ isFunction: et,
840
+ isStream: Rs,
841
+ isURLSearchParams: Cs,
842
+ isTypedArray: Ls,
843
+ isFileList: As,
844
+ forEach: St,
845
+ merge: ie,
846
+ extend: Ms,
847
+ trim: Ds,
848
+ stripBOM: Ps,
849
+ inherits: Ns,
850
+ toFlatObject: Bs,
851
+ kindOf: _e,
852
+ kindOfTest: Q,
853
+ endsWith: Fs,
854
+ toArray: ks,
855
+ forEachEntry: Us,
856
+ matchAll: $s,
857
+ isHTMLForm: Is,
858
+ hasOwnProperty: qe,
859
+ hasOwnProp: qe,
860
+ // an alias to avoid ESLint no-prototype-builtins detection
861
+ reduceDescriptors: In,
862
+ freezeMethods: Ys,
863
+ toObjectSet: Ws,
864
+ toCamelCase: zs,
865
+ noop: qs,
866
+ toFiniteNumber: Js,
867
+ findKey: Ln,
868
+ global: Un,
869
+ isContextDefined: $n,
870
+ ALPHABET: zn,
871
+ generateString: Vs,
872
+ isSpecCompliantForm: Ks,
873
+ toJSONObject: Gs
874
+ };
875
+ function k(t, e, n, r, o) {
876
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), o && (this.response = o);
877
+ }
878
+ f.inherits(k, Error, {
879
+ toJSON: function() {
880
+ return {
881
+ // Standard
882
+ message: this.message,
883
+ name: this.name,
884
+ // Microsoft
885
+ description: this.description,
886
+ number: this.number,
887
+ // Mozilla
888
+ fileName: this.fileName,
889
+ lineNumber: this.lineNumber,
890
+ columnNumber: this.columnNumber,
891
+ stack: this.stack,
892
+ // Axios
893
+ config: f.toJSONObject(this.config),
894
+ code: this.code,
895
+ status: this.response && this.response.status ? this.response.status : null
896
+ };
897
+ }
898
+ });
899
+ const Hn = k.prototype, Yn = {};
900
+ [
901
+ "ERR_BAD_OPTION_VALUE",
902
+ "ERR_BAD_OPTION",
903
+ "ECONNABORTED",
904
+ "ETIMEDOUT",
905
+ "ERR_NETWORK",
906
+ "ERR_FR_TOO_MANY_REDIRECTS",
907
+ "ERR_DEPRECATED",
908
+ "ERR_BAD_RESPONSE",
909
+ "ERR_BAD_REQUEST",
910
+ "ERR_CANCELED",
911
+ "ERR_NOT_SUPPORT",
912
+ "ERR_INVALID_URL"
913
+ // eslint-disable-next-line func-names
914
+ ].forEach((t) => {
915
+ Yn[t] = { value: t };
916
+ });
917
+ Object.defineProperties(k, Yn);
918
+ Object.defineProperty(Hn, "isAxiosError", { value: !0 });
919
+ k.from = (t, e, n, r, o, i) => {
920
+ const s = Object.create(Hn);
921
+ return f.toFlatObject(t, s, function(u) {
922
+ return u !== Error.prototype;
923
+ }, (u) => u !== "isAxiosError"), k.call(s, t.message, e, n, r, o), s.cause = t, s.name = t.name, i && Object.assign(s, i), s;
924
+ };
925
+ const Zs = null;
926
+ function se(t) {
927
+ return f.isPlainObject(t) || f.isArray(t);
928
+ }
929
+ function Wn(t) {
930
+ return f.endsWith(t, "[]") ? t.slice(0, -2) : t;
931
+ }
932
+ function Ve(t, e, n) {
933
+ return t ? t.concat(e).map(function(r, o) {
934
+ return r = Wn(r), !n && o ? "[" + r + "]" : r;
935
+ }).join(n ? "." : "") : e;
936
+ }
937
+ function Qs(t) {
938
+ return f.isArray(t) && !t.some(se);
939
+ }
940
+ const Xs = f.toFlatObject(f, {}, null, function(t) {
941
+ return /^is[A-Z]/.test(t);
942
+ });
943
+ function $t(t, e, n) {
944
+ if (!f.isObject(t))
945
+ throw new TypeError("target must be an object");
946
+ e = e || new FormData(), n = f.toFlatObject(n, {
947
+ metaTokens: !0,
948
+ dots: !1,
949
+ indexes: !1
950
+ }, !1, function(y, x) {
951
+ return !f.isUndefined(x[y]);
952
+ });
953
+ const r = n.metaTokens, o = n.visitor || a, i = n.dots, s = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(e);
954
+ if (!f.isFunction(o))
955
+ throw new TypeError("visitor must be a function");
956
+ function c(y) {
957
+ if (y === null)
958
+ return "";
959
+ if (f.isDate(y))
960
+ return y.toISOString();
961
+ if (!u && f.isBlob(y))
962
+ throw new k("Blob is not supported. Use a Buffer instead.");
963
+ return f.isArrayBuffer(y) || f.isTypedArray(y) ? u && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
964
+ }
965
+ function a(y, x, E) {
966
+ let A = y;
967
+ if (y && !E && typeof y == "object") {
968
+ if (f.endsWith(x, "{}"))
969
+ x = r ? x : x.slice(0, -2), y = JSON.stringify(y);
970
+ else if (f.isArray(y) && Qs(y) || f.isFileList(y) || f.endsWith(x, "[]") && (A = f.toArray(y)))
971
+ return x = Wn(x), A.forEach(function($, h) {
972
+ !(f.isUndefined($) || $ === null) && e.append(
973
+ // eslint-disable-next-line no-nested-ternary
974
+ s === !0 ? Ve([x], h, i) : s === null ? x : x + "[]",
975
+ c($)
976
+ );
977
+ }), !1;
978
+ }
979
+ return se(y) ? !0 : (e.append(Ve(E, x, i), c(y)), !1);
980
+ }
981
+ const m = [], b = Object.assign(Xs, {
982
+ defaultVisitor: a,
983
+ convertValue: c,
984
+ isVisitable: se
985
+ });
986
+ function j(y, x) {
987
+ if (!f.isUndefined(y)) {
988
+ if (m.indexOf(y) !== -1)
989
+ throw Error("Circular reference detected in " + x.join("."));
990
+ m.push(y), f.forEach(y, function(E, A) {
991
+ (!(f.isUndefined(E) || E === null) && o.call(
992
+ e,
993
+ E,
994
+ f.isString(A) ? A.trim() : A,
995
+ x,
996
+ b
997
+ )) === !0 && j(E, x ? x.concat(A) : [A]);
998
+ }), m.pop();
999
+ }
1000
+ }
1001
+ if (!f.isObject(t))
1002
+ throw new TypeError("data must be an object");
1003
+ return j(t), e;
1004
+ }
1005
+ function Ke(t) {
1006
+ const e = {
1007
+ "!": "%21",
1008
+ "'": "%27",
1009
+ "(": "%28",
1010
+ ")": "%29",
1011
+ "~": "%7E",
1012
+ "%20": "+",
1013
+ "%00": "\0"
1014
+ };
1015
+ return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(n) {
1016
+ return e[n];
1017
+ });
1018
+ }
1019
+ function je(t, e) {
1020
+ this._pairs = [], t && $t(t, this, e);
1021
+ }
1022
+ const qn = je.prototype;
1023
+ qn.append = function(t, e) {
1024
+ this._pairs.push([t, e]);
1025
+ };
1026
+ qn.toString = function(t) {
1027
+ const e = t ? function(n) {
1028
+ return t.call(this, n, Ke);
1029
+ } : Ke;
1030
+ return this._pairs.map(function(n) {
1031
+ return e(n[0]) + "=" + e(n[1]);
1032
+ }, "").join("&");
1033
+ };
1034
+ function ta(t) {
1035
+ return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1036
+ }
1037
+ function Jn(t, e, n) {
1038
+ if (!e)
1039
+ return t;
1040
+ const r = n && n.encode || ta, o = n && n.serialize;
1041
+ let i;
1042
+ if (o ? i = o(e, n) : i = f.isURLSearchParams(e) ? e.toString() : new je(e, n).toString(r), i) {
1043
+ const s = t.indexOf("#");
1044
+ s !== -1 && (t = t.slice(0, s)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
1045
+ }
1046
+ return t;
1047
+ }
1048
+ class ea {
1049
+ constructor() {
1050
+ this.handlers = [];
1051
+ }
1052
+ /**
1053
+ * Add a new interceptor to the stack
1054
+ *
1055
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
1056
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
1057
+ *
1058
+ * @return {Number} An ID used to remove interceptor later
1059
+ */
1060
+ use(e, n, r) {
1061
+ return this.handlers.push({
1062
+ fulfilled: e,
1063
+ rejected: n,
1064
+ synchronous: r ? r.synchronous : !1,
1065
+ runWhen: r ? r.runWhen : null
1066
+ }), this.handlers.length - 1;
1067
+ }
1068
+ /**
1069
+ * Remove an interceptor from the stack
1070
+ *
1071
+ * @param {Number} id The ID that was returned by `use`
1072
+ *
1073
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1074
+ */
1075
+ eject(e) {
1076
+ this.handlers[e] && (this.handlers[e] = null);
1077
+ }
1078
+ /**
1079
+ * Clear all interceptors from the stack
1080
+ *
1081
+ * @returns {void}
1082
+ */
1083
+ clear() {
1084
+ this.handlers && (this.handlers = []);
1085
+ }
1086
+ /**
1087
+ * Iterate over all the registered interceptors
1088
+ *
1089
+ * This method is particularly useful for skipping over any
1090
+ * interceptors that may have become `null` calling `eject`.
1091
+ *
1092
+ * @param {Function} fn The function to call for each interceptor
1093
+ *
1094
+ * @returns {void}
1095
+ */
1096
+ forEach(e) {
1097
+ f.forEach(this.handlers, function(n) {
1098
+ n !== null && e(n);
1099
+ });
1100
+ }
1101
+ }
1102
+ const Ge = ea, Vn = {
1103
+ silentJSONParsing: !0,
1104
+ forcedJSONParsing: !0,
1105
+ clarifyTimeoutError: !1
1106
+ }, na = typeof URLSearchParams < "u" ? URLSearchParams : je, ra = FormData, oa = (() => {
1107
+ let t;
1108
+ return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
1109
+ })(), ia = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1110
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), q = {
1111
+ isBrowser: !0,
1112
+ classes: {
1113
+ URLSearchParams: na,
1114
+ FormData: ra,
1115
+ Blob
1116
+ },
1117
+ isStandardBrowserEnv: oa,
1118
+ isStandardBrowserWebWorkerEnv: ia,
1119
+ protocols: ["http", "https", "file", "blob", "url", "data"]
1120
+ };
1121
+ function sa(t, e) {
1122
+ return $t(t, new q.classes.URLSearchParams(), Object.assign({
1123
+ visitor: function(n, r, o, i) {
1124
+ return q.isNode && f.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1125
+ }
1126
+ }, e));
1127
+ }
1128
+ function aa(t) {
1129
+ return f.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
1130
+ }
1131
+ function ca(t) {
1132
+ const e = {}, n = Object.keys(t);
1133
+ let r;
1134
+ const o = n.length;
1135
+ let i;
1136
+ for (r = 0; r < o; r++)
1137
+ i = n[r], e[i] = t[i];
1138
+ return e;
1139
+ }
1140
+ function Kn(t) {
1141
+ function e(n, r, o, i) {
1142
+ let s = n[i++];
1143
+ const u = Number.isFinite(+s), c = i >= n.length;
1144
+ return s = !s && f.isArray(o) ? o.length : s, c ? (f.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !u) : ((!o[s] || !f.isObject(o[s])) && (o[s] = []), e(n, r, o[s], i) && f.isArray(o[s]) && (o[s] = ca(o[s])), !u);
1145
+ }
1146
+ if (f.isFormData(t) && f.isFunction(t.entries)) {
1147
+ const n = {};
1148
+ return f.forEachEntry(t, (r, o) => {
1149
+ e(aa(r), o, n, 0);
1150
+ }), n;
1151
+ }
1152
+ return null;
1153
+ }
1154
+ const ua = {
1155
+ "Content-Type": void 0
1156
+ };
1157
+ function fa(t, e, n) {
1158
+ if (f.isString(t))
1159
+ try {
1160
+ return (e || JSON.parse)(t), f.trim(t);
1161
+ } catch (r) {
1162
+ if (r.name !== "SyntaxError")
1163
+ throw r;
1164
+ }
1165
+ return (n || JSON.stringify)(t);
1166
+ }
1167
+ const It = {
1168
+ transitional: Vn,
1169
+ adapter: ["xhr", "http"],
1170
+ transformRequest: [function(t, e) {
1171
+ const n = e.getContentType() || "", r = n.indexOf("application/json") > -1, o = f.isObject(t);
1172
+ if (o && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
1173
+ return r && r ? JSON.stringify(Kn(t)) : t;
1174
+ if (f.isArrayBuffer(t) || f.isBuffer(t) || f.isStream(t) || f.isFile(t) || f.isBlob(t))
1175
+ return t;
1176
+ if (f.isArrayBufferView(t))
1177
+ return t.buffer;
1178
+ if (f.isURLSearchParams(t))
1179
+ return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1180
+ let i;
1181
+ if (o) {
1182
+ if (n.indexOf("application/x-www-form-urlencoded") > -1)
1183
+ return sa(t, this.formSerializer).toString();
1184
+ if ((i = f.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
1185
+ const s = this.env && this.env.FormData;
1186
+ return $t(
1187
+ i ? { "files[]": t } : t,
1188
+ s && new s(),
1189
+ this.formSerializer
1190
+ );
1191
+ }
1192
+ }
1193
+ return o || r ? (e.setContentType("application/json", !1), fa(t)) : t;
1194
+ }],
1195
+ transformResponse: [function(t) {
1196
+ const e = this.transitional || It.transitional, n = e && e.forcedJSONParsing, r = this.responseType === "json";
1197
+ if (t && f.isString(t) && (n && !this.responseType || r)) {
1198
+ const o = !(e && e.silentJSONParsing) && r;
1199
+ try {
1200
+ return JSON.parse(t);
1201
+ } catch (i) {
1202
+ if (o)
1203
+ throw i.name === "SyntaxError" ? k.from(i, k.ERR_BAD_RESPONSE, this, null, this.response) : i;
1204
+ }
1205
+ }
1206
+ return t;
1207
+ }],
1208
+ /**
1209
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
1210
+ * timeout is not created.
1211
+ */
1212
+ timeout: 0,
1213
+ xsrfCookieName: "XSRF-TOKEN",
1214
+ xsrfHeaderName: "X-XSRF-TOKEN",
1215
+ maxContentLength: -1,
1216
+ maxBodyLength: -1,
1217
+ env: {
1218
+ FormData: q.classes.FormData,
1219
+ Blob: q.classes.Blob
1220
+ },
1221
+ validateStatus: function(t) {
1222
+ return t >= 200 && t < 300;
1223
+ },
1224
+ headers: {
1225
+ common: {
1226
+ Accept: "application/json, text/plain, */*"
1227
+ }
1228
+ }
1229
+ };
1230
+ f.forEach(["delete", "get", "head"], function(t) {
1231
+ It.headers[t] = {};
1232
+ });
1233
+ f.forEach(["post", "put", "patch"], function(t) {
1234
+ It.headers[t] = f.merge(ua);
1235
+ });
1236
+ const Se = It, la = f.toObjectSet([
1237
+ "age",
1238
+ "authorization",
1239
+ "content-length",
1240
+ "content-type",
1241
+ "etag",
1242
+ "expires",
1243
+ "from",
1244
+ "host",
1245
+ "if-modified-since",
1246
+ "if-unmodified-since",
1247
+ "last-modified",
1248
+ "location",
1249
+ "max-forwards",
1250
+ "proxy-authorization",
1251
+ "referer",
1252
+ "retry-after",
1253
+ "user-agent"
1254
+ ]), pa = (t) => {
1255
+ const e = {};
1256
+ let n, r, o;
1257
+ return t && t.split(`
1258
+ `).forEach(function(i) {
1259
+ o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || e[n] && la[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
1260
+ }), e;
1261
+ }, Ze = Symbol("internals");
1262
+ function bt(t) {
1263
+ return t && String(t).trim().toLowerCase();
1264
+ }
1265
+ function Tt(t) {
1266
+ return t === !1 || t == null ? t : f.isArray(t) ? t.map(Tt) : String(t);
1267
+ }
1268
+ function da(t) {
1269
+ const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1270
+ let r;
1271
+ for (; r = n.exec(t); )
1272
+ e[r[1]] = r[2];
1273
+ return e;
1274
+ }
1275
+ function ha(t) {
1276
+ return /^[-_a-zA-Z]+$/.test(t.trim());
1277
+ }
1278
+ function Jt(t, e, n, r) {
1279
+ if (f.isFunction(r))
1280
+ return r.call(this, e, n);
1281
+ if (f.isString(e)) {
1282
+ if (f.isString(r))
1283
+ return e.indexOf(r) !== -1;
1284
+ if (f.isRegExp(r))
1285
+ return r.test(e);
1286
+ }
1287
+ }
1288
+ function ma(t) {
1289
+ return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
1290
+ }
1291
+ function ya(t, e) {
1292
+ const n = f.toCamelCase(" " + e);
1293
+ ["get", "set", "has"].forEach((r) => {
1294
+ Object.defineProperty(t, r + n, {
1295
+ value: function(o, i, s) {
1296
+ return this[r].call(this, e, o, i, s);
1297
+ },
1298
+ configurable: !0
1299
+ });
1300
+ });
1301
+ }
1302
+ let zt = class {
1303
+ constructor(t) {
1304
+ t && this.set(t);
1305
+ }
1306
+ set(t, e, n) {
1307
+ const r = this;
1308
+ function o(s, u, c) {
1309
+ const a = bt(u);
1310
+ if (!a)
1311
+ throw new Error("header name must be a non-empty string");
1312
+ const m = f.findKey(r, a);
1313
+ (!m || r[m] === void 0 || c === !0 || c === void 0 && r[m] !== !1) && (r[m || u] = Tt(s));
1314
+ }
1315
+ const i = (s, u) => f.forEach(s, (c, a) => o(c, a, u));
1316
+ return f.isPlainObject(t) || t instanceof this.constructor ? i(t, e) : f.isString(t) && (t = t.trim()) && !ha(t) ? i(pa(t), e) : t != null && o(e, t, n), this;
1317
+ }
1318
+ get(t, e) {
1319
+ if (t = bt(t), t) {
1320
+ const n = f.findKey(this, t);
1321
+ if (n) {
1322
+ const r = this[n];
1323
+ if (!e)
1324
+ return r;
1325
+ if (e === !0)
1326
+ return da(r);
1327
+ if (f.isFunction(e))
1328
+ return e.call(this, r, n);
1329
+ if (f.isRegExp(e))
1330
+ return e.exec(r);
1331
+ throw new TypeError("parser must be boolean|regexp|function");
1332
+ }
1333
+ }
1334
+ }
1335
+ has(t, e) {
1336
+ if (t = bt(t), t) {
1337
+ const n = f.findKey(this, t);
1338
+ return !!(n && (!e || Jt(this, this[n], n, e)));
1339
+ }
1340
+ return !1;
1341
+ }
1342
+ delete(t, e) {
1343
+ const n = this;
1344
+ let r = !1;
1345
+ function o(i) {
1346
+ if (i = bt(i), i) {
1347
+ const s = f.findKey(n, i);
1348
+ s && (!e || Jt(n, n[s], s, e)) && (delete n[s], r = !0);
1349
+ }
1350
+ }
1351
+ return f.isArray(t) ? t.forEach(o) : o(t), r;
1352
+ }
1353
+ clear(t) {
1354
+ const e = Object.keys(this);
1355
+ let n = e.length, r = !1;
1356
+ for (; n--; ) {
1357
+ const o = e[n];
1358
+ (!t || Jt(this, this[o], o, t)) && (delete this[o], r = !0);
1359
+ }
1360
+ return r;
1361
+ }
1362
+ normalize(t) {
1363
+ const e = this, n = {};
1364
+ return f.forEach(this, (r, o) => {
1365
+ const i = f.findKey(n, o);
1366
+ if (i) {
1367
+ e[i] = Tt(r), delete e[o];
1368
+ return;
1369
+ }
1370
+ const s = t ? ma(o) : String(o).trim();
1371
+ s !== o && delete e[o], e[s] = Tt(r), n[s] = !0;
1372
+ }), this;
1373
+ }
1374
+ concat(...t) {
1375
+ return this.constructor.concat(this, ...t);
1376
+ }
1377
+ toJSON(t) {
1378
+ const e = /* @__PURE__ */ Object.create(null);
1379
+ return f.forEach(this, (n, r) => {
1380
+ n != null && n !== !1 && (e[r] = t && f.isArray(n) ? n.join(", ") : n);
1381
+ }), e;
1382
+ }
1383
+ [Symbol.iterator]() {
1384
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1385
+ }
1386
+ toString() {
1387
+ return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
1388
+ `);
1389
+ }
1390
+ get [Symbol.toStringTag]() {
1391
+ return "AxiosHeaders";
1392
+ }
1393
+ static from(t) {
1394
+ return t instanceof this ? t : new this(t);
1395
+ }
1396
+ static concat(t, ...e) {
1397
+ const n = new this(t);
1398
+ return e.forEach((r) => n.set(r)), n;
1399
+ }
1400
+ static accessor(t) {
1401
+ const e = (this[Ze] = this[Ze] = {
1402
+ accessors: {}
1403
+ }).accessors, n = this.prototype;
1404
+ function r(o) {
1405
+ const i = bt(o);
1406
+ e[i] || (ya(n, o), e[i] = !0);
1407
+ }
1408
+ return f.isArray(t) ? t.forEach(r) : r(t), this;
1409
+ }
1410
+ };
1411
+ zt.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
1412
+ f.freezeMethods(zt.prototype);
1413
+ f.freezeMethods(zt);
1414
+ const G = zt;
1415
+ function Vt(t, e) {
1416
+ const n = this || Se, r = e || n, o = G.from(r.headers);
1417
+ let i = r.data;
1418
+ return f.forEach(t, function(s) {
1419
+ i = s.call(n, i, o.normalize(), e ? e.status : void 0);
1420
+ }), o.normalize(), i;
1421
+ }
1422
+ function Gn(t) {
1423
+ return !!(t && t.__CANCEL__);
1424
+ }
1425
+ function xt(t, e, n) {
1426
+ k.call(this, t ?? "canceled", k.ERR_CANCELED, e, n), this.name = "CanceledError";
1427
+ }
1428
+ f.inherits(xt, k, {
1429
+ __CANCEL__: !0
1430
+ });
1431
+ function ga(t, e, n) {
1432
+ const r = n.config.validateStatus;
1433
+ !n.status || !r || r(n.status) ? t(n) : e(new k(
1434
+ "Request failed with status code " + n.status,
1435
+ [k.ERR_BAD_REQUEST, k.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
1436
+ n.config,
1437
+ n.request,
1438
+ n
1439
+ ));
1440
+ }
1441
+ const va = q.isStandardBrowserEnv ? (
1442
+ // Standard browser envs support document.cookie
1443
+ function() {
1444
+ return {
1445
+ write: function(t, e, n, r, o, i) {
1446
+ const s = [];
1447
+ s.push(t + "=" + encodeURIComponent(e)), f.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), f.isString(r) && s.push("path=" + r), f.isString(o) && s.push("domain=" + o), i === !0 && s.push("secure"), document.cookie = s.join("; ");
1448
+ },
1449
+ read: function(t) {
1450
+ const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
1451
+ return e ? decodeURIComponent(e[3]) : null;
1452
+ },
1453
+ remove: function(t) {
1454
+ this.write(t, "", Date.now() - 864e5);
1455
+ }
1456
+ };
1457
+ }()
1458
+ ) : (
1459
+ // Non standard browser env (web workers, react-native) lack needed support.
1460
+ function() {
1461
+ return {
1462
+ write: function() {
1463
+ },
1464
+ read: function() {
1465
+ return null;
1466
+ },
1467
+ remove: function() {
1468
+ }
1469
+ };
1470
+ }()
1471
+ );
1472
+ function ba(t) {
1473
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
1474
+ }
1475
+ function wa(t, e) {
1476
+ return e ? t.replace(/\/+$/, "") + "/" + e.replace(/^\/+/, "") : t;
1477
+ }
1478
+ function Zn(t, e) {
1479
+ return t && !ba(e) ? wa(t, e) : e;
1480
+ }
1481
+ const _a = q.isStandardBrowserEnv ? (
1482
+ // Standard browser envs have full support of the APIs needed to test
1483
+ // whether the request URL is of the same origin as current location.
1484
+ function() {
1485
+ const t = /(msie|trident)/i.test(navigator.userAgent), e = document.createElement("a");
1486
+ let n;
1487
+ function r(o) {
1488
+ let i = o;
1489
+ return t && (e.setAttribute("href", i), i = e.href), e.setAttribute("href", i), {
1490
+ href: e.href,
1491
+ protocol: e.protocol ? e.protocol.replace(/:$/, "") : "",
1492
+ host: e.host,
1493
+ search: e.search ? e.search.replace(/^\?/, "") : "",
1494
+ hash: e.hash ? e.hash.replace(/^#/, "") : "",
1495
+ hostname: e.hostname,
1496
+ port: e.port,
1497
+ pathname: e.pathname.charAt(0) === "/" ? e.pathname : "/" + e.pathname
1498
+ };
1499
+ }
1500
+ return n = r(window.location.href), function(o) {
1501
+ const i = f.isString(o) ? r(o) : o;
1502
+ return i.protocol === n.protocol && i.host === n.host;
1503
+ };
1504
+ }()
1505
+ ) : (
1506
+ // Non standard browser envs (web workers, react-native) lack needed support.
1507
+ function() {
1508
+ return function() {
1509
+ return !0;
1510
+ };
1511
+ }()
1512
+ );
1513
+ function Oa(t) {
1514
+ const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
1515
+ return e && e[1] || "";
1516
+ }
1517
+ function ja(t, e) {
1518
+ t = t || 10;
1519
+ const n = new Array(t), r = new Array(t);
1520
+ let o = 0, i = 0, s;
1521
+ return e = e !== void 0 ? e : 1e3, function(u) {
1522
+ const c = Date.now(), a = r[i];
1523
+ s || (s = c), n[o] = u, r[o] = c;
1524
+ let m = i, b = 0;
1525
+ for (; m !== o; )
1526
+ b += n[m++], m = m % t;
1527
+ if (o = (o + 1) % t, o === i && (i = (i + 1) % t), c - s < e)
1528
+ return;
1529
+ const j = a && c - a;
1530
+ return j ? Math.round(b * 1e3 / j) : void 0;
1531
+ };
1532
+ }
1533
+ function Qe(t, e) {
1534
+ let n = 0;
1535
+ const r = ja(50, 250);
1536
+ return (o) => {
1537
+ const i = o.loaded, s = o.lengthComputable ? o.total : void 0, u = i - n, c = r(u), a = i <= s;
1538
+ n = i;
1539
+ const m = {
1540
+ loaded: i,
1541
+ total: s,
1542
+ progress: s ? i / s : void 0,
1543
+ bytes: u,
1544
+ rate: c || void 0,
1545
+ estimated: c && s && a ? (s - i) / c : void 0,
1546
+ event: o
1547
+ };
1548
+ m[e ? "download" : "upload"] = !0, t(m);
1549
+ };
1550
+ }
1551
+ const Sa = typeof XMLHttpRequest < "u", xa = Sa && function(t) {
1552
+ return new Promise(function(e, n) {
1553
+ let r = t.data;
1554
+ const o = G.from(t.headers).normalize(), i = t.responseType;
1555
+ let s;
1556
+ function u() {
1557
+ t.cancelToken && t.cancelToken.unsubscribe(s), t.signal && t.signal.removeEventListener("abort", s);
1558
+ }
1559
+ f.isFormData(r) && (q.isStandardBrowserEnv || q.isStandardBrowserWebWorkerEnv) && o.setContentType(!1);
1560
+ let c = new XMLHttpRequest();
1561
+ if (t.auth) {
1562
+ const j = t.auth.username || "", y = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
1563
+ o.set("Authorization", "Basic " + btoa(j + ":" + y));
1564
+ }
1565
+ const a = Zn(t.baseURL, t.url);
1566
+ c.open(t.method.toUpperCase(), Jn(a, t.params, t.paramsSerializer), !0), c.timeout = t.timeout;
1567
+ function m() {
1568
+ if (!c)
1569
+ return;
1570
+ const j = G.from(
1571
+ "getAllResponseHeaders" in c && c.getAllResponseHeaders()
1572
+ ), y = {
1573
+ data: !i || i === "text" || i === "json" ? c.responseText : c.response,
1574
+ status: c.status,
1575
+ statusText: c.statusText,
1576
+ headers: j,
1577
+ config: t,
1578
+ request: c
1579
+ };
1580
+ ga(function(x) {
1581
+ e(x), u();
1582
+ }, function(x) {
1583
+ n(x), u();
1584
+ }, y), c = null;
1585
+ }
1586
+ if ("onloadend" in c ? c.onloadend = m : c.onreadystatechange = function() {
1587
+ !c || c.readyState !== 4 || c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0) || setTimeout(m);
1588
+ }, c.onabort = function() {
1589
+ c && (n(new k("Request aborted", k.ECONNABORTED, t, c)), c = null);
1590
+ }, c.onerror = function() {
1591
+ n(new k("Network Error", k.ERR_NETWORK, t, c)), c = null;
1592
+ }, c.ontimeout = function() {
1593
+ let j = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
1594
+ const y = t.transitional || Vn;
1595
+ t.timeoutErrorMessage && (j = t.timeoutErrorMessage), n(new k(
1596
+ j,
1597
+ y.clarifyTimeoutError ? k.ETIMEDOUT : k.ECONNABORTED,
1598
+ t,
1599
+ c
1600
+ )), c = null;
1601
+ }, q.isStandardBrowserEnv) {
1602
+ const j = (t.withCredentials || _a(a)) && t.xsrfCookieName && va.read(t.xsrfCookieName);
1603
+ j && o.set(t.xsrfHeaderName, j);
1604
+ }
1605
+ r === void 0 && o.setContentType(null), "setRequestHeader" in c && f.forEach(o.toJSON(), function(j, y) {
1606
+ c.setRequestHeader(y, j);
1607
+ }), f.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), i && i !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress", Qe(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", Qe(t.onUploadProgress)), (t.cancelToken || t.signal) && (s = (j) => {
1608
+ c && (n(!j || j.type ? new xt(null, t, c) : j), c.abort(), c = null);
1609
+ }, t.cancelToken && t.cancelToken.subscribe(s), t.signal && (t.signal.aborted ? s() : t.signal.addEventListener("abort", s)));
1610
+ const b = Oa(a);
1611
+ if (b && q.protocols.indexOf(b) === -1) {
1612
+ n(new k("Unsupported protocol " + b + ":", k.ERR_BAD_REQUEST, t));
1613
+ return;
1614
+ }
1615
+ c.send(r || null);
1616
+ });
1617
+ }, Ct = {
1618
+ http: Zs,
1619
+ xhr: xa
1620
+ };
1621
+ f.forEach(Ct, (t, e) => {
1622
+ if (t) {
1623
+ try {
1624
+ Object.defineProperty(t, "name", { value: e });
1625
+ } catch {
1626
+ }
1627
+ Object.defineProperty(t, "adapterName", { value: e });
1628
+ }
1629
+ });
1630
+ const Ea = {
1631
+ getAdapter: (t) => {
1632
+ t = f.isArray(t) ? t : [t];
1633
+ const { length: e } = t;
1634
+ let n, r;
1635
+ for (let o = 0; o < e && (n = t[o], !(r = f.isString(n) ? Ct[n.toLowerCase()] : n)); o++)
1636
+ ;
1637
+ if (!r)
1638
+ throw r === !1 ? new k(
1639
+ `Adapter ${n} is not supported by the environment`,
1640
+ "ERR_NOT_SUPPORT"
1641
+ ) : new Error(
1642
+ f.hasOwnProp(Ct, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
1643
+ );
1644
+ if (!f.isFunction(r))
1645
+ throw new TypeError("adapter is not a function");
1646
+ return r;
1647
+ },
1648
+ adapters: Ct
1649
+ };
1650
+ function Kt(t) {
1651
+ if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1652
+ throw new xt(null, t);
1653
+ }
1654
+ function Xe(t) {
1655
+ return Kt(t), t.headers = G.from(t.headers), t.data = Vt.call(
1656
+ t,
1657
+ t.transformRequest
1658
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ea.getAdapter(t.adapter || Se.adapter)(t).then(function(e) {
1659
+ return Kt(t), e.data = Vt.call(
1660
+ t,
1661
+ t.transformResponse,
1662
+ e
1663
+ ), e.headers = G.from(e.headers), e;
1664
+ }, function(e) {
1665
+ return Gn(e) || (Kt(t), e && e.response && (e.response.data = Vt.call(
1666
+ t,
1667
+ t.transformResponse,
1668
+ e.response
1669
+ ), e.response.headers = G.from(e.response.headers))), Promise.reject(e);
1670
+ });
1671
+ }
1672
+ const tn = (t) => t instanceof G ? t.toJSON() : t;
1673
+ function pt(t, e) {
1674
+ e = e || {};
1675
+ const n = {};
1676
+ function r(a, m, b) {
1677
+ return f.isPlainObject(a) && f.isPlainObject(m) ? f.merge.call({ caseless: b }, a, m) : f.isPlainObject(m) ? f.merge({}, m) : f.isArray(m) ? m.slice() : m;
1678
+ }
1679
+ function o(a, m, b) {
1680
+ if (f.isUndefined(m)) {
1681
+ if (!f.isUndefined(a))
1682
+ return r(void 0, a, b);
1683
+ } else
1684
+ return r(a, m, b);
1685
+ }
1686
+ function i(a, m) {
1687
+ if (!f.isUndefined(m))
1688
+ return r(void 0, m);
1689
+ }
1690
+ function s(a, m) {
1691
+ if (f.isUndefined(m)) {
1692
+ if (!f.isUndefined(a))
1693
+ return r(void 0, a);
1694
+ } else
1695
+ return r(void 0, m);
1696
+ }
1697
+ function u(a, m, b) {
1698
+ if (b in e)
1699
+ return r(a, m);
1700
+ if (b in t)
1701
+ return r(void 0, a);
1702
+ }
1703
+ const c = {
1704
+ url: i,
1705
+ method: i,
1706
+ data: i,
1707
+ baseURL: s,
1708
+ transformRequest: s,
1709
+ transformResponse: s,
1710
+ paramsSerializer: s,
1711
+ timeout: s,
1712
+ timeoutMessage: s,
1713
+ withCredentials: s,
1714
+ adapter: s,
1715
+ responseType: s,
1716
+ xsrfCookieName: s,
1717
+ xsrfHeaderName: s,
1718
+ onUploadProgress: s,
1719
+ onDownloadProgress: s,
1720
+ decompress: s,
1721
+ maxContentLength: s,
1722
+ maxBodyLength: s,
1723
+ beforeRedirect: s,
1724
+ transport: s,
1725
+ httpAgent: s,
1726
+ httpsAgent: s,
1727
+ cancelToken: s,
1728
+ socketPath: s,
1729
+ responseEncoding: s,
1730
+ validateStatus: u,
1731
+ headers: (a, m) => o(tn(a), tn(m), !0)
1732
+ };
1733
+ return f.forEach(Object.keys(t).concat(Object.keys(e)), function(a) {
1734
+ const m = c[a] || o, b = m(t[a], e[a], a);
1735
+ f.isUndefined(b) && m !== u || (n[a] = b);
1736
+ }), n;
1737
+ }
1738
+ const Qn = "1.3.0", xe = {};
1739
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1740
+ xe[t] = function(n) {
1741
+ return typeof n === t || "a" + (e < 1 ? "n " : " ") + t;
1742
+ };
1743
+ });
1744
+ const en = {};
1745
+ xe.transitional = function(t, e, n) {
1746
+ function r(o, i) {
1747
+ return "[Axios v" + Qn + "] Transitional option '" + o + "'" + i + (n ? ". " + n : "");
1748
+ }
1749
+ return (o, i, s) => {
1750
+ if (t === !1)
1751
+ throw new k(
1752
+ r(i, " has been removed" + (e ? " in " + e : "")),
1753
+ k.ERR_DEPRECATED
1754
+ );
1755
+ return e && !en[i] && (en[i] = !0, console.warn(
1756
+ r(
1757
+ i,
1758
+ " has been deprecated since v" + e + " and will be removed in the near future"
1759
+ )
1760
+ )), t ? t(o, i, s) : !0;
1761
+ };
1762
+ };
1763
+ function Aa(t, e, n) {
1764
+ if (typeof t != "object")
1765
+ throw new k("options must be an object", k.ERR_BAD_OPTION_VALUE);
1766
+ const r = Object.keys(t);
1767
+ let o = r.length;
1768
+ for (; o-- > 0; ) {
1769
+ const i = r[o], s = e[i];
1770
+ if (s) {
1771
+ const u = t[i], c = u === void 0 || s(u, i, t);
1772
+ if (c !== !0)
1773
+ throw new k("option " + i + " must be " + c, k.ERR_BAD_OPTION_VALUE);
1774
+ continue;
1775
+ }
1776
+ if (n !== !0)
1777
+ throw new k("Unknown option " + i, k.ERR_BAD_OPTION);
1778
+ }
1779
+ }
1780
+ const ae = {
1781
+ assertOptions: Aa,
1782
+ validators: xe
1783
+ }, tt = ae.validators;
1784
+ let Nt = class {
1785
+ constructor(t) {
1786
+ this.defaults = t, this.interceptors = {
1787
+ request: new Ge(),
1788
+ response: new Ge()
1789
+ };
1790
+ }
1791
+ /**
1792
+ * Dispatch a request
1793
+ *
1794
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1795
+ * @param {?Object} config
1796
+ *
1797
+ * @returns {Promise} The Promise to be fulfilled
1798
+ */
1799
+ request(t, e) {
1800
+ typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = pt(this.defaults, e);
1801
+ const { transitional: n, paramsSerializer: r, headers: o } = e;
1802
+ n !== void 0 && ae.assertOptions(n, {
1803
+ silentJSONParsing: tt.transitional(tt.boolean),
1804
+ forcedJSONParsing: tt.transitional(tt.boolean),
1805
+ clarifyTimeoutError: tt.transitional(tt.boolean)
1806
+ }, !1), r !== void 0 && ae.assertOptions(r, {
1807
+ encode: tt.function,
1808
+ serialize: tt.function
1809
+ }, !0), e.method = (e.method || this.defaults.method || "get").toLowerCase();
1810
+ let i;
1811
+ i = o && f.merge(
1812
+ o.common,
1813
+ o[e.method]
1814
+ ), i && f.forEach(
1815
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1816
+ (y) => {
1817
+ delete o[y];
1818
+ }
1819
+ ), e.headers = G.concat(i, o);
1820
+ const s = [];
1821
+ let u = !0;
1822
+ this.interceptors.request.forEach(function(y) {
1823
+ typeof y.runWhen == "function" && y.runWhen(e) === !1 || (u = u && y.synchronous, s.unshift(y.fulfilled, y.rejected));
1824
+ });
1825
+ const c = [];
1826
+ this.interceptors.response.forEach(function(y) {
1827
+ c.push(y.fulfilled, y.rejected);
1828
+ });
1829
+ let a, m = 0, b;
1830
+ if (!u) {
1831
+ const y = [Xe.bind(this), void 0];
1832
+ for (y.unshift.apply(y, s), y.push.apply(y, c), b = y.length, a = Promise.resolve(e); m < b; )
1833
+ a = a.then(y[m++], y[m++]);
1834
+ return a;
1835
+ }
1836
+ b = s.length;
1837
+ let j = e;
1838
+ for (m = 0; m < b; ) {
1839
+ const y = s[m++], x = s[m++];
1840
+ try {
1841
+ j = y(j);
1842
+ } catch (E) {
1843
+ x.call(this, E);
1844
+ break;
1845
+ }
1846
+ }
1847
+ try {
1848
+ a = Xe.call(this, j);
1849
+ } catch (y) {
1850
+ return Promise.reject(y);
1851
+ }
1852
+ for (m = 0, b = c.length; m < b; )
1853
+ a = a.then(c[m++], c[m++]);
1854
+ return a;
1855
+ }
1856
+ getUri(t) {
1857
+ t = pt(this.defaults, t);
1858
+ const e = Zn(t.baseURL, t.url);
1859
+ return Jn(e, t.params, t.paramsSerializer);
1860
+ }
1861
+ };
1862
+ f.forEach(["delete", "get", "head", "options"], function(t) {
1863
+ Nt.prototype[t] = function(e, n) {
1864
+ return this.request(pt(n || {}, {
1865
+ method: t,
1866
+ url: e,
1867
+ data: (n || {}).data
1868
+ }));
1869
+ };
1870
+ });
1871
+ f.forEach(["post", "put", "patch"], function(t) {
1872
+ function e(n) {
1873
+ return function(r, o, i) {
1874
+ return this.request(pt(i || {}, {
1875
+ method: t,
1876
+ headers: n ? {
1877
+ "Content-Type": "multipart/form-data"
1878
+ } : {},
1879
+ url: r,
1880
+ data: o
1881
+ }));
1882
+ };
1883
+ }
1884
+ Nt.prototype[t] = e(), Nt.prototype[t + "Form"] = e(!0);
1885
+ });
1886
+ const Dt = Nt;
1887
+ let Xn = class {
1888
+ constructor(t) {
1889
+ if (typeof t != "function")
1890
+ throw new TypeError("executor must be a function.");
1891
+ let e;
1892
+ this.promise = new Promise(function(r) {
1893
+ e = r;
1894
+ });
1895
+ const n = this;
1896
+ this.promise.then((r) => {
1897
+ if (!n._listeners)
1898
+ return;
1899
+ let o = n._listeners.length;
1900
+ for (; o-- > 0; )
1901
+ n._listeners[o](r);
1902
+ n._listeners = null;
1903
+ }), this.promise.then = (r) => {
1904
+ let o;
1905
+ const i = new Promise((s) => {
1906
+ n.subscribe(s), o = s;
1907
+ }).then(r);
1908
+ return i.cancel = function() {
1909
+ n.unsubscribe(o);
1910
+ }, i;
1911
+ }, t(function(r, o, i) {
1912
+ n.reason || (n.reason = new xt(r, o, i), e(n.reason));
1913
+ });
1914
+ }
1915
+ /**
1916
+ * Throws a `CanceledError` if cancellation has been requested.
1917
+ */
1918
+ throwIfRequested() {
1919
+ if (this.reason)
1920
+ throw this.reason;
1921
+ }
1922
+ /**
1923
+ * Subscribe to the cancel signal
1924
+ */
1925
+ subscribe(t) {
1926
+ if (this.reason) {
1927
+ t(this.reason);
1928
+ return;
1929
+ }
1930
+ this._listeners ? this._listeners.push(t) : this._listeners = [t];
1931
+ }
1932
+ /**
1933
+ * Unsubscribe from the cancel signal
1934
+ */
1935
+ unsubscribe(t) {
1936
+ if (!this._listeners)
1937
+ return;
1938
+ const e = this._listeners.indexOf(t);
1939
+ e !== -1 && this._listeners.splice(e, 1);
1940
+ }
1941
+ /**
1942
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1943
+ * cancels the `CancelToken`.
1944
+ */
1945
+ static source() {
1946
+ let t;
1947
+ return {
1948
+ token: new Xn(function(e) {
1949
+ t = e;
1950
+ }),
1951
+ cancel: t
1952
+ };
1953
+ }
1954
+ };
1955
+ const Ra = Xn;
1956
+ function Ta(t) {
1957
+ return function(e) {
1958
+ return t.apply(null, e);
1959
+ };
1960
+ }
1961
+ function Ca(t) {
1962
+ return f.isObject(t) && t.isAxiosError === !0;
1963
+ }
1964
+ const ce = {
1965
+ Continue: 100,
1966
+ SwitchingProtocols: 101,
1967
+ Processing: 102,
1968
+ EarlyHints: 103,
1969
+ Ok: 200,
1970
+ Created: 201,
1971
+ Accepted: 202,
1972
+ NonAuthoritativeInformation: 203,
1973
+ NoContent: 204,
1974
+ ResetContent: 205,
1975
+ PartialContent: 206,
1976
+ MultiStatus: 207,
1977
+ AlreadyReported: 208,
1978
+ ImUsed: 226,
1979
+ MultipleChoices: 300,
1980
+ MovedPermanently: 301,
1981
+ Found: 302,
1982
+ SeeOther: 303,
1983
+ NotModified: 304,
1984
+ UseProxy: 305,
1985
+ Unused: 306,
1986
+ TemporaryRedirect: 307,
1987
+ PermanentRedirect: 308,
1988
+ BadRequest: 400,
1989
+ Unauthorized: 401,
1990
+ PaymentRequired: 402,
1991
+ Forbidden: 403,
1992
+ NotFound: 404,
1993
+ MethodNotAllowed: 405,
1994
+ NotAcceptable: 406,
1995
+ ProxyAuthenticationRequired: 407,
1996
+ RequestTimeout: 408,
1997
+ Conflict: 409,
1998
+ Gone: 410,
1999
+ LengthRequired: 411,
2000
+ PreconditionFailed: 412,
2001
+ PayloadTooLarge: 413,
2002
+ UriTooLong: 414,
2003
+ UnsupportedMediaType: 415,
2004
+ RangeNotSatisfiable: 416,
2005
+ ExpectationFailed: 417,
2006
+ ImATeapot: 418,
2007
+ MisdirectedRequest: 421,
2008
+ UnprocessableEntity: 422,
2009
+ Locked: 423,
2010
+ FailedDependency: 424,
2011
+ TooEarly: 425,
2012
+ UpgradeRequired: 426,
2013
+ PreconditionRequired: 428,
2014
+ TooManyRequests: 429,
2015
+ RequestHeaderFieldsTooLarge: 431,
2016
+ UnavailableForLegalReasons: 451,
2017
+ InternalServerError: 500,
2018
+ NotImplemented: 501,
2019
+ BadGateway: 502,
2020
+ ServiceUnavailable: 503,
2021
+ GatewayTimeout: 504,
2022
+ HttpVersionNotSupported: 505,
2023
+ VariantAlsoNegotiates: 506,
2024
+ InsufficientStorage: 507,
2025
+ LoopDetected: 508,
2026
+ NotExtended: 510,
2027
+ NetworkAuthenticationRequired: 511
2028
+ };
2029
+ Object.entries(ce).forEach(([t, e]) => {
2030
+ ce[e] = t;
2031
+ });
2032
+ const Da = ce;
2033
+ function tr(t) {
2034
+ const e = new Dt(t), n = Nn(Dt.prototype.request, e);
2035
+ return f.extend(n, Dt.prototype, e, { allOwnKeys: !0 }), f.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(r) {
2036
+ return tr(pt(t, r));
2037
+ }, n;
2038
+ }
2039
+ const I = tr(Se);
2040
+ I.Axios = Dt;
2041
+ I.CanceledError = xt;
2042
+ I.CancelToken = Ra;
2043
+ I.isCancel = Gn;
2044
+ I.VERSION = Qn;
2045
+ I.toFormData = $t;
2046
+ I.AxiosError = k;
2047
+ I.Cancel = I.CanceledError;
2048
+ I.all = function(t) {
2049
+ return Promise.all(t);
2050
+ };
2051
+ I.spread = Ta;
2052
+ I.isAxiosError = Ca;
2053
+ I.mergeConfig = pt;
2054
+ I.AxiosHeaders = G;
2055
+ I.formToJSON = (t) => Kn(f.isHTMLForm(t) ? new FormData(t) : t);
2056
+ I.HttpStatusCode = Da;
2057
+ I.default = I;
2058
+ const er = I, {
2059
+ Axios: dc,
2060
+ AxiosError: Ma,
2061
+ CanceledError: hc,
2062
+ isCancel: mc,
2063
+ CancelToken: yc,
2064
+ VERSION: gc,
2065
+ all: vc,
2066
+ Cancel: bc,
2067
+ isAxiosError: wc,
2068
+ spread: _c,
2069
+ toFormData: Oc,
2070
+ AxiosHeaders: jc,
2071
+ HttpStatusCode: Sc,
2072
+ formToJSON: xc,
2073
+ mergeConfig: Ec
2074
+ } = er, nr = er.create({
2075
+ headers: {
2076
+ "Content-Type": "application/x-www-form-urlencoded"
2077
+ },
2078
+ timeout: 60 * 1e3
2079
+ }), Pa = {
2080
+ form: "application/x-www-form-urlencoded",
2081
+ json: "application/json",
2082
+ data: "multipart/form-data"
2083
+ }, rr = "Local-Request-Id", Na = ["put", "post", "patch"], ue = {}, fe = [];
2084
+ let le = null, Bt = !1;
2085
+ const Ba = {
2086
+ loading: !0,
2087
+ // 在此时间内,请求还没回来的话,就显示加载中动画,单位ms
2088
+ loadingTime: 50,
2089
+ // 发送数据类型,支持:form、json、data
2090
+ type: "form",
2091
+ // 响应原始 Response 对象
2092
+ originResponse: !1,
2093
+ // 校验成功
2094
+ validSuccess: !0,
2095
+ // 校验成功函数
2096
+ validate: (t) => !!t.data?.success,
2097
+ // 显示失败信息
2098
+ failMessage: !0,
2099
+ // 覆盖 axios 实例的 defaults 属性
2100
+ defaults: /* @__PURE__ */ Object.create(null),
2101
+ // 清除字段值两旁的空格
2102
+ trim: !0,
2103
+ // 剔除null、undefined 空字符串的参数
2104
+ picked: !0,
2105
+ // 自定义剔除函数
2106
+ pickFilter: (t) => t != null && t !== "",
2107
+ // 警告响应code编码值
2108
+ skipWarnResponseCode: 7,
2109
+ skipWarn: !1
2110
+ };
2111
+ function Fa(t, e) {
2112
+ const n = t.headers || /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null), o = Pa[e.type || "form"];
2113
+ o && (r["Content-Type"] = o);
2114
+ const { injectHeaders: i, skipWarnExecutor: s } = e;
2115
+ if (i && Object.assign(r, i(t)), s) {
2116
+ const u = vs(!1);
2117
+ r[rr] = u, ue[u] = {
2118
+ options: t,
2119
+ settings: e
2120
+ };
2121
+ }
2122
+ return Object.assign(r, n);
2123
+ }
2124
+ function nn(t, e) {
2125
+ return !t || Array.isArray(t) ? t : bs(t, e);
2126
+ }
2127
+ function ka(t, e = "data") {
2128
+ if (t instanceof FormData || t instanceof URLSearchParams)
2129
+ return t;
2130
+ const n = e === "data" ? new FormData() : new URLSearchParams();
2131
+ return Object.entries(t).forEach(([r, o]) => {
2132
+ n.append(r, o);
2133
+ }), n;
2134
+ }
2135
+ function La(t) {
2136
+ const { loading: e, loadingTime: n, showLoading: r } = t;
2137
+ !e || !r || (fe.push(!0), clearTimeout(le), le = setTimeout(() => {
2138
+ Bt || (Bt = !0, r());
2139
+ }, n));
2140
+ }
2141
+ function Ua(t) {
2142
+ const { loading: e, hideLoading: n } = t;
2143
+ !e || !n || (clearTimeout(le), fe.pop(), fe.length === 0 && Bt && (n(), Bt = !1));
2144
+ }
2145
+ function or(t, e, n) {
2146
+ const { showError: r, failMessage: o } = t;
2147
+ !o || !r || r(e, n);
2148
+ }
2149
+ function $a(t, e) {
2150
+ const { originResponse: n, validSuccess: r, validate: o } = t, i = e.data;
2151
+ return i && i.promise ? i.promise : r && o ? o(e) ? n ? e : i.data : za(t, e) : n ? e : i;
2152
+ }
2153
+ function Ia(t, e) {
2154
+ e && e.message && or(t, e.message, e);
2155
+ }
2156
+ function za(t, e) {
2157
+ const n = e.data;
2158
+ if (n) {
2159
+ let r = (n.message || n.msg || "").replace(
2160
+ /^\[4:ReqFailure]/,
2161
+ ""
2162
+ );
2163
+ n && n.code === 500 && (r = "系统繁忙,请稍后重试!"), or(t, r, e);
2164
+ }
2165
+ return Promise.reject(e);
2166
+ }
2167
+ async function Ha(t, e) {
2168
+ const { url: n, method: r = "get" } = t, o = {
2169
+ ...Ba,
2170
+ ...t.settings || {},
2171
+ ...e
2172
+ }, i = Fa(t, o);
2173
+ delete t.settings;
2174
+ let { data: s, params: u } = t;
2175
+ if (o.picked) {
2176
+ const { pickFilter: j } = o;
2177
+ s = s && nn(s, j), u = u && nn(u, j);
2178
+ }
2179
+ o.trim && (s = s && Pt(s), u = u && Pt(u));
2180
+ const { skipWarnExecutor: c, skipWarn: a } = o;
2181
+ Na.includes(r.toLowerCase()) ? (s = c ? Object.assign(s || {}, { skipWarn: a }) : s, s = o.type !== "json" ? ka(s || {}, o.type) : s) : (u = c ? Object.assign(u || {}, { skipWarn: a }) : u, u = {
2182
+ ...u,
2183
+ ...s
2184
+ });
2185
+ const m = {
2186
+ ...t,
2187
+ url: n,
2188
+ method: r,
2189
+ params: u,
2190
+ data: s,
2191
+ headers: i
2192
+ };
2193
+ La(o);
2194
+ const b = await nr(m).catch((j) => j).finally(() => {
2195
+ Ua(o);
2196
+ });
2197
+ return b instanceof Ma && Ia(o, b), $a(o, b);
2198
+ }
2199
+ function rn(t) {
2200
+ return !!t.success;
2201
+ }
2202
+ nr.interceptors.response.use((t) => {
2203
+ const e = (t.config?.headers || {})[rr], n = ue[e];
2204
+ delete ue[e];
2205
+ const { data: r } = t;
2206
+ if (r && typeof r == "object" && (r.isSuccess = () => rn(r), r.isFail = () => !rn(r)), !n)
2207
+ return t;
2208
+ const { settings: o = {}, options: i } = n, {
2209
+ skipWarnExecutor: s,
2210
+ skipWarnResponseCode: u,
2211
+ skipWarnCallback: c,
2212
+ skipWarnFinally: a
2213
+ } = o;
2214
+ if (!s || r && typeof r != "object")
2215
+ return t;
2216
+ if (Number.parseInt(r?.code, 10) === u) {
2217
+ c && c(r);
2218
+ const m = new Promise(s).then(() => {
2219
+ o.skipWarn = !0;
2220
+ const b = Object.assign({}, i.settings, o);
2221
+ return Ha({
2222
+ ...i,
2223
+ settings: b
2224
+ });
2225
+ });
2226
+ m.catch((b) => b).finally(() => {
2227
+ a && a();
2228
+ }), r.promise = m;
2229
+ }
2230
+ return t;
2231
+ });
2232
+ /*! js-cookie v3.0.1 | MIT */
2233
+ function At(t) {
2234
+ for (var e = 1; e < arguments.length; e++) {
2235
+ var n = arguments[e];
2236
+ for (var r in n)
2237
+ t[r] = n[r];
2238
+ }
2239
+ return t;
2240
+ }
2241
+ var Ya = {
2242
+ read: function(t) {
2243
+ return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
2244
+ },
2245
+ write: function(t) {
2246
+ return encodeURIComponent(t).replace(
2247
+ /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
2248
+ decodeURIComponent
2249
+ );
2250
+ }
2251
+ };
2252
+ function pe(t, e) {
2253
+ function n(o, i, s) {
2254
+ if (!(typeof document > "u")) {
2255
+ s = At({}, e, s), typeof s.expires == "number" && (s.expires = new Date(Date.now() + s.expires * 864e5)), s.expires && (s.expires = s.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
2256
+ var u = "";
2257
+ for (var c in s)
2258
+ s[c] && (u += "; " + c, s[c] !== !0 && (u += "=" + s[c].split(";")[0]));
2259
+ return document.cookie = o + "=" + t.write(i, o) + u;
2260
+ }
2261
+ }
2262
+ function r(o) {
2263
+ if (!(typeof document > "u" || arguments.length && !o)) {
2264
+ for (var i = document.cookie ? document.cookie.split("; ") : [], s = {}, u = 0; u < i.length; u++) {
2265
+ var c = i[u].split("="), a = c.slice(1).join("=");
2266
+ try {
2267
+ var m = decodeURIComponent(c[0]);
2268
+ if (s[m] = t.read(a, m), o === m)
2269
+ break;
2270
+ } catch {
2271
+ }
2272
+ }
2273
+ return o ? s[o] : s;
2274
+ }
2275
+ }
2276
+ return Object.create(
2277
+ {
2278
+ set: n,
2279
+ get: r,
2280
+ remove: function(o, i) {
2281
+ n(
2282
+ o,
2283
+ "",
2284
+ At({}, i, {
2285
+ expires: -1
2286
+ })
2287
+ );
2288
+ },
2289
+ withAttributes: function(o) {
2290
+ return pe(this.converter, At({}, this.attributes, o));
2291
+ },
2292
+ withConverter: function(o) {
2293
+ return pe(At({}, this.converter, o), this.attributes);
2294
+ }
2295
+ },
2296
+ {
2297
+ attributes: { value: Object.freeze(e) },
2298
+ converter: { value: Object.freeze(t) }
2299
+ }
2300
+ );
2301
+ }
2302
+ pe(Ya, { path: "/" });
2303
+ var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2304
+ function Wa(t) {
2305
+ if (t.__esModule)
2306
+ return t;
2307
+ var e = t.default;
2308
+ if (typeof e == "function") {
2309
+ var n = function r() {
2310
+ if (this instanceof r) {
2311
+ var o = [null];
2312
+ o.push.apply(o, arguments);
2313
+ var i = Function.bind.apply(e, o);
2314
+ return new i();
2315
+ }
2316
+ return e.apply(this, arguments);
2317
+ };
2318
+ n.prototype = e.prototype;
2319
+ } else
2320
+ n = {};
2321
+ return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
2322
+ var o = Object.getOwnPropertyDescriptor(t, r);
2323
+ Object.defineProperty(n, r, o.get ? o : {
2324
+ enumerable: !0,
2325
+ get: function() {
2326
+ return t[r];
2327
+ }
2328
+ });
2329
+ }), n;
2330
+ }
2331
+ var on = {}, qa = {
2332
+ get exports() {
2333
+ return on;
2334
+ },
2335
+ set exports(t) {
2336
+ on = t;
2337
+ }
2338
+ };
2339
+ function Ja(t) {
2340
+ throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2341
+ }
2342
+ var de = {}, Va = {
2343
+ get exports() {
2344
+ return de;
2345
+ },
2346
+ set exports(t) {
2347
+ de = t;
2348
+ }
2349
+ };
2350
+ const Ka = {}, Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2351
+ __proto__: null,
2352
+ default: Ka
2353
+ }, Symbol.toStringTag, { value: "Module" })), Za = /* @__PURE__ */ Wa(Ga);
2354
+ var sn;
2355
+ function Qa() {
2356
+ return sn || (sn = 1, function(t, e) {
2357
+ (function(n, r) {
2358
+ t.exports = r();
2359
+ })(rt, function() {
2360
+ var n = n || function(r, o) {
2361
+ var i;
2362
+ if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && typeof rt < "u" && rt.crypto && (i = rt.crypto), !i && typeof Ja == "function")
2363
+ try {
2364
+ i = Za;
2365
+ } catch {
2366
+ }
2367
+ var s = function() {
2368
+ if (i) {
2369
+ if (typeof i.getRandomValues == "function")
2370
+ try {
2371
+ return i.getRandomValues(new Uint32Array(1))[0];
2372
+ } catch {
2373
+ }
2374
+ if (typeof i.randomBytes == "function")
2375
+ try {
2376
+ return i.randomBytes(4).readInt32LE();
2377
+ } catch {
2378
+ }
2379
+ }
2380
+ throw new Error("Native crypto module could not be used to get secure random number.");
2381
+ }, u = Object.create || function() {
2382
+ function h() {
2383
+ }
2384
+ return function(_) {
2385
+ var S;
2386
+ return h.prototype = _, S = new h(), h.prototype = null, S;
2387
+ };
2388
+ }(), c = {}, a = c.lib = {}, m = a.Base = function() {
2389
+ return {
2390
+ /**
2391
+ * Creates a new object that inherits from this object.
2392
+ *
2393
+ * @param {Object} overrides Properties to copy into the new object.
2394
+ *
2395
+ * @return {Object} The new object.
2396
+ *
2397
+ * @static
2398
+ *
2399
+ * @example
2400
+ *
2401
+ * var MyType = CryptoJS.lib.Base.extend({
2402
+ * field: 'value',
2403
+ *
2404
+ * method: function () {
2405
+ * }
2406
+ * });
2407
+ */
2408
+ extend: function(h) {
2409
+ var _ = u(this);
2410
+ return h && _.mixIn(h), (!_.hasOwnProperty("init") || this.init === _.init) && (_.init = function() {
2411
+ _.$super.init.apply(this, arguments);
2412
+ }), _.init.prototype = _, _.$super = this, _;
2413
+ },
2414
+ /**
2415
+ * Extends this object and runs the init method.
2416
+ * Arguments to create() will be passed to init().
2417
+ *
2418
+ * @return {Object} The new object.
2419
+ *
2420
+ * @static
2421
+ *
2422
+ * @example
2423
+ *
2424
+ * var instance = MyType.create();
2425
+ */
2426
+ create: function() {
2427
+ var h = this.extend();
2428
+ return h.init.apply(h, arguments), h;
2429
+ },
2430
+ /**
2431
+ * Initializes a newly created object.
2432
+ * Override this method to add some logic when your objects are created.
2433
+ *
2434
+ * @example
2435
+ *
2436
+ * var MyType = CryptoJS.lib.Base.extend({
2437
+ * init: function () {
2438
+ * // ...
2439
+ * }
2440
+ * });
2441
+ */
2442
+ init: function() {
2443
+ },
2444
+ /**
2445
+ * Copies properties into this object.
2446
+ *
2447
+ * @param {Object} properties The properties to mix in.
2448
+ *
2449
+ * @example
2450
+ *
2451
+ * MyType.mixIn({
2452
+ * field: 'value'
2453
+ * });
2454
+ */
2455
+ mixIn: function(h) {
2456
+ for (var _ in h)
2457
+ h.hasOwnProperty(_) && (this[_] = h[_]);
2458
+ h.hasOwnProperty("toString") && (this.toString = h.toString);
2459
+ },
2460
+ /**
2461
+ * Creates a copy of this object.
2462
+ *
2463
+ * @return {Object} The clone.
2464
+ *
2465
+ * @example
2466
+ *
2467
+ * var clone = instance.clone();
2468
+ */
2469
+ clone: function() {
2470
+ return this.init.prototype.extend(this);
2471
+ }
2472
+ };
2473
+ }(), b = a.WordArray = m.extend({
2474
+ /**
2475
+ * Initializes a newly created word array.
2476
+ *
2477
+ * @param {Array} words (Optional) An array of 32-bit words.
2478
+ * @param {number} sigBytes (Optional) The number of significant bytes in the words.
2479
+ *
2480
+ * @example
2481
+ *
2482
+ * var wordArray = CryptoJS.lib.WordArray.create();
2483
+ * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
2484
+ * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
2485
+ */
2486
+ init: function(h, _) {
2487
+ h = this.words = h || [], _ != o ? this.sigBytes = _ : this.sigBytes = h.length * 4;
2488
+ },
2489
+ /**
2490
+ * Converts this word array to a string.
2491
+ *
2492
+ * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
2493
+ *
2494
+ * @return {string} The stringified word array.
2495
+ *
2496
+ * @example
2497
+ *
2498
+ * var string = wordArray + '';
2499
+ * var string = wordArray.toString();
2500
+ * var string = wordArray.toString(CryptoJS.enc.Utf8);
2501
+ */
2502
+ toString: function(h) {
2503
+ return (h || y).stringify(this);
2504
+ },
2505
+ /**
2506
+ * Concatenates a word array to this word array.
2507
+ *
2508
+ * @param {WordArray} wordArray The word array to append.
2509
+ *
2510
+ * @return {WordArray} This word array.
2511
+ *
2512
+ * @example
2513
+ *
2514
+ * wordArray1.concat(wordArray2);
2515
+ */
2516
+ concat: function(h) {
2517
+ var _ = this.words, S = h.words, R = this.sigBytes, P = h.sigBytes;
2518
+ if (this.clamp(), R % 4)
2519
+ for (var L = 0; L < P; L++) {
2520
+ var z = S[L >>> 2] >>> 24 - L % 4 * 8 & 255;
2521
+ _[R + L >>> 2] |= z << 24 - (R + L) % 4 * 8;
2522
+ }
2523
+ else
2524
+ for (var B = 0; B < P; B += 4)
2525
+ _[R + B >>> 2] = S[B >>> 2];
2526
+ return this.sigBytes += P, this;
2527
+ },
2528
+ /**
2529
+ * Removes insignificant bits.
2530
+ *
2531
+ * @example
2532
+ *
2533
+ * wordArray.clamp();
2534
+ */
2535
+ clamp: function() {
2536
+ var h = this.words, _ = this.sigBytes;
2537
+ h[_ >>> 2] &= 4294967295 << 32 - _ % 4 * 8, h.length = r.ceil(_ / 4);
2538
+ },
2539
+ /**
2540
+ * Creates a copy of this word array.
2541
+ *
2542
+ * @return {WordArray} The clone.
2543
+ *
2544
+ * @example
2545
+ *
2546
+ * var clone = wordArray.clone();
2547
+ */
2548
+ clone: function() {
2549
+ var h = m.clone.call(this);
2550
+ return h.words = this.words.slice(0), h;
2551
+ },
2552
+ /**
2553
+ * Creates a word array filled with random bytes.
2554
+ *
2555
+ * @param {number} nBytes The number of random bytes to generate.
2556
+ *
2557
+ * @return {WordArray} The random word array.
2558
+ *
2559
+ * @static
2560
+ *
2561
+ * @example
2562
+ *
2563
+ * var wordArray = CryptoJS.lib.WordArray.random(16);
2564
+ */
2565
+ random: function(h) {
2566
+ for (var _ = [], S = 0; S < h; S += 4)
2567
+ _.push(s());
2568
+ return new b.init(_, h);
2569
+ }
2570
+ }), j = c.enc = {}, y = j.Hex = {
2571
+ /**
2572
+ * Converts a word array to a hex string.
2573
+ *
2574
+ * @param {WordArray} wordArray The word array.
2575
+ *
2576
+ * @return {string} The hex string.
2577
+ *
2578
+ * @static
2579
+ *
2580
+ * @example
2581
+ *
2582
+ * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
2583
+ */
2584
+ stringify: function(h) {
2585
+ for (var _ = h.words, S = h.sigBytes, R = [], P = 0; P < S; P++) {
2586
+ var L = _[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2587
+ R.push((L >>> 4).toString(16)), R.push((L & 15).toString(16));
2588
+ }
2589
+ return R.join("");
2590
+ },
2591
+ /**
2592
+ * Converts a hex string to a word array.
2593
+ *
2594
+ * @param {string} hexStr The hex string.
2595
+ *
2596
+ * @return {WordArray} The word array.
2597
+ *
2598
+ * @static
2599
+ *
2600
+ * @example
2601
+ *
2602
+ * var wordArray = CryptoJS.enc.Hex.parse(hexString);
2603
+ */
2604
+ parse: function(h) {
2605
+ for (var _ = h.length, S = [], R = 0; R < _; R += 2)
2606
+ S[R >>> 3] |= parseInt(h.substr(R, 2), 16) << 24 - R % 8 * 4;
2607
+ return new b.init(S, _ / 2);
2608
+ }
2609
+ }, x = j.Latin1 = {
2610
+ /**
2611
+ * Converts a word array to a Latin1 string.
2612
+ *
2613
+ * @param {WordArray} wordArray The word array.
2614
+ *
2615
+ * @return {string} The Latin1 string.
2616
+ *
2617
+ * @static
2618
+ *
2619
+ * @example
2620
+ *
2621
+ * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
2622
+ */
2623
+ stringify: function(h) {
2624
+ for (var _ = h.words, S = h.sigBytes, R = [], P = 0; P < S; P++) {
2625
+ var L = _[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2626
+ R.push(String.fromCharCode(L));
2627
+ }
2628
+ return R.join("");
2629
+ },
2630
+ /**
2631
+ * Converts a Latin1 string to a word array.
2632
+ *
2633
+ * @param {string} latin1Str The Latin1 string.
2634
+ *
2635
+ * @return {WordArray} The word array.
2636
+ *
2637
+ * @static
2638
+ *
2639
+ * @example
2640
+ *
2641
+ * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
2642
+ */
2643
+ parse: function(h) {
2644
+ for (var _ = h.length, S = [], R = 0; R < _; R++)
2645
+ S[R >>> 2] |= (h.charCodeAt(R) & 255) << 24 - R % 4 * 8;
2646
+ return new b.init(S, _);
2647
+ }
2648
+ }, E = j.Utf8 = {
2649
+ /**
2650
+ * Converts a word array to a UTF-8 string.
2651
+ *
2652
+ * @param {WordArray} wordArray The word array.
2653
+ *
2654
+ * @return {string} The UTF-8 string.
2655
+ *
2656
+ * @static
2657
+ *
2658
+ * @example
2659
+ *
2660
+ * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
2661
+ */
2662
+ stringify: function(h) {
2663
+ try {
2664
+ return decodeURIComponent(escape(x.stringify(h)));
2665
+ } catch {
2666
+ throw new Error("Malformed UTF-8 data");
2667
+ }
2668
+ },
2669
+ /**
2670
+ * Converts a UTF-8 string to a word array.
2671
+ *
2672
+ * @param {string} utf8Str The UTF-8 string.
2673
+ *
2674
+ * @return {WordArray} The word array.
2675
+ *
2676
+ * @static
2677
+ *
2678
+ * @example
2679
+ *
2680
+ * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
2681
+ */
2682
+ parse: function(h) {
2683
+ return x.parse(unescape(encodeURIComponent(h)));
2684
+ }
2685
+ }, A = a.BufferedBlockAlgorithm = m.extend({
2686
+ /**
2687
+ * Resets this block algorithm's data buffer to its initial state.
2688
+ *
2689
+ * @example
2690
+ *
2691
+ * bufferedBlockAlgorithm.reset();
2692
+ */
2693
+ reset: function() {
2694
+ this._data = new b.init(), this._nDataBytes = 0;
2695
+ },
2696
+ /**
2697
+ * Adds new data to this block algorithm's buffer.
2698
+ *
2699
+ * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
2700
+ *
2701
+ * @example
2702
+ *
2703
+ * bufferedBlockAlgorithm._append('data');
2704
+ * bufferedBlockAlgorithm._append(wordArray);
2705
+ */
2706
+ _append: function(h) {
2707
+ typeof h == "string" && (h = E.parse(h)), this._data.concat(h), this._nDataBytes += h.sigBytes;
2708
+ },
2709
+ /**
2710
+ * Processes available data blocks.
2711
+ *
2712
+ * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
2713
+ *
2714
+ * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
2715
+ *
2716
+ * @return {WordArray} The processed data.
2717
+ *
2718
+ * @example
2719
+ *
2720
+ * var processedData = bufferedBlockAlgorithm._process();
2721
+ * var processedData = bufferedBlockAlgorithm._process(!!'flush');
2722
+ */
2723
+ _process: function(h) {
2724
+ var _, S = this._data, R = S.words, P = S.sigBytes, L = this.blockSize, z = L * 4, B = P / z;
2725
+ h ? B = r.ceil(B) : B = r.max((B | 0) - this._minBufferSize, 0);
2726
+ var N = B * L, Y = r.min(N * 4, P);
2727
+ if (N) {
2728
+ for (var W = 0; W < N; W += L)
2729
+ this._doProcessBlock(R, W);
2730
+ _ = R.splice(0, N), S.sigBytes -= Y;
2731
+ }
2732
+ return new b.init(_, Y);
2733
+ },
2734
+ /**
2735
+ * Creates a copy of this object.
2736
+ *
2737
+ * @return {Object} The clone.
2738
+ *
2739
+ * @example
2740
+ *
2741
+ * var clone = bufferedBlockAlgorithm.clone();
2742
+ */
2743
+ clone: function() {
2744
+ var h = m.clone.call(this);
2745
+ return h._data = this._data.clone(), h;
2746
+ },
2747
+ _minBufferSize: 0
2748
+ });
2749
+ a.Hasher = A.extend({
2750
+ /**
2751
+ * Configuration options.
2752
+ */
2753
+ cfg: m.extend(),
2754
+ /**
2755
+ * Initializes a newly created hasher.
2756
+ *
2757
+ * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
2758
+ *
2759
+ * @example
2760
+ *
2761
+ * var hasher = CryptoJS.algo.SHA256.create();
2762
+ */
2763
+ init: function(h) {
2764
+ this.cfg = this.cfg.extend(h), this.reset();
2765
+ },
2766
+ /**
2767
+ * Resets this hasher to its initial state.
2768
+ *
2769
+ * @example
2770
+ *
2771
+ * hasher.reset();
2772
+ */
2773
+ reset: function() {
2774
+ A.reset.call(this), this._doReset();
2775
+ },
2776
+ /**
2777
+ * Updates this hasher with a message.
2778
+ *
2779
+ * @param {WordArray|string} messageUpdate The message to append.
2780
+ *
2781
+ * @return {Hasher} This hasher.
2782
+ *
2783
+ * @example
2784
+ *
2785
+ * hasher.update('message');
2786
+ * hasher.update(wordArray);
2787
+ */
2788
+ update: function(h) {
2789
+ return this._append(h), this._process(), this;
2790
+ },
2791
+ /**
2792
+ * Finalizes the hash computation.
2793
+ * Note that the finalize operation is effectively a destructive, read-once operation.
2794
+ *
2795
+ * @param {WordArray|string} messageUpdate (Optional) A final message update.
2796
+ *
2797
+ * @return {WordArray} The hash.
2798
+ *
2799
+ * @example
2800
+ *
2801
+ * var hash = hasher.finalize();
2802
+ * var hash = hasher.finalize('message');
2803
+ * var hash = hasher.finalize(wordArray);
2804
+ */
2805
+ finalize: function(h) {
2806
+ h && this._append(h);
2807
+ var _ = this._doFinalize();
2808
+ return _;
2809
+ },
2810
+ blockSize: 16,
2811
+ /**
2812
+ * Creates a shortcut function to a hasher's object interface.
2813
+ *
2814
+ * @param {Hasher} hasher The hasher to create a helper for.
2815
+ *
2816
+ * @return {Function} The shortcut function.
2817
+ *
2818
+ * @static
2819
+ *
2820
+ * @example
2821
+ *
2822
+ * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
2823
+ */
2824
+ _createHelper: function(h) {
2825
+ return function(_, S) {
2826
+ return new h.init(S).finalize(_);
2827
+ };
2828
+ },
2829
+ /**
2830
+ * Creates a shortcut function to the HMAC's object interface.
2831
+ *
2832
+ * @param {Hasher} hasher The hasher to use in this HMAC helper.
2833
+ *
2834
+ * @return {Function} The shortcut function.
2835
+ *
2836
+ * @static
2837
+ *
2838
+ * @example
2839
+ *
2840
+ * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
2841
+ */
2842
+ _createHmacHelper: function(h) {
2843
+ return function(_, S) {
2844
+ return new $.HMAC.init(h, S).finalize(_);
2845
+ };
2846
+ }
2847
+ });
2848
+ var $ = c.algo = {};
2849
+ return c;
2850
+ }(Math);
2851
+ return n;
2852
+ });
2853
+ }(Va)), de;
2854
+ }
2855
+ (function(t, e) {
2856
+ (function(n, r) {
2857
+ t.exports = r(Qa());
2858
+ })(rt, function(n) {
2859
+ return function(r) {
2860
+ var o = n, i = o.lib, s = i.WordArray, u = i.Hasher, c = o.algo, a = [];
2861
+ (function() {
2862
+ for (var E = 0; E < 64; E++)
2863
+ a[E] = r.abs(r.sin(E + 1)) * 4294967296 | 0;
2864
+ })();
2865
+ var m = c.MD5 = u.extend({
2866
+ _doReset: function() {
2867
+ this._hash = new s.init([
2868
+ 1732584193,
2869
+ 4023233417,
2870
+ 2562383102,
2871
+ 271733878
2872
+ ]);
2873
+ },
2874
+ _doProcessBlock: function(E, A) {
2875
+ for (var $ = 0; $ < 16; $++) {
2876
+ var h = A + $, _ = E[h];
2877
+ E[h] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360;
2878
+ }
2879
+ var S = this._hash.words, R = E[A + 0], P = E[A + 1], L = E[A + 2], z = E[A + 3], B = E[A + 4], N = E[A + 5], Y = E[A + 6], W = E[A + 7], T = E[A + 8], O = E[A + 9], v = E[A + 10], C = E[A + 11], w = E[A + 12], M = E[A + 13], D = E[A + 14], F = E[A + 15], p = S[0], l = S[1], d = S[2], g = S[3];
2880
+ p = b(p, l, d, g, R, 7, a[0]), g = b(g, p, l, d, P, 12, a[1]), d = b(d, g, p, l, L, 17, a[2]), l = b(l, d, g, p, z, 22, a[3]), p = b(p, l, d, g, B, 7, a[4]), g = b(g, p, l, d, N, 12, a[5]), d = b(d, g, p, l, Y, 17, a[6]), l = b(l, d, g, p, W, 22, a[7]), p = b(p, l, d, g, T, 7, a[8]), g = b(g, p, l, d, O, 12, a[9]), d = b(d, g, p, l, v, 17, a[10]), l = b(l, d, g, p, C, 22, a[11]), p = b(p, l, d, g, w, 7, a[12]), g = b(g, p, l, d, M, 12, a[13]), d = b(d, g, p, l, D, 17, a[14]), l = b(l, d, g, p, F, 22, a[15]), p = j(p, l, d, g, P, 5, a[16]), g = j(g, p, l, d, Y, 9, a[17]), d = j(d, g, p, l, C, 14, a[18]), l = j(l, d, g, p, R, 20, a[19]), p = j(p, l, d, g, N, 5, a[20]), g = j(g, p, l, d, v, 9, a[21]), d = j(d, g, p, l, F, 14, a[22]), l = j(l, d, g, p, B, 20, a[23]), p = j(p, l, d, g, O, 5, a[24]), g = j(g, p, l, d, D, 9, a[25]), d = j(d, g, p, l, z, 14, a[26]), l = j(l, d, g, p, T, 20, a[27]), p = j(p, l, d, g, M, 5, a[28]), g = j(g, p, l, d, L, 9, a[29]), d = j(d, g, p, l, W, 14, a[30]), l = j(l, d, g, p, w, 20, a[31]), p = y(p, l, d, g, N, 4, a[32]), g = y(g, p, l, d, T, 11, a[33]), d = y(d, g, p, l, C, 16, a[34]), l = y(l, d, g, p, D, 23, a[35]), p = y(p, l, d, g, P, 4, a[36]), g = y(g, p, l, d, B, 11, a[37]), d = y(d, g, p, l, W, 16, a[38]), l = y(l, d, g, p, v, 23, a[39]), p = y(p, l, d, g, M, 4, a[40]), g = y(g, p, l, d, R, 11, a[41]), d = y(d, g, p, l, z, 16, a[42]), l = y(l, d, g, p, Y, 23, a[43]), p = y(p, l, d, g, O, 4, a[44]), g = y(g, p, l, d, w, 11, a[45]), d = y(d, g, p, l, F, 16, a[46]), l = y(l, d, g, p, L, 23, a[47]), p = x(p, l, d, g, R, 6, a[48]), g = x(g, p, l, d, W, 10, a[49]), d = x(d, g, p, l, D, 15, a[50]), l = x(l, d, g, p, N, 21, a[51]), p = x(p, l, d, g, w, 6, a[52]), g = x(g, p, l, d, z, 10, a[53]), d = x(d, g, p, l, v, 15, a[54]), l = x(l, d, g, p, P, 21, a[55]), p = x(p, l, d, g, T, 6, a[56]), g = x(g, p, l, d, F, 10, a[57]), d = x(d, g, p, l, Y, 15, a[58]), l = x(l, d, g, p, M, 21, a[59]), p = x(p, l, d, g, B, 6, a[60]), g = x(g, p, l, d, C, 10, a[61]), d = x(d, g, p, l, L, 15, a[62]), l = x(l, d, g, p, O, 21, a[63]), S[0] = S[0] + p | 0, S[1] = S[1] + l | 0, S[2] = S[2] + d | 0, S[3] = S[3] + g | 0;
2881
+ },
2882
+ _doFinalize: function() {
2883
+ var E = this._data, A = E.words, $ = this._nDataBytes * 8, h = E.sigBytes * 8;
2884
+ A[h >>> 5] |= 128 << 24 - h % 32;
2885
+ var _ = r.floor($ / 4294967296), S = $;
2886
+ A[(h + 64 >>> 9 << 4) + 15] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, A[(h + 64 >>> 9 << 4) + 14] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, E.sigBytes = (A.length + 1) * 4, this._process();
2887
+ for (var R = this._hash, P = R.words, L = 0; L < 4; L++) {
2888
+ var z = P[L];
2889
+ P[L] = (z << 8 | z >>> 24) & 16711935 | (z << 24 | z >>> 8) & 4278255360;
2890
+ }
2891
+ return R;
2892
+ },
2893
+ clone: function() {
2894
+ var E = u.clone.call(this);
2895
+ return E._hash = this._hash.clone(), E;
2896
+ }
2897
+ });
2898
+ function b(E, A, $, h, _, S, R) {
2899
+ var P = E + (A & $ | ~A & h) + _ + R;
2900
+ return (P << S | P >>> 32 - S) + A;
2901
+ }
2902
+ function j(E, A, $, h, _, S, R) {
2903
+ var P = E + (A & h | $ & ~h) + _ + R;
2904
+ return (P << S | P >>> 32 - S) + A;
2905
+ }
2906
+ function y(E, A, $, h, _, S, R) {
2907
+ var P = E + (A ^ $ ^ h) + _ + R;
2908
+ return (P << S | P >>> 32 - S) + A;
2909
+ }
2910
+ function x(E, A, $, h, _, S, R) {
2911
+ var P = E + ($ ^ (A | ~h)) + _ + R;
2912
+ return (P << S | P >>> 32 - S) + A;
2913
+ }
2914
+ o.MD5 = u._createHelper(m), o.HmacMD5 = u._createHmacHelper(m);
2915
+ }(Math), n.MD5;
2916
+ });
2917
+ })(qa);
2918
+ var he = {}, Xa = {
2919
+ get exports() {
2920
+ return he;
2921
+ },
2922
+ set exports(t) {
2923
+ he = t;
2924
+ }
2925
+ }, an;
2926
+ function ir() {
2927
+ return an || (an = 1, function(t, e) {
2928
+ (function(n, r) {
2929
+ t.exports = r();
2930
+ })(rt, function() {
2931
+ var n = 1e3, r = 6e4, o = 36e5, i = "millisecond", s = "second", u = "minute", c = "hour", a = "day", m = "week", b = "month", j = "quarter", y = "year", x = "date", E = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|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, h = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
2932
+ var O = ["th", "st", "nd", "rd"], v = T % 100;
2933
+ return "[" + T + (O[(v - 20) % 10] || O[v] || O[0]) + "]";
2934
+ } }, _ = function(T, O, v) {
2935
+ var C = String(T);
2936
+ return !C || C.length >= O ? T : "" + Array(O + 1 - C.length).join(v) + T;
2937
+ }, S = { s: _, z: function(T) {
2938
+ var O = -T.utcOffset(), v = Math.abs(O), C = Math.floor(v / 60), w = v % 60;
2939
+ return (O <= 0 ? "+" : "-") + _(C, 2, "0") + ":" + _(w, 2, "0");
2940
+ }, m: function T(O, v) {
2941
+ if (O.date() < v.date())
2942
+ return -T(v, O);
2943
+ var C = 12 * (v.year() - O.year()) + (v.month() - O.month()), w = O.clone().add(C, b), M = v - w < 0, D = O.clone().add(C + (M ? -1 : 1), b);
2944
+ return +(-(C + (v - w) / (M ? w - D : D - w)) || 0);
2945
+ }, a: function(T) {
2946
+ return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
2947
+ }, p: function(T) {
2948
+ return { M: b, y, w: m, d: a, D: x, h: c, m: u, s, ms: i, Q: j }[T] || String(T || "").toLowerCase().replace(/s$/, "");
2949
+ }, u: function(T) {
2950
+ return T === void 0;
2951
+ } }, R = "en", P = {};
2952
+ P[R] = h;
2953
+ var L = function(T) {
2954
+ return T instanceof Y;
2955
+ }, z = function T(O, v, C) {
2956
+ var w;
2957
+ if (!O)
2958
+ return R;
2959
+ if (typeof O == "string") {
2960
+ var M = O.toLowerCase();
2961
+ P[M] && (w = M), v && (P[M] = v, w = M);
2962
+ var D = O.split("-");
2963
+ if (!w && D.length > 1)
2964
+ return T(D[0]);
2965
+ } else {
2966
+ var F = O.name;
2967
+ P[F] = O, w = F;
2968
+ }
2969
+ return !C && w && (R = w), w || !C && R;
2970
+ }, B = function(T, O) {
2971
+ if (L(T))
2972
+ return T.clone();
2973
+ var v = typeof O == "object" ? O : {};
2974
+ return v.date = T, v.args = arguments, new Y(v);
2975
+ }, N = S;
2976
+ N.l = z, N.i = L, N.w = function(T, O) {
2977
+ return B(T, { locale: O.$L, utc: O.$u, x: O.$x, $offset: O.$offset });
2978
+ };
2979
+ var Y = function() {
2980
+ function T(v) {
2981
+ this.$L = z(v.locale, null, !0), this.parse(v);
2982
+ }
2983
+ var O = T.prototype;
2984
+ return O.parse = function(v) {
2985
+ this.$d = function(C) {
2986
+ var w = C.date, M = C.utc;
2987
+ if (w === null)
2988
+ return new Date(NaN);
2989
+ if (N.u(w))
2990
+ return new Date();
2991
+ if (w instanceof Date)
2992
+ return new Date(w);
2993
+ if (typeof w == "string" && !/Z$/i.test(w)) {
2994
+ var D = w.match(A);
2995
+ if (D) {
2996
+ var F = D[2] - 1 || 0, p = (D[7] || "0").substring(0, 3);
2997
+ return M ? new Date(Date.UTC(D[1], F, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, p)) : new Date(D[1], F, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, p);
2998
+ }
2999
+ }
3000
+ return new Date(w);
3001
+ }(v), this.$x = v.x || {}, this.init();
3002
+ }, O.init = function() {
3003
+ var v = this.$d;
3004
+ this.$y = v.getFullYear(), this.$M = v.getMonth(), this.$D = v.getDate(), this.$W = v.getDay(), this.$H = v.getHours(), this.$m = v.getMinutes(), this.$s = v.getSeconds(), this.$ms = v.getMilliseconds();
3005
+ }, O.$utils = function() {
3006
+ return N;
3007
+ }, O.isValid = function() {
3008
+ return this.$d.toString() !== E;
3009
+ }, O.isSame = function(v, C) {
3010
+ var w = B(v);
3011
+ return this.startOf(C) <= w && w <= this.endOf(C);
3012
+ }, O.isAfter = function(v, C) {
3013
+ return B(v) < this.startOf(C);
3014
+ }, O.isBefore = function(v, C) {
3015
+ return this.endOf(C) < B(v);
3016
+ }, O.$g = function(v, C, w) {
3017
+ return N.u(v) ? this[C] : this.set(w, v);
3018
+ }, O.unix = function() {
3019
+ return Math.floor(this.valueOf() / 1e3);
3020
+ }, O.valueOf = function() {
3021
+ return this.$d.getTime();
3022
+ }, O.startOf = function(v, C) {
3023
+ var w = this, M = !!N.u(C) || C, D = N.p(v), F = function(ut, H) {
3024
+ var X = N.w(w.$u ? Date.UTC(w.$y, H, ut) : new Date(w.$y, H, ut), w);
3025
+ return M ? X : X.endOf(a);
3026
+ }, p = function(ut, H) {
3027
+ return N.w(w.toDate()[ut].apply(w.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(H)), w);
3028
+ }, l = this.$W, d = this.$M, g = this.$D, K = "set" + (this.$u ? "UTC" : "");
3029
+ switch (D) {
3030
+ case y:
3031
+ return M ? F(1, 0) : F(31, 11);
3032
+ case b:
3033
+ return M ? F(1, d) : F(0, d + 1);
3034
+ case m:
3035
+ var yt = this.$locale().weekStart || 0, gt = (l < yt ? l + 7 : l) - yt;
3036
+ return F(M ? g - gt : g + (6 - gt), d);
3037
+ case a:
3038
+ case x:
3039
+ return p(K + "Hours", 0);
3040
+ case c:
3041
+ return p(K + "Minutes", 1);
3042
+ case u:
3043
+ return p(K + "Seconds", 2);
3044
+ case s:
3045
+ return p(K + "Milliseconds", 3);
3046
+ default:
3047
+ return this.clone();
3048
+ }
3049
+ }, O.endOf = function(v) {
3050
+ return this.startOf(v, !1);
3051
+ }, O.$set = function(v, C) {
3052
+ var w, M = N.p(v), D = "set" + (this.$u ? "UTC" : ""), F = (w = {}, w[a] = D + "Date", w[x] = D + "Date", w[b] = D + "Month", w[y] = D + "FullYear", w[c] = D + "Hours", w[u] = D + "Minutes", w[s] = D + "Seconds", w[i] = D + "Milliseconds", w)[M], p = M === a ? this.$D + (C - this.$W) : C;
3053
+ if (M === b || M === y) {
3054
+ var l = this.clone().set(x, 1);
3055
+ l.$d[F](p), l.init(), this.$d = l.set(x, Math.min(this.$D, l.daysInMonth())).$d;
3056
+ } else
3057
+ F && this.$d[F](p);
3058
+ return this.init(), this;
3059
+ }, O.set = function(v, C) {
3060
+ return this.clone().$set(v, C);
3061
+ }, O.get = function(v) {
3062
+ return this[N.p(v)]();
3063
+ }, O.add = function(v, C) {
3064
+ var w, M = this;
3065
+ v = Number(v);
3066
+ var D = N.p(C), F = function(d) {
3067
+ var g = B(M);
3068
+ return N.w(g.date(g.date() + Math.round(d * v)), M);
3069
+ };
3070
+ if (D === b)
3071
+ return this.set(b, this.$M + v);
3072
+ if (D === y)
3073
+ return this.set(y, this.$y + v);
3074
+ if (D === a)
3075
+ return F(1);
3076
+ if (D === m)
3077
+ return F(7);
3078
+ var p = (w = {}, w[u] = r, w[c] = o, w[s] = n, w)[D] || 1, l = this.$d.getTime() + v * p;
3079
+ return N.w(l, this);
3080
+ }, O.subtract = function(v, C) {
3081
+ return this.add(-1 * v, C);
3082
+ }, O.format = function(v) {
3083
+ var C = this, w = this.$locale();
3084
+ if (!this.isValid())
3085
+ return w.invalidDate || E;
3086
+ var M = v || "YYYY-MM-DDTHH:mm:ssZ", D = N.z(this), F = this.$H, p = this.$m, l = this.$M, d = w.weekdays, g = w.months, K = function(H, X, Ht, Et) {
3087
+ return H && (H[X] || H(C, M)) || Ht[X].slice(0, Et);
3088
+ }, yt = function(H) {
3089
+ return N.s(F % 12 || 12, H, "0");
3090
+ }, gt = w.meridiem || function(H, X, Ht) {
3091
+ var Et = H < 12 ? "AM" : "PM";
3092
+ return Ht ? Et.toLowerCase() : Et;
3093
+ }, ut = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: l + 1, MM: N.s(l + 1, 2, "0"), MMM: K(w.monthsShort, l, g, 3), MMMM: K(g, l), D: this.$D, DD: N.s(this.$D, 2, "0"), d: String(this.$W), dd: K(w.weekdaysMin, this.$W, d, 2), ddd: K(w.weekdaysShort, this.$W, d, 3), dddd: d[this.$W], H: String(F), HH: N.s(F, 2, "0"), h: yt(1), hh: yt(2), a: gt(F, p, !0), A: gt(F, p, !1), m: String(p), mm: N.s(p, 2, "0"), s: String(this.$s), ss: N.s(this.$s, 2, "0"), SSS: N.s(this.$ms, 3, "0"), Z: D };
3094
+ return M.replace($, function(H, X) {
3095
+ return X || ut[H] || D.replace(":", "");
3096
+ });
3097
+ }, O.utcOffset = function() {
3098
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3099
+ }, O.diff = function(v, C, w) {
3100
+ var M, D = N.p(C), F = B(v), p = (F.utcOffset() - this.utcOffset()) * r, l = this - F, d = N.m(this, F);
3101
+ return d = (M = {}, M[y] = d / 12, M[b] = d, M[j] = d / 3, M[m] = (l - p) / 6048e5, M[a] = (l - p) / 864e5, M[c] = l / o, M[u] = l / r, M[s] = l / n, M)[D] || l, w ? d : N.a(d);
3102
+ }, O.daysInMonth = function() {
3103
+ return this.endOf(b).$D;
3104
+ }, O.$locale = function() {
3105
+ return P[this.$L];
3106
+ }, O.locale = function(v, C) {
3107
+ if (!v)
3108
+ return this.$L;
3109
+ var w = this.clone(), M = z(v, C, !0);
3110
+ return M && (w.$L = M), w;
3111
+ }, O.clone = function() {
3112
+ return N.w(this.$d, this);
3113
+ }, O.toDate = function() {
3114
+ return new Date(this.valueOf());
3115
+ }, O.toJSON = function() {
3116
+ return this.isValid() ? this.toISOString() : null;
3117
+ }, O.toISOString = function() {
3118
+ return this.$d.toISOString();
3119
+ }, O.toString = function() {
3120
+ return this.$d.toUTCString();
3121
+ }, T;
3122
+ }(), W = Y.prototype;
3123
+ return B.prototype = W, [["$ms", i], ["$s", s], ["$m", u], ["$H", c], ["$W", a], ["$M", b], ["$y", y], ["$D", x]].forEach(function(T) {
3124
+ W[T[1]] = function(O) {
3125
+ return this.$g(O, T[0], T[1]);
3126
+ };
3127
+ }), B.extend = function(T, O) {
3128
+ return T.$i || (T(O, Y, B), T.$i = !0), B;
3129
+ }, B.locale = z, B.isDayjs = L, B.unix = function(T) {
3130
+ return B(1e3 * T);
3131
+ }, B.en = P[R], B.Ls = P, B.p = {}, B;
3132
+ });
3133
+ }(Xa)), he;
3134
+ }
3135
+ ir();
3136
+ var cn = {}, tc = {
3137
+ get exports() {
3138
+ return cn;
3139
+ },
3140
+ set exports(t) {
3141
+ cn = t;
3142
+ }
3143
+ };
3144
+ (function(t, e) {
3145
+ (function(n, r) {
3146
+ t.exports = r(ir());
3147
+ })(rt, function(n) {
3148
+ function r(s) {
3149
+ return s && typeof s == "object" && "default" in s ? s : { default: s };
3150
+ }
3151
+ var o = r(n), i = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(s, u) {
3152
+ return u === "W" ? s + "周" : s + "日";
3153
+ }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(s, u) {
3154
+ var c = 100 * s + u;
3155
+ return c < 600 ? "凌晨" : c < 900 ? "早上" : c < 1100 ? "上午" : c < 1300 ? "中午" : c < 1800 ? "下午" : "晚上";
3156
+ } };
3157
+ return o.default.locale(i, null, !0), i;
3158
+ });
3159
+ })(tc);
3160
+ const un = ln({});
3161
+ function ec(t) {
3162
+ un.value = gs(Gt(un), Gt(t));
3163
+ }
3164
+ const nc = {
3165
+ tag: {
3166
+ type: String
3167
+ }
3168
+ }, rc = Symbol("ConfigContext");
3169
+ function sr(t, e) {
3170
+ const n = !!cr(), r = e?.provide ?? (n ? ur : void 0), o = ln(t);
3171
+ return r && r(rc, o), ec(o), o;
3172
+ }
3173
+ const oc = pn({
3174
+ name: "XConfig",
3175
+ props: nc,
3176
+ setup(t, { slots: e }) {
3177
+ const n = sr(t);
3178
+ return () => ar(e, "default", { config: Gt(n) });
3179
+ }
3180
+ }), ic = dn(oc), sc = {
3181
+ tag: {
3182
+ type: String,
3183
+ default: "div"
3184
+ }
3185
+ }, ac = pn({
3186
+ name: "XPage",
3187
+ props: sc,
3188
+ setup(t, { slots: e }) {
3189
+ return () => fr(
3190
+ t.tag,
3191
+ {
3192
+ class: "x-page"
3193
+ },
3194
+ e
3195
+ );
3196
+ }
3197
+ });
3198
+ dn(ac);
3199
+ const fn = Symbol("INSTALLED_KEY"), cc = (t = []) => ({
3200
+ install: (n, r) => {
3201
+ n[fn] || (n[fn] = !0, t.forEach((o) => n.use(o)), r && sr(r, n));
3202
+ }
3203
+ }), uc = [ic], fc = cc(uc), Ac = fc.install;
3204
+ export {
3205
+ uc as Components,
3206
+ fc as default,
3207
+ Ac as install
3208
+ };