/* growform client2 bundle.url: https://assets.growform.co/75ce62c9-mnos4903/form.bundle.js resolve.source: memory resolve.at: 2026-04-16T10:51:27.435Z form.source: kv cache.age_ms: 3563 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6681e49e606b00000b640a6c"; var FORM_BUNDLE_URL = "https://assets.growform.co/75ce62c9-mnos4903/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6681e49e606b00000b640a6c","steps":[{"id":"60c2d61a66a74bcb70ce6e49","name":"Type of job","sortOrder":1,"copyOf":"acd45227cac332d443c4e1db"},{"id":"f5f5eb5a7d68da615411348e","name":"Time Frame","sortOrder":2,"copyOf":"60c2d61a66a74bcb70ce6e49"},{"id":"2339abb863c9646b93758511","name":"Address","sortOrder":3,"copyOf":"4c98e71a8e0e6fc3293786fa"},{"id":"4c98e71a8e0e6fc3293786fa","name":"Contact details","sortOrder":4,"copyOf":"34f4b33d08da6d334a88307b"},{"id":"d2d20b73e2faa3d83873fdf7","name":"Notes","sortOrder":5,"copyOf":"2339abb863c9646b93758511"}],"formName":"Maximum Auto","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thanks for your enquiry!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for your request. We'll be in contact with pricing soon.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_892646863007116":{"type":"Decorative Header","value":"What service do you require?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":16,"unit":"px"},"fontWeight":"Bold"},"stepId":"60c2d61a66a74bcb70ce6e49","margins":{"marginBottom":5,"marginTop":-10}},"buttons_88398974892131":{"type":"Buttons","validationRules":{"required":false},"label":"Service type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Legacy","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"2","height":65,"buttonsPerRow":"3"},"options":[{"text":"Auto Electrical","id":"4538c1b5d2e2a8b4633b45a6","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790527/uploads/bzjsdmht3iaxww8cacl0.png"},{"text":"Batteries ","id":"8520042178329cb66678244d","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790523/uploads/t1bhtftzlwfopeciimn3.png"},{"text":"Aircon","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790620/uploads/fmqasoxatrjisiooxtx7.png","id":"71838d8747b686a24885cdb0"},{"text":"Diagnosis","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790536/uploads/g8fahbbd9vdplljgcwdg.png","id":"efd673c33363c8192211d6df"},{"text":"Starter/Alternator","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790540/uploads/dilicktqvzj2z60enmuw.png","id":"43343c14aaeb62df16662766"},{"text":"Other","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1719790543/uploads/p6vezqk3lhtv7dgkkoun.png","id":"afe9a2cc6d9e13ab8308d9fd"}],"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":3,"hideLabel":true,"imageStyles":{"rt_width":27,"size":"100%","marginBottom":1,"width":27,"marginTop":1},"margins":{"marginRight":0,"marginLeft":0,"marginTop":0}},"decorative_header_81876091276726":{"type":"Decorative Header","value":"Contact details","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"4c98e71a8e0e6fc3293786fa","margins":{"marginBottom":-7}},"email_804900488773970":{"type":"Email","label":"Email address?","width":12,"stepId":"4c98e71a8e0e6fc3293786fa","sortOrder":4,"margins":{"marginTop":-10}},"decorative_header_526505060216672":{"type":"Decorative Header","value":"Whats the job address?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"2339abb863c9646b93758511","margins":{"marginBottom":-21,"marginLeft":0,"marginTop":3}},"name_114302671600045":{"type":"Name","label":"What is your name?","width":12,"hideLabel":true,"options":{"Firstname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Lastname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Prefix":{"value":null,"errorText":null}},"stepId":"4c98e71a8e0e6fc3293786fa","sortOrder":3,"hidePrefix":true},"address_918620579081636":{"type":"Address","label":"Leave blank if don't need a mobile service","width":6,"stepId":"2339abb863c9646b93758511","sortOrder":3,"validationRules":{"required":false},"helperText":""},"phone_952901716294166":{"type":"Phone","label":"What is your phone number?","width":12,"stepId":"4c98e71a8e0e6fc3293786fa","sortOrder":5,"defaultCountryFormat":"nz","margins":{"marginTop":-10}},"decorative_image_520980784046318":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715898485/uploads/re0fvtivcabyx2q466dm.png","width":12,"imageWidth":400,"imageHeight":58,"imageInitialHeight":116,"imageInitialWidth":800,"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":1},"decorative_image_442076714510208":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715898638/uploads/mmya31aonfpk1dzz7msf.png","width":12,"imageWidth":400,"imageHeight":58,"imageInitialHeight":116,"imageInitialWidth":800,"stepId":"4c98e71a8e0e6fc3293786fa","sortOrder":1,"margins":{"marginBottom":-12}},"decorative_image_318692099987955":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715898669/uploads/d48lkhjmvbgmfxmwamet.png","width":12,"imageWidth":400,"imageHeight":58,"imageInitialHeight":116,"imageInitialWidth":800,"stepId":"2339abb863c9646b93758511","sortOrder":1,"margins":{"marginBottom":-12}},"decorative_header_855746846845904":{"type":"Decorative Header","value":"How soon do you need this done?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":16,"unit":"px"},"fontWeight":"Bold"},"stepId":"f5f5eb5a7d68da615411348e","margins":{"marginBottom":5,"marginTop":-10}},"buttons_370239420606863":{"type":"Buttons","validationRules":{"required":false},"label":"Service type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Legacy","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"2","height":65,"buttonsPerRow":"4"},"options":[{"text":"Urgent!","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"1-2 days","id":"8520042178329cb66678244d","image":null},{"text":"1-2 weeks","image":null,"id":"71838d8747b686a24885cdb0"},{"text":"Not sure","image":null,"id":"efd673c33363c8192211d6df"}],"stepId":"f5f5eb5a7d68da615411348e","sortOrder":3,"hideLabel":true,"imageStyles":{"rt_width":27,"size":"100%","marginBottom":1,"width":27,"marginTop":1},"margins":{"marginRight":0,"marginLeft":0,"marginTop":0}},"decorative_image_658270142088410":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715898485/uploads/re0fvtivcabyx2q466dm.png","width":12,"imageWidth":400,"imageHeight":58,"imageInitialHeight":116,"imageInitialWidth":800,"stepId":"f5f5eb5a7d68da615411348e","sortOrder":1},"decorative_header_157131816122155":{"type":"Decorative Header","value":"Lastley, any details?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"d2d20b73e2faa3d83873fdf7","margins":{"marginBottom":-21,"marginLeft":0,"marginTop":3}},"decorative_image_391705333493729":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1715898669/uploads/d48lkhjmvbgmfxmwamet.png","width":12,"imageWidth":400,"imageHeight":58,"imageInitialHeight":116,"imageInitialWidth":800,"stepId":"d2d20b73e2faa3d83873fdf7","sortOrder":1,"margins":{"marginBottom":-12}},"text_954255080408469":{"type":"Text","label":"Any Job Details?","width":12,"stepId":"d2d20b73e2faa3d83873fdf7","sortOrder":3,"multiline":true,"rows":3}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"Get quote","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":"#dcdcdc","innerFormBackgroundTransparency":"","primaryColor":"#0932ab","bodyTextColor":"#343434","parentContainerBackgroundType":"color","innerFormBackgroundType":"color","buttonBorderColor":"#989898","buttonColorSelected":"#1c6077","buttonBorderColorSelected":"#ee6a4d","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#f5f5f5","buttonTextColor":"#000000","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Merriweather","sq_buttonFont":"Inherit","sq_buttonFontSize":14,"showShadows":"Yes","sq_buttonTextColor":"#000000","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","buttonFontSize":14,"inputFontSize":18},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://maximumauto.nz/thank-you","conditionalLogic":null}],"actionOnSubmit":"redirect","customCss":"#growform_5ap8d5a8na90d {\nborder-radius: 15px !important;\n}\n.parentContainer {\n background-color: #dcdcdc;\n}"},"ownedByUser":"644b42d972b98f000ccc859e","personalisation":{"form_related_to":"Roofing"},"created":"2024-06-30T23:05:02.206Z","__v":0,"lastEdited":"2024-12-12T20:52:45.504Z","leadsCount":1464,"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742551858/growform-production/form-screenshots/6681e49e606b00000b640a6c.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' + '