(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[524],{91721:(j,x,t)=>{"use strict";t.d(x,{A:()=>v});var e=t(48322),f=t(50423),a=t(67115),n=t(28130),s=t(72153),r=t(49196),l=t(95987),p=t(43266);j=t.hmd(j);const m=E=>{const d=(0,p.d4)(n.Tp.selectRouteLoading),[o,c]=(0,e.useState)(d);return(0,e.useEffect)(()=>{c(d)},[d]),e.createElement(e.Fragment,null,e.createElement("div",{id:"app-root"},e.createElement(a.ThemeProvider,{theme:r.z},o&&e.createElement(l.Rh,null),e.createElement(n.F6,{...E,notFoundComponent:s.default}))))},v=(0,f.KS)(j)(m)},89980:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>v});var e=t(48322),f=t(67115);const n=f.default.div` ${({theme:E})=>(0,f.css)` & + & { margin-top: 1.6rem; } .accordion__title { display: flex; justify-content: space-between; align-items: center; text-align: left; background: ${E.colors.whiteAlt}; border: 1px solid ${E.colors.whiteAlt}; padding: 2rem 1.6rem; width: 100%; font-weight: 700; color: ${E.colors.blue}; cursor: pointer; } .accordion__content { border: 1px solid ${E.colors.whiteAlt}; padding: 2rem; &.closed { display: none; } &.open { display: block; } p { margin-bottom: 1.875rem; } } .hidden { display: none; visibility: hidden; } @media print { .accordion__title { background: none; border: none; font-size: 2.4rem; line-height: 3.2rem; font-weight: 500; padding: 2rem 0 0 0; } svg { display: none; } .accordion__content { border: none; padding: 2rem 0; &.closed { display: block; } } } `}; `;var s=t(614),r=t(62223),l=t(73456);const p={chevron:{open:"chevronUp",close:"chevronDown",size:24},math:{open:"minus",close:"plus",size:14}},v=({title:E,children:d,markup:o,icon:c="math",handleClick:g,isOpen:P=!1,className:A})=>{const[X,T]=(0,e.useState)(!1),L=P||X,te=p[c],ae=()=>{g?g():T(!X)},ne=(0,l.A)();return e.createElement(n,{className:`accordion__item ${A||""}`},e.createElement("button",{className:`accordion__title ${L?"open":"closed"}`,id:`${ne}title`,type:"button",onClick:ae,"aria-expanded":L,"aria-controls":ne},e.createElement("span",null,E),e.createElement(s.I,{icon:L?te?.open:te?.close,size:te?.size||24}),e.createElement(s.I,{icon:"minus",className:"hidden"})),e.createElement("div",{className:`accordion__content ${L?"open":"closed"}`,id:ne,role:"region","aria-labelledby":`${ne}title`},o&&e.createElement(r.default,{html:o}),d||null))}},43738:(j,x,t)=>{"use strict";t.d(x,{A:()=>d});var e=t(48322),f=t(22582),a=t(67115);const s=a.default.section` ${({theme:o,image:c,video:g})=>(0,a.css)` position: relative; padding: 1.6rem 0; color: ${o.colors.white}; .article-hero__title { margin-bottom: 0; // max-width: 30ch; } .article-hero__description { margin-top: 1rem; } .article-hero__cta { display: flex; flex-flow: column nowrap; margin-top: 4rem; @media screen and (min-width: 768px) { flex-flow: row wrap; } } .article-hero__link { margin-top: 0; width: max-content; text-align: center; color: ${o.colors.white}; :not(:first-of-type) { margin: 2.4rem 0 0 0; @media screen and (min-width: 768px) { margin: 0 2.4rem; } } :last-of-type { margin-bottom: 4rem; } } .article-hero__video-background { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; z-index: -1; } & { button { &.article-hero__video-pause-button { color: #00615e; border: 1px solid #00615e; border-radius: 20px; // margin-top: 5px; padding: 4px 5px 0px 7px; margin-top: -50px; position: absolute; right: 10px; &:hover { color: #00615ecc; } } } } ${(c||g)&&` min-height: 40rem; background: #000 url(${g||`${c}?f=webp&height=400`}); // background-size: cover; background-position: center top; background-repeat: no-repeat; h1, .article-hero__title, .article-hero__message, .article-hero__description { color: ${o.colors.white}; text-align: center; } .article-hero__title { margin-top: 6.4rem; } @media screen and (max-width: 768px) { background: #000 url(${g||`${c}?height=200`}) no-repeat center top; } `} // 91Ó°ÊÓbrand 2024 @media screen and (max-width: 768px) { // min-height: 50rem; } .wrapper { background-color: rgb(0, 0, 0, 0.7); width: 46rem; position: absolute; left: 10%; bottom: 0; padding: 3rem 3rem 8rem 3rem; box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 20px 0; & > * { padding: 0; margin: 0; margin-bottom: 15px; &:last-child { margin-bottom: 0; } } @media screen and (max-width: 768px) { width: 100%; left: auto; bottom: 0; top: auto; background: #000; position: static; margin-top: 20rem; margin-bottom: 0; box-shadow: none; padding: 10px 10px 0; } } .article-hero__title { margin-top: 0; font-size: 2.4rem; line-height: 3.6rem; font-family: 'Open Sans', Arial, sans-serif; // font-family: 'ivypresto-headline', serif; @media screen and (min-width: 768px) { font-size: 3rem; } } .article-hero__description { line-height: 3rem; & > div { // margin: 2rem 0; } @media screen and (min-width: 768px) { font-size: 2rem; } } a { padding: 5px 15px !important; } `}; `;var r=t(56950),l=t(43266),p=t(94865),m=t(77334),v=t(19997);const d=({title:o,message:c,description:g,image:P,video:A,heroLink:X,externalLink:T,ctaButtons:L,hideBreadcrumbs:te,className:ae})=>{const ne=(0,l.d4)(p.Lg),le=P?"white":"blue",[de,Ee]=(0,e.useState)(!1),oe=(0,e.useRef)(null),ee=()=>{oe.current&&(de?oe.current.play():oe.current.pause(),Ee(!de))};return e.createElement(s,{className:`article-hero ${ae}`,image:m.A.resolveRelativeUrl(P?.asset?.sys.uri||P),video:A},e.createElement("div",{className:"wrapper"},!te&&e.createElement(r.A,{breadcrumbs:ne,breadcrumbColor:le,className:"article-hero__breadcrumbs"}),e.createElement("h2",{className:"article-hero__title"},o),e.createElement("div",{className:"article-hero__description"},g),e.createElement(v.A,{ctas:L.ctaButton})),A&&e.createElement(e.Fragment,null,e.createElement("video",{ref:oe,autoPlay:!0,loop:!0,muted:!0,className:"article-hero__video-background",onClick:ee},e.createElement("source",{src:A,type:"video/mp4"})),e.createElement("button",{className:"article-hero__video-pause-button",onClick:ee},de?e.createElement(f.gSK,null):e.createElement(f.kwt,null))))}},56950:(j,x,t)=>{"use strict";t.d(x,{A:()=>p});var e=t(48322),f=t(67115);const n=f.default.nav` ${({theme:m})=>(0,f.css)` color: ${m.colors.blue}; &.breadcrumbs--white { color: ${m.colors.white}; .breadcrumbs__list-item > svg { fill: ${m.colors.white}; } } .breadcrumbs__list { display: flex; flex-wrap: wrap; padding: 0; margin: 1.6rem 0 0 0; list-style: none; color: inherit; } .breadcrumbs__list-item { display: flex; align-items: center; color: inherit; font-size: 1.4rem; line-height: 2em; & svg { display: none; fill: ${m.colors.blue}; } &:not(:last-of-type) svg { display: block; margin: 0 1rem 0 1.2rem; width: 9px; height: 9px; } } .breadcrumbs__link { font-size: inherit; color: inherit; text-transform: capitalize; } `}; `;var s=t(75468),r=t(77334);const p=({className:m,breadcrumbs:v,breadcrumbColor:E})=>!v||!Array.isArray(v)?null:e.createElement(n,{className:`breadcrumbs breadcrumbs--${E} ${m}`,"aria-label":"Breadcrumb"},e.createElement("ol",{className:"breadcrumbs__list"},v.map((d,o)=>v.length-1===o?e.createElement("li",{className:"breadcrumbs__list-item breadcrumbs__list-item--current-item",key:o},d.title):e.createElement("li",{className:"breadcrumbs__list-item",key:o},e.createElement(s.default,{className:"breadcrumbs__link",uri:r.A.resolveRelativeUrl(d.path)},d.title),e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#00325B",viewBox:"0 0 9 9",role:"img"},e.createElement("path",{d:"M3.32685 4.36316.0778214.977951c-.1037619-.103762-.1037619-.207522 0-.311284L.661479.0830094C.778211-.0207524.881971-.0272374.972763.0635542L4.94163 4.20752C4.98055 4.24643 5 4.29831 5 4.36316c0 .06486-.01945.11674-.05837.15565L.972763 8.66278c-.103762.10376-.207522.10376-.311284 0l-.5836576-.60312c-.1037619-.10376-.1037619-.20752 0-.31128L3.32685 4.36316Z"}))))))},13697:(j,x,t)=>{"use strict";t.d(x,{J:()=>o});var e=t(2803);const f={html:"."},a={quote:"text",source:"source"},n={content:"."};var s=t(30343);const r=804,l=(c,g)=>{const P=g/c;return c>r?P*r:P*c},p=(c,g)=>{const P=c/g;return c>r?l(c,g)*P:c},m={alt:["altText","caption","asset.title"],id:"asset.sys.id",text:"caption",caption:"caption",src:"asset.sys.uri",width:{$path:"asset.sys.properties",$formatting:({height:c,width:g})=>p(g,c)},height:{$path:"asset.sys.properties",$formatting:({height:c,width:g})=>l(g,c)}},v=({image:c})=>mapJson(c,m),E={icon:()=>"math",type:"type[0]",title:{$path:"year",$formatting:c=>"Year "+c},markup:c=>`

${c.type[0]}

`},d={title:"videoTitle",embedURL:"."},o={[e.J7.markup]:f,[e.J7.quote]:a,[e.J7.embed]:n,[e.J7.image]:m,[e.J7.courseIntro]:f,[e.J7.modulesByYear]:E,[e.J7.youTube]:d}},94676:(j,x,t)=>{"use strict";t.d(x,{A:()=>p});var e=t(48322),f=t(67115);const n=f.default.div` ${({theme:m})=>(0,f.css)` .youtube__video { margin: 30px auto; } .youtube__cookieless { margin: 30px auto; position: relative; width: 100%; height: 400px; img { width: 100%; height: 100%; object-fit: cover; } div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: rgba(0, 0, 0, 0.5); text-align: center; p { color: #fff; font-size: 20px; font-weight: bold; @media ${m.mq.medium} { font-size: 24px; } } a { color: #fff; font-size: 16px; text-decoration: underline; margin-top: 16px; } button { color: #fff; font-size: 16px; margin-top: 16px; border: none; background-color: #333; padding: 8px 16px; border-radius: 4px; cursor: pointer; } } } `} `;var s=t(68786);const r=(m,v)=>{const E=m.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?([a-zA-Z0-9_-]{11})/),d=E?E[1]:null,o=`https://www.youtube-nocookie.com/embed/${d}?autoplay=${v?1:0}`,c=`https://img.youtube.com/vi/${d}/hqdefault.jpg`;return{id:d,embedUrl:o,image480x360:c}},p=({url:m,autoplay:v=!1})=>{const E=r(m,v),[d,o]=(0,e.useState)(!1),c=()=>{const g=window.Cookiebot&&window.Cookiebot.consent.preferences;o(g)};return(0,e.useEffect)(()=>(c(),window.addEventListener("CookiebotOnAccept",c),()=>{window.removeEventListener&&window.removeEventListener("CookiebotOnAccept",c)}),[]),e.createElement(n,null,d?e.createElement("iframe",{src:E.embedUrl,width:"100%",height:"400",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;",allowFullScreen:!0}):e.createElement("div",{className:"youtube__cookieless"},e.createElement("img",{src:E.image480x360,alt:"YouTube video thumbnail"}),e.createElement("div",null,e.createElement("p",null,"Please enable cookies to view this video."),e.createElement("a",{href:E.embedUrl},"Click here to view the video"),e.createElement("button",{onClick:s.Uk},"Enable cookies"))))}},19997:(j,x,t)=>{"use strict";t.d(x,{A:()=>o});var e=t(48322),f=t(28346),a=t(68786),n=t(77334),s=t(67115);const l=s.default.div` ${({theme:c,colorTheme:g,hoverTheme:P,small:A})=>(0,s.css)` padding: 0 1rem; a { display: inline-flex; align-items: center; color: ${g.foreground} !important; background-color: ${g.background}; padding: ${A?"4px 8px":"10px 15px"}; // margin: 20px 0; text-decoration: none; border-radius: 15px; transition: color 0.3s ease, background-color 0.3s ease; &:hover { // background-color: ${g.background}c4; color: ${P.foreground} !important; background-color: ${P.background}; } } .text { margin-right: 8px; } .chevron { transition: transform 0.3s ease; } a:hover .chevron { transform: translateX(8px); } `} `,m=({className:c,cta:g})=>{const P=g.title,A=n.A.resolveRelativeUrl(g.linkExternal||g.linkEntry?.sys?.uri||g.linkDocument?.sys?.uri),X=(0,a.kt)(g.nestTheme?.colourTheme.theme),T=(0,a.kt)(g.nestTheme?.hoverTheme.theme);return e.createElement(l,{className:c,colorTheme:X,hoverTheme:T,small:g.small},e.createElement("a",{href:A},P,e.createElement(f.U7T,{className:"chevron"})))},E=s.default.div` ${c=>(0,s.css)` display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; margin: 3rem 0; `} `,o=({ctas:c})=>e.createElement(E,null,c?.map(g=>e.createElement(m,{key:g.title,cta:g})))},614:(j,x,t)=>{"use strict";t.d(x,{I:()=>T});var e=t(48322);const X={calendar:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon--calendar",viewBox:"0 0 14 16",fill:"#666",...L},e.createElement("path",{d:"M1.0714 14.0714h2.4107v-2.4107H1.0714v2.4107zm2.9465 0h2.6785v-2.4107H4.018v2.4107zM1.0714 11.125h2.4107V8.4464H1.0714v2.6786zm2.9465 0h2.6785V8.4464H4.018v2.6786zM1.0714 7.9107h2.4107V5.5H1.0714v2.4107zm6.1607 6.1607h2.6786v-2.4107H7.2321v2.4107zM4.018 7.9107h2.6785V5.5H4.018v2.4107zm6.4285 6.1607h2.4107v-2.4107h-2.4107v2.4107zM7.2321 11.125h2.6786V8.4464H7.2321v2.6786zM4.2857 3.8929V1.482c0-.0725-.0265-.1353-.0795-.1883-.053-.053-.1158-.0795-.1883-.0795H3.482c-.0725 0-.1353.0265-.1883.0795-.053.053-.0795.1158-.0795.1883v2.411c0 .0725.0265.1353.0795.1883.053.053.1158.0795.1883.0795h.5358c.0725 0 .1353-.0265.1883-.0795.053-.053.0795-.1158.0795-.1883zm6.1607 7.2321h2.4107V8.4464h-2.4107v2.6786zM7.2321 7.9107h2.6786V5.5H7.2321v2.4107zm3.2143 0h2.4107V5.5h-2.4107v2.4107zm.2679-4.0178V1.482c0-.0725-.0265-.1353-.0795-.1883-.053-.053-.1158-.0795-.1884-.0795h-.5357c-.0725 0-.1353.0265-.1883.0795-.053.053-.0795.1158-.0795.1883v2.411c0 .0725.0265.1353.0795.1883.053.053.1158.0795.1883.0795h.5357c.0726 0 .1354-.0265.1884-.0795.053-.053.0795-.1158.0795-.1883zm3.2143-.5358v10.7143c0 .2902-.106.5413-.3181.7534-.212.212-.4632.318-.7534.318H1.0714c-.2902 0-.5413-.106-.7533-.318C.106 14.6128 0 14.3616 0 14.0714V3.3571c0-.2901.106-.5413.318-.7533.2121-.212.4632-.318.7534-.318H2.143V1.482c0-.3683.131-.6835.3934-.9458.2623-.2623.5775-.3934.9458-.3934h.5358c.3683 0 .6835.131.9458.3934.2623.2623.3934.5775.3934.9458v.8036h3.2143V1.482c0-.3683.1312-.6835.3934-.9458.2623-.2623.5776-.3934.946-.3934h.5356c.3683 0 .6836.131.9459.3934.2623.2623.3934.5775.3934.9458v.8036h1.0714c.2902 0 .5413.106.7534.318.212.2121.318.4633.318.7534z"})),location:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#666",className:"icon icon--location",viewBox:"0 0 24 24",...L},e.createElement("path",{fillRule:"evenodd",d:"M4.5 8.25c0-2.48528 2.01472-4.5 4.5-4.5 2.4853 0 4.5 2.01472 4.5 4.5 0 2.4853-2.0147 4.5-4.5 4.5-2.48528 0-4.5-2.0147-4.5-4.5Zm4.5-3c-1.65686 0-3 1.34314-3 3 0 1.65688 1.34314 3 3 3 1.6569 0 3-1.34311 3-3 0-1.65686-1.3431-3-3-3Z",clipRule:"evenodd"}),e.createElement("path",{fillRule:"evenodd",d:"M9 1.5c-3.72793 0-6.75 3.02207-6.75 6.75 0 .70633.27296 1.7706.77181 3.0799.49018 1.2866 1.16717 2.7316 1.90712 4.1688 1.47996 2.8744 3.18445 5.6651 4.07102 7.0017h.0001c.88657-1.3366 2.59105-4.1273 4.07105-7.0017.7399-1.4372 1.4169-2.8822 1.9071-4.1688.4988-1.3093.7718-2.37357.7718-3.0799 0-3.72792-3.0221-6.75-6.75-6.75ZM.75 8.25C.75 3.69365 4.44365 0 9 0c4.5563 0 8.25 3.69364 8.25 8.25 0 .99717-.3613 2.2784-.8701 3.614-.5175 1.3582-1.2215 2.8575-1.9752 4.3213-1.5073 2.9275-3.2403 5.7658-4.1547 7.1443-.27799.419-.74721.6708-1.25.6708s-.97201-.2518-1.24995-.6708h-.00004c-.91444-1.3785-2.64742-4.2168-4.15469-7.1443-.75367-1.4638-1.45775-2.9631-1.97523-4.3213C1.11129 10.5284.75 9.24717.75 8.25Z",clipRule:"evenodd"})),facebook:L=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{d:"M14.6667 8.875H19V12.8125H14.6667V22H10.3333V12.8125H6V8.875H10.3333V7.22781C10.3333 5.66725 10.8736 3.69587 11.9482 2.61831C13.0229 1.53812 14.3648 1 15.9724 1H19V4.9375H15.9667C15.2473 4.9375 14.6667 5.46513 14.6667 6.11744V8.875Z",fill:"currentColor"})),twitter:L=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{d:"M24 4.38662C23.1014 4.79812 22.1482 5.06809 21.1722 5.18753C22.2002 4.5517 22.9695 3.55118 23.3368 2.37243C22.3704 2.9654 21.313 3.38295 20.2103 3.60698C19.7496 3.09905 19.1929 2.69434 18.5747 2.41792C17.9565 2.14149 17.29 1.99925 16.6164 2C13.8973 2 11.6925 4.27838 11.6925 7.08961C11.6925 7.48814 11.7362 7.87699 11.8203 8.24974C7.72801 8.03743 4.1001 6.011 1.67152 2.93139C1.23364 3.70816 1.00354 4.59135 1.00484 5.49037C1.0042 6.32833 1.20381 7.15349 1.58595 7.89251C1.96809 8.63153 2.52091 9.26154 3.1953 9.72656C2.41353 9.70089 1.64898 9.48264 0.965261 9.08996C0.964638 9.11122 0.964638 9.13216 0.964638 9.15407C0.964638 11.6193 2.66171 13.6763 4.91389 14.1445C4.18869 14.3474 3.42835 14.3771 2.69039 14.2314C3.31686 16.253 5.13518 17.725 7.28979 17.7663C5.54563 19.1811 3.39182 19.9485 1.17471 19.9451C0.77732 19.9451 0.385543 19.9212 0 19.8739C2.25134 21.3691 4.87154 22.1628 7.54755 22.16C16.6042 22.16 21.5568 14.4051 21.5568 7.68015C21.5568 7.45978 21.5518 7.23974 21.5424 7.02099C22.5069 6.30124 23.3392 5.40908 24 4.38662V4.38662Z",fill:"currentColor"})),linkedin:L=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.65029 3.25014C5.65029 4.49286 4.60929 5.50028 3.32515 5.50028C2.041 5.50028 1 4.49286 1 3.25014C1 2.00742 2.041 1 3.32515 1C4.60929 1 5.65029 2.00742 5.65029 3.25014ZM1.07501 22.0014H5.57529V7.00049H1.07501V22.0014ZM17.576 22.0014H22.0763V13.5304C22.0763 11.5038 21.6008 10.0607 20.6452 8.98512C19.6957 7.91105 18.4521 7.48352 16.9145 7.48352C14.8924 7.48352 13.4178 8.50059 12.4952 10.0007H12.4022L12.1277 7.00049H8.57548C8.63548 8.50059 8.57548 22.0014 8.57548 22.0014H13.0758V12.6078C13.4478 11.4423 14.1888 10.8602 15.3574 10.8602C16.832 10.8602 17.576 11.8998 17.576 13.9879V22.0014Z",fill:"currentColor"})),search:L=>e.createElement("svg",{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16.4531L12.8438 11.2969H12L11.6719 11.0625C12.7344 9.81249 13.2656 8.35938 13.2656 6.70312C13.2656 4.85937 12.6172 3.28126 11.3203 1.96875C10.0234 0.656243 8.45313 0 6.60938 0C4.79687 0 3.24219 0.656243 1.94531 1.96875C0.648431 3.28126 0 4.85937 0 6.70312C0 8.54688 0.648431 10.1172 1.94531 11.4141C3.24219 12.7109 4.81249 13.3594 6.65625 13.3594C8.31251 13.3594 9.76562 12.8281 11.0156 11.7656L11.3438 12.0469V12.8438L16.4531 18L18 16.4531ZM6.65625 11.2969C5.37499 11.2969 4.28125 10.8594 3.375 9.98438C2.5 9.07812 2.0625 7.98438 2.0625 6.70312C2.0625 5.42187 2.50781 4.32813 3.39844 3.42188C4.28907 2.51562 5.37499 2.0625 6.65625 2.0625C7.93751 2.0625 9.03125 2.51562 9.9375 3.42188C10.8438 4.32813 11.2969 5.42187 11.2969 6.70312C11.2969 7.98438 10.8438 9.07031 9.9375 9.96094C9.03125 10.8516 7.93751 11.2969 6.65625 11.2969Z",fill:"currentColor"})),chevronRight:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"butt",strokeLinejoin:"round",...L},e.createElement("path",{d:"M9 18l6-6-6-6"})),chevronLeft:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"butt",strokeLinejoin:"round",...L},e.createElement("path",{d:"M15 18l-6-6 6-6"})),chevronUp:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"butt",strokeLinejoin:"round",...L},e.createElement("path",{d:"M18 15l-6-6-6 6"})),chevronDown:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"butt",strokeLinejoin:"round",...L},e.createElement("path",{d:"M6 9l6 6 6-6"})),plus:L=>e.createElement("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{d:"M12 5V7H7V12H5V7H0V5H5V0H7V5H12Z",fill:"#00325B"})),minus:L=>e.createElement("svg",{viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{d:"M12 0V2H0V0H12Z",fill:"#00325B"})),whatsapp:L=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{fill:"currentColor",d:"M17.5 14.4c-.3-.1-1.8-.9-2-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.2-.2.2-.3.2-.6.1s-1.3-.5-2.4-1.5c-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.5c.1-.2.1-.3.2-.5s0-.4 0-.5c-.1-.2-.7-1.6-.9-2.2-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.5 0-.8.3-.2.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.1.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4-.1-.2-.3-.3-.6-.3m-5.4 7.4c-1.8 0-3.5-.5-5.1-1.4l-.4-.2-3.8 1 1-3.6-.2-.4c-1-1.6-1.5-3.4-1.5-5.3 0-5.5 4.5-9.9 10-9.9 2.7 0 5.1 1 7 2.9 1.9 1.9 2.9 4.4 2.9 7 0 5.4-4.5 9.9-9.9 9.9m8.4-18.4C18.2 1.2 15.2 0 12 0 5.5 0 .1 5.3.1 11.9c0 2.1.5 4.1 1.6 5.9L0 24l6.3-1.7c1.7.9 3.7 1.4 5.7 1.4 6.6 0 11.9-5.3 11.9-11.9.1-3.1-1.1-6.1-3.4-8.4"})),email:L=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...L},e.createElement("path",{fill:"currentColor",d:"M24 4.5v15c0 .9-.6 1.5-1.5 1.5H21V7.4l-9 6.5-9-6.5V21H1.5C.6 21 0 20.4 0 19.5v-15c0-.4.2-.8.4-1.1.3-.2.7-.4 1.1-.4H2l10 7.2L22 3h.5c.4 0 .8.2 1.1.4.2.3.4.7.4 1.1z"})),close:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23 23.5",...L},e.createElement("path",{fill:"currentColor",d:"m21.3 3.7-1.7-1.8-8.1 8.1-8.1-8.1-1.7 1.8 8 8.1-8 8 1.7 1.8 8.1-8.1 8.1 8.1 1.7-1.8-8-8z"})),share:L=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"icon icon--share",width:"21",height:"18",viewBox:"0 0 21 18",fill:"currentColor",...L},e.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7 10.1C13.2 10.1 12.7 10.4 12.4 10.8L9 9.3C9 9.2 9 9.2 9 9.1V9L12.3 7.5C12.6 7.9 13 8.2 13.6 8.2C14.5 8.2 15.2 7.5 15.2 6.6C15.2 5.7 14.5 5 13.6 5C12.7 5 12 5.7 12 6.6C12 6.7 12 6.8 12 6.9L8.9 8.4C8.6 7.9 8.1 7.6 7.5 7.6C6.7 7.6 6 8.3 6 9.2C6 10.1 6.7 10.7 7.5 10.7C8 10.7 8.5 10.4 8.8 10L12.1 11.4C12.1 11.5 12.1 11.5 12.1 11.6C12.1 12.5 12.8 13.2 13.7 13.2C14.6 13.2 15.3 12.5 15.3 11.6C15.2 10.7 14.5 10.1 13.7 10.1ZM13.7 5.7C14.2 5.7 14.6 6.1 14.6 6.6C14.6 7.1 14.2 7.5 13.7 7.5C13.2 7.5 12.8 7.1 12.8 6.6C12.8 6.1 13.2 5.7 13.7 5.7ZM7.5 10.1C7 10.1 6.6 9.7 6.6 9.2C6.6 8.7 7 8.3 7.5 8.3C8.1 8.2 8.5 8.6 8.5 9.1C8.4 9.7 8 10.1 7.5 10.1ZM13.7 12.5C13.2 12.5 12.8 12.1 12.8 11.6C12.8 11.1 13.2 10.7 13.7 10.7C14.2 10.7 14.6 11.1 14.6 11.6C14.6 12.1 14.2 12.5 13.7 12.5Z"}))},T=({className:L,icon:te,size:ae})=>{const ne=X[te];return e.createElement(ne,{className:`i ${L||""}`,"aria-hidden":!0,focusable:"false",width:ae||"1em",height:ae||"1em"})}},31840:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>z});var e=t(48322),f=t(14864);function a(S){return typeof window>"u"?Buffer.from(S).toString("base64"):window.btoa(S)}const n=["default","contensis"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/",loader:"contensis",domains:[]},r=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(S){const w=Date.now();return setTimeout(function(){S({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-w))}})},1)},l=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(S){return clearTimeout(S)},p=typeof IntersectionObserver<"u";function m({rootMargin:S,disabled:w}){const H=w||!p,W=(0,e.useRef)(),[D,R]=(0,e.useState)(!1),J=(0,e.useCallback)(V=>{W.current&&(W.current(),W.current=void 0),!(H||D)&&V&&V.tagName&&(W.current=v(V,Q=>Q&&R(Q),{rootMargin:S}))},[H,S,D]);return(0,e.useEffect)(()=>{if(!p&&!D){const V=r(()=>R(!0));return()=>l(V)}},[D]),[J,D]}function v(S,w,H){const{id:W,observer:D,elements:R}=d(H);return R.set(S,w),D.observe(S),function(){R.delete(S),D.unobserve(S),R.size===0&&(D.disconnect(),E.delete(W))}}const E=new Map;function d(S){const w=S.rootMargin||"";let H=E.get(w);if(H)return H;const W=new Map,D=new IntersectionObserver(R=>{R.forEach(J=>{const V=W.get(J.target),Q=J.isIntersecting||J.intersectionRatio>0;V&&Q&&V(Q)})},S);return E.set(w,H={id:w,observer:D,elements:W}),H}const o=new Set;typeof window>"u"&&(t.g.__NEXT_IMAGE_IMPORTED=!0);const c=["lazy","eager",void 0],g=new Map([["default",He],["imgix",Me],["cloudinary",Ae],["akamai",xe],["contensis",We],["custom",je]]),P=["fill","fixed","intrinsic","responsive",void 0];function A(S){return S.default!==void 0}function X(S){return S.src!==void 0}function T(S){return typeof S=="object"&&(A(S)||X(S))}const{deviceSizes:L,imageSizes:te,loader:ae,path:ne,domains:le}=s,de=[...L,...te];L.sort((S,w)=>S-w),de.sort((S,w)=>S-w);function Ee(S,w,H){if(H&&(w==="fill"||w==="responsive")){const D=/(^|\s)(1?\d?\d)vw/g,R=[];for(let J;J=D.exec(H);J)R.push(parseInt(J[2]));if(R.length){const J=Math.min(...R)*.01;return{widths:de.filter(V=>V>=L[0]*J),kind:"w"}}return{widths:de,kind:"w"}}return typeof S!="number"||w==="fill"||w==="responsive"?{widths:L,kind:"w"}:{widths:[...new Set([S,S*2].map(D=>de.find(R=>R>=D)||de[de.length-1]))],kind:"x"}}function oe({src:S,unoptimized:w,layout:H,width:W,quality:D,sizes:R,loader:J}){if(w)return{src:S,srcSet:void 0,sizes:void 0};const{widths:V,kind:Q}=Ee(W,H,R),he=V.length-1;return{sizes:!R&&Q==="w"?"100vw":R,srcSet:V.map((Se,ve)=>`${J({src:S,quality:D,width:Se})} ${Q==="w"?Se:ve+1}/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${Q}`).join(", "),src:J({src:S,quality:D,width:V[he]})}}function ee(S){if(typeof S=="number")return S;if(typeof S=="string")return parseInt(S,10)}function Ie(S){const w=g.get(ae);if(w)return w({root:ne,...S});throw new Error(`Unknown "loader" found in "next.config.js". Expected: ${n.join(", ")}. Received: ${ae}`)}function ye(S,w,H,W,D){if(!S)return;const R=()=>{S.src.startsWith("data:")||("decode"in S?S.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(W==="blur"&&(S.style.filter="none",S.style.backgroundSize="none",S.style.backgroundImage="none"),o.add(w),D){const{naturalWidth:V,naturalHeight:Q}=S;D({naturalWidth:V,naturalHeight:Q})}})};S.complete?R():S.onload=R}function z({src:S,sizes:w,unoptimized:H=!1,priority:W=!1,loading:D,lazyBoundary:R="200px",className:J,quality:V,width:Q,height:he,objectFit:Se,objectPosition:ve,onLoadingComplete:Ce,loader:Pe=Ie,placeholder:Oe="empty",blurDataURL:_e,...Ve}){if(!S)return null;const $e=Ve;let ce=w?"responsive":"intrinsic";"layout"in $e&&($e.layout&&(ce=$e.layout),delete $e.layout);let Le="";if(T(S)){const ue=A(S)?S.default:S;if(!ue.src)throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(ue)}`);if(_e=_e||ue.blurDataURL,Le=ue.src,(!ce||ce!=="fill")&&(he=he||ue.height,Q=Q||ue.width,!ue.height||!ue.width))throw new Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(ue)}`)}S=typeof S=="string"?S:Le;const De=ee(Q),be=ee(he),Ge=ee(V);let Be=!W&&(D==="lazy"||typeof D>"u");(S.startsWith("data:")||S.startsWith("blob:"))&&(H=!0,Be=!1),typeof window<"u"&&o.has(S)&&(Be=!1);const[Xe,Je]=m({rootMargin:R,disabled:!Be}),et=!Be||Je;let Fe,ze,Te;const Qe={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",objectFit:Se,objectPosition:ve},Ke=Oe==="blur"?{filter:"blur(20px)",backgroundSize:Se||"cover",backgroundImage:`url("${_e}")`,backgroundPosition:ve||"0% 0%"}:{};if(ce==="fill")Fe={display:"block",overflow:"hidden",position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",margin:0};else if(typeof De<"u"&&typeof be<"u"){const ue=be/De,k=isNaN(ue)?"100%":`${ue*100}%`;ce==="responsive"?(Fe={display:"block",overflow:"hidden",position:"relative",boxSizing:"border-box",margin:0},ze={display:"block",boxSizing:"border-box",paddingTop:k}):ce==="intrinsic"?(Fe={display:"inline-block",maxWidth:"100%",overflow:"hidden",position:"relative",boxSizing:"border-box",margin:0},ze={boxSizing:"border-box",display:"block",maxWidth:"100%"},Te=``):ce==="fixed"&&(Fe={overflow:"hidden",boxSizing:"border-box",display:"inline-block",position:"relative",width:De,height:be})}let ge={src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",srcSet:void 0,sizes:void 0};et&&(ge=oe({src:S,unoptimized:H,layout:ce,width:De,quality:Ge,sizes:w,loader:Pe}));const Ze=S;return e.createElement("div",{style:Fe},ze?e.createElement("div",{style:ze},Te?e.createElement("img",{style:{maxWidth:"100%",display:"block",margin:0,border:"none",padding:0},alt:"","aria-hidden":!0,src:`data:image/svg+xml;base64,${a(Te)}`}):null):null,e.createElement("img",{...$e,...ge,decoding:"async","data-nimg":ce,className:J,ref:ue=>{Xe(ue),ye(ue,Ze,ce,Oe,Ce)},style:{...Qe,...Ke}}),e.createElement("noscript",null,e.createElement("img",{...$e,...oe({src:S,unoptimized:H,layout:ce,width:De,quality:Ge,sizes:w,loader:Pe}),decoding:"async","data-nimg":ce,style:Qe,className:J,loading:D||"lazy"})),W?e.createElement(f.m,null,e.createElement("link",{key:"__nimg-"+ge.src+ge.srcSet+ge.sizes,rel:"preload",as:"image",href:ge.srcSet?void 0:ge.src,imagesrcset:ge.srcSet,imagesizes:ge.sizes})):null)}function pe(S){return S[0]==="/"?S.slice(1):S}function Me({root:S,src:w,width:H,quality:W}){const D=new URL(`${S}${pe(w)}`),R=D.searchParams;return R.set("auto",R.get("auto")||"format"),R.set("fit",R.get("fit")||"max"),R.set("w",R.get("w")||H.toString()),W&&R.set("q",W.toString()),D.href}function xe({root:S,src:w,width:H}){return`${S}${pe(w)}?imwidth=${H}`}function Ae({root:S,src:w,width:H,quality:W}){const R=["f_auto","c_limit","w_"+H,"q_"+(W||"auto")].join(",")+"/";return`${S}${R}${pe(w)}`}function We({root:S,src:w,width:H,quality:W,effect:D}){const R=["f=webp","w="+H];W&&R.push("q="+W),D&&R.push("e="+D);let J="";return R.length&&(J="?"+R.join("&")),`${S}${pe(w)}${J}`}function je({src:S}){throw new Error(`Image with src "${S}" is missing "loader" prop. Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}function He({root:S,src:w,width:H,quality:W}){return`${S}?url=${encodeURIComponent(w)}&w=${H}&q=${W||75}`}},75468:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>n});var e=t(48322),f=t(22459);const n=({className:s="",children:r,download:l,onClick:p,openInNewWindow:m,title:v,uri:E,id:d,isHardLink:o})=>{if(s+=" link",!E)return e.createElement("span",{className:s},r);const c=m?"_blank":"_self",P=(T=>{const L=/^https:\/\/www\.brunel\.ac\.uk\/%20/;return L.test(T)?T.replace(L,"").trim():T.trim()})(E),A=encodeURI(P),X=T=>{p&&p(T)};return c!=="_blank"&&A&&A.startsWith("/")&&!o?e.createElement(f.N_,{to:A,className:s,onClick:X,target:c,title:v,download:l,id:d},r):e.createElement("a",{href:`${o&&A.startsWith("/")?`${A}`:A}`,className:s,onClick:X,target:c,title:v,download:l,id:d},r)}},62223:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>l});var e=t(48322),f=t(67115);const n=f.default.div` ${({theme:p})=>(0,f.css)` padding-bottom: 1.6rem; ul { line-height: 2em; list-style: none; li { margin-left: 1em; &:before { content: '•'; color: rgb(163, 20, 106); font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; } } } p { font-family: 'Open Sans', Arial, sans-serif; font-size: 1.6rem; font-weight: 400; line-height: 2em; strong { font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; } } li div { margin-top: 10px; } .scroll-table { overflow-x: auto; } .scroll-table::-webkit-scrollbar { width: 12px; } .scroll-table::-webkit-scrollbar-track { background: #f1f1f1; } .scroll-table::-webkit-scrollbar-thumb { background: #00615e; border-radius: 6px; } .scroll-table::-webkit-scrollbar-thumb:hover { background: #555; } `} `,s=(p,m)=>{if(!m)return"";let v;return Array.isArray(m)?v=m.join(" "):v=m,v.replace(//g,"
")},l=({className:p,html:m})=>{if(!m)return null;const v=s("scroll-table",m);return e.createElement(n,{className:`markup flow ${p}`,dangerouslySetInnerHTML:{__html:v}})}},30685:(j,x,t)=>{"use strict";t.d(x,{A:()=>n});var e=t(48322),f=t(14864);const n=({title:s="91Ó°ÊÓUniversity of London",description:r,keywords:l,image:p})=>{const m=s==="91Ó°ÊÓUniversity of London"?s:`${s} | 91Ó°ÊÓUniversity of London`;return e.createElement(f.m,null,e.createElement("title",null,m),r&&e.createElement("meta",{name:"description",content:r}),l&&e.createElement("meta",{name:"keywords",content:l}),e.createElement("meta",{property:"og:title",content:m}),r&&e.createElement("meta",{property:"og:description",content:r}),e.createElement("meta",{property:"og:image",content:p}),e.createElement("meta",{property:"twitter:title",content:m}),r&&e.createElement("meta",{property:"twitter:description",content:r}),e.createElement("meta",{property:"twitter:image",content:p}))}},99850:(j,x,t)=>{"use strict";t.d(x,{A:()=>v});var e=t(48322),f=t(67115);const n=f.default.form` ${({theme:{colors:E}})=>(0,f.css)` position: relative; display: flex; width: 100%; & > input { padding: 5px 40px 5px 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); height: 100%; height: 50px; width: 100%; appearance: none; border-radius: 0; background: transparent; color: ${E.white}; &::placeholder { color: ${E.white}; font-size: 18px; line-height: 24px; } &:focus, &:focus-within, &:focus-visible { outline: 2px solid white; } } .searchbar__btn { position: absolute; padding: 0; border: none; right: 10px; bottom: 8px; background: transparent; & > svg { position: relative; color: white; } } .searchbar__btn:hover { cursor: pointer; } `} `;var s=t(614),r=t(97594),l=t(43266),p=t(28130);const v=({className:E,currentFacet:d,onSubmit:o,placeholder:c,searchTerm:g})=>{const P=(0,l.wA)(),[A,X]=(0,e.useState)(g||""),T=te=>{X(te.target.value)},L=te=>{te.preventDefault(),P(p.o1.setRoute(`/search${d?`/${d}`:""}?q=${A}`,A)),o&&o(te)};return(0,e.useEffect)(()=>{X(g||"")},[g]),e.createElement(n,{className:E,onSubmit:L,role:"search"},e.createElement(r.A,null,e.createElement("label",{htmlFor:"search"},"Search")),e.createElement("input",{type:"search",id:"search",className:"sSiteSearch",title:"Search",name:"Search",placeholder:c,onChange:T,value:A,autoFocus:!0}),e.createElement("button",{className:"searchbar__btn",type:"submit",name:"search","aria-label":"search",value:"Search"},e.createElement(s.I,{icon:"search",size:24})))}},37859:(j,x,t)=>{"use strict";t.d(x,{config:()=>d});var e=t(2803),f=t(99088);const a=PROJECT,n={[e._b.eventTag]:{title:"Browse by event tag",defaultValue:"Select event tag",contentTypeId:[e.Py.syncedTagExtranetEvents],fieldId:"extranetEventTags.sys.id",isSingleSelect:!0,items:[],renderable:[e.Jt.website,e.Jt.syncingContent].includes(a)},[e._b.subject]:{title:"Browse by subject",defaultValue:"Select subject",contentTypeId:[e.Py.syncedTagSubjects],fieldId:"subjectsTags.sys.id",isSingleSelect:!0,logicOperator:"and",items:[]},[e._b.researchEntity]:{title:"Browse by research entity",contentTypeId:e.Py.syncedTagResearchEntities,defaultValue:"Select research entity",fieldId:"researchEntityTags.sys.id",isSingleSelect:!0,logicOperator:"and",items:[]},[e._b.newsTag]:{title:"Browse by news tag",contentTypeId:e.Py.syncedTagExtranetNews,defaultValue:"Select news tags",fieldId:"extranetNewsTags.sys.id",isSingleSelect:!0,logicOperator:"and",items:[],renderable:[e.Jt.website,e.Jt.syncingContent].includes(a)},[e._b.staffTag]:{title:"Browse by staff news tag",defaultValue:"Select staff news tags",contentTypeId:[e.Py.syncedTagStaffIntranetNewsEvents],fieldId:"staffIntranetNewsEventTags.sys.id",isSingleSelect:!0,logicOperator:"and",items:[],renderable:[e.Jt.staffIntranet,e.Jt.syncingContent].includes(a)},[e._b.studentTag]:{title:"Browse by student news tag",defaultValue:"Select student news tags",contentTypeId:[e.Py.syncedTagStudentIntranetNewsEvents],fieldId:"studentIntranetNewsEventTags.sys.id",isSingleSelect:!0,logicOperator:"and",items:[],renderable:[e.Jt.intranet,e.Jt.syncingContent].includes(a)},newsMonth:{title:"Filter by month",defaultValue:"Select month",fieldId:"",isSingleSelect:!0,items:(0,f.S2)()},newsYear:{title:"Filter by year",defaultValue:"Select year",fieldId:"",isSingleSelect:!0,items:(0,f.b0)()},newsDate:{title:"n/a",renderable:!1,isSingleSelect:!0,fieldId:"publishDateOverride",fieldOperator:"between",items:[]},[e._b.main]:{title:"Main",renderable:!1,isSingleSelect:!0,fieldId:"main",logicOperator:"or",items:[]},[e._b.selectedDate]:{title:"",isSingleSelect:!0,fieldId:e.C8.eventDateStart,fieldOperator:"between",logicOperator:"and",items:[]},futureEventDates:{title:"",renderable:!1,isSingleSelect:!0,fieldId:e.C8.eventDateStart,fieldOperator:"greaterThanOrEqualTo",items:[]}},s={[e._b.eventTag]:n[e._b.eventTag],[e._b.main]:n[e._b.main],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.selectedDate]:n[e._b.selectedDate],[e._b.staffTag]:n[e._b.staffTag],[e._b.studentTag]:n[e._b.studentTag],[e._b.subject]:n[e._b.subject],futureEventDates:n.futureEventDates},r={[e._b.newsTag]:n[e._b.newsTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.staffTag]:n[e._b.staffTag],[e._b.studentTag]:n[e._b.studentTag],[e._b.subject]:n[e._b.subject],[e._b.newsYear]:n[e._b.newsYear],[e._b.newsMonth]:n[e._b.newsMonth],[e._b.newsDate]:n[e._b.newsDate],[e._b.main]:n[e._b.main]},l=[{title:"Executive Education",key:"0/2/24/28/2887"},{title:"Pre-sessional",key:"0/2/24/28/3109"},{title:"Foundation",key:"0/2/24/28/870"},{title:"Undergraduate",key:"0/2/24/28/43"},{title:"Pre-Masters",key:"0/2/24/28/871"},{title:"Postgraduate",key:"0/2/24/28/44"},{title:"PhD & Research",key:"0/2/24/28/872"},{title:"Professional development",key:"0/2/24/28/2951"}],p=[{title:"January",key:"0/2/24/919/1190"},{title:"April",key:"0/2/24/919/2653"},{title:"May",key:"0/2/24/919/1192"},{title:"August",key:"0/2/24/919/1193"},{title:"September",key:"0/2/24/919/920"},{title:"October",key:"0/2/24/919/1208"},{title:"November",key:"0/2/24/919/972"}],m=[{title:"Part-time",key:"0/2/24/834/836"},{title:"Full-time",key:"0/2/24/834/837"},{title:"Full-time and placement",key:"0/2/24/834/838"}],v=[{fieldId:"entryTitle",weight:e.NO.title},{fieldId:"entryDescription",weight:e.NO.description},{fieldId:"seo.metaDescription",weight:e.NO.description},{fieldId:"searchDataDescription",weight:e.NO.description},{fieldId:"fullDescription",weight:e.NO.description},{fieldId:"description",weight:e.NO.description},{fieldId:"summary",weight:e.NO.description},{fieldId:"collegeName",weight:e.NO.description},{fieldId:"departmentName",weight:e.NO.description},{fieldId:"introduction",weight:e.NO.description},{fieldId:"teachingActivity",weight:e.NO.description},{fieldId:"researchActivity",weight:e.NO.description},{fieldId:"keyword",weight:e.NO.keywords},{fieldId:"keywords",weight:e.NO.keywords},{fieldId:"searchDataKeywords",weight:e.NO.keywords},{fieldId:"seo.metaKeywords",weight:e.NO.keywords},{fieldId:"searchData.searchText",weight:e.NO.content},{fieldId:"url",weight:e.NO.title},{fieldId:"searchDataUrl",weight:e.NO.title},{fieldId:"searchData.url",weight:e.NO.title},{fieldId:"sys.uri",weight:e.NO.title}],E={subjectArea:{title:"Subject areas",fieldId:"subjects[].sys.id",contentTypeId:"subjectInformation",isSingleSelect:!1,items:[]},courseLevel:{title:"Course level",fieldId:["level","courseLevel"],isSingleSelect:!1,items:l},studyMode:{title:"Study mode",fieldId:["studyMode","studyModeFilters"],isSingleSelect:!1,items:m},startDate:{title:"Start date",fieldId:["startDate","courseStartDate"],isSingleSelect:!1,items:p},jointHonors:{title:"Joint honors",fieldId:["pageRenderControls.hasJointHonors","courseHasJointHonours"],isSingleSelect:!0,items:[{key:"true",title:"Joint honors"}]},distanceLearning:{title:"Online/Distance learning",fieldId:["pageRenderControls.hasDistanceLearning","courseHasDistanceLearning"],isSingleSelect:!0,items:[{key:"true",title:"Online/distance learning"}]},letter:{title:"Letter",fieldId:"entryTitle",fieldOperator:"startsWith",renderable:!1,isSingleSelect:!0,items:[]},clearing:{title:"Clearing",fieldId:"inClearing",renderable:!1,items:[{key:"true",title:"Clearing"}]}},d={tabs:[{id:0,label:""}],facets:{[e.tE.all]:{title:"All",queryParams:{contentTypeIds:[e.Py.course,e.Py.staffProfiles,e.Py.studentProfiles,e.Py.syncedEvent,e.Py.syncedNews,e.Py.hallsOfResidence,e.Py.innovation,e.Py.demandon,e.Py.researchrefSearch,e.Py.researchPhDProjects,e.Py.studentships,e.Py.researchBlog,e.Py.researchProject,e.Py.researchCollaborationCaseStudy,e.Py.researchGroups,e.Py.scholarships,e.Py.blog,e.Py.studentProjects,e.Py.studyAbroadModules,e.Py.volunteering],featuredResults:{contentTypeId:e.Py.searchPromo,count:1},fields:[...e.iU,...e.I4,...e.lD,...e.nH,...e.ve,...e.SK,...e.Jm],linkDepth:0,orderBy:[`-${e.C8.sys.published}`],pageSize:20,webpageTemplates:["!eventWebpage","!newsArticleWebpage","!researchrefWebpage","!courseDetailWebpage","!dhleWebpage"],weightedSearchFields:v},filters:{}},[e.tE.courses]:{title:"Courses",queryParams:{contentTypeIds:[e.Py.course],fields:e.iU,pageSize:20,weightedSearchFields:v},filters:E},[e.tE.newsAndEvents]:{title:"News & Events",queryParams:{contentTypeIds:[e.Py.news,e.Py.events],fields:[...e.DK],orderBy:[`-${e.C8.publishDateOverride}`],pageSize:20,weightedSearchFields:v},filters:{}},[e.tE.research]:{title:"Research",queryParams:{contentTypeIds:[e.Py.researchrefSearch,e.Py.researchProject,e.Py.researchPhDProjects,e.Py.studentships,e.Py.researchBlog,e.Py.researchGroups,e.Py.researchCollaborationCaseStudy],fields:[...e.Jm],orderBy:[`-${e.C8.publishDateOverride}`],pageSize:20,weightedSearchFields:v},filters:{}},[e.tE.staffProfiles]:{title:"Staff Profiles",queryParams:{contentTypeIds:[e.Py.staffProfiles],fields:e.ve,orderBy:[e.C8.entryTitle],pageSize:20,weightedSearchFields:v}},[e.tE.studentProfiles]:{title:"Student Profiles",queryParams:{contentTypeIds:[e.Py.studentProfiles],fields:e.SK,includeInSearch:["includeInSearch"],orderBy:["-originalPublishedDate"],pageSize:20,weightedSearchFields:v}}},listings:{[e.WY.events]:{title:"Events",customApi:{uri:"/events-api"},queryParams:{fields:[...e.Rw,...e.I4],linkDepth:1,orderBy:[e.C8.eventDateStart],pageSize:6},filters:s},[e.WY.eventsMain]:{title:"Events",queryParams:{contentTypeIds:[e.Py.syncedEvent,e.Py.syncedEventDate],fields:[...e.Rw,...e.I4],linkDepth:1,orderBy:[e.C8.eventDateStart],pageSize:6,customWhere:[{field:"main",equalTo:!0}]},filters:{...s,futureEventDates:{title:"",renderable:!1,isSingleSelect:!0,fieldId:e.C8.eventDateStart,fieldOperator:"greaterThanOrEqualTo",items:[]},selectedDate:{title:"",isSingleSelect:!0,fieldId:e.C8.eventDateStart,fieldOperator:"between",logicOperator:"and",items:[]}}},[e.WY.news]:{title:"News",queryParams:{contentTypeIds:[e.Py.syncedNews],fields:[...e.Rw,...e.lD],orderBy:[`-${e.C8.publishDateOverride}`],pageSize:6},filters:r},[e.WY.newsComments]:{title:"News comments",queryParams:{contentTypeIds:[e.Py.syncedNews],fields:[...e.Rw,...e.lD],orderBy:[`-${e.C8.publishDateOverride}`],pageSize:6,customWhere:[{field:"commentPiece",equalTo:!0}]},filters:r},[e.WY.courses]:{title:"Courses",queryParams:{contentTypeIds:[e.Py.course],fields:e.iU,pageSize:10,orderBy:["entryTitle"],customWhere:[{or:[{not:{field:"sys.contentTypeId",equalTo:e.Py.courseModule}},{field:"cpd",equalTo:!0}]}]},filters:E}},minilist:{[e.p1.events]:{title:"What's on",queryParams:{contentTypeIds:[e.Py.syncedEvent],fields:e.I4,orderBy:[`-${e.C8.eventDateStart}`],pageSize:6},filters:{[e._b.eventTag]:n[e._b.eventTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.subject]:n[e._b.subject]}},[e.p1.mainEvents]:{title:"What's on",queryParams:{contentTypeIds:[e.Py.syncedEvent],fields:e.I4,orderBy:[`-${e.C8.eventDateStart}`],pageSize:6,customWhere:[{field:"main",equalTo:!0}]},filters:{[e._b.eventTag]:n[e._b.eventTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.subject]:n[e._b.subject]}},[e.p1.mainNews]:{title:"News",queryParams:{contentTypeIds:[e.Py.syncedNews],fields:e.lD,orderBy:[`-${e.C8.publishDateOverride}`],pageSize:6,customWhere:[{field:"main",equalTo:!0}]},filters:{[e._b.newsTag]:n[e._b.newsTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.subject]:n[e._b.subject]}},[e.p1.news]:{title:"News",queryParams:{contentTypeIds:[e.Py.syncedNews],fields:e.lD,orderBy:[`-${e.C8.publishDateOverride}`],pageSize:6},filters:{[e._b.newsTag]:n[e._b.newsTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.subject]:n[e._b.subject]}},[e.p1.newsComments]:{title:"Latest comment",queryParams:{contentTypeIds:[e.Py.syncedNews],fields:[...e.Rw,...e.lD],orderBy:[`-${e.C8.publishDateOverride}`],pageSize:3,customWhere:[{field:"commentPiece",equalTo:!0}]},filters:{[e._b.newsTag]:n[e._b.newsTag],[e._b.researchEntity]:n[e._b.researchEntity],[e._b.subject]:n[e._b.subject]}},EventCalendarMinilist:{customApi:{uri:"/events-api"},queryParams:{fields:[e.C8.eventDateStart],orderBy:[e.C8.eventDateStart],pageSize:300},filters:s}}}},93105:(j,x,t)=>{"use strict";t.d(x,{Ay:()=>ye});var e=t(2803),f=t(30343),a=t(77334);const n={title:"entryTitle",format:()=>"inline",cardType:()=>e.yc.generic?"Information":null,contentTypeId:"sys.contentTypeId",id:"sys.id",description:["seo.metaDescription","entryDescription","summary","description"],image:"thumbnail.asset.sys.uri",path:{$path:["sys.uri","searchData.url","searchDataUrl","externalLinkfull","url","link"],$formatting:z=>z&&z.startsWith("/")?`..${z}`:z}},s={...n,cardType:()=>e.yc.featured,image:{$path:"thumbnailImage.asset.sys.uri",$formatting:z=>`https://${PUBLIC_URI}${z}`},path:["uri","url"]},r={...n,cardType:()=>e.yc.course,image:["banner.image.asset.sys.uri"],level:"level[0].name",path:"sys.uri",courseCode:"ucasPGCode",studyModes:{$path:"courseStudyMode",$formatting:{duration:"duration",mode:"mode"}},placement:{$path:"studyMode",$formatting:{key:"key"}},joint:"pageRenderControls.hasJointHonors",distance:"pageRenderControls.hasDistanceLearning",mPhilOption:"pageRenderControls.phdHasMPhilOption",inClearing:"inClearing"},l={...n,title:"name",cardType:()=>e.yc.course,level:()=>"CPD",path:"sys.uri",courseCode:"code",studyModes:({studyMode:z})=>z?.map(pe=>({mode:pe.name}))},p={...n,cardType:()=>e.yc.event,path:{$path:"searchData.url",$formatting:z=>`https://brunel.ac.uk${z}`},image:{$path:["listingImage.asset.sys.uri","thumbnail.asset.sys.uri"]},featuredAcademic:{$path:"featuredAcademic",$formatting:{name:"entryTitle",id:"sys.id"}},date:"date",eventDate:"eventDate.startDateTime",eventDateEnd:"eventDate.endDateTime",eventDateIds:["eventDates[*].sys.id","sys.id"],main:"main"},m={...n,cardType:()=>e.yc.news,path:{$path:["directLink","searchData.url"],$formatting:z=>`https://brunel.ac.uk${z}`},featuredAcademic:{$path:"featuredAcademic",$formatting:{name:"entryTitle",id:"sys.id"}},date:e.C8.publishDateOverride,image:{$path:["listingImage.asset.sys.uri","thumbnail.asset.sys.uri"]},altText:["listingImage.altText","listingImage.asset.sys.entryTitle"],isComment:"commentPiece",main:"main"},v={...n,cardType:()=>e.yc.research,path:{$path:"searchData.url",$formatting:z=>`${z}`},description:"description",level:"searchData.type"},E=z=>z?z+", ":"",d={...n,cardType:()=>e.yc.staffProfile,image:["imageLink","image.asset.sys.uri"],name:"entryTitle",expertise:({department:z,institute:pe,jobTitle:Me,college:xe})=>`${E(Me)} ${E(xe)} ${E(pe)} ${E(z)}`.replace(/,\s*$/,"."),college:"college",department:"department",email:"email",phoneNumber:"phoneNumber",institute:"institute",jobTitle:"jobTitle",path:"profileURL"},o={...n,date:()=>null,title:({brspFirstName:z,brspSurname:pe,brspCurrentCompany:Me,entryTitle:xe})=>`${xe} - ${z} ${pe}${Me?` (${Me})`:""}`,description:"searchDataDescription",image:"brspProfileImage.asset.sys.uri"},c={...n,cardType:()=>"Hall of Residence",path:({sys:z})=>a.A.resolveRelativeUrl(`/life/accommodation/residences/residence?id=${z.id}`),date:()=>null,image:""},g={...n,cardType:()=>"Innovation",path:({sys:z})=>a.A.resolveRelativeUrl(`/greentrail/Innovation-Page?entryid=${z.id}`),date:()=>null,image:""},P={...n,cardType:()=>"On Demand",path:()=>a.A.resolveRelativeUrl("/study/on-demand"),date:()=>null,image:""},A={...n,cardType:()=>"PhD Topic",path:({sys:z})=>a.A.resolveRelativeUrl(`/research/Research-degrees/PhD-Topics/Topics?id=${z.id}`),date:()=>null,image:""},X={...n,cardType:()=>"Studentship",path:({sys:z})=>a.A.resolveRelativeUrl(`/research/Research-degrees/PhD-Studentships/Studentship?id=${z.id}`),date:()=>null,image:""},T={...n,cardType:()=>"Research Blog",path:({sys:z})=>a.A.resolveRelativeUrl(`/research/blog/Post?id=${z.id}`),date:()=>null,image:""},L={...n,cardType:()=>"Research Project",path:({sys:z})=>a.A.resolveRelativeUrl(z.uri),date:()=>null,image:""},te={...n,cardType:()=>"Collaboration Case Study",path:({sys:z})=>a.A.resolveRelativeUrl(`/business/Case-studies/Case?entryId=${z.id}`),date:()=>null,image:""},ae={...n,cardType:()=>"Scholarship",path:({sys:z})=>a.A.resolveRelativeUrl(`/scholarships/page?id=${z.id}`),date:()=>null,image:""},ne={...n,cardType:()=>"Research Entity",path:"link",classicNodeId:"nodeiD",date:()=>null,image:""},le={...n,cardType:()=>"Student blog",path:({sys:z})=>a.A.resolveRelativeUrl(`/student-blog/Post?id=${z.id}`),date:()=>null,description:"shortDescriptionMetadata",image:""},de={...n,cardType:()=>"Student Project",path:({sys:z})=>a.A.resolveRelativeUrl(`/student-projects/project?id=${z.id}`),date:()=>null,image:""},Ee={...n,cardType:()=>"Study Abroad Module",path:({sys:z})=>a.A.resolveRelativeUrl("/international/exchanges-and-study-abroad-programmes/study-at-brunel/Module-List"),date:()=>null,image:""},oe={...n,cardType:()=>"Volunteering",path:({sys:z})=>a.A.resolveRelativeUrl(`/pdc/volunteers/opportunities/opportunity?entryid=${z.id}`),date:()=>null,image:""},ee={default:n,[e.Py.searchPromo]:s,[e.Py.course]:r,[e.Py.courseModule]:l,[e.Py.events]:n,[e.Py.news]:n,[e.Py.researchrefSearch]:v,[e.Py.staffProfiles]:d,[e.Py.studentProfiles]:o,[e.Py.events]:p,[e.Py.news]:m,[e.Py.syncedEvent]:p,[e.Py.syncedEventDate]:{...p,title:()=>"Fetching event..."},[e.Py.syncedNews]:m,[e.Py.hallsOfResidence]:c,[e.Py.innovation]:g,[e.Py.demandon]:P,[e.Py.researchPhDProjects]:A,[e.Py.studentships]:X,[e.Py.researchBlog]:T,[e.Py.researchProject]:L,[e.Py.researchCollaborationCaseStudy]:te,[e.Py.researchGroups]:ne,[e.Py.scholarships]:ae,[e.Py.blog]:le,[e.Py.studentProjects]:de,[e.Py.studyAbroadModules]:Ee,[e.Py.volunteering]:oe},ye=z=>(0,f.Nn)(z,ee)},80383:(j,x,t)=>{"use strict";t.d(x,{A:()=>S});var e=t(93105),f=t(72347),a=t(2803),n=t(2839),s=t(30343);const{getCurrent:r,getListing:l,getResults:p}=f.Tp.selectListing,{getSearchContext:m,getPaging:v,getSearchTerm:E,getFacet:d,getFilters:o,getIsLoading:c,getPageIsLoading:g,getTotalCount:P}=f.Tp,A=w=>ae(w)>0,X=w=>g(w,r(w),m(w))||c(w,m(w),r(w)),T=w=>l(w)?.title,L=w=>{const H=o(w,r(w),m(w));return Object.entries(H).filter(([W,D])=>D.items?.some(R=>R.isSelected)&&D.title&&D.renderable!==!1).map(([,W])=>"{filter.title}").join(" and ")},te=w=>{const H=o(w,r(w),m(w));return Object.entries(H).filter(([W,D])=>D.items?.some(R=>R.isSelected)&&D.title&&D.renderable!==!1).map(([,W])=>W.items?.filter(D=>D.isSelected&&D.title).map((D,R,J)=>{const V=`${D.title}`;let Q="";return J.length>1&&(RP(w,r(w),m(w)),ne={currentListing:w=>r(w),currentPageCount:w=>p(w).length,hasResults:A,isLoading:X,listingResultsMessage:w=>{if(!X(w)){const H=r(w),W=[a.WY.news,a.WY.newsComments].includes(H)?"article":H===a.WY.events?"event":"result",{selectedDate:D}=o(w,r(w),"listings"),R=D?.items?.find(he=>he.isSelected)?.key.split("--")[0],J=D&&D.items?.findIndex(he=>he.isSelected)!==-1?` on your chosen date of ${(0,n.Eb)(R)}`:"",V=te(w).replace(/Browse by/g,""),Q=ae(w);return Q>0?`/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${Q} ${W}${Q>1?"s":""} found${V.length>0?` when filtered by ${V}`:""}${J}`:`No ${W}s found${V.length>0?` when filtered by ${V}`:""}${J}, please make a different selection.`}return""},listingTitle:T,courseListingResultsText:w=>{if(r(w)==="courseListing"){const W=l(w).pagingInfo.totalCount,D=E(w);let R=te(w);return R=R.replace(", Executive Education","").replace(" or Executive Education",""),{currentCount:W,activeTerm:D,activeFilters:R}}},noResultsText:w=>ae(w)===0?"No results were found":"",searchResultsText:w=>{const H=v(w),W=d(w),D=W?.title,{pageIndex:R,pageSize:J,totalCount:V}=H,Q=R*J+1,he=E(w);let Se=Q+J-1;Se>V&&(Se=V);const ve=L(w),Ce=`in ${D}`,Pe=ve?`${he?"also":"when"} filtered by ${ve}`:"",Oe=`${he?`for the search term ${he}`:""}`,Ve=V===0?"No results found":`Showing /_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${Q} - ${Se} of ${(ce=>{if(!ce)return null;if(ce<1e3)return ce;const Le=ce.toString();return Le.slice(0,1)+","+Le.slice(1)})(V)} results`,$e=W.queryDuration?`in ${Number(W.queryDuration).toFixed()}ms`:"";return`${Ve} ${Ce} ${Oe} ${Pe} ${$e}`},showClearFilters:w=>!A(w)&&L(w)},de=w=>(0,s.Ay)(w,ne);var Ee=t(10338),oe=t.n(Ee),ee=t(37277),Ie=t(83692),ye=t(68786),z=t(94865);const{getCurrentFacet:pe,getSelectedFilters:Me,getSearchTerm:xe,getSearchContext:Ae}=f.Tp,We={path:({state:w,facet:H})=>{const W=Ae(w)!=="listings"&&(H||pe(w)),D=(0,z.fn)(w)||"/search";return W?`${D}/${W}`:D},search:({state:w,facet:H,orderBy:W,term:D,pageIndex:R,pageSize:J})=>{const V=Ae(w),Q=Object.fromEntries(Object.entries(Me(w,H,V)).map(([Pe,Oe])=>[Pe,Oe.join(",")]));delete Q.futureEventDates,delete Q.newsDate,typeof Q.selectedDate=="string"&&(Q.selectedDate=Q.selectedDate.substring(0,10));const he=!D&&(0,z.AE)(w),Se=(0,ye.ru)(ee.parse(he));Se.orderBy=W;const ve=xe(w),Ce=(0,ye.ru)(oe()(Se,Q));return(ve||typeof D<"u")&&(w.search.currentListing===a.WY.courses?Ce.courseSearch=ve:Ce.q=ve),R&&(Ce.pageIndex=R+1),R===0&&(Ce.pageIndex=void 0),J&&(Ce.pageSize=J),ee.stringify(Ce)},hash:({state:w})=>(w.routing.location.hash||"#").replace("#","")},He=w=>(0,Ie.mapJson)(w,We),S={results:e.Ay,resultsInfo:de,navigate:He}},99088:(j,x,t)=>{"use strict";t.d(x,{S2:()=>a,_J:()=>e,b0:()=>n});const e=(s,r)=>{if(!s&&!r)return null;const l=new Date,p=r?parseInt(r):l.getUTCFullYear(),m=s?parseInt(s):void 0,v=p,E=m?m<10?`0${m}`:`${m}`:"01",d=m&&m<12?p:p+1;let o=m&&m<12?m+1:1;return o=o<10?`0${o}`:o,{from:`${v}-${E}-01T00:00:00`,to:`${d}-${o}-01T00:00:00`}},f=[{title:"January",key:"1"},{title:"February",key:"2"},{title:"March",key:"3"},{title:"April",key:"4"},{title:"May",key:"5"},{title:"June",key:"6"},{title:"July",key:"7"},{title:"August",key:"8"},{title:"September",key:"9"},{title:"October",key:"10"},{title:"November",key:"11"},{title:"December",key:"12"}],a=()=>{let s=[];for(let r=0;r<12;r++)s.push({title:f[r].title,key:`${r+1}`});return s},n=()=>{const s=new Date().getUTCFullYear(),r=2017;let l=[];for(let m=r;m<=s;m++)l.push({title:`${m}`,key:`${m}`});const p=(m,v)=>v.key-m.key;return l.sort(p)}},89148:(j,x,t)=>{"use strict";t.d(x,{A:()=>l});var e=t(48322),f=t(67115),a=t(89703);const s=(0,f.default)(a.Vq)` ${()=>(0,f.css)` position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; display: block; padding: 1.2rem 1.6rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 1px; :focus { position: static; width: auto; height: auto; margin: inherit; overflow: visible; clip: auto; clip-path: none; white-space: inherit; color: white; background-color: black; } `} `,l=({skipPath:p="#main"})=>e.createElement(s,{className:"skip-to-main",to:p},"Skip to main content")},13201:(j,x,t)=>{"use strict";t.d(x,{A:()=>n});const e=s=>document.activeElement===s,f={LEFT:37,UP:38,RIGHT:39,DOWN:40,ENTER:13},a=(s,r,l,p,m)=>{switch(f.BACK=p?f.UP:f.LEFT,f.FORWARD=p?f.DOWN:f.RIGHT,s.keyCode){case f.ENTER:{const v=m?`tabpanel-${m}-${r}`:"tabpanel-"+r;try{const E=document.getElementById(v);E&&E.children[0].children[0].focus()}catch(E){console.error(E)}break}case f.BACK:{let v=r-1;v===-1&&(v=l-1);const E=`${m}-${v}`,d=document.getElementById(E);d?.focus(),e(d)||a(s,v,l,p,m);break}case f.FORWARD:{let v=r+1;v===l&&(v=0);const E=`${m}-${v}`,d=document.getElementById(E);d?.focus(),e(d)||a(s,v,l,p,m);break}default:break}},n=a},97594:(j,x,t)=>{"use strict";t.d(x,{A:()=>r});var e=t(48322),f=t(67115);const n=f.default.span` ${()=>(0,f.css)` display: block; border: 0; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden; position: absolute; `}; `,r=({text:l,children:p})=>e.createElement(n,null,l,p)},6002:(j,x,t)=>{"use strict";t.d(x,{Cz:()=>a,Uv:()=>n,X6:()=>f,mC:()=>r,zG:()=>s});function e(l,p){const m=l.name.toUpperCase(),v=p.name.toUpperCase();let E=0;return m>v?E=1:ml.countries?.countries,a=l=>[...l?.countries?.countries??[]].sort(e),n=l=>l.countries?.selectedCountry,s=l=>l.countries?.countryRequirements,r=l=>l.routing?.entry?.entryRequirements?.internationalEntryRequirement?.entryTitle},17633:(j,x,t)=>{"use strict";t.d(x,{HI:()=>n,Qc:()=>e,YO:()=>a});const e="GET_COUNTRIES",f="SET_COUNTRIES",a="SET_COUNTRY",n="SET_COUNTRY_REQUIREMENTS"},86772:(j,x,t)=>{"use strict";t.d(x,{F:()=>e,s:()=>f});const e=a=>a.scholarships?.isReady,f=a=>a.scholarships?.scholarships},25737:(j,x,t)=>{"use strict";t.d(x,{K:()=>e,t:()=>f});const e=a=>a.studentTestimonials?.isReady,f=a=>a.studentTestimonials?.testimonials},13668:(j,x,t)=>{"use strict";t.d(x,{c:()=>e,h:()=>f});const e=a=>a.cpdFullCourses?.isReady,f=a=>a.cpdFullCourses?.cpdFullCourses},84296:(j,x,t)=>{"use strict";t.d(x,{F:()=>f,W:()=>e});const e=a=>a.cpdModules?.isReady,f=a=>a.cpdModules?.cpdModules},33821:(j,x,t)=>{"use strict";t.d(x,{Fx:()=>a,Ub:()=>m,jI:()=>v,l2:()=>E,lY:()=>r,t7:()=>s});var e=t(78672),f=t(77334);const a=d=>d.defaultMessages.isReady,n=d=>d.defaultMessages.messages,s=(d,o)=>d.defaultMessages.genericCourseMessages[o],r=d=>d.defaultMessages.coursePills,l=d=>d.defaultMessages.sideBarLinks,p=d=>d.defaultMessages.additionalSidebarLinks,m=d=>d.defaultMessages.glanceBarMessages,v=d=>d.defaultMessages.importantMessages,E=(0,e.Mz)([l,p],(d,o)=>{const c=[...d,...o.map(T=>({...T,style:"secondary"}))].filter(T=>T.link),g=T=>T&&(T.includes("applicationLink")||T.includes("clearingLinks")||T.includes("pgLinks")||T.includes("agentLinks")),P=T=>T==="subjectArea",A=c.filter(T=>g(T.type)).map(T=>({title:T.title,url:f.A.resolveRelativeUrl(T.link),styleType:T.style?.toLowerCase()})),X=c.filter(T=>!g(T.type)&&!P(T.type)).map(T=>({title:T.title,url:f.A.resolveRelativeUrl(T.link),styleType:T.style?.toLowerCase()}));return[X.length>0?X:null,A.length>0?A:null]})},50559:(j,x,t)=>{"use strict";t.d(x,{S:()=>f,x:()=>e});const e=a=>a.phdResearchGroups?.isReady,f=a=>a.phdResearchGroups.phdResearchGroups},9952:(j,x,t)=>{"use strict";t.d(x,{J:()=>f,g:()=>e});const e=a=>a.phdStudentships?.isReady,f=a=>a.phdStudentships.phdStudentships},27594:(j,x,t)=>{"use strict";t.d(x,{c:()=>e,x:()=>f});const e=a=>a.phdTopics?.isReady,f=a=>a.phdTopics.phdTopics},94865:(j,x,t)=>{"use strict";t.d(x,{AE:()=>c,CL:()=>T,Gf:()=>oe,Lg:()=>Me,fn:()=>d,j7:()=>z});var e=t(78672),f=t(52546);const{hasNavigationTree:a,selectNavigationRoot:n,selectNavigationDepends:s}=f.Lg.selectors,{selectBreadcrumb:r,selectCurrentAncestors:l,selectCurrentChildren:p,selectCurrentHash:m,selectCurrentHostname:v,selectCurrentNode:E,selectCurrentPath:d,selectCurrentProject:o,selectCurrentSearch:c,selectCurrentSiblings:g,selectMappedEntry:P,selectIsNotFound:A,selectQueryStringAsObject:X,selectRouteEntry:T,selectRouteEntryContentTypeId:L,selectRouteEntryEntryId:te,selectRouteEntryID:ae,selectRouteEntryLanguage:ne,selectRouteEntrySlug:le,selectRouteErrorMessage:de,selectRouteIsError:Ee,selectRouteLoading:oe,selectRouteStatusCode:ee}=f.DT.selectors,{selectCommitRef:Ie,selectBuildNumber:ye,selectVersionStatus:z}=f.rE.selectors,pe=xe=>xe?.search,Me=(0,e.Mz)([l,E],(xe,Ae)=>(Ae=Ae?[Ae]:[],[...xe,...Ae].map(je=>({title:je.displayName,path:je.path}))))},83651:(j,x,t)=>{"use strict";t.d(x,{NS:()=>n,Qs:()=>a,cG:()=>f,lo:()=>s});const e=r=>r.siteConfig.entryCopy,f=r=>r.siteConfig.isReady,a=r=>r.siteConfig.config?.mainNavigation,n=r=>r.siteConfig.config?.topLinks,s=r=>r.siteConfig.config?.quickLinks},95987:(j,x,t)=>{"use strict";t.d(x,{Rh:()=>m,f$:()=>E});var e=t(48322),f=t(14864),a=t(43266),n=t(67115),s=t(94865),r=t(16731);const l=n.default.div` position: relative; height: 100%; .global-loading { position: absolute; display: block; z-index: 999; top: 0; } .global-loading h3 { display: none; } .global-loading svg { height: 40px; width: 40px; } .global-loading svg rect { fill: #fff; } `,p={display:"flex",height:"100vh",alignItems:"center",justifyContent:"center",flexDirection:"column"},m=({className:d,container:o=p})=>{const c="#002646";return e.createElement("div",{className:d,style:o},e.createElement(f.m,null,e.createElement("title",null,"Loading")),e.createElement("svg",{width:"38",height:"38",style:{width:"40px",height:"40px"},viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,"Loading"),e.createElement("defs",null,e.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},e.createElement("stop",{stopColor:c,stopOpacity:"0",offset:"0%"}),e.createElement("stop",{stopColor:c,stopOpacity:".631",offset:"63.146%"}),e.createElement("stop",{stopColor:c,offset:"100%"}))),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(1 1)"},e.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18",id:"Oval-2",stroke:"url(#a)",strokeWidth:"2"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})),e.createElement("circle",{fill:c,cx:"36",cy:"18",r:"1"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}))))))},v=({className:d,children:o,fallback:c})=>{const g=(0,a.d4)(s.Gf),[P,A]=(0,e.useState)(g);return(0,e.useEffect)(()=>{A(g)},[g]),e.createElement(l,null,o,(P||c)&&e.createElement(m,{className:"global-loading",container:{},spinner:{}}))},E=({})=>e.createElement(v,{fallback:!0},e.createElement(r.A,null,e.createElement(e.Fragment,null)))},2803:(j,x,t)=>{"use strict";t.d(x,{C6:()=>v,C8:()=>a,DK:()=>m,I4:()=>p,J7:()=>de,Jm:()=>c,Jt:()=>g,NO:()=>ne,Py:()=>A,Rw:()=>n,SK:()=>o,WY:()=>X,_b:()=>T,iU:()=>r,lD:()=>l,nH:()=>E,p1:()=>L,tE:()=>te,ve:()=>d,yc:()=>Ee});const e={entry:"entry",webpage:"webpage"},a={author:"author",categoryId:"category.sys.id",commentPiece:"commentPiece",contentTypeId:"sys.contentTypeId",directLink:"directLink",entryDescription:"entryDescription",entryTitle:"entryTitle",eventContactDetails:"eventContactDetails",eventDate:"eventDate",eventDateEnd:"eventDate.endDateTime",eventDates:"eventDates",eventDateStart:"eventDate.startDateTime",eventTags:"tagExtranetEvents",featuredAcademics:"featuredAcademics",heroBanner:"heroBanner",externalLink:"externalLink",image:"image",keywords:"keywords",listingImage:"listingImage",location:"location",main:"main",mediaRelationsContact:"mediaRelationsContact",metaContent:"metaContent",newsTags:"extranetNewsTags",originalPaperSource:"originalPaperSource",publishDateOverride:"publishDateOverride",publishedDate:"publishedDate",relatedEvents:"relatedEvents",relatedLinks:"relatedLinks",researchEntityTags:"researchEntityTags",subjectsTags:"subjectsTags",summary:"summary",sys:{contentTypeId:"sys.contentTypeId",dataFormat:"sys.dataFormat",filename:"sys.properties.filename",id:"sys.id",includeInSearch:"sys.metadata.includeInSearch",published:"sys.version.published",slug:"sys.slug",uri:"sys.uri",versionStatus:"sys.versionStatus"},targetProjects:"targetProjects",thumbnail:"thumbnail",title:"title",wildcard:"*"},n=[a.entryTitle,a.entryDescription,a.sys.contentTypeId,a.sys.slug,a.sys.uri,a.sys.published,"searchData","url","seo.metaDescription"],s=[...n,a.title,a.image,a.categoryId,a.summary,a.heroBanner,a.listingImage,a.sys.published,a.publishDateOverride,a.author,a.relatedLinks,a.originalPaperSource,a.featuredAcademics,a.subjectsTags,a.researchEntityTags,a.mediaRelationsContact,a.targetProjects,a.thumbnail],r=[...n,"code","name","asset","courseLevel","description","shortDescriptionMetadata","level","searchData","seo","studyMode","thumbnail","uri","ucasPGCode","courseStudyMode","placement","pageRenderControls","subjectAreas","inClearing"],l=[...s,a.newsTags,a.commentPiece,a.main,a.directLink],p=[...s,a.relatedEvents,a.location,a.eventDate,a.eventDateStart,a.eventDates,a.directLink,a.eventContactDetails,a.eventTags,a.main,"sys.metadata.originalPublishDate"],m=[...l,...p,"description","date"],v=[],E=["thumbnailImage"],d=[...n,"college","department","email","imageLink","institute","jobTitle","phoneNumber","profileURL"],o=[...n,"brspFirstName","brspSurname","brspCurrentCompany","brspProfileTitle","brspProfileImage","searchDataDescription","searchDataUrl"],c=[...n,"description","externalLinkfull","nodeiD","link"],g={website:"website",intranet:"intranet",staffIntranet:"staffIntranet",syncingContent:"syncingContent"},P={published:"published",latest:"latest"},A={config:"siteSettings",homepage:"homepage",course:"course",courseModule:"courseModule",events:"events",landing:"landing",news:"news",searchPromo:"searchPromo",staffProfiles:"staffProfiles",studentProfiles:"studentProfile",subjectInformation:"subjectInformation",syncedStaffProfiles:"syncedStaffProfiles",syncedEvent:"syncedEvent",syncedEventDate:"syncedEventDate",syncedNews:"syncedNews",syncedTagResearchEntities:"syncedTagResearchEntities",syncedTagStaffIntranetNewsEvents:"syncedTagStaffIntranetNewsEvents",syncedTagStudentIntranetNewsEvents:"syncedTagStudentIntranetNewsEvents",syncedTagExtranetEvents:"syncedTagExtranetEvents",syncedTagExtranetNews:"syncedTagExtranetNews",syncedTagSubjects:"syncedTagSubjects",hallsOfResidence:"hallsOfResidence",innovation:"innovation",demandon:"demandon",researchPhDProjects:"researchPhDProjects",studentships:"studentships",researchrefSearch:"researchrefSearch",researchBlog:"researchBlog",researchGroups:"researchGroups",researchProject:"researchProject",researchCollaborationCaseStudy:"researchCollaborationCaseStudy",scholarships:"scholarships",blog:"blog",studentProjects:"studentProjects",studyAbroadModules:"studyAbroadModules",volunteering:"volunteering",test:"test"},X={events:"eventsListing",eventsMain:"eventsListingMain",news:"newsListing",newsComments:"newsComments",courses:"courseListing"},T={newsDate:"newsDate",newsMonth:"newsMonth",newsYear:"newsYear",newsTag:"newsTag",subject:"subject",researchEntity:"researchEntity",eventTag:"eventTag",selectedDate:"selectedDate",staffTag:"staffTag",studentTag:"studentTag",main:"main"},L={events:"Events",mainEvents:"Main events",news:"News",mainNews:"Main news",newsComments:"newsComments"},te={all:"all",courses:"courses",newsAndEvents:"news-events",research:"research",staffProfiles:"staff",studentProfiles:"students"},ae={category:"category"},ne={title:10,description:5,keywords:5,content:1},le=[a.sys.contentTypeId,a.sys.slug,a.sys.uri,a.entryTitle],de={markup:"textArea",image:"image",quote:"quote",embed:"embed",youTube:"youTube",courseIntro:"contentIntro",modulesByYear:"modulesByYear"},Ee={generic:"generic",featured:"featured",course:"course",event:"event",news:"news",research:"research",staffProfile:"staffProfile"}},85898:(j,x,t)=>{"use strict";t.d(x,{wn:()=>v});var e=t(18737);const f=(E,d)=>{const o={...DELIVERY_API_CONFIG};return E&&(o.projectId=E),typeof window<"u"&&(o.rootUrl="",o.responseHandler={404:()=>null}),o},a=()=>{if(typeof window<"u"){const E=window.location.hostname;return n(E)}return null},n=E=>E.indexOf("localhost")>-1?"latest":E.endsWith("contensis.cloud")?E.indexOf("preview.")>-1?"latest":"published":E.endsWith("cloud.contensis.com")&&E.indexOf("preview-")>-1?"latest":"published";class s{search(d,o,c,g){return e.Kj.create(f(c,g)).entries.search(d,o||1)}getClient(d="published",o,c){const g=f(o,c);return g.versionStatus=d,e.Kj.create(g)}getEntry(d,o=1,c="published",g,P){const A=f(g,P);return A.versionStatus=c,e.Kj.create(A).entries.get({id:d,linkDepth:o})}}const r=new s;class l{key;value;next;prev;constructor(d,o){this.key=d,this.value=o,this.next=null,this.prev=null}}class p{map;head;tail;limit;size;constructor(d=100){this.map={},this.head={},this.tail={},this.limit=d||100,this.size=0}get(d){if(this.map[d]){const o=this.map[d].value,c=new l(d,o);return this.remove(d),this.setHead(c),o}}set(d,o){const c=new l(d,o);this.map[d]?this.remove(d):this.size>=this.limit&&this.tail!==null&&(delete this.map[this.tail.key],this.size--,this.tail=this.tail.prev,this.tail.next=null),this.setHead(c)}setHead(d){d.next=this.head,d.prev=null,this.head&&(this.head.prev=d),this.head=d,this.tail||(this.tail=d),this.size++,this.map[d.key]=d}remove(d){const o=this.map[d];o.prev?o.prev.next=o.next:this.head=o.next,o.next?o.next.prev=o.prev:this.tail=o.prev,delete this.map[d],this.size--}}class m{cache=new p;taxonomyLookup={};getTaxonomyNode(d){const o=e.Kj.create(f());return this.request(`[TAXONOMY NODE] ${d}`,()=>o.taxonomy.resolveChildren(d).then(c=>this.extendTaxonomyNode(c)))}extendTaxonomyNode(d){let o=this.getTaxonomyId(d);return this.taxonomyLookup[o]=d.key,{...d,id:o,children:d.children?d.children.map(c=>this.extendTaxonomyNode(c)):null}}getTaxonomyId(d){if(d.key){let o=d.key.split("/");return o[o.length-1]}return""}search(d,o,c="",g){const P=e.Kj.create(f(c,g));return this.request(c+JSON.stringify(d)+o.toString(),()=>P.entries.search(d,o))}searchUsingPost(d,o=0,c="",g){const P=e.Kj.create(f(c,g));return this.request(c+JSON.stringify(d)+o.toString(),()=>P.entries.searchUsingPost(d,o))}get(d,o,c,g,P){const A=e.Kj.create(f(g,P));return A.clientConfig.versionStatus=c,this.request(d,()=>A.entries.get({id:d,linkDepth:o}))}getContentType(d,o,c){const g=e.Kj.create(f(o,c));return this.request(`[CONTENT TYPE] ${d} ${o}`,()=>g.contentTypes.get(d))}request(d,o){if(!this.cache.get(d)||typeof window>"u"){const c=o();this.cache.set(d,c),c.catch(()=>{this.cache.remove(d)})}return this.cache.get(d)}}const v=new m},2839:(j,x,t)=>{"use strict";t.d(x,{Eb:()=>n});const e=()=>{const p=new Date,m=p.getMonth(),v=p.getFullYear();return new Date(v,m,1).toISOString().slice(0,10)},f=p=>{let m="";return p.length&&(m=new Date(p[0].startDateTime).toLocaleDateString("en-GB"),p.length>1&&(m=`${m} - ${new Date(p[p.length-1].startDateTime).toLocaleDateString("en-GB")}`)),m},a="en-GB",n=(p,{locale:m=a,...v}={local:a})=>new Date(p).toLocaleDateString(m,{year:"numeric",month:"short",day:"numeric",...v}),s=(p,m={})=>{const E=new Intl.DateTimeFormat(m.locale||a,m).formatToParts(new Date(p)),d=Object.keys(m);return E.filter(({type:o})=>d.indexOf(o)>=0).reduce((o,{type:c,value:g})=>{const P={[c]:g};return{...o,...P}},{})},r=p=>{const m={hour:"numeric",minute:"2-digit",day:"numeric",month:"short",year:"numeric",dayPeriod:"short",hourCycle:"h12"},{hour:v,minute:E,dayPeriod:d,day:o,month:c,year:g}=s(p,m);return`${v}:${E} ${d?.toUpperCase()} - ${o} ${c} ${g}`},l=p=>{const m={hour:"numeric",minute:"2-digit",dayPeriod:"short",hourCycle:"h12"},{hour:v,minute:E,dayPeriod:d}=s(p,m);return`${v}:${E} ${d?.toUpperCase()}`}},68786:(j,x,t)=>{"use strict";t.d(x,{EY:()=>E,F$:()=>p,JR:()=>n,N8:()=>r,Ri:()=>l,Uk:()=>m,XI:()=>f,kt:()=>d,ru:()=>s,zb:()=>v});var e=t(82472);function f(o,c={}){return{type:o,...c}}function a(o){let c=1;return o[0]==="-"&&(c=-1,o=o.substr(1)),function(g,P){return(g[o]P[o]?1:0)*c}}const n=o=>{const c=["January","February","March","April","May","June","July","August","September","October","November","December"];if(o&&o.length>0){const g=[...o];return g?.length>1?g.sort((P,A)=>c.indexOf(P.name)-c.indexOf(A.name)):g}},s=o=>(Object.entries(o).forEach(([c,g])=>g&&typeof g=="object"&&s(g)||(typeof g>"u"||g===null||g==="")&&delete o[c]),o),r=o=>typeof o!="number"?NaN:"\xA3"+o.toFixed(0).replace(/(\d)(?=(\d{3})+$)/g,"$1,"),l=(o,c)=>{const g=new Map;return o.forEach(P=>{const A=c(P);g.has(A)?g.get(A).push(P):g.set(A,[P])}),g},p=(o,c,g,P,A)=>{const X="\xA31,385";let T=[];if(c.feeType.includes("Distance Learning"))g&&c.feeType==="Distance Learning UK / EU"?T.push(`${r(g)} part-time`):P&&c.feeType==="Distance Learning International"&&T.push(`${r(P)} part-time`);else{const L=/(^part-time$)|(^part-time\sthin-sandwich$)/,te=/(^Postgraduate$)|(^PhD & Research$)/,ae=/MMath|MEng|MSci/;if(o.level.filter(ne=>ne.name==="Undergraduate").length>0){let ne=Math.floor(c.fee*.75/5)*5;g&&c.feeType==="UG UK / EU"?T.push(`${r(g)} part-time`):P&&c.feeType==="UG International"?T.push(`${r(P)} part-time`):o.studyMode.some(le=>L.test(le.mode))&&T.push(r(ne)+" part-time"),o.placement&&o.placement.name!=="none"&&o.hidePlacementFee!==!0&&T.push(`${X} placement year`),o.title.match(ae)&&T.push("\xA33,000 fee reduction in final year"),A&&T.push(r(A)+" distance learning")}else if(o.level.some(ne=>te.test(ne.name))){let ne=Math.floor(c.fee*.5/5)*5;g&&c.feeType==="PG UK / EU"?T.push(`${r(g)} part-time`):P&&c.feeType==="PG International"?T.push(`${r(P)} part-time`):o.studyMode.some(le=>L.test(le.mode))&&T.push(r(ne)+" part-time"),o.placement&&o.placement.name!=="none"&&o.hidePlacementFee!==!0&&T.push(`${X} placement year`),c.feeType.includes("International")&&(o.title.includes("MMath")&&T.push("\xA314,875 final year"),o.title.includes("MEng")&&T.push("\xA316,855 final year"),o.title.includes("MSci")&&T.push("\xA314,875 final year")),A&&T.push(r(A)+" distance learning")}}return T},m=()=>{window.Cookiebot.renew()},v=o=>{switch(o){case"full-time":return"full-time";case"part-time":return"part-time";case"full-time distance learning":return"full-time (distance learning)";case"part-time distance learning":return"part-time (distance learning)";case"full-time thick-sandwich":return"full-time with placement";case"full-time thin-sandwich":return"full-time with placement";case"full-time compressed-sandwich":return"full-time with placement";case"part-time thick-sandwich":return"part-time with placement";case"part-time thin-sandwich":return"part-time with placement"}},E=o=>{switch(o){case"Second Lower":return"2:2";case"Second Upper":return"2:1";case"First":return"1st";case"Exception":return"Exception"}return o},d=o=>{let c="#000",g="#fff";if(o){const[P,A]=o.split(" ");c=e.A[P],g=e.A[A]}return{foreground:c,background:g}}},77334:(j,x,t)=>{"use strict";t.d(x,{A:()=>e});class e{static currencyFormat(n){return typeof n!="number"?NaN:"\xA3"+n.toFixed(0).replace(/(\d)(?=(\d{3})+$)/g,"$1,")}static camelize(n){return n.replace(/(?:^\w|[A-Z]|\b\w)/g,(s,r)=>r==0?s.toLowerCase():s.toUpperCase()).replace(/\s+/g,"")}static titleCase(n){return n[0].toUpperCase()+n.slice(1).toLowerCase()}static ltrim(n){return n.replace(/^\s+/,"")}static trim(n,s){return s==="]"&&(s="\\]"),s==="\\"&&(s="\\\\"),n.replace(new RegExp("^["+s+"]+|["+s+"]+$","g"),"")}static resolveRelativeUrl(n){return!n||n.startsWith("http")?n:"/"+this.trim(n,"/")}static ArrayToSentence(n,s="and"){return n.length>1?n.slice(0,-1).join(", ")+" "+s+" "+n.slice(-1):n.toString()}static ArrayFieldToSentence=(n,s,r="and")=>{if(n&&s){const l=n.map(p=>p[s]);return l&&l.length===1?l:l.length>1?l.slice(0,-1).join(", ")+" "+r+" "+l.slice(-1):""}else return""};static getUnique(n){return typeof n[0]=="string"?[...new Set(n)]:typeof n[0]=="object"?[...new Set(n)]:null}static GetComposerContent(n,s){return n?n.filter(l=>l.type===s).map(l=>l.value):null}static GetTabMessages(n,s,r,l){const p=[];return n.forEach(m=>{m.messageContent.forEach(v=>{if(v.type=="tabContent"&&v.value.tab==r&&v.value.positionAbove===l){const E={conditions:m.renderConditions,content:v.value.message};p.push(E)}})}),this.GetMessagesMatchingCourse(p,s)}static GetPillItems(n,s){const r=[];return n.forEach(l=>{l.messageContent.forEach(p=>{if(p.type=="pill"){const m={conditions:l.renderConditions,content:{title:p.value.title,link:p.value.link}};r.push(m)}})}),this.GetMessagesMatchingCourse(r,s)}static GetPillItemsImutable(n,s){const r=[];return n.forEach(l=>{l.messageContent.forEach(p=>{if(p.type=="pill"){const m={conditions:l.renderConditions,content:{title:p.value.title,link:p.value.link}};r.push(m)}})}),this.GetMessagesMatchingCourseImmutable(r,s)}static GetMessagesMatchingCourseImmutable(n,s){if(n.length>0){const r=[];return n.forEach(l=>{this.MatchesConditions(l,s)&&r.push(l.content)}),r}return[]}static GetSidebarLinks(n,s){const r=[];return n.forEach(l=>{l.messageContent.forEach(p=>{if(p.type=="sidebarLink"){const m={conditions:l.renderConditions,priority:l.orderingPriority,content:{title:p.value.title,link:decodeURIComponent(p.value.link),style:p.value.style,forwardQueryString:p.value.forwardQueryString}};r.push(m)}})}),r.sort((l,p)=>l.priority-p.priority),this.GetMessagesMatchingCourse(r,s)}static GetGlanceBarMessages(n,s){const r=[];return n.forEach(l=>{l.messageContent.forEach(p=>{if(p.type=="glanceBar"){const m={conditions:l.renderConditions,content:{title:p.value.title,text:p.value.text,icon:p.value.icon,itemToOverride:p.value.itemToOverride}};r.push(m)}})}),this.GetMessagesMatchingCourse(r,s)}static GetImportantMessages(n,s){const r=[];return n.forEach(l=>{l.messageContent.forEach(p=>{if(p.type=="important"){const m={conditions:l.renderConditions,content:p.value.message};r.push(m)}})}),this.GetMessagesMatchingCourse(r,s)}static GetAdditionalLinks(n){const s=[];return n.applicationLinks&&n.applicationLinks.map(r=>{switch(r.type){case"clearingLinks":case"pgLinks":s.push({type:r.type,title:r.value.title,link:r.value.linkURL});break;case"agentLinks":{(r.value.internationalFullTime||r.value.internationalPartTime||r.value.internationalCompressedSandwich||r.value.internationalThinSandwich||r.value.internationalThickSandwich)&&s.push({type:r.type,title:r.value.title,link:r.value.linkURL});break}case"partTimeLinks":s.push({type:r.type,title:"Apply part-time",link:r.value});break}}),n.shortCourseApplicationLinks&&n.shortCourseApplicationLinks.map(r=>{s.push({type:"applicationLink",title:r.title,link:r.link})}),n.professionalCourseApplicationLinks&&n.professionalCourseApplicationLinks.map(r=>{s.push({type:"applicationLink",title:r.title,link:r.link})}),n.shortCourseBrochure&&s.push({type:"brochure",title:"Brochure (PDF)",link:n.shortCourseBrochure.sys.uri}),n.subjectAreas&&n.subjectAreas.map(r=>{s.push({type:"subjectArea",title:"Subject area: "+r.name,link:"/"+r.name.replace(/ /g,"-").replace(/,/g,"").toLowerCase()})}),s}static GetMessagesMatchingCourse(n,s){if(n.length>0){const r=[];return n.forEach(l=>{this.MatchesConditions(l,s)&&r.push(l.content)}),r}return[]}static MatchesConditions(n,s){let r=[],l=[];return n.conditions.forEach(m=>{let v=m.conditions.map(o=>{switch(o.type){case"level":return(o.value?.filter(g=>g.key===s.level[0].key)||[]).length>0;case"college":return o.value?.some(g=>s.college.key===g.key);case"department":return o.value?.some(g=>s.department.key===g.key);case"subjectAreas":return o.value?.some(g=>s.subjectAreas.some(P=>P.key===g.key));case"placement":{let c=!1;return m.includeExclude==!0?c=s.placement?o.value.key===s.placement.key:!1:c=s.placement?o.value.key!==s.placement.key:!1,c}case"inClearing":return m.includeExclude==!0?o.value==s.inClearing:o.value!=s.inClearing;case"hasMPhilOptionPhD":return m.includeExclude==!0?o.value==s.pageRenderControls.phdHasMPhilOption:o.value!=s.pageRenderControls.phdHasMPhilOption;case"hasAnnualFee":return m.includeExclude==!0?o.value==s.pageRenderControls.hasAnnualFee:o.value!=s.pageRenderControls.hasAnnualFee;case"preMastersCourse":return o.value==s.pageRenderControls.preMastersCourse;case"feeNotesBelowIsNull":return s.tuitionFees?o.value!=s.tuitionFees.some(c=>c.feeNote!==null):!1;case"hasDistanceLearning":return m.includeExclude==!0?o.value==s.pageRenderControls.hasDistanceLearning:o.value!=s.pageRenderControls.hasDistanceLearning;case"directEntry":return m.includeExclude==!0?o.value==s.pageRenderControls.directEntry:o.value!=s.pageRenderControls.directEntry;case"pathwayCollege":return o.value!=null?m.includeExclude==!0?o.value==s.pageRenderControls.pathwayCollege:o.value!=s.pageRenderControls.pathwayCollege:!1;case"courses":return o.value!=null?m.includeExclude==!0?o.value.sys.id===s.sys.id:o.value.sys.id!==s.sys.id:!1;default:return!1}});r=r.concat(v);const E=r.filter(o=>o==!1),d=r.filter(o=>o==!0);m.conditionalOperator===!0&&(E.length>0?l.push(!1):l.push(!0)),m.conditionalOperator===!1&&(d.length>0?l.push(!0):l.push(!1))}),!(l.filter(m=>m==!1).length>0)}static keyPress(n,s){var r=n.keyCode||n.which}static YearTitleChecker(n){return n===100?"Distance Learning":"Year "+n}static SortGroupedByType(n){let s=[];return n.Compulsory&&s.push({title:"Compulsory",modules:n.Compulsory.map(r=>({modules:r.module,studyMode:r.studyMode}))}),n.Optional&&s.push({title:"Optional",modules:n.Optional.map(r=>({modules:r.module,studyMode:r.studyMode}))}),n.Typical&&s.push({title:"Typical",modules:n.Typical.map(r=>({modules:r.module,studyMode:r.studyMode}))}),s}static GroupedModules(n){const s=new Array;return e.GroupBy(n,l=>l.year).forEach(l=>{let p=e.Group(l,"type");s.push({year:e.YearTitleChecker(l[0].year),GroupedByType:e.SortGroupedByType(p)})}),s}static Group(n,s){return n&&n.length>0&&n.reduce(function(r,l){return r[l[s]]||(r[l[s]]=[]),r[l[s]].push(l),r},{})}static GroupBy(n,s){const r=new Map;return n.forEach(l=>{const p=s(l);r.has(p)?r.get(p).push(l):r.set(p,[l])}),r}static ReturnScript(){if(typeof window>"u")return null;let n=document.createElement("script");n.innerHTML="(function (d) {'use strict';var widgetScript = d.createElement('script'); widgetScript.id = 'unistats-widget-script';widgetScript.src = '//discoveruni.gov.uk/widget/embed-script';var scriptTags = d.getElementsByTagName('script')[0];if (d.getElementById('unistats-widget-script')) { return; }scriptTags.parentNode.insertBefore(widgetScript, scriptTags);}(document));",document.body.appendChild(n)}static ReturnPlacementMessage(n,s,r){let l;const p=[];return r!=null&&(n.filter(m=>m.name==="Undergraduate").length>0&&(l=r.placementPageUg),n.filter(m=>m.name==="Postgraduate").length>0&&(l=r.placementPagePg),p.push("

This course has a "+s.name+' option. Find out more about work placements available.

')),p}static GetStudyModeType(n){if(n.includes("compressed"))return"compressed-sandwich";if(n.includes("thick"))return"thick-sandwich";if(n.includes("thin"))return"thin-sandwich";if(n.includes("full"))return"full-time";if(n.includes("part"))return"part-time"}static CalculateCourseFees(n,s,r,l,p){const m="\xA31,385";let v=[];if(s.feeType.includes("Distance Learning"))r&&s.feeType==="Distance Learning UK / EU"?v.push(`${e.currencyFormat(r)} part-time`):l&&s.feeType==="Distance Learning International"&&v.push(`${e.currencyFormat(l)} part-time`);else{const E=/(^part-time$)|(^part-time\sthin-sandwich$)/,d=/(^Postgraduate$)|(^PhD & Research$)/,o=/MMath|MEng|MSci/;if(n.level.filter(c=>c.name==="Undergraduate").length>0){let c=Math.floor(s.fee*.75/5)*5;r&&s.feeType==="UG UK / EU"?v.push(`${e.currencyFormat(r)} part-time`):l&&s.feeType==="UG International"?v.push(`${e.currencyFormat(l)} part-time`):n.courseStudyMode.some(g=>E.test(g.mode))&&v.push(e.currencyFormat(c)+" part-time"),n.placement&&n.placement.name!=="none"&&n.pageRenderControls.hidePlacementFee!==!0&&v.push(`${m} placement year`),n.title.match(o)&&v.push("\xA33,000 fee reduction in final year"),p&&v.push(e.currencyFormat(p)+" distance learning")}else if(n.level.some(c=>d.test(c.name))){let c=Math.floor(s.fee*.5/5)*5;r&&s.feeType==="PG UK / EU"?v.push(`${e.currencyFormat(r)} part-time`):l&&s.feeType==="PG International"?v.push(`${e.currencyFormat(l)} part-time`):n.courseStudyMode.some(g=>E.test(g.mode))&&v.push(e.currencyFormat(c)+" part-time"),n.placement&&n.placement.name!=="none"&&n.pageRenderControls.hidePlacementFee!==!0&&v.push(`${m} placement year`),s.feeType.includes("International")&&(n.title.includes("MMath")&&v.push("\xA314,875 final year"),n.title.includes("MEng")&&v.push("\xA316,855 final year"),n.title.includes("MSci")&&v.push("\xA314,875 final year")),p&&v.push(e.currencyFormat(p)+" distance learning")}}return v}static FilterCountryRequirementMessages(n,s){const r=[];return s?n.size===0?[]:(n.map(l=>{l.get("entryEquivalents").map(p=>{p.getIn(["requirement","title"],null)===s&&r.push({title:l.get("title"),equivalent:p.get("equivalent").replace("contact Admissions",'contact Admissions')})})}),r):[]}static GetUrlFromNodeID=async n=>{const s=`/z-data/GetUrlFromNodeID?nodeid=${n}`;try{return fetch(s).then(r=>r.text()).then(r=>{if(r.startsWith("http"))return r})}catch{return null}}}function f(a,n={}){return{type:a,...n}}},30343:(j,x,t)=>{"use strict";t.d(x,{Ay:()=>f,FL:()=>e.mapComposer,Nn:()=>e.mapEntries});var e=t(83692);const f=e.mapJson},73456:(j,x,t)=>{"use strict";t.d(x,{A:()=>e});function e(){return"_"+Math.random().toString(36).substr(2,9)+"_"}},84802:(j,x,t)=>{"use strict";t.d(x,{A:()=>a});var e=t(48322);const a=n=>{const s=typeof window=="object",r=parseInt(n,10),l=()=>s?window.innerWidth:void 0,p=l(),m=p&&p>=r,[v,E]=(0,e.useState)(m);return(0,e.useEffect)(()=>{if(!s)return;const d=()=>{const o=l(),c=o&&o>=r;E(c)};return window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}},[s,r]),v}},99532:(j,x,t)=>{"use strict";t.d(x,{Dk:()=>f,Wv:()=>a,ab:()=>n});var e=t(87168);const f=(0,e.Ay)(()=>t.e(905).then(t.bind(t,71321))),a={ZenInfo:(0,e.Ay)(()=>Promise.resolve().then(t.bind(t,83692)),{resolveComponent:s=>s.VersionInfo})},n=(0,e.Ay)(()=>t.e(190).then(t.bind(t,41222)))},16731:(j,x,t)=>{"use strict";t.d(x,{A:()=>ue});var e=t(48322),f=t(43266),a=t(94865),n=t(614),s=t(13201),r=t(75468),l=t(67115);const m=l.default.nav` ${({theme:k})=>{const N={background:k.colors.CoreBrunelBlue,linkColor:k.colors.CoreWardWhite,megaBg:k.colors.CoreWardWhite,megaLinkColor:k.colors.CorePeatPrussian,subHeadBorder:k.colors.SecondaryBowringBlack,activeBorder:k.colors.SecondaryTysonTeal};return(0,l.css)` width: 100%; padding-right: 16px; background-color: ${N.background}; /* Main first level navigation */ /*-----------------------------*/ ul.menu { width: 100%; display: flex; justify-content: flex-end; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 1.6rem; } .menu__item { border: 0; margin: 0; background: none; text-decoration: none; position: relative; color: ${N.linkColor}; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; padding: 0 5px; border-bottom: 5px solid transparent; min-height: 90px; transition: all 0.3s ease-in-out; &.active--item { border-bottom: 5px solid ${N.activeBorder}; } } /* Mega Menu */ /*-----------*/ .mega-menu__container { padding: 0 6px; } .mega-menu { position: absolute; left: 0; top: 100%; background: ${N.megaBg}; width: 100%; height: auto; z-index: 650; padding: 24px; box-shadow: 0 9px 14px -1px rgba(0, 0, 0, 0.1); } .mega-menu__content { width: 100%; max-width: 1440px; margin: auto; display: flex; justify-content: space-between; } .mega-menu__links { display: grid; gap: 0 3.2rem; grid-template-columns: 1fr 1fr 1fr 1fr; width: 100%; /* When only one column, display it's in columns */ &.contains-single-column { display: block; } & > .menu-item-cta { position: absolute; font-weight: bold; //border-bottom: 1px solid #000; font-size: 1.8rem; padding-bottom: 1rem; a { color: #00325b; text-decoration: none; display: inline-flex; align-items: center; } } } .mega-menu__column { line-height: 1.5; margin-bottom: 4rem; /* When only one column, display it's in columns */ &.single-column { max-width: 100%; flex-basis: 100%; padding-right: 0; .column__links { display: grid; gap: 0 3.2rem; /* grid-template-columns: 1fr 1fr 1fr 1fr; */ grid-template-rows: repeat(12, min-content); grid-auto-columns: 1fr 1fr 1fr 1fr; grid-auto-flow: column; } } &.long-column { grid-area: 1 / 1 / 2 / 3; .column__links { display: grid; gap: 0 3.2rem; grid-template-rows: repeat(12, min-content); grid-auto-columns: 1fr 1fr 1fr 1fr; grid-auto-flow: column; } } a { margin-bottom: 12px; display: block; color: ${N.megaLinkColor}; text-decoration: none; font-weight: bold; &:hover { text-decoration: underline; } } .menu-item-sub-heading { margin-bottom: 12px; display: block; color: ${N.megaLinkColor}; text-decoration: none; font-weight: bold; margin-top: 4rem; margin-bottom: 2.4rem; font-weight: bold; border-bottom: 1px solid ${N.subHeadBorder}; font-size: 1.8rem; padding-bottom: 1rem; display: inline-flex; align-items: center; :hover { text-decoration: none; } } } `}}; `,E=({navigationItems:k,className:N})=>{const[Z,u]=(0,e.useState)(!1),[h,$]=(0,e.useState)(),I=(0,f.d4)(a.fn);(0,e.useEffect)(()=>{u(!1)},[I]);const F=(_,K)=>{_===K&&!Z&&u(!0),_===K&&Z?u(!1):($(_),u(!0))};return(0,e.useEffect)(()=>{Z?(document.body.classList.add("megaMenuIs--open"),document.body.classList.remove("megaMenuIs--closed")):(document.body.classList.add("megaMenuIs--closed"),document.body.classList.remove("megaMenuIs--open"))},[Z]),k?e.createElement(m,{className:N?`${N} menu__items`:"menu__items","aria-orientation":"horizontal",role:"tablist"},e.createElement("ul",{className:"menu"},k.map((_,K)=>{const Y=K===h&&Z;return e.createElement("li",{className:"mega-menu__container",key:`mega-menu-container-${K}`},_.uri?e.createElement(r.default,{isHardLink:!0,uri:_.uri,className:`menu__item ${Y?"active--item":""}`},_.label):e.createElement("button",{type:"button",className:`menu__item ${Y?"active--item":""}`,onClick:()=>F(K,h),id:`main-nav-${K}`,name:`${_.label} tab`,"aria-label":`${_.label} tab`,role:"tab","aria-controls":"tabpanel-"+K,"aria-selected":Y,onKeyDown:q=>{(0,s.A)(q,K,k.length,!1,"main-nav")}},_.label,e.createElement(n.I,{icon:Y?"chevronUp":"chevronDown",size:20})),Y&&e.createElement("div",{className:"mega-menu"},e.createElement("div",{className:"mega-menu__content",role:"tabpanel","aria-labelledby":"tab-"+K,id:"tabpanel-"+K},_?.levelOneItems?e.createElement("div",{className:_?.levelOneItems?.length>=2&&_.label!="Subjects"?"mega-menu__links":"mega-menu__links contains-single-column"},_?.levelOneItems?.map((q,se)=>e.createElement("div",{className:`${q.levelTwoItems?.length==0?"":_?.levelOneItems?.length>=2?"mega-menu__column":"mega-menu__column single-column"} ${q.levelTwoItems?.length==0?"menu-item-cta":q.levelTwoItems?.length>12?"single-column long-column ":""} `,key:`menu-item-level-one-${q.label}`},e.createElement(r.default,{isHardLink:!0,className:"menu-item-sub-heading",uri:q.uri},q.label,q.uri?e.createElement(n.I,{icon:"chevronRight"}):""),q?.levelTwoItems&&e.createElement("div",{className:"column__links"},q?.levelTwoItems?.map((fe,me)=>e.createElement(r.default,{isHardLink:!0,className:"menu-item-link",key:`menu-item-level-two-${fe.label}}`,uri:fe.uri},fe.label)))))):null)))}))):null},o=l.default.div` ${({theme:k})=>{const N={toggle:{bgcolor:k.colors.white},menu:{buttonBg:k.colors.white,buttonBorder:k.colors.greyMid,buttonBgOpen:k.colors.CoreBrunelBlue,buttonBorderOpen:k.colors.CoreBrunelBlue,buttonColor:k.colors.blue,buttonColorOpen:k.colors.white,buttonBgLvl2:k.colors.white,buttonBgOpenLvl2:k.colors.greyLight,buttonBorderOpenLvl2:k.colors.greyLight,buttonColorLvl2:k.colors.blue,buttonColorOpenLvl2:k.colors.blue,linkColor:k.colors.blue}};return(0,l.css)` overflow-y: auto; /* Menu */ .mobile__main { .menu { margin: 0; .accordion__title { background: ${N.menu.buttonBg}; border: 0; border-top: 1px solid ${N.menu.buttonBorder}; color: ${N.menu.buttonColor}; font-weight: bold; &.open { background: ${N.menu.buttonBgOpen}; border-top: 1px solid ${N.menu.buttonBorderOpen}; color: ${N.menu.buttonColorOpen}; svg path { fill: ${N.menu.buttonColorOpen}; } } } .accordion__content { padding: 0; } .levelTwo__menu { padding-left: 28px; background: ${N.menu.buttonBgLvl2}; color: ${N.menu.buttonColorLvl2}; &.open { background: ${N.menu.buttonBgOpenLvl2}; border-top: 1px solid ${N.menu.buttonBorderOpenLvl2}; color: ${N.menu.buttonColorOpenLvl2}; svg path { fill: ${N.menu.buttonColorOpenLvl2}; } } } } } .menu-item-link { color: ${N.menu.linkColor}; text-decoration: none; display: block; padding: 2rem 1.6rem; line-height: 2.4rem; border-top: 1px solid ${N.menu.buttonBorder}; background-color: #fff; &:hover { background-color: #fff; } } .levelThree__menu { .levelThree-item { padding-left: 40px; } } .single-link { font-weight: bold; } .levelTwo__menu { .accordion__title { padding-left: 2.4rem; } .levelThree-item { .menu-item-link { padding: 1.6rem 1.6rem 1.6rem 4rem; } } } .levelThree-item { .menu-item-link { padding: 16px 16px 16px 28px; } } `}}; `;var c=t(89980);const P=({navigationItems:k,className:N=""})=>(N+=" MobileNavigation",e.createElement(o,{id:"rMobileNav",className:`${N&&N} mobile-navigation`},e.createElement("div",{className:"menu__items"},k&&e.createElement("div",{className:"mobile__main"},k.map((Z,u)=>e.createElement(e.Fragment,{key:`${Z.label}-${u}`},Z.uri?e.createElement(r.default,{key:`${Z.label}-${u}`,isHardLink:!0,uri:Z.uri,className:"menu-item-link single-link"},Z.label):e.createElement(c.default,{key:`mobile-navigation-${u}`,title:Z.label,className:"levelOne__menu menu"},Z.levelOneItems&&Z.levelOneItems.length>0?Z.levelOneItems.map((h,$)=>e.createElement("div",{key:`menu-item-${h.label}}`,className:"menu-item levelOne-item"},h.levelTwoItems?e.createElement(e.Fragment,null,e.createElement(r.default,{isHardLink:!0,id:h.label,uri:h.uri,className:"menu-item-link levelTwo__menu menu"},h.label),e.createElement("div",{role:"navigation",className:"menu-item levelThree__menu menu"},h.levelTwoItems?.map((I,F)=>e.createElement(r.default,{isHardLink:!0,key:`menu-item-${I.label}}`,className:"menu-item-link levelThree-item",uri:I.uri},I.label)))):e.createElement(r.default,{isHardLink:!0,uri:h.uri,className:"menu-item-link"},h.label))):Z.levelOneItems.map((h,$)=>e.createElement("div",{key:`menu-item-${h.label}}`,className:"menu-item levelOne-item"},h.levelTwoItems?.map((I,F)=>e.createElement("div",{key:`menu-item-${I.label}}`,className:"menu-item levelThree-item"},e.createElement(r.default,{isHardLink:!0,className:"menu-item-link",uri:I.uri},I.label))))))))))));var A=t(973);const T=l.default.header` ${({theme:k})=>{const N={menuSwitch:A.mq.xlarge,logoWidthSwitch:A.mq.xxlarge,backgroundTop:k.colors.CorePeatPrussian,topLink:k.colors.CoreWardWhite,topLinkDivider:k.colors.CoreBrunelBlue,backgroundMain:k.colors.CoreBrunelBlue,mobileMenuBg:k.colors.CoreWardWhite,toggle:{bgcolor:k.colors.CoreWardWhite}};return(0,l.css)` position: relative; color: white; /* class conditionally set in ./components/mobileNavigation */ /*----------------------------------------------------------*/ body.mobileMenuIs--open & { position: fixed; z-index: 500; width: 100%; height: 100vh; &.menu-open { display: flex; flex-direction: column; background: ${N.mobileMenuBg}; } @media ${N.menuSwitch} { z-index: 1; height: auto; } } /* Top toolbar */ /*-------------*/ .header-top { padding: 0 1.4rem; width: 100%; height: 4rem; background-color: ${N.backgroundTop}; display: flex; justify-content: flex-end; align-items: center; .header-top__list { padding: 0; margin: 0; list-style: none; display: flex; li { margin-left: 1.4rem; font-size: 1.4rem; font-weight: 600; color: #b3bec8; ::after { content: ''; display: inline-block; margin-left: 1.4rem; width: 0.2rem; height: 1rem; background-color: ${N.topLinkDivider}; } } a { color: ${N.topLink}; text-decoration: none; } a, button { line-height: 2.5; display: inline-block; } } } /* Main header row */ /*-----------------*/ .header-main { overflow: hidden; display: flex; align-items: center; justify-content: space-between; background-color: ${N.backgroundMain}; } .header-main__branding { margin-right: 16px; margin-left: 16px; flex-basis: 18rem; max-width: 100%; height: auto; @media ${N.logoWidthSwitch} { flex-basis: 24rem; } @media screen and (min-width: 768px) { margin-left: 39px; } padding: 15px 0; } .header-tools { display: flex; align-items: center; justify-content: center; margin-right: 1.6rem; > .search { @media ${N.menuSwitch} { order: 2; margin-right: 0; } } } /* Menu Toggle */ /*-------------*/ .menu__icon { border: none; background: transparent; width: 20px; height: 15px; position: relative; transform: rotate(0deg); transition: 0.5s ease-in-out; cursor: pointer; z-index: 600; transform: scale(1.2); &.open { &:focus { outline: 1px dotted #212121; outline: 5px auto -webkit-focus-ring-color; } span { background: ${N.toggle.bgcolor}; &:nth-child(1) { top: 6px; width: 0%; left: 50%; } &:nth-child(2) { transform: rotate(45deg); } &:nth-child(3) { transform: rotate(-45deg); } &:nth-child(4) { top: 12px; width: 0%; left: 50%; } } } span { display: block; position: absolute; height: 3px; width: 100%; background: ${N.toggle.bgcolor}; border-radius: 9px; opacity: 1; left: 0; transform: rotate(0deg); transition: 0.25s ease-in-out; &:nth-child(1) { top: 0px; } &:nth-child(2), &:nth-child(3) { top: 6px; } &:nth-child(4) { top: 12px; } } } /* Force Mobile Open nav to full height */ /*--------------------------------------*/ .mobile-navigation { flex: 1; } `}}; `;var L=t(84802),te=t(90490),ae=t.n(te),ne=t(99850),le=t(31840);const Ee=l.default.div` ${({theme:k,searchIcon:N})=>(0,l.css)` z-index: 700; .header-search__icon { padding-right: 32px; button { padding: 0; margin-left: 8px; width: 24px; height: 24px; display: block; border: none; background-color: transparent; cursor: pointer; svg { path { ${N==="light"&&"fill: white;"} transition: all ease 500ms; } } } @media ${k.mq.xlarge} { padding-right: 0; } } .header-search__overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 50, 91, 0.95); z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; } .close-click { position: absolute; top: 2.4rem; right: 2.4rem; @media ${k.mq.small} { top: 3.2rem; right: 3.2rem; } } .header-search__close { float: right; } .header-search__content { padding: 1.6rem; width: 90%; @media ${k.mq.large} { max-width: 540px; margin: 0 auto; } } .header-search__title { color: ${k.colors.white}; font-size: 2.4rem; font-weight: 700; line-height: 1.5; margin: 0; @media ${k.mq.small} { font-size: 4rem; } } .modal__search { margin-top: 4rem; @media ${k.mq.small} { margin-top: 6.4rem; } } input { font-size: 18px; } `}; `;var oe=t(97594);const ee="static-main",Ie=e.createElement(le.default,{className:"header-search__close",src:`/${ee}/img/mobile-menu-close.svg`,alt:"Close search",width:24,height:24,"aria-hidden":"true"}),ye=768,z=({title:k,placeholder:N,searchIcon:Z="dark",className:u})=>{const[h,$]=(0,e.useState)(!1);let I;return e.createElement(Ee,{className:u,searchIcon:Z},e.createElement("div",{className:"header-search__icon"},e.createElement("button",{"aria-label":"open search",onKeyDown:F=>{F.keyCode!==9&&F.preventDefault(),I=F.target},onKeyUp:F=>{F.keyCode===13&&I===F.target&&$(!h)},onClick:F=>{$(!h),F.preventDefault()},name:"open search"},h?e.createElement(e.Fragment,null,Ie,e.createElement(oe.A,null,"Close search")):e.createElement(e.Fragment,null,e.createElement(n.I,{icon:"search",size:24}),e.createElement(oe.A,null,"Open search")))),h&&e.createElement(pe,{close:F=>{$(!1),F&&typeof F.preventDefault=="function"&&F.preventDefault()},placeholder:N,title:k}))};function pe({close:k,title:N,placeholder:Z}){const u=Y=>Y.keyCode===27&&k(Y);let h=window&&window.innerWidth||0;const[$,I]=(0,e.useState)(h),F=()=>{if(!window)return;const Y=window.innerWidth;(Y>=ye&&hye)&&(h=Y,I(Y)),h=Y},_=()=>{$>=ye?document.body.style.overflow="hidden":document.body.style.overflow=""};return _(),(0,e.useEffect)(()=>(_(),document.addEventListener("keyup",u),window.addEventListener("resize",F),()=>{document.removeEventListener("keyup",u),window.removeEventListener("resize",F),document.body.style.overflow=""})),e.createElement("div",{className:"header-search__overlay"},e.createElement(ae(),null,e.createElement("div",{className:"header-search__content"},e.createElement("a",{href:"#",onClick:k,className:"close-click"},e.createElement(le.default,{className:"header-search__close",src:`/${ee}/img/mobile-menu-close.svg`,alt:"Close search",width:32,height:32})),N&&e.createElement("h5",{className:"header-search__title"},N),e.createElement("div",{className:"modal__search"},e.createElement(ne.A,{placeholder:Z,onSubmit:k})))))}const Me=z;var xe=t(77334);const We=l.default.button` ${({theme:k})=>{const N={background:k.colors.white,backgroundHover:k.colors.greyMid,linkColor:k.colors.blueAlt};return(0,l.css)` position: relative; padding: 0; display: inline-flex; align-items: center; background-color: transparent; color: #fff; border: none; margin-left: 1.4rem; font-size: 1.4rem; font-weight: 600; line-height: 2.5; .dropdown-menu { display: block; position: absolute; background-color: ${N.background}; color: ${N.linkColor}; border: 1px solid #ccc; list-style: none; padding: 0; margin: 0; width: 100%; z-index: 100000; top: 35px; line-height: 1.5; li { padding: 10px; cursor: pointer; &:hover { background-color: ${N.backgroundHover}; } a { color: ${N.linkColor}; text-decoration: none; } } } `}} `,He=({quickLinks:k,className:N})=>{const[Z,u]=(0,e.useState)(!1),h=()=>u(!Z);return e.createElement(We,{className:N,onClick:h},"Quick links ",e.createElement(n.I,{icon:Z?"chevronUp":"chevronDown",size:20}),Z&&e.createElement("ul",{className:"dropdown-menu"},k.map(($,I)=>e.createElement("li",{key:I},e.createElement("a",{href:xe.A.resolveRelativeUrl($.url)},$.title)))))};var S=t(49196);const w="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/brunel-logo.png",H="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/brunel-logo-mobile.png",W="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/brunel-pathway-college-logo.png",D="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/brunel-business-school-logo.png",V=({className:k,navigation:N,topLinks:Z,quickLinks:u,logoOverride:h,hero:$})=>{const[I,F]=(0,e.useState)(!1),[_,K]=(0,e.useState)(null),[Y,q]=(0,e.useState)(null),se=!(0,L.A)(`${S.z.layout.breakpoint.xlarge}`);(0,e.useEffect)(()=>{if(se===null)return;let me=w,we={width:110,height:110};$?.title?.includes("Business")?(me=D,we={width:213,height:60}):h?(me=W,we={width:99,height:50}):se&&(me=H,we={width:219,height:50}),K(me),q(we)},[se,$,h]),(0,e.useEffect)(()=>{document.body.classList.toggle("mobileMenuIs--open",I),document.body.classList.toggle("mobileMenuIs--closed",!I)},[I]);const fe=()=>{F(me=>!me)};return se===null||!_||!Y?null:e.createElement(T,{className:`${k} ${se&&I?"menu-open":"menu-closed"}`,id:"site-header"},e.createElement("div",{className:"header-top"},Z?.length>0&&e.createElement("ul",{className:"header-top__list"},Z.map((me,we)=>e.createElement("li",{key:we},e.createElement("a",{href:xe.A.resolveRelativeUrl(me.url)},me.title)))),e.createElement(He,{quickLinks:u})),e.createElement("div",{className:"header-main"},e.createElement("div",{className:"header-main__branding"},e.createElement(r.default,{uri:"https://brunel.ac.uk/",className:""},e.createElement("img",{src:_,alt:"91Ó°ÊÓUniversity of London",width:Y.width,height:Y.height,loading:"eager"}))),e.createElement("div",{className:"header-tools"},e.createElement("span",{className:"search"},e.createElement(Me,{title:"What do you want to do?",placeholder:"What do you want to do?",searchIcon:"light"})),!se&&e.createElement(E,{navigationItems:N}),se&&e.createElement("button",{"aria-label":"Navigation menu",className:`menu__icon ${I?"open":""}`,onClick:fe},e.createElement("span",null),e.createElement("span",null),e.createElement("span",null),e.createElement("span",null)))),se&&I&&e.createElement(P,{navigationItems:N}))},Q=t.p+"_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/footer.svg?73aac170691e193ab0558961938672b8",Se=l.default.footer` ${({theme:k})=>(0,l.css)` padding: 4.8rem 0 0 0; font-size: 1.5rem; line-height: 3rem; background-color: ${k.colors.CoreBrunelBlue}; @media ${k.mq.large} { padding: 4.8rem 1.5rem; // background-image: url(/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${Q}); background-repeat: no-repeat; background-position: -10rem center; background-size: contain; } .footer { &__container { max-width: 144rem; margin-left: auto; margin-right: auto; &--upper { display: flex; flex-wrap: wrap; @media screen and (min-width: 640px) { justify-content: space-evenly; } } &--lower { display: block; @media screen and (min-width: 1024px) { display: flex; align-items: center; } } } &__column { flex-basis: 100%; padding-left: 1rem; padding-right: 1rem; margin-bottom: 3rem; @media screen and (min-width: 480px) and (max-width: 640px) { flex-basis: 50%; &:nth-child(4) { flex-basis: 100%; margin-bottom: 3rem; } } @media screen and (min-width: 640px) { flex-basis: 33.3333333333%; padding-left: 1.5rem; padding-right: 1.5rem; margin-bottom: 0; } @media screen and (min-width: 1024px) { &:nth-child(n + 2) { flex-basis: 22.2222222222%; } } &--desktop-only { display: none; @media screen and (min-width: 1024px) { display: block; } } &--end { margin-left: auto; } } } .footer-upper { margin-bottom: 8rem; } .footer-branding { &__logo { display: inline; max-height: 5.4rem; } &__hashtag { margin: 1.2rem 0 0 0; color: #b2c2cf; font-size: 1.96rem; line-height: 2.1rem; } } .footer-upper__list { padding: 0; /* margin: 0 0 0 2rem; */ margin: 0; list-style: none; & > li { display: block; margin: 0; line-height: 3rem; } & > li > a { font-size: 1.5rem; line-height: 2.5rem; color: #b2c2cf; text-decoration: none; border-bottom: 0.1rem solid #b2c2cf; transition: ease 0.2s all; &:hover, &:focus { transition: ease 0.2s all; color: white; } } } .footer-upper__contact { /* margin-left: 2rem; */ p { margin: 0; font-size: 1.5rem; font-style: normal; line-height: 2.5rem; color: #b2c2cf; &:first-of-type { margin-bottom: 3rem; } @media screen and (min-width: 480px) and (max-width: 640px) { display: inline-block; width: 50%; } } a { display: inline-block; font-size: 1.4rem; font-style: normal; line-height: 1.4rem; text-decoration: none; border-bottom: 0.1rem solid #b2c2cf; transition: ease 0.2s all; color: #b2c2cf; &:hover, &:focus { transition: ease 0.2s all; color: white; } } } .footer-lower { padding: 5rem 0; background-color: #01294c; @media screen and (min-width: 1024px) { background-color: transparent; /* padding-bottom: 16px; */ /* temporary until share is in */ padding-top: 0; padding-bottom: 2.4rem; } .social-list { padding: 0; margin: 0 0 2.2rem 0; height: 2.3rem; list-style: none; @media screen and (min-width: 1024px) { margin: 0; } .social-list__item { display: inline-block; margin: 0 0.8rem; &:first-child { margin-left: 0; } } .social-list__link { display: block; } .social-list__icon { display: block; width: 2.3rem; height: 2.3rem; } } } .footer-copyright { margin: 0; color: #b2c2cf; font-size: 1.5rem; } `}; `;var ve=t(86706),Ce=t.n(ve),Pe=t(52546);const Oe=({})=>{const[k,N]=e.useState(!1),Z=(0,f.d4)(Pe.DT.selectors.selectCurrentLocation),u=(0,f.d4)(Pe.DT.selectors.selectRouteEntry),h=(0,f.d4)(Pe.DT.selectors.selectCurrentNode),$=`${Z.pathname}`,I=u?.entryTitle??h?.displayName??"91Ó°ÊÓUniversity of London",F=()=>{N(!k)},_={content:{top:"50%",left:"50%",transform:"translate(-50%, -50%)",padding:"24px",border:"none",borderRadius:"0",height:"max-content",width:"max-content",maxWidth:"calc(100% - 24px)",backgroundColor:"white"},overlay:{position:"fixed",inset:"0px",backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:"9999"}};return e.useEffect(()=>{Ce().setAppElement("#app-root")},[]),e.createElement(_e,null,e.createElement("button",{onClick:F,className:"footer-share__button"},"Share"),e.createElement(Ce(),{isOpen:k,onRequestClose:F,style:_},e.createElement(Ve,null,e.createElement("h4",null,"Share this page"),e.createElement("ul",{className:"social-share__list"},e.createElement("li",null,e.createElement("a",{href:`https://www.facebook.com/dialog/share?app_id=973943312684851&display=page&href=${$}`,target:"_blank",className:"social-share__icon social-share__icon--fb"},e.createElement(n.I,{icon:"facebook",size:40}),e.createElement("span",{className:"sr-only"},"Facebook"))),e.createElement("li",null,e.createElement("a",{href:`https://twitter.com/intent/tweet?url=${$}`,target:"_blank",className:"social-share__icon social-share__icon--tw"},e.createElement(n.I,{icon:"twitter",size:40}),e.createElement("span",{className:"sr-only"},"Twitter"))),e.createElement("li",null,e.createElement("a",{href:`https://www.linkedin.com/shareArticle?url=${$}`,target:"_blank",className:"social-share__icon social-share__icon--lin"},e.createElement(n.I,{icon:"linkedin",size:40}),e.createElement("span",{className:"sr-only"},"LinkedIn"))),e.createElement("li",null,e.createElement("a",{href:`whatsapp://send/text=${$}`,target:"_blank",className:"social-share__icon social-share__icon--wa"},e.createElement(n.I,{icon:"whatsapp",size:40}),e.createElement("span",{className:"sr-only"},"WhatsApp"))),e.createElement("li",null,e.createElement("a",{href:`mailto:?subject=/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}&body=Check%20out%20this%20site%20/news-and-events/news/articles/REF-2021-results${$}`,target:"_blank",title:"Share by Email",className:"social-share__icon social-share__icon--em"},e.createElement(n.I,{icon:"email",size:40}),e.createElement("span",{className:"sr-only"},"Email")))),e.createElement("button",{onClick:F,className:"social-share__close"},e.createElement(n.I,{icon:"close"}),e.createElement("span",{className:"sr-only"},"Close")))))},_e=l.default.div` ${({theme:k})=>(0,l.css)` margin-top: 16px; @media screen and (min-width: 1024px) { margin-top: 0; } .footer-share__button { padding: 0; margin: 0; border: none; padding-right: 16px; width: 148px; height: 49px; background: #002039 url('/SiteElements/images/share.svg') no-repeat; background-position: 9px 10px; text-align: right; color: #fff; cursor: pointer; } `} `,Ve=l.default.div` ${({theme:k})=>(0,l.css)` width: 100%; height: max-content; @media screen and (min-width: 640px) { padding: 12px 24px; } h4 { margin: 0 0 1rem 0; font-weight: bold; color: ${k.colors.blueAlt}; } .social-share__close { position: absolute; top: 16px; right: 16px; padding: 8px; border: none; background: none; color: #222222; cursor: pointer; } .social-share__list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; max-width: 420px; gap: 32px; padding: 0; margin: 24px 0 0 0; list-style: none; li a { color: ${k.colors.blue}; } } `} `,$e=Oe,ce="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img//brunel-logo.png",Le="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/icons/brunel-insta.svg",De="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/icons/brunel-fb.svg",be="/SiteElements/images/bg/brunel-x.svg",Ge="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/icons/brunel-youtube.svg",Be="/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/img/icons/brunel-linkedin.svg",Xe="/SiteElements/images/bg/brunel-tiktok.svg",et=({className:k})=>{const N=[{title:"Students",url:"https://students.brunel.ac.uk/"},{title:"Staff Intranet",url:"https://intra.brunel.ac.uk/"},{title:"Freedom of Information",url:"/about/administration/information-access/freedom-of-information"},{title:"Press & Media",url:"/news-and-events/contact-us"},{title:"Terms & conditions",url:"/91Ó°ÊÓ-this-website/the-student-contract"},{title:"Accessibility",url:"/91Ó°ÊÓ-this-website/Accessibility"},{title:"Privacy & copyright",url:"/91Ó°ÊÓ-this-website/Privacy-Policy-and-Copyright-Statement"},{title:"Transparency information",url:"/about/admissions/admissions-transparency"},{title:"Modern Slavery Statement",url:"https://students.brunel.ac.uk/documents/Policies/modern-slavery-statement-dec23.pdf"},{title:"Trading name",url:"/about/information"}],Z=[{title:"Open Days",url:"/study/open-days"},{title:"Order a prospectus",url:"https://goingto.brunel.ac.uk/form/prospectus-order"},{title:"Computer Centre",url:"/life/study-support/computer-services"},{title:"Library",url:"/life/study-support/library"},{title:"Professional Development Centre",url:"/pdc"},{title:"Students' Union",url:"https://brunelstudents.com/"},{title:"Jobs",url:"/about/jobs"}],u=[{title:"Directions to the campus",url:"/about/finding-us"},{title:"///legend.duty.impact",url:"https://what3words.com/legend.duty.impact"}];return e.createElement(Se,{className:k},e.createElement("div",{className:"footer-upper"},e.createElement("div",{className:"footer__container footer__container--upper"},e.createElement("div",{className:"footer__column footer__column--desktop-only"},e.createElement("div",{className:"footer-branding"},e.createElement("a",{href:""},e.createElement("img",{src:ce,alt:"91Ó°ÊÓUniversity of London",width:100,height:100})))),e.createElement("div",{className:"footer__column"},e.createElement("ul",{className:"footer-upper__list"},N.map(h=>e.createElement("li",{key:h.title},e.createElement("a",{href:h.url},h.title))))),e.createElement("div",{className:"footer__column"},e.createElement("ul",{className:"footer-upper__list"},Z.map(h=>e.createElement("li",{key:h.title},e.createElement("a",{href:h.url},h.title))))),e.createElement("div",{className:"footer__column"},e.createElement("address",{className:"footer-upper__contact"},e.createElement("p",null,"91Ó°ÊÓUniversity of London",e.createElement("br",null),"Kingston Lane",e.createElement("br",null),"Uxbridge",e.createElement("br",null),"Middlesex UB8 3PH"),e.createElement("p",null,"Tel: +44 (0)1895 274000",e.createElement("br",null),"Fax: +44 (0)1895 232806",e.createElement("br",null),"Security: +44 (0)1895 255786",e.createElement("br",null),e.createElement("a",{href:u[0].url},u[0].title),e.createElement("br",null),e.createElement("a",{href:u[1].url},u[1].title)))))),e.createElement("div",{className:"footer-lower"},e.createElement("div",{className:"footer__container footer__container--lower"},e.createElement("div",{className:"footer__column"},e.createElement("ul",{className:"social-list"},e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://www.instagram.com/bruneluni/",className:"social-list__link"},e.createElement(le.default,{src:Le,alt:"instagram",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))),e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://www.facebook.com/bruneluniversity",className:"social-list__link"},e.createElement(le.default,{src:De,alt:"facebook",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))),e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://twitter.com/bruneluni",className:"social-list__link"},e.createElement(le.default,{src:be,alt:"twitter",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))),e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://www.youtube.com/bruneluniversity",className:"social-list__link"},e.createElement(le.default,{src:Ge,alt:"youtube",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))),e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://www.linkedin.com/school/bruneluniversitylondon/",className:"social-list__link"},e.createElement(le.default,{src:Be,alt:"linkedIn",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))),e.createElement("li",{className:"social-list__item"},e.createElement("a",{href:"https://www.tiktok.com/@bruneluniversity",className:"social-list__link"},e.createElement(le.default,{src:Xe,alt:"flickr",className:"social-list__icon",width:23,height:23}),e.createElement("span",{className:"sr-only"},"Social Media Platform"))))),e.createElement("div",{className:"footer__column"},e.createElement("p",{className:"footer-copyright"},"\xA9 91Ó°ÊÓUniversity of London")),e.createElement("div",{className:"footer__column footer__column--end"},e.createElement($e,null)))))};var Fe=t(84659),ze=t(82472);const Qe=(0,l.createGlobalStyle)` /* Normalize/reset css */ ${Fe.S8} /* Box sizing rules */ *, *::before, *::after { box-sizing: border-box; } /* Remove default margin */ body, h1 h2, h3 h4, p, figure, blockquote, dl, dd { margin: 0; } /* Set page height to full length */ html, body, #root, #app-root { height: 100%; } /* Class dynamically added and removed in header components to freeze body scroll while menu is open*/ body.mobileMenuIs--open { max-height: 100%; max-width: 100%; overflow: hidden; @media ${A.mq.xlarge} { max-height: inherit; max-width: inherit; overflow: visible; } } #app-root { display: flex; flex-direction: column; #main { flex-grow: 2; margin-bottom: 4rem; &.page-course { margin-bottom: 0; } } } /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ ul[role='list'], ol[role='list'] { list-style: none; } /* Set core root defaults */ html:focus-within { scroll-behavior: smooth; } html, body { font-family: "Open Sans", Arial, sans-serif; font-size: 62.5%; } /* Set core body defaults */ body { min-height: 100vh; font-size: 1.6rem; line-height: 1.5; text-rendering: optimizeSpeed; overflow-x: hidden; } h1, .h1 { /* font-family: 'Ivy Presto', serif; */ /* letter-spacing: 1px; */ font-size: 3.6rem; font-weight: 600; line-height: 4rem; @media ${A.mq.mlarge} { font-size: 4.4rem; line-height: 6.4rem; } } h2, .h2 { font-family: "Open Sans", Arial, sans-serif; font-size: 3rem; font-weight: 600; line-height: 4rem; @media ${A.mq.mlarge} { font-size: 4rem; line-height: 5.6rem; } } h3, .h3 { font-family: "Open Sans", Arial, sans-serif; font-size: 2.4rem; font-weight: 400; line-height: 3.2rem; @media ${A.mq.mlarge} { font-size: 3.2rem; line-height: 4.8rem; } } h4, .h4 { font-size: 2.2rem; line-height: 3.2rem; font-weight: 500; @media ${A.mq.mlarge} { font-size: 2.4rem; line-height: 3.2rem; } } h5, .h5 { font-size: 1.8rem; line-height: 3.2rem; font-weight: normal; @media ${A.mq.mlarge} { font-size: 2rem; line-height: 3.2rem; } } h6, .h6 { font-size: 1.6rem; line-height: 3.2rem; font-weight: normal; @media ${A.mq.mlarge} { font-size: 1.8rem; line-height: 3.2rem; } } p, .p { font-size: 1.6rem; line-height: 2.4rem; font-weight: 400; padding-left: 2px; /* Left alignment correction of text to headings */ } strong { font-weight: bolder; } /* A elements that don't have a class get default styles */ a:not([class]), a.link { color: ${ze.A.SecondarySaidScarlet}; text-decoration-skip-ink: auto; } button:focus, a:focus { outline: 2px solid red !important; border-bottom-color: red !important; } /* Make images easier to work with */ img, picture { display: block; max-width: 100%; height: auto; } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font: inherit; } /* Table classes brought over from classic site */ table { border-collapse: collapse; border-spacing: 0; width: 100%; margin-bottom: 1rem; border-radius: 0; } table thead, table tbody, table tfoot { border: 1px solid #f1f1f1; background-color: #fefefe; } table caption { font-weight: bold; padding: 0.5rem 0.625rem 0.625rem; } table thead, table tfoot { background: #f8f8f8; color: #0a0a0a; } table thead tr, table tfoot tr { background: transparent; } table thead th, table thead td, table tfoot th, table tfoot td { padding: 0.8rem 1rem 1rem; font-weight: bold; text-align: left; } table tbody tr:nth-child(even) { background-color: #f1f1f1; } table tbody th, table tbody td { padding: 0.8rem 1rem 1rem; } /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } } blockquote { padding-left: 1.6rem; border-left: 0.2rem solid ${ze.A.pink}; font-size: 2rem; font-weight: 400; font-style: italic; line-height: 2em; color: ${ze.A.blueAlt}; } .flow > * + * { margin: 2rem 0 0 0; } .wrapper { position: relative; width: 100%; max-width: 142.2rem; padding-left: 1.6rem; padding-right: 1.6rem; margin-left: auto; margin-right: auto; @media screen and (min-width: 768px) { padding-left: 4.8rem; padding-right: 4.8rem; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } /* libchat override */ a[id^='lcs_slide_out_button-8972'] { background-color: #00615E !important; text-decoration: none; } #unibuddy-popcard-iframe { /* Default styles for mobile devices */ position: fixed !important; bottom: 60px !important; right: 0 !important; @media (min-width: 768px) { /* Styles for devices that are 768px wide or wider (desktops) */ position: fixed !important; bottom: 0 !important; right: 0 !important; } } /* print styles to remove specified elements + class to add to unnamed components */ @media print { header, footer, nav, #CybotCookiebotDialog, #unibuddy-popcard-iframe, #contensis-blocks-preview-toolbar, .lcs_slide_out, .course__aside, .course-hero .hero__upper, .kis-widget { display: none !important; } .no-print { display: none !important; } } `;var Ke=t(83651),ge=t(89148);const ue=({className:k,children:N,logoOverride:Z,hero:u})=>{const h=(0,f.d4)(Ke.Qs),$=(0,f.d4)(Ke.lo),I=(0,f.d4)(Ke.NS);return e.createElement(e.Fragment,null,e.createElement(Qe,null),e.createElement(ge.A,{skipPath:"#main"}),e.createElement(V,{navigation:h,topLinks:I,quickLinks:$,logoOverride:Z,hero:u}),e.createElement("main",{id:"main",className:k},N),e.createElement(et,null))}},84930:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>Z});var e=t(48322),f=t(16731),a=t(67115);const n=a.default.div` overflow-x: clip; `;var s=t(30685),r=t(7890),l=t(22582);const m=a.default.section` ${({theme:u,carouselHeight:h})=>(0,a.css)` /* react-responsive-carousel module css start */ /* 6/9/23: including here due to CSS loader issue in importing the CSS into the component. Keep before the customisation/override CSS. */ .carousel .control-arrow, .carousel.carousel-slider .control-arrow { -webkit-transition: all 0.25s ease-in; -moz-transition: all 0.25s ease-in; -ms-transition: all 0.25s ease-in; -o-transition: all 0.25s ease-in; transition: all 0.25s ease-in; opacity: 0.4; filter: alpha(opacity=40); position: absolute; z-index: 2; top: 20px; background: none; border: 0; font-size: 32px; cursor: pointer; } .carousel .control-arrow:focus, .carousel .control-arrow:hover { opacity: 1; filter: alpha(opacity=100); } .carousel .control-arrow:before, .carousel.carousel-slider .control-arrow:before { margin: 0 5px; display: inline-block; border-top: 8px solid transparent; border-bottom: 8px solid transparent; content: ''; } .carousel .control-disabled.control-arrow { opacity: 0; filter: alpha(opacity=0); cursor: inherit; display: none; } .carousel .control-prev.control-arrow { left: 0; } .carousel .control-prev.control-arrow:before { border-right: 8px solid #fff; } .carousel .control-next.control-arrow { right: 0; } .carousel .control-next.control-arrow:before { border-left: 8px solid #fff; } .carousel-root { outline: none; } .carousel { position: relative; width: 100%; } .carousel * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .carousel img { width: 100%; display: inline-block; pointer-events: none; } .carousel .carousel { position: relative; } .carousel .control-arrow { outline: 0; border: 0; background: none; top: 50%; margin-top: -13px; font-size: 18px; } .carousel .thumbs-wrapper { margin: 20px; overflow: hidden; } .carousel .thumbs { -webkit-transition: all 0.15s ease-in; -moz-transition: all 0.15s ease-in; -ms-transition: all 0.15s ease-in; -o-transition: all 0.15s ease-in; transition: all 0.15s ease-in; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); position: relative; list-style: none; white-space: nowrap; } .carousel .thumb { -webkit-transition: border 0.15s ease-in; -moz-transition: border 0.15s ease-in; -ms-transition: border 0.15s ease-in; -o-transition: border 0.15s ease-in; transition: border 0.15s ease-in; display: inline-block; margin-right: 6px; white-space: nowrap; overflow: hidden; border: 3px solid #fff; padding: 2px; } .carousel .thumb:focus { border: 3px solid #ccc; outline: none; } .carousel .thumb.selected, .carousel .thumb:hover { border: 3px solid #333; } .carousel .thumb img { vertical-align: top; } .carousel.carousel-slider { position: relative; margin: 0; overflow: hidden; } .carousel.carousel-slider .control-arrow { top: 0; color: #fff; font-size: 26px; bottom: 0; margin-top: 0; padding: 5px; } .carousel.carousel-slider .control-arrow:hover { background: rgba(0, 0, 0, 0.2); } .carousel .slider-wrapper { overflow: hidden; margin: auto; width: 100%; -webkit-transition: height 0.15s ease-in; -moz-transition: height 0.15s ease-in; -ms-transition: height 0.15s ease-in; -o-transition: height 0.15s ease-in; transition: height 0.15s ease-in; } .carousel .slider-wrapper.axis-horizontal .slider { -ms-box-orient: horizontal; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -moz-flex; display: -webkit-flex; display: flex; } .carousel .slider-wrapper.axis-horizontal .slider .slide { flex-direction: column; flex-flow: column; } .carousel .slider-wrapper.axis-vertical { -ms-box-orient: horizontal; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -moz-flex; display: -webkit-flex; display: flex; } .carousel .slider-wrapper.axis-vertical .slider { -webkit-flex-direction: column; flex-direction: column; } .carousel .slider { margin: 0; padding: 0; position: relative; list-style: none; width: 100%; } .carousel .slider.animated { -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; -ms-transition: all 0.35s ease-in-out; -o-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; } .carousel .slide { min-width: 100%; margin: 0; position: relative; text-align: center; } .carousel .slide img { width: 100%; vertical-align: top; border: 0; } .carousel .slide iframe { display: inline-block; width: calc(100% - 80px); margin: 0 40px 40px; border: 0; } .carousel .slide .legend { -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; position: absolute; bottom: 40px; left: 50%; margin-left: -45%; width: 90%; border-radius: 10px; background: #000; color: #fff; padding: 10px; font-size: 12px; text-align: center; opacity: 0.25; -webkit-transition: opacity 0.35s ease-in-out; -moz-transition: opacity 0.35s ease-in-out; -ms-transition: opacity 0.35s ease-in-out; -o-transition: opacity 0.35s ease-in-out; transition: opacity 0.35s ease-in-out; } .carousel .control-dots { position: absolute; bottom: 0; margin: 10px 0; padding: 0; text-align: center; width: 100%; z-index: 1; } @media (min-width: 960px) { .carousel .control-dots { bottom: 0; } } .carousel .control-dots .dot { -webkit-transition: opacity 0.25s ease-in; -moz-transition: opacity 0.25s ease-in; -ms-transition: opacity 0.25s ease-in; -o-transition: opacity 0.25s ease-in; transition: opacity 0.25s ease-in; opacity: 0.3; filter: alpha(opacity=30); box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9); background: #fff; border-radius: 50%; width: 8px; height: 8px; cursor: pointer; display: inline-block; margin: 0 8px; } .carousel .control-dots .dot.selected, .carousel .control-dots .dot:hover { opacity: 1; filter: alpha(opacity=100); } .carousel .carousel-status { position: absolute; top: 0; right: 0; padding: 5px; font-size: 10px; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9); color: #fff; } .carousel:hover .slide .legend { opacity: 1; } /* react-responsive-carousel module css end */ /* Carousel customisations */ position: relative; & { button { &.carousel-play, &.carousel-pause { color: ${u.colors.SecondaryBowringBlack}; border: 1px solid ${u.colors.SecondaryBowringBlack}; border-radius: 20px; // margin-top: 5px; padding: 4px 5px 0px 7px; margin-top: -50px; position: absolute; top: 70px; right: 10px; &:hover { color: ${u.colors.CoreBrunelBlue}; } } } } .carousel-root { /* width: 64% !important; margin: auto !important; margin-top: 3% !important; */ @media only screen and (max-width: 934px) { outline: 0; /* width: 93% !important; margin: auto !important; */ } } .carousel { .control-dots { padding-left: 5px !important; outline: 0; bottom: 5% !important; .dot { box-shadow: none !important; background: #00615e !important; outline: 0; } } &.carousel-slider .control-arrow { background: ${u.colors.SecondaryBowringBlack} !important; height: 50px !important; position: absolute; top: 175px !important; } .slide { text-align: left; img { width: unset; vertical-align: unset; border: unset; } // overflow: hidden; background-color: #000; .article-hero { // height: ${h||"auto"}; // height: '900px'; } } .control-dots .dot, &.carousel-slider .control-arrow { @media only screen and (max-width: 934px) { display: none !important; } } } `}; `;var v=t(43738),E=t(11029),d=t(614),o=t(97594);const c=(0,a.css)` background: linear-gradient( 315deg, ${({theme:u})=>`${u.colors.CoreCracknellCerulean}6b`}, ${({theme:u})=>u.colors.CoreCracknellCerulean} ); content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 1; `,g=(0,a.css)` &:after { ${c} width: 4px; height: 100%; @media (min-width: 768px) { width: 8px; } } `,P=(0,a.css)` &:after { ${c} height: 4px; @media (min-width: 768px) { height: 8px; } } `,A=(0,a.css)` padding-bottom: 5px; &:before { ${c} background: #fff; top: unset; bottom: 0; z-index: 1; height: 2px; } &:after { ${c} background-color: #fff; top: unset; bottom: 0; height: 2px; width: 0; transition: width 0.3s ease; } &:hover:after { ${c} top: unset; bottom: 0; height: 2px; width: 100%; /* Expand transition from left to right */ } `,T=a.default.div` ${({theme:{colors:u,mq:h}})=>(0,a.css)` padding: 0 1rem; .overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 5; &.active { opacity: 1; pointer-events: auto; } } .container { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 2rem auto; padding: 40px 30px; background-color: ${u.CoreBrunelBlue}; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); max-width: 820px; transition: all 0.3s ease; z-index: 5; position: relative; @media ${h.medium} { margin-top: 0; top: -50px; margin-bottom: -50px; } } .search { flex-direction: row; width: 100%; } label { flex: 1; } form { display: flex; width: 100%; padding: 10px; font-size: 16px; border-radius: 15px; border: 1px solid #ccc; outline: none; transition: border-color 0.2s ease-in-out; background-color: #fff; line-height: 1; align-items: center; &:focus { border-color: #007bff; } } input { all: unset; width: 100%; height: 30px; line-height: 30px; padding: 5px; box-sizing: border-box; flex-grow: 1; } button { display: flex; padding: 5px 5px; background-color: ${u.SecondaryBowringBlack}; color: ${u.CoreWardWhite}; border: none; border-radius: 50px; cursor: pointer; font-size: 16px; transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out; vertical-align: middle; margin-left: 15px; &:hover { background-color: ${u.SecondarySaidScarlet}; color: ${u.CoreWardWhite}; } } .links { text-align: center; a { text-decoration: none; color: ${u.CoreWardWhite}; padding: 0; margin: 5px 10px; text-wrap: nowrap; display: inline-flex; position: relative; // border-bottom: 2px solid; // &:after { // transition: width 0.3s ease; // } ${A}// &:hover { // border-bottom: transparent; // &:after { // width: 100%; // height: 2px; // } // } } } `} `,te=u=>{const[h,$]=(0,e.useState)(""),[I,F]=(0,e.useState)(!1),_=(0,E.W6)(),K=Y=>{Y.preventDefault(),h.trim()&&_.push(`/search?q=${encodeURIComponent(h.trim())}`)};return e.createElement(T,{className:u},e.createElement("div",{className:`overlay ${I?"active":""}`,onClick:()=>F(!1)}),e.createElement("div",{className:"container"},e.createElement("div",{className:"search"},e.createElement("form",{onSubmit:K,"aria-label":"Search the website"},e.createElement("label",{htmlFor:"search"},e.createElement("span",{className:"sr-only"},"Search"),e.createElement("input",{type:"text",id:"search",name:"search",value:h,onChange:Y=>$(Y.target.value),onFocus:()=>F(!0),onBlur:()=>F(!1),placeholder:"Search our courses and site","aria-required":"true","aria-label":"Enter search term"})),e.createElement("button",{type:"submit","aria-label":"Submit search"},e.createElement(d.I,{icon:"search",size:24}),e.createElement(o.A,null,"Open search")))),e.createElement("div",{className:"links"},e.createElement("a",{href:"/study/courses?courseLevel=0/2/24/28/870"},"Foundation"),e.createElement("a",{href:"/study/courses?courseLevel=0%2F2%2F24%2F28%2F43"},"Undergraduate"),e.createElement("a",{href:"/study/courses?courseLevel=0%2F2%2F24%2F28%2F44"},"Postgraduate"),e.createElement("a",{href:"/study/courses?courseLevel=0%2F2%2F24%2F28%2F872"},"Research"))))},ne=({slides:u,className:h,hideBreadcrumbs:$})=>{const[I,F]=(0,e.useState)(!0),_=()=>{F(!1)},K=()=>{F(!0)},[Y,q]=(0,e.useState)("");return(0,e.useEffect)(()=>{const se=()=>{const fe=Array.from(document.querySelectorAll(".carousel .slide")).map(we=>we.clientHeight),me=Math.max(...fe);q(`${me}px`)};return window.addEventListener("resize",se),se(),()=>{window.removeEventListener("resize",se)}},[]),u?.length===0?null:(u[0]?.video&&(u.length=1),u?.length>1&&u.map(se=>delete se.video),e.createElement(m,{carouselHeight:Y},e.createElement(r.FN,{showArrows:!0,infiniteLoop:!0,showThumbs:!1,thumbWidth:100,showStatus:!1,autoPlay:I,interval:6100,useKeyboardArrows:!0,stopOnHover:!0,swipeable:!0,dynamicHeight:!1,emulateTouch:!0,selectedItem:0,transitionTime:500,swipeScrollTolerance:5,showIndicators:!1},u.map((se,fe)=>e.createElement("div",{key:fe},e.createElement(v.A,{...se,hideBreadcrumbs:$})))),u.length>1&&(I?e.createElement("button",{className:"carousel-pause",onClick:_},e.createElement(l.kwt,null)):e.createElement("button",{className:"carousel-play",onClick:K},e.createElement(l.gSK,null))),e.createElement(te,null)))};var le=t(19997);const Ee=a.default.section` ${({theme:u})=>(0,a.css)` h2 { margin: 0; } padding: 2rem 1rem; margin-top: 4rem; max-width: 100rem; background-color: ${u.colors.SecondaryMackMist}; margin-left: auto; margin-right: auto; .chevron { vertical-align: middle; } @media (min-width: 768px) { padding-bottom: 1.7778rem; padding-left: 1.7778rem; padding-right: 1.7778rem; margin-top: 2.5rem; } .eventsMiniList__container { min-height: 260px; margin-left: auto; margin-right: auto; margin-top: -1px; max-width: 820px; padding-top: 1px; a { color: ${u.colors.SecondarySaidScarlet}; } @media (min-width: 768px) { align-items: center; display: flex; flex-direction: row; } .eventsMiniList__intro { flex: 1 0 auto; padding-right: 4rem; @media (min-width: 1200px) { flex: 1 0 auto; padding-right: 10rem; } .eventsMiniList__title { color: ${u.colors.CoreBrunelBlue}; } .eventsMiniList__links { margin-top: 2rem; padding-left: 2px; @media (min-width: 768px) { max-width: 300px; } & > * + * { display: block; padding-top: 1.5rem; } a { text-decoration: none; align-items: center; display: block; justify-content: center; &:hover { .chevron { transform: scale(1.2); } } } } } .eventsMiniList__events { padding: 1.5rem 0 0 0; list-style: none; @media (min-width: 768px) { flex: 1 1 auto; margin-top: -7rem; padding-top: 0; & > :only-child { margin-top: 3rem; } } @media (min-width: 1200px) { display: flex; flex-wrap: wrap; justify-content: space-between; & > :first-child:nth-last-child(3), & > :first-child:nth-last-child(3) ~ * { padding-top: 0; width: calc(33% - 1rem); } & > :first-child:nth-last-child(3) .eventCard__content, & > :first-child:nth-last-child(3) ~ * .eventCard__content { align-items: flex-start; display: flex; flex-direction: column; min-height: 370px; } & > :first-child:nth-last-child(3) .eventCard__info, & > :first-child:nth-last-child(3) ~ * .eventCard__info { align-items: stretch; display: flex; flex: 1; flex-direction: column; min-height: 200px; padding-left: 0; padding-right: 0; padding-top: 1.7778rem; } & > :first-child:nth-last-child(3) .eventCard__cta, & > :first-child:nth-last-child(3) ~ * .eventCard__cta { margin-left: 0; padding-left: 0; } } & > * + * { padding-top: 1.8rem; } .eventsMiniList__event { @media (min-width: 1200px) { width: 100%; } } } } @media (prefers-reduced-motion: reduce) { * { -webkit-animation-duration: 0.01ms !important; animation-duration: 0.01ms !important; -webkit-animation-iteration-count: 1 !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; } } .eventCard { border: 1px solid #f6f6f6; border-top: 0; border-left: 0; border-bottom: 0; box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.3); max-width: 750px; position: relative; transition: transform 0.4s ease-out; &:before { bottom: 0; box-shadow: 0 10px 24px rgba(208, 215, 227, 0.714), 0 5px 10px rgba(208, 215, 227, 0.714); content: ''; height: 100%; left: 0; opacity: 0; position: absolute; right: 0; top: 0; transition: opacity 0.3s ease-out; width: 100%; } &:hover { transform: translateY(-2px); &:before { opacity: 1; } .chevron { transform: scale(1.2); } } ${g} } .eventCard__content { align-items: center; display: flex; flex-direction: row; padding: 0.9rem; background-color: #fff; justify-content: space-between; @media (min-width: 768px) { padding: 1.8rem; } } .eventCard__date { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.8px; line-height: 1; text-align: center; padding: 5px; color: ${u.colors.CoreBrunelBlue}; // background-color: ${u.colors.SecondaryMackMist}; @media (min-width: 992px) { font-size: 1.22rem; } span { display: block; font-size: 2.5rem; padding: 0; @media (min-width: 992px) { font-size: 4.4rem; } } } .eventCard__title { font-weight: 600; } .eventCard__time { // font-size: 1.3rem; // font-weight: 600; padding-top: 0.4rem; color: ${u.colors.CoreBrunelBlue}; // @media (min-width: 992px) { // font-size: 1.3rem; // } } .eventCard__cta { display: block; padding-top: 0.9rem; padding-right: 1.5rem; text-decoration: none; vertical-align: middle; &:after { bottom: 0; content: ''; cursor: pointer; height: 100%; left: 0; position: absolute; right: 0; top: 0; width: 100%; } @media (min-width: 576px) { padding-top: 0; span { white-space: nowrap; } } @media (min-width: 992px) { padding-left: 1.5rem; } .chevron { vertical-align: middle; } } `} `;var oe=t(28346),ee=t(77334);function Ie(u){let h=u.getHours();if(h===12)return"noon";const $=h>=12?"pm":"am";return h=h%12,h=h||12,`${h}${$}`}function ye(u){const h=u.getDate(),I=["January","February","March","April","May","June","July","August","September","October","November","December"][u.getMonth()];return`${h} /_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}`}function z(u,h){const $=Ie(u),I=Ie(h),F=ye(u),_=ye(h);return F===_?`${$} to /_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}`:`${$} on ${F} to /_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I} on ${_}`}const pe=["January","February","March","April","May","June","July","August","September","October","November","December"];function Me(u){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][u.getDay()]}const Ae=({heading:u,events:h,links:$,className:I})=>e.createElement(Ee,{className:I},e.createElement("div",{className:"eventsMiniList__container"},e.createElement("div",{className:"eventsMiniList__intro"},e.createElement("h2",{className:"eventsMiniList__title"},u),e.createElement("div",{className:"eventsMiniList__links"},$.map(F=>e.createElement("a",{key:F.sys.id,href:F.url},F.entryTitle,e.createElement(oe.U7T,{className:"chevron"}))))),e.createElement("ul",{className:"eventsMiniList__events"},h.map(F=>{const _=F.entryTitle||F.title,K=ee.A.resolveRelativeUrl(F.searchData?.url||F.link),Y=F.duration?.from||F.date?.from,q=F.duration?.to||F.date?.to,se=new Date(Y),fe=new Date(q),me=se.getDate().toString(),we=pe[se.getMonth()],ke=z(se,fe),Ne=Me(se);return e.createElement("li",{key:F.sys.id,className:"eventsMiniList__event"},e.createElement("div",{className:"eventCard"},e.createElement("div",{className:"eventCard__content"},e.createElement("a",{href:K,className:"eventCard__cta"},e.createElement("p",{className:"eventCard__title"},_," ",e.createElement(oe.U7T,{className:"chevron"})),e.createElement("p",{className:"eventCard__time"},ke))," ",e.createElement("p",{className:"eventCard__date"},Ne,e.createElement("span",null,me),we))))})))),je=a.default.section` ${({theme:u})=>(0,a.css)` position: relative; height: 100%; .chevron { vertical-align: middle; } .newsCard { background-color: #fff; box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4); overflow: hidden; transition: transform 0.4s ease-out, box-shadow 0.3s ease; text-decoration: none; display: flex; flex-direction: column; color: ${u.colors.SecondarySaidScarlet}; height: 100%; &:hover { transform: translateY(-2px); box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.35); .newsImage { opacity: 0.9; } .chevron { transform: scale(1.2); } } } .newsImage { width: 100%; height: 100px; object-fit: cover; transition: opacity 0.3s ease; position: relative; } .newsContent { padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; flex-grow: 1; position: relative; ${P} h3 { font-size: 24px; color: #333; margin-top: 10px; } } // .newsDate { // font-size: 14px; // color: #999; // } `} `,S=({title:u,link:h,thumbnailLink:$,thumbnailAlt:I,className:F})=>e.createElement(je,{className:F},e.createElement("a",{href:h,className:"newsCard"},e.createElement("img",{src:$,alt:I,className:"newsImage"}),e.createElement("div",{className:"newsContent"},e.createElement("p",null,u,e.createElement(oe.U7T,{className:"chevron"}))))),H=a.default.section` ${({theme:u})=>(0,a.css)` h2 { margin-top: 0; } padding: 2rem 1rem; margin-top: 4rem; /* Remove horizontal gap between h2 and content */ .container > .newsHeader { margin-bottom: 0; } .chevron { vertical-align: middle; } .pattern { position: absolute; height: 90%; top: 25%; background-color: rgb(0, 0, 0); width: 100%; left: 50%; right: 0; background: url('/images/patterns/stars-sage-1920x700.png?q=70&f=webp&width=1920') no-repeat; background-size: cover; opacity: 0.4; z-index: -1; } .container { display: grid; grid-template-columns: 5fr 3fr; grid-template-rows: auto auto; gap: 20px; position: relative; margin-left: auto; margin-right: auto; max-width: 820px; a { color: ${u.colors.SecondarySaidScarlet}; text-decoration: none; &:hover { .chevron { transform: scale(1.2); } } } } .newsHeader { grid-column: span 2; color: ${u.colors.CoreBrunelBlue}; } .mainNews { padding-left: 2px; grid-column: 1 / 2; grid-row: 2 / 4; .newsImage { height: 350px; } } .links { padding-left: 2px; } .sideNews1, .sideNews2 { grid-column: 2 / 3; grid-column: 2 / 3; .newsImage { height: 100%; max-height: 100px; } } .sideNews1 { grid-row: 2 / 3; } .sideNews2 { grid-row: 3 / 4; } // Mobile view @media (max-width: 768px) { .container { grid-template-columns: 1fr; // grid-template-rows: auto; column-gap: 0; } .mainNews, .sideNews1, .sideNews2 { padding-left: 0; grid-column: 1 / 2; grid-row: auto; height: auto; } } `} `,D=({news:u,className:h})=>{const $=u[0].title,I=ee.A.resolveRelativeUrl(u[0].searchData?.url||u[0].link),F=u[0].searchData?.dateModified,_=ee.A.resolveRelativeUrl(u[0].articleImage?.asset.sys.uri||u[0].image?.asset.sys.uri)+"?q=70&f=webp",K=u[0].articleImage?.caption||u[0].articleImage?.asset?.altText||u[0].image?.altText,Y=u[1].title,q=ee.A.resolveRelativeUrl(u[1].searchData?.url||u[1].link),se=u[1].searchData?.dateModified,fe=ee.A.resolveRelativeUrl(u[1].articleImage?.asset.sys.uri||u[1].image?.asset.sys.uri)+"?q=70&f=webp",me=u[1].articleImage?.caption||u[1].articleImage?.asset?.altText||u[1].image?.altText,we=u[2].title,ke=ee.A.resolveRelativeUrl(u[2].searchData?.url||u[2].link),Ne=u[2].searchData?.dateModified,Ye=ee.A.resolveRelativeUrl(u[2].articleImage?.asset.sys.uri||u[2].image?.asset.sys.uri)+"?q=70&f=webp",tt=u[2].articleImage?.caption||u[2].articleImage?.asset?.altText||u[2].image?.altText;return e.createElement(H,{className:h},e.createElement("div",{className:"container"},e.createElement("div",{className:"pattern"}),e.createElement("h2",{className:"newsHeader"},"News"),e.createElement("div",{className:"links"},e.createElement("a",{href:"/news-and-events/news"},"View all news ",e.createElement(oe.U7T,{className:"chevron"}))),e.createElement("div",{className:"mainNews"},e.createElement(S,{title:$,link:I,date:F,thumbnailLink:_,thumbnailAlt:K})),e.createElement("div",{className:"sideNews1"},e.createElement(S,{title:Y,link:q,date:se,thumbnailLink:fe,thumbnailAlt:me})),e.createElement("div",{className:"sideNews2"},e.createElement(S,{title:we,link:ke,date:Ne,thumbnailLink:Ye,thumbnailAlt:tt}))))},J=a.default.div` ${({theme:u,themeColours:h,backgroundColour:$,backgroundImage:I})=>(0,a.css)` display: flex; justify-content: center; align-items: center; margin: 30px 0; flex-direction: column; h2 { margin-bottom: 0; color: ${u.colors.CoreBrunelBlue}; } a { text-decoration: none; transition: transform 0.4s ease-out, box-shadow 0.4s ease-out; &:hover { .circle { box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); transition: box-shadow 0.4s ease-out; } transform: translateY(-2px); .chevron { transform: scale(1.2); } } } .container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 1200px; padding: 2rem; position: relative; overflow: hidden; border-radius: 20px; background: url('/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}') ${$} no-repeat center top; background-size: cover; @media ${u.mq.mlarge} { gap: 60px; } // // Overhang effect // &::after { // content: ''; // position: absolute; // top: 80px; // left: 0; // width: 100%; // height: calc(100% - 80px); // background: url('/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}'), // ${$} no-repeat center top; // // background-size: cover; // // background-color: ${u.colors.SecondaryMackMist}; // z-index: -1; // } } `} `;var V=t(68786);const he=a.default.div` ${({theme:u,themeColors:h})=>(0,a.css)` background-color: ${h.background}; color: ${h.foreground}; border: 2px solid #dcdcdc; border-radius: 50%; width: 230px; height: 230px; display: flex; // justify-content: flex-start; // align-items: center; text-align: center; padding: 30px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; flex-shrink: 0; /*@media (min-width: 800px) and (max-width: 1074px) { { margin-right: auto; } }*/ p { margin: 0; // font-style: 1.3em; .source { font-size: 0.9em; display: block; } .chevron { display: inline-block; vertical-align: middle; margin-left: 5px; } } .keyFact { font-size: 2em; font-family: 'ivypresto-headline', serif; font-weight: 400; padding-bottom: 10px; display: block; line-height: 1.01; // Line border-bottom: 3px solid; padding-bottom: 15px; width: 90%; margin: 0 auto 10px auto; } // Branding 2024 border-radius: 0; padding: 10px; text-align: left; background: transparent; color: ${u.colors.CoreBrunelBlue}; border: none; box-shadow: none; height: auto; .keyFact { font-size: 4rem; font-weight: 900; width: 100%; } .source { font-style: italic; padding-top: 10px; } .description { font-weight: 700; } @media (min-width: 600px) { height: 230px; } `} `,ve=({fact:u,className:h})=>{const $=(0,V.kt)(u.nestColourTheme?.colourTheme?.entryTitle);return e.createElement(he,{className:`${h} circle`,themeColors:$},e.createElement("p",null,e.createElement("span",{className:"keyFact"},u.keyFact),e.createElement("span",{className:"description"},u.description,u.link&&e.createElement(oe.U7T,{className:"chevron"})),u.source&&e.createElement("span",{className:"source"},u.source)))},Pe=({title:u,keyFacts:h,nestTheme:$,className:I})=>{const F=(0,V.kt)($?.colourTheme?.entryTitle),_=$?.backgroundColour?$?.backgroundColour.hex:"#fff",K=$?.backgroundImage?ee.A.resolveRelativeUrl(`${$?.backgroundImage.asset.sys.properties.filePath}${$?.backgroundImage.asset.sys.properties.filename}`):"";return e.createElement(J,{className:I,themeColours:F,backgroundColour:_,backgroundImage:K},u&&e.createElement("h2",null,u),e.createElement("div",{className:"container"},h?.map((Y,q)=>Y.link?e.createElement("a",{key:q,href:ee.A.resolveRelativeUrl(Y.link)},e.createElement(ve,{fact:Y,className:I})):e.createElement(ve,{key:q,fact:Y,className:I}))))},_e=a.default.div` ${({theme:u})=>(0,a.css)` svg:not(:root) { overflow: hidden; } .fixed-container { @media (min-width: 1024px) { max-width: 1004px; margin-right: auto; margin-left: auto; // padding: 0 20px; } @media (min-width: 1600px) { max-width: 1350px; } } .icon { flex-shrink: 0; vertical-align: top; fill: currentColor; } .responsive-media { position: relative; & > img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; } & > .line { position: relative; height: 1px; } } .line__inner { position: relative; display: block; width: 100%; height: 1px; background-color: hsla(0, 0%, 100%, 0.25); } .show-if-tablet { display: none; @media (min-width: 768px) { display: block; } } .initial-mb-25 { margin-bottom: 1.5625rem; } @media (min-width: 768px) { .tablet-pb-30 { padding-bottom: 1.875rem; } .tablet-mt-40 { margin-top: 2.5rem; } .tablet-mb-35 { margin-bottom: 2.1875rem; } } @media (min-width: 1024px) { .desktop-mt-0 { margin-top: 0; } } .lazyloaded { opacity: 1; transition: opacity 0.3s; } .promoteEvent__content { position: relative; z-index: 1; * { color: #fff; } } @media (min-width: 1024px) { .promoteEvent__contentContainer { display: flex; align-items: center; } } .promoteEvent__contentInner { @media only screen and (min-width: 1024px) { max-width: 384.16667px; } @media only screen and (min-width: 1600px) { max-width: 528.33333px; } } .promoteEvent { margin: 30px 0; ul { list-style: none; margin-left: 0; .promoteEvent li { margin-left: 0; } } } .promoteEvent__title { font-size: 3rem; line-height: 1.4; @media (min-width: 768px) { font-size: 4rem; } } .promoteEvent__phone { /*font-size: 1.5626rem;*/ line-height: 1.4; @media (min-width: 768px) { font-size: 2rem; } } .promoteEvent__description { font-size: 1.8rem; line-height: 1.4; } .theme-dark { a { color: inherit; } .theme-token-bg { background-color: ${u.colors.CoreBrunelBlue}; // @media (min-width: 1024px) { // -webkit-clip-path: polygon(0 5%, 0 100%, 100% 95%, 100% 0); // clip-path: polygon(0 5%, 0 100%, 100% 95%, 100% 0); // } } .theme-token-cta { background-color: ${u.colors.SecondaryMackMist}; color: ${u.colors.SecondaryBowringBlack}; transition: background-color 0.3s cubic-bezier(0.4, 0.47, 0.17, 0.98), border-color 0.3s cubic-bezier(0.4, 0.47, 0.17, 0.98), transform 0.3s ease-out, box-shadow 0.3s ease; &:hover { background-color: ${u.colors.SecondaryMackMist}e8; transform: translateY(-2px); box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.3); .chevron { transform: scale(1.2); } } &:before { content: none !important; } } .theme-token-a1 { color: hsl(166, 49%, 52%); } } .promoteEvent__image { object-fit: cover; @media (min-width: 1024px) { object-fit: cover; -webkit-clip-path: polygon(0 20%, 0 100%, 100% 80%, 100% 0); clip-path: polygon(0 20%, 0 100%, 100% 80%, 100% 0); } } .promoteEvent__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2; } .promoteEvent__inner { position: relative; padding: 40px; @media (min-width: 1024px) { padding: 100px 60px; } } .promoteEvent__ctas { position: relative; z-index: 1; padding: 0; @media (min-width: 768px) { grid-gap: 30px; -ms-grid-rows: auto 30px auto; grid-template-areas: 'link-1 link-2' 'link-3 link-4'; -ms-grid-columns: 1fr 30px 1fr; grid-template-columns: repeat(2, 1fr); display: -ms-grid; display: grid; flex-grow: 100; } @media (min-width: 1024px) { padding-left: 60px; } @media (min-width: 1600px) { padding-left: 140px; } } @media (min-width: 768px) { height: 100%; min-height: 145px; &first-child { grid-area: link-1; } &nth-child(2) { grid-area: link-2; } &nth-child(3) { grid-area: link-3; } &nth-child(4) { grid-area: link-4; } &first-child { -ms-grid-row: 1; -ms-grid-column: 1; } &nth-child(2) { -ms-grid-row: 1; -ms-grid-column: 3; } &nth-child(3) { -ms-grid-row: 3; -ms-grid-column: 1; } &nth-child(4) { -ms-grid-row: 3; -ms-grid-column: 3; } } } @media (max-width: 767px) { .promoteEvent__cta + .promoteEvent__cta { margin-top: 20px; } } .promoteEvent__ctaLink { grid-gap: 20px; grid-row-gap: 10px; grid-template-areas: 'title'; -ms-grid-columns: auto; grid-template-columns: auto; display: -ms-grid; display: grid; align-items: center; padding: 13px 15px; text-decoration: none; position: relative; ${g} @media (min-width: 768px) { grid-gap: 10px; grid-template-areas: 'title'; -ms-grid-columns: auto; grid-template-columns: auto; -ms-grid-rows: auto; grid-template-rows: auto; height: 100%; padding: 25px; min-height: 160px; } .chevron { height: 30px; width: 30px; margin-left: auto; color: ${u.colors.SecondarySaidScarlet}; transition: transform 0.3s ease-out, box-shadow 0.3s ease; @media (min-width: 768px) { position: absolute; bottom: 20px; right: 20px; } } } .promoteEvent__ctaTitle { -ms-grid-row: 1; -ms-grid-column: 1; grid-area: title; display: flex; font-weight: 500; color: ${u.colors.SecondarySaidScarlet}; @media (max-width: 767px) { align-items: center; } @media (min-width: 768px) { justify-content: space-between; font-size: 2.2rem; } @media (min-width: 768px) { -ms-grid-row: 1; -ms-grid-column: 1; -ms-grid-column-span: 3; } } .promoteEvent__icon { display: block; margin-left: 20px; @media (max-width: 767px) { width: 20px; height: 20px; } @media (min-width: 768px) { align-self: flex-start; /*margin-top: 7px;*/ margin-left: 10px; } } `}; `,$e=({title:u,description:h,phone:$,backgroundImage:I,promoteEventcta:F,className:_})=>{const K=I?`${ee.A.resolveRelativeUrl(I.asset.sys.uri)}?q=70&f=webp`:null,Y=I?.altText;return e.createElement(_e,{className:_},e.createElement("div",{className:"promoteEvent theme-dark"},e.createElement("div",{className:"promoteEvent__inner theme-token-bg"},e.createElement("div",{className:"promoteEvent__bg responsive-media"},K&&e.createElement("img",{className:"promoteEvent__image lazyautosizes ls-is-cached lazyloaded",srcSet:` ${K}?q=90&w=320&&f=webp 320w 132h, ${K}?q=90&w=360&&f=webp 360w 148h, ${K}?q=90&w=640&&f=webp 640w 264h, ${K}?q=90&w=720&&f=webp 720w 297h, ${K}?q=90&w=960&&f=webp 960w 396h, ${K}?q=90&w=1280&f=webp 1280w 528h, ${K}?q=90&w=1440&f=webp 1440w 594h, ${K}?q=90&w=1920&f=webp 1920w 792h `,sizes:"",alt:Y||""})),e.createElement("div",{className:"promoteEvent__contentContainer fixed-container"},e.createElement("div",{className:"promoteEvent__content"},e.createElement("div",{className:"promoteEvent__contentInner"},e.createElement("h2",{className:"promoteEvent__title initial-mb-25 tablet-mb-35"},u),e.createElement("div",{className:"line show-if-tablet tablet-pb-30"},e.createElement("span",{className:"line__inner"})),e.createElement("p",{className:"promoteEvent__phone show-if-tablet"},$),e.createElement("p",{className:"promoteEvent__description"},h))),e.createElement("ul",{className:"promoteEvent__ctas tablet-mt-40 desktop-mt-0"},F?.map((q,se)=>{const fe=q.icon?`${ee.A.resolveRelativeUrl(q.icon.asset.sys.uri)}?q=70&f=webp`:null;return e.createElement("li",{className:"promoteEvent__cta",key:se},e.createElement("a",{className:"promoteEvent__ctaLink theme-token-cta",href:q.link},e.createElement("span",{className:"promoteEvent__ctaTitle"},q.title,fe&&e.createElement("img",{src:fe,className:"promoteEvent__icon icon",width:"30",height:"30",alt:"","aria-hidden":"true"}),e.createElement(oe.U7T,{className:"chevron"})),q.description&&e.createElement("span",null,q.description)))}))))))};var ce=t(94676),Le=t(62223);const be=a.default.section` ${({theme:{mq:u},themeColours:h,backgroundColour:$,backgroundImage:I})=>(0,a.css)` h2 { margin-top: 0; } padding: 2rem 1rem; margin-top: 4rem; /* Remove horizontal gap between h2 and content */ .container > .newsHeader { margin-bottom: 0; } display: flex; justify-content: center; align-items: center; background: url('/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}') ${$} no-repeat center top; background-size: cover; margin: 80px 0 0 0; h2, h3 { margin: 0; font-size: 3.2rem; line-height: 4rem; } .container { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; // Tablet view @media screen and (min-width: 768px) and (max-width: 840px) { max-width: 747px; } @media screen and (min-width: 768px) { flex-direction: row; } } .box { box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.7); transition: transform 1s ease-out; position: relative; } .usp { padding: 30px; color: ${h.foreground}; background-color: ${h.background}; overflow: hidden; // transform: translateY(300); @media screen and (min-width: 768px) { width: 440px; // height: 330px; position: relative; top: -65px; padding-right: 40px; } &.in-view { @media screen and (min-width: 768px) { transform: translateX(20px); } } hr { margin: 0 0 2rem 3px; border: none; border-top: 3px solid ${h.foreground}; width: 30px; } } .media { position: static; top: 0; left: 0; width: 300px; height: 200px; @media screen and (min-width: 768px) { position: relative; top: 100px; // left: -10px; width: 400px; height: 300px; } &.in-view { @media screen and (min-width: 768px) { transform: translateX(-30px); } } } .thumbnail { position: relative; width: 100%; height: 100%; background-color: #000; overflow: hidden; transition: all 0.3s ease; &:hover { .thumbnailImage { opacity: 0.6; transform: scale(1.03); -webkit-backface-visibility: hidden; backface-visibility: hidden; /* Prevent white line on sides of non-retina display */ } .playButton { opacity: 0.9; } } .thumbnailImage { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; } .playButton { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; color: white; background: rgba(0, 0, 0.7); padding: 10px 10px 10px 20px; border-radius: 50%; opacity: 0.8; // transition: opacity 0.3s ease; &:hover { opacity: 1; } } } .pattern { height: 470px; position: absolute; background-color: rgb(0, 0, 0); width: 100vw; top: -150px; right: 50rem; overflow: hidden; background: url('/images/patterns/geometric1-sage-300dpi-1920x700.png?q=70&f=webp&width=1920') no-repeat; // background-size: cover; opacity: 0.4; } // Mobile view @media screen and (max-width: 767px) { margin-bottom: 100px; .container { margin-bottom: -100px; max-width: 500px; } .usp { max-width: 450px; margin-right: 5rem; position: relative; top: -50px; z-index: 0; transition: transform 0.5s ease-out; transition: transform 0.5s ease-out; &.in-view { transform: translateY(-5px); /* Move USP closer vertically */ } } .media { position: relative; top: -50px; align-self: flex-end; width: 300px; height: 200px; z-index: 1; /* Ensure USP is on top */ transition: transform 0.5s ease-out; &.in-view { transform: translateY(5px); /* Move media closer vertically */ } } .usp + .media { margin-top: -5rem; /* Overlap the USP slightly */ } .pattern { right: 20rem; } } `} `;var Ge=t(86706),Be=t.n(Ge);const Je=({usp:u,className:h})=>{const[$,I]=(0,e.useState)(!1),[F,_]=(0,e.useState)(!0),K=(0,e.useRef)([]);(0,e.useEffect)(()=>{const ke=new IntersectionObserver(Ne=>{Ne.forEach(Ye=>{Ye.isIntersecting&&(Ye.target.classList.add("in-view"),ke.unobserve(Ye.target))})},{threshold:1});return K.current.forEach(Ne=>{Ne&&ke.observe(Ne)}),()=>{K.current.forEach(Ne=>{Ne&&ke.unobserve(Ne)})}},[]);const Y=ke=>{_(ke),I(!0)},q=()=>I(!1),se={content:{top:"50%",left:"50%",transform:"translate(-50%, -50%)",padding:"24px",border:"none",borderRadius:"15px",height:"max-content",width:"80%",maxWidth:"calc(100% - 24px)",backgroundColor:"#000",position:"relative"},overlay:{position:"fixed",inset:"0px",backgroundColor:"rgba(0, 0, 0, 0.8)",zIndex:"9999"}};Be().setAppElement("#app-root");const fe=(0,V.kt)(u.nestTheme?.colourTheme?.entryTitle),me=u.nestTheme?.backgroundColour?u.nestTheme?.backgroundColour.hex:"#fff",we=u.nestTheme?.backgroundImage?ee.A.resolveRelativeUrl(`${u.nestTheme?.backgroundImage.asset.sys.properties.filePath}${u.nestTheme?.backgroundImage.asset.sys.properties.filename}?q=70&f=webp&width=400&height=300`):"";return e.createElement(be,{className:h,themeColours:fe,backgroundColour:me,backgroundImage:we},e.createElement("div",{className:"container"},e.createElement("div",{className:"pattern"}),e.createElement("div",{className:"box usp",ref:ke=>K.current[0]=ke},e.createElement("hr",null),e.createElement(Le.default,{html:u.text})),e.createElement("div",{className:"box media",ref:ke=>K.current[1]=ke},e.createElement("div",{className:"thumbnail",onClick:()=>Y(!0)},e.createElement("img",{src:ee.A.resolveRelativeUrl(u?.image.asset.sys.uri),alt:u?.image.asset.altText,className:"thumbnailImage"}),e.createElement("button",{className:"playButton"},"\u25BA")))),e.createElement(Be(),{isOpen:$,onRequestClose:q,contentLabel:"Video Modal",className:"modal",style:se},e.createElement("button",{onClick:q,className:"closeButton"},"Close"),F?e.createElement(ce.A,{url:u?.videoLink,autoplay:!0}):e.createElement("video",{controls:!0},e.createElement("source",{src:u?.videoLink,type:"video/mp4"}),"Your browser does not support the video tag.")))},Fe=a.default.div` ${({theme:u,colorTheme:h,hoverTheme:$,small:I})=>(0,a.css)` padding-bottom: 1rem; background-color: #fff; box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease-in-out; overflow: hidden; border: 1px solid #eaeaea; z-index: 1; border: none; position: relative; &:hover { transform: translateY(-2px); .chevron { transform: scale(1.2); } } a { text-decoration: none; } .chevron { height: 30px; width: 30px; margin-left: auto; color: ${u.colors.SecondarySaidScarlet}; transition: transform 0.3s ease-out, box-shadow 0.3s ease; position: absolute; bottom: 20px; right: 20px; } img { width: 100%; height: 200px; object-fit: cover; object-position: top; transition: transform 0.3s ease-in-out; } .CTACard__Content { padding-left: 2rem; padding-right: 2rem; margin: 0 2rem; top: -2rem; position: relative; background-color: #fff; h3 { font-size: 2.4rem; margin: 0.75rem 0 0.5rem; line-height: 3.5rem; font-weight: 600; } .CTACard__Subtitle { font-style: italic; } hr { margin: 1.5rem 0px 1.5rem 3px; border: none; border-top: 3px solid ${u.colors.CoreSauriSlate}; width: 30px; } p { color: ${u.colors.CoreSauriSlate}; } } `} `,Te=({className:u,cta:h})=>{const $=h.title,I=h.subtitle,F=h.description,_=ee.A.resolveRelativeUrl(h.nestedLink.linkExternal||h.nestedLink.linkEntry?.sys?.uri||h.nestedLink.linkDocument?.sys?.uri),K=ee.A.resolveRelativeUrl(h.image?.asset.sys.uri)+"?q=70&f=webp",Y=h.image?.altText;return e.createElement(Fe,{className:u},e.createElement("a",{href:_},e.createElement("img",{src:K,alt:Y}),e.createElement("div",{className:"CTACard__Content"},e.createElement("h3",null,$),I&&e.createElement("p",{className:"CTACard__Subtitle"},I),e.createElement("hr",null),F&&e.createElement("p",null,F))),e.createElement(oe.U7T,{className:"chevron"}))},Ke=a.default.section` ${u=>(0,a.css)` h2 { margin-top: 0; } padding: 2rem 1rem; margin-top: 4rem; .CTACards { max-width: 820px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; justify-content: center; margin: 0 auto; } `} `,Ze=({ctas:u,className:h})=>e.createElement(Ke,{className:h},e.createElement("div",{className:"CTACards"},u?.map(($,I)=>e.createElement(Te,{key:`ctacard/_MB34Eg_3b7fb284-46df-409e-bb42-295a3243c090/static-main/modern/js/${I}`,cta:$})))),k=({canvas:u})=>e.createElement("div",null,u.map(h=>{switch(h.type){case"_component":return h.properties.component==="homepageBanner1920x400"?e.createElement(ne,{key:h.id,slides:h.value.banner,hideBreadcrumbs:!0}):h.properties.component==="ctaButtons"?e.createElement(le.A,{key:h.id,ctas:h.value.ctaButton}):h.properties.component==="newsMiniList"?e.createElement(D,{key:h.id,news:h.value.news}):h.properties.component==="eventsMiniList"?e.createElement(Ae,{key:h.id,...h.value}):h.properties.component==="promoteEvent"?e.createElement($e,{key:h.id,...h.value}):h.properties.component==="keyFacts"?e.createElement(Pe,{key:h.id,...h.value}):h.properties.component==="uspHighlight"?e.createElement(Je,{key:h.id,usp:h.value}):h.properties.component==="ctaCards"?e.createElement(Ze,{key:h.id,ctas:h.value.nestedCTACard}):null;default:return null}})),Z=({mappedEntry:u})=>{const{title:h,canvas:$}=u||{};return e.createElement(f.A,null,e.createElement(n,null,e.createElement(s.A,null),$&&$.length>0&&e.createElement(k,{canvas:$})))}},72153:(j,x,t)=>{"use strict";t.r(x),t.d(x,{default:()=>a});var e=t(48322);const a=()=>e.createElement(e.Fragment,null,e.createElement("header",null,e.createElement("h1",null,"404 Page Not Found")))},82472:(j,x,t)=>{"use strict";t.d(x,{A:()=>f});const f={blue:"#002646",blueAlt:"#00325b",grey:"#5c5c5c",greyMid:"#ddd",greyLight:"#eee",greyAlt:"#e6e6e6",white:"#fff",whiteAlt:"#F3F3F3",aqua:"#00615E",aquaAlt:"#00716e",pink:"#A3146A",brightPink:"#F10893",red:"#BE204C",black:"#000",limeGreen:"#1ECE91",teal:"#009D99",purple:"#7F1879",CoreBrunelBlue:"#002a53",CoreWardWhite:"#fff",CoreCracknellCerulean:"#0089cf",CoreGarrardGrey:"#878787",CoreSauriSlate:"#4a4a49",CorePeatPrussian:"#001738",SecondaryCritchlowCoral:"#e83f4f",SecondarySaidScarlet:"#a81638",SecondaryAkramAmethyst:"#814698",SecondaryFrenchFusica:"#e44e96",SecondaryCaprioCanary:"#fbb916",SecondaryLeechLemon:"#f2e363",SecondaryPanjabiPine:"#296640",SecondaryTysonTeal:"#3cb5a0",SecondaryPhillipsPewter:"#60647e",SecondaryShanklinSky:"#50c0e0",SecondarySchwarzSage:"#709b8e",SecondarySolankiStone:"#B2afc1",SecondaryEkwereEcru:"#c0bfa5",SecondaryMackMist:"#e3eaf6",SecondaryOyepitanOrange:"#ec6723",SecondaryBowringBlack:"#000"}},49196:(j,x,t)=>{"use strict";t.d(x,{z:()=>r});var e=t(82472);const a={purple:{default:{background_color:e.A.purple,text_color:e.A.white},hover:{opacity:"0.8"},focus:{opacity:"0.8"}},tertiary:{default:{background_color:e.A.red,text_color:e.A.white},hover:{opacity:"0.8"},focus:{opacity:"0.8"}},secondary:{default:{background_color:e.A.pink,text_color:e.A.white},hover:{opacity:"0.8"},focus:{opacity:"0.8"}},primary:{default:{background_color:e.A.aqua,text_color:e.A.white},hover:{background_color:e.A.aquaAlt},focus:{background_color:e.A.aquaAlt}}};var n=t(973),s=t(14646);const r={buttonStyles:a,colors:e.A,layout:s.A,mq:n.mq},l={}},14646:(j,x,t)=>{"use strict";t.d(x,{A:()=>l,C:()=>s});const e="1280px",f="1060px",a="1600px",n={base:"0.8rem",xxsmall:"0.4rem",xsmall:"0.8rem",small:"1.2rem",smedium:"1.6rem",medium:"2.4rem",mlarge:"3.2rem",large:"4rem",xlarge:"6.4rem",xxlarge:"8rem"},s={base:0,xxsmall:360,xsmall:480,small:600,smedium:720,medium:840,mlarge:960,large:1024,xlarge:1280,xxlarge:1480},l={breakpoint:s,containerWidth:e,containerNarrowWidth:f,containerWideWidth:a,gutter:n}},973:(j,x,t)=>{"use strict";t.d(x,{mq:()=>a});var e=t(14646);const a=[...Object.keys(e.C)].reduce((n,s)=>({...n,[s]:`only screen and (min-width: ${e.C[s]}px)`}),{})},65669:(j,x,t)=>{"use strict";var e=t(83744),f=t(91721),a=t(83692),n=t(37277),s=t(2803);function r(i=""){return n.parse(typeof window<"u"?window.location.search:i)}const l=i=>i&&i.match?i.match.params:{},p=(i,y)=>{const b=queryString.stringify(y);return b?`${i}?${b}`:i},m=()=>`${window.location.protocol}//${window.location.hostname}:${window.location.port}`,v=typeof window>"u"||window.location.host==="localhost:3000"?`https://${PUBLIC_URI}`:m(),E=i=>{const y=ALIAS,b=PROJECT,O="/z-data/Reverse-proxied-page-for-React-menu-data?jsonNav",{liveWeb:G,previewWeb:B}=(0,a.urls)(y,s.Jt.website);return b===s.Jt.website&&typeof window<"u"?O:i==="latest"?`${B}${O}`:`${G}${O}`};var d=t(87168),o=t(95987);const c={fallback:(0,o.f$)({})},g=(0,d.Ay)(()=>t.e(273).then(t.bind(t,40437)),c),P=(0,d.Ay)(()=>t.e(273).then(t.bind(t,84930)),c),A=(0,d.Ay)(()=>Promise.all([t.e(893),t.e(170)]).then(t.bind(t,44106)),c),X=(0,d.Ay)(()=>Promise.all([t.e(906),t.e(721)]).then(t.bind(t,85295)),c),T=(0,d.Ay)(()=>Promise.all([t.e(906),t.e(394)]).then(t.bind(t,31037)),c),L=(0,d.Ay)(()=>Promise.all([t.e(893),t.e(193)]).then(t.bind(t,99687)),c),te=(0,d.Ay)(()=>Promise.all([t.e(207),t.e(893),t.e(954)]).then(t.bind(t,30477)),c),ae=(0,d.Ay)(()=>Promise.all([t.e(893),t.e(193)]).then(t.bind(t,99687)),c),ne=(0,d.Ay)(()=>t.e(815).then(t.bind(t,19263)),c),le=(0,d.Ay)(()=>Promise.all([t.e(447),t.e(401)]).then(t.bind(t,57247)),c),de=(0,d.Ay)(()=>Promise.all([t.e(754),t.e(585),t.e(498),t.e(563)]).then(t.bind(t,42624)),c),Ee=(0,d.Ay)(()=>Promise.all([t.e(893),t.e(515)]).then(t.bind(t,67585)),c),oe=(0,d.Ay)(()=>t.e(630).then(t.bind(t,60237)),c),ee=(0,d.Ay)(()=>Promise.all([t.e(754),t.e(498),t.e(804)]).then(t.bind(t,36001)),c),Ie=(0,d.Ay)(()=>t.e(83).then(t.bind(t,13463)),c),ye={404:(0,d.Ay)(()=>Promise.resolve().then(t.bind(t,72153))),ZenInfo:(0,d.Ay)(()=>t.e(580).then(t.bind(t,93971)))};var z=t(30343),pe=t(13697),Me=t(93105);const xe=null,Ae={title:["entryTitle","title"],date:"sys.version.published",image:"listingImage.asset.sys.uri",path:["sys.uri","url","uri"]},We={title:["entryTitle","title"],path:"sys.uri",eventDate:"eventDate.startDateTime",eventDateEnd:"eventDate.endDateTime",location:"location.location",description:["summary","entryDescription"]},je={title:"entryTitle",uri:"sys.uri",publishedDate:["publishDateOverride","sys.version.published"],entryContentType:"entry.sys.contentTypeId",articleHeroProps:{title:["entryTitle","heroBanner.titleOverride"],image:"heroBanner.image.asset.sys.uri",video:"heroBanner.video",heroLink:{title:["heroBanner.link.entryTitle","heroBanner.link.title"],url:"heroBanner.link.sys.uri"},externalLink:{title:"heroBanner.externalLink[0].title",url:"heroBanner.externalLink[0].uri"}},contentComposerProps:{items:({content:i})=>(0,z.FL)(i,pe.J)},relatedContent:{contentType:"sys.contentTypeId",content:{$path:"relatedNews",$formatting:Ae},links:{$path:"relatedLinks.link",$formatting:{title:"title",path:"sys.uri"}}},originalPaperSource:{$path:"originalPaperSource",$formatting:{title:"title",path:"linkToSource"}},author:{$path:"author",$formatting:{title:["fullName","entryTitle"],uri:"profileURL",email:"email"}},mediaRelations:{$path:"mediaRelationsContact",$formatting:{name:["name","entryTitle"],description:"entryDescription",email:"email",phone:"phoneNumber"}},featuredAcademics:{$path:"featuredAcademics",$formatting:{path:["profileURL","sys.uri"],name:"fullName",title:"title",jobTitle:"jobTitle",image:"imageLink"}}},He={$path:"eventDates[?(@.eventDate.startDateTime === @parent.chosenDate)].eventDate.startDateTime",$return:(i,{eventDate:y})=>isNaN(new Date(i))?y.startDateTime:i},S={$path:"eventDates[?(@.eventDate.startDateTime === @parent.chosenDate)].eventDate.endDateTime",$return:(i,{eventDate:y})=>isNaN(new Date(i))?y.endDateTime:i},w={title:"entryTitle",uri:"sys.uri",publishedDate:"sys.version.published",entryContentType:"sys.contentTypeId",articleHeroProps:{title:["entryTitle","heroBanner.titleOverride"],image:"heroBanner.image.asset.sys.uri",heroLink:{title:["heroBanner.link.entryTitle"],url:["heroBanner.link.url","heroBanner.link.sys.uri"]}},contentComposerProps:{items:({content:i})=>(0,z.FL)(i,pe.J)},relatedContent:{contentType:"sys.contentTypeId",addtoCalendar:{title:["entryTitle","title"],description:["summary","entryDescription"],start:He,end:S,location:"location.location"},content:{$path:"relatedEvents",$formatting:We},links:{$path:["relatedLinks.link","relatedLinks.internalLink"],$formatting:Ae},additionalDates:{$path:"eventDates[?(@.eventDate.startDateTime !== @parent.chosenDate)].eventDate.startDateTime",$return:(i=[],{chosenDate:y,eventDate:b})=>(y&&i.splice(0,0,b.startDateTime),i)}},contactInformation:"contactInformation",location:"location.entryTitle",eventDate:He,eventDateEnd:S},H={title:"title",canvas:"canvas"};var W=t(23414),D=t.n(W);const R=(i=[])=>i.join(","),J={title:"title",content:({content:i})=>{const y=(0,z.FL)(i,{newsOrEventsMinilist:{id:"type",viewMoreText:({type:b})=>[s.p1.events,s.p1.mainEvents].includes(b)?"View all events":"View all news",viewMoreUri:({type:b})=>[s.p1.events,s.p1.mainEvents].includes(b)?"/events":"/news/news-archive",params:{[s._b.eventTag]:{$path:`category[?(@.sys.contentTypeId === '${s.Py.syncedTagExtranetEvents}')].sys.id`,$return:R},[s._b.newsTag]:{$path:`category[?(@.sys.contentTypeId === '${s.Py.syncedTagExtranetNews}')].sys.id`,$return:R},[s._b.researchEntity]:{$path:"researchEntities[*].sys.id",$return:R},[s._b.subject]:{$path:"subjects[*].sys.id",$return:R}}}}).filter(b=>b).map(b=>({...b,params:D()({...b.params})}));return y.map(b=>{let O="";b._type==="newsOrEventsMinilist"&&Object.entries(b.params).map(([G,B])=>{B&&typeof B=="string"&&(O+=`${G}=${B.split(",")[0]}&`)}),b.viewMoreUri+=O?`?${O}`:""}),y}},V={entry:".",title:"title",isPublished:"sys.isPublished",id:"sys.id"};var Q=t(84930);const he=["academicYear","accreditationLinkLogos","accreditationLogos","applicationLinks","professionalCourseApplicationLinks","alevelGradeBoundary","altText","assessmentAndFeedback","asset","banner","btecPoints","buttonText","buttonURL","careersAndYourFuture","condition","conditions","content","copy","college","course","contentIntro","courseStudyMode","cpdAssessment","cpdAssociatedFullCourses","cpdCourseCode","cpdCredits","cpdFullCoursesAuto","cpdModules","cpdModulesAuto","data","desc","description","department","duration","englishLanguageBand","entryRequirements","entryTitle","execEduBenefitsOrganisation","execEduBenefitsPerson","execEduDuration","execEduReadingMaterial","execEduTargetAudience","execEduTeaching","execEduTimings","execEduTutor","fee","feeType","fees","glanceBarMessages","hasDistanceLearning","height","hideFromGlanceBar","hidePlacementFee","hideStudyModeStatement","ibPoints","id","image","internationalEntryRequirement","isPostgrad","isPublished","isUndergrad","itemToOverride","key","kisCodes","lat","level","location","lon","message","metaDescription","metaKeywords","mode","modulesByYear","name","override","overview","pageRenderControls","partTimeFeeValueOverrideInt","partTimeFeeValueOverrideUKEU","pathway","pathwayCollege","phdHasMPhilOption","phdResearchGroups","phdStudentships","phdTopics","placement","professionalEntryRequirements","professionalEntryRequirementsGlanceBar","professionalFees","professionalFeesGlanceBar","professionalOverview","professionalStartDate","programmeSpecification","progression","properties","related","researchSupport","selectedTestimonials","sentence","seo","shortCourseAssessment","shortCourseBeforeYouArrive","shortCourseContactUs","shortCourseDuration","shortCourseEntryRequirements","shortCourseEntryRequirementsGlanceBar","shortCourseFees","shortCourseFeesGlanceBar","shortCourseHoliday","shortCourseOverview","shortCourseStartDate","shortCourseWhyBLC","start","startDate","startDates","smByStartDate","subjectAreas","subjectPage","subjects","supervision","sys","teachingAccordions","teachingAndLearning","text","title","tuitionFees","type","ucasPGCode","ucasPGPlacementCode","uniBuddyId","uri","url","value","width","year","youtube","modes","uniqueModes","above","boolean","college","condition","conditionalOperator","conditions","course","courseMessageConditions","courses","department","directEntry","entryTitle","feeNote","feeNotesBelowIsNull","forwardQueryString","hasAnnualFee","hasDistanceLearning","id","inClearing","includeExclude","itemToOverride","key","level","level","link","main","message","messageContent","pageRenderControls","pathwayCollege","placement","positionAbove","preMastersCourse","pgLinks","renderConditions","style","subjectArea","subjectAreas","sys","tab","tabName","text","title","tuitionFees","type","value","testimonials","searchDataTitle","brspMainQuote","searchDataDescription","brspFirstName","brspSurname","overridingLink","brspProfileImage","brspPageCardImage"],ve=[{contentTypeID:s.Py.landing,component:ne,entryMapper:(0,a.entryMapper)(J)},{contentTypeID:s.Py.homepage,component:Q.default,entryMapper:(0,a.entryMapper)(H),linkDepth:1},{contentTypeID:s.Py.subjectInformation,component:ne,entryMapper:(0,a.entryMapper)(J)},{contentTypeID:s.Py.syncedNews,component:X,entryMapper:(0,a.entryMapper)(je)},{contentTypeID:s.Py.course,component:de,linkDepth:2,fields:he},{contentTypeID:s.Py.syncedEvent,component:T,entryMapper:({entry:i},y)=>{const b=r(y?.routing.location.search)?.eventDate;return(0,a.mapJson)({...i,chosenDate:b},w)}},{contentTypeID:s.Py.test,component:oe,entryMapper:(0,a.entryMapper)(V)}];var Ce=t(99532);const Pe=i=>({title:i.title??i.entryTitle??"Courses",clearingTitle:"Courses in clearing",meta:{description:i.seo.metaDescription,keywords:i.seo.metaKeywords,title:i.title??i.entryTitle??"Courses"},breadcrumbs:{breadcrumbs:[{title:"Home",path:"https://brunel.ac.uk/"},{title:"Study",path:"/study"},{title:"Courses",path:""}],breadcrumbColor:"blue"},internalLabels:["Course name","UCAS/PG code","Study mode","Level"],onlineLabels:["Course name","Duration","Intakes","Level"]}),Oe=i=>(y,b)=>{const O={node:y,...y.entry||{},state:b};try{return i(O)}catch(G){console.error(G);return}},_e=async()=>{const{reducer:i,sagas:y}=await Promise.resolve().then(t.bind(t,72347)),{config:b}=await Promise.resolve().then(t.bind(t,37859));return{key:"search",reducer:i(b),saga:y}},$e=[{path:"/index",exact:!0,fetchNode:!0,component:g},{path:"/",exact:!0,fetchNode:!0,component:P},{path:"/test/homepage",exact:!0,fetchNode:!0,component:P},{path:"/test/hometest",exact:!0,fetchNode:!0,component:P},{path:"/header",exact:!0,component:Ce.ab},{path:"/loading",component:o.f$},{path:"/events",exact:!0,component:te,listingType:s.WY.eventsMain},{path:"/news/news-archive",exact:!0,component:L,listingType:s.WY.news},{path:"/news/comments",exact:!0,component:ae,listingType:s.WY.newsComments},{path:"/study/courses",exact:!0,component:Ee,listingType:s.WY.courses,fetchNode:{fields:["entryTitle","title","seo","metaKeywords","metaDescription"],linkDepth:0,params:[],entryMapper:Oe(Pe)}},{path:"/search/:facet?",exact:!1,component:A},{path:"/news",exact:!0,fetchNode:!0,component:le},{path:"/404",component:ye[404]},{path:"/zenInfo",ssrOnly:!0,component:ye.ZenInfo},{path:"/checkcourses",ssrOnly:!0,component:ee},{path:"/checkmodules",ssrOnly:!0,component:Ie}],ce={ContentTypeMappings:ve,StaticRoutes:$e};var Le=t(72347),De=t(37859),be=t(72972);const Ge="@CONFIG/",Be=`${Ge}GET_SITE_CONFIG`,Xe=`${Ge}SET_SITE_CONFIG`,Je=`${Ge}GET_SITE_CONFIG_ERROR`,et={mainNavigation:{$path:"navigation",$formatting:{label:["title","entryTitle"],uri:"link",levelOneItems:{$path:"navigationItems",$formatting:{label:["title","entryTitle"],uri:"link",levelTwoItems:{$path:"navigationItem",$formatting:{label:["entry.title","title","entryTitle"],uri:["entry.subjectPage","link"]}}}}}},quickLinks:{$path:"quickLinks",$formatting:{title:"title",url:"url"}},topLinks:{$path:"topLinks",$formatting:{title:"title",url:"url"}}},Fe={config:null,entryCopy:null,isReady:!1,isError:!1,error:null},ze=(0,be.jM)((i,y)=>{switch(y.type){case Xe:{const b=(0,a.mapJson)(y.siteConfig,et);i.config=b,i.isReady=!0,i.isError=!1,i.error=null;return}case Je:{i.isError=!0,i.error=y.error;return}default:return i}},Fe);var Te=t(17633);let Qe={countries:[],selectedCountry:null,countryRequirements:[]};const Ke=(0,be.jM)((i,y)=>{switch(y.type){case Te.Qc:{i.countries=y.payload.children;return}case Te.YO:{i.selectedCountry=y.country;return}case Te.HI:{i.countryRequirements=y.payload;return}default:return i}},Qe),ge="@DEFAULT_MESSAGES/",Ze=`${ge}SET_PILLS`,ue=`${ge}SET_GENERIC_COURSE_MESSAGES`,k=`${ge}SET_IMPORTANT_MESSAGES`,N=`${ge}SET_SIDE_BAR_LINKS`,Z=null,u=`${ge}SET_ADDITIONAL_SIDE_BAR_LINKS`,h=`${ge}SET_GLANCE_BAR_MESSAGES`,$=`${ge}CLEAR_DEFAULT_MESSAGES`;let I={coursePills:[],sideBarLinks:[],glanceBarMessages:[],genericCourseMessages:{},additionalSidebarLinks:[],importantMessages:[],isReady:!1};const F=(0,be.jM)((i,y)=>{switch(y.type){case $:return I;case Ze:{i.coursePills=y.pills,i.isReady=!0;return}case N:{i.sideBarLinks=y.links,i.isReady=!0;return}case h:{i.glanceBarMessages=y.glanceBarMessages,i.isReady=!0;return}case u:{i.additionalSidebarLinks=y.additionalLinks,i.isReady=!0;return}case ue:{i.genericCourseMessages=y.genericCourseMessages,i.isReady=!0;return}case k:{i.importantMessages=y.importantMessages,i.isReady=!0;return}default:return i}},I),_="@ROUTING_SET_ENTRY",K="SET_SCHOLARSHIPS",Y="CLEAR_SCHOLARSHIPS";let q={scholarships:[],isReady:!1};const se=(0,be.jM)((i,y)=>{switch(y.type){case Y:return q;case K:{i.scholarships=y.scholarships,i.isReady=!0;return}default:return i}},q),fe="@ROUTING_SET_ENTRY",me="SET_TESTIMONIALS",we="CLEAR_TESTIMONIALS";let ke={testimonials:[],isReady:!1};const Ne=(0,be.jM)((i,y)=>{switch(y.type){case we:return ke;case me:{i.testimonials=y.testimonials,i.isReady=!0;return}default:return i}},ke),Ye="SET_PHD_TOPICS",tt="CLEAR_PHD_TOPICS";let ot={phdTopics:[],isReady:!1};const Tt=(0,be.jM)((i,y)=>{switch(y.type){case tt:return ot;case Ye:{i.phdTopics=y.phdTopics,i.isReady=!0;return}default:return i}},ot),it="SET_PHD_STUDENTSHIPS",lt="CLEAR_PHD_STUDENTSHIPS";let ct={phdStudentships:[],isReady:!1};const kt=(0,be.jM)((i,y)=>{switch(y.type){case lt:return ct;case it:{i.phdStudentships=y.phdStudentships,i.isReady=!0;return}default:return i}},ct),dt="SET_PHD_RESEARCH_GROUPS",ut="CLEAR_PHD_RESEARCH_GROUPS";let mt={phdResearchGroups:[],isReady:!1};const Mt=(0,be.jM)((i,y)=>{switch(y.type){case ut:return mt;case dt:{i.phdResearchGroups=y.phdResearchGroups,i.isReady=!0;return}default:return i}},mt),pt="SET_CPD_MODULES",ht="CLEAR_CPD_MODULES";let rt={cpdModules:[],isReady:!1};const At=(0,be.jM)((i=rt,y)=>{switch(y.type){case ht:return rt;case pt:{i.cpdModules=y.cpdModules,i.isReady=!0;return}default:return i}},rt),gt="SET_CPD_FULL_COURSES",ft="CLEAR_CPD_FULL_COURSES";let yt={cpdFullCourses:[],isReady:!1};const Pt=(0,be.jM)((i,y)=>{switch(y.type){case ft:return yt;case gt:{i.cpdFullCourses=y.cpdFullCourses,i.isReady=!0;return}default:return i}},yt),$t={...{search:(0,Le.reducer)(De.config),siteConfig:ze,countries:Ke,defaultMessages:F,scholarships:se,studentTestimonials:Ne,phdTopics:Tt,phdStudentships:kt,phdResearchGroups:Mt,cpdModules:At,cpdFullCourses:Pt}};var C=t(75953),Re=t(94865),M=t(18737);function Lt(i){const y=(0,Re.j7)(i);let b=[...Nt(y),...It(["siteSettings"])];return new M.XK(...b)}function Nt(i){return[M.Op.equalTo("sys.versionStatus",i)]}function It(i){return i&&i.length>0?[M.Op.in("sys.contentTypeId",...i)]:[M.Op.in("sys.contentTypeId","null")]}const nt="@CONFIG/",xn=null,Dt=`${nt}SET_CLASSIC_NAVIGATION`,Rt=`${nt}GET_SITE_SETTINGS`,Ot=`${nt}SET_SITE_SETTINGS`,st=`${nt}SET_ERROR`,Sn=null,Bt=[(0,C.jP)(Rt,Ft)];function bt(i){return`Saga error: Unable to retrieve ${i}. The API call probably failed. Please check the console for possible clues`}function*Ft(){yield(0,C.Zy)(zt),yield(0,C.Zy)(Ut)}function*zt(){const i=yield(0,C.Lt)(),y=Lt(i);y.pageSize=1;let b;try{b=yield a.deliveryApi.search(y,3,s.Jt.website),b&&b.items?yield(0,C.yJ)({type:Ot,payload:b.items[0]}):yield(0,C.yJ)({type:st,payload:bt("Site Config")})}catch(O){console.log(O),yield(0,C.yJ)({type:st,payload:O.toString()})}}function*Ut(){try{const i=yield(0,C.Lt)(Re.j7),y=yield fetch(E(i)).then(b=>b.json());y?yield(0,C.yJ)({type:Dt,payload:y}):yield(0,C.yJ)({type:st,payload:bt("Classic navigation")})}catch(i){console.error(i),yield(0,C.yJ)({type:st,payload:i.toString()})}}var Ue=t(13379);function jt(i){return[M.Op.equalTo("sys.versionStatus",i),M.Op.or(M.Op.and(M.Op.exists("sys.metadata.includeInSearch",!0),M.Op.equalTo("sys.metadata.includeInSearch",!0)),M.Op.exists("sys.metadata.includeInSearch",!1))]}function Gt(){return[M.Op.equalTo("sys.contentTypeId","courseInternationalEntryEquivalent")]}function Wt(i){return[M.Op.equalTo("country",i)]}function Ht(i,y){let b=[...jt(y),...Gt(),...Wt(i)];const O=new M.XK(...b);return O.pageIndex=0,O}var at=t(6002),_t=t(85898);function Kt(i,y){const b=[];return y?i.length===0?[]:(i.map(O=>{O.entryEquivalents.map(G=>{G.requirement?.title===y&&b.push({title:O.title,equivalent:G.equivalent.replace("contact Admissions",'contact Admissions')})})}),b):[]}const Jt=[(0,C.jP)(Te.YO,Vt)];function*Yt(i){const y=yield(0,C.Lt)(),b=i;if((0,at.X6)(y).length==0&&b.sys.contentTypeId==="course")try{const B=yield _t.wn.getTaxonomyNode("0/1521/1529");yield(0,C.yJ)({type:Te.Qc,payload:B})}catch(B){Ue.warn(B)}}function*Vt(){const i=yield(0,C.Lt)(),y=(0,at.Uv)(i),b=(0,Re.j7)(i);try{try{if(y==="")yield(0,C.yJ)({type:Te.HI,payload:[]});else{const O=Ht(y,b);O.fields=["title","equivalent","entryEquivalents"];let G=0;const B=yield a.cachedSearch.search(O,1);if(B.type=="error")Ue.warn(`Error Executing Query ${JSON.stringify(O)}`),yield(0,C.yJ)({type:Te.HI,payload:{items:[]},duration:G});else{let U=(0,at.mC)(i),re=Kt(B.items,U);re.length==0&&(re=[{equivalent:'Please contact Admissions.'}]),yield(0,C.yJ)({type:Te.HI,payload:re,duration:G}),Ue.info(`${Te.HI} Got Results payload`)}}}catch(O){Ue.warn(O)}}catch{}}var Xt=t(86772);const Qt=[(0,C.jP)(_,vt)];function*vt(i){if(yield(0,C.Lt)(Xt.F))return;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjects?.length>0?i.subjects.map(U=>U.sys.id):[],B=i.level?.length>0?i.level.map(U=>U.key):[];try{const U=new Date,re=new M.XK(M.Op.and(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","scholarships"),M.Op.greaterThanOrEqualTo("expiryDate",U),M.Op.or(M.Op.and(M.Op.equalTo("coursePagePromotion","Only on course(s) selected above"),M.Op.exists("level",!0),M.Op.in("level",...B),M.Op.exists("courseSelection",!0),M.Op.in("courseSelection.sys.id",i.sys.id)),M.Op.and(M.Op.equalTo("coursePagePromotion","Any course matching a level AND a subject selected above"),M.Op.exists("level",!0),M.Op.in("level",...B),M.Op.exists("subjectInformation",!0),M.Op.in("subjectInformation.sys.id",...G)),M.Op.and(M.Op.equalTo("coursePagePromotion","On all course pages matching a level selected above"),M.Op.exists("level",!0),M.Op.in("level",...B)))));re.fields=["sys.id","scholarship","coursePagePromotion","courseSelection","level","subjectInformation","overridingLink","orderPriority"],re.pageSize=1e3,re.orderBy=M.mF.desc("orderPriority").asc("scholarship");const qe=yield a.deliveryApi.search(re,1);yield(0,C.yJ)({type:K,scholarships:qe.items})}catch(U){Ue.warn(U)}}var Zt=t(25737);const qt=[(0,C.jP)(fe,wt)];function*wt(i){if(yield(0,C.Lt)(Zt.K))return;if(!i.testimonials||!i.testimonials.generateTestimonials)return null;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjects?.length>0?i.subjects.map(U=>U.sys.id):[],B=i.level?.length>0?i.level.map(U=>U.key):[];try{const U=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","studentProfile"),M.Op.or(M.Op.in("course.sys.id",i.sys.id).weight(10),M.Op.and(M.Op.exists("level",!0),M.Op.in("level",...B),M.Op.exists("subjectArea",!0),M.Op.in("subjectArea.sys.id",...G)).weight(5)));U.fields=["sys.id","sys.version.published","searchDataTitle","brspMainQuote","searchDataDescription","brspFirstName","brspSurname","subjectArea","overridingLink","brspProfileImage","brspPageCardImage"],U.pageSize=4;const re=yield a.deliveryApi.search(U,1);yield(0,C.yJ)({type:me,testimonials:re.items})}catch(U){Ue.warn(U)}}const en=[...Le.sagas,...Bt,...Jt,...Qt,...qt];var Et=t(83651),tn=t(52546);const Tn=[(0,C.jP)(Be,xt)];function*xt(){const i=yield(0,C.Lt)();try{if(!(0,Et.cG)(i)){const y=yield(0,C.Lt)(tn.rE.selectors.selectVersionStatus),b=new M.XK(M.Op.and(M.Op.equalTo("sys.versionStatus",y),M.Op.or(M.Op.equalTo("sys.contentTypeId",s.Py.config))));b.fields=[...s.C6];const O=yield a.cachedSearch.search(b,4),G=O&&O.items&&O.items.length>0?O.items[0]:null;G?yield(0,C.yJ)({type:Xe,siteConfig:G}):yield(0,C.yJ)({type:Je})}}catch(y){yield(0,C.yJ)({type:Je,error:y.toString()})}}var St=t(80383),nn=t(99088);function*sn({entry:i}){if([s.Py.landing,s.Py.subjectInformation].includes(i?.sys.contentTypeId)){const{content:y}=(0,z.Ay)(i,J),b=[];for(const{id:O,params:G}of y.filter(B=>B._type="newsOrEventsMinilist"))b.push((0,C.T1)(Le.MZ,{context:"minilist",facet:O,params:G,mappers:St.A}));yield(0,C.Q7)(b)}}function*rn({params:i,path:y,staticRoute:b}){const O=y.startsWith("/search"),G=b?.route?.listingType;if(i.courseSearch?i.term=i.courseSearch:i.q&&(i.term=i.q),G===s.WY.events)if(i.selectedDate)i.selectedDate=`${i.selectedDate}T00:00:00--${i.selectedDate}T23:59:59`;else{const B=new Date;i.futureEventDates=`${B.toISOString().split("T")[0]}T00:00:00`}if([s.WY.news,s.WY.newsComments].includes(G)){if(i.newsMonth||i.newsYear){const{from:B,to:U}=(0,nn._J)(i.newsMonth,i.newsYear)||{};B&&U&&(i.newsDate=`${B}--${U}`)}if(i.newsMonth>=1&&i.newsYear===void 0){const U=new Date().getFullYear().toString();i.newsYear=U}}(i.distance||i.joint)&&(i.distance=i.distance==="true"||void 0,i.joint=i.joint==="true"||void 0),(O||G)&&(yield(0,C.T1)(Le.ph,{params:i,mappers:St.A,listingType:G}))}var ie=t(77334),an=t(33821);function*on(i){if(yield(0,C.Lt)(an.Fx))return;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b);if(i?.sys.contentTypeId==="course")try{const B=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","courseMessage"));B.pageSize=100,B.fields=["above","boolean","college","condition","conditionalOperator","conditions","course","courseMessageConditions","courses","department","directEntry","entryTitle","feeNote","feeNotesBelowIsNull","forwardQueryString","hasAnnualFee","hasDistanceLearning","hasMPhilOptionPhD","id","inClearing","includeExclude","itemToOverride","key","level","level","link","main","message","messageContent","pageRenderControls","pathwayCollege","placement","positionAbove","preMastersCourse","renderConditions","style","subjectArea","subjectAreas","sys","tab","tabName","text","title","tuitionFees","type","value"];const U=yield a.cachedSearch.search(B,3);yield(0,C.Zy)(ln,i,U.items)}catch{}}function*ln(i,y){const b=i,O=ie.A.GetPillItems(y,b);yield(0,C.yJ)({type:Ze,pills:O});const G=ie.A.GetSidebarLinks(y,b);yield(0,C.yJ)({type:N,links:G});const B=ie.A.GetGlanceBarMessages(y,b);yield(0,C.yJ)({type:h,glanceBarMessages:B});const U=ie.A.GetAdditionalLinks(b);yield(0,C.yJ)({type:u,additionalLinks:U});const re={aboveFeesMessages:ie.A.GetTabMessages(y,b,"Fees & Funding",!0),belowFeesMessages:ie.A.GetTabMessages(y,b,"Fees & Funding",!1),aboveERMessages:ie.A.GetTabMessages(y,b,"Entry Requirements",!0),belowERMessages:ie.A.GetTabMessages(y,b,"Entry Requirements",!1),aboveIntERMessages:ie.A.GetTabMessages(y,b,"International Entry Requirements",!0),belowIntERMessages:ie.A.GetTabMessages(y,b,"International Entry Requirements",!1),aboveOverviewMessages:ie.A.GetTabMessages(y,b,"Overview",!0),belowOverviewMessages:ie.A.GetTabMessages(y,b,"Overview",!1),aboveTeachingMessages:ie.A.GetTabMessages(y,b,"Teaching & Learning",!0),belowTeachingMessages:ie.A.GetTabMessages(y,b,"Teaching & Learning",!1),aboveAssessmentMessages:ie.A.GetTabMessages(y,b,"Assessment & Feedback",!0),belowAssessmentMessages:ie.A.GetTabMessages(y,b,"Assessment & Feedback",!1),aboveModulesMessages:ie.A.GetTabMessages(y,b,"Course Content",!0),belowModulesMessages:ie.A.GetTabMessages(y,b,"Course Content",!1),aboveResearchSupportMessages:ie.A.GetTabMessages(y,b,"Research Support",!0),belowResearchSupportMessages:ie.A.GetTabMessages(y,b,"Research Support",!1),aboveCareersMessages:ie.A.GetTabMessages(y,b,"Careers & Your Future",!0),belowCareersMessages:ie.A.GetTabMessages(y,b,"Careers & Your Future",!1),aboveWhyBLCMessages:ie.A.GetTabMessages(y,b,"Why 91Ó°ÊÓLanguage Centre",!0),belowWhyBLCMessages:ie.A.GetTabMessages(y,b,"Why 91Ó°ÊÓLanguage Centre",!1)};yield(0,C.yJ)({type:ue,genericCourseMessages:re});const qe=ie.A.GetImportantMessages(y,b);yield(0,C.yJ)({type:k,importantMessages:qe})}var cn=t(27594);function*dn(i){if(yield(0,C.Lt)(cn.c))return;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjectAreas,B=G?.length>0?G.map(U=>U.key):[];try{const U=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","researchPhDProjects"),M.Op.in("subject",...B));U.fields=["entryTitle","supervisorProfile","staffProfiles","sys.id"],U.pageSize=1e3,U.orderBy=M.mF.asc("entryTitle");const re=yield a.cachedSearch.search(U,1);yield(0,C.yJ)({type:Ye,phdTopics:re.items})}catch(U){Ue.warn(U)}}var un=t(9952);function*mn(i){if(yield(0,C.Lt)(un.g))return;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjectAreas,B=G?.length>0?G.map(U=>U.key):[];try{const U=new Date,re=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","studentships"),M.Op.in("subjects",...B),M.Op.greaterThanOrEqualTo("expiryDate",U));re.fields=["entryTitle","sys.id"],re.pageSize=1e3,re.orderBy=M.mF.asc("entryTitle");const qe=yield a.cachedSearch.search(re,1);yield(0,C.yJ)({type:it,phdStudentships:qe.items})}catch(U){Ue.warn(U)}}var pn=t(50559);function*hn(i){if(yield(0,C.Lt)(pn.x))return;const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjectAreas,B=G?.length>0?G.map(U=>U.key):[];try{const U=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","researchGroups"),M.Op.in("subjects",...B));U.fields=["title","externalLinkfull","nodeiD","subjects"],U.pageSize=200,U.orderBy=M.mF.asc("entryTitle");const re=yield a.cachedSearch.search(U,1);yield(0,C.yJ)({type:dt,phdResearchGroups:re.items})}catch(U){Ue.warn(U)}}var Ct=t(84296);function*gn(i){if(!(yield(0,C.Lt)(Ct.W))&&i.cpdGenerateModulesAndFullCourses){const b=yield(0,C.Lt)(),O=(0,Re.j7)(b),G=i.subjectAreas?.length>0?i.subjectAreas.map(B=>B.key):[];try{const B=new M.XK(M.Op.equalTo("sys.versionStatus",O),M.Op.equalTo("sys.contentTypeId","courseModule"),M.Op.equalTo("cpd",!0),M.Op.in("subjectAreas",...G));B.fields=["name","code","description","fees","assessment","startDate","studyMode","fullCourse","title","sys.id"],B.pageSize=1e3,B.orderBy=M.mF.asc("name");const U=yield a.cachedSearch.search(B,1);yield(0,C.yJ)({type:pt,cpdModules:U.items})}catch(B){Ue.warn(B)}}}var fn=t(13668);function*yn(){const i=yield(0,C.Lt)(),y=(0,Re.j7)(i),b=yield(0,Ct.F)(i),O=b.length>0?b.map(G=>G.sys.id):[];try{if(O.length===0)return[];const G=new Headers;G.append("AccessToken","01eHhXozXhd1D4D6I8jLVJqytHX2dxJN8KfEnl3WQOLmAixI"),G.append("Content-Type","application/json");const B=JSON.stringify({pageIndex:0,pageSize:100,where:[{field:"sys.dataFormat",equalTo:"entry"},{field:"sys.contentTypeId",equalTo:"course"},{field:"sys.versionStatus",equalTo:y},{field:"level",contains:"0/2/24/28/44"},{field:"_fieldData.links",objectArrayQuery:[{field:"id",in:[...O]}]}],fields:["entryTitle","sys","level"]});return yield fetch("https://cms-brunel.cloud.contensis.com/api/delivery/projects/website/entries/search",{method:"POST",headers:G,body:B,redirect:"follow"}).then(re=>re.text()).then(re=>JSON.parse(re).items).catch(re=>console.info("error",re))}catch(G){Ue.warn(G)}}function*bn(i){if(!(yield(0,C.Lt)(fn.c))&&i.cpdGenerateModulesAndFullCourses){const b=yield(0,C.T1)(yn);let O=[];const G=async()=>{for(const B of b){const U=B.sys.uri,re=B.sys.id,qe=B.entryTitle;O.push({id:re,title:qe,url:U})}};yield(0,C.T1)(G),yield(0,C.yJ)({type:gt,cpdFullCourses:O})}}var vn=t(68786);const wn={routes:ce,stateType:"js",withReducers:$t,withSagas:en,withEvents:{onRouteLoad:function*({path:y,location:b,statePath:O}){(yield(0,C.Lt)(Et.cG))||(yield(0,C.T1)(xt));const B="/study/courses";return{customNavigation:{ancestors:!0,children:!1,siblings:!1,tree:!1},entryLinkDepth:1,preventScrollTop:!!y.includes(B)}},onRouteLoaded:function*({path:y,entry:b,location:O,staticRoute:G}){const B=(0,vn.ru)({...l(G),...r(O&&O.search)});O.pathname.startsWith("/study/courses")&&O.search==="?clearing"&&(B.clearing="true"),B.distanceLearning&&(B.distanceLearning=B.distanceLearning.toLowerCase()),B.jointHonors&&(B.jointHonors=B.jointHonors.toLowerCase()),yield(0,C.T1)(sn,{entry:b}),yield(0,C.T1)(rn,{params:B,path:y,staticRoute:G});const U=yield(0,C.Lt)(Re.CL);b&&b?.sys?.id!=U?.sys?.id&&b?.sys?.contentTypeId==="course"&&(yield(0,C.yJ)({type:$}),yield(0,C.yJ)({type:Y}),yield(0,C.yJ)({type:we}),yield(0,C.yJ)({type:tt}),yield(0,C.yJ)({type:lt}),yield(0,C.yJ)({type:ut}),yield(0,C.yJ)({type:ht}),yield(0,C.yJ)({type:ft})),b&&b?.sys?.contentTypeId==="course"&&(yield(0,C.T1)(Yt,b),yield(0,C.T1)(on,b),yield(0,C.T1)(vt,b),yield(0,C.T1)(wt,b),yield(0,C.T1)(dn,b),yield(0,C.T1)(mn,b),yield(0,C.Zy)(hn,b),yield(0,C.T1)(gn,b),yield(0,C.Zy)(bn,b))}}};new e.A(f.A,wn)},32645:()=>{"use strict"},42634:()=>{}},j=>{var x=e=>j(j.s=e);j.O(0,[502],()=>(x(32645),x(65669)));var t=j.O()}]);