UNPKG

yk-element-components

Version:

1,432 lines (1,431 loc) 77.6 kB
import { getCurrentScope as Yt, onScopeDispose as Zt, ref as H, unref as C, getCurrentInstance as Be, onMounted as ht, nextTick as Xt, watch as me, openBlock as x, createElementBlock as I, createElementVNode as P, warn as en, provide as tn, computed as R, inject as nn, defineComponent as k, mergeProps as rn, renderSlot as ye, normalizeClass as j, createVNode as te, Transition as mt, withCtx as q, withDirectives as le, toDisplayString as ce, vShow as fe, shallowReactive as sn, createBlock as K, normalizeStyle as on, createCommentVNode as X, resolveDynamicComponent as an, Fragment as un, withModifiers as ln, isVNode as yt, render as qe, resolveComponent as Ve, createTextVNode as ke } from "vue"; var gt = { exports: {} }; (function(e, t) { (function(n) { e.exports = n(); })(function(n) { var r = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; function o(d, f) { var i = d[0], s = d[1], c = d[2], l = d[3]; i += (s & c | ~s & l) + f[0] - 680876936 | 0, i = (i << 7 | i >>> 25) + s | 0, l += (i & s | ~i & c) + f[1] - 389564586 | 0, l = (l << 12 | l >>> 20) + i | 0, c += (l & i | ~l & s) + f[2] + 606105819 | 0, c = (c << 17 | c >>> 15) + l | 0, s += (c & l | ~c & i) + f[3] - 1044525330 | 0, s = (s << 22 | s >>> 10) + c | 0, i += (s & c | ~s & l) + f[4] - 176418897 | 0, i = (i << 7 | i >>> 25) + s | 0, l += (i & s | ~i & c) + f[5] + 1200080426 | 0, l = (l << 12 | l >>> 20) + i | 0, c += (l & i | ~l & s) + f[6] - 1473231341 | 0, c = (c << 17 | c >>> 15) + l | 0, s += (c & l | ~c & i) + f[7] - 45705983 | 0, s = (s << 22 | s >>> 10) + c | 0, i += (s & c | ~s & l) + f[8] + 1770035416 | 0, i = (i << 7 | i >>> 25) + s | 0, l += (i & s | ~i & c) + f[9] - 1958414417 | 0, l = (l << 12 | l >>> 20) + i | 0, c += (l & i | ~l & s) + f[10] - 42063 | 0, c = (c << 17 | c >>> 15) + l | 0, s += (c & l | ~c & i) + f[11] - 1990404162 | 0, s = (s << 22 | s >>> 10) + c | 0, i += (s & c | ~s & l) + f[12] + 1804603682 | 0, i = (i << 7 | i >>> 25) + s | 0, l += (i & s | ~i & c) + f[13] - 40341101 | 0, l = (l << 12 | l >>> 20) + i | 0, c += (l & i | ~l & s) + f[14] - 1502002290 | 0, c = (c << 17 | c >>> 15) + l | 0, s += (c & l | ~c & i) + f[15] + 1236535329 | 0, s = (s << 22 | s >>> 10) + c | 0, i += (s & l | c & ~l) + f[1] - 165796510 | 0, i = (i << 5 | i >>> 27) + s | 0, l += (i & c | s & ~c) + f[6] - 1069501632 | 0, l = (l << 9 | l >>> 23) + i | 0, c += (l & s | i & ~s) + f[11] + 643717713 | 0, c = (c << 14 | c >>> 18) + l | 0, s += (c & i | l & ~i) + f[0] - 373897302 | 0, s = (s << 20 | s >>> 12) + c | 0, i += (s & l | c & ~l) + f[5] - 701558691 | 0, i = (i << 5 | i >>> 27) + s | 0, l += (i & c | s & ~c) + f[10] + 38016083 | 0, l = (l << 9 | l >>> 23) + i | 0, c += (l & s | i & ~s) + f[15] - 660478335 | 0, c = (c << 14 | c >>> 18) + l | 0, s += (c & i | l & ~i) + f[4] - 405537848 | 0, s = (s << 20 | s >>> 12) + c | 0, i += (s & l | c & ~l) + f[9] + 568446438 | 0, i = (i << 5 | i >>> 27) + s | 0, l += (i & c | s & ~c) + f[14] - 1019803690 | 0, l = (l << 9 | l >>> 23) + i | 0, c += (l & s | i & ~s) + f[3] - 187363961 | 0, c = (c << 14 | c >>> 18) + l | 0, s += (c & i | l & ~i) + f[8] + 1163531501 | 0, s = (s << 20 | s >>> 12) + c | 0, i += (s & l | c & ~l) + f[13] - 1444681467 | 0, i = (i << 5 | i >>> 27) + s | 0, l += (i & c | s & ~c) + f[2] - 51403784 | 0, l = (l << 9 | l >>> 23) + i | 0, c += (l & s | i & ~s) + f[7] + 1735328473 | 0, c = (c << 14 | c >>> 18) + l | 0, s += (c & i | l & ~i) + f[12] - 1926607734 | 0, s = (s << 20 | s >>> 12) + c | 0, i += (s ^ c ^ l) + f[5] - 378558 | 0, i = (i << 4 | i >>> 28) + s | 0, l += (i ^ s ^ c) + f[8] - 2022574463 | 0, l = (l << 11 | l >>> 21) + i | 0, c += (l ^ i ^ s) + f[11] + 1839030562 | 0, c = (c << 16 | c >>> 16) + l | 0, s += (c ^ l ^ i) + f[14] - 35309556 | 0, s = (s << 23 | s >>> 9) + c | 0, i += (s ^ c ^ l) + f[1] - 1530992060 | 0, i = (i << 4 | i >>> 28) + s | 0, l += (i ^ s ^ c) + f[4] + 1272893353 | 0, l = (l << 11 | l >>> 21) + i | 0, c += (l ^ i ^ s) + f[7] - 155497632 | 0, c = (c << 16 | c >>> 16) + l | 0, s += (c ^ l ^ i) + f[10] - 1094730640 | 0, s = (s << 23 | s >>> 9) + c | 0, i += (s ^ c ^ l) + f[13] + 681279174 | 0, i = (i << 4 | i >>> 28) + s | 0, l += (i ^ s ^ c) + f[0] - 358537222 | 0, l = (l << 11 | l >>> 21) + i | 0, c += (l ^ i ^ s) + f[3] - 722521979 | 0, c = (c << 16 | c >>> 16) + l | 0, s += (c ^ l ^ i) + f[6] + 76029189 | 0, s = (s << 23 | s >>> 9) + c | 0, i += (s ^ c ^ l) + f[9] - 640364487 | 0, i = (i << 4 | i >>> 28) + s | 0, l += (i ^ s ^ c) + f[12] - 421815835 | 0, l = (l << 11 | l >>> 21) + i | 0, c += (l ^ i ^ s) + f[15] + 530742520 | 0, c = (c << 16 | c >>> 16) + l | 0, s += (c ^ l ^ i) + f[2] - 995338651 | 0, s = (s << 23 | s >>> 9) + c | 0, i += (c ^ (s | ~l)) + f[0] - 198630844 | 0, i = (i << 6 | i >>> 26) + s | 0, l += (s ^ (i | ~c)) + f[7] + 1126891415 | 0, l = (l << 10 | l >>> 22) + i | 0, c += (i ^ (l | ~s)) + f[14] - 1416354905 | 0, c = (c << 15 | c >>> 17) + l | 0, s += (l ^ (c | ~i)) + f[5] - 57434055 | 0, s = (s << 21 | s >>> 11) + c | 0, i += (c ^ (s | ~l)) + f[12] + 1700485571 | 0, i = (i << 6 | i >>> 26) + s | 0, l += (s ^ (i | ~c)) + f[3] - 1894986606 | 0, l = (l << 10 | l >>> 22) + i | 0, c += (i ^ (l | ~s)) + f[10] - 1051523 | 0, c = (c << 15 | c >>> 17) + l | 0, s += (l ^ (c | ~i)) + f[1] - 2054922799 | 0, s = (s << 21 | s >>> 11) + c | 0, i += (c ^ (s | ~l)) + f[8] + 1873313359 | 0, i = (i << 6 | i >>> 26) + s | 0, l += (s ^ (i | ~c)) + f[15] - 30611744 | 0, l = (l << 10 | l >>> 22) + i | 0, c += (i ^ (l | ~s)) + f[6] - 1560198380 | 0, c = (c << 15 | c >>> 17) + l | 0, s += (l ^ (c | ~i)) + f[13] + 1309151649 | 0, s = (s << 21 | s >>> 11) + c | 0, i += (c ^ (s | ~l)) + f[4] - 145523070 | 0, i = (i << 6 | i >>> 26) + s | 0, l += (s ^ (i | ~c)) + f[11] - 1120210379 | 0, l = (l << 10 | l >>> 22) + i | 0, c += (i ^ (l | ~s)) + f[2] + 718787259 | 0, c = (c << 15 | c >>> 17) + l | 0, s += (l ^ (c | ~i)) + f[9] - 343485551 | 0, s = (s << 21 | s >>> 11) + c | 0, d[0] = i + d[0] | 0, d[1] = s + d[1] | 0, d[2] = c + d[2] | 0, d[3] = l + d[3] | 0; } function a(d) { var f = [], i; for (i = 0; i < 64; i += 4) f[i >> 2] = d.charCodeAt(i) + (d.charCodeAt(i + 1) << 8) + (d.charCodeAt(i + 2) << 16) + (d.charCodeAt(i + 3) << 24); return f; } function u(d) { var f = [], i; for (i = 0; i < 64; i += 4) f[i >> 2] = d[i] + (d[i + 1] << 8) + (d[i + 2] << 16) + (d[i + 3] << 24); return f; } function m(d) { var f = d.length, i = [1732584193, -271733879, -1732584194, 271733878], s, c, l, A, L, D; for (s = 64; s <= f; s += 64) o(i, a(d.substring(s - 64, s))); for (d = d.substring(s - 64), c = d.length, l = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], s = 0; s < c; s += 1) l[s >> 2] |= d.charCodeAt(s) << (s % 4 << 3); if (l[s >> 2] |= 128 << (s % 4 << 3), s > 55) for (o(i, l), s = 0; s < 16; s += 1) l[s] = 0; return A = f * 8, A = A.toString(16).match(/(.*?)(.{0,8})$/), L = parseInt(A[2], 16), D = parseInt(A[1], 16) || 0, l[14] = L, l[15] = D, o(i, l), i; } function g(d) { var f = d.length, i = [1732584193, -271733879, -1732584194, 271733878], s, c, l, A, L, D; for (s = 64; s <= f; s += 64) o(i, u(d.subarray(s - 64, s))); for (d = s - 64 < f ? d.subarray(s - 64) : new Uint8Array(0), c = d.length, l = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], s = 0; s < c; s += 1) l[s >> 2] |= d[s] << (s % 4 << 3); if (l[s >> 2] |= 128 << (s % 4 << 3), s > 55) for (o(i, l), s = 0; s < 16; s += 1) l[s] = 0; return A = f * 8, A = A.toString(16).match(/(.*?)(.{0,8})$/), L = parseInt(A[2], 16), D = parseInt(A[1], 16) || 0, l[14] = L, l[15] = D, o(i, l), i; } function p(d) { var f = "", i; for (i = 0; i < 4; i += 1) f += r[d >> i * 8 + 4 & 15] + r[d >> i * 8 & 15]; return f; } function _(d) { var f; for (f = 0; f < d.length; f += 1) d[f] = p(d[f]); return d.join(""); } _(m("hello")), typeof ArrayBuffer < "u" && !ArrayBuffer.prototype.slice && function() { function d(f, i) { return f = f | 0 || 0, f < 0 ? Math.max(f + i, 0) : Math.min(f, i); } ArrayBuffer.prototype.slice = function(f, i) { var s = this.byteLength, c = d(f, s), l = s, A, L, D, He; return i !== n && (l = d(i, s)), c > l ? new ArrayBuffer(0) : (A = l - c, L = new ArrayBuffer(A), D = new Uint8Array(L), He = new Uint8Array(this, c, A), D.set(He), L); }; }(); function E(d) { return /[\u0080-\uFFFF]/.test(d) && (d = unescape(encodeURIComponent(d))), d; } function S(d, f) { var i = d.length, s = new ArrayBuffer(i), c = new Uint8Array(s), l; for (l = 0; l < i; l += 1) c[l] = d.charCodeAt(l); return f ? c : s; } function v(d) { return String.fromCharCode.apply(null, new Uint8Array(d)); } function y(d, f, i) { var s = new Uint8Array(d.byteLength + f.byteLength); return s.set(new Uint8Array(d)), s.set(new Uint8Array(f), d.byteLength), i ? s : s.buffer; } function b(d) { var f = [], i = d.length, s; for (s = 0; s < i - 1; s += 2) f.push(parseInt(d.substr(s, 2), 16)); return String.fromCharCode.apply(String, f); } function w() { this.reset(); } return w.prototype.append = function(d) { return this.appendBinary(E(d)), this; }, w.prototype.appendBinary = function(d) { this._buff += d, this._length += d.length; var f = this._buff.length, i; for (i = 64; i <= f; i += 64) o(this._hash, a(this._buff.substring(i - 64, i))); return this._buff = this._buff.substring(i - 64), this; }, w.prototype.end = function(d) { var f = this._buff, i = f.length, s, c = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], l; for (s = 0; s < i; s += 1) c[s >> 2] |= f.charCodeAt(s) << (s % 4 << 3); return this._finish(c, i), l = _(this._hash), d && (l = b(l)), this.reset(), l; }, w.prototype.reset = function() { return this._buff = "", this._length = 0, this._hash = [1732584193, -271733879, -1732584194, 271733878], this; }, w.prototype.getState = function() { return { buff: this._buff, length: this._length, hash: this._hash.slice() }; }, w.prototype.setState = function(d) { return this._buff = d.buff, this._length = d.length, this._hash = d.hash, this; }, w.prototype.destroy = function() { delete this._hash, delete this._buff, delete this._length; }, w.prototype._finish = function(d, f) { var i = f, s, c, l; if (d[i >> 2] |= 128 << (i % 4 << 3), i > 55) for (o(this._hash, d), i = 0; i < 16; i += 1) d[i] = 0; s = this._length * 8, s = s.toString(16).match(/(.*?)(.{0,8})$/), c = parseInt(s[2], 16), l = parseInt(s[1], 16) || 0, d[14] = c, d[15] = l, o(this._hash, d); }, w.hash = function(d, f) { return w.hashBinary(E(d), f); }, w.hashBinary = function(d, f) { var i = m(d), s = _(i); return f ? b(s) : s; }, w.ArrayBuffer = function() { this.reset(); }, w.ArrayBuffer.prototype.append = function(d) { var f = y(this._buff.buffer, d, !0), i = f.length, s; for (this._length += d.byteLength, s = 64; s <= i; s += 64) o(this._hash, u(f.subarray(s - 64, s))); return this._buff = s - 64 < i ? new Uint8Array(f.buffer.slice(s - 64)) : new Uint8Array(0), this; }, w.ArrayBuffer.prototype.end = function(d) { var f = this._buff, i = f.length, s = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], c, l; for (c = 0; c < i; c += 1) s[c >> 2] |= f[c] << (c % 4 << 3); return this._finish(s, i), l = _(this._hash), d && (l = b(l)), this.reset(), l; }, w.ArrayBuffer.prototype.reset = function() { return this._buff = new Uint8Array(0), this._length = 0, this._hash = [1732584193, -271733879, -1732584194, 271733878], this; }, w.ArrayBuffer.prototype.getState = function() { var d = w.prototype.getState.call(this); return d.buff = v(d.buff), d; }, w.ArrayBuffer.prototype.setState = function(d) { return d.buff = S(d.buff, !0), w.prototype.setState.call(this, d); }, w.ArrayBuffer.prototype.destroy = w.prototype.destroy, w.ArrayBuffer.prototype._finish = w.prototype._finish, w.ArrayBuffer.hash = function(d, f) { var i = g(new Uint8Array(d)), s = _(i); return f ? b(s) : s; }, w; }); })(gt); const cn = gt.exports; function _t(e, t) { return function() { return e.apply(t, arguments); }; } const { toString: bt } = Object.prototype, { getPrototypeOf: Pe } = Object, Fe = ((e) => (t) => { const n = bt.call(t); return e[n] || (e[n] = n.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), U = (e) => (e = e.toLowerCase(), (t) => Fe(t) === e), ge = (e) => (t) => typeof t === e, { isArray: re } = Array, Oe = ge("undefined"); function fn(e) { return e !== null && !Oe(e) && e.constructor !== null && !Oe(e.constructor) && G(e.constructor.isBuffer) && e.constructor.isBuffer(e); } const wt = U("ArrayBuffer"); function dn(e) { let t; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && wt(e.buffer), t; } const pn = ge("string"), G = ge("function"), vt = ge("number"), Et = (e) => e !== null && typeof e == "object", hn = (e) => e === !0 || e === !1, ue = (e) => { if (Fe(e) !== "object") return !1; const t = Pe(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); }, mn = U("Date"), yn = U("File"), gn = U("Blob"), _n = U("FileList"), bn = (e) => Et(e) && G(e.pipe), wn = (e) => { const t = "[object FormData]"; return e && (typeof FormData == "function" && e instanceof FormData || bt.call(e) === t || G(e.toString) && e.toString() === t); }, vn = U("URLSearchParams"), En = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function _e(e, t, { allOwnKeys: n = !1 } = {}) { if (e === null || typeof e > "u") return; let r, o; if (typeof e != "object" && (e = [e]), re(e)) for (r = 0, o = e.length; r < o; r++) t.call(null, e[r], r, e); else { const a = n ? Object.getOwnPropertyNames(e) : Object.keys(e), u = a.length; let m; for (r = 0; r < u; r++) m = a[r], t.call(null, e[m], m, e); } } function Ce() { const e = {}, t = (n, r) => { ue(e[r]) && ue(n) ? e[r] = Ce(e[r], n) : ue(n) ? e[r] = Ce({}, n) : re(n) ? e[r] = n.slice() : e[r] = n; }; for (let n = 0, r = arguments.length; n < r; n++) arguments[n] && _e(arguments[n], t); return e; } const Sn = (e, t, n, { allOwnKeys: r } = {}) => (_e(t, (o, a) => { n && G(o) ? e[a] = _t(o, n) : e[a] = o; }, { allOwnKeys: r }), e), On = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Cn = (e, t, n, r) => { e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", { value: t.prototype }), n && Object.assign(e.prototype, n); }, An = (e, t, n, r) => { let o, a, u; const m = {}; if (t = t || {}, e == null) return t; do { for (o = Object.getOwnPropertyNames(e), a = o.length; a-- > 0; ) u = o[a], (!r || r(u, e, t)) && !m[u] && (t[u] = e[u], m[u] = !0); e = n !== !1 && Pe(e); } while (e && (!n || n(e, t)) && e !== Object.prototype); return t; }, xn = (e, t, n) => { e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length; const r = e.indexOf(t, n); return r !== -1 && r === n; }, Tn = (e) => { if (!e) return null; if (re(e)) return e; let t = e.length; if (!vt(t)) return null; const n = new Array(t); for (; t-- > 0; ) n[t] = e[t]; return n; }, Nn = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Pe(Uint8Array)), Rn = (e, t) => { const r = (e && e[Symbol.iterator]).call(e); let o; for (; (o = r.next()) && !o.done; ) { const a = o.value; t.call(e, a[0], a[1]); } }, Bn = (e, t) => { let n; const r = []; for (; (n = e.exec(t)) !== null; ) r.push(n); return r; }, Pn = U("HTMLFormElement"), Fn = (e) => e.toLowerCase().replace( /[_-\s]([a-z\d])(\w*)/g, function(n, r, o) { return r.toUpperCase() + o; } ), Je = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), In = U("RegExp"), St = (e, t) => { const n = Object.getOwnPropertyDescriptors(e), r = {}; _e(n, (o, a) => { t(o, a, e) !== !1 && (r[a] = o); }), Object.defineProperties(e, r); }, Ln = (e) => { St(e, (t, n) => { const r = e[n]; if (!!G(r)) { if (t.enumerable = !1, "writable" in t) { t.writable = !1; return; } t.set || (t.set = () => { throw Error("Can not read-only method '" + n + "'"); }); } }); }, $n = (e, t) => { const n = {}, r = (o) => { o.forEach((a) => { n[a] = !0; }); }; return re(e) ? r(e) : r(String(e).split(t)), n; }, Un = () => { }, Dn = (e, t) => (e = +e, Number.isFinite(e) ? e : t), h = { isArray: re, isArrayBuffer: wt, isBuffer: fn, isFormData: wn, isArrayBufferView: dn, isString: pn, isNumber: vt, isBoolean: hn, isObject: Et, isPlainObject: ue, isUndefined: Oe, isDate: mn, isFile: yn, isBlob: gn, isRegExp: In, isFunction: G, isStream: bn, isURLSearchParams: vn, isTypedArray: Nn, isFileList: _n, forEach: _e, merge: Ce, extend: Sn, trim: En, stripBOM: On, inherits: Cn, toFlatObject: An, kindOf: Fe, kindOfTest: U, endsWith: xn, toArray: Tn, forEachEntry: Rn, matchAll: Bn, isHTMLForm: Pn, hasOwnProperty: Je, hasOwnProp: Je, reduceDescriptors: St, freezeMethods: Ln, toObjectSet: $n, toCamelCase: Fn, noop: Un, toFiniteNumber: Dn }; function O(e, t, n, r, o) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o); } h.inherits(O, Error, { toJSON: function() { return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: this.config, code: this.code, status: this.response && this.response.status ? this.response.status : null }; } }); const Ot = O.prototype, Ct = {}; [ "ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL" ].forEach((e) => { Ct[e] = { value: e }; }); Object.defineProperties(O, Ct); Object.defineProperty(Ot, "isAxiosError", { value: !0 }); O.from = (e, t, n, r, o, a) => { const u = Object.create(Ot); return h.toFlatObject(e, u, function(g) { return g !== Error.prototype; }, (m) => m !== "isAxiosError"), O.call(u, e.message, t, n, r, o), u.cause = e, u.name = e.name, a && Object.assign(u, a), u; }; var jn = typeof self == "object" ? self.FormData : window.FormData; function Ae(e) { return h.isPlainObject(e) || h.isArray(e); } function At(e) { return h.endsWith(e, "[]") ? e.slice(0, -2) : e; } function We(e, t, n) { return e ? e.concat(t).map(function(o, a) { return o = At(o), !n && a ? "[" + o + "]" : o; }).join(n ? "." : "") : t; } function zn(e) { return h.isArray(e) && !e.some(Ae); } const Mn = h.toFlatObject(h, {}, null, function(t) { return /^is[A-Z]/.test(t); }); function Hn(e) { return e && h.isFunction(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]; } function be(e, t, n) { if (!h.isObject(e)) throw new TypeError("target must be an object"); t = t || new (jn || FormData)(), n = h.toFlatObject(n, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(b, w) { return !h.isUndefined(w[b]); }); const r = n.metaTokens, o = n.visitor || _, a = n.dots, u = n.indexes, g = (n.Blob || typeof Blob < "u" && Blob) && Hn(t); if (!h.isFunction(o)) throw new TypeError("visitor must be a function"); function p(y) { if (y === null) return ""; if (h.isDate(y)) return y.toISOString(); if (!g && h.isBlob(y)) throw new O("Blob is not supported. Use a Buffer instead."); return h.isArrayBuffer(y) || h.isTypedArray(y) ? g && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y; } function _(y, b, w) { let d = y; if (y && !w && typeof y == "object") { if (h.endsWith(b, "{}")) b = r ? b : b.slice(0, -2), y = JSON.stringify(y); else if (h.isArray(y) && zn(y) || h.isFileList(y) || h.endsWith(b, "[]") && (d = h.toArray(y))) return b = At(b), d.forEach(function(i, s) { !h.isUndefined(i) && t.append( u === !0 ? We([b], s, a) : u === null ? b : b + "[]", p(i) ); }), !1; } return Ae(y) ? !0 : (t.append(We(w, b, a), p(y)), !1); } const E = [], S = Object.assign(Mn, { defaultVisitor: _, convertValue: p, isVisitable: Ae }); function v(y, b) { if (!h.isUndefined(y)) { if (E.indexOf(y) !== -1) throw Error("Circular reference detected in " + b.join(".")); E.push(y), h.forEach(y, function(d, f) { (!h.isUndefined(d) && o.call( t, d, h.isString(f) ? f.trim() : f, b, S )) === !0 && v(d, b ? b.concat(f) : [f]); }), E.pop(); } } if (!h.isObject(e)) throw new TypeError("data must be an object"); return v(e), t; } function Ke(e) { const t = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(r) { return t[r]; }); } function Ie(e, t) { this._pairs = [], e && be(e, this, t); } const xt = Ie.prototype; xt.append = function(t, n) { this._pairs.push([t, n]); }; xt.toString = function(t) { const n = t ? function(r) { return t.call(this, r, Ke); } : Ke; return this._pairs.map(function(o) { return n(o[0]) + "=" + n(o[1]); }, "").join("&"); }; function qn(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function Tt(e, t, n) { if (!t) return e; const r = e.indexOf("#"); r !== -1 && (e = e.slice(0, r)); const o = n && n.encode || qn, a = h.isURLSearchParams(t) ? t.toString() : new Ie(t, n).toString(o); return a && (e += (e.indexOf("?") === -1 ? "?" : "&") + a), e; } class Qe { constructor() { this.handlers = []; } use(t, n, r) { return this.handlers.push({ fulfilled: t, rejected: n, synchronous: r ? r.synchronous : !1, runWhen: r ? r.runWhen : null }), this.handlers.length - 1; } eject(t) { this.handlers[t] && (this.handlers[t] = null); } clear() { this.handlers && (this.handlers = []); } forEach(t) { h.forEach(this.handlers, function(r) { r !== null && t(r); }); } } const Nt = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, Vn = typeof URLSearchParams < "u" ? URLSearchParams : Ie, kn = FormData, Jn = (() => { let e; return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u"; })(), $ = { isBrowser: !0, classes: { URLSearchParams: Vn, FormData: kn, Blob }, isStandardBrowserEnv: Jn, protocols: ["http", "https", "file", "blob", "url", "data"] }; function Wn(e, t) { return be(e, new $.classes.URLSearchParams(), Object.assign({ visitor: function(n, r, o, a) { return $.isNode && h.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments); } }, t)); } function Kn(e) { return h.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]); } function Qn(e) { const t = {}, n = Object.keys(e); let r; const o = n.length; let a; for (r = 0; r < o; r++) a = n[r], t[a] = e[a]; return t; } function Rt(e) { function t(n, r, o, a) { let u = n[a++]; const m = Number.isFinite(+u), g = a >= n.length; return u = !u && h.isArray(o) ? o.length : u, g ? (h.hasOwnProp(o, u) ? o[u] = [o[u], r] : o[u] = r, !m) : ((!o[u] || !h.isObject(o[u])) && (o[u] = []), t(n, r, o[u], a) && h.isArray(o[u]) && (o[u] = Qn(o[u])), !m); } if (h.isFormData(e) && h.isFunction(e.entries)) { const n = {}; return h.forEachEntry(e, (r, o) => { t(Kn(r), o, n, 0); }), n; } return null; } function Gn(e, t, n) { const r = n.config.validateStatus; !n.status || !r || r(n.status) ? e(n) : t(new O( "Request failed with status code " + n.status, [O.ERR_BAD_REQUEST, O.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n )); } const Yn = $.isStandardBrowserEnv ? function() { return { write: function(n, r, o, a, u, m) { const g = []; g.push(n + "=" + encodeURIComponent(r)), h.isNumber(o) && g.push("expires=" + new Date(o).toGMTString()), h.isString(a) && g.push("path=" + a), h.isString(u) && g.push("domain=" + u), m === !0 && g.push("secure"), document.cookie = g.join("; "); }, read: function(n) { const r = document.cookie.match(new RegExp("(^|;\\s*)(" + n + ")=([^;]*)")); return r ? decodeURIComponent(r[3]) : null; }, remove: function(n) { this.write(n, "", Date.now() - 864e5); } }; }() : function() { return { write: function() { }, read: function() { return null; }, remove: function() { } }; }(); function Zn(e) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e); } function Xn(e, t) { return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e; } function Bt(e, t) { return e && !Zn(t) ? Xn(e, t) : t; } const er = $.isStandardBrowserEnv ? function() { const t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a"); let r; function o(a) { let u = a; return t && (n.setAttribute("href", u), u = n.href), n.setAttribute("href", u), { href: n.href, protocol: n.protocol ? n.protocol.replace(/:$/, "") : "", host: n.host, search: n.search ? n.search.replace(/^\?/, "") : "", hash: n.hash ? n.hash.replace(/^#/, "") : "", hostname: n.hostname, port: n.port, pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname }; } return r = o(window.location.href), function(u) { const m = h.isString(u) ? o(u) : u; return m.protocol === r.protocol && m.host === r.host; }; }() : function() { return function() { return !0; }; }(); function se(e, t, n) { O.call(this, e == null ? "canceled" : e, O.ERR_CANCELED, t, n), this.name = "CanceledError"; } h.inherits(se, O, { __CANCEL__: !0 }); function tr(e) { const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e); return t && t[1] || ""; } const nr = h.toObjectSet([ "age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent" ]), rr = (e) => { const t = {}; let n, r, o; return e && e.split(` `).forEach(function(u) { o = u.indexOf(":"), n = u.substring(0, o).trim().toLowerCase(), r = u.substring(o + 1).trim(), !(!n || t[n] && nr[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r); }), t; }, Ge = Symbol("internals"), Pt = Symbol("defaults"); function ee(e) { return e && String(e).trim().toLowerCase(); } function ae(e) { return e === !1 || e == null ? e : String(e); } function sr(e) { const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let r; for (; r = n.exec(e); ) t[r[1]] = r[2]; return t; } function Ye(e, t, n, r) { if (h.isFunction(r)) return r.call(this, t, n); if (!!h.isString(t)) { if (h.isString(r)) return t.indexOf(r) !== -1; if (h.isRegExp(r)) return r.test(t); } } function or(e) { return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r); } function ir(e, t) { const n = h.toCamelCase(" " + t); ["get", "set", "has"].forEach((r) => { Object.defineProperty(e, r + n, { value: function(o, a, u) { return this[r].call(this, t, o, a, u); }, configurable: !0 }); }); } function Z(e, t) { t = t.toLowerCase(); const n = Object.keys(e); let r = n.length, o; for (; r-- > 0; ) if (o = n[r], t === o.toLowerCase()) return o; return null; } function B(e, t) { e && this.set(e), this[Pt] = t || null; } Object.assign(B.prototype, { set: function(e, t, n) { const r = this; function o(a, u, m) { const g = ee(u); if (!g) throw new Error("header name must be a non-empty string"); const p = Z(r, g); p && m !== !0 && (r[p] === !1 || m === !1) || (h.isArray(a) ? a = a.map(ae) : a = ae(a), r[p || u] = a); } return h.isPlainObject(e) ? h.forEach(e, (a, u) => { o(a, u, t); }) : o(t, e, n), this; }, get: function(e, t) { if (e = ee(e), !e) return; const n = Z(this, e); if (n) { const r = this[n]; if (!t) return r; if (t === !0) return sr(r); if (h.isFunction(t)) return t.call(this, r, n); if (h.isRegExp(t)) return t.exec(r); throw new TypeError("parser must be boolean|regexp|function"); } }, has: function(e, t) { if (e = ee(e), e) { const n = Z(this, e); return !!(n && (!t || Ye(this, this[n], n, t))); } return !1; }, delete: function(e, t) { const n = this; let r = !1; function o(a) { if (a = ee(a), a) { const u = Z(n, a); u && (!t || Ye(n, n[u], u, t)) && (delete n[u], r = !0); } } return h.isArray(e) ? e.forEach(o) : o(e), r; }, clear: function() { return Object.keys(this).forEach(this.delete.bind(this)); }, normalize: function(e) { const t = this, n = {}; return h.forEach(this, (r, o) => { const a = Z(n, o); if (a) { t[a] = ae(r), delete t[o]; return; } const u = e ? or(o) : String(o).trim(); u !== o && delete t[o], t[u] = ae(r), n[u] = !0; }), this; }, toJSON: function() { const e = /* @__PURE__ */ Object.create(null); return h.forEach( Object.assign({}, this[Pt] || null, this), (t, n) => { t == null || t === !1 || (e[n] = h.isArray(t) ? t.join(", ") : t); } ), e; } }); Object.assign(B, { from: function(e) { return h.isString(e) ? new this(rr(e)) : e instanceof this ? e : new this(e); }, accessor: function(e) { const n = (this[Ge] = this[Ge] = { accessors: {} }).accessors, r = this.prototype; function o(a) { const u = ee(a); n[u] || (ir(r, a), n[u] = !0); } return h.isArray(e) ? e.forEach(o) : o(e), this; } }); B.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent"]); h.freezeMethods(B.prototype); h.freezeMethods(B); function ar(e, t) { e = e || 10; const n = new Array(e), r = new Array(e); let o = 0, a = 0, u; return t = t !== void 0 ? t : 1e3, function(g) { const p = Date.now(), _ = r[a]; u || (u = p), n[o] = g, r[o] = p; let E = a, S = 0; for (; E !== o; ) S += n[E++], E = E % e; if (o = (o + 1) % e, o === a && (a = (a + 1) % e), p - u < t) return; const v = _ && p - _; return v ? Math.round(S * 1e3 / v) : void 0; }; } function Ze(e, t) { let n = 0; const r = ar(50, 250); return (o) => { const a = o.loaded, u = o.lengthComputable ? o.total : void 0, m = a - n, g = r(m), p = a <= u; n = a; const _ = { loaded: a, total: u, progress: u ? a / u : void 0, bytes: m, rate: g || void 0, estimated: g && u && p ? (u - a) / g : void 0 }; _[t ? "download" : "upload"] = !0, e(_); }; } function Xe(e) { return new Promise(function(n, r) { let o = e.data; const a = B.from(e.headers).normalize(), u = e.responseType; let m; function g() { e.cancelToken && e.cancelToken.unsubscribe(m), e.signal && e.signal.removeEventListener("abort", m); } h.isFormData(o) && $.isStandardBrowserEnv && a.setContentType(!1); let p = new XMLHttpRequest(); if (e.auth) { const v = e.auth.username || "", y = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : ""; a.set("Authorization", "Basic " + btoa(v + ":" + y)); } const _ = Bt(e.baseURL, e.url); p.open(e.method.toUpperCase(), Tt(_, e.params, e.paramsSerializer), !0), p.timeout = e.timeout; function E() { if (!p) return; const v = B.from( "getAllResponseHeaders" in p && p.getAllResponseHeaders() ), b = { data: !u || u === "text" || u === "json" ? p.responseText : p.response, status: p.status, statusText: p.statusText, headers: v, config: e, request: p }; Gn(function(d) { n(d), g(); }, function(d) { r(d), g(); }, b), p = null; } if ("onloadend" in p ? p.onloadend = E : p.onreadystatechange = function() { !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(E); }, p.onabort = function() { !p || (r(new O("Request aborted", O.ECONNABORTED, e, p)), p = null); }, p.onerror = function() { r(new O("Network Error", O.ERR_NETWORK, e, p)), p = null; }, p.ontimeout = function() { let y = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded"; const b = e.transitional || Nt; e.timeoutErrorMessage && (y = e.timeoutErrorMessage), r(new O( y, b.clarifyTimeoutError ? O.ETIMEDOUT : O.ECONNABORTED, e, p )), p = null; }, $.isStandardBrowserEnv) { const v = (e.withCredentials || er(_)) && e.xsrfCookieName && Yn.read(e.xsrfCookieName); v && a.set(e.xsrfHeaderName, v); } o === void 0 && a.setContentType(null), "setRequestHeader" in p && h.forEach(a.toJSON(), function(y, b) { p.setRequestHeader(b, y); }), h.isUndefined(e.withCredentials) || (p.withCredentials = !!e.withCredentials), u && u !== "json" && (p.responseType = e.responseType), typeof e.onDownloadProgress == "function" && p.addEventListener("progress", Ze(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && p.upload && p.upload.addEventListener("progress", Ze(e.onUploadProgress)), (e.cancelToken || e.signal) && (m = (v) => { !p || (r(!v || v.type ? new se(null, e, p) : v), p.abort(), p = null); }, e.cancelToken && e.cancelToken.subscribe(m), e.signal && (e.signal.aborted ? m() : e.signal.addEventListener("abort", m))); const S = tr(_); if (S && $.protocols.indexOf(S) === -1) { r(new O("Unsupported protocol " + S + ":", O.ERR_BAD_REQUEST, e)); return; } p.send(o || null); }); } const et = { http: Xe, xhr: Xe }, tt = { getAdapter: (e) => { if (h.isString(e)) { const t = et[e]; if (!e) throw Error( h.hasOwnProp(e) ? `Adapter '${e}' is not available in the build` : `Can not resolve adapter '${e}'` ); return t; } if (!h.isFunction(e)) throw new TypeError("adapter is not a function"); return e; }, adapters: et }, ur = { "Content-Type": "application/x-www-form-urlencoded" }; function lr() { let e; return typeof XMLHttpRequest < "u" ? e = tt.getAdapter("xhr") : typeof process < "u" && h.kindOf(process) === "process" && (e = tt.getAdapter("http")), e; } function cr(e, t, n) { if (h.isString(e)) try { return (t || JSON.parse)(e), h.trim(e); } catch (r) { if (r.name !== "SyntaxError") throw r; } return (n || JSON.stringify)(e); } const Y = { transitional: Nt, adapter: lr(), transformRequest: [function(t, n) { const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, a = h.isObject(t); if (a && h.isHTMLForm(t) && (t = new FormData(t)), h.isFormData(t)) return o && o ? JSON.stringify(Rt(t)) : t; if (h.isArrayBuffer(t) || h.isBuffer(t) || h.isStream(t) || h.isFile(t) || h.isBlob(t)) return t; if (h.isArrayBufferView(t)) return t.buffer; if (h.isURLSearchParams(t)) return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString(); let m; if (a) { if (r.indexOf("application/x-www-form-urlencoded") > -1) return Wn(t, this.formSerializer).toString(); if ((m = h.isFileList(t)) || r.indexOf("multipart/form-data") > -1) { const g = this.env && this.env.FormData; return be( m ? { "files[]": t } : t, g && new g(), this.formSerializer ); } } return a || o ? (n.setContentType("application/json", !1), cr(t)) : t; }], transformResponse: [function(t) { const n = this.transitional || Y.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json"; if (t && h.isString(t) && (r && !this.responseType || o)) { const u = !(n && n.silentJSONParsing) && o; try { return JSON.parse(t); } catch (m) { if (u) throw m.name === "SyntaxError" ? O.from(m, O.ERR_BAD_RESPONSE, this, null, this.response) : m; } } return t; }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: $.classes.FormData, Blob: $.classes.Blob }, validateStatus: function(t) { return t >= 200 && t < 300; }, headers: { common: { Accept: "application/json, text/plain, */*" } } }; h.forEach(["delete", "get", "head"], function(t) { Y.headers[t] = {}; }); h.forEach(["post", "put", "patch"], function(t) { Y.headers[t] = h.merge(ur); }); function ve(e, t) { const n = this || Y, r = t || n, o = B.from(r.headers); let a = r.data; return h.forEach(e, function(m) { a = m.call(n, a, o.normalize(), t ? t.status : void 0); }), o.normalize(), a; } function Ft(e) { return !!(e && e.__CANCEL__); } function Ee(e) { if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new se(); } function nt(e) { return Ee(e), e.headers = B.from(e.headers), e.data = ve.call( e, e.transformRequest ), (e.adapter || Y.adapter)(e).then(function(r) { return Ee(e), r.data = ve.call( e, e.transformResponse, r ), r.headers = B.from(r.headers), r; }, function(r) { return Ft(r) || (Ee(e), r && r.response && (r.response.data = ve.call( e, e.transformResponse, r.response ), r.response.headers = B.from(r.response.headers))), Promise.reject(r); }); } function ne(e, t) { t = t || {}; const n = {}; function r(p, _) { return h.isPlainObject(p) && h.isPlainObject(_) ? h.merge(p, _) : h.isPlainObject(_) ? h.merge({}, _) : h.isArray(_) ? _.slice() : _; } function o(p) { if (h.isUndefined(t[p])) { if (!h.isUndefined(e[p])) return r(void 0, e[p]); } else return r(e[p], t[p]); } function a(p) { if (!h.isUndefined(t[p])) return r(void 0, t[p]); } function u(p) { if (h.isUndefined(t[p])) { if (!h.isUndefined(e[p])) return r(void 0, e[p]); } else return r(void 0, t[p]); } function m(p) { if (p in t) return r(e[p], t[p]); if (p in e) return r(void 0, e[p]); } const g = { url: a, method: a, data: a, baseURL: u, transformRequest: u, transformResponse: u, paramsSerializer: u, timeout: u, timeoutMessage: u, withCredentials: u, adapter: u, responseType: u, xsrfCookieName: u, xsrfHeaderName: u, onUploadProgress: u, onDownloadProgress: u, decompress: u, maxContentLength: u, maxBodyLength: u, beforeRedirect: u, transport: u, httpAgent: u, httpsAgent: u, cancelToken: u, socketPath: u, responseEncoding: u, validateStatus: m }; return h.forEach(Object.keys(e).concat(Object.keys(t)), function(_) { const E = g[_] || o, S = E(_); h.isUndefined(S) && E !== m || (n[_] = S); }), n; } const It = "1.1.2", Le = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => { Le[e] = function(r) { return typeof r === e || "a" + (t < 1 ? "n " : " ") + e; }; }); const rt = {}; Le.transitional = function(t, n, r) { function o(a, u) { return "[Axios v" + It + "] Transitional option '" + a + "'" + u + (r ? ". " + r : ""); } return (a, u, m) => { if (t === !1) throw new O( o(u, " has been removed" + (n ? " in " + n : "")), O.ERR_DEPRECATED ); return n && !rt[u] && (rt[u] = !0, console.warn( o( u, " has been deprecated since v" + n + " and will be removed in the near future" ) )), t ? t(a, u, m) : !0; }; }; function fr(e, t, n) { if (typeof e != "object") throw new O("options must be an object", O.ERR_BAD_OPTION_VALUE); const r = Object.keys(e); let o = r.length; for (; o-- > 0; ) { const a = r[o], u = t[a]; if (u) { const m = e[a], g = m === void 0 || u(m, a, e); if (g !== !0) throw new O("option " + a + " must be " + g, O.ERR_BAD_OPTION_VALUE); continue; } if (n !== !0) throw new O("Unknown option " + a, O.ERR_BAD_OPTION); } } const Lt = { assertOptions: fr, validators: Le }, J = Lt.validators; class V { constructor(t) { this.defaults = t, this.interceptors = { request: new Qe(), response: new Qe() }; } request(t, n) { typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = ne(this.defaults, n); const r = n.transitional; r !== void 0 && Lt.assertOptions(r, { silentJSONParsing: J.transitional(J.boolean), forcedJSONParsing: J.transitional(J.boolean), clarifyTimeoutError: J.transitional(J.boolean) }, !1), n.method = (n.method || this.defaults.method || "get").toLowerCase(); const o = n.headers && h.merge( n.headers.common, n.headers[n.method] ); o && h.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], function(v) { delete n.headers[v]; } ), n.headers = new B(n.headers, o); const a = []; let u = !0; this.interceptors.request.forEach(function(v) { typeof v.runWhen == "function" && v.runWhen(n) === !1 || (u = u && v.synchronous, a.unshift(v.fulfilled, v.rejected)); }); const m = []; this.interceptors.response.forEach(function(v) { m.push(v.fulfilled, v.rejected); }); let g, p = 0, _; if (!u) { const S = [nt.bind(this), void 0]; for (S.unshift.apply(S, a), S.push.apply(S, m), _ = S.length, g = Promise.resolve(n); p < _; ) g = g.then(S[p++], S[p++]); return g; } _ = a.length; let E = n; for (p = 0; p < _; ) { const S = a[p++], v = a[p++]; try { E = S(E); } catch (y) { v.call(this, y); break; } } try { g = nt.call(this, E); } catch (S) { return Promise.reject(S); } for (p = 0, _ = m.length; p < _; ) g = g.then(m[p++], m[p++]); return g; } getUri(t) { t = ne(this.defaults, t); const n = Bt(t.baseURL, t.url); return Tt(n, t.params, t.paramsSerializer); } } h.forEach(["delete", "get", "head", "options"], function(t) { V.prototype[t] = function(n, r) { return this.request(ne(r || {}, { method: t, url: n, data: (r || {}).data })); }; }); h.forEach(["post", "put", "patch"], function(t) { function n(r) { return function(a, u, m) { return this.request(ne(m || {}, { method: t, headers: r ? { "Content-Type": "multipart/form-data" } : {}, url: a, data: u })); }; } V.prototype[t] = n(), V.prototype[t + "Form"] = n(!0); }); class $e { constructor(t) { if (typeof t != "function") throw new TypeError("executor must be a function."); let n; this.promise = new Promise(function(a) { n = a; }); const r = this; this.promise.then((o) => { if (!r._listeners) return; let a = r._listeners.length; for (; a-- > 0; ) r._listeners[a](o); r._listeners = null; }), this.promise.then = (o) => { let a; const u = new Promise((m) => { r.subscribe(m), a = m; }).then(o); return u.cancel = function() { r.unsubscribe(a); }, u; }, t(function(a, u, m) { r.reason || (r.reason = new se(a, u, m), n(r.reason)); }); } throwIfRequested() { if (this.reason) throw this.reason; } subscribe(t) { if (this.reason) { t(this.reason); return; } this._listeners ? this._listeners.push(t) : this._listeners = [t]; } unsubscribe(t) { if (!this._listeners) return; const n = this._listeners.indexOf(t); n !== -1 && this._listeners.splice(n, 1); } static source() { let t; return { token: new $e(function(o) { t = o; }), cancel: t }; } } function dr(e) { return function(n) { return e.apply(null, n); }; } function pr(e) { return h.isObject(e) && e.isAxiosError === !0; } function $t(e) { const t = new V(e), n = _t(V.prototype.request, t); return h.extend(n, V.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) { return $t(ne(e, o)); }, n; } const T = $t(Y); T.Axios = V; T.CanceledError = se; T.CancelToken = $e; T.isCancel = Ft; T.VERSION = It; T.toFormData = be; T.AxiosError = O; T.Cancel = T.CanceledError; T.all = function(t) { return Promise.all(t); }; T.spread = dr; T.isAxiosError = pr; T.formToJSON = (e) => Rt(h.isHTMLForm(e) ? new FormData(e) : e); function hr(e) { for (var t = -1, n = e == null ? 0 : e.length, r = {}; ++t < n; ) { var o = e[t]; r[o[0]] = o[1]; } return r; } var st; const oe = typeof window < "u", de = (e) => typeof e == "number", mr = (e) => typeof e == "string", Se = () => { }; oe && ((st = window == null ? void 0 : window.navigator) == null ? void 0 : st.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent); function Ut(e) { return typeof e == "function" ? e() : C(e); } function yr(e) { return e; } function Ue(e) { return Yt() ? (Zt(e), !0) : !1; } function gr(e, t = !0) { Be() ? ht(e) : t ? e() : Xt(e); } function _r(e, t, n = {}) { const { immediate: r = !0 } = n, o = H(!1); let a = null; function u() { a && (clearTimeout(a), a = null); } function m() { o.value = !1, u(); } function g(...p) { u(), o.value = !0, a = setTimeout(() => { o.value = !1, a = null, e(...p); }, Ut(t)); } return r && (o.value = !0, oe && g()), Ue(m), { isPending: o, start: g, stop: m }; } function Dt(e) { var t; const n = Ut(e); return (t = n == null ? void 0 : n.$el) != null ? t : n; } const jt = oe ? window : void 0; function br(...e) { let t, n, r, o; if (mr(e[0]) ? ([n, r, o] = e, t = jt) : [t, n, r, o] = e, !t) return Se; let a = Se; const u = me(() => Dt(t), (g) => { a(), g && (g.addEventListener(n, r, o), a = () => { g.removeEventListener(n, r, o), a = Se; }); }, { immediate: !0, flush: "post" }), m = () => { u(), a(); }; return Ue(m), m; } function wr(e, t = !1) { const n = H(), r = () => n.value = Boolean(e()); return r(), gr(r, t), n; } const xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = "__vueuse_ssr_handlers__"; xe[Te] = xe[Te] || {}; xe[Te]; var ot = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Sr = (e, t) => { var n = {}; for (var r in e) vr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && ot) for (var r of ot(e)) t.indexOf(r) < 0 && Er.call(e, r) && (n[r] = e[r]); return n; }; function Or(e, t, n = {}) { const r = n, { window: o = jt } = r, a = Sr(r, ["window"]); let u; const m = wr(() => o && "ResizeObserver" in o), g = () => { u && (u.disconnect(), u = void 0); }, p = me(() => Dt(e), (E) => { g(), m.value && o && E && (u = new ResizeObserver(t), u.observe(E, a)); }, { immediate: !0, flush: "post" }), _ = () => { g(), p(); }; return Ue(_), { isSupported: m, stop: _ }; } var it; (function(e) { e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE"; })(it || (it = {})); var Cr = Object.defineProperty, at = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, ut = (e, t, n) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tr = (e, t) => { for (var n in t || (t = {})) Ar.call(t, n) && ut(e, n, t[n]); if (at) for (var n of at(t))