PageSourceSearch

https://adth.com/wp-content/themes/adth/js/anijs-helper-scrollreveal-min.js

js adth.com collected 2026-10-02 10:34:25 UTC 1,085 bytes, 1 lines download raw bytes

1!function(){var a=AniJS.getHelper();a.scrollReveal=function(a,c,d){var e=.07;animationContextBehaviorTargetList=c.behaviorTargetList,d.length<2&&"repeat"!==d[0]&&c.after.length<1&&(c.after=[AniJS.getHelper().fireOnce]),isNaN(parseFloat(d[0]))||(e=d[0]);for(var f=0;f<animationContextBehaviorTargetList.length;f++)element=animationContextBehaviorTargetList[f],b.isElementInViewport(element,e)?element.isRevealed||(element.isRevealed=1,c.run()):element.isRevealed=0};var b={viewportFactor:1,docElem:window.document.documentElement,isElementInViewport:function(a,b){var c=window.pageYOffset,d=c+this._getViewportH(),e=a.offsetHeight,f=this._getOffset(a).top,g=f+e,b=b||0;return d>=f+e*b&&g>=c||"fixed"==(a.currentStyle?a.currentStyle:window.getComputedStyle(a,null)).position},_getViewportH:function(){var a=this.docElem.clientHeight,b=window.innerHeight;return b>a?b:a},_getOffset:function(a){var b=0,c=0;do isNaN(a.offsetTop)||(b+=a.offsetTop),isNaN(a.offsetLeft)||(c+=a.offsetLeft);while(a=a.offsetParent);return{top:b,left:c}}};window.scroll(window.scrollX,window.scrollY+1)}(window);

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.