/* growform client2 bundle.url: https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js resolve.source: kv resolve.at: 2026-10-23T07:09:44.555Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "671b7a9a03b287000b6a25d3"; var FORM_BUNDLE_URL = "https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"671b7a9a03b287000b6a25d3","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Product","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"36736b3b92479e9ebd598386","name":"Installed Insulation","sortOrder":2,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"6aea0f84f6ce89f2fa6fa20e","name":"Declined Form","sortOrder":3,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_943597690747695","operator":"selected_option","criteria":"6b04250eb668f9d4d089985b"}]}]}},{"id":"8d2309d21d8fe8e0bc1f81da","name":"Address","sortOrder":4,"conditionalLogic":{"action":"hide","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_943597690747695","operator":"selected_option","criteria":"6b04250eb668f9d4d089985b"}]}]}},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":5,"conditionalLogic":{"action":"hide","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_943597690747695","operator":"selected_option","criteria":"6b04250eb668f9d4d089985b"}]}]}}],"formName":"National Spray Foam Removal","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"We just need a few details","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"stepId":"ff4727c9498ef9c0a6c989d9","customQueryParamName":"email"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9","showCountryCode":false,"defaultCountryFormat":"gb","useDatasoap2":true,"customQueryParamName":"phone"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Are you a homeowner in the UK?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"Homeowner","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Yes","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1723628566/uploads/yjvupvhhzwl6eehdjhuv.png","id":"92cf9db7a14ea74299c15df9"},{"text":"No","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1723628568/uploads/gt2i9ti4x4miumtb86fw.png","id":"6b04250eb668f9d4d089985b"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"33%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","spacing":20,"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"1","rt_compactLayoutOnMobile":"No"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginLeft":null,"marginBottom":0},"customQueryParamName":"product"},"decorative_header_59270480717140":{"type":"Decorative Header","value":"What's your address?","width":12,"sortOrder":1,"stepId":"8d2309d21d8fe8e0bc1f81da","fieldStyle":{"fontSize":{"value":22,"unit":"px"}},"margins":{"marginBottom":5}},"hidden_203034771140259":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":3,"customQueryParamName":"utm_source"},"hidden_427737483324936":{"type":"Hidden","hiddenFieldName":"utm_medium","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":4,"customQueryParamName":"utm_medium"},"hidden_579795574300938":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":5,"customQueryParamName":"utm_campaign"},"hidden_783053063820926":{"type":"Hidden","hiddenFieldName":"utm_id","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":6,"customQueryParamName":"utm_id"},"decorative_header_688306647862529":{"type":"Decorative Header","value":"Submitting details...","width":12,"stepId":"complete","sortOrder":1},"hidden_699453711936376":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":7,"customQueryParamName":"utm_content"},"zipcode_392875257738758":{"type":"Zipcode","label":"UK Postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":2,"customQueryParamName":"postcode"},"name_742043904250430":{"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,"customQueryParamName":"fullname"},"address_373597945229920":{"type":"Address","label":"What is your street address?","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":3,"validationRules":{"required":true},"customQueryParamName":"street"},"decorative_header_301836958358656":{"type":"Decorative Header","value":"Do you have Spray Foam Insulation installed in your home?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"36736b3b92479e9ebd598386","margins":{"marginBottom":5}},"buttons_943597690747695":{"type":"Buttons","validationRules":{"required":true},"label":"Insulation Installed","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Yes","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1723628566/uploads/yjvupvhhzwl6eehdjhuv.png","id":"92cf9db7a14ea74299c15df9"},{"text":"No","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1723628568/uploads/gt2i9ti4x4miumtb86fw.png","id":"6b04250eb668f9d4d089985b"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"33%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","spacing":20,"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"1","rt_compactLayoutOnMobile":"No"},"stepId":"36736b3b92479e9ebd598386","margins":{"marginLeft":null,"marginBottom":0},"customQueryParamName":"insulationInstalled"},"decorative_header_278562155583181":{"type":"Decorative Header","value":"Thank you for your interest in proceeding with this application. Unfortunately, we’re unable to move forward, as it appears that spray foam insulation is not installed in your home. To be successful, having spray foam insulation is a required condition. If your situation changes or you have any questions, please feel free to reach out to us again.","width":12,"sortOrder":1,"stepId":"6aea0f84f6ce89f2fa6fa20e"},"decorative_text_99884600491063":{"type":"Decorative Text","value":"
Your privacy is important to us. By submitting this form you consent to Lead Pronto Ltd and third party suppliers contacting you by email (including automated emails), post, telephone (including automated calls) and SMS and sharing the details you have provided to third party suppliers for quotes and/or to confirm your product requirements. You have certain rights in relation to your personal data, including the right to revoke your consent at any time. See Lead Pronto's privacy policy here.
","fieldStyle":{"fontSize":{"value":12,"unit":"px"}},"width":12,"v":2,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"location":"footer"},"toscheckbox_939288035898901":{"type":"TOSCheckbox","label":"I would like to receiving marketing communications from Lead Pronto and its trading styles via email, telephone, and/or SMS/text message related to Home Improvement products and services. You can withdraw your consent at any time.","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":5,"validationRules":{"required":false}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":true},"continueButton":{"continueText":"Next","submitText":"Submit","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":20,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#000000","bodyTextColor":"#132855","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":20,"errorColor":"#ff384c","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","defaultFont":"Manrope","sq_buttonFont":"Manrope","sq_buttonFontSize":16,"showShadows":"Yes","sq_buttonTextColor":"#ffffff","sq_buttonColor":"#ffffff","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#1a2f5a","rt_buttonFont":"Manrope","rt_buttonFontSize":16,"rt_buttonColor":"#1a2f5a","rt_buttonColorSelected":"#1a2f5a","rt_buttonTextColor":"#ffffff","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"#ffbb1b","inputLabelFont":"Manrope","inputFontSize":18,"continueSubmitButtonFontSize":16,"formMarginSide":5,"continueButtonTextColor":"#ffffff","continueButtonColor":"#1a2f5a","radioButtonAndCheckboxColor":"#1a2f5a","rt_controlsColor":"#ffffff"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","analyticsSettings":{"google_analytics":{"trackingId":"G-RCG7MWBN4J"}},"sendCustomRedirectQueryParams":true,"customCss":".btn {\njustify-content: center;\ntransition: 0.1s;\n}\n\n.gYWxkc {\njustify-content: center;\n}","endings":[{"id":"ending_efbe43a6-a0e7-4695-8ccf-a5da918e0da4","name":"","url":"https://nationalsprayfoamremoval.co.uk/declined/","type":"redirect","sortOrder":1,"conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_943597690747695","operator":"selected_option","criteria":"6b04250eb668f9d4d089985b"}]}]}},{"id":"ending_184c71cb-831a-4756-94d2-7ccce4bdda50","name":"","url":"https://nationalsprayfoamremoval.co.uk/results/","type":"redirect","sortOrder":2,"conditionalLogic":null},{"id":"complete","name":"Thank you (default)","type":"inFormEnding","sortOrder":3,"conditionalLogic":null}]},"ownedByUser":"65ae9b0b1d5e0e000b6b1f97","personalisation":{"form_related_to":"Solar"},"isActive":true},"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 getCookie(name) { try { var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? decodeURIComponent(match[2]) : ''; } catch (_) { return ''; } } function buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '