"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[829],{28195:(Wt,K,r)=>{r.r(K),r.d(K,{default:()=>wt});var t=r(48322),ue=r(39792),M=r(61054),d=r(34500),n=r(10394),g=r(66247);const ye=d.I4.div` ${({cards:e,cols:a,theme:o})=>(0,d.AH)` .card-block__title + * { margin-top: ${(0,n.g)(32)}; @media ${(0,g.mq)(o.breakpoint.m)} { margin-top: ${(0,n.g)(40)}; } } .card-block__cards { display: grid; gap: ${(0,n.g)(16)}; .ui-card { width: 100%; max-width: ${(0,n.g)(560)}; margin-inline: auto; } @media ${(0,g.mq)(o.breakpoint.s)} { gap: ${(0,n.g)(24)}; grid-template-columns: repeat(${e.length>1?2:1}, 1fr); .ui-card { margin-inline: 0; } } @media ${(0,g.mq)(o.breakpoint.m)} { grid-template-columns: repeat( ${e.length>1&&a&&a}, 1fr ); } } `}; `;var ve=r(17551);const Y=({cards:e,cardSurface:a="Grey Light",cols:o=2,headingLevel:l="h2",title:s})=>{const c=(0,ve.p)(l,s);return t.createElement(ye,{count:e.length,className:"card-block",cols:o,cards:e},s&&t.createElement(M.A,{title:s,className:"card-block__title",headingLevel:l}),t.createElement("div",{className:"card-block__cards"},e.map(i=>t.createElement(ue.A,{key:i.id,...i,headingLevel:c,surface:a}))))};var k=r(28130),$e=r(76147),Q=r(16443),T=r(68253),C=r(10015);const be=d.I4.h1` ${({theme:e,titleSize:a="large"})=>(0,d.AH)` ${e.typeStyles.display[a==="large"?5:4]}; line-height: 1; color: ${e.color.text}; span { background-color: ${e.color.background}; padding: ${(0,n.g)(4)} ${(0,n.g)(8)}; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: ${(0,n.g)(60)}; } @media ${(0,g.mq)(e.breakpoint.m)} { line-height: 1; span { padding: ${(0,n.g)(8)} ${(0,n.g)(16)}; line-height: ${a==="large"?(0,n.g)(98):(0,n.g)(80)}; } } `}; `,fe=({title:e,titleSize:a})=>t.createElement(C.A,{surface:"Grey Dark"},t.createElement(be,{titleSize:a},t.createElement("span",null,e))),Ee=d.I4.div` ${({theme:e})=>(0,d.AH)` /*temp*/ display: flex; flex-direction: column; min-height: 30svh; .hero__image { background: ${e.uiColors.greyLight}; } img { display: block; height: 100%; width: 100%; object-fit: cover; max-height: 50svh; } .hero__super { display: flex; flex-wrap: wrap; gap: ${(0,n.g)(16)}; } .super-tag { ${e.typeStyles.display[1]}; padding: ${(0,n.g)(8)}; background: ${e.uiColors.greyLight}; display: flex; gap: ${(0,n.g)(4)}; align-items: center; .tag--type { ${e.typeStyles.body[1]}; } } .hero__content { background: ${e.color.background}; margin: -${(0,n.g)(64)} ${(0,n.g)(8)} 0; padding: ${(0,n.g)(24)} ${(0,n.g)(8)}; display: flex; flex-direction: column; gap: ${(0,n.g)(16)}; } .ctas { display: flex; flex-direction: column; gap: ${(0,n.g)(24)}; margin-top: ${(0,n.g)(16)}; &:empty { display: none; } } @media ${(0,g.mq)(e.breakpoint.s)} { .ctas { flex-direction: row; flex-wrap: wrap; } } @media ${(0,g.mq)(e.breakpoint.l)} { min-height: 40svh; display: block; position: relative; .hero__image { position: absolute; inset: 0; overflow: hidden; z-index: -1; display: grid; grid-template-columns: 1fr 60%; img { grid-column-start: 2; max-height: 100%; } } .container { display: flex; padding-block: ${(0,n.g)(56)}; } .hero__content { margin: 0; flex: 0 0 50%; justify-content: center; padding: ${(0,n.g)(40)}; gap: ${(0,n.g)(24)}; aspect-ratio: 1/1; } } @media ${(0,g.mq)(e.breakpoint.xl)} { .ctas { flex-direction: row; } } `}; `;var V=r(76741);function he(...e){if((0,V.B)())try{window.dataLayer.push(e)}catch{}}const J=()=>he("event","register_your_interest"),ke=({ctas:e,department:a,image:o,programmeCode:l,summary:s,supertext:c,title:i})=>t.createElement(Ee,null,t.createElement("div",{className:"hero__image"},t.createElement(Q.A,{...o})),t.createElement(k.A,null,t.createElement("div",{className:"hero__content"},(c||l)&&t.createElement("div",{className:"hero__super"},c&&t.createElement("div",{className:"super-tag super-tag--study"},c),l&&t.createElement("div",{className:"super-tag super-tag--code"},t.createElement("span",{className:"tag tag--type"},l.type,":"),t.createElement("span",{className:"tag tag--code"},l.code)),a&&t.createElement("div",{className:"super-tag super-tag--department"},a)),t.createElement(fe,{title:i,titleSize:i.length<=60?"large":"small"}),t.createElement("div",null,s),e&&t.createElement("div",{className:"ctas"},e.map((p,m)=>{const y=m===0?{buttonType:"button01",buttonStyle:"positive"}:{buttonType:"button02"};return t.createElement(T.A,{className:"cta",onClick:()=>p.title.toLowerCase().includes("register")&&J(),key:p.id,uri:p.uri,...y},p.title)}))))),Ce=d.I4.div` ${({theme:e})=>{const a=`"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.293 9.293L12 13.586L7.70703 9.293L6.29303 10.707L12 16.414L17.707 10.707L16.293 9.293Z' fill='%23FFFFFF'/%3E%3Cpath d='M16.293 9.293L12 13.586L7.70703 9.293L6.29303 10.707L12 16.414L17.707 10.707L16.293 9.293Z' fill='%23FFFFFF' fill-opacity='0.2'/%3E%3C/svg%3E%0A"`;return(0,d.AH)` color: ${e.color.text}; background: ${e.color.background}; h2.title { ${e.typeStyles.display[1]}; } .study-mode { display: grid; gap: ${(0,n.g)(16)}; } .label, .duration, .status { ${e.typeStyles.body[1]}; } .status { display: block; line-height: ${(0,n.g)(24)}; } .information { display: flex; flex-direction: column; gap: ${(0,n.g)(32)}; margin-top: ${(0,n.g)(32)}; > div { display: flex; flex-direction: column; gap: ${(0,n.g)(8)}; } select { appearance: none; ${e.typeStyles.display[0]}; color: ${e.uiColors.white}; width: 100%; padding-block: ${(0,n.g)(8)}; background: ${e.uiColors.greyDark} url(${a}) right center no-repeat; border: 0; border-bottom: ${(0,n.g)(1)} solid ${e.uiColors.greenMint}; option { ${e.typeStyles.body[3]}; } } } .green { color: ${e.uiColors.greenMint}; } .text-bold { ${e.typeStyles.display[0]}; } .buttons-container { display: none; } @media ${(0,g.mq)(e.breakpoint.l)} { max-width: ${(0,n.g)(299)}; .information { gap: ${(0,n.g)(32)}; } .buttons-container { display: flex; flex-wrap: wrap; gap: ${(0,n.g)(24)}; margin-top: ${(0,n.g)(40)}; } .cta { width: 100%; } } `}}; `;var v=r(36540);const xe=({academicYear:e,applicationDeadline:a,ctas:o,currentAcademicYear:l,location:s,setCurrentAcademicYear:c,startDate:i,studyMode:p})=>t.createElement(C.A,{surface:"Grey Dark"},t.createElement(Ce,{className:"key-information"},t.createElement("h2",{className:"title"},v.z.programme.keyInformation),t.createElement("div",{className:"information"},p&&p.length>0&&t.createElement("div",null,t.createElement("div",{className:"label"},v.z.programme.studyMode),t.createElement("div",{className:"study-mode"},p.map(m=>t.createElement("div",{key:m.title},t.createElement("span",{className:"text-bold"},m.title," ",v.z.programme.students," "),t.createElement("span",{className:"duration"},"(",m.duration,") "),t.createElement("span",{className:"green status"},m.status))))),t.createElement("div",null,t.createElement("div",{className:"label"},v.z.programme.academicYear),t.createElement("div",{className:"programme-select"},e.length===1?t.createElement("div",{className:"text-bold"},e[0].title):t.createElement("select",{onChange:m=>c(m.target.value),defaultValue:e.find(m=>m.id===l)?.id},e.map(m=>t.createElement("option",{value:m.id,key:m.id},m.title))))),i&&t.createElement("div",null,t.createElement("div",{className:"label"},v.z.programme.startDate),t.createElement("div",{className:"text-bold"},i)),t.createElement("div",null,t.createElement("div",{className:"label"},v.z.programme.location),t.createElement("div",{className:"text-bold"},s)),a&&t.createElement("div",null,t.createElement("div",{className:"label"},v.z.programme.applicationDeadline),t.createElement("div",{className:"text-bold"},a))),t.createElement("div",{className:"buttons-container"},o.map((m,y)=>{const u=y===0?{buttonType:"button01"}:{buttonType:"button02"};return t.createElement(T.A,{className:"cta",onClick:()=>m.title.toLowerCase().includes("register")&&J(),key:m.id,uri:m.uri,...u},m.title)}))));var Z=r(24174),Se=r(32394);const Ae=d.I4.nav` ${({theme:e})=>(0,d.AH)` background: ${e.tabs.dark.background.default}; display: flex; justify-content: center; align-items: center; position: relative; .nav__list { list-style: none; display: flex; gap: 1px; padding-right: ${(0,n.g)(24)}; @media ${(0,g.mq)(e.breakpoint.l)} { padding-right: 0; } ${e.patterns.scroll({theme:e,trackColor:"light",orientation:"horizontal",trackSize:"sm"})}; } .nav__item { flex: 0 0 auto; a { ${e.typeStyles.body[2]}; display: block; position: relative; padding: ${(0,n.g)(12)} ${(0,n.g)(16)}; background: ${e.tabs.dark.background.default}; color: ${e.tabs.dark.text}; transition: all 0.2s ease-in-out; &::after { content: ''; background: transparent; width: 0; display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: ${(0,n.g)(4)}; transition: all ease-in-out 0.6s; } &:hover { background: ${e.tabs.dark.background.hover}; color: ${e.tabs.dark.text}; } &.active { background: ${e.tabs.dark.background.default}; color: ${e.tabs.dark.text}; &::after { width: 100%; background: ${e.tabs.dark.border}; transition: all ease-in-out 0.3s; } } } } .svg { background: #3a3d3f; opacity: 0.8; display: block; height: calc(100% - 4px); display: grid; place-items: center; padding: 0.5rem; color: ${e.uiColors.white}; pointer-events: none; touch-action: none; position: absolute; top: 0; right: 0; svg { width: ${(0,n.g)(16)}; height: ${(0,n.g)(16)}; } } @media ${(0,g.mq)(e.breakpoint.l)} { background: ${e.tabs.light.background.default}; min-height: ${(0,n.g)(72)}; .svg { display: none; } .nav__item { a { padding: ${(0,n.g)(24)} ${(0,n.g)(16)}; background: ${e.tabs.light.background.default}; color: ${e.tabs.light.text}; &:hover { background: ${e.tabs.light.background.hover}; color: ${e.tabs.light.text}; } &.active { background: ${e.tabs.light.background.default}; color: ${e.tabs.light.text}; &::after { background: ${e.tabs.light.border}; height: ${(0,n.g)(4)}; } } } } } `}; `;var Ne=r(32536);const X=({navigation:e})=>{const a=(0,Ne.H)({ids:e.map(o=>o.id),offset:100});return t.createElement(Ae,null,t.createElement("ul",{className:"nav__list"},e.map(o=>t.createElement("li",{key:o.id,className:"nav__item"},t.createElement(Z.A,{uri:`#${o.id}`,className:a===o.id?"active":""},o.title)))),t.createElement(Se.A,{icon:"ArrowRight"}))};var w=r(24231),$=r(6303),Pe=r(98358);const Le=d.I4.div` ${({theme:e})=>(0,d.AH)` display: grid; grid-template-columns: repeat(2, 1fr); gap: ${(0,n.g)(16)}; @media ${(0,g.mq)(e.breakpoint.s)} { grid-template-columns: repeat(3, 1fr); } .block { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: ${(0,n.g)(8)}; min-height: ${(0,n.g)(160)}; &--applications, &--places { background-color: ${e.uiColors.purple}; aspect-ratio: 1/1; } &--ratio { background-color: ${e.uiColors.purpleBright}; grid-column: span 2; } @media ${(0,g.mq)(e.breakpoint.s)} { gap: ${(0,n.g)(24)}; aspect-ratio: 1/1; &--ratio { grid-column: auto; } } } .content { text-align: center; } .stats { ${e.typeStyles.display[5]}; color: ${e.uiColors.white}; } .information { ${e.typeStyles.display[2]}; color: ${e.uiColors.white}; } `}; `,Ie=({applications:e,places:a,ratio:o,year:l})=>t.createElement(Le,null,t.createElement("div",{className:"block block--applications"},t.createElement("div",{className:"content"},t.createElement("div",{className:"stats"},e),t.createElement("div",{className:"information"},v.z.programme.applications))),t.createElement("div",{className:"block block--places"},t.createElement("div",{className:"content"},t.createElement("div",{className:"stats"},a),t.createElement("div",{className:"information"},v.z.programme.places))),t.createElement("div",{className:"block block--ratio"},t.createElement("div",{className:"content"},t.createElement("div",{className:"stats"},o),t.createElement("div",{className:"information"},l," ",v.z.programme.ratio)))),q=(0,t.createContext)({home:void 0,overseas:void 0}),_=(0,t.createContext)({applications:0,places:0,ratio:"",year:""}),Be=()=>{const e=(0,t.useContext)(_);return!e||Object.entries(e).some(a=>!a[1])?null:t.createElement(Ie,{...e})};var He=r(54334),Te=r(13331);const we=d.I4.div` ${()=>(0,d.AH)` .country__content { margin-top: ${(0,n.g)(24)}; } `}; `;var R=r(43266),h=r(18737),D=r(52546),ee=r(34210),te=r(32594),Re=r(60010);const{selectVersionStatus:De}=D.rE.selectors,ze=({id:e,studyLevel:a})=>{const o=(0,R.d4)(De),[l,s]=(0,t.useState)(!1),[c,i]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{let p=!0;return e?(async()=>{const y=new h.Query(h.Op.equalTo("sys.contentTypeId",Re.fE.country),h.Op.equalTo("sys.versionStatus",o),h.Op.equalTo("sys.id",e));y.fields=a==="undergraduate"?["entryRequirementsUndergraduate"]:a==="graduate research"?["entryRequirementsGraduateResearch"]:["entryRequirementsGraduate"],s(!0);const{response:u}=await(0,te.m)((0,ee.c)().entries.search(y,0));if(p){const E=u?.items?.[0];if(E){const x=a==="undergraduate"?E.entryRequirementsUndergraduate:a==="graduate research"?E.entryRequirementsGraduateResearch:E.entryRequirementsGraduate;i(x)}s(!1)}})():i(void 0),()=>{p=!1}},[e,a,o]),{content:c,isLoading:l}},Fe=({studyLevel:e})=>{const[a,o]=(0,t.useState)(void 0),{content:l,isLoading:s}=ze({id:a,studyLevel:e});return t.createElement(we,null,t.createElement(Te.A,{callback:c=>o(c?.id)}),s?t.createElement(He.A,null):l?t.createElement("div",{className:"country__content"},t.createElement(w.A,{content:l})):null)};var Ue=r(51228);const Ge=d.I4.div` ${({theme:e})=>(0,d.AH)` background: ${e.color.background}; padding: ${(0,n.g)(24)} ${(0,n.g)(16)}; position: relative; transition: background 0.2s ease-in-out; :focus-within, :hover { background: ${e.color.backgroundHover}; } .codeUnitContainer { display: flex; justify-content: space-between; .code, .unit { ${e.typeStyles.body[1]}; color: ${e.uiColors.blueNavy}; } } .codeUnitContainer + .card__content { margin-top: ${(0,n.g)(16)}; } .card__content { .card__title { ${e.typeStyles.display[1]}; a { color: ${e.color.text}; ::before { content: ''; position: absolute; inset: 0; } } } .description { ${e.typeStyles.body[3]}; } } @media print { page-break-inside: avoid; break-inside: avoid; } `}; `,Oe=({code:e,description:a,headingLevel:o="h4",surface:l="Grey Light",title:s,units:c,uri:i})=>{const p=o;return t.createElement(C.A,{surface:l},t.createElement(Ge,{className:"card ui-card ui-card--course"},(e||c)&&t.createElement("div",{className:"codeUnitContainer"},e&&t.createElement("div",{className:"code"},e),c&&t.createElement("div",{className:"unit"},c)),t.createElement("div",{className:"card__content"},t.createElement(p,{className:"card__title"},t.createElement(Z.A,{uri:i},s)),a&&t.createElement("div",{className:"description"},a))))},We=d.I4.div` ${()=>(0,d.AH)` .courseList { display: grid; gap: ${(0,n.g)(16)}; } * + .courseList, * + .accordion { margin-top: ${(0,n.g)(16)}; } `}; `;var z=r(4390);const je=({courseGroups:e})=>t.createElement(We,null,e.filter(a=>a.cards&&a.cards.length>0).map(a=>a.title?t.createElement(Ue.A,{key:a.id,items:[{id:a.id,title:a.title,content:[(0,z.n)({component:"courseList",value:{courseGroups:[{id:"course-group-accordion",cards:a.cards}]}})]}]}):t.createElement("div",{key:a.id,className:"courseList"},a.cards.map(o=>t.createElement(Oe,{key:o.id,...o}))))),Ke=d.I4.div` ${()=>(0,d.AH)``}; `;var Me=r(93730);const Ye="10004063",Qe=({KISCOURSEID:e,KISMODE:a="FullTime"})=>{const[o,l]=(0,t.useState)(!1);(0,t.useEffect)(()=>{(0,Me.k)({id:"unistats-widget-script",src:"//discoveruni.gov.uk/widget/embed-script",position:"body"})},[]);const s=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let c=!0;return s.current&&(0,V.B)()&&!o&&setTimeout(()=>{const i=window.DiscoverUniWidget;i&&c&&(l(!0),s.current?.classList.add("kis-widget"),new i(s.current))},500),()=>{c=!1}},[s,o]),t.createElement(Ke,null,t.createElement("div",{style:{minWidth:"190px"},"data-institution":Ye,"data-course":e.replace(/\/|\||:|&|\.|>|\+|#|;|,|\?|@|=/g,"_"),"data-kismode":a,"data-orientation":"responsive","data-language":"en-GB",ref:s}))};var Ve=r(11489);const Je=({type:e})=>{const a=(0,t.useContext)(q);return a[e]?t.createElement(Ve.A,{...a[e]}):null};var Ze=r(31223),Xe=r(76450);const qe=d.I4.div` ${({theme:e})=>(0,d.AH)` h3 { ${e.typeStyles.display[1]}; } .pillContainer { display: flex; flex-wrap: wrap; gap: ${(0,n.g)(8)} ${(0,n.g)(16)}; margin-top: ${(0,n.g)(24)}; .tag { ${e.typeStyles.body[2]}; } } `}; `,_e=({headingLevel:e="h4",pills:a,title:o})=>{const l=e;return t.createElement(qe,null,t.createElement(l,null,o),t.createElement("div",{className:"pillContainer"},a.map(s=>t.createElement(Xe.A,{key:s.id,tagStyle:"Grey Light",label:s.title}))))};var et=r(22164);const tt=d.I4.div` ${()=>(0,d.AH)` .faculty__title + .faculty-card, .faculty-card + .faculty-card { margin-top: ${(0,n.g)(24)}; } `}; `,nt=({title:e,cards:a})=>t.createElement(tt,null,t.createElement("h4",{className:"faculty__title"},e),a.map(o=>t.createElement(et.A,{key:o.id,...o,headingLevel:"h5"})));var at=r(98600);const ot=d.I4.div` ${({theme:e})=>(0,d.AH)` .ui-card--programme + .ui-card--programme { margin-top: ${(0,n.g)(16)}; padding-top: ${(0,n.g)(16)}; border-top: 1px solid ${e.border.border01}; } `}; `,rt=({cards:e,headingLevel:a})=>t.createElement(ot,null,e.map(o=>t.createElement(at.A,{key:o.id,...o,headingLevel:a})));var it=r(49817),lt=r(25667);const st=d.I4.section` ${()=>(0,d.AH)` scroll-margin-top: ${(0,n.g)(100)}; .container > * + * { margin-top: ${(0,n.g)(40)}; } `}; `;var ct=r(40861);const b=({footer:e,id:a,tabs:o,intro:l,title:s})=>{const c=(0,t.useMemo)(()=>({cardBlock:i=>(0,$.A)(Y,{...i,headingLevel:"h4"}),countrySelect:i=>(0,$.A)(Fe,i),courseList:i=>(0,$.A)(je,i),discoverUni:i=>(0,$.A)(Qe,i),fees:i=>(0,$.A)(Je,i),infographicApplicationsPlacesRatio:i=>(0,$.A)(Be,i),infographicGraduateSalary:i=>(0,$.A)(Ze.A,i),infographicWhyÐÓ°ÉÂÛ̳:i=>(0,$.A)(lt.A,i),pills:i=>(0,$.A)(_e,i),programmeFaculty:i=>(0,$.A)(nt,i),programmeList:i=>(0,$.A)(rt,{...i,headingLevel:"h4"}),studentStories:i=>(0,$.A)(it.A,i)}),[]);return t.createElement(st,{id:a,className:"programme-section"},t.createElement(k.A,{maxWidth:"push"},t.createElement(M.A,{title:s}),t.createElement(ct.j.Provider,{value:c},l&&t.createElement(w.A,{content:l}),o.length>0&&t.createElement(Pe.A,{headingLevel:"h3",tabs:o}),e&&e.length>0&&t.createElement(w.A,{content:e,headingLevel:"h3"}))))},dt=d.I4.div` ${({theme:e,backgroundColor:a,containerWidth:o})=>{const l=a==="grey"?e.uiColors.greyLight:a==="blue"?e.uiColors.blueSky:"inherit",s=o==="pushBanner"?"0":(0,n.g)(40),c=o==="pushBanner"?"0":(0,n.g)(80);return(0,d.AH)` background-color: ${l}; margin-inline: -${(0,n.g)(8)}; padding-block: ${s}; @media ${(0,g.mq)(e.breakpoint.l)} { padding-block: ${c}; margin-inline: 0; position: relative; &::before { ${o==="push"&&"content: '';"} display: block; background: ${l}; height: 100%; width: 100vw; position: absolute; top: 0; right: 100%; [dir='rtl'] & { right: auto; left: 100%; } } } `}}; `,ne=({backgroundColor:e="white",children:a,containerWidth:o="default"})=>t.createElement(dt,{backgroundColor:e,containerWidth:o,className:"slice"},t.createElement(k.A,{maxWidth:o},a));var mt=r(20077),gt=r(34612);const pt=d.I4.h2` ${({theme:e})=>(0,d.AH)` ${e.typeStyles.highlight}; line-height: 1; color: ${e.color.text}; span { background-color: ${e.color.background}; padding: ${(0,n.g)(4)} ${(0,n.g)(8)}; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: ${(0,n.g)(42)}; @media ${(0,g.mq)(e.breakpoint.m)} { line-height: ${(0,n.g)(55)}; } } `}; `,ut=({title:e})=>t.createElement(C.A,{surface:"White"},t.createElement(pt,{className:"programme-banner__title"},t.createElement("span",null,e))),yt=d.I4.div` ${({theme:e,isPush:a})=>{const o=e.color.background,l=e.color.text;return(0,d.AH)` display: grid; gap: ${(0,n.g)(24)}; background: ${o}; position: relative; margin-inline: -${(0,n.g)(8)}; @media ${(0,g.mq)(e.breakpoint.m)} { grid-template-columns: 4fr 5fr; align-items: center; min-height: ${(0,n.g)(380)}; margin-inline: -${(0,n.g)(16)}; ${!!a&&`&::before { content: ""; display: block; background: ${o}; height: 100%; width: 100vw; position: absolute; top: 0px; right: 100%; [dir='rtl'] & { right: auto; left: 100%; } } `} } @media ${(0,g.mq)(e.breakpoint.l)} { min-height: ${(0,n.g)(480)}; margin-inline: 0; } .content-container { display: flex; flex-direction: column; gap: ${(0,n.g)(24)}; padding-top: ${(0,n.g)(24)}; margin-inline: ${(0,n.g)(16)}; position: relative; z-index: 1; @media ${(0,g.mq)(e.breakpoint.xs)} { padding-block: ${(0,n.g)(24)}; } @media ${(0,g.mq)(e.breakpoint.m)} { margin-inline: ${(0,n.g)(16)}; } @media ${(0,g.mq)(e.breakpoint.l)} { padding-block: ${(0,n.g)(48)}; margin-inline: 0; } @media ${(0,g.mq)(e.breakpoint.xl)} { padding-block: ${(0,n.g)(72)}; } } .programme-banner__title { } .programme-banner__text { ${e.typeStyles.body[2]}; color: ${l}; } .button-container { width: fit-content; .signUpButton { padding-block: ${(0,n.g)(16)}; padding-inline: ${(0,n.g)(24)}; } } .image-container { @supports not (contain: size) { overflow: clip; } img { aspect-ratio: 4 / 3; width: 100%; height: 100%; display: block; clip-path: polygon( 100% 50px, 100% 122px, calc(100% - 25px) 100%, 7px 100%, 50px 0 ); object-fit: cover; } @media ${(0,g.mq)(e.breakpoint.m)} { display: grid; grid-template-columns: 4fr 5fr; position: absolute; inset: 0; z-index: 0; padding-top: ${(0,n.g)(32)}; .image { grid-column-start: 2; contain: size; } img { aspect-ratio: 1 / 1; clip-path: polygon(15% 0px, 100% 14%, 100% 100%, 2% 100%); } } @media ${(0,g.mq)(e.breakpoint.m)} { img { clip-path: polygon(15% 0px, 100% 20%, 100% 100%, 2% 100%); } } @media ${(0,g.mq)(e.breakpoint.l)} { img { clip-path: polygon(15% 0px, 100% 9%, 100% 100%, 2% 100%); } } @media ${(0,g.mq)(e.breakpoint.xl)} { img { clip-path: polygon(15% 0px, 100% 12%, 100% 100%, 2% 100%); } } } `}}; `,vt=({surface:e="Grey Light",cta:a,date:o,image:l,isPush:s=!0,text:c,title:i})=>t.createElement(C.A,{surface:e},t.createElement(yt,{isPush:s,className:"banner--programme"},t.createElement("div",{className:"content-container"},o&&t.createElement(gt.A,{...o}),t.createElement(ut,{title:i}),c&&t.createElement("p",{className:"programme-banner__text"},c),a&&t.createElement("div",{className:"button-container"},t.createElement(T.A,{className:"cta-button",uri:a.uri,buttonType:"button02"},a.title))),l&&t.createElement("div",{className:"image-container"},t.createElement("div",{className:"image"},t.createElement(Q.A,{...l})))));var $t=r(94448);const bt="/_mClaLQ_0db0edc4-afda-46b2-9103-34adb038b93f/static/assets/border.png",ae=100/3,ft=d.I4.div` ${({theme:e})=>(0,d.AH)` .info-panel { background: ${e.uiColors.greyDark}; color: ${e.uiColors.white}; padding-block: ${(0,n.g)(40)} ${(0,n.g)(32)}; padding-inline: ${(0,n.g)(8)}; margin-inline: -${(0,n.g)(8)}; @media ${(0,g.mq)(e.breakpoint.m)} { padding-block: ${(0,n.g)(64)} 0; margin-inline: -${(0,n.g)(16)}; padding-inline: ${(0,n.g)(16)}; } } .nav-section { border-bottom: 1px solid ${e.border.border03}; &.mobile { position: sticky; top: 0; z-index: 999; border-bottom: 0; nav { margin-inline: -${(0,n.g)(8)}; @media ${(0,g.mq)(e.breakpoint.m)} { margin-inline: -${(0,n.g)(16)}; } } } &.sticky { display: none; } } .page { padding-bottom: ${(0,n.g)(32)}; > * { margin-top: ${(0,n.g)(56)}; + *:not(.slice, .slice + *) { padding-top: ${(0,n.g)(56)}; border-top: 1px solid ${e.border.border03}; } } } .flow { display: flex; flex-direction: column; } @media ${(0,g.mq)(e.breakpoint.l)} { .flow { display: block; overflow-x: hidden; @supports (overflow-x: clip) { overflow-x: clip; } } .main-content-area { display: flex; flex-direction: row-reverse; } .nav-section { &.mobile { display: none; } } .sticky { top: 0; position: sticky; z-index: 10; &.nav-section { display: block; } &.info-panel { top: ${(0,n.g)(72)}; z-index: 9; height: 100vh; height: 100svh; width: ${ae}%; margin-inline: 0; padding-block: ${(0,n.g)(80)} ${(0,n.g)(32)}; padding-inline: ${(0,n.g)(40)} ${(0,n.g)(16)}; background: ${e.uiColors.greyDark}; background-size: ${(0,n.g)(8)} 100%; > div { padding-right: 1rem; max-height: 75%; [dir='rtl'] & { padding-left: 1rem; padding-right: 0; } @media (min-height: 600px) { max-height: 85%; } overflow: auto; ${e.patterns.scroll({theme:e,trackColor:"dark",orientation:"vertical",trackSize:"md"})} } &::before { content: ''; background: url(/_mClaLQ_0db0edc4-afda-46b2-9103-34adb038b93f/static/modern/js/${bt}) 0 0 no-repeat; background-size: cover; position: absolute; inset: 0 auto 0 0; top: 0; display: block; width: 8px; height: 100%; [dir='rtl'] & { inset: 0 0 0 auto; } } &::after { content: ''; display: block; background: ${e.uiColors.greyDark}; height: 100%; width: 100vw; position: absolute; top: 0; left: 100%; [dir='rtl'] & { left: auto; right: 100%; } } } } .page { width: ${ae*2}%; margin-top: 0; padding-bottom: ${(0,n.g)(64)}; gap: ${(0,n.g)(80)}; > * { margin-top: ${(0,n.g)(80)}; + *:not(.slice, .slice + *) { padding-top: ${(0,n.g)(80)}; border-top: 1px solid ${e.border.border03}; } } } } `}; `;var oe=r(84589);const{setRoute:Et}=D.DT.actions,{selectCurrentPath:ht,selectCurrentSearch:kt}=D.DT.selectors,F="year",Ct=({academicYears:e,id:a})=>{const o=(0,R.wA)(),[l,s]=(0,t.useState)(a),{currentPath:c,currentSearch:i}=(0,R.d4)(u=>({currentPath:ht(u),currentSearch:kt(u)})),[p,m]=(0,t.useState)((0,oe.J)({queryString:i})?.[F]||e?.[0]?.id),y=u=>{m(u),o(Et(`${c}?${F}=${encodeURIComponent(u)}`,null))};return(0,t.useEffect)(()=>{a!==l&&(m((0,oe.J)({queryString:i})?.[F]||e?.[0]?.id),s(a))},[a,i,e,l]),{currentAcademicYear:p,setCurrentAcademicYear:y,...e.find(u=>u.id===p)||{}}};var xt=r(54382),St=r(93794),At=r(31175),Nt=r(42782),Pt=r(75126),Lt=r(87089),N=r(70941);const P=async({versionStatus:e,ids:a,fields:o,mapper:l})=>{const s=new h.Query(h.Op.equalTo("sys.versionStatus",e),h.Op.in("sys.id",...a));s.fields=o;const{response:c}=await(0,te.m)((0,ee.c)().entries.search(s,1));return(0,St.q)(c?.items?.sort((i,p)=>{const m=a.findIndex(u=>u===i.sys.id),y=a.findIndex(u=>u===p.sys.id);return m>y?1:m{const[c,i]=(0,t.useState)(!1),p=(0,t.useRef)(),m=(0,t.useRef)(),y=(0,t.useRef)(),u=(0,t.useRef)();return(0,t.useEffect)(()=>{let E=!0;return(async()=>{i(!0);const U=l?await P({versionStatus:e,ids:[l],fields:N.Sk,mapper:Nt.$}):void 0,I=o&&o.cards.length>0?await P({versionStatus:e,ids:o.cards,fields:N.ET,mapper:Lt.A}):void 0,S=a&&a.length>0?await P({versionStatus:e,ids:a,fields:N.ob,mapper:Pt.w}):void 0,A=s&&s.length>0?await P({versionStatus:e,ids:s,fields:N.eT,mapper:At.S}):void 0;E&&(p.current=U?.[0],m.current=I?{title:o?.title,cards:I}:void 0,y.current=S?{id:"why-study-with-us__student-stories",title:v.z.programme.studentStories,content:[(0,z.n)({component:"studentStories",value:{stories:S}})]}:void 0,u.current=A?{id:"discover-more__related-programmes",title:v.z.programme.relatedProgrammes,content:[(0,z.n)({component:"programmeList",value:{cards:A}})]}:void 0,i(!1))})(),()=>{E=!1}},[l,o,s,a,e]),{banner:p.current,cardBlock:m.current,relatedProgrammes:u.current,studentStories:y.current,isLoading:c}},re=e=>Object.entries(e||{}).filter(a=>a[1]).length===0;var Bt=r(93281),Ht=r(90619),L=r(19091);const Tt=({mappedEntry:{academicYears:e,discoverMore:a,discoverUni:o,dynamicContent:l,entryRequirements:s,feesAndFunding:c,graduateDestinations:i,hero:p,id:m,keyInformation:y,learningAndAssessment:u,meta:E,navigation:x,overview:U,programmeContent:I,unibuddy:S,video:A,whyStudyWithUs:B,yourApplication:ie}})=>{const{applicationDeadline:Rt,currentAcademicYear:Dt,fees:G={home:void 0,overseas:void 0},feesDescription:le,infographicApplicationsPlacesRatio:zt,programmeContent:O,setCurrentAcademicYear:Ft,startDate:Ut,studyMode:Gt,scholarshipsBursariesAndLoans:se}=Ct({academicYears:e,id:m}),{banner:ce,cardBlock:de,studentStories:me,relatedProgrammes:W,isLoading:Ot}=It(l),ge=c!==void 0&&(!(0,Bt.O)(c?.intro)||!re(G)&&!re(le)),pe={navigation:O?x:x.filter(f=>f.id!=="programme-content").filter(f=>ge?!0:f.id!=="fees-and-funding")};return t.createElement($e.A,{meta:E},Ot&&t.createElement($t.A,null),t.createElement(d.NP,{theme:{...L.w,button01:L.w.buttons.button03,surfaces:Object.entries(L.w.surfaces).reduce((f,[j,H])=>({...f,[j]:{...H,button01:L.w.buttons.button03}}),{})}},t.createElement(ft,null,t.createElement(ke,{...p}),t.createElement("div",{className:"flow"},t.createElement("section",{className:"nav-section sticky"},t.createElement(X,{...pe})),t.createElement(k.A,{className:"main-content-area"},t.createElement("aside",{className:"info-panel sticky"},t.createElement(xe,{...y,currentAcademicYear:Dt,setCurrentAcademicYear:Ft,applicationDeadline:Rt,startDate:Ut||"",studyMode:Gt})),t.createElement("section",{className:"nav-section mobile"},t.createElement(X,{...pe})),t.createElement("div",{className:"page"},A&&t.createElement(k.A,{maxWidth:"push"},t.createElement(mt.A,{...A})),t.createElement(b,{...U}),s&&t.createElement(b,{...s}),ce&&t.createElement(ne,{containerWidth:"pushBanner"},t.createElement(vt,{...ce,isPush:!0})),O&&t.createElement(b,{...I,...O}),B&&t.createElement(b,{...B,tabs:me?[me,...B.tabs]:B.tabs}),ie&&t.createElement(_.Provider,{value:zt},t.createElement(b,{...ie})),ge&&t.createElement(q.Provider,{value:G},t.createElement(b,{...c,tabs:c.tabs.map((f,j)=>{const H=j===0?"home":"overseas";return{...f,content:[...G[H]?f.content:[],...le?.[H]||[]]}}).filter(f=>f.content.length>0),footer:se?(0,xt.y)({canvas:c.footer,scholarshipsBursariesAndLoans:se}):c.footer})),u&&t.createElement(b,{...u}),i&&t.createElement(b,{...i}),de&&t.createElement(ne,{backgroundColor:"grey",containerWidth:"push"},t.createElement(Y,{...de,cardSurface:"White"})),o&&t.createElement(b,{...o})," ",(a.tabs.length>0||W)&&t.createElement(b,{...a,tabs:W?[W,...a.tabs]:a.tabs})))))),S&&t.createElement(Ht.A,{code:S}))},wt=(0,t.memo)(Tt,(e,a)=>e.entry?.sys.id===a.entry?.sys.id)}}]);