PageSourceSearch

https://www.ohpolly.com/cdn/shop/t/1735/assets/product-fixed-bar.js?v=164140436003094602641783509125

js ohpolly.com collected 2026-10-03 20:38:00 UTC 1,309 bytes, 2 lines download raw bytes

1const{getOffsetTop}=window.BAO.Utils;export class ProductFixedBar extends window.BAO.CustomElement(){connectedCallback(){super.connectedCallback(),this.isTicking=!1}setupListeners(){super.setupListeners(),this.requestTick=this.requestTick.bind(this),this.updateEl=this.updateEl.bind(this),this.onScroll=this.onScroll.bind(this),window.addEventListener("scroll",this.onScroll,{passive:!0}),this.handleScrollBackClick=this.handleScrollBackClick.bind(this),this.listeners.add(this.els.fixedButton.element,"click",this.handleScrollBackClick),this.setVisibility()}onScroll(){this.requestTick()}requestTick(){this.isTicking||requestAnimationFrame(this.updateEl),this.isTicking=!0}updateEl(){this.isTicking=!1,this.setVisibility()}setVisibility(){const formObject=document.querySelector('[data-product-fixed-bar-external-el="form"]'),formOffsetTop=getOffsetTop(formObject)+formObject.offsetHeight;this.setAttribute("aria-hidden",window.scrollY<formOffsetTop)}handleScrollBackClick(){window.scrollTo({top:getOffsetTop(document.querySelector('[data-product-fixed-bar-external-el="form"]'))-90,behavior:"smooth"})}}customElements.get("product-fixed-bar")||customElements.define("product-fixed-bar",ProductFixedBar);
2//# sourceMappingURL=/cdn/shop/t/1735/assets/product-fixed-bar.js.map?v=164140436003094602641783509125

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.