1document.addEventListener("DOMContentLoaded", () => { 2 const trigger = document.getElementById("scroll-trigger"); 3 const backToTop = document.getElementById("back-to-top"); 4 5 // ãã¿ã³ãã¯ãªãã¯ããæã®ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 6 backToTop.addEventListener("click", () => { 7 window.scrollTo({ 8 top: 0, 9 behavior: "smooth", 10 }); 11 }); 12 13 const observer = new IntersectionObserver((entries) => { 14 const entry = entries[0]; 15 // ããªã¬ã¼ãç»é¢ããæ¶ããããã¿ã³è¡¨ç¤º 16 if (!entry.isIntersecting) { 17 backToTop.classList.add("is-visible"); 18 } else { 19 backToTop.classList.remove("is-visible"); 20 } 21 }); 22 23 observer.observe(trigger); 24});
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.