PageSourceSearch

https://namuk.com/cdn/shop/t/120/assets/header-slider.js?v=157342039052040916431790771463

js namuk.com collected 2026-10-03 21:31:25 UTC 1,455 bytes, 2 lines download raw bytes

1(async()=>{const{default:Swiper,Navigation}=await import("./swiper.esm-da447325.async.js");Swiper.use([Navigation]);class headerSlider extends HTMLElement{constructor(){super();this.swiperElement=this.querySelector("[data-swiper-header-slider]");const swiperType=this.swiperElement.dataset.swiperType;const sectionID=this.swiperElement.dataset.swiperHeaderSlider;const nextEl=".swiper-button-next-"+sectionID;const prevEl=".swiper-button-prev-"+sectionID;const slidesPerViewMobile=swiperType=="ab"?2.4:1.3;const spaceBetweenMobile=swiperType=="ab"?12:27;this.swiperOptions={loop:true,slidesPerView:slidesPerViewMobile,direction:"horizontal",spaceBetween:spaceBetweenMobile,navigation:{nextEl,prevEl},breakpoints:{768:{spaceBetween:27,slidesPerView:3},1024:{spaceBetween:48,slidesPerView:3},1200:{spaceBetween:48,slidesPerView:4}}};this.init()}init(){this.swiperInstance=new Swiper(this.swiperElement,this.swiperOptions);if(Shopify.designMode&&this.swiperInstance){window.addEventListener("shopify:section:load",()=>{this.swiperInstance.update()});window.addEventListener("shopify:block:select",event=>{this.swiperInstance.update();this.handleThemeEditorEvents(event)})}}handleThemeEditorEvents(event){this.swiperInstance.slideTo(parseInt(event.target.dataset.swiperSlideIndex)+1)}}window.headerSlider=headerSlider;if(!customElements.get("header-slider")){customElements.define("header-slider",headerSlider)}})();
2//# sourceMappingURL=header-slider.js.map

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.