1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9188],{55160:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fr/recherche",function(){return c(29963)}])},29963:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSG":function(){return F},default:function(){return G}});var d=c(828),e=c(7297),f=c(29815),g=c(85893),h=c(12870),i=c.n(h),j=c(94184),k=c.n(j),l=c(67294),m=c(82569),n=c.n(m),o=c(28669),p=c(80651),q=c(18300),r=c(50309),s=c(56253),t=c(6360),u=c(89086),v=c(29437),w=c(42145),x=c(42675),y=c(55065),z=c(42346),A=c(87987),B=c(274),C=c.n(B);function D(){var a=(0,e.Z)(['\n *[_id == "search__i18n_fr"][0] {\n _id,\n title,\n name,\n noResultMessage\n }\n']);return D=function(){return a},a}var E=i()(D()),F=!0;function G(a){var b,c=a.data,e=a.preview,h=void 0!==e&&e,i=a.className,j=(0,o.$r)("fr")(E,{initialData:c&&c.post?c.post:"",enabled:h&&(null===(b=c.post)|| void 0===b?void 0:b.slug)}).data,m=(0,o.$r)("fr")(A.hs,{initialData:c&&c.locales?c.locales:"",enabled:h&&c.locales}).data,p=(0,l.useContext)(z.N),B=p.setLocale,D=p.locale,F=m.translated;(0,l.useEffect)(function(){B(F)},[D,B,F]);var G=j.name,H=j.title,I=j.noResultMessage,J=k()(C().Search,void 0===i?"":i),K=(0,d.Z)((0,t.Z)(function(a){return[a.searchString,a.globalSearchCategories]}),2),L=K[0],M=K[1],N=(0,l.useMemo)(function(){var a=n()(M,"all","news","awards","afficher tout","prix","nouvelles"),b=n()(M,"all","afficher tout","project","insight","action","sectorCategory","generic"),c=["news","awards","nouvelles","prix"],d=["project","insight","article","action","sectorCategory","generic"];if(!M.includes("all")){var e=(c=b).length>0?["article"]:[];d=(0,f.Z)(a).concat((0,f.Z)(e))}return{types:d,searchString:L?"".concat(L,"*"):"",articleCategories:c}},[L,M]),O=(0,x.Z)(u.BM,N),P=O.collection,Q=O.isLoading,R=O.loadMore,S=O.showLoadMore,T=O.focusedIndex;return(0,g.jsxs)("main",{className:J,children:[(0,g.jsx)(q.Z,{pageSubtitle:G}),(0,g.jsx)(r.Z,{title:H,className:C().searchBar}),(0,g.jsx)(s.Z,{cards:P,focusedIndex:T}),(0,g.jsx)("div",{className:C().BottomBar,children:L&&(Q?(0,g.jsx)(v.Z,{}):0===P.length?(0,g.jsx)(w.Z,{heading:null==I?void 0:I.heading,message:null==I?void 0:I.message}):S&&(0,g.jsx)(y.Z,{onClick:R}))})]})}G.getLayout=p.Z}},function(a){a.O(0,[2013,7041,5675,1130,9564,1486,1608,7461,7562,2719,7926,3168,9774,2888,179],function(){var b;return a(a.s=55160)}),_N_E=a.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.