!function(l){"use strict";function t(){this.body=l("body"),this.window=l(window)}t.prototype._reset=function(){this.body.removeAttr("data-sidebar-color"),this.body.removeAttr("data-sidebar-size"),this.body.removeAttr("data-sidebar-showuser")},t.prototype.changeColor=function(t){this.body.attr("data-sidebar-color",t),this.parent.updateConfig("sidebar",{color:t})},t.prototype.changeSize=function(t){this.body.attr("data-sidebar-size",t),this.parent.updateConfig("sidebar",{size:t})},t.prototype.showUser=function(t){this.body.attr("data-sidebar-showuser",t),this.parent.updateConfig("sidebar",{showuser:t})},t.prototype.initMenu=function(){var i=this,t=l.LayoutThemeApp.getConfig(),e=l.extend({},t?t.sidebar:{}),a=e.size?e.size:"default";this._reset(),l(".button-menu-mobile").on("click",function(t){t.preventDefault();var e=i.body.attr("data-sidebar-size");993<=i.window.width()?"condensed"===e?i.changeSize(a):i.changeSize("condensed"):(i.changeSize(a),i.body.toggleClass("sidebar-enable"))}),l("#side-menu").length&&((s=l("#side-menu li .collapse")).on({"show.bs.collapse":function(t){var e=l(t.target).parents(".collapse.show");l("#side-menu .collapse.show").not(e).collapse("hide")}}),l("#side-menu a").each(function(){var t=window.location.href.split(/[?#]/)[0];if(this.href==t){l(this).addClass("active"),l(this).parent().addClass("menuitem-active"),l(this).parent().parent().parent().addClass("show"),l(this).parent().parent().parent().parent().addClass("menuitem-active");var e=l(this).parent().parent().parent().parent().parent().parent();"sidebar-menu"!==e.attr("id")&&e.addClass("show"),l(this).parent().parent().parent().parent().parent().parent().parent().addClass("menuitem-active");var i=l(this).parent().parent().parent().parent().parent().parent().parent().parent().parent();"wrapper"!==i.attr("id")&&i.addClass("show");var a=l(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent();a.is("body")||a.addClass("menuitem-active")}}));if(l("#two-col-sidenav-main").length){var n=l("#two-col-sidenav-main .nav-link"),o=l(".twocolumn-menu-item");585<=this.window.width()?n.tooltip("enable"):n.tooltip("disable");var s,r=l(".twocolumn-menu-item .nav-second-level");(s=l("#two-col-menu li .collapse")).on({"show.bs.collapse":function(){var t=l(this).closest(r).closest(r).find(s);t.length?t.not(l(this)).collapse("hide"):s.not(l(this)).collapse("hide")}}),n.on("click",function(t){var e=l(l(this).attr("href"));return!e.length||(t.preventDefault(),n.removeClass("active"),l(this).addClass("active"),o.removeClass("d-block"),e.addClass("d-block"),l.LayoutThemeApp.leftSidebar.changeSize("default"),!1)});var d=window.location.href.split(/[?#]/)[0];n.each(function(){this.href==d&&l(this).addClass("active")}),l("#two-col-menu a").each(function(){if(this.href==d){l(this).addClass("active"),l(this).parent().addClass("menuitem-active"),l(this).parent().parent().parent().addClass("show"),l(this).parent().parent().parent().parent().addClass("menuitem-active");var t=l(this).parent().parent().parent().parent().parent().parent();"sidebar-menu"!==t.attr("id")&&t.addClass("show"),l(this).parent().parent().parent().parent().parent().parent().parent().addClass("menuitem-active");var e=l(this).parent().parent().parent().parent().parent().parent().parent().parent().parent();"wrapper"!==e.attr("id")&&e.addClass("show");var i=l(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent();i.is("body")||i.addClass("menuitem-active");var a=null,n="#"+l(this).parents(".twocolumn-menu-item").attr("id");l("#two-col-sidenav-main .nav-link").each(function(){l(this).attr("href")===n&&(a=l(this))}),a&&a.trigger("click")}})}},t.prototype.initLayout=function(){768<=this.window.width()&&this.window.width()<=1028||this.body.data("keep-enlarged")?this.changeSize("condensed"):this.changeSize("default")},t.prototype.init=function(){var e=this;this.initMenu(),this.initLayout(),this.window.on("resize",function(t){t.preventDefault(),e.initLayout()})},l.LeftSidebar=new t,l.LeftSidebar.Constructor=t}(window.jQuery),function(i){"use strict";function t(){this.body=i("body"),this.window=i(window)}t.prototype.initMenu=function(){i("#top-search").on("click",function(t){i("#search-dropdown").addClass("d-block")}),i(".topbar-dropdown").on("show.bs.dropdown",function(){i("#search-dropdown").removeClass("d-block")}),i(".navbar-nav a").each(function(){var t=window.location.href.split(/[?#]/)[0];if(this.href==t){i(this).addClass("active"),i(this).parent().addClass("active"),i(this).parent().parent().addClass("active"),i(this).parent().parent().parent().addClass("active"),i(this).parent().parent().parent().parent().addClass("active");var e=i(this).parent().parent().parent().parent().addClass("active").prev();e.hasClass("nav-link")&&e.addClass("active")}}),i(".navbar-toggle").on("click",function(t){i(this).toggleClass("open"),i("#navigation").slideToggle(400)})},t.prototype.changeColor=function(t){this.body.attr("data-topbar-color",t),this.parent.updateConfig("topbar",{color:t})},t.prototype.init=function(){this.initMenu()},i.Topbar=new t,i.Topbar.Constructor=t}(window.jQuery),function(i){"use strict";function t(){this.body=i("body"),this.window=i(window)}t.prototype.selectOptionsFromConfig=function(){var t=this.layout.getConfig();t&&(i("input[type=radio][name=color-scheme-mode][value="+t.mode+"]").prop("checked",!0),i("input[type=radio][name=width][value="+t.width+"]").prop("checked",!0),i("input[type=radio][name=menus-position][value="+t.menuPosition+"]").prop("checked",!0),i("input[type=radio][name=leftsidebar-color][value="+t.sidebar.color+"]").prop("checked",!0),i("input[type=radio][name=leftsidebar-size][value="+t.sidebar.size+"]").prop("checked",!0),i("input[type=checkbox][name=leftsidebar-user]").prop("checked",t.sidebar.showuser),i("input[type=radio][name=topbar-color][value="+t.topbar.color+"]").prop("checked",!0))},t.prototype.toggleRightSideBar=function(){this.body.toggleClass("right-bar-enabled"),this.selectOptionsFromConfig()},t.prototype.init=function(){var e=this;i(document).on("click",".right-bar-toggle",function(){e.toggleRightSideBar()}),i(document).on("click","body",function(t){1!==i(t.target).closest("#top-search").length&&i("#search-dropdown").removeClass("d-block"),0
');var i=e.find(".card-disabled");setTimeout(function(){i.fadeOut("fast",function(){i.remove()})},500+5*Math.random()*300)})},n.Portlet=new t,n.Portlet.Constructor=t}(window.jQuery),function(e){"use strict";function t(){this.$body=e("body"),this.$window=e(window)}t.prototype.initControls=function(){function t(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||(console.log("pressed"),e("body").removeClass("fullscreen-enable"))}setTimeout(function(){document.body.classList.remove("loading")},400),e(window).on("load",function(){e("#status").fadeOut(),e("#preloader").delay(350).fadeOut("slow")}),e('[data-toggle="fullscreen"]').on("click",function(t){t.preventDefault(),e("body").toggleClass("fullscreen-enable"),document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}),document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t)},t.prototype.init=function(){e.Portlet.init(),e.Components.init(),this.initControls(),this.layout=e.LayoutThemeApp,this.rightBar=e.RightBar,this.rightBar.layout=this.layout,this.layout.rightBar=this.rightBar,this.layout.init(),this.rightBar.init(this.layout);var t=this.$body.data("layout");window.sessionStorage&&t&&t.hasOwnProperty("showRightSidebarOnPageLoad")&&t.showRightSidebarOnPageLoad&&(sessionStorage.getItem("_UBOLD_VISITED_")||(e.RightBar.toggleRightSideBar(),sessionStorage.setItem("_UBOLD_VISITED_",!0)))},e.App=new t,e.App.Constructor=t}(window.jQuery),function(){"use strict";window.jQuery.App.init()}(),Waves.init(),feather.replace(); //# sourceMappingURL=app.min.js.map