UNPKG

@jykang/kafka-connect-client

Version:
1,714 lines 51.7 kB
var nt = Object.defineProperty; var rt = (t, e, n) => e in t ? nt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n; var we = (t, e, n) => (rt(t, typeof e != "symbol" ? e + "" : e, n), n); function Le(t, e) { return function() { return t.apply(e, arguments); }; } const { toString: st } = Object.prototype, { getPrototypeOf: ue } = Object, v = ((t) => (e) => { const n = st.call(e); return t[n] || (t[n] = n.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), x = (t) => (t = t.toLowerCase(), (e) => v(e) === t), K = (t) => (e) => typeof e === t, { isArray: D } = Array, j = K("undefined"); function ot(t) { return t !== null && !j(t) && t.constructor !== null && !j(t.constructor) && A(t.constructor.isBuffer) && t.constructor.isBuffer(t); } const Be = x("ArrayBuffer"); function it(t) { let e; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Be(t.buffer), e; } const at = K("string"), A = K("function"), De = K("number"), W = (t) => t !== null && typeof t == "object", ct = (t) => t === !0 || t === !1, H = (t) => { if (v(t) !== "object") return !1; const e = ue(t); return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t); }, ut = x("Date"), lt = x("File"), ft = x("Blob"), dt = x("FileList"), pt = (t) => W(t) && A(t.pipe), ht = (t) => { let e; return t && (typeof FormData == "function" && t instanceof FormData || A(t.append) && ((e = v(t)) === "formdata" || // detect form-data instance e === "object" && A(t.toString) && t.toString() === "[object FormData]")); }, mt = x("URLSearchParams"), [yt, wt, bt, Et] = ["ReadableStream", "Request", "Response", "Headers"].map(x), gt = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function q(t, e, { allOwnKeys: n = !1 } = {}) { if (t === null || typeof t > "u") return; let r, s; if (typeof t != "object" && (t = [t]), D(t)) for (r = 0, s = t.length; r < s; r++) e.call(null, t[r], r, t); else { const o = n ? Object.getOwnPropertyNames(t) : Object.keys(t), i = o.length; let c; for (r = 0; r < i; r++) c = o[r], e.call(null, t[c], c, t); } } function Ue(t, e) { e = e.toLowerCase(); const n = Object.keys(t); let r = n.length, s; for (; r-- > 0; ) if (s = n[r], e === s.toLowerCase()) return s; return null; } const L = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), ke = (t) => !j(t) && t !== L; function ne() { const { caseless: t } = ke(this) && this || {}, e = {}, n = (r, s) => { const o = t && Ue(e, s) || s; H(e[o]) && H(r) ? e[o] = ne(e[o], r) : H(r) ? e[o] = ne({}, r) : D(r) ? e[o] = r.slice() : e[o] = r; }; for (let r = 0, s = arguments.length; r < s; r++) arguments[r] && q(arguments[r], n); return e; } const St = (t, e, n, { allOwnKeys: r } = {}) => (q(e, (s, o) => { n && A(s) ? t[o] = Le(s, n) : t[o] = s; }, { allOwnKeys: r }), t), Rt = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ot = (t, e, n, r) => { t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", { value: e.prototype }), n && Object.assign(t.prototype, n); }, Tt = (t, e, n, r) => { let s, o, i; const c = {}; if (e = e || {}, t == null) return e; do { for (s = Object.getOwnPropertyNames(t), o = s.length; o-- > 0; ) i = s[o], (!r || r(i, t, e)) && !c[i] && (e[i] = t[i], c[i] = !0); t = n !== !1 && ue(t); } while (t && (!n || n(t, e)) && t !== Object.prototype); return e; }, At = (t, e, n) => { t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length; const r = t.indexOf(e, n); return r !== -1 && r === n; }, Ct = (t) => { if (!t) return null; if (D(t)) return t; let e = t.length; if (!De(e)) return null; const n = new Array(e); for (; e-- > 0; ) n[e] = t[e]; return n; }, xt = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && ue(Uint8Array)), Pt = (t, e) => { const r = (t && t[Symbol.iterator]).call(t); let s; for (; (s = r.next()) && !s.done; ) { const o = s.value; e.call(t, o[0], o[1]); } }, Nt = (t, e) => { let n; const r = []; for (; (n = t.exec(e)) !== null; ) r.push(n); return r; }, _t = x("HTMLFormElement"), Ft = (t) => t.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(n, r, s) { return r.toUpperCase() + s; } ), be = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Lt = x("RegExp"), je = (t, e) => { const n = Object.getOwnPropertyDescriptors(t), r = {}; q(n, (s, o) => { let i; (i = e(s, o, t)) !== !1 && (r[o] = i || s); }), Object.defineProperties(t, r); }, Bt = (t) => { je(t, (e, n) => { if (A(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1) return !1; const r = t[n]; if (A(r)) { if (e.enumerable = !1, "writable" in e) { e.writable = !1; return; } e.set || (e.set = () => { throw Error("Can not rewrite read-only method '" + n + "'"); }); } }); }, Dt = (t, e) => { const n = {}, r = (s) => { s.forEach((o) => { n[o] = !0; }); }; return D(t) ? r(t) : r(String(t).split(e)), n; }, Ut = () => { }, kt = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Z = "abcdefghijklmnopqrstuvwxyz", Ee = "0123456789", qe = { DIGIT: Ee, ALPHA: Z, ALPHA_DIGIT: Z + Z.toUpperCase() + Ee }, jt = (t = 16, e = qe.ALPHA_DIGIT) => { let n = ""; const { length: r } = e; for (; t--; ) n += e[Math.random() * r | 0]; return n; }; function qt(t) { return !!(t && A(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]); } const It = (t) => { const e = new Array(10), n = (r, s) => { if (W(r)) { if (e.indexOf(r) >= 0) return; if (!("toJSON" in r)) { e[s] = r; const o = D(r) ? [] : {}; return q(r, (i, c) => { const f = n(i, s + 1); !j(f) && (o[c] = f); }), e[s] = void 0, o; } } return r; }; return n(t, 0); }, Ht = x("AsyncFunction"), Mt = (t) => t && (W(t) || A(t)) && A(t.then) && A(t.catch), Ie = ((t, e) => t ? setImmediate : e ? ((n, r) => (L.addEventListener("message", ({ source: s, data: o }) => { s === L && o === n && r.length && r.shift()(); }, !1), (s) => { r.push(s), L.postMessage(n, "*"); }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))( typeof setImmediate == "function", A(L.postMessage) ), $t = typeof queueMicrotask < "u" ? queueMicrotask.bind(L) : typeof process < "u" && process.nextTick || Ie, a = { isArray: D, isArrayBuffer: Be, isBuffer: ot, isFormData: ht, isArrayBufferView: it, isString: at, isNumber: De, isBoolean: ct, isObject: W, isPlainObject: H, isReadableStream: yt, isRequest: wt, isResponse: bt, isHeaders: Et, isUndefined: j, isDate: ut, isFile: lt, isBlob: ft, isRegExp: Lt, isFunction: A, isStream: pt, isURLSearchParams: mt, isTypedArray: xt, isFileList: dt, forEach: q, merge: ne, extend: St, trim: gt, stripBOM: Rt, inherits: Ot, toFlatObject: Tt, kindOf: v, kindOfTest: x, endsWith: At, toArray: Ct, forEachEntry: Pt, matchAll: Nt, isHTMLForm: _t, hasOwnProperty: be, hasOwnProp: be, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: je, freezeMethods: Bt, toObjectSet: Dt, toCamelCase: Ft, noop: Ut, toFiniteNumber: kt, findKey: Ue, global: L, isContextDefined: ke, ALPHABET: qe, generateString: jt, isSpecCompliantForm: qt, toJSONObject: It, isAsyncFn: Ht, isThenable: Mt, setImmediate: Ie, asap: $t }; function m(t, e, n, r, s) { 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), s && (this.response = s, this.status = s.status ? s.status : null); } a.inherits(m, Error, { toJSON: function() { return { // Standard message: this.message, name: this.name, // Microsoft description: this.description, number: this.number, // Mozilla fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, // Axios config: a.toJSONObject(this.config), code: this.code, status: this.status }; } }); const He = m.prototype, Me = {}; [ "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" // eslint-disable-next-line func-names ].forEach((t) => { Me[t] = { value: t }; }); Object.defineProperties(m, Me); Object.defineProperty(He, "isAxiosError", { value: !0 }); m.from = (t, e, n, r, s, o) => { const i = Object.create(He); return a.toFlatObject(t, i, function(f) { return f !== Error.prototype; }, (c) => c !== "isAxiosError"), m.call(i, t.message, e, n, r, s), i.cause = t, i.name = t.name, o && Object.assign(i, o), i; }; const zt = null; function re(t) { return a.isPlainObject(t) || a.isArray(t); } function $e(t) { return a.endsWith(t, "[]") ? t.slice(0, -2) : t; } function ge(t, e, n) { return t ? t.concat(e).map(function(s, o) { return s = $e(s), !n && o ? "[" + s + "]" : s; }).join(n ? "." : "") : e; } function Jt(t) { return a.isArray(t) && !t.some(re); } const Vt = a.toFlatObject(a, {}, null, function(e) { return /^is[A-Z]/.test(e); }); function G(t, e, n) { if (!a.isObject(t)) throw new TypeError("target must be an object"); e = e || new FormData(), n = a.toFlatObject(n, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(y, h) { return !a.isUndefined(h[y]); }); const r = n.metaTokens, s = n.visitor || l, o = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(e); if (!a.isFunction(s)) throw new TypeError("visitor must be a function"); function u(p) { if (p === null) return ""; if (a.isDate(p)) return p.toISOString(); if (!f && a.isBlob(p)) throw new m("Blob is not supported. Use a Buffer instead."); return a.isArrayBuffer(p) || a.isTypedArray(p) ? f && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p; } function l(p, y, h) { let b = p; if (p && !h && typeof p == "object") { if (a.endsWith(y, "{}")) y = r ? y : y.slice(0, -2), p = JSON.stringify(p); else if (a.isArray(p) && Jt(p) || (a.isFileList(p) || a.endsWith(y, "[]")) && (b = a.toArray(p))) return y = $e(y), b.forEach(function(R, P) { !(a.isUndefined(R) || R === null) && e.append( // eslint-disable-next-line no-nested-ternary i === !0 ? ge([y], P, o) : i === null ? y : y + "[]", u(R) ); }), !1; } return re(p) ? !0 : (e.append(ge(h, y, o), u(p)), !1); } const d = [], w = Object.assign(Vt, { defaultVisitor: l, convertValue: u, isVisitable: re }); function g(p, y) { if (!a.isUndefined(p)) { if (d.indexOf(p) !== -1) throw Error("Circular reference detected in " + y.join(".")); d.push(p), a.forEach(p, function(b, S) { (!(a.isUndefined(b) || b === null) && s.call( e, b, a.isString(S) ? S.trim() : S, y, w )) === !0 && g(b, y ? y.concat(S) : [S]); }), d.pop(); } } if (!a.isObject(t)) throw new TypeError("data must be an object"); return g(t), e; } function Se(t) { const e = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(r) { return e[r]; }); } function le(t, e) { this._pairs = [], t && G(t, this, e); } const ze = le.prototype; ze.append = function(e, n) { this._pairs.push([e, n]); }; ze.toString = function(e) { const n = e ? function(r) { return e.call(this, r, Se); } : Se; return this._pairs.map(function(s) { return n(s[0]) + "=" + n(s[1]); }, "").join("&"); }; function vt(t) { return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function Je(t, e, n) { if (!e) return t; const r = n && n.encode || vt, s = n && n.serialize; let o; if (s ? o = s(e, n) : o = a.isURLSearchParams(e) ? e.toString() : new le(e, n).toString(r), o) { const i = t.indexOf("#"); i !== -1 && (t = t.slice(0, i)), t += (t.indexOf("?") === -1 ? "?" : "&") + o; } return t; } class Kt { constructor() { this.handlers = []; } /** * Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} rejected The function to handle `reject` for a `Promise` * * @return {Number} An ID used to remove interceptor later */ use(e, n, r) { return this.handlers.push({ fulfilled: e, rejected: n, synchronous: r ? r.synchronous : !1, runWhen: r ? r.runWhen : null }), this.handlers.length - 1; } /** * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` * * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ eject(e) { this.handlers[e] && (this.handlers[e] = null); } /** * Clear all interceptors from the stack * * @returns {void} */ clear() { this.handlers && (this.handlers = []); } /** * Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void} */ forEach(e) { a.forEach(this.handlers, function(r) { r !== null && e(r); }); } } const Re = Kt, Ve = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, Wt = typeof URLSearchParams < "u" ? URLSearchParams : le, Gt = typeof FormData < "u" ? FormData : null, Xt = typeof Blob < "u" ? Blob : null, Qt = { isBrowser: !0, classes: { URLSearchParams: Wt, FormData: Gt, Blob: Xt }, protocols: ["http", "https", "file", "blob", "url", "data"] }, fe = typeof window < "u" && typeof document < "u", se = typeof navigator == "object" && navigator || void 0, Zt = fe && (!se || ["ReactNative", "NativeScript", "NS"].indexOf(se.product) < 0), Yt = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), en = fe && window.location.href || "http://localhost", tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: fe, hasStandardBrowserEnv: Zt, hasStandardBrowserWebWorkerEnv: Yt, navigator: se, origin: en }, Symbol.toStringTag, { value: "Module" })), T = { ...tn, ...Qt }; function nn(t, e) { return G(t, new T.classes.URLSearchParams(), Object.assign({ visitor: function(n, r, s, o) { return T.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments); } }, e)); } function rn(t) { return a.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]); } function sn(t) { const e = {}, n = Object.keys(t); let r; const s = n.length; let o; for (r = 0; r < s; r++) o = n[r], e[o] = t[o]; return e; } function ve(t) { function e(n, r, s, o) { let i = n[o++]; if (i === "__proto__") return !0; const c = Number.isFinite(+i), f = o >= n.length; return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), e(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = sn(s[i])), !c); } if (a.isFormData(t) && a.isFunction(t.entries)) { const n = {}; return a.forEachEntry(t, (r, s) => { e(rn(r), s, n, 0); }), n; } return null; } function on(t, e, n) { if (a.isString(t)) try { return (e || JSON.parse)(t), a.trim(t); } catch (r) { if (r.name !== "SyntaxError") throw r; } return (n || JSON.stringify)(t); } const de = { transitional: Ve, adapter: ["xhr", "http", "fetch"], transformRequest: [function(e, n) { const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = a.isObject(e); if (o && a.isHTMLForm(e) && (e = new FormData(e)), a.isFormData(e)) return s ? JSON.stringify(ve(e)) : e; if (a.isArrayBuffer(e) || a.isBuffer(e) || a.isStream(e) || a.isFile(e) || a.isBlob(e) || a.isReadableStream(e)) return e; if (a.isArrayBufferView(e)) return e.buffer; if (a.isURLSearchParams(e)) return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString(); let c; if (o) { if (r.indexOf("application/x-www-form-urlencoded") > -1) return nn(e, this.formSerializer).toString(); if ((c = a.isFileList(e)) || r.indexOf("multipart/form-data") > -1) { const f = this.env && this.env.FormData; return G( c ? { "files[]": e } : e, f && new f(), this.formSerializer ); } } return o || s ? (n.setContentType("application/json", !1), on(e)) : e; }], transformResponse: [function(e) { const n = this.transitional || de.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json"; if (a.isResponse(e) || a.isReadableStream(e)) return e; if (e && a.isString(e) && (r && !this.responseType || s)) { const i = !(n && n.silentJSONParsing) && s; try { return JSON.parse(e); } catch (c) { if (i) throw c.name === "SyntaxError" ? m.from(c, m.ERR_BAD_RESPONSE, this, null, this.response) : c; } } return e; }], /** * A timeout in milliseconds to abort a request. If set to 0 (default) a * timeout is not created. */ timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: T.classes.FormData, Blob: T.classes.Blob }, validateStatus: function(e) { return e >= 200 && e < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; a.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => { de.headers[t] = {}; }); const pe = de, an = a.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" ]), cn = (t) => { const e = {}; let n, r, s; return t && t.split(` `).forEach(function(i) { s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || e[n] && an[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r); }), e; }, Oe = Symbol("internals"); function k(t) { return t && String(t).trim().toLowerCase(); } function M(t) { return t === !1 || t == null ? t : a.isArray(t) ? t.map(M) : String(t); } function un(t) { const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let r; for (; r = n.exec(t); ) e[r[1]] = r[2]; return e; } const ln = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()); function Y(t, e, n, r, s) { if (a.isFunction(r)) return r.call(this, e, n); if (s && (e = n), !!a.isString(e)) { if (a.isString(r)) return e.indexOf(r) !== -1; if (a.isRegExp(r)) return r.test(e); } } function fn(t) { return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r); } function dn(t, e) { const n = a.toCamelCase(" " + e); ["get", "set", "has"].forEach((r) => { Object.defineProperty(t, r + n, { value: function(s, o, i) { return this[r].call(this, e, s, o, i); }, configurable: !0 }); }); } class X { constructor(e) { e && this.set(e); } set(e, n, r) { const s = this; function o(c, f, u) { const l = k(f); if (!l) throw new Error("header name must be a non-empty string"); const d = a.findKey(s, l); (!d || s[d] === void 0 || u === !0 || u === void 0 && s[d] !== !1) && (s[d || f] = M(c)); } const i = (c, f) => a.forEach(c, (u, l) => o(u, l, f)); if (a.isPlainObject(e) || e instanceof this.constructor) i(e, n); else if (a.isString(e) && (e = e.trim()) && !ln(e)) i(cn(e), n); else if (a.isHeaders(e)) for (const [c, f] of e.entries()) o(f, c, r); else e != null && o(n, e, r); return this; } get(e, n) { if (e = k(e), e) { const r = a.findKey(this, e); if (r) { const s = this[r]; if (!n) return s; if (n === !0) return un(s); if (a.isFunction(n)) return n.call(this, s, r); if (a.isRegExp(n)) return n.exec(s); throw new TypeError("parser must be boolean|regexp|function"); } } } has(e, n) { if (e = k(e), e) { const r = a.findKey(this, e); return !!(r && this[r] !== void 0 && (!n || Y(this, this[r], r, n))); } return !1; } delete(e, n) { const r = this; let s = !1; function o(i) { if (i = k(i), i) { const c = a.findKey(r, i); c && (!n || Y(r, r[c], c, n)) && (delete r[c], s = !0); } } return a.isArray(e) ? e.forEach(o) : o(e), s; } clear(e) { const n = Object.keys(this); let r = n.length, s = !1; for (; r--; ) { const o = n[r]; (!e || Y(this, this[o], o, e, !0)) && (delete this[o], s = !0); } return s; } normalize(e) { const n = this, r = {}; return a.forEach(this, (s, o) => { const i = a.findKey(r, o); if (i) { n[i] = M(s), delete n[o]; return; } const c = e ? fn(o) : String(o).trim(); c !== o && delete n[o], n[c] = M(s), r[c] = !0; }), this; } concat(...e) { return this.constructor.concat(this, ...e); } toJSON(e) { const n = /* @__PURE__ */ Object.create(null); return a.forEach(this, (r, s) => { r != null && r !== !1 && (n[s] = e && a.isArray(r) ? r.join(", ") : r); }), n; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { return Object.entries(this.toJSON()).map(([e, n]) => e + ": " + n).join(` `); } get [Symbol.toStringTag]() { return "AxiosHeaders"; } static from(e) { return e instanceof this ? e : new this(e); } static concat(e, ...n) { const r = new this(e); return n.forEach((s) => r.set(s)), r; } static accessor(e) { const r = (this[Oe] = this[Oe] = { accessors: {} }).accessors, s = this.prototype; function o(i) { const c = k(i); r[c] || (dn(s, i), r[c] = !0); } return a.isArray(e) ? e.forEach(o) : o(e), this; } } X.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]); a.reduceDescriptors(X.prototype, ({ value: t }, e) => { let n = e[0].toUpperCase() + e.slice(1); return { get: () => t, set(r) { this[n] = r; } }; }); a.freezeMethods(X); const C = X; function ee(t, e) { const n = this || pe, r = e || n, s = C.from(r.headers); let o = r.data; return a.forEach(t, function(c) { o = c.call(n, o, s.normalize(), e ? e.status : void 0); }), s.normalize(), o; } function Ke(t) { return !!(t && t.__CANCEL__); } function U(t, e, n) { m.call(this, t ?? "canceled", m.ERR_CANCELED, e, n), this.name = "CanceledError"; } a.inherits(U, m, { __CANCEL__: !0 }); function We(t, e, n) { const r = n.config.validateStatus; !n.status || !r || r(n.status) ? t(n) : e(new m( "Request failed with status code " + n.status, [m.ERR_BAD_REQUEST, m.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n )); } function pn(t) { const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t); return e && e[1] || ""; } function hn(t, e) { t = t || 10; const n = new Array(t), r = new Array(t); let s = 0, o = 0, i; return e = e !== void 0 ? e : 1e3, function(f) { const u = Date.now(), l = r[o]; i || (i = u), n[s] = f, r[s] = u; let d = o, w = 0; for (; d !== s; ) w += n[d++], d = d % t; if (s = (s + 1) % t, s === o && (o = (o + 1) % t), u - i < e) return; const g = l && u - l; return g ? Math.round(w * 1e3 / g) : void 0; }; } function mn(t, e) { let n = 0, r = 1e3 / e, s, o; const i = (u, l = Date.now()) => { n = l, s = null, o && (clearTimeout(o), o = null), t.apply(null, u); }; return [(...u) => { const l = Date.now(), d = l - n; d >= r ? i(u, l) : (s = u, o || (o = setTimeout(() => { o = null, i(s); }, r - d))); }, () => s && i(s)]; } const z = (t, e, n = 3) => { let r = 0; const s = hn(50, 250); return mn((o) => { const i = o.loaded, c = o.lengthComputable ? o.total : void 0, f = i - r, u = s(f), l = i <= c; r = i; const d = { loaded: i, total: c, progress: c ? i / c : void 0, bytes: f, rate: u || void 0, estimated: u && c && l ? (c - i) / u : void 0, event: o, lengthComputable: c != null, [e ? "download" : "upload"]: !0 }; t(d); }, n); }, Te = (t, e) => { const n = t != null; return [(r) => e[0]({ lengthComputable: n, total: t, loaded: r }), e[1]]; }, Ae = (t) => (...e) => a.asap(() => t(...e)), yn = T.hasStandardBrowserEnv ? ( // Standard browser envs have full support of the APIs needed to test // whether the request URL is of the same origin as current location. function() { const e = T.navigator && /(msie|trident)/i.test(T.navigator.userAgent), n = document.createElement("a"); let r; function s(o) { let i = o; return e && (n.setAttribute("href", i), i = n.href), n.setAttribute("href", i), { 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 = s(window.location.href), function(i) { const c = a.isString(i) ? s(i) : i; return c.protocol === r.protocol && c.host === r.host; }; }() ) : ( // Non standard browser envs (web workers, react-native) lack needed support. function() { return function() { return !0; }; }() ), wn = T.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(t, e, n, r, s, o) { const i = [t + "=" + encodeURIComponent(e)]; a.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), a.isString(r) && i.push("path=" + r), a.isString(s) && i.push("domain=" + s), o === !0 && i.push("secure"), document.cookie = i.join("; "); }, read(t) { const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)")); return e ? decodeURIComponent(e[3]) : null; }, remove(t) { this.write(t, "", Date.now() - 864e5); } } ) : ( // Non-standard browser env (web workers, react-native) lack needed support. { write() { }, read() { return null; }, remove() { } } ); function bn(t) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t); } function En(t, e) { return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t; } function Ge(t, e) { return t && !bn(e) ? En(t, e) : e; } const Ce = (t) => t instanceof C ? { ...t } : t; function B(t, e) { e = e || {}; const n = {}; function r(u, l, d) { return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: d }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l; } function s(u, l, d) { if (a.isUndefined(l)) { if (!a.isUndefined(u)) return r(void 0, u, d); } else return r(u, l, d); } function o(u, l) { if (!a.isUndefined(l)) return r(void 0, l); } function i(u, l) { if (a.isUndefined(l)) { if (!a.isUndefined(u)) return r(void 0, u); } else return r(void 0, l); } function c(u, l, d) { if (d in e) return r(u, l); if (d in t) return r(void 0, u); } const f = { url: o, method: o, data: o, baseURL: i, transformRequest: i, transformResponse: i, paramsSerializer: i, timeout: i, timeoutMessage: i, withCredentials: i, withXSRFToken: i, adapter: i, responseType: i, xsrfCookieName: i, xsrfHeaderName: i, onUploadProgress: i, onDownloadProgress: i, decompress: i, maxContentLength: i, maxBodyLength: i, beforeRedirect: i, transport: i, httpAgent: i, httpsAgent: i, cancelToken: i, socketPath: i, responseEncoding: i, validateStatus: c, headers: (u, l) => s(Ce(u), Ce(l), !0) }; return a.forEach(Object.keys(Object.assign({}, t, e)), function(l) { const d = f[l] || s, w = d(t[l], e[l], l); a.isUndefined(w) && d !== c || (n[l] = w); }), n; } const Xe = (t) => { const e = B({}, t); let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: c } = e; e.headers = i = C.from(i), e.url = Je(Ge(e.baseURL, e.url), t.params, t.paramsSerializer), c && i.set( "Authorization", "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : "")) ); let f; if (a.isFormData(n)) { if (T.hasStandardBrowserEnv || T.hasStandardBrowserWebWorkerEnv) i.setContentType(void 0); else if ((f = i.getContentType()) !== !1) { const [u, ...l] = f ? f.split(";").map((d) => d.trim()).filter(Boolean) : []; i.setContentType([u || "multipart/form-data", ...l].join("; ")); } } if (T.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(e)), r || r !== !1 && yn(e.url))) { const u = s && o && wn.read(o); u && i.set(s, u); } return e; }, gn = typeof XMLHttpRequest < "u", Sn = gn && function(t) { return new Promise(function(n, r) { const s = Xe(t); let o = s.data; const i = C.from(s.headers).normalize(); let { responseType: c, onUploadProgress: f, onDownloadProgress: u } = s, l, d, w, g, p; function y() { g && g(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l); } let h = new XMLHttpRequest(); h.open(s.method.toUpperCase(), s.url, !0), h.timeout = s.timeout; function b() { if (!h) return; const R = C.from( "getAllResponseHeaders" in h && h.getAllResponseHeaders() ), O = { data: !c || c === "text" || c === "json" ? h.responseText : h.response, status: h.status, statusText: h.statusText, headers: R, config: t, request: h }; We(function(F) { n(F), y(); }, function(F) { r(F), y(); }, O), h = null; } "onloadend" in h ? h.onloadend = b : h.onreadystatechange = function() { !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(b); }, h.onabort = function() { h && (r(new m("Request aborted", m.ECONNABORTED, t, h)), h = null); }, h.onerror = function() { r(new m("Network Error", m.ERR_NETWORK, t, h)), h = null; }, h.ontimeout = function() { let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded"; const O = s.transitional || Ve; s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new m( P, O.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED, t, h )), h = null; }, o === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(P, O) { h.setRequestHeader(O, P); }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([w, p] = z(u, !0), h.addEventListener("progress", w)), f && h.upload && ([d, g] = z(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (l = (R) => { h && (r(!R || R.type ? new U(null, t, h) : R), h.abort(), h = null); }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l))); const S = pn(s.url); if (S && T.protocols.indexOf(S) === -1) { r(new m("Unsupported protocol " + S + ":", m.ERR_BAD_REQUEST, t)); return; } h.send(o || null); }); }, Rn = (t, e) => { const { length: n } = t = t ? t.filter(Boolean) : []; if (e || n) { let r = new AbortController(), s; const o = function(u) { if (!s) { s = !0, c(); const l = u instanceof Error ? u : this.reason; r.abort(l instanceof m ? l : new U(l instanceof Error ? l.message : l)); } }; let i = e && setTimeout(() => { i = null, o(new m(`timeout ${e} of ms exceeded`, m.ETIMEDOUT)); }, e); const c = () => { t && (i && clearTimeout(i), i = null, t.forEach((u) => { u.unsubscribe ? u.unsubscribe(o) : u.removeEventListener("abort", o); }), t = null); }; t.forEach((u) => u.addEventListener("abort", o)); const { signal: f } = r; return f.unsubscribe = () => a.asap(c), f; } }, On = Rn, Tn = function* (t, e) { let n = t.byteLength; if (!e || n < e) { yield t; return; } let r = 0, s; for (; r < n; ) s = r + e, yield t.slice(r, s), r = s; }, An = async function* (t, e) { for await (const n of Cn(t)) yield* Tn(n, e); }, Cn = async function* (t) { if (t[Symbol.asyncIterator]) { yield* t; return; } const e = t.getReader(); try { for (; ; ) { const { done: n, value: r } = await e.read(); if (n) break; yield r; } } finally { await e.cancel(); } }, xe = (t, e, n, r) => { const s = An(t, e); let o = 0, i, c = (f) => { i || (i = !0, r && r(f)); }; return new ReadableStream({ async pull(f) { try { const { done: u, value: l } = await s.next(); if (u) { c(), f.close(); return; } let d = l.byteLength; if (n) { let w = o += d; n(w); } f.enqueue(new Uint8Array(l)); } catch (u) { throw c(u), u; } }, cancel(f) { return c(f), s.return(); } }, { highWaterMark: 2 }); }, Q = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Qe = Q && typeof ReadableStream == "function", xn = Q && (typeof TextEncoder == "function" ? ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), Ze = (t, ...e) => { try { return !!t(...e); } catch { return !1; } }, Pn = Qe && Ze(() => { let t = !1; const e = new Request(T.origin, { body: new ReadableStream(), method: "POST", get duplex() { return t = !0, "half"; } }).headers.has("Content-Type"); return t && !e; }), Pe = 64 * 1024, oe = Qe && Ze(() => a.isReadableStream(new Response("").body)), J = { stream: oe && ((t) => t.body) }; Q && ((t) => { ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => { !J[e] && (J[e] = a.isFunction(t[e]) ? (n) => n[e]() : (n, r) => { throw new m(`Response type '${e}' is not supported`, m.ERR_NOT_SUPPORT, r); }); }); })(new Response()); const Nn = async (t) => { if (t == null) return 0; if (a.isBlob(t)) return t.size; if (a.isSpecCompliantForm(t)) return (await new Request(T.origin, { method: "POST", body: t }).arrayBuffer()).byteLength; if (a.isArrayBufferView(t) || a.isArrayBuffer(t)) return t.byteLength; if (a.isURLSearchParams(t) && (t = t + ""), a.isString(t)) return (await xn(t)).byteLength; }, _n = async (t, e) => { const n = a.toFiniteNumber(t.getContentLength()); return n ?? Nn(e); }, Fn = Q && (async (t) => { let { url: e, method: n, data: r, signal: s, cancelToken: o, timeout: i, onDownloadProgress: c, onUploadProgress: f, responseType: u, headers: l, withCredentials: d = "same-origin", fetchOptions: w } = Xe(t); u = u ? (u + "").toLowerCase() : "text"; let g = On([s, o && o.toAbortSignal()], i), p; const y = g && g.unsubscribe && (() => { g.unsubscribe(); }); let h; try { if (f && Pn && n !== "get" && n !== "head" && (h = await _n(l, r)) !== 0) { let O = new Request(e, { method: "POST", body: r, duplex: "half" }), N; if (a.isFormData(r) && (N = O.headers.get("content-type")) && l.setContentType(N), O.body) { const [F, I] = Te( h, z(Ae(f)) ); r = xe(O.body, Pe, F, I); } } a.isString(d) || (d = d ? "include" : "omit"); const b = "credentials" in Request.prototype; p = new Request(e, { ...w, signal: g, method: n.toUpperCase(), headers: l.normalize().toJSON(), body: r, duplex: "half", credentials: b ? d : void 0 }); let S = await fetch(p); const R = oe && (u === "stream" || u === "response"); if (oe && (c || R && y)) { const O = {}; ["status", "statusText", "headers"].forEach((ye) => { O[ye] = S[ye]; }); const N = a.toFiniteNumber(S.headers.get("content-length")), [F, I] = c && Te( N, z(Ae(c), !0) ) || []; S = new Response( xe(S.body, Pe, F, () => { I && I(), y && y(); }), O ); } u = u || "text"; let P = await J[a.findKey(J, u) || "text"](S, t); return !R && y && y(), await new Promise((O, N) => { We(O, N, { data: P, headers: C.from(S.headers), status: S.status, statusText: S.statusText, config: t, request: p }); }); } catch (b) { throw y && y(), b && b.name === "TypeError" && /fetch/i.test(b.message) ? Object.assign( new m("Network Error", m.ERR_NETWORK, t, p), { cause: b.cause || b } ) : m.from(b, b && b.code, t, p); } }), ie = { http: zt, xhr: Sn, fetch: Fn }; a.forEach(ie, (t, e) => { if (t) { try { Object.defineProperty(t, "name", { value: e }); } catch { } Object.defineProperty(t, "adapterName", { value: e }); } }); const Ne = (t) => `- ${t}`, Ln = (t) => a.isFunction(t) || t === null || t === !1, Ye = { getAdapter: (t) => { t = a.isArray(t) ? t : [t]; const { length: e } = t; let n, r; const s = {}; for (let o = 0; o < e; o++) { n = t[o]; let i; if (r = n, !Ln(n) && (r = ie[(i = String(n)).toLowerCase()], r === void 0)) throw new m(`Unknown adapter '${i}'`); if (r) break; s[i || "#" + o] = r; } if (!r) { const o = Object.entries(s).map( ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build") ); let i = e ? o.length > 1 ? `since : ` + o.map(Ne).join(` `) : " " + Ne(o[0]) : "as no adapter specified"; throw new m( "There is no suitable adapter to dispatch the request " + i, "ERR_NOT_SUPPORT" ); } return r; }, adapters: ie }; function te(t) { if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted) throw new U(null, t); } function _e(t) { return te(t), t.headers = C.from(t.headers), t.data = ee.call( t, t.transformRequest ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ye.getAdapter(t.adapter || pe.adapter)(t).then(function(r) { return te(t), r.data = ee.call( t, t.transformResponse, r ), r.headers = C.from(r.headers), r; }, function(r) { return Ke(r) || (te(t), r && r.response && (r.response.data = ee.call( t, t.transformResponse, r.response ), r.response.headers = C.from(r.response.headers))), Promise.reject(r); }); } const et = "1.7.7", he = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => { he[t] = function(r) { return typeof r === t || "a" + (e < 1 ? "n " : " ") + t; }; }); const Fe = {}; he.transitional = function(e, n, r) { function s(o, i) { return "[Axios v" + et + "] Transitional option '" + o + "'" + i + (r ? ". " + r : ""); } return (o, i, c) => { if (e === !1) throw new m( s(i, " has been removed" + (n ? " in " + n : "")), m.ERR_DEPRECATED ); return n && !Fe[i] && (Fe[i] = !0, console.warn( s( i, " has been deprecated since v" + n + " and will be removed in the near future" ) )), e ? e(o, i, c) : !0; }; }; function Bn(t, e, n) { if (typeof t != "object") throw new m("options must be an object", m.ERR_BAD_OPTION_VALUE); const r = Object.keys(t); let s = r.length; for (; s-- > 0; ) { const o = r[s], i = e[o]; if (i) { const c = t[o], f = c === void 0 || i(c, o, t); if (f !== !0) throw new m("option " + o + " must be " + f, m.ERR_BAD_OPTION_VALUE); continue; } if (n !== !0) throw new m("Unknown option " + o, m.ERR_BAD_OPTION); } } const ae = { assertOptions: Bn, validators: he }, _ = ae.validators; class V { constructor(e) { this.defaults = e, this.interceptors = { request: new Re(), response: new Re() }; } /** * Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config * * @returns {Promise} The Promise to be fulfilled */ async request(e, n) { try { return await this._request(e, n); } catch (r) { if (r instanceof Error) { let s; Error.captureStackTrace ? Error.captureStackTrace(s = {}) : s = new Error(); const o = s.stack ? s.stack.replace(/^.+\n/, "") : ""; try { r.stack ? o && !String(r.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (r.stack += ` ` + o) : r.stack = o; } catch { } } throw r; } } _request(e, n) { typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = B(this.defaults, n); const { transitional: r, paramsSerializer: s, headers: o } = n; r !== void 0 && ae.assertOptions(r, { silentJSONParsing: _.transitional(_.boolean), forcedJSONParsing: _.transitional(_.boolean), clarifyTimeoutError: _.transitional(_.boolean) }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = { serialize: s } : ae.assertOptions(s, { encode: _.function, serialize: _.function }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase(); let i = o && a.merge( o.common, o[n.method] ); o && a.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], (p) => { delete o[p]; } ), n.headers = C.concat(i, o); const c = []; let f = !0; this.interceptors.request.forEach(function(y) { typeof y.runWhen == "function" && y.runWhen(n) === !1 || (f = f && y.synchronous, c.unshift(y.fulfilled, y.rejected)); }); const u = []; this.interceptors.response.forEach(function(y) { u.push(y.fulfilled, y.rejected); }); let l, d = 0, w; if (!f) { const p = [_e.bind(this), void 0]; for (p.unshift.apply(p, c), p.push.apply(p, u), w = p.length, l = Promise.resolve(n); d < w; ) l = l.then(p[d++], p[d++]); return l; } w = c.length; let g = n; for (d = 0; d < w; ) { const p = c[d++], y = c[d++]; try { g = p(g); } catch (h) { y.call(this, h); break; } } try { l = _e.call(this, g); } catch (p) { return Promise.reject(p); } for (d = 0, w = u.length; d < w; ) l = l.then(u[d++], u[d++]); return l; } getUri(e) { e = B(this.defaults, e); const n = Ge(e.baseURL, e.url); return Je(n, e.params, e.paramsSerializer); } } a.forEach(["delete", "get", "head", "options"], function(e) { V.prototype[e] = function(n, r) { return this.request(B(r || {}, { method: e, url: n, data: (r || {}).data })); }; }); a.forEach(["post", "put", "patch"], function(e) { function n(r) { return function(o, i, c) { return this.request(B(c || {}, { method: e, headers: r ? { "Content-Type": "multipart/form-data" } : {}, url: o, data: i })); }; } V.prototype[e] = n(), V.prototype[e + "Form"] = n(!0); }); const $ = V; class me { constructor(e) { if (typeof e != "function") throw new TypeError("executor must be a function."); let n; this.promise = new Promise(function(o) { n = o; }); const r = this; this.promise.then((s) => { if (!r._listeners) return; let o = r._listeners.length; for (; o-- > 0; ) r._listeners[o](s); r._listeners = null; }), this.promise.then = (s) => { let o; const i = new Promise((c) => { r.subscribe(c), o = c; }).then(s); return i.cancel = function() { r.unsubscribe(o); }, i; }, e(function(o, i, c) { r.reason || (r.reason = new U(o, i, c), n(r.reason)); }); } /** * Throws a `CanceledError` if cancellation has been requested. */ throwIfRequested() { if (this.reason) throw this.reason; } /** * Subscribe to the cancel signal */ subscribe(e) { if (this.reason) { e(this.reason); return; } this._listeners ? this._listeners.push(e) : this._listeners = [e]; } /** * Unsubscribe from the cancel signal */ unsubscribe(e) { if (!this._listeners) return; const n = this._listeners.indexOf(e); n !== -1 && this._listeners.splice(n, 1); } toAbortSignal() { const e = new AbortController(), n = (r) => { e.abort(r); }; return this.subscribe(n), e.signal.unsubscribe = () => this.unsubscribe(n), e.signal; } /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. */ static source() { let e; return { token: new me(function(s) { e = s; }), cancel: e }; } } const Dn = me; function Un(t) { return function(n) { return t.apply(null, n); }; } function kn(t) { return a.isObject(t) && t.isAxiosError === !0; } const ce = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; Object.entries(ce).forEach(([t, e]) => { ce[e] = t; }); const jn = ce; function tt(t) { const e = new $(t), n = Le($.prototype.request, e); return a.extend(n, $.prototype, e, { allOwnKeys: !0 }), a.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(s) { return tt(B(t, s)); }, n; } const E = tt(pe); E.Axios = $; E.CanceledError = U; E.CancelToken = Dn; E.isCancel = Ke; E.VERSION = et; E.toFormData = G; E.AxiosError = m; E.Cancel = E.CanceledError; E.all = function(e) { return Promise.all(e); }; E.spread = Un; E.isAxiosError = kn; E.mergeConfig = B; E.AxiosHeaders = C; E.formToJSON = (t) => ve(a.isHTMLForm(t) ? new FormDa