{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue","mtime":499162500000},{"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/thread-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/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyLmpzIjsKaW1wb3J0IF90b0NvbnN1bWFibGVBcnJheSBmcm9tICIvaG9tZS9jbWlzcy9KZW5raW5zL3dvcm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Y2V0TWFwc1tldmVudFtpXVswXV0gPSBbXTsKICAgICAgICAgIGZhY2V0TWFwc1tldmVudFtpXVswXV0ucHVzaChldmVudFtpXSk7CiAgICAgICAgfQogICAgICAgIC8vIGdvIHRocm91Z2ggZWFjaCBmYWNldHMKICAgICAgICBmb3IgKHZhciBmYWNldCBpbiBmYWNldE1hcHMpIHsKICAgICAgICAgIHZhciBzaG93QWxsID0gdW5kZWZpbmVkOwogICAgICAgICAgLy8gRmluZCB0aGUgc2hvdyBhbGwgaXRlbSBpZiBhbnkKICAgICAgICAgIGZvciAodmFyIF9pID0gZmFjZXRNYXBzW2ZhY2V0XS5sZW5ndGggLSAxOyBfaSA+PSAwOyBfaS0tKSB7CiAgICAgICAgICAgIGlmIChmYWNldE1hcHNbZmFjZXRdW19pXVsxXS50b0xvd2VyQ2FzZSgpLmluY2x1ZGVzKCJzaG93IGFsbCIpKSB7CiAgICAgICAgICAgICAgLy9zZXBlcmF0ZSB0aGUgc2hvd0FsbCBpdGVtIGFuZCB0aGUgcmVzdAogICAgICAgICAgICAgIHNob3dBbGwgPSBmYWNldE1hcHNbZmFjZXRdLnNwbGljZShfaSwgMSlbMF07CiAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGlmIChzaG93QWxsKSB7CiAgICAgICAgICAgIGlmICh0aGlzLnByZXZpb3VzU2hvd0FsbENoZWNrZWRbZmFjZXRdKSB7CiAgICAgICAgICAgICAgLy9VbnNldCB0aGUgc2hvdyBhbGwgaWYgaXQgd2FzIHByZXNlbnQgcHJldmlvdXNseQogICAgICAgICAgICAgIC8vYW5kIHRoZXJlIGFyZSBvdGhlciBpdGVtcwogICAgICAgICAgICAgIGlmIChmYWNldE1hcHNbZmFjZXRdLmxlbmd0aCA+IDApIG1vZGlmaWVkRXZlbnQucHVzaC5hcHBseShtb2RpZmllZEV2ZW50LCBfdG9Db25zdW1hYmxlQXJyYXkoZmFjZXRNYXBzW2ZhY2V0XSkpO2Vsc2UgbW9kaWZpZWRFdmVudC5wdXNoKHNob3dBbGwpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgIC8vc2hvd0FsbCBpcyB0dXJuZWQgb24KICAgICAgICAgICAgICBtb2RpZmllZEV2ZW50LnB1c2goc2hvd0FsbCk7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIG1vZGlmaWVkRXZlbnQucHVzaC5hcHBseShtb2RpZmllZEV2ZW50LCBfdG9Db25zdW1hYmxlQXJyYXkoZmFjZXRNYXBzW2ZhY2V0XSkpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgICAvL01ha2Ugc3VyZSB0aGUgZXhwYW5kZWQgaXRlbSBhcmUgc29ydGVkIGZpcnN0LgogICAgICAgIHJldHVybiBtb2RpZmllZEV2ZW50LnNvcnQoZnVuY3Rpb24gKGEsIGIpIHsKICAgICAgICAgIGlmIChfdGhpczMuX19leHBhbmRJdGVtX18pIHsKICAgICAgICAgICAgaWYgKGFbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgaWYgKGJbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIC0xOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIGlmIChiWzBdID09IF90aGlzMy5fX2V4cGFuZEl0ZW1fXykgewogICAgICAgICAgICAgIGlmIChhWzBdID09IF90aGlzMy5fX2V4cGFuZEl0ZW1fXykgewogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICA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wKICAgICAgICAgICAgICAgICAgX3N0ZXAyOwogICAgICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgICAgZm9yIChfaXRlcmF0b3IyLnMoKTsgIShfc3RlcDIgPSBfaXRlcmF0b3IyLm4oKSkuZG9uZTspIHsKICAgICAgICAgICAgICAgICAgICB2YXIgc2Vjb25kTGF5ZXIgPSBfc3RlcDIudmFsdWU7CiAgICAgICAgICAgICAgICAgICAgaWYgKHNlY29uZExheWVyLmxhYmVsID09PSBmaWx0ZXIuZmFjZXQpIHsKICAgICAgICAgICAgICAgICAgICAgIC8vIGlmIHdlIGZpbmQgYSBtYXRjaCBvbiB0aGUgc2Vjb25kIGxldmVsLCB0aGUgZmlsdGVyIHdpbGwgYWxyZWFkeSBiZSBjb3JyZWN0CiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmlsdGVyOwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICBpZiAoc2Vjb25kTGF5ZXIuY2hpbGRyZW4gJiYgc2Vjb25kTGF5ZXIuY2hpbGRyZW4ubGVuZ3RoID4gMCkgewogICAgICAgICAgICAgICAgICAgICAgICB2YXIgX2l0ZXJhdG9yMyA9IF9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyKHNlY29uZExheWVyLmNoaWxkcmVuKSwKICAgICAgICAgICAgICAgICAgICAgICAgICBfc3RlcDM7CiAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChfaXRlcmF0b3IzLnMoKTsgIShfc3RlcDMgPSBfaXRlcmF0b3IzLm4oKSkuZG9uZTspIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciB0aGlyZExheWVyID0gX3N0ZXAzLnZhbHVlOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXJkTGF5ZXIubGFiZWwgPT09IGZpbHRlci5mYWNldCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBJZiB3ZSBmaW5kIGEgbWF0Y2ggb24gdGhlIHRoaXJkIGxldmVsLCB3ZSBuZWVkIHRvIHN3aXRjaCBmYWNldDEgdG8gZmFjZXQyCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vICAgYW5kIHBvcHVsYXRlIGZhY2V0MSB3aXRoIGl0cyBwYXJlbnRzIGxhYmVsLgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmaWx0ZXIuZmFjZXQyID0gdGhpcmRMYXllci5sYWJlbDsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyLmZhY2V0ID0gc2Vjb25kTGF5ZXIubGFiZWw7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmaWx0ZXI7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICBfaXRlcmF0b3IzLmUoZXJyKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgICAgICAgICAgICAgICBfaXRlcmF0b3IzLmYoKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyKSB7CiAgICAgICAgICAgICAgICAgIF9pdGVyYXRvcjIuZShlcnIpOwogICAgICAgICAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgICAgICAgICAgX2l0ZXJhdG9yMi5mKCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9IGNhdGNoIChlcnIpIHsKICAgICAgICAgICAgX2l0ZXJhdG9yLmUoZXJyKTsKICAgICAgIC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UNsaWVudC5pbml0SW5kZXgodGhpcy5lbnZWYXJzLkFMR09MSUFfSU5ERVgpOwogICAgdGhpcy5wb3B1bGF0ZUNhc2NhZGVyKCkudGhlbihmdW5jdGlvbiAoKSB7CiAgICAgIF90aGlzNy5jYXNjYWRlcklzUmVhZHkgPSB0cnVlOwogICAgICBfdGhpczcuY2hlY2tTaG93QWxsQm94ZXMoKTsKICAgICAgX3RoaXM3LnNldENhc2NhZGVyKF90aGlzNy5lbnRyeS5maWx0ZXJGYWNldHMpOwogICAgICBfdGhpczcuY3NzTW9kcygpOwogICAgICBfdGhpczcuJGVtaXQoImNhc2NhZGVyUmVhZHkiKTsKICAgIH0pOwogIH0KfTs="},{"version":3,"names":["Vue","CustomCascader","lang","locale","speciesMap","MapSvgIcon","MapSvgSpriteColor","AlgoliaClient","facetPropPathMapping","use","_Option","_Select","_Popover","capitalise","txt","charAt","toUpperCase","slice","convertReadableLabel","original","name","toLowerCase","components","props","entry","Object","envVars","type","default","_default","data","cascaderIsReady","previousShowAllChecked","species","gender","organ","datasets","showFilters","showFiltersText","cascadeSelected","cascadeSelectedWithBoolean","numberShown","filters","facets","numberDatasetsShown","multiple","options","value","label","children","computed","numberOfResultsText","concat","numberOfHits","methods","createCascaderItemValue","term","facet1","arguments","length","undefined","facet2","console","warn","populateCascader","_this","Promise","resolve","algoliaClient","getAlgoliaFacets","then","forEach","facet","i","key","unshift","facetItem","j","k","finally","tagsChangedCallback","presentTags","cascadeEvent","event","_this2","showAllEventModifier","filterKeys","filter","selection","map","fs","_this2$findHierarachy","findHierarachyStringAndBooleanString","hString","bString","_this2$getFacetsFromH","getFacetsFromHierarchyString","facetPropPath","AND","facetSubPropPath","propPath","includes","split","_this2$findHierarachy2","_this2$getFacetsFromH2","$emit","setCascader","cssMods","cascadeEventItem","hierarchyString","fsSplit","_this3","hasShowAll","ev","modifiedEvent","facetMaps","push","showAll","splice","apply","_toConsumableArray","sort","a","b","__expandItem__","cascadeExpandChange","numberShownChanged","parseInt","updatePreviousShowAllChecked","_this4","element","filterFacets","_this5","e","addFilter","filterToAdd","validateAndConvertFilterToHierarchical","f","initiateSearch","checkShowAllBoxes","option","makeCascadeLabelsClickable","$nextTick","document","querySelectorAll","el","onclick","checkbox","previousElementSibling","parentElement","attributes","click","removeTopLevelCascaderCheckboxes","cascadePanels","style","display","_iterator","_createForOfIteratorHelper","_step","s","n","done","firstLayer","_iterator2","_step2","secondLayer","_iterator3","_step3","thirdLayer","err","getHierarchicalValidatedFilters","_this6","result","validatedFilter","mounted","_this7","ALGOLIA_ID","ALGOLIA_KEY","PENNSIEVE_API_LOCATION","initIndex","ALGOLIA_INDEX"],"sources":["node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue"],"sourcesContent":["\n \n \n \n \n \n \n Filters\n \n \n \n \n Within categories: OR \n \n example: 'heart' OR 'colon'\n \n \n Between categories: AND\n \n example: 'rat' AND 'lung'\n \n \n \n \n \n\n \n \n \n {{ this.numberOfResultsText }}\n \n\n\n\n\n\n\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkEA;AACA,OAAAA,GAAA;AAEA,OAAAC,cAAA;AACA,OAAAC,IAAA;AACA,OAAAC,MAAA;AACA,OAAAC,UAAA;AACA,SAAAC,UAAA,EAAAC,iBAAA;AAEA,SAAAC,aAAA;AACA,SAAAC,oBAAA;AAEAL,MAAA,CAAAM,GAAA,CAAAP,IAAA;AACAF,GAAA,CAAAS,GAAA,CAAAC,OAAA;AACAV,GAAA,CAAAS,GAAA,CAAAE,OAAA;AACAX,GAAA,CAAAS,GAAA,CAAAG,QAAA;AAEA,IAAAC,UAAA,YAAAA,WAAAC,GAAA;EACA,OAAAA,GAAA,CAAAC,MAAA,IAAAC,WAAA,KAAAF,GAAA,CAAAG,KAAA;AACA;AAEA,IAAAC,oBAAA,YAAAA,qBAAAC,QAAA;EACA,IAAAC,IAAA,GAAAD,QAAA,CAAAE,WAAA;EACA,IAAAjB,UAAA,CAAAgB,IAAA;IACA,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