/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-12-27T06:22:51.522Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "664db02bd7310f000bd2df6c"; 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":"664db02bd7310f000bd2df6c","steps":[{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact Details","sortOrder":1,"conditionalLogic":null},{"id":"0dc0eb3e681695c3b6e09d0b","name":"Homeowner status","sortOrder":2,"copyOf":"ff4727c9498ef9c0a6c989d9","conditionalLogic":null},{"id":"c9ef41d3a0028074e7255c17","name":"Timeline","sortOrder":3,"copyOf":"0dc0eb3e681695c3b6e09d0b","conditionalLogic":null},{"id":"3c6456af65e7179a7bf1f1ea","name":"Electricity Bill","sortOrder":4,"copyOf":"c9ef41d3a0028074e7255c17","conditionalLogic":null}],"formName":"Egensys","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Register your interest in solar ☀️\n\nOnce completed, you'll be asked to confirm a time for us to get in touch 👇🏻","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9"},"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","defaultCountryFormat":"gb"},"text_373461752242760":{"type":"Text","label":"Your name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9"},"address_191213001878829":{"type":"Address","label":"First Line of Address","width":6,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":5,"validationRules":{"required":true},"margins":{"marginBottom":0}},"zipcode_706112406069660":{"type":"Zipcode","label":"Postcode","zipcodeFieldFormat":"postcode_uk","width":6,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":6},"decorative_header_838896812846915":{"type":"Decorative Header","value":"Register your interest in solar ☀️\n\nOnce completed, you'll be asked to confirm a time for us to get in touch 👇🏻","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontWeight":"Bold"},"stepId":"0dc0eb3e681695c3b6e09d0b"},"buttons_38939986252776":{"type":"Buttons","validationRules":{"required":false},"label":"Do you own your own home?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"YES","id":"16d3c2426aa6ee2964f2b37d"},{"text":"NO","id":"89fdda3bc7648f0be54a0197"}],"stepId":"0dc0eb3e681695c3b6e09d0b","sortOrder":2},"decorative_header_506623212644066":{"type":"Decorative Header","value":"Register your interest in solar ☀️\n\nOnce completed, you'll be asked to confirm a time for us to get in touch 👇🏻","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontWeight":"Bold"},"stepId":"c9ef41d3a0028074e7255c17"},"buttons_769759333593956":{"type":"Buttons","validationRules":{"required":false},"label":"Timeline for installation","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"IMMEDIATELY","id":"16d3c2426aa6ee2964f2b37d"},{"text":"1-3 MONTHS","id":"89fdda3bc7648f0be54a0197"},{"text":"3-6 MONTHS","image":null,"id":"887da1d8fc94a053ccff2882"},{"text":"NOT SURE","image":null,"id":"fee4e87c58034bfa9c6f6b34"}],"stepId":"c9ef41d3a0028074e7255c17","sortOrder":2},"decorative_header_829246910486268":{"type":"Decorative Header","value":"Register your interest in solar ☀️\n\nOnce completed, you'll be asked to confirm a time for us to get in touch 👇🏻","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontWeight":"Bold"},"stepId":"3c6456af65e7179a7bf1f1ea"},"buttons_428574850665652":{"type":"Buttons","validationRules":{"required":false},"label":"How much do you spend on your electricity bill per month?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"£0-50","id":"16d3c2426aa6ee2964f2b37d"},{"text":"£50-100","id":"89fdda3bc7648f0be54a0197"},{"text":"£100-150","image":null,"id":"887da1d8fc94a053ccff2882"},{"text":"£150+","image":null,"id":"fee4e87c58034bfa9c6f6b34"}],"stepId":"3c6456af65e7179a7bf1f1ea","sortOrder":2}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next Question","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":40,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#8eb11e","bodyTextColor":"#343434","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Comfortaa","sq_buttonFont":"Poppins","sq_buttonFontSize":13,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#ffffff","rt_buttonFont":"Poppins","rt_buttonFontSize":13,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://egensys.blc-promotions.com/qualify","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"text_373461752242760","operator":"is_filled","criteria":""}]}]}},{"url":"https://egensys.blc-promotions.com/unqualify","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"text_373461752242760","operator":"is_blank","criteria":""}]}]}}],"actionOnSubmit":"redirect"},"ownedByUser":"6585df07689687000b8fc959","personalisation":{"form_related_to":"Boiler fitting"},"created":"2024-05-22T08:43:23.674Z","__v":0,"lastEdited":"2024-07-13T12:12:40.677Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742513052/growform-production/form-screenshots/664db02bd7310f000bd2df6c.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' + '