PageSourceSearch

https://specialolympics.de/typo3conf/ext/thprovider/Resources/Publ…/base.min.js?v=3294244537922&1789377183

js specialolympics.de collected 2026-09-25 08:57:32 UTC 37,134 bytes, 1 lines download raw bytes

1"use strict";class CardElement extends HTMLElement{constructor(){super()}connectedCallback(){let e,t,i=this.querySelector(".card-element__body__link a");this.style.cursor="pointer",this.onmousedown=()=>e=+new Date,this.onmouseup=()=>{t=+new Date,t-e<200&&i.click()}}}window.customElements.define("card-element",CardElement);var throttle=function(e,t){var i=!1;return function(){i||(e.call(),i=!0,setTimeout(function(){i=!1},t))}};class CarouselSlider extends HTMLElement{constructor(){super(),this.siemaElem,this.interval=0,this.intervalTiming=6e3,this.autoplay=!1,this.autoplaying=!1,this.slidesPerScreen=1,this.numberOfDots=1,this.slides}connectedCallback(){this.slides=this.querySelectorAll(".carousel-slider__item"),this.numberOfCarouselItems=this.slides.length,this.setupCarousel(),this.setupControls(),window.addEventListener("resize",()=>{throttle(this.resize(),10)}),this.resize()}initVars(){this.numberOfDots=this.numberOfCarouselItems}setupControls(){this.querySelector(".btn-prev").onclick=()=>{clearInterval(this.interval),this.autoplaying=!1,this.siemaElem.prev(),!0===this.autoplay&&!1===this.autoplaying&&(this.autoplaying=!0,this.interval=setInterval(()=>this.siemaElem.next(),this.intervalTiming))},this.querySelector(".btn-next").onclick=()=>{clearInterval(this.interval),this.autoplaying=!1,this.siemaElem.next(),!0===this.autoplay&&!1===this.autoplaying&&(this.autoplaying=!0,this.interval=setInterval(()=>this.siemaElem.next(),this.intervalTiming))}}setupDots(){const e=this;let t,i=this.querySelector(".list-dots");i?i.innerHTML="":(i=document.createElement("ul"),i.classList.add("list-dots"),this.appendChild(i));for(let e=0;e<this.numberOfDots;e++){t=document.createElement("li"),i.appendChild(t);const s=document.createElement("button"),r=document.createElement("span");r.innerHTML=`Springe zur Slide ${e+1}`,r.classList.add("sr-only"),s.appendChild(r),t.appendChild(s),0==e&&t.classList.add("active")}for(let t of i.querySelectorAll("button"))t.addEventListener("click",function(){let t=Array.prototype.indexOf.call(i.childNodes,this.parentElement);e.classList.contains("carousel-slider--multi")&&(t*=e.slidesPerScreen),e.siemaElem.goTo(t)})}setupCarousel(){const e=this,t=e=>{e?(clearInterval(this.interval),this.interval=setInterval(()=>this.siemaElem.next(),this.intervalTiming),this.autoplaying=!0):(clearInterval(this.interval),this.autoplaying=!1)};if(this.siemaElem=new Siema({selector:e.querySelector(".siema"),duration:2500,easing:"cubic-bezier(.19,1,.22,1)",loop:!0,onChange:function(){e.setCurrentSlideClass(this.currentSlide)}}),this.autoplay){t(!0),this.siemaElem.selector.setAttribute("aria-live","off");[{event:"mouseenter",handler:()=>t(!1)},{event:"click",handler:()=>t(!1)},{event:"touchstart",handler:()=>t(!1)},{event:"mouseleave",handler:()=>t(!0)},{event:"keyup",handler:e=>{"Tab"!==e.code&&"Tab"!==e.key||t(0===this.querySelectorAll(":focus").length)}},{event:"focusout",handler:e=>{this.contains(e.relatedTarget)||t(!0)}}
1].forEach(({event:e,handler:t})=>{this.addEventListener(e,t,{passive:!0})})}else this.siemaElem.selector.setAttribute("aria-live","polite")}setCurrentSlideClass(e){if(this.classList.contains("carousel-slider--no-slide"))return;const t=this.querySelectorAll(".carousel-slider__item");this.querySelector(".carousel-slider__item.active")&&this.querySelector(".carousel-slider__item.active").classList.remove("active"),this.querySelector(".list-dots li.active").classList.remove("active"),t.forEach(e=>{e.setAttribute("inert","")}),e<0&&(e+=this.numberOfCarouselItems),t[e+1].classList.add("active"),t[e+1].removeAttribute("inert"),this.querySelector(".list-dots li:nth-child("+(e+1)+")").classList.add("active")}resize(){this.initVars(),this.setupDots(),this.setCurrentSlideClass(0),this.classList.remove("carousel-slider--no-slide"),this.classList.contains("carousel-slider--multi")&&this.numberOfCarouselItems<=this.slidesPerScreen||!this.classList.contains("carousel-slider--multi")&&this.numberOfCarouselItems<=1?(this.classList.add("carousel-slider--no-slide"),this.siemaElem&&(this.siemaElem.destroy(!0),this.siemaElem=null),clearInterval(this.interval),this.autoplaying=!1):this.siemaElem||this.setupCarousel(),clearInterval(this.interval),this.autoplaying=!1,this.autoplay&&!this.autoplaying&&(this.interval=setInterval(()=>this.siemaElem.next(),this.intervalTiming))}}window.customElements.define("carousel-slider",CarouselSlider);class CarouselPresenterSlider extends CarouselSlider{constructor(){super(),this.autoplay=!1,this.intervalTiming=1e4}connectedCallback(){this.shuffleSlides(),super.connectedCallback()}shuffleSlides(){const e=this.querySelector(".siema");if(!e)return;const t=Array.from(e.querySelectorAll(".carousel-slider__item"));if(!(t.length<=1)){for(let e=t.length-1;e>0;e--){const i=Math.floor(Math.random()*(e+1));i!==e&&([t[e],t[i]]=[t[i],t[e]])}t.forEach(t=>e.appendChild(t))}}initVars(){super.initVars()}setupControls(){}setupDots(){super.setupDots()}setupCarousel(){super.setupCarousel()}setCurrentSlideClass(e){super.setCurrentSlideClass(e)}resize(){super.resize()}}window.customElements.define("carousel-presenter-slider",CarouselPresenterSlider);class CarouselQuoteSlider extends CarouselSlider{constructor(){super()}connectedCallback(){super.connectedCallback()}initVars(){super.initVars()}setupControls(){super.setupControls()}setupDots(){super.setupDots()}setupCarousel(){super.setupCarousel()}setCurrentSlideClass(e){super.setCurrentSlideClass(e)}resize(){super.resize()}}window.customElements.define("carousel-quote-slider",CarouselQuoteSlider);class CarouselPartnerSlider extends CarouselSlider{constructor(){super(),this.autoplay=!0,this.intervalTiming=0}connectedCallback(){this.intervalTiming=Number(this.getAttribute("data-interval-timing"))||1e4,super.connectedCallback()}initVars(){super.initVars()}setupControls(){super.setupControls()}setupDots(){super.setupDots()}setupCarousel(){super.setupCarousel()}setCurrentSlideClass(e){super.setCurrentSlideClass(e)}resize(){super.resize()}}window.customElements.define("carousel-partner-slider",CarouselPartnerSlider);var constants={breakpointNav:992};class ToggleSection extends HTMLElement{constructor(){super(),this.setAttribute("role","region"),this.heading=this.querySelector(".toggle-section__heading"),this.heading.querySelector("button")?this.btn=this.heading.querySelector("button"):this.btn=this.heading,this.content=this.querySelector(".toggle-section__content"),this.switchState()}connectedCallback(){this.btn.onclick=e=>{this.closeOpenToggleSection(),this.hasAttribute("open")?this.removeAttribute("open"):this.setAttribute("open","")},this.onkeydown=e=>{if(!this.classList.contains("toggle-section--nav")){let t=!1;t="key"in e?"Escape"===e.key||"Esc"===e.key||"Backspace"===e.key:27===e.keyCode,t&&this.removeAttribute("open")}},window.addEventListener("resize",()=>{throttle(this.resize(),10)}),this.resize()}static get observedAttributes(){return["open"]}attributeChangedCallback(e){"open"===e&&this.switchState()}switchState(){let e=this.hasAttribute("open");this.btn.setAttribute("aria-expanded",e),this.content.setAttribute("aria-hidden",!e),this.content.style.maxHeight=e?`${this.content.scrollHeight}px`:"";const t=this.content.querySelectorAll("a, button");for(let i of t)i.closest(".toggle-section__content")==this.content&&(e?i.setAttribute("tabindex",""):i.setAttribute("tabindex","-1"))}closeOpenToggleSection(){let e=this.closest(".toggle-section-group");if(e){let t=e.querySelector(".toggle-section[open]");t&&t!=this&&t.removeAttribute("open")}}resize(){this.hasAttribute("open")&&(this.content.style.maxHeight=`${this.content.scrollHeight}px`),this.switchState()}}window.customElements.define("toggle-section",ToggleSection);class ToggleSectionNav extends ToggleSection{constructor(){super(),this.lastScrollTop=0,this.delta=10,this.headerElem=document.querySelector("header"),this.navbarHeight=this.headerElem.clientHeight,this.windowWidth=0}connectedCallback(){super.connectedCallback();new ResizeObserver(e=>{for(const t of e)this.setHeaderHeightProperty(t.target.offsetHeight)}).observe(this.headerElem),document.addEventListener("keyup",e=>{if("Tab"===e.code||"Tab"===e.key){if(this.hasAttribute("open")&&0==document.querySelectorAll("header a:focus, header button:focus, header input:focus").length)if(window.innerWidth<constants.breakpointNav)this.removeAttribute("open");else for(let e of this.querySelectorAll(".toggle-section"))e.removeAttribute("open");this.querySelector(".toggle-section--menu[open]")&&!e.target.parentElement.parentElement.closest(".toggle-section--menu")&&this.querySelector(".toggle-section--menu[open]").removeAttribute("open")}}),document.querySelector("body").addEventListener("click",()=>{const e=this.querySelectorAll(".toggle-section--menu[open]");e.length>0&&0===document.querySelectorAll("header:hover, header:focus-within").length&&window.innerWidth>
1=constants.breakpointNav&&e.forEach(e=>{e.removeAttribute("open")})}),window.addEventListener("scroll",()=>{throttle(this.scroll(),80)}),this.scroll()}attributeChangedCallback(e){super.attributeChangedCallback(e)}setHeaderHeightProperty(e){document.documentElement.style.setProperty("--header-height",`${e}px`)}switchState(){super.switchState();for(let e of this.querySelectorAll(".toggle-section"))e.removeAttribute("open");if(this.hasAttribute("open")){if(window.innerWidth<constants.breakpointNav){let e=window.scrollY;document.body.style.position="fixed",document.body.style.top=`-${e}px`}this.headerElem.classList.add("header--open")}else{if(window.innerWidth<constants.breakpointNav){const e=document.body.style.top;document.body.style.position="",document.body.style.top="",window.scrollTo(0,-1*parseInt(e||"0"))}this.headerElem&&this.headerElem.classList.remove("header--open")}}scroll(){const e=window.pageYOffset;if(!(Math.abs(this.lastScrollTop-e)<=this.delta)){if(e>this.lastScrollTop&&e>this.navbarHeight&&this.headerElem.classList.contains("header--open")){this.headerElem.setAttribute("aria-hidden",!1),this.headerElem.querySelector(".header__logo").setAttribute("aria-hidden","true"),this.headerElem.querySelector(".header__logo").setAttribute("tabindex","-1"),this.headerElem.querySelector(".header__sub").setAttribute("aria-hidden","true"),this.headerElem.querySelector(".header__sub").querySelectorAll("a").forEach(e=>{e.setAttribute("tabindex","-1")}),this.headerElem.querySelector(".header__donate").setAttribute("aria-hidden","true"),this.headerElem.querySelector(".header__donate").querySelectorAll("a, input, button").forEach(e=>{e.setAttribute("tabindex","-1")});let e=this.querySelector(".toggle-section[open]");e&&e.removeAttribute("open")}else e+window.innerHeight<document.body.clientHeight&&(e<20?(this.headerElem.removeAttribute("aria-hidden"),this.headerElem.querySelector(".header__logo").setAttribute("aria-hidden","false"),this.headerElem.querySelector(".header__logo").setAttribute("tabindex",""),this.headerElem.querySelector(".header__sub").setAttribute("aria-hidden","false"),this.headerElem.querySelector(".header__sub").querySelectorAll("a").forEach(e=>{e.setAttribute("tabindex","")}),this.headerElem.querySelector(".header__donate").setAttribute("aria-hidden","false"),this.headerElem.querySelector(".header__donate").querySelectorAll("a, input, button").forEach(e=>{e.setAttribute("tabindex","")})):"true"!=this.headerElem.getAttribute("data-disable-nav-down")&&this.headerElem.setAttribute("aria-hidden","false"));this.lastScrollTop=e}}resize(){window.innerWidth!=this.windowWidth&&(this.windowWidth=window.innerWidth,window.innerWidth>=constants.breakpointNav?(this.setAttribute("open",""),this.btn.setAttribute("aria-hidden","true"),document.body.style.position="",document.body.style.top=""):(this.removeAttribute("open"),this.btn.removeAttribute("aria-hidden")))}disallowHeaderDown(e){"true"!=this.headerElem.getAttribute("data-disable-nav-down")&&(clearTimeout(this.disallowTimer),this.headerElem.setAttribute("aria-hidden","true"),this.headerElem.setAttribute("data-disable-nav-down","true"),this.disallowTimer=setTimeout(()=>{this.headerElem.setAttribute("data-disable-nav-down","false")},e))}}window.customElements.define("toggle-section-nav",ToggleSectionNav);class TabbedContent extends HTMLElement{constructor(){super()}connectedCallback(){const e=this.querySelector(".tabbed-content__nav"),t=e.querySelectorAll("a"),i=this.querySelectorAll(".tabbed-content__pane"),s=(e,s)=>{s.focus(),s.removeAttribute("tabindex"),s.setAttribute("aria-selected","true"),e.removeAttribute("aria-selected"),e.setAttribute("tabindex","-1");let r=Array.prototype.indexOf.call(t,s),l=Array.prototype.indexOf.call(t,e);i[l].hidden=!0,i[r].hidden=!1};e.setAttribute("role","tablist"),Array.prototype.forEach.call(t,(i,r)=>{i.setAttribute("role","tab"),i.setAttribute("id","tab"+(r+1)),i.setAttribute("tabindex","-1"),i.parentNode.setAttribute("role","presentation"),i.addEventListener("click",t=>{t.preventDefault();let i=e.querySelector("[aria-selected]");t.currentTarget!==i&&s(i,t.currentTarget)}),i.addEventListener("keydown",e=>{let i=Array.prototype.indexOf.call(t,e.currentTarget);var r=37===e.which?i-1:39===e.which?i+1:null;if(null!==r){let l;e.preventDefault(),l=t[r]?r:r===i-1?t.length-1:0,s(e.currentTarget,t[l]),t[l].focus()}})}),Array.prototype.forEach.call(i,(e,i)=>{e.setAttribute("role","tabpanel"),e.setAttribute("tabindex","-1"),e.getAttribute("id"),e.setAttribute("aria-labelledby",t[i].id),e.hidden=!0}),t[0].removeAttribute("tabindex"),t[0].setAttribute("aria-selected","true"),i[0].hidden=!1}}window.customElements.define("tabbed-content",TabbedContent);class ModalOverlay extends HTMLElement{constructor(){super(),this.currentModalButton}
1connectedCallback(){this.querySelectorAll(".close").forEach(e=>{e.addEventListener("click",e=>{this.close()})}),window.addEventListener("click",e=>{this.hasAttribute("open")&&e.target===this&&this.close()});this.onkeydown=e=>{let t=!1;if(t="key"in e?"Escape"===e.key||"Esc"===e.key:27===e.keyCode,t&&this.close(),9==e.which){this.querySelectorAll("*");let t=this.querySelectorAll("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]"),i=t.length,s=0;for(let e=0;e<t.length;e++)t[e]===document.activeElement&&(s=e);e.shiftKey?0==s&&(t[i-1].focus(),e.preventDefault()):s==i-1&&(t[0].focus(),e.preventDefault())}}}static get observedAttributes(){return["open"]}attributeChangedCallback(e){"open"===e&&this.switchState()}switchState(){if(this.hasAttribute("open"))this.setAttribute("aria-hidden",!1),this.focus(),document.querySelector("body").classList.add("modal-open");else{document.querySelector("body").classList.remove("modal-open");let e=this.querySelector("iframe");e&&(e.parentElement.innerHTML=""),void 0!==this.currentModalButton?setTimeout(()=>{this.currentModalButton.focus(),this.setAttribute("aria-hidden",!0)},100):(document.activeElement.blur(),this.setAttribute("aria-hidden",!0))}}open(e){this.currentModalButton=e,this.setAttribute("open","true")}close(){this.removeAttribute("open")}}window.customElements.define("modal-overlay",ModalOverlay);class ModalButton extends HTMLElement{constructor(){super(),this.setAttribute("tabindex","0"),this.setAttribute("role","button"),this.style.cursor="pointer"}connectedCallback(){this.addEventListener("click",e=>{e.preventDefault();let t=this.getAttribute("data-modal")?this.getAttribute("data-modal"):"modal-lightbox",i=document.querySelector("#"+t);i.open(this),this.getAttribute("data-title")?i.querySelector(".modal-overlay__title").textContent=this.getAttribute("data-title"):this.parentElement.querySelector("figcaption")?i.querySelector(".modal-overlay__title").textContent=this.parentElement.querySelector("figcaption").textContent:i.querySelector(".modal-overlay__title").textContent=""}),this.addEventListener("keyup",e=>{13===e.keyCode&&this.click()})}}window.customElements.define("modal-button",ModalButton);class ModalButtonLightbox extends ModalButton{constructor(){super()}connectedCallback(){super.connectedCallback(),this.addEventListener("click",e=>{let t=document.querySelector("#"+this.getAttribute("data-modal"));if(this.classList.contains("gallery__item")){t.querySelector(".modal-overlay__controls").style.display="";for(let e of t.querySelectorAll(".modal-overlay__controls button"))e.removeAttribute("disabled")}else{t.querySelector(".modal-overlay__controls").style.display="none";for(let e of t.querySelectorAll(".modal-overlay__controls button"))e.setAttribute("disabled","")}this.getAttribute("data-gallery-id")?t.setAttribute("data-gallery-id","#"+this.getAttribute("data-gallery-id")):this.closest(".gallery")&&t.setAttribute("data-gallery-id","#"+this.closest(".gallery").getAttribute("id"));let i=t.querySelector(".modal-overlay__img"),s=document.createElement("img");s.setAttribute("src",this.getAttribute("data-img-lg")),s.setAttribute("class","img-responsive fullwidth"),s.setAttribute("alt",this.getAttribute("data-alt")||""),this.getAttribute("data-img-title")&&s.setAttribute("title",this.getAttribute("data-img-title")),i.replaceChildren(s)})}}window.customElements.define("modal-button-lightbox",ModalButtonLightbox);class ModalButtonVideo extends ModalButton{constructor(){super()}connectedCallback(){super.connectedCallback(),this.addEventListener("click",e=>{let t,i=document.querySelector("#"+this.getAttribute("data-modal"));if(this.getAttribute("data-youtube-id"))t="http://www.youtube-nocookie.com/embed/"+this.getAttribute("data-youtube-id")+"?enablejsapi=1&autoplay=1";else{t=this.getAttribute("data-iframe-url");let e=-1!=t.indexOf("youtube")?"enablejsapi=1&autoplay=1":"autoplay=1";t+=t.includes("?")?`&${e}`:`?${e}`}i.querySelector(".embed-responsive").innerHTML='<iframe id="player" type="text/html" width="640" height="360" src="'+t+'" allow="encrypted-media; autoplay; fullscreen" allowfullscreen frameborder="0" title="'+this.getAttribute("data-title")+'"></iframe>'})}}window.customElements.define("modal-button-video",ModalButtonVideo);class ModalControlsLightbox extends HTMLElement{constructor(){super()}connectedCallback(){for(let e of this.querySelectorAll("button"))e.addEventListener("click",()=>{e.classList.contains("btn-prev")?this.setGallerySelected(!0):this.setGallerySelected(!1)});
1document.querySelector("#modal-lightbox").addEventListener("keydown",e=>{switch(e.which){case 37:this.setGallerySelected(!0);break;case 39:this.setGallerySelected(!1);break;default:return}})}setGallerySelected(e){let t=document.querySelector("#modal-lightbox"),i=document.querySelector(t.getAttribute("data-gallery-id")),s=i.querySelectorAll("li").length,r=i.querySelector("li.selected"),l=[...r.parentNode.children].indexOf(r);e?(l-=1,l<0&&(l=s-1)):(l+=1,l>=s&&(l=0)),r=i.querySelector("li:nth-child("+(l+1)+")"),i.querySelector("li.selected").classList.remove("selected"),r.classList.add("selected"),r.querySelectorAll(".modal-button").length&&(r=r.querySelector(".modal-button"));let n=r.getAttribute("data-img-lg"),a=r.getAttribute("data-title"),o=r.getAttribute("data-alt"),c=r.getAttribute("data-img-title"),d=t.querySelector(".modal-overlay__img img");d.setAttribute("src",n),d.setAttribute("alt",o||""),c?d.setAttribute("title",c):d.removeAttribute("title"),t.querySelector(".modal-overlay__title").textContent=a}}window.customElements.define("modal-controls-lightbox",ModalControlsLightbox),document.querySelectorAll(".card-element--wide__results").forEach(e=>{const t=e.querySelector(".card-element--wide__results-inner");if(!t)return;t.setAttribute("tabindex","0"),t.setAttribute("role","region"),t.setAttribute("aria-label","Ergebnistabelle - mit Pfeiltasten horizontal scrollen");const i=()=>{const i=t.scrollWidth-t.clientWidth,s=i>0;e.classList.toggle("is-at-end",!s||t.scrollLeft>=i-1),e.classList.toggle("is-scrolled",s&&t.scrollLeft>1)};t.addEventListener("scroll",i),window.addEventListener("resize",i),t.addEventListener("keydown",e=>{"ArrowRight"===e.key?(e.preventDefault(),t.scrollBy({left:100,behavior:"smooth"})):"ArrowLeft"===e.key?(e.preventDefault(),t.scrollBy({left:-100,behavior:"smooth"})):"Home"===e.key?(e.preventDefault(),t.scrollTo({left:0,behavior:"smooth"})):"End"===e.key&&(e.preventDefault(),t.scrollTo({left:t.scrollWidth,behavior:"smooth"}))});let s,r,l=!1;t.addEventListener("mousedown",e=>{l=!0,t.style.cursor="grabbing",s=e.pageX-t.offsetLeft,r=t.scrollLeft}),t.addEventListener("mouseleave",()=>{l=!1,t.style.cursor="grab"}),t.addEventListener("mouseup",()=>{l=!1,t.style.cursor="grab"}),t.addEventListener("mousemove",e=>{if(!l)return;e.preventDefault();const i=2*(e.pageX-t.offsetLeft-s);t.scrollLeft=r-i});t.scrollWidth-t.clientWidth>0&&(t.style.cursor="grab"),i()});var _initForms=function(){for(let e of document.querySelectorAll(".f3-form-error, input.has-error, select.has-error, textarea.has-error")){let t=[e.parentElement,e.parentElement.parentElement,e.parentElement.parentElement.parentElement];for(let e of t)e.classList.contains("form-group")&&e.classList.add("has-error")}for(let e of document.querySelectorAll(".file")){let t=e.querySelector(".btn"),i=t.textContent;e.onchange=e=>{let s="";s=e.target.value.split("\\").pop(),t.textContent=s||i}}for(let e of document.querySelectorAll("input"))e.addEventListener("invalid",t=>{e.parentElement.classList.add("has-error"),document.querySelector("header .toggle-section--nav").disallowHeaderDown(2e3)}),e.addEventListener("blur",function(){if(e.parentElement.classList.contains("has-error")&&e.checkValidity()&&(e.parentElement.classList.remove("has-error"),e.parentElement.classList.contains("radio"))){console.log("boo");for(let t of e.parentElement.parentElement.querySelectorAll("input"))t.parentElement.classList.remove("has-error")}})},_initSmoothScrolling=function(){for(let e of document.querySelectorAll("[data-skip-section]")){const t=e.closest("[id^='c']");let i=t.nextElementSibling,s=t.parentElement;for(;null===i&&null!==s;)s=s.parentElement,i=s?s.nextElementSibling:null;i.hasAttribute("id")||i.setAttribute("id","skip-target-"+t.getAttribute("id")),e.setAttribute("href","#"+i.getAttribute("id"))}if(window.location.href.split("#")[1]){const e="#"+window.location.href.split("#")[1],t=document.querySelector(e);if(!t)return;document.querySelector("header").setAttribute("aria-hidden","false"),window.scrollTo({top:t.getBoundingClientRect().top+window.scrollY-document.querySelector("header").clientHeight,behavior:"smooth"});const i=t.querySelectorAll("button, a");i.length>0&&i[0].focus()}for(let e of document.querySelectorAll("[data-smoothscroll]"))e.addEventListener("click",t=>{t.preventDefault();const i="#"+e.getAttribute("href").split("#")[1],s=document.querySelector(i);if(!s)return;window.scrollTo({top:s.getBoundingClientRect().top+window.scrollY,behavior:"smooth"}),window.history.pushState("","",i);const r=s.querySelectorAll("button, a");r.length>0&&r[0].focus()})},_initAssociation=function(){const e=document.querySelector(".germany-association");if(e){const t=document.querySelectorAll(".box"),i=e.querySelectorAll("a");t.forEach(function(e){e.addEventListener("mouseenter",function(e){const t=e.target.dataset.associationId;
1i.forEach(function(e){e.dataset.associationId&&e.dataset.associationId===t&&e.classList.add("active")})}),e.addEventListener("mouseleave",function(e){i.forEach(e=>{e.classList.remove("active")})})}),i.forEach(function(e){const i=e.dataset.associationId;t.forEach(function(t){t.dataset.associationId&&t.dataset.associationId===i&&e.setAttribute("href",t.querySelectorAll("a")[0].getAttribute("href"))}),e.addEventListener("mouseenter",function(e){const i=e.target.dataset.associationId;t.forEach(function(e){e.dataset.associationId&&e.dataset.associationId===i&&e.classList.add("active")})}),e.addEventListener("mouseleave",function(e){t.forEach(e=>{e.classList.remove("active")})})})}};class MapElement extends HTMLElement{constructor(){super(),this.map=null,this.toggleTab=null,this.handleTabClick=null}connectedCallback(){if(this.map||!window.L)return;const e=this.getAttribute("data-marker-url"),t=this.getAttribute("data-marker-shadow-url");if(!e||!t)return;const i=this.getAttribute("data-init-lat"),s=this.getAttribute("data-init-lng")||this.getAttribute("data-init-lang"),r=this.getAttribute("data-init-zoom");let l=[51.164305,10.4541205],n=5.5;if(i&&s&&r){const e=Number.parseFloat(i),t=Number.parseFloat(s),a=Number.parseFloat(r);Number.isFinite(e)&&Number.isFinite(t)&&Number.isFinite(a)&&(l=[e,t],n=a)}this.map=L.map(this,{fullscreenControl:!0,fullscreenControlOptions:{position:"topleft"}}).setView(l,n),this.bindTabResize(),L.tileLayer("https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png",{zoom:19,attribution:'© <a href="https://www.openstreetmap.org/">OpenStreetMap</a> - Veröffentlicht unter <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a>'}).addTo(this.map);const a=L.icon({iconUrl:e,iconSize:[32,43],iconAnchor:[16,43],popupAnchor:[0,-55],shadowUrl:t,shadowSize:[70,95],shadowAnchor:[15,95],crossOrigin:""}),o=L.markerClusterGroup({showCoverageOnHover:!1});o.addTo(this.map),this.addEventMarkers(o,a),this.addLocationMarkers(o,a)}disconnectedCallback(){this.toggleTab&&this.handleTabClick&&this.toggleTab.removeEventListener("click",this.handleTabClick),this.map&&(this.map.remove(),this.map=null)}bindTabResize(){const e=this.closest(".tabbed-content__pane"),t=this.closest("tabbed-content");e&&e.id&&t&&(this.toggleTab=t.querySelector(`[href="#${e.id}"]`),this.toggleTab&&(this.handleTabClick=()=>{window.requestAnimationFrame(()=>{this.map&&this.map.invalidateSize()})},this.toggleTab.addEventListener("click",this.handleTabClick)))}addEventMarkers(e,t){const i=window.eventData;i&&i.forEach(i=>{if(i.latitude&&i.longitude){const s=L.marker([i.latitude,i.longitude],{icon:t,alt:`${i.title}`}),r=L.popup({className:"map__popup",minWidth:390});r.setContent(`\n                    <span\n                    class="icon ${i.icon}" aria-hidden="true">\n                    </span>\n                    <small class="map__popup-date">${i.date}</small>\n                    <strong class="map__popup-organisator">Special Olympics ${i.region}</strong>\n                    <a class="map__popup-title" href="${i.link}"><h3>${i.title}</h3></a>\n                    `),s.bindPopup(r),e.addLayer(s)}})}addLocationMarkers(e,t){const i=window.locationsSL26Data;i&&i.forEach(i=>{if(i.latitude&&i.longitude){const s=L.marker([i.latitude,i.longitude],{icon:t,alt:`${i.name}`}),r=L.popup({className:"map__popup",minWidth:390});r.setContent(`\n                        <a href="${i.link}" class="teaser teaser--event">\n                            <div class="teaser__img">\n                                ${i.image?`<img src="${i.image}" alt="${i.name}" width="80" height="80">`:'<span class="icon icon-sod" aria-hidden="true"></span>'}\n                            </div>\n                            <small>\n                                ${i.name1?i.name1:""}\n                            </small>\n\n                            <p class="teaser__link">\n                                ${i.name2?i.name2:""}\n                            </p>\n\n                            <div class="teaser__icons">\n                                ${i.icons?i.icons:""}\n                            </div>\n                        </a>\n                    `),s.bindPopup(r),e.addLayer(s)}})}}window.customElements.define("map-element",MapElement);
1var EYEABLE_WAIT_TIMEOUT=5e3,EYEABLE_WAIT_INTERVAL=120,DEFAULT_LANGUAGE_CODE="de",LANG_LABELS={de:"Deutsch","en-GB":"English",fr:"Français","fr-FR":"Français",it:"Italiano",hu:"Magyar"},LANG_FLAGS={de:'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-de"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-de)"><rect width="34" height="34" fill="#000"/><rect y="11.33" width="34" height="11.34" fill="#dd0000"/><rect y="22.67" width="34" height="11.33" fill="#ffce00"/></g></svg>',"en-GB":'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-gb"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-gb)"><rect width="34" height="34" fill="#012169"/><path d="M0 3 L3 0 L34 31 L34 34 L31 34 L0 3" fill="#fff"/><path d="M31 0 L34 3 L3 34 L0 34 L0 31 L31 0" fill="#fff"/><path d="M0 5.2 L5.2 0 L34 28.8 L34 34 L28.8 34 L0 5.2" fill="#c8102e"/><path d="M28.8 0 L34 5.2 L5.2 34 L0 34 L0 28.8 L28.8 0" fill="#c8102e"/><rect x="13" width="8" height="34" fill="#fff"/><rect y="13" width="34" height="8" fill="#fff"/><rect x="14.5" width="5" height="34" fill="#c8102e"/><rect y="14.5" width="34" height="5" fill="#c8102e"/></g></svg>',fr:'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-fr"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-fr)"><rect width="11.34" height="34" fill="#0055a4"/><rect x="11.33" width="11.34" height="34" fill="#fff"/><rect x="22.67" width="11.33" height="34" fill="#ef4135"/></g></svg>',"fr-FR":'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-fr-fr"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-fr-fr)"><rect width="11.34" height="34" fill="#0055a4"/><rect x="11.33" width="11.34" height="34" fill="#fff"/><rect x="22.67" width="11.33" height="34" fill="#ef4135"/></g></svg>',it:'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-it"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-it)"><rect width="11.34" height="34" fill="#009246"/><rect x="11.33" width="11.34" height="34" fill="#fff"/><rect x="22.67" width="11.33" height="34" fill="#ce2b37"/></g></svg>',hu:'<svg viewBox="0 0 34 34" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true"><defs><clipPath id="flag-clip-hu"><circle cx="17" cy="17" r="17"/></clipPath></defs><g clip-path="url(#flag-clip-hu)"><rect width="34" height="34" fill="#ce2939"/><rect y="11.33" width="34" height="11.34" fill="#fff"/><rect y="22.67" width="34" height="11.33" fill="#477050"/></g></svg>'};function getStoredLanguageCode(){var e=null;try{e=window.localStorage.getItem("eye_able_translate")}catch(t){e=null}return e&&LANG_LABELS[e]?e:DEFAULT_LANGUAGE_CODE}function hideDefaultTranslationSwitcher(){var e=document.querySelector("translation-select");return!!e&&(e.style.setProperty("--display","none"),e.style.setProperty("display","none","important"),e.setAttribute("aria-hidden","true"),!0)}function watchDefaultTranslationSwitcher(){if(!hideDefaultTranslationSwitcher()){var e=new MutationObserver(function(){hideDefaultTranslationSwitcher()&&e.disconnect()});e.observe(document.body,{childList:!0,subtree:!0})}}function waitForEyeAble(e,t,i){window.EA&&"function"==typeof window.EA.activateTranslation?e():Date.now()-i>=EYEABLE_WAIT_TIMEOUT?t():setTimeout(function(){waitForEyeAble(e,t,i)},EYEABLE_WAIT_INTERVAL)}function clearTranslationStorage(){var e=["translate","eye-able-translate","eyeable-translate","ea_translate","ea-translate"];[window.localStorage,window.sessionStorage].forEach(function(t){if(t)for(var i=t.length-1;i>=0;i--){var s=t.key(i);if(s){var r=s.toLowerCase();e.some(function(e){return-1!==r.indexOf(e)})&&t.removeItem(s)}}})}function setCurrentLabel(e,t){var i=e.querySelector("[data-eyeable-current-lang]");i&&(i.textContent=LANG_LABELS[t]||LANG_LABELS[DEFAULT_LANGUAGE_CODE],e.querySelectorAll(".header__translate-option").forEach(function(e){e.setAttribute("aria-current",e.getAttribute("data-eyeable-lang")===t?"true":"false")}))}function setCurrentFlag(e,t){var i=e.querySelector("[data-eyeable-flag]"),s=LANG_FLAGS[t]?t:DEFAULT_LANGUAGE_CODE;
1i&&(i.innerHTML=LANG_FLAGS[s]||"")}function setOptionFlags(e){e.querySelectorAll("[data-eyeable-option-flag]").forEach(function(e){var t=e.getAttribute("data-eyeable-option-flag"),i=LANG_FLAGS[t]?t:DEFAULT_LANGUAGE_CODE;e.innerHTML=LANG_FLAGS[i]||""})}function closeMenu(e){var t=e.querySelector("[data-eyeable-trigger]"),i=e.querySelector("[data-eyeable-menu]");t&&i&&(t.setAttribute("aria-expanded","false"),i.setAttribute("aria-hidden","true"))}function openMenu(e){var t=e.querySelector("[data-eyeable-trigger]"),i=e.querySelector("[data-eyeable-menu]");t&&i&&(t.setAttribute("aria-expanded","true"),i.setAttribute("aria-hidden","false"))}function bindSelector(e){var t=e.querySelector("[data-eyeable-translate-root]");if(t){var i=t.querySelector("[data-eyeable-trigger]"),s=t.querySelector("[data-eyeable-menu]");i&&s&&(setCurrentLabel(t,getStoredLanguageCode()),setCurrentFlag(t,getStoredLanguageCode()),setOptionFlags(t),i.addEventListener("click",function(){"true"===i.getAttribute("aria-expanded")?closeMenu(t):openMenu(t)}),t.querySelectorAll(".header__translate-option").forEach(function(e){e.addEventListener("click",function(){var i=e.getAttribute("data-eyeable-lang");if(i){if(i===DEFAULT_LANGUAGE_CODE)return closeMenu(t),clearTranslationStorage(),void window.location.reload();if(window.EA&&"function"==typeof window.EA.activateTranslation)try{window.EA.activateTranslation(i,!0),setCurrentLabel(t,i),setCurrentFlag(t,i)}catch(e){return}closeMenu(t)}})}),document.addEventListener("click",function(e){t.contains(e.target)||closeMenu(t)}),document.addEventListener("keydown",function(e){"Escape"===e.key&&closeMenu(t)}))}}function _initEyeable(){var e=document.querySelector("[data-eyeable-translate]");e&&(watchDefaultTranslationSwitcher(),new Promise(function(e,t){waitForEyeAble(e,t,Date.now())}).then(function(){hideDefaultTranslationSwitcher(),bindSelector(e),e.hidden=!1}).catch(function(){e.hidden=!0}))}class DelegationAutocomplete{constructor(e){this.input=e.input instanceof HTMLElement?e.input:document.getElementById(e.inputId),this.clearBtn=e.clearBtn instanceof HTMLElement?e.clearBtn:document.getElementById(e.clearBtnId),this.suggestionsList=e.suggestionsList instanceof HTMLElement?e.suggestionsList:document.getElementById(e.suggestionsListId),this.allDelegations=e.allDelegations||e.items||[],this.noResultsText=e.noResultsText||"Keine Ergebnisse gefunden",this.submitOnExactMatch=!1!==e.submitOnExactMatch,this.input&&this.suggestionsList?(this.hasActiveFilter=!!this.input.value.trim(),this.init()):console.warn("DelegationAutocomplete: Required elements not found",e)}init(){this.toggleClearBtn(),this.input.addEventListener("input",e=>{const t=e.target.value;if(this.toggleClearBtn(),this.showSuggestions(t),this.submitOnExactMatch){this.allDelegations.some(e=>String(e).toLowerCase()===t.toLowerCase().trim())&&this.input.form.submit()}}),this.input.addEventListener("focus",()=>{""!==this.input.value.trim()&&this.showSuggestions(this.input.value)}),document.addEventListener("click",e=>{this.input.contains(e.target)||this.suggestionsList.contains(e.target)||(this.suggestionsList.style.display="none")}),this.clearBtn&&this.clearBtn.addEventListener("click",()=>{this.input.value="",this.toggleClearBtn(),this.suggestionsList.style.display="none",this.hasActiveFilter&&this.input.form.submit()}),this.input.addEventListener("keydown",e=>{"Enter"===e.key&&(e.preventDefault(),this.input.form.submit())})}toggleClearBtn(){this.clearBtn&&(this.clearBtn.style.display=this.input.value?"block":"none")}showSuggestions(e){this.suggestionsList.innerHTML="";const t=e.toLowerCase().trim(),i=this.allDelegations.filter(e=>-1!==String(e).toLowerCase().indexOf(t)).slice(0,10);if(i.length>0)i.forEach(e=>{const t=document.createElement("li");t.textContent=e,t.addEventListener("click",()=>{this.input.value=e,this.suggestionsList.style.display="none",this.input.form.submit()}),this.suggestionsList.appendChild(t)}),this.suggestionsList.style.display="block";else if(""!==t){const e=document.createElement("li");e.textContent=this.noResultsText,e.className="no-results",this.suggestionsList.appendChild(e),this.suggestionsList.style.display="block"}else this.suggestionsList.style.display="none"}}function _initDelegationAutocomplete(){document.querySelectorAll("[data-autocomplete-wrapper]").forEach(e
1=>{if("true"===e.getAttribute("data-autocomplete-initialized"))return;const t=e.querySelector("[data-autocomplete-input]"),i=e.querySelector("[data-autocomplete-clear]"),s=e.querySelector("[data-autocomplete-suggestions]"),r=e.getAttribute("data-items")||e.getAttribute("data-delegations");let l=[];try{r&&(l=JSON.parse(r))}catch(e){console.error("DelegationAutocomplete: Failed to parse items JSON",e)}const n="false"!==e.getAttribute("data-submit-on-exact-match");new DelegationAutocomplete({input:t,clearBtn:i,suggestionsList:s,items:l,noResultsText:e.getAttribute("data-no-results-text")||"Keine Ergebnisse gefunden",submitOnExactMatch:n}),e.setAttribute("data-autocomplete-initialized","true")})}window._thProvider={init:function(){_initForms(),_initSmoothScrolling(),_initAssociation(),_initEyeable(),_initDelegationAutocomplete()}},document.addEventListener("DOMContentLoaded",e=>{window._thProvider.init()});

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.