1document.addEventListener("DOMContentLoaded", function () { 2 const classes = ["anim-slide-b-t", "anim-slide-l-r", "anim-slide-r-l"]; 3 4 const observer = new IntersectionObserver(entries => { 5 entries.forEach(entry => { 6 if (entry.isIntersecting) { 7 entry.target.classList.add("active"); 8 observer.unobserve(entry.target); 9 } 10 }); 11 }, { threshold: 0.2 }); 12 13 classes.forEach(className => { 14 document.querySelectorAll(`.${className}`).forEach(el => observer.observe(el)); 15 }); 16});
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.