!function(){"use strict";var t=window.VAMTAM=window.VAMTAM||{},e=(t.debounce=function(t,e,a){var o;return function(){var n=this,r=arguments,i=a&&!o;clearTimeout(o),o=setTimeout(function(){o=null,a||t.apply(n,r)},e),i&&t.apply(n,r)}},t.offset=function(t){var t=t.getBoundingClientRect(),e=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+e}},t.scroll_handlers=[],t.latestKnownScrollY=0,!1);t.addScrollHandler=function(e){requestAnimationFrame(function(){e.init(),t.scroll_handlers.push(e),e.measure(t.latestKnownScrollY),e.mutate(t.latestKnownScrollY)})},t.onScroll=function(){t.latestKnownScrollY=window.pageYOffset,e||(e=!0,requestAnimationFrame(function(){for(var a=0;awindow.innerWidth-document.documentElement.clientWidth);t.waitForLoad=function(t){a?t():window.addEventListener("load",t)},window.addEventListener("load",function(){a=!0})}(),function(t,e){"use strict";function a(){clearTimeout(n),n=setTimeout(m,200)}function o(t,o,n){requestAnimationFrame(function(){var o=t.offset().top,i=(e.blockStickyHeaderAnimation=!0,c.height()||0),o=o-e.adminBarHeight-i;r=n,window.addEventListener("scroll",a,{passive:!0}),window.scroll({left:0,top:o,behavior:"smooth"}),t.attr("id")&&(history.pushState?history.pushState(null,null,"#"+t.attr("id")):window.location.hash=t.attr("id")),s&&s.classList.remove("mega-menu-open"),l&&l.classList.remove("mega-menu-open")})}var n,r,i,c=t("header.main-header").find(".header-contents"),s=document.getElementById("vamtam-fallback-main-menu-toggle"),l=document.querySelector("#main-menu > .mega-menu-wrap > .mega-menu-toggle"),m=function(){window.removeEventListener("scroll",a,{passive:!0}),e.blockStickyHeaderAnimation=!1,r&&r()};t(document.body).on("click",".vamtam-animated-page-scroll[href], .vamtam-animated-page-scroll [href], .vamtam-animated-page-scroll [data-href]",function(e){var a=t(this).prop("href")||t(this).data("href"),n=t("#"+a.split("#")[1]),r=document.createElement("a");r.href=a,n.length&&r.pathname===window.location.pathname&&(s&&s.classList.remove("mega-menu-open"),l&&l.classList.remove("mega-menu-open"),o(n),e.preventDefault())}),""!==window.location.hash&&(t('.vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||t('.vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||t('.vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length)&&(0<(i=t(window.location.hash)).length&&t(window).add("html, body, #page").scrollTop(0),setTimeout(function(){o(i)},400))}(jQuery,window.VAMTAM),function(t){"use strict";window.VAMTAM=window.VAMTAM||{},t(function(){var e,a;window.VAMTAM.adminBarHeight=document.body.classList.contains("admin-bar")?32:0,/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&requestAnimationFrame(function(){document.documentElement.classList.add("ios-safari")}),navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&requestAnimationFrame(function(){document.documentElement.classList.add("safari")}),a=document.body,window.addEventListener("scroll",function(){clearTimeout(e),requestAnimationFrame(function(){a.classList.add("disable-hover"),e=setTimeout(function(){a.classList.remove("disable-hover")},300)})},{passive:!0}),document.addEventListener("click",function(t){t.target.closest(".vamtam-trigger-print")&&(window.print(),t.preventDefault())}),window.VAMTAM.resizeElements=function(){t("#page .media-inner, .wp-block-embed-vimeo:not(.wp-has-aspect-ratio), :not(.wp-block-embed__wrapper) > .vamtam-video-frame").find("iframe, object, embed, video").each(function(){setTimeout((function(){requestAnimationFrame((function(){var e=this.offsetWidth;this.style.width="100%","0"===this.width&&"0"===this.height?this.style.height=9*e/16+"px":this.style.height=this.height*e/this.width+"px",t(this).trigger("vamtam-video-resized")}).bind(this))}).bind(this),50)}),setTimeout(function(){requestAnimationFrame(function(){t(".mejs-time-rail").css("width","-=1px")})},100)},window.addEventListener("resize",window.VAMTAM.debounce(window.VAMTAM.resizeElements,100),!1),window.VAMTAM.resizeElements(),t(document).ajaxSuccess(function(e,a,o){"wishlist_remove"===o.data.split("&").map(t=>t.split("=")).reduce((t,e)=>(t[e[0]]=e[1],t),{}).action&&1===(o=JSON.parse(a.responseText)).status&&0===o.count&&(t(".vamtam-empty-wishlist-notice").show(),t("table.woosw-items").hide())})}),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"low-priority.js"),function e(){function a(e){var a=e.currentTarget;if(t(a).hasClass("elementor-menu-toggle")){var e=t(a).closest(".elementor-row");if((e=e.length?e:t(a).closest(".elementor-container")).hasClass("vamtam-menu-nav-overlay-inside")||(e.addClass("vamtam-menu-nav-overlay-inside"),t(e).find(".vamtam-overlay-element").css("top",t(e)[0].getBoundingClientRect().top+t(e).height()+"px")),e.hasClass("vamtam-overlay-trigger--overlay"))return;e.addClass("vamtam-overlay-trigger--overlay"),n.forEach(function(t){t.overlayTarget!==a&&t.closeTrigger!==a||(t.isActive=!0)})}t("html, body").addClass("vamtam-disable-scroll"),t("#scroll-to-top").addClass("hidden"),t(e=a).hasClass("elementor-menu-toggle")&&(e.removeEventListener("click",i),e.addEventListener("click",i))}var o=document.querySelectorAll(".vamtam-overlay-trigger"),n=[],r=window.VAMTAM.isBelowMaxDeviceWidth(),i=function(e){var a=e.currentTarget;t(a).hasClass("elementor-menu-toggle")&&(e=(e=t(a).closest(".elementor-row")).length?e:t(a).closest(".elementor-container")).hasClass("vamtam-overlay-trigger--overlay")&&(e.removeClass("vamtam-overlay-trigger--overlay"),a.removeEventListener("click",i),n.forEach(function(t){t.overlayTarget!==a&&t.closeTrigger!==a||(t.isActive=!1)})),t(".vamtam-overlay-trigger--overlay .vamtam-overlay-element:visible").length<2&&(t("html, body").removeClass("vamtam-disable-scroll"),t("#scroll-to-top").removeClass("hidden"))};o.forEach(function(e){var o;t(e).hasClass("elementor-widget-nav-menu")&&((o=t(e).find(".elementor-menu-toggle")[0]).removeEventListener("click",a),o.addEventListener("click",a),n.push({overlayTarget:e,closeTrigger:o,isActive:!1}),(o=t(e).closest(".elementor-row")).length||(o=t(e).closest(".elementor-container")),t('').appendTo(o))}),o.length&&(document.addEventListener("click",function(t){n.forEach(function(e){!e.isActive||t.target===e.overlayTarget||e.overlayTarget.contains(t.target)||e.closeTrigger.click()})},!0),window.addEventListener("resize",window.VAMTAM.debounce(function t(){var e=window.VAMTAM.isBelowMaxDeviceWidth();r!==e&&(n.forEach(function(t){t.isActive&&t.closeTrigger.click()}),r=e)},200),!1))}(),jQuery("html").css("--vamtam-scrollbar-width",window.VAMTAM.getScrollbarWidth()+"px")},{passive:!0})}(jQuery),function(t){"use strict";window.Cookies=window.Cookies||{get:function(t){if(2===(t=("; "+document.cookie).split("; "+t+"=")).length)return t.pop().split(";").shift()}},t(function(){var e=t(".fixed-header-box .cart-dropdown"),a=t(".vamtam-cart-dropdown-link"),o=t(".products",a),n=t(".elementor-widget-woocommerce-menu-cart"),r=n.length,i=r&&t(n).find(".vamtam-elementor-menu-cart__header .item-count"),c="wc_add_to_cart_params"in window&&window.wc_add_to_cart_params.is_cart;function s(){c&&document.querySelectorAll(".woocommerce-cart-form__contents").forEach(function(e){t(e).hasClass("shop_table")||t(e).parent().hasClass("vamtam-cart-main")||t(e).removeClass("woocommerce-cart-form__contents")})}function l(){var e=t("#elementor-menu-cart__toggle_button:visible");t.each(e,function(t,e){e.click()})}function m(e){var a=t(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__toggle_button");let o=!1;if(t.each(a,function(a,n){if(t(n).is(e.target)||t(n).has(e.target).length)return o=!0,!1}),o)return e.preventDefault(),c?(e.stopImmediatePropagation(),!1):window.VAMTAM.isMobileBrowser?(e.stopImmediatePropagation(),window.location=window.wc_add_to_cart_params.cart_url,!1):(t("body").addClass("vamtam-disable-scroll"),t("#scroll-to-top").addClass("hidden"),void t(e.target).closest(".elementor-top-section").css("z-index","1000"))}function d(e,a){(t(e.target).is(".elementor-menu-cart__container, .vamtam-close-cart, .e-close-cart-custom-icon")||"no-target"===e&&a)&&(t("body").removeClass("vamtam-disable-scroll"),t("#scroll-to-top").removeClass("hidden"),t(e.target).closest("section.elementor-element").css("z-index",""))}function u(){let t=document.querySelectorAll(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__toggle_wrapper"),e=(t.forEach(function(t){t.removeEventListener("click",m),t.addEventListener("click",m,!0)}),document.querySelectorAll(".elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__container .elementor-menu-cart__close-button, .elementor-widget-woocommerce-menu-cart.vamtam-has-theme-widget-styles .elementor-menu-cart__container"));e.forEach(function(t){t.removeEventListener("click",d),t.addEventListener("click",d)})}function h(e){var a=t("#scroll-to-top.vamtam-scroll-to-top");a.length&&(e?a.css("bottom","10px"):a.css("bottom","95px"))}function f(e){var a;e&&(t(".woocommerce-notices-wrapper").empty().append(e),(a=t(".woocommerce-notices-wrapper").find(".vamtam-close-notice-btn")).length&&(a[0].addEventListener("click",function(){var e=t(this).closest(".woocommerce-message");e.fadeOut("fast"),h(!0),setTimeout(function(){e.remove()},2e3)}),setTimeout(function(){var t=a.closest(".woocommerce-message");t.fadeOut("fast"),setTimeout(function(){t.remove(),h(!0)},2e3)},1e4)))}u(),a=r?"vamtam_elementor_menu_cart_fragments wc_fragments_loaded":"added_to_cart removed_from_cart wc_fragments_refreshed wc_fragments_loaded",t(document.body).on(a,function(){var a=parseInt(Cookies.get("woocommerce_items_in_cart")||0,10);if(0{l()},500):window.VAMTAM.isMobileBrowser||setTimeout(()=>{l()},500):f(e.fragments.notice),t(document.body).trigger("added_to_cart",[e.fragments,e.cart_hash,a]))}}),!1}}}}),t(document).on("click",".woocommerce-mini-cart .woocommerce-cart-form__cart-item .product-remove > a",function(){let e=t(this).parents(".woocommerce-cart-form__cart-item");e.css({"pointer-events":"none",transition:"opacity .3s ease",opacity:"0.5"})}),window.wc_add_to_cart_params&&t(document).on("click",".mini_cart_item a.remove, .woocommerce-mini-cart .woocommerce-cart-form__cart-item .product-remove > a:not([class])",function(e){e.preventDefault();var a=t(this),e=t(this).attr("data-product_id"),o=t(this).attr("data-cart_item_key"),n=t(this).parents(".mini_cart_item, .woocommerce-cart-form__cart-item");t.ajax({type:"post",dataType:"json",url:window.wc_add_to_cart_params.ajax_url,data:{action:"product_remove",product_id:e,cart_item_key:o},beforeSend:function(){n.css("pointer-events","none").css("opacity","0.5"),t("body").css("cursor","wait")},complete:function(){t("body").css("cursor","default")},success:function(e){e&&e.fragments?t(document.body).trigger("removed_from_cart",[e.fragments,e.cart_hash,a]):window.location=a.attr("href")},error:function(){window.location=a.attr("href")}})}),t(document).on("change",".woocommerce-cart-form__cart-item .vamtam-quantity > select",function(e){e.preventDefault();var e=t(".woocommerce-cart").length,a=t(this).val(),o=t(this).attr("data-product_id"),n=t(this).attr("data-cart_item_key"),r=t(this).parents(".mini_cart_item, .woocommerce-cart-form__cart-item");if(e)return(e=t('input[type="submit"][name="update_cart"]')).prop("disabled",!1),void e.trigger("click");window.wc_add_to_cart_params&&t.ajax({type:"post",dataType:"json",url:window.wc_add_to_cart_params.ajax_url,data:{action:"update_item_from_cart",product_id:o,cart_item_key:n,product_quantity:a},beforeSend:function(){r.css("pointer-events","none").css("opacity","0.5"),t("body").css("cursor","wait")},complete:function(){r.css("pointer-events","auto").css("opacity","1"),t("body").css("cursor","default")},success:function(e){e&&e.fragments&&t(document.body).trigger("wc_fragment_refresh")},error:function(){}})})),window.addEventListener("load",function(){{let e=t(document.body).hasClass("woocommerce-checkout"),a=e&&t("form.checkout"),o=e&&t(".woocommerce > .woocommerce-notices-wrapper").first();e&&a.length&&o.length&&t(document.body).on("checkout_error",function(){var t=a.find(".woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout");o.append(t)})}r&&(u(),s())}),r&&t(document).ajaxComplete((e,a,o)=>{a=(a=a.responseJSON)&&a.fragments,o=o.data&&-1!==o.data.indexOf("action=elementor_menu_cart_fragments"),a&&o&&t(document.body).trigger("vamtam_elementor_menu_cart_fragments")})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".woosw-btn").forEach(t=>{fetch(VAMTAM_FRONT.ajaxurl,{method:"POST",body:new window.URLSearchParams({action:"vamtam_get_woosw_button",id:t.dataset.id})}).then(t=>t.text()).then(e=>{t.outerHTML=e})})})}(jQuery,window.VAMTAM),function(t){"use strict";window.VAMTAM=window.VAMTAM||{},window.VAMTAM.CUSTOM_ANIMATIONS={},window.VAMTAM.CUSTOM_ANIMATIONS={init:function(){},onDomReady:function(){this.VamtamCustomAnimations.init(),this.VamtamCustomAnimations.scrollBasedAnims()},VamtamCustomAnimations:{init:function(){this.registerAnimations(),this.utils.watchScrollDirection()},registerAnimations:function(){var t=this;["stickyHeader"].forEach(function(e){t[e].apply(t)})},stickyHeader:function(){var e=t(".vamtam-sticky-header"),a=this;if(e.length){1{10<=window.pageYOffset?o():t||window.addEventListener("load",function(){i||setTimeout(()=>{u(!0)},10)})};u();var h,f=null,v=window.scrollY;window.addEventListener("scroll",function(l){null!==f&&clearTimeout(f),f=setTimeout(function(){v=window.scrollY},500);var m=window.VAMTAM.debounce(function(){var m,d;"#document"===l.target.nodeName&&(t(e).find("a:hover").length||t(".vamtam-header-mega-menu:visible").length?c&&"fixedShownState"!==i&&n():(h!==(m=a.utils.getScrollDirection())&&(v=window.scrollY),h=m,d=Math.abs(window.scrollY-v),window.scrollY>s&&d<20||("up"===m?10<=window.pageYOffset?"fixedShownState"!==i&&n():"noAnimState"!==i&&r():"down"===m&&(10<=window.pageYOffset||c)&&(d=!t(e).find(".elementor-menu-cart--shown").length,"fixedHiddenState"!==i&&d&&o()))))},25);window.VAMTAM.isMaxDeviceWidth()?requestAnimationFrame(m):"noAnimState"!==i&&r()},{passive:!0})}}},scrollBasedAnims:function(){var e=document.querySelectorAll('[data-settings*="growFromLeftScroll"], [data-settings*="growFromRightScroll"]');if(e.length){var a,o={},n=this,r=function(t){t.forEach(function(t){var e=t.boundingClientRect.y,a=t.isIntersecting,r=t.target,i=Math.abs(parseFloat((100*t.intersectionRatio).toFixed(2))),t=o[r.dataset.vamtam_anim_id].lastScrollPercentage,c=o[r.dataset.vamtam_anim_id].lastScrollY,s=o[r.dataset.vamtam_anim_id].animateEl;a&&c!==e&&("down"!==n.utils.getScrollDirection()||t'),c=t(e).prev(".vamtam-scroll-anim-wrap"),t(c).append(e),n=c[0]),o[e.dataset.id]={lastScrollY:"",lastScrollPercentage:"",observeEl:n,animateEl:e},a.observe(n)})}},utils:{getAdminBarHeight:function(){return window.VAMTAM.adminBarHeight},watchScrollDirection:function(){var t=(function(){return this.lastScrollTop=0,this.utils=this,{init:function(){},measure:(function(t){this.direction=t>this.lastScrollTop?"down":"up"}).bind(this),mutate:(function(t){this.utils.getScrollDirection=function(){return this.direction},this.lastScrollTop=t<=0?0:t}).bind(this)}}).bind(this);window.VAMTAM.addScrollHandler(t())},isTouchDevice:function(){let t=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)return!0;var e=["(",t.join("touch-enabled),("),"heartz",")"].join("");return window.matchMedia(e).matches}}}},window.VAMTAM.CUSTOM_ANIMATIONS.init(),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.CUSTOM_ANIMATIONS.onDomReady()},!0),document.querySelector("[data-id='3c0ff23']").innerHTML="\xa9 "+new Date().getFullYear()}(jQuery);