PageSourceSearch

https://lumineuxhealth.com/cdn/shop/t/138/assets/component_product_card.js?v=177898794083238682661783088818

js lumineuxhealth.com collected 2026-09-25 21:04:56 UTC 2,437 bytes, 2 lines download raw bytes

1class ComponentProductCard extends HTMLElement{constructor(){super(),this.normalizeCardImages(),this.addEventListener("lazyloaded",event=>{event.target?.classList?.contains("img")&&this.normalizeCardImages()},!0),this.quickViewBtn=this.querySelector(".quick-view-trigger"),this.swatches=this.querySelector(".inline-swatch-group"),this.quickViewBtn&&(this.quickViewBtn.addEventListener("click",this.openQuickView.bind(this)),this.quickViewBtn.addEventListener("click",e=>e.stopPropagation())),this.swatches&&this.swatches.querySelectorAll("input").forEach(input=>{input.addEventListener("change",this.onSwatchChange.bind(this))})}normalizeCardImages(){const cleanImage=image=>{const role=(image.getAttribute("role")||"").toLowerCase();if((role==="presentation"||role==="none")&&image.removeAttribute("role"),!(image.getAttribute("alt")||"").trim()){const link=image.closest(".product-card-url"),linkLabel=link?(link.getAttribute("aria-label")||"").trim():"";linkLabel&&image.setAttribute("alt",linkLabel)}};this.querySelectorAll("img").forEach(cleanImage)}openQuickView(e){e.preventDefault(),$s.showLoadingOverlay();var qvUrl=this.quickViewBtn.dataset.url;$s.get({url:qvUrl,success:html=>{var parser=new DOMParser,doc=parser.parseFromString(html,"text/html"),section=doc.querySelector(".product-main-element").closest(".shopify-section");$s.openModal(section,"product-quick-view"),$s.globalEval(section)},always:html=>{$s.hideLoadingOverlay()}})}onSwatchChange(){var checkedOption=this.querySelector(".inline-swatch-group input:checked"),variantImg=checkedOption.dataset.variantImg,variantUrl=checkedOption.dataset.variantUrl,priceFinal=checkedOption.dataset.priceFinal,priceCompare=checkedOption.dataset.priceCompare;this.querySelectorAll(".product-card-url").forEach(link=>{link.setAttribute("href",variantUrl)}),this.quickViewBtn&&this.quickViewBtn.setAttribute("data-url",variantUrl),this.querySelector(".final").innerHTML=priceFinal,this.querySelector(".from")&&(this.querySelector(".from").style.display="none"),priceCompare?(this.querySelector(".compare").innerHTML=priceCompare,this.querySelector(".compare").style.display="block"):this.querySelector(".compare").style.display="none",variantImg&&this.querySelector(".img.main").setAttribute("srcset",variantImg)}}customElements.define("product-card",ComponentProductCard);
2//# sourceMappingURL=/cdn/shop/t/138/assets/component_product_card.js.map?v=177898794083238682661783088818

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.