1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9788],{7833:function(n,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/funders",function(){return r(9244)}])},918:function(n,e,r){"use strict";r.d(e,{a:function(){return g}});var t=r(7297),o=r(5893),i=r(2976),a=r(5906),l=r(8987),s=r(6348);function d(){let n=(0,t.Z)(["\n position: relative;\n user-select: none;\n overflow: hidden;\n .arr {\n z-index: 99;\n position: absolute;\n top: 0;\n height: 100%;\n user-select: none;\n cursor: pointer;\n pointer-events: none;\n }\n .arr.l {\n left: 0;\n background: linear-gradient(to left, ",");\n }\n .arr.r {\n right: 0;\n background: linear-gradient(to right, ",");\n }\n ul {\n display: flex;\n overflow-y: visible;\n overflow-x: scroll;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n &::-webkit-scrollbar {\n display: none; /* Chrome, Safari, Opera*/\n }\n\n font-family: ",", sans-serif;\n /* &:hover li.active:not(:hover) {\n border-bottom: 1px solid #f0f0f0;\n } */\n /* height: 32px; */\n &::after {\n content: '';\n width: 10px;\n flex-grow: 1;\n border-bottom: 1px solid #f0f0f0;\n }\n li {\n flex-shrink: 0;\n color: #a0a0a0;\n padding: 10px 10px 9px;\n border-bottom: 1px solid #f0f0f0;\n font-size: 12px;\n line-height: 16px;\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n @media (pointer: fine) {\n border-bottom: 1px solid #808080;\n }\n }\n &.active {\n color: #404040;\n border-bottom: 1px solid #404040;\n }\n }\n }\n ","\n"]);return d=function(){return n},n}function c(){let n=(0,t.Z)(["\n position: sticky;\n top: 41px;\n background-color: #fffe;\n z-index: 100;\n /* margin-top: 20px;\n margin-bottom: 20px; */\n "," {\n backdrop-filter: blur(16px);\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n "," {\n padding-top: 0;\n padding-bottom: 0;\n /* padding-bottom: 20px; */\n /* gradient bottom */\n /* background: linear-gradient(0deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 1) 20px); */\n }\n"]);return c=function(){return n},n}let u="rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.875) 25%, rgba(255,255,255,1) 50%",f=i.ZP.div.withConfig({componentId:"sc-835e79f3-0"})(d(),u,u,a.FP.style.fontFamily,(0,l.nq)((n,e)=>"\n margin: 0 -".concat(n).concat(e,";\n ul {\n padding: 0 ").concat(n).concat(e,";\n }\n .arr {\n width: ").concat(n).concat(e,";\n }\n "))),p=i.ZP.div.withConfig({componentId:"sc-835e79f3-1"})(c(),s.X2,s.JX),g=n=>{let{children:e}=n;return(0,o.jsx)(p,{children:(0,o.jsx)(s.X2,{children:(0,o.jsx)(s.JX,{children:e})})})},m=n=>{let{labels:e,selectedLabel:r,setSelectedLabel:t}=n,i=r.toLowerCase();return(0,o.jsxs)(f,{children:[(0,o.jsx)("div",{className:"arr l"}),(0,o.jsx)("div",{className:"arr r"}),(0,o.jsx)("ul",{children:e.map((n,e)=>(0,o.jsx)("li",{className:(r?i===n.toLowerCase():"All"===n)?"active":"",onClick:e=>t("All"===n?"":n),children:n},e))})]})};e.Z=m},9244:function(n,e,r){"use strict";r.r(e);
1var t=r(5893),o=r(7294);r(3144);var i=r(2381),a=r(6720),l=r(6830),s=r(918);let d="The London Institute is supported by a global array of agencies, foundations and firms. We win research grants from science agencies and defence departments, many of which are joint with other [research centres](/partners/). We also embrace collaborations with businesses and foundations.",c=["Grants","Gifts","Contracts"],u=n=>{let{items:e}=n,[r,i]=(0,o.useState)(""),a=(0,o.useMemo)(()=>["All",...Array.from(new Set(e.map(n=>{let{label:e}=n;return e}))).sort((n,e)=>{let r=c.indexOf(n),t=c.indexOf(e);return -1===r&&-1===t?n.localeCompare(e):-1===r?1:-1===t?-1:r-t})],[e]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.a,{children:(0,t.jsx)(s.Z,{labels:a,selectedLabel:r,setSelectedLabel:i})}),(0,t.jsx)(l.default,{v0:"1",v1:"S",items:e.filter(n=>!r||n.label===r).map((n,e)=>{let{name:r,description:t,image:o,label:i}=n;return{title:r,image:{src:o.src,lqip:o.lqip,loadingLazy:!0,alt:r,ratio:1,lazy:e>2},label:i,children:t,withBorder:!0}})})]})},f=n=>{var e,r;let{data:o={funding:[],fundersPage:null},editUrl:i="",logOutUrl:l="",error:s}=n;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.fV,{children:(null===(e=o.fundersPage)||void 0===e?void 0:null===(r=e.item)||void 0===r?void 0:r.titlegraph)||d}),(0,t.jsx)(u,{items:o.funding})]})},p=(0,i.rp)(f,!0);p.getInitialProps=async n=>{let{query:e,req:r}
1=n,t={menuName:"Funders",title:"Funding",description:d};try{var o;let n=(0,i.UZ)(await Promise.all([(0,i.Bl)("/funders/?json",e,!!r,"funding"),(0,i.Bl)("/_api/pages-settings/slug/funders",e,!!r,"fundersPage")]),!0),a=(null===(o=n.data.fundersPage)||void 0===o?void 0:o.item)||{};return{...n,layout:{...t,...a}}}catch(n){return console.warn(n),{data:[],error:n,layout:t}}},e.default=p}},function(n){n.O(0,[2355,6830,9774,2888,179],function(){return n(n.s=7833)}),_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.