/* growform client2 bundle.url: https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js resolve.source: kv resolve.at: 2025-10-11T14:09:10.917Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6824a8b23643db000be32eaf"; var FORM_BUNDLE_URL = "https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6824a8b23643db000be32eaf","steps":[{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":1}],"formName":"RichLife Book Download Form A","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Get Immediate Access to the Social Security Clarity Book!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":36,"unit":"px"},"fontWeight":"Bold","fontFamily":"Poppins"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Get Immediate Access to the Social Security Clarity Book!","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":36,"unit":"px"},"fontWeight":"Bold","textDecoration":"none","fontFamily":"Poppins"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"stepId":"ff4727c9498ef9c0a6c989d9"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9"},"name_341186426346383":{"type":"Name","label":"What is your name?","width":12,"hideLabel":true,"options":{"Firstname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Lastname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Prefix":{"value":null,"errorText":null}},"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"hidePrefix":true},"decorative_paragraph_994300042584401":{"type":"Decorative Paragraph","value":"Preparing Your E-Book and Guides...","width":12,"stepId":"complete","sortOrder":2,"fieldStyle":{"textDecoration":"none"}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"Next","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1362,"imageInitialWidth":2066,"imageHeight":1362,"imageWidth":2066,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597337140/uploads/qmsfk98ank3wfp1ehvyg.jpg"},"headerMarginTop":30,"parentBackgroundColor":"#152658","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#233682","bodyTextColor":"#ffffff","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"No","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#FFFFFF","rt_buttonFont":"Inherit","rt_buttonFontSize":14,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#000000","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#E8F5F7","canvasSetup":"minimal","rt_controlsColor":"primary","continueButtonColor":"#1b880e","continueButtonTextColor":"#fffdfd","progressColor":"#1b880e","radioButtonAndCheckboxColor":"#1b880e"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://form.growform.co/go/6824abbd3643db000be33065"}],"logo":{"value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1731407435/uploads/y23dq40d31ksvz4syiag.webp","linkUrl":"https://www.example.com","imageWidth":70,"imageHeight":10,"imageInitialWidth":1160,"imageInitialHeight":170},"captureSystemDetails":true,"actionOnSubmit":"redirect","analyticsSettings":{"google_analytics":{"trackingId":"isaac@advisorguidemarketing.com"}}},"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1747248286/growform-production/form-screenshots/6824a8b23643db000be32eaf.png","ownedByUser":"6813795006b903000bc4443d","personalisation":{"form_related_to":"Finance / loans"},"created":"2025-05-14T14:29:06.209Z","__v":0,"lastEdited":"2025-05-14T18:45:45.082Z","leadsCount":21,"isActive":true,"folderId":"6862be5acd5e7c000b69e6b9"},"accountIsActive":true,"accountIsFreeTrial":false}}; // ---- Utils ---- function safeJSONStringify(obj) { return JSON.stringify(obj) .replace(/<\/(script|style)/gi, '<\\/$1') .replace(//g, '--\\>') .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029'); } function preloadScript(href) { try { if (!href) return; if (document.querySelector('link[rel="preload"][href="' + href + '"]')) return; var l = document.createElement("link"); l.rel = "preload"; l.as = "script"; l.href = href; l.crossOrigin = ""; // allow cache reuse in iframe document.head.appendChild(l); } catch (_) {} } function parseQuery() { var out = {}; try { if (!window.location.search) return out; var usp = new URLSearchParams(window.location.search); usp.forEach(function (v, k) { out[k] = v; }); } catch (_) {} return out; } function buildIframeHTML(opts) { var html = '\n' + '\n' + '
\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '