@uob-web-and-digital/component-library 2.12.10 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/organisms/TextOverMedia/TextOverMedia.d.ts +14 -0
- package/dist/components/organisms/TextOverMedia/TextOverMedia.stories.d.ts +22 -0
- package/dist/components/organisms/TextOverMedia/defaultProps.d.ts +4 -0
- package/dist/index.d.ts +3 -2
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/dist/module.js +3 -3
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{forwardRef as t,useState as n,useEffect as a,useRef as r,useCallback as c,useId as l}from"react";import{motion as i,useScroll as o,useTransform as s,AnimatePresence as m}from"framer-motion";function d(e,t){void 0===t&&(t={}),t.insertAt}d();var u=function(){return u=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},u.apply(this,arguments)};function h(e,t,n){if(n||2===arguments.length)for(var a,r=0,c=t.length;r<c;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function p(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=p(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function v(){for(var e,t,n=0,a="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=p(e))&&(a&&(a+=" "),a+=t);return a}function f(t,n){return void 0===n&&(n=void 0),e.createElement("span",{className:n,dangerouslySetInnerHTML:{__html:t}})}function g(e){return e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-")}function E(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.fullWidth,i=void 0!==l&&l,o=t.removeBottomPadding,s=void 0!==o&&o;return e.createElement("div",{className:v("rich-text",i&&"rich-text--full-width",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),s&&"rich-text--no-bottom-padding")},e.createElement("div",{className:"rich-text__container"},f(n)))}function _(t){var n=t.icon,a=t.ariaHidden,r=void 0!==a&&a,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i;switch(n){case"restaurant":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M280-80v-366q-51-14-85.5-56T160-600v-280h80v280h40v-280h80v280h40v-280h80v280q0 56-34.5 98T360-446v366h-80Zm400 0v-320H560v-280q0-83 58.5-141.5T760-880v800h-80Z"}));case"bed":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M200-200h-40l-26-80H80v-201q0-33 23.5-56t56.5-23v-120q0-33 23.5-56.5T240-760h480q33 0 56.5 23.5T800-680v120q33 0 56.5 23.5T880-480v200h-54l-26 80h-40l-26-80H226l-26 80Zm320-360h200v-120H520v120Zm-280 0h200v-120H240v120Zm-80 200h640v-120H160v120Zm640 0H160h640Z"}));case"groups":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M0-240v-63q0-43 44-70t116-27q13 0 25 .5t23 2.5q-14 21-21 44t-7 48v65H0Zm240 0v-65q0-32 17.5-58.5T307-410q32-20 76.5-30t96.5-10q53 0 97.5 10t76.5 30q32 20 49 46.5t17 58.5v65H240Zm540 0v-65q0-26-6.5-49T754-397q11-2 22.5-2.5t23.5-.5q72 0 116 26.5t44 70.5v63H780Zm-455-80h311q-10-20-55.5-35T480-370q-55 0-100.5 15T325-320ZM160-440q-33 0-56.5-23.5T80-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T160-440Zm640 0q-33 0-56.5-23.5T720-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T800-440Zm-320-40q-50 0-85-35t-35-85q0-51 35-85.5t85-34.5q51 0 85.5 34.5T600-600q0 50-34.5 85T480-480Zm0-80q17 0 28.5-11.5T520-600q0-17-11.5-28.5T480-640q-17 0-28.5 11.5T440-600q0 17 11.5 28.5T480-560Zm1 240Zm-1-280Z"}));case"camping":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M80-80v-186l350-472-70-94 64-48 56 75 56-75 64 48-70 94 350 472v186H80Zm400-591L160-240v80h120l200-280 200 280h120v-80L480-671ZM378-160h204L480-302 378-160Zm102-280 200 280-200-280-200 280 200-280Z"}));case"one":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M480-280h80v-400H400v80h80v320ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"}));case"two":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M360-280h240v-80H440v-80h80q33 0 56.5-23.5T600-520v-80q0-33-23.5-56.5T520-680H360v80h160v80h-80q-33 0-56.5 23.5T360-440v160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"}));case"one-two-three":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm100-200h46v-240h-36l-70 50 24 36 36-26v180Zm124 0h156v-40h-94l-2-2q21-20 34.5-34t21.5-22q18-18 27-36t9-38q0-29-22-48.5T458-600q-26 0-47 15t-29 39l40 16q5-13 14.5-20.5T458-558q15 0 24.5 8t9.5 20q0 11-4 20.5T470-486l-32 32-54 54v40Zm296 0q36 0 58-20t22-52q0-18-10-32t-28-22v-2q14-8 22-20.5t8-29.5q0-27-21-44.5T678-600q-25 0-46.5 14.5T604-550l40 16q4-12 13-19t21-7q13 0 21.5 7.5T708-534q0 14-10 22t-26 8h-18v40h20q20 0 31 8t11 22q0 13-11 22.5t-25 9.5q-17 0-26-7.5T638-436l-40 16q7 29 28.5 44.5T680-360ZM160-240h640v-480H160v480Zm0 0v-480 480Z"}));case"flight":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M340-80v-60l80-60v-220L80-320v-80l340-200v-220q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v220l340 200v80L540-420v220l80 60v60l-140-40-140 40Z"}));case"note-add":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"}));case"domain":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M80-120v-720h400v160h400v560H80Zm80-80h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm160 480h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm160 480h320v-400H480v80h80v80h-80v80h80v80h-80v80Zm160-240v-80h80v80h-80Zm0 160v-80h80v80h-80Z"}));case"twitter":return e.createElement("svg",{className:v("icon","icon--twitter","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13.9272 10.4769L19.5112 4H18.188L13.3393 9.6238L9.46672 4H5.00012L10.8563 12.5042L5.00012 19.2962H6.32345L11.4438 13.3573L15.5335 19.2962H20.0001L13.9268 10.4769H13.9272ZM12.1147 12.5791L11.5213 11.7323L6.80026 4.99401H8.83281L12.6428 10.432L13.2361 11.2788L18.1886 18.3474H16.1561L12.1147 12.5794V12.5791Z",fill:"currentColor"}));case"facebook":return e.createElement("svg",{className:v("icon","icon--facebook","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M14.238 0H0.83197C0.611483 0.000265008 0.400138 0.0880475 0.244324 0.244049C0.0885097 0.400051 0.000976403 0.611514 0.000976563 0.832001V14.238C0.00124157 14.4585 0.0890241 14.6698 0.245026 14.8257C0.401027 14.9815 0.61249 15.069 0.832977 15.069H8.05096V9.242H6.09396V6.961H8.05096V5.28201C8.01112 4.88438 8.05876 4.48285 8.19049 4.10556C8.32223 3.72828 8.53488 3.38437 8.81357 3.09796C9.09226 2.81155 9.43023 2.58956 9.80377 2.44757C10.1773 2.30558 10.5774 2.24703 10.976 2.276C11.5622 2.27399 12.1481 2.30404 12.731 2.366V4.39999H11.531C10.586 4.39999 10.403 4.849 10.403 5.508V6.961H12.662L12.368 9.242H10.401V15.069H14.234C14.4545 15.069 14.6659 14.9815 14.8219 14.8257C14.9779 14.6698 15.0657 14.4585 15.066 14.238V0.830994C15.0657 0.610507 14.9779 0.399161 14.8219 0.243347C14.6659 0.0875331 14.4545 -1.5926e-07 14.234 0H14.238Z",fill:"currentColor"}));case"wechat":return e.createElement("svg",{className:v("icon","icon--wechat","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M15.9 8.67199C14.12 8.69222 12.4126 9.38033 11.116 10.6C10.4654 11.2077 9.96681 11.9599 9.66039 12.7957C9.35397 13.6316 9.24833 14.5278 9.35198 15.412C8.62598 15.322 7.96498 15.223 7.29998 15.167C7.06018 15.1393 6.81745 15.1802 6.59998 15.285C5.95398 15.649 5.33498 16.061 4.59998 16.519C4.73498 15.91 4.82198 15.377 4.97598 14.864C5.04653 14.7154 5.0561 14.5452 5.00264 14.3897C4.94918 14.2342 4.83695 14.1058 4.68998 14.032C3.64594 13.3843 2.84111 12.4143 2.39712 11.2687C1.95313 10.1231 1.89411 8.86411 2.22898 7.68199C2.53255 6.64379 3.09872 5.70142 3.8728 4.94591C4.64688 4.19039 5.60272 3.64727 6.64798 3.36899C8.07907 2.89295 9.62135 2.86498 11.0688 3.28884C12.5162 3.7127 13.7997 4.56818 14.748 5.74099C15.4072 6.58612 15.8073 7.60418 15.9 8.67199ZM7.35198 7.91699C7.35213 7.6954 7.26635 7.48239 7.11268 7.32274C6.959 7.1631 6.74941 7.06927 6.52798 7.06099C6.41862 7.05657 6.30946 7.07377 6.20676 7.11161C6.10405 7.14945 6.00983 7.20718 5.92947 7.2815C5.84912 7.35581 5.78422 7.44525 5.73849 7.54469C5.69276 7.64413 5.6671 7.75162 5.66298 7.86099C5.65883 7.97085 5.67676 8.08042 5.7157 8.18322C5.75465 8.28603 5.81382 8.37998 5.88971 8.45951C5.96561 8.53904 6.05669 8.60254 6.15756 8.64625C6.25843 8.68997 6.36705 8.713 6.47698 8.71399C6.69864 8.72217 6.91462 8.64287 7.07833 8.4932C7.24203 8.34353 7.34032 8.13549 7.35198 7.91399M11.811 7.05999C11.5894 7.06514 11.3784 7.15593 11.2224 7.3133C11.0663 7.47067 10.9773 7.68238 10.974 7.90399C10.9764 8.01413 11.0006 8.12269 11.0452 8.22345C11.0898 8.3242 11.1538 8.41515 11.2336 8.49108C11.3134 8.567 11.4075 8.6264 11.5104 8.66585C11.6132 8.70531 11.7229 8.72405 11.833 8.72099C11.9443 8.72308 12.055 8.70278 12.1583 8.66127C12.2617 8.61977 12.3556 8.55791 12.4346 8.47938C12.5136 8.40085 12.5759 8.30724 12.618 8.20413C12.6601 8.10101 12.681 7.99049 12.6795 7.87913C12.6781 7.76777 12.6542 7.65784 12.6094 7.55588C12.5646 7.45391 12.4998 7.36199 12.4188 7.28558C12.3377 7.20917 12.2422 7.14982 12.1378 7.11107C12.0334 7.07232 11.9222 7.05494 11.811 7.05999Z",fill:"currentColor"}),e.createElement("path",{d:"M20.0755 20.2533C19.547 19.9329 18.9742 19.692 18.3755 19.5383C17.7757 19.5923 17.1824 19.7032 16.6035 19.8693C15.7374 19.978 14.858 19.8939 14.0281 19.623C13.1983 19.3521 12.4387 18.9011 11.8035 18.3023C11.2081 17.7936 10.7441 17.1488 10.4509 16.4227C10.1578 15.6965 10.044 14.9103 10.1194 14.1308C10.1948 13.3513 10.457 12.6015 10.8839 11.945C11.3108 11.2884 11.8897 10.7445 12.5715 10.3593C13.8815 9.52946 15.4462 9.19852 16.98 9.42691C18.5137 9.65531 19.9142 10.4278 20.9255 11.6033C21.7183 12.5587 22.105 13.7869 22.0025 15.0242C21.9001 16.2614 21.3167 17.4093 20.3775 18.2213C19.8045 18.7293 19.5995 19.1473 19.9665 19.8213C20.022 19.9616 20.0606 20.1079 20.0815 20.2573M13.3755 13.7693C13.559 13.7693 13.7351 13.6964 13.8648 13.5666C13.9946 13.4368 14.0675 13.2608 14.0675 13.0773C14.0675 12.8938 13.9946 12.7177 13.8648 12.588C13.7351 12.4582 13.559 12.3853 13.3755 12.3853C13.192 12.3853 13.016 12.4582 12.8862 12.588C12.7564 12.7177 12.6835 12.8938 12.6835 13.0773C12.6835 13.2608 12.7564 13.4368 12.8862 13.5666C13.016 13.6964 13.192 13.7693 13.3755 13.7693ZM17.6905 12.3873C17.5129 12.3884 17.3426 12.4577 17.2147 12.581C17.0868 12.7042 17.0112 12.8719 17.0035 13.0493C16.9994 13.185 17.0357 13.3189 17.108 13.4339C17.1803 13.5488 17.2852 13.6396 17.4094 13.6947C17.5335 13.7497 17.6712 13.7665 17.805 13.7429C17.9387 13.7193 18.0623 13.6563 18.1601 13.5621C18.2579 13.4679 18.3254 13.3466 18.3539 13.2139C18.3825 13.0811 18.3708 12.9429 18.3204 12.8168C18.27 12.6907 18.1832 12.5825 18.071 12.506C17.9588 12.4295 17.8263 12.3881 17.6905 12.3873Z",fill:"currentColor"}));case"weibo":return e.createElement("svg",{className:v("icon","icon--weibo","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M22.496 8.1691C22.588 9.3691 22.386 10.8051 21.596 10.8751C20.304 10.9901 20.978 9.5671 20.996 8.7101C21.0026 7.60197 20.5694 6.53647 19.7914 5.74738C19.0134 4.95829 17.9541 4.51008 16.846 4.5011C16.257 4.5011 14.891 4.9011 15.101 3.6591C15.196 3.1121 15.659 3.1201 16.123 3.0591C16.8836 2.93219 17.6626 2.96724 18.4088 3.16194C19.155 3.35665 19.8517 3.70664 20.4534 4.18903C21.0551 4.67143 21.5482 5.27537 21.9005 5.96138C22.2528 6.64739 22.4564 7.40002 22.498 8.1701",fill:"currentColor"}),e.createElement("path",{d:"M16.7834 11.0557C18.2834 11.8767 20.0894 12.2857 19.7904 14.7247C19.6694 15.3953 19.4028 16.0313 19.0094 16.5877C16.4704 20.1377 8.81441 21.6377 4.03341 18.9377C2.42941 18.0277 0.77041 16.7017 1.02641 14.0617C1.24641 11.7897 2.77441 10.0287 4.27441 8.5297C5.61534 7.05689 7.34567 5.99359 9.26541 5.4627C11.4924 4.9027 12.1504 6.7627 11.5504 8.5897C12.8404 8.5027 15.5744 7.0637 16.7824 8.4697C17.3154 9.0897 17.1114 10.1987 16.7824 11.0557M15.1584 16.8287C15.751 16.1884 16.0926 15.3557 16.1204 14.4837C16.1144 11.4947 12.3494 10.3907 9.38541 10.6347C8.02862 10.6974 6.70752 11.0897 5.53641 11.7777C4.98367 12.0539 4.49482 12.4426 4.10129 12.919C3.70777 13.3953 3.41827 13.9488 3.25141 14.5437C2.64341 17.5437 5.90641 18.9537 8.30341 19.1147C11.0724 19.3007 13.8434 18.3237 15.1594 16.8297",fill:"currentColor"}),e.createElement("path",{d:"M19.5488 8.17192C19.6748 9.08792 19.4128 9.88092 18.8878 9.91592C18.0118 9.97392 18.3398 9.31592 18.2878 8.53292C18.2565 8.28684 18.1699 8.05105 18.0345 7.84322C17.8991 7.63539 17.7183 7.46093 17.5058 7.33292C16.8208 7.01292 15.7618 7.56592 15.7618 6.61092C15.7618 5.90192 16.3768 5.97592 16.7248 5.94892C17.3925 5.88079 18.0605 6.07479 18.5878 6.48995C19.1151 6.9051 19.4604 7.50893 19.5508 8.17392",fill:"currentColor"}),e.createElement("path",{d:"M12.5129 14.1832C13.7939 18.0552 7.11792 19.8562 5.89792 16.5282C5.08092 14.3032 7.04292 12.5282 9.08492 12.3192C9.78338 12.1901 10.505 12.3049 11.129 12.6442C11.753 12.9835 12.2415 13.5268 12.5129 14.1832ZM9.44592 14.8452C9.49656 14.9317 9.57455 14.999 9.66761 15.0364C9.76068 15.0738 9.86353 15.0791 9.95998 15.0516C10.0564 15.0241 10.141 14.9654 10.2004 14.8845C10.2597 14.8037 10.2905 14.7054 10.2879 14.6052C10.2219 14.1742 9.44092 14.2372 9.44592 14.8452ZM8.36292 16.8902C9.48592 16.6232 9.63592 14.5092 7.94192 14.9052C6.51892 15.2382 6.79392 17.2632 8.36292 16.8902Z",fill:"currentColor"}));case"youtube":return e.createElement("svg",{className:v("icon","icon--youtube","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M21.3791 7.05599C21.2719 6.65987 21.0627 6.29874 20.7725 6.00856C20.4823 5.71838 20.1212 5.50927 19.7251 5.40199C17.2895 5.10486 14.8366 4.97123 12.3831 5.002C9.93004 4.97278 7.47761 5.1017 5.04111 5.38799C4.64546 5.50106 4.28556 5.71394 3.99591 6.00621C3.70627 6.29849 3.49661 6.66034 3.38712 7.05699C2.87194 10.0439 2.87194 13.0971 3.38712 16.084C3.49448 16.4801 3.70367 16.8411 3.99384 17.1313C4.28401 17.4214 4.64504 17.6306 5.04111 17.738C7.47679 18.0349 9.92961 18.1685 12.3831 18.138C14.8362 18.1669 17.2887 18.0377 19.7251 17.751C20.1212 17.6436 20.4823 17.4344 20.7724 17.1443C21.0626 16.8541 21.2718 16.493 21.3791 16.097C21.6453 14.6076 21.7745 13.097 21.7651 11.584C21.7827 10.0654 21.6531 8.5486 21.3781 7.05498L21.3791 7.05599ZM10.5131 14.383V8.75697L15.3971 11.57L10.5131 14.383Z",fill:"currentColor"}));case"instagram":return e.createElement("svg",{className:v("icon","icon--instagram","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M18.5336 8.76236C18.5224 8.18847 18.4135 7.6207 18.2116 7.08337C18.0334 6.62359 17.7613 6.206 17.4126 5.85733C17.0639 5.50866 16.6464 5.23654 16.1866 5.05835C15.6492 4.85679 15.0815 4.74792 14.5076 4.73636C13.7666 4.70136 13.5316 4.69336 11.6526 4.69336C9.77359 4.69336 9.53759 4.70134 8.79959 4.73434C8.22571 4.74565 7.65792 4.85456 7.12057 5.05637C6.6608 5.23455 6.24324 5.50667 5.89456 5.85535C5.54589 6.20402 5.27377 6.62158 5.09558 7.08136C4.894 7.61877 4.78513 8.18649 4.77359 8.76035C4.73859 9.50135 4.73059 9.73636 4.73059 11.6164C4.73059 13.4964 4.73858 13.7314 4.77158 14.4694C4.7829 15.0432 4.89181 15.611 5.0936 16.1483C5.27173 16.6082 5.54384 17.0258 5.89252 17.3745C6.2412 17.7231 6.65878 17.9952 7.11859 18.1734C7.656 18.375 8.22372 18.4838 8.79758 18.4954C9.53558 18.5284 9.77157 18.5363 11.6506 18.5363C13.5296 18.5363 13.7646 18.5284 14.5036 18.4954C15.0775 18.4841 15.6453 18.3752 16.1826 18.1734C16.6426 17.9955 17.0603 17.7235 17.409 17.3748C17.7577 17.0261 18.0297 16.6083 18.2076 16.1483C18.4092 15.6109 18.5181 15.0432 18.5296 14.4694C18.5616 13.7314 18.5696 13.4964 18.5696 11.6164C18.5696 9.73636 18.5696 9.50137 18.5346 8.76337L18.5336 8.76236ZM17.2866 14.4134C17.2819 14.8519 17.2014 15.2863 17.0486 15.6974C16.933 15.9957 16.7565 16.2667 16.5302 16.493C16.304 16.7192 16.033 16.8958 15.7346 17.0114C15.3235 17.1639 14.8891 17.2445 14.4506 17.2494C13.7206 17.2814 13.5016 17.2894 11.6506 17.2894C9.79957 17.2894 9.58159 17.2814 8.85059 17.2494C8.41206 17.2447 7.97765 17.1642 7.56659 17.0114C7.26618 16.9013 6.99444 16.7249 6.77158 16.4954C6.54173 16.2706 6.36508 15.9973 6.25458 15.6954C6.10194 15.2843 6.02145 14.8499 6.0166 14.4113C5.9836 13.6813 5.97559 13.4624 5.97559 11.6114C5.97559 9.76036 5.9836 9.54237 6.0166 8.81137C6.02109 8.37283 6.10159 7.93839 6.25458 7.52737C6.3641 7.22452 6.54167 6.95081 6.77359 6.72736C6.99691 6.49836 7.26849 6.32209 7.56857 6.21136C7.97969 6.05875 8.41409 5.97823 8.8526 5.97336C9.5826 5.94136 9.80159 5.93237 11.6526 5.93237C13.5036 5.93237 13.7216 5.94036 14.4526 5.97336C14.8914 5.97789 15.3262 6.05842 15.7376 6.21136C16.038 6.32141 16.3098 6.49778 16.5326 6.72736C16.7626 6.95201 16.9392 7.22541 17.0496 7.52737C17.2022 7.93849 17.2827 8.37287 17.2876 8.81137C17.3196 9.54137 17.3276 9.76036 17.3276 11.6114C17.3276 13.4624 17.3196 13.6744 17.2876 14.4044L17.2866 14.4134Z",fill:"currentColor"}),e.createElement("path",{d:"M11.6536 8.02832C10.9439 8.02832 10.2502 8.23874 9.66019 8.633C9.07014 9.02725 8.61025 9.58763 8.33868 10.2433C8.06712 10.8989 7.99605 11.6203 8.13449 12.3163C8.27294 13.0123 8.61467 13.6516 9.11646 14.1534C9.61825 14.6552 10.2576 14.9969 10.9536 15.1354C11.6496 15.2738 12.371 15.2028 13.0266 14.9312C13.6823 14.6596 14.2426 14.1998 14.6369 13.6097C15.0311 13.0197 15.2415 12.3259 15.2415 11.6163C15.2413 10.6648 14.8632 9.75232 14.1904 9.0795C13.5175 8.40668 12.6051 8.02859 11.6536 8.02832ZM11.6536 13.9433C11.1933 13.9433 10.7434 13.8068 10.3607 13.5511C9.97808 13.2955 9.67982 12.932 9.50369 12.5068C9.32757 12.0816 9.28149 11.6137 9.37128 11.1624C9.46107 10.711 9.68268 10.2963 10.0081 9.97089C10.3336 9.64545 10.7482 9.4238 11.1996 9.33401C11.651 9.24423 12.1189 9.29034 12.5441 9.46646C12.9693 9.64259 13.3327 9.94084 13.5884 10.3235C13.8441 10.7062 13.9806 11.1561 13.9806 11.6163C13.9803 12.2334 13.735 12.8251 13.2987 13.2614C12.8624 13.6978 12.2706 13.9431 11.6536 13.9433Z",fill:"currentColor"}),e.createElement("path",{d:"M16.183 7.92294C16.183 8.08868 16.1338 8.25071 16.0417 8.38852C15.9497 8.52633 15.8188 8.63375 15.6656 8.69717C15.5125 8.7606 15.344 8.77718 15.1815 8.74484C15.0189 8.71251 14.8696 8.6327 14.7524 8.5155C14.6352 8.39831 14.5554 8.24898 14.5231 8.08643C14.4907 7.92387 14.5073 7.75539 14.5707 7.60226C14.6342 7.44914 14.7416 7.31828 14.8794 7.2262C15.0172 7.13412 15.1792 7.08496 15.345 7.08496C15.5672 7.08496 15.7803 7.17323 15.9375 7.33038C16.0946 7.48754 16.183 7.70069 16.183 7.92294Z",fill:"currentColor"}));case"linkedin":return e.createElement("svg",{className:v("icon","icon--linkedin","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M13.2846 13.2349H11.0621V9.76678C11.0621 8.93977 11.0473 7.87515 9.90614 7.87515C8.74858 7.87515 8.57146 8.77621 8.57146 9.70657V13.2347H6.34892V6.10279H8.48255V7.07744H8.51243C8.72595 6.71365 9.0345 6.41439 9.40522 6.21151C9.77593 6.00864 10.1949 5.90976 10.6176 5.92539C12.8702 5.92539 13.2855 7.40178 13.2855 9.32248L13.2846 13.2349ZM3.84117 5.1279C3.58608 5.12795 3.3367 5.05262 3.12457 4.91144C2.91245 4.77027 2.74711 4.56958 2.64945 4.33477C2.55179 4.09995 2.52619 3.84156 2.57592 3.59225C2.62564 3.34295 2.74844 3.11393 2.92878 2.93417C3.10913 2.7544 3.33892 2.63196 3.5891 2.58233C3.83928 2.5327 4.09861 2.5581 4.3343 2.65533C4.56999 2.75256 4.77145 2.91724 4.91321 3.12856C5.05497 3.33988 5.13066 3.58834 5.13071 3.84252C5.13074 4.01129 5.0974 4.17841 5.03261 4.33434C4.96782 4.49028 4.87286 4.63197 4.75311 4.75133C4.63337 4.87069 4.49119 4.96537 4.33472 5.02999C4.17825 5.0946 4.01055 5.12787 3.84117 5.1279ZM4.95244 13.2349H2.72759V6.10279H4.95244V13.2349ZM14.3926 0.501018H1.61078C1.32066 0.497756 1.0411 0.609394 0.833556 0.8114C0.626008 1.01341 0.507447 1.28925 0.503906 1.57833V14.3674C0.507326 14.6566 0.625817 14.9326 0.833358 15.1348C1.0409 15.3371 1.32052 15.4489 1.61078 15.4458H14.3926C14.6835 15.4495 14.9639 15.3379 15.1722 15.1357C15.3806 14.9335 15.4999 14.6572 15.5039 14.3674V1.5774C15.4998 1.28776 15.3804 1.0116 15.172 0.809595C14.9637 0.607594 14.6833 0.496275 14.3926 0.500095",fill:"currentColor"}));case"tiktok":return e.createElement("svg",{className:v("icon","icon--tiktok","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.11273 9.59316e-05H13.8946C14.1853 -0.00372415 14.4656 0.106671 14.674 0.308672C14.8823 0.510673 15.0017 0.786834 15.0059 1.07648V13.8664C15.0018 14.1562 14.8826 14.4326 14.6742 14.6348C14.4658 14.837 14.1854 14.9485 13.8946 14.9449H1.11273C0.822472 14.948 0.542853 14.8361 0.335312 14.6339C0.12777 14.4317 0.00927886 14.1557 0.00585938 13.8664V1.0774C0.00940004 0.78833 0.127961 0.512483 0.335509 0.310477C0.543058 0.108471 0.822616 -0.00316629 1.11273 9.59316e-05ZM7.50586 9.46997V2.46997H9.50586C9.50586 2.88496 9.80569 3.41169 10.2871 3.8313C10.7685 4.25091 11.4585 4.46997 11.5059 4.46997V6.46997C10.765 6.46997 10.122 6.14131 9.50586 5.70239V9.46997C9.50586 11.1149 8.15083 12.47 6.50586 12.47C4.86089 12.47 3.50586 11.1149 3.50586 9.46997C3.50586 7.825 4.86089 6.46997 6.50586 6.46997V8.46997C5.94083 8.46997 5.50586 8.90494 5.50586 9.46997C5.50586 10.035 5.94083 10.47 6.50586 10.47C7.07089 10.47 7.50586 10.035 7.50586 9.46997Z",fill:"#F7F7F7"}));case"rednote":return e.createElement("svg",{className:v("icon","icon--rednote","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("rect",{x:"0",y:"0",width:"256",height:"256",rx:"60",ry:"60",fill:"currentColor"}),e.createElement("path",{fill:"currentColor",d:"M 29,0.33332825 C 13.959937,3.4666748 1.5356731,15.204498 0,31 -1.586103,47.314209 0,64.597672 0,81 v 102 c 0,18.76035 -4.7369685,44.19888 7.3333335,60 C 20.372129,260.06897 44.156731,256 63,256 h 111 35 c 5.78276,0 12.33244,0.84741 18,-0.33333 15.0401,-3.13336 27.46432,-14.87115 29,-30.66667 1.58612,-16.31419 0,-33.59769 0,-50 V 73 C 256,54.239685 260.73697,28.801102 248.66667,13 235.62787,-4.0689697 211.84329,0 193,0 H 82 47 C 41.217228,0 34.667561,-0.84741211 29,0.33332825 M 120,91 l -7,19 h 12 l -10,24 9,1 c -0.98794,2.68155 -2.31718,7.73317 -4.33334,9.83334 C 118.18945,146.3721 115.92654,146 114,146 c -4.35942,0 -13.16798,1.80539 -15.5,-3 -1.069664,-2.20416 0.465553,-4.98451 1.333336,-7 1.813624,-4.21228 4.222554,-8.51549 5.166664,-13 -2.17548,0 -4.92464,0.42967 -7,-0.33333 -7.778526,-2.85974 0.874031,-15.36435 2.66666,-19.66667 1.25875,-3.020981 2.75652,-9.584732 5.5,-11.5 C 110.01874,88.810822 115.88325,90.674988 120,91 m -79,63 c 2.750713,0 6.837379,0.81721 8.5,-2 1.769028,-2.99753 0.5,-9.58963 0.5,-13 V 106 C 50,102.90659 48.438198,93.464493 51.166668,91.5 53.41069,89.884308 62.832935,90.226166 63.833332,93 65.47065,97.539825 64,105.16241 64,110 v 32 c 0,5.48389 0.949112,11.8645 -1.333332,17 -2.177158,4.89861 -12.303417,9.27243 -17.333336,5.5 C 43.120155,162.84012 41.545292,156.59013 41,154 M 193,91 v 5 c 3.72887,0 8.4108,-0.763367 12,0.333328 11.97635,3.659424 11,15.422502 11,25.666672 1.99706,0 4.04419,-0.15562 6,0.33333 11.49335,2.87334 10,14.36401 10,23.66667 0,4.95615 0.93086,10.82184 -2.33333,15 -3.59567,4.60246 -9.48195,4 -14.66667,4 -1.6116,0 -4.26318,0.51051 -5.66667,-0.5 -2.62326,-1.88875 -3.78159,-7.50485 -4.33333,-10.5 3.28711,0 9.2179,1.12517 11.83333,-1.33334 C 219.9164,149.76859 218.65411,138.43454 215,136.5 c -1.93661,-1.02527 -4.88672,-0.5 -7,-0.5 h -15 v 29 h -14 v -29 h -14 v -14 h 14 v -12 h -9 V 96 h 9 v -5 h 14 m -32,5 v 14 h -8 v 42 h 13 v 13 H 120 L 125.33334,152.5 138,152 v -42 h -8 V 96 h 31 m 57,14 c 0,-2.84204 -0.51608,-6.25871 0.33333,-9 3.34434,-10.793121 19.61577,-2.093994 11.5,6.83333 -0.92279,1.01507 -2.54419,1.51106 -3.83333,1.83334 C 223.43948,110.30679 220.61993,110 218,110 M 41,110 36.833332,147 30,159 24,143 27,110 h 14 m 46,0 3,33 -6,15 h -2 c -5.366936,-8.49765 -6.053299,-17.26251 -7,-27 -0.672195,-6.91406 -2,-14.04004 -2,-21 h 14 m 106,0 v 12 h 9 v -12 h -9 m -75,42 -5,13 H 91 L 96.333336,151.5 104,151.66666 Z"}));case"chevron-down":return e.createElement("svg",{className:v("icon","icon--chevron-down","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M36 18L24 30L12 18",stroke:"currentColor",strokeWidth:"2"}));case"location":return e.createElement("svg",{className:v("icon","icon--location","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M15.7282 27.295C14.3401 25.79 13.4332 23.9154 13.1209 21.9055C12.8087 19.8956 13.1049 17.8397 13.9727 15.9947C14.8404 14.1498 16.2411 12.5977 17.9996 11.5326C19.7581 10.4674 21.7964 9.93645 23.8596 10.0061C25.9229 10.0757 27.9195 10.7428 29.5999 11.924C31.2802 13.1051 32.5698 14.748 33.3073 16.6471C34.0448 18.5462 34.1975 20.6173 33.7463 22.6014C33.2951 24.5855 32.2601 26.3946 30.7707 27.8025L23.5014 37L15.7282 27.295Z",fill:"currentColor"}));case"arrow-right":return e.createElement("svg",{className:v("icon","icon--arrow-right","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"17",height:"24",viewBox:"0 0 17 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 12H12",stroke:"currentColor",strokeWidth:"1.5"}),e.createElement("path",{d:"M7 7L12 12L7 17",stroke:"currentColor",strokeWidth:"1.5"}));case"arrow-right-large":return e.createElement("svg",{className:v("icon","icon--arrow-right-large","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"30",height:"26",viewBox:"0 0 30 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 13H28",stroke:"currentColor",strokeWidth:"2"}),e.createElement("path",{d:"M16 1L28 13L16 25",stroke:"currentColor",strokeWidth:"2"}));case"chevron-right":return e.createElement("svg",{className:v("icon","icon--chevron-right","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"11",height:"18",viewBox:"0 0 11 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0.999999 1L9 9L1 17",stroke:"black",strokeWidth:"1.5"}));case"hamburger":return e.createElement("svg",{className:v("icon","icon--hamburger","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 2.25H0.000183105V0.75H12.0002V2.25ZM12.0002 6.25H0.000183105V4.75H12.0002V6.25ZM0.000183105 10.25H12.0002V8.75H0.000183105V10.25Z",fill:"white"}));case"cross":return e.createElement("svg",{className:v("icon","icon--cross","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.00006 6.06072L8.46973 9.53039L9.53039 8.46973L6.06072 5.00006L9.53039 1.53039L8.46973 0.469727L5.00006 3.9394L1.53039 0.469727L0.469727 1.53039L3.9394 5.00006L0.469727 8.46973L1.53039 9.53039L5.00006 6.06072Z",fill:"black"}));case"arrow-left":return e.createElement("svg",{className:v("icon","icon--arrow-left","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14 6H2",stroke:"white",strokeWidth:"1.5"}),e.createElement("path",{d:"M7 11L2 6L7 1",stroke:"white",strokeWidth:"1.5"}));case"search":return e.createElement("svg",{className:v("icon","icon--search","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 16.5C9.51472 16.5 7.5 14.4853 7.5 12C7.5 9.51472 9.51472 7.5 12 7.5C14.4853 7.5 16.5 9.51472 16.5 12C16.5 14.4853 14.4853 16.5 12 16.5ZM12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 13.3865 17.5297 14.6632 16.7399 15.6792L18.5303 17.4696L17.4697 18.5303L15.6792 16.7399C14.6632 17.5297 13.3865 18 12 18Z",fill:"currentColor"}));case"arrow-down":return e.createElement("svg",{className:v("icon","icon--arrow-down","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0001 25.5858L24.293 15.2929L25.7072 16.7071L13.7072 28.7071L13.0001 29.4142L12.293 28.7071L0.292969 16.7071L1.70718 15.2929L12.0001 25.5858V0H14.0001V25.5858Z",fill:"currentColor"}));case"play":return e.createElement("svg",{className:v("icon","icon--play","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 0V14L11 7L0 0Z",fill:"currentColor"}));case"person":return e.createElement("svg",{className:v("icon","icon--person","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38652)"},e.createElement("path",{d:"M12 5.9C13.16 5.9 14.1 6.84 14.1 8C14.1 9.16 13.16 10.1 12 10.1C10.84 10.1 9.9 9.16 9.9 8C9.9 6.84 10.84 5.9 12 5.9ZM12 14.9C14.97 14.9 18.1 16.36 18.1 17V18.1H5.9V17C5.9 16.36 9.03 14.9 12 14.9ZM12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4ZM12 13C9.33 13 4 14.34 4 17V20H20V17C20 14.34 14.67 13 12 13Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38652"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"people":return e.createElement("svg",{className:v("icon","icon--people","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38650)"},e.createElement("path",{d:"M16.6719 13.1299C18.0419 14.0599 19.0019 15.3199 19.0019 16.9999V19.9999H23.0019V16.9999C23.0019 14.8199 19.4319 13.5299 16.6719 13.1299Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M15.0019 12C17.2119 12 19.0019 10.21 19.0019 8C19.0019 5.79 17.2119 4 15.0019 4C14.5319 4 14.0919 4.1 13.6719 4.24C14.5019 5.27 15.0019 6.58 15.0019 8C15.0019 9.42 14.5019 10.73 13.6719 11.76C14.0919 11.9 14.5319 12 15.0019 12Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M9 12C11.21 12 13 10.21 13 8C13 5.79 11.21 4 9 4C6.79 4 5 5.79 5 8C5 10.21 6.79 12 9 12ZM9 6C10.1 6 11 6.9 11 8C11 9.1 10.1 10 9 10C7.9 10 7 9.1 7 8C7 6.9 7.9 6 9 6Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M9 13C6.33 13 1 14.34 1 17V20H17V17C17 14.34 11.67 13 9 13ZM15 18H3V17.01C3.2 16.29 6.3 15 9 15C11.7 15 14.8 16.29 15 17V18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38650"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"book":return e.createElement("svg",{className:v("icon","icon--book","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14 9.9V8.2C14.55 7.96667 15.1127 7.79167 15.688 7.675C16.2627 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.196 9.18767 18.788 9.113C18.3793 9.03767 17.95 9 17.5 9C16.8667 9 16.2583 9.07933 15.675 9.238C15.0917 9.396 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1127 13.2917 15.688 13.175C16.2627 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.196 14.6877 18.788 14.613C18.3793 14.5377 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1127 10.5417 15.688 10.425C16.2627 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.196 11.9377 18.788 11.863C18.3793 11.7877 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8293 15.675 11.988C15.0917 12.146 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.046 16.0873 8.788 16.262C9.52933 16.4373 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30433 6.05833 4.713 6.175C4.121 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.16267 16.25 4.738 16.15C5.31267 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.471 16.4373 15.213 16.262C15.9543 16.0873 16.7167 16 17.5 16C18.1 16 18.6877 16.05 19.263 16.15C19.8377 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8793 6.29167 19.288 6.175C18.696 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.11267 18.0917 4.438 18.275C3.76267 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.81267 19.225 1.488 19.025C1.16267 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.046 5.74167 1.138 5.575C1.22933 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.41267 4.125 9.338 4.375C10.2627 4.625 11.15 5 12 5.5C12.85 5 13.7377 4.625 14.663 4.375C15.5877 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.771 5.40833 22.863 5.575C22.9543 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8377 18.825 22.513 19.025C22.1877 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2373 18.4583 19.562 18.275C18.8873 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",fill:"currentColor"}));case"mortar-board":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M480-120 200-272v-240L40-600l440-240 440 240v320h-80v-276l-80 44v240L480-120Zm0-332 274-148-274-148-274 148 274 148Zm0 241 200-108v-151L480-360 280-470v151l200 108Zm0-241Zm0 90Zm0 0Z"}));case"document":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m590-160 80 80H240q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h360l200 240v480q0 20-8.5 36.5T768-96L560-302q-17 11-37 16.5t-43 5.5q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 43T618-360l102 104v-356L562-800H240v640h350ZM480-360q33 0 56.5-23.5T560-440q0-33-23.5-56.5T480-520q-33 0-56.5 23.5T400-440q0 33 23.5 56.5T480-360Zm0-80Zm0 0Z"}));case"computer":return e.createElement("svg",{className:v("icon","icon--computer","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38649)"},e.createElement("path",{d:"M21 3H3C1.89 3 1 3.89 1 5V17C1 18.1 1.89 19 3 19H8V21H16V19H21C22.1 19 22.99 18.1 22.99 17L23 5C23 3.89 22.1 3 21 3ZM21 17H3V5H21V17Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38649"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"notepad":return e.createElement("svg",{className:v("icon","icon--notepad","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38647)"},e.createElement("path",{d:"M7 15H14V17H7V15ZM7 11H17V13H7V11ZM7 7H17V9H7V7ZM19 3H14.82C14.4 1.84 13.3 1 12 1C10.7 1 9.6 1.84 9.18 3H5C4.86 3 4.73 3.01 4.6 3.04C4.21 3.12 3.86 3.32 3.59 3.59C3.41 3.77 3.26 3.99 3.16 4.23C3.06 4.46 3 4.72 3 5V19C3 19.27 3.06 19.54 3.16 19.78C3.26 20.02 3.41 20.23 3.59 20.42C3.86 20.69 4.21 20.89 4.6 20.97C4.73 20.99 4.86 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM12 2.75C12.41 2.75 12.75 3.09 12.75 3.5C12.75 3.91 12.41 4.25 12 4.25C11.59 4.25 11.25 3.91 11.25 3.5C11.25 3.09 11.59 2.75 12 2.75ZM19 19H5V5H19V19Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38647"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"briefcase":return e.createElement("svg",{className:v("icon","icon--briefcase","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38651)"},e.createElement("path",{d:"M14 6V4H10V6H14ZM4 8V19H20V8H4ZM20 6C21.11 6 22 6.89 22 8V19C22 20.11 21.11 21 20 21H4C2.89 21 2 20.11 2 19L2.01 8C2.01 6.89 2.89 6 4 6H8V4C8 2.89 8.89 2 10 2H14C15.11 2 16 2.89 16 4V6H20Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38651"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"quote-marks":return e.createElement("svg",{className:v("icon","icon--quote-marks","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,viewBox:"0 0 72 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{id:"quote marks"},e.createElement("path",{id:"Vector",d:"M72 0.614232L70.1467 13.4913C66.3467 13.1581 63.3333 13.8246 61.1067 15.4776C58.88 17.0505 57.3467 19.3167 56.52 22.2894C55.7733 25.182 55.6533 28.4746 56.1467 32.1938H71.9867V64H41.4133V30.9541C41.4133 20.1432 43.9733 11.9717 49.0933 6.45292C54.2133 0.814187 61.8533 -1.11871 72 0.614232ZM30.5733 0.614232L28.72 13.4913C24.92 13.1581 21.9067 13.8246 19.68 15.4776C17.4533 17.0505 15.92 19.3167 15.0933 22.2894C14.3467 25.182 14.2267 28.4746 14.72 32.1938H30.56V64H0V30.9541C0 20.1298 2.56 11.9584 7.68 6.42626C12.7867 0.814187 20.4267 -1.11871 30.5733 0.614232Z",fill:"#C59A00"})));case"external":return e.createElement("svg",{className:v("icon","icon--external","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 10.25H14.5V17.5H0V3H7.25V4.5H1.5V16H13V10.25ZM11.75 0V1.5H14.94L10.22 6.22L11.28 7.28L16 2.56V5.75H17.5V0H11.75Z",fill:"currentColor"}));case"clearing-tick":return e.createElement("svg",{className:v("icon","icon--clearing-tick","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8151_8201)"},e.createElement("path",{d:"M12 22.5C10.6167 22.5 9.31667 22.2375 8.1 21.7125C6.88333 21.1875 5.825 20.475 4.925 19.575C4.025 18.675 3.3125 17.6167 2.7875 16.4C2.2625 15.1833 2 13.8833 2 12.5C2 11.1167 2.2625 9.81667 2.7875 8.6C3.3125 7.38333 4.025 6.325 4.925 5.425C5.825 4.525 6.88333 3.8125 8.1 3.2875C9.31667 2.7625 10.6167 2.5 12 2.5C13.0833 2.5 14.1083 2.65833 15.075 2.975C16.0417 3.29167 16.9333 3.73333 17.75 4.3L16.3 5.775C15.6667 5.375 14.9917 5.0625 14.275 4.8375C13.5583 4.6125 12.8 4.5 12 4.5C9.78333 4.5 7.89583 5.27917 6.3375 6.8375C4.77917 8.39583 4 10.2833 4 12.5C4 14.7167 4.77917 16.6042 6.3375 18.1625C7.89583 19.7208 9.78333 20.5 12 20.5C14.2167 20.5 16.1042 19.7208 17.6625 18.1625C19.2208 16.6042 20 14.7167 20 12.5C20 12.2 19.9833 11.9 19.95 11.6C19.9167 11.3 19.8667 11.0083 19.8 10.725L21.425 9.1C21.6083 9.63333 21.75 10.1833 21.85 10.75C21.95 11.3167 22 11.9 22 12.5C22 13.8833 21.7375 15.1833 21.2125 16.4C20.6875 17.6167 19.975 18.675 19.075 19.575C18.175 20.475 17.1167 21.1875 15.9 21.7125C14.6833 22.2375 13.3833 22.5 12 22.5ZM10.6 17.1L6.35 12.85L7.75 11.45L10.6 14.3L20.6 4.275L22 5.675L10.6 17.1Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8151_8201"},e.createElement("rect",{width:"24",height:"24",fill:"white",transform:"translate(0 0.5)"}))));case"phone":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8126_10321)"},e.createElement("path",{d:"M6.54 5C6.6 5.89 6.75 6.76 6.99 7.59L5.79 8.79C5.38 7.59 5.12 6.32 5.03 5H6.54ZM16.4 17.02C17.25 17.26 18.12 17.41 19 17.47V18.96C17.68 18.87 16.41 18.61 15.2 18.21L16.4 17.02ZM7.5 3H4C3.45 3 3 3.45 3 4C3 13.39 10.61 21 20 21C20.55 21 21 20.55 21 20V16.51C21 15.96 20.55 15.51 20 15.51C18.76 15.51 17.55 15.31 16.43 14.94C16.33 14.9 16.22 14.89 16.12 14.89C15.86 14.89 15.61 14.99 15.41 15.18L13.21 17.38C10.38 15.93 8.06 13.62 6.62 10.79L8.82 8.59C9.1 8.31 9.18 7.92 9.07 7.57C8.7 6.45 8.5 5.25 8.5 4C8.5 3.45 8.05 3 7.5 3Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8126_10321"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"email":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8126_10329)"},e.createElement("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM20 18H4V8L12 13L20 8V18Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8126_10329"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"calendar":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18302)"},e.createElement("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V10H19V20ZM19 8H5V6H19V8ZM9 14H7V12H9V14ZM13 14H11V12H13V14ZM17 14H15V12H17V14ZM9 18H7V16H9V18ZM13 18H11V16H13V18ZM17 18H15V16H17V18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18302"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"clock":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18312)"},e.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18312"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"internet":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18320)"},e.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM18.92 8H15.97C15.65 6.75 15.19 5.55 14.59 4.44C16.43 5.07 17.96 6.35 18.92 8ZM12 4.04C12.83 5.24 13.48 6.57 13.91 8H10.09C10.52 6.57 11.17 5.24 12 4.04ZM4.26 14C4.1 13.36 4 12.69 4 12C4 11.31 4.1 10.64 4.26 10H7.64C7.56 10.66 7.5 11.32 7.5 12C7.5 12.68 7.56 13.34 7.64 14H4.26ZM5.08 16H8.03C8.35 17.25 8.81 18.45 9.41 19.56C7.57 18.93 6.04 17.66 5.08 16ZM8.03 8H5.08C6.04 6.34 7.57 5.07 9.41 4.44C8.81 5.55 8.35 6.75 8.03 8ZM12 19.96C11.17 18.76 10.52 17.43 10.09 16H13.91C13.48 17.43 12.83 18.76 12 19.96ZM14.34 14H9.66C9.57 13.34 9.5 12.68 9.5 12C9.5 11.32 9.57 10.65 9.66 10H14.34C14.43 10.65 14.5 11.32 14.5 12C14.5 12.68 14.43 13.34 14.34 14ZM14.59 19.56C15.19 18.45 15.65 17.25 15.97 16H18.92C17.96 17.65 16.43 18.93 14.59 19.56ZM16.36 14C16.44 13.34 16.5 12.68 16.5 12C16.5 11.32 16.44 10.66 16.36 10H19.74C19.9 10.64 20 11.31 20 12C20 12.69 19.9 13.36 19.74 14H16.36Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18320"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"slim-location":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18328)"},e.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM7 9C7 6.24 9.24 4 12 4C14.76 4 17 6.24 17 9C17 11.88 14.12 16.19 12 18.88C9.92 16.21 7 11.85 7 9Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M12 11.5C13.3807 11.5 14.5 10.3807 14.5 9C14.5 7.61929 13.3807 6.5 12 6.5C10.6193 6.5 9.5 7.61929 9.5 9C9.5 10.3807 10.6193 11.5 12 11.5Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18328"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"bathroom":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6907)"},e.createElement("path",{d:"M8 14C8 13.45 8.45 13 9 13C9.55 13 10 13.45 10 14C10 14.55 9.55 15 9 15C8.45 15 8 14.55 8 14ZM12 15C12.55 15 13 14.55 13 14C13 13.45 12.55 13 12 13C11.45 13 11 13.45 11 14C11 14.55 11.45 15 12 15ZM15 15C15.55 15 16 14.55 16 14C16 13.45 15.55 13 15 13C14.45 13 14 13.45 14 14C14 14.55 14.45 15 15 15ZM12 7.5C10.24 7.5 8.78 8.81 8.54 10.5H15.47C15.22 8.81 13.76 7.5 12 7.5ZM12 6C14.76 6 17 8.24 17 11V12H7V11C7 8.24 9.24 6 12 6ZM9 18C9.55 18 10 17.55 10 17C10 16.45 9.55 16 9 16C8.45 16 8 16.45 8 17C8 17.55 8.45 18 9 18ZM12 18C12.55 18 13 17.55 13 17C13 16.45 12.55 16 12 16C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM15 18C15.55 18 16 17.55 16 17C16 16.45 15.55 16 15 16C14.45 16 14 16.45 14 17C14 17.55 14.45 18 15 18ZM20 4H4V20H20V4ZM20 2C21.1 2 22 2.9 22 4V20C22 21.1 21.1 22 20 22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2H20Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6907"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"catering":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6917)"},e.createElement("path",{d:"M2 19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V16H2V19ZM4 18H20V19H4V18Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M18.6598 11.5C16.7098 11.5 16.5698 12.5 15.3298 12.5C14.1398 12.5 13.9098 11.5 11.9998 11.5C10.0498 11.5 9.90977 12.5 8.66977 12.5C7.47977 12.5 7.24977 11.5 5.33977 11.5C3.38977 11.5 3.24977 12.5 2.00977 12.5V14.5C3.90977 14.5 4.17977 13.5 5.35977 13.5C6.54977 13.5 6.77977 14.5 8.68976 14.5C10.6398 14.5 10.7798 13.5 12.0198 13.5C13.2098 13.5 13.4398 14.5 15.3498 14.5C17.2998 14.5 17.4398 13.5 18.6798 13.5C19.8698 13.5 20.0798 14.48 21.9998 14.5L21.9898 12.52C20.3798 12.19 20.3698 11.5 18.6598 11.5Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M22 9C22.02 5 17.72 3 12 3C6.29 3 2 5 2 9V10H22V9ZM4.18 8C5.01 5.81 8.61 5 12 5C15.31 5 17.93 5.73 19.19 6.99C19.49 7.3 19.71 7.63 19.84 8H4.18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6917"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"pound":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6930)"},e.createElement("path",{d:"M14 21C15.93 21 17.62 19.83 18 18L16.25 17.12C16 18.21 15.33 19 14 19H9.1C9.93 18 10.6 16.66 10.6 15C10.6 14.65 10.57 14.31 10.52 14H14V12H9.82C9 10.42 8 9.6 8 8C8 6.07 9.57 4.5 11.5 4.5C13 4.5 14.29 5.45 14.78 6.78L16.63 6C15.83 3.95 13.84 2.5 11.5 2.5C8.46 2.5 6 4.96 6 8C6 9.78 6.79 10.9 7.49 12H6V14H8.47C8.55 14.31 8.6 14.64 8.6 15C8.6 17.7 6 19 6 19V21H14Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6930"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"scroll":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8 2C6.35503 2 5 3.35503 5 5V16H2V19C2 20.645 3.35503 22 5 22H14H15C16.645 22 18 20.645 18 19V8H22V5C22 3.35503 20.645 2 19 2H8ZM8 4H16.1875C16.0739 4.31489 16 4.64816 16 5V19C16 19.5602 15.5716 19.9907 15.0137 19.998V19.9863C14.4502 19.9939 14.0077 19.5631 14 19L13.9727 16.0039L13 16.0137V16H7V5C7 4.43497 7.43497 4 8 4ZM19 4C19.565 4 20 4.43497 20 5V6H18V5C18 4.43497 18.435 4 19 4ZM4 18H11.9902L12 19.0254V19.0273C12.0047 19.3699 12.0812 19.6937 12.1934 20H5C4.43497 20 4 19.565 4 19V18Z",fill:"currentColor"}));case"settings":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15 9.25C13.75 9.25 12.7 10.1 12.37 11.25H4V12.75H12.37C12.7 13.9 13.75 14.75 15 14.75C16.25 14.75 17.3 13.9 17.63 12.75H20V11.25H17.63C17.3 10.1 16.25 9.25 15 9.25ZM15 13.25C14.31 13.25 13.75 12.69 13.75 12C13.75 11.31 14.31 10.75 15 10.75C15.69 10.75 16.25 11.31 16.25 12C16.25 12.69 15.69 13.25 15 13.25ZM11.63 5.25C11.3 4.1 10.25 3.25 9 3.25C7.75 3.25 6.7 4.1 6.37 5.25H4V6.75H6.37C6.7 7.9 7.75 8.75 9 8.75C10.25 8.75 11.3 7.9 11.63 6.75H20V5.25H11.63ZM9 7.25C8.31 7.25 7.75 6.69 7.75 6C7.75 5.31 8.31 4.75 9 4.75C9.69 4.75 10.25 5.31 10.25 6C10.25 6.69 9.69 7.25 9 7.25ZM10 15.25C8.75 15.25 7.7 16.1 7.37 17.25H4V18.75H7.37C7.7 19.9 8.75 20.75 10 20.75C11.25 20.75 12.3 19.9 12.63 18.75H20V17.25H12.63C12.3 16.1 11.25 15.25 10 15.25ZM10 19.25C9.31 19.25 8.75 18.69 8.75 18C8.75 17.31 9.31 16.75 10 16.75C10.69 16.75 11.25 17.31 11.25 18C11.25 18.69 10.69 19.25 10 19.25Z",fill:"#0D0D0D"}));case"slim-cross":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.4141 24.0001L33.7071 15.7071L32.2928 14.2929L23.9999 22.5859L15.7071 14.2931L14.2928 15.7073L22.5856 24.0001L14.2928 32.2929L15.7071 33.7071L23.9999 25.4143L32.2928 33.7073L33.7071 32.2931L25.4141 24.0001Z",fill:"#0D0D0D"}));case"rocket":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M4 13C3.17 13 2.42 13.34 1.88 13.88C0.7 15.06 0 20 0 20C0 20 4.94 19.3 6.12 18.12C6.66 17.58 7 16.83 7 16C7 14.34 5.66 13 4 13ZM4.71 16.71C4.43 16.99 2.54 17.47 2.54 17.47C2.54 17.47 3.01 15.59 3.3 15.3C3.47 15.11 3.72 15 4 15C4.55 15 5 15.45 5 16C5 16.28 4.89 16.53 4.71 16.71ZM15.42 11.65C21.78 5.28999 19.66 0.339994 19.66 0.339994C19.66 0.339994 14.71 -1.78001 8.35 4.57999L5.86 4.07999C5.21 3.94999 4.53 4.15999 4.05 4.62999L0 8.68999L5 10.83L9.17 15L11.31 20L15.36 15.95C15.83 15.48 16.04 14.8 15.91 14.14L15.42 11.65ZM5.41 8.82999L3.5 8.00999L5.47 6.03999L6.91 6.32999C6.34 7.15999 5.83 8.02999 5.41 8.82999ZM11.99 16.5L11.17 14.59C11.97 14.17 12.84 13.66 13.66 13.09L13.95 14.53L11.99 16.5ZM14 10.24C12.68 11.56 10.62 12.64 9.96 12.97L7.03 10.04C7.35 9.38999 8.43 7.32999 9.76 5.99999C14.44 1.31999 17.99 2.00999 17.99 2.00999C17.99 2.00999 18.68 5.55999 14 10.24ZM13 8.99999C14.1 8.99999 15 8.09999 15 6.99999C15 5.89999 14.1 4.99999 13 4.99999C11.9 4.99999 11 5.89999 11 6.99999C11 8.09999 11.9 8.99999 13 8.99999Z",fill:"currentColor"}));case"staggered-arrow":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"12",viewBox:"0 0 20 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.4 12L0 10.6L7.4 3.15L11.4 7.15L16.6 2H14V0H20V6H18V3.4L11.4 10L7.4 6L1.4 12Z",fill:"currentColor"}));case"segmented-pie-chart":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.82 8.99999H19.95C19.48 4.27999 15.72 0.519988 11 0.0499878V7.17999C11.85 7.48999 12.51 8.14999 12.82 8.99999ZM13 2.57999C15 3.39999 16.6 4.99999 17.42 6.99999H13.99C13.71 6.62999 13.37 6.28999 13 6.00999V2.57999ZM0 9.99999C0 15.19 3.95 19.45 9 19.95V12.82C7.84 12.4 7 11.3 7 9.99999C7 8.69999 7.84 7.59999 9 7.17999V0.0499878C3.95 0.549988 0 4.80999 0 9.99999ZM7 2.57999V6.01999C5.77 6.93999 5 8.40999 5 9.99999C5 11.59 5.77 13.06 7 13.99V17.43C4.04 16.24 2 13.35 2 9.99999C2 6.64999 4.04 3.75999 7 2.57999ZM11 12.82V19.95C15.72 19.48 19.48 15.72 19.95 11H12.82C12.51 11.85 11.85 12.51 11 12.82ZM13 13.99C13.37 13.71 13.71 13.38 13.99 13H17.42C16.6 15 15 16.6 13 17.42V13.99Z",fill:"currentColor"}));case"home":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"}));case"success":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{y:"2",width:"24",height:"24",rx:"12",fill:"#3AAA35"}),e.createElement("path",{d:"M17.3327 10L9.99935 17.3333L6.66602 14",stroke:"#F7F7F7",strokeWidth:"2",strokeLinecap:"square"}));case"award_star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,height:"24",width:"24",viewBox:"0 -960 960 960",fill:"#5f6368",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"m363-310 117-71 117 71-31-133 104-90-137-11-53-126-53 126-137 11 104 90-31 133ZM480-28 346-160H160v-186L28-480l132-134v-186h186l134-132 134 132h186v186l132 134-132 134v186H614L480-28Zm0-112 100-100h140v-140l100-100-100-100v-140H580L480-820 380-720H240v140L140-480l100 100v140h140l100 100Zm0-340Z"}));case"warning-light":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"26",height:"28",viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.7598 4.2589C14.004 2.8593 11.996 2.85931 11.2402 4.25891L1.09316 23.0497C0.373594 24.3822 1.33857 26 2.85297 26H23.147C24.6614 26 25.6264 24.3822 24.9068 23.0497L14.7598 4.2589Z",fill:"#E30513"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11V19H14V11H12ZM12 21V23H14V21H12Z",fill:"#F7F7F7"}));case"warning-dark":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"26",height:"28",viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.7598 4.2589C14.004 2.8593 11.996 2.85931 11.2402 4.25891L1.09316 23.0497C0.373594 24.3822 1.33857 26 2.85297 26H23.147C24.6614 26 25.6264 24.3822 24.9068 23.0497L14.7598 4.2589Z",fill:"#EB505A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11V19H14V11H12ZM12 21V23H14V21H12Z",fill:"#F7F7F7"}));case"information":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"34",height:"36",viewBox:"0 0 34 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"2",y:"2",width:"32",height:"32",rx:"4",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 11V13H19V11H17ZM17 15V25H19L19 15H17Z",fill:"#F7F7F7"}));case"star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M10 5.13L10.97 7.42L11.44 8.53L12.64 8.63L15.11 8.84L13.23 10.47L12.32 11.26L12.59 12.44L13.15 14.85L11.03 13.57L10 12.93L8.97 13.55L6.85 14.83L7.41 12.42L7.68 11.24L6.77 10.45L4.89 8.82L7.36 8.61L8.56 8.51L9.03 7.4L10 5.13ZM10 0L7.19 6.63L0 7.24L5.46 11.97L3.82 19L10 15.27L16.18 19L14.54 11.97L20 7.24L12.81 6.63L10 0Z",fill:"currentColor"}));case"menu":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"12",height:"6",viewBox:"0 0 12 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.5H12V0H0V1.5ZM0 6H8V4.5H0V6Z",fill:"currentColor"}));case"co-present":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M840-120v-640H120v320H40v-320q0-33 23.5-56.5T120-840h720q33 0 56.5 23.5T920-760v560q0 33-23.5 56.5T840-120ZM360-400q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-80q33 0 56.5-23.5T440-560q0-33-23.5-56.5T360-640q-33 0-56.5 23.5T280-560q0 33 23.5 56.5T360-480ZM40-80v-112q0-34 17.5-62.5T104-298q62-31 126-46.5T360-360q66 0 130 15.5T616-298q29 15 46.5 43.5T680-192v112H40Zm80-80h480v-32q0-11-5.5-20T580-226q-54-27-109-40.5T360-280q-56 0-111 13.5T140-226q-9 5-14.5 14t-5.5 20v32Zm240-400Zm0 400Z"}));case"assignment-add":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h168q13-36 43.5-58t68.5-22q38 0 68.5 22t43.5 58h168q33 0 56.5 23.5T840-760v268q-19-9-39-15.5t-41-9.5v-243H200v560h242q3 22 9.5 42t15.5 38H200Zm0-120v40-560 243-3 280Zm80-40h163q3-21 9.5-41t14.5-39H280v80Zm0-160h244q32-30 71.5-50t84.5-27v-3H280v80Zm0-160h400v-80H280v80Zm200-190q13 0 21.5-8.5T510-820q0-13-8.5-21.5T480-850q-13 0-21.5 8.5T450-820q0 13 8.5 21.5T480-790ZM720-40q-83 0-141.5-58.5T520-240q0-83 58.5-141.5T720-440q83 0 141.5 58.5T920-240q0 83-58.5 141.5T720-40Zm-20-80h40v-100h100v-40H740v-100h-40v100H600v40h100v100Z"}));case"cast-for-education":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m590-488 160-92-160-92-160 92 160 92Zm0 122 110-64v-84l-110 64-110-64v84l110 64ZM480-480Zm320 320H600q0-20-1.5-40t-4.5-40h206v-480H160v46q-20-3-40-4.5T80-680v-40q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160Zm-720 0v-120q50 0 85 35t35 85H80Zm200 0q0-83-58.5-141.5T80-360v-80q117 0 198.5 81.5T360-160h-80Zm160 0q0-75-28.5-140.5t-77-114q-48.5-48.5-114-77T80-520v-80q91 0 171 34.5T391-471q60 60 94.5 140T520-160h-80Z"}));case"live-tv":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m380-340 280-180-280-180v360Zm-60 220v-80H160q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v80H320ZM160-280h640v-480H160v480Zm0 0v-480 480Z"}));case"supervisor-account":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M680-360q-42 0-71-29t-29-71q0-42 29-71t71-29q42 0 71 29t29 71q0 42-29 71t-71 29ZM480-160v-56q0-24 12.5-44.5T528-290q36-15 74.5-22.5T680-320q39 0 77.5 7.5T832-290q23 9 35.5 29.5T880-216v56H480Zm-80-320q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-160ZM80-160v-112q0-34 17-62.5t47-43.5q60-30 124.5-46T400-440q35 0 70 6t70 14l-34 34-34 34q-18-5-36-6.5t-36-1.5q-58 0-113.5 14T180-306q-10 5-15 14t-5 20v32h240v80H80Zm320-80Zm0-320q33 0 56.5-23.5T480-640q0-33-23.5-56.5T400-720q-33 0-56.5 23.5T320-640q0 33 23.5 56.5T400-560Z"}));case"experiment":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M200-120q-51 0-72.5-45.5T138-250l222-270v-240h-40q-17 0-28.5-11.5T280-800q0-17 11.5-28.5T320-840h320q17 0 28.5 11.5T680-800q0 17-11.5 28.5T640-760h-40v240l222 270q32 39 10.5 84.5T760-120H200Zm80-120h400L544-400H416L280-240Zm-80 40h560L520-492v-268h-80v268L200-200Zm280-280Z"}));case"footprint":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M260-840q-45 0-72.5 50T160-680q0 63 17.5 111.5T210-496l110-22q13-32 26.5-73t13.5-89q0-60-27.5-110T260-840Zm55 520q19 0 32-14t13-39q0-17-8-35t-16-32l-96 20q0 40 17.5 70t57.5 30Zm385-320q-45 0-72.5 50T600-480q0 48 13.5 88.5T640-318l110 22q15-24 32.5-72T800-480q0-60-27.5-110T700-640Zm-55 520q40 0 57.5-30t17.5-70l-96-20q-8 14-16 32t-8 35q0 20 12.5 36.5T645-120ZM315-240q-77 0-117-57t-38-128l-18-27q-11-17-36.5-77T80-680q0-103 51-171.5T260-920q85 0 132.5 75.5T440-680q0 58-16 107t-28 79l8 13q8 14 22 44.5t14 63.5q0 57-35.5 95T315-240ZM645-40q-54 0-89.5-38T520-173q0-33 14-63.5t22-44.5l8-13q-12-30-28-79t-16-107q0-89 47.5-164.5T700-720q78 0 129 68.5T880-480q0 91-25.5 150.5T818-253l-18 28q1 71-38.5 128T645-40Z"}));case"flag":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M5 21V4H14L14.4 6H20V16H13L12.6 14H7V21H5ZM14.65 14H18V8H12.75L12.35 6H7V12H14.25L14.65 14Z",fill:"currentColor"}));case"chat":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("g",{clipPath:"url(#clip0_1829_1582)"},e.createElement("path",{d:"M4 4H20V16H5.17L4 17.17V4ZM4 2C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2H4ZM6 12H14V14H6V12ZM6 9H18V11H6V9ZM6 6H18V8H6V6Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1829_1582"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"payments":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",height:"24",width:"24",viewBox:"0 -960 960 960",fill:"#0D0D0D"},e.createElement("path",{d:"M560-440q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35ZM280-320q-33 0-56.5-23.5T200-400v-320q0-33 23.5-56.5T280-800h560q33 0 56.5 23.5T920-720v320q0 33-23.5 56.5T840-320H280Zm80-80h400q0-33 23.5-56.5T840-480v-160q-33 0-56.5-23.5T760-720H360q0 33-23.5 56.5T280-640v160q33 0 56.5 23.5T360-400Zm440 240H120q-33 0-56.5-23.5T40-240v-440h80v440h680v80ZM280-400v-320 320Z"}));case"award-star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m363-310 117-71 117 71-31-133 104-90-137-11-53-126-53 126-137 11 104 90-31 133ZM480-28 346-160H160v-186L28-480l132-134v-186h186l134-132 134 132h186v186l132 134-132 134v186H614L480-28Zm0-112 100-100h140v-140l100-100-100-100v-140H580L480-820 380-720H240v140L140-480l100 100v140h140l100 100Zm0-340Z"}));default:return e.createElement(e.Fragment,null)}}function b(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.iconType;return e.createElement("div",{className:v("course-delivery-pill",!c&&"course-delivery-pill--no-icon",a&&a&&"theme-".concat(a))},c&&e.createElement(_,{icon:c,theme:a,ariaHidden:!0}),r)}function w(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.title,c=t.creditCount,l=t.href,i=t.titleTag,o=void 0===i?"h3":i;return e.createElement("article",{className:v("card-module-card",a&&"theme-".concat(a))},e.createElement("figure",{className:"card-module-card__figure"},e.createElement("figcaption",null,e.createElement("a",{className:"card-module-card__link",href:l},"h2"===o&&e.createElement("h2",{className:"card-module-card__title"},r),"h3"===o&&e.createElement("h3",{className:"card-module-card__title"},r)),e.createElement("div",{className:v("card-module-card__inner-wrapper",c?"card-module-card__space-between":"card-module-card__flex-end")},c&&e.createElement(b,{theme:a,label:c}),e.createElement("div",{className:"card-module-card__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:!0,ariaHidden:!0}))))))}function y(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.label,l=t.onClick,i=t.url,o=t.externalLink,s=t.hollow,m=void 0!==s&&s,d=t.isSubmit,u=void 0!==d&&d,h=t.disabled,p=void 0!==h&&h;return l||u?e.createElement("button",{className:v("text-button",m&&"text-button--hollow",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse")),type:u?"submit":"button",onClick:l,disabled:p},c):e.createElement("a",{className:v("text-button",m&&"text-button--hollow",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse")),href:i,target:o?"_blank":"_self",rel:o?"noopener noreferrer":""},c)}"function"==typeof SuppressedError&&SuppressedError,d(),d(),d(),d(),d(),d(),d();var N=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.url,o=t.title,s=t.externalLink,m=void 0!==s&&s,d=t.onKeyDown;return o||i?e.createElement("a",{className:v("link-with-arrow",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),href:i,target:m?"_blank":"_self",rel:"noreferrer",onKeyDown:d,ref:n},e.createElement("span",{className:"link-with-arrow__title"},o,e.createElement("span",{className:"link-with-arrow__icon"},e.createElement(_,{icon:"arrow-right",theme:r,inverse:l,ariaHidden:!0})))):null});function C(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.title,c=t.text,l=t.inverse,i=t.titleTag,o=void 0===i?"h2":i,s=t.cards,m=t.openByDefault,d=void 0!==m&&m,h=t.primaryButton,p=t.secondaryButton,f=t.link;return e.createElement("details",{open:d,className:v("accordion-heading","accordion-heading-details-is-open","accordion-group__list-item",a&&"theme-".concat(a),l&&"theme-".concat(a,"--inverse"))},e.createElement("summary",{className:v("accordion-heading__heading-level")},e.createElement("div",{className:v("accordion-heading__accordion-title")},e.createElement(o,{className:"accordion-heading__heading-level"},r)),e.createElement("i",{className:v("accordion-heading__accordion-icon")},e.createElement(_,{icon:"chevron-down",theme:a,inverse:l}))),e.createElement("div",{className:v("accordion-item__wrapper")},c&&e.createElement(E,{theme:a,inverse:l,text:c}),s&&e.createElement("div",{className:"accordion-item__grid"},s.map(function(t,n){return e.createElement(w,u({key:n},t))})),((null==h?void 0:h.text)||(null==p?void 0:p.text))&&e.createElement("div",{className:"accordion-group__optional-buttons"},(null==h?void 0:h.text)&&e.createElement(y,{label:h.text,url:h.url,theme:a,inverse:!l}),(null==p?void 0:p.text)&&e.createElement(y,{hollow:!0,label:p.text,url:p.url,theme:a,inverse:!l})),(null==f?void 0:f.text)&&e.createElement("div",{className:"accordion-group__optional-link"},e.createElement(N,{theme:a,inverse:l,url:f.url,title:f.text}))))}function k(t){var n=t.htmlTag,a=t.classNames,r=t.children,c=n;return e.createElement(c,{className:a},r)}function x(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.text;return e.createElement("div",{className:v("wysiwyg",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},f(l))}function T(t){var n=t.description,a=t.inverse;return n?"string"==typeof n?e.createElement("div",{className:"heading__description"},e.createElement(x,{theme:"uobmain",text:n,inverse:a})):e.createElement("div",{className:"heading__description"},n):null}function L(t){var n=t.title,a=t.description,r=t.linkProps,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=t.fullWidth,s=void 0!==o&&o,m=t.htmlTag,d=void 0===m?"h2":m;return e.createElement("div",{className:v("heading",l&&"theme-".concat(l),i&&"theme-".concat(l,"--inverse"),s&&"heading--full-width")},e.createElement("div",{className:"heading__container"},(n||a||r)&&e.createElement("div",{className:"heading__text-container"},e.createElement("div",{className:"heading__title-container"},n&&e.createElement(k,{htmlTag:d,classNames:"heading__title heading__title--".concat(d)},n)),e.createElement(T,{description:a,inverse:i}),r&&r.url&&r.title&&e.createElement("div",{className:"heading__arrow-link-container"},e.createElement(N,{theme:l,inverse:i,title:r.title,url:r.url,externalLink:r.externalLink})))))}function M(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.heading,i=t.accordionItems,o=t.fullWidth;return e.createElement(e.Fragment,null,e.createElement("div",{className:v("accordion-group",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),o&&"accordion-group--full-width")},l&&e.createElement(L,u({},l,{theme:a,inverse:c,fullWidth:o})),e.createElement("div",{className:v("accordion-group__container",l&&"accordion-group__plus-heading")},i.map(function(t,n){return e.createElement(C,u({key:n},t,{theme:a,inverse:c,titleTag:t.titleTag}))}))))}function H(t){var n=t.src,a=t.width,r=t.height,c=t.altText,l=t.title,i=t.loadingAttr,o=void 0===i?"lazy":i,s=t.fetchPriority;return e.createElement("img",{className:"image",src:n.default,srcSet:n.small&&n.medium&&"".concat(n.small," 576w, ").concat(n.medium," 992w, ").concat(n.default," 1440w"),alt:c||"",title:l||"",loading:o,width:a||void 0,height:r||void 0,fetchPriority:null!=s?s:"auto"})}function S(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.intro,l=t.accreditations,i=t.htmlTag,o=void 0===i?"h2":i,s=t.fullWidth,m=void 0!==s&&s;return e.createElement("section",{className:v("accreditation-promotion",a&&"theme-".concat(a),m&&"accreditation-promotion--full-width")},e.createElement("div",{className:"accreditation-promotion__container"},r&&e.createElement(k,{classNames:"accreditation-promotion__heading",htmlTag:o},r),c&&e.createElement("p",{className:"accreditation-promotion__intro"},c),e.createElement("ul",null,l.map(function(t,n){return e.createElement("li",{className:v("accreditation-promotion__accreditation",n%2==0?"accreditation-promotion__accreditation--right":"accreditation-promotion__accreditation--left"),key:n},t.image&&e.createElement("div",{className:"accreditation-promotion__image-wrapper"},e.createElement(H,u({},t.image))),e.createElement(E,{theme:a,text:t.text,inverse:!0,fullWidth:!0}))}))))}N.displayName="LinkWithArrow",d(),d(),d(),d(),d(),d();var P=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.title,o=t.icon,s=t.onClick,m=t.ariaControls,d=t.isSubmit,u=void 0!==d&&d,h=t.disabled,p=void 0!==h&&h;return e.createElement("button",{className:v("icon-control",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),disabled:p,onClick:s,"aria-controls":m,type:u?"submit":"button",ref:n},e.createElement("i",{className:"icon-control__icon"},e.createElement(_,{icon:o,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},i))});function V(t){var r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=void 0!==l&&l,o=t.type,s=t.richText,m=n(!0),d=m[0],u=m[1];return a(function(){try{window.sessionStorage.getItem("alertBannerIsHidden")&&u(!window.sessionStorage.getItem("alertBannerIsHidden"))}catch(e){console.error(e)}},[]),e.createElement(e.Fragment,null,d&&e.createElement("div",{className:v("alert-banner",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},e.createElement("div",{className:"alert-banner__container"},e.createElement("div",{className:"alert-banner__left-wrapper"},e.createElement("div",{className:"alert-banner__status-icon"},"warning"===o&&e.createElement(_,{theme:c,icon:i?"warning-light":"warning-dark",inverse:i}),"success"===o&&e.createElement(_,{theme:c,icon:"success",inverse:i}),"information"===o&&e.createElement(_,{theme:c,icon:"information",inverse:i})),e.createElement(E,{theme:c,text:s.text,inverse:i})),e.createElement(P,{theme:c,icon:"cross",inverse:i,title:"Hide alert banner",onClick:function(){return function(){u(!1);var e=JSON.stringify(d);window.sessionStorage.setItem("alertBannerIsHidden",e)}()}}))))}function O(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.inverse,i=void 0===l||l,o=t.includeDivider,s=void 0===o||o,m=t.targetLabel,d=t.landmarkLabel,u=t.children,h=r(null);return a(function(){var e=h.current;if(e){var t=!1,n=e.querySelector("h1,h2,h3,h4,h5,h6"),a=function(e){return!!e&&(e.hasAttribute("tabindex")||(e.setAttribute("tabindex","-1"),t=!0),n=e,!0)};if(!a(n)){var r=new MutationObserver(function(){var t=e.querySelector("h1,h2,h3,h4,h5,h6");a(t)&&r.disconnect()});return r.observe(e,{childList:!0,subtree:!0}),function(){return r.disconnect()}}return function(){t&&n&&n.removeAttribute("tabindex")}}},[m]),e.createElement("div",{id:m,ref:h,role:d?"region":void 0,"aria-label":d||void 0,className:v("anchor-target",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},s&&e.createElement("hr",{className:"anchor-target__divider",role:"none"}),u)}function Z(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title;return e.createElement("a",{className:v("breadcrumb-link",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l},i)}function q(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.links;return e.createElement("nav",{className:v("breadcrumbs",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("ol",{className:"breadcrumbs__list"},l.slice(0,-1).map(function(t){return e.createElement("li",{className:"breadcrumbs__link",key:t.title},e.createElement(_,{icon:"chevron-right",theme:a,ariaHidden:!0}),e.createElement(Z,u({theme:a,inverse:c},t)))})))}function B(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function F(e,t){const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{const a=e[n],r=t[n];return"function"==typeof a?`${a}`==`${r}`:B(a)&&B(r)?F(a,r):a===r})}function D(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function I(e){return"number"==typeof e}function A(e){return"string"==typeof e}function $(e){return"boolean"==typeof e}function R(e){return"[object Object]"===Object.prototype.toString.call(e)}function j(e){return Math.abs(e)}function z(e){return Math.sign(e)}function U(e,t){return j(e-t)}function W(e){return X(e).map(Number)}function G(e){return e[K(e)]}function K(e){return Math.max(0,e.length-1)}function Y(e,t){return t===K(e)}function J(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function X(e){return Object.keys(e)}function Q(e,t){return[e,t].reduce((e,t)=>(X(t).forEach(n=>{const a=e[n],r=t[n],c=R(a)&&R(r);e[n]=c?Q(a,r):r}),e),{})}function ee(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function te(){let e=[];const t={add:function(n,a,r,c={passive:!0}){let l;if("addEventListener"in n)n.addEventListener(a,r,c),l=()=>n.removeEventListener(a,r,c);else{const e=n;e.addListener(r),l=()=>e.removeListener(r)}return e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function ne(e,t,n,a){const r=te(),c=1e3/60;let l=null,i=0,o=0;function s(e){if(!o)return;l||(l=e,n(),n());const r=e-l;for(l=e,i+=r;i>=c;)n(),i-=c;a(i/c),o&&(o=t.requestAnimationFrame(s))}function m(){t.cancelAnimationFrame(o),l=null,i=0,o=0}return{init:function(){r.add(e,"visibilitychange",()=>{e.hidden&&(l=null,i=0)})},destroy:function(){m(),r.clear()},start:function(){o||(o=t.requestAnimationFrame(s))},stop:m,update:n,render:a}}function ae(e=0,t=0){const n=j(e-t);function a(t){return t<e}function r(e){return e>t}function c(e){return a(e)||r(e)}return{length:n,max:t,min:e,constrain:function(n){return c(n)?a(n)?e:t:n},reachedAny:c,reachedMax:r,reachedMin:a,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function re(e,t,n){const{constrain:a}=ae(0,e),r=e+1;let c=l(t);function l(e){return n?j((r+e)%r):a(e)}function i(){return c}function o(){return re(e,i(),n)}const s={get:i,set:function(e){return c=l(e),s},add:function(e){return o().set(i()+e)},clone:o};return s}function ce(e,t,n,a,r,c,l,i,o,s,m,d,u,h,p,v,f,g,E){const{cross:_,direction:b}=e,w=["INPUT","SELECT","TEXTAREA"],y={passive:!1},N=te(),C=te(),k=ae(50,225).constrain(h.measure(20)),x={mouse:300,touch:400},T={mouse:500,touch:600},L=p?43:25;let M=!1,H=0,S=0,P=!1,V=!1,O=!1,Z=!1;function q(e){if(!ee(e,a)&&e.touches.length>=2)return B(e);const t=c.readPoint(e),n=c.readPoint(e,_),l=U(t,H),o=U(n,S);if(!V&&!Z){if(!e.cancelable)return B(e);if(V=l>o,!V)return B(e)}const m=c.pointerMove(e);l>v&&(O=!0),s.useFriction(.3).useDuration(.75),i.start(),r.add(b(m)),e.preventDefault()}function B(e){const t=m.byDistance(0,!1).index!==d.get(),n=c.pointerUp(e)*(p?T:x)[Z?"mouse":"touch"],a=function(e,t){const n=d.add(-1*z(e)),a=m.byDistance(e,!p).distance;return p||j(e)<k?a:f&&t?.5*a:m.byIndex(n.get(),0).distance}(b(n),t),r=function(e,t){if(0===e||0===t)return 0;if(j(e)<=j(t))return 0;const n=U(j(e),j(t));return j(n/e)}(n,a),l=L-10*r,i=g+r/50;V=!1,P=!1,C.clear(),s.useDuration(l).useFriction(i),o.distance(a,!p),Z=!1,u.emit("pointerUp")}function F(e){O&&(e.stopPropagation(),e.preventDefault(),O=!1)}return{init:function(e){if(!E)return;function i(i){($(E)||E(e,i))&&function(e){const i=ee(e,a);if(Z=i,O=p&&i&&!e.buttons&&M,M=U(r.get(),l.get())>=2,i&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return w.includes(t)}(e.target))return;P=!0,c.pointerDown(e),s.useFriction(0).useDuration(0),r.set(l),function(){const e=Z?n:t;C.add(e,"touchmove",q,y).add(e,"touchend",B).add(e,"mousemove",q,y).add(e,"mouseup",B)}(),H=c.readPoint(e),S=c.readPoint(e,_),u.emit("pointerDown")}(i)}const o=t;N.add(o,"dragstart",e=>e.preventDefault(),y).add(o,"touchmove",()=>{},y).add(o,"touchend",()=>{}).add(o,"touchstart",i).add(o,"mousedown",i).add(o,"touchcancel",B).add(o,"contextmenu",B).add(o,"click",F,!0)},destroy:function(){N.clear(),C.clear()},pointerDown:function(){return P}}}function le(e,t){let n,a;function r(e){return e.timeStamp}function c(n,a){const r="client"+("x"===(a||e.scroll)?"X":"Y");return(ee(n,t)?n:n.touches[0])[r]}return{pointerDown:function(e){return n=e,a=e,c(e)},pointerMove:function(e){const t=c(e)-c(a),l=r(e)-r(n)>170;return a=e,l&&(n=e),t},pointerUp:function(e){if(!n||!a)return 0;const t=c(a)-c(n),l=r(e)-r(n),i=r(e)-r(a)>170,o=t/l;return l&&!i&&j(o)>.1?o:0},readPoint:c}}function ie(e,t,n,a,r,c,l){const i=[e].concat(a);let o,s,m=[],d=!1;function u(e){return r.measureSize(l.measure(e))}return{init:function(r){c&&(s=u(e),m=a.map(u),o=new ResizeObserver(n=>{($(c)||c(r,n))&&function(n){for(const c of n){if(d)return;const n=c.target===e,l=a.indexOf(c.target),i=n?s:m[l];if(j(u(n?e:a[l])-i)>=.5){r.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{i.forEach(e=>o.observe(e))}))},destroy:function(){d=!0,o&&o.disconnect()}}}function oe(e,t,n,a,r){const c=r.measure(10),l=r.measure(50),i=ae(.1,.99);let o=!1;function s(){return!o&&(!!e.reachedAny(n.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:s,constrain:function(r){if(!s())return;const o=e.reachedMin(t.get())?"min":"max",m=j(e[o]-t.get()),d=n.get()-t.get(),u=i.constrain(m/l);n.subtract(d*u),!r&&j(d)<c&&(n.set(e.constrain(n.get())),a.useDuration(25).useBaseFriction())},toggleActive:function(e){o=!e}}}function se(e,t,n,a){const r=t.min+.1,c=t.max+.1,{reachedMin:l,reachedMax:i}=ae(r,c);return{loop:function(t){if(!function(e){return 1===e?i(n.get()):-1===e&&l(n.get())}(t))return;const r=e*(-1*t);a.forEach(e=>e.add(r))}}}function me(e,t,n,a,r){const{reachedAny:c,removeOffset:l,constrain:i}=a;function o(e){return e.concat().sort((e,t)=>j(e)-j(t))[0]}function s(t,a){const r=[t,t+n,t-n];if(!e)return t;if(!a)return o(r);const c=r.filter(e=>z(e)===a);return c.length?o(c):G(r)-n}return{byDistance:function(n,a){const o=r.get()+n,{index:m,distance:d}=function(n){const a=e?l(n):i(n),r=t.map((e,t)=>({diff:s(e-a,0),index:t})).sort((e,t)=>j(e.diff)-j(t.diff)),{index:c}=r[0];return{index:c,distance:a}}(o),u=!e&&c(o);return!a||u?{index:m,distance:n}:{index:m,distance:n+s(t[m]-d,0)}},byIndex:function(e,n){return{index:e,distance:s(t[e]-r.get(),n)}},shortcut:s}}function de(e,t,n,a,r,c,l,i){const o={passive:!0,capture:!0};let s=0;function m(e){"Tab"===e.code&&(s=(new Date).getTime())}return{init:function(d){i&&(c.add(document,"keydown",m,!1),t.forEach((t,m)=>{c.add(t,"focus",t=>{($(i)||i(d,t))&&function(t){if((new Date).getTime()-s>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;const c=n.findIndex(e=>e.includes(t));I(c)&&(r.useDuration(0),a.index(c,0),l.emit("slideFocus"))}(m)},o)}))}}}function ue(e){let t=e;function n(e){return I(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function he(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},a=t.style;let r=null,c=!1;return{clear:function(){c||(a.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(c)return;const l=(i=e.direction(t),Math.round(100*i)/100);var i;l!==r&&(a.transform=n(l),r=l)},toggleActive:function(e){c=!e}}}function pe(e,t,n,a,r,c,l,i,o){const s=W(r),m=W(r).reverse(),d=function(){const e=l[0];return p(h(m,e),n,!1)}().concat(function(){const e=t-l[0]-1;return p(h(s,e),-n,!0)}());function u(e,t){return e.reduce((e,t)=>e-r[t],t)}function h(e,t){return e.reduce((e,n)=>u(e,t)>0?e.concat([n]):e,[])}function p(r,l,s){const m=function(e){return c.map((n,r)=>({start:n-a[r]+.5+e,end:n+t-.5+e}))}(l);return r.map(t=>{const a=s?0:-n,r=s?n:0,c=s?"end":"start",l=m[t][c];return{index:t,loopPoint:l,slideLocation:ue(-1),translate:he(e,o[t]),target:()=>i.get()>l?a:r}})}return{canLoop:function(){return d.every(({index:e})=>u(s.filter(t=>t!==e),t)<=.1)},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{const{target:t,translate:n,slideLocation:a}=e,r=t();r!==a.get()&&(n.to(r),a.set(r))})},loopPoints:d}}function ve(e,t,n){let a,r=!1;return{init:function(c){n&&(a=new MutationObserver(e=>{r||($(n)||n(c,e))&&function(e){for(const n of e)if("childList"===n.type){c.reInit(),t.emit("slidesChanged");break}}(e)}),a.observe(e,{childList:!0}))},destroy:function(){a&&a.disconnect(),r=!0}}}function fe(e,t,n,a){const r={};let c,l=null,i=null,o=!1;return{init:function(){c=new IntersectionObserver(e=>{o||(e.forEach(e=>{const n=t.indexOf(e.target);r[n]=e}),l=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:a}),t.forEach(e=>c.observe(e))},destroy:function(){c&&c.disconnect(),o=!0},get:function(e=!0){if(e&&l)return l;if(!e&&i)return i;const t=function(e){return X(r).reduce((t,n)=>{const a=parseInt(n),{isIntersecting:c}=r[a];return(e&&c||!e&&!c)&&t.push(a),t},[])}(e);return e&&(l=t),e||(i=t),t}}}function ge(e,t,n,a,r,c,l,i,o){const{startEdge:s,endEdge:m,direction:d}=e,u=I(n);return{groupSlides:function(e){return u?function(e,t){return W(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?W(e).reduce((n,u,h)=>{const p=G(n)||0,v=0===p,f=u===K(e),g=r[s]-c[p][s],E=r[s]-c[u][m],_=!a&&v?d(l):0,b=j(E-(!a&&f?d(i):0)-(g+_));return h&&b>t+o&&n.push(u),f&&n.push(e.length),n},[]).map((t,n,a)=>{const r=Math.max(a[n-1]||0);return e.slice(r,t)}):[]}(e)}}}function Ee(e,t,n,a,r,c,l){const{align:i,axis:o,direction:s,startIndex:m,loop:d,duration:u,dragFree:h,dragThreshold:p,inViewThreshold:v,slidesToScroll:f,skipSnaps:g,containScroll:E,watchResize:_,watchSlides:b,watchDrag:w,watchFocus:y}=c,N={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:a,offsetHeight:r}=e;return{top:t,right:n+a,bottom:t+r,left:n,width:a,height:r}}},C=N.measure(t),k=n.map(N.measure),x=function(e,t){const n="rtl"===t,a="y"===e,r=!a&&n?-1:1;return{scroll:a?"y":"x",cross:a?"x":"y",startEdge:a?"top":n?"right":"left",endEdge:a?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return a?t:n},direction:function(e){return e*r}}}(o,s),T=x.measureSize(C),L=function(e){return{measure:function(t){return e*(t/100)}}}(T),M=function(e,t){const n={start:function(){return 0},center:function(e){return a(e)/2},end:a};function a(e){return t-e}return{measure:function(a,r){return A(e)?n[e](a):e(t,a,r)}}}(i,T),H=!d&&!!E,S=d||!!E,{slideSizes:P,slideSizesWithGaps:V,startGap:O,endGap:Z}=function(e,t,n,a,r,c){const{measureSize:l,startEdge:i,endEdge:o}=e,s=n[0]&&r,m=function(){if(!s)return 0;const e=n[0];return j(t[i]-e[i])}(),d=function(){if(!s)return 0;const e=c.getComputedStyle(G(a));return parseFloat(e.getPropertyValue(`margin-${o}`))}(),u=n.map(l),h=n.map((e,t,n)=>{const a=!t,r=Y(n,t);return a?u[t]+m:r?u[t]+d:n[t+1][i]-e[i]}).map(j);return{slideSizes:u,slideSizesWithGaps:h,startGap:m,endGap:d}}(x,C,k,n,S,r),q=ge(x,T,f,d,C,k,O,Z,2),{snaps:B,snapsAligned:F}=function(e,t,n,a,r){const{startEdge:c,endEdge:l}=e,{groupSlides:i}=r,o=i(a).map(e=>G(e)[l]-e[0][c]).map(j).map(t.measure),s=a.map(e=>n[c]-e[c]).map(e=>-j(e)),m=i(s).map(e=>e[0]).map((e,t)=>e+o[t]);return{snaps:s,snapsAligned:m}}(x,M,C,k,q),D=-G(B)+G(V),{snapsContained:I,scrollContainLimit:$}=function(e,t,n,a,r){const c=ae(-t+e,0),l=n.map((e,t)=>{const{min:a,max:r}=c,l=c.constrain(e),i=!t,s=Y(n,t);return i?r:s||o(a,l)?a:o(r,l)?r:l}).map(e=>parseFloat(e.toFixed(3))),i=function(){const e=l[0],t=G(l);return ae(l.lastIndexOf(e),l.indexOf(t)+1)}();function o(e,t){return U(e,t)<=1}return{snapsContained:function(){if(t<=e+r)return[c.max];if("keepSnaps"===a)return l;const{min:n,max:o}=i;return l.slice(n,o)}(),scrollContainLimit:i}}(T,D,F,E,2),R=H?I:F,{limit:X}=function(e,t,n){const a=t[0];return{limit:ae(n?a-e:G(t),a)}}(D,R,d),Q=re(K(R),m,d),ee=Q.clone(),Ee=W(n),_e=ne(a,r,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:a}})=>{a||n.constrain(e.pointerDown()),t.seek()})(Ve),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:a,previousLocation:r,scrollLooper:c,slideLooper:l,dragHandler:i,animation:o,eventHandler:s,scrollBounds:m,options:{loop:d}},u)=>{const h=e.settled(),p=!m.shouldConstrain(),v=d?h:h&&p,f=v&&!i.pointerDown();f&&o.stop();const g=n.get()*u+r.get()*(1-u);a.set(g),d&&(c.loop(e.direction()),l.loop()),t.to(a.get()),f&&s.emit("settle"),v||s.emit("scroll")})(Ve,e)),be=R[Q.get()],we=ue(be),ye=ue(be),Ne=ue(be),Ce=ue(be),ke=function(e,t,n,a,r,c){let l=0,i=0,o=r,s=c,m=e.get(),d=0;function u(e){return o=e,p}function h(e){return s=e,p}const p={direction:function(){return i},duration:function(){return o},velocity:function(){return l},seek:function(){const t=a.get()-e.get();let r=0;return o?(n.set(e),l+=t/o,l*=s,m+=l,e.add(l),r=m-d):(l=0,n.set(a),e.set(a),r=t),i=z(r),d=m,p},settled:function(){return j(a.get()-t.get())<.001},useBaseFriction:function(){return h(c)},useBaseDuration:function(){return u(r)},useFriction:h,useDuration:u};return p}(we,Ne,ye,Ce,u,.68),xe=me(d,R,D,X,Ce),Te=function(e,t,n,a,r,c,l){function i(r){const i=r.distance,o=r.index!==t.get();c.add(i),i&&(a.duration()?e.start():(e.update(),e.render(1),e.update())),o&&(n.set(t.get()),t.set(r.index),l.emit("select"))}return{distance:function(e,t){i(r.byDistance(e,t))},index:function(e,n){const a=t.clone().set(e);i(r.byIndex(a.get(),n))}}}(_e,Q,ee,ke,xe,Ce,l),Le=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(X),Me=te(),He=fe(t,n,l,v),{slideRegistry:Se}=function(e,t,n,a,r,c){const{groupSlides:l}=r,{min:i,max:o}=a;return{slideRegistry:function(){const a=l(c),r=!e||"keepSnaps"===t;return 1===n.length?[c]:r?a:a.slice(i,o).map((e,t,n)=>{const a=!t,r=Y(n,t);return a?J(G(n[0])+1):r?J(K(c)-G(n)[0]+1,G(n)[0]):e})}()}}(H,E,R,$,q,Ee),Pe=de(e,n,Se,Te,ke,Me,l,y),Ve={ownerDocument:a,ownerWindow:r,eventHandler:l,containerRect:C,slideRects:k,animation:_e,axis:x,dragHandler:ce(x,e,a,r,Ce,le(x,r),we,_e,Te,ke,xe,Q,l,L,h,p,g,.68,w),eventStore:Me,percentOfView:L,index:Q,indexPrevious:ee,limit:X,location:we,offsetLocation:Ne,previousLocation:ye,options:c,resizeHandler:ie(t,l,r,n,x,_,N),scrollBody:ke,scrollBounds:oe(X,Ne,Ce,ke,L),scrollLooper:se(D,X,Ne,[we,Ne,ye,Ce]),scrollProgress:Le,scrollSnapList:R.map(Le.get),scrollSnaps:R,scrollTarget:xe,scrollTo:Te,slideLooper:pe(x,T,D,P,V,B,R,Ne,n),slideFocus:Pe,slidesHandler:ve(t,l,b),slidesInView:He,slideIndexes:Ee,slideRegistry:Se,slidesToScroll:q,target:Ce,translate:he(x,t)};return Ve}P.displayName="IconControl",d(),d(),d(),d();const _e={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function be(e){function t(e,t){return Q(e,t||{})}const n={mergeOptions:t,optionsAtMedia:function(n){const a=n.breakpoints||{},r=X(a).filter(t=>e.matchMedia(t).matches).map(e=>a[e]).reduce((e,n)=>t(e,n),{});return t(n,r)},optionsMediaQueries:function(t){return t.map(e=>X(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}};return n}function we(e,t,n){const a=e.ownerDocument,r=a.defaultView,c=be(r),l=function(e){let t=[];return{init:function(n,a){return t=a.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(n,e)),a.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(c),i=te(),o=function(){let e,t={};function n(e){return t[e]||[]}const a={init:function(t){e=t},emit:function(t){return n(t).forEach(n=>n(e,t)),a},off:function(e,r){return t[e]=n(e).filter(e=>e!==r),a},on:function(e,r){return t[e]=n(e).concat([r]),a},clear:function(){t={}}};return a}(),{mergeOptions:s,optionsAtMedia:m,optionsMediaQueries:d}=c,{on:u,off:h,emit:p}=o,v=x;let f,g,E,_,b=!1,w=s(_e,we.globalOptions),y=s(w),N=[];function C(t){const n=Ee(e,E,_,a,r,t,o);if(t.loop&&!n.slideLooper.canLoop()){return C(Object.assign({},t,{loop:!1}))}return n}function k(t,n){b||(w=s(w,t),y=m(w),N=n||N,function(){const{container:t,slides:n}=y,a=A(t)?e.querySelector(t):t;E=a||e.children[0];const r=A(n)?E.querySelectorAll(n):n;_=[].slice.call(r||E.children)}(),f=C(y),d([w,...N.map(({options:e})=>e)]).forEach(e=>i.add(e,"change",x)),y.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(H),f.eventHandler.init(H),f.resizeHandler.init(H),f.slidesHandler.init(H),f.options.loop&&f.slideLooper.loop(),E.offsetParent&&_.length&&f.dragHandler.init(H),g=l.init(H,N)))}function x(e,t){const n=M();T(),k(s({startIndex:n},e),t),o.emit("reInit")}function T(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),l.destroy(),i.clear()}function L(e,t,n){y.active&&!b&&(f.scrollBody.useBaseFriction().useDuration(!0===t?0:y.duration),f.scrollTo.index(e,n||0))}function M(){return f.index.get()}const H={canScrollNext:function(){return f.index.add(1).get()!==M()},canScrollPrev:function(){return f.index.add(-1).get()!==M()},containerNode:function(){return E},internalEngine:function(){return f},destroy:function(){b||(b=!0,i.clear(),T(),o.emit("destroy"),o.clear())},off:h,on:u,emit:p,plugins:function(){return g},previousScrollSnap:function(){return f.indexPrevious.get()},reInit:v,rootNode:function(){return e},scrollNext:function(e){L(f.index.add(1).get(),e,-1)},scrollPrev:function(e){L(f.index.add(-1).get(),e,1)},scrollProgress:function(){return f.scrollProgress.get(f.offsetLocation.get())},scrollSnapList:function(){return f.scrollSnapList},scrollTo:L,selectedScrollSnap:M,slideNodes:function(){return _},slidesInView:function(){return f.slidesInView.get()},slidesNotInView:function(){return f.slidesInView.get(!1)}};return k(t,n),setTimeout(()=>o.emit("init"),0),H}function ye(e={},t=[]){const l=r(e),i=r(t),[o,s]=n(),[m,d]=n(),u=c(()=>{o&&o.reInit(l.current,i.current)},[o]);return a(()=>{F(l.current,e)||(l.current=e,u())},[e,u]),a(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=D(e),a=D(t);return n.every((e,t)=>F(e,a[t]))})(i.current,t)||(i.current=t,u())},[t,u]),a(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&m){we.globalOptions=ye.globalOptions;const e=we(m,l.current,i.current);return s(e),()=>e.destroy()}s(void 0)},[m,s]),[d,o]}we.globalOptions=void 0,ye.globalOptions=void 0;const Ne={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function Ce(e){return(Array.isArray(e)?e:[e]).filter(Boolean)}function ke(e,t){e&&t.length&&e.classList.remove(...t)}function xe(e,t){e&&t.length&&e.classList.add(...t)}function Te(e={}){let t,n,a,r,c=[],l=[];const i=["select"],o=["pointerDown","pointerUp"],s=["slidesInView"],m={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function d(e,t){("pointerDown"===t?xe:ke)(a,m.dragging)}function u(e=[],t=[],n){const a=t.map(e=>r[e]),c=e.map(e=>r[e]);return a.forEach(e=>ke(e,n)),c.forEach(e=>xe(e,n)),e}function h(){const{slideRegistry:e}=n.internalEngine(),t=e[n.selectedScrollSnap()];c=u(t,c,m.snapped)}function p(){const e=n.slidesInView();l=u(e,l,m.inView)}return{name:"classNames",options:e,init:function(c,l){n=c;const{mergeOptions:u,optionsAtMedia:v}=l,f=u(Ne,Te.globalOptions),g=u(f,e);t=v(g),a=n.rootNode(),r=n.slideNodes();const{watchDrag:E,loop:_}=n.internalEngine().options,b=!!E;t.loop&&_&&(m.loop=Ce(t.loop),xe(a,m.loop)),t.draggable&&b&&(m.draggable=Ce(t.draggable),xe(a,m.draggable)),t.dragging&&(m.dragging=Ce(t.dragging),o.forEach(e=>n.on(e,d))),t.snapped&&(m.snapped=Ce(t.snapped),i.forEach(e=>n.on(e,h)),h()),t.inView&&(m.inView=Ce(t.inView),s.forEach(e=>n.on(e,p)),p())},destroy:function(){o.forEach(e=>n.off(e,d)),i.forEach(e=>n.off(e,h)),s.forEach(e=>n.off(e,p)),ke(a,m.loop),ke(a,m.draggable),ke(a,m.dragging),u([],c,m.snapped),u([],l,m.inView),Object.keys(m).forEach(e=>{m[e]=[]})}}}function Le(e,t){void 0===e&&(e="768px"),void 0===t&&(t=!0);var r=n(t),c=r[0],l=r[1];return a(function(){var t=window.matchMedia("(min-width: ".concat(e,")"));l(!t.matches);var n=function(e){return l(!e.matches)};return"function"==typeof t.addEventListener?t.addEventListener("change",n):t.addListener(n),function(){"function"==typeof t.removeEventListener?t.removeEventListener("change",n):t.removeListener(n)}},[e]),c}function Me(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.href,m=t.publishDate,d=t.titleTag;return e.createElement("div",{className:v("card-news",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-news__figure"},e.createElement("div",{className:"card-news__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"})),e.createElement("p",{className:"card-news__tag card-news__tag--desktop"},i)),e.createElement("p",{className:"card-news__tag card-news__tag--mobile"},i),e.createElement("figcaption",null,e.createElement("a",{className:"card-news__link",href:s},e.createElement(k,{htmlTag:d,classNames:"card-news__title"},o)),e.createElement("p",{className:"card-news__date"},m),e.createElement("div",{className:"card-news__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}Te.globalOptions=void 0,d(),d();var He={first:{top:"-36px"},second:{top:"100px"},third:{top:"160px"}},Se={first:{bottom:"-24px"},second:{bottom:"100px"},third:{bottom:"170px"}},Pe={first:{top:"-36px"},second:{top:"100px"},third:{top:"200px"}},Ve={first:{bottom:"-36px"},second:{bottom:"100px"},third:{bottom:"340px"}},Oe=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,o=t.imagePrimary,s=t.imageSecondary,m=t.imageTertiary,d=t.categoryLabel,h=t.slideTitle,p=t.subTitle,f=t.introText,g=t.link,E=t.linkText,_=t.activeVariant,b=void 0===_?"one":_,w=t.leftInitialPositionTablet,y=void 0===w?"0":w,C=t.rightInitialPositionTablet,k=void 0===C?"0":C,x=t.leftInitialPositionDesktop,T=void 0===x?"0":x,L=t.rightInitialPositionDesktop,M=void 0===L?"0":L,S=t.isMobile,P=t.isTablet,V=t.onKeyDown;return e.createElement(e.Fragment,null,e.createElement("div",{ref:n,onKeyDown:V,className:v("card-featured card-featured--".concat(b),r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},e.createElement("div",{className:"card-featured__top-wrapper"},e.createElement("p",{className:"card-featured__category"},d),e.createElement("h2",{className:"card-featured__title"},h)),e.createElement("figure",{className:"card-featured__figure"},e.createElement("div",{className:"card-featured__image-outer-wrapper"},e.createElement("div",{className:"card-featured__image-wrapper card-featured__image-wrapper--primary"},o.src.default&&e.createElement(H,u({},o))),P&&e.createElement(e.Fragment,null,e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--secondary",layout:!0,initial:{top:y},animate:b,variants:He},s.src.default&&e.createElement(H,u({},s))),e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--tertiary",layout:!0,initial:{bottom:k},animate:b,variants:Se},m.src.default&&e.createElement(H,u({},m)))),!S&&!P&&e.createElement(e.Fragment,null,e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--secondary",layout:!0,initial:{top:T},animate:b,variants:Pe},s.src.default&&e.createElement(H,u({},s,{altText:""}))),e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--tertiary",layout:!0,initial:{bottom:M},animate:b,variants:Ve},m.src.default&&e.createElement(H,u({},m,{altText:""}))))),e.createElement("figcaption",{className:"card-featured__figcaption"},e.createElement("div",{className:"card-featured__text-wrapper"},p&&e.createElement("h3",{className:"card-featured__sub-title"},p),e.createElement("p",{className:"card-featured__intro-text"},f),e.createElement("div",{className:"card-featured__cta"},e.createElement(N,{theme:r,inverse:l,url:g,title:E})))))))});function Ze(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.id,c=t.url,l=t.autoPlay,i=void 0!==l&&l;return e.createElement("section",{className:v("video",a&&"theme-".concat(a))},e.createElement("div",{className:"video__video"},r&&e.createElement("iframe",{className:"video__iframe",width:"500",height:"281",src:c||"https://www.youtube.com/embed/".concat(r||"").concat(i?"?autoplay=1":""),title:"Youtube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,loading:"lazy"})))}Oe.displayName="CardFeatured",d(),d(),d();var qe=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.url,o=t.title,s=t.icon,m=t.externalLink,d=void 0!==m&&m,u=t.onClick,h=t.ariaControls,p=t.isSubmit,f=void 0!==p&&p,g=t.disabled,E=void 0!==g&&g,b=t.ariaExpanded;return u||f?e.createElement("button",{className:v("icon-button",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),disabled:E,onClick:u,"aria-controls":h,type:f?"submit":"button",ref:n,"aria-expanded":b},e.createElement("i",{className:"icon-button__icon"},e.createElement(_,{icon:s,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},o)):e.createElement("a",{className:v("icon-button",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),href:i,target:d?"_blank":"_self",rel:d?"noopener noreferrer":""},e.createElement("i",{className:"icon-button__icon"},e.createElement(_,{icon:s,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},o))});qe.displayName="IconButton";function Be(t){var n=function(){var e=r(null);function t(t){var n=e&&e.current?function(e){var t=e.querySelectorAll('button:not([disabled]), iframe, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]'),n=[];return[].forEach.call(t,function(e){n.push(e)}),n.filter(function(e){return!e.disabled})}(e.current):[],a=n[0],r=n[n.length-1];("Tab"===t.key||9===t.keyCode)&&(t.shiftKey?document.activeElement===a&&(r.focus(),t.preventDefault()):document.activeElement===r&&(a.focus(),t.preventDefault()))}return a(function(){var n=e.current;return n&&n.addEventListener("keydown",t),function(){null==n||n.removeEventListener("keydown",t)}},[]),e}();return e.createElement("div",{className:"trap",ref:n},t.children)}var Fe=function(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.isOpen,o=t.closeModal,s=t.children,m=t.centred,d=void 0!==m&&m,u=r(null),h=function(e){"Escape"===e.key&&l&&o()};return a(function(){return document.addEventListener("keydown",h),function(){document.removeEventListener("keydown",h)}}),a(function(){var e,t;l?null===(e=u.current)||void 0===e||e.showModal():null===(t=u.current)||void 0===t||t.close()},[l]),e.createElement(i.dialog,{className:v("full-modal",c&&"theme-".concat(c),d&&"full-modal--centred"),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},ref:u},e.createElement(Be,null,e.createElement("div",{className:"full-modal__outer-wrapper"},e.createElement("div",{className:"full-modal__container"},e.createElement("div",{className:"full-modal__content"},s)),d?e.createElement("div",{className:"full-modal__centred-close"},e.createElement(qe,{theme:c,title:"Close",icon:"cross",onClick:o,inverse:!0})):e.createElement("div",{className:"full-modal__close-wrapper"},e.createElement("div",{className:"full-modal__close"},e.createElement(qe,{theme:c,title:"Close",icon:"cross",onClick:o}))))))};function De(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.id,c=t.inverse,l=t.label,i=t.onClick,o=t.url,s=t.externalLink,m=t.hollow,d=void 0!==m&&m,u=t.isSubmit,h=void 0!==u&&u,p=t.icon,f=t.iconPosition,g=void 0===f?"left":f,E=t.oneTrustElement,b=v("text-button-with-icon",d&&"text-button-with-icon--hollow","left"===g?"text-button-with-icon--left":"text-button-with-icon--right",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),"Cookies Settings button"===E?"ot-sdk-show-settings":"");return i||h?e.createElement("button",{className:b,id:r,type:h?"submit":"button",onClick:i},e.createElement(_,{theme:a,icon:p,ariaHidden:!0,inverse:d?!c:c}),e.createElement("span",{className:"text-button-with-icon__label"},l)):e.createElement("a",{className:b,id:r,href:o,target:s?"_blank":"_self",rel:s?"noopener noreferrer":""},e.createElement(_,{theme:a,icon:p,ariaHidden:!0,inverse:d?!c:c}),e.createElement("span",{className:"text-button-with-icon__label"},l))}function Ie(t){var a=t.theme,c=void 0===a?"uobmain":a,l=t.inverse,i=void 0===l||l,o=t.image,s=t.title,m=t.youtubeId,d=t.buttonLabel,h=t.titleTag,p=void 0===h?"h3":h,f=n(!1),g=f[0],E=f[1],_=r(m),b=function(){E(!1),document.body.classList.remove("lock-scroll")},w=function(e){_.current=e,g?b():(E(!0),document.body.classList.add("lock-scroll"))};return e.createElement(e.Fragment,null,e.createElement("div",{className:v("card-video",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},e.createElement("figure",{className:"card-video__figure"},e.createElement("div",{className:"card-video__image-wrapper"},e.createElement(H,u({},o,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-video__text-content"},e.createElement(k,{htmlTag:p,classNames:"card-video__title"},s),e.createElement("div",{className:"card-video__cta"},e.createElement(De,{theme:c,inverse:!0,label:d,icon:"play",onClick:function(){return w(m)}}))))),g&&e.createElement(Fe,{theme:c,closeModal:b,isOpen:g},e.createElement(Ze,{theme:c,id:_.current,autoPlay:!0})))}function Ae(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.status,c=t.day,l=t.month,i={"aria-hidden":"Upcoming"===r};return e.createElement("div",u({className:v("calendar-graphic",a&&"theme-".concat(a),"calendar-graphic--".concat(r.toLowerCase()))},i),"Upcoming"===r&&e.createElement(e.Fragment,null,e.createElement("div",{className:"calendar-graphic__day"},c),e.createElement("div",{className:"calendar-graphic__month"},l)),"Recorded"===r&&e.createElement(_,{theme:"uobmain",icon:"play"}),"More"===r&&e.createElement("span",null,"More dates available"))}function $e(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.subtitle,m=void 0===s?"":s,d=t.href,h=t.publishDate,p=void 0===h?"":h,f=t.authorString,g=void 0===f?"":f,E=t.readingTime,b=t.location,w=void 0===b?"":b,y=t.copy,N=void 0===y?"":y,C=t.isSingle,T=void 0!==C&&C,L=t.titleTag,M=void 0===L?"h3":L,S=t.cardCopyIsRichText,P=void 0!==S&&S,V=t.eventTime,O=void 0===V?"":V,Z=t.eventStatus,q=t.eventDay,B=t.eventMonth,F=t.inStoryCarousel,D=void 0!==F&&F;return e.createElement("div",{className:v("card-promo",T&&"card-promo--single",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),D&&"card-promo--in-story-carousel")},e.createElement("figure",{className:"card-promo__figure"},l&&e.createElement("div",{className:"card-promo__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"})),i&&e.createElement("p",{className:"card-promo__tag card-promo__tag--many"},i),Z&&e.createElement("div",{className:"card-promo__event-graphic"},e.createElement(Ae,{theme:"uobmain",status:Z,day:q,month:B}))),e.createElement("figcaption",{className:"card-promo__text-content"},i&&e.createElement("p",{className:"card-promo__tag card-promo__tag--single"},i),e.createElement("a",{className:"card-promo__link",href:d},e.createElement(k,{htmlTag:M,classNames:"card-promo__title"},o)),m&&e.createElement("p",{className:"card-promo__subtitle"},m),p&&e.createElement("div",{className:"card-promo__date-time-wrapper"},e.createElement("p",{className:"card-promo__date"},p),O&&e.createElement("span",{className:"card-promo__event-time"},O)),g&&e.createElement("div",{className:"card-promo__author-wrapper"},e.createElement("p",{className:"card-promo__author"},g),E&&e.createElement("span",{className:"card-promo__reading-time"},E," read")),w&&e.createElement("div",{className:"card-promo__location-wrapper"},e.createElement(_,{icon:"location",theme:a,inverse:c,ariaHidden:!0}),e.createElement("p",{className:"card-promo__location"},w)),N&&P?e.createElement(x,{theme:a,inverse:c,text:N}):e.createElement("p",{className:"card-promo__copy"},N),e.createElement("div",{className:"card-promo__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}function Re(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.subtitle,m=void 0===s?"":s,d=t.publishDate,h=void 0===d?"":d,p=t.authorString,f=void 0===p?"":p,g=t.location,E=void 0===g?"":g,b=t.copy,w=void 0===b?"":b,C=t.isSingle,T=void 0!==C&&C,L=t.cardCopyIsRichText,M=void 0!==L&&L,S=t.buttonPrimary,P=t.buttonSecondary,V=t.link,O=t.imageOrientation,Z=void 0===O?"left":O,q=t.titleTag,B=void 0===q?"h3":q,F=t.extendedTextArea,D=void 0!==F&&F;return e.createElement("div",{className:v("card-promo-signpost",T&&"right"===Z&&"card-promo-signpost--single-right",T&&"left"===Z&&"card-promo-signpost--single-left",T&&D&&"left"===Z&&"card-promo-signpost--single-left-text-extended",T&&D&&"right"===Z&&"card-promo-signpost--single-right-text-extended",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-promo-signpost__figure"},l&&e.createElement("div",{className:"card-promo-signpost__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-promo-signpost__text-content"},i&&e.createElement("p",{className:"card-promo-signpost__tag"},i),o&&e.createElement(k,{htmlTag:B,classNames:"card-promo-signpost__title"},o),m&&e.createElement("p",{className:"card-promo-signpost__subtitle"},m),h&&e.createElement("p",{className:"card-promo-signpost__date"},h),f&&e.createElement("p",{className:"card-promo-signpost__author"},f),E&&e.createElement("div",{className:"card-promo-signpost__location-wrapper"},e.createElement(_,{icon:"location",theme:a,inverse:c,ariaHidden:!0}),e.createElement("p",{className:"card-promo-signpost__location"},E)),w&&M?e.createElement(x,{theme:a,inverse:c,text:w}):w&&w.length>0?e.createElement("p",{className:"card-promo__copy"},w):null,e.createElement("div",{className:"card-promo-signpost__link-wrapper"},S&&e.createElement(y,{theme:a,inverse:!c,url:S.url,label:S.label}),P&&e.createElement(y,{theme:a,url:P.url,inverse:!c,label:P.label,hollow:!0})),V&&e.createElement(N,{theme:a,inverse:c,url:V.url,title:V.title}))))}function je(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.title,o=t.publishDate,s=t.videoLength,m=t.copy,d=void 0===m?"":m,h=t.isSingle,p=void 0!==h&&h,f=t.href,g=t.titleTag,E=void 0===g?"h3":g;return e.createElement(e.Fragment,null,e.createElement("div",{className:v("card-promo-video",p&&"card-promo-video--single",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-promo-video__figure"},l&&e.createElement("div",{className:"card-promo-video__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"})),e.createElement("div",{className:"card-promo-video__gradient"})),e.createElement("figcaption",{className:"card-promo-video__text-content"},e.createElement("a",{className:"card-promo-video__link",href:f},e.createElement("div",{className:"card-promo-video__play-icon"},e.createElement(_,{icon:"play",theme:a,inverse:c,ariaHidden:!0})),"h2"===E&&e.createElement("h2",{className:"card-promo-video__title"},i),"h3"===E&&e.createElement("h3",{className:"card-promo-video__title"},i)),o&&e.createElement("p",{className:"card-promo-video__date"},o),s&&e.createElement("p",{className:"card-promo-video__length"},s),d&&e.createElement("p",{className:"card-promo-video__copy"},d)))))}function ze(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.icon,i=t.backgroundColor,o=void 0===i?"dark":i;return e.createElement("span",{className:v("course-icon","course-icon--".concat(o),a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement(_,{theme:a,icon:l}))}function Ue(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.jobTitle,s=t.department,m=t.href,d=t.copy,h=t.phone,p=t.email,f=t.isSingle,g=void 0!==f&&f,E=t.titleTag,_=void 0===E?"h3":E;return e.createElement("article",{className:v("card-staff",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),g?"card-staff--single":"card-staff--multiple")},e.createElement("div",{className:"card-staff__single-flex-container"},g&&e.createElement("div",{className:"card-staff__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("div",null,e.createElement("figure",{className:"card-staff__figure"},!g&&e.createElement("div",{className:"card-staff__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-staff__link",href:m},"h2"===_&&e.createElement("h2",{className:"card-staff__title"},i),"h3"===_&&e.createElement("h3",{className:"card-staff__title"},i)),o&&e.createElement("p",{className:"card-staff__job-title"},o),s&&e.createElement("p",{className:"card-staff__department"},s))),d&&e.createElement("p",{className:"card-staff__copy"},d),h&&e.createElement("div",{className:"card-staff__contact-detail"},e.createElement(ze,{theme:a,icon:"phone"}),e.createElement("span",{className:"card-staff__contact-label"},"Phone: "),e.createElement("span",{className:"card-staff__contact"},h)),p&&e.createElement("div",{className:"card-staff__contact-detail"},e.createElement(ze,{theme:a,icon:"email"}),e.createElement("span",{className:"card-staff__contact-label"},"Email: "),e.createElement("span",{className:"card-staff__contact email-wrap"},p)))))}function We(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.subtitle,o=t.href,s=t.titleTag,m=void 0===s?"h3":s;return e.createElement("div",{className:v("card-related-course",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-related-course__figure"},e.createElement("figcaption",null,e.createElement("a",{className:"card-related-course__link",href:o},"h2"===m&&e.createElement("h2",{className:"card-related-course__title"},l),"h3"===m&&e.createElement("h3",{className:"card-related-course__title"},l)),e.createElement("p",null,i),e.createElement("div",{className:"card-related-course__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}function Ge(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.imageCaption,o=t.imageCredit,s=t.aspectRatio,m=void 0===s?"5/3":s,d=t.objectFitScaleDown,h=void 0!==d&&d,p="3/2"===m?"ar-3-2":"ar-5-3";return e.createElement("div",{className:v("card-image",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),p)},e.createElement("figure",{className:"card-image__figure"},e.createElement("div",{className:v("card-image__image-wrapper",h&&"card-image__image-wrapper--scale-down")},e.createElement(H,u({},l,{loadingAttr:l.loadingAttr,fetchPriority:l.fetchPriority}))),e.createElement("figcaption",null,i&&e.createElement("p",{className:"card-image__caption"},i),o&&e.createElement("p",{className:"card-image__credit"},o))))}function Ke(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.title,o=t.href,s=t.publishDate,m=void 0===s?"":s,d=t.copy,h=void 0===d?"":d,p=t.isPrimary,f=void 0!==p&&p,g=t.titleTag,E=void 0===g?"h3":g;return e.createElement("div",{className:v("card-featured-news",f&&"card-featured-news--primary",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-featured-news__figure"},l&&e.createElement("div",{className:"card-featured-news__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-featured-news__text-content"},e.createElement("a",{className:"card-featured-news__link",href:o},"h2"===E&&e.createElement("h2",{className:"card-featured-news__title"},i),"h3"===E&&e.createElement("h3",{className:"card-featured-news__title"},i),"h4"===E&&e.createElement("h4",{className:"card-featured-news__title"},i)),m&&e.createElement("p",{className:"card-featured-news__date"},m),h&&e.createElement("p",{className:"card-featured-news__copy"},h))))}function Ye(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.author,o=t.href,s=t.copy,m=t.date,d=t.titleTag,u=void 0===d?"h3":d;return e.createElement("article",{className:v("card-research-story",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("a",{className:"card-research-story__link",href:o},e.createElement(k,{classNames:"card-research-story__title",htmlTag:u},l)),i&&e.createElement("p",{className:"card-research-story__author"},i),s&&e.createElement("p",{className:"card-research-story__copy"},s),m&&e.createElement("div",{className:"card-research-story__date-detail"},e.createElement(ze,{theme:a,icon:"calendar"}),e.createElement("span",{className:"card-research-story__date-label"},"Date: "),e.createElement("span",{className:"card-research-story__date"},m)))}function Je(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.href,o=t.copy,s=t.scholarshipDetails,m=t.titleTag,d=void 0===m?"h3":m;return e.createElement("article",{className:v("card-scholarship",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",null,e.createElement("a",{className:"card-scholarship__link",href:i},"h2"===d&&e.createElement("h2",{className:"card-scholarship__title"},l),"h3"===d&&e.createElement("h3",{className:"card-scholarship__title"},l)),o&&e.createElement("p",{className:"card-scholarship__copy"},o),s.awardType&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"award-star"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Award type: "),e.createElement("span",{className:"card-scholarship__detail"},s.awardType)),s.value&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"pound"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Value: "),e.createElement("span",{className:"card-scholarship__detail"},s.value)),s.deadline&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"calendar"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Application deadline: "),e.createElement("span",{className:"card-scholarship__detail"},s.deadline))))}function Xe(t){var n=t.iconType,a=t.inverse,r=void 0===a||a,c=t.name,l=t.value,i=t.theme,o=void 0===i?"uobmain":i;return e.createElement("div",{className:v("search-result-detail",o&&"theme-".concat(o))},e.createElement(ze,{icon:n,backgroundColor:"pale",theme:o,inverse:r}),e.createElement("span",{className:"search-result-detail__text"},c&&e.createElement("span",{className:"search-result-detail__name"},c&&"".concat(c,":"))," ",l))}function Qe(t){var n=t.theme,a=t.inverse,r=void 0===a||a,c=t.details,l=t.verticalDetails,i=void 0!==l&&l;return e.createElement("ul",{className:v("search-result-detail-list",{"search-result-detail-list--vertical":i})},c.map(function(t){return e.createElement("li",{key:t.name},e.createElement(Xe,u({},t,{theme:n,inverse:r})))}))}function et(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.jobTitle,s=t.department,m=t.href,d=t.copy,h=t.isSingle,p=void 0!==h&&h,f=t.titleTag,g=void 0===f?"h3":f,E=t.details;return e.createElement("article",{className:v("card-promo-profile",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),p?"card-promo-profile--single":"card-promo-profile--multiple")},e.createElement("div",{className:"card-promo-profile__single-flex-container"},p&&e.createElement("div",{className:"card-promo-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("div",null,e.createElement("figure",{className:"card-promo-profile__figure"},!p&&e.createElement("div",{className:"card-promo-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-promo-profile__link",href:m},"h2"===g&&e.createElement("h2",{className:"card-promo-profile__title"},i),"h3"===g&&e.createElement("h3",{className:"card-promo-profile__title"},i),"h4"===g&&e.createElement("h4",{className:"card-promo-profile__title"},i)),o&&e.createElement("p",{className:"card-promo-profile__job-title"},o),s&&e.createElement("p",{className:"card-promo-profile__department"},s))),d&&e.createElement("p",{className:"card-promo-profile__copy"},d),E&&E.length>0&&e.createElement("div",{className:"card-promo-profile__details"},e.createElement(Qe,{details:E,theme:a,inverse:c,verticalDetails:!0})))))}function tt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.totalNumber,i=t.currentNumber,o=t.onClickNext,s=t.onClickPrev,m=t.prevButtonDisabled,d=t.nextButtonDisabled,u=t.carouselId,h=t.showNumbers,p=void 0===h||h,f=String(i).padStart(2,"0"),g=String(l).padStart(2,"0");return e.createElement("div",{className:v("carousel-nav theme-".concat(a),c?"theme-".concat(a,"--inverse"):"")},e.createElement("div",{className:"carousel-nav__inner-wrapper"},p&&e.createElement("p",{className:"carousel-nav__page-counts"},e.createElement("strong",null,f)," of ",g),e.createElement("div",{className:"carousel-nav__line"}),e.createElement("div",{className:"carousel-nav__button-wrapper"},e.createElement(qe,{theme:a,icon:"arrow-left",onClick:s,title:"Go to previous item",ariaControls:u,disabled:m,inverse:c}),e.createElement(qe,{theme:a,icon:"arrow-right",onClick:o,title:"Go to next item",ariaControls:u,disabled:d,inverse:c}))))}function nt(t){var r=t.theme,i=void 0===r?"uobmain":r,o=t.inverse,s=void 0!==o&&o,m=t.type,d=t.title,h=t.cards,p=t.cardTitleTag,E=void 0===p?"h2":p,_=t.setCardInverse,b=t.exploreMore,w=t.cardCopyIsRichText,y=void 0!==w&&w,N=ye({align:"start",containScroll:"trimSnaps",inViewThreshold:.9},[Te({inView:"carousel__card--in-view"})]),C=N[0],k=N[1],x=n(!1),T=x[0],L=x[1],M=n(!1),H=M[0],S=M[1],P=n(0),V=P[0],O=P[1],Z=Le("768px"),q=!Le("1248px"),B=l(),F=c(function(){k&&(L(k.canScrollPrev()),S(k.canScrollNext()),O(k.selectedScrollSnap))},[k,S,L]),D=c(function(){F()},[F]),I=c(function(){if(k&&(!q||"news"!==m&&"video"!==m))for(var e=k.slideNodes(),t=k.slidesInView(),n=0;n<=e.length;n++){var a=e[n];if(a){k.slidesInView().includes(n);var r=t.includes(n);a.setAttribute("aria-hidden",r?"false":"true")}}},[k,q,m]);a(function(){k&&(k.reInit(),F(),k.on("select",F),k.on("resize",D),k.on("slidesInView",I))},[k,F,D,I]);var A=c(function(){k&&k.scrollPrev()},[k]),$=c(function(){k&&k.scrollNext()},[k]);var R,j=("news"===m||"video"===m||"featured-news"===m)&&!q&&h.length>1||!(!m.startsWith("promo",0)&&"featured"!==m&&"staff"!==m&&"scholarship"!==m&&"research-story"!==m&&"related"!==m&&"image"!==m||!(h.length>1)),z=V+1,U=b?h.length+1:h.length,W="carousel-".concat(d?g(d):B);return R="dark"!==_&&("light"===_||s),e.createElement("section",{className:v("carousel carousel--".concat(m),i&&"theme-".concat(i),s&&"theme-".concat(i,"--inverse"),j&&"carousel--active"),id:W,role:"region","aria-roledescription":j?"carousel":void 0,"aria-label":d||void 0},e.createElement("div",{className:"carousel__top"},d&&e.createElement("h2",{className:"carousel__title"},d)),h.length>0&&e.createElement("div",{className:"carousel__embla",ref:C},e.createElement("ul",{className:"carousel__list","aria-live":j?"polite":void 0},h.map(function(t,n){return e.createElement("li",{className:"carousel__card",key:n,"aria-roledescription":j?"slide":void 0,"aria-label":j?"Slide ".concat(n+1," of ").concat(U):void 0},function(t){var n=u(u({},t),{cardCopyIsRichText:y});switch(m){case"news":return e.createElement(Me,u({},t));case"featured":return e.createElement(Oe,u({},t));case"video":return e.createElement(Ie,u({},t));case"promo":return e.createElement($e,u({},n));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));case"promo-profile":return e.createElement(et,u({},t));case"staff":return e.createElement(Ue,u({},t));case"related":return e.createElement(We,u({},t));case"image":return e.createElement(Ge,u({},t));case"featured-news":return e.createElement(Ke,u({},t));case"research-story":return e.createElement(Ye,u({},t));case"scholarship":return e.createElement(Je,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:R,titleTag:E})))}),b&&b&&e.createElement("li",{className:"carousel__card carousel__card--explore-more","aria-roledescription":j?"slide":void 0,"aria-label":j?"Slide ".concat(U," of ").concat(U):void 0},e.createElement("p",null,f(b))))),j&&e.createElement(tt,{currentNumber:z,totalNumber:U,onClickNext:$,onClickPrev:A,prevButtonDisabled:!T,nextButtonDisabled:!H,theme:i,inverse:s,carouselId:W,showNumbers:!("featured"!==m&&"image"!==m||Z)}))}function at(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.courseTitle,s=t.href,m=t.copy,d=t.titleTag,h=void 0===d?"h3":d;return e.createElement("article",{className:v("card-profile",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"card-profile__container"},e.createElement("figure",{className:"card-profile__figure"},l&&e.createElement("div",{className:"card-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-profile__link",href:s},"h2"===h&&e.createElement("h2",{className:"card-profile__title"},i),"h3"===h&&e.createElement("h3",{className:"card-profile__title"},i)),o&&e.createElement("p",{className:"card-profile__course-title"},o),m&&e.createElement("p",{className:"card-profile__copy"}," ",m.length>120?"".concat(m.slice(0,120),"..."):m)))))}function rt(t){var n=t.theme,a=t.inverse,r=t.image,c=t.title,l=t.titleTag,i=void 0===l?"h2":l,o=t.text;return e.createElement("div",{className:v("card-image-and-text",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),!c&&"card-image-and-text__no-title")},r&&e.createElement("div",{className:"card-image-and-text__image"},e.createElement(H,u({},r))),e.createElement("div",{className:"card-image-and-text__text"},c&&e.createElement(k,{classNames:v("card-image-and-text__heading-padding","card-image-and-text__".concat(i)),htmlTag:i},c),o&&e.createElement(x,{theme:n,inverse:a,text:o})))}function ct(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.children;return e.createElement("div",{className:v("centre-wrapper",a&&"theme-".concat(a))},e.createElement("div",{className:"centre-wrapper__grid-container"},e.createElement("div",{className:"centre-wrapper__children"},r)))}function lt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.text,c=t.showIcon,l=void 0===c||c,i=t.smallLink,o=t.mainLink;return e.createElement("div",{className:v("clearing-banner",a&&"theme-".concat(a))},e.createElement("div",{className:"clearing-banner__container"},e.createElement("div",{className:"clearing-banner__top-wrapper"},l&&e.createElement("div",{className:"clearing-banner__icon"},e.createElement(ze,{theme:a,icon:"clearing-tick"})),e.createElement("div",null,e.createElement("span",null,r),i&&e.createElement("a",{className:"clearing-banner__small-link",href:i.url},i.label))),o&&e.createElement("div",{className:"clearing-banner__main-link"},e.createElement(De,{theme:a,inverse:!1,label:o.label,url:o.url,icon:o.icon,iconPosition:o.iconPosition}))))}function it(t){var n=t.pills,a=t.theme,r=void 0===a?"uobmain":a;return e.createElement("div",{className:v("course-delivery-pills",r&&r&&"theme-".concat(r))},n.map(function(t,n){return e.createElement(b,u({key:n},t,{theme:r}))}))}function ot(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.highlight,l=void 0!==c&&c,i=t.image,o=t.heading,s=t.copy,m=t.primaryCTA,d=t.secondaryCTA,h=t.link,p=t.fullWidth,f=void 0!==p&&p,g=t.htmlTag,E=void 0===g?"h2":g,_=!l&&!!r;return e.createElement("div",{className:v("cta-component",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"),l&&"theme-".concat(a,"--highlight"),f&&"cta-component--full-width",i&&"cta-component--with-image")},e.createElement("div",{className:"cta-component__container"},e.createElement("div",{className:"cta-component__inner-wrapper"},e.createElement("div",{className:"cta-component__main-content"},i&&e.createElement("div",{className:"cta-component__image-wrapper"},e.createElement(H,u({},i))),e.createElement("div",{className:"cta-component__text-wrapper"},e.createElement(k,{htmlTag:E,classNames:"cta-component__heading"},o),s&&e.createElement("p",{className:"cta-component__copy"},s))),e.createElement("div",{className:"cta-component__button-wrapper"},m&&e.createElement(y,u({},m,{inverse:_})),d&&e.createElement(y,u({},d,{hollow:!0,inverse:_}))),h&&e.createElement(N,u({},h,{inverse:!_})))))}function st(t){var n=t.theme,a=t.inverse,r=t.children,c=t.fullWidth,l=void 0!==c&&c,i=t.narrowStandard,o=void 0!==i&&i,s=t.className;return e.createElement("div",{className:v("embed-wrapper",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),l&&"embed-wrapper--full-width",o&&"embed-wrapper--narrow-standard",s&&s)},e.createElement("div",{className:"embed-wrapper__container"},e.createElement("div",{className:v(o&&"embed-wrapper__narrow-standrd-grid")},r)))}function mt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.stat,i=t.description,o=t.source,s=t.link;return e.createElement("article",{className:v("card-fact",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"card-fact__stat"},l),i&&e.createElement("p",{className:"card-fact__description"},i),o&&e.createElement("p",{className:"card-fact__source"},o),e.createElement("div",{className:"card-fact__link-wrapper"},s&&e.createElement(N,u({},s,{inverse:c}))))}function dt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.linkProps,s=t.cards,m=t.fullWidth,d=void 0!==m&&m,h=t.htmlTag,p=t.showCardColumn,f=void 0===p||p;return e.createElement("section",{className:v("fact-boxes",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),d&&"fact-boxes--full-width",f&&3===s.length&&"fact-boxes--three-facts",f&&2===s.length&&"fact-boxes--two-facts",f&&1===s.length&&"fact-boxes--one-fact")},(l||i)&&e.createElement(L,{theme:a,inverse:c,htmlTag:h,title:l,description:i,linkProps:o}),e.createElement("div",{className:"fact-boxes__container"},e.createElement("ul",{className:"fact-boxes__grid"},s.map(function(t,n){return e.createElement("li",{className:"fact-boxes__card",key:n},e.createElement(mt,u({},t,{inverse:!c})))}))))}function ut(t){var c=t.theme,l=t.cards,o=l.length>1,s=n(0),m=s[0],d=s[1],u=n("first"),h=u[0],p=u[1],f=n("0"),g=f[0],E=f[1],_=n("0"),b=_[0],w=_[1],y=n("0"),N=y[0],C=y[1],k=n("0"),x=k[0],T=k[1],L=l[m],M=r(null),H=Le("768px"),S=Le("1248px");a(function(){switch(m){case 0:p("first"),E(He.first.top),w(Se.first.bottom),C(Pe.first.top),T(Ve.first.bottom);break;case 1:p("second"),E(He.second.top),w(Se.second.bottom),C(Pe.second.top),T(Ve.second.bottom);break;case 2:p("third"),E(He.third.top),w(Se.third.bottom),C(Pe.third.top),T(Ve.third.bottom)}},[m,h]);var P=o?e.createElement(tt,{theme:c,totalNumber:l.length,currentNumber:m+1,carouselId:"featured-content",onClickPrev:function(){d(function(e){return e-1})},onClickNext:function(){d(function(e){return e+1})},prevButtonDisabled:0===m,nextButtonDisabled:m===l.length-1}):e.createElement(e.Fragment,null);return e.createElement("div",{className:v("featured-content",c&&"theme-".concat(c)),id:"featured-content"},e.createElement("div",{className:"featured-content__top"},e.createElement("div",{className:"featured-content__content"},e.createElement("div",{className:"featured-content__cards"},H&&e.createElement(nt,{theme:c,type:"featured",inverse:!0,cards:l}),!H&&e.createElement(e.Fragment,null,e.createElement(i.section,{className:"featured-content__active-card",key:m,initial:{opacity:0},animate:{opacity:1}},e.createElement(Oe,{theme:c,imagePrimary:L.imagePrimary,imageSecondary:L.imageSecondary,imageTertiary:L.imageTertiary,categoryLabel:L.categoryLabel,slideTitle:L.slideTitle,subTitle:L.subTitle,introText:L.introText,link:L.link,linkText:L.linkText,cardOrder:L.cardOrder,activeVariant:h,leftInitialPositionTablet:g,rightInitialPositionTablet:b,leftInitialPositionDesktop:N,rightInitialPositionDesktop:x,isMobile:!1,isTablet:S,ref:M}))))),!H&&o&&l.map(function(t,n){return e.createElement("div",{className:"featured-content__invisible-card featured-content__invisible-card--desktop",key:n,"aria-hidden":!0},e.createElement("section",null,e.createElement(Oe,{theme:c,categoryLabel:t.categoryLabel,slideTitle:t.slideTitle,subTitle:t.subTitle,introText:t.introText,link:t.link,linkText:t.linkText,cardOrder:t.cardOrder,activeVariant:h,imagePrimary:{src:{default:""}},imageSecondary:{src:{default:""}},imageTertiary:{src:{default:""}}})))})),e.createElement("div",{className:"featured-content__nav featured-content__nav--desktop"},P))}d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d();var ht={left:"polygon(0 0, 0 0, 0 0, 0 0, 0 0)",right:"polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%)"},pt={left:"polygon(0 0, 100% 0, 100% 40%, 55% 100%, 0 75%)",right:"polygon(33% 15%, 100% 0, 100% 100%, 0 100%)"},vt={left:"polygon(0 0, 100% 0, 100% calc(40% - 1px), 55% calc(100% - 1px), 0 calc(75% - 1px))",right:"polygon(calc(33% + 1px) calc(15% + 1px), 100% 1px, 100% 100%, 1px 100%)"},ft={left:"polygon(0 0, 0 0, 0 0, 0 0)",right:"polygon(100% 0, 100% 0, 100% 0, 100% 0)"},gt={left:"polygon(0 0, 100% 0, 65% 70%, 0 90%)",right:"polygon(0 0, 100% 0, 100% 85%, 35% 55%)"},Et={left:"polygon(0 0, calc(100% - 1px) 0, calc(65% - 1px) calc(70% - 1px), 0 calc(90% - 1px))",right:"polygon(1px 0, 100% 0, 100% calc(85% - 1px), calc(35% + 1px) calc(55% - 1px))"},_t={left:"polygon(0 0, 100% 0, 60% 80%, 0 97%)",right:"polygon(0 0, 100% 0, 100% 97%, 35% 55%)"},bt={left:"polygon(0 0, calc(100% - 1px) 0, calc(60% - 1px) calc(80% - 1px), 0 calc(97% - 1px))",right:"polygon(1px 0, 100% 0, 100% calc(97% - 1px), calc(35% + 1px) calc(55% - 1px))"},wt={left:{left:"calc(55% + 1px)",bottom:"0",transform:"rotate(-5deg)"},right:{left:"33%",top:"calc(15% + 2px)",transform:"rotate(-210deg)"}},yt={left:{left:"calc(55% + 1px)",bottom:"0px",transform:"rotate(10deg)"},right:{left:"33%",top:"calc(15% + 2px)",transform:"rotate(-168deg)"}},Nt={left:{left:"65%",top:"calc(70% - 2px)",transform:"rotate(35deg)"},right:{left:"35%",top:"55%",transform:"rotate(-160deg)"}},Ct={left:{left:"calc(65% + 1px)",top:"calc(70% - 2px)",transform:"rotate(120deg)"},right:{left:"calc(35% + 1px)",top:"calc(55% - 1px)",transform:"rotate(55deg)"}},kt={left:{left:"60%",top:"calc(80% - 1px)",transform:"rotate(20deg)"},right:{left:"35%",top:"55%",transform:"rotate(-155deg)"}},xt={left:{left:"calc(60% + 1px)",top:"80%",transform:"rotate(120deg)"},right:{left:"35%",top:"55%",transform:"rotate(80deg)"}};function Tt(t){var n,a,r=t.isMobile,c=t.isTablet,l=t.position,o=t.imageSrc,s=t.imageAlt,m={left:"",right:""},d={left:"",right:""},u={left:"",right:""};return r?(m=vt,d=pt,u=ht):c?(m=Et,d=gt,u=ft):(m=bt,d=_t,u=ft),e.createElement(e.Fragment,null,e.createElement(i.img,{className:"featured-signpost__image",src:o.default,srcSet:"".concat(null!==(n=o.small)&&void 0!==n?n:o.default," 576w, ").concat(null!==(a=o.medium)&&void 0!==a?a:o.default," 992w, ").concat(o.default," 1440w"),alt:s,animate:{clipPath:m[l]},initial:{clipPath:u[l]},loading:"lazy"}),e.createElement(i.div,{className:"featured-signpost__image-background",animate:{opacity:1,clipPath:d[l]},initial:{opacity:0,clipPath:u[l]}}))}var Lt={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function Mt(t){var n=t.isMobile,a=t.isTablet,r=t.position;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:wt[r],initial:!1},e.createElement("svg",{width:"100",height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L100 1",stroke:"black",strokeWidth:1},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:yt[r],initial:!1},e.createElement("svg",{width:"100",height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L100 1",stroke:"black",strokeWidth:1},Lt))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:Nt[r],initial:!1},e.createElement("svg",{width:"160",height:"2",viewBox:"0 0 160 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L160 1",stroke:"black"},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:Ct[r],initial:!1},e.createElement("svg",{width:"160",height:"2",viewBox:"0 0 160 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L160 1",stroke:"black"},Lt))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:kt[r],initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:xt[r],initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},Lt)))))}function Ht(t){var n=t.theme,a=t.inverse,r=t.position,c=t.category,l=t.title,i=t.description,o=t.linkUrl,s=t.linkLabel,m=t.linkIsExternal,d=void 0!==m&&m,u=t.imageAlt,h=t.imageSrc,p=Le("1248px");return e.createElement("div",{className:v("featured-signpost","featured-signpost--".concat(r),n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"))},"left"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--mobile"},e.createElement(Tt,{isMobile:!0,isTablet:!1,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!0,isTablet:!1,position:r})),"left"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--desktop"},e.createElement(Tt,{isMobile:!1,isTablet:p,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!1,isTablet:p,position:r})),e.createElement("div",{className:"featured-signpost__content-wrapper"},e.createElement("div",{className:"featured-signpost__content"},c&&e.createElement("p",{className:"featured-signpost__category"},c)," ",e.createElement("h2",{className:"featured-signpost__title"},l),i&&e.createElement("p",{className:"featured-signpost__description"},i),e.createElement("div",{className:"featured-signpost__cta"},e.createElement(N,{url:o,title:s,theme:n,inverse:a,externalLink:d})))),"right"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--mobile"},e.createElement(Tt,{isMobile:!0,isTablet:!1,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!0,isTablet:!1,position:r})),"right"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--desktop"},e.createElement(Tt,{isMobile:!1,isTablet:p,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!1,isTablet:p,position:r})))}d(),d();var St=function(t){var n,a=t.children,c=t.offset,l=r(null),m=o({target:l}).scrollYProgress,d=s(m,[0,1],[-(n=c),n]);return e.createElement(i.div,{className:"parallax",ref:l,style:{y:d}},a)};function Pt(t){var a=t.theme,c=t.title,l=t.image,i=t.youtubeId,o=t.youtubeButtonLabel,s=void 0===o?"Watch the video":o,m=t.audioYoutubeButtonLabel,d=void 0===m?"Watch the audio described video":m,u=t.audioYoutubeId,h=n(!1),p=h[0],f=h[1],g=r(i),E=Le("768px"),_=function(){f(!1),document.body.classList.remove("lock-scroll")},b=function(e){g.current=e,p?_():(f(!0),document.body.classList.add("lock-scroll"))};return e.createElement(e.Fragment,null,e.createElement("section",{className:v("featured-video",a&&"theme-".concat(a))},E?e.createElement("div",{className:"featured-video__mobile-image"},e.createElement("div",{className:"featured-video__image-wrapper",style:{backgroundImage:"url(".concat(l.src.default,")"),backgroundPosition:"50% 50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})):e.createElement(St,{offset:100},e.createElement("div",{className:"featured-video__image-wrapper",style:{backgroundImage:"url(".concat(l.src.default,")"),backgroundPosition:"50% 50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})),e.createElement("div",{className:"featured-video__container"},e.createElement("h2",{className:"featured-video__title"},c),e.createElement("div",{className:"featured-video__button-wrapper"},e.createElement(De,{theme:a,inverse:!0,label:s,icon:"play",onClick:function(){return b(i)}}),u&&e.createElement("button",{className:"featured-video__button-audio",type:"button",onClick:function(){return b(u)}},d)))),p&&e.createElement(Fe,{theme:a,closeModal:_,isOpen:p},e.createElement(Ze,{theme:a,id:g.current,autoPlay:!0})))}function Vt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.featuredArticle,l=t.otherLeadArticles;return e.createElement("section",{className:v("five-articles-grid",a&&"theme-".concat(a))},e.createElement("div",{className:"five-articles-grid__container"},r&&e.createElement("h2",{className:"five-articles-grid__heading"},r),e.createElement("div",{className:"five-articles-grid__main-container"},e.createElement("div",{className:"five-articles-grid__featured-card"},e.createElement(Ke,u({},c,{isPrimary:!0}))),e.createElement("ul",{className:"five-articles-grid__secondary-card-container"},l.map(function(t,n){return e.createElement("li",{className:"five-articles-grid__secondary-card",key:n},e.createElement(Ke,{theme:a,image:t.image,title:t.title,href:t.href,titleTag:t.titleTag,publishDate:t.publishDate}))})))))}function Ot(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title,o=t.externalLink,s=void 0!==o&&o;return e.createElement("a",{className:v("link-standard",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l,target:s?"_blank":"_self",rel:s?"noopener noreferrer":""},i)}d(),d();function Zt(e,t,n){var a="uob-uk-logo-light.svg",r=a;return"uk"===e&&"light"===t&&(r=a),"uk"===e&&"dark"===t&&(r="uob-uk-logo-dark.svg"),"dubai"===e&&"light"===t&&(r="uob-dubai-logo-light.svg"),"dubai"===e&&"dark"===t&&(r="uob-dubai-logo-dark.svg"),"".concat(n,"/").concat(r)}function qt(t){var n=t.activeCampus,a=void 0===n?"uk":n,r=t.imageMode,c=void 0===r?"light":r,l=t.ukHomepagePath,i=void 0===l?"/":l,o=t.dubaiHomepagePath,s=void 0===o?"/dubai":o,m=t.classNames,d=t.imageHeight,u=void 0===d?210:d,h=t.imageWidth,p=void 0===h?69:h,v=t.imageAltText,f=void 0===v?"":v,g=t.children,E=t.baseAssetUrl,_=void 0===E?"https://www.birmingham.ac.uk/Images/logos/uob":E,b=t.loadingAttr,w=void 0===b?"lazy":b;return e.createElement("a",{href:"uk"===a?i:s,className:m},e.createElement(H,{src:{default:Zt(a,c,_)},width:p,height:u,altText:f,loadingAttr:w}),g)}function Bt(t){var n=t.theme,a=t.locations,r=t.summaryLinks,c=t.hygieneLinks,l=t.activeCampus,i=void 0===l?"uk":l,o=t.address,s=t.telephoneAsNumber,m=t.telephoneAsDisplay,d=t.telIntroText,u=void 0===d?"":d,h=t.socialIcons;return e.createElement("footer",{id:"footer",className:"footer theme-".concat(n),"data-element":"footer"},e.createElement("div",{className:"footer__container"},e.createElement("div",{className:"footer__column-container"},e.createElement("div",{className:"footer__column-left"},e.createElement("div",{className:"footer__logo-wrapper"},e.createElement(qt,{activeCampus:i,imageMode:"dark",classNames:"footer__logo-link",imageWidth:240,imageHeight:79,imageAltText:"uk"===i?"University of Birmingham":"University of Birmingham Dubai"})),e.createElement("address",{className:"footer__address"},o.map(function(t,n){return e.createElement("p",{className:"footer__address-line",key:n},t)})),e.createElement("div",{className:"footer__telephone"},u&&e.createElement("p",null,u),"Tel:",e.createElement(Ot,{theme:n,url:"tel: ".concat(s),title:m,externalLink:!1})),e.createElement("ul",{className:"footer__social-wrapper"},h.map(function(t,a){return e.createElement("li",{key:a},e.createElement(qe,{icon:t.icon,theme:n,url:t.url,title:t.title,externalLink:!1}))}))),e.createElement("div",{className:"footer__column-middle"},e.createElement("details",{className:"footer__details",open:!r},e.createElement("summary",{className:"footer__summary-links"},"Global Footprint",e.createElement("i",{className:"footer__summary-icon"},e.createElement(_,{icon:"chevron-down",theme:n}))),e.createElement("ul",null,a.map(function(t,a){return e.createElement("li",{className:"footer__location",key:a},e.createElement("i",{className:"footer__location-icon"},e.createElement(_,{icon:"location",theme:n})),e.createElement(Ot,{theme:n,url:t.href,title:t.label,externalLink:t.externalLink}))}))),e.createElement("ul",null,r&&r.map(function(t,a){return e.createElement("li",{className:"footer__arrow-link",key:a},e.createElement(N,{theme:n,title:t.label,url:t.href,externalLink:t.externalLink}))}))),e.createElement("div",{className:"footer__map"},e.createElement(H,{src:{default:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Generator: Adobe Illustrator 27.8.0%2c SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3e%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 466 304' style='enable-background:new 0 0 466 304%3b' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:white%3bfilter:url(%23Adobe_OpacityMaskFilter)%3b%7d .st1%7bmask:url(%23mask0_4124_14261_00000137847102346873784780000003499357769935946391_)%3b%7d .st2%7bfill:%233C3C3B%3b%7d .st3%7bfill:white%3bstroke:%233C3C3B%3bstroke-width:0.5%3bstroke-miterlimit:10%3b%7d .st4%7bfill:%23C59A00%3bstroke:%233C3C3B%3bstroke-width:0.5%3bstroke-miterlimit:10%3b%7d .st5%7bfill:%23F7F7F7%3b%7d%3c/style%3e%3cdefs%3e %3cfilter id='Adobe_OpacityMaskFilter' filterUnits='userSpaceOnUse' x='0' y='24' width='466' height='279.1'%3e %3cfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'/%3e %3c/filter%3e%3c/defs%3e%3cmask maskUnits='userSpaceOnUse' x='0' y='24' width='466' height='279.1' id='mask0_4124_14261_00000137847102346873784780000003499357769935946391_'%3e %3cpath class='st0' d='M466%2c24H0v279.1h466V24z'/%3e%3c/mask%3e%3cg class='st1'%3e %3cpath class='st2' d='M109%2c74.6l-4.1%2c4.4l-1.1-2.7l-2.2%2c1.9l-5.8-1.2L94%2c74.6l-3.8%2c1.4l-0.6%2c3.1l-0.7-3.6l-7.1-2.1l2.9-1.1L84.1%2c70 h-2.6l-3.5-5.1L74.8%2c66l0.9-2.9l-2.8%2c2.5v-5.2l-2.7%2c2.2l-9.8%2c1.9l-5.3-7.4l-6.5-4.4l-2.2-0.5l0.6-1.6l-3.7-3.2l-7.4%2c1.4l-6.7%2c4.1 l-2.8-0.4l-2%2c2.1l0.2%2c5.1l2.8%2c3.6l-5.1-0.1l0.5-1.9l-7.2%2c1.9l0.5%2c4.6l6.4%2c0.9l-2.3%2c3.9l-9.3%2c3.8L9.5%2c84l2.6-0.7L10.1%2c88l7.5%2c0.5 l-5.2%2c5.2L0%2c99l1.1%2c0.7l14.4-5.9l6.4-4.1L21%2c89.1l7.8-5.7c0%2c0-4.1%2c6-4%2c5.9c0.1-0.1%2c6.3-2%2c6.3-2l0.3-2l1.9%2c0.1l5.7%2c4.8l4.8%2c16 l2.2%2c3.4l5.7%2c12.8l-0.7%2c0.7l-4.1-7.1l-1.6%2c1.2l3.1%2c5.1l-0.6%2c6.5l-3.3%2c11.2l1.9%2c11l4.2%2c3.4l2.3%2c7.1l1.1%2c3l-1.5%2c0.4l6.6%2c8.2l0.7-0.3 L55%2c162.7l-1.1-4.4l1.2-0.2l2.2%2c5.9l3.1%2c4.8l4.6%2c6.6l-1%2c3.2l6.4%2c4.4l8.6%2c2.8l4.3%2c2.3l5.3%2c0.9l3.1%2c3.4l3.9%2c4.3l4.2%2c1.5v-1.8l3.5%2c2.1 l0.8-1.7l-2.5-2l-4%2c1l-2.8-3.6l1.1-6.4l-7.5-0.8l3.3-8.8l-4.5%2c0.5l-4.5%2c4.4l-5.6-3.2v-9.7l3.8-4.8l6.4-0.2l6.5-1.2l3.8%2c0.6l2.8%2c8 l1.7-0.5l-0.9-9.5l6-5.3l3.6-2.9l4.5-9.1l5.2-1.2l-1.3-2.6l6.2-3l1.3%2c3.2l9.2-4.9l-1.3-1.9l-3.1%2c1.6l-2.2-3.4l1.3-2.1l-4-1.1 l2.6-2.1l6.9%2c0.9l7-3.8v-3.6l-6-5.7l0.8-2.2l-2.2-7.4l-4.5%2c4.5L129%2c106l1-4.1l-4.1-4.3l-6-1l-1%2c7.5l-2%2c1.9l1.3%2c5.6l-2.3%2c2.5l-3%2c0.7 l0.2%2c6.3l-2.5%2c1.3l-2.4-3l1.5-5.5l-4-1.3l-3-3.2l-4.9-1.6l0.5-3.9l-1.3-0.6l2.5-6.3l6.1-4.3l1.9-2l1.8%2c0.2l3.1-2.8l2.4-3.4l2.3%2c0.9 l4-1.3l0.4-4.7l1.6-0.8l-0.1-2.9l-3.9-0.8l-3.8%2c6.7l-1.8-1.7l1.8-3.2l-1.4-0.7l-1.6%2c2.1l-0.1-3.8l-0.3-1.4l1.9-1.4l-0.2-5.7 l1.8-2.4l1.7-0.1l4.1-3.4l-4.9-1.8L112%2c66l-3.2%2c3.9l-1.4%2c2.3l2%2c1.5L109%2c74.6z'/%3e %3cpath class='st2' d='M104.1%2c199.6l-0.8-1.1l1.2-2.5l2-0.6l1.5-2.6l5.4-1.7l-0.7%2c2.1l3-2.1l6.6%2c3.3l3.1-0.8l3.2%2c2.9l4.9%2c4.1l6%2c0.7 l4%2c5.8l-0.9%2c2.4h2.9l6.4%2c3.5l6.4%2c0.3l4.5%2c2.7l2.2%2c1.5l0.9%2c3.8l-4.7%2c5.2l-1.2%2c4.8l-1.5%2c7.1l-3.2%2c5.5l-5%2c1.2l-3.3%2c3.6l0.3%2c3.9 l-7.2%2c11l-5.2-1.3l2.5%2c4.2l-4.5%2c4.7l-2.8-0.4l0.3%2c3.7h-3.2l0.4%2c7.2l-2.6%2c2l0.4%2c2l2.5%2c1.2l-0.1%2c1.5l-2.3%2c5.3l2.2%2c4.9l4.4%2c3.1l-6%2c1.4 l-7.7-6.2l-2.8-17.4l-0.9-14.3l0.5-12.8v-16l-8.2-5.5l-6.7-11.5l-2.1-1.9v-2.4l2.6-7.6l3.5-3.5L104.1%2c199.6z'/%3e %3cpath class='st2' d='M442.8%2c295.9l4.5-4.7l4.6-2.8l3.4-4.5l0.7%2c2l1.2-0.2l-0.3%2c1.7l-3.5%2c3.9l0.9%2c0.5l-3.1%2c0.8l-2.1%2c3.2l-3.3%2c2.8 L442.8%2c295.9z'/%3e %3cpath class='st2' d='M458.2%2c281.5l1.3%2c1.7l-0.1%2c1.2l-1.4%2c2l0.9%2c0.6l3.6-3.9l0.2-1.3l1.4-0.5l2-3.1l-1-0.4l-1%2c1.2l-1.6-1.5l-0.1-1.1 l-1-0.6v-1l-0.2-1l0.5-0.9l-2.1-2.6l-0.1%2c2l0.7%2c2.3l0.5%2c2.7l-0.7%2c2l-0.7%2c1.2L458.2%2c281.5z'/%3e %3cpath class='st2' d='M79.8%2c59.8V57l-1-1.2l7.8-8.5l6.4%2c3.2l0.9%2c3.5L79.8%2c59.8z'/%3e %3cpath class='st2' d='M93.4%2c55.6l4.6%2c4.7v2.9l2.9-5.9l1.9%2c2.1l-2.1%2c7.5l2.1%2c3.8L99%2c73.1l-4.1-2.7l-8%2c1.8l-0.5-3.1L84%2c67.9l0.7-3.6 l5.9%2c1.6l-5.9-3.2l3.8-1.4l-2.6-2.2L93.4%2c55.6z'/%3e %3cpath class='st2' d='M128.4%2c62.7l-4-1.3l-7.1%2c6.2v4.2l2.9%2c2.5l4%2c1.6l4.2-0.7l4%2c7.4l-3.2%2c6.3l-5.5%2c0.8l-0.2%2c2.1h4l2.7%2c5.4l5%2c2.7 l-2.1-5.2l4.3%2c2.9l0.5-4.5l-1.8-3.3l1.2-2.3l2.7%2c4.8l4.8-3.8l-6.6-6.5l2.6-2.2l-1.5-5.5l-5.9-5.6l0.1-3.3l-1.8-2.3L128.4%2c62.7z'/%3e %3cpath class='st2' d='M162.1%2c106.8l3.6-5.9l3.4-7.5l6.2-0.7l4.3-5.4l11.4-4.5l1.3-4.2v-7.3l4-10.5l2.1-3.4l-3.2-1.8l3.9-7.5l6.3-7.3 l-4.2-2.1l-4.1%2c2.5l-4.4-3.7l5.2-2.2l-4.8-6.1h-7.6l-8.5%2c1l0.7%2c6.2l-3-5.1l-11.6%2c3.3l-7.6%2c6.1l1.7%2c1.4l-3%2c3.8l-7.6%2c1.3l1.5%2c3.8 l4.2%2c1.3l-6.6%2c1.2l2%2c4.6l6.8%2c0.3l2.8%2c5.4l-0.6%2c9.8l3.2%2c3.8l-2%2c6.6l-3.9%2c3.8v9.7l3%2c6.6L162.1%2c106.8z'/%3e %3cpath class='st2' d='M213.2%2c155.2c0.1%2c0%2c5.9-2.4%2c5.9-2.4l10.8-1l1.9%2c3.2l-1.7%2c2.2l3.4%2c2.2l9.6%2c3.7l1.5-1.5l-0.5-1.7l2.7-1.5 l4.4%2c2.3l6.4%2c1.2l2.2-1.2l1.9%2c0.5l1%2c2.4l3.6%2c9.3l2.7%2c3.3l0.6%2c4.3l3.2%2c4.6l6.1%2c6l0.8%2c2.2l4.6-0.7l5.4-1.8v4l-3.4%2c6.4l-6.9%2c6.3 l-6.9%2c9l1%2c6l1.4%2c1.5v6l0.5%2c0.9l-2.5%2c3.4l-6.8%2c4.2l1.2%2c5.6l-1.2%2c2l-3.3%2c0.9l-0.1%2c3.7l-3.7%2c4.9l-5.5%2c4.5l-4.4%2c0.6l-5.2%2c1.3l-2.9-3.4 l0.8-1.9l-2.6-5.7l-2.1-2.4v-6.3l-4-7.5l0.2-3l2.4-4.8l0.7-2.6l-1.2-2.5l0.2-1.2l-2.1-4.7l-0.6-1.6l-3.4-4.1l1-4.8l-0.4-2.5 l-2.1-0.9l-2.6%2c0.8l-2.5-3.2l-5.1%2c0.4l-3.8%2c2.2l-3.3-0.9l-5.8%2c1.3l-7.2-5.5l-2-4l-3.5-2.7l0.4-2l-0.9-1.3l1.9-5.1l-0.7-3.9 l-0.9-1.7l3.9-6.7l2.2-2.4l4.8-3.7l0.8-4.2l5.2-5.5l1.3%2c1.4L213.2%2c155.2z'/%3e %3cpath class='st2' d='M396.3%2c50.3l-1.3-2.7l-4.8-1.3l-4.4%2c3.2l-6.8-2.3l-3-1.4l-1.1%2c3.3l-0.7-3l-6.7%2c0.5l2.1%2c4.8l-6.1%2c3.3l-2.4-1.7 l1.3%2c4.9l-6.7-4.9l-3.4-4l-5.1%2c0.4l1.1%2c3.7l-5.9%2c0.5l0.8-2.1l-6.1%2c1.7h-3.6l-4.2%2c6.7l3.9-13.3l-5.6-3.8l-5.1%2c2.2l-0.5-2.5l-3.5-1.7 l-2.2%2c1.6l1.8%2c4.6l-4.4%2c3.7l-6.7%2c4.5l2.1%2c6.3l-6.6%2c1.6l5.2%2c5.1l-6-1.5l-1.6%2c2.9l-2.3-3.3l-0.7%2c5l3.6%2c7.1l6.6%2c2.2l-6.1-1.1l2%2c2.1 l-2.1%2c5.5l-1.5-0.7l1.5-5.4l-3.4-6.1l-2-3.6l-0.6-4.3l-3.9-0.1v5.7l-0.8%2c1.2l0.2%2c1.4l0.6-0.5l1.2%2c3.7l2.9%2c1.8v1.5l-9.9-3.2 l-1.3%2c0.9l1.6%2c1.9l-1.2%2c1.9l-1.1-1.7l-5.7%2c2.7v-2.2l-5.8%2c5l-0.7%2c1.8l-2.8-1.4l1.8-1.4l-3.8-1.9l1.9%2c6.7l-2.7-0.6l-2%2c3.2l0.9%2c1.8 l-3.2%2c2.2l-3.8-2l-0.9-4l-2.2-1.8l6.8%2c1.6l2.9-1.5l-0.5-2.8l-5-2.4l-8.3-2.5l0.6-1.6l-4.3-1.5l-7.8%2c3.3l-3.8%2c5.3l-5.2%2c9.5l-7.1%2c6 l0.6%2c7.9l2.3%2c1.3l2.7-0.9l1.5-2.6l3%2c6.6l-1%2c1.6l2.7%2c1.2l0.4-2l2-0.6l0.6-4.5l2.7-3.3l-2.6-2.1l0.6-3.5l2.4-3l1.5-2.2l-0.2-2 l2.7-1.5l2.2%2c1.7l-4.9%2c6.3l0.8%2c5l2.8%2c1.5l5.8-1.9l2.9%2c1.4l-3.6%2c1.6l-5%2c0.2l-2%2c2.4l3.1-0.1l0.4%2c2.3l-3.1-0.7l-1.3%2c2.7l0.3%2c2.6 l-2.2%2c1.7l-0.4-1.5l-5.7%2c2.4l-1.9-1.1l-4.4-0.1l0.6-2.2l1.3-3.4l-3.4-0.5l-0.3%2c5.5l0.9%2c1.8l-4.4%2c0.9l-1.4%2c3.1l-2.9%2c2l-1.9%2c2.1 l-2%2c1.1l-0.7-1.4l-0.8%2c0.8l0.6%2c1.3l-4.2%2c0.6l-0.2%2c1l5.2%2c3.2l-0.4%2c4.8h-8l-2.5-0.4v3l0.8%2c2.6l-1.3%2c3.3l0.9%2c2.8h2.8l1.6%2c1.6l2-1.2 l3.2%2c0.1l2.9-3.5l-0.4-2l4.5-3.4l1-2.6l3.2%2c0.7l3.1-2.2l2.1%2c1.2l1%2c2.2l2.8%2c2.3l2.8%2c0.6l1.7%2c2.2l-0.4%2c1.8l-2.4%2c0.6l-2.2-0.6l3.6%2c3.1 l0.4-1.8l0.8-1.1l1.7-1.5l-0.6-1.9l0.2-0.5l2.2%2c0.7l-3.9-2.7l-2.6-2.2l-1.1-1.7l-1.2-0.4l0.1-2.7h3.2l1%2c2.5l5.9%2c4.2l-0.4%2c2.3 l2.9%2c3.5l1.9%2c2.9l1-0.5l1.1-2.8l-2-3.1c0%2c0%2c4.1-1%2c4.2-0.9c0.1%2c0.1%2c2.9%2c6.3%2c2.9%2c6.3l2.6%2c1.3l2.3-0.8l1.8%2c1.2l3.4-1.2l1.5%2c0.7 l-0.4%2c4.7l-2.4%2c4.1l-1.9-0.2l1.3%2c3.1l2.3%2c1.9l0.9%2c0.2l3.1%2c5l2.9%2c2.7l-0.2%2c2.2l1.4%2c2.1l4.6%2c5.6l0.8%2c5.1l1.5%2c0.9l11.1-4.4l7.9-5.7 l2.4-4.9l-1.8-2.3l-3-0.8l-0.5-3.3l-3%2c3.6h-3.5l-3.2-4.7l-2.4-3.6l2.2-1.4l2.8%2c3.6l4.1%2c2l3-0.7l1.8%2c2l5.6%2c1.2l7.2-0.5l2.8%2c2.8 l3%2c1.3l-1.8%2c1.2l2.5%2c2.2l2.7-1.3l1.4%2c6.9l2.6%2c6.1l3.1%2c6.6l1.1%2c0.9l1.8-2l1.6-4l-0.1-5.9l4.6-3.1l4.7-4.8l-0.4-1.3l4.4-0.7l1.1-1.6 l2%2c1.5l0.1%2c1.9l3.9%2c4.2l-0.1%2c3.6l2%2c0.1l2-2.2l1.6%2c3.7l1.4%2c3.7l-0.4%2c5.6l0.8%2c0.9l2.4%2c3.2l0.7%2c3l5%2c3.9l-1.1-3.6l-0.3-2.6l-3.2-2.4 l-0.7%2c0.1l-1.5-3.8l-0.8%2c0.2l-0.2-2.2l1.3-2.1l-0.2-1.9l1.3-0.2v1.4l1.5%2c0.1l1.9%2c2l2.9%2c2.2l-0.1%2c2.2l2.8-2.5l3-2l0.3-3.6l-2-3.5 l-2.9-3.2l-1.4-1.8l2.1-3.6l2.4-0.8l1.3%2c0.4l0.3%2c2l-1.9%2c1.7l0.6%2c1.7l2.2-0.8l0.7-2l-1-1l0.2-1.5l4.5-2l3.8-1.3l3.9-5l1.5-4.3 l-0.7-3.6l-1.3-4.5l-3.2-3.4l2.3-4.1l1.7-1l-2.3-0.6l-1.5-0.9l-0.7%2c1.8l-3.4-3.2l1.9-1l2.1-3.2l1.7%2c0.6l-0.5%2c3.1l4.1-2.2l1.5%2c1.2 l-0.1%2c2.9h2.6l0.8%2c2.1h-0.9l0.9%2c1.8l-0.1%2c2.3l4.2-1.8l-0.6-4.4l-4.3-3.2l2.5-2.6l-0.4-3.1l2.4-2.9l2.1%2c0.8l2.3-2l1.9-6.6l1.1-5.3 l-1.9-7.8l-1.2-4.2l-3.4-2.4l-1.9%2c2l-1.8-2.2l-2.5-0.6l3.4-9.1l1.4-4.9l7.4-1.6l-0.2-1.4l4.4%2c0.4l-0.8%2c1.2l4.4-1.9l-2.1-1.5l1-6.7 l3.2-1.3l2.2%2c3.8l1.4-6.6l2.4%2c4.8l-2.4%2c10.3l-0.3%2c7.7l7.3%2c12.4l1.3-6.2l-0.5-3.6l2.4-1.5l-2.2-4.6l1.2-0.3l-1.9-3.7l-0.7-1.9 l-0.9%2c0.6l-1.4-2.2l0.3-4.3l2-1.9l0.8%2c1.9l1.7-3.3l3%2c1.4l1.4-6.9l2.8-4.3l2.8%2c0.4l-7.7-7.3l2.1-1.9l0.3-4.2l3.4-1.1l5.2%2c2.9l0.2-3 l-3-2.2l3-1.8l-0.3-1.9l-6.8-1.2v2.4l-2.4-4.2l-13-2.2l-10.9%2c0.8l3.5%2c4.3l-1.1%2c1l-4.2-2.6l-5.9%2c2.4l-0.9%2c1.6L396.3%2c50.3z'/%3e %3cpath class='st2' d='M414.7%2c228.3l-2.3%2c4.4l6.7%2c4.7l3.6-11.1l2.8%2c5.5l2%2c8l4.5%2c7l3.5%2c6.1l-4.1%2c13l-5.9%2c9.3l-5.7%2c3.1l-1.8-2.4 l-1.7%2c1.5l-4.1-2.4l-1.8-9.9l-4.1%2c3.4l-0.8-5.3l-4.8-2l-9.5%2c2.4l-1.2%2c2.2l-5.8-0.8l-3.7%2c2.6l-3.4-2.8l2.6-4.6l-1.7-8.4l1.3-6.9 l7.4-4.2l3.9-0.9l2.9-5.2l6.7-3.5l3%2c1.4l2.2-4.3l5.9-0.5L414.7%2c228.3z'/%3e %3cpath class='st2' d='M287.2%2c226.5l-2.2%2c4.2l-5.1%2c2.7l-0.5%2c2.5l0.5%2c1.8l-1.8%2c4.6l0.6%2c3.4l2.2%2c1.3l2.3-0.5l4.6-11.8l0.1-1.8l0.9-0.9 l-0.4-4.2L287.2%2c226.5z'/%3e %3cpath class='st2' d='M416.7%2c280.4l1.8%2c1.4l2.6-0.6l-1.4%2c4.4l-3%2c1.9l-1.1-3.2L416.7%2c280.4z'/%3e %3cpath class='st2' d='M354.6%2c200.4c0.2%2c0.1%2c3.9%2c1.8%2c3.9%2c1.8l3.4%2c3l4.2%2c3l1%2c2.4l3%2c2.4l-0.4%2c4.5l-3.9-1.7l-5-7.2l-4.5-5.5l-2.2-2.1 L354.6%2c200.4z'/%3e %3cpath class='st2' d='M374.9%2c206.2l-0.7%2c2.8l1.7%2c2.1l0.3%2c2l6.2%2c1v0.8l2.2-0.8l2.4-6.6l1.9-0.2l-1.9-1.5l0.1-3l2.1-0.7l-1.2-2.2 l-2.4-1.6l-2.2%2c3.3l-1.6%2c0.2l-1.7%2c2.5l-2.4%2c0.8l-0.3%2c1.7L374.9%2c206.2z'/%3e %3cpath class='st2' d='M397.5%2c206.5l-1.5%2c1l-4.2-0.5l-3%2c6.2l0.6%2c4.4l1.8-0.3l-0.2-4.3l2%2c2.9l1.4-1.5l-1-2.7l4.5-4.6L397.5%2c206.5z'/%3e %3cpath class='st2' d='M369.9%2c218.1l1-0.5l5.4%2c1.5l0.8-0.7l4.9%2c2.2v1.1l-5.7-0.8l-3.1-0.4L369.9%2c218.1z'/%3e %3cpath class='st2' d='M406.2%2c210.6l3.4-1.1l1.2%2c3.1l2%2c1.2l3-2.7l5.1%2c1.6l5.8%2c2.4l2%2c2.5l1.7%2c0.4l0.4%2c0.9l-1.7%2c0.3l1.4%2c2.1l3.5%2c3.6 h-1.6l-6-4.6l-2.4%2c1.7l-0.7%2c1.2l-4.6-2.4l-3.2%2c1l1.6-2.1l-1.2-3.2l-5.5-2l-1.5%2c0.6l-1-2.2l2.1-0.6L406.2%2c210.6z'/%3e %3cpath class='st2' d='M409.7%2c127c0.2%2c0.1%2c5.9%2c3%2c5.9%2c3v2.4l-2.1%2c2l-3.2-1l0.3%2c3l2.1%2c2.5l0.7%2c5.9l-0.1%2c3.2l-4.1%2c2.9l-1.7-1.8v3.4 l-3.6%2c1.1l-2.3%2c4.1l-1.5-1.2l0.4-2.9l-1.1-0.4l2.6-3.3l4.7-1.3l0.7-2.2l2.5-1.8l1-4.9l-1-1.5l0.4-1.7l-1.8-2.9l1.4-2.1L409.7%2c127z' /%3e %3cpath class='st2' d='M212.9%2c111.7c0%2c0-1.7%2c2.1-1.6%2c2.1h2.7l-1.4%2c3l1.9%2c1.6l0.4%2c1.6l1.3%2c0.8l0.6%2c2.8h1.6l0.4%2c1.2l-1.1%2c1.6l0.1%2c0.6 l-3.7%2c1.1l-4.8%2c1.1l3.4-2.8l-2.9-0.6l1-3.1l1.6-0.7l-0.4-2.5l-2.1%2c0.5v-2.5l-1.2-1l0.3-2.3l-2.1-0.5l1.9-0.3l2.3-1.8L212.9%2c111.7z' /%3e %3cpath class='st2' d='M209.5%2c120.7l-1.2%2c0.7v3.4l-3.6%2c1.5l-2.1-1.3l2-2.3l-1.3-1.6l1.1-0.9l1%2c0.4l0.3-1l-0.3-0.4l2.2-1l1.3%2c1 L209.5%2c120.7z'/%3e %3cpath class='st2' d='M284.9%2c53.8l0.4%2c3l-7.3%2c6.6l-1.5%2c9.5l3.1%2c4.3l-7.1-2l1-10.7l6.3-7.7L284.9%2c53.8z'/%3e %3cpath class='st2' d='M190%2c92.5c0.1%2c0.2%2c1.9%2c2.2%2c1.9%2c2.2l2.2-1.1l3.6-1.1l3%2c3.1l-2.5%2c3.5l-4.6%2c1.7l-3.8-2.3l0.2-1.5l-1.7-1l-0.2-2 L190%2c92.5z'/%3e %3cpath class='st2' d='M113.3%2c58.6h-2.6l-0.9-1.1l-1.7%2c3.9l-1.8-0.7l0.3%2c4.3l0.7%2c2.2l2.8-1.2l1.7-3.2l-1.1-0.9L113.3%2c58.6z'/%3e %3cpath class='st2' d='M164.8%2c32.2l-14.7%2c10.2h-5.6v3.7l-5.3%2c4.3l-3.4-1.2l2.9%2c3.2l-2.9%2c2l-9.3-3.7l6.7-5.6l-3.2-2.8l-1.1-8l6.9-5.5 l3%2c7.6l7-0.1l-0.3-1.3l-5.8-0.1l-1.5-7.6l7.2-1.4l1.7%2c1.8l2.2-3.8l9.4%2c1.1l3.7%2c2.4L164.8%2c32.2z'/%3e %3cpath class='st2' d='M142.2%2c124.1l-1.2%2c1.4l-3.8%2c5.9l5.6%2c0.4l0.5%2c0.7l2.2-2.1l-0.9-2.1l-3.2%2c0.3l0.4-2l1.8-2.3L142.2%2c124.1z'/%3e %3cpath class='st2' d='M101.5%2c42.9l-5.5%2c3.9l5.5%2c2.3l-4.3%2c1.5l6.9%2c0.3l2.8%2c0.5l2.1-3.5l-1.3-4.3l-3.7%2c3.8L101.5%2c42.9z'/%3e %3cpath class='st2' d='M111.5%2c47.1l0.8%2c6.5l3%2c0.3l3.4-6.6l-4.7%2c1.8L111.5%2c47.1z'/%3e %3cpath class='st2' d='M120%2c49.1l2.6%2c1.9l-2.2%2c5.5l6%2c3.2l6.9%2c0.4l1.2-3.6l-4.4-1.6l-4.5%2c0.2l-1.3-3l1.1-1.1l-1.6-1.9l-3.2-2.3 L120%2c49.1z'/%3e %3cpath class='st2' d='M390.7%2c168.1c0%2c0-1.2%2c1.6-1.4%2c2.1s-0.1%2c1.2-0.1%2c1.2l0.8%2c2.5l1.4-4.9l0.6-0.9l-0.5-0.4L390.7%2c168.1z'/%3e%3c/g%3e%3cpath class='st3' d='M324.9%2c171.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L324.9%2c171.8z'/%3e%3cpath class='st4' d='M292.1%2c166.6c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L292.1%2c166.6z'/%3e%3cpath class='st3' d='M268.9%2c207.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L268.9%2c207.8z'/%3e%3cpath class='st3' d='M246.2%2c129.5c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L246.2%2c129.5z'/%3e%3cpath class='st3' d='M223%2c194.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L223%2c194.1z'/%3e%3cpath class='st3' d='M229%2c122.4c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L229%2c122.4z'/%3e%3cpath class='st3' d='M146.3%2c242.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L146.3%2c242.1z'/%3e%3cpath class='st3' d='M97.6%2c132.2c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2c0.3-0.6%2c0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L97.6%2c132.2z'/%3e%3cpath class='st4' d='M211.5%2c120.9c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L211.5%2c120.9z'/%3e%3cpath class='st3' d='M375.9%2c168.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L375.9%2c168.8z'/%3e%3cpath class='st3' d='M378.3%2c170.7c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L378.3%2c170.7z'/%3e%3cpath class='st3' d='M361.1%2c199.3c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L361.1%2c199.3z'/%3e%3cpath class='st3' d='M415.7%2c272.5c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2c0.3-0.6%2c0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6s0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L415.7%2c272.5z'/%3e%3cpath class='st3' d='M387.8%2c167.2c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L387.8%2c167.2z'/%3e%3cpath class='st5' d='M377.9%2c204.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L377.9%2c204.1z'/%3e%3cpath class='st2' d='M389.5%2c172'/%3e%3c/svg%3e"},altText:"",width:368,height:240})))),e.createElement("div",{className:"footer__bottom-container"},e.createElement("div",{className:"footer__bottom-wrapper"},e.createElement("ul",{className:"footer__hygiene-link-wrapper"},c.map(function(t,a){return e.createElement("li",{className:"footer__hygiene-link",key:"hygiene-".concat(a)},e.createElement(Ot,{theme:n,url:t.href,title:t.label,externalLink:t.externalLink}))})),e.createElement("p",{className:"footer__copyright"},"© University of Birmingham ",(new Date).getFullYear()))))}function Ft(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title,o=t.externalLink,s=void 0!==o&&o,m=t.iconRight,d=t.iconLeft,u=t.ariaLabel,h=t.onClick;return e.createElement("a",{className:v("link-with-icon",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l,target:s?"_blank":"_self",rel:s?"noopener noreferrer":"","aria-label":u,onClick:h||void 0},d&&e.createElement("span",{className:"link-with-icon__icon link-with-icon__icon--left"},e.createElement(_,{icon:d.icon,theme:a,inverse:c,ariaHidden:!0})),e.createElement("span",{className:"link-with-icon__title"},i),m&&e.createElement("span",{className:"link-with-icon__icon link-with-icon__icon--right"},e.createElement(_,{icon:m.icon,theme:a,inverse:c,ariaHidden:!0})))}d(),d(),d();var Dt=function(e,t){var n;e.preventDefault(),null===(n=document.querySelector(t))||void 0===n||n.scrollIntoView({behavior:"smooth"})};function It(t){var n=t.iconType,a=t.title,r=t.valueLabel,c=t.value,l=t.scrollToSectionLink,i=t.theme,o=void 0===i?"uobmain":i;return e.createElement("div",{className:v("generic-detail",o&&"theme-".concat(o))},e.createElement("div",{className:"generic-detail__title-elements"},e.createElement("span",{className:"generic-detail__icon"},e.createElement(ze,{icon:n,backgroundColor:"pale",theme:o})),e.createElement("span",{className:"generic-detail__title"},a&&"".concat(a))),r&&e.createElement("div",{className:"generic-detail__value-label"},r&&"".concat(r)),e.createElement(x,{inverse:!0,theme:"uobmain",text:c}),l&&l.url&&l.title&&e.createElement("div",{className:"generic-detail__scroll-to-section-link"},e.createElement(Ft,u({},l,{inverse:!0,onClick:function(e){var t;return Dt(e,null!==(t=null==l?void 0:l.url)&&void 0!==t?t:"#")}}))))}function At(e){return"icon"in e}function $t(t){var n=t.theme,a=t.title,r=t.detailColumns,c=t.buttons;return e.createElement("section",{className:v("generic-detail-section",n&&"theme-".concat(n))},e.createElement("div",{className:"generic-detail-section__container"},a&&e.createElement("h2",{className:"generic-detail-section__title"},a),e.createElement("ul",{className:"generic-detail-section__details-container"},r.map(function(t,a){return e.createElement("ul",{key:a,className:"generic-detail-section__column"},t.map(function(t){return e.createElement("li",{className:"generic-detail-section__detail",key:t.title},e.createElement(It,u({},t,{theme:n})))}),3===r.length&&2===a&&c&&c.map(function(t,r){return e.createElement("li",{key:r,className:"generic-detail-section__detail generic-detail-section__detail--button"},At(t)?e.createElement(De,u({},t,{theme:n,hollow:a%2!=0})):e.createElement(y,u({},t,{theme:n,hollow:a%2!=0})))}))}),r.length<3&&c&&e.createElement("ul",null,c.map(function(t,a){return e.createElement("li",{key:a,className:"generic-detail-section__detail generic-detail-section__detail--button"},At(t)?e.createElement(De,u({},t,{theme:n})):e.createElement(y,u({},t,{theme:n,hollow:a%2!=0})))})))))}function Rt(t){var n=t.theme,a=t.name,r=t.defaultChecked,c=t.label,l=t.id,i=t.value,o=t.onChange;return e.createElement("div",{className:v("checkbox",n&&"theme-".concat(n))},e.createElement("input",{type:"checkbox",value:i,id:l,name:a,className:"checkbox__input",onChange:o,defaultChecked:r}),e.createElement("label",{htmlFor:l,className:"checkbox__label"},c))}function jt(t){var n=t.theme,a=t.name,r=t.value,c=t.label,l=t.id,i=t.onChange,o=t.defaultChecked;return e.createElement("div",{className:v("radio-button",n&&"theme-".concat(n))},e.createElement("input",{type:"radio",id:l,name:a,className:"radio-button__input",value:r,onChange:i,defaultChecked:o}),e.createElement("label",{htmlFor:l,className:"radio-button__label"},c))}function zt(t){var a=t.theme,r=t.heading,c=t.type,l=t.inputs,i=t.defaultIsOpen,o=void 0!==i&&i,s=t.showMoreText;l&&l.length>0&&(o=l.filter(function(e){return e.defaultChecked}).length>0||o);var m=n(o),d=m[0],h=m[1],p=n(!1),f=p[0],g=p[1],E=l&&l.length>10,b=E&&!f?l.slice(0,5):l,w=l&&l.length-5;return e.createElement("fieldset",{className:v("filter-accordion",d&&"filter-accordion--open",a&&"theme-".concat(a))},e.createElement("legend",{className:"filter-accordion__legend"},e.createElement("button",{className:"filter-accordion__button",onClick:function(){return h(function(e){return!e})},"aria-expanded":d,"aria-controls":r.replace(" ","")},r,e.createElement(_,{icon:"chevron-down",theme:a,inverse:!0,ariaHidden:!0}))),l&&e.createElement("ul",{className:"filter-accordion__list",id:r.replace(" ","")},d&&b&&"checkbox"===c&&b.map(function(t){return e.createElement("li",{className:"filter-accordion__list-item",key:t.id},e.createElement(Rt,u({},t,{theme:a})))}),d&&"radio"===c&&(null==b?void 0:b.map(function(t){return e.createElement("li",{className:"filter-accordion__list-item",key:t.id},e.createElement(jt,u({},t,{theme:a})))}))),d&&E&&e.createElement("button",{className:"filter-accordion__show-more",onClick:function(){return g(!f)}},"".concat(f?"Hide":"Show"," ").concat(w," more ").concat(s&&s)))}function Ut(t){var n=t.theme,a=t.heading,r=t.typeName,c=t.typeGroups,l=t.onClearFilters,i=t.onViewResults,o=t.defaultCheckedType,s=c.find(function(e){return e.value===o});return e.createElement("div",{className:v("general-search-filter",n&&"theme-".concat(n))},e.createElement("p",{className:"general-search-filter__heading"},a),e.createElement("ul",{className:"general-search-filter__list"},e.createElement("li",{className:"general-search-filter__item",key:"type"},e.createElement(zt,{type:"radio",heading:"Type",theme:n,defaultIsOpen:!0,inputs:c.map(function(e){return{name:r,value:e.value,label:e.label,id:e.id,defaultChecked:!!o&&o===e.value,onChange:e.onChange}})})),(null==s?void 0:s.checkboxGroups)&&s.checkboxGroups.length>0&&s.checkboxGroups.map(function(t){return e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"checkbox",heading:t.heading,theme:n,inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValues&&t.defaultValues.includes(e.value),onChange:t.onChange}})}))})),i&&e.createElement("div",{className:"general-search-filter__results-button"},e.createElement(y,{label:"View filtered results",onClick:i,theme:n})),e.createElement("div",{className:"general-search-filter__clear-button"},e.createElement(y,{label:"Clear filters",onClick:l,theme:n,hollow:!0})))}function Wt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}d(),d(),d(),d(),d();var Kt,Yt={exports:{}},Jt={exports:{}},Xt={};var Qt,en,tn,nn,an,rn,cn,ln,on,sn,mn,dn,un,hn,pn,vn={};
|
|
1
|
+
import e,{forwardRef as t,useState as n,useEffect as a,useRef as r,useCallback as c,useId as l}from"react";import{motion as i,useScroll as o,useTransform as s,AnimatePresence as m}from"framer-motion";function d(e,t){void 0===t&&(t={}),t.insertAt}d();var u=function(){return u=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},u.apply(this,arguments)};function h(e,t,n){if(n||2===arguments.length)for(var a,r=0,c=t.length;r<c;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function p(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=p(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function v(){for(var e,t,n=0,a="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=p(e))&&(a&&(a+=" "),a+=t);return a}function f(t,n){return void 0===n&&(n=void 0),e.createElement("span",{className:n,dangerouslySetInnerHTML:{__html:t}})}function g(e){return e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-")}function E(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.fullWidth,i=void 0!==l&&l,o=t.removeBottomPadding,s=void 0!==o&&o;return e.createElement("div",{className:v("rich-text",i&&"rich-text--full-width",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),s&&"rich-text--no-bottom-padding")},e.createElement("div",{className:"rich-text__container"},f(n)))}function _(t){var n=t.icon,a=t.ariaHidden,r=void 0!==a&&a,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i;switch(n){case"restaurant":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M280-80v-366q-51-14-85.5-56T160-600v-280h80v280h40v-280h80v280h40v-280h80v280q0 56-34.5 98T360-446v366h-80Zm400 0v-320H560v-280q0-83 58.5-141.5T760-880v800h-80Z"}));case"bed":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M200-200h-40l-26-80H80v-201q0-33 23.5-56t56.5-23v-120q0-33 23.5-56.5T240-760h480q33 0 56.5 23.5T800-680v120q33 0 56.5 23.5T880-480v200h-54l-26 80h-40l-26-80H226l-26 80Zm320-360h200v-120H520v120Zm-280 0h200v-120H240v120Zm-80 200h640v-120H160v120Zm640 0H160h640Z"}));case"groups":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M0-240v-63q0-43 44-70t116-27q13 0 25 .5t23 2.5q-14 21-21 44t-7 48v65H0Zm240 0v-65q0-32 17.5-58.5T307-410q32-20 76.5-30t96.5-10q53 0 97.5 10t76.5 30q32 20 49 46.5t17 58.5v65H240Zm540 0v-65q0-26-6.5-49T754-397q11-2 22.5-2.5t23.5-.5q72 0 116 26.5t44 70.5v63H780Zm-455-80h311q-10-20-55.5-35T480-370q-55 0-100.5 15T325-320ZM160-440q-33 0-56.5-23.5T80-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T160-440Zm640 0q-33 0-56.5-23.5T720-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T800-440Zm-320-40q-50 0-85-35t-35-85q0-51 35-85.5t85-34.5q51 0 85.5 34.5T600-600q0 50-34.5 85T480-480Zm0-80q17 0 28.5-11.5T520-600q0-17-11.5-28.5T480-640q-17 0-28.5 11.5T440-600q0 17 11.5 28.5T480-560Zm1 240Zm-1-280Z"}));case"camping":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M80-80v-186l350-472-70-94 64-48 56 75 56-75 64 48-70 94 350 472v186H80Zm400-591L160-240v80h120l200-280 200 280h120v-80L480-671ZM378-160h204L480-302 378-160Zm102-280 200 280-200-280-200 280 200-280Z"}));case"one":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M480-280h80v-400H400v80h80v320ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"}));case"two":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M360-280h240v-80H440v-80h80q33 0 56.5-23.5T600-520v-80q0-33-23.5-56.5T520-680H360v80h160v80h-80q-33 0-56.5 23.5T360-440v160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"}));case"one-two-three":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm100-200h46v-240h-36l-70 50 24 36 36-26v180Zm124 0h156v-40h-94l-2-2q21-20 34.5-34t21.5-22q18-18 27-36t9-38q0-29-22-48.5T458-600q-26 0-47 15t-29 39l40 16q5-13 14.5-20.5T458-558q15 0 24.5 8t9.5 20q0 11-4 20.5T470-486l-32 32-54 54v40Zm296 0q36 0 58-20t22-52q0-18-10-32t-28-22v-2q14-8 22-20.5t8-29.5q0-27-21-44.5T678-600q-25 0-46.5 14.5T604-550l40 16q4-12 13-19t21-7q13 0 21.5 7.5T708-534q0 14-10 22t-26 8h-18v40h20q20 0 31 8t11 22q0 13-11 22.5t-25 9.5q-17 0-26-7.5T638-436l-40 16q7 29 28.5 44.5T680-360ZM160-240h640v-480H160v480Zm0 0v-480 480Z"}));case"flight":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M340-80v-60l80-60v-220L80-320v-80l340-200v-220q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v220l340 200v80L540-420v220l80 60v60l-140-40-140 40Z"}));case"note-add":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"}));case"domain":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#5f6368"},e.createElement("path",{d:"M80-120v-720h400v160h400v560H80Zm80-80h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm160 480h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm160 480h320v-400H480v80h80v80h-80v80h80v80h-80v80Zm160-240v-80h80v80h-80Zm0 160v-80h80v80h-80Z"}));case"twitter":return e.createElement("svg",{className:v("icon","icon--twitter","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13.9272 10.4769L19.5112 4H18.188L13.3393 9.6238L9.46672 4H5.00012L10.8563 12.5042L5.00012 19.2962H6.32345L11.4438 13.3573L15.5335 19.2962H20.0001L13.9268 10.4769H13.9272ZM12.1147 12.5791L11.5213 11.7323L6.80026 4.99401H8.83281L12.6428 10.432L13.2361 11.2788L18.1886 18.3474H16.1561L12.1147 12.5794V12.5791Z",fill:"currentColor"}));case"facebook":return e.createElement("svg",{className:v("icon","icon--facebook","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M14.238 0H0.83197C0.611483 0.000265008 0.400138 0.0880475 0.244324 0.244049C0.0885097 0.400051 0.000976403 0.611514 0.000976563 0.832001V14.238C0.00124157 14.4585 0.0890241 14.6698 0.245026 14.8257C0.401027 14.9815 0.61249 15.069 0.832977 15.069H8.05096V9.242H6.09396V6.961H8.05096V5.28201C8.01112 4.88438 8.05876 4.48285 8.19049 4.10556C8.32223 3.72828 8.53488 3.38437 8.81357 3.09796C9.09226 2.81155 9.43023 2.58956 9.80377 2.44757C10.1773 2.30558 10.5774 2.24703 10.976 2.276C11.5622 2.27399 12.1481 2.30404 12.731 2.366V4.39999H11.531C10.586 4.39999 10.403 4.849 10.403 5.508V6.961H12.662L12.368 9.242H10.401V15.069H14.234C14.4545 15.069 14.6659 14.9815 14.8219 14.8257C14.9779 14.6698 15.0657 14.4585 15.066 14.238V0.830994C15.0657 0.610507 14.9779 0.399161 14.8219 0.243347C14.6659 0.0875331 14.4545 -1.5926e-07 14.234 0H14.238Z",fill:"currentColor"}));case"wechat":return e.createElement("svg",{className:v("icon","icon--wechat","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M15.9 8.67199C14.12 8.69222 12.4126 9.38033 11.116 10.6C10.4654 11.2077 9.96681 11.9599 9.66039 12.7957C9.35397 13.6316 9.24833 14.5278 9.35198 15.412C8.62598 15.322 7.96498 15.223 7.29998 15.167C7.06018 15.1393 6.81745 15.1802 6.59998 15.285C5.95398 15.649 5.33498 16.061 4.59998 16.519C4.73498 15.91 4.82198 15.377 4.97598 14.864C5.04653 14.7154 5.0561 14.5452 5.00264 14.3897C4.94918 14.2342 4.83695 14.1058 4.68998 14.032C3.64594 13.3843 2.84111 12.4143 2.39712 11.2687C1.95313 10.1231 1.89411 8.86411 2.22898 7.68199C2.53255 6.64379 3.09872 5.70142 3.8728 4.94591C4.64688 4.19039 5.60272 3.64727 6.64798 3.36899C8.07907 2.89295 9.62135 2.86498 11.0688 3.28884C12.5162 3.7127 13.7997 4.56818 14.748 5.74099C15.4072 6.58612 15.8073 7.60418 15.9 8.67199ZM7.35198 7.91699C7.35213 7.6954 7.26635 7.48239 7.11268 7.32274C6.959 7.1631 6.74941 7.06927 6.52798 7.06099C6.41862 7.05657 6.30946 7.07377 6.20676 7.11161C6.10405 7.14945 6.00983 7.20718 5.92947 7.2815C5.84912 7.35581 5.78422 7.44525 5.73849 7.54469C5.69276 7.64413 5.6671 7.75162 5.66298 7.86099C5.65883 7.97085 5.67676 8.08042 5.7157 8.18322C5.75465 8.28603 5.81382 8.37998 5.88971 8.45951C5.96561 8.53904 6.05669 8.60254 6.15756 8.64625C6.25843 8.68997 6.36705 8.713 6.47698 8.71399C6.69864 8.72217 6.91462 8.64287 7.07833 8.4932C7.24203 8.34353 7.34032 8.13549 7.35198 7.91399M11.811 7.05999C11.5894 7.06514 11.3784 7.15593 11.2224 7.3133C11.0663 7.47067 10.9773 7.68238 10.974 7.90399C10.9764 8.01413 11.0006 8.12269 11.0452 8.22345C11.0898 8.3242 11.1538 8.41515 11.2336 8.49108C11.3134 8.567 11.4075 8.6264 11.5104 8.66585C11.6132 8.70531 11.7229 8.72405 11.833 8.72099C11.9443 8.72308 12.055 8.70278 12.1583 8.66127C12.2617 8.61977 12.3556 8.55791 12.4346 8.47938C12.5136 8.40085 12.5759 8.30724 12.618 8.20413C12.6601 8.10101 12.681 7.99049 12.6795 7.87913C12.6781 7.76777 12.6542 7.65784 12.6094 7.55588C12.5646 7.45391 12.4998 7.36199 12.4188 7.28558C12.3377 7.20917 12.2422 7.14982 12.1378 7.11107C12.0334 7.07232 11.9222 7.05494 11.811 7.05999Z",fill:"currentColor"}),e.createElement("path",{d:"M20.0755 20.2533C19.547 19.9329 18.9742 19.692 18.3755 19.5383C17.7757 19.5923 17.1824 19.7032 16.6035 19.8693C15.7374 19.978 14.858 19.8939 14.0281 19.623C13.1983 19.3521 12.4387 18.9011 11.8035 18.3023C11.2081 17.7936 10.7441 17.1488 10.4509 16.4227C10.1578 15.6965 10.044 14.9103 10.1194 14.1308C10.1948 13.3513 10.457 12.6015 10.8839 11.945C11.3108 11.2884 11.8897 10.7445 12.5715 10.3593C13.8815 9.52946 15.4462 9.19852 16.98 9.42691C18.5137 9.65531 19.9142 10.4278 20.9255 11.6033C21.7183 12.5587 22.105 13.7869 22.0025 15.0242C21.9001 16.2614 21.3167 17.4093 20.3775 18.2213C19.8045 18.7293 19.5995 19.1473 19.9665 19.8213C20.022 19.9616 20.0606 20.1079 20.0815 20.2573M13.3755 13.7693C13.559 13.7693 13.7351 13.6964 13.8648 13.5666C13.9946 13.4368 14.0675 13.2608 14.0675 13.0773C14.0675 12.8938 13.9946 12.7177 13.8648 12.588C13.7351 12.4582 13.559 12.3853 13.3755 12.3853C13.192 12.3853 13.016 12.4582 12.8862 12.588C12.7564 12.7177 12.6835 12.8938 12.6835 13.0773C12.6835 13.2608 12.7564 13.4368 12.8862 13.5666C13.016 13.6964 13.192 13.7693 13.3755 13.7693ZM17.6905 12.3873C17.5129 12.3884 17.3426 12.4577 17.2147 12.581C17.0868 12.7042 17.0112 12.8719 17.0035 13.0493C16.9994 13.185 17.0357 13.3189 17.108 13.4339C17.1803 13.5488 17.2852 13.6396 17.4094 13.6947C17.5335 13.7497 17.6712 13.7665 17.805 13.7429C17.9387 13.7193 18.0623 13.6563 18.1601 13.5621C18.2579 13.4679 18.3254 13.3466 18.3539 13.2139C18.3825 13.0811 18.3708 12.9429 18.3204 12.8168C18.27 12.6907 18.1832 12.5825 18.071 12.506C17.9588 12.4295 17.8263 12.3881 17.6905 12.3873Z",fill:"currentColor"}));case"weibo":return e.createElement("svg",{className:v("icon","icon--weibo","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M22.496 8.1691C22.588 9.3691 22.386 10.8051 21.596 10.8751C20.304 10.9901 20.978 9.5671 20.996 8.7101C21.0026 7.60197 20.5694 6.53647 19.7914 5.74738C19.0134 4.95829 17.9541 4.51008 16.846 4.5011C16.257 4.5011 14.891 4.9011 15.101 3.6591C15.196 3.1121 15.659 3.1201 16.123 3.0591C16.8836 2.93219 17.6626 2.96724 18.4088 3.16194C19.155 3.35665 19.8517 3.70664 20.4534 4.18903C21.0551 4.67143 21.5482 5.27537 21.9005 5.96138C22.2528 6.64739 22.4564 7.40002 22.498 8.1701",fill:"currentColor"}),e.createElement("path",{d:"M16.7834 11.0557C18.2834 11.8767 20.0894 12.2857 19.7904 14.7247C19.6694 15.3953 19.4028 16.0313 19.0094 16.5877C16.4704 20.1377 8.81441 21.6377 4.03341 18.9377C2.42941 18.0277 0.77041 16.7017 1.02641 14.0617C1.24641 11.7897 2.77441 10.0287 4.27441 8.5297C5.61534 7.05689 7.34567 5.99359 9.26541 5.4627C11.4924 4.9027 12.1504 6.7627 11.5504 8.5897C12.8404 8.5027 15.5744 7.0637 16.7824 8.4697C17.3154 9.0897 17.1114 10.1987 16.7824 11.0557M15.1584 16.8287C15.751 16.1884 16.0926 15.3557 16.1204 14.4837C16.1144 11.4947 12.3494 10.3907 9.38541 10.6347C8.02862 10.6974 6.70752 11.0897 5.53641 11.7777C4.98367 12.0539 4.49482 12.4426 4.10129 12.919C3.70777 13.3953 3.41827 13.9488 3.25141 14.5437C2.64341 17.5437 5.90641 18.9537 8.30341 19.1147C11.0724 19.3007 13.8434 18.3237 15.1594 16.8297",fill:"currentColor"}),e.createElement("path",{d:"M19.5488 8.17192C19.6748 9.08792 19.4128 9.88092 18.8878 9.91592C18.0118 9.97392 18.3398 9.31592 18.2878 8.53292C18.2565 8.28684 18.1699 8.05105 18.0345 7.84322C17.8991 7.63539 17.7183 7.46093 17.5058 7.33292C16.8208 7.01292 15.7618 7.56592 15.7618 6.61092C15.7618 5.90192 16.3768 5.97592 16.7248 5.94892C17.3925 5.88079 18.0605 6.07479 18.5878 6.48995C19.1151 6.9051 19.4604 7.50893 19.5508 8.17392",fill:"currentColor"}),e.createElement("path",{d:"M12.5129 14.1832C13.7939 18.0552 7.11792 19.8562 5.89792 16.5282C5.08092 14.3032 7.04292 12.5282 9.08492 12.3192C9.78338 12.1901 10.505 12.3049 11.129 12.6442C11.753 12.9835 12.2415 13.5268 12.5129 14.1832ZM9.44592 14.8452C9.49656 14.9317 9.57455 14.999 9.66761 15.0364C9.76068 15.0738 9.86353 15.0791 9.95998 15.0516C10.0564 15.0241 10.141 14.9654 10.2004 14.8845C10.2597 14.8037 10.2905 14.7054 10.2879 14.6052C10.2219 14.1742 9.44092 14.2372 9.44592 14.8452ZM8.36292 16.8902C9.48592 16.6232 9.63592 14.5092 7.94192 14.9052C6.51892 15.2382 6.79392 17.2632 8.36292 16.8902Z",fill:"currentColor"}));case"youtube":return e.createElement("svg",{className:v("icon","icon--youtube","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M21.3791 7.05599C21.2719 6.65987 21.0627 6.29874 20.7725 6.00856C20.4823 5.71838 20.1212 5.50927 19.7251 5.40199C17.2895 5.10486 14.8366 4.97123 12.3831 5.002C9.93004 4.97278 7.47761 5.1017 5.04111 5.38799C4.64546 5.50106 4.28556 5.71394 3.99591 6.00621C3.70627 6.29849 3.49661 6.66034 3.38712 7.05699C2.87194 10.0439 2.87194 13.0971 3.38712 16.084C3.49448 16.4801 3.70367 16.8411 3.99384 17.1313C4.28401 17.4214 4.64504 17.6306 5.04111 17.738C7.47679 18.0349 9.92961 18.1685 12.3831 18.138C14.8362 18.1669 17.2887 18.0377 19.7251 17.751C20.1212 17.6436 20.4823 17.4344 20.7724 17.1443C21.0626 16.8541 21.2718 16.493 21.3791 16.097C21.6453 14.6076 21.7745 13.097 21.7651 11.584C21.7827 10.0654 21.6531 8.5486 21.3781 7.05498L21.3791 7.05599ZM10.5131 14.383V8.75697L15.3971 11.57L10.5131 14.383Z",fill:"currentColor"}));case"instagram":return e.createElement("svg",{className:v("icon","icon--instagram","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M18.5336 8.76236C18.5224 8.18847 18.4135 7.6207 18.2116 7.08337C18.0334 6.62359 17.7613 6.206 17.4126 5.85733C17.0639 5.50866 16.6464 5.23654 16.1866 5.05835C15.6492 4.85679 15.0815 4.74792 14.5076 4.73636C13.7666 4.70136 13.5316 4.69336 11.6526 4.69336C9.77359 4.69336 9.53759 4.70134 8.79959 4.73434C8.22571 4.74565 7.65792 4.85456 7.12057 5.05637C6.6608 5.23455 6.24324 5.50667 5.89456 5.85535C5.54589 6.20402 5.27377 6.62158 5.09558 7.08136C4.894 7.61877 4.78513 8.18649 4.77359 8.76035C4.73859 9.50135 4.73059 9.73636 4.73059 11.6164C4.73059 13.4964 4.73858 13.7314 4.77158 14.4694C4.7829 15.0432 4.89181 15.611 5.0936 16.1483C5.27173 16.6082 5.54384 17.0258 5.89252 17.3745C6.2412 17.7231 6.65878 17.9952 7.11859 18.1734C7.656 18.375 8.22372 18.4838 8.79758 18.4954C9.53558 18.5284 9.77157 18.5363 11.6506 18.5363C13.5296 18.5363 13.7646 18.5284 14.5036 18.4954C15.0775 18.4841 15.6453 18.3752 16.1826 18.1734C16.6426 17.9955 17.0603 17.7235 17.409 17.3748C17.7577 17.0261 18.0297 16.6083 18.2076 16.1483C18.4092 15.6109 18.5181 15.0432 18.5296 14.4694C18.5616 13.7314 18.5696 13.4964 18.5696 11.6164C18.5696 9.73636 18.5696 9.50137 18.5346 8.76337L18.5336 8.76236ZM17.2866 14.4134C17.2819 14.8519 17.2014 15.2863 17.0486 15.6974C16.933 15.9957 16.7565 16.2667 16.5302 16.493C16.304 16.7192 16.033 16.8958 15.7346 17.0114C15.3235 17.1639 14.8891 17.2445 14.4506 17.2494C13.7206 17.2814 13.5016 17.2894 11.6506 17.2894C9.79957 17.2894 9.58159 17.2814 8.85059 17.2494C8.41206 17.2447 7.97765 17.1642 7.56659 17.0114C7.26618 16.9013 6.99444 16.7249 6.77158 16.4954C6.54173 16.2706 6.36508 15.9973 6.25458 15.6954C6.10194 15.2843 6.02145 14.8499 6.0166 14.4113C5.9836 13.6813 5.97559 13.4624 5.97559 11.6114C5.97559 9.76036 5.9836 9.54237 6.0166 8.81137C6.02109 8.37283 6.10159 7.93839 6.25458 7.52737C6.3641 7.22452 6.54167 6.95081 6.77359 6.72736C6.99691 6.49836 7.26849 6.32209 7.56857 6.21136C7.97969 6.05875 8.41409 5.97823 8.8526 5.97336C9.5826 5.94136 9.80159 5.93237 11.6526 5.93237C13.5036 5.93237 13.7216 5.94036 14.4526 5.97336C14.8914 5.97789 15.3262 6.05842 15.7376 6.21136C16.038 6.32141 16.3098 6.49778 16.5326 6.72736C16.7626 6.95201 16.9392 7.22541 17.0496 7.52737C17.2022 7.93849 17.2827 8.37287 17.2876 8.81137C17.3196 9.54137 17.3276 9.76036 17.3276 11.6114C17.3276 13.4624 17.3196 13.6744 17.2876 14.4044L17.2866 14.4134Z",fill:"currentColor"}),e.createElement("path",{d:"M11.6536 8.02832C10.9439 8.02832 10.2502 8.23874 9.66019 8.633C9.07014 9.02725 8.61025 9.58763 8.33868 10.2433C8.06712 10.8989 7.99605 11.6203 8.13449 12.3163C8.27294 13.0123 8.61467 13.6516 9.11646 14.1534C9.61825 14.6552 10.2576 14.9969 10.9536 15.1354C11.6496 15.2738 12.371 15.2028 13.0266 14.9312C13.6823 14.6596 14.2426 14.1998 14.6369 13.6097C15.0311 13.0197 15.2415 12.3259 15.2415 11.6163C15.2413 10.6648 14.8632 9.75232 14.1904 9.0795C13.5175 8.40668 12.6051 8.02859 11.6536 8.02832ZM11.6536 13.9433C11.1933 13.9433 10.7434 13.8068 10.3607 13.5511C9.97808 13.2955 9.67982 12.932 9.50369 12.5068C9.32757 12.0816 9.28149 11.6137 9.37128 11.1624C9.46107 10.711 9.68268 10.2963 10.0081 9.97089C10.3336 9.64545 10.7482 9.4238 11.1996 9.33401C11.651 9.24423 12.1189 9.29034 12.5441 9.46646C12.9693 9.64259 13.3327 9.94084 13.5884 10.3235C13.8441 10.7062 13.9806 11.1561 13.9806 11.6163C13.9803 12.2334 13.735 12.8251 13.2987 13.2614C12.8624 13.6978 12.2706 13.9431 11.6536 13.9433Z",fill:"currentColor"}),e.createElement("path",{d:"M16.183 7.92294C16.183 8.08868 16.1338 8.25071 16.0417 8.38852C15.9497 8.52633 15.8188 8.63375 15.6656 8.69717C15.5125 8.7606 15.344 8.77718 15.1815 8.74484C15.0189 8.71251 14.8696 8.6327 14.7524 8.5155C14.6352 8.39831 14.5554 8.24898 14.5231 8.08643C14.4907 7.92387 14.5073 7.75539 14.5707 7.60226C14.6342 7.44914 14.7416 7.31828 14.8794 7.2262C15.0172 7.13412 15.1792 7.08496 15.345 7.08496C15.5672 7.08496 15.7803 7.17323 15.9375 7.33038C16.0946 7.48754 16.183 7.70069 16.183 7.92294Z",fill:"currentColor"}));case"linkedin":return e.createElement("svg",{className:v("icon","icon--linkedin","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M13.2846 13.2349H11.0621V9.76678C11.0621 8.93977 11.0473 7.87515 9.90614 7.87515C8.74858 7.87515 8.57146 8.77621 8.57146 9.70657V13.2347H6.34892V6.10279H8.48255V7.07744H8.51243C8.72595 6.71365 9.0345 6.41439 9.40522 6.21151C9.77593 6.00864 10.1949 5.90976 10.6176 5.92539C12.8702 5.92539 13.2855 7.40178 13.2855 9.32248L13.2846 13.2349ZM3.84117 5.1279C3.58608 5.12795 3.3367 5.05262 3.12457 4.91144C2.91245 4.77027 2.74711 4.56958 2.64945 4.33477C2.55179 4.09995 2.52619 3.84156 2.57592 3.59225C2.62564 3.34295 2.74844 3.11393 2.92878 2.93417C3.10913 2.7544 3.33892 2.63196 3.5891 2.58233C3.83928 2.5327 4.09861 2.5581 4.3343 2.65533C4.56999 2.75256 4.77145 2.91724 4.91321 3.12856C5.05497 3.33988 5.13066 3.58834 5.13071 3.84252C5.13074 4.01129 5.0974 4.17841 5.03261 4.33434C4.96782 4.49028 4.87286 4.63197 4.75311 4.75133C4.63337 4.87069 4.49119 4.96537 4.33472 5.02999C4.17825 5.0946 4.01055 5.12787 3.84117 5.1279ZM4.95244 13.2349H2.72759V6.10279H4.95244V13.2349ZM14.3926 0.501018H1.61078C1.32066 0.497756 1.0411 0.609394 0.833556 0.8114C0.626008 1.01341 0.507447 1.28925 0.503906 1.57833V14.3674C0.507326 14.6566 0.625817 14.9326 0.833358 15.1348C1.0409 15.3371 1.32052 15.4489 1.61078 15.4458H14.3926C14.6835 15.4495 14.9639 15.3379 15.1722 15.1357C15.3806 14.9335 15.4999 14.6572 15.5039 14.3674V1.5774C15.4998 1.28776 15.3804 1.0116 15.172 0.809595C14.9637 0.607594 14.6833 0.496275 14.3926 0.500095",fill:"currentColor"}));case"tiktok":return e.createElement("svg",{className:v("icon","icon--tiktok","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.11273 9.59316e-05H13.8946C14.1853 -0.00372415 14.4656 0.106671 14.674 0.308672C14.8823 0.510673 15.0017 0.786834 15.0059 1.07648V13.8664C15.0018 14.1562 14.8826 14.4326 14.6742 14.6348C14.4658 14.837 14.1854 14.9485 13.8946 14.9449H1.11273C0.822472 14.948 0.542853 14.8361 0.335312 14.6339C0.12777 14.4317 0.00927886 14.1557 0.00585938 13.8664V1.0774C0.00940004 0.78833 0.127961 0.512483 0.335509 0.310477C0.543058 0.108471 0.822616 -0.00316629 1.11273 9.59316e-05ZM7.50586 9.46997V2.46997H9.50586C9.50586 2.88496 9.80569 3.41169 10.2871 3.8313C10.7685 4.25091 11.4585 4.46997 11.5059 4.46997V6.46997C10.765 6.46997 10.122 6.14131 9.50586 5.70239V9.46997C9.50586 11.1149 8.15083 12.47 6.50586 12.47C4.86089 12.47 3.50586 11.1149 3.50586 9.46997C3.50586 7.825 4.86089 6.46997 6.50586 6.46997V8.46997C5.94083 8.46997 5.50586 8.90494 5.50586 9.46997C5.50586 10.035 5.94083 10.47 6.50586 10.47C7.07089 10.47 7.50586 10.035 7.50586 9.46997Z",fill:"#F7F7F7"}));case"rednote":return e.createElement("svg",{className:v("icon","icon--rednote","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("rect",{x:"0",y:"0",width:"256",height:"256",rx:"60",ry:"60",fill:"currentColor"}),e.createElement("path",{fill:"currentColor",d:"M 29,0.33332825 C 13.959937,3.4666748 1.5356731,15.204498 0,31 -1.586103,47.314209 0,64.597672 0,81 v 102 c 0,18.76035 -4.7369685,44.19888 7.3333335,60 C 20.372129,260.06897 44.156731,256 63,256 h 111 35 c 5.78276,0 12.33244,0.84741 18,-0.33333 15.0401,-3.13336 27.46432,-14.87115 29,-30.66667 1.58612,-16.31419 0,-33.59769 0,-50 V 73 C 256,54.239685 260.73697,28.801102 248.66667,13 235.62787,-4.0689697 211.84329,0 193,0 H 82 47 C 41.217228,0 34.667561,-0.84741211 29,0.33332825 M 120,91 l -7,19 h 12 l -10,24 9,1 c -0.98794,2.68155 -2.31718,7.73317 -4.33334,9.83334 C 118.18945,146.3721 115.92654,146 114,146 c -4.35942,0 -13.16798,1.80539 -15.5,-3 -1.069664,-2.20416 0.465553,-4.98451 1.333336,-7 1.813624,-4.21228 4.222554,-8.51549 5.166664,-13 -2.17548,0 -4.92464,0.42967 -7,-0.33333 -7.778526,-2.85974 0.874031,-15.36435 2.66666,-19.66667 1.25875,-3.020981 2.75652,-9.584732 5.5,-11.5 C 110.01874,88.810822 115.88325,90.674988 120,91 m -79,63 c 2.750713,0 6.837379,0.81721 8.5,-2 1.769028,-2.99753 0.5,-9.58963 0.5,-13 V 106 C 50,102.90659 48.438198,93.464493 51.166668,91.5 53.41069,89.884308 62.832935,90.226166 63.833332,93 65.47065,97.539825 64,105.16241 64,110 v 32 c 0,5.48389 0.949112,11.8645 -1.333332,17 -2.177158,4.89861 -12.303417,9.27243 -17.333336,5.5 C 43.120155,162.84012 41.545292,156.59013 41,154 M 193,91 v 5 c 3.72887,0 8.4108,-0.763367 12,0.333328 11.97635,3.659424 11,15.422502 11,25.666672 1.99706,0 4.04419,-0.15562 6,0.33333 11.49335,2.87334 10,14.36401 10,23.66667 0,4.95615 0.93086,10.82184 -2.33333,15 -3.59567,4.60246 -9.48195,4 -14.66667,4 -1.6116,0 -4.26318,0.51051 -5.66667,-0.5 -2.62326,-1.88875 -3.78159,-7.50485 -4.33333,-10.5 3.28711,0 9.2179,1.12517 11.83333,-1.33334 C 219.9164,149.76859 218.65411,138.43454 215,136.5 c -1.93661,-1.02527 -4.88672,-0.5 -7,-0.5 h -15 v 29 h -14 v -29 h -14 v -14 h 14 v -12 h -9 V 96 h 9 v -5 h 14 m -32,5 v 14 h -8 v 42 h 13 v 13 H 120 L 125.33334,152.5 138,152 v -42 h -8 V 96 h 31 m 57,14 c 0,-2.84204 -0.51608,-6.25871 0.33333,-9 3.34434,-10.793121 19.61577,-2.093994 11.5,6.83333 -0.92279,1.01507 -2.54419,1.51106 -3.83333,1.83334 C 223.43948,110.30679 220.61993,110 218,110 M 41,110 36.833332,147 30,159 24,143 27,110 h 14 m 46,0 3,33 -6,15 h -2 c -5.366936,-8.49765 -6.053299,-17.26251 -7,-27 -0.672195,-6.91406 -2,-14.04004 -2,-21 h 14 m 106,0 v 12 h 9 v -12 h -9 m -75,42 -5,13 H 91 L 96.333336,151.5 104,151.66666 Z"}));case"chevron-down":return e.createElement("svg",{className:v("icon","icon--chevron-down","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M36 18L24 30L12 18",stroke:"currentColor",strokeWidth:"2"}));case"location":return e.createElement("svg",{className:v("icon","icon--location","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M15.7282 27.295C14.3401 25.79 13.4332 23.9154 13.1209 21.9055C12.8087 19.8956 13.1049 17.8397 13.9727 15.9947C14.8404 14.1498 16.2411 12.5977 17.9996 11.5326C19.7581 10.4674 21.7964 9.93645 23.8596 10.0061C25.9229 10.0757 27.9195 10.7428 29.5999 11.924C31.2802 13.1051 32.5698 14.748 33.3073 16.6471C34.0448 18.5462 34.1975 20.6173 33.7463 22.6014C33.2951 24.5855 32.2601 26.3946 30.7707 27.8025L23.5014 37L15.7282 27.295Z",fill:"currentColor"}));case"arrow-right":return e.createElement("svg",{className:v("icon","icon--arrow-right","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"17",height:"24",viewBox:"0 0 17 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 12H12",stroke:"currentColor",strokeWidth:"1.5"}),e.createElement("path",{d:"M7 7L12 12L7 17",stroke:"currentColor",strokeWidth:"1.5"}));case"arrow-right-large":return e.createElement("svg",{className:v("icon","icon--arrow-right-large","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"30",height:"26",viewBox:"0 0 30 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 13H28",stroke:"currentColor",strokeWidth:"2"}),e.createElement("path",{d:"M16 1L28 13L16 25",stroke:"currentColor",strokeWidth:"2"}));case"chevron-right":return e.createElement("svg",{className:v("icon","icon--chevron-right","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"11",height:"18",viewBox:"0 0 11 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0.999999 1L9 9L1 17",stroke:"black",strokeWidth:"1.5"}));case"hamburger":return e.createElement("svg",{className:v("icon","icon--hamburger","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 2.25H0.000183105V0.75H12.0002V2.25ZM12.0002 6.25H0.000183105V4.75H12.0002V6.25ZM0.000183105 10.25H12.0002V8.75H0.000183105V10.25Z",fill:"white"}));case"cross":return e.createElement("svg",{className:v("icon","icon--cross","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.00006 6.06072L8.46973 9.53039L9.53039 8.46973L6.06072 5.00006L9.53039 1.53039L8.46973 0.469727L5.00006 3.9394L1.53039 0.469727L0.469727 1.53039L3.9394 5.00006L0.469727 8.46973L1.53039 9.53039L5.00006 6.06072Z",fill:"black"}));case"arrow-left":return e.createElement("svg",{className:v("icon","icon--arrow-left","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14 6H2",stroke:"white",strokeWidth:"1.5"}),e.createElement("path",{d:"M7 11L2 6L7 1",stroke:"white",strokeWidth:"1.5"}));case"search":return e.createElement("svg",{className:v("icon","icon--search","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 16.5C9.51472 16.5 7.5 14.4853 7.5 12C7.5 9.51472 9.51472 7.5 12 7.5C14.4853 7.5 16.5 9.51472 16.5 12C16.5 14.4853 14.4853 16.5 12 16.5ZM12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 13.3865 17.5297 14.6632 16.7399 15.6792L18.5303 17.4696L17.4697 18.5303L15.6792 16.7399C14.6632 17.5297 13.3865 18 12 18Z",fill:"currentColor"}));case"arrow-down":return e.createElement("svg",{className:v("icon","icon--arrow-down","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0001 25.5858L24.293 15.2929L25.7072 16.7071L13.7072 28.7071L13.0001 29.4142L12.293 28.7071L0.292969 16.7071L1.70718 15.2929L12.0001 25.5858V0H14.0001V25.5858Z",fill:"currentColor"}));case"play":return e.createElement("svg",{className:v("icon","icon--play","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":r},e.createElement("path",{d:"M0 0V14L11 7L0 0Z",fill:"currentColor"}));case"person":return e.createElement("svg",{className:v("icon","icon--person","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38652)"},e.createElement("path",{d:"M12 5.9C13.16 5.9 14.1 6.84 14.1 8C14.1 9.16 13.16 10.1 12 10.1C10.84 10.1 9.9 9.16 9.9 8C9.9 6.84 10.84 5.9 12 5.9ZM12 14.9C14.97 14.9 18.1 16.36 18.1 17V18.1H5.9V17C5.9 16.36 9.03 14.9 12 14.9ZM12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4ZM12 13C9.33 13 4 14.34 4 17V20H20V17C20 14.34 14.67 13 12 13Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38652"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"people":return e.createElement("svg",{className:v("icon","icon--people","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38650)"},e.createElement("path",{d:"M16.6719 13.1299C18.0419 14.0599 19.0019 15.3199 19.0019 16.9999V19.9999H23.0019V16.9999C23.0019 14.8199 19.4319 13.5299 16.6719 13.1299Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M15.0019 12C17.2119 12 19.0019 10.21 19.0019 8C19.0019 5.79 17.2119 4 15.0019 4C14.5319 4 14.0919 4.1 13.6719 4.24C14.5019 5.27 15.0019 6.58 15.0019 8C15.0019 9.42 14.5019 10.73 13.6719 11.76C14.0919 11.9 14.5319 12 15.0019 12Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M9 12C11.21 12 13 10.21 13 8C13 5.79 11.21 4 9 4C6.79 4 5 5.79 5 8C5 10.21 6.79 12 9 12ZM9 6C10.1 6 11 6.9 11 8C11 9.1 10.1 10 9 10C7.9 10 7 9.1 7 8C7 6.9 7.9 6 9 6Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M9 13C6.33 13 1 14.34 1 17V20H17V17C17 14.34 11.67 13 9 13ZM15 18H3V17.01C3.2 16.29 6.3 15 9 15C11.7 15 14.8 16.29 15 17V18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38650"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"book":return e.createElement("svg",{className:v("icon","icon--book","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14 9.9V8.2C14.55 7.96667 15.1127 7.79167 15.688 7.675C16.2627 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.196 9.18767 18.788 9.113C18.3793 9.03767 17.95 9 17.5 9C16.8667 9 16.2583 9.07933 15.675 9.238C15.0917 9.396 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1127 13.2917 15.688 13.175C16.2627 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.196 14.6877 18.788 14.613C18.3793 14.5377 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1127 10.5417 15.688 10.425C16.2627 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.196 11.9377 18.788 11.863C18.3793 11.7877 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8293 15.675 11.988C15.0917 12.146 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.046 16.0873 8.788 16.262C9.52933 16.4373 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30433 6.05833 4.713 6.175C4.121 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.16267 16.25 4.738 16.15C5.31267 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.471 16.4373 15.213 16.262C15.9543 16.0873 16.7167 16 17.5 16C18.1 16 18.6877 16.05 19.263 16.15C19.8377 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8793 6.29167 19.288 6.175C18.696 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.11267 18.0917 4.438 18.275C3.76267 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.81267 19.225 1.488 19.025C1.16267 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.046 5.74167 1.138 5.575C1.22933 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.41267 4.125 9.338 4.375C10.2627 4.625 11.15 5 12 5.5C12.85 5 13.7377 4.625 14.663 4.375C15.5877 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.771 5.40833 22.863 5.575C22.9543 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8377 18.825 22.513 19.025C22.1877 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2373 18.4583 19.562 18.275C18.8873 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",fill:"currentColor"}));case"mortar-board":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M480-120 200-272v-240L40-600l440-240 440 240v320h-80v-276l-80 44v240L480-120Zm0-332 274-148-274-148-274 148 274 148Zm0 241 200-108v-151L480-360 280-470v151l200 108Zm0-241Zm0 90Zm0 0Z"}));case"document":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m590-160 80 80H240q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h360l200 240v480q0 20-8.5 36.5T768-96L560-302q-17 11-37 16.5t-43 5.5q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 43T618-360l102 104v-356L562-800H240v640h350ZM480-360q33 0 56.5-23.5T560-440q0-33-23.5-56.5T480-520q-33 0-56.5 23.5T400-440q0 33 23.5 56.5T480-360Zm0-80Zm0 0Z"}));case"computer":return e.createElement("svg",{className:v("icon","icon--computer","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38649)"},e.createElement("path",{d:"M21 3H3C1.89 3 1 3.89 1 5V17C1 18.1 1.89 19 3 19H8V21H16V19H21C22.1 19 22.99 18.1 22.99 17L23 5C23 3.89 22.1 3 21 3ZM21 17H3V5H21V17Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38649"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"notepad":return e.createElement("svg",{className:v("icon","icon--notepad","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38647)"},e.createElement("path",{d:"M7 15H14V17H7V15ZM7 11H17V13H7V11ZM7 7H17V9H7V7ZM19 3H14.82C14.4 1.84 13.3 1 12 1C10.7 1 9.6 1.84 9.18 3H5C4.86 3 4.73 3.01 4.6 3.04C4.21 3.12 3.86 3.32 3.59 3.59C3.41 3.77 3.26 3.99 3.16 4.23C3.06 4.46 3 4.72 3 5V19C3 19.27 3.06 19.54 3.16 19.78C3.26 20.02 3.41 20.23 3.59 20.42C3.86 20.69 4.21 20.89 4.6 20.97C4.73 20.99 4.86 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM12 2.75C12.41 2.75 12.75 3.09 12.75 3.5C12.75 3.91 12.41 4.25 12 4.25C11.59 4.25 11.25 3.91 11.25 3.5C11.25 3.09 11.59 2.75 12 2.75ZM19 19H5V5H19V19Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38647"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"briefcase":return e.createElement("svg",{className:v("icon","icon--briefcase","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_5378_38651)"},e.createElement("path",{d:"M14 6V4H10V6H14ZM4 8V19H20V8H4ZM20 6C21.11 6 22 6.89 22 8V19C22 20.11 21.11 21 20 21H4C2.89 21 2 20.11 2 19L2.01 8C2.01 6.89 2.89 6 4 6H8V4C8 2.89 8.89 2 10 2H14C15.11 2 16 2.89 16 4V6H20Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_5378_38651"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"quote-marks":return e.createElement("svg",{className:v("icon","icon--quote-marks","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,viewBox:"0 0 72 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{id:"quote marks"},e.createElement("path",{id:"Vector",d:"M72 0.614232L70.1467 13.4913C66.3467 13.1581 63.3333 13.8246 61.1067 15.4776C58.88 17.0505 57.3467 19.3167 56.52 22.2894C55.7733 25.182 55.6533 28.4746 56.1467 32.1938H71.9867V64H41.4133V30.9541C41.4133 20.1432 43.9733 11.9717 49.0933 6.45292C54.2133 0.814187 61.8533 -1.11871 72 0.614232ZM30.5733 0.614232L28.72 13.4913C24.92 13.1581 21.9067 13.8246 19.68 15.4776C17.4533 17.0505 15.92 19.3167 15.0933 22.2894C14.3467 25.182 14.2267 28.4746 14.72 32.1938H30.56V64H0V30.9541C0 20.1298 2.56 11.9584 7.68 6.42626C12.7867 0.814187 20.4267 -1.11871 30.5733 0.614232Z",fill:"#C59A00"})));case"external":return e.createElement("svg",{className:v("icon","icon--external","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 10.25H14.5V17.5H0V3H7.25V4.5H1.5V16H13V10.25ZM11.75 0V1.5H14.94L10.22 6.22L11.28 7.28L16 2.56V5.75H17.5V0H11.75Z",fill:"currentColor"}));case"clearing-tick":return e.createElement("svg",{className:v("icon","icon--clearing-tick","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8151_8201)"},e.createElement("path",{d:"M12 22.5C10.6167 22.5 9.31667 22.2375 8.1 21.7125C6.88333 21.1875 5.825 20.475 4.925 19.575C4.025 18.675 3.3125 17.6167 2.7875 16.4C2.2625 15.1833 2 13.8833 2 12.5C2 11.1167 2.2625 9.81667 2.7875 8.6C3.3125 7.38333 4.025 6.325 4.925 5.425C5.825 4.525 6.88333 3.8125 8.1 3.2875C9.31667 2.7625 10.6167 2.5 12 2.5C13.0833 2.5 14.1083 2.65833 15.075 2.975C16.0417 3.29167 16.9333 3.73333 17.75 4.3L16.3 5.775C15.6667 5.375 14.9917 5.0625 14.275 4.8375C13.5583 4.6125 12.8 4.5 12 4.5C9.78333 4.5 7.89583 5.27917 6.3375 6.8375C4.77917 8.39583 4 10.2833 4 12.5C4 14.7167 4.77917 16.6042 6.3375 18.1625C7.89583 19.7208 9.78333 20.5 12 20.5C14.2167 20.5 16.1042 19.7208 17.6625 18.1625C19.2208 16.6042 20 14.7167 20 12.5C20 12.2 19.9833 11.9 19.95 11.6C19.9167 11.3 19.8667 11.0083 19.8 10.725L21.425 9.1C21.6083 9.63333 21.75 10.1833 21.85 10.75C21.95 11.3167 22 11.9 22 12.5C22 13.8833 21.7375 15.1833 21.2125 16.4C20.6875 17.6167 19.975 18.675 19.075 19.575C18.175 20.475 17.1167 21.1875 15.9 21.7125C14.6833 22.2375 13.3833 22.5 12 22.5ZM10.6 17.1L6.35 12.85L7.75 11.45L10.6 14.3L20.6 4.275L22 5.675L10.6 17.1Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8151_8201"},e.createElement("rect",{width:"24",height:"24",fill:"white",transform:"translate(0 0.5)"}))));case"phone":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8126_10321)"},e.createElement("path",{d:"M6.54 5C6.6 5.89 6.75 6.76 6.99 7.59L5.79 8.79C5.38 7.59 5.12 6.32 5.03 5H6.54ZM16.4 17.02C17.25 17.26 18.12 17.41 19 17.47V18.96C17.68 18.87 16.41 18.61 15.2 18.21L16.4 17.02ZM7.5 3H4C3.45 3 3 3.45 3 4C3 13.39 10.61 21 20 21C20.55 21 21 20.55 21 20V16.51C21 15.96 20.55 15.51 20 15.51C18.76 15.51 17.55 15.31 16.43 14.94C16.33 14.9 16.22 14.89 16.12 14.89C15.86 14.89 15.61 14.99 15.41 15.18L13.21 17.38C10.38 15.93 8.06 13.62 6.62 10.79L8.82 8.59C9.1 8.31 9.18 7.92 9.07 7.57C8.7 6.45 8.5 5.25 8.5 4C8.5 3.45 8.05 3 7.5 3Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8126_10321"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"email":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8126_10329)"},e.createElement("path",{d:"M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM20 18H4V8L12 13L20 8V18Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8126_10329"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"calendar":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18302)"},e.createElement("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V10H19V20ZM19 8H5V6H19V8ZM9 14H7V12H9V14ZM13 14H11V12H13V14ZM17 14H15V12H17V14ZM9 18H7V16H9V18ZM13 18H11V16H13V18ZM17 18H15V16H17V18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18302"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"clock":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18312)"},e.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18312"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"internet":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18320)"},e.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM18.92 8H15.97C15.65 6.75 15.19 5.55 14.59 4.44C16.43 5.07 17.96 6.35 18.92 8ZM12 4.04C12.83 5.24 13.48 6.57 13.91 8H10.09C10.52 6.57 11.17 5.24 12 4.04ZM4.26 14C4.1 13.36 4 12.69 4 12C4 11.31 4.1 10.64 4.26 10H7.64C7.56 10.66 7.5 11.32 7.5 12C7.5 12.68 7.56 13.34 7.64 14H4.26ZM5.08 16H8.03C8.35 17.25 8.81 18.45 9.41 19.56C7.57 18.93 6.04 17.66 5.08 16ZM8.03 8H5.08C6.04 6.34 7.57 5.07 9.41 4.44C8.81 5.55 8.35 6.75 8.03 8ZM12 19.96C11.17 18.76 10.52 17.43 10.09 16H13.91C13.48 17.43 12.83 18.76 12 19.96ZM14.34 14H9.66C9.57 13.34 9.5 12.68 9.5 12C9.5 11.32 9.57 10.65 9.66 10H14.34C14.43 10.65 14.5 11.32 14.5 12C14.5 12.68 14.43 13.34 14.34 14ZM14.59 19.56C15.19 18.45 15.65 17.25 15.97 16H18.92C17.96 17.65 16.43 18.93 14.59 19.56ZM16.36 14C16.44 13.34 16.5 12.68 16.5 12C16.5 11.32 16.44 10.66 16.36 10H19.74C19.9 10.64 20 11.31 20 12C20 12.69 19.9 13.36 19.74 14H16.36Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18320"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"slim-location":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_18328)"},e.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM7 9C7 6.24 9.24 4 12 4C14.76 4 17 6.24 17 9C17 11.88 14.12 16.19 12 18.88C9.92 16.21 7 11.85 7 9Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M12 11.5C13.3807 11.5 14.5 10.3807 14.5 9C14.5 7.61929 13.3807 6.5 12 6.5C10.6193 6.5 9.5 7.61929 9.5 9C9.5 10.3807 10.6193 11.5 12 11.5Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_18328"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"bathroom":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6907)"},e.createElement("path",{d:"M8 14C8 13.45 8.45 13 9 13C9.55 13 10 13.45 10 14C10 14.55 9.55 15 9 15C8.45 15 8 14.55 8 14ZM12 15C12.55 15 13 14.55 13 14C13 13.45 12.55 13 12 13C11.45 13 11 13.45 11 14C11 14.55 11.45 15 12 15ZM15 15C15.55 15 16 14.55 16 14C16 13.45 15.55 13 15 13C14.45 13 14 13.45 14 14C14 14.55 14.45 15 15 15ZM12 7.5C10.24 7.5 8.78 8.81 8.54 10.5H15.47C15.22 8.81 13.76 7.5 12 7.5ZM12 6C14.76 6 17 8.24 17 11V12H7V11C7 8.24 9.24 6 12 6ZM9 18C9.55 18 10 17.55 10 17C10 16.45 9.55 16 9 16C8.45 16 8 16.45 8 17C8 17.55 8.45 18 9 18ZM12 18C12.55 18 13 17.55 13 17C13 16.45 12.55 16 12 16C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM15 18C15.55 18 16 17.55 16 17C16 16.45 15.55 16 15 16C14.45 16 14 16.45 14 17C14 17.55 14.45 18 15 18ZM20 4H4V20H20V4ZM20 2C21.1 2 22 2.9 22 4V20C22 21.1 21.1 22 20 22H4C2.9 22 2 21.1 2 20V4C2 2.9 2.9 2 4 2H20Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6907"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"catering":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6917)"},e.createElement("path",{d:"M2 19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V16H2V19ZM4 18H20V19H4V18Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M18.6598 11.5C16.7098 11.5 16.5698 12.5 15.3298 12.5C14.1398 12.5 13.9098 11.5 11.9998 11.5C10.0498 11.5 9.90977 12.5 8.66977 12.5C7.47977 12.5 7.24977 11.5 5.33977 11.5C3.38977 11.5 3.24977 12.5 2.00977 12.5V14.5C3.90977 14.5 4.17977 13.5 5.35977 13.5C6.54977 13.5 6.77977 14.5 8.68976 14.5C10.6398 14.5 10.7798 13.5 12.0198 13.5C13.2098 13.5 13.4398 14.5 15.3498 14.5C17.2998 14.5 17.4398 13.5 18.6798 13.5C19.8698 13.5 20.0798 14.48 21.9998 14.5L21.9898 12.52C20.3798 12.19 20.3698 11.5 18.6598 11.5Z",fill:"#3C3C3B"}),e.createElement("path",{d:"M22 9C22.02 5 17.72 3 12 3C6.29 3 2 5 2 9V10H22V9ZM4.18 8C5.01 5.81 8.61 5 12 5C15.31 5 17.93 5.73 19.19 6.99C19.49 7.3 19.71 7.63 19.84 8H4.18Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6917"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"pound":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_8581_6930)"},e.createElement("path",{d:"M14 21C15.93 21 17.62 19.83 18 18L16.25 17.12C16 18.21 15.33 19 14 19H9.1C9.93 18 10.6 16.66 10.6 15C10.6 14.65 10.57 14.31 10.52 14H14V12H9.82C9 10.42 8 9.6 8 8C8 6.07 9.57 4.5 11.5 4.5C13 4.5 14.29 5.45 14.78 6.78L16.63 6C15.83 3.95 13.84 2.5 11.5 2.5C8.46 2.5 6 4.96 6 8C6 9.78 6.79 10.9 7.49 12H6V14H8.47C8.55 14.31 8.6 14.64 8.6 15C8.6 17.7 6 19 6 19V21H14Z",fill:"#3C3C3B"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_8581_6930"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"scroll":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M8 2C6.35503 2 5 3.35503 5 5V16H2V19C2 20.645 3.35503 22 5 22H14H15C16.645 22 18 20.645 18 19V8H22V5C22 3.35503 20.645 2 19 2H8ZM8 4H16.1875C16.0739 4.31489 16 4.64816 16 5V19C16 19.5602 15.5716 19.9907 15.0137 19.998V19.9863C14.4502 19.9939 14.0077 19.5631 14 19L13.9727 16.0039L13 16.0137V16H7V5C7 4.43497 7.43497 4 8 4ZM19 4C19.565 4 20 4.43497 20 5V6H18V5C18 4.43497 18.435 4 19 4ZM4 18H11.9902L12 19.0254V19.0273C12.0047 19.3699 12.0812 19.6937 12.1934 20H5C4.43497 20 4 19.565 4 19V18Z",fill:"currentColor"}));case"settings":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M15 9.25C13.75 9.25 12.7 10.1 12.37 11.25H4V12.75H12.37C12.7 13.9 13.75 14.75 15 14.75C16.25 14.75 17.3 13.9 17.63 12.75H20V11.25H17.63C17.3 10.1 16.25 9.25 15 9.25ZM15 13.25C14.31 13.25 13.75 12.69 13.75 12C13.75 11.31 14.31 10.75 15 10.75C15.69 10.75 16.25 11.31 16.25 12C16.25 12.69 15.69 13.25 15 13.25ZM11.63 5.25C11.3 4.1 10.25 3.25 9 3.25C7.75 3.25 6.7 4.1 6.37 5.25H4V6.75H6.37C6.7 7.9 7.75 8.75 9 8.75C10.25 8.75 11.3 7.9 11.63 6.75H20V5.25H11.63ZM9 7.25C8.31 7.25 7.75 6.69 7.75 6C7.75 5.31 8.31 4.75 9 4.75C9.69 4.75 10.25 5.31 10.25 6C10.25 6.69 9.69 7.25 9 7.25ZM10 15.25C8.75 15.25 7.7 16.1 7.37 17.25H4V18.75H7.37C7.7 19.9 8.75 20.75 10 20.75C11.25 20.75 12.3 19.9 12.63 18.75H20V17.25H12.63C12.3 16.1 11.25 15.25 10 15.25ZM10 19.25C9.31 19.25 8.75 18.69 8.75 18C8.75 17.31 9.31 16.75 10 16.75C10.69 16.75 11.25 17.31 11.25 18C11.25 18.69 10.69 19.25 10 19.25Z",fill:"#0D0D0D"}));case"slim-cross":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.4141 24.0001L33.7071 15.7071L32.2928 14.2929L23.9999 22.5859L15.7071 14.2931L14.2928 15.7073L22.5856 24.0001L14.2928 32.2929L15.7071 33.7071L23.9999 25.4143L32.2928 33.7073L33.7071 32.2931L25.4141 24.0001Z",fill:"#0D0D0D"}));case"rocket":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M4 13C3.17 13 2.42 13.34 1.88 13.88C0.7 15.06 0 20 0 20C0 20 4.94 19.3 6.12 18.12C6.66 17.58 7 16.83 7 16C7 14.34 5.66 13 4 13ZM4.71 16.71C4.43 16.99 2.54 17.47 2.54 17.47C2.54 17.47 3.01 15.59 3.3 15.3C3.47 15.11 3.72 15 4 15C4.55 15 5 15.45 5 16C5 16.28 4.89 16.53 4.71 16.71ZM15.42 11.65C21.78 5.28999 19.66 0.339994 19.66 0.339994C19.66 0.339994 14.71 -1.78001 8.35 4.57999L5.86 4.07999C5.21 3.94999 4.53 4.15999 4.05 4.62999L0 8.68999L5 10.83L9.17 15L11.31 20L15.36 15.95C15.83 15.48 16.04 14.8 15.91 14.14L15.42 11.65ZM5.41 8.82999L3.5 8.00999L5.47 6.03999L6.91 6.32999C6.34 7.15999 5.83 8.02999 5.41 8.82999ZM11.99 16.5L11.17 14.59C11.97 14.17 12.84 13.66 13.66 13.09L13.95 14.53L11.99 16.5ZM14 10.24C12.68 11.56 10.62 12.64 9.96 12.97L7.03 10.04C7.35 9.38999 8.43 7.32999 9.76 5.99999C14.44 1.31999 17.99 2.00999 17.99 2.00999C17.99 2.00999 18.68 5.55999 14 10.24ZM13 8.99999C14.1 8.99999 15 8.09999 15 6.99999C15 5.89999 14.1 4.99999 13 4.99999C11.9 4.99999 11 5.89999 11 6.99999C11 8.09999 11.9 8.99999 13 8.99999Z",fill:"currentColor"}));case"staggered-arrow":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"12",viewBox:"0 0 20 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.4 12L0 10.6L7.4 3.15L11.4 7.15L16.6 2H14V0H20V6H18V3.4L11.4 10L7.4 6L1.4 12Z",fill:"currentColor"}));case"segmented-pie-chart":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.82 8.99999H19.95C19.48 4.27999 15.72 0.519988 11 0.0499878V7.17999C11.85 7.48999 12.51 8.14999 12.82 8.99999ZM13 2.57999C15 3.39999 16.6 4.99999 17.42 6.99999H13.99C13.71 6.62999 13.37 6.28999 13 6.00999V2.57999ZM0 9.99999C0 15.19 3.95 19.45 9 19.95V12.82C7.84 12.4 7 11.3 7 9.99999C7 8.69999 7.84 7.59999 9 7.17999V0.0499878C3.95 0.549988 0 4.80999 0 9.99999ZM7 2.57999V6.01999C5.77 6.93999 5 8.40999 5 9.99999C5 11.59 5.77 13.06 7 13.99V17.43C4.04 16.24 2 13.35 2 9.99999C2 6.64999 4.04 3.75999 7 2.57999ZM11 12.82V19.95C15.72 19.48 19.48 15.72 19.95 11H12.82C12.51 11.85 11.85 12.51 11 12.82ZM13 13.99C13.37 13.71 13.71 13.38 13.99 13H17.42C16.6 15 15 16.6 13 17.42V13.99Z",fill:"currentColor"}));case"home":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"}));case"success":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{y:"2",width:"24",height:"24",rx:"12",fill:"#3AAA35"}),e.createElement("path",{d:"M17.3327 10L9.99935 17.3333L6.66602 14",stroke:"#F7F7F7",strokeWidth:"2",strokeLinecap:"square"}));case"award_star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,height:"24",width:"24",viewBox:"0 -960 960 960",fill:"#5f6368",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"m363-310 117-71 117 71-31-133 104-90-137-11-53-126-53 126-137 11 104 90-31 133ZM480-28 346-160H160v-186L28-480l132-134v-186h186l134-132 134 132h186v186l132 134-132 134v186H614L480-28Zm0-112 100-100h140v-140l100-100-100-100v-140H580L480-820 380-720H240v140L140-480l100 100v140h140l100 100Zm0-340Z"}));case"warning-light":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"26",height:"28",viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.7598 4.2589C14.004 2.8593 11.996 2.85931 11.2402 4.25891L1.09316 23.0497C0.373594 24.3822 1.33857 26 2.85297 26H23.147C24.6614 26 25.6264 24.3822 24.9068 23.0497L14.7598 4.2589Z",fill:"#E30513"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11V19H14V11H12ZM12 21V23H14V21H12Z",fill:"#F7F7F7"}));case"warning-dark":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"26",height:"28",viewBox:"0 0 26 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M14.7598 4.2589C14.004 2.8593 11.996 2.85931 11.2402 4.25891L1.09316 23.0497C0.373594 24.3822 1.33857 26 2.85297 26H23.147C24.6614 26 25.6264 24.3822 24.9068 23.0497L14.7598 4.2589Z",fill:"#EB505A"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11V19H14V11H12ZM12 21V23H14V21H12Z",fill:"#F7F7F7"}));case"information":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"34",height:"36",viewBox:"0 0 34 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"2",y:"2",width:"32",height:"32",rx:"4",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 11V13H19V11H17ZM17 15V25H19L19 15H17Z",fill:"#F7F7F7"}));case"star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M10 5.13L10.97 7.42L11.44 8.53L12.64 8.63L15.11 8.84L13.23 10.47L12.32 11.26L12.59 12.44L13.15 14.85L11.03 13.57L10 12.93L8.97 13.55L6.85 14.83L7.41 12.42L7.68 11.24L6.77 10.45L4.89 8.82L7.36 8.61L8.56 8.51L9.03 7.4L10 5.13ZM10 0L7.19 6.63L0 7.24L5.46 11.97L3.82 19L10 15.27L16.18 19L14.54 11.97L20 7.24L12.81 6.63L10 0Z",fill:"currentColor"}));case"menu":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,width:"12",height:"6",viewBox:"0 0 12 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.5H12V0H0V1.5ZM0 6H8V4.5H0V6Z",fill:"currentColor"}));case"co-present":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M840-120v-640H120v320H40v-320q0-33 23.5-56.5T120-840h720q33 0 56.5 23.5T920-760v560q0 33-23.5 56.5T840-120ZM360-400q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-80q33 0 56.5-23.5T440-560q0-33-23.5-56.5T360-640q-33 0-56.5 23.5T280-560q0 33 23.5 56.5T360-480ZM40-80v-112q0-34 17.5-62.5T104-298q62-31 126-46.5T360-360q66 0 130 15.5T616-298q29 15 46.5 43.5T680-192v112H40Zm80-80h480v-32q0-11-5.5-20T580-226q-54-27-109-40.5T360-280q-56 0-111 13.5T140-226q-9 5-14.5 14t-5.5 20v32Zm240-400Zm0 400Z"}));case"assignment-add":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h168q13-36 43.5-58t68.5-22q38 0 68.5 22t43.5 58h168q33 0 56.5 23.5T840-760v268q-19-9-39-15.5t-41-9.5v-243H200v560h242q3 22 9.5 42t15.5 38H200Zm0-120v40-560 243-3 280Zm80-40h163q3-21 9.5-41t14.5-39H280v80Zm0-160h244q32-30 71.5-50t84.5-27v-3H280v80Zm0-160h400v-80H280v80Zm200-190q13 0 21.5-8.5T510-820q0-13-8.5-21.5T480-850q-13 0-21.5 8.5T450-820q0 13 8.5 21.5T480-790ZM720-40q-83 0-141.5-58.5T520-240q0-83 58.5-141.5T720-440q83 0 141.5 58.5T920-240q0 83-58.5 141.5T720-40Zm-20-80h40v-100h100v-40H740v-100h-40v100H600v40h100v100Z"}));case"cast-for-education":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m590-488 160-92-160-92-160 92 160 92Zm0 122 110-64v-84l-110 64-110-64v84l110 64ZM480-480Zm320 320H600q0-20-1.5-40t-4.5-40h206v-480H160v46q-20-3-40-4.5T80-680v-40q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160Zm-720 0v-120q50 0 85 35t35 85H80Zm200 0q0-83-58.5-141.5T80-360v-80q117 0 198.5 81.5T360-160h-80Zm160 0q0-75-28.5-140.5t-77-114q-48.5-48.5-114-77T80-520v-80q91 0 171 34.5T391-471q60 60 94.5 140T520-160h-80Z"}));case"live-tv":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m380-340 280-180-280-180v360Zm-60 220v-80H160q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v80H320ZM160-280h640v-480H160v480Zm0 0v-480 480Z"}));case"supervisor-account":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M680-360q-42 0-71-29t-29-71q0-42 29-71t71-29q42 0 71 29t29 71q0 42-29 71t-71 29ZM480-160v-56q0-24 12.5-44.5T528-290q36-15 74.5-22.5T680-320q39 0 77.5 7.5T832-290q23 9 35.5 29.5T880-216v56H480Zm-80-320q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-160ZM80-160v-112q0-34 17-62.5t47-43.5q60-30 124.5-46T400-440q35 0 70 6t70 14l-34 34-34 34q-18-5-36-6.5t-36-1.5q-58 0-113.5 14T180-306q-10 5-15 14t-5 20v32h240v80H80Zm320-80Zm0-320q33 0 56.5-23.5T480-640q0-33-23.5-56.5T400-720q-33 0-56.5 23.5T320-640q0 33 23.5 56.5T400-560Z"}));case"experiment":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":r,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M200-120q-51 0-72.5-45.5T138-250l222-270v-240h-40q-17 0-28.5-11.5T280-800q0-17 11.5-28.5T320-840h320q17 0 28.5 11.5T680-800q0 17-11.5 28.5T640-760h-40v240l222 270q32 39 10.5 84.5T760-120H200Zm80-120h400L544-400H416L280-240Zm-80 40h560L520-492v-268h-80v268L200-200Zm280-280Z"}));case"footprint":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"M260-840q-45 0-72.5 50T160-680q0 63 17.5 111.5T210-496l110-22q13-32 26.5-73t13.5-89q0-60-27.5-110T260-840Zm55 520q19 0 32-14t13-39q0-17-8-35t-16-32l-96 20q0 40 17.5 70t57.5 30Zm385-320q-45 0-72.5 50T600-480q0 48 13.5 88.5T640-318l110 22q15-24 32.5-72T800-480q0-60-27.5-110T700-640Zm-55 520q40 0 57.5-30t17.5-70l-96-20q-8 14-16 32t-8 35q0 20 12.5 36.5T645-120ZM315-240q-77 0-117-57t-38-128l-18-27q-11-17-36.5-77T80-680q0-103 51-171.5T260-920q85 0 132.5 75.5T440-680q0 58-16 107t-28 79l8 13q8 14 22 44.5t14 63.5q0 57-35.5 95T315-240ZM645-40q-54 0-89.5-38T520-173q0-33 14-63.5t22-44.5l8-13q-12-30-28-79t-16-107q0-89 47.5-164.5T700-720q78 0 129 68.5T880-480q0 91-25.5 150.5T818-253l-18 28q1 71-38.5 128T645-40Z"}));case"flag":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M5 21V4H14L14.4 6H20V16H13L12.6 14H7V21H5ZM14.65 14H18V8H12.75L12.35 6H7V12H14.25L14.65 14Z",fill:"currentColor"}));case"chat":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("g",{clipPath:"url(#clip0_1829_1582)"},e.createElement("path",{d:"M4 4H20V16H5.17L4 17.17V4ZM4 2C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2H4ZM6 12H14V14H6V12ZM6 9H18V11H6V9ZM6 6H18V8H6V6Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1829_1582"},e.createElement("rect",{width:"24",height:"24",fill:"white"}))));case"payments":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",height:"24",width:"24",viewBox:"0 -960 960 960",fill:"#0D0D0D"},e.createElement("path",{d:"M560-440q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35ZM280-320q-33 0-56.5-23.5T200-400v-320q0-33 23.5-56.5T280-800h560q33 0 56.5 23.5T920-720v320q0 33-23.5 56.5T840-320H280Zm80-80h400q0-33 23.5-56.5T840-480v-160q-33 0-56.5-23.5T760-720H360q0 33-23.5 56.5T280-640v160q33 0 56.5 23.5T360-400Zm440 240H120q-33 0-56.5-23.5T40-240v-440h80v440h680v80ZM280-400v-320 320Z"}));case"award-star":return e.createElement("svg",{className:v("icon","icon-".concat(n),l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor"},e.createElement("path",{d:"m363-310 117-71 117 71-31-133 104-90-137-11-53-126-53 126-137 11 104 90-31 133ZM480-28 346-160H160v-186L28-480l132-134v-186h186l134-132 134 132h186v186l132 134-132 134v186H614L480-28Zm0-112 100-100h140v-140l100-100-100-100v-140H580L480-820 380-720H240v140L140-480l100 100v140h140l100 100Zm0-340Z"}));default:return e.createElement(e.Fragment,null)}}function b(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.iconType;return e.createElement("div",{className:v("course-delivery-pill",!c&&"course-delivery-pill--no-icon",a&&a&&"theme-".concat(a))},c&&e.createElement(_,{icon:c,theme:a,ariaHidden:!0}),r)}function w(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.title,c=t.creditCount,l=t.href,i=t.titleTag,o=void 0===i?"h3":i;return e.createElement("article",{className:v("card-module-card",a&&"theme-".concat(a))},e.createElement("figure",{className:"card-module-card__figure"},e.createElement("figcaption",null,e.createElement("a",{className:"card-module-card__link",href:l},"h2"===o&&e.createElement("h2",{className:"card-module-card__title"},r),"h3"===o&&e.createElement("h3",{className:"card-module-card__title"},r)),e.createElement("div",{className:v("card-module-card__inner-wrapper",c?"card-module-card__space-between":"card-module-card__flex-end")},c&&e.createElement(b,{theme:a,label:c}),e.createElement("div",{className:"card-module-card__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:!0,ariaHidden:!0}))))))}function y(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.label,l=t.onClick,i=t.url,o=t.externalLink,s=t.hollow,m=void 0!==s&&s,d=t.isSubmit,u=void 0!==d&&d,h=t.disabled,p=void 0!==h&&h;return l||u?e.createElement("button",{className:v("text-button",m&&"text-button--hollow",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse")),type:u?"submit":"button",onClick:l,disabled:p},c):e.createElement("a",{className:v("text-button",m&&"text-button--hollow",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse")),href:i,target:o?"_blank":"_self",rel:o?"noopener noreferrer":""},c)}"function"==typeof SuppressedError&&SuppressedError,d(),d(),d(),d(),d(),d(),d();var N=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.url,o=t.title,s=t.externalLink,m=void 0!==s&&s,d=t.onKeyDown;return o||i?e.createElement("a",{className:v("link-with-arrow",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),href:i,target:m?"_blank":"_self",rel:"noreferrer",onKeyDown:d,ref:n},e.createElement("span",{className:"link-with-arrow__title"},o,e.createElement("span",{className:"link-with-arrow__icon"},e.createElement(_,{icon:"arrow-right",theme:r,inverse:l,ariaHidden:!0})))):null});function C(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.title,c=t.text,l=t.inverse,i=t.titleTag,o=void 0===i?"h2":i,s=t.cards,m=t.openByDefault,d=void 0!==m&&m,h=t.primaryButton,p=t.secondaryButton,f=t.link;return e.createElement("details",{open:d,className:v("accordion-heading","accordion-heading-details-is-open","accordion-group__list-item",a&&"theme-".concat(a),l&&"theme-".concat(a,"--inverse"))},e.createElement("summary",{className:v("accordion-heading__heading-level")},e.createElement("div",{className:v("accordion-heading__accordion-title")},e.createElement(o,{className:"accordion-heading__heading-level"},r)),e.createElement("i",{className:v("accordion-heading__accordion-icon")},e.createElement(_,{icon:"chevron-down",theme:a,inverse:l}))),e.createElement("div",{className:v("accordion-item__wrapper")},c&&e.createElement(E,{theme:a,inverse:l,text:c}),s&&e.createElement("div",{className:"accordion-item__grid"},s.map(function(t,n){return e.createElement(w,u({key:n},t))})),((null==h?void 0:h.text)||(null==p?void 0:p.text))&&e.createElement("div",{className:"accordion-group__optional-buttons"},(null==h?void 0:h.text)&&e.createElement(y,{label:h.text,url:h.url,theme:a,inverse:!l}),(null==p?void 0:p.text)&&e.createElement(y,{hollow:!0,label:p.text,url:p.url,theme:a,inverse:!l})),(null==f?void 0:f.text)&&e.createElement("div",{className:"accordion-group__optional-link"},e.createElement(N,{theme:a,inverse:l,url:f.url,title:f.text}))))}function k(t){var n=t.htmlTag,a=t.classNames,r=t.children,c=n;return e.createElement(c,{className:a},r)}function x(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.text;return e.createElement("div",{className:v("wysiwyg",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},f(l))}function T(t){var n=t.description,a=t.inverse;return n?"string"==typeof n?e.createElement("div",{className:"heading__description"},e.createElement(x,{theme:"uobmain",text:n,inverse:a})):e.createElement("div",{className:"heading__description"},n):null}function L(t){var n=t.title,a=t.description,r=t.linkProps,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=t.fullWidth,s=void 0!==o&&o,m=t.htmlTag,d=void 0===m?"h2":m;return e.createElement("div",{className:v("heading",l&&"theme-".concat(l),i&&"theme-".concat(l,"--inverse"),s&&"heading--full-width")},e.createElement("div",{className:"heading__container"},(n||a||r)&&e.createElement("div",{className:"heading__text-container"},e.createElement("div",{className:"heading__title-container"},n&&e.createElement(k,{htmlTag:d,classNames:"heading__title heading__title--".concat(d)},n)),e.createElement(T,{description:a,inverse:i}),r&&r.url&&r.title&&e.createElement("div",{className:"heading__arrow-link-container"},e.createElement(N,{theme:l,inverse:i,title:r.title,url:r.url,externalLink:r.externalLink})))))}function M(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.heading,i=t.accordionItems,o=t.fullWidth;return e.createElement(e.Fragment,null,e.createElement("div",{className:v("accordion-group",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),o&&"accordion-group--full-width")},l&&e.createElement(L,u({},l,{theme:a,inverse:c,fullWidth:o})),e.createElement("div",{className:v("accordion-group__container",l&&"accordion-group__plus-heading")},i.map(function(t,n){return e.createElement(C,u({key:n},t,{theme:a,inverse:c,titleTag:t.titleTag}))}))))}function H(t){var n=t.src,a=t.width,r=t.height,c=t.altText,l=t.title,i=t.loadingAttr,o=void 0===i?"lazy":i,s=t.fetchPriority;return e.createElement("img",{className:"image",src:n.default,srcSet:n.small&&n.medium&&"".concat(n.small," 576w, ").concat(n.medium," 992w, ").concat(n.default," 1440w"),alt:c||"",title:l||"",loading:o,width:a||void 0,height:r||void 0,fetchPriority:null!=s?s:"auto"})}function S(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.intro,l=t.accreditations,i=t.htmlTag,o=void 0===i?"h2":i,s=t.fullWidth,m=void 0!==s&&s;return e.createElement("section",{className:v("accreditation-promotion",a&&"theme-".concat(a),m&&"accreditation-promotion--full-width")},e.createElement("div",{className:"accreditation-promotion__container"},r&&e.createElement(k,{classNames:"accreditation-promotion__heading",htmlTag:o},r),c&&e.createElement("p",{className:"accreditation-promotion__intro"},c),e.createElement("ul",null,l.map(function(t,n){return e.createElement("li",{className:v("accreditation-promotion__accreditation",n%2==0?"accreditation-promotion__accreditation--right":"accreditation-promotion__accreditation--left"),key:n},t.image&&e.createElement("div",{className:"accreditation-promotion__image-wrapper"},e.createElement(H,u({},t.image))),e.createElement(E,{theme:a,text:t.text,inverse:!0,fullWidth:!0}))}))))}N.displayName="LinkWithArrow",d(),d(),d(),d(),d(),d();var P=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.title,o=t.icon,s=t.onClick,m=t.ariaControls,d=t.isSubmit,u=void 0!==d&&d,h=t.disabled,p=void 0!==h&&h;return e.createElement("button",{className:v("icon-control",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),disabled:p,onClick:s,"aria-controls":m,type:u?"submit":"button",ref:n},e.createElement("i",{className:"icon-control__icon"},e.createElement(_,{icon:o,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},i))});function V(t){var r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=void 0!==l&&l,o=t.type,s=t.richText,m=n(!0),d=m[0],u=m[1];return a(function(){try{window.sessionStorage.getItem("alertBannerIsHidden")&&u(!window.sessionStorage.getItem("alertBannerIsHidden"))}catch(e){console.error(e)}},[]),e.createElement(e.Fragment,null,d&&e.createElement("div",{className:v("alert-banner",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},e.createElement("div",{className:"alert-banner__container"},e.createElement("div",{className:"alert-banner__left-wrapper"},e.createElement("div",{className:"alert-banner__status-icon"},"warning"===o&&e.createElement(_,{theme:c,icon:i?"warning-light":"warning-dark",inverse:i}),"success"===o&&e.createElement(_,{theme:c,icon:"success",inverse:i}),"information"===o&&e.createElement(_,{theme:c,icon:"information",inverse:i})),e.createElement(E,{theme:c,text:s.text,inverse:i})),e.createElement(P,{theme:c,icon:"cross",inverse:i,title:"Hide alert banner",onClick:function(){return function(){u(!1);var e=JSON.stringify(d);window.sessionStorage.setItem("alertBannerIsHidden",e)}()}}))))}function O(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.inverse,i=void 0===l||l,o=t.includeDivider,s=void 0===o||o,m=t.targetLabel,d=t.landmarkLabel,u=t.children,h=r(null);return a(function(){var e=h.current;if(e){var t=!1,n=e.querySelector("h1,h2,h3,h4,h5,h6"),a=function(e){return!!e&&(e.hasAttribute("tabindex")||(e.setAttribute("tabindex","-1"),t=!0),n=e,!0)};if(!a(n)){var r=new MutationObserver(function(){var t=e.querySelector("h1,h2,h3,h4,h5,h6");a(t)&&r.disconnect()});return r.observe(e,{childList:!0,subtree:!0}),function(){return r.disconnect()}}return function(){t&&n&&n.removeAttribute("tabindex")}}},[m]),e.createElement("div",{id:m,ref:h,role:d?"region":void 0,"aria-label":d||void 0,className:v("anchor-target",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},s&&e.createElement("hr",{className:"anchor-target__divider",role:"none"}),u)}function Z(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title;return e.createElement("a",{className:v("breadcrumb-link",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l},i)}function q(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.links;return e.createElement("nav",{className:v("breadcrumbs",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("ol",{className:"breadcrumbs__list"},l.slice(0,-1).map(function(t){return e.createElement("li",{className:"breadcrumbs__link",key:t.title},e.createElement(_,{icon:"chevron-right",theme:a,ariaHidden:!0}),e.createElement(Z,u({theme:a,inverse:c},t)))})))}function F(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function B(e,t){const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{const a=e[n],r=t[n];return"function"==typeof a?`${a}`==`${r}`:F(a)&&F(r)?B(a,r):a===r})}function D(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function I(e){return"number"==typeof e}function A(e){return"string"==typeof e}function $(e){return"boolean"==typeof e}function R(e){return"[object Object]"===Object.prototype.toString.call(e)}function j(e){return Math.abs(e)}function z(e){return Math.sign(e)}function U(e,t){return j(e-t)}function W(e){return X(e).map(Number)}function G(e){return e[K(e)]}function K(e){return Math.max(0,e.length-1)}function Y(e,t){return t===K(e)}function J(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function X(e){return Object.keys(e)}function Q(e,t){return[e,t].reduce((e,t)=>(X(t).forEach(n=>{const a=e[n],r=t[n],c=R(a)&&R(r);e[n]=c?Q(a,r):r}),e),{})}function ee(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function te(){let e=[];const t={add:function(n,a,r,c={passive:!0}){let l;if("addEventListener"in n)n.addEventListener(a,r,c),l=()=>n.removeEventListener(a,r,c);else{const e=n;e.addListener(r),l=()=>e.removeListener(r)}return e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function ne(e,t,n,a){const r=te(),c=1e3/60;let l=null,i=0,o=0;function s(e){if(!o)return;l||(l=e,n(),n());const r=e-l;for(l=e,i+=r;i>=c;)n(),i-=c;a(i/c),o&&(o=t.requestAnimationFrame(s))}function m(){t.cancelAnimationFrame(o),l=null,i=0,o=0}return{init:function(){r.add(e,"visibilitychange",()=>{e.hidden&&(l=null,i=0)})},destroy:function(){m(),r.clear()},start:function(){o||(o=t.requestAnimationFrame(s))},stop:m,update:n,render:a}}function ae(e=0,t=0){const n=j(e-t);function a(t){return t<e}function r(e){return e>t}function c(e){return a(e)||r(e)}return{length:n,max:t,min:e,constrain:function(n){return c(n)?a(n)?e:t:n},reachedAny:c,reachedMax:r,reachedMin:a,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function re(e,t,n){const{constrain:a}=ae(0,e),r=e+1;let c=l(t);function l(e){return n?j((r+e)%r):a(e)}function i(){return c}function o(){return re(e,i(),n)}const s={get:i,set:function(e){return c=l(e),s},add:function(e){return o().set(i()+e)},clone:o};return s}function ce(e,t,n,a,r,c,l,i,o,s,m,d,u,h,p,v,f,g,E){const{cross:_,direction:b}=e,w=["INPUT","SELECT","TEXTAREA"],y={passive:!1},N=te(),C=te(),k=ae(50,225).constrain(h.measure(20)),x={mouse:300,touch:400},T={mouse:500,touch:600},L=p?43:25;let M=!1,H=0,S=0,P=!1,V=!1,O=!1,Z=!1;function q(e){if(!ee(e,a)&&e.touches.length>=2)return F(e);const t=c.readPoint(e),n=c.readPoint(e,_),l=U(t,H),o=U(n,S);if(!V&&!Z){if(!e.cancelable)return F(e);if(V=l>o,!V)return F(e)}const m=c.pointerMove(e);l>v&&(O=!0),s.useFriction(.3).useDuration(.75),i.start(),r.add(b(m)),e.preventDefault()}function F(e){const t=m.byDistance(0,!1).index!==d.get(),n=c.pointerUp(e)*(p?T:x)[Z?"mouse":"touch"],a=function(e,t){const n=d.add(-1*z(e)),a=m.byDistance(e,!p).distance;return p||j(e)<k?a:f&&t?.5*a:m.byIndex(n.get(),0).distance}(b(n),t),r=function(e,t){if(0===e||0===t)return 0;if(j(e)<=j(t))return 0;const n=U(j(e),j(t));return j(n/e)}(n,a),l=L-10*r,i=g+r/50;V=!1,P=!1,C.clear(),s.useDuration(l).useFriction(i),o.distance(a,!p),Z=!1,u.emit("pointerUp")}function B(e){O&&(e.stopPropagation(),e.preventDefault(),O=!1)}return{init:function(e){if(!E)return;function i(i){($(E)||E(e,i))&&function(e){const i=ee(e,a);if(Z=i,O=p&&i&&!e.buttons&&M,M=U(r.get(),l.get())>=2,i&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return w.includes(t)}(e.target))return;P=!0,c.pointerDown(e),s.useFriction(0).useDuration(0),r.set(l),function(){const e=Z?n:t;C.add(e,"touchmove",q,y).add(e,"touchend",F).add(e,"mousemove",q,y).add(e,"mouseup",F)}(),H=c.readPoint(e),S=c.readPoint(e,_),u.emit("pointerDown")}(i)}const o=t;N.add(o,"dragstart",e=>e.preventDefault(),y).add(o,"touchmove",()=>{},y).add(o,"touchend",()=>{}).add(o,"touchstart",i).add(o,"mousedown",i).add(o,"touchcancel",F).add(o,"contextmenu",F).add(o,"click",B,!0)},destroy:function(){N.clear(),C.clear()},pointerDown:function(){return P}}}function le(e,t){let n,a;function r(e){return e.timeStamp}function c(n,a){const r="client"+("x"===(a||e.scroll)?"X":"Y");return(ee(n,t)?n:n.touches[0])[r]}return{pointerDown:function(e){return n=e,a=e,c(e)},pointerMove:function(e){const t=c(e)-c(a),l=r(e)-r(n)>170;return a=e,l&&(n=e),t},pointerUp:function(e){if(!n||!a)return 0;const t=c(a)-c(n),l=r(e)-r(n),i=r(e)-r(a)>170,o=t/l;return l&&!i&&j(o)>.1?o:0},readPoint:c}}function ie(e,t,n,a,r,c,l){const i=[e].concat(a);let o,s,m=[],d=!1;function u(e){return r.measureSize(l.measure(e))}return{init:function(r){c&&(s=u(e),m=a.map(u),o=new ResizeObserver(n=>{($(c)||c(r,n))&&function(n){for(const c of n){if(d)return;const n=c.target===e,l=a.indexOf(c.target),i=n?s:m[l];if(j(u(n?e:a[l])-i)>=.5){r.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{i.forEach(e=>o.observe(e))}))},destroy:function(){d=!0,o&&o.disconnect()}}}function oe(e,t,n,a,r){const c=r.measure(10),l=r.measure(50),i=ae(.1,.99);let o=!1;function s(){return!o&&(!!e.reachedAny(n.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:s,constrain:function(r){if(!s())return;const o=e.reachedMin(t.get())?"min":"max",m=j(e[o]-t.get()),d=n.get()-t.get(),u=i.constrain(m/l);n.subtract(d*u),!r&&j(d)<c&&(n.set(e.constrain(n.get())),a.useDuration(25).useBaseFriction())},toggleActive:function(e){o=!e}}}function se(e,t,n,a){const r=t.min+.1,c=t.max+.1,{reachedMin:l,reachedMax:i}=ae(r,c);return{loop:function(t){if(!function(e){return 1===e?i(n.get()):-1===e&&l(n.get())}(t))return;const r=e*(-1*t);a.forEach(e=>e.add(r))}}}function me(e,t,n,a,r){const{reachedAny:c,removeOffset:l,constrain:i}=a;function o(e){return e.concat().sort((e,t)=>j(e)-j(t))[0]}function s(t,a){const r=[t,t+n,t-n];if(!e)return t;if(!a)return o(r);const c=r.filter(e=>z(e)===a);return c.length?o(c):G(r)-n}return{byDistance:function(n,a){const o=r.get()+n,{index:m,distance:d}=function(n){const a=e?l(n):i(n),r=t.map((e,t)=>({diff:s(e-a,0),index:t})).sort((e,t)=>j(e.diff)-j(t.diff)),{index:c}=r[0];return{index:c,distance:a}}(o),u=!e&&c(o);return!a||u?{index:m,distance:n}:{index:m,distance:n+s(t[m]-d,0)}},byIndex:function(e,n){return{index:e,distance:s(t[e]-r.get(),n)}},shortcut:s}}function de(e,t,n,a,r,c,l,i){const o={passive:!0,capture:!0};let s=0;function m(e){"Tab"===e.code&&(s=(new Date).getTime())}return{init:function(d){i&&(c.add(document,"keydown",m,!1),t.forEach((t,m)=>{c.add(t,"focus",t=>{($(i)||i(d,t))&&function(t){if((new Date).getTime()-s>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;const c=n.findIndex(e=>e.includes(t));I(c)&&(r.useDuration(0),a.index(c,0),l.emit("slideFocus"))}(m)},o)}))}}}function ue(e){let t=e;function n(e){return I(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function he(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},a=t.style;let r=null,c=!1;return{clear:function(){c||(a.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(c)return;const l=(i=e.direction(t),Math.round(100*i)/100);var i;l!==r&&(a.transform=n(l),r=l)},toggleActive:function(e){c=!e}}}function pe(e,t,n,a,r,c,l,i,o){const s=W(r),m=W(r).reverse(),d=function(){const e=l[0];return p(h(m,e),n,!1)}().concat(function(){const e=t-l[0]-1;return p(h(s,e),-n,!0)}());function u(e,t){return e.reduce((e,t)=>e-r[t],t)}function h(e,t){return e.reduce((e,n)=>u(e,t)>0?e.concat([n]):e,[])}function p(r,l,s){const m=function(e){return c.map((n,r)=>({start:n-a[r]+.5+e,end:n+t-.5+e}))}(l);return r.map(t=>{const a=s?0:-n,r=s?n:0,c=s?"end":"start",l=m[t][c];return{index:t,loopPoint:l,slideLocation:ue(-1),translate:he(e,o[t]),target:()=>i.get()>l?a:r}})}return{canLoop:function(){return d.every(({index:e})=>u(s.filter(t=>t!==e),t)<=.1)},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{const{target:t,translate:n,slideLocation:a}=e,r=t();r!==a.get()&&(n.to(r),a.set(r))})},loopPoints:d}}function ve(e,t,n){let a,r=!1;return{init:function(c){n&&(a=new MutationObserver(e=>{r||($(n)||n(c,e))&&function(e){for(const n of e)if("childList"===n.type){c.reInit(),t.emit("slidesChanged");break}}(e)}),a.observe(e,{childList:!0}))},destroy:function(){a&&a.disconnect(),r=!0}}}function fe(e,t,n,a){const r={};let c,l=null,i=null,o=!1;return{init:function(){c=new IntersectionObserver(e=>{o||(e.forEach(e=>{const n=t.indexOf(e.target);r[n]=e}),l=null,i=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:a}),t.forEach(e=>c.observe(e))},destroy:function(){c&&c.disconnect(),o=!0},get:function(e=!0){if(e&&l)return l;if(!e&&i)return i;const t=function(e){return X(r).reduce((t,n)=>{const a=parseInt(n),{isIntersecting:c}=r[a];return(e&&c||!e&&!c)&&t.push(a),t},[])}(e);return e&&(l=t),e||(i=t),t}}}function ge(e,t,n,a,r,c,l,i,o){const{startEdge:s,endEdge:m,direction:d}=e,u=I(n);return{groupSlides:function(e){return u?function(e,t){return W(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}(e,n):function(e){return e.length?W(e).reduce((n,u,h)=>{const p=G(n)||0,v=0===p,f=u===K(e),g=r[s]-c[p][s],E=r[s]-c[u][m],_=!a&&v?d(l):0,b=j(E-(!a&&f?d(i):0)-(g+_));return h&&b>t+o&&n.push(u),f&&n.push(e.length),n},[]).map((t,n,a)=>{const r=Math.max(a[n-1]||0);return e.slice(r,t)}):[]}(e)}}}function Ee(e,t,n,a,r,c,l){const{align:i,axis:o,direction:s,startIndex:m,loop:d,duration:u,dragFree:h,dragThreshold:p,inViewThreshold:v,slidesToScroll:f,skipSnaps:g,containScroll:E,watchResize:_,watchSlides:b,watchDrag:w,watchFocus:y}=c,N={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:a,offsetHeight:r}=e;return{top:t,right:n+a,bottom:t+r,left:n,width:a,height:r}}},C=N.measure(t),k=n.map(N.measure),x=function(e,t){const n="rtl"===t,a="y"===e,r=!a&&n?-1:1;return{scroll:a?"y":"x",cross:a?"x":"y",startEdge:a?"top":n?"right":"left",endEdge:a?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return a?t:n},direction:function(e){return e*r}}}(o,s),T=x.measureSize(C),L=function(e){return{measure:function(t){return e*(t/100)}}}(T),M=function(e,t){const n={start:function(){return 0},center:function(e){return a(e)/2},end:a};function a(e){return t-e}return{measure:function(a,r){return A(e)?n[e](a):e(t,a,r)}}}(i,T),H=!d&&!!E,S=d||!!E,{slideSizes:P,slideSizesWithGaps:V,startGap:O,endGap:Z}=function(e,t,n,a,r,c){const{measureSize:l,startEdge:i,endEdge:o}=e,s=n[0]&&r,m=function(){if(!s)return 0;const e=n[0];return j(t[i]-e[i])}(),d=function(){if(!s)return 0;const e=c.getComputedStyle(G(a));return parseFloat(e.getPropertyValue(`margin-${o}`))}(),u=n.map(l),h=n.map((e,t,n)=>{const a=!t,r=Y(n,t);return a?u[t]+m:r?u[t]+d:n[t+1][i]-e[i]}).map(j);return{slideSizes:u,slideSizesWithGaps:h,startGap:m,endGap:d}}(x,C,k,n,S,r),q=ge(x,T,f,d,C,k,O,Z,2),{snaps:F,snapsAligned:B}=function(e,t,n,a,r){const{startEdge:c,endEdge:l}=e,{groupSlides:i}=r,o=i(a).map(e=>G(e)[l]-e[0][c]).map(j).map(t.measure),s=a.map(e=>n[c]-e[c]).map(e=>-j(e)),m=i(s).map(e=>e[0]).map((e,t)=>e+o[t]);return{snaps:s,snapsAligned:m}}(x,M,C,k,q),D=-G(F)+G(V),{snapsContained:I,scrollContainLimit:$}=function(e,t,n,a,r){const c=ae(-t+e,0),l=n.map((e,t)=>{const{min:a,max:r}=c,l=c.constrain(e),i=!t,s=Y(n,t);return i?r:s||o(a,l)?a:o(r,l)?r:l}).map(e=>parseFloat(e.toFixed(3))),i=function(){const e=l[0],t=G(l);return ae(l.lastIndexOf(e),l.indexOf(t)+1)}();function o(e,t){return U(e,t)<=1}return{snapsContained:function(){if(t<=e+r)return[c.max];if("keepSnaps"===a)return l;const{min:n,max:o}=i;return l.slice(n,o)}(),scrollContainLimit:i}}(T,D,B,E,2),R=H?I:B,{limit:X}=function(e,t,n){const a=t[0];return{limit:ae(n?a-e:G(t),a)}}(D,R,d),Q=re(K(R),m,d),ee=Q.clone(),Ee=W(n),_e=ne(a,r,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:a}})=>{a||n.constrain(e.pointerDown()),t.seek()})(Ve),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:a,previousLocation:r,scrollLooper:c,slideLooper:l,dragHandler:i,animation:o,eventHandler:s,scrollBounds:m,options:{loop:d}},u)=>{const h=e.settled(),p=!m.shouldConstrain(),v=d?h:h&&p,f=v&&!i.pointerDown();f&&o.stop();const g=n.get()*u+r.get()*(1-u);a.set(g),d&&(c.loop(e.direction()),l.loop()),t.to(a.get()),f&&s.emit("settle"),v||s.emit("scroll")})(Ve,e)),be=R[Q.get()],we=ue(be),ye=ue(be),Ne=ue(be),Ce=ue(be),ke=function(e,t,n,a,r,c){let l=0,i=0,o=r,s=c,m=e.get(),d=0;function u(e){return o=e,p}function h(e){return s=e,p}const p={direction:function(){return i},duration:function(){return o},velocity:function(){return l},seek:function(){const t=a.get()-e.get();let r=0;return o?(n.set(e),l+=t/o,l*=s,m+=l,e.add(l),r=m-d):(l=0,n.set(a),e.set(a),r=t),i=z(r),d=m,p},settled:function(){return j(a.get()-t.get())<.001},useBaseFriction:function(){return h(c)},useBaseDuration:function(){return u(r)},useFriction:h,useDuration:u};return p}(we,Ne,ye,Ce,u,.68),xe=me(d,R,D,X,Ce),Te=function(e,t,n,a,r,c,l){function i(r){const i=r.distance,o=r.index!==t.get();c.add(i),i&&(a.duration()?e.start():(e.update(),e.render(1),e.update())),o&&(n.set(t.get()),t.set(r.index),l.emit("select"))}return{distance:function(e,t){i(r.byDistance(e,t))},index:function(e,n){const a=t.clone().set(e);i(r.byIndex(a.get(),n))}}}(_e,Q,ee,ke,xe,Ce,l),Le=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(X),Me=te(),He=fe(t,n,l,v),{slideRegistry:Se}=function(e,t,n,a,r,c){const{groupSlides:l}=r,{min:i,max:o}=a;return{slideRegistry:function(){const a=l(c),r=!e||"keepSnaps"===t;return 1===n.length?[c]:r?a:a.slice(i,o).map((e,t,n)=>{const a=!t,r=Y(n,t);return a?J(G(n[0])+1):r?J(K(c)-G(n)[0]+1,G(n)[0]):e})}()}}(H,E,R,$,q,Ee),Pe=de(e,n,Se,Te,ke,Me,l,y),Ve={ownerDocument:a,ownerWindow:r,eventHandler:l,containerRect:C,slideRects:k,animation:_e,axis:x,dragHandler:ce(x,e,a,r,Ce,le(x,r),we,_e,Te,ke,xe,Q,l,L,h,p,g,.68,w),eventStore:Me,percentOfView:L,index:Q,indexPrevious:ee,limit:X,location:we,offsetLocation:Ne,previousLocation:ye,options:c,resizeHandler:ie(t,l,r,n,x,_,N),scrollBody:ke,scrollBounds:oe(X,Ne,Ce,ke,L),scrollLooper:se(D,X,Ne,[we,Ne,ye,Ce]),scrollProgress:Le,scrollSnapList:R.map(Le.get),scrollSnaps:R,scrollTarget:xe,scrollTo:Te,slideLooper:pe(x,T,D,P,V,F,R,Ne,n),slideFocus:Pe,slidesHandler:ve(t,l,b),slidesInView:He,slideIndexes:Ee,slideRegistry:Se,slidesToScroll:q,target:Ce,translate:he(x,t)};return Ve}P.displayName="IconControl",d(),d(),d(),d();const _e={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function be(e){function t(e,t){return Q(e,t||{})}const n={mergeOptions:t,optionsAtMedia:function(n){const a=n.breakpoints||{},r=X(a).filter(t=>e.matchMedia(t).matches).map(e=>a[e]).reduce((e,n)=>t(e,n),{});return t(n,r)},optionsMediaQueries:function(t){return t.map(e=>X(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}};return n}function we(e,t,n){const a=e.ownerDocument,r=a.defaultView,c=be(r),l=function(e){let t=[];return{init:function(n,a){return t=a.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(n,e)),a.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(c),i=te(),o=function(){let e,t={};function n(e){return t[e]||[]}const a={init:function(t){e=t},emit:function(t){return n(t).forEach(n=>n(e,t)),a},off:function(e,r){return t[e]=n(e).filter(e=>e!==r),a},on:function(e,r){return t[e]=n(e).concat([r]),a},clear:function(){t={}}};return a}(),{mergeOptions:s,optionsAtMedia:m,optionsMediaQueries:d}=c,{on:u,off:h,emit:p}=o,v=x;let f,g,E,_,b=!1,w=s(_e,we.globalOptions),y=s(w),N=[];function C(t){const n=Ee(e,E,_,a,r,t,o);if(t.loop&&!n.slideLooper.canLoop()){return C(Object.assign({},t,{loop:!1}))}return n}function k(t,n){b||(w=s(w,t),y=m(w),N=n||N,function(){const{container:t,slides:n}=y,a=A(t)?e.querySelector(t):t;E=a||e.children[0];const r=A(n)?E.querySelectorAll(n):n;_=[].slice.call(r||E.children)}(),f=C(y),d([w,...N.map(({options:e})=>e)]).forEach(e=>i.add(e,"change",x)),y.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(H),f.eventHandler.init(H),f.resizeHandler.init(H),f.slidesHandler.init(H),f.options.loop&&f.slideLooper.loop(),E.offsetParent&&_.length&&f.dragHandler.init(H),g=l.init(H,N)))}function x(e,t){const n=M();T(),k(s({startIndex:n},e),t),o.emit("reInit")}function T(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),l.destroy(),i.clear()}function L(e,t,n){y.active&&!b&&(f.scrollBody.useBaseFriction().useDuration(!0===t?0:y.duration),f.scrollTo.index(e,n||0))}function M(){return f.index.get()}const H={canScrollNext:function(){return f.index.add(1).get()!==M()},canScrollPrev:function(){return f.index.add(-1).get()!==M()},containerNode:function(){return E},internalEngine:function(){return f},destroy:function(){b||(b=!0,i.clear(),T(),o.emit("destroy"),o.clear())},off:h,on:u,emit:p,plugins:function(){return g},previousScrollSnap:function(){return f.indexPrevious.get()},reInit:v,rootNode:function(){return e},scrollNext:function(e){L(f.index.add(1).get(),e,-1)},scrollPrev:function(e){L(f.index.add(-1).get(),e,1)},scrollProgress:function(){return f.scrollProgress.get(f.offsetLocation.get())},scrollSnapList:function(){return f.scrollSnapList},scrollTo:L,selectedScrollSnap:M,slideNodes:function(){return _},slidesInView:function(){return f.slidesInView.get()},slidesNotInView:function(){return f.slidesInView.get(!1)}};return k(t,n),setTimeout(()=>o.emit("init"),0),H}function ye(e={},t=[]){const l=r(e),i=r(t),[o,s]=n(),[m,d]=n(),u=c(()=>{o&&o.reInit(l.current,i.current)},[o]);return a(()=>{B(l.current,e)||(l.current=e,u())},[e,u]),a(()=>{(function(e,t){if(e.length!==t.length)return!1;const n=D(e),a=D(t);return n.every((e,t)=>B(e,a[t]))})(i.current,t)||(i.current=t,u())},[t,u]),a(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&m){we.globalOptions=ye.globalOptions;const e=we(m,l.current,i.current);return s(e),()=>e.destroy()}s(void 0)},[m,s]),[d,o]}we.globalOptions=void 0,ye.globalOptions=void 0;const Ne={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function Ce(e){return(Array.isArray(e)?e:[e]).filter(Boolean)}function ke(e,t){e&&t.length&&e.classList.remove(...t)}function xe(e,t){e&&t.length&&e.classList.add(...t)}function Te(e={}){let t,n,a,r,c=[],l=[];const i=["select"],o=["pointerDown","pointerUp"],s=["slidesInView"],m={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function d(e,t){("pointerDown"===t?xe:ke)(a,m.dragging)}function u(e=[],t=[],n){const a=t.map(e=>r[e]),c=e.map(e=>r[e]);return a.forEach(e=>ke(e,n)),c.forEach(e=>xe(e,n)),e}function h(){const{slideRegistry:e}=n.internalEngine(),t=e[n.selectedScrollSnap()];c=u(t,c,m.snapped)}function p(){const e=n.slidesInView();l=u(e,l,m.inView)}return{name:"classNames",options:e,init:function(c,l){n=c;const{mergeOptions:u,optionsAtMedia:v}=l,f=u(Ne,Te.globalOptions),g=u(f,e);t=v(g),a=n.rootNode(),r=n.slideNodes();const{watchDrag:E,loop:_}=n.internalEngine().options,b=!!E;t.loop&&_&&(m.loop=Ce(t.loop),xe(a,m.loop)),t.draggable&&b&&(m.draggable=Ce(t.draggable),xe(a,m.draggable)),t.dragging&&(m.dragging=Ce(t.dragging),o.forEach(e=>n.on(e,d))),t.snapped&&(m.snapped=Ce(t.snapped),i.forEach(e=>n.on(e,h)),h()),t.inView&&(m.inView=Ce(t.inView),s.forEach(e=>n.on(e,p)),p())},destroy:function(){o.forEach(e=>n.off(e,d)),i.forEach(e=>n.off(e,h)),s.forEach(e=>n.off(e,p)),ke(a,m.loop),ke(a,m.draggable),ke(a,m.dragging),u([],c,m.snapped),u([],l,m.inView),Object.keys(m).forEach(e=>{m[e]=[]})}}}function Le(e,t){void 0===e&&(e="768px"),void 0===t&&(t=!0);var r=n(t),c=r[0],l=r[1];return a(function(){var t=window.matchMedia("(min-width: ".concat(e,")"));l(!t.matches);var n=function(e){return l(!e.matches)};return"function"==typeof t.addEventListener?t.addEventListener("change",n):t.addListener(n),function(){"function"==typeof t.removeEventListener?t.removeEventListener("change",n):t.removeListener(n)}},[e]),c}function Me(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.href,m=t.publishDate,d=t.titleTag;return e.createElement("div",{className:v("card-news",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-news__figure"},e.createElement("div",{className:"card-news__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"})),e.createElement("p",{className:"card-news__tag card-news__tag--desktop"},i)),e.createElement("p",{className:"card-news__tag card-news__tag--mobile"},i),e.createElement("figcaption",null,e.createElement("a",{className:"card-news__link",href:s},e.createElement(k,{htmlTag:d,classNames:"card-news__title"},o)),e.createElement("p",{className:"card-news__date"},m),e.createElement("div",{className:"card-news__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}Te.globalOptions=void 0,d(),d();var He={first:{top:"-36px"},second:{top:"100px"},third:{top:"160px"}},Se={first:{bottom:"-24px"},second:{bottom:"100px"},third:{bottom:"170px"}},Pe={first:{top:"-36px"},second:{top:"100px"},third:{top:"200px"}},Ve={first:{bottom:"-36px"},second:{bottom:"100px"},third:{bottom:"340px"}},Oe=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,o=t.imagePrimary,s=t.imageSecondary,m=t.imageTertiary,d=t.categoryLabel,h=t.slideTitle,p=t.subTitle,f=t.introText,g=t.link,E=t.linkText,_=t.activeVariant,b=void 0===_?"one":_,w=t.leftInitialPositionTablet,y=void 0===w?"0":w,C=t.rightInitialPositionTablet,k=void 0===C?"0":C,x=t.leftInitialPositionDesktop,T=void 0===x?"0":x,L=t.rightInitialPositionDesktop,M=void 0===L?"0":L,S=t.isMobile,P=t.isTablet,V=t.onKeyDown;return e.createElement(e.Fragment,null,e.createElement("div",{ref:n,onKeyDown:V,className:v("card-featured card-featured--".concat(b),r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},e.createElement("div",{className:"card-featured__top-wrapper"},e.createElement("p",{className:"card-featured__category"},d),e.createElement("h2",{className:"card-featured__title"},h)),e.createElement("figure",{className:"card-featured__figure"},e.createElement("div",{className:"card-featured__image-outer-wrapper"},e.createElement("div",{className:"card-featured__image-wrapper card-featured__image-wrapper--primary"},o.src.default&&e.createElement(H,u({},o))),P&&e.createElement(e.Fragment,null,e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--secondary",layout:!0,initial:{top:y},animate:b,variants:He},s.src.default&&e.createElement(H,u({},s))),e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--tertiary",layout:!0,initial:{bottom:k},animate:b,variants:Se},m.src.default&&e.createElement(H,u({},m)))),!S&&!P&&e.createElement(e.Fragment,null,e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--secondary",layout:!0,initial:{top:T},animate:b,variants:Pe},s.src.default&&e.createElement(H,u({},s,{altText:""}))),e.createElement(i.div,{className:"card-featured__image-wrapper card-featured__image-wrapper--tertiary",layout:!0,initial:{bottom:M},animate:b,variants:Ve},m.src.default&&e.createElement(H,u({},m,{altText:""}))))),e.createElement("figcaption",{className:"card-featured__figcaption"},e.createElement("div",{className:"card-featured__text-wrapper"},p&&e.createElement("h3",{className:"card-featured__sub-title"},p),e.createElement("p",{className:"card-featured__intro-text"},f),e.createElement("div",{className:"card-featured__cta"},e.createElement(N,{theme:r,inverse:l,url:g,title:E})))))))});function Ze(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.id,c=t.url,l=t.autoPlay,i=void 0!==l&&l;return e.createElement("section",{className:v("video",a&&"theme-".concat(a))},e.createElement("div",{className:"video__video"},r&&e.createElement("iframe",{className:"video__iframe",width:"500",height:"281",src:c||"https://www.youtube.com/embed/".concat(r||"").concat(i?"?autoplay=1":""),title:"Youtube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,loading:"lazy"})))}Oe.displayName="CardFeatured",d(),d(),d();var qe=t(function(t,n){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.url,o=t.title,s=t.icon,m=t.externalLink,d=void 0!==m&&m,u=t.onClick,h=t.ariaControls,p=t.isSubmit,f=void 0!==p&&p,g=t.disabled,E=void 0!==g&&g,b=t.ariaExpanded;return u||f?e.createElement("button",{className:v("icon-button",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),disabled:E,onClick:u,"aria-controls":h,type:f?"submit":"button",ref:n,"aria-expanded":b},e.createElement("i",{className:"icon-button__icon"},e.createElement(_,{icon:s,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},o)):e.createElement("a",{className:v("icon-button",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse")),href:i,target:d?"_blank":"_self",rel:d?"noopener noreferrer":""},e.createElement("i",{className:"icon-button__icon"},e.createElement(_,{icon:s,theme:r,inverse:l,ariaHidden:!0})),e.createElement("span",{className:"sr-only"},o))});qe.displayName="IconButton";function Fe(t){var n=function(){var e=r(null);function t(t){var n=e&&e.current?function(e){var t=e.querySelectorAll('button:not([disabled]), iframe, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]'),n=[];return[].forEach.call(t,function(e){n.push(e)}),n.filter(function(e){return!e.disabled})}(e.current):[],a=n[0],r=n[n.length-1];("Tab"===t.key||9===t.keyCode)&&(t.shiftKey?document.activeElement===a&&(r.focus(),t.preventDefault()):document.activeElement===r&&(a.focus(),t.preventDefault()))}return a(function(){var n=e.current;return n&&n.addEventListener("keydown",t),function(){null==n||n.removeEventListener("keydown",t)}},[]),e}();return e.createElement("div",{className:"trap",ref:n},t.children)}var Be=function(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.isOpen,o=t.closeModal,s=t.children,m=t.centred,d=void 0!==m&&m,u=r(null),h=function(e){"Escape"===e.key&&l&&o()};return a(function(){return document.addEventListener("keydown",h),function(){document.removeEventListener("keydown",h)}}),a(function(){var e,t;l?null===(e=u.current)||void 0===e||e.showModal():null===(t=u.current)||void 0===t||t.close()},[l]),e.createElement(i.dialog,{className:v("full-modal",c&&"theme-".concat(c),d&&"full-modal--centred"),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},ref:u},e.createElement(Fe,null,e.createElement("div",{className:"full-modal__outer-wrapper"},e.createElement("div",{className:"full-modal__container"},e.createElement("div",{className:"full-modal__content"},s)),d?e.createElement("div",{className:"full-modal__centred-close"},e.createElement(qe,{theme:c,title:"Close",icon:"cross",onClick:o,inverse:!0})):e.createElement("div",{className:"full-modal__close-wrapper"},e.createElement("div",{className:"full-modal__close"},e.createElement(qe,{theme:c,title:"Close",icon:"cross",onClick:o}))))))};function De(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.id,c=t.inverse,l=t.label,i=t.onClick,o=t.url,s=t.externalLink,m=t.hollow,d=void 0!==m&&m,u=t.isSubmit,h=void 0!==u&&u,p=t.icon,f=t.iconPosition,g=void 0===f?"left":f,E=t.oneTrustElement,b=v("text-button-with-icon",d&&"text-button-with-icon--hollow","left"===g?"text-button-with-icon--left":"text-button-with-icon--right",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),"Cookies Settings button"===E?"ot-sdk-show-settings":"");return i||h?e.createElement("button",{className:b,id:r,type:h?"submit":"button",onClick:i},e.createElement(_,{theme:a,icon:p,ariaHidden:!0,inverse:d?!c:c}),e.createElement("span",{className:"text-button-with-icon__label"},l)):e.createElement("a",{className:b,id:r,href:o,target:s?"_blank":"_self",rel:s?"noopener noreferrer":""},e.createElement(_,{theme:a,icon:p,ariaHidden:!0,inverse:d?!c:c}),e.createElement("span",{className:"text-button-with-icon__label"},l))}function Ie(t){var a=t.theme,c=void 0===a?"uobmain":a,l=t.inverse,i=void 0===l||l,o=t.image,s=t.title,m=t.youtubeId,d=t.buttonLabel,h=t.titleTag,p=void 0===h?"h3":h,f=n(!1),g=f[0],E=f[1],_=r(m),b=function(){E(!1),document.body.classList.remove("lock-scroll")},w=function(e){_.current=e,g?b():(E(!0),document.body.classList.add("lock-scroll"))};return e.createElement(e.Fragment,null,e.createElement("div",{className:v("card-video",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse"))},e.createElement("figure",{className:"card-video__figure"},e.createElement("div",{className:"card-video__image-wrapper"},e.createElement(H,u({},o,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-video__text-content"},e.createElement(k,{htmlTag:p,classNames:"card-video__title"},s),e.createElement("div",{className:"card-video__cta"},e.createElement(De,{theme:c,inverse:!0,label:d,icon:"play",onClick:function(){return w(m)}}))))),g&&e.createElement(Be,{theme:c,closeModal:b,isOpen:g},e.createElement(Ze,{theme:c,id:_.current,autoPlay:!0})))}function Ae(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.status,c=t.day,l=t.month,i={"aria-hidden":"Upcoming"===r};return e.createElement("div",u({className:v("calendar-graphic",a&&"theme-".concat(a),"calendar-graphic--".concat(r.toLowerCase()))},i),"Upcoming"===r&&e.createElement(e.Fragment,null,e.createElement("div",{className:"calendar-graphic__day"},c),e.createElement("div",{className:"calendar-graphic__month"},l)),"Recorded"===r&&e.createElement(_,{theme:"uobmain",icon:"play"}),"More"===r&&e.createElement("span",null,"More dates available"))}function $e(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.subtitle,m=void 0===s?"":s,d=t.href,h=t.publishDate,p=void 0===h?"":h,f=t.authorString,g=void 0===f?"":f,E=t.readingTime,b=t.location,w=void 0===b?"":b,y=t.copy,N=void 0===y?"":y,C=t.isSingle,T=void 0!==C&&C,L=t.titleTag,M=void 0===L?"h3":L,S=t.cardCopyIsRichText,P=void 0!==S&&S,V=t.eventTime,O=void 0===V?"":V,Z=t.eventStatus,q=t.eventDay,F=t.eventMonth,B=t.inStoryCarousel,D=void 0!==B&&B;return e.createElement("div",{className:v("card-promo",T&&"card-promo--single",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),D&&"card-promo--in-story-carousel")},e.createElement("figure",{className:"card-promo__figure"},l&&e.createElement("div",{className:"card-promo__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"})),i&&e.createElement("p",{className:"card-promo__tag card-promo__tag--many"},i),Z&&e.createElement("div",{className:"card-promo__event-graphic"},e.createElement(Ae,{theme:"uobmain",status:Z,day:q,month:F}))),e.createElement("figcaption",{className:"card-promo__text-content"},i&&e.createElement("p",{className:"card-promo__tag card-promo__tag--single"},i),e.createElement("a",{className:"card-promo__link",href:d},e.createElement(k,{htmlTag:M,classNames:"card-promo__title"},o)),m&&e.createElement("p",{className:"card-promo__subtitle"},m),p&&e.createElement("div",{className:"card-promo__date-time-wrapper"},e.createElement("p",{className:"card-promo__date"},p),O&&e.createElement("span",{className:"card-promo__event-time"},O)),g&&e.createElement("div",{className:"card-promo__author-wrapper"},e.createElement("p",{className:"card-promo__author"},g),E&&e.createElement("span",{className:"card-promo__reading-time"},E," read")),w&&e.createElement("div",{className:"card-promo__location-wrapper"},e.createElement(_,{icon:"location",theme:a,inverse:c,ariaHidden:!0}),e.createElement("p",{className:"card-promo__location"},w)),N&&P?e.createElement(x,{theme:a,inverse:c,text:N}):e.createElement("p",{className:"card-promo__copy"},N),e.createElement("div",{className:"card-promo__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}function Re(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.subtitle,m=void 0===s?"":s,d=t.publishDate,h=void 0===d?"":d,p=t.authorString,f=void 0===p?"":p,g=t.location,E=void 0===g?"":g,b=t.copy,w=void 0===b?"":b,C=t.isSingle,T=void 0!==C&&C,L=t.cardCopyIsRichText,M=void 0!==L&&L,S=t.buttonPrimary,P=t.buttonSecondary,V=t.link,O=t.imageOrientation,Z=void 0===O?"left":O,q=t.titleTag,F=void 0===q?"h3":q,B=t.extendedTextArea,D=void 0!==B&&B;return e.createElement("div",{className:v("card-promo-signpost",T&&"right"===Z&&"card-promo-signpost--single-right",T&&"left"===Z&&"card-promo-signpost--single-left",T&&D&&"left"===Z&&"card-promo-signpost--single-left-text-extended",T&&D&&"right"===Z&&"card-promo-signpost--single-right-text-extended",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-promo-signpost__figure"},l&&e.createElement("div",{className:"card-promo-signpost__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-promo-signpost__text-content"},i&&e.createElement("p",{className:"card-promo-signpost__tag"},i),o&&e.createElement(k,{htmlTag:F,classNames:"card-promo-signpost__title"},o),m&&e.createElement("p",{className:"card-promo-signpost__subtitle"},m),h&&e.createElement("p",{className:"card-promo-signpost__date"},h),f&&e.createElement("p",{className:"card-promo-signpost__author"},f),E&&e.createElement("div",{className:"card-promo-signpost__location-wrapper"},e.createElement(_,{icon:"location",theme:a,inverse:c,ariaHidden:!0}),e.createElement("p",{className:"card-promo-signpost__location"},E)),w&&M?e.createElement(x,{theme:a,inverse:c,text:w}):w&&w.length>0?e.createElement("p",{className:"card-promo__copy"},w):null,e.createElement("div",{className:"card-promo-signpost__link-wrapper"},S&&e.createElement(y,{theme:a,inverse:!c,url:S.url,label:S.label}),P&&e.createElement(y,{theme:a,url:P.url,inverse:!c,label:P.label,hollow:!0})),V&&e.createElement(N,{theme:a,inverse:c,url:V.url,title:V.title}))))}function je(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.title,o=t.publishDate,s=t.videoLength,m=t.copy,d=void 0===m?"":m,h=t.isSingle,p=void 0!==h&&h,f=t.href,g=t.titleTag,E=void 0===g?"h3":g;return e.createElement(e.Fragment,null,e.createElement("div",{className:v("card-promo-video",p&&"card-promo-video--single",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-promo-video__figure"},l&&e.createElement("div",{className:"card-promo-video__image-wrapper"},e.createElement(H,u({},l,{altText:l.altText,loadingAttr:"lazy"})),e.createElement("div",{className:"card-promo-video__gradient"})),e.createElement("figcaption",{className:"card-promo-video__text-content"},e.createElement("a",{className:"card-promo-video__link",href:f},e.createElement("div",{className:"card-promo-video__play-icon"},e.createElement(_,{icon:"play",theme:a,inverse:c,ariaHidden:!0})),"h2"===E&&e.createElement("h2",{className:"card-promo-video__title"},i),"h3"===E&&e.createElement("h3",{className:"card-promo-video__title"},i)),o&&e.createElement("p",{className:"card-promo-video__date"},o),s&&e.createElement("p",{className:"card-promo-video__length"},s),d&&e.createElement("p",{className:"card-promo-video__copy"},d)))))}function ze(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.icon,i=t.backgroundColor,o=void 0===i?"dark":i;return e.createElement("span",{className:v("course-icon","course-icon--".concat(o),a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement(_,{theme:a,icon:l}))}function Ue(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.jobTitle,s=t.department,m=t.href,d=t.copy,h=t.phone,p=t.email,f=t.isSingle,g=void 0!==f&&f,E=t.titleTag,_=void 0===E?"h3":E;return e.createElement("article",{className:v("card-staff",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),g?"card-staff--single":"card-staff--multiple")},e.createElement("div",{className:"card-staff__single-flex-container"},g&&e.createElement("div",{className:"card-staff__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("div",null,e.createElement("figure",{className:"card-staff__figure"},!g&&e.createElement("div",{className:"card-staff__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-staff__link",href:m},"h2"===_&&e.createElement("h2",{className:"card-staff__title"},i),"h3"===_&&e.createElement("h3",{className:"card-staff__title"},i)),o&&e.createElement("p",{className:"card-staff__job-title"},o),s&&e.createElement("p",{className:"card-staff__department"},s))),d&&e.createElement("p",{className:"card-staff__copy"},d),h&&e.createElement("div",{className:"card-staff__contact-detail"},e.createElement(ze,{theme:a,icon:"phone"}),e.createElement("span",{className:"card-staff__contact-label"},"Phone: "),e.createElement("span",{className:"card-staff__contact"},h)),p&&e.createElement("div",{className:"card-staff__contact-detail"},e.createElement(ze,{theme:a,icon:"email"}),e.createElement("span",{className:"card-staff__contact-label"},"Email: "),e.createElement("span",{className:"card-staff__contact email-wrap"},p)))))}function We(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.subtitle,o=t.href,s=t.titleTag,m=void 0===s?"h3":s;return e.createElement("div",{className:v("card-related-course",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-related-course__figure"},e.createElement("figcaption",null,e.createElement("a",{className:"card-related-course__link",href:o},"h2"===m&&e.createElement("h2",{className:"card-related-course__title"},l),"h3"===m&&e.createElement("h3",{className:"card-related-course__title"},l)),e.createElement("p",null,i),e.createElement("div",{className:"card-related-course__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,inverse:c,ariaHidden:!0})))))}function Ge(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.imageCaption,o=t.imageCredit,s=t.aspectRatio,m=void 0===s?"5/3":s,d=t.objectFitScaleDown,h=void 0!==d&&d,p="3/2"===m?"ar-3-2":"ar-5-3";return e.createElement("div",{className:v("card-image",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),p)},e.createElement("figure",{className:"card-image__figure"},e.createElement("div",{className:v("card-image__image-wrapper",h&&"card-image__image-wrapper--scale-down")},e.createElement(H,u({},l,{loadingAttr:l.loadingAttr,fetchPriority:l.fetchPriority}))),e.createElement("figcaption",null,i&&e.createElement("p",{className:"card-image__caption"},i),o&&e.createElement("p",{className:"card-image__credit"},o))))}function Ke(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.title,o=t.href,s=t.publishDate,m=void 0===s?"":s,d=t.copy,h=void 0===d?"":d,p=t.isPrimary,f=void 0!==p&&p,g=t.titleTag,E=void 0===g?"h3":g;return e.createElement("div",{className:v("card-featured-news",f&&"card-featured-news--primary",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-featured-news__figure"},l&&e.createElement("div",{className:"card-featured-news__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-featured-news__text-content"},e.createElement("a",{className:"card-featured-news__link",href:o},"h2"===E&&e.createElement("h2",{className:"card-featured-news__title"},i),"h3"===E&&e.createElement("h3",{className:"card-featured-news__title"},i),"h4"===E&&e.createElement("h4",{className:"card-featured-news__title"},i)),m&&e.createElement("p",{className:"card-featured-news__date"},m),h&&e.createElement("p",{className:"card-featured-news__copy"},h))))}function Ye(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.author,o=t.href,s=t.copy,m=t.date,d=t.titleTag,u=void 0===d?"h3":d;return e.createElement("article",{className:v("card-research-story",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("a",{className:"card-research-story__link",href:o},e.createElement(k,{classNames:"card-research-story__title",htmlTag:u},l)),i&&e.createElement("p",{className:"card-research-story__author"},i),s&&e.createElement("p",{className:"card-research-story__copy"},s),m&&e.createElement("div",{className:"card-research-story__date-detail"},e.createElement(ze,{theme:a,icon:"calendar"}),e.createElement("span",{className:"card-research-story__date-label"},"Date: "),e.createElement("span",{className:"card-research-story__date"},m)))}function Je(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.title,i=t.href,o=t.copy,s=t.scholarshipDetails,m=t.titleTag,d=void 0===m?"h3":m;return e.createElement("article",{className:v("card-scholarship",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",null,e.createElement("a",{className:"card-scholarship__link",href:i},"h2"===d&&e.createElement("h2",{className:"card-scholarship__title"},l),"h3"===d&&e.createElement("h3",{className:"card-scholarship__title"},l)),o&&e.createElement("p",{className:"card-scholarship__copy"},o),s.awardType&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"award-star"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Award type: "),e.createElement("span",{className:"card-scholarship__detail"},s.awardType)),s.value&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"pound"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Value: "),e.createElement("span",{className:"card-scholarship__detail"},s.value)),s.deadline&&e.createElement("div",{className:"card-scholarship__detail-wrapper"},e.createElement(ze,{theme:a,icon:"calendar"}),e.createElement("span",{className:"card-scholarship__detail-label"},"Application deadline: "),e.createElement("span",{className:"card-scholarship__detail"},s.deadline))))}function Xe(t){var n=t.iconType,a=t.inverse,r=void 0===a||a,c=t.name,l=t.value,i=t.theme,o=void 0===i?"uobmain":i;return e.createElement("div",{className:v("search-result-detail",o&&"theme-".concat(o))},e.createElement(ze,{icon:n,backgroundColor:"pale",theme:o,inverse:r}),e.createElement("span",{className:"search-result-detail__text"},c&&e.createElement("span",{className:"search-result-detail__name"},c&&"".concat(c,":"))," ",l))}function Qe(t){var n=t.theme,a=t.inverse,r=void 0===a||a,c=t.details,l=t.verticalDetails,i=void 0!==l&&l;return e.createElement("ul",{className:v("search-result-detail-list",{"search-result-detail-list--vertical":i})},c.map(function(t){return e.createElement("li",{key:t.name},e.createElement(Xe,u({},t,{theme:n,inverse:r})))}))}function et(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.jobTitle,s=t.department,m=t.href,d=t.copy,h=t.isSingle,p=void 0!==h&&h,f=t.titleTag,g=void 0===f?"h3":f,E=t.details;return e.createElement("article",{className:v("card-promo-profile",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),p?"card-promo-profile--single":"card-promo-profile--multiple")},e.createElement("div",{className:"card-promo-profile__single-flex-container"},p&&e.createElement("div",{className:"card-promo-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("div",null,e.createElement("figure",{className:"card-promo-profile__figure"},!p&&e.createElement("div",{className:"card-promo-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-promo-profile__link",href:m},"h2"===g&&e.createElement("h2",{className:"card-promo-profile__title"},i),"h3"===g&&e.createElement("h3",{className:"card-promo-profile__title"},i),"h4"===g&&e.createElement("h4",{className:"card-promo-profile__title"},i)),o&&e.createElement("p",{className:"card-promo-profile__job-title"},o),s&&e.createElement("p",{className:"card-promo-profile__department"},s))),d&&e.createElement("p",{className:"card-promo-profile__copy"},d),E&&E.length>0&&e.createElement("div",{className:"card-promo-profile__details"},e.createElement(Qe,{details:E,theme:a,inverse:c,verticalDetails:!0})))))}function tt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.totalNumber,i=t.currentNumber,o=t.onClickNext,s=t.onClickPrev,m=t.prevButtonDisabled,d=t.nextButtonDisabled,u=t.carouselId,h=t.showNumbers,p=void 0===h||h,f=String(i).padStart(2,"0"),g=String(l).padStart(2,"0");return e.createElement("div",{className:v("carousel-nav theme-".concat(a),c?"theme-".concat(a,"--inverse"):"")},e.createElement("div",{className:"carousel-nav__inner-wrapper"},p&&e.createElement("p",{className:"carousel-nav__page-counts"},e.createElement("strong",null,f)," of ",g),e.createElement("div",{className:"carousel-nav__line"}),e.createElement("div",{className:"carousel-nav__button-wrapper"},e.createElement(qe,{theme:a,icon:"arrow-left",onClick:s,title:"Go to previous item",ariaControls:u,disabled:m,inverse:c}),e.createElement(qe,{theme:a,icon:"arrow-right",onClick:o,title:"Go to next item",ariaControls:u,disabled:d,inverse:c}))))}function nt(t){var r=t.theme,i=void 0===r?"uobmain":r,o=t.inverse,s=void 0!==o&&o,m=t.type,d=t.title,h=t.cards,p=t.cardTitleTag,E=void 0===p?"h2":p,_=t.setCardInverse,b=t.exploreMore,w=t.cardCopyIsRichText,y=void 0!==w&&w,N=ye({align:"start",containScroll:"trimSnaps",inViewThreshold:.9},[Te({inView:"carousel__card--in-view"})]),C=N[0],k=N[1],x=n(!1),T=x[0],L=x[1],M=n(!1),H=M[0],S=M[1],P=n(0),V=P[0],O=P[1],Z=Le("768px"),q=!Le("1248px"),F=l(),B=c(function(){k&&(L(k.canScrollPrev()),S(k.canScrollNext()),O(k.selectedScrollSnap))},[k,S,L]),D=c(function(){B()},[B]),I=c(function(){if(k&&(!q||"news"!==m&&"video"!==m))for(var e=k.slideNodes(),t=k.slidesInView(),n=0;n<=e.length;n++){var a=e[n];if(a){k.slidesInView().includes(n);var r=t.includes(n);a.setAttribute("aria-hidden",r?"false":"true")}}},[k,q,m]);a(function(){k&&(k.reInit(),B(),k.on("select",B),k.on("resize",D),k.on("slidesInView",I))},[k,B,D,I]);var A=c(function(){k&&k.scrollPrev()},[k]),$=c(function(){k&&k.scrollNext()},[k]);var R,j=("news"===m||"video"===m||"featured-news"===m)&&!q&&h.length>1||!(!m.startsWith("promo",0)&&"featured"!==m&&"staff"!==m&&"scholarship"!==m&&"research-story"!==m&&"related"!==m&&"image"!==m||!(h.length>1)),z=V+1,U=b?h.length+1:h.length,W="carousel-".concat(d?g(d):F);return R="dark"!==_&&("light"===_||s),e.createElement("section",{className:v("carousel carousel--".concat(m),i&&"theme-".concat(i),s&&"theme-".concat(i,"--inverse"),j&&"carousel--active"),id:W,role:"region","aria-roledescription":j?"carousel":void 0,"aria-label":d||void 0},e.createElement("div",{className:"carousel__top"},d&&e.createElement("h2",{className:"carousel__title"},d)),h.length>0&&e.createElement("div",{className:"carousel__embla",ref:C},e.createElement("ul",{className:"carousel__list","aria-live":j?"polite":void 0},h.map(function(t,n){return e.createElement("li",{className:"carousel__card",key:n,"aria-roledescription":j?"slide":void 0,"aria-label":j?"Slide ".concat(n+1," of ").concat(U):void 0},function(t){var n=u(u({},t),{cardCopyIsRichText:y});switch(m){case"news":return e.createElement(Me,u({},t));case"featured":return e.createElement(Oe,u({},t));case"video":return e.createElement(Ie,u({},t));case"promo":return e.createElement($e,u({},n));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));case"promo-profile":return e.createElement(et,u({},t));case"staff":return e.createElement(Ue,u({},t));case"related":return e.createElement(We,u({},t));case"image":return e.createElement(Ge,u({},t));case"featured-news":return e.createElement(Ke,u({},t));case"research-story":return e.createElement(Ye,u({},t));case"scholarship":return e.createElement(Je,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:R,titleTag:E})))}),b&&b&&e.createElement("li",{className:"carousel__card carousel__card--explore-more","aria-roledescription":j?"slide":void 0,"aria-label":j?"Slide ".concat(U," of ").concat(U):void 0},e.createElement("p",null,f(b))))),j&&e.createElement(tt,{currentNumber:z,totalNumber:U,onClickNext:$,onClickPrev:A,prevButtonDisabled:!T,nextButtonDisabled:!H,theme:i,inverse:s,carouselId:W,showNumbers:!("featured"!==m&&"image"!==m||Z)}))}function at(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.name,o=t.courseTitle,s=t.href,m=t.copy,d=t.titleTag,h=void 0===d?"h3":d;return e.createElement("article",{className:v("card-profile",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"card-profile__container"},e.createElement("figure",{className:"card-profile__figure"},l&&e.createElement("div",{className:"card-profile__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",null,e.createElement("a",{className:"card-profile__link",href:s},"h2"===h&&e.createElement("h2",{className:"card-profile__title"},i),"h3"===h&&e.createElement("h3",{className:"card-profile__title"},i)),o&&e.createElement("p",{className:"card-profile__course-title"},o),m&&e.createElement("p",{className:"card-profile__copy"}," ",m.length>120?"".concat(m.slice(0,120),"..."):m)))))}function rt(t){var n=t.theme,a=t.inverse,r=t.image,c=t.title,l=t.titleTag,i=void 0===l?"h2":l,o=t.text;return e.createElement("div",{className:v("card-image-and-text",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),!c&&"card-image-and-text__no-title")},r&&e.createElement("div",{className:"card-image-and-text__image"},e.createElement(H,u({},r))),e.createElement("div",{className:"card-image-and-text__text"},c&&e.createElement(k,{classNames:v("card-image-and-text__heading-padding","card-image-and-text__".concat(i)),htmlTag:i},c),o&&e.createElement(x,{theme:n,inverse:a,text:o})))}function ct(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.children;return e.createElement("div",{className:v("centre-wrapper",a&&"theme-".concat(a))},e.createElement("div",{className:"centre-wrapper__grid-container"},e.createElement("div",{className:"centre-wrapper__children"},r)))}function lt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.text,c=t.showIcon,l=void 0===c||c,i=t.smallLink,o=t.mainLink;return e.createElement("div",{className:v("clearing-banner",a&&"theme-".concat(a))},e.createElement("div",{className:"clearing-banner__container"},e.createElement("div",{className:"clearing-banner__top-wrapper"},l&&e.createElement("div",{className:"clearing-banner__icon"},e.createElement(ze,{theme:a,icon:"clearing-tick"})),e.createElement("div",null,e.createElement("span",null,r),i&&e.createElement("a",{className:"clearing-banner__small-link",href:i.url},i.label))),o&&e.createElement("div",{className:"clearing-banner__main-link"},e.createElement(De,{theme:a,inverse:!1,label:o.label,url:o.url,icon:o.icon,iconPosition:o.iconPosition}))))}function it(t){var n=t.pills,a=t.theme,r=void 0===a?"uobmain":a;return e.createElement("div",{className:v("course-delivery-pills",r&&r&&"theme-".concat(r))},n.map(function(t,n){return e.createElement(b,u({key:n},t,{theme:r}))}))}function ot(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.highlight,l=void 0!==c&&c,i=t.image,o=t.heading,s=t.copy,m=t.primaryCTA,d=t.secondaryCTA,h=t.link,p=t.fullWidth,f=void 0!==p&&p,g=t.htmlTag,E=void 0===g?"h2":g,_=!l&&!!r;return e.createElement("div",{className:v("cta-component",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"),l&&"theme-".concat(a,"--highlight"),f&&"cta-component--full-width",i&&"cta-component--with-image")},e.createElement("div",{className:"cta-component__container"},e.createElement("div",{className:"cta-component__inner-wrapper"},e.createElement("div",{className:"cta-component__main-content"},i&&e.createElement("div",{className:"cta-component__image-wrapper"},e.createElement(H,u({},i))),e.createElement("div",{className:"cta-component__text-wrapper"},e.createElement(k,{htmlTag:E,classNames:"cta-component__heading"},o),s&&e.createElement("p",{className:"cta-component__copy"},s))),e.createElement("div",{className:"cta-component__button-wrapper"},m&&e.createElement(y,u({},m,{inverse:_})),d&&e.createElement(y,u({},d,{hollow:!0,inverse:_}))),h&&e.createElement(N,u({},h,{inverse:!_})))))}function st(t){var n=t.theme,a=t.inverse,r=t.children,c=t.fullWidth,l=void 0!==c&&c,i=t.narrowStandard,o=void 0!==i&&i,s=t.className;return e.createElement("div",{className:v("embed-wrapper",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),l&&"embed-wrapper--full-width",o&&"embed-wrapper--narrow-standard",s&&s)},e.createElement("div",{className:"embed-wrapper__container"},e.createElement("div",{className:v(o&&"embed-wrapper__narrow-standrd-grid")},r)))}function mt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.stat,i=t.description,o=t.source,s=t.link;return e.createElement("article",{className:v("card-fact",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"card-fact__stat"},l),i&&e.createElement("p",{className:"card-fact__description"},i),o&&e.createElement("p",{className:"card-fact__source"},o),e.createElement("div",{className:"card-fact__link-wrapper"},s&&e.createElement(N,u({},s,{inverse:c}))))}function dt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.linkProps,s=t.cards,m=t.fullWidth,d=void 0!==m&&m,h=t.htmlTag,p=t.showCardColumn,f=void 0===p||p;return e.createElement("section",{className:v("fact-boxes",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),d&&"fact-boxes--full-width",f&&3===s.length&&"fact-boxes--three-facts",f&&2===s.length&&"fact-boxes--two-facts",f&&1===s.length&&"fact-boxes--one-fact")},(l||i)&&e.createElement(L,{theme:a,inverse:c,htmlTag:h,title:l,description:i,linkProps:o}),e.createElement("div",{className:"fact-boxes__container"},e.createElement("ul",{className:"fact-boxes__grid"},s.map(function(t,n){return e.createElement("li",{className:"fact-boxes__card",key:n},e.createElement(mt,u({},t,{inverse:!c})))}))))}function ut(t){var c=t.theme,l=t.cards,o=l.length>1,s=n(0),m=s[0],d=s[1],u=n("first"),h=u[0],p=u[1],f=n("0"),g=f[0],E=f[1],_=n("0"),b=_[0],w=_[1],y=n("0"),N=y[0],C=y[1],k=n("0"),x=k[0],T=k[1],L=l[m],M=r(null),H=Le("768px"),S=Le("1248px");a(function(){switch(m){case 0:p("first"),E(He.first.top),w(Se.first.bottom),C(Pe.first.top),T(Ve.first.bottom);break;case 1:p("second"),E(He.second.top),w(Se.second.bottom),C(Pe.second.top),T(Ve.second.bottom);break;case 2:p("third"),E(He.third.top),w(Se.third.bottom),C(Pe.third.top),T(Ve.third.bottom)}},[m,h]);var P=o?e.createElement(tt,{theme:c,totalNumber:l.length,currentNumber:m+1,carouselId:"featured-content",onClickPrev:function(){d(function(e){return e-1})},onClickNext:function(){d(function(e){return e+1})},prevButtonDisabled:0===m,nextButtonDisabled:m===l.length-1}):e.createElement(e.Fragment,null);return e.createElement("div",{className:v("featured-content",c&&"theme-".concat(c)),id:"featured-content"},e.createElement("div",{className:"featured-content__top"},e.createElement("div",{className:"featured-content__content"},e.createElement("div",{className:"featured-content__cards"},H&&e.createElement(nt,{theme:c,type:"featured",inverse:!0,cards:l}),!H&&e.createElement(e.Fragment,null,e.createElement(i.section,{className:"featured-content__active-card",key:m,initial:{opacity:0},animate:{opacity:1}},e.createElement(Oe,{theme:c,imagePrimary:L.imagePrimary,imageSecondary:L.imageSecondary,imageTertiary:L.imageTertiary,categoryLabel:L.categoryLabel,slideTitle:L.slideTitle,subTitle:L.subTitle,introText:L.introText,link:L.link,linkText:L.linkText,cardOrder:L.cardOrder,activeVariant:h,leftInitialPositionTablet:g,rightInitialPositionTablet:b,leftInitialPositionDesktop:N,rightInitialPositionDesktop:x,isMobile:!1,isTablet:S,ref:M}))))),!H&&o&&l.map(function(t,n){return e.createElement("div",{className:"featured-content__invisible-card featured-content__invisible-card--desktop",key:n,"aria-hidden":!0},e.createElement("section",null,e.createElement(Oe,{theme:c,categoryLabel:t.categoryLabel,slideTitle:t.slideTitle,subTitle:t.subTitle,introText:t.introText,link:t.link,linkText:t.linkText,cardOrder:t.cardOrder,activeVariant:h,imagePrimary:{src:{default:""}},imageSecondary:{src:{default:""}},imageTertiary:{src:{default:""}}})))})),e.createElement("div",{className:"featured-content__nav featured-content__nav--desktop"},P))}d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d();var ht={left:"polygon(0 0, 0 0, 0 0, 0 0, 0 0)",right:"polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%)"},pt={left:"polygon(0 0, 100% 0, 100% 40%, 55% 100%, 0 75%)",right:"polygon(33% 15%, 100% 0, 100% 100%, 0 100%)"},vt={left:"polygon(0 0, 100% 0, 100% calc(40% - 1px), 55% calc(100% - 1px), 0 calc(75% - 1px))",right:"polygon(calc(33% + 1px) calc(15% + 1px), 100% 1px, 100% 100%, 1px 100%)"},ft={left:"polygon(0 0, 0 0, 0 0, 0 0)",right:"polygon(100% 0, 100% 0, 100% 0, 100% 0)"},gt={left:"polygon(0 0, 100% 0, 65% 70%, 0 90%)",right:"polygon(0 0, 100% 0, 100% 85%, 35% 55%)"},Et={left:"polygon(0 0, calc(100% - 1px) 0, calc(65% - 1px) calc(70% - 1px), 0 calc(90% - 1px))",right:"polygon(1px 0, 100% 0, 100% calc(85% - 1px), calc(35% + 1px) calc(55% - 1px))"},_t={left:"polygon(0 0, 100% 0, 60% 80%, 0 97%)",right:"polygon(0 0, 100% 0, 100% 97%, 35% 55%)"},bt={left:"polygon(0 0, calc(100% - 1px) 0, calc(60% - 1px) calc(80% - 1px), 0 calc(97% - 1px))",right:"polygon(1px 0, 100% 0, 100% calc(97% - 1px), calc(35% + 1px) calc(55% - 1px))"},wt={left:{left:"calc(55% + 1px)",bottom:"0",transform:"rotate(-5deg)"},right:{left:"33%",top:"calc(15% + 2px)",transform:"rotate(-210deg)"}},yt={left:{left:"calc(55% + 1px)",bottom:"0px",transform:"rotate(10deg)"},right:{left:"33%",top:"calc(15% + 2px)",transform:"rotate(-168deg)"}},Nt={left:{left:"65%",top:"calc(70% - 2px)",transform:"rotate(35deg)"},right:{left:"35%",top:"55%",transform:"rotate(-160deg)"}},Ct={left:{left:"calc(65% + 1px)",top:"calc(70% - 2px)",transform:"rotate(120deg)"},right:{left:"calc(35% + 1px)",top:"calc(55% - 1px)",transform:"rotate(55deg)"}},kt={left:{left:"60%",top:"calc(80% - 1px)",transform:"rotate(20deg)"},right:{left:"35%",top:"55%",transform:"rotate(-155deg)"}},xt={left:{left:"calc(60% + 1px)",top:"80%",transform:"rotate(120deg)"},right:{left:"35%",top:"55%",transform:"rotate(80deg)"}};function Tt(t){var n,a,r=t.isMobile,c=t.isTablet,l=t.position,o=t.imageSrc,s=t.imageAlt,m={left:"",right:""},d={left:"",right:""},u={left:"",right:""};return r?(m=vt,d=pt,u=ht):c?(m=Et,d=gt,u=ft):(m=bt,d=_t,u=ft),e.createElement(e.Fragment,null,e.createElement(i.img,{className:"featured-signpost__image",src:o.default,srcSet:"".concat(null!==(n=o.small)&&void 0!==n?n:o.default," 576w, ").concat(null!==(a=o.medium)&&void 0!==a?a:o.default," 992w, ").concat(o.default," 1440w"),alt:s,animate:{clipPath:m[l]},initial:{clipPath:u[l]},loading:"lazy"}),e.createElement(i.div,{className:"featured-signpost__image-background",animate:{opacity:1,clipPath:d[l]},initial:{opacity:0,clipPath:u[l]}}))}var Lt={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function Mt(t){var n=t.isMobile,a=t.isTablet,r=t.position;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:wt[r],initial:!1},e.createElement("svg",{width:"100",height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L100 1",stroke:"black",strokeWidth:1},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:yt[r],initial:!1},e.createElement("svg",{width:"100",height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L100 1",stroke:"black",strokeWidth:1},Lt))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:Nt[r],initial:!1},e.createElement("svg",{width:"160",height:"2",viewBox:"0 0 160 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L160 1",stroke:"black"},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:Ct[r],initial:!1},e.createElement("svg",{width:"160",height:"2",viewBox:"0 0 160 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1L160 1",stroke:"black"},Lt))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"featured-signpost__line",animate:kt[r],initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},Lt)))),e.createElement(i.div,{className:"featured-signpost__line",animate:xt[r],initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},Lt)))))}function Ht(t){var n=t.theme,a=t.inverse,r=t.position,c=t.category,l=t.title,i=t.description,o=t.linkUrl,s=t.linkLabel,m=t.linkIsExternal,d=void 0!==m&&m,u=t.imageAlt,h=t.imageSrc,p=Le("1248px");return e.createElement("div",{className:v("featured-signpost","featured-signpost--".concat(r),n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"))},"left"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--mobile"},e.createElement(Tt,{isMobile:!0,isTablet:!1,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!0,isTablet:!1,position:r})),"left"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--desktop"},e.createElement(Tt,{isMobile:!1,isTablet:p,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!1,isTablet:p,position:r})),e.createElement("div",{className:"featured-signpost__content-wrapper"},e.createElement("div",{className:"featured-signpost__content"},c&&e.createElement("p",{className:"featured-signpost__category"},c)," ",e.createElement("h2",{className:"featured-signpost__title"},l),i&&e.createElement("p",{className:"featured-signpost__description"},i),e.createElement("div",{className:"featured-signpost__cta"},e.createElement(N,{url:o,title:s,theme:n,inverse:a,externalLink:d})))),"right"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--mobile"},e.createElement(Tt,{isMobile:!0,isTablet:!1,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!0,isTablet:!1,position:r})),"right"===r&&e.createElement("div",{className:"featured-signpost__image-container featured-signpost__image-container--desktop"},e.createElement(Tt,{isMobile:!1,isTablet:p,position:r,imageSrc:h,imageAlt:u}),e.createElement(Mt,{isMobile:!1,isTablet:p,position:r})))}d(),d();var St=function(t){var n,a=t.children,c=t.offset,l=r(null),m=o({target:l}).scrollYProgress,d=s(m,[0,1],[-(n=c),n]);return e.createElement(i.div,{className:"parallax",ref:l,style:{y:d}},a)};function Pt(t){var a=t.theme,c=t.title,l=t.image,i=t.youtubeId,o=t.youtubeButtonLabel,s=void 0===o?"Watch the video":o,m=t.audioYoutubeButtonLabel,d=void 0===m?"Watch the audio described video":m,u=t.audioYoutubeId,h=n(!1),p=h[0],f=h[1],g=r(i),E=Le("768px"),_=function(){f(!1),document.body.classList.remove("lock-scroll")},b=function(e){g.current=e,p?_():(f(!0),document.body.classList.add("lock-scroll"))};return e.createElement(e.Fragment,null,e.createElement("section",{className:v("featured-video",a&&"theme-".concat(a))},E?e.createElement("div",{className:"featured-video__mobile-image"},e.createElement("div",{className:"featured-video__image-wrapper",style:{backgroundImage:"url(".concat(l.src.default,")"),backgroundPosition:"50% 50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})):e.createElement(St,{offset:100},e.createElement("div",{className:"featured-video__image-wrapper",style:{backgroundImage:"url(".concat(l.src.default,")"),backgroundPosition:"50% 50%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})),e.createElement("div",{className:"featured-video__container"},e.createElement("h2",{className:"featured-video__title"},c),e.createElement("div",{className:"featured-video__button-wrapper"},e.createElement(De,{theme:a,inverse:!0,label:s,icon:"play",onClick:function(){return b(i)}}),u&&e.createElement("button",{className:"featured-video__button-audio",type:"button",onClick:function(){return b(u)}},d)))),p&&e.createElement(Be,{theme:a,closeModal:_,isOpen:p},e.createElement(Ze,{theme:a,id:g.current,autoPlay:!0})))}function Vt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.featuredArticle,l=t.otherLeadArticles;return e.createElement("section",{className:v("five-articles-grid",a&&"theme-".concat(a))},e.createElement("div",{className:"five-articles-grid__container"},r&&e.createElement("h2",{className:"five-articles-grid__heading"},r),e.createElement("div",{className:"five-articles-grid__main-container"},e.createElement("div",{className:"five-articles-grid__featured-card"},e.createElement(Ke,u({},c,{isPrimary:!0}))),e.createElement("ul",{className:"five-articles-grid__secondary-card-container"},l.map(function(t,n){return e.createElement("li",{className:"five-articles-grid__secondary-card",key:n},e.createElement(Ke,{theme:a,image:t.image,title:t.title,href:t.href,titleTag:t.titleTag,publishDate:t.publishDate}))})))))}function Ot(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title,o=t.externalLink,s=void 0!==o&&o;return e.createElement("a",{className:v("link-standard",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l,target:s?"_blank":"_self",rel:s?"noopener noreferrer":""},i)}d(),d();function Zt(e,t,n){var a="uob-uk-logo-light.svg",r=a;return"uk"===e&&"light"===t&&(r=a),"uk"===e&&"dark"===t&&(r="uob-uk-logo-dark.svg"),"dubai"===e&&"light"===t&&(r="uob-dubai-logo-light.svg"),"dubai"===e&&"dark"===t&&(r="uob-dubai-logo-dark.svg"),"".concat(n,"/").concat(r)}function qt(t){var n=t.activeCampus,a=void 0===n?"uk":n,r=t.imageMode,c=void 0===r?"light":r,l=t.ukHomepagePath,i=void 0===l?"/":l,o=t.dubaiHomepagePath,s=void 0===o?"/dubai":o,m=t.classNames,d=t.imageHeight,u=void 0===d?210:d,h=t.imageWidth,p=void 0===h?69:h,v=t.imageAltText,f=void 0===v?"":v,g=t.children,E=t.baseAssetUrl,_=void 0===E?"https://www.birmingham.ac.uk/Images/logos/uob":E,b=t.loadingAttr,w=void 0===b?"lazy":b;return e.createElement("a",{href:"uk"===a?i:s,className:m},e.createElement(H,{src:{default:Zt(a,c,_)},width:p,height:u,altText:f,loadingAttr:w}),g)}function Ft(t){var n=t.theme,a=t.locations,r=t.summaryLinks,c=t.hygieneLinks,l=t.activeCampus,i=void 0===l?"uk":l,o=t.address,s=t.telephoneAsNumber,m=t.telephoneAsDisplay,d=t.telIntroText,u=void 0===d?"":d,h=t.socialIcons;return e.createElement("footer",{id:"footer",className:"footer theme-".concat(n),"data-element":"footer"},e.createElement("div",{className:"footer__container"},e.createElement("div",{className:"footer__column-container"},e.createElement("div",{className:"footer__column-left"},e.createElement("div",{className:"footer__logo-wrapper"},e.createElement(qt,{activeCampus:i,imageMode:"dark",classNames:"footer__logo-link",imageWidth:240,imageHeight:79,imageAltText:"uk"===i?"University of Birmingham":"University of Birmingham Dubai"})),e.createElement("address",{className:"footer__address"},o.map(function(t,n){return e.createElement("p",{className:"footer__address-line",key:n},t)})),e.createElement("div",{className:"footer__telephone"},u&&e.createElement("p",null,u),"Tel:",e.createElement(Ot,{theme:n,url:"tel: ".concat(s),title:m,externalLink:!1})),e.createElement("ul",{className:"footer__social-wrapper"},h.map(function(t,a){return e.createElement("li",{key:a},e.createElement(qe,{icon:t.icon,theme:n,url:t.url,title:t.title,externalLink:!1}))}))),e.createElement("div",{className:"footer__column-middle"},e.createElement("details",{className:"footer__details",open:!r},e.createElement("summary",{className:"footer__summary-links"},"Global Footprint",e.createElement("i",{className:"footer__summary-icon"},e.createElement(_,{icon:"chevron-down",theme:n}))),e.createElement("ul",null,a.map(function(t,a){return e.createElement("li",{className:"footer__location",key:a},e.createElement("i",{className:"footer__location-icon"},e.createElement(_,{icon:"location",theme:n})),e.createElement(Ot,{theme:n,url:t.href,title:t.label,externalLink:t.externalLink}))}))),e.createElement("ul",null,r&&r.map(function(t,a){return e.createElement("li",{className:"footer__arrow-link",key:a},e.createElement(N,{theme:n,title:t.label,url:t.href,externalLink:t.externalLink}))}))),e.createElement("div",{className:"footer__map"},e.createElement(H,{src:{default:"data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Generator: Adobe Illustrator 27.8.0%2c SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3e%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 466 304' style='enable-background:new 0 0 466 304%3b' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:white%3bfilter:url(%23Adobe_OpacityMaskFilter)%3b%7d .st1%7bmask:url(%23mask0_4124_14261_00000137847102346873784780000003499357769935946391_)%3b%7d .st2%7bfill:%233C3C3B%3b%7d .st3%7bfill:white%3bstroke:%233C3C3B%3bstroke-width:0.5%3bstroke-miterlimit:10%3b%7d .st4%7bfill:%23C59A00%3bstroke:%233C3C3B%3bstroke-width:0.5%3bstroke-miterlimit:10%3b%7d .st5%7bfill:%23F7F7F7%3b%7d%3c/style%3e%3cdefs%3e %3cfilter id='Adobe_OpacityMaskFilter' filterUnits='userSpaceOnUse' x='0' y='24' width='466' height='279.1'%3e %3cfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0'/%3e %3c/filter%3e%3c/defs%3e%3cmask maskUnits='userSpaceOnUse' x='0' y='24' width='466' height='279.1' id='mask0_4124_14261_00000137847102346873784780000003499357769935946391_'%3e %3cpath class='st0' d='M466%2c24H0v279.1h466V24z'/%3e%3c/mask%3e%3cg class='st1'%3e %3cpath class='st2' d='M109%2c74.6l-4.1%2c4.4l-1.1-2.7l-2.2%2c1.9l-5.8-1.2L94%2c74.6l-3.8%2c1.4l-0.6%2c3.1l-0.7-3.6l-7.1-2.1l2.9-1.1L84.1%2c70 h-2.6l-3.5-5.1L74.8%2c66l0.9-2.9l-2.8%2c2.5v-5.2l-2.7%2c2.2l-9.8%2c1.9l-5.3-7.4l-6.5-4.4l-2.2-0.5l0.6-1.6l-3.7-3.2l-7.4%2c1.4l-6.7%2c4.1 l-2.8-0.4l-2%2c2.1l0.2%2c5.1l2.8%2c3.6l-5.1-0.1l0.5-1.9l-7.2%2c1.9l0.5%2c4.6l6.4%2c0.9l-2.3%2c3.9l-9.3%2c3.8L9.5%2c84l2.6-0.7L10.1%2c88l7.5%2c0.5 l-5.2%2c5.2L0%2c99l1.1%2c0.7l14.4-5.9l6.4-4.1L21%2c89.1l7.8-5.7c0%2c0-4.1%2c6-4%2c5.9c0.1-0.1%2c6.3-2%2c6.3-2l0.3-2l1.9%2c0.1l5.7%2c4.8l4.8%2c16 l2.2%2c3.4l5.7%2c12.8l-0.7%2c0.7l-4.1-7.1l-1.6%2c1.2l3.1%2c5.1l-0.6%2c6.5l-3.3%2c11.2l1.9%2c11l4.2%2c3.4l2.3%2c7.1l1.1%2c3l-1.5%2c0.4l6.6%2c8.2l0.7-0.3 L55%2c162.7l-1.1-4.4l1.2-0.2l2.2%2c5.9l3.1%2c4.8l4.6%2c6.6l-1%2c3.2l6.4%2c4.4l8.6%2c2.8l4.3%2c2.3l5.3%2c0.9l3.1%2c3.4l3.9%2c4.3l4.2%2c1.5v-1.8l3.5%2c2.1 l0.8-1.7l-2.5-2l-4%2c1l-2.8-3.6l1.1-6.4l-7.5-0.8l3.3-8.8l-4.5%2c0.5l-4.5%2c4.4l-5.6-3.2v-9.7l3.8-4.8l6.4-0.2l6.5-1.2l3.8%2c0.6l2.8%2c8 l1.7-0.5l-0.9-9.5l6-5.3l3.6-2.9l4.5-9.1l5.2-1.2l-1.3-2.6l6.2-3l1.3%2c3.2l9.2-4.9l-1.3-1.9l-3.1%2c1.6l-2.2-3.4l1.3-2.1l-4-1.1 l2.6-2.1l6.9%2c0.9l7-3.8v-3.6l-6-5.7l0.8-2.2l-2.2-7.4l-4.5%2c4.5L129%2c106l1-4.1l-4.1-4.3l-6-1l-1%2c7.5l-2%2c1.9l1.3%2c5.6l-2.3%2c2.5l-3%2c0.7 l0.2%2c6.3l-2.5%2c1.3l-2.4-3l1.5-5.5l-4-1.3l-3-3.2l-4.9-1.6l0.5-3.9l-1.3-0.6l2.5-6.3l6.1-4.3l1.9-2l1.8%2c0.2l3.1-2.8l2.4-3.4l2.3%2c0.9 l4-1.3l0.4-4.7l1.6-0.8l-0.1-2.9l-3.9-0.8l-3.8%2c6.7l-1.8-1.7l1.8-3.2l-1.4-0.7l-1.6%2c2.1l-0.1-3.8l-0.3-1.4l1.9-1.4l-0.2-5.7 l1.8-2.4l1.7-0.1l4.1-3.4l-4.9-1.8L112%2c66l-3.2%2c3.9l-1.4%2c2.3l2%2c1.5L109%2c74.6z'/%3e %3cpath class='st2' d='M104.1%2c199.6l-0.8-1.1l1.2-2.5l2-0.6l1.5-2.6l5.4-1.7l-0.7%2c2.1l3-2.1l6.6%2c3.3l3.1-0.8l3.2%2c2.9l4.9%2c4.1l6%2c0.7 l4%2c5.8l-0.9%2c2.4h2.9l6.4%2c3.5l6.4%2c0.3l4.5%2c2.7l2.2%2c1.5l0.9%2c3.8l-4.7%2c5.2l-1.2%2c4.8l-1.5%2c7.1l-3.2%2c5.5l-5%2c1.2l-3.3%2c3.6l0.3%2c3.9 l-7.2%2c11l-5.2-1.3l2.5%2c4.2l-4.5%2c4.7l-2.8-0.4l0.3%2c3.7h-3.2l0.4%2c7.2l-2.6%2c2l0.4%2c2l2.5%2c1.2l-0.1%2c1.5l-2.3%2c5.3l2.2%2c4.9l4.4%2c3.1l-6%2c1.4 l-7.7-6.2l-2.8-17.4l-0.9-14.3l0.5-12.8v-16l-8.2-5.5l-6.7-11.5l-2.1-1.9v-2.4l2.6-7.6l3.5-3.5L104.1%2c199.6z'/%3e %3cpath class='st2' d='M442.8%2c295.9l4.5-4.7l4.6-2.8l3.4-4.5l0.7%2c2l1.2-0.2l-0.3%2c1.7l-3.5%2c3.9l0.9%2c0.5l-3.1%2c0.8l-2.1%2c3.2l-3.3%2c2.8 L442.8%2c295.9z'/%3e %3cpath class='st2' d='M458.2%2c281.5l1.3%2c1.7l-0.1%2c1.2l-1.4%2c2l0.9%2c0.6l3.6-3.9l0.2-1.3l1.4-0.5l2-3.1l-1-0.4l-1%2c1.2l-1.6-1.5l-0.1-1.1 l-1-0.6v-1l-0.2-1l0.5-0.9l-2.1-2.6l-0.1%2c2l0.7%2c2.3l0.5%2c2.7l-0.7%2c2l-0.7%2c1.2L458.2%2c281.5z'/%3e %3cpath class='st2' d='M79.8%2c59.8V57l-1-1.2l7.8-8.5l6.4%2c3.2l0.9%2c3.5L79.8%2c59.8z'/%3e %3cpath class='st2' d='M93.4%2c55.6l4.6%2c4.7v2.9l2.9-5.9l1.9%2c2.1l-2.1%2c7.5l2.1%2c3.8L99%2c73.1l-4.1-2.7l-8%2c1.8l-0.5-3.1L84%2c67.9l0.7-3.6 l5.9%2c1.6l-5.9-3.2l3.8-1.4l-2.6-2.2L93.4%2c55.6z'/%3e %3cpath class='st2' d='M128.4%2c62.7l-4-1.3l-7.1%2c6.2v4.2l2.9%2c2.5l4%2c1.6l4.2-0.7l4%2c7.4l-3.2%2c6.3l-5.5%2c0.8l-0.2%2c2.1h4l2.7%2c5.4l5%2c2.7 l-2.1-5.2l4.3%2c2.9l0.5-4.5l-1.8-3.3l1.2-2.3l2.7%2c4.8l4.8-3.8l-6.6-6.5l2.6-2.2l-1.5-5.5l-5.9-5.6l0.1-3.3l-1.8-2.3L128.4%2c62.7z'/%3e %3cpath class='st2' d='M162.1%2c106.8l3.6-5.9l3.4-7.5l6.2-0.7l4.3-5.4l11.4-4.5l1.3-4.2v-7.3l4-10.5l2.1-3.4l-3.2-1.8l3.9-7.5l6.3-7.3 l-4.2-2.1l-4.1%2c2.5l-4.4-3.7l5.2-2.2l-4.8-6.1h-7.6l-8.5%2c1l0.7%2c6.2l-3-5.1l-11.6%2c3.3l-7.6%2c6.1l1.7%2c1.4l-3%2c3.8l-7.6%2c1.3l1.5%2c3.8 l4.2%2c1.3l-6.6%2c1.2l2%2c4.6l6.8%2c0.3l2.8%2c5.4l-0.6%2c9.8l3.2%2c3.8l-2%2c6.6l-3.9%2c3.8v9.7l3%2c6.6L162.1%2c106.8z'/%3e %3cpath class='st2' d='M213.2%2c155.2c0.1%2c0%2c5.9-2.4%2c5.9-2.4l10.8-1l1.9%2c3.2l-1.7%2c2.2l3.4%2c2.2l9.6%2c3.7l1.5-1.5l-0.5-1.7l2.7-1.5 l4.4%2c2.3l6.4%2c1.2l2.2-1.2l1.9%2c0.5l1%2c2.4l3.6%2c9.3l2.7%2c3.3l0.6%2c4.3l3.2%2c4.6l6.1%2c6l0.8%2c2.2l4.6-0.7l5.4-1.8v4l-3.4%2c6.4l-6.9%2c6.3 l-6.9%2c9l1%2c6l1.4%2c1.5v6l0.5%2c0.9l-2.5%2c3.4l-6.8%2c4.2l1.2%2c5.6l-1.2%2c2l-3.3%2c0.9l-0.1%2c3.7l-3.7%2c4.9l-5.5%2c4.5l-4.4%2c0.6l-5.2%2c1.3l-2.9-3.4 l0.8-1.9l-2.6-5.7l-2.1-2.4v-6.3l-4-7.5l0.2-3l2.4-4.8l0.7-2.6l-1.2-2.5l0.2-1.2l-2.1-4.7l-0.6-1.6l-3.4-4.1l1-4.8l-0.4-2.5 l-2.1-0.9l-2.6%2c0.8l-2.5-3.2l-5.1%2c0.4l-3.8%2c2.2l-3.3-0.9l-5.8%2c1.3l-7.2-5.5l-2-4l-3.5-2.7l0.4-2l-0.9-1.3l1.9-5.1l-0.7-3.9 l-0.9-1.7l3.9-6.7l2.2-2.4l4.8-3.7l0.8-4.2l5.2-5.5l1.3%2c1.4L213.2%2c155.2z'/%3e %3cpath class='st2' d='M396.3%2c50.3l-1.3-2.7l-4.8-1.3l-4.4%2c3.2l-6.8-2.3l-3-1.4l-1.1%2c3.3l-0.7-3l-6.7%2c0.5l2.1%2c4.8l-6.1%2c3.3l-2.4-1.7 l1.3%2c4.9l-6.7-4.9l-3.4-4l-5.1%2c0.4l1.1%2c3.7l-5.9%2c0.5l0.8-2.1l-6.1%2c1.7h-3.6l-4.2%2c6.7l3.9-13.3l-5.6-3.8l-5.1%2c2.2l-0.5-2.5l-3.5-1.7 l-2.2%2c1.6l1.8%2c4.6l-4.4%2c3.7l-6.7%2c4.5l2.1%2c6.3l-6.6%2c1.6l5.2%2c5.1l-6-1.5l-1.6%2c2.9l-2.3-3.3l-0.7%2c5l3.6%2c7.1l6.6%2c2.2l-6.1-1.1l2%2c2.1 l-2.1%2c5.5l-1.5-0.7l1.5-5.4l-3.4-6.1l-2-3.6l-0.6-4.3l-3.9-0.1v5.7l-0.8%2c1.2l0.2%2c1.4l0.6-0.5l1.2%2c3.7l2.9%2c1.8v1.5l-9.9-3.2 l-1.3%2c0.9l1.6%2c1.9l-1.2%2c1.9l-1.1-1.7l-5.7%2c2.7v-2.2l-5.8%2c5l-0.7%2c1.8l-2.8-1.4l1.8-1.4l-3.8-1.9l1.9%2c6.7l-2.7-0.6l-2%2c3.2l0.9%2c1.8 l-3.2%2c2.2l-3.8-2l-0.9-4l-2.2-1.8l6.8%2c1.6l2.9-1.5l-0.5-2.8l-5-2.4l-8.3-2.5l0.6-1.6l-4.3-1.5l-7.8%2c3.3l-3.8%2c5.3l-5.2%2c9.5l-7.1%2c6 l0.6%2c7.9l2.3%2c1.3l2.7-0.9l1.5-2.6l3%2c6.6l-1%2c1.6l2.7%2c1.2l0.4-2l2-0.6l0.6-4.5l2.7-3.3l-2.6-2.1l0.6-3.5l2.4-3l1.5-2.2l-0.2-2 l2.7-1.5l2.2%2c1.7l-4.9%2c6.3l0.8%2c5l2.8%2c1.5l5.8-1.9l2.9%2c1.4l-3.6%2c1.6l-5%2c0.2l-2%2c2.4l3.1-0.1l0.4%2c2.3l-3.1-0.7l-1.3%2c2.7l0.3%2c2.6 l-2.2%2c1.7l-0.4-1.5l-5.7%2c2.4l-1.9-1.1l-4.4-0.1l0.6-2.2l1.3-3.4l-3.4-0.5l-0.3%2c5.5l0.9%2c1.8l-4.4%2c0.9l-1.4%2c3.1l-2.9%2c2l-1.9%2c2.1 l-2%2c1.1l-0.7-1.4l-0.8%2c0.8l0.6%2c1.3l-4.2%2c0.6l-0.2%2c1l5.2%2c3.2l-0.4%2c4.8h-8l-2.5-0.4v3l0.8%2c2.6l-1.3%2c3.3l0.9%2c2.8h2.8l1.6%2c1.6l2-1.2 l3.2%2c0.1l2.9-3.5l-0.4-2l4.5-3.4l1-2.6l3.2%2c0.7l3.1-2.2l2.1%2c1.2l1%2c2.2l2.8%2c2.3l2.8%2c0.6l1.7%2c2.2l-0.4%2c1.8l-2.4%2c0.6l-2.2-0.6l3.6%2c3.1 l0.4-1.8l0.8-1.1l1.7-1.5l-0.6-1.9l0.2-0.5l2.2%2c0.7l-3.9-2.7l-2.6-2.2l-1.1-1.7l-1.2-0.4l0.1-2.7h3.2l1%2c2.5l5.9%2c4.2l-0.4%2c2.3 l2.9%2c3.5l1.9%2c2.9l1-0.5l1.1-2.8l-2-3.1c0%2c0%2c4.1-1%2c4.2-0.9c0.1%2c0.1%2c2.9%2c6.3%2c2.9%2c6.3l2.6%2c1.3l2.3-0.8l1.8%2c1.2l3.4-1.2l1.5%2c0.7 l-0.4%2c4.7l-2.4%2c4.1l-1.9-0.2l1.3%2c3.1l2.3%2c1.9l0.9%2c0.2l3.1%2c5l2.9%2c2.7l-0.2%2c2.2l1.4%2c2.1l4.6%2c5.6l0.8%2c5.1l1.5%2c0.9l11.1-4.4l7.9-5.7 l2.4-4.9l-1.8-2.3l-3-0.8l-0.5-3.3l-3%2c3.6h-3.5l-3.2-4.7l-2.4-3.6l2.2-1.4l2.8%2c3.6l4.1%2c2l3-0.7l1.8%2c2l5.6%2c1.2l7.2-0.5l2.8%2c2.8 l3%2c1.3l-1.8%2c1.2l2.5%2c2.2l2.7-1.3l1.4%2c6.9l2.6%2c6.1l3.1%2c6.6l1.1%2c0.9l1.8-2l1.6-4l-0.1-5.9l4.6-3.1l4.7-4.8l-0.4-1.3l4.4-0.7l1.1-1.6 l2%2c1.5l0.1%2c1.9l3.9%2c4.2l-0.1%2c3.6l2%2c0.1l2-2.2l1.6%2c3.7l1.4%2c3.7l-0.4%2c5.6l0.8%2c0.9l2.4%2c3.2l0.7%2c3l5%2c3.9l-1.1-3.6l-0.3-2.6l-3.2-2.4 l-0.7%2c0.1l-1.5-3.8l-0.8%2c0.2l-0.2-2.2l1.3-2.1l-0.2-1.9l1.3-0.2v1.4l1.5%2c0.1l1.9%2c2l2.9%2c2.2l-0.1%2c2.2l2.8-2.5l3-2l0.3-3.6l-2-3.5 l-2.9-3.2l-1.4-1.8l2.1-3.6l2.4-0.8l1.3%2c0.4l0.3%2c2l-1.9%2c1.7l0.6%2c1.7l2.2-0.8l0.7-2l-1-1l0.2-1.5l4.5-2l3.8-1.3l3.9-5l1.5-4.3 l-0.7-3.6l-1.3-4.5l-3.2-3.4l2.3-4.1l1.7-1l-2.3-0.6l-1.5-0.9l-0.7%2c1.8l-3.4-3.2l1.9-1l2.1-3.2l1.7%2c0.6l-0.5%2c3.1l4.1-2.2l1.5%2c1.2 l-0.1%2c2.9h2.6l0.8%2c2.1h-0.9l0.9%2c1.8l-0.1%2c2.3l4.2-1.8l-0.6-4.4l-4.3-3.2l2.5-2.6l-0.4-3.1l2.4-2.9l2.1%2c0.8l2.3-2l1.9-6.6l1.1-5.3 l-1.9-7.8l-1.2-4.2l-3.4-2.4l-1.9%2c2l-1.8-2.2l-2.5-0.6l3.4-9.1l1.4-4.9l7.4-1.6l-0.2-1.4l4.4%2c0.4l-0.8%2c1.2l4.4-1.9l-2.1-1.5l1-6.7 l3.2-1.3l2.2%2c3.8l1.4-6.6l2.4%2c4.8l-2.4%2c10.3l-0.3%2c7.7l7.3%2c12.4l1.3-6.2l-0.5-3.6l2.4-1.5l-2.2-4.6l1.2-0.3l-1.9-3.7l-0.7-1.9 l-0.9%2c0.6l-1.4-2.2l0.3-4.3l2-1.9l0.8%2c1.9l1.7-3.3l3%2c1.4l1.4-6.9l2.8-4.3l2.8%2c0.4l-7.7-7.3l2.1-1.9l0.3-4.2l3.4-1.1l5.2%2c2.9l0.2-3 l-3-2.2l3-1.8l-0.3-1.9l-6.8-1.2v2.4l-2.4-4.2l-13-2.2l-10.9%2c0.8l3.5%2c4.3l-1.1%2c1l-4.2-2.6l-5.9%2c2.4l-0.9%2c1.6L396.3%2c50.3z'/%3e %3cpath class='st2' d='M414.7%2c228.3l-2.3%2c4.4l6.7%2c4.7l3.6-11.1l2.8%2c5.5l2%2c8l4.5%2c7l3.5%2c6.1l-4.1%2c13l-5.9%2c9.3l-5.7%2c3.1l-1.8-2.4 l-1.7%2c1.5l-4.1-2.4l-1.8-9.9l-4.1%2c3.4l-0.8-5.3l-4.8-2l-9.5%2c2.4l-1.2%2c2.2l-5.8-0.8l-3.7%2c2.6l-3.4-2.8l2.6-4.6l-1.7-8.4l1.3-6.9 l7.4-4.2l3.9-0.9l2.9-5.2l6.7-3.5l3%2c1.4l2.2-4.3l5.9-0.5L414.7%2c228.3z'/%3e %3cpath class='st2' d='M287.2%2c226.5l-2.2%2c4.2l-5.1%2c2.7l-0.5%2c2.5l0.5%2c1.8l-1.8%2c4.6l0.6%2c3.4l2.2%2c1.3l2.3-0.5l4.6-11.8l0.1-1.8l0.9-0.9 l-0.4-4.2L287.2%2c226.5z'/%3e %3cpath class='st2' d='M416.7%2c280.4l1.8%2c1.4l2.6-0.6l-1.4%2c4.4l-3%2c1.9l-1.1-3.2L416.7%2c280.4z'/%3e %3cpath class='st2' d='M354.6%2c200.4c0.2%2c0.1%2c3.9%2c1.8%2c3.9%2c1.8l3.4%2c3l4.2%2c3l1%2c2.4l3%2c2.4l-0.4%2c4.5l-3.9-1.7l-5-7.2l-4.5-5.5l-2.2-2.1 L354.6%2c200.4z'/%3e %3cpath class='st2' d='M374.9%2c206.2l-0.7%2c2.8l1.7%2c2.1l0.3%2c2l6.2%2c1v0.8l2.2-0.8l2.4-6.6l1.9-0.2l-1.9-1.5l0.1-3l2.1-0.7l-1.2-2.2 l-2.4-1.6l-2.2%2c3.3l-1.6%2c0.2l-1.7%2c2.5l-2.4%2c0.8l-0.3%2c1.7L374.9%2c206.2z'/%3e %3cpath class='st2' d='M397.5%2c206.5l-1.5%2c1l-4.2-0.5l-3%2c6.2l0.6%2c4.4l1.8-0.3l-0.2-4.3l2%2c2.9l1.4-1.5l-1-2.7l4.5-4.6L397.5%2c206.5z'/%3e %3cpath class='st2' d='M369.9%2c218.1l1-0.5l5.4%2c1.5l0.8-0.7l4.9%2c2.2v1.1l-5.7-0.8l-3.1-0.4L369.9%2c218.1z'/%3e %3cpath class='st2' d='M406.2%2c210.6l3.4-1.1l1.2%2c3.1l2%2c1.2l3-2.7l5.1%2c1.6l5.8%2c2.4l2%2c2.5l1.7%2c0.4l0.4%2c0.9l-1.7%2c0.3l1.4%2c2.1l3.5%2c3.6 h-1.6l-6-4.6l-2.4%2c1.7l-0.7%2c1.2l-4.6-2.4l-3.2%2c1l1.6-2.1l-1.2-3.2l-5.5-2l-1.5%2c0.6l-1-2.2l2.1-0.6L406.2%2c210.6z'/%3e %3cpath class='st2' d='M409.7%2c127c0.2%2c0.1%2c5.9%2c3%2c5.9%2c3v2.4l-2.1%2c2l-3.2-1l0.3%2c3l2.1%2c2.5l0.7%2c5.9l-0.1%2c3.2l-4.1%2c2.9l-1.7-1.8v3.4 l-3.6%2c1.1l-2.3%2c4.1l-1.5-1.2l0.4-2.9l-1.1-0.4l2.6-3.3l4.7-1.3l0.7-2.2l2.5-1.8l1-4.9l-1-1.5l0.4-1.7l-1.8-2.9l1.4-2.1L409.7%2c127z' /%3e %3cpath class='st2' d='M212.9%2c111.7c0%2c0-1.7%2c2.1-1.6%2c2.1h2.7l-1.4%2c3l1.9%2c1.6l0.4%2c1.6l1.3%2c0.8l0.6%2c2.8h1.6l0.4%2c1.2l-1.1%2c1.6l0.1%2c0.6 l-3.7%2c1.1l-4.8%2c1.1l3.4-2.8l-2.9-0.6l1-3.1l1.6-0.7l-0.4-2.5l-2.1%2c0.5v-2.5l-1.2-1l0.3-2.3l-2.1-0.5l1.9-0.3l2.3-1.8L212.9%2c111.7z' /%3e %3cpath class='st2' d='M209.5%2c120.7l-1.2%2c0.7v3.4l-3.6%2c1.5l-2.1-1.3l2-2.3l-1.3-1.6l1.1-0.9l1%2c0.4l0.3-1l-0.3-0.4l2.2-1l1.3%2c1 L209.5%2c120.7z'/%3e %3cpath class='st2' d='M284.9%2c53.8l0.4%2c3l-7.3%2c6.6l-1.5%2c9.5l3.1%2c4.3l-7.1-2l1-10.7l6.3-7.7L284.9%2c53.8z'/%3e %3cpath class='st2' d='M190%2c92.5c0.1%2c0.2%2c1.9%2c2.2%2c1.9%2c2.2l2.2-1.1l3.6-1.1l3%2c3.1l-2.5%2c3.5l-4.6%2c1.7l-3.8-2.3l0.2-1.5l-1.7-1l-0.2-2 L190%2c92.5z'/%3e %3cpath class='st2' d='M113.3%2c58.6h-2.6l-0.9-1.1l-1.7%2c3.9l-1.8-0.7l0.3%2c4.3l0.7%2c2.2l2.8-1.2l1.7-3.2l-1.1-0.9L113.3%2c58.6z'/%3e %3cpath class='st2' d='M164.8%2c32.2l-14.7%2c10.2h-5.6v3.7l-5.3%2c4.3l-3.4-1.2l2.9%2c3.2l-2.9%2c2l-9.3-3.7l6.7-5.6l-3.2-2.8l-1.1-8l6.9-5.5 l3%2c7.6l7-0.1l-0.3-1.3l-5.8-0.1l-1.5-7.6l7.2-1.4l1.7%2c1.8l2.2-3.8l9.4%2c1.1l3.7%2c2.4L164.8%2c32.2z'/%3e %3cpath class='st2' d='M142.2%2c124.1l-1.2%2c1.4l-3.8%2c5.9l5.6%2c0.4l0.5%2c0.7l2.2-2.1l-0.9-2.1l-3.2%2c0.3l0.4-2l1.8-2.3L142.2%2c124.1z'/%3e %3cpath class='st2' d='M101.5%2c42.9l-5.5%2c3.9l5.5%2c2.3l-4.3%2c1.5l6.9%2c0.3l2.8%2c0.5l2.1-3.5l-1.3-4.3l-3.7%2c3.8L101.5%2c42.9z'/%3e %3cpath class='st2' d='M111.5%2c47.1l0.8%2c6.5l3%2c0.3l3.4-6.6l-4.7%2c1.8L111.5%2c47.1z'/%3e %3cpath class='st2' d='M120%2c49.1l2.6%2c1.9l-2.2%2c5.5l6%2c3.2l6.9%2c0.4l1.2-3.6l-4.4-1.6l-4.5%2c0.2l-1.3-3l1.1-1.1l-1.6-1.9l-3.2-2.3 L120%2c49.1z'/%3e %3cpath class='st2' d='M390.7%2c168.1c0%2c0-1.2%2c1.6-1.4%2c2.1s-0.1%2c1.2-0.1%2c1.2l0.8%2c2.5l1.4-4.9l0.6-0.9l-0.5-0.4L390.7%2c168.1z'/%3e%3c/g%3e%3cpath class='st3' d='M324.9%2c171.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L324.9%2c171.8z'/%3e%3cpath class='st4' d='M292.1%2c166.6c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L292.1%2c166.6z'/%3e%3cpath class='st3' d='M268.9%2c207.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L268.9%2c207.8z'/%3e%3cpath class='st3' d='M246.2%2c129.5c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L246.2%2c129.5z'/%3e%3cpath class='st3' d='M223%2c194.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L223%2c194.1z'/%3e%3cpath class='st3' d='M229%2c122.4c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L229%2c122.4z'/%3e%3cpath class='st3' d='M146.3%2c242.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L146.3%2c242.1z'/%3e%3cpath class='st3' d='M97.6%2c132.2c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2c0.3-0.6%2c0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L97.6%2c132.2z'/%3e%3cpath class='st4' d='M211.5%2c120.9c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L211.5%2c120.9z'/%3e%3cpath class='st3' d='M375.9%2c168.8c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L375.9%2c168.8z'/%3e%3cpath class='st3' d='M378.3%2c170.7c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L378.3%2c170.7z'/%3e%3cpath class='st3' d='M361.1%2c199.3c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L361.1%2c199.3z'/%3e%3cpath class='st3' d='M415.7%2c272.5c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2c0.3-0.6%2c0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6s0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L415.7%2c272.5z'/%3e%3cpath class='st3' d='M387.8%2c167.2c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L387.8%2c167.2z'/%3e%3cpath class='st5' d='M377.9%2c204.1c-0.5-0.5-0.8-1.1-0.9-1.8c-0.1-0.7%2c0-1.4%2c0.3-2s0.8-1.1%2c1.3-1.5c0.6-0.4%2c1.3-0.5%2c2-0.5 c0.7%2c0%2c1.4%2c0.2%2c1.9%2c0.6c0.6%2c0.4%2c1%2c0.9%2c1.2%2c1.6c0.2%2c0.6%2c0.3%2c1.3%2c0.1%2c2c-0.1%2c0.7-0.5%2c1.3-1%2c1.7l-2.4%2c3.1L377.9%2c204.1z'/%3e%3cpath class='st2' d='M389.5%2c172'/%3e%3c/svg%3e"},altText:"",width:368,height:240})))),e.createElement("div",{className:"footer__bottom-container"},e.createElement("div",{className:"footer__bottom-wrapper"},e.createElement("ul",{className:"footer__hygiene-link-wrapper"},c.map(function(t,a){return e.createElement("li",{className:"footer__hygiene-link",key:"hygiene-".concat(a)},e.createElement(Ot,{theme:n,url:t.href,title:t.label,externalLink:t.externalLink}))})),e.createElement("p",{className:"footer__copyright"},"© University of Birmingham ",(new Date).getFullYear()))))}function Bt(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.url,i=t.title,o=t.externalLink,s=void 0!==o&&o,m=t.iconRight,d=t.iconLeft,u=t.ariaLabel,h=t.onClick;return e.createElement("a",{className:v("link-with-icon",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),href:l,target:s?"_blank":"_self",rel:s?"noopener noreferrer":"","aria-label":u,onClick:h||void 0},d&&e.createElement("span",{className:"link-with-icon__icon link-with-icon__icon--left"},e.createElement(_,{icon:d.icon,theme:a,inverse:c,ariaHidden:!0})),e.createElement("span",{className:"link-with-icon__title"},i),m&&e.createElement("span",{className:"link-with-icon__icon link-with-icon__icon--right"},e.createElement(_,{icon:m.icon,theme:a,inverse:c,ariaHidden:!0})))}d(),d(),d();var Dt=function(e,t){var n;e.preventDefault(),null===(n=document.querySelector(t))||void 0===n||n.scrollIntoView({behavior:"smooth"})};function It(t){var n=t.iconType,a=t.title,r=t.valueLabel,c=t.value,l=t.scrollToSectionLink,i=t.theme,o=void 0===i?"uobmain":i;return e.createElement("div",{className:v("generic-detail",o&&"theme-".concat(o))},e.createElement("div",{className:"generic-detail__title-elements"},e.createElement("span",{className:"generic-detail__icon"},e.createElement(ze,{icon:n,backgroundColor:"pale",theme:o})),e.createElement("span",{className:"generic-detail__title"},a&&"".concat(a))),r&&e.createElement("div",{className:"generic-detail__value-label"},r&&"".concat(r)),e.createElement(x,{inverse:!0,theme:"uobmain",text:c}),l&&l.url&&l.title&&e.createElement("div",{className:"generic-detail__scroll-to-section-link"},e.createElement(Bt,u({},l,{inverse:!0,onClick:function(e){var t;return Dt(e,null!==(t=null==l?void 0:l.url)&&void 0!==t?t:"#")}}))))}function At(e){return"icon"in e}function $t(t){var n=t.theme,a=t.title,r=t.detailColumns,c=t.buttons;return e.createElement("section",{className:v("generic-detail-section",n&&"theme-".concat(n))},e.createElement("div",{className:"generic-detail-section__container"},a&&e.createElement("h2",{className:"generic-detail-section__title"},a),e.createElement("ul",{className:"generic-detail-section__details-container"},r.map(function(t,a){return e.createElement("ul",{key:a,className:"generic-detail-section__column"},t.map(function(t){return e.createElement("li",{className:"generic-detail-section__detail",key:t.title},e.createElement(It,u({},t,{theme:n})))}),3===r.length&&2===a&&c&&c.map(function(t,r){return e.createElement("li",{key:r,className:"generic-detail-section__detail generic-detail-section__detail--button"},At(t)?e.createElement(De,u({},t,{theme:n,hollow:a%2!=0})):e.createElement(y,u({},t,{theme:n,hollow:a%2!=0})))}))}),r.length<3&&c&&e.createElement("ul",null,c.map(function(t,a){return e.createElement("li",{key:a,className:"generic-detail-section__detail generic-detail-section__detail--button"},At(t)?e.createElement(De,u({},t,{theme:n})):e.createElement(y,u({},t,{theme:n,hollow:a%2!=0})))})))))}function Rt(t){var n=t.theme,a=t.name,r=t.defaultChecked,c=t.label,l=t.id,i=t.value,o=t.onChange;return e.createElement("div",{className:v("checkbox",n&&"theme-".concat(n))},e.createElement("input",{type:"checkbox",value:i,id:l,name:a,className:"checkbox__input",onChange:o,defaultChecked:r}),e.createElement("label",{htmlFor:l,className:"checkbox__label"},c))}function jt(t){var n=t.theme,a=t.name,r=t.value,c=t.label,l=t.id,i=t.onChange,o=t.defaultChecked;return e.createElement("div",{className:v("radio-button",n&&"theme-".concat(n))},e.createElement("input",{type:"radio",id:l,name:a,className:"radio-button__input",value:r,onChange:i,defaultChecked:o}),e.createElement("label",{htmlFor:l,className:"radio-button__label"},c))}function zt(t){var a=t.theme,r=t.heading,c=t.type,l=t.inputs,i=t.defaultIsOpen,o=void 0!==i&&i,s=t.showMoreText;l&&l.length>0&&(o=l.filter(function(e){return e.defaultChecked}).length>0||o);var m=n(o),d=m[0],h=m[1],p=n(!1),f=p[0],g=p[1],E=l&&l.length>10,b=E&&!f?l.slice(0,5):l,w=l&&l.length-5;return e.createElement("fieldset",{className:v("filter-accordion",d&&"filter-accordion--open",a&&"theme-".concat(a))},e.createElement("legend",{className:"filter-accordion__legend"},e.createElement("button",{className:"filter-accordion__button",onClick:function(){return h(function(e){return!e})},"aria-expanded":d,"aria-controls":r.replace(" ","")},r,e.createElement(_,{icon:"chevron-down",theme:a,inverse:!0,ariaHidden:!0}))),l&&e.createElement("ul",{className:"filter-accordion__list",id:r.replace(" ","")},d&&b&&"checkbox"===c&&b.map(function(t){return e.createElement("li",{className:"filter-accordion__list-item",key:t.id},e.createElement(Rt,u({},t,{theme:a})))}),d&&"radio"===c&&(null==b?void 0:b.map(function(t){return e.createElement("li",{className:"filter-accordion__list-item",key:t.id},e.createElement(jt,u({},t,{theme:a})))}))),d&&E&&e.createElement("button",{className:"filter-accordion__show-more",onClick:function(){return g(!f)}},"".concat(f?"Hide":"Show"," ").concat(w," more ").concat(s&&s)))}function Ut(t){var n=t.theme,a=t.heading,r=t.typeName,c=t.typeGroups,l=t.onClearFilters,i=t.onViewResults,o=t.defaultCheckedType,s=c.find(function(e){return e.value===o});return e.createElement("div",{className:v("general-search-filter",n&&"theme-".concat(n))},e.createElement("p",{className:"general-search-filter__heading"},a),e.createElement("ul",{className:"general-search-filter__list"},e.createElement("li",{className:"general-search-filter__item",key:"type"},e.createElement(zt,{type:"radio",heading:"Type",theme:n,defaultIsOpen:!0,inputs:c.map(function(e){return{name:r,value:e.value,label:e.label,id:e.id,defaultChecked:!!o&&o===e.value,onChange:e.onChange}})})),(null==s?void 0:s.checkboxGroups)&&s.checkboxGroups.length>0&&s.checkboxGroups.map(function(t){return e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"checkbox",heading:t.heading,theme:n,inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValues&&t.defaultValues.includes(e.value),onChange:t.onChange}})}))})),i&&e.createElement("div",{className:"general-search-filter__results-button"},e.createElement(y,{label:"View filtered results",onClick:i,theme:n})),e.createElement("div",{className:"general-search-filter__clear-button"},e.createElement(y,{label:"Clear filters",onClick:l,theme:n,hollow:!0})))}function Wt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Gt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}d(),d(),d(),d(),d();var Kt,Yt={exports:{}},Jt={exports:{}},Xt={};var Qt,en,tn,nn,an,rn,cn,ln,on,sn,mn,dn,un,hn,pn,vn={};
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.development.js
|
|
4
4
|
*
|
|
@@ -15,9 +15,9 @@ object-assign
|
|
|
15
15
|
/*!
|
|
16
16
|
* tabbable 6.2.0
|
|
17
17
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
18
|
-
*/var Cn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],kn=Cn.join(","),xn="undefined"==typeof Element,Tn=xn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ln=!xn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Mn=function e(t,n){var a;void 0===n&&(n=!0);var r=null==t||null===(a=t.getAttribute)||void 0===a?void 0:a.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Hn=function(e,t,n){if(Mn(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(kn));return t&&Tn.call(e,kn)&&a.unshift(e),a=a.filter(n)},Sn=function e(t,n,a){for(var r=[],c=Array.from(t);c.length;){var l=c.shift();if(!Mn(l,!1))if("SLOT"===l.tagName){var i=l.assignedElements(),o=e(i.length?i:l.children,!0,a);a.flatten?r.push.apply(r,o):r.push({scopeParent:l,candidates:o})}else{Tn.call(l,kn)&&a.filter(l)&&(n||!t.includes(l))&&r.push(l);var s=l.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(l),m=!Mn(s,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(l));if(s&&m){var d=e(!0===s?l.children:s.children,!0,a);a.flatten?r.push.apply(r,d):r.push({scopeParent:l,candidates:d})}else c.unshift.apply(c,l.children)}}return r},Pn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Vn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Pn(e)?0:e.tabIndex},On=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Zn=function(e){return"INPUT"===e.tagName},qn=function(e){return function(e){return Zn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Ln(e),a=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},
|
|
18
|
+
*/var Cn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],kn=Cn.join(","),xn="undefined"==typeof Element,Tn=xn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ln=!xn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Mn=function e(t,n){var a;void 0===n&&(n=!0);var r=null==t||null===(a=t.getAttribute)||void 0===a?void 0:a.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Hn=function(e,t,n){if(Mn(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(kn));return t&&Tn.call(e,kn)&&a.unshift(e),a=a.filter(n)},Sn=function e(t,n,a){for(var r=[],c=Array.from(t);c.length;){var l=c.shift();if(!Mn(l,!1))if("SLOT"===l.tagName){var i=l.assignedElements(),o=e(i.length?i:l.children,!0,a);a.flatten?r.push.apply(r,o):r.push({scopeParent:l,candidates:o})}else{Tn.call(l,kn)&&a.filter(l)&&(n||!t.includes(l))&&r.push(l);var s=l.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(l),m=!Mn(s,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(l));if(s&&m){var d=e(!0===s?l.children:s.children,!0,a);a.flatten?r.push.apply(r,d):r.push({scopeParent:l,candidates:d})}else c.unshift.apply(c,l.children)}}return r},Pn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Vn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Pn(e)?0:e.tabIndex},On=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Zn=function(e){return"INPUT"===e.tagName},qn=function(e){return function(e){return Zn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Ln(e),a=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Fn=function(e){var t=e.getBoundingClientRect(),n=t.width,a=t.height;return 0===n&&0===a},Bn=function(e,t){var n=t.displayCheck,a=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Tn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Tn.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Fn(e)}else{if("function"==typeof a){for(var c=e;e;){var l=e.parentElement,i=Ln(e);if(l&&!l.shadowRoot&&!0===a(l))return Fn(e);e=e.assignedSlot?e.assignedSlot:l||i===e.ownerDocument?l:i.host}e=c}if(function(e){var t,n,a,r,c=e&&Ln(e),l=null===(t=c)||void 0===t?void 0:t.host,i=!1;if(c&&c!==e)for(i=!!(null!==(n=l)&&void 0!==n&&null!==(a=n.ownerDocument)&&void 0!==a&&a.contains(l)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!i&&l;){var o,s,m;i=!(null===(s=l=null===(o=c=Ln(l))||void 0===o?void 0:o.host)||void 0===s||null===(m=s.ownerDocument)||void 0===m||!m.contains(l))}return i}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Dn=function(e,t){return!(t.disabled||Mn(t)||function(e){return Zn(e)&&"hidden"===e.type}(t)||Bn(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var a=t.children.item(n);if("LEGEND"===a.tagName)return!!Tn.call(t,"fieldset[disabled] *")||!a.contains(e)}return!0}t=t.parentElement}return!1}(t))},In=function(e,t){return!(qn(t)||Vn(t)<0||!Dn(e,t))},An=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},$n=function e(t){var n=[],a=[];return t.forEach(function(t,r){var c=!!t.scopeParent,l=c?t.scopeParent:t,i=function(e,t){var n=Vn(e);return n<0&&t&&!Pn(e)?0:n}(l,c),o=c?e(t.candidates):l;0===i?c?n.push.apply(n,o):n.push(l):a.push({documentOrder:r,tabIndex:i,item:t,isScope:c,content:o})}),a.sort(On).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},Rn=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Sn([e],t.includeContainer,{filter:In.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:An}):Hn(e,t.includeContainer,In.bind(null,t)),$n(n)},jn=function(e,t){return(t=t||{}).getShadowRoot?Sn([e],t.includeContainer,{filter:Dn.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Hn(e,t.includeContainer,Dn.bind(null,t))},zn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Tn.call(e,kn)&&In(t,e)},Un=Cn.concat("iframe").join(","),Wn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Tn.call(e,Un)&&Dn(t,e)},Gn=Object.freeze({__proto__:null,focusable:jn,getTabIndex:Vn,isFocusable:Wn,isTabbable:zn,tabbable:Rn});
|
|
19
19
|
/*!
|
|
20
20
|
* focus-trap 7.6.5
|
|
21
21
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
22
22
|
*/
|
|
23
|
-
function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function Yn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),!0).forEach(function(t){Yn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qn(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Kn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ea,ta,na=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var a=e.indexOf(t);-1===a||e.splice(a,1),e.push(t)},aa=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},ra=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ca=function(e){return ra(e)&&!e.shiftKey},la=function(e){return ra(e)&&e.shiftKey},ia=function(e){return setTimeout(e,0)},oa=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,n):e},sa=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},ma=[],da=Gt(Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,a=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||ma,c=Xn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ca,isKeyBackward:la},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},i=function(e,t,n){return e&&void 0!==e[t]?e[t]:c[n||t]},o=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return l.containerGroups.findIndex(function(t){var a=t.container,r=t.tabbableNodes;return a.contains(e)||(null==n?void 0:n.includes(a))||r.find(function(t){return t===e})})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,r=void 0!==n&&n,l=t.params,i=void 0===l?[]:l,o=c[e];if("function"==typeof o&&(o=o.apply(void 0,Qn(i))),!0===o&&(o=void 0),!o){if(void 0===o||!1===o)return o;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=o;if("string"==typeof o){try{s=a.querySelector(o)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!s&&!r)throw new Error("`".concat(e,"` as selector refers to no known node"))}return s},m=function(){var e=s("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Wn(e,c.tabbableOptions))if(o(a.activeElement)>=0)e=a.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}else null===e&&(e=s("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(l.containerGroups=l.containers.map(function(e){var t=Rn(e,c.tabbableOptions),n=jn(e,c.tabbableOptions),a=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,l=n.find(function(e){return zn(e)}),i=n.slice().reverse().find(function(e){return zn(e)}),o=!!t.find(function(e){return Vn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:o,firstTabbableNode:a,lastTabbableNode:r,firstDomTabbableNode:l,lastDomTabbableNode:i,nextTabbableNode:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?a?n.slice(n.indexOf(e)+1).find(function(e){return zn(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return zn(e)}):t[r+(a?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(e){return e.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},u=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?u(t.shadowRoot):t},h=function(e){!1!==e&&e!==u(document)&&(e&&e.focus?(e.focus({preventScroll:!!c.preventScroll}),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):h(m()))},p=function(e){var t=s("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,n=e.event,a=e.isBackward,r=void 0!==a&&a;t=t||sa(n),d();var i=null;if(l.tabbableGroups.length>0){var m=o(t,n),u=m>=0?l.containerGroups[m]:void 0;if(m<0)i=r?l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:l.tabbableGroups[0].firstTabbableNode;else if(r){var h=l.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(h<0&&(u.container===t||Wn(t,c.tabbableOptions)&&!zn(t,c.tabbableOptions)&&!u.nextTabbableNode(t,!1))&&(h=m),h>=0){var p=0===h?l.tabbableGroups.length-1:h-1,v=l.tabbableGroups[p];i=Vn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else ra(n)||(i=u.nextTabbableNode(t,!1))}else{var f=l.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(f<0&&(u.container===t||Wn(t,c.tabbableOptions)&&!zn(t,c.tabbableOptions)&&!u.nextTabbableNode(t))&&(f=m),f>=0){var g=f===l.tabbableGroups.length-1?0:f+1,E=l.tabbableGroups[g];i=Vn(t)>=0?E.firstTabbableNode:E.firstDomTabbableNode}else ra(n)||(i=u.nextTabbableNode(t))}}else i=s("fallbackFocus");return i},f=function(e){var t=sa(e);o(t,e)>=0||(oa(c.clickOutsideDeactivates,e)?n.deactivate({returnFocus:c.returnFocusOnDeactivate}):oa(c.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=sa(e),n=o(t,e)>=0;if(n||t instanceof Document)n&&(l.mostRecentlyFocusedNode=t);else{var a;e.stopImmediatePropagation();var r=!0;if(l.mostRecentlyFocusedNode)if(Vn(l.mostRecentlyFocusedNode)>0){var i=o(l.mostRecentlyFocusedNode),s=l.containerGroups[i].tabbableNodes;if(s.length>0){var d=s.findIndex(function(e){return e===l.mostRecentlyFocusedNode});d>=0&&(c.isKeyForward(l.recentNavEvent)?d+1<s.length&&(a=s[d+1],r=!1):d-1>=0&&(a=s[d-1],r=!1))}}else l.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Vn(e)>0})})||(r=!1);else r=!1;r&&(a=v({target:l.mostRecentlyFocusedNode,isBackward:c.isKeyBackward(l.recentNavEvent)})),h(a||(l.mostRecentlyFocusedNode||m()))}l.recentNavEvent=void 0},E=function(e){(c.isKeyForward(e)||c.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l.recentNavEvent=e;var n=v({event:e,isBackward:t});n&&(ra(e)&&e.preventDefault(),h(n))}(e,c.isKeyBackward(e))},_=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===oa(c.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},b=function(e){var t=sa(e);o(t,e)>=0||oa(c.clickOutsideDeactivates,e)||oa(c.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(l.active)return na(r,n),l.delayInitialFocusTimer=c.delayInitialFocus?ia(function(){h(m())}):h(m()),a.addEventListener("focusin",g,!0),a.addEventListener("mousedown",f,{capture:!0,passive:!1}),a.addEventListener("touchstart",f,{capture:!0,passive:!1}),a.addEventListener("click",b,{capture:!0,passive:!1}),a.addEventListener("keydown",E,{capture:!0,passive:!1}),a.addEventListener("keydown",_),n},y=function(){if(l.active)return a.removeEventListener("focusin",g,!0),a.removeEventListener("mousedown",f,!0),a.removeEventListener("touchstart",f,!0),a.removeEventListener("click",b,!0),a.removeEventListener("keydown",E,!0),a.removeEventListener("keydown",_),n},N="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===l.mostRecentlyFocusedNode})})&&h(m())}):void 0,C=function(){N&&(N.disconnect(),l.active&&!l.paused&&l.containers.map(function(e){N.observe(e,{subtree:!0,childList:!0})}))};return n={get active(){return l.active},get paused(){return l.paused},activate:function(e){if(l.active)return this;var t=i(e,"onActivate"),n=i(e,"onPostActivate"),r=i(e,"checkCanFocusTrap");r||d(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=u(a),null==t||t();var c=function(){r&&d(),w(),C(),null==n||n()};return r?(r(l.containers.concat()).then(c,c),this):(c(),this)},deactivate:function(e){if(!l.active)return this;var t=Xn({onDeactivate:c.onDeactivate,onPostDeactivate:c.onPostDeactivate,checkCanReturnFocus:c.checkCanReturnFocus},e);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,y(),l.active=!1,l.paused=!1,C(),aa(r,n);var a=i(t,"onDeactivate"),o=i(t,"onPostDeactivate"),s=i(t,"checkCanReturnFocus"),m=i(t,"returnFocus","returnFocusOnDeactivate");null==a||a();var d=function(){ia(function(){m&&h(p(l.nodeFocusedBeforeActivation)),null==o||o()})};return m&&s?(s(p(l.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return l.active?(l.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return l.active?(l.manuallyPaused=!1,r[r.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map(function(e){return"string"==typeof e?a.querySelector(e):e}),l.active&&d(),C(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return l.manuallyPaused}},_setPausedState:{value:function(e,t){if(l.paused===e)return this;if(l.paused=e,e){var n=i(t,"onPause"),a=i(t,"onPostPause");null==n||n(),y(),C(),null==a||a()}else{var r=i(t,"onUnpause"),c=i(t,"onPostUnpause");null==r||r(),d(),w(),C(),null==c||c()}return this}}}),n.updateContainerElements(e),n}})),ua=Gt(Gn);var ha=function(){if(ta)return ea;function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,i(a.key),a)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,n,a){return n=c(n),function(e,n){if(n&&("object"==t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,r()?Reflect.construct(n,a||[],c(e).constructor):n.apply(e,a))}function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,n);if("object"!=t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}ta=1;var o=e,s=Nn(),m=da.createFocusTrap,d=ua.isFocusable,u=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(n=a(this,t,[e]),"getNodeForOption",function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var a=arguments.length,r=new Array(a>1?a-1:0),c=1;c<a;c++)r[c-1]=arguments[c];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l,i=n;if("string"==typeof n&&!(i=null===(l=this.getDocument())||void 0===l?void 0:l.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return i}),n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var r=e.focusTrapOptions;for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&("returnFocusOnDeactivate"!==c&&"onDeactivate"!==c&&"onPostDeactivate"!==c&&"checkCanReturnFocus"!==c&&"clickOutsideDeactivates"!==c?n.internalOptions[c]=r[c]:n.originalOptions[c]=r[c]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n(t,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||d(e.outsideClick.target,e.internalOptions.tabbableOptions))),a=e.internalOptions.preventScroll,r=void 0!==a&&a;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,a=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();a&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?o.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===o.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return o.cloneElement(t,{ref:function(n){var a=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=a||[n]}})}return null}}])}(o.Component),h="undefined"==typeof Element?Function:Element;return u.propTypes={active:s.bool,paused:s.bool,focusTrapOptions:s.shape({document:s.object,onActivate:s.func,onPostActivate:s.func,checkCanFocusTrap:s.func,onPause:s.func,onPostPause:s.func,onUnpause:s.func,onPostUnpause:s.func,onDeactivate:s.func,onPostDeactivate:s.func,checkCanReturnFocus:s.func,initialFocus:s.oneOfType([s.instanceOf(h),s.string,s.bool,s.func]),fallbackFocus:s.oneOfType([s.instanceOf(h),s.string,s.func]),escapeDeactivates:s.oneOfType([s.bool,s.func]),clickOutsideDeactivates:s.oneOfType([s.bool,s.func]),returnFocusOnDeactivate:s.bool,setReturnFocus:s.oneOfType([s.instanceOf(h),s.string,s.bool,s.func]),allowOutsideClick:s.oneOfType([s.bool,s.func]),preventScroll:s.bool,tabbableOptions:s.shape({displayCheck:s.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:s.oneOfType([s.bool,s.func])}),trapStack:s.array,isKeyForward:s.func,isKeyBackward:s.func}),containerElements:s.arrayOf(s.instanceOf(h)),children:s.oneOfType([s.element,s.instanceOf(h)])},u.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:m},ea=u}(),pa=Wt(ha);d();var va=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.onClick,c=t.label,l=t.level,i=t.autoFocus,o=void 0!==i&&i;return e.createElement("button",{className:v("nav-link",a&&"theme-".concat(a),"nav-link--".concat(l)),onClick:r,autoFocus:o},e.createElement("span",{className:"nav-link__label"},c,e.createElement("span",{className:"nav-link__icon"},e.createElement(_,{icon:"chevron-right",theme:a,ariaHidden:!0}))))};d();var fa=function(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.url,i=t.label,o=t.level,s=t.autoFocus,m=void 0!==s&&s,d=t.externalLink,u=void 0!==d&&d,h=r(null);return a(function(){m&&h.current&&h.current.focus()},[m]),e.createElement("a",{className:v("page-link",c&&"theme-".concat(c),"page-link--".concat(o)),href:l,ref:h,target:u?"_blank":"_self",rel:u?"noopener noreferrer":""},i)};function ga(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.href,m=t.linkText,d=t.description,h=t.type;return e.createElement("div",{className:v("card-menu",h&&"card-menu--".concat(h),a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-menu__figure"},e.createElement("div",{className:"card-menu__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-menu__text-content"},"secondary"===h&&e.createElement(e.Fragment,null,e.createElement("p",{className:"card-menu__tag card-menu__tag"},i),e.createElement("a",{className:"card-menu__link",href:s},e.createElement("h2",{className:"card-menu__title"},o))),"primary"===h?e.createElement(e.Fragment,null,e.createElement("h2",{className:"card-menu__title"},o),e.createElement("p",{className:"card-menu__description"},d),e.createElement("div",{className:"card-menu__cta"},e.createElement(N,{theme:a,url:s,title:m||o}))):e.createElement("div",{className:"card-menu__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,ariaHidden:!0})))))}d();var Ea=function(t){var n=t.primaryLinks,a=t.secondaryLinks,r=t.onClickNavLink,c=t.menuCards,l=t.theme;return e.createElement("div",{className:"header__main-menu"},e.createElement("div",{className:"header__main-menu-menu-wrapper"},e.createElement("ul",{className:"header__main-menu-primary-list"},n.map(function(t,n){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(n)},key:t.label,theme:l,level:"level-one",autoFocus:0===n}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:l,level:"level-one",autoFocus:0===n,externalLink:t.externalLink})})),e.createElement("ul",{className:"header__main-menu-secondary-list"},a.map(function(t,a){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(a+n.length)},key:t.label,theme:l,level:"level-two"}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:l,level:"level-two",externalLink:t.externalLink})}))),e.createElement("ul",{className:"header__main-menu-promo-cards"},c&&c.map(function(t,n){return e.createElement("li",{key:n},e.createElement(ga,{theme:l,image:{src:{small:t.image.src.small,medium:t.image.src.medium,default:t.image.src.default}},description:t.description,tag:t.tag,title:t.title,linkText:t.linkText,href:t.href,type:t.type}))})))};d();var _a=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.label,i=t.onClick;return e.createElement("button",{className:v("reverse-link-with-arrow",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),onClick:i},e.createElement("span",{className:"reverse-link-with-arrow__title"},e.createElement("span",{className:"reverse-link-with-arrow__icon"},e.createElement(_,{icon:"arrow-left",theme:a,inverse:c,ariaHidden:!0})),l))},ba=function(t){var n=t.headingLink,a=t.onClickGoBack,r=t.onClickNavLink,c=t.theme,l=t.backLinkLabel;return e.createElement("div",{className:"header__nested-menu"},e.createElement(_a,{label:l,onClick:a,theme:c}),e.createElement("div",{className:"header__heading-link"},e.createElement(fa,{theme:c,url:n.url,label:n.label,level:"level-one",autoFocus:!0})),e.createElement("div",{className:"header__content-wrapper"},n.description&&e.createElement("p",{className:"header__description"},n.description),n.children&&e.createElement("ul",{className:v("header__link-list",n.description&&"header__link-list--with-desc")},n.children.map(function(t,n){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(n)},key:t.label,theme:c,level:"level-two"}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:c,level:"level-two",externalLink:t.externalLink})}))))};d();var wa=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.fieldName,i=t.hiddenLabel,o=void 0!==i&&i,s=t.defaultValue,m=t.placeholder,d=t.required,u=void 0!==d&&d,h=t.onChange;return e.createElement("div",{className:v("form-input",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("label",{htmlFor:l,className:v("form-input__label",o&&"sr-only")},"Select ",l),e.createElement("input",{className:"form-input__input",id:l,name:l,type:"text",required:u,defaultValue:s,placeholder:m,onChange:h}))},ya=function(t){var n=t.title,a=void 0===n?"Search":n,r=t.placeholder,c=void 0===r?"Start typing":r,l=t.introText,i=t.handleSearchChange,o=t.handleSearchSubmit,s=t.theme,m=t.inverse,d=t.onClickGoBack,u=t.backLinkLabel,h=t.recommendedLinks,p=t.recommendedLinkTitle;return e.createElement("div",{className:"header-search"},d&&u&&e.createElement("div",{className:"header-search__back-link"},e.createElement(_a,{label:u,onClick:d,theme:s})),e.createElement("div",{className:"header-search__container"},e.createElement("h2",{className:"header-search__title"},a),e.createElement("p",{className:"header-search__intro"},l),e.createElement("form",{className:"header-search__form",method:"post",onSubmit:o},e.createElement("div",{className:"header-search__search-wrapper"},e.createElement(wa,{theme:s,inverse:!1,fieldName:"search",hiddenLabel:!0,placeholder:c,onChange:i}),e.createElement(qe,{theme:s,inverse:!m,title:"Search",icon:"search",isSubmit:!0})),e.createElement(y,{theme:s,inverse:!m,label:"Search",isSubmit:!0}))),h&&e.createElement("div",{className:"header-search__recommended-links-wrapper"},p&&e.createElement("h3",{className:"header-search__recommended-link-title"},p),e.createElement("ul",{className:"header-search__recommended-links"},h.map(function(t,n){return e.createElement("li",{className:"header-search__recommended-link",key:n},e.createElement(Ot,{theme:s,url:t.url,title:t.label,externalLink:t.externalLink}))}))))};function Na(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.url,l=t.externalLink,i=t.active,o=void 0!==i&&i;return e.createElement("a",{className:v("campus-selector-link",a&&"theme-".concat(a),o&&"campus-selector-link--active"),href:c,target:l?"_blank":"_self",rel:"noreferrer"},r)}function Ca(t){var n=t.active,a=t.theme,r=t.ukUrl,c=t.dubaiUrl,l=t.mobile;return e.createElement("div",{className:v("campus-selector",a&&"theme-".concat(a),l&&"campus-selector--mobile",!l&&"campus-selector--desktop")},e.createElement("div",{className:"campus-selector__container"},e.createElement("span",{className:"campus-selector__label"},"Select campus:"),l?e.createElement(e.Fragment,null,e.createElement(y,{label:"UK",theme:a,inverse:!0,url:r,hollow:"uk"!==n}),e.createElement(y,{label:"Dubai",theme:a,inverse:!0,url:c,hollow:"dubai"!==n})):e.createElement(e.Fragment,null,e.createElement(Na,{label:"UK",theme:a,url:r,active:"uk"===n}),e.createElement(Na,{label:"Dubai",theme:a,url:c,active:"dubai"===n}))))}d(),d(),d();var ka=function(t){var c=t.theme,l=void 0===c?"uobmain":c,o=t.primaryLinks,s=t.secondaryLinks,d=t.menuCards,u=t.dubaiUrl,p=t.ukUrl,f=t.logoTitleTagH1,g=void 0===f||f,E=t.activeCampus,_=void 0===E?"uk":E,b=t.searchProps,w=function(){var e=n(null),t=e[0],r=e[1];return a(function(){var e=window.scrollY,n=function(){var n=window.scrollY,a=n>e?"down":"up";a!==t&&(n-e>3||n-e<-3)&&r(a),e=n>0?n:0};return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}},[t]),t}(),N=n(!1),C=N[0],k=N[1],x=r(null),T=r(null),L=r(null),M=Le("768px"),H=n(0),S=H[0],P=H[1],V=n(null),O=V[0],Z=V[1],q=n(null),B=q[0],F=q[1],D=n(!1),I=D[0],A=D[1],$=n(!1),R=$[0],j=$[1],z=n(""),U=z[0],W=z[1],G=function(){k(!0),document.body.classList.add("lock-scroll")},K=function(){A(!0),G()},Y=function(){A(!1),j(!1)},J=function(){k(!1),Y(),document.body.classList.remove("lock-scroll"),P(0),Z(null),F(null),x.current&&x.current.focus()},X=function(){P(0),Z(null),Y()},Q=function(){P(1),F(null),Y()},ee=function(e){"Escape"===e.key&&C&&J()};a(function(){return document.addEventListener("keydown",ee),function(){document.removeEventListener("keydown",ee)}}),a(function(){if(T.current&&"down"===w){var e=T.current.offsetHeight;T.current.style.top="-".concat(e,"px")}else if(T.current&&"up"===w){var t=0;L.current&&T.current&&(t=L.current.offsetHeight),T.current.style.top="-".concat(t,"px")}},[w]);var te=null,ne=null;null!==O&&(te=h(h([],o,!0),s,!0)[O],null!==B&&te.children&&(ne=te.children[B]));var ae=e.createElement("div",{className:"header__campus-selector header__campus-selector--mobile"},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!0})),re=e.createElement("div",{className:"header__campus-selector header__campus-selector--desktop",ref:L},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!1})),ce=e.createElement("div",{className:"header__campus-selector header__campus-selector--desktop"},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!1})),le=function(e){W(e.target.value)},ie=function(e){if(e.preventDefault(),"undefined"!=typeof window){var t=b.resultsUrl;window.location.href=U?"".concat(t,"?term=").concat(U):"".concat(t)}};return e.createElement("header",{className:v("header",l&&"theme-".concat(l),!C&&"header--is-closed","header--".concat(_)),id:"header",ref:T},e.createElement("div",{className:"header__closed"},re,e.createElement("div",{className:"header__top-container"},e.createElement("div",{className:"header__logo-wrapper"},e.createElement("div",{className:"header__logo-wrapper"},g?e.createElement("h1",{className:"header__logo-heading"},e.createElement(qt,{activeCampus:_,imageMode:"light",classNames:"header__logo-link",imageAltText:"uk"===_?"University of Birmingham":"University of Birmingham Dubai",loadingAttr:"eager"})):e.createElement(qt,{activeCampus:_,imageMode:"light",classNames:"header__logo-link",loadingAttr:"eager"},e.createElement("span",{className:"sr-only"},"uk"===_?"University of Birmingham":"University of Birmingham Dubai")))),e.createElement("div",{className:"header__right-wrapper"},e.createElement("div",{className:"header__search-button"},e.createElement(y,{theme:l,label:"Search",onClick:function(){j(!0),K()},hollow:!0})),e.createElement("div",{className:"header__menu-button"},e.createElement("span",null,"Menu"),e.createElement(qe,{theme:"uobmain",icon:"hamburger",onClick:G,title:"Open menu",ariaControls:"header",ref:x,ariaExpanded:C}))))),e.createElement(m,null,C&&e.createElement(pa,null,e.createElement(i.div,{className:"header__open",initial:{x:"100%"},animate:{x:"0"},exit:{x:"100%"},transition:{type:"tween"},key:"header__open"},ce,e.createElement("div",{className:"header__top-container"},e.createElement("div",{className:"header__logo-wrapper"},e.createElement(qt,{activeCampus:_,imageMode:"dark",classNames:"header__logo-link"},e.createElement("h1",{className:"sr-only"},"uk"===_?"University of Birmingham":"University of Birmingham Dubai"))),e.createElement("div",{className:"header__right-wrapper"},!M&&!I&&e.createElement("div",{className:"header__search-button-menu"},e.createElement(y,{theme:l,inverse:!0,label:"Search",onClick:K,hollow:!0})),e.createElement("div",{className:"header__menu-button"},e.createElement("span",null,"Menu"),e.createElement(qe,{theme:"uobmain",inverse:!0,icon:"cross",onClick:J,title:"Close menu",ariaControls:"header"})))),M&&!I&&e.createElement("div",{className:"header__search-button-mobile"},e.createElement(y,{theme:l,inverse:!0,label:"Search",onClick:K,hollow:!0})),0===S&&!I&&e.createElement(Ea,{primaryLinks:o,secondaryLinks:s,menuCards:d,onClickNavLink:function(e){P(1),Z(e)},theme:l}),0===S&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:R?void 0:X,backLinkLabel:R?"":"Back to menu",recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),1===S&&te&&!I&&e.createElement(ba,{headingLink:te,onClickNavLink:function(e){P(2),F(e)},theme:l,onClickGoBack:X,backLinkLabel:"Back to menu"}),1===S&&te&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:Q,backLinkLabel:"Back to ".concat(te.label),recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),2===S&&te&&ne&&!I&&e.createElement(ba,{headingLink:ne,onClickNavLink:function(){},theme:l,onClickGoBack:Q,backLinkLabel:"Back to ".concat(te.label)}),2===S&&te&&ne&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:function(){P(2),Y()},backLinkLabel:"Back to ".concat(ne.label),recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),ae))))},xa={mobile:{image:"polygon(0 0, calc(100% - 1px) 0, calc(75% - 1px) calc(70% - 1px), 0 calc(90% - 1px))",background:"polygon(0 0, 100% 0, 75% 70%, 0 90%)"},tablet:{image:"polygon(0 0, 100% 0, 100% calc(70% - 1px), calc(30% + 1px) calc(60% - 1px))",background:"polygon(0 0, 100% 0, 100% 70%, 30% 60%)"},desktop:{image:"polygon(1px 0, 100% 0, 100% calc(95% - 1px), calc(10% + 1px) calc(65% - 1px))",background:"polygon(0 0, 100% 0, 100% 95%, 10% 65%)"}};function Ta(t){var n,c,o=t.isMobile,s=t.isTablet,m=t.image,d=o?xa.mobile:s?xa.tablet:xa.desktop,u=r(null),h=l();return a(function(){var e;u.current&&u.current.setAttribute("fetchpriority",null!==(e=m.fetchPriority)&&void 0!==e?e:"auto")}),e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__polygon-image-wrapper"},e.createElement(i.img,{ref:u,className:"hero__image",src:m.src.default,srcSet:"".concat(null!==(n=m.src.small)&&void 0!==n?n:m.src.default," 576w, ").concat(null!==(c=m.src.medium)&&void 0!==c?c:m.src.default," 992w, ").concat(m.src.default," 1440w"),alt:m.alt,fetchPriority:m.fetchPriority,animate:{clipPath:d.image},transition:{type:"tween"}}),e.createElement(i.div,{key:h,className:"hero__polygon-image-background",animate:{opacity:1,clipPath:d.background},transition:{type:"tween"},initial:{opacity:0}})))}d();var La={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function Ma(t){var n=t.isMobile,a=t.isTablet;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"75%",bottom:"30%",transform:"rotate(10deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"75%",bottom:"30%",transform:"rotate(-15deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"calc(30% + 1px)",top:"calc(60% - 3px)",transform:"rotate(161deg)"},initial:!1},e.createElement("svg",{width:"120",height:"2",viewBox:"0 0 120 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"30%",top:"calc(60% - 1px)",transform:"rotate(26deg)"},initial:!1},e.createElement("svg",{width:"120",height:"2",viewBox:"0 0 120 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"10%",top:"calc(65% - 3px)",transform:"rotate(118deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"10%",top:"calc(65% - 3px)",transform:"rotate(41deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))))}d();var Ha=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.fieldName,i=t.selectOptions,o=t.defaultValue,s=void 0===o?"all":o,m=t.hiddenLabel,d=void 0!==m&&m,u=t.customLabel,h=t.title,p=t.onChange,f=t.value;return e.createElement("div",{className:v("form-select",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},u?e.createElement("label",{htmlFor:l,className:v("form-select__label",d&&"sr-only")},u):e.createElement("label",{htmlFor:l,className:v("form-select__label",d&&"sr-only")},"Select ",l),e.createElement("div",{className:"form-select__select-wrapper"},e.createElement("select",{className:"form-select__select",defaultValue:s,value:f,id:l,name:l,onChange:p},e.createElement("option",{value:"all"},h),i&&i.map(function(t,n){return e.createElement("option",{value:t.value,key:n},t.label)})),e.createElement("div",{className:"form-select__icon"},e.createElement(_,{icon:"arrow-down",theme:a,inverse:c}))))};function Sa(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.defaultSearchTerm,s=t.placeholder,m=t.filterTitle,d=t.filterFieldName,u=t.filterOptions,h=t.defaultFilter,p=void 0===h?"all":h,f=t.wrapped,g=void 0!==f&&f,E=t.fullWidth,_=void 0!==E&&E,b=t.onGrid,w=void 0!==b&&b,N=t.titleTag,C=void 0===N?"h2":N,k=t.formSubmitHandler,T=t.filterChangeHandler,L=t.searchTermChangeHandler,M=C;return e.createElement("div",{className:v("search-course",_&&"search-course--full-width",w&&"search-course--on-grid",g&&"search-course--wrapped",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),!d&&"search-course--no-filter")},e.createElement("div",{className:"search-course__container"},l&&e.createElement(M,{className:"search-course__title"},l),i&&e.createElement("div",{className:"search-course__description"},e.createElement(x,{text:i,theme:a,inverse:c})),e.createElement("form",{className:"search-course__form",method:"post",onSubmit:k},e.createElement("div",{className:"search-course__search-wrapper"},e.createElement(wa,{theme:a,inverse:c,fieldName:"search",hiddenLabel:!0,defaultValue:o,placeholder:s,onChange:L}),e.createElement(qe,{theme:a,inverse:!c,title:"Search",icon:"search",isSubmit:!0}),g&&e.createElement(y,{theme:a,inverse:!c,label:"Search",isSubmit:!0})),d&&m&&u&&e.createElement(Ha,{theme:a,inverse:c,title:m,fieldName:d,selectOptions:u,defaultValue:p,hiddenLabel:!0,onChange:T}),!g&&e.createElement(y,{theme:a,inverse:!c,label:"Search",isSubmit:!0}))))}function Pa(t){var n=t.theme,a=t.inverse,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.description,o=t.image,s=t.links,m=t.courseSearchProps,d=Le("768px"),h=Le("1248px");return e.createElement("div",{className:v("hero",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),o&&"hero--with-image"),id:"hero"},o&&"rectangle"===o.style&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--mobile hero__image-wrapper--rectangle"},e.createElement(H,u({},o,{altText:o.alt,fetchPriority:o.fetchPriority}))),o&&"lines-of-intent"===o.style&&d&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--mobile"},e.createElement(Ta,{isMobile:!0,isTablet:!1,image:o}),e.createElement(Ma,{isMobile:!0,isTablet:!1})),e.createElement("div",{className:"hero__container"},e.createElement("div",{className:"hero__content"},e.createElement(l,{className:"hero__title"},r),i&&e.createElement("div",{className:"hero__description"},e.createElement(x,{text:i,theme:n,inverse:a})),s&&s.length>0&&e.createElement("div",{className:"hero__buttons"},s.map(function(t,r){return e.createElement(y,{theme:n,key:r,url:t.url,label:t.title,externalLink:t.externalLink,inverse:!a,hollow:1===r})})),m&&e.createElement(Sa,u({theme:n,inverse:a,wrapped:!0},m))),o&&"rectangle"===o.style&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--rectangle"},e.createElement(H,u({},o,{altText:o.alt,fetchPriority:o.fetchPriority}))),o&&"lines-of-intent"===o.style&&h&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--polygon"},e.createElement(Ta,{isMobile:!1,isTablet:!0,image:o}),e.createElement(Ma,{isMobile:!1,isTablet:!0})),o&&"lines-of-intent"===o.style&&!d&&!h&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--polygon"},e.createElement(Ta,{isMobile:!1,isTablet:!1,image:o}),e.createElement(Ma,{isMobile:!1,isTablet:!1}))))}function Va(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.label,l=t.icons;return e.createElement("div",{className:v("share-buttons",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"))},c&&e.createElement("div",{className:"share-buttons__label"},c),l&&e.createElement("ul",{className:"share-buttons__icon-wrapper"},l.map(function(t,n){return e.createElement("li",{className:"share-buttons__icon",key:n},e.createElement(qe,{theme:a,title:t.title,icon:t.icon,url:t.url,inverse:r}))})))}function Oa(t){var n="items"in t?t.items:[t],a=(null!=n?n:[]).filter(function(e){return Boolean(e)});return e.createElement(e.Fragment,null,a.map(function(t,n){var r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=void 0!==l&&l,o=t.label,s=t.url,m=t.externalLink;return e.createElement(e.Fragment,{key:"".concat(s,"-").concat(o,"-").concat(n)},e.createElement("a",{className:v("paragraph-link",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse")),href:s,target:m?"_blank":"_self",rel:"noreferrer"},o),n<a.length-1?" ":null)}))}function Za(t){var n=t.theme,a=t.inverse,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.description,o=t.cardImage,s=t.publishDate,m=t.readTime,d=t.shareButtons,h=t.author,p=Array.isArray(h)?h:[h];return e.createElement("section",{className:v("hero-article",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"))},e.createElement("div",{className:"hero-article__container"},e.createElement("div",{className:"hero-article__content"},e.createElement(l,{className:"hero-article__title"},r),e.createElement("p",{className:"hero-article__description"},i),e.createElement("div",{className:"hero-article__meta-data"},s&&e.createElement("span",{className:"hero-article__publish-date"},s),s&&m&&e.createElement("span",{className:"hero-article__separator"},"•"),m&&e.createElement("span",{className:"hero-article__read-time"},m),h&&e.createElement(e.Fragment,null,e.createElement("span",{className:"hero-article__separator"},"•"),e.createElement("span",{className:"hero-article__author"},"by ",e.createElement(Oa,{items:p})))),e.createElement("div",{className:"hero-article__sharing-buttons"},e.createElement(Va,{theme:n,label:d.label,icons:d.icons,inverse:a})))),o&&e.createElement("div",{className:"hero-article__image-wrapper"},e.createElement(Ge,u({},o,{inverse:a}))))}function qa(t){var a=t.theme,r=t.inverse,c=t.buttonLabel,l=t.hollow,i=t.modalChildren,o=n(!1),s=o[0],m=o[1],d=function(){m(!1),document.body.classList.remove("lock-scroll")};return e.createElement("div",{className:v("modal-cta-button",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"))},e.createElement(y,{inverse:r,label:c,onClick:function(){s?d():(m(!0),document.body.classList.add("lock-scroll"))},theme:a,hollow:l}),s&&e.createElement(Fe,{centred:!0,theme:a,closeModal:d,isOpen:s},e.createElement(st,{className:"modal-cta-button__embed-wrapper"},i)))}function Ba(t){var n=t.title,a=t.value,r=t.link;return e.createElement("article",{className:"course-tile"},e.createElement("div",{className:"course-tile__top"},e.createElement("div",{className:"course-tile__title"},n),e.createElement("div",{className:"course-tile__value"},a)),r&&e.createElement("div",{className:"course-tile__link-wrapper"},e.createElement(Ft,u({},r,{inverse:!0,onClick:function(e){return Dt(e,r.url||"#")}}))))}function Fa(t){var n=t.title,a=t.selectProps;return e.createElement("article",{className:"course-tile-select"},e.createElement("div",{className:"course-tile-select__top"},e.createElement("div",{className:"course-tile-select__title"},n),e.createElement(Ha,u({},a,{inverse:!0}))))}function Da(t){var n=t.title,a=t.rank,r=t.rankText,c=t.link;return e.createElement("article",{className:"course-tile-ranking"},e.createElement("div",{className:"course-tile-ranking__top"},e.createElement("div",{className:"course-tile-ranking__title"},n),e.createElement("div",{className:"course-tile-ranking__rank"},a),e.createElement("div",{className:"course-tile-ranking__rank-text"},r)),c&&e.createElement("div",{className:"course-tile-ranking__link-wrapper"},e.createElement(Ft,u({},c,{inverse:!0,onClick:function(e){return Dt(e,c.url||"#")}}))))}function Ia(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.topPadding,i=void 0!==l&&l,o=t.selectorProps;return e.createElement("div",{className:v("location-selector",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:v("location-selector__container",i&&"location-selector__container--padding-top")},e.createElement(Ha,u({},o,{inverse:c}))))}function Aa(t){var n,a=t.theme,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.awardShort,o=t.links,s=t.ranking,m=t.award,d=t.campus,h=t.ucas,p=t.duration,f=t.entryRequirements,g=t.startDate,E=t.yearOfEntry,_=t.fees,b=t.deliveryFormat,w=t.locationDetails,N=t.modalCTA;return e.createElement("section",{className:v("hero-courses",a&&"theme-".concat(a)),id:"hero-courses"},e.createElement("div",{className:"hero-courses__container"},e.createElement("div",{className:"hero-courses__content"},e.createElement("div",{className:"hero-courses__title-wrapper"},e.createElement(k,{htmlTag:l,classNames:"hero-courses__title"},r&&r.length>0&&i&&i.length>0?r+" ":r,e.createElement("span",{className:"hero-courses__title-award"},i))),w&&e.createElement("div",{className:"hero-courses__location-wrapper"},e.createElement(Ia,u({},w,{inverse:!1}))),e.createElement("ul",{className:(n="hero-courses__grid--four",s&&(d||b||h)?n="hero-courses__grid--six":(s&&!d&&!b&&!h||!s&&(d||b||h))&&(n="hero-courses__grid--five"),"hero-courses__grid "+n)},s&&e.createElement("li",{className:"hero-courses__column hero-courses__column--ranking"},e.createElement(Da,u({},s))),(h||d||b)&&e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--award"},h&&e.createElement(Ba,u({},h)),d&&e.createElement(Ba,u({},d)),b&&e.createElement(Ba,u({},b))),p&&E?e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--duration"},e.createElement(Fa,u({},E)),e.createElement(Ba,u({},p))):p&&g?e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--duration"},e.createElement(Ba,u({},g)),e.createElement(Ba,u({},p))):e.createElement("li",{className:"hero-courses__column hero-courses__column--duration"},e.createElement(Ba,u({},p))),m&&e.createElement("li",{className:"hero-courses__column hero-courses__column--delivery-format"},e.createElement(Ba,u({},m))),e.createElement("li",{className:"hero-courses__column hero-courses__column--entry-requirements"},e.createElement(Ba,u({},f))),e.createElement("li",{className:"hero-courses__column hero-courses__column--fees"},e.createElement(Ba,u({},_)))),e.createElement("div",{className:"hero-courses__button-wrapper"},e.createElement("ul",{className:"hero-courses__buttons"},o&&o.map(function(t,n){return t.externalLink?e.createElement("li",{className:"hero-courses__button",key:n},e.createElement(De,{theme:a,label:t.label,icon:"external",hollow:n%2!=0,iconPosition:"right",url:t.url,inverse:!0,onClick:t.onClick})):e.createElement("li",{className:"hero-courses__button",key:n},e.createElement(y,{theme:a,label:t.label,hollow:n%2!=0,url:t.url,inverse:!0,onClick:t.onClick}))})),N&&e.createElement(qa,{theme:a,inverse:!N.inverse,hollow:!0,buttonLabel:N.buttonLabel,modalChildren:N.modalChildren})))))}d(),d(),d(),d(),d(),d(),d();var $a={first:{clipPath:"polygon(0 0, 95% 0, 75% 100%, 0 80%)"},second:{clipPath:"polygon(0 0, 100% 0, 75% 70%, 0 90%)"},third:{clipPath:"polygon(0 0, 80% 0, 95% 90%, 0 80%)"},visible:{opacity:1}},Ra={first:{clipPath:"polygon(0 0, calc(95% - 1px) 0, calc(75% - 1px) calc(100% - 1px), 0 calc(80% - 1px))"},second:{clipPath:"polygon(0 0, calc(100% - 1px) 0, calc(75% - 1px) calc(70% - 1px), 0 calc(90% - 1px))"},third:{clipPath:"polygon(0 0, calc(80% - 1px) 0, calc(95% - 1px) calc(90% - 1px), 0 calc(80% - 1px))"}},ja={first:{clipPath:"polygon(0 25%, 100% 5%, 100% 100%, 23% 100%)"},second:{clipPath:"polygon(33% 20%, 100% 5%, 100% 100%, 0 100%)"},third:{clipPath:"polygon(0 3%, 100% 20%, 100% 100%, 23% 100%)"},visible:{opacity:1}},za={first:{clipPath:"polygon(1px calc(25% + 1px), 100% calc(5% + 1px), 100% 100%, calc(23% + 1px) 100%)"},second:{clipPath:"polygon(calc(33% + 1px) calc(20% + 1px), 100% calc(5% + 1px), 100% 100%, 1px 100%)"},third:{clipPath:"polygon(1px calc(3% + 1px), 100% calc(20% + 1px), 100% 100%, calc(23% + 1px) 100%"}},Ua={first:{clipPath:"polygon(0 33%, 100% 10%, 100% 100%, 23% 100%)"},second:{clipPath:"polygon(33% 30%, 100% 10%, 100% 100%, 0 100%)"},third:{clipPath:"polygon(0 10%, 100% 25%, 100% 100%, 15% 100%)"},visible:{opacity:1}},Wa={first:{clipPath:"polygon(1px calc(33% + 1px), 100% calc(10% + 1px), 100% 100%, calc(23% + 1px) 100%)"},second:{clipPath:"polygon(calc(33% + 1px) calc(30% + 1px), 100% calc(10% + 1px), 100% 100%, 1px 100%)"},third:{clipPath:"polygon(1px calc(10% + 1px), 100% calc(25% + 1px), 100% 100%, calc(15% + 1px) 100%"}},Ga={first:{left:"calc(75% + 1px)",bottom:0,transform:"rotate(-40deg)"},second:{left:"75%",bottom:"30%",transform:"rotate(-15deg)"},third:{left:"95%",bottom:"10%",transform:"rotate(-70deg)"}},Ka={first:{left:"calc(75% + 1px)",bottom:0,transform:"rotate(-15deg)"},second:{left:"75%",bottom:"30%",transform:"rotate(10deg)"},third:{left:"95%",bottom:"10%",transform:"rotate(-30deg)"}},Ya={first:{left:"2px",top:"calc(25% - 1px)",transform:"rotate(-130deg)"},second:{left:"calc(33% + 2px)",top:"calc(20% - 1px)",transform:"rotate(-155deg)"},third:{left:"0",top:"calc(3% - 3px)",transform:"rotate(-170deg)"}},Ja={first:{left:"2px",top:"calc(25% - 1px)",transform:"rotate(-50deg)"},second:{left:"calc(33% + 2px)",top:"calc(20% - 1px)",transform:"rotate(-110deg)"},third:{left:"1px",top:"calc(3% - 1px)",transform:"rotate(-10deg)"}},Xa={first:{left:"2px",top:"calc(33% - 1px)",transform:"rotate(-130deg)"},second:{left:"calc(33% + 1px)",top:"calc(30% - 2px)",transform:"rotate(-160deg)"},third:{left:"1px",top:"calc(10% - 2px)",transform:"rotate(-160deg)"}},Qa={first:{left:"2px",top:"calc(33% - 1px)",transform:"rotate(-45deg)"},second:{left:"calc(33% + 1px)",top:"calc(30% - 2px)",transform:"rotate(-75deg)"},third:{left:"0",top:"calc(10%)",transform:"rotate(-15deg)"}},er={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function tr(t){var n=t.isMobile,a=t.isTablet,r=t.activeVariant;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Ga,animate:r,initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Ka,animate:r,initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140",stroke:"black"},er))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Ya,animate:r,initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Ja,animate:r,initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},er))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Xa,animate:r,initial:!1},e.createElement("svg",{width:"360",height:"2",viewBox:"0 0 360 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H360",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Qa,animate:r,initial:!1},e.createElement("svg",{width:"360",height:"2",viewBox:"0 0 360 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H360",stroke:"black"},er)))))}function nr(t){var n,c,o=t.isMobile,s=t.isTablet,d=t.activeVariant,u=t.imageSrc,h=t.imageAlt,p=t.imageFetchPriority,v=r(null),f=l();return a(function(){v.current&&v.current.setAttribute("fetchpriority",null!=p?p:"high")}),e.createElement(e.Fragment,null,e.createElement(m,null,e.createElement(i.div,{className:"hero-carousel__image-wrapper",transition:{delayChildren:1}},e.createElement(i.img,{ref:v,className:"hero-carousel__image",src:u.default,srcSet:"".concat(null!==(n=u.small)&&void 0!==n?n:u.default," 576w, ").concat(null!==(c=u.medium)&&void 0!==c?c:u.default," 992w, ").concat(u.default," 1440w"),alt:h,variants:o?Ra:s?za:Wa,animate:d,initial:{clipPath:"polygon(0 0, 0 0, 0 0, 0 0)"},transition:{type:"tween"}}),e.createElement(i.div,{key:f,className:"hero-carousel__image-background",variants:o?$a:s?ja:Ua,animate:["visible",d],exit:{backgroundColor:"rgba(255, 255, 255, 0)"},transition:{type:"tween"},initial:{opacity:0,clipPath:"polygon(1% 1%, 1% 1%, 1% 1%, 1% 1%)"}}))))}var ar=t(function(t,n){var a=t.theme,r=t.category,c=t.title,l=t.description,i=t.linkUrl,o=t.linkLabel,s=t.onKeyDown;return e.createElement(e.Fragment,null,e.createElement("p",{className:"hero-carousel__category"},r),e.createElement("h2",{className:"hero-carousel__title"},c),e.createElement("p",{className:"hero-carousel__description"},l),e.createElement("div",{className:"hero-carousel__cta"},e.createElement(N,{url:i,title:o,theme:a,inverse:!0,onKeyDown:s,ref:n})))});function rr(t){var a=t.theme,c=t.cards,l=c.length>1,o=n(0),s=o[0],m=o[1],d=c[s],u=r(null),h=Le("768px"),p=Le("1248px"),f="";switch(s){case 0:f="first";break;case 1:f="second";break;case 2:f="third"}var g=l?e.createElement(tt,{theme:a,totalNumber:c.length,currentNumber:s+1,carouselId:"hero-carousel",onClickPrev:function(){m(function(e){return e-1})},onClickNext:function(){m(function(e){return e+1})},prevButtonDisabled:0===s,nextButtonDisabled:s===c.length-1,showNumbers:!0}):e.createElement(e.Fragment,null);return e.createElement("div",{className:v("hero-carousel",a&&"theme-".concat(a)),id:"hero-carousel"},e.createElement("div",{className:"hero-carousel__top"},e.createElement("div",{className:"hero-carousel__content"},h&&e.createElement("div",{className:"hero-carousel__image-container hero-carousel__image-container--mobile"},e.createElement(nr,{isMobile:!0,isTablet:!1,activeVariant:f,imageSrc:d.imageSrc,imageAlt:d.imageAlt}),e.createElement(tr,{isMobile:!0,isTablet:!1,activeVariant:f})),e.createElement("div",{className:"hero-carousel__cards"},e.createElement(i.section,{className:"hero-carousel__active-card",key:s,initial:{opacity:0},animate:{opacity:1}},e.createElement(ar,{category:d.category,title:d.title,description:d.description,linkUrl:d.linkUrl,linkLabel:d.linkLabel,theme:a,ref:u})),h&&l&&c.map(function(t,n){return e.createElement("section",{className:"hero-carousel__invisible-card hero-carousel__invisible-card--mobile",key:n,"aria-hidden":!0},e.createElement(ar,{category:t.category,title:t.title,description:t.description,linkUrl:t.linkUrl,linkLabel:t.linkLabel,theme:a}))}),e.createElement("div",{className:"hero-carousel__nav hero-carousel__nav--desktop"},g)),e.createElement("div",{className:"hero-carousel__image-container hero-carousel__image-container--desktop"},e.createElement(nr,{isMobile:!1,isTablet:p,activeVariant:f,imageSrc:d.imageSrc,imageAlt:d.imageAlt}),e.createElement(tr,{isMobile:!1,isTablet:p,activeVariant:f}))),!h&&l&&c.map(function(t,n){return e.createElement("div",{className:"hero-carousel__invisible-card hero-carousel__invisible-card--desktop",key:n,"aria-hidden":!0},e.createElement("section",null,e.createElement(ar,{category:t.category,title:t.title,description:t.description,linkUrl:t.linkUrl,linkLabel:t.linkLabel,theme:a})))})),h&&e.createElement("div",{className:"hero-carousel__nav hero-carousel__nav--mobile"},g))}function cr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.title,l=t.description,i=t.linkProps,o=t.fullWidth,s=t.makeHeadingFullWidth,m=t.images,d=t.htmlTag;if(!m||0===m.length)return null;var h=3===m.length&&!o;return e.createElement("div",{className:v("image-block","theme-".concat(a),r&&"theme-".concat(a,"--inverse"),o?"image-block--full-width":"image-block--standard-width","image-block--count-".concat(m.length))},(c||l||i)&&e.createElement(L,{theme:a,inverse:r,title:c,description:l,linkProps:i,fullWidth:!!s,htmlTag:d}),e.createElement("div",{className:"image-block__container"},h?e.createElement("div",{className:"image-block__inner-grid"},m.map(function(t,n){return e.createElement("div",{key:n,className:"image-block__item"},e.createElement(Ge,u({},t,{theme:a,inverse:r})))})):m.map(function(t,n){return e.createElement("div",{key:n,className:v("image-block__item","image-block__item--index-".concat(n+1))},e.createElement(Ge,u({},t,{theme:a,inverse:r})))})))}function lr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.linkProps,s=t.fullWidth,m=void 0!==s&&s,d=t.widerImage,u=t.images,h=t.htmlTag;return e.createElement("section",{className:v("image-carousel",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),m&&"image-carousel--full-width",d&&"image-carousel--wider-image")},(l||i)&&e.createElement(L,{theme:a,htmlTag:h,inverse:c,title:l,description:i,linkProps:o}),e.createElement("div",{className:"image-carousel__grid"},e.createElement(nt,{theme:a,inverse:c,type:"image",cards:u})))}function ir(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=void 0===r?"Page contents":r,l=t.links,i=t.buttonLinks,o=t.locationDetails,s=function(e){var t=document.getElementById(e);if(t){var n=t.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:n,behavior:"smooth"});var a=null,r=null,c=0,l=function(){a&&(a.disconnect(),a=null),r&&(r.disconnect(),r=null),c&&(clearTimeout(c),c=0)},i=function(e){return!!e&&(a=new IntersectionObserver(function(t){t.some(function(e){return e.isIntersecting})&&function(e){try{e.focus({preventScroll:!0})}catch(e){}finally{l()}}(e)},{root:null,threshold:.1,rootMargin:"0px 0px -20% 0px"}),a.observe(e),!0)},o=t.querySelector("h1,h2,h3,h4,h5,h6");i(o)||(r=new MutationObserver(function(){o=t.querySelector("h1,h2,h3,h4,h5,h6"),i(o)&&r&&(r.disconnect(),r=null)})).observe(t,{childList:!0,subtree:!0}),c=window.setTimeout(function(){l();var e=t.querySelector('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(e){var n=!e.hasAttribute("tabindex");n&&e.setAttribute("tabindex","-1"),e.focus({preventScroll:!0}),n&&e.removeAttribute("tabindex")}},1e3)}},m=function(e,t){e.preventDefault(),s(t.replace("#",""))};return e.createElement("div",{className:v("in-page-navigation-links",a&&"theme-".concat(a))},e.createElement("h2",{className:"in-page-navigation-links__heading"},c),o&&e.createElement(Ia,u({},o,{inverse:!0})),e.createElement("nav",null,e.createElement("ul",{className:"in-page-navigation-links__link-container"},l.map(function(t){return e.createElement("li",{className:v("in-page-navigation-links__link-wrapper",t.active&&"in-page-navigation-links__link-wrapper--active"),key:t.url},e.createElement("a",{className:"in-page-navigation-links__link",href:t.url,onClick:function(e){return m(e,t.url)},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||m(e,t.url)}},t.title))}))),e.createElement("ul",null,i&&i.map(function(t,n){return t.externalLink?e.createElement("li",{className:"in-page-navigation-links__link-button",key:n},e.createElement(De,{theme:a,label:t.label,icon:"external",hollow:n%2!=0,iconPosition:"right",url:t.url,onClick:t.onClick})):e.createElement("li",{className:"in-page-navigation-links__link-button",key:n},e.createElement(y,{theme:a,label:t.label,hollow:n%2!=0,url:t.url,onClick:t.onClick}))})))}function or(t){var c,l,o=t.theme,s=void 0===o?"uobmain":o,d=t.inverse,h=void 0!==d&&d,p=t.links,f=t.expandableHeader,g=void 0===f?"Page contents":f,E=n(!1),_=E[0],b=E[1],w=n("not-docked"),y=w[0],N=w[1],C=n(null),k=C[0],x=C[1],T=r(null),L=r(null),M=r(null),H=r(null),S=r(null),P=function(){b(!1)};return a(function(){var e=function(e){!c.current||e.target instanceof HTMLElement&&c.current.contains(e.target)||l()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[c=S,l=function(){return P()}]),a(function(){var e;M.current=new IntersectionObserver(function(t){var n;e=null===(n=t.find(function(e){return e.isIntersecting}))||void 0===n?void 0:n.target,N(e?"docked":"not-docked")},{rootMargin:"0px 0px -100%"}),L.current=new IntersectionObserver(function(t){var n,a=null===(n=t.find(function(e){return e.isIntersecting}))||void 0===n?void 0:n.target;a?N("docked-at-bottom"):!a&&e&&N("docked")}),T.current=new IntersectionObserver(function(e){var t,n=null===(t=e.find(function(e){return e.isIntersecting}))||void 0===t?void 0:t.target;n&&x(n.id)},{rootMargin:"0px 0px -".concat(.7*window.innerHeight,"px 0px")});var t=document.querySelectorAll(".anchor-target");t.forEach(function(e){T&&T.current&&T.current.observe(e)});var n=document.querySelectorAll("#footer");n.forEach(function(e){L&&L.current&&L.current.observe(e)});var a=document.querySelectorAll("#sidebar");return a.forEach(function(e){M&&M.current&&M.current.observe(e)}),function(){t.forEach(function(e){T&&T.current&&T.current.unobserve(e)}),a.forEach(function(e){M&&M.current&&M.current.unobserve(e)}),n.forEach(function(e){L&&L.current&&L.current.unobserve(e)})}},[]),p.links.map(function(e){return e.url.substring(1)===k?e.active=!0:e.active=!1}),e.createElement("div",{className:v("in-page-navigation",s&&"theme-".concat(s),h&&"theme-".concat(s,"--inverse"))},e.createElement("div",{className:v("in-page-navigation--mobile",y)},e.createElement("div",{className:"in-page-navigation__closed"},e.createElement("div",{className:"in-page-navigation__top-container"},e.createElement("div",{className:"in-page-navigation__right-wrapper"},e.createElement("div",{className:"in-page-navigation__menu-button"},e.createElement("span",{className:"in-page-navigation__expandable-header"},g),e.createElement(qe,{theme:"uobmain",icon:"menu",onClick:function(){b(!0)},title:"Open menu",ariaControls:"in-page-navigation",ref:H,ariaExpanded:_})))))),_&&e.createElement("div",{className:"in-page-navigation__overlay"}),e.createElement(m,null,_&&e.createElement(i.div,{className:"in-page-navigation__open",initial:{x:"100%"},animate:{x:"0"},exit:{x:"100%"},transition:{type:"tween"},key:"in-page-navigation__open",ref:S},e.createElement(Be,null,e.createElement("div",{className:"in-page-navigation__nav"},e.createElement("div",{className:"in-page-navigation__top-container"},e.createElement("div",{className:"in-page-navigation__right-wrapper"},e.createElement("div",{className:"in-page-navigation__close-button"},e.createElement("span",null,"Close"),e.createElement(qe,{theme:"uobmain",inverse:!0,icon:"cross",onClick:P,title:"Close menu",ariaControls:"in-page-navigation"})))),e.createElement(ir,u({},p,{theme:"uobmain"})))))),e.createElement("div",{className:v("in-page-navigation--desktop",y)},e.createElement(ir,u({},p,{theme:s}))))}function sr(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.fullWidth,i=t.removeBottomPadding,o=void 0!==i&&i,s=t.removeTopPadding,m=void 0!==s&&s;return e.createElement("div",{className:v("intro-text",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),l&&"intro-text--full-width",o&&"intro-text--no-bottom-padding",m&&"intro-text--no-top-padding")},e.createElement("div",{className:"intro-text__container"},e.createElement("p",{className:"intro-text__text"},n)))}function mr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.cards,l=t.link;return e.createElement("div",{className:v("most-read-news",a&&"theme-".concat(a))},e.createElement("h2",{className:"most-read-news__title"},r),e.createElement("ul",{className:"most-read-news__card-container"},c.map(function(t,n){return e.createElement("li",{className:"most-read-news__card",key:n},e.createElement(Ke,{theme:a,title:t.title,href:t.href,titleTag:"h3",publishDate:t.publishDate}))})),l&&e.createElement(N,{theme:a,inverse:!0,url:l.url,title:l.title}))}function dr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.featuredArticle,c=t.otherLeadArticles,l=t.mostReadNews;return e.createElement("section",{className:v("lead-news-articles",a&&"theme-".concat(a))},e.createElement("div",{className:"lead-news-articles__container"},e.createElement("div",{className:"lead-news-articles__main-container"},e.createElement("div",{className:"lead-news-articles__featured-card"},e.createElement(Ke,u({},r,{isPrimary:!0}))),e.createElement("ul",{className:"lead-news-articles__secondary-card-container"},c.map(function(t,n){return e.createElement("li",{className:"lead-news-articles__secondary-card",key:n},e.createElement(Ke,{theme:a,image:t.image,title:t.title,href:t.href,titleTag:t.titleTag,publishDate:t.publishDate}))}))),e.createElement("div",{className:"lead-news-articles__side-container"},e.createElement(mr,u({},l)))))}function ur(t){var c=t.theme,l=t.showFilterButtonLabel,o=t.numSelected,s=t.filterElement,m=n(!1),d=m[0],u=m[1],h=r(null),p=function(e){"Escape"===e.key&&d&&u(!1)};return a(function(){return document.addEventListener("keydown",p),function(){document.removeEventListener("keydown",p)}}),a(function(){var e,t;d?null===(e=h.current)||void 0===e||e.showModal():null===(t=h.current)||void 0===t||t.close()},[d]),e.createElement(e.Fragment,null,e.createElement("div",{className:v("listing-filter-wrapper","theme-".concat(c))},e.createElement("div",{className:"listing-filter-wrapper__mobile"},e.createElement("button",{className:"listing-filter-wrapper__show-filter-button",onClick:function(){u(!0),document.body.classList.add("lock-scroll")}},e.createElement(_,{theme:"uobmain",icon:"settings"}),l,o&&e.createElement("span",{className:"listing-filter-wrapper__num-selected"},o,e.createElement("span",{className:"sr-only"},o>1?"filters":"filter"," selected"))))),e.createElement(Be,null,e.createElement(i.dialog,{className:v("listing-filter-wrapper__dialog","theme-".concat(c)),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},ref:h},e.createElement("div",{className:"listing-filter-wrapper__popup-wrapper"},e.createElement("div",{className:"listing-filter-wrapper__popup"},e.createElement("button",{className:"listing-filter-wrapper__close-button",onClick:function(){u(!1),document.body.classList.remove("lock-scroll")}},e.createElement(_,{icon:"slim-cross",theme:c,ariaHidden:!0}),e.createElement("span",{className:"sr-only"},"Close")),s)))),e.createElement("div",{className:"listing-filter-wrapper__desktop"},s))}function hr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.details,m=t.showCategory,d=void 0!==m&&m;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},d&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),o&&e.createElement("p",{className:"listing-result-card__description"},o),s.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:s,theme:a}))))}function pr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.titleTag,o=void 0===i?"h2":i,s=t.url,m=t.description,d=t.supervisors,h=t.department,p=t.details,v=t.showCategory,f=void 0!==v&&v;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},f&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement(k,{htmlTag:"h3"===o?"h3":"h2"},e.createElement("a",{className:"listing-result-card__title",href:s},l)),(d||h)&&e.createElement("div",{className:"listing-result-card__course-info"},d&&e.createElement("p",{className:"listing-result-card__supervisors"},"Supervisors: ",d),h&&e.createElement("p",{className:"listing-result-card__department"},h)),m&&e.createElement("p",{className:"listing-result-card__description"},m),p.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:p,theme:a}))))}function vr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.type,i=t.image,o=t.title,s=t.url,m=t.description,d=t.details,h=t.showCategory,p=void 0!==h&&h,v=t.cardDescriptionIsRichText,f=void 0!==v&&v,g=t.titleTag,E=void 0===g?"h2":g,_=t.eventStatus,b=void 0===_?void 0:_;return e.createElement(e.Fragment,null,i&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},i)),b&&e.createElement("div",{className:"listing-result-card__event-graphic"},e.createElement(Ae,{theme:"uobmain",status:b,day:void 0,month:void 0}))),e.createElement("div",{className:"listing-result-card__text"},p&&e.createElement("p",{className:"listing-result-card__category"},l),e.createElement(k,{htmlTag:E},e.createElement("a",{className:"listing-result-card__title",href:s},o)),m&&!f&&e.createElement("p",{className:"listing-result-card__description"},m),m&&f&&e.createElement(x,{theme:a,inverse:c,text:m}),d.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:d,theme:a}))))}function fr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.author,m=t.details,d=t.showCategory,h=void 0!==d&&d;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},h&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),s&&e.createElement("p",{className:"listing-result-card__author"},"by ",s),o&&e.createElement("p",{className:"listing-result-card__description"},o),m.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:m,theme:a}))))}function gr(t){var n=t.image,a=t.title,r=t.url,c=t.description;return e.createElement(e.Fragment,null,n&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},n))),e.createElement("div",{className:"listing-result-card__text"},e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:r},a)),c&&e.createElement("p",{className:"listing-result-card__description"},c)))}function Er(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.jobTitle,m=t.department,d=t.details,h=t.showCategory,p=void 0!==h&&h;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},p&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),(s||m)&&e.createElement("div",{className:"listing-result-card__staff-info"},s&&e.createElement("p",{className:"listing-result-card__job-title"},s),m&&e.createElement("p",{className:"listing-result-card__department"},m)),o&&e.createElement("p",{className:"listing-result-card__description"},o),d.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:d,theme:a}))))}function _r(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.image,c=t.title,l=t.url,i=t.description,o=t.jobTitle,s=t.department,m=t.details;return e.createElement(e.Fragment,null,r&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},r))),e.createElement("div",{className:"listing-result-card__text"},e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:l},c)),(o||s)&&e.createElement("div",{className:"listing-result-card__staff-info"},o&&e.createElement("p",{className:"listing-result-card__job-title"},o),s&&e.createElement("p",{className:"listing-result-card__department"},s)),i&&e.createElement("p",{className:"listing-result-card__description"},i.length>120?"".concat(i.slice(0,120),"..."):i),m.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:m,theme:a}))))}function br(t){return e.createElement("article",{className:v("listing-result-card",t.theme&&"theme-".concat(t.theme))},"page"===t.type&&e.createElement(gr,u({},t)),"course"===t.type&&e.createElement(pr,u({},t)),"accomodation"===t.type&&e.createElement(hr,u({},t)),"event"===t.type&&e.createElement(vr,u({},t)),"news"===t.type&&e.createElement(fr,u({},t)),"staff"===t.type&&e.createElement(Er,u({},t)),"profile"===t.type&&e.createElement(_r,u({},t)))}function wr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.showCategory,c=void 0!==r&&r,l=t.cards,i=t.headingInfo;return e.createElement(e.Fragment,null,i&&e.createElement(L,u({},i,{theme:a,fullWidth:!0})),e.createElement("ul",{className:v("listing-results",a&&"theme-".concat(a))},l.map(function(t,n){return e.createElement("li",{className:"listing-results__card",key:n},e.createElement(br,u({},t,{showCategory:c,theme:a})))})))}function yr(t){var n=t.count,a=t.theme,r=void 0===a?"uobmain":a;return e.createElement("p",{className:v("listing-results-count",r&&"theme-".concat(r))},e.createElement("span",{className:"listing-results-count__number"},n.toLocaleString())," results were found based on your search term")}function Nr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.listItems;return e.createElement("div",{className:v("list-table",a&&"theme-".concat(a))},(null==r?void 0:r.length)?e.createElement("ul",{className:"list-table__list"},null==r?void 0:r.map(function(t,n){return e.createElement("li",{key:t+n,className:"list-table__list-item"},e.createElement(x,{inverse:!0,theme:"uobmain",text:t}))})):null)}function Cr(t){var n=t.children;return e.createElement("main",{id:"main"},n)}function kr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.cards,l=t.cardType,i=void 0===l?"featured-news":l;return e.createElement("section",{className:v("news-articles-promo-block",a&&"theme-".concat(a),i&&"news-articles-promo-block--".concat(i))},e.createElement("div",{className:"news-articles-promo-block__heading-container"},r&&e.createElement("h2",{className:"news-articles-promo-block__heading"},r)),e.createElement("div",{className:"news-articles-promo-block__cards news-articles-promo-block__cards--mobile"},"featured-news"===i&&e.createElement(nt,{theme:a,type:"featured-news",cards:c,inverse:!0,cardTitleTag:"h3"}),"promo-video"===i&&e.createElement(nt,{theme:a,type:"promo-video",cards:c,inverse:!0,cardTitleTag:"h3",setCardInverse:"dark"})),e.createElement("ul",{className:"news-articles-promo-block__cards news-articles-promo-block__cards--desktop"},c.map(function(t,n){return e.createElement("li",{key:n},"featured-news"===i&&e.createElement(Ke,u({},t,{inverse:!0,titleTag:"h3"})),"promo-video"===i&&e.createElement(je,u({},t,{inverse:!1,titleTag:"h3"})))})))}function xr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.numOfPages,c=t.onClick,l=t.currentPage,i=Le("768px"),o=e.createElement("li",null,e.createElement("span",{className:"pagination__ellipse"},"..."));return i&&r<=4?e.createElement(e.Fragment,null,Array(r).fill(0).map(function(t,n){return e.createElement("li",{className:v("pagination__number",l===n&&"pagination__number--selected"),key:n},e.createElement(y,{label:(n+1).toString(),onClick:function(){return c(n)},hollow:!(l===n),theme:a}))})):i&&r>4?e.createElement(e.Fragment,null,l>0&&e.createElement("li",{key:0,className:"pagination__number"},e.createElement(y,{label:"1",onClick:function(){return c(0)},theme:a,hollow:!0})),l+1>=3&&o,e.createElement("li",{key:l,className:"pagination__number pagination__number--selected"},e.createElement(y,{label:"".concat(l+1," "),onClick:function(){return c(l)},theme:a})),l+1<r-1&&o,l!==r-1&&e.createElement("li",{key:r-1,className:"pagination__number"},e.createElement(y,{label:r.toString(),onClick:function(){return c(r-1)},theme:a,hollow:!0}))):!i&&r<=6?e.createElement(e.Fragment,null,Array(r).fill(0).map(function(t,n){return e.createElement("li",{key:n,className:v("pagination__number",l===n&&"pagination__number--selected","test")},e.createElement(y,{label:(n+1).toString(),onClick:function(){return c(n)},hollow:!(l===n),theme:a}))})):!i&&r>6?e.createElement(e.Fragment,null,l>0&&e.createElement("li",{key:0,className:"pagination__number start"},e.createElement(y,{label:"1",onClick:function(){return c(0)},theme:a,hollow:!0})),l+1>=4&&o,l>1&&e.createElement("li",{key:l-1,className:"pagination__number before"},e.createElement(y,{label:(l>=1?l:l-1).toString(),onClick:function(){return c(l-1)},theme:a,hollow:!0})),e.createElement("li",{key:l,className:"pagination__number pagination__number--selected current"},e.createElement(y,{label:"".concat(l+1),onClick:function(){return c(l)},theme:a})),l+1<r-1&&e.createElement("li",{key:l+1,className:"pagination__number after"},e.createElement(y,{label:"".concat(l+2),onClick:function(){return c(l+1)},theme:a,hollow:!0})),l+1<r-2&&o,l+1!==r&&e.createElement("li",{key:r-1,className:"pagination__number end"},e.createElement(y,{label:"".concat(r),onClick:function(){return c(r-1)},theme:a,hollow:!0}))):e.createElement(e.Fragment,null)}function Tr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.numOfPages,c=t.onClick,l=t.currentPage,i=!Le("1248px");return r<=1?e.createElement(e.Fragment,null):e.createElement("div",{className:v("pagination",a&&"theme-".concat(a))},e.createElement("ul",{className:"pagination__container"},e.createElement("li",{className:"pagination__prev",key:"prev"},i?e.createElement(y,{theme:a,label:"Previous",onClick:function(){return c(l-1)},hollow:!0,disabled:l<1}):e.createElement(qe,{theme:a,icon:"arrow-left",title:"Previous",onClick:function(){return c(l-1)},disabled:l<1,inverse:!0})),e.createElement(xr,{currentPage:l,onClick:c,theme:a,numOfPages:r}),e.createElement("li",{className:"pagination__next",key:"next"},i?e.createElement(y,{theme:a,label:"Next",onClick:function(){return c(l+1)},hollow:!0,disabled:l+1===r}):e.createElement(qe,{theme:a,icon:"arrow-right",title:"Next",onClick:function(){return c(l+1)},disabled:l+1===r,inverse:!0}))))}function Lr(t){var n,a=t.theme,r=t.inverse,c=t.type,l=t.title,i=t.description,o=t.link,s=t.cards,m=t.imageOrientation,d=void 0===m?"left":m,h=t.titleTag,p=void 0===h?"h2":h,f=t.cardTitleTag,g=void 0===f?"h3":f,_=t.cardCopyIsRichText,b=void 0!==_&&_,w=t.fullWidth,y=void 0!==w&&w,C=t.fullWidthTitle,x=void 0!==C&&C,T=t.showFilters,L=void 0!==T&&T,M=t.firstFilterSelect,H=t.secondFilterSelect,S=!1;Le("768px")?s.length>1&&(S=!0):(y&&s.length>2||s.length>3)&&(S=!0);var P=v(((n={})["promo-block__grid"]=!0,n["promo-block__grid--single"]=1===s.length,n["promo-block__grid--two-cards"]=2===s.length,n["promo-block__grid--three-cards"]=3===s.length,n["promo-block__grid--four-plus-cards"]=s.length>3,n));return e.createElement("div",{className:v("promo-block","promo-block--".concat(c),a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"),y&&"promo-block--full-width")},e.createElement("div",{className:"promo-block__container"},e.createElement("div",{className:v("promo-block__top",x&&"promo-block__top--full-width")},l&&e.createElement(k,{htmlTag:p,classNames:v("promo-block__title","h3"===p&&"promo-block__title--h3")},l),i&&e.createElement(E,{theme:"uobmain",inverse:r,text:i}),o&&e.createElement("div",{className:"promo-block__text-link"},e.createElement(N,{theme:a,inverse:r,url:o.url,title:o.title,externalLink:o.externalLink}))),L&&e.createElement("div",{className:"promo-block__filters"},e.createElement("div",{className:"promo-block__filter-wrapper"},M&&e.createElement(Ha,u({},M))),e.createElement("div",{className:"promo-block__filter-wrapper"},H&&e.createElement(Ha,u({},H)))),e.createElement("div",{className:"promo-block__content"},e.createElement("div",{className:"promo-block__cards"},!S&&e.createElement("ul",{className:P},s.map(function(t,n){return e.createElement("li",{className:"promo-block__card-item",key:n},function(t){var n=u(u({},t),{cardCopyIsRichText:b});switch(c){case"promo":return e.createElement($e,u({},n));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));case"promo-profile":return e.createElement(et,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:r,isSingle:1===s.length,imageOrientation:d,titleTag:g})))})),S&&e.createElement(nt,{theme:a,inverse:r,type:c,cards:s,cardTitleTag:g,cardCopyIsRichText:b})))))}function Mr(t){var n=t.theme,a=t.inverse,r=t.type,c=t.title,l=t.description,i=t.link,o=t.cards,s=t.imageOrientation,m=void 0===s?"left":s,d=t.fullWidth;return e.createElement("div",{className:v("promo-block-grid","promo-block-grid--".concat(r),n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),d&&"promo-block-grid--full-width"),id:"promo-block-grid"},e.createElement("div",{className:"promo-block-grid__container"},e.createElement("div",{className:"promo-block-grid__top"},c&&e.createElement("h2",null,c),l&&e.createElement(E,{theme:"uobmain",inverse:a,text:l}),i&&e.createElement("div",{className:"promo-block-grid__text-link"},e.createElement(N,{theme:"uobmain",inverse:a,url:i.url,title:i.title,externalLink:i.externalLink}))),e.createElement("div",{className:"promo-block-grid__content"},e.createElement("div",{className:"promo-block-grid__cards"},o.length>0&&e.createElement("ul",{className:"promo-block-grid__grid"},o.map(function(t,n){return e.createElement("li",{className:"promo-block-grid__card-item",key:n},function(t){switch(r){case"promo":return e.createElement($e,u({},t));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:a,isSingle:1===o.length,imageOrientation:m,titleTag:c?"h3":"h2"})))}))))))}function Hr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.title,l=t.description,i=t.cite,o=t.role,s=t.quote,m=t.quoteeProfileImage,d=t.quoteeProfileImageAltText,u=t.cta,h=t.fullWidth,p=void 0!==h&&h,f=t.htmlTag;return e.createElement("div",{className:v("quote-block","theme-".concat(a),r&&"theme-".concat(a,"--inverse"),p&&"quote-block--full-width")},(c||l)&&e.createElement(L,{theme:a,inverse:r,htmlTag:f,title:c,description:l}),e.createElement("blockquote",{className:v("quote-block__container",!m&&"quote-block__container--no-image")},e.createElement("div",{className:"quote-block__doublequote quote-block__doublequote--open"},e.createElement(_,{icon:"quote-marks",theme:a})),e.createElement("p",{className:"quote-block__quote"},s),m&&e.createElement("div",{className:"quote-block__quotee-image"},e.createElement(H,{src:{default:m},altText:d})),(i||o)&&e.createElement("footer",{className:"quote-block__cite"},i&&e.createElement("cite",{className:"quote-block__cite-cite"},i),o&&e.createElement("div",{className:"quote-block__cite-role"},o)),e.createElement("div",{className:"quote-block__doublequote quote-block__doublequote--close"},e.createElement(_,{icon:"quote-marks",theme:a})),u&&e.createElement("div",{className:"quote-block__optional-link"},e.createElement(N,{inverse:r,onKeyDown:function(){},theme:a,title:u.title,url:u.url}))))}function Sr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.heading,o=t.description,s=t.linkProps,m=t.headingStyle,d=t.fullWidth,h=t.cards,p=Le("768px"),f=p&&h.length>1||!p&&d&&h.length>2||!p&&!d&&h.length>3,g=v(((n={})["related-courses__grid"]=!0,n["related-courses__grid--single"]=1===h.length,n["related-courses__grid--two-cards"]=2===h.length,n["related-courses__grid--three-cards"]=3===h.length,n["related-courses__grid--four-plus-cards"]=h.length>3,n));return e.createElement("section",{className:v("related-courses",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),d&&"related-courses--full-width")},e.createElement("div",{className:"related-courses__container"},e.createElement("h2",{className:v("related-courses__heading",m&&"related-courses__heading--".concat(m))},i),o&&e.createElement("div",{className:"related-courses__description"},o),s&&s.url&&s.title&&e.createElement("div",{className:"related-courses__arrow-link-container"},e.createElement(N,{theme:r,inverse:l,title:s.title,url:s.url})),e.createElement("div",{className:"related-courses__cards"},!f&&e.createElement("ul",{className:g},h.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},e.createElement(We,u({},t)))})),f&&e.createElement(nt,{theme:r,inverse:l,type:"related",cards:h,cardTitleTag:"h3"}))))}function Pr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.headingProps,m=t.cards,d=Le("768px"),h=d&&m.length>1||!d&&m.length>2,p=v(((n={})["scholarship-carousel__grid"]=!0,n["scholarship-carousel__grid--single"]=1===m.length,n["scholarship-carousel__grid--two-cards"]=2===m.length,n["scholarship-carousel__grid--three-plus-cards"]=m.length>3,n));return e.createElement("section",{className:v("scholarship-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"scholarship-carousel--full-width")},e.createElement("div",{className:"scholarship-carousel__container"},s&&e.createElement(L,u({},s,{theme:r,inverse:l,fullWidth:o})),e.createElement("div",{className:"scholarship-carousel__cards"},!h&&e.createElement("ul",{className:p},m.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},e.createElement(Je,u({},t,{inverse:l})))})),h&&e.createElement(nt,{theme:r,inverse:l,type:"scholarship",cards:m,cardTitleTag:"h3"}))))}function Vr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.heading,m=t.headingStyle,d=void 0===m?null:m,h=t.cards,p=t.singleLink,f=t.titleTag,g=void 0===f?"h2":f,E=t.useCarousel,_=void 0===E||E,b=t.cardType,w=void 0===b?"staff":b,y=Le("768px"),C=_&&y&&h.length>1||_&&!y&&h.length>2,x="staff"===w,T=v(((n={})["staff-listing-carousel__grid"]=!0,n["staff-listing-carousel__grid--single"]=1===h.length,n["staff-listing-carousel__grid--two-cards"]=2===h.length,n["staff-listing-carousel__grid--three-plus-cards"]=h.length>3,n));return e.createElement("section",{className:v("staff-listing-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"staff-listing-carousel--full-width",!_&&"staff-listing-carousel--no-carousel")},e.createElement("div",{className:"staff-listing-carousel__container"},s&&e.createElement(k,{htmlTag:g,classNames:v("staff-listing-carousel__heading","staff-listing-carousel__heading--".concat(g),d&&"staff-listing-carousel__heading--".concat(d))},s),e.createElement("div",{className:"staff-listing-carousel__cards"},!C&&e.createElement("ul",{className:T},h.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},x?e.createElement(Ue,u({},t,{theme:r,inverse:l,isSingle:1===h.length})):e.createElement(et,u({},t,{theme:r,inverse:l})))})),C&&e.createElement(nt,{theme:r,inverse:l,type:w,cards:h,cardTitleTag:"h3"})),1===h.length&&p&&e.createElement(N,{theme:r,url:p.url,title:p.title,inverse:!0})))}function Or(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.sidebarElement,c=t.children;return e.createElement("div",{id:"sidebar",className:v("sidebar-wrapper",a&&"theme-".concat(a),!r&&"sidebar-wrapper--no-side-element")},e.createElement("div",{className:"sidebar-wrapper__grid-container"},r&&e.createElement("div",{className:"sidebar-wrapper__sidebar"},r),e.createElement("div",{className:"sidebar-wrapper__children"},c)))}function Zr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.items,i=t.fullWidth,o=void 0!==i&&i,s=t.htmlTag,m=void 0===s?"h2":s;return e.createElement("div",{className:v("signpost",o&&"signpost--full-width",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"signpost__container"},e.createElement("div",{className:"signpost__grid"},l.map(function(t){return e.createElement("div",{className:"signpost__item",key:t.title},t.tag&&e.createElement("p",{className:"signpost__tag"},t.tag),e.createElement(k,{htmlTag:m,classNames:"signpost__title"},t.title),e.createElement(N,{url:t.linkUrl,title:t.linkLabel,theme:a,inverse:c,externalLink:t.external}))}))))}function qr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.includeIcon,i=t.link,o=t.fullWidth;return e.createElement("div",{className:v("single-button",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),o&&"single-button--full-width")},e.createElement("div",{className:"single-button__container"},l?e.createElement(De,u({},i,{inverse:!c})):e.createElement(y,u({},i,{inverse:!c}))))}function Br(t){var n=t.theme,a=void 0===n?"uobmain":n;return e.createElement("div",{className:v("skip-to-content",a&&"theme-".concat(a))},e.createElement("a",{className:"skip-to-content__link",href:"#main"},"Skip to main content"))}function Fr(e,t){return g("".concat(null!=e?e:""," ").concat(t))}function Dr(t){var n=t.children,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c;return e.createElement("div",{className:v("tabs__list__container",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},e.createElement("ul",{className:"tabs__list",role:"tablist"},n))}function Ir(t){var n=t.title,a=t.htmlTag,r=void 0===a?"h3":a,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i,s=t.isActive,m=t.children,d=t.tabsBlockName;if(!s)return null;var u=Fr(null!=d?d:"",n);return e.createElement("div",{id:d,className:v("tabs__panel",l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),role:"tabpanel","aria-labelledby":"tab_"+u},e.createElement(k,{htmlTag:r,classNames:"tabs__panel-title"},n),m)}function Ar(t){var n=t.id,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i,s=t.tabItem,m=t.isActive,d=t.hasFocus,u=t.tabsBlockName,h=t.handleClick,p=t.handleKeyboardNavigation,f=r(null);a(function(){m&&d&&f.current&&(f.current.focus(),window.matchMedia("min-width: 768px").matches&&f.current.scrollIntoView())});var g=Fr(null!=u?u:"",s.title);return e.createElement("li",{className:"tabs__list-item",role:"presentation"},e.createElement("button",{className:v("tabs__tab",l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse"),m&&"active"),onClick:function(e){return h(e,n)},onKeyDown:p,ref:f,id:"tab_"+g,role:"tab","aria-controls":g,"aria-selected":m?"true":"false",tabIndex:m?0:-1,type:"button"},s.title))}function $r(t){var l=t.theme,i=void 0===l?"uobmain":l,o=t.inverse,s=void 0!==o&&o,m=t.title,d=t.description,h=t.tabItems,p=t.fullWidth,f=t.htmlTag,g=void 0===f?"h2":f,_=t.removeBottomPadding,b=void 0!==_&&_,w=t.name,k=t.enableHashNavigation,x=void 0!==k&&k,T=r(null),H=c(function(){return h.findIndex(function(e){return Fr(null!=w?w:"",e.title)===window.location.hash.substring(1)})},[h,w]),S=n(0),P=S[0],V=S[1],O=n(-1),Z=O[0],q=O[1],B=Le("1248px");function F(e){if(x){var t=window.location.href.replace(window.location.hash,""),n=Fr(null!=w?w:"",h[e].title);history.pushState(null,"null",t.concat("#",n))}}function D(e,t){e.preventDefault(),V(t),F(t)}a(function(){if(0!==window.location.hash.length){var e=H();e<0||(V(e),q(e))}},[H,V]);var I=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":case"Left":case"Up":if(0===P)return;V(P-1),q(P-1),F(P-1);break;case"ArrowRight":case"ArrowDown":case"Right":case"Down":if(P>=h.length-1)return;V(P+1),q(P+1),F(P+1);break;case"Home":V(0),q(0),F(0);break;case"End":V(h.length-1),q(h.length-1),F(h.length-1)}};function A(){var e="h3";return m&&"h2"===g?e="h3":m&&"h3"===g&&(e="h4"),e}return a(function(){var e=function(e){if(e.preventDefault(),0!==window.location.hash.length){var t=H();t<0||(V(t),q(t))}};return window.addEventListener("hashchange",e),function(){window.removeEventListener("hashchange",e)}},[P,H]),e.createElement(e.Fragment,null,B&&e.createElement(M,{heading:{title:m,description:d,fullWidth:p,htmlTag:g},theme:i,inverse:s,fullWidth:p,accordionItems:h.map(function(e,t){return{key:e.title||t,title:e.title,text:e.content,titleTag:e.titleTag?e.titleTag:A(),primaryButton:e.primaryButton,secondaryButton:e.secondaryButton,link:e.link}})}),e.createElement("div",{className:v("tabs",i&&"theme-".concat(i),s&&"theme-".concat(i,"--inverse"),p&&"tabs--full-width",b&&"tabs--no-bottom-padding"),id:"tabs",ref:T},!B&&e.createElement(e.Fragment,null,e.createElement(L,{theme:i,inverse:s,htmlTag:g,title:m,description:d,fullWidth:p}),e.createElement("div",{className:"tabs__container"},e.createElement("span",null,e.createElement(Dr,{theme:i,inverse:s},h.map(function(t,n){return e.createElement(Ar,{key:n,id:n,theme:i,inverse:s,tabItem:t,tabListTopRef:T,isActive:n===P,hasFocus:n===Z,enableHashNavigation:x,tabsBlockName:w,handleClick:D,handleKeyboardNavigation:I})})),h.map(function(t,n){return e.createElement(Ir,{key:n,isActive:n===P,inverse:s,theme:i,title:t.title,tabsBlockName:w,htmlTag:t.titleTag?t.titleTag:A()},t.content&&e.createElement(E,{theme:i,inverse:s,text:t.content}),t.accordionItems&&t.accordionItems.map(function(t){return e.createElement(C,u({key:t.key},t,{inverse:s}))}),(t.primaryButton&&t.primaryButton.text||t.secondaryButton&&t.secondaryButton.text)&&e.createElement("div",{className:"tabs__optional-buttons"},t.primaryButton&&t.primaryButton.text&&e.createElement(y,{label:t.primaryButton.text,url:t.primaryButton.url,theme:i,inverse:!s}),t.secondaryButton&&t.secondaryButton.text&&e.createElement(y,{hollow:!0,label:t.secondaryButton.text,url:t.secondaryButton.url,theme:i,inverse:!s})),t.link&&t.link.text&&e.createElement("div",{className:"tabs__optional-link"},e.createElement(N,{theme:i,inverse:s,url:t.link.url,title:t.link.text})))}))))))}function Rr(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.headingLevel,i=t.headingText,o=t.url,s=t.linkTitle,m=t.externalLink,d=t.linkStyle,u=t.fullWidth,h=t.removeBottomPadding,p=void 0!==h&&h,f=l;return e.createElement("div",{className:v("text-with-background",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),u&&"text-with-background--full-width",p&&"text-with-background--no-bottom-padding")},i&&e.createElement("div",{className:"text-with-background__heading-wrapper"},e.createElement(f,null,i)),e.createElement(E,{text:n,inverse:c,theme:r}),o&&s&&e.createElement("div",{className:"text-with-background__link-wrapper"},e.createElement("div",{className:"text-with-background__link-inner-wrapper"},("primary"===d||"secondary"===d)&&e.createElement(y,{url:o,theme:r,label:s,externalLink:m,hollow:"secondary"===d,inverse:!c}),"paragraph-link"===d&&e.createElement(Oa,{url:o,label:s,externalLink:m,theme:r,inverse:c}))))}function jr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.url,l=t.externalLink;return e.createElement("a",{className:v("pill",a&&"theme-".concat(a)),href:c,target:l?"_blank":"_self",rel:l?"noopener noreferrer":""},r)}function zr(t){var n=t.topics,a=t.theme,r=void 0===a?"uobmain":a,c=t.titleTag,l=t.heading;return e.createElement("section",{className:v("topics-selector",r&&"theme-".concat(r))},e.createElement("div",{className:"topics-selector__container"},"h2"===c?e.createElement("h2",{className:"topics-selector__heading"},l):e.createElement("h3",{className:"topics-selector__heading"},l),e.createElement("ul",{className:"topics-selector__topics-container"},n.map(function(t,n){return e.createElement("li",{className:"topics-selector__topic",key:n},e.createElement(jr,{theme:r,label:t.label,url:t.url,externalLink:t.externalLink}))}))))}ar.displayName="HeroCardContent",d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d();var Ur,Wr={exports:{}};var Gr,Kr=(Ur||(Ur=1,Gr=Wr,function(e,t){Gr.exports=t()}(0,function(){var e=[],t=[],n={},a={},r={};function c(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function l(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function i(e,t){return e.replace(t[0],function(n,a){var r,c,i=(r=t[1],c=arguments,r.replace(/\$(\d{1,2})/g,function(e,t){return c[t]||""}));return l(""===n?e[a-1]:n,i)})}function o(e,t,a){if(!e.length||n.hasOwnProperty(e))return t;for(var r=a.length;r--;){var c=a[r];if(c[0].test(t))return i(t,c)}return t}function s(e,t,n){return function(a){var r=a.toLowerCase();return t.hasOwnProperty(r)?l(a,r):e.hasOwnProperty(r)?l(a,e[r]):o(r,a,n)}}function m(e,t,n,a){return function(a){var r=a.toLowerCase();return!!t.hasOwnProperty(r)||!e.hasOwnProperty(r)&&o(r,r,n)===r}}function d(e,t,n){return(n?t+" ":"")+(1===t?d.singular(e):d.plural(e))}return d.plural=s(r,a,e),d.isPlural=m(r,a,e),d.singular=s(a,r,t),d.isSingular=m(a,r,t),d.addPluralRule=function(t,n){e.push([c(t),n])},d.addSingularRule=function(e,n){t.push([c(e),n])},d.addUncountableRule=function(e){"string"!=typeof e?(d.addPluralRule(e,"$0"),d.addSingularRule(e,"$0")):n[e.toLowerCase()]=!0},d.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),r[e]=t,a[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return d.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return d.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return d.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d})),Wr.exports),Yr=Wt(Kr);function Jr(t){var a=t.theme,r=t.heading,c=t.selectContent,l=t.defaultIsOpen,i=void 0!==l&&l;c&&(i=!!c.defaultValue||i);var o=n(i),s=o[0],m=o[1];return e.createElement("fieldset",{className:v("filter-accordion-select",s&&"filter-accordion-select--open",a&&"theme-".concat(a))},e.createElement("legend",{className:"filter-accordion-select__legend"},e.createElement("button",{className:"filter-accordion-select__button",onClick:function(){return m(function(e){return!e})},"aria-expanded":s,"aria-controls":r.replace(" ","")},r,e.createElement(_,{icon:"chevron-down",theme:a,inverse:!0,ariaHidden:!0}))),s&&e.createElement("div",{className:"filter-accordion-select__select-wrapper"},e.createElement(Ha,u({theme:a,inverse:!0},c))))}function Xr(t){var n=t.theme,a=t.name,r=t.id,c=t.label,l=t.defaultValue,i=t.onChange;return e.createElement("div",{className:v("date-input",n&&"theme-".concat(n))},e.createElement("label",{htmlFor:r,className:"date-input__label"},c),e.createElement("input",{type:"date",className:"date-input__input",defaultValue:l,onChange:i,name:a,id:r}))}d(),d(),d();var Qr,ec=function(e){var t=e.split(" "),n=t[t.length-1];return t[t.length-1]=Yr(n),t.join(" ")};function tc(t){var n=t.theme,a=t.heading,r=t.listingGroups,c=t.onClearFilters,l=t.onViewResults;return e.createElement("div",{className:v("standard-listing-filter",n&&"theme-".concat(n))},e.createElement("p",{className:"standard-listing-filter__heading"},a),e.createElement("ul",{className:"standard-listing-filter__list"},r.map(function(t){var a;return"date"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(Xr,u({},t,{theme:n,defaultValue:null!==(a=t.defaultValue)&&void 0!==a?a:"",onChange:t.onChange}))):"radio"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"radio",heading:t.heading,theme:n,showMoreText:ec(t.heading)||"",inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValue&&t.defaultValue===e.value,onChange:t.onChange}})})):"checkbox"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"checkbox",heading:t.heading,theme:n,showMoreText:ec(t.heading)||"",inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValues&&t.defaultValues.includes(e.value),onChange:t.onChange}})})):"select"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(Jr,{heading:t.heading,selectContent:t.selectContent,theme:n})):void 0})),l&&e.createElement("div",{className:"standard-listing-filter__results-button"},e.createElement(y,{label:"View selected results",onClick:l,theme:n})),e.createElement("div",{className:"standard-listing-filter__clear-button"},e.createElement(y,{label:"Clear filters",onClick:c,theme:n,hollow:!0})))}function nc(t){var n=t.theme,a=t.tag,r=t.title,c=t.linkUrl,l=t.linkText,o=t.externalLink,s=t.cards,m={initial:{opacity:0,y:150},animate:function(e){return{opacity:1,y:0,transition:{duration:.8,type:"spring",bounce:.2,delay:.2*e}}}};return e.createElement("div",{className:v("video-card-component",n&&"theme-".concat(n)),id:"video-card-component"},e.createElement("div",{className:"video-card-component__content"},a&&e.createElement("p",{className:"video-card-component__tag"},a),e.createElement("h2",{className:"video-card-component__title"},r),c&&l&&e.createElement("div",{className:"video-card-component__link"},e.createElement(N,{theme:n,url:c,title:l,inverse:!0,externalLink:o})),e.createElement("div",{className:"video-card-component__carousel"},e.createElement(nt,{theme:n,type:"video",inverse:!0,cards:s,cardTitleTag:"h3"})),e.createElement("ul",{className:v("video-card-component__cards-desktop",(!c||!l)&&"video-card-component__cards-desktop--no-link")},s.map(function(t,a){return e.createElement(i.li,{key:a,variants:m,initial:"initial",whileInView:"animate",viewport:{once:!0,amount:.2},custom:a},a<=1?e.createElement("div",{className:"video-card-component__lines video-card-component__lines--".concat(a)},1===a&&e.createElement("svg",{width:"406",height:"128",viewBox:"0 0 406 128",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1 1L123 29L210 127.5",stroke:"black"}),e.createElement("path",{d:"M13 112L123 29L405 51",stroke:"black"}))):"",e.createElement(Ie,{theme:n,image:{src:{default:t.image.src.default,medium:t.image.src.medium,small:t.image.src.small},altText:""},title:t.title,youtubeId:t.youtubeId,buttonLabel:t.buttonLabel,titleTag:"h3"}))}))))}function ac(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.imageSrc,c=t.onClick;return e.createElement("div",{className:v("video-placeholder",a&&"theme-".concat(a))},e.createElement(H,{src:r,altText:""}),e.createElement("button",{className:"video-placeholder__button",onClick:c},e.createElement("div",{className:"video-placeholder__svg-wrapper"},e.createElement("svg",{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e.createElement("path",{d:"M0 0V14L11 7L0 0Z",fill:"currentColor"}))),e.createElement("span",{className:"sr-only"},"Watch the video")))}function rc(t){var a=t.theme,r=void 0===a?"uobmain":a,c=t.imageSrc,l=t.videoUrl,i=t.videoId,o=n(!1),s=o[0],m=o[1];return e.createElement("div",{className:v("video-with-placeholder",r&&"theme-".concat(r))},s?e.createElement(Ze,{url:l,id:i,autoPlay:!0,theme:r}):e.createElement(ac,{imageSrc:c,onClick:function(){return m(!0)},theme:r}))}function cc(t){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.imageSrc,o=t.videoUrl,s=t.videoId,m=t.heading,d=t.audioDescribedVideoId,h=t.audioDescribedVideoUrl,p=t.transcript,f=t.fullWidth,g=void 0!==f&&f,E=t.videoCaption,_=t.videoCredit,b=n(!1),w=b[0],y=b[1];return e.createElement("div",{className:v("video-embed",g&&"video-embed--full-width",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},m&&e.createElement(L,u({},m,{theme:r,inverse:l})),e.createElement("div",{className:"video-embed__grid"},e.createElement("div",{className:"video-embed__content-wrapper"},e.createElement(rc,{theme:r,imageSrc:i,videoUrl:w?o:h,videoId:w?d:s}),(E||_)&&e.createElement("div",{className:"video-embed__caption-wrapper"},E&&e.createElement("p",{className:"video-embed__caption"},E),_&&e.createElement("p",{className:"video-embed__credit"},_)),(d||h)&&(w?e.createElement("button",{className:"video-embed__audio-described-button",onClick:function(){return y(!1)}},"Non-audio described version"):e.createElement("button",{className:"video-embed__audio-described-button",onClick:function(){return y(!0)}},"Audio described version")),p&&e.createElement("div",{className:"video-embed__transcript"},e.createElement(C,{titleTag:"h3",theme:r,title:"Transcript",text:p,inverse:l})))))}function lc(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.heading,m=t.description,d=t.cards,h=t.singleLink,p=t.titleTag,f=void 0===p?"h2":p,g=t.cardTitleTag,E=void 0===g?"h3":g,_=Le("768px"),b=_&&d.length>1||!_&&d.length>2,w=v(((n={})["research-story-carousel__grid"]=!0,n["research-story-carousel__grid--single"]=1===d.length,n["research-story-carousel__grid--two-cards"]=2===d.length,n["research-story-carousel__grid--three-plus-cards"]=d.length>3,n));return e.createElement("section",{className:v("research-story-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"research-story-carousel--full-width")},e.createElement("div",{className:"research-story-carousel__container"},(s||m||h)&&e.createElement(L,{theme:r,inverse:!0,htmlTag:f,title:s,description:m,linkProps:h,fullWidth:!0}),e.createElement("div",{className:"research-story-carousel__cards"},!b&&e.createElement("ul",{className:w},d.map(function(t,n){return e.createElement("li",{key:n},e.createElement(Ye,u({},t)))})),b&&e.createElement(nt,{theme:r,inverse:l,type:"research-story",cards:d,cardTitleTag:E}))))}function ic(t){var i=t.text,o=t.theme,s=void 0===o?"uobmain":o,m=t.inverse,d=t.fullWidth,u=void 0!==d&&d,h=t.removeBottomPadding,p=void 0!==h&&h,f=t.tableCategory,g=void 0===f?Qr.NotSpecified:f,E=r(null),_=n(!1),b=_[0],w=_[1],y=n(!0),N=y[0],C=y[1],k=n(!1),x=k[0],T=k[1],L=l(),M=function(){var e=E.current;e&&(w(e.scrollLeft>0),C(e.scrollLeft<e.scrollWidth-e.clientWidth))},H=c(function(){var e=E.current;if(e){var t=e.scrollWidth>e.clientWidth;T(t),M()}},[]),S=function(e){var t=E.current;if(t){var n="left"===e?t.scrollLeft-200:t.scrollLeft+200;t.scrollTo({left:n,behavior:"smooth"})}};return a(function(){H();var e=E.current;e&&e.addEventListener("scroll",M);var t=function(){return H()};return window.addEventListener("resize",t),function(){e&&e.removeEventListener("scroll",M),window.removeEventListener("resize",t)}},[H]),e.createElement("div",{className:v("scrollable-table",u&&"scrollable-table--full-width",s&&"theme-".concat(s),m&&"theme-".concat(s,"--inverse"),p&&"scrollable-table--no-bottom-padding")},e.createElement("div",{className:"scrollable-table__container"},e.createElement("span",null,x&&e.createElement("div",{className:"scrollable-table__scroll-button-wrapper"},e.createElement("p",null,"Scroll buttons"),e.createElement(qe,{key:"iconButtonLeft",theme:s,icon:"arrow-left",onClick:function(){return S("left")},title:"Scroll left",ariaControls:L,disabled:!b,inverse:m}),e.createElement(qe,{key:"iconButtonRight",theme:s,icon:"arrow-right",onClick:function(){return S("right")},title:"Scroll right",ariaControls:L,disabled:!N,inverse:m})),e.createElement("div",{className:v("scrollable-table__table-wrapper","scrollable-table__".concat(g),m&&"scrollable-table__".concat(g,"--inverse")),ref:E,id:L,tabIndex:0},e.createElement("span",{dangerouslySetInnerHTML:{__html:i}})))))}function oc(t){var a=t.theme,r=t.heading,c=t.inverse,l=t.description,i=t.buttonLabel,o=t.buttonModifier,s=t.modalChildren,m=t.htmlTag,d=void 0===m?"h3":m,u=n(!1),h=u[0],p=u[1],f=function(){p(!1),document.body.classList.remove("lock-scroll")};return e.createElement("div",{className:v("modal-cta",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement(k,{htmlTag:d,classNames:"modal-cta__heading"},r),l&&e.createElement("p",{className:"modal-cta__description"},l),e.createElement("div",{className:v("modal-cta__button",o&&"theme-".concat(a,"--buttonModifier"))},e.createElement(y,{inverse:!c,label:i,onClick:function(){h?f():(p(!0),document.body.classList.add("lock-scroll"))},theme:a,buttonModifier:o})),h&&e.createElement(Fe,{centred:!0,theme:a,closeModal:f,isOpen:h},e.createElement(st,{className:"modal-cta__embed-wrapper"},s)))}function sc(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.cards,i=Array.isArray(l)?l:[l];return e.createElement("div",{className:v("module-card-group",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"module-card-group__container"},e.createElement("div",{className:"module-card-group__grid"},i.map(function(t,n){return e.createElement(w,u({key:n},t,{theme:a}))}))))}function mc(t){var n=t.theme,a=t.embedChildren,r=t.googleMapLink,c=t.address,l=t.services,i=t.link,o=t.titleTag,s=void 0===o?"h2":o;return e.createElement("section",{className:v("location-section",n&&"theme-".concat(n),(!l||l.length<1)&&"location-section--no-services")},e.createElement("div",{className:"location-section__container"},e.createElement(k,{htmlTag:s,classNames:v("location-section__title","h3"===s&&"location-section__title--h3")},"Location"),e.createElement("div",{className:"location-section__grid-wrapper"},e.createElement("div",{className:"location-section__embed"},e.createElement(st,null,a)),e.createElement("div",{className:"location-section__address-wrapper"},e.createElement("div",{className:"location-section__address"},e.createElement(It,{theme:n,title:"Address",iconType:"slim-location",value:c.map(function(e){return"<span>".concat(e,"</span>")}).join("")})),i&&(null==i?void 0:i.title)&&(null==i?void 0:i.url)&&e.createElement("div",{className:"location-section__link-wrapper"},e.createElement(N,u({},i,{inverse:!0}))),r?e.createElement("div",{className:"location-section__button"},e.createElement(y,{label:"View on Google Maps",theme:n,url:r})):null),(null==l?void 0:l.length)?e.createElement("div",{className:"location-section__services"},null==l?void 0:l.map(function(t,a){return e.createElement(It,u({},t,{theme:n,key:a}))})):null)))}function dc(t){var n=t.theme,a=t.studentName,r=t.studentStatus,c=t.courseName,l=t.courseDetails,i=t.studyLevel,o=t.titleTag,s=void 0===o?"h2":o,m=t.homeCountry,d=t.studentIntro,h=t.image,p=t.inverse;return e.createElement("div",{className:v("heroProfile",n&&"theme-".concat(n),p&&"theme-".concat(n,"--inverse")),id:"hero"},e.createElement("div",{className:"heroProfile__container"},e.createElement("div",{className:"heroProfile__details"},a&&e.createElement(s,{className:"heroProfile__title"},a),r&&e.createElement("p",{className:"heroProfile__status"},r),c&&e.createElement("p",{className:"heroProfile__courseName"},c),(i||m||l&&l.length>0)&&e.createElement("ul",{className:"heroProfile__studentDetails"},l&&l.length>0&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"mortar-board",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__courseIconText"},e.createElement("span",null,1===l.length?"Course":"Courses",":"),e.createElement("div",{className:"heroProfile__courseDetails"},l.map(function(t,a){return e.createElement(x,{theme:n,key:a,text:t,inverse:p})}))))),i&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"scroll",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__iconText"},e.createElement("span",null,"Study level:"),e.createElement("span",null,i)))),m&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"flag",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__iconText"},e.createElement("span",null,"Home country:"),e.createElement("span",null,m))))),d&&e.createElement(x,{theme:n,text:d,inverse:p})),e.createElement("div",{className:"heroProfile__image-wrapper"},h&&e.createElement(H,u({},h,{altText:null==h?void 0:h.alt,fetchPriority:h.fetchPriority})))))}function uc(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.firstColumn,c=t.secondColumn;return e.createElement("div",{className:v("two-column-wrapper",a&&"theme-".concat(a))},e.createElement("div",{className:"two-column-wrapper__grid-container"},e.createElement("div",{className:v("two-column-wrapper__first-column",!c&&"two-column-wrapper__first-column-centred")},r),c&&e.createElement("div",{className:"two-column-wrapper__second-column"},c)))}function hc(t){var n,a,r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=t.logos,o=null!==(a=null==i?void 0:i.length)&&void 0!==a?a:0,s=i&&i.length%2!=0;return e.createElement("div",{className:v("logo-wall",c&&"theme-".concat(c),l&&"theme-".concat(c,"--inverse"))},e.createElement("div",null,e.createElement("ul",{className:v("logo-wall__container",s&&"logo-wall__container--odd"),style:(n={},n["--logo-wall-cols"]=String(o),n)},i&&i.map(function(t,n){var a;return e.createElement("li",{key:"li-".concat(n)},e.createElement(Ge,u({key:"".concat((null===(a=t.image)||void 0===a?void 0:a.title)||"imageTitle","-").concat(n),theme:c,inverse:l},t)))}))))}d(),d(),d(),d(),d(),d(),function(e){e.NotSpecified="NotSpecified",e.ColumnAndRowHeadings="ColumnAndRowHeadings",e.ColumnHeadingsOnly="ColumnHeadingsOnly"}(Qr||(Qr={})),d(),d(),d(),d(),d(),d();export{M as Accordion,S as AcreditationPromotion,V as AlertBanner,O as AnchorTarget,q as Breadcrumbs,ot as CTAComponent,rt as CardImageAndText,at as CardProfile,et as CardPromoProfile,Re as CardPromoSignpost,Ue as CardStaff,nt as Carousel,ct as CentreWrapper,lt as ClearingBanner,it as CourseDeliveryPills,st as EmbedWrapper,dt as FactBoxes,ut as FeaturedContent,Ht as FeaturedSignpost,Pt as FeaturedVideo,Vt as FiveArticlesGrid,Bt as Footer,Ut as GeneralSearchFilter,$t as GenericDetailSection,ka as Header,L as Heading,Pa as Hero,Za as HeroArticle,rr as HeroCarousel,Aa as HeroCourses,dc as HeroProfile,cr as ImageBlock,lr as ImageCarousel,or as InPageNavigation,sr as IntroText,dr as LeadNewsArticles,Nr as ListTable,ur as ListingFilterWrapper,wr as ListingResults,yr as ListingResultsCount,mc as LocationSection,Ia as LocationSelector,hc as LogoWall,Cr as MainWrapper,oc as ModalCTA,sc as ModuleCardGroup,kr as NewsArticlesPromoBlock,Tr as Pagination,Lr as PromoBlock,Mr as PromoBlockGrid,Hr as QuoteBlock,Sr as RelatedCourses,lc as ResearchStoryCarousel,E as RichText,Pr as ScholarshipCarousel,ic as ScrollableTable,Sa as SearchCourses,Or as SidebarWrapper,Zr as SignPost,qr as SingleButton,Br as SkipToContent,Vr as StaffListingCarousel,tc as StandardListingFilter,$r as TabsBlock,Rr as TextWithBackground,zr as TopicSelector,uc as TwoColumnWrapper,nc as VideoCardComponent,cc as VideoEmbed};
|
|
23
|
+
function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function Yn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),!0).forEach(function(t){Yn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qn(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Kn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ea,ta,na=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var a=e.indexOf(t);-1===a||e.splice(a,1),e.push(t)},aa=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},ra=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ca=function(e){return ra(e)&&!e.shiftKey},la=function(e){return ra(e)&&e.shiftKey},ia=function(e){return setTimeout(e,0)},oa=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,n):e},sa=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},ma=[],da=Gt(Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,a=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||ma,c=Xn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ca,isKeyBackward:la},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},i=function(e,t,n){return e&&void 0!==e[t]?e[t]:c[n||t]},o=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return l.containerGroups.findIndex(function(t){var a=t.container,r=t.tabbableNodes;return a.contains(e)||(null==n?void 0:n.includes(a))||r.find(function(t){return t===e})})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,r=void 0!==n&&n,l=t.params,i=void 0===l?[]:l,o=c[e];if("function"==typeof o&&(o=o.apply(void 0,Qn(i))),!0===o&&(o=void 0),!o){if(void 0===o||!1===o)return o;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=o;if("string"==typeof o){try{s=a.querySelector(o)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!s&&!r)throw new Error("`".concat(e,"` as selector refers to no known node"))}return s},m=function(){var e=s("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Wn(e,c.tabbableOptions))if(o(a.activeElement)>=0)e=a.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}else null===e&&(e=s("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(l.containerGroups=l.containers.map(function(e){var t=Rn(e,c.tabbableOptions),n=jn(e,c.tabbableOptions),a=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,l=n.find(function(e){return zn(e)}),i=n.slice().reverse().find(function(e){return zn(e)}),o=!!t.find(function(e){return Vn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:o,firstTabbableNode:a,lastTabbableNode:r,firstDomTabbableNode:l,lastDomTabbableNode:i,nextTabbableNode:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?a?n.slice(n.indexOf(e)+1).find(function(e){return zn(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return zn(e)}):t[r+(a?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(e){return e.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},u=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?u(t.shadowRoot):t},h=function(e){!1!==e&&e!==u(document)&&(e&&e.focus?(e.focus({preventScroll:!!c.preventScroll}),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):h(m()))},p=function(e){var t=s("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,n=e.event,a=e.isBackward,r=void 0!==a&&a;t=t||sa(n),d();var i=null;if(l.tabbableGroups.length>0){var m=o(t,n),u=m>=0?l.containerGroups[m]:void 0;if(m<0)i=r?l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:l.tabbableGroups[0].firstTabbableNode;else if(r){var h=l.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(h<0&&(u.container===t||Wn(t,c.tabbableOptions)&&!zn(t,c.tabbableOptions)&&!u.nextTabbableNode(t,!1))&&(h=m),h>=0){var p=0===h?l.tabbableGroups.length-1:h-1,v=l.tabbableGroups[p];i=Vn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else ra(n)||(i=u.nextTabbableNode(t,!1))}else{var f=l.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(f<0&&(u.container===t||Wn(t,c.tabbableOptions)&&!zn(t,c.tabbableOptions)&&!u.nextTabbableNode(t))&&(f=m),f>=0){var g=f===l.tabbableGroups.length-1?0:f+1,E=l.tabbableGroups[g];i=Vn(t)>=0?E.firstTabbableNode:E.firstDomTabbableNode}else ra(n)||(i=u.nextTabbableNode(t))}}else i=s("fallbackFocus");return i},f=function(e){var t=sa(e);o(t,e)>=0||(oa(c.clickOutsideDeactivates,e)?n.deactivate({returnFocus:c.returnFocusOnDeactivate}):oa(c.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=sa(e),n=o(t,e)>=0;if(n||t instanceof Document)n&&(l.mostRecentlyFocusedNode=t);else{var a;e.stopImmediatePropagation();var r=!0;if(l.mostRecentlyFocusedNode)if(Vn(l.mostRecentlyFocusedNode)>0){var i=o(l.mostRecentlyFocusedNode),s=l.containerGroups[i].tabbableNodes;if(s.length>0){var d=s.findIndex(function(e){return e===l.mostRecentlyFocusedNode});d>=0&&(c.isKeyForward(l.recentNavEvent)?d+1<s.length&&(a=s[d+1],r=!1):d-1>=0&&(a=s[d-1],r=!1))}}else l.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Vn(e)>0})})||(r=!1);else r=!1;r&&(a=v({target:l.mostRecentlyFocusedNode,isBackward:c.isKeyBackward(l.recentNavEvent)})),h(a||(l.mostRecentlyFocusedNode||m()))}l.recentNavEvent=void 0},E=function(e){(c.isKeyForward(e)||c.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l.recentNavEvent=e;var n=v({event:e,isBackward:t});n&&(ra(e)&&e.preventDefault(),h(n))}(e,c.isKeyBackward(e))},_=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===oa(c.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},b=function(e){var t=sa(e);o(t,e)>=0||oa(c.clickOutsideDeactivates,e)||oa(c.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(l.active)return na(r,n),l.delayInitialFocusTimer=c.delayInitialFocus?ia(function(){h(m())}):h(m()),a.addEventListener("focusin",g,!0),a.addEventListener("mousedown",f,{capture:!0,passive:!1}),a.addEventListener("touchstart",f,{capture:!0,passive:!1}),a.addEventListener("click",b,{capture:!0,passive:!1}),a.addEventListener("keydown",E,{capture:!0,passive:!1}),a.addEventListener("keydown",_),n},y=function(){if(l.active)return a.removeEventListener("focusin",g,!0),a.removeEventListener("mousedown",f,!0),a.removeEventListener("touchstart",f,!0),a.removeEventListener("click",b,!0),a.removeEventListener("keydown",E,!0),a.removeEventListener("keydown",_),n},N="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===l.mostRecentlyFocusedNode})})&&h(m())}):void 0,C=function(){N&&(N.disconnect(),l.active&&!l.paused&&l.containers.map(function(e){N.observe(e,{subtree:!0,childList:!0})}))};return n={get active(){return l.active},get paused(){return l.paused},activate:function(e){if(l.active)return this;var t=i(e,"onActivate"),n=i(e,"onPostActivate"),r=i(e,"checkCanFocusTrap");r||d(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=u(a),null==t||t();var c=function(){r&&d(),w(),C(),null==n||n()};return r?(r(l.containers.concat()).then(c,c),this):(c(),this)},deactivate:function(e){if(!l.active)return this;var t=Xn({onDeactivate:c.onDeactivate,onPostDeactivate:c.onPostDeactivate,checkCanReturnFocus:c.checkCanReturnFocus},e);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,y(),l.active=!1,l.paused=!1,C(),aa(r,n);var a=i(t,"onDeactivate"),o=i(t,"onPostDeactivate"),s=i(t,"checkCanReturnFocus"),m=i(t,"returnFocus","returnFocusOnDeactivate");null==a||a();var d=function(){ia(function(){m&&h(p(l.nodeFocusedBeforeActivation)),null==o||o()})};return m&&s?(s(p(l.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return l.active?(l.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return l.active?(l.manuallyPaused=!1,r[r.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map(function(e){return"string"==typeof e?a.querySelector(e):e}),l.active&&d(),C(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return l.manuallyPaused}},_setPausedState:{value:function(e,t){if(l.paused===e)return this;if(l.paused=e,e){var n=i(t,"onPause"),a=i(t,"onPostPause");null==n||n(),y(),C(),null==a||a()}else{var r=i(t,"onUnpause"),c=i(t,"onPostUnpause");null==r||r(),d(),w(),C(),null==c||c()}return this}}}),n.updateContainerElements(e),n}})),ua=Gt(Gn);var ha=function(){if(ta)return ea;function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,i(a.key),a)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,n,a){return n=c(n),function(e,n){if(n&&("object"==t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,r()?Reflect.construct(n,a||[],c(e).constructor):n.apply(e,a))}function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,n);if("object"!=t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}ta=1;var o=e,s=Nn(),m=da.createFocusTrap,d=ua.isFocusable,u=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(n=a(this,t,[e]),"getNodeForOption",function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var a=arguments.length,r=new Array(a>1?a-1:0),c=1;c<a;c++)r[c-1]=arguments[c];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l,i=n;if("string"==typeof n&&!(i=null===(l=this.getDocument())||void 0===l?void 0:l.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return i}),n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var r=e.focusTrapOptions;for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&("returnFocusOnDeactivate"!==c&&"onDeactivate"!==c&&"onPostDeactivate"!==c&&"checkCanReturnFocus"!==c&&"clickOutsideDeactivates"!==c?n.internalOptions[c]=r[c]:n.originalOptions[c]=r[c]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n(t,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||d(e.outsideClick.target,e.internalOptions.tabbableOptions))),a=e.internalOptions.preventScroll,r=void 0!==a&&a;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,a=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();a&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?o.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===o.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return o.cloneElement(t,{ref:function(n){var a=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=a||[n]}})}return null}}])}(o.Component),h="undefined"==typeof Element?Function:Element;return u.propTypes={active:s.bool,paused:s.bool,focusTrapOptions:s.shape({document:s.object,onActivate:s.func,onPostActivate:s.func,checkCanFocusTrap:s.func,onPause:s.func,onPostPause:s.func,onUnpause:s.func,onPostUnpause:s.func,onDeactivate:s.func,onPostDeactivate:s.func,checkCanReturnFocus:s.func,initialFocus:s.oneOfType([s.instanceOf(h),s.string,s.bool,s.func]),fallbackFocus:s.oneOfType([s.instanceOf(h),s.string,s.func]),escapeDeactivates:s.oneOfType([s.bool,s.func]),clickOutsideDeactivates:s.oneOfType([s.bool,s.func]),returnFocusOnDeactivate:s.bool,setReturnFocus:s.oneOfType([s.instanceOf(h),s.string,s.bool,s.func]),allowOutsideClick:s.oneOfType([s.bool,s.func]),preventScroll:s.bool,tabbableOptions:s.shape({displayCheck:s.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:s.oneOfType([s.bool,s.func])}),trapStack:s.array,isKeyForward:s.func,isKeyBackward:s.func}),containerElements:s.arrayOf(s.instanceOf(h)),children:s.oneOfType([s.element,s.instanceOf(h)])},u.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:m},ea=u}(),pa=Wt(ha);d();var va=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.onClick,c=t.label,l=t.level,i=t.autoFocus,o=void 0!==i&&i;return e.createElement("button",{className:v("nav-link",a&&"theme-".concat(a),"nav-link--".concat(l)),onClick:r,autoFocus:o},e.createElement("span",{className:"nav-link__label"},c,e.createElement("span",{className:"nav-link__icon"},e.createElement(_,{icon:"chevron-right",theme:a,ariaHidden:!0}))))};d();var fa=function(t){var n=t.theme,c=void 0===n?"uobmain":n,l=t.url,i=t.label,o=t.level,s=t.autoFocus,m=void 0!==s&&s,d=t.externalLink,u=void 0!==d&&d,h=r(null);return a(function(){m&&h.current&&h.current.focus()},[m]),e.createElement("a",{className:v("page-link",c&&"theme-".concat(c),"page-link--".concat(o)),href:l,ref:h,target:u?"_blank":"_self",rel:u?"noopener noreferrer":""},i)};function ga(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.image,i=t.tag,o=t.title,s=t.href,m=t.linkText,d=t.description,h=t.type;return e.createElement("div",{className:v("card-menu",h&&"card-menu--".concat(h),a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("figure",{className:"card-menu__figure"},e.createElement("div",{className:"card-menu__image-wrapper"},e.createElement(H,u({},l,{altText:"",loadingAttr:"lazy"}))),e.createElement("figcaption",{className:"card-menu__text-content"},"secondary"===h&&e.createElement(e.Fragment,null,e.createElement("p",{className:"card-menu__tag card-menu__tag"},i),e.createElement("a",{className:"card-menu__link",href:s},e.createElement("h2",{className:"card-menu__title"},o))),"primary"===h?e.createElement(e.Fragment,null,e.createElement("h2",{className:"card-menu__title"},o),e.createElement("p",{className:"card-menu__description"},d),e.createElement("div",{className:"card-menu__cta"},e.createElement(N,{theme:a,url:s,title:m||o}))):e.createElement("div",{className:"card-menu__arrow"},e.createElement(_,{icon:"arrow-right",theme:a,ariaHidden:!0})))))}d();var Ea=function(t){var n=t.primaryLinks,a=t.secondaryLinks,r=t.onClickNavLink,c=t.menuCards,l=t.theme;return e.createElement("div",{className:"header__main-menu"},e.createElement("div",{className:"header__main-menu-menu-wrapper"},e.createElement("ul",{className:"header__main-menu-primary-list"},n.map(function(t,n){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(n)},key:t.label,theme:l,level:"level-one",autoFocus:0===n}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:l,level:"level-one",autoFocus:0===n,externalLink:t.externalLink})})),e.createElement("ul",{className:"header__main-menu-secondary-list"},a.map(function(t,a){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(a+n.length)},key:t.label,theme:l,level:"level-two"}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:l,level:"level-two",externalLink:t.externalLink})}))),e.createElement("ul",{className:"header__main-menu-promo-cards"},c&&c.map(function(t,n){return e.createElement("li",{key:n},e.createElement(ga,{theme:l,image:{src:{small:t.image.src.small,medium:t.image.src.medium,default:t.image.src.default}},description:t.description,tag:t.tag,title:t.title,linkText:t.linkText,href:t.href,type:t.type}))})))};d();var _a=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.label,i=t.onClick;return e.createElement("button",{className:v("reverse-link-with-arrow",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse")),onClick:i},e.createElement("span",{className:"reverse-link-with-arrow__title"},e.createElement("span",{className:"reverse-link-with-arrow__icon"},e.createElement(_,{icon:"arrow-left",theme:a,inverse:c,ariaHidden:!0})),l))},ba=function(t){var n=t.headingLink,a=t.onClickGoBack,r=t.onClickNavLink,c=t.theme,l=t.backLinkLabel;return e.createElement("div",{className:"header__nested-menu"},e.createElement(_a,{label:l,onClick:a,theme:c}),e.createElement("div",{className:"header__heading-link"},e.createElement(fa,{theme:c,url:n.url,label:n.label,level:"level-one",autoFocus:!0})),e.createElement("div",{className:"header__content-wrapper"},n.description&&e.createElement("p",{className:"header__description"},n.description),n.children&&e.createElement("ul",{className:v("header__link-list",n.description&&"header__link-list--with-desc")},n.children.map(function(t,n){return t.children?e.createElement(va,{label:t.label,onClick:function(){return r(n)},key:t.label,theme:c,level:"level-two"}):e.createElement(fa,{label:t.label,url:t.url,key:t.label,theme:c,level:"level-two",externalLink:t.externalLink})}))))};d();var wa=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.fieldName,i=t.hiddenLabel,o=void 0!==i&&i,s=t.defaultValue,m=t.placeholder,d=t.required,u=void 0!==d&&d,h=t.onChange;return e.createElement("div",{className:v("form-input",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("label",{htmlFor:l,className:v("form-input__label",o&&"sr-only")},"Select ",l),e.createElement("input",{className:"form-input__input",id:l,name:l,type:"text",required:u,defaultValue:s,placeholder:m,onChange:h}))},ya=function(t){var n=t.title,a=void 0===n?"Search":n,r=t.placeholder,c=void 0===r?"Start typing":r,l=t.introText,i=t.handleSearchChange,o=t.handleSearchSubmit,s=t.theme,m=t.inverse,d=t.onClickGoBack,u=t.backLinkLabel,h=t.recommendedLinks,p=t.recommendedLinkTitle;return e.createElement("div",{className:"header-search"},d&&u&&e.createElement("div",{className:"header-search__back-link"},e.createElement(_a,{label:u,onClick:d,theme:s})),e.createElement("div",{className:"header-search__container"},e.createElement("h2",{className:"header-search__title"},a),e.createElement("p",{className:"header-search__intro"},l),e.createElement("form",{className:"header-search__form",method:"post",onSubmit:o},e.createElement("div",{className:"header-search__search-wrapper"},e.createElement(wa,{theme:s,inverse:!1,fieldName:"search",hiddenLabel:!0,placeholder:c,onChange:i}),e.createElement(qe,{theme:s,inverse:!m,title:"Search",icon:"search",isSubmit:!0})),e.createElement(y,{theme:s,inverse:!m,label:"Search",isSubmit:!0}))),h&&e.createElement("div",{className:"header-search__recommended-links-wrapper"},p&&e.createElement("h3",{className:"header-search__recommended-link-title"},p),e.createElement("ul",{className:"header-search__recommended-links"},h.map(function(t,n){return e.createElement("li",{className:"header-search__recommended-link",key:n},e.createElement(Ot,{theme:s,url:t.url,title:t.label,externalLink:t.externalLink}))}))))};function Na(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.url,l=t.externalLink,i=t.active,o=void 0!==i&&i;return e.createElement("a",{className:v("campus-selector-link",a&&"theme-".concat(a),o&&"campus-selector-link--active"),href:c,target:l?"_blank":"_self",rel:"noreferrer"},r)}function Ca(t){var n=t.active,a=t.theme,r=t.ukUrl,c=t.dubaiUrl,l=t.mobile;return e.createElement("div",{className:v("campus-selector",a&&"theme-".concat(a),l&&"campus-selector--mobile",!l&&"campus-selector--desktop")},e.createElement("div",{className:"campus-selector__container"},e.createElement("span",{className:"campus-selector__label"},"Select campus:"),l?e.createElement(e.Fragment,null,e.createElement(y,{label:"UK",theme:a,inverse:!0,url:r,hollow:"uk"!==n}),e.createElement(y,{label:"Dubai",theme:a,inverse:!0,url:c,hollow:"dubai"!==n})):e.createElement(e.Fragment,null,e.createElement(Na,{label:"UK",theme:a,url:r,active:"uk"===n}),e.createElement(Na,{label:"Dubai",theme:a,url:c,active:"dubai"===n}))))}d(),d(),d();var ka=function(t){var c=t.theme,l=void 0===c?"uobmain":c,o=t.primaryLinks,s=t.secondaryLinks,d=t.menuCards,u=t.dubaiUrl,p=t.ukUrl,f=t.logoTitleTagH1,g=void 0===f||f,E=t.activeCampus,_=void 0===E?"uk":E,b=t.searchProps,w=function(){var e=n(null),t=e[0],r=e[1];return a(function(){var e=window.scrollY,n=function(){var n=window.scrollY,a=n>e?"down":"up";a!==t&&(n-e>3||n-e<-3)&&r(a),e=n>0?n:0};return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}},[t]),t}(),N=n(!1),C=N[0],k=N[1],x=r(null),T=r(null),L=r(null),M=Le("768px"),H=n(0),S=H[0],P=H[1],V=n(null),O=V[0],Z=V[1],q=n(null),F=q[0],B=q[1],D=n(!1),I=D[0],A=D[1],$=n(!1),R=$[0],j=$[1],z=n(""),U=z[0],W=z[1],G=function(){k(!0),document.body.classList.add("lock-scroll")},K=function(){A(!0),G()},Y=function(){A(!1),j(!1)},J=function(){k(!1),Y(),document.body.classList.remove("lock-scroll"),P(0),Z(null),B(null),x.current&&x.current.focus()},X=function(){P(0),Z(null),Y()},Q=function(){P(1),B(null),Y()},ee=function(e){"Escape"===e.key&&C&&J()};a(function(){return document.addEventListener("keydown",ee),function(){document.removeEventListener("keydown",ee)}}),a(function(){if(T.current&&"down"===w){var e=T.current.offsetHeight;T.current.style.top="-".concat(e,"px")}else if(T.current&&"up"===w){var t=0;L.current&&T.current&&(t=L.current.offsetHeight),T.current.style.top="-".concat(t,"px")}},[w]);var te=null,ne=null;null!==O&&(te=h(h([],o,!0),s,!0)[O],null!==F&&te.children&&(ne=te.children[F]));var ae=e.createElement("div",{className:"header__campus-selector header__campus-selector--mobile"},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!0})),re=e.createElement("div",{className:"header__campus-selector header__campus-selector--desktop",ref:L},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!1})),ce=e.createElement("div",{className:"header__campus-selector header__campus-selector--desktop"},e.createElement(Ca,{theme:l,dubaiUrl:u,ukUrl:p,active:_,mobile:!1})),le=function(e){W(e.target.value)},ie=function(e){if(e.preventDefault(),"undefined"!=typeof window){var t=b.resultsUrl;window.location.href=U?"".concat(t,"?term=").concat(U):"".concat(t)}};return e.createElement("header",{className:v("header",l&&"theme-".concat(l),!C&&"header--is-closed","header--".concat(_)),id:"header",ref:T},e.createElement("div",{className:"header__closed"},re,e.createElement("div",{className:"header__top-container"},e.createElement("div",{className:"header__logo-wrapper"},e.createElement("div",{className:"header__logo-wrapper"},g?e.createElement("h1",{className:"header__logo-heading"},e.createElement(qt,{activeCampus:_,imageMode:"light",classNames:"header__logo-link",imageAltText:"uk"===_?"University of Birmingham":"University of Birmingham Dubai",loadingAttr:"eager"})):e.createElement(qt,{activeCampus:_,imageMode:"light",classNames:"header__logo-link",loadingAttr:"eager"},e.createElement("span",{className:"sr-only"},"uk"===_?"University of Birmingham":"University of Birmingham Dubai")))),e.createElement("div",{className:"header__right-wrapper"},e.createElement("div",{className:"header__search-button"},e.createElement(y,{theme:l,label:"Search",onClick:function(){j(!0),K()},hollow:!0})),e.createElement("div",{className:"header__menu-button"},e.createElement("span",null,"Menu"),e.createElement(qe,{theme:"uobmain",icon:"hamburger",onClick:G,title:"Open menu",ariaControls:"header",ref:x,ariaExpanded:C}))))),e.createElement(m,null,C&&e.createElement(pa,null,e.createElement(i.div,{className:"header__open",initial:{x:"100%"},animate:{x:"0"},exit:{x:"100%"},transition:{type:"tween"},key:"header__open"},ce,e.createElement("div",{className:"header__top-container"},e.createElement("div",{className:"header__logo-wrapper"},e.createElement(qt,{activeCampus:_,imageMode:"dark",classNames:"header__logo-link"},e.createElement("h1",{className:"sr-only"},"uk"===_?"University of Birmingham":"University of Birmingham Dubai"))),e.createElement("div",{className:"header__right-wrapper"},!M&&!I&&e.createElement("div",{className:"header__search-button-menu"},e.createElement(y,{theme:l,inverse:!0,label:"Search",onClick:K,hollow:!0})),e.createElement("div",{className:"header__menu-button"},e.createElement("span",null,"Menu"),e.createElement(qe,{theme:"uobmain",inverse:!0,icon:"cross",onClick:J,title:"Close menu",ariaControls:"header"})))),M&&!I&&e.createElement("div",{className:"header__search-button-mobile"},e.createElement(y,{theme:l,inverse:!0,label:"Search",onClick:K,hollow:!0})),0===S&&!I&&e.createElement(Ea,{primaryLinks:o,secondaryLinks:s,menuCards:d,onClickNavLink:function(e){P(1),Z(e)},theme:l}),0===S&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:R?void 0:X,backLinkLabel:R?"":"Back to menu",recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),1===S&&te&&!I&&e.createElement(ba,{headingLink:te,onClickNavLink:function(e){P(2),B(e)},theme:l,onClickGoBack:X,backLinkLabel:"Back to menu"}),1===S&&te&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:Q,backLinkLabel:"Back to ".concat(te.label),recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),2===S&&te&&ne&&!I&&e.createElement(ba,{headingLink:ne,onClickNavLink:function(){},theme:l,onClickGoBack:Q,backLinkLabel:"Back to ".concat(te.label)}),2===S&&te&&ne&&I&&e.createElement(ya,{theme:l,introText:b.introText,placeholder:b.placeholder,title:b.title,handleSearchChange:le,handleSearchSubmit:ie,onClickGoBack:function(){P(2),Y()},backLinkLabel:"Back to ".concat(ne.label),recommendedLinks:b.recommendedLinks,recommendedLinkTitle:b.recommendedLinkTitle}),ae))))},xa={mobile:{image:"polygon(0 0, calc(100% - 1px) 0, calc(75% - 1px) calc(70% - 1px), 0 calc(90% - 1px))",background:"polygon(0 0, 100% 0, 75% 70%, 0 90%)"},tablet:{image:"polygon(0 0, 100% 0, 100% calc(70% - 1px), calc(30% + 1px) calc(60% - 1px))",background:"polygon(0 0, 100% 0, 100% 70%, 30% 60%)"},desktop:{image:"polygon(1px 0, 100% 0, 100% calc(95% - 1px), calc(10% + 1px) calc(65% - 1px))",background:"polygon(0 0, 100% 0, 100% 95%, 10% 65%)"}};function Ta(t){var n,c,o=t.isMobile,s=t.isTablet,m=t.image,d=o?xa.mobile:s?xa.tablet:xa.desktop,u=r(null),h=l();return a(function(){var e;u.current&&u.current.setAttribute("fetchpriority",null!==(e=m.fetchPriority)&&void 0!==e?e:"auto")}),e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__polygon-image-wrapper"},e.createElement(i.img,{ref:u,className:"hero__image",src:m.src.default,srcSet:"".concat(null!==(n=m.src.small)&&void 0!==n?n:m.src.default," 576w, ").concat(null!==(c=m.src.medium)&&void 0!==c?c:m.src.default," 992w, ").concat(m.src.default," 1440w"),alt:m.alt,fetchPriority:m.fetchPriority,animate:{clipPath:d.image},transition:{type:"tween"}}),e.createElement(i.div,{key:h,className:"hero__polygon-image-background",animate:{opacity:1,clipPath:d.background},transition:{type:"tween"},initial:{opacity:0}})))}d();var La={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function Ma(t){var n=t.isMobile,a=t.isTablet;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"75%",bottom:"30%",transform:"rotate(10deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"75%",bottom:"30%",transform:"rotate(-15deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"calc(30% + 1px)",top:"calc(60% - 3px)",transform:"rotate(161deg)"},initial:!1},e.createElement("svg",{width:"120",height:"2",viewBox:"0 0 120 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"30%",top:"calc(60% - 1px)",transform:"rotate(26deg)"},initial:!1},e.createElement("svg",{width:"120",height:"2",viewBox:"0 0 120 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero__line",animate:{left:"10%",top:"calc(65% - 3px)",transform:"rotate(118deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))),e.createElement(i.div,{className:"hero__line",animate:{left:"10%",top:"calc(65% - 3px)",transform:"rotate(41deg)"},initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140"},La)))))}d();var Ha=function(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.fieldName,i=t.selectOptions,o=t.defaultValue,s=void 0===o?"all":o,m=t.hiddenLabel,d=void 0!==m&&m,u=t.customLabel,h=t.title,p=t.onChange,f=t.value;return e.createElement("div",{className:v("form-select",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},u?e.createElement("label",{htmlFor:l,className:v("form-select__label",d&&"sr-only")},u):e.createElement("label",{htmlFor:l,className:v("form-select__label",d&&"sr-only")},"Select ",l),e.createElement("div",{className:"form-select__select-wrapper"},e.createElement("select",{className:"form-select__select",defaultValue:s,value:f,id:l,name:l,onChange:p},e.createElement("option",{value:"all"},h),i&&i.map(function(t,n){return e.createElement("option",{value:t.value,key:n},t.label)})),e.createElement("div",{className:"form-select__icon"},e.createElement(_,{icon:"arrow-down",theme:a,inverse:c}))))};function Sa(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.defaultSearchTerm,s=t.placeholder,m=t.filterTitle,d=t.filterFieldName,u=t.filterOptions,h=t.defaultFilter,p=void 0===h?"all":h,f=t.wrapped,g=void 0!==f&&f,E=t.fullWidth,_=void 0!==E&&E,b=t.onGrid,w=void 0!==b&&b,N=t.titleTag,C=void 0===N?"h2":N,k=t.formSubmitHandler,T=t.filterChangeHandler,L=t.searchTermChangeHandler,M=C;return e.createElement("div",{className:v("search-course",_&&"search-course--full-width",w&&"search-course--on-grid",g&&"search-course--wrapped",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),!d&&"search-course--no-filter")},e.createElement("div",{className:"search-course__container"},l&&e.createElement(M,{className:"search-course__title"},l),i&&e.createElement("div",{className:"search-course__description"},e.createElement(x,{text:i,theme:a,inverse:c})),e.createElement("form",{className:"search-course__form",method:"post",onSubmit:k},e.createElement("div",{className:"search-course__search-wrapper"},e.createElement(wa,{theme:a,inverse:c,fieldName:"search",hiddenLabel:!0,defaultValue:o,placeholder:s,onChange:L}),e.createElement(qe,{theme:a,inverse:!c,title:"Search",icon:"search",isSubmit:!0}),g&&e.createElement(y,{theme:a,inverse:!c,label:"Search",isSubmit:!0})),d&&m&&u&&e.createElement(Ha,{theme:a,inverse:c,title:m,fieldName:d,selectOptions:u,defaultValue:p,hiddenLabel:!0,onChange:T}),!g&&e.createElement(y,{theme:a,inverse:!c,label:"Search",isSubmit:!0}))))}function Pa(t){var n=t.theme,a=t.inverse,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.description,o=t.image,s=t.links,m=t.courseSearchProps,d=Le("768px"),h=Le("1248px");return e.createElement("div",{className:v("hero",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),o&&"hero--with-image"),id:"hero"},o&&"rectangle"===o.style&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--mobile hero__image-wrapper--rectangle"},e.createElement(H,u({},o,{altText:o.alt,fetchPriority:o.fetchPriority}))),o&&"lines-of-intent"===o.style&&d&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--mobile"},e.createElement(Ta,{isMobile:!0,isTablet:!1,image:o}),e.createElement(Ma,{isMobile:!0,isTablet:!1})),e.createElement("div",{className:"hero__container"},e.createElement("div",{className:"hero__content"},e.createElement(l,{className:"hero__title"},r),i&&e.createElement("div",{className:"hero__description"},e.createElement(x,{text:i,theme:n,inverse:a})),s&&s.length>0&&e.createElement("div",{className:"hero__buttons"},s.map(function(t,r){return e.createElement(y,{theme:n,key:r,url:t.url,label:t.title,externalLink:t.externalLink,inverse:!a,hollow:1===r})})),m&&e.createElement(Sa,u({theme:n,inverse:a,wrapped:!0},m))),o&&"rectangle"===o.style&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--rectangle"},e.createElement(H,u({},o,{altText:o.alt,fetchPriority:o.fetchPriority}))),o&&"lines-of-intent"===o.style&&h&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--polygon"},e.createElement(Ta,{isMobile:!1,isTablet:!0,image:o}),e.createElement(Ma,{isMobile:!1,isTablet:!0})),o&&"lines-of-intent"===o.style&&!d&&!h&&e.createElement("div",{className:"hero__image-wrapper hero__image-wrapper--desktop hero__image-wrapper--polygon"},e.createElement(Ta,{isMobile:!1,isTablet:!1,image:o}),e.createElement(Ma,{isMobile:!1,isTablet:!1}))))}function Va(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.label,l=t.icons;return e.createElement("div",{className:v("share-buttons",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"))},c&&e.createElement("div",{className:"share-buttons__label"},c),l&&e.createElement("ul",{className:"share-buttons__icon-wrapper"},l.map(function(t,n){return e.createElement("li",{className:"share-buttons__icon",key:n},e.createElement(qe,{theme:a,title:t.title,icon:t.icon,url:t.url,inverse:r}))})))}function Oa(t){var n="items"in t?t.items:[t],a=(null!=n?n:[]).filter(function(e){return Boolean(e)});return e.createElement(e.Fragment,null,a.map(function(t,n){var r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=void 0!==l&&l,o=t.label,s=t.url,m=t.externalLink;return e.createElement(e.Fragment,{key:"".concat(s,"-").concat(o,"-").concat(n)},e.createElement("a",{className:v("paragraph-link",c&&"theme-".concat(c),i&&"theme-".concat(c,"--inverse")),href:s,target:m?"_blank":"_self",rel:"noreferrer"},o),n<a.length-1?" ":null)}))}function Za(t){var n=t.theme,a=t.inverse,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.description,o=t.cardImage,s=t.publishDate,m=t.readTime,d=t.shareButtons,h=t.author,p=Array.isArray(h)?h:[h];return e.createElement("section",{className:v("hero-article",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"))},e.createElement("div",{className:"hero-article__container"},e.createElement("div",{className:"hero-article__content"},e.createElement(l,{className:"hero-article__title"},r),e.createElement("p",{className:"hero-article__description"},i),e.createElement("div",{className:"hero-article__meta-data"},s&&e.createElement("span",{className:"hero-article__publish-date"},s),s&&m&&e.createElement("span",{className:"hero-article__separator"},"•"),m&&e.createElement("span",{className:"hero-article__read-time"},m),h&&e.createElement(e.Fragment,null,e.createElement("span",{className:"hero-article__separator"},"•"),e.createElement("span",{className:"hero-article__author"},"by ",e.createElement(Oa,{items:p})))),e.createElement("div",{className:"hero-article__sharing-buttons"},e.createElement(Va,{theme:n,label:d.label,icons:d.icons,inverse:a})))),o&&e.createElement("div",{className:"hero-article__image-wrapper"},e.createElement(Ge,u({},o,{inverse:a}))))}function qa(t){var a=t.theme,r=t.inverse,c=t.buttonLabel,l=t.hollow,i=t.modalChildren,o=n(!1),s=o[0],m=o[1],d=function(){m(!1),document.body.classList.remove("lock-scroll")};return e.createElement("div",{className:v("modal-cta-button",a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"))},e.createElement(y,{inverse:r,label:c,onClick:function(){s?d():(m(!0),document.body.classList.add("lock-scroll"))},theme:a,hollow:l}),s&&e.createElement(Be,{centred:!0,theme:a,closeModal:d,isOpen:s},e.createElement(st,{className:"modal-cta-button__embed-wrapper"},i)))}function Fa(t){var n=t.title,a=t.value,r=t.link;return e.createElement("article",{className:"course-tile"},e.createElement("div",{className:"course-tile__top"},e.createElement("div",{className:"course-tile__title"},n),e.createElement("div",{className:"course-tile__value"},a)),r&&e.createElement("div",{className:"course-tile__link-wrapper"},e.createElement(Bt,u({},r,{inverse:!0,onClick:function(e){return Dt(e,r.url||"#")}}))))}function Ba(t){var n=t.title,a=t.selectProps;return e.createElement("article",{className:"course-tile-select"},e.createElement("div",{className:"course-tile-select__top"},e.createElement("div",{className:"course-tile-select__title"},n),e.createElement(Ha,u({},a,{inverse:!0}))))}function Da(t){var n=t.title,a=t.rank,r=t.rankText,c=t.link;return e.createElement("article",{className:"course-tile-ranking"},e.createElement("div",{className:"course-tile-ranking__top"},e.createElement("div",{className:"course-tile-ranking__title"},n),e.createElement("div",{className:"course-tile-ranking__rank"},a),e.createElement("div",{className:"course-tile-ranking__rank-text"},r)),c&&e.createElement("div",{className:"course-tile-ranking__link-wrapper"},e.createElement(Bt,u({},c,{inverse:!0,onClick:function(e){return Dt(e,c.url||"#")}}))))}function Ia(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.topPadding,i=void 0!==l&&l,o=t.selectorProps;return e.createElement("div",{className:v("location-selector",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:v("location-selector__container",i&&"location-selector__container--padding-top")},e.createElement(Ha,u({},o,{inverse:c}))))}function Aa(t){var n,a=t.theme,r=t.title,c=t.titleTag,l=void 0===c?"h2":c,i=t.awardShort,o=t.links,s=t.ranking,m=t.award,d=t.campus,h=t.ucas,p=t.duration,f=t.entryRequirements,g=t.startDate,E=t.yearOfEntry,_=t.fees,b=t.deliveryFormat,w=t.locationDetails,N=t.modalCTA;return e.createElement("section",{className:v("hero-courses",a&&"theme-".concat(a)),id:"hero-courses"},e.createElement("div",{className:"hero-courses__container"},e.createElement("div",{className:"hero-courses__content"},e.createElement("div",{className:"hero-courses__title-wrapper"},e.createElement(k,{htmlTag:l,classNames:"hero-courses__title"},r&&r.length>0&&i&&i.length>0?r+" ":r,e.createElement("span",{className:"hero-courses__title-award"},i))),w&&e.createElement("div",{className:"hero-courses__location-wrapper"},e.createElement(Ia,u({},w,{inverse:!1}))),e.createElement("ul",{className:(n="hero-courses__grid--four",s&&(d||b||h)?n="hero-courses__grid--six":(s&&!d&&!b&&!h||!s&&(d||b||h))&&(n="hero-courses__grid--five"),"hero-courses__grid "+n)},s&&e.createElement("li",{className:"hero-courses__column hero-courses__column--ranking"},e.createElement(Da,u({},s))),(h||d||b)&&e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--award"},h&&e.createElement(Fa,u({},h)),d&&e.createElement(Fa,u({},d)),b&&e.createElement(Fa,u({},b))),p&&E?e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--duration"},e.createElement(Ba,u({},E)),e.createElement(Fa,u({},p))):p&&g?e.createElement("li",{className:"hero-courses__column hero-courses__column--split hero-courses__column--duration"},e.createElement(Fa,u({},g)),e.createElement(Fa,u({},p))):e.createElement("li",{className:"hero-courses__column hero-courses__column--duration"},e.createElement(Fa,u({},p))),m&&e.createElement("li",{className:"hero-courses__column hero-courses__column--delivery-format"},e.createElement(Fa,u({},m))),e.createElement("li",{className:"hero-courses__column hero-courses__column--entry-requirements"},e.createElement(Fa,u({},f))),e.createElement("li",{className:"hero-courses__column hero-courses__column--fees"},e.createElement(Fa,u({},_)))),e.createElement("div",{className:"hero-courses__button-wrapper"},e.createElement("ul",{className:"hero-courses__buttons"},o&&o.map(function(t,n){return t.externalLink?e.createElement("li",{className:"hero-courses__button",key:n},e.createElement(De,{theme:a,label:t.label,icon:"external",hollow:n%2!=0,iconPosition:"right",url:t.url,inverse:!0,onClick:t.onClick})):e.createElement("li",{className:"hero-courses__button",key:n},e.createElement(y,{theme:a,label:t.label,hollow:n%2!=0,url:t.url,inverse:!0,onClick:t.onClick}))})),N&&e.createElement(qa,{theme:a,inverse:!N.inverse,hollow:!0,buttonLabel:N.buttonLabel,modalChildren:N.modalChildren})))))}d(),d(),d(),d(),d(),d(),d();var $a={first:{clipPath:"polygon(0 0, 95% 0, 75% 100%, 0 80%)"},second:{clipPath:"polygon(0 0, 100% 0, 75% 70%, 0 90%)"},third:{clipPath:"polygon(0 0, 80% 0, 95% 90%, 0 80%)"},visible:{opacity:1}},Ra={first:{clipPath:"polygon(0 0, calc(95% - 1px) 0, calc(75% - 1px) calc(100% - 1px), 0 calc(80% - 1px))"},second:{clipPath:"polygon(0 0, calc(100% - 1px) 0, calc(75% - 1px) calc(70% - 1px), 0 calc(90% - 1px))"},third:{clipPath:"polygon(0 0, calc(80% - 1px) 0, calc(95% - 1px) calc(90% - 1px), 0 calc(80% - 1px))"}},ja={first:{clipPath:"polygon(0 25%, 100% 5%, 100% 100%, 23% 100%)"},second:{clipPath:"polygon(33% 20%, 100% 5%, 100% 100%, 0 100%)"},third:{clipPath:"polygon(0 3%, 100% 20%, 100% 100%, 23% 100%)"},visible:{opacity:1}},za={first:{clipPath:"polygon(1px calc(25% + 1px), 100% calc(5% + 1px), 100% 100%, calc(23% + 1px) 100%)"},second:{clipPath:"polygon(calc(33% + 1px) calc(20% + 1px), 100% calc(5% + 1px), 100% 100%, 1px 100%)"},third:{clipPath:"polygon(1px calc(3% + 1px), 100% calc(20% + 1px), 100% 100%, calc(23% + 1px) 100%"}},Ua={first:{clipPath:"polygon(0 33%, 100% 10%, 100% 100%, 23% 100%)"},second:{clipPath:"polygon(33% 30%, 100% 10%, 100% 100%, 0 100%)"},third:{clipPath:"polygon(0 10%, 100% 25%, 100% 100%, 15% 100%)"},visible:{opacity:1}},Wa={first:{clipPath:"polygon(1px calc(33% + 1px), 100% calc(10% + 1px), 100% 100%, calc(23% + 1px) 100%)"},second:{clipPath:"polygon(calc(33% + 1px) calc(30% + 1px), 100% calc(10% + 1px), 100% 100%, 1px 100%)"},third:{clipPath:"polygon(1px calc(10% + 1px), 100% calc(25% + 1px), 100% 100%, calc(15% + 1px) 100%"}},Ga={first:{left:"calc(75% + 1px)",bottom:0,transform:"rotate(-40deg)"},second:{left:"75%",bottom:"30%",transform:"rotate(-15deg)"},third:{left:"95%",bottom:"10%",transform:"rotate(-70deg)"}},Ka={first:{left:"calc(75% + 1px)",bottom:0,transform:"rotate(-15deg)"},second:{left:"75%",bottom:"30%",transform:"rotate(10deg)"},third:{left:"95%",bottom:"10%",transform:"rotate(-30deg)"}},Ya={first:{left:"2px",top:"calc(25% - 1px)",transform:"rotate(-130deg)"},second:{left:"calc(33% + 2px)",top:"calc(20% - 1px)",transform:"rotate(-155deg)"},third:{left:"0",top:"calc(3% - 3px)",transform:"rotate(-170deg)"}},Ja={first:{left:"2px",top:"calc(25% - 1px)",transform:"rotate(-50deg)"},second:{left:"calc(33% + 2px)",top:"calc(20% - 1px)",transform:"rotate(-110deg)"},third:{left:"1px",top:"calc(3% - 1px)",transform:"rotate(-10deg)"}},Xa={first:{left:"2px",top:"calc(33% - 1px)",transform:"rotate(-130deg)"},second:{left:"calc(33% + 1px)",top:"calc(30% - 2px)",transform:"rotate(-160deg)"},third:{left:"1px",top:"calc(10% - 2px)",transform:"rotate(-160deg)"}},Qa={first:{left:"2px",top:"calc(33% - 1px)",transform:"rotate(-45deg)"},second:{left:"calc(33% + 1px)",top:"calc(30% - 2px)",transform:"rotate(-75deg)"},third:{left:"0",top:"calc(10%)",transform:"rotate(-15deg)"}},er={initial:{pathLength:0},animate:{pathLength:1},transition:{delay:.5,duration:1}};function tr(t){var n=t.isMobile,a=t.isTablet,r=t.activeVariant;return n?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Ga,animate:r,initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Ka,animate:r,initial:!1},e.createElement("svg",{width:"140",height:"2",viewBox:"0 0 140 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H140",stroke:"black"},er))))):a?e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Ya,animate:r,initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Ja,animate:r,initial:!1},e.createElement("svg",{width:"260",height:"2",viewBox:"0 0 260 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H260",stroke:"black"},er))))):e.createElement(e.Fragment,null,e.createElement(i.div,{className:"hero-carousel__line",variants:Xa,animate:r,initial:!1},e.createElement("svg",{width:"360",height:"2",viewBox:"0 0 360 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H360",stroke:"black"},er)))),e.createElement(i.div,{className:"hero-carousel__line",variants:Qa,animate:r,initial:!1},e.createElement("svg",{width:"360",height:"2",viewBox:"0 0 360 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement(i.path,u({d:"M0 1H360",stroke:"black"},er)))))}function nr(t){var n,c,o=t.isMobile,s=t.isTablet,d=t.activeVariant,u=t.imageSrc,h=t.imageAlt,p=t.imageFetchPriority,v=r(null),f=l();return a(function(){v.current&&v.current.setAttribute("fetchpriority",null!=p?p:"high")}),e.createElement(e.Fragment,null,e.createElement(m,null,e.createElement(i.div,{className:"hero-carousel__image-wrapper",transition:{delayChildren:1}},e.createElement(i.img,{ref:v,className:"hero-carousel__image",src:u.default,srcSet:"".concat(null!==(n=u.small)&&void 0!==n?n:u.default," 576w, ").concat(null!==(c=u.medium)&&void 0!==c?c:u.default," 992w, ").concat(u.default," 1440w"),alt:h,variants:o?Ra:s?za:Wa,animate:d,initial:{clipPath:"polygon(0 0, 0 0, 0 0, 0 0)"},transition:{type:"tween"}}),e.createElement(i.div,{key:f,className:"hero-carousel__image-background",variants:o?$a:s?ja:Ua,animate:["visible",d],exit:{backgroundColor:"rgba(255, 255, 255, 0)"},transition:{type:"tween"},initial:{opacity:0,clipPath:"polygon(1% 1%, 1% 1%, 1% 1%, 1% 1%)"}}))))}var ar=t(function(t,n){var a=t.theme,r=t.category,c=t.title,l=t.description,i=t.linkUrl,o=t.linkLabel,s=t.onKeyDown;return e.createElement(e.Fragment,null,e.createElement("p",{className:"hero-carousel__category"},r),e.createElement("h2",{className:"hero-carousel__title"},c),e.createElement("p",{className:"hero-carousel__description"},l),e.createElement("div",{className:"hero-carousel__cta"},e.createElement(N,{url:i,title:o,theme:a,inverse:!0,onKeyDown:s,ref:n})))});function rr(t){var a=t.theme,c=t.cards,l=c.length>1,o=n(0),s=o[0],m=o[1],d=c[s],u=r(null),h=Le("768px"),p=Le("1248px"),f="";switch(s){case 0:f="first";break;case 1:f="second";break;case 2:f="third"}var g=l?e.createElement(tt,{theme:a,totalNumber:c.length,currentNumber:s+1,carouselId:"hero-carousel",onClickPrev:function(){m(function(e){return e-1})},onClickNext:function(){m(function(e){return e+1})},prevButtonDisabled:0===s,nextButtonDisabled:s===c.length-1,showNumbers:!0}):e.createElement(e.Fragment,null);return e.createElement("div",{className:v("hero-carousel",a&&"theme-".concat(a)),id:"hero-carousel"},e.createElement("div",{className:"hero-carousel__top"},e.createElement("div",{className:"hero-carousel__content"},h&&e.createElement("div",{className:"hero-carousel__image-container hero-carousel__image-container--mobile"},e.createElement(nr,{isMobile:!0,isTablet:!1,activeVariant:f,imageSrc:d.imageSrc,imageAlt:d.imageAlt}),e.createElement(tr,{isMobile:!0,isTablet:!1,activeVariant:f})),e.createElement("div",{className:"hero-carousel__cards"},e.createElement(i.section,{className:"hero-carousel__active-card",key:s,initial:{opacity:0},animate:{opacity:1}},e.createElement(ar,{category:d.category,title:d.title,description:d.description,linkUrl:d.linkUrl,linkLabel:d.linkLabel,theme:a,ref:u})),h&&l&&c.map(function(t,n){return e.createElement("section",{className:"hero-carousel__invisible-card hero-carousel__invisible-card--mobile",key:n,"aria-hidden":!0},e.createElement(ar,{category:t.category,title:t.title,description:t.description,linkUrl:t.linkUrl,linkLabel:t.linkLabel,theme:a}))}),e.createElement("div",{className:"hero-carousel__nav hero-carousel__nav--desktop"},g)),e.createElement("div",{className:"hero-carousel__image-container hero-carousel__image-container--desktop"},e.createElement(nr,{isMobile:!1,isTablet:p,activeVariant:f,imageSrc:d.imageSrc,imageAlt:d.imageAlt}),e.createElement(tr,{isMobile:!1,isTablet:p,activeVariant:f}))),!h&&l&&c.map(function(t,n){return e.createElement("div",{className:"hero-carousel__invisible-card hero-carousel__invisible-card--desktop",key:n,"aria-hidden":!0},e.createElement("section",null,e.createElement(ar,{category:t.category,title:t.title,description:t.description,linkUrl:t.linkUrl,linkLabel:t.linkLabel,theme:a})))})),h&&e.createElement("div",{className:"hero-carousel__nav hero-carousel__nav--mobile"},g))}function cr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.title,l=t.description,i=t.linkProps,o=t.fullWidth,s=t.makeHeadingFullWidth,m=t.images,d=t.htmlTag;if(!m||0===m.length)return null;var h=3===m.length&&!o;return e.createElement("div",{className:v("image-block","theme-".concat(a),r&&"theme-".concat(a,"--inverse"),o?"image-block--full-width":"image-block--standard-width","image-block--count-".concat(m.length))},(c||l||i)&&e.createElement(L,{theme:a,inverse:r,title:c,description:l,linkProps:i,fullWidth:!!s,htmlTag:d}),e.createElement("div",{className:"image-block__container"},h?e.createElement("div",{className:"image-block__inner-grid"},m.map(function(t,n){return e.createElement("div",{key:n,className:"image-block__item"},e.createElement(Ge,u({},t,{theme:a,inverse:r})))})):m.map(function(t,n){return e.createElement("div",{key:n,className:v("image-block__item","image-block__item--index-".concat(n+1))},e.createElement(Ge,u({},t,{theme:a,inverse:r})))})))}function lr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.title,i=t.description,o=t.linkProps,s=t.fullWidth,m=void 0!==s&&s,d=t.widerImage,u=t.images,h=t.htmlTag;return e.createElement("section",{className:v("image-carousel",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),m&&"image-carousel--full-width",d&&"image-carousel--wider-image")},(l||i)&&e.createElement(L,{theme:a,htmlTag:h,inverse:c,title:l,description:i,linkProps:o}),e.createElement("div",{className:"image-carousel__grid"},e.createElement(nt,{theme:a,inverse:c,type:"image",cards:u})))}function ir(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=void 0===r?"Page contents":r,l=t.links,i=t.buttonLinks,o=t.locationDetails,s=function(e){var t=document.getElementById(e);if(t){var n=t.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:n,behavior:"smooth"});var a=null,r=null,c=0,l=function(){a&&(a.disconnect(),a=null),r&&(r.disconnect(),r=null),c&&(clearTimeout(c),c=0)},i=function(e){return!!e&&(a=new IntersectionObserver(function(t){t.some(function(e){return e.isIntersecting})&&function(e){try{e.focus({preventScroll:!0})}catch(e){}finally{l()}}(e)},{root:null,threshold:.1,rootMargin:"0px 0px -20% 0px"}),a.observe(e),!0)},o=t.querySelector("h1,h2,h3,h4,h5,h6");i(o)||(r=new MutationObserver(function(){o=t.querySelector("h1,h2,h3,h4,h5,h6"),i(o)&&r&&(r.disconnect(),r=null)})).observe(t,{childList:!0,subtree:!0}),c=window.setTimeout(function(){l();var e=t.querySelector('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(e){var n=!e.hasAttribute("tabindex");n&&e.setAttribute("tabindex","-1"),e.focus({preventScroll:!0}),n&&e.removeAttribute("tabindex")}},1e3)}},m=function(e,t){e.preventDefault(),s(t.replace("#",""))};return e.createElement("div",{className:v("in-page-navigation-links",a&&"theme-".concat(a))},e.createElement("h2",{className:"in-page-navigation-links__heading"},c),o&&e.createElement(Ia,u({},o,{inverse:!0})),e.createElement("nav",null,e.createElement("ul",{className:"in-page-navigation-links__link-container"},l.map(function(t){return e.createElement("li",{className:v("in-page-navigation-links__link-wrapper",t.active&&"in-page-navigation-links__link-wrapper--active"),key:t.url},e.createElement("a",{className:"in-page-navigation-links__link",href:t.url,onClick:function(e){return m(e,t.url)},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||m(e,t.url)}},t.title))}))),e.createElement("ul",null,i&&i.map(function(t,n){return t.externalLink?e.createElement("li",{className:"in-page-navigation-links__link-button",key:n},e.createElement(De,{theme:a,label:t.label,icon:"external",hollow:n%2!=0,iconPosition:"right",url:t.url,onClick:t.onClick})):e.createElement("li",{className:"in-page-navigation-links__link-button",key:n},e.createElement(y,{theme:a,label:t.label,hollow:n%2!=0,url:t.url,onClick:t.onClick}))})))}function or(t){var c,l,o=t.theme,s=void 0===o?"uobmain":o,d=t.inverse,h=void 0!==d&&d,p=t.links,f=t.expandableHeader,g=void 0===f?"Page contents":f,E=n(!1),_=E[0],b=E[1],w=n("not-docked"),y=w[0],N=w[1],C=n(null),k=C[0],x=C[1],T=r(null),L=r(null),M=r(null),H=r(null),S=r(null),P=function(){b(!1)};return a(function(){var e=function(e){!c.current||e.target instanceof HTMLElement&&c.current.contains(e.target)||l()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[c=S,l=function(){return P()}]),a(function(){var e;M.current=new IntersectionObserver(function(t){var n;e=null===(n=t.find(function(e){return e.isIntersecting}))||void 0===n?void 0:n.target,N(e?"docked":"not-docked")},{rootMargin:"0px 0px -100%"}),L.current=new IntersectionObserver(function(t){var n,a=null===(n=t.find(function(e){return e.isIntersecting}))||void 0===n?void 0:n.target;a?N("docked-at-bottom"):!a&&e&&N("docked")}),T.current=new IntersectionObserver(function(e){var t,n=null===(t=e.find(function(e){return e.isIntersecting}))||void 0===t?void 0:t.target;n&&x(n.id)},{rootMargin:"0px 0px -".concat(.7*window.innerHeight,"px 0px")});var t=document.querySelectorAll(".anchor-target");t.forEach(function(e){T&&T.current&&T.current.observe(e)});var n=document.querySelectorAll("#footer");n.forEach(function(e){L&&L.current&&L.current.observe(e)});var a=document.querySelectorAll("#sidebar");return a.forEach(function(e){M&&M.current&&M.current.observe(e)}),function(){t.forEach(function(e){T&&T.current&&T.current.unobserve(e)}),a.forEach(function(e){M&&M.current&&M.current.unobserve(e)}),n.forEach(function(e){L&&L.current&&L.current.unobserve(e)})}},[]),p.links.map(function(e){return e.url.substring(1)===k?e.active=!0:e.active=!1}),e.createElement("div",{className:v("in-page-navigation",s&&"theme-".concat(s),h&&"theme-".concat(s,"--inverse"))},e.createElement("div",{className:v("in-page-navigation--mobile",y)},e.createElement("div",{className:"in-page-navigation__closed"},e.createElement("div",{className:"in-page-navigation__top-container"},e.createElement("div",{className:"in-page-navigation__right-wrapper"},e.createElement("div",{className:"in-page-navigation__menu-button"},e.createElement("span",{className:"in-page-navigation__expandable-header"},g),e.createElement(qe,{theme:"uobmain",icon:"menu",onClick:function(){b(!0)},title:"Open menu",ariaControls:"in-page-navigation",ref:H,ariaExpanded:_})))))),_&&e.createElement("div",{className:"in-page-navigation__overlay"}),e.createElement(m,null,_&&e.createElement(i.div,{className:"in-page-navigation__open",initial:{x:"100%"},animate:{x:"0"},exit:{x:"100%"},transition:{type:"tween"},key:"in-page-navigation__open",ref:S},e.createElement(Fe,null,e.createElement("div",{className:"in-page-navigation__nav"},e.createElement("div",{className:"in-page-navigation__top-container"},e.createElement("div",{className:"in-page-navigation__right-wrapper"},e.createElement("div",{className:"in-page-navigation__close-button"},e.createElement("span",null,"Close"),e.createElement(qe,{theme:"uobmain",inverse:!0,icon:"cross",onClick:P,title:"Close menu",ariaControls:"in-page-navigation"})))),e.createElement(ir,u({},p,{theme:"uobmain"})))))),e.createElement("div",{className:v("in-page-navigation--desktop",y)},e.createElement(ir,u({},p,{theme:s}))))}function sr(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.fullWidth,i=t.removeBottomPadding,o=void 0!==i&&i,s=t.removeTopPadding,m=void 0!==s&&s;return e.createElement("div",{className:v("intro-text",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),l&&"intro-text--full-width",o&&"intro-text--no-bottom-padding",m&&"intro-text--no-top-padding")},e.createElement("div",{className:"intro-text__container"},e.createElement("p",{className:"intro-text__text"},n)))}function mr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.cards,l=t.link;return e.createElement("div",{className:v("most-read-news",a&&"theme-".concat(a))},e.createElement("h2",{className:"most-read-news__title"},r),e.createElement("ul",{className:"most-read-news__card-container"},c.map(function(t,n){return e.createElement("li",{className:"most-read-news__card",key:n},e.createElement(Ke,{theme:a,title:t.title,href:t.href,titleTag:"h3",publishDate:t.publishDate}))})),l&&e.createElement(N,{theme:a,inverse:!0,url:l.url,title:l.title}))}function dr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.featuredArticle,c=t.otherLeadArticles,l=t.mostReadNews;return e.createElement("section",{className:v("lead-news-articles",a&&"theme-".concat(a))},e.createElement("div",{className:"lead-news-articles__container"},e.createElement("div",{className:"lead-news-articles__main-container"},e.createElement("div",{className:"lead-news-articles__featured-card"},e.createElement(Ke,u({},r,{isPrimary:!0}))),e.createElement("ul",{className:"lead-news-articles__secondary-card-container"},c.map(function(t,n){return e.createElement("li",{className:"lead-news-articles__secondary-card",key:n},e.createElement(Ke,{theme:a,image:t.image,title:t.title,href:t.href,titleTag:t.titleTag,publishDate:t.publishDate}))}))),e.createElement("div",{className:"lead-news-articles__side-container"},e.createElement(mr,u({},l)))))}function ur(t){var c=t.theme,l=t.showFilterButtonLabel,o=t.numSelected,s=t.filterElement,m=n(!1),d=m[0],u=m[1],h=r(null),p=function(e){"Escape"===e.key&&d&&u(!1)};return a(function(){return document.addEventListener("keydown",p),function(){document.removeEventListener("keydown",p)}}),a(function(){var e,t;d?null===(e=h.current)||void 0===e||e.showModal():null===(t=h.current)||void 0===t||t.close()},[d]),e.createElement(e.Fragment,null,e.createElement("div",{className:v("listing-filter-wrapper","theme-".concat(c))},e.createElement("div",{className:"listing-filter-wrapper__mobile"},e.createElement("button",{className:"listing-filter-wrapper__show-filter-button",onClick:function(){u(!0),document.body.classList.add("lock-scroll")}},e.createElement(_,{theme:"uobmain",icon:"settings"}),l,o&&e.createElement("span",{className:"listing-filter-wrapper__num-selected"},o,e.createElement("span",{className:"sr-only"},o>1?"filters":"filter"," selected"))))),e.createElement(Fe,null,e.createElement(i.dialog,{className:v("listing-filter-wrapper__dialog","theme-".concat(c)),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},ref:h},e.createElement("div",{className:"listing-filter-wrapper__popup-wrapper"},e.createElement("div",{className:"listing-filter-wrapper__popup"},e.createElement("button",{className:"listing-filter-wrapper__close-button",onClick:function(){u(!1),document.body.classList.remove("lock-scroll")}},e.createElement(_,{icon:"slim-cross",theme:c,ariaHidden:!0}),e.createElement("span",{className:"sr-only"},"Close")),s)))),e.createElement("div",{className:"listing-filter-wrapper__desktop"},s))}function hr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.details,m=t.showCategory,d=void 0!==m&&m;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},d&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),o&&e.createElement("p",{className:"listing-result-card__description"},o),s.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:s,theme:a}))))}function pr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.titleTag,o=void 0===i?"h2":i,s=t.url,m=t.description,d=t.supervisors,h=t.department,p=t.details,v=t.showCategory,f=void 0!==v&&v;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},f&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement(k,{htmlTag:"h3"===o?"h3":"h2"},e.createElement("a",{className:"listing-result-card__title",href:s},l)),(d||h)&&e.createElement("div",{className:"listing-result-card__course-info"},d&&e.createElement("p",{className:"listing-result-card__supervisors"},"Supervisors: ",d),h&&e.createElement("p",{className:"listing-result-card__department"},h)),m&&e.createElement("p",{className:"listing-result-card__description"},m),p.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:p,theme:a}))))}function vr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.type,i=t.image,o=t.title,s=t.url,m=t.description,d=t.details,h=t.showCategory,p=void 0!==h&&h,v=t.cardDescriptionIsRichText,f=void 0!==v&&v,g=t.titleTag,E=void 0===g?"h2":g,_=t.eventStatus,b=void 0===_?void 0:_;return e.createElement(e.Fragment,null,i&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},i)),b&&e.createElement("div",{className:"listing-result-card__event-graphic"},e.createElement(Ae,{theme:"uobmain",status:b,day:void 0,month:void 0}))),e.createElement("div",{className:"listing-result-card__text"},p&&e.createElement("p",{className:"listing-result-card__category"},l),e.createElement(k,{htmlTag:E},e.createElement("a",{className:"listing-result-card__title",href:s},o)),m&&!f&&e.createElement("p",{className:"listing-result-card__description"},m),m&&f&&e.createElement(x,{theme:a,inverse:c,text:m}),d.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:d,theme:a}))))}function fr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.author,m=t.details,d=t.showCategory,h=void 0!==d&&d;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},h&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),s&&e.createElement("p",{className:"listing-result-card__author"},"by ",s),o&&e.createElement("p",{className:"listing-result-card__description"},o),m.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:m,theme:a}))))}function gr(t){var n=t.image,a=t.title,r=t.url,c=t.description;return e.createElement(e.Fragment,null,n&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},n))),e.createElement("div",{className:"listing-result-card__text"},e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:r},a)),c&&e.createElement("p",{className:"listing-result-card__description"},c)))}function Er(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.type,c=t.image,l=t.title,i=t.url,o=t.description,s=t.jobTitle,m=t.department,d=t.details,h=t.showCategory,p=void 0!==h&&h;return e.createElement(e.Fragment,null,c&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},c))),e.createElement("div",{className:"listing-result-card__text"},p&&e.createElement("p",{className:"listing-result-card__category"},r),e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:i},l)),(s||m)&&e.createElement("div",{className:"listing-result-card__staff-info"},s&&e.createElement("p",{className:"listing-result-card__job-title"},s),m&&e.createElement("p",{className:"listing-result-card__department"},m)),o&&e.createElement("p",{className:"listing-result-card__description"},o),d.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:d,theme:a}))))}function _r(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.image,c=t.title,l=t.url,i=t.description,o=t.jobTitle,s=t.department,m=t.details;return e.createElement(e.Fragment,null,r&&e.createElement("div",{className:"listing-result-card__image"},e.createElement(H,u({},r))),e.createElement("div",{className:"listing-result-card__text"},e.createElement("h2",null,e.createElement("a",{className:"listing-result-card__title",href:l},c)),(o||s)&&e.createElement("div",{className:"listing-result-card__staff-info"},o&&e.createElement("p",{className:"listing-result-card__job-title"},o),s&&e.createElement("p",{className:"listing-result-card__department"},s)),i&&e.createElement("p",{className:"listing-result-card__description"},i.length>120?"".concat(i.slice(0,120),"..."):i),m.length>0&&e.createElement("div",{className:"listing-result-card__details"},e.createElement(Qe,{details:m,theme:a}))))}function br(t){return e.createElement("article",{className:v("listing-result-card",t.theme&&"theme-".concat(t.theme))},"page"===t.type&&e.createElement(gr,u({},t)),"course"===t.type&&e.createElement(pr,u({},t)),"accomodation"===t.type&&e.createElement(hr,u({},t)),"event"===t.type&&e.createElement(vr,u({},t)),"news"===t.type&&e.createElement(fr,u({},t)),"staff"===t.type&&e.createElement(Er,u({},t)),"profile"===t.type&&e.createElement(_r,u({},t)))}function wr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.showCategory,c=void 0!==r&&r,l=t.cards,i=t.headingInfo;return e.createElement(e.Fragment,null,i&&e.createElement(L,u({},i,{theme:a,fullWidth:!0})),e.createElement("ul",{className:v("listing-results",a&&"theme-".concat(a))},l.map(function(t,n){return e.createElement("li",{className:"listing-results__card",key:n},e.createElement(br,u({},t,{showCategory:c,theme:a})))})))}function yr(t){var n=t.count,a=t.theme,r=void 0===a?"uobmain":a;return e.createElement("p",{className:v("listing-results-count",r&&"theme-".concat(r))},e.createElement("span",{className:"listing-results-count__number"},n.toLocaleString())," results were found based on your search term")}function Nr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.listItems;return e.createElement("div",{className:v("list-table",a&&"theme-".concat(a))},(null==r?void 0:r.length)?e.createElement("ul",{className:"list-table__list"},null==r?void 0:r.map(function(t,n){return e.createElement("li",{key:t+n,className:"list-table__list-item"},e.createElement(x,{inverse:!0,theme:"uobmain",text:t}))})):null)}function Cr(t){var n=t.children;return e.createElement("main",{id:"main"},n)}function kr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.heading,c=t.cards,l=t.cardType,i=void 0===l?"featured-news":l;return e.createElement("section",{className:v("news-articles-promo-block",a&&"theme-".concat(a),i&&"news-articles-promo-block--".concat(i))},e.createElement("div",{className:"news-articles-promo-block__heading-container"},r&&e.createElement("h2",{className:"news-articles-promo-block__heading"},r)),e.createElement("div",{className:"news-articles-promo-block__cards news-articles-promo-block__cards--mobile"},"featured-news"===i&&e.createElement(nt,{theme:a,type:"featured-news",cards:c,inverse:!0,cardTitleTag:"h3"}),"promo-video"===i&&e.createElement(nt,{theme:a,type:"promo-video",cards:c,inverse:!0,cardTitleTag:"h3",setCardInverse:"dark"})),e.createElement("ul",{className:"news-articles-promo-block__cards news-articles-promo-block__cards--desktop"},c.map(function(t,n){return e.createElement("li",{key:n},"featured-news"===i&&e.createElement(Ke,u({},t,{inverse:!0,titleTag:"h3"})),"promo-video"===i&&e.createElement(je,u({},t,{inverse:!1,titleTag:"h3"})))})))}function xr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.numOfPages,c=t.onClick,l=t.currentPage,i=Le("768px"),o=e.createElement("li",null,e.createElement("span",{className:"pagination__ellipse"},"..."));return i&&r<=4?e.createElement(e.Fragment,null,Array(r).fill(0).map(function(t,n){return e.createElement("li",{className:v("pagination__number",l===n&&"pagination__number--selected"),key:n},e.createElement(y,{label:(n+1).toString(),onClick:function(){return c(n)},hollow:!(l===n),theme:a}))})):i&&r>4?e.createElement(e.Fragment,null,l>0&&e.createElement("li",{key:0,className:"pagination__number"},e.createElement(y,{label:"1",onClick:function(){return c(0)},theme:a,hollow:!0})),l+1>=3&&o,e.createElement("li",{key:l,className:"pagination__number pagination__number--selected"},e.createElement(y,{label:"".concat(l+1," "),onClick:function(){return c(l)},theme:a})),l+1<r-1&&o,l!==r-1&&e.createElement("li",{key:r-1,className:"pagination__number"},e.createElement(y,{label:r.toString(),onClick:function(){return c(r-1)},theme:a,hollow:!0}))):!i&&r<=6?e.createElement(e.Fragment,null,Array(r).fill(0).map(function(t,n){return e.createElement("li",{key:n,className:v("pagination__number",l===n&&"pagination__number--selected","test")},e.createElement(y,{label:(n+1).toString(),onClick:function(){return c(n)},hollow:!(l===n),theme:a}))})):!i&&r>6?e.createElement(e.Fragment,null,l>0&&e.createElement("li",{key:0,className:"pagination__number start"},e.createElement(y,{label:"1",onClick:function(){return c(0)},theme:a,hollow:!0})),l+1>=4&&o,l>1&&e.createElement("li",{key:l-1,className:"pagination__number before"},e.createElement(y,{label:(l>=1?l:l-1).toString(),onClick:function(){return c(l-1)},theme:a,hollow:!0})),e.createElement("li",{key:l,className:"pagination__number pagination__number--selected current"},e.createElement(y,{label:"".concat(l+1),onClick:function(){return c(l)},theme:a})),l+1<r-1&&e.createElement("li",{key:l+1,className:"pagination__number after"},e.createElement(y,{label:"".concat(l+2),onClick:function(){return c(l+1)},theme:a,hollow:!0})),l+1<r-2&&o,l+1!==r&&e.createElement("li",{key:r-1,className:"pagination__number end"},e.createElement(y,{label:"".concat(r),onClick:function(){return c(r-1)},theme:a,hollow:!0}))):e.createElement(e.Fragment,null)}function Tr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.numOfPages,c=t.onClick,l=t.currentPage,i=!Le("1248px");return r<=1?e.createElement(e.Fragment,null):e.createElement("div",{className:v("pagination",a&&"theme-".concat(a))},e.createElement("ul",{className:"pagination__container"},e.createElement("li",{className:"pagination__prev",key:"prev"},i?e.createElement(y,{theme:a,label:"Previous",onClick:function(){return c(l-1)},hollow:!0,disabled:l<1}):e.createElement(qe,{theme:a,icon:"arrow-left",title:"Previous",onClick:function(){return c(l-1)},disabled:l<1,inverse:!0})),e.createElement(xr,{currentPage:l,onClick:c,theme:a,numOfPages:r}),e.createElement("li",{className:"pagination__next",key:"next"},i?e.createElement(y,{theme:a,label:"Next",onClick:function(){return c(l+1)},hollow:!0,disabled:l+1===r}):e.createElement(qe,{theme:a,icon:"arrow-right",title:"Next",onClick:function(){return c(l+1)},disabled:l+1===r,inverse:!0}))))}function Lr(t){var n,a=t.theme,r=t.inverse,c=t.type,l=t.title,i=t.description,o=t.link,s=t.cards,m=t.imageOrientation,d=void 0===m?"left":m,h=t.titleTag,p=void 0===h?"h2":h,f=t.cardTitleTag,g=void 0===f?"h3":f,_=t.cardCopyIsRichText,b=void 0!==_&&_,w=t.fullWidth,y=void 0!==w&&w,C=t.fullWidthTitle,x=void 0!==C&&C,T=t.showFilters,L=void 0!==T&&T,M=t.firstFilterSelect,H=t.secondFilterSelect,S=!1;Le("768px")?s.length>1&&(S=!0):(y&&s.length>2||s.length>3)&&(S=!0);var P=v(((n={})["promo-block__grid"]=!0,n["promo-block__grid--single"]=1===s.length,n["promo-block__grid--two-cards"]=2===s.length,n["promo-block__grid--three-cards"]=3===s.length,n["promo-block__grid--four-plus-cards"]=s.length>3,n));return e.createElement("div",{className:v("promo-block","promo-block--".concat(c),a&&"theme-".concat(a),r&&"theme-".concat(a,"--inverse"),y&&"promo-block--full-width")},e.createElement("div",{className:"promo-block__container"},e.createElement("div",{className:v("promo-block__top",x&&"promo-block__top--full-width")},l&&e.createElement(k,{htmlTag:p,classNames:v("promo-block__title","h3"===p&&"promo-block__title--h3")},l),i&&e.createElement(E,{theme:"uobmain",inverse:r,text:i}),o&&e.createElement("div",{className:"promo-block__text-link"},e.createElement(N,{theme:a,inverse:r,url:o.url,title:o.title,externalLink:o.externalLink}))),L&&e.createElement("div",{className:"promo-block__filters"},e.createElement("div",{className:"promo-block__filter-wrapper"},M&&e.createElement(Ha,u({},M))),e.createElement("div",{className:"promo-block__filter-wrapper"},H&&e.createElement(Ha,u({},H)))),e.createElement("div",{className:"promo-block__content"},e.createElement("div",{className:"promo-block__cards"},!S&&e.createElement("ul",{className:P},s.map(function(t,n){return e.createElement("li",{className:"promo-block__card-item",key:n},function(t){var n=u(u({},t),{cardCopyIsRichText:b});switch(c){case"promo":return e.createElement($e,u({},n));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));case"promo-profile":return e.createElement(et,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:r,isSingle:1===s.length,imageOrientation:d,titleTag:g})))})),S&&e.createElement(nt,{theme:a,inverse:r,type:c,cards:s,cardTitleTag:g,cardCopyIsRichText:b})))))}function Mr(t){var n=t.theme,a=t.inverse,r=t.type,c=t.title,l=t.description,i=t.link,o=t.cards,s=t.imageOrientation,m=void 0===s?"left":s,d=t.fullWidth;return e.createElement("div",{className:v("promo-block-grid","promo-block-grid--".concat(r),n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"),d&&"promo-block-grid--full-width"),id:"promo-block-grid"},e.createElement("div",{className:"promo-block-grid__container"},e.createElement("div",{className:"promo-block-grid__top"},c&&e.createElement("h2",null,c),l&&e.createElement(E,{theme:"uobmain",inverse:a,text:l}),i&&e.createElement("div",{className:"promo-block-grid__text-link"},e.createElement(N,{theme:"uobmain",inverse:a,url:i.url,title:i.title,externalLink:i.externalLink}))),e.createElement("div",{className:"promo-block-grid__content"},e.createElement("div",{className:"promo-block-grid__cards"},o.length>0&&e.createElement("ul",{className:"promo-block-grid__grid"},o.map(function(t,n){return e.createElement("li",{className:"promo-block-grid__card-item",key:n},function(t){switch(r){case"promo":return e.createElement($e,u({},t));case"promo-signpost":return e.createElement(Re,u({},t));case"promo-video":return e.createElement(je,u({},t));default:return e.createElement(e.Fragment,null)}}(u(u({},t),{inverse:a,isSingle:1===o.length,imageOrientation:m,titleTag:c?"h3":"h2"})))}))))))}function Hr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=t.title,l=t.description,i=t.cite,o=t.role,s=t.quote,m=t.quoteeProfileImage,d=t.quoteeProfileImageAltText,u=t.cta,h=t.fullWidth,p=void 0!==h&&h,f=t.htmlTag;return e.createElement("div",{className:v("quote-block","theme-".concat(a),r&&"theme-".concat(a,"--inverse"),p&&"quote-block--full-width")},(c||l)&&e.createElement(L,{theme:a,inverse:r,htmlTag:f,title:c,description:l}),e.createElement("blockquote",{className:v("quote-block__container",!m&&"quote-block__container--no-image")},e.createElement("div",{className:"quote-block__doublequote quote-block__doublequote--open"},e.createElement(_,{icon:"quote-marks",theme:a})),e.createElement("p",{className:"quote-block__quote"},s),m&&e.createElement("div",{className:"quote-block__quotee-image"},e.createElement(H,{src:{default:m},altText:d})),(i||o)&&e.createElement("footer",{className:"quote-block__cite"},i&&e.createElement("cite",{className:"quote-block__cite-cite"},i),o&&e.createElement("div",{className:"quote-block__cite-role"},o)),e.createElement("div",{className:"quote-block__doublequote quote-block__doublequote--close"},e.createElement(_,{icon:"quote-marks",theme:a})),u&&e.createElement("div",{className:"quote-block__optional-link"},e.createElement(N,{inverse:r,onKeyDown:function(){},theme:a,title:u.title,url:u.url}))))}function Sr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.heading,o=t.description,s=t.linkProps,m=t.headingStyle,d=t.fullWidth,h=t.cards,p=Le("768px"),f=p&&h.length>1||!p&&d&&h.length>2||!p&&!d&&h.length>3,g=v(((n={})["related-courses__grid"]=!0,n["related-courses__grid--single"]=1===h.length,n["related-courses__grid--two-cards"]=2===h.length,n["related-courses__grid--three-cards"]=3===h.length,n["related-courses__grid--four-plus-cards"]=h.length>3,n));return e.createElement("section",{className:v("related-courses",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),d&&"related-courses--full-width")},e.createElement("div",{className:"related-courses__container"},e.createElement("h2",{className:v("related-courses__heading",m&&"related-courses__heading--".concat(m))},i),o&&e.createElement("div",{className:"related-courses__description"},o),s&&s.url&&s.title&&e.createElement("div",{className:"related-courses__arrow-link-container"},e.createElement(N,{theme:r,inverse:l,title:s.title,url:s.url})),e.createElement("div",{className:"related-courses__cards"},!f&&e.createElement("ul",{className:g},h.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},e.createElement(We,u({},t)))})),f&&e.createElement(nt,{theme:r,inverse:l,type:"related",cards:h,cardTitleTag:"h3"}))))}function Pr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.headingProps,m=t.cards,d=Le("768px"),h=d&&m.length>1||!d&&m.length>2,p=v(((n={})["scholarship-carousel__grid"]=!0,n["scholarship-carousel__grid--single"]=1===m.length,n["scholarship-carousel__grid--two-cards"]=2===m.length,n["scholarship-carousel__grid--three-plus-cards"]=m.length>3,n));return e.createElement("section",{className:v("scholarship-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"scholarship-carousel--full-width")},e.createElement("div",{className:"scholarship-carousel__container"},s&&e.createElement(L,u({},s,{theme:r,inverse:l,fullWidth:o})),e.createElement("div",{className:"scholarship-carousel__cards"},!h&&e.createElement("ul",{className:p},m.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},e.createElement(Je,u({},t,{inverse:l})))})),h&&e.createElement(nt,{theme:r,inverse:l,type:"scholarship",cards:m,cardTitleTag:"h3"}))))}function Vr(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.heading,m=t.headingStyle,d=void 0===m?null:m,h=t.cards,p=t.singleLink,f=t.titleTag,g=void 0===f?"h2":f,E=t.useCarousel,_=void 0===E||E,b=t.cardType,w=void 0===b?"staff":b,y=Le("768px"),C=_&&y&&h.length>1||_&&!y&&h.length>2,x="staff"===w,T=v(((n={})["staff-listing-carousel__grid"]=!0,n["staff-listing-carousel__grid--single"]=1===h.length,n["staff-listing-carousel__grid--two-cards"]=2===h.length,n["staff-listing-carousel__grid--three-plus-cards"]=h.length>3,n));return e.createElement("section",{className:v("staff-listing-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"staff-listing-carousel--full-width",!_&&"staff-listing-carousel--no-carousel")},e.createElement("div",{className:"staff-listing-carousel__container"},s&&e.createElement(k,{htmlTag:g,classNames:v("staff-listing-carousel__heading","staff-listing-carousel__heading--".concat(g),d&&"staff-listing-carousel__heading--".concat(d))},s),e.createElement("div",{className:"staff-listing-carousel__cards"},!C&&e.createElement("ul",{className:T},h.map(function(t,n){return e.createElement("li",{className:"related-courses__card-item",key:n},x?e.createElement(Ue,u({},t,{theme:r,inverse:l,isSingle:1===h.length})):e.createElement(et,u({},t,{theme:r,inverse:l})))})),C&&e.createElement(nt,{theme:r,inverse:l,type:w,cards:h,cardTitleTag:"h3"})),1===h.length&&p&&e.createElement(N,{theme:r,url:p.url,title:p.title,inverse:!0})))}function Or(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.sidebarElement,c=t.children;return e.createElement("div",{id:"sidebar",className:v("sidebar-wrapper",a&&"theme-".concat(a),!r&&"sidebar-wrapper--no-side-element")},e.createElement("div",{className:"sidebar-wrapper__grid-container"},r&&e.createElement("div",{className:"sidebar-wrapper__sidebar"},r),e.createElement("div",{className:"sidebar-wrapper__children"},c)))}function Zr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.items,i=t.fullWidth,o=void 0!==i&&i,s=t.htmlTag,m=void 0===s?"h2":s;return e.createElement("div",{className:v("signpost",o&&"signpost--full-width",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"signpost__container"},e.createElement("div",{className:"signpost__grid"},l.map(function(t){return e.createElement("div",{className:"signpost__item",key:t.title},t.tag&&e.createElement("p",{className:"signpost__tag"},t.tag),e.createElement(k,{htmlTag:m,classNames:"signpost__title"},t.title),e.createElement(N,{url:t.linkUrl,title:t.linkLabel,theme:a,inverse:c,externalLink:t.external}))}))))}function qr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0!==r&&r,l=t.includeIcon,i=t.link,o=t.fullWidth;return e.createElement("div",{className:v("single-button",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"),o&&"single-button--full-width")},e.createElement("div",{className:"single-button__container"},l?e.createElement(De,u({},i,{inverse:!c})):e.createElement(y,u({},i,{inverse:!c}))))}function Fr(t){var n=t.theme,a=void 0===n?"uobmain":n;return e.createElement("div",{className:v("skip-to-content",a&&"theme-".concat(a))},e.createElement("a",{className:"skip-to-content__link",href:"#main"},"Skip to main content"))}function Br(e,t){return g("".concat(null!=e?e:""," ").concat(t))}function Dr(t){var n=t.children,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c;return e.createElement("div",{className:v("tabs__list__container",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},e.createElement("ul",{className:"tabs__list",role:"tablist"},n))}function Ir(t){var n=t.title,a=t.htmlTag,r=void 0===a?"h3":a,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i,s=t.isActive,m=t.children,d=t.tabsBlockName;if(!s)return null;var u=Br(null!=d?d:"",n);return e.createElement("div",{id:d,className:v("tabs__panel",l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse")),role:"tabpanel","aria-labelledby":"tab_"+u},e.createElement(k,{htmlTag:r,classNames:"tabs__panel-title"},n),m)}function Ar(t){var n=t.id,c=t.theme,l=void 0===c?"uobmain":c,i=t.inverse,o=void 0!==i&&i,s=t.tabItem,m=t.isActive,d=t.hasFocus,u=t.tabsBlockName,h=t.handleClick,p=t.handleKeyboardNavigation,f=r(null);a(function(){m&&d&&f.current&&(f.current.focus(),window.matchMedia("min-width: 768px").matches&&f.current.scrollIntoView())});var g=Br(null!=u?u:"",s.title);return e.createElement("li",{className:"tabs__list-item",role:"presentation"},e.createElement("button",{className:v("tabs__tab",l&&"theme-".concat(l),o&&"theme-".concat(l,"--inverse"),m&&"active"),onClick:function(e){return h(e,n)},onKeyDown:p,ref:f,id:"tab_"+g,role:"tab","aria-controls":g,"aria-selected":m?"true":"false",tabIndex:m?0:-1,type:"button"},s.title))}function $r(t){var l=t.theme,i=void 0===l?"uobmain":l,o=t.inverse,s=void 0!==o&&o,m=t.title,d=t.description,h=t.tabItems,p=t.fullWidth,f=t.htmlTag,g=void 0===f?"h2":f,_=t.removeBottomPadding,b=void 0!==_&&_,w=t.name,k=t.enableHashNavigation,x=void 0!==k&&k,T=r(null),H=c(function(){return h.findIndex(function(e){return Br(null!=w?w:"",e.title)===window.location.hash.substring(1)})},[h,w]),S=n(0),P=S[0],V=S[1],O=n(-1),Z=O[0],q=O[1],F=Le("1248px");function B(e){if(x){var t=window.location.href.replace(window.location.hash,""),n=Br(null!=w?w:"",h[e].title);history.pushState(null,"null",t.concat("#",n))}}function D(e,t){e.preventDefault(),V(t),B(t)}a(function(){if(0!==window.location.hash.length){var e=H();e<0||(V(e),q(e))}},[H,V]);var I=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":case"Left":case"Up":if(0===P)return;V(P-1),q(P-1),B(P-1);break;case"ArrowRight":case"ArrowDown":case"Right":case"Down":if(P>=h.length-1)return;V(P+1),q(P+1),B(P+1);break;case"Home":V(0),q(0),B(0);break;case"End":V(h.length-1),q(h.length-1),B(h.length-1)}};function A(){var e="h3";return m&&"h2"===g?e="h3":m&&"h3"===g&&(e="h4"),e}return a(function(){var e=function(e){if(e.preventDefault(),0!==window.location.hash.length){var t=H();t<0||(V(t),q(t))}};return window.addEventListener("hashchange",e),function(){window.removeEventListener("hashchange",e)}},[P,H]),e.createElement(e.Fragment,null,F&&e.createElement(M,{heading:{title:m,description:d,fullWidth:p,htmlTag:g},theme:i,inverse:s,fullWidth:p,accordionItems:h.map(function(e,t){return{key:e.title||t,title:e.title,text:e.content,titleTag:e.titleTag?e.titleTag:A(),primaryButton:e.primaryButton,secondaryButton:e.secondaryButton,link:e.link}})}),e.createElement("div",{className:v("tabs",i&&"theme-".concat(i),s&&"theme-".concat(i,"--inverse"),p&&"tabs--full-width",b&&"tabs--no-bottom-padding"),id:"tabs",ref:T},!F&&e.createElement(e.Fragment,null,e.createElement(L,{theme:i,inverse:s,htmlTag:g,title:m,description:d,fullWidth:p}),e.createElement("div",{className:"tabs__container"},e.createElement("span",null,e.createElement(Dr,{theme:i,inverse:s},h.map(function(t,n){return e.createElement(Ar,{key:n,id:n,theme:i,inverse:s,tabItem:t,tabListTopRef:T,isActive:n===P,hasFocus:n===Z,enableHashNavigation:x,tabsBlockName:w,handleClick:D,handleKeyboardNavigation:I})})),h.map(function(t,n){return e.createElement(Ir,{key:n,isActive:n===P,inverse:s,theme:i,title:t.title,tabsBlockName:w,htmlTag:t.titleTag?t.titleTag:A()},t.content&&e.createElement(E,{theme:i,inverse:s,text:t.content}),t.accordionItems&&t.accordionItems.map(function(t){return e.createElement(C,u({key:t.key},t,{inverse:s}))}),(t.primaryButton&&t.primaryButton.text||t.secondaryButton&&t.secondaryButton.text)&&e.createElement("div",{className:"tabs__optional-buttons"},t.primaryButton&&t.primaryButton.text&&e.createElement(y,{label:t.primaryButton.text,url:t.primaryButton.url,theme:i,inverse:!s}),t.secondaryButton&&t.secondaryButton.text&&e.createElement(y,{hollow:!0,label:t.secondaryButton.text,url:t.secondaryButton.url,theme:i,inverse:!s})),t.link&&t.link.text&&e.createElement("div",{className:"tabs__optional-link"},e.createElement(N,{theme:i,inverse:s,url:t.link.url,title:t.link.text})))}))))))}function Rr(t){var n=t.text,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=t.headingLevel,i=t.headingText,o=t.url,s=t.linkTitle,m=t.externalLink,d=t.linkStyle,u=t.fullWidth,h=t.removeBottomPadding,p=void 0!==h&&h,f=l;return e.createElement("div",{className:v("text-with-background",r&&"theme-".concat(r),c&&"theme-".concat(r,"--inverse"),u&&"text-with-background--full-width",p&&"text-with-background--no-bottom-padding")},i&&e.createElement("div",{className:"text-with-background__heading-wrapper"},e.createElement(f,null,i)),e.createElement(E,{text:n,inverse:c,theme:r}),o&&s&&e.createElement("div",{className:"text-with-background__link-wrapper"},e.createElement("div",{className:"text-with-background__link-inner-wrapper"},("primary"===d||"secondary"===d)&&e.createElement(y,{url:o,theme:r,label:s,externalLink:m,hollow:"secondary"===d,inverse:!c}),"paragraph-link"===d&&e.createElement(Oa,{url:o,label:s,externalLink:m,theme:r,inverse:c}))))}function jr(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.label,c=t.url,l=t.externalLink;return e.createElement("a",{className:v("pill",a&&"theme-".concat(a)),href:c,target:l?"_blank":"_self",rel:l?"noopener noreferrer":""},r)}function zr(t){var n=t.topics,a=t.theme,r=void 0===a?"uobmain":a,c=t.titleTag,l=t.heading;return e.createElement("section",{className:v("topics-selector",r&&"theme-".concat(r))},e.createElement("div",{className:"topics-selector__container"},"h2"===c?e.createElement("h2",{className:"topics-selector__heading"},l):e.createElement("h3",{className:"topics-selector__heading"},l),e.createElement("ul",{className:"topics-selector__topics-container"},n.map(function(t,n){return e.createElement("li",{className:"topics-selector__topic",key:n},e.createElement(jr,{theme:r,label:t.label,url:t.url,externalLink:t.externalLink}))}))))}ar.displayName="HeroCardContent",d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d(),d();var Ur,Wr={exports:{}};var Gr,Kr=(Ur||(Ur=1,Gr=Wr,function(e,t){Gr.exports=t()}(0,function(){var e=[],t=[],n={},a={},r={};function c(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function l(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function i(e,t){return e.replace(t[0],function(n,a){var r,c,i=(r=t[1],c=arguments,r.replace(/\$(\d{1,2})/g,function(e,t){return c[t]||""}));return l(""===n?e[a-1]:n,i)})}function o(e,t,a){if(!e.length||n.hasOwnProperty(e))return t;for(var r=a.length;r--;){var c=a[r];if(c[0].test(t))return i(t,c)}return t}function s(e,t,n){return function(a){var r=a.toLowerCase();return t.hasOwnProperty(r)?l(a,r):e.hasOwnProperty(r)?l(a,e[r]):o(r,a,n)}}function m(e,t,n,a){return function(a){var r=a.toLowerCase();return!!t.hasOwnProperty(r)||!e.hasOwnProperty(r)&&o(r,r,n)===r}}function d(e,t,n){return(n?t+" ":"")+(1===t?d.singular(e):d.plural(e))}return d.plural=s(r,a,e),d.isPlural=m(r,a,e),d.singular=s(a,r,t),d.isSingular=m(a,r,t),d.addPluralRule=function(t,n){e.push([c(t),n])},d.addSingularRule=function(e,n){t.push([c(e),n])},d.addUncountableRule=function(e){"string"!=typeof e?(d.addPluralRule(e,"$0"),d.addSingularRule(e,"$0")):n[e.toLowerCase()]=!0},d.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),r[e]=t,a[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return d.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return d.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return d.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d})),Wr.exports),Yr=Wt(Kr);function Jr(t){var a=t.theme,r=t.heading,c=t.selectContent,l=t.defaultIsOpen,i=void 0!==l&&l;c&&(i=!!c.defaultValue||i);var o=n(i),s=o[0],m=o[1];return e.createElement("fieldset",{className:v("filter-accordion-select",s&&"filter-accordion-select--open",a&&"theme-".concat(a))},e.createElement("legend",{className:"filter-accordion-select__legend"},e.createElement("button",{className:"filter-accordion-select__button",onClick:function(){return m(function(e){return!e})},"aria-expanded":s,"aria-controls":r.replace(" ","")},r,e.createElement(_,{icon:"chevron-down",theme:a,inverse:!0,ariaHidden:!0}))),s&&e.createElement("div",{className:"filter-accordion-select__select-wrapper"},e.createElement(Ha,u({theme:a,inverse:!0},c))))}function Xr(t){var n=t.theme,a=t.name,r=t.id,c=t.label,l=t.defaultValue,i=t.onChange;return e.createElement("div",{className:v("date-input",n&&"theme-".concat(n))},e.createElement("label",{htmlFor:r,className:"date-input__label"},c),e.createElement("input",{type:"date",className:"date-input__input",defaultValue:l,onChange:i,name:a,id:r}))}d(),d(),d();var Qr,ec=function(e){var t=e.split(" "),n=t[t.length-1];return t[t.length-1]=Yr(n),t.join(" ")};function tc(t){var n=t.theme,a=t.heading,r=t.listingGroups,c=t.onClearFilters,l=t.onViewResults;return e.createElement("div",{className:v("standard-listing-filter",n&&"theme-".concat(n))},e.createElement("p",{className:"standard-listing-filter__heading"},a),e.createElement("ul",{className:"standard-listing-filter__list"},r.map(function(t){var a;return"date"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(Xr,u({},t,{theme:n,defaultValue:null!==(a=t.defaultValue)&&void 0!==a?a:"",onChange:t.onChange}))):"radio"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"radio",heading:t.heading,theme:n,showMoreText:ec(t.heading)||"",inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValue&&t.defaultValue===e.value,onChange:t.onChange}})})):"checkbox"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(zt,{type:"checkbox",heading:t.heading,theme:n,showMoreText:ec(t.heading)||"",inputs:t.inputs.map(function(e){return{name:t.name,value:e.value,label:e.label,id:e.id,defaultChecked:!!t.defaultValues&&t.defaultValues.includes(e.value),onChange:t.onChange}})})):"select"===t.type?e.createElement("li",{className:"standard-listing-filter__item",key:t.name},e.createElement(Jr,{heading:t.heading,selectContent:t.selectContent,theme:n})):void 0})),l&&e.createElement("div",{className:"standard-listing-filter__results-button"},e.createElement(y,{label:"View selected results",onClick:l,theme:n})),e.createElement("div",{className:"standard-listing-filter__clear-button"},e.createElement(y,{label:"Clear filters",onClick:c,theme:n,hollow:!0})))}function nc(t){var n=t.theme,a=t.tag,r=t.title,c=t.linkUrl,l=t.linkText,o=t.externalLink,s=t.cards,m={initial:{opacity:0,y:150},animate:function(e){return{opacity:1,y:0,transition:{duration:.8,type:"spring",bounce:.2,delay:.2*e}}}};return e.createElement("div",{className:v("video-card-component",n&&"theme-".concat(n)),id:"video-card-component"},e.createElement("div",{className:"video-card-component__content"},a&&e.createElement("p",{className:"video-card-component__tag"},a),e.createElement("h2",{className:"video-card-component__title"},r),c&&l&&e.createElement("div",{className:"video-card-component__link"},e.createElement(N,{theme:n,url:c,title:l,inverse:!0,externalLink:o})),e.createElement("div",{className:"video-card-component__carousel"},e.createElement(nt,{theme:n,type:"video",inverse:!0,cards:s,cardTitleTag:"h3"})),e.createElement("ul",{className:v("video-card-component__cards-desktop",(!c||!l)&&"video-card-component__cards-desktop--no-link")},s.map(function(t,a){return e.createElement(i.li,{key:a,variants:m,initial:"initial",whileInView:"animate",viewport:{once:!0,amount:.2},custom:a},a<=1?e.createElement("div",{className:"video-card-component__lines video-card-component__lines--".concat(a)},1===a&&e.createElement("svg",{width:"406",height:"128",viewBox:"0 0 406 128",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1 1L123 29L210 127.5",stroke:"black"}),e.createElement("path",{d:"M13 112L123 29L405 51",stroke:"black"}))):"",e.createElement(Ie,{theme:n,image:{src:{default:t.image.src.default,medium:t.image.src.medium,small:t.image.src.small},altText:""},title:t.title,youtubeId:t.youtubeId,buttonLabel:t.buttonLabel,titleTag:"h3"}))}))))}function ac(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.imageSrc,c=t.onClick;return e.createElement("div",{className:v("video-placeholder",a&&"theme-".concat(a))},e.createElement(H,{src:r,altText:""}),e.createElement("button",{className:"video-placeholder__button",onClick:c},e.createElement("div",{className:"video-placeholder__svg-wrapper"},e.createElement("svg",{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e.createElement("path",{d:"M0 0V14L11 7L0 0Z",fill:"currentColor"}))),e.createElement("span",{className:"sr-only"},"Watch the video")))}function rc(t){var a=t.theme,r=void 0===a?"uobmain":a,c=t.imageSrc,l=t.videoUrl,i=t.videoId,o=n(!1),s=o[0],m=o[1];return e.createElement("div",{className:v("video-with-placeholder",r&&"theme-".concat(r))},s?e.createElement(Ze,{url:l,id:i,autoPlay:!0,theme:r}):e.createElement(ac,{imageSrc:c,onClick:function(){return m(!0)},theme:r}))}function cc(t){var a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0!==c&&c,i=t.imageSrc,o=t.videoUrl,s=t.videoId,m=t.heading,d=t.audioDescribedVideoId,h=t.audioDescribedVideoUrl,p=t.transcript,f=t.fullWidth,g=void 0!==f&&f,E=t.videoCaption,_=t.videoCredit,b=n(!1),w=b[0],y=b[1];return e.createElement("div",{className:v("video-embed",g&&"video-embed--full-width",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"))},m&&e.createElement(L,u({},m,{theme:r,inverse:l})),e.createElement("div",{className:"video-embed__grid"},e.createElement("div",{className:"video-embed__content-wrapper"},e.createElement(rc,{theme:r,imageSrc:i,videoUrl:w?o:h,videoId:w?d:s}),(E||_)&&e.createElement("div",{className:"video-embed__caption-wrapper"},E&&e.createElement("p",{className:"video-embed__caption"},E),_&&e.createElement("p",{className:"video-embed__credit"},_)),(d||h)&&(w?e.createElement("button",{className:"video-embed__audio-described-button",onClick:function(){return y(!1)}},"Non-audio described version"):e.createElement("button",{className:"video-embed__audio-described-button",onClick:function(){return y(!0)}},"Audio described version")),p&&e.createElement("div",{className:"video-embed__transcript"},e.createElement(C,{titleTag:"h3",theme:r,title:"Transcript",text:p,inverse:l})))))}function lc(t){var n,a=t.theme,r=void 0===a?"uobmain":a,c=t.inverse,l=void 0===c||c,i=t.fullWidth,o=void 0!==i&&i,s=t.heading,m=t.description,d=t.cards,h=t.singleLink,p=t.titleTag,f=void 0===p?"h2":p,g=t.cardTitleTag,E=void 0===g?"h3":g,_=Le("768px"),b=_&&d.length>1||!_&&d.length>2,w=v(((n={})["research-story-carousel__grid"]=!0,n["research-story-carousel__grid--single"]=1===d.length,n["research-story-carousel__grid--two-cards"]=2===d.length,n["research-story-carousel__grid--three-plus-cards"]=d.length>3,n));return e.createElement("section",{className:v("research-story-carousel",r&&"theme-".concat(r),l&&"theme-".concat(r,"--inverse"),o&&"research-story-carousel--full-width")},e.createElement("div",{className:"research-story-carousel__container"},(s||m||h)&&e.createElement(L,{theme:r,inverse:!0,htmlTag:f,title:s,description:m,linkProps:h,fullWidth:!0}),e.createElement("div",{className:"research-story-carousel__cards"},!b&&e.createElement("ul",{className:w},d.map(function(t,n){return e.createElement("li",{key:n},e.createElement(Ye,u({},t)))})),b&&e.createElement(nt,{theme:r,inverse:l,type:"research-story",cards:d,cardTitleTag:E}))))}function ic(t){var i=t.text,o=t.theme,s=void 0===o?"uobmain":o,m=t.inverse,d=t.fullWidth,u=void 0!==d&&d,h=t.removeBottomPadding,p=void 0!==h&&h,f=t.tableCategory,g=void 0===f?Qr.NotSpecified:f,E=r(null),_=n(!1),b=_[0],w=_[1],y=n(!0),N=y[0],C=y[1],k=n(!1),x=k[0],T=k[1],L=l(),M=function(){var e=E.current;e&&(w(e.scrollLeft>0),C(e.scrollLeft<e.scrollWidth-e.clientWidth))},H=c(function(){var e=E.current;if(e){var t=e.scrollWidth>e.clientWidth;T(t),M()}},[]),S=function(e){var t=E.current;if(t){var n="left"===e?t.scrollLeft-200:t.scrollLeft+200;t.scrollTo({left:n,behavior:"smooth"})}};return a(function(){H();var e=E.current;e&&e.addEventListener("scroll",M);var t=function(){return H()};return window.addEventListener("resize",t),function(){e&&e.removeEventListener("scroll",M),window.removeEventListener("resize",t)}},[H]),e.createElement("div",{className:v("scrollable-table",u&&"scrollable-table--full-width",s&&"theme-".concat(s),m&&"theme-".concat(s,"--inverse"),p&&"scrollable-table--no-bottom-padding")},e.createElement("div",{className:"scrollable-table__container"},e.createElement("span",null,x&&e.createElement("div",{className:"scrollable-table__scroll-button-wrapper"},e.createElement("p",null,"Scroll buttons"),e.createElement(qe,{key:"iconButtonLeft",theme:s,icon:"arrow-left",onClick:function(){return S("left")},title:"Scroll left",ariaControls:L,disabled:!b,inverse:m}),e.createElement(qe,{key:"iconButtonRight",theme:s,icon:"arrow-right",onClick:function(){return S("right")},title:"Scroll right",ariaControls:L,disabled:!N,inverse:m})),e.createElement("div",{className:v("scrollable-table__table-wrapper","scrollable-table__".concat(g),m&&"scrollable-table__".concat(g,"--inverse")),ref:E,id:L,tabIndex:0},e.createElement("span",{dangerouslySetInnerHTML:{__html:i}})))))}function oc(t){var a=t.theme,r=t.heading,c=t.inverse,l=t.description,i=t.buttonLabel,o=t.buttonModifier,s=t.modalChildren,m=t.htmlTag,d=void 0===m?"h3":m,u=n(!1),h=u[0],p=u[1],f=function(){p(!1),document.body.classList.remove("lock-scroll")};return e.createElement("div",{className:v("modal-cta",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement(k,{htmlTag:d,classNames:"modal-cta__heading"},r),l&&e.createElement("p",{className:"modal-cta__description"},l),e.createElement("div",{className:v("modal-cta__button",o&&"theme-".concat(a,"--buttonModifier"))},e.createElement(y,{inverse:!c,label:i,onClick:function(){h?f():(p(!0),document.body.classList.add("lock-scroll"))},theme:a,buttonModifier:o})),h&&e.createElement(Be,{centred:!0,theme:a,closeModal:f,isOpen:h},e.createElement(st,{className:"modal-cta__embed-wrapper"},s)))}function sc(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.inverse,c=void 0===r||r,l=t.cards,i=Array.isArray(l)?l:[l];return e.createElement("div",{className:v("module-card-group",a&&"theme-".concat(a),c&&"theme-".concat(a,"--inverse"))},e.createElement("div",{className:"module-card-group__container"},e.createElement("div",{className:"module-card-group__grid"},i.map(function(t,n){return e.createElement(w,u({key:n},t,{theme:a}))}))))}function mc(t){var n=t.theme,a=t.embedChildren,r=t.googleMapLink,c=t.address,l=t.services,i=t.link,o=t.titleTag,s=void 0===o?"h2":o;return e.createElement("section",{className:v("location-section",n&&"theme-".concat(n),(!l||l.length<1)&&"location-section--no-services")},e.createElement("div",{className:"location-section__container"},e.createElement(k,{htmlTag:s,classNames:v("location-section__title","h3"===s&&"location-section__title--h3")},"Location"),e.createElement("div",{className:"location-section__grid-wrapper"},e.createElement("div",{className:"location-section__embed"},e.createElement(st,null,a)),e.createElement("div",{className:"location-section__address-wrapper"},e.createElement("div",{className:"location-section__address"},e.createElement(It,{theme:n,title:"Address",iconType:"slim-location",value:c.map(function(e){return"<span>".concat(e,"</span>")}).join("")})),i&&(null==i?void 0:i.title)&&(null==i?void 0:i.url)&&e.createElement("div",{className:"location-section__link-wrapper"},e.createElement(N,u({},i,{inverse:!0}))),r?e.createElement("div",{className:"location-section__button"},e.createElement(y,{label:"View on Google Maps",theme:n,url:r})):null),(null==l?void 0:l.length)?e.createElement("div",{className:"location-section__services"},null==l?void 0:l.map(function(t,a){return e.createElement(It,u({},t,{theme:n,key:a}))})):null)))}function dc(t){var n=t.theme,a=t.studentName,r=t.studentStatus,c=t.courseName,l=t.courseDetails,i=t.studyLevel,o=t.titleTag,s=void 0===o?"h2":o,m=t.homeCountry,d=t.studentIntro,h=t.image,p=t.inverse;return e.createElement("div",{className:v("heroProfile",n&&"theme-".concat(n),p&&"theme-".concat(n,"--inverse")),id:"hero"},e.createElement("div",{className:"heroProfile__container"},e.createElement("div",{className:"heroProfile__details"},a&&e.createElement(s,{className:"heroProfile__title"},a),r&&e.createElement("p",{className:"heroProfile__status"},r),c&&e.createElement("p",{className:"heroProfile__courseName"},c),(i||m||l&&l.length>0)&&e.createElement("ul",{className:"heroProfile__studentDetails"},l&&l.length>0&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"mortar-board",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__courseIconText"},e.createElement("span",null,1===l.length?"Course":"Courses",":"),e.createElement("div",{className:"heroProfile__courseDetails"},l.map(function(t,a){return e.createElement(x,{theme:n,key:a,text:t,inverse:p})}))))),i&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"scroll",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__iconText"},e.createElement("span",null,"Study level:"),e.createElement("span",null,i)))),m&&e.createElement("li",null,e.createElement("div",{className:"heroProfile__iconContainer"},e.createElement(ze,{icon:"flag",theme:n,backgroundColor:"pale"}),e.createElement("div",{className:"heroProfile__iconText"},e.createElement("span",null,"Home country:"),e.createElement("span",null,m))))),d&&e.createElement(x,{theme:n,text:d,inverse:p})),e.createElement("div",{className:"heroProfile__image-wrapper"},h&&e.createElement(H,u({},h,{altText:null==h?void 0:h.alt,fetchPriority:h.fetchPriority})))))}function uc(t){var n=t.theme,a=void 0===n?"uobmain":n,r=t.firstColumn,c=t.secondColumn;return e.createElement("div",{className:v("two-column-wrapper",a&&"theme-".concat(a))},e.createElement("div",{className:"two-column-wrapper__grid-container"},e.createElement("div",{className:v("two-column-wrapper__first-column",!c&&"two-column-wrapper__first-column-centred")},r),c&&e.createElement("div",{className:"two-column-wrapper__second-column"},c)))}function hc(t){var n,a,r=t.theme,c=void 0===r?"uobmain":r,l=t.inverse,i=t.logos,o=null!==(a=null==i?void 0:i.length)&&void 0!==a?a:0,s=i&&i.length%2!=0;return e.createElement("div",{className:v("logo-wall",c&&"theme-".concat(c),l&&"theme-".concat(c,"--inverse"))},e.createElement("div",null,e.createElement("ul",{className:v("logo-wall__container",s&&"logo-wall__container--odd"),style:(n={},n["--logo-wall-cols"]=String(o),n)},i&&i.map(function(t,n){var a;return e.createElement("li",{key:"li-".concat(n)},e.createElement(Ge,u({key:"".concat((null===(a=t.image)||void 0===a?void 0:a.title)||"imageTitle","-").concat(n),theme:c,inverse:l},t)))}))))}function pc(t){var n=t.theme,a=t.inverse,r=t.image,c=t.imageCaption,l=t.imageCredit,i=t.contentPosition,o=void 0===i?"left":i,s=t.children,m=Le("768px"),d=c||l;return r&&r.src&&s?e.createElement("section",{className:v("text-over-media",n&&"theme-".concat(n),a&&"theme-".concat(n,"--inverse"))},e.createElement("div",{className:v("text-over-media__container","right"===o&&"text-over-media__mobile--right")},m&&e.createElement("div",{className:"text-over-media__mobile-block"},e.createElement("div",{className:"text-over-media__image-wrapper"},e.createElement(H,u({},r))),d&&e.createElement("figcaption",{className:"text-over-media__figcaption"},c&&e.createElement("p",{className:"text-over-media__caption"},c),l&&e.createElement("p",{className:"text-over-media__credit"},l))),!m&&e.createElement(e.Fragment,null,e.createElement("figure",{className:"text-over-media__image-container"},e.createElement("div",{className:"text-over-media__height-wrapper"},e.createElement("div",{className:"text-over-media__image-wrapper"},e.createElement(H,u({},r)))),e.createElement("div",{className:"text-over-media__parallax-container"},e.createElement(St,{offset:100},e.createElement("div",{className:"text-over-media__parallax-content"},e.createElement("div",{className:"text-over-media__image-wrapper"},e.createElement(H,u({},r))))))),d&&e.createElement("figcaption",{className:"text-over-media__figcaption"},c&&e.createElement("p",{className:"text-over-media__caption"},c),l&&e.createElement("p",{className:"text-over-media__credit"},l))),e.createElement("div",{className:v("text-over-media__media-container","left"===o&&"text-over-media__media-container--left","right"===o&&"text-over-media__media-container--right")},s))):null}d(),d(),d(),d(),d(),d(),function(e){e.NotSpecified="NotSpecified",e.ColumnAndRowHeadings="ColumnAndRowHeadings",e.ColumnHeadingsOnly="ColumnHeadingsOnly"}(Qr||(Qr={})),d(),d(),d(),d(),d(),d(),d();export{M as Accordion,S as AcreditationPromotion,V as AlertBanner,O as AnchorTarget,q as Breadcrumbs,ot as CTAComponent,rt as CardImageAndText,at as CardProfile,et as CardPromoProfile,Re as CardPromoSignpost,Ue as CardStaff,nt as Carousel,ct as CentreWrapper,lt as ClearingBanner,it as CourseDeliveryPills,st as EmbedWrapper,dt as FactBoxes,ut as FeaturedContent,Ht as FeaturedSignpost,Pt as FeaturedVideo,Vt as FiveArticlesGrid,Ft as Footer,Ut as GeneralSearchFilter,$t as GenericDetailSection,ka as Header,L as Heading,Pa as Hero,Za as HeroArticle,rr as HeroCarousel,Aa as HeroCourses,dc as HeroProfile,cr as ImageBlock,lr as ImageCarousel,or as InPageNavigation,sr as IntroText,dr as LeadNewsArticles,Nr as ListTable,ur as ListingFilterWrapper,wr as ListingResults,yr as ListingResultsCount,mc as LocationSection,Ia as LocationSelector,hc as LogoWall,Cr as MainWrapper,oc as ModalCTA,sc as ModuleCardGroup,kr as NewsArticlesPromoBlock,Tr as Pagination,Lr as PromoBlock,Mr as PromoBlockGrid,Hr as QuoteBlock,Sr as RelatedCourses,lc as ResearchStoryCarousel,E as RichText,Pr as ScholarshipCarousel,ic as ScrollableTable,Sa as SearchCourses,Or as SidebarWrapper,Zr as SignPost,qr as SingleButton,Fr as SkipToContent,Vr as StaffListingCarousel,tc as StandardListingFilter,$r as TabsBlock,pc as TextOverMedia,Rr as TextWithBackground,zr as TopicSelector,uc as TwoColumnWrapper,nc as VideoCardComponent,cc as VideoEmbed};
|