/* WP PowerSuite Turnstile — unlock patterns aligned with Simple Cloudflare Turnstile */
function turnstileWPCallback() {
	document.querySelectorAll('#wp-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWppsCommentCallback() {
	document.querySelectorAll('#commentform input#submit, #commentform button[type="submit"]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileCommentCallback() {
	document.querySelectorAll('.cf-turnstile-comment').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileJetpackCallback() {
	document.querySelectorAll('.wp-block-jetpack-contact-form button[type="submit"]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstilePMProCallback() {
	document.querySelectorAll('.pmpro_btn-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWooLoginCallback() {
	document.querySelectorAll('.woocommerce-form-login__submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWooRegisterCallback() {
	document.querySelectorAll('.woocommerce-form-register__submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWooResetCallback() {
	document.querySelectorAll('.woocommerce-ResetPassword .button').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWooCheckoutCallback() {
	document.querySelectorAll('#place_order, .wc-block-components-checkout-place-order-button, .wc-block-checkout__actions_row .wc-block-components-button').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileEDDLoginCallback() {
	document.querySelectorAll('#edd_login_submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileEDDRegisterCallback() {
	document.querySelectorAll('#edd_register_form .edd-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileEDDCheckoutCallback() {
	document.querySelectorAll('.edd-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstilePMPLoginCallback() {
	document.querySelectorAll('#wp-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileElementorCallback() {
	document.querySelectorAll('.elementor-form button[type="submit"]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileKadenceCallback() {
	document.querySelectorAll('.kb-adv-form-submit-button, .kb-submit-field .kb-button, .kb-form-submit .kb-button, .kb-submit-field button[type="submit"], .kb-form-submit button[type="submit"]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileCF7Callback() {
	document.querySelectorAll('.wpcf7-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileMC4WPCallback() {
	document.querySelectorAll('.mc4wp-form-fields input[type=submit]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileMailpoetCallback() {
	document.querySelectorAll('.mailpoet_submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileBPCallback() {
	document.querySelectorAll('#buddypress #signup-form .submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileBBPressReplyCallback() {
	document.querySelectorAll('#bbp_reply_submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWPFCallback() {
	document.querySelectorAll('.wpforms-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileFluentCallback() {
	document.querySelectorAll('.fluentform .ff-btn-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileFormidableCallback() {
	document.querySelectorAll('.frm_forms .frm_button_submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileGravityCallback() {
	document.querySelectorAll('.gform_button').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileUMCallback() {
	document.querySelectorAll('#um-submit-btn').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileWPUFCallback() {
	document.querySelectorAll('.wpuf-form input[type="submit"]').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileMEPRCallback() {
	document.querySelectorAll('.mepr-submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileBBPressCreateCallback() {
	document.querySelectorAll('#bbp_topic_submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstilesureformsCallback() {
	document.querySelectorAll('.srfm-submit-container .srfm-submit-button').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
function turnstileSunshineCheckoutCallback() {
	document.querySelectorAll('#sunshine--checkout--submit').forEach(function (el) {
		el.style.pointerEvents = 'auto';
		el.style.opacity = '1';
	});
}
