/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-06T04:08:53.183Z form.source: api cache.age_ms: 8771 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67ec1ed021667f000b26a299"; 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":"67ec1ed021667f000b26a299","steps":[{"id":"ec05bdeb16dba521497bb5ee","name":"Postcode","sortOrder":1,"copyOf":"03a5a3ffff70c314dea644be"},{"id":"9c193903e761902d95cd93c5","name":"Loading animation","sortOrder":2},{"id":"e579a24de17a18ac3e426770","name":"Conservatory type","sortOrder":3},{"id":"ee97cf72ab3b8230c2ba1b49","name":"Dimensions","sortOrder":4,"copyOf":"e579a24de17a18ac3e426770"},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":5}],"formName":"Totalglaze - Conservatory Form","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Your Roofing Quote Is On The Way!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_576559560634956":{"type":"Decorative Header","value":"4. Please enter your contact details below...","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"Left"},"stepId":"03a5a3ffff70c314dea644be","margins":{"marginLeft":0}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"stepId":"03a5a3ffff70c314dea644be","useDatasoap2":true},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":5,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb","useDatasoap2":true,"showCountryCode":false},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with your free home appraisal.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"buttons_588115530072533":{"type":"Buttons","validationRules":{"required":true},"label":"Conservatory type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","buttonsPerRow":"2","height":100},"options":[{"text":"Lean-to","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352260/uploads/dnwv55s3tklpbef9twbj.png","id":"f2edffdd030e69af38d97f07"},{"text":"Victorian","id":"33994318d15d68a3e147c739","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352102/uploads/lvy66caqsxwv3sl5uufu.png"},{"text":"Edwardian","id":"1f38494b588fb05a5f2dbca3","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352104/uploads/iuufpzhb0wdahphoapca.png"},{"text":"Gable","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352106/uploads/kiz5s9jevrnrd4hdp6ym.png","id":"818f09c56189ca5d04774e63"},{"text":"P-shape","id":"f3d24aac6d61acb3ff5c98b5","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352109/uploads/tkjetc6chcokj08upvsa.png"},{"text":"Wrap around","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1734352111/uploads/eiq1petoq2yr28dziboz.png","id":"084783caab97ea49b9389c43"}],"stepId":"e579a24de17a18ac3e426770","sortOrder":3,"hideLabel":true,"imageStyles":{"width":60,"marginTop":5,"borderRadius":0,"marginBottom":1,"rt_width":30,"rt_borderRadius":2},"margins":{"marginTop":-10}},"decorative_header_88449823745812":{"type":"Decorative Header","value":"2. Select your conservatory type...","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":2,"fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":20,"unit":"px"}},"margins":{"marginLeft":10,"marginTop":-10}},"hidden_208021699084211":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":4},"hidden_768893492929449":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":5},"hidden_547683655566320":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":6},"hidden_285234214477702":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":7},"text_505158112375140":{"type":"Text","label":"Enter your name ","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":3,"validationRules":{"required":true}},"decorative_loading animation_375970981826426":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#336db6","type":"Dots","size":40,"redirectAfter":"1.5s"},"width":12,"stepId":"9c193903e761902d95cd93c5","sortOrder":2},"decorative_header_45042518441038":{"type":"Decorative Header","value":"Check your postcode...","width":12,"stepId":"9c193903e761902d95cd93c5","sortOrder":1,"fieldStyle":{"textDecoration":"none","color":"#000000"}},"decorative_paragraph_22624618251515":{"type":"Decorative Paragraph","value":"Along with your confirming your discount we will send you a custom guide quote totally free of charge.","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#000000","textAlign":"left"},"margins":{"marginTop":-20,"marginLeft":20}},"decorative_header_503869983324785":{"type":"Decorative Header","value":"📍 Enter your postcode and see if we cover your area...","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"left"},"stepId":"ec05bdeb16dba521497bb5ee","margins":{"marginTop":-10}},"zipcode_425102155865143":{"type":"Zipcode","label":"ENTER YOUR POSTCODE","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"ec05bdeb16dba521497bb5ee","sortOrder":2,"usePostcoder":true,"hideLabel":false,"customCssClasses":"","margins":{"marginBottom":-10,"marginTop":-10}},"decorative_paragraph_374449976029244":{"type":"Decorative Paragraph","value":"Great, we cover your area 🎉","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":1,"fieldStyle":{"color":"#000000","fontSize":{"value":18,"unit":"px"}}},"buttons_385537444056644":{"type":"Buttons","validationRules":{"required":true},"label":"Conservatory size","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","buttonsPerRow":"2","height":100},"options":[{"text":"Small (Approx. 2.5m x 3.5m)","image":null,"id":"f2edffdd030e69af38d97f07"},{"text":"Compact (Approx. 3m x 4m)","id":"33994318d15d68a3e147c739","image":null},{"text":"Medium (Approx. 3m x 5m)","id":"1f38494b588fb05a5f2dbca3","image":null},{"text":"Standard (Approx. 4m x 5m)","image":null,"id":"818f09c56189ca5d04774e63"},{"text":"Large (Approx. 5m x 5m)","id":"f3d24aac6d61acb3ff5c98b5","image":null},{"text":"Extra-Large (Approx. 5m x 6m)","image":null,"id":"084783caab97ea49b9389c43"}],"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":2,"hideLabel":true,"imageStyles":{"width":60,"marginTop":5,"borderRadius":0,"marginBottom":1,"rt_width":30,"rt_borderRadius":2},"margins":{"marginTop":-10}},"decorative_header_418941320316325":{"type":"Decorative Header","value":"3. What is the approximate size of your conservatory?","width":12,"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":1,"fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":20,"unit":"px"}},"margins":{"marginLeft":10,"marginTop":-10}},"hidden_96207866032431":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":3},"hidden_190867336930875":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":4},"hidden_992726902657457":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":5},"hidden_516150033057732":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"ee97cf72ab3b8230c2ba1b49","sortOrder":6}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false,"line_height":14,"line_enableStripes":"Yes","line_animateStripes":"Yes","line_showPercent":"Yes","position":"formTop"},"continueButton":{"continueText":"CHECK MY POSTCODE 👉","submitText":"SEND my GUIDE quote! 👉","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1116,"imageInitialWidth":1902,"imageHeight":1116,"imageWidth":1902,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1601640522/uploads/qrwuvldlke6g8njr2x6j.jpg"},"headerMarginTop":20,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":0,"primaryColor":"#336db6","bodyTextColor":"#ffffff","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":20,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":18,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#f7f7f7","buttonFontSize":20,"defaultFont":"Open Sans","rt_buttonColor":"#ffffff","rt_buttonBorderColor":"#ffffff","rt_buttonFontSize":20,"formMarginSide":20,"inputFontSize":20,"showShadows":"No","inputLabelFont":"Inter","canvasSetup":"minimal"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://www.myconservatoryroofupgrade.co.uk/totalglaze-conservatory-confirmation"}],"actionOnSubmit":"redirect","customCss":"","sendCustomRedirectQueryParams":true},"ownedByUser":"6492e74bac713f000bdf5a91","personalisation":{"form_related_to":"Roofers / roofing"},"created":"2025-04-01T17:13:52.257Z","__v":0,"lastEdited":"2025-04-01T20:00:58.829Z","leadsCount":4,"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1743537664/growform-production/form-screenshots/67ec1ed021667f000b26a299.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' + '