1function openSearch(){$(".search").show()}function closeSearch(){$(".search").click(function(e){$(".search").hide()}),menuCloseException()}function menuCloseException(){$("html").click(function(e){$(".search").hide()}),$(".search-box, .search-icon, .btn-search").click(function(e){e.stopPropagation()})}function filterException(){$("html").click(function(e){$(".filter-options .tab-content .tab-pane").removeClass("active show"),$(".filter-options .nav-link").removeClass("active")}),$(".filter-options, .filter-options .tab-content").click(function(e){e.stopPropagation()})}function scrollBody(){$(window).scroll(function(){var e=$(window).scrollTop();e>550&&$(".reg-header").hide().fadeOut("slow"),e<551&&$(".reg-header").show().fadeIn("slow")})}function updateHeaderHeight(){const e=document.querySelector("header"),t=document.querySelectorAll(".header-height"),n=document.querySelectorAll(".events-head");if(e){const o=e.offsetHeight+"px";t.forEach(e=>{e.style.marginTop=o}),n.forEach(e=>{e.style.top=o})}}$(document).ready(function(){closeSearch(),filterException(),scrollBody()}),document.addEventListener("DOMContentLoaded",updateHeaderHeight);const header=document.querySelector("header");if(header){new ResizeObserver(updateHeaderHeight).observe(header)}function clearSearchQueryHeader(e){const t=document.getElementById(e+"_query");t.value="";const n=document.getElementById(e+"_suggestion");t.value="",n&&(n.style.display="none",n.innerHTML="");const o=new URL(window.location.href);o.searchParams.delete("q"),history.pushState(null,"",o.toString()),sendToPerformSearch(e)}function handleEnterHeader(e,t){const n=document.getElementById(t+"_query");"Enter"===e.key&&sendToPerformSearchValue(n.value)}function sendToPerformSearch(e){const t=document.getElementById(e+"_query").value.trim();if(""!==t){let e="/"+SUB_ORGANIZATION+"/search?q="+encodeURIComponent(t);window.location.href=e}else window.location.href="/"+SUB_ORGANIZATION+"/search"}function sendToPerformSearchValue(e){if(""!==e.trim()){let t="/"+SUB_ORGANIZATION+"/search?q="+encodeURIComponent(e);window.location.href=t}}document.querySelectorAll(".search-wrapper").forEach(e=>{const t=e.dataset.unique,n=e.querySelector(`#${t}_query`),o=e.querySelector(`#${t}_suggestion`);n.addEventListener("input",function(e){const t=e.target.value;t.length>2?fetch(autocompleteUrl,{method:"POST",headers:{"Content-Type":"application/json","X-CSRF-TOKEN":csrfToken},body:JSON.stringify({query:t})}).then(e=>e.json()).then(e=>{o.innerHTML="",e.suggestions.length>0?(o.style.display="block",e.suggestions.forEach(e=>{const t=document.createElement("div");t.textContent=e.text,t.classList.add("suggestion-item"),t.addEventListener("click",()=>{n.value=e.text,o.style.display="none",window.location.pathname.includes("search")?performSearch():sendToPerformSearchValue(n.value)}),o.appendChild(t)})):o.style.display="none"}):o.style.display="none"}),document.addEventListener("click",function(t){e.contains(t.target)||(o.style.display="none")})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.