1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4577],{625:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(37876),a=r(48230),s=r.n(a),i=r(14232);let l=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}),o=i.forwardRef(function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"}))});var c=r(40824),d=r(17927),u=r(89682);function x(e,t){return`relative flex h-full min-h-[50px] flex-col items-center justify-center gap-0.5 rounded-lg text-[12px] transition ${e?"ui-interactive ui-pressable ui-focus-ring font-semibold text-black after:absolute after:-top-0.5 after:h-0.5 after:w-6 after:rounded-full after:bg-primary dark:text-stone-100":`ui-interactive ui-pressable ui-focus-ring ${"subtle"===t?"text-stone-500 dark:text-stone-400":"text-stone-600 dar
1k:text-stone-300"} hover:text-black dark:hover:text-stone-100`}`}function h({children:e}){return(0,n.jsx)("span",{className:"inline-flex h-[22px] w-[22px] items-center justify-center",children:e})}function f({active:e,tone:t,label:r,icon:a,onClick:s}){return(0,n.jsxs)("button",{type:"button",onClick:s,className:x(e,t),children:[(0,n.jsx)(h,{children:(0,n.jsx)(a,{className:"h-[21px] w-[21px]"})}),(0,n.jsx)("span",{children:r})]})}function m({active:e,tone:t,label:r,icon:a,href:i,customIcon:l=null}){return(0,n.jsxs)(s(),{href:i,className:x(e,t),children:[l||(a?(0,n.jsx)(h,{children:(0,n.jsx)(a,{className:"h-[21px] w-[21px]"})}):null),(0,n.jsx)("span",{children:r})]})}function p({user:e,showDot:t}){return(0,n.jsxs)("span",{className:"relative inline-flex h-[22px] w-[22px] items-center justify-center",children:[e?(0,n.jsx)(d.A,{src:e.avatarUrl||"",name:e.displayName||"You",size:22,className:"h-[22px] w-[22px] rounded-full object-cover",fallbackClassName:"h-[22px] w-[22px] text-[10px]"}):(0,n.jsx)(l,{className:"h-[21px] w-[21px]"}),t?(0,n.jsx)("span",{"aria-hidden":"true",className:"absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-red-600 ring-2 ring-[#f7f6f2] dark:ring-[#14110e]"}):null]})}function b({activeTab:e="today",tone:t="default",onHomeClick:r}){let{user:a}=(0,u.hB)(),[s,l]=(0,i.useState)(0);(0,i.useEffect)(()=>{let e=!1;return a?((async()=>{try{let t=await fetch("/api/notifications");if(!t.ok)return;let r=await t.json();if(e)return;let n=(Array.isArray(r?.notifications)?r.notifications:[]).reduce((e,t)=>e+ +!t?.isRead,0);l(n)}catch(e){}})(),()=>{e=!0}):(l(0),()=>{e=!0})},[a]);let d=["board","apply","opportunities","submit"].includes(e)?"board":["you","profile","alerts","activity","saved"].includes(e)?"you":"news",x=(0,i.useMemo)(()=>(0,n.jsx)(p,{user:a,showDot:s>0}),[a,s]);return(0,n.jsx)("nav",{"aria-label":"Mobile quick navigation",className:"fixed inset-x-0 bottom-0 z-40 border-t border-black/10 bg-[#f7f6f2]/95 shadow-[0_-6px_18px_rgba(0,0,0,0.05)] backdrop-blur dark:border-white/10 dark:bg-[#14110e]/95 lg:hidden",style:{paddingBottom:"max(6px, env(safe-area-inset-bottom))"},children:(0,n.jsxs)("div",{className:"mx-auto grid h-[64px] w-full max-w-[680px] grid-cols-3 px-3",children:[(0,n.jsx)(m,{active:"board"===d,tone:t,label:"Board",icon:o,href:"/opportunities"}),r?(0,n.jsx)(f,{active:"news"===d,tone:t,label:"News",icon:c.A,onClick:r}):(0,n.jsx)(m,{active:"news"===d,tone:t,label:"News",icon:c.A,href:"/"}),(0,n.jsx)(m,{active:"you"===d,tone:t,label:"You",href:"/me",customIcon:x})]})})}},22494:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>d,default:()=>u});var n=r(37876),a=r(77328),s=r.n(a),i=r(38485),l=r(91976),o=r(3572),c=r(625),d=!0;function u(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s(),{children:(0,n.jsx)("title",{children:"Local | NextShark"})}),(0,n.jsx)(o.A,{activeNav:"",showTrustBar:!1}),(0,n.jsx)(l.A,{title:"Local",description:"Campus stories, student updates, and school-specific recommendations are coming soon."}),(0,n.jsx)(c.A,{activeTab:"location"}),(0,n.jsx)(i.A,{})]})}},26390:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/local",function(){return r(22494)}])},40824:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232);let a=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))})},91976:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(37876),a=r(48230),s=r.n(a);function i({title:e,description:t}){return(0,n.jsx)("main",{className:"bg-[#FAFAFA] py-10",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("section",{className:"mx-auto max-w-2xl rounded-2xl border border-light-gray-100 bg-white p-6 md:p-8",children:[(0,n.jsx)("h1",{className:"mb-3 text-3xl font-semibold text-black",children:e}),(0,n.jsx)("p",{className:"mb-6 text-base text-slategray",children:t}),(0,n.jsx)(s(),{href:"/",className:"inline-flex min-h-[44px] items-center rounded-full bg-black px-5 py-2 text-sm font-medium text-white transition hover:bg-slategray",children:"Back to homepage"})]})})})}}},e=>{e.O(0,[4587,2749,7735,8485,636,6593,8792],()=>e(e.s=26390)),_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.