PageSourceSearch

https://assets.edvoy.com/production/production-9845/_next/static/c…/compare/institutions-6d636b7cb713fe47.js

js edvoy.com collected 2026-10-09 21:45:48 UTC 6,643 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56372,57833],{55633:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/compare/institutions",function(){return s(63714)}])},56372:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(14232);let i=a.forwardRef(function(e,t){let{title:s,titleId:i,...l}=e;return a.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:t,"aria-labelledby":i},l),s?a.createElement("title",{id:i},s):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})},63714:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>A,default:()=>E});var a=s(37876),i=s(83176),l=s(44500),n=s(14232),o=s(89099),r=s(41173);let c=(0,n.memo)(e=>{let{institution:t}=e,s=(0,o.useRouter)(),{setSelectedCourses:i}=(0,r.Z)(),c=(0,n.useCallback)(()=>{i([]),s.push({pathname:"/courses/",query:{institutions:JSON.stringify([null==t?void 0:t.refId])}})},[]);return(0,a.jsx)(l.A,{logo:t.logo,showShortListButton:!1,title:t.name,primaryDescription:t.country,secondaryDescription:t.city,ctaText:"View Courses",onCtaClick:c})});var d=s(68362),m=s(5426);let u=e=>{let{logo:t,institutionName:s,institutionCountry:i}=e;return(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-md py-3 px-2 flex flex-col justify-between gap-2 h-[72px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center gap-1",children:[(0,a.jsx)(m.default,{src:"https://strapi-assets.edvoy.com/".concat(t),h:24,w:24,alt:"Institution Logo",className:"w-full h-full object-cover flex-shrink-0"}),(0,a.jsx)("div",{className:"font-inter font-semibold text-sm leading-[16px] text-grey-700 tracking-[0px] line-clamp-1 flex-1",title:s,children:s})]}),(0,a.jsx)("div",{className:"flex flex-row items-center justify-start",children:(0,a.jsx)("div",{className:"font-medium text-sm font-inter text-gray-500 leading-5 line-clamp-1",title:i,children:i})})]})},x=(0,n.memo)(e=>{var t,s,l;let{comparisonData:o}=e,[r,m]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{m((window.pageYOffset||document.documentElement.scrollTop)>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"hidden lg:flex flex-row gap-4  sticky top-20 z-20 bg-gray-50 py-2",children:[null==o?void 0:null===(t=o.basicDetails)||void 0===t?void 0:t.map((e,t)=>(0,a.jsx)("div",{className:"w-1/4",children:(0,a.jsx)(c,{institution:e})},t)),Array.from({length:4-((null==o?void 0:null===(s=o.basicDetails)||void 0===s?void 0:s.length)||0)}).map((e,t)=>(0,a.jsx)(d.A,{compareSourcePage:i.Lg.institutions},t))]}),(0,a.jsx)("div",{className:"flex lg:hidden flex-row gap-4 sticky top-16 z-20 bg-gray-50 py-2",children:null==o?void 0:null===(l=o.basicDetails)||void 0===l?void 0:l.slice(0,2).map((e,t)=>(0,a.jsx)("div",{className:"w-1/2",children:r?(0,a.jsx)(u,{logo:e.logo,institutionName:e.name,institutionCountry:e.country}):(0,a.jsx)(c,{institution:e})},t))})]})});var g=s(56798),v=s(22338),p=s(91063),f=s(12883);let h="".concat("https://strapi-assets.edvoy.com"),j=(0,n.memo)(e=>{let{data:t}=e,{icon:s,title:i,rankingsData:l}=t,o=(0,n.useCallback)((e,t)=>t?"".concat(h,"/").concat(t):"".concat(h,"/").concat({"by QS":"QS_Ranking_be84d0c7bd.svg","by THE":"Times_Higher_Education_8e856a56a7.svg","by GUARDIAN":"Guardian_d1fd32773e.svg",QS:"QS_Ranking_be84d0c7bd.svg",THE:"Times_Higher_Education_8e856a56a7.svg",Guardian:"Guardian_d1fd32773e.svg",GUARDIAN:"Guardian_d1fd32773e.svg"}[e]||"no_institution_logo_e0bf98bb7a.svg"),[h]);return(0,n.useMemo)(()=>l.some(e=>e.some(e=>"-"!==e.value&&null!==e.value&&void 0!==e.value&&""!==e.value)),[l])?(0,a.jsxs)("div",{className:"mb-2 lg:mb-3",children:[(0,a.jsx)(f.A,{title:i,icon:s}),(0,a.jsx)("div",{className:"hidden lg:flex bg-gray-50",children:l.map((e,t)=>(0,a.jsx)("div",{className:"flex flex-col w-1/4 px-6 py-4 bg-gray-50 border-gray-200 ".concat(0===t?"":"border-l"),children:e.length>0?e.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2 last:mb-0",children:[(0,a.jsx)("div",{className:"relative w-6 h-6 flex-shrink-0",children:(0,a.jsx)(p.default,{className:"object-contain",src:o(e.title||"",e.image),alt:e.title||"Ranking",layout:"fill",w:24,h:24})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-500",title:(null==e?void 0:e.title)||"",children:e.value||"-"})]},t)):(0,a.jsx)("span",{className:"text-sm font-medium text-gray-500",children:"-"})},t))}),(0,a.jsx)("div",{className:"flex lg:hidden bg-gray-50",children:l.slice(0,2).map((e,t)=>(0,a.jsx)("div",{className:"flex flex-col w-1/2 px-6 py-4 bg-gray-50 border-gray-200 ".concat(0===t?"":"border-l"),children:e.length>0?e.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2 last:mb-0",children:[(0,a.jsx)("div",{className:"relative w-6 h-6 flex-shrink-0",children:(0,a.jsx)(p.default,{className:"object-contain",src:o(e.title||"",e.image),alt:e.title||"Ranking",layout:"fill",w:24,h:24})}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-500",children:e.value||"-"})]},t)):(0,a.jsx)("span",{className:"text-sm font-medium text-gray-500",children:"-"})},t))})]}):null});var b=s(24647),y=s(96766);let w=(0,n.memo)(e=>{let{comparisonData:t}=e,s=(0,n.useMemo)(()=>[{icon:(0,a.jsx)(g.ax4,{}),title:y.H0.accreditation,values:t.Accreditation},{icon:(0,a.jsx)(g.uTA,{}),title:y.H0.tefRating,values:t.TefRating},{icon:(0,a.jsx)(g.DLs,{}),title:y.H0.visaAcceptanceRate,values:t.VisaAcceptanceRate},{icon:(0,a.jsx)(g.bDY,{}),title:y.H0.applicationResponseTime,values:t.ApplicationResponseTime},{icon:(0,a.jsx)(g.R8X,{}),title:y.H0.openIntakes,values:t.OpenIntakes},{icon:(0,a.jsx)(g.Jjy,{}),title:y.H0.noOfInternationalStudents,values:t.NoOfInternationalStudents}],[t]);return(0,a.jsxs)("section",{children:[(0,a.jsx)(j,{data:{icon:(0,a.jsx)(g.Aar,{}),title:y.H0.ranking,rankingsData:t.rankingsData}}),(0,a.jsx)(v.A,{comparisonSectionData:s}),(0,a.jsx)(b.A,{data:{icon:(0,a.jsx)(g.L39,{}),title:y.H0.costOfLiving,values:t.CostOfLiving}}),(0,a.jsx)(b.A,{data:{icon:(0,a.jsx)(g.a$H,{}),title:y.H0.postStudyWorkPermit,values:t.PostStudyWorkPermit}})]})});var N=s(81483);let _=(0,n.memo)(e=>{let{comparisonData:t}=e;return(0,a.jsxs)(N.A,{compareSourcePage:i.Lg.institutions,children:[(0,a.jsx)(x,{comparisonData:t}),(0,a.jsx)(w,{comparisonData:t})]})}),k=e=>{let{comparisonData:t}=e;return(0,a.jsx)(_,{comparisonData:t})};k.isPublicPage=!0;var A=!0;let E=k}},e=>{var t=t=>e(e.s=t);e.O(0,[68827,48230,32511,19835,29894,90636,46593,38792],()=>t(55633)),_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.