1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[438,6823,8925],{10709:(ue,G,c)=>{c.d(G,{A:()=>te});var e=c(99087);const te=e.default.div` 2 ${({$leftCentre:z,$colorTheme:P})=>(0,e.css)` 3 ${P?.foreground&&`color: ${P.foreground};`}; 4 ${P?.background&&`background-color: ${P.background};`}; 5 max-width: 100%; 6 display: block; 7 margin-left: auto; 8 margin-right: auto; 9 text-align: ${z||"left"}; 10 margin-top: 0; 11 margin-bottom: 10px; 12 // padding-top: 2rem !important; 13 // padding-bottom: 2rem !important; 14 padding-left: 10px; 15 & h2, 16 > h3, 17 > h4, 18 > p, 19 > ul, 20 > ol { 21 max-width: 960px; 22 margin-left: auto; 23 margin-right: auto; 24 padding-right: 10px; 25 margin-top: 0; 26 ${P?.foreground&&`a {color: ${P.foreground};}`}; 27 } 28 li a:not([class]), 29 li a.link, 30 p a:not([class]), 31 p a.link { 32 font-weight: bolder; 33 } 34 `} 35`},17668:(ue,G,c)=>{c.d(G,{A:()=>L});var e=c(48322),D=c(35085),te=c(99087);const P=te.default.div` 36 display: flex; 37 align-items: center; 38 justify-content: ${h=>h.$leftCentre||"flex-start"}; 39 ${h=>h.$leftCentre==="left"&&"max-width: 960px;"}; 40 flex-wrap: wrap; 41 @media (min-width: 768px) { 42 padding-top: 1rem !important; 43 padding-bottom: 1rem !important; 44 } 45 gap: 15px; 46 ${h=>h.$leftCentre==="left"?`margin-left: auto; 47 margin-right: auto; 48 margin-top: 1rem; 49 margin-bottom: 1rem; 50 `:"margin: 1rem 0; "}; 51`;var re=c(10709);const L=({ctas:h,className:q,articleTitle:ae,title:J,leftCentre:A,equalizeWidth:O=!0})=>{let U=[];Array.isArray(h)?U=h:h&&Array.isArray(h.ctaButton)?U=h.ctaButton:h&&h.ctaButton?U=[h.ctaButton]:h&&typeof h=="object"&&(U=[h]);const Z=(0,e.useRef)([]),[M,X]=(0,e.useState)(null);return(0,e.useEffect)(()=>{if(!O){X(null);return}function H(){let F=0;Z.current.forEach(I=>{if(I){const B=Math.ceil(I.getBoundingClientRect().width);B>F&&(F=B)}}),F>0?X(F):X(null)}return H(),window.addEventListener("resize",H),()=>window.removeEventListener("resize",H)},[U.length,O]),e.createElement(e.Fragment,null,J&&e.createElement(re.A,{$leftCentre:A?"center":"left",className:"sectionTitle",style:{paddingBottom:"0rem",paddingTop:"0rem"}},e.createElement("h2",null,J)),e.createElement(P,{className:q,$leftCentre:A?"center":"left"},U.map((H,F)=>e.createElement("div",{key:H?.title||H?.reference||F,ref:I=>Z.current[F]=I,style:{display:"inline-block",width:O&&M?`${M}px`:void 0}},e.createElement(D.A,{articleTitle:ae||H?.reference,cta:H})))))}},22237:(ue,G,c)=>{c.d(G,{A:()=>ie});var e=c(48322),D=c(99087);const z=D.default.article` 52 ${({theme:v})=>(0,D.css)` 53 .article__layout { 54 @media screen and (min-width: 1024px) { 55 display: grid; 56 grid-template-columns: 8rem 2fr 4rem 1fr; 57 } 58 } 59 60 .article__content { 61 font-size: 1.6rem; 62 line-height: 2em; 63 64 @media screen and (min-width: 1024px) { 65 grid-area: 1 / 2 / 1 / 3; 66 } 67 68 & > p { 69 font-size: inherit; 70 line-height: inherit; 71 } 72 73 & .markup > p:first-of-type { 74 font-size: 1.8rem; 75 color: ${v.colors.blueAlt}; 76 } 77 } 78 79 .article__sidebar { 80 margin: 6.4rem 0 0 0; 81 82 @media screen and (min-width: 1024px) { 83 margin: 0; 84 grid-area: 1 / 4 / 1 / 5; 85 } 86 87 & > h2 { 88 margin-bottom: 3.2rem; 89 font-size: 1.8rem; 90 line-height: 0; 91 } 92 } 93 94 .entry-metainfo { 95 margin: 2.4rem 0; 96 font-size: 1.4rem; 97 color: ${v.colors.blue}; 98 99 @media screen and (min-width: 1024px) { 100 margin: 4.8rem 0 4rem 8rem; 101 } 102 103 .entry-metainfo__author, 104 .entry-metainfo__published-date { 105 display: inline-block; 106 margin-right: 1.6rem; 107 font-size: inherit; 108 color: inherit; 109 } 110 } 111 112 .article__social-share { 113 margin-bottom: 2.4rem; 114 } 115 `}; 116`;var P=c(2839),re=c(43738);const L=D.default.div` 117 ${({theme:v})=>(0,D.css)` 118 .event-meta__item { 119 font-size: 1.4rem; 120 line-height: 2.5em; 121 color: ${v.colors.blue}; 122 } 123 124 .event-meta__icon { 125 vertical-align: middle; 126 margin-right: 1.2rem; 127 fill: ${v.colors.blue}; 128 } 129 `}; 130`;var h=c(27745);const ae=({className:v,date:W,dateEnd:Q,location:ve})=>{const $e=new Date(W),Ne=new Date(Q);return e.createElement(L,{className:`event-meta ${v}`},e.createElement("div",{className:"event-meta__item event-meta__item--date"},e.createElement(h.I,{icon:"calendar",className:"event-meta__icon"}
130),$e.toLocaleString("default",{month:"long",day:"numeric"}),","," ",$e.toLocaleString("default",{timeStyle:"short"})," - ",Ne.toLocaleString("default",{timeStyle:"short"})),ve&&e.createElement("div",{className:"event-meta__item event-meta__item--location"},e.createElement(h.I,{icon:"location",className:"event-meta__icon"}),ve))},A=D.default.ul` 131 ${({theme:v})=>(0,D.css)` 132 padding: 0; 133 margin: 0; 134 list-style: none; 135 136 .social-share__item { 137 display: inline-block; 138 margin: 0 1.6rem 0 0; 139 140 @media screen and (min-width: 1024px) { 141 display: block; 142 margin: 0 0 2rem 0; 143 } 144 145 a { 146 padding: 0.8rem; 147 } 148 } 149 150 .social-share__icon { 151 color: ${v.colors.black}; 152 fill: ${v.colors.black}; 153 154 &:hover, 155 &:focus { 156 color: ${v.colors.blue}; 157 fill: ${v.colors.blue}; 158 } 159 } 160 `}; 161`,U=({pageTitle:v,pageUri:W,className:Q})=>W?e.createElement(A,{className:`social-share ${Q}`},e.createElement("li",{className:"social-share__item"},e.createElement("a",{href:`https://twitter.com/intent/tweet?url=${W}`,target:"_blank"},e.createElement(h.I,{icon:"twitter",className:"social-share__icon"}))),e.createElement("li",{className:"social-share__item"},e.createElement("a",{href:`https://www.facebook.com/dialog/share?app_id=973943312684851&display=page&href=${W}`,target:"_blank"},e.createElement(h.I,{icon:"facebook",className:"social-share__icon"}))),e.createElement("li",{className:"social-share__item"},e.createElement("a",{href:`https://www.linkedin.com/shareArticle?url=${W}`,target:"_blank"},e.createElement(h.I,{icon:"linkedin",className:"social-share__icon"}))),e.createElement("li",{className:"social-share__item"},e.createElement("a",{href:`whatsapp://send/text=${W}`,target:"_blank"},e.createElement(h.I,{icon:"whatsapp",className:"social-share__icon"}))),e.createElement("li",{className:"social-share__item"},e.createElement("a",{href:`mailto:?subject=${v}&body=Check%20out%20this%20site%20https://www.brunel.ac.uk/news-and-events/news/articles/REF-2021-results${W}`,target:"_blank"},e.createElement(h.I,{icon:"email",className:"social-share__icon"})))):null;var Z=c(29746);const X=()=>e.createElement("svg",{className:"i",width:24,height:24,fill:"none"},e.createElement("g",{clipPath:"url(#a)"},e.createElement("path",{d:"M12 0a12 12 0 1 0 12 12A12.013 12.013 0 0 0 12 0Zm8.647 7h-3.221a19.674 19.674 0 0 0-2.821-4.644A10.031 10.031 0 0 1 20.647 7ZM16.5 12a10.21 10.21 0 0 1-.476 3H7.976a10.211 10.211 0 0 1-.476-3 10.21 10.21 0 0 1 .476-3h8.048c.307.97.468 1.982.476 3Zm-7.722 5h6.444A19.615 19.615 0 0 1 12 21.588 19.572 19.572 0 0 1 8.778 17Zm0-10A19.615 19.615 0 0 1 12 2.412 19.57 19.57 0 0 1 15.222 7H8.778ZM9.4 2.356A19.676 19.676 0 0 0 6.574 7H3.353A10.03 10.03 0 0 1 9.4 2.356ZM2.461 9H5.9c-.26.98-.394 1.987-.4 3 .006 1.013.14 2.02.4 3H2.461a9.992 9.992 0 0 1 0-6Zm.892 8h3.221A19.676 19.676 0 0 0 9.4 21.644 10.031 10.031 0 0 1 3.353 17Zm11.252 4.644c1.15-1.41 2.1-2.973 2.821-4.644h3.221a10.031 10.031 0 0 1-6.042 4.644ZM21.539 15H18.1c.26-.98.394-1.987.4-3a12.02 12.02 0 0 0-.4-3h3.437a9.991 9.991 0 0 1 0 6h.002Z",fill:"#374957"})),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))),F=D.default.article` 162 ${({theme:v})=>(0,D.css)` 163 .os-link { 164 display: flex; 165 align-items: center; 166 color: ${v.colors.core_digital_cerulean}; 167 168 .i { 169 margin-right: 0.8rem; 170 } 171 } 172 `}; 173`,B=({className:v,path:W,title:Q})=>e.createElement(F,{className:v},e.createElement(Z.default,{uri:W,className:"os-link"},e.createElement(X,null),e.createElement("span",null,Q)));var ce=c(43851);const Ee=D.default.article` 174 ${({theme:v})=>(0,D.css)` 175 margin-bottom: 4rem; 176 .h4 { 177 margin-bottom: 2rem; 178 } 179 `}; 180`,ye=({name:v,email:W,phone:Q})=>!v||!W||!Q?null:e.createElement(Ee,null,e.createElement("h4",{className:"h4"},"Reported by:"),e.createElement("div",{className:"media-relation__content-container"},v&&e.createElement("div",{className:"media-relation__contact"},v),Q&&e.createElement("div",{className:"media-relation__contact"},e.createElement("a",{href:`tel:+44 (0)1895 2${Q}`,title:`Call +44 (0)1895 2${Q}`},"+44 (0)1895 2",Q)),W&&e.createElement("div",{className:"media-relation__contact"},e.createElement("a",{href:`mailto:${W}`},W))));var de=c(62223);const ie=({author:v,className:W,contactInformation:Q,content:ve,contentType:$e,eventDate:Ne,eventDateEnd:Le,featuredAcademics:ke,heroContent:Me,location:Te,mediaRelations:Ue,originalSource:xe,publishedDate:De,sidebar:Ae,uri:Ie})=>e.createElement(z,{className:`article ${W}`},e.createElement(re.A,{...Me}),e.createElement("div",{className:"wrapper"},e.createElement("div",{className:"entry-metainfo"},v&&e.createElement("p",{className:"entry-metainfo__author"},"By"," ",v.email?e.createElement(Z.default,{uri:`mailto:${v.email}`},v.title):e.createElement("span",null,v.title)),De&&e.createElement("time",{className:"entry-metainfo__published-date",dateTime:
180De},(0,P.Eb)(De))),e.createElement("div",{className:"article__layout"},e.createElement(U,{pageTitle:Me?.title,pageUri:Ie,className:"article__social-share"}),ve&&e.createElement("div",{className:"article__content flow"},$e==="syncedEvent"&&e.createElement(ae,{className:"article__event-meta",date:Ne,location:Te,dateEnd:Le}),ve,Q&&e.createElement(de.default,{_type:"textArea",className:"article__contact-info",html:Q}),xe&&xe.title&&e.createElement(B,{...xe}),Ue&&e.createElement(ye,{...Ue}),ke&&ke.length>0?e.createElement(e.Fragment,null,e.createElement("h4",null,"Featured Staff Profiles"),ke.map((Re,n)=>e.createElement(ce.default,{key:n,...Re}))):null),Ae&&e.createElement("aside",{className:"article__sidebar"},Ae))))},25027:(ue,G,c)=>{c.d(G,{A:()=>J});var e=c(48322),D=c(99087);const z=D.default.article` 181 ${({theme:A})=>(0,D.css)` 182 transition: box-shadow ease-out 175ms; 183 184 &:hover { 185 transition: box-shadow ease-in 125ms; 186 box-shadow: rgb(0 0 0 / 14%) 0px 0px 10px 0px, 187 rgb(0 0 0 / 12%) 0px 2px 10px 0px, rgb(0 0 0 / 20%) 0px 1px 10px 0px; 188 189 .card__title { 190 color: ${A.colors.core_digital_cerulean}; 191 text-decoration: underline; 192 } 193 } 194 195 &:focus-within { 196 outline: 5px auto -webkit-focus-ring-color; 197 } 198 199 .card__link { 200 text-decoration: none; 201 202 &:focus { 203 outline: 0; 204 205 .card__title { 206 color: ${A.colors.core_digital_cerulean}; 207 text-decoration: underline; 208 } 209 } 210 211 &::after { 212 content: ''; 213 position: absolute; 214 top: 0; 215 left: 0; 216 right: 0; 217 bottom: 0; 218 } 219 } 220 221 .card__event-date { 222 z-index: 1; 223 position: absolute; 224 top: 0; 225 right: 0; 226 margin: 0; 227 padding: 0.8rem 1.2rem; 228 font-weight: bold; 229 color: ${A.colors.white}; 230 background-color: ${A.colors.aquaAlt}; 231 } 232 233 .card__media-container { 234 flex: 0 0 30%; 235 max-height: 22rem; 236 237 &--placeholder { 238 display: flex; 239 align-items: center; 240 background-color: ${A.colors.greyLight}; 241 242 .card__image { 243 max-height: 80%; 244 object-fit: scale-down; 245 } 246 } 247 } 248 249 .card__image { 250 display: block; 251 height: 100%; 252 width: 100%; 253 object-fit: cover; 254 } 255 256 .card__large-date { 257 display: flex; 258 flex-direction: column; 259 justify-content: center; 260 align-items: center; 261 padding: 1.6rem; 262 height: 100%; 263 width: 10.8rem; 264 font-weight: bold; 265 line-height: 1; 266 text-align: center; 267 color: ${A.colors.white}; 268 background-color: ${A.colors.core_peat_prussian}; 269 270 &--month { 271 margin-bottom: 1.6rem; 272 font-size: 1.6rem; 273 } 274 275 &--day { 276 font-size: 4rem; 277 } 278 } 279 280 .card__content-container { 281 padding: 2.4rem 1.6rem; 282 /* background-color: ${A.colors.white}; */ 283 } 284 285 .card__date { 286 display: block; 287 margin-bottom: 1.2rem; 288 color: ${A.colors.core_digital_cerulean}; 289 } 290 291 .card__title { 292 margin: 0; 293 color: ${A.colors.blue}; 294 font-size: 1.7rem; 295 font-weight: 600; 296 line-height: 1.5em; 297 } 298 299 .card__description { 300 margin: 0.8em 0 0 0; 301 font-size: 1.6rem; 302 color: ${A.colors.grey}; 303 } 304 305 .card__comment { 306 position: absolute; 307 top: 0; 308 right: 0; 309 } 310 311 .card__container { 312 position: relative; 313 display: flex; 314 width: 100%; 315 height: 100%; 316 317 &--default { 318 flex-direction: column; 319 } 320 321 &--inline { 322 min-height: 20rem; 323 324 .card__media-container img { 325 min-height: 20rem; 326 } 327 328 .card__content-container { 329 display: flex; 330 flex-direction: column; 331 justify-content: space-around; 332 padding: 2rem 1.6rem; 333 } 334 335 .card__date { 336 margin: 1.6rem 0 0 0; 337 } 338 } 339 340 &--date { 341 .card__large-date { 342 width: 100%; 343 } 344 } 345 } 346 `}; 347`;var P=c(2839),re=c(29746),le=c(31840);const h=(A,O,U,Z=!0)=>{let M=A;return M.indexOf("picsum.photos")>-1||(O||U)&&(M+=M.includes("?")?"&":"?",O&&(M+="width="+O),U&&(O&&(M+="&"),M+="height="+U),Z&&O&&U&&(M+="&fit=crop"),M+="&format=webp"),M},q=null,J=({title:A,description:O,date:U,image:Z,altText:M,className:X,path:H,format:F,eventDate:I,classic:B})=>
347{const ce="/_MB34Eg_9d49cebe-fa40-4682-96e7-4326239fc749/static-main/img/brunel-logo-blue.svg",ge=I?new Date(I):null;return e.createElement(z,{className:`card card--${F} ${X||""}`},e.createElement("div",{className:`card__container card__container--${F}`},F!="date"&&I&&e.createElement("p",{className:"card__event-date"},(0,P.Eb)(I)),e.createElement("div",{className:`card__media-container ${Z?"":"card__media-container--placeholder"}`},B?e.createElement("img",{src:Z||ce,className:"card__image",alt:"Brunel University Logo"}):F!="date"&&Z?e.createElement(le.default,{src:h(Z,420,220),alt:M,className:"card__image",width:420,height:220,layout:"responsive"}):e.createElement("img",{src:ce,className:"card__image",alt:"Brunel University Logo"}),F==="date"&&I&&e.createElement("div",{className:"card__large-date"},e.createElement("span",{className:"card__large-date--month"},ge?.toLocaleString("default",{month:"short"})),e.createElement("span",{className:"card__large-date--day"},ge?.toLocaleString("default",{day:"numeric"})))),e.createElement("div",{className:"card__content-container"},F=="default"&&U&&e.createElement("time",{dateTime:U,className:"card__date"},(0,P.Eb)(U)),e.createElement(re.default,{uri:H,className:"card__link"},e.createElement("h3",{className:"card__title"},A)),O&&e.createElement("p",{className:"card__description"},O),F=="inline"&&U&&e.createElement("time",{dateTime:U,className:"card__date"},(0,P.Eb)(U)))))}},26158:(ue,G,c)=>{c.d(G,{A:()=>Re});var e=c(48322),D=c(99087);const z=D.default.div` 348 ${({theme:n})=>(0,D.css)` 349 .related-content__header { 350 display: flex; 351 margin-bottom: 2.4rem; 352 } 353 354 .related-content__title { 355 display: inline-block; 356 margin: 0; 357 font-size: 1.6rem; 358 line-height: 2em; 359 color: ${n.colors.blue}; 360 } 361 362 .related-content__view-all { 363 display: inline-block; 364 margin-left: auto; 365 font-size: 1.6rem; 366 line-height: 2em; 367 color: ${n.colors.core_digital_cerulean}; 368 } 369 370 .related-content__container { 371 display: flex; 372 flex-direction: column; 373 374 &--related-links { 375 padding: 0 0 0 2.4rem; 376 margin: 0; 377 list-style: none; 378 border-left: 0.2rem solid ${n.colors.core_digital_cerulean}; 379 } 380 381 & .card { 382 margin-bottom: 2.4rem; 383 } 384 385 & .card .card__link .card__container .card-media__container { 386 height: 10.8rem; 387 } 388 389 & li { 390 &:not(:last-of-type) { 391 margin-bottom: 2rem; 392 } 393 394 a.related-content__link { 395 &:hover, 396 &:focus, 397 &:focus-within { 398 color: ${n.colors.core_digital_cerulean}; 399 text-decoration: underline; 400 } 401 } 402 } 403 404 .related-content__link { 405 display: block; 406 color: ${n.colors.blue}; 407 text-decoration: none; 408 409 &:hover, 410 &:focus { 411 color: ${n.colors.core_peat_prussian}; 412 } 413 } 414 } 415 `}; 416`;var P=c(29746),re=c(25027);const L=D.default.div` 417 ${({theme:n})=>(0,D.css)` 418 .additional-dates__title { 419 display: block; 420 margin: 0; 421 font-size: 1.6rem; 422 line-height: 2em; 423 color: ${n.colors.blue}; 424 } 425 426 .additional-dates__list { 427 margin: 2rem 0 0 0; 428 padding: 2rem 2rem 2rem 3.6rem; 429 background-color: ${n.colors.greyLight}; 430 } 431 432 .additional-dates__list-item { 433 &:not(:last-of-type) { 434 margin-bottom: 2rem; 435 } 436 } 437 `}; 438`;var h=c(2839);const ae=({additionalDates:n})=>{if(!n||n.length===0)return null;const t={month:"long"};return e.createElement(L,null,e.createElement("h3",{className:"additional-dates__title"},"Additional Dates"),e.createElement("ul",{className:"additional-dates__list"},n&&n.length>0?n.map((i,o)=>e.createElement("li",{className:"additional-dates__list-item",key:o},(0,h.Eb)(i,t))):null))};var J=c(2803);const O=D.default.button` 439 display: inline-block; 440 position: relative; 441 background-color: #f10893; 442 border: none; 443 color: white; 444 font-weight: 700; 445 text-transform: uppercase; 446 padding: 2.4rem 7.2rem; 447`,Z=D.default.div` 448 z-index: 5; 449 position: absolute; 450 top: -2px; 451 left: -2px; 452 display: flex; 453 flex-direction: column; 454 align-items: flex-start; 455 border: 2px solid black; 456 457 width: 200px; 458 459 background-color: white; 460 461 .link { 462 z-index: 10; 463 width: 100%; 464 font-weight: 400; 465 text-align: left; 466 background-color: white; 467 text-transform: uppercase; 468 color: black; 469 text-decoration: none; 470 padding: 1rem 0 0.5rem 1rem; 471 border-bottom: 2px solid gray; 472 473 &:last-child { 474 border-bottom: none; 475 } 476 } 477 478 .closeButton { 479 color: black; 480 border: none; 481 background-color: rgba(0, 0, 0, 0); 482 font-weight: 700; 483 z-index: 11; 484 position: absolute; 485 right: 0; 486 top: 0; 487 cursor: pointer; 488 margin: 0.5rem; 489 } 490`;function M(){return M=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},M.apply(this,arguments)}function X(n){var t={exports:{}};return n(t,t.exports),t.exports}typeof globalThis<"u"||typeof window<"u"||(typeof c.g<"u"?c.g:typeof self<"u");var H=X(function(n,t){n.exports=function(){var i="millisecond",o="second",p="minute",$="hour",x="day",R="week",w="month",ee="quarter",a="year",l="date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 4,342 bytes, line 490
490|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},S=function(g,m,s){var y=String(g);return!y||y.length>=m?g:""+Array(m+1-y.length).join(s)+g},r={s:S,z:function(g){var m=-g.utcOffset(),s=Math.abs(m),y=Math.floor(s/60),u=s%60;return(m<=0?"+":"-")+S(y,2,"0")+":"+S(u,2,"0")},m:function g(m,s){if(m.date()<s.date())return-g(s,m);var y=12*(s.year()-m.year())+(s.month()-m.month()),u=m.clone().add(y,w),N=s-u<0,E=m.clone().add(y+(N?-1:1),w);return+(-(y+(s-u)/(N?u-E:E-u))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:w,y:a,w:R,d:x,D:l,h:$,m:p,s:o,ms:i,Q:ee}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},f="en",_={};_[f]=b;var C=function(g){return g instanceof Oe},se=function(g,m,s){var y;if(!g)return f;if(typeof g=="string")_[g]&&(y=g),m&&(_[g]=m,y=g);else{var u=g.name;_[u]=g,y=u}return!s&&y&&(f=y),y||!s&&f},V=function(g,m){if(C(g))return g.clone();var s=typeof m=="object"?m:{};return s.date=g,s.args=arguments,new Oe(s)},T=r;T.l=se,T.i=C,T.w=function(g,m){return V(g,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var Oe=function(){function g(s){this.$L=se(s.locale,null,!0),this.parse(s)}var m=g.prototype;return m.parse=function(s){this.$d=function(y){var u=y.date,N=y.utc;if(u===null)return new Date(NaN);if(T.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var E=u.match(d);if(E){var j=E[2]-1||0,K=(E[7]||"0").substring(0,3);return N?new Date(Date.UTC(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,K)):new Date(E[1],j,E[3]||1,E[4]||0,E[5]||0,E[6]||0,K)}}return new Date(u)}(s),this.$x=s.x||{},this.init()},m.init=function(){var s=this.$d;this.$y=s.getFullYear(),this.$M=s.getMonth(),this.$D=s.getDate(),this.$W=s.getDay(),this.$H=s.getHours(),this.$m=s.getMinutes(),this.$s=s.getSeconds(),this.$ms=s.getMilliseconds()},m.$utils=function(){return T},m.isValid=function(){return this.$d.toString()!=="Invalid Date"},m.isSame=function(s,y){var u=V(s);return this.startOf(y)<=u&&u<=this.endOf(y)},m.isAfter=function(s,y){return V(s)<this.startOf(y)},m.isBefore=function(s,y){return this.endOf(y)<V(s)},m.$g=function(s,y,u){return T.u(s)?this[y]:this.set(u,s)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(s,y){var u=this,N=!!T.u(y)||y,E=T.p(s),j=function(_e,oe){var pe=T.w(u.$u?Date.UTC(u.$y,oe,_e):new Date(u.$y,oe,_e),u);return N?pe:pe.endOf(x)},K=function(_e,oe){return T.w(u.toDate()[_e].apply(u.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(oe)),u)},Y=this.$W,ne=this.$M,he=this.$D,me="set"+(this.$u?"UTC":"");switch(E){case a:return N?j(1,0):j(31,11);case w:return N?j(1,ne):j(0,ne+1);case R:var Se=this.$locale().weekStart||0,we=(Y<Se?Y+7:Y)-Se;return j(N?he-we:he+(6-we),ne);case x:case l:return K(me+"Hours",0);case $:return K(me+"Minutes",1);case p:return K(me+"Seconds",2);case o:return K(me+"Milliseconds",3);default:return this.clone()}},m.endOf=function(s){return this.startOf(s,!1)},m.$set=function(s,y){var u,N=T.p(s),E="set"+(this.$u?"UTC":""),j=(u={},u[x]=E+"Date",u[l]=E+"Date",u[w]=E+"Month",u[a]=E+"FullYear",u[$]=E+"Hours",u[p]=E+"Minutes",u[o]=E+"Seconds",u[i]=E+"Milliseconds",u)[N],K=N===x?this.$D+(y-this.$W):y;if(N===w||N===a){var Y=this.clone().set(l,1);Y.$d[j](K),Y.init(),this.$d=Y.set(l,Math.min(this.$D,Y.daysInMonth())).$d}else j&&this.$d[j](K);return this.init(),this},m.set=function(s,y){return this.clone().$set(s,y)},m.get=function(s){return this[T.p(s)]()},m.add=function(s,y){var u,N=this;s=Number(s);var E=T.p(y),j=function(ne){var he=V(N);return T.w(he.date(he.date()+Math.round(ne*s)),N)};if(E===w)return this.set(w,this.$M+s);if(E===a)return this.set(a,this.$y+s);if(E===x)return j(1);if(E===R)return j(7);var K=(u={},u[p]=6e4,u[$]=36e5,u[o]=1e3,u)[E]||1,Y=this.$d.getTime()+s*K;return T.w(Y,this)},m.subtract=function(s,y){return this.add(-1*s,y)},m.format=function(s){var y=this;if(!this.isValid())return"Invalid Date";var u=s||"YYYY-MM-DDTHH:mm:ssZ",N=T.z(this),E=this.$locale(),j=this.$H,K=this.$m,Y=this.$M,ne=E.weekdays,he=E.months,me=function(oe,pe,je,Ce){return oe&&(oe[pe]||oe(y,u))||je[pe].substr(0,Ce)}
490,Se=function(oe){return T.s(j%12||12,oe,"0")},we=E.meridiem||function(oe,pe,je){var Ce=oe<12?"AM":"PM";return je?Ce.toLowerCase():Ce},_e={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Y+1,MM:T.s(Y+1,2,"0"),MMM:me(E.monthsShort,Y,he,3),MMMM:me(he,Y),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:me(E.weekdaysMin,this.$W,ne,2),ddd:me(E.weekdaysShort,this.$W,ne,3),dddd:ne[this.$W],H:String(j),HH:T.s(j,2,"0"),h:Se(1),hh:Se(2),a:we(j,K,!0),A:we(j,K,!1),m:String(K),mm:T.s(K,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:N};return u.replace(k,function(oe,pe){return pe||_e[oe]||N.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(s,y,u){var N,E=T.p(y),j=V(s),K=6e4*(j.utcOffset()-this.utcOffset()),Y=this-j,ne=T.m(this,j);return ne=(N={},N[a]=ne/12,N[w]=ne,N[ee]=ne/3,N[R]=(Y-K)/6048e5,N[x]=(Y-K)/864e5,N[$]=Y/36e5,N[p]=Y/6e4,N[o]=Y/1e3,N)[E]||Y,u?ne:T.a(ne)},m.daysInMonth=function(){return this.endOf(w).$D},m.$locale=function(){return _[this.$L]},m.locale=function(s,y){if(!s)return this.$L;var u=this.clone(),N=se(s,y,!0);return N&&(u.$L=N),u},m.clone=function(){return T.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),Pe=Oe.prototype;return V.prototype=Pe,[["$ms",i],["$s",o],["$m",p],["$H",$],["$W",x],["$M",w],["$y",a],["$D",l]].forEach(function(g){Pe[g[1]]=function(m){return this.$g(m,g[0],g[1])}}),V.extend=function(g,m){return g.$i||(g(m,Oe,V),g.$i=!0),V},V.locale=se,V.isDayjs=C,V.unix=function(g){return V(1e3*g)},V.en=_[f],V.Ls=_,V.p={},V}()}),F=X(function(n,t){n.exports=function(i,o,p){var $=o.prototype;p.utc=function(d){return new o({date:d,utc:!0,args:arguments})},$.utc=function(d){var k=p(this.toDate(),{locale:this.$L,utc:!0});return d?k.add(this.utcOffset(),"minute"):k},$.local=function(){return p(this.toDate(),{locale:this.$L,utc:!1})};var x=$.parse;$.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),x.call(this,d)};var R=$.init;$.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else R.call(this)};var w=$.utcOffset;$.utcOffset=function(d,k){var b=this.$utils().u;if(b(d))return this.$u?0:b(this.$offset)?w.call(this):this.$offset;var S=Math.abs(d)<=16?60*d:d,r=this;if(k)return r.$offset=S,r.$u=d===0,r;if(d!==0){var f=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(r=this.local().add(S+f,"minute")).$offset=S,r.$x.$localOffset=f}else r=this.utc();return r};var ee=$.format;$.format=function(d){return ee.call(this,d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},$.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||new Date().getTimezoneOffset());return this.$d.valueOf()-6e4*d},$.isUTC=function(){return!!this.$u},$.toISOString=function(){return this.toDate().toISOString()},$.toString=function(){return this.toDate().toUTCString()};var a=$.toDate;$.toDate=function(d){return d==="s"&&this.$offset?p(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():a.call(this)};var l=$.diff;$.diff=function(d,k,b){if(d&&this.$u===d.$u)return l.call(this,d,k,b);
490var S=this.local(),r=p(d).local();return l.call(S,r,k,b)}}}),I=new RegExp("%[a-f0-9]{2}","gi"),B=new RegExp("(%[a-f0-9]{2})+","gi");function ce(n,t){try{return decodeURIComponent(n.join(""))}catch{}if(n.length===1)return n;var i=n.slice(0,t=t||1),o=n.slice(t);return Array.prototype.concat.call([],ce(i),ce(o))}function ge(n){try{return decodeURIComponent(n)}catch{for(var t=n.match(I),i=1;i<t.length;i++)t=(n=ce(t,i).join("")).match(I);return n}}var Ee=function(n){if(typeof n!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof n+"`");try{return n=n.replace(/\+/g," "),decodeURIComponent(n)}catch{return function(i){for(var o={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},p=B.exec(i);p;){try{o[p[0]]=decodeURIComponent(p[0])}catch{var $=ge(p[0]);$!==p[0]&&(o[p[0]]=$)}p=B.exec(i)}o["%C2"]="\uFFFD";for(var x=Object.keys(o),R=0;R<x.length;R++){var w=x[R];i=i.replace(new RegExp(w,"g"),o[w])}return i}(n)}},be=(n,t)=>{if(typeof n!="string"||typeof t!="string")throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[n];const i=n.indexOf(t);return i===-1?[n]:[n.slice(0,i),n.slice(i+t.length)]},ye=function(n,t){for(var i={},o=Object.keys(n),p=Array.isArray(t),$=0;$<o.length;$++){var x=o[$],R=n[x];(p?t.indexOf(x)!==-1:t(x,R,n))&&(i[x]=R)}return i},de=X(function(n,t){function i(a){if(typeof a!="string"||a.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function o(a,l){return l.encode?l.strict?encodeURIComponent(a).replace(/[!'()*]/g,d=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(a):a}function p(a,l){return l.decode?Ee(a):a}function $(a){return Array.isArray(a)?a.sort():typeof a=="object"?$(Object.keys(a)).sort((l,d)=>Number(l)-Number(d)).map(l=>a[l]):a}function x(a){const l=a.indexOf("#");return l!==-1&&(a=a.slice(0,l)),a}function R(a){const l=(a=x(a)).indexOf("?");return l===-1?"":a.slice(l+1)}function w(a,l){return l.parseNumbers&&!Number.isNaN(Number(a))&&typeof a=="string"&&a.trim()!==""?a=Number(a):!l.parseBooleans||a===null||a.toLowerCase()!=="true"&&a.toLowerCase()!=="false"||(a=a.toLowerCase()==="true"),a}function ee(a,l){i((l=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},l)).arrayFormatSeparator);const d=function(b){let S;switch(b.arrayFormat){case"index":return(r,f,_)=>{S=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),S?(_[r]===void 0&&(_[r]={}),_[r][S[1]]=f):_[r]=f};case"bracket":return(r,f,_)=>{S=/(\[\])$/.exec(r),_[r=r.replace(/\[\]$/,"")]=S?_[r]!==void 0?[].concat(_[r],f):[f]:f};case"comma":case"separator":return(r,f,_)=>{const C=typeof f=="string"&&f.includes(b.arrayFormatSeparator),se=typeof f=="string"&&!C&&p(f,b).includes(b.arrayFormatSeparator);f=se?p(f,b):f;const V=C||se?f.split(b.arrayFormatSeparator).map(T=>p(T,b)):f===null?f:p(f,b);_[r]=V};default:return(r,f,_)=>{_[r]=_[r]!==void 0?[].concat(_[r],f):f}}}(l),k=Object.create(null);if(typeof a!="string"||!(a=a.trim().replace(/^[?#&]/,"")))return k;for(const b of a.split("&")){if(b==="")continue;let[S,r]=be(l.decode?b.replace(/\+/g," "):b,"=");r=r===void 0?null:["comma","separator"].includes(l.arrayFormat)?r:p(r,l),d(p(S,l),r,k)}for(const b of Object.keys(k)){const S=k[b];if(typeof S=="object"&&S!==null)for(const r of Object.keys(S))S[r]=w(S[r],l);else k[b]=w(S,l)}return l.sort===!1?k:(l.sort===!0?Object.keys(k).sort():Object.keys(k).sort(l.sort)).reduce((b,S)=>{const r=k[S];return b[S]=Boolean(r)&&typeof r=="object"&&!Array.isArray(r)?$(r):r,b},Object.create(null))}t.extract=R,t.parse=ee,t.stringify=(a,l)=>{if(!a)return"";i((l=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},l)).arrayFormatSeparator);const d=r=>l.skipNull&&a[r]==null||l.skipEmptyString&&a[r]==="",k=function(r){switch(r.arrayFormat){case"index":return f=>(_,C)=>{const se=_.length;return C===void 0||r.skipNull&&C===null||r.skipEmptyString&&C===""?_:C===null?[..._,[o(f,r),"[",se,"]"].join("")]:[..._,[o(f,r),"[",o(se,r),"]=",o(C,r)].join("")]};case"bracket":return f=>(_,C)=>C===void 0||r.skipNull&&C===null||r.skipEmptyString&&C===""?_:C===null?[..._,[o(f,r),"[]"].join("")]:[..._,[o(f,r),"[]=",o(C,r)].join("")];case"comma":case"separator":return f=>(_,C)=>C==null||C.length===0?_:_.length===0?[[o(f,r),"=",o(C,r)].join("")]:[[_,o(C,r)].join(r.arrayFormatSeparator)];default:return f=>(_,C)=>C===void 0||r.skipNull&&C===null||r.skipEmptyString&&C===""?_:C===null?[..._,o(f,r)]:[..._,[o(f,r),"=",o(C,r)].join("")]}}(l),b={};for(const r of Object.keys(a))d(r)||(b[r]=a[r]);const S=Object.keys(b);return l.sort!==!1&&S.sort(l.sort),S.map(r=>{const f=a[r];return f===void 0?"":f===null?o(r,l):Array.isArray(f)?f.reduce(k(r),[]).join("&"):o(r,l)+"="+o(f,l)}).filter(r=>r.length>0).join("&")},t.parseUrl=(a,l)=>{l=Object.assign({decode:!0},l);const[d,k]=be(a,"#");return Object.assign({url:d.split("?")[0]||"",query:ee(R(a),l)},l&&l.parseFragmentIdentifier&&k?{fragmentIdentifier:p(k,l)}:{})},t.stringifyUrl=(a,l)=>{l=Object.assign({encode:!0,strict:!0},l);const d=x(a.url).split("?")[0]||"",k=t.extract(a.url),b=t.parse(k,{sort:!1}),S=Object.assign(b,a.query);let r=t.stringify(S,l);r&&(r=`?${r}`);let f=function(_){let C="";const se=_.indexOf("#");return se!==-1&&(C=_.slice(se)),C}(a.url);return a.fragmentIdentifier&&(f=`#${o(a.fragmentIdentifier,l)}
490`),`${d}${r}${f}`},t.pick=(a,l,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:k,query:b,fragmentIdentifier:S}=t.parseUrl(a,d);return t.stringifyUrl({url:k,query:ye(b,l),fragmentIdentifier:S},d)},t.exclude=(a,l,d)=>{const k=Array.isArray(l)?b=>!l.includes(b):(b,S)=>!l(b,S);return t.pick(a,k,d)}});const fe={dateTimeLocal:"YYYY-MM-DD[T]HH:mm:ss",dateTimeUTC:"YYYYMMDD[T]HHmmss[Z]",allDay:"YYYYMMDD"};function ie({startTime:n,endTime:t},i){const o=fe[i];return{start:n.format(o),end:t.format(o)}}H.extend(F);const v=(n,t=!0)=>{const{start:i,end:o,duration:p}=n,$=function(w,ee){if(w==null)return{};var a,l,d={},k=Object.keys(w);for(l=0;l<k.length;l++)ee.indexOf(a=k[l])>=0||(d[a]=w[a]);return d}(n,["start","end","duration"]),x=t?H(i).utc():H(i),R=o?t?H(o).utc():H(o):(()=>{if(n.allDay)return x.add(1,"day");if(p&&p.length==2){const w=Number(p[0]);return x.add(w,p[1])}return t?H().utc():H()})();return M({},$,{startTime:x,endTime:R})},W=n=>{const t=v(n),{start:i,end:o}=ie(t,t.allDay?"allDay":"dateTimeUTC"),p={action:"TEMPLATE",text:t.title,details:t.description,location:t.location,trp:t.busy,dates:i+"/"+o,recur:t.rRule?"RRULE:"+t.rRule:void 0};return t.guests&&t.guests.length&&(p.add=t.guests.join()),`https://calendar.google.com/calendar/render?${de.stringify(p)}`},Q=n=>{const t=v(n,!1),{start:i,end:o}=ie(t,"dateTimeLocal");return`https://outlook.live.com/calendar/0/action/compose?${de.stringify({path:"/calendar/action/compose",rru:"addevent",startdt:i,enddt:o,subject:t.title,body:t.description,location:t.location,allday:t.allDay||!1})}`},ve=n=>{const t=v(n,!1),{start:i,end:o}=ie(t,"dateTimeLocal");return`https://outlook.live.com/calendar/0/deeplink/compose?${de.stringify({path:"/calendar/action/compose",rru:"addevent",startdt:i,enddt:o,subject:t.title,body:t.description,location:t.location,allday:t.allDay||!1})}`},$e=n=>{const t=v(n,!1),{start:i,end:o}=ie(t,"dateTimeLocal");return`https://outlook.office.com/calendar/0/action/compose?${de.stringify({path:"/calendar/action/compose",rru:"addevent",startdt:i,enddt:o,subject:t.title,body:t.description,location:t.location,allday:t.allDay||!1})}`},Ne=n=>{const t=v(n,!1),{start:i,end:o}=ie(t,"dateTimeLocal");return`https://outlook.office.com/calendar/0/deeplink/compose?${de.stringify({path:"/calendar/action/compose",rru:"addevent",startdt:i,enddt:o,subject:t.title,body:t.description,location:t.location,allday:t.allDay||!1})}`},Le=n=>{const t=v(n),{start:i,end:o}=ie(t,t.allDay?"allDay":"dateTimeUTC");return`https://calendar.yahoo.com/?${de.stringify({v:60,title:t.title,st:i,et:o,desc:t.description,in_loc:t.location,dur:!!t.allDay&&"allday"})}`},ke=n=>{const t=v(n),{start:i,end:o}=ie(t,t.allDay?"allDay":"dateTimeUTC");return`https://calendar.aol.com/?${de.stringify({v:60,title:t.title,st:i,et:o,desc:t.description,in_loc:t.location,dur:!!t.allDay&&"allday"})}`},Me=n=>{const t=v(n),i={subject:t.title,content:t.description,startTime:t.startTime.toISOString(),endTime:t.endTime.toISOString()};return t.guests&&t.guests.length&&(i.attendees=t.guests.join()),`https://teams.microsoft.com/l/meeting/new?${de.stringify(i)}`},Te=n=>{const t=v(n),i=(t.description||"").replace(/,/gm,",").replace(/;/gm,";").replace(/\r\n/gm,` 491`).replace(/\n/gm,"\\n").replace(/(\\n)[\s\t]+/gm,"\\n"),o=(t.location||"").replace(/,/gm,",").replace(/;/gm,";").replace(/\r\n/gm,` 492`).replace(/\n/gm,"\\n").replace(/(\\n)[\s\t]+/gm,"\\n"),{start:p,end:$}=ie(t,t.allDay?"allDay":"dateTimeUTC"),x=H(new Date).utc().format(fe.dateTimeUTC),R=[{key:"BEGIN",value:"VCALENDAR"},{key:"VERSION",value:"2.0"},{key:"PRODID",value:t.title},{key:"BEGIN",value:"VEVENT"},{key:"URL",value:t.url},{key:"DTSTART",value:p},{key:"DTEND",value:$},{key:"DTSTAMP",value:x},{key:"RRULE",value:t.rRule},{key:"SUMMARY",value:t.title},{key:"DESCRIPTION",value:i},{key:"LOCATION",value:o},{key:"ORGANIZER",value:t.organizer},{key:"UID",value:Math.floor(1e5*Math.random()).toString().replace(".","")},{key:"END",value:"VEVENT"},{key:"END",value:"VCALENDAR"}];let w="";return R.forEach(ee=>{if(ee.value)if(ee.key=="ORGANIZER"){const a=ee.value;w+=`${ee.key};${encodeURIComponent(`CN=${a.name}:MAILTO:${a.email}\r 493`)}`}else w+=`${ee.key}:${encodeURIComponent(`${ee.value}\r 494`)}`}),`data:text/calendar;charset=utf8,${w}`},xe=({closePopUp:n,event:t})=>e.createElement(Z,null,e.createElement("p",{className:"closeButton",onClick:n},"X"),e.createElement("a",{className:"link",href:W(t)},"google"),e.createElement("a",{className:"link",href:Q(t)},"outlook"),e.createElement("a",{className:"link",href:$e(t)},"office365"),e.createElement("a",{className:"link",href:Te(t)},"ical")),Ae=n=>{const{className:t}=n,[i,o]=(0,e.useState)(!1),p=()=>o(!1),$=()=>o(!i),x={...n,className:null};return e.createElement(O,{className:t,onClick:$},e.createElement("p",null,"Add to calendar"),i&&e.createElement(xe,{event:x,closePopUp:p}))},Re=({contentType:n,addtoCalendar:t,content:i,links:o,additionalDates:p,className:$})=>{if(i&&i.length==0)return null;let x;return n===J.Py.syncedNews&&(x="news"),n===J.Py.syncedEvent&&(x="events"),e.createElement(z,{className:`related-content flow ${$}`},n===J.Py.syncedEvent&&t&&e.createElement(Ae,{key:"addToCalendar-{idx}",...t}),p&&e.createElement(ae,{additionalDates:p}),e.createElement("div",{className:"related-content__header"},e.createElement("h2",{className:"related-content__title"},"Related ",x),e.createElement(P.default,{title:`View all ${x}`,uri:`/${x}`,className:"related-content__view-all"},"View all ",x)),e.createElement("div",{className:"related-content__container"},n==="syncedNews"&&i&&i.length>0?i.map((R,w)=>e.createElement(re.A,{...R,key:w,format:"inline"})):null,n==="syncedEvent"&&i&&i.length>0?i.map((R,w)=>e.createElement(re.A,{...R,key:w,format:"date"})):null),o&&o.length>0&&e.createElement(e.Fragment,null,e.createElement("div",{className:"related-content__header"},e.createElement("h2",{className:"related-content__title"},"Related Links")),e.createElement("ul",{className:"related-content__container related-content__container--related-links"},o&&o.length>0?o.map((R,w)=>e.createElement("li",{key:w},e.createElement(P.default,{uri:R.path,className:"related-content__link"},R.title))):null)))}},30685:(ue,G,c)=>{c.d(G,{A:()=>re});var e=c(48322),D=c(14864),te=c(77334),z=c(69076);const re=({title:le=z.yy,description:L,keywords:h,image:q,type:ae="WebPage",uri:J,department:A,speakable:O,courseMode:U,startDate:Z,endDate:M,location:X,name:H,price:F})=>{const I=le===z.yy?le:`${le} | ${z.yy}`,B=q&&te.A.resolveRelativeUrl(q.asset.sys.uri),ce={"@context":"https://schema.org","@type":ae,name:I,...O?{speakable:{"@type":"SpeakableSpecification",cssSelector:[{speakable:O}
494]}}:{},...L?{description:L}:{},...J?{url:te.A.resolveRelativeUrl(J)}:{},provider:{"@type":"CollegeOrUniversity",name:z.yy,url:z.W6},...B?{image:B}:{},...ae==="Course"?{hasCourseInstance:[{"@type":"CourseInstance",courseMode:U??"Onsite",...Z?{startDate:Z}:{},location:{"@type":X?"Place":void 0,name:H??z.yy},offers:{"@type":"Offer",price:F?F+" Fees quoted are per year and are subject to an annual increase":"TBD",priceCurrency:"GBP"}}]}:{}};return e.createElement(D.m,null,e.createElement("title",null,I),B?e.createElement("link",{rel:"preload",as:"image",href:B}):null,J&&e.createElement("link",{rel:"canonical",href:te.A.resolveRelativeUrl(J)}),L&&e.createElement("meta",{name:"description",content:L}),h&&e.createElement("meta",{name:"keywords",content:h}),e.createElement("meta",{property:"og:title",content:I}),L&&e.createElement("meta",{property:"og:description",content:L}),B&&e.createElement("meta",{property:"og:image",content:B}),e.createElement("meta",{property:"twitter:title",content:I}),L&&e.createElement("meta",{property:"twitter:description",content:L}),B&&e.createElement("meta",{property:"twitter:image",content:B}),e.createElement("script",{type:"application/ld+json"},JSON.stringify(ce)))}},43738:(ue,G,c)=>{c.d(G,{A:()=>J});var e=c(48322),D=c(22582),te=c(99087);const P=te.default.section` 495 ${({theme:A,$image:O,video:U})=>(0,te.css)` 496 position: relative; 497 padding: 1.6rem 0; 498 color: ${A.colors.white}; 499 500 .article-hero__title { 501 margin-bottom: 0; 502 // max-width: 30ch; 503 } 504 505 .article-hero__description { 506 margin-top: 1rem; 507 } 508 509 .article-hero__cta { 510 display: flex; 511 flex-flow: column nowrap; 512 margin-top: 4rem; 513 justify-content: center; 514 @media screen and (min-width: 768px) { 515 flex-flow: row wrap; 516 } 517 } 518 519 .article-hero__link { 520 margin-top: 0; 521 width: max-content; 522 text-align: center; 523 color: ${A.colors.white}; 524 525 &:not(:first-of-type) { 526 margin: 2.4rem 0 0 0; 527 528 @media screen and (min-width: 768px) { 529 margin: 0 2.4rem; 530 } 531 } 532 533 &:last-of-type { 534 margin-bottom: 4rem; 535 } 536 } 537 538 .article-hero__video-background { 539 position: absolute; 540 width: 100%; 541 height: 100%; 542 inset: 0; 543 object-fit: cover; 544 z-index: -1; 545 } 546 547 & { 548 button { 549 &.article-hero__video-pause-button { 550 color: #00615e; 551 border: 1px solid #00615e; 552 border-radius: 20px; 553 // margin-top: 5px; 554 padding: 4px 5px 0px 7px; 555 margin-top: -50px; 556 position: absolute; 557 right: 10px; 558 559 &:hover { 560 color: #00615ecc; 561 } 562 } 563 } 564 } 565 566 ${(!!O||!!U)&&` 567 min-height: 40rem; 568 background: #000 url(${U||`${O}?height=400`}); 569 // background-size: cover; 570 background-position: center top; 571 background-repeat: no-repeat; 572 573 h1, .article-hero__title, .article-hero__message, .article-hero__description { 574 color: ${A.colors.white}; 575 text-align: center; 576 } 577 578 .article-hero__title { 579 margin-top: 6.4rem; 580 581 } 582 583 @media screen and (max-width: 768px) { 584 background: #000 url(${U||`${O}?height=220`}) no-repeat center top; 585 } 586 `} 587 588 // Brunel brand 2024 589 @media screen and (max-width: 768px) { 590 // min-height: 50rem; 591 } 592 .wrapper { 593 background-color: rgb(0, 0, 0, 0.7); 594 width: 46rem; 595 position: absolute; 596 left: 10%; 597 bottom: 0; 598 padding: 3rem 3rem 8rem 3rem; 599 box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 20px 0; 600 601 & > * { 602 padding: 0; 603 margin: 0; 604 margin-bottom: 15px; 605 &:last-child { 606 margin-bottom: 0; 607 } 608 } 609 610 @media screen and (max-width: 768px) { 611 width: 100%; 612 left: auto; 613 bottom: 0; 614 top: auto; 615 background: #000; 616 position: static; 617 margin-top: 20rem; 618 margin-bottom: 0; 619 box-shadow: none; 620 padding: 10px 10px 0; 621 min-height: 25vh; 622 } 623 } 624 .article-hero__title { 625 margin-top: 0; 626 font-size: 2.4rem; 627 line-height: 3.6rem; 628 font-family: 'Open Sans', Arial, sans-serif; 629 // font-family: 'ivypresto-headline', serif; 630 631 @media screen and (min-width: 768px) { 632 font-size: 3rem; 633 } 634 } 635 .article-hero__description { 636 line-height: 3rem; 637 & > div { 638 // margin: 2rem 0; 639 } 640 @media screen and (min-width: 768px) { 641 font-size: 2rem; 642 } 643 } 644 `}; 645`;var re=c(56950),le=c(43266),L=c(94865),h=c(77334),q=c(17668);const J=({title:A,overlay:O,message:U,description:Z,image:M,video:X,heroLink:H,externalLink:F,ctaButtons:I,ctaEntryButtons:B,hideBreadcrumbs:ce,className:ge})=>{const Ee=(0,le.d4)(L.Lg),be=M?"white":"blue",[ye,de]=(0,e.useState)(!1),fe=(0,e.useRef)(null),ie=()=>{fe.current&&(ye?fe.current.play():fe.current.pause(),de(!ye))}
645,v=M&&typeof M=="string"&&M||M?.asset?.sys?.uri||M?.sys?.uri||M?.url||"",W=typeof v=="string"&&v?h.A.resolveRelativeUrl(v):"",Q=O?.ctas&&Array.isArray(O.ctas)&&O.ctas.length>0?O.ctas:I&&Array.isArray(I.ctaButton)&&I.ctaButton.length>0?I.ctaButton:Array.isArray(B)&&B.length>0?B:null;return e.createElement(P,{className:`article-hero ${ge}`,$image:W,video:X},e.createElement("div",{className:"wrapper"},!ce&&e.createElement(re.A,{breadcrumbs:Ee,breadcrumbColor:be,className:"article-hero__breadcrumbs"}),e.createElement("h2",{className:"article-hero__title"},O?.overlayTitle||A),e.createElement("div",{className:"article-hero__description"},O?.description||Z),e.createElement(q.A,{className:"article-hero__cta",ctas:Q,articleTitle:A})),X&&e.createElement(e.Fragment,null,e.createElement("video",{ref:fe,autoPlay:!0,loop:!0,muted:!0,className:"article-hero__video-background",onClick:ie},e.createElement("source",{src:X,type:"video/mp4"})),e.createElement("button",{className:"article-hero__video-pause-button",onClick:ie},ye?e.createElement(D.gSK,null):e.createElement(D.kwt,null))))}},43851:(ue,G,c)=>{c.r(G),c.d(G,{default:()=>L});var e=c(48322),D=c(29746),te=c(31840),z=c(99087);const re=z.default.article` 646 ${({theme:h})=>(0,z.css)` 647 width: 100%; 648 649 a { 650 color: inherit; 651 text-decoration: none; 652 } 653 654 .fp-card { 655 display: flex; 656 657 &__image-wrapper { 658 > div { 659 height: 100%; 660 } 661 } 662 663 &__image { 664 width: 100%; 665 height: auto; 666 max-width: 8.2rem; 667 max-height: 8.2rem; 668 } 669 670 &__info { 671 margin-left: 2.4rem; 672 } 673 674 &__name { 675 color: ${h.colors.blueAlt}; 676 margin-bottom: 0.4rem; 677 } 678 } 679 `}; 680`,L=({className:h,path:q,image:ae,imageAlt:J,name:A,jobTitle:O})=>e.createElement(re,{className:h},e.createElement(D.default,{uri:q,className:"fp-card__link"},e.createElement("div",{className:"fp-card"},e.createElement("div",{className:"fp-card__image-wrapper"},e.createElement(te.default,{className:"fp-card__image",src:ae||"",alt:J||"Featured academic",unoptimized:ae?.startsWith("http"),width:82,height:82,typeof:"foaf:Image"})),e.createElement("div",{className:"fp-card__info"},A&&e.createElement("div",{className:"fp-card__name"},A),O&&e.createElement("div",{className:"fp-card__desc"},O)))))},62223:(ue,G,c)=>{c.r(G),c.d(G,{default:()=>le});var e=c(48322),D=c(99087);const z=D.default.div` 681 ${({theme:L})=>(0,D.css)` 682 // padding-bottom: 1.6rem; 683 684 ul { 685 line-height: 2em; 686 list-style: none; 687 li { 688 margin-left: 1em; 689 &:before { 690 content: 'â¢'; 691 color: black; 692 font-weight: bold; 693 display: inline-block; 694 width: 1em; 695 margin-left: -1em; 696 } 697 } 698 } 699 700 p { 701 font-size: 1.6rem; 702 font-weight: 400; 703 line-height: 2em; 704 705 strong { 706 font-weight: 600; 707 } 708 } 709 710 li div { 711 margin-top: 10px; 712 } 713 714 .scroll-table { 715 overflow-x: auto; 716 } 717 .scroll-table::-webkit-scrollbar {
718 width: 12px; 719 } 720 .scroll-table::-webkit-scrollbar-track { 721 background: #f1f1f1; 722 } 723 .scroll-table::-webkit-scrollbar-thumb { 724 background: #00615e; 725 border-radius: 6px; 726 } 727 .scroll-table::-webkit-scrollbar-thumb:hover { 728 background: #555; 729 } 730 `} 731`,P=(L,h)=>{if(!h)return"";let q;return Array.isArray(h)?q=h.join(" "):q=h,q.replace(/<table/g,`<div class=${L}><table`).replace(/<\/table>/g,"</table></div>")},le=({className:L,html:h})=>{if(!h)return null;const q=P("scroll-table",h);return e.createElement(z,{className:`markup flow ${L}`,dangerouslySetInnerHTML:{__html:q}})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.