function toggleFullScreen(){document.fullScreenElement&&null!==document.fullScreenElement||!document.mozFullScreen&&!document.webkitIsFullScreen?document.documentElement.requestFullScreen?document.documentElement.requestFullScreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullScreen&&document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()}$(window).load(function(){$(".loading-container").fadeOut(1e3,function(){$(this).remove()})}),$(function(){$(document).on("click",".navbar-toggle",function(){$("aside.left-panel").toggleClass("collapsed")}),$("aside.left-panel nav.navigation > ul > li:has(ul) > a").click(function(){return 0==$("aside.left-panel").hasClass("collapsed")||$(window).width()<768?($("aside.left-panel nav.navigation > ul > li > ul").slideUp(300),$("aside.left-panel nav.navigation > ul > li").removeClass("active"),$(this).next().is(":visible")||($(this).next().slideToggle(300,function(){$("aside.left-panel:not(.collapsed)").getNiceScroll().resize()}),$(this).closest("li").addClass("active")),!1):void 0}),$("aside.left-panel nav.navigation > ul > li > ul > li:has(ul) > a").click(function(){return 0==$("aside.left-panel").hasClass("collapsed")||$(window).width()<768?($("aside.left-panel nav.navigation > ul > li > ul > li > ul").slideUp(300),$("aside.left-panel nav.navigation > ul > li > ul > li").removeClass("active"),$(this).next().is(":visible")||($(this).next().slideToggle(300,function(){$("aside.left-panel:not(.collapsed)").getNiceScroll().resize()}),$(this).closest("li").addClass("active")),!1):void 0}),$.isFunction($.fn.popover)&&$(".popover-btn").popover(),$.isFunction($.fn.tooltip)&&$(".tooltip-btn").tooltip(),$.isFunction($.fn.niceScroll)&&$(".nicescroll").niceScroll({cursorcolor:"#9d9ea5",cursorborderradius:"0px"}),$.isFunction($.fn.niceScroll)&&$("aside.left-panel:not(.collapsed)").niceScroll({cursorcolor:"#8e909a",cursorborder:"0px solid #fff",cursoropacitymax:"0.5",cursorborderradius:"0px"}),$.isFunction($.fn.inputmask)&&$(".inputmask").inputmask(),$.isFunction($.fn.tagsinput)&&$(".tagsinput").tagsinput(),$.isFunction($.fn.datetimepicker)&&($("#datetimepicker").datetimepicker(),$("#datepicker").datetimepicker({pickTime:!1}),$("#timepicker").datetimepicker({pickDate:!1}),$("#datetimerangepicker1").datetimepicker(),$("#datetimerangepicker2").datetimepicker(),$("#datetimerangepicker1").on("dp.change",function(e){$("#datetimerangepicker2").data("DateTimePicker").setMinDate(e.date)}),$("#datetimerangepicker2").on("dp.change",function(e){$("#datetimerangepicker1").data("DateTimePicker").setMaxDate(e.date)})),$.isFunction($.fn.wysihtml5)&&$(".wysihtml").wysihtml5(),$.isFunction($.fn.ckeditor)&&(CKEDITOR.disableAutoInline=!0,$("#ckeditor").ckeditor(),$(".inlineckeditor").ckeditor()),$(".scrollToTop").click(function(){return $("html, body").animate({scrollTop:0},800),!1})});