/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-08T04:39:28.293Z form.source: kv cache.age_ms: 5329 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67a5e9655c80be000b805f84"; var FORM_BUNDLE_URL = "https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"67a5e9655c80be000b805f84","steps":[{"id":"247601cdfe559f1b9eb266fe","name":"Check your area","sortOrder":1},{"id":"13ffb215753a3bd9871a49ab","name":"Loading animation","sortOrder":2},{"id":"b4d456a2d634a5a0df2bce18","name":"Intended Use","sortOrder":3,"copyOf":"247601cdfe559f1b9eb266fe"},{"id":"ee7f82e9d18658f274fb7b9c","name":"Budget","sortOrder":4,"copyOf":"702198f1621ff356fde3d452"},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":5}],"formName":"Landing Page General Template 7/2/205","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Your Roofing Quote Is On The Way!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_576559560634956":{"type":"Decorative Header","value":"3. Please enter your contact details below...","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"Left"},"stepId":"03a5a3ffff70c314dea644be","margins":{"marginTop":-20}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"stepId":"03a5a3ffff70c314dea644be","useDatasoap2":true},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":5,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb","useDatasoap2":true},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with your free home appraisal.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_255718675259826":{"type":"Decorative Header","value":"First, check if we cover your postcode. Enter your postcode below 👇","width":12,"sortOrder":1,"stepId":"247601cdfe559f1b9eb266fe","fieldStyle":{"color":"#000000","fontSize":{"value":20,"unit":"px"},"textAlign":"Left"}},"name_845942148029783":{"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,"validationRules":{"required":true}}},"stepId":"03a5a3ffff70c314dea644be","sortOrder":3,"hidePrefix":true,"customQueryParamName":"name"},"hidden_102091497377494":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"247601cdfe559f1b9eb266fe","sortOrder":3},"hidden_2976019236621":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"247601cdfe559f1b9eb266fe","sortOrder":4},"hidden_755155427481535":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"247601cdfe559f1b9eb266fe","sortOrder":5},"hidden_396702366605778":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"247601cdfe559f1b9eb266fe","sortOrder":6},"decorative_paragraph_102682996734609":{"type":"Decorative Paragraph","value":"We will instantly send you our free pricing guide and confirm your quote enquiry.","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#000000","textAlign":"Left"},"margins":{"marginTop":-20,"marginLeft":20}},"decorative_header_240047920839534":{"type":"Decorative Header","value":"1. Do you have a timeline for your home improvement?","width":12,"sortOrder":2,"stepId":"b4d456a2d634a5a0df2bce18","fieldStyle":{"color":"#000000","fontSize":{"value":20,"unit":"px"},"textAlign":"Left"},"margins":{"marginTop":-20}},"buttons_360627200226826":{"type":"Buttons","validationRules":{"required":true},"label":"Garde room use","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"ASAP","id":"e1268c1feb3b15259c60d924","image":null},{"text":"1-3 months","id":"fd00dd987f156ef82580b0f9","image":null},{"text":"3-6 months","image":null,"id":"cafbeb0dfff2d071b79a2af6"},{"text":"6-12 months","image":null,"id":"ea81f53471fcb02040890b03"},{"text":"12-18 months","image":null,"id":"5d0c3cc48214baf99b9c9582"},{"text":"Anytime","image":null,"id":"ea80f9d84ead59f59544b81f"}],"stepId":"b4d456a2d634a5a0df2bce18","sortOrder":3,"hideLabel":true},"zipcode_24885978747889":{"type":"Zipcode","label":"ENTER YOUR POSTCODE","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"247601cdfe559f1b9eb266fe","sortOrder":2,"usePostcoder":true},"decorative_header_832468773267403":{"type":"Decorative Header","value":"Checking your area...","width":12,"sortOrder":1,"stepId":"13ffb215753a3bd9871a49ab","fieldStyle":{"fontSize":{"value":20,"unit":"px"},"color":"#000000","fontWeight":"bold"}},"decorative_loading animation_796498954091644":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#88bc4f","type":"Dots","size":40,"redirectAfter":"1s"},"width":12,"stepId":"13ffb215753a3bd9871a49ab","sortOrder":2},"decorative_header_845714861657909":{"type":"Decorative Header","value":"✅ Congrats, we cover your area","width":12,"sortOrder":1,"stepId":"b4d456a2d634a5a0df2bce18","fieldStyle":{"color":"#000000","fontSize":{"value":20,"unit":"px"},"textAlign":"Center","fontWeight":"Normal"},"location":null},"decorative_header_114033331609583":{"type":"Decorative Header","value":"2. What type of property do you live in?","width":12,"sortOrder":1,"stepId":"ee7f82e9d18658f274fb7b9c","fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":20,"unit":"px"}},"margins":{"marginTop":-20}},"buttons_720635893594879":{"type":"Buttons","validationRules":{"required":true},"label":"property type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_width":75},"options":[{"text":"Detached","id":"bb8ab98210dc5817a7dc16d8","image":null},{"text":"Semi-detached","id":"48d45b71a2729a7e6f4dded5","image":null},{"text":"Terrace","id":"e707b6993293f52f10140b70","image":null},{"text":"End-terrace","image":null,"id":"a880c896cb14064e0195054d"},{"text":"Flat","image":null,"id":"c305c4851f8f8dd3918aa204"},{"text":"Apartment","image":null,"id":"5b61c3f59138235c74596583"}],"stepId":"ee7f82e9d18658f274fb7b9c","sortOrder":2,"margins":{"marginTop":-20},"hideLabel":true}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":true},"continueButton":{"continueText":"CHECK MY POSTCODE 👉","submitText":"REQUEST my free quotation 👉","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1116,"imageInitialWidth":1902,"imageHeight":1116,"imageWidth":1902,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1601640522/uploads/qrwuvldlke6g8njr2x6j.jpg"},"headerMarginTop":40,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#036737","bodyTextColor":"#ffffff","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":40,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":20,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#f7f7f7","buttonFontSize":20,"rt_buttonFontSize":18,"rt_buttonTextColor":"#000000","rt_buttonFont":"Inherit","rt_buttonColor":"#ffffff","rt_buttonColorSelected":"#d0dbcf","rt_buttonBorderColor":"#ffffff","rt_buttonBorderColorSelected":"#036737","rt_controlsColor":"#036737","sq_buttonFontSize":16,"sq_buttonBorderColorSelected":"#ffffff","sq_buttonBorderColor":"#ffffff","sq_controlsColor":"#fdfdfd","showShadows":"No","sq_buttonColor":"#ffffff","continueButtonColor":"#036737","continueButtonTextColor":"#ffffff","inputFontSize":20,"inputLabelFont":"Roboto","defaultFont":"Roboto"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}],"actionOnSubmit":"redirect","customCss":"","sendCustomRedirectQueryParams":true},"ownedByUser":"6492e74bac713f000bdf5a91","personalisation":{"form_related_to":"Roofers / roofing"},"created":"2025-02-07T11:07:17.394Z","__v":0,"lastEdited":"2025-03-14T14:58:35.578Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742493033/growform-production/form-screenshots/67a5e9655c80be000b805f84.png","leadsCount":1,"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 buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + '
\n' + '