(o=>{o(document).ready(function(){var n,e=document.getElementById("top-invisible-observation-object");null===e?console.log("Sticky header observer element not loaded."):(n=!!document.getElementById("site-header")&&"site-header")&&(new IntersectionObserver(function(e){o("#"+n+".overlay-header").toggleClass("overlay-header-on",e[0].isIntersecting);var t=o(".fixed-top #header-notice.sticky-hidden");e[0].isIntersecting?t.show():t.hide()}).observe(e),new ResizeObserver(function(e){o("#"+n+".fixed-top:not(.overlay-header) ~ #content-main, #"+n+".fixed-top:not(.overlay-header) ~ #tribe-events-pg-template").css("padding-top",e[0].contentRect.height)}).observe(document.getElementById(n)),e=document.getElementById("wpadminbar"))&&new ResizeObserver(function(e){o("#wpadminbar ~ #"+n+".fixed-top").css("top",e[0].contentRect.height)}).observe(e)})})(jQuery);; jQuery(document).ready(function ($) { //Toggle User Profile Box $('.user-info-box-button').on('click', function(e) { $('.user-info-box-dropdown').toggleClass('active'); }); $(document).scroll(function () { if($(".user-info-box-dropdown").length && $('.user-info-box-dropdown').hasClass('active')){ $('.user-info-box-dropdown').removeClass('active'); } }); }); ;