1"use strict";(self.webpackChunkhomespotter_com=self.webpackChunkhomespotter_com||[]).push([[483],{8991:function(e,t,n){n.r(t);var a=n(96540),r=n(39125),o=n(62329),c=n(16451),l="mktoForms";t.default=function(e){var t=(0,a.useState)(!1),n=t[0],s=t[1],m=(0,a.useState)(!1),u=m[0],i=m[1];(0,a.useEffect)(function(){document.getElementById(l)?s(!0):d()},[]);var f=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};(0,a.useEffect)(function(){var t=function(){var t=e.location.state&&e.location.state.interests;if(!t){var n=new URLSearchParams(window.location.search).get("interests");n&&(t=n.split(",").map(f))}var a=[];return t&&t.forEach(function(e){a.push("HomeSpotter - "+e)}),a}();n&&window.MktoForms2.loadForm("//get.lwolf.com","803-SUI-561",3275,function(e){t.length&&e.vals({Product_s_of_Interest__c:t}),e.onSuccess(function(t,n){return e.getFormElem().hide(),i(!0),!1})})},[n]);var d=function(){var e=document.createElement("script");e.id=l,e.type="text/javascript",e.async=!0,e.src="//get.lwolf.com/js/forms2/js/forms2.min.js",e.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||s(!0)},e.onload=function(){return s(!0)},document.getElementsByTagName("head")[0].appendChild(e)};return a.createElement(a.Fragment,null,a.createElement(r.Ay,{title:"Brokerage Request a Demo"},a.createElement("html",{lang:"en"})),a.createElement(o.A,{isLaunchpad:!0}),a.createElement("div",{className:"broker-marketo-form"},!u&&a.createElement("h3",null,"Request a Demo - Brokerage"),u&&a.createElement(a.Fragment,null,a.createElement("h3",null,"Thank you for contacting us!"),a.createElement("p",null,"We'll be in touch soon.")),a.createElement("form",{id:"mktoForm_3275"})),a.createElement(c.A,null))}}}]); 2//# sourceMappingURL=component---src-pages-broker-demo-form-js-e3ea9488f042f1561158.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.