PageSourceSearch

https://rewindvintage.co.uk/cdn/shop/t/19/assets/quick-view.js?v=24840856996125425831703085028

js rewindvintage.co.uk collected 2026-10-03 21:25:02 UTC 1,683 bytes, 2 lines download raw bytes

1class QuickViewDrawer extends MenuDrawer{constructor(){super({classes:{open:"quick-view--open",opening:"quick-view--opening",closing:"quick-view--closing"}}),this.addEventListener("close",()=>{const drawerContent=this.querySelector(".quick-view__content");drawerContent.innerHTML="",drawerContent.classList.remove("hide-cover")})}}customElements.define("quick-view-drawer",QuickViewDrawer);class QuickViewButton extends MenuDrawer{constructor(){super(),this.addEventListener("click",()=>{const drawer=this.closest(".card-wrapper").querySelector("quick-view-drawer");drawer&&drawer.querySelector("summary").click()})}}customElements.define("quick-view-button",QuickViewButton);class QuickView extends HTMLElement{constructor(){super(),new IntersectionObserver(this.handleIntersection.bind(this)).observe(this)}handleIntersection(entries,_observer){if(!entries[0].isIntersecting)return;const drawerContent=this.querySelector(".quick-view__content"),productHandle=this.dataset.productHandle;let sectionUrl=`${routes.root_url}/products/${productHandle}?view=modal`;sectionUrl=sectionUrl.replace("//","/"),fetch(sectionUrl).then(response=>response.text()).then(html=>{drawerContent.innerHTML=this.getSectionInnerHTML(html,".quick-view__content"),setTimeout(()=>{drawerContent.classList.add("hide-cover"),Shopify&&Shopify.PaymentButton&&Shopify.PaymentButton.init()},300)}).catch(e=>{console.error(e)})}getSectionInnerHTML(html,selector=".shopify-section"){return new DOMParser().parseFromString(html,"text/html").querySelector(selector).innerHTML}}customElements.define("quick-view",QuickView);
2//# sourceMappingURL=/cdn/shop/t/19/assets/quick-view.js.map?v=24840856996125425831703085028

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.