';else if(0===t.length)s.innerHTML='
';else{t.sort(function(e,t){return e.hitCount!=t.hitCount?t.hitCount-e.hitCount:e.id-t.id});var o='';t.forEach(function(e,t){o+=e.item}),o+="
",s.innerHTML=o}}),proceedsearch()}})};$(".popup-trigger").click(function(e){e.stopPropagation(),!1===isfetched?searchFunc(path,"local-search-input","local-search-result"):proceedsearch()}),$(".popup-btn-close").click(onPopupClose),$(".popup").click(function(e){e.stopPropagation()})