@js4cytoscape/ndex-client 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,395 @@
1
+ /*
2
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3
+ * This devtool is neither made for production nor for readable output files.
4
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
5
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6
+ * or disable the default devtool with "devtool: false".
7
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8
+ */
9
+ var ndexClient;
10
+ /******/ (() => { // webpackBootstrap
11
+ /******/ var __webpack_modules__ = ({
12
+
13
+ /***/ "./src/CyNDEx.js":
14
+ /*!***********************!*\
15
+ !*** ./src/CyNDEx.js ***!
16
+ \***********************/
17
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
18
+
19
+ eval("function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nvar CY_REST_BASE_URL = 'http://127.0.0.1';\n\nvar axios = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n\nvar CyNDEx = /*#__PURE__*/function () {\n function CyNDEx() {\n var port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1234;\n\n _classCallCheck(this, CyNDEx);\n\n this._port = port;\n }\n\n _createClass(CyNDEx, [{\n key: \"port\",\n get: function get() {\n return this._port;\n }\n }, {\n key: \"setNDExServer\",\n value: function setNDExServer(ndexServer) {\n if (ndexServer !== undefined && ndexServer != null && ndexServer !== '') {\n this._ndexServer = ndexServer;\n }\n }\n }, {\n key: \"getNDExServer\",\n value: function getNDExServer() {\n return this._ndexServer ? this._ndexServer : 'http://public.ndexbio.org';\n }\n }, {\n key: \"setGoogleAuth\",\n value: function setGoogleAuth(googleAuthObj) {\n if (googleAuthObj !== undefined) {\n this._googleAuth = googleAuthObj;\n this._authType = 'g'; // valid values are 'g','b' or undefined\n }\n }\n }, {\n key: \"setAuthToken\",\n value: function setAuthToken(authToken) {\n if (authToken !== undefined) {\n this._authToken = authToken;\n this._authType = 'g'; // valid values are 'g','b' or undefined\n }\n }\n }, {\n key: \"setBasicAuth\",\n value: function setBasicAuth(username, password) {\n if (username !== undefined && username != null && username !== '') {\n this._username = username;\n this._password = password;\n this._authType = 'b';\n }\n }\n }, {\n key: \"cyRestURL\",\n value: function cyRestURL() {\n return CY_REST_BASE_URL + ':' + this._port;\n }\n }, {\n key: \"_getIdToken\",\n value: function _getIdToken() {\n return this._authToken ? this._authToken : this._googleAuth.getAuthInstance().currentUser.get().getAuthResponse().id_token;\n }\n }, {\n key: \"_getAuthorizationFields\",\n value: function _getAuthorizationFields() {\n switch (this._authType) {\n case 'b':\n return {\n username: this._username,\n password: this._password\n };\n\n case 'g':\n return {\n idToken: this._getIdToken()\n };\n\n default:\n return {};\n }\n }\n }, {\n key: \"_httpGet\",\n value: function _httpGet(url) {\n var baseURL = this.cyRestURL();\n return new Promise(function (resolve, reject) {\n axios({\n method: 'get',\n url: url,\n baseURL: baseURL\n }).then(function (response) {\n if (response.status === 200) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n }, {\n key: \"_httpPut\",\n value: function _httpPut(url, parameters, data) {\n return this._http('put', url, parameters, data);\n }\n }, {\n key: \"_httpPost\",\n value: function _httpPost(url, parameters, data) {\n return this._http('post', url, parameters, data);\n }\n }, {\n key: \"_http\",\n value: function _http(method, url, parameters, data) {\n var baseURL = this.cyRestURL();\n var config = {\n method: method,\n url: url,\n baseURL: baseURL\n };\n\n if (parameters !== undefined) {\n config['params'] = parameters;\n }\n\n config.data = data;\n return new Promise(function (resolve, reject) {\n axios(config).then(function (response) {\n if (response.status >= 200 && response.status <= 299) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n }, {\n key: \"getCyNDExStatus\",\n value: function getCyNDExStatus() {\n return this._httpGet('/cyndex2/v1');\n }\n }, {\n key: \"getCytoscapeNetworkSummary\",\n value: function getCytoscapeNetworkSummary() {\n var suid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'current';\n return this._httpGet('/cyndex2/v1/networks/' + suid);\n }\n }, {\n key: \"postNDExNetworkToCytoscape\",\n value: function postNDExNetworkToCytoscape(uuid, accessKey) {\n var createView = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n var importParams = {\n serverUrl: this.getNDExServer() + '/v2',\n uuid: uuid,\n accessKey: accessKey,\n createView: createView\n };\n\n var authorizationFields = this._getAuthorizationFields();\n\n return this._httpPost('/cyndex2/v1/networks', undefined, Object.assign(importParams, authorizationFields));\n }\n }, {\n key: \"postCXNetworkToCytoscape\",\n value: function postCXNetworkToCytoscape(cx) {\n return this._httpPost('/cyndex2/v1/networks/cx', undefined, cx);\n }\n }, {\n key: \"postCytoscapeNetworkToNDEx\",\n value: function postCytoscapeNetworkToNDEx() {\n var suid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'current';\n var saveParams = {\n serverUrl: this.getNDExServer() + '/v2'\n };\n\n var authorizationFields = this._getAuthorizationFields();\n\n return this._httpPost('/cyndex2/v1/networks/' + suid, undefined, Object.assign(saveParams, authorizationFields));\n }\n }, {\n key: \"putCytoscapeNetworkInNDEx\",\n value: function putCytoscapeNetworkInNDEx() {\n var suid = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'current';\n var uuid = arguments.length > 1 ? arguments[1] : undefined;\n var saveParams = {\n serverUrl: this.getNDExServer() + '/v2',\n uuid: uuid\n };\n\n var authorizationFields = this._getAuthorizationFields();\n\n return this._httpPut('/cyndex2/v1/networks/' + suid, undefined, Object.assign(saveParams, authorizationFields));\n }\n }], [{\n key: \"cyRestBaseURL\",\n get: function get() {\n return CY_REST_BASE_URL;\n }\n }]);\n\n return CyNDEx;\n}();\n\nmodule.exports = {\n CyNDEx: CyNDEx\n};\n\n//# sourceURL=webpack://ndexClient/./src/CyNDEx.js?");
20
+
21
+ /***/ }),
22
+
23
+ /***/ "./src/NDEx.js":
24
+ /*!*********************!*\
25
+ !*** ./src/NDEx.js ***!
26
+ \*********************/
27
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28
+
29
+ eval("function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nvar axios = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n\nvar CX1_HEADER = {\n numberVerification: [{\n \"longNumber\": 283213721732712\n }]\n};\n\nvar NDEx = /*#__PURE__*/function () {\n function NDEx(hostprefix) {\n _classCallCheck(this, NDEx);\n\n if (hostprefix === undefined || hostprefix === null || hostprefix === '') {\n throw new Error('NDEx server endpoint base URL is required in client constructor.');\n } // axios needs http to be at the front of the url.\n // Otherwise any request will be redirected to localhost and fail\n // with an ambiguous reason\n\n\n var httpRegex = new RegExp(\"^(http|https)://\", \"i\");\n\n if (!httpRegex.test(hostprefix)) {\n throw new Error(\"\\\"http://\\\" or \\\"https://\\\" must be prefixed to the input url: \".concat(hostprefix));\n }\n\n this._host = hostprefix;\n this._v3baseURL = this._host.substring(0, this.host.lastIndexOf('v2')) + 'v3';\n }\n\n _createClass(NDEx, [{\n key: \"host\",\n get: function get() {\n return this._host;\n }\n }, {\n key: \"googleAuth\",\n get: function get() {\n return this._googleAuth;\n }\n }, {\n key: \"SetGoogleAuth\",\n value: function SetGoogleAuth(googleAuthObj) {\n if (googleAuthObj !== undefined) {\n this._googleAuth = googleAuthObj;\n this._authType = 'g'; // valid values are 'g','b' or undefined\n }\n }\n }, {\n key: \"setAuthToken\",\n value: function setAuthToken(authToken) {\n if (authToken !== undefined) {\n this._authToken = authToken;\n this._authType = 'g'; // valid values are 'g','b' or undefined\n }\n }\n }, {\n key: \"authenticationType\",\n get: function get() {\n return this._authType;\n }\n }, {\n key: \"username\",\n get: function get() {\n return this._username;\n } // get authStr() { return this._authStr;}\n\n }, {\n key: \"password\",\n get: function get() {\n return this._password;\n }\n }, {\n key: \"setBasicAuth\",\n value: function setBasicAuth(accountname, password) {\n if (accountname !== undefined && accountname != null && accountname !== '') {\n this._username = accountname;\n this._password = password;\n this._authType = 'b'; // this._authStr = 'Basic ' + btoa(username + ':' + password);\n\n return;\n }\n\n this._username = undefined;\n this._password = undefined;\n this._authType = undefined; // this._authStr = undefined;\n }\n }, {\n key: \"_httpGetOpenObj\",\n value: function _httpGetOpenObj(URL) {\n var APIEndPointPrefix = this.host;\n return new Promise(function (resolve, reject) {\n axios({\n method: 'get',\n url: URL,\n baseURL: APIEndPointPrefix\n }).then(function (response) {\n if (response.status === 200) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n } // access endpoints that supports authentication\n\n }, {\n key: \"_getIdToken\",\n value: function _getIdToken() {\n return this._authToken ? this._authToken : this._googleAuth.getAuthInstance().currentUser.get().getAuthResponse().id_token;\n }\n }, {\n key: \"_setAuthHeader\",\n value: function _setAuthHeader(config) {\n if (this._authType === 'b') {\n config['auth'] = {\n username: this.username,\n password: this.password\n };\n } else if (this.authenticationType === 'g') {\n var idToken = this._getIdToken();\n\n if (config['headers'] === undefined) {\n config['headers'] = {};\n }\n\n config['headers']['Authorization'] = 'Bearer ' + idToken;\n }\n }\n }, {\n key: \"_httpGetProtectedObjAux\",\n value: function _httpGetProtectedObjAux(prefix, URL, parameters) {\n var config = {\n method: 'get',\n url: URL,\n baseURL: prefix\n };\n\n this._setAuthHeader(config);\n\n if (parameters !== undefined) {\n config['params'] = parameters;\n }\n\n return new Promise(function (resolve, reject) {\n axios(config).then(function (response) {\n if (response.status === 200) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n }, {\n key: \"_httpGetV3ProtectedObj\",\n value: function _httpGetV3ProtectedObj(URL, parameters) {\n return this._httpGetProtectedObjAux(this._v3baseURL, URL, parameters);\n }\n }, {\n key: \"_httpGetProtectedObj\",\n value: function _httpGetProtectedObj(URL, parameters) {\n return this._httpGetProtectedObjAux(this.host, URL, parameters);\n }\n }, {\n key: \"_httpPostProtectedObjAux\",\n value: function _httpPostProtectedObjAux(prefix, URL, parameters, data) {\n var config = {\n method: 'post',\n url: URL,\n baseURL: prefix\n };\n\n this._setAuthHeader(config);\n\n if (parameters !== undefined) {\n config['params'] = parameters;\n }\n\n config.data = data;\n return new Promise(function (resolve, reject) {\n axios(config).then(function (response) {\n if (response.status >= 200 && response.status <= 299) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n }, {\n key: \"_httpPostProtectedObj\",\n value: function _httpPostProtectedObj(URL, parameters, data) {\n return this._httpPostProtectedObjAux(this.host, URL, parameters, data);\n }\n }, {\n key: \"_httpPostV3ProtectedObj\",\n value: function _httpPostV3ProtectedObj(URL, parameters, data) {\n return this._httpPostProtectedObjAux(this._v3baseURL, URL, parameters, data);\n }\n }, {\n key: \"_httpPutObj\",\n value: function _httpPutObj(URL, parameters, data) {\n var config = {\n method: 'put',\n url: URL,\n baseURL: this.host\n };\n\n this._setAuthHeader(config);\n\n if (parameters !== undefined) {\n config['params'] = parameters;\n }\n\n config.data = data;\n return new Promise(function (resolve, reject) {\n axios(config).then(function (response) {\n if (response.status >= 200 && response.status <= 299) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n }, {\n key: \"_httpDeleteObj\",\n value: function _httpDeleteObj(URL, parameters, data) {\n var config = {\n method: 'delete',\n url: URL,\n baseURL: this.host\n };\n\n this._setAuthHeader(config);\n\n if (parameters !== undefined) {\n config['params'] = parameters;\n }\n\n if (data !== undefined) {\n config['data'] = data;\n }\n\n return new Promise(function (resolve, reject) {\n axios(config).then(function (response) {\n if (response.status >= 200 && response.status <= 299) {\n return resolve(response.data);\n }\n\n return reject(response);\n }, function (response) {\n return reject(response);\n });\n });\n }\n /* admin functions */\n\n }, {\n key: \"getStatus\",\n value: function getStatus() {\n return this._httpGetOpenObj('admin/status');\n }\n /* user functions */\n\n }, {\n key: \"getSignedInUser\",\n value: function getSignedInUser() {\n if (this._authType == null) {\n throw new Error('Authentication parameters are missing in NDEx client.');\n }\n\n return this._httpGetProtectedObj('user', {\n valid: true\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(uuid) {\n return this._httpGetProtectedObj('user/' + uuid);\n }\n }, {\n key: \"getAccountPageNetworks\",\n value: function getAccountPageNetworks(offset, limit) {\n var _this = this;\n\n return new Promise(function (resolve, reject) {\n _this.getSignedInUser().then(function (user) {\n var params = {};\n\n if (offset !== undefined) {\n params.offset = offset;\n }\n\n if (limit !== undefined) {\n params.limit = limit;\n }\n\n _this._httpGetProtectedObj('/user/' + user.externalId + '/networksummary', params).then(function (networkArray) {\n resolve(networkArray);\n }, function (err) {\n reject(err);\n });\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"getAccountPageNetworksByUUID\",\n value: function getAccountPageNetworksByUUID(uuid, offset, limit) {\n var params = {};\n\n if (offset !== undefined) {\n params.offset = offset;\n }\n\n if (limit !== undefined) {\n params.limit = limit;\n }\n\n return this._httpGetProtectedObj('user/' + uuid + '/networksummary', params);\n }\n /* group functions */\n // return the UUID of the created group to the resolver\n\n }, {\n key: \"createGroup\",\n value: function createGroup(group) {\n var _this2 = this;\n\n return new Promise(function (resolve, reject) {\n _this2._httpPostProtectedObj('group', undefined, group).then(function (response) {\n var uuidr = response.split('/');\n var uuid = uuidr[uuidr.length - 1];\n return resolve(uuid);\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"getGroup\",\n value: function getGroup(uuid) {\n return this._httpGetProtectedObj('group/' + uuid);\n }\n }, {\n key: \"updateGroup\",\n value: function updateGroup(group) {\n var _this3 = this;\n\n return new Promise(function (resolve, reject) {\n _this3._httpPutObj('group/' + group.externalId, undefined, group).then(function (response) {\n return resolve(response);\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"deleteGroup\",\n value: function deleteGroup(uuid) {\n return this._httpDeleteObj('group/' + uuid);\n }\n /* network functions */\n\n }, {\n key: \"getRawNetwork\",\n value: function getRawNetwork(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters = {\n accesskey: accessKey\n };\n }\n\n return this._httpGetProtectedObj('network/' + uuid, parameters);\n }\n }, {\n key: \"getCX2Network\",\n value: function getCX2Network(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters = {\n accesskey: accessKey\n };\n }\n\n return this._httpGetV3ProtectedObj('networks/' + uuid, parameters);\n }\n }, {\n key: \"getNetworkSummary\",\n value: function getNetworkSummary(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters = {\n accesskey: accessKey\n };\n }\n\n return this._httpGetProtectedObj('network/' + uuid + '/summary', parameters);\n }\n }, {\n key: \"createNetworkFromRawCX\",\n value: function createNetworkFromRawCX(rawCX, parameters) {\n var _this4 = this;\n\n return new Promise(function (resolve, reject) {\n _this4._httpPostProtectedObj('network', parameters, rawCX).then(function (response) {\n var uuidr = response.split('/');\n var uuid = uuidr[uuidr.length - 1];\n return resolve(uuid);\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"updateNetworkFromRawCX\",\n value: function updateNetworkFromRawCX(uuid, rawcx) {\n return this._httpPutObj('network/' + uuid, undefined, rawcx);\n }\n }, {\n key: \"deleteNetwork\",\n value: function deleteNetwork(uuid) {\n return this._httpDeleteObj('network/' + uuid);\n }\n /* task functions */\n\n /* search functions */\n\n }, {\n key: \"searchUsers\",\n value: function searchUsers(searchTerms, start, size) {\n var params = {};\n\n if (start !== undefined) {\n params.start = start;\n }\n\n if (size !== undefined) {\n params.limit = size;\n }\n\n var data = {\n searchString: searchTerms\n };\n return this._httpPostProtectedObj('search/user', params, data);\n }\n }, {\n key: \"searchGroups\",\n value: function searchGroups(searchTerms, start, size) {\n var params = {};\n\n if (start !== undefined) {\n params.start = start;\n }\n\n if (size !== undefined) {\n params.limit = size;\n }\n\n var data = {\n searchString: searchTerms\n };\n return this._httpPostProtectedObj('search/group', params, data);\n }\n }, {\n key: \"searchNetworks\",\n value: function searchNetworks(searchTerms, start, size, optionalParameters) {\n var params = {};\n\n if (start !== undefined) {\n params.start = start;\n }\n\n if (size !== undefined) {\n params.limit = size;\n }\n\n var data = {\n searchString: searchTerms\n };\n\n if (optionalParameters !== undefined) {\n if (optionalParameters.permission !== undefined) {\n data.permission = optionalParameters.permission;\n }\n\n if (optionalParameters.includeGroups !== undefined) {\n data.includeGroups = optionalParameters.includeGroups;\n }\n\n if (optionalParameters.accountName !== undefined) {\n data.accountName = optionalParameters.accountName;\n }\n }\n\n return this._httpPostProtectedObj('search/network', params, data);\n }\n }, {\n key: \"neighborhoodQuery\",\n value: function neighborhoodQuery(uuid, searchTerms, saveResult, parameters) {\n var params = {};\n\n if (saveResult !== undefined && saveResult === true) {\n params.save = true;\n }\n\n var data = {\n searchString: searchTerms,\n searchDepth: 1\n };\n\n if (parameters !== undefined) {\n if (parameters.searchDepth !== undefined) {\n data.searchDepth = parameters.searchDepth;\n }\n\n if (parameters.edgeLimit !== undefined) {\n data.edgeLimit = parameters.edgeLimit;\n }\n\n if (parameters.errorWhenLimitIsOver !== undefined) {\n data.errorWhenLimitIsOver = parameters.errorWhenLimitIsOver;\n }\n\n if (parameters.directOnly !== undefined) {\n data.directOnly = parameters.directOnly;\n }\n }\n\n return this._httpPostProtectedObj('search/network/' + uuid + '/query', params, data);\n }\n }, {\n key: \"interConnectQuery\",\n value: function interConnectQuery(uuid, searchTerms, saveResult, parameters) {\n var params = {};\n\n if (saveResult !== undefined && saveResult === true) {\n params.save = true;\n }\n\n var data = {\n searchString: searchTerms\n };\n\n if (parameters !== undefined) {\n if (parameters.edgeLimit !== undefined) {\n data.edgeLimit = parameters.edgeLimit;\n }\n\n if (parameters.errorWhenLimitIsOver !== undefined) {\n data.errorWhenLimitIsOver = parameters.errorWhenLimitIsOver;\n }\n }\n\n return this._httpPostProtectedObj('search/network/' + uuid + '/interconnectquery', params, data);\n }\n /* batch functions */\n\n }, {\n key: \"getUsersByUUIDs\",\n value: function getUsersByUUIDs(uuidList) {\n return this._httpPostProtectedObj('batch/user', undefined, uuidList);\n }\n }, {\n key: \"getGroupsByUUIDs\",\n value: function getGroupsByUUIDs(uuidList) {\n return this._httpPostProtectedObj('batch/group', undefined, uuidList);\n }\n }, {\n key: \"getNetworkSummariesByUUIDs\",\n value: function getNetworkSummariesByUUIDs(uuidList, accessKey) {\n var parameter = accessKey === undefined ? undefined : {\n accesskey: accessKey\n };\n return this._httpPostProtectedObj('batch/network/summary', parameter, uuidList);\n }\n }, {\n key: \"getNetworkPermissionsByUUIDs\",\n value: function getNetworkPermissionsByUUIDs(uuidList) {\n return this._httpPostProtectedObj('batch/network/permission', undefined, uuidList);\n }\n }, {\n key: \"exportNetworks\",\n value: function exportNetworks(exportJob) {\n return this._httpPostProtectedObj('batch/network/export', undefined, exportJob);\n }\n /* network set functions */\n\n }, {\n key: \"createNetworkSet\",\n value: function createNetworkSet(_ref) {\n var _this5 = this;\n\n var name = _ref.name,\n description = _ref.description;\n return new Promise(function (resolve, reject) {\n _this5._httpPostProtectedObj('networkset', undefined, {\n name: name,\n description: description\n }).then(function (response) {\n var uuidr = response.split('/');\n var uuid = uuidr[uuidr.length - 1];\n return resolve(uuid);\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"updateNetworkSet\",\n value: function updateNetworkSet(uuid, _ref2) {\n var _this6 = this;\n\n var name = _ref2.name,\n description = _ref2.description;\n return new Promise(function (resolve, reject) {\n _this6._httpPutObj('networkset/' + uuid, undefined, {\n uuid: uuid,\n name: name,\n description: description\n }).then(function (response) {\n return resolve(response);\n }, function (err) {\n reject(err);\n });\n });\n }\n }, {\n key: \"deleteNetworkSet\",\n value: function deleteNetworkSet(uuid) {\n return this._httpDeleteObj('networkset/' + uuid);\n }\n }, {\n key: \"getNetworkSet\",\n value: function getNetworkSet(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters = {\n accesskey: accessKey\n };\n }\n\n return this._httpGetProtectedObj('networkset/' + uuid, parameters);\n }\n }, {\n key: \"addToNetworkSet\",\n value: function addToNetworkSet(networkSetUUID, networkUUIDs) {\n return this._httpPostProtectedObj('networkset/' + networkSetUUID + '/members', undefined, networkUUIDs);\n }\n }, {\n key: \"deleteFromNetworkSet\",\n value: function deleteFromNetworkSet(networkSetUUID, networkUUIDS) {\n return this._httpDeleteObj('networkset/' + networkSetUUID + '/members', undefined, networkUUIDS);\n }\n }, {\n key: \"updateNetworkSetSystemProperty\",\n value: function updateNetworkSetSystemProperty(networksetUUID, data) {\n return this._httpPutObj('networkset/' + networksetUUID + '/systemproperty', undefined, data);\n }\n /* undocumented functions. Might be changed ... */\n // layout update is a list of objects:\n // [{ node: 1, x: 100, y: 100}, {node: 2, x: 1003, y: 200 }...]\n\n }, {\n key: \"updateCartesianLayoutAspect\",\n value: function updateCartesianLayoutAspect(uuid, nodePositions) {\n // 1. get node coordinates from cy.js model in the format of cartesian aspect\n // 2. generate CX for the put request\n // 3. example\n // [{\n // \"numberVerification\": [\n // {\n // \"longNumber\": 283213721732712\n // }\n // ]\n // }, {\n // \"metaData\": [{\n // \"name\": \"cartesianLayout\", \"elementCount\": 100 // num nodes here\n // }],\n // \"cartesianLayout\": [{\n // \"node\": 100, \"x\": 23213.12, \"y\": 3234.5\n // }]\n // }]\n var cartesianLayoutUpdate = [CX1_HEADER, {\n metaData: [{\n name: 'cartesianLayout',\n elementCount: nodePositions.length\n }]\n }, {\n cartesianLayout: nodePositions\n }, {\n status: [{\n error: '',\n success: true\n }]\n }];\n return this._httpPutObj(\"network/\".concat(uuid, \"/aspects\"), undefined, cartesianLayoutUpdate);\n } // new v3 functions\n\n }, {\n key: \"getRandomEdges\",\n value: function getRandomEdges(uuid, limit, accessKey) {\n if (limit <= 0) throw new Error(\"Value of parameter limit has to be greater than 0.\");\n var parameters = {\n size: limit,\n method: \"random\"\n };\n\n if (accessKey !== undefined) {\n parameters = {\n accesskey: accessKey\n };\n }\n\n return this._httpGetV3ProtectedObj('networks/' + uuid + '/aspects/edges', parameters);\n }\n }, {\n key: \"getMetaData\",\n value: function getMetaData(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters['accesskey'] = accessKey;\n }\n\n return this._httpGetProtectedObj('network/' + uuid + '/aspect', parameters);\n }\n }, {\n key: \"getAspectElements\",\n value: function getAspectElements(uuid, aspectName, limit, accessKey) {\n var parameters = {};\n\n if (limit !== undefined) {\n parameters = {\n size: limit\n };\n }\n\n if (accessKey !== undefined) {\n parameters['accesskey'] = accessKey;\n }\n\n return this._httpGetV3ProtectedObj('networks/' + uuid + '/aspects/' + aspectName, parameters);\n }\n }, {\n key: \"getFilteredEdges\",\n value: function getFilteredEdges(uuid, columnName, valueString, operator, limit, order, format, accessKey) {\n var parameters = {};\n\n if (limit !== undefined) {\n parameters = {\n size: limit\n };\n }\n\n if (order !== undefined) {\n parameters['order'] = order;\n }\n\n if (accessKey !== undefined) {\n parameters['accesskey'] = accessKey;\n }\n\n if (format !== undefined) {\n parameters['format'] = format;\n }\n\n var data = {\n \"name\": columnName,\n \"value\": valueString,\n \"operator\": operator\n };\n return this._httpPostV3ProtectedObj('/search/networks/' + uuid + '/edges', parameters, data);\n }\n }, {\n key: \"getCX2MetaData\",\n value: function getCX2MetaData(uuid, accessKey) {\n var parameters = {};\n\n if (accessKey !== undefined) {\n parameters['accesskey'] = accessKey;\n }\n\n return this._httpGetV3ProtectedObj('networks/' + uuid + '/aspects', parameters);\n }\n }, {\n key: \"cancelDOIRequest\",\n value: function cancelDOIRequest(uuid) {\n var cancelBody = {\n type: \"Cancel_DOI\",\n networkId: uuid\n };\n return this._httpPostProtectedObj('admin/request', {}, cancelBody);\n } // unstable function to upload CX2 to NDEx\n\n }, {\n key: \"createNetworkFromRawCX2\",\n value: function createNetworkFromRawCX2(rawCX2) {\n var makePublic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var config = {\n method: 'post',\n url: 'networks',\n baseURL: this._v3baseURL,\n params: {\n visibility: makePublic ? 'PUBLIC' : 'PRIVATE'\n }\n };\n\n this._setAuthHeader(config);\n\n config.data = rawCX2;\n return axios(config).then(function (res) {\n var location = res.headers.location;\n var uuid = location.split('/').pop();\n return {\n uuid: uuid\n };\n });\n }\n }]);\n\n return NDEx;\n}();\n\nmodule.exports = {\n NDEx: NDEx\n};\n\n//# sourceURL=webpack://ndexClient/./src/NDEx.js?");
30
+
31
+ /***/ }),
32
+
33
+ /***/ "./src/index.js":
34
+ /*!**********************!*\
35
+ !*** ./src/index.js ***!
36
+ \**********************/
37
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
38
+
39
+ eval("var NDEx = (__webpack_require__(/*! ./NDEx.js */ \"./src/NDEx.js\").NDEx);\n\nvar CyNDEx = (__webpack_require__(/*! ./CyNDEx.js */ \"./src/CyNDEx.js\").CyNDEx);\n\nmodule.exports = {\n NDEx: NDEx,\n CyNDEx: CyNDEx\n};\n\n//# sourceURL=webpack://ndexClient/./src/index.js?");
40
+
41
+ /***/ }),
42
+
43
+ /***/ "./node_modules/axios/index.js":
44
+ /*!*************************************!*\
45
+ !*** ./node_modules/axios/index.js ***!
46
+ \*************************************/
47
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
48
+
49
+ eval("module.exports = __webpack_require__(/*! ./lib/axios */ \"./node_modules/axios/lib/axios.js\");\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/index.js?");
50
+
51
+ /***/ }),
52
+
53
+ /***/ "./node_modules/axios/lib/adapters/xhr.js":
54
+ /*!************************************************!*\
55
+ !*** ./node_modules/axios/lib/adapters/xhr.js ***!
56
+ \************************************************/
57
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
58
+
59
+ "use strict";
60
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\nvar settle = __webpack_require__(/*! ./../core/settle */ \"./node_modules/axios/lib/core/settle.js\");\nvar cookies = __webpack_require__(/*! ./../helpers/cookies */ \"./node_modules/axios/lib/helpers/cookies.js\");\nvar buildURL = __webpack_require__(/*! ./../helpers/buildURL */ \"./node_modules/axios/lib/helpers/buildURL.js\");\nvar buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ \"./node_modules/axios/lib/core/buildFullPath.js\");\nvar parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ \"./node_modules/axios/lib/helpers/parseHeaders.js\");\nvar isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ \"./node_modules/axios/lib/helpers/isURLSameOrigin.js\");\nvar createError = __webpack_require__(/*! ../core/createError */ \"./node_modules/axios/lib/core/createError.js\");\nvar defaults = __webpack_require__(/*! ../defaults */ \"./node_modules/axios/lib/defaults.js\");\nvar Cancel = __webpack_require__(/*! ../cancel/Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/adapters/xhr.js?");
61
+
62
+ /***/ }),
63
+
64
+ /***/ "./node_modules/axios/lib/axios.js":
65
+ /*!*****************************************!*\
66
+ !*** ./node_modules/axios/lib/axios.js ***!
67
+ \*****************************************/
68
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
69
+
70
+ "use strict";
71
+ eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/axios/lib/utils.js\");\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/axios/lib/helpers/bind.js\");\nvar Axios = __webpack_require__(/*! ./core/Axios */ \"./node_modules/axios/lib/core/Axios.js\");\nvar mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ \"./node_modules/axios/lib/core/mergeConfig.js\");\nvar defaults = __webpack_require__(/*! ./defaults */ \"./node_modules/axios/lib/defaults.js\");\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 = __webpack_require__(/*! ./cancel/Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\naxios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ \"./node_modules/axios/lib/cancel/CancelToken.js\");\naxios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ \"./node_modules/axios/lib/cancel/isCancel.js\");\naxios.VERSION = (__webpack_require__(/*! ./env/data */ \"./node_modules/axios/lib/env/data.js\").version);\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = __webpack_require__(/*! ./helpers/spread */ \"./node_modules/axios/lib/helpers/spread.js\");\n\n// Expose isAxiosError\naxios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ \"./node_modules/axios/lib/helpers/isAxiosError.js\");\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports[\"default\"] = axios;\n\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/axios.js?");
72
+
73
+ /***/ }),
74
+
75
+ /***/ "./node_modules/axios/lib/cancel/Cancel.js":
76
+ /*!*************************************************!*\
77
+ !*** ./node_modules/axios/lib/cancel/Cancel.js ***!
78
+ \*************************************************/
79
+ /***/ ((module) => {
80
+
81
+ "use strict";
82
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/cancel/Cancel.js?");
83
+
84
+ /***/ }),
85
+
86
+ /***/ "./node_modules/axios/lib/cancel/CancelToken.js":
87
+ /*!******************************************************!*\
88
+ !*** ./node_modules/axios/lib/cancel/CancelToken.js ***!
89
+ \******************************************************/
90
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
91
+
92
+ "use strict";
93
+ eval("\n\nvar Cancel = __webpack_require__(/*! ./Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/cancel/CancelToken.js?");
94
+
95
+ /***/ }),
96
+
97
+ /***/ "./node_modules/axios/lib/cancel/isCancel.js":
98
+ /*!***************************************************!*\
99
+ !*** ./node_modules/axios/lib/cancel/isCancel.js ***!
100
+ \***************************************************/
101
+ /***/ ((module) => {
102
+
103
+ "use strict";
104
+ eval("\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/cancel/isCancel.js?");
105
+
106
+ /***/ }),
107
+
108
+ /***/ "./node_modules/axios/lib/core/Axios.js":
109
+ /*!**********************************************!*\
110
+ !*** ./node_modules/axios/lib/core/Axios.js ***!
111
+ \**********************************************/
112
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
113
+
114
+ "use strict";
115
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\nvar buildURL = __webpack_require__(/*! ../helpers/buildURL */ \"./node_modules/axios/lib/helpers/buildURL.js\");\nvar InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ \"./node_modules/axios/lib/core/InterceptorManager.js\");\nvar dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ \"./node_modules/axios/lib/core/dispatchRequest.js\");\nvar mergeConfig = __webpack_require__(/*! ./mergeConfig */ \"./node_modules/axios/lib/core/mergeConfig.js\");\nvar validator = __webpack_require__(/*! ../helpers/validator */ \"./node_modules/axios/lib/helpers/validator.js\");\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(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/Axios.js?");
116
+
117
+ /***/ }),
118
+
119
+ /***/ "./node_modules/axios/lib/core/InterceptorManager.js":
120
+ /*!***********************************************************!*\
121
+ !*** ./node_modules/axios/lib/core/InterceptorManager.js ***!
122
+ \***********************************************************/
123
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
124
+
125
+ "use strict";
126
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/InterceptorManager.js?");
127
+
128
+ /***/ }),
129
+
130
+ /***/ "./node_modules/axios/lib/core/buildFullPath.js":
131
+ /*!******************************************************!*\
132
+ !*** ./node_modules/axios/lib/core/buildFullPath.js ***!
133
+ \******************************************************/
134
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
135
+
136
+ "use strict";
137
+ eval("\n\nvar isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ \"./node_modules/axios/lib/helpers/isAbsoluteURL.js\");\nvar combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ \"./node_modules/axios/lib/helpers/combineURLs.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/buildFullPath.js?");
138
+
139
+ /***/ }),
140
+
141
+ /***/ "./node_modules/axios/lib/core/createError.js":
142
+ /*!****************************************************!*\
143
+ !*** ./node_modules/axios/lib/core/createError.js ***!
144
+ \****************************************************/
145
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
146
+
147
+ "use strict";
148
+ eval("\n\nvar enhanceError = __webpack_require__(/*! ./enhanceError */ \"./node_modules/axios/lib/core/enhanceError.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/createError.js?");
149
+
150
+ /***/ }),
151
+
152
+ /***/ "./node_modules/axios/lib/core/dispatchRequest.js":
153
+ /*!********************************************************!*\
154
+ !*** ./node_modules/axios/lib/core/dispatchRequest.js ***!
155
+ \********************************************************/
156
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
157
+
158
+ "use strict";
159
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\nvar transformData = __webpack_require__(/*! ./transformData */ \"./node_modules/axios/lib/core/transformData.js\");\nvar isCancel = __webpack_require__(/*! ../cancel/isCancel */ \"./node_modules/axios/lib/cancel/isCancel.js\");\nvar defaults = __webpack_require__(/*! ../defaults */ \"./node_modules/axios/lib/defaults.js\");\nvar Cancel = __webpack_require__(/*! ../cancel/Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/dispatchRequest.js?");
160
+
161
+ /***/ }),
162
+
163
+ /***/ "./node_modules/axios/lib/core/enhanceError.js":
164
+ /*!*****************************************************!*\
165
+ !*** ./node_modules/axios/lib/core/enhanceError.js ***!
166
+ \*****************************************************/
167
+ /***/ ((module) => {
168
+
169
+ "use strict";
170
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/enhanceError.js?");
171
+
172
+ /***/ }),
173
+
174
+ /***/ "./node_modules/axios/lib/core/mergeConfig.js":
175
+ /*!****************************************************!*\
176
+ !*** ./node_modules/axios/lib/core/mergeConfig.js ***!
177
+ \****************************************************/
178
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
179
+
180
+ "use strict";
181
+ eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/mergeConfig.js?");
182
+
183
+ /***/ }),
184
+
185
+ /***/ "./node_modules/axios/lib/core/settle.js":
186
+ /*!***********************************************!*\
187
+ !*** ./node_modules/axios/lib/core/settle.js ***!
188
+ \***********************************************/
189
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
190
+
191
+ "use strict";
192
+ eval("\n\nvar createError = __webpack_require__(/*! ./createError */ \"./node_modules/axios/lib/core/createError.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/settle.js?");
193
+
194
+ /***/ }),
195
+
196
+ /***/ "./node_modules/axios/lib/core/transformData.js":
197
+ /*!******************************************************!*\
198
+ !*** ./node_modules/axios/lib/core/transformData.js ***!
199
+ \******************************************************/
200
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
201
+
202
+ "use strict";
203
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\nvar defaults = __webpack_require__(/*! ./../defaults */ \"./node_modules/axios/lib/defaults.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/core/transformData.js?");
204
+
205
+ /***/ }),
206
+
207
+ /***/ "./node_modules/axios/lib/defaults.js":
208
+ /*!********************************************!*\
209
+ !*** ./node_modules/axios/lib/defaults.js ***!
210
+ \********************************************/
211
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
212
+
213
+ "use strict";
214
+ eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/axios/lib/utils.js\");\nvar normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ \"./node_modules/axios/lib/helpers/normalizeHeaderName.js\");\nvar enhanceError = __webpack_require__(/*! ./core/enhanceError */ \"./node_modules/axios/lib/core/enhanceError.js\");\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 = __webpack_require__(/*! ./adapters/xhr */ \"./node_modules/axios/lib/adapters/xhr.js\");\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = __webpack_require__(/*! ./adapters/http */ \"./node_modules/axios/lib/adapters/xhr.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/defaults.js?");
215
+
216
+ /***/ }),
217
+
218
+ /***/ "./node_modules/axios/lib/env/data.js":
219
+ /*!********************************************!*\
220
+ !*** ./node_modules/axios/lib/env/data.js ***!
221
+ \********************************************/
222
+ /***/ ((module) => {
223
+
224
+ eval("module.exports = {\n \"version\": \"0.26.0\"\n};\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/env/data.js?");
225
+
226
+ /***/ }),
227
+
228
+ /***/ "./node_modules/axios/lib/helpers/bind.js":
229
+ /*!************************************************!*\
230
+ !*** ./node_modules/axios/lib/helpers/bind.js ***!
231
+ \************************************************/
232
+ /***/ ((module) => {
233
+
234
+ "use strict";
235
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/bind.js?");
236
+
237
+ /***/ }),
238
+
239
+ /***/ "./node_modules/axios/lib/helpers/buildURL.js":
240
+ /*!****************************************************!*\
241
+ !*** ./node_modules/axios/lib/helpers/buildURL.js ***!
242
+ \****************************************************/
243
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
244
+
245
+ "use strict";
246
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/buildURL.js?");
247
+
248
+ /***/ }),
249
+
250
+ /***/ "./node_modules/axios/lib/helpers/combineURLs.js":
251
+ /*!*******************************************************!*\
252
+ !*** ./node_modules/axios/lib/helpers/combineURLs.js ***!
253
+ \*******************************************************/
254
+ /***/ ((module) => {
255
+
256
+ "use strict";
257
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/combineURLs.js?");
258
+
259
+ /***/ }),
260
+
261
+ /***/ "./node_modules/axios/lib/helpers/cookies.js":
262
+ /*!***************************************************!*\
263
+ !*** ./node_modules/axios/lib/helpers/cookies.js ***!
264
+ \***************************************************/
265
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
266
+
267
+ "use strict";
268
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/cookies.js?");
269
+
270
+ /***/ }),
271
+
272
+ /***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js":
273
+ /*!*********************************************************!*\
274
+ !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
275
+ \*********************************************************/
276
+ /***/ ((module) => {
277
+
278
+ "use strict";
279
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/isAbsoluteURL.js?");
280
+
281
+ /***/ }),
282
+
283
+ /***/ "./node_modules/axios/lib/helpers/isAxiosError.js":
284
+ /*!********************************************************!*\
285
+ !*** ./node_modules/axios/lib/helpers/isAxiosError.js ***!
286
+ \********************************************************/
287
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
288
+
289
+ "use strict";
290
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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 utils.isObject(payload) && (payload.isAxiosError === true);\n};\n\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/isAxiosError.js?");
291
+
292
+ /***/ }),
293
+
294
+ /***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js":
295
+ /*!***********************************************************!*\
296
+ !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
297
+ \***********************************************************/
298
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
299
+
300
+ "use strict";
301
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/isURLSameOrigin.js?");
302
+
303
+ /***/ }),
304
+
305
+ /***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js":
306
+ /*!***************************************************************!*\
307
+ !*** ./node_modules/axios/lib/helpers/normalizeHeaderName.js ***!
308
+ \***************************************************************/
309
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
310
+
311
+ "use strict";
312
+ eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/normalizeHeaderName.js?");
313
+
314
+ /***/ }),
315
+
316
+ /***/ "./node_modules/axios/lib/helpers/parseHeaders.js":
317
+ /*!********************************************************!*\
318
+ !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***!
319
+ \********************************************************/
320
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
321
+
322
+ "use strict";
323
+ eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/parseHeaders.js?");
324
+
325
+ /***/ }),
326
+
327
+ /***/ "./node_modules/axios/lib/helpers/spread.js":
328
+ /*!**************************************************!*\
329
+ !*** ./node_modules/axios/lib/helpers/spread.js ***!
330
+ \**************************************************/
331
+ /***/ ((module) => {
332
+
333
+ "use strict";
334
+ eval("\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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/spread.js?");
335
+
336
+ /***/ }),
337
+
338
+ /***/ "./node_modules/axios/lib/helpers/validator.js":
339
+ /*!*****************************************************!*\
340
+ !*** ./node_modules/axios/lib/helpers/validator.js ***!
341
+ \*****************************************************/
342
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
343
+
344
+ "use strict";
345
+ eval("\n\nvar VERSION = (__webpack_require__(/*! ../env/data */ \"./node_modules/axios/lib/env/data.js\").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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/helpers/validator.js?");
346
+
347
+ /***/ }),
348
+
349
+ /***/ "./node_modules/axios/lib/utils.js":
350
+ /*!*****************************************!*\
351
+ !*** ./node_modules/axios/lib/utils.js ***!
352
+ \*****************************************/
353
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
354
+
355
+ "use strict";
356
+ eval("\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/axios/lib/helpers/bind.js\");\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 Array.isArray(val);\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 toString.call(val) === '[object 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) && (isArrayBuffer(val.buffer));\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 toString.call(val) === '[object 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\n\n//# sourceURL=webpack://ndexClient/./node_modules/axios/lib/utils.js?");
357
+
358
+ /***/ })
359
+
360
+ /******/ });
361
+ /************************************************************************/
362
+ /******/ // The module cache
363
+ /******/ var __webpack_module_cache__ = {};
364
+ /******/
365
+ /******/ // The require function
366
+ /******/ function __webpack_require__(moduleId) {
367
+ /******/ // Check if module is in cache
368
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
369
+ /******/ if (cachedModule !== undefined) {
370
+ /******/ return cachedModule.exports;
371
+ /******/ }
372
+ /******/ // Create a new module (and put it into the cache)
373
+ /******/ var module = __webpack_module_cache__[moduleId] = {
374
+ /******/ // no module.id needed
375
+ /******/ // no module.loaded needed
376
+ /******/ exports: {}
377
+ /******/ };
378
+ /******/
379
+ /******/ // Execute the module function
380
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
381
+ /******/
382
+ /******/ // Return the exports of the module
383
+ /******/ return module.exports;
384
+ /******/ }
385
+ /******/
386
+ /************************************************************************/
387
+ /******/
388
+ /******/ // startup
389
+ /******/ // Load entry module and return exports
390
+ /******/ // This entry module is referenced by other modules so it can't be inlined
391
+ /******/ var __webpack_exports__ = __webpack_require__("./src/index.js");
392
+ /******/ ndexClient = __webpack_exports__;
393
+ /******/
394
+ /******/ })()
395
+ ;