function setupSearchListeners(){const searchInput=document.getElementById("search_input");if(!searchInput)return;searchInput.addEventListener("keydown",e=>{const dropdown=document.getElementById("autocomplete_dropdown");const isDropdownVisible=dropdown.style.display!=="none";if(e.key==="Enter"){e.preventDefault();performSearch(searchInput.value);dropdown.style.display="none";currentActiveIndex=-1;return}})}