1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/routes-B3w8rTxk.js","assets/rolldown-runtime-QTnfLwEv.js","assets/sentry-C5mSwRLu.js","assets/link-DciuEjuc.js","assets/createServerFn-CsnFMCCh.js","assets/not-found-i5RsCZif.js","assets/shared-runtime-BrPBoBo3.js","assets/utils-DwfkqAKn.js","assets/useStore-DZ7WM9QW.js","assets/with-selector-CohuHUZq.js","assets/useRouter-CSinl46-.js","assets/awaited-CK6NjdCM.js","assets/root-DLTE-HSj.js","assets/locale-messages-Cyk8Fozq.js","assets/runtime-DtptkwDy.js","assets/useNavigate-ZsXR6tMH.js","assets/dist-BawyjGbQ.js","assets/schemas-5Z7vksQM.js","assets/search-schema-WnWvsHEJ.js","assets/chevron-down-Bdna7wtw.js","assets/createLucideIcon-wvTPqVsA.js","assets/heart-Crf_P9D3.js","assets/play-DMKfv5il.js","assets/search-BKvBwK8E.js","assets/PublicLayout-B1lahtJb.js","assets/locales-DhIjB791.js","assets/LanguageSwitcher-BsccnKj-.js","assets/useMatch-BI4dHkLv.js","assets/matchContext-BN414JXD.js","assets/check-CEKKNLBH.js","assets/utils-DqNhCx4L.js","assets/bundle-mjs-B_AA55HL.js","assets/utils-DHPhewPu.js","assets/popover-D6ScRcHE.js","assets/react-dom-DPLUkIK9.js","assets/useRenderElement-DrFF_0Rr.js","assets/button-BHF5-5iJ.js","assets/createBaseUIEventDetails-Dk2M6Fem.js","assets/dialog-DHGrOcz1.js","assets/useTransitionStatus-YHaPK01G.js","assets/HugeiconsIcon-BFyabJMF.js","assets/safePolygon-SOL4qZiU.js","assets/textarea-iCe2TGvy.js","assets/dist-D9ehMdgq.js","assets/TranslatedPathParamsContext-BKP866zR.js","assets/command-BM_T9sdz.js","assets/input-BL4Peq-K.js","assets/3x2-BS4laH55.js","assets/site-config-CY8uOU1v.js","assets/country-resolver-Cii_7zh6.js","assets/country-display-BjA0bByD.js","assets/queryOptions-D5n76UJu.js","assets/useMutation-DzpM5oWU.js","assets/api-client-DlxYM9mr.js","assets/auth-client-C1UlB59S.js","assets/AuthContext-3hFlvovY.js","assets/posthog-client-Djddh7YB.js","assets/idle-task-D9ACjxM6.js","assets/mail-B1Mbt1o7.js","assets/x-mbh47l0d.js","assets/a11y_globihomehome3-BfyKAqlg.js","assets/publicfooter_countries3-C47cP_vq.js","assets/iconBase-Dx6QsT-L.js","assets/public-countries-e8d_NtEs.js","assets/utils-CptDBtGr.js","assets/initials-avatar-Dnw_AbEK.js","assets/sheet-2fWOEmP7.js","assets/CompositeList-Cxh3IQdp.js","assets/useFocus-DfPRNbO5.js","assets/isElementDisabled-l1xrc8y1.js","assets/language-utils-BAgWmh-p.js","assets/public-auth-link-GiNtkD6z.js","assets/mode-aware-logo-DCfyT9Nc.js","assets/theme-provider-nqQfTtTn.js","assets/AiSparkleIcon-DYpQl8wh.js","assets/search_filters_storage1-DHfUr7uG.js","assets/search_home_seeall2-DGMjzWVf.js","assets/SearchLocationPicker-CTEqvrbR.js","assets/loader-circle-URrqod4L.js","assets/map-pin-DSsverxJ.js","assets/select-DPcgw-zw.js","assets/resolveValueLabel-CjHg94su.js","assets/resolveAriaLabelledBy-iFo8AzEr.js","assets/CSPContext-CK5ybcTm.js","assets/styles-ChPC8sx_.js","assets/processed-image-BH27wOLW.js","assets/skeleton-1tGWSgjJ.js"])))=>i.map(i=>d[i]); 2import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{p as t}from"./sentry-C5mSwRLu.js";import{t as n}from"./link-DciuEjuc.js";import{n as r,t as i}from"./lazyRouteComponent-C9F1EOWu.js";import{r as a,t as o}from"./locale-messages-Cyk8Fozq.js";import{C as s,w as c}from"./shared-runtime-BrPBoBo3.js";import{T as l,n as u}from"./queryOptions-D5n76UJu.js";import{r as d}from"./runtime-DtptkwDy.js";import{t as f}from"./BlogPostsListArticle-BWOGwSX8.js";import{t as p}from"./blog_recentlypublished3-Cj9kFBns.js";import{s as m}from"./use-listing-interactions-Bjyk3liF.js";import{t as h}from"./PropertyCard-BIf32oUp.js";import{t as g}from"./search_home_seeall2-DGMjzWVf.js";import{n as _,u as v}from"./utils-DHPhewPu.js";import{t as y}from"./listing-mappers-DNhLJPg4.js";import{t as b}from"./pagination-BYK7Nu86.js";import{n as x,t as S}from"./listings-wlfaXhH0.js";import{t as C}from"./meta-Brw3UiU9.js";import{i as w,r as T}from"./site-CDTPoG-x.js";import{c as E}from"./blog-BBh187Ss.js";import{r as D}from"./shorts-C2vFra3Y.js";var O=(e,t={})=>(o(t.locale??d()).home_metadescription3??a(`home_metadescription3`))(e),k=(e,t={})=>(o(t.locale??d()).home_metatitle3??a(`home_metatitle3`))(e),A=(e,t={})=>(o(t.locale??d()).search_home_paginationgotopage4??a(`search_home_paginationgotopage4`))(e),j=(e,t={})=>(o(t.locale??d()).search_home_paginationlabel2??a(`search_home_paginationlabel2`))(e),M=(e,t={})=>(o(t.locale??d()).search_home_paginationnext2??a(`search_home_paginationnext2`))(e),N=(e,t={})=>(o(t.locale??d()).search_home_paginationprevious2??a(`search_home_paginationprevious2`))(e),P=(e,t={})=>(o(t.locale??d()).search_home_recentlyaddedtitle3??a(`search_home_recentlyaddedtitle3`))(e),F=e(t(),1),I=s();function L({initialResults:e,locale:t}){let[r,i]=(0,F.useState)(0),a=(0,F.useRef)(null),o=r===0,s=u({queryKey:[`home`,`recently-added`,t,r,{includeTotal:o}],queryFn:()=>x({data:{sort:`published_at_desc`,includeFacets:!1,includeTotal:o,limit:16,page:r,locale:t}}),initialData:r===0?e:void 0,placeholderData:l,staleTime:300*1e3}),c=s.data??e,d=(0,F.useMemo)(()=>c.items.map(y),[c.items]),f=m((0,F.useMemo)(()=>d.map(e=>({id:e.id,authority:`provisional`,interaction:e.interaction})),[d])),p=c.total??e.total,v=Math.max(1,Math.ceil(p/16)),b=(0,F.useCallback)(e=>{e!==r&&(i(e),a.current?.scrollIntoView({behavior:`smooth`,block:`start`}))},[r]);return d.length===0?null:(0,I.jsx)(`section`,{ref:a,"aria-labelledby":`recently-added-heading`,className:`mx-auto w-full max-w-[1296px] px-4 py-10 sm:px-6 lg:py-14 xl:px-0`,children:(0,I.jsxs)(`div`,{className:`flex flex-col gap-8`,children:[(0,I.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,I.jsx)(`h2`,{id:`recently-added-heading`,className:`text-[32px] font-semibold leading-[1.5] tracking-[-1.6px] text-heading-globi`,children:P()}),(0,I.jsx)(n,{to:`/search`,search:{sort:`published_at_desc`},className:`shrink-0 text-[15px] font-medium leading-[1.5] tracking-[-0.6px] text-[var(--text-link)] transition-opacity hover:opacity-80`,children:g()})]}),(0,I.jsx)(`div`,{className:_(`grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4`,s.isFetching&&`opacity-70 transition-opacity`),children:d.map(e=>(0,I.jsx)(h,{listing:{...e,interaction:f.getInteraction(e.id)},isFavorite:f.getInteraction(e.id).isSaved,onToggleFavorite:e=>f.recordAction(e,f.getInteraction(e).isSaved?`UNSAVE`:`SAVE`,`listing_card_heart`),linkToDetail:!!e.slug},e.id))}),v>1&&(0,I.jsx)(R,{page:r,totalPages:v,onChange:b})]})})}function R({page:e,totalPages:t,onChange:n}){let r=e+1,i=b(r,t),a=e>0,o=e<t-1;return(0,I.jsxs)(`nav`,{"aria-label":j(),className:`flex items-center justify-between border-t border-[#f2f4f9] pt-5 dark:border-border`,children:[(0,I.jsx)(`button`,{type:`button`,onClick:()=>a&&n(e-1),disabled:!a,className:_(`rounded-xl px-3 py-2 text-[14px] font-medium leading-[1.6] tracking-[-0.56px] text-[var(--text-link)] transition-colors`,a?`hover:bg-[#eff2fe]`:`cursor-not-allowed opacity-55`),children:N()}),(0,I.jsx)(`div`,{className:`flex items-center gap-0.5`,children:i.map((e,t)=>e===`ellipsis`?(0,I.jsx)(`span`,{"aria-hidden":`true`,className:`flex size-10 items-center justify-center text-[14px] font-medium leading-[1.6] tracking-[-0.56px] text-[#5f668b]`,children:`â¦`},`ellipsis-${t}`):(0,I.jsx)(`button`,{type:`button`,onClick:()=>n(e-1),disabled:e===r,"aria-current":e===r?`page`:void 0,"aria-label":e===r?void 0:A({page:String(e)}),className:_(`flex size-10 items-center justify-center rounded-full text-[14px] font-medium leading-[1.6] tracking-[-0.56px] transition-colors`,e===r?`bg-[#6380f2] text-white`:`text-[#5f668b] hover:bg-[#eff2fe] dark:text-muted-foreground`),children:e},e))}),(0,I.jsx)(`button`,{type:`button`,onClick:()=>o&&n(e+1),disabled:!o,className:_(`rounded-xl px-3 py-2 text-[14px] font-medium leading-[1.6] tracking-[-0.56px] text-[var(--text-link)] transition-colors`,o?`hover:bg-[#eff2fe]`:`cursor-not-allowed opacity-55`),children:M()})]})}async function z(e){try{return S(await e)}catch(e){return console.error(`[HomeRouteLoader] Recent listings unavailable`,{error:e}),{items:[],total:0,page:0,limit:16,hasMore:!1,nextCursor:null}}}function B({posts:e}){let t=e.slice(0,4);return t.length===0?null:(0,I.jsx)(`section`,{"aria-labelledby":`recently-published-heading`,className:`mx-auto w-full max-w-[1296px] px-4 py-10 sm:px-6 lg:py-14 xl:px-0`,children:(0,I.jsxs)(`div`,{className:`flex flex-col gap-8`,children:[(0,I.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,I.jsx)(`h2`,{id:`recently-published-heading`,className:`text-[32px] font-semibold leading-[1.5] tracking-[-1.6px] text-heading-globi`,children:p()}),(0,I.jsx)(n,{to:`/blog`,className:`shrink-0 text-[15px] font-medium leading-[1.5] tracking-[-0.6px] text-[var(--text-link)] transition-opacity hover:opacity-80`,children:g()})]}),(0,I.jsx)(`div`,{className:`grid grid-cols-1 gap-5 lg:grid-cols-2`,children:t.map(e=>(0,I.jsx)(f,{article:e,variant:`compact`},e._id))})]})})}var V=r(`/`)({loader:()=>{let e=d();return{locale:e,recentListings:z(x({data:{sort:`published_at_desc`,includeFacets:!1,includeTotal:!0,limit:16,page:0,locale:e}})),blogPosts:E({data:{limit:4}}).then(e=>e.posts).catch(()=>[]),trendingShorts:D().catch(()=>[])}},head:()=>{let e=d(),t=k(),n=O(),r=v(`/`,e);return C({title:t,description:n,alternates:r,locale:e,url:r.canonical,type:`Mar
2keting`,jsonLd:[T({url:r.canonical}),w({url:r.canonical})]})},component:i(()=>c(()=>import(`./routes-B3w8rTxk.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86])),`component`)});export{B as n,L as r,V as t};
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.