PageSourceSearch

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

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

1import{EVENTS}from"util.events";class ProductInventory extends HTMLElement{constructor(){super(),this.classes={hidden:"hide"},this.selectors={points:".product-inventory__points"},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,loading}=detail;if(loading)return;if(!variant){this.classList.add(this.classes.hidden);return}if(!html)return;const source=html.querySelector(`product-inventory[data-section-id="${this.dataset.sectionId}"][data-product-id="${this.dataset.productId}"]`);if(!source)return;const srcPoints=source.querySelector(this.selectors.points),destPoints=this.querySelector(this.selectors.points);srcPoints&&destPoints&&(destPoints.outerHTML=srcPoints.outerHTML),this.classList.toggle(this.classes.hidden,source.classList.contains(this.classes.hidden))}}customElements.define("product-inventory",ProductInventory);
2//# sourceMappingURL=/cdn/shop/t/18/assets/block.product-inventory.js.map?v=108193432744250981681788906318

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.