var _laola1=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}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return 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="/?proxy=",n(n.s=97)}([function(e,t){e.exports=jQuery},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},o=function(){function e(e){void 0===e&&(e={}),this.opts=i(i({},r),e)}return e.prototype.spin=function(e){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),a(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),e&&e.insertBefore(this.el,e.firstChild||null),function(e,t){var n=Math.round(t.corners*t.width*500)/1e3+"px",i="none";!0===t.shadow?i="0 2px 4px #000":"string"==typeof t.shadow&&(i=t.shadow);for(var r=function(e){for(var t=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,n=[],i=0,r=e.split(",");i<r.length;i++){var o=r[i].match(t);if(null!==o){var a=+o[2],s=+o[5],l=o[4],c=o[7];0!==a||l||(l=c),0!==s||c||(c=l),l===c&&n.push({prefix:o[1]||"",x:a,y:s,xUnits:l,yUnits:c,end:o[8]})}}return n}(i),o=0;o<t.lines;o++){var c=~~(360/t.lines*o+t.rotate),u=a(document.createElement("div"),{position:"absolute",top:-t.width/2+"px",width:t.length+t.width+"px",height:t.width+"px",background:s(t.fadeColor,o),borderRadius:n,transformOrigin:"left",transform:"rotate("+c+"deg) translateX("+t.radius+"px)"}),d=o*t.direction/t.lines/t.speed;d-=1/t.speed;var f=a(document.createElement("div"),{width:"100%",height:"100%",background:s(t.color,o),borderRadius:n,boxShadow:l(r,c),animation:1/t.speed+"s linear "+d+"s infinite "+t.animation});u.appendChild(f),e.appendChild(u)}}(this.el,this.opts),this},e.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},e}();function a(e,t){for(var n in t)e.style[n]=t[n];return e}function s(e,t){return"string"==typeof e?e:e[t%e.length]}function l(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i],a=c(o.x,o.y,t);n.push(o.prefix+a[0]+o.xUnits+" "+a[1]+o.yUnits+o.end)}return n.join(", ")}function c(e,t,n){var i=n*Math.PI/180,r=Math.sin(i),o=Math.cos(i);return[Math.round(1e3*(e*o+t*r))/1e3,Math.round(1e3*(-e*r+t*o))/1e3]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n(3),r=n.n(i),o=n(0),a=n.n(o);function s(e){return(s="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})(e)}function l(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)}}function c(e){return e.substring(0,1).toUpperCase()+e.substring(1).toLowerCase()}String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e,"g"),t)};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.L1Pixel=this}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;this.loadOewaScript().then((function(){e.callSiteLoadedPixels()})).catch((function(t){window.oewa={},e.callSiteLoadedPixels(),console.log(t)}))}},{key:"loadOewaScript",value:function(){return r()({url:"https://script-at.iocnt.net/iam.js",attrs:{charset:"utf8"},callbackName:"iom"})}},{key:"formatStringForOewa",value:function(e){return e.replace(new RegExp("[^a-zA-Z0-9-_/.:]","g"),"")}},{key:"addMobileOewaParameterPath",value:function(e){return(this.isTouchDevice()||a()(window).width()<640)&&("/"!==e[e.length-1]&&(e+="/"),e+="moewa/"),e}},{key:"ivw",value:function(e,t){function n(e){var t={cn:"at",st:"at_w_atlaola1",cp:e,sv:"mo",ps:"lin",sc:"yes"};"undefined"!=typeof iom&&"function"==typeof iom.c?iom.c(t,1):console.log("oewa iom is undefined.")}if("rendering"===t){if("string"==typeof e&&""!==e){var i="RedCont/"+this.formatStringForOewa(e);"undefined"!=typeof oewaSettings&&(i=oewaSettings),n(this.addMobileOewaParameterPath(i))}}else if("ready"===t){var r=this.formatStringForOewa(e);n(this.addMobileOewaParameterPath(r))}}},{key:"getDevice",value:function(){return null!==navigator.userAgent.match(/iPad/i)?"Ipad":-1!==navigator.platform.toLowerCase().indexOf("iphone")||-1!=navigator.platform.toLowerCase().indexOf("ipod")?"Iphone":-1!==navigator.userAgent.toLowerCase().indexOf("android")?"Android":"Web1"}},{key:"replacesForPixel",value:function(e,t){return"oewa"===t&&(e=e.length?"/"+e:""),e}},{key:"callPixelFromFrontpage",value:function(e,t){var n,i;"folgen"===t||"entfolgen"===t?this.callPixel("ivw","ready","laolaMeins/"):"aufmacher"===e?(n=t.split("|"),a.a.each(n,(function(e,t){n[e]=encodeURI(t)})),this.callPixel("ivw","ready","RedCont/Homepage/"+c(e))):(i=-1!==t.indexOf("|")?(n=t.split("|"))[0]+"/"+e+"/":t+"/"+e,this.callPixel("ivw","ready","RedCont/Homepage/"+i))}},{key:"callOewaPixel",value:function(e,t){switch(e){case"rendering":this.ivw(t,"rendering");break;case"ready":this.ivw(t,"ready");break;case"diashow":var n=this.getPixelInformationFromDiashow(t,"ivw");void 0!==n&&""!==n&&this.ivw(n,"ready")}}},{key:"callPixel",value:function(e,t,n){"ivw"===e?this.callOewaPixel(t,n):console.error("Pixeltype is not defined!")}},{key:"getPixelInformationFromDiashow",value:function(e,t){var n,i,r,o;if("object"===s(e)){var l=e.parents().find(".diashow-container:visible");if(void 0!==l.attr("id")&&-1!==l.attr("id").indexOf("diashow-container")){var u=l.attr("id").split("-");if(void 0!==u[3]){var d=a()(".diashow [data-pageid="+u[3]+"]");if(d.length&&"ivw"===t)return n=(o=d.find("span.kategorie i")).length?o.attr("class").replace("ico-",""):"",i=d.find("span.kategorie").text().replace(/(\t|\r\n|\n|\r)/gm,"").trim(),r=d.find("h2").text().replace(/(\t|\r\n|\n|\r)/gm,"").trim(),i=c(i).replace("diashows","").trim().replace(/\s/gm,"-"),r=c(r).replace(/\s/gm,"-"),"RedCont/Sport/"+c(n)+"/"+i+"/Diashow/"}}else if(e.hasClass("contentdiashow")){var f=e;if("ivw"===t)return n=c(f.data("kat")).replace(/\s/g,"-"),i=c(f.data("subkat")).replace("diashows","").trim().replace(/\s/gm,"-"),r=c(f.data("title")).replace(/\s/gm,"-"),"RedCont/Sport/"+n+"/"+i+"/Diashow/"}}}},{key:"callSiteLoadedPixels",value:function(){this.setPixels(),window.ivwPixel=this.getOewaCategoryPath(),this.getCategory();var e=document.querySelector("input[name=l1pixel-url-part]"),t=e?e.value:"";"de"===t&&(t="home"),"array"==typeof dataLayer&&dataLayer.push({ivwPixel:ivwPixel}),-1===window.location.href.indexOf("pageId=")&&("home"===t?this.callPixel("ivw","rendering","Homepage/Homepage"):"news-verteilseite"!==t&&this.callPixel("ivw","rendering","Sport/"+ivwPixel))}},{key:"setPixels",value:function(){var e="",t="",n="",i=document.querySelector("input[name=l1pixel-analytics]"),r=document.querySelector("input[name=l1pixel-clean-fe-title]"),o=i?i.value.toLowerCase():"",s=r?r.value:"",l=window.location.pathname.split("/");a.a.each(l,(function(e,t){""!==t&&"red"!==t||l.splice(e,1)})),a.a.each(l,(function(e,t){"de"===t&&l.splice(e,1)})),l.length>=2?(e=l[0],t=l[1]):1===l.length&&(e=l[0]),""!==e&&e!==s?"Eishockey"===c(t)?n+="Eishockey/":"Ski-alpin"===c(t)?n+="SkiAlpin/":"Nord--kombi"===c(t)?n+="SkiNordisch/":"Wintersport"===c(e)?n+="Sonstiges/":"sport-mix"!==e&&(n+=c(e)+"/"):e===s&&(n+="Sportueberblick/"),""!==t&&t!==s&&"Eishockey"!==c(t)&&"Ski-alpin"!==c(t)&&"Nord--kombi"!==c(t)&&(n+=c(t)+"/"),this.ivwPixel=n,this.category=o}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints}},{key:"getOewaCategoryPath",value:function(){return this.ivwPixel}},{key:"getCategory",value:function(){return this.category}}])&&l(t.prototype,n),i&&l(t,i),e}()},function(e,t,n){var i,r,o;r=[],void 0===(o="function"==typeof(i=function(){function e(e){try{delete window[e]}catch(t){window[e]=null}}function t(t,n){return new Promise((function(i,r){if("object"==typeof t&&(t=(n=t).url),n||(n={}),t){var o=document.createElement("script"),a=n.insertInto?document.querySelector(n.insertInto):n.inBody?document.body:document.head;if(a){var s=n.attrs,l=n.removeScript,c=n.callBackName;for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&o.setAttribute(u,s[u]);c?window[c]=function(t){t||(t=l?void 0:o),n.dontRemoveCallBack||e(c),l&&a.removeChild(o),i(t||l?void 0:o)}:o.addEventListener("load",(function(){l&&a.removeChild(o),i(l?void 0:o)})),o.addEventListener("error",(function(){a.removeChild(o),r("Error: loading script")})),o.src=t,a.appendChild(o)}else r("Error: no DOM element to append script")}else r("Error: no script url")}))}return t.deleteFromGlobal=e,t.all=function(){return arguments.length?Promise.all(Array.prototype.slice.call(arguments).map((function(e){return Array.isArray(e)?t.apply(null,e):t(e)}))):Promise.reject(new Error("No files or no file configs"))},t})?i.apply(t,r):i)||(e.exports=o)},function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return d})),Math.sign||(Math.sign=function(e){return(e>0)-(e<0)||+e});var a=function(e){var t,n,i,o,a,s,u,d,f,h,p,v,m,y,g,b,w,k,S,C,x,P,A,_,L,I,E,T,O,M,j,B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q="data-keen-slider-moves",D="data-keen-slider-v",F=[],N=null,U=!1,R=!1,V=0,W=[];function z(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.addEventListener(t,n,i),F.push([e,t,n,i])}function H(e){if(w&&k===G(e)&&oe()){var n=Q(e).x;if(!X(e)&&A)return Z(e);A&&(Ne(),S=n,t.setAttribute(q,!0),A=!1),e.cancelable&&e.preventDefault(),Te(P(S-n,He)*(se()?-1:1),e.timeStamp),S=n}}function $(e){w||!oe()||K(e.target)||(w=!0,A=!0,k=G(e),X(e),de(),b=h,S=Q(e).x,Te(0,e.timeStamp),ie("dragStart"))}function Z(e){w&&k===G(e,!0)&&oe()&&(t.removeAttribute(q),w=!1,pe(),ie("dragEnd"))}function J(e){return e.changedTouches}function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?J(e):Y(e);return n?n[0]?n[0].identifier:"error":"default"}function Y(e){return e.targetTouches}function Q(e){var t=Y(e);return{x:ce()?t?t[0].screenY:e.pageY:t?t[0].screenX:e.pageX,timestamp:e.timeStamp}}function K(e){return e.hasAttribute(g.preventEvent)}function X(e){var t=Y(e);if(!t)return!0;var n=t[0],i=ce()?n.clientY:n.clientX,r=ce()?n.clientX:n.clientY,o=void 0!==C&&void 0!==x&&Math.abs(x-r)<=Math.abs(C-i);return C=i,x=r,o}function ee(e){oe()&&w&&e.preventDefault()}function te(){z(window,"orientationchange",_e),z(window,"resize",(function(){return Ae()})),z(t,"dragstart",(function(e){oe()&&e.preventDefault()})),z(t.parentElement,"mousedown",$),z(g.cancelOnLeave?t.parentElement:window,"mousemove",H),g.cancelOnLeave&&z(t.parentElement,"mouseleave",Z),z(window,"mouseup",Z),z(t.parentElement,"touchstart",$,{passive:!0}),z(t.parentElement,"touchmove",H,{passive:!1}),z(t.parentElement,"touchend",Z,{passive:!0}),z(t.parentElement,"touchcancel",Z,{passive:!0}),z(window,"wheel",ee,{passive:!1})}function ne(){F.forEach((function(e){e[0].removeEventListener(e[1],e[2],e[3])})),F=[]}function ie(e){g[e]&&g[e](He)}function re(){return g.centered}function oe(){return void 0!==n?n:g.controls}function ae(){return g.loop}function se(){return g.rtl}function le(){return!g.loop&&g.rubberband}function ce(){return!!g.vertical}function ue(){_=window.requestAnimationFrame(fe)}function de(){_&&(window.cancelAnimationFrame(_),_=null),L=null}function fe(e){L||(L=e);var t=e-L,n=he(t);if(t>=E)return Te(I-O,!1),j?j():void ie("afterChange");var i=Oe(n);if(0===i||ae()||le()||M){if(0!==i&&le()&&!M)return be(Math.sign(i));O+=n,Te(n,!1),ue()}else Te(n-i,!1)}function he(e){return I*T(e/E)-O}function pe(){switch(ie("beforeChange"),g.mode){case"free":ye();break;case"free-snap":ge();break;case"snap":default:ve()}}function ve(){me((1===u&&0!==p?b:h)+Math.sign(p))}function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.duration,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function(e){return 1+--e*e*e*e*e};we(qe(e=Be(e,i,r)),n,o,t)}function ye(){if(0===v)return!(!Oe(0)||ae())&&me(h);var e=g.friction/Math.pow(Math.abs(v),-.5);we(Math.pow(v,2)/e*Math.sign(v),6*Math.abs(v/e),(function(e){return 1-Math.pow(1-e,5)}))}function ge(){if(0===v)return me(h);var e=g.friction/Math.pow(Math.abs(v),-.5),t=Math.pow(v,2)/e*Math.sign(v),n=6*Math.abs(v/e),i=(V+t)/(s/u);we((-1===p?Math.floor(i):Math.ceil(i))*(s/u)-V,n,(function(e){return 1-Math.pow(1-e,5)}))}function be(){if(de(),0===v)return me(h,!0);var e=.04/Math.pow(Math.abs(v),-.5),t=Math.pow(v,2)/e*Math.sign(v),n=function(e){return--e*e*e+1},i=v;we(t,3*Math.abs(i/e),n,!0,(function(){we(qe(Be(h)),500,n,!0)}))}function we(e,t,n,i,r){de(),I=e,O=0,E=t,T=n,M=i,j=r,L=null,ue()}function ke(n){var i=l(e);i.length&&(t=i[0],Ae(n),te(),ie("mounted"))}function Se(){var e,t=B.breakpoints||[];for(var n in t)window.matchMedia(n).matches&&(e=n);if(e===N)return!0;var i=(N=e)?t[N]:B;i.breakpoints&&N&&delete i.breakpoints,g=r(r(r({},ze),B),i),U=!0,f=null,Pe()}function Ce(e){return"function"==typeof e?e():c(e,1,Math.max(ae()?i-1:i,1))}function xe(){Se(),R=!0,ie("created")}function Pe(e,t){e&&(B=e),t&&(N=null),Le(),ke(t)}function Ae(e){var n=window.innerWidth;if(Se()&&(n!==f||e)){f=n;var r=g.slides;"number"==typeof r?(a=null,i=r):(a=l(r,t),i=a?a.length:0);var p=g.dragSpeed;P="function"==typeof p?p:function(e){return e*p},s=ce()?t.offsetHeight:t.offsetWidth,u=Ce(g.slidesPerView),d=c(g.spacing,0,s/(u-1)-1),s+=d,o=re()?(s/2-s/u/2)/s:0,Ee();var v=!R||U&&g.resetSlide?g.initial:h;We(ae()?v:Me(v)),ce()&&t.setAttribute(D,!0),U=!1}}function _e(e){Ae(),setTimeout(Ae,500),setTimeout(Ae,2e3)}function Le(){ne(),t&&t.hasAttribute(D)&&t.removeAttribute(D),ie("destroyed")}function Ie(){var e=m[0].distance*s,n=ce()?0:e,i=ce()?e:0,r="translate3d(".concat(n,"px, ").concat(i,"px, 0)");t.style.transform=r,t.style["-webkit-transform"]=r}function Ee(){a&&a.forEach((function(e){var t="calc(".concat(100/u,"% - ").concat(d/u*(u-1),"px)");ce()?(e.style["min-height"]=t,e.style["max-height"]=t):(e.style["min-width"]=t,e.style["max-width"]=t)}))}function Te(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();Fe(e,n),t&&(e=Re(e)),V+=e,Ue()}function Oe(e){var t=s*(i-1*(re()?1:u))/u,n=V+e;return n>t?n-t:n<0?n:0}function Me(e){return c(e,0,i-1-(re()?0:u-1))}function je(){var e=Math.abs(y),t=V<0?1-e:e;return{direction:p,progressTrack:t,progressSlides:t*i/(i-1),positions:m,position:V,speed:v,relativeSlide:(h%i+i)%i,absoluteSlide:h,size:i,slidesPerView:u,widthOrHeight:s}}function Be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return ae()?t?De(e,n):e:Me(e)}function qe(e){return-(-s/u*e+V)}function De(e,t){var n=(h%i+i)%i,r=n<(e=(e%i+i)%i)?-n-i+e:-(n-e),o=n>e?i-n+e:e-n,a=t?Math.abs(r)<=o?r:o:e<n?r:o;return h+a}function Fe(e,t){var n=Math.sign(e);if(n!==p&&Ne(),p=n,W.push({distance:e,time:t}),(W=W.slice(-6)).length<=1||0===p)return v=0;var i=W.slice(0,-1).reduce((function(e,t){return e+t.distance}),0),r=W[W.length-1].time,o=W[0].time;v=c(i/(r-o),-10,10)}function Ne(){W=[]}function Ue(){y=ae()?V%(s*i/u)/(s*i/u):V/(s*i/u),Ve();for(var e=[],t=0;t<i;t++){var n=(1/i*t-(y<0&&ae()?y+1:y))*i/u+o;ae()&&(n+=n>(i-1)/u?-i/u:n<-i/u+1?i/u:0);var r=1/u,a=n+r,l=a<r?a/r:a>1?1-(a-1)*u/1:1;e.push({portion:l<0||l>1?0:l,distance:se()?-1*n+1-r:n})}m=e,Ie(),ie("move")}function Re(e){if(ae())return e;var t=Oe(e);if(!le())return e-t;if(0===t)return e;var n;return e*(n=t/s,(1-Math.abs(n))*(1-Math.abs(n)))}function Ve(){var e=Math.round(V/(s/u));e!==h&&(!ae()&&(e<0||e>i-1)||(h=e,ie("slideChanged")))}function We(e){ie("beforeChange"),Te(qe(e),!1),ie("afterChange")}var ze={centered:!1,breakpoints:null,controls:!0,dragSpeed:1,friction:.0025,loop:!1,initial:0,duration:500,preventEvent:"data-keen-slider-pe",slides:".keen-slider__slide",vertical:!1,resetSlide:!1,slidesPerView:1,spacing:0,mode:"snap",rtl:!1,rubberband:!0,cancelOnLeave:!0},He={controls:function(e){n=e},destroy:Le,refresh:function(e){Pe(e,!0)},next:function(){me(h+1,!0)},prev:function(){me(h-1,!0)},moveToSlide:function(e,t){me(e,!0,t)},moveToSlideRelative:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;me(e,!0,n,!0,t)},resize:function(){Ae(!0)},details:function(){return je()}};return xe(),He};function s(e){return Array.prototype.slice.call(e)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return"function"==typeof e?s(e()):"string"==typeof e?s(t.querySelectorAll(e)):e instanceof HTMLElement!=!1?[e]:e instanceof NodeList!=!1?e:[]}function c(e,t,n){return Math.min(Math.max(e,t),n)}function u(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)}}var d=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sliderContainer=t,n.lookahead=n.lookahead?n.lookahead:0,this.options=n,this.initSlider()}var t,n,i;return t=e,(n=[{key:"initSlider",value:function(){this.addSliderClasses(),this.setAutomaticWidth(this.options),this.setButtons(this.options),this.addSpacing(this.options),this.initLazyLoading(this.options),this.addScrollbar(this.options),this.slider=new a(this.sliderContainer,this.options)}},{key:"getElements",value:function(){return this.elements||(this.elements=this.sliderContainer.querySelectorAll(".keen-slider__slide")),this.elements}},{key:"addSliderClasses",value:function(){this.sliderContainer.classList.contains("keen-slider")||this.sliderContainer.classList.add("keen-slider"),this.sliderContainer.style.overflow="initial",this.sliderContainer.querySelector(".keen-slider__slide")||this.sliderContainer.querySelectorAll(".swiper-slide").forEach((function(e){e.classList.add("keen-slider__slide")}))}},{key:"setButtons",value:function(e){e.nextButton&&e.prevButton&&(e.created=this.merge(e.created,(function(t){e.prevButton.addEventListener("click",(function(){t.prev()})),e.nextButton.addEventListener("click",(function(){t.next()}))})),e.slideChanged=this.merge(e.slideChanged,(function(t){var n=t.details(),i=e.prevButton.classList;0===n.relativeSlide?!i.contains("swiper-button-disabled")&&i.add("swiper-button-disabled"):i.contains("swiper-button-disabled")&&i.remove("swiper-button-disabled");var r=n.slidesPerView||1;i=e.nextButton.classList,e.fullyVisible||n.relativeSlide>=n.size-.49-r?!i.contains("swiper-button-disabled")&&i.add("swiper-button-disabled"):i.contains("swiper-button-disabled")&&i.remove("swiper-button-disabled")})))}},{key:"addSpacing",value:function(e){e.spacing&&this.getElements().forEach((function(t,n){t.style.transform="translate("+e.spacing*n+"px, 0)"}))}},{key:"setAutomaticWidth",value:function(e){if(e.autoWidth){var t=this.getElements();t&&(this.calculateSlidesPerView(t,e),e.created=this.merge(e.created,this.setAutoWidth.bind(this)),this.resizeListener||(this.resizeListener=this.refreshSlider.bind(this),window.addEventListener("resize",this.resizeListener)))}}},{key:"setAutoWidth",value:function(){this.getElements().forEach((function(e){e.style.maxWidth="none",e.style.minWidth="auto"}))}},{key:"calculateSlidesPerView",value:function(e,t){if(!e||!t)return t;var n=t.spacing?t.spacing*(e.length-1):0;e.forEach((function(e){n+=e.offsetWidth})),t.containerWidth=this.sliderContainer.offsetWidth,t.sliderWidth=n,t.slidesPerView=t.containerWidth*e.length/n,t.fullyVisible=t.containerWidth>.95*n}},{key:"refreshSlider",value:function(){this.resizeTimeout?clearTimeout(this.resizeTimeout):(this.slider.destroy(),window.removeEventListener("resize",this.resizeListener),this.cachedMove=this.options.move,this.options.move=this.setAutoWidth.bind(this)),this.resizeTimeout=setTimeout(function(){new e(this.sliderContainer,this.options)}.bind(this),250)}},{key:"initLazyLoading",value:function(e){if(e.lazy){var t=this.getElements(),n=[];e.slideChanged=this.merge(e.slideChanged,(function(i){for(var r=i.details(),o=r.relativeSlide,a=o;a<=o+r.slidesPerView+e.lookahead;a++){if(n[a]||a>=t.length)return;var s=t[a].querySelector("img");s.dataset.src&&(s.src=s.dataset.src),s.dataset.srcset&&(s.srcset=s.dataset.srcset),n[o]=!0}}))}}},{key:"addScrollbar",value:function(e){if(e.scrollbar&&e.autoWidth&&!e.fullyVisible){var t=this.sliderContainer.parentElement.querySelector(".swiper-scrollbar-drag");if(t){var n=e.scrollbarWidth||e.containerWidth*e.containerWidth/e.sliderWidth;t.style.width=n+"px",e.move=this.merge(e.move,(function(i){var r=i.details().position/(e.sliderWidth-e.containerWidth)*(e.containerWidth-n);t.style.transform="translate3d("+r+"px, 0px, 0px)"})),e.dragStart=function(){$(t).stop(),$(t).fadeIn(100)},e.afterChange=function(){"none"!==t.style.display&&$(t).fadeOut(500)}}}}},{key:"merge",value:function(e,t){return e?function(n){e(n),t(n)}:t}},{key:"destroy",value:function(){this.slider.destroy(),this.getElements().forEach((function(e){e.classList.remove("keen-slider__slide")}))}}])&&u(t.prototype,n),i&&u(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(16),n(26);function i(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)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"load",value:function(e,t){var n={"Access-Control-Allow-Origin":"*","Content-Type":"application/x-www-form-urlencoded","Cache-Control":"private, must-revalidate, max-age=0"},i=Object.assign({method:"POST",headers:n,credentials:"include"},t);return fetch(e+"&format=json",i).then(this.handleErrors).then((function(e){var t=e.headers.get("content-type");if(t&&t.includes("application/json"))return e.json();throw new TypeError("No JSON-Data received.")})).catch(console.log)}},{key:"handleErrors",value:function(e){if(e.ok)return e;switch(e.status){case 404:throw new Error("File not Found: ".concat(e.url));case 500:throw new Error("Internal Sever Error");default:throw Error(e.statusText)}}}])&&i(t.prototype,n),r&&i(t,r),e}()},function(e,t,n){var i;(function(){void 0===(i=function(){return s={},n=document,c=!1,u="active",o=6e4,r=!1,v={},p="__ceGUID",t={add:function(e,t,n){return e[p]=void 0,e[p]||(e[p]="ifvisible.object.event.identifier"),v[e[p]]||(v[e[p]]={}),v[e[p]][t]||(v[e[p]][t]=[]),v[e[p]][t].push(n)},remove:function(e,t,n){var i,r,o,a,s;if(n){if(e[p]&&v[e[p]]&&v[e[p]][t])for(r=o=0,a=(s=v[e[p]][t]).length;o<a;r=++o)if((i=s[r])===n)return v[e[p]][t].splice(r,1),i}else if(e[p]&&v[e[p]]&&v[e[p]][t])return delete v[e[p]][t]},fire:function(e,t,n){var i,r,o,a,s;if(e[p]&&v[e[p]]&&v[e[p]][t]){for(s=[],r=0,o=(a=v[e[p]][t]).length;r<o;r++)i=a[r],s.push(i(n||{}));return s}}},h=!1,e=function(e,t,n){return h||(h=e.addEventListener?function(e,t,n){return e.addEventListener(t,n,!1)}:e.attachEvent?function(e,t,n){return e.attachEvent("on"+t,n,!1)}:function(e,t,n){return e["on"+t]=n}),h(e,t,n)},a=function(){var e,t,i,r;for(r=3,i=n.createElement("div"),e=i.getElementsByTagName("i"),t=function(){return i.innerHTML="\x3c!--[if gt IE "+ ++r+"]><i></i><![endif]--\x3e",e[0]};t(););return r>4?r:void 0}(),i=!1,f=void 0,void 0!==n.hidden?(i="hidden",f="visibilitychange"):void 0!==n.mozHidden?(i="mozHidden",f="mozvisibilitychange"):void 0!==n.msHidden?(i="msHidden",f="msvisibilitychange"):void 0!==n.webkitHidden&&(i="webkitHidden",f="webkitvisibilitychange"),d=function(){var t,i;return t=!1,(i=function(){return clearTimeout(t),"active"!==u&&s.wakeup(),r=+new Date,t=setTimeout((function(){if("active"===u)return s.idle()}),o)})(),e(n,"mousemove",i),e(n,"keyup",i),e(n,"touchstart",i),e(window,"scroll",i),s.focus(i),s.wakeup(i)},l=function(){var t;return!!c||(!1===i?(t="blur",a<9&&(t="focusout"),e(window,t,(function(){return s.blur()})),e(window,"focus",(function(){return s.focus()}))):e(n,f,(function(){return n[i]?s.blur():s.focus()}),!1),c=!0,d())},s={setIdleDuration:function(e){return o=1e3*e},getIdleDuration:function(){return o},getIdleInfo:function(){var e,t;return e=+new Date,t={},"idle"===u?(t.isIdle=!0,t.idleFor=e-r,t.timeLeft=0,t.timeLeftPer=100):(t.isIdle=!1,t.idleFor=e-r,t.timeLeft=r+o-e,t.timeLeftPer=(100-100*t.timeLeft/o).toFixed(2)),t},focus:function(e){return"function"==typeof e?this.on("focus",e):(u="active",t.fire(this,"focus"),t.fire(this,"wakeup"),t.fire(this,"statusChanged",{status:u})),this},blur:function(e){return"function"==typeof e?this.on("blur",e):(u="hidden",t.fire(this,"blur"),t.fire(this,"idle"),t.fire(this,"statusChanged",{status:u})),this},idle:function(e){return"function"==typeof e?this.on("idle",e):(u="idle",t.fire(this,"idle"),t.fire(this,"statusChanged",{status:u})),this},wakeup:function(e){return"function"==typeof e?this.on("wakeup",e):(u="active",t.fire(this,"wakeup"),t.fire(this,"statusChanged",{status:u})),this},on:function(e,n){return l(),t.add(this,e,n),this},off:function(e,n){return l(),t.remove(this,e,n),this},onEvery:function(e,t){var n,i;return l(),n=!1,t&&(i=setInterval((function(){if("active"===u&&!1===n)return t()}),1e3*e)),{stop:function(){return clearInterval(i)},pause:function(){return n=!0},resume:function(){return n=!1},code:i,callback:t}},now:function(e){return l(),u===(e||"active")}};var e,t,n,i,r,o,a,s,l,c,u,d,f,h,p,v}.call(t,n,t,e))||(e.exports=i)}).call(this)},function(e){e.exports=JSON.parse('{"desktop":{"home":[{"ad_position_name":"medium_rectangle","system_id":"7525797","system_number":"6055"},{"ad_position_name":"pres_cad","system_id":"7525797","system_number":"6055"},{"ad_position_name":"meldungen_mobile_ad","system_id":"7525797","system_number":"6055"},{"ad_position_name":"meldung1","system_id":"7525797","system_number":"6055"},{"ad_position_name":"meldung2","system_id":"7525797","system_number":"6055"},{"ad_position_name":"meldung3","system_id":"7525797","system_number":"6055"},{"ad_position_name":"skyscraper","system_id":"7525859","system_number":"9758"},{"ad_position_name":"skyscraper","system_id":"7525857","system_number":"3484"},{"ad_position_name":"superbanner","system_id":"7525861","system_number":"664"},{"ad_position_name":"wettbanner","system_id":"7525861","system_number":"664"},{"ad_position_name":"billboard","system_id":"7525863","system_number":"8598"}],"restOfSite":[{"ad_position_name":"medium_rectangle","system_id":"7525856","system_number":"49"},{"ad_position_name":"pres_cad","system_id":"7525856","system_number":"49"},{"ad_position_name":"meldungen_mobile_ad","system_id":"7525856","system_number":"49"},{"ad_position_name":"meldung1","system_id":"7525856","system_number":"49"},{"ad_position_name":"meldung2","system_id":"7525856","system_number":"49"},{"ad_position_name":"meldung3","system_id":"7525856","system_number":"49"},{"ad_position_name":"skyscraper","system_id":"7525860","system_number":"115"},{"ad_position_name":"skyscraper","system_id":"7525858","system_number":"1552"},{"ad_position_name":"superbanner","system_id":"7525862","system_number":"7001"},{"ad_position_name":"wettbanner","system_id":"7525862","system_number":"7001"},{"ad_position_name":"billboard","system_id":"7525864","system_number":"7261"}]},"mobile":{"home":[{"ad_position_name":"superbanner","system_id":"7525866","system_number":"6340"},{"ad_position_name":"superbanner","system_id":"7525803","system_number":"4688"},{"ad_position_name":"medium_rectangle","system_id":"7525868","system_number":"4623"},{"ad_position_name":"medium_rectangle","system_id":"8979298","system_number":"7525759"}],"restOfSite":[{"ad_position_name":"superbanner","system_id":"7525867","system_number":"1860"},{"ad_position_name":"superbanner","system_id":"7525865","system_number":"9636"},{"ad_position_name":"medium_rectangle","system_id":"7525869","system_number":"8786"},{"ad_position_name":"medium_rectangle","system_id":"8979255","system_number":"7525759"},{"ad_position_name":"meldungen_mobile_ad","system_id":"7525869","system_number":"8786"},{"ad_position_name":"meldungen_mobile_ad","system_id":"8979255","system_number":"7525759"},{"ad_position_name":"meldung1","system_id":"7525869","system_number":"8786"},{"ad_position_name":"meldung2","system_id":"7525869","system_number":"8786"},{"ad_position_name":"meldung3","system_id":"7525869","system_number":"8786"},{"ad_position_name":"amp_banner","system_id":"7525865","system_number":"9636"},{"ad_position_name":"amp_banner","system_id":"7525867","system_number":"1860"},{"ad_position_name":"amp_content","system_id":"7525869","system_number":"8786"}]}}')},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(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)}}n.d(t,"a",(function(){return o}));var o=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i(this,e);var r=this.getYPosition;return new Promise((function(e){var i=function i(){var o=(document.scrollingElement||document.documentElement).scrollTop+window.innerHeight,a=r(t);o+n>=a&&(window.removeEventListener("scroll",i),e())};window.addEventListener("scroll",i),i()}))}var t,n,o;return t=e,(n=[{key:"getYPosition",value:function(e){for(var t=0;null!=e&&"html"!=(e.tagName||"").toLowerCase();)t+=e.offsetTop||0,e=e.offsetParent;return parseInt(t,10)}}])&&r(t.prototype,n),o&&r(t,o),e}()},function(e,t,n){"use strict";function i(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)}}n.d(t,"a",(function(){return r}));var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"assert",value:function(){return this.browserSupportsAllFeatures()?Promise.resolve(1):(this.addNodeListForeach(),console.log("loading polyfills..."),fetch("https://cdn.polyfill.io/v3/polyfill.min.js"))}},{key:"browserSupportsAllFeatures",value:function(){return window.Symbol&&Array.prototype.entries}},{key:"addNodeListForeach",value:function(){NodeList.prototype.forEach||(NodeList.prototype.forEach=function(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");t=t||this;for(var n=0,i=this.length;n!==i;++n)e.call(t,this[n],n,this)})}}],(n=null)&&i(t.prototype,n),r&&i(t,r),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(1);window.Spinner=i.a;var r=n(9);function o(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)}}var a=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modulesToInit=t,Promise.all([this.loadDomContent(),this.loadPolyfills()]).then((function(){n.init()})).catch(console.log),Promise.all([this.loadCustomEvent()]).then((function(){n.init()})).catch(console.log)}var t,n,i;return t=e,(n=[{key:"loadDomContent",value:function(){return new Promise((function(e){document.addEventListener("DOMContentLoaded",(function(){e()}))}))}},{key:"loadCustomEvent",value:function(){return new Promise((function(e){document.addEventListener("initPage",(function(){e()}))}))}},{key:"loadPolyfills",value:function(){return r.a.assert()}},{key:"init",value:function(){window.initialWidth=window.innerWidth;for(var e=0,t=Object.keys(this.modulesToInit);e<t.length;e++){var n=t[e],i=new this.modulesToInit[n];try{i.init()}catch(e){console.log(e)}}}}])&&o(t.prototype,n),i&&o(t,i),e}()},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n(0),r=n.n(i);n(24);function o(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)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.addClickEvent(),this.loadFollowedTagNews()}},{key:"addClickEvent",value:function(){var e=this,t=document.querySelector(".meine-themen");t&&t.addEventListener("click",(function(){if(t.classList.toggle("opened"),r()("a.meine-themen .counter").hide(),r.a.cookie("user_id")){var n=window.L1User.getDomain(),i=new Date;r.a.cookie("laola1_meins_"+r.a.cookie("user_id")+"_timestamp",Math.floor(Date.now()/1e3),{path:"/",domain:n,secure:!1,expires:new Date(i.getTime()+24192e5)})}e.addButtonForMobile()}))}},{key:"addButtonForMobile",value:function(){if(!this.addedMobileButton){this.addedMobileButton=!0;var e=r()("#close-meine-themen");!e||Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>1024?e.hide():e.on("click",(function(){r()(".meine-themen").toggleClass("opened")}))}}},{key:"loadFollowedTagNews",value:function(){window.L1User.tags.checkMyNewsForTags=function(){r.a.ajax({type:"GET",async:!0,url:"/ajax.php",data:{contelPageId:399,tags:window.L1User.tags.myTags.join("-"),type:"news"},dataType:"json",success:function(e){var t=r.a.cookie("laola1_meins_"+r.a.cookie("user_id")+"_timestamp")?r.a.cookie("laola1_meins_"+r.a.cookie("user_id")+"_timestamp"):0,n=0,i="",o=0;if(r.a.each(e,(function(e,r){if(o>50)return!1;o++;var a=new Date(r.pagePubDate.replace(/-/g,"/"));t<a.getTime()/1e3&&n++,i+='<div class="newsteaser small"><a href="'+r.url+'"><div class="img-wrapper" style="min-width: 132px"><div class="kategorie">'+window.L1User.timeSince(a)+'</div><div class="preload-placeholder"><img loading="lazy" src="'+r.teaserImage_132x75+'"></div></div><span class="kategorie"><i class="ico-'+r.icon+'"></i>'+r.sport_cat_2+"</span><h2>"+r.title+"</h2></a></div>"})),r()(".themen-wrapper .themen").html(i),""===i?r()(".themen-wrapper .laolaMeinsInfotext").show():r()(".themen-wrapper .laolaMeinsInfotext").hide(),n>0){var a=document.querySelector(".meta-services div.laola-meins a.meine-themen .counter");a.textContent=n>50?"50+":n,a.style.display="inline"}}})}}}])&&o(t.prototype,n),i&&o(t,i),e}(),s=(n(25),"production");switch(location.host){case"www2-laola1-at-2015.alphadev.local":case"www-laola1-at-2015.laola1.at":case"www2-laola1-at-2015.laola1.at":s="alphadev";break;case"cms-laola1-at-2015.alphadev.local":case"cms2-laola1-at-2015.alphadev.local":case"www-laola1-at-2015.alphadev.local":case"dev-cms-laola1-at-2015.laola1.local":case"tippspiel_l1at.alphadev.local":case"dev_tippspiel_l1at.laola1.local":case"tippspiel_l1at_legacy.alphadev.local":case"dev_tippspiel_l1at_legacy.laola1.local":case"dev-www-laola1-at-2015.laola1.local":case"intg-www-laola1-at-2015.laola1.at":case"intg-cms-laola1-at-2015.laola1.at/cms":case"intg-php72-cms-laola1-at-2015.laola1.at":s="devLaola1";break;case"intg-php72-www-laola1-at-2015.laola1.at":s="integration";break;case"dev_crane_laola1_tv.laola1.local":s="devCrane"}var l="";switch(s){case"alphadev":console.log("##### alphadev club development ######"),l="https://loginobelix.alphadev.local/";break;case"devLaola1":l="https://intg-php56-login-obelix.laola1.at/";break;case"devCrane":l="https://dev-login-obelix.laola1.local/";break;case"integration":default:l="https://club.laola1.at/"}function c(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)}}window.laola1={environment:s,clubBaseUrl:l};var u={};window.L1User=u;var d=window.laola1.clubBaseUrl;u.loginStatus=null,u.authenticate=function(){u.request(d+"sp/laola1/api/v2/user",(function(e){e&&e.result?u.displayLogin(e.result):u.displayLogout()}))},u.request=function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";(n=new XMLHttpRequest).onreadystatechange=function(){4==this.readyState&&200==this.status&&t(JSON.parse(this.response))},n.open(i,e,!0),n.timeout=2e4,n.withCredentials=!0,n.setRequestHeader("Content-Type","application/json;charset=UTF-8"),n.send()},u.getDomain=function(){var e=document.domain.split(".");return e[e.length-2]+"."+e[e.length-1]},u.displayLogin=function(e){u.loginStatus=!0,u.getSession()&&e.id==u.getId()||(u.cookies.setUser(e.username,e.id),u.cookies.setHash(),u.loginShown=!1),u.showAllLoginSpecStuff(e.username),u.checkFollowReferrer(),u.tags.checkMyTags(),r()(".clubProfile")[0].href=d+"sp/laola1at/web/profile?redirect="+encodeURIComponent(location.href),u.setTagLinks()},u.displayLogout=function(){u.hideAllLoginSpecStuff(),u.loginStatus=!1,u.cookies.clear(),r()(".clubLogin")[0].href=d+"sp/laola1at/web/login?redirect="+encodeURIComponent(location.href)},u.hideAllLoginSpecStuff=function(){u.loginHidden||(u.loginHidden=!0,document.querySelectorAll(".login_status_false").forEach((function(e){e.style.display=""})),document.querySelectorAll(".login_status_true").forEach((function(e){e.style.display="none"})))},u.showAllLoginSpecStuff=function(e){if(!u.loginShown){u.loginShown=!0;var t=r()("#user_name");t.length&&t.html(e),document.querySelectorAll(".login_status_false").forEach((function(e){e.style.display="none"})),document.querySelectorAll(".login_status_true").forEach((function(e){e.style.display=""}))}},u.setTagLinks=function(){document.addEventListener("click",(function(e){var t=e.target.dataset.tagid;if(t){var n=e.target.classList;if(n.contains("follow")){if(!n.contains("login_status_false"))return void u.tags.followTag(t);void 0===t&&(t=r()(e.target).parent().find(".follow:eq(0)").data("tagid")),r.a.cookie("auto_follow",t,{expires:14,path:"/",domain:u.getDomain(),secure:!1})}else n.contains("unfollow")&&u.tags.unfollowTag(t)}}))},u.login=function(){u.loginStatus?document.querySelector(".clubProfile").click():document.querySelector(".clubLogin").click()},u.processLogout=function(){u.request(d+"sp/laola1/api/v2/session/delete",(function(e){e.error||(u.loginHidden=!1,u.hideAllLoginSpecStuff(),u.loginStatus=!1,u.cookies.clear(),window.location=window.location.href)}),"POST")},u.logout=function(){confirm("Wirklich ausloggen?")&&u.processLogout()},u.tags={},u.tags.myTags=[],u.tags.myNews=[],u.tags.myGalleries=[],u.tags.myActiveCategoryContent=[],u.tags.myNewsPage=1,u.tags.myNewsTeaserPerPage=20,u.tags.checkMyTags=function(){u.request(d+"sp/laola1/api/v3/user/my/laola",(function(e){u.tags.myTags=e.data,u.tags.checkMainTags(),u.tags.checkMyNewsForTags(),u.tags.checkMyTagTeaser&&(u.tags.checkMyTagTeaser(),u.tags.checkMyNewsTeaser())}))},u.tags.checkMainTags=function(){r()(".meldung a.follow, .meldung a.unfollow").each((function(e){r.a.inArray(r()(this).data("tagid"),u.tags.myTags)>-1?r()(this).hasClass("unfollow")?r()(this).show():r()(this).hasClass("follow")&&r()(this).hide():r()(this).hasClass("unfollow")?r()(this).hide():r()(this).hasClass("follow")&&!r()(this).hasClass("login_status_false")&&r()(this).show()}))},u.tags.followTag=function(e){var t=r()('.meldung a.follow[data-tagid="'+e+'"], .sidebox a.follow[data-tagid="'+e+'"]'),n=r()('.meldung a.unfollow[data-tagid="'+e+'"], .sidebox a.unfollow[data-tagid="'+e+'"]');u.request(d+"sp/laola1/api/v3/user/my/laola/"+parseInt(e)+"/follow",(function(i){!0===i.data&&(t.hide(),n.show(),n.find(".checkmark").show(),u.tags.myTags.push(e),u.tags.checkMyNewsForTags())}),"POST")},u.tags.unfollowTag=function(e){u.request(d+"sp/laola1/api/v3/user/my/laola/"+parseInt(e)+"/unfollow",(function(t){!0===t.data&&(r()('.meldung a.follow[data-tagid="'+e+'"], .sidebox a.follow[data-tagid="'+e+'"]').show(),r()('.meldung a.unfollow[data-tagid="'+e+'"], .sidebox a.unfollow[data-tagid="'+e+'"]').hide(),u.tags.myTags.splice(r.a.inArray(e,u.tags.myTags),1),u.tags.checkMyNewsForTags())}),"POST")},u.timeSince=function(e){var t=Math.floor((new Date-e)/1e3),n="vor ";t<0&&(n="in ",t=-t);var i=t/31536e3;return i>1?n+(i=Math.floor(i))+(1===i?" Jahr":" Jahren"):(i=t/2592e3)>1?n+(i=Math.floor(i))+(1===i?" Monat":" Monaten"):(i=t/86400)>1?n+(i=Math.floor(i))+(1===i?" Tag":" Tagen"):(i=t/3600)>1?n+(i=Math.floor(i))+(1===i?" Stunde":" Stunden"):(i=t/60)>1?n+(i=Math.floor(i))+(1===i?" Minute":" Minuten"):n+Math.floor(t).toString()+" Sekunden"},u.cookies={},u.cookies.setUser=function(e,t){var n=u.getDomain();r.a.cookie("user_id",t,{expires:14,path:"/",domain:n,secure:!1}),r.a.cookie("user_name",e,{expires:14,path:"/",domain:n,secure:!1})},u.cookies.setHash=function(){u.request(d+"sp/laola1/api/v2/user/hash",(function(e){r.a.cookie("user_hash",e.result,{expires:14,path:"/",domain:u.getDomain(),secure:!1})}))},u.cookies.clear=function(){var e=u.getDomain();r.a.cookie("user_id",null,{expires:-1,path:"/",domain:e,secure:!1}),r.a.cookie("user_name",null,{expires:-1,path:"/",domain:e,secure:!1}),r.a.cookie("user_hash",null,{expires:-1,path:"/",domain:e,secure:!1})},u.getId=function(){return r.a.cookie("user_id")},u.getUsername=function(){return r.a.cookie("user_name")},u.getSession=function(){return r.a.cookie("user_hash")},u.checkFollowReferrer=function(){void 0!==r.a.cookie("auto_follow")&&(u.tags.followTag(r.a.cookie("auto_follow")),r.a.cookie("auto_follow",null,{expires:-1,path:"/",domain:u.getDomain(),secure:!1}))},u.tags.openFollowConfirmation=function(e){var t=r()(e).parent(".tag-teaser"),n=r()(".follow_overlay[data-id='"+t.attr("data-id")+"']");0===n.length&&(n=r()(".follow_overlay")),n.bPopup({closeClass:"close_overlay",onOpen:function(){n.show()},onClose:function(){n.hide()}})},u.setNameFromCookies=function(){if(!(window.initialWidth<1024)){var e=r.a.cookie("user_name");e?u.showAllLoginSpecStuff(e):u.hideAllLoginSpecStuff()}};var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){document.querySelector("header").classList.contains("v2"),u.authenticate(),u.setNameFromCookies(),window.L1User=u,(new a).init()}}])&&c(t.prototype,n),i&&c(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(3),r=n.n(i);function o(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)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e="https://cdn.pinpoll.com/global.js";this.isScriptLoaded(e)?console.log("pinpoll has already been loaded"):(console.log("pinpoll is not loaded, loading now..."),this.loadApi(e).catch(console.log))}},{key:"loadApi",value:function(e){return r()({url:e,attrs:{charset:"utf8"}})}},{key:"isScriptLoaded",value:function(e){return!!document.querySelector('script[src="'+e+'"]')}}])&&o(t.prototype,n),i&&o(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4);function r(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)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,(n=[{key:"init",value:function(){this.nav=document.querySelector("nav.v2"),this.initMobileNav(),this.closeNavigationOnEmptySearch(),this.insertNaviAds(),this.addSubNavSwiper()}},{key:"addSubNavSwiper",value:function(){var e=document.querySelectorAll(".sub-nav");if(e&&0!==e.length){var t=e[e.length-1];this.addSwiperClasses($(t));var n=t.parentElement;new i.a(t,{nextButton:n.querySelector(".swiper-button-next"),prevButton:n.querySelector(".swiper-button-prev"),autoWidth:!0,mode:"free",scrollbar:n.querySelector(".swiper-scrollbar-drag")})}}},{key:"initMobileNav",value:function(){this.nav.querySelector(".nav-toggle").addEventListener("click",function(){this.toggleMobileNav()}.bind(this)),this.nav.querySelector(".nav-close").addEventListener("click",function(){this.toggleMobileNav()}.bind(this)),window.addEventListener("resize",(function(){document.querySelector("nav.v2 .main-nav").style.display=""}))}},{key:"toggleMobileNav",value:function(){window.innerWidth<=640&&(this.nav.querySelector(".main-nav").style.display="block"),setTimeout((function(){document.querySelector("header.v2").classList.toggle("nav-open"),document.querySelector("nav.v2").classList.toggle("nav-open")}),1)}},{key:"closeNavigationOnEmptySearch",value:function(){var e=document.querySelector("header .search .ico-search");e&&e.addEventListener("click",function(e){e.target.parentElement.querySelector("input").value||(e.preventDefault(),this.toggleMobileNav())}.bind(this))}},{key:"addSwiperClasses",value:function(e){e.parent().addClass("swiper-container"),e.parent().addClass("keen-slider"),e.addClass("swiper-wrapper"),e.children().each((function(){$(this).addClass("swiper-slide"),$(this).addClass("keen-slider__slide")})),e.after('<div class="swiper-button-next"><i class="ico-slider-right"></i></div>'),e.after('<div class="swiper-button-prev"><i class="ico-slider-left"></i></div>'),e.after('<div class="swiper-scrollbar"><div class="swiper-scrollbar-drag" style="width: 125px; display:none"></div></div>')}},{key:"insertNaviAds",value:function(){if(window.initialWidth<=1024){var e=document.querySelector("div.main-nav div"),t=$('<div class="ad-container" id="navi_mobile_ad"><div></div></div>');e.parentElement.insertBefore(t[0],e.nextSibling)}}}])&&r(t.prototype,n),o&&r(t,o),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(6),r=n.n(i),o=n(3),a=n.n(o),s=n(0),l=n.n(s),c=n(7),u=n(13);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function h(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)}}var p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.aditionApi="",this.screenWidth=l()(window).width(),this.options={reload:{zones:[]}},this.renderQueue=[],this.isRendering=!1,this.laola1AditionJson="undefined"!=typeof laola1AditionJsonV2?laola1AditionJsonV2:"undefined"!=typeof laola1AditionJson?laola1AditionJson:{},this.tcfstring=""}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(new u.a).init(),"undefined"==typeof adition&&(this.tcData=e,this.setGlobalOptions(),this.setOptionRealoadZones(),this.initIfVisible(),this.loadAds())}},{key:"setGlobalOptions",value:function(){window.adition={},window.adition=window.adition||{},window.adition.srq=window.adition.srq||[],window.iosCondition=!1,window.initIosCallback=function(){window.iosCondition=!0},window.adsInterface={},window.adsInterface.removeZoneFromReload=this.removeZoneFromReload.bind(this)}},{key:"setOptionRealoadZones",value:function(){for(var e=0,t=Object.entries(this.laola1AditionJson);e<t.length;e++){var n=d(t[e],2),i=n[0],r=n[1];if(void 0!==r.reloads&&void 0!==r.intervall){var o={interval:null,name:i,reloads:r.reloads,time:r.intervall};this.options.reload.zones.push(o)}}}},{key:"loadAds",value:function(){var e=this;Promise.all([this.loadAditionScript(),this.initAutScript()]).then((function(){e.initScriptsAndAds()})).catch(console.log)}},{key:"initIfVisible",value:function(){r.a.focus(),r.a.wakeup(),r.a.now("hidden")&&console.log("aditionApi.hidden"),console.log("aditionApi.focus")}},{key:"loadAditionScript",value:function(){return a()({url:"//imagesrv.adition.com/js/srp.js",attrs:{charset:"utf8"},callbackName:"adition"})}},{key:"initScriptsAndAds",value:function(){this.initAditionScript(),this.initAds()}},{key:"initAditionScript",value:function(){var e=this;window.adition.srq.push((function(t){e.aditionApi=t,window.aditionApi=t,e.aditionApi.keepSiteContext(!0),e.setGdprConsent(),e.registerAndSetProfiles()}))}},{key:"registerAndSetProfiles",value:function(){this.aditionApi.registerAdfarm("ad1.adfarm1.adition.com").setProfile("screenwidth",""+this.screenWidth).setProfile("device",this.screenWidth<640?"mobile":this.screenWidth<1310?"tablet":"desktop").setProfile("availwidth",""+(this.screenWidth-1310)/2)}},{key:"getYieldlabConfig",value:function(){var e=document.querySelector("input[name=l1pixel-url-part]"),t=e?e.value:"",n=this.screenWidth<640;return"de"===t?n?c.mobile.home:c.desktop.home:n?c.mobile.restOfSite:c.desktop.restOfSite}},{key:"initAutScript",value:function(){var e=Date.now();return a()({url:"https://imagesrv.adition.com/js/aut.js?ts="+e,attrs:{charset:"utf8"},callbackName:"adition_aut"})}},{key:"initAds",value:function(){this.registerAllAds(),this.positionSitebar(),this.addAdReload(this.options.reload.zones)}},{key:"registerAllAds",value:function(){for(var e=Object.keys(this.laola1AditionJson),t=e.length-1;t>=0;t--)this.registerAd(e[t])}},{key:"registerAd",value:function(e){if(this.shouldBeLoaded(e)){var t=document.getElementById(e);this.isBannerVisible(t)||this.isBannerFixed(t)?this.addToRenderQueue(e):this.addScrollEvent(e)}}},{key:"addToRenderQueue",value:function(e){this.renderQueue.push(e),this.isRendering||this.continueRenderQueue()}},{key:"continueRenderQueue",value:function(){if(this.renderQueue.length){var e=this.renderQueue.shift();this.renderVisibleAd(e)}}},{key:"shouldBeLoaded",value:function(e){var t=document.getElementById(e);return!(!t||(this.shouldBeShownInViewState(e)?(this.removeZoneFromReload(e),1):l()(t).parents(".news-grid section.sidebar_left").length>0&&this.screenWidth<1250||"none"===window.getComputedStyle(t).getPropertyValue("display")))}},{key:"isBannerVisible",value:function(e){var t=this.getYPosition(e);return(document.scrollingElement||document.documentElement).scrollTop+window.innerHeight+250>=t}},{key:"isBannerFixed",value:function(e){return"fixed"===window.getComputedStyle(e).getPropertyValue("position")}},{key:"getYPosition",value:function(e){for(var t=0;null!=e&&"html"!=(e.tagName||"").toLowerCase();)t+=e.offsetTop||0,e=e.offsetParent;return parseInt(t,10)}},{key:"addScrollEvent",value:function(e){var t=this;window.addEventListener("scroll",(function n(){var i=document.getElementById(e);t.isBannerVisible(i)&&(t.addToRenderQueue(e),window.removeEventListener("scroll",n,!0))}),!0)}},{key:"shouldBeShownInViewState",value:function(e){var t=this.screenWidth>=1250||this.screenWidth<950,n=this.screenWidth<950,i=this.screenWidth<970;return"skyscraper"===e&&n||"skyscraper_left"===e&&t||"billboard"===e&&i}},{key:"renderVisibleAd",value:function(e){var t=this;console.log("rendering ad for: "+e),this.isRendering=!0;var n,i=this.getZoneContainer(e),r=this.getYieldLabConfigForZone(e);"string"==typeof standardAd&&"l1dynamic"===i.attr("id")?(n=standardAd,i.attr("id",n)):n=e,r.length&&r.forEach((function(e){var n=t.laola1AditionJson[e.ad_position_name].adId;n&&t.aditionApi.modules.configureModule("yieldlab").mapContentunit(n,e.system_id,e.system_number).enable()})),this.aditionApi.configureRenderSlot(e).setContentunitId(parseInt(this.laola1AditionJson[e].adId)),this.aditionApi.renderSlot(n),this.aditionApi.load([e]).completeRendering(),this.aditionApi.events.onPostRender((function(n){t.isRendering=!1,t.continueRenderQueue(),console.log("finished rendering ad for: "+e)})),this.aditionApi.events.onNoBanner((function(n){t.isRendering=!1,t.continueRenderQueue(),console.log("no ad-banner for: "+e)}))}},{key:"getYieldLabConfigForZone",value:function(e){return this.getYieldlabConfig().filter((function(t){return t.ad_position_name&&t.ad_position_name===e}))}},{key:"addAdReload",value:function(e){var t=this;this.filterReloadOptions(e).forEach((function(e){t.initIntervalForZone(e)}))}},{key:"initIntervalForZone",value:function(e){var t=this;e.interval=window.setInterval((function(){if(e.reloads<1)clearInterval(e.interval);else{if(!r.a.now("hidden")&&t.shouldBeLoaded(t.getZoneContainer(e.name))){if(e.reloads--,!e.name)return;t.aditionApi.reload([e.name]),console.log(e.name+" aditionApi.reload ("+e.reloads+") "+(new Date).toLocaleString())}console.log(e.name+" aditionApi.timeout "+(new Date).toLocaleString()),t.positionSitebar()}}),1e3*e.time)}},{key:"filterReloadOptions",value:function(e){var t=this;return e.forEach((function(n,i){t.laola1AditionJson.hasOwnProperty(n.name)||e.splice(i,1)})),e}},{key:"isIosDevice",value:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)}},{key:"removeZoneFromReload",value:function(e){var t=this;this.options.reload.zones.forEach((function(n,i){n.name===e&&t.options.reload.zones.splice(i,1)}))}},{key:"getZoneContainer",value:function(e){return l()("#".concat(e))}},{key:"positionSitebar",value:function(){var e=document.querySelector("body").offsetWidth,t=document.querySelector(".sitebar");t&&e<1517&&(t.style.left="unset")}},{key:"settcf",value:function(){__tcfapi("getTCData",2,(function(e,t){t&&(this.tcfstring=e.tcString)})),api.consentService.setGdprConsent(tcfstring).setGdpr(1).setGdprPd(1);var e=api.consentService.getGdprConsent();console.log("gdpr_consent is:"+e),api.load().completeRendering()}},{key:"setGdprConsent",value:function(){this.tcData&&this.aditionApi.consentService.setGdprConsent(this.tcData.tcString).setGdpr(1).setGdprPd(1)}}])&&h(t.prototype,n),i&&h(t,i),e}()},function(e,t,n){(function(n){var i;!function(n,r){e.exports=function(n){"use strict";var r,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,i=e.length;n<i;n++)t[e.charAt(n)]=n;return t}(a),l=String.fromCharCode,c=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},u=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(u,c)},f=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,f)},p=function(e){return h(d(String(e)))},v=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},m=function(e,t){return t?v(p(e)):p(e)};n.Uint8Array&&(r=function(e,t){for(var n="",i=0,r=e.length;i<r;i+=3){var o=e[i],s=e[i+1],l=e[i+2],c=o<<16|s<<8|l;n+=a.charAt(c>>>18)+a.charAt(c>>>12&63)+(void 0!==s?a.charAt(c>>>6&63):"=")+(void 0!==l?a.charAt(63&c):"=")}return t?v(n):n});var y,g=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,b=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(g,b)},k=function(e){var t=e.length,n=t%4,i=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),r=[l(i>>>16),l(i>>>8&255),l(255&i)];return r.length-=[0,0,2,1][n],r.join("")},S=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,k)},C=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(e){return function(e){return w(S(e))}(x(e))};n.Uint8Array&&(y=function(e){return Uint8Array.from(C(x(e)),(function(e){return e.charCodeAt(0)}))});var A=function(){var e=n.Base64;return n.Base64=o,e};if(n.Base64={VERSION:"2.6.4",atob:C,btoa:h,fromBase64:P,toBase64:m,utob:d,encode:m,encodeURI:function(e){return m(e,!0)},btou:w,decode:P,noConflict:A,fromUint8Array:r,toUint8Array:y},"function"==typeof Object.defineProperty){var _=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",_((function(){return P(this)}))),Object.defineProperty(String.prototype,"toBase64",_((function(e){return m(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",_((function(){return m(this,!0)})))}}n.Meteor&&(Base64=n.Base64);e.exports?e.exports.Base64=n.Base64:void 0===(i=function(){return n.Base64}.apply(t,[]))||(e.exports=i);return{Base64:n.Base64}}(n)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:this)}).call(this,n(11))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n(0),r=n.n(i);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}}var s=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];o(this,e),this.img=t,this.text=n,this.id=i,this.classList=r,this.banner=this.createBanner(a)}var t,n,i;return t=e,(n=[{key:"createBanner",value:function(e){var t=document.createElement("DIV");return t.className="sticky-banner hide-on-desktop "+this.classList,t.id=this.id,e?(t.innerHTML=this.img+"<div class='sticky-close'><i class='ico-close'></i></div>"+this.text,document.querySelector("body").appendChild(t),t.querySelector(".sticky-close").addEventListener("click",function(e){e.stopPropagation(),this.destroy()}.bind(this)),t):(t.textContent=this.text,document.querySelector("body").appendChild(t),t)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;setTimeout((function(){e.banner.style.transform="translate(0px, 0px)"}),t)}},{key:"hide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;setTimeout((function(){e.banner.style.transform=""}),t)}},{key:"destroy",value:function(){this.banner.remove()}},{key:"addEventListener",value:function(e,t){this.banner.addEventListener(e,t)}},{key:"isOnIos",value:function(){var e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)}}])&&a(t.prototype,n),i&&a(t,i),e}();function l(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)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.checkOnlineStatus(),window.addEventListener("load",function(e){!1===window.navigator.onLine&&this.goOffline()}.bind(this))}},{key:"checkOnlineStatus",value:function(){window.addEventListener("online",this.goOnline.bind(this)),window.addEventListener("offline",this.goOffline.bind(this))}},{key:"goOnline",value:function(){this.offlineBanner&&this.offlineBanner.hide()}},{key:"goOffline",value:function(){this.addOfflineButton(),this.offlineBanner.show()}},{key:"addOfflineButton",value:function(){this.offlineBanner||(this.offlineBanner=new s("","OFFLINE","offline-banner"))}}])&&l(t.prototype,n),i&&l(t,i),e}();function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function f(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)}}var h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){"serviceWorker"in navigator&&this.startPWA()}},{key:"startPWA",value:function(){this.registerServiceWorker(),this.isOnMobile()&&(this.addLoadingScreen(),this.addInstallBanner(),(new c).init(),window.L1PWA=this)}},{key:"registerServiceWorker",value:function(){window.addEventListener("load",(function(){navigator.serviceWorker.register("/?proxy=modules/ProgressiveWebApp/service-worker.js").then((function(e){console.log("ServiceWorker registration successful with scope: ",e.scope)}),(function(e){console.log("ServiceWorker registration failed: ",e)}))}))}},{key:"addInstallBanner",value:function(){if(window.addEventListener("beforeinstallprompt",function(e){e.preventDefault(),this.installEvent=e}.bind(this)),this.isHomeScreen()){var e=r.a.cookie("homescreenCalls");if(e=e?parseInt(e)+1:1,r.a.cookie("homescreenCalls",e,{expires:28,path:"/",domain:this.getDomain(),secure:!1}),!this.isOnIos())return e%3==0&&e<10&&window.addEventListener("beforeinstallprompt",this.showInstallBannerAndroid.bind(this)),void(this.isInStandaloneMode()&&8===e&&this.showCleverpushBanner());e%3==0&&!this.isInStandaloneMode()&&e<10&&window.addEventListener("load",this.showInstallBannerIOS.bind(this))}}},{key:"isHomeScreen",value:function(){return new URL(window.location.href).pathname.endsWith("/de/")}},{key:"showInstallBannerAndroid",value:function(e){this.installBanner||(this.installBanner=document.createElement("DIV"),this.installBanner.innerHTML='<div id="pwa-install-banner"><div class="close-btn"><i class="ico-close"></i></div><div class="banner-content-wrapper"><div class="banner-image"><img src="?proxy=img/app/l1-pwa-logo_192.png" alt=""></div><div class="banner-content"><h2>NEU!</h2><p>Laola1 gibts jetzt als Web-App!</p></div></div><div class="install-btn">App hinzufügen</div></div>',document.querySelector("body").appendChild(this.installBanner),this.installBanner.querySelector(".ico-close").addEventListener("click",(function(e){document.querySelector("#pwa-install-banner").remove()})),e.preventDefault(),this.installBanner.querySelector(".install-btn").addEventListener("click",function(t){e.prompt(),this.installBanner.remove(),e.userChoice.then((function(e){"accepted"===e.outcome?console.log("User accepted"):console.log("User dismissed")}))}.bind(this)))}},{key:"showInstallBannerIOS",value:function(){this.installBanner=document.createElement("DIV"),this.installBanner.innerHTML='<div id="pwa-install-banner"><div class="close-btn"><i class="ico-close"></i></div><div class="banner-content-wrapper"><div class="banner-image"><img src="?proxy=img/app/l1-pwa-logo_192.png" alt=""></div><div class="banner-content"><p style=\'font-weight: bold; margin-bottom: 9px;\'>LAOLA1 gibts jetzt als Web-App!</p><p>Einfach auf <i class="ico-pin"></i> klicken und \'zum Startbildschirm hinzufügen\'</p></div></div></div>',document.querySelector("body").appendChild(this.installBanner),this.installBanner.querySelector(".ico-close").addEventListener("click",(function(e){document.querySelector("#pwa-install-banner").remove()}))}},{key:"showCleverpushBanner",value:function(){var e=window.CleverPush||[];window.CleverPush=e,e.push(["isSubscribed",function(e){if(!e){var t=document.createElement("DIV");t.innerHTML='<div id="push-notification-banner"><div class="close-btn"><i class="ico-close"></i></div><div class="banner-content-wrapper"><div class="banner-content"><h2>LAOLA1.at Push Notifications</h2><p>Du willst keine wichtigen Ereignisse oder News verpassen? Dann hol dir hier die LAOLA1 Push Notifications für dein Handy!</p></div></div><div class="accept-btn">Ich will Push Notifications</div></div>',document.querySelector("body").appendChild(t),t.querySelector(".ico-close").addEventListener("click",(function(e){document.querySelector("#push-notification-banner").remove()})),t.querySelector(".accept-btn").addEventListener("click",(function(e){document.querySelector("#push-notification-banner").remove(),window.CleverPush.push(["triggerOptIn",!0])}))}}])}},{key:"addLoadingScreen",value:function(){if(this.isInStandaloneMode()){var e=document.querySelector("body"),t=document.createElement("DIV");t.classList.add("loader-pwa"),t.style.display="none",t.innerHTML='<svg style="overflow: initial" id="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 80" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path id="logo-line" d="M249.896313,64.100000C214.538883,63.800000,171.093830,64.200000,128.374590,66.700000C75.182914,70,30.182549,73.200000,0.009494,75.500000L0.009494,76.500000C30.182549,74.200000,75.182914,71,128.581965,67.800000C171.197518,65.200000,214.642570,64.800000,250,65.200000L250,64.100000Z" opacity="0" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-path1" d="M236.700000,30.600000L245.300000,30.600000C245.300000,30.600000,245.200000,35.300000,245.300000,37.500000C246.800000,37.500000,248.500000,37.500000,250,37.500000C250,39.300000,250,41,250,42.800000C248.600000,42.800000,245.300000,42.800000,245.300000,42.800000C245.300000,45.300000,245.300000,49.600000,245.800000,51.800000C246.400000,53.600000,247.600000,53.400000,250,53.400000C250,55.600000,250,57.700000,250,59.900000C245.500000,60.100000,240.300000,61,238.200000,58.300000C236.300000,55.800000,236.700000,52.800000,236.700000,42.800000L233.100000,42.800000C233.100000,58.600000,233.100000,57.200000,234.200000,59.900000L225.400000,59.900000C225.400000,59.900000,225.100000,58.700000,225.100000,58C223.800000,59.200000,221.300000,60.500000,218.400000,60.600000C218,60.600000,217.700000,60.600000,217.300000,60.600000C213.200000,60.200000,210.400000,58.500000,209.800000,54.500000C209.800000,54,209.800000,53.500000,209.800000,53C210.300000,48.400000,214.700000,47.100000,219.200000,46.500000C221.800000,46.200000,224.800000,46.200000,224.900000,44.200000C225,42.100000,221.800000,41.500000,220,42.400000C219.100000,42.900000,219.200000,43.500000,218.600000,44.300000C216.100000,44.200000,213.200000,44.500000,210.900000,44.200000C211.700000,35.800000,220.100000,36.900000,228,37.500000L236.600000,37.500000C236.800000,35.300000,236.700000,30.600000,236.700000,30.600000ZM218.800000,53.100000C218.700000,55.600000,222.400000,56,224,54.600000C225.300000,53.500000,225,52,225.100000,50C223.100000,51.200000,218.900000,50.500000,218.800000,53.100000Z" opacity="0" clip-rule="evenodd" fill="rgb(153,153,153)" fill-rule="evenodd" stroke="none" stroke-width="1"></path><path id="logo-dot_gelb" d="M207.200000,50.300000C203.700000,50.500000,199.300000,50.800000,195.300000,51L195.100000,60.500000C199,60.400000,203.100000,60.300000,206.900000,60.300000L207.200000,50.300000Z" opacity="0" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-_x31_" d="M191.300000,60.500000C185.200000,60.600000,181.500000,60.800000,177.500000,60.900000C177.700000,48.600000,178.100000,28.200000,178.100000,28.200000L167.300000,28.900000L167.300000,26.300000L191.900000,20.200000C191.700000,29.800000,191.600000,39.500000,191.400000,49.100000L191.300000,60.500000Z" opacity="0" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><g id="logo-blau_x5f_l" opacity="0"><path id="logo-path2" d="M54.500000,46.900000C54,44,51.700000,41.500000,47.800000,39.800000C44.200000,38.200000,39.500000,37.400000,34.200000,37.400000L34.200000,37.400000C31.300000,37.400000,28.200000,37.700000,25.100000,38.200000C18,39.400000,11.500000,41.800000,6.800000,45C1.900000,48.400000,-0.500000,52.200000,0.100000,55.900000C0.600000,58.800000,2.900000,61.300000,6.800000,63C10.400000,64.600000,15.100000,65.400000,20.400000,65.400000C23.300000,65.400000,26.400000,65.100000,29.500000,64.600000C36.600000,63.400000,43.100000,61,47.800000,57.800000C52.700000,54.500000,55.100000,50.600000,54.500000,46.900000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-path3" d="M34.200000,38.600000C44.600000,38.600000,52.500000,41.900000,53.400000,47.100000C54.500000,53.800000,43.700000,61.100000,29.300000,63.500000C26.200000,64,23.200000,64.200000,20.400000,64.200000C10,64.200000,2.100000,60.900000,1.200000,55.700000C0.100000,49,10.900000,41.700000,25.300000,39.300000C28.400000,38.900000,31.400000,38.600000,34.200000,38.600000" fill="rgb(255,255,255)" stroke="none" stroke-width="1"></path><path id="logo-l_zu_blau" d="M24.100000,44.600000C24.100000,44.600000,14.700000,46.200000,5.200000,47.700000C5.100000,47.800000,5,47.900000,4.900000,48C9.700000,48,14.100000,47.700000,14.100000,47.700000C14.100000,47.700000,14,55.900000,13.900000,60C22.100000,59.700000,30.300000,59,38.400000,57.900000C38.400000,56.500000,38.400000,54.700000,38.500000,53.300000C33.700000,54.100000,28.800000,54.800000,24,55.300000C24,51.700000,24.100000,44.600000,24.100000,44.600000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path></g><g id="logo-ol_hinter_gelb" opacity="0"><path id="logo-path4" d="M63.800000,42.700000C60.400000,42.700000,57,43.100000,53.500000,43.900000C46.400000,45.500000,40.100000,48.600000,35.700000,52.500000C31.100000,56.600000,29.100000,61.200000,30.100000,65.400000C31.600000,71.800000,39.400000,75.900000,50.200000,75.900000C53.600000,75.900000,57,75.500000,60.500000,74.700000C67.600000,73.100000,73.900000,70,78.300000,66.100000C82.900000,62,84.900000,57.400000,83.900000,53.200000C82.400000,46.800000,74.500000,42.700000,63.800000,42.700000L63.800000,42.700000L63.800000,42.700000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-gelb_zu_a" d="M82.700000,53.500000C84.500000,61.400000,74.400000,70.400000,60.200000,73.700000C46,76.900000,33,73.200000,31.200000,65.300000C29.400000,57.400000,39.500000,48.400000,53.700000,45.100000C68,41.800000,80.900000,45.600000,82.700000,53.500000Z" fill="rgb(255,255,255)" stroke="none" stroke-width="1"></path><path id="logo-path5" d="M61.400000,48.300000C61.400000,48.300000,53.200000,50.300000,43.200000,52L43.200000,52.300000C47.200000,52.200000,50.700000,51.900000,50.700000,51.900000C46.900000,58.400000,43,64.300000,39.200000,69.800000C42.600000,69.700000,45.900000,69.500000,49.300000,69.300000C49.800000,68.400000,50.300000,67.500000,50.800000,66.500000C54.300000,66.200000,57.700000,65.900000,61.200000,65.500000C61.600000,66.400000,62.100000,67.300000,62.500000,68.200000C66,67.900000,69.500000,67.600000,72.900000,67.200000C69.200000,60.400000,65.300000,54.100000,61.400000,48.300000ZM53.100000,62.200000C54.200000,60.100000,55.300000,58,56.400000,55.900000C56.400000,55.900000,56.500000,55.900000,56.500000,55.900000C57.400000,57.700000,58.400000,59.600000,59.300000,61.500000C57.200000,61.700000,55.200000,61.900000,53.100000,62.200000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path></g><g id="logo-ol_hinter_schwarz" opacity="0"><path id="logo-path6" d="M94.900000,18.100000L94.900000,18.100000C89.300000,18.100000,83.300000,19.600000,77.500000,22.400000C70.700000,25.700000,65,30.500000,61.600000,35.800000C58.100000,41.300000,57.300000,46.800000,59.500000,51.300000C62,56.400000,68,59.400000,75.900000,59.400000C81.500000,59.400000,87.500000,57.900000,93.300000,55.100000C100.100000,51.800000,105.800000,47,109.200000,41.700000C112.700000,36.200000,113.500000,30.700000,111.300000,26.200000C108.800000,21.100000,102.800000,18.100000,94.900000,18.100000L94.900000,18.100000L94.900000,18.100000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-schwarz_zu_o" d="M110.300000,26.700000C114.400000,35.200000,106.600000,47.400000,92.800000,54C79.100000,60.600000,64.600000,59.200000,60.600000,50.700000C56.500000,42.200000,64.300000,30,78.100000,23.400000C91.700000,16.800000,106.200000,18.300000,110.300000,26.700000Z" fill="rgb(255,255,255)" stroke="none" stroke-width="1"></path><path id="logo-o" d="M85.200000,26.200000C83,27,76.900000,29,69.500000,31.400000L69.500000,31.600000C72.900000,31.100000,75.200000,30.700000,76.900000,30.400000C71.700000,33.900000,68.500000,38.500000,68.400000,42.800000C68.300000,49.100000,74.900000,52.400000,84.800000,50.600000C94.800000,48.800000,101.500000,42,101.600000,34.100000C101.800000,26.100000,95.300000,22.800000,85.200000,26.200000ZM84.900000,44.800000C82.300000,45.400000,78.400000,45.100000,78.500000,40.200000C78.600000,35.300000,82.600000,32.900000,85.100000,32.100000C87.700000,31.300000,91.600000,31.300000,91.500000,36.700000C91.500000,42.100000,87.500000,44.200000,84.900000,44.800000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path></g><g id="logo-ol_hinter_gr-n" opacity="0"><path id="logo-path7" d="M122.300000,27.600000C117.100000,27.600000,111.600000,28.900000,106.500000,31.400000C99.600000,34.800000,94,39.900000,90.900000,45.900000C87.700000,52,87.300000,58.200000,89.800000,63.500000C93,70.100000,100.300000,74,109.500000,74C114.700000,74,120.200000,72.700000,125.300000,70.200000C132.200000,66.800000,137.800000,61.700000,140.900000,55.700000C144.100000,49.600000,144.500000,43.400000,142,38.100000C138.800000,31.500000,131.400000,27.600000,122.300000,27.600000L122.300000,27.600000L122.300000,27.600000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-gr-n_zu_l" d="M140.900000,38.600000C145.800000,48.700000,138.600000,62.400000,124.800000,69.100000C111,75.800000,95.800000,73.100000,90.900000,62.900000C86,52.800000,93.200000,39.100000,107,32.400000C120.800000,25.700000,136,28.400000,140.900000,38.600000Z" fill="rgb(255,255,255)" stroke="none" stroke-width="1"></path><path id="logo-l_zu_gr-n" d="M102.700000,41.200000C102.700000,41.200000,98.300000,41.600000,93.900000,41.700000C102.500000,39.700000,112.800000,37.200000,112.800000,37.200000C112.700000,43.800000,112.600000,50.400000,112.500000,57C117.300000,56.400000,122.100000,55.900000,127,55.500000C127,57.900000,126.900000,60.400000,126.900000,62.800000C118.700000,63.200000,110.500000,63.900000,102.400000,64.700000C102.400000,56.400000,102.700000,41.200000,102.700000,41.200000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path></g><g id="logo-a-zu_rot" opacity="0"><path id="logo-path8" d="M148.200000,-0.200000L148.200000,-0.200000C144.600000,-0.200000,141,0.500000,137.500000,1.900000C133.900000,3.300000,130.500000,5.400000,127.600000,8.100000C121.900000,13.300000,118.200000,20.100000,117.300000,27.200000C116.400000,34.400000,118.400000,41.200000,123,46.200000C127.400000,51.100000,133.700000,53.800000,140.800000,53.800000C144.400000,53.800000,148,53.100000,151.500000,51.700000C155.100000,50.300000,158.500000,48.200000,161.400000,45.500000C167.100000,40.300000,170.800000,33.500000,171.700000,26.400000C172.600000,19.200000,170.600000,12.400000,166,7.400000C161.600000,2.500000,155.300000,-0.200000,148.200000,-0.200000L148.200000,-0.200000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path><path id="logo-rot" d="M165.100000,8.100000C174,18,172,34.300000,160.600000,44.600000C149.200000,54.900000,132.700000,55.200000,123.800000,45.400000C114.900000,35.500000,116.900000,19.200000,128.300000,8.900000C139.700000,-1.400000,156.200000,-1.700000,165.100000,8.100000Z" fill="rgb(255,255,255)" stroke="none" stroke-width="1"></path><path id="logo-path9" d="M150.200000,8.300000C150.200000,8.300000,140.400000,10.900000,130.900000,13.200000L130.900000,13.400000C135.400000,13.100000,139.600000,12.600000,139.600000,12.600000C135.700000,22.900000,131.700000,33.100000,127.800000,42.600000C131.200000,42.100000,134.600000,41.700000,137.900000,41.300000C138.400000,39.800000,138.900000,38.300000,139.400000,36.800000C142.900000,36.400000,146.300000,36,149.800000,35.700000C150.200000,37.200000,150.700000,38.700000,151.100000,40.200000C154.600000,40,158.100000,39.900000,161.500000,39.800000C157.800000,28.600000,154,18.100000,150.200000,8.300000ZM141.700000,29.900000C142.800000,26.600000,143.900000,23.200000,145,19.800000C145,19.800000,145.100000,19.800000,145.100000,19.800000C146,22.800000,146.900000,25.900000,147.900000,29C145.900000,29.300000,143.800000,29.600000,141.700000,29.900000Z" fill="rgb(153,153,153)" stroke="none" stroke-width="1"></path></g></svg>',e.appendChild(t),window.onbeforeunload=function(e){t.style.display="block",document.querySelector("main").classList.add("blur")}}}},{key:"getDomain",value:function(){var e=document.domain.split(".");return e[e.length-2]+"."+e[e.length-1]}},{key:"removeServiceWorker",value:function(){navigator.serviceWorker.getRegistrations().then((function(e){var t,n=u(e);try{for(n.s();!(t=n.n()).done;)t.value.unregister()}catch(e){n.e(e)}finally{n.f()}}))}},{key:"triggerBanner",value:function(){"serviceWorker"in navigator||alert("Dein browser unterstützt leider keine Web-Applikationen"),this.isOnIos()?this.showInstallBannerIOS():this.isInFireFox()?alert("In Firefox gehe ins Menü und wähle 'Zum Startbildschirm hinzufügen'"):this.installEvent.prompt()}},{key:"isOnMobile",value:function(){return window.innerWidth<640}},{key:"isInStandaloneMode",value:function(){return window.navigator.standalone||window.matchMedia("(display-mode: standalone)").matches}},{key:"isOnIos",value:function(){var e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)}},{key:"isInFireFox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}}])&&f(t.prototype,n),i&&f(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(0),r=n.n(i);function o(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)}}var a=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tcData="",this.callback=t.callback,this.callback2=function(e,t){n.tcData=e,!t||"tcloaded"!==e.eventStatus&&"useractioncomplete"!==e.eventStatus?console.log("kein Load, wegen EventStatus= "+e.eventStatus):n.callback(n.tcData)},this.i=1}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.gettcfapi()}},{key:"gettcfapi",value:function(){if(this.i<100)try{__tcfapi("addEventListener",2,this.callback2)}catch(e){this.i=this.i+1,setTimeout(this.gettcfapi,50)}else console.log("TCF API abgebrochen, da __tcfapi Funktion nicht vorhanden")}}])&&o(t.prototype,n),i&&o(t,i),e}(),s=n(15);function l(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)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=new s.a,t={callback:e.init.bind(e)};new a(t).init(),this.changeAdContainersForMobile()}},{key:"changeAdContainersForMobile",value:function(){var e="undefined"!=typeof laola1AditionJsonV2?laola1AditionJsonV2:"undefined"!=typeof laola1AditionJson?laola1AditionJson:{},t=window.innerWidth||r()(window).width();!e.superbanner||t>640?this.removeSuperBanner():this.addSuperBannerToNews()}},{key:"addSuperBannerToNews",value:function(){var e=document.querySelector(".meldung #postings");if(e){var t=r()('<div class="ad-container" id="superbanner" style="text-align:center;"></div>');e.parentElement.insertBefore(t[0],e)}}},{key:"removeSuperBanner",value:function(){r()("#superbanner").remove()}}])&&l(t.prototype,n),i&&l(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(3),r=n.n(i);n(0);function o(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)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.loadApi().catch(console.log)}},{key:"loadApi",value:function(){return r()({url:"https://static.cleverpush.com/channel/loader/CrWeqySw6rSncfTck.js",attrs:{charset:"utf8"}})}}])&&o(t.prototype,n),i&&o(t,i),e}()},function(e){e.exports=JSON.parse('[{"matcher":"/de/fussball","rule":"includes","context":["sr:sport:1"]},{"matcher":"/de/red/fussball","rule":"includes","context":["sr:sport:1"]},{"matcher":"fussball/bundesliga","rule":"includes","context":["sr:category:17","sr:tournament:45"]},{"matcher":"fussball/2--liga","rule":"includes","context":["sr:category:17","sr:tournament:135"]},{"matcher":"fussball/oefb-cup","rule":"includes","context":["sr:category:17","sr:tournament:445"]},{"matcher":"fussball/champions-league","rule":"includes","context":["sr:category:393","sr:tournament:7"]},{"matcher":"fussball/europa-league","rule":"includes","context":["sr:category:393","sr:tournament:679"]},{"matcher":"fussball/oefb-team","rule":"includes","context":["sr:competitor:4718"]},{"matcher":"fussball/euro-2020---quali","rule":"includes","context":["sr:category:4","sr:tournament:27"]},{"matcher":"fussball/u21-em","rule":"includes","context":["sr:category:392","sr:tournament:454"]},{"matcher":"fussball/international/deutschland","rule":"includes","context":["sr:category:30"]},{"matcher":"fussball/international/deutschland/bundesliga","rule":"includes","context":["sr:tournament:35"]},{"matcher":"fussball/international/deutschland/zweite-bundesliga","rule":"includes","context":["sr:tournament:44"]},{"matcher":"fussball/international/deutschland/dritte-bundesliga","rule":"includes","context":["sr:tournament:491"]},{"matcher":"fussball/international/deutschland/dfb-pokal","rule":"includes","context":["sr:tournament:217"]},{"matcher":"fussball/international/spanien","rule":"includes","context":["sr:category:32","sr:tournament:8"]},{"matcher":"fussball/international/spanien/copa-del-rey","rule":"includes","context":["sr:tournament:329"]},{"matcher":"fussball/international/spanien/real-madrid","rule":"includes","context":["sr:competitor:2829"]},{"matcher":"fussball/international/spanien/fc-barcelona","rule":"includes","context":["sr:competitor:2817"]},{"matcher":"fussball/international/spanien/atletico-madrid","rule":"includes","context":["sr:competitor:2836"]},{"matcher":"fussball/international/england","rule":"includes","context":["sr:category:1","sr:tournament:17"]},{"matcher":"fussball/international/italien","rule":"includes","context":["sr:category:31","sr:tournament:23"]},{"matcher":"fussball/international/italien/juventus-turin","rule":"includes","context":["sr:competitor:2687"]},{"matcher":"fussball/international/italien/inter-mailand","rule":"includes","context":["sr:competitor:2697"]},{"matcher":"fussball/international/italien/ac-milan","rule":"includes","context":["sr:competitor:2692"]},{"matcher":"fussball/international/frankreich","rule":"includes","context":["sr:category:7","sr:tournament:34"]},{"matcher":"fussball/international/frankreich/olympique-marseille","rule":"includes","context":["sr:competitor:1641"]},{"matcher":"fussball/international/niederlande","rule":"includes","context":["sr:category:35","sr:tournament:37"]},{"matcher":"fussball/international/portugal","rule":"includes","context":["sr:category:44","sr:tournament:238"]},{"matcher":"fussball/international/russland","rule":"includes","context":["sr:category:21","sr:tournament:203"]},{"matcher":"fussball/international/schottland","rule":"includes","context":["sr:category:22","sr:tournament:36"]},{"matcher":"fussball/international/schweiz","rule":"includes","context":["sr:category:25","sr:tournament:215"]},{"matcher":"fussball/international/tuerkei","rule":"includes","context":["sr:category:46","sr:tournament:52"]},{"matcher":"/de/wintersport","rule":"includes","context":["sr:sport:14"]},{"matcher":"/de/red/wintersport","rule":"includes","context":["sr:sport:14"]},{"matcher":"/de/motorsport","rule":"includes","context":["sr:sport:11"]},{"matcher":"/de/red/motorsport","rule":"includes","context":["sr:sport:11"]},{"matcher":"motorsport/formel-1","rule":"includes","context":["sr:sport:40"]},{"matcher":"motorsport/rallye","rule":"includes","context":["sr:sport:84"]},{"matcher":"motorsport/dtm","rule":"includes","context":["sr:sport:42"]},{"matcher":"motorsport/formel-e","rule":"includes","context":["sr:sport:142"]},{"matcher":"/e-sports","rule":"includes","context":["sr:sport:107"]},{"matcher":"/de/","rule":"endsWith","context":["sr:sport:1","sr:sport:11","sr:sport:14","sr:sport:107"]},{"matcher":"/de/sport-mix/","rule":"endsWith","context":["sr:sport:2","sr:sport:5","sr:sport:6","sr:sport:9","sr:sport:16","sr:sport:17","sr:sport:23","sr:sport:34"]},{"matcher":"/sport-mix/tennis","rule":"includes","context":["sr:sport:5"]},{"matcher":"/sport-mix/basketball","rule":"includes","context":["sr:sport:2"]},{"matcher":"/sport-mix/handball","rule":"includes","context":["sr:sport:6"]},{"matcher":"/sport-mix/radsport","rule":"includes","context":["sr:sport:17"]},{"matcher":"/sport-mix/football","rule":"includes","context":["sr:sport:16"]},{"matcher":"/sport-mix/volleyball","rule":"includes","context":["sr:sport:23"]},{"matcher":"/sport-mix/beachvolleyball","rule":"includes","context":["sr:sport:34"]},{"matcher":"/sport-mix/golf","rule":"includes","context":["sr:sport:9"]},{"matcher":"/sport-mix/mehr-sport/","rule":"endsWith","context":["sr:sport:20","sr:sport:22","sr:sport:36","sr:sport:81"]},{"matcher":"/sport-mix/mehr-sport/darts","rule":"includes","context":["sr:sport:22"]},{"matcher":"/sport-mix/mehr-sport/leichtathletik","rule":"includes","context":["sr:sport:36"]},{"matcher":"/sport-mix/mehr-sport/segeln","rule":"includes","context":["sr:sport:81"]},{"matcher":"/sport-mix/mehr-sport/tischtennis","rule":"includes","context":["sr:sport:20"]},{"matcher":"/wintersport/eishockey","rule":"includes","context":["sr:sport:4"]},{"matcher":"/wintersport/ski-alpin","rule":"includes","context":["sr:sport:43"]},{"matcher":"/wintersport/skispringen","rule":"includes","context":["sr:sport:48"]},{"matcher":"/wintersport/biathlon","rule":"includes","context":["sr:sport:44"]},{"matcher":"/wintersport/snowboard","rule":"includes","context":["sr:sport:49"]},{"matcher":"/wintersport/langlauf","rule":"includes","context":["sr:sport:46"]}]')},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(2);function r(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)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pixelHandler=new i.a,this.maxScrolled=0}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e=this;window.addEventListener("scroll",(function(){var t=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)+window.innerHeight;e.maxScrolled<t&&(e.maxScrolled=t)}),!1),window.addEventListener("beforeunload",(function(t){var n=document.documentElement.scrollHeight;if(n>0){var i=Math.round(e.maxScrolled/n*100);"array"==typeof dataLayer&&dataLayer.push({event:"scrolltracking",percent:(i>100?100:i)+""})}}))}}])&&r(t.prototype,n),o&&r(t,o),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return W}));var i=n(0),r=n.n(i),o=n(20);function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function l(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)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"createForUrlPath",value:function(e){var t=o.filter((function(t){var n=t.matcher,i=t.rule;return e[i](n)}));return t?t.reduce((function(e,t){var n=t.context;return[].concat(a(e),a(n))}),[]):[]}},{key:"createForObjectValues",value:function(e){var t=Object.values(e);return this.getContextValues(t)}},{key:"getContextValues",value:function(e){return e.filter((function(e){return"string"==typeof e&&e.startsWith("sr:")}))}}])&&l(t.prototype,n),i&&l(t,i),e}();function u(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function f(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)}}var h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id="",this.description="",this.name="",this.eventName="",this.parameters={},this.callParameters={}}var t,n,i;return t=e,(n=[{key:"addContextFromPathName",value:function(e){var t=(new c).createForUrlPath(e);t.length&&(Array.isArray(this.callParameters.tags)&&this.callParameters.tags.length?this.callParameters.tags=[].concat(u(this.callParameters.tags),u(t)):this.callParameters.tags=t)}},{key:"notify",value:function(e){window[e]&&window[e].push({event:this.eventName,payload:this.callParameters})}}])&&f(t.prototype,n),i&&f(t,i),e}();function p(e){return(p="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})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=g(e);if(t){var r=g(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(n,e);var t=m(n);function n(e){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(i=t.call(this)).id="betting-odds-click",i.name="Betting Odds clicked",i.eventName="srt.betting.oddsClick",i.parameters={oddsBookmakerId:"12",oddsType:"2",oddsField:"4",oddsValue:"6,50"},i.callParameters=e||i.parameters,i}return n}(h);function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function S(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)}}var C=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"matches",value:function(e){if(!(e.hasClass("odd-title")||e.hasClass("odd-outcome")||e.hasClass("odd-block")||e.hasClass("odds-deep-link")))return!1;var t={},n=e;return e.is(".odds-deep-link")||(n=e.parents(".odds-deep-link")),(t=this.parseDeepLink(n.data("href"))).oddsValue=this.parseOddsValue(n.parent().find(".odd-outcome").html()),this.fillPayload(t),!0}},{key:"parseDeepLink",value:function(e){if(!e)return{};var t=new RegExp("([a-z]*=[0-9]+)","g"),n=e.matchAll(t);return this.mapFindingsToOddsDataStructure(n)}},{key:"mapFindingsToOddsDataStructure",value:function(e){var t={oddsfield:"oddsField",oddstype:"oddsType",bookmaker:"oddsBookmakerId",match:"matchId"},n={};return Array.from(e).map((function(e){for(var i=e[0],r=0,o=Object.entries(t);r<o.length;r++){var a=w(o[r],2),s=a[0],l=a[1];if(i.includes(s)){var c="";c="match"===s?"sr:match:"+i.replace("".concat(s,"="),""):"bookmaker"===s?"sr:book:"+i.replace("".concat(s,"="),""):i.replace("".concat(s,"="),""),n[l]=c}}})),n.sport="sr:sport:1",n}},{key:"parseOddsValue",value:function(e){return void 0!==e?e:""}},{key:"fillPayload",value:function(e){this.callParameters={tags:[]};for(var t=0,n=Object.entries(e);t<n.length;t++){var i=w(n[t],2),r=i[0],o=i[1];o.startsWith("sr:")?this.callParameters.tags.push(o):this.callParameters[r]=o}}},{key:"notify",value:function(e){var t=new b(this.callParameters);t.addContextFromPathName(location.pathname),t.notify(e)}}])&&S(t.prototype,n),i&&S(t,i),e}();function x(e){return(x="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})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=L(e);if(t){var r=L(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}(n,e);var t=A(n);function n(e){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(i=t.call(this)).id="make-bet",i.name="Make a Bet",i.eventName="srt.betting.intent",i.parameters={category:"betting",action:"click",label:"bet",property:"",value:""},i.callParameters=e||i.parameters,i}return n}(h);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)}}var T=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"matches",value:function(e){var t=e[0].classList,n=t.contains("odd-title")||t.contains("odd-outcome")||t.contains("odd-block")||t.contains("odds-deep-link"),i=t.contains("odds-supplier-logo"),r=e.parents(".quotasbox").length,o=t.contains("info")&&t.contains("eu100");return n||i||r&&!o}},{key:"getSelectorFromElement",value:function(e){if(e&&e.length){var t=e.parents(":not(html,body)").map((function(){var e=$(this).index();return this.tagName+n(e)})).get().reverse().join(" ");return t&&(t+=" "+e[0].nodeName+n(e.index())),t+=function(e){var t="",n=e.attr("id");n&&(t+="#"+n);var i=e.attr("class");return i&&(t+="."+i.replace(/^\s+|\s+$/g,"").replace(/\s/gi,".")),t}(e)}function n(e){return void 0===e?"":(e+=1)>1?":nth-child("+e+")":""}}},{key:"notify",value:function(e){this.selector=this.getSelectorFromElement($element);var t=new I({action:"click",selector:this.selector});t.addContextFromPathName(location.pathname),t.notify(e)}}])&&E(t.prototype,n),i&&E(t,i),e}();function O(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)}}var M=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.selfDescribingJson={schema:"iglu:com.sportradar.ads/betting_odds_click/jsonschema/1-0-0",data:{sportId:"sr:sport:1",matchId:"",oddsBookmakerId:"sr:book:176",oddsType:"2",oddsField:"",oddsValue:""}}}var t,n,i;return t=e,(n=[{key:"matches",value:function(e){var t=e.parents(".quotasbox").length;if(!t)return!1;var n=e.is(".quotasbox"),i=e.hasClass("timage")||e.is(".image a"),r=e.hasClass("eu100")||e.parents(".eu100").length;if(n||i||r)return!1;var o=e;return e.is("span")&&(o=e.parent()),this.selfDescribingJson.data.oddsValue=this.parseOddsValue(o.find(".right").html()),this.selfDescribingJson.data.oddsField=this.parseOddsField(o.find(".left").html()),this.selfDescribingJson.data.matchId=this.parseMatch(e.parents("div[data-matchid]").data("matchid")),t}},{key:"parseOddsValue",value:function(e){var t="";return void 0!==e&&(t=e),t}},{key:"parseOddsField",value:function(e){var t="",n={1:"3",X:"4",2:"5"};return void 0!==e&&void 0!==n[e]&&(t=n[e]),t}},{key:"notify",value:function(e){var t=new b({selfDescribingJson:this.selfDescribingJson});t.addContextFromPathName(location.pathname),t.notify(e)}},{key:"parseMatch",value:function(e){var t="";return void 0!==e&&-1!==e.indexOf("sr:match:")&&(t=e),t}}])&&O(t.prototype,n),i&&O(t,i),e}();function j(e){return(j="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})(e)}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=F(e);if(t){var r=F(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return D(this,n)}}function D(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(n,e);var t=q(n);function n(e){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(i=t.call(this)).id="page-view",i.name="Page View",i.eventName="srt.pageView",i.parameters={customTitle:null,pagePing:{minimumVisitLength:30,heartBeat:10}},i.callParameters=e||i.parameters,i}return n}(h);function U(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)}}var R=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"notify",value:function(e){var t=new N;t.addContextFromPathName(location.pathname),t.notify(e)}}])&&U(t.prototype,n),i&&U(t,i),e}();function V(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)}}var W=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.commandsListName="srtmCommands"}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;if(Array.isArray(window[this.commandsListName])){(new R).notify(this.commandsListName);var t=[new T,new C,new M];r()(document).on("click",(function(n){t.forEach((function(t){t.matches(r()(n.target))&&t.notify(e.commandsListName)}))}))}}}])&&V(t.prototype,n),i&&V(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(8),r=n(2);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}var c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"lion";s(this,e),this.containerSelector="l1-videos-",this.baseVideoPlayerContainerId="video-player-single-",this.videoPlayerContainerId=void 0,this.players=new Map,this.pixelHandler=new r.a,this.playerLocker=t,this.videoProvider=n,this.videoId=""}var t,n,a;return t=e,(n=[{key:"init",value:function(){var e,t=o(document.querySelectorAll('*[id^="'.concat(this.containerSelector,'"]')));try{for(t.s();!(e=t.n()).done;){var n=e.value;this.initArea(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"initArea",value:function(e){var t=this,n=e.id.replace("l1-videos-","");this.videoPlayerContainerId=this.baseVideoPlayerContainerId+n;var r=e.querySelector("#"+this.videoPlayerContainerId);if(r){var o=this.getParentSection(r);void 0!==o&&new i.a(o).then((function(){t.initVideo(r)}))}}},{key:"initVideo",value:function(e){e&&this.play(e)}},{key:"play",value:function(e){var t=this.getVideoId(e);if(""!==t){this.videoId=t;var n=new avvpl.setupPlayer(this.getConfig(e.id,t));this.playerLocker.isPageLockedWithActivePlayer()||this.playerLocker.lockPageWithPlayer(n),this.players.set(e.id,n),this.setEventListener(e,n)}}},{key:"getConfig",value:function(e,t){var n=this.shouldStartAutoplay(),i="";return console.log("+++ Video Provider "+this.videoProvider),i="spott"==this.videoProvider?"https://video.laola1.at/api/v2/content/".concat(t,"/player-setting?portal=at&autoplay=")+(n?"true":"false")+"&enableProgressBar=true&enableTime=true&enableSeekForward=true&enableSeekBehind=true&showTitle=true":"https://www.laola1.tv/service/player/videoConfigMarvin.php?videoid=".concat(t,"&partnerid=9&language=de&format=iphone"),{id:e,videoid:t,partnerid:9,autoplay:n,mute:n,share:{enabled:!0,url:window.location.href,pages:["facebook","twitter","mail"]},configUrl:i}}},{key:"getVideoId",value:function(e){return e.getAttribute("data-video-id")}},{key:"clearInterval",value:function(e){window.clearInterval(e)}},{key:"getParentSection",value:function(e){for(var t=e,n=0;"SECTION"!==t.tagName;)if(t=t.parentNode,++n>5)return;return t}},{key:"stopPlayer",value:function(e){var t=this.players.get(e);null!=t&&(t.remove(),this.players.delete(e))}},{key:"setEventListener",value:function(e,t){var n=this,i=this.getVisibilityTypes(),r=i.hidden,o=i.visibilityChange;t.on("streamStarted",(function(){document.addEventListener(o,(function(){document[r]&&!t.audioVolume[0]&&t.pauseVideo()}),!1)})),t.on("setRelatedCountdown",(function(){t===n.playerLocker.getCurrentActivePlayer()&&n.playerLocker.unlockPageFromPlayer()}))}},{key:"getVisibilityTypes",value:function(){var e,t;return void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange"),{hidden:e,visibilityChange:t}}},{key:"getRelevantPixelInformation",value:function(e){return void 0!==e&&void 0!==e.title&&void 0!==e.metaInformation&&void 0!==e.metaInformation.sports&&void 0!==e.metaInformation.competition?{title:e.title,sports:e.metaInformation.sports,liga:e.metaInformation.competition}:null}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints>1}},{key:"shouldStartAutoplay",value:function(){return!(this.isTouchDevice()||this.playerLocker.isPageLockedWithActivePlayer())}}])&&l(t.prototype,n),a&&l(t,a),e}()},function(e,t){var n;(n=jQuery).fn.bPopup=function(e,t){function i(){p.modal&&n('<div class="b-modal '+v+'"></div>').css({backgroundColor:p.modalColor,position:"fixed",top:0,right:0,bottom:0,left:0,opacity:0,zIndex:p.zIndex+O}).appendTo(p.appendTo).fadeTo(p.speed,p.opacity),f(),A.data("bPopup",p).data("id",v).css({left:"slideIn"==p.transition||"slideBack"==p.transition?"slideBack"==p.transition?_.scrollLeft()+E:-1*(k+C):c(!(!p.follow[0]&&g||b)),position:p.positionStyle||"absolute",top:"slideDown"==p.transition||"slideUp"==p.transition?"slideUp"==p.transition?_.scrollTop()+I:w+-1*S:u(!(!p.follow[1]&&y||b)),"z-index":p.zIndex+O+1}).each((function(){p.appending&&n(this).appendTo(p.appendTo)})),s(!0)}function r(){return p.modal&&n(".b-modal."+A.data("id")).fadeTo(p.speed,0,(function(){n(this).remove()})),p.scrollBar||n("html").css("overflow","auto"),n(".b-modal."+v).unbind("click"),_.unbind("keydown."+v),L.unbind("."+v).data("bPopup",0<L.data("bPopup")-1?L.data("bPopup")-1:null),A.undelegate(".bClose, ."+p.closeClass,"click."+v,r).data("bPopup",null),clearTimeout(P),s(),!1}function o(e){I=L.height(),E=L.width(),((m=h()).x||m.y)&&(clearTimeout(x),x=setTimeout((function(){f(),e=e||p.followSpeed;var t={};m.x&&(t.left=p.follow[0]?c(!0):"auto"),m.y&&(t.top=p.follow[1]?u(!0):"auto"),A.dequeue().each((function(){b?n(this).css({left:k,top:w}):n(this).animate(t,e,p.followEasing)}))}),50))}function a(e){var t=e.width(),n=e.height(),i={};p.contentContainer.css({height:n,width:t}),n>=A.height()&&(i.height=A.height()),t>=A.width()&&(i.width=A.width()),S=A.outerHeight(!0),C=A.outerWidth(!0),f(),p.contentContainer.css({height:"auto",width:"auto"}),i.left=c(!(!p.follow[0]&&g||b)),i.top=u(!(!p.follow[1]&&y||b)),A.animate(i,250,(function(){e.show(),m=h()}))}function s(e){function t(t){A.css({display:"block",opacity:1}).animate(t,p.speed,p.easing,(function(){l(e)}))}switch(e?p.transition:p.transitionClose||p.transition){case"slideIn":t({left:e?c(!(!p.follow[0]&&g||b)):_.scrollLeft()-(C||A.outerWidth(!0))-200});break;case"slideBack":t({left:e?c(!(!p.follow[0]&&g||b)):_.scrollLeft()+E+200});break;case"slideDown":t({top:e?u(!(!p.follow[1]&&y||b)):_.scrollTop()-(S||A.outerHeight(!0))-200});break;case"slideUp":t({top:e?u(!(!p.follow[1]&&y||b)):_.scrollTop()+I+200});break;default:A.stop().fadeTo(p.speed,e?1:0,(function(){l(e)}))}}function l(e){e?(L.data("bPopup",O),A.delegate(".bClose, ."+p.closeClass,"click."+v,r),p.modalClose&&n(".b-modal."+v).css("cursor","pointer").bind("click",r),T||!p.follow[0]&&!p.follow[1]||L.bind("scroll."+v,(function(){if(m.x||m.y){var e={};m.x&&(e.left=p.follow[0]?c(!b):"auto"),m.y&&(e.top=p.follow[1]?u(!b):"auto"),A.dequeue().animate(e,p.followSpeed,p.followEasing)}})).bind("resize."+v,(function(){o()})),p.escClose&&_.bind("keydown."+v,(function(e){27==e.which&&r()})),d(t),p.autoClose&&(P=setTimeout(r,p.autoClose))):(A.hide(),d(p.onClose),p.loadUrl&&(p.contentContainer.empty(),A.css({height:"auto",width:"auto"})))}function c(e){return e?k+_.scrollLeft():k}function u(e){return e?w+_.scrollTop():w}function d(e,t){n.isFunction(e)&&e.call(A,t)}function f(){w=y?p.position[1]:Math.max(0,(I-A.outerHeight(!0))/2-p.amsl),k=g?p.position[0]:(E-A.outerWidth(!0))/2,m=h()}function h(){return{x:E>A.outerWidth(!0),y:I>A.outerHeight(!0)}}n.isFunction(e)&&(t=e,e=null);var p=n.extend({},n.fn.bPopup.defaults,e);p.scrollBar||n("html").css("overflow","hidden");var v,m,y,g,b,w,k,S,C,x,P,A=this,_=n(document),L=n(window),I=L.height(),E=L.width(),T=/OS 6(_\d)+/i.test(navigator.userAgent),O=0;return A.close=function(){r()},A.reposition=function(e){o(e)},A.each((function(){n(this).data("bPopup")||(d(p.onOpen),O=(L.data("bPopup")||0)+1,v="__b-popup"+O+"__",y="auto"!==p.position[1],g="auto"!==p.position[0],b="fixed"===p.positionStyle,S=A.outerHeight(!0),C=A.outerWidth(!0),p.loadUrl?function(){switch(p.contentContainer=n(p.contentContainer||A),p.content){case"iframe":var e=n('<iframe class="b-iframe" '+p.iframeAttr+"></iframe>");e.appendTo(p.contentContainer),S=A.outerHeight(!0),C=A.outerWidth(!0),i(),e.attr("src",p.loadUrl),d(p.loadCallback);break;case"image":i(),n("<img />").load((function(){d(p.loadCallback),a(n(this))})).attr("src",p.loadUrl).hide().appendTo(p.contentContainer);break;default:i(),n('<div class="b-ajax-wrapper"></div>').load(p.loadUrl,p.loadData,(function(e,t,i){d(p.loadCallback,t),a(n(this))})).hide().appendTo(p.contentContainer)}}():i())}))},n.fn.bPopup.defaults={amsl:50,appending:!0,appendTo:"body",autoClose:!1,closeClass:"b-close",content:"ajax",contentContainer:!1,easing:"swing",escClose:!0,follow:[!0,!0],followEasing:"swing",followSpeed:500,iframeAttr:'scrolling="no" frameborder="0"',loadCallback:!1,loadData:!1,loadUrl:!1,modal:!0,modalClose:!0,modalColor:"#000",onClose:!1,onOpen:!1,opacity:.7,position:["auto","auto"],positionStyle:"absolute",scrollBar:!0,speed:250,transition:"fadeIn",transitionClose:!1,zIndex:9997}},function(e,t,n){var i,r,o;r=[n(0)],void 0===(o="function"==typeof(i=function(e){var t=/\+/g;function n(e){return a.raw?e:encodeURIComponent(e)}function i(e){return a.raw?e:decodeURIComponent(e)}function r(e){return n(a.json?JSON.stringify(e):String(e))}function o(n,i){var r=a.raw?n:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),a.json?JSON.parse(e):e}catch(e){}}(n);return e.isFunction(i)?i(r):r}var a=e.cookie=function(t,s,l){if(arguments.length>1&&!e.isFunction(s)){if("number"==typeof(l=e.extend({},a.defaults,l)).expires){var c=l.expires,u=l.expires=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*c)}return document.cookie=[n(t),"=",r(s),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=t?void 0:{},f=document.cookie?document.cookie.split("; "):[],h=0,p=f.length;h<p;h++){var v=f[h].split("="),m=i(v.shift()),y=v.join("=");if(t===m){d=o(y,s);break}t||void 0===(y=o(y))||(d[m]=y)}return d};a.defaults={},e.removeCookie=function(t,n){return e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t)}})?i.apply(t,r):i)||(e.exports=o)},function(e,t){!function(e){"use strict";if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),r="FormData"in e,o="ArrayBuffer"in e;if(o)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(e){return e&&DataView.prototype.isPrototypeOf(e)},l=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};p.prototype.append=function(e,t){e=d(e),t=f(t);var n=this.map[e];this.map[e]=n?n+","+t:t},p.prototype.delete=function(e){delete this.map[d(e)]},p.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},p.prototype.set=function(e,t){this.map[d(e)]=f(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var c=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var u=[301,302,303,307,308];S.redirect=function(e,t){if(-1===u.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},e.Headers=p,e.Request=w,e.Response=S,e.fetch=function(e,t){return new Promise((function(n,r){var o=new w(e,t),a=new XMLHttpRequest;a.onload=function(){var e,t,i={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),i=n.shift().trim();if(i){var r=n.join(":").trim();t.append(i,r)}})),t)};i.url="responseURL"in a?a.responseURL:i.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;n(new S(r,i))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),o.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send(void 0===o._bodyInit?null:o._bodyInit)}))},e.fetch.polyfill=!0}function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(i&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(r&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(o&&i&&s(e))this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!o||!ArrayBuffer.prototype.isPrototypeOf(e)&&!l(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var e,t,n,i=v(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}function w(e,t){var n,i,r=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),c.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function S(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(34);var i=n(0),r=n.n(i);function o(e){return(o="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})(e)}function a(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)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),postings.html='<div class="post" data-postid="POST_ID">   <img src="/?proxy=img/user-placeholder.png" alt="userimg" width="60" height="60" class="userimg" onerror="L1Postings.insertPlaceholderImg($(this));"/>   <strong class="username" data-userid="USER_ID">USERNAME</strong>   <time class="ago">TIME</time>   <p class="text">COMMENT</p>   <ul class="postnav">       <li>           <a href="javascript:" onclick="L1Postings.like(POST_ID)" class="like"><b class="likes">RATING</b><i class="ico-favorite"></i></a>        </li>        <li>            <a href="javascript:" onclick="L1Postings.getAnswerTextarea(POST_ID)">Antworten</a>        </li>        <li>            <a href="javascript:" onclick="L1Postings.report(POST_ID)">Melden</a>        </li>    </ul><div class="clear"></div>    <input type="hidden" id="POST_ID"> </div>',postings.userJson="",postings.placeholderImage="/?proxy=img/user-placeholder.png",postings.sumComments=0,postings.page=1,postings.pageLimit=20,postings.target=r()(document).find(".post-wrapper"),postings.load=this.load,postings.getUrl=this.getUrl,postings.renderPosting=this.renderPosting,postings.insertPlaceholderImg=this.insertPlaceholderImg,postings.getTime=this.getTime,postings.gotoCommentBox=this.gotoCommentBox,postings.submitPost=this.submitPost,postings.validatePost=this.validatePost,postings.sendPost=this.sendPost,postings.getDateFormated=this.getDateFormated,postings.generateFakePost=this.generateFakePost,postings.getDomain=this.getDomain}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.fillBubblesWithCommentsCount(),this.waitForShowPostingsFlag()}},{key:"getUrl",value:function(){var e="",t=window.location.hostname,n=this.getDomain();return"alphadev.local"===n?e="//dev_postings.laola1.local":"intg-php56-www-laola1-at-2015.laola1.at"===t||"intg-php56-www-laola1-at-2015.laola1.at"===t||"laola1.local"===n?e="//dev-postings.laola1.local":"laola1.at"===n&&(e="//postings.laola1.at"),e}},{key:"getDomain",value:function(){var e=document.domain.split(".");return e[e.length-2]+"."+e[e.length-1]}},{key:"parseFeedIntoHtml",value:function(e,t){if(void 0!==e){var n=r.a.parseXML(t),i=r()(n).find("cms"),o="";(i=i.find("comment")).each((function(e,t){var n=r()(t).find("parent").attr("id"),i=postings.renderPosting(postings.html,t);if(0===parseInt(n))o+=i;else{var a='<input type="hidden" id="'+n+'">',s=o.indexOf(a);o=o.slice(0,s)+i+o.slice(s)}})),e.append(o)}}},{key:"getTime",value:function(e){var t=e.substr(0,4),n=e.substr(5,2),i=e.substr(8,2),r=e.substr(11,2),o=e.substr(14,2),a=new Date(t,n-1,i,r,o).getTime(),s=(new Date).getTime()-a,l=Math.floor(s/6e4),c=Math.floor(s/36e5),u=Math.floor(s/864e5);return e=1==l?"Vor "+l+" Minute":l<60?"Vor "+l+" Minuten":1==c?"Vor "+c+" Stunde":c<24?"Vor "+c+" Stunden":1==u?"Vor "+u+" Tag":"Vor "+u+" Tagen"}},{key:"renderPosting",value:function(e,t){return e=(e=(e=(e=(e=(e=e.replace(/POST_ID/g,t.getAttribute("id"))).replace("USERNAME",t.querySelector("user").textContent)).replace("USER_ID",t.querySelector("user").getAttribute("id"))).replace("COMMENT",t.querySelector("text").textContent)).replace("RATING",t.querySelector("likes").textContent)).replace("TIME",this.getTime(t.querySelector("time").textContent))}},{key:"getComments",value:function(e){window.loadCommentsAndCountIntoPage=function(t){var n=r()("#postings");void 0!==t.content?(parseFeedIntoHtml(postings.target,t.content),getSumOfComments(e)):void 0!==t.error&&"File existiert nicht"===t.error&&n.html("KOMMENTARE")},isNaN(e)?console.log("ERROR Please give me a number!"):postings.load(postings.getUrl()+"/php/getComments.php?new&meldung="+e,"loadCommentsAndCountIntoPage")}},{key:"loadMorePostings",value:function(e){window.loadMoreCommentsIntoPage=function(e){void 0!==e.content&&(window.parseFeedIntoHtml(postings.target,e.content),postings.pageLimit*postings.page<postings.sumComments&&r()(".post-wrapper").append('<h4 onclick="L1Postings.loadMorePostings($(this));" class="more_comments"> Mehr Kommentare </h4>'))},e.remove(),postings.page++,postings.load(postings.getUrl()+"/php/getComments.php?new&meldung="+postings.pageId+"&page="+postings.page,"loadMoreCommentsIntoPage")}},{key:"fillBubbles",value:function(e){if("number"==typeof e||"string"==typeof e)return!1;r.a.each(e,(function(e,t){var n=r()(".bubble[data-pageid="+e+"]");t>0?n.html(t).show():0===n.parents(".social_share").length&&n.hide()}))}},{key:"getSumOfComments",value:function(e){var t=this;window.getPagesCommentsCounts=function(e){var n=e.split(","),i={},a=[],s=!0;if(r.a.each(n,(function(e,t){if(function(e){return e.length<2||""===e[0]||""===e[1]}(a=t.split(":")))return s=!1,!1;i[a[0]]=parseInt(a[1])})),"object"===o(i)&&s){var l=i;if("number"==typeof l||"string"==typeof l)return!1;r.a.each(t.$speechBubbleContainers,(function(e,t){var n=t.dataset.pageid,i=l[n];i>0?(t.textContent=i,r()(t).css("display","inline")):"A"===t.parentElement.tagName?r()(t).parent().hide():r()(t).hide()}))}},window.getPageCommentsCount=function(e){if(void 0!==e.count){var t=e.count,n=r()("#postings");if("number"!=typeof t)return!1;postings.sumComments=t,postings.pageLimit<t&&r()(".post-wrapper").append('<h4 onclick="L1Postings.loadMorePostings($(this));" class="more_comments"> Mehr Kommentare </h4>'),1===t?n.html("1 KOMMENTAR"):n.html(t+" KOMMENTARE")}},"number"==typeof e?postings.load(postings.getUrl()+"/php/getCountComments.php?meldung="+e,"getPageCommentsCount"):"object"===o(e)&&postings.load(this.getUrl()+"/php/getCommentAmount.php?allIDs="+e.join(","),"getPagesCommentsCounts")}},{key:"load",value:function(e,t){var n={cache:!0,type:"GET",dataType:"jsonp",url:e,jsonpCallback:t};r.a.ajax(n)}},{key:"initUserImages",value:function(){var e=this;r.a.getJSON("/templates/generated/1/raw/forumusers.json",(function(e){})).done((function(t){e.userJson=t})).fail((function(t){console.log("Failed -> "+t),e.userJson=!1}))}},{key:"insertPlaceholderImg",value:function(e){r()(e).attr("src",postings.placeholderImage)}},{key:"fillBubblesWithCommentsCount",value:function(){if(this.$speechBubbleContainers=r()(".bubble"),this.$speechBubbleContainers.length){var e=function(e){var t=[];return e.each((function(e,n){void 0!==n.dataset.pageid&&t.push(n.dataset.pageid)})),t}(this.$speechBubbleContainers);this.getSumOfComments(e)}}},{key:"gotoCommentBox",value:function(){r()("#postings").length&&r()("html, body").animate({scrollTop:r()("#postings").offset().top},1e3)}},{key:"submitPost",value:function(){if(r()(".writecomment textarea").length){var e=r()(".writecomment textarea").val();""!==e?postings.validatePost(e,0):alert("Bitte schreibe zuerst einen Kommentar.")}}},{key:"generateFakePost",value:function(e,t){if(0!==e){var n=r()(".post[data-postid="+e+"]");if(n.length){var i=n[0].querySelector(".post");i?n[0].insertBefore(r()(this.renderPosting(this.html,r()(t)[0]))[0],i):n.append(this.renderPosting(this.html,r()(t)[0]))}}else r()(".post-wrapper .post").length?r()(this.renderPosting(this.html,r()(t)[0])).insertBefore(".post-wrapper .post:eq(0)"):r()(".post-wrapper").html(this.renderPosting(this.html,r()(t)[0]))}},{key:"like",value:function(e){var t=r.a.cookie("comment_"+e);void 0===t||"true"!==t?r.a.ajax({type:"GET",dataType:"jsonp",data:{commentID:e,cmsId:this.pageId},url:this.getUrl()+"/php/addLike.php",success:function(t){if(void 0!==t.success){r()(".post[data-postid="+e+"] .like b.likes:eq(0)").length&&r()(".post[data-postid="+e+"] .like b.likes:eq(0)").html(parseInt(r()(".post[data-postid="+e+"] .like b.likes:eq(0)").text())+1);var n=new Date;r.a.cookie("comment_"+e,"true",{expires:new Date(n.getTime()+36e5)})}}}):alert("Sie haben bereits geliked.")}},{key:"getAnswerTextarea",value:function(e){var t="";t=!0===L1User.loginStatus?'<div class="userinput ">   <form class="writecomment">       <textarea placeholder="Schreibe einen Kommentar..."></textarea>       <input type="button" class="send" onclick="L1Postings.answerPost('+e+')" value="&raquo;">   </form></div>':'<div class="userinput">   <span>Um einen Kommentar schreiben zu k&ouml;nnen, musst du <a class="must-login" href="javascript:L1User.login()">eingeloggt</a> sein!</span></div>',r()(document).find(".post[data-postid="+e+"]").length&&0===r()(document).find(".post[data-postid="+e+"]").children(".userinput").length&&(r()(document).find(".post[data-postid="+e+"] .post").length?r()(t).insertBefore(".post[data-postid="+e+"] .post:eq(0)"):r()(document).find(".post[data-postid="+e+"]").append(t))}},{key:"answerPost",value:function(e){if(r()(document).find(".post[data-postid="+e+"] textarea").length){var t=r()(document).find(".post[data-postid="+e+"] textarea").val();""!==t?this.validatePost(t,e):alert("Bitte schreibe zuerst einen Kommentar.")}}},{key:"report",value:function(e){!0===L1User.loginStatus?r.a.ajax({type:"GET",dataType:"jsonp",data:{commentID:e,userID:L1User.getId(),user_hash:L1User.getSession()},url:this.getUrl()+"/php/commentMeldung.php?commentID="+e+"&userID="+L1User.getId(),success:function(e){void 0!==e.success&&alert("Beitrag erfolgreich gemeldet!")}}):alert("Bitte loggen Sie sich ein.")}},{key:"sendPost",value:function(e,t,n,i){var o="";r()(".post [data-postid="+i+"] .username").length&&(o=r()(".post [data-postid="+i+"] .username").val()),0!==i?r()(document).find(".post[data-postid="+i+"] .userinput:eq(0)").length&&(r()(document).find(".post[data-postid="+i+"] .userinput:eq(0) textarea").attr("disabled","disabled"),r()(document).find(".post[data-postid="+i+"] .userinput:eq(0) .send").hide()):r()(document).find(".commentbox .userinput:eq(0)").length&&(r()(document).find(".commentbox .userinput:eq(0) textarea").attr("disabled","disabled"),r()(document).find(".commentbox .userinput:eq(0) .send").hide()),r.a.ajax({type:"GET",dataType:"jsonp",data:{meldung:this.pageId,text:t,userID:L1User.getId(),user_hash:L1User.getSession(),responseID:i,response_user:o,status:e,blackwords:n},url:this.getUrl()+"/php/insertComment.php",success:function(e){if(0!==i?r()(document).find(".post[data-postid="+i+"] .userinput:eq(0)").length&&r()(document).find(".post[data-postid="+i+"] .userinput:eq(0)").remove():r()(document).find(".commentbox .userinput:eq(0)").length&&(r()(document).find(".commentbox .userinput:eq(0) textarea").val(""),r()(document).find(".commentbox .userinput:eq(0) .send").show()),void 0!==e.success){var n=postings.getDateFormated(),o=r()('<comment id="0"><parent id="0"/><ebene>0</ebene><user id="'+L1User.getId()+'">'+L1User.getUsername()+"</user><text>"+t+"</text><time>"+n+"</time><likes>0</likes></comment>");postings.generateFakePost(i,o),r()(document).find(".post[data-postid="+i+"] .userinput:eq(0) textarea").removeAttr("disabled")}},error:function(){alert("Eintrag fehlgeschlagen")}})}},{key:"validatePost",value:function(e,t){!0===L1User.loginStatus?r.a.ajax({type:"GET",dataType:"jsonp",data:{text:e},url:this.getUrl()+"/php/blackcheck.php",success:function(n){return void 0!==n.error&&(!1===n.error?postings.sendPost("OK",e,"",t):confirm("Dein Beitrag enthält womöglich unerwünschte Ausdrücke!\n Möchtest du trotzdem fortfahren?")&&(void 0===n.blackwords&&(n.blackwords=""),postings.sendPost("PRE",e,n.blackwords,t))),!1}}):alert("Bitte zuerst einloggen")}},{key:"getDateFormated",value:function(){var e=new Date,t=e.getFullYear(),n=e.getDate();n<10&&(n="0"+n);var i=e.getMonth()+1;i<10&&(i="0"+i);var r=e.getHours();r<10&&(r="0"+r);var o=e.getMinutes();o<10&&(o="0"+o);var a=e.getSeconds();return a<10&&(a="0"+a),t+"-"+i+"-"+n+" "+r+":"+o+":"+a}},{key:"waitForShowPostingsFlag",value:function(){var e=this,t=0,n=setInterval((function(){var i=!0===postings.showPostings;if(i||t>=10){if(clearInterval(n),!i){var o=r()('input[data-module="l1-postings"]');window.postings.pageId=o.data("page-id"),window.postings.showPostings=o.data("show-postings")}void 0!==window.postings.pageId&&(e.initialized=!0,window.loadMoreCommentsIntoPage=e.loadMoreCommentsIntoPage,window.getSumOfComments=e.getSumOfComments,window.parseFeedIntoHtml=e.parseFeedIntoHtml,e.getComments(postings.pageId),window.L1Postings=e)}t++}),100)}}])&&a(t.prototype,n),i&&a(t,i),e}()},function(e,t,n){(function(t){e.exports=t.LAOLA1=n(29)}).call(this,n(11))},function(e,t){e.exports={initialize:function(){},get_vars:[],fetch_get_vars:function(){var e=document.location.search.substr(1,document.location.search.length);if(""!==e){var t,n=e.split("&");for(t=0;t<n.length;++t){var i="",r=n[t].split("=");r.length>1&&(i=r[1]),LAOLA1.get_vars[decodeURIComponent(r[0])]=decodeURIComponent(i)}}},GET:function(e){return LAOLA1.get_vars[e]?LAOLA1.get_vars[e]:""}}},function(e,t,n){"use strict";function i(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)}}n.d(t,"a",(function(){return r}));var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.playerLocked=!1}var t,n,r;return t=e,(n=[{key:"lockPageWithPlayer",value:function(e){this.playerLocked=!0,this.currentPlayerActive=e}},{key:"getCurrentActivePlayer",value:function(){return this.currentPlayerActive}},{key:"unlockPageFromPlayer",value:function(){this.playerLocked=!1,this.currentPlayerActive=null}},{key:"isPageLockedWithActivePlayer",value:function(){return this.playerLocked}}])&&i(t.prototype,n),r&&i(t,r),e}()},function(e,t,n){var i,r;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!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 c=t(s[0]);if(l=(i.read||i)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(r[c]=l,e===c)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(){}))}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(5),r=n(2),o=n(0),a=n.n(o),s=n(1),l=n(4);function c(e){return(c="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})(e)}function u(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)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pixelHandler=new r.a,this.loader=new i.a,this.liveLaneBaseSelector=".livebox",this.swiperContainerSelector=".fullwidth-slider .swiper-container"}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e=this,t=document.querySelectorAll(this.liveLaneBaseSelector);if(t.length)for(var n=function(n){var i=t[n],r=a()(i).find("#ajaxUrl");if(0===r.length){var o=i.querySelector(e.swiperContainerSelector);return e.initSlider(i,o),{v:void 0}}var l=r[0].dataset.ajax,c={body:"command=load_html&filter="+a()(i).find("#filter")[0].dataset.filter},u=i.getElementsByClassName("spinner")[0],d=new s.a({position:"absolute"}).spin(u);e.loader.load(l,c).then((function(t){d.stop(),e.insertLiveLaneHtml(i,t.html)})).catch(console.log)},i=0;i<t.length;i++){var r=n(i);if("object"===c(r))return r.v}}},{key:"insertLiveLaneHtml",value:function(e,t){var n=e.querySelector(this.swiperContainerSelector);a()(n).html(t),this.initSlider(e,n)}},{key:"initSlider",value:function(e,t){var n=e.getElementsByClassName("swiper-next")[0],i=e.getElementsByClassName("swiper-prev")[0];new l.a(t.querySelector(".swiper-wrapper"),{spacing:10,nextButton:n,prevButton:i,duration:800,breakpoints:{"(min-width: 0px)":{slidesPerView:1,mode:"snap"},"(min-width: 640px)":{slidesPerView:2,mode:"snap"},"(min-width: 880px)":{slidesPerView:3,mode:"snap"},"(min-width: 1270px)":{slidesPerView:4,mode:"snap"}}})}}])&&u(t.prototype,n),o&&u(t,o),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4);function r(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)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e=document.querySelector("nav.l1video-nav");if(e){var t=e.getElementsByClassName("swiper-container")[0],n=e.getElementsByClassName("swiper-button-next")[0],r=e.getElementsByClassName("swiper-button-prev")[0],o=e.getElementsByClassName("swiper-scrollbar-drag")[0];new i.a(t.querySelector(".swiper-wrapper"),{nextButton:n,prevButton:r,scrollbar:o,autoWidth:!0,mode:"free"})}}}])&&r(t.prototype,n),o&&r(t,o),e}()},function(e,t,n){(function(t){e.exports=t.postings=n(35)}).call(this,n(11))},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(0),r=n.n(i);function o(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)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.state="",this.defaultState="original",this.failureLimit=5e3,this.placeholder="/?proxy=img/placeholder.jpg",this.effect="fadeIn",this.threshold=200,this.docWidht="",this.breakPoints=[{state:"mobile",width:640},{state:"tablet",width:1280}],window.imageLazyloader=this}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r()("body");this.docWidht=r()(window).width(),this.state=this.getState(),this.images=e[0].querySelectorAll("img.l1lazyload"),0===this.images.length&&(this.images=e[0].querySelectorAll("img.lazyload")),this.images=[].slice.call(this.images,0),document.addEventListener("scroll",this.loadImages.bind(this)),setTimeout(this.loadImages.bind(this),1e3)}},{key:"getState",value:function(){for(var e=0;e<this.breakPoints.length;e++)if(this.docWidht<=this.breakPoints[e].width)return this.breakPoints[e].state;return this.defaultState}},{key:"loadImages",value:function(){for(var e=0;e<this.images.length;e++){var t=this.images[e];if(!this.isVisible(t))break;t.dataset[this.state]?t.src=t.dataset[this.state]:t.src=t.dataset.original,r()(t).hide().fadeIn(1e3),this.images.splice(e,1),e--}}},{key:"isVisible",value:function(e){for(var t=0;null!=e&&"html"!=(e.tagName||"").toLowerCase();)t+=e.offsetTop||0,e=e.offsetParent;return(document.scrollingElement||document.documentElement).scrollTop+window.innerHeight+200>=t}}])&&o(t.prototype,n),i&&o(t,i),e}()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function a(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)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e,t=r(document.querySelectorAll(".themenbox"));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(void 0===n.dataset.contelPageId)return!1;var o=n.querySelector(".fullwidth-slider"),a=o.querySelector(".swiper-container"),s=o.querySelector(".swiper-prev"),l=o.querySelector(".swiper-next");new i.a(a.querySelector(".swiper-wrapper"),{spacing:10,nextButton:l,prevButton:s,mode:"free",autoWidth:!0})}}catch(e){t.e(e)}finally{t.f()}}}])&&a(t.prototype,n),o&&a(t,o),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var i=n(4);function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function a(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)}}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.containerSelector="l1-videos-",this.sliderContainerSelector=".l1video-slider .swiper-container .swiper-wrapper"}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e,t=r(document.querySelectorAll('*[id^="'.concat(this.containerSelector,'"]')));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n.querySelector(this.sliderContainerSelector)){var i=n.id.replace("l1-videos-","");this.initOneLane(i)}}}catch(e){t.e(e)}finally{t.f()}}},{key:"initOneLane",value:function(e){var t="#"+this.containerSelector+e+this.sliderContainerSelector,n=document.querySelector(t);if(!n)return!1;new i.a(n,{spacing:10,nextButton:document.querySelector(".swiper-next-".concat(e)),prevButton:document.querySelector(".swiper-prev-".concat(e)),breakpoints:{"(min-width: 0px)":{slidesPerView:1,mode:"snap"},"(min-width: 680px)":{slidesPerView:2,mode:"snap"},"(min-width: 1200px)":{slidesPerView:3,mode:"snap"}},lazy:!0,boostPerformance:!0})}}])&&a(t.prototype,n),o&&a(t,o),e}(),l=n(33),c=n(8),u=n(2),d=n(1);function f(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)}}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.responsiveWidth=1024,this.containerSelector=".l1video-aufmacher",this.container=document.querySelector(this.containerSelector),this.videoPlayerContainerId="video-player",this.player=void 0,this.pixelHandler=new u.a,this.playerLocker=t,this.videoProvider="",this.videoId=""}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;if(this.container){this.videoProvider=this.container.getAttribute("data-video-provider");var t=this.container.querySelector("#showMoreButton");this.showMoreButton=!!t&&"true"===t.getAttribute("data-show-more-button");var n=100;this.isTouchDevice()||(n=-200),new c.a(this.container,n).then((function(t){e.playlistWrapper=e.container.querySelector(".video-playlist-wrapper .scroll-wrapper"),e.videoPlaylistContainer=e.playlistWrapper.querySelector(".video-playlist"),e.showMoreButton&&window.innerWidth<e.responsiveWidth&&e.initCompactView(),e.initVideo()}))}}},{key:"initCompactView",value:function(){var e=this,t=this.videoPlaylistContainer.querySelectorAll("li");if(!(t.length<=4)){this.resizeCompactPlaylist(t);var n=this.container.querySelector(".scroll-arrow.more-videos");n.style.display="block",n.addEventListener("click",(function(){e.videoPlaylistContainer.style.height="100%",n.style.display="none"}))}}},{key:"resizeCompactPlaylist",value:function(e){for(var t=0,n=0;n<4;n++)void 0!==e[n]&&(t+=e[n].offsetHeight,e[n].classList.add("compact-item"));this.videoPlaylistContainer.style.height=t+"px"}},{key:"initVideo",value:function(){var e=this.playlistWrapper.querySelector("li.active");e&&this.play(e),this.addClickHandlers()}},{key:"addClickHandlers",value:function(){for(var e=this,t=this.playlistWrapper.querySelectorAll("li"),n=0;n<t.length;n++)t[n].addEventListener("click",(function(n){e.spinner||(e.playlistWrapper.classList.add("disabled"),n.preventDefault(),e.player===e.playerLocker.getCurrentActivePlayer()&&e.playerLocker.unlockPageFromPlayer(),e.clearVideoPlayerContainer(),e.play(e.findVideoContainer(n.target),!0),"none"!==e.container.querySelector(".scroll-arrow.more-videos").style.display&&e.resizeCompactPlaylist(t))}),!1)}},{key:"clearVideoPlayerContainer",value:function(){var e=document.querySelector("#"+this.videoPlayerContainerId),t=e.parentNode,n=document.createElement("div");n.setAttribute("id","video-player"),t.removeChild(e),t.appendChild(n)}},{key:"findVideoContainer",value:function(e){var t;return Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),e.matches("li")?t=e:e.matches("a")?t=e.parentNode:e.matches("span")&&(t=e.parentNode.parentNode),t}},{key:"play",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.getVideoId(e);if(this.setElementActive(e),""!==i){this.videoId=i,void 0!==this.player&&null!==this.player&&(this.player.remove(),this.player=void 0),this.player=new avvpl.setupPlayer(this.getConfig(i,n)),this.playerLocker.isPageLockedWithActivePlayer()||this.playerLocker.lockPageWithPlayer(this.player);var r=e.nextElementSibling,o=document.querySelector("#"+this.videoPlayerContainerId);if(this.spinner=new d.a({position:"absolute",color:"#ffffff"}).spin(o),this.setEventListener(o,this.player,n),r){var a=this.container.querySelector(".scroll-arrow.more-videos");this.player.on("ended",(function(){var e=t.player;t.player===t.playerLocker.getCurrentActivePlayer()&&t.playerLocker.unlockPageFromPlayer(),t.scrollTo(r),t.toggleMoreVideosButton(r,a),t.clearVideoPlayerContainer(),t.play(r,!t.playerIsMuted(e))}))}}}},{key:"toggleMoreVideosButton",value:function(e,t){this.showMoreButton&&!e.classList.contains("compact-item")&&"block"===t.style.display&&(t.style.display="none",this.videoPlaylistContainer.style.height="100%")}},{key:"scrollTo",value:function(e){if(void 0===this.scrollBar)return!1;var t=this.scrollBar.getScrollElement().scrollTop;this.scrollBar.getScrollElement().scrollTop=t+e.offsetHeight}},{key:"setElementActive",value:function(e){this.playlistWrapper.querySelector("li.active").classList.remove("active"),e.classList.add("active")}},{key:"getConfig",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t||this.shouldStartAutoplay(),i=n&&!t,r="";return r="spott"==this.videoProvider?"https://video.laola1.at/api/v2/content/".concat(e,"/player-setting?portal=at&autoplay=")+(n?"true":"false")+"&enableProgressBar=true&enableTime=true&enableSeekForward=true&enableSeekBehind=true&showTitle=true":"https://www.laola1.tv/service/player/videoConfigMarvin.php?videoid=".concat(e,"&partnerid=9&language=de&format=iphone&type=playlist"),{id:this.videoPlayerContainerId,videoid:e,partnerid:9,autoplay:n,mute:i,share:{enabled:!0,url:window.location.href,pages:["facebook","twitter","mail"]},configUrl:r}}},{key:"playerIsMuted",value:function(e){return!e.audioVolume[0]}},{key:"getVideoId",value:function(e){return e.getAttribute("data-video-id")}},{key:"setEventListener",value:function(e,t,n){var i=this,r=this.getVisibilityTypes(),o=r.hidden,a=r.visibilityChange;t.on("playerSizeChanged",(function(){i.spinner&&(i.spinner.stop(),i.spinner=null,i.playlistWrapper.classList.remove("disabled"))})),t.on("streamStarted",(function(){document.addEventListener(a,(function(){document[o]&&i.playerIsMuted(t)&&t.pauseVideo()}),!1)}))}},{key:"getVisibilityTypes",value:function(){var e,t;return void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange"),{hidden:e,visibilityChange:t}}},{key:"getRelevantPixelInformation",value:function(e){return void 0!==e&&void 0!==e.title&&void 0!==e.metaInformation&&void 0!==e.metaInformation.sports&&void 0!==e.metaInformation.competition?{title:e.title,sports:e.metaInformation.sports,liga:e.metaInformation.competition}:null}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints}},{key:"shouldStartAutoplay",value:function(){return!(this.isTouchDevice()||this.playerLocker.isPageLockedWithActivePlayer())}}])&&f(t.prototype,n),i&&f(t,i),e}(),p=n(23),v=n(5);function m(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)}}var y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.containerSelector=".dyn-video-play-list",this.containers=document.querySelectorAll(this.containerSelector),this.playerLocker=t}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;if(!this.containers.length)return!1;var t=this.containers[0],n=t.getAttribute("data-ajax-url"),i=t.getAttribute("data-team");this.loader=new v.a;var r={body:"command=videos&team="+i};this.loader.load(n,r).then((function(n){if(void 0===n||void 0===n.html||!n.html)return!1;e.appendHtml(t,n.html),new h(e.playerLocker).init()})).catch(console.log)}},{key:"appendHtml",value:function(e,t){var n=document.createElement("div");for(n.innerHTML=t;n.children.length>0;)e.parentNode.insertBefore(n.children[0],e)}}])&&m(t.prototype,n),i&&m(t,i),e}();function g(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(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)}}var S=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"lionxx";w(this,e),this.videoboxSelector=".video-wrapper",this.videoContainers=document.querySelectorAll(this.videoboxSelector),this.videoProvider=n,this.player=new p.a(t,this.videoProvider)}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;if(!(this.videoContainers.length<1)){var t=100;this.isTouchDevice()||(t=-200);var n,i=g(this.videoContainers);try{var r=function(){var i=n.value;new c.a(i.parentElement,t).then((function(){e.player.initVideo(i)}))};for(i.s();!(n=i.n()).done;)r()}catch(e){i.e(e)}finally{i.f()}}}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints}}])&&k(t.prototype,n),i&&k(t,i),e}(),C=n(30),x=n(3),P=n.n(x);function A(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)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.playerLocker=new C.a,this.playList=new h(this.playerLocker),this.dynPlayList=new y(this.playerLocker),this.navigation=new l.a,this.lane=new s,this.videoboxSelector=".video-wrapper",this.lazyElement=document.querySelector(".l1video-aufmacher"),this.videoContainers=document.querySelectorAll(this.videoboxSelector),this.videoProvider="lion",void 0!==this.videoContainers[0]&&(this.videoProvider=this.videoContainers[0].getAttribute("data-video-provider")),this.videobox=new S(this.playerLocker,this.videoProvider),this.videoPlayer=new p.a(this.playerLocker,this.videoProvider)}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.navigation.init(),this.lazyLoadVideoPlayer()||this.initPlayer()}},{key:"lazyLoadVideoPlayer",value:function(){return!(window.innerWidth>640||!this.lazyElement||document.querySelector(this.videoboxSelector)||(new c.a(this.lazyElement,100).then(function(){this.initPlayer()}.bind(this)),0))}},{key:"initPlayer",value:function(){var e=this;this.loadMarvinPlayer().then((function(){e.playList.init(),e.dynPlayList.init(),e.lane.init(),e.videobox.init(),e.videoPlayer.init()})).catch(console.log)}},{key:"loadMarvinPlayer",value:function(){return $("head").append("<link rel='stylesheet' id='video-player-css' href='https://avplayer-cdn.sportradar.com/dist/latest/styles.css' type='text/css' />"),P()({url:"//avplayer-cdn.sportradar.com/dist/latest/avvpl-player.js",attrs:{charset:"utf8"},callbackName:"avvpl"})}}])&&A(t.prototype,n),i&&A(t,i),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n(1),r=n(5),o=n(2),a=n(0),s=n.n(a);function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(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)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"setLinks",value:function(e){if(!e)return!1;var t=e.querySelector("input[name=odds-tracker-ids]");if(!t)return!1;var n,i=JSON.parse(t.getAttribute("data-tracker-ids")).tracker_ids,r=this.findPage(),o=this.getEnvironment();void 0!==r&&i&&void 0!==i[r]&&void 0!==i[r][o]&&(n=i[r][o],this.setOddsLinks(e,n),this.setLogoAndPlaceholderLinks(e,n))}},{key:"setOddsLinks",value:function(e,t){if(!e)return!1;var n=e.querySelector("input[name=odds-tracker-parameters]"),i="";if(t&&n){var r=n.getAttribute("data-tracker-parameters");i="&"+this.replaceTrackerIdPlaceholder(r,t)}this.replaceDeeplinkHref(e,i)}},{key:"replaceDeeplinkHref",value:function(e,t){if(!e)return!1;var n,i=l(e.querySelectorAll(".odds-deep-link:not(.placeholder)"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.getAttribute("data-href");o=o.replace("{environment}","desktop"),o+=t,r.href=o}}catch(e){i.e(e)}finally{i.f()}}},{key:"replaceTrackerIdPlaceholder",value:function(e,t){return e.replace("{trackerId}",t)}},{key:"getEnvironment",value:function(){var e="desktop";return this.isTouchDevice()&&(e="mobile"),e}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||window.navigator.maxTouchPoints}},{key:"findPage",value:function(){var e=document.location.pathname,t=document.location.search;return"/de/"===e||"/de/fussball/"===e?"home":e.includes("spielplan")||e.includes("gruppenphase")||e.includes("/red/")?"schedule":t.includes("Preview")?(console.warn("Displaying schedule trackers for Preview mode."),"schedule"):void 0}},{key:"setLogoAndPlaceholderLinks",value:function(e,t){if(!e)return!1;var n,i,r=l(e.querySelectorAll(".odds-deep-link.placeholder, .odds-supplier-logo-link"));try{for(r.s();!(i=r.n()).done;){var o=i.value;n=o.getAttribute("data-href"),o.href=this.replaceTrackerIdPlaceholder(n,t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"hidePlaceholder",value:function(e,t){if(!e)return!1;var n,i=l(e.querySelectorAll(".schedule-body .odds-supplier-quotas."+t));try{for(i.s();!(n=i.n()).done;){var r=n.value;r.querySelector("a")||(r.style.display="none")}}catch(e){i.e(e)}finally{i.f()}}}])&&u(t.prototype,n),i&&u(t,i),e}(),f=n(8);function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function v(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)}}var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pixelHandler=new o.a,this.loader=new r.a,this.areaElement=document.querySelector("section .data-element #contelAreaId"),this.allAjaxUrls=s()("section .data-element #contelAjaxUrl[data-ajax-url]"),this.ajaxUrl=[],this.isSchedulePage=!(this.areaElement&&46===parseInt(this.areaElement.dataset.areaId)),this.oddsLinkMaker=new d,this.intervalLiveSchedule=6e4,this.intervalIds=[],this.shouldInitInterval=[]}var t,n,a;return t=e,(n=[{key:"init",value:function(){var e=this;this.allAjaxUrls.each((function(t,n){e.ajaxUrl.push(n.dataset.ajaxUrl)}));var t,n=h(this.ajaxUrl);try{var i=function(){var n,i=t.value,r="";i.match("\\?contelPageId=[0-9]*")&&(r=i.split("="));var o="#data_"+(n=r[1]),a=document.getElementById("data_".concat(n)),l=new f.a(a,300),c=s()(o+" #eventType").attr("data-event-type");if("undefined"!=typeof competitor)e.initCompetitor(i,n);else if(void 0!==c&&"allEvents"===c){var u=s()(o+" .date-picker").attr("value")||"";"true"==s()(o+" #todayFilter").attr("data-today-filter")&&(u=(u=new Date).toISOString().split("T")[0]),l.then((function(){e.initLoadScheduleByDate(i,n,u)}))}else l.then((function(){e.initLoadSchedule(i,n)}))};for(n.s();!(t=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}}},{key:"initLoadScheduleByDate",value:function(e,t,n){var i=this,r={body:'command=["schedule"]&date='+n};this.loader.load(e,r).then((function(r){i.shouldInitInterval[t]=void 0!==r&&r.success,i.loadScheduleByDate(r.html,n,e,t)})).catch(console.log)}},{key:"initLoadSchedule",value:function(e,t){var n=this,i={body:'command=["select", "schedule"]&doForm='+this.isSchedulePage};this.loader.load(e,i).then((function(i){n.shouldInitInterval[t]=void 0!==i&&i.success,n.loadSelectSchedule(i.html,e,t)})).catch(console.log)}},{key:"initCompetitor",value:function(e,t){var n=this;s()("#data_"+t).html('<form class="data-table-filter-sr" id="form_${contelPageId}"></form>');var i={body:'command=["competitor"]&competitor='+competitor};this.loader.load(e,i).then((function(e){n.loadCompetitor(e.html,t)})).catch(console.log)}},{key:"loadSelectSchedule",value:function(e,t,n){var i="#data_"+n,r=s()(i);r.find("div.datentabelle").first().remove(),r.find("div.manuell-container").first().remove(),r.find("div.paging-container").first().remove(),r.append(e);var o=i+" .schedule",a=document.querySelector(o);this.oddsLinkMaker.setLinks(a),this.oddsLinkMaker.hidePlaceholder(a,"bwin"),this.oddsLinkMaker.hidePlaceholder(a,"happybet"),this.oddsLinkMaker.hidePlaceholder(a,"interwetten"),this.oddsLinkMaker.hidePlaceholder(a,"unibet"),this.oddsLinkMaker.hidePlaceholder(a,"admiral"),this.initEventListener(t,n);var l=0===r.find("div.no-round-data").length,c=s()(i+" #tickerConfig").attr("data-ticker-config");this.shouldInitInterval[n]&&l&&void 0!==c&&""!==c&&(this.initScheduleIntervals(t,n),this.shouldInitInterval[n]=!1)}},{key:"initEventListener",value:function(e,t){var n=s()("#data_"+t+" select.round:first-child"),i=s()("#data_"+t+" select.competitor:first-child"),r=s()("#data_"+t+" .boxarrow-sr"),o=s()("#data_"+t+" .boxarrow-sr i"),a=s()("#data_"+t+" .date-picker");r.on("click",this.loadScheduleAfterPrevNext.bind(this,e,t)),o.on("click",this.loadScheduleAfterPrevNext.bind(this,e,t)),n.on("change",this.changeRoundAfterSelect.bind(this,e,t)),i.on("change",this.changeCompetitorAfterSelect.bind(this,e,t)),a.on("change",this.filterEventsByDate.bind(this,e,t))}},{key:"loadScheduleByDate",value:function(e,t,n,i){var r=s()("#data_"+i);if(this.isSchedulePage){var o=r.find("input[type!=date]"),a=r.find(".heading"),l=r.find("form.data-table-filter-sr");r.html(""),r.append(o),r.append(a),r.append(l),r.append(e)}else r.find("form .date-picker").remove(),r.find("div.datentabelle").first().remove(),r.find("div.manuell-container").first().remove(),r.find(".no-round-data").first().remove(),r.find("div.paging-container").remove(),r.append(e);var c="#data_"+i+" .schedule",u=document.querySelector(c);this.oddsLinkMaker.setLinks(u),this.oddsLinkMaker.hidePlaceholder(u,"bwin"),this.oddsLinkMaker.hidePlaceholder(u,"happybet"),this.oddsLinkMaker.hidePlaceholder(u,"interwetten"),this.oddsLinkMaker.hidePlaceholder(u,"unibet"),this.oddsLinkMaker.hidePlaceholder(u,"admiral");var d=r.find("form .date-picker").attr("value");""===t&&d&&(t=d),r.find(".date-picker").first().val(t),this.initEventListener(n,i);var f=s()("#data_"+i+" #tickerConfig").attr("data-ticker-config");this.shouldInitInterval[i]&&void 0!==f&&""!==f&&(this.initDateFilterIntervals(n,i,t),this.shouldInitInterval[i]=!1)}},{key:"loadSchedule",value:function(e,t,n,i){var r=s()("#data_"+i);r.find("select.competitor").find('option[value="-1"]').prop("selected",!0),r.find("form .date-picker").remove(),r.find("table.datentabelle").first().remove(),r.find("div.datentabelle").first().remove(),r.find("div.manuell-container").first().remove(),r.find("div.paging-container").remove(),r.find("div.no-round-data").first().remove(),r.find("form.data-table-filter-sr").length>0?(r.find("form.data-table-filter-sr").first().after(e),r.find("select.round").first().find("option[value="+t+"]").prop("selected",!0)):r.html(e);var o="#data_"+i+" .schedule",a=document.querySelector(o);this.oddsLinkMaker.setLinks(a),this.oddsLinkMaker.hidePlaceholder(a,"bwin"),this.oddsLinkMaker.hidePlaceholder(a,"happybet"),this.oddsLinkMaker.hidePlaceholder(a,"interwetten"),this.oddsLinkMaker.hidePlaceholder(a,"unibet"),this.oddsLinkMaker.hidePlaceholder(a,"admiral");var l=s()("#data_"+i+" .boxarrow-sr"),c=s()("#data_"+i+" .boxarrow-sr i");l.on("click",this.loadScheduleAfterPrevNext.bind(this,n,i)),c.on("click",this.loadScheduleAfterPrevNext.bind(this,n,i))}},{key:"loadCompetitor",value:function(e,t){var n=s()("#data_"+t);n.find("select.round").find('option[value="-1"]').prop("selected",!0),n.find("table.datentabelle").first().remove(),n.find("div.datentabelle").first().remove(),n.find("div.manuell-container").first().remove(),n.find("div.paging-container").first().remove(),n.find("form.data-table-filter-sr").first().after(e)}},{key:"initScheduleIntervals",value:function(e,t){var n=this;this.intervalIds[t]=setInterval((function(){var r="#data_"+t;if(!s()(r).find(".spinner").length>0){var o=new i.a({top:"145px",position:"relative"}).spin();if(s()(r).prepend(o.el),n.isSchedulePage){var a=s()(r+" select.round option:selected").val(),l=void 0!==a?a:0,c={body:'command=["schedule"]&round='+l};n.loader.load(e,c).then((function(i){o.stop(),n.loadSchedule(i.html,l,e,t)})).catch((function(e){o.stop(),console.log(e)}))}else{var u={body:'command=["select", "schedule"]&doForm='+n.isSchedulePage};n.loader.load(e,u).then((function(i){n.loadSelectSchedule(i.html,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)}))}}}),this.intervalLiveSchedule)}},{key:"initDateFilterIntervals",value:function(e,t,n){var r=this;this.intervalIds[t]=setInterval((function(){var o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+t).prepend(o.el);var a={body:'command=["schedule"]&date='+n+"&doForm="+r.isSchedulePage};r.loader.load(e,a).then((function(i){r.loadScheduleByDate(i.html,n,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)}))}),this.intervalLiveSchedule)}},{key:"handleRoundIntervals",value:function(e,t,n){var r=this;clearInterval(this.intervalIds[n]),this.intervalIds[n]=setInterval((function(){var o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+n).prepend(o.el);var a={body:'command=["schedule"]&round='+e};r.loader.load(t,a).then((function(i){o.stop(),r.loadSchedule(i.html,e,t,n)})).catch((function(e){o.stop(),console.log(e)}))}),this.intervalLiveSchedule)}},{key:"handleDateIntervals",value:function(e,t,n){var r=this;clearInterval(this.intervalIds[n]),this.intervalIds[n]=setInterval((function(){var o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+n).prepend(o.el);var a={body:'command=["schedule"]&date='+e};r.loader.load(t,a).then((function(i){o.stop(),r.loadScheduleByDate(i.html,e,t,n)})).catch((function(e){o.stop(),console.log(e)}))}),this.intervalLiveSchedule)}},{key:"changeRoundAfterSelect",value:function(e,t,n){var r=this,o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+t).prepend(o.el);var a=void 0!==n.target.value?n.target.value:0,l={body:'command=["schedule"]&round='+a};this.loader.load(e,l).then((function(n){r.loadSchedule(n.html,a,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)})),this.handleRoundIntervals(a,e,t)}},{key:"changeCompetitorAfterSelect",value:function(e,t,n){var r=this;clearInterval(this.intervalIds[t]);var o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+t).prepend(o.el);var a={body:'command=["competitor"]&competitor='+(void 0!==n.target.value?n.target.value:0)};this.loader.load(e,a).then((function(e){r.loadCompetitor(e.html,t),o.stop()})).catch((function(e){o.stop(),console.log(e)}))}},{key:"filterEventsByDate",value:function(e,t,n){var r=this,o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+t).prepend(o.el);var a=n.target.value,l={body:'command=["schedule"]&date='+a};this.loader.load(e,l).then((function(n){r.loadScheduleByDate(n.html,a,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)})),this.handleDateIntervals(a,e,t)}},{key:"loadScheduleAfterPrevNext",value:function(e,t,n){var r=this,o=new i.a({top:"145px",position:"relative"}).spin();s()("#data_"+t).prepend(o.el);var a=s()(n.target);-1!==a.parent().prop("className").indexOf("boxarrow-sr")&&(n.stopPropagation(),a=s()(a.parent()));var l=a.attr("data-round"),c=a.attr("data-date"),u={};void 0!==l?(u={body:'command=["schedule"]&round='+l},this.loader.load(e,u).then((function(n){r.loadSchedule(n.html,l,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)})),this.handleRoundIntervals(l,e,t)):void 0!==c?(u={body:'command=["schedule"]&date='+c},this.loader.load(e,u).then((function(n){r.loadScheduleByDate(n.html,c,e,t),o.stop()})).catch((function(e){o.stop(),console.log(e)})),this.handleDateIntervals(c,e,t)):o.stop()}}])&&v(t.prototype,n),a&&v(t,a),e}()},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n(5),r=n(2),o=n(31),a=n.n(o);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function d(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)}}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.votingSelector=".trend.start",this.loader=new i.a,this.pixelHandler=new r.a}var t,n,o;return t=e,(n=[{key:"init",value:function(){this.votings=document.querySelectorAll(this.votingSelector),this.votings.length&&(this.showResultsIfVoted(),this.addEventListeners())}},{key:"showResultsIfVoted",value:function(){var e,t=this,n=l(this.votings);try{var i=function(){var n=e.value,i=t.getContelPageId(n.id);if(a.a.get("voting_"+i)){var r=n.getAttribute("data-votingurl");t.loader.load(r,{body:"voteStanding=true"}).then((function(e){console.log("request"),t.getVotingResult(n,e)})).catch(console.log)}};for(n.s();!(e=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}}},{key:"getContelPageId",value:function(e){return e.replace("abstimmung_","")}},{key:"addEventListeners",value:function(){var e,t=this,n=l(this.votings);try{var i=function(){var n=e.value,i=n.querySelector(".zwischenstand"),r=n.querySelector(".backToVoting"),o=n.querySelector(".voting"),s=n.getAttribute("data-votingurl"),c=t.getContelPageId(n.id);if(!i)return"continue";i.addEventListener("click",(function(){t.callPixel("voting/zwischenstand"),t.loader.load(s,{body:"voteStanding=true"}).then((function(e){t.getVotingResult(n,e),n.querySelector('.backToVoting[data-contelpageid="'.concat(c,"]")).style.display="block"})).catch(console.log)})),r.addEventListener("click",(function(){t.callPixel("voting/backtovoting"),r.style.display="none";var e=n.querySelector(".trend-content");e.querySelector("ul.trend-antworten").style.display="block",e.querySelector("[type=radio]").style.display="block",e.querySelector("ul.trend-ergebnis").style.display="none",e.querySelector(".voting,.zwischenstand").style.display="block"})),o.addEventListener("click",(function(){if(t.callPixel("voting/vote"),!a.a.get("voting_"+c)){var e,i=l(n.querySelectorAll('.antworten input[type="radio"]'));try{var r=function(){var i=e.value;if(!i.checked)return"continue";var r=i.getAttribute("data-value"),o={body:"vote=".concat(r)};t.loader.load(s,o).then((function(e){!0===e.correct&&(t.getVotingResult(n,e),a.a.set("voting_"+c,r))})).catch(console.log)};for(i.s();!(e=i.n()).done;)r()}catch(e){i.e(e)}finally{i.f()}}}))};for(n.s();!(e=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}}},{key:"callPixel",value:function(e){var t="Community/ForenUndChats/Trend",n=this.pixelHandler.getCategory();"undefined"!=typeof LAOLA1AppJSInterface&&"function"==typeof LAOLA1AppJSInterface.sendPixelWithEventActionCategoryLabelAndOEWA?LAOLA1AppJSInterface.sendPixelWithEventActionCategoryLabelAndOEWA("event","pageLoaded",n,e,t):(this.pixelHandler.callPixel("ivw","ready",t),"voting/showResult"===e&&"array"==typeof dataLayer&&dataLayer.push({event:"l1GetVotingResult"}))}},{key:"getVotingResult",value:function(e,t){if(this.callPixel("voting/showResult"),void 0!==t.answers){e.querySelector("ul.trend-antworten").style.display="none";var n=e.querySelector("ul.trend-ergebnis");n.style.display="block";var i=parseInt(t.sumVotes);Object.entries(t.answers).forEach((function(e){var t=s(e,2),r=t[0],o=t[1],a=i>0?o/i*100:0,l=Math.round(a)+"%",c='data-answer="'.concat(r,'"');n.querySelector(".wert[".concat(c,"]")).innerHTML=l,n.querySelector(".balken[".concat(c,"]")).querySelector("div").style.width=l})),e.querySelectorAll("input").forEach((function(e){e.style.display="none"}))}}}])&&d(t.prototype,n),o&&d(t,o),e}()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n(0),r=n.n(i),o=n(5),a=n(1),s=n(8);function l(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)}}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){document.querySelector(".masonry")&&(window.addEventListener("resize",this.resizeTimeOut.bind(this)),this.resizeAllMasonryItems(),this.waitForImages())}},{key:"resizeTimeOut",value:function(){this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(this.resizeAllMasonryItems.bind(this),200)}},{key:"resizeMasonryItem",value:function(e){var t=document.getElementsByClassName("masonry")[0];if(t){var n=parseInt(window.getComputedStyle(t).getPropertyValue("grid-row-gap")),i=parseInt(window.getComputedStyle(t).getPropertyValue("grid-auto-rows")),r=Math.ceil((e.querySelector(".masonry-content").getBoundingClientRect().height+n)/(i+n));e.style.gridRowEnd="span "+r}}},{key:"resizeAllMasonryItems",value:function(){var e=document.querySelectorAll(".masonry-item");if(e)for(var t=0;t<e.length;t++)this.resizeMasonryItem(e[t])}},{key:"waitForImages",value:function(){var e=this,t=document.querySelectorAll(".masonry-item");if(t)for(var n=function(n){var i=t[n],r=i.querySelector("img");r&&r.addEventListener("load",function(){this.resizeMasonryItem(i),console.log("Waiting for Images")}.bind(e))},i=0;i<t.length;i++)n(i)}}])&&l(t.prototype,n),i&&l(t,i),e}(),u=n(36),d=n(4);function f(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)}}var h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.socialWallSelector=".l1-social-wall",this.loader=new o.a,this.L1User=window.L1User}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this,t=document.querySelectorAll(this.socialWallSelector);if(t.length)for(var n=function(n){var i=t[n];new s.a(t[n],200).then((function(){e.loadSocialWall(i)}))},i=0;i<t.length;i++)n(i)}},{key:"loadSocialWall",value:function(e){var t=this,n=e.dataset.ajaxUrl,i=e.dataset.count;if(n){var o={body:"command=generate_posts&count="+i},s=new a.a({top:"50px",left:"50%",position:"relative"}).spin();r()(e).parent().prepend(s.el),this.loader.load(n,o).then((function(n){s.stop(),t.insertHtml(e,n.html)})).catch(console.log)}}},{key:"insertHtml",value:function(e,t){e.innerHTML=t,this.setTimeStamps(e),this.addVideos(),(new c).init(),(new u.a).init(r()(this.socialWallSelector)),this.initSlider(e)}},{key:"setTimeStamps",value:function(e){var t=e.querySelectorAll(".date"),n=this;t.forEach((function(e){e.textContent=n.L1User.timeSince(1e3*e.dataset.timestamp)})),setTimeout(this.setTimeStamps.bind(this),6e4,e)}},{key:"addVideos",value:function(){document.querySelectorAll(".thumbnail").forEach((function(e){e.parentElement.addEventListener("click",(function(t){var n=e.parentElement,i=e.dataset.videourl;n.innerHTML="<video controls autoplay name='media' style='width: 100%;'><source src='"+i+"' type='video/mp4'></video>"}))}))}},{key:"initSlider",value:function(e){var t=e.parentElement.querySelector(".keen-slider");t&&new d.a(t,{spacing:10,nextButton:e.parentElement.querySelector(".swiper-button-next"),prevButton:e.parentElement.querySelector(".swiper-button-prev"),duration:800,lazy:!0,lookahead:1,breakpoints:{"(min-width: 0px)":{slidesPerView:1.5,mode:"snap"},"(min-width: 520px)":{slidesPerView:2,mode:"snap"},"(min-width: 750px)":{slidesPerView:3,mode:"snap"},"(min-width: 950px)":{slidesPerView:2.5,mode:"snap"},"(min-width: 1130px)":{slidesPerView:3,mode:"snap"},"(min-width: 1250px)":{slidesPerView:2.5,mode:"snap"},"(min-width: 1400px)":{slidesPerView:3,mode:"snap"}}})}}])&&f(t.prototype,n),i&&f(t,i),e}()},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(4),r=n(2),o=n(0),a=n.n(o);function s(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)}}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pixelHandler=new r.a,this.diashowBaseSelector=".diashow-center",this.$diashowContainer=a()(this.diashowBaseSelector)}var t,n,o;return t=e,(n=[{key:"init",value:function(){var e=this.$diashowContainer.find("[class^='swiper-container-']");if(e.length){this.contelPageId=a()("section .diashow #contelPageId")[0].dataset.contelpageid;var t=e.first().attr("class").split("swiper-container-")[1];this.initSlider(t),this.$diashowContainer.find("#switcher-nav-"+this.contelPageId+".switcher-nav a").on("click",this.switchDiaShow.bind(this))}}},{key:"initSlider",value:function(e){var t=this.diashowBaseSelector+" .swiper-container-"+e,n=this.$diashowContainer.find(".switcher-wrapper");this.swiper=new i.a(document.querySelector(t+" .diashow-container"),{nextButton:document.querySelector(t+" .diashow-next"),prevButton:document.querySelector(t+" .diashow-prev"),lazy:!0,duration:1e3,slidesPerView:1,spacing:10,mode:"snap",onSlideChange:this.callPixelOnNavigation(n)}),this.renderSwiperButtons(e)}},{key:"switchDiaShow",value:function(e){var t=a()(e.delegateTarget),n=t.attr("data-pageid");this.toggleSwitcherNavElements(t),this.toggleDiaShowContainer(n),this.generateNewSwiper(n),this.callPixelOnDiashow(t.find("h2").text())}},{key:"toggleSwitcherNavElements",value:function(e){this.$diashowContainer.find("#switcher-nav-"+this.contelPageId+" li").removeClass("active"),e.parent().addClass("active")}},{key:"toggleDiaShowContainer",value:function(e){this.$diashowContainer.find("#switcher-wrapper-"+this.contelPageId+" div.diashow-container").hide(),this.$diashowContainer.find("#diashow-container-"+this.contelPageId+"-"+e).show()}},{key:"renderSwiperButtons",value:function(e){var t=this.$diashowContainer.find(".swiper-arrow"),n=this.diashowBaseSelector+" .swiper-container-";t.hide(),a()(n+e+" .diashow-prev").show(),a()(n+e+" .diashow-next").show()}},{key:"generateNewSwiper",value:function(e){this.swiper.destroy(),this.initSlider(e)}},{key:"callPixelOnDiashow",value:function(e){this.pixelHandler.callPixel("ivw","ready","RedCont/Homepage/Diashowbox/")}},{key:"callPixelOnNavigation",value:function(e){this.pixelHandler.callPixel("ivw","diashow",e)}}])&&s(t.prototype,n),o&&s(t,o),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(1),r=n(0),o=n.n(r),a=n(8),s=n(36);function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(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)}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.identifier="tagnews_"}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=document.querySelectorAll(".lazy-tag-news");e.length&&this.loadLanes(e)}},{key:"loadLanes",value:function(e){var t,n=this,i=l(e);try{var r=function(){var e=t.value;new a.a(e,250).then(function(){this.loadLane(e)}.bind(n))};for(i.s();!(t=i.n()).done;)r()}catch(e){i.e(e)}finally{i.f()}}},{key:"loadLane",value:function(e){var t=e.dataset.contelPageId,n=e.dataset.ajaxurl,r=e.dataset.tagid,a=e.dataset.pageid,l=e.dataset.page,c=e.dataset.count,u={cmd:"getHtmlForTag",tagId:r,pageId:a,template:"teaser",page:l,contelPageId:t};c&&(u.count=c);var d=e.parentElement;o.a.ajax({url:n,type:"POST",data:u,dataType:"json",beforeSend:function(){var t=new i.a({position:"relative"}).spin();o()(e).find(".spinner").after(t.el)},success:function(t,n){o()(e).replaceWith(t.html)},complete:function(t,n){o()(e).find(".spinner").remove(),(new s.a).init(o()(d))}})}}])&&u(t.prototype,n),r&&u(t,r),e}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n(164),e.exports=n(98)},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(28);var i=n(10),r=n(56),o=n(32),a=n(2),s=n(0),l=n.n(s);function c(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)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$newsContainer=document.querySelector(".newsbox-container"),this.visibleNewsItemsResponsive=10,this.responsiveWidth=640,this.pixelHandler=new a.a}var t,n,i;return t=e,(n=[{key:"init",value:function(){this.$newsContainer&&(l()(".tippteaser").length&&l()(this.$newsContainer).removeClass("inner3").addClass("inner2"),this.$newsListContainer=this.$newsContainer.querySelector("ul.newslist"),this.$newsListContainer&&(this.$moreNewsButton=this.$newsContainer.querySelector(".more-news"),this.$newsItems=this.$newsListContainer.querySelectorAll('li:not([style*="display:none"])'),window.innerWidth>this.responsiveWidth?this.initDefaultScrolling():this.initResponsiveScrolling()))}},{key:"initDefaultScrolling",value:function(){this.filterOnClick(l()(this.$newsContainer),l()(this.$newsListContainer))}},{key:"initResponsiveScrolling",value:function(){this.expandNewsOnClick(this.$newsContainer,this.$newsListContainer,this.$newsItems,this.$moreNewsButton)}},{key:"expandNewsOnClick",value:function(e,t,n,i){var r=this;if(!n.length)return!1;var o=n[0].offsetHeight,a=o*this.visibleNewsItemsResponsive+.45*o,s=o*this.visibleNewsItemsResponsive,l=o*n.length,c=a;t.style.height=a+"px",i.addEventListener("click",(function(){c+s<l?(c+=s,r.expandNewsView(t,c)):(c=l,r.expandNewsView(t,c,(function(){i.style.display="none",t.style.height="auto",e.querySelector(".newsbox").style.marginBottom="0"})))}))}},{key:"expandNewsView",value:function(e,t,n){l()(e).animate({height:t},500,"swing",n)}},{key:"filterOnClick",value:function(e,t){var n=this,i=e.find(".filterliste");i.length&&i.find("a").on("click",(function(i){var r=l()(i.target),o=r.data("filter");void 0===o&&(o=r.parent().data("filter")),e.find(".filterliste li").removeClass("active"),r.parent().addClass("active"),n.callPixelFor(o),t.find("li").hide(),"alle"===o?t.find("li:lt(30)").show():t.find('li[data-filter="'+o+'"]').show()}))}},{key:"callPixelFor",value:function(e){this.pixelHandler.callPixel("ivw","ready","RedCont/Homepage/Newsbox/"+e+"/")}}])&&c(t.prototype,n),i&&c(t,i),e}(),d=n(27),f=n(57),h=n(38),p=n(40),v=n(14),m=n(12),y=n(19),g=n(18),b=n(39),w=n(45),k=n(22),S=n(21),C=n(36),x=n(3),P=n.n(x);function A(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)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=document.getElementById("daznwidget");e&&"DIV"===e.tagName&&e.getAttribute("src")&&P()({url:e.getAttribute("src"),attrs:{charset:"utf8"}})}}])&&A(t.prototype,n),i&&A(t,i),e}(),L=n(17),I=n(47);new i.a({L1LiveLane:o.a,L1ImageLazyLoader:C.a,L1User:m.a,L1NavigationV2:v.a,L1Pixel:a.a,ScrollDepthMeasurementPixel:S.a,L1Topics:h.a,L1Schedule:p.a,L1NewsBox:u,L1Postings:d.a,L1Diashow:r.a,L1TagTeaserLane:f.a,L1CleverPush:y.a,L1Dsgvo:g.a,L1Videos:b.a,L1Meinung:w.a,Tracker:k.a,DaznWidget:_,L1SocialWall:I.a,ProgressiveWebApp:L.a})}]);