text: !function(a,n,e){"use strict";var s=e("body"),o=e(".main-menu"),t=s.attr("data-menu"),r=e(".footer"),d=e(".header-navbar"),l=e(".horizontal-menu-wrapper .header-navbar"),i=e(".header-navbar-shadow"),c=e("#collapse-sidebar-switch"),v=e(".content-wrapper"),C=e(".content-area-wrapper"),b=e(".customizer");if(e(".customizer-toggle").on("click",(function(a){a.preventDefault(),e(b).toggleClass("open")})),e(".customizer-close").on("click",(function(){e(b).removeClass("open")})),e(".customizer-content").length>0)new PerfectScrollbar(".customizer-content");e(".layout-name").on("click",(function(){var a=e(this).data("layout");s.removeClass("dark-layout bordered-layout").addClass(a),""===a?(o.removeClass("menu-dark").addClass("menu-light"),d.removeClass("navbar-dark").addClass("navbar-light")):"dark-layout"===a?(o.removeClass("menu-light").addClass("menu-dark"),d.removeClass("navbar-dark").addClass("navbar-dark")):(o.removeClass("menu-dark").addClass("menu-light"),d.removeClass("navbar-dark").addClass("navbar-light")),e(".horizontal-menu .header-navbar.navbar-fixed").css({background:"inherit","box-shadow":"inherit"}),e(".horizontal-menu .horizontal-menu-wrapper.header-navbar").css("background","inherit")}));var m=s.data("layout");e(".layout-name[data-layout='"+m+"']").prop("checked",!0),c.on("click",(function(){e(".modern-nav-toggle").trigger("click"),e(".main-menu").trigger("mouseleave")})),s.hasClass("menu-collapsed")?c.prop("checked",!0):c.prop("checked",!1),e("#customizer-navbar-colors .color-box").on("click",(function(){var a=e(this);a.siblings().removeClass("selected"),a.addClass("selected");var n=a.data("navbar-color");n?s.find(d).removeClass("bg-primary bg-secondary bg-success bg-danger bg-info bg-warning bg-dark").addClass(n+" navbar-dark"):s.find(d).removeClass("bg-primary bg-secondary bg-success bg-danger bg-info bg-warning bg-dark navbar-dark"),s.hasClass("dark-layout")&&d.addClass("navbar-dark")})),s.hasClass("horizontal-menu")&&(e(".collapse_menu").removeClass("d-none"),e(".collapse_sidebar").addClass("d-none"),e(".menu_type").removeClass("d-none"),e(".navbar_type").addClass("d-none"),e("#nav-type-hidden").closest("div").css("display","none"),e("#customizer-navbar-colors").hide(),e(".customizer-menu").attr("style","display: none !important").next("hr").hide(),e(".navbar-type-text").text("Nav Menu Types")),e("#nav-type-hidden").on("click",(function(){d.addClass("d-none"),i.addClass("d-none"),s.removeClass("navbar-static navbar-floating navbar-sticky").addClass("navbar-hidden")})),e("#nav-type-static").on("click",(function(){s.hasClass("horizontal-layout")?(l.removeClass("d-none floating-nav fixed-top navbar-fixed"),s.removeClass("navbar-hidden navbar-floating navbar-sticky").addClass("navbar-static")):(i.addClass("d-none"),"horizontal-menu"===t?l.removeClass("d-none floating-nav fixed-top").addClass("navbar-static-top"):d.removeClass("d-none floating-nav fixed-top").addClass("navbar-static-top"),s.removeClass("navbar-hidden navbar-floating navbar-sticky").addClass("navbar-static"))})),e("#nav-type-floating").on("click",(function(){s.hasClass("horizontal-layout")?(l.removeClass("d-none fixed-top navbar-static-top").addClass("floating-nav"),s.removeClass("navbar-static navbar-hidden navbar-sticky").addClass("navbar-floating")):(i.removeClass("d-none"),"horizontal-menu"===t?l.removeClass("d-none navbar-static-top fixed-top").addClass("floating-nav"):d.removeClass("d-none navbar-static-top fixed-top").addClass("floating-nav"),s.removeClass("navbar-static navbar-hidden navbar-sticky").addClass("navbar-floating"))})),e("#nav-type-sticky").on("click",(function(){s.hasClass("horizontal-layout")?(l.removeClass("d-none floating-nav navbar-static-top navbar-fixed").addClass("fixed-top"),s.removeClass("navbar-static navbar-floating navbar-hidden").addClass("navbar-sticky")):(i.addClass("d-none"),"horizontal-menu"===t?l.removeClass("d-none floating-nav navbar-static-top").addClass("fixed-top"):d.removeClass("d-none floating-nav navbar-static-top").addClass("fixed-top"),s.removeClass("navbar-static navbar-floating navbar-hidden").addClass("navbar-sticky"))})),v.hasClass("container")||C.hasClass("container")?e("#layout-width-boxed").prop("checked",!0):e("#layout-width-full").prop("checked",!0),e("#layout-width-full").on("click",(function(){v.removeClass("container p-0"),C.removeClass("container p-0")})),e("#layout-width-boxed").on("click",(function(){v.addClass("container p-0"),C.addClass("container p-0")})),e("#footer-type-hidden").on("click",(function(){r.addClass("d-none"),s.removeClass("footer-static footer-fixed").addClass("footer-hidden")})),e("#footer-type-static").on("click",(function(){s.removeClass("footer-fixed"),r.removeClass("d-none").addClass("footer-static"),s.removeClass("footer-hidden footer-fixed").addClass("footer-static")})),e("#footer-type-sticky").on("click",(function(){s.removeClass("footer-static footer-hidden").addClass("footer-fixed"),r.removeClass("d-none footer-static")}))}(window,document,jQuery);