jQuery(document).ready(function(_){var e=_('select[name="tutor_option[spam_protection_method]"]'),c=_('#field_enable_spam_protection input[type="checkbox"]');function t(e){"recaptcha_v3"===e?(_("#field_recaptcha_v3_secret_key").show(0),_("#field_recaptcha_v3_site_key").show(0),_("#field_recaptcha_v2_secret_key").hide(0),_("#field_recaptcha_v2_site_key").hide(0)):"recaptcha_v2"===e?(_("#field_recaptcha_v3_secret_key").hide(0),_("#field_recaptcha_v3_site_key").hide(0),_("#field_recaptcha_v2_secret_key").show(0),_("#field_recaptcha_v2_site_key").show(0)):(_("#field_recaptcha_v3_secret_key").hide(0),_("#field_recaptcha_v3_site_key").hide(0),_("#field_recaptcha_v2_secret_key").hide(0),_("#field_recaptcha_v2_site_key").hide(0))}setTimeout(function(){return e.trigger("change")}),c.change(function(){e.trigger("change")}),t(e.val()),e.change(function(){t(_(this).val())})});