1window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var i=0;i<this.length;i++)e.call(t,this[i],i,this)}),"undefined"==typeof Element||Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(i[a]=o[a])}return i},writable:!0,configurable:!0}),"function"!==window.wpexEqualHeights&&(window.wpexEqualHeights=function(e,a,t){if(e&&a){t&&t.childNodes||(t=document);var i=t.querySelectorAll(e);i&&(i.forEach(function(t){"function"==typeof imagesLoaded?new imagesLoaded(t).on("always",function(e){n(t,!1)}):n(t,!1)}),window.addEventListener("resize",function(){i.forEach(function(e){n(e,!0)})}))}function n(e,i){var n=0,t=e.querySelectorAll(a);if(t&&(t.forEach(function(e){if(!e.classList.contains("vc_column-inner")||!e.closest(".vc_row.vc_inner")){i&&(e.style.height="");var t=e.getBoundingClientRect().height;n<t&&(n=t)}}),n&&(t.forEach(function(e){e.style.height=n+"px"}),"undefined"!=typeof Isotope))){var o=Isotope.data(e);o&&o.layout()}}}),"undefined"!=typeof jQuery&&(jQuery.fn.wpexEqualHeights=function(){this.get()&&console.log("The jQuery wpexEqualHeights prototype has been deprecated. Please use the new wpexEqualHeights function.")});var wpex={};!function(y){"use strict";(wpex={init:function(){this.config(),this.replaceNoJsClass(),this.bindEvents()},config:function(){this.config={localScrollOffset:0,localScrollSections:[],passiveListeners:this.passiveListenersSupport()}},replaceNoJsClass:function(){var e=document.body.className;e=e.replace(/wpex-no-js/,"wpex-js"),document.body.className=e},bindEvents:function(){var e=this;e.domReady(function(){document.body.classList.add("wpex-docready"),e.retinaCheck()&&document.body.classList.add("wpex-is-retina"),e.mobileCheck()&&document.body.classList.add("wpex-is-mobile-device"),e.localScrollSections(),e.megaMenuAddClasses(),e.superfish(),e.dropdownMenuOnclick(),e.dropdownMenuTouch(),e.mobileMenu(),e.hideEditLink(),e.menuWidgetAccordion(),e.inlineHeaderLogo(),e.menuSearch(),e.menuCart(),e.skipToContent(),e.backTopLink(),e.goBackButton(),e.smoothCommentScroll(),e.toggleElements(),e.toggleBar(),e.localScrollLinks(),e.customSelects(),e.lightbox(),e.masonryGrids(),e.hoverStyles(),e.overlaysMobileSupport(),e.accessability()}),window.addEventListener("load",function(){document.body.classList.add("wpex-window-loaded"),e.megaMenusWidth(),e.megaMenusTop(),e.parallax(),e.stickyTopBar(),e.vcTabsTogglesJS(),e.headerOverlayOffset(),e.equalHeights(),e.localScrollHighlight(),e.stickyHeader(),e.stickyHeaderMenu(),e.parseLocalScrollOffset("init"),e.footerReveal(),e.fixedFooter(),y.scrollToHash&&window.setTimeout(function(){e.scrollToHash(e)},parseInt(y.scrollToHashTimeout))}),window.addEventListener("resize",function(){e.parseLocalScrollOffset("resize")})},superfish:function(){"function"==typeof jQuery&&"function"==typeof jQuery.fn.superfish&&jQuery("#site-navigation ul.sf-menu").superfish({delay:wpex_superfish_params.delay,speed:wpex_superfish_params.speed,speedOut:wpex_superfish_params.speedOut,cssArrows:!1,disableHI:!1,animation:{opacity:"show"},animationOut:{opacity:"hide"}})},dropdownMenuOnclick:function(){document.addEventListener("click",function(e){var t=e.target;if(t.closest(".wpex-dropdown-menu--onclick .menu-item-has-children > a")){document.querySelectorAll(".wpex-dropdown-menu--onclick .menu-item-has-children").forEach(function(e){e.contains(t)||e.classList.remove("wpex-active")});var i=t.closest(".menu-item-has-children"),n=t.closest("a");i.classList.contains("wpex-active")?(i.classList.remove("wpex-active"),"#"===n.getAttribute("href")&&e.preventDefault()):(i.classList.add("wpex-active"),e.preventDefault())}else document.querySelectorAll(".wpex-dropdown-menu--onclick .menu-item-has-children").forEach(function(e){e.classList.remove("wpex-active")})}),document.addEventListener("keydown",function(e){var t=e.keyCode||e.which,i=e.target.closest(".wpex-dropdown-menu--onclick .menu-item-has-children.wpex-active");27===t&&i&&i.classList.remove("wpex-active")}),document.querySelectorAll(".wpex-dropdown-menu--onclick .sub-menu").forEach(function(e){e.addEventListener("keydown",function(e){if(27===(e.keyCode||e.which)){var 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(){var e=this,n=!1;document.querySelectorAll(".wpex-dropdown-menu--onhover .menu-item-has-children > a").forEach(function(i){i.addEventListener("touchend",function(e){if(!n){var t=i.closest(".menu-item-has-children");t.classList.contains("wpex-touched")||(e.preventDefault(),t.classList.add("wpex-touched"))}}),i.addEventListener("touchmove",function(e){n=!0},!!e.config.passiveListeners&&{passive:!0}),i.addEventListener("touchstart",function(e){n=!1},!!e.config.passiveListeners&&{passive:!0})});var t=function(e){var t=e.target;document.querySelectorAll(".menu-item-has-children.wpex-touched").forEach(function(e){e.contains(t)||e.classList.remove("wpex-touched")})};document.addEventListener("touchstart",t,!!e.config.passiveListeners&&{passive:!0}),document.addEventListener("touchmove",t,!!e.config.passiveListeners&&{passive:!0})},megaMenuAddClasses:function(){document.querySelectorAll(".main-navigation-ul .megamenu > .sub-menu").forEach(function(e){e.querySelectorAll(".sub-menu").forEach(function(e){e.classList.add("megamenu__inner-ul")})})},megaMenusWidth:function(){var e=document.querySelector("#site-navigation-wrap.wpex-stretch-megamenus");if(this.isVisible(e)){var o=e.querySelectorAll(".megamenu > ul");o.length&&(t(),window.addEventListener("resize",t),window.addEventListener("orientationchange",t))}function t(){var t=document.querySelector("#site-header.header-one .container").getBoundingClientRect().width,i=e.getBoundingClientRect().width,n=parseInt(window.getComputedStyle(e).right)||0;o.forEach(function(e){e.style.width=t+"px",e.style.marginLeft=-(t-i-n)+"px"})}},megaMenusTop:function(){var i=this,n=document.querySelector("#site-navigation-wrap.wpex-stretch-megamenus:not(.wpex-flush-dropdowns)");if(this.isVisible(n)){var o=n.querySelectorAll(".megamenu > ul");if(o){var a=document.querySelector("#site-header.header-one");t(),window.addEventListener("scroll",t,!!i.config.passiveListeners&&{passive:!0}),window.addEventListener("resize",t),n.querySelectorAll(".megamenu > a").forEach(function(e){e.addEventListener("mouseenter",t,!1)})}}function t(){if(i.isVisible(n)){var e=n.getBoundingClientRect().height,t=(a.getBoundingClientRect().height-e)/2+e;o.forEach(function(e){e.style.top=t+"px"})}}},mobileMenu:function(){switch(y.mobileMenuStyle){case"sidr":this.mobileMenuSidr();break;case"toggle":this.mobileMenuToggle();break;case"full_screen":this.mobileMenuFullScreen()}},mobileMenuSidr:function(){if(void 0!==y.sidrSource&&void 0!==window.sidr){var n=window.sidr,o=this,e=document.body,t=document.querySelector("a.mobile-menu-toggle, li.mobile-menu-toggle > a"),i=document.createElement("div");i.className="wpex-sidr-overlay wpex-hidden",e.appendChild(i),n.new("a.mobile-menu-toggle, li.mobile-menu-toggle > a",{name:"sidr-main",source:y.sidrSource,side:y.sidrSide,timing:"ease-in-out",displace:y.sidrDisplace,speed:parseInt(y.sidrSpeed),renaming:!0,bind:"click",onOpen:function(){t&&(t.setAttribute("aria-expanded","true"),t.classList.add("wpex-active")),y.sidrBodyNoScroll&&e.classList.add("wpex-noscroll"),i&&(i.classList.remove("wpex-hidden"),i.classList.add("wpex-custom-cursor")),o.focusOnElement(document.querySelector("#sidr-main"))}
1,onClose:function(){t&&(t.setAttribute("aria-expanded","false"),t.classList.remove("wpex-active")),y.sidrBodyNoScroll&&e.classList.remove("wpex-noscroll"),i&&(i.classList.remove("wpex-custom-cursor"),i.classList.add("wpex-hidden"))},onCloseEnd:function(){document.querySelectorAll(".sidr-class-menu-item-has-children.active").forEach(function(e){e.classList.remove("active");var t=e.querySelector("ul");t&&(t.style.display="");var i=e.querySelector("a");if(i){var n=i.querySelector(".wpex-open-submenu");n&&(n.setAttribute("aria-label",y.i18n.openSubmenu.replace("%s",i.textContent.trim())),n.setAttribute("aria-expanded","false"))}}),y.sidrDisplace&&"function"==typeof window.vc_rowBehaviour&&setTimeout(window.vc_rowBehaviour)}});var a=document.querySelector("#sidr-main"),r=a.querySelector(".sidr-inner");a.classList.add("wpex-mobile-menu");var s=document.createElement("div");s.className="sidr-class-wpex-close";var c=document.createElement("a");c.href="#",c.setAttribute("role","button"),s.appendChild(c);var l=document.createElement("span");l.className="sidr-class-wpex-close__icon",l.setAttribute("aria-hidden","true"),l.innerHTML="×",c.appendChild(l);var d=document.createElement("span");d.className="screen-reader-text",d.textContent=y.mobileMenuCloseAriaLabel,c.appendChild(d),a.insertBefore(s,a.firstChild),o.insertExtras(document.querySelector(".wpex-mobile-menu-top"),r,"prepend"),o.insertExtras(document.querySelector(".wpex-mobile-menu-bottom"),r,"append");var u=a.querySelector(".sidr-class-main-navigation-ul");u&&u.classList.add("sidr-class-dropdown-menu"),o.menuAccordion(document.querySelector("#sidr-main .sidr-class-dropdown-menu")),o.removeClassPrefix(a.querySelectorAll('[class*="sidr-class-fa"]'),/^sidr-class-fa/,"sidr-class-"),o.removeClassPrefix(a.querySelectorAll('[class*="sidr-class-ticon"]'),/^sidr-class-ticon/,"sidr-class-"),o.removeClassPrefix(a.querySelectorAll("[class^=sidr-class-wpex-cart-link]"),/^sidr-class-wpex/,"sidr-class-"),o.removeClassPrefix(a.querySelectorAll(".sidr-class-screen-reader-text"),/^sidr-class-screen-reader-text/,"sidr-class-"),document.addEventListener("click",function(e){e.target.closest(".sidr-class-wpex-close")&&(e.preventDefault(),n.close("sidr-main"),t&&t.focus())}),window.addEventListener("resize",function(){o.viewportWidth()>
1=y.mobileMenuBreakpoint&&n.close("sidr-main")}),o.config.localScrollSections&&document.addEventListener("click",function(e){var t=e.target.closest("li.sidr-class-local-scroll > a");if(t){var i=t.hash;i&&-1!==o.config.localScrollSections.indexOf(i)&&(n.close("sidr-main"),o.scrollTo(i),e.preventDefault(),e.stopPropagation())}}),i.addEventListener("click",function(e){n.close("sidr-main"),e.preventDefault()}),a.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&(n.close("sidr-main"),t&&t.focus())});var f=document.querySelector("#mobile-menu-alternative");f&&f.parentNode.removeChild(f)}},mobileMenuToggle:function(){var e,t,i=this,n=y.mobileToggleMenuPosition,o="",a=document.querySelector("#mobile-menu-alternative");if(a){var r=a.querySelector(".dropdown-menu");r&&(o=r.innerHTML),a.parentNode.removeChild(a)}if(!o){var s=document.querySelector(".main-navigation-ul");s&&(o=s.innerHTML)}var c=document.createElement("nav");c.className="mobile-toggle-nav wpex-mobile-menu wpex-clr wpex-togglep-"+n,c.setAttribute("aria-label",y.mobileMenuAriaLabel),"fixed_top"===y.mobileMenuToggleStyle?(e=document.querySelector("#wpex-mobile-menu-fixed-top"))&&e.appendChild(c):"absolute"===n?e="navbar"===y.mobileMenuToggleStyle?document.querySelector("#wpex-mobile-menu-navbar"):document.querySelector("#site-header"):t="afterself"===n?document.querySelector("#wpex-mobile-menu-navbar"):document.querySelector("#site-header"),e?e.appendChild(c):t&&i.insertAfter(c,t);var l=document.createElement("div");l.className="mobile-toggle-nav-inner container";var d=document.createElement("ul");d.className="mobile-toggle-nav-ul",d.innerHTML=o,l.appendChild(d),c.appendChild(l),document.querySelectorAll(".mobile-toggle-nav-ul, .mobile-toggle-nav-ul *").forEach(function(e){e.removeAttribute("style"),e.removeAttribute("id")});var u=document.querySelector("#mobile-menu-search");if(u){var f=document.createElement("div");f.className="mobile-toggle-nav-search",l.appendChild(f),f.appendChild(u),u.classList.remove("wpex-hidden")}i.insertExtras(document.querySelector(".wpex-mobile-menu-top"),l,"prepend"),i.insertExtras(document.querySelector(".wpex-mobile-menu-bottom"),l,"append"),i.menuAccordion(c);var p=document.querySelector("a.mobile-menu-toggle, li.mobile-menu-toggle > a");function m(){y.animateMobileToggle?i.slideUp(c,300,function(){c.classList.remove("visible")}):c.classList.remove("visible"),c.querySelectorAll("li.active > ul").forEach(function(e){i.slideUp(e)}),c.querySelectorAll(".active").forEach(function(e){e.classList.remove("active")}),p&&(p.classList.remove("wpex-active"),p.setAttribute("aria-expanded","false"))}document.addEventListener("click",function(){event.target.closest(".mobile-menu-toggle")?(event.preventDefault(),c.classList.contains("wpex-transitioning")||(c.classList.contains("visible")?m():(y.animateMobileToggle?i.slideDown(c,300,function(){i.focusOnElement(c),c.classList.add("visible")}):(c.classList.add("visible"),i.focusOnElement(c)),p&&(p.classList.add("wpex-active"),p.setAttribute("aria-expanded","true"))))):c.classList.contains("visible")&&!event.target.closest(".mobile-toggle-nav")&&m()}),c.addEventListener("keydown",function(e){var t=e.keyCode||e.which;c.classList.contains("visible")&&27===t&&(m(),p&&p.focus())}),window.addEventListener("resize",function(){c.classList.contains("visible")&&i.viewportWidth()>
1=y.mobileMenuBreakpoint&&m()})},mobileMenuFullScreen:function(){var n=this,e=null,i=document.querySelector(".mobile-menu-toggle"),t=document.querySelector("#mobile-menu-alternative");if(t)e=t.innerHTML,t.parentNode.removeChild(t);else{var o=document.querySelector("#site-navigation .main-navigation-ul");o&&(e=o.innerHTML)}if(e){var a=document.createElement("div");a.className="full-screen-overlay-nav wpex-mobile-menu wpex-clr",y.fullScreenMobileMenuStyle&&a.classList.add(y.fullScreenMobileMenuStyle),a.setAttribute("aria-expanded","false"),document.body.appendChild(a);var r=document.createElement("button");r.className="full-screen-overlay-nav-close",a.appendChild(r);var s=document.createElement("span");s.className="full-screen-overlay-nav-close__icon",s.innerHTML="×",s.setAttribute("aria-hidden","true"),r.appendChild(s);var c=document.createElement("span");c.className="screen-reader-text",c.textContent=y.mobileMenuCloseAriaLabel,r.appendChild(c);var l=document.createElement("div");l.className="full-screen-overlay-nav-content",a.appendChild(l);var d=document.createElement("div");d.className="full-screen-overlay-nav-content-inner",l.appendChild(d);var u=document.createElement("nav");u.className="full-screen-overlay-nav-menu",d.appendChild(u);var f=document.createElement("ul");u.appendChild(f),f.innerHTML=e,document.querySelectorAll(".full-screen-overlay-nav, .full-screen-overlay-nav *").forEach(function(e){e.removeAttribute("style"),e.removeAttribute("id")}),n.insertExtras(document.querySelector(".wpex-mobile-menu-top"),d,"prepend"),n.insertExtras(document.querySelector(".wpex-mobile-menu-bottom"),d,"append");var p=document.querySelector("#mobile-menu-search");if(p){var m=document.createElement("li");m.className="wpex-search",f.appendChild(m),m.appendChild(p),p.classList.remove("wpex-hidden")}var v=!1;document.addEventListener("click",function(e){var i=e.target.closest(".full-screen-overlay-nav-menu li.menu-item-has-children > a");if(i){var t=i.parentNode;if(!t.classList.contains("local-scroll"))return v?(e.preventDefault(),void e.stopPropagation()):void(t.classList.contains("wpex-active")?(t.classList.remove("wpex-active"),t.querySelectorAll("li").forEach(function(e){e.classList.remove("wpex-active")}),t.querySelectorAll("ul").forEach(function(e){v=!0,n.slideUp(e,300,function(){v=!1})}),t.classList.contains("nav-no-click")&&(e.preventDefault(),e.stopPropagation())):(a.querySelectorAll(".menu-item-has-children").forEach(function(e){if(!e.contains(i)&&e.classList.contains("wpex-active")){var t=e.querySelector(":scope > ul");t&&(e.classList.remove("wpex-active"),v=!0,n.slideUp(t,300,function(){v=!1}))}}),t.classList.add("wpex-active"),v=!0,n.slideDown(t.querySelector(":scope > ul"),300,function(){v=!1}),e.preventDefault(),e.stopPropagation()))}}),document.addEventListener("click",function(e){var t=e.target.closest(".full-screen-overlay-nav-menu .local-scroll > a");if(t){var i=t.hash;i&&-1!==n.config.localScrollSections.indexOf(i)&&(h(),e.preventDefault(),e.stopPropagation())}}),i.addEventListener("click",function(e){e.target.closest(".mobile-menu-toggle")&&(a.classList.contains("visible")?h():function(){a.classList.add("visible"),a.setAttribute("aria-expanded","true"),i&&i.setAttribute("aria-expanded","true");document.body.classList.add("wpex-noscroll");var t=function(e){n.focusOnElement(a),a.removeEventListener("transitionend",t)};a.addEventListener("transitionend",t)}(),e.preventDefault(),e.stopPropagation())}),document.addEventListener("click",function(e){e.target.closest(".full-screen-overlay-nav-close")&&(h(),i&&i.focus(),e.preventDefault(),e.stopPropagation())}),a.addEventListener("keydown",function(e){var t=e.keyCode||e.which;a.classList.contains("visible")&&27===t&&(h(),i&&i.focus())})}function h(){a.classList.remove("visible"),a.setAttribute("aria-expanded","false"),i&&i.setAttribute("aria-expanded","false"),a.querySelectorAll(".wpex-active").forEach(function(e){e.classList.remove("wpex-active");var t=e.querySelector(":scope > ul");t&&(t.style.display="none")}),document.body.classList.remove("wpex-noscroll")}},menuSearch:function(){var e=document.querySelector(".header-searchform-wrap");if(e){var t=e.querySelector('input[type="search"]');t&&(e&&(e.dataset.placeholder&&t.setAttribute("placeholder",e.dataset.placeholder),e.dataset.disableAutocomplete&&t.setAttribute("autocomplete","off")),this.menuSearchDropdown(),this.menuSearchOverlay(),this.menuSearchHeaderReplace())}},menuSearchDropdown:function(){var i=this,n=document.querySelector("#searchform-dropdown");
1if(n){var o=!1,t=null,a=n.querySelector('input[type="search"]'),r=function(){n.classList.remove("show"),document.querySelectorAll("a.search-dropdown-toggle, a.mobile-menu-search").forEach(function(e){e.setAttribute("aria-expanded","false");var t=e.closest("li");t&&t.classList.remove("active")}),t&&t.focus(),o=!1};document.addEventListener("click",function(e){(t=e.target.closest("a.search-dropdown-toggle, a.mobile-menu-search"))?(e.preventDefault(),o?r():function(){n.classList.add("show"),document.querySelectorAll("a.search-dropdown-toggle, a.mobile-menu-search").forEach(function(e){e.setAttribute("aria-expanded","true");var t=e.closest("li");t&&t.classList.add("active")}),a.value="","function"==typeof jQuery&&jQuery(document).trigger("show.wpex.menuSearch");var t=function(e){i.focusOnElement(n,a),n.removeEventListener("transitionend",t)};n.addEventListener("transitionend",t),o=!0}()):!e.target.closest("#searchform-dropdown")&&o&&r()}),n.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&o&&r()})}},menuSearchOverlay:function(){var i=this,n=document.querySelector("#wpex-searchform-overlay");if(n){var o=!1,a=null,r=n.querySelector('input[type="search"]'),s=function(){n.classList.remove("active"),document.querySelectorAll("a.search-overlay-toggle, a.mobile-menu-search, li.search-overlay-toggle > a").forEach(function(e){e.setAttribute("aria-expanded","false");var t=e.closest("li");t&&t.classList.remove("active")}),a&&a.focus(),o=!1};document.addEventListener("click",function(e){var t=e.target.closest("a.search-overlay-toggle, a.mobile-menu-search, li.search-overlay-toggle > a");t?(a=t,e.preventDefault(),o?s():function(){n.classList.add("active"),document.querySelectorAll("a.search-overlay-toggle, a.mobile-menu-search, li.search-overlay-toggle > a").forEach(function(e){e.setAttribute("aria-expanded","true");var t=e.closest("li");t&&t.classList.add("active")}),r.value="","function"==typeof jQuery&&jQuery(document).trigger("show.wpex.menuSearch");var t=function(e){i.focusOnElement(n,r),n.removeEventListener("transitionend",t)};n.addEventListener("transitionend",t),o=!0}()):e.target.closest("#wpex-searchform-overlay .wpex-close")&&o&&s()}),n.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&o&&s()})}},menuSearchHeaderReplace:function(){var i=this,n=document.querySelector("#searchform-header-replace");if(n){var o=!1,a=null,r=n.querySelector('input[type="search"]'),s=function(){n.classList.remove("show"),document.querySelectorAll("a.search-header-replace-toggle, a.mobile-menu-search").forEach(function(e){e.setAttribute("aria-expanded","false");var t=e.closest("li");t&&t.classList.remove("active")}),a&&a.focus(),o=!1};document.addEventListener("click",function(e){var t=e.target.closest("a.search-header-replace-toggle, a.mobile-menu-search");t?(a=t,e.preventDefault(),o?s():function(){n.classList.add("show"),document.querySelectorAll("a.search-header-replace-toggle, a.mobile-menu-search").forEach(function(e){e.setAttribute("aria-expanded","true");var t=e.closest("li");t&&t.classList.add("active")}),r.value="","function"==typeof jQuery&&jQuery(document).trigger("show.wpex.menuSearch");var t=function(e){i.focusOnElement(n,r),n.removeEventListener("transitionend",t)};n.addEventListener("transitionend",t),o=!0}()):!e.target.closest("#searchform-header-replace .searchform")&&o&&s()}),n.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&o&&s()})}},menuCart:function(){var e=document.querySelector("a.wcmenucart");e&&e.classList.contains("go-to-shop")||(this.menuCartDropdown(),this.menuCartOverlay())},menuCartDropdown:function(){var i=this,n=document.querySelector("#current-shop-items-dropdown");if(n){var t=null,o=!1,a=function(){n.classList.remove("show"),document.querySelectorAll("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a").forEach(function(e){e.classList.remove("active"),e.setAttribute("aria-expanded","false")}),t&&t.focus(),o=!1};document.addEventListener("click",function(e){(t=e.target.closest("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a"))?(e.preventDefault(),o?a():function(){n.classList.add("show"),document.querySelectorAll("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a").forEach(function(e){e.classList.add("active"),e.setAttribute("aria-expanded","true")}),"function"==typeof jQuery&&jQuery(document).trigger("show.wpex.menuCart");var t=function(e){i.focusOnElement(n),n.removeEventListener("transitionend",t)};n.addEventListener("transitionend",t),o=!0}
1()):!e.target.closest("#current-shop-items-dropdown")&&o&&a()}),document.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&o&&a()})}},menuCartOverlay:function(){var i=this,n=document.querySelector("#wpex-cart-overlay");if(n){var o=null,a=!1,r=function(){n.classList.remove("active"),document.querySelectorAll("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a").forEach(function(e){e.classList.remove("active"),e.setAttribute("aria-expanded","false")}),o&&o.focus(),a=!1};document.addEventListener("click",function(e){var t=e.target.closest("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a");t?(o=t,e.preventDefault(),a?r():function(){n.classList.add("active"),document.querySelectorAll("a.toggle-cart-widget, li.toggle-cart-widget > a, li.toggle-header-cart > a").forEach(function(e){e.classList.add("active"),e.setAttribute("aria-expanded","true")}),"function"==typeof jQuery&&jQuery(document).trigger("show.wpex.menuCart");var t=function(e){i.focusOnElement(n),n.removeEventListener("transitionend",t)};n.addEventListener("transitionend",t),a=!0}()):!e.target.closest("#wpex-cart-overlay .wpex-inner")&&a&&r()}),document.addEventListener("keydown",function(e){27===(e.keyCode||e.which)&&a&&r()})}},headerOverlayOffset:function(){var e=document.querySelector("#site-header");if(e&&e.classList.contains("overlay-header")){var t=document.querySelectorAll(".add-overlay-header-offset");if(t.length){var i=e.getBoundingClientRect().height;t.forEach(function(e){var t=document.createElement("div");t.className="overlay-header-offset-div wpex-w-100",e.prepend(t),n(t),e.setAttribute("data-wpex-overlay-header-offset-init","true")}),window.addEventListener("resize",function(){i=e.getBoundingClientRect().height,document.querySelectorAll(".overlay-header-offset-div").forEach(function(e){n(e)})})}}function n(e){e.style.height=i+"px"}},hideEditLink:function(){document.addEventListener("click",function(e){var t=e.target.closest("a.hide-post-edit");if(t){e.preventDefault();var i=t.closest("div.post-edit");i&&i.parentNode.removeChild(i)}})},menuWidgetAccordion:function(){var r=this,s=!1;if(y.menuWidgetAccordion){document.querySelectorAll("#sidebar .widget_nav_menu .current-menu-ancestor, .widget_nav_menu_accordion .widget_nav_menu .current-menu-ancestor,#sidebar .widget_nav_menu .current-menu-item, .widget_nav_menu_accordion .widget_nav_menu .current-menu-item").forEach(function(e){e.classList.add("active")}),document.querySelectorAll("#sidebar .widget_nav_menu, .widget_nav_menu_accordion .widget_nav_menu").forEach(function(e){e.querySelectorAll(".menu-item-has-children").forEach(function(e){e.classList.add("parent")})});var c=function(e){s=!0,r.slideUp(e,300,function(){s=!1})};document.addEventListener("click",function(e){var i=e.target.closest("#sidebar .widget_nav_menu .menu-item-has-children > a, .widget_nav_menu_accordion .widget_nav_menu .menu-item-has-children > a");if(i&&(e.preventDefault(),e.stopPropagation(),!s)){var t,n=i.parentNode,o=i.closest(".widget_nav_menu"),a=n.querySelector(".sub-menu");if(o.querySelectorAll(".menu-item-has-children").forEach(function(e){if(!e.contains(i)){var t=e.querySelector(".sub-menu");t&&e.classList.contains("active")&&(e.classList.remove("active"),c(t))}}),a)if(!a.classList.contains("wpex-transitioning"))n.classList.contains("active")?(n.classList.remove("active"),c(a)):(n.classList.add("active"),t=a,s=!0,r.slideDown(t,300,function(){s=!1}))}})}},inlineHeaderLogo:function(){var o=this,e=document.querySelector("#site-header");if(e&&e.classList.contains("header-five")){var t=document.querySelector("#site-header.header-five #site-header-inner > .header-five-logo"),i=document.querySelector("#site-header.header-five .navbar-style-five"),n=null;if(t&&i){var a=function(){var e=function(){for(var e=document.querySelectorAll(".navbar-style-five .main-navigation-ul > li"),t=[],i=0;i<e.length;i++)o.isVisible(e[i])&&t.push(e[i]);var n=t.length;return t[Math.round(n/2)-parseInt(y.headerFiveSplitOffset)]}();e&&o.viewportWidth()>
1y.mobileMenuBreakpoint&&(n||((n=document.createElement("li")).className="menu-item-logo"),n.appendChild(t),e.parentNode.insertBefore(n,e.nextSibling),t.classList.add("display"))};a(),window.addEventListener("resize",function(){var e=document.querySelector(".menu-item-logo .header-five-logo");if(o.viewportWidth()<=y.mobileMenuBreakpoint){if(e){var t=document.querySelector("#site-header-inner");t&&t.insertBefore(e,t.firstChild),n&&n.parentNode.removeChild(n)}}else e||a()})}}},skipToContent:function(){var i=this;document.addEventListener("click",function(e){if(e.target.classList.contains("skip-to-content")){var t=document.querySelector(e.target.getAttribute("href"));t&&(t.setAttribute("tabIndex","-1"),i.scrollTo(t,i.offset(t).top-i.config.localScrollOffset),t.focus()),e.preventDefault(),e.stopPropagation()}})},backTopLink:function(){var a=this;document.addEventListener("click",function(e){var t=e.target;if(t.closest("a#site-scroll-top, a.wpex-scroll-top, .wpex-scroll-top a")){var i=t.closest("#site-scroll-top");i&&(t=i);var n=parseInt(t.dataset.scrollSpeed||parseInt(y.localScrollSpeed)),o=a.getEasing(t.dataset.scrollEasing);o&&"function"==typeof jQuery?jQuery("html, body").stop(!0,!0).animate({scrollTop:0},n,o):window.scrollTo({top:0,behavior:"smooth"}),e.preventDefault(),e.stopPropagation()}});var t=document.querySelector("#site-scroll-top");if(t){var i=t.dataset.scrollOffset||100;if(0!==i){window.addEventListener("scroll",function(e){window.pageYOffset>i?t.classList.add("show"):t.classList.remove("show")},!!a.config.passiveListeners&&{passive:!0})}}},goBackButton:function(){document.querySelectorAll(".wpex-go-back").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),history.back()})})},smoothCommentScroll:function(){var i=this;document.addEventListener("click",function(e){if(e.target.closest(".comments-link")){var t=document.querySelector("#comments");t&&(i.scrollTo(t,i.offset(t).top-i.config.localScrollOffset-20),e.preventDefault(),e.stopPropagation())}})},toggleElements:function(){document.addEventListener("click",function(e){var t=e.target.closest("a.wpex-toggle-element-trigger");if(t){var i=function(e){var t=e.getAttribute("aria-controls");if(t)return document.querySelector(t)}(t);if(i){e.preventDefault();var n=i.parentNode,o=t.closest(".vc_section")||t.closest(".vc_row"),a=i.classList.contains("wpex-toggle-element--visible"),r=!1;o.contains(i)&&(r=!0);var s=r?o:document;s.querySelectorAll(".wpex-toggle-element--visible").forEach(function(e){e.classList.remove("wpex-toggle-element--visible")}),s.querySelectorAll("a.wpex-toggle-element-trigger").forEach(function(e){e.setAttribute("aria-expanded","false"),e.classList.remove("active")});i&&i.classList.contains("wpex-toggle-element")&&(a?(t.classList.contains("vcex-button")&&t.classList.remove("active"),i.classList.remove("wpex-toggle-element--visible"),t.setAttribute("aria-expanded","false")):(t.classList.contains("vcex-button")&&t.classList.add("active"),t.setAttribute("aria-expanded","true"),i.classList.add("wpex-toggle-element--visible"),n.classList.contains("wpex-toggle-element")?(n.classList.add("wpex-toggle-element--visible"),n.setAttribute("tabIndex","-1"),n.focus()):(i.setAttribute("tabIndex","-1"),i.focus()),window.dispatchEvent(new Event("resize"))))}}}),document.addEventListener("keydown",function(e){var t=e.target.closest(".wpex-toggle-element--visible");t&&27===e.keyCode&&document.querySelectorAll('.wpex-toggle-element-trigger[aria-expanded="true"]').forEach(function(e){e.getAttribute("href")==="#"+t.getAttribute("id")&&e.focus()})})},toggleBar:function(){var e=document.querySelector("#toggle-bar-wrap");if(e){var t=e.dataset.allowToggle;t&&"false"!==t?this.toggleBarToggle(e):this.toggleBarDismiss(e)}},toggleBarToggle:function(t){var i="true"===t.dataset.rememberState,n=document.querySelector("#toggle-bar-button");function o(){return t.dataset.state||"hidden"}function a(){if(t.classList.remove("active-bar"),t.dataset.state="hidden",n&&(n.setAttribute("aria-expanded","false"),n.dataset.iconHover&&n.dataset.icon)){var e=n.getElementsByClassName(n.dataset.iconHover);e.length&&(e[0].className=n.dataset.icon)}r("hidden")}function r(e){i&&(document.cookie="total_togglebar_state="+e+"; path=/; Max-Age=604800; SameSite=Strict; Secure")}document.addEventListener("click",function(e){e.target.closest("a.toggle-bar-btn, a.togglebar-toggle, .togglebar-toggle > a")?("hidden"===o()?function(){if(t.classList.add("active-bar"),t.dataset.state="visible",n&&(n.setAttribute("aria-expanded","true"),n.dataset.icon&&n.dataset.iconHover)){var e=n.getElementsByClassName(n.dataset.icon);e.length&&(e[0].className=n.dataset.iconHover)}r("visible")}():a(),e.preventDefault(),e.stopPropagation()):"visible"===o()&&t.classList.contains("close-on-doc-click")&&!e.target.closest("#toggle-bar-wrap")&&a()})},toggleBarDismiss:function(t){document.addEventListener("click",function(e){e.target.closest(".toggle-bar-dismiss__button")&&(t.parentNode.removeChild(t),"true"===t.dataset.rememberState&&(document.cookie="total_togglebar_state=hidden; path=/; Max-Age=604800; SameSite=Strict; Secure"),e.preventDefault())})},parallax:function(e){var m=this,t=function(){document.querySelectorAll(".wpex-parallax-bg").forEach(function(e){if(!e.classList.contains("not-mobile")||!m.mobileCheck()){var t=0,i=e.dataset.velocity,n=e.dataset.direction,o=e.dataset.f
1ixed,a=e.getBoundingClientRect().height,r=m.offset(e).top,s=r+e.getBoundingClientRect().height,c=m.winScrollTop(),l=window.innerHeight;if(!(c+l+20<=r||s<=c-20)){l<r&&"none"!==n&&(t=(r-l)*Math.abs(i));var d=Math.ceil(t+c*i),u="50%",f="50%";switch(n){case"left":u=d+"px";break;case"right":u="calc(100% + "+-d+"px)";break;case"down":if("true"===o)f="calc(100% + "+-d+"px)";else{var p=window.getComputedStyle(e);f="calc(100% + "+(-(l-r-a-parseInt(p.getPropertyValue("padding-top"))-parseInt(p.getPropertyValue("padding-bottom")))-c-d)+"px)"}break;default:f="true"===o?d+"px":r-c+d+"px"}e.style.backgroundPosition=u+" "+f}}})};t(),window.addEventListener("scroll",t,!!m.config.passiveListeners&&{passive:!0})},parseLocalScrollOffset:function(e){var t=this,i=0;if(y.localScrollOffset)return t.config.localScrollOffset=y.localScrollOffset,t.config.localScrollOffset;y.localScrollExtraOffset&&(i=parseInt(i)+parseInt(y.localScrollExtraOffset));var n=document.querySelector("#site-header.fixed-scroll");return n&&(!y.hasStickyMobileHeader&&t.viewportWidth()<y.stickyHeaderBreakPoint?i=parseInt(i)+0:n.classList.contains("shrink-sticky-header")?("init"===e||t.isVisible(n))&&(i=parseInt(i)+parseInt(y.shrinkHeaderHeight)):i=parseInt(i)+n.getBoundingClientRect().height),document.querySelectorAll(".wpex-ls-offset,#wpadminbar,#top-bar-wrap-sticky-wrapper.wpex-can-sticky,#site-navigation-sticky-wrapper.wpex-can-sticky,#wpex-mobile-menu-fixed-top,.vcex-navbar-sticky-offset").forEach(function(e){t.isVisible(e)&&(i=parseInt(i)+e.getBoundingClientRect().height)}),i=i?i-1:0,t.config.localScrollOffset=i,t.config.localScrollOffset},scrollTo:function(e,t,i){if(e){for(var n=this,o=null,a=!1,r=n.config.localScrollOffset,s=parseInt(y.localScrollSpeed),c=document.querySelectorAll("[data-ls_id]"),l=null,d=n.getEasing(),u=function(){d&&"function"==typeof jQuery?jQuery("html, body").stop(!0,!0).animate({scrollTop:t},s,d):window.scrollTo({top:t,behavior:"smooth"})},f=0;f<c.length;f++)if(e===c[f].dataset.ls_id){l=c[f];break}if(l?(o=l,a=!0):"string"==typeof e?n.isSelectorValid(e)&&(o=document.querySelector(e)):e.nodeType&&(o=e),o){if(o.classList.contains("vc_tta-panel")){var p=o.closest(".vc_tta-tabs");p&&(t=n.offset(p).top-r-20)}t=t||n.offset(o).top-r,y.localScrollUpdateHash&&"string"==typeof e&&a&&(window.location.hash=e);var m=document.querySelector(".mobile-toggle-nav");m&&m.classList.contains("visible")?("absolute"!==window.getComputedStyle(m).position&&(t-=m.getBoundingClientRect().height),document.querySelectorAll("a.mobile-menu-toggle, li.mobile-menu-toggle > a").forEach(function(e){e.classList.remove("wpex-active"),e.setAttribute("aria-expanded","false")}),y.animateMobileToggle?n.slideUp(m,300,function(){m.classList.remove("visible"),u()}):(m.classList.remove("visible"),u())):u()}}},scrollToHash:function(e){var t,i=0,n=location.hash;""!=n&&"#"!==n&&null!=n&&("#view_comments"!==n&&"#comments_reply"!==n||(t=document.querySelector("#comments"))&&(i=e.offset(t).top-e.config.localScrollOffset-20,e.scrollTo(t,i)),-1!==n.indexOf("comment-")&&document.querySelector("#site-header.fixed-scroll")?(t=document.querySelector(n))&&(i=e.offset(t).top-e.config.localScrollOffset-20,e.scrollTo(t,i)):(-1!==n.indexOf("localscroll-")&&(n=n.replace("localscroll-","")),e.scrollTo(n)))},localScrollSections:function(){var o=[];return document.querySelectorAll(y.localScrollTargets).forEach(function(e){var t=e.getAttribute("href"),i=t?"#"+t.replace(/^.*?(#|$)/,""):null;if(i&&"#"!==i){e.hasAttribute("data-ls_linkto")||e.setAttribute("data-ls_linkto",i);var n=document.querySelector('[data-ls_id="'+i+'"]');n||(n=document.querySelector(i)),n&&-1==o.indexOf(i)&&o.push(i)}}),this.config.localScrollSections=o,this.config.localScrollSections},localScrollLinks:function(){var o=this;document.addEventListener("click",function(e){var t=e.target.closest(y.localScrollTargets);if(t){var i=t.dataset.ls_linkto||t.hash;o.config.localScrollSections&&-1!=o.config.localScrollSections.indexOf(i)&&(t.closest(".sfHover")&&t.parentNode.classList.remove("sfHover"),o.scrollTo(i),t.closest(".full-screen-overlay-nav-menu .local-scroll > a")||(e.preventDefault(),e.stopPropagation()))}}),document.addEventListener("click",function(e){if(e.target.closest("body.single-product .entry-summary a.woocommerce-review-link")){var t=document.querySelector(".woocommerce-tabs"),i=document.querySelector(".reviews_tab a");if(t&&i){e.preventDefault(),i.click();var n=o.offset(t).top-o.config.localScrollOffset;o.scrollTo(t,n)}}})},localScrollHighlight:function(){if(y.localScrollHighlight){var s=this,t=s.config.localScrollSections;t.length&&window.addEventListener("scroll",function(){for(var e=0;e<t.length;e++)i(t[e])},!!s.config.passiveListeners&&{passive:!0})}function i(e){var t=document.querySelector('[data-ls_id="'+e+'"]')||document.querySelector(e);
1if(t){var i=!1,n=s.winScrollTop(),o=s.offset(t).top-s.config.localScrollOffset-1,a=t.offsetHeight,r=document.querySelectorAll('[data-ls_linkto="'+e+'"]');(i=o<=n&&n<o+a)?(t.classList.add("wpex-ls-inview"),document.querySelectorAll(".local-scroll.menu-item").forEach(function(e){e.classList.remove("current-menu-item")})):t.classList.remove("wpex-ls-inview"),r.forEach(function(e){i?e.classList.add("active"):e.classList.remove("active");var t=e.closest("li");t&&(i?t.classList.add("current-menu-item"):t.classList.remove("current-menu-item"))})}}},equalHeights:function(e){"function"==typeof window.wpexEqualHeights&&(wpexEqualHeights(".match-height-grid",".match-height-content",e),wpexEqualHeights(".match-height-row",".match-height-content",e),wpexEqualHeights(".vcex-feature-box-match-height",".vcex-match-height",e),wpexEqualHeights(".blog-equal-heights",".blog-entry-inner",e),wpexEqualHeights(".vc_row",".equal-height-column",e),wpexEqualHeights(".vc_row",".equal-height-content",e),wpexEqualHeights(".wpex-vc-row-columns-match-height",".vc_column-inner",e))},footerReveal:function(){var n=this,o=document.querySelector("#footer-reveal"),a=document.querySelector("#wrap"),e=document.querySelector("#main");function t(){if(n.viewportWidth()<960)o.classList.contains("footer-reveal")&&(o.classList.remove("footer-reveal"),o.classList.add("footer-reveal-visible"),a.style.removeProperty("margin-bottom"));else{var e=o.offsetHeight,t=window.innerHeight,i=0;i=o.classList.contains("footer-reveal")?a.offsetHeight+n.config.localScrollOffset:a.offsetHeight+n.config.localScrollOffset-e,e<t&&t<i?o.classList.contains("footer-reveal-visible")&&(a.style.marginBottom=e+"px",o.classList.remove("footer-reveal-visible"),o.classList.add("footer-reveal")):o.classList.contains("footer-reveal")&&(a.style.removeProperty("margin-bottom"),o.classList.remove("footer-reveal"),o.classList.remove("wpex-visible"),o.classList.add("footer-reveal-visible"))}}function i(){o.classList.contains("footer-reveal")&&(n.scrolledToBottom(e)?o.classList.add("wpex-visible"):o.classList.remove("wpex-visible"))}o&&a&&e&&(t(),i(),window.addEventListener("scroll",i,!!n.config.passiveListeners&&{passive:!0}),window.addEventListener("resize",t))},fixedFooter:function(){if(document.body.classList.contains("wpex-has-fixed-footer")){var e=document.querySelector("#main");e&&(t(),window.addEventListener("resize",t))}function t(){e.style.minHeight=e.offsetHeight+(window.innerHeight-document.documentElement.offsetHeight)+"px"}},customSelects:function(e){e&&e.childNodes||(e=document);var s=this;e.querySelectorAll(y.customSelects).forEach(function(e){var t=e.parentNode;if(!t.classList.contains("wpex-select-wrap")&&!t.classList.contains("wpex-multiselect-wrap")){var i=e.id,n=i?" wpex-"+i:"",o=!1;if(s.isVisible(e)){var a=document.createElement("div");if(e.hasAttribute("multiple")?a.className="wpex-multiselect-wrap"+n:(a.className="wpex-select-wrap"+n,o=!0),e=s.wrap(e,a),o){var r=document.createElement("span");r.className="ticon ticon-angle-down",r.setAttribute("aria-hidden","true"),a.appendChild(r)}}}})},masonryGrids:function(){if("undefined"!=typeof Isotope){var e=document.querySelectorAll(".wpex-masonry-grid"),t=function(e){var t={};"object"==typeof wpex_isotope_params&&((t=Object.assign({},wpex_isotope_params)).itemSelector=".wpex-masonry-col"),e.dataset.transitionDuration&&(t.transitionDuration=parseFloat(e.dataset.transitionDuration)+"s"),e.dataset.layoutMode&&(t.layoutMode=e.dataset.layoutMode);new Isotope(e,t)},i=function(e){"function"==typeof imagesLoaded?imagesLoaded(e,function(){t(e)}):t(e)};e.forEach(function(e){e.closest("[data-vc-stretch-content]")?setTimeout(function(){i(e)},10):i(e)})}},lightbox:function(e){this.autoLightbox(),this.lightboxSingle(e),this.lightboxInlineGallery(e),this.lightboxGallery(e),this.lightboxCarousels(e)},autoLightbox:function(){if(void 0!==y.autoLightbox&&y.autoLightbox&&"function"==typeof jQuery){var n=this,o=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe"];jQuery(y.autoLightbox).each(function(){var e=jQuery(this),t=e.attr("href"),i=n.getUrlExtension(t);t&&-1!==o.indexOf(i)&&(e.parents(".woocommerce-product-gallery").length||e.addClass("wpex-lightbox"))})}},lightboxSingle:function(e){if("function"==typeof jQuery&&void 0!==jQuery.fancybox){var d=this;(e=e||jQuery("body")).on("click",".wpex-lightbox, .wpex-lightbox-video, .wpb_single_image.video-lightbox a, .wpex-lightbox-autodetect, .wpex-lightbox-autodetect a",function(e){e.preventDefault();var t=jQuery(this);if(t.is("a")||(t=t.find("a")),!t.hasClass("wpex-lightbox-group-item")){var i=t.data()||{},n=t.attr("href")||t.data("src")||"",o=t.data("type")||"",a=t.data("caption")||"",r=t.attr("data-show_title")||!0,s=t.data("options")&&d.parseObjectLiteralData(t.data("options"))||"";if(!i.parsedOpts){if(s&&(t.data("type")&&"iframe"===t.data("type")&&s.width&&s.height&&(i.width=s.width,i.height=s.height),s.iframeType&&"video"===s.iframeType&&(o="")),"iframe"===o&&i.width&&i.height&&(i.iframe={css:{width:i.width,height:i.height}}),"false"!==r){var c=t.data("title")||"";if(c.length){var l="fancybox-caption__title";a.length&&(l+=" fancybox-caption__title-margin"),a='<div class="'+l+'">'+c+"</div>"+a}}a.length&&(i.caption=a),i.parsedOpts=!0}t.hasClass("wpex-lightbox-iframe")&&(o="iframe"),t.hasClass("wpex-lightbox-inline")&&(o="inline"),"inline"===o&&(i.afterLoad=function(e,t){jQuery(document).trigger("wpex-modal-loaded")}),t.hasClass("rev-btn")&&(o="",i={}),jQuery.fancybox.open([{src:n,opts:i,type:o}],jQuery.extend({},wpex_fancybox_params,{}))}})}},lightboxInlineGallery:function(e){"function"==typeof jQuery&&void 0!==jQuery.fancybox&&(e=e||jQuery(document)).on("click",".wpex-lightbox-gallery",function(e){e.preventDefault();var t=jQuery(this).data("gallery")||"",r=[];t.length&&"object"==typeof t&&(jQuery.each(t,function(e,t){var i={},n=t.title||"",o=t.caption||"";if(n.length){var a="fancybox-caption__title";o.length&&(a+=" fancybox-caption__title-margin"),o='<div class="'+a+'">'+n+"</div>"+o}o.length&&(i.caption=o),i.thumb=t.thumb||t.src,r.push({src:t.src,opts:i})}
1),jQuery.fancybox.open(r,wpex_fancybox_params))})},lightboxGallery:function(e){if("function"==typeof jQuery&&void 0!==jQuery.fancybox){var f=this;e=e||jQuery(document),document.querySelectorAll("a.wpex-lightbox-group-item").forEach(function(e){e.classList.remove("wpex-lightbox")}),e.on("click","a.wpex-lightbox-group-item",function(e){e.preventDefault(),jQuery(".wpex-lightbox-group-item").removeAttr("data-lb-index");var l=jQuery(this),t=l.closest(".wpex-lightbox-group").find("a.wpex-lightbox-group-item:visible"),d=[],u=0;t.each(function(e){var t=jQuery(this),i=t.data()||{},n=t.attr("href")||t.data("src")||"",o="",a=t.attr("data-show_title")||!0,r=t.data("caption")||"",s=t.data("options")&&f.parseObjectLiteralData("({"+t.data("options")+"})")||"";if(!i.parsedOpts){if(i.thumb=t.data("thumb")||n,s&&(i.thumb=s.thumbnail||i.thumb,s.iframeType&&"video"===s.iframeType&&(i.type="")),"false"!==a&&(o=t.data("title")||t.attr("title")||"").length){var c="fancybox-caption__title";r.length&&(c+=" fancybox-caption__title-margin"),r='<div class="'+c+'">'+o+"</div>"+r}r.length&&(i.caption=r),i.parsedOpts=!0}n&&(t.attr("data-lb-index",e),l[0]==t[0]&&(u=e),d.push({src:n,opts:i}))}),jQuery.fancybox.open(d,jQuery.extend({},wpex_fancybox_params,{}),u)})}},lightboxCarousels:function(e){"function"==typeof jQuery&&void 0!==jQuery.fancybox&&(e=e||jQuery(document)).on("click",".wpex-carousel-lightbox-item",function(e){e.preventDefault();var t=jQuery(this),i=t.parents(".wpex-carousel").find(".owl-item"),r=[];if(i.each(function(){if(!jQuery(this).hasClass("cloned")){var e=jQuery(this).find(".wpex-carousel-lightbox-item");if(e.length){var t={},i=e.attr("href")||e.data("src")||"",n=e.data("title")||e.attr("title")||"",o=e.data("caption")||"";if("false"!==(e.attr("data-show_title")||!0)&&n.length){var a="fancybox-caption__title";o.length&&(a+=" fancybox-caption__title-margin"),o='<div class="'+a+'">'+n+"</div>"+o}o.length&&(t.caption=o),t.thumb=e.data("thumb")||i,r.push({src:i,opts:t})}}}),r.length&&"object"==typeof r){var n=t.data("count")-1||0;jQuery.fancybox.open(r,jQuery.extend({},wpex_fancybox_params,{loop:!0}),n)}})},hoverStyles:function(){var e,d,t,i,n="",u={};if((e=document.querySelector(".wpex-hover-data"))&&e.remove(),t=(d=document.querySelectorAll("[data-wpex-hover]")).length){for(var o=0;o<t;o++)r(o);if(u)for(var a in u)u.hasOwnProperty(a)&&(n+=u[a]+"{"+a+"}");
1n&&((i=document.createElement("style")).classList.add("wpex-hover-data"),i.appendChild(document.createTextNode(n)),(document.head||document.getElementsByTagName("head")[0]).appendChild(i))}function r(e){var t,i,n,o,a,r="",s="";if(i=(t=d[e]).dataset.wpexHover){i=JSON.parse(i),o=t.classList;for(var c=0;c<o.length;c++)-1!==o[c].indexOf("wpex-dhover-")&&t.classList.remove(o[c]);for(var l in n="wpex-dhover-"+e,i.parent?(a=t.closest(i.parent))&&(a.classList.add(n+"-p"),t.classList.add(n),s="."+n+"-p:hover ."+n):(t.classList.add(n),s="."+n+":hover"),i)if(i.hasOwnProperty(l)){if("target"===l||"parent"===l)continue;r+=l+":"+i[l]+"!important;"}r&&(u[r]=r in u?u[r]+","+s:s)}}},overlaysMobileSupport:function(){var e=this;if(window.matchMedia("(any-pointer: coarse)").matches){var n=!1;document.querySelectorAll(".overlay-parent.overlay-hh").forEach(function(e){e.classList.contains("overlay-ms")||e.querySelector(".theme-overlay")&&e.parentNode.removeChild(e)});var o=function(){document.querySelectorAll(".overlay-parent.wpex-touched").forEach(function(e){e.classList.remove("wpex-touched")})};document.querySelectorAll("a.overlay-parent.overlay-ms.overlay-h, .overlay-parent.overlay-ms.overlay-h > a").forEach(function(i){i.addEventListener("touchend",function(e){if(n)o();else{var t=i.closest(".overlay-parent");t.classList.contains("wpex-touched")||(e.preventDefault(),o(),t.classList.add("wpex-touched"))}}),i.addEventListener("touchmove",function(e){n=!0},!!e.config.passiveListeners&&{passive:!0}),i.addEventListener("touchstart",function(e){n=!1},!!e.config.passiveListeners&&{passive:!0})});var t=function(e){e.target.closest(".overlay-parent.wpex-touched")||o()};document.addEventListener("touchstart",t,!!e.config.passiveListeners&&{passive:!0}),document.addEventListener("touchmove",t,!!e.config.passiveListeners&&{passive:!0})}},stickyTopBar:function(){var t=this,i=!1,n=0,o=document.querySelector("#top-bar-wrap.wpex-top-bar-sticky"),e=document.querySelector("#wpadminbar"),a=document.querySelector("#wpex-mobile-menu-fixed-top"),r=document.querySelectorAll(".wpex-sticky-el-offset"),s=y.stickyTopBarBreakPoint;if(o){var c=document.createElement("div");c.id="top-bar-wrap-sticky-wrapper",c.className="wpex-sticky-top-bar-holder not-sticky",t.wrap(o,c),f(),window.addEventListener("scroll",function(){var e;c&&c.classList.contains("wpex-can-sticky")&&(0!==(e=t.winScrollTop())&&e>=t.offset(c).top-l()?d():u())},!!t.config.passiveListeners&&{passive:!0}),window.addEventListener("resize",f),window.addEventListener("orientationchange",function(){u(),f()})}function l(){return n=0,t.isVisible(e)&&"fixed"===window.getComputedStyle(e).position&&(n+=e.getBoundingClientRect().height),t.isVisible(a)&&(n+=a.getBoundingClientRect().height),r.forEach(function(e){t.isVisible(e)&&(n+=e.getBoundingClientRect().height)}),n}function d(){i||(c.style.height=o.getBoundingClientRect().height+"px",c.classList.remove("not-sticky"),c.classList.add("is-sticky"),o.style.top=l()+"px",o.style.width=c.getBoundingClientRect().width+"px",i=!0)}function u(){i&&(c.style.height="",c.classList.remove("is-sticky"),c.classList.add("not-sticky"),o.style.width="",o.style.top="",i=!1)}function f(){if(!y.hasStickyTopBarMobile&&t.viewportWidth()<s)return c.classList.remove("wpex-can-sticky"),void u();var e=t.winScrollTop();c.classList.add("wpex-can-sticky"),i?(c.style.height=o.getBoundingClientRect().height+"px",o.style.top=l()+"px",o.style.width=c.getBoundingClientRect().width+"px"):(n=t.offset(c).top-l(),0!==e&&n<e?d():u())}},stickyOffset:function(){var t=this,i=0;t.isVisible(document.querySelector("#top-bar-wrap-sticky-wrapper.wpex-can-sticky #top-bar-wrap"))&&(i+=document.querySelector("#top-bar-wrap-sticky-wrapper.wpex-can-sticky").getBoundingClientRect().height);var e=document.querySelector("#wpex-mobile-menu-fixed-top");t.isVisible(e)&&(i+=e.getBoundingClientRect().height);var n=document.querySelector("#wpadminbar");return t.isVisible(n)&&"fixed"===window.getComputedStyle(n).position&&(i+=n.getBoundingClientRect().height),document.querySelectorAll(".wpex-sticky-el-offset").forEach(function(e){t.isVisible(e)&&(i+=e.getBoundingClientRect().height)}),y.addStickyHeaderOffset&&(i+=y.addStickyHeaderOffset),i},stickyHeaderCustomStartPoint:function(){var e=y.stickyHeaderStartPosition;if(e&&!isNaN(e))return e;var t=document.querySelector(e);return t?this.offset(t).top:0},stickyHeader:function(){var i=this,e=y.stickyHeaderStyle;if("standard"===e||"shrink"===e||"shrink_animated"===e){var n=document.querySelector("#site-header.fixed-scroll");
1if(n){var o=!1,t=!1,a=document.createElement("div");a.id="site-header-sticky-wrapper",a.className="wpex-sticky-header-holder not-sticky",i.wrap(n,a);var r=y.stickyHeaderBreakPoint,s=y.hasStickyMobileHeader,c=i.stickyHeaderCustomStartPoint(),l=y.hasStickyHeaderShrink,d=0;d=document.querySelector("#overlay-header-wrap")?i.offset(n).top+n.getBoundingClientRect().height:i.offset(a).top+a.getBoundingClientRect().height,g(),window.addEventListener("scroll",function(){var e,t=i.winScrollTop();a.classList.contains("wpex-can-sticky")&&(c&&(e=i.winScrollTop(),o&&n.classList.add("transform-go"),e<=0?n.classList.remove("transform-prepare"):f()?n.classList.add("transform-prepare"):n.classList.remove("transform-prepare")),0!=t&&t>=p()?m():h(),l&&v())},!!i.config.passiveListeners&&{passive:!0}),window.addEventListener("resize",g),window.addEventListener("orientationchange",function(){h(),g()})}}function u(){return i.viewportWidth()<r}function f(){return i.winScrollTop()>d}function p(){return(c||i.offset(a).top)-i.stickyOffset()}function m(){o||(a.style.height=n.getBoundingClientRect().height+"px",a.classList.remove("not-sticky"),a.classList.add("is-sticky"),n.classList.remove("dyn-styles"),n.style.top=i.stickyOffset()+"px",n.style.width=a.getBoundingClientRect().width+"px",n.classList.contains("transform-prepare")&&n.classList.add("transform-go"),o=!0)}function v(){var e=!0;u()&&(e=!(!s||!y.hasStickyMobileHeaderShrink)),e&&f()?!t&&o&&(n.classList.add("sticky-header-shrunk"),t=!0):(n.classList.remove("sticky-header-shrunk"),t=!1)}function h(){o&&(c?(n.classList.remove("transform-go"),t&&(n.classList.remove("sticky-header-shrunk"),t=!1)):n.classList.remove("transform-prepare"),a.classList.remove("is-sticky"),a.classList.add("not-sticky"),n.classList.contains("shrink-sticky-header")||(a.style.height=""),n.classList.add("dyn-styles"),n.style.width="",n.style.top="",n.classList.remove("transform-go"),o=!1,n.classList.remove("sticky-header-shrunk"),t=!1)}function g(){var e=i.winScrollTop();if(!s&&u())return h(),a.classList.remove("wpex-can-sticky"),void n.classList.remove("transform-prepare");a.classList.add("wpex-can-sticky"),o?(n.classList.contains("shrink-sticky-header")||(a.style.height=n.getBoundingClientRect().height+"px"),n.style.top=i.stickyOffset()+"px",n.style.width=a.getBoundingClientRect().width+"px"):0!==e&&e>p()?m():h(),l&&v()}},stickyHeaderMenu:function(){var t=this,i=document.querySelector("#site-navigation-wrap.fixed-nav");if(i){var n=!1,e=document.querySelector("#site-header"),o=document.createElement("div");o.id="site-navigation-sticky-wrapper",o.className="wpex-sticky-navigation-holder not-sticky",t.wrap(i,o);var a=t.offset(o).top-t.stickyOffset();c(),window.addEventListener("scroll",function(){if(o.classList.contains("wpex-can-sticky")){var e=t.winScrollTop();0!==e&&a<=e?r():s()}},!!t.config.passiveListeners&&{passive:!0}),window.addEventListener("resize",c),window.addEventListener("orientationchange",function(){s(),c()})}function r(){n||(o.style.height=i.getBoundingClientRect().height+"px",o.classList.remove("not-sticky"),o.classList.add("is-sticky"),i.style.top=t.stickyOffset()+"px",i.style.width=o.getBoundingClientRect().width+"px",e&&e.classList.remove("dyn-styles"),n=!0)}function s(){n&&(o.style.height="",o.classList.remove("is-sticky"),o.classList.add("not-sticky"),i.style.top="",i.style.width="",e&&e.classList.add("dyn-styles"),n=!1)}function c(){if(t.viewportWidth()<=y.stickyNavbarBreakPoint)return s(),void o.classList.remove("wpex-can-sticky");var e=t.winScrollTop();o.classList.add("wpex-can-sticky"),n?(o.style.height=i.getBoundingClientRect().height+"px",i.style.top=t.stickyOffset()+"px",i.style.width=o.getBoundingClientRect().width+"px"):a<=e&&0!==e?r():s()}},vcTabsTogglesJS:function(){document.body.classList.contains("wpb-js-composer")&&"function"==typeof jQuery&&jQuery(document).on("afterShow.vc.accordion",function(e,t){if(void 0!==e){var i=jQuery(e.target).data("vc.accordion");i&&(i=i.getTarget())&&i.length&&("function"==typeof jQuery&&"function"==typeof jQuery.fn.sliderPro&&i.find(".wpex-slider").each(function(){jQuery(this).data("sliderPro")&&jQuery(this).sliderPro("update")}),"function"==typeof Isotope&&i.find(".vcex-isotope-grid, .wpex-masonry-grid, .vcex-navbar-filter-grid").each(function(){var e=Isotope.data(this);e&&e.layout()}))}})},accessability:function(){document.querySelectorAll("li.nav-no-click > a, li.sidr-class-nav-no-click > a").forEach(function(e){e.closest(".full-screen-overlay-nav-menu")&&e.parentNode.classList.contains("menu-item-has-children")||e.setAttribute("tabIndex","-1")}),document.querySelectorAll(".vc_toggle .vc_toggle_title").forEach(function(e){e.setAttribute("tabIndex",0),e.addEventListener("keydown",function(e){13===(e.keyCode||e.which)&&e.target.click()})})},domReady:function(e){if("function"==typeof e&&"undefined"!=typeof document){var t=document.readyState;if("interactive"===t||"complete"===t)return setTimeout(e);document.addEventListener("DOMContentLoaded",e,!1)}},retinaCheck:function(){return 1<window.devicePixelRatio||!(!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|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!0},passiveListenersSupport:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}return e},getEasing:function(e){if(y.localScrollEasing&&"function"==typeof jQuery&&void 0!==jQuery.easing&&"function"==typeof jQuery.easing.jswing){var t=e||y.localScrollEasing;return jQuery.easing.hasOwnProperty(t)||(t="swing"),t}},viewportWidth:function(){var e=window,t="inner";
1return"innerWidth"in window||(t="client",e=document.documentElement||document.body),e[t+"Width"]},isSelectorValid:function(e){var t;try{t=e,document.createDocumentFragment().querySelector(t)}catch(e){return!1}return!0},slideUp:function(e,t,i){if(e&&"none"!==window.getComputedStyle(e).display){var n=window.getComputedStyle(e).transitionDuration;n&&"0s"===n||(t=parseFloat(n)*(-1<n.indexOf("ms")?1:1e3)),t||(t=300),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(function(){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"),i&&i()},t)}},slideDown:function(e,t,i){if(e){var n=window.getComputedStyle(e).display;if("block"!==n){var o=window.getComputedStyle(e).transitionDuration;o&&"0s"===o||(t=parseFloat(o)*(-1<o.indexOf("ms")?1:1e3)),t||(t=300),e.classList.add("wpex-transitioning"),e.style.removeProperty("display"),"none"===n&&(n="block"),e.style.display=n,e.style.transitionProperty="none";var a=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=a+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.classList.remove("wpex-transitioning"),i&&i()},t)}}},focusOnElement:function(e,t){var i=e.querySelectorAll('button, [href], input, select, textarea, a,[tabindex]:not([tabindex="-1"])');if(i.length){for(var n=[],o=0;o<i.length;o++)this.isVisible(i[o])&&n.push(i[o]);if(n.length){var a=n[0],r=n[n.length-1];t?t.focus():a.focus(),r.addEventListener("keydown",function(e){9!==(e.keyCode||e.which)||e.shiftKey||(e.preventDefault(),a.focus())}),a.addEventListener("keydown",function(e){9===(e.keyCode||e.which)&&e.shiftKey&&(e.preventDefault(),r.focus())})}}},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){var t=e.getBoundingClientRect();return{top:t.top+this.winScrollTop(),left:t.left+this.winScrollTop()}},isVisible:function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},isEmpty:function(e){return!e||""===e.innerHTML},insertExtras:function(e,t,i){if(e&&t){switch(i){case"append":t.appendChild(e);break;case"prepend":t.insertBefore(e,t.firstChild)}e.classList.remove("wpex-hidden")}},getUrlExtension:function(e){var t=e.split(".").pop().toLowerCase(),i=-1!==t.indexOf("?")?t.split("?").pop():"";return(t=t.replace(i,"")).replace("?","")},winScrollTop:function(){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;return e<0&&(e=0),e},scrolledToBottom:function(e){return this.winScrollTop()>=e.offsetTop+e.offsetHeight-window.innerHeight},parseObjectLiteralData:function(e){if("function"==typeof jQuery){var t=e.split(","),n={};return jQuery.each(t,function(e,t){var i=t.split(":");n[i[0]]=i[1]}),n}},removeClassPrefix:function(e,o,a){e.forEach(function(e){for(var t=e.classList,i=0;i<t.length;i++)if(o.test(t[i])){var n=t[i].replace(a,"");e.classList.replace(t[i],n)}})},menuAccordion:function(a){if(a){var r=this,s=!1;a.querySelectorAll(".menu-item-has-children, .sidr-class-menu-item-has-children").forEach(function(e){var t=e.querySelector("a");if(t){var i=document.createElement("button");i.className="wpex-open-submenu",i.setAttribute("aria-haspopup","true"),i.setAttribute("aria-expanded","fal
1se"),i.setAttribute("aria-label",y.i18n.openSubmenu.replace("%s",t.textContent.trim()));var n=document.createElement("span");n.className="ticon ticon-angle-down",n.setAttribute("aria-hidden","true"),i.appendChild(n),t.appendChild(i)}});var c=function(e){var t=e.closest("li.active");t.classList.remove("active");var i=t.querySelector("a"),n=t.querySelector(".wpex-open-submenu");n.setAttribute("aria-expanded","false"),n.setAttribute("aria-label",y.i18n.openSubmenu.replace("%s",i.textContent.trim())),s=!0,r.slideUp(e,null,function(){s=!1})};document.addEventListener("click",function(e){var t=e.target.closest(".wpex-open-submenu");if(t&&a.contains(t)){var i=t.closest("li");if(i){var n=i.querySelector("ul");if(n){var o=i.querySelector("a");o&&(e.preventDefault(),e.stopPropagation(),s||(i.classList.contains("active")?(i.querySelectorAll("li.active > ul").forEach(function(e){c(e)}),i.classList.remove("active"),t.setAttribute("aria-expanded","false"),t.setAttribute("aria-label",y.i18n.openSubmenu.replace("%s",o.textContent.trim())),s=!0,r.slideUp(n,null,function(){s=!1})):(t.setAttribute("aria-expanded","true"),t.setAttribute("aria-label",y.i18n.closeSubmenu.replace("%s",o.textContent.trim())),a.querySelectorAll("li.active > ul").forEach(function(e){e.contains(n)||c(e)}),s=!0,r.slideDown(n,null,function(){s=!1}),i.classList.add("active"))))}}}})}},sliderPro:function(e){"function"==typeof window.wpexSliderPro&&wpexSliderPro()},loadMore:function(){"function"==typeof window.wpexLoadMore&&wpexLoadMore()}}).init()}(wpex_theme_params);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.