PageSourceSearch

https://www.palmknihy.cz/-a1170---hj8MPCdH/scrollobserver.js?_linka=a59114

js palmknihy.cz collected 2026-09-24 09:41:32 UTC 936 bytes, 2 lines download raw bytes

1import KeenSliderProduct from "/-a822---TA9tJeLE/keen-slider-products.js?_linka=d25307";export default function scrollObserver(target){let selector=target||".js-lazy-element";const lazyElements=document.querySelectorAll(selector);let options={root:null,rootMargin:"500px"};let observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.intersectionRatio>0){if($(entry.target).data("tdi-href")){if(!$(entry.target).hasClass("lazy-element")?$(entry.target).addClass("lazy-element"):"");var urlTarget=$(entry.target).data("tdi-href");
2var urlMethod=$(entry.target).data("tdi-method")||"POST";TDI.Ajax.Request.send(urlTarget,{method:urlMethod})}else if($(entry.target).hasClass("carousel-wrapper")){let carouselPath="."+$(entry.target).attr("class").replaceAll(" ",".")+" .keen-slider";new KeenSliderProduct(carouselPath)}observer.unobserve(entry.target)}})},options);lazyElements.forEach(item=>{observer.observe(item)})};

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.