1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1741],{81741:function(n,e,t){t.r(e),t.d(e,{HeaderNavigationSidebar:function(){return A},HeaderNavigationSidebarSelectedEntry:function(){return L},default:function(){return P}});var r=t(70865),i=t(96670),o=t(66383),a=t(92228),l=t(50930),u=t(52322),d=t(2784),c=function(n){switch(n){case"hl_intervenant":return"Auteur";case"category":return"Cat\xe9gorie";case"video":return"Vid\xe9o";case"news":return"Article";case"event":return"\xc9v\xe9nement";case"editor":return"\xc9diteur";default:return}},s=t(73175),p=t(61568),v=t(86607),h=t(47282),f=t(49103),m=t(6886),g=t(41156),b=t(77611),x=t(61837),w=t(11776),y=t(38402),k=t(9520),j=t(60364),N=t(86741),S=t(5632),Z=t(76320),C=t(2057),B=t(395),_=t(36215),E=t(80024),T=t(47961),R=t(96177);function I(){var n=(0,a.Z)(["\n .ActionsLocalSwitcherMobile {\n margin-top: ","px;\n margin-bottom: ","px;\n display: flex;\n justify-content: end;\n "," {\n display: none;\n }\n button {\n font-size: 14px;\n height: 42px;\n width: 42px;\n border: none;\n background-color: transparent;\n }\n }\n\n .NavigationWrapper {\n position: relative;\n "," {\n display: none;\n }\n\n &Vertical {\n "," {\n display: block;\n }\n }\n }\n\n .Navigation {\n padding-left: ","px;\n padding-right: ","px;\n padding-top: ","px;\n padding-bottom: ","px;\n position: relative;\n }\n\n .entry-visible {\n display: block;\n }\n\n .entry-hidden {\n display: none;\n }\n\n .MenuNavigationToolsSideBar {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .Secondary {\n margin-top: ","px;\n\n & > * {\n // margin-bottom: ","px;\n }\n\n .Newsletter {\n "," {\n display: none;\n }\n }\n\n .footerContactAndLegal {\n background-color: ",";\n }\n }\n\n .NavigationEntry {\n border-radius: 0;\n ","\n padding: ","px;\n }\n\n .SelectedEntry {\n &Title {\n border-bottom: 2px solid ",";\n padding-top: ","px;\n padding-bottom: ","px;\n padding-left: ","px;\n padding-right: ","px;\n margin-bottom: ","px;\n }\n }\n\n .SearchWrapper {\n display: flex;\n flex-direction: column;\n margin-top: -","px;\n width: 100%;\n background: ",";\n padding-left: ","px;\n padding-right: ","px;\n\n "," {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n "," {\n box-shadow: ",";\n }\n\n "," {\n background: white;\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n > div {\n padding: 0;\n }\n\n &Vertical {\n "," {\n background: ",";\n }\n\n .SearchTop {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n }\n }\n\n .Search {\n &Top {\n display: flex;\n flex-direction: row;\n "," {\n position: relative;\n }\n }\n\n &Bottom {\n padding-top: ","px;\n border-top: 1px solid ",";\n display: flex;\n flex-direction: column;\n\n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n\n li {\n border-bottom: 1px solid ",";\n margin-left: ","px;\n margin-right: ","px;\n margin-bottom: ","px;\n\n &:hover {\n cursor: pointer;\n border-bottom: 1px solid ",";\n }\n }\n }\n }\n\n &Result {\n width: 100%;\n display: inline-flex;\n align-items: baseline;\n padding-bottom: ","px;\n }\n\n &Input {\n border: none;\n outline: none;\n width: 100%;\n -webkit-appearance: textfield;\n -webkit-box-sizing: border-box;\n ::-webkit-search-cancel-button {\n display: none;\n }\n\n height: 80px;\n padding-left: ","px;\n padding-right: ","px;\n width: 100%;\n -webkit-appearance: none;\n -webkit-box-sizing: border-box;\n height: 64px;\n border-radius: ","px;\n font-size: 18px;\n padding-left: 38px;\n padding-right: ","px;\n letter-spacing: 0.5px;\n\n &Vertical {\n border: 1px solid ",";\n box-shadow: ",";\n }\n\n "," {\n border: 1px solid ",";\n box-shadow: ",";\n }\n\n ::-webkit-search-decoration {\n display: none;\n }\n\n "," {\n font-family: ",";\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n }\n }\n\n &Button {\n display: flex;\n justify-content: flex-end;\n align-self: center;\n\n "," {\n margin-right: ","px;\n }\n\n "," {\n position: absolute;\n }\n\n &Fab {\n border-radius: ","px;\n color: ",";\n background-color: ",";\n box-shadow: ",";\n\n &:hover {\n color: ",";\n\n ","\n ","\n ","\n }\n }\n\n position: absolute;\n right: 20px;\n\n &,\n button {\n "," {\n height: 32px;\n min-height: auto;\n width: 32px;\n border-radius: ","px;\n }\n }\n }\n }\n"]);return I=function(){return n},n}function D(){var n=(0,a.Z)(["\n && {\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n z-index: 10;\n padding-left: ","px;\n padding-right: ","px;\n overflow-x: auto;\n\n .EncartButtonNestedMobile:first-child {\n margin-top: 24px;\n }\n .EncartButtonNestedMobile:last-child {\n margin-bottom: 24px;\n }\n\n .IllustrationContainerMobile {\n &:not(:last-child) {\n margin-bottom: 16px;\n }\n position: relative;\n width: 100%;\n min-height: 50px;\n\n .MenuCloseButton {\n position: absolute;\n top: 6px;\n right: 6px;\n }\n .Illustration {\n display: block;\n max-width: 100%;\n ",";\n }\n }\n }\n"]);return D=function(){return n},n}function M(){var n=(0,a.Z)(["\n .BackButton {\n width: 100%;\n justify-content: flex-start;\n padding-right: ","px;\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .BackText {\n text-transform: none;\n }\n"]);return M=function(){return n},n}var A=(0,Z.ZP)((function(n){var e=n.className,t=n.entries,a=n.legal,Z=n.logo,E=n.logoAlt,I=n.contact,D=n.socialNetworksLinks,M=n.newsletterSmall,A=n.display_nl,F=n.linkComponent,O=void 0===F?B.CVo:F,P=n.newDuration,W=n.upcomingDuration,z=n.searchFieldPlaceholder,V=n.site,H=n.vertical,U=n.nested,$=n.type,q=n.links,J=n.sidebarIsOpened,G=(0,j.Z)(),K=(0,g.Z)(G.breakpoints.up("md")),Q=t?(0,l.Z)(t.left||[]).concat((0,l.Z)(t.right||[])):[],X=(0,S.useRouter)(),Y=(0,_.bU)(),nn=(0,_.py)(Y),en=O,tn=(0,_.NT)(),rn=(0,o.Z)(d.useState(null),2),on=(rn[0],rn[1]),an=(0,o.Z)(d.useState(null),2),ln=an[0],un=an[1],dn=(0,R.Np)().search_global_config;V.search_global_config=dn||[];var cn=d.useRef(null),sn=d.useRef(null);!function(n){var e=n.isOpen,t=n.searchInputRef,r=n.onClose,i=(0,d.useRef)(null),o=(0,d.useRef)(null),a=(0,d.useRef)(null),l=(0,d.useCallback)((function(){return a.current||(a.current=document.querySelector(".SearchWra
1pper")),a.current}),[]),u=(0,d.useCallback)((function(){var n=l();return[document.querySelector(".ActionsMenuDesktop"),t.current,null===n||void 0===n?void 0:n.querySelector(".SearchButtonFab")].filter(Boolean).filter((function(n){var e=n,t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return t.width>0&&t.height>0&&"hidden"!==r.visibility&&"none"!==r.display}))}),[l,t]),c=(0,d.useCallback)((function(){var n;if(t.current){var e=null===(n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===n?void 0:n.set;if(e){e.call(t.current,"");var r=new Event("input",{bubbles:!0});t.current.dispatchEvent(r)}else t.current.value="",t.current.dispatchEvent(new Event("input",{bubbles:!0}))}}),[t]),s=(0,d.useCallback)((function(n){var e=l(),r=n.target;if(e&&e.contains(r)){n.preventDefault();var i=e.querySelectorAll(".SearchBottom li a");if(0!==i.length){var o=document.activeElement,a=Array.from(i).indexOf(o);if("ArrowDown"===n.key){if(o===t.current)i[0].focus();else if(a>=0&&a<i.length-1)i[a+1].focus();else if(a===i.length-1){var u;null===(u=t.current)||void 0===u||u.focus()}}else if("ArrowUp"===n.key)if(o===t.current)i[i.length-1].focus();else if(a>0)i[a-1].focus();else if(0===a){var d;null===(d=t.current)||void 0===d||d.focus()}}}}),[l,t]),p=(0,d.useCallback)((function(n){var e=l(),i=n.target;if(e&&e.contains(i)&&t.current&&""!==t.current.value.trim())return n.preventDefault(),n.stopPropagation(),c(),void t.current.focus();n.target!==t.current&&(n.preventDefault(),n.stopPropagation(),r&&r(),setTimeout((function(){o.current&&o.current.focus()}),100))}),[l,t,c,r]),v=(0,d.useCallback)((function(n){var e=u();if(i.current=e,e&&0!==e.length){var t=document.activeElement,r=e.indexOf(t);n.preventDefault(),-1!==r?e[(r+(n.shiftKey?-1:1)+e.length)%e.length].focus():e[0].focus()}}),[u]);(0,d.useEffect)((function(){if(e){o.current=document.activeElement,a.current=null,setTimeout((function(){i.current=u()}),100);var n=function(n){"ArrowDown"===n.key||"ArrowUp"===n.key?s(n):"Escape"===n.key?p(n):"Tab"===n.key&&v(n)};return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n),i.current=null}}!e&&o.current&&setTimeout((function(){o.current&&(o.current.focus(),o.current=null)}),100)}),[e,r,t,u,s,p,v])}({isOpen:Boolean(J)&&K&&"burger"!==$,searchInputRef:cn}),d.useEffect((function(){var n;cn.current&&(J?K&&cn.current.focus():(null===(n=sn.current)||void 0===n||n.call(sn),cn.current.blur()))}),[J,K]);var pn=function(n){window.localStorage.setItem("showLanguageSwitcherModal","refused"),X.push(n)},vn=function(){on(null),un(null)};return(0,u.jsx)(h.Z,{config:(0,p.Z)({onSearch:s.H_,onAutocomplete:s.O4,site:V,locale:Y,t:tn}),children:(0,u.jsx)(f.Z,{mapContextToProps:function(n){return n},children:function(n){var t,o,d,s=n.autocompletedResults,p=n.setSort,h=n.reset,f=function(n){var e;return null===(e=n.reduce((function(n,e){var t,r,i=JSON.parse(e.decoupled_render.raw[0]).alias;if("hl_product"===e.bundle.raw[0])return(0,l.Z)(n).concat([{type:"hl_product",title:e.product__titre_de_couverture.raw[0],alias:i,label:c(e.bundle.raw[0]),date:(null===e||void 0===e||null===(t=e.product__date_parution__date)||void 0===t||null===(r=t.raw)||void 0===r?void 0:r[0])||null}]);if("hl_intervenant"===e.bundle.raw[0])return(0,l.Z)(n).concat([{type:"hl_intervenant",title:e.intervenant__full_name.raw[0],alias:i,label:c(e.bundle.raw[0])}]);if("video"===e.bundle.raw[0]||"news"===e.bundle.raw[0]||"event"===e.bundle.raw[0]||"editor"===e.bundle.raw[0]){var o,a,u=e.bundle.raw[0];return(0,l.Z)(n).concat([{type:u,title:e.node__title.raw[0],alias:i,label:c(u),date:(null===e||void 0===e||null===(o=e.node__field_datetime_publication)||void 0===o||null===(a=o.raw)||void 0===a?void 0:a[0])||null}])}return"category"===e.bundle.raw[0]?(0,l.Z)(n).concat([{type:"category",title:e.term_name.raw[0],alias:i,label:c(e.bundle.raw[0])}]):n}),[]))||void 0===e?void 0:e.sort((function(n,e){if(!(null===n||void 0===n?void 0:n.date)&&!(null===e||void 0===e?void 0:e.date))return 0;if(!(null===n||void 0===n?void 0:n.date))return 1;if(!(null===e||void 0===e?void 0:e.date))return-1;var t=new Date(null===n||void 0===n?void 0:n.date);return new Date(null===e||void 0===e?void 0:e.date).getTime()-t.getTime()}))}(s);sn.current=h;var g=function(){cn.current&&(cn.current.value=""),h&&h()},j=function(n){X.push({pathname:nn,query:{s:encodeURIComponent(n.toString())}}),p&&p(["hl_product"]),g()};return(0,u.jsxs)("div",{className:e,children:[(0,u.jsx)(v.v,{className:"ActionsLocalSwitcherMobile",fallbackToHomepage:!0,onChange:pn}),(0,u.jsx)(C.O_,{inSideBar:!0}),(0,u.jsx)(m.Z,{autocompleteResults:!0,autocompleteMinimumCharacters:3,debounceLength:500,view:function(n){var e,t=n.onChange,r=n.value,i=r&&r.length>=3;
1return(0,u.jsx)("div",{className:["SearchWrapper",H&&"SearchWrapperVertical"].filter(Boolean).join(" "),children:(0,u.jsxs)(b.Z,{maxWidth:(null===G||void 0===G||null===(e=G.container)||void 0===e?void 0:e.maxWidth)||"lg",children:[(0,u.jsxs)("div",{className:"SearchTop",children:[(0,u.jsx)("input",{ref:cn,"aria-label":"Recherche",className:["SearchInput",H&&"SearchInputVertical"].filter(Boolean).join(" "),type:"search",placeholder:z||"",onChange:function(n){return function(n,e){e(n.currentTarget.value)}(n,t)},onKeyDown:function(n){return e=n.key,t=r,"Enter"===e&&j(t),!1;var e,t}}),(0,u.jsx)("div",{className:"SearchButton",onClick:function(){return j(r)},children:(0,u.jsx)(x.Z,{"aria-label":"Recherche",className:"SearchButtonFab",children:(0,u.jsx)(B.JO$,{name:"search"})})})]}),i&&(0,u.jsx)("div",{className:"SearchBottom",children:(0,u.jsx)("ul",{children:f.length>0?f.map((function(n,e){return(0,u.jsx)("li",{children:(0,u.jsx)(en,{to:null===n||void 0===n?void 0:n.alias,onClick:g,children:(0,u.jsx)("div",{className:"SearchResult",children:(0,u.jsxs)(B.ZT$,{children:[n.title," ",n.label&&"(".concat(n.label,")")]})})})},"".concat(null===n||void 0===n?void 0:n.alias,"-").concat(e))})):(0,u.jsx)("li",{children:(0,u.jsx)(B.ZT$,{children:tn("component.header.header-navigation-sidebar.no-suggestion")})})})})]})})}}),(0,u.jsx)("div",{className:["NavigationWrapper",H&&"NavigationWrapperVertical"].filter(Boolean).join(" "),children:(0,u.jsxs)("div",{className:"Navigation",children:["number"!==typeof ln&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(w.Z,{children:Q.map((function(n,e){var t,o,a,l,d,c,s,p,v,h,f,m,g,b,x="/"===(null===n||void 0===n?void 0:n.to);return(0,u.jsxs)(y.Z,(0,i.Z)((0,r.Z)((0,i.Z)((0,r.Z)({className:"NavigationEntry",button:!0,component:B.zxk},(null===n||void 0===n?void 0:n.data)?{}:{to:null===n||void 0===n?void 0:n.to}),{onClick:function(){return function(n,e){(null===(null===n||void 0===n?void 0:n.to)||U)&&(un(e),on(n))}(n,e)}}),null===n||void 0===n?void 0:n.attributes),{style:{backgroundColor:null===n||void 0===n||null===(t=n.attributes)||void 0===t||null===(o=t.subhome)||void 0===o||null===(a=o.colors)||void 0===a?void 0:a.primary},children:[n.label&&(0,u.jsx)(B.ZT$,{theming:(0,i.Z)((0,r.Z)({},null===G||void 0===G||null===(l=G.header)||void 0===l||null===(d=l.navigation)||void 0===d||null===(c=d.burger)||void 0===c||null===(s=c.entries)||void 0===s?void 0:s.text),{color:null===n||void 0===n||null===(p=n.attributes)||void 0===p||null===(v=p.subhome)||void 0===v||null===(h=v.colors)||void 0===h?void 0:h.text}),children:(0,N.ZP)(n.label)}),!x&&(0,u.jsx)(k.Z,{children:(0,u.jsx)(B.JO$,{name:null===G||void 0===G||null===(f=G.header)||void 0===f||null===(m=f.navigation)||void 0===m||null===(g=m.burger)||void 0===g||null===(b=g.entries)||void 0===b?void 0:b.icon})})]}),n.id)}))}),q&&(0,u.jsx)(T.F,{className:"MenuNavigationToolsSideBar",themingButton:null===G||void 0===G||null===(t=G.header)||void 0===t||null===(o=t.toolsNavigation)||void 0===o||null===(d=o.buttons)||void 0===d?void 0:d.sideBar,links:q}),(0,u.jsxs)("div",{className:"Secondary",children:[A&&(0,u.jsx)("div",{className:"Newsletter",children:(0,u.jsx)(B.FUy,(0,r.Z)({},M))}),(0,u.jsxs)("div",{className:"footerContactAndLegal",children:[(0,u.jsx)(B.TRQ,{logo:Z,logoAlt:E,isFromHeader:!0,contact:I,linkComponent:O,socialNetworksLinks:D}),(0,u.jsx)(B.PyC,{legal:a,linkComponent:O,isFromHeader:!0})]})]})]}),(0,u.jsx)("div",{className:"NavigationPanel",children:Q.map((function(n,e){return n.data&&(0,u.jsx)(L,{entry:n,closeEntry:vn,linkComponent:O,upcomingDuration:W,newDuration:P,className:e===ln?"entry-visible":"entry-hidden",expanded:e===ln,nested:U,selectedIndex:ln,type:$},e.toString())}))})]})})]})}})})})).withConfig({componentId:"sc-ae1b4f29-0"})(I(),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(1)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(3)}),(function(n){return n.theme.spacing(3)}),(function(n){return n.theme.spacing(3)}),(function(n){return n.theme.spacing(5)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("sm")}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.footer)||void 0===e||null===(t=e.section)||void 0===t?void 0:t.backgroundColorBurger}
1),(function(){return(0,E.rm)("header.navigation.burger.entries.button")}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.spacing(2)}),(function(n){var e,t,r,i=n.theme;return null===i||void 0===i||null===(t=i.palette)||void 0===t||null===(r=t[null===i||void 0===i||null===(e=i.tabs)||void 0===e?void 0:e.indicatorColor])||void 0===r?void 0:r.main}),(function(n){return n.theme.spacing(1)}),(function(n){return n.theme.spacing(1)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(3)}),(function(n){return n.theme.spacing(.5)}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.surface)||void 0===t?void 0:t.main}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.down("md")}),(function(n){return n.theme.spacing(2.5)}),(function(n){return n.theme.spacing(2.5)}),(function(n){return n.theme.breakpoints.up("sm")}),(function(n){return n.theme.shadows[4]}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){return n.theme.spacing(1)}),(function(n){return n.theme.spacing(1)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("sm")}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.surface)||void 0===t?void 0:t.main}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){return n.theme.spacing(2)}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.common)||void 0===t?void 0:t.black}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.surface)||void 0===t?void 0:t.main}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(1)}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.surface)||void 0===t?void 0:t.dark}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.shape.borderRadius/2}),(function(n){return n.theme.spacing(2)}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.common)||void 0===t?void 0:t.black}),(function(n){return n.theme.shadows[4]}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.down("md")}),(function(n){var e,t,r=n.theme;return null===r||void 0===r||null===(e=r.palette)||void 0===e||null===(t=e.common)||void 0===t?void 0:t.black}),(function(n){return n.theme.shadows[4]}),(function(n){return n.theme.breakpoints.up("sm")}),(function(n){return n.theme.typography.h4.fontFamily}),(function(n){var e,t,r,i=n.theme;return(null===i||void 0===i||null===(e=i.header)||void 0===e||null===(t=e.search)||void 0===t||null===(r=t.input)||void 0===r?void 0:r.fontWeight)||i.typography.h4.fontWeight}),(function(n){var e,t,r,i=n.theme;return(null===i||void 0===i||null===(e=i.header)||void 0===e||null===(t=e.search)||void 0===t||null===(r=t.input)||void 0===r?void 0:r.fontSize)||i.typography.h4.fontSize}),(function(n){return n.theme.typography.h4.lineHeight}),(function(n){return n.theme.typography.h4.letterSpacing}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.down("md")}),(function(n){return n.theme.spacing(2)}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.up("md")}),(function(n){return n.theme.header.searchBar.borderRadius/2}),(function(n){return n.theme.header.searchBar.color}),(function(n){return n.theme.header.searchBar.backgroundColor}),(function(n){return n.theme.header.searchBar.boxShadow}),(function(n){return n.theme.header.searchBar.hover.color}),(function(n){var e=n.theme;if(e.header.searchBar.hover.borderRadius)return"border-radius: ".concat(e.header.searchBar.hover.borderRadius,"px;")}),(function(n){var e=n.theme;if(e.header.searchBar.hover.backgroundColor)return"background-color: ".concat(e.header.searchBar.hover.backgroundColor,";")}),(function(n){var e=n.theme;if(e.header.searchBar.hover.boxShadow)return"box-shadow: ".concat(e.header.searchBar.hover.boxShadow,";")}),(function(n){var e=n.theme;return null===e||void 0===e?void 0:e.breakpoints.down("md")}),(function(n){return n.theme.shape.borderRadius/2})),F=function(n){var e=n.entry,t=n.linkComponent,o=n.level,a=void 0===o?1:o,l=!!e.data&&e.data.length>0,c=t;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(y.Z,{component:d.forwardRef((function(n,t){return e.to?(0,u.jsx)(c,(0,i.Z)((0,r.Z)({},n),{ref:t,to:e.to})):void 0})),style:{paddingLeft:"".concat(a,"em")},button:!0,children:e.label},e.id),l&&e.data.map((function(n){return(0,u.jsx)(F,{entry:n,linkComponent:t,level:a+1})}
1))]})},L=(0,Z.ZP)((function(n){var e=n.className,t=n.entry,o=n.closeEntry,a=n.linkComponent,l=n.newDuration,c=n.upcomingDuration,s=n.expanded,p=n.nested,v=n.selectedIndex,h=n.type,f=t.label,m=t.data,g=(0,j.Z)(),b=d.useMemo((function(){var n=[],e=[],r=[];return t.data.forEach((function(t){var i,o,a,l;"encart-button"===(null===(i=t.data)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.type)?r.push(t.data[0]):"encart-image"===(null===(a=t.data)||void 0===a||null===(l=a[0])||void 0===l?void 0:l.type)?e.push(t.data[0]):n.push(t)})),{entries:n,encartButtons:r,encartImage:e}}),m),x=d.useRef(null);return d.useEffect((function(){var n;if(s){var e=null===(n=x.current)||void 0===n?void 0:n.querySelector('a[href], button, [tabindex="0"]');e&&e.focus({preventScroll:!0})}}),[s]),(0,u.jsxs)("div",{className:e,ref:x,children:[(0,u.jsx)(O,{handleClick:o}),f&&(0,u.jsx)(B.ZT$,{className:"SelectedEntryTitle",theming:{variant:"button"},component:"div",children:(0,N.ZP)(f)}),p&&(0,u.jsxs)(w.Z,{children:[b.entries.filter((function(n){return n.label})).map((function(n){return(0,u.jsx)(F,{entry:n,linkComponent:a},n.id)})),(0,u.jsx)(w.Z,{children:b.encartButtons.map((function(n,e){var t,o,a,l,d=n.encart,c=n.id;return(0,u.jsx)("li",{className:"EncartButtonNestedMobile",children:(0,u.jsx)(B.UJG,(0,i.Z)((0,r.Z)({},d),{theming:null===g||void 0===g||null===(t=g.header)||void 0===t||null===(o=t.navigation)||void 0===o||null===(a=o.columns)||void 0===a||null===(l=a.encart)||void 0===l?void 0:l.button}))},c)}))}),null===b||void 0===b?void 0:b.encartImage.map((function(n){var e,t,o=n.encart,a=n.id;return(0,u.jsx)("li",{className:"IllustrationContainerMobile",children:(0,u.jsx)(B.GSM,(0,i.Z)((0,r.Z)({},o),{theming:null===g||void 0===g||null===(e=g.header)||void 0===e||null===(t=e.navigation)||void 0===t?void 0:t.columns}))},a)}))]}),!p&&m.flatMap((function(n){return n})).map((function(n){var e,t;return(0,u.jsx)(B.FVU,{title:n.label,to:n.to,entries:n.data,linkComponent:a,theming:null===g||void 0===g||null===(e=g.header)||void 0===e||null===(t=e.navigation)||void 0===t?void 0:t.columns,newDuration:l,upcomingDuration:c,expanded:s,selectedIndex:v,type:h},n.id)}))]})})).withConfig({componentId:"sc-ae1b4f29-1"})(D(),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(){return(0,E.rm)("header.navigation.nested.illustration")})),O=(0,Z.ZP)((function(n){var e,t,r,i,o,a,l,d,c=n.className,s=n.handleClick,p=(0,j.Z)();return(0,u.jsx)("div",{className:c,children:(0,u.jsx)(B.zxk,{onClick:s,className:"BackButton",theming:null===p||void 0===p||null===(e=p.header)||void 0===e||null===(t=e.navigation)||void 0===t||null===(r=t.burger)||void 0===r||null===(i=r.back)||void 0===i?void 0:i.button,children:(0,u.jsx)(B.ZT$,{className:"BackText",theming:null===p||void 0===p||null===(o=p.header)||void 0===o||null===(a=o.navigation)||void 0===a||null===(l=a.burger)||void 0===l||null===(d=l.back)||void 0===d?void 0:d.text,children:"Retour au menu principal"})})})})).withConfig({componentId:"sc-ae1b4f29-2"})(M(),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)}),(function(n){return n.theme.spacing(2)})),P=A}}]);
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.