PageSourceSearch

http://freilichlaw.com/js/hero-slidera443.js?v=47345872321394663811737382236

js freilichlaw.com collected 2026-10-08 23:31:48 UTC 1,784 bytes, 12 lines download raw bytes

1if(!customElements.get("hero-slider")){class HeroSlider extends HTMLElement{constructor(){super(),Shopify.designMode&&window.addEventListener("shopify:section:load",e=>{this.mountSlider()}),this.mountSlider(),window.addEventListener("shopify:block:select",e=>{const selectedSlideIndex=+e.target.dataset.index;this.slider.slideTo(selectedSlideIndex,600)})}mountSlider(){const autoplayOptions={delay:this.dataset.autoplayInterval};this.slider=new Swiper(this,{effect:"fade",rewind:!0,slidesPerView:1,speed:600,followFinger:!1,navigation:{nextEl:".swiper-button--next",prevEl:".swiper-button--prev"},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(i,className){return`
2            <button class="${className}">
3              <span>0${i+1}</span>
4              <svg class="square-progress" width="26" height="26">
5                <rect class="square-origin" width="26" height="26" rx="5" ry="5" />
6              </svg>
7              <svg class="progress" width="18" height="18" style="inset-inline-start: ${0-(i*2.4+3.4)}rem">
8                <circle class="circle-origin" r="8" cx="9.5" cy="9.5"></circle>
9              </svg>
10            </button>
11            `}},autoplay:this.dataset.autoplay==="true"?autoplayOptions:!1,on:{init:this.handleSlideChange.bind(this),slideChange:this.handleSlideChange.bind(this)}})}handleSlideChange(swiper){let headerInner=document.querySelector(".header__inner"),heroInners=document.querySelectorAll(".hero__inner");!headerInner||!heroInners||document.documentElement.style.setProperty("--transparent-header-menu-text-color",heroInners[swiper.activeIndex].dataset.headerMenuTextColor)}}customElements.define("hero-slider",HeroSlider)}
12//# sourceMappingURL=/cdn/shop/t/5/assets/hero-slider.js.map?v=47345872321394663811737382236

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.