1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{4842:(e,t,n)=>{"use strict";n.d(t,{Zn:()=>u,Ay:()=>d});var i=n(37876),l=n(28517),o=n(14232);let r=e=>{var t;let{sections:n}=e,[l,r]=(0,o.useState)(0);(0,o.useEffect)(()=>{let e=()=>{let e=window.innerHeight/2,t=-1,i=0,l=1/0;for(let o=0;o<n.length;o+=1){let r=document.getElementById(n[o].id);if(!r)continue;let a=r.getBoundingClientRect();if(a.height<=0)continue;if(a.top<=e&&a.bottom>e){t=o;break}let s=Math.abs((a.top+a.bottom)/2-e);s<l&&(l=s,i=o)}r(-1!==t?t:i)};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[n]);let a="dark"===((null==(t=n[l])?void 0:t.theme)||"light");return(0,i.jsx)("div",{className:"group/list max-md:hidden pointer-events-none fixed right-2 top-1/2 z-40 flex -translate-y-1/2 flex-col items-end gap-6 lg:right-5",children:n.map((e,t)=>(0,i.jsxs)("div",{className:"group/item relative flex h-3 items-center justify-end",children:[(0,i.jsx)("span",{onClick:()=>(e=>{let t=n[e],i=document.getElementById(t.id);if(i){let e=i.getBoundingClientRect().top,t=(()=>{let e=document.querySelector("nav");return e?e.getBoundingClientRect().height:68})(),n=e+window.scrollY-t;window.scrollTo({top:n,behavior:"smooth"})}})(t),className:"peer pointer-events-auto h-[10px] w-[10px] cursor-pointer rounded-full transition-all duration-300 ".concat(l===t?"scale-[0.75]":"opacity-16 hover:opacity-80"," ").concat("bg-[#D9D9D9]"," "),"aria-label":"Go to ".concat(e.label)}),(0,i.jsx)("span",{className:"absolute right-4 top-1/2 w-[100px] -translate-y-1/2 text-right text-[12px] font-medium capitalize leading-tight text-white transition-all duration-300 ".concat(l===t?"peer-hover:opacity-100! peer-hover:translate-x-0! translate-x-0 opacity-100 group-hover/list:opacity-0":"translate-x-2 opacity-0 peer-hover:translate-x-0 peer-hover:opacity-100"," // ").concat(a?"text-black":"text-white"," "),children:e.label})]},"".concat(e.id,"-").concat(t)))})};var a=n(35492);function s(e,t){return"section-".concat(t,"-").concat(e.__component,"-").concat(e.id)}function c(e,t,n){let i=(0,l.Ly)(t);i&&e.push({id:n,label:i.label,theme:i.theme})}function u(e,t){let n=null!=e?e:[],i=[];for(let e=0;e<n.length;e+=1){let o=n[e];o&&o.__component&&(0,a.U)(o)&&(0,l.Og)(o,t?{theme:t}:void 0)&&c(i,o,s(o,e))}return i}function d(e){let{sections:t,showIndicator:n=!0,theme:o}=e,u=null!=t?t:[],d=[],p=[];for(let e=0;e<u.length;e+=1){let t=u[e];if(!t||!t.__component||!(0,a.U)(t))continue;let n=s(t,e),r=(0,l.Og)(t,o?{theme:o}:void 0);r&&(c(p,t,n),d.push((0,i.jsx)("div",{id:n,children:r},n)))}return 0===d.length?null:(0,i.jsxs)(i.Fragment,{children:[n&&p.length>1?(0,i.jsx)(r,{sections:p}):null,d]})}},37245:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>a,default:()=>s});var i=n(37876),l=n(4842);let o=e=>{let{page:t}=e;return(0,i.jsx)("div",{className:"relative w-full",children:(0,i.jsx)(l.Ay,{sections:null==t?void 0:t.dynamic})})};var r=n(48992),a=!0;function s(e){var t;let{page:n}=e;if(!n)return null;let l=n.metaTitle||n.title||"Prototypes for Humanity",a=n.metaDescription||"We accelerate the translation of university research into applied solutions.";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.A,{title:l,description:a,pagePath:"/".concat(null!=(t=n.slug)?t:"")}),(0,i.jsx)(o,{page:n})]})}},93822:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return n(37245)}])}},e=>{e.O(0,[518,575,249,672,517,636,593,792],()=>e(e.s=93822)),_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.