const vh=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","${vh}px"),window.addEventListener("resize",function(){window.innerHeight;document.documentElement.style.setProperty("--vh","${vh}px")});let lastScrollTop=0;!function(t){function n(e){var o=t("header.header-theme").height();t("main.theme-main").css("margin-top",o),2*o<=e?t("body").addClass("header-fixed"):t("body").removeClass("header-fixed")}function l(e,o){var n=window.scrollY;const l=t("html");0!==n&&n{t(".modal-wrapper.show").fadeOut(500,"easeInOutCirc"),t("body").removeClass("no-scroll")}),t(".modal-open-search").on("click",e=>{e.preventDefault(),t("body").addClass("no-scroll"),t(".modal-wrapper-search").fadeIn(500,"easeInOutCirc",function(){t(this).addClass("show")})}),t(".modal-open-menu").on("click",e=>{e.preventDefault(),t("body").addClass("no-scroll"),t(".modal-wrapper-menu").fadeIn(500,"easeInOutCirc",function(){t(this).addClass("show")})})}),t(window).on("scroll",function(){var e,o=t(window).scrollTop();n(o),l(0,lastScrollTop),t("#scroll-amount span").css("width",(e=document.documentElement.scrollHeight-window.innerHeight,100*o/e+"%"))})}(jQuery); //# sourceMappingURL=scripts-global.min.js.map !function(o){o(document).on("ready",function(){o(document).on("mouseup",function(t){if(!n.is(t.target)&&0===n.has(t.target).length){const e=o(".results-wrapper",n);e.fadeOut(500,"easeInOutCirc",function(){o(".results-items",this).html("")})}});const n=o("form.autocomplete-search");if(0{a(n)},350))});const a=t=>{var e=o("input[name=s]",t).val(),s=o("input[name=action]",t).val(),t=o("input[name=nonce]",t).val();o(".results-items",n);jQuery.ajax({url:all_scripts_params.ajax_url,data:{searchValue:e,action:s,nonce:t},type:"POST",beforeSend:function(){},complete:function(){},success:function(t){const e=o(".results-wrapper",n);0"+t.msg+"")),e.fadeIn(500,"easeInOutCirc"))}})}}})}(jQuery); //# sourceMappingURL=scripts-autocomplete.min.js.map