1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2633],{22633:(e,a,s)=>{s.r(a),s.d(a,{PropertyCardListApex:()=>x,PropertyCardListApexSkeleton:()=>h});var l=s(85664),t=s(3008),r=s(76392),i=s.n(r),n=s(74348),m=s(22712),o=s(7860),d=s(45533),c=s(96777),p=s(15179);function x(e){var a,s,r;let{hideNewlyListedBadge:x,property:h,theme:u}=e,g=(0,p.n9)(h.department,h.slug,h.availableAs),b=(0,p.gq)(h),{isNew:f,relativeDate:v}=(0,p._i)(h,x),j=null!=(r=null!=(s=(0,p.qW)(h.videos)[0])?s:(0,p.wR)(h.videos)[0])?r:null;return(0,l.jsxs)("div",{className:"group relative z-30 transform-gpu overflow-hidden border border-bordergray/60 bg-white transition-all duration-300 hover:bg-gray hover:shadow-lg",children:[(0,l.jsxs)(i(),{className:"flex flex-wrap",href:g,prefetch:!0,children:[(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pr-15",children:(0,l.jsxs)("div",{className:(0,c.cn)("relative h-full min-h-[270px] overflow-hidden md:min-h-[346px]","fascia"===u&&"lg:min-h-[420px]"),children:[(0,l.jsx)("div",{className:(0,c.cn)("relative size-full sm:aspect-w-16 md:aspect-h-auto md:aspect-w-auto md:h-full","fascia"===u?"h-full":"sm:aspect-h-9"),children:!!(null==(a=h.featuredImage)?void 0:a.url)&&(0,l.jsx)("div",{className:"absolute inset-0 scale-105 transition-all duration-300 group-hover:scale-100",children:(0,l.jsx)(t.default,{alt:h.address,blurDataURL:h.featuredImage.dataUrl,className:"absolute inset-0 size-full object-cover object-center",height:370,placeholder:h.featuredImage.dataUrl?"blur":"empty",src:h.featuredImage.url,width:620})})}),(0,l.jsx)("div",{className:(0,c.cn)("pointer-events-none absolute z-10","fascia"===u?"top-20 left-20":"chalet"===u?"top-24 right-10 lg:right-14":"top-0 left-0"),children:(0,l.jsx)(o.PropertyAvailability,{property:h,theme:u})}),!!(b||f)&&(0,l.jsxs)("div",{className:"absolute inset-x-0 bottom-0 truncate bg-green-1 px-10 py-6 text-center font-bold text-12 text-black tracking-[0.5px] duration-200",children:[f?"NEW ":"",b?"FEATURED ":"","LISTING",f?" - added ".concat(v):""]})]})}),(0,l.jsxs)("div",{className:"flex w-full flex-col items-start bg-gray px-20 pt-35 pb-25 transition-all duration-300 group-hover:bg-gray md:w-1/2 md:bg-white md:pr-0 md:pl-15 lg:py-45 lg:pl-35 xl:pl-50",children:[!!h.priceQualifier&&"Shared Ownership"!==h.priceQualifier&&"Asking Price Of"!==h.priceQualifier&&(0,l.jsx)("div",{className:(0,c.cn)("pb-5 text-14 uppercase leading-none tracking-[0.23px]","fascia"===u?"font-bold text-secondary":"text-primary"),dangerouslySetInnerHTML:{__html:h.priceQualifier}}),(0,l.jsxs)("div",{className:"flex items-baseline",children:[!!h.formattedPrice&&(0,l.jsx)("h3",{className:"font-bold text-22 text-primary leading-snug tracking-[0.08px] md:text-24 lg:text-26 xl:text-32",dangerouslySetInnerHTML:{__html:h.formattedPrice}}),!!h.tenure&&(0,l.jsx)("span",{className:"ml-10 text-14 leading-tight tracking-[0.23px]",dangerouslySetInnerHTML:{__html:h.tenure}})]}),!!h.propertyType&&!!h.propertyType&&(0,l.jsx)("div",{className:"mt-5 rounded-10 bg-property-type-label-bg px-12 py-5 font-bold text-10 text-white uppercase leading-none tracking-[1.33px] shadow-md [display:var(--property-type-pill-display,inline-block)]",dangerouslySetInnerHTML:{__html:h.propertyType}}),!!h.address&&(0,l.jsx)("h2",{className:"mt-10 pt-3 font-body font-bold text-17 text-black leading-[1.41176471]",dangerouslySetInnerHTML:{__html:h.address}}),!!h.excerpt&&"<p></p>\n"!==h.excerpt&&(0,l.jsx)("div",{className:"prose mt-20 line-clamp-4 max-w-[450px] whitespace-pre-line",dangerouslySetInnerHTML:{__html:h.excerpt}}),!!(h.bedrooms||h.bathrooms||h.receptionRooms||h.floorAreaTo)&&(0,l.jsxs)("div",{className:"mt-auto flex items-center pt-20 md:pt-30",children:[!!h.bedrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/bedroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:h.bedrooms.toString()}})]}),!!h.bathrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/bathroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:h.bathrooms.toString()}})]}),!!h.receptionRooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/living-room"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-17 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:h.receptionRooms.toString()}})]}),!!h.floorAreaTo&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/dimensions"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-17 leading-normal tracking-[0.28px]",children:(0,p.Hz)(h.floorAreaFrom,h.floorAreaTo,h.floorAreaUnits)})]})]})]})]}),!!j&&(0,l.jsx)(d.PropertyCardVideo,{theme:u,variant:"list",video:j}),(0,l.jsx)(m.FavoriteButton,{hasVideos:!!j,property:h,theme:u})]})}function h(e){let{delay:a=""}=e;return(0,l.jsxs)("div",{className:"flex flex-wrap p-10 md:p-20",children:[(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pr-15",children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:(0,
1c.cn)("h-[270px] w-full animate-pulse flex-col overflow-hidden bg-black/20 shadow-skeleton md:h-[346px]",a)}),(0,l.jsx)("div",{className:(0,c.cn)("absolute top-20 left-24 h-50 w-1/2 max-w-130 animate-pulse bg-primary/30",a)})]})}),(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pl-15 lg:pl-35 xl:pl-50",children:(0,l.jsxs)("div",{className:"relative flex h-full flex-col justify-center",children:[(0,l.jsx)("div",{className:(0,c.cn)("h-30 w-200 animate-pulse bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-7 h-15 w-130 animate-pulse bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-15 h-20 max-w-[360px] animate-pulse bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-15 h-22 max-w-[450px] animate-pulse bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[380px] animate-pulse bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[420px] animate-pulse bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[300px] animate-pulse bg-black/20",a)}),(0,l.jsxs)("div",{className:"mt-20 flex items-center",children:[(0,l.jsx)("div",{className:(0,c.cn)("mr-30 size-30 animate-pulse bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mr-30 size-30 animate-pulse bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("size-30 animate-pulse bg-primary/30",a)})]}),(0,l.jsx)("div",{className:(0,c.cn)("absolute top-0 right-12 size-50 animate-pulse bg-primary/30",a)})]})})]})}}}]);
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.