
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("mitt"),require("moment"),require("joi"),require("GLightbox")):"function"==typeof define&&define.amd?define([,,,],t):"object"==typeof exports?exports.Website=t(require("mitt"),require("moment"),require("joi"),require("GLightbox")):e.Website=t(e.mitt,e.moment,e.joi,e.GLightbox)}(window,((e,t,i,s)=>(()=>{"use strict";var n={311:(e,t,i)=>{i.r(t),i.d(t,{DEFAULT_ID:()=>n,Loader:()=>o,LoaderStatus:()=>a});var s=function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var s,n,a;if(Array.isArray(t)){if((s=t.length)!=i.length)return!1;for(n=s;0!=n--;)if(!e(t[n],i[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((s=(a=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(n=s;0!=n--;)if(!Object.prototype.hasOwnProperty.call(i,a[n]))return!1;for(n=s;0!=n--;){var o=a[n];if(!e(t[o],i[o]))return!1}return!0}return t!=t&&i!=i};const n="__googleMapsScriptId";var a;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(a||(a={}));class o{constructor({apiKey:e,authReferrerPolicy:t,channel:i,client:a,id:r=n,language:l,libraries:c=[],mapIds:d,nonce:u,region:h,retries:m=3,url:f="https://maps.googleapis.com/maps/api/js",version:g}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=i,this.client=a,this.id=r||n,this.language=l,this.libraries=c,this.mapIds=d,this.nonce=u,this.region=h,this.retries=m,this.url=f,this.version=g,o.instance){if(!s(this.options,o.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(o.instance.options)}`);return o.instance}o.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?a.FAILURE:this.done?a.SUCCESS:this.loading?a.LOADING:a.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+=`?callback=${this.CALLBACK}`,this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((i=>{i?t(i.error):e(window.google)}))}))}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const e=this.createUrl(),t=document.createElement("script");t.id=this.id,t.type="text/javascript",t.src=e,t.onerror=this.loadErrorCallback.bind(this),t.defer=!0,t.async=!0,this.nonce&&(t.nonce=this.nonce),document.head.appendChild(t)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}},716:(e,t,i)=>{const s=i(229);e.exports=e=>{const t={format:e.alternatives([e.string(),e.array().items(e.string().invalid("iso","javascript","unix"))])};return{type:"date",base:e.date(),coerce:{from:"string",method:function(e,{schema:t}){const i=t.$_getFlag("format");if(!i)return;const n=t.$_getFlag("utc")?s.utc(e,i,!0):s(e,i,!0);return n.isValid()?{value:n.toDate()}:void 0}},rules:{utc:{method:function(e=!0){return this.$_setFlag("utc",e)}}},overrides:{format:function(i){return e.attempt(i,t.format,"Invalid format"),["iso","javascript","unix"].includes(i)?this.$_super.format(i):this.$_setFlag("format",i)}}}},e.exports.default=e.exports},608:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r});var s=new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"}),n=new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"});function a(e){return Object.assign({muted:!1,timeout:250,inline:!1},e)}function o(e,t){var i=e.muted,s=e.timeout,n=e.inline,a=t(),o=a.element,r=a.source,l=void 0,c=void 0,d=void 0;return o.muted=i,!0===i&&o.setAttribute("muted","muted"),!0===n&&o.setAttribute("playsinline","playsinline"),o.src=r,new Promise((function(e){l=o.play(),c=setTimeout((function(){d(!1,new Error("Timeout "+s+" ms has been reached"))}),s),d=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;o.remove(),o.srcObject=null,clearTimeout(c),e({result:t,error:i})},void 0!==l?l.then((function(){return d(!0)})).catch((function(e){return d(!1,e)})):d(!0)}))}const r={audio:function(e){return o(e=a(e),(function(){return{element:document.createElement("audio"),source:URL.createObjectURL(s)}}))},video:function(e){return o(e=a(e),(function(){return{element:document.createElement("video"),source:URL.createObjectURL(n)}}))}}},678:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(925));t.default=class{constructor(){this.initializeContrastToggler()}initializeContrastToggler(){var e;const t=document.getElementById("contrastToggler");t&&(n.default.getCookie("contrast-mode")&&"1"===n.default.getCookie("contrast-mode")&&(t.classList.add("active"),null===(e=document.querySelector("html"))||void 0===e||e.classList.add("contrast")),t.addEventListener("click",(function(e){var i;e.preventDefault(),t.classList.toggle("active"),null===(i=document.querySelector("html"))||void 0===i||i.classList.toggle("contrast"),t.classList.contains("active")?n.default.setCookie("contrast-mode","1"):n.default.setCookie("contrast-mode","0")})))}}},106:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(899)),a=s(i(229)),o=s(i(71));class r{static initializeUnsavedFormsCheck(){document.querySelectorAll('form[data-unsaved-check="1"]').forEach((e=>{const t=e.getAttribute("name");if(!t)return;const i={};e.querySelectorAll("input:not([data-ignore]),select:not([data-ignore]),textarea:not([data-ignore])").forEach((e=>{const t=e.getAttribute("name");if(!t)return;const s=e.value;i[t]=!1,e.addEventListener("input",(()=>{s!==e.value?i[t]=!0:i[t]&&s===e.value&&(i[t]=!1)}))})),r.changedForms[t]=i,e.addEventListener("submit",(()=>{delete r.changedForms[t]}))}))}static checkIfUnsavedFormsPresent(){for(const e in r.changedForms)for(const t in r.changedForms[e])if(r.changedForms[e][t])return!0;return!1}constructor(){this.initializeValidation()}initializeValidation(){document.querySelectorAll("form").forEach((function(e){e.addEventListener("submit",(function(t){e.checkValidity()||(t.preventDefault(),t.stopPropagation())}),!1),e.querySelectorAll(".form-control").forEach((e=>{const t=function(){e.value?e.classList.add("has-value"):e.classList.remove("has-value")};t(),"SELECT"===e.nodeName?e.addEventListener("change",t):e.addEventListener("keyup",t)}))}))}initializeScrollToForms(){const e=window.location.hash;if(!e||-1===e.indexOf("#form-"))return;const t=e.replace("#form-",""),i=document.querySelector("form#"+t);if(i){const e=n.default.getElementPosition(i);window.scrollTo({top:e.top>0?e.top-250:0,behavior:"smooth"})}}initializeDatePickers(){const e=(0,a.default)().startOf("day"),t=e.format("X"),i=e.clone().add(1,"months").startOf("day"),s=i.format("X");document.querySelectorAll(".date-picker:not(.range-from,.range-to)").forEach((e=>{const t=e.dataset.target;if(!t)return;const i=document.querySelector(t);if(i){if(i.value){const t=a.default.unix(parseInt(i.value)).startOf("day");e.value=t.format("YYYY-MM-DD")}e.addEventListener("change",(()=>{if(e.value){const t=(0,a.default)(e.value);t.isValid()?i.value=t.startOf("day").format("X"):i.value=""}else i.value=""}))}})),document.querySelectorAll(".date-range-pickers").forEach((n=>{const o=n.querySelector(".range-from");if(!o)return;const r=n.querySelector(".range-to");if(!r)return;const l=o.dataset.target;if(!l)return;const c=r.dataset.target;if(!c)return;const d=document.querySelector(l);if(!d)return;const u=document.querySelector(c);if(u){if(d.value){const e=a.default.unix(parseInt(d.value)).startOf("day");o.value=e.format("YYYY-MM-DD")}else o.value=e.format("YYYY-MM-DD"),d.value=t;if(u.value){const e=a.default.unix(parseInt(u.value)).startOf("day");r.value=e.format("YYYY-MM-DD")}else r.value=i.format("YYYY-MM-DD"),u.value=s.toString();o.addEventListener("change",(()=>{if(o.value){const e=(0,a.default)(o.value),t=(0,a.default)(r.value);!e.isValid()||t.isValid()&&e>=t?(d.value="",u.value=""):(d.value=e.startOf("day").format("X"),u.value=t.startOf("day").format("X"))}else d.value="",u.value=""})),r.addEventListener("change",(()=>{if(r.value){const e=(0,a.default)(o.value),t=(0,a.default)(r.value);!t.isValid()||e.isValid()&&t<=e?(d.value="",u.value=""):(d.value=e.startOf("day").format("X"),u.value=t.startOf("day").format("X"))}else d.value="",u.value=""}))}}))}initializeDateFields(){const e=(0,a.default)().startOf("day"),t=e.format("X"),i=e.clone().add(1,"months").startOf("day"),s=i.format("X");document.querySelectorAll(".date-field:not(.range-from,.range-to)").forEach((e=>{const t=e.dataset.target;if(!t)return;const i=document.querySelector(t);if(i){if(i.value){const t=a.default.unix(parseInt(i.value)).startOf("day");e.value=t.format("DD.MM.YYYY")}e.addEventListener("change",(()=>{const t=(0,a.default)(e.value,"DD.MM.YYYY");t.isValid()?i.value=t.startOf("day").format("X"):i.value=""}))}})),document.querySelectorAll(".date-range-fields").forEach((n=>{const o=n.querySelector(".range-from");if(!o)return;const r=n.querySelector(".range-to");if(!r)return;const l=o.dataset.target;if(!l)return;const c=r.dataset.target;if(!c)return;const d=document.querySelector(l);if(!d)return;const u=document.querySelector(c);if(u){if(d.value){const e=a.default.unix(parseInt(d.value)).startOf("day");o.value=e.format("DD.MM.YYYY")}else o.value=e.format("DD.MM.YYYY"),d.value=t.toString();if(u.value){const e=a.default.unix(parseInt(u.value)).startOf("day");r.value=e.format("DD.MM.YYYY")}else r.value=i.format("DD.MM.YYYY"),u.value=s;o.addEventListener("change",(()=>{const e=(0,a.default)(o.value,"DD.MM.YYYY"),t=(0,a.default)(r.value,"DD.MM.YYYY");!e.isValid()||t.isValid()&&e>=t?(d.value="",u.value=""):(d.value=e.startOf("day").format("X"),u.value=t.startOf("day").format("X"))})),r.addEventListener("change",(()=>{const e=(0,a.default)(o.value,"DD.MM.YYYY"),t=(0,a.default)(r.value,"DD.MM.YYYY");!t.isValid()||e.isValid()&&t<=e?(d.value="",u.value=""):(d.value=e.startOf("day").format("X"),u.value=t.startOf("day").format("X"))}))}}))}initializeTextareas(){const e=o.default.getLabel("characters");document.querySelectorAll("textarea[maxlength]").forEach((t=>{let i=0;const s=t.getAttribute("maxlength");if(s&&(i=parseInt(s)),i>0){const s=document.createElement("span");s.classList.add("form-text");const n=document.createElement("span");n.classList.add("remaining"),n.textContent=i.toString(),s.append(n),s.insertAdjacentText("beforeend"," / "+i+" "+e),t.insertAdjacentElement("afterend",s),t.addEventListener("keyup",(()=>{const e=i-t.value.length;n.textContent=e.toString()}))}}))}initializeSanitization(){document.querySelectorAll("[data-sanitize]").forEach((e=>{e.dataset.sanitize&&e.addEventListener("blur",(()=>{if(e.value){const t=e.value.trim();"float"===e.dataset.sanitize&&(e.value=function(e){return e.replace(",",".")}(t))}}))}))}}t.default=r,r.changedForms={}},206:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(899)),a=s(i(925));t.default=class{constructor(e,t){if(this.muteUnmuteButton=null,this.muteUnmuteText=null,this.muteIcon=null,this.unmuteIcon=null,this.cookieExpirationDate=null,this.isInitialized=!1,this.videoObject=e,this.container=t,!this.videoObject||!this.container)return;const i=this.container.querySelector("video");if(!i)return;this.video=i;const s=this.container.querySelector(".btn-pause-play");if(!s)throw new Error("Play/Pause button is missing.");this.playPauseButton=s;const n=this.playPauseButton.querySelector(".visually-hidden");if(!n)throw new Error("Play/Pause text is missing.");this.playPauseText=n;const a=this.playPauseButton.querySelector(".pause");if(!a)throw new Error("Pause icon is missing.");this.pauseIcon=a;const o=this.playPauseButton.querySelector(".play");if(!o)throw new Error("Play icon is missing.");this.playIcon=o,this.muteUnmuteButton=this.container.querySelector(".btn-mute-unmute"),this.muteUnmuteButton&&(this.muteUnmuteText=this.muteUnmuteButton.querySelector(".visually-hidden"),this.muteIcon=this.muteUnmuteButton.querySelector(".mute"),this.unmuteIcon=this.muteUnmuteButton.querySelector(".unmute")),this.cookieExpirationDate=new Date((new Date).setFullYear((new Date).getFullYear()+1)),this.video.addEventListener("play",(()=>{this.isInitialized||(this.isInitialized=!0,this.initialize())})),3!==this.video.readyState&&4!==this.video.readyState||this.isInitialized||(this.isInitialized=!0,this.initialize())}initialize(){n.default.setVideoSourceByDeviceOrientation(this.video,!1),this.initializeUserPreferences(),this.initializeControls(),"1"===a.default.getCookie("fullscreen-video-paused")?this.pause(!0):this.play(),window.addEventListener("scroll",(()=>{this.playInView()}),{capture:!1,passive:!0}),window.addEventListener("scroll",(()=>{this.playInView()}),{capture:!1,passive:!0}),window.addEventListener("resize",(()=>{n.default.setVideoSourceByDeviceOrientation(this.video,!1),"1"===a.default.getCookie("fullscreen-video-paused")?this.pause(!0):this.play()}),{capture:!1,passive:!0})}initializeUserPreferences(){if(this.videoObject&&this.videoObject.canAutoplayAudio){const e=a.default.getCookie("fullscreen-video-muted");null===e?(this.video.muted=!0,a.default.setCookie("fullscreen-video-muted","1")):this.video.muted="1"==e}else a.default.deleteCookie("fullscreen-video-muted");null!==a.default.getCookie("fullscreen-video-paused")&&this.video.pause()}initializeControls(){const e=this;this.playPauseButton.classList.remove("d-none"),this.video.paused?this.pause(!1):this.play(),this.playPauseButton.addEventListener("click",(function(){e.video.paused?e.play():e.pause(!0)})),this.muteUnmuteButton&&(this.muteUnmuteButton.classList.remove("d-none"),this.video.muted?this.mute():this.unmute(),this.muteUnmuteButton.addEventListener("click",(function(){e.video.muted?e.unmute():e.mute()})))}play(){a.default.deleteCookie("fullscreen-video-paused"),this.video.play().catch((function(){})),this.pauseIcon.classList.remove("d-inline-block","d-none"),this.pauseIcon.classList.add("d-inline-block"),this.playIcon.classList.remove("d-inline-block","d-none"),this.playIcon.classList.add("d-none"),this.playPauseText.innerHTML="Pause"}pause(e){void 0===e&&(e=!0),e&&a.default.setCookie("fullscreen-video-paused","1",this.cookieExpirationDate,"/"),this.video&&this.video.pause(),this.pauseIcon&&(this.pauseIcon.classList.remove("d-inline-block","d-none"),this.pauseIcon.classList.add("d-none")),this.playIcon&&(this.playIcon.classList.remove("d-inline-block","d-none"),this.playIcon.classList.add("d-inline-block")),this.playPauseText&&(this.playPauseText.innerHTML="Play")}playPauseToggle(){this.video.paused?this.play():this.pause(!0)}mute(){var e,t,i,s;this.videoObject&&this.videoObject.canAutoplayAudio&&a.default.setCookie("fullscreen-video-muted","1",this.cookieExpirationDate,"/"),this.video.muted=!0,this.muteUnmuteButton&&(null===(e=this.muteIcon)||void 0===e||e.classList.remove("d-inline-block","d-none"),null===(t=this.muteIcon)||void 0===t||t.classList.add("d-none"),null===(i=this.unmuteIcon)||void 0===i||i.classList.remove("d-inline-block","d-none"),null===(s=this.unmuteIcon)||void 0===s||s.classList.add("d-inline-block"),this.muteUnmuteText&&(this.muteUnmuteText.innerHTML="Unmute"))}unmute(){var e,t,i,s;this.video&&this.videoObject&&(this.videoObject.canAutoplayAudio&&a.default.setCookie("fullscreen-video-muted","0",this.cookieExpirationDate,"/"),this.video.muted=!1,this.muteUnmuteButton&&(null===(e=this.muteIcon)||void 0===e||e.classList.remove("d-inline-block","d-none"),null===(t=this.muteIcon)||void 0===t||t.classList.add("d-inline-block"),null===(i=this.unmuteIcon)||void 0===i||i.classList.remove("d-inline-block","d-none"),null===(s=this.unmuteIcon)||void 0===s||s.classList.add("d-none"),this.muteUnmuteText&&(this.muteUnmuteText.innerHTML="Mute")))}toggleMuteUnmute(){this.video&&(this.video.muted?this.unmute():this.mute())}playInView(){if(null!==a.default.getCookie("fullscreen-video-paused"))return;const e=n.default.getScrollPosition(),t=this.video.getBoundingClientRect(),i=n.default.getElementPosition(this.video),s=i.top+.75*t.height,o=i.top+.25*t.height;e.top+n.default.getWindowDimensions().height>s&&e.top<o?this.video.paused&&this.play():(e.top,this.video.paused||this.pause(!1))}}},38:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(e){this.imageVariants=e}render(){let e="";this.imageVariants.description&&(e=`<figcaption class="figure-caption ">${this.imageVariants.description}</figcaption>`);let t=this.imageVariants.title;return this.imageVariants.copyright&&(t+=` (${this.imageVariants.copyright})`),`\n<figure class="image">\n    <picture class="image">\n        <source\n            srcset="${this.imageVariants.desktop}"\n            media="(min-width: 1200px)"\n        />\n        <source\n            srcset="${this.imageVariants.tablet}"\n             media="(min-width: 768px)"\n        />\n        <source\n            srcset="${this.imageVariants.mobile}"\n            media="(max-width: 767.98px)"\n        />\n        <img\n            src="${this.imageVariants.default}"\n            title="${t}"\n            alt="${this.imageVariants.alternative}"\n            class="img-fluid image-cover"\n        />\n        ${e}\n    </picture>\n    \n</figure>\n        `}}},921:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(899)),a=s(i(703)),o=s(i(716)),r=s(i(836)),l=a.default.extend(o.default);class c{static getJoiMessages(){return{"string.base":"Kein gültiger Text.","string.empty":"Dieses Feld muss ausgefüllt werden.","string.min":"Der Text muss mindestens {#limit} Zeichen enthalten.","string.max":"Der Text darf maximal {#limit} Zeichen enthalten.","string.uri":'Der angegebene Wert ist keine gültige URL (URL muss mit "http://" oder "https://" beginnen).',"string.email":"Der angegebene Wert ist keine gültige E-Mail Adresse.","number.base":"Keine gültige Zahl.","number.empty":"Dieses Feld muss ausgefüllt werden.","number.min":"Die Zahl muss mindestens {#limit} sein.","number.max":"Die Zahl darf maximal {#limit} sein.","number.integer":"Die Zahl muss eine ganzzahlige Zahl sein.","checkbox.checked":"Die Checkbox muss aktiviert sein.","date.base":"Kein gültiges Datum. Datum muss im Format TT.MM.JJJJ eingegeben werden.","date.empty":"Dieses Feld muss ausgefüllt werden.","date.min":"Das Datum muss mindestens {#limit} sein.","date.max":"Das Datum darf maximal {#limit} sein.","date.less":"Das Datum muss kleiner als {#limit} sein.","date.greater":"Das Datum muss größer als {#limit} sein.","date.format":"Datum muss im Format TT.MM.JJJJ eingegeben werden.","any.ref":'Feld ist von "{#ref}" abhängig.',"any.only":"Wert stimmt nicht überein.","any.required":"Dieses Feld muss ausgefüllt werden."}}static getJoiSchema(e){return l.object(e).messages(c.getJoiMessages())}static initializeDataAttributeValidation(){document.querySelectorAll('form[data-validate="1"]').forEach((e=>{const t={};e.querySelectorAll('[data-validate="1"]').forEach((e=>{const i=c.getJoiSchemaForField(e),s=e.getAttribute("id");s&&(t[s]=i)})),new c(e,t)}))}static getJoiSchemaForField(e){if(!e.getAttribute("id"))throw new Error("Field has no ID set.");if(!e.dataset.validate||"1"!==e.dataset.validate)throw new Error('Field has no data-validate="1" set.');const t=e.getAttribute("id");let i;switch(e.dataset.validateType){case"string":default:i=a.default.string();break;case"float":i=a.default.number();break;case"integer":i=a.default.number().integer();break;case"zip":i=a.default.number().integer().min(1e3).max(9999);break;case"email":i=a.default.string().email({tlds:{allow:!1}});break;case"uri":i=a.default.string().uri();break;case"checkboxChecked":i=a.default.string().custom(((t,i)=>e.checked?t:i.error("checkbox.checked")));break;case"date":i=l.date().format("DD.MM.YYYY");break;case"dateFrom":i=l.date().format("DD.MM.YYYY"),e.dataset.validateLessField&&(i=i.less(l.ref(e.dataset.validateLessField)));break;case"dateTo":i=l.date().format("DD.MM.YYYY"),e.dataset.validateGreaterField&&(i=i.greater(l.ref(e.dataset.validateGreaterField)));break;case"password":i=a.default.string().min(4).max(255);break;case"passwordRepeat":if(!e.dataset.validatePasswordField)throw new Error(`Field "${t}": Password repeat needs to have data-validate-password`);return a.default.ref(e.dataset.validatePasswordField)}if(e.dataset.validateMin){const s=parseFloat(e.dataset.validateMin);if(isNaN(s))throw new Error(`Field "${t}": Cannot cast min-value to a number.`);i=i.min(s)}if(e.dataset.validateMax){const s=parseFloat(e.dataset.validateMax);if(isNaN(s))throw new Error(`Field "${t}": Cannot cast max-value to a number.`);i=i.max(s)}return i=e.dataset.validateRequired&&"1"===e.dataset.validateRequired?i.required():i.allow("",null),i}constructor(e,t){this._emitter=(0,r.default)(),this.form=e,this.schema=t,this.joiSchema=c.getJoiSchema(t),this.form.addEventListener("submit",(e=>{this.handleSubmit(e)}))}get emitter(){return this._emitter}set emitter(e){this._emitter=e}handleSubmit(e){this.resetAllErrorMessages();const t=this.getValues(),i=this.joiSchema.validate(t,{abortEarly:!1,allowUnknown:!0});if(i.error){let t=0;for(let e=0;e<i.error.details.length;e++){const s=i.error.details[e],a=this.form.querySelector("#"+s.path[0]);if(a){this.showErrorMessage(a,s);const e=n.default.getElementPosition(a);(0===t||e.top<t)&&(t=e.top)}}if(t>0){const e=t-100;window.scrollTo({top:e>0?e:0,behavior:"smooth"})}return this.emitter.emit("error",i),e.preventDefault(),!1}return!0}getValues(){const e={};for(const t of Object.keys(this.schema)){const i=this.form.querySelector("#"+t);e[t]=i?i.value:null}return e}resetAllErrorMessages(){this.form.querySelectorAll(".invalid-feedback").forEach((e=>{e.remove()})),this.form.querySelectorAll(".is-invalid").forEach((e=>{e.classList.remove("is-invalid")}))}resetErrorMessage(e){e.classList.remove("is-invalid");const t=e.nextElementSibling;t.classList.contains("invalid-feedback")&&t.remove()}showErrorMessage(e,t){let i=t.message;e.dataset.validateErrorMessage&&(i=e.dataset.validateErrorMessage);let s,n=null;switch(t.type){case"date.less":case"date.greater":s=this.resolveReference(i),n=this.form.querySelector("#"+s),n&&(i=i.replace("ref:"+s,n.value));break;case"any.ref":if(s=this.resolveReference(i),n=this.form.querySelector("#"+s),n){const e=this.form.querySelector('[for="'+s+'"]');if(e&&e.textContent&&e.textContent.trim())i=i.replace("ref:"+s,e.textContent.trim());else{const e=n.getAttribute("id");e&&(i=i.replace("ref:"+s,e))}}}e.classList.add("is-invalid");const a=document.createElement("div");a.classList.add("invalid-feedback"),a.textContent=i,e.insertAdjacentElement("afterend",a)}resolveReference(e){const t=new RegExp(/^.*ref:([\w\-_.]+).*$/,"i").exec(e);return t&&2===t.length?t[1]:""}}t.default=c},260:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(899)),a=s(i(206)),o=s(i(608));t.default=class{constructor(){this.canAutoplayAudio=!0,this.canAutoplayVideo=!0,this.fullscreenContainer=document.querySelector(".section-fullscreen"),this.teaserContainers=document.querySelectorAll(".teaser:not(.play-in-view)"),this.playInViewContainers=document.querySelectorAll(".play-in-view"),this.playInViewOnScrollingVideos=[],o.default.audio().then((e=>(this.canAutoplayAudio=e.result,o.default.video()))).then((e=>{this.canAutoplayVideo=e.result})).then((()=>{this.initializeTeasers(),this.initializePlayInView(),this.initializeFullScreen(),window.addEventListener("scroll",(()=>{for(let e=0;e<this.playInViewOnScrollingVideos.length;e++){const t=this.playInViewOnScrollingVideos[e];this.playInView(t)}}),{capture:!1,passive:!0})}))}initializeFullScreen(){this.fullscreenContainer&&new a.default(this,this.fullscreenContainer)}initializeTeasers(){n.default.isTouch()||this.teaserContainers.forEach((e=>{const t=e.querySelector("video");t&&e.classList.contains("play-on-hover")&&(e.addEventListener("mouseenter",(()=>{t.play().catch((function(){}))})),e.addEventListener("mouseleave",(()=>{t.pause()})))}))}initializePlayInView(){const e=this;this.playInViewContainers.forEach((t=>{const i=t.querySelector("video");i&&(e.playInViewOnScrollingVideos.push(i),i.addEventListener("loadeddata",(()=>{e.playInView(i)}),!1))}))}playInView(e){const t=n.default.getScrollPosition(),i=e.getBoundingClientRect(),s=n.default.getElementPosition(e),a=s.top+.75*i.height,o=s.top+.25*i.height;t.top+n.default.getWindowDimensions().height>a&&t.top<o?e.paused&&e.play().catch((()=>{})):(t.top,e.paused||e.pause())}}},658:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(){document.addEventListener("keydown",(e=>{"Tab"===e.key?document.body.classList.add("is-tabbing"):document.body.classList.remove("is-tabbing")})),document.addEventListener("mousedown",(()=>{document.body.classList.remove("is-tabbing")})),this.initializeMainNavigation(),this.initializeModal()}initializeModal(){document.querySelectorAll(".modal").forEach((function(e){e.addEventListener("shown.bs.modal",(()=>{const t=e.querySelector(".close");t&&t.addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&e.preventDefault()}));const i=e.querySelector(".btn");i&&i.addEventListener("keydown",(e=>{"Tab"===e.key&&(e.preventDefault(),t&&t.focus())}))}))}))}initializeMainNavigation(){document.querySelectorAll(".navbar-nav > .nav-item").forEach((e=>{const t=e.querySelector(".nav-link");t&&(t.addEventListener("focus",(()=>{document.body.classList.contains("is-tabbing")&&e.classList.add("hover")})),t.addEventListener("keydown",(t=>{"Tab"===t.key&&t.shiftKey&&e.classList.remove("hover")})));const i=e.querySelectorAll(".sub-nav .nav-item .nav-link");if(i&&i.length>0){const t=i[0],s=i[i.length-1];i.forEach((i=>{i.addEventListener("keydown",(n=>{e.classList.add("hover"),"Tab"===n.key&&(i===t&&n.shiftKey&&e.classList.remove("hover"),i!==s||n.shiftKey||e.classList.remove("hover"))}))}))}}))}}},512:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(598)),a=s(i(899)),o=s(i(443)),r=s(i(106)),l=s(i(71));document.addEventListener("DOMContentLoaded",(()=>{let e=a.default.getDeviceOrientation();document.body.classList.add(e);let t="";window.addEventListener("resize",(()=>{a.default.browserEmitter.emit("resize",a.default.getWindowDimensions()),e=a.default.getDeviceOrientation(),e!==t&&(t&&document.body.classList.remove(t),e&&(document.body.classList.add(e),a.default.browserEmitter.emit("orientation",e))),t=e}),{capture:!1,passive:!0});let i=0,s=0;window.addEventListener("scroll",(()=>{const e=window.scrollY,t=window.scrollX,n={previousScrollY:i,scrollY:e,previousScrollX:s,scrollX:t};a.default.browserEmitter.emit("scroll",n),i=e,s=t}),{capture:!1,passive:!0}),r.default.initializeUnsavedFormsCheck(),window.addEventListener("beforeunload",(e=>{if(r.default.checkIfUnsavedFormsPresent()){const t=l.default.getLabel("formsChanged");return(e||window.event).returnValue=t,t}})),new n.default})),window.addEventListener("beforeunload",(()=>{const e=Math.floor((new Date).getTime()/1e3);Math.floor(o.default.getInstance().get().timestamp/1e3)<e-3600&&o.default.getInstance().reset()}))},598:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(106)),a=s(i(899)),o=s(i(921)),r=s(i(605)),l=s(i(658)),c=s(i(260)),d=s(i(678)),u=s(i(422)),h=s(i(289)),m=s(i(925)),f=s(i(749));t.default=class{constructor(){if(a.default.isEdge()){const e=document.createElement("link");e.setAttribute("href","css/browser/edge.min.css"),e.setAttribute("rel","stylesheet"),document.head.append(e)}if(a.default.isInternetExplorer()){const e=document.createElement("link");e.setAttribute("href","css/browser/ie.min.css"),e.setAttribute("rel","stylesheet"),document.head.append(e)}this.header=document.querySelector("header"),this.main=document.querySelector("main"),this.footer=document.querySelector("footer"),this.scrollToTopButton=document.querySelector(".btn-scrollto-top"),this.fixedContactButton=document.querySelector(".btn-contact-fixed"),this.searchTogglers=document.querySelectorAll(".search-toggle"),this.searchForm=document.querySelector("#searchForm"),this.navbar=document.querySelector(".navbar-nav"),this.navbarToggler=document.querySelector(".navbar-toggler");const e=document.querySelector("#current-year");e&&(e.innerText=(new Date).getFullYear().toString()),this.initializeSkipLinks(),this.initializeTouch(),this.initializeButtons(),this.initializeLightbox(),this.initializeMainNavigation(),this.initializeMain(),this.initializeBreakingNews(),this.initializeContent(),this.initializePlugins(),this.initializeModals(),new n.default,new l.default,new c.default,new d.default,o.default.initializeDataAttributeValidation(),this.fixViewHeight(),this.adjustButtonsOnScrolling(),a.default.browserEmitter.on("scroll",(e=>{this.fixViewHeight(),this.adjustButtonsOnScrolling(),this.adjustMainNavigationOnScrolling(e.previousScrollY)})),this.adjustDeviceOrientation(a.default.getDeviceOrientation()),a.default.browserEmitter.on("orientation",(e=>{this.fixViewHeight(),this.adjustDeviceOrientation(e)}))}initializeMain(){if(!this.main)return;const e=this.main.querySelectorAll(".nav-tabs-align-center");this.initializeTabsAlignment(e),e.forEach((function(e){const t=e.querySelector("img");t&&(t.onload=()=>{if(t&&e){const i=t.height-52.5,s=e.querySelector(".nav-tabs");s&&s.setAttribute("style","top:"+i+"px")}})}));const t=this.main.querySelectorAll(".teaser-text-hidden");this.initializeHiddenTeaserTextHeight(t),a.default.browserEmitter.on("resize",(i=>{this.initializeTabsAlignment(e),this.initializeHiddenTeaserTextHeight(t)}))}initializeSkipLinks(){const e=document.querySelectorAll("#skiplinks a");e&&e.forEach((e=>{const t=e.getAttribute("href");if(t&&!document.querySelector(t)){const t=e.closest("li");t&&t.remove()}}))}initializeModals(){const e=document.querySelectorAll(".modal");e&&e.forEach((e=>{e.addEventListener("show.bs.modal",(()=>{this.fixedContactButton&&this.fixedContactButton.classList.remove("animate-scale")})),e.addEventListener("hide.bs.modal",(e=>{this.adjustButtonsOnScrolling(),document.querySelectorAll("iframe").forEach((e=>{e.contentWindow&&(e.contentWindow.location.href=e.src)}))}))}))}fixViewHeight(){const e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")}adjustDeviceOrientation(e){"landscape"===e?(document.body.classList.add("landscape"),document.body.classList.remove("portrait")):(document.body.classList.remove("landscape"),document.body.classList.add("portrait"))}adjustButtonsOnScrolling(){this.fixedContactButton&&(window.pageYOffset>50?this.fixedContactButton.classList.add("animate-scale"):this.fixedContactButton.classList.remove("animate-scale"))}adjustMainNavigationOnScrolling(e){if(!this.header)return;const t=this.header.clientHeight,i=window.innerHeight/2;e>window.pageYOffset?(this.header.classList.add("header-out","header-in"),window.pageYOffset<i&&this.header.classList.remove("header-fixed-bg"),0===window.pageYOffset&&this.header.classList.remove("header-fixed","header-out","header-in")):window.pageYOffset>t&&(this.header.classList.add("header-fixed","header-fixed-bg"),this.header.classList.remove("header-in"))}initializeTouch(){a.default.isTouch()?document.body.classList.add("is-touch"):document.body.classList.add("no-touch")}initializeButtons(){"undefined"!=typeof ConsentManagerUtility&&document.querySelectorAll("[data-enable-feature]").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),t.stopPropagation();const i=e.dataset.enableFeature;i&&(ConsentManagerUtility.enableFeature(i),ConsentManagerUtility.decodePlaceholders(i))}))})),this.scrollToTopButton&&this.scrollToTopButton.addEventListener("click",(()=>{(window.document.scrollingElement||window.document.body||window.document.documentElement).scrollIntoView({block:"start",behavior:"smooth"})})),this.searchTogglers&&this.searchTogglers.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),e.classList.toggle("active");const i=document.querySelector("#searchForm");if(i){i.classList.toggle("open");const e=document.querySelector("#inputSearch");e&&e.focus()}}))}));const e=document.querySelector("#searchForm");if(e){const t=e.querySelector(".close");t&&t.addEventListener("click",(t=>{t.preventDefault(),e.classList.remove("open");const i=document.querySelectorAll(".search-toggle");i&&i.forEach((e=>{e.classList.remove("active")}))}))}}initializeLightbox(){new r.default({selector:"*[data-lightbox]"})}initializeMainNavigation(){if(this.navbar&&this.navbarToggler){if(this.header&&this.navbarToggler.addEventListener("click",(()=>{document.body.classList.toggle("main-nav-open"),this.navbarToggler&&this.navbarToggler.classList.toggle("toggled")})),window.innerWidth>991){const e=this.navbar.querySelector(".toggle-active");e&&e.classList.remove("toggle-active")}if(this.header&&this.main){const e=this.header.querySelectorAll(".navbar-nav > .nav-item-sub > .sub-toggle");e.forEach((t=>{t.addEventListener("click",(()=>{document.body.classList.contains("no-touch")||(e.forEach((e=>{e!==t&&e.parentElement&&e.parentElement.classList.remove("toggle-active")})),t.parentElement&&t.parentElement.classList.toggle("toggle-active"))}))}));const t=this.header.querySelectorAll(".sub-nav .nav-item-sub > .sub-toggle");t.forEach((e=>{e.addEventListener("click",(()=>{document.body.classList.contains("no-touch")||(t.forEach((t=>{t!==e&&t.parentElement&&t.parentElement.classList.remove("toggle-active")})),e.parentElement&&e.parentElement.classList.toggle("toggle-active"))}))})),document.body.classList.contains("no-touch")&&this.header.querySelectorAll(".navbar-nav > .nav-item-sub .sub-toggle").forEach((e=>{e.addEventListener("click",(()=>{var t;const i=e.previousElementSibling;if(i){let e=null!==(t=i.getAttribute("target"))&&void 0!==t?t:"";i.getAttribute("target")||(e="_top");const s=i.getAttribute("href");s&&window.open(s,e)}}))}));const i=this.main.querySelectorAll(".sidebar .nav .nav-item-sub > .sub-toggle");i.forEach((e=>{e.addEventListener("click",(()=>{i.forEach((t=>{t!==e&&t.parentElement&&t.parentElement.classList.remove("toggle-active")})),e.parentElement&&e.parentElement.classList.toggle("toggle-active")}))}));const s=this.header.querySelectorAll(".section-inside-navigation .card-header");s.forEach((e=>{e.addEventListener("click",(()=>{s.forEach((t=>{t!==e&&t.classList.remove("toggle-active")})),e.classList.toggle("toggle-active")}))}));const n=this.main.querySelectorAll(".section-inside-navigation .card-header");n.forEach((e=>{e.addEventListener("click",(()=>{n.forEach((t=>{t!==e&&t.classList.remove("toggle-active")})),e.classList.toggle("toggle-active")}))}))}}}initializeTabsAlignment(e){let t,i;e.forEach((e=>{if(i=e.querySelector(".tab-pane.active img"),!i)return;t=i.height-52.5;const s=e.querySelector(".nav-tabs");s&&s.setAttribute("style","top:"+t+"px")}))}initializeHiddenTeaserTextHeight(e){if(!e)return;let t,i;e.forEach((e=>{if(i=e.querySelector(".content-hidden p"),!i)return;t=i.offsetHeight;const s=e.querySelector(".overlay-text");s&&s.style.setProperty("--translateY","-"+t+"px")}))}initializeBreakingNews(){let e=[];if(m.default.existsCookie("discardedBreakingNews")){const t=m.default.getCookie("discardedBreakingNews");if(null!==t)try{e=JSON.parse(t)}catch(t){e=[]}Array.isArray(e)||(e=[])}document.querySelectorAll(".breaking-news").forEach((t=>{const i=t.dataset.id;i&&(e.includes(i)||t.classList.remove("d-none"),t.addEventListener("closed.bs.alert",(()=>{e.push(i);const t=new Date;t.setFullYear(t.getFullYear()+1),m.default.setCookie("discardedBreakingNews",JSON.stringify(e),t)})))}))}initializeContent(){document.querySelectorAll("p").forEach((e=>{const t=e.textContent;e.parentNode&&t&&""===t.trim()&&e.parentNode.removeChild(e)})),document.querySelectorAll("table.table").forEach((e=>{if(e.parentNode){const t=document.createElement("div");t.classList.add("table-responsive"),e.parentNode.insertBefore(t,e),t.appendChild(e)}}));const e=document.querySelector("body");e&&(e.classList.contains("page-article1col")||e.classList.contains("career"))&&document.querySelectorAll("section .col-lg-9").forEach((e=>{e.parentElement&&e.parentElement.classList.add("justify-content-center")}))}initializePlugins(){document.querySelectorAll('[data-ctype="sitepackage_locationmap"]').forEach((e=>{new u.default(e)})),document.querySelectorAll('[data-ctype="sitepackage_organigram"]').forEach((e=>{new h.default(e)})),document.querySelectorAll('[data-ctype="sitepackage_livefeed"]').forEach((e=>{new f.default(e)}))}}},858:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(836));t.default=class{constructor(e){this._emitter=(0,n.default)(),this._settings={},this._labels={},this._plugin=e,this._container=e.container,void 0!==this.container.dataset.settings&&this.container.dataset.settings&&(this._settings=JSON.parse(this.container.dataset.settings)),void 0!==this.container.dataset.labels&&this.container.dataset.labels&&(this._labels=JSON.parse(this.container.dataset.labels))}get emitter(){return this._emitter}set emitter(e){this._emitter=e}get plugin(){return this._plugin}get container(){return this._container}get settings(){return this._settings}get labels(){return this._labels}}},55:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(858)),a=s(i(899)),o=s(i(38)),r=s(i(71));class l extends n.default{constructor(e){super(e),this.liveFeedUids=[],this.hash="";const t=e.container.querySelector(".live-feed");if(!t)throw new Error("Live feed container missing.");this.liveFeedContainer=t;const i=e.container.querySelector(".refresh");if(!i)throw new Error("No-result container missing.");this.refreshContainer=i;const s=e.container.querySelector(".no-result");if(!s)throw new Error("No-result container missing.");this.noResultContainer=s;const n=this.liveFeedContainer.dataset.uid;if(!n||isNaN(parseInt(n)))throw new Error("Content UID missing.");this.uid=parseInt(n),this.refresh(),setInterval((()=>{this.refresh()}),1e4)}refresh(){this.hash&&this.refreshContainer.classList.remove("d-none"),fetch(a.default.getUrl()+"/?sitepackage-api[endpoint][]=live-feed&uid="+this.uid).then((e=>e.json())).then((e=>{this.refreshContainer.classList.add("d-none"),0===e.liveFeed.length?this.noResultContainer.classList.remove("d-none"):(this.noResultContainer.classList.add("d-none"),this.inject(e.liveFeed),this.hash=e.hash)}))}inject(e){this.liveFeedContainer.innerHTML="";const t=r.default.getLabel("new");for(const i of e){const e=document.createElement("section");e.classList.add("section-text");let s=!1;-1===this.liveFeedUids.indexOf(i.uid)&&(s=!0,this.liveFeedUids.push(i.uid));let n="";if(s&&this.hash&&(n+=`<span class="text-bg-bundesheer">${t}</span> `,e.classList.add("new")),i.datetime&&(n+=i.datetime),i.title&&(n+=`: ${i.title}`),n&&(e.innerHTML+="<h3>"+n+"</h3>"),i.description&&(e.innerHTML+=i.description),i.imageVariants&&i.imageVariants.default){const t=new o.default(i.imageVariants);e.innerHTML+='<section class="section-visuals">'+t.render()+"</section>"}this.liveFeedContainer.append(e)}}}t.default=l},749:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(437)),a=s(i(55));class o extends n.default{constructor(e){super(e),this.initializeAction(),this.emitter.emit("ready")}initializeAction(){this.action=new a.default(this)}}t.default=o},422:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(437)),a=s(i(569));class o extends n.default{constructor(e){super(e),this.initializeAction(),this.emitter.emit("ready")}initializeAction(){this.action=new a.default(this)}}t.default=o},569:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(858)),a=new(i(311).Loader)({apiKey:Globals.google.mapsApiKey,version:"weekly"});class o extends n.default{constructor(e){super(e),this.mapContainer=null,this.mapId="",this.map=null,this.currentInfoWindow=null;const t=()=>{var e;if(this.mapContainer=this.plugin.container.querySelector(".map"),this.mapContainer){if(this.mapId=null!==(e=this.mapContainer.getAttribute("id"))&&void 0!==e?e:"",!this.mapId)throw new Error("Map ID is missing.");this.map=new google.maps.Map(document.getElementById(this.mapId),{zoom:4,center:{lat:48.210033,lng:16.363449}}),this.addLocations()}},i=()=>{a.load().then((e=>{t()})).catch((e=>{console.log("Error during Maps Api initialization",e)}))};ConsentManagerUtility.addEventListener("featureChanged",(e=>{"map"===e.feature.cookieName&&e.enabled&&i()})),ConsentManagerUtility.isFeatureEnabled("map")&&i()}addLocations(){if(!this.mapContainer)return;const e=this.mapContainer.dataset.locations;if(!e)return;const t=JSON.parse(e);if(!t)return;const i=new google.maps.LatLngBounds;t.forEach((e=>{if(e.latitude&&e.longitude){const t=new google.maps.Marker({position:{lat:e.latitude,lng:e.longitude},map:this.map,title:e.title});i.extend(t.getPosition());const s=new google.maps.InfoWindow({content:`\n                      <div class='map-info-window-content'>\n                        ${e.overlayTitle?`<h3 class='title'>${e.overlayTitle}</h3>`:""}\n                        ${e.title?`<h4 class='title'>${e.title}</h4>`:""}\n                        ${e.overlayDescription?e.overlayDescription:""}\n                        ${e.description?e.description:""}\n                        ${e.address?`<p>${e.address}</p>`:""}\n                      </div>\n                    `});t.addListener("click",(()=>{this.currentInfoWindow&&this.currentInfoWindow.close(),s.open(this.map,t),this.currentInfoWindow=s}))}})),this.map&&this.map.fitBounds(i)}}t.default=o},761:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(858));class a extends n.default{constructor(e){super(e),this.horizontalLines=this.container.querySelectorAll(".horizontal-line"),this.verticalLines=this.container.querySelectorAll(".vertical-line"),this.collapseElements=this.container.querySelectorAll(".collapse"),this.animationFrameId=void 0,this.initializeAction(),this.emitter.emit("ready")}initializeAction(){this.collapseElements.forEach((e=>{e.addEventListener("show.bs.collapse",(e=>{this.startAdjustLineGridAnimation()})),e.addEventListener("hide.bs.collapse",(e=>{this.startAdjustLineGridAnimation()})),e.addEventListener("shown.bs.collapse",(e=>{this.adjustLineGrid(),this.stopAdjustLineGridAnimation()})),e.addEventListener("hidden.bs.collapse",(e=>{this.adjustLineGrid(),this.stopAdjustLineGridAnimation()}))})),window.addEventListener("resize",(()=>{this.adjustLineGrid()})),this.adjustLineGrid()}startAdjustLineGridAnimation(){this.stopAdjustLineGridAnimation(),this.animationFrameId=window.requestAnimationFrame(this.adjustLineGridAnimation.bind(this))}stopAdjustLineGridAnimation(){void 0!==this.animationFrameId&&(window.cancelAnimationFrame(this.animationFrameId),this.animationFrameId=void 0)}adjustLineGridAnimation(){this.adjustLineGrid(),this.animationFrameId=window.requestAnimationFrame(this.adjustLineGridAnimation.bind(this))}adjustLineGrid(){this.horizontalLines.forEach((e=>{const t=e.parentNode.querySelectorAll("button, span")[0];e.style.top=t.offsetHeight/2+"px"})),this.verticalLines.forEach((e=>{const t=e.parentNode,i=t.getElementsByTagName("ul")[0],s=i.children[i.children.length-1],n=t.offsetHeight,a=s.querySelectorAll("button, span")[0],o=n-(s.offsetHeight-a.offsetHeight/2);e.style.height=`${o}px`})),this.showLines()}hideLines(){this.horizontalLines.forEach((e=>{e.classList.remove("show")})),this.verticalLines.forEach((e=>{e.classList.remove("show")}))}showLines(){this.horizontalLines.forEach((e=>{e.classList.add("show")})),this.verticalLines.forEach((e=>{e.classList.add("show")}))}}t.default=a},289:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(437)),a=s(i(761));class o extends n.default{constructor(e){super(e),this.initializeAction(),this.emitter.emit("ready")}initializeAction(){this.action=new a.default(this)}}t.default=o},437:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(836));t.default=class{constructor(e){this._emitter=(0,n.default)(),this._action=null,this._container=e}get emitter(){return this._emitter}set emitter(e){this._emitter=e}get container(){return this._container}get action(){return this._action}set action(e){this._action=e}}},925:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class i{static setCookie(e,t,i=null,s="/"){let n=e+"="+t;return null!==i&&(n+=";expires="+i.toUTCString()),n+=";path="+s,document.cookie=n,n}static getCookie(e){if(!i.existsCookie(e)||!document.cookie)return null;const t=document.cookie.split(";");for(const i of t){const t=i.split("=");let s=t.shift();if(s){s=s.trim();const i=t.join("=").trim();if(s===e)return i}}return null}static deleteCookie(e){return!!i.existsCookie(e)&&(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/",!0)}static existsCookie(e){return document.cookie.indexOf(e+"=")>=0}}t.default=i},899:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(836));class a{static getGlobalProperty(e){if(void 0===Globals||!Globals)throw new Error("Globals are missing.");if(void 0===Globals[e]||!Globals[e]||!Globals.hasOwnProperty(e))throw new Error("Property "+e+" not found in globals.");return Globals[e]}static get pageUid(){return void 0===this._pageUid&&(this._pageUid=parseInt(a.getGlobalProperty("pageUid"))),this._pageUid}static get pages(){return void 0===this._pages&&(this._pages=a.getGlobalProperty("pages"),Object.keys(this._pages).forEach((e=>{this._pages[e]=parseInt(this._pages[e].toString())}))),this._pages}static get rootline(){return void 0===this._rootline&&(this._rootline=a.getGlobalProperty("rootline")),this._rootline}static get browserEmitter(){return this._browserEmitter}static isEdge(){return window.navigator.userAgent.indexOf("Edge/")>0}static isInternetExplorer(){const e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0}static getUrl(){let e=window.location.href;e=e.split("?")[0],e=e.split("#")[0];const t=e.length;return"/"===e.charAt(t-1)&&(e=e.substring(0,t-1)),e}static isTouch(){let e;if("maxTouchPoints"in navigator)e=navigator.maxTouchPoints>0;else if("msMaxTouchPoints"in navigator)e=navigator.msMaxTouchPoints>0;else{const t=void 0!==window.matchMedia&&window.matchMedia("(pointer:coarse)");if(t&&"(pointer:coarse)"===t.media)e=!!t.matches;else if("orientation"in window)e=!0;else{const t=navigator.userAgent;e=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(t)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(t)}}return e}static getDeviceOrientation(){return window.innerHeight>window.innerWidth?"portrait":"landscape"}static getWindowDimensions(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}static getScrollPosition(){return{top:document.documentElement.scrollTop||document.body.scrollTop,left:document.documentElement.scrollLeft||document.body.scrollLeft}}static getElementPosition(e){const t=e.getBoundingClientRect(),i=a.getScrollPosition();return{top:t.top+i.top,left:t.left+i.left}}static setVideoSourceByDeviceOrientation(e,t){let i="",s="";if(e){if(window.outerWidth/window.outerHeight>1?(void 0!==e.dataset.sourceLandscape&&e.dataset.sourceLandscape&&(i=e.dataset.sourceLandscape),void 0!==e.dataset.posterLandscape&&e.dataset.posterLandscape&&(s=e.dataset.posterLandscape)):(void 0!==e.dataset.sourcePortrait&&e.dataset.sourcePortrait&&(i=e.dataset.sourcePortrait),void 0!==e.dataset.posterPortrait&&e.dataset.posterPortrait&&(s=e.dataset.posterPortrait)),s&&e.setAttribute("poster",s),""===i)return;void 0!==t&&t&&e.pause(),e.src="";let n=e.querySelector("source");n&&n.remove(),n=document.createElement("source"),n.setAttribute("type","video/mp4"),n.setAttribute("src",i),e.append(n),e.src=i}}static addTimedClass(e,t,i=1e3){e.classList.add(t),setTimeout((()=>{e.classList.remove(t)}),i)}static debouncedSearch(e,t,i=500,s=null){void 0===i&&(i=500);let n=!1,a=null;e.addEventListener("keyup",(o=>{var r;r=o.keyCode,(-1!==[8,13,16,17,32,46,106,109,173,110,188,59,192,222].indexOf(r)||r>=48&&r<=57||r>=96&&r<=105||r>=65&&r<=90)&&!n&&(null!==a&&clearTimeout(a),a=setTimeout((()=>{let i=e.value;i=s?s(i):i.toLowerCase().trim(),t(i),n=!1}),i),n=!0)}))}static copyToClipboard(e){if(navigator.clipboard)navigator.clipboard.writeText(e);else{const t=document.createElement("textarea");t.style.top="0",t.style.left="0",t.style.position="fixed",t.value=e,document.body.appendChild(t),t.focus(),t.select();try{if(!document.execCommand("copy"))throw new Error("Copying to clipboard failed.")}catch(e){throw new Error("Browser does not support clipboard interaction.")}t.remove()}}}t.default=a,a._browserEmitter=(0,n.default)()},71:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(899));t.default=class{static get language(){return void 0===this._language&&(this._language=n.default.getGlobalProperty("language")),this._language}static get languageId(){return void 0===this._languageId&&(this._languageId=parseInt(n.default.getGlobalProperty("languageId"))),this._languageId}static get labels(){return void 0===this._labels&&(this._labels=n.default.getGlobalProperty("labels")),this._labels}static getLabel(e){return this.labels.hasOwnProperty(e)?this.labels[e]:""}}},443:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=s(i(836));class a{static getInstance(){return void 0===a._instance&&(a._instance=new a),a._instance}constructor(){this._storageKey="sitepackage",this._settings=null,this._changeEvent=(0,n.default)(),this.settings=this.get()}get storageKey(){return this._storageKey}get settings(){return this._settings}set settings(e){this._settings=e}get changeEvent(){return this._changeEvent}get(){let e=null;const t=localStorage.getItem(this.storageKey);if(t)try{t&&(e=JSON.parse(t)),null===e||e.hasOwnProperty("version")||(e=this.reset())}catch(t){e=this.reset()}else e=this.reset();if(null===e)throw new Error("Could not fetch settings.");return e.version!==a.VERSION&&(e=this.reset()),e}set(e){void 0!==localStorage.getItem(this.storageKey)&&localStorage.getItem(this.storageKey)||this.reset(),localStorage.setItem(this.storageKey,JSON.stringify(e)),this.settings=e,this.changeEvent.emit("change",this.settings)}getDefaultSettings(){return{version:a.VERSION,timestamp:(new Date).getTime(),plugins:{},mask:{}}}reset(){const e=this.getDefaultSettings();return localStorage.setItem(this.storageKey,JSON.stringify(e)),this.settings=e,this.changeEvent.emit("change",this.settings),e}delete(){const e=this.getDefaultSettings();return localStorage.removeItem(this.storageKey),this.settings=this.getDefaultSettings(),this.changeEvent.emit("change",this.settings),e}}t.default=a,a.VERSION=1},605:e=>{e.exports=s},703:e=>{e.exports=i},836:t=>{t.exports=e},229:e=>{e.exports=t}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}return o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(512)})()));
//# sourceMappingURL=website.min.js.map