{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js??ref--14-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/settings.js","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/settings.js","mtime":1684261475137},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9zbGljZWRUb0FycmF5IGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9zbGljZWRUb0FycmF5LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMuYXJyYXkuaW5jbHVkZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5zdHJpbmcuaW5jbHVkZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5hcnJheS5maW5kLWluZGV4LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMub2JqZWN0LnRvLXN0cmluZy5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL3dlYi5kb20tY29sbGVjdGlvbnMuZm9yLWVhY2guanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5hcnJheS5wdXNoLmpzIjsKaW1wb3J0ICJjb3JlLWpzL21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YWNldHMuc3BlY2llcy5wdXNoKGUuZmFjZXQpOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICBzdGF0ZS5mYWNldHMuc3BlY2llcyA9IFtdOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgY2FzZSAiZ2VuZGVyIjoKICAgICAgICAgICAgaWYgKGUuZmFjZXQudG9Mb3dlckNhc2UoKSAhPT0gInNob3cgYWxsIikgewogICAgICAgICAgICAgIGZhY2V0cy5nZW5kZXIucHVzaChlLmZhY2V0KTsKICAgICAgICAgICAgICBpZiAoIXN0YXRlLmZhY2V0cy5zcGVjaWVzLmluY2x1ZGVzKGUuZmFjZXQpKSBzdGF0ZS5mYWNldHMuZ2VuZGVyLnB1c2goZS5mYWNldCk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICBjYXNlICJvcmdhbiI6CiAgICAgICAgICAgIGlmIChlLmZhY2V0LnRvTG93ZXJDYXNlKCkgIT09ICJzaG93IGFsbCIpIHsKICAgICAgICAgICAgICBmYWNldHMub3JnYW4ucHVzaChlLmZhY2V0KTsKICAgICAgICAgICAgICBpZiAoIXN0YXRlLmZhY2V0cy5zcGVjaWVzLmluY2x1ZGVzKGUuZmFjZXQpKSBzdGF0ZS5mYWNldHMub3JnYW4ucHVzaChlLmZhY2V0KTsKICAgICAgICAgICAgfQogICAgICAgICAgICBicmVhazsKICAgICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIH0KICAgICAgfSk7CiAgICAgIC8vUmVtb3ZlIGl0ZW0gbm90IGluIGxpc3QKICAgICAgZm9yICh2YXIgX2kgPSAwLCBfT2JqZWN0JGVudHJpZXMgPSBPYmplY3QuZW50cmllcyhzdGF0ZS5mYWNldHMpOyBfaSA8IF9PYmplY3QkZW50cmllcy5sZW5ndGg7IF9pKyspIHsKICAgICAgICB2YXIgX09iamVjdCRlbnRyaWVzJF9pID0gX3NsaWNlZFRvQXJyYXkoX09iamVjdCRlbnRyaWVzW19pXSwgMiksCiAgICAgICAgICBrZXkgPSBfT2JqZWN0JGVudHJpZXMkX2lbMF0sCiAgICAgICAgICBhcnIgPSBfT2JqZWN0JGVudHJpZXMkX2lbMV07CiAgICAgICAgdmFyIGkgPSAwOwogICAgICAgIGZvciAoaSA9IGFyci5sZW5ndGggLSAxOyBpID49IDA7IGkgLT0gMSkgewogICAgICAgICAgdmFyIGluZGV4ID0gZmFjZXRzW2tleV0uaW5kZXhPZihhcnJbaV0pOwogICAgICAgICAgaWYgKGluZGV4ID09IC0xKSB7CiAgICAgICAgICAgIGFyci5zcGxpY2UoaSwgMSk7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgfQp9OwpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZXNwYWNlZDogdHJ1ZSwKICBzdGF0ZTogc3RhdGUsCiAgZ2V0dGVyczogZ2V0dGVycywKICBtdXRhdGlvbnM6IG11dGF0aW9ucwp9Ow=="},{"version":3,"names":["Vue","state","shareLink","undefined","sparcApi","algoliaIndex","algoliaKey","algoliaId","pennsieveApi","flatmapAPI","nlLinkPrefix","rootUrl","facets","species","gender","organ","markers","featuredMarkers","featuredMarkerIdentifiers","featuredMarkerDois","featuredMarkerSpecies","featuredDatasetIdentifiers","getters","isFeaturedMarkerIdentifier","identifier","includes","featuredMarkerDoi","index","findIndex","element","mutations","updateShareLink","newLink","updateSparcAPI","api","updateAlgoliaIndex","updateAlgoliaKey","updateAlgoliaId","updatePennsieveApi","updateFlatmapAPI","updateNLLinkPrefix","updateRootUrl","updateMarkers","updateFeatured","datasetIdentifiers","Array","length","updateFeaturedMarker","payload","set","marker","doi","updateFeaturedMarkerIdentifier","markerIdentifier","resetFeaturedMarkerIdentifier","updateFacets","facetsIn","forEach","e","term","toLowerCase","facet","push","_i","_Object$entries","Object","entries","_Object$entries$_i","_slicedToArray","key","arr","i","indexOf","splice","namespaced"],"sources":["/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/settings.js"],"sourcesContent":["import Vue from \"vue\";\n\n/* eslint-disable no-alert, no-console */\nconst state = () => ({\n shareLink: undefined,\n sparcApi: undefined,\n algoliaIndex: \"k-core_dev_published_time_desc\",\n algoliaKey: undefined,\n algoliaId: undefined,\n pennsieveApi: undefined,\n flatmapAPI: undefined,\n nlLinkPrefix: undefined,\n rootUrl: undefined,\n facets: { species: [], gender: [], organ: [] },\n markers: [],\n featuredMarkers: [],\n featuredMarkerIdentifiers: [],\n featuredMarkerDois: [],\n featuredMarkerSpecies: [],\n featuredDatasetIdentifiers: [],\n});\n\nconst getters = {\n isFeaturedMarkerIdentifier: state => identifier => {\n return state.featuredMarkerIdentifiers.includes(identifier);\n },\n featuredMarkerDoi: state => identifier => {\n const index = state.featuredMarkerIdentifiers.findIndex(\n element => element == identifier\n );\n return state.featuredMarkerDois[index];\n },\n featuredMarkerSpecies: state => index => {\n return state.featuredMarkerSpecies[index];\n }\n};\n\nconst mutations = {\n updateShareLink(state, newLink) {\n state.shareLink = newLink;\n },\n updateSparcAPI(state, api) {\n state.sparcApi = api;\n },\n updateAlgoliaIndex(state, algoliaIndex) {\n state.algoliaIndex = algoliaIndex;\n },\n updateAlgoliaKey(state, algoliaKey) {\n state.algoliaKey = algoliaKey;\n },\n updateAlgoliaId(state, algoliaId) {\n state.algoliaId = algoliaId;\n },\n updatePennsieveApi(state, pennsieveApi) {\n state.pennsieveApi = pennsieveApi;\n },\n updateFlatmapAPI(state, flatmapAPI) {\n state.flatmapAPI = flatmapAPI;\n },\n updateNLLinkPrefix(state, nlLinkPrefix) {\n state.nlLinkPrefix = nlLinkPrefix;\n },\n updateRootUrl(state, rootUrl) {\n state.rootUrl = rootUrl;\n },\n updateMarkers(state, markers) {\n state.markers = markers;\n },\n updateFeatured(state, datasetIdentifiers) {\n state.featuredMarkerIdentifiers = new Array(datasetIdentifiers.length);\n state.featuredMarkers = new Array(datasetIdentifiers.length);\n state.featuredMarkerDois = new Array(datasetIdentifiers.length);\n state.featuredMarkerSpecies = new Array(datasetIdentifiers.length);\n state.featuredDatasetIdentifiers = datasetIdentifiers;\n },\n updateFeaturedMarker(state, payload) {\n const index = state.featuredDatasetIdentifiers.findIndex(\n element => element == payload.identifier\n );\n Vue.set(state.featuredMarkers, index, payload.marker);\n state.featuredMarkerDois[index] = payload.doi;\n state.featuredMarkerSpecies[index] = payload.species;\n },\n updateFeaturedMarkerIdentifier(state, payload) {\n state.featuredMarkerIdentifiers[payload.index] = payload.markerIdentifier;\n },\n resetFeaturedMarkerIdentifier(state) {\n state.featuredMarkerIdentifiers = new Array(\n state.featuredDatasetIdentifiers.length\n );\n },\n\n updateFacets(state, facetsIn) {\n // The following codes aim to minimise changes on the array\n let facets = { species: [], gender: [], organ: [] };\n //First add missing item\n if (facetsIn) {\n facetsIn.forEach(e => {\n switch (e.term.toLowerCase()) {\n case \"species\":\n if (e.facet.toLowerCase() !== \"show all\") {\n facets.species.push(e.facet);\n if (!state.facets.species.includes(e.facet)) {\n state.facets.species.push(e.facet);\n }\n } else {\n state.facets.species = [];\n }\n break;\n case \"gender\":\n if (e.facet.toLowerCase() !== \"show all\") {\n facets.gender.push(e.facet);\n if (!state.facets.species.includes(e.facet))\n state.facets.gender.push(e.facet);\n }\n break;\n case \"organ\":\n if (e.facet.toLowerCase() !== \"show all\") {\n facets.organ.push(e.facet);\n if (!state.facets.species.includes(e.facet))\n state.facets.organ.push(e.facet);\n }\n break;\n default:\n break;\n }\n });\n //Remove item not in list\n for (const [key, arr] of Object.entries(state.facets)) {\n let i = 0;\n for (i = arr.length - 1; i >= 0; i -= 1) {\n const index = facets[key].indexOf(arr[i]);\n if (index == -1) {\n arr.splice(i, 1);\n }\n }\n }\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n};\n"],"mappings":";;;;;;;;;AAAA,OAAOA,GAAG,MAAM,KAAK;;AAErB;AACA,IAAMC,KAAK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