jQuery(document).ready(function(e){let n=e(".fframe_handheld");n.on("click",function(){e(this).parent().find(".fframe_menu").toggleClass("fframe_menu_open")}),e(".fframe_menu_item a").on("click",function(){n.parent().find(".fframe_menu").removeClass("fframe_menu_open")}),jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove(),jQuery(".toplevel_page_fluent-support a").on("click",function(){jQuery(".toplevel_page_fluent-support li").removeClass("current"),jQuery(this).parent().addClass("current")}),jQuery(document).off("click",".fs_offcanvas_menu_label a").on("click",".fs_offcanvas_menu_label a",function(e){jQuery(".fs_offcanvas_menu_label").removeClass("current"),jQuery(this).closest(".fs_offcanvas_menu_label").addClass("current")});const t=document.querySelector("[data-fs-menu-toggle]");if(t){const e=t.parentNode,n=e.querySelector("[data-fs-offcanvas-menu]"),o=e.querySelector("[data-fs-offcanvas-menu-close]"),a=e.querySelector("[data-fs-offcanvas-menu-overlay]");t&&n&&a&&(t.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),a.classList.toggle("active"),n.classList.toggle("open"),document.body.style.overflow="hidden"}),o&&o.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),a.classList.remove("active"),n.classList.remove("open"),document.body.style.overflow=""}),a.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),a.classList.remove("active"),n.classList.remove("open"),document.body.style.overflow=""}))}});
