(function(){BamAppVars={"deviceoutput":"desktop","devicetype":"desktop","tid1":"CH24_T_PSS_DTI","gtm\/areaId":"vergleichsergebnis.html","sessionId":"790b70665551045deb6b698f6950b539","submittedFormViaUrl":"","env":{"isProduction":!0,"isTesting":!1,"isDevelopment":!1,"isDebug":!1},"unifiedLogin":{"env":"prod","product":"dsl","socialLoginClosingUrl":"https:\/\/www.check24.de\/dsl\/ext\/services\/sociallogin\/?backlink=https%3A%2F%2Fwww.check24.de%2Fdsl%2Fext%2Fholding%2Fhometeaser%2F","socialLoginCallbackUrl":"https:\/\/www.check24.de\/dsl\/ext\/holding\/hometeaser\/","socialLoginBaseUrl":"https:\/\/kundenbereich.check24.de\/"},"chatty":{"isActive":!0,"jsConfig":"{\"isActive\":true,\"deviceoutput\":\"desktop\",\"default\":{\"chattyVersion\":\"2023-1-9\",\"env\":\"prod\",\"onDemand\":true,\"type\":\"chatty\",\"name\":\"dslChattyDefault\",\"deviceoutput\":\"desktop\",\"contact\":{\"layer\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\",\"name\":\"Lara\",\"title\":\"Ihre CHECK24 Beratung\",\"subtitle\":\"Ihre digitale Chat-Assistentin\",\"openChatText\":\"Chat starten\",\"contactLink\":\"https:\\\/\\\/www.check24.de\\\/unternehmen\\\/kontakt\\\/?sec=dsl\"},\"button\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\"}},\"chatbot\":{\"env\":\"prod\",\"deviceoutput\":\"desktop\",\"forceNewSession\":true,\"contact\":{\"layer\":{\"active\":false},\"button\":{\"active\":false}},\"client\":{\"controlServerAddress\":\"https:\\\/\\\/api.chat.check24.de\",\"chatFlowName\":\"dsl.dsl_chatbot\",\"chatFlowRelease\":\"active\",\"chatFlowEntry\":\"start\"}}},\"activity\":{\"chattyVersion\":\"2023-1-9\",\"env\":\"prod\",\"onDemand\":true,\"type\":\"chatty\",\"name\":\"dslChattyActivity\",\"deviceoutput\":\"desktop\",\"contact\":{\"layer\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\",\"name\":\"Lara\",\"title\":\"Ihre CHECK24 Beratung\",\"subtitle\":\"Ihre digitale Chat-Assistentin\",\"openChatText\":\"Chat starten\",\"contactLink\":\"https:\\\/\\\/www.check24.de\\\/unternehmen\\\/kontakt\\\/?sec=dsl\"},\"button\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\"}},\"chatbot\":{\"env\":\"prod\",\"deviceoutput\":\"desktop\",\"forceNewSession\":true,\"contact\":{\"layer\":{\"active\":false},\"button\":{\"active\":false}},\"client\":{\"controlServerAddress\":\"https:\\\/\\\/api.chat.check24.de\",\"chatFlowName\":\"dsl.dsl_chatbot\",\"chatFlowRelease\":\"active\",\"chatFlowEntry\":\"start_activity\"}}},\"message\":{\"chattyVersion\":\"2023-1-9\",\"env\":\"prod\",\"onDemand\":true,\"type\":\"chatty\",\"name\":\"dslChattyMessage\",\"deviceoutput\":\"desktop\",\"contact\":{\"layer\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\",\"name\":\"Lara\",\"title\":\"Ihre CHECK24 Beratung\",\"subtitle\":\"Ihre digitale Chat-Assistentin\",\"openChatText\":\"Chat starten\",\"contactLink\":\"https:\\\/\\\/www.check24.de\\\/unternehmen\\\/kontakt\\\/?sec=dsl\"},\"button\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\"}},\"chatbot\":{\"env\":\"prod\",\"deviceoutput\":\"desktop\",\"forceNewSession\":true,\"contact\":{\"layer\":{\"active\":false},\"button\":{\"active\":false}},\"client\":{\"controlServerAddress\":\"https:\\\/\\\/api.chat.check24.de\",\"chatFlowName\":\"dsl.dsl_chatbot\",\"chatFlowRelease\":\"active\",\"chatFlowEntry\":\"start_message\"}}},\"callback\":{\"chattyVersion\":\"2023-1-9\",\"env\":\"prod\",\"onDemand\":true,\"type\":\"chatty\",\"name\":\"dslChattyCallback\",\"deviceoutput\":\"desktop\",\"contact\":{\"layer\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\",\"name\":\"Lara\",\"title\":\"Ihre CHECK24 Beratung\",\"subtitle\":\"Ihre digitale Chat-Assistentin\",\"openChatText\":\"Chat starten\",\"contactLink\":\"https:\\\/\\\/www.check24.de\\\/unternehmen\\\/kontakt\\\/?sec=dsl\"},\"button\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\"}},\"chatbot\":{\"env\":\"prod\",\"deviceoutput\":\"desktop\",\"forceNewSession\":true,\"contact\":{\"layer\":{\"active\":false},\"button\":{\"active\":false}},\"client\":{\"controlServerAddress\":\"https:\\\/\\\/api.chat.check24.de\",\"chatFlowName\":\"dsl.dsl_chatbot\",\"chatFlowRelease\":\"active\",\"chatFlowEntry\":\"start_callback\"}}},\"handInLater\":{\"chattyVersion\":\"2023-1-9\",\"env\":\"prod\",\"onDemand\":true,\"type\":\"chatty\",\"name\":\"dslChattyHandInLater\",\"deviceoutput\":\"desktop\",\"contact\":{\"layer\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\",\"name\":\"Lara\",\"title\":\"Ihre CHECK24 Beratung\",\"subtitle\":\"Ihre digitale Chat-Assistentin\",\"openChatText\":\"Chat starten\",\"contactLink\":\"https:\\\/\\\/www.check24.de\\\/unternehmen\\\/kontakt\\\/?sec=dsl\"},\"button\":{\"img\":\"https:\\\/\\\/www.check24.de\\\/dsl\\\/filestore\\\/img\\\/dsl-chatbot_200x200.jpg\"}},\"chatbot\":{\"env\":\"prod\",\"deviceoutput\":\"desktop\",\"forceNewSession\":true,\"contact\":{\"layer\":{\"active\":false},\"button\":{\"active\":false}},\"client\":{\"controlServerAddress\":\"https:\\\/\\\/api.chat.check24.de\",\"chatFlowName\":\"dsl.dsl_chatbot\",\"chatFlowRelease\":\"active\",\"chatFlowEntry\":\"start_missing\"}}}}"},"cookieDomain":".check24.de","currentReleaseTag":"r20230524-141852","threadLoaderPath":"\/dsl\/ext\/holding\/hometeaser\/"};function requireBamService(requiredService,callback){requireBamService.stack=requireBamService.stack||{};requireBamService.stack[requiredService]=requireBamService.stack[requiredService]||[];requireBamService.stack[requiredService].push(callback)}
BamConsole=(function(){return{log:function(){console.log(arguments)},error:function(){console.error(arguments)},info:function(){console.info(arguments)},warn:function(){console.warn(arguments)}}})();var BamElementStorage=(function(){var _storageStack={};function elementStorageManager(element){elementStorageManager.uuid=elementStorageManager.uuid||0;if(!element._bamstoreuuid){element._bamstoreuuid="bt"+(++elementStorageManager.uuid)}
if(!_storageStack[element._bamstoreuuid]){_storageStack[element._bamstoreuuid]=new BamStorage()}
return _storageStack[element._bamstoreuuid]}
function BamStorage(){var _stack={};this.get=function(k){return _stack[k]};this.set=function(k,v){_stack[k]=v;return this}}
return elementStorageManager})();var BamHistory=(function(){function _injectHistoryData(){}
function _createHistoryData(){return{}}
function BamHistory(){}
BamHistory.prototype={push:function(url){history.pushState(_createHistoryData("push"),"",url);return this},replace:function(url){history.replaceState(_createHistoryData("replace"),"",url);return this},redirect:function(url){if(!url){_injectHistoryData("reload");locationReload()}else{_injectHistoryData("redirect");location.href=url}
return this}};return new BamHistory})();BamMessageBroker=(function(){function Dispatcher(elementBinding){this._needElementBinding=!!elementBinding;this._listenerStack={};this._elementStack={};this._timeShiftStack={};this._waitForListener={};this._onceStack={}}
Dispatcher.prototype={_listenerStack:null,_elementStack:null,_timeShiftStack:null,_waitForListener:null,_onceStack:null,_needElementBinding:!1,_executeDelay:500,waitForListenerRegistration:function(listenerName,callbackFunction){if(this._listenerStack.hasOwnProperty(listenerName)===!0){callbackFunction();return this}else if(this._waitForListener.hasOwnProperty(listenerName)===!1){this._waitForListener[listenerName]=[]}
this._waitForListener[listenerName].push(callbackFunction);return this},addListener:function(){this.on.apply(this,arguments);return this},on:function(listenerName,callbackFunction){var data=this._ensureData.apply(this,arguments);if(data===!1){return this}
data.callback=callbackFunction;if(!this._listenerStack.hasOwnProperty(listenerName)){this._listenerStack[listenerName]=[];if(this._needElementBinding===!0){this._elementStack[listenerName]=[]}}
if(this._isCallbackRegistered(this._listenerStack[listenerName],data)!==-1){BamConsole.error("Double listener registration, check your code",arguments);return this}
if(this._needElementBinding===!0){this._elementStack[listenerName].push(data.element);delete data.element}
this._listenerStack[listenerName].push(data);this._executeWaitForListener(listenerName)._executeAndClearTimeShiftStack(listenerName,callbackFunction,data);return this},once:function(listenerName,callbackFunction,thisArg){var elementState=this._needElementBinding,data;this._needElementBinding=!1;data=this._ensureData.apply(this,arguments);this._needElementBinding=elementState;if(data===!1){return this}
data.callback=callbackFunction;if(!this._onceStack.hasOwnProperty(listenerName)){this._onceStack[listenerName]=[]}
if(this._isCallbackRegistered(this._onceStack[listenerName],data)!==-1){BamConsole.error("Double listener registration in once stack, check your code",arguments);return this}
this._onceStack[listenerName].push(data);this._executeWaitForListener(listenerName)._executeAndClearTimeShiftStack(listenerName,callbackFunction,data);return this},removeListener:function(){this.off.apply(this,arguments);return this},send:function(){this.emit.apply(this,arguments);return this},emit:function(listenerName){var arg=[].slice.call(arguments,1),rebuildElementStack=[],rebuildListenerStack=[],listenerStack=this._listenerStack[listenerName],onceStack=this._onceStack[listenerName],elementStack=this._elementStack[listenerName],params;this._timeShiftStack[Date.now()]={listener:listenerName,arg:arg,};if(listenerStack){for(var i=0;i":elements=[document.createElement("td")];break;case "
":elements=[document.createElement("tr")];break;case " | ":elements=[document.createElement("th")];break;default:var frag=range.createContextualFragment(selector);if(typeof frag.children==="undefined"){frag=frag.childNodes}else{frag=frag.children}
elements=Array.from(frag)}}else{elements=Array.from(document.querySelectorAll(selector))}}else if(!0===selector instanceof HTMLElement){elements.push(selector)}else if(!0===selector instanceof BamSelector){return selector}else if(Array.isArray(selector)){elements=selector}else if(selector instanceof NodeList){elements=Array.prototype.slice.call(selector)}else if(typeof selector==="object"){elements.push(selector)}
return new BamSelector.prototype.init(elements)};$.prototype=Object.create(Array.prototype);$.fn=$.prototype;$.fn.constructor=$;$.fn.addClass=function(cssClass){cssClass=cssClass.split(" ");var i,max=cssClass.length;if(undefined===cssClass){return this}
$.each(this,function(){for(i=0;i0?this[0].innerHTML:undefined}
this.each(function(){this.innerHTML=html});return this};$.fn.init=function(element){Array.call(this);Object.defineProperty(this,"length",{enumerable:!1,writable:!0});if(undefined!==element){this.push.apply(this,element)}
return this};$.fn.init.prototype=$.fn;$.fn.insertAfter=function(v){v[0].parentNode.insertBefore(this[0],v[0].nextSibling);return this};$.fn.off=function(event,selector,callback){if(typeof selector!=="string"){callback=selector;selector=null}else if(selector==="body"){selector=null}
var i,iMax,j,jMax,k,kMax,l,lMax,namespaces,events=event.split(" "),element;for(i=0,iMax=events.length;i0){var match;for(l=0,lMax=namespaces.length;l-1){break}}
if(match===-1){continue}}
element.removeEventListener(event,intData[k].lc);intData[k]=null}
__internalEventData(element,"events",intData)}}
return this};$.fn.offset=function(){var doc=document.documentElement,pageOffsetY=(window.pageYOffset||doc.scrollTop)-(doc.clientTop||0),pageOffsetX=(window.pageXOffset||doc.scrollLeft)-(doc.clientLeft||0),calcObject=this[0].getBoundingClientRect();return{"top":calcObject.top+pageOffsetY,"left":calcObject.left+pageOffsetX}};$.fn.on=function(event,selector,callback){if(typeof selector!=="string"){callback=selector;selector=null}else if(selector==="body"){selector=null}
var i,iMax,namespaces,j,jMax,events=event.split(" "),element;for(i=0,iMax=events.length;i0?this[0].innerHTML:undefined}
this.each(function(){this.innerText=text});return this};$.fn.toggle=function(val){return val?this.show():this.hide()};$.fn.val=function(val){if(arguments.length===0){if(this[0]){return this[0].value}
return}
$.each(this,function(){this.value=val});return this};return $})();function BamResponse(response){this._response=response;this._status=0;try{if(response.responseType!=="json"){this._json=JSON.parse(response.response)}else{this._json=response.response}
if(!isNaN(this._json.status)&&this._json.message!==undefined&&this._json.data!==undefined){this._status=this._json.status;this._json=this._json.data}else{this._status=this._response.status}}catch(Error){this._json={};console.error(Error,response.response)}}
BamResponse.prototype={isError:function(){return!this.isValid()},getData:function(key){if(key){var keys=key.split("/");var tmp=this._json;for(var i=0,max=keys.length;i0){name+="["+nameArrayCopy.join("][")+"]"}
preparedResult.push([name,value])}
return preparedResult}
function bamInjectFieldDataToArray(field,data){var i1=0,i,iMax,j,jMax,i2=0,max2,dataReference,nameKeys,key,value,option,fieldName,addDataIsArray,keysAddData,additionalSubmitData;if(undefined===field.value&&field.dataset&&field.dataset.value){value=field.dataset.value}else{value=field.value}
if(field.dataset&&field.dataset.bamAdditionalSubmitData){additionalSubmitData=JSON.parse(field.dataset.bamAdditionalSubmitData);addDataIsArray=additionalSubmitData instanceof Array;if(addDataIsArray){iMax=additionalSubmitData.length}else{keysAddData=Object.keys(additionalSubmitData);iMax=keysAddData.length}
for(i=0;i0){key=key.substring(0,key.length-1).trim()}else{key=key.replace(/ /g,"_")}
key=bamDetermineKeyForObject(dataReference,key);if(undefined===dataReference[key]){dataReference[key]={}}
if(i2===max2-1){dataReference[key]=value}else{dataReference=dataReference[key]}}}
return data}
function bamFormToArray(form){var i1=0,j,jMax,i2=0,field,elements,max1,max2,data={},dataReference,nameKeys,key,value,option,fieldName;if(form instanceof Array){elements=form}else{elements=form.elements}
max1=elements.length;for(i1=0;i10){continue}
data=bamInjectFieldDataToArray(field,data)}
return _checkArrayCast(data)}
function _checkArrayCast(data){if(!(data instanceof Object)){return data}
var forcedArray=[],key,i,max,keys=Object.keys(data);for(i=0,max=keys.length;i0?1:-1)*Math.floor(Math.abs(number))};var maxSafeInteger=Math.pow(2,53)-1;var toLength=function(value){var len=toInteger(value);return Math.min(Math.max(len,0),maxSafeInteger)};return function from(arrayLike){var C=this;var items=Object(arrayLike);if(arrayLike==null){throw new TypeError('Array.from requires an array-like object - not null or undefined')}
var mapFn=arguments.length>1?arguments[1]:void undefined;var T;if(typeof mapFn!=='undefined'){if(!isCallable(mapFn)){throw new TypeError('Array.from: when provided, the second argument must be a function')}
if(arguments.length>2){T=arguments[2]}}
var len=toLength(items.length);var A=isCallable(C)?Object(new C(len)):new Array(len);var k=0;var kValue;while(k10){clearInterval(interval)}
if(!document.body){return}
clearInterval(interval);if(document.body.classList.contains("edge")||document.body.classList.contains("ie11")){window.getIE11CSSPath=function(el){if(!(el instanceof Element)){return}
var path=[];while(el.nodeType===Node.ELEMENT_NODE){var selector=el.nodeName.toLowerCase();if(el.id){selector+='#'+el.id;path.unshift(selector);break}else{var sib=el,nth=1;while(sib=sib.previousElementSibling){if(sib.nodeName.toLowerCase()===selector){nth++}}
if(nth!==1){selector+=":nth-of-type("+nth+")"}}
path.unshift(selector);el=el.parentNode}
return path.join(" > ")}}},100)})();if(!Element.prototype.replaceWith){Element.prototype.replaceWith=function replaceWith(replace){if(this.parentNode){this.parentNode.replaceChild(replace,this)}}}(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('prepend')){return}
Object.defineProperty(item,'prepend',{configurable:!0,enumerable:!0,writable:!0,value:function prepend(){var argArr=Array.prototype.slice.call(arguments),docFrag=document.createDocumentFragment();argArr.forEach(function(argItem){var isNode=argItem instanceof Node;docFrag.appendChild(isNode?argItem:document.createTextNode(String(argItem)))});this.insertBefore(docFrag,this.firstChild)}})})})([Element.prototype,Document.prototype,DocumentFragment.prototype]);(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('after')){return}
Object.defineProperty(item,'after',{configurable:!0,enumerable:!0,writable:!0,value:function after(){var argArr=Array.prototype.slice.call(arguments),docFrag=document.createDocumentFragment();argArr.forEach(function(argItem){var isNode=argItem instanceof Node;docFrag.appendChild(isNode?argItem:document.createTextNode(String(argItem)))});this.parentNode.insertBefore(docFrag,this.nextSibling)}})})})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);if(!NodeList.prototype.forEach){NodeList.prototype.forEach=function(){Array.from(this).forEach.apply(this,arguments)}}
if(!HTMLElement.prototype.append){HTMLElement.prototype.append=function(child){if(child instanceof HTMLElement){this.appendChild(child)}
return this}}
if(!Array.prototype.find){Object.defineProperty(Array.prototype,"find",{enumerable:!1,value:function(predicate){if(this==null){throw new TypeError('Array.prototype.find called on null or undefined')}
if(typeof predicate!=='function'){throw new TypeError('predicate must be a function')}
var list=Object(this);var length=list.length>>>0;var thisArg=arguments[1];var value;for(var i=0;i',days=["Mo","Di","Mi","Do","Fr","Sa","So"],months=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],bamCalendarBodyClose="click.bamCalendarBodyClose touchend.bamCalendarBodyClose";return function(HTMLElement,options){var $monthSelect,$yearSelect,$table,$field,$parentContainer,optionMinDate,optionMaxDate,disabledDays,optionInitDate,closeCallback,disabled,disabledLabels,i,max,init=!1,initBodyClick=!1;function showCalender(){!1===init&&(function(){$yearSelect=createElement("select","select").on("change",function(){prepareUpdateTable()}),$monthSelect=createElement("select","select").on("change",function(){prepareUpdateTable()}),$parentContainer=createElement("div","dp");var i,max,$yearSelectContainer=createElement("div","dp-select").append([svgTriangle,$yearSelect]),$monthSelectContainer=createElement("div","dp-select").append([svgTriangle,$monthSelect]),$ctaPreviousMonth=createElement("a").append(createElement(svgCta,"dp-arrow-left")).on("click",function(){prepareUpdateTable(-1)}),$ctaNextMonth=createElement("").append(createElement(svgCta,"dp-arrow-right")).on("click",function(){prepareUpdateTable(1)}),abortButton=createElement('Abbrechen').on("click",closeCalender),okButton=createElement('Übernehmen').on("click",closeCalender);for(i=optionMinDate.getFullYear();i<=optionMaxDate.getFullYear();i++)$yearSelect.append(createElement("option").val(i).text(i));for(i=0,max=months.length;i"),i=0,max=days.length;i").text(days[i]));for($table.append(row),i=0;i<6;i++){for(row=$("
"),j=0;j<7;j++)date=startDateForStructure.getDate(),addClass=initializeMonth===(isDisabled=startDateForStructure.getMonth())?"now":isDisabledie11DateComparisonMilisecondsFixer(optionMaxDate.getTime()))&&(addClass+=" disabled"),dateTimeString===startDateForStructure.rsFormat("Y-m-d")&&(addClass+=" active"),row.append($(" | ").attr("title",titleText).data("date",startDateForStructure.toString()).addClass(addClass).text(date)),startDateForStructure.setDate(date+1);$table.append(row)}}function ie11DateComparisonMilisecondsFixer(value){return 1e3*parseInt(value/1e3)}function createElement(ele,addClass){return"<"!==ele.substr(0,1)&&(ele="<"+ele+"/>"),ele=$(ele),addClass&&ele.addClass("tko-"+addClass),ele}function prepareUpdateTable(monthOffset){var now=new Date;now.setDate(1),now.setFullYear($yearSelect.val()),now.setMonth(parseInt($monthSelect.val())+(monthOffset||0)),updateTable(now.toString())}$field=HTMLElement,optionInitDate=options.initDate,optionMinDate=options.minDate,optionMaxDate=options.maxDate,disabledDays=options.disabledDays,closeCallback=options.closeCallback,options.disabled&&(!1===Array.isArray(options.disabled)?(disabled=[],disabledLabels={},$.each(options.disabled,function(k){if(Array.isArray(this))for(disabled=disabled.concat(this),i=0,max=this.length;i= "+compareValue+" and "+key+" <= "+valueBetweenMax,result=compareValue<=sourceValue&&sourceValue<=valueBetweenMax;break;case">=":debugTmp=key+" >= "+compareValue,result=compareValue<=sourceValue;break;case">":debugTmp=key+" > "+compareValue,result=compareValue=x1&&coordinates.x<=x2&&coordinates.y>=y1&&coordinates.y<=y2}window.BamTipBuildCallback={};var elementStorageManager=BamElementStorage;function BamTipTrigger(element){this._element=element,this._isClickTrigger=void 0!==element.dataset.bamtipTriggerClick,this._isMouseOverTrigger=void 0!==element.dataset.bamtipTrigger,this._last=null,this._mergedOptions=null}function PositionData(best,left,top,whiteSpace,nosePosition){return{nosePosition:function(){return nosePosition},top:function(){return top},left:function(){return left},best:function(){return best},inWhiteSpace:function(coordinates){return whiteSpace.cursorIn(coordinates.x,coordinates.y)}}}function PositioningTip(options){return function(flipBehavior,content){flipBehavior instanceof BamTipTrigger&&(flipBehavior=flipBehavior.getElement());var i,max,check,possibleCheck,_nose_=new ContentArrow(content),PosBottomData=document.documentElement,docLeft=window.pageXOffset,docTop=window.pageYOffset,PosTopData=PosBottomData.offsetWidth,docRight=docLeft+PosTopData,docBottom=window.innerHeight+docTop,triggerLeft=(PosBottomData=flipBehavior.getBoundingClientRect()).left+docLeft,triggerWidth=flipBehavior.offsetWidth,triggerRight=triggerLeft+triggerWidth,triggerTop=PosBottomData.top+docTop,triggerHeight=flipBehavior.offsetHeight,triggerBottom=triggerTop+triggerHeight,triggerCenter=triggerWidth/2+triggerLeft,contentHeight=content.getElement().offsetHeight,contentWidth=content.getElement().offsetWidth,WhiteSpace=function(options){return function(minX,maxX,minY,maxY){return{cursorIn:function(x,y){return!!options.interactive&&(minX<=x&&x<=maxX&&minY<=y&&y<=maxY)}}}}(options),PosTopData=function(){var best,outerTop=triggerTop-10-contentHeight,outerLeft=triggerCenter-contentWidth/2,outerRight=outerLeft+contentWidth;if(!1==docTop<=outerTop)return!1;outerLeft__client.endClientX+15||clientX<__client.endClientX-15||clientY>__client.endClientY+15||clientY<__client.endClientY-15)}};return TouchEvent}();function _doClick(e){var event=LastEvent.detect(e);if(event.isClose())BamTipContentContainer.get().close(!1),e.preventDefault();else if(event.isTrigger()){if(e.stopPropagation(),e.preventDefault(),BamTipContentContainer.get().isVisible()){if(BamTipContentContainer.get().getTrigger()===event.getTrigger())return"default"===BamTipContentContainer.get().getTrigger().getOptions().mode&&BamTipContentContainer.get().close(),void e.preventDefault();BamTipContentContainer.get().close(!0)}event.getTrigger().startDelayed()}else BamTipContentContainer.get().isVisible()&&!BamTipContentContainer.get().getElement().contains(e.target||e.srcElement)&&"default"===BamTipContentContainer.get().getTrigger().getOptions().mode&&BamTipContentContainer.get().close()}window.addEventListener("touchstart",TouchEvent.start),window.addEventListener("touchmove",TouchEvent.move),window.addEventListener("touchend",function(e){TouchEvent.end(e),TouchEvent.isTouch(e)&&_doClick(e)}),window.addEventListener("mouseover",function(_trigger){var event;TouchEvent.inProgress()||((event=LastEvent.detect(_trigger)).isTrigger()?!(_trigger=event.getTrigger()).isClick()&&_trigger.isMouseOver()&&(LastEvent.last(event),BamTipContentContainer.get().isVisible()&&BamTipContentContainer.get().getTrigger()&&BamTipContentContainer.get().getTrigger()===_trigger||_trigger.startDelayed()):BamTipTrigger.get.lastTriggerReal&&BamTipTrigger.get.lastTriggerReal.reset())}),window.addEventListener("mousemove",function(opener){if(!TouchEvent.inProgress())if(BamTipContentContainer.get().isHidden())BamTipTrigger.getLast()&&BamTipTrigger.getLast().reset();else if(!BamTipContentContainer.get().getTrigger().isClick()){var last={x:opener.clientX+window.pageXOffset,y:opener.clientY+window.pageYOffset},opener=BamTipContentContainer.get().getOpener();if(BamTipContentContainer.get().getPosition()&&BamTipContentContainer.get().getPosition().inWhiteSpace(last))opener.fadeOut.inProgress()&&(opener.fadeOut.stop(),opener.fadeIn.start(0));else if(!0!==_checkIsCoordinatesInElement(last,BamTipContentContainer.get().getTrigger())){if(!0===_checkIsCoordinatesInElement(last,BamTipContentContainer.get())){last=LastEvent.last();return last&&last.isExplicitClose()?void 0:void(opener.fadeOut.inProgress()&&(opener.fadeOut.stop(),opener.fadeIn.start(0)))}opener.fadeOut.inProgress()||BamTipContentContainer.get().close(!1)}else opener.fadeOut.inProgress()&&(opener.fadeOut.stop(),opener.fadeIn.start(0))}}),window.addEventListener("click",function(e){TouchEvent.inProgress()||_doClick(e)})}LastEvent.prototype.isTrigger=function(){return this._isTrigger},LastEvent.prototype.getTrigger=function(){return this._triggerElement?BamTipTrigger.get(this._triggerElement):null},LastEvent.prototype.isClose=function(){return this._isClose},LastEvent.prototype.isExplicitClose=function(){return this._isExplicitClose},LastEvent.last=function(event){if(!arguments.length)return LastEvent.last._event;LastEvent.last._event=event},LastEvent.detect=function(triggerElement){var _event=new LastEvent(triggerElement),target=_event._event.target||_event._event.srcElement;return _event._isTrigger=target.matches("[data-bamtip-trigger-click]")||target.matches("[data-bamtip-trigger]"),_event._isTrigger&&(_event._triggerElement=target),_event._isTrigger||("tooltip-close"===target.dataset.bamEventClick?(_event._isClose=!0,_event._isExplicitClose=!0):BamTipContentContainer.get().getElement().contains(target)||(!(triggerElement=BamTipContentContainer.get().getTrigger())||((triggerElement=triggerElement.getElement()).matches("[data-bamtip-trigger-click]")||triggerElement.matches("[data-bamtip-trigger]"))&&triggerElement.contains(target)&&(_event._isClose=!0))),_event._isExplicitClose&&LastEvent.last(_event),_event},BamTipContentContainer.prototype.getElement=function(){return this.getOpener().element},BamTipContentContainer.prototype.configureOpener=function(options,targetElement){var opener=this.getOpener();"helptext"===options.mode?opener.element!==targetElement&&((opener=elementStorageManager(targetElement).get("opener"))||(opener=new Opener(targetElement),elementStorageManager(this._containerHTMLElement).set("opener",opener))):opener.element!==this._containerHTMLElement&&elementStorageManager(this._containerHTMLElement).set("opener",elementStorageManager(this._containerHTMLElement).get("opener_backup"))},BamTipContentContainer.prototype.getTrigger=function(){return elementStorageManager(this._containerHTMLElement).get("trigger")},BamTipContentContainer.prototype.setTrigger=function(trigger){return elementStorageManager(this._containerHTMLElement).set("trigger",trigger),this},BamTipContentContainer.prototype.getPosition=function(){return elementStorageManager(this._containerHTMLElement).get("Position")},BamTipContentContainer.prototype.setPosition=function(position){return elementStorageManager(this._containerHTMLElement).set("Position",position),this},BamTipContentContainer.prototype.isVisible=function(){return"none"!==this.getOpener().element.style.display},BamTipContentContainer.prototype.isHidden=function(){return!this.isVisible()},BamTipContentContainer.prototype.getOptions=function(){var tmp=this.getTrigger();return tmp?tmp.getOptions():BamTipContentContainer.options()||{}},BamTipContentContainer.prototype.html=function(html){return this._containerHTMLElement.innerHTML=html,this},BamTipContentContainer.prototype.getOpener=function(){var _opener=elementStorageManager(this._containerHTMLElement).get("opener");return _opener||(_opener=new Opener(this._containerHTMLElement),elementStorageManager(this._containerHTMLElement).set("opener",_opener),elementStorageManager(this._containerHTMLElement).set("opener_backup",_opener)),_opener},BamTipContentContainer.prototype.doPositioning=function(){var positioningTip=this.getTrigger().getOptions();"default"===positioningTip.mode&&(positioningTip=new PositioningTip(positioningTip),this.setPosition(positioningTip(this.getTrigger(),this)))},BamTipContentContainer.prototype.show=function(){var duration=0,_options=this.getOptions(),_opener=this.getOpener();return _opener.fadeOut.inProgress()&&_opener.fadeOut.stop(),_opener.fadeIn.inProgress()?_opener.fadeIn.getPromise():("fade"===_options.animation&&(duration=_options.animationDurationOpen),_opener.fadeIn.start(duration))},BamTipContentContainer.prototype.close=function(immediately){var duration=0,_opener=this.getOpener(),_options=this.getOptions();return _options&&"helptext"===_options.mode&&this.getTrigger()._element.classList.remove("active"),_opener.fadeIn.inProgress()&&_opener.fadeIn.stop(),immediately||"fade"!==_options.animation||(duration=_options.animationDurationClose),_opener.fadeOut.start(duration)},BamTipContentContainer.get=function(){return BamTipContentContainer.get._instance||(BamTipContentContainer.get._instance=new BamTipContentContainer),BamTipContentContainer.get._instance},BamTipContentContainer.options=function(options){var _opt;return void 0!==options&&((_opt={interactive:options.interactive,interactiveBorder:options.interactiveBorder||0,flipBehavior:options.flipBehavior||"clockwise",preferBestPlacement:!!options.preferBestPlacement,placement:options.placement||"top",animation:options.animation||"show",arrow:void 0===options.arrow||!!options.arrow,mode:options.mode||"default",animationDuration:void 0===options.animationDuration?50:options.animationDuration,openDelay:void 0===options.openDelay?90:parseInt(options.openDelay)}).animationDurationOpen=void 0===options.animationDurationOpen?_opt.animationDuration:parseInt(options.animationDurationOpen),_opt.animationDurationClose=void 0===options.animationDurationClose?_opt.animationDuration:parseInt(options.animationDurationClose),BamTipContentContainer.options._globalOptions=_opt),BamTipContentContainer.options._globalOptions},ContentArrow.prototype.setPosition=function(nosePos){var self=this;[].forEach.call(Object.keys(nosePos),function(t){self._element.style[t]=nosePos[t]})},ContentArrow.prototype.hide=function(){this._element.style.display="none"};var BamTip={initialize:function(globalOptions){BamTip.initialize=new Function,_bindEvents(),BamTipContentContainer.options(globalOptions)},__destruct:function(){BamTipContentContainer.get().close(!0)}};return BamTip}(window,document);"use strict";function BamElement(selector,parentElement){selector='[data-bam-element-identifier="'+selector+'"]';return parentElement instanceof BamSelector?parentElement.find(selector):BamSelector(selector)}function BamTemplate(tplName){if(!1==this instanceof BamTemplate)return new BamTemplate(tplName);this._parsedContent=null,this._parsedInstance=null,this._templateName=tplName}BamTemplate.prototype.getTemplateHtml=function(){return void 0===BamTemplate._loadedTemplates[this._templateName]&&(BamTemplate._loadedTemplates[this._templateName]=BamSelector('[data-bam-tpl="'+this._templateName+'"]').get(0).innerHTML),BamTemplate._loadedTemplates[this._templateName]},BamTemplate._loadedTemplates={},BamTemplate.prototype.getParsedContent=function(val){return this._parsedContent||this.fill(val||{}),this._parsedContent},BamTemplate.prototype.getParsedInstance=function(val){return this._parsedContent||this.fill(val||{}),this._parsedInstance},BamTemplate.prototype.getRawContent=function(){return this.getTemplateHtml()},BamTemplate.prototype.fill=function(key,value){"object"!=typeof key&&((parentContainer={})[key]=value,key=parentContainer);var parentContainer=function fillRecursive(templateHtml,data,keyprefix){return""!==keyprefix&&(keyprefix+="/"),BamSelector.each(data,function(key,value){var regex,tmpValue;if(null!==(value=void 0!==value&&value)&&"object"==typeof value&&0==value instanceof String){try{tmpValue=Array.isArray(value)?0");return parentContainer.append(parsedElement),parentContainer.find('[data-bam-tpl-if-not="true"],[data-bam-tpl-if^="{{"],[data-bam-tpl-if="false"]').remove(),BamSelector.each(key,function(k,v){parsedElement.find('[data-bam-tpl-var="'+k+'"]').html(v)}),this._parsedInstance=parentContainer.children(),this._parsedContent=parentContainer.get(0).innerHTML,this};var BamView={fill:function(key,value){var tmp;"object"!=typeof key&&((tmp={})[key]=value,key=tmp),BamSelector.each(key,function(key,value){BamSelector('[data-bam-tpl-var="'+key+'"]').html(value)})},goTo:function(path){var url=(new Rs.URL).load();url.getQuery().removeAll(),url.setPath(path),window.location.href=url.toString()}};window.addEventListener("pageshow",function(e){BamService.get("ButtonSpinner").stopAll()});!function(window){"use strict";var windowLocation=window.location;function rsEach(input,callback){var continueMap=!0,keys=Object.keys(input),lastKey=keys[keys.length-1];keys.map(function(key){"length"!==key?!1!==continueMap&&(continueMap=callback(key,input[key],{isLast:lastKey===key})):console.error("key 'length' match in rsEach")})}function rsEmpty(input){var typeofInput=typeof input;if(null===input||"undefined"==typeofInput)return!0;if("string"!=typeofInput)return input<=0;input=input.split("");for(var emptyChars=[0,"0"," ",""],i=0;i":">",'"':""","'":"'"};return this.replace(/[&<>"']/g,function(match){return specialChars[match]})}}),window.rsEmpty=rsEmpty,window.Rs=new function(){function Interval(pName,pCode,pDelay,pTtl){var interval,timeout,name=pName,delay=pDelay,code=pCode,ttl=pTtl;this.getName=function(){return name},this.setTtl=function(pTtl){return ttl=pTtl,this},this.getTtl=function(){return ttl},this.setCode=function(pCode){return code=pCode,this},this.getCode=function(){return code},this.start=function(){var that;return this.isRunning()&&this.stop(),interval=setInterval(code,delay,this),ttl&&(that=this,timeout=setTimeout(function(){that.stop()},ttl)),this},this.stop=function(){return interval=clearInterval(interval),timeout=clearTimeout(timeout),this},this.isRunning=function(){return 0scrollY);index++);return 0this._indexNavigation.offsetWidth+this._navigationSpacer||this._indexNavigation.offsetWidth+this._navigationSpacer-size<1&&!0===this.isInit?(this._navigationVisible=!0,this._indexNavigation.style.width=size-this._navigationSpacer+"px",this._indexNavigation.style.visibility="visible"):(this._navigationVisible=!1,this._indexNavigation.style.visibility="hidden"),this},_navigationPosition:function(){return this._activatedBreakTop-this._getTopOffset()>window.scrollY?(this._indexNavigation.style.position="absolute",this._indexNavigation.style.top=0,this._indexNavigation.style.bottom=""):this._activatedBreakTop-this._getTopOffset()this._getBottomOffset()&&(this._indexNavigation.style.position="absolute",this._indexNavigation.style.top="",this._indexNavigation.style.bottom=this._bottomMargin+"px"),this}},BamService.register("IndexOfContents",function(){return{init:function(element,options){new IndexOfContents(element,options)}}})}();!function(){function PpsRender(){var _elementStack=[];function appendToLeadContent(ident,ele){ele=BamTemplate(ident).getParsedInstance(ele||{});return _elementStack.push(ele),BamElement("ppsPersonalLeadBox").append(ele),ele}this.renderMainFrame=function(ele){var id,cnt=ele.getLeadCount();id="ppsMainFrame",ele={ppsPersonalLeadsCount:cnt?" ("+cnt+")":"",headline:ele.getHeadline(),hasCompareLeadData:ele.hasCompareData()&&ele.hasLeadData(),hideLeadInitial:ele.hasCompareData()?"tko-hide-leadbox":""},ele=BamTemplate(id).getParsedInstance(ele||{}),_elementStack.push(ele),BamElement(id).append(ele)},this.renderTabCompare=function(response){response.getTabCompareData().forEach(function(ele){var tpl="lead"===ele._type_?"dropoutTile":"compareTile";ele=ele,ele=BamTemplate(tpl).getParsedInstance(ele||{}),_elementStack.push(ele),BamElement("ppsPersonalCompareBox").append(ele)})},this.renderTabLeadContent=function(response){response.getTabLeadData().forEach(function(val){var ele=appendToLeadContent("ppsLeadTile",val).find(".tko-right-column .tko-button-wrapper");val.actionItem&&ele.append(BamTemplate("ppsActionItem").getParsedInstance(val.actionItem))})},this.renderFurtherLink=function(response){appendToLeadContent("ppsFurtherLeadsLink",{furtherLeadsLink:response.getFurtherLeadsLink()})},this.destroy=function(){_elementStack.forEach(function(value){value.remove()}),BamService.get("personalStartpage").setIndicators(!1)},this.showVerticalLogin=function(showLogin){var ele,verticalLoginWrapper;!1!==showLogin&&(showLogin=!0),0!==BamSelector('[data-bam-tpl="vertLoginElement"]').length&&(ele=BamTemplate("vertLoginElement").getParsedInstance(),0!==(verticalLoginWrapper=BamElement("verticalLoginWrapper")).length&&""===verticalLoginWrapper.get(0).innerHTML&&(_elementStack.push(ele),verticalLoginWrapper.prepend(ele),document.querySelector('[data-bam-element-identifier="verticalLoginWrapper"]').style.minHeight="0"),showLogin?verticalLoginWrapper.show():verticalLoginWrapper.hide())}}function ResponseParser(_data){var _countLeads=(_data=(_data=(_data=!_data||"Object"!==_data.constructor.name&&"[object Object]"!==_data.toString()?{}:_data).data||{}).personalProductStartpage||{}).countLeads||0,_dataTabCompare=_data.tabCompare||[],_dataTabLeads=(_data.tabLeads,_data.tabLeads||[]),_furtherLeadsLink=_data.furtherLeadsLink||"",_headline=_data.tabCompareTitle||"";this.hasData=function(){return this.hasCompareData()||this.hasLeadData()},this.getTabCompareData=function(){return _dataTabCompare},this.getTabLeadData=function(){return _dataTabLeads},this.hasCompareData=function(){return 0").append(content).html(),($layer=BamTemplate($layer).getParsedInstance()).attr("data-bam-popup-layer",popupId),$layer.find(".tko-popup-content").html(content),BamSelector("body").append($layer);for(var i=0,max=callbackStack.onLoad.length;i',arrowRight:'',dotElement:"div",dotClass:"tko-slider-dot",dotActiveClass:"tko-slider-dot-active",dotWrapper:""};function BamSlider(el,config){if(el)return this._el=el,!0===this._isInit()?stack[this._el.dataset.slider]:(config=config||(this._el.dataset.config||{}),this._ensureBindings()._createConfig(config)._setElements()._setSlideItems()._addDots()._addDuplicateItems()._addArrows()._setSlidesWidth()._setItemsWidth()._autoPlay()._enableSwipe()._slideObserver(),window.addEventListener("resize",this._resize),this);console.error("no element given stop create slider")}return BamSlider.prototype={_config:null,_items:null,_sliderPos:0,_itemsCount:0,_firstItem:0,_duplicateClass:"tko-slider-duplicate",_dots:null,_autoplay:null,_currentPosition:0,_maxRight:0,_takeOverDelay:30,_dotWrapperClass:"tko-slider-dots",_dotWrapperElement:"div",_resizeBounce:null,_animationProgress:!1,_dragSlidePreload:!1,_dotNavigationClass:"tko-slider-dots-nav",_hasObserver:window.hasOwnProperty("IntersectionObserver"),_observes:!1,_observerOptions:null,_isInit:function(){return!!this._el.classList.contains("tko-js-init-slider")||(this._el.classList.add("tko-js-init-slider"),this._el.dataset.slider="slider"+count,stack["slider"+count]=this,++count,!1)},_ensureBindings:function(){return this._autoPlay=this._autoPlay.bind(this),this._stopAutoplay=this._stopAutoplay.bind(this),this._startAutoplay=this._startAutoplay.bind(this),this.slideRight=this.slideRight.bind(this),this.slideLeft=this.slideLeft.bind(this),this._resize=this._resize.bind(this),this._setSlidesWidth=this._setSlidesWidth.bind(this),this._observerAutoplayCb=this._observerAutoplayCb.bind(this),this._slideObserverCallback=this._slideObserverCallback.bind(this),this._moveSliderByUserInteraction=this._moveSliderByUserInteraction.bind(this),this._stopSliderUserInteraction=this._stopSliderUserInteraction.bind(this),this._touchEndCb=this._touchEndCb.bind(this),this._startTouchCb=this._startTouchCb.bind(this),this._startDragCb=this._startDragCb.bind(this),this._touchMoveCb=this._touchMoveCb.bind(this),this._autoplayCb=this._autoplayCb.bind(this),this},_createConfig:function(customConfig){for(var key in this._config={},config)customConfig.hasOwnProperty(key)?typeof config[key]!=typeof customConfig[key]?this._config[key]="boolean"==typeof config[key]?"true"===customConfig[key]:"number"==typeof config[key]?Number(customConfig[key]):customConfig[key]:this._config[key]=customConfig[key]:this._config[key]=config[key];return this},_slideObserver:function(){if(!1===this._hasObserver)return this._loadAllImages(),this;this._preloadObserver=new IntersectionObserver(this._slideObserverCallback,{root:this._el,rootMargin:"0px",threshold:.1});for(var i=0;ithis._config.autoplaySpeed&&(this._config.autoplaySpeed=this._config.speed+this._config.autoplaySpeed),clearInterval(this._autoplay),this._autoplay=setInterval(this._autoplayCb,this._config.autoplaySpeed),this._el.addEventListener("mouseenter",this._stopAutoplay,{passive:!0,once:!0}),this},_autoplayCb:function(){return this.slideRight(!0),this},startAutoplay:function(){return this._config.autoplay=!0,this._startAutoplay(),this},stopAutoplay:function(){return clearInterval(this._autoplay),this._el.removeEventListener("mouseleave",this._startAutoplay,{passive:!0,once:!0}),this},_stopAutoplay:function(){return clearInterval(this._autoplay),this._el.addEventListener("mouseleave",this._startAutoplay,{passive:!0,once:!0}),this},_enableSwipe:function(){return!1===this._config.swipe||(this._slideTrack.addEventListener("touchstart",this._startTouchCb,!1),this._slideTrack.addEventListener("mousedown",this._startDragCb,!1)),this},_startTouchCb:function(e){return this._slideTrack.addEventListener("touchend",this._touchEndCb,!1),this._slideTrack.addEventListener("touchmove",this._touchMoveCb,!1),this._startDragCb(e.targetTouches[0],!0),this},_touchMoveCb:function(e){return this._moveSliderByUserInteraction(e.targetTouches[0],!0),this},_touchEndCb:function(e){return this._slideTrack.removeEventListener("touchend",this._touchEndCb,!1),this._slideTrack.removeEventListener("touchmove",this._touchMoveCb,!1),this._stopSliderUserInteraction(e.changedTouches[0]),this},_startDragCb:function(e,isTouch){return!isTouch&&e.button&&0!==e.button||(this.stopAutoplay(),this._dragEndPos=(this._itemsCount-this._config.slidesToShow)*(this._itemWidth+10),this._dragStartPos=this._sliderPos*(this._itemWidth+this._config.itemMargin),this._moveStart=e.clientX,document.addEventListener("mousemove",this._moveSliderByUserInteraction,{passive:!0}),document.addEventListener("mouseup",this._stopSliderUserInteraction,{passive:!0})),this},_stopSliderUserInteraction:function(itemsToSlide){var trunc=itemsToSlide.clientX-this._moveStart,itemsToSlide=trunc/((this._itemWidth+this._config.itemMargin)*this._config.slidesToScroll/3);return document.removeEventListener("mousemove",this._moveSliderByUserInteraction,{passive:!0}),document.removeEventListener("mouseup",this._stopSliderUserInteraction,{passive:!0}),Math.abs(itemsToSlide)<1?this._setTransform(!1,!1):1=this._itemsCount-1?this._sliderPos=this._itemsCount-1:this._sliderPos>=this._itemsCount&&(this._sliderPos=this._itemsCount-this._config.slidesToShow)),this._setTransform(!1,!1)),this._animationProgress=!1,this},_moveSliderByUserInteraction:function(e){var pos=this._dragStartPos+(this._moveStart-e.clientX);if(!1===this._config.infinitely){if(pos<=0)return this._sliderPos=0,this._setTransform(!1,!1),this._moveStart=e.clientX,this;if(pos>this._dragEndPos)return this._sliderPos=this._itemsCount-this._config.slidesToShow,this._setTransform(!1,!1),this._moveStart=e.clientX,this;this._showArrows()}else{if(pos<=0)return this._sliderPos=this._itemsCount-2*this._config.slidesToShow,this._setTrackTransform(),this._dragStartPos=this._sliderPos*(this._itemWidth+this._config.itemMargin),this._moveStart=e.clientX,this;if(pos>this._dragEndPos)return this._sliderPos=this._config.slidesToShow,this._setTrackTransform(),this._dragStartPos=this._config.slidesToShow*(this._itemWidth+this._config.itemMargin),this._moveStart=e.clientX,this}return this._slideTrack.style.transform="translate3d(-"+pos+"px, 0px, 0px)",this},_loadAllImages:function(){for(var i=0;i=this._itemsCount&&!1===this._config.infinitely?this._sliderPos=this._itemsCount-this._config.slidesToShow:!0===this._config.infinitely&&this._sliderPos+this._config.slidesToShow===this._itemsCount&&(toFirst=!0),this._showArrows()._setTransform(toFirst,!1),this},slideLeft:function(){if(!0===this._animationProgress)return this;this.stopAutoplay();var toLast=!1;return this._sliderPos=this._sliderPos-this._config.slidesToScroll,this._sliderPos>=this._itemsCount&&!1===this._config.infinitely?this._sliderPos=0:0===this._sliderPos&&!0===this._config.infinitely&&(toLast=!0),this._showArrows()._setTransform(!1,toLast),this},_setTransform:function(toFirst,toLast){var self=this;return this._animationProgress=!0,this._slideTrack.style.transitionDuration=this._config.speed+"ms",this._setTrackTransform(),!0===this._config.dots&&this._activateDots(),setTimeout(function(){self._slideTrack.style.transitionDuration="0ms",!0===toFirst?(self._sliderPos=self._config.slidesToShow,self._setTrackTransform()):!0===toLast&&(self._sliderPos=self._itemsCount-2*self._config.slidesToShow,self._setTrackTransform()),self._animationProgress=!1},this._config.speed+this._takeOverDelay),this},_activateDots:function(){var dot=Math.abs(this._sliderPos);if(!this._items[dot])return this;this._setDotInactive(),!0===this._config.infinitely&&(dot=this._items[dot].dataset.slideIndex);dot=this._dots.querySelector('[data-target="'+dot+'"]');return dot&&dot.classList.add("tko-slider-dot-active"),this},_setDotInactive:function(){var active=this._dots.querySelector(".tko-slider-dot-active");return active&&active.classList.remove("tko-slider-dot-active"),this},_setTrackTransform:function(){return!1===this._config.infinitely&&!0===this._config.arrows&&(0===this._sliderPos?this._hideLeftArrow():this._sliderPos===this._itemsCount-this._config.slidesToShow?this._hideRightArrow():this._showArrows()),this._currentPosition=(this._itemWidth+this._config.itemMargin)*this._sliderPos,this._slideTrack.style.transform="translate3d(-"+this._currentPosition+"px, 0px, 0px)",this},_showArrows:function(){return this._leftArrow&&(this._leftArrow.style.visibility="",this._rightArrow.style.visibility=""),this},_hideLeftArrow:function(){return!0!==this._config.infinitely&&this._leftArrow&&(this._leftArrow.style.visibility="hidden",this._rightArrow.style.visibility=""),this},_hideRightArrow:function(){return!0!==this._config.infinitely&&this._leftArrow&&(this._rightArrow.style.visibility="hidden",this._leftArrow.style.visibility=""),this}},{init:function(el,config){var slider,result=!1;if(el instanceof HTMLElement)result={slideRight:(slider=new BamSlider(el,config)).slideRight,slideLeft:slider.slideLeft,autoplayStart:slider.startAutoplay,autoplayStop:slider.stopAutoplay};else if(el.length)for(var result=[],i=0;i"+item.listItem+""}),html}(response)),$list.data("suggestlayer").hasValidEntry=!0,$list.data("suggestlayer").hasValidEntry&&($list.show(),$(document).on("click.suggestionlayer","body",function(e){$(e.target).parents("[data-suggestlayer]").length||(fillFieldsOnPage(),clearSuggestlist())}))}(response.list):clearSuggestlist()})):value.length<2&&(clearSuggestlist(),clearFields(element.data("bamSuggest").clearFields),deactivateFields(element.data("bamSuggest").toggleFields)))},300)),BamEvent.register("suggestKeydown",function(event,element){var keycode=event.keyCode||event.which,tabShift=9===keycode&&!event.originalEvent.shiftKey;({13:1,40:1,38:1}[keycode]||tabShift)&&(13===keycode||tabShift?((13===keycode||tabShift&&hasFocusNextField(element))&&event.preventDefault(),element.data("insertedSuggestionItemViaTabShift",!0),fillFieldsOnPage(),focusNextField(element)):38===keycode?(event.preventDefault(),function(){var $current=getSuggestSelectedItem();0<$current.siblings().length&&($current.removeClass("tko-suggest-selected"),($current.is(":first-child")?$("[data-suggestion-entry]:last-child"):$current.prev()).addClass("tko-suggest-selected"))}(),fillFocusedAutocompleteField()):40===keycode&&(event.preventDefault(),function(){var $current=getSuggestSelectedItem();0<$current.siblings().length&&($current.removeClass("tko-suggest-selected"),($current.is(":last-child")?$("[data-suggestion-entry]:first-child"):$current.next()).addClass("tko-suggest-selected"))}(),fillFocusedAutocompleteField()))}),BamEvent.register("suggestFocus",function(event,element){$inputField=element,clearTimeout(onFocusTimeout),onFocusTimeout=setTimeout(function(){0===$inputField.val().length&&(clearFields($inputField.data("bamSuggest").clearFields),deactivateFields($inputField.data("bamSuggest").toggleFields))},100)}),BamEvent.register("suggestBlur",function(event,element){(0'}debug&&console.info("Generaltracking End"),production&&(document.createElement("div").innerHTML=rawHtmlData)}else debug&&console.info("No gt pixel found")}))})}();BamWireframe={handleGratbar:function(){},on:function(){}};BamThreadLoader("DeviceDetection").run().done(function(response){if(200===response.status&&response.data&&response.data.cssClass){var homeTeaserWrapper=document.querySelector(".tko-hometeaser");if(null!==homeTeaserWrapper)for(var cssClasses=response.data.cssClass.split(" "),i=0;ioptions.offset&&(scrollPos-=additionalOffset-options.offset)),$("html, body").animate({scrollTop:scrollPos},options.duration),this},$.fn.centerVertical=function(_minTop,refTop,recalcParentElementPorsition){var _innerHeight=window.innerHeight,_result=_innerHeight/2;if(!_minTop)return this[0].style.top=_result.toString()+"px",this;refTop=refTop||0,recalcParentElementPorsition=recalcParentElementPorsition||!1,_minTop._bamCachedBoundingRect&&!recalcParentElementPorsition||(_refBottom=_minTop.getBoundingClientRect(),_minTop._bamCachedBoundingRect={top:_refBottom.top+window.pageYOffset,bottom:_refBottom.bottom+window.pageYOffset,left:_refBottom.left+window.pageXOffset,right:_refBottom.right+window.pageXOffset,width:_refBottom.width});var _refBottom=_minTop._bamCachedBoundingRect.bottom-window.pageYOffset,_minTop=_minTop._bamCachedBoundingRect.top-window.pageYOffset;return _refBottom<_innerHeight?(_result=_refBottom/2,(_refBottom=_refBottom-this.height()/2-refTop)<_result&&(_result=_refBottom)):0<_minTop&&((_result=(_innerHeight-_minTop)/2+_minTop)<(refTop=_minTop+this.height()/2+refTop)&&(_result=refTop)),this[0].style.top=_result.toString()+"px",this},$.fn.centerHorizontal=function(parentHTMLElement,_minLeftPosition){var _innerWidth=window.innerWidth,_result=_innerWidth/2;if(!parentHTMLElement)return this[0].style.left=_result.toString()+"px",this;_minLeftPosition=_minLeftPosition||0;var _maxLeftPosition,_offsetRight,_parentWidth=parentHTMLElement.offsetWidth,_minLeft=parentHTMLElement.offsetLeft-window.pageXOffset;return _minLeft<0?(_offsetRight=window.pageXOffset+_innerWidth-(parentHTMLElement.offsetLeft+_parentWidth),(_maxLeftPosition=parentHTMLElement.offsetLeft-window.pageXOffset+_parentWidth-this.width()/2-_minLeftPosition)<(_result=0<_offsetRight?(_innerWidth-_offsetRight)/2:_result)&&(_result=_maxLeftPosition)):_innerWidth<_minLeft+_parentWidth?(_result=_minLeft+(_parentWidth-(_minLeft+_parentWidth-_innerWidth))/2)<(_minLeftPosition=parentHTMLElement.offsetLeft-window.pageXOffset+this.width()/2+_minLeftPosition)&&(_result=_minLeftPosition):_result=_minLeft+_parentWidth/2,this[0].style.left=_result.toString()+"px",this};$.fn.bamButtonSpinnerStop=function(){"use strict";$.each(this,function(){BamService.get("ButtonSpinner").getFromElement(this).stop()})},$.fn.bamButtonSpinnerStart=function(){"use strict";$.each(this,function(){BamService.get("ButtonSpinner").getFromElement(this).start()})};clearInterval(jqueryInterval)}},100)})()