1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6642],{6272:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/institutions/partners",function(){return t(44617)}])},44617:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return P}});var a=t(48282),o=t(30751),s=t(9092),i=t(81381),r=t(63559),c=t(89163),l=t(28421),m=t(33765),u=t(82958),d=t(33106),x=t(28649),p=t.n(x),h=t(90227),g=t(18529),Z=t(72199),j=t(7982),P=!0;e.default=n=>{var e,t;let{items:x,total:P,query:_,error:f}=n,[w,y]=(0,g.useState)(null!==(e=j.default.getQueryNumberValue(_.page))&&void 0!==e?e:1),[b,N]=(0,g.useState)(null!==(t=j.default.getQueryNumberValue(_.size))&&void 0!==t?t:100),{t:v}=(0,d.Z)(),R=(0,h.useRouter)(),k="partners",C=(0,g.useCallback)((n,e)=>{y(e+1),R.push({pathname:R.pathname,query:{page:e+1,size:b}})},[R,b]),E=(0,g.useCallback)(n=>{let e=parseInt(n.target.value,10);N(e),R.push({pathname:R.pathname,query:{page:1,size:e}})},[R]);return(0,a.jsxs)(i.ZP,{container:!0,children:[(0,a.jsxs)(p(),{children:[(0,a.jsx)("title",{children:"".concat(v("common:home.action.partners")," - R\xe9colnat")}),(0,a.jsx)("meta",{property:"og:title",content:"".concat(v("common:home.action.partners")," - R\xe9colnat")}),(0,a.jsx)("meta",{property:"og:url",content:"".concat("https://recolnat.fr","/institutions/partners")}),(0,a.jsx)("meta",{name:"twitter:title",content:"".concat(v("common:home.action.partners")," - R\xe9colnat")})]}),(0,a.jsx)(m.Z,{cy:k,title:v("common:home.action.partners")}),(0,a.jsxs)(s.Z,{sx:Z.Z.container.main,maxWidth:"xl",children:[(0,a.jsx)(i.ZP,{container:!0,spacing:{xs:2,sm:3},columns:{xs:1,sm:2,md:4},"data-cy":"".concat(k,"-grid-items"),sx:Z.Z.grid.container,children:x.map((n,e)=>(0,a.jsx)(i.ZP,{item:!0,xs:1,sm:1,md:1,"data-cy":"".concat(k,"-grid-item-").concat(e),children:(0,a.jsx)(l.Z,{index:e,institution:n})},n.id))}),!f&&(0,a.jsx)(i.ZP,{sx:Z.Z.grid.pagination,children:(0,a.jsx)(s.Z,{sx:Z.Z.container.main,maxWidth:"xl",children:(0,a.jsx)(r.Z,{component:"div",page:w-1,count:b*P,onPageChange:C,rowsPerPage:b,onRowsPerPageChange:E,rowsPerPageOptions:[100,150,200,250],labelRowsPerPage:v("common:table.pagination.rowsPerPage"),labelDisplayedRows:()=>"".concat(w," ").concat(v("common:table.pagination.pageOfTotal")," ").concat(P),"data-cy":"".concat(k,"-pagination")})})})]}),f&&(0,a.jsx)(s.Z,{sx:Z.Z.container.main,maxWidth:"xl",children:(0,a.jsxs)(i.ZP,{sx:Z.Z.grid.content,children:[(0,a.jsx)(i.ZP,{sx:Z.Z.grid.icon,children:(0,a.jsx)(o.Z,{sx:Z.Z.icon.search})}),(0,a.jsx)(i.ZP,{sx:Z.Z.grid.message,children:(0,a.jsx)(c.Z,{variant:"h2",sx:Z.Z.typography.message,children:v("common:error.loading")})})]})}),(0,a.jsx)(u.Z,{})]})}}},function(n){n.O(0,[9759,5425,3559,4313,2888,9774,179],function(){return n(n.s=6272)}),_N_E=n.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.