1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6244ec6c-b056-42d4-a569-7bbe907f907f",e._sentryDebugIdIdentifier="sentry-dbid-6244ec6c-b056-42d4-a569-7bbe907f907f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1678],{5231:(e,t,l)=>{"use strict";l.d(t,{C:()=>a});var i=l(95155),r=l(99979),n=l(2821);let a=e=>{let{updatedAt:t,className:l}=e;if(!t)return null;let a=(0,r.I0)(new Date(t));return(0,i.jsx)("div",{className:(0,n.A)("mt-2 italic",l),children:"Derni\xe8re mise \xe0 jour le ".concat(a)})}},6197:(e,t,l)=>{"use strict";l.d(t,{RetourExperienceDiagPdf:()=>a});var i=l(95155),r=l(2821);l(12115);var n=l(15239);let a=e=>{let{pdf:t}=e;if(!t)return null;let l=async e=>{if(e.preventDefault(),t)try{let e=await fetch("/api/download-pdf?url=".concat(encodeURIComponent(t)));if(!e.ok)throw Error("Erreur HTTP: ".concat(e.status));let l=await e.blob(),i=window.URL.createObjectURL(l),r=document.createElement("a");r.href=i,r.download=t.split("/").pop()||"document.pdf",document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(i)}catch(e){console.error("Erreur lors du t\xe9l\xe9chargement:",e)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h2",{className:"mb-1 text-lg font-bold",children:"Pour aller plus loin"}),(0,i.jsx)("p",{className:"mb-4 text-sm",children:"T\xe9l\xe9charger la version compl\xe8te de ce diagnostic."}),(0,i.jsxs)("div",{className:"rounded-lg bg-dsfr-contrast-grey p-4",children:[(0,i.jsx)(n.default,{src:"/images/rex-diagnostic/rex-diag-pdf.jpg",alt:"",width:300,height:300}),(0,i.jsxs)("a",{href:t,onClick:l,className:(0,r.A)("flex cursor-pointer items-center justify-start gap-2 font-bold text-pfmv-navy","mt-3 !bg-none after:content-none hover:underline"),children:[(0,i.jsx)("div",{className:"flex size-8 items-center justify-center rounded-full bg-pfmv-navy",children:(0,i.jsx)("i",{className:"ri-download-2-line size-4 text-white before:!mb-2 before:!size-4"})}),"T\xe9l\xe9charger"]})]})]})}},10883:(e,t,l)=>{var i=l(95918),r=l(57716),n=l(71624),a=l(32438);e.exports=function(e){return function(t){var l=r(t=a(t))?n(t):void 0,o=l?l[0]:t.charAt(0),c=l?i(l,1).join(""):t.slice(1);return o[e]()+c}}},14443:(e,t,l)=>{"use strict";l.d(t,{FN:()=>i,Oe:()=>r,uU:()=>n});let i=[{label:"Rond point",code:"rondpoint",icon:"espace-icone-rond-point.svg"},{label:"B\xe2timent",code:"batiment",icon:"espace-icone-batiment.svg",searchKeywords:"confort d'\xe9t\xe9"},{label:"Parking",code:"parking",icon:"espace-icone-parking.svg"},{label:"Rue",code:"rue",icon:"espace-icone-rue.svg"},{label:"Place",code:"place",icon:"espace-icone-place.svg"},{label:"Cour d'\xe9cole",code:"ecole",icon:"espace-icone-cour-ecole.svg"},{label:"Espace vert",code:"parc",icon:"espace-icone-cour-parc-jardin.svg"}],r=[...i.map(e=>({name:e.label,value:e.code}))],n=e=>{var t;return e&&(null==(t=i.find(t=>t.code===e))?void 0:t.label)||e}},19282:(e,t,l)=>{"use strict";l.d(t,{BI:()=>r,UC:()=>i,eK:()=>a});let i={code:"ilot_chaleur_urbain",label:"\xcelot de chaleur urbain"},r={code:"confort_thermique",label:"Confort thermique",searchKeywords:"plan canicule"},n=[i,r],a=e=>{var t;return(null==e||null==(t=e.echelle_thermique)?void 0:t.map(e=>n.find(t=>t.code===e)||i))||[]}},19642:(e,t,l)=>{"use strict";l.d(t,{F$:()=>v,FO:()=>u,_2:()=>p,aJ:()=>b,eS:()=>f,kP:()=>c,qe:()=>m,ww:()=>s});var i=l(83349),r=l(31663),n=l(5975),a=l(14443),o=l(34382);let c=e=>{let t=e.adresse_all_infos,l=(null==t?void 0:t.geometry.coordinates)?{latitude:t.geometry.coordinates[1],longitude:t.geometry.coordinates[0]}:{latitude:e.collectivite.latitude,longitude:e.collectivite.longitude};return[l.latitude,l.longitude]},s=[{code:o.Q.Collectivite,label:"Collectivit\xe9"},{code:o.Q.Conseil,label:"Conseil"},{code:o.Q.StructurePublique,label:"Structure publique"},{code:o.Q.ConceptionEtRealisation,label:"Conception et r\xe9alisation"},{code:o.Q.ConcertationCitoyenne,label:"Concertation citoyenne"},{code:o.Q.RechercheEtInnovation,label:"Recherche et innovation"},{code:o.Q.Groupements,label:"Groupement"}],u=e=>{var t;return(null==(t=s.find(t=>t.code===e))?void 0:t.label)||e},d=[{code:o.E.BureauEtudeIngenierie,label:"Bureau d'\xe9tude ing\xe9nierie"},{code:o.E.BureauEtudeTechnique,label:"Bureau d'\xe9tude technique"},{code:o.E.AssistanceMaitriseOuvrage,label:"Assistance \xe0 ma\xeetrise d'ouvrage"},{code:o.E.AgenceEau,label:"Agence de l'eau"},{code:o.E.BailleurSocial,label:"Bailleur social"},{code:o.E.Caue,label:"CAUE"},{code:o.E.AgenceArchitecture,label:"Agence d'architecture"},{code:o.E.AgencePaysagiste,label:"Agence paysagiste"},{code:o.E.Amenageur,label:"Am\xe9nageur"},{code:o.E.SocieteArboriculture,label:"Soci\xe9t\xe9 d'arboriculture"},{code:o.E.AgenceConceptionLumiere,label:"Agence conception lumi\xe8re"},{code:o.E.SyndicCopropriete,label:"Syndic de copropri\xe9t\xe9"},{code:o.E.AgenceCommunication,label:"Agence de communication"},{code:o.E.Collectif,label:"Collectif"},{code:o.E.PoleUniversitaire,label:"P\xf4le universitaire"},{code:o.E.LaboratoireRecherche,label:"Laboratoire de recherche"},{code:o.E.Institut,label:"Institut"},{code:o.E.SyndicatMixte,label:"Syndicat mixte"},{code:o.E.Association,label:"Association"},{code:o.E.Federation,label:"F\xe9d\xe9ration"},{code:o.E.Collectivite,label:"Collectivit\xe9"},{code:o.E.EntreprisePrivee,label:"Entreprise priv\xe9e"},{code:o.E.AgenceUrbanisme,label:"Agence d'urbanisme"},{code:o.E.EtablissementPublic,label:"\xc9tablissement public"},{code:o.E.PoleInnovation,label:"P\xf4le d'innovation"}],m=(e,t)=>
1{let l=(t?d:s).find(t=>t.code===e);return null==l?void 0:l.label},p=(e,t)=>{var l;return{type:"rex",uniqueId:"rex-".concat(t.documentId,"-").concat(e.id),id:{rexId:t.documentId,contactId:e.id},label:e.label,email:e.email,telephone:e.telephone,siteInternet:e.site_internet,sousTypeContact:e.sous_type_de_contact,typeContact:e.type_de_contact,rex:{nom:t.titre,cout:null!=t.cout_euro&&t.cout_euro>=0?"".concat((0,n.qy)(t.cout_euro)," â¬"):"Non communiqu\xe9",slug:t.slug,region:(0,r.aX)(null==(l=t.region)?void 0:l.code)}}},f=e=>{var t,l,r;return{type:"in-progress",uniqueId:"in-progress-".concat(null==e?void 0:e.id),userProjetId:null==e?void 0:e.id,typeContact:o.Q.Collectivite,email:null==e||null==(t=e.user)?void 0:t.email,poste:null==e||null==(l=e.user)?void 0:l.poste,nomCollectivite:null==e||null==(r=e.user)?void 0:r.nom_etablissement,label:e.user?(0,i.po)(e.user):""}},b=e=>{var t,l,n;return{type:"in-progress",uniqueId:"in-progress-".concat(null==e?void 0:e.id),userProjetId:null==e?void 0:e.id,typeContact:o.Q.Collectivite,email:null==e||null==(t=e.user)?void 0:t.email,poste:null==e||null==(l=e.user)?void 0:l.poste,nomCollectivite:null==e||null==(n=e.user)?void 0:n.nom_etablissement,label:e.user?(0,i.po)(e.user):"",projet:{nom:e.projet.nom,typeEspace:(0,a.uU)(e.projet.type_espace),region:(0,r.GO)(e.projet)}}},v={LESS_THAN_40K:{min:0,max:4e4,label:"Moins de 40kâ¬"},FROM_40K_TO_100K:{min:4e4,max:1e5,label:"De 40k⬠\xe0 100kâ¬"},FROM_100K_TO_1M:{min:1e5,max:1e6,label:"De 100k⬠\xe0 1Mâ¬"},FROM_1M_TO_10M:{min:1e6,max:1e7,label:"De 1M⬠\xe0 10Mâ¬"},MORE_THAN_10M:{min:1e7,max:1/0,label:"Plus de 10Mâ¬"}}},25023:(e,t,l)=>{var i=l(6407);e.exports=function(e,t,l,r){return i(e,function(e,i,n){t(r,e,l(e),n)}),r}},25645:(e,t,l)=>{"use strict";l.d(t,{FicheDiagLink:()=>o});var i=l(95155),r=l(59880),n=l(20040),a=l(73242);let o=e=>{let{slug:t,className:l,onClick:o,children:c}=e,s=(0,n.Ut)(e=>e.currentProjetId),u=s?r.$Y.ESPACE_PROJET_FICHE_DIAGNOSTIC(s,t):r.$Y.SURCHAUFFE_URBAINE_FICHE_DIAGNOSTIC(t);return(0,i.jsx)(a.A,{href:u,className:l,onClick:o,children:c})}},28568:(e,t,l)=>{e.exports=l(10883)("toUpperCase")},29859:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var i=l(95155),r=l(2821);function n(e){let{label:t,className:l}=e;return(0,i.jsx)("div",{className:(0,r.A)("cmsRichText",l),dangerouslySetInnerHTML:{__html:"".concat(t)}})}},30508:(e,t,l)=>{var i=l(94897);e.exports=function(e,t,l){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):e[t]=l}},31663:(e,t,l)=>{"use strict";l.d(t,{GO:()=>n,aX:()=>r,mn:()=>i});let i=[{code:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{code:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{code:"FR-BRE",label:"Bretagne"},{code:"FR-CVL",label:"Centre-Val de Loire"},{code:"FR-COR",label:"Corse"},{code:"FR-GES",label:"Grand Est"},{code:"FR-HDF",label:"Hauts-de-France"},{code:"FR-IDF",label:"\xcele-de-France"},{code:"FR-NOR",label:"Normandie"},{code:"FR-NAQ",label:"Nouvelle-Aquitaine"},{code:"FR-OCC",label:"Occitanie"},{code:"FR-PDL",label:"Pays de la Loire"},{code:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{code:"FR-GUA",label:"Guadeloupe"},{code:"FR-GUF",label:"Guyane"},{code:"FR-MTQ",label:"Martinique"},{code:"FR-LRE",label:"La R\xe9union"},{code:"FR-MAY",label:"Mayotte"}],r=e=>{var t;return e?null==(t=i.find(t=>t.code===e))?void 0:t.label:e},n=e=>{let t=e.adresse_all_infos||e.collectivite.adresse_all_infos;return t?(e=>{var t;return(null==e?void 0:e.context)&&(null==(t=e.context)?void 0:t.split(", ")[2])||null})(t.properties):null}},34382:(e,t,l)=>{"use strict";l.d(t,{E:()=>r,Q:()=>i});var i=function(e){return e.Collectivite="collectivite",e.ConceptionEtRealisation="conception_et_realisation",e.ConcertationCitoyenne="concertation_citoyenne",e.Conseil="conseil",e.Groupements="groupements",e.RechercheEtInnovation="recherche_et_innovation",e.StructurePublique="structure_publique",e}({}),r=function(e){return e.AgenceArchitecture="agence_architecture",e.AgenceCommunication="agence_communication",e.AgenceConceptionLumiere="agence_conception_lumiere",e.AgenceEau="agence_eau",e.AgencePaysagiste="agence_paysagiste",e.AgenceUrbanisme="agence_urbanisme",e.Amenageur="amenageur",e.AssistanceMaitriseOuvrage="assistance_maitrise_ouvrage",e.Association="association",e.BailleurSocial="bailleur_social",e.BureauEtudeIngenierie="bureau_etude_ingenierie",e.BureauEtudeTechnique="bureau_etude_technique",e.Caue="caue",e.Collectif="collectif",e.Collectivite="collectivite",e.EntreprisePrivee="entreprise_privee",e.EtablissementPublic="etablissement_public",e.Federation="federation",e.Institut="institut",e.LaboratoireRecherche="laboratoire_recherche",e.PoleInnovation="pole_innovation",e.PoleUniversitaire="pole_universitaire",e.SocieteArboriculture="societe_arboriculture",e.SyndicCopropriete="syndic_copropriete",e.SyndicatMixte="syndicat_mixte",e}({})},38208:e=>{e.exports=function(e){return e.split("")}},48974:(e,t,l)=>{var i=l(95721),r=l(25023),n=l(33011),a=l(25411);e.exports=function(e,t){return function(l,o){var c=a(l)?i:r,s=t?t():{};return c(l,e,n(o,2),s)}}},56884:(e,t,l)=>{"use strict";l.d(t,{K:()=>a,V:()=>n});var i=l(95155),r=l(2821);let n={prev:"Carte pr\xe9c\xe9dente",next:"Carte suivante",first:"Aller \xe0 la premi\xe8re carte",last:"Aller \xe0 la derni\xe8re carte",slideX:"Aller \xe0 la carte n\xb0 %s",pageX:"Aller \xe0 la page %s",carousel:"carousel",slide:"carte",slideLabel:"%s sur %s"},a=e=>{let{arrow:t,className:l}=e;return(0,i.jsx)("button",{className:(0,r.A)("splide__arrows group flex items-center justify-center rounded-full bg-black","left"===t?"splide__arrow splide__arrow--prev":"splide__arrow splide__arrow--next","left"===t&&"rotate-180","cursor-pointer transition-[background] duration-300 hover:bg-white hover:text-black","absolute hidden -translate-y-1/2 lg:block",{["".concat(t,"-6")]:t},"disabled:opacity-20",l),children:(0,i.jsx)("i",{className:(0,r.A)("ri-arrow-right-line text-white group-hover:text-black")})})}},57309:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var i=l(12115),r=l(24179),n=l(83688),a=l(1775),o=l(9983),c=l(61514),s=l(3803),u=function(e,t){var l={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(l[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(l[i[r]]=e[i[r]]);return l};let d=(0,i.memo)((0,i.forwardRef)((e,t)=>{var l,c,d;let{id:m,className:p,children:f,title:b,iconId:v,small:g=!1,pressed:h,dismissible:x=!1,linkProps:j,nativeButtonProps:_,nativeParagraphProps:y,nativeSpanProps:N,style:C,onClick:A,as:E="p"}
1=e,w=u(e,["id","className","children","title","iconId","small","pressed","dismissible","linkProps","nativeButtonProps","nativeParagraphProps","nativeSpanProps","style","onClick","as"]);(0,o.v)();let I=(0,s.D)({defaultIdPrefix:"fr-tag",explicitlyProvidedId:m}),{Link:R}=(0,a.T)(),P=(0,n.cx)(r.fr.cx("fr-tag",g&&"fr-tag--sm",v,v&&"fr-tag--icon-left",x&&"fr-tag--dismiss"),void 0!==j&&j.className,p),k=null!=y?y:N;return i.createElement(i.Fragment,null,void 0!==j&&i.createElement(R,Object.assign({},j,{id:null!=(l=null!=m?m:j.id)?l:I,title:null!=b?b:j.title,className:(0,n.cx)(null==j?void 0:j.className,P),style:Object.assign(Object.assign({},null==j?void 0:j.style),C),ref:t},w),f),void 0!==_&&i.createElement("button",Object.assign({},_,{id:null!=(c=null!=m?m:_.id)?c:I,className:(0,n.cx)(null==_?void 0:_.className,P),style:Object.assign(Object.assign({},null==_?void 0:_.style),C),title:null!=b?b:null==_?void 0:_.title,onClick:null!=A?A:null==_?void 0:_.onClick,disabled:null==_?void 0:_.disabled,ref:t,"aria-pressed":h},w),f),void 0===j&&void 0===_&&("span"===E||"p"===E)&&i.createElement(E,Object.assign({},k,{id:null!=(d=null!=m?m:null==k?void 0:k.id)?d:I,className:(0,n.cx)(null==k?void 0:k.className,P),style:Object.assign(Object.assign({},null==k?void 0:k.style),C),title:null!=b?b:null==k?void 0:k.title,ref:t},w),f))}));d.displayName=(0,c.I)({Tag:d});let m=d},57716:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},63182:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a,w:()=>n});var i=l(95155),r=l(2821);let n=e=>{let{className:t}=e;return(0,i.jsx)("div",{className:(0,r.A)("h-[2px] bg-dsfr-border-default-grey opacity-40",t)})},a=e=>{let{className:t}=e;return(0,i.jsx)("div",{className:(0,r.A)("w-[1px] bg-dsfr-border-default-grey opacity-70",t)})}},65513:(e,t,l)=>{"use strict";l.d(t,{GenericFicheLink:()=>c});var i=l(95155),r=l(59880),n=l(20040),a=l(20063),o=l(73242);let c=e=>{let{children:t,className:l,href:c,onClick:s}=e,u=(0,a.usePathname)(),d=(0,n.Ut)(e=>e.currentProjetId),m=u.startsWith(r.$Y.ESPACE_PROJET)&&!c.startsWith(r.$Y.ESPACE_PROJET)?"/espace-projet/".concat(d).concat(c):c;return(0,i.jsx)(o.A,{href:m,className:l,onClick:s,children:t})}},69096:e=>{e.exports=function(e,t,l){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(l=l>r?r:l)<0&&(l+=r),r=t>l?0:l-t>>>0,t>>>=0;for(var n=Array(r);++i<r;)n[i]=e[i+t];return n}},71624:(e,t,l)=>{var i=l(38208),r=l(57716),n=l(79608);e.exports=function(e){return r(e)?n(e):i(e)}},71678:(e,t,l)=>{"use strict";l.d(t,{RetourExperienceDiagCard:()=>x});var i=l(95155),r=l(20040),n=l(67892);l(80456),l(29859);var a=l(15239),o=l(94125),c=l(34382);l(19642),l(80940),l(92757),l(5975),l(94727),l(19282),l(57309),l(98967),l(25645),l(6197),l(72641),l(63182),l(67183);var s=l(59880);l(5231);let u=e=>{let{children:t}=e;return(0,i.jsx)("div",{className:"rounded-lg bg-black/80 px-3 py-2 font-bold",children:t})};var d=l(65513),m=l(2821);let p=e=>{let{children:t,tooltipLabel:l}=e;return(0,i.jsxs)("div",{className:"group relative ",children:[t,(0,i.jsx)("div",{className:(0,m.A)("pfmv-big-tooltip absolute left-0 top-full z-10 hidden w-64 -translate-y-1/2 rounded-md"," px-5 py-1 text-center text-sm text-black",l&&"group-hover:block"),children:l})]})},f=e=>{let{ficheDiagnostic:t}=e,l=t.nom_scientifique;return(0,i.jsx)(p,{tooltipLabel:l,children:(0,i.jsx)("div",{className:"fiche-diagnostic-icone-thick flex size-12 shrink-0 items-center justify-center rounded-full",children:(0,i.jsx)(a.default,{src:(0,n.Iz)(t.image_icone,n.Mi.small),alt:null!=l?l:"pictogramme de la fiche diagnostic",className:"object-contain",width:35,height:35,unoptimized:!0})})})},b=e=>{let{rex:t,className:l,onClickButton:r}=e;if(!t)return null;let{titre:o,image_principale:p,contacts:b,slug:g,lieu:h}=t,x=null==b?void 0:b.filter(e=>e.type_de_contact===c.Q.Collectivite)[0],j=null==b?void 0:b.filter(e=>e.type_de_contact!==c.Q.Collectivite)[0];return(0,i.jsxs)("div",{className:(0,m.A)(l,"pfmv-flat-card flex max-w-[28.75rem] flex-col bg-white"),children:[(0,i.jsxs)("div",{className:"relative mb-5 h-[12rem]",children:[(0,i.jsx)(a.default,{width:462,height:267,className:"h-full w-full rounded-t-2xl object-cover",src:(0,n.Iz)(p,n.Mi.medium),alt:o||"image titre",unoptimized:!0}),(0,i.jsx)("div",{className:"absolute bottom-2 left-4 flex gap-2 text-white",children:(0,i.jsxs)(u,{children:[(0,i.jsx)("i",{className:"ri-map-pin-line mr-2 before:!mb-1 before:!size-4"}),h]})})]}),(0,i.jsxs)("div",{className:"px-8",children:[(0,i.jsx)("h2",{className:"mb-5 text-[1.375rem] leading-7",children:o}),t.lien_rex_diagnostics&&(0,i.jsx)("div",{className:"mb-7 flex flex-wrap items-center gap-2",children:t.lien_rex_diagnostics.map(e=>e.fiche_diagnostic&&(0,i.jsx)(f,{ficheDiagnostic:e.fiche_diagnostic},e.fiche_diagnostic.documentId))}),(0,i.jsx)(v,{title:"Contact de la collectivit\xe9",contact:x}),(0,i.jsx)(v,{title:"Contact du prestataire",contact:j})]}),(0,i.jsx)("div",{className:"mt-auto",children:(0,i.jsx)(d.GenericFicheLink,{onClick:r,href:s.$Y.ESPACE_PROJET_REX_DIAGNOSTIC(g),className:(0,m.A)("fr-btn fr-btn--tertiary mb-8 ml-8 rounded-3xl !text-dsfr-text-title-grey "),children:"Lire le retour dâexp\xe9rience"})})]})},v=e=>{let{title:t,contact:l}=e;return l?(0,i.jsxs)("div",{className:"mb-5",children:[(0,i.jsx)("h3",{className:"mb-0 text-sm",children:t}),(0,i.jsxs)("div",{className:"text-sm text-dsfr-text-mention-grey",children:[l.nom&&(0,i.jsxs)("span",{className:"font-bold",children:[l.nom,l.label&&" - "]}),l.label,l.email&&(0,i.jsx)(o.CopyField,{className:"!mb-2 text-dsfr-text-mention-grey hover:underline",label:"Email",value:l.email,noIcon:!0})]})]}):null};var g=l(73242);let h=e=>{let{rex:t,className:l}=e;if(!t)return null;let{titre:r,image_principale:o,lieu:c,slug:d}=t;return(0,i.jsxs)("div",{className:(0,m.A)(l,"pfmv-card fr-enlarge-link flex w-80 flex-col bg-white"),children:[(0,i.jsxs)("div",{className:"relative mb-5 h-[12rem] ",children:[(0,i.jsx)(a.default,{width:462,height:267,className:"h-full w-full rounded-t-2xl object-cover",src:(0,n.Iz)(o,n.Mi.medium),alt:"",unoptimized:!0}),(0,i.jsx)("div",{className:"absolute bottom-2 left-4 flex gap-2 text-white",children:(0,i.jsxs)(u,{children:[(0,i.jsx)("i",{className:"ri-map-pin-line mr-2 before:!mb-1 before:!size-4"}),c]})})]}),(0,i.jsxs)("div",{className:"px-6",children:[(0,i.jsx)("h2",{className:"mb-5 text-[1.375rem] leading-7",children:(0,i.jsx)(g.A,{href:s.$Y.RETOUR_EXPERIENCE_DIAGNOSTIC(d),className:"bg-none",children:r})}),t.lien_rex_diagnostics&&(0,i.jsx)("div",{className:"mb-7 flex flex-wrap items-center gap-2",children:t.lien_rex_diagnostics.map(e=>e.fiche_diagnostic&&(0,i.jsx)(f,{ficheDiagnostic:e.fiche_diagnostic},e.fiche_diagnostic.documentId))})]})]})},x=e=>{let{rex:t,className:l,onClickButton:n}=e,a=(0,r.Ut)(e=>e.currentProjetId);return t?a?(0,i.jsx)(b,{rex:t,className:l,onClickButton:n}):(0,i.jsx)(h,{rex:t,className:l}):null}},72641:(e,t,l)=>{"use strict";l.d(t,{RetourExperienceDiagPrincipauxResultats:()=>f});var i=l(95155),r=l(29859);l(27068);var n=l(37270),a=l(67892),o=l(80456),c=l(12115),s=l(56884),u=l(2821),d=l(15239);let m=e=>{var t;let{image:l,onClose:r}=e;return l?(0,i.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4",onClick:r,children:(0,i.jsxs)("div",{className:"relative max-h-[90vh] max-w-[90vw]",onClick:e=>e.stopPropagation(),children:[(0,i.jsx)("button",{className:"hover-transparent absolute -top-10 right-0 text-white",onClick:r,children:"Fermer"}),(0,i.jsx)(d.default,{width:1200,height:800,className:"mx-auto h-[60vh] w-[90vh] !object-contain",src:(0,a.Iz)(l.image,a.Mi.large),alt:null!=(t=l.caption)?t:"image fiche rex",unoptimized:!0}),l.caption&&(0,i.jsx)("p",{className:"mt-2 text-center text-white",children:l.caption})]})}):null};var p=l(67183);let f=e=>{let{content:t,images:l}=e,[d,f]=(0,c.useState)(null);return t?(0,i.jsxs)("div",{className:"mb-20",children:[(0,i.jsx)("h2",{className:"mb-4",children:"Principaux r\xe9sultats"}),(0,i.jsxs)("div",{className:"flex flex-col gap-12 md:flex-row",children:[(0,i.jsx)(r.A,{label:t}),(0,i.jsx)("div",{className:"relative w-96 shrink-0",children:(0,i.jsxs)(n.eB,{id:"fiche-diagnostic-rex-principaux-resultats-slider",hasTrack:!1,options:{autoWidth:!0,start:0,pagination:!1,i18n:s.V},children:[(0,i.jsx)(n.v9,{className:"",children:l.map((e,t)=>{var l;return(0,i.jsxs)(n.Nn,{className:"size-full",children:[(0,i.jsx)(o.ImageLoader,{width:384,height:248,className:"max-h-60 w-full object-cover",containerClassName:"size-full",src:(0,a.Iz)(e.image,a.Mi.medium),alt:null!=(l=e.caption)?l:"image fiche rex",unoptimized:!0}),(0,i.jsx)("div",{className:"mt-4 text-xs text-dsfr-text-mention-grey",children:e.caption}),(0,i.jsx)("div",{className:(0,u.A)("absolute right-2 top-2 z-20 ",""),children:(0,i.jsx)(p.A,{className:"flex w-10 items-center justify-center roun
1ded-full bg-black/60",onClick:()=>f(e),"aria-label":"Agrandir",children:(0,i.jsx)("i",{className:"ri-search-line size-5 text-white before:!mb-2 before:!size-5"})})})]},t)})}),(0,i.jsx)(s.K,{arrow:"left",className:(0,u.A)("!left-2 top-1/3 size-10 !bg-black/60",l.length<=1&&"pointer-events-none !hidden")}),(0,i.jsx)(s.K,{arrow:"right",className:(0,u.A)("!right-2 top-1/3 size-10 !bg-black/60",l.length<=1&&"pointer-events-none !hidden")})]})})]}),(0,i.jsx)(m,{image:d,onClose:()=>f(null)})]}):null}},79608:e=>{var t="\ud800-\udfff",l="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",r="[^"+t+"]",n="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",o="(?:"+l+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",s="(?:\\u200d(?:"+[r,n,a].join("|")+")"+c+o+")*",u=RegExp(i+"(?="+i+")|"+("(?:"+[r+l+"?",l,n,a,"["+t+"]"].join("|"))+")"+(c+o+s),"g");e.exports=function(e){return e.match(u)||[]}},80456:(e,t,l)=>{"use strict";l.d(t,{ImageLoader:()=>a});var i=l(95155),r=l(15239),n=l(2821);let a=e=>{let{containerClassName:t,className:l,...a}=e;return(0,i.jsx)("div",{className:(0,n.$)("bg-dsfr-background-alt-grey",t),children:(0,i.jsx)(r.default,{...a,className:(0,n.$)("w-full object-cover opacity-0 transition-opacity duration-200",l),onLoad:e=>{var t;let l=e.target;l.classList.remove("opacity-0"),l.classList.add("opacity-100"),null==(t=a.onLoad)||t.call(a,e)},alt:a.alt||""})})}},80940:(e,t,l)=>{var i=l(30508),r=l(48974),n=Object.prototype.hasOwnProperty;e.exports=r(function(e,t,l){n.call(e,l)?e[l].push(t):i(e,l,[t])})},83349:(e,t,l)=>{"use strict";l.d(t,{KQ:()=>a,Ol:()=>n,po:()=>o});var i=l(86144),r=l.n(i);let n=e=>e&&e.nom&&e.prenom&&e.email&&e.poste&&e.nom_etablissement,a=(e,t)=>{var l;return null!=(l=null==e?void 0:e.discardedInformation.includes(t))&&l},o=e=>[r()((null==e?void 0:e.prenom)||""),r()((null==e?void 0:e.nom)||"")].join(" ")},86144:(e,t,l)=>{var i=l(32438),r=l(28568);e.exports=function(e){return r(i(e).toLowerCase())}},92757:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var i=l(95155),r=l(29859);function n(e){let{citation:t,className:l}=e;return(0,i.jsxs)("figure",{className:"fr-quote ".concat(l),children:[(0,i.jsx)("blockquote",{children:(0,i.jsx)(r.A,{label:t.texte})}),(0,i.jsx)("figcaption",{children:(0,i.jsx)("div",{className:"fr-quote__author",children:t.auteur})})]})}},94125:(e,t,l)=>{"use strict";l.d(t,{CopyField:()=>a});var i=l(95155),r=l(2821),n=l(12115);let a=e=>{let{label:t,value:l,className:a,onClick:o,noIcon:c}
1=e,[s,u]=(0,n.useState)(!1),d=async(e,t)=>{e&&t&&(await navigator.clipboard.writeText(e),u(!0),setTimeout(()=>u(!1),1e3))},m=()=>{null!=o&&o(),d(l,t)};return(0,i.jsxs)("div",{className:(0,r.A)("mb-2 flex",!c&&"gap-2"),children:[(0,i.jsx)("span",{className:"flex items-center justify-between",children:(0,i.jsx)("i",{className:(0,r.A)(!c&&"ri-file-copy-line relative h-4 w-4 cursor-pointer text-pfmv-navy before:!h-5 before:!w-5",!c&&"before:!mb-3","relative"),onClick:m,title:"Cliquer pour copier",children:(0,i.jsxs)("span",{className:(0,r.A)("absolute -left-0 -top-7 w-36 rounded-md bg-white","py-1 text-center text-xs not-italic shadow-pfmv-card-shadow","pointer-events-none transition-opacity duration-200",s?"opacity-100":"opacity-0"),children:[t," copi\xe9"]})})}),(0,i.jsx)("span",{className:(0,r.A)("block cursor-pointer pt-[2px]",a),onClick:m,children:l})]})}},95721:e=>{e.exports=function(e,t,l,i){for(var r=-1,n=null==e?0:e.length;++r<n;){var a=e[r];t(i,a,l(a),e)}return i}},95918:(e,t,l)=>{var i=l(69096);e.exports=function(e,t,l){var r=e.length;return l=void 0===l?r:l,!t&&l>=r?e:i(e,t,l)}},98967:(e,t,l)=>{var i=l(63134),r=l(42979),n=l(25902),a=l(25411),o=l(48908),c=l(48728),s=l(95295),u=l(38055),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||n(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!i(e).length;for(var l in e)if(d.call(e,l))return!1;return!0}},99979:(e,t,l)=>{"use strict";l.d(t,{$p:()=>m,I0:()=>n,J7:()=>o,O9:()=>d,PG:()=>c,cw:()=>a,cx:()=>r,e9:()=>u});let i=new Date(3024,0,0,1);function r(e){return"".concat(n(e)," \xe0 ").concat(s(e.getHours()),":").concat(s(e.getMinutes()))}function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fr";return null==e?null:"iso"===t?"".concat(e.getFullYear(),"-").concat(s(e.getMonth()+1),"-").concat(s(e.getDate())):"".concat(s(e.getDate()),"/").concat(s(e.getMonth()+1),"/").concat(e.getFullYear())}function a(e){return e?e.toLocaleString("fr",{month:"long",day:"numeric",weekday:"long",year:"numeric"}):null}function o(e){return e.toString().substring(0,5)}let c=e=>0>=(e||0)?"Aujourd'hui":1===e?"Hier":"Il y a ".concat(e," jours"),s=e=>("0"+e).slice(-2),u=e=>e?Math.ceil((e.getTime()-new Date().getTime())/864e5):null,d=e=>Math.floor((new Date().getTime()-e.getTime())/36e5),m=(e,t)=>new Date(e||i)<new Date(t||i)?-1:0}}]);
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.