/* growform client2 bundle.url: https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js resolve.source: memory resolve.at: 2026-11-10T22:07:56.457Z form.source: kv cache.age_ms: 3701 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "69eb36af581c6b082243e5bc"; var FORM_BUNDLE_URL = "https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"69eb36af581c6b082243e5bc","options":{"numberOfSteps":6,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false},"continueButton":{"continueText":"Continue","submitText":"Submit","backText":"Back"},"customStyles":{"width":{"unit":"px","value":400},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1866,"imageInitialWidth":2800,"imageHeight":1866,"imageWidth":2800,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1615804073/uploads/vhoyotuechax62fo7g1h.jpg","useTint":true,"parentBackgroundImageTintStrength":30},"headerMarginTop":16,"parentBackgroundColorTransparency":"","parentBackgroundColor":"#162430","bodyTextColor":"#ffffff","primaryColor":"#018080","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","innerFormBackgroundTransparency":"20","innerFormBackgroundColor":"#ffffff","buttonColor":"#149fdb","buttonColorSelected":"#162430","buttonTextColor":"#ffffff","buttonBorderColor":"#ffffff","buttonBorderColorSelected":"#169fdb","inputLabelColor":"#ffffff","inputTextColor":"#ffffff","errorColor":"#f40000","buttonFontSize":14,"continueSubmitButtonFontSize":14,"inputBackgroundColor":"#018080","footerMarginBottom":16,"defaultFont":"Montserrat","rt_buttonColor":"#018080","rt_buttonBorderColorSelected":"#008081","rt_controlsColor":"#ffffff","rt_buttonTextColor":"#ffffff","rt_buttonColorSelected":"#018080","inputLabelFont":"Montserrat","inputFontSize":16,"continueButtonColor":"#018080","canvasSetup":"minimal","showShadows":"No","formMarginSide":1,"progressColor":"#018080","rt_buttonFontSize":12,"rt_buttonFont":"Montserrat","rt_buttonBorderColor":"#018080","continueButtonTextColor":"#ffffff"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","endings":[{"id":"ending_01c68e5b-4223-4883-a538-77b45b957154","name":"","url":"https://www.adeptmortgages.co.uk/thank-you/","type":"redirect","sortOrder":1,"conditionalLogic":null},{"id":"complete","name":"Thank you (default)","type":"inFormEnding","sortOrder":2,"conditionalLogic":null}]},"fields":{"decorative_paragraph_52363373085874":{"type":"Decorative Paragraph","value":"Thanks, we'll be in touch.","width":12,"step":"complete","sortOrder":1,"stepId":"complete"},"decorative header_775877650668302":{"type":"Decorative Header","value":"Which type of finance do you require?","width":12,"sortOrder":1,"step":1,"fieldStyle":{"fontSize":{"value":16,"unit":"px"},"color":"#ffffff"},"stepId":"8ace9d15b0796edf4ffa974a"},"decorative_header_332892569054195":{"type":"Decorative Header","value":"Confirm contact details","width":12,"sortOrder":1,"stepId":"810e36ebb5d4c7dc73d1b8d4","fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"email_780634479832215":{"type":"Email","label":"Email Address","width":12,"stepId":"810e36ebb5d4c7dc73d1b8d4","sortOrder":2},"name_377548989975668":{"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":"810e36ebb5d4c7dc73d1b8d4","sortOrder":3,"hidePrefix":true},"phone_392109467504756":{"type":"Phone","label":"What is your phone number?","width":12,"stepId":"810e36ebb5d4c7dc73d1b8d4","sortOrder":4,"defaultCountryFormat":"gb"},"toscheckbox_423890796513627":{"type":"TOSCheckbox","label":"I consent to contact from Adept Mortgages and I have read and agree to the privacy policy?","width":12,"stepId":"810e36ebb5d4c7dc73d1b8d4","sortOrder":5},"decorative_header_28294284333504":{"type":"Decorative Header","value":"What is the best time to call you?","width":12,"sortOrder":1,"step":1,"fieldStyle":{"fontSize":{"value":16,"unit":"px"}},"stepId":"32f658d476adeae71a2d53db"},"buttons_678791939789267":{"type":"Buttons","validationRules":{"required":true},"label":"Where shall we store your widgets?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":13,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"Buy to Let","id":"2d6c01486e7363013029329c"},{"text":"HMO","id":"7f1e05dafab77a4bbddf9964"},{"text":"Multi Unit Block","id":"d927c2b9bda5510ce2fba9df"},{"text":"Bridging","id":"7e4eaf4672171b086b014901"},{"text":"Commercial","image":null,"id":"dadea190905349ebd69c8eb1"},{"text":"Development","image":null,"id":"1febe289a248730ffb0b9651"}],"stepId":"8ace9d15b0796edf4ffa974a","sortOrder":2,"hideLabel":true},"buttons_924520970337915":{"type":"Buttons","validationRules":{"required":false},"label":"Best time to call?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"Anytime","id":"2d6c01486e7363013029329c"},{"text":"9am to 12pm","id":"7f1e05dafab77a4bbddf9964"},{"text":"12pm to 5pm","id":"d927c2b9bda5510ce2fba9df"},{"text":"Evenings After 5pm","id":"7e4eaf4672171b086b014901"}],"stepId":"32f658d476adeae71a2d53db","sortOrder":2,"hideLabel":true}},"ownedByUser":"64a09964dc10ba000bc549f9","formName":"Home Page Hero - Call Us","personalisation":{"form_related_to":"Mortgages"},"steps":[{"id":"8ace9d15b0796edf4ffa974a","name":"Enquiry Type","sortOrder":1},{"id":"32f658d476adeae71a2d53db","name":"Time to call","sortOrder":2,"copyOf":"8ace9d15b0796edf4ffa974a"},{"id":"810e36ebb5d4c7dc73d1b8d4","name":"Applicant Details","sortOrder":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 getCookie(name) { try { var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? decodeURIComponent(match[2]) : ''; } catch (_) { return ''; } } function buildIframeHTML(opts) { var html = '\n' + '\n' + '
\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '