/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-11-21T22:11:30.531Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "64c980708e65e9000b1c06ae"; 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":"64c980708e65e9000b1c06ae","steps":[{"id":"03a5a3ffff70c314dea644be","name":"Unnamed step 1","sortOrder":1}],"formName":"LIVE Silktown Scaffolding","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Your Scaffolding Quote Is On The Way!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":27,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":2,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb"},"text_373461752242760":{"type":"Text","label":"Your name","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":1,"validationRules":{"required":true},"stepId":"03a5a3ffff70c314dea644be"},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with your free quotation.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete","fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"text_779756684152829":{"type":"Text","label":"Brief explanation of type of scaffolding required?","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":6},"email_402591931860059":{"type":"Email","label":"What is your email address?","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":3},"address_646834330175202":{"type":"Address","label":"Building address for scaffolding...","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":4},"single_select_264826078756259":{"type":"Single Select","width":12,"label":"What type of premises need our attention?","options":[{"text":"Residential building","id":"c9498a218a1b1d8236a5c8c9"},{"text":"Commercial building","id":"73d3a61fa0daad4ad9513cbe"}],"helperText":null,"stepId":"03a5a3ffff70c314dea644be","sortOrder":5}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false},"continueButton":{"continueText":"Next","submitText":"Request My Free Quote","backText":"Back"},"customStyles":{"width":{"unit":"px","value":643},"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":"#021337","innerFormBackgroundColor":"#021337","innerFormBackgroundTransparency":"","primaryColor":"#ffffff","bodyTextColor":"#ffffff","parentContainerBackgroundType":"color","innerFormBackgroundType":"color","buttonBorderColor":"#ffffff","buttonColorSelected":"#021337","buttonBorderColorSelected":"#021337","footerMarginBottom":null,"errorColor":"#ff4e4e","buttonColor":"#ffffff","inputLabelColor":"#021337","inputTextColor":"#021337","buttonTextColor":"#021337","inputBackgroundColor":"#e7e7e7","continueButtonTextColor":"#021337","continueSubmitButtonFontSize":15,"continueButtonColor":"#ffcb00"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","actionOnSubmit":"fireJavaScript","analyticsSettings":{"google_ads":{"conversionId":"","conversionLabel":""},"facebook":{"pixelId":"968925861195945"}}},"ownedByUser":"5ff9eadf8da0d30017a96955","personalisation":{"form_related_to":"Roofers / roofing"},"created":"2023-08-01T22:00:16.676Z","__v":0,"lastEdited":"2024-02-07T21:50:51.659Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742564419/growform-production/form-screenshots/64c980708e65e9000b1c06ae.png","leadsCount":32,"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' + '