1"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[697],{41841:function(e,t,l){l.r(t);var a=l(27378),n=l(91625),i=l(20030),o=l(12904),c=l(15250),r=l(58305),u=l(9579),s=l(83973),d=l(1339),m=l(45796),f=l(92911),_=l(90457);const p=e=>{let{nodeActualites:t}=e;return a.createElement(a.Fragment,null,a.createElement(m.w,{node:t,resumeClassName:c.ZP,contentClassName:c.ci,splitPoint:625}))},g=e=>{let{nodeActualites:t}=e;return a.createElement(a.Fragment,null,t.relationships.field_taxonomie_thematique&&a.createElement("div",{className:c.SZ},a.createElement("p",null,"Thématique"),a.createElement("p",{role:"list"},t.relationships.field_taxonomie_thematique.map(((e,l)=>l===t.relationships.field_taxonomie_thematique.length-1?a.createElement(r.od,{key:e.name,role:"listitem"},a.createElement(u.Z,{link:e.path.alias},e.name)):a.createElement(r.od,{key:e.name,role:"listitem"},a.createElement(u.Z,{link:e.path.alias},e.name,", ")))))))},E=e=>{var t;let{nodeActualites:l}=e;return a.createElement("div",{className:c.NH},(null===(t=l.relationships)||void 0===t?void 0:t.field_image_actus)&&a.createElement(_.$,{type:"node",node:{alt:l.field_image_actus.alt,file:l.relationships.field_image_actus.localFile}}))},h=e=>{let{nodeActualites:t,location:l}=e;return a.createElement(a.Fragment,null,a.createElement(r.MV,{className:c.aO},a.createElement("div",{className:c.yZ},a.createElement(u.Z,{arialabel:"Retour aux actualités",link:"/actualites"},"Retour aux actualités")),a.createElement("div",null,a.createElement(d.Z,{location:l,postData:t}))))},v=e=>{let{nodeActualites:t}=e;return a.createElement(a.Fragment,null,t.field_infos_complementaires&&a.createElement(r.xl,{className:c.EP},a.createElement(o.Z,{node:t})))};t.default=e=>{var t,l,o;let{data:u,location:d}=e;const m=u.nodeActualites,_=m.relationships.field_taxonomie_thematique.map((e=>e.name)).join();return a.createElement(n.Z,{isDetail:!0},a.createElement(i.Z,{title:m.title,description:"Dans cette page, vous découvrez l'actualité suivante : "+m.title+", mais aussi l'ensemble des thématiques suivantes : "+_,nodeImageUrl:null===(t=m.relationships)||void 0===t||null===(l=t.field_image_actus)||void 0===l||null===(o=l.localFile)||void 0===o?void 0:o.SlugifiedPublicUrl}),a.createElement("div",{className:c.du},a.createElement(E,{nodeActualites:m}),a.createElement("div",{className:c.BW},a.createElement(s.Z,{pageNameLink:"/actualites",pageName:"Toutes les actualités",isDetail:!0,postName:m.title})),a.createElement(r.JJ,{className:c.$c},m.created.split("/").join(".")),a.createElement("div",{className:c.L5},a.createElement(f.Z,{link:"/node/"+m.drupal_internal__nid+"/edit",addedClass:c.S1}),a.createElement(r.Nf,{className:c._3},m.title)),a.createElement(g,{nodeActualites:m}),a.createElement(p,{nodeActualites:m})),a.createElement(h,{nodeActualites:m,location:d.href}),a.createElement(v,{nodeActualites:m}))}},58305:function(e,t,l){l.d(t,{JJ:function(){return r},MV:function(){return c},Nf:function(){return o},od:function(){return i},xl:function(){return n}});var a=l(41737);const n=a.default.section.withConfig({displayName:"actualite-styled__AdditionalInfos",componentId:"sc-1u1ib73-0"})(["background-color:",";color:",";"],(e=>e.theme.a_color_gradients.a_dark),(e=>e.theme.a_color_gradients.a_light)),i=a.default.span.withConfig({displayName:"actualite-styled__ActuTaxo",componentId:"sc-1u1ib73-1"})(["& > a{color:",";text-decoration:none;font-weight:600;}"],(e=>e.theme.a_color_gradients.a_light)),o=a.default.h1.withConfig({displayName:"actualite-styled__ActuTitle",componentId:"sc-1u1ib73-2"})(['&::before{content:"// ";color:',";background-color:transparent !important;}}"],(e=>e.theme.a_color_gradients.a_dark)),c=a.default.div.withConfig({displayName:"actualite-styled__ActualiteFooterContainer",componentId:"sc-1u1ib73-3"})(["color:",";font-weight:bold;& a::before{background-color:",";}"],(e=>e.theme.c_color_gradients.c_dark),(e=>e.theme.c_color_gradients.c_dark)),r=a.default.p.withConfig({displayName:"actualite-styled__GridDate",componentId:"sc-1u1ib73-4"})(["color:",";"],(e=>e.theme.a_color_gradients.a_dark))},45796:function(e,t,l){l.d(t,{w:function(){return i}});var a=l(27378),n=l(7847);const i=e=>{let{node:t,resumeClassName:l,contentClassName:i,splitPoint:c}=e;if("undefined"!=typeof document){var r,u,s,d;let e=(new DOMParser).parseFromString(null===(r=t.body)||void 0===r?void 0:r.processed.trim(),"text/html");const m=o("style",e),f=o("link",e);e=e.querySelectorAll("body")[0].children;let _="",p="",g=!1;for(let t=0;t<e.length;t++)g?p+=e[t].outerHTML:(_+=e[t].outerHTML,(_.length>c||_.includes("<img"))&&(g=!0));return _=f+m+_,a.createElement(a.Fragment,null,null!==(u=t.body)&&void 0!==u&&u.summary?a.createElement(a.Fragment,null,a.createElement("div",{className:l},a.createElement(n.Z,{content:t.body.summary})),null!==(s=t.body)&&void 0!==s&&s.processed?a.createElement("div",{className:i},a.createElement(n.Z,{content:t.body.processed})):null):null!==(d=t.body)&&void 0!==d&&d.processed?a.createElement(a.Fragment,null,a.createElement("div",{className:l},a.createElement(n.Z,{content:_})),a.createElement("div",{className:i},a.createElement(n.Z,{content:p}))):null)}return null},o=(e,t)=>t.querySelectorAll(e).length>0?t.querySelectorAll(e)[0].outerHTML:""},12904:function(e,t,l){var a=l(27378),n=l(7847);t.Z=e=>{var t;let{node:l}=e;return null!==(t=l.field_infos_complementaires)&&void 0!==t&&t.processed?a.createElement("div",null,a.createElement(n.Z,{content:l.field_infos_complementaires.processed})):null}},15250:function(e,t,l){l.d(t,{$c:function(){return s},BW:function(){return r},EP:function(){return p},L5:function(){return f},NH:function(){return i},S1:function(){return c},SZ:function(){return m},ZP:function(){return d},_3:function(){return o},aO:function(){return a},ci:function(){return u},du:function(){return _},yZ:function(){return n}});var a="detailsActu-module--actualite-content-footer--50f56",n="detailsActu-module--actualite-content-footer-back--d3cbc",i="detailsActu-module--actualite-img--9913c",o="detailsActu-module--actualite-title--434b1",c="detailsActu-module--edit-button--cc202",r="detailsActu-module--grid-ariane--072f2",u="detailsActu-module--grid-content--a6054",s="detailsActu-module--grid-date--fb955",d="detailsActu-module--grid-resume--92504",m="detailsActu-module--grid-tags--25996",f="detailsActu-module--grid-title--5db10",_="detailsActu-module--page-actu--e26b9",p="detailsActu-module--page-actu-ad
1ditional-infos--07c3e"}}]); 2//# sourceMappingURL=component---theme-gatsby-theme-amaryllis-src-gatsby-theme-blank-templates-details-actualite-js-4daf4a445d63307fd026.js.map
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.