1function swiperSlider(){document.querySelectorAll('[id^="section-id-"] .swiper-container').forEach(swiperContainer=>{const slides=swiperContainer.querySelectorAll(".swiper-slide");if(slides.length===0){swiperContainer.style.display="none";return}swiperContainer.swiper&&swiperContainer.swiper.destroy(!0,!0);let slidesPerView=4;window.innerWidth<480||window.innerWidth<767?slidesPerView=2:window.innerWidth<1025&&(slidesPerView=3);const wrapper=swiperContainer.closest(".tab-pane"),nextBtn=wrapper.querySelector(".custom-swiper-button-next-tab"),prevBtn=wrapper.querySelector(".custom-swiper-button-prev-tab"),enableNavigation=slides.length>slidesPerView;new Swiper(swiperContainer,{slidesPerView:2,spaceBetween:16,loop:!0,navigation:enableNavigation?{nextEl:nextBtn,prevEl:prevBtn}:!1,breakpoints:{0:{slidesPerView:2.1,spaceBetween:16,pagination:!1},480:{slidesPerView:2,spaceBetween:16,pagination:!1},767:{slidesPerView:3,spaceBetween:16},1025:{slidesPerView:4.7},1440:{slidesPerView:4.5}}}),enableNavigation||(nextBtn?.classList.add("hidden"),prevBtn?.classList.add("hidden"))})}function tabInitSection(){document.querySelectorAll('[id^="section-id-"]').forEach(section=>{const tabs=section.querySelectorAll(".tab-nav a"),panes=section.querySelectorAll(".tab-pane");tabs.forEach(tab=>{tab.removeEventListener("click",handleTabClick),tab.addEventListener("click",handleTabClick)});function handleTabClick(event){event.preventDefault(),tabs.forEac
1h(t=>t.classList.remove("active")),panes.forEach(p=>p.classList.remove("active"));const targetPaneId=this.getAttribute("href"),targetPane=section.querySelector(targetPaneId);targetPane&&(this.classList.add("active"),targetPane.classList.add("active")),setTimeout(()=>{const swiper=targetPane.querySelector(".swiper-container")?.swiper;swiper&&swiper.update()},100)}tabs.length>0&&tabs[0].click()})}document.addEventListener("DOMContentLoaded",function(event){tabInitSection(),swiperSlider()}),Shopify&&Shopify.designMode&&(document.addEventListener("shopify:section:load",function(event){tabInitSection(),swiperSlider()}),document.addEventListener("shopify:section:unload",function(event){tabInitSection(),swiperSlider()}),document.addEventListener("shopify:section:select",function(event){tabInitSection(),swiperSlider()}),document.addEventListener("shopify:section:deselect",function(event){tabInitSection(),swiperSlider()}),document.addEventListener("shopify:block:select",function(event){tabInitSection(),swiperSlider()}),document.addEventListener("shopify:block:deselect",function(event){tabInitSection(),swiperSlider()})); 2//# sourceMappingURL=/cdn/shop/t/26/assets/collection-tab-script.js.map?v=4239289444108650111785315118
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.