PageSourceSearch

https://www.cauevar.fr/_next/static/chunks/pages/[...slug]-515ca7f157d9115f.js

js cauevar.fr collected 2026-10-04 09:00:45 UTC 15,020 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{10:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return a(1435)}])},1724:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var s=a(5893);a(7294);var l=a(5935);function n(e){let{data:t}=e;return t?(0,s.jsx)("p",{className:"mb-6 border-b border-gray-200 pb-6 text-sm font-medium uppercase tracking-wider",children:(0,l.ZP)(t)}):null}},1435:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return z},default:function(){return H}});var s=a(5893),l=a(7294),n=a(9008),r=a.n(n),i=a(9912),c=a(5391),o=a(1724),d=a(2569);a(7621);var u=a(1664),m=a.n(u),p=a(5675),x=a.n(p),h=a(1510),f=e=>{let{evenement:t,type:a}=e,l=(0,h.Z)(new Date,"yyyyLLdd"),n=t.start_date.replace("-","")<=l&&t.end_date.replace("-","")>=l;return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)(m(),{href:"/agenda/"+t.post_name,children:(0,s.jsxs)("div",{className:"aspect-w-1 aspect-h-1 relative mb-4 overflow-hidden rounded shadow-xl",children:[(0,s.jsx)(x(),{src:t.image,layout:"fill",priority:!0}),(0,s.jsxs)("span",{className:"absolute bottom-0 left-0 z-10 mt-2",children:[n&&(0,s.jsx)("span",{className:"mb-3 ml-3 inline-flex items-center rounded-full bg-jaune-500 px-2.5 py-0.5 text-xs font-medium text-white",children:"En ce moment"}),!n&&(0,s.jsx)("span",{className:"mb-3 ml-3 inline-flex items-center rounded-full bg-jaune-500 px-2.5 py-0.5 text-xs font-medium text-white",children:"\xc0 venir"})]})]})}),(0,s.jsx)(m(),{href:"/agenda/"+t.post_name,children:(0,s.jsx)("h4",{className:"font-semibold text-bleu-500",children:t.post_title})}),(0,s.jsxs)("div",{className:"text-sm",children:[(0,s.jsx)("p",{className:"text-gris-500",children:t.date_affichage}),(0===t.cibles.length||6===t.cibles.length)&&(0,s.jsx)("p",{className:"mt-2 text-xs font-medium text-orange-500",children:"Adapt\xe9 \xe0 tous les publics"}),t.cibles.length>0&&t.cibles.length<6&&(0,s.jsxs)("p",{className:"mt-2 text-xs font-medium text-orange-500",children:["Adapt\xe9 ",t.cibles.length>1?"aux publics":"au public"," :"," ",t.cibles.join(", ")]})]})]})},g=a(7926),j=a(5830),b=e=>{var t;let a=new Date(1e3*e.date);return a=(0,g.Z)(a,new Date,{addSuffix:!0,locale:j.Z}),(0,s.jsx)("div",{className:"group col-span-12 cursor-pointer sm:col-span-6 lg:col-span-4",children:(0,s.jsxs)(m(),{href:e.link,className:"relative flex h-full w-full overflow-hidden rounded shadow-xl",children:[(0,s.jsx)("div",{className:"absolute top-0 z-10 flex h-full w-full flex-col justify-end bg-gradient-to-t from-black-transparent to-transparent px-6 py-8",children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("span",{className:"flex-none rounded bg-jaune-500 px-2 py-0.5 text-xs font-medium text-white",children:(t=a).charAt(0).toUpperCase()+t.slice(1)}),(0,s.jsx)("div",{className:"mb-2"}),(0,s.jsx)("h3",{className:"inline bg-white py-1 text-lg leading-[1.95rem] tracking-normal text-bleu-500 md:text-sm lg:text-lg",children:e.titre})]})}),(0,s.jsx)("div",{className:"aspect-w-1 aspect-h-1 relative h-full w-full transition-transform duration-700 group-hover:scale-105",children:(0,s.jsx)(x(),{src:e.image,layout:"fill",objectFit:"cover",priority:!0})})]})})},v=a(452),_=a(5935);function y(e){let{evenements:t,actualites:a,active:l,sticky:n,infos_pratiques:r,titre_infos_pratiques:i}=e;if(!l)return null;let c=t.length>0?t[(0,v.XF)(t.length-1)]:null,o=a.length>0?a[(0,v.XF)(a.length-1)]:null;return(0,s.jsx)("div",{className:"col-span-24 md:col-span-7 lg:col-span-6 relative",children:(0,s.jsxs)("div",{className:"space-y-12 sm:space-y-0 md:space-y-12 py-12 md:block gap-x-6 ".concat(n?"md:sticky md:top-[134px]":""),children:[r&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold text-bleu-500 text-xl border-b border-gray-200 pb-5 leading-tight",children:i?(0,_.ZP)(i):(0,_.ZP)("Informations<br /><strong>pratiques</strong>")}),(0,s.jsx)("ul",{className:"mt-0",children:r.map((e,t)=>(0,s.jsxs)("li",{className:"flex flex-row items-start justify-between border-b border-gray-200 py-3",children:[(0,s.jsx)("span",{className:"font-semibold text-sm w-1/3",children:e.libelle}),(0,s.jsx)("span",{className:"w-2/3 text-left text-sm pl-4 space-y-2",children:e.valeur})]},t))})]}),!r&&c&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-medium text-cyan-500 text-xl mb-5 leading-tight",children:(0,s.jsx)("strong",{children:"Agenda"})}),(0,s.jsx)(f,{evenement:c})]}),!r&&o&&(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-medium text-vert-500 text-xl mb-5 leading-tight",children:(0,s.jsx)("strong",{children:"\xc0 la une"})}),(0,s.jsx)(b,{titre:o.post_title,date:o.post_date,image:o.image,link:"/actualites/"+o.post_name})]})]})})}var N=a(5613),w=a.n(N),k=a(1304),C=a.n(k);function O(e){return(0,s.jsx)("div",{...e,children:(0,s.jsxs)("span",{className:"flex h-2 w-2",children:[(0,s.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-cyan-500 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-cyan-500"})]})})}var Z=a(840),P=a(5837);function E(e){let{pageUri:t,blocks:a}=e,{data:l,error:n}=(0,Z.ZP)("/cauevar/v1/sibbling_nav_by_slug?slug="+t);if(n)return"An error has occurred.";if(!l)return(0,s.jsx)(P.al,{color:"#F3F4F6",rows:6});let r=[];return a&&(r=a.filter(e=>"titre"===e.acf_fc_layout&&"h2"===e.type&&!0!==e.ne_pas_afficher_dans_le_sommaire)),(0,s.jsx)("ul",{className:"space-y-3 lg:pr-3",children:l.menu_principal.map((e,t)=>e.current?(0,s.jsxs)("li",{className:"relative font-bold",children:["children"===e.current&&(0,s.jsx)(m(),{href:(0,v.bJ)(e.url),children:(0,_.ZP)(e.title.replace(" ?","\xa0?"))}),!0===e.current&&(0,s.jsx)("span",{className:"cursor-pointer",onClick:()=>w()(document.querySelector("#main-title"),{verticalOffset:-179}),children:(0,_.ZP)(e.title.replace(" ?","\xa0?"))}),(0,s.jsx)(O,{className:"absolute left-0 top-0 mt-2 -ml-4"}),e.children&&e.children.length>0&&(0,s.jsx)("ul",{className:"mt-2 mb-4 space-y-1.5 pr-2 text-sm font-normal",children:e.children.map((e,t)=>!0===e.hidden?null:e.current?(0,s.jsx)("li",{className:"".concat(e.current?"font-semibold":""," cursor-pointer line-clamp-2"),onClick:()=>w()(document.querySelector("#main-title"),{verticalOffset:-179}),children:(0,_.ZP)(e.title)},t):(0,s.jsx)("li",{className:"".concat(e.current?"font-semibold":""),children:(0,s.jsx)(m(),{href:(0,v.bJ)(e.url),className:"line-clamp-2",children:(0,_.ZP)(e.title)})},t))}),(!e.children||0==e.children.length)&&r.length>0&&(0,s.jsx)("ul",{className:"mt-2 mb-4 space-y-1.5 pr-2 text-sm font-normal text-gris-400",children:r.map((e,t)=>{if(!(t>4))return(0,s.jsx)("li",{children:(0,s.jsx)("span",{className:"cursor-pointer line-clamp-2",onClick:()=>w()(document.querySelector("#"+C()(e.titre,{lower:!0,strict:!0})),{verticalOffset:-154}),children:(0,_.ZP)(e.titre)})},t)})})]},t):(0,s.jsxs)("li",{className:"flex items-center font-bold",children:[(0,s.jsx)(m(),{href:(0,v.bJ)(e.url),target:(0,v.b9)(e.url)?"_blank":"",children:(0,s.jsx)("span",{className:"cursor-pointer",children:e.title})}),(0,v.b9)(e.url)&&(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ml-1 inline h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]},t))})}function q(e){let{subNavOpen:t,setSubNavOpen:a,pageData:l,menuData:n,active:r}=e;return r?(0,s.jsx)("div",{className:"hidden lg:block col-span-24 lg:col-span-5 space-y-3 border-b lg:border-b-0 lg:border-r border-gray-100 py-6 lg:py-12 -mx-6 px-10 lg:ml-0 lg:mr-4 lg:px-0 bg-gray-50 lg:bg-white relative ".concat(t?"":"pt-3 lg:pt-12"),children:(0,s.jsx)("div",{className:"".concat(t?"block lg:sticky lg:top-[182px]":"hidden lg:block lg:sticky lg:top-[182px]"),children:(0,s.jsx)(E,{menuData:n,page_title:l.title,blocks:l.metas.editeur.editeur_multiblocs,pageUri:l.slug})})}):null}function S(e){let{pageData:t,menuData:a,evenements:n,actualites:u,before:m,after:p,disableColLeft:x,disableColRight:h,centerTitle:f}=e,g=t.metas.desactiver_le_menu_de_gauche,j=t.metas.desactiver_la_colonne_de_droite;x&&(g=!0),h&&(j=!0),0===n.length&&0===u.length&&(j=!0);let b=13;g&&(b+=5),j&&(b+=6);let[v,N]=(0,l.useState)(!0);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[(0,s.jsxs)("title",{children:[t.metas.titre_personnalise||t.title," - CAUE Var"]}),(0,s.jsx)("meta",{property:"og:title",content:(t.metas.titre_personnalise||t.title)+" - CAUE Var"}),t.date&&(0,s.jsx)("meta",{name:"date",content:t.date}),(t.metas.description_personnalisee||t.metas.chapo)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("meta",{name:"description",content:t.metas.description_personnalisee||t.metas.chapo}),(0,s.jsx)("meta",{property:"og:description",content:t.metas.description_personnalisee||t.metas.chapo})]}),t.metas.image_de_partage&&(0,s.jsx)("meta",{property:"og:image",content:t.metas.image_de_partage.sizes["1200x630"]}),!t.metas.image_de_partage&&(0,s.jsx)("meta",{property:"og:image",content:"/caue-var-og-default.png"}),t.canonical&&(0,s.jsx)("link",{rel:"canonical",href:t.canonical})]}),(0,s.jsx)(i.Z,{type:"page",section:t.ancestors[0].id,image:t.metas.image_du_bandeau?t.metas.image_du_bandeau.sizes.img_1920x1200:null}),(0,s.jsx)(c.Z,{pageId:null,menuData:t.ancestors}),(0,s.jsx)("div",{className:"relative mx-auto max-w-7xl border-gray-100 px-6 lg:px-8 xl:border-l xl:border-r",children:(0,s.jsxs)("div",{className:"grid-cols-24 gap-x-6 md:grid",children:[(0,s.jsx)(q,{subN
1avOpen:v,setSubNavOpen:N,pageData:t,active:!g,menuData:a}),(0,s.jsxs)("div",{className:"col-span-24 md:col-span-".concat(j?"24":"17"," lg:col-span-").concat(b," relative py-12"),children:[(0,s.jsxs)("h1",{id:"main-title",className:"mb-6 border-b border-gray-200 pb-4 text-2xl font-bold md:text-3xl ".concat(f?"text-center":""),children:[t.metas.grand_titre_ligne_1&&(0,s.jsx)("span",{className:"block text-bleu-500",children:(0,_.ZP)(t.metas.grand_titre_ligne_1)}),t.metas.grand_titre_ligne_2&&(0,s.jsx)("span",{className:"block text-xl font-medium text-cyan-500 md:text-2xl",children:(0,_.ZP)(t.metas.grand_titre_ligne_2)})]}),(0,s.jsx)(o.Z,{data:t.metas.chapo}),m,(0,s.jsx)(d.Z,{editeur_multiblocs:t.metas.editeur.editeur_multiblocs,isColDroite:!j,isPage:!0}),p]}),(0,s.jsx)(y,{evenements:n,actualites:u,active:!j,sticky:!0,titre_infos_pratiques:t.metas.titre_infos_pratiques,infos_pratiques:t.metas.infos_pratiques})]})}),!1]})}var D=a(1996),A=a(8632),F=a(1163),M=a(1955),z=!0;function H(e){let{pageData:t,menuData:a,actualites:l,evenements:n,navigation:r}=e,i=(0,F.useRouter)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D.Z,{navigation:r}),(0,s.jsx)(S,{menuData:a,pageData:t,actualites:l,evenements:n,after:(0,s.jsx)(()=>"/liens-utiles/politique-de-confidentialite"===i.asPath?(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"pt-6 text-xl font-semibold text-bleu-500",id:"modification-de-cette-politique-de-confidentialite",children:"Modification du consentement"}),(0,s.jsxs)("p",{className:"mt-3",children:["Vous pouvez modifier votre consentement \xe0 tout moment en"," ",(0,s.jsx)("span",{className:"cursor-pointer text-bleu-500",onClick:()=>{M.Z.remove("CookieConsent",{path:"/"}),i.reload(window.location.pathname)},children:"cliquant ici"})]})]}):null,{})}),(0,s.jsx)(A.Z,{navigation:r})]})}},1985:function(e,t,a){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,a=1,s=arguments.length;a<s;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};t.__esModule=!0;var l=a(7294),n=a(2075),r=a(1817),i=a(4643),c={display:"flex"};t.default=function(e){var t=e.className,a=e.style,o=e.color,d=e.rows;return l.createElement("div",{className:i.joinClassNames("media-block",t),style:s(s({},c),a)},l.createElement(r.default,{color:o,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),l.createElement(n.default,{color:o,rows:d}))}},8588:function(e,t,a){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,a=1,s=arguments.length;a<s;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};t.__esModule=!0;var l=a(7294),n=a(4643);t.default=function(e){var t=e.className,a=e.style,r=e.color;return l.createElement("div",{className:n.joinClassNames("rect-shape",t),style:s(s({},{backgroundColor:r,width:"100%",height:"100%",marginRight:10}),a)})}},1817:function(e,t,a){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,a=1,s=arguments.length;a<s;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};t.__esModule=!0;var l=a(7294),n=a(4643);t.default=function(e){var t=e.className,a=e.style,r=e.color;return l.createElement("div",{className:n.joinClassNames("round-shape",t),style:s(s({},{backgroundColor:r,borderRadius:"500rem",width:"100%",height:"100%"}),a)})}},2075:function(e,t,a){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,a=1,s=arguments.length;a<s;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};t.__esModule=!0;var l=a(7294),n=a(2992),r=a(4643),i={width:"100%"},c=[97,100,94,90,98,95,98,40];t.default=function(e){var t=e.rows,a=e.lineSpacing,o=e.color,d=e.style,u=e.className,m=e.widths,p=void 0===m?c:m;return l.createElement("div",{className:r.joinClassNames("text-block",u),style:s(s({},i),d)},Array.apply(null,Array(t)).map(function(e,s){return l.createElement(n.default,{color:o,style:{maxHeight:100/(2*t-1)+"%",width:p[(s+p.length)%p.length]+"%"},lineSpacing:0!==s?a:0,key:s})}))}},2992:function(e,t,a){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,a=1,s=arguments.length;a<s;a++)for(var l in t=arguments[a])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};t.__esModule=!0;var l=a(7294),n=a(4643);t.default=function(e){var t=e.className,a=e.maxHeight,r=e.color,
1i=e.lineSpacing,c=e.style;return l.createElement("div",{className:n.joinClassNames("text-row",t),style:s(s({},{maxHeight:a,width:"100%",height:"1em",backgroundColor:r,marginTop:void 0===i?"0.7em":i}),c)})}},5837:function(e,t,a){"use strict";t.al=void 0;var s=a(2992);s.default;var l=a(1817);l.default;var n=a(8588);n.default;var r=a(2075);t.al=r.default;var i=a(1985);i.default,s.default,l.default,n.default,r.default,i.default},4643:function(e,t){"use strict";t.__esModule=!0,t.joinClassNames=void 0,t.joinClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return e}).join(" ")}}},function(e){e.O(0,[634,664,118,942,325,149,728,635,996,839,295,569,774,888,179],function(){return e(e.s=10)}),_N_E=e.O()}]);

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.