"use strict!"; function handlemenutype(e) { $(".pcoded").attr("nav-type", e) } $(document).ready(function() { $(".pcoded-navbar .pcoded-hasmenu").attr("subitem-icon", "style1"), $("#pcoded").pcodedmenu({ themelayout: "horizontal", horizontalMenuplacement: "top", horizontalBrandItem: !0, horizontalLeftNavItem: !0, horizontalRightItem: !0, horizontalSearchItem: !0, horizontalMobileMenu: !0, MenuTrigger: "hover", SubMenuTrigger: "hover", activeMenuClass: "active", ThemeBackgroundPattern: "theme1", HeaderBackground: "theme1", LHeaderBackground: "theme1", NavbarBackground: "themelight1", ActiveItemBackground: "theme1", SubItemBackground: "theme2", LogoTheme: "theme1", menutype: "st2", freamtype: "theme1", layouttype: "light", ActiveItemStyle: "style1", ItemBorder: !0, ItemBorderStyle: "none", SubItemBorder: !0, DropDownIconStyle: "style1", FixedNavbarPosition: !1, FixedHeaderPosition: !1, horizontalNavIsCentered: !1, horizontalstickynavigation: !1, horizontalNavigationMenuIcon: !0 }), function() { $(".theme-color > a.Layout-type").on("click", function() { var e = $(this).attr("layout-type"); $(".pcoded").attr("layout-type", e), "dark" == e && ($(".pcoded-header").attr("header-theme", "theme6"), $(".pcoded-navbar").attr("navbar-theme", "theme1"), $(".pcoded-navbar").attr("active-item-theme", "theme1"), $(".pcoded").attr("fream-type", "theme1"), $("body").addClass("dark"), $("body").attr("themebg-pattern", "theme1"), $(".pcoded-navigation-label").attr("menu-title-theme", "theme1")), "light" == e && ($(".pcoded-header").attr("header-theme", "themelight1"), $(".pcoded-navbar").attr("navbar-theme", "themelight1"), $(".pcoded-navigation-label").attr("menu-title-theme", "theme2"), $(".pcoded-navbar").attr("active-item-theme", "theme1"), $(".pcoded").attr("fream-type", "theme1"), $("body").removeClass("dark"), $("body").attr("themebg-pattern", "theme1")) }) }(), function() { $(".theme-color > a.leftheader-theme").on("click", function() { var e = $(this).attr("menu-caption"); $(".pcoded-navigation-label").attr("menu-title-theme", e) }) }(), function() { $(".theme-color > a.header-theme-full").on("click", function() { var e = $(this).attr("header-theme"), t = $(this).attr("active-item-color"); $(".pcoded-header").attr("header-theme", e), $(".navbar-logo").attr("logo-theme", e), $(".pcoded-navbar").attr("active-item-theme", t), $(".pcoded").attr("fream-type", e), $("body").attr("themebg-pattern", e), "theme6" == e && $(".pcoded-navbar").attr("active-item-theme", "theme1") }) }(), function() { $(".theme-color > a.header-theme").on("click", function() { var e = $(this).attr("header-theme"), t = $(this).attr("active-item-color"); $(".pcoded-header").attr("header-theme", e), $(".pcoded-navbar").attr("active-item-theme", t), $(".pcoded").attr("fream-type", e), $("body").attr("themebg-pattern", e), "theme6" == e && $(".pcoded-navbar").attr("active-item-theme", "theme1") }) }(), function() { $(".theme-color > a.navbar-theme").on("click", function() { var e = $(this).attr("navbar-theme"); $(".pcoded-navbar").attr("navbar-theme", e), "themelight1" == e && $(".pcoded-navigation-label").attr("menu-title-theme", "theme2"), "theme1" == e && $(".pcoded-navigation-label").attr("menu-title-theme", "theme1") }) }(), function() { $(".theme-color > a.active-item-theme").on("click", function() { var e = $(this).attr("active-item-theme"); $(".pcoded-navbar").attr("active-item-theme", e) }) }(), function() { $(".theme-color > a.themebg-pattern").on("click", function() { var e = $(this).attr("themebg-pattern"); $("body").attr("themebg-pattern", e) }) }(), function() { $("#theme-layout").change(function() { $(this).is(":checked") ? ($(".pcoded").attr("vertical-layout", "box"), $("#bg-pattern-visiblity").removeClass("d-none")) : ($(".pcoded").attr("vertical-layout", "wide"), $("#bg-pattern-visiblity").addClass("d-none")) }) }(), function() { $("#vertical-menu-effect").val("shrink").on("change", function(e) { e = $(this).val(), $(".pcoded").attr("vertical-effect", e) }) }(), function() { $("#vertical-border-style").val("solid").on("change", function(e) { e = $(this).val(), $(".pcoded-navbar .pcoded-item").attr("item-border-style", e) }) }(), function() { $("#vertical-dropdown-icon").val("style1").on("change", function(e) { e = $(this).val(), $(".pcoded-navbar .pcoded-hasmenu").attr("dropdown-icon", e) }) }(), function() { $("#vertical-subitem-icon").val("style5").on("change", function(e) { e = $(this).val(), $(".pcoded-navbar .pcoded-hasmenu").attr("subitem-icon", e) }) }(), function() { $("#sidebar-position").change(function() { $(this).is(":checked") ? ($(".pcoded-navbar").attr("pcoded-navbar-position", "fixed"), $(".pcoded-header .pcoded-left-header").attr("pcoded-lheader-position", "fixed")) : ($(".pcoded-navbar").attr("pcoded-navbar-position", "absolute"), $(".pcoded-header .pcoded-left-header").attr("pcoded-lheader-position", "relative")) }) }(), function() { $("#header-position").change(function() { $(this).is(":checked") ? ($(".pcoded-header").attr("pcoded-header-position", "fixed"), $(".pcoded-navbar").attr("pcoded-header-position", "fixed"), $(".pcoded-main-container").css("margin-top", $(".pcoded-header").outerHeight())) : ($(".pcoded-header").attr("pcoded-header-position", "relative"), $(".pcoded-navbar").attr("pcoded-header-position", "relative"), $(".pcoded-main-container").css("margin-top", "0px")) }) }(), function() { $("#collapse-left-header").change(function() { $(this).is(":checked") ? ($(".pcoded-header, .pcoded ").removeClass("iscollapsed"), $(".pcoded-header, .pcoded").addClass("nocollapsed")) : ($(".pcoded-header, .pcoded").addClass("iscollapsed"), $(".pcoded-header, .pcoded").removeClass("nocollapsed")) }) }() }), handlemenutype("st2");