!function(){"use strict";$(".changeLogoHeaderColor").on("click",(function(){$(".logo-header").attr("data-background-color",$(this).val())})),$(".changeTopBarColor").on("click",(function(){$(".main-header .navbar-header").attr("data-background-color",$(this).val())})),$(".changeSideBarColor").on("click",(function(){$(".sidebar").attr("data-background-color",$(this).val()),"white"==$(this).val()?$(".sidebar .nav").addClass("nav-primary"):$(".sidebar .nav").removeClass("nav-primary")})),$(".changeBackgroundColor").on("click",(function(){$("body").attr("data-background-color",$(this).val())})),$(".import").on("click",(function(n){n.preventDefault(),Swal.fire({title:CI.langs["admin::admin.dummy.confirmation"],text:CI.langs["admin::admin.dummy.confirmation_message"],showDenyButton:!0,showCancelButton:!1,confirmButtonText:CI.langs["admin::admin.dummy.btn_import"],denyButtonText:CI.langs["admin::admin.dummy.btn_cancel"]}).then((function(n){if(n.isConfirmed){$("#cover-spin").show();var a=window.route("admin.settings.dummydata").url();window.location=a}}))})),$(document).on("click",(function(){"disqus_comment"==$("#enable_comment").val()?$("#disqus-comment").show():$("#disqus-comment").hide()})),$(document).on("click",(function(){"invisible_captcha"==$("#captcha_type").val()?$("#recaptcha-show").show():$("#recaptcha-show").hide()}))}();
//# sourceMappingURL=setting.js.map