PageSourceSearch

https://www.critterguard.org/cdn/shop/t/13/assets/slideshow-thumbnails.js?v=51710099852079813191784294766

js critterguard.org collected 2026-10-02 20:01:25 UTC 1,158 bytes, 2 lines download raw bytes

1(async()=>{const{Core}=await importModule("Core"),CN_ACTIVE="!active";customElements.define("slideshow-thumbnails",class extends Core{elements={items:"*[data-item]"};async render(){this.$ref&&(await this._initRefSlider(),this._handleItemsClick(),this._handleSlideChange())}async _initRefSlider(){await customElements.whenDefined(this.$ref.localName),this._updateActive()}_handleSlideChange(){this.$ref.slider.on("slideChange",this._updateActive.bind(this))}_handleItemsClick(){this.$items.map(($item,index)=>{$item.addEventListener("click",()=>this.$ref.slider.slideTo(index))})}_updateActive(){this.active=this.$ref.slider.activeIndex,this._scrollToActiveView()}_scrollToActiveView(){var scrollLeft=this.$activeItem.offsetLeft-this.$activeItem.offsetWidth*4;this.scrollLeft=scrollLeft}get $ref(){return document.querySelector(this.getAttribute("ref"))}set active(index){const $item=this.$items[index];this.$activeItem!==$item&&(this.$activeItem&&this.$activeItem.classList.remove(CN_ACTIVE),$item.classList.add(CN_ACTIVE),this.$activeItem=$item)}})})();
2//# sourceMappingURL=/cdn/shop/t/13/assets/slideshow-thumbnails.js.map?v=51710099852079813191784294766

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.