PageSourceSearch

https://www.postgraduatesearch.com/_next/static/chunks/7925.ea899177a3a0bf57.js

js postgraduatesearch.com collected 2026-10-03 19:56:41 UTC 13,280 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7925],{17925:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>j});var i=n(4922),t=n(46615),s=n(17194),a=n(54568),o=n(7620),r=n(19664),d=n.n(r),c=n(32536);n(42678);var u=n(97242),x=n(9437),m=n.n(x),p=n(92138);let v=function(e){var l,n,i,t,s,o,r,c,u,x,m,p,v,h,f,g,w=e.location,j=e.institutionName,N=e.cityGuidedata,C=e.mapContainerRef,y=e.isUniOpenDayPage;return(null==w?void 0:w.latitude)&&(null==w?void 0:w.longitude)?(0,a.jsxs)("div",{className:"flex flex-col md:flex-row border border-grey-200 rounded-b-[8px] md:rounded-r-[8px] overflow-hidden",children:[(0,a.jsxs)("div",{className:"card-map w-full ".concat(void 0!==y&&y?"md:w-[758px] min-h-[316px] shrink-0":"md:w-[453px] min-h-[350px]"," relative"),children:[(0,a.jsx)("a",{href:"https://maps.google.com/?q="+(null==w?void 0:w.latitude)+","+(null==w?void 0:w.longitude),target:"_blank",className:"btn btn-primary absolute top-[16px] right-[16px] z-[1]",children:"VIEW GOOGLE MAPS"}),(0,a.jsx)("div",{className:"w-full",style:{width:"100%",height:"400px"},id:"map-container",ref:C})]}),(0,a.jsx)("div",{className:"course-card flex flex-col gap-[16px] bg-white p-[16px] md:p-[24px] w-full md:w-[calc(100%_-_452px)]",children:(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] justify-between h-full",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,a.jsx)("div",{className:"h5 text-grey300",children:j}),(0,a.jsxs)("div",{className:"flex flex-col *:text-small *:text-grey300",children:[(null==w?void 0:w.addLine1)&&(0,a.jsx)("span",{children:null==w?void 0:w.addLine1}),(null==w?void 0:w.addLine2)&&(0,a.jsx)("span",{children:null==w?void 0:w.addLine2}),(null==w?void 0:w.town)&&(0,a.jsx)("span",{children:null==w?void 0:w.town}),(null==w?void 0:w.countyState)&&(0,a.jsx)("span",{children:null==w?void 0:w.countyState}),(null==w?void 0:w.postCode)&&(0,a.jsx)("span",{children:null==w?void 0:w.postCode}),(0,a.jsx)("span",{children:"United Kingdom"})]}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-[16px]",children:[(null==w?void 0:w.nearestTrainStation)&&(null==w?void 0:w.nearestTrainStationMiles)&&(0,a.jsxs)("div",{className:"flex items-start gap-[8px]",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M15 5V7M15 11V13M15 17V19M5 5C3.89543 5 3 5.89543 3 7V10C4.10457 10 5 10.8954 5 12C5 13.1046 4.10457 14 3 14V17C3 18.1046 3.89543 19 5 19H19C20.1046 19 21 18.1046 21 17V14C19.8954 14 19 13.1046 19 12C19 10.8954 19.8954 10 21 10V7C21 5.89543 20.1046 5 19 5H5Z",stroke:"#0F172A",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,a.jsxs)("span",{className:"flex flex-col md:flex-row  items-start gap-[4px] small",children:["Nearest train station:",null==w?void 0:w.nearestTrainStation,"\xa0",null==w?void 0:w.nearestTrainStationMiles," miles away"]})]}),(null==w?void 0:w.nearestTubeStation)&&(null==w?void 0:w.nearestTubeStationMiles)&&(0,a.jsxs)("div",{className:"flex items-start gap-[8px]",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M15 5V7M15 11V13M15 17V19M5 5C3.89543 5 3 5.89543 3 7V10C4.10457 10 5 10.8954 5 12C5 13.1046 4.10457 14 3 14V17C3 18.1046 3.89543 19 5 19H19C20.1046 19 21 18.1046 21 17V14C19.8954 14 19 13.1046 19 12C19 10.8954 19.8954 10 21 10V7C21 5.89543 20.1046 5 19 5H5Z",stroke:"#0F172A",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,a.jsxs)("span",{className:"flex flex-col  items-start gap-[4px] small",children:["Nearest tube station:",(0,a.jsxs)("span",{children:[null==w?void 0:w.nearestTubeStation,"\xa0",null==w?void 0:w.nearestTubeStationMiles," miles away"]})]})]})]})]}),(null==N||null==(i=N.data)||null==(n=i.contentData)||null==(l=n.items[0])?void 0:l.urlSlug)&&(0,a.jsx)("div",{className:"course-highlight__details w-full flex bg-blue-50 rounded-[4px] p-[16px]",children:(0,a.jsx)("div",{className:"course-highlight__option  flex flex-col items-start gap-[16px]",children:(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("div",{className:"para font-semibold text-black",children:"Thinking of studying in ".concat(null==N||null==(c=N.data)||null==(r=c.contentData)||null==(o=r.items[0])||null==(s=o.metaTagCitiesCollection)||null==(t=s.items[0])?void 0:t.t
1itle,"?")}),(0,a.jsx)("p",{className:"small text-black",children:"Check out our"}),(0,a.jsx)(d(),{href:(null==N||null==(m=N.data)||null==(x=m.contentData)||null==(u=x.items[0])?void 0:u.urlSlug)||"#",className:"small text-primary-500 hover:text-primary-500 hover:underline",title:"",children:"".concat(null==N||null==(g=N.data)||null==(f=g.contentData)||null==(h=f.items[0])||null==(v=h.metaTagCitiesCollection)||null==(p=v.items[0])?void 0:p.title," city guide")})]})})})]})})]}):null};n(17912);var h=n(44746),f=n(733),g=n(47777),w=n(39448);let j=function(e){var l,n,r,x,j,N,C,y,b,k,_,I,L,M,T,D=e.sectionInfo,V=e.fetcheddata,S=e.prams_slug,A=e.commonGAAttrs,H=e.cityGuidedata,B=e.clearing,G=e.gaoldData,R=V.uniInfo,E=V.courseInfo,F={subOrderItemId:null==V||null==(n=V.enquiryDetails)||null==(l=n.institutionDetails)?void 0:l.subOrderItemId,orderItemId:null==V||null==(x=V.enquiryDetails)||null==(r=x.institutionDetails)?void 0:r.orderItem,collegeId:null==V||null==(j=V.courseInfo)?void 0:j.collegeId,qualCode:null==V||null==(N=V.enquiryDetails)?void 0:N.QualCode,courseId:null==V||null==(C=V.enquiryDetails)?void 0:C.courseId,sponsoredListingFlag:"",manualBoostingFlag:"",collegeName:null==S?void 0:S.uni_name,selectedSubject:"",featuredListingFlag:"",courseName:null==V||null==(y=V.courseInfo)?void 0:y.courseTitle,pageName:"coursedetails",csPageName:"Course Detail",studyMode:(null==V||null==(k=V.courseInfo)||null==(b=k.availability)?void 0:b.length)>0?null==V||null==(I=V.courseInfo)||null==(_=I.availability[0])?void 0:_.studyModeDesc:""},q=null==R?void 0:R.awards,O=null==R?void 0:R.location,Z=(0,o.useRef)(null),P=(0,o.useRef)(null);(0,o.useEffect)(function(){var e=function(){if(m().accessToken="pk.eyJ1IjoiaG90Y291cnNlc2ludGwiLCJhIjoiY2s2MjFkeHlxMDhwMDN0cXd2cTlqb3dlZiJ9.L-TXEMvZMFKb5WfkuFfMEA",P.current){Z.current=new(m()).Map({container:P.current,style:"mapbox://styles/mapbox/streets-v12",zoom:15,center:[null==O?void 0:O.longitude,null==O?void 0:O.latitude]});var e=new(m()).Popup({offset:25,closeButton:!1}).setHTML('<div class="relative px-3 py-2 text-sm font-bold text-black whitespace-nowrap font-sans">\n             <button class="absolute top-0 right-1 text-lg leading-none">&times;</button>\n             '.concat(O.addLine1||"No address available","\n           </div>"));Z.current.addControl(new(m()).NavigationControl,"bottom-right"),Z.current.on("load",function(){new(m()).Marker({color:"#00BBFD"}).setLngLat([null==O?void 0:O.longitude,null==O?void 0:O.latitude]).addTo(Z.current).setPopup(e)})}},l=new IntersectionObserver(function(n){var i=n[0];!Z.current&&(null==i?void 0:i.isIntersecting)&&(l.unobserve(P.current),e())});return P.current&&l.observe(P.current),function(){Z.current&&(0,i._)(Z.current,m().Map)&&Z.current.remove(),P.current&&l.unobserve(P.current)}},[]);var U=(0,s._)((0,t._)({},A),{page_section:"uni_info"}),W=function(e,l){(0,f.GA4DataLayer)(J(e,l))},J=function(e,l){return(0,s._)((0,t._)({},U),{event:g.g4.track_event,event_name:e,click_text:l})},z=function(){W(g.g4.review_click,"View reviews");var e={};e.eventType="ReadReviewClicked",e.functionalityName="Reviews",e.actionType=g.G0.clickAction,e.pageName=null==A?void 0:A.page_name,e.idpcInstitutionId=null==S?void 0:S.uni_id,(0,w.logClickstreamEvent)(e)};return(0,a.jsx)("div",{id:null==D?void 0:D.sectionId,className:"uni-info-container",children:(0,a.jsx)("div",{className:"max-w-container mx-auto",children:(0,a.jsxs)("div",{className:"uni-info-card-container flex flex-col lg:flex-row justify-between gap-[20px] px-[16px] md:px-[20px] xl:px-[0] py-[20px] lg:py-[40px]",children:[(0,a.jsx)("h2",{className:"h5 w-full md:w-[289px]",children:null==D?void 0:D.sectionName}),(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] md:gap-[24px] w-full lg:w-[calc(100%_-_309px)]",children:[(0,a.jsx)("div",{className:"course-card flex flex-col gap-[16px] w-full border border-grey-200 rounded-[8px] bg-white p-[16px] md:p-[24px]",children:(0,a.jsxs)("div",{className:"uniresults-inner flex flex-col md:flex-row md:gap-[24px]",children:[(0,a.jsx)("div",{className:"uniresults-left",children:(0,a.jsx)("div",{className:"univ__logo hidden md:block bg-white p-[4px] w-[120px] rounded-[8px] shadow-custom-4 overflow-hidden",children:(0,a.jsx)(d(),{href:"/universities/".concat(null==S?void 0:S.uni_name),onClick:function(){return W("university_click")},children:(null==R?void 0:R.institutionLogoUrl)&&(0,a.jsx)(c.default,{className:"w-full",src:"https://images-dom.prod.aws.idp-connect.com"+(null==R?void 0:R.institutionLogoUrl),alt:"uni logo",width:112,height:112})})})}),(0,a.jsxs)("div",{className:"uniresults-right flex flex-col flex-1 gap-[16px]",children:[(0,a.jsxs)("div",{className:"uni-info-card flex flex-col gap-[8px]",children:[(0,a.jsxs)("div",{className:"flex flex-row md:flex-row gap-[16px] md:gap-0  justify-between items-start h5 text-grey300",children:[(0,a.jsx)(d(),{href:"/universities/".concat(null==S?void 0:S.uni_name),className:"block w-fit h5  text-primary-400 hover:text-primary-500 hover:underline line-clamp-1",onClick:function(){return W("university_click")},children:null==R?void 0:R.institutionName}),(0,a.jsx)(p.A,{contentType:"INSTITUTION",contentId:null==E?void 0:E.institutionId,contentName:null==E?void 0:E.institutionName,statsGAData:U})]}),(0,a.jsx)("p",{className:"small text-grey300 line-clamp-3 md:line-clamp-2 w-full md:w-[calc(100%_-_58px)]",dangerouslySetInnerHTML:{__html:(null==R?void 0:R.institutionDesc)||""}}),(0,a.jsxs)("div",{className:"flex flex flex-col md:flex-row gap-[8px] md:gap-[32px]",children:[(0,a.jsx)("div",{className:"rating-pod flex items-center gap-[8px]",children:(null==R?void 0:R.overallRatingExact)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"rating-card flex items-center gap-[8px]",children:[(0,a.jsx)("span",{className:"reviewLink small text-grey300",children:"Student rating"}),(0,a.jsx)("div",{className:"tooltip",children:(0,a.jsx)("div",{className:"flex gap-[2px] pb-[2px] border-b border-dashed border-grey-300",children:[1,2,3,4,5].map(function(e,l){return(0,a.jsx)("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M4.3604 1.06101C4.56172 0.441415 5.43828 0.441415 5.6396 1.06101L6.3589 3.27479C6.44893 3.55188 6.70715 3.73948 6.9985 3.73948H9.3262C9.97768 3.73948 10.2485 4.57314 9.72149 4.95607L7.83834 6.32426C7.60263 6.49551 7.504 6.79906 7.59404 7.
107615L8.31334 9.28993C8.51465 9.90952 7.8055 10.4247 7.27844 10.0418L5.39529 8.67363C5.15959 8.50238 4.84041 8.50238 4.60471 8.67363L2.72156 10.0418C2.1945 10.4247 1.48535 9.90952 1.68666 9.28993L2.40596 7.07615C2.496 6.79906 2.39737 6.49551 2.16166 6.32426L0.278509 4.95607C-0.248549 4.57314 0.0223231 3.73948 0.673802 3.73948H3.0015C3.29286 3.73948 3.55107 3.55188 3.6411 3.27479L4.3604 1.06101Z",fill:(null==R?void 0:R.overallRating)>=e?"#BC0000":"#ADB2B6"})},l)})})}),(0,a.jsxs)("span",{className:"small text-grey300",children:["(",null==R?void 0:R.overallRatingExact,")"]})]}),(0,a.jsx)("a",{onClick:function(){return z()},href:"/".concat(null==S?void 0:S.uni_name,"/university-reviews.htm"),className:"reviewLink block font-normal small text-primary-400 hover:text-primary-500 hover:underline",children:"View reviews"})]}):""}),(null==R?void 0:R.cugRanking)&&(0,a.jsxs)("div",{className:"flex items-center small text-neutral-900",children:["CUG ranking\xa0",(0,a.jsxs)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 9.50977C3 9.16459 3.27982 8.88477 3.625 8.88477H4.875C5.22018 8.88477 5.5 9.16459 5.5 9.50977V12.6348C5.5 12.9799 5.22018 13.2598 4.875 13.2598H3.625C3.27982 13.2598 3 12.9799 3 12.6348V9.50977Z",fill:"#BC0000"}),(0,a.jsx)("path",{d:"M6.75 7.00977C6.75 6.66459 7.02982 6.38477 7.375 6.38477H8.625C8.97018 6.38477 9.25 6.66459 9.25 7.00977V12.6348C9.25 12.9799 8.97018 13.2598 8.625 13.2598H7.375C7.02982 13.2598 6.75 12.9799 6.75 12.6348V7.00977Z",fill:"#BC0000"}),(0,a.jsx)("path",{d:"M10.5 5.13477C10.5 4.78959 10.7798 4.50977 11.125 4.50977H12.375C12.7202 4.50977 13 4.78959 13 5.13477V12.6348C13 12.9799 12.7202 13.2598 12.375 13.2598H11.125C10.7798 13.2598 10.5 12.9799 10.5 12.6348V5.13477Z",fill:"#BC0000"})]}),(0,u.M6)(null==R?void 0:R.cugRanking)]})]})]}),(0,a.jsx)("div",{className:"uniresults-content-right flex items-end",children:!B&&(0,a.jsxs)("div",{className:"btn-pod w-full flex gap-[8px]",children:[(null==V||null==(T=V.enquiryDetails)||null==(M=T.institutionDetails)||null==(L=M.applyNow)?void 0:L.toLowerCase())==="y"&&(0,a.jsx)(h.A,{enquiryProps:F,commonGAAttrs:U,commonOldGAAttrs:G}),!1]})})]})]})}),(null==q?void 0:q.length)&&!1,(0,a.jsx)(v,{location:O,institutionName:null==R?void 0:R.institutionName,cityGuidedata:H,mapContainerRef:P})]})]})})})}},42678:()=>{}}]);
2//# sourceMappingURL=7925.ea899177a3a0bf57.js.map

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.