{"contents":{"/node_modules/@arkejs/client/esm/index.js":{"content":"import Axios from 'axios';\nimport { setCookies, getCookie } from 'cookies-next';\n\nvar HTTPStatusCode;\r\n(function (HTTPStatusCode) {\r\n    HTTPStatusCode[HTTPStatusCode[\"Continue\"] = 100] = \"Continue\";\r\n    HTTPStatusCode[HTTPStatusCode[\"SwitchingProtocols\"] = 101] = \"SwitchingProtocols\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Processing\"] = 102] = \"Processing\";\r\n    HTTPStatusCode[HTTPStatusCode[\"EarlyHints\"] = 103] = \"EarlyHints\";\r\n    /**\r\n     * All `1xx` status codes.\r\n     */\r\n    HTTPStatusCode[HTTPStatusCode[\"InformationalResponses\"] = 103] = \"InformationalResponses\";\r\n    HTTPStatusCode[HTTPStatusCode[\"OK\"] = 200] = \"OK\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Created\"] = 201] = \"Created\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Accepted\"] = 202] = \"Accepted\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NonAuthoritativeInformation\"] = 203] = \"NonAuthoritativeInformation\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NoContent\"] = 204] = \"NoContent\";\r\n    HTTPStatusCode[HTTPStatusCode[\"ResetContent\"] = 205] = \"ResetContent\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PartialContent\"] = 206] = \"PartialContent\";\r\n    HTTPStatusCode[HTTPStatusCode[\"MultiStatus\"] = 207] = \"MultiStatus\";\r\n    HTTPStatusCode[HTTPStatusCode[\"AlreadyReported\"] = 208] = \"AlreadyReported\";\r\n    HTTPStatusCode[HTTPStatusCode[\"IMUsed\"] = 226] = \"IMUsed\";\r\n    /**\r\n     * All `2xx` status codes.\r\n     */\r\n    HTTPStatusCode[HTTPStatusCode[\"Success\"] = 255] = \"Success\";\r\n    HTTPStatusCode[HTTPStatusCode[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\r\n    HTTPStatusCode[HTTPStatusCode[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Found\"] = 302] = \"Found\";\r\n    HTTPStatusCode[HTTPStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NotModified\"] = 304] = \"NotModified\";\r\n    HTTPStatusCode[HTTPStatusCode[\"UseProxy\"] = 305] = \"UseProxy\";\r\n    HTTPStatusCode[HTTPStatusCode[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\r\n    HTTPStatusCode[HTTPStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\r\n    /**\r\n     * All `3xx` status codes.\r\n     */\r\n    HTTPStatusCode[HTTPStatusCode[\"Redirection\"] = 319] = \"Redirection\";\r\n    HTTPStatusCode[HTTPStatusCode[\"BadRequest\"] = 400] = \"BadRequest\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Unauthorized\"] = 401] = \"Unauthorized\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Forbidden\"] = 403] = \"Forbidden\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NotFound\"] = 404] = \"NotFound\";\r\n    HTTPStatusCode[HTTPStatusCode[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\r\n    HTTPStatusCode[HTTPStatusCode[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\r\n    HTTPStatusCode[HTTPStatusCode[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Conflict\"] = 409] = \"Conflict\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Gone\"] = 410] = \"Gone\";\r\n    HTTPStatusCode[HTTPStatusCode[\"LengthRequired\"] = 411] = \"LengthRequired\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PreconditionFailed\"] = 412] = \"PreconditionFailed\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PayloadTooLarge\"] = 413] = \"PayloadTooLarge\";\r\n    HTTPStatusCode[HTTPStatusCode[\"URITooLong\"] = 414] = \"URITooLong\";\r\n    HTTPStatusCode[HTTPStatusCode[\"UnsupportedMediaType\"] = 415] = \"UnsupportedMediaType\";\r\n    HTTPStatusCode[HTTPStatusCode[\"RangeNotSatisfiable\"] = 416] = \"RangeNotSatisfiable\";\r\n    HTTPStatusCode[HTTPStatusCode[\"ExpectationFailed\"] = 417] = \"ExpectationFailed\";\r\n    HTTPStatusCode[HTTPStatusCode[\"ImATeapot\"] = 418] = \"ImATeapot\";\r\n    HTTPStatusCode[HTTPStatusCode[\"MisdirectedRequest\"] = 421] = \"MisdirectedRequest\";\r\n    HTTPStatusCode[HTTPStatusCode[\"UnprocessableEntity\"] = 422] = \"UnprocessableEntity\";\r\n    HTTPStatusCode[HTTPStatusCode[\"Locked\"] = 423] = \"Locked\";\r\n    HTTPStatusCode[HTTPStatusCode[\"FailedDependency\"] = 424] = \"FailedDependency\";\r\n    HTTPStatusCode[HTTPStatusCode[\"UpgradeRequired\"] = 426] = \"UpgradeRequired\";\r\n    HTTPStatusCode[HTTPStatusCode[\"PreconditionRequired\"] = 428] = \"PreconditionRequired\";\r\n    HTTPStatusCode[HTTPStatusCode[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\r\n    HTTPStatusCode[HTTPStatusCode[\"RequestHeaderFieldsTooLarge\"] = 431] = \"RequestHeaderFieldsTooLarge\";\r\n    HTTPStatusCode[HTTPStatusCode[\"UnavailableForLegalReasons\"] = 451] = \"UnavailableForLegalReasons\";\r\n    /**\r\n     * All `4xx` error codes.\r\n     */\r\n    HTTPStatusCode[HTTPStatusCode[\"ClientErrors\"] = 511] = \"ClientErrors\";\r\n    HTTPStatusCode[HTTPStatusCode[\"InternalServerError\"] = 500] = \"InternalServerError\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NotImplemented\"] = 501] = \"NotImplemented\";\r\n    HTTPStatusCode[HTTPStatusCode[\"BadGateway\"] = 502] = \"BadGateway\";\r\n    HTTPStatusCode[HTTPStatusCode[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\r\n    HTTPStatusCode[HTTPStatusCode[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\r\n    HTTPStatusCode[HTTPStatusCode[\"HTTPVersionNotSupported\"] = 505] = \"HTTPVersionNotSupported\";\r\n    HTTPStatusCode[HTTPStatusCode[\"VariantAlsoNegotiates\"] = 506] = \"VariantAlsoNegotiates\";\r\n    HTTPStatusCode[HTTPStatusCode[\"InsufficientStorage\"] = 507] = \"InsufficientStorage\";\r\n    HTTPStatusCode[HTTPStatusCode[\"LoopDetected\"] = 508] = \"LoopDetected\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NotExtended\"] = 510] = \"NotExtended\";\r\n    HTTPStatusCode[HTTPStatusCode[\"NetworkAuthenticationRequired\"] = 511] = \"NetworkAuthenticationRequired\";\r\n    /**\r\n     * All `5xx` error codes.\r\n     */\r\n    HTTPStatusCode[HTTPStatusCode[\"ServerErrors\"] = 511] = \"ServerErrors\";\r\n})(HTTPStatusCode || (HTTPStatusCode = {}));\n\nvar LinkDirection;\r\n(function (LinkDirection) {\r\n    LinkDirection[\"Child\"] = \"child\";\r\n    LinkDirection[\"Parent\"] = \"parent\";\r\n})(LinkDirection || (LinkDirection = {}));\n\nvar BaseParameter;\r\n(function (BaseParameter) {\r\n    BaseParameter[\"Bool\"] = \"boolean\";\r\n    BaseParameter[\"Date\"] = \"date\";\r\n    BaseParameter[\"Datetime\"] = \"datetime\";\r\n    BaseParameter[\"Float\"] = \"float\";\r\n    BaseParameter[\"Json\"] = \"dict\";\r\n    BaseParameter[\"Integer\"] = \"integer\";\r\n    BaseParameter[\"String\"] = \"string\";\r\n    BaseParameter[\"Time\"] = \"time\";\r\n})(BaseParameter || (BaseParameter = {}));\n\nvar UserTypes;\r\n(function (UserTypes) {\r\n    UserTypes[\"C\"] = \"customer\";\r\n    UserTypes[\"A\"] = \"admin\";\r\n    UserTypes[\"SA\"] = \"super_admin\";\r\n})(UserTypes || (UserTypes = {}));\n\nvar RelationalOperator;\r\n(function (RelationalOperator) {\r\n    RelationalOperator[\"EQ\"] = \"eq\";\r\n    RelationalOperator[\"CONTAINS\"] = \"contains\";\r\n    RelationalOperator[\"ICONTAINS\"] = \"icontains\";\r\n    RelationalOperator[\"STARTSWITH\"] = \"startswith\";\r\n    RelationalOperator[\"ISTARTSWITH\"] = \"istartswith\";\r\n    RelationalOperator[\"ENDSWITH\"] = \"endswith\";\r\n    RelationalOperator[\"IENDSWITH\"] = \"iendswith\";\r\n    RelationalOperator[\"LTE\"] = \"lte\";\r\n    RelationalOperator[\"LT\"] = \"lt\";\r\n    RelationalOperator[\"GTE\"] = \"gte\";\r\n    RelationalOperator[\"GT\"] = \"gt\";\r\n    RelationalOperator[\"IN\"] = \"in\";\r\n})(RelationalOperator || (RelationalOperator = {}));\r\nvar ConditionalOperator;\r\n(function (ConditionalOperator) {\r\n    ConditionalOperator[\"AND\"] = \"and\";\r\n    ConditionalOperator[\"OR\"] = \"or\";\r\n})(ConditionalOperator || (ConditionalOperator = {}));\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    if (typeof b !== \"function\" && b !== null)\r\n        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\n\n/**\r\n * Create an axios js factory for HTTP requests\r\n * @param baseUrl\r\n * @param path\r\n * @param headers\r\n * @param timeout\r\n */\r\nfunction clientFactory(baseUrl, path, headers, timeout) {\r\n    return Axios.create({\r\n        baseURL: \"\".concat(baseUrl).concat(path),\r\n        timeout: timeout ? timeout : 60000,\r\n        headers: headers,\r\n        responseType: 'json',\r\n    });\r\n}\n\nvar AuthApi = /** @class */ (function () {\r\n    function AuthApi(baseUrl) {\r\n        this.apiPath = '/auth';\r\n        this.api = clientFactory(baseUrl, this.apiPath);\r\n    }\r\n    /**\r\n     * Sign in the user\r\n     * @param username\r\n     * @param password\r\n     */\r\n    AuthApi.prototype.signIn = function (username, password) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            return __generator(this, function (_a) {\r\n                return [2 /*return*/, this.api.post('/signin', {\r\n                        username: username,\r\n                        password: password,\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Sign up a new user\r\n     * @param data : TSignUpOptions\r\n     */\r\n    AuthApi.prototype.signUp = function (data) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            return __generator(this, function (_a) {\r\n                return [2 /*return*/, this.api.post('/signup', data)];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Verify if token is still valid\r\n     */\r\n    AuthApi.prototype.verifyToken = function (access_token) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            return __generator(this, function (_a) {\r\n                return [2 /*return*/, this.api.post('/verify', {}, {\r\n                        headers: {\r\n                            Authorization: \"Bearer \".concat(access_token),\r\n                        },\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Refresh the token if is not expired\r\n     */\r\n    AuthApi.prototype.refreshToken = function (refresh_token) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            return __generator(this, function (_a) {\r\n                return [2 /*return*/, this.api.post('/refresh', {}, {\r\n                        headers: {\r\n                            Authorization: \"Bearer \".concat(refresh_token),\r\n                        },\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    return AuthApi;\r\n}());\n\nfunction isSSR() {\r\n    return !!(typeof window === 'undefined' ||\r\n        !window.document ||\r\n        !window.document.createElement);\r\n}\n\nvar Auth = /** @class */ (function () {\r\n    /**\r\n     * @param params\r\n     */\r\n    function Auth(_a) {\r\n        var serverUrl = _a.serverUrl, cookieName = _a.cookieName, req = _a.req, res = _a.res;\r\n        this.authApi = new AuthApi(serverUrl);\r\n        this.cookieName = cookieName;\r\n        this.req = req;\r\n        this.res = res;\r\n    }\r\n    /**\r\n     * Sign in the user\r\n     * @param credentials\r\n     * @param method\r\n     */\r\n    Auth.prototype.signIn = function (_a, \r\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n    method) {\r\n        var username = _a.username, password = _a.password;\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            var _this = this;\r\n            return __generator(this, function (_b) {\r\n                return [2 /*return*/, this.authApi.signIn(username, password).then(function (res) {\r\n                        var session = res.data;\r\n                        _this.setAuthCookie({\r\n                            access_token: session.access_token,\r\n                            refresh_token: session.refresh_token,\r\n                            username: session.username,\r\n                        });\r\n                        return res;\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Sign up a new user\r\n     */\r\n    Auth.prototype.signUp = function (data, \r\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n    method) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            return __generator(this, function (_a) {\r\n                return [2 /*return*/, this.authApi.signUp(data)];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Verify Token to verify if token is valid\r\n     */\r\n    Auth.prototype.verifyToken = function (access_token) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            var token;\r\n            return __generator(this, function (_a) {\r\n                token = this.retrieveToken('access_token', access_token);\r\n                return [2 /*return*/, this.authApi.verifyToken(token).then(function (verifyResponse) {\r\n                        return verifyResponse;\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Refresh Token to refresh if token is expired\r\n     */\r\n    Auth.prototype.refreshToken = function (refresh_token) {\r\n        return __awaiter(this, void 0, void 0, function () {\r\n            var token;\r\n            var _this = this;\r\n            return __generator(this, function (_a) {\r\n                token = this.retrieveToken('refresh_token', refresh_token);\r\n                return [2 /*return*/, this.authApi.refreshToken(token).then(function (refreshResponse) {\r\n                        _this.setAuthCookie(refreshResponse.data);\r\n                        return refreshResponse;\r\n                    })];\r\n            });\r\n        });\r\n    };\r\n    /**\r\n     * Set the auth cookie using cookieName\r\n     */\r\n    Auth.prototype.setAuthCookie = function (value, options) {\r\n        return setCookies(this.cookieName, value, options);\r\n    };\r\n    /**\r\n     * Get the auth cookie using cookieName\r\n     */\r\n    Auth.prototype.getAuthCookie = function () {\r\n        return getCookie(this.cookieName, { req: this.req, res: this.res });\r\n    };\r\n    /**\r\n     * Retrieve token from param or from cookie for Client or Server Side\r\n     */\r\n    Auth.prototype.retrieveToken = function (key, token) {\r\n        try {\r\n            if (isSSR() && !token) {\r\n                console.error('Refresh token is required on SSR');\r\n            }\r\n            if (!isSSR()) {\r\n                if (!token) {\r\n                    return JSON.parse(this.getAuthCookie())[key];\r\n                }\r\n            }\r\n            return token;\r\n        }\r\n        catch (e) {\r\n            console.error('Something went wrong during the retrieve token process :', e);\r\n        }\r\n    };\r\n    return Auth;\r\n}());\n\nvar Topology = /** @class */ (function () {\r\n    /**\r\n     * @param params\r\n     */\r\n    function Topology(_a) {\r\n        var api = _a.api;\r\n        this.api = api;\r\n    }\r\n    /**\r\n     * Get all links related to a Unit by direction\r\n     */\r\n    Topology.prototype.getLinks = function (parent, direction, config) {\r\n        return this.api.get(\"/\".concat(parent.arkeId, \"/unit/\").concat(parent.id, \"/link/\").concat(direction), config);\r\n    };\r\n    /**\r\n     * Creates a new link between 2 entities\r\n     */\r\n    Topology.prototype.addLink = function (parent, linkId, child, config) {\r\n        return this.api.post(\"/\".concat(parent.arkeId, \"/unit/\").concat(parent.id, \"/link/\").concat(linkId, \"/\").concat(child.arkeId, \"/unit/\").concat(child.id), config);\r\n    };\r\n    /**\r\n     * Creates a new link between 2 entities\r\n     */\r\n    Topology.prototype.deleteLink = function (parent, linkId, child, config) {\r\n        return this.api.delete(\"/\".concat(parent.arkeId, \"/unit/\").concat(parent.id, \"/link/\").concat(linkId, \"/\").concat(child.arkeId, \"/unit/\").concat(child.id), config);\r\n    };\r\n    return Topology;\r\n}());\n\nvar Base = /** @class */ (function () {\r\n    /**\r\n     * @param params\r\n     */\r\n    function Base(_a) {\r\n        var api = _a.api, arke = _a.arke;\r\n        this.api = api;\r\n        this.arke = arke;\r\n        this.topology = new Topology({ api: api });\r\n    }\r\n    /**\r\n     * Creates\r\n     */\r\n    Base.prototype.create = function (data, config) {\r\n        return this.api.post(\"/\".concat(this.arke, \"/unit\"), data, config);\r\n    };\r\n    /**\r\n     * Gets the base struct\r\n     */\r\n    Base.prototype.baseStruct = function (config) {\r\n        return this.api.get(\"/\".concat(this.arke, \"/struct\"), config);\r\n    };\r\n    /**\r\n     * Gets the struct\r\n     */\r\n    Base.prototype.struct = function (id, config) {\r\n        return this.api.get(\"/\".concat(id, \"/struct\"), config);\r\n    };\r\n    /**\r\n     * Get detail\r\n     */\r\n    Base.prototype.get = function (id, config) {\r\n        return this.api.get(\"/\".concat(this.arke, \"/unit/\").concat(id), config);\r\n    };\r\n    /**\r\n     * Edits an Arke\r\n     */\r\n    Base.prototype.edit = function (id, data, config) {\r\n        return this.api.put(\"/\".concat(this.arke, \"/unit/\").concat(id), data, config);\r\n    };\r\n    /**\r\n     * Deletes an Arke\r\n     */\r\n    Base.prototype.delete = function (id, config) {\r\n        return this.api.delete(\"/\".concat(this.arke, \"/unit/\").concat(id), config);\r\n    };\r\n    /**\r\n     * GetAll details\r\n     */\r\n    Base.prototype.getAll = function (config) {\r\n        return this.api.get(\"/\".concat(this.arke, \"/unit\"), config);\r\n    };\r\n    return Base;\r\n}());\n\nvar Arke = /** @class */ (function (_super) {\r\n    __extends(Arke, _super);\r\n    /**\r\n     * @param params\r\n     */\r\n    function Arke(_a) {\r\n        var api = _a.api;\r\n        return _super.call(this, { api: api, arke: 'arke' }) || this;\r\n    }\r\n    /**\r\n     * Associate a Parameter\r\n     */\r\n    Arke.prototype.addParameter = function (arkeId, parameterType, parameterId) {\r\n        return this.topology.addLink({ arkeId: 'arke', id: arkeId }, 'parameter', {\r\n            arkeId: parameterType,\r\n            id: parameterId,\r\n        });\r\n    };\r\n    /**\r\n     * Removes an associated Parameter\r\n     */\r\n    Arke.prototype.removeParameter = function (arkeId, parameterType, parameterId) {\r\n        return this.topology.deleteLink({ arkeId: 'arke', id: arkeId }, 'parameter', {\r\n            arkeId: parameterType,\r\n            id: parameterId,\r\n        });\r\n    };\r\n    return Arke;\r\n}(Base));\n\nvar Unit = /** @class */ (function () {\r\n    /**\r\n     * @param params\r\n     */\r\n    function Unit(_a) {\r\n        var api = _a.api;\r\n        this.api = api;\r\n        this.topology = new Topology({ api: api });\r\n    }\r\n    /**\r\n     * Creates a Unit\r\n     */\r\n    Unit.prototype.create = function (arkeId, data, config) {\r\n        return this.api.post(\"/\".concat(arkeId, \"/unit\"), data, config);\r\n    };\r\n    /**\r\n     * Get Unit's detail\r\n     */\r\n    Unit.prototype.get = function (arkeId, id, config) {\r\n        return this.api.get(\"/\".concat(arkeId, \"/unit/\").concat(id), config);\r\n    };\r\n    /**\r\n     * Edits a Unit\r\n     */\r\n    Unit.prototype.edit = function (arkeId, id, data, config) {\r\n        return this.api.put(\"/\".concat(arkeId, \"/unit/\").concat(id), data, config);\r\n    };\r\n    /**\r\n     * Deletes a Unit\r\n     */\r\n    Unit.prototype.delete = function (arkeId, id, config) {\r\n        return this.api.delete(\"/\".concat(arkeId, \"/unit/\").concat(id), config);\r\n    };\r\n    /**\r\n     * Gets the Struct\r\n     */\r\n    Unit.prototype.struct = function (arkeId, id, config) {\r\n        return this.api.get(\"/\".concat(arkeId, \"/unit/\").concat(id, \"/struct\"), config);\r\n    };\r\n    /**\r\n     * GetAll details\r\n     */\r\n    Unit.prototype.getAll = function (arkeId, config) {\r\n        return this.api.get(\"/\".concat(arkeId, \"/unit\"), config);\r\n    };\r\n    /**\r\n     * GetAll details\r\n     */\r\n    Unit.prototype.search = function (config) {\r\n        return this.api.get(\"/unit\", config);\r\n    };\r\n    return Unit;\r\n}());\n\nvar Group = /** @class */ (function (_super) {\r\n    __extends(Group, _super);\r\n    /**\r\n     * @param params\r\n     */\r\n    function Group(_a) {\r\n        var api = _a.api;\r\n        return _super.call(this, { api: api, arke: 'group' }) || this;\r\n    }\r\n    /**\r\n     * Gets the struct of a specific group\r\n     */\r\n    Group.prototype.struct = function (groupId, config) {\r\n        return _super.prototype.struct.call(this, \"group/\".concat(groupId), config);\r\n    };\r\n    /**\r\n     * Get groups related Arke list\r\n     */\r\n    Group.prototype.getAllArke = function (groupId, config) {\r\n        return this.api.get(\"/group/\".concat(groupId, \"/arke\"), config);\r\n    };\r\n    /**\r\n     * Get groups related Units\r\n     */\r\n    Group.prototype.getAllUnits = function (groupId, config) {\r\n        return this.api.get(\"/group/\".concat(groupId, \"/unit\"), config);\r\n    };\r\n    /**\r\n     * Get groups related Units\r\n     */\r\n    Group.prototype.getUnit = function (groupId, unitId, config) {\r\n        return this.api.get(\"/group/\".concat(groupId, \"/unit/\").concat(unitId), config);\r\n    };\r\n    /**\r\n     * Associate an Arke\r\n     */\r\n    Group.prototype.addArke = function (groupId, arkeId) {\r\n        return this.topology.addLink({ arkeId: 'group', id: groupId }, 'group', {\r\n            arkeId: 'arke',\r\n            id: arkeId,\r\n        });\r\n    };\r\n    /**\r\n     * Removes an associated Arke\r\n     */\r\n    Group.prototype.removeArke = function (groupId, arkeId) {\r\n        return this.topology.deleteLink({ arkeId: 'group', id: groupId }, 'group', {\r\n            arkeId: 'arke',\r\n            id: arkeId,\r\n        });\r\n    };\r\n    return Group;\r\n}(Base));\n\n/**\r\n Client for interacting with backend\r\n */\r\nvar Client = /** @class */ (function () {\r\n    /**\r\n     * @param params\r\n     */\r\n    function Client(_a) {\r\n        var _this = this;\r\n        var serverUrl = _a.serverUrl, auth = _a.auth, arkeProjectKey = _a.arkeProjectKey, req = _a.req, res = _a.res;\r\n        if (!serverUrl)\r\n            throw 'serverUrl is required.';\r\n        this.serverUrl = \"\".concat(serverUrl, \"/lib\");\r\n        this.auth = new Auth({\r\n            serverUrl: this.serverUrl,\r\n            cookieName: auth.cookieName,\r\n            req: req,\r\n            res: res,\r\n        });\r\n        this.api = clientFactory(serverUrl, '/lib');\r\n        this.api.interceptors.request.use(function (config) {\r\n            var _a;\r\n            if (_this.auth.getAuthCookie()) {\r\n                config.headers.Authorization = \"Bearer \".concat((_a = JSON.parse(_this.auth.getAuthCookie())) === null || _a === void 0 ? void 0 : _a.access_token);\r\n            }\r\n            if (arkeProjectKey)\r\n                config.headers['Arke-Project-Key'] = arkeProjectKey;\r\n            return config;\r\n        }, function (error) { return Promise.reject(error); });\r\n        this.req = req;\r\n        this.res = res;\r\n        this.unit = new Unit({\r\n            api: this.api,\r\n        });\r\n        this.arke = new Arke({\r\n            api: this.api,\r\n            arke: 'arke',\r\n        });\r\n        this.group = new Group({\r\n            api: this.api,\r\n        });\r\n    }\r\n    return Client;\r\n}());\r\nvar clientInstance;\r\n/**\r\n * Initialize the Client\r\n * @param params\r\n */\r\nvar initializeClient = function (_a) {\r\n    var serverUrl = _a.serverUrl, arkeProjectKey = _a.arkeProjectKey, auth = _a.auth, req = _a.req, res = _a.res;\r\n    if (!clientInstance) {\r\n        console.debug(\"Initialize Arke Client on \".concat(serverUrl));\r\n        clientInstance = new Client({ serverUrl: serverUrl, arkeProjectKey: arkeProjectKey, auth: auth, req: req, res: res });\r\n    }\r\n    if (clientInstance.serverUrl !== serverUrl) {\r\n        clientInstance = new Client({ serverUrl: serverUrl, arkeProjectKey: arkeProjectKey, auth: auth, req: req, res: res });\r\n    }\r\n    return clientInstance;\r\n};\n\nfunction areConditionalParams(params) {\r\n    return params.filters !== undefined;\r\n}\r\nfunction areRelationalParams(params) {\r\n    return (params.key !== undefined &&\r\n        params.value !== undefined);\r\n}\r\nvar Filter = /** @class */ (function () {\r\n    function Filter(params) {\r\n        if (areConditionalParams(params)) {\r\n            this.operator = params.operator;\r\n            this.filters = params.filters;\r\n        }\r\n        if (areRelationalParams(params)) {\r\n            this.operator = params.operator;\r\n            this.key = params.key;\r\n            this.value = params.value;\r\n        }\r\n    }\r\n    Filter.prototype.toString = function () {\r\n        if (this.filters) {\r\n            if (this.filters.length > 0)\r\n                return \"\".concat(this.operator, \"(\").concat(this.filters.map(function (f) { return f.toString(); }), \")\");\r\n            else\r\n                return '';\r\n        }\r\n        return \"\".concat(this.operator, \"(\").concat(this.key, \",\").concat(this.value, \")\");\r\n    };\r\n    Filter.prototype.getLength = function () {\r\n        return this.filters ? this.filters.length : 0;\r\n    };\r\n    return Filter;\r\n}());\n\nexport { Auth, BaseParameter, Client, ConditionalOperator, Filter, HTTPStatusCode, LinkDirection, RelationalOperator, UserTypes, initializeClient };\n//# sourceMappingURL=index.js.map\n","isModule":true,"requires":["axios","cookies-next"]},"/node_modules/axios/index.js":{"content":"module.exports = require('./lib/axios');","isModule":false,"requires":["./lib/axios"]},"/node_modules/axios/lib/axios.js":{"content":"'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n  var context = new Axios(defaultConfig);\n  var instance = bind(Axios.prototype.request, context);\n\n  // Copy axios.prototype to instance\n  utils.extend(instance, Axios.prototype, context);\n\n  // Copy context to instance\n  utils.extend(instance, context);\n\n  // Factory for creating new instances\n  instance.create = function create(instanceConfig) {\n    return createInstance(mergeConfig(defaultConfig, instanceConfig));\n  };\n\n  return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n  return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","isModule":false,"requires":["./utils","./helpers/bind","./core/Axios","./core/mergeConfig","./defaults","./cancel/Cancel","./cancel/CancelToken","./cancel/isCancel","./env/data","./helpers/spread","./helpers/isAxiosError"]},"/node_modules/axios/lib/utils.js":{"content":"'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n  return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n  return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n    && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n  return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n  return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n  var result;\n  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n    result = ArrayBuffer.isView(val);\n  } else {\n    result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n  }\n  return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n  return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n  return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n  return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n  if (toString.call(val) !== '[object Object]') {\n    return false;\n  }\n\n  var prototype = Object.getPrototypeOf(val);\n  return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n  return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n  return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n  return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n  return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n  return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n  return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n  return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n *  typeof window -> undefined\n *  typeof document -> undefined\n *\n * react-native:\n *  navigator.product -> 'ReactNative'\n * nativescript\n *  navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n  if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n                                           navigator.product === 'NativeScript' ||\n                                           navigator.product === 'NS')) {\n    return false;\n  }\n  return (\n    typeof window !== 'undefined' &&\n    typeof document !== 'undefined'\n  );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n  // Don't bother if no value provided\n  if (obj === null || typeof obj === 'undefined') {\n    return;\n  }\n\n  // Force an array if not already something iterable\n  if (typeof obj !== 'object') {\n    /*eslint no-param-reassign:0*/\n    obj = [obj];\n  }\n\n  if (isArray(obj)) {\n    // Iterate over array values\n    for (var i = 0, l = obj.length; i < l; i++) {\n      fn.call(null, obj[i], i, obj);\n    }\n  } else {\n    // Iterate over object keys\n    for (var key in obj) {\n      if (Object.prototype.hasOwnProperty.call(obj, key)) {\n        fn.call(null, obj[key], key, obj);\n      }\n    }\n  }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n  var result = {};\n  function assignValue(val, key) {\n    if (isPlainObject(result[key]) && isPlainObject(val)) {\n      result[key] = merge(result[key], val);\n    } else if (isPlainObject(val)) {\n      result[key] = merge({}, val);\n    } else if (isArray(val)) {\n      result[key] = val.slice();\n    } else {\n      result[key] = val;\n    }\n  }\n\n  for (var i = 0, l = arguments.length; i < l; i++) {\n    forEach(arguments[i], assignValue);\n  }\n  return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n  forEach(b, function assignValue(val, key) {\n    if (thisArg && typeof val === 'function') {\n      a[key] = bind(val, thisArg);\n    } else {\n      a[key] = val;\n    }\n  });\n  return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n  if (content.charCodeAt(0) === 0xFEFF) {\n    content = content.slice(1);\n  }\n  return content;\n}\n\nmodule.exports = {\n  isArray: isArray,\n  isArrayBuffer: isArrayBuffer,\n  isBuffer: isBuffer,\n  isFormData: isFormData,\n  isArrayBufferView: isArrayBufferView,\n  isString: isString,\n  isNumber: isNumber,\n  isObject: isObject,\n  isPlainObject: isPlainObject,\n  isUndefined: isUndefined,\n  isDate: isDate,\n  isFile: isFile,\n  isBlob: isBlob,\n  isFunction: isFunction,\n  isStream: isStream,\n  isURLSearchParams: isURLSearchParams,\n  isStandardBrowserEnv: isStandardBrowserEnv,\n  forEach: forEach,\n  merge: merge,\n  extend: extend,\n  trim: trim,\n  stripBOM: stripBOM\n};\n","isModule":false,"requires":["./helpers/bind"]},"/node_modules/axios/lib/helpers/bind.js":{"content":"'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n  return function wrap() {\n    var args = new Array(arguments.length);\n    for (var i = 0; i < args.length; i++) {\n      args[i] = arguments[i];\n    }\n    return fn.apply(thisArg, args);\n  };\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/core/Axios.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n  this.defaults = instanceConfig;\n  this.interceptors = {\n    request: new InterceptorManager(),\n    response: new InterceptorManager()\n  };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n  /*eslint no-param-reassign:0*/\n  // Allow for axios('example/url'[, config]) a la fetch API\n  if (typeof config === 'string') {\n    config = arguments[1] || {};\n    config.url = arguments[0];\n  } else {\n    config = config || {};\n  }\n\n  config = mergeConfig(this.defaults, config);\n\n  // Set config.method\n  if (config.method) {\n    config.method = config.method.toLowerCase();\n  } else if (this.defaults.method) {\n    config.method = this.defaults.method.toLowerCase();\n  } else {\n    config.method = 'get';\n  }\n\n  var transitional = config.transitional;\n\n  if (transitional !== undefined) {\n    validator.assertOptions(transitional, {\n      silentJSONParsing: validators.transitional(validators.boolean),\n      forcedJSONParsing: validators.transitional(validators.boolean),\n      clarifyTimeoutError: validators.transitional(validators.boolean)\n    }, false);\n  }\n\n  // filter out skipped interceptors\n  var requestInterceptorChain = [];\n  var synchronousRequestInterceptors = true;\n  this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n    if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n      return;\n    }\n\n    synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n    requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n  });\n\n  var responseInterceptorChain = [];\n  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n    responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n  });\n\n  var promise;\n\n  if (!synchronousRequestInterceptors) {\n    var chain = [dispatchRequest, undefined];\n\n    Array.prototype.unshift.apply(chain, requestInterceptorChain);\n    chain = chain.concat(responseInterceptorChain);\n\n    promise = Promise.resolve(config);\n    while (chain.length) {\n      promise = promise.then(chain.shift(), chain.shift());\n    }\n\n    return promise;\n  }\n\n\n  var newConfig = config;\n  while (requestInterceptorChain.length) {\n    var onFulfilled = requestInterceptorChain.shift();\n    var onRejected = requestInterceptorChain.shift();\n    try {\n      newConfig = onFulfilled(newConfig);\n    } catch (error) {\n      onRejected(error);\n      break;\n    }\n  }\n\n  try {\n    promise = dispatchRequest(newConfig);\n  } catch (error) {\n    return Promise.reject(error);\n  }\n\n  while (responseInterceptorChain.length) {\n    promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n  }\n\n  return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n  config = mergeConfig(this.defaults, config);\n  return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n  /*eslint func-names:0*/\n  Axios.prototype[method] = function(url, config) {\n    return this.request(mergeConfig(config || {}, {\n      method: method,\n      url: url,\n      data: (config || {}).data\n    }));\n  };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n  /*eslint func-names:0*/\n  Axios.prototype[method] = function(url, data, config) {\n    return this.request(mergeConfig(config || {}, {\n      method: method,\n      url: url,\n      data: data\n    }));\n  };\n});\n\nmodule.exports = Axios;\n","isModule":false,"requires":["./../utils","../helpers/buildURL","./InterceptorManager","./dispatchRequest","./mergeConfig","../helpers/validator"]},"/node_modules/axios/lib/helpers/buildURL.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n  return encodeURIComponent(val).\n    replace(/%3A/gi, ':').\n    replace(/%24/g, '$').\n    replace(/%2C/gi, ',').\n    replace(/%20/g, '+').\n    replace(/%5B/gi, '[').\n    replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n  /*eslint no-param-reassign:0*/\n  if (!params) {\n    return url;\n  }\n\n  var serializedParams;\n  if (paramsSerializer) {\n    serializedParams = paramsSerializer(params);\n  } else if (utils.isURLSearchParams(params)) {\n    serializedParams = params.toString();\n  } else {\n    var parts = [];\n\n    utils.forEach(params, function serialize(val, key) {\n      if (val === null || typeof val === 'undefined') {\n        return;\n      }\n\n      if (utils.isArray(val)) {\n        key = key + '[]';\n      } else {\n        val = [val];\n      }\n\n      utils.forEach(val, function parseValue(v) {\n        if (utils.isDate(v)) {\n          v = v.toISOString();\n        } else if (utils.isObject(v)) {\n          v = JSON.stringify(v);\n        }\n        parts.push(encode(key) + '=' + encode(v));\n      });\n    });\n\n    serializedParams = parts.join('&');\n  }\n\n  if (serializedParams) {\n    var hashmarkIndex = url.indexOf('#');\n    if (hashmarkIndex !== -1) {\n      url = url.slice(0, hashmarkIndex);\n    }\n\n    url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n  }\n\n  return url;\n};\n","isModule":false,"requires":["./../utils"]},"/node_modules/axios/lib/core/InterceptorManager.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n  this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n  this.handlers.push({\n    fulfilled: fulfilled,\n    rejected: rejected,\n    synchronous: options ? options.synchronous : false,\n    runWhen: options ? options.runWhen : null\n  });\n  return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n  if (this.handlers[id]) {\n    this.handlers[id] = null;\n  }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n  utils.forEach(this.handlers, function forEachHandler(h) {\n    if (h !== null) {\n      fn(h);\n    }\n  });\n};\n\nmodule.exports = InterceptorManager;\n","isModule":false,"requires":["./../utils"]},"/node_modules/axios/lib/core/dispatchRequest.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n  if (config.cancelToken) {\n    config.cancelToken.throwIfRequested();\n  }\n\n  if (config.signal && config.signal.aborted) {\n    throw new Cancel('canceled');\n  }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n  throwIfCancellationRequested(config);\n\n  // Ensure headers exist\n  config.headers = config.headers || {};\n\n  // Transform request data\n  config.data = transformData.call(\n    config,\n    config.data,\n    config.headers,\n    config.transformRequest\n  );\n\n  // Flatten headers\n  config.headers = utils.merge(\n    config.headers.common || {},\n    config.headers[config.method] || {},\n    config.headers\n  );\n\n  utils.forEach(\n    ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n    function cleanHeaderConfig(method) {\n      delete config.headers[method];\n    }\n  );\n\n  var adapter = config.adapter || defaults.adapter;\n\n  return adapter(config).then(function onAdapterResolution(response) {\n    throwIfCancellationRequested(config);\n\n    // Transform response data\n    response.data = transformData.call(\n      config,\n      response.data,\n      response.headers,\n      config.transformResponse\n    );\n\n    return response;\n  }, function onAdapterRejection(reason) {\n    if (!isCancel(reason)) {\n      throwIfCancellationRequested(config);\n\n      // Transform response data\n      if (reason && reason.response) {\n        reason.response.data = transformData.call(\n          config,\n          reason.response.data,\n          reason.response.headers,\n          config.transformResponse\n        );\n      }\n    }\n\n    return Promise.reject(reason);\n  });\n};\n","isModule":false,"requires":["./../utils","./transformData","../cancel/isCancel","../defaults","../cancel/Cancel"]},"/node_modules/axios/lib/core/transformData.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n  var context = this || defaults;\n  /*eslint no-param-reassign:0*/\n  utils.forEach(fns, function transform(fn) {\n    data = fn.call(context, data, headers);\n  });\n\n  return data;\n};\n","isModule":false,"requires":["./../utils","./../defaults"]},"/node_modules/axios/lib/defaults.js":{"content":"'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n  'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n  if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n    headers['Content-Type'] = value;\n  }\n}\n\nfunction getDefaultAdapter() {\n  var adapter;\n  if (typeof XMLHttpRequest !== 'undefined') {\n    // For browsers use XHR adapter\n    adapter = require('./adapters/xhr');\n  } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n    // For node use HTTP adapter\n    adapter = require('./adapters/http');\n  }\n  return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n  if (utils.isString(rawValue)) {\n    try {\n      (parser || JSON.parse)(rawValue);\n      return utils.trim(rawValue);\n    } catch (e) {\n      if (e.name !== 'SyntaxError') {\n        throw e;\n      }\n    }\n  }\n\n  return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n  transitional: {\n    silentJSONParsing: true,\n    forcedJSONParsing: true,\n    clarifyTimeoutError: false\n  },\n\n  adapter: getDefaultAdapter(),\n\n  transformRequest: [function transformRequest(data, headers) {\n    normalizeHeaderName(headers, 'Accept');\n    normalizeHeaderName(headers, 'Content-Type');\n\n    if (utils.isFormData(data) ||\n      utils.isArrayBuffer(data) ||\n      utils.isBuffer(data) ||\n      utils.isStream(data) ||\n      utils.isFile(data) ||\n      utils.isBlob(data)\n    ) {\n      return data;\n    }\n    if (utils.isArrayBufferView(data)) {\n      return data.buffer;\n    }\n    if (utils.isURLSearchParams(data)) {\n      setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n      return data.toString();\n    }\n    if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n      setContentTypeIfUnset(headers, 'application/json');\n      return stringifySafely(data);\n    }\n    return data;\n  }],\n\n  transformResponse: [function transformResponse(data) {\n    var transitional = this.transitional || defaults.transitional;\n    var silentJSONParsing = transitional && transitional.silentJSONParsing;\n    var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n    var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n    if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n      try {\n        return JSON.parse(data);\n      } catch (e) {\n        if (strictJSONParsing) {\n          if (e.name === 'SyntaxError') {\n            throw enhanceError(e, this, 'E_JSON_PARSE');\n          }\n          throw e;\n        }\n      }\n    }\n\n    return data;\n  }],\n\n  /**\n   * A timeout in milliseconds to abort a request. If set to 0 (default) a\n   * timeout is not created.\n   */\n  timeout: 0,\n\n  xsrfCookieName: 'XSRF-TOKEN',\n  xsrfHeaderName: 'X-XSRF-TOKEN',\n\n  maxContentLength: -1,\n  maxBodyLength: -1,\n\n  validateStatus: function validateStatus(status) {\n    return status >= 200 && status < 300;\n  },\n\n  headers: {\n    common: {\n      'Accept': 'application/json, text/plain, */*'\n    }\n  }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n  defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n  defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","isModule":false,"requires":["./utils","./helpers/normalizeHeaderName","./core/enhanceError","./adapters/xhr","./adapters/http"]},"/node_modules/axios/lib/helpers/normalizeHeaderName.js":{"content":"'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n  utils.forEach(headers, function processHeader(value, name) {\n    if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n      headers[normalizedName] = value;\n      delete headers[name];\n    }\n  });\n};\n","isModule":false,"requires":["../utils"]},"/node_modules/axios/lib/core/enhanceError.js":{"content":"'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n  error.config = config;\n  if (code) {\n    error.code = code;\n  }\n\n  error.request = request;\n  error.response = response;\n  error.isAxiosError = true;\n\n  error.toJSON = function toJSON() {\n    return {\n      // Standard\n      message: this.message,\n      name: this.name,\n      // Microsoft\n      description: this.description,\n      number: this.number,\n      // Mozilla\n      fileName: this.fileName,\n      lineNumber: this.lineNumber,\n      columnNumber: this.columnNumber,\n      stack: this.stack,\n      // Axios\n      config: this.config,\n      code: this.code,\n      status: this.response && this.response.status ? this.response.status : null\n    };\n  };\n  return error;\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/adapters/xhr.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n  return new Promise(function dispatchXhrRequest(resolve, reject) {\n    var requestData = config.data;\n    var requestHeaders = config.headers;\n    var responseType = config.responseType;\n    var onCanceled;\n    function done() {\n      if (config.cancelToken) {\n        config.cancelToken.unsubscribe(onCanceled);\n      }\n\n      if (config.signal) {\n        config.signal.removeEventListener('abort', onCanceled);\n      }\n    }\n\n    if (utils.isFormData(requestData)) {\n      delete requestHeaders['Content-Type']; // Let the browser set it\n    }\n\n    var request = new XMLHttpRequest();\n\n    // HTTP basic authentication\n    if (config.auth) {\n      var username = config.auth.username || '';\n      var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n      requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n    }\n\n    var fullPath = buildFullPath(config.baseURL, config.url);\n    request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n    // Set the request timeout in MS\n    request.timeout = config.timeout;\n\n    function onloadend() {\n      if (!request) {\n        return;\n      }\n      // Prepare the response\n      var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n      var responseData = !responseType || responseType === 'text' ||  responseType === 'json' ?\n        request.responseText : request.response;\n      var response = {\n        data: responseData,\n        status: request.status,\n        statusText: request.statusText,\n        headers: responseHeaders,\n        config: config,\n        request: request\n      };\n\n      settle(function _resolve(value) {\n        resolve(value);\n        done();\n      }, function _reject(err) {\n        reject(err);\n        done();\n      }, response);\n\n      // Clean up request\n      request = null;\n    }\n\n    if ('onloadend' in request) {\n      // Use onloadend if available\n      request.onloadend = onloadend;\n    } else {\n      // Listen for ready state to emulate onloadend\n      request.onreadystatechange = function handleLoad() {\n        if (!request || request.readyState !== 4) {\n          return;\n        }\n\n        // The request errored out and we didn't get a response, this will be\n        // handled by onerror instead\n        // With one exception: request that using file: protocol, most browsers\n        // will return status as 0 even though it's a successful request\n        if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n          return;\n        }\n        // readystate handler is calling before onerror or ontimeout handlers,\n        // so we should call onloadend on the next 'tick'\n        setTimeout(onloadend);\n      };\n    }\n\n    // Handle browser request cancellation (as opposed to a manual cancellation)\n    request.onabort = function handleAbort() {\n      if (!request) {\n        return;\n      }\n\n      reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Handle low level network errors\n    request.onerror = function handleError() {\n      // Real errors are hidden from us by the browser\n      // onerror should only fire if it's a network error\n      reject(createError('Network Error', config, null, request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Handle timeout\n    request.ontimeout = function handleTimeout() {\n      var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n      var transitional = config.transitional || defaults.transitional;\n      if (config.timeoutErrorMessage) {\n        timeoutErrorMessage = config.timeoutErrorMessage;\n      }\n      reject(createError(\n        timeoutErrorMessage,\n        config,\n        transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n        request));\n\n      // Clean up request\n      request = null;\n    };\n\n    // Add xsrf header\n    // This is only done if running in a standard browser environment.\n    // Specifically not if we're in a web worker, or react-native.\n    if (utils.isStandardBrowserEnv()) {\n      // Add xsrf header\n      var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n        cookies.read(config.xsrfCookieName) :\n        undefined;\n\n      if (xsrfValue) {\n        requestHeaders[config.xsrfHeaderName] = xsrfValue;\n      }\n    }\n\n    // Add headers to the request\n    if ('setRequestHeader' in request) {\n      utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n        if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n          // Remove Content-Type if data is undefined\n          delete requestHeaders[key];\n        } else {\n          // Otherwise add header to the request\n          request.setRequestHeader(key, val);\n        }\n      });\n    }\n\n    // Add withCredentials to request if needed\n    if (!utils.isUndefined(config.withCredentials)) {\n      request.withCredentials = !!config.withCredentials;\n    }\n\n    // Add responseType to request if needed\n    if (responseType && responseType !== 'json') {\n      request.responseType = config.responseType;\n    }\n\n    // Handle progress if needed\n    if (typeof config.onDownloadProgress === 'function') {\n      request.addEventListener('progress', config.onDownloadProgress);\n    }\n\n    // Not all browsers support upload events\n    if (typeof config.onUploadProgress === 'function' && request.upload) {\n      request.upload.addEventListener('progress', config.onUploadProgress);\n    }\n\n    if (config.cancelToken || config.signal) {\n      // Handle cancellation\n      // eslint-disable-next-line func-names\n      onCanceled = function(cancel) {\n        if (!request) {\n          return;\n        }\n        reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n        request.abort();\n        request = null;\n      };\n\n      config.cancelToken && config.cancelToken.subscribe(onCanceled);\n      if (config.signal) {\n        config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n      }\n    }\n\n    if (!requestData) {\n      requestData = null;\n    }\n\n    // Send the request\n    request.send(requestData);\n  });\n};\n","isModule":false,"requires":["./../utils","./../core/settle","./../helpers/cookies","./../helpers/buildURL","../core/buildFullPath","./../helpers/parseHeaders","./../helpers/isURLSameOrigin","../core/createError","../defaults","../cancel/Cancel"]},"/node_modules/axios/lib/core/settle.js":{"content":"'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n  var validateStatus = response.config.validateStatus;\n  if (!response.status || !validateStatus || validateStatus(response.status)) {\n    resolve(response);\n  } else {\n    reject(createError(\n      'Request failed with status code ' + response.status,\n      response.config,\n      null,\n      response.request,\n      response\n    ));\n  }\n};\n","isModule":false,"requires":["./createError"]},"/node_modules/axios/lib/core/createError.js":{"content":"'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n  var error = new Error(message);\n  return enhanceError(error, config, code, request, response);\n};\n","isModule":false,"requires":["./enhanceError"]},"/node_modules/axios/lib/helpers/cookies.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n  utils.isStandardBrowserEnv() ?\n\n  // Standard browser envs support document.cookie\n    (function standardBrowserEnv() {\n      return {\n        write: function write(name, value, expires, path, domain, secure) {\n          var cookie = [];\n          cookie.push(name + '=' + encodeURIComponent(value));\n\n          if (utils.isNumber(expires)) {\n            cookie.push('expires=' + new Date(expires).toGMTString());\n          }\n\n          if (utils.isString(path)) {\n            cookie.push('path=' + path);\n          }\n\n          if (utils.isString(domain)) {\n            cookie.push('domain=' + domain);\n          }\n\n          if (secure === true) {\n            cookie.push('secure');\n          }\n\n          document.cookie = cookie.join('; ');\n        },\n\n        read: function read(name) {\n          var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n          return (match ? decodeURIComponent(match[3]) : null);\n        },\n\n        remove: function remove(name) {\n          this.write(name, '', Date.now() - 86400000);\n        }\n      };\n    })() :\n\n  // Non standard browser env (web workers, react-native) lack needed support.\n    (function nonStandardBrowserEnv() {\n      return {\n        write: function write() {},\n        read: function read() { return null; },\n        remove: function remove() {}\n      };\n    })()\n);\n","isModule":false,"requires":["./../utils"]},"/node_modules/axios/lib/core/buildFullPath.js":{"content":"'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n  if (baseURL && !isAbsoluteURL(requestedURL)) {\n    return combineURLs(baseURL, requestedURL);\n  }\n  return requestedURL;\n};\n","isModule":false,"requires":["../helpers/isAbsoluteURL","../helpers/combineURLs"]},"/node_modules/axios/lib/helpers/isAbsoluteURL.js":{"content":"'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n  // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n  // by any combination of letters, digits, plus, period, or hyphen.\n  return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/helpers/combineURLs.js":{"content":"'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n  return relativeURL\n    ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n    : baseURL;\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/helpers/parseHeaders.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n  'age', 'authorization', 'content-length', 'content-type', 'etag',\n  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n  'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n  'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n  var parsed = {};\n  var key;\n  var val;\n  var i;\n\n  if (!headers) { return parsed; }\n\n  utils.forEach(headers.split('\\n'), function parser(line) {\n    i = line.indexOf(':');\n    key = utils.trim(line.substr(0, i)).toLowerCase();\n    val = utils.trim(line.substr(i + 1));\n\n    if (key) {\n      if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n        return;\n      }\n      if (key === 'set-cookie') {\n        parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n      } else {\n        parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n      }\n    }\n  });\n\n  return parsed;\n};\n","isModule":false,"requires":["./../utils"]},"/node_modules/axios/lib/helpers/isURLSameOrigin.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n  utils.isStandardBrowserEnv() ?\n\n  // Standard browser envs have full support of the APIs needed to test\n  // whether the request URL is of the same origin as current location.\n    (function standardBrowserEnv() {\n      var msie = /(msie|trident)/i.test(navigator.userAgent);\n      var urlParsingNode = document.createElement('a');\n      var originURL;\n\n      /**\n    * Parse a URL to discover it's components\n    *\n    * @param {String} url The URL to be parsed\n    * @returns {Object}\n    */\n      function resolveURL(url) {\n        var href = url;\n\n        if (msie) {\n        // IE needs attribute set twice to normalize properties\n          urlParsingNode.setAttribute('href', href);\n          href = urlParsingNode.href;\n        }\n\n        urlParsingNode.setAttribute('href', href);\n\n        // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n        return {\n          href: urlParsingNode.href,\n          protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n          host: urlParsingNode.host,\n          search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n          hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n          hostname: urlParsingNode.hostname,\n          port: urlParsingNode.port,\n          pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n            urlParsingNode.pathname :\n            '/' + urlParsingNode.pathname\n        };\n      }\n\n      originURL = resolveURL(window.location.href);\n\n      /**\n    * Determine if a URL shares the same origin as the current location\n    *\n    * @param {String} requestURL The URL to test\n    * @returns {boolean} True if URL shares the same origin, otherwise false\n    */\n      return function isURLSameOrigin(requestURL) {\n        var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n        return (parsed.protocol === originURL.protocol &&\n            parsed.host === originURL.host);\n      };\n    })() :\n\n  // Non standard browser envs (web workers, react-native) lack needed support.\n    (function nonStandardBrowserEnv() {\n      return function isURLSameOrigin() {\n        return true;\n      };\n    })()\n);\n","isModule":false,"requires":["./../utils"]},"/node_modules/axios/lib/cancel/Cancel.js":{"content":"'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n  this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n  return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","isModule":false,"requires":[]},"/node_modules/axios/lib/adapters/http.js":{"content":"'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n  options.hostname = proxy.host;\n  options.host = proxy.host;\n  options.port = proxy.port;\n  options.path = location;\n\n  // Basic proxy authorization\n  if (proxy.auth) {\n    var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n    options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n  }\n\n  // If a proxy is used, any redirects must also pass through the proxy\n  options.beforeRedirect = function beforeRedirect(redirection) {\n    redirection.headers.host = redirection.host;\n    setProxy(redirection, proxy, redirection.href);\n  };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n  return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n    var onCanceled;\n    function done() {\n      if (config.cancelToken) {\n        config.cancelToken.unsubscribe(onCanceled);\n      }\n\n      if (config.signal) {\n        config.signal.removeEventListener('abort', onCanceled);\n      }\n    }\n    var resolve = function resolve(value) {\n      done();\n      resolvePromise(value);\n    };\n    var reject = function reject(value) {\n      done();\n      rejectPromise(value);\n    };\n    var data = config.data;\n    var headers = config.headers;\n    var headerNames = {};\n\n    Object.keys(headers).forEach(function storeLowerName(name) {\n      headerNames[name.toLowerCase()] = name;\n    });\n\n    // Set User-Agent (required by some servers)\n    // See https://github.com/axios/axios/issues/69\n    if ('user-agent' in headerNames) {\n      // User-Agent is specified; handle case where no UA header is desired\n      if (!headers[headerNames['user-agent']]) {\n        delete headers[headerNames['user-agent']];\n      }\n      // Otherwise, use specified value\n    } else {\n      // Only set header if it hasn't been set in config\n      headers['User-Agent'] = 'axios/' + VERSION;\n    }\n\n    if (data && !utils.isStream(data)) {\n      if (Buffer.isBuffer(data)) {\n        // Nothing to do...\n      } else if (utils.isArrayBuffer(data)) {\n        data = Buffer.from(new Uint8Array(data));\n      } else if (utils.isString(data)) {\n        data = Buffer.from(data, 'utf-8');\n      } else {\n        return reject(createError(\n          'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n          config\n        ));\n      }\n\n      // Add Content-Length header if data exists\n      if (!headerNames['content-length']) {\n        headers['Content-Length'] = data.length;\n      }\n    }\n\n    // HTTP basic authentication\n    var auth = undefined;\n    if (config.auth) {\n      var username = config.auth.username || '';\n      var password = config.auth.password || '';\n      auth = username + ':' + password;\n    }\n\n    // Parse url\n    var fullPath = buildFullPath(config.baseURL, config.url);\n    var parsed = url.parse(fullPath);\n    var protocol = parsed.protocol || 'http:';\n\n    if (!auth && parsed.auth) {\n      var urlAuth = parsed.auth.split(':');\n      var urlUsername = urlAuth[0] || '';\n      var urlPassword = urlAuth[1] || '';\n      auth = urlUsername + ':' + urlPassword;\n    }\n\n    if (auth && headerNames.authorization) {\n      delete headers[headerNames.authorization];\n    }\n\n    var isHttpsRequest = isHttps.test(protocol);\n    var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n    var options = {\n      path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n      method: config.method.toUpperCase(),\n      headers: headers,\n      agent: agent,\n      agents: { http: config.httpAgent, https: config.httpsAgent },\n      auth: auth\n    };\n\n    if (config.socketPath) {\n      options.socketPath = config.socketPath;\n    } else {\n      options.hostname = parsed.hostname;\n      options.port = parsed.port;\n    }\n\n    var proxy = config.proxy;\n    if (!proxy && proxy !== false) {\n      var proxyEnv = protocol.slice(0, -1) + '_proxy';\n      var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n      if (proxyUrl) {\n        var parsedProxyUrl = url.parse(proxyUrl);\n        var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n        var shouldProxy = true;\n\n        if (noProxyEnv) {\n          var noProxy = noProxyEnv.split(',').map(function trim(s) {\n            return s.trim();\n          });\n\n          shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n            if (!proxyElement) {\n              return false;\n            }\n            if (proxyElement === '*') {\n              return true;\n            }\n            if (proxyElement[0] === '.' &&\n                parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n              return true;\n            }\n\n            return parsed.hostname === proxyElement;\n          });\n        }\n\n        if (shouldProxy) {\n          proxy = {\n            host: parsedProxyUrl.hostname,\n            port: parsedProxyUrl.port,\n            protocol: parsedProxyUrl.protocol\n          };\n\n          if (parsedProxyUrl.auth) {\n            var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n            proxy.auth = {\n              username: proxyUrlAuth[0],\n              password: proxyUrlAuth[1]\n            };\n          }\n        }\n      }\n    }\n\n    if (proxy) {\n      options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n      setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n    }\n\n    var transport;\n    var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n    if (config.transport) {\n      transport = config.transport;\n    } else if (config.maxRedirects === 0) {\n      transport = isHttpsProxy ? https : http;\n    } else {\n      if (config.maxRedirects) {\n        options.maxRedirects = config.maxRedirects;\n      }\n      transport = isHttpsProxy ? httpsFollow : httpFollow;\n    }\n\n    if (config.maxBodyLength > -1) {\n      options.maxBodyLength = config.maxBodyLength;\n    }\n\n    if (config.insecureHTTPParser) {\n      options.insecureHTTPParser = config.insecureHTTPParser;\n    }\n\n    // Create the request\n    var req = transport.request(options, function handleResponse(res) {\n      if (req.aborted) return;\n\n      // uncompress the response body transparently if required\n      var stream = res;\n\n      // return the last request in case of redirects\n      var lastRequest = res.req || req;\n\n\n      // if no content, is HEAD request or decompress disabled we should not decompress\n      if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n        switch (res.headers['content-encoding']) {\n        /*eslint default-case:0*/\n        case 'gzip':\n        case 'compress':\n        case 'deflate':\n        // add the unzipper to the body stream processing pipeline\n          stream = stream.pipe(zlib.createUnzip());\n\n          // remove the content-encoding in order to not confuse downstream operations\n          delete res.headers['content-encoding'];\n          break;\n        }\n      }\n\n      var response = {\n        status: res.statusCode,\n        statusText: res.statusMessage,\n        headers: res.headers,\n        config: config,\n        request: lastRequest\n      };\n\n      if (config.responseType === 'stream') {\n        response.data = stream;\n        settle(resolve, reject, response);\n      } else {\n        var responseBuffer = [];\n        var totalResponseBytes = 0;\n        stream.on('data', function handleStreamData(chunk) {\n          responseBuffer.push(chunk);\n          totalResponseBytes += chunk.length;\n\n          // make sure the content length is not over the maxContentLength if specified\n          if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n            stream.destroy();\n            reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n              config, null, lastRequest));\n          }\n        });\n\n        stream.on('error', function handleStreamError(err) {\n          if (req.aborted) return;\n          reject(enhanceError(err, config, null, lastRequest));\n        });\n\n        stream.on('end', function handleStreamEnd() {\n          var responseData = Buffer.concat(responseBuffer);\n          if (config.responseType !== 'arraybuffer') {\n            responseData = responseData.toString(config.responseEncoding);\n            if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n              responseData = utils.stripBOM(responseData);\n            }\n          }\n\n          response.data = responseData;\n          settle(resolve, reject, response);\n        });\n      }\n    });\n\n    // Handle errors\n    req.on('error', function handleRequestError(err) {\n      if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n      reject(enhanceError(err, config, null, req));\n    });\n\n    // Handle request timeout\n    if (config.timeout) {\n      // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n      var timeout = parseInt(config.timeout, 10);\n\n      if (isNaN(timeout)) {\n        reject(createError(\n          'error trying to parse `config.timeout` to int',\n          config,\n          'ERR_PARSE_TIMEOUT',\n          req\n        ));\n\n        return;\n      }\n\n      // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n      // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n      // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n      // And then these socket which be hang up will devoring CPU little by little.\n      // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n      req.setTimeout(timeout, function handleRequestTimeout() {\n        req.abort();\n        var transitional = config.transitional || defaults.transitional;\n        reject(createError(\n          'timeout of ' + timeout + 'ms exceeded',\n          config,\n          transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n          req\n        ));\n      });\n    }\n\n    if (config.cancelToken || config.signal) {\n      // Handle cancellation\n      // eslint-disable-next-line func-names\n      onCanceled = function(cancel) {\n        if (req.aborted) return;\n\n        req.abort();\n        reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n      };\n\n      config.cancelToken && config.cancelToken.subscribe(onCanceled);\n      if (config.signal) {\n        config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n      }\n    }\n\n\n    // Send the request\n    if (utils.isStream(data)) {\n      data.on('error', function handleStreamError(err) {\n        reject(enhanceError(err, config, null, req));\n      }).pipe(req);\n    } else {\n      req.end(data);\n    }\n  });\n};\n","isModule":false,"requires":["./../utils","./../core/settle","../core/buildFullPath","./../helpers/buildURL","http","https","follow-redirects","follow-redirects","url","zlib","./../env/data","../core/createError","../core/enhanceError","../defaults","../cancel/Cancel"]},"/node_modules/follow-redirects/index.js":{"content":"var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n  eventHandlers[event] = function (arg1, arg2, arg3) {\n    this._redirectable.emit(event, arg1, arg2, arg3);\n  };\n});\n\nvar InvalidUrlError = createErrorType(\n  \"ERR_INVALID_URL\",\n  \"Invalid URL\",\n  TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n  \"ERR_FR_REDIRECTION_FAILURE\",\n  \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n  \"ERR_FR_TOO_MANY_REDIRECTS\",\n  \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n  \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n  \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n  \"ERR_STREAM_WRITE_AFTER_END\",\n  \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n  // Initialize the request\n  Writable.call(this);\n  this._sanitizeOptions(options);\n  this._options = options;\n  this._ended = false;\n  this._ending = false;\n  this._redirectCount = 0;\n  this._redirects = [];\n  this._requestBodyLength = 0;\n  this._requestBodyBuffers = [];\n\n  // Attach a callback if passed\n  if (responseCallback) {\n    this.on(\"response\", responseCallback);\n  }\n\n  // React to responses of native requests\n  var self = this;\n  this._onNativeResponse = function (response) {\n    self._processResponse(response);\n  };\n\n  // Perform the first request\n  this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n  abortRequest(this._currentRequest);\n  this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n  // Writing is not allowed if end has been called\n  if (this._ending) {\n    throw new WriteAfterEndError();\n  }\n\n  // Validate input and shift parameters if necessary\n  if (!isString(data) && !isBuffer(data)) {\n    throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n  }\n  if (isFunction(encoding)) {\n    callback = encoding;\n    encoding = null;\n  }\n\n  // Ignore empty buffers, since writing them doesn't invoke the callback\n  // https://github.com/nodejs/node/issues/22066\n  if (data.length === 0) {\n    if (callback) {\n      callback();\n    }\n    return;\n  }\n  // Only write when we don't exceed the maximum body length\n  if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n    this._requestBodyLength += data.length;\n    this._requestBodyBuffers.push({ data: data, encoding: encoding });\n    this._currentRequest.write(data, encoding, callback);\n  }\n  // Error when we exceed the maximum body length\n  else {\n    this.emit(\"error\", new MaxBodyLengthExceededError());\n    this.abort();\n  }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n  // Shift parameters if necessary\n  if (isFunction(data)) {\n    callback = data;\n    data = encoding = null;\n  }\n  else if (isFunction(encoding)) {\n    callback = encoding;\n    encoding = null;\n  }\n\n  // Write data if needed and end\n  if (!data) {\n    this._ended = this._ending = true;\n    this._currentRequest.end(null, null, callback);\n  }\n  else {\n    var self = this;\n    var currentRequest = this._currentRequest;\n    this.write(data, encoding, function () {\n      self._ended = true;\n      currentRequest.end(null, null, callback);\n    });\n    this._ending = true;\n  }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n  this._options.headers[name] = value;\n  this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n  delete this._options.headers[name];\n  this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n  var self = this;\n\n  // Destroys the socket on timeout\n  function destroyOnTimeout(socket) {\n    socket.setTimeout(msecs);\n    socket.removeListener(\"timeout\", socket.destroy);\n    socket.addListener(\"timeout\", socket.destroy);\n  }\n\n  // Sets up a timer to trigger a timeout event\n  function startTimer(socket) {\n    if (self._timeout) {\n      clearTimeout(self._timeout);\n    }\n    self._timeout = setTimeout(function () {\n      self.emit(\"timeout\");\n      clearTimer();\n    }, msecs);\n    destroyOnTimeout(socket);\n  }\n\n  // Stops a timeout from triggering\n  function clearTimer() {\n    // Clear the timeout\n    if (self._timeout) {\n      clearTimeout(self._timeout);\n      self._timeout = null;\n    }\n\n    // Clean up all attached listeners\n    self.removeListener(\"abort\", clearTimer);\n    self.removeListener(\"error\", clearTimer);\n    self.removeListener(\"response\", clearTimer);\n    if (callback) {\n      self.removeListener(\"timeout\", callback);\n    }\n    if (!self.socket) {\n      self._currentRequest.removeListener(\"socket\", startTimer);\n    }\n  }\n\n  // Attach callback if passed\n  if (callback) {\n    this.on(\"timeout\", callback);\n  }\n\n  // Start the timer if or when the socket is opened\n  if (this.socket) {\n    startTimer(this.socket);\n  }\n  else {\n    this._currentRequest.once(\"socket\", startTimer);\n  }\n\n  // Clean up on events\n  this.on(\"socket\", destroyOnTimeout);\n  this.on(\"abort\", clearTimer);\n  this.on(\"error\", clearTimer);\n  this.on(\"response\", clearTimer);\n\n  return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n  \"flushHeaders\", \"getHeader\",\n  \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n  RedirectableRequest.prototype[method] = function (a, b) {\n    return this._currentRequest[method](a, b);\n  };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n  Object.defineProperty(RedirectableRequest.prototype, property, {\n    get: function () { return this._currentRequest[property]; },\n  });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n  // Ensure headers are always present\n  if (!options.headers) {\n    options.headers = {};\n  }\n\n  // Since http.request treats host as an alias of hostname,\n  // but the url module interprets host as hostname plus port,\n  // eliminate the host property to avoid confusion.\n  if (options.host) {\n    // Use hostname if set, because it has precedence\n    if (!options.hostname) {\n      options.hostname = options.host;\n    }\n    delete options.host;\n  }\n\n  // Complete the URL object when necessary\n  if (!options.pathname && options.path) {\n    var searchPos = options.path.indexOf(\"?\");\n    if (searchPos < 0) {\n      options.pathname = options.path;\n    }\n    else {\n      options.pathname = options.path.substring(0, searchPos);\n      options.search = options.path.substring(searchPos);\n    }\n  }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n  // Load the native protocol\n  var protocol = this._options.protocol;\n  var nativeProtocol = this._options.nativeProtocols[protocol];\n  if (!nativeProtocol) {\n    this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n    return;\n  }\n\n  // If specified, use the agent corresponding to the protocol\n  // (HTTP and HTTPS use different types of agents)\n  if (this._options.agents) {\n    var scheme = protocol.slice(0, -1);\n    this._options.agent = this._options.agents[scheme];\n  }\n\n  // Create the native request and set up its event handlers\n  var request = this._currentRequest =\n        nativeProtocol.request(this._options, this._onNativeResponse);\n  request._redirectable = this;\n  for (var event of events) {\n    request.on(event, eventHandlers[event]);\n  }\n\n  // RFC7230§5.3.1: When making a request directly to an origin server, […]\n  // a client MUST send only the absolute path […] as the request-target.\n  this._currentUrl = /^\\//.test(this._options.path) ?\n    url.format(this._options) :\n    // When making a request to a proxy, […]\n    // a client MUST send the target URI in absolute-form […].\n    this._options.path;\n\n  // End a redirected request\n  // (The first request must be ended explicitly with RedirectableRequest#end)\n  if (this._isRedirect) {\n    // Write the request entity and end\n    var i = 0;\n    var self = this;\n    var buffers = this._requestBodyBuffers;\n    (function writeNext(error) {\n      // Only write if this request has not been redirected yet\n      /* istanbul ignore else */\n      if (request === self._currentRequest) {\n        // Report any write errors\n        /* istanbul ignore if */\n        if (error) {\n          self.emit(\"error\", error);\n        }\n        // Write the next buffer if there are still left\n        else if (i < buffers.length) {\n          var buffer = buffers[i++];\n          /* istanbul ignore else */\n          if (!request.finished) {\n            request.write(buffer.data, buffer.encoding, writeNext);\n          }\n        }\n        // End the request if `end` has been called on us\n        else if (self._ended) {\n          request.end();\n        }\n      }\n    }());\n  }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n  // Store the redirected response\n  var statusCode = response.statusCode;\n  if (this._options.trackRedirects) {\n    this._redirects.push({\n      url: this._currentUrl,\n      headers: response.headers,\n      statusCode: statusCode,\n    });\n  }\n\n  // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n  // that further action needs to be taken by the user agent in order to\n  // fulfill the request. If a Location header field is provided,\n  // the user agent MAY automatically redirect its request to the URI\n  // referenced by the Location field value,\n  // even if the specific status code is not understood.\n\n  // If the response is not a redirect; return it as-is\n  var location = response.headers.location;\n  if (!location || this._options.followRedirects === false ||\n      statusCode < 300 || statusCode >= 400) {\n    response.responseUrl = this._currentUrl;\n    response.redirects = this._redirects;\n    this.emit(\"response\", response);\n\n    // Clean up\n    this._requestBodyBuffers = [];\n    return;\n  }\n\n  // The response is a redirect, so abort the current request\n  abortRequest(this._currentRequest);\n  // Discard the remainder of the response to avoid waiting for data\n  response.destroy();\n\n  // RFC7231§6.4: A client SHOULD detect and intervene\n  // in cyclical redirections (i.e., \"infinite\" redirection loops).\n  if (++this._redirectCount > this._options.maxRedirects) {\n    this.emit(\"error\", new TooManyRedirectsError());\n    return;\n  }\n\n  // Store the request headers if applicable\n  var requestHeaders;\n  var beforeRedirect = this._options.beforeRedirect;\n  if (beforeRedirect) {\n    requestHeaders = Object.assign({\n      // The Host header was set by nativeProtocol.request\n      Host: response.req.getHeader(\"host\"),\n    }, this._options.headers);\n  }\n\n  // RFC7231§6.4: Automatic redirection needs to done with\n  // care for methods not known to be safe, […]\n  // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n  // the request method from POST to GET for the subsequent request.\n  var method = this._options.method;\n  if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n      // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n      // the server is redirecting the user agent to a different resource […]\n      // A user agent can perform a retrieval request targeting that URI\n      // (a GET or HEAD request if using HTTP) […]\n      (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n    this._options.method = \"GET\";\n    // Drop a possible entity and headers related to it\n    this._requestBodyBuffers = [];\n    removeMatchingHeaders(/^content-/i, this._options.headers);\n  }\n\n  // Drop the Host header, as the redirect might lead to a different host\n  var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n  // If the redirect is relative, carry over the host of the last request\n  var currentUrlParts = url.parse(this._currentUrl);\n  var currentHost = currentHostHeader || currentUrlParts.host;\n  var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n    url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n  // Determine the URL of the redirection\n  var redirectUrl;\n  try {\n    redirectUrl = url.resolve(currentUrl, location);\n  }\n  catch (cause) {\n    this.emit(\"error\", new RedirectionError({ cause: cause }));\n    return;\n  }\n\n  // Create the redirected request\n  debug(\"redirecting to\", redirectUrl);\n  this._isRedirect = true;\n  var redirectUrlParts = url.parse(redirectUrl);\n  Object.assign(this._options, redirectUrlParts);\n\n  // Drop confidential headers when redirecting to a less secure protocol\n  // or to a different domain that is not a superdomain\n  if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n     redirectUrlParts.protocol !== \"https:\" ||\n     redirectUrlParts.host !== currentHost &&\n     !isSubdomain(redirectUrlParts.host, currentHost)) {\n    removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n  }\n\n  // Evaluate the beforeRedirect callback\n  if (isFunction(beforeRedirect)) {\n    var responseDetails = {\n      headers: response.headers,\n      statusCode: statusCode,\n    };\n    var requestDetails = {\n      url: currentUrl,\n      method: method,\n      headers: requestHeaders,\n    };\n    try {\n      beforeRedirect(this._options, responseDetails, requestDetails);\n    }\n    catch (err) {\n      this.emit(\"error\", err);\n      return;\n    }\n    this._sanitizeOptions(this._options);\n  }\n\n  // Perform the redirected request\n  try {\n    this._performRequest();\n  }\n  catch (cause) {\n    this.emit(\"error\", new RedirectionError({ cause: cause }));\n  }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n  // Default settings\n  var exports = {\n    maxRedirects: 21,\n    maxBodyLength: 10 * 1024 * 1024,\n  };\n\n  // Wrap each protocol\n  var nativeProtocols = {};\n  Object.keys(protocols).forEach(function (scheme) {\n    var protocol = scheme + \":\";\n    var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n    var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n    // Executes a request, following redirects\n    function request(input, options, callback) {\n      // Parse parameters\n      if (isString(input)) {\n        var parsed;\n        try {\n          parsed = urlToOptions(new URL(input));\n        }\n        catch (err) {\n          /* istanbul ignore next */\n          parsed = url.parse(input);\n        }\n        if (!isString(parsed.protocol)) {\n          throw new InvalidUrlError({ input });\n        }\n        input = parsed;\n      }\n      else if (URL && (input instanceof URL)) {\n        input = urlToOptions(input);\n      }\n      else {\n        callback = options;\n        options = input;\n        input = { protocol: protocol };\n      }\n      if (isFunction(options)) {\n        callback = options;\n        options = null;\n      }\n\n      // Set defaults\n      options = Object.assign({\n        maxRedirects: exports.maxRedirects,\n        maxBodyLength: exports.maxBodyLength,\n      }, input, options);\n      options.nativeProtocols = nativeProtocols;\n      if (!isString(options.host) && !isString(options.hostname)) {\n        options.hostname = \"::1\";\n      }\n\n      assert.equal(options.protocol, protocol, \"protocol mismatch\");\n      debug(\"options\", options);\n      return new RedirectableRequest(options, callback);\n    }\n\n    // Executes a GET request, following redirects\n    function get(input, options, callback) {\n      var wrappedRequest = wrappedProtocol.request(input, options, callback);\n      wrappedRequest.end();\n      return wrappedRequest;\n    }\n\n    // Expose the properties on the wrapped protocol\n    Object.defineProperties(wrappedProtocol, {\n      request: { value: request, configurable: true, enumerable: true, writable: true },\n      get: { value: get, configurable: true, enumerable: true, writable: true },\n    });\n  });\n  return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n  var options = {\n    protocol: urlObject.protocol,\n    hostname: urlObject.hostname.startsWith(\"[\") ?\n      /* istanbul ignore next */\n      urlObject.hostname.slice(1, -1) :\n      urlObject.hostname,\n    hash: urlObject.hash,\n    search: urlObject.search,\n    pathname: urlObject.pathname,\n    path: urlObject.pathname + urlObject.search,\n    href: urlObject.href,\n  };\n  if (urlObject.port !== \"\") {\n    options.port = Number(urlObject.port);\n  }\n  return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n  var lastValue;\n  for (var header in headers) {\n    if (regex.test(header)) {\n      lastValue = headers[header];\n      delete headers[header];\n    }\n  }\n  return (lastValue === null || typeof lastValue === \"undefined\") ?\n    undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n  // Create constructor\n  function CustomError(properties) {\n    Error.captureStackTrace(this, this.constructor);\n    Object.assign(this, properties || {});\n    this.code = code;\n    this.message = this.cause ? message + \": \" + this.cause.message : message;\n  }\n\n  // Attach constructor and set default properties\n  CustomError.prototype = new (baseClass || Error)();\n  CustomError.prototype.constructor = CustomError;\n  CustomError.prototype.name = \"Error [\" + code + \"]\";\n  return CustomError;\n}\n\nfunction abortRequest(request) {\n  for (var event of events) {\n    request.removeListener(event, eventHandlers[event]);\n  }\n  request.on(\"error\", noop);\n  request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n  assert(isString(subdomain) && isString(domain));\n  var dot = subdomain.length - domain.length - 1;\n  return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n  return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n  return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n  return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","isModule":false,"requires":["url","http","https","stream","assert","./debug"]},"/node_modules/follow-redirects/debug.js":{"content":"var debug;\n\nmodule.exports = function () {\n  if (!debug) {\n    try {\n      /* eslint global-require: off */\n      debug = require(\"debug\")(\"follow-redirects\");\n    }\n    catch (error) { /* */ }\n    if (typeof debug !== \"function\") {\n      debug = function () { /* */ };\n    }\n  }\n  debug.apply(null, arguments);\n};\n","isModule":false,"requires":["debug"]},"/node_modules/axios/lib/env/data.js":{"content":"module.exports = {\n  \"version\": \"0.24.0\"\n};","isModule":false,"requires":[]},"/node_modules/axios/lib/cancel/isCancel.js":{"content":"'use strict';\n\nmodule.exports = function isCancel(value) {\n  return !!(value && value.__CANCEL__);\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/core/mergeConfig.js":{"content":"'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n  // eslint-disable-next-line no-param-reassign\n  config2 = config2 || {};\n  var config = {};\n\n  function getMergedValue(target, source) {\n    if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n      return utils.merge(target, source);\n    } else if (utils.isPlainObject(source)) {\n      return utils.merge({}, source);\n    } else if (utils.isArray(source)) {\n      return source.slice();\n    }\n    return source;\n  }\n\n  // eslint-disable-next-line consistent-return\n  function mergeDeepProperties(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      return getMergedValue(config1[prop], config2[prop]);\n    } else if (!utils.isUndefined(config1[prop])) {\n      return getMergedValue(undefined, config1[prop]);\n    }\n  }\n\n  // eslint-disable-next-line consistent-return\n  function valueFromConfig2(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      return getMergedValue(undefined, config2[prop]);\n    }\n  }\n\n  // eslint-disable-next-line consistent-return\n  function defaultToConfig2(prop) {\n    if (!utils.isUndefined(config2[prop])) {\n      return getMergedValue(undefined, config2[prop]);\n    } else if (!utils.isUndefined(config1[prop])) {\n      return getMergedValue(undefined, config1[prop]);\n    }\n  }\n\n  // eslint-disable-next-line consistent-return\n  function mergeDirectKeys(prop) {\n    if (prop in config2) {\n      return getMergedValue(config1[prop], config2[prop]);\n    } else if (prop in config1) {\n      return getMergedValue(undefined, config1[prop]);\n    }\n  }\n\n  var mergeMap = {\n    'url': valueFromConfig2,\n    'method': valueFromConfig2,\n    'data': valueFromConfig2,\n    'baseURL': defaultToConfig2,\n    'transformRequest': defaultToConfig2,\n    'transformResponse': defaultToConfig2,\n    'paramsSerializer': defaultToConfig2,\n    'timeout': defaultToConfig2,\n    'timeoutMessage': defaultToConfig2,\n    'withCredentials': defaultToConfig2,\n    'adapter': defaultToConfig2,\n    'responseType': defaultToConfig2,\n    'xsrfCookieName': defaultToConfig2,\n    'xsrfHeaderName': defaultToConfig2,\n    'onUploadProgress': defaultToConfig2,\n    'onDownloadProgress': defaultToConfig2,\n    'decompress': defaultToConfig2,\n    'maxContentLength': defaultToConfig2,\n    'maxBodyLength': defaultToConfig2,\n    'transport': defaultToConfig2,\n    'httpAgent': defaultToConfig2,\n    'httpsAgent': defaultToConfig2,\n    'cancelToken': defaultToConfig2,\n    'socketPath': defaultToConfig2,\n    'responseEncoding': defaultToConfig2,\n    'validateStatus': mergeDirectKeys\n  };\n\n  utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n    var merge = mergeMap[prop] || mergeDeepProperties;\n    var configValue = merge(prop);\n    (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n  });\n\n  return config;\n};\n","isModule":false,"requires":["../utils"]},"/node_modules/axios/lib/helpers/validator.js":{"content":"'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n  validators[type] = function validator(thing) {\n    return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n  };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n  function formatMessage(opt, desc) {\n    return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n  }\n\n  // eslint-disable-next-line func-names\n  return function(value, opt, opts) {\n    if (validator === false) {\n      throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n    }\n\n    if (version && !deprecatedWarnings[opt]) {\n      deprecatedWarnings[opt] = true;\n      // eslint-disable-next-line no-console\n      console.warn(\n        formatMessage(\n          opt,\n          ' has been deprecated since v' + version + ' and will be removed in the near future'\n        )\n      );\n    }\n\n    return validator ? validator(value, opt, opts) : true;\n  };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n  if (typeof options !== 'object') {\n    throw new TypeError('options must be an object');\n  }\n  var keys = Object.keys(options);\n  var i = keys.length;\n  while (i-- > 0) {\n    var opt = keys[i];\n    var validator = schema[opt];\n    if (validator) {\n      var value = options[opt];\n      var result = value === undefined || validator(value, opt, options);\n      if (result !== true) {\n        throw new TypeError('option ' + opt + ' must be ' + result);\n      }\n      continue;\n    }\n    if (allowUnknown !== true) {\n      throw Error('Unknown option ' + opt);\n    }\n  }\n}\n\nmodule.exports = {\n  assertOptions: assertOptions,\n  validators: validators\n};\n","isModule":false,"requires":["../env/data"]},"/node_modules/axios/lib/cancel/CancelToken.js":{"content":"'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n  if (typeof executor !== 'function') {\n    throw new TypeError('executor must be a function.');\n  }\n\n  var resolvePromise;\n\n  this.promise = new Promise(function promiseExecutor(resolve) {\n    resolvePromise = resolve;\n  });\n\n  var token = this;\n\n  // eslint-disable-next-line func-names\n  this.promise.then(function(cancel) {\n    if (!token._listeners) return;\n\n    var i;\n    var l = token._listeners.length;\n\n    for (i = 0; i < l; i++) {\n      token._listeners[i](cancel);\n    }\n    token._listeners = null;\n  });\n\n  // eslint-disable-next-line func-names\n  this.promise.then = function(onfulfilled) {\n    var _resolve;\n    // eslint-disable-next-line func-names\n    var promise = new Promise(function(resolve) {\n      token.subscribe(resolve);\n      _resolve = resolve;\n    }).then(onfulfilled);\n\n    promise.cancel = function reject() {\n      token.unsubscribe(_resolve);\n    };\n\n    return promise;\n  };\n\n  executor(function cancel(message) {\n    if (token.reason) {\n      // Cancellation has already been requested\n      return;\n    }\n\n    token.reason = new Cancel(message);\n    resolvePromise(token.reason);\n  });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n  if (this.reason) {\n    throw this.reason;\n  }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n  if (this.reason) {\n    listener(this.reason);\n    return;\n  }\n\n  if (this._listeners) {\n    this._listeners.push(listener);\n  } else {\n    this._listeners = [listener];\n  }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n  if (!this._listeners) {\n    return;\n  }\n  var index = this._listeners.indexOf(listener);\n  if (index !== -1) {\n    this._listeners.splice(index, 1);\n  }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n  var cancel;\n  var token = new CancelToken(function executor(c) {\n    cancel = c;\n  });\n  return {\n    token: token,\n    cancel: cancel\n  };\n};\n\nmodule.exports = CancelToken;\n","isModule":false,"requires":["./Cancel"]},"/node_modules/axios/lib/helpers/spread.js":{"content":"'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n *  ```js\n *  function f(x, y, z) {}\n *  var args = [1, 2, 3];\n *  f.apply(null, args);\n *  ```\n *\n * With `spread` this example can be re-written.\n *\n *  ```js\n *  spread(function(x, y, z) {})([1, 2, 3]);\n *  ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n  return function wrap(arr) {\n    return callback.apply(null, arr);\n  };\n};\n","isModule":false,"requires":[]},"/node_modules/axios/lib/helpers/isAxiosError.js":{"content":"'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n  return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","isModule":false,"requires":[]},"/node_modules/cookies-next/lib/index.js":{"content":"\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n    var t = {};\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n        t[p] = s[p];\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n                t[p[i]] = s[p[i]];\n        }\n    return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkCookies = exports.hasCookie = exports.removeCookies = exports.deleteCookie = exports.setCookies = exports.setCookie = exports.getCookie = exports.getCookies = void 0;\nvar cookie_1 = require(\"cookie\");\nvar isClientSide = function () { return typeof window !== 'undefined'; };\nvar processValue = function (value) {\n    if (value === 'true')\n        return true;\n    if (value === 'false')\n        return false;\n    if (value === 'undefined')\n        return undefined;\n    if (value === 'null')\n        return null;\n    return value;\n};\nvar stringify = function (value) {\n    if (value === void 0) { value = ''; }\n    try {\n        var result = JSON.stringify(value);\n        return (/^[\\{\\[]/.test(result)) ? result : value;\n    }\n    catch (e) {\n        return value;\n    }\n};\nvar decode = function (str) {\n    if (!str)\n        return str;\n    return str.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n};\nvar getCookies = function (options) {\n    var req;\n    if (options)\n        req = options.req;\n    if (!isClientSide()) {\n        // if cookie-parser is used in project get cookies from ctx.req.cookies\n        // if cookie-parser isn't used in project get cookies from ctx.req.headers.cookie\n        if (req && req.cookies)\n            return req.cookies;\n        if (req && req.headers && req.headers.cookie)\n            return (0, cookie_1.parse)(req.headers.cookie);\n        return {};\n    }\n    var _cookies = {};\n    var documentCookies = document.cookie ? document.cookie.split('; ') : [];\n    for (var i = 0, len = documentCookies.length; i < len; i++) {\n        var cookieParts = documentCookies[i].split('=');\n        var _cookie = cookieParts.slice(1).join('=');\n        var name_1 = cookieParts[0];\n        _cookies[name_1] = _cookie;\n    }\n    return _cookies;\n};\nexports.getCookies = getCookies;\nvar getCookie = function (key, options) {\n    var _cookies = (0, exports.getCookies)(options);\n    var value = _cookies[key];\n    if (value === undefined)\n        return undefined;\n    return processValue(decode(value));\n};\nexports.getCookie = getCookie;\nvar setCookie = function (key, data, options) {\n    var _cookieOptions;\n    var _req;\n    var _res;\n    if (options) {\n        var req = options.req, res = options.res, _options = __rest(options, [\"req\", \"res\"]);\n        _req = req;\n        _res = res;\n        _cookieOptions = _options;\n    }\n    var cookieStr = (0, cookie_1.serialize)(key, stringify(data), __assign({ path: '/' }, _cookieOptions));\n    if (!isClientSide()) {\n        if (_res && _req) {\n            var currentCookies = _res.getHeader('Set-Cookie');\n            if (!Array.isArray(currentCookies)) {\n                currentCookies = !currentCookies ? [] : [String(currentCookies)];\n            }\n            _res.setHeader('Set-Cookie', currentCookies.concat(cookieStr));\n            if (_req && _req.cookies) {\n                var _cookies = _req.cookies;\n                data === '' ? delete _cookies[key] : _cookies[key] = stringify(data);\n            }\n            if (_req && _req.headers && _req.headers.cookie) {\n                var _cookies = (0, cookie_1.parse)(_req.headers.cookie);\n                data === '' ? delete _cookies[key] : _cookies[key] = stringify(data);\n                _req.headers.cookie = Object.entries(_cookies).reduce(function (accum, item) {\n                    return accum.concat(\"\".concat(item[0], \"=\").concat(item[1], \";\"));\n                }, '');\n            }\n        }\n    }\n    else {\n        document.cookie = cookieStr;\n    }\n};\nexports.setCookie = setCookie;\nvar setCookies = function (key, data, options) {\n    console.warn('[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead.');\n    return (0, exports.setCookie)(key, data, options);\n};\nexports.setCookies = setCookies;\nvar deleteCookie = function (key, options) {\n    return (0, exports.setCookie)(key, '', __assign(__assign({}, options), { maxAge: -1 }));\n};\nexports.deleteCookie = deleteCookie;\nvar removeCookies = function (key, options) {\n    console.warn('[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead.');\n    return (0, exports.deleteCookie)(key, options);\n};\nexports.removeCookies = removeCookies;\nvar hasCookie = function (key, options) {\n    if (!key)\n        return false;\n    var cookie = (0, exports.getCookies)(options);\n    return cookie.hasOwnProperty(key);\n};\nexports.hasCookie = hasCookie;\nvar checkCookies = function (key, options) {\n    console.warn('[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead.');\n    return (0, exports.hasCookie)(key, options);\n};\nexports.checkCookies = checkCookies;\n","isModule":false,"requires":["cookie"]},"/node_modules/cookie/index.js":{"content":"/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar   = VCHAR / obs-text\n * obs-text      = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n  if (typeof str !== 'string') {\n    throw new TypeError('argument str must be a string');\n  }\n\n  var obj = {}\n  var opt = options || {};\n  var pairs = str.split(';')\n  var dec = opt.decode || decode;\n\n  for (var i = 0; i < pairs.length; i++) {\n    var pair = pairs[i];\n    var index = pair.indexOf('=')\n\n    // skip things that don't look like key=value\n    if (index < 0) {\n      continue;\n    }\n\n    var key = pair.substring(0, index).trim()\n\n    // only assign once\n    if (undefined == obj[key]) {\n      var val = pair.substring(index + 1, pair.length).trim()\n\n      // quoted values\n      if (val[0] === '\"') {\n        val = val.slice(1, -1)\n      }\n\n      obj[key] = tryDecode(val, dec);\n    }\n  }\n\n  return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n *   => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n  var opt = options || {};\n  var enc = opt.encode || encode;\n\n  if (typeof enc !== 'function') {\n    throw new TypeError('option encode is invalid');\n  }\n\n  if (!fieldContentRegExp.test(name)) {\n    throw new TypeError('argument name is invalid');\n  }\n\n  var value = enc(val);\n\n  if (value && !fieldContentRegExp.test(value)) {\n    throw new TypeError('argument val is invalid');\n  }\n\n  var str = name + '=' + value;\n\n  if (null != opt.maxAge) {\n    var maxAge = opt.maxAge - 0;\n\n    if (isNaN(maxAge) || !isFinite(maxAge)) {\n      throw new TypeError('option maxAge is invalid')\n    }\n\n    str += '; Max-Age=' + Math.floor(maxAge);\n  }\n\n  if (opt.domain) {\n    if (!fieldContentRegExp.test(opt.domain)) {\n      throw new TypeError('option domain is invalid');\n    }\n\n    str += '; Domain=' + opt.domain;\n  }\n\n  if (opt.path) {\n    if (!fieldContentRegExp.test(opt.path)) {\n      throw new TypeError('option path is invalid');\n    }\n\n    str += '; Path=' + opt.path;\n  }\n\n  if (opt.expires) {\n    if (typeof opt.expires.toUTCString !== 'function') {\n      throw new TypeError('option expires is invalid');\n    }\n\n    str += '; Expires=' + opt.expires.toUTCString();\n  }\n\n  if (opt.httpOnly) {\n    str += '; HttpOnly';\n  }\n\n  if (opt.secure) {\n    str += '; Secure';\n  }\n\n  if (opt.sameSite) {\n    var sameSite = typeof opt.sameSite === 'string'\n      ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n    switch (sameSite) {\n      case true:\n        str += '; SameSite=Strict';\n        break;\n      case 'lax':\n        str += '; SameSite=Lax';\n        break;\n      case 'strict':\n        str += '; SameSite=Strict';\n        break;\n      case 'none':\n        str += '; SameSite=None';\n        break;\n      default:\n        throw new TypeError('option sameSite is invalid');\n    }\n  }\n\n  return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n  try {\n    return decode(str);\n  } catch (e) {\n    return str;\n  }\n}\n","isModule":false,"requires":[]},"/node_modules/@arkejs/client/package.json":{"content":"{\"name\":\"@arkejs/client\",\"version\":\"1.1.1\",\"main\":\"dist/index.js\",\"module\":\"esm/index.js\",\"types\":\"dist/index.d.ts\",\"sideEffects\":false,\"scripts\":{\"build\":\"rm -rf dist esm; rollup -c\",\"watch\":\"rm -rf dist esm; rollup -c -w\",\"typecheck\":\"tsc --noEmit\"},\"license\":\"Apache-2.0\",\"dependencies\":{\"axios\":\"^0.24.0\",\"cookies-next\":\"^2.0.4\"},\"gitHead\":\"d3def64cd7bd721b47d08de967d36e5945d0bf9e\"}"},"/node_modules/@types/cookie/package.json":{"content":"{\"name\":\"@types/cookie\",\"version\":\"0.4.1\",\"description\":\"TypeScript definitions for cookie\",\"homepage\":\"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookie\",\"license\":\"MIT\",\"contributors\":[{\"name\":\"Pine Mizune\",\"url\":\"https://github.com/pine\",\"githubUsername\":\"pine\"},{\"name\":\"Piotr Błażejewicz\",\"url\":\"https://github.com/peterblazejewicz\",\"githubUsername\":\"peterblazejewicz\"}],\"main\":\"\",\"types\":\"index.d.ts\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/DefinitelyTyped/DefinitelyTyped.git\",\"directory\":\"types/cookie\"},\"scripts\":{},\"dependencies\":{},\"typesPublisherContentHash\":\"7d4a6dd505c896319459ae131b5fa8fc0a2ed25552db53dac87946119bb21559\",\"typeScriptVersion\":\"3.6\"}"},"/node_modules/@types/node/package.json":{"content":"{\"name\":\"@types/node\",\"version\":\"16.18.3\",\"description\":\"TypeScript definitions for Node.js\",\"homepage\":\"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node\",\"license\":\"MIT\",\"contributors\":[{\"name\":\"Microsoft TypeScript\",\"url\":\"https://github.com/Microsoft\",\"githubUsername\":\"Microsoft\"},{\"name\":\"DefinitelyTyped\",\"url\":\"https://github.com/DefinitelyTyped\",\"githubUsername\":\"DefinitelyTyped\"},{\"name\":\"Alberto Schiabel\",\"url\":\"https://github.com/jkomyno\",\"githubUsername\":\"jkomyno\"},{\"name\":\"Alvis HT Tang\",\"url\":\"https://github.com/alvis\",\"githubUsername\":\"alvis\"},{\"name\":\"Andrew Makarov\",\"url\":\"https://github.com/r3nya\",\"githubUsername\":\"r3nya\"},{\"name\":\"Benjamin Toueg\",\"url\":\"https://github.com/btoueg\",\"githubUsername\":\"btoueg\"},{\"name\":\"Chigozirim C.\",\"url\":\"https://github.com/smac89\",\"githubUsername\":\"smac89\"},{\"name\":\"David Junger\",\"url\":\"https://github.com/touffy\",\"githubUsername\":\"touffy\"},{\"name\":\"Deividas Bakanas\",\"url\":\"https://github.com/DeividasBakanas\",\"githubUsername\":\"DeividasBakanas\"},{\"name\":\"Eugene Y. Q. Shen\",\"url\":\"https://github.com/eyqs\",\"githubUsername\":\"eyqs\"},{\"name\":\"Hannes Magnusson\",\"url\":\"https://github.com/Hannes-Magnusson-CK\",\"githubUsername\":\"Hannes-Magnusson-CK\"},{\"name\":\"Huw\",\"url\":\"https://github.com/hoo29\",\"githubUsername\":\"hoo29\"},{\"name\":\"Kelvin Jin\",\"url\":\"https://github.com/kjin\",\"githubUsername\":\"kjin\"},{\"name\":\"Klaus Meinhardt\",\"url\":\"https://github.com/ajafff\",\"githubUsername\":\"ajafff\"},{\"name\":\"Lishude\",\"url\":\"https://github.com/islishude\",\"githubUsername\":\"islishude\"},{\"name\":\"Mariusz Wiktorczyk\",\"url\":\"https://github.com/mwiktorczyk\",\"githubUsername\":\"mwiktorczyk\"},{\"name\":\"Mohsen Azimi\",\"url\":\"https://github.com/mohsen1\",\"githubUsername\":\"mohsen1\"},{\"name\":\"Nicolas Even\",\"url\":\"https://github.com/n-e\",\"githubUsername\":\"n-e\"},{\"name\":\"Nikita Galkin\",\"url\":\"https://github.com/galkin\",\"githubUsername\":\"galkin\"},{\"name\":\"Parambir Singh\",\"url\":\"https://github.com/parambirs\",\"githubUsername\":\"parambirs\"},{\"name\":\"Sebastian Silbermann\",\"url\":\"https://github.com/eps1lon\",\"githubUsername\":\"eps1lon\"},{\"name\":\"Seth Westphal\",\"url\":\"https://github.com/westy92\",\"githubUsername\":\"westy92\"},{\"name\":\"Simon Schick\",\"url\":\"https://github.com/SimonSchick\",\"githubUsername\":\"SimonSchick\"},{\"name\":\"Thomas den Hollander\",\"url\":\"https://github.com/ThomasdenH\",\"githubUsername\":\"ThomasdenH\"},{\"name\":\"Wilco Bakker\",\"url\":\"https://github.com/WilcoBakker\",\"githubUsername\":\"WilcoBakker\"},{\"name\":\"wwwy3y3\",\"url\":\"https://github.com/wwwy3y3\",\"githubUsername\":\"wwwy3y3\"},{\"name\":\"Samuel Ainsworth\",\"url\":\"https://github.com/samuela\",\"githubUsername\":\"samuela\"},{\"name\":\"Kyle Uehlein\",\"url\":\"https://github.com/kuehlein\",\"githubUsername\":\"kuehlein\"},{\"name\":\"Thanik Bhongbhibhat\",\"url\":\"https://github.com/bhongy\",\"githubUsername\":\"bhongy\"},{\"name\":\"Marcin Kopacz\",\"url\":\"https://github.com/chyzwar\",\"githubUsername\":\"chyzwar\"},{\"name\":\"Trivikram Kamat\",\"url\":\"https://github.com/trivikr\",\"githubUsername\":\"trivikr\"},{\"name\":\"Junxiao Shi\",\"url\":\"https://github.com/yoursunny\",\"githubUsername\":\"yoursunny\"},{\"name\":\"Ilia Baryshnikov\",\"url\":\"https://github.com/qwelias\",\"githubUsername\":\"qwelias\"},{\"name\":\"ExE Boss\",\"url\":\"https://github.com/ExE-Boss\",\"githubUsername\":\"ExE-Boss\"},{\"name\":\"Piotr Błażejewicz\",\"url\":\"https://github.com/peterblazejewicz\",\"githubUsername\":\"peterblazejewicz\"},{\"name\":\"Anna Henningsen\",\"url\":\"https://github.com/addaleax\",\"githubUsername\":\"addaleax\"},{\"name\":\"Victor Perin\",\"url\":\"https://github.com/victorperin\",\"githubUsername\":\"victorperin\"},{\"name\":\"Yongsheng Zhang\",\"url\":\"https://github.com/ZYSzys\",\"githubUsername\":\"ZYSzys\"},{\"name\":\"NodeJS Contributors\",\"url\":\"https://github.com/NodeJS\",\"githubUsername\":\"NodeJS\"},{\"name\":\"Linus Unnebäck\",\"url\":\"https://github.com/LinusU\",\"githubUsername\":\"LinusU\"},{\"name\":\"wafuwafu13\",\"url\":\"https://github.com/wafuwafu13\",\"githubUsername\":\"wafuwafu13\"}],\"main\":\"\",\"types\":\"index.d.ts\",\"typesVersions\":{\"<4.9.0-0\":{\"*\":[\"ts4.8/*\"]}},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/DefinitelyTyped/DefinitelyTyped.git\",\"directory\":\"types/node\"},\"scripts\":{},\"dependencies\":{},\"typesPublisherContentHash\":\"6cbab5c86cc0eb791a7d4395d3141d9860024277b8ab6c7b6c2368e7db579db7\",\"typeScriptVersion\":\"4.1\"}"},"/node_modules/axios/package.json":{"content":"{\"name\":\"axios\",\"version\":\"0.24.0\",\"description\":\"Promise based HTTP client for the browser and node.js\",\"main\":\"index.js\",\"types\":\"index.d.ts\",\"scripts\":{\"test\":\"grunt test && dtslint\",\"start\":\"node ./sandbox/server.js\",\"build\":\"NODE_ENV=production grunt build\",\"preversion\":\"grunt version && npm test\",\"version\":\"npm run build && git add -A dist && git add CHANGELOG.md bower.json package.json\",\"postversion\":\"git push && git push --tags\",\"examples\":\"node ./examples/server.js\",\"coveralls\":\"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js\",\"fix\":\"eslint --fix lib/**/*.js\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/axios/axios.git\"},\"keywords\":[\"xhr\",\"http\",\"ajax\",\"promise\",\"node\"],\"author\":\"Matt Zabriskie\",\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/axios/axios/issues\"},\"homepage\":\"https://axios-http.com\",\"devDependencies\":{\"abortcontroller-polyfill\":\"^1.5.0\",\"coveralls\":\"^3.0.0\",\"dtslint\":\"^4.1.6\",\"es6-promise\":\"^4.2.4\",\"grunt\":\"^1.3.0\",\"grunt-banner\":\"^0.6.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-clean\":\"^1.1.0\",\"grunt-contrib-watch\":\"^1.0.0\",\"grunt-eslint\":\"^23.0.0\",\"grunt-karma\":\"^4.0.0\",\"grunt-mocha-test\":\"^0.13.3\",\"grunt-webpack\":\"^4.0.2\",\"istanbul-instrumenter-loader\":\"^1.0.0\",\"jasmine-core\":\"^2.4.1\",\"karma\":\"^6.3.2\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-firefox-launcher\":\"^2.1.0\",\"karma-jasmine\":\"^1.1.1\",\"karma-jasmine-ajax\":\"^0.1.13\",\"karma-safari-launcher\":\"^1.0.0\",\"karma-sauce-launcher\":\"^4.3.6\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"load-grunt-tasks\":\"^3.5.2\",\"minimist\":\"^1.2.0\",\"mocha\":\"^8.2.1\",\"sinon\":\"^4.5.0\",\"terser-webpack-plugin\":\"^4.2.3\",\"typescript\":\"^4.0.5\",\"url-search-params\":\"^0.10.0\",\"webpack\":\"^4.44.2\",\"webpack-dev-server\":\"^3.11.0\"},\"browser\":{\"./lib/adapters/http.js\":\"./lib/adapters/xhr.js\"},\"jsdelivr\":\"dist/axios.min.js\",\"unpkg\":\"dist/axios.min.js\",\"typings\":\"./index.d.ts\",\"dependencies\":{\"follow-redirects\":\"^1.14.4\"},\"bundlesize\":[{\"path\":\"./dist/axios.min.js\",\"threshold\":\"5kB\"}]}"},"/node_modules/cookie/package.json":{"content":"{\"name\":\"cookie\",\"description\":\"HTTP server cookie parsing and serialization\",\"version\":\"0.4.2\",\"author\":\"Roman Shtylman <shtylman@gmail.com>\",\"contributors\":[\"Douglas Christopher Wilson <doug@somethingdoug.com>\"],\"license\":\"MIT\",\"keywords\":[\"cookie\",\"cookies\"],\"repository\":\"jshttp/cookie\",\"devDependencies\":{\"beautify-benchmark\":\"0.2.4\",\"benchmark\":\"2.1.4\",\"eslint\":\"7.32.0\",\"eslint-plugin-markdown\":\"2.2.1\",\"mocha\":\"9.2.0\",\"nyc\":\"15.1.0\",\"top-sites\":\"1.1.85\"},\"files\":[\"HISTORY.md\",\"LICENSE\",\"README.md\",\"index.js\"],\"engines\":{\"node\":\">= 0.6\"},\"scripts\":{\"bench\":\"node benchmark/index.js\",\"lint\":\"eslint .\",\"test\":\"mocha --reporter spec --bail --check-leaks --ui qunit test/\",\"test-ci\":\"nyc --reporter=lcov --reporter=text npm test\",\"test-cov\":\"nyc --reporter=html --reporter=text npm test\",\"update-bench\":\"node scripts/update-benchmark.js\",\"version\":\"node scripts/version-history.js && git add HISTORY.md\"}}"},"/node_modules/cookies-next/package.json":{"content":"{\"name\":\"cookies-next\",\"version\":\"2.1.1\",\"description\":\"Getting, setting and removing cookies on both client and server with next.js\",\"main\":\"lib/index.js\",\"type\":\"lib/index.d.ts\",\"scripts\":{\"build\":\"tsc\"},\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/andreizanik/cookies-next.git\"},\"keywords\":[\"js\",\"cookies\",\"cookie\",\"next\",\"next.js\",\"nextjs\",\"destory\",\"parse\",\"create\",\"ssr\",\"auth\"],\"author\":{\"name\":\"Andrei Zanouski\",\"email\":\"andreizanik@gmail.com\"},\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/andreizanik/cookies-next/issues\"},\"homepage\":\"https://github.com/andreizanik/cookies-next#readme\",\"dependencies\":{\"cookie\":\"^0.4.0\",\"@types/cookie\":\"^0.4.1\",\"@types/node\":\"^16.10.2\"},\"devDependencies\":{\"typescript\":\"^4.4.3\"}}"},"/node_modules/follow-redirects/package.json":{"content":"{\"name\":\"follow-redirects\",\"version\":\"1.15.2\",\"description\":\"HTTP and HTTPS modules that follow redirects.\",\"license\":\"MIT\",\"main\":\"index.js\",\"files\":[\"*.js\"],\"engines\":{\"node\":\">=4.0\"},\"scripts\":{\"test\":\"npm run lint && npm run mocha\",\"lint\":\"eslint *.js test\",\"mocha\":\"nyc mocha\"},\"repository\":{\"type\":\"git\",\"url\":\"git@github.com:follow-redirects/follow-redirects.git\"},\"homepage\":\"https://github.com/follow-redirects/follow-redirects\",\"bugs\":{\"url\":\"https://github.com/follow-redirects/follow-redirects/issues\"},\"keywords\":[\"http\",\"https\",\"url\",\"redirect\",\"client\",\"location\",\"utility\"],\"author\":\"Ruben Verborgh <ruben@verborgh.org> (https://ruben.verborgh.org/)\",\"contributors\":[\"Olivier Lalonde <olalonde@gmail.com> (http://www.syskall.com)\",\"James Talmage <james@talmage.io>\"],\"funding\":[{\"type\":\"individual\",\"url\":\"https://github.com/sponsors/RubenVerborgh\"}],\"peerDependenciesMeta\":{\"debug\":{\"optional\":true}},\"devDependencies\":{\"concat-stream\":\"^2.0.0\",\"eslint\":\"^5.16.0\",\"express\":\"^4.16.4\",\"lolex\":\"^3.1.0\",\"mocha\":\"^6.0.2\",\"nyc\":\"^14.1.1\"}}"}},"dependency":{"name":"@arkejs/client","version":"1.1.1"},"peerDependencies":{},"dependencyDependencies":{"axios":{"semver":"^0.24.0","resolved":"0.24.0","parents":["@arkejs/client"],"entries":["axios"]},"follow-redirects":{"semver":"^1.14.4","resolved":"1.15.2","parents":["axios"],"entries":["follow-redirects"]},"cookies-next":{"semver":"^2.0.4","resolved":"2.1.1","parents":["@arkejs/client"],"entries":["cookies-next"]},"cookie":{"semver":"^0.4.0","resolved":"0.4.2","parents":["cookies-next"],"entries":["cookie"]},"@types/cookie":{"semver":"^0.4.1","resolved":"0.4.1","parents":["cookies-next"],"entries":[]},"@types/node":{"semver":"^16.10.2","resolved":"16.18.3","parents":["cookies-next"],"entries":[]}},"dependencyAliases":{}}