const setFillHeight=()=>{const vh=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${vh}px`)};window.addEventListener("resize",setFillHeight),setFillHeight(),$(window).on("load resize",function(){var wW=document.body.clientWidth,wWf=0;navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/i)?wWf=window.screen.width:wWf=window.innerWidth,$(":root").css("--scr_w",wWf-wW+"px")});var wSp=720,hH;$(function(){var speed=400;$('a[href*="#"]:not(a[href*="#not_scr"]):not(a[class*="wishlist-btn"]):not(a[class*="addtoWishlist"])').click(function(){var url=$(this).attr("href"),posi=url.lastIndexOf("#");console.log(posi);var href=url.substr(posi),target=$(href=="#"||href==""?"html":href),wW2=$(window).width();wW2<=wSp?hH=107:hH=134;var position=target.offset().top-hH;return target.prop("class")=="fade"&&(position=position-50),$("html,body").animate({scrollTop:position},speed,"swing"),!1});var wW=$(window).width(),urlHash=location.hash;urlHash&&(wW<=wSp?hH=107:hH=134,$("body,html").stop().scrollTop(0),setTimeout(function(){var target=$(urlHash),position=target.offset().top-hH;target.prop("class")=="fade"&&(position=position-50),$("body,html").stop().animate({scrollTop:position},speed)},100))}),$(function(){$("#footer_info nav h2").click(function(){var wW=$(window).width();wW<=wSp&&($(this).next().is(":animated")||($(this).next().slideToggle("fast"),$(this).toggleClass("finfo_nav_op")))})});function spSlideList(slArea){var swiper;$(window).on("load resize",function(){var w=$(window).width();if(w<=wSp){if(swiper)return;swiper=new Swiper(slArea,{resizeReInit:!0,cssMode:!0,slidesPerView:2.4})}else swiper&&(swiper.destroy(),swiper=void 0)})}function tabChange(btn){btn.click(function(){jQuery(this).siblings().removeClass("tab_on"),jQuery(this).addClass("tab_on")})}function productSetGallery(slArea){if(slArea.find(".swiper-slide").length>1)var swiper=new Swiper(slArea,{loop:!0,loopAdditionalSlides:4,speed:1500,autoplay:{delay:3e3,disableOnInteraction:!1}})}function productSetCalculation(area){var check=area+" input[type='checkbox']",cAll=$(area+" input[name^='all']"),cSingle=area+" input[name^='set']",total=$(area+" > p");cAll.change(function(){$(cSingle).prop("checked",this.checked)}),$(cSingle).change(function(){$(cSingle+":checked").length==$(cSingle).length?cAll.prop("checked",!0):cAll.prop("checked",!1)}),$(check).change(function(){if($(check+":checked").length>=1){total.css("opacity","1"),total.children(".set_count").text($(cSingle+":checked").length);let price=0;$(cSingle+":checked").each(function(){price+=parseInt($(this).val().replace(/,/,""))}),total.children(".set_total").text(price.toLocaleString())}else total.css("opacity","0")})}function productGalleryFirstImg(){$(".product-gallery").css("opacity","1"),$(".gallery-navigation--scroller .product-gallery--media-thumbnail:first-child").trigger("click")}function sideNavAcc(){var btn=$("#side-category #side-shopping>li:not(.no-icon)>ul>li>button");btn.click(function(){$(this).next().slideToggle(),$(this).toggleClass("btn_on")})}function cookieBnr(){var Bnr=$("#bnr_cookie_non_member");Cookies.get("cookieBnr")!="Off"&&Bnr.fadeIn(),Bnr.children("button.bnr-close").click(function(){Cookies.set("cookieBnr","Off",{expires:1}),$(this).parent().fadeOut()})}function cookieBnrClause(){var Bnr=$("#bnr_cookie_non_member");Bnr.children("button").click(function(){$(this).parent().fadeOut()})}function changeBnr(Bnr,afterImg){Bnr.click(function(){$(this).children("img").attr("src",afterImg),$(this).parent("#bnr_cookie_non_member").removeClass("chord_off")})}function slBnr(slArea){var sTag='