1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DXanTzGD.js","./hRFt3Tuk.js","./D8644rYh.js","./entry.BEcYSWnQ.css","./BlUlAP2D.js","./Cwm7gl9R.js","./DlAUqK2U.js","./NeighborhoodMap.gLo-gl5-.css"])))=>i.map(i=>d[i]); 2import{e as Q,x as $e,C as ne,c as n,F as E,r as U,q as k,o as a,a as t,t as o,d as $,l as s,k as i,z as j,w as Se,_ as Ce,f as J,g as Pe,X as Le,b as f,p as D,K as De,N as Oe,s as Ke,D as ze,m as Re,i as re,j as se,y as Ge,a5 as He,Y as X,a1 as We,aG as Ye,u as be,E as Xe,n as ae,h as xe,aE as Je,as as Qe,S as ge}from"./D8644rYh.js";import{_ as Ze}from"./nOwq7953.js";import{_ as et}from"./BcAUFxgk.js";import ie from"./BlUlAP2D.js";import{_ as tt}from"./BUCShxJ9.js";import{f as M,a as le}from"./Dem3fb71.js";import{_ as ot,P as rt}from"./BRQ1yT_P.js";import{a as Ee,c as _e}from"./Cx9uHq_g.js";import{L as st}from"./C6_vMGcy.js";import{_ as at}from"./DJEHweAO.js";import{a as lt}from"./umGG1dom.js";import{u as qe,a as nt}from"./MRLRowXz.js";import{f as it}from"./57Hq3P5u.js";import{i as ke}from"./DTyAfwdP.js";import{u as dt}from"./DknTJ8Rd.js";import{a as ut}from"./pRSGnVRC.js";import"./DlAUqK2U.js";import"./Kkw9fBGj.js";import"./GOr6ghrU.js";import"./DyocCgo-.js";const ct={class:"rounded-2xl border border-gray-200 dark:border-white/10 overflow-hidden"},pt={class:"w-16 shrink-0 flex items-center justify-center text-[11px] uppercase tracking-wide text-grey-text dark:text-white/50 bg-gray-50 dark:bg-ink-800 border-r border-gray-100 dark:border-white/5"},mt={class:"flex-1 flex gap-1.5 p-1.5"},ft={key:0,class:"flex-1 min-w-0 rounded-lg bg-primary-600 text-white px-3 py-2.5","aria-current":"true"},ht={class:"text-xs font-semibold truncate"},yt={class:"text-[11px] text-white/80 tabular-nums truncate"},bt={key:0},xt={class:"text-xs font-semibold text-dark dark:text-white truncate"},gt={key:0,class:"font-normal text-primary-600 dark:text-primary-300"},_t={class:"text-[11px] text-grey-text dark:text-white/50 tabular-nums truncate"},kt={key:0},vt={key:2,class:"flex-1 min-w-0 rounded-lg bg-gray-100 dark:bg-white/5 px-3 py-2.5 opacity-70"},wt={class:"text-xs font-semibold text-grey-text dark:text-white/40 truncate"},$t={class:"text-[11px] text-grey-text dark:text-white/40 truncate"},St=Q({__name:"LotDecoupe",props:{lots:{},currentId:{}},setup(v){const x=v,S=$e(),{t:C}=ne(),P=k(()=>{const d=new Map;for(const y of x.lots){const b=y.floor??null;d.has(b)||d.set(b,[]),d.get(b).push(y)}const _=y=>y===null?"â":y===0?C("lot.decoupeGround"):`${C("lot.decoupeFloorShort")}${y}`;return[...d.entries()].sort(([y],[b])=>(b??-1)-(y??-1)).map(([y,b])=>({label:_(y),lots:b}))});return(d,_)=>{const y=Ce;return a(),n("div",ct,[(a(!0),n(E,null,U(P.value,b=>(a(),n("div",{key:b.label,class:"flex items-stretch border-b border-gray-100 dark:border-white/5 last:border-b-0"},[t("div",pt,o(b.label),1),t("div",mt,[(a(!0),n(E,null,U(b.lots,p=>(a(),n(E,{key:p.id},[p.id===v.currentId?(a(),n("div",ft,[t("p",ht,o(p.type||p.reference||d.$t("lot.lotFallback"))+" · "+o(d.$t("lot.decoupeHere")),1),t("p",yt,[$(o(p.surface_carrez?Math.round(Number(p.surface_carrez))+" m²":""),1),p.price?(a(),n("span",bt," · "+o(("formatPrice"in d?d.formatPrice:s(M))(p.price)),1)):i("",!0)])])):p.status==="available"||p.status==="coming_soon"?(a(),j(y,{key:1,to:s(S)(s(Ee)(p.slug)),class:"flex-1 min-w-0 rounded-lg border border-gray-200 dark:border-white/15 px-3 py-2.5 hover:border-primary-500 hover:bg-primary-50 dark:hover:bg-primary-500/10 transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary-500"},{default:Se(()=>[t("p",xt,[$(o(p.type||p.reference||d.$t("lot.lotFallback")),1),p.status==="coming_soon"?(a(),n("span",gt," · "+o(d.$t("lot.decoupeSoon")),1)):i("",!0)]),t("p",_t,[$(o(p.surface_carrez?Math.round(Number(p.surface_carrez))+" m²":""),1),p.price?(a(),n("span",kt," · "+o(("formatPrice"in d?d.formatPrice:s(M))(p.price)),1)):i("",!0)])]),_:2},1032,["to"])):(a(),n("div",vt,[t("p",wt,o(p.type||p.reference||d.$t("lot.lotFallback")),1),t("p",$t,o(p.status==="sold"?d.$t("lot.decoupeSold"):d.$t("lot.decoupeReserved")),1)]))],64))),128))])]))),128))])}}}),Ct=Object.assign(St,{__name:"LotDecoupe"}),Pt=["aria-label"],Lt={class:"flex items-start justify-between gap-4 border-b border-gray-200 px-5 py-5 dark:border-white/10 sm:px-7"},Dt={class:"text-sm font-semibold text-primary-700 dark:text-primary-300"},zt={class:"mt-1 text-sm text-grey-text dark:text-white/60"},Et=["aria-label"],qt={class:"flex-1 overflow-y-auto px-5 py-6 sm:px-7"},Ft={class:"mb-5 max-w-prose text-sm leading-6 text-grey-text dark:text-white/65"},ve="buyer-interest-title",Nt=Q({__name:"BuyerInterestDrawer",props:{open:{type:Boolean},lotSlug:{},lotLabel:{},buyerCaseId:{default:""},initialAction:{default:"information"},lotStatus:{default:"available"}},emits:["close","completed","authRequired"],setup(v){const x=v,S=D(null),C=D(null);J(()=>x.open,async d=>{document.body.style.overflow=d?"hidden":"",d&&(await De(),C.value?.focus())},{immediate:!0});function P(d){if(!x.open)return;if(d.key==="Escape"){d.preventDefault(),C.value?.click();return}if(d.key!=="Tab"||!S.value)return;const _=[...S.value.querySelectorAll('button:not([disabled]), a[href], input
2:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')],y=_[0],b=_.at(-1);!y||!b||(d.shiftKey&&document.activeElement===y?(d.preventDefault(),b.focus()):!d.shiftKey&&document.activeElement===b&&(d.preventDefault(),y.focus()))}return window.addEventListener("keydown",P),Pe(()=>{document.body.style.overflow="",window.removeEventListener("keydown",P)}),(d,_)=>{const y=ie,b=ot;return a(),j(Le,{to:"body"},[v.open?(a(),n("div",{key:0,class:"fixed inset-0 z-[70]",role:"dialog","aria-modal":"true","aria-labelledby":ve},[t("button",{type:"button",class:"absolute inset-0 h-full w-full cursor-default bg-ink/65","aria-label":d.$t("buyer.drawer.close"),onClick:_[0]||(_[0]=p=>d.$emit("close"))},null,8,Pt),t("aside",{ref_key:"panel",ref:S,class:"absolute inset-y-0 right-0 flex w-full flex-col bg-white shadow-2xl dark:bg-ink-800 sm:max-w-xl"},[t("header",Lt,[t("div",null,[t("p",Dt,o(d.$t("buyer.drawer.eyebrow")),1),t("h2",{id:ve,class:"mt-1 font-display text-2xl font-bold text-dark dark:text-white"},o(d.$t("buyer.drawer.title")),1),t("p",zt,o(v.lotLabel),1)]),t("button",{ref_key:"closeButton",ref:C,type:"button",class:"grid h-11 w-11 shrink-0 place-items-center rounded-full text-grey-text transition hover:bg-gray-100 hover:text-dark focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:hover:bg-white/10 dark:hover:text-white","aria-label":d.$t("buyer.drawer.close"),onClick:_[1]||(_[1]=p=>d.$emit("close"))},[f(y,{name:"solar:close-circle-linear",class:"h-6 w-6"})],8,Et)]),t("div",qt,[t("p",Ft,o(d.$t("buyer.drawer.description")),1),f(b,{"lot-slug":v.lotSlug,"buyer-case-id":v.buyerCaseId,"initial-action":v.initialAction,"lot-status":v.lotStatus,onCompleted:_[2]||(_[2]=p=>d.$emit("completed",p)),onAuthRequired:_[3]||(_[3]=p=>d.$emit("authRequired",p))},null,8,["lot-slug","buyer-case-id","initial-action","lot-status"])])],512)])):i("",!0)])}}}),Tt=Object.assign(Nt,{__name:"CatalogueBuyerInterestDrawer"}),Mt=["aria-label"],At={class:"flex items-start justify-between gap-4 border-b border-gray-200 px-5 py-5 dark:border-white/10 sm:px-7"},Bt={class:"text-sm font-semibold text-primary-700 dark:text-primary-300"},It={class:"mt-1 text-sm text-grey-text dark:text-white/60"},jt=["aria-label"],Vt={class:"flex-1 overflow-y-auto px-5 py-6 sm:px-7"},Ut={id:"coming-soon-notify-description",class:"mb-5 max-w-prose text-sm leading-6 text-grey-text dark:text-white/65"},Ot={key:0,role:"status",class:"rounded-2xl bg-primary-50 p-5 text-center dark:bg-primary-300/10"},Kt={class:"mt-3 font-semibold text-dark dark:text-white"},Rt={key:0,class:"text-sm text-dark dark:text-white/85"},Gt={class:"grid gap-3 sm:grid-cols-2"},Ht={class:"block sm:col-span-2"},Wt={class:"sr-only"},Yt=["placeholder"],Xt={class:"block"},Jt={class:"sr-only"},Qt=["placeholder"],Zt={class:"block"},eo={class:"sr-only"},to=["placeholder"],oo={key:2,role:"alert",class:"text-sm text-danger"},ro=["disabled"],we="coming-soon-notify-title",so=Q({__name:"ComingSoonNotifyDrawer",props:{open:{type:Boolean},lotSlug:{},lotLabel:{}},emits:["close"],setup(v){const x=v,{t:S}=ne(),C=qe(),P=Oe(),d=D(null),_=D(null),y=D(!1),b=D(!1),p=D(!1),q=D(""),O=D(!1),g=Ke({fullName:String(P.value?.user_metadata?.full_name??""),email:String(P.value?.email??""),phone:String(P.value?.user_metadata?.phone??"")}),G=k(()=>!P.value||!g.fullName.trim()||!g.email.trim());ze(async()=>{if(P.value)try{const u=await C("/profile/me");g.fullName.trim()||(g.fullName=u.full_name??""),g.email.trim()||(g.email=u.email??""),g.phone.trim()||(g.phone=u.phone??"")}catch{}});let z=null;J(()=>x.open,async u=>{document.body.style.overflow=u?"hidden":"",u?(z=document.activeElement instanceof HTMLElement?document.activeElement:null,q.value="",await De(),_.value?.focus()):(z?.focus(),z=null)},{immediate:!0});async function N(){if(q.value="",G.value&&!O.value){q.value=S("common.cguRequired");return}y.value=!0;try{const u=await C(`/catalogue/lots/${encodeURIComponent(x.lotSlug)}/interest`,{method:"POST",body:{full_name:g.fullName.trim(),email:g.email.trim(),phone:g.phone.trim()||void 0}});p.value=u?.already===!0,b.value=!0}catch(u){q.value=lt(u,S("catalogue.notifyError"))}finally{y.value=!1}}function H(u){if(!x.open)return;if(u.key==="Escape"){u.preventDefault(),_.value?.click();return}if(u.key!=="Tab"||!d.value)return;const w=[...d.value.querySelectorAll('button:not([disabled]), a[href], input
2:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])')],F=w[0],A=w.at(-1);!F||!A||(u.shiftKey&&document.activeElement===F?(u.preventDefault(),A.focus()):!u.shiftKey&&document.activeElement===A&&(u.preventDefault(),F.focus()))}return window.addEventListener("keydown",H),Pe(()=>{document.body.style.overflow="",window.removeEventListener("keydown",H)}),(u,w)=>{const F=ie,A=at;return a(),j(Le,{to:"body"},[v.open?(a(),n("div",{key:0,class:"fixed inset-0 z-[70]",role:"dialog","aria-modal":"true","aria-labelledby":we,"aria-describedby":"coming-soon-notify-description"},[t("button",{type:"button",class:"absolute inset-0 h-full w-full cursor-default bg-ink/65","aria-label":u.$t("buyer.drawer.close"),onClick:w[0]||(w[0]=r=>u.$emit("close"))},null,8,Mt),t("aside",{ref_key:"panel",ref:d,class:"absolute inset-y-0 right-0 flex w-full flex-col bg-white shadow-2xl dark:bg-ink-800 sm:max-w-xl"},[t("header",At,[t("div",null,[t("p",Bt,o(u.$t("catalogue.notifyEyebrow")),1),t("h2",{id:we,class:"mt-1 font-display text-2xl font-bold text-dark dark:text-white"},o(u.$t("catalogue.notifyTitle")),1),t("p",It,o(v.lotLabel),1)]),t("button",{ref_key:"closeButton",ref:_,type:"button",class:"grid h-11 w-11 shrink-0 place-items-center rounded-full text-grey-text transition hover:bg-gray-100 hover:text-dark focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 dark:hover:bg-white/10 dark:hover:text-white","aria-label":u.$t("buyer.drawer.close"),onClick:w[1]||(w[1]=r=>u.$emit("close"))},[f(F,{name:"solar:close-circle-linear",class:"h-6 w-6"})],8,jt)]),t("div",Vt,[t("p",Ut,o(u.$t("catalogue.notifyDescription")),1),b.value?(a(),n("div",Ot,[f(F,{name:"solar:check-circle-linear",class:"mx-auto h-9 w-9 text-primary-700 dark:text-primary-300"}),t("p",Kt,o(u.$t(p.value?"catalogue.notifyAlready":"catalogue.notifySuccess")),1)])):(a(),n("form",{key:1,class:"space-y-4",onSubmit:Re(N,["prevent"])},[G.value?(a(),n(E,{key:1},[t("div",Gt,[t("label",Ht,[t("span",Wt,o(u.$t("catalogue.notifyFirstName")),1),re(t("input",{"onUpdate:modelValue":w[2]||(w[2]=r=>g.fullName=r),type:"text",autocomplete:"name",required:"",maxlength:"200",placeholder:u.$t("catalogue.notifyFirstName"),class:"h-12 w-full rounded-xl border border-gray-300 bg-white px-4 text-base text-dark outline-none focus:border-primary-500 dark:border-white/15 dark:bg-ink dark:text-white"},null,8,Yt),[[se,g.fullName]])]),t("label",Xt,[t("span",Jt,o(u.$t("lot.request.email")),1),re(t("input",{"onUpdate:modelValue":w[3]||(w[3]=r=>g.email=r),type:"email",autocomplete:"email",required:"",placeholder:u.$t("lot.request.email"),class:"h-12 w-full rounded-xl border border-gray-300 bg-white px-4 text-base text-dark outline-none focus:border-primary-500 dark:border-white/15 dark:bg-ink dark:text-white"},null,8,Qt),[[se,g.email]])]),t("label",Zt,[t("span",eo,o(u.$t("catalogue.notifyPhoneOptional")),1),re
2(t("input",{"onUpdate:modelValue":w[4]||(w[4]=r=>g.phone=r),type:"tel",autocomplete:"tel",maxlength:"40",placeholder:u.$t("catalogue.notifyPhoneOptional"),class:"h-12 w-full rounded-xl border border-gray-300 bg-white px-4 text-base text-dark outline-none focus:border-primary-500 dark:border-white/15 dark:bg-ink dark:text-white"},null,8,to),[[se,g.phone]])])]),f(A,{modelValue:O.value,"onUpdate:modelValue":w[5]||(w[5]=r=>O.value=r)},null,8,["modelValue"])],64)):(a(),n("p",Rt,o(u.$t("catalogue.notifyLoggedAs",{email:g.email})),1)),q.value?(a(),n("p",oo,o(q.value),1)):i("",!0),t("button",{type:"submit",disabled:y.value,class:"inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-full bg-primary-600 px-6 font-semibold text-white transition hover:bg-primary-500 disabled:cursor-wait disabled:opacity-60"},[y.value?(a(),j(F,{key:0,name:"solar:refresh-linear",class:"h-4 w-4 animate-spin"})):i("",!0),$(" "+o(y.value?u.$t("catalogue.notifySending"):u.$t("catalogue.notifySubmit")),1)],8,ro)],32))])],512)])):i("",!0)])}}}),ao=Object.assign(so,{__name:"CatalogueComingSoonNotifyDrawer"}),lo=Je(()=>Qe(()=>import("./DXanTzGD.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(v=>v.default||v)),no={class:"container mx-auto max-w-6xl px-4 py-8 pb-24 lg:pb-10"},io={class:"text-sm text-gray-500 dark:text-gray-400"},uo={class:"text-dark dark:text-white/80"},co={class:"lg:grid lg:grid-cols-[1fr,380px] lg:gap-10 mt-8"},po={class:"min-w-0"},mo={class:"flex flex-wrap items-center gap-3"},fo={class:"font-display text-3xl md:text-4xl font-bold text-dark dark:text-white"},ho={key:0,class:"text-grey-text dark:text-white/60 mt-1.5 flex flex-wrap items-center gap-x-3 gap-y-1"},yo={key:0,class:"inline-flex items-center gap-1.5"},bo={key:0},xo={key:1,class:"text-gray-400"},go={key:2,class:"text-gray-400"},_o={class:"grid grid-cols-2 sm:grid-cols-3 gap-3 mt-7"},ko={key:0,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},vo={class:"text-xs text-grey-text dark:text-white/50"},wo={class:"font-semibold text-dark dark:text-white text-sm"},$o={key:1,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},So={class:"text-xs text-grey-text dark:text-white/50"},Co={class:"font-semibold text-dark dark:text-white text-sm"},Po={key:2,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Lo={class:"text-xs text-grey-text dark:text-white/50"},Do={class:"font-semibold text-dark dark:text-white text-sm"},zo={key:3,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Eo={class:"text-xs text-grey-text dark:text-white/50"},qo={class:"font-semibold text-dark dark:text-white text-sm"},Fo={key:4,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},No={class:"text-xs text-grey-text dark:text-white/50"},To={class:"font-semibold text-dark dark:text-white text-sm"},Mo={key:5,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Ao={class:"text-xs text-grey-text dark:text-white/50"},Bo={class:"font-semibold text-dark dark:text-white text-sm"},Io={key:6,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},jo={class:"text-xs text-grey-text dark:text-white/50"},Vo={class:"font-semibold text-dark dark:text-white text-sm"},Uo={key:7,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Oo={class:"text-xs text-grey-text dark:text-white/50"},Ko={class:"font-semibold text-dark dark:text-white text-sm"},Ro={key:8,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Go={class:"text-xs text-grey-text dark:text-white/50"},Ho={class:"font-semibold text-dark dark:text-white text-sm"},Wo={key:9,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Yo={class:"text-xs text-grey-text dark:text-white/50"},Xo={class:"font-semibold text-dark dark:text-white text-sm"},Jo={key:10,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},Qo={class:"text-xs text-grey-text dark:text-white/50"},Zo={class:"font-semibold text-dark dark:text-white text-sm"},er={key:11,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},tr={class:"text-xs text-grey-text dark:text-white/50"},or={class:"font-semibold text-dark dark:text-white text-sm"},rr={key:12,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},sr={class:"text-xs text-grey-text dark:text-white/50"},ar={class:"font-semibold text-dark dark:text-white text-sm"},lr={key:13,class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-3"},nr={class:"text-xs text-grey-text dark:text-white/50"},ir={class:"font-semibold text-dark dark:text-white text-sm"},dr={key:1,class:"mt-10 rise-in"},ur={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-1.5"},cr={class:"text-sm text-grey-text dark:text-white/60 mb-4"},pr={key:2,class:"mt-10"},mr={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},fr={class:"text-dark dark:text-gray-200 whitespace-pre-line leading-relaxed"},hr={key:3,class:"mt-10"},yr={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},br={class:"flex flex-wrap gap-2"},xr={key:4,class:"mt-10"},gr={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},_r={class:"grid sm:grid-cols-2 gap-5"},kr={key:0,class:"rounded-xl border border-gray-200 dark:border-white/10 p-4"},vr={class:"text-sm text-grey-text dark:text-white/60 mb-3"},wr={key:0,class:"flex gap-1"},$r={key:1,class:"text-xs text-grey-text dark:text-white/50 mt-2"},Sr={key:1,class:"rounded-xl border border-gray-200 dark:border-white/10 p-4"},Cr={class:"text-sm text-grey-text dark:text-white/60 mb-3"},Pr={key:0,class:"flex gap-1"},Lr={key:1,class:"text-xs text-grey-text dark:text-white/50 mt-2"},Dr={key:5,class:"mt-10"},zr={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},Er={class:"space-y-2.5"},qr=["href"],Fr={class:"min-w-0 flex-1"},Nr={class:"block text-sm font-medium text-dark dark:text-white truncate"},Tr={class:"block text-xs text-grey-text dark:text-white/50"},Mr={class:"text-xs font-medium text-primary-600 dark:text-primary-300 group-hover:underline shrink-0"},Ar={class:"hidden lg:block"},Br={class:"sticky top-[84px] rounded-2xl border border-gray-200 dark:border-white/10 bg-white dark:bg-ink-800 shadow-sm p-6"},Ir={class:"font-display text-3xl font-bold text-dark dark:text-white tabular-nums"},jr={key:0,class:"text-sm text-grey-text dark:text-white/60 mt-1 tabular-nums"},Vr={key:0},Ur={class:"mt-5 space-y-3"},Or=["disabled"],Kr={class:"mt-5 pt-4 border-t border-gray-100 dark:border-white/10 space-y-2 text-sm text-grey-text dark:text-white/60"},Rr={class:"flex items-center gap-2"},Gr={class:"flex items-center gap-2"},Hr={key:0,class:"mt-14 rise-in"},Wr={class:"font-display text-2xl font-semibold text-dark dark:text-white"},Yr={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mt-5"},Xr={key:1,class:"mt-12"},Jr={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},Qr={class:"rounded-xl border border-gray-200 dark:border-white/10 p-5"},Zr={class:"text-dark dark:text-gray-200"},es={class:"text-2xl font-bold text-primary-600"},ts={class:"text-grey-text text-sm"},os={key:2,class:"mt-12"},rs={class:"font-display text-2xl font-semibold text-dark dark:text-white mb-4"},ss={key:1,class:"w-full h-[500px] bg-gray-100 dark:bg-ink-800"},as={class:"relative overflow-hidden mt-12 rounded-2xl bg-ink text-white ring-1 ring-white/10 p-6 md:p-7"},ls={class:"relative flex flex-wrap items-center gap-5"},ns={class:"min-w-[220px] flex-1"},is={class:"font-display text-xl font-bold"},ds={class:"text-sm text-white/65 mt-1"},us={class:"flex flex-wrap gap-3"}
2,cs={class:"lg:hidden fixed bottom-0 inset-x-0 z-40 bg-white/95 dark:bg-ink/95 backdrop-blur border-t border-gray-200 dark:border-white/10 px-4 py-3 flex items-center justify-between gap-3"},ps={class:"min-w-0"},ms={class:"font-display text-lg font-bold text-dark dark:text-white tabular-nums leading-tight"},fs={key:0,class:"text-[11px] text-grey-text dark:text-white/60 tabular-nums"},hs=["disabled"],ys={key:1,class:"mt-6 animate-pulse space-y-4"},bs={key:2,class:"text-grey-text"},Bs=Q({__name:"[slug]",async setup(v){let x,S;const C=Ge(),P=$e(),{openFlo:d,setFloContext:_,context:y}=dt(),b=qe(),p=D(!1),q=D(!1),O=k(()=>[r.value?.property?.name,r.value?.type].filter(Boolean).join(", ")||String(C.params.slug)),g=nt(),{locale:G,t:z}=ne(),N=C.params.slug;async function H(e){const l=P("/auth/login"),c=P("/espace/acheter");await ge(it(l,c,N,e))}const u=He(`lot-missing-${N}`,()=>!1);function w(){u.value=!0}const F=_e(N);F||w();let A;const{data:r,pending:Fe}=([x,S]=X(()=>xe(`lot-${N}`,()=>F?b(`/catalogue/lots/${N}`).catch(e=>(A=e,null)):Promise.resolve(null))),x=await x,S(),x),Z=k(()=>r.value?.status==="coming_soon");if(!r.value&&F){let e;const l=([x,S]=X(()=>b(`/catalogue/properties/${N}`).catch(c=>(e=c,null))),x=await x,S(),x);if(l){const c=(l.lots??[]).filter(m=>_e(m.slug)),T=c.filter(m=>m.status==="available"&&m.price!=null).sort((m,oe)=>(m.price??0)-(oe.price??0))[0]??c[0];[x,S]=X(()=>ge(P(Ee(T?.slug)),{replace:!0})),await x,S()}else ke(A)&&ke(e)&&w()}const{data:L}=([x,S]=X(()=>xe(`lot-property-${N}`,async()=>{const e=r.value?.property?.slug;return e?b(`/catalogue/properties/${e}`):null},{default:()=>null})),x=await x,S(),x),de=k(()=>{const e=r.value?.features??{},l=typeof e.property_type=="string"?e.property_type:null,c=ut(r.value?.asset_type??l);return c?z(c):""}),K=k(()=>{const e=r.value?.features??{},l=typeof e.viabilise=="string"&&["oui","non","partiel"].includes(e.viabilise)?e.viabilise:"";return{buildable:typeof e.surface_constructible=="number"?e.surface_constructible:null,serviced:l,zoning:typeof e.zonage=="string"&&e.zonage.trim()?e.zonage.trim():""}}),ue=k(()=>{const e=(r.value?.features??{}).condition;return typeof e=="string"&&e.trim()?e.trim():""}),B=k(()=>{const e=r.value?.features??{};return{dpe:typeof e.dpe_value=="number"?e.dpe_value:null,ges:typeof e.ges_value=="number"?e.ges_value:null}}),Ne=["cellar","balcony","parking","elevator"],ce=k(()=>{const e=r.value?.features??{},l=Ne.filter(T=>e[T]===!0).map(T=>z(`lot.featureFlags.${T}`)),c=L.value?.amenities??[],V=new Set;return[...l,...c].filter(T=>{const m=T.trim().toLowerCase();return!m||V.has(m)?!1:(V.add(m),!0)})}),W=k(()=>{const e=[r.value?.type||z("lot.lotFallback")];return r.value?.surface_carrez&&e.push(`${Math.round(Number(r.value.surface_carrez))} m²`),r.value?.property?.city&&e.push(r.value.property.city),e.join(" · ")});function Te(e){const l=[];e.property?.name&&l.push(e.property.name),e.property?.city&&l.push(e.property.city),e.type&&l.push(e.type),e.rooms!=null&&l.push(`${e.rooms} pièces`);const c=e.surface_carrez??e.search_surface??e.surface_total;return c!=null&&l.push(`${Math.round(Number(c))} m²`),e.price!=null&&l.push(`prix ${e.price} EUR`),e.reference&&l.push(`référence ${e.reference}`),e.status==="coming_soon"&&l.push("statut prochainement (bien en cours dâacquisition par WiiM : pas de visite ni dâoffre, proposer dâêtre prévenu via le bouton Me prévenir)"),`[Contexte page] Le visiteur consulte actuellement la fiche du bien : ${l.join(", ")} (slug ${e.slug}). S'il parle de « ce bien », « cet appartement » ou « cette annonce », il s'agit de celui-ci. Pour des détails supplémentaires, appelle le tool « bien » avec ce slug.`}{let e=null;J(r,l=>{e=l?Te(l):null,_(e)},{immediate:!0}),We(()=>{e!=null&&y.value===e&&_(null)})}const ee=k(()=>{const e=r.value?.description_i18n;return e&&e[G.value]||r.value?.description||""}),Me=k(()=>{const e=(r.value?.photos??[]).map(c=>g(c)).filter(c=>!!c);if(e.length)return e;const l=(r.value?.media??[]).filter(c=>c.kind==="photo").map(c=>g(c.storage_path)).filter(c=>!!c);return l.length?l:(L.value?.media??[]).filter(c=>c.kind==="photo").sort((c,V)=>c.position-V.position).map(c=>g(c.storage_path)).filter(c=>!!c)}),Y=k(()=>L.value?.lots??[]),Ae=k(()=>Y.value.length<2?!1:new Set(Y.value.filter(l=>l.floor!=null).map(l=>l.floor)).size>=2),Be=k(()=>(L.value?.media??[]).filter(e=>e.kind==="photo").sort((e,l)=>e.position-l.position).map(e=>e.storage_path)),pe=k(()=>Y.value.filter(e=>e.slug!==N&&e.status==="available").slice(0,4).map(e=>({...e,property:r.value?.property,photos:(e.media??[]).some(l=>l.kind==="photo")?void 0:Be.value}))),R=k(()=>L.value?.neighborhood_data),Ie=k(()=>L.value?.latitude!=null&&L.value?.longitude!=null),me=D(null),te=D(!1);ze(()=>{if(Ye("catalogue_bien_vue",{slug:String(C.params.slug)}),!("IntersectionObserver"in window)){te.value=!0;return}const e=new IntersectionObserver(l=>{l[0]?.isIntersecting&&(te.value=!0,e.disconnect())},{rootMargin:"600px"});J(me,(l,c)=>{c&&e.unobserve(c),l&&e.observe(l)},{immediate:!0})});const je=k(()=>(R.value?.poi??[]).map((e,l)=>({id:l,name:e.name,category:e.category,latitude:e.lat,longitude:e.lng}))),I=k(()=>{const e=R.value?.dvf?.median_ppsqm,l=r.value?.price_per_sqm;return!e||!l?null:Math.round((l-e)/e*100)}),fe=k(()=>I.value==null?"":I.value<=-1?z("lot.dvfBelow",{pct:Math.abs(I.value)}):I.value>=1?z("lot.dvfAbove",{pct:I.value}):z("lot.dvfEqual"));function Ve(e){return z(`lot.documentsKind.${["plan","dpe","diagnostic","autre"].includes(e)?e:"autre"}`)}const he=["A","B","C","D","E","F","G"];function ye(e){return{A:"bg-green-600",B:"bg-green-500",C:"bg-lime-500",D:"bg-amber-400 !text-dark",E:"bg-orange-500",F:"bg-orange-700",G:"bg-rose-600"}[e??""]??"bg-gray-400"}return be({link:[{rel:"canonical",href:()=>`https://www.wiim.immo${P(`/catalogue/${String(C.params.slug)}`)}`}]}),be({meta:()=>u.value?[{name:"robots",content:"noindex"}
2]:[]}),Xe({title:()=>`${W.value} · WiiM`,description:()=>ee.value||z("lot.metaDesc")}),(e,l)=>{const c=Ce,V=Ze,T=et,m=ie,oe=lo,Ue=tt;return a(),n("div",no,[s(r)?(a(),n(E,{key:0},[t("nav",io,[f(c,{to:s(P)("/catalogue"),class:"hover:text-dark dark:hover:text-white"},{default:Se(()=>[$(o(e.$t("catalogue.title")),1)]),_:1},8,["to"]),s(r).property?(a(),n(E,{key:0},[l[9]||(l[9]=t("span",{class:"mx-1.5"},"âº",-1)),t("span",uo,o(s(r).property.name),1)],64)):i("",!0)]),f(rt,{class:"mt-5",photos:Me.value,alt:W.value},null,8,["photos","alt"]),t("div",co,[t("div",po,[t("div",mo,[t("h1",fo,o(W.value),1),f(V,{status:s(r).status},null,8,["status"]),f(T,{class:"ml-auto",title:`${W.value} · WiiM`,text:s(r).property?.name||""},null,8,["title","text"])]),s(r).property?.city||s(r).reference||s(L)?.renovation_year?(a(),n("p",ho,[s(r).property?.city?(a(),n("span",yo,[f(m,{name:"solar:map-point-linear",class:"h-4 w-4"}),$(o(s(r).property.city),1),s(r).property.postal_code?(a(),n("span",bo," ("+o(s(r).property.postal_code)+")",1)):i("",!0)])):i("",!0),s(r).reference?(a(),n("span",xo,o(e.$t("lot.ref"))+" "+o(s(r).reference),1)):i("",!0),s(L)?.renovation_year?(a(),n("span",go,o(e.$t("lot.renovatedIn",{year:s(L).renovation_year})),1)):i("",!0)])):i("",!0),t("div",_o,[de.value?(a(),n("div",ko,[f(m,{name:"solar:buildings-2-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",vo,o(e.$t("lot.assetType")),1),t("p",wo,o(de.value),1)])])):i("",!0),s(r).surface_carrez?(a(),n("div",$o,[f(m,{name:"solar:ruler-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",So,o(e.$t("lot.surfaceCarrez")),1),t("p",Co,o(("formatSurface"in e?e.formatSurface:s(le))(s(r).surface_carrez)),1)])])):i("",!0),s(r).surface_total&&s(r).surface_total!==s(r).surface_carrez?(a(),n("div",Po,[f(m,{name:"solar:maximize-square-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Lo,o(e.$t("lot.surfaceTotal")),1),t("p",Do,o(("formatSurface"in e?e.formatSurface:s(le))(s(r).surface_total)),1)])])):i("",!0),s(r).rooms?(a(),n("div",zo,[f(m,{name:"solar:home-2-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Eo,o(e.$t("lot.rooms")),1),t("p",qo,o(s(r).rooms),1)])])):i("",!0),s(r).bedrooms?(a(),n("div",Fo,[f(m,{name:"solar:bed-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",No,o(e.$t("lot.bedrooms")),1),t("p",To,o(s(r).bedrooms),1)])])):i("",!0),s(r).bathrooms!=null?(a(),n("div",Mo,[f(m,{name:"solar:bath-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Ao,o(e.$t("lot.bathrooms")),1),t("p",Bo,o(s(r).bathrooms),1)])])):i("",!0),s(r).floor!=null?(a(),n("div",Io,[f(m,{name:"solar:square-sort-vertical-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",jo,o(e.$t("lot.floor")),1),t("p",Vo,o(s(r).floor===0?e.$t("lot.decoupeGround"):s(r).floor),1)])])):i("",!0),s(r).levels_count!=null?(a(),n("div",Uo,[f(m,{name:"solar:layers-minimalistic-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Oo,o(e.$t("lot.levelsCount")),1),t("p",Ko,o(s(r).levels_count),1)])])):i("",!0),K.value.buildable!=null?(a(),n("div",Ro,[f(m,{name:"solar:ruler-cross-pen-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Go,o(e.$t("lot.buildableSurface")),1),t("p",Ho,o(("formatSurface"in e?e.formatSurface:s(le))(K.value.buildable)),1)])])):i("",!0),K.value.serviced?(a(),n("div",Wo,[f(m,{name:"solar:bolt-linear",class:"h-5 w-5 text-primary-600"}
2),t("div",null,[t("p",Yo,o(e.$t("lot.serviced")),1),t("p",Xo,o(e.$t(`lot.servicedValues.${K.value.serviced}`)),1)])])):i("",!0),K.value.zoning?(a(),n("div",Jo,[f(m,{name:"solar:map-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",Qo,o(e.$t("lot.zoning")),1),t("p",Zo,o(K.value.zoning),1)])])):i("",!0),ue.value?(a(),n("div",er,[f(m,{name:"solar:shield-check-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",tr,o(e.$t("lot.condition")),1),t("p",or,o(ue.value),1)])])):i("",!0),s(r).orientation?.length?(a(),n("div",rr,[f(m,{name:"solar:compass-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",sr,o(e.$t("lot.orientation")),1),t("p",ar,o(s(r).orientation.join(", ")),1)])])):i("",!0),s(r).price_per_sqm?(a(),n("div",lr,[f(m,{name:"solar:tag-price-linear",class:"h-5 w-5 text-primary-600"}),t("div",null,[t("p",nr,o(e.$t("lot.pricePerSqm")),1),t("p",ir,o(("formatPrice"in e?e.formatPrice:s(M))(s(r).price_per_sqm)),1)])])):i("",!0)]),Ae.value?(a(),n("section",dr,[t("h2",ur,o(e.$t("lot.decoupeTitle")),1),t("p",cr,o(e.$t("lot.decoupeSub",{name:s(r).property?.name})),1),f(Ct,{lots:Y.value,"current-id":s(r).id},null,8,["lots","current-id"])])):i("",!0),ee.value?(a(),n("section",pr,[t("h2",mr,o(e.$t("lot.aboutTitle")),1),t("p",fr,o(ee.value),1)])):i("",!0),ce.value.length?(a(),n("section",hr,[t("h2",yr,o(e.$t("lot.amenitiesTitle")),1),t("div",br,[(a(!0),n(E,null,U(ce.value,h=>(a(),n("span",{key:h,class:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full border border-gray-200 dark:border-white/10 text-sm text-dark dark:text-white/85"},[f(m,{name:"solar:check-circle-linear",class:"h-4 w-4 text-primary-600 dark:text-primary-300"}),$(" "+o(h),1)]))),128))])])):i("",!0),s(r).dpe_letter||B.value.dpe!=null||s(r).ges_letter||B.value.ges!=null?(a(),n("section",xr,[t("h2",gr,o(e.$t("lot.energyTitle")),1),t("div",_r,[s(r).dpe_letter||B.value.dpe!=null?(a(),n("div",kr,[t("p",vr,o(e.$t("lot.dpeLabel")),1),s(r).dpe_letter?(a(),n("div",wr,[(a(),n(E,null,U(he,h=>t("span",{key:h,class:ae(["h-9 flex-1 rounded flex items-center justify-center text-white text-sm font-bold transition",[ye(h),h===s(r).dpe_letter?"ring-2 ring-offset-2 ring-gray-900/30 dark:ring-white/50 dark:ring-offset-ink scale-110":"opacity-25 scale-y-75"]])},o(h),3)),64))])):i("",!0),B.value.dpe!=null?(a(),n("p",$r,o(e.$t("lot.dpeValueUnit",{value:B.value.dpe})),1)):i("",!0)])):i("",!0),s(r).ges_letter||B.value.ges!=null?(a(),n("div",Sr,[t("p",Cr,o(e.$t("lot.gesLabel")),1),s(r).ges_letter?(a(),n("div",Pr,[(a(),n(E,null,U(he,h=>t("span",{key:h,class:ae(["h-9 flex-1 rounded flex items-center justify-center text-white text-sm font-bold transition",[ye(h),h===s(r).ges_letter?"ring-2 ring-offset-2 ring-gray-900/30 dark:ring-white/50 dark:ring-offset-ink scale-110":"opacity-25 scale-y-75"]])},o(h),3)),64))])):i("",!0),B.value.ges!=null?(a(),n("p",Lr,o(e.$t("lot.gesValueUnit",{value:B.value.ges})),1)):i("",!0)])):i("",!0)])])):i("",!0),s(r).documents?.length?(a(),n("section",Dr,[t("h2",zr,o(e.$t("lot.documentsTitle")),1),t("ul",Er,[(a(!0),n(E,null,U(s(r).documents,h=>(a(),n("li",{key:h.id},[t("a",{href:s(g)(h.storage_path),target:"_blank",rel:"noopener",class:"flex items-center gap-3 rounded-xl border border-gray-200 dark:border-white/10 p-4 hover:border-primary-400 dark:hover:border-primary-300/50 transition group"},[f(m,{name:h.mime_type==="application/pdf"?"solar:document-text-linear":"solar:gallery-linear",class:"h-5 w-5 shrink-0 text-primary-600 dark:text-primary-300"},null,8,["name"]),t("span",Fr,[t("span",Nr,o(h.title),1),t("span",Tr,[$(o(Ve(h.kind)),1),h.size_bytes?(a(),n(E,{key:0},[$(" · "+o(Math.round(h.size_bytes/1024))+" Ko",1)],64)):i("",!0)])]),t("span",Mr,o(e.$t("lot.documentsDownload")),1)],8,qr)]))),128))])])):i("",!0)]),t("aside",Ar,[t("div",Br,[t("p",Ir,o(("formatPrice"in e?e.formatPrice:s(M))(s(r).price)),1),s(r).price_per_sqm?(a(),n("p",jr,[$(o(("formatPrice"in e?e.formatPrice:s(M))(s(r).price_per_sqm))+"/m²",1),I.value!=null?(a(),n("span",Vr," · "+o(fe.value),1)):i("",!0)])):i("",!0),t("div",Ur,[Z.value?(a(),n("button",{key:0,t
2ype:"button",class:"w-full inline-flex items-center justify-center gap-2 px-6 h-12 rounded-full bg-primary-600 hover:bg-primary-500 text-white font-semibold transition",onClick:l[0]||(l[0]=h=>q.value=!0)},[f(m,{name:"solar:bell-linear",class:"h-4 w-4 shrink-0"}),$(" "+o(e.$t("catalogue.notifyCta")),1)])):(a(),n("button",{key:1,type:"button",class:"w-full inline-flex items-center justify-center gap-2 px-6 h-12 rounded-full bg-primary-600 hover:bg-primary-500 text-white font-semibold transition disabled:cursor-not-allowed disabled:opacity-50",disabled:s(r).status==="sold",onClick:l[1]||(l[1]=h=>p.value=!0)},o(e.$t("buyer.interestCta")),9,Or)),t("button",{type:"button",class:"w-full inline-flex items-center justify-center gap-2 px-6 h-12 rounded-full border border-gray-300 dark:border-white/20 text-dark dark:text-white font-semibold hover:border-primary-500 transition",onClick:l[2]||(l[2]=h=>s(d)("chat"))},[f(m,{name:"solar:chat-round-line-linear",class:"h-4 w-4 shrink-0"}),$(" "+o(e.$t("catalogue.chatFlo")),1)])]),t("ul",Kr,[t("li",Rr,[f(m,{name:"solar:check-circle-linear",class:"h-4 w-4 text-primary-600 shrink-0"}),$(o(e.$t("lot.trust1")),1)]),t("li",Gr,[f(m,{name:"solar:check-circle-linear",class:"h-4 w-4 text-primary-600 shrink-0"}),$(o(e.$t("lot.trust2")),1)])])])])]),pe.value.length?(a(),n("section",Hr,[t("h2",Wr,o(e.$t("lot.othersTitle",{name:s(r).property?.name})),1),t("div",Yr,[(a(!0),n(E,null,U(pe.value,h=>(a(),j(st,{key:h.id,lot:h},null,8,["lot"]))),128))])])):i("",!0),R.value?.dvf?.median_ppsqm?(a(),n("section",Xr,[t("h2",Jr,o(e.$t("catalogue.neighbourhoodPrices")),1),t("div",Qr,[t("p",Zr,[t("span",es,o(("formatPrice"in e?e.formatPrice:s(M))(R.value.dvf.median_ppsqm))+"/m²",1),l[10]||(l[10]=$()),t("span",ts,o(e.$t("catalogue.dvfMedian",{count:R.value.dvf.count})),1)]),I.value!=null?(a(),n("p",{key:0,class:ae(["text-sm mt-2",I.value<=0?"text-success":"text-grey-text"])},[$(o(e.$t("lot.dvfDelta",{price:("formatPrice"in e?e.formatPrice:s(M))(s(r).price_per_sqm)}))+" ",1),t("strong",null,o(fe.value),1)],2)):i("",!0)])])):i("",!0),Ie.value?(a(),n("section",os,[t("h2",rs,o(e.$t("detail.location")),1),t("div",{ref_key:"mapSection",ref:me,class:"rounded-xl overflow-hidden border border-gray-200 dark:border-white/10"},[te.value?(a(),j(oe,{key:0,latitude:s(L).latitude,longitude:s(L).longitude,"program-name":s(r).property?.name||"","points-of-interest":je.value,zoom:14,precision:s(L).location_precision||"exact","radius-m":s(L).location_radius_m??void 0},null,8,["latitude","longitude","program-name","points-of-interest","precision","radius-m"])):(a(),n("div",ss))],512)])):i("",!0),t("section",as,[l[11]||(l[11]=t("div",{class:"pointer-events-none absolute inset-0 bg-[radial-gradient(420px_220px_at_85%_-10%,rgba(45,11,214,0.35),transparent_65%)]"},null,-1)),t("div",ls,[f(Ue,{src:"/img/florent-albero.jpg",alt:"Flo",width:"56",height:"56",format:"webp",densities:"x1 x2",class:"w-14 h-14 rounded-full object-cover ring-2 ring-primary-500/60 shrink-0"}),t("div",ns,[t("p",is,o(e.$t("catalogue.ctaTitle")),1),t("p",ds,o(e.$t("catalogue.ctaSubtitle")),1)]),t("div",us,[t("button",{type:"button",class:"inline-flex items-center gap-2 px-5 h-11 rounded-full bg-primary-600 hover:bg-primary-500 text-white text-sm font-semibold transition",onClick:l[3]||(l[3]=h=>s(d)("chat"))},[f(m,{name:"solar:chat-round-line-linear",class:"h-4 w-4 shrink-0"}),$(" "+o(e.$t("catalogue.chatFlo")),1)]),t("button",{type:"button",class:"inline-flex items-center gap-2 px-5 h-11 rounded-full border border-white/25 text-white text-sm font-semibold hover:bg-white/10 transition",onClick:l[4]||(l[4]=h=>s(d)("call"))},[f(m,{name:"solar:phone-linear",class:"h-4 w-4 shrink-0"}),$(" "+o(e.$t("catalogue.callFlo")),1)])])])]),t("div",cs,[t("div",ps,[t("p",ms,o(("formatPrice"in e?e.formatPrice:s(M))(s(r).price)),1),s(r).price_per_sqm?(a(),n("p",fs,o(("formatPrice"in e?e.formatPrice:s(M))(s(r).price_per_sqm))+"/m²",1)):i("",!0)]),Z.value?(a(),n("button",{key:0,type:"button",class:"shrink-0 inline-flex items-center px-6 h-11 rounded-full bg-primary-600 hover:bg-primary-500 text-white text-sm font-semibold transition",onClick:l[5]||(l[5]=h=>q.value=!0)},o(e.$t("catalogue.notifyCta")),1)):(a(),n("button",{key:1,type:"button",class:"shrink-0 inline-flex items-center px-6 h-11 rounded-full bg-primary-600 hover:bg-primary-500 text-white text-sm font-semibold transition disabled:cursor-not-allowed disabled:opacity-50",disabled:s(r).status==="sold",onClick:l[6]||(l[6]=h=>p.value=!0)},o(e.$t("buyer.interestCta")),9,hs))]),Z.value?(a(),j(ao,{key:3,open:q.value,"lot-slug":String(s(C).params.slug),"lot-label":O.value,onClose:l[7]||
2(l[7]=h=>q.value=!1)},null,8,["open","lot-slug","lot-label"])):(a(),j(Tt,{key:4,open:p.value,"lot-slug":String(s(C).params.slug),"lot-label":O.value,"lot-status":s(r).status,onClose:l[8]||(l[8]=h=>p.value=!1),onAuthRequired:H},null,8,["open","lot-slug","lot-label","lot-status"]))],64)):s(Fe)?(a(),n("div",ys,[...l[12]||(l[12]=[t("div",{class:"h-8 w-1/2 rounded bg-gray-200 dark:bg-white/10"},null,-1),t("div",{class:"h-[440px] rounded-2xl bg-gray-200 dark:bg-white/10"},null,-1)])])):(a(),n("p",bs,o(e.$t("lot.notFound")),1))])}}});export{Bs as default};
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.