{raw:e,commas:e.toLocaleString(),short:this.getShortNumber(e),decimal0:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:0}),decimal1:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:1,minimumFractionDigits:1}),decimal2:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:2,minimumFractionDigits:2}),decimal3:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:3,minimumFractionDigits:3})}:null},getPercent:function(e,t){if(e||0===e){var r=t||1,n=this.getNumber(Math.abs(e*r));return{raw:e*r,abs:n.raw,commas:n.commas+"%",decimal0:n.decimal0+"%",decimal1:n.decimal1+"%",decimal2:n.decimal2+"%",decimal3:n.decimal3+"%",isPositive:e>0}}return null},getPhoneNumber:function(e){if(e){var t=e.replace(/\D/g,"").replace(/^1/,""),r=(t.substr(0,10),t.substr(10,100)),n="("+t.substr(0,3)+") "+t.substr(3,3)+"-"+t.substr(6,4),a=t.substr(0,3)+"-"+t.substr(3,3)+"-"+t.substr(6,4),o=n;return r.length>0&&(o+=" x"+r),{raw:e,digits:t,withParentheses:n,withDashes:a,withExtension:o}}return null},getPercentChange:function(e,t){if(e&&t){var r=(e-t)/t*100;return this.getPercent(r)}},firstLetterToUpper:function(e){if(e)return e.toLowerCase().charAt(0).toUpperCase()+e.toLowerCase().slice(1)}},o.date={getDateInfo:function(e){if(e){var t=new Date(e),r={weekday:"long",year:"numeric",month:"long",day:"numeric"},n={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],s=["January","February","March","April","May","June","July","August","September","October","November","December"];return{raw:t.getTime(),date:t,month:t.getMonth()+1,day:t.getDate(),year:t.getFullYear(),monthDayYear:t.getMonth()+1+"/"+t.getDate()+"/"+t.getFullYear().toString().substr(2,2),formattedDate:t.toLocaleString("en-us",r),formattedDateTime:t.toLocaleString("en-us",n),shortMonth:i[t.getMonth()],longMonth:s[t.getMonth()],formattedTime:t.toLocaleTimeString("en-us",{hour:"2-digit",minute:"2-digit"}),ago:o.date.getAgo(t),agoFriendly:o.date.getAgoFriendly(t),shortDay:a[t.getDay()]}}return null},getAgo: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),s=Math.round(i/7),l=Math.round(i/30);return n<0?

(r.id=e.raw,r):null}},o.styles={getProp:function(e){var t;return!! Both are subject to change. As far as new developments in New York go, Liberty Plaza is definitely at the top of the list. Boundaries of the block that the Liberty Plaza is located on include Wall Street, Broadway and the East River. FiDi’s preeminent rental residence, Liberty Plaza accommodates a comfortable, sophisticated New York City lifestyle for discerning individuals and families. "PM":"AM";i%=12,i=i||12,o="0".concat(o).slice(-2),r="0".concat(r).slice(-2),t=n.toLocaleString("en-us",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),t+=", ".concat(i,":").concat(o,":").concat(r," ").concat(c)}return t}}function a(e){var t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),6,1);return e.getTimezoneOffset()r-p&&o()}function s(){v.uninit()}function l(e,t){switch(e){case"modal.scroll":case"window.scroll":y(t.$window,t.fold)}v.event(e,t)}var m=e("ControllerObjects"),d=e("Objects"),f=e("Utilities"),g=new m.Unique(t),w=new m.Callbacks,v=new m.ChildControllerManager,h=new m.StateManager(v,{}),b={main:new m.Getter({namespace:g.get(),success:function(e){try{r(e)}catch(e){throw h&&console.info(h),e}},webService:"/service/Listings/GetCourtesyOf",failure:function(){throw h&&console.info(h),new Error("Listing Disclaimer controller: Unhandled Error")},type:d.HSListingCourtesyOf,template:{url:"controllers/ListingDisclaimer.html"}})},p=2e3,y=_.debounce(function(e,t){u(e,t)},500,{maxWait:2500});return{update:n,restore:function(e){h.restore(e,i)},uninit:s,getState:h.getState.bind(h),register:w.register.bind(w),event:l}}});