PageSourceSearch

https://www.fareedarmaly.net/site/templates/lib/scroll-appear/lib/scroll-appear.min.js?rand=813

js fareedarmaly.net collected 2026-10-01 13:02:15 UTC 1,353 bytes, 1 lines download raw bytes

1(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}};this.ScrollAppear=function(){function e(e,s){this.selector=e,null==s&&(s={}),this.update=t(this.update,this),this.onScroll=t(this.onScroll,this),this.ticking=!1,this.elements=[],this.defaultToggleClass=s.defaultToggleClass||"hidden",this.setElements(),window.addEventListener("scroll",this.onScroll)}return e.prototype.setElements=function(){var t,e,s,o,l,n;for(l=document.querySelectorAll(this.selector),n=[],s=0,o=l.length;s<o;s++)e=l[s],(t=e.getAttribute("data-appear-offset"))?n.push(this.elements.push({node:e,offset:parseInt(t),toggleClass:e.getAttribute("data-appear-toggle-class")||this.defaultToggleClass})):n.push(console.warn("Please set a data-appear-offset for "+e.outerHTML));return n},e.prototype.onScroll=function(){if(!this.ticking)return this.requestTick()},e.prototype.requestTick=function(){return requestAnimationFrame(this.update),this.ticking=!0},e.prototype.update=function(){var t,e,s,o;for(this.scrollY=window.pageYOffset,o=this.elements,e=0,s=o.length;e<s;e++)t=o[e],this.toggleAppearClass(t);return this.ticking=!1},e.prototype.toggleAppearClass=function(t){return this.scrollY>=t.offset?t.node.classList.remove(t.toggleClass):t.node.classList.add(t.toggleClass)},e}(),"undefined"!=typeof module&&(module.exports=this.ScrollAppear)}).call(this);

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.