/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-12-09T01:08:02.916Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6627ea57e1e410000b59fc86"; 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":"6627ea57e1e410000b59fc86","steps":[{"id":"2d95de6cbf33867267a18be6","name":"Når ønsker du befaring","sortOrder":1,"copyOf":"60c2d61a66a74bcb70ce6e49"},{"id":"acd45227cac332d443c4e1db","name":"Boligadresse","sortOrder":2},{"id":"ff4727c9498ef9c0a6c989d9","name":"Kontakt info","sortOrder":3}],"formName":"OTB Takfornying","fields":{"Decorative Header_797442086161467":{"type":"Decorative Header","value":"Prosjektets boligadresse","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold","fontFamily":"Mulish","color":"#ffffff"},"stepId":"acd45227cac332d443c4e1db"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Hvem skal vi kontakte?","width":12,"step":5,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold","fontFamily":"Mulish","color":"#ffffff"},"stepId":"ff4727c9498ef9c0a6c989d9"},"phone_589083232390193":{"type":"Phone","label":"Mitt telefonnummer","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":5,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9","defaultCountryFormat":"no"},"text_373461752242760":{"type":"Text","label":"Mitt navn","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9","hideLabel":false,"multiline":false,"helperText":""},"address_791048036833857":{"type":"Address","label":"Min adresse","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":3,"margins":{"marginBottom":0},"validationRules":{"required":true}},"decorative_header_148937855441882":{"type":"Decorative Header","value":"Når ønsker du prosjektstart?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold","fontFamily":"Mulish","color":"#ffffff"},"stepId":"2d95de6cbf33867267a18be6","margins":{"marginBottom":5}},"buttons_86552269379590":{"type":"Buttons","validationRules":{"required":false},"label":"Service type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":25,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Så raskt som mulig","id":"7a1aa416126e2e2cbb386e98","image":null},{"text":"Om 1-2 måned","id":"8520042178329cb66678244d","image":null},{"text":"Om 3+ måneder","image":null,"id":"e4c41d1d08561a153b45bf94"}],"stepId":"2d95de6cbf33867267a18be6","sortOrder":3,"hideLabel":true,"imageStyles":{"rt_width":27}},"email_226954520462964":{"type":"Email","label":"Min e-post","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":4},"decorative_header_601081637883426":{"type":"Decorative Header","value":"Spar flere hundre tusen med takfornying!🏚️->🏠","width":12,"stepId":"2d95de6cbf33867267a18be6","sortOrder":1,"margins":{"marginTop":30,"marginBottom":10},"fieldStyle":{"fontFamily":"Poppins","color":"#ffffff","fontSize":{"value":33,"unit":"px"}}},"decorative_header_719871241868534":{"type":"Decorative Header","value":"Nesten i Mål Nå! Før Vi Sender Deg Videre Til Siste Side, Trenger Vi å Vite:","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":1,"fieldStyle":{"fontSize":{"value":27,"unit":"px"},"fontFamily":"Poppins","color":"#ffffff"},"margins":{"marginTop":30}},"decorative_header_655142630961468":{"type":"Decorative Header","value":"Siste Side! Alt Vi Trenger å Vite Er:","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"fieldStyle":{"fontSize":{"value":27,"unit":"px"},"fontFamily":"Poppins","color":"#ffffff"},"margins":{"marginTop":30}},"decorative_header_999583915885264":{"type":"Decorative Header","value":"Da Er Skjemaet Fylt Ut, og Plassen Din Er Reservert! 🥳","width":12,"stepId":"complete","sortOrder":1,"margins":{"marginTop":66},"fieldStyle":{"fontSize":{"value":30,"unit":"px"},"fontFamily":"Poppins","color":"#ffffff"}},"decorative_header_652376091150757":{"type":"Decorative Header","value":"Vi vil kontakte deg så fort vi har anledning!","width":12,"stepId":"complete","sortOrder":2,"fieldStyle":{"fontFamily":"Poppins","fontStyle":"none","color":"#ffffff"},"margins":{"marginBottom":67}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Jeg vil benytte meg av tilbudet","submitText":"Få gratis befaring","backText":""},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1280,"imageInitialWidth":1920,"imageHeight":1280,"imageWidth":1920,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1710870992/uploads/hiz2dqdkfc6tjommu9vm.jpg","useTint":true},"headerMarginTop":40,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#007b71","bodyTextColor":"#343434","parentContainerBackgroundType":"image","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":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"continueSubmitButtonFont":"Poppins"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","actionOnSubmit":"fireJavaScript","analyticsSettings":{"google_ads":{"conversionId":"","conversionLabel":""},"custom_gtm":{"childContainerId":"","parentContainerId":""},"google_analytics":{"trackingId":""},"facebook":{"pixelId":"2705926456240878"}},"sendCustomRedirectQueryParams":false},"ownedByUser":"65d39270197103000cc4a8ce","personalisation":{"form_related_to":"Roofing"},"created":"2024-04-23T17:05:27.077Z","__v":0,"lastEdited":"2024-06-12T17:36:42.173Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742558962/growform-production/form-screenshots/6627ea57e1e410000b59fc86.png","leadsCount":12,"isActive":true},"accountIsActive":false,"accountIsFreeTrial":true}}; // ---- 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' + '