jQuery(document).ready(function(t){function n(){t("#bookingor-woocommcerce-payment-toggle").is(":checked")?t("#setting-woocommerce-payment-active").show(200):(t("#bookingor-woocommcerce-payment-toggle").hide(200),t("#setting-woocommerce-payment-active").hide(200),t("#paypal-toggle").removeAttr("disabled"),t("#stripe-toggle").removeAttr("disabled"))}(t=jQuery.noConflict())("#bookingor-woocommcerce-payment-toggle").on("change",function(e){e.preventDefault(),this.checked?(t(this).parent().next().text("Enable"),t(this).val("on"),t(this).parent().parent().parent().parent().next(".dis-yes").find("input").attr("disabled",!1),t(this).parent().parent().parent().parent().next(".dis-yes").show(300)):(t(this).val("off"),t(this).parent().parent().parent().parent().next(".dis-yes").hide(300),t(this).parent().next().text("Disable")),n()})});