/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-11-25T11:05:56.466Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "663d4de98ae10e000bb86e16"; 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":"663d4de98ae10e000bb86e16","steps":[{"id":"0fc2fb4e6e625cc1065d6218","name":"Type of Project","sortOrder":1},{"id":"ac0ce1d8634334328d03ff33","name":"Type of problem? ","sortOrder":2,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":3}],"formName":"VMHCS","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"You Qualify! ","width":12,"step":"complete","sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"How shall we get in touch about your system?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"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"},"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 free cost calculation!","width":12,"step":"complete","sortOrder":3,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Type of Problem? System Isn't...","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":10}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"Current boiler fuel","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Heating","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715315646/uploads/cym2u5vxbg3jcmjevviy.png","id":"cc9a09c035f83be96bb2e361"},{"text":"Cooling","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715315621/uploads/jnbneedsuijdhw9npctl.png","id":"92cf9db7a14ea74299c15df9"}],"step":1,"sortOrder":2,"helperText":"","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"},"stepId":"ac0ce1d8634334328d03ff33"},"decorative_image_60106150774180":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715645243/uploads/yzws40nqj2rwz4fsaoaz.png","width":12,"imageWidth":200,"imageHeight":100,"imageInitialHeight":350,"imageInitialWidth":700,"stepId":"complete","sortOrder":1,"margins":{"marginLeft":0,"marginBottom":-30}},"decorative_header_291174026449879":{"type":"Decorative Header","value":"Type of project?","width":12,"sortOrder":2,"stepId":"0fc2fb4e6e625cc1065d6218"},"buttons_683771233197054":{"type":"Buttons","validationRules":{"required":false},"label":"","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"2","buttonsType":"Square","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"2"},"imageStyles":{"size":"25%"},"options":[{"text":"Repair / Diagnostic","id":"f08bd1195f31aa1017858cd1","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1722579165/uploads/aofnohydhupfmaallkee.png"},{"text":"Replacement / Installation","id":"ddc130817d9ff637461ede6a","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1722405707/uploads/klyobjedhht8zybfpfnr.png"}],"stepId":"0fc2fb4e6e625cc1065d6218","sortOrder":3},"decorative_header_798984006967641":{"type":"Decorative Header","value":"Want a free estimate? Fill out this form!","width":12,"stepId":"0fc2fb4e6e625cc1065d6218","sortOrder":1,"fieldStyle":{"fontSize":{"value":24,"unit":"px"}}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"Get Pricing","backText":"Back"},"customStyles":{"width":{"unit":"px","value":520},"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":15,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#f25a2a","bodyTextColor":"#ffffff","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":15,"errorColor":"#f25a2a","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","defaultFont":"Comfortaa","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#000000","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#000000","sq_buttonBorderColorSelected":"#f25a2a","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":20,"sq_controlsColor":"#f25a2a"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://vmheatingandcooling.com/thanks"}],"customCss":".btn {\n box-shadow: rgba(0, 0, 0, 0.6) 3px 3px 1.0em 3px; /* Black shadow with a blur radius of 1.6 */\n}\n\n.btn:hover {\n box-shadow: rgba(0, 0, 0, 0.6) -3px -3px 1.0em 3px; /* Black shadow with a blur radius of 1.6 */\n}\n","actionOnSubmit":"redirect"},"ownedByUser":"663d4dc38ae10e000bb86deb","personalisation":{"form_related_to":"Boiler fitting"},"created":"2024-05-09T22:27:53.940Z","__v":0,"lastEdited":"2024-08-18T01:55:16.303Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742558324/growform-production/form-screenshots/663d4de98ae10e000bb86e16.png","leadsCount":23,"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' + '