function print_window(){var n=window;n.document.close();n.focus();n.print();n.close()}!function(n,t){var i=n();n.fn.dropdownHover=function(r){return"ontouchstart"in document?this:(i=i.add(this.parent()),this.each(function(){function s(){t.clearTimeout(h);t.clearTimeout(e);e=t.setTimeout(function(){i.find(":focus").blur();o.instantlyCloseOthers===!0&&i.removeClass("open");t.clearTimeout(e);u.attr("aria-expanded","true");f.addClass("open");u.trigger(l)},o.hoverDelay)}var h,e,u=n(this),f=u.parent(),c={delay:n(this).data("delay"),hoverDelay:n(this).data("hover-delay"),instantlyCloseOthers:n(this).data("close-others")},l="show.bs.dropdown",a="hide.bs.dropdown",o=n.extend(!0,{},{delay:500,hoverDelay:0,instantlyCloseOthers:!0},r,c);f.hover(function(n){return f.hasClass("open")||u.is(n.target)?void s(n):!0},function(){t.clearTimeout(e);h=t.setTimeout(function(){u.attr("aria-expanded","false");f.removeClass("open");u.trigger(a)},o.delay)});u.hover(function(n){return f.hasClass("open")||f.is(n.target)?void s(n):!0});f.find(".dropdown-submenu").each(function(){var r,i=n(this);i.hover(function(){t.clearTimeout(r);i.children(".dropdown-menu").show();i.siblings().children(".dropdown-menu").hide()},function(){var n=i.children(".dropdown-menu");r=t.setTimeout(function(){n.hide()},o.delay)})})}))};n(document).ready(function(){n('[data-hover="dropdown"]').dropdownHover()})}(jQuery,window),function(){function si(){n.keyboardSupport&&c("keydown",at)}function d(){var i,o,a,l;if(!k&&document.body){k=!0;var t=document.body,e=document.documentElement,f=window.innerHeight,v=t.scrollHeight;r=document.compatMode.indexOf("CSS")>=0?e:t;u=t;si();top!=self?s=!0:di&&v>f&&(t.offsetHeight<=f||e.offsetHeight<=f)&&(i=document.createElement("div"),i.style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+r.scrollHeight+"px",document.body.appendChild(i),h=function(){o||(o=setTimeout(function(){st||(i.style.height="0",i.style.height=r.scrollHeight+"px",o=null)},500))},setTimeout(h,10),c("resize",h),a={attributes:!0,childList:!0,characterData:!1},p=new pi(h),p.observe(t,a),r.offsetHeight<=f&&(l=document.createElement("div"),l.style.clear="both",t.appendChild(l)));n.fixedBackground||st||(t.style.backgroundAttachment="scroll",e.style.backgroundAttachment="scroll")}}function hi(){p&&p.disconnect();l(b,lt);l("mousedown",vt);l("keydown",at);l("resize",h);l("load",d)}function ct(t,i,r){var s,f,u,h,c,e;(ai(i,r),n.accelerationMax!=1&&(s=Date.now(),f=s-nt,f<n.accelerationDelta&&(u=(1+50/f)/2,u>1&&(u=Math.min(u,n.accelerationMax),i*=u,r*=u)),nt=Date.now()),o.push({x:i,y:r,lastX:i<0?.99:-.99,lastY:r<0?.99:-.99,start:Date.now()}),g)||(h=ni(),c=t===h||t===document.body,t.$scrollBehavior==null&&li(t)&&(t.$scrollBehavior=t.style.scrollBehavior,t.style.scrollBehavior="auto"),e=function(){for(var a,v,w=Date.now(),s=0,h=0,f=0;f<o.length;f++){var u=o[f],y=w-u.start,p=y>=n.animationTime,l=p?1:y/n.animationTime;n.pulseAlgorithm&&(l=wi(l));a=u.x*l-u.lastX>>0;v=u.y*l-u.lastY>>0;s+=a;h+=v;u.lastX+=a;u.lastY+=v;p&&(o.splice(f,1),f--)}c?window.scrollBy(s,h):(s&&(t.scrollLeft+=s),h&&(t.scrollTop+=h));i||r||(o=[]);o.length?gt(e,t,1e3/n.frameRate+1):(g=!1,t.$scrollBehavior!=null&&(t.style.scrollBehavior=t.$scrollBehavior,t.$scrollBehavior=null))},gt(e,t,0),g=!0)}function lt(t){var e,r,i,o;if((k||d(),e=t.target,t.defaultPrevented||t.ctrlKey)||f(u,"embed")||f(e,"embed")&&/\.pdf/i.test(e.src)||f(u,"object")||e.shadowRoot)return!0;if(r=-t.wheelDeltaX||t.deltaX||0,i=-t.wheelDeltaY||t.deltaY||0,ei&&(t.wheelDeltaX&&a(t.wheelDeltaX,120)&&(r=-120*(t.wheelDeltaX/Math.abs(t.wheelDeltaX))),t.wheelDeltaY&&a(t.wheelDeltaY,120)&&(i=-120*(t.wheelDeltaY/Math.abs(t.wheelDeltaY)))),r||i||(i=-t.wheelDelta||0),t.deltaMode===1&&(r*=40,i*=40),o=wt(e),!o)return s&&et?(Object.defineProperty(t,"target",{value:window.frameElement}),parent.wheel(t)):!0;if(vi(i))return!0;Math.abs(r)>1.2&&(r*=n.stepSize/120);Math.abs(i)>1.2&&(i*=n.stepSize/120);ct(o,r,i);t.preventDefault();pt()}function at(i){var r=i.target,w=i.ctrlKey||i.altKey||i.metaKey||i.shiftKey&&i.keyCode!==t.spacebar,v,c,h,p,a;if((document.body.contains(u)||(u=document.activeElement),v=/^(textarea|select|embed|object)$/i,c=/^(button|submit|radio|checkbox|file|color|image)$/i,i.defaultPrevented||v.test(r.nodeName)||f(r,"input")&&!c.test(r.type)||f(u,"video")||yi(i)||r.isContentEditable||w)||(f(r,"button")||f(r,"input")&&c.test(r.type))&&i.keyCode===t.spacebar||f(r,"input")&&r.type=="radio"&&oi[i.keyCode])return!0;var y,l=0,o=0,e=wt(u);if(!e)return s&&et?parent.keydown(i):!0;h=e.clientHeight;e==document.body&&(h=window.innerHeight);switch(i.keyCode){case t.up:o=-n.arrowScroll;break;case t.down:o=n.arrowScroll;break;case t.spacebar:y=i.shiftKey?1:-1;o=-y*h*.9;break;case t.pageup:o=-h*.9;break;case t.pagedown:o=h*.9;break;case t.home:e==document.body&&document.scrollingElement&&(e=document.scrollingElement);o=-e.scrollTop;break;case t.end:p=e.scrollHeight-e.scrollTop;a=p-h;o=a>0?a+10:0;break;case t.left:l=-n.arrowScroll;break;case t.right:l=n.arrowScroll;break;default:return!0}ct(e,l,o);i.preventDefault();pt()}function vt(n){u=n.target}function pt(){clearTimeout(yt);yt=setInterval(function(){it=rt=w={}},1e3)}function ut(n,t,i){for(var u=i?it:rt,r=n.length;r--;)u[tt(n[r])]=t;return t}function ci(n,t){return(t?it:rt)[tt(n)]}function wt(n){var t=[],e=document.body,o=r.scrollHeight,i,u,f;do{if(i=ci(n,!1),i)return ut(t,i);if(t.push(n),o===n.scrollHeight){if(u=kt(r)&&kt(e),f=u||dt(r),s&&bt(r)||!s&&f)return ut(t,ni())}else if(bt(n)&&dt(n))return ut(t,n)}while(n=n.parentElement)}function bt(n){return n.clientHeight+10<n.scrollHeight}function kt(n){var t=getComputedStyle(n,"").getPropertyValue("overflow-y");return t!=="hidden"}function dt(n){var t=getComputedStyle(n,"").getPropertyValue("overflow-y");return t==="scroll"||t==="auto"}function li(n){var t=tt(n),i;return w[t]==null&&(i=getComputedStyle(n,"")["scroll-behavior"],w[t]="smooth"==i),w[t]}function c(n,t,i){window.addEventListener(n,t,i||!1)}function l(n,t,i){window.removeEventListener(n,t,i||!1)}function f(n,t){return n&&(n.nodeName||"").toLowerCase()===t.toLowerCase()}function ai(n,t){n=n>0?1:-1;t=t>0?1:-1;(y.x!==n||y.y!==t)&&(y.x=n,y.y=t,o=[],nt=0)}function vi(n){if(n){i.length||(i=[n,n,n]);n=Math.abs(n);i.push(n);i.shift();clearTimeout(ht);ht=setTimeout(function(){try{localStorage.SS_deltaBuffer=i.join(",")}catch(n){}},1e3);var t=n>120&&ft(n),r=!ft(120)&&!ft(100)&&!t;return n<50?!0:r}}function a(n,t){return Math.floor(n/t)==n/t}function ft(n){return a(i[0],n)&&a(i[1],n)&&a(i[2],n)}function yi(n){var t=n.target,i=!1;if(document.URL.indexOf("www.youtube.com/watch")!=-1)do if(i=t.classList&&t.classList.contains("html5-video-controls"),i)break;while(t=t.parentNode);return i}function ti(t){var i,r,u;return t=t*n.pulseScale,t<1?i=t-(1-Math.exp(-t)):(r=Math.exp(-1),t-=1,u=1-Math.exp(-t),i=r+u*(1-r)),i*n.pulseNormalize}function wi(t){return t>=1?1:t<=0?0:(n.pulseNormalize==1&&(n.pulseNormalize/=ti(1)),ti(t))}function v(t){for(var i in t)ot.hasOwnProperty(i)&&(n[i]=t[i])}var ot={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:!0,arrowScroll:50,fixedBackground:!0,excluded:""},n=ot,st=!1,s=!1,y={x:0,y:0},k=!1,r=document.documentElement,u,p,h,i=[],ht,ei=/^Mac/.test(navigator.platform),t={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},oi={37:1,38:1,39:1,40:1},o=[],g=!1,nt=Date.now(),tt=function(){var n=0;return function(t){return t.uniqueID||(t.uniqueID=n++)}}(),it={},rt={},yt,w={},fi,b;if(window.localStorage&&localStorage.SS_deltaBuffer)try{i=localStorage.SS_deltaBuffer.split(",")}catch(nr){}var gt=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(n,t,i){window.setTimeout(n,i||1e3/60)}}(),pi=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,ni=function(){var n=document.scrollingElement;return function(){var t,i,r;return n||(t=document.createElement("div"),t.style.cssText="height:10000px;width:1px;",document.body.appendChild(t),i=document.body.scrollTop,r=document.documentElement.scrollTop,window.scrollBy(0,3),n=document.body.scrollTop!=i?document.body:document.documentElement,window.scrollBy(0,-3),document.body.removeChild(t)),n}}();var e=window.navigator.userAgent,ii=/Edge/.test(e),et=/chrome/i.test(e)&&!ii,ri=/safari/i.test(e)&&!ii,bi=/mobile/i.test(e),ki=/Windows NT 6.1/i.test(e)&&/rv:11/i.test(e),di=ri&&(/Version\/8/i.test(e)||/Version\/9/i.test(e)),gi=(et||ri||ki)&&!bi,ui=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){ui=!0}}))}catch(nr){}fi=ui?{passive:!1}:!1;b="onwheel"in document.createElement("div")?"wheel":"mousewheel";b&&gi&&(c(b,lt,fi),c("mousedown",vt),c("load",d));v.destroy=hi;window.SmoothScrollOptions&&v(window.SmoothScrollOptions);typeof define=="function"&&define.amd?define(function(){return v}):"object"==typeof exports?module.exports=v:window.SmoothScroll=v}();$(window).scroll(function(){$(window).width()>767?$(window).scrollTop()>165?($("header.navbar-default").addClass("navbar-small"),$(".basket-notify-wrapper").css("top","60px"),$("header.navbar-default").hasClass("navbar-static-top")&&($("header.navbar-default").removeClass("navbar-static-top"),$("header.navbar-default").addClass("navbar-fixed-top"),$("body").css("padding-top","100px"),$("#store-header-menubar")&&($("#store-header-menubar").hide(),$("#header-dark header.navbar-default #able-span").show(),$("#header-dark header.navbar-default #able-span").removeClass("visible-xs")),$("header.navbar .megamenu .dropdown-menu").css("margin-top","-26px")),$("header.navbar-default").data("store-editing-enabled")=="False"&&($("header.navbar-default #storeLogo").hide(),$("header.navbar-default #able-span").show(),$("header.navbar-default #able-span").removeClass("visible-xs")),$(".checkout-top-header").hasClass("navbar-static-top")&&($(".checkout-top-header").removeClass("navbar-static-top"),$(".checkout-top-header").addClass("navbar-fixed-top"))):$(window).scrollTop()>40?($("header.navbar-default").removeClass("navbar-small"),$(".basket-notify-wrapper").css("top","100px"),$("header.navbar-default").data("store-editing-enabled")=="False"&&($("header.navbar-default #storeLogo").show(),$("#store-menu").data("menu")=="Light"&&($("header.navbar-default #able-span").hide(),$("header.navbar-default #able-span").addClass("visible-xs"))),$("header.navbar-default").hasClass("navbar-static-top")&&($("header.navbar-default").removeClass("navbar-static-top"),$("header.navbar-default").data("store-editing-enabled")=="False"&&($("header.navbar-default").addClass("navbar-fixed-top"),$("#store-header-menubar")&&($("#store-header-menubar").hide(),$("#header-dark header.navbar-default #able-span").show(),$("#header-dark header.navbar-default #able-span").removeClass("visible-xs"))),$("body").css("padding-top","100px"),$("header.navbar .megamenu .dropdown-menu").css("margin-top","-37px")),$(".checkout-top-header").hasClass("navbar-static-top")&&($(".checkout-top-header").removeClass("navbar-static-top"),$(".checkout-top-header").data("store-editing-enabled")=="False"&&$(".checkout-top-header").addClass("navbar-fixed-top"))):($("header.navbar-default").removeClass("navbar-fixed-top"),$("header.navbar-default").addClass("navbar-static-top"),$("header.navbar-default #storeLogo").show(),$("header.navbar-default #able-span").hide(),$("header.navbar-default #able-span").addClass("visible-xs"),$("body").css("padding-top","0px"),$(".basket-notify-wrapper").css("top",""),$("header.navbar .megamenu .dropdown-menu").css("margin-top","-11px"),$("#store-header-menubar")&&($("#store-header-menubar").show(),$("#header-dark header.navbar-default #able-span").hide(),$("#header-dark header.navbar-default #able-span").addClass("visible-xs")),$(".checkout-top-header").removeClass("navbar-fixed-top"),$(".checkout-top-header").addClass("navbar-static-top")):$(window).scrollTop()&&($("header.navbar-default").hasClass("navbar-static-top")&&($("header.navbar-default").addClass("navbar-offset"),$("header.navbar-default").removeClass("navbar-static-top")),$("header.navbar-default").data("store-editing-enabled")=="False"&&($("header.navbar-default").addClass("navbar-fixed-top"),$("header.navbar-default #storeLogo").hide(),$("header.navbar-default #able-span").show(),$("header.navbar-default #able-span").removeClass("visible-xs"),$("#store-header-menubar")&&($("#store-header-menubar").hide(),$("#header-dark header.navbar-default #able-span").show(),$("#header-dark header.navbar-default #able-span").removeClass("visible-xs"))),$("body").css("padding-top","60px"),$(".checkout-top-header").hasClass("navbar-static-top")&&($(".checkout-top-header").addClass("navbar-offset"),$(".checkout-top-header").removeClass("navbar-static-top"),$(".checkout-top-header").data("store-editing-enabled")=="False"&&$(".checkout-top-header").addClass("navbar-fixed-top")));$(window).width()>1199?$(window).scrollTop()>300?$("header.navbar-transparent").addClass("navbar-offset"):$("header.navbar-transparent").removeClass("navbar-offset"):$(window).width()>991?$(window).scrollTop()>200?$("header.navbar-transparent").addClass("navbar-offset"):$("header.navbar-transparent").removeClass("navbar-offset"):$(window).width()>767?$(window).scrollTop()>100?$("header.navbar-transparent").addClass("navbar-offset"):$("header.navbar-transparent").removeClass("navbar-offset"):$(window).scrollTop()&&$("header.navbar-transparent").addClass("navbar-offset");$(window).scrollTop()>300?$("#scrolltop").addClass("in"):$("#scrolltop").removeClass("in")});$(document).ready(function(){function n(n,t,i){$("html, body").animate({scrollTop:$(n).offset().top-t},i)}function t(n,t,i,r){var f=$(n),u=parseInt(f.val());u+r>=t&&u+r<=i?f.val(u+r):u+r>i&&f.val(i)}function i(n){$('#tabs-regions .nav-tabs a[href="#'+n+'"]').tab("show")}$("a.scroll[href^='#']").click(function(){return n($.attr(this,"href"),80,1e3),!1});$("#scrolltop").click(function(){n("body",0,1e3)});$(".widget-color .checkbox label").tooltip();$("body").scrollspy({target:"#scrollspy-nav",offset:100});$("#toggle-grid").click(function(){$(this).addClass("active");$("#toggle-list").removeClass("active");$("#products").fadeOut(300,function(){$(this).addClass("grid").removeClass("list").fadeIn(300)})});$("#toggle-list").click(function(){$(this).addClass("active");$("#toggle-grid").removeClass("active");$("#products").fadeOut(300,function(){$(this).addClass("list").removeClass("grid").fadeIn(300)})});$(".navbar-search").click(function(){$(this).hasClass("open")?($(this).find("i").removeClass("fa-times"),$(this).find("i").addClass("fa-search")):($(this).find("i").removeClass("fa-search"),$(this).find("i").addClass("fa-times"))});$(".navbar-search").on("hide.bs.dropdown",function(){$(this).find("i").removeClass("fa-times");$(this).find("i").addClass("fa-search")});$("#product-quickview").on("shown.bs.modal",function(){$("#product-quickview").find(".product-carousel-wrapper").removeClass("hidden")});$("#qty-plus").click(function(){var n=$("#qty").val();$("#qty").attr("value",parseInt(n)+1)});$("#qty-minus").click(function(){var n=$("#qty").val();parseInt(n)>1&&$("#qty").attr("value",parseInt(n)-1)});$(document).on("click","#modal-qty-plus",function(){var n=$("#buy-product-quantity-box .product-quantity").data("min"),i=$("#buy-product-quantity-box .product-quantity").data("max");t("#modal-qty",n,i,1)});$(document).on("click","#modal-qty-minus",function(){var n=$("#buy-product-quantity-box .product-quantity").data("min"),i=$("#buy-product-quantity-box .product-quantity").data("max");t("#modal-qty",n,i,-1)});$("#change-region").change(function(){var n=$(this).val();map.panTo(regions[n-1]);i("region-"+n.toString())});$("#modalAdvertising").on("hide.bs.modal",function(){typeof Storage!="undefined"&&$("#modal-hide").is(":checked")&&localStorage.setItem("modalhidden","hidden")})});$(window).on("load",function(){typeof Storage!="undefined"?localStorage.getItem("modalhidden")!=="hidden"&&$("#modalAdvertising").modal("show"):$("#modalAdvertising").modal("show")})