1 2document.addEventListener('DOMContentLoaded', () => { 3 const observerOptions = { 4 root: null, 5 rootMargin: '0px', 6 threshold: 0.1 7 }; 8 9 const observer = new IntersectionObserver((entries, observer) => { 10 entries.forEach(entry => { 11 if (entry.isIntersecting) { 12 entry.target.classList.add('is-visible'); 13 observer.unobserve(entry.target); // Only animate once 14 } 15 }); 16 }, observerOptions); 17 18 const animatedElements = document.querySelectorAll('.reveal-on-scroll'); 19 animatedElements.forEach(el => observer.observe(el)); 20});
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.