1const links=document.querySelectorAll(".related-letter"),sections=document.querySelectorAll(".letter-title"),termsWrapper=document.getElementById("terms-wrapper");function changeLinkState(){links.forEach((e,t)=>{termsWrapper.scrollTop>=sections[t].offsetTop-61&&(links.forEach(e=>e.classList.remove("active")),links[t].classList.add("active"))})}shareIconInit(termsWrapper),changeLinkState(),termsWrapper.addEventListener("scroll",changeLinkState),links.forEach(e=>{e.addEventListener("click",function(){links.forEach(e=>e.classList.remove("active")),e.classList.add("active")})});let dictionarySearch=document.querySelectorAll(".dictionary-search"),terms=document.querySelectorAll(".dictionary-terms"),relatedLetters=document.getElementById("relatedLetters"),dictionaryEmpty=document.getElementById("dictionary-empty"),results=[],copyAnchor=(terms.forEach(e=>{e=e.dataset.term,results.push(e)}),dictionarySearch.forEach(e=>{e.addEventListener("keyup",function(e){e.preventDefault();let t=e.target.value,r=0;results.every(e=>!e.includes(t))?relatedLetters.classList.add("hide"):relatedLetters.classList.remove("hide"),terms.forEach(e=>{var s=e.dataset.term;document.querySelectorAll(".letter-title").forEach(e=>{var t,r=e.nextElementSibling;null===r||r.classList.contains("letter-title")||(t=e.dataset.title,t=document.querySelector(`[data-letter=${t}]`),r.classList.contains("hide")?(e.classList.add("hide"),t.classList.add("hide")):(e.classList.remove("hide"),t.classList.remove("hide")))}),s.includes(t)?(e.classList.remove("hide"),r++):e.classList.add("hide")}),0===r?dictionaryEmpty.classList.remove("hide"):dictionaryEmpty.classList.add("hide")})}),document.querySelectorAll(".copy-anchor"));copyAnchor.forEach(e=>{e.addEventListener("click",function(){var t,r=e.parentNode.getAttribute("id");window.location.href.includes("en")?(navigator.clipboard.writeText(window.location.hostname+"/en/dictionary/#"+r),window.location.hash=r):(navigator.clipboard.writeText(window.location.hostname+"/dictionary/#"+r),window.location.hash=r)})});
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.