{"product_id":"train-like-ifbb-pro-marc-lobliner-ebook","title":"Train like IFBB Pro Marc Lobliner eBook","description":"\u003cp\u003e\n\u003cspan\u003eThis workout is advanced so prepare to work hard and make some AMAZING New Year gains!\u003c\/span\u003e\n\u003c\/p\u003e\n\u003cdiv style=\"margin-top: 20px;\" class=\"form_page servive-block servive-block-dark\" id=\"tf-app-form\"\u003e\n  \u003cdiv class=\"row\"\u003e\n    \u003ch2 class=\"heading-md\"\u003eTF Trainer App Signup\u003c\/h2\u003e\n    \u003cp\u003e\n      Enter your contact info to receive instructions on how to get the new Tiger Fitness Trainer App.\n    \u003c\/p\u003e\n    \u003cp\u003e\n      Already have the app? Message your trainer and ask to switch to this training program.\n    \u003c\/p\u003e\n  \u003c\/div\u003e\n  \u003cdiv class=\"row\"\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003clabel for=\"tf-app-fname\" style=\"color: white;\"\u003eFirst Name\u003c\/label\u003e\u003c\/div\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003cinput name=\"tf-app-fname\" type=\"text\" value=\"\" id=\"tf-app-fname\"\u003e\u003c\/div\u003e\n    \u003ch5 id=\"fname_check\" style=\"color: #FF4500; display: none;\"\u003e**Please enter a valid first name\u003c\/h5\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003clabel for=\"tf-app-lname\" style=\"color: white;\"\u003eLast Name\u003c\/label\u003e\u003c\/div\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003cinput name=\"tf-app-lname\" type=\"text\" value=\"\" id=\"tf-app-lname\"\u003e\u003c\/div\u003e\n    \u003ch5 id=\"lname_check\" style=\"color: #FF4500; display: none;\"\u003e**Please enter a valid last name\u003c\/h5\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003clabel for=\"tf-app-email\" style=\"color: white;\"\u003eEmail\u003c\/label\u003e\u003c\/div\u003e\n    \u003cdiv class=\"col-6-sm\"\u003e\u003cinput name=\"tf-app-email\" type=\"text\" value=\"\" id=\"tf-app-email\"\u003e\u003c\/div\u003e\n    \u003ch5 id=\"email_check\" style=\"color: #FF4500; display: none;\"\u003e**Please enter a valid email address\u003c\/h5\u003e\n  \u003c\/div\u003e\n  \u003cbutton class=\"button-primary\" name=\"tf-app-submit\" id=\"tf-app-submit\" style=\"display:none;\"\u003eSubmit\u003c\/button\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"form_page servive-block servive-block-dark\" id=\"tf-app-results\" style=\"display:none;\"\u003e\n  \u003cdiv class=\"row\"\u003e\n    \u003cdiv class=\"col-12-sm\"\u003e\n      \u003ch2 class=\"heading-md\"\u003eTF Trainer App Signup\u003c\/h2\u003e\n      \u003cbr\u003e\n      \u003cdiv id=\"tf-app-message\"\u003e\u003c\/div\u003e\t\t\t\n    \u003c\/div\u003e\n  \u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cstyle\u003e\n  #tf-app-fname, #tf-app-lname, #tf-app-email {\n    width: 100%;\n    max-width: 200px;\n  }\n\u003c\/style\u003e\n\n\u003cscript type=\"text\/javascript\"\u003e\njQuery(document).ready(function() {\n\tvar _fname      = '';\n    var _lname      = '';\n    var _email      = '';\n  \n    jQuery(\"#tf-app-fname\").keyup(function () {\n\t\tvalidateContact();\n    });\n\n    jQuery(\"#tf-app-lname\").keyup(function () {\n        validateContact();\n    });\n\n    jQuery(\"#tf-app-email\").keyup(function () {\n        validateContact();\n    });\n\n    jQuery(\"#tf-app-submit\").click(function() {\n        _fname = jQuery(\"#tf-app-fname\").val();\n        _lname = jQuery(\"#tf-app-lname\").val();\n        _email = jQuery(\"#tf-app-email\").val();\n        sendInvite();\n    });    \n\n    function validateContact() {\n        let fname = jQuery(\"#tf-app-fname\").val();\n        let lname = jQuery(\"#tf-app-lname\").val();\n        let email = jQuery(\"#tf-app-email\").val();\n\n        if (fname == '') {\n            jQuery(\"#tf-app-submit\").hide();\n            jQuery(\"#fname_check\").show();\n            return;\n        }\n        jQuery(\"#fname_check\").hide();\n\n        if (lname == '') {\n            jQuery(\"#tf-app-submit\").hide();\n            jQuery(\"#lname_check\").show();\n            return;\n        }\n        jQuery(\"#lname_check\").hide();\n\n        if (email == '') {\n            jQuery(\"#tf-app-submit\").hide();\n            jQuery(\"#email_check\").show();\n            return;\n        }\n\n        var emailReg = \/^([\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4})?$\/;\n        if(!emailReg.test(email)) {\n            jQuery(\"#tf-app-submit\").hide();\n            jQuery(\"#email_check\").show();\n            return;\n        }\n        jQuery(\"#email_check\").hide();\n        jQuery(\"#tf-app-submit\").show();\n    }\n\n    function sendInvite() {\n    \tvar message = '\u003cdiv style=\"color: white;\"\u003e\u003cstrong\u003eRegistering account, please wait...\u003c\/strong\u003e\u003c\/div\u003e';\n\n      \tjQuery(\"#tf-app-message\").html(message);\n        jQuery(\"#tf-app-form\").hide();\n        jQuery(\"#tf-app-results\").show();\n\n      \tjQuery.ajax({\n            method: 'POST',\n          \tcontentType: 'application\/json',\n            dataType: 'text',\n            url: 'https:\/\/hook.integromat.com\/tf8xe7vtpef6vxi5le4cng11watqkgld',\n            data : '{\"email\": \"' + _email + '\", \"firstName\": \"' + _fname + '\", \"lastName\": \"' + _lname + '\"}',\n            success: function(data) {\n              \tmessage = '\u003cdiv style=\"color: white;\"\u003e\u003cstrong\u003eThank you!\u003c\/strong\u003e\u003c\/div\u003e' + \n\t\t\t\t\t'\u003cp\u003eCheck your email for the app link and instructions on how to get started.\u003c\/p\u003e';\n    \t    },\n        \terror: function() {\n              \tmessage = '\u003cdiv style=\"color: white;\"\u003e\u003cstrong\u003eThank You!\u003c\/strong\u003e\u003c\/div\u003e' + \n\t\t\t\t\t'\u003cp\u003eIt looks like you already have a TF Trainer account.\u003cbr \/\u003e' +\n                  \t'Feel free to contact us if you need help accessing your account.\u003c\/p\u003e';\n        \t},\n          \tcomplete: function(data) {\n              \tjQuery(\"#tf-app-message\").html(message);\n          \t}\n        });\n    }\n});\n\u003c\/script\u003e","brand":"Marc Lobliner","offers":[{"title":"Default Title","offer_id":39501073449018,"sku":"1006929","price":0.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0133\/8576\/0826\/products\/mts-nutrition-train-like-ifbb-pro-marc-lobliner-ebook-1006929-254387.png?v=1701817831","url":"https:\/\/alexfeoshop.shop\/products\/train-like-ifbb-pro-marc-lobliner-ebook","provider":"Tiger Fitness","version":"1.0","type":"link"}