/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2026-01-02T12:37:17.779Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "684d90a0bd68c4000c8f5e62"; 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":"684d90a0bd68c4000c8f5e62","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Grant Eligibility","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"95da2f52d150d83c350c3ed3","name":"Bi-Monthly Electric Bill","sortOrder":2},{"id":"ffdacc0c87687c098c7f590b","name":"Where did you hear about us?","sortOrder":3},{"id":"d47e7c197550b64f769b298c","name":"What's your Eircode","sortOrder":4,"copyOf":"ff4727c9498ef9c0a6c989d9"},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":5}],"isActive":true,"formName":"Lead Gen 1","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thanks for your enquiry!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Where shall we send your free solar quote?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"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":3,"stepId":"ff4727c9498ef9c0a6c989d9"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9","defaultCountryFormat":"ie"},"text_373461752242760":{"type":"Text","label":"Your name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with more information about your solar savings.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Was your house built before January 1st, 2021?","width":12,"step":1,"sortOrder":4,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":false},"label":"Sun intensity","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Before 2021","image":null,"id":"c1c0eb92d655d497aec9e745"},{"text":"After 2021","image":null,"id":"e90e3474ba5af50f865034bf"}],"step":1,"sortOrder":5,"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"},"stepId":"ac0ce1d8634334328d03ff33"},"single_select_803020066050836":{"type":"Single Select","width":12,"label":"In what county are you based?","options":[{"text":"Carlow ","id":"590edf5c20bb70385518ecf0"},{"text":"Dublin","image":null,"id":"8bcf28931703a6cde6a4a143"},{"text":"Kildare","id":"85f2ba5d96b11912672ef721"},{"text":"Kilkenny","image":null,"id":"c58d4fbb684b9da0db9f2ce3"},{"text":"Laois","image":null,"id":"8b64f1ba0829b67a15095e89"},{"text":"Meath","image":null,"id":"1edb9da117d1ffc58d9bb3e9"},{"text":"Offaly","image":null,"id":"e7256bd086f9a718d406bdbf"},{"text":"Waterford","id":"ed7fb5dedf8c513a46f3b226"},{"text":"Wexford","image":null,"id":"0f2037ffd2f0c276a2ebb61e"},{"text":"Wicklow","image":null,"id":"79b7a47f89ec99e7909c26c5"},{"text":"Other","image":null,"id":"d6795174325907847fb6c805"}],"helperText":null,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":5,"validationRules":{"required":true}},"decorative_header_483624920618112":{"type":"Decorative Header","value":"How much do you spend on your bi-monthly electricity bill?","width":12,"stepId":"95da2f52d150d83c350c3ed3","sortOrder":1},"buttons_33883065358054":{"type":"Buttons","validationRules":{"required":false},"label":"Where did you hear about us?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Square","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"Google","id":"c0050e32e4ec740cd3dd4cb8"},{"text":"Referral","id":"29e7a19696ab3ade38dfb84a"},{"text":"Facebook Content","id":"0f2f3b666787b89b33f34441"},{"text":"Facebook Groups","id":"c826e18c8e590df2b19bd2d1"},{"text":"Instagram","image":null,"id":"b052f81043cfb1da48ba4e7e"},{"text":"Other","image":null,"id":"625b9712b16e65e2b9e04fcd"}],"stepId":"ffdacc0c87687c098c7f590b","sortOrder":3,"hideLabel":true},"decorative_header_255419869587280":{"type":"Decorative Header","value":"Where did you hear about us?","width":12,"stepId":"ffdacc0c87687c098c7f590b","sortOrder":1},"hidden_81792501251010":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":6},"hidden_933770008505346":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":7},"decorative_header_537046066819916":{"type":"Decorative Header","value":"Get your Free Quote in Seconds!","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"}}},"decorative_paragraph_631745734827453":{"type":"Decorative Paragraph","value":"Just answer a few short questions and we'll send you an email and WhatsApp message. ","width":"stretch","stepId":"ac0ce1d8634334328d03ff33","sortOrder":2},"decorative_divider_621179019444823":{"type":"Decorative Divider","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":3},"buttons_812155140258762":{"type":"Buttons","validationRules":{"required":false},"label":"","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"4","rt_buttonsPerRowMobile":1,"buttonsType":"Square","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"4"},"imageStyles":{},"options":[{"text":"<€200","id":"789a99ee428a7c14ffb93512"},{"text":"<€300","id":"5bdd967c64077d94dc87564f"},{"text":"<€400","id":"6814331ae8a138933d7cd8ca"},{"text":"€400+","id":"961f6d33afa82fd7f09d7ffa"}],"stepId":"95da2f52d150d83c350c3ed3","sortOrder":3},"decorative_header_448239113144413":{"type":"Decorative Header","value":"What is your Eircode?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"d47e7c197550b64f769b298c","margins":{"marginBottom":5}},"text_207212253974959":{"type":"Text","label":"e.g. A65F4E2","width":12,"stepId":"d47e7c197550b64f769b298c","sortOrder":2,"validationRules":{"required":true}},"decorative_text_751841998321874":{"type":"Decorative Text","value":"
Only 3 more questions to go!
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"stepId":"95da2f52d150d83c350c3ed3","sortOrder":2},"decorative_text_733764800444213":{"type":"Decorative Text","value":"Only 2 more questions to go!
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"stepId":"ffdacc0c87687c098c7f590b","sortOrder":2}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"Get savings","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":"#ffbc4d","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":"Nunito Sans","sq_buttonFont":"Nunito Sans","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":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Nunito","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#FFF0EB","canvasSetup":"minimal","continueSubmitButtonFont":"Nunito Sans"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}],"logo":{"value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1731407502/uploads/i3op1pqaic6lbaiifci8.webp","linkUrl":"https://www.example.com","imageWidth":60,"imageHeight":18,"imageInitialWidth":1160,"imageInitialHeight":348},"analyticsSettings":{"google_analytics":{"trackingId":"Darren@gridsolar.ie"},"facebook":{"pixelId":"1317351186001255"}}},"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1752245362/growform-production/form-screenshots/684d90a0bd68c4000c8f5e62.png","ownedByUser":"684d9080bd68c4000c8f5e27","personalisation":{"form_related_to":"Solar"},"created":"2025-06-14T15:09:20.668Z","__v":0,"leadsCount":54,"lastEdited":"2025-07-22T17:22:19.181Z"},"accountIsActive":false,"accountIsFreeTrial":true}}; // ---- 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' + '