)?/,""),roundedMinutes:Math.round(e/60)}}},getDayOfWeekArray:function(){return[{dayFull:"Sunday",dayAbbr:"Sun",dayLongAbbr:"Sun"},{dayFull:"Monday",dayAbbr:"M",dayLongAbbr:"Mon"},{dayFull:"Tuesday",dayAbbr:"T",dayLongAbbr:"Tues"},{dayFull:"Wednesday",dayAbbr:"W",dayLongAbbr:"Wed"},{dayFull:"Thursday",dayAbbr:"Th",dayLongAbbr:"Thurs"},{dayFull:"Friday",dayAbbr:"F",dayLongAbbr:"Fri"},{dayFull:"Saturday",dayAbbr:"S",dayLongAbbr:"Sat"}]},getDayOfWeek:function(e){return n.date.getDayOfWeekArray()[e]},getTimeOptions:function(){for(var e=[],t=function(e){return e.toString().padStart(2,"0")},r=0;r<2;r++)for(var a=r? :\=([^&]+))?/g;t=a.exec(e);)r=r||{},"string"==typeof t[2]?r[decodeURIComponent(t[1].toLowerCase())]=decodeURIComponent(t[2]):"="!==e.charAt(e.indexOf(t[1])+t[1].length)&&(r[decodeURIComponent(t[1].toLowerCase())]=!0);return r},parseUrl:function(e){if(!e||"string"!=typeof e)return null;var t=/^(http:|https:)?(?:\/\/)?(([^\/\:]+)?(?:(?:\:)([\d]+))?)?(\/[^\s\?]*)(\?[^\#\s]+)? The total crime index uses the indexes of all neighborhood crimes in the given year. (a.remove.push(e),a.add.push(e)):a.keep.push(e):a.remove.push(e)}),t.each(function(t,r){e.hasItem(t)||a.add.push(t)})):a.remove=e.keys():t&&t.length>0&&(a.add=t.keys()),a},round:function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)}},n.map={getXYbyLatLng:function(e,t,r){if(isNaN(parseFloat(e))||isNaN(parseFloat(t))||isNaN(parseInt(r,10)))return null;var a=parseInt(256*Math.pow(2,r-1)+t*(256*Math.pow(2,r)/360)),n=Math.sin(e*Math.PI/180);return n.9999&&(n=.9999),{x:a,y:parseInt(256*Math.pow(2,r-1)+.5*Math.log((1+n)/(1-n))*(-256*Math.pow(2,r)/(2*Math.PI)))}},getLatLngByPixel:function(e,t,r){if(isNaN(parseInt(e,10))||isNaN(parseInt(t,10))||isNaN(parseInt(r,10)))return null;var a=e*(360/(256*Math.pow(2,r)))-180,o=t*(2/(256*Math.pow(2,r)));return o=1-o,o*=Math.PI,o=n.map.getRadiansByDegrees(Math.atan(Math.sinh(o))),{lat:o,lng:a}},getRadiansByDegrees:function(e){return e*(180/Math.PI)},getDistance:function(e,t,r,a,n){if(isNaN(parseFloat(e))||isNaN(parseFloat(t))||isNaN(parseFloat(r))||isNaN(parseFloat(a)))return null;var o=Math.PI*e/180,i=Math.PI*r/180,s=t-a,l=Math.PI*s/180,c=Math.sin(o)*Math.sin(i)+Math.cos(o)*Math.cos(i)*Math.cos(l);return c=Math.acos(c.toPrecision(14)),c=180*c/Math.PI,c=60*c*1.1515,"K"==n&&(c*=1.609344),"N"==n&&(c*=.8684),c},getDecodedPolygon:function(e){var t=function(e){for(var t=e.split("$"),r=[],a=0;a-1&&e.push(t+5e3);for(;t<1e6;)t+=25e3,e.push(t);for(;t<2e6;)t+=1e5,e.push(t);for(;t<3e6;)t+=25e4,e.push(t);for(;t<5e6;)t+=5e5,e.push(t);for(;t<1e7;)t+=1e6,e.push(t);for(;t<=25e6;)t+=25e5,e.push(t);n.coStarBrand.is("citysnap")&&(e=e.filter(function(e){return 0===e||e>19e4}));for(var a=e.map(function(e){return{value:e,label:e<=1e6? (s=s.replace("{sizeid}",e.toString()),s=s.replace("{mediaidreversed}",n.string.reverse(r.toString())),s=s.replace("{listingidreversed}",n.string.reverse(t.toString()))):(a("RootURL AkamaiListingImagesURLFormat is undefined"),"")},getImageSet:function(e,t){var r=this,a={};return Object.entries(this.mapping).forEach(function(n){var o=_slicedToArray(n,2),i=o[0],s=o[1];a[i]=r.getImage(s,e,t)}),a},getPrimaryImage:function(e,t){return this.getImageSet(e,t)},getSecondaryImages:function(e,t){for(var r=[],a=0;a')}else if(o){var g;u.priority=20,u.color="purple",u.pinName="purple",u.primaryColor="purple",u.pinHex="00B100",u.text="Open House",i&&(u.text="Open ".concat(i)),c&&null!==(g=c.method)&&void 0!==g&&g.virtual&&(u.text="Live ",n.listing.isOpenHouseNow(c)?u.text+="Now ":i&&(u.text+="".concat(i," ")),u.text+='')}else u.priority=30,u.color="green",u.pinName="green",u.primaryColor="green",u.pinHex="00B100",u.text=p? Information Copyright 2016, Multiple Listing Service of Long Island, Inc. All Rights Reserved. Ten-X holds real estate