1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2027],{82027:(e,t,s)=>{s.r(t),s.d(t,{PropertySmallCardBeam:()=>c});var r=s(85664),a=s(3008),n=s(74348),l=s(22712),o=s(7860),i=s(54055),d=s(15179);function c(e){var t;let{hideNewlyListedBadge:s,property:c}=e,x=i.U.use.activeMapPropertySet(),p=(0,d.gq)(c),{isNew:m,relativeDate:h}=(0,d._i)(c,s);return(0,r.jsxs)("div",{className:"group relative z-30 h-[280px] rounded-20 bg-white",children:[(0,r.jsxs)("button",{className:"absolute inset-0 scale-100 overflow-hidden rounded-20 transition-all duration-300 group-hover:scale-105",onClick:()=>{x(c)},type:"button",children:[!!(null==(t=c.featuredImage)?void 0:t.url)&&(0,r.jsx)("div",{className:"absolute inset-0 scale-105 transition-all duration-300 group-hover:scale-100",children:(0,r.jsx)(a.default,{alt:c.address,className:"absolute inset-0 size-full object-cover object-center",height:240,src:c.featuredImage.url,width:360})}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-20",style:{backgroundImage:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(84, 84, 84, 0.6) 54.000003814697266%, rgba(25, 25, 25, 0.85) 100%)"}})]}),!!(p||m)&&(0,r.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-30 origin-top rounded-b-16 border border-black/15 bg-green-1 transition-all duration-100 group-hover:rounded-t-16"}),(0,r.jsx)("div",{className:"pointer-events-none absolute top-12 left-12 z-10",children:(0,r.jsx)(o.PropertyAvailability,{property:c})}),(0,r.jsx)(l.FavoriteButton,{hasVideos:!1,property:c,smallCard:!0}),(0,r.jsxs)("button",{className:"absolute inset-x-0 bottom-0 px-15 pt-20 pb-40 text-left text-white",onClick:()=>{x(c)},type:"button",children:[!!c.priceQualifier&&"Shared Ownership"!==c.priceQualifier&&"Asking Price Of"!==c.priceQualifier&&(0,r.jsx)("div",{className:"pb-5 text-14 text-white uppercase leading-none tracking-[0.23px]",dangerouslySetInnerHTML:{__html:c.priceQualifier}}),(0,r.jsxs)("div",{className:"flex items-baseline",children:[!!c.formattedPrice&&(0,r.jsx)("h3",{className:"font-bold text-22 text-white leading-snug tracking-[0.08px] xl:text-24",dangerouslySetInnerHTML:{__html:c.formattedPrice}}),!!c.tenure&&(0,r.jsx)("span",{className:"ml-10 text-14 leading-tight tracking-[0.23px]",dangerouslySetInnerHTML:{__html:c.tenure}})]}),!!c.propertyType&&!!c.propertyType&&(0,r.jsx)("div",{className:"rounded-10 bg-white px-12 py-5 font-bold text-10 text-black uppercase leading-none tracking-[1.33px] shadow-md [display:var(--property-type-pill-display,inline-block)]",dangerouslySetInnerHTML:{__html:c.propertyType}}),!!c.address&&(0,r.jsx)("h2",{className:"pt-3 font-body text-16 text-white leading-[1.41176471]",dangerouslySetInnerHTML:{__html:c.address}}),!!(c.bedrooms||c.bathrooms||c.receptionRooms||c.floorAreaTo)&&(0,r.jsxs)("div",{className:"flex items-center pt-10",children:[!!c.bedrooms&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:(0,r.jsx)("svg",{className:"text-white",height:"26",width:"32",children:(0,r.jsx)("use",{xlinkHref:"#svg-sprite-bedroom"})})}),(0,r.jsx)("span",{className:"mr-20 ml-10 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:c.bedrooms.toString()}})]}),!!c.bathrooms&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:(0,r.jsx)("svg",{className:"text-white",height:"27",width:"31",children:(0,r.jsx)("use",{xlinkHref:"#svg-sprite-bathroom"})})}),(0,r.jsx)("span",{className:"mr-20 ml-10 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:c.bathrooms.toString()}})]}),!!c.receptionRooms&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:(0,r.jsx)("svg",{className:"text-white",height:"35",width:"35",children:(0,r.jsx)("use",{xlinkHref:"#svg-sprite-reception-room"})})}),(0,r.jsx)("span",{className:"mr-20 ml-10 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:c.receptionRooms.toString()}})]}),!!c.floorAreaTo&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"relative text-white",children:[(0,r.jsx)("span",{className:"absolute top-3 left-5 text-red-1",children:(0,r.jsx)("svg",{height:"25",width:"27",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("g",{opacity:".312",transform:"rotate(-4 13.5 12.5)",children:(0,r.jsx)("path",{d:"M.115 11.193C1.775-1.294 17.147.586 17.147.586s14.796 1.543 7.398 15.822-26.09 7.273-24.43-5.215z",fill:"
1currentColor"})})})}),(0,r.jsx)(n.I,{className:"relative size-30",name:"material-design-icons/photo_size_select_small-filled"})]}),(0,r.jsx)("span",{className:"mr-20 ml-10 font-bold text-17 leading-normal tracking-[0.28px]",children:(0,d.Hz)(c.floorAreaFrom,c.floorAreaTo,c.floorAreaUnits)})]})]}),!!(p||m)&&(0,r.jsxs)("div",{className:"absolute inset-x-0 bottom-0 truncate px-10 py-6 text-center font-bold text-12 text-black tracking-[0.5px] duration-200",children:[m?"NEW ":"",p?"FEATURED ":"","LISTING",m?" - added ".concat(h):""]})]})]})}}}]);
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.