1var touch=!1,clickEv="click",checkDropdown=[],checkSideMenu=[],checks_scroll=0;function sliderProduct(){$(".home_latestproducts_content").length&&$(".home_latestproducts_content").owlCarousel({navigation:!0,pagination:!1,autoPlay:!1,items:4,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,itemsDesktop:[1199,3],itemsDesktopSmall:[991,2],itemsTablet:[767,2],itemsTabletSmall:[540,1],itemsMobile:[360,1]}),$(".slider-3itemsc").length&&$(".slider-3itemsc").owlCarousel({navigation:!0,pagination:!1,autoPlay:!1,autoHeight:!0,items:3,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,itemsDesktop:[1199,3],itemsDesktopSmall:[991,3],itemsTablet:[767,4],itemsTabletSmall:[540,3],itemsMobile:[420,2]}),$(".show-load-detail").css("display","none"),$(".related-products-full .rp-slider").length&&$(".related-products-full .rp-slider").owlCarousel({navigation:!0,pagination:!1,items:4,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,itemsDesktop:[1920,4],itemsDesktopSmall:[1200,4],itemsTablet:[1199,4],itemsTabletSmall:[991,3],itemsMobile:[767,2]}),$(".related-products-sidebar .rp-slider").length&&$(".related-products-sidebar .rp-slider").owlCarousel({navigation:!0,pagination:!1,items:4,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,itemsDesktop:[1920,4],itemsDesktopSmall:[1400,3],itemsTablet:[1199,3],itemsTabletSmall:[991,3],itemsMobile:[767,2]})}function sliderBlog(){$(".related-blog-slider").length&&$(".related-blog-slider").owlCarousel({navigation:!0,pagination:!1,autoPlay:!1,items:3,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,itemsDesktop:[1199,1],itemsDesktopSmall:[991,1],itemsTablet:[767,1],itemsTabletSmall:[540,1],itemsMobile:[360,1]})}function handleDropdown(){var changeIcon=function(){$(".dropdownMobile-toggle").each(function(index){$(this).parent().find(".dropdown-menu").hide(),$(this).removeClass("active-dropdown");var icon_class=$(this).find(".icon-dropdown").data("class");$(this).find(".icon-dropdown").attr("class","icon-dropdown "+icon_class)})},dropdownDesktop=function(){$(".dropdown-toggle").length&&$(".dropdown-toggle").parent().hover(function(){touch==!1&&getWidthBrowser()>767&&$(this).find(".dropdown-menu").stop(!0,!0).slideDown(300)},function(){touch==!1&&getWidthBrowser()>767&&$(this).find(".dropdown-menu").hide()})},dropdownTablet=function(){$(".dropdownMobile-toggle").length&&$(".dropdownMobile-toggle").on("click",function(){$(this).hasClass("active-dropdown")?($("body").removeClass("active-overflow"),changeIcon()):(changeIcon(),$("body").addClass("active-overflow"),$(this).parent().find(".dropdown-menu").stop(!0,!0).slideDown(300),$(this).addClass("active-dropdown"),$(this).find(".icon-dropdown").attr("class","icon-dropdown cs-icon icon-close"))})};$("nav .dropdown-menu").each(function(){$(this).find("li").last().addClass("last")}),$(".dropdown").on("click",function(){if(touch==!1&&getWidthBrowser()>767){var href=$(this).find(".dropdown-link").attr("href");window.location=href}}),dropdownDesktop(),dropdownTablet()}function getWidthBrowser(){var myWidth;return typeof window.innerWidth=="number"?myWidth=window.innerWidth:document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?myWidth=document.documentElement.clientWidth:document.body&&(document.body.clientWidth||document.body.clientHeight)&&(myWidth=document.body.clientWidth),myWidth}function handleScrollTop(){function totop_button(a){var b=$("#scroll-to-top"),f=$(".cart-float-right");a=="on"?(f.addClass("on fadeInRight ").removeClass("off fadeOutRight"),b.addClass("on fadeInRight ").removeClass("off fadeOutRight")):(f.addClass("off fadeOutRight animated").removeClass("on fadeInRight"),b.addClass("off fadeOutRight animated").removeClass("on fadeInRight"))}$(window).scroll(function(){var b=$(this).scrollTop(),c=$(this).height();if(b>0)var d=b+c/2;else var d=1;d<1e3&&d<c?totop_button("off"):totop_button("on")}),$("#scroll-to-top").click(function(e){e.preventDefault(),$("body,html").animate({scrollTop:0},800,"swing")})}function ModalNewsletter(){var showNewsletter=function(date){$("#newsletter-popup").modal("toggle"),$(".nl-wraper-popup").addClass("animated");var tnout=20;setTimeout(function(){$("#newsletter-popup").modal("hide")},tnout*1e3),localStorage.setItem("cs-newsletter",date)},checkNewsletter=function(){var date="10/01/2026 02:56:20";if(localStorage.getItem("cs-newsletter")==null||localStorage.getItem("cs-newsletter")=="undefined")showNewsletter(date);else{var check_time=new Date(date)-new Date(localStorage.getItem("cs-newsletter")),ms=check_time%1e3;check_time=(check_time-ms)/1e3;var days=Math.floor(check_time/86400);days>7&&showNewsletter(date)}}}function handleQuantity(){$(".quantity-wrapper").length&&($(".quantity-wrapper").on(clickEv,".qty-up",function(){var $this=$(this),qt
1y=$this.parents(".wrapper").find("input");$(qty).val(parseInt($(qty).val())+1)}),$(".quantity-wrapper").on(clickEv,".qty-down",function(){var $this=$(this),qty=$this.parents(".wrapper").find("input");parseInt($(qty).val())>1&&$(qty).val(parseInt($(qty).val())-1)}))}function colorwarches(){jQuery(".swatch :radio").change(function(){var optionIndex=jQuery(this).closest(".swatch").attr("data-option-index"),optionValue=jQuery(this).val();jQuery(this).closest("form").find(".single-option-selector").eq(optionIndex).val(optionValue).trigger("change")})}function toggleTagsFilter(){if(window.innerWidth>=768){var tagsbutton=document.getElementById("showTagsFilter"),tagscontent=document.getElementById("tags-filter-content");tagsbutton!=null&&(tagsbutton.onclick=function(){classie.toggle(this,"closed"),classie.toggle(tagscontent,"tags-closed"),classie.has(this,"closed")?$("#showTagsFilter").html("Filter <i class='fa fa-angle-down'></i>"):$("#showTagsFilter").html("Filter <i class='fa fa-angle-up'></i>")})}}function updateScrollThumbsQS(){$("#gallery_main_qs").length&&($("#quick-shop-image .fancybox").on(clickEv,function(){var _items=[],_index=0,product_images=$("#gallery_main_qs .image-thumb a");return product_images.each(function(key,val){_items.push({href:val.href,title:val.title}),$(this).hasClass("active")&&(_index=key)}),$.fancybox(_items,{closeBtn:!0,index:_index,helpers:{buttons:{}}}),!1}),$("#quick-shop-image").on(clickEv,".image-thumb a",function(){var $this=$(this),background=$(".product-image .main-image .main-image-bg"),parent=$this.parents(".product-image-wrapper"),src_original=$this.attr("data-image-zoom"),src_display=$this.attr("data-image");return background.show(),parent.find(".image-thumb").removeClass("active"),$this.parent().addClass("active"),parent.find(".main-image").find("img").attr("data-zoom-image",src_original),parent.find(".main-image").find("img").attr("src",src_display).load(function(){background.hide()}),!1}))}function change_qs_quantity(qs){qs_quantity=qs}function showMenuMobile(){var changeIconRight=function(){$(".dropdownMobile-toggle").each(function(index){$(this).parent().find(".dropdown-menu").hide(),$(this).removeClass("active-dropdown");var icon_class=$(this).find(".icon-dropdown").data("class");$(this).find(".icon-dropdown").attr("class","icon-dropdown "+icon_class)})},changeIcon=function(){$(".navigation_mobile .arrow").removeClass("class_test"),$(".navigation_mobile .arrow i").attr("class","cs-icon icon-ios-plus-empty"),$(".navigation_mobile").removeClass("active_dropdown"),$(".navigation_mobile .menu-mobile-container").hide("slow")},showMenu=function(){$(".group_navbtn_action .dropdown-toggle-navigation").on("click",function(){$(this).addClass("active-dropdown"),$(this).parent().find(".navigation_dropdown_scroll").addClass("hover-dropdown")})},closeMenu=function(){$(".group_navbtn_action .close-navigation-dropdown").on("click",function(){$(this).parents(".navigation_dropdown_scroll").removeClass("hover-dropdown")}),$(".navigation_dropdown_scroll").on("click",function(){$(this).hasClass("hover-dropdown")&&$(this).removeClass("hover-dropdown")}).find(".navigation_dropdown_scroll_group").on("click",function(){return!1})},showMegaMenu=function(){$(".navigation_mobile .arrow").on("click",function(){$(this).hasClass("class_test")?($(this).removeClass("class_test"),$(this).find("i").attr("class","cs-icon icon-ios-plus-empty"),$(this).parent().removeClass("active_dropdown"),$(this).parent().find(".menu-mobile-container").hide("slow")):(changeIcon(),$(this).addClass("class_test"),$(this).find("i").attr("class","cs-icon icon-ios-minus-empty"),$(this).parent().addClass("active_dropdown"),$(this).parent().find(".menu-mobile-container").show("slow"))})},showSubMenu=function(){$(".navigation_sub_mobile .arrow_sub_mobile").click(function(){$(this).hasClass("class_test")?($(this).removeClass("class_test"),$(this).find("i").attr("class","cs-icon icon-ios-plus-empty"),$(this).parent().removeClass("active_dropdown"),$(this).parent().find(".sub-menu-mobile-container").hide("slow")):($(this).addClass("class_test"),$(this).find("i").attr("class","cs-icon
1icon-ios-minus-empty"),$(this).parent().addClass("active_dropdown"),$(this).parent().find(".sub-menu-mobile-container").first().show("slow"))})},showShowInfo=function(){$(".icon_info .show-info").on("click",function(){$("#top .info-header").addClass("active"),$("#top").attr("id","top-activeRight")}),$(".info-header .close-info").on("click",function(){$("#top-activeRight").attr("id","top"),$("#top").removeClass("affix fadeInDown animated"),$("#top .info-header").removeClass("active"),$("body,html").animate({scrollTop:0},1,"swing")}),$(".info-header").on("click",function(){$(this).hasClass("active")&&($("#top-activeRight").attr("id","top"),$("#top").removeClass("affix fadeInDown animated"),$("#top .info-header").removeClass("active"),$("body,html").animate({scrollTop:0},1,"swing"))}).find(".info-header-wrapper").on("click",function(){return!1})},gotoLink=function(){$("#top .mobile-goto-link").on("click",function(){$(".info-header").hasClass("active")?location.href=$(this).attr("href"):$(".navigation_dropdown_scroll").hasClass("hover-dropdown")&&(location.href=$(this).attr("href"))})};showMenu(),gotoLink(),closeMenu(),showMegaMenu(),showSubMenu(),showShowInfo()}function showItemMobile(){$(".item-dropdown-mobile .btn-group").on("click",".dropdown-toggle",function(){$(".item-dropdown-mobile .dropdown-menu").css("display","none"),$(this).hasClass("active_popup")?$(this).removeClass("active_popup"):($(".item-dropdown-mobile .dropdown-toggle").removeClass("active_popup"),$(this).addClass("active_popup"),$(".item-dropdown-mobile").each(function(){$(this).find(".dropdown-toggle").hasClass("active_popup")&&$(this).find(".dropdown-menu").css("display","block")}))})}function showPassword(){$(".form-password .cs-icon").on(clickEv,function(){$(this).hasClass("show-pass")?($(this).parent().find("input").attr("type","password"),$(this).removeClass("show-pass")):($(this).parent().find("input").attr("type","text"),$(this).addClass("show-pass"))})}function sidebarBlog(){$(".sidebar-block .sidebar-title").on(clickEv,".cs-icon",function(){$(this).hasClass("show-content")?($(this).parents(".sidebar-block").find(".sidebar-content").show("slow"),$(this).attr("class","cs-icon icon-ios-minus-empty")):($(this).parents(".sidebar-block").find(".sidebar-content").hide("slow"),$(this).attr("class","show-content cs-icon icon-ios-plus-empty"))})}function tagFilterCollection(){var newQuery="",init=function(){if(Shopify.queryParams={},location.search.length)for(var aKeyValue,i=0,aCouples=location.search.substr(1).split("&");i<aCouples.length;i++)aKeyValue=aCouples[i].split("="),aKeyValue.length>1&&(Shopify.queryParams[decodeURIComponent(aKeyValue[0])]=decodeURIComponent(aKeyValue[1]))},createUrl=function(url,queryParams){history.pushState({param:queryParams},url,url),$.ajax({type:"GET",url:url,data:{},beforeSend:function(xhr){$("#tags-load").show()},complete:function(data){if($("#collection").html($("#collection",data.responseText).html()),$("#tags-load").hide(),window.SPR){var t=$('[src*="productreviews.shopifycdn.com"]');t.replaceWith($("<script>").attr("src",t.attr("src"))).remove()}handleGridList(),toggleTagsFilter(),$(GLOBAL.common.init),filterClick(),sidebarBlog(),clearFilterMobile(),applyFilterMobile(),paginationCollection(),showFilter(),checkCollection==1&&removeFilter()}})},filterClick=function(){$(".filter-block .filter-content li > a").click(function(event){event.preventDefault();var newTags=[];Shopify.queryParams.constraint&&(newTags=Shopify.queryParams.constraint.split("+"));var dataHandle=$(this).parents("li").data("handle");if(dataHandle){var tagCheck=newTags.indexOf(dataHandle);tagCheck>=0?newTags.splice(tagCheck,1):newTags.push(dataHandle)}if(newTags.length?Shopify.queryParams.constraint=newTags.join("+"):delete Shopify.queryParams.constraint,delete Shopify.queryParams.page,newQuery=jQuery.param(Shopify.queryParams).replace(/%2B/g,"+"),getWidthBrowser()>991){var url=location.pathname+"?"+newQuery;createUrl(url,Shopify.queryParams)}else $(this).parents("li").hasClass("active")?$(this).parents("li").removeClass("active"):$(this).parents("li").addClass("active")})},clearFilterMobile=function(){$(".collection-leftsidebar .sidebarMobile-clear").on(clickEv,function(){var url="/collections/all";createUrl(url,url),$("#collection .collection-leftsidebar").removeClass("active"),$("body").removeClass("active-sidebar")})},applyFilterMobile=function(){$(".sidebar-bottom .sidebarMobile-close").on(clickEv,function(){var url=location.pathname+"?"+newQuery;createUrl(url,Shopify.queryParam),$(".collection-leftsidebar").removeClass("active"),$("body").removeClass("active-sidebar")})},paginationCollection=function(){$(".pagination-collection li a").on(clickEv,function(event){event.preventDefault();
1var linkPage=$(this).attr("href").match(/page=\d+/g);if(linkPage&&(Shopify.queryParams.page=parseInt(linkPage[0].match(/\d+/g)),Shopify.queryParams.page)){newQuery=jQuery.param(Shopify.queryParams).replace(/%2B/g,"+");var url=location.pathname+"?"+newQuery;createUrl(url,Shopify.queryParam),$("body,html").animate({scrollTop:0},1,"swing")}})},removeFilter=function(){$(".collection-leftsidebar").removeClass("active"),$("body").removeClass("active-sidebar")},activeFilter=function(){$(".collection-leftsidebar").addClass("active"),$("body").addClass("active-sidebar")},showFilter=function(){$(".show-leftsidebar").on(clickEv,function(){$(".collection-leftsidebar").hasClass("active")?removeFilter():activeFilter()}),$(".close-leftsidebar").on(clickEv,function(){removeFilter()})};init(),checkCollection!=0&&filterClick(),clearFilterMobile(),applyFilterMobile(),paginationCollection(),showFilter()}function videoProduct(){var heightVideo=function(){var height=0;$("[data-product-single-media-wrapper]").each(function(index){if(!$(this).hasClass("product-media-type-video"))return height=$(this).find("[data-media-item]").height(),console.log(height),$(".product-media-type-video").css("height",height),!1})},clickThumbnail=function(player2){$("[data-product-thumbnail-id]").on(clickEv,function(){var thumbnailId=$(this).data("product-thumbnail-id");$("[data-product-thumbnail-id]").removeClass("active"),$(this).addClass("active"),$(".product-single__media-wrapper.active").hasClass("product-media-type-video")&&playVideo($(".product-single__media-wrapper.active"),player2,1),$('[data-media-id="'+thumbnailId+'"]').hasClass("product-media-type-video")&&playVideo($('[data-media-id="'+thumbnailId+'"]'),player2,2),$(".product-single__media-wrapper.active").removeClass("active").addClass("hide"),$('[data-media-id="'+thumbnailId+'"]').removeClass("hide").addClass("active")})},playVideo=function($this,player2,check){var video=$this.find("[data-media-item]");if(video[0].tagName==="VIDEO")check==1?video[0].paused||video[0].pause():video[0].play();else if(video[0].tagName==="IFRAME"&&/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(video[0].src)){var videoId=$this.data("video-id");check==1?player2[videoId].getPlayerState()===1&&player2[videoId].pauseVideo():player2[videoId].playVideo()}};if($(".product-single__media-wrapper").hasClass("product-media-type-video")){var tag=document.createElement("script");tag.src="https://www.youtube.com/player_api";var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);var player={};window.onYouTubeIframeAPIReady=function(){$("[data-video-id]").each(function(index){var video=$(this).find("[data-media-item]"),videoId=$(this).data("video-id");player[videoId]=new YT.Player(video[0],{videoId:videoId})}),clickThumbnail(player)}}else clickThumbnail()}function buyNowProduct(){$("[data-buy-now]").on(clickEv,function(){var $this=$(this),form=$this.parents("form");return $.ajax({type:"POST",url:"/cart/add.js",async:!1,data:form.serialize(),dataType:"json",error:function(){return window.location="/checkout",!1},success:function(){return window.location="/checkout",!1},cache:!1}),!1})}$(window).ready(function($2){handleDropdown(),buyNowProduct(),videoProduct(),$2(".not-animated").css("opacity","1"),tagFilterCollection(),sidebarBlog(),showPassword(),showItemMobile(),sliderProduct(),sliderBlog(),handleScrollTop(),colorwarches(),$2('[data-toggle="tooltip"]').tooltip(),handleQuantity(),toggleTagsFilter(),updateScrollThumbsQS(),showMenuMobile()}),$(window).load(function(){ModalNewsletter()}); 2//# sourceMappingURL=/cdn/shop/t/19/assets/cs-maxmin.script.js.map?v=71918516980311740511790837781
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.