PageSourceSearch

https://duplinwinery.com/cdn/shop/t/37/assets/pdp-accordion.js?v=149508054847462751461789232776

js duplinwinery.com collected 2026-10-03 21:19:57 UTC 1,613 bytes, 2 lines download raw bytes

1(()=>{function animateAccordion(details,shouldOpen){const summary=details.querySelector(":scope > summary");if(!summary||details.dataset.accordionAnimating==="true")return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){details.open=shouldOpen;return}const startHeight=`${details.offsetHeight}px`;details.dataset.accordionAnimating="true",shouldOpen&&(details.open=!0);const endHeight=shouldOpen?`${details.scrollHeight}px`:`${summary.offsetHeight}px`;details.style.overflow="hidden";const animation=details.animate({height:[startHeight,endHeight]},{duration:250,easing:"ease-in-out"});animation.onfinish=()=>{details.open=shouldOpen,details.style.height="",details.style.overflow="",delete details.dataset.accordionAnimating}}function initializeAccordions(root=document){root.querySelectorAll(".product__accordion details:not([data-smooth-accordion]), .collapsible-content details:not([data-smooth-accordion]), .careers-section details:not([data-smooth-accordion])").forEach(details=>{const summary=details.querySelector(":scope > summary"),content=details.querySelector(":scope > .accordion__content");!summary||!content||(details.dataset.smoothAccordion="true",summary.addEventListener("click",event=>{event.preventDefault(),animateAccordion(details,!details.open)}))})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>initializeAccordions()):initializeAccordions(),document.addEventListener("shopify:section:load",event=>initializeAccordions(event.target))})();
2//# sourceMappingURL=/cdn/shop/t/37/assets/pdp-accordion.js.map?v=149508054847462751461789232776

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.