{"version":3,"file":"PropertyCard.CFde4s_D.mjs","names":["useState","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/096wOB2xD3ib8EiUCVbB/Y0Zgf5amkjhxEAKrZ1Qw/Examples.js","https:/framerusercontent.com/modules/yS80kP1WFnSMvrzVsWi0/tdxf4062NFlhNnkhQC4Y/PropertyCard.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withPropertySortData(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const title=typeof props?.title===\"string\"?props.title.trim().toLowerCase():\"\";const year=Number.isFinite(Number(props?.completionYear))?String(Number(props.completionYear)):\"0\";const units=Number.isFinite(Number(props?.totalUnits))?String(Number(props.totalUnits)):\"0\";return /*#__PURE__*/_jsx(\"div\",{\"data-sort-title\":title,\"data-sort-year\":year,\"data-sort-units\":units,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}export function withPropertySort(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const applySort=()=>{const root=rootRef.current;if(!root)return;const grid=root.firstElementChild;if(!grid)return;const directChildren=Array.from(grid.children);const cards=directChildren.filter(child=>child.querySelector(\"[data-sort-title]\"));if(cards.length<=1)return;const params=new URLSearchParams(window.location.search);const sort=(params.get(\"sort\")||\"title\").toLowerCase();const order=params.get(\"order\")===\"desc\"?\"desc\":\"asc\";const key=sort===\"year\"?\"sortYear\":sort===\"units\"?\"sortUnits\":\"sortTitle\";const sorted=[...cards].sort((a,b)=>{const aCard=a.querySelector(\"[data-sort-title]\");const bCard=b.querySelector(\"[data-sort-title]\");if(!aCard||!bCard)return 0;const av=aCard.dataset[key]??(key===\"sortTitle\"?\"\":\"0\");const bv=bCard.dataset[key]??(key===\"sortTitle\"?\"\":\"0\");const result=key===\"sortTitle\"?String(av).localeCompare(String(bv)):Number(av)-Number(bv);return order===\"asc\"?result:-result;});sorted.forEach(node=>grid.appendChild(node));};const onChange=()=>window.requestAnimationFrame(applySort);const originalPush=window.history.pushState;const originalReplace=window.history.replaceState;window.history.pushState=function(...args){const ret=originalPush.apply(this,args);onChange();return ret;};window.history.replaceState=function(...args){const ret=originalReplace.apply(this,args);onChange();return ret;};window.addEventListener(\"popstate\",onChange);onChange();return()=>{window.history.pushState=originalPush;window.history.replaceState=originalReplace;window.removeEventListener(\"popstate\",onChange);};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{width:\"100%\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPropertySortData\":{\"type\":\"reactHoc\",\"name\":\"withPropertySortData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPropertySort\":{\"type\":\"reactHoc\",\"name\":\"withPropertySort\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map","// PropertyCard.tsx — PERGAS\n// 24 Sep 2026: new card design, approved by Kian from his reference image and\n// mockup v2. Full-bleed photo at 4:5 (the grid column sets the width), glass\n// price pill top-start, Compare circle top-end, and the details on a blurred,\n// tinted lower half: \"★ Investment Grade · category\", title, district, a\n// gold-mid rule, beds / units / size with icons, and a \"Request Details\" pill\n// that opens the property's enquiry form (\"View Details\" on sold listings).\n// Brand Book v2.0 colours only. No ratings (PERGAS has none).\n// The data-* attributes on the root feed RealEstateGridController and\n// PropertyMapView; data-developer / data-unit-beds / data-unit-size are new\n// (the map card reads them). \"کاربری مختلط\" (the FA CMS value) now resolves to\n// Mixed-Use in data-category, so the Mixed-Use filter works on /fa/. The words\n// shown on the card are unchanged.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";let _pergasFontsInjected=false;function injectFonts(){if(typeof document===\"undefined\"||_pergasFontsInjected)return;const id=\"pergas-rtl-fonts\";if(document.getElementById(id)){_pergasFontsInjected=true;return;}const link=document.createElement(\"link\");link.id=id;link.rel=\"stylesheet\";link.href=\"https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&family=Cairo:wght@400;500;600&display=swap\";document.head.appendChild(link);_pergasFontsInjected=true;}const COMPARE_KEY=\"pergas_compare\";const COMPARE_EVENT=\"pergas-compare-change\";const COMPARE_MAX=3;function getCompareList(){if(typeof window===\"undefined\")return[];try{const raw=window.sessionStorage.getItem(COMPARE_KEY);const parsed=raw?JSON.parse(raw):[];if(!Array.isArray(parsed))return[];return parsed.filter(x=>x&&typeof x===\"object\"&&typeof x.slug===\"string\");}catch{return[];}}function setCompareList(list){if(typeof window===\"undefined\")return;window.sessionStorage.setItem(COMPARE_KEY,JSON.stringify(list));window.dispatchEvent(new CustomEvent(COMPARE_EVENT));}// Brand Book v2.0\nconst C={black:\"#0A0A08\",charcoal:\"#141210\",white:\"#F5F3EE\",goldMid:\"#B47D20\",goldLight:\"#D8B55A\",sold:\"#E53935\"};// reqDetails is copied verbatim from HomeProperties.tsx.\nconst TRANS={en:{font:\"Inter, sans-serif\",investmentGrade:\"Investment Grade\",viewDetails:\"View Details\",reqDetails:\"Request Details\",units:\"Units\",beds:\"Beds\",startingFrom:\"Starting from\",priceOnRequest:\"Price on request\",compareAdd:\"Add to compare\",compareRemove:\"Remove from compare\",catLabels:{Residential:\"Residential\",Commercial:\"Commercial\",\"Mixed-Use\":\"Mixed-Use\"},statusLabels:{Live:\"Available\",Sold:\"Sold\"}},tr:{font:\"Inter, sans-serif\",investmentGrade:\"Yatırım Sınıfı\",viewDetails:\"Detayları G\\xf6r\",reqDetails:\"Detay İste\",units:\"\\xdcnite\",beds:\"Oda\",startingFrom:\"Başlangı\\xe7 fiyatı\",priceOnRequest:\"Fiyat i\\xe7in iletişime ge\\xe7in\",compareAdd:\"Karşılaştırmaya ekle\",compareRemove:\"Karşılaştırmadan \\xe7ıkar\",catLabels:{Residential:\"Konut\",Commercial:\"Ticari\",\"Mixed-Use\":\"Karma\"},statusLabels:{Live:\"M\\xfcsait\",Sold:\"Satıldı\"}},fa:{font:\"Vazirmatn, Inter, sans-serif\",investmentGrade:\"درجه سرمایه‌گذاری\",viewDetails:\"مشاهده جزئیات\",reqDetails:\"درخواست جزئیات\",units:\"واحد\",beds:\"خواب\",startingFrom:\"شروع از\",priceOnRequest:\"قیمت بنا به درخواست\",compareAdd:\"افزودن به مقایسه\",compareRemove:\"حذف از مقایسه\",catLabels:{Residential:\"مسکونی\",Commercial:\"تجاری\",\"Mixed-Use\":\"چند منظوره\"},statusLabels:{Live:\"موجود\",Sold:\"فروخته شده\"}},ar:{font:\"Cairo, Inter, sans-serif\",investmentGrade:\"درجة الاستثمار\",viewDetails:\"عرض التفاصيل\",reqDetails:\"طلب التفاصيل\",units:\"وحدة\",beds:\"غرف\",startingFrom:\"يبدأ من\",priceOnRequest:\"السعر عند الطلب\",compareAdd:\"إضافة للمقارنة\",compareRemove:\"إزالة من المقارنة\",catLabels:{Residential:\"سكني\",Commercial:\"تجاري\",\"Mixed-Use\":\"متعدد الاستخدامات\"},statusLabels:{Live:\"متاح\",Sold:\"مباع\"}}};const localePath=(lang,path)=>{if(lang===\"en\")return path;return`/${lang}${path}`;};// Always Latin digits + USD symbol, in every locale. Only the label translates.\nfunction formatPrice(n){return\"$\"+Math.round(n).toLocaleString(\"en-US\");}const CANON_STATUS=[\"Live\",\"Sold\"];const CANON_CATEGORY=[\"Residential\",\"Commercial\",\"Mixed-Use\"];const ALIASES={live:\"Live\",available:\"Live\",\"m\\xfcsait\":\"Live\",musait:\"Live\",mevcut:\"Live\",\"موجود\":\"Live\",\"متاح\":\"Live\",sold:\"Sold\",\"satıldı\":\"Sold\",satildi:\"Sold\",\"فروخته شد\":\"Sold\",\"فروخته شده\":\"Sold\",\"مباع\":\"Sold\",residential:\"Residential\",konut:\"Residential\",\"مسکونی\":\"Residential\",\"سكني\":\"Residential\",commercial:\"Commercial\",ticari:\"Commercial\",\"تجاری\":\"Commercial\",\"تجاري\":\"Commercial\",\"mixed-use\":\"Mixed-Use\",karma:\"Mixed-Use\",\"karma kullanım\":\"Mixed-Use\",\"karma kullanim\":\"Mixed-Use\",\"چند منظوره\":\"Mixed-Use\",\"چندمنظوره\":\"Mixed-Use\",\"متعدد الاستخدامات\":\"Mixed-Use\"};// Filter-only aliases: localized CMS values that must still filter as their\n// canonical category. Used for data-category and the Compare snapshot, never\n// for the words on the card (those stay exactly as the CMS / live site has them).\nconst DATA_CAT_ALIASES={\"کاربری مختلط\":\"Mixed-Use\",\"استخدام مختلط\":\"Mixed-Use\"};const canonOf=(v,allowed)=>{const raw=(v||\"\").trim();if(allowed.indexOf(raw)!==-1)return raw;const hit=ALIASES[raw.toLowerCase()];return hit&&allowed.indexOf(hit)!==-1?hit:\"\";};// The photo fills a 4:5 card: ~384 x 480 on desktop, ~360 x 450 on phones, so\n// a landscape photo is drawn ~720 / ~600 px wide under object-fit: cover.\n// Framer's publish step rewrites `sizes` and spoils the FIRST entry (seen on the\n// live /fa/ HTML, 24 Sep 2026); \"(max-width: 1px) 1px\" is a sacrificial first\n// entry no real screen matches. Keep it first.\nconst IMG_SIZES=\"(max-width: 1px) 1px, (max-width: 767px) 600px, 720px\";function IconMap(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 20 20\",fill:\"none\",\"aria-hidden\":\"true\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 5l5-2 5 2 5-2v12l-5 2-5-2-5 2z\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7.5 3v12M12.5 5v12\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"})]});}function IconBed(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 20 20\",fill:\"none\",\"aria-hidden\":\"true\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 15V5M2.5 11h15v4M17.5 11V9a2 2 0 0 0-2-2H9v4\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"5.5\",cy:\"8.5\",r:\"1.3\",stroke:C.goldMid,strokeWidth:\"1.5\"})]});}function IconBuilding(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 20 20\",fill:\"none\",\"aria-hidden\":\"true\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"2.5\",width:\"12\",height:\"15\",rx:\"1.5\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7.5 6h1M11.5 6h1M7.5 9.5h1M11.5 9.5h1M8.5 17.5v-3h3v3\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"})]});}function IconArea(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 20 20\",fill:\"none\",\"aria-hidden\":\"true\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"3\",width:\"14\",height:\"14\",rx:\"1.5\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 8h5V3\",stroke:C.goldMid,strokeWidth:\"1.5\",strokeLinejoin:\"round\"})]});}function IconCompare({color}){return /*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"2.5\",y:\"4\",width:\"6\",height:\"12\",rx:\"1.5\",stroke:color,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"11.5\",y:\"4\",width:\"6\",height:\"12\",rx:\"1.5\",stroke:color,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 2.5v15\",stroke:color,strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeDasharray:\"1.6 2\"})]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function PropertyCard(props){const{title,slug,district,category,status,developer,completionYear,totalUnits,unitBeds,unitSize,priceFrom,investmentGrade,coverImage,selectedRingColor,latitude,longitude}=props;const[hovered,setHovered]=useState(false);const[inCompare,setInCompare]=useState(false);const[ctaHover,setCtaHover]=useState(false);useEffect(()=>{injectFonts();},[]);// Framer resolves activeLocale during the static render, so the HTML served\n// at /fa already carries Persian instead of flashing English at hydration.\n// Locale IDs are random strings; the NAME is stable, same mapping as Nav.\n// activeLocale is null on the default locale, hence the pathname fallback.\nconst{activeLocale}=useLocaleInfo();const ln=(activeLocale?.name||\"\").toLowerCase();const pathLang=(typeof window!==\"undefined\"?(window.location.pathname.match(/^\\/(tr|fa|ar)(\\/|$)/)||[])[1]:\"\")||\"en\";const rawLang=ln.includes(\"turkish\")||ln.includes(\"t\\xfcrk\")?\"tr\":ln.includes(\"persian\")||ln.includes(\"farsi\")||ln.includes(\"iran\")?\"fa\":ln.includes(\"arabic\")||ln.includes(\"arab\")?\"ar\":pathLang;const lang=rawLang in TRANS?rawLang:\"en\";const t=TRANS[lang];const isRTL=lang===\"fa\"||lang===\"ar\";useEffect(()=>{if(typeof window===\"undefined\"||!slug)return;const check=()=>setInCompare(getCompareList().some(x=>x.slug===slug));check();window.addEventListener(COMPARE_EVENT,check);return()=>window.removeEventListener(COMPARE_EVENT,check);},[slug]);const cStatus=canonOf(status,CANON_STATUS);const cCategory=canonOf(category,CANON_CATEGORY);const dataCategory=cCategory||DATA_CAT_ALIASES[(category||\"\").trim()]||category||\"\";const catDisplay=cCategory?t.catLabels[cCategory]:category||\"\";const isSold=cStatus===\"Sold\";const eyebrow=[investmentGrade?`★ ${t.investmentGrade}`:\"\",catDisplay].filter(Boolean).join(\" \\xb7 \");const imgSrc=coverImage&&coverImage.src?coverImage.src:null;const ringColor=selectedRingColor||C.goldMid;const hasPrice=typeof priceFrom===\"number\"&&priceFrom>0;const propPath=slug?localePath(lang,`/real-estate/${slug}`):\"\";// Live listings: the button opens the property's own enquiry form. Sold\n// listings: it opens the property page. No slug: the contact page.\nconst ctaLabel=isSold?t.viewDetails:t.reqDetails;const ctaHref=slug?isSold?propPath:`${propPath}#pd-contact`:localePath(lang,`/contact?interest=${encodeURIComponent(\"Real Estate\")}&to=${encodeURIComponent(title||\"\")}`);const go=()=>{if(typeof window!==\"undefined\"&&slug){window.location.href=propPath;}};const goCta=e=>{e.preventDefault();e.stopPropagation();if(typeof window===\"undefined\")return;window.location.href=ctaHref;};const handleCompareToggle=e=>{e.preventDefault();e.stopPropagation();if(typeof window===\"undefined\"||!slug)return;const list=getCompareList();const exists=list.some(x=>x.slug===slug);if(exists){setCompareList(list.filter(x=>x.slug!==slug));}else{if(list.length>=COMPARE_MAX)return;const snapshot={slug,title:title||\"\",district:district||\"\",category:cCategory||DATA_CAT_ALIASES[(category||\"\").trim()]||\"\",status:cStatus,developer:developer||\"\",completionYear:completionYear||0,totalUnits:totalUnits||0,unitBeds:unitBeds||\"\",unitSize:unitSize||\"\",priceFrom:priceFrom||0,investmentGrade:!!investmentGrade,coverImageSrc:coverImage&&coverImage.src||\"\"};setCompareList([...list,snapshot]);}};const clamp2={display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"};const clamp1={whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"};const ltrValue={direction:\"ltr\",unicodeBidi:\"isolate\"};const statItem={display:\"inline-flex\",alignItems:\"center\",gap:7,minWidth:0,whiteSpace:\"nowrap\"};const stats=[];if(unitBeds)stats.push({key:\"beds\",label:`${unitBeds} ${t.beds}`,node:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(IconBed,{}),/*#__PURE__*/_jsx(\"span\",{style:ltrValue,children:unitBeds})]})});if(totalUnits)stats.push({key:\"units\",label:`${totalUnits} ${t.units}`,node:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(IconBuilding,{}),/*#__PURE__*/_jsx(\"span\",{children:`${totalUnits} ${t.units}`})]})});if(unitSize)stats.push({key:\"size\",label:unitSize,node:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(IconArea,{}),/*#__PURE__*/_jsx(\"span\",{style:ltrValue,children:unitSize})]})});const pillLabel={fontSize:isRTL?11:9,fontWeight:500,lineHeight:1,color:\"rgba(245,243,238,0.6)\",letterSpacing:isRTL?\"0\":\"0.16em\",textTransform:isRTL?\"none\":\"uppercase\",whiteSpace:\"nowrap\"};return /*#__PURE__*/_jsxs(\"div\",{role:\"link\",tabIndex:0,\"aria-label\":title||\"Property\",\"data-slug\":slug||\"\",\"data-title\":title||\"\",\"data-category\":dataCategory,\"data-status\":cStatus||status||\"\",\"data-investment-grade\":investmentGrade?\"1\":\"0\",\"data-completion-year\":completionYear||0,\"data-total-units\":totalUnits||0,\"data-price\":priceFrom||0,\"data-district\":district||\"\",\"data-developer\":developer||\"\",\"data-unit-beds\":unitBeds||\"\",\"data-unit-size\":unitSize||\"\",\"data-lat\":latitude||0,\"data-lng\":longitude||0,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onClick:go,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();go();}},style:{position:\"relative\",width:\"100%\",aspectRatio:\"4 / 5\",borderRadius:28,overflow:\"hidden\",isolation:\"isolate\",background:C.charcoal,color:C.white,cursor:\"pointer\",outline:\"none\",direction:isRTL?\"rtl\":\"ltr\",fontFamily:t.font,boxShadow:inCompare?`0 0 0 2px ${ringColor}, 0 24px 60px rgba(0,0,0,0.5)`:hovered?\"0 0 0 1px rgba(216,181,90,0.35), 0 28px 64px rgba(0,0,0,0.55)\":\"0 0 0 1px rgba(245,243,238,0.07), 0 14px 40px rgba(0,0,0,0.4)\",transform:hovered?\"translateY(-4px)\":\"translateY(0)\",transition:\"transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease\"},children:[imgSrc?/*#__PURE__*/_jsx(\"img\",{src:imgSrc,srcSet:coverImage?.srcSet,sizes:coverImage?.srcSet?IMG_SIZES:undefined,alt:coverImage?.alt||title||\"\",loading:\"lazy\",decoding:\"async\",style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\",transform:hovered?\"scale(1.05)\":\"scale(1)\",transition:\"transform 0.9s cubic-bezier(0.16,1,0.3,1)\"}}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,background:\"radial-gradient(ellipse at 50% 30%, rgba(180,125,32,0.1) 0%, transparent 60%), linear-gradient(135deg, #1E1B16 0%, #262118 50%, #1A1713 100%)\",display:\"flex\",alignItems:\"flex-start\",justifyContent:\"center\",paddingTop:\"30%\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:20,letterSpacing:\"0.3em\",color:\"rgba(216,181,90,0.22)\",fontFamily:\"Georgia, serif\",fontWeight:600},children:\"PERGAS\"})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,height:\"28%\",background:\"linear-gradient(180deg, rgba(10,10,8,0.55) 0%, rgba(10,10,8,0) 100%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,height:\"58%\",backdropFilter:\"blur(18px) saturate(115%)\",WebkitBackdropFilter:\"blur(18px) saturate(115%)\",maskImage:\"linear-gradient(to top, #000 62%, transparent)\",WebkitMaskImage:\"linear-gradient(to top, #000 62%, transparent)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,height:\"68%\",background:\"linear-gradient(to top, rgba(10,10,8,0.94) 0%, rgba(10,10,8,0.78) 45%, rgba(10,10,8,0) 100%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:16,left:isRTL?\"auto\":16,right:isRTL?16:\"auto\",zIndex:2,maxWidth:\"calc(100% - 96px)\",minHeight:42,padding:hasPrice&&!isSold?\"9px 16px 8px\":\"0 16px\",borderRadius:999,display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"flex-start\",gap:4,background:\"rgba(10,10,8,0.55)\",backdropFilter:\"blur(14px) saturate(160%)\",WebkitBackdropFilter:\"blur(14px) saturate(160%)\",border:\"1px solid rgba(216,181,90,0.38)\",boxShadow:\"inset 0 1px 0 rgba(255,255,255,0.14)\"},children:isSold?/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:7,fontSize:12.5,fontWeight:500,color:\"rgba(245,243,238,0.85)\",whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:6,height:6,borderRadius:\"50%\",background:C.sold,display:\"inline-block\"}}),t.statusLabels.Sold]}):hasPrice?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:pillLabel,children:t.startingFrom}),/*#__PURE__*/_jsx(\"span\",{style:{...ltrValue,fontFamily:\"Georgia, serif\",fontSize:19,fontWeight:600,lineHeight:1,color:C.goldLight,whiteSpace:\"nowrap\"},children:formatPrice(priceFrom)})]}):/*#__PURE__*/_jsx(\"span\",{style:{...clamp1,maxWidth:\"100%\",fontSize:12.5,fontWeight:500,color:\"rgba(245,243,238,0.85)\"},children:t.priceOnRequest})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":inCompare?t.compareRemove:t.compareAdd,\"aria-pressed\":inCompare,onClick:handleCompareToggle,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){handleCompareToggle(e);}e.stopPropagation();},style:{position:\"absolute\",top:16,right:isRTL?\"auto\":16,left:isRTL?16:\"auto\",zIndex:2,width:44,height:44,borderRadius:\"50%\",padding:0,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:inCompare?C.goldLight:\"rgba(10,10,8,0.55)\",backdropFilter:\"blur(14px) saturate(160%)\",WebkitBackdropFilter:\"blur(14px) saturate(160%)\",border:`1px solid ${inCompare?C.goldLight:\"rgba(245,243,238,0.22)\"}`,boxShadow:\"inset 0 1px 0 rgba(255,255,255,0.14)\",transition:\"background 0.2s ease, border-color 0.2s ease\"},children:/*#__PURE__*/_jsx(IconCompare,{color:inCompare?C.black:C.white})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,zIndex:2,padding:\"0 22px 22px\",display:\"flex\",flexDirection:\"column\",textAlign:isRTL?\"right\":\"left\",minWidth:0},children:[eyebrow&&/*#__PURE__*/_jsx(\"span\",{style:{...clamp1,fontSize:isRTL?11:10,fontWeight:500,color:C.goldLight,letterSpacing:isRTL?\"0\":\"0.16em\",textTransform:isRTL?\"none\":\"uppercase\",marginBottom:8},children:eyebrow}),/*#__PURE__*/_jsx(\"a\",{href:propPath||undefined,onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:{...clamp2,fontFamily:\"Georgia, serif\",fontSize:22,fontWeight:600,lineHeight:1.18,color:C.white,textDecoration:\"none\",marginBottom:10,// Latin titles keep their own order on /fa and /ar (\"5. Levent\").\nunicodeBidi:\"plaintext\"},children:title}),district&&/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",alignItems:\"center\",gap:8,minWidth:0,fontSize:13.5,color:\"rgba(245,243,238,0.72)\",marginBottom:14},children:[/*#__PURE__*/_jsx(IconMap,{}),/*#__PURE__*/_jsx(\"span\",{style:clamp1,children:district})]}),stats.length>0&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{height:1,background:\"rgba(180,125,32,0.4)\",marginBottom:12}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:stats.length>=3?\"space-between\":\"flex-start\",gap:stats.length>=3?10:20,fontSize:12.5,fontWeight:500,color:\"rgba(245,243,238,0.86)\",fontVariantNumeric:\"tabular-nums\",overflow:\"hidden\",marginBottom:16},children:stats.map(s=>/*#__PURE__*/_jsx(\"span\",{title:s.label,style:statItem,children:s.node},s.key))})]}),/*#__PURE__*/_jsx(\"a\",{href:ctaHref,onClick:goCta,onKeyDown:e=>e.stopPropagation(),onMouseEnter:()=>setCtaHover(true),onMouseLeave:()=>setCtaHover(false),style:{height:44,borderRadius:999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"0 16px\",fontSize:13.5,fontWeight:600,letterSpacing:isRTL?\"0\":\"0.02em\",textDecoration:\"none\",whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",color:ctaHover?C.black:C.goldLight,background:ctaHover?C.goldMid:\"rgba(180,125,32,0.14)\",border:`1px solid ${ctaHover?C.goldMid:\"rgba(180,125,32,0.6)\"}`,transition:\"background 0.2s ease, color 0.2s ease, border-color 0.2s ease\"},children:ctaLabel})]})]});}addPropertyControls(PropertyCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Property Title\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},district:{type:ControlType.String,title:\"District\",defaultValue:\"\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"Residential\"},status:{type:ControlType.String,title:\"Status\",defaultValue:\"Live\"},developer:{type:ControlType.String,title:\"Developer\",defaultValue:\"\"},completionYear:{type:ControlType.Number,title:\"Completion Year\",defaultValue:0,displayStepper:true},totalUnits:{type:ControlType.Number,title:\"Total Units\",defaultValue:0,displayStepper:true},unitBeds:{type:ControlType.String,title:\"Unit Beds\",defaultValue:\"\"},unitSize:{type:ControlType.String,title:\"Unit Size\",defaultValue:\"\"},priceFrom:{type:ControlType.Number,title:\"Price From (USD)\",defaultValue:0,min:0,max:1e9,step:1e3,displayStepper:false},investmentGrade:{type:ControlType.Boolean,title:\"Investment Grade\",defaultValue:false},coverImage:{type:ControlType.ResponsiveImage,title:\"Cover Image\"},latitude:{type:ControlType.Number,title:\"Latitude\",defaultValue:0,displayStepper:true},longitude:{type:ControlType.Number,title:\"Longitude\",defaultValue:0,displayStepper:true},selectedRingColor:{type:ControlType.Color,title:\"Selected Ring\",defaultValue:\"#B47D20\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PropertyCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PropertyCard.map"],"mappings":"uOAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,CAAM,CAAC,CAAC,CAAC,EACjD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,CAAQ,CAAC,CAAE,EACjI,EA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