diff --git a/app/assets/views/DashboardView.vue b/app/assets/views/DashboardView.vue index 7b0e736..f88058c 100644 --- a/app/assets/views/DashboardView.vue +++ b/app/assets/views/DashboardView.vue @@ -1,3 +1,163 @@ + + \ No newline at end of file diff --git a/dist/DashboardView-BbtHCt79.js b/dist/DashboardView-BbtHCt79.js deleted file mode 100644 index 451379b..0000000 --- a/dist/DashboardView-BbtHCt79.js +++ /dev/null @@ -1,10 +0,0 @@ -import { openBlock as e, createElementBlock as r } from "vue"; -import { _ as o } from "./_plugin-vue_export-helper-CHgC5LLL.js"; -const c = {}; -function t(n, a) { - return e(), r("div", null, "Dashboard View"); -} -const f = /* @__PURE__ */ o(c, [["render", t]]); -export { - f as default -}; diff --git a/dist/DashboardView-CIXrA1vp.js b/dist/DashboardView-CIXrA1vp.js new file mode 100644 index 0000000..bab362c --- /dev/null +++ b/dist/DashboardView-CIXrA1vp.js @@ -0,0 +1,1955 @@ +import { ref as at, resolveComponent as re, openBlock as H, createElementBlock as M, Fragment as se, createElementVNode as d, createVNode as N, withCtx as j, toDisplayString as T, renderList as Se, createTextVNode as lt } from "vue"; +function ve(e, t) { + return function() { + return e.apply(t, arguments); + }; +} +const { toString: ct } = Object.prototype, { getPrototypeOf: ye } = Object, Z = /* @__PURE__ */ ((e) => (t) => { + const r = ct.call(t); + return e[r] || (e[r] = r.slice(8, -1).toLowerCase()); +})(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => Z(t) === e), Y = (e) => (t) => typeof t === e, { isArray: q } = Array, J = Y("undefined"); +function ut(e) { + return e !== null && !J(e) && e.constructor !== null && !J(e.constructor) && _(e.constructor.isBuffer) && e.constructor.isBuffer(e); +} +const je = C("ArrayBuffer"); +function dt(e) { + let t; + return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && je(e.buffer), t; +} +const ft = Y("string"), _ = Y("function"), qe = Y("number"), ee = (e) => e !== null && typeof e == "object", pt = (e) => e === !0 || e === !1, K = (e) => { + if (Z(e) !== "object") + return !1; + const t = ye(e); + return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); +}, ht = C("Date"), mt = C("File"), yt = C("Blob"), bt = C("FileList"), wt = (e) => ee(e) && _(e.pipe), gt = (e) => { + let t; + return e && (typeof FormData == "function" && e instanceof FormData || _(e.append) && ((t = Z(e)) === "formdata" || // detect form-data instance + t === "object" && _(e.toString) && e.toString() === "[object FormData]")); +}, Et = C("URLSearchParams"), [Rt, St, Ot, kt] = ["ReadableStream", "Request", "Response", "Headers"].map(C), Tt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); +function V(e, t, { allOwnKeys: r = !1 } = {}) { + if (e === null || typeof e > "u") + return; + let n, s; + if (typeof e != "object" && (e = [e]), q(e)) + for (n = 0, s = e.length; n < s; n++) + t.call(null, e[n], n, e); + else { + const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length; + let l; + for (n = 0; n < i; n++) + l = o[n], t.call(null, e[l], l, e); + } +} +function Ie(e, t) { + t = t.toLowerCase(); + const r = Object.keys(e); + let n = r.length, s; + for (; n-- > 0; ) + if (s = r[n], t === s.toLowerCase()) + return s; + return null; +} +const D = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, He = (e) => !J(e) && e !== D; +function ce() { + const { caseless: e } = He(this) && this || {}, t = {}, r = (n, s) => { + const o = e && Ie(t, s) || s; + K(t[o]) && K(n) ? t[o] = ce(t[o], n) : K(n) ? t[o] = ce({}, n) : q(n) ? t[o] = n.slice() : t[o] = n; + }; + for (let n = 0, s = arguments.length; n < s; n++) + arguments[n] && V(arguments[n], r); + return t; +} +const xt = (e, t, r, { allOwnKeys: n } = {}) => (V(t, (s, o) => { + r && _(s) ? e[o] = ve(s, r) : e[o] = s; +}, { allOwnKeys: n }), e), At = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), _t = (e, t, r, n) => { + e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", { + value: t.prototype + }), r && Object.assign(e.prototype, r); +}, Ct = (e, t, r, n) => { + let s, o, i; + const l = {}; + if (t = t || {}, e == null) return t; + do { + for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; ) + i = s[o], (!n || n(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0); + e = r !== !1 && ye(e); + } while (e && (!r || r(e, t)) && e !== Object.prototype); + return t; +}, Nt = (e, t, r) => { + e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length; + const n = e.indexOf(t, r); + return n !== -1 && n === r; +}, Pt = (e) => { + if (!e) return null; + if (q(e)) return e; + let t = e.length; + if (!qe(t)) return null; + const r = new Array(t); + for (; t-- > 0; ) + r[t] = e[t]; + return r; +}, Ft = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ye(Uint8Array)), Lt = (e, t) => { + const n = (e && e[Symbol.iterator]).call(e); + let s; + for (; (s = n.next()) && !s.done; ) { + const o = s.value; + t.call(e, o[0], o[1]); + } +}, Bt = (e, t) => { + let r; + const n = []; + for (; (r = e.exec(t)) !== null; ) + n.push(r); + return n; +}, Dt = C("HTMLFormElement"), Ut = (e) => e.toLowerCase().replace( + /[-_\s]([a-z\d])(\w*)/g, + function(r, n, s) { + return n.toUpperCase() + s; + } +), Oe = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), vt = C("RegExp"), Me = (e, t) => { + const r = Object.getOwnPropertyDescriptors(e), n = {}; + V(r, (s, o) => { + let i; + (i = t(s, o, e)) !== !1 && (n[o] = i || s); + }), Object.defineProperties(e, n); +}, jt = (e) => { + Me(e, (t, r) => { + if (_(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1) + return !1; + const n = e[r]; + if (_(n)) { + if (t.enumerable = !1, "writable" in t) { + t.writable = !1; + return; + } + t.set || (t.set = () => { + throw Error("Can not rewrite read-only method '" + r + "'"); + }); + } + }); +}, qt = (e, t) => { + const r = {}, n = (s) => { + s.forEach((o) => { + r[o] = !0; + }); + }; + return q(e) ? n(e) : n(String(e).split(t)), r; +}, It = () => { +}, Ht = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, oe = "abcdefghijklmnopqrstuvwxyz", ke = "0123456789", ze = { + DIGIT: ke, + ALPHA: oe, + ALPHA_DIGIT: oe + oe.toUpperCase() + ke +}, Mt = (e = 16, t = ze.ALPHA_DIGIT) => { + let r = ""; + const { length: n } = t; + for (; e--; ) + r += t[Math.random() * n | 0]; + return r; +}; +function zt(e) { + return !!(e && _(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]); +} +const Jt = (e) => { + const t = new Array(10), r = (n, s) => { + if (ee(n)) { + if (t.indexOf(n) >= 0) + return; + if (!("toJSON" in n)) { + t[s] = n; + const o = q(n) ? [] : {}; + return V(n, (i, l) => { + const f = r(i, s + 1); + !J(f) && (o[l] = f); + }), t[s] = void 0, o; + } + } + return n; + }; + return r(e, 0); +}, Vt = C("AsyncFunction"), Wt = (e) => e && (ee(e) || _(e)) && _(e.then) && _(e.catch), Je = ((e, t) => e ? setImmediate : t ? ((r, n) => (D.addEventListener("message", ({ source: s, data: o }) => { + s === D && o === r && n.length && n.shift()(); +}, !1), (s) => { + n.push(s), D.postMessage(r, "*"); +}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))( + typeof setImmediate == "function", + _(D.postMessage) +), $t = typeof queueMicrotask < "u" ? queueMicrotask.bind(D) : typeof process < "u" && process.nextTick || Je, a = { + isArray: q, + isArrayBuffer: je, + isBuffer: ut, + isFormData: gt, + isArrayBufferView: dt, + isString: ft, + isNumber: qe, + isBoolean: pt, + isObject: ee, + isPlainObject: K, + isReadableStream: Rt, + isRequest: St, + isResponse: Ot, + isHeaders: kt, + isUndefined: J, + isDate: ht, + isFile: mt, + isBlob: yt, + isRegExp: vt, + isFunction: _, + isStream: wt, + isURLSearchParams: Et, + isTypedArray: Ft, + isFileList: bt, + forEach: V, + merge: ce, + extend: xt, + trim: Tt, + stripBOM: At, + inherits: _t, + toFlatObject: Ct, + kindOf: Z, + kindOfTest: C, + endsWith: Nt, + toArray: Pt, + forEachEntry: Lt, + matchAll: Bt, + isHTMLForm: Dt, + hasOwnProperty: Oe, + hasOwnProp: Oe, + // an alias to avoid ESLint no-prototype-builtins detection + reduceDescriptors: Me, + freezeMethods: jt, + toObjectSet: qt, + toCamelCase: Ut, + noop: It, + toFiniteNumber: Ht, + findKey: Ie, + global: D, + isContextDefined: He, + ALPHABET: ze, + generateString: Mt, + isSpecCompliantForm: zt, + toJSONObject: Jt, + isAsyncFn: Vt, + isThenable: Wt, + setImmediate: Je, + asap: $t +}; +function y(e, t, r, n, s) { + 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), r && (this.config = r), n && (this.request = n), s && (this.response = s, this.status = s.status ? s.status : null); +} +a.inherits(y, 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 Ve = y.prototype, We = {}; +[ + "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((e) => { + We[e] = { value: e }; +}); +Object.defineProperties(y, We); +Object.defineProperty(Ve, "isAxiosError", { value: !0 }); +y.from = (e, t, r, n, s, o) => { + const i = Object.create(Ve); + return a.toFlatObject(e, i, function(f) { + return f !== Error.prototype; + }, (l) => l !== "isAxiosError"), y.call(i, e.message, t, r, n, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i; +}; +const Kt = null; +function ue(e) { + return a.isPlainObject(e) || a.isArray(e); +} +function $e(e) { + return a.endsWith(e, "[]") ? e.slice(0, -2) : e; +} +function Te(e, t, r) { + return e ? e.concat(t).map(function(s, o) { + return s = $e(s), !r && o ? "[" + s + "]" : s; + }).join(r ? "." : "") : t; +} +function Gt(e) { + return a.isArray(e) && !e.some(ue); +} +const Xt = a.toFlatObject(a, {}, null, function(t) { + return /^is[A-Z]/.test(t); +}); +function te(e, t, r) { + if (!a.isObject(e)) + throw new TypeError("target must be an object"); + t = t || new FormData(), r = a.toFlatObject(r, { + metaTokens: !0, + dots: !1, + indexes: !1 + }, !1, function(b, m) { + return !a.isUndefined(m[b]); + }); + const n = r.metaTokens, s = r.visitor || u, o = r.dots, i = r.indexes, f = (r.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t); + if (!a.isFunction(s)) + throw new TypeError("visitor must be a function"); + function c(h) { + if (h === null) return ""; + if (a.isDate(h)) + return h.toISOString(); + if (!f && a.isBlob(h)) + throw new y("Blob is not supported. Use a Buffer instead."); + return a.isArrayBuffer(h) || a.isTypedArray(h) ? f && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h; + } + function u(h, b, m) { + let g = h; + if (h && !m && typeof h == "object") { + if (a.endsWith(b, "{}")) + b = n ? b : b.slice(0, -2), h = JSON.stringify(h); + else if (a.isArray(h) && Gt(h) || (a.isFileList(h) || a.endsWith(b, "[]")) && (g = a.toArray(h))) + return b = $e(b), g.forEach(function(O, P) { + !(a.isUndefined(O) || O === null) && t.append( + // eslint-disable-next-line no-nested-ternary + i === !0 ? Te([b], P, o) : i === null ? b : b + "[]", + c(O) + ); + }), !1; + } + return ue(h) ? !0 : (t.append(Te(m, b, o), c(h)), !1); + } + const p = [], w = Object.assign(Xt, { + defaultVisitor: u, + convertValue: c, + isVisitable: ue + }); + function R(h, b) { + if (!a.isUndefined(h)) { + if (p.indexOf(h) !== -1) + throw Error("Circular reference detected in " + b.join(".")); + p.push(h), a.forEach(h, function(g, S) { + (!(a.isUndefined(g) || g === null) && s.call( + t, + g, + a.isString(S) ? S.trim() : S, + b, + w + )) === !0 && R(g, b ? b.concat(S) : [S]); + }), p.pop(); + } + } + if (!a.isObject(e)) + throw new TypeError("data must be an object"); + return R(e), t; +} +function xe(e) { + const t = { + "!": "%21", + "'": "%27", + "(": "%28", + ")": "%29", + "~": "%7E", + "%20": "+", + "%00": "\0" + }; + return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) { + return t[n]; + }); +} +function be(e, t) { + this._pairs = [], e && te(e, this, t); +} +const Ke = be.prototype; +Ke.append = function(t, r) { + this._pairs.push([t, r]); +}; +Ke.toString = function(t) { + const r = t ? function(n) { + return t.call(this, n, xe); + } : xe; + return this._pairs.map(function(s) { + return r(s[0]) + "=" + r(s[1]); + }, "").join("&"); +}; +function Qt(e) { + return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); +} +function Ge(e, t, r) { + if (!t) + return e; + const n = r && r.encode || Qt, s = r && r.serialize; + let o; + if (s ? o = s(t, r) : o = a.isURLSearchParams(t) ? t.toString() : new be(t, r).toString(n), o) { + const i = e.indexOf("#"); + i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o; + } + return e; +} +class Ae { + 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(t, r, n) { + return this.handlers.push({ + fulfilled: t, + rejected: r, + synchronous: n ? n.synchronous : !1, + runWhen: n ? n.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(t) { + this.handlers[t] && (this.handlers[t] = 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(t) { + a.forEach(this.handlers, function(n) { + n !== null && t(n); + }); + } +} +const Xe = { + silentJSONParsing: !0, + forcedJSONParsing: !0, + clarifyTimeoutError: !1 +}, Zt = typeof URLSearchParams < "u" ? URLSearchParams : be, Yt = typeof FormData < "u" ? FormData : null, en = typeof Blob < "u" ? Blob : null, tn = { + isBrowser: !0, + classes: { + URLSearchParams: Zt, + FormData: Yt, + Blob: en + }, + protocols: ["http", "https", "file", "blob", "url", "data"] +}, we = typeof window < "u" && typeof document < "u", de = typeof navigator == "object" && navigator || void 0, nn = we && (!de || ["ReactNative", "NativeScript", "NS"].indexOf(de.product) < 0), rn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef +self instanceof WorkerGlobalScope && typeof self.importScripts == "function", sn = we && window.location.href || "http://localhost", on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + hasBrowserEnv: we, + hasStandardBrowserEnv: nn, + hasStandardBrowserWebWorkerEnv: rn, + navigator: de, + origin: sn +}, Symbol.toStringTag, { value: "Module" })), x = { + ...on, + ...tn +}; +function an(e, t) { + return te(e, new x.classes.URLSearchParams(), Object.assign({ + visitor: function(r, n, s, o) { + return x.isNode && a.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments); + } + }, t)); +} +function ln(e) { + return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]); +} +function cn(e) { + const t = {}, r = Object.keys(e); + let n; + const s = r.length; + let o; + for (n = 0; n < s; n++) + o = r[n], t[o] = e[o]; + return t; +} +function Qe(e) { + function t(r, n, s, o) { + let i = r[o++]; + if (i === "__proto__") return !0; + const l = Number.isFinite(+i), f = o >= r.length; + return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], n] : s[i] = n, !l) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(r, n, s[i], o) && a.isArray(s[i]) && (s[i] = cn(s[i])), !l); + } + if (a.isFormData(e) && a.isFunction(e.entries)) { + const r = {}; + return a.forEachEntry(e, (n, s) => { + t(ln(n), s, r, 0); + }), r; + } + return null; +} +function un(e, t, r) { + if (a.isString(e)) + try { + return (t || JSON.parse)(e), a.trim(e); + } catch (n) { + if (n.name !== "SyntaxError") + throw n; + } + return (0, JSON.stringify)(e); +} +const W = { + transitional: Xe, + adapter: ["xhr", "http", "fetch"], + transformRequest: [function(t, r) { + const n = r.getContentType() || "", s = n.indexOf("application/json") > -1, o = a.isObject(t); + if (o && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t)) + return s ? JSON.stringify(Qe(t)) : t; + if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t)) + return t; + if (a.isArrayBufferView(t)) + return t.buffer; + if (a.isURLSearchParams(t)) + return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString(); + let l; + if (o) { + if (n.indexOf("application/x-www-form-urlencoded") > -1) + return an(t, this.formSerializer).toString(); + if ((l = a.isFileList(t)) || n.indexOf("multipart/form-data") > -1) { + const f = this.env && this.env.FormData; + return te( + l ? { "files[]": t } : t, + f && new f(), + this.formSerializer + ); + } + } + return o || s ? (r.setContentType("application/json", !1), un(t)) : t; + }], + transformResponse: [function(t) { + const r = this.transitional || W.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json"; + if (a.isResponse(t) || a.isReadableStream(t)) + return t; + if (t && a.isString(t) && (n && !this.responseType || s)) { + const i = !(r && r.silentJSONParsing) && s; + try { + return JSON.parse(t); + } catch (l) { + if (i) + throw l.name === "SyntaxError" ? y.from(l, y.ERR_BAD_RESPONSE, this, null, this.response) : l; + } + } + return t; + }], + /** + * 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: x.classes.FormData, + Blob: x.classes.Blob + }, + validateStatus: function(t) { + return t >= 200 && t < 300; + }, + headers: { + common: { + Accept: "application/json, text/plain, */*", + "Content-Type": void 0 + } + } +}; +a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => { + W.headers[e] = {}; +}); +const dn = 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" +]), fn = (e) => { + const t = {}; + let r, n, s; + return e && e.split(` +`).forEach(function(i) { + s = i.indexOf(":"), r = i.substring(0, s).trim().toLowerCase(), n = i.substring(s + 1).trim(), !(!r || t[r] && dn[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n); + }), t; +}, _e = Symbol("internals"); +function z(e) { + return e && String(e).trim().toLowerCase(); +} +function G(e) { + return e === !1 || e == null ? e : a.isArray(e) ? e.map(G) : String(e); +} +function pn(e) { + const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let n; + for (; n = r.exec(e); ) + t[n[1]] = n[2]; + return t; +} +const hn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()); +function ie(e, t, r, n, s) { + if (a.isFunction(n)) + return n.call(this, t, r); + if (s && (t = r), !!a.isString(t)) { + if (a.isString(n)) + return t.indexOf(n) !== -1; + if (a.isRegExp(n)) + return n.test(t); + } +} +function mn(e) { + return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n); +} +function yn(e, t) { + const r = a.toCamelCase(" " + t); + ["get", "set", "has"].forEach((n) => { + Object.defineProperty(e, n + r, { + value: function(s, o, i) { + return this[n].call(this, t, s, o, i); + }, + configurable: !0 + }); + }); +} +class A { + constructor(t) { + t && this.set(t); + } + set(t, r, n) { + const s = this; + function o(l, f, c) { + const u = z(f); + if (!u) + throw new Error("header name must be a non-empty string"); + const p = a.findKey(s, u); + (!p || s[p] === void 0 || c === !0 || c === void 0 && s[p] !== !1) && (s[p || f] = G(l)); + } + const i = (l, f) => a.forEach(l, (c, u) => o(c, u, f)); + if (a.isPlainObject(t) || t instanceof this.constructor) + i(t, r); + else if (a.isString(t) && (t = t.trim()) && !hn(t)) + i(fn(t), r); + else if (a.isHeaders(t)) + for (const [l, f] of t.entries()) + o(f, l, n); + else + t != null && o(r, t, n); + return this; + } + get(t, r) { + if (t = z(t), t) { + const n = a.findKey(this, t); + if (n) { + const s = this[n]; + if (!r) + return s; + if (r === !0) + return pn(s); + if (a.isFunction(r)) + return r.call(this, s, n); + if (a.isRegExp(r)) + return r.exec(s); + throw new TypeError("parser must be boolean|regexp|function"); + } + } + } + has(t, r) { + if (t = z(t), t) { + const n = a.findKey(this, t); + return !!(n && this[n] !== void 0 && (!r || ie(this, this[n], n, r))); + } + return !1; + } + delete(t, r) { + const n = this; + let s = !1; + function o(i) { + if (i = z(i), i) { + const l = a.findKey(n, i); + l && (!r || ie(n, n[l], l, r)) && (delete n[l], s = !0); + } + } + return a.isArray(t) ? t.forEach(o) : o(t), s; + } + clear(t) { + const r = Object.keys(this); + let n = r.length, s = !1; + for (; n--; ) { + const o = r[n]; + (!t || ie(this, this[o], o, t, !0)) && (delete this[o], s = !0); + } + return s; + } + normalize(t) { + const r = this, n = {}; + return a.forEach(this, (s, o) => { + const i = a.findKey(n, o); + if (i) { + r[i] = G(s), delete r[o]; + return; + } + const l = t ? mn(o) : String(o).trim(); + l !== o && delete r[o], r[l] = G(s), n[l] = !0; + }), this; + } + concat(...t) { + return this.constructor.concat(this, ...t); + } + toJSON(t) { + const r = /* @__PURE__ */ Object.create(null); + return a.forEach(this, (n, s) => { + n != null && n !== !1 && (r[s] = t && a.isArray(n) ? n.join(", ") : n); + }), r; + } + [Symbol.iterator]() { + return Object.entries(this.toJSON())[Symbol.iterator](); + } + toString() { + return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(` +`); + } + get [Symbol.toStringTag]() { + return "AxiosHeaders"; + } + static from(t) { + return t instanceof this ? t : new this(t); + } + static concat(t, ...r) { + const n = new this(t); + return r.forEach((s) => n.set(s)), n; + } + static accessor(t) { + const n = (this[_e] = this[_e] = { + accessors: {} + }).accessors, s = this.prototype; + function o(i) { + const l = z(i); + n[l] || (yn(s, i), n[l] = !0); + } + return a.isArray(t) ? t.forEach(o) : o(t), this; + } +} +A.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]); +a.reduceDescriptors(A.prototype, ({ value: e }, t) => { + let r = t[0].toUpperCase() + t.slice(1); + return { + get: () => e, + set(n) { + this[r] = n; + } + }; +}); +a.freezeMethods(A); +function ae(e, t) { + const r = this || W, n = t || r, s = A.from(n.headers); + let o = n.data; + return a.forEach(e, function(l) { + o = l.call(r, o, s.normalize(), t ? t.status : void 0); + }), s.normalize(), o; +} +function Ze(e) { + return !!(e && e.__CANCEL__); +} +function I(e, t, r) { + y.call(this, e ?? "canceled", y.ERR_CANCELED, t, r), this.name = "CanceledError"; +} +a.inherits(I, y, { + __CANCEL__: !0 +}); +function Ye(e, t, r) { + const n = r.config.validateStatus; + !r.status || !n || n(r.status) ? e(r) : t(new y( + "Request failed with status code " + r.status, + [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4], + r.config, + r.request, + r + )); +} +function bn(e) { + const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e); + return t && t[1] || ""; +} +function wn(e, t) { + e = e || 10; + const r = new Array(e), n = new Array(e); + let s = 0, o = 0, i; + return t = t !== void 0 ? t : 1e3, function(f) { + const c = Date.now(), u = n[o]; + i || (i = c), r[s] = f, n[s] = c; + let p = o, w = 0; + for (; p !== s; ) + w += r[p++], p = p % e; + if (s = (s + 1) % e, s === o && (o = (o + 1) % e), c - i < t) + return; + const R = u && c - u; + return R ? Math.round(w * 1e3 / R) : void 0; + }; +} +function gn(e, t) { + let r = 0, n = 1e3 / t, s, o; + const i = (c, u = Date.now()) => { + r = u, s = null, o && (clearTimeout(o), o = null), e.apply(null, c); + }; + return [(...c) => { + const u = Date.now(), p = u - r; + p >= n ? i(c, u) : (s = c, o || (o = setTimeout(() => { + o = null, i(s); + }, n - p))); + }, () => s && i(s)]; +} +const X = (e, t, r = 3) => { + let n = 0; + const s = wn(50, 250); + return gn((o) => { + const i = o.loaded, l = o.lengthComputable ? o.total : void 0, f = i - n, c = s(f), u = i <= l; + n = i; + const p = { + loaded: i, + total: l, + progress: l ? i / l : void 0, + bytes: f, + rate: c || void 0, + estimated: c && l && u ? (l - i) / c : void 0, + event: o, + lengthComputable: l != null, + [t ? "download" : "upload"]: !0 + }; + e(p); + }, r); +}, Ce = (e, t) => { + const r = e != null; + return [(n) => t[0]({ + lengthComputable: r, + total: e, + loaded: n + }), t[1]]; +}, Ne = (e) => (...t) => a.asap(() => e(...t)), En = x.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 t = x.navigator && /(msie|trident)/i.test(x.navigator.userAgent), r = document.createElement("a"); + let n; + function s(o) { + let i = o; + return t && (r.setAttribute("href", i), i = r.href), r.setAttribute("href", i), { + href: r.href, + protocol: r.protocol ? r.protocol.replace(/:$/, "") : "", + host: r.host, + search: r.search ? r.search.replace(/^\?/, "") : "", + hash: r.hash ? r.hash.replace(/^#/, "") : "", + hostname: r.hostname, + port: r.port, + pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname + }; + } + return n = s(window.location.href), function(i) { + const l = a.isString(i) ? s(i) : i; + return l.protocol === n.protocol && l.host === n.host; + }; + }() +) : ( + // Non standard browser envs (web workers, react-native) lack needed support. + /* @__PURE__ */ function() { + return function() { + return !0; + }; + }() +), Rn = x.hasStandardBrowserEnv ? ( + // Standard browser envs support document.cookie + { + write(e, t, r, n, s, o) { + const i = [e + "=" + encodeURIComponent(t)]; + a.isNumber(r) && i.push("expires=" + new Date(r).toGMTString()), a.isString(n) && i.push("path=" + n), a.isString(s) && i.push("domain=" + s), o === !0 && i.push("secure"), document.cookie = i.join("; "); + }, + read(e) { + const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); + return t ? decodeURIComponent(t[3]) : null; + }, + remove(e) { + this.write(e, "", Date.now() - 864e5); + } + } +) : ( + // Non-standard browser env (web workers, react-native) lack needed support. + { + write() { + }, + read() { + return null; + }, + remove() { + } + } +); +function Sn(e) { + return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e); +} +function On(e, t) { + return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e; +} +function et(e, t) { + return e && !Sn(t) ? On(e, t) : t; +} +const Pe = (e) => e instanceof A ? { ...e } : e; +function v(e, t) { + t = t || {}; + const r = {}; + function n(c, u, p) { + return a.isPlainObject(c) && a.isPlainObject(u) ? a.merge.call({ caseless: p }, c, u) : a.isPlainObject(u) ? a.merge({}, u) : a.isArray(u) ? u.slice() : u; + } + function s(c, u, p) { + if (a.isUndefined(u)) { + if (!a.isUndefined(c)) + return n(void 0, c, p); + } else return n(c, u, p); + } + function o(c, u) { + if (!a.isUndefined(u)) + return n(void 0, u); + } + function i(c, u) { + if (a.isUndefined(u)) { + if (!a.isUndefined(c)) + return n(void 0, c); + } else return n(void 0, u); + } + function l(c, u, p) { + if (p in t) + return n(c, u); + if (p in e) + return n(void 0, c); + } + 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: l, + headers: (c, u) => s(Pe(c), Pe(u), !0) + }; + return a.forEach(Object.keys(Object.assign({}, e, t)), function(u) { + const p = f[u] || s, w = p(e[u], t[u], u); + a.isUndefined(w) && p !== l || (r[u] = w); + }), r; +} +const tt = (e) => { + const t = v({}, e); + let { data: r, withXSRFToken: n, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: l } = t; + t.headers = i = A.from(i), t.url = Ge(et(t.baseURL, t.url), e.params, e.paramsSerializer), l && i.set( + "Authorization", + "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : "")) + ); + let f; + if (a.isFormData(r)) { + if (x.hasStandardBrowserEnv || x.hasStandardBrowserWebWorkerEnv) + i.setContentType(void 0); + else if ((f = i.getContentType()) !== !1) { + const [c, ...u] = f ? f.split(";").map((p) => p.trim()).filter(Boolean) : []; + i.setContentType([c || "multipart/form-data", ...u].join("; ")); + } + } + if (x.hasStandardBrowserEnv && (n && a.isFunction(n) && (n = n(t)), n || n !== !1 && En(t.url))) { + const c = s && o && Rn.read(o); + c && i.set(s, c); + } + return t; +}, kn = typeof XMLHttpRequest < "u", Tn = kn && function(e) { + return new Promise(function(r, n) { + const s = tt(e); + let o = s.data; + const i = A.from(s.headers).normalize(); + let { responseType: l, onUploadProgress: f, onDownloadProgress: c } = s, u, p, w, R, h; + function b() { + R && R(), h && h(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u); + } + let m = new XMLHttpRequest(); + m.open(s.method.toUpperCase(), s.url, !0), m.timeout = s.timeout; + function g() { + if (!m) + return; + const O = A.from( + "getAllResponseHeaders" in m && m.getAllResponseHeaders() + ), k = { + data: !l || l === "text" || l === "json" ? m.responseText : m.response, + status: m.status, + statusText: m.statusText, + headers: O, + config: e, + request: m + }; + Ye(function(B) { + r(B), b(); + }, function(B) { + n(B), b(); + }, k), m = null; + } + "onloadend" in m ? m.onloadend = g : m.onreadystatechange = function() { + !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(g); + }, m.onabort = function() { + m && (n(new y("Request aborted", y.ECONNABORTED, e, m)), m = null); + }, m.onerror = function() { + n(new y("Network Error", y.ERR_NETWORK, e, m)), m = null; + }, m.ontimeout = function() { + let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded"; + const k = s.transitional || Xe; + s.timeoutErrorMessage && (P = s.timeoutErrorMessage), n(new y( + P, + k.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED, + e, + m + )), m = null; + }, o === void 0 && i.setContentType(null), "setRequestHeader" in m && a.forEach(i.toJSON(), function(P, k) { + m.setRequestHeader(k, P); + }), a.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), l && l !== "json" && (m.responseType = s.responseType), c && ([w, h] = X(c, !0), m.addEventListener("progress", w)), f && m.upload && ([p, R] = X(f), m.upload.addEventListener("progress", p), m.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (u = (O) => { + m && (n(!O || O.type ? new I(null, e, m) : O), m.abort(), m = null); + }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u))); + const S = bn(s.url); + if (S && x.protocols.indexOf(S) === -1) { + n(new y("Unsupported protocol " + S + ":", y.ERR_BAD_REQUEST, e)); + return; + } + m.send(o || null); + }); +}, xn = (e, t) => { + const { length: r } = e = e ? e.filter(Boolean) : []; + if (t || r) { + let n = new AbortController(), s; + const o = function(c) { + if (!s) { + s = !0, l(); + const u = c instanceof Error ? c : this.reason; + n.abort(u instanceof y ? u : new I(u instanceof Error ? u.message : u)); + } + }; + let i = t && setTimeout(() => { + i = null, o(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT)); + }, t); + const l = () => { + e && (i && clearTimeout(i), i = null, e.forEach((c) => { + c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o); + }), e = null); + }; + e.forEach((c) => c.addEventListener("abort", o)); + const { signal: f } = n; + return f.unsubscribe = () => a.asap(l), f; + } +}, An = function* (e, t) { + let r = e.byteLength; + if (r < t) { + yield e; + return; + } + let n = 0, s; + for (; n < r; ) + s = n + t, yield e.slice(n, s), n = s; +}, _n = async function* (e, t) { + for await (const r of Cn(e)) + yield* An(r, t); +}, Cn = async function* (e) { + if (e[Symbol.asyncIterator]) { + yield* e; + return; + } + const t = e.getReader(); + try { + for (; ; ) { + const { done: r, value: n } = await t.read(); + if (r) + break; + yield n; + } + } finally { + await t.cancel(); + } +}, Fe = (e, t, r, n) => { + const s = _n(e, t); + let o = 0, i, l = (f) => { + i || (i = !0, n && n(f)); + }; + return new ReadableStream({ + async pull(f) { + try { + const { done: c, value: u } = await s.next(); + if (c) { + l(), f.close(); + return; + } + let p = u.byteLength; + if (r) { + let w = o += p; + r(w); + } + f.enqueue(new Uint8Array(u)); + } catch (c) { + throw l(c), c; + } + }, + cancel(f) { + return l(f), s.return(); + } + }, { + highWaterMark: 2 + }); +}, ne = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", nt = ne && typeof ReadableStream == "function", Nn = ne && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), rt = (e, ...t) => { + try { + return !!e(...t); + } catch { + return !1; + } +}, Pn = nt && rt(() => { + let e = !1; + const t = new Request(x.origin, { + body: new ReadableStream(), + method: "POST", + get duplex() { + return e = !0, "half"; + } + }).headers.has("Content-Type"); + return e && !t; +}), Le = 64 * 1024, fe = nt && rt(() => a.isReadableStream(new Response("").body)), Q = { + stream: fe && ((e) => e.body) +}; +ne && ((e) => { + ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => { + !Q[t] && (Q[t] = a.isFunction(e[t]) ? (r) => r[t]() : (r, n) => { + throw new y(`Response type '${t}' is not supported`, y.ERR_NOT_SUPPORT, n); + }); + }); +})(new Response()); +const Fn = async (e) => { + if (e == null) + return 0; + if (a.isBlob(e)) + return e.size; + if (a.isSpecCompliantForm(e)) + return (await new Request(x.origin, { + method: "POST", + body: e + }).arrayBuffer()).byteLength; + if (a.isArrayBufferView(e) || a.isArrayBuffer(e)) + return e.byteLength; + if (a.isURLSearchParams(e) && (e = e + ""), a.isString(e)) + return (await Nn(e)).byteLength; +}, Ln = async (e, t) => { + const r = a.toFiniteNumber(e.getContentLength()); + return r ?? Fn(t); +}, Bn = ne && (async (e) => { + let { + url: t, + method: r, + data: n, + signal: s, + cancelToken: o, + timeout: i, + onDownloadProgress: l, + onUploadProgress: f, + responseType: c, + headers: u, + withCredentials: p = "same-origin", + fetchOptions: w + } = tt(e); + c = c ? (c + "").toLowerCase() : "text"; + let R = xn([s, o && o.toAbortSignal()], i), h; + const b = R && R.unsubscribe && (() => { + R.unsubscribe(); + }); + let m; + try { + if (f && Pn && r !== "get" && r !== "head" && (m = await Ln(u, n)) !== 0) { + let k = new Request(t, { + method: "POST", + body: n, + duplex: "half" + }), F; + if (a.isFormData(n) && (F = k.headers.get("content-type")) && u.setContentType(F), k.body) { + const [B, $] = Ce( + m, + X(Ne(f)) + ); + n = Fe(k.body, Le, B, $); + } + } + a.isString(p) || (p = p ? "include" : "omit"); + const g = "credentials" in Request.prototype; + h = new Request(t, { + ...w, + signal: R, + method: r.toUpperCase(), + headers: u.normalize().toJSON(), + body: n, + duplex: "half", + credentials: g ? p : void 0 + }); + let S = await fetch(h); + const O = fe && (c === "stream" || c === "response"); + if (fe && (l || O && b)) { + const k = {}; + ["status", "statusText", "headers"].forEach((Re) => { + k[Re] = S[Re]; + }); + const F = a.toFiniteNumber(S.headers.get("content-length")), [B, $] = l && Ce( + F, + X(Ne(l), !0) + ) || []; + S = new Response( + Fe(S.body, Le, B, () => { + $ && $(), b && b(); + }), + k + ); + } + c = c || "text"; + let P = await Q[a.findKey(Q, c) || "text"](S, e); + return !O && b && b(), await new Promise((k, F) => { + Ye(k, F, { + data: P, + headers: A.from(S.headers), + status: S.status, + statusText: S.statusText, + config: e, + request: h + }); + }); + } catch (g) { + throw b && b(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign( + new y("Network Error", y.ERR_NETWORK, e, h), + { + cause: g.cause || g + } + ) : y.from(g, g && g.code, e, h); + } +}), pe = { + http: Kt, + xhr: Tn, + fetch: Bn +}; +a.forEach(pe, (e, t) => { + if (e) { + try { + Object.defineProperty(e, "name", { value: t }); + } catch { + } + Object.defineProperty(e, "adapterName", { value: t }); + } +}); +const Be = (e) => `- ${e}`, Dn = (e) => a.isFunction(e) || e === null || e === !1, st = { + getAdapter: (e) => { + e = a.isArray(e) ? e : [e]; + const { length: t } = e; + let r, n; + const s = {}; + for (let o = 0; o < t; o++) { + r = e[o]; + let i; + if (n = r, !Dn(r) && (n = pe[(i = String(r)).toLowerCase()], n === void 0)) + throw new y(`Unknown adapter '${i}'`); + if (n) + break; + s[i || "#" + o] = n; + } + if (!n) { + const o = Object.entries(s).map( + ([l, f]) => `adapter ${l} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build") + ); + let i = t ? o.length > 1 ? `since : +` + o.map(Be).join(` +`) : " " + Be(o[0]) : "as no adapter specified"; + throw new y( + "There is no suitable adapter to dispatch the request " + i, + "ERR_NOT_SUPPORT" + ); + } + return n; + }, + adapters: pe +}; +function le(e) { + if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) + throw new I(null, e); +} +function De(e) { + return le(e), e.headers = A.from(e.headers), e.data = ae.call( + e, + e.transformRequest + ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), st.getAdapter(e.adapter || W.adapter)(e).then(function(n) { + return le(e), n.data = ae.call( + e, + e.transformResponse, + n + ), n.headers = A.from(n.headers), n; + }, function(n) { + return Ze(n) || (le(e), n && n.response && (n.response.data = ae.call( + e, + e.transformResponse, + n.response + ), n.response.headers = A.from(n.response.headers))), Promise.reject(n); + }); +} +const ot = "1.7.7", ge = {}; +["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => { + ge[e] = function(n) { + return typeof n === e || "a" + (t < 1 ? "n " : " ") + e; + }; +}); +const Ue = {}; +ge.transitional = function(t, r, n) { + function s(o, i) { + return "[Axios v" + ot + "] Transitional option '" + o + "'" + i + (n ? ". " + n : ""); + } + return (o, i, l) => { + if (t === !1) + throw new y( + s(i, " has been removed" + (r ? " in " + r : "")), + y.ERR_DEPRECATED + ); + return r && !Ue[i] && (Ue[i] = !0, console.warn( + s( + i, + " has been deprecated since v" + r + " and will be removed in the near future" + ) + )), t ? t(o, i, l) : !0; + }; +}; +function Un(e, t, r) { + if (typeof e != "object") + throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE); + const n = Object.keys(e); + let s = n.length; + for (; s-- > 0; ) { + const o = n[s], i = t[o]; + if (i) { + const l = e[o], f = l === void 0 || i(l, o, e); + if (f !== !0) + throw new y("option " + o + " must be " + f, y.ERR_BAD_OPTION_VALUE); + continue; + } + if (r !== !0) + throw new y("Unknown option " + o, y.ERR_BAD_OPTION); + } +} +const he = { + assertOptions: Un, + validators: ge +}, L = he.validators; +class U { + constructor(t) { + this.defaults = t, this.interceptors = { + request: new Ae(), + response: new Ae() + }; + } + /** + * 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(t, r) { + try { + return await this._request(t, r); + } catch (n) { + if (n instanceof Error) { + let s; + Error.captureStackTrace ? Error.captureStackTrace(s = {}) : s = new Error(); + const o = s.stack ? s.stack.replace(/^.+\n/, "") : ""; + try { + n.stack ? o && !String(n.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (n.stack += ` +` + o) : n.stack = o; + } catch { + } + } + throw n; + } + } + _request(t, r) { + typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = v(this.defaults, r); + const { transitional: n, paramsSerializer: s, headers: o } = r; + n !== void 0 && he.assertOptions(n, { + silentJSONParsing: L.transitional(L.boolean), + forcedJSONParsing: L.transitional(L.boolean), + clarifyTimeoutError: L.transitional(L.boolean) + }, !1), s != null && (a.isFunction(s) ? r.paramsSerializer = { + serialize: s + } : he.assertOptions(s, { + encode: L.function, + serialize: L.function + }, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase(); + let i = o && a.merge( + o.common, + o[r.method] + ); + o && a.forEach( + ["delete", "get", "head", "post", "put", "patch", "common"], + (h) => { + delete o[h]; + } + ), r.headers = A.concat(i, o); + const l = []; + let f = !0; + this.interceptors.request.forEach(function(b) { + typeof b.runWhen == "function" && b.runWhen(r) === !1 || (f = f && b.synchronous, l.unshift(b.fulfilled, b.rejected)); + }); + const c = []; + this.interceptors.response.forEach(function(b) { + c.push(b.fulfilled, b.rejected); + }); + let u, p = 0, w; + if (!f) { + const h = [De.bind(this), void 0]; + for (h.unshift.apply(h, l), h.push.apply(h, c), w = h.length, u = Promise.resolve(r); p < w; ) + u = u.then(h[p++], h[p++]); + return u; + } + w = l.length; + let R = r; + for (p = 0; p < w; ) { + const h = l[p++], b = l[p++]; + try { + R = h(R); + } catch (m) { + b.call(this, m); + break; + } + } + try { + u = De.call(this, R); + } catch (h) { + return Promise.reject(h); + } + for (p = 0, w = c.length; p < w; ) + u = u.then(c[p++], c[p++]); + return u; + } + getUri(t) { + t = v(this.defaults, t); + const r = et(t.baseURL, t.url); + return Ge(r, t.params, t.paramsSerializer); + } +} +a.forEach(["delete", "get", "head", "options"], function(t) { + U.prototype[t] = function(r, n) { + return this.request(v(n || {}, { + method: t, + url: r, + data: (n || {}).data + })); + }; +}); +a.forEach(["post", "put", "patch"], function(t) { + function r(n) { + return function(o, i, l) { + return this.request(v(l || {}, { + method: t, + headers: n ? { + "Content-Type": "multipart/form-data" + } : {}, + url: o, + data: i + })); + }; + } + U.prototype[t] = r(), U.prototype[t + "Form"] = r(!0); +}); +class Ee { + constructor(t) { + if (typeof t != "function") + throw new TypeError("executor must be a function."); + let r; + this.promise = new Promise(function(o) { + r = o; + }); + const n = this; + this.promise.then((s) => { + if (!n._listeners) return; + let o = n._listeners.length; + for (; o-- > 0; ) + n._listeners[o](s); + n._listeners = null; + }), this.promise.then = (s) => { + let o; + const i = new Promise((l) => { + n.subscribe(l), o = l; + }).then(s); + return i.cancel = function() { + n.unsubscribe(o); + }, i; + }, t(function(o, i, l) { + n.reason || (n.reason = new I(o, i, l), r(n.reason)); + }); + } + /** + * Throws a `CanceledError` if cancellation has been requested. + */ + throwIfRequested() { + if (this.reason) + throw this.reason; + } + /** + * Subscribe to the cancel signal + */ + subscribe(t) { + if (this.reason) { + t(this.reason); + return; + } + this._listeners ? this._listeners.push(t) : this._listeners = [t]; + } + /** + * Unsubscribe from the cancel signal + */ + unsubscribe(t) { + if (!this._listeners) + return; + const r = this._listeners.indexOf(t); + r !== -1 && this._listeners.splice(r, 1); + } + toAbortSignal() { + const t = new AbortController(), r = (n) => { + t.abort(n); + }; + return this.subscribe(r), t.signal.unsubscribe = () => this.unsubscribe(r), t.signal; + } + /** + * Returns an object that contains a new `CancelToken` and a function that, when called, + * cancels the `CancelToken`. + */ + static source() { + let t; + return { + token: new Ee(function(s) { + t = s; + }), + cancel: t + }; + } +} +function vn(e) { + return function(r) { + return e.apply(null, r); + }; +} +function jn(e) { + return a.isObject(e) && e.isAxiosError === !0; +} +const me = { + 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(me).forEach(([e, t]) => { + me[t] = e; +}); +function it(e) { + const t = new U(e), r = ve(U.prototype.request, t); + return a.extend(r, U.prototype, t, { allOwnKeys: !0 }), a.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) { + return it(v(e, s)); + }, r; +} +const E = it(W); +E.Axios = U; +E.CanceledError = I; +E.CancelToken = Ee; +E.isCancel = Ze; +E.VERSION = ot; +E.toFormData = te; +E.AxiosError = y; +E.Cancel = E.CanceledError; +E.all = function(t) { + return Promise.all(t); +}; +E.spread = vn; +E.isAxiosError = jn; +E.mergeConfig = v; +E.AxiosHeaders = A; +E.formToJSON = (e) => Qe(a.isHTMLForm(e) ? new FormData(e) : e); +E.getAdapter = st.getAdapter; +E.HttpStatusCode = me; +E.default = E; +const qn = { + class: "uk-grid uk-child-width-1-3", + "uk-grid": "" +}, In = { class: "uk-card uk-card-default uk-card-body uk-card-small" }, Hn = { + class: "uk-grid-small uk-flex-middle", + "uk-grid": "" +}, Mn = { class: "uk-width-auto" }, zn = { class: "uk-width-expand" }, Jn = { class: "uk-margin-remove" }, Vn = { class: "uk-card uk-card-default uk-card-body uk-card-small" }, Wn = { + class: "uk-grid-small uk-flex-middle", + "uk-grid": "" +}, $n = { class: "uk-width-auto" }, Kn = { class: "uk-width-expand" }, Gn = { class: "uk-margin-remove" }, Xn = { class: "uk-card uk-card-default uk-card-body uk-card-small" }, Qn = { + class: "uk-grid-small uk-flex-middle", + "uk-grid": "" +}, Zn = { class: "uk-width-auto" }, Yn = { class: "uk-width-expand" }, er = { class: "uk-margin-remove" }, tr = { + class: "uk-grid uk-child-width-1-2", + "uk-grid": "" +}, nr = { class: "uk-card uk-card-default uk-card-small" }, rr = { class: "uk-card-body" }, sr = { + class: "uk-grid uk-flex-center", + "uk-grid": "" +}, or = ["src"], ir = { class: "uk-margin-remove" }, ar = { class: "uk-margin-remove uk-text-meta" }, lr = { class: "uk-card-footer uk-text-center" }, cr = { class: "uk-description-list" }, ur = { class: "uk-list uk-list-disc uk-list-collapse" }, fr = { + __name: "DashboardView", + setup(e) { + const t = at({ + counter: { + users: 0, + roles: 0, + groups: 0 + }, + info: { + version: { + framework: "", + php: "" + }, + database: { + connection: "", + name: "", + type: "", + version: "" + }, + environment: {}, + path: { + project: "" + } + }, + sprinkles: {}, + users: [] + }); + return E.get("/api/dashboard").then((r) => { + t.value = r.data; + }).catch((r) => { + console.error(r); + }), (r, n) => { + const s = re("font-awesome-icon"), o = re("RouterLink"), i = re("UFCardBox"); + return H(), M(se, null, [ + n[16] || (n[16] = d("h3", null, "Dashboard", -1)), + d("div", qn, [ + d("div", null, [ + N(o, { + to: { name: "admin.users" }, + class: "uk-text-decoration-none" + }, { + default: j(() => [ + d("div", In, [ + d("div", Hn, [ + d("div", Mn, [ + N(s, { + icon: "user", + size: "2xl", + "fixed-width": "" + }) + ]), + d("div", zn, [ + d("h4", Jn, T(t.value.counter.users), 1), + n[0] || (n[0] = d("span", { class: "uk-text-meta uk-text-uppercase" }, "Users", -1)) + ]) + ]) + ]) + ]), + _: 1 + }) + ]), + d("div", null, [ + N(o, { + to: { name: "admin.roles" }, + class: "uk-text-decoration-none" + }, { + default: j(() => [ + d("div", Vn, [ + d("div", Wn, [ + d("div", $n, [ + N(s, { + icon: "address-card", + size: "2xl", + "fixed-width": "" + }) + ]), + d("div", Kn, [ + d("h4", Gn, T(t.value.counter.roles), 1), + n[1] || (n[1] = d("span", { class: "uk-text-meta uk-text-uppercase" }, "Roles", -1)) + ]) + ]) + ]) + ]), + _: 1 + }) + ]), + d("div", null, [ + N(o, { + to: { name: "admin.groups" }, + class: "uk-text-decoration-none" + }, { + default: j(() => [ + d("div", Xn, [ + d("div", Qn, [ + d("div", Zn, [ + N(s, { + icon: "users", + size: "2xl", + "fixed-width": "" + }) + ]), + d("div", Yn, [ + d("h4", er, T(t.value.counter.groups), 1), + n[2] || (n[2] = d("span", { class: "uk-text-meta uk-text-uppercase" }, "Groups", -1)) + ]) + ]) + ]) + ]), + _: 1 + }) + ]) + ]), + d("div", tr, [ + d("div", null, [ + d("div", nr, [ + n[4] || (n[4] = d("div", { class: "uk-card-header" }, [ + d("div", { class: "uk-grid uk-grid-small" }, [ + d("div", { class: "uk-width-auto" }, [ + d("h4", { "data-test": "title" }, "Latest Users") + ]) + ]) + ], -1)), + d("div", rr, [ + d("div", sr, [ + (H(!0), M(se, null, Se(t.value.users, (l) => (H(), M("div", { + key: l.id, + class: "uk-text-center" + }, [ + N(o, { + to: { name: "admin.user", params: { user_name: l.user_name } }, + class: "uk-text-decoration-none uk-link-text" + }, { + default: j(() => [ + d("img", { + src: l.avatar, + alt: "User Image", + class: "uk-border-circle" + }, null, 8, or), + d("p", ir, T(l.full_name), 1), + d("p", ar, T(l.registered), 1) + ]), + _: 2 + }, 1032, ["to"]) + ]))), 128)) + ]) + ]), + d("div", lr, [ + N(o, { + to: { name: "admin.users" }, + class: "uk-button uk-button-text" + }, { + default: j(() => n[3] || (n[3] = [ + lt("View All Users") + ])), + _: 1 + }) + ]) + ]), + n[15] || (n[15] = d("br", null, null, -1)), + N(i, { title: "System Information" }, { + default: j(() => [ + d("dl", cr, [ + n[5] || (n[5] = d("dt", null, "Frameword version", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.version.framework), 1) + ]) + ]), + n[6] || (n[6] = d("dt", null, "PHP version", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.version.php), 1) + ]) + ]), + n[7] || (n[7] = d("dt", null, "Webserver software", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.environment.SERVER_SOFTWARE), 1) + ]) + ]), + n[8] || (n[8] = d("dt", null, "Database connection", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.database.connection), 1) + ]) + ]), + n[9] || (n[9] = d("dt", null, "Database version", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.database.type) + " " + T(t.value.info.database.version), 1) + ]) + ]), + n[10] || (n[10] = d("dt", null, "Database name", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.database.name), 1) + ]) + ]), + n[11] || (n[11] = d("dt", null, "Project directory", -1)), + d("dd", null, [ + d("pre", null, [ + d("code", null, T(t.value.info.path.project), 1) + ]) + ]), + n[12] || (n[12] = d("dt", null, "Site root url", -1)), + n[13] || (n[13] = d("dd", null, [ + d("pre", null, [ + d("code") + ]) + ], -1)), + n[14] || (n[14] = d("dt", null, "Loaded sprinkles", -1)), + d("dd", null, [ + d("ul", ur, [ + (H(!0), M(se, null, Se(t.value.sprinkles, (l) => (H(), M("li", { + key: l.name + }, T(l), 1))), 128)) + ]) + ]) + ]) + ]), + _: 1 + }) + ]), + d("div", null, [ + N(i, { title: "Activities" }) + ]) + ]) + ], 64); + }; + } +}; +export { + fr as default +}; diff --git a/dist/DashboardView-CZ2sKm5M.cjs b/dist/DashboardView-CZ2sKm5M.cjs deleted file mode 100644 index 64e8c65..0000000 --- a/dist/DashboardView-CZ2sKm5M.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),t={};function c(o,u){return e.openBlock(),e.createElementBlock("div",null,"Dashboard View")}const n=r._export_sfc(t,[["render",c]]);exports.default=n; diff --git a/dist/DashboardView-Co-yRBv6.cjs b/dist/DashboardView-Co-yRBv6.cjs new file mode 100644 index 0000000..c1f84b4 --- /dev/null +++ b/dist/DashboardView-Co-yRBv6.cjs @@ -0,0 +1,6 @@ +"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue");function _e(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ye}=Object.prototype,{getPrototypeOf:ce}=Object,$=(e=>t=>{const r=Ye.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>$(t)===e),K=e=>t=>typeof t===e,{isArray:L}=Array,j=K("undefined");function et(e){return e!==null&&!j(e)&&e.constructor!==null&&!j(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ce=A("ArrayBuffer");function tt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ce(e.buffer),t}const nt=K("string"),T=K("function"),Ve=K("number"),G=e=>e!==null&&typeof e=="object",rt=e=>e===!0||e===!1,M=e=>{if($(e)!=="object")return!1;const t=ce(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},st=A("Date"),ot=A("File"),it=A("Blob"),at=A("FileList"),lt=e=>G(e)&&T(e.pipe),ct=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||T(e.append)&&((t=$(e))==="formdata"||t==="object"&&T(e.toString)&&e.toString()==="[object FormData]"))},ut=A("URLSearchParams"),[dt,ft,pt,mt]=["ReadableStream","Request","Response","Headers"].map(A),ht=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function q(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),L(e))for(n=0,s=e.length;n0;)if(s=r[n],t===s.toLowerCase())return s;return null}const D=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,De=e=>!j(e)&&e!==D;function ne(){const{caseless:e}=De(this)&&this||{},t={},r=(n,s)=>{const o=e&&Pe(t,s)||s;M(t[o])&&M(n)?t[o]=ne(t[o],n):M(n)?t[o]=ne({},n):L(n)?t[o]=n.slice():t[o]=n};for(let n=0,s=arguments.length;n(q(t,(s,o)=>{r&&T(s)?e[o]=_e(s,r):e[o]=s},{allOwnKeys:n}),e),yt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wt=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},bt=(e,t,r,n)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!n||n(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=r!==!1&&ce(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},gt=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},St=e=>{if(!e)return null;if(L(e))return e;let t=e.length;if(!Ve(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Rt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ce(Uint8Array)),Nt=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=n.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},kt=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Ot=A("HTMLFormElement"),xt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),he=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Tt=A("RegExp"),Fe=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};q(r,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(n[o]=i||s)}),Object.defineProperties(e,n)},At=e=>{Fe(e,(t,r)=>{if(T(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(T(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},_t=(e,t)=>{const r={},n=s=>{s.forEach(o=>{r[o]=!0})};return L(e)?n(e):n(String(e).split(t)),r},Ct=()=>{},Vt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Z="abcdefghijklmnopqrstuvwxyz",Ee="0123456789",Be={DIGIT:Ee,ALPHA:Z,ALPHA_DIGIT:Z+Z.toUpperCase()+Ee},Pt=(e=16,t=Be.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Dt(e){return!!(e&&T(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ft=e=>{const t=new Array(10),r=(n,s)=>{if(G(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[s]=n;const o=L(n)?[]:{};return q(n,(i,c)=>{const f=r(i,s+1);!j(f)&&(o[c]=f)}),t[s]=void 0,o}}return n};return r(e,0)},Bt=A("AsyncFunction"),Lt=e=>e&&(G(e)||T(e))&&T(e.then)&&T(e.catch),Le=((e,t)=>e?setImmediate:t?((r,n)=>(D.addEventListener("message",({source:s,data:o})=>{s===D&&o===r&&n.length&&n.shift()()},!1),s=>{n.push(s),D.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",T(D.postMessage)),Ut=typeof queueMicrotask<"u"?queueMicrotask.bind(D):typeof process<"u"&&process.nextTick||Le,a={isArray:L,isArrayBuffer:Ce,isBuffer:et,isFormData:ct,isArrayBufferView:tt,isString:nt,isNumber:Ve,isBoolean:rt,isObject:G,isPlainObject:M,isReadableStream:dt,isRequest:ft,isResponse:pt,isHeaders:mt,isUndefined:j,isDate:st,isFile:ot,isBlob:it,isRegExp:Tt,isFunction:T,isStream:lt,isURLSearchParams:ut,isTypedArray:Rt,isFileList:at,forEach:q,merge:ne,extend:Et,trim:ht,stripBOM:yt,inherits:wt,toFlatObject:bt,kindOf:$,kindOfTest:A,endsWith:gt,toArray:St,forEachEntry:Nt,matchAll:kt,isHTMLForm:Ot,hasOwnProperty:he,hasOwnProp:he,reduceDescriptors:Fe,freezeMethods:At,toObjectSet:_t,toCamelCase:xt,noop:Ct,toFiniteNumber:Vt,findKey:Pe,global:D,isContextDefined:De,ALPHABET:Be,generateString:Pt,isSpecCompliantForm:Dt,toJSONObject:Ft,isAsyncFn:Bt,isThenable:Lt,setImmediate:Le,asap:Ut};function E(e,t,r,n,s){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),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(E,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:a.toJSONObject(this.config),code:this.code,status:this.status}}});const Ue=E.prototype,ve={};["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=>{ve[e]={value:e}});Object.defineProperties(E,ve);Object.defineProperty(Ue,"isAxiosError",{value:!0});E.from=(e,t,r,n,s,o)=>{const i=Object.create(Ue);return a.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),E.call(i,e.message,t,r,n,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const vt=null;function re(e){return a.isPlainObject(e)||a.isArray(e)}function je(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function ye(e,t,r){return e?e.concat(t).map(function(s,o){return s=je(s),!r&&o?"["+s+"]":s}).join(r?".":""):t}function jt(e){return a.isArray(e)&&!e.some(re)}const qt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function X(e,t,r){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=a.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,h){return!a.isUndefined(h[y])});const n=r.metaTokens,s=r.visitor||d,o=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(a.isDate(m))return m.toISOString();if(!f&&a.isBlob(m))throw new E("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(m)||a.isTypedArray(m)?f&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,y,h){let b=m;if(m&&!h&&typeof m=="object"){if(a.endsWith(y,"{}"))y=n?y:y.slice(0,-2),m=JSON.stringify(m);else if(a.isArray(m)&&jt(m)||(a.isFileList(m)||a.endsWith(y,"[]"))&&(b=a.toArray(m)))return y=je(y),b.forEach(function(N,_){!(a.isUndefined(N)||N===null)&&t.append(i===!0?ye([y],_,o):i===null?y:y+"[]",u(N))}),!1}return re(m)?!0:(t.append(ye(h,y,o),u(m)),!1)}const p=[],w=Object.assign(qt,{defaultVisitor:d,convertValue:u,isVisitable:re});function S(m,y){if(!a.isUndefined(m)){if(p.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(m),a.forEach(m,function(b,R){(!(a.isUndefined(b)||b===null)&&s.call(t,b,a.isString(R)?R.trim():R,y,w))===!0&&S(b,y?y.concat(R):[R])}),p.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return S(e),t}function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ue(e,t){this._pairs=[],e&&X(e,this,t)}const qe=ue.prototype;qe.append=function(t,r){this._pairs.push([t,r])};qe.toString=function(t){const r=t?function(n){return t.call(this,n,we)}:we;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function It(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ie(e,t,r){if(!t)return e;const n=r&&r.encode||It,s=r&&r.serialize;let o;if(s?o=s(t,r):o=a.isURLSearchParams(t)?t.toString():new ue(t,r).toString(n),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class be{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(n){n!==null&&t(n)})}}const He={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ht=typeof URLSearchParams<"u"?URLSearchParams:ue,Mt=typeof FormData<"u"?FormData:null,zt=typeof Blob<"u"?Blob:null,Jt={isBrowser:!0,classes:{URLSearchParams:Ht,FormData:Mt,Blob:zt},protocols:["http","https","file","blob","url","data"]},de=typeof window<"u"&&typeof document<"u",se=typeof navigator=="object"&&navigator||void 0,Wt=de&&(!se||["ReactNative","NativeScript","NS"].indexOf(se.product)<0),$t=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kt=de&&window.location.href||"http://localhost",Gt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:de,hasStandardBrowserEnv:Wt,hasStandardBrowserWebWorkerEnv:$t,navigator:se,origin:Kt},Symbol.toStringTag,{value:"Module"})),O={...Gt,...Jt};function Xt(e,t){return X(e,new O.classes.URLSearchParams,Object.assign({visitor:function(r,n,s,o){return O.isNode&&a.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Qt(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zt(e){const t={},r=Object.keys(e);let n;const s=r.length;let o;for(n=0;n=r.length;return i=!i&&a.isArray(s)?s.length:i,f?(a.hasOwnProp(s,i)?s[i]=[s[i],n]:s[i]=n,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(r,n,s[i],o)&&a.isArray(s[i])&&(s[i]=Zt(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const r={};return a.forEachEntry(e,(n,s)=>{t(Qt(n),s,r,0)}),r}return null}function Yt(e,t,r){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const I={transitional:He,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(Me(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Xt(t,this.formSerializer).toString();if((c=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return X(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(r.setContentType("application/json",!1),Yt(t)):t}],transformResponse:[function(t){const r=this.transitional||I.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||s)){const i=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?E.from(c,E.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{I.headers[e]={}});const en=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"]),tn=e=>{const t={};let r,n,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),r=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!r||t[r]&&en[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ge=Symbol("internals");function v(e){return e&&String(e).trim().toLowerCase()}function z(e){return e===!1||e==null?e:a.isArray(e)?e.map(z):String(e)}function nn(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const rn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Y(e,t,r,n,s){if(a.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!a.isString(t)){if(a.isString(n))return t.indexOf(n)!==-1;if(a.isRegExp(n))return n.test(t)}}function sn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function on(e,t){const r=a.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(s,o,i){return this[n].call(this,t,s,o,i)},configurable:!0})})}class x{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function o(c,f,u){const d=v(f);if(!d)throw new Error("header name must be a non-empty string");const p=a.findKey(s,d);(!p||s[p]===void 0||u===!0||u===void 0&&s[p]!==!1)&&(s[p||f]=z(c))}const i=(c,f)=>a.forEach(c,(u,d)=>o(u,d,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(a.isString(t)&&(t=t.trim())&&!rn(t))i(tn(t),r);else if(a.isHeaders(t))for(const[c,f]of t.entries())o(f,c,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=v(t),t){const n=a.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return nn(s);if(a.isFunction(r))return r.call(this,s,n);if(a.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=v(t),t){const n=a.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Y(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function o(i){if(i=v(i),i){const c=a.findKey(n,i);c&&(!r||Y(n,n[c],c,r))&&(delete n[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const o=r[n];(!t||Y(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const r=this,n={};return a.forEach(this,(s,o)=>{const i=a.findKey(n,o);if(i){r[i]=z(s),delete r[o];return}const c=t?sn(o):String(o).trim();c!==o&&delete r[o],r[c]=z(s),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return a.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&a.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[ge]=this[ge]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=v(i);n[c]||(on(s,i),n[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}x.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(x.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});a.freezeMethods(x);function ee(e,t){const r=this||I,n=t||r,s=x.from(n.headers);let o=n.data;return a.forEach(e,function(c){o=c.call(r,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ze(e){return!!(e&&e.__CANCEL__)}function U(e,t,r){E.call(this,e??"canceled",E.ERR_CANCELED,t,r),this.name="CanceledError"}a.inherits(U,E,{__CANCEL__:!0});function Je(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new E("Request failed with status code "+r.status,[E.ERR_BAD_REQUEST,E.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function an(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ln(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),d=n[o];i||(i=u),r[s]=f,n[s]=u;let p=o,w=0;for(;p!==s;)w+=r[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i{r=d,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),p=d-r;p>=n?i(u,d):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},n-p)))},()=>s&&i(s)]}const J=(e,t,r=3)=>{let n=0;const s=ln(50,250);return cn(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,f=i-n,u=s(f),d=i<=c;n=i;const p={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:u||void 0,estimated:u&&c&&d?(c-i)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(p)},r)},Se=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Re=e=>(...t)=>a.asap(()=>e(...t)),un=O.hasStandardBrowserEnv?function(){const t=O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent),r=document.createElement("a");let n;function s(o){let i=o;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=s(window.location.href),function(i){const c=a.isString(i)?s(i):i;return c.protocol===n.protocol&&c.host===n.host}}():function(){return function(){return!0}}(),dn=O.hasStandardBrowserEnv?{write(e,t,r,n,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),a.isString(n)&&i.push("path="+n),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pn(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function We(e,t){return e&&!fn(t)?pn(e,t):t}const Ne=e=>e instanceof x?{...e}:e;function B(e,t){t=t||{};const r={};function n(u,d,p){return a.isPlainObject(u)&&a.isPlainObject(d)?a.merge.call({caseless:p},u,d):a.isPlainObject(d)?a.merge({},d):a.isArray(d)?d.slice():d}function s(u,d,p){if(a.isUndefined(d)){if(!a.isUndefined(u))return n(void 0,u,p)}else return n(u,d,p)}function o(u,d){if(!a.isUndefined(d))return n(void 0,d)}function i(u,d){if(a.isUndefined(d)){if(!a.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function c(u,d,p){if(p in t)return n(u,d);if(p in e)return n(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,d)=>s(Ne(u),Ne(d),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=f[d]||s,w=p(e[d],t[d],d);a.isUndefined(w)&&p!==c||(r[d]=w)}),r}const $e=e=>{const t=B({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:c}=t;t.headers=i=x.from(i),t.url=Ie(We(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(r)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){const[u,...d]=f?f.split(";").map(p=>p.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...d].join("; "))}}if(O.hasStandardBrowserEnv&&(n&&a.isFunction(n)&&(n=n(t)),n||n!==!1&&un(t.url))){const u=s&&o&&dn.read(o);u&&i.set(s,u)}return t},mn=typeof XMLHttpRequest<"u",hn=mn&&function(e){return new Promise(function(r,n){const s=$e(e);let o=s.data;const i=x.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:u}=s,d,p,w,S,m;function y(){S&&S(),m&&m(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function b(){if(!h)return;const N=x.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),k={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:N,config:e,request:h};Je(function(P){r(P),y()},function(P){n(P),y()},k),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&&(n(new E("Request aborted",E.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new E("Network Error",E.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let _=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const k=s.transitional||He;s.timeoutErrorMessage&&(_=s.timeoutErrorMessage),n(new E(_,k.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,h)),h=null},o===void 0&&i.setContentType(null),"setRequestHeader"in h&&a.forEach(i.toJSON(),function(_,k){h.setRequestHeader(k,_)}),a.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),c&&c!=="json"&&(h.responseType=s.responseType),u&&([w,m]=J(u,!0),h.addEventListener("progress",w)),f&&h.upload&&([p,S]=J(f),h.upload.addEventListener("progress",p),h.upload.addEventListener("loadend",S)),(s.cancelToken||s.signal)&&(d=N=>{h&&(n(!N||N.type?new U(null,e,h):N),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const R=an(s.url);if(R&&O.protocols.indexOf(R)===-1){n(new E("Unsupported protocol "+R+":",E.ERR_BAD_REQUEST,e));return}h.send(o||null)})},En=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,s;const o=function(u){if(!s){s=!0,c();const d=u instanceof Error?u:this.reason;n.abort(d instanceof E?d:new U(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new E(`timeout ${t} of ms exceeded`,E.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:f}=n;return f.unsubscribe=()=>a.asap(c),f}},yn=function*(e,t){let r=e.byteLength;if(r{const s=wn(e,t);let o=0,i,c=f=>{i||(i=!0,n&&n(f))};return new ReadableStream({async pull(f){try{const{done:u,value:d}=await s.next();if(u){c(),f.close();return}let p=d.byteLength;if(r){let w=o+=p;r(w)}f.enqueue(new Uint8Array(d))}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",Ke=Q&&typeof ReadableStream=="function",gn=Q&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ge=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Sn=Ke&&Ge(()=>{let e=!1;const t=new Request(O.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Oe=64*1024,oe=Ke&&Ge(()=>a.isReadableStream(new Response("").body)),W={stream:oe&&(e=>e.body)};Q&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!W[t]&&(W[t]=a.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new E(`Response type '${t}' is not supported`,E.ERR_NOT_SUPPORT,n)})})})(new Response);const Rn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(O.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await gn(e)).byteLength},Nn=async(e,t)=>{const r=a.toFiniteNumber(e.getContentLength());return r??Rn(t)},kn=Q&&(async e=>{let{url:t,method:r,data:n,signal:s,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:u,headers:d,withCredentials:p="same-origin",fetchOptions:w}=$e(e);u=u?(u+"").toLowerCase():"text";let S=En([s,o&&o.toAbortSignal()],i),m;const y=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let h;try{if(f&&Sn&&r!=="get"&&r!=="head"&&(h=await Nn(d,n))!==0){let k=new Request(t,{method:"POST",body:n,duplex:"half"}),C;if(a.isFormData(n)&&(C=k.headers.get("content-type"))&&d.setContentType(C),k.body){const[P,H]=Se(h,J(Re(f)));n=ke(k.body,Oe,P,H)}}a.isString(p)||(p=p?"include":"omit");const b="credentials"in Request.prototype;m=new Request(t,{...w,signal:S,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:b?p:void 0});let R=await fetch(m);const N=oe&&(u==="stream"||u==="response");if(oe&&(c||N&&y)){const k={};["status","statusText","headers"].forEach(me=>{k[me]=R[me]});const C=a.toFiniteNumber(R.headers.get("content-length")),[P,H]=c&&Se(C,J(Re(c),!0))||[];R=new Response(ke(R.body,Oe,P,()=>{H&&H(),y&&y()}),k)}u=u||"text";let _=await W[a.findKey(W,u)||"text"](R,e);return!N&&y&&y(),await new Promise((k,C)=>{Je(k,C,{data:_,headers:x.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:m})})}catch(b){throw y&&y(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new E("Network Error",E.ERR_NETWORK,e,m),{cause:b.cause||b}):E.from(b,b&&b.code,e,m)}}),ie={http:vt,xhr:hn,fetch:kn};a.forEach(ie,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xe=e=>`- ${e}`,On=e=>a.isFunction(e)||e===null||e===!1,Xe={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let r,n;const s={};for(let o=0;o`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(xe).join(` +`):" "+xe(o[0]):"as no adapter specified";throw new E("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:ie};function te(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new U(null,e)}function Te(e){return te(e),e.headers=x.from(e.headers),e.data=ee.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xe.getAdapter(e.adapter||I.adapter)(e).then(function(n){return te(e),n.data=ee.call(e,e.transformResponse,n),n.headers=x.from(n.headers),n},function(n){return ze(n)||(te(e),n&&n.response&&(n.response.data=ee.call(e,e.transformResponse,n.response),n.response.headers=x.from(n.response.headers))),Promise.reject(n)})}const Qe="1.7.7",fe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fe[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ae={};fe.transitional=function(t,r,n){function s(o,i){return"[Axios v"+Qe+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return(o,i,c)=>{if(t===!1)throw new E(s(i," has been removed"+(r?" in "+r:"")),E.ERR_DEPRECATED);return r&&!Ae[i]&&(Ae[i]=!0,console.warn(s(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,i,c):!0}};function xn(e,t,r){if(typeof e!="object")throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const o=n[s],i=t[o];if(i){const c=e[o],f=c===void 0||i(c,o,e);if(f!==!0)throw new E("option "+o+" must be "+f,E.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new E("Unknown option "+o,E.ERR_BAD_OPTION)}}const ae={assertOptions:xn,validators:fe},V=ae.validators;class F{constructor(t){this.defaults=t,this.interceptors={request:new be,response:new be}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=B(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:o}=r;n!==void 0&&ae.assertOptions(n,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean)},!1),s!=null&&(a.isFunction(s)?r.paramsSerializer={serialize:s}:ae.assertOptions(s,{encode:V.function,serialize:V.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[r.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),r.headers=x.concat(i,o);const c=[];let f=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!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 d,p=0,w;if(!f){const m=[Te.bind(this),void 0];for(m.unshift.apply(m,c),m.push.apply(m,u),w=m.length,d=Promise.resolve(r);p{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](s);n._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{n.subscribe(c),o=c}).then(s);return i.cancel=function(){n.unsubscribe(o)},i},t(function(o,i,c){n.reason||(n.reason=new U(o,i,c),r(n.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 r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new pe(function(s){t=s}),cancel:t}}}function Tn(e){return function(r){return e.apply(null,r)}}function An(e){return a.isObject(e)&&e.isAxiosError===!0}const le={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(le).forEach(([e,t])=>{le[t]=e});function Ze(e){const t=new F(e),r=_e(F.prototype.request,t);return a.extend(r,F.prototype,t,{allOwnKeys:!0}),a.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return Ze(B(e,s))},r}const g=Ze(I);g.Axios=F;g.CanceledError=U;g.CancelToken=pe;g.isCancel=ze;g.VERSION=Qe;g.toFormData=X;g.AxiosError=E;g.Cancel=g.CanceledError;g.all=function(t){return Promise.all(t)};g.spread=Tn;g.isAxiosError=An;g.mergeConfig=B;g.AxiosHeaders=x;g.formToJSON=e=>Me(a.isHTMLForm(e)?new FormData(e):e);g.getAdapter=Xe.getAdapter;g.HttpStatusCode=le;g.default=g;const _n={class:"uk-grid uk-child-width-1-3","uk-grid":""},Cn={class:"uk-card uk-card-default uk-card-body uk-card-small"},Vn={class:"uk-grid-small uk-flex-middle","uk-grid":""},Pn={class:"uk-width-auto"},Dn={class:"uk-width-expand"},Fn={class:"uk-margin-remove"},Bn={class:"uk-card uk-card-default uk-card-body uk-card-small"},Ln={class:"uk-grid-small uk-flex-middle","uk-grid":""},Un={class:"uk-width-auto"},vn={class:"uk-width-expand"},jn={class:"uk-margin-remove"},qn={class:"uk-card uk-card-default uk-card-body uk-card-small"},In={class:"uk-grid-small uk-flex-middle","uk-grid":""},Hn={class:"uk-width-auto"},Mn={class:"uk-width-expand"},zn={class:"uk-margin-remove"},Jn={class:"uk-grid uk-child-width-1-2","uk-grid":""},Wn={class:"uk-card uk-card-default uk-card-small"},$n={class:"uk-card-body"},Kn={class:"uk-grid uk-flex-center","uk-grid":""},Gn=["src"],Xn={class:"uk-margin-remove"},Qn={class:"uk-margin-remove uk-text-meta"},Zn={class:"uk-card-footer uk-text-center"},Yn={class:"uk-description-list"},er={class:"uk-list uk-list-disc uk-list-collapse"},tr={__name:"DashboardView",setup(e){const t=l.ref({counter:{users:0,roles:0,groups:0},info:{version:{framework:"",php:""},database:{connection:"",name:"",type:"",version:""},environment:{},path:{project:""}},sprinkles:{},users:[]});return g.get("/api/dashboard").then(r=>{t.value=r.data}).catch(r=>{console.error(r)}),(r,n)=>{const s=l.resolveComponent("font-awesome-icon"),o=l.resolveComponent("RouterLink"),i=l.resolveComponent("UFCardBox");return l.openBlock(),l.createElementBlock(l.Fragment,null,[n[16]||(n[16]=l.createElementVNode("h3",null,"Dashboard",-1)),l.createElementVNode("div",_n,[l.createElementVNode("div",null,[l.createVNode(o,{to:{name:"admin.users"},class:"uk-text-decoration-none"},{default:l.withCtx(()=>[l.createElementVNode("div",Cn,[l.createElementVNode("div",Vn,[l.createElementVNode("div",Pn,[l.createVNode(s,{icon:"user",size:"2xl","fixed-width":""})]),l.createElementVNode("div",Dn,[l.createElementVNode("h4",Fn,l.toDisplayString(t.value.counter.users),1),n[0]||(n[0]=l.createElementVNode("span",{class:"uk-text-meta uk-text-uppercase"},"Users",-1))])])])]),_:1})]),l.createElementVNode("div",null,[l.createVNode(o,{to:{name:"admin.roles"},class:"uk-text-decoration-none"},{default:l.withCtx(()=>[l.createElementVNode("div",Bn,[l.createElementVNode("div",Ln,[l.createElementVNode("div",Un,[l.createVNode(s,{icon:"address-card",size:"2xl","fixed-width":""})]),l.createElementVNode("div",vn,[l.createElementVNode("h4",jn,l.toDisplayString(t.value.counter.roles),1),n[1]||(n[1]=l.createElementVNode("span",{class:"uk-text-meta uk-text-uppercase"},"Roles",-1))])])])]),_:1})]),l.createElementVNode("div",null,[l.createVNode(o,{to:{name:"admin.groups"},class:"uk-text-decoration-none"},{default:l.withCtx(()=>[l.createElementVNode("div",qn,[l.createElementVNode("div",In,[l.createElementVNode("div",Hn,[l.createVNode(s,{icon:"users",size:"2xl","fixed-width":""})]),l.createElementVNode("div",Mn,[l.createElementVNode("h4",zn,l.toDisplayString(t.value.counter.groups),1),n[2]||(n[2]=l.createElementVNode("span",{class:"uk-text-meta uk-text-uppercase"},"Groups",-1))])])])]),_:1})])]),l.createElementVNode("div",Jn,[l.createElementVNode("div",null,[l.createElementVNode("div",Wn,[n[4]||(n[4]=l.createElementVNode("div",{class:"uk-card-header"},[l.createElementVNode("div",{class:"uk-grid uk-grid-small"},[l.createElementVNode("div",{class:"uk-width-auto"},[l.createElementVNode("h4",{"data-test":"title"},"Latest Users")])])],-1)),l.createElementVNode("div",$n,[l.createElementVNode("div",Kn,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.value.users,c=>(l.openBlock(),l.createElementBlock("div",{key:c.id,class:"uk-text-center"},[l.createVNode(o,{to:{name:"admin.user",params:{user_name:c.user_name}},class:"uk-text-decoration-none uk-link-text"},{default:l.withCtx(()=>[l.createElementVNode("img",{src:c.avatar,alt:"User Image",class:"uk-border-circle"},null,8,Gn),l.createElementVNode("p",Xn,l.toDisplayString(c.full_name),1),l.createElementVNode("p",Qn,l.toDisplayString(c.registered),1)]),_:2},1032,["to"])]))),128))])]),l.createElementVNode("div",Zn,[l.createVNode(o,{to:{name:"admin.users"},class:"uk-button uk-button-text"},{default:l.withCtx(()=>n[3]||(n[3]=[l.createTextVNode("View All Users")])),_:1})])]),n[15]||(n[15]=l.createElementVNode("br",null,null,-1)),l.createVNode(i,{title:"System Information"},{default:l.withCtx(()=>[l.createElementVNode("dl",Yn,[n[5]||(n[5]=l.createElementVNode("dt",null,"Frameword version",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.version.framework),1)])]),n[6]||(n[6]=l.createElementVNode("dt",null,"PHP version",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.version.php),1)])]),n[7]||(n[7]=l.createElementVNode("dt",null,"Webserver software",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.environment.SERVER_SOFTWARE),1)])]),n[8]||(n[8]=l.createElementVNode("dt",null,"Database connection",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.database.connection),1)])]),n[9]||(n[9]=l.createElementVNode("dt",null,"Database version",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.database.type)+" "+l.toDisplayString(t.value.info.database.version),1)])]),n[10]||(n[10]=l.createElementVNode("dt",null,"Database name",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.database.name),1)])]),n[11]||(n[11]=l.createElementVNode("dt",null,"Project directory",-1)),l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code",null,l.toDisplayString(t.value.info.path.project),1)])]),n[12]||(n[12]=l.createElementVNode("dt",null,"Site root url",-1)),n[13]||(n[13]=l.createElementVNode("dd",null,[l.createElementVNode("pre",null,[l.createElementVNode("code")])],-1)),n[14]||(n[14]=l.createElementVNode("dt",null,"Loaded sprinkles",-1)),l.createElementVNode("dd",null,[l.createElementVNode("ul",er,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.value.sprinkles,c=>(l.openBlock(),l.createElementBlock("li",{key:c.name},l.toDisplayString(c),1))),128))])])])]),_:1})]),l.createElementVNode("div",null,[l.createVNode(i,{title:"Activities"})])])],64)}}};exports.default=tr; diff --git a/dist/router/routes.d.ts b/dist/router/routes.d.ts index 927d39a..3c5c15b 100644 --- a/dist/router/routes.d.ts +++ b/dist/router/routes.d.ts @@ -90,7 +90,7 @@ declare const AdminUsersRoutes: { component: () => Promise; }[]; }[]; -declare const AdminRoutes: { +declare const AdminRoutes: ({ path: string; name: string; meta: { @@ -101,6 +101,17 @@ declare const AdminRoutes: { }; }; component: () => Promise; -}[]; +} | { + path: string; + name: string; + meta: { + auth: { + redirect: { + name: string; + }; + }; + }; + component: () => Promise; +})[]; export default AdminRoutes; export { AdminDashboardRoutes, AdminActivitiesRoutes, AdminGroupsRoutes, AdminPermissionsRoutes, AdminRolesRoutes, AdminUsersRoutes }; diff --git a/dist/routes.cjs b/dist/routes.cjs index 01d39d6..fb70d61 100644 --- a/dist/routes.cjs +++ b/dist/routes.cjs @@ -1 +1 @@ -"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=[{path:"dashboard",name:"admin.dashboard",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./DashboardView-CZ2sKm5M.cjs"))}],n=[{path:"activities",name:"admin.activities",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./ActivitiesView-kaWFEO4i.cjs"))}],o=[{path:"groups",name:"admin.groups",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./GroupsView-BI4KKM8s.cjs")),children:[{path:"g/:slug",name:"admin.group",component:()=>Promise.resolve().then(()=>require("./GroupView-BrWTling.cjs"))}]}],t=[{path:"permissions",name:"admin.permissions",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./PermissionsView-ftOWB-4K.cjs")),children:[{path:"p/:id",name:"admin.permission",component:()=>Promise.resolve().then(()=>require("./PermissionView-CUKDO1AM.cjs"))}]}],i=[{path:"roles",name:"admin.roles",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./RolesView-ByDmJ9us.cjs")),children:[{path:"r/:slug",name:"admin.role",component:()=>Promise.resolve().then(()=>require("./RoleView-CWK0-zrt.cjs"))}]}],s=[{path:"users",name:"admin.users",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./UsersView-C0bG-VhA.cjs")),children:[{path:"u/:user_name",name:"admin.user",component:()=>Promise.resolve().then(()=>require("./UserView-BeTp1kMD.cjs"))}]}],r=[...e,...n,...o,...t,...i,...s];exports.AdminActivitiesRoutes=n;exports.AdminDashboardRoutes=e;exports.AdminGroupsRoutes=o;exports.AdminPermissionsRoutes=t;exports.AdminRolesRoutes=i;exports.AdminUsersRoutes=s;exports.default=r; +"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=[{path:"dashboard",name:"admin.dashboard",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./DashboardView-Co-yRBv6.cjs"))}],n=[{path:"activities",name:"admin.activities",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./ActivitiesView-kaWFEO4i.cjs"))}],o=[{path:"groups",name:"admin.groups",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./GroupsView-BI4KKM8s.cjs")),children:[{path:"g/:slug",name:"admin.group",component:()=>Promise.resolve().then(()=>require("./GroupView-BrWTling.cjs"))}]}],t=[{path:"permissions",name:"admin.permissions",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./PermissionsView-ftOWB-4K.cjs")),children:[{path:"p/:id",name:"admin.permission",component:()=>Promise.resolve().then(()=>require("./PermissionView-CUKDO1AM.cjs"))}]}],i=[{path:"roles",name:"admin.roles",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./RolesView-ByDmJ9us.cjs")),children:[{path:"r/:slug",name:"admin.role",component:()=>Promise.resolve().then(()=>require("./RoleView-CWK0-zrt.cjs"))}]}],s=[{path:"users",name:"admin.users",meta:{auth:{redirect:{name:"account.login"}}},component:()=>Promise.resolve().then(()=>require("./UsersView-C0bG-VhA.cjs")),children:[{path:"u/:user_name",name:"admin.user",component:()=>Promise.resolve().then(()=>require("./UserView-BeTp1kMD.cjs"))}]}],r=[...e,...n,...o,...t,...i,...s];exports.AdminActivitiesRoutes=n;exports.AdminDashboardRoutes=e;exports.AdminGroupsRoutes=o;exports.AdminPermissionsRoutes=t;exports.AdminRolesRoutes=i;exports.AdminUsersRoutes=s;exports.default=r; diff --git a/dist/routes.js b/dist/routes.js index 61440ad..6b434e8 100644 --- a/dist/routes.js +++ b/dist/routes.js @@ -7,7 +7,7 @@ const n = [ redirect: { name: "account.login" } } }, - component: () => import("./DashboardView-BbtHCt79.js") + component: () => import("./DashboardView-CIXrA1vp.js") } ], t = [ { diff --git a/dist/views/DashboardView.vue.d.ts b/dist/views/DashboardView.vue.d.ts index 2a9e71a..47dd5aa 100644 --- a/dist/views/DashboardView.vue.d.ts +++ b/dist/views/DashboardView.vue.d.ts @@ -1,2 +1,2 @@ -declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; +declare const _default: import('vue').DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default _default;