(function(){$.fn.leftSideMenu=function(n){var n=$.extend({ustCubukBgColor:"#13183e",ustCubukHoverColor:"#353B65",baslikColor:"#fff",menuTextColor:"#252525",menuHoverColor:"FAFAFA"},n);return this.each(function(){function t(n){var t=$("<div />",{html:"<style>"+n+"<\/style>"}).appendTo("body")}if(n.modulid="#"+$(this).attr("id"),$(n.modulid+" .lefside-menu .menu-header a").css({"background-color":n.ustCubukBgColor}),$(n.modulid+" .lefside-menu .menu-header a").css({color:n.baslikColor}),$(n.modulid+" .lefside-menu .menu-header a").hover(function(){$(this).css({"background-color":n.ustCubukHoverColor})},function(){$(this).css({"background-color":n.ustCubukBgColor})}),$(n.modulid+" .lefside-menu ul.nav li.nav-item a.nav-link").css({color:n.menuTextColor}),$(n.modulid+" .lefside-menu ul.nav li.nav-item a.nav-link").hover(function(){$(this).css({"background-color":n.menuHoverColor})},function(){$(this).css({"background-color":""})}),$(".page-title").length>0){$(".page-title .dropdown .dropdown-menu").append('<div class="dropdown ml-auto d-lg-none"><a class="btn btn-leftside-menu dropdown-toggle" id="dropdownDivisionMenu" href="javascript:void(0);" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="icon-arrow_down"><\/i><\/a><div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownDivisionMenu">'+$(".lefside-menu > ul.nav").clone()+"<\/div><\/div>");$(".page-title .dropdown-menu a.dropdown-toggle").on("click",function(){$(this).next().hasClass("show")||$(this).parents(".dropdown-menu").first().find(".show").removeClass("show");var n=$(this).next(".dropdown-menu");n.toggleClass("show");$(this).parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",function(){$(".dropdown-submenu .show").removeClass("show")});return!1})}t(n.modulid+" .lefside-menu ul.nav li.nav-item a.nav-link.dropdown-toggle:after {color: "+n.ustCubukBgColor)})}})(jQuery)