/*! buildTime: 2026-04-15T13:25:24.056Z */
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=2031)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatJsonWithHtmlEscape=t.getOSAndBrowser=t.getCustomColors=t.transformQuotationMarksInLinkTitles=t.getCmsColumnWidth=t.getClosestPrefixedClassValue=t.getCurrentDisplayLanguage=t.stringEndsWith=t.addNewWindowHintToSubLinks=t.addNewWindowHintToLink=t.buildImageUrl=t.getCurrentUrlWithCmsLanguageId=t.getCMSLanguageId=t.selectorMatches=t.getLanguageById=t.sanitizeUrl=t.fetchDotCmsContentApi=t.getOrdinalSuffix=t.fetchMovingImageItems=t.movingImageQuery=t.getInitials=t.formatFileSize=t.callCallbackFunction=t.mailToName=t.validCMSId=t.toDotCMSDate=t.getLocalizedTextCloseOverlay=t.getLocalizedLabelShareButton=t.findParentWithDynamicClass=t.hasFocus=t.hasHover=t.wrapElement=t.unifyHashValue=t.toggleClass=t.setElementPositionRelative=t.replacePlaceholder=t.removeClass=t.random2digits=t.getUTCTime=t.getLocalTime=t.random=t.querySelectorArray=t.convertTimeToIso=t.getLanguageByCode=t.getCurrentLanguageCode=t.getCurrentLanguage=t.isNodeType=t.isInViewport=t.getSiblingIndex=t.getParents=t.findParentNodeType=t.findParentAttr=t.findParent=t.removeChild=t.isTagInChildren=t.findChild=t.isNumber=t.fromDotCMSDate=t.fetchOptions=t.insertExternalScript=t.hasClass=t.getWindowSize=t.getWindowScroll=t.getViewportWidth=t.getProjectConfigValue=t.getProjectConfig=t.getLocalizedTitleButtons=t.getLocalizedLabelButtons=t.generateSVGIcon=t.dispatchCustomEvent=t.disablePageScroll=t.createId=t.fromCMSDate=t.convertDateToTime=t.convertDate=t.checkKeyCode=t.addLinks=t.showLogging=t.log=t.addClass=t.fetchUniqueJsonp=t.PromiseTimeoutError=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=t.fetchUniqueJsonp=function(){var e=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function i(r,o){try{var a=t[r](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){i("next",e)},function(e){i("throw",e)});e(s)}("next")})}}(regeneratorRuntime.mark(function e(t){var n,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"~callbackFunctionName~";return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t,i="jsonp_"+(new Date).getTime().toString(),n.indexOf(s)>=0&&(n=n.replace(s,i)),o=(0,u.default)(n,r({},a,{jsonpCallbackFunction:i})),e.abrupt("return",o);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}();t.timeoutPromise=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e4,t=arguments[1];return new Promise(function(n,i){window.setTimeout(function(){i(new A("Promise timed out after "+e+"ms."))},e),t.then(n,i)})},t.retrieveOauth2UserDataObject=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!window.config||void 0===window.config.oauth2UserData)throw new Error("Tried to retrieve the Oauth2UserData object but no configuration was found.");if(null!==window.config.oauth2UserData.object)return void I(e,[window.config.oauth2UserData.object]);var n=window.config.oauth2UserData.url,i=window.config.oauth2UserData.authenticateUrl,r=window.config.oauth2UserData.config.jsonpOptions;if(!n||""===n||!i||""===i)throw new Error("Tried to retrieve the Oauth2UserData object but URLs were not set.");o(n,r).then(function(e){return e.json()}).then(function(t){window.config.oauth2UserData.object=t,I(e,[t])}).catch(function(){if(window.location===window.parent.location){var e="";t&&""!==t&&(e="?redirectAfterCallback="+encodeURIComponent(t)),window.location.href=""+i+e}})},t.getUserDataValue=function(e){var t=null,n=window.config.oauth2UserData.object;if(n){if(!(t=n[e])){var i=n.graphData;i&&(t=i[e])}if(!t){var r=n.ldapData;r&&(t=r[e])}}return t};var a=d(n(5)),s=d(n(23)),l=n(24),u=d(n(19)),c=d(n(4));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){
if(e)if(NodeList.prototype.isPrototypeOf(e)||Array.prototype.isPrototypeOf(e))(0,a.default)(e).forEach(function(e){return h(e,t)});else{var n=(e.getAttribute("class")||"").replace(/\n/g,"").split(" ").filter(Boolean).filter(function(e){return e!==t});n.push(t),e.setAttribute("class",n.join(" "))}}function f(e,t){if(e)if(NodeList.prototype.isPrototypeOf(e)||Array.prototype.isPrototypeOf(e))(0,a.default)(e).forEach(function(e){return f(e,t)});else{var n=(e.getAttribute("class")||"").replace(/\n/g,"").split(" ").filter(Boolean).filter(function(e){return e!==t});e.setAttribute("class",n.join(" "))}}function m(e,t){return!!e&&(e.getAttribute("class")||"").split(" ").some(function(e){return e===t})}function v(){var e=new Date;return e.getTime()+6e4*e.getTimezoneOffset()}function p(e,t){var n=e.parentNode;return n===document?null:(n&&(n.hasAttribute(t)||(n=p(n,t))),n||null)}function y(e,t){var n=e.closest("[class*="+t+"]");if(null===n)return null;var i=new RegExp("^"+t+"(.*)"),r=Array.from(n.classList).map(function(e){return e.match(i)}).filter(Boolean);return r.length<1?null:r[0][1]}function g(){var e=window.location!==window.parent.location;if(""===document.documentElement.lang&&e)try{return window.parent.document.documentElement.lang}catch(e){return console.warn("Language could not be loaded:",e),"en"}return document.documentElement.lang}function b(){switch(document.documentElement.lang){case"de":return 3;case"en":default:return 1}}function E(){var e=document.documentElement.dataset.cmsLanguageId;return void 0!==e&&""!==e?e:b()}function w(){var e=document.documentElement||document.body;return{width:e.clientWidth,height:e.clientHeight}}function S(){var e=window;return{x:e.pageXOffset||e.scrollX||0,y:e.pageYOffset||e.scrollY||0}}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.random()*(t-e)+e}function T(){return Math.round(C(10,100))}function _(e,t){var n=[],i=void 0;return"DE"===e.toUpperCase()?(n=t.split("."),i=new Date(parseInt(n[2],10),parseInt(n[1],10)-1,parseInt(n[0],10))):i=new Date,i}function k(e){return void 0!==window.config&&void 0!==window.config[e]?window.config[e]:{}}HTMLElement.prototype.getCompatibleBoundingClientRect=function(){var e=HTMLElement.prototype.getBoundingClientRect;return function(){try{return e.apply(this)}catch(e){return{left:"",right:"",top:"",bottom:""}}}}();var A=t.PromiseTimeoutError=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.message=e,n.name="PromiseTimeoutError",n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Error),t}();function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;"function"==typeof e?null!==t?e.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t)):e():console.error("Supplied callback function for `callCallbackFunction` is not a real function.")}var O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:25,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"English",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"createdDate",s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"desc",l=arguments[8],u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"title";return(arguments.length>10&&void 0!==arguments[10]?arguments[10]:"/api/movingimage/videos")+"?"+("videoManagerId="+e)+(null!==t?"&channelId="+t:"")+("&limit="+n)+("&offset="+i)+("&language="+r)+(null!==o?"&ids="+o:"")+("&sortBy="+a)+("&sortDirection="+s)+(""!==l?"&searchTerm="+l+"&searchField="+u:"")};function M(e){var t=e.getAttribute("title");null===t&&(t="");var n=document.querySelector("body").dataset.textNewWindowHint;void 0===n&&(n="opens in new window"),t.includes(n)||t.includes("new window")||(t=(t=t.trim())+" – "+n,e.setAttribute("title",t))}t.addClass=h,t.log=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;"#debug"!==window.location.hash&&"#debug2"!==window.location.hash||("#debug2"===window.location.hash&&(window.logging="after"),window.logging&&"after"===window.logging?n?console.log("["+t+", "+(0,
c.default)().format("HH:mm:ss")+"] => ",e,n):console.log("["+t+", "+(0,c.default)().format("HH:mm:ss")+"] => ",e):(window.logging||(window.logging=[]),window.logging.push({sender:t,logMsg:e,logObj:n})))},t.showLogging=function(){if("#debug"===window.location.hash){window.logging.sort(function(e,t){return e.sender<t.sender?-1:e.sender>t.sender?1:0});var e=null;window.logging.forEach(function(t,n){t.sender!==e&&(null!==e&&console.groupEnd(),console.groupCollapsed(t.sender+" ["+(0,c.default)().format("HH:mm:ss")+"]")),e=t.sender,t.logObj?console.log(t.logMsg,t.logObj):console.log(t.logMsg),n===window.logging.length-1&&console.groupEnd()}),window.logging="after"}},t.addLinks=function(e){var t=/^http(s?):\/\/(.*)$/gi;return e.split(" ").flatMap(function(e){if(e.includes("<br>")){for(var t=e.split("<br>"),n=1;n<t.length;n+=2)t.splice(n,0,"<br>");return t}return[e]}).map(function(e){return e.replace(t,function(e){return'<a href="'+e+'" target="_blank" rel="nofollow">'+e+"</a>"})}).join(" ")},t.checkKeyCode=function(e,t){return(e.keyCode||e.which)===t},t.convertDate=_,t.convertDateToTime=function(e,t){return _(e,t).getTime()},t.fromCMSDate=function(e){if(!e||!e.toString().match(/^\d{14}$/))return null;var t=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/.exec(e),n=new Date(t[1],parseInt(t[2],10)-1,t[3],t[4],t[5],t[6]);return n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n},t.createId=function(){var e=(new Date).getTime();return""+T()+e+T()},t.disablePageScroll=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.querySelector("body");e?h(t,"disable-scroll"):f(t,"disable-scroll")},t.dispatchCustomEvent=function(e,t){var n=new s.default(e,{detail:t});window.dispatchEvent(n)},t.generateSVGIcon=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r="";t&&(r=' class="'+t+'"');var o="";n&&(o="focusable="+n);var a="";return i&&(a="aria-label="+i),"<svg"+r+" "+o+" "+a+'><use xlink:href="#svgsymbol-'+e+'" /></svg>'},t.getLocalizedLabelButtons=function(e){var t="previous",n="next",i="data-text-button-prev";if(e.hasAttribute(i))t=e.getAttribute(i),n=e.getAttribute("data-text-button-next");else{var r=p(e,i);r&&r.getAttribute(i)&&(t=r.getAttribute(i),n=r.getAttribute("data-text-button-next"))}return{textPrev:t,textNext:n}},t.getLocalizedTitleButtons=function(e){var t="previous slide item",n="next slide item",i="data-text-button-prev-description";if(e.hasAttribute(i))t=e.getAttribute(i),n=e.getAttribute("data-text-button-next-description");else{var r=p(e,i);r&&r.getAttribute(i)&&(t=r.getAttribute(i),n=r.getAttribute("data-text-button-next-description"))}return{titlePrev:t,titleNext:n}},t.getProjectConfig=k,t.getProjectConfigValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=k(e);if(0===Object.keys(i).length)return n;if(""===t)return i;var r=i;return t.split(".").forEach(function(e){r=void 0!==r[e]?r[e]:n}),void 0===r||null===r?n:r},t.getViewportWidth=function(e,t){var n=e.filter(function(e){return e.name===t});return 1===n.length?n[0].width:0},t.getWindowScroll=S,t.getWindowSize=w,t.hasClass=m,t.insertExternalScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=document.createElement("script"),i=document.querySelector("head");n.src=e,t&&(n.innerHTML=t),i.appendChild(n)},t.fetchOptions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"GET",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=new Headers;n||(r.append("cache-control","no-cache"),r.append("pragma","no-cache"));var o={method:e,redirect:"manual",cache:"no-store",headers:r};return t&&(o.body=t),n||(i||(o.credentials="include"),o.mode="no-cors"),o},t.fromDotCMSDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";if(i=t?/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})\.(0|\d{2}|\d{3})$/,void 0!==e&&(e=e.toString()),!e||!e.match(i))return null;var r=i.exec(e),o=new Date(parseInt(r[1],10),parseInt(r[2],10)-1,parseInt(r[3],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10));return n||o.setTime(o.getTime()-60*o.getTimezoneOffset()*1e3),o},t.isNumber=function(e){return!isNaN(e-0)&&null!==e&&""!==e&&!1!==e},t.findChild=function(e,t){return e.querySelector(t)},t.isTagInChildren=function(e,t){return e.querySelectorAll(t).length>0},t.removeChild=function(e){return e.parentNode.removeChild(e)},t.findParent=function e(t,n){var i=t.parentNode;return i&&(i.classList&&i.classList.contains(n)||(i=e(i,n))),i||null},t.findParentAttr=p,t.findParentNodeType=function e(t,n){
var i=t.parentNode;return i&&i.nodeName.toLowerCase()!==n.toLowerCase()&&(i=e(i,n)),i||null},t.getParents=function(e){for(var t=[],n=e;n&&n!==document;)t.push(n),n=n.parentNode||n.parentElement||n.correspondingUseElement;return t},t.getSiblingIndex=function(e){return[].slice.call(e.parentNode.children).indexOf(e)},t.isInViewport=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.3,i=!1,r=w(),o=r.height*n,a=t.y-o,s=t.y+r.height+o,l=e.getCompatibleBoundingClientRect(),u=l.top+t.y;return u<s&&u+l.height>a&&(i=!0),i},t.isNodeType=function(e,t){return null!==e&&e.nodeName.toLowerCase()===t},t.getCurrentLanguage=g,t.getCurrentLanguageCode=b,t.getLanguageByCode=function(e){switch(parseInt(e,10)){case 3:return"de";case 1:default:return"en"}},t.convertTimeToIso=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"00:00",n="",i="00:00:00";switch(e){case"CEST":case"MESZ":n="+02:00";break;case"MEZ":case"CET":i="-01:00";break;default:n="+00:00"}var r=t.split(":").length;return 0===r&&(i="00:00:00"),1===r&&(i=t+":00:00"),2===r&&(i=t+":00"),i+".000"+n},t.querySelectorArray=function(e,t){try{return(0,a.default)(e.querySelectorAll(t))}catch(e){return[]}},t.random=C,t.getLocalTime=function(e){return v()+36e5*e},t.getUTCTime=v,t.random2digits=T,t.removeClass=f,t.replacePlaceholder=function(e,t,n){return n||""===n?e.replace(new RegExp("~"+t+"~","gmi"),n):e},t.setElementPositionRelative=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e,r=t.getBoundingClientRect(),o=S(),a=w(),s=r.top+r.height+(n.ignoreScroll?0:o.y),l=a.height-(s+r.height),u=r.left+o.x,c=s,d=u,h=a.width-(u+r.width),f=l;switch(c+=n.top||0,d+=n.left||0,h+=n.right||0,f+=n.bottom||0,i.style.top=c+"px",i.style.left=d+"px",n.alignOverride){case"right":i.style.left="auto",i.style.right=h+"px";break;case"bottom":i.style.top="auto",i.style.bottom=f+"px"}},t.toggleClass=function(e,t){e&&(m(e,t)?f(e,t):h(e,t))},t.unifyHashValue=function(e){var t={"ä":"ae","ü":"ue","ö":"oe","ß":"ss"},n=new RegExp("["+Object.keys(t).join("")+"]","g");return encodeURI((0,l.remove)(e.toLocaleLowerCase().replace(/[.,;?"„‚‘“»›‹«’”!$%*+#/]/g,"").trim().replace(/[\s\u002d\u058a\u05be\u1400\u1806\u2010\u2011\u2012\u2013\u2014\u2015\u2e17\u2e1a\u2e3a\u2e3b\u2e40\u301c\u3030\u30a0\ufe31\ufe32\ufe58\ufe63\uff0d\ud803\udead]+/g,"-").replace(n,function(e){return t[e]})))},t.wrapElement=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=document.createElement(t);return n&&h(i,n),e.parentNode.insertBefore(i,e),i.appendChild(e),i},t.hasHover=function(e){return!!e&&e.parentElement.querySelector(":hover")===e},t.hasFocus=function(e){return!!e&&e.contains(document.querySelector(":focus"))},t.findParentWithDynamicClass=function e(t,n){var i=t.parentNode;return i&&(i.className&&i.className.match(n)||(i=e(i,n))),i||null},t.getLocalizedLabelShareButton=function(e){var t="Share";if(e.hasAttribute("data-text-share"))t=e.getAttribute("data-text-share");else{var n=p(e,"data-text-share");n&&n.getAttribute("data-text-share")&&(t=n.getAttribute("data-text-share"))}return t},t.getLocalizedTextCloseOverlay=function(e){var t="close overlay",n="data-text-overlay-close-description";if(e.hasAttribute(n))t=e.getAttribute(n);else{var i=p(e,n);i&&i.getAttribute(n)&&(t=i.getAttribute(n))}return t},t.toDotCMSDate=function(e){return e.getUTCFullYear()+"-"+("0"+(e.getUTCMonth()+1)).slice(-2)+"-"+("0"+e.getUTCDate()).slice(-2)+" "+("0"+e.getUTCHours()).slice(-2)+":"+("0"+e.getUTCMinutes()).slice(-2)+":"+("0"+e.getUTCSeconds()).slice(-2)},t.validCMSId=function(e){return e.match(/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}/g)},t.mailToName=function(e){return e.split("@")[0].split(/[-_.@\d]/g).filter(function(e){return e.length>2}).map(function(e){return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e)}).join(" ")},t.callCallbackFunction=I,t.formatFileSize=function(e){if(0===e)return"0 Bytes";var t=parseInt(""+Math.floor(Math.log(e)/Math.log(1024)),10),n=Math.pow(1024,t);return Math.round(e/n).toFixed(2)+" "+["Bytes","KB","MB","GB","TB"][t]},t.getInitials=function(e){var t=e?e.match(/([A-Z])/g):[];return t&&t.length?""+t.shift()+(t.pop()||""):""},t.movingImageQuery=O,t.fetchMovingImageItems=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:25,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"English",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"createdDate",l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"desc",u=arguments[9],c=arguments[10],d=arguments.length>11&&void 0!==arguments[11]?arguments[11]:"/api/movingimage/videos"
;return fetch(O(t,n,i,r,o,a,s,l,u,c,d)).then(function(e){return e.json()}).then(function(t){I(e,[t])}).catch(function(e){console.warn("Something went wrong while retrieving the Moving Image query",e)})},t.getOrdinalSuffix=function(e){var t=["th","st","nd","rd","."],n=e%10;switch(b()){case 1:return n>0&&n<4?""+e+t[n]:""+e+t[0];case 3:default:return""+e+t[4]}},t.fetchDotCmsContentApi=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"C03News",n=arguments[1],r=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,u=a.defaultParams,c=[],d=!0,h=!1,f=void 0;try{for(var m,v=Object.entries(u)[Symbol.iterator]();!(d=(m=v.next()).done);d=!0){var p=i(m.value,2),y=p[0],g=p[1];"years"!==y&&"months"!==y&&g.length>0&&c.push("("+g.map(function(e){return"categories:"+e}).join(" ")+")")}}catch(e){h=!0,f=e}finally{try{!d&&v.return&&v.return()}finally{if(h)throw f}}e=c.length>0?" +("+c.join(" && ")+")":"";var E="",w="desc";if(Object.entries(a).length>0){if(a.filterParams){var S=[];""!==a.filterParams.types&&S.push(a.filterParams.types),""!==a.filterParams.tags&&S.push(a.filterParams.tags),""!==a.filterParams.topics&&S.push(a.filterParams.topics);var C="";S.forEach(function(e){C+=" +(categories:"+e+")"}),S.length>0&&(E+=C),""!==a.filterParams.years?""!==a.filterParams.months?E+=" +"+t+".publishDate:%5B"+a.filterParams.years[0]+a.filterParams.months[0]+"000000 to "+a.filterParams.years[1]+a.filterParams.months[1]+"235959%5D":E+=" +"+t+".publishDate:%5B"+a.filterParams.years[0]+"0101000000 to "+a.filterParams.years[1]+"1231235959%5D":E+=" +"+t+".publishDate:%5B"+a.defaultParams.years[0]+"0101000000 to "+a.defaultParams.years[1]+"1231235959%5D"}if(a.hosts)if(1===a.hosts.length)E+=" +conhost:"+a.hosts;else{var T=" +(";a.hosts.forEach(function(e){T+="conhost:"+e+" "}),E+=T+=")"}if(a.folders&&Array.isArray(a.folders))if(1===a.folders.length)E+=" +conFolder:"+a.folders[0];else{var _=" +(";a.folders.forEach(function(e){_+="conFolder:"+e+" "}),E+=_+=")"}a.sorting&&(w=a.sorting)}var k="";o&&(k="+catchall:*"+encodeURIComponent(o)+"*");var A="/api/content"+(n?"/limit/"+n:"")+(n?"/offset/"+r:"")+"/render/false/type/json/query/",I=(e?e+" ":"")+(E?E+" ":"")+(k?k+" ":""),O="+languageId:"+(s||b());return l?(O="",""+A.trim()+l.trim()+"%20&&%20"+I.trim()+O+"%20/orderby/"+("C03News"===t?t+".publishDate":"modDate")+"%20"+w):""+A+I+O+"%20+deleted:false%20/orderby/"+("C03News"===t?t+".publishDate":"modDate")+"%20"+w},t.sanitizeUrl=function(e){var t=new RegExp(/^(https?:\/\/)/),n=e;return e&&!t.test(e)&&(n="https://"+e),n},t.getLanguageById=function(e){switch(e){case 3:return"de";case 1:default:return"en"}},t.selectorMatches=function(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(e){return-1!==[].indexOf.call(document.querySelectorAll(e),this)}).call(e,t)},t.getCMSLanguageId=E,t.getCurrentUrlWithCmsLanguageId=function(){var e=new URLSearchParams(window.location.search);return e.set("language_id",E()),window.location.protocol+"//"+window.location.host+window.location.pathname+"?"+e.toString()},t.buildImageUrl=function(e){return"assets/images/"+e+"/fileAsset/filter/Resize,Jpeg/resize_w/"+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:640)+"/"+e+".jpg?language_id="+E()},t.addNewWindowHintToLink=M,t.addNewWindowHintToSubLinks=function(e){e.querySelectorAll('a[target="_blank"], a[href^="mailto:"]').forEach(function(e){return M(e)})},t.stringEndsWith=function(e,t){return e.substr(-t.length)===t},t.getCurrentDisplayLanguage=function(){return g()},t.getClosestPrefixedClassValue=y,t.getCmsColumnWidth=function(e){return parseInt(y(e,"cms-column-"),10)},t.transformQuotationMarksInLinkTitles=function(e){var t=e.querySelectorAll("a");t&&t.length&&t.forEach(function(e){var t=e.hasAttribute("title"),n=e.querySelector(".hidden-title");t&&n&&n.innerHTML.includes('"')&&e.setAttribute("title",n.innerHTML)})},t.getCustomColors=function(e,t,n){(t.customBackgroundColor||n)&&e.setProperty("--highlightBackground",n||t.customBackgroundColor),t.customTextColor&&e.setProperty("--customTextColor",t.customTextColor),t.customButtonTextColor&&e.setProperty("--customButtonTextColor",t.customButtonTextColor),t.customButtonBackgroundColor&&e.setProperty("--customButtonBackgroundColor",t.customButtonBackgroundColor)},t.getOSAndBrowser=function(){var e=[{name:"Firefox",value:"Firefox"},{name:"Opera",value:"OPR"},{name:"Edge",value:"Edg"},{name:"Chrome",value:"Chrome"},{name:"Safari",value:"Safari"}],t=[{name:"Android",value:"Android"},{name:"iPhone",value:"iPhone"},{name:"iPad",value:"Mac"},{name:"Macintosh",value:"Mac"},{name:"Linux",value:"Linux"},{name:"Windows",value:"Win"}],n="",i="",r=navigator.userAgent;for(var o in e)if(r.includes(e[o].value)){i=e[o].name||"Unknown Browser";break}for(var a in t)if(r.includes(t[a].value)){n=t[a].name;break}return{myBrowser:i,myOs:n}},
t.formatJsonWithHtmlEscape=function(e){return"<pre><code>"+JSON.stringify(e,null,2).replace(/</g,"&lt;").replace(/>/g,"&gt;")+"</code></pre>"}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KEYCODES=t.BREAKPOINTS=t.CONFIG=void 0;var i=n(0),r={xlarge:"XLARGE",large:"LARGE",medium:"MEDIUM",small:"SMALL",xsmall:"XSMALL",stageMobile:"STAGE-MOBILE",stageDesktop:"STAGE-DESKTOP"},o={events:{modulesLoaded:"db-event-modules-loaded",resize:"db-event-resize",viewportChange:"db-event-viewport-changed",viewportChangeFixed:"db-event-viewport-changed-fixed",viewportChangeStage:"db-event-viewport-changed-stage",viewportScroll:"db-event-scroll",galleryOverlayClose:"db-event-gallery-overlay-close",megatabboxItemClose:"db-event-mega-tab-box-close",megatabboxItemOpen:"db-event-mega-tab-box-open",contentSliderTabOpen:"db-event-content-slider-tab-open",overlayClose:"db-event-overlay-close",navigationPrepareSubMenu:"db-event-navigation-prepare-sub-menu",navigationOpenedSubMenu:"db-event-navigation-opened-sub-menu",navigationClosedSubMenu:"db-event-navigation-closed-sub-menu",dbNetworkNoSearchResult:"db-event-no-search-result",dbNetworkAddSearchTag:"db-event-add-newstag",dbNetworkUnReadNews:"db-event-unread-news",dbEventMobileNavigationOpened:"db-event-mobile-navigation-opened",modalShow:"db-event-modal-show",modalReplaceContent:"db-event-modal-replace-content",modalHide:"db-event-modal-hide",modalOnHide:"db-event-modal-on-hide",searchFilter:"db-event-search-filter",tabSelected:"db-event-tab-selected",tabsUpdated:"db-event-tabs-updated",pcbPreloadFinished:"db-event-pcb-preload-finished",pcbPersonalisationResult:"db-event-pcb-personalisation-result",pbCalculatorCurrencySelected:"db-event-pb-calculator-currency-selected",guideModuleShowResults:"db-guide-module-show-results",calendarSelectDate:"db-event-calendar-select-date",horizontalCalendarSelectDate:"db-event-horizontal-calendar-select-date",calendarMonthRendered:"db-event-calendar-select-month",calendarRegionSelected:"db-event-calendar-select-region",calendarTriggerNewRendering:"db-event-trigger-new-rendering",masonryFilter:"db-event-masonry-filter",expedition150Filter:"db-event-expedition150-filter",expedition150HistoryFilter:"db-event-expedition150-history-filter",imageLoadFinished:"db-event-image-load-finished",blockStream:{loadItems:"db-event-blockStream-load-items",renderItems:"db-event-blockStream-render-items",filterItems:"db-event-blockStream-filter-items",onLoadMore:"db-event-blockStream-on-load-more",statusLoadMore:"db-event-blockStream-status-load-more",statusLoadingIndicator:"db-event-blockStream-status-loading-indicator",statusError:"db-event-blockStream-status-error"},contributions:{loadContributions:"db-event-contributions-asynchronous-load-contributions",onLoadMore:"db-event-contributions-asynchronous-on-load-more",resetLoadMore:"db-event-contributions-asynchronous-reset-load-more",contributionSubmitted:"db-event-contribution-asynchronous-contributions-submitted",renderContributions:"db-event-contributions-asynchronous-render-contributions",layoutContributions:"db-event-contributions-asynchronous-layout-contributions",bindSearch:"db-event-contributions-asynchronous-bind-search",bindTagSearch:"db-event-contributions-asynchronous-bind-tag-search",statusLoadingIndicator:"db-event-contributions-asynchronous-status-loading-indicator",statusLoadMore:"db-event-contributions-asynchronous-status-load-more",statusError:"db-event-contributions-asynchronous-status-error",imageLoaderLayout:"db-event-contributions-static-image-loader-layout",loadLikes:"db-event-contributions-load-likes",renderLikes:"db-event-contributions-render-likes"},newsStream:{layout:"db-event-news-stream-layout"},oauth2UserData:{available:"db-event-oauth2userdata-available"}},viewports:[{name:r.xsmall,width:316},{name:r.small,width:400},{name:r.medium,width:696},{name:r.large,width:984},{name:r.xlarge,width:1248}],viewportsStage:[{name:r.stageMobile,width:600},{name:r.stageDesktop,width:9999}],breakpointToolboxVertical:1380,urlYoutubeEmbed:"https://www.youtube.com/embed/",navigationConfig:[{type:"toolbox",selector:"div.mod-toolbox > ul"},{type:"customer",selector:"nav.navigation-customer ul.nav-root"},{type:"main",className:"type-default",selector:"nav.navigation-main ul.nav-root",iconClasses:["arrow-icon","arrow-icon","arrow-icon"]},{type:"loginlinks",selector:"nav.navigation-loginlinks > ul",iconClasses:["arrow-triangle","arrow-circle"]},{type:"cross",className:"type-default",selector:"nav.navigation-cross > ul",iconClasses:["arrow-icon","arrow-icon","arrow-icon"]}],navigationType:{hover:"hover",mobile:"mobile"},hashHandler:{resetHash:"!"},
availableFiletypes:"7z:8.74_ai:9.50_aif:6.75_avi:6.5_bin:6.35_bmp:4.00_csv:4.74_doc:4.00_docm:0.332_docx:0.99_dotx:1.49_eps:4.99_gif:6.50_gz:7.75_html:1.8_ics:6.49_iff:7.25_indd:3.00_jar:4.99_jpeg:1.99_jpg:4.99_m3u:4.49_m4a:4.49_mov:4_mp3:4.74_mp4:4.74_mpa:4.33_mpg:3.74_msg:3.74_odt:4.50_oft:4.75_pdf:5.00_png:4.24_potx:1.74_pps:4.99_ppt:5.24_pptm:1.4_pptx:2.24_ps:7.99_psd:4.74_rar:4.25_rss:4.74_rtf:5.25_svg:4.49_tar:5.08_tif:7.25_tiff:4.50_txt:5.50_vcf:5.00_wav:4.08_wma:2.75_wmv:3.00_xls:5.24_xlsx:2.24_xltx:2.83_xml:4.50_zip:6.99_zipx:3.99_xlms:1.22_xlsm:1.22".split("_"),shareChannels:[{label:"X",service:"twitter",url:"https://www.x.com/intent/tweet?url="},{label:"LinkedIn",service:"linkedin",url:"https://www.linkedin.com/shareArticle?mini=true&url="},{label:"Facebook",service:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u="},{label:"XING",service:"xing",url:"https://www.xing.com/spi/shares/new?url="},{label:"E-Mail",service:"contact",url:"mailto:?subject={subject}&body={body}"}],stock:{url:(0,i.getProjectConfigValue)("master","config.sharePriceUrl","https://charts3.equitystory.com/api/deutschebank/{language}/feed/"),languageMap:{de:"German",en:"English",fallback:"English"},linkURL:{de:"https://www.dbhacu.com/aktienkurs",en:"https://www.dbhacu.com/shareprice",fallback:"https://www.dbhacu.com/shareprice"},dataType:"javascript",currency:"EUR"},movingImage:{extScriptUrl:"https://e.video-cdn.net/v2/embed.js",playerID:"Agwb9r1zYeSQYW3EbqZuN_",playerElementId:"MIPlayer",apiUrl:"//d.video-cdn.net/play",flashPath:"//e.video-cdn.net/v2/",configType:"vmpro"},comments:{workflow:"/api/content/Notify/1",accessControlEndpoint:"/api/c09comment/cancomment/",releaseEndpoint:"/api/c09comment/publish/",contentType:"C09comment"},genericForm:{submitUrl:"/api/formdata/submit",createContentUrl:"/api/content/save/"},userInformation:{contentType:"C01textbox"},contributions:{apiUrl:"/api/content/type/json/query/+contentType:C18usercontribution",likeUrl:"/api/content/render/false/query/+contentType:c06like%20+c06like.likeId:",contentUrl:"/api/content/id/"},voting:{apiUrl:"/api/voting",resultUrl:"/api/content/render/false/type/json/query/+contentType:C19voting%20+C19voting.votingContentId:"},rating:{apiUrl:"/api/rating",resultUrl:"/api/content/render/false/type/json/query/+contentType:C22rating%20+C22rating.ratingContentId:"},status:{resultUrl:"/api/content/render/false/type/json/query/+contentType:C01Textbox%20"},likes:{url:{list:"/api/likes?m=list",increase:"/api/likes?m=increase&likeid={contentIdentifier}",decrease:"/api/likes?m=decrease&likeid={contentIdentifier}"},jsonPcallback:"callback"},contentSearch:{apiUrl:"/api/master-sitesearch?"},calendar:{events:{apiUrl:"/api/content/type/json/limit/100/query/+contentType:C08CalendarEvent",contentType:"C08CalendarEvent",createUrl:"/api/calendarevent"},participate:{apiUrl:"/api/calendarevent/attendees",contentType:"C23CalendarEventAttendees"}},banners:{apiUrl:"/api/dbnetwork/banners"}};t.CONFIG=o,t.BREAKPOINTS=r,t.KEYCODES={TAB:9,ENTER:13,PAUSE:19,ESCAPE:27,SPACE:32,LEFT:37,RIGHT:39,UP:38,DOWN:40}},101:function(e,t,n){var i,r,o;!function(a,s){r=[n(57),n(43)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(window,function(e,t){"use strict";var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,o=r/i,a=i-r%i;o=Math[a&&a<1?"round":"floor"](o),this.cols=Math.max(o,1)},i.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,n=t(e);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,e),r={x:this.columnWidth*i.col,y:i.y},o=i.y+e.size.outerHeight,a=n+i.col,s=i.col;s<a;s++)this.colYs[s]=o;return r},i._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},i._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,i=0;i<n;i++)t[i]=this._getColGroupY(i,e);return t},i._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols;n=e>1&&n+e>this.cols?0:n;var i=t.size.outerWidth&&t.size.outerHeight
;return this.horizontalColIndex=i?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},i._manageStamp=function(e){var n=t(e),i=this._getElementOffset(e),r=this._getOption("originLeft")?i.left:i.right,o=r+n.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var s=Math.floor(o/this.columnWidth);s-=o%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var l=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,u=a;u<=s;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},i._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})},1126:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.backgroundWrapperElement=this.element.querySelector(".background-wrapper"),this.hoverElements=[].concat(o(this.element.querySelectorAll(".content-block"))),this.bgImageElements=[].concat(o(this.element.querySelectorAll(".bg-img"))),this.currentFocusedElement=null}return i(e,[{key:"init",value:function(){this.element.closest(".cms-content-wrapper").classList.add("type-full-width"),this.bgImageElements[0]&&(0,r.addClass)(this.bgImageElements[0],"active"),this.moveBgImagesToBackgroundWrapper(),this.applyBackgroundTransitions()}},{key:"moveBgImagesToBackgroundWrapper",value:function(){var e=this;this.bgImageElements.forEach(function(t){e.backgroundWrapperElement.appendChild(t)})}},{key:"applyBackgroundTransitions",value:function(){var e=this;this.hoverElements.forEach(function(t){var n=t.dataset.index,i=t.querySelector(".db-button");i&&(i.addEventListener("mouseenter",function(){e.setActiveElement(n)}),i.addEventListener("mouseleave",function(){e.currentFocusedElement&&e.setActiveElement(e.currentFocusedElement.dataset.index)}),i.addEventListener("focus",function(){e.currentFocusedElement=t,e.setActiveElement(n)}))})}},{key:"setActiveElement",value:function(e){this.bgImageElements.forEach(function(t){t.dataset.index===e?t.classList.add("active"):t.classList.remove("active")})}}]),e}();t.default=a},1142:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=c(n(7)),o=n(0),a=n(1),s=c(n(501)),l=c(n(219)),u=c(n(177));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.sender=t.sender,this.formTemplate=r.default.getTemplate("gated-form-template",this.element.parentNode),this.modalClass="gated-content",this.requiresUnlock=this.element.dataset.blurContent,this.unlockId=this.element.dataset.cid,this.hint=this.element.dataset.hint,this.searchParameter=new URLSearchParams(window.location.search),this.toggleStrategy=this.element.dataset.toggleStrategy}return i(e,[{key:"init",value:function(){var e=this;this.element.addEventListener("click",function(t){(0,o.log)("Clicked on gated link",e.sender);var n=document.createElement("div");n.innerHTML=e.formTemplate,e.initForm(n),(0,o.dispatchCustomEvent)(a.CONFIG.events.modalReplaceContent,n),(0,o.dispatchCustomEvent)(a.CONFIG.events.modalShow,e.modalClass),t.preventDefault()}),this.requiresUnlock&&(this.searchParameter.get("cid")!==this.unlockId?(this.initBlur(),"none"===this.toggleStrategy&&(this.element.insertAdjacentHTML("afterend",this.formTemplate),this.initForm(this.element.parentNode),this.element.remove())):this.element.remove())}},{key:"initForm",value:function(e){var t=e.querySelector('[data-module="FlowForm"]');t?(new s.default({element:t}).init(),(0,o.querySelectorArray)(e,'[data-module="InputField"]').forEach(function(e){new l.default({element:e}).init()}),(0,o.querySelectorArray)(e,'[data-module="Accordion"]').forEach(function(e){new u.default({
element:e}).init()})):(0,o.log)('No connected form element with [data-module="FlowForm"] found.',this.sender)}},{key:"initBlur",value:function(){if(!document.querySelector("body").classList.contains("edit-mode")){this.element.insertAdjacentHTML("beforebegin","<p>"+this.hint+"</p>");var e=this.element.closest(".cms-container");if(e){var t=[].concat(d(e.querySelectorAll(".mod-text-box"))),n=null;t.length>1?t.forEach(function(e,t){t>0?e.remove():n=e}):n=t[0],n.classList.add("blur"),[].concat(d(n.querySelectorAll("a"))).forEach(function(e){e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")})}}}}]),e}();t.default=h},1169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(170)),o=a(n(493));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.advanced=t.element.dataset.advanced}return i(e,[{key:"init",value:function(){this.advanced?new o.default(this.options).init():new r.default(this.options).init()}}]),e}();t.default=s},117:function(e,t,n){(function(t){(function(){var n,i,r,o,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},i=t.hrtime,o=(n=function(){var e;return 1e9*(e=i())[0]+e[1]})(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)}).call(t,n(33))},118:function(e,t,n){(function(t){for(var i=n(117),r="undefined"==typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=r["request"+a],l=r["cancel"+a]||r["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=r[o[u]+"Request"+a],l=r[o[u]+"Cancel"+a]||r[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,h=[];s=function(e){if(0===h.length){var t=i(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout(function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(r,e)},e.exports.cancel=function(){l.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(t,n(6))},119:function(e,t){t.linear=function(e){return e},t.inQuad=function(e){return e*e},t.outQuad=function(e){return e*(2-e)},t.inOutQuad=function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},t.inCube=function(e){return e*e*e},t.outCube=function(e){return--e*e*e+1},t.inOutCube=function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},t.inQuart=function(e){return e*e*e*e},t.outQuart=function(e){return 1- --e*e*e*e},t.inOutQuart=function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},t.inQuint=function(e){return e*e*e*e*e},t.outQuint=function(e){return--e*e*e*e*e+1},t.inOutQuint=function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},t.inSine=function(e){return 1-Math.cos(e*Math.PI/2)},t.outSine=function(e){return Math.sin(e*Math.PI/2)},t.inOutSine=function(e){return.5*(1-Math.cos(Math.PI*e))},t.inExpo=function(e){return 0==e?0:Math.pow(1024,e-1)},t.outExpo=function(e){return 1==e?e:1-Math.pow(2,-10*e)},t.inOutExpo=function(e){return 0==e?0:1==e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},t.inCirc=function(e){return 1-Math.sqrt(1-e*e)},t.outCirc=function(e){return Math.sqrt(1- --e*e)},t.inOutCirc=function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},t.inBack=function(e){var t=1.70158;return e*e*((t+1)*e-t)},t.outBack=function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},t.inOutBack=function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},t.inBounce=function(e){return 1-t.outBounce(1-e)},t.outBounce=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},t.inOutBounce=function(e){return e<.5?.5*t.inBounce(2*e):.5*t.outBounce(2*e-1)+.5},t.inElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},t.outElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},t.inOutElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,
t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},t["in-quad"]=t.inQuad,t["out-quad"]=t.outQuad,t["in-out-quad"]=t.inOutQuad,t["in-cube"]=t.inCube,t["out-cube"]=t.outCube,t["in-out-cube"]=t.inOutCube,t["in-quart"]=t.inQuart,t["out-quart"]=t.outQuart,t["in-out-quart"]=t.inOutQuart,t["in-quint"]=t.inQuint,t["out-quint"]=t.outQuint,t["in-out-quint"]=t.inOutQuint,t["in-sine"]=t.inSine,t["out-sine"]=t.outSine,t["in-out-sine"]=t.inOutSine,t["in-expo"]=t.inExpo,t["out-expo"]=t.outExpo,t["in-out-expo"]=t.inOutExpo,t["in-circ"]=t.inCirc,t["out-circ"]=t.outCirc,t["in-out-circ"]=t.inOutCirc,t["in-back"]=t.inBack,t["out-back"]=t.outBack,t["in-out-back"]=t.inOutBack,t["in-bounce"]=t.inBounce,t["out-bounce"]=t.outBounce,t["in-out-bounce"]=t.inOutBounce,t["in-elastic"]=t.inElastic,t["out-elastic"]=t.outElastic,t["in-out-elastic"]=t.inOutElastic},120:function(e,t,n){function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}i.prototype.on=i.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},i.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r<i.length;r++)if((n=i[r])===t||n.fn===t){i.splice(r,1);break}return 0===i.length&&delete this._callbacks["$"+e],this},i.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var i=0,r=(n=n.slice(0)).length;i<r;++i)n[i].apply(this,t);return this},i.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},i.prototype.hasListeners=function(e){return!!this.listeners(e).length},e.exports=i},121:function(e,t,n){var i=n(122),r=n(118);e.exports=function(e,t,n){n=n||{};var o={top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft},a=i(o).ease(n.ease||"out-circ").to({top:t,left:e}).duration(n.duration||1e3);function s(){r(s),a.update()}return a.update(function(e){window.scrollTo(0|e.left,0|e.top)}),a.on("end",function(){s=function(){}}),s(),a}},122:function(e,t,n){var i=n(119);function r(e){if(!(this instanceof r))return new r(e);this._from=e,this.ease("linear"),this.duration(500)}n(120)(r.prototype),r.prototype.reset=function(){return this.isArray="[object Array]"===Object.prototype.toString.call(this._from),this._curr=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}({},this._from),this._done=!1,this._start=Date.now(),this},r.prototype.to=function(e){return this.reset(),this._to=e,this},r.prototype.duration=function(e){return this._duration=e,this},r.prototype.ease=function(e){if(!(e="function"==typeof e?e:i[e]))throw new TypeError("invalid easing function");return this._ease=e,this},r.prototype.stop=function(){return this.stopped=!0,this._done=!0,this.emit("stop"),this.emit("end"),this},r.prototype.step=function(){if(!this._done){var e=this._duration,t=Date.now();if(t-this._start>=e)return this._from=this._to,this._update(this._to),this._done=!0,this.emit("end"),this;var n=this._from,i=this._to,r=this._curr,o=(0,this._ease)((t-this._start)/e);if(this.isArray){for(var a=0;a<n.length;++a)r[a]=n[a]+(i[a]-n[a])*o;return this._update(r),this}for(var s in n)r[s]=n[s]+(i[s]-n[s])*o;return this._update(r),this}},r.prototype.update=function(e){return 0==arguments.length?this.step():(this._update=e,this)},e.exports=r},123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(18);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3)),o=n(0);var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t.element,this.container=this.selector.querySelector(".query-links"),null!==this.container?this.listElements=(0,o.querySelectorArray)(this.container,"li"):this.listElements=[],this.filterKey=this.selector.dataset.selectName,this.searchParameter=new URLSearchParams(window.location.search),this.defaultPageKey="page"}return i(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.bindClick(e,this.listElements)}},{key:"bindClick",value:function(){
var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";arguments[1].forEach(function(n){e.searchParameter.get(e.filterKey)===n.dataset.value?((0,o.addClass)(n,"active"),(0,o.findParent)(n,"meta-type")&&n.querySelector("a").setAttribute("aria-current","true")):null===e.searchParameter.get(e.filterKey)&&e.filterKey===e.defaultPageKey&&"1"===n.dataset.value?(0,o.addClass)(n,"active"):(0,o.addClass)(n,"inactive");n.addEventListener("click",function(i){i.preventDefault(),n.classList.contains("disabled")||e.submitQuery(t,n)})})}},{key:"submitQuery",value:function(e,t){""!==t.dataset.value?this.searchParameter.set(this.filterKey,t.dataset.value):(this.searchParameter.delete(this.filterKey),this.removeDependentParameter()),this.filterKey!==this.defaultPageKey&&this.searchParameter.delete(this.defaultPageKey);var n=this.searchParameter.toString();""!==e&&(0,r.default)().trackByAction(e+"_"+n.split("&").join("-")),window.open("?"+n,"_self")}},{key:"removeDependentParameter",value:function(){var e=this,t=(0,o.querySelectorArray)(this.selector.parentNode,"[data-dependent-select='"+this.filterKey+"']");t.length>0&&t.forEach(function(t){e.searchParameter.delete(t.dataset.selectName)})}}]),e}();t.default=a},124:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(18);var r=c(n(36)),o=c(n(5)),a=c(n(3)),s=c(n(123)),l=n(0),u=n(1);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t.element,this.customEvent=t.customEvent,this.scrollElementIntoView=null===t.scrollElementIntoView||t.scrollElementIntoView,this.preSelection=t.preSelection||null,this.activeClass="active",this.disabled=!1,this.dropdown="",this.dropdownActive="",this.buttonLabel=this.selector.dataset.defaultLabel||"",this.filterKey=this.selector.dataset.selectName,this.searchParameter=new URLSearchParams(unescape(window.location.search)),this.defaultSelectedText=this.selector.dataset.selectedValue,this.currentSelectedKey=null,this.options=t,this.trackInformation=(0,a.default)().getCompleteTrackValueByElement(t.element),this.select=this.selector.querySelector(".native-select"),this.selectOptions=(0,l.querySelectorArray)(this.select,"option"),this.resetButton=this.selector.parentNode.querySelector("[name=reset]"),this.queryHandler=null}return i(e,[{key:"init",value:function(){this.handleSelectDependencies(),this.handleLinkDependencies(),this.generateStyledDropdown(),this.toggleDropdown(),this.handleOptionClick(),this.resetFilter()}},{key:"handleSelectDependencies",value:function(){""!==this.selector.dataset.dependentSelect&&null===this.searchParameter.get(this.selector.dataset.dependentSelect)&&(this.disabled=!0)}},{key:"handleLinkDependencies",value:function(){if(""!==this.selector.dataset.dependentLinkContainer){var e=(0,l.querySelectorArray)(this.selector.parentNode.parentNode,"."+this.selector.dataset.dependentLinkContainer+" li");new s.default(this.options).bindClick(this.trackInformation,e)}}},{key:"setSelectedValue",value:function(e){this.selectOptions[e].selected=!0,this.buttonLabel=this.selectOptions[e].innerText.trim();var t=this.selector.querySelector(".button.type-dropdown"),n=(0,l.unifyHashValue)(this.selectOptions[e].value);""===n&&(n=(0,l.unifyHashValue)(this.buttonLabel)),t&&t.setAttribute("aria-describedby",n)}},{key:"updateButtonLabel",value:function(e){this.selector.querySelector(".button.type-dropdown .label").innerText=e}},{key:"generateStyledDropdown",value:function(){var e=document.createElement("div");e.appendChild(this.generateDropdownContainer()),e.insertAdjacentHTML("afterbegin",this.generateButton()),this.selector.insertBefore(e,this.select),""===this.buttonLabel&&(this.setSelectedValue(this.currentSelectedKey),this.updateButtonLabel(this.buttonLabel))}},{key:"generateButton",value:function(){return'<button class="button type-dropdown wt-enabled" '+(this.disabled?"disabled":"")+' role="combobox" aria-label="'+this.selectOptions[0].innerText+'" aria-expanded="false" type="button">\n                <span class="label">'+this.buttonLabel+'</span>\n                <span class="dropdown">\n                    '+(0,l.generateSVGIcon)("arrow-normal","icon","false")+"\n                </span>\n            </button>"}},{key:"generateDropdownContainer",
value:function(){var e=document.createElement("div");(0,l.addClass)(e,"dropdown-section query-links"),e.setAttribute("role","listbox");var t=document.createElement("ul");(0,l.addClass)(t,"dropdown-menu");var n=this.preSelection||this.searchParameter.get(this.filterKey)||r.default.get(this.filterKey)||null,i=null!==n?n:this.defaultSelectedText,o=0;return this.selectOptions.forEach(function(e,n){var r=document.createElement("li"),a=document.createElement("div");a.setAttribute("role","option");var s=e.innerText,u=e.value;""===u&&(u=(0,l.unifyHashValue)(s).trim()),a.insertAdjacentText("afterbegin",s),r.appendChild(a),r.setAttribute("id",(0,l.unifyHashValue)(u)),r.dataset.value=e.value,e.value===i&&((0,l.addClass)(r,"active"),o=n),t.appendChild(r)}),this.currentSelectedKey=o,e.appendChild(t),e}},{key:"toggleDropdown",value:function(){var e=this;if(!this.disabled){var t=this.selector.querySelector(".button.type-dropdown");this.dropdown=this.selector.querySelector(".dropdown-section"),this.selector.addEventListener("click",function(n){if(n.preventDefault(),e.dropdownActive=e.selector.parentNode.querySelector(".dropdown-section."+e.activeClass),(0,l.hasClass)(e.dropdown,e.activeClass))(0,l.removeClass)(e.dropdown,e.activeClass),t.setAttribute("aria-expanded","false");else{if(null!==e.dropdownActive)(0,l.removeClass)(e.dropdownActive,e.activeClass),e.dropdownActive.parentNode.querySelector(".button.type-dropdown").setAttribute("aria-expanded","false");(0,l.addClass)(e.dropdown,e.activeClass),t.setAttribute("aria-expanded","true");var i=e.selector.parentNode.querySelector(".dropdown-section."+e.activeClass+" .dropdown-menu ."+e.activeClass);null!==i&&e.scrollElementIntoView&&i.scrollIntoView(!1)}}),this.selector.addEventListener("keydown",function(t){return e.handleKeyDownEvent(t)}),document.addEventListener("click",function(t){return e.handleDocumentClick(t)})}}},{key:"handleKeyDownEvent",value:function(e){var t=this.selector.parentNode.querySelector(".dropdown-section."+this.activeClass);if(null!==t){if(((0,l.checkKeyCode)(e,u.KEYCODES.ESCAPE)||(0,l.checkKeyCode)(e,u.KEYCODES.TAB))&&null!==t)(0,l.removeClass)(t,this.activeClass),t.parentNode.querySelector(".button.type-dropdown").setAttribute("aria-expanded","false");if((0,l.checkKeyCode)(e,u.KEYCODES.DOWN)){e.preventDefault();var n=t.querySelector(".dropdown-menu"),i=n.querySelector("."+this.activeClass),r=-1;null!==i&&(r=Array.from(n.children).indexOf(i),(0,l.removeClass)(i,this.activeClass)),r+1>=n.children.length&&(r=-1);var o=n.children[r+1];(0,l.addClass)(o,this.activeClass),this.setSelectedValue(r+1),o.scrollIntoView(!1)}if((0,l.checkKeyCode)(e,u.KEYCODES.UP)){e.preventDefault();var a=t.querySelector(".dropdown-menu"),s=a.querySelector("."+this.activeClass),c=0;null!==s&&(c=Array.from(a.children).indexOf(s),(0,l.removeClass)(s,this.activeClass)),c-1<0&&(c=a.children.length);var d=a.children[c-1];(0,l.addClass)(d,this.activeClass),this.setSelectedValue(c-1),c===a.children.length?d.scrollIntoView():d.scrollIntoView(!1)}if((0,l.checkKeyCode)(e,u.KEYCODES.ENTER)){var h=t.querySelector(".dropdown-menu ."+this.activeClass);this.queryHandler.submitQuery(this.trackInformation,h)}}}},{key:"handleDocumentClick",value:function(e){var t=this.selector.parentNode.querySelector(".dropdown-section."+this.activeClass);null!==t&&(this.selector.parentNode.contains(e.target)||((0,l.removeClass)(t,this.activeClass),t.parentNode.querySelector(".button.type-dropdown").setAttribute("aria-expanded","false")))}},{key:"handleOptionClick",value:function(){var e=this;if(!this.disabled)if(this.customEvent){var t=this.selector.querySelector(".query-links");this.listElements=null!==t?(0,l.querySelectorArray)(t,"li"):[],this.listElements.forEach(function(t){t.addEventListener("click",function(){(0,l.removeClass)(e.selector.querySelector("li.active"),"active");var n=t.innerText,i=(0,o.default)(e.listElements).indexOf(t);e.setSelectedValue(i),e.updateButtonLabel(n),(0,l.addClass)(t,"active"),(0,l.dispatchCustomEvent)(e.customEvent,{filter:t.dataset.value})})})}else this.queryHandler=new s.default(this.options),this.queryHandler.init(this.trackInformation)}},{key:"resetFilter",value:function(){this.resetButton&&this.resetButton.addEventListener("click",function(){window.location=window.location.origin+window.location.pathname})}}]),e}();t.default=d},126:function(e,t,n){var i,r;!function(o,a){"use strict";void 0===(r="function"==typeof(i=a)?i.call(t,n,t,e):i)||(e.exports=r)}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n]+"MatchesSelector";if(e[i])return i}}();return function(t,n){return t[e](n)}})},127:function(e,t,n){var i,r;!function(o,a){i=[n(126)],void 0===(r=function(e){return a(o,e)}.apply(t,i))||(e.exports=r)}(window,function(e,t){"use strict";var n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},
modulo:function(e,t){return(e%t+t)%t}},i=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null===e||void 0===e?[]:"object"==typeof e&&"number"==typeof e.length?i.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,i){var r=[];return(e=n.makeArray(e)).forEach(function(e){if(e instanceof HTMLElement)if(i){t(e,i)&&r.push(e);for(var n=e.querySelectorAll(i),o=0;o<n.length;o++)r.push(n[o])}else r.push(e)}),r},n.debounceMethod=function(e,t,n){n=n||100;var i=e.prototype[t],r=t+"Timeout";e.prototype[t]=function(){var e=this[r];clearTimeout(e);var t=arguments,o=this;this[r]=setTimeout(function(){i.apply(o,t),delete o[r]},n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var r=e.console;return n.htmlInit=function(t,i){n.docReady(function(){var o=n.toDashed(i),a="data-"+o,s=document.querySelectorAll("["+a+"]"),l=document.querySelectorAll(".js-"+o),u=n.makeArray(s).concat(n.makeArray(l)),c=a+"-options",d=e.jQuery;u.forEach(function(e){var n,o=e.getAttribute(a)||e.getAttribute(c);try{n=o&&JSON.parse(o)}catch(t){return void(r&&r.error("Error parsing "+a+" on "+e.className+": "+t))}var s=new t(e,n);d&&d.data(e,i,s)})})},n})},128:function(e,t,n){(function(t){var n="Expected a function",i=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),f=Object.prototype.toString,m=Math.max,v=Math.min,p=function(){return h.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==r}(e))return i;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?i:+e}e.exports=function(e,t,i){var r,o,a,s,l,u,c=0,d=!1,h=!1,f=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function E(e){var n=e-u;return void 0===u||n>=t||n<0||h&&e-c>=a}function w(){var e=p();if(E(e))return S(e);l=setTimeout(w,function(e){var n=t-(e-u);return h?v(n,a-(e-c)):n}(e))}function S(e){return l=void 0,f&&r?b(e):(r=o=void 0,s)}function C(){var e=p(),n=E(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),d?b(e):s}(u);if(h)return l=setTimeout(w,t),b(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=g(t)||0,y(i)&&(d=!!i.leading,a=(h="maxWait"in i)?m(g(i.maxWait)||0,t):a,f="trailing"in i?!!i.trailing:f),C.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=u=o=l=void 0},C.flush=function(){return void 0===l?s:S(p())},C}}).call(t,n(6))},129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=l(n(87)),a=l(n(3)),s=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=t,this.activePlaceholder="%%%active",this.itemContent=this.item.querySelector(".itm-accordion-content"),this.isOpen=!1,this.sensor=this.item.querySelector(".itm-accordion-headline a"),this.sensorSpan=this.sensor.querySelector("span.hidden-title"),this.title=this.sensor.getAttribute("title"),this.titleShowContent=this.item.dataset.showContent,this.titleHideContent=this.item.dataset.hideContent}return i(e,[{key:"init",value:function(e){var t=this,n=this.itemContent.querySelector("h2");n&&n.innerText.includes(this.activePlaceholder)&&(this.isOpen=!0),this.handleCallback=e,this.sensor.setAttribute("title",this.titleShowContent+" "+this.title),this.removeActiveKeyword(),this.hashHandler=new o.default({domNode:this.sensor,isActive:function(){return t.isOpen},activate:function(){return t.openItem()},deactivate:function(){return t.closeItem()}}),this.hashHandler.init(),this.sensor.addEventListener("click",function(e){e.preventDefault(),t.isOpen||(0,a.default)().trackByAction(null,t.sensor)}),this.sensor.addEventListener("keydown",function(e){((0,r.checkKeyCode)(e,s.KEYCODES.SPACE)||(0,
r.checkKeyCode)(e,s.KEYCODES.ENTER))&&(e.preventDefault(),t.isOpen?t.closeItem():((0,a.default)().trackByAction(null,t.sensor),t.openItem()))}),this.item.addEventListener("transitionend",function(){t.isOpen||(0,r.removeClass)(t.item,"is-closing"),t.setContentHeight(null)})}},{key:"removeActiveKeyword",value:function(){var e=this.itemContent.querySelector("h2");e&&(e.innerHTML=e.innerHTML.replace(this.activePlaceholder,""))}},{key:"openItem",value:function(){var e=this;if(!this.isOpen){var t=this.getOpenedHeight();this.setContentHeight(0),this.handleCallback(),window.setTimeout(function(){(0,r.addClass)(e.item,"is-open"),e.isOpen=!0,e.setContentHeight(t),e.sensor.setAttribute("title",e.titleHideContent+" "+e.title),e.sensorSpan.innerText=e.titleHideContent},50)}}},{key:"closeItem",value:function(){var e=this;if(this.isOpen){var t=this.getOpenedHeight();this.setContentHeight(t),window.setTimeout(function(){(0,r.addClass)(e.item,"is-closing"),(0,r.removeClass)(e.item,"is-open"),e.sensor.setAttribute("title",e.titleShowContent+" "+e.title),e.sensorSpan.innerText=e.titleShowContent,e.isOpen=!1,e.setContentHeight(0)},50)}}},{key:"setContentHeight",value:function(e){this.itemContent.style.height=null===e?null:e+"px"}},{key:"getOpenedHeight",value:function(){(0,r.addClass)(this.item,"measure-item");var e=Math.ceil(this.itemContent.getBoundingClientRect().height);return(0,r.removeClass)(this.item,"measure-item"),e}}]),e}();t.default=u},130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1);var a=null,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.availableFiletypes=o.CONFIG.availableFiletypes.map(function(e){var t=e.split(":");return{extension:t[0],offset:t[1]}}),this.hasIconClass="has-icon"}return i(e,[{key:"checkForLinkList",value:function(e){return!!(0,r.findParent)(e,"cnt-link-list")}},{key:"apply",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=!(!window.config.includeHTMLIcons||!0!==window.config.includeHTMLIcons);if(!this.checkForLinkList(t)){var o=(0,r.querySelectorArray)(t,"[data-filetype]");(0,r.querySelectorArray)(t,"a").filter(function(t){var i=t.getAttribute("href");return i?n.concat(e.availableFiletypes).some(function(e){var t=e.extension,n=new RegExp("."+t+"([?].*)*$","gmi");return i.match(n)}):null}).concat(o).forEach(function(t){var n=t.getAttribute("data-filetype")||t.getAttribute("href").split(/\?/)[0].split(".").pop().trim();"none"===n.toLowerCase()||(0,r.isTagInChildren)(t,"img")||"html"===n.toLowerCase()&&!i||"xhtml"===n.toLowerCase()&&!i||e.applyToNode(t,n.toLowerCase())})}}},{key:"applyToNode",value:function(e,t){if(!(0,r.hasClass)(e,this.hasIconClass)&&!this.checkForLinkList(e)){var n=this.availableFiletypes.map(function(e){return e.extension===t?e.offset:null}).filter(Boolean),i=n[0]?t:"file",o=n[0]?n[0]:"4.25";(0,r.addClass)(e,this.hasIconClass),e.insertAdjacentHTML("afterBegin",function(e){return'<svg class="filetype-icon" viewBox="0 0 28 28" preserveAspectRatio="xMinYMin meet">\n    <g>\n      <use xlink:href="#svgsymbol-filetype" />\n      <text fill="#fff" fill-rule="evenodd" font-size="9" font-weight="bold">\n        <tspan x="'+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)+'" y="20">'+e.toUpperCase()+"   </tspan>\n      </text>\n    </g>\n  </svg>"}(i,o));var a=0;try{a=parseInt(window.getComputedStyle(e)["padding-left"],10)||0}catch(e){}var s=(a+38)/16;e.style.paddingLeft=s.toPrecision(3)+"em"}}}]),e}();a||(a=new s),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"string"==typeof t?s.applyToNode(e,t):a.apply(e,t)}},131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(3)),a=n(1);var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domTarget=t.element,this.domElement=null,this.shareUrl=t.shareUrl||null,this.defaultMailBody=t.defaultMailBody||!1,this.mailSettings=t.mailSettings||null,this.shareUrlAttr="data-share-url",this.initializedAttr="data-init",this.shareChannelAttr="data-sharing",this.channels=a.CONFIG.shareChannels}return i(e,[{key:"init",value:function(){
this.domTarget?this.domTarget.hasAttribute(this.initializedAttr)||(this.generateElement(),this.domTarget.appendChild(this.domElement),this.domTarget.setAttribute(this.initializedAttr,"true")):this.generateElement()}},{key:"getDomElement",value:function(){return this.domElement}},{key:"getShareUrl",value:function(){if(this.shareUrl)return this.shareUrl;var e=this.domTarget?this.domTarget.getAttribute(this.shareUrlAttr):null;return void 0!==e&&null!==e||(e="https://"+document.location.hostname+document.location.pathname),e}},{key:"generateElement",value:function(){var e=this;this.domElement=document.createElement("div");var t=document.createElement("ul"),n=document.querySelector("body").getAttribute(this.shareChannelAttr);if(this.channels.forEach(function(i){var o=!0;if(n&&!n.trim().includes(i.service)&&(o=!1),o){var a="#",s=i.url;s&&(s.includes("mailto:")&&(s=null!==e.mailSettings?(s=s.replace("{subject}",e.mailSettings.subject)).replace("{body}",e.mailSettings.body+" "):(s=s.replace("{subject}","")).replace("{body}","")),a=s+encodeURIComponent(e.shareUrl));var l=document.querySelector("body").getAttribute("data-text-link-social-title-"+i.service),u=document.querySelector(".footer-links .mod-social-navigation .itm-nav-link .button.type-social."+i.service);if(null!==u){var c=u.getAttribute("title");null!==c&&""!==c&&(l=c)}var d='<li> <a class="button type-social '+i.service+'" href="'+a+'" title="'+l+'" target="_blank">\n        <span class="hidden-title">'+i.label+"</span>"+(0,r.generateSVGIcon)(i.service,"icon","false")+"</a> </li>";t.insertAdjacentHTML("beforeend",d)}}),n&&n.includes("msteams")){var i=document.createElement("script");i.setAttribute("async",""),i.setAttribute("defer",""),i.setAttribute("src","https://teams.microsoft.com/share/launcher.js"),t.appendChild(i);var o="";if(null!==this.mailSettings&&this.mailSettings.body){var a=this.mailSettings.body;decodeURIComponent(a).endsWith("\n\n")&&(a=decodeURIComponent(a).slice(0,-2)),o=decodeURIComponent(a).replaceAll("\n","<br/>")}o.length>200&&(o=o.substring(0,197)+"...");var s=document.createElement("li"),l=document.createElement("div");l.setAttribute("class","teams-share-button"),l.setAttribute("data-href",this.shareUrl),l.setAttribute("data-preview","true"),l.setAttribute("data-msg-text",o),s.appendChild(l),t.appendChild(s);var u=new MutationObserver(function(){var e=l.querySelector("a");if(e){var t=document.querySelector("body").getAttribute("data-text-link-social-title-msteams");e.setAttribute("title",t),(0,r.addNewWindowHintToLink)(e),u.disconnect()}});u.observe(l,{childList:!0,subtree:!0})}(0,r.addNewWindowHintToSubLinks)(t),t.addEventListener("click",function(t){e.openPopupWindow(t)}),this.domElement.appendChild(t),(0,r.addClass)(this.domElement,"mod-share-links")}},{key:"handleKeyEvents",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(((0,r.checkKeyCode)(e,a.KEYCODES.ESCAPE)||(0,r.checkKeyCode)(e,a.KEYCODES.SPACE))&&"keydown"===e.type&&(e.preventDefault(),t&&n.getDomElement()))return n.closeOverlay(),void n.getDomElement().focus();if((0,r.checkKeyCode)(e,a.KEYCODES.RIGHT)&&"keydown"===e.type){e.preventDefault();var i=this.domElement.querySelector("li.active"),o=i.nextElementSibling;null!==o&&((0,r.removeClass)(i,"active"),(0,r.addClass)(o,"active"),o.querySelector("a, button").focus())}else{if((0,r.checkKeyCode)(e,a.KEYCODES.LEFT)&&"keydown"===e.type){e.preventDefault();var s=this.domElement.querySelector("li.active"),l=s.previousElementSibling;null!==l&&((0,r.removeClass)(s,"active"),(0,r.addClass)(l,"active"),l.querySelector("a, button").focus())}if((0,r.checkKeyCode)(e,a.KEYCODES.ENTER)&&"keydown"===e.type&&this.openPopupWindow(e),(0,r.checkKeyCode)(e,a.KEYCODES.TAB)&&"keydown"===e.type){e.preventDefault();var u=e.shiftKey,c=this.domElement.querySelector("li.active");if(u){var d=this.domElement.querySelector("li:first-of-type"),h=c.previousElementSibling;null!==h?((0,r.removeClass)(c,"active"),(0,r.addClass)(h,"active"),h.querySelector("a, button").focus()):c===d&&n&&(n.closeOverlay(),n.getDomElement().focus())}else{var f=this.domElement.querySelector("li:last-of-type"),m=c.nextElementSibling;null!==m?((0,r.removeClass)(c,"active"),(0,r.addClass)(m,"active"),m.querySelector("a, button").focus()):c===f&&n&&(n.closeOverlay(),n.getDomElement().focus())}}}}},{key:"openPopupWindow",value:function(e){var t=e.target;(0,r.isNodeType)(t,"a")||(t=(0,r.findParentNodeType)(t,"a"));var n="#";if(t){var i=this.domElement.querySelector("ul");(0,r.removeClass)(i.childNodes,"active"),(0,r.addClass)(t.parentElement,"active"),t.focus(),n=t.href}(0,o.default)().trackByAction("ShareLink_clicked_"+encodeURIComponent(n)),"#"===n||n.includes("mailto:")||n.includes("teams.microsoft.com")?n&&n.includes("mailto:")||e.preventDefault():(e.preventDefault(),window.open(n,"_blank","width=600,height=460"))}}]),e}();t.default=s},132:function(e,t,n){"use strict"
;Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(96));var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element,this.buttonEmbedVideo=null,this.videoEmbedUrl=null,this.videoId=null,this.placeholderPadding=50,this.classVideoShow="video-show"}return i(e,[{key:"init",value:function(){this.prepareDOM(),this.initEventHandling()}},{key:"prepareDOM",value:function(){this.buttonEmbedVideo=this.domElement.querySelector(".button"),this.videoId=this.domElement.getAttribute("data-video-id"),this.videoEmbedUrl=o.default.getEmbedUrl(this.videoId)}},{key:"initEventHandling",value:function(){var e=this;this.buttonEmbedVideo.addEventListener("click",function(t){t.preventDefault(),e.embedVideo()}),this.buttonEmbedVideo.addEventListener("focus",function(t){t.preventDefault(),(0,r.hasFocus)(e.buttonEmbedVideo)&&(0,r.addClass)(e.buttonEmbedVideo,"focus-active")}),this.buttonEmbedVideo.addEventListener("blur",function(t){t.preventDefault(),(0,r.hasFocus)(e.buttonEmbedVideo)||(0,r.removeClass)(e.buttonEmbedVideo,"focus-active")})}},{key:"embedVideo",value:function(){this.placeholderPadding=this.buttonEmbedVideo.clientHeight/this.buttonEmbedVideo.clientWidth*100,this.buttonEmbedVideo.parentNode.removeChild(this.buttonEmbedVideo),(0,r.addClass)(this.domElement,this.classVideoShow),this.domElement.appendChild(o.default.generateEmbedNode(this.videoEmbedUrl)),this.domElement.style.paddingBottom=this.placeholderPadding+"%"}}]),e}();t.default=a},14:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1);var a=null,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.timeResize=70,this.timeoutResize=null,this.timeViewport=70,this.timeoutViewport=null,this.currentViewport=null,this.currentViewportFixed=null,this.currentViewportStage=null}return i(e,[{key:"init",value:function(){this.getCurrentViewport(),this.getCurrentViewport(!0),this.initEventResize()}},{key:"initEventResize",value:function(){var e=this;window.addEventListener("resize",function(){window.clearTimeout(e.timeoutResize),e.timeoutResize=window.setTimeout(function(){return e.handleEventResize()},e.timeResize),window.clearTimeout(e.timeoutViewport),e.timeoutViewport=window.setTimeout(function(){return e.handleEventViewportChangeWrapper()},e.timeViewport)})}},{key:"handleEventResize",value:function(){(0,r.dispatchCustomEvent)(o.CONFIG.events.resize,{})}},{key:"handleEventViewportChangeWrapper",value:function(){var e=(0,r.getWindowSize)().width;this.handleEventViewportChange(e),this.handleEventViewportChange(e,!0),this.handleEventViewportChangeStage(e)}},{key:"handleEventViewportChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.checkViewport(t),i=t?"currentViewportFixed":"currentViewport";n!==this[i]&&(this[i]=n,(0,r.log)("viewport changed"+(t?" fixed":""),"ResizeHandler",this[i]),(0,r.dispatchCustomEvent)(o.CONFIG.events[t?"viewportChangeFixed":"viewportChange"],{viewport:n,width:e}))}},{key:"handleEventViewportChangeStage",value:function(e){var t=this.checkViewportStage();t!==this.currentViewportStage&&(this.currentViewportStage=t,(0,r.dispatchCustomEvent)(o.CONFIG.events.viewportChangeStage,{viewport:t,width:e}))}},{key:"checkViewport",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]){var e=o.BREAKPOINTS.xsmall,t=!0,n=!1,i=void 0;try{for(var r,a=o.CONFIG.viewports[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var s=r.value;if(!window.matchMedia("(min-width: "+s.width+"px)").matches)return e;e=s.name}}catch(e){n=!0,i=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw i}}return e}var l=!0,u=!1,c=void 0;try{for(var d,h=o.CONFIG.viewports[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){var f=d.value;if(window.matchMedia("(max-width: "+f.width+"px)").matches)return f.name}}catch(e){u=!0,c=e}finally{try{!l&&h.return&&h.return()}finally{if(u)throw c}}return o.BREAKPOINTS.xlarge}},{key:"checkViewportStage",value:function(){var e=!0,t=!1,n=void 0;try{for(var i,r=o.CONFIG.viewportsStage[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var a=i.value;if(window.matchMedia("(max-width: "+a.width+"px)").matches)return a.name}}catch(e){t=!0,n=e}finally{try{!e&&r.return&&r.return()}finally{
if(t)throw n}}return o.BREAKPOINTS.stageDesktop}},{key:"getCurrentViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?"currentViewportFixed":"currentViewport";return null===this[t]&&(this[t]=this.checkViewport(e)),this[t]}},{key:"getCurrentViewportStage",value:function(){return this.checkViewportStage()}},{key:"getViewportInfo",value:function(e){var t=e||this.getCurrentViewport(),n=!0,i=!1,r=void 0;try{for(var a,s=o.CONFIG.viewports[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(t===l.name)return{viewport:l.name,width:l.width}}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return null}}]),e}();a||(a=new s).init(),t.default=function(){return a}},142:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1);var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domTarget=t.domTarget,this.domElement=this.domTarget.querySelector("button.play-pause")||null,this.playText=null,this.pauseText=null,this.playDescription=null,this.pauseDescription=null,this.autoplayPlayDescription=null,this.autoplayPauseDescription=null,this.pauseDescription=null,this.paused=!1,this.isAutoPlayed=!0,this.additionalToggleHandler=t.additionalToggleHandler||null,this.hasSvgs=t.hasSvgs||!1}return i(e,[{key:"init",value:function(){this.domElement&&((0,r.removeClass)(this.domElement,"hidden"),this.playText=this.domElement.dataset.playText,this.pauseText=this.domElement.dataset.pauseText,this.playDescription=this.domElement.dataset.playDescription,this.pauseDescription=this.domElement.dataset.pauseDescription,this.autoplayPlayDescription=this.domElement.dataset.autoplayPlayDescription,this.autoplayPauseDescription=this.domElement.dataset.autoplayPauseDescription,this.hasSvgs&&(0,r.addClass)(this.domElement,"type-icon"),(0,r.addClass)(this.domElement,"initialized"),this.initEventHandlers())}},{key:"initEventHandlers",value:function(){var e=this;this.domElement.addEventListener("click",function(){e.toggleState()}),window.addEventListener("keyup",function(t){((0,r.hasFocus)(e.domTarget)||(0,r.hasHover)(e.domTarget))&&e.isAutoPlayed&&((0,r.checkKeyCode)(t,o.KEYCODES.ESCAPE)||(0,r.checkKeyCode)(t,o.KEYCODES.PAUSE))&&(e.toggleState(),e.additionalToggleHandler&&e.additionalToggleHandler())})}},{key:"toggleState",value:function(){if(this.domElement)if(this.paused)if(this.paused=!1,(0,r.removeClass)(this.domElement,"paused"),this.hasSvgs){var e=(0,r.generateSVGIcon)("pause","icon");this.domElement.innerHTML=e,this.domElement.title=this.autoplayPauseDescription,this.domElement.setAttribute("aria-label",this.autoplayPauseDescription)}else this.domElement.innerText=this.pauseText,this.domElement.title=this.pauseDescription,this.domElement.setAttribute("aria-label",this.pauseDescription);else if(this.paused=!0,(0,r.addClass)(this.domElement,"paused"),this.hasSvgs){var t=(0,r.generateSVGIcon)("play","icon");this.domElement.innerHTML=t,this.domElement.title=this.autoplayPlayDescription,this.domElement.setAttribute("aria-label",this.autoplayPlayDescription)}else this.domElement.innerText=this.playText,this.domElement.title=this.playDescription,this.domElement.setAttribute("aria-label",this.playDescription)}},{key:"isPaused",value:function(){return this.paused}}]),e}();t.default=a},1422:function(e,t,n){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=g(n(1604)),o=g(n(501)),a=g(n(1142)),s=g(n(1609)),l=g(n(1602)),u=g(n(1601)),c=g(n(1614)),d=g(n(1605)),h=g(n(1603)),f=g(n(1606)),m=g(n(1607)),v=g(n(1608)),p=g(n(1600)),y=g(n(1126));function g(e){return e&&e.__esModule?e:{default:e}}var b={FlowStage:r.default,FlowForm:o.default,GatedLink:a.default,ToolboxSearch:s.default,FlowPlaceholderIcon:l.default,FlowVideoTiles:d.default,FlowProgressBar:h.default,FlowWordSwiper:f.default,ReadingTime:m.default,RichTextContent:v.default,Checkboard:p.default,HoverGrid:y.default};window.classesAdditional=window.classesAdditional||{},window.classesAdditional=i({},window.classesAdditional,b,c.default);window.sharedObjects=window.sharedObjects||{},window.sharedObjects=i({},window.sharedObjects,{}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".type-flowmagazine-stage");new r.default({element:e}).init(),(new l.default).init();var t=document.querySelectorAll(".cnt-video-tiles");0!==t.length&&t.forEach(function(e){new d.default({element:e}).init()})}),document.addEventListener("readystatechange",function(){
"interactive"===document.readyState&&(new u.default).init()})},144:function(e,t,n){(function(e,n){var i=200,r="__lodash_hash_undefined__",o=800,a=16,s=9007199254740991,l="[object Arguments]",u="[object AsyncFunction]",c="[object Function]",d="[object GeneratorFunction]",h="[object Null]",f="[object Object]",m="[object Proxy]",v="[object Undefined]",p=/^\[object .+?Constructor\]$/,y=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[l]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g[c]=g["[object Map]"]=g["[object Number]"]=g[f]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var b="object"==typeof e&&e&&e.Object===Object&&e,E="object"==typeof self&&self&&self.Object===Object&&self,w=b||E||Function("return this")(),S="object"==typeof t&&t&&!t.nodeType&&t,C=S&&"object"==typeof n&&n&&!n.nodeType&&n,T=C&&C.exports===S,_=T&&b.process,k=function(){try{var e=C&&C.require&&C.require("util").types;return e||_&&_.binding&&_.binding("util")}catch(e){}}(),A=k&&k.isTypedArray;var I=Array.prototype,O=Function.prototype,M=Object.prototype,L=w["__core-js_shared__"],x=O.toString,P=M.hasOwnProperty,N=function(){var e=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),R=M.toString,D=x.call(Object),q=RegExp("^"+x.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=T?w.Buffer:void 0,F=w.Symbol,B=w.Uint8Array,W=j?j.allocUnsafe:void 0,H=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),V=Object.create,U=M.propertyIsEnumerable,z=I.splice,Y=F?F.toStringTag:void 0,G=function(){try{var e=ye(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),$=j?j.isBuffer:void 0,K=Math.max,Q=Date.now,X=ye(w,"Map"),J=ye(Object,"create"),Z=function(){function e(){}return function(t){if(!Oe(t))return{};if(V)return V(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ie(e){var t=this.__data__=new te(e);this.size=t.size}function re(e,t){var n=Te(e),i=!n&&Ce(e),r=!n&&!i&&ke(e),o=!n&&!i&&!r&&Le(e),a=n||i||r||o,s=a?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],l=s.length;for(var u in e)!t&&!P.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ge(u,l))||s.push(u);return s}function oe(e,t,n){(void 0===n||Se(e[t],n))&&(void 0!==n||t in e)||le(e,t,n)}function ae(e,t,n){var i=e[t];P.call(e,t)&&Se(i,n)&&(void 0!==n||t in e)||le(e,t,n)}function se(e,t){for(var n=e.length;n--;)if(Se(e[n][0],t))return n;return-1}function le(e,t,n){"__proto__"==t&&G?G(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}ee.prototype.clear=function(){this.__data__=J?J(null):{},this.size=0},ee.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ee.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},ee.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:P.call(t,e)},ee.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=J&&void 0===t?r:t,this},te.prototype.clear=function(){this.__data__=[],this.size=0},te.prototype.delete=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),--this.size,0))},te.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},te.prototype.has=function(e){return se(this.__data__,e)>-1},te.prototype.set=function(e,t){var n=this.__data__,i=se(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},ne.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(X||te),string:new ee}},ne.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},ne.prototype.get=function(e){return pe(this,e).get(e)},ne.prototype.has=function(e){return pe(this,e).has(e)},ne.prototype.set=function(e,t){var n=pe(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},ie.prototype.clear=function(){this.__data__=new te,this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ie.prototype.get=function(e){return this.__data__.get(e)},ie.prototype.has=function(e){return this.__data__.has(e)},ie.prototype.set=function(e,t){var n=this.__data__;if(n instanceof te){
var r=n.__data__;if(!X||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ne(r)}return n.set(e,t),this.size=n.size,this};var ue=function(e){return function(t,n,i){for(var r=-1,o=Object(t),a=i(t),s=a.length;s--;){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}();function ce(e){return null==e?void 0===e?v:h:Y&&Y in Object(e)?function(e){var t=P.call(e,Y),n=e[Y];try{e[Y]=void 0;var i=!0}catch(e){}var r=R.call(e);i&&(t?e[Y]=n:delete e[Y]);return r}(e):function(e){return R.call(e)}(e)}function de(e){return Me(e)&&ce(e)==l}function he(e){return!(!Oe(e)||function(e){return!!N&&N in e}(e))&&(Ae(e)?q:p).test(function(e){if(null!=e){try{return x.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function fe(e){if(!Oe(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=be(e),n=[];for(var i in e)("constructor"!=i||!t&&P.call(e,i))&&n.push(i);return n}function me(e,t,n,i,r){e!==t&&ue(t,function(o,a){if(r||(r=new ie),Oe(o))!function(e,t,n,i,r,o,a){var s=Ee(e,n),l=Ee(t,n),u=a.get(l);if(u)return void oe(e,n,u);var c=o?o(s,l,n+"",e,t,a):void 0,d=void 0===c;if(d){var h=Te(l),m=!h&&ke(l),v=!h&&!m&&Le(l);c=l,h||m||v?Te(s)?c=s:!function(e){return Me(e)&&_e(e)}(s)?m?(d=!1,c=function(e,t){if(t)return e.slice();var n=e.length,i=W?W(n):new e.constructor(n);return e.copy(i),i}(l,!0)):v?(d=!1,c=function(e,t){var n=t?function(e){var t=new e.constructor(e.byteLength);return new B(t).set(new B(e)),t}(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(l,!0)):c=[]:c=function(e,t){var n=-1,i=e.length;t||(t=Array(i));for(;++n<i;)t[n]=e[n];return t}(s):function(e){if(!Me(e)||ce(e)!=f)return!1;var t=H(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&x.call(n)==D}(l)||Ce(l)?(c=s,Ce(s)?c=function(e){return function(e,t,n,i){var r=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?le(n,s,l):ae(n,s,l)}return n}(e,xe(e))}(s):Oe(s)&&!Ae(s)||(c=function(e){return"function"!=typeof e.constructor||be(e)?{}:Z(H(e))}(l))):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a.delete(l));oe(e,n,c)}(e,t,a,n,me,i,r);else{var s=i?i(Ee(e,a),o,a+"",e,t,r):void 0;void 0===s&&(s=o),oe(e,a,s)}},xe)}function ve(e,t){return we(function(e,t,n){return t=K(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,o=K(i.length-t,0),a=Array(o);++r<o;)a[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ne),e+"")}function pe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function ye(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return he(n)?n:void 0}function ge(e,t){var n=typeof e;return!!(t=null==t?s:t)&&("number"==n||"symbol"!=n&&y.test(e))&&e>-1&&e%1==0&&e<t}function be(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function Ee(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var we=function(e){var t=0,n=0;return function(){var i=Q(),r=a-(i-n);if(n=i,r>0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(G?function(e,t){return G(e,"toString",{configurable:!0,enumerable:!1,value:function(e){return function(){return e}}(t),writable:!0})}:Ne);function Se(e,t){return e===t||e!=e&&t!=t}var Ce=de(function(){return arguments}())?de:function(e){return Me(e)&&P.call(e,"callee")&&!U.call(e,"callee")},Te=Array.isArray;function _e(e){return null!=e&&Ie(e.length)&&!Ae(e)}var ke=$||function(){return!1};function Ae(e){if(!Oe(e))return!1;var t=ce(e);return t==c||t==d||t==u||t==m}function Ie(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Oe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Me(e){return null!=e&&"object"==typeof e}var Le=A?function(e){return function(t){return e(t)}}(A):function(e){return Me(e)&&Ie(e.length)&&!!g[ce(e)]};function xe(e){return _e(e)?re(e,!0):fe(e)}var Pe=function(e){return ve(function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!Oe(n))return!1;var i=typeof t;return!!("number"==i?_e(n)&&ge(t,n.length):"string"==i&&t in n)&&Se(n[t],e)}(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);++i<r;){var s=n[i];s&&e(t,s,i,o)}return t})}(function(e,t,n){me(e,t,n)});function Ne(e){return e}n.exports=Pe}).call(t,n(6),n(124)(e))},16:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(1),o=n(0);var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"buildMessageElement",value:function(){var e=document.createElement("DIV");return e.style.padding="25px",e.style.position="relative",e}},{key:"showModalByString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.buildMessageElement();i.innerText=e;var a=n?t+" no-close":t;(0,o.dispatchCustomEvent)(r.CONFIG.events.modalReplaceContent,i),(0,o.dispatchCustomEvent)(r.CONFIG.events.modalShow,a)}},{key:"showModalByHTML",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t+" no-close":t;(0,o.dispatchCustomEvent)(r.CONFIG.events.modalReplaceContent,n),(0,o.dispatchCustomEvent)(r.CONFIG.events.modalShow,i)}},{key:"showLoadingModal",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.buildMessageElement();i.innerText=e;var a=n?t+" no-close":t;(0,o.dispatchCustomEvent)(r.CONFIG.events.modalReplaceContent,{advanced:!0,message:i,showLoadingIndicator:!0}),(0,o.dispatchCustomEvent)(r.CONFIG.events.modalShow,a)}},{key:"getModalElement",value:function(){return document.querySelector("#modal-layer")}}]),e}();t.default=a},1600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0);var o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element}return i(e,[{key:"init",value:function(){var e=this;document.addEventListener("readystatechange",function(){"complete"===document.readyState&&(e.processTextboxes(),window.addEventListener("resize",function(){e.maxHeight=e.maxHeightElement.clientHeight,e.calculateMaxHeight()}))})}},{key:"calculateMaxHeight",value:function(){var e=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function i(r,o){try{var a=t[r](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){i("next",e)},function(e){i("throw",e)});e(s)}("next")})}}(regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.textboxes.forEach(function(e){t.maxHeight!==e.clientHeight&&(e.style.height=t.maxHeight+"px")});case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"processTextboxes",value:function(){var e=this;this.textboxes=this.element.querySelectorAll(".mod-text-box"),this.maxHeight=0,this.maxHeightElement=null;var t=new Set;this.textboxes.forEach(function(e){var n=window.getComputedStyle(e),i=null;i=e.className.split(" ").some(function(e){return e.match("type-gradient")})?n.getPropertyValue("background-image"):n.getPropertyValue("background-color"),t.add(i)});var n;n=Array.from(t),this.textboxes.forEach(function(t,i){var r=t.dataset.image;r&&fetch(r).then(function(e){return e.text()}).then(function(e){var n="<svg"===e.substring(0,4),i=t.querySelector(".svg-icon");if(n)i.innerHTML=e;else{var o=new Image;o.src=r,o.loading="lazy",o.onerror=function(){i.remove()},i.appendChild(o)}}).catch(function(e){return console.error("error in fetch: ",e)}),e.processTabletApperance(t,n,i),e.maxHeight<=t.clientHeight&&(e.maxHeight=t.clientHeight,e.maxHeightElement=t)}),this.calculateMaxHeight().then(function(){return(0,r.removeClass)(e.element,"hidden")})}},{key:"processTabletApperance",value:function(e,t,n){t.length>=2&&t.length<this.textboxes.length?(e.style.setProperty("--first",t[0]),e.style.setProperty("--second",t[1])):t.length>=2&&t.length>=this.textboxes.length?(e.style.setProperty("--first",t[n]),e.style.setProperty("--second",t[n])):(e.style.setProperty("--first",t[0]),e.style.setProperty("--second",t[0])),(0,r.addClass)(e,"initialized")}}]),e}();t.default=o},1601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_TEASER_BUTTON_CSS_CLASS=t.NAVI_TEASER_BUTTON_CSS_CLASS=t.TEASER_BUTTON_LINK_FLAG=t.LAST_BREADCRUMB_ENTRY_SELECTOR=t.HEADER_LOGO_SELECTOR=t.LAST_NAVI_ENTRY_SELECTOR=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0)
;var o=t.LAST_NAVI_ENTRY_SELECTOR=".navigation-main ul.nav-root > li:last-child > a",a=t.HEADER_LOGO_SELECTOR=".main-header .logo",s=t.LAST_BREADCRUMB_ENTRY_SELECTOR=".navigation-breadcrumb ul li:last-child",l=t.TEASER_BUTTON_LINK_FLAG="{navi-button}",u=t.NAVI_TEASER_BUTTON_CSS_CLASS="navi-teaser-button",c=t.HEADER_TEASER_BUTTON_CSS_CLASS="header-teaser-button",d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"init",value:function(){this.prepareDom()}},{key:"prepareDom",value:function(){this.handleTeaserButton()}},{key:"handleTeaserButton",value:function(){var e=function(e){return e.replace(l,"").trim()},t=document.querySelector(o);if(null!==t&&null!==t.textContent&&t.textContent.includes(l)){t.textContent=e(t.textContent);var n=t.getAttribute("title");n=null===n||""===n?t.textContent:e(n),t.setAttribute("title",n);var i=t.cloneNode(!0);t.parentElement.classList.add(u),i.classList.add(c);var d=document.querySelector(a);null===d?(0,r.log)("logo not found for mobile teaser button insertion","FlowNavigation",a):d.parentNode.insertBefore(i,d);var h=document.querySelector(s);null!==h&&h.textContent.includes(l)&&(h.textContent=e(h.textContent))}}}]),e}();t.default=d},1602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"init",value:function(){var e=this;[".option-over-headline .wrapper > h3",".option-over-headline .wrapper .content-wrapper > h3"," .text"].forEach(function(t){return e.replacePlaceholderIcons(".mod-text-box.box-design"+t)})}},{key:"replacePlaceholderIcons",value:function(e){document.querySelectorAll(e).forEach(function(e){var t=e.innerHTML.replace(/^\s+|\s+$/gm,"");if(!(t.length<=0)){for(var n="",i=0,o=/{icon-([^{}]+)}/g;i<t.length;){var a=o.exec(t);if(null!==a)i<a.index&&(n+=t.substring(i,a.index)),n+='<span class="flow-placeholder-icon">'+(0,r.generateSVGIcon)(a[1])+"</span>",i=o.lastIndex;else{if(i<=0)return;n+=t.substring(i),i=t.length}}e.innerHTML=n}})}}]),e}();t.default=o},1603:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element}return i(e,[{key:"init",value:function(){var e=document.body.querySelector(".navigation-main");if(e){var t=this.element.cloneNode(!0);t.classList.add("is-mobile"),document.body.appendChild(t),e.appendChild(this.element),e.classList.add("is-sticky"),this.initScrollListener(t)}else this.element.classList.add("hidden")}},{key:"initScrollListener",value:function(e){var t=this,n=!1;document.addEventListener("scroll",function(){n||(window.setTimeout(function(){var i=(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100).toFixed(1);t.element.setAttribute("value",i),e.setAttribute("value",i),n=!1},50),n=!0)})}}]),e}();t.default=r},1604:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.flowStageText=t.element?t.element.querySelector(".text"):null}return i(e,[{key:"init",value:function(){this.flowStageText&&this.addEllipsis(this.flowStageText)}},{key:"addEllipsis",value:function(e){var t=e.innerText.trim();t.length>400&&(t=t.substring(0,400),this.flowStageText.innerText=t.substr(0,t.lastIndexOf(" "))+" ...")}}]),e}();t.default=r},1605:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=c(n(67)),a=n(29),s=c(a),l=n(1),u=c(n(3));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){
function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element,this.sourceContainer=this.domElement.querySelector(".mod-video-tiles"),this.videoTiles=this.sourceContainer.children,this.sourceContainersShownItems=4}return i(e,[{key:"init",value:function(){var e=this;if(this.preloadMovingImageExtension=new o.default({}),this.preloadMovingImageExtension.init(),window.addEventListener("scroll",function(){return e.addScrollingClass(e.domElement)}),window.addEventListener("touchmove",function(){return e.addScrollingClass(e.domElement)}),Array.from(this.videoTiles).forEach(function(e,t){t>3&&e.classList.add("hidden")}),document.querySelector(".modal-layer-close").addEventListener("click",function(){document.querySelector(".modal-layer-content").style.height="auto"}),!this.domElement.querySelector("button")||this.videoTiles.length>4){var t=document.createElement("button");t.className="button load_tiles",t.textContent="Load more",t.addEventListener("click",function(){return e.loadMoreTiles()}),this.domElement.appendChild(t)}Array.from(this.videoTiles).forEach(function(t){t.classList.contains(e.tileHasHandlerClass)||(t.classList.add(e.tileHasHandlerClass),t.addEventListener("click",function(){var n=t.dataset.videoType;"youtube"===n?e.initPlayer(function(){return e.startYoutube(t.dataset.videoId)},a.UCEVENT_SERVICE_YOUTUBE):"movingImage"===n&&e.initPlayer(function(){return e.startMovieImage(t.dataset.mediaLinkId)},a.UCEVENT_SERVICE_MOVINGIMAGE)}))}),window.addEventListener(l.CONFIG.events.modalOnHide,function(){var e=document.querySelector(".modal-layer-content iframe");null!=e&&e.remove()})}},{key:"addScrollingClass",value:function(e){e.classList.add("isScrolling"),clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(function(){e.classList.remove("isScrolling")},100)}},{key:"loadMoreTiles",value:function(){var e=this;if(this.sourceContainersShownItems=this.sourceContainersShownItems+4,Array.from(this.videoTiles).forEach(function(t,n){n>e.sourceContainersShownItems-1?t.classList.add("hidden"):t.classList.remove("hidden")}),this.videoTiles.length<=this.sourceContainersShownItems){var t=this.domElement.querySelector("button.load_tiles");this.domElement.removeChild(t)}}},{key:"initPlayer",value:function(e,t){var n=new s.default;n.init(),n.injectServiceCheck(e,function(){return n.showDeniedModalVideo(t)},t)}},{key:"startMovieImage",value:function(e){var t=new o.default({videoID:e});t.init(),window.location.hash=t.hashID+"="+e,(0,r.dispatchCustomEvent)(l.CONFIG.events.modalReplaceContent,t.getMediaContentElement()),t.replaceMediaContentElementWidthPlayer(),t.webTrackEvent(),(0,r.dispatchCustomEvent)(l.CONFIG.events.modalShow),document.querySelector(".modal-layer-content").style.height="100%"}},{key:"startYoutube",value:function(e){(0,r.dispatchCustomEvent)(l.CONFIG.events.modalShow),(0,u.default)().trackByAction("youtube_video_open_"+e);var t=document.querySelector(".modal-layer-content");t.style.height="70vh";var n=document.createElement("iframe");for(n.src="https://www.youtube.com/embed/"+e,n.width="100.5%",n.height="100%",n.frameborder="0",n.allow="autoplay; encrypted-media",n.allowfullscreen=!0;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(n)}}]),e}();t.default=d},1606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(142));function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.isAnimated=!0,this.pauseButton=null}return i(e,[{key:"init",value:function(){this.generateHTML()}},{key:"initPauseButton",value:function(){var e=this;this.pauseButton=new r.default({domTarget:this.element,hasSvgs:!0}),this.pauseButton.init(),this.pauseButton.toggleState();var t=null;this.pauseButton&&this.pauseButton.domElement&&(t=this.pauseButton.domElement),this.pauseButton.isPaused()&&this.pauseButton.toggleState(),t&&(t.addEventListener("click",function(){e.isAnimated=!e.isAnimated}),this.element.appendChild(t))}},{key:"generateHTML",value:function(){var e=this,t=this.element.querySelectorAll(".word-swiper-content");this.initPauseButton(),t.forEach(function(t){var n=t,i=t.dataset.text||"",r=i.match(/#\{(.*?)\}/)[1].split(","),o=t.querySelector(".text-content");if(o){var a=i.replace(/#\{(.*?)\}/g,'<div class="dynamic-content"></div>');o.innerHTML=a
;var s=o.querySelector(".dynamic-content");if(s){r.forEach(function(e){var t=document.createElement("p");t.textContent=e,t.classList.add("animated-word");var n=t.textContent.split("");t.textContent="",n.forEach(function(e){var n=document.createElement("span");n.textContent=e,t.appendChild(n)}),s.appendChild(t)});var l=s.querySelectorAll(".animated-word"),u=l.length-1;l[0].style.display="flex",e.setAriaLabel(t,i,r),window.setTimeout(function(){s.style.width=l[0].getBoundingClientRect().width+"px"},100),n.dataset.currentWordIndex="0",window.setInterval(function(){return e.rotateText(t,l,s,u)},4e3)}}else t.remove()})}},{key:"setAriaLabel",value:function(e,t,n){var i=t.replace(/#\{(.*?)\}/g,n.join(" and ")),r=e.querySelector("h2");r&&(r.ariaLabel=i)}},{key:"rotateText",value:function(e,t,n,i){if(this.isAnimated){var r=e,a=n,s=parseInt(e.dataset.currentWordIndex,10),l=t[s],u=s===i?t[0]:t[s+1];[].concat(o(l.children)).forEach(function(e,t){var n=e;window.setTimeout(function(){return n.className="letter out"},80*t)});var c=u.children.length>l.children.length?l.children.length:u.children.length;window.setTimeout(function(){l.style.display="none"},340+80*c),u.style.display="flex",[].concat(o(u.children)).forEach(function(e,t){var n=e;n.className="letter behind",window.setTimeout(function(){return n.className="letter in"},340+80*t)}),s=s===i?0:s+1,r.dataset.currentWordIndex=s,window.setTimeout(function(){a.style.width=u.getBoundingClientRect().width+"px"},340+80*c)}}}]),e}();t.default=a},1607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element}return i(e,[{key:"init",value:function(){this.getContent()}},{key:"countWords",value:function(e){return e&&e.trim().length&&e.length>0?e.trim().split(/\s+/).length:0}},{key:"showErrorMessage",value:function(){var e=this.element.querySelector(".error-message");e&&e.classList.add("active")}},{key:"getReadingTime",value:function(e){var t=this.element.dataset.wordsPerMinute||200,n=Math.ceil(e/t);if(e&&n&&n>0){var i=this.element.querySelector(".reading-text");i&&(i.innerText=i.innerText.replace("MINUTES",n),i.classList.add("active"))}else this.showErrorMessage()}},{key:"getContent",value:function(){var e=this,t=document.body.querySelector(".cms-row.row-index-3");if(t){var n=0;t.querySelector(".cms-column-66 .cms-container").querySelectorAll(".mod-text-box .content").forEach(function(t){n+=e.countWords(t.innerText)}),this.getReadingTime(n)}else this.showErrorMessage()}}]),e}();t.default=r},1608:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=s(n(130)),a=s(n(303));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.domContentWrapper=e.element,n.videoLinks=[],n.images=[],n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"init",value:function(){(0,r.findParent)(this.domContentWrapper,"mod-mega-tab-box-item")&&null===(0,r.findParent)(this.domContentWrapper,"management-module")||(this.initTableModule(),this.enhanceVideoLinks(),this.removeImageAttribues(),this.initImageResizing(),(0,o.default)(this.domContentWrapper),this.applyQuotationMarksToQuoteBox(),this.initMagnify(),this.animateCountingNumbers())}},{key:"observeCountingNumber",value:function(e,t){new IntersectionObserver(function(n,i){n.forEach(function(n){if(n.isIntersecting){var r=e.textContent.match(/-?\d+(\.\d+)?/);if(r&&r.length>0){var o=e;o.innerHTML=e.innerHTML.replace(/(-?\d+(\.\d+)?)/,'<span class="number">$1</span>');var a=parseFloat(r[0]),s=o.querySelector(".number");t(s,a)}i.disconnect()}})}).observe(e)}},{key:"startCounting",
value:function(e){var t=e.numberElement,n=e.startNumber,i=e.targetNumber,r=e.duration,o=performance.now(),a=n,s=i,l=t,u=s%1!=0;t.classList.add("intersected"),window.requestAnimationFrame(function e(t){var n=t-o,i=Math.min(n/r,1),c=i*(s-a)+a,d=u?c.toFixed(1):Math.floor(c);i<1?(window.requestAnimationFrame(e),l.innerHTML=d):l.innerHTML=u?s.toFixed(1):s})}},{key:"animateCountingNumbers",value:function(){var e=this;this.domContentWrapper.querySelectorAll(".counting-number").forEach(function(t){e.observeCountingNumber(t,function(t,n){window.setTimeout(function(){e.startCounting({numberElement:t,startNumber:0,targetNumber:n,duration:2e3})},1e3)})})}}]),t}();t.default=l},1609:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=s(n(78)),a=s(n(3));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.element=e.element,n.isMobile=e.isMobile||!1,n.globalConfig=(0,r.getProjectConfig)("flow"),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"useConfigLabels",value:function(){var e=this;(0,r.querySelectorArray)(this.overlayElement,".radiobutton").forEach(function(t){var n=t.querySelector("label span"),i=t.querySelector("label").getAttribute("data-for"),r="";i.match("cb")?r=e.globalConfig.localization.titleCBWebsiteSearch:i.match("flow")&&(r=e.globalConfig.localization.titleFlowContentHubSearch),""!==r&&(n.innerHTML=r)})}},{key:"initMobileSearch",value:function(){var e=this,n=document.querySelector(".navigation-mobile"),i='.link-toolbox[title*="Search"], .link-toolbox[title*="Suche"]',o=n.querySelector(i);if(o){(0,r.log)("Mobile - search button found initially",this.sender),new t({element:o.parentNode,isMobile:!0}).init()}else{var a=new MutationObserver(function(s){var l=!0,u=!1,c=void 0;try{for(var d,h=s[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){if("childList"===d.value.type)if(o=n.querySelector(i))return(0,r.log)("Mobile - search button found after DOM change",e.sender),new t({element:o.parentNode,isMobile:!0}).init(),void a.disconnect()}}catch(e){u=!0,c=e}finally{try{!l&&h.return&&h.return()}finally{if(u)throw c}}});a.observe(document.querySelector(".navigation-mobile"),{childList:!0})}}},{key:"submitSearch",value:function(){var e=this.overlayElement.querySelector('input[name="searchContext"]:checked').value,t=this.overlayElement.querySelector('input[name="searchtext"]').value;if(null!==e&&""!==t&&t.length>=this.minimalSearchLength){var n="";switch(e){case"cb":n=this.configProject.urlCBWebsiteSearch;break;case"flow":n=this.configProject.urlFlowContentHubSearch;break;default:n=this.configProject.urlCBWebsiteSearch}(0,a.default)().trackByAction("searchrequest_toolbar_"+e+"-"+t.trim()),n=n.replace("%%SEARCH%%",escape(t.trim())),window.open(n,"_blank")}}}]),t}();t.default=l},1610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(1),o=function(e){return e&&e.__esModule?e:{default:e}}(n(67));var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"removePlayer",value:function(){if(document.getElementById(r.CONFIG.movingImage.playerElementId))try{
window.VideoPlayer.Collection.getPlayerById(r.CONFIG.movingImage.playerElementId)&&(document.querySelector(".modal-layer-content").innerHTML=null,window.VideoPlayer.Collection.removePlayerById(r.CONFIG.movingImage.playerElementId))}catch(e){console.error("Error occurred while trying to get or remove player:",e)}}}]),t}();t.default=a},1611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1),a=u(n(1610)),s=n(29),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t.element,this.cta=t.cta||(0,r.hasClass)(this.selector,"button")?this.selector:this.selector.querySelector(".button"),this.videoType=t.videoType||this.selector.getAttribute("data-media-link-type"),this.videoId=t.videoId||this.selector.getAttribute("data-media-link-id"),this.loadPreview=t.loadPreview,void 0===this.loadPreview&&void 0!==this.selector&&(this.loadPreview=this.selector.getAttribute("data-media-preview"))}return i(e,[{key:"init",value:function(){"movingImage"===this.videoType&&(this.curExt=new a.default({videoID:this.videoId}),this.curExt.init(),this.loadPreview&&this.placeThumbnail(this.cta),this.bindEvents(),this.bindHashHandling())}},{key:"bindHashHandling",value:function(){var e=this;window.location.hash.indexOf(this.curExt.hashID)>=0&&window.location.hash.indexOf(this.curExt.videoID)>=0&&window.setTimeout(function(){var t=document.createElement("DIV");(0,r.addClass)(t,"preload-image"),t.innerHTML='<button class="button">'+(0,r.generateSVGIcon)("play","icon")+"</button>",e.placeThumbnail(t.querySelector("button")),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,t),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalShow),t.querySelector("button").addEventListener("click",function(t){t.preventDefault(),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,e.curExt.getMediaContentElement()),e.curExt.replaceMediaContentElementWidthPlayer(),e.curExt.webTrackEvent()})},700)}},{key:"bindEvents",value:function(){var e=this;this.cta.addEventListener("click",function(t){t.preventDefault();var n=new l.default;n.init(),n.injectServiceCheck(function(){e.initialiseMovingImage()},function(e){n.showDeniedModalVideo(e)},s.UCEVENT_SERVICE_MOVINGIMAGE)})}},{key:"initialiseMovingImage",value:function(){window.location.hash=this.curExt.hashID+"="+this.videoId,(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,this.curExt.getMediaContentElement()),this.curExt.replaceMediaContentElementWidthPlayer(),this.curExt.webTrackEvent(),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalShow)}},{key:"placeThumbnail",value:function(e){var t=this;(new l.default).injectServiceCheck(function(){t.curExt.placeThumbnail(e)},function(){t.curExt.placeThumbnail(e)},s.UCEVENT_SERVICE_MOVINGIMAGE)}}]),e}();t.default=c},1612:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(170));var o=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.teaserHeadlineElements=document.querySelectorAll(".newsstream-teaser-check .mod-text-box .content-wrapper .content h2 a"),n.teaserHeadlines=Array.from(n.teaserHeadlineElements).map(function(e){return e.title}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"init",value:function(){this.logInitialSettings(),this.prepareDom(),this.teaserHeadlines.length>0&&this.useNewsStreamCustomQuery(),this.fetchNews()}},{key:"useNewsStreamCustomQuery",value:function(){
for(var e="-C03News.headline:(",t=0;t<this.teaserHeadlines.length;t+=1)t<this.teaserHeadlines.length-1?e+='"'+encodeURIComponent(this.teaserHeadlines[t])+'" || ':e+='"'+encodeURIComponent(this.teaserHeadlines[t])+'")';this.setNewsStreamCustomQuery(encodeURIComponent(e))}}]),t}();t.default=o},1613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(1612)),o=s(n(493)),a=s(n(1169));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default),i(t,[{key:"init",value:function(){this.advanced?new o.default(this.options).init():new r.default(this.options).init()}}]),t}();t.default=l},1614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(1611));function r(e){return e&&e.__esModule?e:{default:e}}var o={NewsStream:r(n(1613)).default,ModalLayerLink:i.default};t.default=o},163:function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,i,r){var o=n(e),a=n(t),s="("===(r=r||"()")[0],l=")"===r[1];return(s?this.isAfter(o,i):!this.isBefore(o,i))&&(l?this.isBefore(a,i):!this.isAfter(a,i))||(s?this.isBefore(o,i):!this.isAfter(o,i))&&(l?this.isAfter(a,i):!this.isBefore(a,i))}}})},166:function(e,t,n){var i,r,o;!function(a,s){r=[n(76),n(43)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(window,function(e,t){"use strict";var n=document.documentElement.style,i="string"==typeof n.transition?"transition":"WebkitTransition",r="string"==typeof n.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],a={transform:r,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function s(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var l=s.prototype=Object.create(e.prototype);l.constructor=s,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.getSize=function(){this.size=t(this.element)},l.css=function(e){var t=this.element.style;for(var n in e){t[a[n]||n]=e[n]}},l.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=e[t?"left":"right"],r=e[n?"top":"bottom"],o=parseFloat(i),a=parseFloat(r),s=this.layout.size;-1!=i.indexOf("%")&&(o=o/100*s.width),-1!=r.indexOf("%")&&(a=a/100*s.height),o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=t?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},l.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"paddingLeft":"paddingRight",o=n?"left":"right",a=n?"right":"left",s=this.position.x+e[r];t[o]=this.getXValue(s),t[a]="";var l=i?"paddingTop":"paddingBottom",u=i?"top":"bottom",c=i?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},l.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},l.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},l._transitionTo=function(e,t){this.getPosition();var n=this.position.x,i=this.position.y,r=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!r||this.isTransitioning){var o=e-n,a=t-i,s={};s.transform=this.getTranslate(o,a),this.transition({to:s,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(e,t){var n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop");return"translate3d("+(e=n?e:-e)+"px, "+(t=i?t:-t)+"px, 0)"},l.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(e,t){this.position.x=parseFloat(e),
this.position.y=parseFloat(t)},l._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},l.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);this.element.offsetHeight;null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var u="opacity,"+function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}(r);l.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:u,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1)}},l.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},l.onotransitionend=function(e){this.ontransitionend(e)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,n=c[e.propertyName]||e.propertyName;if(delete t.ingProperties[n],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd)t.onEnd[n].call(this),delete t.onEnd[n];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},l._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(d)},l.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){i&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s})},169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=c(n(4)),a=n(0),s=c(n(179)),l=c(n(56)),u=c(n(69));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function i(r,o){try{var a=t[r](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){i("next",e)},function(e){i("throw",e)});e(s)}("next")})}}var h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getNews",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={contentType:"C03News",orderBy:"C03News.publishDate desc"},e.abrupt("return",s.default.getContent(i({},r,t)).then(function(e){return n.extendNewsByCategories(e)}));case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"extendNewsByCategories",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(n.map(function(){var e=d(regeneratorRuntime.mark(function e(n){
return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/api/newscategory/identifier/"+n.identifier+"?languageId="+n.languageId).then(function(e){return e.json()}).then(function(e){n.newsTags=e.newsTags,n.newsTagsVar=e.newsTagsVar,n.newsType=e.newsTypes,n.hiddenTags=e.hiddenTags,n.newsTagsJSON=e.newsTagsJSON}).catch(function(e){return console.warn(e)});case 2:return e.abrupt("return",n);case 3:case"end":return e.stop()}},e,t)}));return function(t){return e.apply(this,arguments)}}())));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"getInfoText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"newsType",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"publishDate";return""+(e[t]?e[t]+" | ":"")+function(e){var t=(0,o.default)((0,a.fromDotCMSDate)(e)),n=(0,a.getCurrentDisplayLanguage)(),i="de"===n?"D. MMMM YYYY":"MMMM D, YYYY";return t.locale(n).format(i)}(e[n])}},{key:"getLinkUrl",value:function(e){var t=e.redirectUrl,n=e.hostName,i=e.urlMap,r=e.languageId;return t||window.location.protocol+"//"+n+i+"?language_id="+r}},{key:"getLinkTarget",value:function(e){return e.openInNewWindow?"_blank":"_self"}},{key:"prepareEntryElement",value:function(e,t,n){var i=t.mailSubject,r=t.mailBody,o=t.shareTitle,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!function(){var t=e.querySelector(".news-share");if(t&&n){var a=new l.default({shareUrl:n,mailSettings:{subject:i,body:r}});a.init(),a.domElement&&(a.domElement.setAttribute("title",o),t.appendChild(a.domElement))}}(),function(){var t=e.querySelector("[data-module=Likes]");null!==t&&new u.default({element:t}).init()}(),function(){function t(e){if(e){var t=e.querySelector(".hidden-title");t&&t.remove();var n=document.createElement("div");n.setAttribute("class",e.getAttribute("class")),n.innerHTML=e.innerHTML,e.parentNode.replaceChild(n,e)}}if(!n){var i=e.querySelector(".news-more");i&&i.remove(),t(e.querySelector(".news-link")),s||t(e.querySelector(".news-image"))}}(),["news-like","news-share","news-social","read-more","news-more","news-actions"].forEach(function(t){var n=e.querySelector("."+t);n&&!n.hasChildNodes()&&n.remove()}),(0,a.addNewWindowHintToSubLinks)(e)}}]),e}();t.default=h},170:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEWS_STREAM_NEW_FLAG_PERIOD=t.NEWS_STREAM_LAYOUT_GUTTER_SIZE=t.NEWS_STREAM_FILTER_NAME=t.NEWS_STREAM_LAYOUT_NAME=t.NEWS_STREAM_CONTENTTYPE_NEWS=t.NEWS_STREAM_CLASSNAME_HIDDEN=t.NEWS_STREAM_CLASSNAME_TYPE_ITEM=t.NEWS_STREAM_CLASSNAME_TYPEHOLDER=t.NEWS_STREAM_CLASSNAME_TAGPILL=t.NEWS_STREAM_CLASSNAME_TAGSHOLDER=t.NEWS_STREAM_CLASSNAME_TAGS=t.NEWS_STREAM_CLASSNAME_LOADMORE=t.NEWS_STREAM_CLASSNAME_NOFURTHERRESULT=t.NEWS_STREAM_CLASSNAME_NORESULT=t.NEWS_STREAM_CLASSNAME_SEARCHINPUT=t.NEWS_STREAM_CLASSNAME_FILTER_SELECTS=t.NEWS_STREAM_ID_FILTER_LIST=t.NEWS_STREAM_CLASSNAME_NEW_FLAG=t.NEWS_STREAM_CLASSNAME_TAGS_WRAPPER=t.NEWS_STREAM_CLASSNAME_FILTER_TOGGLE_BUTTON=t.NEWS_STREAM_CLASSNAME_FILTER_TOGGLE=t.NEWS_STREAM_CLASSNAME_FILTER_WRAPPER=t.NEWS_STREAM_CLASSNAME_SELECTS_WRAPPER=t.NEWS_STREAM_CLASSNAME_ENTRY_IMAGE=t.NEWS_STREAM_CLASSNAME_ENTRY_ITEM=t.NEWS_STREAM_CLASSNAME_ENTRY_WRAPPER=t.NEWS_STREAM_CLASSNAME_WRAPPER=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(18);var o=h(n(128));n(80);var a=h(n(4)),s=n(1),l=n(0),u=h(n(474)),c=h(n(317)),d=h(n(3));function h(e){return e&&e.__esModule?e:{default:e}}var f=t.NEWS_STREAM_CLASSNAME_WRAPPER="news-stream-wrapper",m=t.NEWS_STREAM_CLASSNAME_ENTRY_WRAPPER="news-stream-entries-wrapper",v=(t.NEWS_STREAM_CLASSNAME_ENTRY_ITEM="news-stream-entry",t.NEWS_STREAM_CLASSNAME_ENTRY_IMAGE="news-stream-entry-image",t.NEWS_STREAM_CLASSNAME_SELECTS_WRAPPER="news-stream-selects"),p=t.NEWS_STREAM_CLASSNAME_FILTER_WRAPPER="news-stream-filter",y=(t.NEWS_STREAM_CLASSNAME_FILTER_TOGGLE="news-stream-filter-toggle",t.NEWS_STREAM_CLASSNAME_FILTER_TOGGLE_BUTTON="news-stream-filter-toggle-button",t.NEWS_STREAM_CLASSNAME_TAGS_WRAPPER="news-stream-tags"),g=(t.NEWS_STREAM_CLASSNAME_NEW_FLAG="itm-flag",t.NEWS_STREAM_ID_FILTER_LIST="news-stream-filter-list"),b=t.NEWS_STREAM_CLASSNAME_FILTER_SELECTS="news-stream-selects",E=t.NEWS_STREAM_CLASSNAME_SEARCHINPUT="link-search",w=t.NEWS_STREAM_CLASSNAME_NORESULT="news-stream-no-results",S=t.NEWS_STREAM_CLASSNAME_NOFURTHERRESULT="news-stream-no-further-results",C=t.NEWS_STREAM_CLASSNAME_LOADMORE="news-stream-buttons button",T=(t.NEWS_STREAM_CLASSNAME_TAGS="news-stream-entry-tags",
t.NEWS_STREAM_CLASSNAME_TAGSHOLDER="news-stream-entry-tags-holder",t.NEWS_STREAM_CLASSNAME_TAGPILL="tag-pill",t.NEWS_STREAM_CLASSNAME_TYPEHOLDER="news-meta-type",t.NEWS_STREAM_CLASSNAME_TYPE_ITEM="news-meta-type-item",t.NEWS_STREAM_CLASSNAME_HIDDEN="hidden"),_=t.NEWS_STREAM_CONTENTTYPE_NEWS="C03News",k=(t.NEWS_STREAM_LAYOUT_NAME="news-stream-item-layout",t.NEWS_STREAM_FILTER_NAME="select.native-select"),A=(t.NEWS_STREAM_LAYOUT_GUTTER_SIZE=32,t.NEWS_STREAM_NEW_FLAG_PERIOD=24,function(e,t){var n=[];return e&&e.hasOwnProperty(t)&&e[t].forEach(function(e){n.push(e.variable),e[t]&&e[t].forEach(function(e){n.push(e.variable)})}),n}),I=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element,this.sender=t.sender,this.newsStreamWrapper=this.domElement.querySelector("."+f),this.loadMoreButton=this.domElement.querySelector("."+C),this.loadMoreTriggered=!1,this.loadMoreState=null,this.newsEntryWrapper=this.domElement.querySelector("."+m),this.loadingIndicator=this.newsEntryWrapper.querySelector(".mod-indicator"),this.limit=this.domElement.dataset.limit||10,this.offset=0,this.loadedItems=0,this.forceLanguageId=this.domElement.dataset.forceLanguageId||null,this.newsStreamObject=JSON.parse(this.domElement.querySelector('[data-id="'+g+'"]').innerHTML),this.topicTagsCombined=[],this.filterColors={},this.oldestYear=null,this.newestYear=null,this.setYearValues(),this.enableFilters=this.newsStreamObject.enableFilters||!1,this.enableFilterByType=this.newsStreamObject.enableFilterByType||!1,this.enableFilterByTag=this.newsStreamObject.enableFilterByTags||!1,this.enableFilterByYear=this.newsStreamObject.enableFilterByYear||!1,this.enableFilterByMonth=this.newsStreamObject.enableFilterByMonth&&this.enableFilterByYear||!1,this.enableSearch=this.newsStreamObject.enableSearch||!1,this.enableTopicTags=this.newsStreamObject.enableTopicTags||!1,this.searchAriaLabel=this.domElement.dataset.searchAriaLabel||null,this.searchPlaceholder=this.domElement.dataset.searchPlaceholder||null,this.searchParameter="",this.newsStreamCustomQuery=null,this.urlParameter=new URLSearchParams(window.location.search),this.monthSelector=null,this.queryParameter={defaultParams:{types:A(this.newsStreamObject.filters.filter(function(e){return"types"===e.queryType})[0],"options"),tags:A(this.newsStreamObject.filters.filter(function(e){return"tags"===e.queryType})[0],"options"),years:[this.oldestYear,this.newestYear],months:"",hidden:A(this.newsStreamObject.filters.filter(function(e){return"hidden"===e.queryType})[0],"options")},filterParams:{types:this.urlParameter.get("types")||"",tags:this.urlParameter.get("tags")||"",years:this.urlParameter.get("years")?[this.urlParameter.get("years"),this.urlParameter.get("years")]:"",months:this.urlParameter.get("months")||"",topics:this.getSelectedTopicsFromUrl()||""},hosts:this.domElement.dataset.hosts?this.domElement.dataset.hosts.split(","):null},this.resetButtonText=this.domElement.dataset.resetText||null,this.allButtonText=this.domElement.dataset.allButtonText||null,this.noResultsInfo=this.domElement.querySelector("."+w),this.noFurtherResultsInfo=this.domElement.querySelector("."+S),this.eventLayout=s.CONFIG.events.newsStream.layout,(0,l.log)('Class "NewsStreamController" has been initialized with',this.sender,t),this.model=new u.default(t),this.view=new c.default(t)}return r(e,[{key:"init",value:function(){this.logInitialSettings(),this.prepareDom(),this.fetchNews()}},{key:"setNewsStreamCustomQuery",value:function(e){this.newsStreamCustomQuery=e}},{key:"fetchNews",value:function(){var e=this;this.model.fetchNews(_,this.limit,this.offset,"",this.queryParameter,this.forceLanguageId,this.newsStreamCustomQuery).then(function(t){(0,l.log)("fetched news",e.sender,t),e.handleResults(t),e.bindEvents()})}},{key:"logInitialSettings",value:function(){(0,l.log)("enable filter:",this.sender,this.enableFilters),(0,l.log)("enable search:",this.sender,this.enableSearch),(0,l.log)("force language id:",this.sender,this.forceLanguageId)}},{key:"prepareDom",value:function(){var e=this;if(this.newsStreamObject.filters||this.enableSearch){var t=document.createElement("div");(0,l.addClass)(t,p);var n=null;if("block"===this.domElement.dataset.layout&&(n=this.view.createTagWrapper()),this.newsStreamWrapper.insertBefore(t,this.newsEntryWrapper),n&&this.enableTopicTags&&this.newsStreamWrapper.insertBefore(n,this.newsEntryWrapper),this.enableFilters&&(this.enableFilterByType||this.enableFilterByTag||this.enableFilterByYear||this.enableFilterByMonth)){var i=document.createElement("div");(0,l.addClass)(i,v),t.appendChild(i),this.initFilters()}else this.newsStreamObject.filters.forEach(function(t){"hidden"!==t.queryType&&(e.prepareFilterColorObject(t),e.prepareTagLogic(t))}),this.view.setFilterColors(this.filterColors);if(this.enableSearch){
var r='\n          <div class="search-input-wrapper">\n            <input type="text" class="'+E+'" placeholder="'+(null!==this.searchPlaceholder?this.searchPlaceholder:"")+'" aria-label="'+(null!==this.searchAriaLabel?this.searchAriaLabel:"")+'"/>\n            <svg>\n              <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svgsymbol-search"></use>\n            </svg>\n          </div>\n        ';t.insertAdjacentHTML("afterbegin",r),this.search=this.domElement.querySelector("."+E),this.initSearch()}}"block"===this.domElement.dataset.layout&&((0,l.removeClass)(this.newsStreamWrapper,"items-type-dark-blue"),(0,l.removeClass)(this.newsStreamWrapper,"items-type-pale-blue"),(0,l.removeClass)(this.newsStreamWrapper,"items-type-neutral-grey"),(0,l.removeClass)(this.newsStreamWrapper,"items-type-ghost-grey"),(0,l.removeClass)(this.newsStreamWrapper,"items-type-blue"))}},{key:"handleResults",value:function(e){var t=this;e.length||(this.loadMoreTriggered?this.view.handleNoFurtherResults():this.view.handleEmptyResult()),e.length&&(this.handleIncrement(e),e.length<parseInt(this.limit,10)&&this.loadMoreTriggered&&this.view.handleNoFurtherResults()),e.length>0&&this.view.hideItem(this.loadingIndicator),e.forEach(function(e){t.view.renderItem(e)}),this.view.triggerMasonryLayout(),this.loadMoreTriggered=!1,(0,d.default)().initBasicClickTracking(this.newsEntryWrapper)}},{key:"handleIncrement",value:function(e){this.loadedItems+=e.length,this.offset+=parseInt(this.limit,10),this.view.hideItem(this.noFurtherResultsInfo),this.view.hideItem(this.noResultsInfo),e.length<parseInt(this.limit,10)?this.view.hideItem(this.loadMoreButton):this.view.showItem(this.loadMoreButton)}},{key:"initSearch",value:function(){var e=this;this.search.addEventListener("keyup",(0,o.default)(function(t){e.domElement.contains(t.target)&&(t.target.value.length>=3?(e.view.clearItems(),(0,l.removeClass)(e.loadingIndicator,T),e.searchParameter=t.target.value):""===t.target.value&&(e.view.clearItems(),(0,l.removeClass)(e.loadingIndicator,T),e.searchParameter=""),(t.target.value.length>=3||""===t.target.value)&&(e.view.clearItems(),e.trackFilterSettings(),e.model.fetchNews(_,e.limit,e.offset=0,e.searchParameter,e.queryParameter,e.forceLanguageId,e.newsStreamCustomQuery).then(function(t){e.handleResults(t)})))},500))}},{key:"bindEvents",value:function(){var e=this;this.loadMoreButton&&this.loadMoreButton.addEventListener("click",function(){e.loadMoreTriggered=!0,"pending"!==e.loadMoreState&&(e.loadMoreState="pending",e.model.fetchNews(_,e.limit,e.offset,e.searchParameter,e.queryParameter,e.forceLanguageId,e.newsStreamCustomQuery).then(function(t){e.handleResults(t),e.loadMoreState="finished"}).catch(function(){e.loadMoreState="error"}))})}},{key:"initFilters",value:function(){var e=this;this.newsStreamObject.filters.forEach(function(t){"hidden"!==t.queryType&&("types"===t.queryType&&e.enableFilterByType||"tags"===t.queryType&&e.enableFilterByTag||"years"===t.queryType&&e.enableFilterByYear||"months"===t.queryType&&e.enableFilterByMonth)&&(e.prepareFilter(t),e.prepareFilterColorObject(t),e.prepareTagLogic(t))}),this.addListenerForFilters(),this.view.setFilterColors(this.filterColors);var t='\n      <div class="news-stream-filter-reset">\n        <button class="button type-standard" title="'+this.resetButtonText+'" aria-label="'+this.resetButtonText+'" name="reset">\n          '+this.resetButtonText+"\n        </button>\n      </div>\n    ";this.newsStreamSelects.insertAdjacentHTML("beforeend",t),this.resetButton=this.newsStreamSelects.querySelector(".news-stream-filter-reset"),this.resetButton.addEventListener("click",function(){e.offset=0,e.searchParameter="",e.queryParameter.filterParams={types:"",tags:"",topics:"",years:"",months:""},e.search&&(e.search.value=""),(0,l.querySelectorArray)(e.newsStreamSelects,k).forEach(function(e){e.querySelector("option").selected=!0;var t=e.querySelector('option[value=""]');e.value=t.value});var t=e.domElement.querySelector("."+y);if(t){var n=(0,l.querySelectorArray)(t,"button.active");n&&n.forEach(function(e){(0,l.removeClass)(e,"active")}),(0,l.addClass)(t.querySelector('button[data-tag-value="*all*"]'),"active")}e.disableMonthSelector(),e.view.clearItems(),e.model.fetchNews(_,e.limit,e.offset,e.searchParameter,e.queryParameter,e.forceLanguageId,e.newsStreamCustomQuery).then(function(t){e.handleResults(t)})})}},{key:"addListenerForFilters",value:function(){var e=this,t=this.domElement.querySelector("."+v);if(t){var n=t.querySelectorAll(k);n&&n.forEach(function(t){t.addEventListener("change",function(n){if(e.domElement.contains(n.target)){var i=n.target.value;if(e.offset=0,""!==i?"years"===t.dataset.queryType?(e.queryParameter.filterParams[""+t.dataset.queryType]=[i,i],e.enableMonthSelector(),
""!==e.queryParameter.filterParams.months&&e.createMonthFilterByYear(e.queryParameter.filterParams.months[0],i)):"months"===t.dataset.queryType?""===e.queryParameter.filterParams.years?(e.queryParameter.filterParams.months="",e.disableMonthSelector()):e.createMonthFilterByYear(i,e.queryParameter.filterParams.years[0]):e.queryParameter.filterParams[""+t.dataset.queryType]=[i]:""===i&&("years"===t.dataset.queryType&&(e.queryParameter.filterParams.months="",e.disableMonthSelector(),e.deselectMonthSelector()),e.queryParameter.filterParams[""+t.dataset.queryType]=""),"tags"===t.dataset.queryType){var r=e.domElement.querySelector("."+y);if(r){var o=(0,l.querySelectorArray)(r,"button.active");o&&o.forEach(function(e){(0,l.removeClass)(e,"active")});var a=void 0,s=r.querySelector('button[data-tag-value="*all*"]');""===i?(a=s,e.queryParameter.filterParams.topics=""):(a=r.querySelector("button[data-tag-value="+i+"]"),e.queryParameter.filterParams.topics="",a||(a=s)),(0,l.addClass)(a,"active")}}e.view.clearItems(),e.trackFilterSettings(),e.model.fetchNews(_,e.limit,e.offset=0,e.searchParameter,e.queryParameter,e.forceLanguageId,e.newsStreamCustomQuery).then(function(t){e.handleResults(t)})}})})}}},{key:"prepareFilter",value:function(e){var t=document.createElement("div");t.classList.add("filter-wrapper");var n=document.createElement("div");n.classList.add("filter-element");var i=document.createElement("select");i.setAttribute("data-select-name",e.queryType),i.setAttribute("data-query-type",e.queryType),i.setAttribute("data-selected-value",""),i.setAttribute("data-wt","filter"),i.setAttribute("data-dependent-select",""),i.setAttribute("data-dependent-link-container",""),(0,l.addClass)(i,"native-select");var r=document.createElement("option");r.value="",r.innerText=e.label,i.appendChild(r);var o=[];if("years"!==e.queryType&&e.options)o=e.options;else if("years"===e.queryType)for(var s=this.queryParameter.defaultParams.years[1];s>=e.oldestYear;s-=1)o.push({name:s,variable:s});else if("months"===e.queryType)for(var u=0;u<12;u+=1){var c=(0,a.default)().month(u).locale((0,l.getCurrentDisplayLanguage)());o.push({name:c.format("MMMM"),variable:c.format("MM")})}o.length>0&&o.forEach(function(e){if(e.options){var t=document.createElement("optgroup");t.label=e.name,e.options.forEach(function(e){var n=document.createElement("option");n.value=e.variable,n.innerText=e.name,t.appendChild(n)}),i.appendChild(t)}else{var n=document.createElement("option");n.value=e.variable,n.innerText=e.name,i.appendChild(n)}}),n.appendChild(i);var d=(0,l.generateSVGIcon)("arrow-normal","select-arrow",!1);d&&(n.innerHTML+=d),t.appendChild(n),this.newsStreamSelects=this.domElement.querySelector("."+b),this.newsStreamSelects.insertBefore(t,this.newsStreamSelects.querySelector(".news-stream-filter-reset")),"months"===i.dataset.queryType&&(this.monthSelector=this.domElement.querySelector(k+'[data-query-type="months"]'),""===this.queryParameter.filterParams.years&&this.disableMonthSelector())}},{key:"prepareFilterColorObject",value:function(e){var t=this;"tags"===e.queryType&&e.options&&e.options.length>0&&e.options.forEach(function(e){e.color&&(t.filterColors[e.variable]=e.color,t.topicTagsCombined.push(e.variable))}),this.queryParameter.filterParams.topics=this.getSelectedTopicsFromUrl()||""}},{key:"createMonthFilterByYear",value:function(e,t){if(""!==e&&""!==t){var n=(0,a.default)(t+"-"+e+"-01"),i=n.startOf("month").format("MMDD"),r=n.endOf("month").format("MMDD");this.queryParameter.filterParams.months=[i,r]}}},{key:"prepareTagLogic",value:function(e){var t=this;if("block"===this.domElement.dataset.layout&&"tags"===e.queryType&&e.options&&e.options.length>0){var n=this.domElement.querySelector("."+y);if(n){var i=this.view.renderTagButton(this.allButtonText,"*all*","",!0);i.addEventListener("click",function(e){t.offset=0;var i=e.target;(0,l.querySelectorArray)(n,"button.active").forEach(function(e){e&&e!==i&&(0,l.removeClass)(e,"active")}),(0,l.hasClass)(i,"active")||((0,l.addClass)(i,"active"),t.queryParameter.filterParams.topics="",t.view.clearItems(),t.model.fetchNews(_,t.limit,t.offset=0,t.searchParameter,t.queryParameter,t.forceLanguageId,t.newsStreamCustomQuery).then(function(e){t.handleResults(e)}))}),n.appendChild(i),e.options.forEach(function(e){if(e.color){var r=t.isTopicSelected(e.variable);r&&(0,l.removeClass)(i,"active");var o=t.view.renderTagButton(e.name,e.variable,t.filterColors[e.variable],r);o.addEventListener("click",function(e){t.offset=0;var r=e.target;n.querySelector("button.active");(0,l.hasClass)(r,"active")?((0,l.removeClass)(r,"active"),n.querySelector("button.active")||(0,l.addClass)(i,"active")):((0,l.addClass)(r,"active"),(0,l.removeClass)(i,"active"));var o=[];(0,l.querySelectorArray)(n,"button.active").forEach(function(e){e!==i?o.push(e.dataset.tagValue):o.push("")}),t.queryParameter.filterParams.topics=o.join("%20"),t.view.clearItems(),
t.model.fetchNews(_,t.limit,t.offset=0,t.searchParameter,t.queryParameter,t.forceLanguageId,t.newsStreamCustomQuery).then(function(e){t.handleResults(e)})}),n.appendChild(o)}})}}}},{key:"disableMonthSelector",value:function(){if(this.monthSelector){var e=this.monthSelector;e&&e.setAttribute("disabled",!0)}}},{key:"enableMonthSelector",value:function(){if(this.monthSelector){var e=this.monthSelector;e&&e.removeAttribute("disabled")}}},{key:"deselectMonthSelector",value:function(){if(this.monthSelector){var e=this.monthSelector.querySelector(".dropdown-menu li div").innerText;this.monthSelector.querySelector("option").selected=!0,(0,l.removeClass)(this.monthSelector.querySelector(".dropdown-menu li.active"),"active"),(0,l.addClass)(this.monthSelector.querySelector(".dropdown-menu li"),"active"),this.monthSelector.querySelector("button .label").innerText=e}}},{key:"getSelectedTagFromDropdown",value:function(){var e=this.domElement.querySelector(k+'[data-query-type="tags"] li.selectable-item.active');if(e){var t=e.dataset.value;if(""!==t)return t}return null}},{key:"getSelectedTopicsFromUrl",value:function(){return this.urlParameter.get("topics")?this.urlParameter.get("topics").replace(",","%20"):null}},{key:"isTopicSelected",value:function(e){var t=this.urlParameter.get("topics");return!!t&&t.split(",").includes(e)}},{key:"setYearValues",value:function(){this.oldestYear=(new Date).getFullYear(),this.newestYear=(new Date).getFullYear();var e=this.newsStreamObject.filters.filter(function(e){return"years"===e.queryType})[0].oldestYear;e&&(this.oldestYear=parseInt(e,10));var t=this.newsStreamObject.filters.filter(function(e){return"years"===e.queryType})[0].newestYear;t&&t>this.newestYear&&t>this.oldestYear&&(this.newestYear=parseInt(t,10))}},{key:"trackFilterSettings",value:function(){var e=this,t="";this.searchParameter&&(t+="_search_"+this.searchParameter),["types","tags","years","months"].forEach(function(n){if(e.queryParameter.filterParams[n]){var r=e.queryParameter.filterParams[n];"object"===(void 0===r?"undefined":i(r))&&(r=r[0]),"months"===n&&(r=r.substring(0,2)),t+="_"+n+"_"+r}}),(0,d.default)().trackByAction(this.sender+"_Filter"+(t||"_no filters selected"))}}]),e}();t.default=I},177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=a(n(5)),o=a(n(129));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element}return i(e,[{key:"init",value:function(){var e=this,t=(0,r.default)(this.domElement.querySelectorAll(".cnt-accordion .itm-accordion"));this.accordionItems=t.map(function(e){return new o.default(e)}),this.accordionItems.forEach(function(t,n){t.init(function(){e.handleCallback(n)})})}},{key:"handleCallback",value:function(e){(0,r.default)(this.accordionItems).forEach(function(t,n){n!==e&&t.closeItem()})}}]),e}();t.default=s},179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(144));var a={render:"false",type:"json",query:{languageId:[[(0,n(0).getCurrentLanguageCode)()]],deleted:[["false"]]}},s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getContent",value:function(){var e=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function i(r,o){try{var a=t[r](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){i("next",e)},function(e){i("throw",e)});e(s)}("next")})}}(regeneratorRuntime.mark(function e(){var t,n,r,s,l,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){var t="",n=!0,r=!1,o=void 0;try{for(var a,s=Object.entries(e)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){
var l=i(a.value,2),u=l[0],c=l[1],d="";if("query"===u){var h=!0,f=!1,m=void 0;try{for(var v,p=function(){var e=i(v.value,2),t=e[0],n=e[1],r=void 0;r=(n=n.map(function(e){var n=e.map(function(e){return t+":"+e});return n.length>1?"("+n.join(" ")+")":n[0]})).length>1?"("+n.join(" && ")+")":n[0],d+="+"+r+" "},y=Object.entries(e[u])[Symbol.iterator]();!(h=(v=y.next()).done);h=!0)p()}catch(e){f=!0,m=e}finally{try{!h&&y.return&&y.return()}finally{if(f)throw m}}}else d+=null===c?"":c;d&&(t+="/"+u+"/"+d)}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return t},t=function(){var e={};return["limit","offset","orderBy"].forEach(function(t){void 0!==u[t]&&(e[t]=u[t])}),["conhost","contentType","categories","identifier"].forEach(function(t){var n=u[t];if(void 0!==n&&"string"==typeof n){var i=n.split("&&");n=[],i.forEach(function(e){var t=e.split(",");(t=t.map(function(e){return e.trim()}).filter(Boolean)).length&&n.push(t)}),n.length&&("query"in e||(e.query={}),e.query[t]=n)}}),e},r=(0,o.default)({},a,t()),s="/api/content"+n(r),l=[],e.next=7,fetch(s).then(function(e){return e.json()}).then(function(e){return e.contentlets}).then(function(e){l=e}).catch(function(e){throw console.info(e),new Error("fetch cms content error")});case 7:return e.abrupt("return",l);case 8:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"getLinkTarget",value:function(e,t){var n=t.openExternalLinksInNewTab,i=t.cmsCurrentHost,r="_self";if(e)try{var o=new URL(e);"true"===n&&o.hostname!==i&&(r="_blank")}catch(e){console.warn(e)}return r}}]),e}();t.default=s},18:function(e,t,n){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),i=t&&"+"===new t("s=%2B").get("s"),r="__URLSearchParams__",o=u.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&i)){o.append=function(e,t){m(this[r],e,t)},o.delete=function(e){delete this[r][e]},o.get=function(e){var t=this[r];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[r];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[r]},o.set=function(e,t){this[r][e]=[""+t]},o.toString=function(){var e,t,n,i,o=this[r],a=[];for(t in o)for(n=c(t),e=0,i=o[t];e<i.length;e++)a.push(n+"="+c(i[e]));return a.join("&")};var s=!!i&&t&&!n&&e.Proxy;e.URLSearchParams=s?new Proxy(t,{construct:function(e,t){return new e(new u(t[0]).toString())}}):u;var l=e.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(e,t){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach(function(i){n[i].forEach(function(n){e.call(t,n,i,this)},this)},this)},l.sort=l.sort||function(){var e,t,n,i=f(this.toString()),r=[];for(e in i)r.push(e);for(r.sort(),t=0;t<r.length;t++)this.delete(r[t]);for(t=0;t<r.length;t++){var o=r[t],a=i[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},l.keys=l.keys||function(){var e=[];return this.forEach(function(t,n){e.push([n])}),h(e)},l.values=l.values||function(){var e=[];return this.forEach(function(t){e.push([t])}),h(e)},l.entries=l.entries||function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),h(e)},a&&(l[e.Symbol.iterator]=l[e.Symbol.iterator]||l.entries)}function u(e){((e=e||"")instanceof URLSearchParams||e instanceof u)&&(e=e.toString()),this[r]=f(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function d(e){return decodeURIComponent(e.replace(/\+/g," "))}function h(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(n[e.Symbol.iterator]=function(){return n}),n}function f(e){var t={};if("object"==typeof e)for(var n in e){if(e.hasOwnProperty(n))m(t,n,"string"==typeof e[n]?e[n]:JSON.stringify(e[n]))}else{0===e.indexOf("?")&&(e=e.slice(1));for(var i=e.split("&"),r=0;r<i.length;r++){var o=i[r],a=o.indexOf("=");-1<a?m(t,d(o.slice(0,a)),d(o.slice(a+1))):o&&m(t,d(o),"")}}return t}function m(e,t,n){t in e?e[t].push(""+n):e[t]=[""+n]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(t,n(6))},19:function(e,t,n){var i,r,o;!function(n,a){r=[t,e],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(0,function(e,t){"use strict";var n={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function i(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e,a=t.timeout||n.timeout,s=t.jsonpCallback||n.jsonpCallback,l=void 0;return new Promise(function(n,u){var c=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),d=s+"_"+c;window[c]=function(e){n({ok:!0,json:function(){return Promise.resolve(e)}}),l&&clearTimeout(l),r(d),i(c)},o+=-1===o.indexOf("?")?"?":"&";var h=document.createElement("script")
;h.setAttribute("src",""+o+s+"="+c),t.charset&&h.setAttribute("charset",t.charset),t.nonce&&h.setAttribute("nonce",t.nonce),t.referrerPolicy&&h.setAttribute("referrerPolicy",t.referrerPolicy),t.crossorigin&&h.setAttribute("crossorigin","true"),h.id=d,document.getElementsByTagName("head")[0].appendChild(h),l=setTimeout(function(){u(new Error("JSONP request to "+e+" timed out")),i(c),r(d),window[c]=function(){i(c)}},a),h.onerror=function(){u(new Error("JSONP request to "+e+" failed")),i(c),r(d),l&&clearTimeout(l)}})}})},2031:function(e,t,n){e.exports=n(1422)},21:function(e,t){e.exports=function(){var e=function(e){return"function"==typeof e},t=Math.pow(2,53)-1,n=function(e){var n=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(n,0),t)},i=function(e){var t=e.next();return!Boolean(t.done)&&t};return function(t){"use strict";var r,o,a,s=this,l=arguments.length>1?arguments[1]:void 0;if(void 0!==l){if(!e(l))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}var u=function(t,n){if(null!=t&&null!=n){var i=t[n];if(null==i)return;if(!e(i))throw new TypeError(i+" is not a function");return i}}(t,function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(typeof e)>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}}(t));if(void 0!==u){o=e(s)?Object(new s):[];var c,d,h=u.call(t);if(null==h)throw new TypeError("Array.from requires an array-like or iterable object");for(a=0;;){if(!(c=i(h)))return o.length=a,o;d=c.value,o[a]=l?l.call(r,d,a):d,a++}}else{var f=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var m,v=n(f.length);for(o=e(s)?Object(new s(v)):new Array(v),a=0;a<v;)m=f[a],o[a]=l?l.call(r,m,a):m,a++;o.length=v}return o}}()},214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=s(n(5)),o=s(n(86)),a=n(0);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"init",value:function(){this.handleCheckboxValues(),this.addClickEvent()}},{key:"handleCheckboxValues",value:function(){var e=this,t=(0,a.querySelectorArray)(this.element,'input[type="checkbox"]');t&&(this.checkFallbackCheckboxValue(this.element.querySelector('input[type="checkbox"]')),t.forEach(function(t){var n=t;n.addEventListener("change",function(t){"TRUE"===t.target.value?n.value="FALSE":"FALSE"!==t.target.value&&"on"!==t.target.value||(n.value="TRUE"),e.checkFallbackCheckboxValue(n)})}))}},{key:"checkFallbackCheckboxValue",value:function(e){var t=e,n=(0,a.findParent)(t,"checkbox-group");if(n){var i=n.querySelector('input[data-default="true"]'),r=n.querySelector('input[type="checkbox"]:checked');i&&(null===r?t.dataset.default?("TRUE"===t.value&&this.toggleHiddenChecked(t),"FALSE"===t.value&&(t.value="TRUE",t.checked=!0,this.toggleHiddenChecked(t))):(i.value="TRUE",i.checked=!0,(0,a.addClass)(i,"hidden-checked")):(0,a.hasClass)(i,"hidden-checked")&&(i.value="FALSE",i.checked=!1,(0,a.removeClass)(i,"hidden-checked")))}}},{key:"toggleHiddenChecked",value:function(e){(0,a.hasClass)(e,"hidden-checked")?(0,a.removeClass)(e,"hidden-checked"):(0,a.addClass)(e,"hidden-checked")}},{key:"addClickEvent",value:function(){var e=this;this.submitButton.addEventListener("click",function(t){(0,r.default)((0,a.querySelectorArray)(e.element,".error")).forEach(function(e){(0,a.removeClass)(e,"error")}),e.validateForm(),null!==e.element.querySelector(".error")&&t.preventDefault()})}}]),t}();t.default=l},215:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),
i&&e(t,i),t}}(),r=u(n(5)),o=u(n(38)),a=n(1),s=n(0),l=u(n(14));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element,this.liveRegion=null,this.table=null,this.tableRows=null,this.tableHeads=null,this.viewportMode=null,this.swipeIndex=0,this.swipeColumns=0,this.swipeWidth=50,this.isSwipeEnabled=!0,this.MODE_DESKTOP="DESKTOP",this.MODE_MOBILE="MOBILE"}return i(e,[{key:"init",value:function(){var e=this;this.prepareDOM(),this.prepareForViewport((0,l.default)().getCurrentViewport()),window.setTimeout(function(){return e.handleResizeMobile()},200),this.initEventHandling(),this.generateSwipeNavigation()}},{key:"prepareDOM",value:function(){this.liveRegion=this.domElement.parentNode.querySelector("[aria-live]"),this.table=this.domElement,this.tableHeads=(0,s.querySelectorArray)(this.table,"th"),this.tableRows=(0,s.querySelectorArray)(this.table,"tr"),this.wrapper=(0,s.wrapElement)(this.domElement,"div","wrapper-table"),this.wrapper.insertAdjacentHTML("afterbegin",'<button class="button type-swipe">'+(0,s.generateSVGIcon)("swipe",null,"false")+"</button>"),this.buttonSwipe=this.domElement.parentNode.querySelector(".button.type-swipe"),this.makeTableAccessible()}},{key:"initEventHandling",value:function(){var e=this;window.addEventListener(a.CONFIG.events.viewportChange,function(t){e.prepareForViewport(t.detail.viewport)}),window.addEventListener(a.CONFIG.events.resize,function(){e.handleResizeMobile()}),this.buttonSwipe.addEventListener("click",function(t){t.preventDefault();var n=e.swipeIndex+1;n>=e.swipeColumns&&(n=0),e.slideToColumn(n),e.toggleInformationTextAriaLive()}),(0,r.default)(this.table.querySelectorAll("td")).forEach(function(t){t.addEventListener("focusin",function(n){if(n.preventDefault(),n.stopPropagation(),e.viewportMode===e.MODE_MOBILE){e.domElement.scrollLeft=0,e.wrapper.scrollLeft=0,window.requestAnimationFrame(function(){e.domElement.scrollLeft=0,e.wrapper.scrollLeft=0});var i=(0,s.getSiblingIndex)(t)-1;window.setTimeout(function(){e.slideToColumn(i)},100)}})})}},{key:"prepareForViewport",value:function(e){e===a.BREAKPOINTS.large||e===a.BREAKPOINTS.xlarge?this.switchToDesktopTable():(this.switchToMobileTable(),this.handleResizeMobile())}},{key:"makeTableAccessible",value:function(){var e=[];this.tableHeads.forEach(function(e,t){var n=e.innerText.length>0?(0,s.unifyHashValue)(e.innerText):"th_"+t;e.setAttribute("id",n)}),this.tableRows.forEach(function(t,n){var i=[];e[n]=[],0===(0,s.querySelectorArray)(t,"td").length?(0,s.querySelectorArray)(t,"th").forEach(function(t){e[n].push(t.getAttribute("id"))}):(0,s.querySelectorArray)(t,"th,td").forEach(function(t,n){var r=[];"TH"===t.tagName&&i.push(t.getAttribute("id")),e.forEach(function(e){void 0!==e[n]?r.push(e[n]):r.push(e[e.length-1])});var o=r.concat(i).filter(function(e){return e!==t.getAttribute("id")&&void 0!==e});o.length>0&&t.setAttribute("headers",o.join(" "))})})}},{key:"switchToDesktopTable",value:function(){this.viewportMode!==this.MODE_DESKTOP&&this.updateTableDesktop(),this.viewportMode=this.MODE_DESKTOP}},{key:"updateTableDesktop",value:function(){(0,s.removeClass)(this.wrapper,"is-mobile"),(0,s.addClass)(this.wrapper,"is-desktop"),this.table.removeAttribute("style");var e=this.table.querySelectorAll(".first-column");(0,s.removeClass)(e,"first-column"),(0,r.default)(e).map(function(e){return e.removeAttribute("style"),null})}},{key:"switchToMobileTable",value:function(){this.viewportMode!==this.MODE_MOBILE&&this.updateTableMobile(),this.swipeColumns>1?(0,s.addClass)(this.wrapper,"table-swipable"):(0,s.removeClass)(this.wrapper,"table-swipable"),this.viewportMode=this.MODE_MOBILE}},{key:"updateTableMobile",value:function(){(0,s.removeClass)(this.wrapper,"is-desktop"),(0,s.addClass)(this.wrapper,"is-mobile");var e=this.table.querySelector("tr"),t=(0,s.querySelectorArray)(e,"td,th").length;2===t||1===t?(this.table.style.width="100%",this.table.style.marginLeft=0,this.isSwipeEnabled=!1):this.table.style.width=50*(t-1)+"%",this.swipeColumns=t-1;var n=this.table.querySelectorAll("tr td:first-child, tr th:first-child");(0,s.addClass)(n,"first-column"),this.swipeIndex=0}},{key:"handleResizeMobile",value:function(){if(this.viewportMode===this.MODE_MOBILE){var e=0;this.tableRows.forEach(function(e){e.style.height=null}),this.tableRows.forEach(function(t,n){var i=(0,s.querySelectorArray)(t,"td,th");if(i.length){var r=i.map(function(e){return e.offsetHeight}),o=Math.ceil(Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r))),a=i[0];0===n&&o<60&&(o=60),t.style.height=o+"px",a.style.top=e+"px",e+=o}})}}},{key:"generateSwipeNavigation",value:function(){var e=this;if(this.isSwipeEnabled){var t=new o.default.Manager(this.wrapper,{})
;t.add(new o.default.Swipe({direction:o.default.DIRECTION_HORIZONTAL})),t.on("swipe",function(t){return e.handleSwipeEvent(t)})}}},{key:"handleSwipeEvent",value:function(e){if(this.viewportMode===this.MODE_MOBILE){var t=this.swipeIndex;e.direction===o.default.DIRECTION_LEFT?t+=1:t-=1,this.slideToColumn(t)}}},{key:"toggleInformationTextAriaLive",value:function(){var e=this,t=this.liveRegion.querySelector("span"),n=document.createElement("span"),i=this.getLocalizedTextTableAriaLive(this.domElement);n.innerText=""+i,(0,s.addClass)(n,"hidden-title"),t&&(0,s.removeChild)(t),window.setTimeout(function(){return e.liveRegion.appendChild(n)},250)}},{key:"slideToColumn",value:function(e){var t=this.swipeWidth;e<this.swipeColumns&&e>=0&&(e>0&&(t=(e-1)*this.swipeWidth*-1),this.table.style.marginLeft=t+"%",this.swipeIndex=e)}},{key:"getLocalizedTextTableAriaLive",value:function(e){var t="The next table column has been scrolled into view. Screen reader users can use standard table navigation techniques to navigate the entire table.";if(e.hasAttribute("data-aria-live-text"))t=e.getAttribute("data-aria-live-text");else{var n=(0,s.findParentAttr)(e,"data-aria-live-text");n&&n.getAttribute("data-aria-live-text")&&(t=n.getAttribute("data-aria-live-text"))}return t}}]),e}();t.default=c},219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(125)),o=n(0);var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element||null,this.inputEl=this.domElement.querySelector("input, textarea")}return i(e,[{key:"init",value:function(){this.domElement.querySelector('input[type="file"]')?this.handleInputTypeFile():this.domElement.querySelector('input[type="input"]',"textarea")?this.handleInputTypeText():this.domElement.querySelector("select")&&this.handleInputSelect()}},{key:"handleInputTypeText",value:function(){}},{key:"handleInputTypeFile",value:function(){var e=this.domElement.querySelector("button"),t=this.domElement.querySelector('input[type="file"]'),n=this.domElement.querySelector(".file-information .info"),i=t.dataset.maxSize||2;e.addEventListener("click",function(){t.click()}),t.addEventListener("change",function(e){Array.from(e.target.files).forEach(function(t){t.size/1024/1024<=i?n.innerText=t.name+" ("+(0,o.formatFileSize)(t.size)+")":(alert("File is too large!"),e.target.value=null,n.innerText="")})})}},{key:"handleInputSelect",value:function(){new r.default({element:this.domElement,customEvent:!0}).init()}}],[{key:"changeInputSelect",value:function(e,t){var n=(0,o.querySelectorArray)(t,"option").find(function(t){return t.innerText===e});n&&(t.querySelector("button .label").innerText=e,(0,o.removeClass)(t.querySelector(".dropdown-menu li.active"),"active"),(0,o.addClass)(t.querySelector('.dropdown-menu li[data-value="'+e+'"]'),"active"),n.selected=!0)}}]),e}();t.default=a},23:function(e,t,n){(function(t){var n=t.CustomEvent;e.exports=function(){try{var e=new n("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}()?n:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}}).call(t,n(6))},24:function(e,t){t.remove=function(e){return e.replace(/[^\u0000-\u007e]/g,function(e){return i[e]||e})};for(var n=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷＢḂḄḆɃƁ"},{base:"C",chars:"ⒸＣꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹＤḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"ǱǄ"},{base:"Dz",chars:"ǲǅ"},{base:"E",chars:"ɛⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻＦḞƑꝻ"},{base:"G",chars:"ⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿＪĴɈȷ"},{base:"K",chars:"ⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"Ǉ"},{base:"Lj",chars:"ǈ"},{base:"M",chars:"ⓂＭḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃＮǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"Ǌ"},{base:"Nj",chars:"ǋ"},{base:"O",chars:"ⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",
chars:"Ȣ"},{base:"P",chars:"ⓅＰṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆＱꝖꝘɊ"},{base:"R",chars:"ⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋＶṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌＷẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍＸẊẌ"},{base:"Y",chars:"ⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑｂḃḅḇƀƃɓƂ"},{base:"c",chars:"ｃⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓｄḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"ǳǆ"},{base:"e",chars:"ⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕｆḟƒ"},{base:"ff",chars:"ﬀ"},{base:"fi",chars:"ﬁ"},{base:"fl",chars:"ﬂ"},{base:"ffi",chars:"ﬃ"},{base:"ffl",chars:"ﬄ"},{base:"g",chars:"ⓖｇǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙｊĵǰɉ"},{base:"k",chars:"ⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"ǉ"},{base:"m",chars:"ⓜｍḿṁṃɱɯ"},{base:"n",chars:"ⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥлԉ"},{base:"nj",chars:"ǌ"},{base:"o",chars:"ⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟｐṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠｑɋꝗꝙ"},{base:"r",chars:"ⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢｓśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥｖṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦｗẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧｘẋẍ"},{base:"y",chars:"ⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩｚźẑżžẓẕƶȥɀⱬꝣ"}],i={},r=0;r<n.length;r+=1)for(var o=n[r].chars,a=0;a<o.length;a+=1)i[o[a]]=n[r].base;t.replacementList=n,t.diacriticsMap=i},26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=u(n(50)),a=n(0),s=n(1),l=u(n(14));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.attrSource=n.attrSourceSmall,n.enableViewportLoad=!0,n.stateFill=!1,n.stateLoadImageLarge=!1,n.imageUpdatedOnViewportChange=!1,n.parentFill=null,n.imageRatio=0,n.isPortrait=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),i(t,[{key:"init",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"init",this).call(this),this.updateSettings(),this.prepareDOM(),this.initEventHandling()}},{key:"setStateFill",value:function(e){this.stateFill=e}},{key:"setParentFillElement",value:function(e){this.parentFill=e}},{key:"setImageRatio",value:function(){this.imageRatio=this.imageElement.clientWidth/this.imageElement.clientHeight}},{key:"updateSettings",value:function(){this.getAttributeOptions(),this.options.indexOf(this.optionNoInit)>-1&&(this.enableViewportLoad=!1),this.options.indexOf(this.optionSrcLarge)>-1&&(this.attrSource=this.attrSourceLarge,this.stateLoadImageLarge=!0),this.parentFill=(0,a.findParent)(this.domElement,"type-image-background"),this.parentFill&&(this.stateFill=!0)}},{key:"callbackImageLoaded",value:function(){this.isPortrait=this.imageElement.naturalWidth/this.imageElement.naturalHeight<1,this.isPortrait&&(0,a.addClass)(this.domElement,"is-portrait"),this.stateFill&&(this.imageRatio=this.imageElement.clientWidth/this.imageElement.clientHeight,this.updateImageFill())}},{key:"callbackImageError",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"callbackImageError",this).call(this)}},{key:"initEventHandling",value:function(){var e=this
;this.enableViewportLoad&&("complete"===document.readyState?this.loadImageVisibleInViewport():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&e.loadImageVisibleInViewport()}),window.addEventListener(s.CONFIG.events.viewportScroll,function(t){e.loadImageVisibleInViewport(t.detail.scroll)})),window.addEventListener(s.CONFIG.events.viewportChange,function(t){e.updateImageSourceOnViewportChange(t.detail.viewport)}),this.stateFill&&window.addEventListener(s.CONFIG.events.resize,function(){e.updateImageFill()})}},{key:"loadImageVisibleInViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.getWindowScroll)();this.stateLoading===this.LOAD_INIT&&(0,a.isInViewport)(this.domElement,e)&&this.updateImageSource()}},{key:"updateImageSourceOnViewportChange",value:function(e){this.imageUpdatedOnViewportChange||this.updateSourceResolutionToLoad(e)&&(this.imageUpdatedOnViewportChange=!0,this.updateImageSource())}},{key:"updateImageSource",value:function(){this.updateSourceResolutionToLoad(),this.replaceImageSource(this.getImageSource())}},{key:"updateSourceResolutionToLoad",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this.stateLoadImageLarge){var t=e||(0,l.default)().getCurrentViewport();if((t===s.BREAKPOINTS.large||t===s.BREAKPOINTS.xlarge)&&this.domElement.clientWidth>(0,a.getViewportWidth)(s.CONFIG.viewports,s.BREAKPOINTS.large)/2)return this.attrSource=this.attrSourceLarge,this.stateLoadImageLarge=!0,!0}return!1}},{key:"updateImageFill",value:function(){var e=this.parentFill.clientWidth,t=this.parentFill.clientHeight,n=Math.floor(e/this.imageRatio);Math.floor(t*this.imageRatio)>e?((0,a.addClass)(this.domElement,"fill-height"),(0,a.removeClass)(this.domElement,"fill-width")):n>t?((0,a.removeClass)(this.domElement,"fill-height"),(0,a.addClass)(this.domElement,"fill-width")):((0,a.removeClass)(this.domElement,"fill-height"),(0,a.removeClass)(this.domElement,"fill-width"))}},{key:"getImageSource",value:function(){return this.getAttributeSource(this.attrSource)}}]),t}();t.default=c},29:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UCEVENT_SERVICE_CAPTIVATE=t.UCEVENT_SERVICE_YOUTUBE=t.UCEVENT_SERVICE_WEBTREKK=t.UCEVENT_SERVICE_MOVINGIMAGE=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(7)),o=n(0),a=n(1),s=u(n(16)),l=u(n(34));function u(e){return e&&e.__esModule?e:{default:e}}t.UCEVENT_SERVICE_MOVINGIMAGE="MovingImage",t.UCEVENT_SERVICE_WEBTREKK="Webtrekk",t.UCEVENT_SERVICE_YOUTUBE="YouTube Video",t.UCEVENT_SERVICE_CAPTIVATE="Captivate Podcast";var c=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),e.instance?e.instance:(e.instance=this,this.userCentricsActive=!!document.querySelector("#usercentrics-cmp"),this.uc=window.uc||null,this.ucUI=window.UC_UI||null,this.popUpTemplate=null,this.modalClass="user-centrics-information",this.hideDefaultButton=!1,this.userCentricsActive&&(this.popUpTemplate=r.default.getTemplate("user-centrics-information")),this.closeModalEventInitialised=!1,this)}return i(e,[{key:"init",value:function(){var e=this;this.updateUcMember(),void 0===this.uc||void 0===this.ucUI?window.addEventListener("UC_UI_INITIALIZED",function(){e.updateUcMember(),e.applyToFooterLink()}):this.applyToFooterLink()}},{key:"applyToFooterLink",value:function(){var e=this;if(!document.querySelector('.footer-links li[data-value="user-centrics-link"]')){var t=document.querySelector(".mod-footer-navigation");if(t){var n=document.body.dataset.footerConsentLabel||"Cookies",i=l.default.createFooterLink(n,"user-centrics-link");i.querySelector("a").addEventListener("click",function(t){e.__showSimpleConsentLayer(),t.preventDefault()}),t.appendChild(i);var r=document.createElement("style");r.innerHTML='button[data-testid="uc-privacy-button"] { display: none }';var o=document.querySelector("#usercentrics-root");o&&o.shadowRoot&&o.shadowRoot.appendChild(r)}}}},{key:"updateUcMember",value:function(){this.uc=window.uc,this.ucUI=window.window.UC_UI}},{key:"injectServiceCheck",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i=arguments[2];this.userCentricsActive?null!==this.ucUI&&void 0!==this.ucUI&&this.ucUI.isInitialized()?this.__handleService(e,n,i):window.addEventListener("UC_UI_INITIALIZED",function(){t.updateUcMember(),t.__handleService(e,n,i)}):(0,o.callCallbackFunction)(e)}},{key:"__handleService",value:function(){
var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";this.isServiceActive(n)?(0,o.callCallbackFunction)(e):(0,o.callCallbackFunction)(t,[n])}},{key:"isServiceActive",value:function(e){var t=this.ucUI.getServicesBaseInfo(),n=t.find(function(t){return t.name===e});return t&&n&&n.consent.status}},{key:"showDeniedModalVideo",value:function(e){this.__showDeniedModal(e,this.getTranslation("video"))}},{key:"setLanguage",value:function(e){var t=this;this.ucUI&&this.ucUI.isInitialized()?this.ucUI.updateLanguage(e):window.addEventListener("UC_UI_INITIALIZED",function(){t.updateUcMember(),t.ucUI.updateLanguage(e)})}},{key:"__showDeniedModal",value:function(e,t){var n=this,i=document.createElement("div");i.innerHTML=""+this.popUpTemplate,i.querySelector(".user-centrics-content").innerText=t;var r=i.querySelector("button.accept"),l=i.querySelector("button.close");r&&r.addEventListener("click",function(){n.__showSimpleConsentLayer(),n.closeModalEventInitialised||(window.addEventListener("ucEvent",function(t){t.detail&&"consent_status"===t.detail.event&&t.detail[e]&&(0,o.dispatchCustomEvent)(a.CONFIG.events.modalHide)}),n.closeModalEventInitialised=!0)}),l&&l.addEventListener("click",function(){(0,o.dispatchCustomEvent)(a.CONFIG.events.modalHide)}),s.default.showModalByHTML(i,this.modalClass,!1)}},{key:"__showSimpleConsentLayer",value:function(){this.ucUI.showFirstLayer()}},{key:"__showAdvancedConsentLayer",value:function(){this.ucUI.showSecondLayer()}},{key:"getTranslation",value:function(e){switch(e){case"video":return this.uc.translations.translations.VIDEO_DESCRIPTION;default:return this.uc.translations.translations.DEFAULT_DESCRIPTION}}}]),e}();t.default=c},3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(0),a=n(29),s=function(e){return e&&e.__esModule?e:{default:e}}(a),l=n(1);var u=null,c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.trackTags=["a","button"],this.defaultTrackArea="no-area",this.classEnabled="wt-enabled",this.attrDisabled="data-wt-disable",this.attrTrackValue="data-wt",this.attrTrackArea="data-wt-area"}return r(e,[{key:"init",value:function(){}},{key:"initBasicClickTracking",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=":not(["+this.attrDisabled+"]):not(."+this.classEnabled+")",n=this.trackTags.map(function(e){return""+e+t}).join(", "),i=(0,o.querySelectorArray)(e,n);this.bindTrackFunction(i)}},{key:"bindTrackFunction",value:function(e){var t=this;e.forEach(function(e){var n=e;(0,o.addClass)(n,t.classEnabled),n.addEventListener("click",function(e){t.trackByClick(e.currentTarget)})})}},{key:"trackByClick",value:function(e){var t=this.getCompleteTrackValueByElement(e),n=this.getTrackValueForWebtrekk(t),r=this.trackAssetDownload(e),o=i({},n,r);this.sendTrackObject(o)}},{key:"trackByAction",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;e?n=this.getCompleteTrackValue(e):t&&(n=this.getCompleteTrackValueByElement(t)),n&&this.sendTrackValue(n)}},{key:"getCompleteTrackValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return(window.trackProject||"NO-PROJECT")+"_"+(window.trackLanguage||"NO-LANG")+"_"+window.location.pathname+(n?"_"+n:"")+(t?"_"+t:"")+"_"+e+i}},{key:"getAssetLinkCustomParameter",value:function(e){return{customClickParameter:{5:e}}}},{key:"trackAssetDownload",value:function(e){var t=l.CONFIG.availableFiletypes.map(function(e){return e.split(":")[0]}),n=!0,i=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;if("A"===e.tagName&&e.getAttribute("href").toLowerCase().indexOf("."+s)>0){var u=-1!==e.getAttribute("href").toLowerCase().indexOf("http")?e.getAttribute("href"):window.location.protocol+"//"+window.location.hostname+e.getAttribute("href");return this.getAssetLinkCustomParameter(u)}}}catch(e){i=!0,r=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw r}}return null}},{key:"getCompleteTrackValueByElement",value:function(e){var t=this.getTrackValue(e),n=this.getTrackModule(e),i=this.getTrackArea(e),r=""
;return"A"===e.tagName&&e.getAttribute("href").indexOf(".pdf")>0&&(r+=" (pdf-download)"),this.getCompleteTrackValue(t,n,i,r)}},{key:"getTrackArea",value:function(e){var t=this.defaultTrackArea,n=(0,o.findParentAttr)(e,this.attrTrackArea);return n&&(t=n.getAttribute(this.attrTrackArea)),t}},{key:"getTrackModule",value:function(e){var t=e.getAttribute("data-module")||null,n=e.getAttribute("data-module")||(0,o.findParentAttr)(e,"data-module");return null===t&&n&&(t=n.getAttribute("data-module")),t}},{key:"getTrackValue",value:function(e){return(e.hasAttribute(this.attrTrackValue)?e.getAttribute(this.attrTrackValue):e.hasAttribute("title")?e.getAttribute("title"):(0,o.findChild)(e,"img")?this.getTrackValueFromImage((0,o.findChild)(e,"img")):this.getTrackValueFromText(e)).replace(/\s{2,}/g," ")}},{key:"getTrackValueFromImage",value:function(e){return e.hasAttribute("alt")?e.getAttribute("alt"):e.getAttribute("src")}},{key:"getTrackValueFromText",value:function(e){return e.textContent.trim()}},{key:"sendTrackObject",value:function(e){this.sendTrackObjectWebtrekk(e)}},{key:"sendTrackValue",value:function(e){this.sendTrackValueWebtrekk(e)}},{key:"sendTrackValueWebtrekk",value:function(e){this.sendWebtrekk(this.getTrackValueForWebtrekk(e))}},{key:"sendTrackObjectWebtrekk",value:function(e){this.sendWebtrekk(e)}},{key:"sendWebtrekk",value:function(e){var t=this,n=new s.default;n.init(),n.injectServiceCheck(function(){window.wt?(window.wt.sendinfo(e),t.logTrackValue(e)):t.logTrackValueError(e)},function(){},a.UCEVENT_SERVICE_WEBTREKK)}},{key:"getTrackValueForWebtrekk",value:function(e){return{linkId:e}}},{key:"logTrackValue",value:function(e){console.info("TRACKING",e)}},{key:"logTrackValueError",value:function(e){console.info("TRACKING IS NOT AVAILABLE!",e)}}]),e}();u||(u=new c).init(),t.default=function(){return u}},303:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=c(n(96)),a=c(n(215)),s=c(n(130)),l=n(1),u=c(n(306));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domContentWrapper=t.element,this.videoLinks=[],this.images=[]}return i(e,[{key:"init",value:function(){(0,r.findParent)(this.domContentWrapper,"mod-mega-tab-box-item")&&null===(0,r.findParent)(this.domContentWrapper,"management-module")||(this.initTableModule(),this.enhanceVideoLinks(),this.removeImageAttribues(),this.initImageResizing(),(0,s.default)(this.domContentWrapper),this.applyQuotationMarksToQuoteBox(),this.initMagnify())}},{key:"enhanceVideoLinks",value:function(){var e=this;(0,r.querySelectorArray)(this.domContentWrapper,"a").forEach(function(t){var n=t.getAttribute("href");n&&o.default.detectYoutubeUrl(n)&&t.querySelector("img")&&((0,r.hasClass)(t,"type-video")||(o.default.extractYoutubeVideoId(n),e.rebuildVideoLink(t,n)))})}},{key:"rebuildVideoLink",value:function(e,t){var n=this;e.classList.contains("no-icon")||e.insertAdjacentHTML("beforeend",this.generateVideoIcon()),(0,r.addClass)(e,"button type-video");var i=(0,r.wrapElement)(e,"div","mod-inline-video");this.videoLinks.push(i),e.addEventListener("click",function(r){r.preventDefault(),n.embedVideo(i,e,t)})}},{key:"embedVideo",value:function(e,t,n){var i=t.clientHeight/t.clientWidth*100;e.style.width=t.clientWidth+"px",e.removeChild(t);var a=o.default.getEmbedUrl(o.default.extractYoutubeVideoId(n)),s=o.default.generateEmbedNode(a);e.appendChild(s),(0,r.wrapElement)(s,"div","video-wrapper").style.paddingBottom=i+"%"}},{key:"generateVideoIcon",value:function(){return'<button class="button type-icon icon--left icon--bg">'+(0,r.generateSVGIcon)("play",null,"false")+' Play <span class="hidden-title">Video</span>  </button>'}},{key:"removeImageAttribues",value:function(){var e=this;(0,r.querySelectorArray)(this.domContentWrapper,"img").forEach(function(t){t.removeAttribute("width"),t.removeAttribute("height"),t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("display");var n=t.style.removeProperty("float");n&&(0,r.addClass)(t,"float-"+n);var i={floatleft:"float-left",floatLeft:"float-left",rdImgFloatLeft:"float-left",floatright:"float-right",floatRight:"float-right",rdImgFloatRight:"float-right"};Object.keys(i).forEach(function(e){var n=i[e];(0,r.hasClass)(t,e)&&((0,r.removeClass)(t,e),(0,r.addClass)(t,n))}),e.images.push({domNode:t,isFloating:(0,r.hasClass)(t,"float-left")||(0,r.hasClass)(t,"float-right")})})}},{key:"initImageResizing",value:function(){var e=this;this.resizeForContainer(this.domContentWrapper.getBoundingClientRect().width),
window.addEventListener(l.CONFIG.events.resize,function(){e.resizeForContainer(e.domContentWrapper.getBoundingClientRect().width)})}},{key:"resizeForContainer",value:function(e){this.images.forEach(function(t){t.isFloating&&(e-t.domNode.naturalWidth<250?(0,r.addClass)(t.domNode,"unfloat"):(0,r.removeClass)(t.domNode,"unfloat"))})}},{key:"initTableModule",value:function(){var e=this.domContentWrapper.querySelectorAll("table");this.domContentWrapper.querySelector("table")&&Array.prototype.slice.call(e).forEach(function(e){try{new a.default({element:e}).init()}catch(e){console.error("error while initializing table module")}})}},{key:"applyQuotationMarksToQuoteBox",value:function(){var e=(0,r.querySelectorArray)(this.domContentWrapper,".quote-box");e&&e.length>0&&e.forEach(function(e){e.insertAdjacentHTML("afterbegin",'<span class="quotation-marks">'+(0,r.generateSVGIcon)("quotes")+"</span>")})}},{key:"initMagnify",value:function(){var e=(0,r.querySelectorArray)(this.domContentWrapper,"img.magnify");(new u.default).initImageMagnify(e)}}]),e}();t.default=d},306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(16)),a=n(1);var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modalLayer=o.default.getModalElement()}return i(e,[{key:"initImageMagnify",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.handleImageList(e),this.addEventListeners()}},{key:"handleImageList",value:function(e){var t=this;e.forEach(function(e){"A"===e.parentNode.tagName?(0,r.removeClass)(e,"magnify"):e.addEventListener("click",function(){(0,r.addClass)(t.modalLayer,"image-magnify");var n=e.naturalWidth>document.body.clientWidth?"90%":e.naturalWidth+"px";t.modalLayer.style.width=n;var i=e.cloneNode();i.style.width="100%",o.default.showModalByHTML(i)})})}},{key:"addEventListeners",value:function(){var e=this;window.addEventListener(a.CONFIG.events.modalOnHide,function(){(0,r.removeClass)(e.modalLayer,"image-magnify")})}}]),e}();t.default=s},317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=h(n(4)),o=h(n(101)),a=h(n(163)),s=n(0),l=n(170),u=h(n(7)),c=h(n(26)),d=h(n(98));function h(e){return e&&e.__esModule?e:{default:e}}r.default.extend(a.default);var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element,this.sender=t.sender,this.currentHost=this.domElement.dataset.currentHost||null,this.masonryEnabled="list"!==this.domElement.dataset.layout,this.limit=this.domElement.dataset.limit||10,this.forceLanguageId=this.domElement.dataset.forceLanguageId?parseInt(this.forceLanguageId,10):null,this.openExtLinkNewTab=this.domElement.dataset.openExtLinkNewTab||null,this.filterColors=null,this.projectNewsUrl=this.domElement.dataset.projectNewsUrl||null,this.newsEntryWrapper=this.domElement.querySelector("."+l.NEWS_STREAM_CLASSNAME_ENTRY_WRAPPER),this.loadingIndicator=this.newsEntryWrapper.querySelector(".mod-indicator"),this.loadMoreButton=this.domElement.querySelector("."+l.NEWS_STREAM_CLASSNAME_LOADMORE),this.filterAllLabel=this.domElement.dataset.filterAllLabel||"Alle",this.toggleButtonText=this.domElement.dataset.toggleText||null,this.showMoreButtonText=this.domElement.dataset.showMoreButtonText||"more",this.showLessButtonText=this.domElement.dataset.showLessButtonText||"less",this.template=u.default.getTemplate(l.NEWS_STREAM_LAYOUT_NAME,this.domElement),this.noResultsInfo=this.domElement.querySelector("."+l.NEWS_STREAM_CLASSNAME_NORESULT),this.noFurtherResultsInfo=this.domElement.querySelector("."+l.NEWS_STREAM_CLASSNAME_NOFURTHERRESULT),this.loadMoreTriggered=!1,(0,s.log)('Class "NewsStreamView" has been initialized with',this.sender,t)}return i(e,[{key:"setFilterColors",value:function(e){this.filterColors=e}},{key:"handleEmptyResult",value:function(){this.hideItem(this.loadMoreButton),this.hideItem(this.noFurtherResultsInfo),this.showItem(this.noResultsInfo),this.hideItem(this.loadingIndicator)}},{key:"handleNoFurtherResults",value:function(){this.hideItem(this.loadMoreButton),this.hideItem(this.noResultsInfo),this.showItem(this.noFurtherResultsInfo),this.hideItem(this.loadingIndicator)}},{key:"triggerMasonryLayout",value:function(){var e=this,t="."+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM
;this.domElement.querySelector("."+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM+".type-text")&&(t="."+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM+".type-text"),this.masonry=new o.default(this.newsEntryWrapper,{itemSelector:"."+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM,columnWidth:t,gutter:l.NEWS_STREAM_LAYOUT_GUTTER_SIZE,percentPosition:!0}),(0,s.querySelectorArray)(this.newsEntryWrapper,"."+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM).forEach(function(t){var n=t.querySelector(".mod-img-loader"),i=t.querySelector("."+l.NEWS_STREAM_CLASSNAME_ENTRY_IMAGE),r=t.querySelector(".news-stream-entry-content");if(null!=n)if((0,s.hasClass)(n,"load-finished"))e.masonry.layout();else if("block"!==e.domElement.dataset.layout||(0,s.hasClass)(i,"not-found")||(r.style.paddingTop="50px"),!(0,s.hasClass)(i,"loading")&&!(0,s.hasClass)(i,"not-found")){(0,s.addClass)(i,"loading");var o=new c.default({element:n,enableViewportLoad:!1});o.callbackImageLoaded=function(){(0,s.removeClass)(i,"loading"),"block"===e.domElement.dataset.layout&&(r.style.paddingTop=0),e.masonry.layout()},o.callbackImageError=function(){(0,s.addClass)(i,"not-found"),"block"===e.domElement.dataset.layout&&(r.style.paddingTop=0)},o.init()}}),window.setTimeout(function(){e.masonry.layout()},500)}},{key:"renderItem",value:function(e){var t=this,n=this.template,i=e.newsTagsJSON||{};if(null!==i){var o='\n        <div class="'+l.NEWS_STREAM_CLASSNAME_TAGS+'">\n          <ul class="'+l.NEWS_STREAM_CLASSNAME_TAGSHOLDER+'">\n      ';Object.keys(i).forEach(function(e){var n=i[e],r=t.projectNewsUrl&&e?"<a href='"+t.projectNewsUrl+"?tags="+e+"' title=\""+n+'">'+n+"</a>":n,a='\n          <li class="'+l.NEWS_STREAM_CLASSNAME_TAGPILL+'" title="'+n+'" data-value="'+n+'">\n            '+r+"\n          </li>\n        ";o+=a}),o+="</ul></div>",n=(0,s.replacePlaceholder)(n,"entryTags",o)}else n=(0,s.replacePlaceholder)(n,"entryTags","");var a=e.newsType||null;if(null!==a){var u='<ul class="'+l.NEWS_STREAM_CLASSNAME_TYPEHOLDER+'">';a.split(",").forEach(function(e){u+='\n          <li data-value="'+e+'" class="'+l.NEWS_STREAM_CLASSNAME_TYPE_ITEM+'" title="'+e+'">\n            '+e+"\n          </li>\n        "}),u+="</ul>",n=(0,s.replacePlaceholder)(n,"entryType",u)}else n=(0,s.replacePlaceholder)(n,"entryType","");var c=(0,r.default)((0,s.fromDotCMSDate)(e.publishDate)),d=(0,r.default)((0,s.fromDotCMSDate)(e.publishDate,!1,!0)),h=this.forceLanguageId?(0,s.getLanguageById)(this.forceLanguageId):(0,s.getCurrentDisplayLanguage)(),f="de"===h?"D. MMMM YYYY":"MMMM D, YYYY",m=c.locale(h).format("YYYY-MM-DD"),v=c.locale(h).format(f),p=new RegExp("~entryImage~","gmi"),y=new RegExp("~entryImageAlt~","gmi"),g=new RegExp("~entryLink~","gmi"),b=new RegExp("~entryLinkTarget~","gmi"),E=e.imageSmall||e.imageLarge||null,w=e.title;n=null!==E?(n=n.replace(p,(0,s.buildImageUrl)(E))).replace(y,w):(n=n.replace(p,"")).replace(y,"");var S=void 0,C="_self";if(e.redirectUrl)S=e.redirectUrl;else{var T=this.forceLanguageId?"?language_id="+this.forceLanguageId:"?language_id="+e.languageId;S="//"+e.hostName+e.urlMap+T}e.openInNewWindow&&(C="_blank"),n=(n=n.replace(g,S)).replace(b,C),n=(0,s.replacePlaceholder)(n,"entryHeadline",e.title.replaceAll('"',"&quot;")),n=(0,s.replacePlaceholder)(n,"entryTitleHeadline",e.title.replaceAll('"',"&quot;")),n=(0,s.replacePlaceholder)(n,"entryDate",v),n=(0,s.replacePlaceholder)(n,"entryDateHtmlTag",m),n=(0,s.replacePlaceholder)(n,"entryTitleTeaserText",e.teaserText),n=(0,s.replacePlaceholder)(n,"entryTeaser",e.teaserText||"");var _=e.teaserText?"":"hidden";n=(0,s.replacePlaceholder)(n,"hideTeaserText",_);var k=document.createElement("article");"contribution"===this.domElement.dataset.layout&&((k=document.createElement("a")).setAttribute("href",S),k.setAttribute("target",C)),(0,s.addClass)(k,this.getItemClasses(e)),k.setAttribute("lang",h),n=n.trim(),k.innerHTML=n;var A=(n=k).querySelector("."+l.NEWS_STREAM_CLASSNAME_ENTRY_IMAGE);if(!E&&A&&(0,s.removeChild)(n.querySelector("."+l.NEWS_STREAM_CLASSNAME_ENTRY_IMAGE)),"contribution"===this.domElement.dataset.layout){var I=n.querySelector("h3");(0,s.addClass)(I,this.getItemHighlightColorClass(e))}var O=(0,r.default)(),M=O.subtract(l.NEWS_STREAM_NEW_FLAG_PERIOD,"hour"),L=n.querySelector("."+l.NEWS_STREAM_CLASSNAME_NEW_FLAG);!d.isBetween(M,O)&&L&&(0,s.removeChild)(L),this.applyLayoutsToMarkup(n,e),(0,s.addNewWindowHintToSubLinks)(n),this.newsEntryWrapper.appendChild(n)}},{key:"getItemClasses",value:function(e){var t=e.movingImageVideo1?" type-video":" type-text",n="block"!==this.domElement.dataset.layout&&"contribution"!==this.domElement.dataset.layout?" "+this.getItemHighlightColorClass(e):"";return""+l.NEWS_STREAM_CLASSNAME_ENTRY_ITEM+t+n}},{key:"getItemHighlightColorClass",value:function(e){return e.highlightColor?"box-design type-"+e.highlightColor:" type-default"}},{key:"applyLayoutsToMarkup",value:function(e,t){var n=this;if("block"===this.domElement.dataset.layout){var i=e.querySelector(".news-stream-entry-image")
;if(t.newsTagsVar.split(",").forEach(function(t){if(t in n.filterColors){var i=document.createElement("div");(0,s.addClass)(i,"news-stream-entry-corner"),n.filterColors[t].startsWith("#")?(i.setAttribute("style","border-color: "+n.filterColors[t]+";"),(0,s.addClass)(i,"show-corner")):(0,s.addClass)(e,"tag-color-"+n.filterColors[t]),e.appendChild(i)}}),t.movingImageVideo1||t.videoId){i&&d.default.unwrapMediaElement(i);var r=d.default.createPlayButton();t.videoId?d.default.applyYoutubePlayOnImage(t.videoId,i,r):(d.default.applyMovingImageOnButton(t.movingImageVideo1,r),i?i.appendChild(r):(0,s.addClass)(e.querySelector(".news-stream-entry-info"),"no-minus-margin"))}}return e}},{key:"renderTagButton",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=document.createElement("BUTTON");r.className="button type-tag",r.type="button",r.title=e,r.dataset.tagValue=t,i&&(0,s.addClass)(r,"active");var o='<span class="tag-circle '+(""!==n?"tag-color-"+n:"")+'"></span> <span class="tag-text">'+e+"</span>";return n.startsWith("#")&&(o='<span class="tag-circle hex-color" style="background-color: '+n+';"></span> <span class="tag-text">'+e+"</span>"),r.innerHTML=o,r}},{key:"createTagWrapper",value:function(){var e=document.createElement("div");return(0,s.addClass)(e,l.NEWS_STREAM_CLASSNAME_TAGS_WRAPPER),e}},{key:"showItem",value:function(e){e&&(0,s.removeClass)(e,l.NEWS_STREAM_CLASSNAME_HIDDEN)}},{key:"hideItem",value:function(e){e&&(0,s.addClass)(e,l.NEWS_STREAM_CLASSNAME_HIDDEN)}},{key:"clearItems",value:function(){this.newsEntryWrapper.innerHTML=""}}]),e}();t.default=f},33:function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||c||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},34:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"createPrimaryLink",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"_self",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e._createLink(t,n,i,r,"button type-primary")}},{key:"createVideoLink",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"_self",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e._createLink(t,n,i,r,"button type-video")}},{key:"_createLink",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"_self",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"button type-primary",a=document.createElement("A");return a.setAttribute("href",e),a.setAttribute("target",n),a.setAttribute("title",i||t),(0,r.addClass)(a,o),a.innerText=t,a}},{key:"createFooterLink",value:function(t,n){var i=document.createElement("li");(0,r.addClass)(i,"itm-nav-link"),i.dataset.value=n;var o=e._createLink("#",t,"_self",t,"");return i.appendChild(o),i}}]),e}();t.default=o},36:function(e,t,n){var i,r
;!function(o){if(void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r),!0,e.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(i){function r(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},r.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in o)o[l]&&(s+="; "+l,!0!==o[l]&&(s+="="+o[l].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var r={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(s[0]);if(l=(i.read||i)(l,u)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(r[u]=l,e===u)break}catch(e){}}return e?r[e]:r}}return r.set=o,r.get=function(e){return a(e,!1)},r.getJSON=function(e){return a(e,!0)},r.remove=function(t,n){o(t,"",e(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}(function(){})})},38:function(e,t,n){var i;!function(r,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",h=Math.round,f=Math.abs,m=Date.now;function v(e,t,n){return setTimeout(S(e,n),t)}function p(e,t,n){return!!Array.isArray(e)&&(y(e,n[t],n),!0)}function y(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function g(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var b=g(function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e},"extend","Use `assign`."),E=g(function(e,t){return b(e,t,!0)},"merge","Use `assign`.");function w(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&l(i,n)}function S(e,t){return function(){return e.apply(t,arguments)}}function C(e,t){return typeof e==d?e.apply(t&&t[0]||s,t):e}function T(e,t){return e===s?t:e}function _(e,t,n){y(O(t),function(t){e.addEventListener(t,n,!1)})}function k(e,t,n){y(O(t),function(t){e.removeEventListener(t,n,!1)})}function A(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function I(e,t){return e.indexOf(t)>-1}function O(e){return e.trim().split(/\s+/g)}function M(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function L(e){return Array.prototype.slice.call(e,0)}function x(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];M(r,a)<0&&i.push(e[o]),r[o]=a,o++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function P(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<u.length;){if((i=(n=u[o])?n+r:t)in e)return i;o++}return s}var N=1;function R(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var D="ontouchstart"in r,q=P(r,"PointerEvent")!==s,j=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=25,B=1,W=2,H=4,V=8,U=1,z=2,Y=4,G=8,$=16,K=z|Y,Q=G|$,X=K|Q,J=["x","y"],Z=["clientX","clientY"];function ee(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){C(e.options.enable,[e])&&n.handler(t)},this.init()}function te(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=t&B&&i-r==0,a=t&(H|V)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=ne(t));r>1&&!n.firstMultiple?n.firstMultiple=ne(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,u=t.center=ie(i);t.timeStamp=m(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=se(l,u),t.distance=ae(l,u),function(e,t){
var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};t.eventType!==B&&o.eventType!==H||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y});t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=oe(t.deltaX,t.deltaY);var c=re(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=f(c.x)>f(c.y)?c.x:c.y,t.scale=a?function(e,t){return ae(t[0],t[1],Z)/ae(e[0],e[1],Z)}(a.pointers,i):1,t.rotation=a?function(e,t){return se(t[1],t[0],Z)+se(e[1],e[0],Z)}(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,o,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=V&&(l>F||a.velocity===s)){var u=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,d=re(l,u,c);i=d.x,r=d.y,n=f(d.x)>f(d.y)?d.x:d.y,o=oe(u,c),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}(n,t);var d=e.element;A(t.srcEvent.target,d)&&(d=t.srcEvent.target);t.target=d}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function ne(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:h(e.pointers[n].clientX),clientY:h(e.pointers[n].clientY)},n++;return{timeStamp:m(),pointers:t,center:ie(t),deltaX:e.deltaX,deltaY:e.deltaY}}function ie(e){var t=e.length;if(1===t)return{x:h(e[0].clientX),y:h(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:h(n/t),y:h(i/t)}}function re(e,t,n){return{x:t/e||0,y:n/e||0}}function oe(e,t){return e===t?U:f(e)>=f(t)?e<0?z:Y:t<0?G:$}function ae(e,t,n){n||(n=J);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function se(e,t,n){n||(n=J);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}ee.prototype={handler:function(){},init:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(R(this.element),this.evWin,this.domHandler)}};var le={mousedown:B,mousemove:W,mouseup:H},ue="mousedown",ce="mousemove mouseup";function de(){this.evEl=ue,this.evWin=ce,this.pressed=!1,ee.apply(this,arguments)}w(de,ee,{handler:function(e){var t=le[e.type];t&B&&0===e.button&&(this.pressed=!0),t&W&&1!==e.which&&(t=H),this.pressed&&(t&H&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var he={pointerdown:B,pointermove:W,pointerup:H,pointercancel:V,pointerout:V},fe={2:"touch",3:"pen",4:"mouse",5:"kinect"},me="pointerdown",ve="pointermove pointerup pointercancel";function pe(){this.evEl=me,this.evWin=ve,ee.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(me="MSPointerDown",ve="MSPointerMove MSPointerUp MSPointerCancel"),w(pe,ee,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=he[i],o=fe[e.pointerType]||e.pointerType,a="touch"==o,s=M(t,e.pointerId,"pointerId");r&B&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):r&(H|V)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var ye={touchstart:B,touchmove:W,touchend:H,touchcancel:V},ge="touchstart",be="touchstart touchmove touchend touchcancel";function Ee(){this.evTarget=ge,this.evWin=be,this.started=!1,ee.apply(this,arguments)}w(Ee,ee,{handler:function(e){var t=ye[e.type];if(t===B&&(this.started=!0),this.started){var n=function(e,t){var n=L(e.touches),i=L(e.changedTouches);t&(H|V)&&(n=x(n.concat(i),"identifier",!0));return[n,i]}.call(this,e,t);t&(H|V)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var we={touchstart:B,touchmove:W,touchend:H,touchcancel:V},Se="touchstart touchmove touchend touchcancel";function Ce(){this.evTarget=Se,this.targetIds={},ee.apply(this,arguments)}w(Ce,ee,{handler:function(e){var t=we[e.type],n=function(e,t){var n=L(e.touches),i=this.targetIds;if(t&(B|W)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=L(e.changedTouches),s=[],l=this.target;if(o=n.filter(function(e){return A(e.target,l)}),t===B)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;r=0;for(;r<a.length;)i[a[r].identifier]&&s.push(a[r]),t&(H|V)&&delete i[a[r].identifier],r++;if(!s.length)return;return[x(o.concat(s),"identifier",!0),s]}.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});var Te=2500,_e=25;function ke(){ee.apply(this,arguments);var e=S(this.handler,this);this.touch=new Ce(this.manager,e),this.mouse=new de(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}
function Ae(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)},Te)}}w(ke,ee,{handler:function(e,t,n){var i="touch"==n.pointerType,r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)(function(e,t){e&B?(this.primaryTouch=t.changedPointers[0].identifier,Ae.call(this,t)):e&(H|V)&&Ae.call(this,t)}).call(this,t,n);else if(r&&function(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),a=Math.abs(n-r.y);if(o<=_e&&a<=_e)return!0}return!1}.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Ie=P(c.style,"touchAction"),Oe=Ie!==s,Me="auto",Le="manipulation",xe="none",Pe="pan-x",Ne="pan-y",Re=function(){if(!Oe)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!t||r.CSS.supports("touch-action",n)}),e}();function De(e,t){this.manager=e,this.set(t)}De.prototype={set:function(e){"compute"==e&&(e=this.compute()),Oe&&this.manager.element.style&&Re[e]&&(this.manager.element.style[Ie]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return y(this.manager.recognizers,function(t){C(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(e){if(I(e,xe))return xe;var t=I(e,Pe),n=I(e,Ne);if(t&&n)return xe;if(t||n)return t?Pe:Ne;if(I(e,Le))return Le;return Me}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var i=this.actions,r=I(i,xe)&&!Re[xe],o=I(i,Ne)&&!Re[Ne],a=I(i,Pe)&&!Re[Pe];if(r){var s=1===e.pointers.length,l=e.distance<2,u=e.deltaTime<250;if(s&&l&&u)return}if(!a||!o)return r||o&&n&K||a&&n&Q?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var qe=1,je=2,Fe=4,Be=8,We=Be,He=16;function Ve(e){this.options=l({},this.defaults,e||{}),this.id=N++,this.manager=null,this.options.enable=T(this.options.enable,!0),this.state=qe,this.simultaneous={},this.requireFail=[]}function Ue(e){return e&He?"cancel":e&Be?"end":e&Fe?"move":e&je?"start":""}function ze(e){return e==$?"down":e==G?"up":e==z?"left":e==Y?"right":""}function Ye(e,t){var n=t.manager;return n?n.get(e):e}function Ge(){Ve.apply(this,arguments)}function $e(){Ge.apply(this,arguments),this.pX=null,this.pY=null}function Ke(){Ge.apply(this,arguments)}function Qe(){Ve.apply(this,arguments),this._timer=null,this._input=null}function Xe(){Ge.apply(this,arguments)}function Je(){Ge.apply(this,arguments)}function Ze(){Ve.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function et(e,t){return(t=t||{}).recognizers=T(t.recognizers,et.defaults.preset),new tt(e,t)}Ve.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(p(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Ye(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return p(e,"dropRecognizeWith",this)?this:(e=Ye(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(p(e,"requireFailure",this))return this;var t=this.requireFail;return-1===M(t,e=Ye(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(p(e,"dropRequireFailure",this))return this;e=Ye(e,this);var t=M(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<Be&&i(t.options.event+Ue(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=Be&&i(t.options.event+Ue(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(32|qe)))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!C(this.options.enable,[this,t]))return this.reset(),void(this.state=32);this.state&(We|He|32)&&(this.state=qe),this.state=this.process(t),this.state&(je|Fe|Be|He)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},w(Ge,Ve,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(je|Fe),r=this.attrTest(e);return i&&(n&V||!r)?t|He:i||r?n&H?t|Be:t&je?t|Fe:je:32}}),w($e,Ge,{defaults:{event:"pan",threshold:10,pointers:1,direction:X},getTouchAction:function(){var e=this.options.direction,t=[];return e&K&&t.push(Ne),
e&Q&&t.push(Pe),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(t.direction&K?(r=0===o?U:o<0?z:Y,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?U:a<0?G:$,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return Ge.prototype.attrTest.call(this,e)&&(this.state&je||!(this.state&je)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ze(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(Ke,Ge,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[xe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&je)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),w(Qe,Ve,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Me]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(H|V)&&!r)this.reset();else if(e.eventType&B)this.reset(),this._timer=v(function(){this.state=We,this.tryEmit()},t.time,this);else if(e.eventType&H)return We;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===We&&(e&&e.eventType&H?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}}),w(Xe,Ge,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[xe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&je)}}),w(Je,Ge,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:K|Q,pointers:1},getTouchAction:function(){return $e.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(K|Q)?t=e.overallVelocity:n&K?t=e.overallVelocityX:n&Q&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&f(t)>this.options.velocity&&e.eventType&H},emit:function(e){var t=ze(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(Ze,Ve,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Le]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&B&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=H)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||ae(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=v(function(){this.state=We,this.tryEmit()},t.interval,this),je):We}return 32},failTimeout:function(){return this._timer=v(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==We&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),et.VERSION="2.0.7",et.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Xe,{enable:!1}],[Ke,{enable:!1},["rotate"]],[Je,{direction:K}],[$e,{direction:K},["swipe"]],[Ze],[Ze,{event:"doubletap",taps:2},["tap"]],[Qe]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function tt(e,t){this.options=l({},et.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=function(e){var t=e.options.inputClass;return new(t||(q?pe:j?Ce:D?ke:de))(e,te)}(this),this.touchAction=new De(this,this.options.touchAction),nt(this,!0),y(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function nt(e,t){var n,i=e.element;i.style&&(y(e.options.cssProps,function(r,o){n=P(i.style,o),t?(e.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=e.oldCssProps[n]||""}),t||(e.oldCssProps={}))}tt.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var i=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&We)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],
2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&n.state&(je|Fe|Be)&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof Ve)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(p(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(p(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=M(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return y(O(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==s){var n=this.handlers;return y(O(e),function(e){t?n[e]&&n[e].splice(M(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&nt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(et,{INPUT_START:B,INPUT_MOVE:W,INPUT_END:H,INPUT_CANCEL:V,STATE_POSSIBLE:qe,STATE_BEGAN:je,STATE_CHANGED:Fe,STATE_ENDED:Be,STATE_RECOGNIZED:We,STATE_CANCELLED:He,STATE_FAILED:32,DIRECTION_NONE:U,DIRECTION_LEFT:z,DIRECTION_RIGHT:Y,DIRECTION_UP:G,DIRECTION_DOWN:$,DIRECTION_HORIZONTAL:K,DIRECTION_VERTICAL:Q,DIRECTION_ALL:X,Manager:tt,Input:ee,TouchAction:De,TouchInput:Ce,MouseInput:de,PointerEventInput:pe,TouchMouseInput:ke,SingleTouchInput:Ee,Recognizer:Ve,AttrRecognizer:Ge,Tap:Ze,Pan:$e,Swipe:Je,Pinch:Ke,Rotate:Xe,Press:Qe,on:_,off:k,each:y,merge:E,extend:b,assign:l,inherit:w,bindFn:S,prefixed:P}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=et,(i=function(){return et}.call(t,n,t,e))===s||(e.exports=i)}(window,document)},39:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t=Math.random().toString().split(".").pop();return JSON.stringify(e,function(e,n){return"string"==typeof n?n.replace(/[\S\s]/g,function(e){var n=e.charCodeAt();return n<128&&n>31?e:t+"u"+("0000"+n.toString(16)).slice(-4)}):n}).split(t).join("\\")}},4:function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";var e="millisecond",t="second",n="minute",i="hour",r="day",o="week",a="month",s="quarter",l="year",u="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(e,t,n){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(n)+e},v={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),i=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+m(i,2,"0")+":"+m(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(i,a),o=n-r<0,s=t.clone().add(i+(o?-1:1),a);return+(-(i+(n-r)/(o?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return{M:a,y:l,w:o,d:r,D:u,h:i,m:n,s:t,ms:e,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},p="en",y={};y[p]=f;var g=function(e){return e instanceof S},b=function(e,t,n){var i;if(!e)return p;if("string"==typeof e)y[e]&&(i=e),t&&(y[e]=t,i=e);else{var r=e.name;y[r]=e,i=r}return!n&&i&&(p=i),i||!n&&p},E=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},w=v;w.l=b,w.i=g,w.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function f(e){this.$L=b(e.locale,null,!0),this.parse(e)}var m=f.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(d);if(i){var r=i[2]-1||0,o=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return w},m.isValid=function(){return!(this.$d.toString()===c)},m.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return E(e)<this.startOf(t)},m.isBefore=function(e,t){
return this.endOf(t)<E(e)},m.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,s){var c=this,d=!!w.u(s)||s,h=w.p(e),f=function(e,t){var n=w.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?n:n.endOf(r)},m=function(e,t){return w.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},v=this.$W,p=this.$M,y=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case l:return d?f(1,0):f(31,11);case a:return d?f(1,p):f(0,p+1);case o:var b=this.$locale().weekStart||0,E=(v<b?v+7:v)-b;return f(d?y-E:y+(6-E),p);case r:case u:return m(g+"Hours",0);case i:return m(g+"Minutes",1);case n:return m(g+"Seconds",2);case t:return m(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(o,s){var c,d=w.p(o),h="set"+(this.$u?"UTC":""),f=(c={},c[r]=h+"Date",c[u]=h+"Date",c[a]=h+"Month",c[l]=h+"FullYear",c[i]=h+"Hours",c[n]=h+"Minutes",c[t]=h+"Seconds",c[e]=h+"Milliseconds",c)[d],m=d===r?this.$D+(s-this.$W):s;if(d===a||d===l){var v=this.clone().set(u,1);v.$d[f](m),v.init(),this.$d=v.set(u,Math.min(this.$D,v.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[w.p(e)]()},m.add=function(e,s){var u,c=this;e=Number(e);var d=w.p(s),h=function(t){var n=E(c);return w.w(n.date(n.date()+Math.round(t*e)),c)};if(d===a)return this.set(a,this.$M+e);if(d===l)return this.set(l,this.$y+e);if(d===r)return h(1);if(d===o)return h(7);var f=(u={},u[n]=6e4,u[i]=36e5,u[t]=1e3,u)[d]||1,m=this.$d.getTime()+e*f;return w.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var i=e||"YYYY-MM-DDTHH:mm:ssZ",r=w.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,d=function(e,n,r,o){return e&&(e[n]||e(t,i))||r[n].substr(0,o)},f=function(e){return w.s(o%12||12,e,"0")},m=n.meridiem||function(e,t,n){var i=e<12?"AM":"PM";return n?i.toLowerCase():i},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:d(n.monthsShort,s,u,3),MMMM:d(u,s),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:d(n.weekdaysMin,this.$W,l,2),ddd:d(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(o),HH:w.s(o,2,"0"),h:f(1),hh:f(2),a:m(o,a,!0),A:m(o,a,!1),m:String(a),mm:w.s(a,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:r};return i.replace(h,function(e,t){return t||v[e]||r.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(e,u,c){var d,h=w.p(u),f=E(e),m=6e4*(f.utcOffset()-this.utcOffset()),v=this-f,p=w.m(this,f);return p=(d={},d[l]=p/12,d[a]=p,d[s]=p/3,d[o]=(v-m)/6048e5,d[r]=(v-m)/864e5,d[i]=v/36e5,d[n]=v/6e4,d[t]=v/1e3,d)[h]||v,c?p:w.a(p)},m.daysInMonth=function(){return this.endOf(a).$D},m.$locale=function(){return y[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),i=b(e,t,!0);return i&&(n.$L=i),n},m.clone=function(){return w.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},f}(),C=S.prototype;return E.prototype=C,[["$ms",e],["$s",t],["$m",n],["$H",i],["$W",r],["$M",a],["$y",l],["$D",u]].forEach(function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),E.extend=function(e,t){return e.$i||(e(t,S,E),e.$i=!0),E},E.locale=b,E.isDayjs=g,E.unix=function(e){return E(1e3*e)},E.en=y[p],E.Ls=y,E.p={},E})},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1);var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domTarget=t.element||null,this.domReferenceCaller=t.elementReferenceCaller||null,this.domReferencePosition=t.elementReferencePosition||null,this.settingsPosition=t.settingsPosition||{},this.actionClose=t.actionClose||function(){},this.classAdditional=t.classAdditional||null,this.enableCloseButton=t.enableCloseButton||!1,this.domElement=null,this.overlayBox=null,this.overlayContent=null,this.overlayId=null,this.buttonClose=null,this.attrInitiated="data-init",this.attrContentRef="data-content-ref",this.attrContentId="data-overlay-context-id",this.classElement="mod-overlay-context",this.classActive="active",this.isActive=!1,this.enableAutoPosition=!1,this.isMobile=!1}return i(e,[{key:"init",value:function(){
this.domTarget?this.domTarget.hasAttribute(this.attrInitiated)||(this.initElement(),this.getOverlayContent(),this.domTarget.appendChild(this.getDomElement()),this.domTarget.setAttribute(this.attrInitiated,"true")):this.initElement()}},{key:"initElement",value:function(){this.prepareDOM(),this.initOverlayId(),this.initAutoPosition(),this.bindEventClose()}},{key:"prepareDOM",value:function(){var e=document.createElement("div");(0,r.addClass)(e,this.classElement);var t=document.createElement("div");(0,r.addClass)(t,"overlay-box");var n=document.createElement("div");(0,r.addClass)(n,"overlay-content"),t.appendChild(n),e.appendChild(t),this.classAdditional&&(0,r.addClass)(e,this.classAdditional),this.enableCloseButton&&this.generateButtonClose(t),this.domElement=e,this.overlayBox=t,this.overlayContent=n}},{key:"getDomElement",value:function(){return this.domElement}},{key:"getActiveState",value:function(){return this.isActive}},{key:"initAutoPosition",value:function(){var e=this;this.domReferencePosition&&(this.enableAutoPosition=!0,this.settingsPosition.ignoreScroll||window.addEventListener("scroll",function(){return e.updateAutoPosition()}))}},{key:"initOverlayId",value:function(){this.overlayId=(0,r.createId)()}},{key:"getOverlayId",value:function(){return this.overlayId}},{key:"generateButtonClose",value:function(e){var t=document.createElement("button");t.innerHTML="<span class='hidden-title'>"+(0,r.getLocalizedTextCloseOverlay)(this.domTarget)+"</span>",t.innerHTML+=(0,r.generateSVGIcon)("close"),(0,r.addClass)(t,"button type-close"),e.appendChild(t),this.buttonClose=t}},{key:"bindEventClose",value:function(){var e=this;this.enableCloseButton&&this.buttonClose.addEventListener("click",function(t){t.preventDefault(),e.closeOverlay()}),window.addEventListener("keyup",function(t){e.isActive&&(0,r.checkKeyCode)(t,o.KEYCODES.ESCAPE)&&e.closeOverlay()}),document.addEventListener("click",function(t){if(!e.isMobile){var n=(0,r.getParents)(t.target),i=!1;e.isActive&&(e.domReferenceCaller?-1===n.indexOf(e.domReferenceCaller)&&-1===n.indexOf(e.domElement)&&(i=!0):-1===n.indexOf(e.domElement)&&(i=!0),i&&e.closeOverlay())}}),window.addEventListener(o.CONFIG.events.resize,function(){e.isActive&&e.closeOverlay()})}},{key:"toggleOverlay",value:function(){return this.isActive?this.closeOverlay():this.openOverlay(),this.isActive}},{key:"openOverlay",value:function(){this.isActive=!0,this.updateAutoPosition(),(0,r.addClass)(this.domElement,this.classActive)}},{key:"closeOverlay",value:function(){this.isActive=!1,(0,r.removeClass)(this.domElement,this.classActive),(0,r.disablePageScroll)(!1),this.actionClose()}},{key:"updateAutoPosition",value:function(){this.enableAutoPosition&&(0,r.setElementPositionRelative)(this.domElement,this.domReferencePosition,this.settingsPosition)}},{key:"openOverlayMobile",value:function(){this.isActive=!0,(0,r.disablePageScroll)(),this.domElement.removeAttribute("style"),(0,r.addClass)(this.domElement,this.classActive)}},{key:"setSettingsPosition",value:function(e){this.settingsPosition=e,this.initAutoPosition()}},{key:"setDomReferenceCaller",value:function(e){this.domReferenceCaller=e}},{key:"setDomReferencePosition",value:function(e){this.domReferencePosition=e,this.initAutoPosition()}},{key:"setMobile",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isMobile=e}},{key:"getOverlayContent",value:function(){var e=this.domTarget.getAttribute(this.attrContentRef);if(void 0!==e&&null!==e){var t=document.querySelector("["+this.attrContentId+'="'+e+'"]');if(t)return t.innerHTML}return""}},{key:"replaceOverlayContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e;e||(t=this.getOverlayContent()),this.overlayContent.innerHTML=t}},{key:"addOverlayContent",value:function(e){this.overlayContent.appendChild(e)}}]),e}();t.default=a},43:function(e,t,n){var i,r;!function(o,a){void 0===(r="function"==typeof(i=a)?i.call(t,n,t,e):i)||(e.exports=r)}(window,function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],i=n.length;function r(e){var n=getComputedStyle(e);return n||t("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n}var o,a=!1;function s(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var i=r(t);o=200==Math.round(e(i.width)),s.isBoxSizeOuter=o,n.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),
t&&"object"==typeof t&&t.nodeType){var l=r(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<i;t++)e[n[t]]=0;return e}();var u={};u.width=t.offsetWidth,u.height=t.offsetHeight;for(var c=u.isBorderBox="border-box"==l.boxSizing,d=0;d<i;d++){var h=n[d],f=l[h],m=parseFloat(f);u[h]=isNaN(m)?0:m}var v=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,b=u.borderLeftWidth+u.borderRightWidth,E=u.borderTopWidth+u.borderBottomWidth,w=c&&o,S=e(l.width);!1!==S&&(u.width=S+(w?0:v+b));var C=e(l.height);return!1!==C&&(u.height=C+(w?0:p+E)),u.innerWidth=u.width-(v+b),u.innerHeight=u.height-(p+E),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}return s})},474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n(169));var a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.sender=this.options.sender,(0,r.log)('Class "NewsStreamModel" has been initialized with',this.sender,t)}return i(e,[{key:"fetchNews",value:function(){var e=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function i(r,o){try{var a=t[r](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){i("next",e)},function(e){i("throw",e)});e(s)}("next")})}}(regeneratorRuntime.mark(function e(t,n,i,a,s){var l,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,c=arguments[6];return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(0,r.log)("parameters for API",this.sender,s),l=u||(0,r.getCMSLanguageId)(),e.abrupt("return",fetch((0,r.fetchDotCmsContentApi)(t,n,i,a,s,l,c)).then(function(e){return e.json()}).then(function(e){return e.contentlets}).then(function(e){return o.default.extendNewsByCategories(e)}).catch(function(e){return console.warn("Something went wrong while fetching news",e)}));case 3:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o){return e.apply(this,arguments)}}()}]),e}();t.default=a},493:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEWS_STREAM_ID_CUSTOM_QUERY=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(170));var o=t.NEWS_STREAM_ID_CUSTOM_QUERY="news-stream-custom-query",a=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.newsStreamCustomQuery=n.domElement.querySelector('[data-id="'+o+'"]').innerHTML,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"init",value:function(){this.logInitialSettings(),this.prepareDom(),this.setNewsStreamCustomQuery(this.newsStreamCustomQuery),this.fetchNews()}}]),t}();t.default=a},5:function(e,t,n){e.exports="function"==typeof Array.from?Array.from:n(21)},50:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1);var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.LOAD_INIT="load-init",this.LOADING="loading",this.LOAD_FINISHED="load-finished",this.LOAD_ERROR="load-error",this.stateLoading=this.LOAD_INIT,this.stateLoadedOnce=!1,this.domElement=t.element,this.domIndicator=null,this.imageElement=null,this.options=[],this.classHidden="hidden",this.attrSourceSmall="data-img-src-small",this.attrSourceLarge="data-img-src-large",
this.attrOptions="data-img-option",this.attrAlt="data-img-alt",this.attrHideOnErrorParentClass="data-hide-on-error-parent-class",this.optionSrcSmall="src-small",this.optionSrcLarge="src-large",this.optionNoInit="no-init"}return i(e,[{key:"init",value:function(){this.hideOnErrorParentElement=(0,r.findParent)(this.domElement,this.getAttributeSource(this.attrHideOnErrorParentClass))}},{key:"initEventHandling",value:function(){}},{key:"prepareDOM",value:function(){var e=this;this.imageElement||(this.imageElement=new Image,this.imageElement.setAttribute("draggable",!1),this.imageElement.setAttribute("alt",this.domElement.getAttribute(this.attrAlt)),this.imageElement.addEventListener("load",function(t){return e.handleEventLoad(t)}),this.imageElement.addEventListener("error",function(t){return e.handleEventLoad(t)}),this.domElement.appendChild(this.imageElement),this.stateLoading=this.LOAD_INIT,(0,r.addClass)(this.domElement,this.LOAD_INIT)),this.domIndicator=this.domElement.querySelector(".mod-indicator")}},{key:"loadImageSourceOnce",value:function(e){this.stateLoadedOnce||this.replaceImageSource(e)}},{key:"replaceImageSource",value:function(e){this.imageElement.src=e,this.stateLoading=this.LOADING,(0,r.addClass)(this.domElement,this.LOADING),(0,r.removeClass)(this.domElement,this.LOAD_INIT),(0,r.removeClass)(this.domElement,this.LOAD_FINISHED),(0,r.removeClass)(this.domIndicator,this.classHidden)}},{key:"handleEventLoad",value:function(e){var t=this;switch(e.type){case"error":this.stateLoading=this.LOAD_ERROR,(0,r.removeClass)(this.domElement,this.LOADING),(0,r.addClass)(this.domElement,this.LOAD_ERROR),(0,r.addClass)(this.domIndicator,this.classHidden),this.hideOnErrorParentElement&&(this.hideOnErrorParentElement.style.display="none"),this.callbackImageError();break;case"load":this.stateLoadedOnce=!0,this.stateLoading=this.LOAD_FINISHED,(0,r.removeClass)(this.domElement,this.LOADING),(0,r.addClass)(this.domElement,this.LOAD_FINISHED),(0,r.addClass)(this.domIndicator,this.classHidden),this.domElement.removeAttribute("style"),window.setTimeout(function(){t.callbackImageLoaded()},0)}(0,r.dispatchCustomEvent)(o.CONFIG.events.imageLoadFinished,{domElement:this.domElement})}},{key:"callbackImageLoaded",value:function(){}},{key:"callbackImageError",value:function(){}},{key:"getAttributeOptions",value:function(){var e=this.domElement.getAttribute(this.attrOptions);return e=e?e.split(" "):[],this.options=e,this.options}},{key:"getAttributeSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.attrSourceSmall;return this.domElement.getAttribute(e)}},{key:"getStatusLoadedOnce",value:function(){return this.stateLoadedOnce}}]),e}();t.default=a},501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=function(e){return e&&e.__esModule?e:{default:e}}(n(214)),o=n(0);var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.default),i(t,[{key:"validateForm",value:function(){for(var e=void 0,t=3===(0,o.getCurrentLanguageCode)()?"Geben Sie bitte gültige Daten ein":"Please enter valid information",n=/(eval|alert|on\w+|function\s+\w+)\s*\(\s*(['+\w](,?\s*['+\w]*)*)*\s*\)/gim,i=/<(script|iframe|embed|frame|frameset|object|img|applet|body|html|style|layer|link|ilayer|meta|bgsound)/gim,r=0;r<this.formFields.length;r+=1){var a=this.formFields[r];a.value=a.value.trim();var s=null!==a.getAttribute("required"),l=null===a.parentElement.querySelector(".error-message"),u=""===a.value;if("email"===a.getAttribute("type")){if(s||!u){a.value.match(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i)||(l&&this.attachErrorWrapper(a.parentElement),0===a.parentElement.querySelector(".error-message").innerText.length&&(a.parentElement.querySelector(".error-message").innerText=t),this.attachError(a),e=e||a)}}else if(s)if("SELECT"===a.nodeName&&u){var c=(0,o.findParent)(a,"type-custom-select");l&&this.attachErrorWrapper(a.parentElement),
0===a.parentElement.querySelector(".error-message").innerText.length&&(a.parentElement.querySelector(".error-message").innerText=t),this.attachError(c),e=e||c.getElementsByTagName("button")[0]}else if("checkbox"!==a.getAttribute("type")||a.checked)if("radio"!==a.getAttribute("type")||a.checked)u&&(l&&this.attachErrorWrapper(a.parentElement),0===a.parentElement.querySelector(".error-message").innerText.length&&(a.parentElement.querySelector(".error-message").innerText=t),this.attachError(a),e=e||a);else{this.element.querySelector('input[name="'+a.getAttribute("name")+'"]:checked')||((0,o.findParent)(a,"radio-label").classList.add("error"),e=e||a)}else(0,o.findParent)(a,"checkbox-label").classList.add("error"),e=e||a;(n.test(a.value)||i.test(a.value))&&(l&&this.attachErrorWrapper(a.parentElement),0===a.parentElement.querySelector(".error-message").innerText.length&&(a.parentElement.querySelector(".error-message").innerText=t),this.attachError(a),e=e||a)}e&&e.focus()}},{key:"attachErrorWrapper",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==e){var n="error-message";t&&(n+=" "+t);var i=document.createElement("SPAN");i.classList.add(n),e.appendChild(i)}}}]),t}();t.default=a},56:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n(18);var r=n(0),o=l(n(40)),a=l(n(131)),s=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.domElement=t.element||null,this.shareUrl=t.shareUrl||null,this.shareLabel=t.shareLabel||null,this.settingsPosition=t.settingsPosition||{top:5},this.shareMarkup=null,this.shareUrlAttr="data-share-url",this.initializedAttr="data-init",this.isInitialized=!1,this.isActivated=!1,this.sharingEnabled=document.querySelector("body").dataset.sharingEnabled||!1,this.additionalClass=t.additionalClass||"",this.elementAdditionalClass=t.elementAdditionalClass||"",this.overlayWrapperClass="mod-wrapper-share-overlay "+this.additionalClass,this.activeClass="activated",this.mailSettings=t.mailSettings||null}return i(e,[{key:"init",value:function(){if(this.sharingEnabled&&"false"!==this.sharingEnabled)if(this.domElement){var e=this.domElement.dataset.shareBody,t=this.domElement.dataset.shareSubject;if(void 0!==e&&void 0!==t){var n=document.querySelector(".cnt-news");if(n){var i=n.querySelector(".mod-page-headline h1"),o=n.querySelector(".mod-page-headline p");e=e+" "+(i?"\n\n\n"+i.innerText:"")+" "+(o?"\n\n\n"+o.innerText+"\n\n":""),e=encodeURIComponent(e)}this.mailSettings={subject:t,body:e}}this.domElement.hasAttribute(this.initializedAttr)||this.initEventHandling()}else this.generateElement(),this.initEventHandling();else this.domElement&&(0,r.removeChild)(this.domElement)}},{key:"closeOverlay",value:function(){this.moduleOverlayContext&&(this.moduleOverlayContext.closeOverlay(),this.isActivated=!1,(0,r.removeClass)(this.domElement,this.activeClass))}},{key:"getDomElement",value:function(){return this.domElement||document.createElement("div")}},{key:"getShareMarkup",value:function(){return this.shareMarkup}},{key:"generateElement",value:function(){this.domElement=document.createElement("button"),this.domElement.setAttribute(this.shareUrlAttr,this.shareUrl),this.domElement.setAttribute(this.initializedAttr,"true"),(0,r.addClass)(this.domElement,"button type-share "+this.elementAdditionalClass),this.domElement.setAttribute("title",this.shareLabel),(0,r.addClass)(this.domElement,"button type-share"),this.shareMarkup=(0,r.generateSVGIcon)("share",null,"false")+'\n                      <span class="label">'+this.shareLabel+"</span>",this.domElement.insertAdjacentHTML("beforeend",this.shareMarkup)}},{key:"initSubModules",value:function(){return this.isInitialized||(this.initModuleOverlayContext(),this.initModuleShareLinks(),this.isInitialized=!0),this.isInitialized}},{key:"initModuleOverlayContext",value:function(){this.moduleOverlayContext=new o.default({classAdditional:"type-share-button",elementReferenceCaller:this.domElement,elementReferencePosition:this.domElement,settingsPosition:this.settingsPosition}),this.moduleOverlayContext.init();var e=document.querySelector("."+this.overlayWrapperClass);e||(e=document.createElement("div"),(0,r.addClass)(e,this.overlayWrapperClass),document.querySelector("body").appendChild(e));var t="shareOverlay-"+(e.children.length+1);this.moduleOverlayContext.getDomElement().setAttribute("id",t),e.appendChild(this.moduleOverlayContext.getDomElement()),this.domElement.setAttribute("aria-controls",t)}},{key:"initModuleShareLinks",value:function(){var e=this
;this.shareUrl||(this.shareUrl=this.domElement.getAttribute(this.shareUrlAttr)||(0,r.getCurrentUrlWithCmsLanguageId)()),this.moduleShareLinks=new a.default({shareUrl:this.shareUrl,defaultMailBody:!1,mailSettings:this.mailSettings}),this.moduleShareLinks.init(),this.moduleOverlayContext.addOverlayContent(this.moduleShareLinks.getDomElement()),this.moduleShareLinks.getDomElement().addEventListener("keydown",function(t){return e.moduleShareLinks.handleKeyEvents(t,e.moduleOverlayContext,e)}),this.moduleShareLinks.getDomElement().addEventListener("keyup",function(t){return e.moduleShareLinks.handleKeyEvents(t,e.moduleOverlayContext,e)}),this.moduleShareLinks.getDomElement().addEventListener("click",function(){return e.moduleOverlayContext.closeOverlay()})}},{key:"initEventHandling",value:function(){var e=this;this.domElement.addEventListener("keyup",function(t){if(((0,r.checkKeyCode)(t,s.KEYCODES.RIGHT)||(0,r.checkKeyCode)(t,s.KEYCODES.LEFT)||(0,r.checkKeyCode)(t,s.KEYCODES.TAB))&&e.isActivated){var n=e.moduleShareLinks.getDomElement().querySelector("li:first-of-type");(0,r.addClass)(n,"active"),n.querySelector("a, button").focus()}(0,r.checkKeyCode)(t,s.KEYCODES.SPACE)&&t.preventDefault()}),this.domElement.addEventListener("keydown",function(t){if((0,r.checkKeyCode)(t,s.KEYCODES.SPACE)){if(t.preventDefault(),e.initSubModules()){e.isActivated=e.moduleOverlayContext.toggleOverlay(),(0,r.toggleClass)(e.domElement,e.activeClass);var n=e.moduleShareLinks.getDomElement().querySelector("li.active");e.isActivated&&n&&n.querySelector("a, button").focus()}}else(0,r.checkKeyCode)(t,s.KEYCODES.ESCAPE)&&(t.preventDefault(),e.initSubModules()&&(e.moduleOverlayContext.closeOverlay(),e.isActivated=!1,(0,r.removeClass)(e.domElement,e.activeClass))),(0,r.checkKeyCode)(t,s.KEYCODES.TAB)&&e.isActivated&&t.preventDefault()}),this.domElement.addEventListener("click",function(t){if(!(0,r.findParent)(t.target,"mod-overlay-context")&&(t.preventDefault(),e.initSubModules())){e.isActivated=e.moduleOverlayContext.toggleOverlay(),(0,r.toggleClass)(e.domElement,e.activeClass);var n=e.moduleShareLinks.getDomElement().querySelector("li.active");e.isActivated&&n&&n.querySelector("a, button").focus()}}),document.addEventListener("click",function(){window.setTimeout(function(){e.moduleOverlayContext&&!e.moduleOverlayContext.getActiveState()&&e.isActivated&&(e.isActivated=!1,(0,r.removeClass)(e.domElement,e.activeClass))},50)}),window.addEventListener("keyup",function(t){(0,r.checkKeyCode)(t,s.KEYCODES.ESCAPE)&&window.setTimeout(function(){e.moduleOverlayContext&&!e.moduleOverlayContext.getActiveState()&&e.isActivated&&(e.isActivated=!1,(0,r.removeClass)(e.domElement,e.activeClass))},50)})}}]),e}();t.default=u},57:function(e,t,n){var i,r;!function(o,a){"use strict";i=[n(76),n(43),n(127),n(166)],void 0===(r=function(e,t,n,i){return a(o,e,t,n,i)}.apply(t,i))||(e.exports=r)}(window,function(e,t,n,i,r){"use strict";var o=e.console,a=e.jQuery,s=function(){},l=0,u={};function c(e,t){var n=i.getQueryElement(e);if(n){this.element=n,a&&(this.$element=a(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t);var r=++l;this.element.outlayerGUID=r,u[r]=this,this._create(),this._getOption("initLayout")&&this.layout()}else o&&o.error("Bad element for "+this.constructor.namespace+": "+(n||e))}c.namespace="outlayer",c.Item=r,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=c.prototype;function h(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}i.extend(d,t.prototype),d.option=function(e){i.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,i=[],r=0;r<t.length;r++){var o=new n(t[r],this);i.push(o)}return i},d._filterFindItemElements=function(e){return i.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(e){return e.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){
this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(e,t){var i,r=this.options[e];r?("string"==typeof r?i=this.element.querySelector(r):r instanceof HTMLElement&&(i=r),this[e]=i?n(i)[t]:r):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var i=this._getItemLayoutPosition(e);i.item=e,i.isInstant=t||e.isLayoutInstant,n.push(i)},this),this._processLayoutQueue(n)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},d.updateStagger=function(){var e=this.options.stagger;if(null!==e&&void 0!==e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],i=t&&t[2];if(!n.length)return 0;n=parseFloat(n);var r=f[i]||1;return n*r}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,n,i,r){i?e.goTo(t,n):(e.stagger(r*this.stagger),e.moveTo(t,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=s,d._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var n=this;function i(){n.dispatchEvent(e+"Complete",null,[t])}var r=t.length;if(t&&r){var o=0;t.forEach(function(t){t.once(e,a)})}else i();function a(){++o==r&&i()}},d.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;if(this.emitEvent(e,i),a)if(this.$element=this.$element||a(this.element),t){var r=a.Event(t);r.type=e,this.$element.trigger(r,n)}else this.$element.trigger(e,n)},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){i.removeFrom(this.stamps,e),this.unignore(e)},this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=i.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=s,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,r=n(e);return{left:t.left-i.left-r.marginLeft,top:t.top-i.top-r.marginTop,right:i.right-t.right-r.marginRight,bottom:i.bottom-t.bottom-r.marginBottom}},d.handleEvent=i.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},i.debounceMethod(c,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.reveal()})}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.hide()})}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},d.getItems=function(e){var t=[];return(e=i.makeArray(e)).forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){
e.remove(),i.removeFrom(this.items,e)},this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete u[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},c.data=function(e){var t=(e=i.getQueryElement(e))&&e.outlayerGUID;return t&&u[t]},c.create=function(e,t){var n=h(c);return n.defaults=i.extend({},c.defaults),i.extend(n.defaults,t),n.compatOptions=i.extend({},c.compatOptions),n.namespace=e,n.data=c.data,n.Item=h(r),i.htmlInit(n,e),a&&a.bridget&&a.bridget(e,n),n};var f={ms:1,s:1e3};return c.Item=r,c})},58:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1),a=u(n(67)),s=n(29),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selector=t.element,this.cta=t.cta||(0,r.hasClass)(this.selector,"button")?this.selector:this.selector.querySelector(".button"),this.videoType=t.videoType||this.selector.getAttribute("data-media-link-type"),this.videoId=t.videoId||this.selector.getAttribute("data-media-link-id"),this.loadPreview=t.loadPreview,void 0===this.loadPreview&&void 0!==this.selector&&(this.loadPreview=this.selector.getAttribute("data-media-preview"))}return i(e,[{key:"init",value:function(){"movingImage"===this.videoType&&(this.curExt=new a.default({videoID:this.videoId}),this.curExt.init(),this.loadPreview&&this.placeThumbnail(this.cta),this.bindEvents(),this.bindHashHandling())}},{key:"bindHashHandling",value:function(){var e=this;window.location.hash.indexOf(this.curExt.hashID)>=0&&window.location.hash.indexOf(this.curExt.videoID)>=0&&window.setTimeout(function(){var t=document.createElement("DIV");(0,r.addClass)(t,"preload-image"),t.innerHTML='<button class="button">'+(0,r.generateSVGIcon)("play","icon")+"</button>",e.placeThumbnail(t.querySelector("button")),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,t),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalShow),t.querySelector("button").addEventListener("click",function(t){t.preventDefault(),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,e.curExt.getMediaContentElement()),e.curExt.replaceMediaContentElementWidthPlayer(),e.curExt.webTrackEvent()})},700)}},{key:"bindEvents",value:function(){var e=this;this.cta.addEventListener("click",function(t){t.preventDefault();var n=new l.default;n.init(),n.injectServiceCheck(function(){e.initialiseMovingImage()},function(e){n.showDeniedModalVideo(e)},s.UCEVENT_SERVICE_MOVINGIMAGE)})}},{key:"initialiseMovingImage",value:function(){window.location.hash=this.curExt.hashID+"="+this.videoId,(0,r.dispatchCustomEvent)(o.CONFIG.events.modalReplaceContent,this.curExt.getMediaContentElement()),this.curExt.replaceMediaContentElementWidthPlayer(),this.curExt.webTrackEvent(),(0,r.dispatchCustomEvent)(o.CONFIG.events.modalShow)}},{key:"placeThumbnail",value:function(e){var t=this;(new l.default).injectServiceCheck(function(){t.curExt.placeThumbnail(e)},function(){t.curExt.placeThumbnail(e)},s.UCEVENT_SERVICE_MOVINGIMAGE)}}]),e}();t.default=c},6:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},67:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=n(1),a=l(n(3)),s=l(n(26));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.videoID=t.videoID,this.hashID="watchmiid"}return i(e,[{key:"init",value:function(){this.loadExternalFile()}},{key:"placeThumbnail",value:function(e){fetch(o.CONFIG.movingImage.apiUrl+"/player/"+o.CONFIG.movingImage.playerID+"/video/"+this.videoID,(0,r.fetchOptions)("GET",null,!0,!0)).then(function(e){return e.json()}).then(function(t){if(!("stillSources"in t)){throw{message:"invalid videodata"}}var n=t.stillSources["1080p"]||Object.values(t.stillSources)[0],i=document.createElement("figure");i.setAttribute("data-img-src-large",n),i.setAttribute("data-img-option","src-large"),(0,r.addClass)(i,"mod-img-loader");var o=new s.default({element:i})
;o.init(),o.updateImageSource(),e.insertBefore(i,e.querySelector("button"))}).catch(function(t){console.info(t),(0,r.removeChild)(e)})}},{key:"bindCloseEvent",value:function(){window.removeEventListener(o.CONFIG.events.modalOnHide,this.removePlayer),window.addEventListener(o.CONFIG.events.modalOnHide,this.removePlayer)}},{key:"removePlayer",value:function(){if(document.getElementById(o.CONFIG.movingImage.playerElementId))try{var e=window.VideoPlayer.Collection.getPlayerById(o.CONFIG.movingImage.playerElementId);e&&(e.stop(),window.VideoPlayer.Collection.removePlayerById(o.CONFIG.movingImage.playerElementId))}catch(e){console.error("Error occurred while trying to get or remove player:",e)}}},{key:"loadExternalFile",value:function(){var e=this;if(window.VideoPlayer)this.createPlayer();else{var t=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.src=o.CONFIG.movingImage.extScriptUrl,t.appendChild(n),n.onload=function(){e.createPlayer()}}}},{key:"createPlayer",value:function(){var e=this;this.initOptions={success:function(t){var n=e.getEnSubTrackId(t.getTextTracks());t.setTextTrack(n)},parameters:{configType:o.CONFIG.movingImage.configType,playerId:o.CONFIG.movingImage.playerID,videoId:this.videoID,apiUrl:o.CONFIG.movingImage.apiUrl,flashPath:o.CONFIG.movingImage.flashPath}}}},{key:"getMediaContentElement",value:function(){var e=document.createElement("div");return e.id=o.CONFIG.movingImage.playerElementId,e}},{key:"replaceMediaContentElementWidthPlayer",value:function(){window.VideoPlayer.Collection.addPlayerById(o.CONFIG.movingImage.playerElementId,this.initOptions),this.bindCloseEvent()}},{key:"getEnSubTrackId",value:function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(n.language===(0,r.getCurrentLanguage)())return n.id}return""}},{key:"webTrackEvent",value:function(){(0,a.default)().trackByAction("movingImage_open_"+this.videoID)}}]),e}();t.default=u},69:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(19)),o=u(n(36)),a=n(1),s=n(0),l=u(n(3));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.sender=t.sender,this.counterTextElement=this.element.querySelector(".meta-link-text"),this.contentIdentifier=this.element.dataset.contentIdentifier,this.cookieIdentifier="db-news-like",this.cookieValue=o.default.getJSON(this.cookieIdentifier)||[],this.currentLikeCount=0,this.likeMethod=this.element.dataset.method||t.likeMethod||"increase",this.trackValue=t.trackValue||null}return i(e,[{key:"init",value:function(){var e=this;if(!(0,s.hasClass)(this.element,"initialised")){var t=this.counterTextElement.innerHTML.match(/\d+/);void 0!==this.contentIdentifier&&(0,s.validCMSId)(this.contentIdentifier)&&null!==this.counterTextElement.innerHTML.match(/\d+/)&&(this.currentLikeCount=parseInt(t[0],10),this.loadLikes(),this.userIsBlocked()&&((0,s.addClass)(this.element,"inactive"),this.element.setAttribute("aria-disabled",!0)),this.element.addEventListener("click",function(t){t.preventDefault(),e.submitLike()}))}(0,s.addClass)(this.element,"initialised")}},{key:"userIsBlocked",value:function(){return Array.isArray(this.cookieValue)&&this.cookieValue.indexOf(this.contentIdentifier)>=0}},{key:"loadLikes",value:function(){var e=this;fetch("/api/content/render/false/type/json/query/+contentType:C06Like +C06Like.likeId:*"+this.contentIdentifier+"* +languageId:1").then(function(e){return e.json()}).then(function(e){return e.contentlets[0]}).then(function(t){var n="increase"===e.likeMethod?"count":"dislikeCount";if(void 0!==t[n]){var i=parseInt(t[n],10);e.counterTextElement.innerHTML=e.counterTextElement.innerHTML.replace(e.currentLikeCount,i),e.currentLikeCount=i}}).catch(function(t){(0,s.log)("Either no likes found, or parsing failed for "+e.contentIdentifier,e.sender,t)})}},{key:"submitLike",value:function(){this.userIsBlocked()?(0,s.log)("User is blocked, no likes will be loaded",this.sender):((0,s.querySelectorArray)(document,'[data-module="Likes"][data-content-identifier="'+this.contentIdentifier+'"]').forEach(function(e){(0,s.addClass)(e,"inactive"),e.setAttribute("aria-disabled",!0)}),(0,s.addClass)(this.element,"inactive"),this.element.setAttribute("aria-disabled",!0),this.cookieValue=o.default.getJSON(this.cookieIdentifier),this.counterTextElement.innerHTML=this.counterTextElement.innerHTML.replace(this.currentLikeCount,parseInt(this.currentLikeCount,10)+1),this.currentLikeCount+=1,
void 0===this.cookieValue||0===this.cookieValue.length?o.default.set(this.cookieIdentifier,[this.contentIdentifier],{expires:1}):this.cookieValue.indexOf(this.contentIdentifier)<0&&(this.cookieValue.push(this.contentIdentifier),o.default.set(this.cookieIdentifier,JSON.stringify(this.cookieValue),{expires:1})),this.cookieValue=o.default.getJSON(this.cookieIdentifier),this.likeRequestCall(this.likeMethod),this.trackValue&&(0,l.default)().trackByAction(this.trackValue))}},{key:"likeRequestCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"list",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i=void 0;i="increase"===t?a.CONFIG.likes.url.increase.replace("{contentIdentifier}",this.contentIdentifier):"decrease"===t?a.CONFIG.likes.url.decrease.replace("{contentIdentifier}",this.contentIdentifier):a.CONFIG.likes.url.increase.replace("{contentIdentifier}",this.contentIdentifier),(0,r.default)(i,{jsonpCallbackFunction:a.CONFIG.likes.jsonPcallback}).then(function(e){return e.json()}).then(function(t){return t.find(function(t){return t.likeid===e.contentIdentifier})}).catch(function(e){n(),console.warn("parsing failed",e)})}}]),e}();t.default=c},7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"getTemplate",value:function(e){return((arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||document).querySelector('[data-template-name="'+e+'"]').innerHTML}},{key:"htmlToElement",value:function(e){try{return(new DOMParser).parseFromString(e,"text/html").body.firstChild}catch(e){var t=document.createElement("DIV");return t.innerHTML="Element could not be parsed",t}}}]),e}();t.default=r},76:function(e,t,n){var i,r;!function(o,a){void 0===(r="function"==typeof(i=a)?i.call(t,n,t,e):i)||(e.exports=r)}("undefined"!=typeof window&&window,function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return-1==i.indexOf(t)&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return-1!=i&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],r=0;r<n.length;r++){var o=n[r];i&&i[o]&&(this.off(e,o),delete i[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})},78:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n(0),a=l(n(7)),s=l(n(40));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.sender=t.sender||"ToolboxSearch",this.isMobile=t.isMobile||!1,this.moduleOverlay=null,this.domContentOverlay=null,this.attrOverlay="data-overlay",this.minimalSearchLength=1,this.settingsPosition={ignoreScroll:!0,alignOverride:"right",right:50,top:-50},this.settingsPositionMobile={},this.closeIcon="close",this.globalConfig={},this.configLocalization={titleGdSearch:"",titleFulltextSearch:""},this.configProject={urlGdSearch:"",urlFulltextSearch:""},this.globalConfig=(0,o.getProjectConfig)("master")||null}return r(e,[{key:"init",value:function(){this.assignProjectProperties(),this.createCloseIcon(),this.generateSearchOverlay(),this.bindEventListeners(),this.useConfigLabels(),this.isMobile||this.initMobileSearch()}},{key:"initMobileSearch",value:function(){var t=this,n=document.querySelector(".navigation-mobile"),i='.link-toolbox[title*="Search"], .link-toolbox[title*="Suche"]',r=n.querySelector(i);if(r){(0,o.log)("Mobile - search button found initially",this.sender),new e({element:r.parentNode,isMobile:!0}).init()}else{var a=new MutationObserver(function(s){var l=!0,u=!1,c=void 0;try{for(var d,h=s[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){
if("childList"===d.value.type)if(r=n.querySelector(i))return(0,o.log)("Mobile - search button found after DOM change",t.sender),new e({element:r.parentNode,isMobile:!0}).init(),void a.disconnect()}}catch(e){u=!0,c=e}finally{try{!l&&h.return&&h.return()}finally{if(u)throw c}}});a.observe(document.querySelector(".navigation-mobile"),{childList:!0})}}},{key:"assignProjectProperties",value:function(){void 0!==this.globalConfig.localization&&i(this.configLocalization,this.globalConfig.localization),void 0!==this.globalConfig.config&&i(this.configProject,this.globalConfig.config)}},{key:"bindEventListeners",value:function(){var e=this;this.element.addEventListener("click",function(t){t.preventDefault(),e.moduleOverlay.setMobile(e.isMobile),e.isMobile?(e.moduleOverlay.setSettingsPosition(e.settingsPositionMobile),e.moduleOverlay.openOverlayMobile()):(e.moduleOverlay.setSettingsPosition(e.settingsPosition),e.changeIcon(e.moduleOverlay.isActive),e.moduleOverlay.toggleOverlay()),e.setFocusOnSearchInput()});var t=this.overlayElement.querySelector("form"),n=t.querySelector(".search .icon");t.addEventListener("submit",function(t){t.preventDefault(),e.submitSearch()}),n.addEventListener("click",function(t){t.preventDefault(),e.submitSearch()})}},{key:"changeIcon",value:function(){var e=null,t=null;arguments.length>0&&void 0!==arguments[0]&&arguments[0]?(e=this.element.querySelector("svg.icon-close"),t=this.element.querySelector("svg:not(.icon-close)"),(0,o.removeClass)(this.element,"search-active")):(e=this.element.querySelector("svg:not(.icon-close)"),t=this.element.querySelector("svg.icon-close"),(0,o.addClass)(this.element,"search-active")),e.style.display="none",t.style.display="block"}},{key:"createCloseIcon",value:function(){var e=this.element.querySelector("a"),t=e.querySelector("svg.icon-close");if(!t){var n=(0,o.generateSVGIcon)(this.closeIcon,"icon icon-close");e.insertAdjacentHTML("afterbegin",n),t=this.element.querySelector("svg.icon-close")}t.style.display="none"}},{key:"generateSearchOverlay",value:function(){var e=this;this.domBody=document.querySelector("body"),this.isMobile?(this.domBody.insertAdjacentHTML("beforeend","<div class='search-containerMobile'></div>"),this.overlayElement=document.querySelector("body .search-containerMobile")):(this.domBody.insertAdjacentHTML("beforeend","<div class='search-container'></div>"),this.overlayElement=document.querySelector("body .search-container"));var t=a.default.getTemplate("search");this.moduleOverlay=new s.default({element:this.overlayElement,elementReferenceCaller:this.element,elementReferencePosition:this.element,settingsPosition:this.settingsPosition,classAdditional:"type-search",enableCloseButton:this.isMobile,actionClose:function(){e.changeIcon(!0)}}),this.moduleOverlay.init(),this.moduleOverlay.replaceOverlayContent(t),this.isMobile||(this.moduleOverlay.getDomElement().querySelector(".overlay-box").style.width="350px"),this.domContentOverlay=this.moduleOverlay.getDomElement().querySelector(".search-wrapper"),this.isMobile&&(0,o.addClass)(this.domContentOverlay,"mobile")}},{key:"setFocusOnSearchInput",value:function(){this.overlayElement.querySelector('input[name="searchtext"]').focus()}},{key:"useConfigLabels",value:function(){var e=this;(0,o.querySelectorArray)(this.overlayElement,".radiobutton").forEach(function(t){var n=t.querySelector("label span"),i=t.querySelector("label").getAttribute("data-for"),r="";i.match("gd")?r=e.configLocalization.titleGdSearch:i.match("fulltext")&&(r=e.configLocalization.titleFulltextSearch),""!==r&&(n.innerHTML=r)})}},{key:"submitSearch",value:function(){var e=this.overlayElement.querySelector('input[name="searchContext"]:checked'),t=e?e.value:"",n=this.overlayElement.querySelector('input[name="searchtext"]').value;if(null!==t&&""!==n&&n.length>=this.minimalSearchLength){var i="";i=(i="gd"===t?this.configProject.urlGdSearch:this.configProject.urlFulltextSearch).replace("%%SEARCH%%",escape(n.trim())),window.open(i,"_blank")}}}]),e}();t.default=u},80:function(e,t,n){var i,r;!function(o,a){"use strict";i=[n(76)],void 0===(r=function(e){return a(o,e)}.apply(t,i))||(e.exports=r)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.jQuery,i=e.console;function r(e,t){for(var n in t)e[n]=t[n];return e}var o=Array.prototype.slice;function a(e,t,s){if(!(this instanceof a))return new a(e,t,s);var l=e;"string"==typeof e&&(l=document.querySelectorAll(e)),l?(this.elements=function(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?o.call(e):[e]}(l),this.options=r({},this.options),"function"==typeof t?s=t:r(this.options,t),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error("Bad element for imagesLoaded "+(l||e))}a.prototype=Object.create(t.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){
"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&s[t]){for(var n=e.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(i=0;i<o.length;i++){var a=o[i];this.addElementBackgroundImages(a)}}}};var s={1:!0,9:!0,11:!0};function l(e){this.img=e}function u(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(t.backgroundImage);null!==i;){var r=i&&i[2];r&&this.addBackground(r,e),i=n.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var n=new u(e,t);this.images.push(n)},a.prototype.check=function(){var e=this;function t(t,n,i){setTimeout(function(){e.progress(t,n,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},a.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+n,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype=Object.create(l.prototype),u.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},u.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},u.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(n(this))})},a.makeJQueryPlugin(),a})},86:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=u(n(5)),o=n(0),a=u(n(16)),s=u(n(39)),l=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t.element,this.submitButton=this.element.querySelector('input[type="submit"]'),this.form=this.element.querySelector("form"),this.formFields=(0,r.default)(this.element.querySelectorAll("input, select, textarea")),this.thankYouPage=this.element.dataset.thankYouPage||null,this.successMessage=this.element.dataset.successMessage||"Success",this.errorMessage=this.element.dataset.errorMessage||"Error",this.loadingMessage=this.element.dataset.loadingMessage||"Sending...",this.submitUrl=t.submitUrl||this.element.dataset.customSubmitUrl||l.CONFIG.genericForm.submitUrl,this.honeypot=this.element.querySelector("#contactform-validation")}return i(e,[{key:"init",value:function(){this.addClickEvent(),this.addSubmitEvent(),this.overwriteSubmitLabel(),this.setOauth2UserData()}},{key:"addClickEvent",value:function(){var e=this;this.submitButton.addEventListener("click",function(t){if((0,r.default)((0,o.querySelectorArray)(e.element,".error")).forEach(function(e){(0,o.removeClass)(e,"error")}),
!e.honeypot.checked&&(e.validateForm(),null===e.element.querySelector(".error"))){var n=document.createEvent("Event");n.initEvent("submit",!1,!0),t.target.closest("form").dispatchEvent(n)}t.preventDefault()})}},{key:"addSubmitEvent",value:function(){var e=this;this.element.querySelector("form").addEventListener("submit",function(t){var n=t.target,i=(0,r.default)(n.querySelectorAll("input, textarea, select")),l={formId:e.form.dataset.formId,languageId:(0,o.getCMSLanguageId)(),userEmail:""},u={},c=null;i.forEach(function(t,n){var i=e.getSubmitNameFromElement(t,n),r=null;switch(t.getAttribute("type")){case"button":case"submit":break;case"checkbox":if(t.checked){var o=t.parentNode.querySelector(".checkbox-text"),a=o?o.innerText:t.value;u[i]=i in u?u[i]+","+a:a}break;case"radio":t.checked&&(r=t.parentNode.querySelector(".radio-text"),u[i]=r?r.innerText:t.value);break;case"file":c=t.files[0];break;case"email":u[i]=t.value,l.userEmail=t.value;break;case"text":case"input":default:if(u[i]=t.value,"SELECT"===t.nodeName){var s=t.querySelector("option[value="+t.value+"]");s&&s.innerText&&(u[i]=s.innerText)}}}),l.data=u;var d=new FormData;d.append("json",(0,s.default)(l)),void 0!==c&&null!==c&&d.append("file",c,c.name),a.default.showLoadingModal(e.loadingMessage,"",!0),fetch(e.submitUrl,(0,o.fetchOptions)("POST",d)).then(function(t){var i="";200===t.status?(i=e.successMessage,n.reset(),e.thankYouPage&&window.setTimeout(function(){window.location.href=e.thankYouPage},5e3)):i=e.errorMessage,a.default.showModalByString(i)}).catch(function(){}),t.preventDefault()})}},{key:"overwriteSubmitLabel",value:function(){var e=this.element.querySelector("[data-submit-button-text]");e&&(this.submitButton.value=e.dataset.submitButtonText)}},{key:"setOauth2UserData",value:function(){var e=this;this.oauth2EventReceived=!1,window.addEventListener(l.CONFIG.events.oauth2UserData.available,function(){e.oauth2EventReceived||(0,o.querySelectorArray)(e.element,"[data-userdata-key]").forEach(function(e){var t=e,n="userId"===e.dataset.userdataKey?"email":e.dataset.userdataKey,i=(0,o.getUserDataValue)(n);i&&(t.value=i)}),e.oauth2EventReceived=!0})}},{key:"validateForm",value:function(){for(var e=void 0,t=0;t<this.formFields.length;t+=1){var n=this.formFields[t];n.value=n.value.trim();var i=null!==n.getAttribute("required"),r=""===n.value;if("email"===n.getAttribute("type")){if(i||!r){n.value.match(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i)||(this.attachError(n),e=e||n)}}else if(i)if("SELECT"===n.nodeName&&r){var a=(0,o.findParent)(n,"mod-select");this.attachError(a),e=e||a.getElementsByTagName("button")[0]}else if("checkbox"!==n.getAttribute("type")||n.checked)if("radio"!==n.getAttribute("type")||n.checked)r&&(this.attachError(n),e=e||n);else{this.element.querySelector('input[name="'+n.getAttribute("name")+'"]:checked')||((0,o.findParent)(n,"radio-label").classList.add("error"),e=e||n)}else(0,o.findParent)(n,"checkbox-label").classList.add("error"),e=e||n}e&&e.focus()}},{key:"attachError",value:function(e){(0,o.addClass)(e,"error");var t=e.parentNode.querySelector(".error-message");t&&(0,o.removeClass)(t,"hidden")}},{key:"getSubmitNameFromElement",value:function(e){var t=e.getAttribute("name");return(0,o.hasClass)(e,"date-range-picker__start-input")?t+" from":(0,o.hasClass)(e,"date-range-picker__end-input")?t+" to":t}}]),e}();t.default=c},87:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=l(n(38)),o=l(n(88)),a=n(0),s=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.domNode&&t.activate&&(this.domNode=t.domNode,this.activate=t.activate,this.deactivate=t.deactivate||function(){},this.getIsActive=t.isActive||function(){return!1},this.isBackendView=window.location!==window.parent.location,this.disableScroll=t.disableScroll||this.isBackendView||!1,this.hashValue=(0,a.unifyHashValue)(this.domNode.getAttribute("title")||this.domNode.innerText),this.hashValueOverride=t.hashValueOverride||null,this.currentHashValue="#",this.hashValueOverride&&(this.hashValue=(0,a.unifyHashValue)(this.hashValueOverride)))}return i(e,[{key:"init",value:function(){this.prepareDom(),this.bindEvents(),this.handleHash(300)}},{key:"prepareDom",value:function(){this.domNode.setAttribute("data-hash-value",this.hashValue),"a"===this.domNode.nodeName.toLowerCase()&&this.domNode.setAttribute("href","#"+this.hashValue)}},{key:"bindEvents",value:function(){var e=this;window.addEventListener("hashchange",function(){return e.handleHash(1)})
;var t=new r.default.Manager(this.domNode,{});t.add(new r.default.Tap({time:1500})),t.on("tap",function(t){t.preventDefault(),e.handleClick()}),this.domNode.addEventListener("click",function(e){e.preventDefault()})}},{key:"handleClick",value:function(){this.getIsActive()?(this.clearHash(),this.deactivate()):this.triggerActivate()}},{key:"triggerActivate",value:function(){window.location.hash=this.hashValue}},{key:"clearHash",value:function(){window.location.hash=s.CONFIG.hashHandler.resetHash,this.currentHashValue=""}},{key:"handleHash",value:function(e){var t=this,n=window.location.hash.substr(1);n===this.hashValue&&n!==this.currentHashValue&&(window.setTimeout(function(){t.activate()},e),this.disableScroll||window.setTimeout(function(){(0,o.default)('[data-hash-value="'+t.hashValue+'"]',{offset:Math.floor(window.innerHeight/-10),ease:"out-circ",duration:450})},550+e)),this.currentHashValue=n}}]),e}();t.default=u},88:function(e,t,n){var i=n(121);e.exports=function(e,t){if(t=t||{},"string"==typeof e&&(e=document.querySelector(e)),e)return i(0,function(e,t,n){var i,r=document.body,o=document.documentElement,a=e.getBoundingClientRect(),s=o.clientHeight,l=Math.max(r.scrollHeight,r.offsetHeight,o.clientHeight,o.scrollHeight,o.offsetHeight);t=t||0,i="bottom"===n?a.bottom-s:"middle"===n?a.bottom-s/2-a.height/2:a.top;var u=l-s;return Math.min(i+t+window.pageYOffset,u)}(e,t.offset,t.align),t)}},96:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(1);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"detectYoutubeUrl",value:function(e){return new RegExp(/^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?$/,"gm").test(e)}},{key:"extractYoutubeVideoId",value:function(e){var t=new URL(e),n=new URLSearchParams(t.search).get("v");if(!n){var i=new RegExp(/(\/embed\/|\/v\/|.be\/)([^"&?\/]*)/,"g").exec(e);i&&(n=i[2]||null)}return n}},{key:"getEmbedUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"1":"0";return""+r.CONFIG.urlYoutubeEmbed+e+"?autoplay="+t}},{key:"generateEmbedNode",value:function(e){var t=document.createElement("iframe");return t.setAttribute("src",e),t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen",""),t}}]),e}();t.default=o},98:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),o=s(n(58)),a=s(n(132));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"createYoutubeButton",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.getDefaultPlayLabel(),i=document.createElement("a");return(0,r.addClass)(i,"button type-icon icon--left icon--bg video-button"),i.innerHTML='\n          <svg class="icon">\n            <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svgsymbol-play" />\n          </svg> '+n,i.setAttribute("href","https://youtu.be/"+t),i.setAttribute("target","_blank"),(0,r.addNewWindowHintToLink)(i),i}},{key:"createVideoButton",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.getDefaultPlayLabel(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=document.createElement("a");return(0,r.addClass)(i,"button type-icon icon--left icon--bg video-button "+n),i.innerHTML='\n          <span class="hidden-title">'+(t||e.getDefaultPlayLabel())+'</span>\n          <svg class="icon">\n            <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svgsymbol-play" />\n          </svg> '+(t||e.getDefaultPlayLabel()),i}},{key:"createPlayButton",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.getDefaultPlayLabel(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"play-button",i=document.createElement("a");return i.ariaLabel=""+t,(0,r.addClass)(i,"button type-icon icon--left icon--bg video-button "+n),i.innerHTML='\n          <span class="hidden-title">'+t+'</span>\n          <svg aria-hidden="true" class="icon">\n            <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svgsymbol-play" />\n          </svg>',i}},{key:"applyMovingImageOnButton",value:function(e,t){t.setAttribute("href","#"),t.setAttribute("data-media-link-id",e),
t.setAttribute("data-media-link-type","movingImage"),new o.default({element:t}).init()}},{key:"applyYoutubePlayOnImage",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.createPlayButton();if(i.setAttribute("href","https://youtu.be/"+t),n){n.setAttribute("data-video-id",t);var r=new a.default({element:n});n.appendChild(i),r.init()}}},{key:"unwrapMediaElement",value:function(e){var t=e.querySelector("a"),n=e.querySelector("figure");t&&n&&(e.removeChild(t),e.appendChild(n))}},{key:"getDefaultPlayLabel",value:function(){return 3===(0,r.getCurrentLanguageCode)()?"Abspielen":"Play"}}]),e}();t.default=l}});
//# sourceMappingURL=flowMagazineJs.js.map