import{j as s,N as n}from"./index-CjxF8fgu.js";const v=({property:d})=>{const e=()=>{window.scrollTo({top:0,behavior:"smooth"})},{ProfileImage:t,SaveFave:o,builtArea:a,DetailUrl:l,BedroomsTitle:m,BathroomsTitle:x,categoryName:j,currency:h,RentalPeriod:r,LocationTitleOffering:i,AdTitle:p,priceWithCurrncy:g}=d,c=window.location.origin;return s.jsx(s.Fragment,{children:s.jsxs("div",{className:"card cp-wrap rounded-4 border-0 the-new-card","data-aos":"zoom-in","data-aos-delay":"300",children:[s.jsxs("div",{className:"row",children:[s.jsx("div",{className:"col-sm-12 text-center",children:s.jsxs("div",{className:"img-wrap",children:[s.jsx(n,{to:`${c}${l}`,onClick:e,children:s.jsx("img",{src:t,alt:"",className:"img-fluid"})}),s.jsx("span",{className:"img-badge-br",children:j}),s.jsx("div",{dangerouslySetInnerHTML:{__html:o}})]})}),s.jsxs("div",{className:"col-sm-12  mt-lg-0 p-4",style:{backgroundColor:"#f5f5f5"},children:[s.jsxs("div",{className:"d-flex fw-bold price-color1",children:[s.jsx("span",{className:"text-dark pe-3  ",children:h}),s.jsxs("span",{children:[g,r&&s.jsxs("sub",{className:"text-secondary",children:["/",r]})]})]}),s.jsx("h4",{className:"fs-5 w-full capitalize mt-3",children:s.jsx(n,{to:`${c}${l}`,onClick:e,children:p})}),s.jsx("div",{className:"d-flex mb-2 mt-3",children:s.jsxs("span",{className:"text-dark pe-3 loc-info",children:[s.jsx("i",{className:"bi bi-geo-alt-fill"}),"  ",i&&s.jsx("span",{dangerouslySetInnerHTML:{__html:i}})]})})]})]}),s.jsxs("div",{className:"row border-1 border-top   d-flex j-space-between",children:[s.jsx("div",{className:"col11",children:s.jsxs("div",{className:"d-flex mt-3 mb-3 align-items-center gp-2",children:[s.jsx("span",{className:"text-dark pe-3",children:s.jsx("img",{src:"/assets/images/bed.svg",alt:""})}),s.jsxs("span",{children:[m," "]})]})}),s.jsx("div",{className:"col11",children:s.jsxs("div",{className:"d-flex mt-3 mb-3 align-items-center gp-2",children:[s.jsx("span",{className:"text-dark pe-3",children:s.jsx("img",{src:"/assets/images/bath.svg",alt:""})}),s.jsxs("span",{children:[x," "]})]})}),a&&s.jsx("div",{className:"col11",children:s.jsxs("div",{className:"d-flex mt-3 mb-3 align-items-center gp-2",children:[s.jsx("span",{className:"text-dark pe-3",children:s.jsx("img",{src:"/assets/images/sqft.svg",alt:""})}),s.jsx("span",{dangerouslySetInnerHTML:{__html:a}})]})})]})]})})};export{v as P};
