File: /home/alloesb/www/wp-content/plugins/customify/js/settings-page.min.js
!function(t){"use strict";t((function(){t(document).ready((function(){t("#reset_theme_mods").on("click",(function(){if(!window.confirm("Are you sure?"))return!1;t.ajax({url:customify.config.wp_rest.root+"customify/v1/delete_theme_mod",method:"POST",beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",customify.config.wp_rest.nonce)},data:{customify_settings_nonce:customify.config.wp_rest.customify_settings_nonce}}).done((function(t){t.success?alert("Success: "+t.data):alert("No luck: "+t.data)})).error((function(t){console.log(t)}))})),t(".switch input[type=checkbox], .select select").each((function(){if(t(this).data("show_group")){let o=!1;(t(this).attr("checked")||void 0!==t(this).data("display_option")&&t(this).data("display_option")===t(this).val())&&(o=!0),e(t(this).data("show_group"),o)}})),t(".switch, .select ").on("change","input[type=checkbox], select",(function(){if(t(this).data("show_group")){let o=!1;(t(this).attr("checked")||void 0!==t(this).data("display_option")&&t(this).data("display_option")===t(this).val())&&(o=!0),e(t(this).data("show_group"),o)}}))}));const e=function(e,o){const s=t("#"+e);o?s.show():s.hide()}})),t.fn.check_for_extended_options=function(){const e=t(this).siblings("fieldset.group");t(this).data("show-next")&&(!0===e.data("extended")?e.data("extended",!1).css("height","0"):(void 0===e.data("extended")&&"checked"===t(this).attr("checked")||!1===e.data("extended"))&&e.data("extended",!0).css("height","auto"))}}(jQuery);