text: "use strict";var KTLayoutAsideMenu=function(){var e,n;return{init:function(t){var o,i;(e=KTUtil.getById(t))&&(i="1"===KTUtil.attr(e,"data-menu-dropdown")?"dropdown":"accordion",KTUtil.isBreakpointDown("lg")&&"1"===KTUtil.attr(e,"data-menu-scroll")&&(o={rememberPosition:!0,height:function(){var n=parseInt(KTUtil.getViewPort().height);return n-=parseInt(KTUtil.css(e,"marginBottom"))+parseInt(KTUtil.css(e,"marginTop"))}}),(n=new KTMenu(e,{scroll:o,submenu:{desktop:i,tablet:"accordion",mobile:"accordion"},accordion:{expandAll:!1}})).on("linkClick",function(e){KTUtil.isBreakpointDown("lg")&&KTLayoutAside.getOffcanvas().hide()}))},getElement:function(){return e},getMenu:function(){return n},pauseDropdownHover:function(e){n&&n.pauseDropdownHover(e)},closeMobileOffcanvas:function(){n&&KTUtil.isMobileDevice()&&n.hide()}}}();"undefined"!=typeof module&&(module.exports=KTLayoutAsideMenu);