/* growform client2 bundle.url: https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js resolve.source: kv resolve.at: 2025-10-12T08:12:30.258Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67dc595e47cae5000b61e983"; var FORM_BUNDLE_URL = "https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"67dc595e47cae5000b61e983","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Amount of sun","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"60c2d61a66a74bcb70ce6e49","name":"Type of roof","sortOrder":2,"copyOf":"acd45227cac332d443c4e1db"},{"id":"acd45227cac332d443c4e1db","name":"Electricity spend","sortOrder":3},{"id":"8d2309d21d8fe8e0bc1f81da","name":"Address","sortOrder":4},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":5}],"formName":"A2P Form","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_797442086161467":{"type":"Decorative Header","value":"How much is your average monthly electricity bill?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"acd45227cac332d443c4e1db","margins":{"marginBottom":5}},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Where shall we send your free solar savings report?","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"},"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":"How much sun does your roof typically get?","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":"Full sun","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066086/uploads/xsbucwxesbkouce2fz7l.png","id":"c1c0eb92d655d497aec9e745"},{"text":"Partial sun","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066089/uploads/tizoesah5gjqei74ssdf.png","id":"d130b14895623f2b983bf74d"},{"text":"Mostly shade","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066152/uploads/zgeznq5tfg1ixwzqgkyh.png","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"},"buttons_485431231808561":{"type":"Buttons","validationRules":{"required":false},"label":"Electricity bill","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Less than $50","id":"2cdefc87471755658c435e92"},{"text":"$50 - $100","image":null,"id":"e49e15130103bf32d69ea538"},{"text":"$100 - $200","id":"5973106061585bb7e9d450e6"},{"text":"$200 - $300","id":"1270a9a6bcad06134cddebde"},{"text":"More than $300","image":null,"id":"9bd999e5fcae07c912ad6bb3"},{"text":"Not sure","image":null,"id":"e89ea177e5af36b55a8cbf32"}],"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"hideLabel":true},"decorative_header_892646863007116":{"type":"Decorative Header","value":"What type of roof 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":"3"},"options":[{"text":"Flat roof","id":"50783461af0421382fa5c976","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066640/uploads/d1gx37syjvpyj1xs8asb.png"},{"text":"Low/mid slope","id":"be40f39880ade9965ecc4f78","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066740/uploads/u2ayzu8ptyvdl2zedhja.png"},{"text":"Steep slope","id":"77a23f5bbfc85ce2d2ab4878","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1689066823/uploads/xlvgkwawxlram0phefst.png"}],"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_borderRadius":0,"size":"50%"}},"decorative_header_59270480717140":{"type":"Decorative Header","value":"What is the property's 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_344121239265524":{"type":"Decorative Header","value":"Get your FREE solar savings report","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":24,"unit":"px"},"fontWeight":"Bold","color":"#ff6b32"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5},"location":null},"decorative_divider_245307652246656":{"type":"Decorative Divider","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":3,"margins":{"marginTop":-5,"marginBottom":0}},"decorative_paragraph_369606149271260":{"type":"Decorative Paragraph","value":"We've saved our customers $10,000's - find out how much you could save today!","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":2,"margins":{"marginTop":-15}},"checkboxes_159680044470511":{"type":"Checkboxes","label":"","width":"12","options":[{"text":"By clicking \"GET SAVINGS\" you authorize NJ Solar Club to call you (including through automated means; e.g. autodialing, text and pre-recorded messaging) via telephone, mobile device (including SMS and MMS) and/or email, at the number you entered above, with offers about their products or services, even if your phone number is on any national or state \"Do Not Call\" list and you agree to our Terms of Use and Privacy Policy. Message and data rates may apply. Your consent here is not based on a condition of purchase.","id":"89c0f05f1582242dceb9fd7b"}],"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":5,"validationRules":{"required":true},"helperText":""}},"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":"Mulish","sq_buttonFont":"Poppins","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":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#ffffff","canvasSetup":"full"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}],"logo":null,"footer":null},"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742550495/growform-production/form-screenshots/67dc595e47cae5000b61e983.png","ownedByUser":"67dc594c47cae5000b61e953","personalisation":{"form_related_to":"Solar"},"created":"2025-03-20T18:07:26.671Z","__v":0,"lastEdited":"2025-03-20T18:39:27.036Z","leadsCount":1,"isActive":true},"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' + '