PageSourceSearch

https://treadmillfactory.ca/cdn/shop/t/199/assets/store-locations-swiper.js?v=64990593780432065161787597194

js treadmillfactory.ca collected 2026-09-26 16:04:59 UTC 1,626 bytes, 2 lines download raw bytes

1(function(){if(customElements.get("store-locations-swiper"))return;const register=()=>{if(!window.SwiperComponent)return!1;class StoreLocationsSwiper extends window.SwiperComponent{constructor(){super(),this.selectEl=null,this._onSelectChange=this._onSelectChange.bind(this),this._onSlideChange=this._onSlideChange.bind(this)}initSwiper(){if(super.initSwiper(),!this.swiper)return;const root=this.closest("[data-store-locations-root]")||this.parentElement;this.selectEl=root?root.querySelector("[data-store-locations-select]"):null,this.selectEl&&(this.selectEl.addEventListener("change",this._onSelectChange),this.swiper.on("slideChange",this._onSlideChange),this._syncSelectToSlide())}_currentIndex(){return this.swiper?typeof this.swiper.realIndex=="number"?this.swiper.realIndex:this.swiper.activeIndex:0}_syncSelectToSlide(){!this.selectEl||!this.swiper||(this.selectEl.value=String(this._currentIndex()))}_onSelectChange(event){const idx=parseInt(event.target.value,10);!this.swiper||Number.isNaN(idx)||(typeof this.swiper.slideToLoop=="function"&&this.swiper.params.loop?this.swiper.slideToLoop(idx):this.swiper.slideTo(idx))}_onSlideChange(){this._syncSelectToSlide()}disconnectedCallback(){this.selectEl&&(this.selectEl.removeEventListener("change",this._onSelectChange),this.selectEl=null),super.disconnectedCallback&&super.disconnectedCallback()}}return customElements.define("store-locations-swiper",StoreLocationsSwiper),!0};register()||document.addEventListener("DOMContentLoaded",register,{once:!0})})();
2//# sourceMappingURL=/cdn/shop/t/199/assets/store-locations-swiper.js.map?v=64990593780432065161787597194

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.