PageSourceSearch

https://realestate.gov.eg/_next/static/chunks/03xj8-1x50lud.js

js realestate.gov.eg collected 2026-10-01 13:00:01 UTC 38,323 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73375,e=>{"use strict";var t=e.i(12012);e.s(["ChevronLeft",()=>t.default])},43432,58500,74344,e=>{"use strict";var t=e.i(75254);let a=(0,t.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,a],43432);let s=(0,t.default)("bed-double",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]]);e.s(["BedDouble",0,s],58500);let l=(0,t.default)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);e.s(["Maximize",0,l],74344)},5595,52880,69428,68371,e=>{"use strict";var t=e.i(43476),a=e.i(932),s=e.i(71645),l=e.i(57688),r=e.i(90597),o=e.i(1960),i=e.i(43432),n=e.i(46897),d=e.i(58500),c=e.i(34972),x=e.i(74344),m=e.i(75157),f=e.i(77409),u=e.i(48148),p=e.i(61745),h=e.i(37727),g=e.i(73375),y=e.i(63059),b=e.i(64659);let j=(0,e.i(75254).default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);var v=e.i(27612),N=e.i(7233),S=e.i(4997),w=e.i(26999),_=e.i(17842),C=e.i(82455),k=e.i(23252),z=e.i(10210),R=e.i(85233);let O=function(){let e=[],t=new Date;for(let a=1;a<=7;a++){let s=new Date(t);s.setDate(t.getDate()+a),e.push(s)}return e}(),M=function(){let e=[];for(let t=11;t<=17;t++)for(let a=0;a<60&&(17!==t||!(a>0));a+=30)e.push(`${t.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`);return e}();function I(e){return"ar"===e?"ar-EG":"en-US"}function P(e,t){let[a,s]=e.split(":").map(Number),l=new Date;return l.setHours(a,s,0,0),l.toLocaleTimeString(I(t),{hour:"numeric",minute:"2-digit",hour12:!0})}function T(e){return e.toISOString().split("T")[0]}let D={date:T(O[0]),time:M[0],dateOffset:0};function q(e){let{open:a,onOpenChange:l,property:r,onSuccess:o}=e,i=(0,u.useTranslations)(),n=(0,p.useLocale)(),d=(0,_.userStore)(e=>e.user),[c,x]=(0,s.useState)(1),[m,g]=(0,s.useState)(!1),[y,b]=(0,s.useState)([{...D}]),[j,v]=(0,s.useState)(null),[N,z]=(0,s.useState)(d?.name??""),[O,I]=(0,s.use
1State)(d?.email??""),[P,T]=(0,s.useState)(d?.phone??""),[q,L]=(0,s.useState)(d?.country_code?.replace("+","")??"20"),E=(0,R.dialCodeToIso2)(d?.country_code),[H,U]=(0,s.useState)(i("scheduleTourDefaultMessage",{ref:r.mlsId})),A=(0,s.useRef)(null);(0,s.useEffect)(()=>{d&&(z(d.name??""),I(d.email??""),T(d.phone??""))},[d]),(0,s.useEffect)(()=>{if(null!==j)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){A.current&&!A.current.contains(e.target)&&v(null)}},[j]);let $=(0,s.useCallback)(()=>{x(1),b([{...D}]),v(null),z(d?.name??""),I(d?.email??""),T(d?.phone??""),U(i("scheduleTourDefaultMessage",{location:r.location,ref:r.mlsId})),g(!1)},[r.mlsId,d,i]),G=(0,s.useCallback)(e=>{e||$(),l(e)},[l,$]),V=async()=>{if(!N||!O||!P)return;let e=y.map(e=>{var t,a;return t=e.date,a=e.time,`${t} ${a}`});try{g(!0),await (0,C.SCHEDULE_TOUR)({data:{property_mls_id:r.mlsId,phone:P,country_code:q,scheduled_at:e,notes:H}}),!P||d?.phone&&d?.country_code||_.userStore.getState().updateUser({phone:P,country_code:`+${q}`}),G(!1),o?.()}finally{g(!1)}};return(0,t.jsx)(w.Root,{open:a,onOpenChange:G,children:(0,t.jsxs)(w.Portal,{children:[(0,t.jsx)(w.Overlay,{className:"tour-modal-overlay fixed inset-0 z-999999999999! bg-black/30 backdrop-blur-sm"}),(0,t.jsx)("div",{className:"fixed inset-0 z-999999999999! flex items-center justify-center p-4",children:(0,t.jsx)(w.Content,{className:"tour-modal-content w-full sm:max-w-[420px] max-h-[85vh]",style:{borderRadius:"20px",backgroundColor:"#fdfdfd",border:"1px solid #fdfdfd",boxShadow:"0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03)",display:"flex",flexDirection:"column",overflow:"hidden"},children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 overflow-y-auto scrollbar-none",style:{padding:"12px"},children:[(0,t.jsxs)("div",{className:"flex items-center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"8px"},children:[(0,t.jsx)("span",{className:"flex-1 text-sm font-medium text-[#1a1d23]",style:{lineHeight:"28px"},children:1===c?i("tourRequestTitle"):i("tourConfirmTitle")}),(0,t.jsx)(w.Close,{asChild:!0,children:(0,t.jsx)("button",{className:"flex h-6 w-6 items-center justify-center rounded-full hover:bg-gray-100 cursor-pointer","aria-label":"Close",children:(0,t.jsx)(h.X,{size:18,className:"text-[#1a1d23]"})})})]}),d?1===c?(0,t.jsx)(B,{property:r,t:i,locale:n,slots:y,updateSlot:(e,t)=>{b(a=>a.map((a,s)=>s===e?{...a,...t}:a))},openDropdownIdx:j,setOpenDropdownIdx:v,dropdownRef:A,onNext:()=>x(2),addSlot:()=>{b(e=>{if(e.length>=3)return e;let t=D.date,a=e.filter(e=>e.date===t).map(e=>e.time),s=M.find(e=>!a.includes(e))??M[0];return[...e,{...D,time:s}]})},removeSlot:e=>{b(t=>t.filter((t,a)=>a!==e)),v(t=>null===t||t===e?null:t>e?t-1:t)}}):(0,t.jsx)(F,{t:i,fullName:N,setFullName:z,email:O,setEmail:I,phone:P,setPhone:T,onCountryCodeChange:L,message:H,setMessage:U,onSubmit:V,loading:m,user:d,defaultCountry:E}):(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center text-center gap-2 py-8",children:[(0,t.jsx)(S.LogIn,{size:32,strokeWidth:1.5,className:"mb-2 text-gray-400"}),(0,t.jsx)("p",{className:"text-sm font-medium text-gray-500",children:i("scheduleTourLoginRequired")}),(0,t.jsx)(k.default,{href:"/auth/login",onClick:()=>G(!1),className:"mt-3",children:(0,t.jsx)(f.default,{className:"rounded-lg bg-(--colorRed400) px-5 py-2 text-xs font-medium text-white hover:opacity-90",children:i("login")})})]})]})})})]})})}function L(e){let s,l,r,o,i,n,d,c,x,f,u,p,h,j,N,S,w,_,C,k,z,R,D=(0,a.c)(77),{slot:q,index:L,locale:B,canRemove:E,onUpdate:F,onRemove:H,openDropdownIdx:U,setOpenDropdownIdx:A,dropdownRef:$,disabledTimes:G}=e;if(D[0]!==E||D[1]!==B||D[2]!==H||D[3]!==F||D[4]!==q.date||D[5]!==q.dateOffset){let e,a,c,x=O.slice(q.dateOffset,q.dateOffset+3),f=q.dateOffset>0;s=q.dateOffset+3<O.length,n="flex flex-col gap-2 rounded-xl border border-[#eaeaea] p-2.5",D[13]!==E||D[14]!==H?(d=E&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{className:"flex items-center gap-1 text-xs text-gray-400 hover:text-[#d00000] cursor-pointer transition-colors",onClick:H,children:(0,t.jsx)(v.Trash2,{size:14})})}),D[13]=E,D[14]=H,D[15]=d):d=D[15],o="flex items-center";let u=!f;D[16]!==F||D[17]!==q.dateOffset?(e=()=>F({dateOffset:q.dateOffset-1}),D[16]=F,D[17]=q.dateOffset,D[18]=e):e=D[18],D[19]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(g.ChevronLeft,{size:18,className:"text-[#1a1d23] rtl:rotate-180"}),D[19]=a):a=D[19],D[20]!==u||D[21]!==e?(i=(0,t.jsx)("button",{className:"flex h-6 w-6 shrink-0 items-center justify-center cursor-pointer disabled:opacity-30",disabled:u,onClick:e,"aria-label":"Previous dates",children:a}),D[20]=u,D[21]=e,D[22]=i):i=D[22],l="flex flex-1 items-start justify-center gap-2",D[23]!==B||D[24]!==F||D[25]!==q.date?(c=e=>{let a=T(e),s=q.date===a;return(0,t.jsxs)("button",{className:"flex flex-1 cursor-pointer flex-col items-center justify-center",style:{borderRadius:"8px",backgroundColor:s?"#f8d9d9":"#fff",border:s?"2px solid #e62e2e":"1px solid #a7a6ab",padding:"14px 0"},onClick:()=>F({date:a}),children:[(0,t.jsx)("span",{className:(0,m.cn)("text-xs leading-5 text-[#1a1d23]",s?"font-bold":"font-normal"),children:e.toLocaleDateString(I(B),{weekday:"short"})}),(0,t.jsx)("span",{className:(0,m.cn)("text-xs leading-5 text-[#1a1d23]",s?"font-bold":"font-normal"),children:e.toLocaleDateString(I(B),{month:"short",day:"numeric"})})]},a)},D[23]=B,D[24]=F,D[25]=q.date,D[26]=c):c=D[26],r=x.map(c),D[0]=E,D[1]=B,D[2]=H,D[3]=F,D[4]=q.date,D[5]=q.dateOffset,D[6]=s,D[7]=l,D[8]=r,D[9]=o,D[10]=i,D[11]=n,D[12]=d}else s=D[6],l=D[7],r=D[8],o=D[9],i=D[10],n=D[11],d=D[12];D[27]!==l||D[28]!==r?(c=(0,t.jsx)("div",{className:l,children:r}),D[27]=l,D[28]=r,D[29]=c):c=D[29];let V=!s;D[30]!==F||D[31]!==q.dateOffset?(x=()=>F({dateOffset:q.dateOffset+1}),D[30]=F,D[31]=q.dateOffset,D[32]=x):x=D[32],D[33]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(y.ChevronRight,{size:18,className:"text-[#1a1d23] rtl:rotate-180"}),D[33]=f):f=D[33],D[34]!==V||D[35]!==x?(u=(0,t.jsx)("button",{className:"flex h-6 w-6 shrink-0 items-center justify-center cursor-pointer disabled:opacity-30",disabled:V,onClick:x,"aria-label":"Next dates",children:f}),D[34]=V,D[35]=x,D[36]=u):u=D[36],D[37]!==u||D[38]!==o||D[39]!==i||D[40]!==c?(p=(0,t.jsxs)("div",{className:o,children:[i,c,u]}),D[37]=u,D[38]=o,D[39]=i,D[40]=c,D[41]=p):p=D[41];let W=U===L?$:void 0;D[42]===Symbol.for("react.memo_cache_sentinel")?(h={borderRadius:"8px",backgroundColor:"#fdfdfd",border:"1px solid #eaeaea",padding:"0 12px"},D[42]=h):h=D[42],D[43]!==L||D[44]!==U||D[45]!==A?(j=()=>A(U===L?null:L),D[43]=L,D[44]=U,D[45]=A,D[46]=j):j=D[46],D[47]!==B||D[48]!==q.time?(N=P(q.time,B),D[47]=B,D[48]=q.time,D[49]=N):N=D[49],D[50]!==N?(S=(0,t.jsx)("span",{className:"flex-1 text-start text-sm leading-5 text-[#1a1d23]",children:N}),D[50]=N,D[51]=S):S=D[51];let K=U===L&&"rotate-180";return D[52]!==K?(w=(0,m.cn)("text-[#1a1d23] transition-transform",K),D[52]=K,D[53]=w):w=D[53],D[54]!==w?(_=(0,t.jsx)(b.ChevronDown,{size:16,className:w}),D[54]=w,D[55]=_):_=D[55],D[56]!==j||D[57]!==S||D[58]!==_?(C=(0,t.jsxs)("button",{className:"flex h-10 w-full cursor-pointer items-center",style:h,onClick:j,children:[S,_]}),D[56]=j,D[57]=S,D[58]=_,D[59]=C):C=D[59],D[60]!==G||D[61]!==L||D[62]!==B||D[63]!==F||D[64]!==U||D[65]!==A||D[66]!==q.time?(k=U===L&&(0,t.jsx)("div",{className:"absolute left-0 right-0 z-10 mt-1 max-h-[180px] overflow-y-auto filter-scroll",style:{borderRadius:"8px",backgroundColor:"#fdfdfd",border:"1px solid #eaeaea",boxShadow:"0px 8px 16px rgba(16, 24, 40, 0.08)"},children:M.map(e=>{let a=G.includes(e);return(0,t.jsx)("button",{disabled:a,className:(0,m.cn)("flex w-full items-center px-3 py-2.5 text-start text-sm leading-5",a?"opacity-40 cursor-not-allowed":"cursor-pointer hover:bg-gray-50",e===q.time?"font-medium text-[#d00000]":"text-[#7f7f7f]"),onClick:()=>{F({time:e}),A(null)},children:P(e,B)},e)})}),D[60]=G,D[61]=L,D[62]=B,D[63]=F,D[64]=U,D[65]=A,D[66]=q.time,D[67]=k):k=D[67],D[68]!==W||D[69]!==C||D[70]!==k?(z=(0,t.jsxs)("div",{className:"relative",ref:W,children:[C,k]}),D[68]=W,D[69]=C,D[70]=k,D[71]=z):z=D[71],D[72]!==p||D[73]!==z||D[74]!==n||D[75]!==d?(R=(0,t.jsxs)("div",{className:n,children:[d,p,z]}),D[72]=p,D[73]=z,D[74]=n,D[75]=d,D[76]=R):R=D[76],R}function B(e){let s,r,o,i,m,u,p,h,g,y,b,v,S,w,_,C,k,z,R,O,M,I,P,T,D,q,B,F,H,U,A,$,G,V,W,K=(0,a.c)(85),{property:X,t:Q,locale:Y,slots:J,updateSlot:Z,openDropdownIdx:ee,setOpenDropdownIdx:et,dropdownRef:ea,onNext:es,addSlot:el,removeSlot:er}=e;K[0]===Symbol.for("react.memo_cache_sentinel")?(s={borderRadius:"4px",border:"1px solid #f4f4f4",padding:"4px 8px"},K[0]=s):s=K[0],K[1]!==X.images[0]?(r=X.images[0]&&(0,t.jsx)("div",{className:"relative h-[60px] w-[81px] shrink-0 overflow-hidden rounded",children:(0,t.jsx)(l.default,{src:X.images[0].url,alt:X.images[0].alt,fill:!0,className:"object-cover",sizes:"81px"})}),K[1]=X.images[0],K[2]=r):r=K[2];let eo=X.currency;
1K[3]!==X.price?(o=X.price.toLocaleString(),K[3]=X.price,K[4]=o):o=K[4],K[5]!==X.currency||K[6]!==o?(i=(0,t.jsxs)("p",{className:"text-sm font-bold leading-7 text-[#1a1d23]",children:[eo," ",o]}),K[5]=X.currency,K[6]=o,K[7]=i):i=K[7],K[8]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(d.BedDouble,{size:12,className:"shrink-0"}),K[8]=m):m=K[8];let ei=X.beds;K[9]!==Q?(u=Q("featuredPropertyBeds"),K[9]=Q,K[10]=u):u=K[10],K[11]!==X.beds||K[12]!==u?(p=(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[m,ei," ",u]}),K[11]=X.beds,K[12]=u,K[13]=p):p=K[13],K[14]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("span",{className:"text-[#f4f4f4]",children:"|"}),K[14]=h):h=K[14],K[15]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(c.Bath,{size:12,className:"shrink-0"}),K[15]=g):g=K[15];let en=X.baths;return K[16]!==Q?(y=Q("featuredPropertyBaths"),K[16]=Q,K[17]=y):y=K[17],K[18]!==X.baths||K[19]!==y?(b=(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[g,en," ",y]}),K[18]=X.baths,K[19]=y,K[20]=b):b=K[20],K[21]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("span",{className:"text-[#f4f4f4]",children:"|"}),K[21]=v):v=K[21],K[22]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(x.Maximize,{size:12,className:"shrink-0"}),K[22]=S):S=K[22],K[23]!==X.area?(w=X.area.toLocaleString(),K[23]=X.area,K[24]=w):w=K[24],K[25]!==X.areaUnit||K[26]!==w?(_=(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[S,w," ",X.areaUnit]}),K[25]=X.areaUnit,K[26]=w,K[27]=_):_=K[27],K[28]!==b||K[29]!==_||K[30]!==p?(C=(0,t.jsxs)("div",{className:"flex items-center gap-1 text-xs leading-5 text-[#7f7f7f]",children:[p,h,b,v,_]}),K[28]=b,K[29]=_,K[30]=p,K[31]=C):C=K[31],K[32]!==Q?(k=Q("profileInquiryMlsId"),K[32]=Q,K[33]=k):k=K[33],K[34]!==X.mlsId||K[35]!==k?(z=(0,t.jsxs)("p",{className:"text-xs leading-4 text-[#7f7f7f]",children:[k,": ",X.mlsId]}),K[34]=X.mlsId,K[35]=k,K[36]=z):z=K[36],K[37]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)(n.MapPin,{size:12,className:"shrink-0"}),K[37]=R):R=K[37],K[38]!==X.location?(O=(0,t.jsxs)("div",{className:"flex items-center gap-1 text-xs leading-5 text-[#7f7f7f]",children:[R,(0,t.jsxs)("span",{className:"truncate",children:[" ",X.location]})]}),K[38]=X.location,K[39]=O):O=K[39],K[40]!==C||K[41]!==z||K[42]!==O||K[43]!==i?(M=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[i,C,z,O]}),K[40]=C,K[41]=z,K[42]=O,K[43]=i,K[44]=M):M=K[44],K[45]!==r||K[46]!==M?(I=(0,t.jsxs)("div",{className:"flex items-center self-stretch gap-2",style:s,children:[r,M]}),K[45]=r,K[46]=M,K[47]=I):I=K[47],K[48]===Symbol.for("react.memo_cache_sentinel")?(P={borderBottom:"1px solid #eaeaea",paddingBottom:"8px"},K[48]=P):P=K[48],K[49]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center",children:(0,t.jsx)(j,{size:24,className:"text-[#d00000]"})}),K[49]=T):T=K[49],K[50]!==Q?(D=Q("tourTip"),K[50]=Q,K[51]=D):D=K[51],K[52]!==D?(q=(0,t.jsxs)("div",{className:"flex items-center gap-4 self-stretch px-2",style:P,children:[T,(0,t.jsx)("p",{className:"text-sm leading-6 text-[#1a1d23]",children:D})]}),K[52]=D,K[53]=q):q=K[53],K[54]!==Q?(B=Q("tourSelectTimes"),K[54]=Q,K[55]=B):B=K[55],K[56]!==B?(F=(0,t.jsx)("p",{className:"text-base font-medium leading-6 text-[#1a1d23] px-2",children:B}),K[56]=B,K[57]=F):F=K[57],K[58]!==ea||K[59]!==Y||K[60]!==ee||K[61]!==er||K[62]!==et||K[63]!==J||K[64]!==Z?(H=J.map((e,a)=>(0,t.jsx)(L,{slot:e,index:a,locale:Y,canRemove:a>0,onUpdate:e=>Z(a,e),onRemove:()=>er(a),openDropdownIdx:ee,setOpenDropdownIdx:et,dropdownRef:ea,disabledTimes:J.filter((t,s)=>s!==a&&t.date===e.date).map(E)},a)),K[58]=ea,K[59]=Y,K[60]=ee,K[61]=er,K[62]=et,K[63]=J,K[64]=Z,K[65]=H
1):H=K[65],K[66]!==H?(U=(0,t.jsx)("div",{className:"flex flex-col gap-3 px-2",children:H}),K[66]=H,K[67]=U):U=K[67],K[68]!==el||K[69]!==J.length||K[70]!==Q?(A=J.length<3&&(0,t.jsxs)("div",{className:"flex flex-col px-2",children:[(0,t.jsx)("div",{className:"border-t border-[#eaeaea]"}),(0,t.jsxs)("button",{type:"button",className:"flex items-center gap-2 pt-3 cursor-pointer",onClick:el,children:[(0,t.jsx)("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-[#1a1d23]",children:(0,t.jsx)(N.Plus,{size:14,className:"text-white"})}),(0,t.jsx)("span",{className:"text-sm font-medium text-[#1a1d23]",children:Q("tourAddTime")})]})]}),K[68]=el,K[69]=J.length,K[70]=Q,K[71]=A):A=K[71],K[72]===Symbol.for("react.memo_cache_sentinel")?($={borderRadius:"8px",backgroundColor:"#d00000",color:"#fdfdfd",letterSpacing:"0"},K[72]=$):$=K[72],K[73]!==Q?(G=Q("tourNext"),K[73]=Q,K[74]=G):G=K[74],K[75]!==es||K[76]!==G?(V=(0,t.jsx)(f.default,{className:"h-12 w-full text-sm font-medium",style:$,onClick:es,children:G}),K[75]=es,K[76]=G,K[77]=V):V=K[77],K[78]!==I||K[79]!==q||K[80]!==F||K[81]!==U||K[82]!==A||K[83]!==V?(W=(0,t.jsxs)(t.Fragment,{children:[I,q,F,U,A,V]}),K[78]=I,K[79]=q,K[80]=F,K[81]=U,K[82]=A,K[83]=V,K[84]=W):W=K[84],W}function E(e){return e.time}function F(e){let s,l,r,o,i,n,d,c,x,m,u,p,h,g,y,b,j,v,N,S,w,_,C,k,R,O,M,I,P,T,D,q,L,B,E,F=(0,a.c)(87),{t:H,fullName:U,setFullName:A,email:$,setEmail:G,phone:V,setPhone:W,onCountryCodeChange:K,message:X,setMessage:Q,onSubmit:Y,loading:J,user:Z,defaultCountry:ee}=e;F[0]!==H?(s=H("tourConfirmHeading"),F[0]=H,F[1]=s):s=F[1],F[2]!==s?(l=(0,t.jsx)("div",{className:"flex flex-1 flex-col",children:(0,t.jsx)("h5",{className:"text-xl font-bold leading-7 text-[#2a2a33]",children:s})}),F[2]=s,F[3]=l):l=F[3],F[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"flex h-[88px] w-[88px] shrink-0 items-center justify-center",children:(0,t.jsxs)("svg",{width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"34",cy:"36",r:"22",fill:"#f8d9d9"}),(0,t.jsx)("circle",{cx:"56",cy:"44",r:"20",fill:"#fdeaea"}),(0,t.jsx)("path",{d:"M24 30c0-5.5 4.5-10 10-10h8c5.5 0 10 4.5 10 10v4c0 5.5-4.5 10-10 10h-2l-6 5v-5h-0c-5.5 0-10-4.5-10-10v-4z",fill:"#d00000"}),(0,t.jsx)("circle",{cx:"31",cy:"33",r:"1.5",fill:"white"}),(0,t.jsx)("circle",{cx:"38",cy:"33",r:"1.5",fill:"white"}),(0,t.jsx)("circle",{cx:"45",cy:"33",r:"1.5",fill:"white"}),(0,t.jsx)("path",{d:"M46 42c0-4.4 3.6-8 8-8h6c4.4 0 8 3.6 8 8v3c0 4.4-3.6 8-8 8h-1l-4 4v-4c-4.4 0-8-3.6-8-8v-3z",fill:"#1a1d23"}),(0,t.jsx)("circle",{cx:"53",cy:"44.5",r:"1.2",fill:"white"}),(0,t.jsx)("circle",{cx:"57",cy:"44.5",r:"1.2",fill:"white"}),(0,t.jsx)("circle",{cx:"61",cy:"44.5",r:"1.2",fill:"white"})]})}),F[4]=r):r=F[4],F[5]!==l?(o=(0,t.jsxs)("div",{className:"flex items-center gap-4 self-stretch",children:[l,r]}),F[5]=l,F[6]=o):o=F[6],F[7]!==H?(i=H("tourFullName"),F[7]=H,F[8]=i):i=F[8],F[9]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"text-[#d00000]",children:"*"}),F[9]=n):n=F[9],F[10]!==i?(d=(0,t.jsxs)("label",{className:"text-sm leading-5 text-[#1a1d23]",children:[i," ",n]}),F[10]=i,F[11]=d):d=F[11],F[12]!==A?(c=e=>A(e.target.value),F[12]=A,F[13]=c):c=F[13],F[14]===Symbol.for("react.memo_cache_sentinel")?(x={borderRadius:"8px",border:"1px solid #eaeaea",padding:"8px 12px"},F[14]=x):x=F[14],F[15]!==U||F[16]!==c?(m=(0,t.jsx)("input",{type:"text",value:U,onChange:c,readOnly:!0,className:"h-10 w-full bg-[#fdfdfd] text-sm text-[#1a1d23] outline-none opacity-60 cursor-not-allowed",style:x}),F[15]=U,F[16]=c,F[17]=m):m=F[17],F[18]!==m||F[19]!==d?(u=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[d,m]}),F[18]=m,F[19]=d,F[20]=u):u=F[20],F[21]!==H?(p=H("tourEmail"),F[21]=H,F[22]=p):p=F[22],F[23]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("span",{className:"text-[#d00000]",children:"*"}),F[23]=h):h=F[23],F[24]!==p?(g=(0,t.jsxs)("label",{className:"text-sm leading-5 text-[#1a1d23]",children:[p," ",h]}),F[24]=p,F[25]=g):g=F[25],F[26]!==G?(y=e=>G(e.target.value),F[26]=G,F[27]=y):y=F[27],F[28]===Symbol.for("react.memo_cache_sentinel")?(b={borderRadius:"8px",border:"1px solid #eaeaea",padding:"8px 12px"},F[28]=b):b=F[28],F[29]!==$||F[30]!==y?(j=(0,t.jsx)("input",{type:"email",value:$,onChange:y,readOnly:!0,className:"h-10 w-full bg-[#fdfdfd] text-sm text-[#1a1d23] outline-none opacity-60 cursor-not-allowed",style:b}),F[29]=$,F[30]=y,F[31]=j):j=F[31],F[32]!==g||F[33]!==j?(v=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[g,j]}),F[32]=g,F[33]=j,F[34]=v):v=F[34],F[35]!==H?(N=H("tourPhone"),F[35]=H,F[36]=N):N=F[36];let et=!(Z&&!Z.phone);F[37]!==ee||F[38]!==K||F[39]!==V||F[40]!==W||F[41]!==N||F[42]!==et?(S=(0,t.jsx)("div",{className:"flex flex-col gap-2",children:(0,t.jsx)(z.default,{label:N,name:"phone",value:V,onChange:W,onCountryCodeChange:K,mandatory:!0,defaultCountry:ee,disabled:et})}),F[37]=ee,F[38]=K,F[39]=V,F[40]=W,F[41]=N,F[42]=et,F[43]=S):S=F[43],F[44]!==H?(w=H("tourMessage"),F[44]=H,F[45]=w):w=F[45],F[46]!==w?(_=(0,t.jsx)("label",{className:"text-sm leading-5 text-[#1a1d23]",children:w}),F[46]=w,F[47]=_):_=F[47],F[48]!==Q?(C=e=>Q(e.target.value),F[48]=Q,F[49]=C):C=F[49];let ea=!Z,es=`w-full resize-none bg-[#fdfdfd] text-sm leading-5 text-[#2a2a33] outline-none ${!Z?"opacity-60 cursor-not-allowed":""}`;F[50]===Symbol.for("react.memo_cache_sentinel")?(k={borderRadius:"8px",border:"1px solid #eaeaea",padding:"8px 12px"},F[50]=k):k=F[50],F[51]!==X||F[52]!==C||F[53]!==ea||F[54]!==es?(R=(0,t.jsx)("textarea",{value:X,onChange:C,rows:3,disabled:ea,className:es,style:k}),F[51]=X,F[52]=C,F[53]=ea,F[54]=es,F[55]=R):R=F[55],F[56]!==_||F[57]!==R?(O=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[_,R]}),F[56]=_,F[57]=R,F[58]=O):O=F[58],F[59]!==u||F[60]!==v||F[61]!==S||F[62]!==O?(M=(0,t.jsxs)("div",{className:"flex flex-col gap-4 self-stretch",children:[u,v,S,O]}),F[59]=u,F[60]=v,F[61]=S,F[62]=O,F[63]=M):M=F[63],F[64]!==H||F[65]!==Z?(I=!Z&&(0,t.jsx)("p",{className:"w-full text-center text-sm text-[#D00000]",children:H("inquiryLoginRequired")}),F[64]=H,F[65]=Z,F[66]=I):I=F[66];let el=!Z,er=`h-12 w-full text-sm font-medium ${!Z?"opacity-50 cursor-not-allowed!":""}`;return F[67]===Symbol.for("react.memo_cache_sentinel")?(P={borderRadius:"8px",backgroundColor:"#d00000",color:"#fdfdfd",letterSpacing:"0"},F[67]=P):P=F[67],F[68]!==H?(T=H("tourRequestButton"),F[68]=H,F[69]=T):T=F[69],F[70]!==J||F[71]!==Y||F[72]!==el||F[73]!==er||F[74]!==T?(D=(0,t.jsx)(f.default,{loading:J,disabled:el,className:er,style:P,onClick:Y,children:T}),F[70]=J,F[71]=Y,F[72]=el,F[73]=er,F[74]=T,F[75]=D):D=F[75],F[76]===Symbol.for("react.memo_cache_sentinel")?(q={fontSize:"10px",lineHeight:"16px",color:"#596b82"},F[76]=q):q=F[76],F[77]!==H?(L=H("tourDisclaimer"),F[77]=H,F[78]=L):L=F[78],F[79]!==L?(B=(0,t.jsx)("p",{className:"self-stretch",style:q,children:L}),F[79]=L,F[80]=B):B=F[80],F[81]!==M||F[82]!==I||F[83]!==D||F[84]!==B||F[85]!==o?(E=(0,t.jsxs)(t.Fragment,{children:[o,M,I,D,B]}),F[81]=M,F[82]=I,F[83]=D,F[84]=B,F[85]=o,F[86]=E):E=F[86],E}e.s(["default",0,q],52880);var H=e.i(12497),U=e.i(99683),A=e.i(14764),$=e.i(46624),G=e.i(46944);function V(e){let{open:a,onOpenChange:l,property:r,onSuccess:o}=e,i=(0,u.useTranslations)(),n=(0,_.userStore)((0,G.useShallow)(e=>
1e.user)),[d,c]=(0,s.useState)(!1),[x,m]=(0,s.useState)({min:10,max:10}),[p,g]=(0,s.useState)(n?.country_code?.replace("+","")??"20"),y=(0,s.useMemo)(()=>(0,R.dialCodeToIso2)(n?.country_code),[n?.country_code]),b=(0,s.useMemo)(()=>U.object({phone:U.string().min(x.min,i("phoneMinDigits",{count:x.min})).max(x.max,i("phoneMaxDigits",{count:x.max})).required(i("inquiryPhoneRequired")),message:U.string()}),[x,i]),j=(0,H.useFormik)({initialValues:{phone:n?.phone??"",message:i("inquiryDefaultMessage",{ref:r.mlsId})},enableReinitialize:!0,validationSchema:b,validateOnChange:!1,validateOnBlur:!0,onSubmit:async e=>{c(!0);try{let t=await (0,C.ADD_INQUIRY)({data:{property_mls_id:r.mlsId,message:e.message,phone:e.phone,country_code:p},showSuccessToast:!0});t?.success&&(e.phone&&!n?.phone&&_.userStore.getState().updateUser({phone:e.phone,country_code:`+${p}`}),o?.()),l(!1)}catch{l(!1)}finally{c(!1)}}});return(0,t.jsx)(w.Root,{open:a,onOpenChange:l,children:(0,t.jsxs)(w.Portal,{children:[(0,t.jsx)(w.Overlay,{className:"fixed inset-0 z-999999999999! bg-black/30 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0"}),(0,t.jsx)("div",{className:"fixed inset-0 z-999999999999! flex items-center justify-center p-4",children:(0,t.jsxs)(w.Content,{className:"w-full sm:max-w-[420px] max-h-[85vh] data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",style:{borderRadius:"24px",backgroundColor:"#fdfdfd",border:"1px solid #eaeaea",boxShadow:"0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03)",overflow:"hidden"},onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",style:{padding:"16px 20px",borderBottom:"1px solid #eaeaea"},children:[(0,t.jsx)("h2",{style:{fontSize:"16px",fontWeight:600,lineHeight:"24px",color:"#1a1d23"},children:i("inquiryModalTitle")}),(0,t.jsx)("button",{type:"button",onClick:()=>l(!1),className:"flex items-center justify-center cursor-pointer",style:{width:"28px",height:"28px",borderRadius:"50%",border:"1px solid #eaeaea",backgroundColor:"#fdfdfd"},children:(0,t.jsx)(h.X,{size:14,style:{color:"#7f7f7f"}})})]}),(0,t.jsx)("div",{className:"overflow-y-auto",style:{padding:"20px",maxHeight:"calc(85vh - 70px)"},children:n?(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault(),e.stopPropagation(),j.handleSubmit()},className:"flex flex-col",style:{gap:"16px"},children:[(0,t.jsx)($.default,{label:i("inquiryName"),type:"text",name:"name",value:n.name||"",readOnly:!0,mandatory:!0,className:"w-full border border-gray-200 rounded-lg px-3 py-2.5 opacity-60 cursor-not-allowed"}),(0,t.jsx)(z.default,{name:"phone",label:i("inquiryPhone"),placeholder:i("inquiryPhone"),value:j.values.phone,onChange:e=>j.setFieldValue("phone",e),onCountryCodeChange:g,onCountryDigitsC
1hange:m,onBlur:()=>j.setFieldTouched("phone",!0),mandatory:!0,touched:j.touched.phone,error:j.errors.phone,defaultCountry:y,disabled:!!(n&&n.phone)}),(0,t.jsx)($.default,{label:i("inquiryEmail"),type:"email",name:"email",value:n.email||"",mandatory:!0,readOnly:!0,className:"w-full border border-gray-200 rounded-lg px-3 py-2.5 opacity-60 cursor-not-allowed"}),(0,t.jsxs)("div",{className:"flex flex-col",style:{gap:"6px"},children:[(0,t.jsx)("label",{style:{fontSize:"14px",lineHeight:"20px",color:"#1a1d23"},children:i("inquiryMessage")}),(0,t.jsx)("textarea",{name:"message",value:j.values.message,onChange:j.handleChange,onBlur:j.handleBlur,rows:3,className:"outline-none",style:{width:"100%",borderRadius:"8px",border:"1px solid #eaeaea",backgroundColor:"#fdfdfd",padding:"8px 12px",fontSize:"14px",lineHeight:"20px",color:"#1a1d23",resize:"none"}})]}),(0,t.jsxs)(f.default,{type:"submit",loading:d,loadingKey:"addInquiry",disabled:d,className:"w-full flex items-center justify-center gap-2",style:{height:"44px",borderRadius:"8px",backgroundColor:"#d00000",color:"#fdfdfd",fontSize:"14px",fontWeight:500},children:[(0,t.jsx)(A.Send,{size:16}),i("inquirySend")]})]}):(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 py-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-center rounded-full",style:{width:"56px",height:"56px",backgroundColor:"#fff1f1"},children:(0,t.jsx)(S.LogIn,{size:24,style:{color:"#d00000"}})}),(0,t.jsx)("p",{className:"text-center",style:{fontSize:"14px",lineHeight:"20px",color:"#7f7f7f"},children:i("inquiryLoginRequired")}),(0,t.jsx)(k.default,{href:"/auth/login",className:"flex items-center justify-center",style:{height:"40px",width:"100%",borderRadius:"8px",backgroundColor:"#d00000",color:"#fdfdfd",fontSize:"14px",fontWeight:500},children:i("auth.login")})]})})]})})]})})}var W=e.i(23786);function K(e){let t,l,r,o=(0,a.c)(8);o[0]!==e?(t=()=>W.propertyStore.getState().properties.some(t=>t.id===e.id),o[0]=e,o[1]=t):t=o[1];let i=(0,s.useSyncExternalStore)(W.propertyStore.subscribe,t,Y),n=(0,s.useSyncExternalStore)(W.propertyStore.subscribe,Q,X);o[2]!==e?(l=()=>{W.propertyStore.getState().toggleProperty(e)},o[2]=e,o[3]=l):l=o[3];let d=l;return o[4]!==i||o[5]!==n||o[6]!==d?(r={compared:i,full:n,toggleCompare:d},o[4]=i,o[5]=n,o[6]=d,o[7]=r):r=o[7],r}function X(){return!1}function Q(){return W.propertyStore.getState().properties.length>=3}function Y(){return!1}e.s(["default",0,K],69428);var J=e.i(46696),Z=e.i(30788);function ee(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0,{isAuthenticated:l}=(0,Z.useAuthStatus)(),r=(0,u.useTranslations)(),[o,i]=(0,s.useState)(t),[n,d]=(0,s.useState)(!1),c=(0,s.useRef)(!1);(0,s.useEffect)(()=>{i(t)},[t]),(0,s.useEffect)(()=>{let t=t=>{let a=t.detail;if(a?.mlsId===e){if(c.current){c.current=!1;return}i(e=>!e)}};return window.addEventListener("favorites-updated",t),()=>window.removeEventListener("favorites-updated",t)},[e]);let x=(0,s.useCallback)(async()=>{if(!l)return void J.toast.error(r("authRequired"));if(!n){i(e=>!e),d(!0);try{let t=await (0,C.TOGGLE_FAVORITE)({property_mls_id:e});t?.success?(c.current=!0,window.dispatchEvent(new CustomEvent("favorites-updated",{detail:{mlsId:e}})),a?.(e)):i(e=>!e)}catch{i(e=>!e)}finally{d(!1)}}},[l,n,e,a,r]);return{isFavorited:o,isLoading:n,toggleFavorite:x}}e.s(["default",0,ee],68371);var et=e.i(93306),ea=e.i(31799);function es(e){e.stopPropagation(),e.preventDefault()}e.s(["default",0,function(e){let p,h,g,y,b,j,v,N,S,w,_,C,z,R,O,M,I,P,T,D,L,B,E,F,H,U,A,$,G,W,X,Q,Y,J,Z,el,er,eo,ei,en,ed,ec,ex,em,ef,eu,ep,eh,eg,ey=(0,a.c)(129),{property:eb,onFavorite:ej,className:ev,priceAsHeading:eN,priority:eS}=e,ew=void 0!==eS&&eS,[e_,eC]=(0,s.useState)(!1),[ek,ez]=(0,s.useState)(!1),[eR,eO]=(0,s.useState)(!1),[eM,eI]=(0,s.useState)(!!eb.has_inquiry),[eP,eT]=(0,s.useState)(!!eb.has_scheduled_tour),eD=(0,u.useTranslations)(),{compared:eq,full:eL,toggleCompare:eB}=K(eb),{isFavorited:eE,isLoading:eF,toggleFavorite:eH}=ee(eb.mlsId,eb.isFavorited??!1,ej);ey[0]!==eb.sub_type1?(p=eb.sub_type1?.toLowerCase(),ey[0]=eb.sub_type1,ey[1]=p):p=ey[1];let eU="commercial"===p;ey[2]!==eb.city||ey[3]!==eb.district||ey[4]!==eb.government||ey[5]!==eb.mlsId||ey[6]!==eb.sub_type1||ey[7]!==eb.sub_type2?(h=(0,ea.getPropertyHref)({mainType:eb.sub_type1,subType:eb.sub_type2,governorate:eb.government,city:eb.city,area:eb.district,mls:eb.mlsId}),ey[2]=eb.city,ey[3]=eb.district,ey[4]=eb.government,ey[5]=eb.mlsId,ey[6]=eb.sub_type1,ey[7]=eb.sub_type2,ey[8]=h):h=ey[8],ey[9]!==ev?(g=(0,m.cn)("flex w-full cursor-pointer flex-col rounded-2xl border border-[#f4f4f4] text-sm text-[#7f7f7f] shadow-sm",ev),ey[9]=ev,ey[10]=g):g=ey[10],ey[11]!==e_?(y=!e_&&(0,t.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gray-200 animate-pulse"}),ey[11]=e_,ey[12]=y):y=ey[12],ey[13]!==e_||ey[14]!==ew||ey[15]!==eb.images[0]?(b=eb.images[0]&&(0,t.jsx)(l.default,{src:eb.images[0].url,alt:eb.images[0].alt,fill:!0,className:(0,m.cn)("rounded-2xl object-cover transition-opacity duration-300",e_?"opacity-100":"opacity-0"),sizes:"(max-width: 640px) 85vw, (max-width: 768px) 45vw, 332px",priority:ew,fetchPriority:ew?"high":"auto",loading:ew?"eager":"lazy",onLoad:()=>eC(!0)}),ey[13]=e_,ey[14]=ew,ey[15]=eb.images[0],ey[16]=b):b=ey[16],ey[17]!==y||ey[18]!==b?(j=(0,t.jsxs)("div",{className:"relative aspect-[332.5/249.4] w-full",children:[y,b]}),ey[17]=y,ey[18]=b,ey[19]=j):j=ey[19];let eA=eq?"var(--color-primary)":"#eee";ey[20]!==eA?(v={backgroundColor:eA,borderRadius:"9999px",boxShadow:"0px 1px 2px rgba(0, 0, 0, 0.05)"},ey[20]=eA,ey[21]=v):v=ey[21];let e$=!eq&&eL;ey[22]!==eD?(N=eD("featuredPropertyCompare"),ey[22]=eD,ey[23]=N):N=ey[23];let eG=eq?"text-white":"text-foreground-primary";ey[24]!==eG?(S=(0,t.jsx)(o.GitCompareArrows,{size:20,className:eG}),ey[24]=eG,ey[25]=S):S=ey[25],ey[26]!==e$||ey[27]!==N||ey[28]!==S||ey[29]!==v||ey[30]!==eB?(w=(0,t.jsx)(f.default,{className:"h-8 w-8 p-0 rounded-full shadow-sm tracking-normal",style:v,disabled:e$,onClick:eB,"aria-label":N,children:S}),ey[26]=e$,ey[27]=N,ey[28]=S,ey[29]=v,ey[30]=eB,ey[31]=w):w=ey[31];let eV=eE?"var(--color-primary)":"#eee";ey[32]!==eV?(_={backgroundColor:eV,borderRadius:"9999px",boxShadow:"0px 1px 2px rgba(0, 0, 0, 0.05)",letterSpacing:"0"},ey[32]=eV,ey[33]=_):_=ey[33],ey[34]!==eD?(C=eD("featuredPropertyFavorite"),ey[34]=eD,ey[35]=C):C=ey[35];let eW=eE?"fill-white text-white":"text-foreground-primary";
1ey[36]!==eW?(z=(0,m.cn)(eW),ey[36]=eW,ey[37]=z):z=ey[37],ey[38]!==z?(R=(0,t.jsx)(r.Heart,{size:20,className:z}),ey[38]=z,ey[39]=R):R=ey[39],ey[40]!==eF||ey[41]!==_||ey[42]!==C||ey[43]!==R||ey[44]!==eH?(O=(0,t.jsx)(f.default,{className:"h-8 w-8 p-0",style:_,disabled:eF,onClick:eH,"aria-label":C,children:R}),ey[40]=eF,ey[41]=_,ey[42]=C,ey[43]=R,ey[44]=eH,ey[45]=O):O=ey[45],ey[46]!==w||ey[47]!==O?(M=(0,t.jsxs)("div",{className:"absolute top-3 end-3 z-1 flex items-start gap-1.5",onClick:es,children:[w,O]}),ey[46]=w,ey[47]=O,ey[48]=M):M=ey[48],ey[49]!==M||ey[50]!==j?(I=(0,t.jsxs)("div",{className:"relative isolate self-stretch overflow-hidden",children:[j,M]}),ey[49]=M,ey[50]=j,ey[51]=I):I=ey[51],ey[52]!==eN||ey[53]!==eb.price?(P=eN?(0,t.jsxs)("h2",{className:"w-full text-lg font-bold leading-7 text-foreground-primary",children:["EGP ",(0,et.FormatNumber)(eb.price)]}):(0,t.jsxs)("p",{className:"w-full text-lg font-bold leading-7 text-foreground-primary",children:["EGP ",(0,et.FormatNumber)(eb.price)]}),ey[52]=eN,ey[53]=eb.price,ey[54]=P):P=ey[54],ey[55]!==eU||ey[56]!==eb.beds||ey[57]!==eD?(T=!eU&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(d.BedDouble,{size:14,className:"shrink-0"}),(0,t.jsxs)("span",{children:[eb.beds," ",eD("featuredPropertyBeds")]})]}),(0,t.jsx)("span",{className:"text-[#f4f4f4]",children:"|"})]}),ey[55]=eU,ey[56]=eb.beds,ey[57]=eD,ey[58]=T):T=ey[58],ey[59]===Symbol.for("react.memo_cache_sentinel")?(D=(0,t.jsx)(c.Bath,{size:14,className:"shrink-0"}),ey[59]=D):D=ey[59];let eK=eb.baths;ey[60]!==eD?(L=eD("featuredPropertyBaths"),ey[60]=eD,ey[61]=L):L=ey[61],ey[62]!==eb.baths||ey[63]!==L?(B=(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[D,(0,t.jsxs)("span",{children:[eK," ",L]})]}),ey[62]=eb.baths,ey[63]=L,ey[64]=B):B=ey[64],ey[65]===Symbol.for("react.memo_cache_sentinel")?(E=(0,t.jsx)("span",{className:"text-[#f4f4f4]",children:"|"}),ey[65]=E):E=ey[65],ey[66]===Symbol.for("react.memo_cache_sentinel")?(F=(0,t.jsx)(x.Maximize,{size:14,className:"shrink-0"}),ey[66]=F):F=ey[66],ey[67]!==eb.area?(H=Math.round(eb.area).toLocaleString(),ey[67]=eb.area,ey[68]=H):H=ey[68],ey[69]!==eD?(U=eD("propertySqft"),ey[69]=eD,ey[70]=U):U=ey[70],ey[71]!==H||ey[72]!==U?(A=(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[F,(0,t.jsxs)("span",{children:[H," ",U]})]}),ey[71]=H,ey[72]=U,ey[73]=A):A=ey[73],ey[74]!==T||ey[75]!==B||ey[76]!==A?($=(0,t.jsxs)("div",{className:"flex w-full items-center gap-1 text-sm leading-5 text-[#7f7f7f]",children:[T,B,E,A]}),ey[74]=T,ey[75]=B,ey[76]=A,ey[77]=$):$=ey[77],ey[78]===Symbol.for("react.memo_cache_sentinel")?(G=(0,t.jsx)(n.MapPin,{size:14,className:"shrink-0"}),ey[78]=G):G=ey[78],ey[79]!==eb.location?(W=(0,t.jsxs)("div",{className:"flex w-full items-center gap-1 pt-1 text-sm leading-5 text-[#7f7f7f]",children:[G,(0,t.jsx)("span",{className:"truncate",children:eb.location})]}),ey[79]=eb.location,ey[80]=W):W=ey[80],ey[81]!==P||ey[82]!==$||ey[83]!==W?(X=(0,t.jsx)("div",{className:"flex flex-col items-start self-stretch p-4",children:(0,t.jsxs)("div",{className:"flex w-full flex-col items-start gap-1",children:[P,$,W]})}),ey[81]=P,ey[82]=$,ey[83]=W,ey[84]=X):X=ey[84],ey[85]!==eD?(Q=eD("findDetailMls"),ey[85]=eD,ey[86]=Q):Q=ey[86],ey[87]!==eb.mlsId||ey[88]!==Q?(Y=(0,t.jsxs)("h3",{className:"flex-1 text-xs leading-4 text-[#7f7f7f]",children:[Q,": ",eb.mlsId]}),ey[87]=eb.mlsId,ey[88]=Q,ey[89]=Y):Y=ey[89];let eX=`h-8 w-[104px] px-2 text-xs ${eP?"opacity-50 cursor-not-allowed!":""}`;ey[90]===Symbol.for("react.memo_cache_sentinel")?(J={borderRadius:"4px",backgroundColor:"#d00000",color:"#fdfdfd",boxShadow:"0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03)",letterSpacing:"0",fontWeight:"400"},ey[90]=J):J=ey[90],ey[91]===Symbol.for("react.memo_cache_sentinel")?(Z=()=>ez(!0),ey[91]=Z):Z=ey[91],ey[92]!==eD?(el=eD("featuredPropertyScheduleTour"),ey[92]=eD,ey[93]=el):el=ey[93],ey[94]!==eP||ey[95]!==eX||ey[96]!==el?(er=(0,t.jsx)(f.default,{className:eX,style:J,disabled:eP,onClick:Z,children:el}),ey[94]=eP,ey[95]=eX,ey[96]=el,ey[97]=er):er=ey[97];let eQ=`h-8 px-2 ${eM?"opacity-50 cursor-not-allowed!":""}`;return ey[98]===Symbol.for("react.memo_cache_sentinel")?(eo={borderRadius:"16px",backgroundColor:"#fdfdfd",border:"1px solid #eaeaea",boxShadow:"0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03)",letterSpacing:"0"},ey[98]=eo):eo=ey[98],ey[99]===Symbol.for("react.memo_cache_sentinel")?(ei=()=>eO(!0),ey[99]=ei):ei=ey[99],ey[100]!==eD?(en=eD("featuredPropertyCall"),ey[100]=eD,ey[101]=en):en=ey[101],ey[102]===Symbol.for("react.memo_cache_sentinel")?(ed=(0,t.jsx)(i.Phone,{size:16,className:"text-primary"}),ey[102]=ed):ed=ey[102],ey[103]!==eM||ey[104]!==eQ||ey[105]!==en?(ec=(0,t.jsx)(f.default,{className:eQ,style:eo,disabled:eM,onClick:ei,"aria-label":en,children:ed}),ey[103]=eM,ey[104]=eQ,ey[105]=en,ey[106]=ec):ec=ey[106],ey[107]!==Y||ey[108]!==er||ey[109]!==ec?(ex=(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 self
1-stretch rounded-b-2xl border-t border-[#f4f4f4] p-4 text-xs",onClick:es,children:[Y,er,ec]}),ey[107]=Y,ey[108]=er,ey[109]=ec,ey[110]=ex):ex=ey[110],ey[111]===Symbol.for("react.memo_cache_sentinel")?(em=()=>eT(!0),ey[111]=em):em=ey[111],ey[112]!==eb||ey[113]!==ek?(ef=(0,t.jsx)(q,{open:ek,onOpenChange:ez,property:eb,onSuccess:em}),ey[112]=eb,ey[113]=ek,ey[114]=ef):ef=ey[114],ey[115]===Symbol.for("react.memo_cache_sentinel")?(eu=()=>eI(!0),ey[115]=eu):eu=ey[115],ey[116]!==eb||ey[117]!==eR?(ep=(0,t.jsx)(V,{open:eR,onOpenChange:eO,property:eb,onSuccess:eu}),ey[116]=eb,ey[117]=eR,ey[118]=ep):ep=ey[118],ey[119]!==ef||ey[120]!==ep?(eh=(0,t.jsxs)("div",{onClick:es,children:[ef,ep]}),ey[119]=ef,ey[120]=ep,ey[121]=eh):eh=ey[121],ey[122]!==I||ey[123]!==h||ey[124]!==X||ey[125]!==g||ey[126]!==ex||ey[127]!==eh?(eg=(0,t.jsxs)(k.default,{href:h,className:g,children:[I,X,ex,eh]}),ey[122]=I,ey[123]=h,ey[124]=X,ey[125]=g,ey[126]=ex,ey[127]=eh,ey[128]=eg):eg=ey[128],eg}],5595)}]);

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.