!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),v=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+U+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(U+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(U+10)+';display:none;position:absolute"></div>',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel&&document.documentElement.clientWidth||document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight||document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah=document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
jQuery(function(t){if("undefined"==typeof wc_single_product_params)return!1;t("body").on("init",".wc-tabs-wrapper, .woocommerce-tabs",function(){t(this).find(".wc-tab, .woocommerce-tabs .panel:not(.panel .panel)").hide();var e=window.location.hash,i=window.location.href,o=t(this).find(".wc-tabs, ul.tabs").first();e.toLowerCase().indexOf("comment-")>=0||"#reviews"===e||"#tab-reviews"===e?o.find("li.reviews_tab a").trigger("click"):i.indexOf("comment-page-")>0||i.indexOf("cpage=")>0?o.find("li.reviews_tab a").trigger("click"):"#tab-additional_information"===e?o.find("li.additional_information_tab a").trigger("click"):o.find("li:first a").trigger("click")}).on("click",".wc-tabs li a, ul.tabs li a",function(e){e.preventDefault();var i=t(this),o=i.closest(".wc-tabs-wrapper, .woocommerce-tabs"),a=o.find(".wc-tabs, ul.tabs");a.find("li").removeClass("active"),a.find('a[role="tab"]').attr("aria-selected","false").attr("tabindex","-1"),o.find(".wc-tab, .panel:not(.panel .panel)").hide(),i.closest("li").addClass("active"),i.attr("aria-selected","true").attr("tabindex","0"),o.find("#"+i.attr("href").split("#")[1]).show()}).on("keydown",".wc-tabs li a, ul.tabs li a",function(e){var i="rtl"===document.documentElement.dir,o=e.key,a=i?"ArrowLeft":"ArrowRight",r=i?"ArrowRight":"ArrowLeft",n="ArrowDown",s="ArrowUp",l="Home",c="End";if([a,r,n,s,c,l].includes(o)){var d=t(this),p=d.closest(".wc-tabs-wrapper, .woocommerce-tabs").find(".wc-tabs, ul.tabs").find('a[role="tab"]'),h=p.length-1,g=p.index(d),u=o===r||o===s?g-1:g+1,m="horizontal";if(p.length>=2){var _=p[0].getBoundingClientRect(),f=p[1].getBoundingClientRect();m=Math.abs(f.top-_.top)>Math.abs(f.left-_.left)?"vertical":"horizontal"}("vertical"!==m||o!==r&&o!==a)&&("horizontal"!==m||o!==s&&o!==n)&&(e.preventDefault(),o===r&&0===g&&"horizontal"===m||o===s&&0===g&&"vertical"===m||o===c?u=h:(a===o&&g===h&&"horizontal"===m||n===o&&g===h&&"vertical"===m||o===l)&&(u=0),p.eq(u).focus())}}).on("click","a.woocommerce-review-link",function(){return t(".reviews_tab a").trigger("click"),!0}).on("init","#rating",function(){t(this).hide().before('<p class="stars">\t\t\t\t\t\t<span role="group" aria-labelledby="comment-form-rating-label">\t\t\t\t\t\t\t<a role="radio" tabindex="0" aria-checked="false" class="star-1" href="#">'+wc_single_product_params.i18n_rating_options[0]+'</a>\t\t\t\t\t\t\t<a role="radio" tabindex="-1" aria-checked="false" class="star-2" href="#">'+wc_single_product_params.i18n_rating_options[1]+'</a>\t\t\t\t\t\t\t<a role="radio" tabindex="-1" aria-checked="false" class="star-3" href="#">'+wc_single_product_params.i18n_rating_options[2]+'</a>\t\t\t\t\t\t\t<a role="radio" tabindex="-1" aria-checked="false" class="star-4" href="#">'+wc_single_product_params.i18n_rating_options[3]+'</a>\t\t\t\t\t\t\t<a role="radio" tabindex="-1" aria-checked="false" class="star-5" href="#">'+wc_single_product_params.i18n_rating_options[4]+"</a>\t\t\t\t\t\t</span>\t\t\t\t\t</p>")}).on("click","#respond p.stars a",function(){var e=t(this),i=e.closest("p.stars").find("a").index(e)+1,o=t(this).closest("#respond").find("#rating"),a=t(this).closest(".stars");return o.val(i),e.siblings("a").removeClass("active").attr("aria-checked","false").attr("tabindex","-1"),e.addClass("active").attr("aria-checked","true").attr("tabindex","0"),a.addClass("selected"),!1}).on("click","#respond #submit",function(){var e=t(this).closest("#respond").find("#rating"),i=e.val();if(e.length>0&&!i&&"yes"===wc_single_product_params.review_rating_required)return window.alert(wc_single_product_params.i18n_required_rating_text),!1}).on("keyup",".wc-tabs li a, ul.tabs li a, #respond p.stars a",function(e){var i=e.key,o=["ArrowRight","ArrowDown"];o.concat(["ArrowLeft","ArrowUp"]).includes(i)&&(e.preventDefault(),e.stopPropagation(),o.includes(i)?t(this).next().focus().click():t(this).prev().focus().click())}),t(".wc-tabs-wrapper, .woocommerce-tabs, #rating").trigger("init");var e=function(e,i){this.$target=e,this.$images=t(".woocommerce-product-gallery__image",e),0!==this.$images.length?(e.data("product_gallery",this),this.flexslider_enabled="function"==typeof t.fn.flexslider&&wc_single_product_params.flexslider_enabled,this.zoom_enabled="function"==typeof t.fn.zoom&&wc_single_product_params.zoom_enabled,this.photoswipe_enabled="undefined"!=typeof PhotoSwipe&&wc_single_product_params.photoswipe_enabled,i&&(this.flexslider_enabled=!1!==i.flexslider_enabled&&this.flexslider_enabled,this.zoom_enabled=!1!==i.zoom_enabled&&this.zoom_enabled,this.photoswipe_enabled=!1!==i.photoswipe_enabled&&this.photoswipe_enabled),1===this.$images.length&&(this.flexslider_enabled=!1),this.initFlexslider=this.initFlexslider.bind(this),this.initZoom=this.initZoom.bind(this),this.initZoomForTarget=this.initZoomForTarget.bind(this),this.initPhotoswipe=this.initPhotoswipe.bind(this),this.onResetSlidePosition=this.onResetSlidePosition.bind(this),this.getGalleryItems=this.getGalleryItems.bind(this),this.openPhotoswipe=this.openPhotoswipe.bind(this),this.trapFocusPhotoswipe=this.trapFocusPhotoswipe.bind(this),this.handlePswpTrapFocus=this.handlePswpTrapFocus.bind(this),this.flexslider_enabled?(this.initFlexslider(i.flexslider),e.on("woocommerce_gallery_reset_slide_position",this.onResetSlidePosition)):this.$target.css("opacity",1),this.zoom_enabled&&(this.initZoom(),e.on("woocommerce_gallery_init_zoom",this.initZoom)),this.photoswipe_enabled&&this.initPhotoswipe()):this.$target.css("opacity",1)};e.prototype.initFlexslider=function(e){var i=this.$target,o=this,a=t.extend({selector:".woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image",start:function(){i.css("opacity",1)},after:function(t){o.initZoomForTarget(o.$images.eq(t.currentSlide))}},e);i.flexslider(a),t(".woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:eq(0) .wp-post-image").one("load",function(){var e=t(this);e&&setTimeout(function(){var t=e.closest(".woocommerce-product-gallery__image").height(),i=e.closest(".flex-viewport");t&&i&&i.height(t)},100)}).each(function(){this.complete&&t(this).trigger("load")})},e.prototype.initZoom=function(){"complete"===document.readyState?this.initZoomForTarget(this.$images.first()):t(window).on("load",()=>{this.initZoomForTarget(this.$images.first())})},e.prototype.initZoomForTarget=function(e){if(!this.zoom_enabled)return!1;var i=this.$target.width(),o=!1;if(t(e).each(function(e,a){if(t(a).find("img").data("large_image_width")>i)return o=!0,!1}),o){var a=t.extend({touch:!1,callback:function(){var t=this;setTimeout(function(){t.removeAttribute("role"),t.setAttribute("alt",""),t.setAttribute("aria-hidden","true")},100)}},wc_single_product_params.zoom_options);"ontouchstart"in document.documentElement&&(a.on="click"),e.trigger("zoom.destroy"),e.zoom(a),setTimeout(function(){e.find(":hover").length&&e.trigger("mouseover")},100)}},e.prototype.initPhotoswipe=function(){this.zoom_enabled&&this.$images.length>0?(this.$target.prepend('<a href="#" role="button" class="woocommerce-product-gallery__trigger" aria-haspopup="dialog" aria-controls="photoswipe-fullscreen-dialog" aria-label="'+wc_single_product_params.i18n_product_gallery_trigger_text+'"><span aria-hidden="true">🔍</span></a>'),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe),this.$target.on("keydown",".woocommerce-product-gallery__trigger",t=>{" "===t.key&&this.openPhotoswipe(t)}),this.$target.on("click",".woocommerce-product-gallery__image a",function(t){t.preventDefault()}),this.flexslider_enabled||this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)):this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)},e.prototype.onResetSlidePosition=function(){this.$target.flexslider(0)},e.prototype.getGalleryItems=function(){var e=this.$images,i=[];return e.length>0&&e.each(function(e,o){var a=t(o).find("img");if(a.length){var r=a.attr("data-large_image"),n=a.attr("data-large_image_width"),s=a.attr("data-large_image_height"),l={alt:a.attr("alt"),src:r,w:n,h:s,title:a.attr("data-caption")?a.attr("data-caption"):a.attr("title")};i.push(l)}}),i},e.prototype.openPhotoswipe=function(e){e.preventDefault();var i,o=t(".pswp")[0],a=this.getGalleryItems(),r=t(e.target),n=e.currentTarget,s=this;i=0<r.closest(".woocommerce-product-gallery__trigger").length?this.$target.find(".flex-active-slide"):r.closest(".woocommerce-product-gallery__image");var l=t.extend({index:t(i).index(),addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].textContent=t.title,!0):(e.children[0].textContent="",!1)},timeToIdle:0},wc_single_product_params.photoswipe_options),c=new PhotoSwipe(o,PhotoSwipeUI_Default,a,l);c.listen("afterInit",function(){s.trapFocusPhotoswipe(!0)}),c.listen("close",function(){s.trapFocusPhotoswipe(!1),n.focus()}),c.init()},e.prototype.trapFocusPhotoswipe=function(t){var e=document.querySelector(".pswp");e&&(t?e.addEventListener("keydown",this.handlePswpTrapFocus):e.removeEventListener("keydown",this.handlePswpTrapFocus))},e.prototype.handlePswpTrapFocus=function(t){var e=t.currentTarget.querySelectorAll("button:not([disabled])"),i=Array.from(e).filter(function(t){return"none"!==t.style.display&&"none"!==window.getComputedStyle(t).display});if(!(1>=i.length)){var o=i[0],a=i[i.length-1];"Tab"===t.key&&(t.shiftKey?document.activeElement===o&&(t.preventDefault(),a.focus()):document.activeElement===a&&(t.preventDefault(),o.focus()))}},t.fn.wc_product_gallery=function(t){return new e(this,t||wc_single_product_params),this},t(".woocommerce-product-gallery").each(function(){t(this).trigger("wc-product-gallery-before-init",[this,wc_single_product_params]),t(this).wc_product_gallery(wc_single_product_params),t(this).trigger("wc-product-gallery-after-init",[this,wc_single_product_params])})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(f){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})});
function on_keydown_remove_from_cart(e){" "===e.key&&(e.preventDefault(),e.currentTarget.click())}function focus_populate_live_region(){var e=["woocommerce-message","woocommerce-error","wc-block-components-notice-banner"].map(function(e){return"."+e+'[role="alert"]'}).join(", "),o=document.querySelectorAll(e);if(0!==o.length){var t=o[0];t.setAttribute("tabindex","-1");var n=setTimeout(function(){t.focus(),clearTimeout(n)},500)}}function refresh_sorted_by_live_region(){var e=document.querySelector(".woocommerce-result-count");if(e){var o=e.innerHTML;e.setAttribute("aria-hidden","true");var t=setTimeout(function(){e.setAttribute("aria-hidden","false"),e.innerHTML="",e.innerHTML=o,clearTimeout(t)},2e3)}}function on_document_ready(){focus_populate_live_region(),refresh_sorted_by_live_region()}jQuery(function(e){e(".woocommerce-ordering").on("change","select.orderby",function(){e(this).closest("form").trigger("submit")}),e("input.qty:not(.product-quantity input.qty)").each(function(){var o=parseFloat(e(this).attr("min"));o>=0&&parseFloat(e(this).val())<o&&e(this).val(o)});var o="store_notice"+(e(".woocommerce-store-notice").data("noticeId")||"");if("hidden"===Cookies.get(o))e(".woocommerce-store-notice").hide();else{function t(o){["Enter"," "].includes(o.key)&&(o.preventDefault(),e(".woocommerce-store-notice__dismiss-link").click())}e(".woocommerce-store-notice").show(),e(".woocommerce-store-notice__dismiss-link").on("click",function n(r){Cookies.set(o,"hidden",{path:"/"}),e(".woocommerce-store-notice").hide(),r.preventDefault(),e(".woocommerce-store-notice__dismiss-link").off("click",n).off("keydown",t)}).on("keydown",t)}e(".woocommerce-input-wrapper span.description").length&&e(document.body).on("click",function(){e(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),e(".woocommerce-input-wrapper").on("click",function(e){e.stopPropagation()}),e(".woocommerce-input-wrapper :input").on("keydown",function(o){var t=e(this).parent().find("span.description");if(27===o.which&&t.length&&t.is(":visible"))return t.prop("aria-hidden",!0).slideUp(250),o.preventDefault(),!1}).on("click focus",function(){var o=e(this).parent(),t=o.find("span.description");o.addClass("currentTarget"),e(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),t.length&&t.is(":hidden")&&t.prop("aria-hidden",!1).slideDown(250),o.removeClass("currentTarget")}),e.scroll_to_notices=function(o){o.length&&e("html, body").animate({scrollTop:o.offset().top-100},1e3)},e('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),e(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),e(".password-input").each(function(){const o=e(this).find("input").attr("id");e(this).append('<button type="button" class="show-password-input" aria-label="'+woocommerce_params.i18n_password_show+'" aria-describedBy="'+o+'"></button>')}),e(".show-password-input").on("click",function(o){o.preventDefault(),e(this).hasClass("display-password")?(e(this).removeClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_show)):(e(this).addClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_hide)),e(this).hasClass("display-password")?e(this).siblings(['input[type="password"]']).prop("type","text"):e(this).siblings('input[type="text"]').prop("type","password"),e(this).siblings("input").focus()}),e("a.coming-soon-footer-banner-dismiss").on("click",function(o){var t=e(o.target);e.ajax({type:"post",url:t.data("rest-url"),data:{woocommerce_meta:{coming_soon_banner_dismissed:"yes"}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.data("rest-nonce"))},complete:function(){e("#coming-soon-footer-banner").hide()}})}),"undefined"==typeof wc_add_to_cart_params&&e(document.body).on("keydown",".remove_from_cart_button",on_keydown_remove_from_cart),e(document.body).on("item_removed_from_classic_cart updated_wc_div",focus_populate_live_region)}),document.addEventListener("DOMContentLoaded",on_document_ready);
(function($){
'use strict';
$(document).ready(function (){
$('body').on('adding_to_cart', function(event, $button){
if($button&&$button.hasClass('vc_gitem-link') ){
$button
.addClass('vc-gitem-add-to-cart-loading-btn')
.parents('.vc_grid-item-mini')
.addClass('vc-woocommerce-add-to-cart-loading')
.append($('<div class="vc_wc-load-add-to-loader-wrapper"><div class="vc_wc-load-add-to-loader"></div></div>') );
}}).on('added_to_cart', function(event, fragments, cart_hash, $button){
if('undefined'===typeof($button) ){
$button=$('.vc-gitem-add-to-cart-loading-btn');
}
if($button&&$button.hasClass('vc_gitem-link') ){
$button
.removeClass('vc-gitem-add-to-cart-loading-btn')
.parents('.vc_grid-item-mini')
.removeClass('vc-woocommerce-add-to-cart-loading')
.find('.vc_wc-load-add-to-loader-wrapper').remove();
}});
});
})(window.jQuery);
var wpex={};!function(e){"use strict";(wpex={init:function(){this.config(),this.replaceNoJsClass(),this.addBodyClasses(),this.runMethods(),this.bindEvents()},config:function(){this.config={localScrollSections:[],preferedReducedMotion:this.preferedReducedMotion()}},replaceNoJsClass:function(){let e=document.body.className;e=e.replace(/wpex-no-js/,"wpex-js"),document.body.className=e},addBodyClasses:function(){this.retinaCheck()&&document.body.classList.add("wpex-is-retina"),this.mobileCheck()&&document.body.classList.add("wpex-is-mobile-device")},runMethods:function(){this.megaMenusWidth(),this.megaMenusTop(),this.accessibility(),this.goBackButton(),this.skipToContent(),this.backTopLink(),this.backTopButton(),this.dialogs(),this.smoothCommentScroll(),this.customSelects(),this.localScrollSections(),this.dropdownMenuFlips(),this.dropdownMenuOnclick(),this.dropdownMenuTouch(),this.toggleElements(),this.localScrollLinks(),this.hoverStyles(),this.overlaysMobileSupport(),this.headerOverlayOffset(),this.stickyHeader(),this.footerReveal(),this.fixedFooter()},bindEvents:function(){const t=this;t.domReady((()=>{document.body.classList.add("wpex-docready"),t.disableWPBTabAnimations()})),window.addEventListener("load",(()=>{document.body.classList.add("wpex-window-loaded"),t.equalHeights(),t.localScrollHighlight(),t.stickyElements(),e.scrollToHash&&location.hash&&window.setTimeout((function(){t.scrollToHash(t)}),parseInt(e.scrollToHashTimeout))}))},dropdownMenuFlips:function(){const e=document.body.classList.contains("rtl"),t=document.querySelectorAll(".wpex-dropdown-menu > .menu-item-has-children:not(.megamenu,.vcex-horizontal-menu-nav__item--has_mega)"),o=t=>{const o=t.getBoundingClientRect();return e?o.left<0:o.right>window.innerWidth},n=(e,t)=>{if(t.classList.remove("flip-dropdown","left-dropdowns"),o(e))t.classList.add("flip-dropdown","left-dropdowns");else{const n=e.querySelector(".sub-menu");n&&o(n)&&t.classList.add("left-dropdowns")}};t.forEach((e=>{const t=e.querySelector(".sub-menu");if(!t)return;const o=e.closest(".wpex-dropdown-menu--onclick")?"click":"mouseenter";e.addEventListener(o,(()=>{n(t,e)})),"mouseenter"===o&&e.addEventListener("wpex:dropdownItemTouched",(()=>{n(t,e)}))}))},dropdownMenuOnclick:function(){document.addEventListener("click",(e=>{const t=e.target;if(!t.closest(".wpex-dropdown-menu--onclick .menu-item-has-children > a, .wpex-dropdown-menu--onclick .menu-item-has-children > .vcex-horizontal-menu-nav__item-content"))return void document.querySelectorAll(".wpex-dropdown-menu--onclick .menu-item-has-children").forEach((e=>{e.classList.remove("wpex-active")}));document.querySelectorAll(".wpex-dropdown-menu--onclick .menu-item-has-children").forEach((e=>{e.contains(t)||e.classList.remove("wpex-active")}));const o=t.closest(".menu-item-has-children"),n=t.closest("a,.vcex-menu-nav__item-content");o.classList.contains("wpex-active")?(o.classList.remove("wpex-active"),"#"===n.getAttribute("href")&&e.preventDefault()):(o.classList.add("wpex-active"),e.preventDefault())})),document.addEventListener("keydown",(e=>{const t=e.target.closest(".wpex-dropdown-menu--onclick .menu-item-has-children.wpex-active");"Escape"===e.key&&t&&t.classList.remove("wpex-active")})),document.querySelectorAll(".wpex-dropdown-menu--onclick .sub-menu").forEach((e=>{e.addEventListener("keydown",(e=>{if("Escape"===e.key){const t=e.target.closest(".menu-item-has-children.wpex-active");if(t){t.classList.remove("wpex-active");t.querySelector("a").focus(),e.stopPropagation()}}}))}))},dropdownMenuTouch:function(){let e=!1;document.querySelectorAll(".wpex-dropdown-menu--onhover .menu-item-has-children > a, .wpex-dropdown-menu--onhover .menu-item-has-children > .vcex-horizontal-menu-nav__item-content").forEach((t=>{t.addEventListener("touchend",(o=>{if(e)return;const n=t.closest(".menu-item-has-children");n.classList.contains("wpex-touched")||(o.preventDefault(),n.classList.add("wpex-touched"),n.dispatchEvent(new CustomEvent("wpex:dropdownItemTouched")))})),t.addEventListener("touchmove",(t=>{e=!0}),{passive:!0}),t.addEventListener("touchstart",(t=>{e=!1}),{passive:!0})}));const t=e=>{const t=e.target;document.querySelectorAll(".menu-item-has-children.wpex-touched").forEach((e=>{e.contains(t)||e.classList.remove("wpex-touched")}))};document.addEventListener("touchstart",t,{passive:!0}),document.addEventListener("touchmove",t,{passive:!0})},megaMenusWidth:function(){const e=this,t=document.querySelectorAll("#site-header-inner.container #site-navigation-wrap.wpex-stretch-megamenus .megamenu:not(.no-stretch) > ul");if(!t.length)return;const o=document.querySelector("#site-header-inner.container"),n=document.querySelector("#site-navigation-wrap"),s=()=>{if(!e.isVisible(n))return;let s,i;const r=n.classList.contains("navbar-style-one"),c=o.getBoundingClientRect().width;r&&(i=parseInt(o.getBoundingClientRect().left),s=n.getBoundingClientRect().left),t.forEach((e=>{e.style.width=`${c}px`,r&&(e.style.marginLeft=`-${s-i}px`)}))};s();const i=e.debounce((()=>{s()}),300);window.addEventListener("resize",i)},megaMenusTop:function(){const e=this,t=document.querySelector("#site-header.header-one");if(!t)return;const o=t.querySelector("#site-navigation-wrap.wpex-stretch-megamenus:not(.wpex-flush-dropdowns)");if(!this.isVisible(o))return;const n=o.querySelectorAll(".megamenu > ul");if(!n)return;let s=!1,i=!1;const r=()=>{e.isVisible(o)&&((()=>{const e=o.getBoundingClientRect().height,n=(t.getBoundingClientRect().height-e)/2+e;n!==s?(s=n,i=!0):i=!1})(),i&&n.forEach((e=>{e.style.top=s+"px"})))};r();const c=e.debounce((()=>{r()}),300);window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c),o.querySelectorAll(".megamenu > a").forEach((e=>{e.addEventListener("mouseenter",r,!1),e.addEventListener("touchend",r,!1)}))},headerOverlayOffset:function(){const e=document.querySelector("#site-header");if(!e||!e.classList.contains("overlay-header")||e.classList.contains("header-fixed-height"))return;let t=!1;const o=document.querySelectorAll(".overlay-header-offset-div");if(!o)return;const n=(n=o)=>{const s=e.getBoundingClientRect().height;s!==t&&(t=s,o.forEach((e=>{e.style.height=`${t}px`})))},s=this.debounce((()=>{n()}),100);n(),window.addEventListener("load",n),window.addEventListener("resize",s)},stickyHeader:function(){const e=document.querySelector("#site-header.wpex-sticky");if(!e||"object"==typeof wpex_sticky_header_params)return;const t=()=>{document.body.style.setProperty("--wpex-sticky-header-height",`${e.offsetHeight}px`)};t();new ResizeObserver((()=>t())).observe(e)},skipToContent:function(){const e=this;document.addEventListener("click",(t=>{if(!t.target.classList.contains("skip-to-content"))return;const o=t.target.getAttribute("href"),n=document.querySelector(o);n&&(t.preventDefault(),n.setAttribute("tabIndex","-1"),e.scrollTo(o))}))},backTopLink:function(){const t=this;document.addEventListener("click",(o=>{let n=o.target;if(!n.closest("a#site-scroll-top, a.wpex-scroll-top, .wpex-scroll-top a"))return;const s=n.closest("#site-scroll-top");if(s&&(n=s),0!==window.scrollY){const o=document.querySelector('[data-ls_id="#site_top"]');o&&o.focus({preventScroll:!0,focusVisible:!1});const s=t.getEasing(n.dataset.scrollEasing);if(s){const t=parseInt(n.dataset.scrollSpeed||e.localScrollSpeed);jQuery("html, body").stop(!0,!0).animate({scrollTop:0},t,s)}else window.scrollTo({top:0,behavior:t.getScrollToBehavior()})}o.preventDefault(),o.stopPropagation()}))},backTopButton:function(){const e=document.querySelector("#site-scroll-top");if(!e)return;const t=e.hasAttribute("data-scroll-offset")?parseInt(e.getAttribute("data-scroll-offset")):100;if(0===t)return;window.addEventListener("scroll",(()=>{window.scrollY>t?(e.classList.add("show"),e.classList.remove("wpex-invisible","wpex-opacity-0")):(e.classList.remove("show"),e.classList.add("wpex-invisible","wpex-opacity-0"))}),{passive:!0})},smoothCommentScroll:function(){const e=this;document.addEventListener("click",(t=>{if(t.target.closest(".comments-link")){const o=document.querySelector("#comments");o&&(o.setAttribute("tabIndex","-1"),e.scrollTo("#comments"),t.preventDefault(),t.stopPropagation())}}))},goBackButton:function(){document.addEventListener("click",(e=>{e.target.closest(".wpex-go-back")&&(e.preventDefault(),history.back())}))},dialogs:function(){const e=this,t=e=>{if(!e.target.closest(".wpex-modal__inner")){const t=e.target.closest("dialog");t&&n(t)}},o=o=>{if(!o)return;const n=document.querySelector(`#${o.replace("#","")}`);if(n)if(n.classList.contains("wpex-modal")){n.showModal();n.querySelector(".wpex-modal__inner")&&n.addEventListener("click",t),document.body.classList.add("modal-is-open"),document.body.classList.contains("vc_editor")||e.htmlNoScroll("add")}else n.show()},n=e=>{e.classList.contains("wpex-modal")&&e.removeEventListener("click",t),e.close()},s=()=>{document.querySelectorAll(".wpex-modal").forEach((t=>{t.addEventListener("close",(()=>{document.body.classList.remove("modal-is-open"),e.htmlNoScroll("remove"),t.classList.contains("wpex-modal--fade-in")&&t.classList.remove("wpex-modal--fade-in"),document.querySelectorAll(`[aria-controls="${t.id}"]`).forEach((e=>{e.setAttribute("aria-expanded","false")}))}))}))};s(),document.addEventListener("click",(e=>{const t=e.target.closest(".wpex-open-modal,.wpex-open-dialog"),s=e.target.closest(".wpex-close-modal");if(t||s)if(e.preventDefault(),t){const e=t.getAttribute("aria-controls");e&&(o(e),t.setAttribute("aria-expanded","true"))}else if(s){const t=e.target.closest("dialog");t&&n(t)}})),document.addEventListener("keydown",(e=>{if(" "===e.key){const t=e.target.closest(".wpex-open-modal,.wpex-open-dialog");if(t){const n=t.getAttribute("aria-controls");n&&(e.preventDefault(),o(n))}}})),window.addEventListener("totaltheme_loadmore_posts",s),window.addEventListener("vcexAfterAjaxSuccess",s)},toggleElements:function(){const e=this,t=(e,t)=>{t=t||document;const o=e.getAttribute("id");if(!o)return;e.classList.add("wpex-toggle-element--visible");const n=e.parentNode;n.classList.contains("wpex-toggle-element")?(n.classList.add("wpex-toggle-element--visible"),n.setAttribute("tabIndex","-1"),n.focus({preventScroll:!0,focusVisible:!1})):(e.setAttribute("tabIndex","-1"),e.focus({preventScroll:!0,focusVisible:!1})),t.querySelectorAll(`.wpex-toggle-element-trigger[aria-controls="${o}"]`).forEach((e=>{(e=>{e.setAttribute("aria-expanded","true"),(e.classList.contains("vcex-button")||e.classList.contains("theme-button"))&&e.classList.add("active");const t=e.getAttribute("data-close-text"),o=e.getAttribute("data-open-text"),n=e.querySelector(".theme-button-text")||e;o&&t&&n&&(n.textContent=t)})(e)})),window.dispatchEvent(new Event("resize")),e.dispatchEvent(new CustomEvent("wpex_toggle_element_open")),"function"==typeof jQuery&&"function"==typeof jQuery.fn.sliderPro&&jQuery(e).find(".wpex-slider").each((function(){jQuery(this).data("sliderPro")&&jQuery(this).sliderPro("update")}))},o=(e,t)=>{t=t||document;const o=e.getAttribute("id");o&&(e.classList.remove("wpex-toggle-element--visible"),e.dispatchEvent(new CustomEvent("wpex_toggle_element_close")),t.querySelectorAll(`.wpex-toggle-element-trigger[aria-controls="${o}"]`).forEach((e=>{(e=>{e.setAttribute("aria-expanded","false"),(e.classList.contains("vcex-button")||e.classList.contains("theme-button"))&&e.classList.remove("active");const t=e.getAttribute("data-close-text"),o=e.getAttribute("data-open-text"),n=e.querySelector(".theme-button-text")||e;o&&t&&n&&(n.textContent=o)})(e)})))};document.addEventListener("click",(n=>{const s=n.target.closest("a.wpex-toggle-element-trigger,button.wpex-toggle-element-trigger");if(!s)return;const i=(e=>{const t=e.getAttribute("aria-controls");if(t)return document.querySelector(`#${t.replace("#","")}`)})(s);if(!i||!i.classList.contains("wpex-toggle-element"))return;n.preventDefault();const r=i.classList,c=s.closest(".vc_section")||s.closest(".vc_row");let l=!1;c&&c.contains(i)&&(l=!0);const a=l?c:document;a.querySelectorAll(".wpex-toggle-element--visible").forEach((e=>{e.isSameNode(i)||o(e,a)})),r.contains("wpex-toggle-element--visible")?r.contains("wpex-toggle-element--persist")||o(i,a):(t(i,a),"true"!==s.getAttribute("data-wpex-toggle-localscroll")||s.classList.contains("local-scroll-link")||e.scrollTo(i))})),document.addEventListener("keydown",(e=>{if("Escape"!==e.key)return;const t=e.target.closest(".wpex-toggle-element--visible");if(!t)return;const o=t.getAttribute("id");if(!o)return;let n=(t.closest(".vc_row")||t.closest(".vc_section")).querySelector(`.wpex-toggle-element-trigger[aria-controls="${o}"]`);n||(n=document.querySelector(`.wpex-toggle-element-trigger[aria-controls="${o}"]`)),n&&n.focus()}))},getLocalScrollOffset:function(){if(e.localScrollOffset)return parseInt(e.localScrollOffset);const t=this;let o=0;e.localScrollExtraOffset&&(o+=parseInt(e.localScrollExtraOffset)),document.querySelectorAll(".wpex-ls-offset,#wpadminbar").forEach((e=>{t.isVisible(e)&&(o+=e.getBoundingClientRect().height)}));const n=document.body.style.getPropertyValue("--wpex-sticky-topbar-height");n&&(o+=parseInt(n));const s=document.body.style.getPropertyValue("--wpex-sticky-main-nav-height");s&&(o+=parseInt(s));const i=document.body.style.getPropertyValue("--wpex-sticky-header-height");return i&&(o+=parseInt(i)),o&&Math.round(o)!==o&&(o=o.toFixed(2)),o},scrollTo:function(t,o=0){const n=this;if(!t)return;let s=null,i=null,r=0;const c=document.querySelectorAll("[data-ls_id]");for(let e=0;e<c.length;e++)if(t===c[e].dataset.ls_id){i=c[e];break}if(i?s=i:"string"==typeof t?n.isSelectorValid(t)&&(s=document.querySelector(t)):t.nodeType&&(s=t,t=""),!s)return;if(s.classList.contains("vc_tta-panel")){const e=s.closest(".vc_tta-tabs");if(e){if(s.id){const t=e.querySelector(`.vc_tta-tab:not(.vc_active) a[href="#${s.id}"]`);t&&t.click()}s=e,o=-20}}const l=getComputedStyle(s).getPropertyValue("--wpex-local-scroll-padding").trim();if(l){const e=parseFloat(l);isNaN(e)||(o+=-1*e)}r||(r=n.offset(s).top-n.getLocalScrollOffset()),r+=o,"string"==typeof t&&e.localScrollUpdateHash&&t!==location.hash&&(window.history.pushState(null,null,t),window.dispatchEvent(new HashChangeEvent("hashchange"))),document.dispatchEvent(new CustomEvent("wpex:beforeScrollTo",{detail:s})),s&&s.nodeType&&s.focus({preventScroll:!0,focusVisible:!1});const a=n.getEasing();if(a){const t=parseInt(s.dataset.scrollSpeed||e.localScrollSpeed);jQuery("html, body").stop(!0,!0).animate({scrollTop:r},t,a)}else window.scrollTo({top:r,behavior:n.getScrollToBehavior()})},scrollToHash:function(e){let t=location.hash;if(""!==t&&"#"!==t&&"undefined"!==t){if(t.startsWith("#_"))return e.scrollTo(t.replace("#_","#"));-1!==t.indexOf("localscroll-")&&(t=t.replace("localscroll-",""));try{const o=document.querySelector(`[data-ls_id="${t}"], ${t}`);!o||"dialog"===o.getAttribute("roles")||o.classList.contains("vcex-toggle__content")||o.classList.contains("wpex-toggle-element")||o.classList.contains("wpex-card-modal")||e.scrollTo(t)}catch(e){return!1}}},localScrollSections:function(){const t=this,o=document.querySelectorAll(e.localScrollTargets),n=[];return o.forEach((e=>{const o=e.getAttribute("href"),s=o?`#${o.replace(/^.*?(#|$)/,"")}`:null;if(!s||"#"===s)return;e.hasAttribute("data-ls_linkto")||e.setAttribute("data-ls_linkto",s);let i=document.querySelector(`[data-ls_id="${s}"]`);!i&&"string"==typeof s&&t.isSelectorValid(s)&&(i=document.querySelector(s)),i&&-1===n.indexOf(s)&&n.push(s)})),t.config.localScrollSections=n,t.config.localScrollSections},localScrollLinks:function(){const t=this,o=e=>{(e=e||document).querySelectorAll('a[href^="#"]:not([href="#"]):not(.local-scroll-link):not([target]):not([aria-selected]):not([aria-pressed]):not([aria-expanded]):not([data-vc-tabs]):not(.skip-to-content):not(#site-scroll-top):not([data-vc-accordion]):not([role="button"]):not(.wpex-lightbox):not(.wpex-lightbox-group-item)').forEach((e=>{if(e.closest(".local-scroll, .local-scroll-link, [aria-controls]"))return;let t=e.getAttribute("href");try{document.querySelector(`[data-ls_id="${t}"], ${t}`)&&e.classList.add("local-scroll-link")}catch(e){return!1}}))};e.localScrollFindLinks&&(o(),document.addEventListener("wpex_template_rendered",(e=>{o(e.detail)})));document.addEventListener("click",(o=>{const n=o.target;if(n.closest(".wpex-open-submenu"))return;const s=n.closest(e.localScrollTargets);if(!s)return;let i=s.dataset.ls_linkto||s.hash,r=!1;r=!(!t.config.localScrollSections||-1===t.config.localScrollSections.indexOf(i))||!!t.isSelectorValid(i)&&document.querySelector(`[data-ls_id="${i}"], ${i}`),r&&(s.closest(".sfHover")&&s.parentNode.classList.remove("sfHover"),s.classList.contains("wpex-toggle-element-trigger")&&"false"===s.getAttribute("aria-expanded")||(t.scrollTo(i),o.preventDefault(),o.stopPropagation()))})),e.localScrollFindLinks&&"function"==typeof jQuery&&document.body.classList.contains("woocommerce-page")&&jQuery(document).on("checkout_error",(e=>{document.querySelector("#site-header-sticky-wrapper.wpex-can-sticky")&&document.querySelectorAll(".woocommerce-error, .wc-block-components-notice-banner.is-error").forEach((e=>{o(e)}))}))},localScrollHighlight:function(){const t=this,o=t.config.localScrollSections;if(!e.localScrollHighlight||!o.length)return;const n=e=>{const o=document.querySelector(`[data-ls_id="${e}"], ${e}`);if(!o)return;let n=!1;const s=t.winScrollTop(),i=t.getLocalScrollOffset(),r=t.offset(o).top-i-1,c=o.offsetHeight,l=document.querySelectorAll(`[data-ls_linkto="${e}"] `);n=s>=r&&s<r+c,n?(o.classList.add("wpex-ls-inview"),document.querySelectorAll(".local-scroll.menu-item").forEach((e=>{e.classList.remove("current-menu-item")}))):o.classList.remove("wpex-ls-inview"),l.forEach((e=>{n?e.classList.add("active"):e.classList.remove("active");const t=e.closest("li");t&&(n?t.classList.add("current-menu-item"):t.classList.remove("current-menu-item"))}))};window.addEventListener("scroll",(()=>{for(var e=0;e<o.length;e++)n(o[e])}),{passive:!0})},equalHeights:function(e){"function"==typeof window.wpexEqualHeights&&(wpexEqualHeights(".match-height-grid",".match-height-content",e),wpexEqualHeights(".match-height-row",".match-height-content",e),wpexEqualHeights(".vc_row",".equal-height-column",e),wpexEqualHeights(".vc_row",".equal-height-content",e))},footerReveal:function(){const e=this,t=document.querySelector("#footer-reveal"),o=document.querySelector("#wrap"),n=document.querySelector("#main");if(!t||!o||!n)return;const s=()=>{if(e.viewportWidth()<960)return void(t.classList.contains("footer-reveal")&&(t.classList.remove("footer-reveal"),t.classList.add("footer-reveal-visible"),o.style.removeProperty("margin-bottom")));let n=0,s=t.offsetHeight;const i=window.innerHeight;n=t.classList.contains("footer-reveal")?o.offsetHeight+e.getLocalScrollOffset():o.offsetHeight+e.getLocalScrollOffset()-s,i>s&&n>i?t.classList.contains("footer-reveal-visible")&&(o.style.marginBottom=s+"px",t.classList.remove("footer-reveal-visible"),t.classList.add("footer-reveal")):t.classList.contains("footer-reveal")&&(o.style.removeProperty("margin-bottom"),t.classList.remove("footer-reveal"),t.classList.remove("wpex-visible"),t.classList.add("footer-reveal-visible"))},i=()=>{t.classList.contains("footer-reveal")&&(e.scrolledToBottom(n)?t.classList.add("wpex-visible"):t.classList.remove("wpex-visible"))},r=e.debounce((()=>{s()}),300);s(),i(),window.addEventListener("load",s),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",r)},fixedFooter:function(){if(!document.body.classList.contains("wpex-has-fixed-footer"))return;const e=document.querySelector("#main");if(!e)return;const t=()=>{e.style.minHeight=e.offsetHeight+(window.innerHeight-document.documentElement.offsetHeight)+"px"};t();const o=this.debounce((()=>{t()}),300);window.addEventListener("load",t),window.addEventListener("resize",o)},customSelects:function(t){if(!e.customSelects)return;const o=this;t&&t.childNodes||(t=document),t.querySelectorAll(e.customSelects).forEach((t=>{const n=t.parentNode;if(n.classList.contains("wpex-select-wrap")||n.classList.contains("wpex-multiselect-wrap"))return;const s=t.id;let i=!1;if(o.isVisible(t)){const n=document.createElement("div");if(t.hasAttribute("multiple")?n.className=s?`wpex-multiselect-wrap wpex-multiselect-wrap--${s} wpex-${s}`:"wpex-multiselect-wrap":(n.className=s?`wpex-select-wrap wpex-select-wrap--${s} wpex-${s}`:"wpex-select-wrap",i=!0),t=o.wrap(t,n),i&&e.selectArrowIcon){const t=document.createElement("span");t.className="wpex-select-arrow";const o=document.createDocumentFragment(),s=document.createElement("div");s.innerHTML=e.selectArrowIcon,o.appendChild(s.firstChild),t.appendChild(o),n.appendChild(t)}}}))},hoverStyles:function(){let e,t,o,n,s,i="",r={};if(e=document.querySelector(".wpex-hover-data"),e&&e.remove(),t=document.querySelectorAll("[data-wpex-hover]"),o=t.length,!o)return;const c=e=>{let o,n,s,i,c,l="",a="";if(o=t[e],n=o.dataset.wpexHover,n){n=JSON.parse(n),i=o.classList;for(let e=0;e<i.length;e++)-1!==i[e].indexOf("wpex-dhover-")&&o.classList.remove(i[e]);s=`wpex-dhover-${e}`,n.parent?(c=o.closest(n.parent),c&&(c.classList.add(s+"-p"),o.classList.add(s),a=`.${s}-p:hover .${s}`)):(o.classList.add(s),a=`.${s}:hover`);for(let e in n)if(n.hasOwnProperty(e)){if("target"===e||"parent"===e)continue;l+=`${e}:${n[e]}!important;`}l&&(r[l]=l in r?`${r[l]},${a}`:a)}};for(let e=0;e<o;e++)c(e);if(r)for(let e in r)r.hasOwnProperty(e)&&(i+=`${r[e]}{${e}}`);i&&(n=document.createElement("style"),n.classList.add("wpex-hover-data"),n.appendChild(document.createTextNode(i)),s=document.head||document.getElementsByTagName("head")[0],s.appendChild(n))},overlaysMobileSupport:function(){if(!window.matchMedia("(any-pointer: coarse)").matches)return;let e=!1;document.querySelectorAll(".overlay-parent.overlay-hh").forEach((e=>{if(!e.classList.contains("overlay-ms")){e.querySelector(".theme-overlay")&&e.parentNode.removeChild(e)}}));const t=()=>{document.querySelectorAll(".wpex-touched").forEach((e=>{e.classList.remove("wpex-touched")}))};document.addEventListener("touchend",(o=>{let n=o.target.closest(".overlay-parent.overlay-ms.overlay-h,.vcex-image-swap,.wpex-card-touch-support");n&&(e?t():n.classList.contains("wpex-touched")?n.classList.remove("wpex-touched"):(o.preventDefault(),t(),n.classList.add("wpex-touched")))}),!1),document.addEventListener("touchmove",(o=>{const n=o.target;n.closest(".wpex-touched")||t();n.closest(".overlay-parent.overlay-ms.overlay-h,.vcex-image-swap,.wpex-card-touch-support")&&(e=!0)}),{passive:!0}),document.addEventListener("touchstart",(o=>{const n=o.target;n.closest(".wpex-touched")||t();n.closest(".overlay-parent.overlay-ms.overlay-h,.vcex-image-swap,.wpex-card-touch-support")&&(e=!1)}),{passive:!0})},stickyElements:function(){const e=document.body.classList;if(e.contains("compose-mode")||e.contains("wp-admin"))return;const t=document.querySelectorAll(".wpex-js-sticky");if(!t)return;const o=this;t.forEach((e=>{let t=!1,n=e.dataset.wpexStickyEndpoint||null;const s=parseInt(e.dataset.wpexStickyBreakpoint);n&&isNaN(n)&&(n=document.querySelector(n));const i=(e=>{const t=document.createElement("div");let o="wpex-js-sticky-wrap";const n=e.dataset.wpexStickyLsOffset||!0;return"true"!=n&&"1"!=n||(o+=" wpex-ls-offset"),t.className=o,e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e),t})(e),r=(e=>{const t=document.createElement("div");return t.className="wpex-js-sticky-holder",e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e),t})(i),c=()=>{let t=e.dataset.wpexStickyOffset?parseInt(e.dataset.wpexStickyOffset):0;return document.querySelectorAll("#top-bar-wrap-sticky-wrapper.wpex-can-sticky #top-bar-wrap,#site-header-sticky-wrapper.wpex-can-sticky #site-header,#site-navigation-sticky-wrapper.wpex-can-sticky #site-navigation-wrap,#wpadminbar,.wpex-sticky-el-offset,.wpex-js-sticky-wrap").forEach((n=>{const s=getComputedStyle(n).position;e.isEqualNode(n)||!o.isVisible(n)||!o.isBeforeElement(n,e)||"fixed"!==s&&"sticky"!==s||(t+=o.elHeight(n))})),t},l=()=>{if(s&&o.viewportWidth()<=s)return u();const t=o.winScrollTop(),l=c();t>o.offset(r).top-l&&0!==t?(d(l),n&&o.isVisible(n)&&(t>o.offset(n).top-l-o.elHeight(e)?i.style.position="relative":i.style.position="fixed")):u()},a=()=>{const e=r.getBoundingClientRect().width;e&&i.style.setProperty("width",e+"px")},d=n=>{o.isVisible(e)?t?i.style.top=c()+"px":(r.style.height=o.elHeight(e)+"px",i.classList.add("wpex-z-99"),i.style.position="fixed",i.style.top=n+"px",e.classList.add("wpex-js-sticky--stuck"),a(),t=!0):u()},u=()=>{t&&(r.style.height="",i.classList.remove("wpex-z-99"),i.style.position="",i.style.top="",i.style.width="",e.classList.remove("wpex-js-sticky--stuck"),t=!1)};l(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",(()=>{l(),t&&(o.isVisible(e)||u(),r.style.height=o.elHeight(e)+"px",i.style.top=c()+"px",a())})),window.addEventListener("orientationchange",(()=>{u(),l()}))}))},accessibility:function(){document.querySelectorAll("#site-navigation li.nav-no-click:not(.menu-item-has-children) > a").forEach((e=>{e.setAttribute("tabIndex","-1")})),document.querySelectorAll("#site-navigation li.megamenu > ul.sub-menu > li.menu-item.menu-item-has-children > a").forEach((e=>{"#"===e.getAttribute("href")&&e.setAttribute("tabIndex","-1")})),document.querySelectorAll(".vc_toggle .vc_toggle_title").forEach((e=>{e.setAttribute("tabIndex",0),e.addEventListener("keydown",(e=>{"Enter"===e.key&&e.target.click()}))})),window.addEventListener("keydown",(function e(t){"Tab"===t.key&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e))}))},disableWPBTabAnimations:function(){e.disable_vc_tta_animation&&document.querySelector(".vc_tta")&&"function"==typeof jQuery&&"function"==typeof jQuery.fn.vcAccordion&&(jQuery.fn.vcAccordion.Constructor.prototype.isAnimated=function(){return 0})},domReady:function(e){if("function"!=typeof e||"undefined"==typeof document)return;const t=document.readyState;if("interactive"===t||"complete"===t)return setTimeout(e);document.addEventListener("DOMContentLoaded",e,!1)},retinaCheck:function(){return window.devicePixelRatio>1||!(!window.matchMedia||!window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches)},mobileCheck:function(){if(/Android|webOS|iPhone|iPad|iPod|iPad Simulator|iPhone Simulator|iPod Simulator|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!0},getEasing:function(t){if(!e.localScrollEasing||"function"!=typeof jQuery||void 0===jQuery.easing||"function"!=typeof jQuery.easing.jswing)return;let o=t||e.localScrollEasing;return jQuery.easing.hasOwnProperty(o)||(o="swing"),o},viewportWidth:function(){let e="inner",t=window;return"innerWidth"in window||(e="client",t=document.documentElement||document.body),t[e+"Width"]},isSelectorValid:function(e){try{t=e,document.createDocumentFragment().querySelector(t)}catch(e){return!1}var t;return!0},slideUp:function(e,t,o){if(!e)return;if("none"!==getComputedStyle(e).display){if(this.config.preferedReducedMotion)t=0;else{null===t&&(t=300);const o=getComputedStyle(e).transitionDuration;o&&"0s"===o||(t=parseFloat(o)*(o.indexOf("ms")>-1?1:1e3)),t||(t=300)}0===t||1===t?(e.style.display="none",o&&o()):(e.classList.add("wpex-transitioning"),e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,setTimeout((()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.classList.remove("wpex-transitioning"),o&&o()}),t))}},slideDown:function(e,t,o){if(!e)return;let n=getComputedStyle(e).display;if("block"!==n){if(this.config.preferedReducedMotion)t=0;else{null===t&&(t=300);const o=getComputedStyle(e).transitionDuration;o&&"0s"===o||(t=parseFloat(o)*(o.indexOf("ms")>-1?1:1e3))}if(0===t||1===t)e.style.removeProperty("display"),"none"===n&&(e.style.display="block"),o&&o();else{t||(t=300),e.classList.add("wpex-transitioning"),e.style.removeProperty("display"),"none"===n&&(n="block"),e.style.display=n,e.style.transitionProperty="none";const s=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=s+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),setTimeout((()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.classList.remove("wpex-transitioning"),o&&o()}),t)}}},focusOnElement:function(e,t){const o=this,n=e.querySelectorAll('button,[href],input,select,textarea,a,summary,[tabindex]:not([tabindex="-1"])');if(!n.length)return;const s=[],i=e=>{e.focus({preventScroll:!0,focusVisible:!1})};for(let e=0;e<n.length;e++)o.isVisible(n[e])&&s.push(n[e]);if(!s.length)return;const r=s[0],c=s[s.length-1],l=c.closest("details");i(t||r);const a=e=>{"Tab"!==e.key||e.shiftKey||(e.preventDefault(),i(r))};c.addEventListener("keydown",a);const d=e=>{"Tab"===e.key&&e.shiftKey&&(e.preventDefault(),l&&!l.hasAttribute("open")?i(l.querySelector("summary")):i(c))};r.addEventListener("keydown",d);const u=e=>{"Tab"!==e.key||e.shiftKey||l.hasAttribute("open")||(e.preventDefault(),i(r))};return l&&l.addEventListener("keydown",u),function(){c.removeEventListener("keydown",a),r.removeEventListener("keydown",d),l&&l.removeEventListener("keydown",u)}},wrap:function(e,t){e.childNodes||(e=[e]),e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)},insertAfter:function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},offset:function(e){const t=e.getBoundingClientRect();return{top:t.top+this.winScrollTop(),left:t.left+this.winScrollTop(),bottom:t.bottom+this.winScrollTop()}},elHeight:function(e){return e.getBoundingClientRect().height},isVisible:function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},isEmpty:function(e){return!e||""===e.innerHTML},isBeforeElement:function(e,t){if("wpadminbar"===e.id)return!0;if(!e||!t)return;return 4===e.compareDocumentPosition(t)},insertExtras:function(e,t,o){if(e&&t){switch(o){case"append":t.appendChild(e);break;case"prepend":t.insertBefore(e,t.firstChild)}e.classList.remove("wpex-hidden")}},winScrollTop:function(){let e=window.scrollY||0;return e<0&&(e=0),e},scrolledToBottom:function(e){return this.winScrollTop()>=e.offsetTop+e.offsetHeight-window.innerHeight},removeClassPrefix:function(e,t,o){e.forEach((e=>{const n=e.classList;for(let s=0;s<n.length;s++)if(t.test(n[s])){const t=n[s].replace(o,"");e.classList.replace(n[s],t)}}))},setHamburgerIconState:function(e){if(!e){const t=document.querySelector("a.mobile-menu-toggle, button.mobile-menu-toggle, li.mobile-menu-toggle > a");e=t?t.querySelector(".wpex-hamburger-icon"):null}e&&(e.classList.contains("wpex-hamburger-icon--active")?(e.classList.remove("wpex-hamburger-icon--active"),e.classList.add("wpex-hamburger-icon--inactive")):e.classList.contains("wpex-hamburger-icon--inactive")&&(e.classList.remove("wpex-hamburger-icon--inactive"),e.classList.add("wpex-hamburger-icon--active")))},getElTransitionDuration:function(e){let t=getComputedStyle(e).transitionDuration;return t&&"0s"===t||(t=parseFloat(t)*(t.indexOf("ms")>-1?1:1e3)),parseFloat(t)||0},htmlNoScroll:function(e){switch(e){case"add":document.querySelector("html").classList.add("html-noscroll");break;case"remove":document.querySelector("html").classList.remove("html-noscroll")}},throttle:function(e,t=10){let o=Date.now();return function(){o+t-Date.now()<0&&(e(),o=Date.now())}},debounce:function(e,t=10){let o=null;return(...n)=>{window.clearTimeout(o),o=window.setTimeout((()=>{e.apply(null,n)}),t)}},getScrollToBehavior:function(){return e.scrollToBehavior||"smooth"},preferedReducedMotion:function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}}).init()}(wpex_theme_params),"function"!==window.wpexEqualHeights&&(window.wpexEqualHeights=function(e,t,o){if(!e||!t)return;if(o&&o.childNodes||(o=document),!o.querySelector(t))return;const n=o.querySelectorAll(e);if(!n.length)return;let s=new Set;function i(e,o){let n=0;const s=e.querySelectorAll(t);if(s&&(s.forEach((function(e){if(!e.classList.contains("vc_column-inner")||!e.closest(".vc_row.vc_inner")){o&&(e.style.height="");var t=e.getBoundingClientRect().height;t>n&&(n=t)}})),n&&(s.forEach((function(e){e.style.height=n+"px"})),"undefined"!=typeof Isotope))){const t=Isotope.data(e);t&&t.layout()}}n.forEach((e=>{e.querySelector(t)&&s.add(e)})),s=[...s],s.length&&(s.forEach((function(e){"function"==typeof imagesLoaded?new imagesLoaded(e).on("always",(function(t){i(e,!1)})):i(e,!1)})),window.addEventListener("resize",function(e,t){let o;return function(...n){clearTimeout(o),o=setTimeout((()=>e.apply(this,n)),t)}}((function(){s.forEach((function(e){i(e,!0)}))}),100)))}),"undefined"!=typeof jQuery&&(jQuery.fn.wpexEqualHeights=function(){this.get()&&console.log("The jQuery wpexEqualHeights prototype has been deprecated. Please use the new wpexEqualHeights function.")});