PageSourceSearch

https://www.rails.com/cdn/shop/t/1622/assets/lazy-load-images-vite-MKimLRwW.js

js rails.com collected 2026-09-25 14:08:50 UTC 655 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){o()});function o(){c();function c(){let n=[].slice.call(document.querySelectorAll(".lazy [data-srcset]"));if(n.length<1)return;const i={rootMargin:`${window.innerHeight}px`};if("IntersectionObserver"in window){let t=new IntersectionObserver(function(s){s.forEach(function(r){if(r.isIntersecting){let e=r.target;e.srcset=e.dataset.srcset,e.hasAttribute("src")&&(e.src=e.dataset.src),e.parentElement.classList.remove("lazy"),t.unobserve(e)}})},i);n.forEach(function(s){t.observe(s)})}else n.forEach(function(t){t.srcset=t.dataset.srcset,t.hasAttribute("src")&&(t.src=t.dataset.src)})}}export{o as i};

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.