1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{24608:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return l(83361)}])},83361:(e,s,l)=>{"use strict";l.r(s),l.d(s,{__N_SSG:()=>w,default:()=>k});var t=l(37876),a=l(89099),r=l(14232),n=l(54587),i=l.n(n),c=l(48230),o=l.n(c),x=l(59177),h=l(67621),u=l(69241);let d=e=>{let{label:s,selected:l,onClick:a,enableCloseIcon:r,className:n}=e;return(0,t.jsxs)("button",{onClick:()=>a(s),className:(0,u.A)("eyebrow relative inline-flex items-center gap-x-2 rounded bg-surface-quaternary px-spacing-200 py-spacing-100 text-xs text-text-accent transition-colors hover:bg-surface-accent hover:text-text-primary-invert focus:bg-surface-accent focus:text-text-primary-invert",l&&"bg-primary-100",n),children:[s,r&&(0,t.jsx)(h.b,{className:"size-3 shrink-0"})]})};var p=l(60502),f=l(68106),m=l(10614),g=l(98884);let j=()=>{let{activeFacets:e,activeFilters:s,setActiveFilters:l,results:a}=(0,x.U)();return(0,t.jsx)(m.A,{className:"bg-surface-tertiary",children:(0,t.jsxs)(f.A,{className:"flex flex-col gap-y-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsxs)("span",{className:"text-base text-text-primary",children:["Showing ",a.length," Journals"," ",(0,t.jsx)("span",{className:e.length?"inline-block":"hidden",children:"in"})]}),!!e.length&&e.map((e,a)=>(0,t.jsx)(d,{label:e.label,onClick:()=>(function(e,t){let a=JSON.parse(JSON.stringify(s)),r=a[t].filter(s=>s!==e);a[t]=r,l(a)})(e.label,e.facetKey),selected:!0,enableCloseIcon:!0,className:"whitespace-nowrap"},"".concat(e.label,"-").concat(a)))]}),e.length>0&&(0,t.jsxs)("button",{onClick:function(){l({"taxonomies.fund":[],"taxonomies.year":[],"taxonomies.category":[]})},className:"default-link ml-auto inline-flex items-center gap-x-2",children:["Clear all",(0,t.jsx)(h.b,{className:"size-3 shrink-0 text-text-link"})]})]}),a&&a.length>0&&(0,t.jsx)(p.A,{children:a.map((e,s)=>(0,t.jsx)(o(),{href:e.permalink,className:"group relative isolate flex flex-col justify-end overflow-clip",children:(0,t.jsxs)("div",{className:"flex grow flex-col gap-y-spacing-300",children:[e.hero_image&&e.hero_image.url&&(0,t.jsx)("div",{className:"relative h-63.5 w-full overflow-clip rounded-image",children:(0,t.jsx)(i(),{className:"absolute inset-0 size-full object-cover transition-transform duration-1000 group-hover:scale-105 group-focus:scale-105",alt:e.hero_image.alt,src:e.hero_image.url,width:576,height:694})}),e.taxonomies&&(0,t.jsx)("div",{children:e.taxonomies.category.map((e,s)=>0===s?(0,t.jsx)(g.A,{label:e},s):null)}),(0,t.jsxs)("div",{className:"flex flex-col gap-y-spacing-200",children:[e.post_title&&(0,t.jsxs)("div",{className:"flex flex-col gap-y-3",children:[(0,t.jsx)("h5",{className:"text-pretty",children:e.post_title}),e.supporting_text&&(0,t.jsx)("p",{className:"line-clamp-2",dangerouslySetInnerHTML:{__html:e.supporting_text}})]}),(0,t.jsx)("span",{className:"default-link text-text-primary-invert group-hover:decoration-inherit group-hover:underline-offset-2 group-focus:decoration-inherit group-focus:underline-offset-2",children:"Read more"})]})]})},"insight-hit-".concat(s)))}),0===a.length&&(0,t.jsx)("div",{className:"text-base text-text-primary",children:"There are no results that match this criteria"})]})})};var b=l(90918),N=l(46675),v=l(59275),_=l(30575),y=l(80816),w=!0;let k=e=>{var s;let{seo:l,hero:n,flexibleContent:i,visibility:c,enableFooterCta:o,enableDisclaimerPopup:h,showDisclaimerPopup:u,serverState:d,template:p}=e,f=(0,a.useRouter)(),m=(0,r.useRef)(null),[g,w]=(0,r.useState)(!1),k=null!=(s=h&&u)&&s;return(0,t.jsxs)(_.A,{serverState:d,children:[(0,t.jsx)(v.A,{show:f.isFallback}),(0,t.jsx)(N.A,{ref:m,seo:l,noFollow:c,enableFooterCta:null==o||o,enableDisclaimerPopup:k,children:"default"===p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.A,{...n}),(0,t.jsx)(b.E,{headerRef:m,flexibleContent:i})]}):(0,t.jsxs)(x.s,{children:[(0,t.jsx)(y.A,{...n,enableInsightFilter:!0,setShowInsightResults:w}),g?(0,t.jsx)(j,{}):(0,t.jsx)(b.E,{headerRef:m,flexibleContent:i})]})})]})}}},e=>{e.O(0,[697,716,896,313,696,312,231,918,636,593,792],()=>e(e.s=24608)),_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.