PageSourceSearch

https://arthurmurraydenville.com/scripts/animation.js

js arthurmurraydenville.com collected 2026-10-07 17:36:55 UTC 842 bytes, 1 lines download raw bytes

1const inViewPort=function(t){let n=t.getBoundingClientRect();return n.top<=0&&n.bottom>=0||n.bottom>=window.innerHeight&&n.top<=window.innerHeight||n.top>=0&&n.bottom<=window.innerHeight};function animationReady(t){"loading"!=document.readyState?t():document.addEventListener("DOMContentLoaded",t,!1)}animationReady(()=>{let t=document.querySelectorAll(".animation"),n=document.querySelectorAll(".asl"),e=document.querySelectorAll(".ascale"),i=document.querySelectorAll(".afade");t.forEach(function(t){t.classList.add("opacity0")}),window.requestAnimationFrame(function t(){n.forEach(function(t){if(inViewPort(t))return t.classList.add("slide-in-left")}),e.forEach(function(t){if(inViewPort(t))return t.classList.add("scale-in")}),i.forEach(function(t){if(inViewPort(t))return t.classList.add("fade-in")}),window.requestAnimationFrame(t)})});

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.