PageSourceSearch

https://www.ace.ac.ug/_next/static/chunks/app/(main)/layout-74c120aa2cd16e59.js

js ace.ac.ug collected 2026-10-05 19:29:21 UTC 8,858 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2076],{11074:(e,r,t)=>{"use strict";t.d(r,{Analytics:()=>i,J:()=>l});var n=t(95155),a=t(12115),s=t(76784);let o="G-5N1QZFVRLS";function i(){return o?(0,n.jsx)(s.GoogleAnalytics,{gaId:o}):null}function l(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3,n=JSON.stringify(r);(0,a.useEffect)(()=>{let r=null==e?void 0:e.trim();if(!o||!r||r.length<2)return;let a=setTimeout(()=>{(0,s.sendGAEvent)("event","search",{search_term:r.toLowerCase(),...JSON.parse(n)})},t);return()=>clearTimeout(a)},[e,n,t])}},15239:(e,r,t)=>{"use strict";t.d(r,{default:()=>a.a});var n=t(54652),a=t.n(n)},20063:(e,r,t)=>{"use strict";var n=t(47260);t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},26397:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,52619,23)),Promise.resolve().then(t.t.bind(t,81356,23)),Promise.resolve().then(t.bind(t,34031)),Promise.resolve().then(t.bind(t,11074))},34031:(e,r,t)=>{"use strict";t.d(r,{default:()=>h});var n=t(95155),a=t(12115),s=t(52619),o=t.n(s),i=t(20063),l=t(15239);let d=[{name:"Home",href:"/"},{name:"About",href:"/about",submenu:[{name:"Who Are We",href:"/about/who-we-are"},{name:"Our Journey",href:"/about/our-journey"},{name:"Facilities",href:"/facilities"}]},{name:"Projects",href:"/research"},{name:"Publications",href:"/publications"},{name:"Events",href:"/events"},{name:"Blog",href:"/blog"},{name:"Our Staff",href:"/team"}],c="https://ace-bioinformatics.github.io/ace-ug-hpc-wiki/";function m(){return(0,n.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 3H5a2 2 0 00-2 2v3m18 0V5a2 2 0 00-2-2h-3M3 16v3a2 2 0 002 2h3m8 0h3a2 2 0 002-2v-3M8 8h8v8H8V8z"})})}function u(e){let{open:r}=e;return(0,n.jsx)("svg",{className:"ml-1 h-3.5 w-3.5 transition-transform duration-200 ".concat(r?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})}function h(){let[e,r]=(0,a.useState)(!1),[t,s]=(0,a.useState)(null),[h,x]=(0,a.useState)(null),f=(0,a.useRef)(null),b=(0,i.usePathname)();function g(){f.current=setTimeout(()=>s(null),150)}return(0,n.jsx)("header",{className:"sticky top-0 z-50 bg-white border-b border-gray-200 shadow-sm",children:(0,n.jsxs)("nav",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8","aria-label":"Main navigation",children:[(0,n.jsxs)("div",{className:"flex h-20 items-center justify-between",children:[(0,n.jsx)("div",{className:"flex items-center shrink-0",children:(0,n.jsx)(o(),{href:"/",className:"flex items-center",children:(0,n.jsx)(l.default,{src:"/images/ace-logo.png",alt:"ACE Uganda — African Center of Excellence in Bioinformatics and Data Intensive Sciences",width:280,height:60,className:"h-14 w-auto",priority:!0})})}),(0,n.jsxs)("div",{className:"hidden lg:flex lg:items-center lg:gap-0.5",children:[d.map(e=>{let r=b===e.href||e.submenu&&e.submenu.some(e=>b.startsWith(e.href))||"/"!==e.href&&b.startsWith(e.href);return e.submenu?(0,n.jsxs)("div",{className:"relative",onMouseEnter:()=>{var r;return r=e.name,void(f.current&&clearTimeout(f.current),s(r))},onMouseLeave:g,children:[(0,n.jsxs)("button",{"aria-haspopup":"true","aria-expanded":t===e.name,onKeyDown:r=>{var t;return t=e.name,void(("Enter"===r.key||" "===r.key)&&(r.preventDefault(),s(e=>e===t?null:t)),"Escape"===r.key&&s(null))},onClick:()=>s(r=>r===e.name?null:e.name),className:"inline-flex items-center px-3 py-2 text-sm font-medium rounded-md transition-colors ".concat(r?"text-red-700 bg-red-50":"text-gray-700 hover:text-red-700 hover:bg-red-50"),children:[e.name,(0,n.jsx)(u,{open:t===e.name})]}),t===e.name&&(0,n.jsxs)("div",{role:"menu",className:"absolute left-0 top-full mt-0.5 w-52 rounded-xl bg-white shadow-lg ring-1 ring-gray-200 overflow-hidden z-50",children:[(0,n.jsx)(o(),{href:e.href,role:"menuitem",className:"block px-4 py-2.5 text-sm border-b border-gray-100 font-medium ".concat(b===e.href?"text-red-700 bg-red-50":"text-gray-500 hover:bg-red-50 hover:text-red-700"),onClick:()=>s(null),children:"Overview"}),e.submenu.map(e=>(0,n.jsx)(o(),{href:e.href,role:"menuitem",className:"block px-4 py-2.5 text-sm ".concat(b===e.href||b.startsWith(e.href+"/")?"text-red-700 bg-red-50 font-medium":"text-gray-700 hover:bg-red-50 hover:text-red-700"),onClick:()=>s(null),children:e.name},e.name))]})]},e.name):(0,n.jsx)(o(),{href:e.href,className:"px-3 py-2 text-sm font-medium rounded-md transition-colors ".concat(r?"text-red-700 bg-red-50":"text-gray-700 hover:text-red-700 hover:bg-red-50"),children:e.name},e.name)}),(0,n.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"ml-1 inline-flex items-center gap-1.5 rounded-full border border-red-600 px-3 py-1.5 text-xs font-semibold text-red-700 hover:bg-red-700 hover:text-white transition-colors",children:[(0,n.jsx)(m,{}),"HPC Wiki"]})]}),(0,n.jsx)("div",{className:"hidden lg:flex lg:items-center",children:(0,n.jsx)(o(),{href:"/contact",className:"rounded-md bg-red-700 px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-red-800 transition-colors",children:"Get in Touch"})}),(0,n.jsx)("div",{className:"flex lg:hidden",children:(0,n.jsx)("button",{type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",onClick:()=>r(!e),children:e?(0,n.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}):(0,n.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})})})]}),e&&(0,n.jsx)("div",{className:"lg:hidden border-t border-gray-200 py-4",role:"dialog","aria-modal":"true",children:(0,n.jsxs)("div",{className:"space-y-0.5",children:[d.map(e=>{if(e.submenu){let t=h===e.name;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{"aria-expanded":t,onClick:()=>x(r=>r===e.name?null:e.name),className:"flex w-full items-center justify-between px-3 py-2.5 text-base font-medium text-gray-700 rounded-md hover:bg-red-50 hover:text-red-700",children:[e.name,(0,n.jsx)(u,{open:t})]}),t&&(0,n.jsxs)("div",{className:"mt-0.5 ml-3 border-l-2 border-red-100 pl-3 space-y-0.5",children:[(0,n.jsx)(o(),{href:e.href,className:"block py-2 text-sm text-gray-500 hover:text-red-700",onClick:()=>{r(!1),x(null)},children:"Overview"}),e.submenu.map(e=>(0,n.jsx)(o(),{href:e.href,className:"block py-2 text-sm ".concat(b===e.href?"text-red-700 font-medium":"text-gray-700 hover:text-red-700"),onClick:()=>{r(!1),x(null)},children:e.name},e.name))]})]},e.name)}return(0,n.jsx)(o(),{href:e.href,className:"block px-3 py-2.5 text-base font-medium rounded-md ".concat(b===e.href?"text-red-700 bg-red-50":"text-gray-700 hover:bg-red-50 hover:text-red-700"),onClick:()=>r(!1),children:e.name},e.name)}),(0,n.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-2.5 text-base font-medium text-red-700 hover:bg-red-50 rounded-md",onClick:()=>r(!1),children:[(0,n.jsx)(m,{}),"HPC Wiki",(0,n.jsx)("svg",{className:"h-3.5 w-3.5 ml-auto text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]}),(0,n.jsx)(o(),{href:"/contact",className:"block mx-3 mt-3 px-4 py-2.5 text-center text-base font-semibold text-white bg-red-700 rounded-md hover:bg-red-800",onClick:()=>r(!1),children:"Get in Touch"})]})})]})})}},54652:(e,r,t)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var t in r)Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}(r,{default:function(){return l},getImageProps:function(){return i}});let n=t(28140),a=t(75040),s=t(81356),o=n._(t(71124));function i(e){let{props:r}=(0,a.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,t]of Object.entries(r))void 0===t&&delete r[e];return{props:r}}let l=s.Image}},e=>{e.O(0,[2619,1356,6784,8441,1255,7358],()=>e(e.s=26397)),_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.