/* growform client2 bundle.url: https://assets.growform.co/06f828b-mhc46129/form.bundle.js resolve.source: memory resolve.at: 2025-11-03T17:20:01.751Z form.source: api cache.age_ms: 3910 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "668bb831060e27000b73a940"; var FORM_BUNDLE_URL = "https://assets.growform.co/06f828b-mhc46129/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"668bb831060e27000b73a940","steps":[{"id":"2271996f08276de7112b6dea","name":"Age Range","sortOrder":1},{"id":"6727ef11ea50e0d373d4fefa","name":"Gender","sortOrder":2},{"id":"2950a4c3aaff71617565a257","name":"Name","sortOrder":3},{"id":"a3d93a072e91c537f00c327f","name":"Details","sortOrder":4}],"formName":"Direct Funerals","fields":{"Decorative Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"We'll be in touch shortly - usually with 48 hours.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":30},"stepId":"complete"},"email_282478176629848":{"type":"Email","label":"Your email address","width":12,"step":8,"sortOrder":5,"hideLabel":false,"stepId":"a3d93a072e91c537f00c327f"},"phone_91931770046283":{"type":"Phone","label":"Your phone number","width":12,"step":8,"sortOrder":3,"defaultCountryFormat":"gb","useDataSoap":true,"hideLabel":true,"stepId":"a3d93a072e91c537f00c327f"},"decorative paragraph_799257360840766":{"type":"Decorative Paragraph","value":"Thanks for your interest!","width":12,"step":"complete","sortOrder":1,"stepId":"complete"},"decorative paragraph_945448151392627":{"type":"Decorative Paragraph","value":"Select your age range below","width":12,"step":1,"sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","textAlign":"center"},"margins":{"marginBottom":-10},"customCssClasses":"","stepId":"2271996f08276de7112b6dea"},"buttons_308614118082585":{"type":"Buttons","validationRules":{"required":true},"label":"Type of Cover","width":12,"hideLabel":true,"multiple":false,"buttonStyle":{"buttonsPerRow":"2","height":"50","buttonsType":"Legacy","rt_compactLayoutOnMobile":"No","rt_buttonsPerRow":"1"},"options":[{"text":"40 - 50","id":"5d7c81b0d0ef6bf62b5c0064"},{"text":"51 -60","image":null,"id":"f7919e49c339cd46736a0071"},{"text":"61 - 70","image":null,"id":"0bb69523ea11fcac11c846c3"},{"text":"70 - 80","image":null,"id":"3711aa6f26e1cfd255779251"}],"step":1,"sortOrder":3,"customCssClasses":"","stepId":"2271996f08276de7112b6dea"},"decorative paragraph_550679594794130":{"type":"Decorative Paragraph","value":"What is your postcode?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","textAlign":"Left"},"margins":{"marginBottom":-10},"stepId":"6727ef11ea50e0d373d4fefa"},"text_867078684982671":{"type":"Text","label":"First Name","width":12,"sortOrder":3,"step":6,"validationRules":{"required":true},"stepId":"2950a4c3aaff71617565a257"},"decorative paragraph_492118471276844":{"type":"Decorative Paragraph","value":"First Name","width":12,"step":6,"sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginBottom":-10},"stepId":"2950a4c3aaff71617565a257"},"decorative paragraph_423393818439633":{"type":"Decorative Paragraph","value":"Last Name","width":12,"step":6,"sortOrder":4,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","textAlign":"Left"},"margins":{"marginBottom":-10,"marginTop":-5},"stepId":"2950a4c3aaff71617565a257"},"text_224155108739041":{"type":"Text","label":"Last Name","width":12,"step":6,"sortOrder":5,"validationRules":{"required":true},"stepId":"2950a4c3aaff71617565a257"},"decorative paragraph_396828230439050":{"type":"Decorative Paragraph","value":"By clicking ‘Enquire Now’ you agree to our [Privacy Policy](https://www.goldenleaves.com/privacy-policy/) and you agree to be contacted by email, telephone or SMS.","width":12,"step":8,"sortOrder":9,"fieldStyle":{"fontSize":{"value":12,"unit":"px"}},"location":null,"stepId":"a3d93a072e91c537f00c327f","margins":{"marginBottom":-25}},"decorative paragraph_870703645310762":{"type":"Decorative Paragraph","value":"Phone Number","width":12,"step":8,"sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","textAlign":"Left"},"margins":{"marginBottom":-20},"stepId":"a3d93a072e91c537f00c327f"},"decorative paragraph_935104530737932":{"type":"Decorative Paragraph","value":"Email Address","width":12,"step":8,"sortOrder":4,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","textAlign":"Left"},"margins":{"marginBottom":-20},"stepId":"a3d93a072e91c537f00c327f"},"hidden_438611123302835":{"type":"Hidden","hiddenFieldName":"affid","width":12,"step":8,"sortOrder":6,"stepId":"a3d93a072e91c537f00c327f"},"hidden_375891337355397":{"type":"Hidden","hiddenFieldName":"sub3","width":12,"step":8,"sortOrder":7,"stepId":"a3d93a072e91c537f00c327f"},"hidden_158613082505556":{"type":"Hidden","hiddenFieldName":"answer","width":12,"step":8,"sortOrder":8,"stepId":"a3d93a072e91c537f00c327f"},"zipcode_484551715313535":{"type":"Zipcode","label":"Example BA1 3QE","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"6727ef11ea50e0d373d4fefa","sortOrder":3},"decorative_image_655026014185616":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750406185/uploads/r6rnstfuetauyxw2afi3.png","width":12,"imageWidth":700,"imageHeight":128,"imageInitialHeight":133,"imageInitialWidth":729,"stepId":"2271996f08276de7112b6dea","sortOrder":1},"decorative_image_108324244578824":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750406185/uploads/r6rnstfuetauyxw2afi3.png","width":12,"imageWidth":700,"imageHeight":128,"imageInitialHeight":133,"imageInitialWidth":729,"stepId":"6727ef11ea50e0d373d4fefa","sortOrder":1,"location":null},"decorative_image_278957708432678":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750406185/uploads/r6rnstfuetauyxw2afi3.png","width":12,"imageWidth":700,"imageHeight":128,"imageInitialHeight":133,"imageInitialWidth":729,"stepId":"2950a4c3aaff71617565a257","sortOrder":1,"location":null},"decorative_image_60847287905016":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750406185/uploads/r6rnstfuetauyxw2afi3.png","width":12,"imageWidth":700,"imageHeight":128,"imageInitialHeight":133,"imageInitialWidth":729,"stepId":"a3d93a072e91c537f00c327f","sortOrder":1,"location":null}},"options":{"numberOfSteps":8,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false,"position":"formTop","variant":"bars","bars_height":12},"continueButton":{"continueText":"Next","submitText":"Enquire Now","backText":"Back"},"customStyles":{"width":{"unit":"px","value":500},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":900,"imageInitialWidth":1800,"imageHeight":900,"imageWidth":1800,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597394891/uploads/sbsnhuvt2wc0uyvwvgab.jpg"},"headerMarginTop":10,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#155577","bodyTextColor":"#585858","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#1b8853","buttonColorSelected":"#3ba434","buttonBorderColorSelected":"#3ba434","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#e3e3e3","buttonTextColor":"#333333","inputLabelColor":" #a3a3a3","inputTextColor":"#000000","inputBackgroundColor":"#F8F8F8","buttonFontSize":22,"continueSubmitButtonFontSize":16,"continueButtonColor":"#589c2b","continueButtonTextColor":"#ffffff","defaultFont":"Open Sans","inputLabelFont":"Open Sans","rt_buttonColor":"#1380c1","rt_buttonTextColor":"#333333","rt_buttonColorSelected":"#1b8853","progressColor":"#1b8853"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","actionOnSubmit":"redirect","customRedirectUrl":"https://thequotehound.com/lifeinsurance/grow/nextsteps","customRedirectUrls":[{"url":"https://news.directfuneralplans.com/next-steps","conditionalLogic":null}],"analyticsSettings":{"contactState":{"landingPageId":"e5a2f874-7588-4abf-b085-6b7ef391a703"}},"customCss":"@keyframes resultsTextAnimation {\n100% { opacity: 1; }\n}\n\n@keyframes loadingTextAnimation {\n100% { opacity: 0; height: 0; padding-top: 0; padding-bottom: 0 }\n}\n\n/* Starts off invisible, waits for 2 seconds, then fades in over 1 second */\n.resultsElements {\nopacity: 0;\ndisplay: block;\nanimation: resultsTextAnimation 1s forwards;\nanimation-delay: 2s;\n}\n\n/* Starts off visible, waits for 1 seconds, then fades out over 1 second */\n.loadingElements {\nopacity: 1;\nanimation: loadingTextAnimation 1s forwards;\nanimation-delay: 1s;\n}\n\n.countdown .markdown-p:before {\ncontent: \"\";\ndisplay: block;\nbackground: url(\"https://res.cloudinary.com/dqnjggegp/image/upload/v1664458149/growform-production/stopwatch.png\") no-repeat;\nbackground-size: 20px;\nwidth: 20px;\nheight: 30px;\nmargin-left:auto;\nmargin-right:auto;\ntext-align: center;\nmargin-bottom: 5px;\n}\n\n.progress .markdown {\nbackground-color: #e9ecef;\nborder-radius: 6px;\nheight: 30px;\n}\n\n.progress .markdown-p {\nbackground-color: #589C2B;\nborder-top-left-radius:6px;\nborder-bottom-left-radius: 6px;\nheight:30px;\ncolor: white;\nline-height: 30px;\nwidth: 30%;\ntext-shadow: 1px 1px #303030;\n}\n\n.progress-10 .markdown-p {\nwidth: 10%;\n}\n\n.progress-20 .markdown-p {\nwidth: 20%;\n}\n\n.progress-30 .markdown-p {\nwidth: 30%;\n}\n\n.progress-40 .markdown-p {\nwidth: 40%;\n}\n\n.progress-50 .markdown-p {\nwidth: 50%;\n}\n\n.progress-60 .markdown-p {\nwidth: 60%;\n}\n\n.progress-70 .markdown-p {\nwidth: 70%;\n}\n\n.progress-80 .markdown-p {\nwidth: 80%;\n}\n\n.progress-90 .markdown-p {\nwidth: 95%;\n}","captureSystemDetails":true},"ownedByUser":"617972747ea5e000213b727b","personalisation":{"form_related_to":"(None - Start with a blank slate)"},"created":"2024-07-08T09:58:09.429Z","__v":0,"lastEdited":"2025-06-20T07:57:38.955Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750406222/growform-production/form-screenshots/668bb831060e27000b73a940.png","leadsCount":4,"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' + '