PageSourceSearch

https://us.zwift.com/cdn/shop/t/84/assets/product-sku.js?v=28741104639155857071790107217

js zwift.com collected 2026-09-24 08:45:03 UTC 1,367 bytes, 2 lines download raw bytes

1import{Component}from"@theme/component";import"@theme/events";import{StandardEvents}from"@shopify/events";class ProductSkuComponent extends Component{requiredRefs=["skuContainer","sku"];connectedCallback(){super.connectedCallback();const target=this.closest('[id*="ProductInformation-"], [id*="QuickAdd-"], product-card');target&&target.addEventListener(StandardEvents.productSelect,this.#handleProductSelect)}disconnectedCallback(){super.disconnectedCallback();const target=this.closest('[id*="ProductInformation-"], [id*="QuickAdd-"], product-card');target&&target.removeEventListener(StandardEvents.productSelect,this.#handleProductSelect)}#handleProductSelect=event=>{event.promise.then(({detail})=>{if(!detail)return;const{newProduct,resource}=detail;if(newProduct&&(this.dataset.productId=newProduct.id),!(detail.productId&&detail.productId!==this.dataset.productId)&&resource){const variantSku=resource.sku||"";variantSku?(this.style.display="block",this.refs.sku.textContent=variantSku):(this.style.display="none",this.refs.sku.textContent="")}}).catch(error=>{error?.name!=="AbortError"&&console.warn("[product-sku] Event promise rejected:",error)})}}customElements.get("product-sku-component")||customElements.define("product-sku-component",ProductSkuComponent);
2//# sourceMappingURL=/cdn/shop/t/84/assets/product-sku.js.map?v=28741104639155857071790107217

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.