1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($){$(document).ready(function(){var departmentContainer=$('.id-Department');var researcherProfileContainer=$('.id-Researcher-Profile');var researcherProgramContainer=$('.id-Funding-Programme');var descriptionContainer=$('ul li .ecl-content-block__description');var showHideButton=$('#show-hide-fields');var allContainers=descriptionContainer.add(departmentContainer).add(researcherProfileContainer).add(researcherProgramContainer);function updateStateFromLocalStorage(){if(!showHideButton.length)return;if(localStorage.getItem('showHideState')==='simple'){allContainers.each(function(){$(this).addClass('hide-on-simple-view');});showHideButton.text('Detailed view');}else{allContainers.each(function(){$(this).removeClass('hide-on-simple-view');});showHideButton.text('Simple view');}}updateStateFromLocalStorage();showHideButton.click(function(){let displayMessage="Simple view";if($('.hide-on-simple-view')[0]){allContainers.each(function(){$(this).removeClass('hide-on-simple-view');});localStorage.setItem('showHideState','detailed');}else{allContainers.each(function(){displayMessage='Detailed view';$(this).addClass('hide-on-simple-view');});localStorage.setItem('showHideState','simple');}$(this).text(displayMessage);});});})(jQuery);; 3(()=>{"use strict";var e,t={359:()=>{function e(t){return e="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;},e(t);}function t(t,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(t,(r=o.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===n?String:Number)(t);}(r,"string"),"symbol"===e(a)?a:String(a)),o);}var r,a;}const n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.itemsToReveal=document.querySelectorAll("[data-counter-animation]"),this.sectionObserver=new IntersectionObserver(this.callback,{rootMargin:"0px 0px -200px 0px"}),this.observer();}var n,i,o;return n=e,i=[{key:"observer",value:function(){var e=this;this.itemsToReveal.forEach((function(t){e.sectionObserver.observe(t);}));}},{key:"callback",value:function(e,t){e.map((function(e){e.isIntersecting&&(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,o=n.replace(/\D/g,""),r=null;window.requestAnimationFrame((function a(l){r||(r=l);var s=Math.min((l-r)/i,1);e.innerText=Math.floor(s*(o-t)+t),s<1&&window.requestAnimationFrame(a),1===s&&n.endsWith("+")&&e.insertAdjacentHTML("beforeend","+");}));}(e.target,0,e.target.dataset.counterAnimation,e.target.dataset.counterDuration),t.unobserve(e.target));}));}}],i&&t(n.prototype,i),o&&t(n,o),Object.defineProperty(n,"prototype",{writable:!1}),e;}();function i(e){return i="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;},i(e);}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value" in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(r,"string"),"symbol"===i(a)?a:String(a)),o);}var r,a;}const r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.options=t,this.openButton=document.getElementById(this.options.openButtonID),this.cloneContent=document.getElementById(this.options.cloneContentID),this.openButton&&this.cloneContent&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(){var e=this;this.openButton.addEventListener("click",(function(t){t.preventDefault(),e.openTheModal();})),this.closeButton&&this.closeButton.forEach((function(t){t.addEventListener("click",(function(t){e.closeTheModal();}));})),document.addEventListener("keyup",(function(t){return e.keyPressHandler(t);})),this.submitButton&&this.form&&this.submitButton.addEventListener("click",(function(){return e.form.submit();}));}}
3,{key:"keyPressHandler",value:function(e){27===e.keyCode&&this.closeTheModal();}},{key:"openTheModal",value:function(){this.modal.classList.add("modal--is-visible"),this.html.classList.add("modal--overflow-hidden");}},{key:"closeTheModal",value:function(){this.modal.classList.remove("modal--is-visible"),this.html.classList.remove("modal--overflow-hidden");}},{key:"injectHTML",value:function(){document.body.insertAdjacentHTML("beforeend",'\n <div class="modal">\n <div class="modal__inner">\n <div class="modal__close modal__close--icon">×</div>\n <div class="modal__content"></div>\n </div>\n </div>\n ');}},{key:"init",value:function(){this.injectHTML(),this.html=document.querySelector("html"),this.modal=document.querySelector(".modal"),this.modalContent=document.querySelector(".modal .modal__content");var e=this.cloneContent.cloneNode(!0);e.classList.remove("hidden"),this.modalContent.appendChild(e),this.cloneContent.innerHTML="",this.closeButton=document.querySelectorAll(".modal .modal__close"),this.submitButton=document.querySelector(".modal .modal__submit"),this.form=document.querySelector("form"),this.events();}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function a(e){return a="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;},a(e);}function l(e){return function(e){if(Array.isArray(e))return u(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||c(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.");}();}function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return {s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]};},e:function(e){throw e;},f:o};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var r,a=!0,l=!1;return {s:function(){n=n.call(e);},n:function(){var e=n.next();return a=e.done,e;},e:function(e){l=!0,r=e;},f:function(){try{a||null==n.return||n.return();}finally{if(l)throw r;}}};}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.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)?u(e,t):void 0;}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i;}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,f(i.key),i);}}function f(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===a(t)?t:String(t);}const m=function(){function e(t){var n,i,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),n=this,o=void 0,(i=f(i="options")) in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,this.iconLibraries=t.hasOwnProperty("iconLibraries")?t.iconLibraries:[{name:"default",path:"/themes/contrib/oe_theme/dist/ec/images/icons/sprites/icons.svg"}],this.iconSprites=[],this.iconslib={},this.icons=document.querySelectorAll("icon"),this.iconsList=document.querySelectorAll("icon-list"),this.targetNode=document.body,this.config={attributes:!0,childList:!0,subtree:!0},this.observer=new MutationObserver(this.callback.bind(this)),this.startObserving(),this.iconLibraries.length&&(this.icons.length||this.iconsList.length)&&this.init({icon:this.icons,iconsList:this.iconsList});}var t,n,i;return t=e,(n=[{key:"getIconList",value:function(){if(0!==Object.keys(this.iconslib).length)return this.iconslib;
3var e,t=[],n=s(this.iconSprites);try{for(n.s();!(e=n.n()).done;){var i,o=e.value,r=o.icons.querySelectorAll("symbol[id]"),a=[],l=s(r);try{var c=function(){var e=i.value;t.some((function(t){return e.id===t.id;}))||t.push(e),a.push(e);};for(l.s();!(i=l.n()).done;)c();}catch(e){l.e(e);}finally{l.f();}this.iconslib[o.name]={name:o.name,icons:a};}}catch(e){n.e(e);}finally{n.f();}return this.iconslib.all={name:"all",icons:t},this.iconslib;}},{key:"getIcons",value:function(e,t){return this.getIconList().hasOwnProperty(t)?this.getIconList()[t].icons.filter((function(t){return t.id===e;})):this.getIconList().all.icons.filter((function(t){return t.id===e;}));}},{key:"getIconName",value:function(e){if(e.hasAttribute("icon-name"))return e.getAttribute("icon-name");var t=l(e.classList).filter((function(e){return e.startsWith("icon-u-");}))[0];return t?t.replace("icon-u-",""):null;}},{key:"getLibName",value:function(e){if(e.hasAttribute("icon-lib"))return e.getAttribute("icon-lib").replaceAll("-","_");var t=l(e.classList).filter((function(e){return e.startsWith("icon-lib-");}))[0];return t?t.replace("icon-lib-","").replaceAll("-","_"):null;}},{key:"iconsTranslate",value:function(e){var t=this;e.forEach((function(e){t.getIcons(t.getIconName(e)).length&&(e.innerHTML=t.iconsTemplate.apply(t,l(t.getIcons(t.getIconName(e),t.getLibName(e))).concat([e])));}));}},{key:"iconSizes",value:function(e){switch(e){case "2xs":return "ecl-icon--2xs";case "xs":return "ecl-icon--xs";case "s":return "ecl-icon--s";case "m":return "ecl-icon--m";case "l":return "ecl-icon--l";case "xl":return "ecl-icon--xl";case "2xl":return "ecl-icon--2xl";case "fluid":return "ecl-icon--fluid";default:return e;}}},{key:"iconFlip",value:function(e){switch(e){case "horizontal":return "ecl-icon--flip-horizontal";case "vertical":return "ecl-icon--flip-vertical";default:return !1;}}},{key:"iconsTemplate",value:function(e,t){var n;if(e){var i=document.createElement("svg");if((n=i.classList).add.apply(n,l(l(t.classList).filter((function(e){return !e.startsWith("icon-u-");})))),t.hasAttribute("focusable")&&i.setAttribute("focusable",t.getAttribute("focusable")),t.hasAttribute("aria-hidden")&&i.setAttribute("aria-hidden",t.getAttribute("aria-hidden")),t.hasAttribute("icon-size")){var o=this.iconSizes(t.getAttribute("icon-size"));o.startsWith("ecl-icon--")?i.classList.add(o):(i.style.width=o,i.style.height=o);}if(t.hasAttribute("icon-flip")){var r=this.iconFlip(t.getAttribute("icon-flip"));r&&i.classList.add(r);}if(t.hasAttribute("icon-rotate")&&(i.style.transform="rotate(".concat(t.getAttribute("icon-rotate"),"deg)")),t.hasAttribute("icon-color")){var a=t.getAttribute("icon-color");(a.startsWith("#")||a.startsWith("rgb"))&&(i.style.fill=a,i.style.color=a);}e.hasAttribute("viewBox")&&i.setAttribute("viewBox",e.getAttribute("viewBox")),e.hasAttribute("viewBox")&&i.setAttribute("xmlns",e.getAttribute("xmlns"));for(var s=e.cloneNode(!0);s.firstChild;)i.appendChild(s.firstChild);return i.outerHTML;}}},{key:"iconsListTemplate",value:function(e,t){var n,i,o=this,r=document.createElement("div");(n=r.classList).add.apply(n,["ecl-u-d-flex","ecl-u-flex-wrap","ecl-u-mv-m"]),r.style.gap="1rem";var a=document.createElement("h3");return (i=a.classList).add.apply(i,["ecl-col-12","ecl-u-bg-grey-5","ecl-u-pv-s","ecl-u-border-all","ecl-u-border-color-grey-25","ecl-u-d-flex","ecl-u-flex-wrap","ecl-u-align-items-center"]),"all"!==t.name?a.innerHTML="".concat(t.icons.length," ").concat(t.name.replaceAll("_"," "),' icons <small class="ecl-u-ml-auto ecl-u-type-color-grey-50"><strong>class:</strong> icon-lib-').concat(t.name.replaceAll("_","-")," - <strong>attribute:</strong> ").concat(t.name.replaceAll("_","-"),"</small>"):a.innerHTML="".concat(t.icons.length," icons"),r.innerHTML=a.outerHTML,t.icons.forEach((function(t){r.insertAdjacentHTML("beforeend",'\n <div class="icon-list-item">\n <div>\n '.concat(o.iconsTemplate(t,e),"\n </div>\n <small>\n <strong>\n ").concat(t.id,"\n </strong>\n </small>\n </div>\n "));})),r.outerHTML;}},{key:"iconsListTranslate",value:function(e){var t=this;e.forEach((function(e){if(e.hasAttribute("grouped"))for(var n in e.innerHTML="",t.getIconList())"all"!==n&&e.insertAdjacentHTML("beforeend",t.iconsListTemplate(e,t.getIconList()[n]));else e.innerHTML=t.iconsListTemplate(e,t.getIconList().all);}));}},{key:"startObserving",value:function(){this.observer.observe(this.targetNode,this.config);}},{key:"stopObserving",value:function(){this.observer.disconnect();}},{key:"callback",value:function(e,t){var n,i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if("childList"===o.type){var r,a=s(o.addedNodes);try{for(a.s();!(r=a.n()).done;){var l=r.value;"ICON"===l.nodeName&&this.init({icon:[l]}),"ICON-LIST"===l.nodeName&&this.init({iconsList:[l]});}}catch(e){a.e(e);}finally{a.f();}}}}catch(e){i.e(e);}finally{i.f();}}},{key:"init",value:function(e){var t=this;if(0===Object.keys(this.iconslib).length){var n=[];
3this.iconLibraries.forEach((function(e){n.push(fetch(e.path).then((function(e){return e.text();})).then((function(n){var i=new DOMParser();t.iconSprites.push({name:e.name,icons:i.parseFromString(n,"text/html")});})));})),Promise.all(n).then((function(n){e.hasOwnProperty("icon")&&e.icon&&t.iconsTranslate(e.icon),e.hasOwnProperty("iconsList")&&e.iconsList&&t.iconsListTranslate(e.iconsList);}));}else e.hasOwnProperty("icon")&&e.icon&&this.iconsTranslate(e.icon),e.hasOwnProperty("iconsList")&&e.iconsList&&this.iconsListTranslate(e.iconsList);}}])&&d(t.prototype,n),i&&d(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function h(e){return h="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;},h(e);}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,r=void 0,r=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==h(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(o,"string"),"symbol"===h(r)?r:String(r)),i);}var o,r;}const y=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.tabs=document.querySelectorAll(".bootstrap-tabs"),this.hashElm=window.top.location.hash?document.getElementById(window.top.location.hash.replace("#","")):null,this.tab=null,this.targetNode=document.body,this.config={attributes:!0,childList:!0,subtree:!0},this.observer=new MutationObserver(this.callback.bind(this)),this.tabsContent=document.querySelectorAll(".tab-pane"),this.init();}var t,n,i;return t=e,(n=[{key:"activeTabNav",value:function(e){this.tab.querySelectorAll(".nav-tabs li").forEach((function(t){t.querySelector(".tab-link").getAttribute("href")===e?t.classList.add("active"):t.classList.remove("active");}));}},{key:"activeTabContent",value:function(e){this.tab.querySelectorAll(".tab-content .tab-pane").forEach((function(t){t===e?t.classList.add("active"):t.classList.remove("active");}));}},{key:"startObserving",value:function(){this.observer.observe(this.targetNode,this.config);}},{key:"stopObserving",value:function(){this.observer.disconnect();}},{key:"callback",value:function(e,t){var n=this;e.forEach((function(e){"class"===e.attributeName&&n.initActiveItems(e.target);}));}},{key:"initActiveItems",value:function(e){var t=e.querySelectorAll(".nav-pills.responsive-tabs");t&&t.forEach((function(t){if(!t.firstChild.classList.contains("active")){t.querySelectorAll('[role="presentation"]').forEach((function(e){e.classList.contains("active")&&(e.classList.remove("active"),e.setAttribute("aria-expanded","false"));})),t.firstChild.classList.add("active"),t.setAttribute("aria-expanded","true");var n=e.querySelectorAll(".tab-content");n&&n.forEach((function(e){var t=e.querySelectorAll(".tab-pane"),n=!0;t.forEach((function(e){!0===n?(e.classList.add("active"),n=!1):e.classList.remove("active");}));}));}}));var n=e.querySelectorAll(".panel-group");n&&n.forEach((function(e){e.querySelectorAll(".panel-collapse.in").forEach((function(e){e.classList.remove("in"),e.setAttribute("aria-expanded","false");var t=e.previousElementSibling;t&&t.classList.contains("panel-heading")&&t.querySelector(".accordion-toggle").setAttribute("aria-expanded","false");}));}));}},{key:"init",value:function(){this.startObserving(),this.tabs.length&&this.hashElm?(this.tab=this.hashElm.closest(".bootstrap-tabs"),this.tab&&(this.activeTabNav(window.top.location.hash),this.activeTabContent(this.hashElm))):this.initActiveItems(document);}}])&&v(t.prototype,n),i&&v(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function p(e){return p="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;},p(e);}function b(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,S(i.key),i);}}function g(e,t,n){return (t=S(t)) in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}function S(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==p(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===p(t)?t:String(t);}const w=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),g(this,"eventActions",(function(e){e.preventDefault(),n.toggleModal(e.currentTarget);})),g(this,"closeModal",(function(e){e.preventDefault(),n.modal.style.opacity="0",n.modalContainer.style.scale="0.5",n.modalContainer.style.opacity="0",setTimeout((function(){n.modal.remove(),n.htmlElement.style.overflow="unset";}),300);})),this.options=t,this.modalContent=document.querySelectorAll("[data-gt-modal-content]"),this.modalButton=document.querySelectorAll("[data-gt-modal-target]"),this.modalContent&&this.modalButton&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(e){var t=this;e.forEach((function(e){e.addEventListener("click",t.eventActions);}));}},{key:"createModalContainer",value:function(e){var t=this,n=e.querySelector("[data-ecl-message-close]");this.modal=document.createElement("div"),this.modal.id="gt-modal-container",this.modal.style.background="rgba(0, 0, 0, .5)",this.modal.style.position="fixed",this.modal.style.inset="0",this.modal.style.display="flex",this.modal.style.visibility="hidden",this.modal.style.justifyContent="center",this.modal.style.alignItems="center",this.modal.style.opacity="0",this.modal.style.zIndex="99",this.modal.style.transition="all 300ms ease-in",this.modalContainer=document.createElement("div"),n||(this.modalContainer.style.background="white"),this.modalContainer.style.width=window.innerWidth<=800?"95%":"75%",this.modalContainer.style.maxHeight="90%",this.modalContainer.style.height="auto",this.modalContainer.style.borderRadius="0",n||(this.modalContainer.style.padding="1.5rem"),this.modalContainer.style.scale="0.5",this.modalContainer.style.opacity="0",this.modalContainer.style.transition="all 300ms ease-in";var i=document.createElement("div");i.style.display="flex",i.style.justifyContent="end",n&&n.addEventListener("click",this.closeModal);var o=document.createElement("div");o.innerHTML='<span>Close</span> <span style="font-size: 2rem">×</span>',o.style.textAlign="right",o.style.padding="0.5rem",o.style.display="flex",o.style.alignItems="center",o.style.gap="0.5rem",o.style.cursor="pointer",o.addEventListener("click",this.closeModal),document.addEventListener("keydown",(function(e){"Escape"!==e.key&&"Escape"!==e.code||t.closeModal(e);}));var r=document.createElement("div");r.style.overflow="auto",r.style.maxHeight="77vh",r.style.padding="1rem 0 1rem 0",r.appendChild(e),n||i.appendChild(o),this.modalContainer.appendChild(i),this.modalContainer.appendChild(r),this.modal.appendChild(this.modalContainer);}},{key:"toggleModal",value:function(e){var t=this;e=e.dataset.gtModalTarget?e:e.parentNode,this.modalContent.forEach((function(n){if(n.dataset.gtModalContent===e.dataset.gtModalTarget){var i=n.cloneNode(!0);i.style.display="block",t.createModalContainer(i),t.bodyElement.appendChild(t.modal),setTimeout((function(){t.modal.style.visibility="visible",t.modal.style.opacity="1",t.modalContainer.style.scale="1",t.modalContainer.style.opacity="1",t.htmlElement.style.overflow="hidden";}),50);}}));}},{key:"secureElmStayHidden",value:function(){this.modalContent.forEach((function(e){e.style.display="none";}));}},{key:"init",value:function(){this.htmlElement=document.querySelector("html"),this.bodyElement=document.querySelector("body"),this.secureElmStayHidden(),this.events(this.modalButton);}}])&&b(t.prototype,n),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function L(e){return L="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;},L(e);}function E(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,A(i.key),i);}}function A(e){var t=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==L(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(e,"string");return "symbol"===L(t)?t:String(t);}const k=function(){function e(t){var n,i,o,r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),n=this,o=function(e){e.preventDefault(),r.toggle(e.currentTarget);},(i=A(i="eventActions")) in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}
3):n[i]=o,this.options=t,this.elm=document.querySelectorAll("[data-gt-affect-target]"),this.elm&&this.init();}var t,n,i;return t=e,(n=[{key:"events",value:function(e){var t=this;e.forEach((function(e){e.addEventListener("click",t.eventActions),e.setAttribute("aria-expanded","false");var n=e.dataset.gtAffectTarget.split("|").map((function(e){return e.split(":")[0].replace("#","");})).join(" ");e.setAttribute("aria-controls",n);}));}},{key:"toggle",value:function(e){var t=e.dataset.gtAffectTarget;if(t){var n=t.split("|");if(n.length){n.forEach((function(t){var n=t.split(":")[0],i=t.split(":")[1];if(n&&i){var o=document.querySelectorAll(n.startsWith("#")?n:".".concat(n));o&&o.forEach((function(t){t.classList.toggle(i),e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true");}));}}));var i=e.dataset.gtReplaceSelfText;i&&i.split("|").forEach((function(t){var n=t.split(":")[0],i=t.split(":")[1],o=e.innerHTML;e.innerHTML=o.includes(n)?o.replace(n,i):o.replace(i,n);}));}}}},{key:"init",value:function(){this.events(this.elm);}}])&&E(t.prototype,n),i&&E(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();function C(e){return C="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;},C(e);}function x(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value" in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,r=void 0,r=function(e,t){if("object"!==C(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==C(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}(o,"string"),"symbol"===C(r)?r:String(r)),i);}var o,r;}const T=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");}(this,e),this.options=t,this.elm=document.querySelectorAll(".ecl-inpage-navigation"),this.elm&&this.init();}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.elm.forEach((function(e){var t=e.querySelector(".ecl-inpage-navigation__body");window.innerHeight<t.offsetHeight&&(t.style.height=window.innerHeight-e.querySelector(".ecl-inpage-navigation__title").offsetHeight+"px",t.style.overflowY="auto");}));}}])&&x(t.prototype,n),i&&x(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e;}();var O;document.addEventListener("DOMContentLoaded",(function(){new n(),new w(),new k(),new T(),new r({openButtonID:"modal-open-confirmation",cloneContentID:"modal-body-confirmation"}),new m({iconLibraries:[{name:"default",path:"/themes/contrib/oe_theme/dist/ec/images/icons/sprites/icons.svg"},{name:"social",path:"/themes/contrib/oe_theme/dist/ec/images/social-icons/sprites/icons-social.svg"},{name:"social_media",path:"/themes/contrib/oe_theme/dist/ec/images/icons-social-media/sprites/icons-social-media.svg"},{name:"flag",path:"/themes/contrib/oe_theme/dist/ec/images/icons-flag/sprites/icons-flag.svg"},{name:"euraxess",path:"/themes/custom/rtd_euraxess/assets/icons-sprite.svg"}]}),new y();var e=document.querySelectorAll(".cc-data-item"),t=document.querySelector(".cc-endorsement-items-wrapper");e&&e.forEach((function(e){e.insertAdjacentHTML("beforeend",'\n <a class="ecl-link ecl-link--standalone ecl-link--icon" href="/sites/default/files/cc-declarations/'.concat(e.dataset.file,'" target="_blank">\n <svg class="ecl-icon ecl-icon--s ecl-link__icon" focusable="false" aria-hidden="true">\n <use xlink:href="/themes/custom/rtd_euraxess/assets/icons-sprite.svg#download"></use>\n </svg>\n </a>\n ')),t.append(e);}));var i=document.querySelectorAll(".filter-text-element");i.length>0&&(document.getElementById("visible-results-counter").textContent=i.length);function o(e){e.preventDefault();var t=e.target.parentNode,n=t.parentNode.parentNode.querySelector(".teaser-text-more");t.classList.contains("less")?(t.classList.remove("less"),n.classList.remove("open")):(t.classList.add("less"),n.classList.add("open"));}var a=document.querySelectorAll(".teaser-text-more");if(a.length>0)for(var l=0;l<a.length;++l){var s=a[l];s.insertAdjacentHTML("afterend",'<div class="morecontent"><p class="morespacer"> </p><a href="javascript:void(0)" class="morelink"></a></div>'),s.parentNode.querySelector(".morecontent").addEventListener("click",o);}var c=document.querySelectorAll("[tooltip]");if(c.length&&function(e){e.forEach((function(e){e.addEventListener("mouseover",(function(){window.innerWidth-e.getBoundingClientRect().right<150?e.style.setProperty("--tooltip-calibration","-90%"):e.getBoundingClientRect().left<150&&e.style.setProperty("--tooltip-calibration","-10%");})),e.addEventListener("mouseout",(function(){e.style.setProperty("--tooltip-calibration","-50%");}));}));}(c),document.querySelector(".notifications-wrapper")){var u=function(){var e=document.getElementById("notificationcount");e&&e.click();},d=document.querySelector(".view-all-notification"),f=document.querySelector(".clear-all-notification");d&&d.addEventListener("click",u),f&&f.addEventListener("click",u);}if(document.querySelectorAll(".notifications-list .notification-remove").forEach((function(e){e.addEventListener("click",(function(){var e=this.closest("article.ecl-content-item"),t=e?e.previousElementSibling:null,n=this.closest(".
3notification-msg-wrapper"),i=n?n.getAttribute("data-id"):null;if(t&&t.classList.contains("label-thumbnail-wrapper")&&t.remove(),e&&e.remove(),i){var o=document.querySelector('.notifications-wrapper .notification-items[data-id="'.concat(i,'"]'));o&&o.remove();}}));})),document.querySelectorAll(".task-container button").forEach((function(e){["Request Extension","Confirm Request Extension","Cancel","Confirm Cancel","Submit","Confirm Submit","Accept","Confirm Accept","Decline","Confirm Decline","Submit Assignment","Confirm Submit Assignment","Re-open","Confirm Re-open","Validate","Confirm Validate","Update Required","Confirm Update Required","Pending modifications - extended deadline","Confirm Pending modifications - extended deadline","Pending modifications","Confirm Pending modifications","HR Excellence in Research embedded","Confirm HR Excellence in Research embedded","HR Excellence in Research embedded, strong corrective actions needed","Confirm HR Excellence in Research embedded, strong corrective actions needed","HR Excellence in Research embedded, corrective actions needed","Confirm HR Excellence in Research embedded, corrective actions needed"].includes(e.textContent.trim())&&e.addEventListener("click",(function(e){setTimeout((function(){!function(){if(!document.querySelector(".task-overlay")){var e=document.createElement("div");e.classList.add("task-overlay"),document.body.appendChild(e);}}();}),0);}),{once:!0});})),document.querySelectorAll(".flag-favorite .use-ajax").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n,i,o=e.closest("tr");o&&(i=500,(n=o).style.transition="opacity ".concat(i,"ms"),n.style.opacity=0,setTimeout((function(){n.style.display="none";}),i));}));})),"/"===window.location.pathname){var h=document.querySelector("li.ecl-menu__item a[href='/']");h.classList.add("ecl-menu__link--current"),h.parentElement.classList.add("ecl-menu__item--current");}if(window.location.search.includes("print=true")){var v=function(){document.querySelectorAll(".mat-expansion-panel-content").forEach((function(e){e.classList.add("mat-expanded"),e.style.cssText="visibility: visible;";}));};new MutationObserver((function(e,t){document.querySelectorAll(".mat-expansion-panel-content").length>0&&(v(),t.disconnect());})).observe(document.body,{childList:!0,subtree:!0}),v();}})),O=jQuery,Drupal,O(".ecl-accordion.nested-accordion").click((function(){var e=O(this).find(".ecl-accordion__toggle"),t=O(this).find(".ecl-accordion__content"),n=O(this).find(".ecl-icon.ecl-accordion__toggle-icon use"),i=n.attr("xlink:href").split("#",2);"false"===e.attr("aria-expanded")?(e.attr("aria-expanded",!0),t.removeAttr("hidden"),n.attr("xlink:href",i[0]+"#minus")):(e.attr("aria-expanded",!1),t.attr("hidden",!0),n.attr("xlink:href",i[0]+"#plus"));})),function(){function e(e){"on"!==e.dataset.dialogBound&&(e.dataset.dialogBound="on",e.addEventListener("click",(function(t){t.preventDefault();var n=e.getAttribute("data-dialog-target"),i=JSON.parse(e.getAttribute("data-dialog-options")||"{}");if(n){var o=document.querySelector(n);if(o){var r=o.cloneNode(!0);Drupal.dialog(r,i).showModal();}}})));}document.querySelectorAll(".open-dialog").forEach(e),new MutationObserver((function(t){t.forEach((function(t){t.addedNodes.forEach((function(t){var n;1===t.nodeType&&(t.matches(".open-dialog")&&e(t),null===(n=t.querySelectorAll)||void 0===n||n.call(t,".open-dialog").forEach(e));}));}));})).observe(document.body,{childList:!0,subtree:!0});}();},999:()=>{},297:()=>{},323:()=>{},787:()=>{},119:()=>{},301:()=>{},619:()=>{},955:()=>{},855:()=>{},989:()=>{},53:()=>{},935:()=>{},477:()=>{},455:()=>{},123:()=>{},553:()=>{},145:()=>{},93:()=>{},413:()=>{}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,i),r.exports;}i.m=t,e=[],i.O=(t,n,o,r)=>{if(!n){var a=1/0;for(u=0;u<e.length;u++){for(var [n,o,r]=e[u],l=!0,s=0;s<n.length;s++)(!1&r||a>=r)&&Object.keys(i.O).every(((e)=>i.O[e](n[s])))?n.splice(s--,1):(l=!1,r<a&&(a=r));if(l){e.splice(u--,1);var c=o();void 0!==c&&(t=c);}}return t;}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[n,o,r];},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={59:0,320:0,504:0,906:0,104:0,124:0,526:0,102:0,474:0,622:0,802:0,350:0,0:0,438:0,266:0,630:0,20:0,782:0,616:0,294:0};i.O.j=(t)=>0===e[t];var t=(t,n)=>{var o,r,[a,l,s]=n,c=0;if(a.some(((t)=>0!==e[t]))){for(o in l)i.o(l,o)&&(i.m[o]=l[o]);if(s)var u=s(i);}for(t&&t(n);c<a.length;c++)r=a[c],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return i.O(u);},n=self.webpackChunkrtd_euraxess=self.webpackChunkrtd_euraxess||[];
3n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n));})(),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(359))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(123))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(553))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(145))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(93))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(413))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(999))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(297))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(323))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(787))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(119))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(301))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(619))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(955))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(855))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(989))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(53))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(935))),i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(477)));var o=i.O(void 0,[320,504,906,104,124,526,102,474,622,802,350,0,438,266,630,20,782,616,294],(()=>i(455)));o=i.O(o);})();;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.