PageSourceSearch

https://www.decathlon.com/cdn/shop/t/378/assets/product-price.js?v=83480980452100801711787069264

js decathlon.com collected 2026-09-24 08:41:44 UTC 1,766 bytes, 2 lines download raw bytes

1import{ThemeEvents}from"@theme/events";import{Component}from"@theme/component";class ProductPrice extends Component{connectedCallback(){super.connectedCallback();const closestSection=this.closest(".shopify-section, dialog");closestSection&&closestSection.addEventListener(ThemeEvents.variantUpdate,this.updatePrice)}disconnectedCallback(){super.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{priceContainer,volumePricingNote}=this.refs,newProductPrice=event.detail.data.html.querySelector(`product-price[data-block-id="${this.dataset.blockId}"]`);if(!newProductPrice)return;const newPrice=newProductPrice.querySelector('[ref="priceContainer"]');newPrice&&priceContainer&&priceContainer.replaceWith(newPrice);const newNote=newProductPrice.querySelector('[ref="volumePricingNote"]');newNote?volumePricingNote?volumePricingNote.replaceWith(newNote):newPrice?.insertAdjacentElement("afterend",newNote.cloneNode(!0)):volumePricingNote?.remove();const input_selector=`#product-form-installment-${this.dataset.blockId} input[name="id"]`,installmentsInput=this.querySelector(input_selector);installmentsInput&&(installmentsInput.value=event.detail.resource?.id??"",installmentsInput.dispatchEvent(new Event("change",{bubbles:!0})))}}customElements.get("product-price")||customElements.define("product-price",ProductPrice);
2//# sourceMappingURL=/cdn/shop/t/378/assets/product-price.js.map?v=83480980452100801711787069264

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.