PageSourceSearch

https://www.winbridgestore.com/cdn/shop/t/78/assets/sticky-add-to-cart.js?v=93003919000211407091774326721

js winbridgestore.com collected 2026-10-08 21:30:09 UTC 1,096 bytes, 2 lines download raw bytes

1const{Core,Events,Utils}=Global,{$toggleDisplay}=Utils,CN_ACTIVE="!active",CN_LOADING="!loading";customElements.define("sticky-add-to-cart",class extends Core{elements={$:["observer-trigger","wrapper"]};propTypes={"sticky-bottom":Boolean};render(){this.sub(Events.VARIANT_CHANGE,this._toggleLoading(!0)),this.sub(Events.VARIANT_UPDATE,this._toggleLoading(!1)),this.sub(Events.VARIANT_UNAVAILABLE,this._handleVariantUnavailability),this.prop("sticky-bottom")&&this._setBodyOffset(),this._handleTrigger()}_handleTrigger(){this.observer=new IntersectionObserver(([entry])=>{this.active=!entry.isIntersecting&&entry.boundingClientRect.top<=0}),this.observer.observe(this.$("observer-trigger"))}_setBodyOffset(){document.body.style.setProperty("--bottom-offset",`${this.$("wrapper").offsetHeight}px`)}_toggleLoading(state){return()=>{this.classList.toggle(CN_LOADING,state)}}_handleVariantUnavailability(state){$toggleDisplay(this,!state)}set active(state){this.classList.toggle(CN_ACTIVE,state)}});
2//# sourceMappingURL=/cdn/shop/t/78/assets/sticky-add-to-cart.js.map?v=93003919000211407091774326721

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.