PageSourceSearch

https://slurrpfarm.com/cdn/shop/t/608/assets/product-recommendations.js?v=157769305786835783231787548664

js slurrpfarm.com collected 2026-10-06 09:02:44 UTC 1,903 bytes, 2 lines download raw bytes

1class ProductRecommendations extends HTMLElement{constructor(){super();const handleIntersection=(entries,observer)=>{if(entries[0].isIntersecting){if(observer.unobserve(this),!this.dataset.url){console.error("Error: No URL provided for product recommendations");return}fetch(this.dataset.url).then(response=>response.text()).then(text=>{const html=document.createElement("div");html.innerHTML=text;const recommendations=html.querySelector("product-recommendations");if(recommendations?.innerHTML.trim().length){this.innerHTML=recommendations.innerHTML;const splideList=this.querySelector(".splide__list"),sectionWrapper=this.closest(".spaced-section");if(splideList&&splideList.children.length===0&&sectionWrapper){sectionWrapper.style.display="none";return}const reviewStars=document.querySelectorAll(".review-box .jdgm-prev-badge__stars"),reviewCountText=document.querySelectorAll(".review-box .jdgm-prev-badge__text");for(let z=0;z<reviewStars.length;z++){const ratingCount=Math.round(reviewStars[z].getAttribute("data-score")*10)/10;reviewStars[z].innerHTML=`<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.5 0L6.73483 3.80041H10.7308L7.49799 6.14919L8.73282 9.94959L5.5 7.60081L2.26718 9.94959L3.50201 6.14919L0.269189 3.80041H4.26517L5.5 0Z" fill="#F4C32B"/></svg>${ratingCount}`;const reviewsTextRemove=reviewCountText[z].textContent.replace("reviews","");reviewCountText[z].innerHTML=reviewsTextRemove}}typeof productCardVariantSelects=="function"&&productCardVariantSelects()}).catch(e=>{console.error("Error loading product recommendations:",e)})}};new IntersectionObserver(handleIntersection.bind(this),{rootMargin:"0px 0px 200px 0px"}).observe(this)}}customElements.define("product-recommendations",ProductRecommendations);
2//# sourceMappingURL=/cdn/shop/t/608/assets/product-recommendations.js.map?v=157769305786835783231787548664

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.