(h=>{h(document).ready(function(){h(".color-picker-hex").wpColorPicker({palettes:mh_admin_settigs.default_color_scheme.split("|")});var t=h('input[name="post_format"]'),e=h("#mh_post_use_bg_color");t.length&&(t.on("change",function(){var t=h(this).val();h(".mh_mharty_format_setting").hide(),h(".mh_mharty_format_setting.mh_mharty_"+t+"_settings").show(),e.length&&e.trigger("change")}),t.filter(":checked").trigger("change")),e.length&&(e.on("change",function(){h(".mh_post_bg_color_setting").toggle(h(this).is(":checked"))}),e.trigger("change"))})})(jQuery);