jQuery(document).ready(function(a){});var s2member_pro_google_wallet_checkout=function(b,e){var d=jQuery,c=d(b),a="";c.css({opacity:0.5}).attr("disabled","disabled");if(!(a=S2MEMBER_CURRENT_USER_EMAIL)){if(!(a=prompt('<?php echo _x("Email Address", "s2member-front", "s2member"); ?>',""))){return}}d.post('<?php echo add_query_arg("s2member_pro_google_jwt", "1", home_url("/")); ?>',{s2member_pro_google_jwt_vars:{email:a,attr:e.jwt_attr}},function(f){google.payments.inapp.buy({jwt:f,success:function(g){if(e.success){location.href=e.success}else{alert('<?php echo _x("Thank you! Please check your email for further details.", "s2member-front", "s2member"); ?>')}},failure:function(g){if(e.failure){location.href=e.failure}}});c.css({opacity:1}).removeAttr("disabled")})};