/* growform client2 bundle.url: https://assets.growform.co/b88115a-mh2anwee/form.bundle.js resolve.source: kv resolve.at: 2025-10-22T20:46:57.176Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "658451ec689687000b8f9576"; var FORM_BUNDLE_URL = "https://assets.growform.co/b88115a-mh2anwee/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"658451ec689687000b8f9576","steps":[{"id":"5289d17d1c5fe089c23fc6e5","name":"Interested in renovating","sortOrder":1,"copyOf":"e579a24de17a18ac3e426770"},{"id":"e2dfcf2c0705c63254a61cd1","name":"Bathroom","sortOrder":2,"copyOf":"5289d17d1c5fe089c23fc6e5"},{"id":"f44cf2b916a72ed8fe5e326e","name":"Home type","sortOrder":3},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":4}],"formName":"ReNew Home Innovations","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Please wait!","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":"Where shall we send your quote?","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"Left"},"stepId":"03a5a3ffff70c314dea644be","margins":{"marginLeft":0}},"email_907058157108782":{"type":"Email","label":"EMAIL ADDRESS","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":3,"stepId":"03a5a3ffff70c314dea644be"},"phone_589083232390193":{"type":"Phone","label":"PHONE NUMBER","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"us"},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"We are confirming your quote...","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"text_82023588022046":{"type":"Text","label":"FULL NAME","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"validationRules":{"required":true},"hideLabel":false},"decorative_header_374277545346617":{"type":"Decorative Header","value":"What type of home is this?","width":12,"sortOrder":1,"stepId":"f44cf2b916a72ed8fe5e326e","fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left"},"margins":{"marginLeft":20}},"buttons_188151712794209":{"type":"Buttons","validationRules":{"required":true},"label":"Hometype","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Single Family","id":"8d266084b20466a83a0a7306"},{"text":"Multi Family","id":"e0430b6a05792933273adbfc"},{"text":"Condo","image":null,"id":"4710b7a554fa7b178cbd8bb5"},{"text":"Townhouse","image":null,"id":"0d6cde7126190e45d1f76ee5"},{"text":"Apartment","image":null,"id":"c4ae4eeb45f1ad778981982c"},{"text":"Pre-Fab / Trailer Home","image":null,"id":"a8c033000e06d6d92e7e24cb"},{"text":"Other","image":null,"id":"7ead9517a55f9e826ab62fd6"}],"stepId":"f44cf2b916a72ed8fe5e326e","sortOrder":2,"hideLabel":true},"text_495232774951163":{"type":"Text","label":"ENTER YOUR ZIP CODE","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":5,"validationRules":{"required":true}},"buttons_167493912123223":{"type":"Buttons","validationRules":{"required":true},"label":"Interested in a bathroom?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"Yes","id":"8d266084b20466a83a0a7306","image":null},{"text":"No","id":"e0430b6a05792933273adbfc","image":null}],"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":2,"hideLabel":true,"customCssClasses":"","margins":{"marginTop":-15}},"decorative_paragraph_634478319916568":{"type":"Decorative Paragraph","value":"Rated **4.4** from **179** reviews on Google","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":4,"margins":{"marginTop":-20},"location":null,"fieldStyle":{"fontFamily":"Open Sans","fontSize":{"value":16,"unit":"px"}}},"decorative_paragraph_471642159915901":{"type":"Decorative Paragraph","value":"🔒100% Safety And Security","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":1,"location":"footer","fieldStyle":{"color":"#828282"}},"decorative_paragraph_959797423070116":{"type":"Decorative Paragraph","value":"Does your bathroom need renovating?","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginTop":-10,"marginLeft":20}},"buttons_614323083764015":{"type":"Buttons","validationRules":{"required":true},"label":"Number of doors","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"En-suite","id":"8d266084b20466a83a0a7306","image":null},{"text":"Family bathroom","id":"e0430b6a05792933273adbfc","image":null},{"text":"Single bathroom ","id":"25658ea4ea6166163f3f850a","image":null},{"text":"Other","image":null,"id":"1ddceed1cc3ae6a64c29d94d"}],"stepId":"e2dfcf2c0705c63254a61cd1","sortOrder":2,"hideLabel":true,"customCssClasses":"","margins":{"marginTop":-15}},"decorative_paragraph_307975697113023":{"type":"Decorative Paragraph","value":"🔒100% Safety And Security","width":12,"stepId":"e2dfcf2c0705c63254a61cd1","sortOrder":1,"location":"footer","fieldStyle":{"color":"#828282"}},"decorative_paragraph_603059983344176":{"type":"Decorative Paragraph","value":"Which bathroom is this?","width":12,"stepId":"e2dfcf2c0705c63254a61cd1","sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginTop":-10,"marginLeft":20}},"decorative_paragraph_231280413179378":{"type":"Decorative Paragraph","value":"","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":5},"decorative_image_218147875803810":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1703255606/uploads/wog5zfonm3lrp9nlir4p.png","width":12,"imageWidth":75,"imageHeight":30,"imageInitialHeight":442,"imageInitialWidth":1106,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":3,"margins":{"marginTop":null}}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"START MY QUOTE 👉","submitText":"Send me my free 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":30,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#63bd46","bodyTextColor":"#000000","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":30,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":18,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#ffffff","buttonFontSize":20,"showShadows":"No","rt_buttonFontSize":18,"inputFontSize":18,"defaultFont":"Open Sans","inputLabelFont":"Open Sans","rt_buttonBorderColor":"#ffffff"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://bathtotub.com/renew-home-innovations-conf"}],"actionOnSubmit":"redirect","customCss":" .formBackground{\n border-radius: 10px; \n // border: 2px solid #9CB458; \n }\n\n.prog.progressBar {\n position: absolute;\n top: 0;\n left: 5%;\n width: 90%;\n height: 9px;\n background-color: blue;\n z-index: 9999;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.progressBar::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.4) 4px, transparent 4px, transparent 8px);\n}\n\n.address_518447847535994 {\n padding: 30px; \n font-size: 50px; \n}\n\n\n","sendCustomRedirectQueryParams":false},"ownedByUser":"6492e74bac713f000bdf5a91","personalisation":{"form_related_to":"Roofers / roofing"},"created":"2023-12-21T14:55:40.585Z","__v":0,"lastEdited":"2024-01-05T13:16:47.052Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742564652/growform-production/form-screenshots/658451ec689687000b8f9576.png","leadsCount":3,"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' + '