jQuery(document).ready((function(e){"undefined"!=typeof mediaLibraryOrganizerSelectizeInit&&mediaLibraryOrganizerSelectizeInit(),e("form#media-categories-module").on("submit",(function(i){i.preventDefault(),wpzinc_modal_open(media_categories_module_settings.save_settings_modal.title,""),e.ajax({url:ajaxurl,type:"POST",async:!0,data:{action:media_categories_module_settings.save_settings_action,nonce:media_categories_module_settings.save_settings_nonce,settings:JSON.stringify(e(this).serializeArray())},error:function(e,i,a){wpzinc_modal_close()},success:function(e){e.success||wpzinc_modal_show_error_message_and_exit(e.data),wpzinc_modal_show_success_and_exit(media_categories_module_settings.save_settings_modal.title_success)}})}))}));