{"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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ICAgICAgICAgIHZhciBzaG93QWxsID0gdW5kZWZpbmVkOwogICAgICAgICAgLy8gRmluZCB0aGUgc2hvdyBhbGwgaXRlbSBpZiBhbnkKICAgICAgICAgIGZvciAodmFyIF9pID0gZmFjZXRNYXBzW2ZhY2V0XS5sZW5ndGggLSAxOyBfaSA+PSAwOyBfaS0tKSB7CiAgICAgICAgICAgIGlmIChmYWNldE1hcHNbZmFjZXRdW19pXVsxXS50b0xvd2VyQ2FzZSgpLmluY2x1ZGVzKCJzaG93IGFsbCIpKSB7CiAgICAgICAgICAgICAgLy9zZXBlcmF0ZSB0aGUgc2hvd0FsbCBpdGVtIGFuZCB0aGUgcmVzdAogICAgICAgICAgICAgIHNob3dBbGwgPSBmYWNldE1hcHNbZmFjZXRdLnNwbGljZShfaSwgMSlbMF07CiAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGlmIChzaG93QWxsKSB7CiAgICAgICAgICAgIGlmICh0aGlzLnByZXZpb3VzU2hvd0FsbENoZWNrZWRbZmFjZXRdKSB7CiAgICAgICAgICAgICAgLy9VbnNldCB0aGUgc2hvdyBhbGwgaWYgaXQgd2FzIHByZXNlbnQgcHJldmlvdXNseQogICAgICAgICAgICAgIC8vYW5kIHRoZXJlIGFyZSBvdGhlciBpdGVtcwogICAgICAgICAgICAgIGlmIChmYWNldE1hcHNbZmFjZXRdLmxlbmd0aCA+IDApIG1vZGlmaWVkRXZlbnQucHVzaC5hcHBseShtb2RpZmllZEV2ZW50LCBfdG9Db25zdW1hYmxlQXJyYXkoZmFjZXRNYXBzW2ZhY2V0XSkpO2Vsc2UgbW9kaWZpZWRFdmVudC5wdXNoKHNob3dBbGwpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgIC8vc2hvd0FsbCBpcyB0dXJuZWQgb24KICAgICAgICAgICAgICBtb2RpZmllZEV2ZW50LnB1c2goc2hvd0FsbCk7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIG1vZGlmaWVkRXZlbnQucHVzaC5hcHBseShtb2RpZmllZEV2ZW50LCBfdG9Db25zdW1hYmxlQXJyYXkoZmFjZXRNYXBzW2ZhY2V0XSkpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgICAvL01ha2Ugc3VyZSB0aGUgZXhwYW5kZWQgaXRlbSBhcmUgc29ydGVkIGZpcnN0LgogICAgICAgIHJldHVybiBtb2RpZmllZEV2ZW50LnNvcnQoZnVuY3Rpb24gKGEsIGIpIHsKICAgICAgICAgIGlmIChfdGhpczMuX19leHBhbmRJdGVtX18pIHsKICAgICAgICAgICAgaWYgKGFbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgaWYgKGJbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIC0xOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIGlmIChiWzBdID09IF90aGlzMy5fX2V4cGFuZEl0ZW1fXykgewogICAgICAgICAgICAgIGlmIChhWzBdID09IF90aGlzMy5fX2V4cGFuZEl0ZW1fXykgewogICAgICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHJldHVybiAxOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgfQogICAgICAgICAgfSBlbHNlIHJldHVybiAwOwogICAgICAgIH0pOwogICAgICB9CiAgICAgIHJldHVybiBldmVudDsKICAgIH0sCiAgICBjYXNjYWRlRXhwYW5kQ2hhbmdlOiBmdW5jdGlvbiBjYXNjYWRlRXhwYW5kQ2hhbmdlKGV2ZW50KSB7CiAgICAgIC8vd29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ExheWVyID0gX3N0ZXAyLnZhbHVlOwogICAgICAgICAgICAgICAgICAgIGlmIChzZWNvbmRMYXllci5sYWJlbCA9PT0gZmlsdGVyLmZhY2V0KSB7CiAgICAgICAgICAgICAgICAgICAgICAvLyBpZiB3ZSBmaW5kIGEgbWF0Y2ggb24gdGhlIHNlY29uZCBsZXZlbCwgdGhlIGZpbHRlciB3aWxsIGFscmVhZHkgYmUgY29ycmVjdAogICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZpbHRlcjsKICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgaWYgKHNlY29uZExheWVyLmNoaWxkcmVuICYmIHNlY29uZExheWVyLmNoaWxkcmVuLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIF9pdGVyYXRvcjMgPSBfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlcihzZWNvbmRMYXllci5jaGlsZHJlbiksCiAgICAgICAgICAgICAgICAgICAgICAgICAgX3N0ZXAzOwogICAgICAgICAgICAgICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAoX2l0ZXJhdG9yMy5zKCk7ICEoX3N0ZXAzID0gX2l0ZXJhdG9yMy5uKCkpLmRvbmU7KSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdGhpcmRMYXllciA9IF9zdGVwMy52YWx1ZTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlyZExheWVyLmxhYmVsID09PSBmaWx0ZXIuZmFjZXQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gSWYgd2UgZmluZCBhIG1hdGNoIG9uIHRoZSB0aGlyZCBsZXZlbCwgd2UgbmVlZCB0byBzd2l0Y2ggZmFjZXQxIHRvIGZhY2V0MgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgIGFuZCBwb3B1bGF0ZSBmYWNldDEgd2l0aCBpdHMgcGFyZW50cyBsYWJlbC4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyLmZhY2V0MiA9IHRoaXJkTGF5ZXIubGFiZWw7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbHRlci5mYWNldCA9IHNlY29uZExheWVyLmxhYmVsOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmlsdGVyOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgX2l0ZXJhdG9yMy5lKGVycik7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgX2l0ZXJhdG9yMy5mKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycikgewogICAgICAgICAgICAgICAgICBfaXRlcmF0b3IyLmUoZXJyKTsKICAgICAgICAgICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgICAgICAgIF9pdGVyYXRvcjIuZigpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfSBjYXRjaCAoZXJyKSB7CiAgICAgICAgICAgIF9pdGVyYXRvci5lKGVycik7CiAgICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBfaXRlcmF0b3IuZigpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAogICAgZ2V0SGllcmFyY2hpY2FsVmFsaWRhdGVkRmlsdGVyczogZnVuY3Rpb24gZ2V0SGllcmFyY2hpY2FsVmFsaWRhdGVkR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DYXNjYWRlcihfdGhpczcuZW50cnkuZmlsdGVyRmFjZXRzKTsKICAgICAgX3RoaXM3LmNzc01vZHMoKTsKICAgICAgX3RoaXM3LiRlbWl0KCJjYXNjYWRlclJlYWR5Iik7CiAgICB9KTsKICB9Cn07"},{"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","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","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":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n Filters\r\n \r\n \r\n \r\n \r\n Within categories: OR \r\n \r\n example: 'heart' OR 'colon'\r\n \r\n \r\n Between categories: AND\r\n \r\n example: 'rat' AND 'lung'\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ this.numberOfResultsText }}\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\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,OAAAP,UAAA,CAAAT,UAAA,CAAAgB,IAAA;EACA;IACA,OAAAP,UAAA,CAAAO,IAAA;EACA;AACA;AAEA;EACAA,IAAA;EACAE,UAAA;IACArB,cAAA,EAAAA,cAAA;IACAI,UAAA,EAAAA,UAAA;IACAC,iBAAA,EAA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