PageSourceSearch

https://www.malteser.de/typo3temp/assets/compressed/merged-f7c6ab077d589e729b824226ef6a4fc3-min.js?1790204825

js malteser.de collected 2026-09-24 09:07:09 UTC 58,911 bytes, 27 lines download raw bytes

1window.Modernizr=function(e,t,n){function r(e){b.cssText=e}function o(e,t){return r(S.join(e+";")+(t||""))}function a(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function c(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&b[o]!==n)return"pfx"==t?o:!0}return!1}function s(e,t,r){for(var o in e){var i=t[e[o]];if(i!==n)return r===!1?e[o]:a(i,"function")?i.bind(r||t):i}return!1}function u(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+k.join(r+" ")+r).split(" ");return a(t,"string")||a(t,"undefined")?c(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),s(o,t,n))}function l(){p.input=function(n){for(var r=0,o=n.length;o>r;r++)j[n[r]]=!!(n[r]in E);return j.list&&(j.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),j}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(e){for(var r,o,a,i=0,c=e.length;c>i;i++)E.setAttribute("type",o=e[i]),r="text"!==E.type,r&&(E.value=x,E.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&E.style.WebkitAppearance!==n?(g.appendChild(E),a=t.defaultView,r=a.getComputedStyle&&"textfield"!==a.getComputedStyle(E,null).WebkitAppearance&&0!==E.offsetHeight,g.removeChild(E)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?E.checkValidity&&E.checkValidity()===!1:E.value!=x)),P[e[i]]=!!r;return P}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d,f,m="2.8.3",p={},h=!0,g=t.documentElement,v="modernizr",y=t.createElement(v),b=y.style,E=t.createElement("input"),x=":)",w={}.toString,S=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",k=C.split(" "),T=C.toLowerCase().split(" "),N={svg:"http://www.w3.org/2000/svg"},M={},P={},j={},$=[],D=$.slice,F=function(e,n,r,o){var a,i,c,s,u=t.createElement("div"),l=t.body,d=l||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=o?o[r]:v+(r+1),u.appendChild(c);return a=["&#173;",'<style id="s',v,'">',e,"</style>"].join(""),u.id=v,(l?u:d).innerHTML+=a,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden",s=g.style.overflow,g.style.overflow="hidden",g.appendChild(d)),i=n(u,e),l?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),g.style.overflow=s),!!i},z=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return F("@media "+t+" { #"+v+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},A=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var i=e in o;return i||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),i=a(o[e],"function"),a(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,i}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty;f=a(L,"undefined")||a(L.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=D.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(D.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(D.call(arguments)))};return r}),M.flexbox=function(){return u("flexWrap")},M.flexboxlegacy=function(){return u("boxDirection")},M.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M.canvastext=function(){return!(!p.canvas||!a(t.createElement("canvas").getContext("2d").fillText,"function"))},M.webgl=function(){return!!e.WebGLRenderingContext},M.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:F(["@media (",S.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},M.geolocation=function(){return"geolocation"in navigator},M.postmessage=function(){return!!e.postMessage},M.websqldatabase=function(){return!!e.openDatabase},M.indexedDB=function(){return!!u("indexedDB",e)},M.hashchange=function(){return A("hashchange",e)&&(t.documentMode===n||t.documentMode>7)}
1,M.history=function(){return!(!e.history||!history.pushState)},M.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},M.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},M.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),i(b.backgroundColor,"rgba")},M.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),i(b.backgroundColor,"rgba")||i(b.backgroundColor,"hsla")},M.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},M.backgroundsize=function(){return u("backgroundSize")},M.borderimage=function(){return u("borderImage")},M.borderradius=function(){return u("borderRadius")},M.boxshadow=function(){return u("boxShadow")},M.textshadow=function(){return""===t.createElement("div").style.textShadow},M.opacity=function(){return o("opacity:.55"),/^0.55$/.test(b.opacity)},M.cssanimations=function(){return u("animationName")},M.csscolumns=function(){return u("columnCount")},M.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+S.join(n+e)).slice(0,-e.length)),i(b.backgroundImage,"gradient")},M.cssreflections=function(){return u("boxReflect")},M.csstransforms=function(){return!!u("transform")},M.csstransforms3d=function(){var e=!!u("perspective");return e&&"webkitPerspective"in g.style&&F("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},M.csstransitions=function(){return u("transition")},M.fontface=function(){var e;return F('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},M.generatedcontent=function(){var e;return F(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},M.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},M.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},M.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},M.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},M.webworkers=function(){return!!e.Worker},M.applicationcache=function(){return!!e.applicationCache},M.svg=function(){return!!t.createElementNS&&!!t.createElementNS(N.svg,"svg").createSVGRect},M.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==N.svg},M.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(w.call(t.createElementNS(N.svg,"animate")))},M.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(w.call(t.createElementNS(N.svg,"clipPath")))};for(var H in M)f(M,H)&&(d=H.toLowerCase(),p[d]=M[H](),$.push((p[d]?"":"no-")+d));return p.input||l(),p.addTest=function(e,t){if("object"==typeof e)for(var r in e)f(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof h&&h&&(g.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),y=E=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[h]];return t||(t={},g++,e[h]=g,v[g]=t),t}function a(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||m.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||o(e);for(var a=n.frag.cloneNode(),i=0,c=r(),s=c.length;s>i;i++)a.createElement(c[i]);return a}function c(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function s(e){e||(e=t);var r=o(e);return!y.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
1play:block}mark{background:#FF0;color:#000}template{display:none}")),l||c(e,r),e}var u,l,d="3.7.0",f=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",g=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,l=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:s,createElement:a,createDocumentFragment:i};e.html5=y,s(t)}(this,t),p._version=m,p._prefixes=S,p._domPrefixes=T,p._cssomPrefixes=k,p.mq=z,p.hasEvent=A,p.testProp=function(e){return c([e])},p.testAllProps=u,p.testStyles=F,p.prefixed=function(e,t,n){return t?u(e,t,n):u(e,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+$.join(" "):""),p}(this,this.document);function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g="gecko",w="webkit",s="safari",c="chrome",o="opera",m="mobile",v=0,r=window.devicePixelRatio?(window.devicePixelRatio+"").replace(".","_"):"1";var res=[!/opera|webtv/.test(ua)&&/msie\s(\d+)/.test(ua)&&(v=RegExp.$1*1)?"ie ie"+v+(v==6||v==7?" ie67 ie678 ie6789":v==8?" ie678 ie6789":v==9?" ie6789 ie9m":v>9?" ie9m":""):/edge\/(\d+)\.(\d+)/.test(ua)&&(v=[RegExp.$1,RegExp.$2])?"ie ie"+v[0]+" ie"+v[0]+"_"+v[1]+" ie9m edge":/trident\/\d+.*?;\s*rv:(\d+)\.(\d+)\)/.test(ua)&&(v=[RegExp.$1,RegExp.$2])?"ie ie"+v[0]+" ie"+v[0]+"_"+v[1]+" ie9m":/firefox\/(\d+)\.(\d+)/.test(ua)&&(re=RegExp)?g+" ff ff"+re.$1+" ff"+re.$1+"_"+re.$2:is("gecko/")?g:is(o)?"old"+o+(/version\/(\d+)/.test(ua)?" "+o+RegExp.$1:/opera(\s|\/)(\d+)/.test(ua)?" "+o+RegExp.$2:""):is("konqueror")?"konqueror":is("blackberry")?m+" blackberry":is(c)||is("crios")?w+" "+c:is("iron")?w+" iron":!is("cpu os")&&is("applewebkit/")?w+" "+s:is("mozilla/")?g:"",is("android")?m+" android":"",is("tablet")?"tablet":"",is("opr/")?o:"",is("yabrowser")?"yandex":"",is("j2me")?m+" j2me":is("ipad; u; cpu os")?m+" chrome android tablet":is("ipad;u;cpu os")?m+" chromedef android tablet":is("iphone")?m+" ios iphone":is("ipod")?m+" ios ipod":is("ipad")?m+" ios ipad tablet":is("mac")?"mac":is("darwin")?"mac":is("webtv")?"webtv":is("win")?"win"+(is("windows nt 6.0")?" vista":""):is("freebsd")?"freebsd":is("x11")||is("linux")?"linux":"",r!="1"?" retina ratio"+r:"","js portrait"].join(" ");if(window.jQuery&&!window.jQuery.browser){window.jQuery.browser=v?{msie:1,version:v}:{}}return res}(function(d,w){var _c=css_browser_selector(navigator.userAgent);var h=d.documentElement;h.className+=" "+_c;var _d=_c.replace(/^\s*|\s*$/g,"").split(/ +/);w.CSSBS=1;for(var i=0;i<_d.length;i++){w["CSSBS_"+_d[i]]=1}var _de=function(v){return d.documentElement[v]||d.body[v]};if(w.jQuery){(function($){var p="portrait",l="landscape";var m="smartnarrow",mw="smartwide",t="tabletnarrow",tw="tabletwide",ac=m+" "+mw+" "+t+" "+tw+" pc";var $h=$(h);var to=0,cw=0;function CSSSelectorUpdateSize(){if(to!=0)return;try{var _cw=_de("clientWidth"),_ch=_de("clientHeight");if(_cw>_ch){$h.removeClass(p).addClass(l)}else{$h.removeClass(l).addClass(p)}if(_cw==cw)return;cw=_cw}catch(e){}to=setTimeout(CSSSelectorUpdateSize_,100)}function CSSSelectorUpdateSize_(){try{$h.removeClass(ac);$h.addClass(cw<=360?m:cw<=640?mw:cw<=768?t:cw<=1024?tw:"pc")}catch(e){}to=0}if(w.CSSBS_ie){setInterval(CSSSelectorUpdateSize,1e3)}else{$(w).on("resize orientationchange",CSSSelectorUpdateSize).trigger("resize")}$(w).on('load',CSSSelectorUpdateSize)})(w.jQuery)}})(document,window);function debounce(func,wait,immediate){let timeout;return function(){let context=this,args=arguments;let later=function(){timeout=null;if(!immediate)func.apply(context,args);};let callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args);}}
2function autoHeightAnimate(element,time){let curHeight=element.height(),autoHeight=element.css('height','auto').height();element.height(curHeight);element.stop().animate({height:autoHeight},time)}(function($){var menuIsOpen=!1;$(document).ready(function(){initMenuButton();initMainMenu();initFocusNavigation()});let lastInteractionWasKeyboard=!1;$(document).on("keydown",function(){lastInteractionWasKeyboard=!0});$(document).on("mousedown",function(){lastInteractionWasKeyboard=!1});function initMenuButton(){$("#navigation-button").on("click",function(e){e.stopPropagation();if($("#navigation-wrapper").hasClass("navigation-wrapper--search-open")){$("#search-button").click()}
3$(this).toggleClass("is-active");$("#navigation-wrapper").toggleClass("navigation-wrapper--open");$(".navigation-wrapper__background").toggleClass("navigation-wrapper__background--open");$(".header__button-wrapper").toggleClass("header__button-wrapper--menu-active");if(!menuIsOpen&&$(window).width()<769){$("html,body").css({overflow:"hidden!important",position:"fixed",width:"100%",}).addClass("menu-open")}else{$("html,body").removeAttr("style").removeClass("menu-open")}
4menuIsOpen=!menuIsOpen;return!1})}
5function initMainMenu(){$(".navigation__list-item--level-0 > .navigation__link").click(function(){if($(this).parent().find(".navigation__level-1-wrapper").index()>0){if(!$(this).parent().hasClass("navigation__list-item--active")){closeInactiveMenu();$(this).parent().toggleClass("navigation__list-item--active");$(this).parent().find(".navigation__level-1-wrapper").addClass("navigation__level-1-wrapper--shown")}else{closeInactiveMenu()}
6if(!$(this).parent().isOnScreen(!0)){var searchIsOpen=0;
6if($(".navigation-wrapper").hasClass("navigation-wrapper--search-open")&&$(window).width()<769){searchIsOpen=100}
7var elementMargin=$(window).width()>768?80:60;var isMobile=$(window).width()<769?85:0;var elementHeight=$(this).height()+elementMargin;var elementOffset=elementHeight*$(this).parent().index();$(".navigation-wrapper").scrollTop(0);$(".navigation-wrapper").animate({scrollTop:elementOffset+searchIsOpen+isMobile,},"slow")}
8return!1}else{return!0}});$(".navigation__list-item, .search-layer, .navigation").click(function(e){e.stopPropagation()});$(document).on("click",function(e){if(!menuIsOpen)return;$("#navigation-button").click()})}
9function initFocusNavigation(){const navWrapper=$("#navigation-wrapper");const navItems=$(".navigation__list-item--level-0 > .navigation__link, #navigation-button");let focusInsideNav=!1;navItems.on("focus",function(){if(lastInteractionWasKeyboard){openNavOnFocus()}});navItems.on("blur",function(){setTimeout(function(){if(lastInteractionWasKeyboard&&!navWrapper.find(":focus").length){closeNavOnBlur()}},10)})}
10function openNavOnFocus(){if(!menuIsOpen){$("#navigation-button").click()}}
11function closeNavOnBlur(){if(menuIsOpen){$("#navigation-button").click()}}
12function realignSubmenu(){var navWrapperHeight=($(window).height()-$(".header").height()+350)/2;if(navWrapperHeight>200&&$(window).width()>1023){$(".navigation__level-1-inner-wrapper").each(function(){$(this).css({maxHeight:navWrapperHeight})})}else{$(".navigation__level-1-inner-wrapper").removeAttr("style")}}
13function closeInactiveMenu(){$(".navigation__list-item--active").removeClass("navigation__list-item--active");$(".navigation__level-1-wrapper--shown").removeClass("navigation__level-1-wrapper--shown")}})(jQuery);(function($){$(document).ready(function(){var defaultDatepickerDate=new Date();defaultDatepickerDate.setDate(defaultDatepickerDate.getDate()-6570);if($("#payment_birthday").length){$("#payment_birthday").datepicker({language:"de",autoclose:!0,todayHighlight:!0,format:"dd.mm.yyyy",startView:"decade",defaultViewDate:{year:"1995"},})}
14var stickyDonateLandingpage=document.getElementById("sticky-donate-landingpage");if(stickyDonateLandingpage){updateBodyPadding();$(window).on('resize',function(e){updateBodyPadding();checkStickyDonationBar()});window.addEventListener("scroll",function(e){checkStickyDonationBar()})}});function updateBodyPadding(){document.getElementById("toTop").style.bottom="70px";document.getElementById("toTop").style.top="auto";if(window.innerWidth>768){document.body.style.paddingBottom='75px'}else{document.body.style.paddingBottom='0'}}
15function checkStickyDonationBar(){let offset=document.getElementById("sticky-donate-landingpage-trigger").getBoundingClientRect().top;if($('#sticky-donate-landingpage').hasClass('donate--fixed')){offset=offset+$('#sticky-donate-landingpage').outerHeight()}
16if(offset>=window.innerHeight){$('#sticky-donate-landingpage').removeClass('donate--fixed')}else{$('#sticky-donate-landingpage').addClass('donate--fixed')}}})(jQuery);$(window).on("load",function(){setBrowserCssClass();openMobileSearchLayer();var resizeIfScrolledToTop=!1;function setHeaderHeight(){var header=$("header.header");var header_addtionalheadline=$(".header__additionalheadline");if(header_addtionalheadline){header.css("margin-bottom","0");if($(window).width()<=767){header.css("margin-bottom",$(".header__additionalheadline").outerHeight())}}}
17setHeaderHeight();function openMobileSearchLayer(){if($("input").is(":focus")){}else{if($(window).width()<768){$(".search-layer").insertAfter(".header .mobile-header")}else{$(".search-layer").appendTo(".header")}}
18$(window).on("resize",function(){if($("input").is(":focus")){}else{if($(window).width()<768){$(".search-layer").insertAfter(".header .mobile-header")}else{$(".search-layer").appendTo(".header")}}});$("#search-button, .search-button").click(function(){$("#search-button, .search-button").toggleClass("search-button--active");$(".navigation-wrapper").toggleClass("navigation-wrapper--search-open");$(".search-layer").toggleClass("search-layer--open");if($(this).hasClass("search-button--active")){$("#search-layer__input_a").trigger("focus")}
19return!1})}
20$(window).on("resize",function(){setHeaderHeight();if($("input").is(":focus")){}});var tiny=!1;$(window).scroll(function(event){var scroll=$(window).scrollTop();let timeOut=null;if(scroll>185&&tiny==!1){tiny=!0;$(".header.header--small").addClass("header--tiny");$("#navigation-wrapper").css({top:$(".header.header--small").height()+"px",})}
21if(scroll<135&&tiny==!0){tiny=!1;$(".header.header--small").removeClass("header--tiny");timeOut=setTimeout(function(){$("#navigation-wrapper").css({top:Math.round($(".header.header--small").height())+"px",});clearTimeout(timeOut)},250)}})});$(function(){$('a[href*="#"]:not([href="#"]):not(.tabpanel__tablist li a):not(.accordion__header)').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var target=$(this.hash);target=target.length?target:$("[name="+this.hash.slice(1)+"]");if(target.length){$("html, body").animate({scrollTop:target.offset().top-120,},500);return!1}}})});function setBrowserCssClass(){$("html").addClass($.browser.name+"-"+$.browser.versionNumber)}
22function anchorLinkClicked(e,hash){var _hash=hash?hash:null;var elementID=this.hash?this.hash:_hash;var contentElement=document.querySelector(elementID);var headerHeight=document.querySelector('header.header').offsetHeight;if(!contentElement)return;var offset=20;if($(elementID).parent().hasClass('accordion')){offset=60;if(!$(elementID).parent().hasClass('accordion--open')){$(elementID).parent().children('.accordion__header').click()}}
23var scrollOffset=(contentElement.offsetTop-(headerHeight+offset));setTimeout(function(){$(window).scrollTop(0);$('body,html').animate({scrollTop:scrollOffset},'slow')},10);if(!hash){e.preventDefault()}}
24function addScrollToFunction(){var anchorLinks=Array.from(document.querySelectorAll('a[href*="#"]:not(.to-top-button):not(.search-button):not(.accordion__header):not(.tabpanel__tablist li a)'));anchorLinks.forEach(function(link){link.addEventListener('click',anchorLinkClicked)})}
25document.addEventListener('DOMContentLoaded',addScrollToFunction);$(window).on('load',function(){var hash=window.location.hash?window.location.hash:null;if(hash){$(window).scrollTop(0);anchorLinkClicked(null,hash)}});!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}(function(a){"use strict";function b(c,d){var e=this;e.element=c,e.el=a(c),e.suggestions=[],e.badQueries=[],e.selectedIndex=-1,e.currentValue=e.element.value,e.timeoutId=null,e.cachedResponse={},e.onChangeTimeout=null,e.onChange=null,e.isLocal=!1,e.suggestionsContainer=null,e.noSuggestionsContainer=null,e.options=a.extend(!0,{},b.defaults,d),e.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},e.hint=null,e.hintValue="",e.selection=null,e.initialize(),e.setOptions(d)}function c(a,b,c){return a.value.toLowerCase().indexOf(c)!==-1}function d(b){return"string"==typeof b?a.parseJSON(b):b}function e(a,b){if(!b)return a.value;var c="("+g.escapeRegExChars(b)+")";return a.value.replace(new RegExp(c,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")}function f(a,b){return'<div class="autocomplete-group">'+b+"</div>"}var g=function(){return{escapeRegExChars:function(a){return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(a){var b=document.createElement("div");return b.className=a,b.style.position="absolute",b.style.display="none",b}}}(),h={ESC:27,TAB:9,RETURN:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},i=a.noop;b.utils=g,a.Autocomplete=b,b.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:e,formatGroup:f,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:c,paramName:"query",transformResult:d,showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},b.prototype={initialize:function(){var c,d=this,e="."+d.classes.suggestion,f=d.classes.selected,g=d.options;d.element.setAttribute("autocomplete","off"),d.noSuggestionsContainer=a('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),d.suggestionsContainer=b.utils.createNode(g.containerClass),c=a(d.suggestionsContainer),c.appendTo(g.appendTo||"body"),"auto"!==g.width&&c.css("width",g.width),c.on("mouseover.autocomplete",e,function(){d.activate(a(this).data("index"))}),c.on("mouseout.autocomplete",function(){d.selectedIndex=-1,c.children("."+f).removeClass(f)}),c.on("click.autocomplete",e,function(){d.select(a(this).data("index"))}),c.on("click.autocomplete",function(){clearTimeout(d.blurTimeoutId)}),d.fixPositionCapture=function(){d.visible&&d.fixPosition()},a(window).on("resize.autocomplete",d.fixPositionCapture),d.el.on("keydown.autocomplete",function(a){d.onKeyPress(a)}),d.el.on("keyup.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("blur.autocomplete",function(){d.onBlur()}),d.el.on("focus.autocomplete",function(){d.onFocus()}),d.el.on("change.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("input.autocomplete",function(a){d.onKeyUp(a)})},onFocus:function(){var a=this;a.disabled||(a.fixPosition(),a.el.val().length>=a.options.minChars&&a.onValueChange())},onBlur:function(){var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);b.blurTimeoutId=setTimeout(function(){b.hide(),b.selection&&b.currentValue!==e&&(c.onInvalidateSelection||a.noop).call(b.element)},200)},abortAjax:function(){var a=this;a.currentRequest&&(a.currentRequest.abort(),a.currentRequest=null)},setOptions:function(b){var c=this,d=a.extend({},c.options,b);c.isLocal=Array.isArray(d.lookup),c.isLocal&&(d.lookup=c.verifySuggestionsFormat(d.lookup)),d.orientation=c.validateOrientation(d.orientation,"bottom"),a(c.suggestionsContainer).css({"max-height":d.maxHeight+"px",width:d.width+"px","z-index":d.zIndex}),this.options=d},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var a=this;a.disabled=!0,clearTimeout(a.onChangeTimeout),a.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var b=this,c=a(b.suggestionsContainer),d=c.parent().get(0);if(d===document.body||b.options.forceFixPosition){var e=b.options.orientation,f=c.outerHeight(),g=b.el.outerHeight(),h=b.el.offset(),i={top:h.top,left
25:h.left};if("auto"===e){var j=a(window).height(),k=a(window).scrollTop(),l=-k+h.top-f,m=k+j-(h.top+g+f);e=Math.max(l,m)===l?"top":"bottom"}if("top"===e?i.top+=-f:i.top+=g,d!==document.body){var n,o=c.css("opacity");b.visible||c.css("opacity",0).show(),n=c.offsetParent().offset(),i.top-=n.top,i.top+=d.scrollTop,i.left-=n.left,b.visible||c.css("opacity",o).hide()}"auto"===b.options.width&&(i.width=b.el.outerWidth()+"px"),c.css(i)}},isCursorAtEnd:function(){var a,b=this,c=b.el.val().length,d=b.element.selectionStart;return"number"==typeof d?d===c:!document.selection||(a=document.selection.createRange(),a.moveStart("character",-c),c===a.text.length)},onKeyPress:function(a){var b=this;if(!b.disabled&&!b.visible&&a.which===h.DOWN&&b.currentValue)return void b.suggest();if(!b.disabled&&b.visible){switch(a.which){case h.ESC:b.el.val(b.currentValue),b.hide();break;case h.RIGHT:if(b.hint&&b.options.onHint&&b.isCursorAtEnd()){b.selectHint();break}return;case h.TAB:if(b.hint&&b.options.onHint)return void b.selectHint();if(b.selectedIndex===-1)return void b.hide();if(b.select(b.selectedIndex),b.options.tabDisabled===!1)return;break;case h.RETURN:if(b.selectedIndex===-1)return void b.hide();b.select(b.selectedIndex);break;case h.UP:b.moveUp();break;case h.DOWN:b.moveDown();break;default:return}a.stopImmediatePropagation(),a.preventDefault()}},onKeyUp:function(a){var b=this;if(!b.disabled){switch(a.which){case h.UP:case h.DOWN:return}clearTimeout(b.onChangeTimeout),b.currentValue!==b.el.val()&&(b.findBestHint(),b.options.deferRequestBy>0?b.onChangeTimeout=setTimeout(function(){b.onValueChange()},b.options.deferRequestBy):b.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)return void(this.ignoreValueChange=!1);var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);return b.selection&&b.currentValue!==e&&(b.selection=null,(c.onInvalidateSelection||a.noop).call(b.element)),clearTimeout(b.onChangeTimeout),b.currentValue=d,b.selectedIndex=-1,c.triggerSelectOnValidInput&&b.isExactMatch(e)?void b.select(0):void(e.length<c.minChars?b.hide():b.getSuggestions(e))},isExactMatch:function(a){var b=this.suggestions;return 1===b.length&&b[0].value.toLowerCase()===a.toLowerCase()},getQuery:function(b){var c,d=this.options.delimiter;return d?(c=b.split(d),a.trim(c[c.length-1])):b},getSuggestionsLocal:function(b){var c,d=this,e=d.options,f=b.toLowerCase(),g=e.lookupFilter,h=parseInt(e.lookupLimit,10);return c={suggestions:a.grep(e.lookup,function(a){return g(a,b,f)})},h&&c.suggestions.length>h&&(c.suggestions=c.suggestions.slice(0,h)),c},getSuggestions:function(b){var c,d,e,f,g=this,h=g.options,i=h.serviceUrl;if(h.params[h.paramName]=b,h.onSearchStart.call(g.element,h.params)!==!1){if(d=h.ignoreParams?null:h.params,a.isFunction(h.lookup))return void h.lookup(b,function(a){g.suggestions=a.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,a.suggestions)});g.isLocal?c=g.getSuggestionsLocal(b):(a.isFunction(i)&&(i=i.call(g.element,b)),e=i+"?"+a.param(d||{}),c=g.cachedResponse[e]),c&&Array.isArray(c.suggestions)?(g.suggestions=c.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,c.suggestions)):g.isBadQuery(b)?h.onSearchComplete.call(g.element,b,[]):(g.abortAjax(),f={url:i,data:d,type:h.type,dataType:h.dataType},a.extend(f,h.ajaxSettings),g.currentRequest=a.ajax(f).done(function(a){var c;g.currentRequest=null,c=h.transformResult(a,b),g.processResponse(c,b,e),h.onSearchComplete.call(g.element,b,c.suggestions)}).fail(function(a,c,d){h.onSearchError.call(g.element,b,a,c,d)}))}},isBadQuery:function(a){if(!this.options.preventBadQueries)return!1;for(var b=this.badQueries,c=b.length;c--;)if(0===a.indexOf(b[c]))return!0;return!1},hide:function(){var b=this,c=a(b.suggestionsContainer);a.isFunction(b.options.onHide)&&b.visible&&b.options.onHide.call(b.element,c),b.visible=!1,b.selectedIndex=-1,clearTimeout(b.onChangeTimeout),a(b.suggestionsContainer).hide(),b.signalHint(null)},suggest:function(){if(!this.suggestions.length)return void(this.options.showNoSuggestionNotice?this.noSuggestions():this.hide());var b,c=this,d=c.options,e=d.groupBy,f=d.formatResult,g=c.getQuery(c.currentValue),h=c.classes.suggestion,i=c.classes.selected,j=a(c.suggestionsContainer),k=a(c.noSuggestionsContainer),l=d.beforeRender,m="",n=function(a,c){var f=a.data[e];return b===f?"":(b=f,d.formatGroup(a,b))};return d.triggerSelectOnValidInput&&c.isExactMatch(g)?void c.select(0):(a.each(c.suggestions,function(a,b){e&&(m+=n(b,g,a)),m+='<div class="'+h+'" data-index="'+a+'">
25'+f(b,g,a)+"</div>"}),this.adjustContainerWidth(),k.detach(),j.html(m),a.isFunction(l)&&l.call(c.element,j,c.suggestions),c.fixPosition(),j.show(),d.autoSelectFirst&&(c.selectedIndex=0,j.scrollTop(0),j.children("."+h).first().addClass(i)),c.visible=!0,void c.findBestHint())},noSuggestions:function(){var b=this,c=b.options.beforeRender,d=a(b.suggestionsContainer),e=a(b.noSuggestionsContainer);this.adjustContainerWidth(),e.detach(),d.empty(),d.append(e),a.isFunction(c)&&c.call(b.element,d,b.suggestions),b.fixPosition(),d.show(),b.visible=!0},adjustContainerWidth:function(){var b,c=this,d=c.options,e=a(c.suggestionsContainer);"auto"===d.width?(b=c.el.outerWidth(),e.css("width",b>0?b:300)):"flex"===d.width&&e.css("width","")},findBestHint:function(){var b=this,c=b.el.val().toLowerCase(),d=null;c&&(a.each(b.suggestions,function(a,b){var e=0===b.value.toLowerCase().indexOf(c);return e&&(d=b),!e}),b.signalHint(d))},signalHint:function(b){var c="",d=this;b&&(c=d.currentValue+b.value.substr(d.currentValue.length)),d.hintValue!==c&&(d.hintValue=c,d.hint=b,(this.options.onHint||a.noop)(c))},verifySuggestionsFormat:function(b){return b.length&&"string"==typeof b[0]?a.map(b,function(a){return{value:a,data:null}}):b},validateOrientation:function(b,c){return b=a.trim(b||"").toLowerCase(),a.inArray(b,["auto","bottom","top"])===-1&&(b=c),b},processResponse:function(a,b,c){var d=this,e=d.options;a.suggestions=d.verifySuggestionsFormat(a.suggestions),e.noCache||(d.cachedResponse[c]=a,e.preventBadQueries&&!a.suggestions.length&&d.badQueries.push(b)),b===d.getQuery(d.currentValue)&&(d.suggestions=a.suggestions,d.suggest())},activate:function(b){var c,d=this,e=d.classes.selected,f=a(d.suggestionsContainer),g=f.find("."+d.classes.suggestion);return f.find("."+e).removeClass(e),d.selectedIndex=b,d.selectedIndex!==-1&&g.length>d.selectedIndex?(c=g.get(d.selectedIndex),a(c).addClass(e),c):null},selectHint:function(){var b=this,c=a.inArray(b.hint,b.suggestions);b.select(c)},select:function(a){var b=this;b.hide(),b.onSelect(a)},moveUp:function(){var b=this;if(b.selectedIndex!==-1)return 0===b.selectedIndex?(a(b.suggestionsContainer).children("."+b.classes.suggestion).first().removeClass(b.classes.selected),b.selectedIndex=-1,b.ignoreValueChange=!1,b.el.val(b.currentValue),void b.findBestHint()):void b.adjustScroll(b.selectedIndex-1)},moveDown:function(){var a=this;a.selectedIndex!==a.suggestions.length-1&&a.adjustScroll(a.selectedIndex+1)},adjustScroll:function(b){var c=this,d=c.activate(b);if(d){var e,f,g,h=a(d).outerHeight();e=d.offsetTop,f=a(c.suggestionsContainer).scrollTop(),g=f+c.options.maxHeight-h,e<f?a(c.suggestionsContainer).scrollTop(e):e>g&&a(c.suggestionsContainer).scrollTop(e-c.options.maxHeight+h),c.options.preserveInput||(c.ignoreValueChange=!0,c.el.val(c.getValue(c.suggestions[b].value))),c.signalHint(null)}},onSelect:function(b){var c=this,d=c.options.onSelect,e=c.suggestions[b];c.currentValue=c.getValue(e.value),c.currentValue===c.el.val()||c.options.preserveInput||c.el.val(c.currentValue),c.signalHint(null),c.suggestions=[],c.selection=e,a.isFunction(d)&&d.call(c.element,e)},getValue:function(a){var b,c,d=this,e=d.options.delimiter;return e?(b=d.currentValue,c=b.split(e),1===c.length?a:b.substr(0,b.length-c[c.length-1].length)+a):a},dispose:function(){var b=this;b.el.off(".autocomplete").removeData("autocomplete"),a(window).off("resize.autocomplete",b.fixPositionCapture),a(b.suggestionsContainer).remove()}},a.fn.devbridgeAutocomplete=function(c,d){var e="autocomplete";return arguments.length?this.each(function(){var f=a(this),g=f.data(e);"string"==typeof c?g&&"function"==typeof g[c]&&g[c](d):(g&&g.dispose&&g.dispose(),g=new b(this,c),f.data(e,g))}):this.first().data(e)},a.fn.autocomplete||(a.fn.autocomplete=a.fn.devbridgeAutocomplete)});(function($){$(document).ready(function(){$('.teaser__accordion').click(function(){$(this).parent().toggleClass('teaser__accordion--open')})})})(jQuery);$(window).on('load',function(){$(window).resize(function(){checkContentAndCollapseMenu()});checkContentAndCollapseMenu();$('#content-menu').accordion({"transitionSpeed":300,"singleOpen":!0})});function checkContentAndCollapseMenu(){var bodyWidth=$("body").width();if(bodyWidth>=768){$('#content-menu').addClass('accordion--open');$('#collapse-submenu').removeClass('accordion__content--mobile')}else{$('#content-menu').removeClass('accordion--open');$('#collapse-submenu').addClass('accordion__content--mobile')}}
26document.addEventListener("DOMContentLoaded",function(){function historyBack(evt){evt.stopPropagation();evt.preventDefault();window.history.back();return!1}
27document.querySelectorAll('a.breadcrumb__back-button').forEach((el)=>{el.addEventListener('click',(e)=>{return historyBack(e)});el.addEventListener('keyup',(e)=>{if(e.key==='Enter'){return historyBack(e)}})})});!function(){if("function"!=typeof window.CustomEvent){var e=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");
27return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i};e.prototype=window.Event.prototype,window.CustomEvent=e}function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},t.apply(this,arguments)}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var i=0;i<this.length;i++)e.call(t,this[i],i,this)});var i=function(){function e(){this.figcaptionId=0,this.userSettings=null}var t=e.prototype;return t.init=function(e,t,i){this.userSettings=i;var n,r=document.createElement("figure"),o=document.createElement("figcaption"),a=document.createElement("img"),s=e.querySelector("img"),d=document.createElement("div");r.style.opacity="0",s&&(a.alt=s.alt||""),a.setAttribute("src",""),a.setAttribute("data-src",e.href),e.hasAttribute("data-srcset")&&a.setAttribute("data-srcset",e.getAttribute("data-srcset")),r.appendChild(a),this.userSettings.captions&&("function"==typeof this.userSettings.captionText?n=this.userSettings.captionText(e):"self"===this.userSettings.captionsSelector&&e.getAttribute(this.userSettings.captionAttribute)?n=e.getAttribute(this.userSettings.captionAttribute):"img"===this.userSettings.captionsSelector&&s&&s.getAttribute(this.userSettings.captionAttribute)&&(n=s.getAttribute(this.userSettings.captionAttribute)),this.userSettings.captionHTML?o.innerHTML=n:o.textContent=n,n&&(o.id="tobii-figcaption-"+this.figcaptionId,r.appendChild(o),a.setAttribute("aria-labelledby",o.id),++this.figcaptionId)),t.appendChild(r),d.className="tobii__loader",d.setAttribute("role","progressbar"),d.setAttribute("aria-label",this.userSettings.loadingIndicatorLabel),t.appendChild(d),t.setAttribute("data-type","image"),t.classList.add("tobii-image")},t.onPreload=function(e){this.onLoad(e)},t.onLoad=function(e){var t=e.querySelector("img");if(t.hasAttribute("data-src")){var i=e.querySelector("figure"),n=e.querySelector(".tobii__loader");t.addEventListener("load",function(){e.removeChild(n),i.style.opacity="1"}),t.addEventListener("error",function(){e.removeChild(n),i.style.opacity="1"}),t.setAttribute("src",t.getAttribute("data-src")),t.removeAttribute("data-src"),t.hasAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"))}},t.onLeave=function(e){},t.onCleanup=function(e){},t.onReset=function(){this.figcaptionId=0},e}(),n=function(){function e(){this.userSettings=null}var t=e.prototype;return t.init=function(e,t,i){this.userSettings=i;var n=e.hasAttribute("data-target")?e.getAttribute("data-target"):e.getAttribute("href");t.setAttribute("data-HREF",n),e.getAttribute("data-allow")&&t.setAttribute("data-allow",e.getAttribute("data-allow")),e.hasAttribute("data-width")&&t.setAttribute("data-width",""+e.getAttribute("data-width")),e.hasAttribute("data-height")&&t.setAttribute("data-height",""+e.getAttribute("data-height")),t.setAttribute("data-type","iframe"),t.classList.add("tobii-iframe")},t.onPreload=function(e){},t.onLoad=function(e){var t=e.querySelector("iframe"),i=document.createElement("div");if(i.className="tobii__loader",i.setAttribute("role","progressbar"),i.setAttribute("aria-label",this.userSettings.loadingIndicatorLabel),e.appendChild(i),null==t){t=document.createElement("iframe");var n=e.getAttribute("data-href");t.setAttribute("frameborder","0"),t.setAttribute("src",n),t.setAttribute("allowfullscreen",""),n.indexOf("youtube.com")>-1?t.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"):n.indexOf("vimeo.com")>-1?t.setAttribute("allow","autoplay; picture-in-picture"):e.hasAttribute("data-allow")&&t.setAttribute("allow",e.getAttribute("data-allow")),e.getAttribute("data-width")&&(t.style.maxWidth=""+e.getAttribute("data-width")),e.getAttribute("data-height")&&(t.style.maxHeight=""+e.getAttribute("data-height")),t.style.opacity="0",e.appendChild(t),t.addEventListener("load",function(){t.style.opacity="1";var i=e.querySelector(".tobii__loader");i&&e.removeChild(i)}),t.addEventListener("error",function(){t.style.opacity="1";var i=e.querySelector(".tobii__loader");i&&e.removeChild(i)})}else t.setAttribute("src",e.getAttribute("data-href"))},t.onLeave=function(e){},t.onCleanup=function(e){var t=e.querySelector("iframe");t.setAttribute("src",""),t.style.opacity="0"},t.onReset=function(){},e}(),r=function(){function e(){this.userSettings=null}var t=e.prototype;return t.init=function(e,t,i){this.userSettings=i;var n=e.hasAttribute("data-target")?e.getAttribute("data-target"):e.getAttribute("href"),r=document.querySelector(n).cloneNode(!0);if(!r)throw new Error("Ups, I can't find the target "+n+".");t.appendChild(r),t.setAttribute("data-type","html"),t.classList.add("tobii-html")},t.onPreload=function(e){},t.onLoad=function(e,t){var i=e.querySelector("video");i&&(i.hasAttribute("data-time")&&i.readyState>0&&(i.currentTime=i.getAttribute("data-time")),this.userSettings.autoplayVideo&&i.play());var n=e.querySelector("audio");n&&this.userSettings.autoplayAudio&&n.play(),e.classList.add("tobii-group-"+t)},t.onLeave=function(e){var t=e.querySelector("video");t&&(t.paused||t.pause(),t.readyState>0&&t.setAttribute("data-time",t.currentTime));var i=e.querySelector("audio");i&&(i.paused||i.pause())},t.onCleanup=function(e){var t=e.querySelector("video");if(t&&t.readyState>0&&t.readyState<3&&t.duration!==t.currentTime){var i=t.cloneNode(!0);this._removeSources(t),t.load(),t.parentNode.removeChild(t),e.appendChild(i)}},t.onReset=function(){},t._removeSources=function(e){var t=e.querySelectorAll("src");t&&t.forEach(function(e){e.setAttribute("src","")})},e}(),o=function(){function e(){this.playerId=0,this.PLAYER=[],this.userSettings=null}var t=e.prototype;return t.init=function(e,t,i){this.userSettings=i;var n=document.createElement("div");t.appendChild(n),this.PLAYER[this.playerId]=new window.YT.Player(n,{host:"https://www.youtube-nocookie.com",height:e.getAttribute("data-height")||"360",width:e.getAttribute("data-width")||"640",videoId:e.getAttribute("data-id"),playerVars:{controls:e.getAttribute("data-controls")||1,rel:0,playsinline:1}}),t.setAttribute("data-player",this.playerId),t.setAttribute("data-type","youtube"),t.classList.add("tobii-youtube"),this.playerId++},t.onPreload=function(e){},t.onLoad=function(e){this.userSettings.autoplayVideo&&this.PLAYER[e.getAttribute("data-player")].playVideo()},t.onLeave=function(e){1===this.PLAYER[e.getAttribute("data-player")].getPlayerState()&&this.PLAYER[e.getAttribute("data-player")].pauseVideo()},t.onCleanup=function(e){1===this.PLAYER[e.getAttribute("data-player")].getPlayerState()&&this.PLAYER[e.getAttribute("data-player")].pauseVideo()},t.onReset=function(){},e}();
27function a(e){var s={image:new i,html:new r,iframe:new n,youtube:new o},d=['a[href]:not([tabindex^="-"]):not([inert])','area[href]:not([tabindex^="-"]):not([inert])',"input:not([disabled]):not([inert])","select:not([disabled]):not([inert])","textarea:not([disabled]):not([inert])","button:not([disabled]):not([inert])",'iframe:not([tabindex^="-"]):not([inert])','audio:not([tabindex^="-"]):not([inert])','video:not([tabindex^="-"]):not([inert])','[contenteditable]:not([tabindex^="-"]):not([inert])','[tabindex]:not([tabindex^="-"]):not([inert])'],l={},u=[],c={gallery:[],slider:null,sliderElements:[],elementsLength:0,currentIndex:0,x:0},p=null,b=null,h=null,f=null,m=null,g={},v=!1,y=!1,w=!1,A=null,E=null,L=null,x=!1,_=!1,S={},I=null,C=null,T=function(e){if(null===document.querySelector('[data-type="youtube"]')||_)q(e);else{if(null===document.getElementById("iframe_api")){var t=document.createElement("script"),i=document.getElementsByTagName("script")[0];t.id="iframe_api",t.src="https://www.youtube.com/iframe_api",i.parentNode.insertBefore(t,i)}-1===u.indexOf(e)&&u.push(e),window.onYouTubePlayerAPIReady=function(){u.forEach(function(e){q(e)}),_=!0}}},P=function(e){return e.hasAttribute("data-group")?e.getAttribute("data-group"):"default"},q=function(e){if(I=P(e),Object.prototype.hasOwnProperty.call(S,I)||(S[I]=JSON.parse(JSON.stringify(c)),Y()),-1!==S[I].gallery.indexOf(e))throw new Error("Ups, element already added.");if(S[I].gallery.push(e),S[I].elementsLength++,l.zoom&&e.querySelector("img")&&"false"!==e.getAttribute("data-zoom")||"true"===e.getAttribute("data-zoom")){var t=document.createElement("div");t.className="tobii-zoom__icon",t.innerHTML=l.zoomText,e.classList.add("tobii-zoom"),e.appendChild(t)}e.addEventListener("click",J),O(e),ce()&&I===C&&(de(),le())},N=function(e){var t=P(e);if(-1===S[t].gallery.indexOf(e))throw new Error("Ups, I can't find a slide for the element "+e+".");var i=S[t].gallery.indexOf(e),n=S[t].sliderElements[i];if(ce()&&t===C&&i===S[t].currentIndex){if(1===S[t].elementsLength)throw X(),new Error("Ups, I've closed. There are no slides more to show.");0===S[t].currentIndex?H():R(),de(),le()}if(S[t].gallery.splice(S[t].gallery.indexOf(e)),S[t].sliderElements.splice(S[t].gallery.indexOf(e)),S[t].elementsLength--,--S[t].x,l.zoom&&e.querySelector(".tobii-zoom__icon")){var r=e.querySelector(".tobii-zoom__icon");r.parentNode.classList.remove("tobii-zoom"),r.parentNode.removeChild(r)}e.removeEventListener("click",J),n.parentNode.removeChild(n)},Y=function(){S[I].slider=document.createElement("div"),S[I].slider.className="tobii__slider",S[I].slider.setAttribute("aria-hidden","true"),p.appendChild(S[I].slider)},O=function(e){var t=k(e),i=document.createElement("div"),n=document.createElement("div");i.className="tobii__slide",i.style.position="absolute",i.style.left=100*S[I].x+"%",i.setAttribute("aria-hidden","true"),t.init(e,n,l),i.appendChild(n),S[I].slider.appendChild(i),S[I].sliderElements.push(i),++S[I].x},k=function(e){var t=e.getAttribute("data-type");return void 0!==s[t]?s[t]:(e.hasAttribute("data-type")&&console.log("Unknown lightbox element type: "+t),s.image)},U=function(e){if(C=null!==C?C:I,ce())throw new Error("Ups, I'm aleady open.");if(!ce()&&(e||(e=0),-1===e||e>=S[C].elementsLength))throw new Error("Ups, I can't find slide "+e+".");document.documentElement.classList.add("tobii-is-open"),document.body.classList.add("tobii-is-open"),document.body.classList.add("tobii-is-open-"+C),de(),l.close||(f.disabled=!1,f.setAttribute("aria-hidden","true")),A=document.activeElement;var t=window.location.href;window.history.pushState({tobii:"close"},"Image",t),S[C].currentIndex=e,W(),ae(),M(S[C].currentIndex),S[C].slider.setAttribute("aria-hidden","false"),p.setAttribute("aria-hidden","false"),le(),z(S[C].currentIndex+1),z(S[C].currentIndex-1),S[C].slider.classList.add("tobii__slider--animate");var i=new window.CustomEvent("open",{detail:{group:C}});p.dispatchEvent(i)},X=function(){if(!ce())throw new Error("Ups, I'm already closed.");document.documentElement.classList.remove("tobii-is-open"),document.body.classList.remove("tobii-is-open"),document.body.classList.remove("tobii-is-open-"+C),se(),null!==window.history.state&&"close"===window.history.state.tobii&&window.history.back(),A.focus(),B(S[C].currentIndex),V(S[C].currentIndex),p.setAttribute("aria-hidden","true"),S[C].slider.setAttribute("aria-hidden","true"),S[C].currentIndex=0,S[C].slider.classList.remove("tobii__slider--animate");var e=new window.CustomEvent("close",{detail:{group:C}
27});p.dispatchEvent(e)},z=function(e){if(void 0!==S[C].sliderElements[e]){var t=S[C].sliderElements[e].querySelector("[data-type]");k(t).onPreload(t)}},M=function(e){if(void 0!==S[C].sliderElements[e]){var t=S[C].sliderElements[e].querySelector("[data-type]"),i=k(t);S[C].sliderElements[e].classList.add("tobii__slide--is-active"),S[C].sliderElements[e].setAttribute("aria-hidden","false"),i.onLoad(t,C)}},R=function(){if(!ce())throw new Error("Ups, I'm closed.");S[C].currentIndex>0&&(B(S[C].currentIndex),M(--S[C].currentIndex),le("left"),V(S[C].currentIndex+1),z(S[C].currentIndex-1));var e=new window.CustomEvent("previous",{detail:{group:C}});p.dispatchEvent(e)},H=function(){if(!ce())throw new Error("Ups, I'm closed.");S[C].currentIndex<S[C].elementsLength-1&&(B(S[C].currentIndex),M(++S[C].currentIndex),le("right"),V(S[C].currentIndex-1),z(S[C].currentIndex+1));var e=new window.CustomEvent("next",{detail:{group:C}});p.dispatchEvent(e)},D=function(e){if(ce())throw new Error("Ups, I'm open.");if(!e)throw new Error("Ups, no group specified.");if(e&&!Object.prototype.hasOwnProperty.call(S,e))throw new Error("Ups, I don't have a group called \""+e+'".');C=e},B=function(e){if(void 0!==S[C].sliderElements[e]){var t=S[C].sliderElements[e].querySelector("[data-type]"),i=k(t);S[C].sliderElements[e].classList.remove("tobii__slide--is-active"),S[C].sliderElements[e].setAttribute("aria-hidden","true"),i.onLeave(t)}},V=function(e){if(void 0!==S[C].sliderElements[e]){var t=S[C].sliderElements[e].querySelector("[data-type]");k(t).onCleanup(t)}},j=function(){S[C=null!==C?C:I].slider.style.transform="translate3d("+(E=-S[C].currentIndex*p.offsetWidth)+"px, 0, 0)",L=E},W=function(){g={startX:0,endX:0,startY:0,endY:0}},F=function(){var e=g.endX-g.startX,t=g.endY-g.startY,i=Math.abs(e),n=Math.abs(t);e>0&&i>l.threshold&&S[C].currentIndex>0?R():e<0&&i>l.threshold&&S[C].currentIndex!==S[C].elementsLength-1?H():t<0&&n>l.threshold&&l.swipeClose?X():j()},G=function(){x||(x=!0,window.requestAnimationFrame(function(){j(),x=!1}))},J=function(e){e.preventDefault(),C=P(e.currentTarget),U(S[C].gallery.indexOf(e.currentTarget))},K=function(e){e.target===b?R():e.target===h?H():(e.target===f||!1===v&&!1===y&&e.target.classList.contains("tobii__slide")&&l.docClose)&&X(),e.stopPropagation()},Q=function(e){var t=Array.prototype.slice.call(p.querySelectorAll(".tobii__btn:not([disabled]), .tobii__slide--is-active "+d.join(", .tobii__slide--is-active "))).filter(function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}),i=t.indexOf(document.activeElement);9===e.keyCode||"Tab"===e.code?e.shiftKey&&0===i?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||i!==t.length-1||(t[0].focus(),e.preventDefault()):27===e.keyCode||"Escape"===e.code?(e.preventDefault(),X()):37===e.keyCode||"ArrowLeft"===e.code?(e.preventDefault(),R()):39!==e.keyCode&&"ArrowRight"!==e.code||(e.preventDefault(),H())},Z=function(e){be(e.target)||(e.stopPropagation(),v=!1,y=!1,w=!0,g.startX=e.touches[0].pageX,g.startY=e.touches[0].pageY,pe()&&S[C].slider.classList.add("tobii__slider--is-dragging"))},$=function(e){e.stopPropagation(),w&&(g.endX=e.touches[0].pageX,g.endY=e.touches[0].pageY,oe())},ee=function(e){e.stopPropagation(),w=!1,S[C].slider.classList.remove("tobii__slider--is-dragging"),g.endX&&F(),W()},te=function(e){be(e.target)||(e.preventDefault(),e.stopPropagation(),v=!1,y=!1,w=!0,g.startX=e.pageX,g.startY=e.pageY,pe()&&S[C].slider.classList.add("tobii__slider--is-dragging"))},ie=function(e){e.preventDefault(),w&&(g.endX=e.pageX,g.endY=e.pageY,oe())},ne=function(e){e.stopPropagation(),w=!1,S[C].slider.classList.remove("tobii__slider--is-dragging"),g.endX&&F(),W()},re=function(){w=!1},oe=function(){Math.abs(g.startX-g.endX)>0&&!y&&S[C].elementsLength>1?(S[C].slider.style.transform="translate3d("+(L-Math.round(g.startX-g.endX))+"px, 0, 0)",v=!0,y=!1):Math.abs(g.startY-g.endY)>0&&!v&&l.swipeClose&&(S[C].slider.style.transform="translate3d("+L+"px, -"+Math.round(g.startY-g.endY)+"px, 0)",v=!1,y=!0)},ae=function(){l.keyboard&&window.addEventListener("keydown",Q),window.addEventListener("resize",G),window.addEventListener("popstate",X),p.addEventListener("click",K),l.draggable&&pe()&&(p.addEventListener("touchstart",Z),p.addEventListener("touchmove",$),p.addEventListener("touchend",ee),p.addEventListener("mousedown",te),p.addEventListener("mouseup",ne),p.addEventListener("mousemove",ie),p.addEventListener("contextmenu",re))},se=function(){l.keyboard&&window.removeEventListener("keydown",Q),window.removeEventListener("resize",G),window.removeEventListener("popstate",X),p.removeEventListener("click",K),l.draggable&&pe()&&(p.removeEventListener("touchstart",Z),p.removeEventListener("touchmove",$),p.removeEventListener("touchend",ee),p.removeEventListener("mousedown",te),p.removeEventListener("mouseup",ne),p.removeEventListener("mousemove",ie),p.removeEventListener("contextmenu",re))},de=function(){(l.draggable&&l.swipeClose&&pe()&&!S[C].slider.classList.contains("tobii__slider--is-draggable")||l.draggable&&S[C].elementsLength>1&&!S[C].slider.classList.contains("tobii__slider--is-draggable"))&&S[C].slider.classList.add("tobii__slider--is-draggable"),!l.nav||1===S[C].elementsLength||"auto"===l.nav&&pe()?(b.setAttribute("aria-hidden","true"),b.disabled=!0,h.setAttribute("aria-hidden","true"),h.disabled=!0):(b.setAttribute("aria-hidden","false"),b.disabled=!1,h.setAttribute("aria-hidden","false"),h.disabled=!1),m.setAttribute("aria-hidden",l.counter&&1!==S[C].elementsLength?"false":"true")},le=function(e){void 0===e&&(e=null),j(),m.textContent=S[C].currentIndex+1+"/"+S[C].elementsLength,function(e){(!0===l.nav||"auto"===l.nav)&&!pe()&&S[C].elementsLength>1?(b.setAttribute("aria-hidden","true"),b.disabled=!0,h.setAttribute("aria-hidden","true"),h.disabled=!0,1===S[C].elementsLength?l.close&&f.focu
27s():0===S[C].currentIndex?(h.setAttribute("aria-hidden","false"),h.disabled=!1,h.focus()):S[C].currentIndex===S[C].elementsLength-1?(b.setAttribute("aria-hidden","false"),b.disabled=!1,b.focus()):(b.setAttribute("aria-hidden","false"),b.disabled=!1,h.setAttribute("aria-hidden","false"),h.disabled=!1,"left"===e?b.focus():h.focus())):l.close&&f.focus()}(e)},ue=function(){ce()&&X();var e=Object.entries(S);for(var t in e.forEach(function(e){e[1].gallery.forEach(function(e){N(e)})}),S={},I=C=null,s)s[t].onReset()},ce=function(){return"false"===p.getAttribute("aria-hidden")},pe=function(){return"ontouchstart"in window},be=function(e){return-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(e.nodeName)||e===b||e===h||e===f};return function(e){if(document.querySelector("div.tobii"))console.log("Multiple lightbox instances not supported.");else{l=function(e){return t({},{selector:".lightbox",captions:!0,captionsSelector:"img",captionAttribute:"alt",captionText:null,captionHTML:!1,nav:"auto",navText:['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="15 6 9 12 15 18" /></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="9 6 15 12 9 18" /></svg>'],navLabel:["Previous image","Next image"],close:!0,closeText:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><line x1="18" y1="6" x2="6" y2="18" /><line x1="6" y1="6" x2="18" y2="18" /></svg>',closeLabel:"Close lightbox",loadingIndicatorLabel:"Image loading",counter:!0,download:!1,downloadText:"",downloadLabel:"Download image",keyboard:!0,zoom:!0,zoomText:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path stroke="none" d="M0 0h24v24H0z"/><polyline points="16 4 20 4 20 8" /><line x1="14" y1="10" x2="20" y2="4" /><polyline points="8 20 4 20 4 16" /><line x1="4" y1="20" x2="10" y2="14" /><polyline points="16 20 20 20 20 16" /><line x1="14" y1="14" x2="20" y2="20" /><polyline points="8 4 4 4 4 8" /><line x1="4" y1="4" x2="10" y2="10" /></svg>',docClose:!0,swipeClose:!0,hideScrollbar:!0,draggable:!0,threshold:100,rtl:!1,loop:!1,autoplayVideo:!1,modal:!1,theme:"tobii--theme-default"},e)}(e),p||((p=document.createElement("div")).setAttribute("role","dialog"),p.setAttribute("aria-hidden","true"),p.classList.add("tobii"),p.classList.add(l.theme),(b=document.createElement("button")).className="tobii__btn tobii__btn--previous",b.setAttribute("type","button"),b.setAttribute("aria-label",l.navLabel[0]),b.innerHTML=l.navText[0],p.appendChild(b),(h=document.createElement("button")).className="tobii__btn tobii__btn--next",h.setAttribute("type","button"),h.setAttribute("aria-label",l.navLabel[1]),h.innerHTML=l.navText[1],p.appendChild(h),(f=document.createElement("button")).className="tobii__btn tobii__btn--close",f.setAttribute("type","button"),f.setAttribute("aria-label",l.closeLabel),f.innerHTML=l.closeText,p.appendChild(f),(m=document.createElement("div")).className="tobii__counter",p.appendChild(m),document.body.appendChild(p));var i=document.querySelectorAll(l.selector);if(!i)throw new Error("Ups, I can't find the selector "+l.selector+" on this website.");var n=[];i.forEach(function(e){var t=e.hasAttribute("data-group")?e.getAttribute("data-group"):"default",i=e.href;e.hasAttribute("data-target")&&(i=e.getAttribute("data-target")),void 0!==n[i+="__"+t]?e.addEventListener("click",function(e){D(t),U(),e.preventDefault()}):(n[i]=1,T(e))})}}(e),a.open=U,a.previous=R,a.next=H,a.close=X,a.add=T,a.remove=N,a.reset=ue,a.destroy=function(){ue(),p.parentNode.removeChild(p)},a.isOpen=ce,a.slidesIndex=function(){return S[C].currentIndex},a.select=function(e){var t=S[C].currentIndex;if(!ce())throw new Error("Ups, I'm closed.");if(ce()){if(!e&&0!==e)throw new Error("Ups, no slide specified.");if(e===S[C].currentIndex)throw new Error("Ups, slide "+e+" is already selected.");
27if(-1===e||e>=S[C].elementsLength)throw new Error("Ups, I can't find slide "+e+".")}S[C].currentIndex=e,B(t),M(e),e<t&&(le("left"),V(t),z(e-1)),e>t&&(le("right"),V(t),z(e+1))},a.slidesCount=function(){return S[C].elementsLength},a.selectGroup=D,a.currentGroup=function(){return null!==C?C:I},a.on=function(e,t){p.addEventListener(e,t)},a.off=function(e,t){p.removeEventListener(e,t)},a}typeof module<"u"?module.exports=a:self.Tobii=a}();$(window).on("load",function(){if($(".image-lightbox").length){const tobii=new Tobii({selector:".image-lightbox",zoom:!1,captionAttribute:"data-caption",captions:!0,counter:!1,captionHTML:!0,draggable:!0,nav:!0,zoomText:'<svg xmlns="http://www.w3.org/2000/svg" width="266.667" height="266.667" viewBox="0 0 200 200"><g fill="#FFF"><path d="M54 45v5h4.5c3.3 0 4.5-.4 4.5-1.5 0-1.3 6.5-1.5 52.5-1.5H168v39c0 38.3 0 39-2 39-1.6 0-2 .7-2 3.5v3.5h12V40H54v5z"/><path d="M38 59v5h4.5c3.3 0 4.5-.4 4.5-1.5 0-1.3 6.5-1.5 52.5-1.5H152v39c0 38.3 0 39-2 39-1.6 0-2 .7-2 3.5v3.5h12V54H38v5z"/><path d="M22 114.5V161h122V68H22v46.5zm113 0V154l-52.2-.2-52.3-.3-.3-38c-.1-20.9 0-38.6.3-39.2.3-1 11.7-1.3 52.5-1.3h52v39.5z"/><path d="M43.5 90.5c-5.1 5-1.5 13.5 5.8 13.5 4.4 0 7.7-3.4 7.7-8.1 0-7.2-8.4-10.6-13.5-5.4zM90.2 119c-6.2 7.2-11.7 13-12.1 13-.5 0-4.3-3.6-8.5-8s-7.8-8-8.1-8c-.2 0-6.1 6.6-13.1 14.7l-12.7 14.8 23.1.3c12.8.1 33.6.1 46.2 0l23-.3-12.6-19c-7-10.5-12.9-19.3-13.3-19.7-.3-.4-5.7 5.1-11.9 12.2z"/></g></svg>',})}})

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.