/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-12-07T04:32:22.228Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "667ae9b7606b00000b61e982"; 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":"667ae9b7606b00000b61e982","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Yes/No","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"dc013500c5fa00e5bf3c9039","name":"Type of System","sortOrder":2,"copyOf":"ac0ce1d8634334328d03ff33","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_782408809089103","operator":"selected_option","criteria":"6b04250eb668f9d4d089985b"}]}]}},{"id":"ee2927fef7dd28a9b1bc7362","name":"Tell us what you need","sortOrder":3,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_782408809089103","operator":"selected_option","criteria":"92cf9db7a14ea74299c15df9"}]}]}},{"id":"60c2d61a66a74bcb70ce6e49","name":"Property Type","sortOrder":4,"copyOf":"acd45227cac332d443c4e1db"},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":5},{"id":"8d2309d21d8fe8e0bc1f81da","name":"Address","sortOrder":6}],"formName":"Journey","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"This all looks good. Can we just take a few details to send your quote across","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Email","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":"Name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Do you know exactly what you are looking for?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":28,"unit":"px"},"fontWeight":"Bold","textAlign":"Right"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5},"customCssClasses":"top_sec"},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"type of system","width":9,"hideLabel":true,"multiple":false,"options":[{"text":"Yes!","image":null,"id":"92cf9db7a14ea74299c15df9"},{"text":"No","image":null,"id":"6b04250eb668f9d4d089985b"}],"step":1,"sortOrder":3,"helperText":"Don't worry, we're here to help either way!","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"2","sq_buttonsPerRowMobile":"2","spacing":20},"stepId":"ac0ce1d8634334328d03ff33","customCssClasses":"blue_button"},"decorative_header_892646863007116":{"type":"Decorative Header","value":"OK great, what kind of property do you have?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"60c2d61a66a74bcb70ce6e49","margins":{"marginBottom":6}},"buttons_88398974892131":{"type":"Buttons","validationRules":{"required":false},"label":"Roof type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Square","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"5","sq_buttonsPerRowMobile":"2"},"options":[{"text":"Detatched","id":"8520042178329cb66678244d","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718963072/uploads/dsiy064y8nh6w6jqpobo.png"},{"text":"Semi","id":"7a1aa416126e2e2cbb386e98","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718963152/uploads/xq4e495eeni2dvd3m1sc.png"},{"text":"Terrace","id":"4538c1b5d2e2a8b4633b45a6","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718963155/uploads/nn7nokxmvthvvms6peu6.png"},{"text":"Bungalow","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718963158/uploads/y67wqtsvejjtknqfy4xr.png","id":"ae5ee411857f5a7c087aaf1e"},{"text":"Commercial","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718963160/uploads/tw4kunk23jhzxs50shek.png","id":"11cc911d357681af6d7953f2"}],"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_borderRadius":0,"size":"50%"}},"decorative_header_59270480717140":{"type":"Decorative Header","value":"OK great, lets take a look at your roof. Whats your address","width":12,"sortOrder":1,"stepId":"8d2309d21d8fe8e0bc1f81da","fieldStyle":{"fontSize":{"value":19,"unit":"px"}},"margins":{"marginBottom":5}},"address_947523623991266":{"type":"Address","label":"Address","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":2,"helperText":"We'll use this to work out how much sun the property gets"},"decorative_header_586565431040652":{"type":"Decorative Header","value":"What kind of system are you interested in?","width":12,"step":1,"sortOrder":2,"fieldStyle":{"fontSize":{"value":39,"unit":"px"},"fontWeight":"Bold","color":"#40a9ff"},"stepId":"dc013500c5fa00e5bf3c9039","margins":{"marginBottom":5}},"buttons_893465735180679":{"type":"Buttons","validationRules":{"required":true},"label":"type of system","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Solar Panels","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718956007/uploads/rfcb70wscljes0u9ejty.png","id":"92cf9db7a14ea74299c15df9"},{"text":"Solar & Battery","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718956013/uploads/kjijj6xdjifqftq0gv45.png","id":"6b04250eb668f9d4d089985b"},{"text":"Battery Storage","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718956015/uploads/uok0lzo7z1nfoqefd39l.png","id":"80ccc04ec41a874eb49279d8"},{"text":"Not Sure","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1718956017/uploads/ilj29luwgpnewp3xufdh.png","id":"fef0de0f9d49e48aa61d63d6"}],"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":"4","sq_buttonsPerRowMobile":"2","spacing":20},"stepId":"dc013500c5fa00e5bf3c9039"},"decorative_image_466648820341437":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719336985/uploads/cyvpx96tnmg3ozofpilx.png","width":6,"imageWidth":500,"imageHeight":500,"imageInitialHeight":1080,"imageInitialWidth":1080,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":2},"decorative_header_456877816651208":{"type":"Decorative Header","value":"That's fine! We're here to help you find the perfect system for your home","width":12,"stepId":"dc013500c5fa00e5bf3c9039","sortOrder":1,"fieldStyle":{"fontSize":{"value":39,"unit":"px"},"textDecoration":"None","fontWeight":"Normal"}},"decorative_header_570868903899603":{"type":"Decorative Header","value":"OK perfect! Let us know what you are looking for and we'll find the best possible price for you...","width":12,"sortOrder":1,"stepId":"ee2927fef7dd28a9b1bc7362"},"text_147888560765954":{"type":"Text","label":"Give us as much information as you can about your requirements","width":12,"sortOrder":2,"stepId":"ee2927fef7dd28a9b1bc7362","multiline":true,"rows":4,"rowsMax":6,"validationRules":{"required":true},"hideLabel":false}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"Get savings","backText":"Back"},"customStyles":{"width":{"unit":"px","value":1380},"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":"#40a9ff","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":"Mulish","sq_buttonFont":"Poppins","sq_buttonFontSize":28,"showShadows":"Yes","sq_buttonTextColor":"#000000","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":"Poppins","inputFontSize":15,"continueSubmitButtonFontSize":14,"inputBackgroundColor":"#ffffff","continueButtonColor":"#40a9ff","radioButtonAndCheckboxColor":"#40a9ff"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://lr-renewables.co.uk/thanks/"}],"actionOnSubmit":"redirect","captureSystemDetails":true,"analyticsSettings":{"facebook":{"pixelId":"1517428828735401"}},"customCss":".sc-breuTD.dVDbgO.btn.buttons_782408809089103_btn_1.buttons_782408809089103_btn_yes\\!{background-color:#40A9FF!important}\n.blue_button{\n/*background-color:#40A9FF!important*/\n margin-top:0px;\n flex-grow: 0;\n max-width: 33.333333%;\n flex-basis: 33.333333%;\n margin-top: 270px;\n}\n\n.blue_button .diFRPM, .blue_button .btn {\n\n overflow: hidden;\n display: flex;\n position: relative;\n -webkit-box-align: center;\n align-items: center;\n cursor: pointer;\n /* box-shadow: rgba(216, 216, 216, 0.5) 2px 2px 12px 2px; */\n z-index: 1;\n background-color: #40A9FF;\n margin-bottom: 20px;\n border-radius: 30px;\n border: 1px solid rgb(218, 218, 218);\n padding: 0px;\n box-sizing: border-box;\n -webkit-box-flex: 0;\n flex-grow: 0;\n height: 100px !important;\n}\n\n.blue_button .jss212, .blue_button p {\n font-size: 20px;\n text-align: left; \ncolor: #999999;\nfont-weight:600;\n}\n\n.blue_button span{\n color: #fff;\n}\n\n.top_sec p {\n width: 440px;\n text-align: left;\n float: left;\n font-size: 44px;\n position: absolute;\n left: 51%;\n top: 16%;\n}\n\n\n\n\n@media only screen and (max-width: 768px) {\n\n.top_sec p {\n width: 100%;\n text-align: inherit;\n float: inherit;\n font-size: inherit;\n position: inherit;\n left: auto;\n top: auto;\n}\n\n.blue_button {\n /* background-color: #40A9FF !important; */\n margin-top: 0;\n flex-grow: 0;\n max-width: 100%;\n flex-basis: 100%;\n margin-top: 0px;\n}\n\n.blue_button .jss212, .blue_button p {\n font-size: 16px;\n text-align: left; \n}\n\n}"},"ownedByUser":"6672faf64ad87c000bd761c6","personalisation":{"form_related_to":"Solar"},"created":"2024-06-25T16:00:55.541Z","__v":0,"lastEdited":"2024-07-22T16:46:19.433Z","leadsCount":176,"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742512976/growform-production/form-screenshots/667ae9b7606b00000b61e982.png","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' + '