1import{d as e}from"./form-validation.js";import{G as t}from"./glider-356a5abc.js";import{g as n}from"./_commonjsHelpers-52dcbb45.js";import{f as i}from"./index-cd2d2930.js";import{F as o}from"./de-d8a203eb.js";var a,l,r=new CustomEvent("navigationChange");function s(){window.navigationViewport=window.innerWidth<840?"mobile":"desktop"}function c(e,t){if(e!=t)return document.body.dispatchEvent(r),window.dispatchEvent(r),a=e}function d(e,t,n){0===e.getElementsByTagName("ul").length&&t>n?e.classList.add("navigation--50-50"):e.classList.remove("navigation--50-50")}function u(e,t,n){var i=n.querySelector('[data-content="'+e+'"]');i.classList.contains(t)?(i.classList.remove(t),i.setAttribute("aria-hidden","true")):(i.classList.add(t),i.setAttribute("aria-hidden","false"))}function p(e,t,n){var i=n.querySelector('[data-for="'+e+'"]');i.classList.contains(t)?(i.classList.remove(t),i.setAttribute("aria-expanded","false")):(i.classList.add(t),i.setAttribute("aria-expanded","true"))}function m(e){if("function"==typeof Event)return new Event(e);var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}e((function(){window.addEventListener("orientationchange",(function(){c(window.navigationViewport,a)})),window.addEventListener("resize",(function(){c(window.navigationViewport,a),s()})),s(),a=window.navigationViewport})),e((function(){var e,t=document.getElementsByClassName("navigation--second-level"),n=function(t){var n=t[0],i=n.target,o=n.boundingClientRect.height,a=n.boundingClientRect.right,l=n.boundingClientRect.bottom,r=n.rootBounds.width,s=n.rootBounds.height;a>r?(i.style.left="",i.style.right=0):(i.style.right="",i.style.left=0),d(i,l,s);var c=i.getElementsByClassName("navigation--third-level");Array.prototype.forEach.call(c,(function(t,n){var l=t.parentElement,c=l.getBoundingClientRect().height,u=t.getBoundingClientRect(),p=c*t.getElementsByTagName("li").length,m=u.top;l.addEventListener("mouseenter",(function(){if("desktop"===e){var n=i.getBoundingClientRect();o=n.height,u=t.getBoundingClientRect(),(p=u.height)<o&&(t.style.height=o+"px")}})),d(t,m+p,s),(u=t.getBoundingClientRect()).width+a>r?(t.style.left="",t.style.right="100%"):(t.style.left="100%",t.style.right="")}))};window.addEventListener("orientationchange",(function(){e=window.navigationViewport,null!==t&&"desktop"===e?Array.prototype.forEach.call(t,(function(e){new window.IntersectionObserver(n).observe(e)})):Array.prototype.forEach.call(t,(function(e){e.style.left=0,e.style.right="";var t=e.getElementsByClassName("navigation--third-level");Array.prototype.forEach.call(t,(function(e,t){e.style.left="",e.style.right="",e.classList.remove("navigation--50-50"),e.style.height=""}))}))})),window.addEventListener("resize",(function(){e=window.navigationViewport,null!==t&&"desktop"===e?Array.prototype.forEach.call(t,(function(e){new window.IntersectionObserver(n).observe(e)})):Array.prototype.forEach.call(t,(function(e){e.style.left=0,e.style.right="";var t=e.getElementsByClassName("navigation--third-level");Array.prototype.forEach.call(t,(function(e,t){e.style.left="",e.style.right="",e.classList.remove("navigation--50-50"),e.style.height=""}))}))})),window.addEventListener("navigationChange",(function(){e=window.navigationViewport,null!==t&&"desktop"===e?Array.prototype.forEach.call(t,(function(e){new window.IntersectionObserver(n).observe(e)})):Array.prototype.forEach.call(t,(function(e){e.style.left=0,e.style.right="";var t=e.getElementsByClassName("navigation--third-level");Array.prototype.forEach.call(t,(function(e,t){e.style.left="",e.style.right="",e.classList.remove("navigation--50-50"),e.style.height=""}))}))})),e=window.navigationViewport,null!==t&&"desktop"===e?Array.prototype.forEach.call(t,(function(e){new window.IntersectionObserver(n).observe(e)})):Array.prototype.forEach.call(t,(function(e){e.style.left=0,e.style.right="";var t=e.getElementsByClassName("navigation--third-level");Array.prototype.forEach.call(t,(function(e,t){e.style.left="",e.style.right="",e.classList.remove("navigation--50-50"),e.style.height=""}))}))})),e((function(){var e=document.querySelector(".top-bar");if(e){var t=e.offsetHeight,n=document.querySelector(".navigation--main"),i=document.querySelector(".header"),o=document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop,a=new window.IntersectionObserver((function(t){t[0].isIntersecting?(e.classList.remove("top-bar--fixed"),n&&n.classList.remove("navigation--fixed")):(e.classList.add("top-bar--fixed"),n&&n.classList.add("navigation--fixed"))}));i?(!function(o){i.offsetHeight>t&&o>i.offsetHeight-t?(e.classList.add("top-bar--fixed"),n&&n.classList.add("navigation--fixed")):(e.classList.remove("top-bar--fixed"),n&&n.classList.remove("navigation--fixed"))}(o),a.observe(i)):(e.classList.add("top-bar--fixed"),n&&n.classList.add("navigation--fixed"))}})),e((function(){var e=document.querySelector(".wrap--navigation .navigation.navigation--language"),t=document.querySelector(".navigation-contact");l=window.navigationViewport,e&&(e.style.right=null!==e&&null!==t&&"desktop"===l?t.offsetWidth+16+"px":"",window.addEventListener("navigationChange",(function(){l=window.navigationViewport,e.style.right=null!==e&&null!==t&&"desktop"===l?t.offsetWidth+16+"px":""})))})),e((function(){var e=document.querySelectorAll("div.accordion");e.length>0&&(console.warn("Deprecated accordion: Use `toujou-accordion` web component instead"),Array.prototype.forEach.call(e,(function(e){var t,n,i,o;n="accordion__panel--active",i="accordion__content--active",o=(t=e).getElementsByClassName("accordion__panel"),Array.prototype.forEach.call(o,(function(e,o){var a=e.dataset.for;"true"===e.dataset.open&&(p(a,n,t),u(a,i,t),t.dispatchEvent(m("accordion-change"))),e.addEventListener("click",(function(e){e.preventDefault(),p(a,n,t),u(a,i,t),t.dispatchEvent(m("accordion-change"));var o=window.document.createEvent("UIEvent");o.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(o)}))}))}))),document.querySelector(".accordion .slider")&&window.dispatchEvent(new Event("resize"))}));var h,y=document.querySelectorAll(".button");Array.prototype.forEach.call(y,(function(e,t){(null!==e.getAttribute("disabled")||e.classList.contains("button--disabled"))&&e.addEventListener("click",(function(e){e.stopImmediatePropagation(),e.preventDefault()}))})),(h=document.getElementById("contact-state"))&&window.addEventListener("navigationChange",(function(){h.checked=!1}
1));var v={slidesToShow:1,slidesToScroll:1,draggable:!0,scrollLock:!0,resizeLock:!0,rewind:!0},g={slidesToShow:2,slidesToScroll:1,draggable:!0,scrollLock:!0,resizeLock:!0,rewind:!0,responsive:[{breakpoint:640,settings:{slidesToShow:3}},{breakpoint:840,settings:{slidesToShow:4}},{breakpoint:1028,settings:{slidesToShow:5}}]};function f(e,n){var i=new t(e,n?g:v);if("1"===e.dataset.autoslide){var o=1e3*e.dataset.slideinterval,a=-1,l=!1;function r(){clearTimeout(a),a=setTimeout((()=>{l||i.scrollItem((i.slide+i.opt.slidesToShow)%i.slides.length)}),o)}var s=0;e.addEventListener("glider-animated",(()=>{s=i.animate_id,l||r()})),e.addEventListener("mouseover",(()=>{l=!0,clearTimeout(a)})),e.addEventListener("mouseout",(()=>{l=!1,i.animate_id===s&&r()})),r()}i.setOption({draggable:!0,arrows:{prev:e.parentElement.querySelector(".slider__control--prev"),next:e.parentElement.querySelector(".slider__control--next")},dots:e.parentElement.querySelector(".slider__pagination")},n),i.refresh(!0)}e((()=>{var e=document.querySelectorAll("div.slider .slider__frame");Array.prototype.forEach.call(e,(e=>{console.warn("Legacy Slider: Use toujou-slider instead",e);var t=e.parentElement.classList.contains("slider--logo");f(e,t)}))})),document.addEventListener("glider-loaded",(e=>{e.target instanceof Element&&function(e){var t=(document.documentElement.lang||"en").startsWith("de")?"Seite":"Page",n=e.closest(".slider");if(n){var i=n.querySelectorAll(".glider-dot");i.length&&(i.forEach(((e,n)=>{e.setAttribute("aria-label","".concat(t," ").concat(n+1))})),e.dispatchEvent(new CustomEvent("toujou-slider-dots-localized",{bubbles:!0,composed:!0,detail:{sliderEl:e}})))}}(e.target)}));var w,b={exports:{}};w=b,function(){var e={hideButtons:!0,animation:"slide",theme:"light",preload:2,swipeDownToClose:!1,swipeUpToClose:!1,nextPrevOnWheel:!0,isZoomable:!0};function t(t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function n(t,n){var i,o,a,l,r,s,c,d,u,p,m=document.getElementsByTagName("body")[0],h=document.getElementsByClassName(t),y=h.length,v=[],g=document.createElement("div"),f=document.createElement("div"),w=document.createElement("div"),b=document.createElement("div"),E=document.createElement("button"),L=document.createElement("div"),x=document.createElement("button"),C=document.createElement("div"),T=document.createElement("button"),A=document.createElement("p"),S=document.createElement("span"),k=document.createElement("span"),B=!1,_=window.innerWidth,q=window.innerWidth<window.innerHeight,N=!1,H=100,I=300,M={isSingleTapped:!1,whenSingleTapped:null,isDoubleTapped:!1},D={},O=!0,V=!0,W=!1,Y=[],P=!1,j=!1;for(p in e)e.hasOwnProperty(p)&&(D[p]=e[p]);for(p in n)n.hasOwnProperty(p)&&(D[p]=n[p]);function z(e){var t=document.createElement("div");t.classList.add("hb-loader"),"dark"===D.theme&&(t.style.borderTop="5px solid #999");var n=document.createElement("img");if(v[e]=document.createElement("div"),v[e].classList.add("hb-image-div"),v[e].style.opacity=0,v[e].style.display="none",w.appendChild(v[e]),v[e].appendChild(t),v[e].appendChild(n),h[e].getAttribute("title")||h[e].getAttribute("data-title")){var i=document.createElement("p"),o=h[e].getAttribute("title")?h[e].getAttribute("title"):h[e].getAttribute("data-title");i.classList.add("hb-caption"),i.innerHTML='<span class="hb-caption-text">'+o+"</span>",v[e].appendChild(i),"light"===D.theme?i.classList.add("hb-caption-white"):"dark"===D.theme&&i.classList.add("hb-caption-black")}n.onload=function(){t.style.display="none"},n.onerror=function(){var n=document.createElement("p");n.innerHTML="Image not found.","light"===D.theme?n.classList.add("hb-err-text-black"):"dark"===D.theme&&n.classList.add("hb-err-text-white"),t.style.display="none",v[e].appendChild(n)},n.src=h[e].href}function X(e,t){e+t>=y&&(t=y-e-1);for(var n=e;n<=e+t;)v[n]||z(n),n+=1}function F(e,t){e-t<0&&(t=e);for(var n=e;n>=e-t;)v[n]||z(n),n-=1}function R(e){r.innerHTML=e+1+" "}function U(e){y>1&&"hb-single"!==t&&!W&&(W=!0,"slide"===D.animation?(v[i].style.animation="slideNextOut 0.3s ease-out forwards",window.setTimeout((function(){v[i].style.opacity=0,v[i].style.display="none",Q(v[i].getElementsByTagName("img")[0]),i>y-2&&(i=-1),R(i+=1),X(i,D.preload),v[i].style.display="block",v[i].style.animation="slideNextIn 0.3s ease-out forwards",W=!1}),300)):"fade"===D.animation&&(v[i].style.opacity=0,window.setTimeout((function(){v[i].style.display="none",Q(v[i].getElementsByTagName("img")[0]),i>y-2&&(i=-1),R(i+=1),X(i,D.preload),v[i].style.display="block",window.setTimeout((function(){v[i].style.opacity=1}),50),W=!1}),300)))}function $(e){y>1&&"hb-single"!==t&&!W&&(W=!0,"slide"===D.animation?(v[i].style.animation="slidePreviousOut 0.3s ease-out forwards",window.setTimeout((function(){v[i].style.opacity=0,v[i].style.display="none",Q(v[i].getElementsByTagName("img")[0]),0===i&&(i=y),R(i-=1),F(i,D.preload),v[i].style.display="block",v[i].style.animation="slidePreviousIn 0.3s ease-out forwards",W=!1}),300)):"fade"===D.animation&&(v[i].style.opacity=0,window.setTimeout((function(){v[i].style.display="none",Q(v[i].getElementsByTagName("img")[0]),0===i&&(i=y),R(i-=1),F(i,D.preload),v[i].style.display="block",window.setTimeout((function(){v[i].style.opacity=1}),50),W=!1}),300)))}function Z(){v[i].style.opacity=0,g.style.opacity=0,window.setTimeout((function(){v[i].style.display="none",g.style.display="none",Q(v[i].getElementsByTagName("img")[0])}),300),h[i].focus(),h[i].blur(),ge(),O=!0,V=!0}function G(e){e.preventDefault(),Z()}function J(e){N||(e.stopPropagation(),e.preventDefault(),e.target===w||e.target===f||e.target===v[i]?G(e):ye())}function K(e){e.stopPropagation(),e.preventDefault(),27===e.which?G(e):37===e.which&&"hb-single"!==t?$():39===e.which&&"hb-single"!==t&&U()}function Q(e){e.removeAttribute("style"),e.style.transition="all 150ms ease-in",H=100,window.setTimeout((function(){N=!1,e.style.transition="",e.removeAttribute("style")}),200)}function ee(e){var t=parseInt(window.getComputedStyle(e,null).getPropertyValue("width")),n=parseInt(window.getComputedStyle(e,null).getPropertyValue("height")),i=parseInt(window.getComputedStyle(e,null).getPropertyValue("left")),o=parseInt(window.getComputedStyle(e,null).getPropertyValue("top"));e.style.transition="all 150ms ease-out",t>=window.innerWidth?i>t/2?(e.style.left=t/2+"px",e.style.right="auto"):i<-1*(t-window.innerWidth-t/2)&&(e.style.left=-1*(t-window.innerWidth-t/2)+"px",e.style.right="auto"):t<window.innerWidth&&(i<t/2?(e.style.left=t/2+"px",e.style.right="auto"):i>window.innerWidth-t+t/2&&(e.style.left=window.innerWidth-t+t/2+"px",e.style.right="auto")),n>=window.innerHeight?o>n/2?(e.style.top=n/2+"px",e.style.bottom="auto"):o<-1*(n-window.innerHeight-n/2)&&(e.style.top=-1*(n-window.innerHeight-n/2)+"px",e.style.bottom="auto"):n<window.innerHeight&&(o<n/2?(e.style.top=n/2+"px",e.style.bottom="auto"):o>window.innerHeight-n+n/2&&(e.style.top=window.innerHeight-n+n/2+"px",e.style.bottom="auto")),t<=window.innerWidth&&n<=window.innerHeight?Q(e):window.setTimeout((function(){e.style.transition=""}),200)}function te(e,t,n){var i=window.getComputedStyle(n,null).getPropertyValue("left"),o=window.getComputedStyle(n,null).getPropertyValue("top");n.style.transition="",n.style.position="absolute",n.style.top=parseInt(o)+t+"px",n.style.left=parseInt(i)+e+"px",n.style.right="auto",n.style.bottom="auto"}function ne(e){if(D.isZoomable){me(),ue();var t=parseInt(window.getComputedStyle(e,null).getPropertyValue("width")),n=parseInt(window.getComputedStyle(e,null).getPropertyValue("height"));H>
1=50&&H<=400&&t<e.naturalWidth&&n<e.naturalHeight||H>=50&&H<=400&&H<=parseInt(e.style.maxWidth)?(e.style.position="absolute",e.style.maxWidth=parseInt(H)+"%",e.style.maxHeight=parseInt(H)+"%",N=!0):t>=e.naturalWidth||n>=e.naturalHeight?H=parseInt(e.style.maxWidth):H>=400?H=400:N=!1}}function ie(e){e.preventDefault(),s=e.clientX,d=e.clientY,v[i].addEventListener("mousemove",oe,!1)}function oe(e){e.preventDefault();var t=e.clientX-s,n=e.clientY-d;s=e.clientX,d=e.clientY,te(t,n,v[i].getElementsByTagName("img")[0])}function ae(e){e.preventDefault(),v[i].removeEventListener("mousemove",oe),ee(v[i].getElementsByTagName("img")[0])}function le(e){if(e.preventDefault(),e.ctrlKey){if(!D.isZoomable)return;e.deltaY<0?H+=20:N&&H>100&&(H-=20),H>100?(v[i].addEventListener("mousedown",ie,!1),v[i].addEventListener("mouseup",ae,!1),v[i].style.cursor="move",me(),ue(),ge(),g.addEventListener("wheel",le,!1)):(v[i].removeEventListener("mousedown",ie),v[i].removeEventListener("mouseup",ae),v[i].style.cursor="",he(),pe(),ve()),ne(v[i].getElementsByTagName("img")[0]),ee(v[i].getElementsByTagName("img")[0])}else H<=100&&!P&&(P=!0,window.setTimeout((function(){P=!1}),600),e.deltaY<0?$():e.deltaY>0&&U())}function re(){M.isSingleTapped=!1,M.whenSingleTapped=null,M.isDoubleTapped=!1}function se(e){if(M.isSingleTapped&&1===e.touches.length&&(new Date).getTime()-M.whenSingleTapped<I)return M.isDoubleTapped=!0,!1===N?(H=200,v[i].getElementsByTagName("img")[0].style.transition="all 150ms ease-out",window.setTimeout((function(){v[i].getElementsByTagName("img")[0].style.transition=""}),200),ne(v[i].getElementsByTagName("img")[0])):Q(v[i].getElementsByTagName("img")[0]),void re();M.isSingleTapped||1!==e.touches.length||(M.isSingleTapped=!0,M.whenSingleTapped=(new Date).getTime(),window.setTimeout((function(){re()}),I)),window.innerWidth<window.innerHeight!==q&&(q=!0!==q,_=window.innerWidth),s=e.touches[0].clientX,d=e.touches[0].clientY,e.touches.length>1&&(c=e.touches[1].clientX,u=e.touches[1].clientY)}function ce(e){if(e.preventDefault(),!M.isDoubleTapped){B&&re();var t=e.touches[0]||e.changedTouches[0],n=e.touches.length;if(!1!==B||!1!==N||window.innerWidth!==_||2===n){if(2===n){B=!0;var o=Math.sqrt(Math.pow(c-s,2)+Math.pow(u-d,2)),a=Math.sqrt(Math.pow(e.touches[1].clientX-e.touches[0].clientX,2)+Math.pow(e.touches[1].clientY-e.touches[0].clientY,2));s=e.touches[0].clientX,d=e.touches[0].clientY,c=e.touches[1].clientX,u=e.touches[1].clientY,o<a?H+=a-o:H-=o-a,ne(v[i].getElementsByTagName("img")[0])}else if(!0===N){B=!0;var l=e.touches[0].clientX-s,r=e.touches[0].clientY-d;s=e.touches[0].clientX,d=e.touches[0].clientY,te(l,r,v[i].getElementsByTagName("img")[0])}}else t.clientX-s>50&&t.clientY-d<25&&t.clientY-d>-25?(B=!0,$()):t.clientX-s<-50&&t.clientY-d<25&&t.clientY-d>-25?(B=!0,U()):(t.clientY-d>80&&D.swipeDownToClose||t.clientY-d<-80&&D.swipeUpToClose)&&G(e)}}function de(){B=!1,N?ee(v[i].getElementsByTagName("img")[0]):window.setTimeout((function(){ee(v[i].getElementsByTagName("img")[0])}),I)}function ue(){C.style.opacity=0,L.style.opacity=0,b.style.opacity=0,A.style.opacity=0,O=!0}function pe(){C.style.opacity="",L.style.opacity="",b.style.opacity="",A.style.opacity="",O=!1}function me(){var e=w.getElementsByClassName("hb-caption"),t=0;for(t=0;t<e.length;t+=1)e[t].style.display="none";V=!0}function he(){var e=w.getElementsByClassName("hb-caption"),t=0;for(t=0;t<e.length;t+=1)e[t].style.display="";V=!1}function ye(e){V?he():me(),O&&!V?pe():!O&&V&&ue()}function ve(){"hb-single"!==t&&(l.addEventListener("click",U,!1),a.addEventListener("click",$,!1)),g.addEventListener("touchstart",se,!1),g.addEventListener("touchmove",ce,!1),g.addEventListener("touchend",de,!1),D.nextPrevOnWheel&&g.addEventListener("wheel",le,!1),o.addEventListener("click",G,!1),w.addEventListener("click",J,!1),window.addEventListener("mouseout",ue,!1),window.addEventListener("mouseover",pe,!1),window.addEventListener("keyup",K,!1)}function ge(){"hb-single"!==t&&(l.removeEventListener("click",U,!1),a.removeEventListener("click",$,!1)),g.removeEventListener("touchstart",se,!1),g.removeEventListener("touchmove",ce,!1),g.removeEventListener("touchend",de,!1),D.nextPrevOnWheel&&g.removeEventListener("wheel",le,!1),o.removeEventListener("click",G,!1),w.removeEventListener("click",J,!1),window.removeEventListener("mouseout",ue,!1),window.removeEventListener("mouseover",pe,!1),window.removeEventListener("keyup",K,!1)}function fe(e){h[i=e].blur(),R(i),g.style.display="block",window.setTimeout((function(){g.style.opacity=1,_=window.innerWidth}),10),X(i,D.preload),F(i,D.preload),v[i].style.animation="none",v[i].style.display="block",v[i].style.opacity=1,Q(v[i].getElementsByTagName("img")[0]),ye(),ve()}function we(e,t){t.preventDefault(),fe(e)}g.setAttribute("class","hb-wrapper"),g.setAttribute("id","hb-wrapper"+t),f.setAttribute("class","hb-main-container"),w.setAttribute("class","hb-image-container"),b.setAttribute("class","hb-close-icon-container"),E.setAttribute("id","hb-close-"+t),E.setAttribute("class","hb-close"),L.setAttribute("class","hb-left-icon-container"),x.setAttribute("id","hb-left-"+t),x.setAttribute("class","hb-left"),C.setAttribute("class","hb-right-icon-container"),T.setAttribute("id","hb-right-"+t),T.setAttribute("class","hb-right"),A.setAttribute("id","hb-counter-"+t),A.setAttribute("class","hb-counter"),S.setAttribute("id","hb-counter-total"+t),S.setAttribute("class","hb-counter-total"),k.setAttribute("id","hb-counter-current"+t),k.setAttribute("class","hb-counter-current"),A.appendChild(k),A.appendChild(S),S.innerHTML="/ "+y,C.appendChild(T),T.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M576,290c0-0.1,0-0.2,0-0.3c0.1-7.9-3-15.7-8.8-21.4L311.5,12.5c-11.7-11.7-30.7-11.7-42.4,0s-11.7,30.7,0,42.4l204.5,204.5 H34c-16.6,0-30,13.4-30,30c0,0.2,0,0.3,0,0.5c0,0.2,0,0.3,0,0.5c0,16.6,13.4,30,30,30h439.6L269,525c-11.7,11.7-11.7,30.7,0,42.4
1c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8l255.7-255.8c5.8-5.8,8.8-13.6,8.8-21.4C576,290.2,576,290.1,576,290z"/></svg>',L.appendChild(x),x.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M576,289.5c0-16.6-13.4-30-30-30H106.4L311,55c11.7-11.7,11.7-30.7,0-42.4c-11.7-11.7-30.7-11.7-42.4,0L12.8,268.3C7,274.1,3.9,281.8,4,289.7c0,0.1,0,0.2,0,0.3c0,0.1,0,0.2,0,0.3c-0.1,7.9,3,15.7,8.8,21.4l255.8,255.8c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8c11.7-11.7,11.7-30.7,0-42.4L106.4,320.5H546c16.6,0,30-13.4,30-30c0-0.2,0-0.3,0-0.5\tC576,289.8,576,289.7,576,289.5z"/></svg>',b.appendChild(E),E.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M332.1,290l235-235c11.7-11.7,11.7-30.7,0-42.4c-11.7-11.7-30.7-11.7-42.4,0L290,247.2L55.3,12.5c-11.7-11.7-30.7-11.7-42.4,0C1.2,24.3,1.2,43.2,12.9,55l235,235l-235,235c-11.7,11.7-11.7,30.7,0,42.4c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8L290,332.8l234.7,234.7c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8c11.7-11.7,11.7-30.7,0-42.4L332.1,290z"/></svg>',f.appendChild(w),f.appendChild(b),f.appendChild(L),f.appendChild(C),f.appendChild(A),g.appendChild(f),("ontouchstart"in window&&!0===D.hideButtons||"hb-single"===t||1===y)&&(C.style.display="none",L.style.display="none"),"hb-single"!==t&&1!==y||(A.style.display="none"),"dark"===D.theme&&g.classList.add("hb-dark-theme"),g.style.display="none",m.appendChild(g),o=document.getElementById("hb-close-"+t),a=document.getElementById("hb-left-"+t),l=document.getElementById("hb-right-"+t),document.getElementById("hb-counter-"+t),document.getElementById("hb-counter-total"+t),r=document.getElementById("hb-counter-current"+t);for(var be=0;be<y;be+=1)Y.push(we.bind(this,be)),h[be].addEventListener("click",Y[be],!1);return{open:fe,close:Z,next:U,previous:$,destroy:function(){if(!j){for(var e=0;e<y;e+=1)h[e].removeEventListener("click",Y[e],!1);document.getElementById("hb-wrapper"+t)&&(ge(),g.parentNode.removeChild(g)),j=!0}}}}if(void 0===w.exports)return{run:n,options:t};w.exports={run:n,options:t}}();var E=n(b.exports),L=null;function x(e){var t,n=function(e){var t={en:"Open media in lightbox",de:"Medien in der Lightbox öffnen"};return t[e]||t.en}(null!=(t=document.documentElement.lang)&&t.toLowerCase().startsWith("de")?"de":"en");e.querySelectorAll('a[class*="lightbox-"]').forEach((e=>{var t,i=null===(t=e.getAttribute("aria-label"))||void 0===t?void 0:t.trim();if(i)e.setAttribute("aria-label","".concat(n,": ").concat(i));else{var o,a,l,r,s=null===(o=e.querySelector("figcaption"))||void 0===o||null===(a=o.textContent)||void 0===a?void 0:a.trim(),c=null===(l=e.querySelector(".copyright-text"))||void 0===l||null===(r=l.textContent)||void 0===r?void 0:r.trim(),d=[];s&&d.push(s),c&&d.push(c);var u=d.length>0?": ".concat(d.join(". ")):"";e.setAttribute("aria-label","".concat(n).concat(u))}}))}function C(e){L=document.activeElement;var t=function(e){if(!e)return null;var t=e.querySelectorAll("button:not([disabled])");return t.length>0?t[0]:null}(e);t?requestAnimationFrame((()=>{t.focus()})):(e.setAttribute("tabindex","-1"),e.focus())}function T(e,t){for(var n=e.children,i=n.length-1;i>=t;--i)n[i].remove()}function A(e){var t,n,i,o,a,l,r,s,c,d,u,p,m,h;if(t=e.dataset.width,n=e.dataset.height,a=(o=e.parentElement).offsetWidth,l=o.offsetHeight,r=(i=JSON.parse(e.dataset.focusArea)).x/t,s=i.y/n,c=(i.x+i.width)/t,d=(i.y+i.height)/n,t/n>a/l){var y=(c-r)*t;y/n>a/l?(h=-r*(u=t*a/y),m=(l-(p=n*a/y))/2):(p=l,h=a-(h=(h=a/2-(r+c)*(u=l*t/n)/2)>0?0:h)-u>0?a-u:h,m=0)}else{var v=(d-s)*n;v/t>l/a?(m=-s*(p=n*l/v),h=(a-(u=t*l/v))/2):(u=a,m=l-(m=(m=l/2-(s+d)*(p=a*n/t)/2)>0?0:m)-p>0?l-p:m,h=0)}o.style.overflow="hidden","absolute"!==window.getComputedStyle(e).position&&(e.style.position="relative"),p>0&&(e.style.height=p),u>0&&(e.style.width=u),e.style.left=h,e.style.top=m}e((()=>{var e=document.querySelectorAll(".gallery, .teaser, .textpic, .text-columns, .map, .image-row, .slider");e&&e.forEach((e=>{var t=e.dataset.lightbox||e.dataset.gallery;if(t){E.run(t),x(e);var n=document.getElementById("hb-wrapper".concat(t));if(n)new MutationObserver((e=>{for(var t of e)if("attributes"===t.type&&"style"===t.attributeName){var i=n.style.display,o=n.style.opacity;"block"===i&&"1"===o?setTimeout((()=>{C(n)}),50):"none"===i&&"0"===o&&setTimeout((()=>{L&&"function"==typeof L.focus&&(document.body.contains(L)&&L.focus(),L=null)}),350)}})).observe(n,{attributes:!0,attributeFilter:["style"]})}}))})),window.$clamp=function(e,t){t=t||{};var n,i=window,o={clamp:t.clamp||2,useNativeClamp:void 0===t.useNativeClamp||t.useNativeClamp,splitOnChars:t.splitOnChars||[".","-","â","â"," "],animate:t.animate||!1,truncationChar:t.truncationChar||"â¦",truncationHTML:t.truncationHTML},a=e.style,l=e.innerHTML,r=void 0!==e.style.webkitLineClamp,s=o.clamp,c=s.indexOf&&(s.indexOf("px")>-1||s.indexOf("em")>-1);function d(e,t){return i.getComputedStyle||(i.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"==t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,(function(){return arguments[2].toUpperCase()}))),e.currentStyle&&e.currentStyle[t]?e.currentStyle[t]:null},this}),i.getComputedStyle(e,null).getPropertyValue(t)}function u(t){var n=t||e.clientHeight,i=p(e);return Math.max(Math.floor(n/i),0)}function p(e){var t=d(e,"line-height");return"normal"==t&&(t=1.2*parseInt(d(e,"font-size"))),parseInt(t)}o.truncationHTML&&((n=document.createElement("span")).innerHTML=o.truncationHTML);var m,h,y,v,g=o.splitOnChars.slice(0),f=g[0];
1function w(t){return t.lastChild.children&&t.lastChild.children.length>0?w(Array.prototype.slice.call(t.children).pop()):t.lastChild&&t.lastChild.nodeValue&&""!=t.lastChild.nodeValue&&t.lastChild.nodeValue!=o.truncationChar?t.lastChild:(t.lastChild.parentNode.removeChild(t.lastChild),w(e))}function b(e,t){e.nodeValue=t+o.truncationChar}if("auto"==s?s=u():c&&(s=u(parseInt(s))),r&&o.useNativeClamp)a.overflow="hidden",a.textOverflow="ellipsis",a.webkitBoxOrient="vertical",a.display="-webkit-box",a.webkitLineClamp=s,c&&(a.height=o.clamp+"px");else{var E=(v=s,p(e)*v);E<=e.clientHeight&&(y=function t(i,a){if(a){var l=i.nodeValue.replace(o.truncationChar,"");if(m||(f=g.length>0?g.shift():"",m=l.split(f)),m.length>1?(h=m.pop(),b(i,m.join(f))):m=null,n&&(i.nodeValue=i.nodeValue.replace(o.truncationChar,""),e.innerHTML=i.nodeValue+" "+n.innerHTML+o.truncationChar),m){if(e.clientHeight<=a){if(!(g.length>=0&&""!=f))return e.innerHTML;b(i,m.join(f)+f+h),m=null}}else""==f&&(b(i,""),i=w(e),g=o.splitOnChars.slice(0),f=g[0],m=null,h=null);if(!o.animate)return t(i,a);setTimeout((function(){t(i,a)}),!0===o.animate?10:o.animate)}}(w(e),E))}return{original:l,clamped:y}},e((function(){var e=document.getElementsByClassName("blog-card__text");null!==e&&Array.prototype.forEach.call(e,(function(e){$clamp(e,{clamp:3})}));var t=document.querySelectorAll(".event__info > p");null!==t&&Array.prototype.forEach.call(t,(function(e){$clamp(e,{clamp:3})}));var n=document.querySelectorAll(".trip-card__content > p, .trip-card__content > ol, .trip-card__content > ul");null!==n&&Array.prototype.forEach.call(n,(function(e){switch(e.tagName.toLowerCase()){case"p":0===e.classList.length&&$clamp(e,{clamp:5});break;case"ol":case"ul":e.classList.add("list"),T(e,5)}}))})),e((function(){var e=document.querySelectorAll(".input--singleselect select");null!==e&&Array.prototype.forEach.call(e,(function(e){e.addEventListener("click",(function(){e.classList.add("selected")}))}))})),function(){var t=(document.documentElement.getAttribute("lang")||"en-US").substring(0,2);i.l10ns[t]&&i.localize(i.l10ns[t]);var n=document.createElement("input");try{n.type="month"}catch(e){}var a="month"===n.type;e((function(){var e=document.querySelectorAll(".date-dummy");e.length>0&&(console.warn("Deprecated datepicker: Use `toujou-datepicker` web component instead"),Array.prototype.forEach.call(e,(function(e){if(!e.hasOwnProperty("_flatpickr")){var t=e.type.toLowerCase(),n=e.getAttribute("value"),l=e.parentElement,r=l.dataset.format,s=l.dataset.from,c=l.dataset.until,d=l.dataset.monthpicker,u=l.dataset.range,p=l.dataset.time;e.addEventListener("change",g);var m={mode:"true"===u&&"1"!==d?"range":"single",dateFormat:r,allowInput:!1};if(""==e.value&&n)try{var h=i.parseDate(n,r);h&&(m.defaultDate=h)}catch(e){}if(p)m.enableTime=!0,m.time_24hr=!0;else if("1"===d)m.altInput=!0,0!==window.navigator.maxTouchPoints&&a?m.altFormat="F Y":m.plugins=[new o({dateFormat:"d.m.Y",altFormat:"F Y"})];else{var y=new RegExp("([0-9]{2}[.][0-9]{2}[.][0-9]{4})");void 0!==s&&("true"===s?m.minDate="today":(y.test(s)&&(s=f(s)),s=i.parseDate(s,"Y-m-d"),m.minDate=i.compareDates(new Date,s)>=0?"today":s)),void 0!==c&&(y.test(c)&&(c=f(c)),c=i.parseDate(c,"Y-m-d"),m.maxDate=c,"true"===c?m.minDate="today":(c=i.parseDate(c,"Y-m-d"),m.maxDate=c))}var v=i(e,m);"1"===d&&"month"===t&&v.isMobile&&(v.mobileFormatStr="Y-m",v.mobileInput.type=t),g()}function g(){var t=e.value&&e.value!==r&&e.value!==e.placeholder?"remove":"add";e.classList[t]("date-dummy--empty"),e.nextElementSibling&&!e.nextElementSibling.name&&e.nextElementSibling.classList.contains("date-dummy")&&e.classList[t]("date-dummy--empty")}function f(e){return e.split(".").reverse().join()}})))}))}(),e((function(){var e=document.getElementsByClassName("quicksearch");null!==e&&Array.prototype.forEach.call(e,(function(e){var t=e.querySelector(".quicksearch__field--date-from.flatpickr-input"),n=e.querySelector(".quicksearch__field--date-from.form-control"),i=e.querySelector(".quicksearch__field--date-until.flatpickr-input"),o=e.querySelector(".quicksearch__field--date-until.form-control");function a(e){var a=e.value;if(a.length>10){var l=a.split(/(^.{10})( bis | to )(.{10}
1$)/g).filter(Boolean);t.value=l[0],n.value=l[0],i.value=l[2],o.value=l[2]}}t&&t.addEventListener("change",(function(){a(t)})),i&&i.addEventListener("change",(function(){a(i)}))}))})),e((function(){var e=document.querySelectorAll("[data-focus-area]");null!==e&&Array.prototype.forEach.call(e,(function(e){!1===e.parentElement.parentElement.classList.contains("gallery__item__content")&&A(e)}))})),window.addEventListener("glider-loaded",(function(){var e=document.querySelectorAll(".glider [data-focus-area]");null!==e&&Array.prototype.forEach.call(e,(function(e){A(e)}))})),e((()=>{var e=document.querySelectorAll(".review__text");e&&e.forEach((e=>{var t=e.querySelector(".review__cta"),n=e.children[0],i=e.querySelector(".review__item-info");(n.offsetHeight<n.scrollHeight||e.children[1]!==i)&&(t.innerHTML=t.dataset.more,t.style.display="",t.addEventListener("click",(()=>{!function(e,t){t.classList.contains("review__text--short")?e.innerHTML=e.dataset.less:e.innerHTML=e.dataset.more}(t,e),e.classList.toggle("review__text--short")})))}))})),e((function(){var e=document.querySelectorAll(".typo3-messages .alert");e&&Array.prototype.forEach.call(e,(function(e){e.classList.add("is-visible"),e.addEventListener("click",(function(t){e.classList.remove("is-visible"),setTimeout((function(){e.remove()}),250)}))}))}));var S=null;document.addEventListener("DOMContentLoaded",(()=>{S=document.querySelector("#navigation-state");var e=document.querySelectorAll(".navigation--main .navigation-item__link");e&&S&&e.forEach((e=>{e.addEventListener("click",(()=>{e.chevron=e.parentNode.querySelector(".navigation-item__toggle-state"),function(e){"A"!==e.tagName?e.chevron&&e.chevron.click():(S.checked=!1,document.body.removeAttribute("menuopen"))}(e)}))}))})),e((()=>{var e;e=window.matchMedia("(prefers-reduced-motion: reduce)").matches,document.querySelectorAll('video[data-is-autoplay="1"]').forEach((t=>{e?t.setAttribute("controls",""):(t.setAttribute("autoplay",""),t.play())}))}));//# sourceMappingURL=toujou.js.map
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.