PageSourceSearch

https://store.djtechtools.com/cdn/shop/t/84/assets/product-price.js?v=30079423257668675401757597034

js djtechtools.com collected 2026-09-24 08:47:14 UTC 1,090 bytes, 2 lines download raw bytes

1import{ThemeEvents}from"@theme/events";class ProductPrice extends HTMLElement{connectedCallback(){const closestSection=this.closest(".shopify-section, dialog");closestSection&&closestSection.addEventListener(ThemeEvents.variantUpdate,this.updatePrice)}disconnectedCallback(){const closestSection=this.closest(".shopify-section, dialog");closestSection&&closestSection.removeEventListener(ThemeEvents.variantUpdate,this.updatePrice)}updatePrice=event=>{if(event.detail.data.newProduct)this.dataset.productId=event.detail.data.newProduct.id;else if(event.target instanceof HTMLElement&&event.target.dataset.productId!==this.dataset.productId)return;const newPrice=event.detail.data.html.querySelector('product-price [ref="priceContainer"]'),currentPrice=this.querySelector('[ref="priceContainer"]');!newPrice||!currentPrice||currentPrice.innerHTML!==newPrice.innerHTML&&currentPrice.replaceWith(newPrice)}}customElements.get("product-price")||customElements.define("product-price",ProductPrice);
2//# sourceMappingURL=/cdn/shop/t/84/assets/product-price.js.map?v=30079423257668675401757597034

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.