1var waitForFinalEvent=function(){var timers={};return function(callback,ms,uniqueId){if(!uniqueId){uniqueId="Don't call this twice without a uniqueId"} 2if(timers[uniqueId]){clearTimeout(timers[uniqueId])} 3timers[uniqueId]=setTimeout(callback,ms)}};(function(){if(typeof window.CustomEvent==="function")return!1;function CustomEvent(event,params){params=params||{bubbles:!1,cancelable:!1,detail:undefined};var evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt} 4CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent})();var pageblockActive=new CustomEvent('pageblock:active');var pageBlockListener=function(){var elems,windowHeight;var init=function(){elems=document.getElementsByClassName('pageblock');windowHeight=window.innerHeight;_addEventHandlers();_checkPosition()};var _addEventHandlers=function(){window.addEventListener('scroll',_checkPosition);window.addEventListener('resize',function(){waitForFinalEvent(function(){init()},500,'pageblock_resize')})};var _checkPosition=function(){var offset=parseInt(oms_pageblocks.scroll_offset);for(var i=0;i<elems.length;i++){var posFromTop=elems[i].getBoundingClientRect().top;if((posFromTop+offset)-windowHeight<=0){if(!elems[i].classList.contains('active')){elems[i].dispatchEvent(pageblockActive);elems[i].classList.add('active')}}}};return{init:init}};window.addEventListener('load',function(){pageBlockListener().init()})
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.