1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84265],{5772:(e,t,n)=>{n.d(t,{default:()=>a.a});var s=n(97651),a=n.n(s)},84265:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var s=n(95155),a=n(55282),i=n(29401),r=n(12115),l=n(5772),o=n(96765),c=n(35920),d=n(98202),u=n(94170);function m({basePath:e,children:t,className:n="",onNavigate:a}){let i=(0,c.M)(e,(0,d.e)()),{prefetch:r,arm:l}=(0,o.Z)();return(0,s.jsx)(u.N_,{href:i,className:n,onClick:a,prefetch:r,onMouseEnter:l,onTouchStart:l,children:t})}function h({url:e,icon:t,navLink:n,forceClass:c,forceButtonClass:d,forceImageClass:u="",onClick:p,subItems:x,isAction:v=!1,regionDetectWhenGlobal:f=!1}){let[b,g]=(0,r.useState)(!1),[_,j]=(0,r.useState)(!1),w=()=>j(!0),k=p||(()=>{}),N=()=>t?(0,s.jsx)("span",{className:"nav-link__icon flex items-center mr-2 text-aj [&>svg]:h-[18px] [&>svg]:w-[18px]",children:"rateMyProfessor"===t||"rankings"===t?(0,s.jsx)(a.vUe,{className:"nav-icon"}):"string"==typeof t?(0,s.jsx)(l.default,{className:`nav-icon ${u}`,src:t,alt:n,width:20,height:20,style:{height:"18px",width:"auto"}}):(0,s.jsx)(s.Fragment,{children:t})}):null,y=(0,s.jsx)("div",{className:`nav-link nav-link-ltr whitespace-nowrap text-gray-blue ${d}`,children:(0,s.jsxs)("span",{className:"nav-link__row flex flex-row items-center justify-center",children:[N(),(0,s.jsx)("span",{className:`flex flex-col ${""===t?"":"mt-1"}`,children:(0,s.jsx)("span",{children:n})})]})});if(x?.length){let a=(0,s.jsx)("div",{className:`nav-link nav-link-ltr whitespace-nowrap text-gray-blue ${d}`,children:(0,s.jsxs)("span",{className:"nav-link__row flex flex-row items-center justify-center",children:[N(),(0,s.jsx)("span",{className:`flex flex-col ${""===t?"":"mt-1"}`,children:(0,s.jsx)("span",{children:n})}),(0,s.jsx)(i._kA,{className:"hidden xl:block ml-1 w-4 h-4 transition-transform duration-200 group-hover:rotate-180"})]})}),r=f?(0,s.jsx)(m,{basePath:e,className:c,onNavigate:k,children:a}):(0,s.jsx)(o.default,{href:e,className:`${c}`,onClick:k,children:a});return(0,s.jsxs)("div",{className:`relative group nav-group ${b?"is-open":""}`,onPointerEnter:w,onFocus:w,children:[r,(0,s.jsx)("button",{type:"button",className:"nav-sub-toggle xl:hidden","aria-expanded":b,"aria-label":`${b?"Hide":"Show"} ${n} sub-menu`,onClick:()=>{w(),g(e=>!e)},children:(0,s.jsx)(i._kA,{className:"w-5 h-5","aria-hidden":"true"})}),(0,s.jsx)("div",{className:"\n nav-dropdown\n absolute left-0 mt-0 pt-2\n opacity-0 invisible translate-y-1\n group-hover:opacity-100 group-hover:visible group-hover:translate-y-0\n transition-all duration-200 ease-out\n z-50\n ",children:(0,s.jsx)("div",{className:"nav-dropdown__card bg-white rounded-xl shadow-xl border border-slate-200 overflow-hidden pointer-events-none group-hover:pointer-events-auto",children:(0,s.jsx)("div",{className:"nav-dropdown__list p-2",children:x.map(e=>{let t="olympia"===e.variant,n="red-icon"===e.variant,a="pink"===e.variant,i=t?"nav-subitem olympia-nav-subitem flex items-center gap-3 px-4 py-3 rounded-lg":a?"nav-subitem flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-pink-50 transition-colors group/item":"nav-subitem flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-sky-50 transition-colors group/item",r=_?(0,s.jsxs)(s.Fragment,{children:[e.icon&&(0,s.jsx)("div",{className:t?"nav-subitem__icon olympia-nav-subitem__icon flex items-center justify-center w-10 h-10 rounded-full shrink-0":n?"nav-subitem__icon flex items-center justify-center w-10 h-10 rounded-full bg-red-100 text-red-600 group-hover/item:bg-red-200 transition-colors shrink-0":a?"nav-subitem__icon flex items-center justify-center w-10 h-10 rounded-full bg-pink-600 text-white group-hover/item:bg-pink-700 transition-colors shrink-0":"nav-subitem__icon flex items-center justify-center w-10 h-10 rounded-full bg-sky-100 text-sky-600 group-hover/item:bg-sky-200 transition-colors shrink-0",children:e.icon}),(0,s.jsxs)("div",{className:"nav-subitem__text",children:[(0,s.jsx)("div",{className:t?"nav-subitem__title olympia-nav-subitem__title text-sm font-medium whitespace-nowrap":a?"nav-subitem__title text-sm font-medium text-pink-600 whitespace-nowrap":"nav-subitem__title text-sm font-medium text-gray-blue whitespace-nowrap",children:e.label}),e.description&&(0,s.jsx)("div",{className:t?"nav-subitem__desc olympia-nav-subitem__desc text-xs whitespace-nowrap":a?"nav-subitem__desc text-xs text-pink-600 whitespace-nowrap":"nav-subitem__desc text-xs text-slate-500
1whitespace-nowrap",children:e.description})]})]}):e.label;return e.regionDetectWhenGlobal?(0,s.jsx)(m,{basePath:e.url,className:i,onNavigate:()=>k(),children:r},e.url+e.label):e.url.startsWith("http")?(0,s.jsx)("a",{href:e.url,onClick:k,className:i,children:r},e.url+e.label):(0,s.jsx)(o.default,{href:e.url,onClick:k,className:i,children:r},e.url+e.label)})})})})]})}return v?(0,s.jsx)("button",{onClick:k,className:`${c}`,"aria-hidden":"true",children:y}):(0,s.jsx)(o.default,{href:e,passHref:!0,className:`${c}`,onClick:k,children:y})}},97651:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var s={default:function(){return d},getImageProps:function(){return c}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let i=n(73623),r=n(95413),l=n(38437),o=i._(n(36095));function c(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let d=l.Image}}]);
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.