/* growform client2 bundle.url: https://assets.growform.co/96896150-mmawu6km/form.bundle.js resolve.source: memory resolve.at: 2026-03-06T22:41:28.694Z form.source: kv cache.age_ms: 9068 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "65a16ea9737c22000b9cf498"; var FORM_BUNDLE_URL = "https://assets.growform.co/96896150-mmawu6km/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"65a16ea9737c22000b9cf498","steps":[{"id":"03d1a16a0e73a8e0f7dea983","name":"Price Range","sortOrder":1},{"id":"2e71cc37b053997eaaf8eb54","name":"Subject Property State","sortOrder":2},{"id":"f9b1de719976b8cb34e80b77","name":"Time Frame","sortOrder":3},{"id":"ac0ce1d8634334328d03ff33","name":"First Time Use","sortOrder":4,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"920158d1855b576763104e81","name":"VA Disability","sortOrder":5,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"04caa908be84bcb333fed25e","name":"Credit","sortOrder":6,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"60c2d61a66a74bcb70ce6e49","name":"Income","sortOrder":7,"copyOf":"acd45227cac332d443c4e1db"},{"id":"f2769f52b2340d2107cf82b5","name":"Address","sortOrder":8,"copyOf":"60c2d61a66a74bcb70ce6e49"},{"id":"f0a0ad52c48d617a1833bea4","name":"Name","sortOrder":9},{"id":"ff4727c9498ef9c0a6c989d9","name":"Email","sortOrder":10},{"id":"f8834fcc5b03bdad09fbb9c3","name":"Phone Number","sortOrder":11,"copyOf":"ff4727c9498ef9c0a6c989d9"}],"formName":"Copy of Mobile - 2.0 Landing Page No Rent Questions - Purchase","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"What's your email address?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Email","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"stepId":"ff4727c9498ef9c0a6c989d9"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Is this your first VA home loan?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"decorative_header_892646863007116":{"type":"Decorative Header","value":"What's your annual household income?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"60c2d61a66a74bcb70ce6e49","margins":{"marginBottom":5,"marginTop":0}},"buttons_88398974892131":{"type":"Buttons","validationRules":{"required":true},"label":"Income","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"2"},"options":[{"text":"more than $150,000","id":"8520042178329cb66678244d","image":null},{"text":"$125,000 - $150,000","id":"7a1aa416126e2e2cbb386e98","image":null},{"text":"$100,000 - $125,000","image":null,"id":"899bbdc9920b1d190c3cdb2e"},{"text":"$75,000 - $100,000","image":null,"id":"28fd2c58bc74785d2fc01075"},{"text":"$50,000 - $75,000","image":null,"id":"2e3a9b0b0dcdc4086c62e401"},{"text":"$25,000 - $50,000","image":null,"id":"895bb39281ce6e9bc2d51a9c"},{"text":"less than $25,000","image":null,"id":"a7e32748c1081d593369c1b3"}],"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_borderRadius":0,"size":"50%"},"margins":{"marginLeft":0,"marginRight":0}},"decorative_header_680557775804437":{"type":"Decorative Header","value":"What's your name?","width":12,"sortOrder":1,"stepId":"f0a0ad52c48d617a1833bea4","fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontFamily":"Roboto","color":"#1b4272","textAlign":"Left","fontWeight":"Bold"}},"decorative_header_997263865146615":{"type":"Decorative Header","value":"What's your present credit rating?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"04caa908be84bcb333fed25e","margins":{"marginBottom":5}},"buttons_591331084121282":{"type":"Buttons","validationRules":{"required":false},"label":"Credit","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Excellent (720 or above)","image":null,"id":"92cf9db7a14ea74299c15df9"},{"text":"Good (680 - 719)","image":null,"id":"6b04250eb668f9d4d089985b"},{"text":"Average (620 - 679)","image":null,"id":"80ccc04ec41a874eb49279d8"},{"text":"Below Average (580 - 619)","image":null,"id":"510e062cf016ef3dae28d9f3"},{"text":"Poor (579 and below)","image":null,"id":"cc5c1a42f4a4b56539ad342d"},{"text":"I don't know","image":null,"id":"168a487c6554c602fe564c60"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"2","sq_buttonsPerRowMobile":"2","rt_buttonsPerRow":"1"},"stepId":"04caa908be84bcb333fed25e"},"decorative_header_377745778863869":{"type":"Decorative Header","value":"What's your present address?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"f2769f52b2340d2107cf82b5","margins":{"marginBottom":5,"marginTop":1}},"buttons_466008945739859":{"type":"Buttons","validationRules":{"required":true},"label":"1st Time Use","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Yes","id":"25a715b3d13a2ad51859f323"},{"text":"No","id":"2ad63e8a7a5fdc964f4922ec"}],"stepId":"ac0ce1d8634334328d03ff33","sortOrder":2,"hideLabel":true},"decorative_header_118198077540876":{"type":"Decorative Header","value":"What's your price range?","width":12,"stepId":"03d1a16a0e73a8e0f7dea983","sortOrder":3,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontFamily":"Roboto","fontWeight":"Bold","color":"#1b4272","textDecoration":"none","textAlign":"Left"}},"buttons_36152279360020":{"type":"Buttons","validationRules":{"required":true},"label":"Price Range","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"$700,000 +","image":null,"id":"a0f925c5b9e32f25a50f2f0b"},{"text":"$600,000 - $700,000","id":"25a715b3d13a2ad51859f323"},{"text":"$500,000 - $600,000","id":"2ad63e8a7a5fdc964f4922ec"},{"text":"$400,000 - $500,000","id":"1770261edeefe313ab872f19"},{"text":"$300,000 - $400,000","id":"5a8916c54e01caec34d1c0b8"},{"text":"$200,000 - $300,000","image":null,"id":"42b8c9d5f20cea209b628776"},{"text":"$100,000 - $200,000","image":null,"id":"f9fb86e41cea0b3e1ef70b6f"},{"text":"less than $100,000","image":null,"id":"d623974f9801076b48a951c4"}],"stepId":"03d1a16a0e73a8e0f7dea983","sortOrder":4,"hideLabel":true},"decorative_header_661173509343266":{"type":"Decorative Header","value":"Where are you looking to buy?","width":12,"stepId":"2e71cc37b053997eaaf8eb54","sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontFamily":"Roboto","color":"#1b4272","textAlign":"Left","fontWeight":"Bold"}},"single_select_754228814929788":{"type":"Single Select","width":12,"label":"State","options":[{"text":"Alabama","id":"e32617444cd3060bc5613516"},{"text":"Alaska","id":"b23cac29f7f9fe3e016c8452"},{"text":"Arkansas","id":"b1461dac36575d0a14aa39be"},{"text":"Arizona","image":null,"id":"222487a5d54f599250898211"},{"text":"California","image":null,"id":"e7f650a78dd0c57f311c9448"},{"text":"Colorado","image":null,"id":"77cd631003becc1879d4c347"},{"text":"Connecticut","image":null,"id":"73101eca9ad608cf6c2bd948"},{"text":"Delaware","image":null,"id":"4138de69e1ccc0bdcc8e9d8d"},{"text":"District of Columbia","image":null,"id":"a1e78a712ae2cd3541d1bbfc"},{"text":"Florida","image":null,"id":"5a6fd4e0f9092e7cb877c551"},{"text":"Georgia","image":null,"id":"af61cf24ceb81353d026fc28"},{"text":"Hawaii","image":null,"id":"eeabb819f39cea2de8e653dd"},{"text":"Idaho","image":null,"id":"9097dba796469ae2316f0d46"},{"text":"Illinois","image":null,"id":"e4d26963879ffb1d32df0569"},{"text":"Indiana","image":null,"id":"fbdaaeb9ec449d8b63e7e1f8"},{"text":"Iowa","image":null,"id":"a0b9cc4ac2e923077f035943"},{"text":"Kansas","image":null,"id":"8f53048ca176ec7d8c3bdd96"},{"text":"Kentucky","image":null,"id":"76979bddb34e179659535e94"},{"text":"Louisiana","image":null,"id":"f2516dcf2cfa658ca7c6344a"},{"text":"Maine","image":null,"id":"00b243f042ff65387c5291b9"},{"text":"Maryland","image":null,"id":"38652770280341453b257c8b"},{"text":"Massachusetts","image":null,"id":"9b9954121d7449fd24a143ac"},{"text":"Michigan","image":null,"id":"587a627d436cdf4c36b35f75"},{"text":"Minnesota","image":null,"id":"306965286ba804398e54e0f8"},{"text":"Mississippi","image":null,"id":"cf53bebc6fe198a7a75d020a"},{"text":"Missouri","image":null,"id":"58a0fa2cb65fb41a253897de"},{"text":"Montana","image":null,"id":"e0a6035d8dce01d0380ec940"},{"text":"Nebraska","image":null,"id":"d77056f87eb8cbc2940187dd"},{"text":"Nevada","image":null,"id":"3f7aaf038f98fd821cae5c91"},{"text":"New Hampshire","image":null,"id":"b53624298325b02161d927cb"},{"text":"New Jersey","image":null,"id":"716d15b293ae1285e6c445f9"},{"text":"New Mexico","image":null,"id":"5656d1373d5a2fa7c8fc938c"},{"text":"New York","image":null,"id":"218c83103bb527188632316e"},{"text":"North Carolina","image":null,"id":"8052db1bcfe38a0340a0db11"},{"text":"North Dakota","image":null,"id":"f7fdce1d7f809c0c584180e2"},{"text":"Ohio","image":null,"id":"7203a01e7d505317ebdac8c4"},{"text":"Oklahoma","image":null,"id":"f4d54d8410a773563b775ed6"},{"text":"Oregon","image":null,"id":"e620825932df3daa280a1fcc"},{"text":"Pennsylvania","image":null,"id":"066860cf2c0e5a43a2bf2e7d"},{"text":"Rhode Island","image":null,"id":"c84210c3e8c01024628d08fd"},{"text":"South Carolina","image":null,"id":"c9e310b2b5453420f4cbbeeb"},{"text":"South Dakota","image":null,"id":"b616d33d1bb5fc857c9ecb3a"},{"text":"Tennessee","image":null,"id":"a048fdaa71c91288ec4d5599"},{"text":"Texas","image":null,"id":"f1b4ed9cf8fa8dbb4ec7a794"},{"text":"Utah","image":null,"id":"f893552c032b78220776540e"},{"text":"Vermont","image":null,"id":"07eff19215cba4130663ed5d"},{"text":"Virginia","image":null,"id":"5617418c3a82acce6ae4ea28"},{"text":"Washington","image":null,"id":"1711e74235afd43a6ae9b72b"},{"text":"West Virginia","image":null,"id":"ed542c22026697b237dc1c5f"},{"text":"Wisconsin","image":null,"id":"c44a7f760f93227001cacb97"},{"text":"Wyoming","image":null,"id":"00e9414d10a0d2c1045e1060"}],"helperText":null,"stepId":"2e71cc37b053997eaaf8eb54","sortOrder":2,"validationRules":{"required":true}},"decorative_header_685478480679896":{"type":"Decorative Header","value":"What's your time frame? ","width":12,"stepId":"f9b1de719976b8cb34e80b77","sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontFamily":"Roboto","color":"#1b4272","textAlign":"Left","fontWeight":"Bold"}},"buttons_84388970817430":{"type":"Buttons","validationRules":{"required":false},"label":"Time Frame","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Immediately","id":"25a715b3d13a2ad51859f323"},{"text":"2 - 3 months","id":"2ad63e8a7a5fdc964f4922ec"},{"text":"3 - 6 months","id":"1770261edeefe313ab872f19"},{"text":"6 months or longer","id":"5a8916c54e01caec34d1c0b8"}],"stepId":"f9b1de719976b8cb34e80b77","sortOrder":2,"hideLabel":true},"decorative_header_765117180588100":{"type":"Decorative Header","value":"Do you have a VA disability rating?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"920158d1855b576763104e81","margins":{"marginBottom":5}},"buttons_235821545136998":{"type":"Buttons","validationRules":{"required":true},"label":"VA Disability","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Yes","id":"25a715b3d13a2ad51859f323"},{"text":"No","id":"2ad63e8a7a5fdc964f4922ec"}],"stepId":"920158d1855b576763104e81","sortOrder":3,"hideLabel":true},"decorative_paragraph_367534095909970":{"type":"Decorative Paragraph","value":"This will determine if you're exempt from the VA funding fee and other real estate tax benefits.","width":12,"stepId":"920158d1855b576763104e81","sortOrder":2,"fieldStyle":{"fontFamily":"Roboto","textAlign":"Left","lineHeight":"140%","fontSize":{"value":16,"unit":"px"}},"margins":{"marginTop":-15}},"address_334267485659294":{"type":"Address","label":"Address","width":12,"stepId":"f2769f52b2340d2107cf82b5","sortOrder":2},"decorative_header_223419431537378":{"type":"Decorative Header","value":"What's the best phone number to reach you?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":26,"unit":"px"},"fontWeight":"Bold","fontFamily":"Roboto","color":"#1b4272","textAlign":"Left"},"stepId":"f8834fcc5b03bdad09fbb9c3","margins":{"marginBottom":5}},"phone_251843043631019":{"type":"Phone","label":"Phone Number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"helperText":"","stepId":"f8834fcc5b03bdad09fbb9c3"},"decorative_paragraph_159752193108573":{"type":"Decorative Paragraph","value":"By submitting, you agree to our [privacy policy](https://smartvaloans.com/privacy-policy/) and [terms of use](https://smartvaloans.com/terms-of-use/). You also consent to be contacted by phone, or SMS text by Community First National Bank, even if I'm on a Do Not Call list.","width":12,"stepId":"f8834fcc5b03bdad09fbb9c3","sortOrder":2,"fieldStyle":{"textDecoration":"none","fontSize":{"value":12,"unit":"px"},"textAlign":"Left"},"location":"footer"},"decorative_paragraph_704420504994592":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"f2769f52b2340d2107cf82b5","sortOrder":1,"location":"footer","fieldStyle":{"color":"#000000","textAlign":"Left","lineHeight":"140%"}},"decorative_paragraph_793795474121511":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"f0a0ad52c48d617a1833bea4","sortOrder":1,"location":"footer","fieldStyle":{"textAlign":"Left","lineHeight":"140%"}},"decorative_paragraph_575573646068705":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"location":"footer","fieldStyle":{"textAlign":"Left","lineHeight":"140%"}},"decorative_paragraph_968266996330647":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"f8834fcc5b03bdad09fbb9c3","sortOrder":1,"location":"footer","fieldStyle":{"textAlign":"Left","lineHeight":"140%"}},"decorative_paragraph_102333336944685":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"04caa908be84bcb333fed25e","sortOrder":1,"fieldStyle":{"textAlign":"Left","lineHeight":"140%"},"location":"footer"},"decorative_paragraph_269192456876878":{"type":"Decorative Paragraph","value":"🔒 We use 256-Bit SSL encryption for transmission of your information. Your privacy is important to us. We'll never share your information with anyone.","width":12,"stepId":"60c2d61a66a74bcb70ce6e49","sortOrder":1,"fieldStyle":{"textAlign":"Left","lineHeight":"140%"},"location":"footer"},"text_163864148326812":{"type":"Text","label":"First name","width":6,"stepId":"f0a0ad52c48d617a1833bea4","sortOrder":2,"validationRules":{"required":true}},"text_656867876505996":{"type":"Text","label":"Last name","width":6,"stepId":"f0a0ad52c48d617a1833bea4","sortOrder":3,"validationRules":{"required":true}},"decorative_header_211430775852042":{"type":"Decorative Header","value":"Check your VA home loan eligibility today.\n","width":12,"stepId":"03d1a16a0e73a8e0f7dea983","sortOrder":1,"fieldStyle":{"letterSpacing":"Normal","fontSize":{"value":26,"unit":"px"},"lineHeight":"140%","textAlign":"Left","fontWeight":"Bold","fontFamily":"Roboto Condensed"},"margins":{"marginLeft":0,"marginTop":-15}},"decorative_paragraph_32158878242141":{"type":"Decorative Paragraph","value":"Answer a few questions to get started.","width":12,"stepId":"03d1a16a0e73a8e0f7dea983","sortOrder":2,"margins":{"marginTop":-17},"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Next","submitText":"get me preapproved","backText":"Back"},"customStyles":{"width":{"unit":"px","value":700},"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","useTint":false},"headerMarginTop":30,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#1b4272","bodyTextColor":"#343434","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":14,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Roboto","sq_buttonFont":"Inherit","sq_buttonFontSize":14,"showShadows":"No","sq_buttonTextColor":"#000000","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#FFFFFF","rt_buttonFont":"Roboto","rt_buttonFontSize":16,"rt_buttonColor":"#2195e3","rt_buttonColorSelected":"#1b4272","rt_buttonTextColor":"#ffffff","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","continueButtonColor":"#1b4272","continueSubmitButtonFontSize":16,"inputBackgroundColor":"#ffffff"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://smartvaloans.com/thank_you_purchase/"}],"actionOnSubmit":"redirect","sendCustomRedirectQueryParams":false,"analyticsSettings":{"google_analytics":{"trackingId":"G-0SGL4N6ZV1"}},"captureSystemDetails":true},"ownedByUser":"64ea1cd70b4332000b1dff8c","personalisation":{"form_related_to":"Mortgages"},"created":"2024-01-12T16:54:00.974Z","__v":0,"lastEdited":"2025-02-10T23:07:09.131Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742556266/growform-production/form-screenshots/65a16ea9737c22000b9cf498.png","leadsCount":61,"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' + '