"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[148],{5570:(ni,ce,m)=>{m.r(ce),m.d(ce,{default:()=>Vn});var e=m(8322),$=m(3266),de=m(2546),v=m(2333),Re=m(1029),s=m(7115),Me=m(5141);const me=s.Ay.div` ${({theme:{colors:t,spacing:n}})=>(0,s.AH)` display: flex; flex-direction: row; gap: ${n.m}; overflow: hidden; padding-left: ${n.l}; .course-modules__tabs { display: flex; flex-direction: column; gap: ${n.s}; width: 100%; position: relative; } .course-modules__reqiurements-title { display: block; padding: ${n.s} ${n.xxxs} ${n.xxs} ${n.xxxs}; color: ${t.light.brand.burgundy}; } .course-modules__tab-button { background: none; color: ${t.light.brand.midBlue}; text-decoration: underline; border: none; font-weight: 700; cursor: pointer; transition: all 200ms ease; &:hover, &:focus-visible { color: ${t.light.brand.darkBlue}; outline-offset: 2px; transition: all 200ms ease; } } .course-modules__text { padding: ${n.xs} ${n.xxxs}; } .course-modules__tabs { position: relative; } .course-modules__tab::before { content: ''; position: absolute; top: 3px; left: -40px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid ${t.light.brand.lightBlue}; background-color: ${t.light.neutral.white}; cursor: pointer; } .course-modules__tab.active::before { outline: 2px solid ${t.light.brand.lightBlue}; border: 2px solid ${t.light.neutral.white}; background-color: ${t.light.brand.lightBlue}; } .course-modules__tab { position: relative; } .course-modules__tabs::before { content: ''; position: absolute; width: 2px; height: calc(100% - 6px); background: ${t.light.brand.lightBlue}; top: 3px; left: -31px; } .course-modules__tab.active:last-child::after { content: ''; position: absolute; width: 15px; height: 2px; background: ${t.light.brand.lightBlue}; top: calc(100% - 4px); left: -38px; } `} `,pe=s.Ay.nav` ${({theme:{colors:t,spacing:n,mq:i}})=>(0,s.AH)` z-index: 100; width: 100%; background-color: ${t.light.brand.lightestGold}; @media ${i.min.px.laptop} { display: grid; grid-template-columns: minmax(var(--grid-gutter), 1fr) minmax(100px, 37.5rem) minmax(100px, 37.5rem) minmax(var(--grid-gutter), 1fr); } .u-container { display: flex; justify-content: space-between; align-items: flex-start; } .scroll-container { padding-inline: var(--grid-gutter); @media ${i.min.px.laptop} { padding: 0; grid-area: 1 / 2 / 1 / none; } } .course-nav__nav-container { display: flex; align-items: flex-start; gap: ${n.s}; padding: 0; list-style: none; } .course-nav__nav-item { display: inline-block; text-underline-offset: ${n.s}; } .course-nav__nav-link { display: flex; position: relative; padding: ${n.s} 0; height: 100%; inline-size: max-content; color: ${t.light.brand.darkBlue}; font-weight: 700; text-decoration: none; transition: color 0.3s ease; cursor: pointer; &::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 4px; background: ${t.light.brand.burgundy}; transition: width 0.3s ease; } &:hover::after, &.course-nav__nav-link--active::after { width: 100%; } } `} `,je=s.Ay.div` ${({theme:{mq:t,colors:n,spacing:i}})=>(0,s.AH)` .flow > * + * { margin-block-start: 2em; } .u-container { max-width: var(--grid-max-width); padding-inline: var(--grid-gutter); margin-inline: auto; } .u-grid { display: flex; flex-direction: column-reverse; @media ${t.min.px.laptop} { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-areas: 'content content content content content content content content . aside aside aside'; } } .course-body { max-width: var(--grid-max-width); margin-block-start: var(--space-l-xl); margin-inline: auto; } .course-body__content { padding-block-end: var(--space-xl-2xl); @media ${t.min.px.laptop} { grid-area: content; } } .course-body__aside { margin-block-start: 0; margin-block-end: var(--space-xl-2xl); @media ${t.min.px.laptop} { grid-area: aside; } } h1, h2, h3, h4, h5, h6 { color: ${n.light.brand.darkBlue}; } .lead { font-weight: 600; } blockquote { margin-block-start: var(--space-xl-2xl); } .content-slider { overflow: visible; } .highlights-slider { ::before { content: ''; display: block; height: 100%; width: 100%; background-color: ${n.light.brand.lightestGold}; } } ${pe} { position: sticky; top: 0; } ${Me.A} { position: sticky; top: 120px; bottom: 80px; } .unistats { padding-block: var(--space-xl-2xl); background-color: ${n.light.brand.lightestGold}; } .unistats-container { display: flex; flex-direction: column; gap: ${i.s}; } .contact-section__container { display: flex; flex-direction: column; gap: ${i.s}; } .related-courses { margin: 0; padding-block: var(--space-xl-2xl); background-color: ${n.light.brand.lightGold}; h2 { margin-block-end: 0.5em; } } ${me} { margin-block-start: var(--space-m-l); margin-block-end: var(--space-l-xl); } .chat-button-container { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; gap: ${i.s}; margin-block: ${i.s}; padding: ${i.s}; background-color: ${n.light.brand.lighterBlue}; @media ${t.min.px.tablet} { flex-direction: row; } } .statistics { @media ${t.min.px.tablet} { display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; gap: 2em; } @media screen and (min-width: 1200px) { flex-flow: row nowrap; } .statistic { margin-block-end: 2rem; flex: 1 1 50%; @media ${t.min.px.tablet} { flex: 1 1 100%; } @media screen and (min-width: 1200px) { flex: 1 1 50%; } } } `} `;var S=m(2301),Q=m(9289),Pe=m(5466);function ue(t,n={}){return{type:t,...n}}const li=()=>ue(GET_COURSE_CONFIG),Le=t=>ue(Pe.J9,{id:t}),X={placementAvailable:"Placement available",studyAbroadAvailable:"Study abroad available",contactMessage:"If you have any questions, please get in touch. We're here to help you every step of the way.",ucasTariff:"UCAS tariff points required:",chatButtonMessage:"Need help with Clearing? Chat with us now"};var De=m(7145),Ve=m(118),Ge=m(2040),Ue=m(9703),Ye=m(499);const Ie=({links:t,activeSection:n,setActiveSection:i})=>{const r=(0,$.d4)(de.DT.selectors.selectCurrentLocation);if((0,e.useEffect)(()=>{const o=document.querySelector(".course-nav__nav-link--active");o&&o.scrollIntoView({inline:"center"})},[n]),!t||t.length<=0)return null;const l=o=>{i(o),"ontouchend"in window&&(window.location.hash=o)},a=o=>{const c=o.getBoundingClientRect().top+window.pageYOffset,p=-100;window.scrollTo({top:c+p,behavior:"smooth"})};return e.createElement(pe,{className:"course-navigation","aria-label":"Course navigation"},e.createElement(Ye.A,{className:"scroll-container"},e.createElement("ol",{className:"course-nav__nav-container"},t.map((o,c)=>!o.path||!o.children?null:e.createElement("li",{key:c,className:"course-nav__nav-item"},e.createElement(Ue.Vq,{to:{...r,hash:o.path},scroll:p=>a(p),className:`h6 course-nav__nav-link ${o.path===n?"course-nav__nav-link--active":""}`,onClick:()=>o.path?l(o.path):null},o.children))))))};var We=m(2774),E=m(1541),_=m(5703);const Ke=(0,s.AH)` .swiper-container-fade.swiper-container-free-mode .swiper-slide { transition-timing-function: ease-out; } .swiper-container-fade .swiper-slide { pointer-events: none; transition-property: opacity; } .swiper-container-fade .swiper-slide .swiper-slide { pointer-events: none; } .swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active { pointer-events: auto; } `,Qe=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},sliderTheme:r="gold"})=>{const l=(0,_.DF)(r);return(0,s.AH)` position: relative; padding-bottom: 28px; @media ${n.min.px.tablet} { padding-bottom: 64px; } .slider__wrapper { position: relative; } .swiper-container { margin-left: auto; margin-right: auto; position: relative; list-style: none; padding: 0; z-index: 1; } .slider__content-container { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; background-color: ${l}; min-height: 460px; min-width: 320px; max-width: 320px; padding: ${i.s}; position: absolute; top: 80px; right: 0; z-index: 2; border-radius: 0px 50px 0px 50px; @media ${n.min.px.tablet} { min-width: 370px; max-width: 470px; } @media ${n.min.px.largeDesktop} { min-width: 370px; max-width: 370px; } } .slider__title { color: ${r==="darkBlue"?t.light.neutral.white:t.light.neutral.black}; font-family: 'Bebas Neue', sans-serif; font-weight: 400; } .slider__text-container { display: flex; flex-direction: column; gap: ${i.xs}; color: ${r==="darkBlue"?t.light.neutral.white:t.light.neutral.black}; } .slider__description { text-align: left; font-weight: 600; p { text-align: left; font-weight: 600; } } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; } .swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; } /* Auto Height */ .swiper-container-autoheight { &, .swiper-slide { height: auto; } .swiper-wrapper { align-items: flex-start; transition-property: transform, height; } } ${Ke}; .swiper-arrow-controls { z-index: 2; } .swiper-slide-active { z-index: 99; } .swiper-slide-next { .swiper-slide img { border-radius: 0px 50px 0px 0px; @media ${a=>a.theme.mq.min.px.tablet} { border-radius: 0px 50px 0px 0px; } } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${a=>a.theme.colors.light.neutral.white}; } .swiper-next { border: 2px solid ${a=>a.theme.colors.light.neutral.white}; color: ${a=>a.theme.colors.light.brand.midBlue}; } .swiper-arrow { position: relative; display: inline-block; padding: 0.5rem; margin: 0.5rem; border: none; border-radius: 50%; color: ${a=>a.theme.colors.light.brand.midBlue}; background-color: white; transition: all ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { color: white; background-color: ${a=>a.theme.colors.light.brand.darkBlue}; transition: all ease-in-out 150ms; /* transform: scale(1.1); */ } &:disabled { cursor: not-allowed; color: white; background-color: rgba(0, 0, 0, 0.4); } } .swiper-pagination { font-size: 0; line-height: 0; text-align: center; z-index: 2; } .swiper-pagination-bullet { position: relative; display: inline-block; border: 1px solid white; border-radius: 50%; height: 1rem; width: 1rem; margin: 0.5rem; background-color: rgba(0, 0, 0, 0.4); transition: background-color ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { background-color: ${a=>a.theme.colors.light.brand.gold}; opacity: 1.2; transition: background-color ease-in-out 150ms; } } .swiper-pagination-bullet-active { background-color: white; transition: background-color ease-in-out 150ms; } .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${a=>a.theme.mq.min.px.largeDesktop} { height: 16px; width: 16px; } } .slider__navigation-container { display: flex; align-items: center; justify-content: space-between; gap: ${a=>a.theme.spacing.xxs}; width: 100%; .slider__pagination-container { display: flex; gap: ${a=>a.theme.spacing.xxxs}; .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${a=>a.theme.mq.min.px.largeDesktop} { height: 16px; width: 16px; } } } .swiper-arrow-controls { display: flex; .swiper-arrow { display: flex; align-items: center; border-radius: 50%; cursor: pointer; padding: ${a=>a.theme.spacing.xxxs}; max-height: 42px; max-width: 42px; transition: transform 0.3s ease-in-out; &:hover { transform: scale(1.1); } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${a=>a.theme.colors.light.neutral.white}; } .swiper-next { background-color: ${a=>a.theme.colors.light.neutral.white}; border: 2px solid ${a=>a.theme.colors.light.neutral.white}; color: ${a=>a.theme.colors.light.brand.midBlue}; } } } .slider__image-container { position: relative; height: 100%; width: 100%; ::before { background-color: ${l}; content: ''; position: absolute; left: -64px; bottom: 0; width: 66px; height: calc(100% - 80px); z-index: -1; } } .slider__image { height: 100%; width: 100%; height: 300px; max-width: 580px; object-fit: cover; object-position: top; @media ${n.min.px.tablet} { height: 460px; max-width: 520px; } } `}} `;var Xe=m(8981),Je=m(4646);const Ze=(0,s.AH)` .swiper-container-fade.swiper-container-free-mode .swiper-slide { transition-timing-function: ease-out; } .swiper-container-fade .swiper-slide { pointer-events: none; transition-property: opacity; } .swiper-container-fade .swiper-slide .swiper-slide { pointer-events: none; } .swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active { pointer-events: auto; } `,qe=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},sliderTheme:r="blue"})=>{const l=(0,_.DF)(r);return(0,s.AH)` display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative; ::before { content: ''; position: absolute; bottom: 0; left: unset; right: unset; width: calc(100% + (var(--grid-gutter) * 2)); height: 98%; background-color: ${l}; } .swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; } /* Auto Height */ .swiper-container-autoheight { &, .swiper-slide { height: auto; } .swiper-wrapper { align-items: flex-start; transition-property: transform, height; } } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; } ${Ze}; .swiper-arrow-controls { z-index: 2; } .swiper-pagination { font-size: 0; line-height: 0; text-align: center; z-index: 2; } .swiper-pagination-bullet { position: relative; display: inline-block; border: 1px solid white; border-radius: 50%; height: 1rem; width: 1rem; margin: 0.5rem; background-color: rgba(0, 0, 0, 0.4); transition: background-color ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { background-color: ${a=>a.theme.colors.light.brand.gold}; opacity: 1.2; transition: background-color ease-in-out 150ms; } } .swiper-pagination-bullet-active { background-color: white; transition: background-color ease-in-out 150ms; } .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${a=>a.theme.mq.min.px.largeDesktop} { height: 16px; width: 16px; } } .swiper-slide-active { z-index: 99; } .slider-mobile__image-container { width: 100%; z-index: 1; } .slider-mobile__image { object-fit: cover; object-position: top; width: 100%; height: 180px; @media ${n.min.px.mobile} { height: 300px; object-position: center; } } .slider-mobile__content-container { display: flex; flex-direction: column; gap: ${i.xxs}; position: relative; height: 100%; } .slider-mobile__title { width: max-content; padding-top: ${i.xxs}; color: ${t.light.neutral.black}; font-family: 'Bebas Neue', sans-serif; font-weight: 400; } .slider-mobile__navigation-container { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: ${i.xxs} 0; height: 100%; width: 100%; gap: ${i.xs}; } .slider-mobile__navigation-container > * { min-width: 0; } .slider-mobile__description { min-height: 140px; -webkit-font-smoothing: subpixel-antialiased; color: ${r==="darkBlue"?t.light.neutral.white:t.light.neutral.black}; font-weight: 600; } .slider-mobile__button-container { display: flex; align-items: center; justify-content: space-between; gap: ${i.xxs}; } .slider-mobile__button-prev, .slider-mobile__button-next { display: flex; align-items: center; border-radius: 50%; cursor: pointer; padding: ${i.xxxs}; max-height: 42px; max-width: 42px; } .slider-mobile__button-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${t.light.neutral.white}; } .slider-mobile__button-next { background-color: ${t.light.neutral.white}; border: 2px solid ${t.light.neutral.white}; color: ${t.light.brand.midBlue}; } `}} `;var P=m(2047),L=m(3383),D=m(5839),V=m(6211),G=m(2541),U=m(4689),Y=m(3983),w=m(8401);D.A.use([V.A,G.A,U.A,Y.A]);const et=({id:t})=>e.createElement("div",{className:"swiper-arrow-controls slider-mobile__button-container"},e.createElement("button",{className:"swiper-prev swiper-arrow slider-mobile__button-prev"},e.createElement(E.A,{icon:"arrowLeft",size:30})),e.createElement("button",{className:"swiper-next swiper-arrow slider-mobile__button-next",id:`swiper-next-${t}`},e.createElement(E.A,{icon:"arrowRight",size:30}))),tt=()=>e.createElement("div",{className:"swiper-pagination"}),nt=({highlights:t,sliderTheme:n="gold",id:i,currentIndex:r,setCurrentIndex:l})=>{const a={autoHeight:!0,slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0},loop:!1,preventClicks:!1,preventClicksPropagation:!1};return e.createElement(qe,{sliderTheme:n,className:"slider"},e.createElement("div",{className:"slider-mobile__image-container"},e.createElement("div",{className:"slider"},e.createElement(P.R,{...a,onSlideChange:o=>l(o.activeIndex)},t.map((o,c)=>e.createElement(L.q,{key:c},e.createElement("div",{className:"swiper-slide"},e.createElement("img",{className:"slider-mobile__image",src:o.image.src,alt:o.image.alt,"aria-label":`slide ${r+1} of ${t.length}`})))),e.createElement("div",{className:"slider-mobile__content-container"},e.createElement("div",{className:"h3 slider-mobile__title"},t[r].title),t[r].summary?e.createElement(w.VK,{className:"slider-mobile__description",text:t[r].summary}):e.createElement("p",{className:"slider-mobile__description"},t[r].description),e.createElement("div",{className:"slider-mobile__navigation-container"},e.createElement(tt,null),e.createElement(et,{id:i})))))))};var J=m(3652);D.A.use([V.A,G.A,U.A,Y.A]);const it=({id:t})=>e.createElement("div",{className:"swiper-arrow-controls"},e.createElement("button",{className:"swiper-prev swiper-arrow"},e.createElement(E.A,{icon:"arrowLeft",size:30})),e.createElement("button",{className:"swiper-next swiper-arrow",id:`swiper-next-${t}`},e.createElement(E.A,{icon:"arrowRight",size:30}))),rt=()=>e.createElement("div",{className:"swiper-pagination"}),at=t=>e.createElement("div",{className:"swiper-slide"},e.createElement("div",{className:"slider__image-container"},e.createElement("img",{className:"slider__image",src:t.image?.src,alt:t.image?.alt,"aria-label":"slide of highlights"}))),lt=({highlights:t,sliderTheme:n="gold",id:i="highlights slider"})=>{const{width:r}=(0,Xe.l)(),l={autoHeight:!0,slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0},loop:!1,preventClicks:!1,preventClicksPropagation:!1},[a,o]=(0,e.useState)(0);return r>=Je.fi.px.tablet?e.createElement(Qe,{sliderTheme:n,className:"slider",id:"highlights"},e.createElement("div",{className:"slider__wrapper"},e.createElement(P.R,{className:"highlight-slider__container",...l,onSlideChange:c=>o(c.activeIndex)},t.map((c,p)=>e.createElement(L.q,{key:p},e.createElement(at,{...c}))),e.createElement("div",{className:"slider__content-container"},e.createElement("div",{className:"slider__text-container"},e.createElement("span",{className:"h3 slider__title"},t[a].title),t[a].summary?e.createElement(J.default,{className:"slider__description",text:t[a].summary}):e.createElement("p",{className:"slider__description"},t[a].description)),e.createElement("div",{className:"slider__navigation-container"},e.createElement(rt,null),e.createElement(it,{id:i})))))):e.createElement(nt,{highlights:t,sliderTheme:n,currentIndex:a,setCurrentIndex:o,id:i})};var Z=m(4984),he=m(7838);const ot=s.Ay.address` ${({theme:{colors:t,spacing:n}})=>(0,s.AH)` display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-m-xl, ${n.m}); padding: var(--space-m-l, ${n.s}); background-color: ${t.light.brand.lighterBlue}; font-style: normal; text-align: center; `} `;var q=m(7820);const st=({title:t,email:n,phoneNumber:i})=>t?e.createElement(ot,null,e.createElement("p",{className:"h6 callout-card__title"},t),n&&e.createElement(q.A,{className:"callout-card__email",path:`mailto:${n}`},n),i&&e.createElement(q.A,{className:"callout-card__phone-number",path:`tel:+44${i}`},i)):null,ct=s.Ay.div` ${({theme:{colors:t,spacing:n,mq:i},align:r})=>(0,s.AH)` display: flex; flex-wrap: wrap; gap: var(--space-l-xl, ${n.s}); align-items: center; justify-content: ${r==="start"?"flex-start":"center"}; @media ${i.min.px.tablet} { flex-wrap: nowrap; align-items: flex-start; justify-content: normal; } .profile__content-container { display: flex; flex-direction: column; gap: var(--space-xs-s, ${n.xxxs}); } .profile__title, .profile__role { color: ${t.light.brand.darkBlue}; text-align: ${r==="start"?"left":"center"}; @media ${i.min.px.tablet} { text-align: left; } } .profile__thumbnail { width: 170px; height: 170px; min-width: 170px; object-fit: cover; object-position: top; } .profile__email { padding-block-start: var(--space-3xs-2xs, ${n.xxxs}); max-width: max-content; } `} `,ge=({thumbnail:t,name:n,bio:i,role:r,email:l,className:a,align:o})=>{const c=(0,$.d4)(Q.Iz);return n?e.createElement(ct,{className:a,align:o??"center"},t||c?e.createElement("img",{className:"profile__thumbnail",src:t&&t.src?t.src:c?.src,alt:t&&t.alt?t.alt:c?.alt}):null,e.createElement("div",{className:"profile__content-container"},e.createElement("h3",{className:"h2 profile__title"},n),i&&e.createElement(J.default,{className:"flow",text:i}),r&&e.createElement("p",{className:"h5 profile__role"},r),l&&e.createElement(q.A,{className:"profile__email",path:`mailto:${l}`},l))):null};var I=m(6638);const dt=({title:t,id:n,mode:i="FullTime",className:r})=>((0,e.useEffect)(()=>{(function(l){"use strict";const a=l.createElement("script");a.id="unistats-widget-script",a.src="https://widget.discoveruni.gov.uk/widget/embed-script.js";const o=l.getElementsByTagName("script")[0];l.getElementById("unistats-widget-script")||o?.parentNode?.insertBefore(a,o)})(document)},[n]),n?e.createElement(mt,{className:r},e.createElement("div",{title:t,id:(0,I.Y)(t),className:"kis-widget","data-institution":"10007139","data-course":n,"data-kismode":i,"data-orientation":"responsive","data-language":"en-GB"})):null),mt=s.Ay.div` overflow: hidden; `,pt=dt;var ut=m(6706),ht=m.n(ut);const gt={overlay:{backgroundColor:"rgba(0, 0, 0, 0.75)"},content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)",minWidth:"300px",minHeight:"300px",height:"auto",width:"auto",backgroundColor:"#ffffff",padding:"1rem"}},ft=({children:t,modalTitle:n,isOpen:i,setOpen:r})=>e.createElement(ht(),{isOpen:i,onRequestClose:()=>r(!1),contentLabel:"Modal",style:gt},n&&e.createElement(bt,null,n),e.createElement(xt,null,t),e.createElement(wt,{onClick:()=>r(!1)},e.createElement("span",{className:"sr-only"},"Close modal"),e.createElement(E.A,{icon:"close",size:24}))),bt=s.Ay.h1` padding-top: ${({theme:t})=>t.spacing.s}; margin-block-end: 0.5em; text-align: center; `,xt=s.Ay.div` height: 100%; margin: 0 auto; .modal-image { cursor: pointer; max-width: 60vw; max-height: 80vh; width: 100%; height: auto; @media (min-width: 768px) { min-height: 300px; min-width: 300px; } @media (min-width: 900px) { min-height: 500px; min-width: 500px; } } .modal-image-caption { font-weight: 500; text-align: center; padding: 1rem 0rem 0rem 0rem; } .form-modal { min-height: 350px; @media (min-width: 768px) { min-height: 450px; min-width: 550px; } @media (min-width: 900px) { min-height: 600px; min-width: 600px; } } `,wt=s.Ay.button` position: absolute; top: 0; right: 0; padding: 1rem; margin-bottom: 2rem; border: none; background-color: ${({theme:t})=>t.colors.light.neutral.white}; cursor: pointer; `,fe=ft,vt=(0,s.i7)` 0% { opacity: 0; } 100% { opacity: 1; } `,Et=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},slideFrom:r})=>(0,s.AH)` overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--space-l-xl, ${i.s}); padding: var(--space-l-xl, ${i.s}); border: 1px solid ${t.light.brand.lightGold}; border-radius: 0 50px 0 50px; width: 100%; text-align: center; @media ${n.min.px.tablet} { text-align: left; flex-direction: row; } .accreditation-slider__container { display: flex; flex-direction: column; align-items: center; gap: var(--space-m-l, ${i.s}); animation: ${r==="right"||r==="left"?vt:"none"} 0.7s ease-in-out forwards; @media ${n.min.px.tablet} { flex-direction: row; } .accreditation-slider__image { width: 128px; } .accreditation-slider__title { flex-grow: 1; } @media ${n.min.px.tablet} { :focus-visible { outline: 2px solid ${t.light.brand.darkBlue}; outline-offset: 0; } } } .accreditation-slider__button-container { display: flex; align-items: center; justify-content: center; gap: ${i.xxs}; .accreditation-slider__button-prev, .accreditation-slider__button-next { display: flex; align-items: center; border-radius: 50%; cursor: pointer; padding: ${i.xxxs}; max-height: 42px; max-width: 42px; transition: transform 0.3s ease-in-out; &:hover { transform: scale(1.1); } } .accreditation-slider__button-prev { background-color: ${t.light.neutral.white}; border: 2px solid ${t.light.brand.darkBlue}; color: ${t.light.brand.darkBlue}; } .accreditation-slider__button-next { background-color: ${t.light.brand.midBlue}; border: 2px solid ${t.light.brand.midBlue}; color: ${t.light.neutral.white}; } .accreditation-slider__icon { min-height: 24px; min-width: 24px; } } `} `,yt=({accreditations:t})=>{const[n,i]=(0,e.useState)(0),[r,l]=(0,e.useState)(""),a=(0,e.useRef)(null),[o,c]=(0,e.useState)(0),p=()=>{l(""),setTimeout(()=>{i((n+1)%t.length),l("right"),a.current&&a.current.focus()},200)},b=()=>{l(""),setTimeout(()=>{i((n-1+t.length)%t.length),l("left"),a.current&&a.current.focus()},200)},f=x=>{c(x.touches[0].clientX)},g=x=>{const M=x.touches[0].clientX,A=o-M;Math.abs(A)>50&&(A>0?p():b())};return e.createElement(Et,{slideFrom:r},e.createElement("div",{className:"accreditation-slider__container",tabIndex:-1,ref:a,onTouchStart:f,onTouchMove:g},e.createElement("img",{className:"accreditation-slider__image",src:t[n].image.src,alt:t[n].image.alt,"aria-label":`slide ${n+1} of ${t.length}`}),e.createElement("div",{className:"h5 accreditation-slider__title"},t[n].title)),t.length>1&&e.createElement("div",{className:"accreditation-slider__button-container"},e.createElement("p",{className:"h6 slider-counter"},`0${n+1}/0${t.length}`),e.createElement("button",{className:"accreditation-slider__button-prev",onClick:b,"aria-label":"Previous slide"},e.createElement(E.A,{className:"accreditation-slider__icon",icon:"arrowLeft",size:24})),e.createElement("button",{className:"accreditation-slider__button-next",onClick:p,"aria-label":"Next slide"},e.createElement(E.A,{className:"accreditation-slider__icon",icon:"arrowRight",size:24}))))},$t=s.Ay.figure` ${({theme:{colors:t,spacing:n,mq:i}})=>(0,s.AH)` .statistic__container { display: flex; align-items: center; gap: var(--space-s-m); } .statistic__orb { --orb-size: 170px; height: var(--orb-size); min-height: var(--orb-size); width: var(--orb-size); min-width: var(--orb-size); padding: ${n.s}; border-radius: 50%; background-color: ${t.light.brand.darkBlue}; color: ${t.light.brand.lightGold}; font-weight: 600; overflow: hidden; font-family: 'Bebas Neue', sans-serif; transition: font-size 0.2s ease-in-out; .statistic__text { font-size: var(--step-8); font-weight: 400; transition: font-size 0.2s ease-in-out; } &.percentage, &.date, &.top, &.none { display: flex; align-items: center; justify-content: center; } &.top { flex-direction: column; line-height: 1; } &.none { text-align: center; } } .statistic__information { text-align: left; text-wrap: balance; &.no-orb { max-width: 352px; } } .statistic__no-orb { color: ${t.light.brand.gold}; } &.orb .statistic__container { flex-direction: column; @media ${i.min.px.mobile} { flex-direction: row; } } .statistic__source { margin-top: ${n.xxs}; color: ${t.light.neutral.grey80}; font-size: var(--step--0); text-align: left; @media ${i.min.px.tablet} { text-align: center; } } `} `,_t=({statistic:t,statContext:n,statInfo:i,source:r,isOrb:l=!0})=>{if(!t)return null;let a;switch(n){case"%":a=e.createElement("div",{className:"statistic__orb percentage"},e.createElement("span",{className:"statistic__text"},t),e.createElement("span",{className:"h4 statistic__context"},"%"));break;case"st":case"nd":case"rd":case"th":a=e.createElement("div",{className:"statistic__orb date"},e.createElement("span",{className:"statistic__text"},t),e.createElement("span",{className:"h4 statistic__context"},n));break;case"Top":a=e.createElement("div",{className:"statistic__orb top"},e.createElement("span",{className:"h4 statistic__context"},n),e.createElement("span",{className:"statistic__text"},t));break;default:a=l&&e.createElement("div",{className:"statistic__orb none"},e.createElement("span",{className:"h4"},t))}return e.createElement($t,{className:`statistic ${l?"orb":"no-orb"}`},e.createElement("div",{className:"statistic__container"},l?e.createElement(e.Fragment,null,a,i&&e.createElement("p",{className:"h3 statistic__information"},i)):e.createElement("p",{className:"h3 statistic__information"},e.createElement("span",{className:"statistic__no-orb"},t," "),i&&i)),r&&e.createElement("figcaption",{className:"p statistic__source"},r))},kt=({title:t,message:n})=>!t||!n?null:e.createElement(Nt,{className:"flow"},e.createElement(St,null,e.createElement("h2",null,t),e.createElement(w.Hl,{data:n}))),Nt=s.Ay.div` position: relative; ::before { @media ${t=>t.theme.mq.min.px.laptop} { content: ''; z-index: -1; position: absolute; top: 0; right: unset; width: 100%; height: 100%; background: ${t=>t.theme.colors.light.brand.lighterBlue}; left: -64px; width: calc(100% + 64px); } } `,St=s.Ay.div` position: relative; display: flex; flex-direction: column; gap: ${t=>t.theme.spacing.xxs}; padding: ${t=>t.theme.spacing.m}; background: ${t=>t.theme.colors.light.brand.lighterBlue}; width: 100%; @media ${t=>t.theme.mq.min.px.laptop} { padding: ${t=>t.theme.spacing.l} 0; width: calc(100% - 2 * ${t=>t.theme.spacing.xs}); background: none; } `,Ct=kt,At=({id:t,summary:n,statistics:i,accrediations:r,accreditationContent:l,promoMessage:a})=>{const o=(0,$.d4)(S.EV);return!o&&!n&&!i&&!r&&!l?null:e.createElement(Bt,{id:t,className:"flow"},o||n?e.createElement("p",{className:"lead"},o??n):null,i&&e.createElement("div",{className:"statistics"},i.map((c,p)=>e.createElement(_t,{key:p,...c}))),r&&e.createElement(yt,{...r}),l&&e.createElement(w.Hl,{data:l}),a&&!a.hideCourseMessage&&e.createElement(Ct,{...a}),e.createElement("hr",null))},Bt=s.Ay.section``,Ht=At,zt=s.Ay.div` ${({theme:{colors:t},videoTheme:n="gold"})=>{const i=(0,_.DF)(n),r={gold:t.light.brand.lightGold,lightGold:t.light.brand.gold,blue:t.light.brand.lightBlue,lightBlue:t.light.brand.midBlue,darkBlue:t.light.brand.midBlue,lightGrey:t.light.neutral.lightGrey,darkGrey:t.light.neutral.grey,lighterGold:t.light.brand.lightGold}[n];return(0,s.AH)` position: relative; .video { position: relative; max-height: 500px; width: 100%; aspect-ratio: 16 / 9; iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none; margin: 0; padding: 0; } } button { display: block; position: relative; padding: 0; border: 0; width: 100%; height: 100%; background: none; cursor: pointer; } .youtube-play-btn { position: absolute; z-index: 10; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; display: block; padding: 0; margin: 0 auto; user-select: none; background-color: ${i}; transition: background-color 0.5s ease; border-radius: 5px; &:after { position: absolute; top: calc(50% - 15px); left: calc(50% - 8px); content: ''; border-color: transparent transparent transparent #fff; border-style: solid; border-width: 14px 0 14px 20px; } &:hover { background-color: ${r}; } } img { display: block; height: 100%; width: 100%; aspect-ratio: 16/9; object-fit: fill; } `}} `,be=t=>{const n=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,i=t.match(n);return i&&i[2].length==11?i[2]:null},Ft=t=>{const n=/(http|https)?:\/\/(www\.|player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|video\/|)(\d+)(?:|\/\?)/,r=t.match(n)?.pop();return r||null},Ot=({src:t,posterImage:n,videoTheme:i="blue",className:r,format:l="youtube"})=>{const[a,o]=(0,e.useState)(!1),c=()=>{o(!a)};let p,b;return l==="vimeo"?(b="Vimeo video",p=`https://player.vimeo.com/video/${Ft(t)}`):(b="YouTube video",p=`https://youtube.com/embed/${be(t)}`),(0,e.useEffect)(()=>{if(!n)o(!0);else{const g=document.getElementById("video-player")?.getElementsByTagName("iframe");g&&!g[0]?.src.includes("autoplay")&&n?.src&&(g[0].src+="?autoplay=1")}},[a,n]),t?e.createElement(zt,{videoTheme:i,className:r&&r},!a&&e.createElement("button",{onClick:()=>c()},e.createElement("span",{className:"youtube-play-btn"}),e.createElement("img",{src:n?.src?n?.src:`https://img.youtube.com/vi/${be(t)}/hqdefault.jpg`,alt:n?.alt})),a&&e.createElement("div",{id:"video-player",className:"video"},e.createElement("iframe",{width:"560",height:"315",src:p,title:b,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))):null},Tt=s.Ay.div` ${({theme:{colors:t,mq:n},videoTheme:i="gold"})=>{const r=(0,_.DF)(i);return(0,s.AH)` position: relative; height: 100%; color: ${t.light.neutral.black}; padding-bottom: 28px; .video-player__title { color: ${t.light.brand.darkBlue}; } @media ${n.min.px.tablet} { padding-bottom: 64px; } .video-player__container { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; margin-block-start: 1em; ::before { ${(0,_.uY)(r)} } } .video-player__embed { position: relative; height: 100%; width: 100%; z-index: 1; @media ${n.min.px.tablet} { width: 100%; } } `}} `,O=({src:t,title:n,videoTheme:i="blue",posterImage:r,description:l,format:a})=>e.createElement(Tt,{className:"video-player",videoTheme:i},e.createElement("div",{className:"video-player__text-container"},n&&e.createElement("h3",{className:"video-player__title"},n),l&&e.createElement("p",null,l)),e.createElement("div",{className:"video-player__container"},e.createElement(Ot,{className:"video-player__embed",src:t,posterImage:r,format:a,videoTheme:i}))),Rt=(0,s.AH)` .swiper-container-fade.swiper-container-free-mode .swiper-slide { transition-timing-function: ease-out; } .swiper-container-fade .swiper-slide { pointer-events: none; transition-property: opacity; } .swiper-container-fade .swiper-slide .swiper-slide { pointer-events: none; } .swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active { pointer-events: auto; } `,Mt=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},galleryTheme:r="gold",length:l})=>{const a=(0,_.DF)(r);return(0,s.AH)` position: relative; padding-bottom: 28px; @media ${n.min.px.tablet} { /* padding-bottom: 64px; */ } .slider__wrapper { position: relative; ::before { ${(0,_.uY)(a,l>1?"slider":"cards")} } } .swiper-container { margin-left: auto; margin-right: auto; position: relative; overflow: hidden; list-style: none; padding: 0; z-index: 1; } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; } .swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; } /* Auto Height */ .swiper-container-autoheight { &, .swiper-slide { height: auto; } .swiper-wrapper { align-items: flex-start; transition-property: transform, height; } } ${Rt}; .swiper-arrow-controls { z-index: 2; } .swiper-slide-active { .swiper-slide img { border-radius: 0px 0px 0px 50px; @media ${o=>o.theme.mq.min.px.tablet} { border-radius: 0px 0px 0px 50px; } } } .swiper-slide-next { .swiper-slide img { border-radius: 0px 50px 0px 0px; @media ${o=>o.theme.mq.min.px.tablet} { border-radius: 0px 50px 0px 0px; } } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${t.light.neutral.white}; } .swiper-next { background-color: ${t.light.neutral.white}; border: 2px solid ${t.light.neutral.white}; color: ${t.light.brand.midBlue}; } .swiper-arrow { position: relative; display: inline-block; padding: 0.5rem; margin: 0.5rem; border: none; border-radius: 50%; color: ${o=>o.theme.colors.light.brand.midBlue}; background-color: white; transition: all ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { color: white; background-color: ${o=>o.theme.colors.light.brand.darkBlue}; transition: all ease-in-out 150ms; /* transform: scale(1.1); */ } &:disabled { cursor: not-allowed; color: white; background-color: rgba(0, 0, 0, 0.4); } } .swiper-pagination { font-size: 0; line-height: 0; text-align: center; z-index: 2; } .swiper-pagination-bullet { position: relative; display: inline-block; border: 1px solid white; border-radius: 50%; height: 1rem; width: 1rem; margin: 0.5rem; background-color: rgba(0, 0, 0, 0.4); transition: background-color ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { background-color: ${o=>o.theme.colors.light.brand.gold}; opacity: 1.2; transition: background-color ease-in-out 150ms; } } .swiper-pagination-bullet-active { background-color: white; transition: background-color ease-in-out 150ms; } .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${n.min.px.largeDesktop} { height: 16px; width: 16px; } } .slider__title { margin-bottom: 1em; } .slider__navigation-container { display: ${l>1?"flex":"none"}; align-items: center; justify-content: space-between; gap: ${i.xxs}; margin-top: ${i.xxs}; @media ${n.min.px.laptop} { width: calc(100% - calc(var(--grid-gutter) + 64px)); } .content-slider__pagination-container { display: flex; gap: ${i.xxxs}; .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${n.min.px.largeDesktop} { height: 16px; width: 16px; } } } .swiper-arrow-controls { display: flex; .swiper-arrow { display: flex; align-items: center; border-radius: 50%; cursor: pointer; padding: ${i.xxxs}; max-height: 42px; max-width: 42px; transition: transform 0.3s ease-in-out; &:hover { transform: scale(1.1); } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${t.light.neutral.white}; } .swiper-next { background-color: ${t.light.neutral.white}; border: 2px solid ${t.light.neutral.white}; color: ${t.light.brand.midBlue}; } } } `}} `,xe=s.Ay.div` position: relative; display: flex; flex-flow: column nowrap; cursor: pointer; .slide-content { position: relative; flex: 0 0 376px; padding: 2rem 0.5rem 1rem 0.5rem; border-radius: 0 0 0 50px; background-color: ${t=>t.theme.colors.light.brand.lightGold}; z-index: 1; @media ${t=>t.theme.mq.min.px.largeMobile} { padding: 2rem; margin-left: auto; min-height: 460px; } } img { width: 100%; height: 180px; object-fit: cover; @media ${t=>t.theme.mq.min.px.mobile} { height: 275px; } @media ${t=>t.theme.mq.min.px.desktop} { height: 375px; } } `,jt=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},galleryTheme:r="gold"})=>{const l=(0,_.DF)(r);return(0,s.AH)` position: relative; display: flex; flex-flow: column nowrap; background-color: ${a=>a.theme.colors.light.neutral.white}; border: 1px solid ${l||t.light.brand.midBlue}; padding: ${i.l} ${i.xs}; width: 100%; border-radius: 0 50px 0px 50px; @media ${n.min.px.tablet} { padding: ${i.xl} ${i.s}; } @media ${n.min.px.largeMobile} { flex-flow: row nowrap; padding-block-start: 4rem; } `}} `;var we=m(5241),ee=m(2501);D.A.use([V.A,G.A,U.A,Y.A]);const Pt=({id:t})=>e.createElement("div",{className:"swiper-arrow-controls"},e.createElement("button",{className:"swiper-prev swiper-arrow",id:`swiper-prev-${t}`},e.createElement(E.A,{icon:"arrowLeft",size:24})),e.createElement("button",{className:"swiper-next swiper-arrow",id:`swiper-next-${t}`},e.createElement(E.A,{icon:"arrowRight",size:24}))),Lt=()=>e.createElement("div",{className:"swiper-pagination"}),Dt=t=>{const[n,i]=(0,e.useState)(!1),{width:r}=(0,we.lW)(),l=()=>{i(!0)};return e.createElement(e.Fragment,null,r>768?e.createElement(xe,{className:"swiper-slide",onClick:l},e.createElement(ee.A,{...t,id:"slider-image"})):e.createElement(xe,{className:"swiper-slide"},e.createElement(ee.A,{...t,id:"slider-image"})),e.createElement(fe,{isOpen:n,setOpen:i},e.createElement(ee.A,{className:"modal-image",...t,sizes:{1440:2e3,992:2e3,default:250},id:"slider-image"}),t.caption&&e.createElement("p",{className:"modal-image-caption"},t.caption)))},Vt=({galleryTheme:t,...n})=>e.createElement(jt,{galleryTheme:t},e.createElement(ge,{...n})),C=({content:t,galleryTheme:n="gold",type:i="image",title:r,controls:l=!0,pagination:a=!0,id:o})=>{const{width:c}=(0,we.lW)(),p=b=>{switch(b){case"profile":return{autoHeight:!0,slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0},loop:!0};case"event":return{autoHeight:!0,slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0},loop:!0};case"image":default:return{slidesPerView:t.length>1?2:1,spaceBetween:c>768?32:16,effect:"slide",fadeEffect:{crossFade:!0},keyboard:{enabled:!0},initialSlide:0,navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},loop:!0}}};return e.createElement(Mt,{galleryTheme:n,length:t.length,className:`slider ${i&&`slider--${i}`}`},r&&e.createElement("h3",{className:"slider__title"},r),e.createElement("div",{className:"slider__wrapper"},e.createElement(P.R,{...p(i)},t.map((b,f)=>e.createElement(L.q,{key:f},i==="profile"?e.createElement(Vt,{...b,galleryTheme:n}):e.createElement(Dt,{...b}))),e.createElement("div",{className:"slider__navigation-container"},a&&e.createElement(Lt,null),l&&e.createElement(Pt,{id:o})))))},Gt=s.Ay.blockquote` ${({theme:{colors:t,spacing:n},quoteTheme:i="gold"})=>{const r=(0,_.DF)(i);return(0,s.AH)` display: flex; flex-direction: column; padding: var(--space-m-l, ${n.s}); border: 1px solid ${r}; border-radius: 0 50px 0 50px; .icon--quote { color: ${r}; align-self: flex-start; } .quote__content { margin-block: 1em; } footer { color: ${t.light.brand.darkBlue}; font-weight: 700; cite { display: block; margin-top: 0.25em; font-weight: 400; font-style: normal; } } `}} `,T=({quote:t,author:n,reference:i,quoteTheme:r})=>t?e.createElement(Gt,{quoteTheme:r},e.createElement(E.A,{size:40,icon:"quote"}),e.createElement(w.VK,{className:"h5 quote__content flow",text:t}),e.createElement("footer",null,n," ",e.createElement("cite",null,i))):null;var te=m(8915);const Ut=({id:t,caseStudies:n,caseStudiesIntroduction:i})=>!n||i&&!(0,te.R)(i)===null?null:e.createElement(Yt,{id:t,className:"flow"},i&&e.createElement(w.Hl,{data:i}),n&&e.createElement(C,{...n})),Yt=s.Ay.div``,R=Ut,It=({id:t,overview:n,placements:i,video:r,gallery:l,quote:a,caseStudy:o})=>!n&&!i&&!r&&!l&&!a&&!o?null:e.createElement(Wt,{id:t,className:"flow"},n&&e.createElement(w.Hl,{data:n}),i&&e.createElement(w.Hl,{data:i}),e.createElement("hr",null),r?.video?e.createElement(e.Fragment,null,e.createElement(O,{...r.video}),e.createElement("hr",null)):null,l?.gallery?e.createElement(e.Fragment,null,e.createElement(C,{...l.gallery}),e.createElement("hr",null)):null,a?.quote?e.createElement(e.Fragment,null,e.createElement(T,{...a.quote}),e.createElement("hr",null)):null,o?.caseStudies?e.createElement(e.Fragment,null,e.createElement(R,{...o.caseStudies}),e.createElement("hr",null)):null),Wt=s.Ay.section``,Kt=It,Qt=({yearStructures:t})=>{const[n,i]=(0,e.useState)(0);return t?e.createElement(me,null,e.createElement("div",{className:"course-modules__tabs"},t.map((r,l)=>e.createElement("div",{key:l,className:`course-modules__tab ${n===l?"active":""}`},e.createElement("h3",{className:"p"},e.createElement("button",{className:"course-modules__tab-button",onClick:()=>i(l)},r.title)),n===l&&e.createElement(e.Fragment,null,r.mandatoryModules&&r.mandatoryModules?.items.length>0?e.createElement(e.Fragment,null,r.mandatoryModules.title&&e.createElement("strong",{className:"h6 course-modules__reqiurements-title"},r.mandatoryModules.title),e.createElement(Z.A,{items:[...r.mandatoryModules.items]})):null,r.optionalModules&&r.optionalModules?.items.length>0?e.createElement(e.Fragment,null,r.optionalModules.title&&e.createElement("h6",{className:"course-modules__reqiurements-title"},r.optionalModules.title),e.createElement(Z.A,{items:[...r.optionalModules.items]}),r.text&&e.createElement(J.default,{text:r.text,className:"course-modules__text flow"})):null))))):null},Xt=({id:t,content:n,modules:i})=>{const r=(0,$.d4)(S.b9);return!r&&!n&&!i?null:e.createElement(Jt,{id:t,className:"flow"},(r?.content||n)&&e.createElement(w.Hl,{data:r?.content??n}),(r?.modules||i)&&e.createElement(Qt,{...r?.modules?r.modules:i}),e.createElement("hr",null))},Jt=s.Ay.section``,Zt=Xt,qt=({id:t,careers:n,video:i,gallery:r,quote:l,caseStudy:a})=>!n&&!i&&!r&&!l&&!a?null:e.createElement(en,{id:t,className:"flow"},n&&e.createElement(w.Hl,{data:n}),e.createElement("hr",null),i?.video?e.createElement(e.Fragment,null,e.createElement(O,{...i.video}),e.createElement("hr",null)):null,r?.gallery?e.createElement(e.Fragment,null,e.createElement(C,{...r.gallery}),e.createElement("hr",null)):null,l?.quote?e.createElement(e.Fragment,null,e.createElement(T,{...l.quote}),e.createElement("hr",null)):null,a?.caseStudies.caseStudies||a?.caseStudies.caseStudiesIntroduction?e.createElement(e.Fragment,null,e.createElement(R,{...a.caseStudies}),e.createElement("hr",null)):null),en=s.Ay.section``,tn=qt,nn=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i},afterHeight:r})=>{let l;return r==="150px"?l="50px":l="0",(0,s.AH)` display: flex; .u-container { display: flex; flex-direction: column; gap: ${i.s}; } .tabbed-content__tab-content-container { position: relative; } .tabbed-content__tab-content-container .tab-content-wrapper { position: relative; padding-bottom: ${l}; } .tabbed-content__tab-content-container .tab-content-wrapper .tab-content { max-height: auto; overflow: hidden; } .tabbed-content__tab-content-container.show-full .tab-content-wrapper .tab-content { max-height: none !important; } /* .tab-content-wrapper:not(.show-full) .read-more { display: none; } */ .tabbed-content__tab-content-container .tab-content-wrapper .tab-content::after { content: ''; position: absolute; bottom: 50px; left: 0; width: 100%; height: ${r}; background: linear-gradient( to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100% ); } .tabbed-content__tab-content-container.show-full .tab-content-wrapper .tab-content::after { display: none; } .tabbed-content__tab-content-container .tab-content-wrapper .read-more { position: absolute; bottom: 0; left: 0; right: 0; margin: 0 auto; width: max-content; border: none; color: ${t.light.brand.midBlue}; cursor: pointer; background: none; transition: all 200ms ease; &:hover, &:focus-within { transition: all 200ms ease; color: ${t.light.brand.darkBlue}; } } .tabbed-content__container { display: flex; flex-direction: column; gap: ${i.s}; width: 100%; @media ${n.min.px.tablet} { flex-direction: row; } } .tabbed-content__tabs-list { display: flex; align-items: flex-start; list-style-type: none; padding: 0; flex-direction: row; max-width: none; overflow: auto; gap: ${i.xxxs}; scroll-behavior: smooth; scrollbar-width: thin; @media ${n.min.px.tablet} { flex-direction: column; width: max-content; overflow: unset; flex-direction: column; min-width: max-content; } &::-webkit-scrollbar { width: 8px; } &::-webkit-scrollbar-track { background: #f5f5f5; } &::-webkit-scrollbar-thumb { background-color: #888; border-radius: 20px; border: 3px solid #f5f5f5; } &::-webkit-scrollbar-thumb:hover { background-color: #555; } .tabbed-content__tab-list-item { display: inline-block; width: auto; position: relative; background: linear-gradient( to right, ${t.light.brand.lightestGold}, ${t.light.brand.lightestGold} ) no-repeat; background-size: 0 100%; transition: background-size 0.5s ease-in-out; @media ${n.min.px.tablet} { width: 100%; } ::before { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: ${t.light.brand.burgundy}; transition: width 0.3s; @media ${n.min.px.tablet} { top: 0; height: 0; width: 4px; transition: height 0.3s; } } &:hover { background-size: 100% 100%; } &:hover::before, &.active-tab::before { width: 100%; @media ${n.min.px.tablet} { height: 100%; width: 4px; } } &.active-tab { background-color: ${t.light.brand.lightestGold}; } button { cursor: pointer; padding: ${i.xxs}; border: none; inline-size: max-content; height: 100%; width: 100%; background: none; text-align: center; transition: transform 0.3s ease-in-out; @media ${n.min.px.tablet} { text-align: left; } } } } `}} `,ne=({title:t,content:n,className:i,disableReadMore:r=!1})=>{const[l,a]=(0,e.useState)(()=>n&&n.length>0?n[0].title:null),o=(0,e.useRef)(null),c=(0,e.useRef)([]),[p,b]=(0,e.useState)(!1),f=(0,e.useRef)(null),g=(u,y)=>{y.stopPropagation(),a(u),o.current&&o.current.focus()},x=()=>{if(l!==null){const u=c.current[Number(l)];u&&u.focus()}},M=()=>{b(!p)};(0,e.useEffect)(()=>{b(!1)},[l]);const[A,re]=(0,e.useState)(0),B=(0,e.useRef)(null);(0,e.useEffect)(()=>{const u=setTimeout(()=>{if(f.current){const y=f.current.offsetHeight;re(y)}},0);return()=>clearTimeout(u)},[l]);const N=(n?.length??0)*66;return(0,e.useEffect)(()=>{const u=setTimeout(()=>{if(f.current&&B.current){const y=N;B.current.offsetHeight>y&&!r?B.current.style.maxHeight=`${y}px`:B.current.style.maxHeight="none"}},0);return()=>clearTimeout(u)},[l,r,N]),n?e.createElement(nn,{className:i&&i,afterHeight:A>N&&!r?"150px":"0"},e.createElement("div",{className:"tabbed-content__container"},t&&e.createElement("h3",{className:"sr-only"},t),e.createElement("ul",{className:"tabbed-content__tabs-list",role:"tablist"},n.map((u,y)=>e.createElement("li",{className:`tabbed-content__tab-list-item ${l===u.title?"active-tab":""}`,key:y,role:"presentation"},e.createElement("button",{role:"tab",className:"h6","aria-controls":(0,I.Y)(u.title),"aria-selected":l===u.title,onClick:z=>g(u.title,z),ref:z=>c.current[y]=z},u.title)))),e.createElement("div",{className:`tabbed-content__tab-content-container ${p?"show-full":""}`,ref:o,tabIndex:-1,onBlur:x},n.map((u,y)=>l===u.title&&e.createElement("div",{key:y,id:(0,I.Y)(u.title),className:"tab-content-wrapper","aria-labelledby":(0,I.Y)(u.title),role:"tabpanel",ref:f},e.createElement("div",{className:"tab-content",ref:B},typeof u.content=="string"?e.createElement(w.VK,{text:u.content,className:"markup"}):u.content),A>N&&!r&&e.createElement("button",{className:"h6 read-more",onClick:M},p?"Close":"Read more")))))):null},rn=({id:t,teachingIntroduction:n,teachingTabs:i,staffIntroduction:r,staffMembers:l,video:a,gallery:o,quote:c,caseStudy:p})=>!i&&!l&&!a&&!o&&!c&&!p&&!n&&!r?null:e.createElement(an,{id:t,className:"flow"},n&&e.createElement(w.Hl,{data:n}),i&&e.createElement(ne,{...i}),r&&e.createElement(w.Hl,{data:r}),l&&e.createElement(C,{...l}),e.createElement("hr",null),a?.video?e.createElement(e.Fragment,null,e.createElement(O,{...a.video}),e.createElement("hr",null)):null,o?.gallery?e.createElement(e.Fragment,null,e.createElement(C,{...o.gallery}),e.createElement("hr",null)):null,c?.quote?e.createElement(e.Fragment,null,e.createElement(T,{...c.quote}),e.createElement("hr",null)):null,p?.caseStudies.caseStudies||p?.caseStudies.caseStudiesIntroduction?e.createElement(e.Fragment,null,e.createElement(R,{...p.caseStudies}),e.createElement("hr",null)):null),an=s.Ay.section``,ln=rn,on=({ucasPoints:t,requirements:n})=>e.createElement(sn,{className:"flow entry-requirements-table"},t&&e.createElement("p",{className:"lead"},X.ucasTariff," ",e.createElement("strong",null,t)),n&&n.length>0&&e.createElement("table",null,e.createElement("caption",null,"Typical Offer"),e.createElement("thead",{className:"sr-only"},e.createElement("tr",null,e.createElement("th",null,"Qualification"),e.createElement("th",null,"Grade"))),e.createElement("tbody",null,n.map((i,r)=>i?e.createElement("tr",{key:r},e.createElement("td",null,i.qualification),e.createElement("td",null,i.grade)):null)))),sn=s.Ay.div` ${_.Ju}; table { margin-block-start: 2em; width: 100%; } thead { text-align: left; } thead th:first-of-type, tbody td:first-of-type { width: min-content; @media ${t=>t.theme.mq.min.px.tablet} { width: 25; } } thead th:last-of-type, tbody td:last-of-type { width: 100%; @media ${t=>t.theme.mq.min.px.tablet} { width: 75%; } } `,cn=on,dn=({id:t,requirements:n,additionalRequirements:i,anyQuestions:r,cpdCourse:l})=>!n&&!i&&!r?null:e.createElement(mn,{id:t,className:"flow"},!l&&e.createElement("h2",null,"Entry requirements"),n&&e.createElement(cn,{...n}),i&&e.createElement(w.Hl,{data:i}),r&&e.createElement(w.Hl,{data:r}),e.createElement("hr",null)),mn=s.Ay.section``,pn=dn,un=({id:t,exploreCards:n,video:i,gallery:r,quote:l,caseStudy:a})=>!n&&!i&&!r&&!l&&!a?null:e.createElement(hn,{id:t,className:"flow"},i?e.createElement(e.Fragment,null,e.createElement(O,{...i.video}),e.createElement("hr",null)):null,r?e.createElement(e.Fragment,null,e.createElement(C,{...r.gallery}),e.createElement("hr",null)):null,l?e.createElement(e.Fragment,null,e.createElement(T,{...l.quote}),e.createElement("hr",null)):null,a?.caseStudies?e.createElement(e.Fragment,null,e.createElement(R,{...a.caseStudies}),e.createElement("hr",null)):null,e.createElement("h2",null,"More to explore"),n&&e.createElement(he.A,{...n}),e.createElement("hr",null)),hn=s.Ay.section``,gn=un,fn=s.Ay.div` ${({theme:{colors:t,mq:n,spacing:i}})=>(0,s.AH)` display: flex; flex-direction: column-reverse; justify-content: space-between; align-items: center; gap: var(--space-l-xl, {spacing.m}); padding-bottom: var(--space-m-l, ${i.s}); border-bottom: 1px solid ${t.light.brand.lightGold}; &:not(:first-child) { padding-top: var(--space-m-l, ${i.s}); } @media ${n.min.px.tablet} { flex-direction: row; } .fee-card__orb { --orb-size: 170px; display: flex; align-items: center; text-align: center; justify-content: center; height: var(--orb-size); min-height: var(--orb-size); width: var(--orb-size); min-width: var(--orb-size); background-color: ${t.light.brand.lightGold}; color: ${t.light.brand.darkBlue}; padding: ${i.s}; border-radius: 50%; overflow: hidden; p { font-weight: 600; font-family: 'Bebas Neue', sans-serif; transition: font-size 0.4s ease-in-out; } } `} `;var bn=m(8566),xn=m(1389);const ve=({description:t,fee:n,hideOrb:i})=>!n||!t||Array.isArray(t[0].value)&&t[0].value.length===0||t[0].value===""?null:e.createElement(fn,null,t&&e.createElement("div",{className:"fee-card__description-container"},e.createElement(bn.default,{data:t})),!i&&t&&n&&e.createElement("div",{className:"fee-card__orb","aria-hidden":"true"},e.createElement("p",{className:"h2"},typeof n=="number"?(0,xn.v)(n):n))),wn=(t,n,i,r,l)=>{const a=[];return t&&a.push({title:"Full time",content:t.map((o,c)=>e.createElement(ve,{key:c===0?"uk":"overseas",description:o?.description,fee:o?.fee??"",hideOrb:o?.hideOrb}))}),n&&a.push({title:"Part-time",content:n.map((o,c)=>e.createElement(ve,{key:c===0?"uk":"overseas",description:o?.description,fee:o?.fee??"",hideOrb:o?.hideOrb}))}),i&&i.length>0&&i[0].value!==null&&!(Array.isArray(i[0].value)&&i[0].value.length===0)&&a.push({title:"Other costs",content:e.createElement(e.Fragment,null,e.createElement(w.Hl,{data:i}))}),r&&r.length>0&&r[0].value!==null&&!(Array.isArray(r[0].value)&&r[0].value.length===0)&&a.push({title:"Accommodation",content:e.createElement(e.Fragment,null,e.createElement(w.Hl,{data:r}))}),l&&a.push(...l.map(o=>({title:o.title,content:e.createElement(e.Fragment,null,e.createElement(w.VK,{text:o.content}))}))),a},vn=({id:t,fees:n,ptFees:i,additionalFees:r,accomodationFees:l,feesTabs:a,video:o,gallery:c,quote:p,caseStudy:b})=>{const f=(0,$.d4)(S.B);return!n&&!f?.fees&&!a?null:e.createElement(En,{id:t,className:"flow"},e.createElement("h2",null,"Fees"),(n||f?.fees||a)&&e.createElement(ne,{title:"Fees contents",content:wn(f?.fees??n??null,f?.ptFees??i??null,f?.additionalFees??r??null,f?.accomodationFees??l??null,f?.feesTabs??a??[]),disableReadMore:!0}),e.createElement("hr",null),o?.video?e.createElement(e.Fragment,null,e.createElement(O,{...o.video}),e.createElement("hr",null)):null,c?.gallery?e.createElement(e.Fragment,null,e.createElement(C,{...c.gallery}),e.createElement("hr",null)):null,p?.quote?e.createElement(e.Fragment,null,e.createElement(T,{...p.quote}),e.createElement("hr",null)):null,b?.caseStudies?e.createElement(e.Fragment,null,e.createElement(R,{...b.caseStudies}),e.createElement("hr",null)):null)},En=s.Ay.section``,yn=vn;var ie=m(7454);const $n=(t,n,i,r,l,a)=>{const o=[];return t&&t.length>0&&t[0].value!==null&&!(Array.isArray(t[0].value)&&t[0].value.length===0)&&o.push({title:i,content:e.createElement(e.Fragment,null,e.createElement(w.Hl,{data:t}),l&&!a&&e.createElement(ie.A,{buttonTheme:"primary",label:"Apply now",link:l,className:"canvas-button"}))}),n&&n.length>0&&n[0].value!==null&&!(Array.isArray(n[0].value)&&n[0].value.length===0)&&o.push({title:r,content:e.createElement(e.Fragment,null,e.createElement(w.Hl,{data:n}))}),o},_n=({id:t,howToApplyTitle:n,howToApply:i,additionalApplicationInformation:r,additionalInformationTitle:l,applyNowUrl:a,hideApplyNowButton:o})=>{const c=(0,$.d4)(S.Z_);return(c?.howToApply&&(0,te.R)(c.howToApply))??(i&&(0,te.R)(i))?e.createElement(kn,{id:t,className:"flow"},e.createElement("h2",null,"How to apply"),e.createElement(ne,{key:c?.howToApply?.[0]?.id||i?.[0]?.id||0,title:"How to apply contents",content:$n(c?.howToApply??i,c?.additionalApplicationInformation??r,c?.howToApplyTitle??n,c?.additionalInformationTitle??l,c?.applyNowUrl??a,c?.hideApplyNowButton??o),disableReadMore:!0}),e.createElement("hr",null)):null},kn=s.Ay.section` .canvas-button { margin-top: ${t=>t.theme.spacing.xxs}; &:hover, &:focus-visible { transform: scale(1); } } `,Nn=_n;var Sn=m(2459);const Cn=({title:t,date:n,location:i,summary:r,link:l,time:a,url:o})=>e.createElement(An,null,e.createElement("div",{className:"event__info-container"},e.createElement("div",{className:"event__icon-container"},n&&e.createElement("div",{className:"event__info"},e.createElement(E.A,{icon:"calendar",size:24}),e.createElement("p",{className:"event__date"},n)),a&&e.createElement("div",{className:"event__info"},e.createElement(E.A,{icon:"clock",size:24}),e.createElement("p",{className:"event__time"},a))),i&&e.createElement("div",{className:"event__tag"},e.createElement("p",{className:"event__location"},i))),e.createElement("div",{className:"event__details-container"},t&&o?e.createElement(Sn.N_,{to:o,className:"event__title-link"},e.createElement("h3",{className:"event__title"},t)):e.createElement("h3",{className:"event__title"},t),r&&e.createElement("p",null,r)),l&&l.path&&e.createElement(ie.A,{buttonTheme:"secondary",className:"event__button",link:l.path,label:l.label})),An=s.Ay.div` position: relative; display: flex; flex-direction: column; gap: ${t=>t.theme.spacing.xxs}; z-index: 99; pointer-events: all; .event__title-link { color: ${t=>t.theme.colors.light.brand.darkBlue}; text-decoration: none; &:hover { text-decoration: underline; } } .event__title { color: ${t=>t.theme.colors.light.brand.darkBlue}; } .event__icon-container { display: flex; flex-direction: column; gap: ${t=>t.theme.spacing.xxxs}; } .event__info-container { display: flex; justify-content: space-between; gap: ${t=>t.theme.spacing.xs}; width: 100%; } .event__details-container { display: flex; flex-direction: column; gap: ${t=>t.theme.spacing.xxs}; width: 100%; } .event__info { display: flex; align-items: center; gap: ${t=>t.theme.spacing.xxxs}; svg { color: ${t=>t.theme.colors.light.brand.midBlue}; } } .event__tag { display: flex; padding: 4px 6px; background-color: ${t=>t.theme.colors.light.brand.burgundy}; color: ${t=>t.theme.colors.light.neutral.white}; font-weight: 700; height: fit-content; } .event__date, .event__time { font-weight: 700; color: ${t=>t.theme.colors.light.brand.darkBlue}; } .event__button { margin-top: ${t=>t.theme.spacing.xxs}; z-index: 999; &:hover { transform: scale(1); } } `,Bn=(0,s.AH)` .swiper-container-fade.swiper-container-free-mode .swiper-slide { transition-timing-function: ease-out; } .swiper-container-fade .swiper-slide { pointer-events: none; transition-property: opacity; } .swiper-container-fade .swiper-slide .swiper-slide { pointer-events: none; } .swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active { pointer-events: auto; } `,Hn=s.Ay.div` position: relative; border: 1px solid ${t=>t.theme.colors.light.brand.lightGold}; border-bottom-left-radius: 50px; border-top-right-radius: 50px; @media ${t=>t.theme.mq.min.px.laptop} { border: unset; } .slider__wrapper { position: relative; ::before { @media ${t=>t.theme.mq.min.px.laptop} { content: ''; z-index: -1; position: absolute; top: 0; right: unset; width: 100%; height: 100%; border: 1px solid ${t=>t.theme.colors.light.brand.lightGold}; border-bottom-left-radius: 50px; border-top-right-radius: 50px; left: -64px; width: calc(100% + 64px); } } } .slider__content { padding: ${t=>t.theme.spacing.m}; width: 100%; @media ${t=>t.theme.mq.min.px.laptop} { padding: ${t=>t.theme.spacing.l} 0; width: calc(100% - 2 * ${t=>t.theme.spacing.xs}); } } .swiper-container { margin-left: auto; margin-right: auto; position: relative; overflow: hidden; list-style: none; padding: 0; z-index: 1; } .swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; } .swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; } /* Auto Height */ .swiper-container-autoheight { &, .swiper-slide { height: auto; } .swiper-wrapper { align-items: flex-start; transition-property: transform, height; } } ${Bn}; .swiper-arrow-controls { z-index: 2; } .swiper-slide-active { z-index: 99; .swiper-slide img { border-radius: 0px 0px 0px 50px; @media ${t=>t.theme.mq.min.px.tablet} { border-radius: 0px 0px 0px 50px; } } } .swiper-slide-next { .swiper-slide img { border-radius: 0px 50px 0px 0px; @media ${t=>t.theme.mq.min.px.tablet} { border-radius: 0px 50px 0px 0px; } } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 2px solid transparent; color: ${t=>t.theme.colors.light.neutral.white}; } .swiper-next { border: 2px solid ${t=>t.theme.colors.light.neutral.white}; color: ${t=>t.theme.colors.light.brand.midBlue}; } .swiper-arrow { position: relative; display: inline-block; padding: 0.5rem; margin: 0.5rem; border: none; border-radius: 50%; color: ${t=>t.theme.colors.light.brand.midBlue}; background-color: white; transition: all ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { color: white; background-color: ${t=>t.theme.colors.light.brand.darkBlue}; transition: all ease-in-out 150ms; transform: scale(1.1); } &:disabled { cursor: not-allowed; color: white; background-color: rgba(0, 0, 0, 0.4); } } .swiper-pagination { font-size: 0; line-height: 0; text-align: center; z-index: 2; } .swiper-pagination-bullet { position: relative; display: inline-block; border: 1px solid white; border-radius: 50%; height: 1rem; width: 1rem; margin: 0.5rem; background-color: rgba(0, 0, 0, 0.4); transition: background-color ease-in-out 150ms; cursor: pointer; &:hover, &:focus-visible { background-color: ${t=>t.theme.colors.light.brand.gold}; opacity: 1.2; transition: background-color ease-in-out 150ms; } } .swiper-pagination-bullet-active { background-color: ${t=>t.theme.colors.light.neutral.white}; transition: background-color ease-in-out 150ms; } .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid ${t=>t.theme.colors.light.brand.lightGold}; margin: 0 5px; @media ${t=>t.theme.mq.min.px.largeDesktop} { height: 16px; width: 16px; } } .slider__title { margin-bottom: 1em; } .slider__navigation-container { display: ${t=>t.length>1?"flex":"none"}; align-items: center; justify-content: space-between; gap: ${t=>t.theme.spacing.xxs}; margin-top: ${t=>t.theme.spacing.xxs}; width: 100%; .content-slider__pagination-container { display: flex; gap: ${t=>t.theme.spacing.xxxs}; .swiper-pagination-bullet { height: 12px; width: 12px; border-radius: 50%; border: 1px solid white; margin: 0 5px; @media ${t=>t.theme.mq.min.px.largeDesktop} { height: 16px; width: 16px; } } } .swiper-arrow-controls { display: flex; .swiper-arrow { display: flex; align-items: center; border-radius: 50%; cursor: pointer; padding: ${t=>t.theme.spacing.xxxs}; max-height: 42px; max-width: 42px; transition: transform 0.3s ease-in-out; &:hover { transform: scale(1.1); } } .swiper-prev { background-color: rgba(0, 0, 0, 0.5); border: 1px solid transparent; color: ${t=>t.theme.colors.light.neutral.white}; } .swiper-next { background-color: ${t=>t.theme.colors.light.neutral.white}; border: 1px solid ${t=>t.theme.colors.light.brand.lightGold}; color: ${t=>t.theme.colors.light.brand.midBlue}; } } } `,zn=s.Ay.div``;D.A.use([V.A,G.A,U.A,Y.A]);const Fn=({id:t})=>e.createElement("div",{className:"swiper-arrow-controls"},e.createElement("button",{className:"swiper-prev swiper-arrow",id:`swiper-prev-${t}`},e.createElement(E.A,{icon:"arrowLeft",size:24})),e.createElement("button",{className:"swiper-next swiper-arrow",id:`swiper-next-${t}`},e.createElement(E.A,{icon:"arrowRight",size:24}))),On=()=>e.createElement("div",{className:"swiper-pagination"}),Tn=({event:t})=>e.createElement(zn,{className:"swiper-slide"},e.createElement(Cn,{...t})),Rn=({content:t,controls:n=!0,pagination:i=!0,id:r})=>{const l={autoHeight:!0,slidesPerView:1,spaceBetween:0,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-next.swiper-arrow",prevEl:".swiper-prev.swiper-arrow"},pagination:{el:".swiper-pagination",clickable:!0},loop:!1,preventClicks:!1,preventClicksPropagation:!1};return e.createElement(Hn,{length:t.length,className:"slider slider--event"},e.createElement("div",{className:"slider__wrapper"},e.createElement("div",{className:"slider__content"},e.createElement(P.R,{...l},t.map((a,o)=>e.createElement(L.q,{key:o},e.createElement(Tn,{event:a}))),e.createElement("div",{className:"slider__navigation-container"},i&&e.createElement(On,null),n&&e.createElement(Fn,{id:r}))))))},Mn=({id:t,content:n})=>{if(!n||n.length<0)return null;const i=n.length>0?"Upcoming events":"Upcoming event";return e.createElement(jn,{id:t,className:"flow"},e.createElement("h3",null,i),e.createElement(Rn,{id:"event-slider",content:n}),e.createElement("hr",null))},jn=s.Ay.section``,Pn=t=>{if(!t||!t.date||!t.date)return!1;const n=new Date(t.date),i=new Date;return n>i},Ln=t=>!!(!t||t.message==null||Array.isArray(t.message)&&t.message.length===1&&Array.isArray(t.message[0]?.value)&&t.message[0].value.length===0&&t.title==null),Dn=({liveChat:t})=>((0,e.useEffect)(()=>{if(!t||document.getElementById("chatv3-loader"))return;const n=document.createElement("script");return n.id="chatv3-loader",n.type="text/javascript",n.innerHTML=` (function(c, f, ef){ var typeofC = Object.prototype.toString.call(c); var props = (typeofC === '[object Object]' && c) || {}; var cb = f || (typeofC === '[object Function]' && c); var config = { scriptUuid: "script_93703771062ac5498a15aa3.22552790", tenant: "dW5pdmVyc2l0eW9md29yY2UwMQ", channelName: "Clearing Chat", channelUuid: "6l_tmW6KQxWUs5FS-3FFzQ", domain: "https://vcc-eu11.8x8.com", buttonContainerId: "__8x8-chat-button-container-script_93703771062ac5498a15aa3.22552790", align: "right", }; var url = new URL("https://cloud8-cc-geo.8x8.com/vcc-chat-channels/public/webchat/discovery"); var params = { domain: config.domain, tenant: config.tenant, channelUuid: config.channelUuid }; url.search = new URLSearchParams(params).toString(); fetch(url) .then(response => response.json()) .then(data => config.domain = !data.domain ? config.domain : data.domain) .catch(error => console.warn('Failed to retrieve override domain, will continue using ', config.domain, error)) .finally(() => loadChat()); function loadChat() { var se = document.createElement("script"); se.type = "text/javascript"; se.async = true; se.src = props.loaderURL || (config.domain + "/CHAT/common/js/chatv3.js"); Object.keys(config).forEach(function (k) { se.dataset[k] = config[k] }); Object.keys(props).forEach(function (k) { se.dataset[k] = props[k] }); function handleInitEvent(e) { var initFn = e.detail.init; initFn(config, cb); se.removeEventListener('init', handleInitEvent) } function handleErrorEvent(e) { ef && ef(e); se.removeEventListener('customerror', handleErrorEvent); } se.addEventListener('init', handleInitEvent); se.addEventListener('customerror', handleErrorEvent); var os = document.getElementsByTagName("script")[0]; os.parentNode.insertBefore(se, os); } })(); `,document.body.appendChild(n),()=>{document.getElementById("chatv3-loader")?.remove()}},[t]),t?e.createElement("div",{id:"__8x8-chat-button-container-script_93703771062ac5498a15aa3.22552790"}):null),Vn=({mappedEntry:t})=>{const n=(0,$.d4)(S.Fc),i=(0,$.d4)(Q.sW),r=(0,$.d4)(Q.jI),l=(0,$.d4)(de.DT.selectors.selectCurrentLocation),[a,o]=(0,e.useState)({isOpen:!1,title:"",formUrl:""}),c=(d,k)=>{!d||!k||o({isOpen:!0,title:d,formUrl:k})},p=()=>{o({isOpen:!1,title:"",formUrl:""})},[b,f]=(0,e.useState)("");let g="200px";if(typeof window<"u"){const d=window&&window.innerHeight;g=d?`${d-200}px`:"205px"}const x=(d,k)=>{const Te=document.querySelector(k)?.previousSibling?.previousSibling?.id;f(d==="above"?k:Te?`#${Te}`:b)},M=(0,$.wA)(),A=(0,Re.W6)(),re=(0,$.d4)(S.It),B=(0,$.d4)(S.ls),N=new URLSearchParams(l?.search),[u,y]=(0,e.useState)(B.find(d=>Object.fromEntries(N).option===d.optionId)?.optionId??re);if((0,e.useEffect)(()=>{u&&(M(Le(u)),N.set("option",u),A.push(l.pathname+"?"+N.toString()))},[u]),t&&t.status==="error")return e.createElement(Ve.A,{...t});const{metadata:z,hero:ae,modalContent:W,navigation:h,keyFacts:Ee,introduction:Gn,overview:Un,courseContent:Yn,careers:In,teaching:Wn,highlights:ye,entryRequirements:$e,moreToExplore:Kn,fees:_e,howToApply:Qn,staffContact:Xn,uniContact:ke,faqs:Ne,unistats:j,relatedCourses:Se,clearingAvailable:Jn,events:Ce,contactCTA:F,relatedCourseTitle:Zn,cpdCourse:Ae,liveChat:le}=t||{},{hero:oe,modalContent:K,navigation:H,keyFacts:Be,clearingAvailable:qn,entryRequirements:He,moreToExplore:ei,promoMessage:ze,overview:Fe,careers:Oe}=n||{},ti=(!!Jn||!!qn)&&!!i,se=Ce?Ce?.content?.filter(d=>Pn(d)):null;if(console.log("live chat",le,t?.liveChat),t&&t.status==="success"&&n)return e.createElement(De.A,{meta:z,showClearing:ti},e.createElement(je,null,e.createElement(Ge.A,{...oe??ae,secondaryCTA:{...oe?.secondaryCTA??ae?.secondaryCTA,onClick:()=>c(K?.title??W?.title,K?.formUrl??W?.formUrl)},id:u,setId:y}),e.createElement(Ie,{activeSection:b,setActiveSection:f,links:H?.links?H?.links:h?.links}),e.createElement("div",{className:"u-container course-body"},e.createElement("div",{className:"[ u-grid ] flow"},e.createElement("article",{className:"course-body__content"},e.createElement(Ht,{id:h?.custom?"":"introduction",...Gn,promoMessage:Ln(ze)?r:ze}),h?.custom?e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,H?.links?.[0]?.path??h?.links?.[0]?.path)}):e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#overview")}),e.createElement(Kt,{id:h?.custom?"":"overview",...Fe||Un}),se&&se.length>0&&e.createElement(Mn,{id:"events",content:se}),h?.custom?e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,H?.links?.[1]?.path??h?.links?.[1]?.path)}):e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#course-content")}),e.createElement(Zt,{id:h?.custom?"":"course-content",...Yn}),h?.custom?e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,H?.links?.[2]?.path??h?.links?.[2]?.path)}):e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#careers")}),e.createElement(tn,{id:h?.custom?"":"careers",...Oe||In}),h?.custom?null:e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#highlights")}),ye&&e.createElement("section",{id:h?.custom?"":"highlights",className:"highlights flow"},e.createElement("h2",{className:"section"},"Course highlights"),e.createElement(lt,{...ye}),e.createElement("hr",null)),h?.custom?e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,H?.links?.[3]?.path??h?.links?.[3]?.path)}):e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#teaching-and-assessment")}),e.createElement(ln,{id:h?.custom?"":"teaching-and-assessment",...Wn}),h?.custom?null:e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#entry-requirements")}),He??$e?e.createElement(pn,{id:h?.custom?"":"entry-requirements",...He??$e,cpdCourse:Ae}):null,h?.custom?null:e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#fees")}),_e&&e.createElement(yn,{id:h?.custom?"":"fees",..._e}),h?.custom?e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,H?.links?.[4]?.path??h?.links?.[4]?.path)}):e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#how-to-apply")}),e.createElement(Nn,{id:(h?.custom,"how-to-apply"),...Qn}),h?.custom?null:e.createElement(v.Y,{fireOnRapidScroll:!0,topOffset:150,bottomOffset:g,onLeave:({currentPosition:d})=>x(d,"#contact")}),e.createElement("section",{id:h?.custom?"":"contact",className:"flow"},e.createElement("h2",null,"Contact"),e.createElement("div",{className:"contact-section__container"},e.createElement("p",null,X.contactMessage)),Xn?.map((d,k)=>e.createElement(ge,{align:"start",...d,key:k})),F&&e.createElement(e.Fragment,null,e.createElement(ie.A,{className:"course-hero__button",label:F.label,buttonTheme:F.buttonTheme,link:F.link,onClick:()=>c(F.modal?.title??void 0,F.modal?.formUrl??void 0)})),ke&&e.createElement(st,{...ke}),le&&e.createElement("div",{className:"chat-button-container"},e.createElement("p",{className:"h6"},X.chatButtonMessage),e.createElement(Dn,{liveChat:le})),e.createElement("hr",null)),!Ae&&e.createElement(gn,{id:"more-to-explore",...ei??Kn}),Ne&&e.createElement("section",{id:h?.custom?"":"faqs"},e.createElement("h2",null,"FAQs"),e.createElement(Z.A,{...Ne}))),e.createElement("aside",{className:"course-body__aside key-facts"},Ee&&e.createElement(We.A,{...Be||Ee,secondaryCTA:{...oe?.secondaryCTA??ae?.secondaryCTA,onClick:()=>c(K?.title??W?.title,K?.formUrl??W?.formUrl)},id:u,setId:y})))),j&&j.some(d=>d.id!==null)&&e.createElement("section",{className:"flow unistats"},e.createElement("div",{className:"u-container"},e.createElement("div",{className:"unistats-container"},j&&j.length>0?e.createElement(e.Fragment,null,j.map((d,k)=>e.createElement(pt,{key:`${d.title}-${k}`,...d}))):null))),Se&&e.createElement("section",{className:"related-courses"},e.createElement("div",{className:"u-container"},e.createElement("h2",null,Zn??"Similar Course"),e.createElement(he.A,{...Se}))),e.createElement(fe,{isOpen:a.isOpen,setOpen:p,modalTitle:a.title},e.createElement("iframe",{title:a.title,src:a.formUrl,className:"form-modal"}))))}}}]);