1document.addEventListener("DOMContentLoaded",function(){var body=document.querySelector("body"),header=document.querySelector(".site-header"),logoWidth=maiScroll.logoWidth,logoTop=maiScroll.logoTop,logoBottom=maiScroll.logoBottom,logoShrinkWidth=maiScroll.logoShrinkWidth,logoShrinkTop=maiScroll.logoShrinkTop,logoShrinkBottom=maiScroll.logoShrinkBottom,hasShrinkHeader=body.classList.contains("has-shrink-header"),hasRevealHeader=body.classList.contains("has-reveal-header"),hasStickyHeader=hasRevealHeader||body.classList.contains("has-shrink-header"),scrollClassAdded=!1,scrollingDown=!0,scrollingUp=!1,headerConcealed=!1,startDistance=!1,previousPercentage=0,scrollDowns=[],stuckClassAdded=!1,afterHeader=!1,bodyScroll;if(basicScroll.create({elem:body,from:0,to:"bottom-bottom",props:{},inside:(instance,percentage,props)=>{if(percentage>0&&!scrollClassAdded?addScrollClass():percentage<=0&&scrollClassAdded&&removeScrollClass(),hasRevealHeader){var scrollTop=!1;!1===startDistance&&(scrollTop=getScrollTop(),startDistance=scrollTop),scrollingUp=!(scrollingDown=percentage>previousPercentage),previousPercentage=percentage,scrollDowns=storeItem(scrollDowns,scrollingDown,4),scrollingUp&&headerConcealed&&percentage<=10&&revealHeader(),sameItems(scrollDowns)?(!1===scrollTop&&(scrollTop=getScrollTop()),hasScrolledEnough=scrolledEnough(startDistance,scrollTop,scrollingDown),hasScrolledEnough?!headerConcealed&&scrollingDown?concealHeader():headerConcealed&&scrollingUp&&revealHeader():headerConcealed&&scrollingUp&&!afterHeader&&revealHeader()):startDistance=!1}},outside:(instance,percentage,props)=>{percentage<=0&&(scrollClassAdded&&removeScrollClass(),headerConcealed&&revealHeader())}}).start(),header){var root=document.documentElement,headerHeight=0,headerScroll;basicScroll.create({elem:document.querySelector("#header-trigger"),from:"top-top",to:"bottom-top",props:hasShrinkHeader?{"--text-title":{from:"100%",to:"70%"},"--logo-width":{from:logoWidth+"px",to:logoShrinkWidth+"px"},"--logo-margin-top":{from:logoTop+"px",to:logoShrinkTop+"px"},"--logo-margin-bottom":{from:logoBottom+"px",to:logoShrinkBottom+"px"}}:[],inside:(instance,percentage,props)=>{afterHeader&&(afterHeader=!1),hasStickyHeader&&(percentage>10?stick():unstick())},outside:(instance,percentage,props)=>{if(percentage<=10){if(afterHeader&&(afterHeader=!1),!hasStickyHeader)return;unstick()}else afterHeader||(afterHeader=!0)}}).start()}function getScrollTop(){return(document.scrollingElement||document.documentElement).scrollTop}function addScrollClass(){body.classList.add("scroll"),scrollClassAdded=!0}function removeScrollClass(){body.classList.remove("scroll"),scrollClassAdded=!1}function stick(){stuckClassAdded||(body.classList.add("header-stuck"),header.classList.add("stuck"),stuckClassAdded=!0,hasShrinkHeader&&(window.innerWidth<=768||(""===header.style.position&&(header.style.position="fixed"),headerHeight=header.clientHeight,root.style.setProperty("--header-spacer",headerHeight+"px"))))}function unstick(){stuckClassAdded&&(body.classList.remove("header-stuck"),header.classList.remove("stuck"),stuckClassAdded=!1,hasShrinkHeader&&(window.innerWidth<=768&&""===header.style.position||(header.style.position="",root.style.setProperty("--header-spacer","0"))))}function concealHeader(){header&&(header.classList.remove("reveal-header"),header.classList.add("conceal-header"),headerConcealed=!0)}function revealHeader(){header&&(header.classList.remove("conceal-header"),header.classList.add("reveal-header"),headerConcealed=!1)}function storeItem(existingItems,newItem,total){if(existingItems.length>total){var tempTotal=total-1;existingItems=existingItems.slice(-tempTotal)}return existingItems.push(newItem),existingItems}function sameItems(array){return array.every(function(v,i,a){return 0===i||v===a[i-1]})}function scrolledEnough(firstItem,lastItem,scrollingDown){return!(!firstItem||!lastItem)&&(scrollingDown?scrolledDownEnough(firstItem,lastItem):scrolledUpEnough(firstItem,lastItem))}function scrolledDownEnough(firstItem,lastItem){return lastItem-firstItem>320}function scrolledUpEnough(firstItem,lastItem){return firstItem-lastItem>160}});
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.