text: var all_carousel_containers=document.getElementsByClassName("carousel"),all_carousel_objects=(all_carousel_containers=Array.from(all_carousel_containers)).map((e,t)=>({element:e,index_number:t,slide_index:0}));function changeSlide(e,t){showSlide(e.parentElement.parentElement.parentElement,t)}function currentSlide(e,t){showSlide(e.parentElement.parentElement,parseInt(t)-1)}function showSlide(e,t){var n=all_carousel_objects.filter(t=>{if(t.element===e)return t})[0],a=n.slide_index,i=e.querySelectorAll(".carousel__item--image"),o=e.querySelectorAll(".carousel__item--paragraph"),r=e.querySelectorAll(".carousel__dots");"+1"===t?a+=1:"-1"===t&&(a-=1),"number"==typeof t&&(a=t),a>i.length-1&&(a=0),a<0&&(a=i.length-1);for(const e of i)e.style.display="none";for(const e of o)e.style.display="none";for(const e of r)e.className=e.className.replace(" active","");i[a].style.display="flex",r[a].className+=" active",o[a].style.display="flex",n.slide_index=a}var carousel_group="",group_timer=0,mmax=30,mmin=15,interval_list=[];for(let e of all_carousel_containers){showSlide(e,0);var new_carousel_group=e.parentElement.parentElement.parentElement.id;carousel_group!==new_carousel_group&&(carousel_group=new_carousel_group,group_timer=Math.floor(1e3*(Math.random()*(mmax-mmin)+mmin))),interval_list.push(setInterval(()=>{showSlide(e,"+1")},group_timer))}const container_grid=document.getElementById("container-grid"),container_list=document.getElementById("container-list"),display_toggle=document.getElementById("display-toggle"),display_toggle_checkbox=document.getElementById("display-toggle-checkbox"),navigation=document.getElementById("navigation");var header_arrow=document.getElementById("section-header").querySelector(".banner__scrolldown-link"),a_list=document.getElementsByTagName("nav")[0].querySelectorAll("a"),popup_containers=document.getElementsByClassName("popup");const EXTENSION="-overlay";function addStripExtension(e,t){return t?e+EXTENSION:e.split(EXTENSION)[0]}function change_header_arrow_href(e){var t=header_arrow.getAttribute("href");header_arrow.setAttribute("href",addStripExtension(t,e))}function change_hrefs(e){for(const n of a_list){var t=n.getAttribute("href");n.setAttribute("href",addStripExtension(t,e))}}function change_popup_close_href(e){for(let a of popup_containers){var t=a.querySelector(".popup__close"),n=t.getAttribute("href");t.setAttribute("href",addStripExtension(n,!e))}}function toggle_display(e){e?(container_grid.style.display="none",container_list.style.display="block",container_grid.style.visibility="hidden",container_list.style.visibility="visible"):(container_grid.style.display="block",container_list.style.display="none",container_grid.style.visibility="visible",container_list.style.visibility="hidden"),change_hrefs(e),change_header_arrow_href(e),change_popup_close_href(e)}display_toggle_checkbox.addEventListener("change",(function(){toggle_display(this.checked)})),container_list.style.display="none",change_popup_close_href(!1),window.addEventListener("scroll",()=>{window.pageYOffset>=.95*window.innerHeight?navigation.style.opacity=1:navigation.style.opacity=0}),navigation.style.opacity=0;const navigation_checkbox=document.getElementById("navi-toggle"),navigation_navcontainer=navigation.querySelector(".navigation__nav"),navigation_navlist=navigation.querySelector(".navigation__list"),navigation_navitem=navigation.querySelector(".navigation__item");[navigation_navcontainer,navigation_navlist,navigation_navitem].forEach((function(e){e.addEventListener("click",(function(e){this==e.target&&(navigation_checkbox.checked=!1)}))}));var figure_captions=document.getElementsByClassName("figure__caption");for(let e=0;e<figure_captions.length/2;e++){var figure_caption=figure_captions[e],a=figure_caption.getElementsByTagName("a")[0],href=a.href,popup_id=href.split("#")[1];let t=document.getElementById(popup_id);a.addEventListener("click",()=>{let e=t.querySelector(".yvideo");e&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");let n=t.querySelector(".popup__left--video");n&&n.play()})}for(let e of popup_containers){var ahref=e.querySelector(".popup__close");let t=e.querySelector(".yvideo");t&&ahref.addEventListener("click",()=>{t.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")});let n=e.querySelector(".popup__left--video");n&&ahref.addEventListener("click",()=>{n.pause()})}let vh=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",vh+"px"),window.addEventListener("resize",()=>{let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")}),document.addEventListener("DOMContentLoaded",(function(){new SweetScroll({offset:0})}),!1),$(window).scroll((function(){var e=$(window).scrollTop();e>=100?$("section").each((function(t){$(this).position().top<=e+84&&($("nav a.active").removeClass("active"),$("nav a").eq(t).addClass("active"))})):($("nav a.active").removeClass("active"),$("nav a:first").addClass("active"))})).scroll();