/* growform client2 bundle.url: https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js resolve.source: kv resolve.at: 2025-11-06T03:56:47.343Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67c59600550dea000c060ca1"; var FORM_BUNDLE_URL = "https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"67c59600550dea000c060ca1","steps":[{"id":"611321162537abb69df0781c","name":"Do you own your home?","sortOrder":1,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"c63812fef52fa167a4abb428","name":"What type of roof do you have?","sortOrder":2},{"id":"acd45227cac332d443c4e1db","name":"Electricity spend","sortOrder":3},{"id":"fbcab54a8929f2cc60a80cf6","name":"Credit Score","sortOrder":4},{"id":"94e3381886922d25e778db93","name":"Where is your home located?","sortOrder":5},{"id":"8860a538c6054748b28cd5bc","name":"What's your best email address?","sortOrder":6,"copyOf":"ff4727c9498ef9c0a6c989d9"},{"id":"75e4c3e4a9d40809c0e0cf53","name":"What's your name?","sortOrder":7,"copyOf":"8860a538c6054748b28cd5bc"},{"id":"799c31230f295f0eb93a6cb8","name":"What's your best phone number?","sortOrder":8,"copyOf":"8860a538c6054748b28cd5bc"}],"formName":"250303 – Solar Sam Lead Form (Client Facing)","fields":{"buttons_274349972234330":{"type":"Buttons","validationRules":{"required":true},"label":"homeowner","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Home","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1738184325/uploads/upoyfuwprfh5vpanadkc.png","id":"d130b14895623f2b983bf74d"},{"text":"Apartment","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1738184331/uploads/pvew4vwp0cj6cavmkkmz.png","id":"e90e3474ba5af50f865034bf"}],"step":1,"sortOrder":3,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","showControls":"Yes","rt_compactLayoutOnMobile":"No"},"stepId":"611321162537abb69df0781c"},"decorative_header_403816341561329":{"type":"Decorative Header","value":"Do you own a home or an apartment?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"611321162537abb69df0781c","margins":{"marginBottom":5},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_81940080785108":{"type":"Decorative Paragraph","value":"Knowing this helps us see if solar is right for your home\n\n\n\n\n\n\n","width":12,"stepId":"611321162537abb69df0781c","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"customCssClasses":"para-target"},"buttons_253102976858172":{"type":"Buttons","validationRules":{"required":true},"label":"electricity_spend","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Below $50","image":null,"id":"f6c1c7f13012c45ae59779bb"},{"text":"$51-£75","image":null,"id":"fa9f6355b7e956bc4b682f84"},{"text":"$76-£100","image":null,"id":"f9b5c21290d6782ba2999431"},{"text":"$101-£150","image":null,"id":"7a869edb15b6c996941b5b04"},{"text":"$151-£200","image":null,"id":"78492786034be5dd6f8793ba"},{"text":"$201-£300","image":null,"id":"0618583361139bcf1c6e5254"},{"text":"$301-£400","image":null,"id":"e90e3474ba5af50f865034bf"},{"text":"$400+","image":null,"id":"d130b14895623f2b983bf74d"}],"step":1,"sortOrder":3,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"stepId":"acd45227cac332d443c4e1db","location":null},"decorative_header_850962770949176":{"type":"Decorative Header","value":"How much are your monthly electricity bills?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"acd45227cac332d443c4e1db","margins":{"marginBottom":5},"location":null,"customCssClasses":"header-target"},"decorative_header_449389057076619":{"type":"Decorative Header","value":"What address would you like a solar quote for?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"94e3381886922d25e778db93","margins":{"marginBottom":null},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_243454885666856":{"type":"Decorative Paragraph","value":"We'll check satellite images to see if your roof is a good match for solar panels in your area","width":12,"stepId":"94e3381886922d25e778db93","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"email_460257228854616":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"stepId":"8860a538c6054748b28cd5bc"},"decorative_header_783420474984241":{"type":"Decorative Header","value":"What email should we send your quote to?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"8860a538c6054748b28cd5bc","margins":{"marginBottom":0},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_693868525815545":{"type":"Decorative Paragraph","value":"We'll share your results here and send you an email for safe keeping","width":12,"stepId":"8860a538c6054748b28cd5bc","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"phone_502007099303306":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"helperText":"","stepId":"799c31230f295f0eb93a6cb8","defaultCountryFormat":"us","showCountryCode":false},"hidden_251699452304681":{"type":"Hidden","hiddenFieldName":"postcode","width":12,"stepId":"799c31230f295f0eb93a6cb8","sortOrder":4},"decorative_header_477467769735915":{"type":"Decorative Header","value":"What's the best number to reach you on?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"799c31230f295f0eb93a6cb8","margins":{"marginBottom":0},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_435007851995645":{"type":"Decorative Paragraph","value":"Your local recommended installer will give you a call to discuss your quote and better understand your energy needs.","width":12,"stepId":"799c31230f295f0eb93a6cb8","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"address_832360954939466":{"type":"Address","label":"Enter your address","width":12,"stepId":"94e3381886922d25e778db93","sortOrder":3,"validationRules":{"required":true}},"decorative_paragraph_404816830971832":{"type":"Decorative Paragraph","value":"⏱️ It only takes 60 seconds.","width":12,"stepId":"611321162537abb69df0781c","sortOrder":4,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null},"decorative_paragraph_667295541437320":{"type":"Decorative Paragraph","value":"⏱️ 40 seconds left.","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":4,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null},"decorative_paragraph_345967468658465":{"type":"Decorative Paragraph","value":"⏱️ 20 seconds left.","width":12,"stepId":"94e3381886922d25e778db93","sortOrder":1,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":"footer"},"decorative_paragraph_307614057546106":{"type":"Decorative Paragraph","value":"⏱️ 15 seconds left.","width":12,"stepId":"8860a538c6054748b28cd5bc","sortOrder":1,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":"footer"},"decorative_paragraph_700229692275928":{"type":"Decorative Paragraph","value":"⏱️ Last Step!","width":12,"stepId":"799c31230f295f0eb93a6cb8","sortOrder":1,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":"footer"},"decorative_paragraph_466699814646472":{"type":"Decorative Paragraph","value":"If you're unsure, provide your best estimate.","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"decorative_header_30038970969166":{"type":"Decorative Header","value":"What is your name?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"75e4c3e4a9d40809c0e0cf53","margins":{"marginBottom":0},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_620205277184250":{"type":"Decorative Paragraph","value":"Enter your name so we can personalise your solar quote","width":12,"stepId":"75e4c3e4a9d40809c0e0cf53","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"decorative_paragraph_934537823510160":{"type":"Decorative Paragraph","value":"⏱️ 10 seconds left.","width":12,"stepId":"75e4c3e4a9d40809c0e0cf53","sortOrder":1,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":"footer"},"name_496205933429226":{"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":"75e4c3e4a9d40809c0e0cf53","sortOrder":3},"decorative_header_16196519563904":{"type":"Decorative Header","value":"What type of roof do you have?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"c63812fef52fa167a4abb428","margins":{"marginBottom":5},"location":null,"customCssClasses":"header-target"},"decorative_paragraph_112350585749588":{"type":"Decorative Paragraph","value":"Knowing this helps us see if solar is right for your home\n\n\n\n\n\n\n","width":12,"stepId":"c63812fef52fa167a4abb428","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"customCssClasses":"para-target","location":null},"buttons_200097241472174":{"type":"Buttons","validationRules":{"required":true},"label":"homeowner","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Gable Roof (Triangle)","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741008563/uploads/hh8iz8nhjhx6jpwjxxl5.webp","id":"d130b14895623f2b983bf74d"},{"text":"Hip Roof (Sloped)","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741008566/uploads/wb4e10vmdrr95ihju2au.webp","id":"e90e3474ba5af50f865034bf"},{"text":"Flat Roof","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741008569/uploads/ijcl2azlruvqygejdkyo.webp","id":"c020ac04d793616af5c6db03"},{"text":"Other","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741008145/uploads/suuqe3pvun0wvnhuv4bg.webp","id":"42030d94329c5b1e3f6bd88a"}],"step":1,"sortOrder":3,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","showControls":"Yes","rt_compactLayoutOnMobile":"No","spacing":20},"stepId":"c63812fef52fa167a4abb428","location":null},"decorative_header_113148492667001":{"type":"Decorative Header","value":"What’s your credit score?","width":"stretch","step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":45,"unit":"px"},"fontWeight":"Bold","color":"#1d253c","fontFamily":"Urbanist","textAlign":"center"},"stepId":"fbcab54a8929f2cc60a80cf6","margins":{"marginBottom":5},"location":null,"customCssClasses":"header-target"},"buttons_63127299116423":{"type":"Buttons","validationRules":{"required":true},"label":"electricity_spend","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Excellent (720+)","image":null,"id":"f6c1c7f13012c45ae59779bb"},{"text":"Good (680-719)","image":null,"id":"fa9f6355b7e956bc4b682f84"},{"text":"Fair (620-679)","image":null,"id":"f9b5c21290d6782ba2999431"},{"text":"Poor (Below 620)","image":null,"id":"7a869edb15b6c996941b5b04"}],"step":1,"sortOrder":3,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","showControls":"Yes","rt_compactLayoutOnMobile":"Yes","rt_buttonsPerRow":"1","spacing":10},"stepId":"fbcab54a8929f2cc60a80cf6","location":null},"decorative_paragraph_236016516424358":{"type":"Decorative Paragraph","value":"If you're unsure, provide your best estimate.","width":12,"stepId":"fbcab54a8929f2cc60a80cf6","sortOrder":2,"margins":{"marginTop":-15},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":16,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null,"customCssClasses":"para-target"},"decorative_paragraph_784543440235295":{"type":"Decorative Paragraph","value":"⏱️ 50 seconds left.","width":12,"stepId":"c63812fef52fa167a4abb428","sortOrder":4,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null},"decorative_paragraph_4282536407243":{"type":"Decorative Paragraph","value":"⏱️ 30 seconds left.","width":12,"stepId":"fbcab54a8929f2cc60a80cf6","sortOrder":4,"margins":{"marginTop":null},"fieldStyle":{"fontFamily":"Inter","fontSize":{"value":14,"unit":"px"},"textAlign":"center","color":"#5d606c"},"location":null}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"variant":"line","position":"formTop"},"continueButton":{"continueText":"Continue","submitText":"Continue","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":"#00394f","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#008148","bodyTextColor":"#5d606c","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#7f8089","defaultFont":"Inter","sq_buttonFont":"Inter","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#FFFFFF","rt_buttonFont":"Inter","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Inter","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#FFF0EB","canvasSetup":"minimal","continueButtonTextColor":"#ffffff","progressColor":"#008148"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","logo":null,"actionOnSubmit":"redirect","analyticsSettings":{"unbounce":{"enabled":true},"google_ads":{"conversionId":"16846707436","conversionLabel":"jx9HCLTC35caEOy1keE-"},"google_analytics":{"trackingId":"G-J6RXL8M2YT"}},"customCss":".fieldbg_PoweredByBanner {\ndisplay: none!important;\n}\n\n@media (max-width: 600px) {\n .header-target [style*=\"font-size\"] {\n font-size: 25px !important;\n }\n.para-target [style*=\"font-size\"] {\n font-size: 14px !important;\n }\n.fieldbg_ProgressBar {\nmargin-bottom: 0px!important;\n}\n\n\n\n","sendCustomRedirectQueryParams":true,"customRedirectUrls":[{"url":"https://solarsam.energy/thank-you/"}]},"ownedByUser":"6799189e6abc01000b21f364","personalisation":{"form_related_to":"Solar"},"created":"2025-03-03T11:44:00.712Z","__v":0,"lastEdited":"2025-03-03T14:02:59.942Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742556009/growform-production/form-screenshots/67c59600550dea000c060ca1.png","leadsCount":11,"folderId":"67e27889878653000c68e30b","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' + '