/* growform client2 bundle.url: https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js resolve.source: memory resolve.at: 2026-11-02T14:14:42.203Z form.source: api cache.age_ms: 1983 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "63778181112a1c009d5525d3"; 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":"63778181112a1c009d5525d3","formName":"Weekly Listings Form","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"You're Signed Up!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_467388329589508":{"type":"Decorative Paragraph","value":"Never miss an Open House again!\n\nDurham Region Open House Alerts emailed out every Friday!","width":12,"step":"header","sortOrder":2,"fieldStyle":{"fontSize":{"value":"15","unit":"px"},"fontWeight":"Bold","lineHeight":"170%"},"stepId":"header"},"decorative text_405809205132314":{"type":"Decorative Header","value":"Free Open House Alerts!","width":12,"step":"header","sortOrder":1,"fieldStyle":{"fontSize":{"value":"27","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":null},"stepId":"header"},"decorative text_576559560634956":{"type":"Decorative Header","value":"Where should I send your open house alerts?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"stepId":"187144a0d29d03e43bef1dac"},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":1,"sortOrder":4,"stepId":"187144a0d29d03e43bef1dac"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":1,"sortOrder":5,"helperText":"","defaultCountryFormat":"ca","stepId":"187144a0d29d03e43bef1dac"},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"I will send you an email in a moment with the open houses that are currently registered for this weekend, as well as what you can expect in the alert email each Friday!","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":null},"fieldStyle":{"lineHeight":"Normal"},"stepId":"complete"},"decorative divider_421201658947640":{"type":"Decorative Divider","width":12,"margins":{"marginBottom":0},"step":"header","sortOrder":3,"fieldStyle":{"backgroundColor":"#ffffff","width":"60"},"stepId":"header"},"text_755053947420142":{"type":"Text","label":"First name","width":6,"step":1,"sortOrder":2,"validationRules":{"required":true},"stepId":"187144a0d29d03e43bef1dac"},"text_593155634590351":{"type":"Text","label":"Last name","width":6,"step":1,"sortOrder":3,"multiline":false,"validationRules":{"required":true},"stepId":"187144a0d29d03e43bef1dac"}},"options":{"numberOfSteps":1,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"Send Me The Open House Alerts!","backText":"Back"},"customStyles":{"width":{"unit":"px","value":550},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1080,"imageInitialWidth":1920,"imageHeight":1080,"imageWidth":1920,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1669230912/uploads/rsj6pfgebm8xs19plnhi.jpg","useTint":true},"headerMarginTop":70,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#24b278","bodyTextColor":"#ffffff","parentContainerBackgroundType":"image","innerFormBackgroundType":"none","buttonBorderColor":"#24b278","buttonColorSelected":"#50C796","buttonBorderColorSelected":"#24b278","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#24b278","buttonTextColor":"#FFFFFF","inputLabelColor":"#a3a3a3","inputTextColor":"#000000"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","endings":[{"id":"complete","name":"Thank you (default)","type":"inFormEnding","sortOrder":1,"conditionalLogic":null}]},"ownedByUser":"6309040791097c00a74a3944","personalisation":{"form_related_to":"Realtors or real estate"},"steps":[{"id":"187144a0d29d03e43bef1dac","name":"Unnamed step 1","sortOrder":1}],"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' + '