1function createOverlay(e){const t=document.createElement("img");return t.setAttribute("src",`${e.src}`),overlay=document.createElement("div"),prepareOverlay(overlay,t),e.style.opacity="50%",toggleLoadingSpinner(e),t.onload=()=>{toggleLoadingSpinner(e),e.parentElement.insertBefore(overlay,e),e.style.opacity="100%"},overlay}function prepareOverlay(e,t){e.setAttribute("class","image-magnify-full-size"),e.setAttribute("aria-hidden","true"),e.style.backgroundImage=`url('${t.src}')`,e.style.backgroundColor="var(--gradient-background)"}function toggleLoadingSpinner(e){e.parentElement.parentElement.querySelector(".loading__spinner").classList.toggle("hidden")}function moveWithHover(e,t,n){const o=e.height/e.width,r=t.target.getBoundingClientRect(),i=t.clientX-r.left,a=t.clientY-r.top,l=i/(e.clientWidth/100)+"%",c=a/(e.clientWidth*o/100)+"%";overlay.style.backgroundPosition=`${l} ${c}`,overlay.style.backgroundSize=e.width*n+"px"}function magnify(e,t){const n=createOverlay(e);n.onclick=()=>n.remove(),n.onmousemove=n=>moveWithHover(e,n,t),n.onmouseleave=()=>n.remove()}function enableZoomOnHover(e){document.querySelectorAll(".image-magnify-hover").forEach((t=>{t.onclick=n=>{magnify(t,e),moveWithHover(t,n,e)}}))}enableZoomOnHover(2);
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.