PageSourceSearch

https://www.lalliance.fr/_scripts/DRrP8xAc.js

js lalliance.fr collected 2026-10-02 10:56:54 UTC 8,262 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./entry.C0N6dtQ1.css","./Gallery.BlC_5A40.css","./Banner.BWaV6QQH.css","./Icon.B8tbUGhg.css"])))=>i.map(i=>d[i]);
2import{d as U,c as f,e as o,g as d,j as p,t as g,k as h,M as oe,o as s,m as b,a as e,l as z,E as se,x as G,K as le,y as ie,D as ae,G as re,h as c,P as C,F as ce,r as de,i as me,H as ue,N as V,J as L,A as pe}from"./BSKDPYTP.js";import _e from"./BBO5O0eQ.js";import{_ as fe}from"./BT0_kyxF.js";import ge from"./DE1rTpiZ.js";import{_ as he}from"./DMIAah0A.js";import{_ as xe}from"./DCkK7ovO.js";import ve from"./Da0zqb6Y.js";import{_ as ye}from"./CXCmYFSQ.js";import{_ as we}from"./C64Hz0oq.js";import{_ as be}from"./C2HIR4Df.js";import{_ as $e}from"./DQEmVOVj.js";import{e as I,b as ke}from"./C8KbLsLH.js";import{u as Ae}from"./BEFE6Pjg.js";import{u as Ce}from"./Vkxp7eXI.js";import{u as ze}from"./yOEXom7X.js";import"./BwbEidSh.js";import"./609wEF1k.js";import"./Bii8oBvY.js";import"./DXHgq6co.js";import"./WaVQvdNZ.js";import"./CZgHAMIQ.js";import"./BOEaFIsf.js";import"./Dim25CG3.js";const Ve={class:"grid w-full overflow-hidden bg-white p-5"},Le={class:"order-1 grid grid-cols-1 md:pb-0 lg:grid-cols-7 lg:place-items-center"},Be={class:"col-span-2 mb-5 pr-5"},Ee={key:2,class:"text-left text-xs capitalize text-grey md:mr-5 lg:text-left"},Te={class:"text-left text-xs capitalize text-grey md:mr-5 lg:text-left"},De=["innerHTML"],Me={class:"order-2 flex justify-end pt-4"},Pe={class:"mx-0 mt-1 grid w-full grid-cols-6 gap-3 text-center lg:mx-3"},Ne=U({__name:"DetailBlock1",props:{client:{default:null},hideShowAnnonces:{type:Boolean,default:!1}},setup(t){const i=t,m=z(!1),$=()=>{m.value?window.open(i.client.website,"_blank").focus():m.value=!0},u=z(!1),n=()=>{u.value?window.open("tel:".concat(i.client.phone)):u.value=!0};return(k,y)=>{var v;const A=_e,a=fe,x=oe,w=ge;return s(),f("section",null,[o("div",Ve,[o("div",Le,[o("div",Be,[t.client.logo?(s(),p(A,{key:0,alt:"Logo du client ".concat(t.client.name),src:t.client.logo,class:"block w-[160px] mx-auto mb-2",width:"160",quality:"70"},null,8,["alt","src"])):(s(),p(a,{key:1,class:"h-[90px] w-[160px] p-4 mb-2"})),(v=t.client)!=null&&v.address?(s(),f("p",Ee,g(t.client.address)+", ",1)):d("",!0),o("p",Te,g(t.client.city.canonical_slug.substr(-5))+" "+g(t.client.city.name),1)]),t.client.baseline?(s(),f("div",{key:0,class:"col-span-5 text-sm text-black",innerHTML:t.client.baseline},null,8,De)):d("",!0)]),o("div",Me,[o("div",Pe,[t.client.website?(s(),p(x,{key:0,class:"col-span-6 lg:col-span-3 xl:col-span-2",onClick:$},{default:h(()=>[b(g(e(m)?t.client.website:"Voir le site"),1)]),_:1})):d("",!0),t.client.phone?(s(),p(x,{key:1,class:"col-span-6 lg:col-span-3 xl:col-span-2",onClick:n},{default:h(()=>[b(g(e(u)?t.client.phone:"Voir les coordonnées"),1)]),_:1})):d("",!0),t.hideShowAnnonces?d("",!0):(s(),p(w,{key:2,href:"/terrain-a-vendre?clients=".concat(t.client.slug),class:"col-span-6 xl:col-span-2"},{default:h(()=>[...y[0]||(y[0]=[b(" Voir les annonces ",-1)])]),_:1},8,["href"]))])])])])}}}),Se=Object.assign(Ne,{__name:"AnnuaireDetailBlock1"}),je=V(()=>L(()=>import("./DLyqbgu6.js"),__vite__mapDeps([0,1]),import.meta.url).then(t=>t.default||t)),Re=V(()=>L(()=>import("./WcV1u7gk.js"),__vite__mapDeps([0,2]),import.meta.url).then(t=>t.default||t)),Fe=V(()=>L(()=>import("./Cc8tDRw2.js"),__vite__mapDeps([0,3]),import.meta.url).then(t=>t.default||t)),He={key:0,id:"annuaire",class:"px-2.5 md:px-5 w-full"},Oe={class:"text-3xl font-roboto-slab text-primary mb-6"},qe={class:"max-w-full grid grid-cols-1 md:grid-cols-[1fr_300px] xxl:grid-cols-[3fr_1fr] gap-4"},Ge={class:"grid gap-y-4 h-fit"},Ie={key:0},Ue=["innerHTML"],Je={class:"grid gap-y-4 h-fit"},Ke={class:"py-16 md:py-6 flex h-full flex-col p-6 items-center justify-center text-center font-light text-white"},Qe={key:0,class:"grid grid-cols-1 items-center justify-center gap-4 roun
2ded-md md:grid-cols-2 lg:grid-cols-3"},vt=U({__name:"detail",async setup(t){var x,w,v,B,E,T;let i,m;const $=se(),u=z(!1),{data:n,error:k,pending:y}=([i,m]=G(()=>Ae("client",{slug:$.params.client})),i=await i,m(),i);if(!n.value||k.value)throw le({status:404});const{$emitEvent:A}=Ce();ie(()=>{var r;return A("clientViewed",(r=n.value)==null?void 0:r.id.toString(),1)}),ae({canonical:"/annuaire/".concat(n.value.type.slug,"/").concat(n.value.city.department.slug,"/").concat(n.value.slug),title:"".concat(n.value.name," - ").concat(re(I(n.value.type.slug))),description:((E=(B=(v=(w=(x=n.value)==null?void 0:x.description)==null?void 0:w.replace(/<\/?[^>]+(>|$)/g," "))==null?void 0:v.replace(/\s+/g," "))==null?void 0:B.trim())==null?void 0:E.replace(/(.{200})..+/,"$1..."))||void 0,og:{image:(T=n.value)==null?void 0:T.logo}});const{data:a}=([i,m]=G(()=>ze({clients:[n.value.slug]},3,!0)),i=await i,m(),i);return(r,l)=>{var P,N,S,j,R,F,H,O,q;const J=ue,K=Se,Q=je,D=he,M=xe,W=ve,X=ye,Y=Re,Z=Fe,ee=we,te=be,ne=$e;return!e(k)&&!e(y)&&e(n)?(s(),f("section",He,[c(J,{links:[{name:"Annuaire",href:"/annuaire"},{name:e(I)((r._.provides[C]||r.$route).params.type),href:"/annuaire/"+(r._.provides[C]||r.$route).params.type},{name:"".concat(e(n).city.department.code," - ").concat(e(n).city.department.name),href:"/annuaire/"+(r._.provides[C]||r.$route).params.type+"/"+e(n).city.department.slug}],class:"py-4"},null,8,["links"]),o("h1",Oe,g(e(n).name),1),o("div",qe,[o("div",Ge,[c(K,{client:e(n),class:"overflow-hidden rounded-md shadow-md","hide-show-annonces":!e(a)||((P=e(a))==null?void 0:P.total)<1},null,8,["client","hide-show-annonces"]),e(n).description?(s(),f("div",Ie,[l[2]||(l[2]=o("h2",{class:"font-roboto-slab text-2xl font-light text-primary"},"L'Agence immobilière",-1)),o("div",{class:"grid py-6 text-sm text-black prose max-w-none prose-strong:font-medium",innerHTML:(N=e(n).description)!=null?N:""},null,8,Ue)])):d("",!0),((S=e(n).documents)==null?void 0:S.length)>0?(s(),p(Q,{key:1,images:(j=e(n).documents)==null?void 0:j.map(_=>_.url)},null,8,["images"])):d("",!0),c(D,{id:"annuaire-detail-banner",sizeMapping:[[[0,0],[340,90]],[[1120,0],[480,90]],[[1360,0],[728,90]]],class:"w-[340px] h-[90px] lg:w-[480px] xl:w-[728px] my-2",code:"annuaire-detail-banner",height:"90",width:"728"}),c(M,{client:e(n),class:"overflow-hidden rounded-md shadow-md",format:"grid"},null,8,["client"])]),o("aside",Je,[c(M,{client:e(n),class:"overflow-hidden rounded-md shadow-md",format:"inline"},null,8,["client"]),c(Y,{class:"md:aspect-square rounded-md overflow-hidden",height:"438","image-url":"/images/annuaire/wynand.jpg","load-image-after-mount":"","overlay-class":"bg-black/60",position:"full",width:"438"},{default:h(()=>[o("div",Ke,[l[4]||(l[4]=o("h2",{class:"font-roboto-slab text-2xl"},"Vous ne trouvez pas ce que vous cherchez ?",-1)),l[5]||(l[5]=o("p",{class:"mt-4 font-normal"},"Créez une alerte pour recevoir par mail les nouvelles annonces de terrain dès leur publication.",-1)),c(X,{class:"mt-6 p-3 hover:bg-tertiary/80",onClick:l[0]||(l[0]=pe(_=>u.value=!0,["prevent"]))},{default:h(()=>[c(W,{name:"bell",class:"inline w-4 h-4 mr-2 text-white"}),l[3]||(l[3]=b(" Créer une alerte ",-1))]),_:1})])]),_:1}),c(D,{id:"annuaire-detail-sidebar",sizeMapping:[[[0,0],[336,280]],[[768,0],[300,600]]],class:"h-[280px] w-[336px] md:w-[300px] md:h-[600px]",code:"annuaire-detail-sidebar",height:"600",width:"300"})])]),(R=e(a))!=null&&R.data&&((F=e(a))==null?void 0:F.total)>0?(s(),p(Z,{key:0,baseline:"Découvrez ".concat(((H=e(a))==null?void 0:H.total)>1?"les ".concat(e(a).total.toLocaleString("fr")," terrains"):"le terrain"," à vendre de cette agence"),href:"/terrain-a-vendre?clients="+e(n).slug,link:"Voir tous les terrains",title:"Terrains constructibles"},null,8,["baseline","href"])):d("",!0),o("section",null,[(O=e(a))!=null&&O.data&&((q=e(a))==null?void 0:q.total)>0?(s(),f("div",Qe,[(s(!0),f(ce,null,de(e(a).data,_=>(s(),p(ee,{href:("generateAnnonceUrl"in r?r.generateAnnonceUrl:e(ke))(_),annonce:_},null,8,["href","annonce"]))),256))])):d("",!0)]),c(ne,{visible:e(u),"onUpdate:visible":l[1]||(l[1]=_=>me(u)?u.value=_:null),title:"Créer une alerte",icon:"bell",description:"Définissez votre critères de recherche pour être informé par e-mail des nouvelles annonces correspondantes."},{default:h(()=>[c(te)]),_:1},8,["visible"])])):d("",!0)}}});
2export{vt 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.