Javascript Get Table Row Value Onclick, Learning Camp Rules California, Why Is Ocean Circulation Important, Articles OTHER

468 STATE ROAD Copyright 2023 Bright MLS, Inc. Trulia is a registered Trademark of Zillow, Inc. Zillow, Inc. holds real estate brokerage, Do Not Sell or Share My Personal Information, Zillow Group is committed to ensuring digital accessibility for individuals with disabilities. (a.title="Show List",a.replaceChild(s,n),a.style.paddingRight="5px"):(e=!1,a.title="Hide List",a.replaceChild(n,s),a.style.paddingRight="0"),Ce.call("listToggle",e)})}function ae(e,t){var o=document.createElement("div");o.className="mobile-list-toggle-btn bs4--rounded-circle mr-20",e.appendChild(o);var a=document.createElement("button");a.className="bs4--mt-auto bs4--border-0 bs4--bg-transparent paint-base-font",a.innerHTML="List",a.title="Toggle Search List",a.setAttribute("data-hide-status",!1),o.appendChild(a),a.addEventListener("click",function(){var e=a.getAttribute("data-hide-status");a.setAttribute("data-hide-status","false"===e),Ce.call("listToggle","false"===e)})}function ne(e){if(Ie){var t=Ge.paItems.markers.getItem(e.toString());t||(t=Ge.listingGroups.markers.getItem(e.toString())),t&&t.listingMarker.click()}else Ce.register("clickWhenMapReady_",function(){var t=Ge.paItems.markers.getItem(e.toString());t&&t.listingMarker.click()})}function se(e){if(ce&&ce.getZoom()<16)return!1;if(e&&e.group&&e.value){var t=Me.getHeatMapCriteria(e.group,e.value)||{};e.sectionKey=t.sectionKey,e.colors=t.colors,e.sectionValues=t.sectionValues}if(e&&e.sectionKey!=Ge.heatMaps.sectionKey&&Ge.heatMaps.polygon&&Ge.paItems.markers.each(function(e,t){var o=t;o.polygon&&o.setVisibility(!1)}),e&&null===e.sectionKey&&Ge.heatMaps.polygon)ie();else{var o=0;for(var a in Ge.paItems.data.items){if(!Ge.paItems.data.items.hasOwnProperty(a))return;var n=Ge.paItems.data.items[a],s=n[0]||null,i=null,l=null;if(! "Today on ".concat(e):"Brand new! MENU. define("controllers/SearchBreadcrumbs",["require","ControllerObjects","Objects","Utilities"],function(e){return function(r){function t(e){m.call("bubble",e)}function a(){try{v.requireDom(),v.optional("entityType"),v.optional("entityID"),v.optional("propertyAddressItem"),v.optional("searchDefinition"),v.optional("callAppMode"),v.optional("hidePropertyAddress")}catch(e){throw e}var e=v.get("propertyAddressItem"),r=v.get("hidePropertyAddress",!1);if(c=v.get("searchDefinition")||c,v.get("entityType")&&v.get("entityID")){var t;A.listHierarchy.get({data:{entityType:v.get("entityType"),entityID:v.get("entityID"),polygonType:1},pass:{callAppMode:null===(t=v.get("callAppMode"))||void 0===t||t,propertyAddressItem:e,hidePropertyAddress:v.get("hidePropertyAddress")},map:function(e){return d(e,null,r)}})}else if(e){var a;A.areas.get({data:{propertyAddressID:e.id,skip:0,take:50,polygonType:1,areaTypes:61},pass:{callAppMode:null===(a=v.get("callAppMode"))||void 0===a||a,propertyAddressItem:e},map:function(t){return d(t,e,r)}})}else v.$dom.empty()}function n(r,a){var n,o=r.pass.propertyAddressItem||{};null!==r&&void 0!==r&&null!==(n=r.pass)&&void 0!==n&&n.callAppMode?e(["modules/AppMode"],function(e){void 0!==e&&e().parse(null===r||void 0===r?void 0:r.data,!0,a)}):t({type:"breadcrumbDataLoad",data:null===r||void 0===r?void 0:r.data}),A.template.get({$dom:v.$dom,data:{area:r.data,isOpenHouse:!(!o||!o.listing)&&o.listing.isOpenHouse,isForSale:!(!o||!o.transactionType)&&o.transactionType.forSale,isForRent:! Unhandled Webservice Error")}catch(e){throw void 0!==V&&null!==V&&console.info(V),e}}})},G={},q=U.coStarBrand.is("citysnap"),j=300,R=M.debounce(function(){m()},450),J=M.debounce(w,200,{maxWait:400});return{update:s,restore:function(e){V.restore(e,o)},uninit:function(){J.cancel(),E.uninit()},getState:V.getState.bind(V),register:O.register.bind(O),event:b}}}); (B.register("openSellSpeed",c),j.get("myListingAdminPanel").event("sellspeed.show")):(h.divSellSpeed.on("click",c),h.divAgentActions.add(h.divSellSpeed).removeClass("bs4--d-none")),null!==d&&void 0!==d&&d.lts&&c()}),W.updateController("sellSpeed",{data:{entityType:a,entityID:l,qs:d,currentUserRelatedToListing:D}}),!1}function g(e){var t=! Last checked: As a Seller of a home, your Listing Agent represents your interests and will advise, consult and follow your instructions to sell your property at the best possible price and terms. It is based on the distance to a variety of nearby services and pedestrian friendliness. $2,000,000$3,000,000 Please try again. "33px":"30px"},icon:z(o.fill,o.stroke,a,new google.maps.Point(15,7))});return google.maps.event.addListener(s,"click",function(){ce.fitBounds(n),fe.coStarBrand.is("citysnap")&&!Pe.get("noMapRestriction",!1)&&ce.setCenter(n.getCenter())}),s}function b(){if(Ge.polygon.polygon){if(Array.isArray(Ge.polygon.polygon))for(var e=0;e4||Math.abs(u.y-o)>4){var a=fe.map.getLatLngByPixel(l.x+(t-r.left),l.y+(o-r.top),c);d.getPath().push(new google.maps.LatLng(a.lat,a.lng)),u=u||{},u.x=t,u.y=o}return!1},n=function t(n){n.stopPropagation(),n.preventDefault(),document.removeEventListener("touchend"===n.type?"touchmove":"mousemove",a),document.removeEventListener("touchend"===n.type? Homesnap.templates["controllers/SchoolItem.html"] = '{{#with data}}{{/with}}'; define("controllers/MortgagePayment",["require","ControllerObjects","Objects"],function(e){return function(t){function r(e){m.call("bubble",e)}function o(){try{y.requireDom(),y.require("price"),y.optional("propertyAddressItem")}catch(e){throw e}c=y.get("price"),u=y.get("propertyAddressItem"),d=y.get("propertyTax"),n(),y.$dom.on("click keyup",function(e){if(13===e.keyCode||"click"===e.type)return v.add("calc",new s.ChildController({type:"controllers/MortgageCalculator",namespace:g.get(),register:{bubble:r}}),!0),y.updateController("calc",{data:{price:c,propertyAddressItem:u,propertyTax:d}}),!1})}function n(){var e,t,r,o,n,l,s,g;i=new p.MortgageCalculation(f.get(!0,"calculation"));var m=null===(e=u)||void 0===e?void 0:null===(t=e.monthlyPropertyTax)||void 0===t?void 0:t.raw,v=null!==(r=d||12*m)&&void 0!==r?r:0,C=null!==(o=null===(n=u)||void 0===n?void 0:null===(l=n.listing)||void 0===l?void 0:null===(s=l.fees)||void 0===s?void 0:null===(g=s.monthlyFee)||void 0===g?void 0:g.raw)&&void 0!==o?o:0;c&&i.setDollarAmount(c,"price"),i.setAmountOrPercent(v,"propertyTax","isPropertyTaxPercent_"),i.setDollarAmount(C,"hoaCondoFees"),y.$dom.text(i.payment.dollars),y.$dom.attr("title",a())}function a(){var e="$".concat(i.down.amount.short," down; ");return 0===i.term.months?e="total monthly fees (tax, insurance, common charge)":(e+="".concat(i.rate.decimal3,"% "),e+=i.term.name),e}function l(e,t){switch(e){case"MortgageCalculator.update":n();break;case"MortgageCalculator.update.propertyTax":y.set("propertyTax",t.value)}v.event(e,t)}var i,c,u,d,s=e("ControllerObjects"),p=e("Objects"),g=new s.Unique(t),m=new s.Callbacks,v=new s.ChildControllerManager,y=new s.StateManager(v,{}),f=new p.LocalStorage("MortgageCalculator");return{update:function(e){y.update(e),o()},restore:function(e){y.restore(e,o)},uninit:function(){v.uninit()},getState:y.getState.bind(y),register:m.register.bind(m),event:l}}}); "".concat(a.cssMainRootPath,"/").concat(e):"".concat(a.cssRootPath,"/").concat(e)}if(a.cssAppHashes&&a.cssRootPath&&0===e.indexOf(a.cssRootPath)){var c=e.replace("".concat(a.cssRootPath,"/"),"").toLowerCase();r=a.cssAppHashes[c]||o}else if(a.cssHashes&&a.cssMainRootPath&&0===e.indexOf(a.cssMainRootPath)){var l=e.replace("".concat(a.cssMainRootPath,"/"),"").toLowerCase();r=a.cssHashes[l]||o}else if(a.cssHashes&&a.cssRootPath&&0===e.indexOf(a.cssRootPath)){var u=e.replace("".concat(a.cssRootPath,"/"),"").toLowerCase();r=a.cssHashes[u]||o}void 0!==r&&""!==r&&(e+="".concat(-1===e.indexOf("?")?"? I acknowledge that I have read and agree to the Terms of Use and Privacy Policy. "),Object.keys(e.queryString).forEach(function(t){"brokerageID"===t&&(r.withBrokerageID=!0),r.url=r.url.concat("".concat(t,"="),e.queryString[t],"&")}))}return r},reloadWithBrokerage:function(e,t){var r,n,a=null===e||void 0===e?void 0:null===(r=e.agentDetails)||void 0===r?void 0:null===(n=r.brokerageDetails)||void 0===n?void 0:n.entityID;if((null===t||void 0===t||!t.withBrokerageID)&&null!==t&&void 0!==t&&t.url&&a)return t.url.indexOf("&")>-1&&!t.url.endsWith("&")?t.url="".concat(t.url,"&"):-1!==t.url.indexOf("&")||t.url.endsWith("?")||(t.url="".concat(t.url,"? Listing Courtesy of: BRIGHT We will be in touch soon to confirm your appointment. //# sourceMappingURL=https://assets.homesnap.com/app/js_min/controllers/ListingDisclaimer.js.map?hash=41f88606e7ff06a07c7f2724e5281a53 The air pollution index is calculated by county or urban area using the past three years data. Homesnap.templates["controllers/MyAgent/Form.html"] = '{{#with data}}
{{/with}}'; Learn more! 468 State Rd, Princeton, NJ 08540. License #8636409. Use the previous and next buttons to navigate, or jump to a slide using the slide dots. Submit. MENU. "hs-pro":"hs",x?U.divLogo.addClass("navbar-pro-plus-logo"):U.divLogo.removeClass("navbar-pro-plus-logo"),U.divLogo.parent().data("data-logo",n).attr("data-logo",n),U.divLogo.parent().data("data-logo-transparent",e).attr("data-logo-transparent",e)}function c(){D.add("mobileTabs",new y.ChildController({type:"controllers/MobileTabBar",namespace:k.get(),register:{bubble:o}}),!0),M.updateController("mobileTabs",{$dom:U.divNavbarMobile,data:{pro:N}})}function u(){R.newsFeedDropdown||(D.get("newsFeed")||D.add("newsFeed",new y.ChildController({type:"controllers/NewsFeedDropdown",namespace:k.get(),register:{bubble:o}})),M.updateController("newsFeed",{$dom:U.liNewsFeed}),R.newsFeedDropdown=!0)}function p(){R.messagesDropdown||(D.get("conversations")||D.add("conversations",new y.ChildController({type:"controllers/ConversationsDropdown",namespace:k.get(),register:{bubble:o}})),M.updateController("conversations",{$dom:U.liMessages}),R.messagesDropdown=!0)}function m(){R.agentsDropdown||(D.add("agents",new y.ChildController({type:"controllers/AgentsDropdown",namespace:k.get(),register:{bubble:o}}),!0),M.updateController("agents",{$dom:U.liAgents,data:{pro:N}}),R.agentsDropdown=!0)}function g(){R.meDropdown||(D.add("currentUser",new y.ChildController({type:"controllers/CurrentUserDropdown",namespace:k.get(),register:{bubble:o}}),!0),M.updateController("currentUser",{$dom:U.liCurrentUser}),R.meDropdown=!0)}function v(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];R.brand||(D.add("brand",new y.ChildController({type:"controllers/BrandItem",namespace:k.get(),register:{bubble:o}}),!0),w.getIDXBrand(function(n){var o=n;if(0!==(null===o||void 0===o?void 0:o.id)||3433!==I.brand.id){var r=3433===I.brand.id&&(null===o||void 0===o?void 0:o.id)>=0?o:I.brand;M.updateController("brand",{$dom:U.divBrandLogo,data:{brand:r,inverse:e}}),e||U.divBrandLogo.css({backgroundColor:"#ffffff"}),r.primaryColor&&U.nav.parents("nav").css("border-top-color",r.primaryColor),R.brand=!0}}))}function f(){R.proPlusDropdown||(D.add("proPlus",new y.ChildController({type:"controllers/Header/ProPlusDropdown",namespace:k.get(),register:{bubble:o}}),!0),M.updateController("proPlus",{$dom:U.liProPlus,data:{}}),R.proPlusDropdown=!0)}function b(){R.impersonationHeader||w.getCurrentUser(function(e){var n,r;null!==e&&void 0!==e&&null!==(n=e.user)&&void 0!==n&&null!==(r=n.permissions)&&void 0!==r&&r.homeSnapAdminTools&&(w.getImpersonation(function(n){if(n){var r,a=$("").addClass("bg-sold");M.$dom.addClass("impersonating-user"),U.nav.prepend(a),a.css({"border-bottom":"5px solid ".concat((null===(r=e.user.brand)||void 0===r?void 0:r.primaryColor)||"#006DC7")}),D.add("impersonationHeader",new y.ChildController({type:"controllers/ImpersonationHeader",namespace:k.get(),register:{bubble:o}})),M.updateController("impersonationHeader",{$dom:a,data:{impersonatedUser:n}})}}),R.impersonationHeader=!0)},!0)}function h(e){D.add("stickyNotification",new y.ChildController({type:"controllers/StickyNotification",namespace:k.get(),register:{bubble:o}}),!0);var n={};e&&(n={colorClass:e.colorClass,showIcon:e.showIcon,icon:e.icon,text:e.text,delayTime:e.delayTime}),M.updateController("stickyNotification",{$dom:U.divStickyNotification,data:n})}function C(e,n){if("window.scroll"===e&&H.transparent&&U&&I&&(n.fold.top>51? The second level houses four bedrooms, including the primary suite, which is entered through double doors. //# sourceMappingURL=https://assets.homesnap.com/app/js_min/controllers/UserProfileImage.js.map?hash=c7d3a300adfa49838f497948be0b988d define("controllers/SimilarListings",["require","ControllerObjects","Objects","Application"],function(t){return function(e){function n(){y="",h=!1,f=!1}function i(t){m.call("bubble",t)}function s(t){v.update(t),a()}function a(){n();var t={};t.listingID=v.get("listingID",0),t.propertyID=v.get("propertyID",0),32===v.get("sPropertyType2")||128===v.get("sPropertyType2")? Enjoy a wonderful location close to downtown Princeton and the University, and within the highly rated Princeton Public Schools district. define("modules/Collapse",["require","ControllerObjects","jquery","bootstrap"],function(e){return function(n){function l(){n.$collapseContainer.collapse("show"),s.attr("aria-expanded",!0),n.$chevron&&n.$chevron.text(n.chevronShowText||"expand_less"),n.openLabel&&n.$label.text(n.closeLabel)}function o(){n.$collapseContainer.collapse("hide"),n.$chevron&&n.$chevron.text(n.chevronHideText||"expand_more"),n.closeLabel&&n.$label.text(n.openLabel),s.attr("aria-expanded",!1)}function t(){return n.$collapseContainer.hasClass("in")}var a=e("ControllerObjects"),r=e("jquery"),c=(e("bootstrap"),new a.Callbacks),s=r("").attr("tabIndex",0).attr("aria-expanded",n.open);if(s.css({"background-color":"transparent","text-align":"inherit"}).addClass("bs4--border-0 bs4--w-100 bs4--px-0"),n&&n.$collapseContainer&&n.$collapseContainer.length&&n.$collapseContainer.on("show.bs.collapse",function(){c.call("show")}).on("shown.bs.collapse",function(){c.call("shown")}).on("hide.bs.collapse",function(){c.call("hide")}).on("hidden.bs.collapse",function(){c.call("hidden")}),n){if(n.$label&&n.$label.length){s=n.$label.parent("button").length?n.$label.parent("button"):n.$label.children("button").length?n.$label.first("button"):n.$label.wrapInner(s).find("button");var i=n.$label.css("color");s.css("color",i),function(){var e,l;n.$collapseContainer.attr("aria-labelledby",null===(e=n.$label)||void 0===e?void 0:null===(l=e[0])||void 0===l?void 0:l.id)}(),n.$label.on("click keypress",function(e){if("Enter"===e.Code||"click"===e.type)return t()?o():l(),!1})}n.open&&l()}return{register:c.register.bind(c)}}}); A handsome first floor office with built-in cherry bookcases provides work-from-home space. The two-story family room has a fireplace, skylight and a back staircase leading to the second floor. Homesnap.templates["controllers/Property/PropertyAddressSchema.html"] = '{{#with data.schema}}<script type="application/ld+json"> [{ "@context": "http://schema.org", "@type":"RealEstateListing", "@id": "{{@root/data/siteRootUrl}}{{url}}", "additionalType": "http://www.productontology.org/id/Real_estate", "about": { {{#if singleFamilyResidence}} "@type":["SingleFamilyResidence", "Product"], {{else if detailsData.propertyCount}} "@type":["ApartmentComplex", "LocalBusiness"], {{/if}} "name": "{{cleanEscape address.fullStreetAddress}}, {{address.cityStateZip}}", "description": "{{cleanEscape description}}", "category": "Real Estate {{#if propertyType}}> {{cleanEscape propertyType}}{{/if}}", "productId": "{{productId}}", "url": "{{@root/data/siteRootUrl}}{{url}}", {{#if detailsData.propertyType}} "accommodationCategory": "{{cleanEscape detailsData.propertyType}}" , {{/if}} {{#if image}} "photo": { "@type":"ImageObject", "contentUrl": "https:{{image}}" }, {{/if}} {{#if secondaryImages.length}} "image": [ {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], {{/if}} {{#if sqFt}} "floorSize": { "@type": "QuantitativeValue", "value": "{{sqFt.string}}", "unitCode": "FTK" }, {{/if}} {{#if propertyAddressItem.beds}} "numberOfBedrooms": {{propertyAddressItem.beds.raw}}, {{/if}} {{#if propertyAddressItem.baths}} "numberOfBathroomsTotal": {{math propertyAddressItem.baths.raw.full "+" propertyAddressItem.baths.raw.half}}, {{#if propertyAddressItem.baths.raw.full}} "numberOfFullBathrooms": {{propertyAddressItem.baths.raw.full}}, {{/if}} {{#if propertyAddressItem.baths.raw.half}} "numberOfPartialBathrooms": {{propertyAddressItem.baths.raw.half}}, {{/if}} {{/if}} {{#if detailsData.propertyCount}} "numberOfAccommodationUnits": "detailsData.propertyCount", {{/if}} {{#and latitude longitude}} "geo": { "@type": "GeoCoordinates", "latitude": "{{latitude}}", "longitude": "{{longitude}}" }, {{/and}} "address": { "@type": "PostalAddress", "addressCountry": "USA", "addressLocality": "{{address.city}}", "addressRegion": "{{address.state}}", "postalCode": "{{address.zip}}", "streetAddress": "{{cleanEscape address.fullStreetAddress}}" } {{#if detailsData.yearBuilt}} , "yearBuilt": {{detailsData.yearBuilt}} {{/if}} {{#if price}} ,"offers": { "@type": "{{#if transactionType.forSale}}OfferForPurchase{{else if transactionType.forRent}}OfferForLease{{/if}}", "availability": {{~#or transactionType.forSale transactionType.forRent~}} "http://schema.org/InStock" {{~else~}} {{~#if detailsData.specialFeatures.comingSoon~}} "http://schema.org/PreOrder" {{~else~}} "http://schema.org/OutOfStock" {{~/if~}} {{~/or}}, "@id": "{{@root/data/siteRootUrl}}{{url}}", "image": [ {{#if image}}"https:{{image}}"{{/if}}{{#if secondaryImages}},{{/if}} {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], "url": "{{@root/data/siteRootUrl}}{{url}}", "description": "{{cleanEscape description}}", "priceSpecification": { "@type":"UnitPriceSpecification", "price": "{{price}}", "priceCurrency": "USD" {{#if transactionType.forRent}} , "unitCode": "MON" {{/if}} }, "price": "{{price}}", "priceCurrency": "USD", "BusinessFunction": "http://purl.org/goodrelations/v1#{{#if transactionType.forSale}}Sell{{else if transactionType.forRent}}LeaseOut{{/if}}" } {{/if}} {{#if openHouse}}, "event" : [ {{~#each openHouse~}} { "@context": "http://schema.org", "@type": "Event", "name": "Open House {{times}}", "description": "{{cleanEscape ../description}}", "url": "{{@root/data/siteRootUrl}}{{../url}}", {{#if ../image}} "image": [ {{#if ../image}}"https:{{../image}}"{{/if}} {{#each ../secondaryImages}} ,"https:{{listing}}" {{/each}} ], {{/if}} "startDate": "{{startDateString}}", "location": { "@type": "Place", "address": { "@type": "PostalAddress", "addressCountry": "USA", "addressLocality": "{{../address.city}}", "addressRegion": "{{../address.state}}", "postalCode": "{{../address.zip}}", "streetAddress": "{{cleanEscape ../address.fullStreetAddress}}" }, "url": "{{@root/data/siteRootUrl}}{{../url}}" } {{#if ../price}} , "offers": { "@type": "Offer", "@id": "{{@root/data/siteRootUrl}}{{../url}}", {{#if image}} "photo": { "@type":"ImageObject", "contentUrl": "https:{{image}}" }, {{/if}} {{#if secondaryImages.length}} "image": [ {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], {{/if}} "url": "{{@root/data/siteRootUrl}}{{../url}}", "description": "{{cleanEscape ../description}}", "price": "{{../price}}", "priceSpecification": { "@type":"UnitPriceSpecification", "price": "{{../price}}", "priceCurrency": "USD" {{#if transactionType.forRent}} , "unitCode": "MON" {{/if}} }, "priceCurrency": "USD", "BusinessFunction": "http://purl.org/goodrelations/v1#{{#if ../transactionType.forSale}}Sell{{else if ../transactionType.forRent}}LeaseOut{{/if}}" } {{/if}} } {{#unless @last}},{{/unless}} {{/each}} ] {{/if}} } }]</script>{{/with}}'; Sotheby's International Realty's commitment to. Search. Request additional information, schedule a showing, save to your property organizer. See sales information for 468 State Road, as far back as 30 years. The property information displayed here is obtained from public records.NJParcels.com make no guarantees on the validity of the data presented.Information should be independently confirmed and you use the information displayed here at your own risk. define("controllers/Badges",["require","ControllerObjects"],function(e){return function(t){function n(e){g.update(e),r()}function r(){try{if(g.requireDom(),g.require("badges"),g.optional("classes"),g.optional("style"),!Array.isArray(g.get("badges")))throw new Error("state.data.badges must be an array")}catch(e){throw e}d.template.get({$dom:g.$dom,data:{badges:g.get("badges"),classes:g.get("classes"),style:g.get("style")}})}function a(e){e.$dom}function o(){u.uninit()}function s(e,t){u.event(e,t)}var i=e("ControllerObjects"),l=new i.Unique(t),c=new i.Callbacks,u=new i.ChildControllerManager,g=new i.StateManager(u,{}),d={template:new i.Getter({namespace:l.get(),success:function(e){try{a(e)}catch(e){throw g&&console.info(g),e}},template:{url:"controllers/Badges.html"}})};return{update:n,restore:function(e){g.restore(e,r)},uninit:o,getState:g.getState.bind(g),register:c.register.bind(c),event:s}}}); (Ge.polygon.bounds=new google.maps.LatLngBounds,Ge.polygon.bounds.extend({lat:J.south,lng:J.west}),Ge.polygon.bounds.extend({lat:J.north,lng:J.east})):Ge.polygon.bounds=A(Ge.polygon.polygon),Ge.polygon.type=t,Ge.polygon.data=J}!Ge.polygon.polygon&&J.latitude&&J.longitude&&(ce.setCenter({lat:J.latitude,lng:J.longitude}),ce.setZoom(18));break;case"HSPropertyAddressListingItem":case"HSPropertyAddressItem":if(a&&a.data&&Array.isArray(a.data)){w();var te,oe,ae,ne=!1;if(void 0!==a.transactionType&&a.transactionType!==Ge.transactionType&&(We.transactionType=Ge.transactionType,Ge.transactionType=a.transactionType),ne=2===Ge.transactionType&&2!==We.transactionType||2===We.transactionType&&2!==Ge.transactionType,"HSPropertyAddressListingItem"===t? "now":n<60?n.toString()+"s":a<60?a.toString()+"m":o<24?o.toString()+"h":i<7?i.toString()+"d":s<5?s.toString()+"w":c.toString()+"mo"}},getAgoAsDays:function(e){var t=Date.now();if(e){var r=t-e.getTime(),n=Math.round(r/1e3),a=Math.round(n/60),o=Math.round(a/60);return Math.round(o/24)}},getAgoFriendly:function(e){var t=Date.now();if(e){var r=t-e.getTime(),n=Math.round(r/1e3),a=Math.round(n/60),o=Math.round(a/60),i=Math.round(o/24);return n<=0?"Today":n<60?"Today":a<60?"Today":o<24?"Today":o>=24&&o<48?"Yesterday":i<7? (a=(Math.round(r/1e5)/10).toFixed(1).toString(),a+="M"):(a=Math.round(r/1e6).toString(),a+="M"),t&&2==t&&(a+="/mo"),{raw:e,dollars:n,short:"$"+a}}return null},getPropertyStatus:function(e,t,r){var n={color:"blue",pinName:"blue_pin",primaryColor:"blue",secondaryColor:null,text:t||"Off-Market",pinHex:"006DC7"};if(r)switch(!0){case r.expired:n.text="Expired";break;case r.canceled:n.text="Canceled";break;case r.withdrawn:n.text="Withdrawn";break;case r.hold:n.text="Hold"}return n},getSPropertyType:function(e){if(e){var t;switch(e){case 1:t="Detached";break;case 2:t="Townhouse";break;case 4:t="Condo";break;case 16:t="Multi-Family";break;case 32:t="Lots/Land";break;case 64:t="Mobile/Manufactured";break;case 128:t="Commercial";break;case 256:t="Co-op";break;case 8:default:t="Other"}return{raw:e,string:t}}return null},getClusterColors:function(e,t,r){var n={fill:"#4392CE",stroke:"#3589CF"};return e&&(t?(n.fill="#F1CC39",n.stroke="#E5BE37"):2==(2&e)?(n.fill="#F37F21",n.stroke="#D76C25"):4==(4&e)?(n.fill="#E02844",n.stroke="#9A1B1E"):1==(1&e)&&(r?