1(function(){document.documentElement.classList.add("js-loading");function initThemeScrollHeights(){const themeScrolls=document.querySelectorAll(".weekly-recipes theme-scroll.theme-scroll");themeScrolls.length&&(themeScrolls.forEach(scroll=>{scroll.querySelectorAll(".recipe-card, .product-card").length&&processCardImages(scroll);const slides=scroll.querySelectorAll(".carousel__slide");slides.length&&processSlides(scroll,slides)}),setTimeout(()=>{document.documentElement.classList.remove("js-loading")},100))}function processCardImages(scroll){const images=scroll.querySelectorAll("img");images.length&&images.forEach(img=>{(!img.hasAttribute("height")||!img.hasAttribute("width"))&&img.closest(".recipe-card")&&(img.setAttribute("height","300"),img.setAttribute("width","300"))})}function processSlides(scroll,slides){const viewportWidth=window.innerWidth;let slideHeight=getSlideHeightForViewport(viewportWidth);slides.forEach(slide=>{slide.style.minHeight||(slide.style.minHeight=`${slideHeight}px`)})}function getSlideHeightForViewport(viewportWidth){return viewportWidth<768?350:viewportWidth<1024?380:400}initThemeScrollHeights(),window.addEventListener("load",initThemeScrollHeights);let resizeTimer;window.addEventListener("resize",()=>{clearTimeout(resizeTimer),resizeTimer=setTimeout(initThemeScrollHeights,250)}),"MutationObserver"in window&&new MutationObserver(mutations=>{for(const mutation of mutations)if(mutation.addedNodes.length&&Array.from(mutation.addedNodes).some(node=>node.nodeType===1&&(node.tagName==="THEME-SCROLL"||node.querySelector("theme-scroll")))){initThemeScrollHeights();break}}).observe(document.body,{childList:!0,subtree:!0})})(); 2//# sourceMappingURL=/cdn/shop/t/12/assets/theme-scroll-cls-fix.js.map?v=57565200354163889171752646806
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.