PageSourceSearch

https://woodsorrelstudios.com/cdn/shop/t/18/assets/block.product-price.js?v=73015567687405224011788906318

js woodsorrelstudios.com collected 2026-10-10 01:08:52 UTC 1,382 bytes, 2 lines download raw bytes

1import{EVENTS}from"util.events";class BlockPrice extends HTMLElement{constructor(){super(),this.handleVariantChange=this.handleVariantChange.bind(this)}connectedCallback(){this.abortController=new AbortController,document.addEventListener(`${EVENTS.variantChange}:${this.dataset.sectionId}:${this.dataset.productId}`,this.handleVariantChange,{signal:this.abortController.signal})}disconnectedCallback(){this.abortController.abort()}handleVariantChange({detail}){const{html,variant}=detail;if(!variant||!html)return;const priceSourceBlock=html.querySelector(`block-price[data-section-id="${this.dataset.sectionId}"][data-product-id="${this.dataset.productId}"]`);if(!priceSourceBlock)return;const srcStack=priceSourceBlock.querySelector("layout-stack"),destStack=this.querySelector("layout-stack");if(srcStack&&destStack)destStack.outerHTML=srcStack.outerHTML;else{const priceSource=priceSourceBlock.querySelector("div"),priceDestination=this.querySelector("div");priceSource&&priceDestination&&(priceDestination.outerHTML=priceSource.outerHTML)}const dataAttrs=["data-on-sale","data-unit-price","data-sold-out"];for(const attr of dataAttrs)priceSourceBlock.hasAttribute(attr)?this.setAttribute(attr,""):this.removeAttribute(attr)}}customElements.define("block-price",BlockPrice);
2//# sourceMappingURL=/cdn/shop/t/18/assets/block.product-price.js.map?v=73015567687405224011788906318

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.