";wpa_add_honeypot_field();if(typeof wpae_add_honeypot_field=='function'){wpae_add_honeypot_field()}
if(wpa_add_test=='yes'){wpa_add_test_block()}});function wpa_act_as_spam(){actiontype=jQuery('span.wpa-button').data('actiontype');if(actiontype=='remove'){wpa_remove_honeypot_field();jQuery('span.wpa-button').data('actiontype','add');jQuery('span.wpa-button').html('Acting as Spam Bot')}else{wpa_add_honeypot_field();jQuery('span.wpa-button').data('actiontype','remove');jQuery('span.wpa-button').html('Act as Spam Bot')}}
function wpa_add_honeypot_field(){var allFormSelectors=['form.wpcf7-form, .wpcf7 form','form.wpforms-form','.gform_wrapper form','.frm_forms form','.caldera-grid form','.wp-block-toolset-cred-form form','form.cred-user-form','form.cred-form','form.et_pb_contact_form','form.fb_form','form.elementor-form','form.form-contribution','form.cart','form#learn-press-checkout-form','form.spectra-pro-login-form','form#loginform','form#edd_login_form','form.uwp-login-form','form#commentform','form.ast-commentform','form#fl-comment-form','form.comment-form','.review-form form','form#edd-reviews-form','.bbp-topic-form form','.bbp-reply-form form'];jQuery(allFormSelectors.join(', ')).append(wpa_hidden_field);jQuery('form.frm-fluent-form').append(wpa_hidden_field);jQuery('.ff_conv_app').append(wpa_hidden_field);if(typeof fluent_forms_global_var_1!=='undefined'){fluent_forms_global_var_1.extra_inputs[wpa_field_name]=wpa_unique_id;fluent_forms_global_var_1.extra_inputs.alt_s=''}
jQuery('input.wpa_initiator').each(function(){var $form=jQuery(this).closest('form');if($form.find('.wpa_hidden_field').length===0){jQuery(wpa_hidden_field).insertAfter(this)}})}
function wpa_add_test_block(){checkingTest='
WP Armour ( Only visible to site administrators. Not visible to other users. ) This form has a honeypot trap enabled. If you want to act as spam bot for testing purposes, please click the button below. Act as Spam Bot
';jQuery('.wpa-test-msg').remove();jQuery('span.wpa_hidden_field').after(checkingTest)}
function wpa_remove_honeypot_field(){jQuery('.wpa_hidden_field').remove();jQuery('#altEmail_container, .altEmail_container').remove();if(typeof fluent_forms_global_var_1!=='undefined'){delete fluent_forms_global_var_1.extra_inputs[wpa_field_name];delete fluent_forms_global_var_1.extra_inputs.alt_s}}