/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-21T14:16:14.847Z form.source: kv cache.age_ms: 7372 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "66c097d8ed322d000b5bf73a"; 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":"66c097d8ed322d000b5bf73a","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Type of Loft Conversion","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"acd45227cac332d443c4e1db","name":"Type of Property","sortOrder":2},{"id":"60c2d61a66a74bcb70ce6e49","name":"More Details About Project","sortOrder":3,"copyOf":"acd45227cac332d443c4e1db"},{"id":"12d5ab9cdd849e9f9c2f69bc","name":"Postcode","sortOrder":4,"copyOf":"ff4727c9498ef9c0a6c989d9"},{"id":"119db0c1febed48231b77b82","name":"Loading Screen","sortOrder":5},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":6}],"formName":"MOET Construction - Loft Conversions","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thank you for requesting a quote for your project!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_797442086161467":{"type":"Decorative Header","value":"What type of property do you have?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"acd45227cac332d443c4e1db"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"We have prepared a quote for your project... where should we send them?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"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"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"Our team will be in contact with you shortly with more information regarding pricing for your project and arranging a free estimate. ","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"What type of loft conversion are you interested in? ","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"Loft Conversion Type","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Dormer Loft Conversion","image":null,"id":"cc9a09c035f83be96bb2e361"},{"text":"Hip-to-Gable Loft Conversion","image":null,"id":"92cf9db7a14ea74299c15df9"},{"text":"Mansard Loft Conversion","image":null,"id":"6b04250eb668f9d4d089985b"},{"text":"Velux/Skylight Loft Conversion","image":null,"id":"80ccc04ec41a874eb49279d8"},{"text":"Unsure","image":null,"id":"d53256a8d197ed6d879696d9"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2"},"stepId":"ac0ce1d8634334328d03ff33"},"buttons_485431231808561":{"type":"Buttons","validationRules":{"required":true},"label":"Materials used","width":12,"multiple":true,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Detached","id":"7a1aa416126e2e2cbb386e98","image":null},{"text":"Semi-Detached","id":"8520042178329cb66678244d","image":null},{"text":"Terraced","image":null,"id":"918eb034fae49c31d44a15ec"},{"text":"Bungalow","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"Flat Roofed","image":null,"id":"d108ea5c5a147ade8d64d392"},{"text":"Other","image":null,"id":"c57e82084740f9f039565dc7"}],"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":32}},"decorative_header_892646863007116":{"type":"Decorative Header","value":"Please explain your project briefly","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"60c2d61a66a74bcb70ce6e49"},"decorative_header_151104740029695":{"type":"Decorative Header","value":"Where is the property located?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"12d5ab9cdd849e9f9c2f69bc"},"zipcode_24903490695465":{"type":"Zipcode","label":"Postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"12d5ab9cdd849e9f9c2f69bc","sortOrder":2},"decorative_loading animation_664696718769391":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Dots","size":30,"redirectAfter":"2s"},"width":12,"stepId":"119db0c1febed48231b77b82","sortOrder":1},"decorative_header_802341432710870":{"type":"Decorative Header","value":"Evaluating your requirements...","width":12,"stepId":"119db0c1febed48231b77b82","sortOrder":2,"fieldStyle":{"fontWeight":"Bold"}},"decorative_paragraph_367644456531835":{"type":"Decorative Paragraph","value":"Just a moment","width":12,"stepId":"119db0c1febed48231b77b82","sortOrder":3},"text_626256847738331":{"type":"Text","label":"Any details about your project that we should know","width":12,"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":2,"multiline":true,"rows":2,"rowsMax":6}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"Get estimate","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":"#001f4b","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":"Merriweather","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":"Inherit","rt_buttonFontSize":14,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#000000","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"rt_controlsColor":"primary"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://lofts.moetconstruction.co.uk/thank-you"}],"actionOnSubmit":"redirect"},"ownedByUser":"66a01e87790f9c000b349ce4","personalisation":{"form_related_to":"Builders / Construction"},"created":"2024-08-17T12:30:16.762Z","__v":0,"lastEdited":"2024-08-26T10:18:31.083Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742553295/growform-production/form-screenshots/66c097d8ed322d000b5bf73a.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' + '