$q.define("UNOUNO.components.header",{statics:{init:function(){this.initializeTouchEvents();this.initializeQuickSearchBarEvents();if(!!$q(".header-product-navigation-bar").length){var headerHeight=$q(".header-main-container").getHeight();var currentScrollPosition=$q(window).getScrollTop();if(currentScrollPosition<headerHeight){}}},initializeQuickSearchBarEvents:function(){var searchBarToggle=$q("#searchbar-toggle");
var searchBarContainer=$q("#searchbar-container");if(!!searchBarToggle.length){searchBarToggle.on($q.EVENT.tap,function(e){e.preventDefault();if(!!$q(".header-global-navigation-container").length){if(!searchBarContainer.hasClass("active")){var searchBarContainerWidth=180;var searchBarContainerOffset=(searchBarContainer.getOffset().left+(parseInt(searchBarContainer.getParents(":eq(0)").getStyle("paddingRight"))||0))-searchBarContainerWidth;
var lastNavigationEntry=$q(".header-global-navigation-bar > li:last");var lastNavigationEntryOffset=lastNavigationEntry.getOffset().left+lastNavigationEntry.getWidth();if(searchBarContainerOffset<=lastNavigationEntryOffset){searchBarContainerWidth=(searchBarContainer.getOffset().left-lastNavigationEntry.getOffset().left)+(parseInt(searchBarContainer.getParents(":eq(0)").getStyle("paddingRight"))||0);
}searchBarContainer.setStyle("width",searchBarContainerWidth+"px");}else{searchBarContainer.setStyle("width","");}}searchBarContainer.toggleClass("active");});}},initializeTouchEvents:function(){var deviceType=$q.env.get("device.type");if(deviceType==="desktop"){return ;}$q(".header-global-navigation-flyout, .header-pre-navigation-flyout").forEach(function(flyoutElement){$q(flyoutElement).append($q.create("<div />").addClass("header-navigation-flyout-touch"));
});}}});$q.ready(function(){UNOUNO.components.header.init();});

$q.define("UNOUNO.components.presenterTemplate",{statics:{presenter:null,init:function(){this.presenter=$q(".content-presenter-container");if($q.env.canTransition()){}$q(document).on("stickyNavigation",function(state){if(state.sticky&&!this.presenter.hasClass("invisible")){this.presenter.addClass("invisible");
}else{if(!state.sticky&&this.presenter.hasClass("invisible")){this.presenter.removeClass("invisible");}}},this);}}});$q.ready(function(){UNOUNO.components.presenterTemplate.init();});

$q.define("UNOUNO.components.sectionNavigation",{construct:function(configuration){configuration=configuration||{};if(configuration.hasOwnProperty("trackingEnabled")){this.trackingEnabled=configuration.trackingEnabled;}this.exactSectionMatch=configuration.exactSectionMatch||false;this.initializeSectionNavigation();
this.initializePageLeaveEvent();this.initializeWindowInspection();this.initializeTracking();this.anchorOffsetTopForTariffTable();window.setTimeout(function(){this.determineCurrentSection();}.bind(this),100);},members:{firePageSectionEventDelay:0.5,pageSectionChangeEvent:null,pageSectionAnchors:$q("a.section-anchor[name]"),previousPageSection:null,pageSectionNavigation:{wrapper:$q.create("<div />").addClass("sectionnav-container"),container:$q.create("<ul />").addClass("sectionnav"),children:[]},trackingEnabled:true,initializeSectionNavigation:function(){this.pageSectionNavigation.wrapper.append(this.pageSectionNavigation.container);
$q("body").append(this.pageSectionNavigation.wrapper);this.pageSectionAnchors.forEach(function(anchor,index){anchor=$q(anchor);var sectionNavChild=$q.create("<li />");var sectionNavChildLink=$q.create("<a />").setAttribute("href","#"+anchor.getAttribute("name"));var sectionNavChildBulletOutter=$q.create("<span />").addClasses(["bullet","smallbullet"]);
var sectionNavChildBulletInner=$q.create("<span />").addClasses(["bullet","bigbullet"]);var sectionNavChildBulletLabel=$q.create("<span />").addClass("label");if(this.trackingEnabled&&typeof (UNOUNO.tracking.genericTracking)=="function"){sectionNavChild.on("click",function(e){});}if(anchor.getAttribute("title")!=null&&!!anchor.getAttribute("title").length){sectionNavChildBulletLabel.setHtml(anchor.getAttribute("title"));
sectionNavChildBulletLabel.addClass("filled");}sectionNavChildBulletOutter.append(sectionNavChildBulletLabel);sectionNavChildBulletOutter.append(sectionNavChildBulletInner);sectionNavChildLink.append(sectionNavChildBulletOutter);sectionNavChild.append(sectionNavChildLink);this.pageSectionNavigation.container.append(sectionNavChild);
this.pageSectionNavigation.children.push({element:sectionNavChild,name:anchor.getAttribute("name"),position:anchor.getOffset().top});},this);},initializePageLeaveEvent:function(){window.onbeforeunload=function(e){$q(window).off("scroll",this.windowOnScroll,this);}.bind(this);},initializeWindowInspection:function(){$q(window).on("scroll",this.windowOnScroll,this);
},windowOnScroll:function(){this.determineCurrentSection();},getCurrentPageSection:function(){for(var c=0;c<this.pageSectionNavigation.children.length;c++){var currentPageSection=this.pageSectionNavigation.children[c];if(currentPageSection.element.hasClass("activated-sectionitem")){return currentPageSection.name;
}}return null;},_getActiveAnchor:function(){var activeSectionAnchors=[];var windowScrollTop=($q(window).getScrollTop()+10);var windowHeight=$q(window).getHeight();var currentViewPort=windowScrollTop+windowHeight/2;if(this.exactSectionMatch){windowScrollTop+=50;this.pageSectionAnchors.forEach(function(sectionAnchor){sectionAnchor=$q(sectionAnchor);
var offsetTop=sectionAnchor.getOffset().top;var offsetBottom;var nextContainerElement=sectionAnchor.getNextAll(".section-anchor:eq(0)");if(!!!nextContainerElement.length){nextContainerElement=sectionAnchor.getNext(":eq(0)");offsetBottom=sectionAnchor.getOffset().top+nextContainerElement.getHeight();}else{offsetBottom=nextContainerElement.getOffset().top;
}if(windowScrollTop>=offsetTop&&windowScrollTop<=offsetBottom){this.pageSectionNavigation.children.forEach(function(pageSectionNavigationAnchor,index){if(pageSectionNavigationAnchor.name===sectionAnchor.getAttribute("name")){activeSectionAnchors.push(pageSectionNavigationAnchor.element);}},this);}},this);
}else{if($q(window).getScrollTop()===0){return this.pageSectionNavigation.children[0].element;}else{if($q(window).getScrollTop()+windowHeight>=$q("body").getHeight()){return this.pageSectionNavigation.children[this.pageSectionNavigation.children.length-1].element;}else{this.pageSectionNavigation.children.forEach(function(sectionAnchor,index){var anchorStartPosition=sectionAnchor.position;
var anchorEndPosition=$q(document).getHeight();if((index+1) in this.pageSectionNavigation.children){anchorEndPosition=this.pageSectionNavigation.children[index+1].position;}if(currentViewPort>anchorStartPosition&&currentViewPort<anchorEndPosition){activeSectionAnchors.push(sectionAnchor.element);}},this);
}}}return activeSectionAnchors[activeSectionAnchors.length-1];},determineCurrentSection:function(){for(var c=0;c<this.pageSectionNavigation.children.length;c++){var currentPageSection=this.pageSectionNavigation.children[c];if(currentPageSection.element.hasClass("activated-sectionitem")){currentPageSection.element.removeClass("activated-sectionitem");
}}var activePageSection=this._getActiveAnchor();if(activePageSection){activePageSection.addClass("activated-sectionitem");}this.announceCurrentSection(this.getCurrentPageSection());},setCurrentLocationHash:function(currentPageSection){if("replaceState" in window.history){if(currentPageSection==null){if(window.location.hash!=""){window.history.replaceState(null,null,window.location.pathname);
}return ;}if(window.location.hash!=="#"+currentPageSection){window.history.replaceState(null,null,"#"+currentPageSection);}}},announceCurrentSection:function(currentPageSection){if(this.pageSectionChangeEvent!=null){window.clearTimeout(this.pageSectionChangeEvent);}this.setCurrentLocationHash(currentPageSection);
this.pageSectionChangeEvent=window.setTimeout(function(){if(this.previousPageSection!=currentPageSection){$q(document).emit("pageSectionChanged",{leave:(this.previousPageSection||"none"),enter:(currentPageSection||"none")});this.previousPageSection=currentPageSection;}}.bind(this),this.firePageSectionEventDelay*1000);
},initializeTracking:function(){if(this.trackingEnabled&&typeof (UNOUNO.tracking.sectionTracking)=="function"){$q(document).on("pageSectionChanged",function(data){UNOUNO.tracking.pageSection=data.enter;if(UNOUNO.tracking.internalPageName=="showroom-overview"&&["mobilfunk","faqX"].indexOf(data.enter)==-1){UNOUNO.tracking.sectionTracking(data.enter);
}},this);}},anchorOffsetTopForTariffTable:function(){var offset=0;if($q(".oneandone-nodetypes-placeholder.tariffs").length>0){offset=150;}else{if($q(".content-bottom.tariffs").length>0){offset=60;}}if(offset){function setOffset(){if($q(".oneandone-nodetypes-placeholder.tariffs").length>0){$q("html, body").setScrollTop($q(".oneandone-nodetypes-placeholder.tariffs").getOffset().top-offset);
}else{if($q(".content-bottom.tariffs").length>0){$q("html, body").setScrollTop($q(".content-bottom.tariffs").getOffset().top-offset);}}}}}}});

//### zip:baseLib-1.1.7.jar/PUSTEFIX-INF/script/widget-min.js
!function(){var t=window.qxWeb.$$qx;t.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui}),t.$$packageData[0]={locales:{},resources:{},translations:{C:{},en:{}}},t.Bootstrap.define("qx.ui.website.Widget",{extend:qxWeb,statics:{widget:function(){var e=new t.ui.website.Widget(this);return e.init(),e},create:function(e){return new t.ui.website.Widget(qxWeb.create(e))},$onFirstCollection:function(t,e,i,s){var n=this.classname.replace(/\./g,"-")+"-context";this.getProperty(n)||this.setProperty(n,i);var r=this.getProperty(n);return this.hasListener(t,e,r)||this.on(t,e,r,s),this},$offFirstCollection:function(t,e,i,s){var n=this.classname.replace(/\./g,"-")+"-context";return this._forEachElementWrapped(function(i){var r=i.getProperty(n);i.off(t,e,r,s)}),this},initWidgets:function(t){var e=qxWeb("*[data-qx-class]");t&&(e=e.filter(t)),e._forEachElementWrapped(function(t){t.init()})}},construct:function(t,e){var i=this.base(arguments,t,e);Array.prototype.push.apply(this,Array.prototype.slice.call(i,0,i.length))},members:{__fX:null,init:function(){return this.getProperty("$$qx-widget-initialized")?!1:(this.setAttribute("data-qx-class",this.classname),this.addClass("qx-widget"),this.addClass(this.getCssPrefix()),this.setProperty("$$qx-widget-initialized",!0),!0)},getCssPrefix:function(){if(!this.__fX){var t=this.classname.split(".");this.__fX="qx-"+t[t.length-1].toLowerCase()}return this.__fX},setEnabled:function(t){return this.setAttribute("disabled",!t),this.find("*").setAttribute("disabled",!t),this},getEnabled:function(){return!this.getAttribute("disabled")},setTemplate:function(t,e){return this._setData("templates",t,e)},setConfig:function(t,e){return this._setData("config",t,e)},_setData:function(t,e,i){return this.forEach(function(s){s[t]||(s[t]={}),s[t][e]=i}),this},getTemplate:function(t){return this._getData("templates",t)},getConfig:function(t){return this._getData("config",t)},_getData:function(t,e){var i,s=this.getProperty(t);if(s&&(i=s[e]),void 0===i&&"config"==t){var n="qx"+qxWeb.string.firstUp(t)+qxWeb.string.firstUp(e);i=this.getData(n),(!this[0]||!this[0].dataset&&null===i)&&(i=void 0);try{i=JSON.parse(i)}catch(r){}}return void 0===i&&this.constructor["_"+t]?this.constructor["_"+t][e]:i},render:function(){return this},dispose:function(){this.removeAttribute("data-qx-class"),this.setProperty("config",void 0),this.setProperty("templates",void 0);var t=this.classname.replace(/\./g,"-")+"-context";this.setProperty(t,void 0),this.setProperty("$$qx-widget-initialized",void 0),this.removeClass("qx-widget"),this.removeClass(this.getCssPrefix());for(var e in this.constructor.$$events)this.allOff(e);return qxWeb.$init(this,qxWeb)}},defer:function(t){qxWeb.$attach({$onFirstCollection:t.$onFirstCollection,$offFirstCollection:t.$offFirstCollection,widget:t.widget}),qxWeb.$attachStatic({initWidgets:t.initWidgets})}}),t.Bootstrap.define("baselib.ui.Widget",{extend:t.ui.website.Widget,construct:function(t,e){this.base(arguments,t,e),t&&this._checkAndDebugIfEmpty("info")},members:{_checkAndDebugIfEmpty:function(){}}})}();
//### zip:baseLib-1.1.7.jar/PUSTEFIX-INF/script/carousel-min.js
!function(){var t=window.qxWeb.$$qx;t.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui}),t.$$packageData[0]={locales:{},resources:{},translations:{}},t.Bootstrap.define("baselib.ui.Carousel",{extend:baselib.ui.Widget,construct:function(t,e){this.base(arguments,t,e)},statics:{__hi:null,__hj:null,__hk:null,__hl:!1,__hm:!1,__hn:-1!=["mobile","tablet"].indexOf(qxWeb.env.get("device.type")),__ho:function(){var t=qxWeb.env.get("css.transform");baselib.ui.Carousel.__hl=null!==t&&"object"==typeof t,baselib.ui.Carousel.__hm=baselib.ui.Carousel.__hl?t["3d"]:!1},_config:{autoAnimate:!1,duration:400,showArrows:!0,startIndex:0,swipe:!0,delay:2e3,maxLeftFactor:0,enableItemCloning:!1,ignoreMouseOver:[]},carousel:function(e){if(qxWeb.env.canTransition()){var r=qxWeb.env.get("css.transition");baselib.ui.Carousel.__hk=r.name,baselib.ui.Carousel.__hi=t.bom.Style.getCssName(qxWeb.env.get("css.transform").name),baselib.ui.Carousel.__hj=r["end-event"]}var i=new baselib.ui.Carousel(this);return i.setProperty("__config",e),i.init(),i}},events:{"switch":"qx.event.Emitter",beforehide:"qx.event.Emitter",beforeshow:"qx.event.Emitter",afterhide:"qx.event.Emitter",aftershow:"qx.event.Emitter"},members:{init:function(){return this.base(arguments)?(this.__hq(),baselib.ui.Carousel.__ho(),this.__hY(),this._forEachElementWrapped(function(t){var e=t.find(".carouselView, .qx-carousel-view"),r=e.getChildren();2==r.length&&this.getConfig("enableItemCloning")===!0&&(r.getFirst().clone().addClass("qx-carousel-item-cloned").appendTo(e),r.getLast().clone().addClass("qx-carousel-item-cloned").appendTo(e)),t.setProperty("__element",e),this.setProperty("__items",e.getChildren()),t.setProperty("el",e),t.setProperty("__maxLeft",this.getConfig("maxLeftFactor")),t.__hs(),t.__hr(),t.__hG()}),this.getProperty("__render")&&this.render(),!0):!1},render:function(){return this._forEachElementWrapped(function(t){var e=t.getProperty("__element"),r=e.getChildren();this.setStyle("overflow","hidden"),r.addClass("qx-carousel-view-item"),t.setProperty("__items",r),t.__ht(),t.__hC(),t.__hp()}),this},count:function(){return this.eq(0).getProperty("__items").length},getCurrentIndex:function(){return this.eq(0).getProperty("__currentIndex")},getElement:function(){return this.eq(0).getProperty("__element")},__lk:function(t){var e=t.getStyle("transform"),r={};return"string"==typeof e&&e.length>0?(e.match(/matrix(3d)?\((.*?)\)/),e=RegExp.$2.split(","),r=e.length>=12?{left:parseFloat(e[12]),top:parseFloat(e[13])}:{left:parseFloat(e[4]),top:parseFloat(e[5])}):(e=t.getStyles(["left","top"]),r={left:parseFloat(e.left),top:parseFloat(e.top)}),r},__qF:function(t){var e=this.getElement(),r=this.__lk(e).left,i=r+e.getWidth();return"next"==t&&i<=this.getElement().getParents().getWidth()||"prev"==t&&r>=0?!1:!0},showNext:function(t){return this.__hK()||(this.__hL(),this.__qF("next")&&this.moveTo(this.__hO(),t)),this},showPrev:function(t){return this.__hK()||(this.__hL(),this.__qF("prev")&&this.moveTo(this.__hP(),t)),this},enableSwipe:function(){return this._forEachElementWrapped(function(t){t.getProperty("__element").on("swipe",t.__onSwipe,t)}),this},disableSwipe:function(){return this._forEachElementWrapped(function(t){t.getProperty("__element").off("swipe",t.__onSwipe,t)}),this},start:function(){return this._forEachElementWrapped(function(t){t.setProperty("__userStop",!1),t.__bG()}),this},stop:function(){return this._forEachElementWrapped(function(t){t.setProperty("__userStop",!0),t.__hN()}),this},hideLeftArrow:function(){var t=null;return this._forEachElementWrapped(function(e){t=e.getProperty("__arrowBackward"),t&&t.addClass("hidden")}),this},hideRightArrow:function(){var t=null;this._forEachElementWrapped(function(){t=this.getProperty("__arrowForward"),t&&t.addClass("hidden")})},showLeftArrow:function(){var t=null;return this._forEachElementWrapped(function(e){t=e.getProperty("__arrowBackward"),t&&t.removeClass("hidden")}),this},showRightArrow:function(){var t=null;this._forEachElementWrapped(function(){t=this.getProperty("__arrowForward"),t&&t.removeClass("hidden")})},setStopInteraction:function(t){t="Array"===qxWeb.type.get(t)?t:[t];var e=null;return this._forEachElementWrapped(function(r){t.forEach(function(t){t="#"==t.charAt(0)||"."==t.charAt(0)?t:"#"+t,e=qxWeb(t),e.length>0&&(e.on("tap",r.stop,r),e.on("keyup",r.stop,r))})}),this},isAnimating:function(){return this.__hK()},moveTo:function(t){return this._forEachElementWrapped(function(e){var r=e.__hM(t),i=e.getProperty("__newStack"),o=e.getProperty("__items");if(!e.__hK()&&t!=e.getProperty("__currentIndex")&&(e.setProperty("__noDelay",e.getProperty("__autoStarted")!==!0),e.__hL(),r)){e.setProperty("__centeredIndex",e.getProperty("__currentIndex")),e.setProperty("__indexToShow",t);var s=e.getProperty("__currentIndex"),n=i.indexOf(o[t]),_=i.indexOf(o[s]),h=_>n?1:-1,a=Math.abs(n-_),l=e.getProperty("__leftPosition"),u=l+h*a*e.getElement().getParents().getWidth()-e.getProperty("__deltaX"),p=e.getProperty("__element"),g=e.getProperty("__noDelay")?0:e.getConfig("delay"),f=window.setTimeout(function(){e.__hL(),e.__hJ("beforehide"),e.__hJ("beforeshow"),qxWeb.env.canTransition()?(p.once(baselib.ui.Carousel.__hj,e.__hU.bind(e,t),e),e.__gh(p),e.__hz(p,u+"px","0%")):e.__gb(l,u,e.getConfig("duration"),e.__hS.bind(e,t),e.__hT.bind(e,t)),e.setProperty("__hK",!0)}.bind(e),g);e.setProperty("__animationTimer",f)}}),this.setProperty("__autoStarted",!1),this},dispose:function(){var t=null,e=null,r=null;return this._forEachElementWrapped(function(i){t=i.getProperty("__element"),i.stop(),baselib.ui.Carousel.__hn||(t.off("mouseover",i.__hH,i),t.off("mouseout",i.__hI,i),i.off("mouseover",i.__hH,i),i.off("mouseout",i.__hI,i)),t.find("input,select,textarea").off("focus",this.__hD,this),i.getConfig("swipe")&&(qxWeb.env.get("event.touch")||qxWeb.env.get("event.mspointer")&&navigator.msMaxTouchPoints>0)?(t.off("swipe",i.__onSwipe,i),t.off("pointerdown",i.__hv,i)):t.off("pointermove",i.__hF,i),i.getConfig("autoAnimate")&&qxWeb.messaging&&(qxWeb.messaging.remove(i.getProperty("__openMessagingId")),qxWeb.messaging.remove(i.getProperty("__closeMessagingId"))),qxWeb(document.documentElement).off("pointerdown",i.__hE,i),e=i.getProperty("__arrowForward"),r=i.getProperty("__arrowForward"),e&&r&&(e.off("tap",i.__hQ,i),r.off("tap",i.__hR,i))}),this.base(arguments)},__hp:function(){this.getConfig("autoAnimate")&&(this.on("switch",this.__bG,this),this.__bG())},__hq:function(){null!==qxWeb.EVENT.pageVisibility.visibilityChange&&qxWeb(document).on(qxWeb.EVENT.pageVisibility.visibilityChange,function(){this.getConfig("autoAnimate")===!0&&(document[qxWeb.EVENT.pageVisibility.hidden]?this._forEachElementWrapped(function(t){t.__hN()}):window.setTimeout(function(){this._forEachElementWrapped(function(t){t.__bG()})}.bind(this),0))},this)},__hr:function(){var t=this.getProperty("__element");baselib.ui.Carousel.__hm?t.setStyle("transform","translate3d(0px, 0px, 0px)"):baselib.ui.Carousel.__hl&&t.setStyle("transform","translate(0px, 0px)")},__hs:function(){this.setProperty("__deltaX",0),this.setProperty("__userStop",!1),this.setProperty("startIndex",this.getConfig("startIndex")),this.setProperty("__currentIndex",this.getConfig("startIndex")),this.setProperty("__noDelay",!1),this.setProperty("__hK",!1),this.setProperty("__mouseOver",!1),this.setProperty("__focused",!1),this.setProperty("__animationTimer",null),this.setProperty("__state",{toHide:this.getConfig("startIndex"),toShow:null}),this.setProperty("__stoped",!0)},__ht:function(){var t=this.find(".arrow.forward,.qx-carousel-arrow.qx-carousel-forward"),e=this.find(".arrow.backward,.qx-carousel-arrow.qx-carousel-backward");!this.getProperty("__arrowForward")&&!this.getProperty("__arrowForward")&&t&&e&&(this.setProperty("__arrowForward",t),this.setProperty("__arrowBackward",e),t.on("tap",this.__hQ,this),e.on("tap",this.__hR,this),this.getConfig("showArrows")===!1?this.__hW():this.__hV())},__hu:function(t){return t.touches||(t.pageX=t.clientX,t.pageY=t.clientY,t.touches=[t],t.changedTouches=[t],t.targetTouches=[t]),t},__hv:function(t){if(!this.__hK()){this.getConfig("autoAnimate")&&this.__hN(),this.setProperty("__touchStarted",!0);var e=this.getProperty("__element");e.on("pointermove",this.__hw,this),e.on("pointerup",this.__hy,this),t=this.__hu(t),this.setProperty("__isPageScrollTarget",null),this.setProperty("__touchStartPosition",[t.clientX,t.clientY]),this.setProperty("__leftStart",this.__lk(this.getElement()).left)}},__hw:function(t){var e=this.getProperty("__touchStartPosition"),r=this.getProperty("__leftStart"),i=this.getElement().getParents().getWidth();t=this.__hu(t),this.setProperty("__deltaX",t.clientX-e[0]),this.setProperty("__deltaY",t.clientY-e[1]);var o=this.getProperty("__deltaX")>0?"right":"left",s=r+this.getProperty("__deltaX"),n=s+this.getElement().getWidth(),_=this.getProperty("__maxLeft");if(!("left"==o&&(1-_)*i>=n||"right"==o&&s>=_*i)){if(this.__hz(this.getProperty("__element"),s+"px","0%"),null===this.getProperty("__isPageScrollTarget")){var h=this.getProperty("__deltaX")/this.getProperty("__deltaY");this.setProperty("__isPageScrollTarget",Math.abs(h)<1)}this.getProperty("__isPageScrollTarget")||(t.preventDefault(),t.stopPropagation())}},__hx:function(){var t=this.getElement().getParents().getWidth(),e=0,r=t,i=this.getProperty("__leftPosition"),o=i+this.getElement().getWidth();return Math.abs(this.getProperty("__deltaX"))<50||i>=e||r>=o},__hy:function(){if(this.getProperty("__touchStarted")){this.setProperty("__touchStarted",!1);var t=this.getProperty("__element"),e=this.getProperty("__deltaX");this.setProperty("__leftPosition",this.getProperty("__leftStart")+e),this.__hx()?(t.once(baselib.ui.Carousel.__hj,this.__hU.bind(this,this.getProperty("__currentIndex")),this),this.__gh(t),this.__hB()):0>e?this.showNext():this.showPrev(),t.off("pointermove",this.__hw,this),t.off("pointerup",this.__hy,this)}},__gh:function(t){qxWeb.env.canTransition()&&t._forEachElementWrapped(function(t){t.setStyle("transition-property",baselib.ui.Carousel.__hi),t.setStyle("transition-duration",this.getConfig("duration")+"ms"),t.setStyle("transition-timing-function","ease-out"),t.setStyle("transition-delay",this.getConfig("delay"))}.bind(this))},__gi:function(t){qxWeb.env.canTransition()&&t._forEachElementWrapped(function(t){t.setStyle("transition-property","none"),t.setStyle("transition-duration","0ms"),t.setStyle("transition-timing-function","none"),t.setStyle("transition-delay","0ms"),t[0].style.removeProperty(baselib.ui.Carousel.__hk),t[0].style.removeProperty("transition")})},__hz:function(t,e,r){t._forEachElementWrapped(function(t){if(qxWeb.env.canTransform()){var i="translate"+(qxWeb.env.canTransform3d()?"3d(":"("),o=qxWeb.env.canTransform3d()?", 0px)":")";t.setStyle("transform",i+e+", "+r+o+" scale(1)")}else t.setStyles({left:e,top:r})})},__hA:function(){this.getProperty("startIndex")!=this.getConfig("startIndex")&&(this.setProperty("__currentIndex",this.getConfig("startIndex")),this.setProperty("startIndex",this.getConfig("startIndex")));var t=this.getProperty("__element"),e=this.getProperty("__currentIndex"),r=t.getChildren().toArray().concat(),i=e,o=r[e],s=r.length,n=Math.floor((s-1)/2),_=null,h=null,a=[],l=[];2==r.length&&0===e?(_=n,h=s-n-1):(h=n,_=s-n-1);for(var u=i+1,p=i-1,g=0;h>g;)u%=s,l[l.length]=r[u],g++,u++;for(g=0;_>g;)p=(p+s)%s,a[a.length]=r[p],g++,p--;a.reverse(),qxWeb(o).setStyle("position","absolute"),this.__hz(qxWeb(o),"0%","0%");var f=0,c=a.concat(o).concat(l);this.setProperty("__newStack",c),qxWeb(c)._forEachElementWrapped(function(t,e){f=100*e,t.setStyle("position","absolute"),this.__hz(t,f+"%","0%")}.bind(this)),this.setProperty("__leftCount",a.length),this.__hB()},__hB:function(){var t=this.getProperty("__element"),e=t.getParents().getWidth();this.getProperty("__items").setStyle("width",e+"px"),t.setStyle("width",this.getProperty("__items").length*e+"px"),this.setProperty("__leftPosition",-this.getProperty("__leftCount")*e),this.__hz(t,this.getProperty("__leftPosition")+"px","0%"),t.getHeight()<this.getProperty("__items").eq(0).getHeight()&&t.setStyle("height","100%"),this.setProperty("__hK",!1),this.setProperty("__deltaX",0)},__hC:function(){if(this.getConfig("autoAnimate"))if(this.__hK()){var t=this.getProperty("__items"),e=this.getProperty("__state");t.eq(e.toShow).stop(),t.eq(e.toHide).stop(),this.__hN()}else this.__hN();this.__hA()},__hD:function(){this.setProperty("__focused",!0),this.getConfig("autoAnimate")&&this.__hN()},__hE:function(t){var e=t.getTarget();this.getProperty("__focused")&&qxWeb(e).isChildOf(this)&&(this.setProperty("__focused",!1),this.getConfig("autoAnimate")&&this.__bG())},__hF:function(t){t.preventDefault()},__hG:function(){var t=this.getProperty("__element");baselib.ui.Carousel.__hn||(t.on("mouseover",this.__hH,this),t.on("mouseout",this.__hI,this),this.on("mouseover",this.__hH,this),this.on("mouseout",this.__hI,this)),this.on("pointerout",this.__hy,this),t.find("input,select,textarea").on("focus",this.__hD,this),this.getConfig("swipe")&&t.on("pointerdown",this.__hv,this),this.getConfig("autoAnimate")&&qxWeb.messaging&&(this.setProperty("__openMessagingId",qxWeb.messaging.on("dialog","open",this.stop,this)),this.setProperty("__closeMessagingId",qxWeb.messaging.on("dialog","close",this.start,this))),qxWeb(document.documentElement).on("pointerdown",this.__hE,this)},__hH:function(){if(this.getProperty("__mouseOver")===!1){if(this.setProperty("__mouseOver",!0),this.__hK())return;this.__hL(),this.getConfig("showArrows")!==!1&&this.__hV(),this.getConfig("autoAnimate")&&this.__hN()}},__hI:function(t){if(t.getRelatedTarget()&&this.getProperty("__mouseOver")){var e=t.getRelatedTarget(),r=qxWeb(e);if(e==this[0]||r.isChildOf(this))return;if(-1!==this.getConfig("ignoreMouseOver").indexOf(r.getClass()))return}this.setProperty("__mouseOver",!1),"always"!=this.getConfig("showArrows")&&this.__hW(),this.getConfig("autoAnimate")&&!this.getProperty("__focused")&&this.__bG()},__hJ:function(t){switch(t){case"beforehide":case"beforeshow":this.emit(t,{current:this.getProperty("__centeredIndex"),next:this.getProperty("__indexToShow")});break;case"aftershow":case"afterhide":case"switch":this.emit(t,{current:this.getProperty("__currentIndex"),prev:this.getProperty("__centeredIndex")})}},__hK:function(){return this.getProperty("__hK")===!0},__hL:function(){var t=this.getProperty("__animationTimer");null!==t&&(this.setProperty("__hK",!1),window.clearTimeout(t),this.setProperty("__animationTimer",null))},__bG:function(){this.getProperty("__mouseOver")||this.getProperty("__userStop")||this.getProperty("__animationTimer")||(this.setProperty("__stoped",!1),this.setProperty("__autoStarted",!0),this.showNext())},__hM:function(t){return"Number"===qxWeb.type.get(t)&&parseFloat(t)==parseInt(t,10)?t>=0&&t<this.getProperty("__items").length:!1},__hN:function(){this.getProperty("__stoped")||(this.setProperty("__stoped",!0),this.setProperty("__autoStarted",!1),this.__hL())},__hO:function(){return(this.getProperty("__currentIndex")+1)%this.getProperty("__items").length},__hP:function(){var t=this.getProperty("__items").length;return(this.getProperty("__currentIndex")+t-1)%t},__hQ:function(){this.getProperty("__hK")||(this.__hL(),this.showNext())},__hR:function(){this.getProperty("__hK")||(this.__hL(),this.showPrev())},__gb:function(t,e,r,i,o){var s=null,n=this,_=function(){var h,a=(new Date).getTime(),l=t,u=0;null===s&&(s=a),u=a-s,h=u/r,h=(1-Math.cos(h*Math.PI))/2,l=t+(e-t)*h,e>t&&l>e&&(l=e),h=h>1?1:h,l=e>t?l>e?e:l:e>l?e:l,i.call(n,{progress:h,value:l}),r>u&&r>u?qxWeb.EVENT.animation.requestFrame(_):o.call(n,{progress:1,value:e})};qxWeb.EVENT.animation.requestFrame(_)},__hS:function(t,e){this.__hz(this.getProperty("__element"),e.value+"px","0%")},__hT:function(t,e){this.__hz(this.getProperty("__element"),e.value+"px","0%"),this.__hU(t,e)},__hU:function(t){var e=this.getProperty("__currentIndex");this.__gi(this.getProperty("__element")),t!=e&&(this.setProperty("__currentIndex",t),this.__hA(),this.__hJ("afterhide"),this.__hJ("aftershow"),this.__hJ("switch"))},__hV:function(){var t=this.getProperty("__arrowForward"),e=this.getProperty("__arrowBackward");t&&e&&(e.removeClass("hidden"),t.removeClass("hidden"))},__hW:function(){var t=this.getProperty("__arrowForward"),e=this.getProperty("__arrowBackward");e&&t&&(e.addClass("hidden"),t.addClass("hidden"))},__hX:function(t,e){return"showArrows"==t?-1!=["true","false","always"].indexOf(e.toString()):"undefined"!=typeof baselib.ui.Carousel._config[t]&&typeof e==typeof baselib.ui.Carousel._config[t]},__hY:function(){var t=this.getProperty("__config");if(t){for(var e in t)this.__hX(e,t[e])&&this.setConfig(e,t[e]);this.setProperty("__config",null),this.setProperty("__render",!0)}}},defer:function(t){qxWeb.$attach({carousel:t.carousel}),qxWeb.$attachStatic({carousel:function(t,e){return"string"==typeof t&&(t="#"==t.charAt(0)?t:"#"+t),qxWeb(t).carousel(e)}})}})}(),function(){var t=window.baselib||{};t.Carousel=function(){var t='The "baselib.Carousel" namespace is *deprecated*!';t+=" Please make sure to update your code to the selector-oriented syntax!\n";var e=qxWeb.array.fromArguments(arguments),r="undefined"!=typeof e[0]?e[0]:null,i=[];e.length>1&&(i=e.slice(1));var o=qxWeb(r),s=o.carousel.apply(o,i);return t+="Head over to the API docs and demo page to get more infos\n\n",t+="	http://baselib.ai.1und1.de/devel/docs/api/index.html / http://baselib.ai.1und1.de/devel/docs/demos/index.html\n\n",t+='A example for this syntax is $q("#yourSelector").carousel(config);',s instanceof window.qxWeb.$$qx.ui.website.Widget&&s.init(),qxWeb.info(t),s}}();
$q.define("UNOUNO.components.principlesTemplate",{construct:function(container){this.container=container;this.carouselContainer=this.container.find(".principles-carousel-container");this.carouselElement=this.carouselContainer.find(".qx-carousel-container:eq(0)");this.carouselIndicators=this.carouselContainer.find(".qx-carousel-indicator");
this.initializeCarousel();},statics:{isTouchDevice:$q.env.get("event.touch")},members:{container:null,carouselElement:null,carouselIndicators:null,carouselContainer:null,carouselInstance:null,initializeCarousel:function(){this.carouselInstance=this.carouselElement.carousel({autoAnimate:true,duration:500,showArrows:!UNOUNO.components.principlesTemplate.isTouchDevice,startIndex:0,delay:4000,swipe:UNOUNO.components.principlesTemplate.isTouchDevice});
this.carouselIndicators.on("click",function(e){e.preventDefault();var target=$q(e.getTarget());this.carouselInstance.moveTo(Number(target.getData("pos")));},this);this.carouselInstance.on("switch",function(data){this.carouselIndicators.filter("[data-pos = "+data.prev+"]").removeClass("current");this.carouselIndicators.filter("[data-pos = "+data.current+"]").addClass("current");
},this);}}});$q.ready(function(){$q(".principles-container").forEach(function(container){new UNOUNO.components.principlesTemplate($q(container));});});
//### zip:baseLib-1.1.7.jar/PUSTEFIX-INF/script/slider-min.js
!function(){var t=window.qxWeb.$$qx;t.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui}),t.$$packageData[0]={locales:{},resources:{},translations:{}},t.Bootstrap.define("baselib.ui.Slider",{extend:baselib.ui.Widget,construct:function(t,e){this.base(arguments,t,e)},events:{changeValue:"qx.event.Emitter",changePosition:"qx.event.Emitter"},statics:{_config:{steps:[0,1,2,3,4,5,6,7,8,9,10],offset:0},slider:function(t,e,i){var r=new baselib.ui.Slider(this);if(!qxWeb.isElement(t))throw new Error("Please provide a valid knob DOM element!");if(e&&"Array"!==qxWeb.type.get(e))throw new Error("Please provide the 'steps' parameter as valid array!");return r.setConfig("steps",e),"undefined"!=typeof i&&(i="number"==typeof i?parseInt(i,10):0,r.setConfig("offset",parseInt(i,10))),r.setProperty("__knob",qxWeb(t)),r.init(),r}},members:{init:function(){if(!this.base(arguments))return!1;var t=this.getProperty("__knob");return this.setProperty("__currentIndex",null),this.setProperty("__documentElement",t.getAncestors().find("html")),this.setProperty("__leftOffset",parseInt(t.getStyle("left"),10)||0),this.__mm(),this.__ml(),this.__mu(),this.setValue(this.getConfig("steps")[0]),!0},render:function(){this.__mo(),this.__mu();var t=this.getConfig("steps"),e=this.getValue();if(e&&-1==t.indexOf(e)){var i=this.__mv(this.getValue());this.setValue(this.getConfig("steps")[i]),this.setProperty("__currentIndex",i)}else this.setValue(e);return this},getValue:function(){return this.getProperty("__value")},setValue:function(t){if("Number"!=qxWeb.type.get(t))throw Error("Please provide a Number value for 'value'!");var e=this.getConfig("steps").indexOf(t);return-1!=e&&(this.__mz(t),this.getValue()!=t&&(this.setProperty("__value",t),this.emit("changeValue",{value:t,getData:function(){return t}})),this.setProperty("__currentIndex",e)),this},getPosition:function(){var t=this.getProperty("__knob");if(this.getProperty("__hl")){t.getStyle("transform").match(/matrix(3d)?\((.*?)\)/);var e=RegExp.$2.split(",");return e=e[12]||e[4],parseInt(Number(e),10)}return parseInt(t.getStyle("left"),10)},__ml:function(){var t="event.stopPropagation ? event.stopPropagation() : event.cancelBubble = true;event.preventDefault ? event.preventDefault() : event.returnValue = false;";this.__mo();var e=this.getProperty("__knob"),i={draggable:"false",ondragstart:t,unselectable:"true"};e.setAttributes(i),this.setAttributes(i),this.__mw()},__mm:function(){var t=qxWeb.env.get("css.transform"),e=null!==t&&"object"==typeof t,i=e?t["3d"]:!1;this.setProperties({__mn:null,__hl:e,__hm:i})},__mo:function(){var t=this.getProperty("__knob").getWidth(),e=this.getOffset().left,i=this.getWidth();this.setProperties({__mp:i,__mq:e,__mr:parseInt(t/2,10),__ms:e+this.getConfig("offset"),__mt:e+i-this.getConfig("offset")})},__mu:function(){var t=[],e=this.getConfig("steps");t.push(this.getProperty("__ms"));for(var i=e.length-1,r=this.getProperty("__mp")-2*this.getConfig("offset"),n=r/(e[i]-e[0]),s=0,o=1,_=e.length-1;_>o;o++)s=e[o]-e[0],t.push(Math.round(s*n)+this.getProperty("__ms"));t.push(this.getProperty("__mt")),this.setProperty("__pixel",t)},__mv:function(t){for(var e=this.getConfig("steps"),i=[],r=0;r<e.length;r++)if(e[r]>t&&r>0)return i=[e[r-1],e[r]],t-e[r-1]<e[r]-t?r-1:r;return 0},__mw:function(){this.on("tap",this._onTap,this),this.getProperty("__knob").on("pointerdown",this._onPointerDown,this),this.getProperty("__documentElement").on("pointerup",this._onPointerUp,this),qxWeb(window).on("resize",this._onWindowResize,this)},__mx:function(t){for(var e=0,i=0,r=0,n=this.getProperty("__pixel"),s=0,o=n.length;o>s&&t>=n[s];s++)e=s,i=n[s],r=n[s+1]||i;return e=Math.abs(t-i)<=Math.abs(t-r)?e:e+1,this.setProperty("__currentIndex",e),this.getConfig("steps")[e]},_onTap:function(t){var e=t.getViewportLeft();this.setValue(this.__mx(e))},_onPointerDown:function(t){if(!this.getProperty("__mn")){this.setProperty("__mn",!0);var e=this.getProperty("__documentElement");e.on("pointermove",this._onPointerMove,this),e.setStyle("cursor","pointer"),t.stopPropagation()}},_onPointerUp:function(){if(this.getProperty("__mn")===!0){this.setProperty("__mn",null),this.__mz(this.getValue());var t=this.getProperty("__documentElement");t.off("pointermove",this._onPointerMove,this),t.setStyle("cursor",null)}},_onPointerMove:function(t){if(t.preventDefault(),this.getProperty("__mn")){t.touches||(t.touches=[t]);var e=t.getViewportLeft()?t.getViewportLeft():t.touches[0].pageX;if(e>=this.getProperty("__ms")&&e<=this.getProperty("__mt")){this.setValue(this.__mx(e));var i=e-this.getOffset().left-this.getProperty("__mr");if(i>0){var r=this.__my(i);this.getProperty("__knob").setStyle(r.left,r.value),this.emit("changePosition",{position:i,getData:function(){return{position:i}}})}}}t.stopPropagation()},__my:function(t){var e=this.getProperty("__leftOffset");return this.getProperty("__hm")?(t-=e,{left:"transform",value:"translate3d("+t+"px,0px,0px)"}):this.getProperty("__hl")?(t-=e,{left:"transform",value:"translate("+t+"px,0px)"}):{left:"left",value:t+"px"}},_onWindowResize:function(){if(this.__mo(),this.__mu(),this.getProperty("__currentIndex")){var t=this.getProperty("__pixel")[this.getProperty("__currentIndex")]-this.getOffset().left-this.getProperty("__mr"),e=this.__my(t);this.getProperty("__knob").setStyle(e.left,e.value)}},__mz:function(t){var e=this.getProperty("__pixel")[this.getConfig("steps").indexOf(t)],i=e-this.getProperty("__mq")-this.getProperty("__mr"),r=this.__my(i);this.getProperty("__knob").setStyle(r.left,r.value),this.emit("changePosition",{position:i,getData:function(){return{position:i}}})}},defer:function(t){qxWeb.$attach({slider:t.slider}),qxWeb.$attachStatic({slider:function(t,e,i,r){if(!qxWeb.isElement(t))throw new Error("Please provide a valid slider DOM element!");return qxWeb(t).slider(e,i,r)}}),(null===window.qui||"object"!=typeof window.qui)&&(window.qui={}),(null===window.qui.bom||"object"!=typeof window.qui.bom)&&(window.qui.bom={}),window.qui.bom.Slider=baselib.ui.Slider},destruct:function(){this.off("tap",this._onTap,this),this.getProperty("__konb").off("pointerdown",this._onPointerDown,this),this.getProperty("__documentElement").off("pointerup",this._onPointerUp,this),qxWeb(window).off("resize",this._onWindowResize,this),this.setProperty("__knob",null),this.set("__documentElement",null)}})}(),function(){var t=window.baselib||{};t.Slider=function(){var t='The "baselib.Slider" namespace is *deprecated*!';t+=" Please make sure to update your code to the selector-oriented syntax!\n";var e=qxWeb.array.fromArguments(arguments),i="undefined"!=typeof e[0]?e[0]:null,r=[];e.length>1&&(r=e.slice(1));var n=qxWeb(i),s=n.slider.apply(n,r);return t+="Head over to the API docs and demo page to get more infos\n\n",t+="	http://baselib.ai.1und1.de/devel/docs/api/index.html / http://baselib.ai.1und1.de/devel/docs/demos/index.html\n\n",t+='A example for this syntax is $q("#yourSelector").slider(knobElement, steps);',s instanceof window.qxWeb.$$qx.ui.website.Widget&&s.init(),qxWeb.info(t),s}}();
$q.define("UNOUNO.components.featuretableTemplate",{construct:function(){this._initialize();},members:{_initialize:function(){$q(".featuretable-toggle").forEach(function(featureTableToggle){featureTableToggle=$q(featureTableToggle);this._initializeToggle(featureTableToggle);},this);$q(".featuretable-visibility-toggle").forEach(function(featureTableVisibilityToggle){featureTableVisibilityToggle=$q(featureTableVisibilityToggle);
this._initializeVisibilityToggle(featureTableVisibilityToggle);},this);if($q(".norton-select")){this.toggleAmount();}},_initializeVisibilityToggle:function(featureTableVisibilityToggle){featureTableVisibilityToggle.on("click",function(e){var state=featureTableVisibilityToggle.getData("toggleState");if(state==="collapsed"){featureTableVisibilityToggle.removeClass("collapsed").setData("toggleState","collapsible");
}else{featureTableVisibilityToggle.addClass("collapsed").setData("toggleState","collapsed");}},this);},_initializeToggle:function(featureTableToggle){var sliderElement=$q(".featuretable-toggle-slider",featureTableToggle);if(!!sliderElement.getChildren(".qx-slider-knob").length){var slider=sliderElement.slider(sliderElement.getChildren(".qx-slider-knob"),[0,1],16.5);
slider.on("changeValue",function(data){$q.setDocumentScrollTop(0,200);var behind=$q(".featuretable-toggle-behind",featureTableToggle);var before=$q(".featuretable-toggle-before",featureTableToggle);var knob=$q(".featuretable-toggle-slider-knob",featureTableToggle);var referenceBehind=$q("."+behind.getData("featuretable"));
var referenceBefore=$q("."+before.getData("featuretable"));if(data.getData()){behind.removeClass("inactive");before.addClass("inactive");knob.addClass("flip");referenceBehind.removeClass("hidden");referenceBefore.addClass("hidden");UNOUNO.tracking.clickTrackingHandler({buttonId:behind.getData("featuretable")});
return ;}behind.addClass("inactive");before.removeClass("inactive");referenceBehind.addClass("hidden");referenceBefore.removeClass("hidden");UNOUNO.tracking.clickTrackingHandler({buttonId:before.getData("featuretable")});knob.removeClass("flip");},this);$q(".featuretable-toggle-before",featureTableToggle).on("click",function(e){e.preventDefault();
this.getValue()!==0&&this.setValue(0);},slider);$q(".featuretable-toggle-behind",featureTableToggle).on("click",function(e){e.preventDefault();this.getValue()!==1&&this.setValue(1);},slider);}},toggleAmount:function(){$q(".norton-select").forEach(function(selectbox){selectbox=$q(selectbox);checkValue(selectbox);
});function checkValue(selectbox){var selectedItems=selectbox.getChildren().filter(":selected").getAttribute("value");selectbox.getAncestors("table").getChildren().find("div"+"."+selectedItems).setStyle("display","block");selectbox.getAncestors("table").getChildren().find(".featuretable-overview-button-container a."+selectedItems).setStyle("display","inline-block");
selectbox.on("change",(function(e){var tableCell=selectbox.getAncestors("td").getPrevAll("td").length;var tableCellButton=selectbox.getAncestors("td").getPrevAll("td").length+3;var article=selectbox.getChildren().filter(":selected").getAttribute("value");selectbox.getAncestors("table").getChildren().find("td:eq("+tableCell+") .webfont-price-container").hide();
selectbox.getAncestors("table").getChildren().find("td:eq("+tableCell+") .featuretable-overview-button-container a").hide();selectbox.getAncestors("table").getChildren().find("td:eq("+tableCellButton+") .featuretable-overview-button-container a").hide();selectbox.getAncestors("table").getChildren().find("td:eq("+tableCell+") div.webfont-price-container"+"."+article).show();
selectbox.getAncestors("table").getChildren().find("td:eq("+tableCell+") .featuretable-overview-button-container a."+article).setStyle("display","inline-block");selectbox.getAncestors("table").getChildren().find("td:eq("+tableCellButton+") .featuretable-overview-button-container a."+article).setStyle("display","inline-block");
}),this);}}}});$q.ready(function(){new UNOUNO.components.featuretableTemplate();});
$q.define("UNOUNO.components.showroomdiy",{construct:function(container){this._container=container;this._initializeShowroom();},members:{_initializeShowroom:function(){if(typeof (MyWebsiteShowroomIntegrator)!=="undefined"){if(!MyWebsiteShowroomIntegrator.isBrowserSupported()){$q("div.showroom-cta-button").show();
}this.parsedUrlcID=$q.uri.parse(location.href).queryKey.cid;this.parsedUrltID=$q.uri.parse(location.href).queryKey.tid;this.parsedUrlselectionID=$q.uri.parse(location.href).queryKey.selectionid;this.sectorTopicId=(UNOUNO.inline.ctxtshowroom.sectorTopicId!==undefined)?{categoryId:parseInt(UNOUNO.inline.ctxtshowroom.sectorTopicId)}:"";
this.sectorSelectionId=(UNOUNO.inline.ctxtshowroom.sectorSelectionId!==undefined)?{selectionId:parseInt(UNOUNO.inline.ctxtshowroom.sectorSelectionId)}:"";this.categoryIdFromUrl={categoryId:parseInt(this.parsedUrlcID)};this.topicIdFromUrl={topicId:parseInt(this.parsedUrltID)};this.selectionIdFromUrl={selectionId:this.parsedUrlselectionID};
this.language=UNOUNO.inline.ctxtshowroom.showroomLanguage;this.initConfigBase64=UNOUNO.inline.ctxtshowroom.initConfigBase64;this.url=UNOUNO.inline.ctxtshowroom.url;this.defaultTradeId=((UNOUNO.inline.ctxtshowroom.defaultTradeId!=="")?UNOUNO.inline.ctxtshowroom.defaultTradeId:"");if(!!this.parsedUrlselectionID&&!!this.parsedUrlcID){this.initConfig=$q.object.merge(this.selectionIdFromUrl,{topicId:parseInt(this.parsedUrlcID)});
}else{if(this.parsedUrlcID!==undefined&&this.parsedUrlcID.toString().length>5){this.initConfig=this.categoryIdFromUrl;}else{if(typeof (this.sectorTopicId)==="object"){this.initConfig=this.sectorTopicId;}else{if(this.parsedUrltID!==undefined){this.initConfig=this.topicIdFromUrl;}else{this.initConfig=((this.initConfigBase64!==undefined&&this.initConfigBase64!=="")?MyWebsiteShowroomIntegrator.decodeObject(this.initConfigBase64):{});
}}}}try{MyWebsiteShowroomIntegrator.init(this._container[0],this.url,this.language,"shop",this.initConfig);}catch(e){this._showError();}MyWebsiteShowroomIntegrator.registerErrorCallback(function(callback){if(callback){this._showError();}});MyWebsiteShowroomIntegrator.registerOpenOverlayCallback(function(callback){if(callback){var color=callback.color!==""?callback.color:"#262E38";
var opacity=callback.opacity!==""?callback.opacity:0.65;var showRoomLightbox=$q.create("<span />");showRoomLightbox.addClass("showroomLightboxOverlay");showRoomLightbox.setStyle("background",color);showRoomLightbox.setStyle("opacity",opacity);$q("body").append(showRoomLightbox);$q("div.showroomdiy-container").addClass("opaque-background");
showRoomLightbox.show();}});MyWebsiteShowroomIntegrator.registerCloseOverlayCallback(function(callback){if(callback){$q("span.showroomLightboxOverlay").hide();$q("div.showroomdiy-container").removeClass("opaque-background");}});MyWebsiteShowroomIntegrator.registerSelectCallback(function(data){if(typeof (data)==="object"){$q(".showroomdiy-container #showroom-tradename").setAttribute("value",((data.topicId!==undefined&&data.topicId!=="")?data.topicId:this.defaultTradeId));
$q(".showroomdiy-container #showroom-initConfig").setAttribute("value",MyWebsiteShowroomIntegrator.encodeObject(data));history.pushState({id:$q.uri.parse(location.href).queryKey.cid},"",location.href.replace($q.uri.parse(location.href).queryKey.cid,""));document.getElementById("showroom-submit").click();
}});}else{this._showError();}},_showError:function(){$q(".showroomdiy-container .spinner").hide();this.errormessage=UNOUNO.inline.ctxtshowroom.errormessage;$q("#showroom-container").append("<p>"+this.errormessage+"</p>");throw new Error("MyWebsiteShowroomIntegrator can't be loaded");}}});$q.ready(function(){$q("#showroom-container").forEach(function(showroomdiy){new UNOUNO.components.showroomdiy($q(showroomdiy));
});});
$q.define("UNOUNO.components.websitechecker",{statics:{checkWebsiteTimer:null,init:function(container){this.container=container;this.form=$q("#websitecheckerform");this.initializeWebsitechecker();},initializeWebsitechecker:function(){this.websitechecker=new WS_CheckWebservice(this);var websiteCheckerDomain=(($q.uri.parse(window.location.href)||{}).queryKey||{}).websitecheckdomain;
if(websiteCheckerDomain){if(!$q.string.startsWith(websiteCheckerDomain,"http")){websiteCheckerDomain="http://"+websiteCheckerDomain;}websiteCheckerDomain=decodeURIComponent(websiteCheckerDomain);try{websiteCheckerDomainParsed=$q.uri.parse(websiteCheckerDomain,true)||{};var validDomainParameter=("host" in websiteCheckerDomainParsed&&"protocol" in websiteCheckerDomainParsed&&websiteCheckerDomainParsed.host.indexOf(".")>-1&&!!websiteCheckerDomainParsed.host.split(".")[1]&&!!websiteCheckerDomainParsed.host.split(".")[0]);
if(!validDomainParameter){websiteCheckerDomain=undefined;}}catch(e){websiteCheckerDomain=undefined;}}if($q.uri.parse(location.href).queryKey.restart==="1"&&$q.cookie.get("websitecheck")!==null){this.websitechecker.check($q.cookie.get("websitecheck"),false);}else{if(!!websiteCheckerDomain){$q("#check-domain-input").setValue(websiteCheckerDomain);
this.websitechecker.check(websiteCheckerDomain,false);}else{this.form.on("submit",function(e){e.preventDefault();this.websitechecker.check($q("#check-domain-input").getValue(),true);},this);}}},check:function(check,useCache,returnValue){if(check==="SUCCESS"){$q("#inputUrl").setTextContent(" "+$q("#check-domain-input").getValue()+" ");
$q("#websitechecker-form").hide();$q("#websitechecker-error").hide();$q("#websitechecker-loading").show();this.checkWebsiteTimer=window.setInterval(function(){this.websitechecker.progress();}.bind(this),1000);this.websitechecker.ready();}else{this.error(check);$q("body").addClass("state-error");}},progress:function(progress){$q("#loadingbar").setStyle("width",progress+"%");
if(progress>=25){$q(".indicator-25").addClass("done");}if(progress>=50){$q(".indicator-50").addClass("done");}if(progress>=75){$q(".indicator-75").addClass("done");}if(progress>=90){$q(".indicator-90").addClass("done");}},resetProgress:function(){$q("#loadingbar").setStyle("width","0%");$q(".indicator-25").removeClass("done");
$q(".indicator-50").removeClass("done");$q(".indicator-75").removeClass("done");$q(".indicator-90").removeClass("done");},ready:function(ready,requestId,exception){if(ready==="FINISHED"){window.clearInterval(this.checkWebsiteTimer);this.form[0].submit();}else{this.error(ready);$q("body").addClass("state-error");
}},error:function(message){window.clearInterval(this.checkWebsiteTimer);this.resetProgress();var $message="";switch(message){case"CHECK_IMPOSSIBLE":$message=".CHECK_IMPOSSIBLE";break;case"INVALID_URL":$message=".INVALID_URL";break;case"ERROR_LOADING_WEBSITE":$message=".ERROR_LOADING_WEBSITE";break;case"ERROR_LOADING_WEBSITE_HEAD":$message=".ERROR_LOADING_WEBSITE_HEAD";
break;default:$message=".general-error";}$q("#websitechecker-loading").hide();$q("#websitechecker-form").show();$q("#websitechecker-error "+$message).show();$q("#websitechecker-error").show();}}});$q.ready(function(){$q(".websitechecker-container").forEach(function(websitechecker){UNOUNO.components.websitechecker.init($q(websitechecker));
});});
function WS_CheckWebservice(context,scope){pfx.ws.json.BaseStub.call(this,"CheckWebservice",context,scope,"/webservice");}WS_CheckWebservice.prototype=new pfx.ws.json.BaseStub;WS_CheckWebservice.prototype.ready=function(){return this.callMethod("ready",arguments,0);};WS_CheckWebservice.prototype.progress=function(){return this.callMethod("progress",arguments,0);
};WS_CheckWebservice.prototype.check=function(){return this.callMethod("check",arguments,2);};

$q.define("UNOUNO.components.sslChecker",{statics:{init:function(container){this.container=container;this.form=$q("#sslcheckform");this.initializeSSlChecker();},initializeSSlChecker:function(){this.sslChecker=new WS_sslCheckerService(this);var sslCheckerDomain=(($q.uri.parse(window.location.href)||{}).queryKey||{}).sslcheckdomain;
if(sslCheckerDomain){if(!$q.string.startsWith(sslCheckerDomain,"http")){sslCheckerDomain="http://"+sslCheckerDomain;}sslCheckerDomain=decodeURIComponent(sslCheckerDomain);try{sslCheckerDomainParsed=$q.uri.parse(sslCheckerDomain,true)||{};var validDomainParameter=("host" in sslCheckerDomainParsed&&"protocol" in sslCheckerDomainParsed&&sslCheckerDomainParsed.host.indexOf(".")>-1&&!!sslCheckerDomainParsed.host.split(".")[1]&&!!sslCheckerDomainParsed.host.split(".")[0]);
if(!validDomainParameter){sslCheckerDomain=undefined;}}catch(e){sslCheckerDomain=undefined;}}if($q.uri.parse(location.href).queryKey.restart==="1"&&$q.cookie.get("sslcheck")!==null){$q("#resultcontent").empty();$("#loadingContent").show();this.sslChecker.checkDomain($q.cookie.get("sslcheck"));}else{if(sslCheckerDomain){$q("#resultcontent").empty();
$("#loadingContent").show();$q("#check-domain-input").setValue(sslCheckerDomain);var offset=$q("#sslcheck-domaincheck").getOffset().top;$q.setDocumentScrollTop(offset-70,200);this.sslChecker.checkDomain(sslCheckerDomain);}else{this.form.on("submit",function(e){e.preventDefault();$q("#resultcontent").empty();
$("#loadingContent").show();var offset=$q("#sslcheck-domaincheck").getOffset().top;$q.setDocumentScrollTop(offset-70,200);$q.cookie.set("sslcheck",$q("#check-domain-input").getValue(),7);this.sslChecker.checkDomainCashed($q("#check-domain-input").getValue());try{if(typeof (UNOUNO.tracking.genericTracking)=="function"){UNOUNO.tracking.genericTracking({prop60:e.getTarget().getAttribute("id")});
}}catch(e){}},this);}}},checkDomainCashed:function(callback){this.showResult(callback);},checkDomain:function(callback){this.showResult(callback);},showResult:function(callback){if(typeof (callback)==="object"){if(callback===null){$q("#loadingContent").hide();$q("#sslcheckform").addClass("error");var offset=$q(".stage-master-container").getOffset().top;
$q.setDocumentScrollTop(offset,200);}else{$q("#sslcheckform").removeClass("error");var templateData={data:this.__formatResult(callback)};var templateMapping=$q.template.renderToNode($q("#sslresult").getHtml(),templateData);$q("#resultcontent").empty();$q("#loadingContent").hide();$q("#resultcontent").append(templateMapping);
$q("#resultcontent").fadeIn().show();this.registerRenderedResultEvents();}}else{}},registerRenderedResultEvents:function(){$q.lazyLightbox($q("span.showDetails"));$q(document).onMatchTarget("click","#result #scrollToDetails",function(target){if($q("#details").hasClass("hidden")){$q("#details").removeClass("hidden").fadeIn().show();
}var offset=$q("#details").getOffset().top;$q.setDocumentScrollTop(offset-40,200);},this);$q(document).onMatchTarget("click","#result .subheadline-section div a",function(target,e){e.preventDefault();$q(target).getNext("div").toggleClass("open");},this);try{$q("#result .tabRSA").addClass("active");}catch(e){}$q(document).onMatchTarget("click","#result .tabECC",function(target){$q("#result .tabECC").addClass("active");
$q("#result .tabRSA").removeClass("active");$q("#result .algECC").show();$q("#result .algRSA").hide();},this);$q(document).onMatchTarget("click","#result .tabRSA",function(target){$q("#result .tabRSA").addClass("active");$q("#result .tabECC").removeClass("active");$q("#result .algRSA").show();$q("#result .algECC").hide();
},this);},__formatResult:function(input){var output=input;if(output.certificateAlgorithms.length){for(var algorithm in output.certificateAlgorithms){for(var certificate in output.certificateAlgorithms[algorithm].certificates){if(output.certificateAlgorithms[algorithm].certificates.hasOwnProperty(certificate)){if(output.certificateAlgorithms[algorithm].certificates[certificate].errorCodes&&output.certificateAlgorithms[algorithm].certificates[certificate].errorCodes.length>0){for(var code in output.certificateAlgorithms[algorithm].certificates[certificate].errorCodes){(output.certificateAlgorithms[algorithm].codes).push(output.certificateAlgorithms[algorithm].certificates[certificate].errorCodes[code]);
}}}}}}if(output.errorCodes.length){this.translations=UNOUNO.inline.sslcheck;for(var key in this.translations.Errors){if(this.translations.Errors.hasOwnProperty(key)){for(var certificate in output.errorCodes){if(output.errorCodes.hasOwnProperty(certificate)){if(output.errorCodes[certificate]===key){output.errorCodes[certificate]=this.translations.Errors[key];
}}}}}}if(output.certificateAlgorithms.length){this.translations=UNOUNO.inline.sslcheck;var chainInfo=[];var certStates=[];for(var key in this.translations){if(this.translations.hasOwnProperty(key)){for(var algorithm in output.certificateAlgorithms){for(var certificate in output.certificateAlgorithms[algorithm].certificates){if(output.certificateAlgorithms[algorithm].certificates.hasOwnProperty(certificate)){if((output.certificateAlgorithms[algorithm].certificates[certificate].certType).substr(0,4)==="F_EE"){chainInfo.push(output.certificateAlgorithms[algorithm].certificates[certificate].certType);
}if((output.certificateAlgorithms[algorithm].certificates[certificate].certType).replace("F_","")===key){output.certificateAlgorithms[algorithm].certificates[certificate].certType=this.translations[key];}if(parseInt(output.certificateAlgorithms[algorithm].certificates[certificate].sctPresent)===parseInt(key)){output.certificateAlgorithms[algorithm].certificates[certificate].sctPresent=this.translations[key];
}if((output.certificateAlgorithms[algorithm].certificates[certificate]).hasOwnProperty("revocationDetails")&&output.certificateAlgorithms[algorithm].certificates[certificate].revocationDetails!==null){if(output.certificateAlgorithms[algorithm].certificates[certificate].revocationDetails.revocationStatus===key){if(output.certificateAlgorithms[algorithm].certificates[certificate].revocationDetails.revocationStatus==="FAILED"){certStates.push(output.certificateAlgorithms[algorithm].certificates[certificate].revocationDetails.revocationStatus);
}output.certificateAlgorithms[algorithm].certificates[certificate].revocationDetails.revocationStatusDesc=this.translations[key];}}}}}}}output.showErrors={};output.showWarnings={};output.showUnresolved={};if(chainInfo.length>1){output.showErrors["error.missing_ica_no_cert"]=this.translations.Errors["error.missing_ica_no_cert"];
}for(var algorithm in output.certificateAlgorithms){for(var i=0,len=(output.certificateAlgorithms[algorithm].codes).length;i<len;i++){for(var key in this.translations.Errors){if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="error"&&output.certificateAlgorithms[algorithm].codes[i]===key){output.showErrors[key]=this.translations.Errors[key];
}if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")===-1&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("non_symc_cert")===-1&&output.certificateAlgorithms[algorithm].codes[i]===key){output.showWarnings[key]=this.translations.Errors[key];
}if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")!==-1&&output.certificateAlgorithms[algorithm].codes[i]===key){output.showUnresolved[key]=this.translations.Errors[key];}}}}if(output.serverCertificateAlgorithms.length){for(var algorithm in output.serverCertificateAlgorithms){for(var i=0,len=(output.serverCertificateAlgorithms[algorithm].codes).length;
i<len;i++){for(var key in this.translations.Errors){if(output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[0]==="error"&&output.serverCertificateAlgorithms[algorithm].codes[i]===key){output.showErrors[key]=this.translations.Errors[key];}if(output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")===-1&&output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("non_symc_cert")===-1&&output.serverCertificateAlgorithms[algorithm].codes[i]===key){output.showWarnings[key]=this.translations.Errors[key];
}if(output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.serverCertificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")!==-1&&output.serverCertificateAlgorithms[algorithm].codes[i]===key){output.showUnresolved[key]=this.translations.Errors[key];}}}}}output.showErrors=Object.keys(output.showErrors).map(function(key){return output.showErrors[key];
});output.showWarnings=Object.keys(output.showWarnings).map(function(key){return output.showWarnings[key];});output.showUnresolved=Object.keys(output.showUnresolved).map(function(key){return output.showUnresolved[key];});var errorAmount=0;var warningAmount=0;var unresolvedAmount=0;for(var algorithm in output.certificateAlgorithms){for(var i=0;
i<(output.certificateAlgorithms[algorithm].codes).length;i++){if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="error"){errorAmount++;}if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")===-1&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("non_symc_cert")===-1){warningAmount++;
}if(output.certificateAlgorithms[algorithm].codes[i].split(".")[0]==="alert"&&output.certificateAlgorithms[algorithm].codes[i].split(".")[1].indexOf("unresolved")!==-1){unresolvedAmount++;}}}if(chainInfo.length>1){errorAmount++;}output.correct=(errorAmount===0&&certStates.length<=0)?true:false;output.certchainBroken=chainInfo.length>1?true:false;
output.errorAmount=errorAmount;output.warningAmount=warningAmount;output.unresolvedAmount=unresolvedAmount;output.tabs=(output.certificateAlgorithms.length>1)?true:false;output.testedCertificate=[];for(var algorithm in output.certificateAlgorithms){output.testedCertificate.push(output.certificateAlgorithms[algorithm].certificates[0]);
output.testedCertificate[algorithm].algorithm=output.certificateAlgorithms[algorithm].algorithm;output.testedCertificate[algorithm].certificateTypeOV=output.certificateAlgorithms[algorithm].certificates[0].productType==="OV"?true:false;output.testedCertificate[algorithm].certificateTypeDV=output.certificateAlgorithms[algorithm].certificates[0].productType==="DV"?true:false;
output.testedCertificate[algorithm].correctAndDV=(errorAmount===0&&certStates.length<=0&&output.certificateAlgorithms[algorithm].certificates[0].productType==="DV")?true:false;output.testedCertificate[algorithm].certificateTypeEV=output.certificateAlgorithms[algorithm].certificates[0].productType==="EV"?true:false;
output.certificateAlgorithms[algorithm].certificates.reverse();}}return output;}}});$q.ready(function(){$q(".sslcheck-container").forEach(function(sslChecker){UNOUNO.components.sslChecker.init($q(sslChecker));});});
function WS_sslCheckerService(context,scope){pfx.ws.json.BaseStub.call(this,"sslCheckerService",context,scope,"/webservice");}WS_sslCheckerService.prototype=new pfx.ws.json.BaseStub;WS_sslCheckerService.prototype.checkDomain=function(){return this.callMethod("checkDomain",arguments,1);};WS_sslCheckerService.prototype.checkDomainCashed=function(){return this.callMethod("checkDomainCashed",arguments,1);
};
$q.ready(function(){if(!!$q(".section-anchor").length){new UNOUNO.components.sectionNavigation({"trackingEnabled":false,"exactSectionMatch":(["product-template","ecommerce-listlocal-result","ecommerce-listlocal-landing"].indexOf(UNOUNO.params.page)>-1)});}});

//### zip:baseLib-1.1.7.jar/PUSTEFIX-INF/script/accordion-min.js
!function(){var t=window.qxWeb.$$qx;t.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui}),t.$$packageData[0]={locales:{},resources:{},translations:{}},t.Bootstrap.define("baselib.ui.Accordion",{extend:baselib.ui.Widget,construct:function(t,e){this.base(arguments,t,e)},events:{"switch":"qx.event.Emitter",beforehide:"qx.event.Emitter",beforeshow:"qx.event.Emitter",afterhide:"qx.event.Emitter",aftershow:"qx.event.Emitter"},statics:{_config:{labelClass:"qx-accordion-label",contentClass:"qx-accordion-content",animationDuration:300},accordion:function(t){var e=new baselib.ui.Accordion(this);return t&&(t.label&&e.setConfig("labelClass",t.label),t.content&&e.setConfig("contentClass",t.content)),e.init(),e}},members:{init:function(){return this.base(arguments)?(this._forEachElementWrapped(function(t){var e=t.find("."+this.getConfig("contentClass"));e.length>0&&(t.render(),t.collapse(!1))}),!0):!1},render:function(){return this._forEachElementWrapped(function(t){t._initItems(),t.__gf()}),this},collapse:function(t){return this._forEachElementWrapped(function(e){var n=this.getProperty("__tabs"),i=e.getProperty("__canTransition");n._forEachElementWrapped(function(n){n.setProperty("__op","hide"),e.setProperty("__currentIndex",null),e.__gi(n);var r=n.getHeight();0!==r&&(t?(e.__fY(),e.__gh(n),i?n.setStyle("height","0px"):e.__gb(n,r,0)):(n.setStyle("display","none"),n.setStyle("height","0px")))})}),this},setAnimationDuration:function(t){return this.setProperty("__animationDuration",t),this.setConfig("animationDuration",t),this},getAnimationDuration:function(){return this.getProperty("__animationDuration")},enableAnimation:function(){return this.setProperty("__animationDuration",this.getConfig("animationDuration")),this},disableAnimation:function(){return this.setProperty("__animationDuration",0),this},isAnimated:function(){return this.getProperty("__animationDuration")>0},getCurrentIndex:function(){return this.eq(0).getProperty("__currentIndex")},showItem:function(t,e){return this._forEachElementWrapped(function(n){if(!n.animating()){var i=n.getProperty("__tabs");if(!(t>=0&&t<i.length))return;e="undefined"!=typeof e?e:!0;var r=e?30:0,o=qxWeb(i[t]),s=qxWeb(i[n.getProperty("__currentIndex")]),a=0;o[0]&&(a=n.__ge(o,e)),s[0]&&n.__gd(s,e),e||n.setProperty("__currentIndex",t),window.setTimeout(function(){n.__gc(o,s,0,a,e)},r)}}),this},showNext:function(){return this._forEachElementWrapped(function(t){var e=t.getProperty("__tabs").length,n=(t.getProperty("__currentIndex")+1)%e;t.showItem(n,t.isAnimated())}),this},showPrev:function(){return this._forEachElementWrapped(function(t){var e=t.getProperty("__tabs").length,n=(t.getProperty("__currentIndex")-1+e)%e;t.showItem(n,t.isAnimated())}),this},animating:function(){return this.eq(0).getProperty("__running")>0},dispose:function(){var t=this.getProperty("__canTransition");return this._forEachElementWrapped(function(e){if(t){var n=e.getProperty("__tabs");n.forEach(function(t){var e=qxWeb(t),n=e.getProperty("__transitionHandler");n&&(t.removeEventListener(qxWeb.EVENT.transitionEnd,n),e.setProperty("__transitionHandler",null))})}e.off("tap",e.__gg,e)}),this},__fY:function(){var t=this.getProperty("__running")+1;return this.setProperty("__running",t),t},__ga:function(){var t=this.getProperty("__running")-1;return this.setProperty("__running",t),t},__gb:function(t,e,n){var i=this.getProperty("__animationDuration"),r=null,o=this.getProperty("__tabs"),s=this,a=function(){var _,h=(new Date).getTime(),g=e,c=0;null===r&&(r=h),c=h-r,_=c/i,g=e+(n-e)*_,n>e&&g>n&&(g=n),t.setStyle("height",g+"px"),i>c&&i>c?qxWeb.EVENT.animation.requestFrame(a):(t.setStyle("height",n+"px"),s.__gk(t,o.indexOf(t[0])))};qxWeb.EVENT.animation.requestFrame(a)},__gc:function(t,e,n,i,r){var o=this.getProperty("__canTransition"),s=this.getProperty("__tabs");r&&(this.__gh(t),e[0]&&this.__gh(e)),r&&this.__fY(),this.__gj("beforeshow",t),o||!r?(t.getHeight()===i?this.__gk(t,s.indexOf(t)):t.setStyle("height",i+"px"),r||this.__gj("aftershow",t)):this.__gb(t,t.getHeight(),i),e[0]&&(r&&this.__fY(),this.__gj("beforehide",e),o||!r?(0===e.getHeight()?this.__gk(e,s.indexOf(e)):e.setStyle("height",n+"px"),r||(this.__gj("afterhide",e),this.__gj("switch"))):this.__gb(e,e.getHeight(),n))},__gd:function(t){return this.getProperty("__canTransition")&&this.__gi(t),t.setProperty("__op","hide"),0},__ge:function(t){if(this.getProperty("__canTransition")&&this.__gi(t),t.setProperty("__op","show"),!t.getProperty("__scrollerTabHeight")){var e=t.getStyle("display");t.setStyle("height",""),t.setStyle("display","block"),t.setProperty("__scrollerTabHeight",t[0].offsetHeight),t.setStyle("display",e)}return t.setStyle("height","0px"),t.setStyle("display","block"),t.getProperty("__scrollerTabHeight")},_initItems:function(){this.setProperty("__labelClass",this.getConfig("labelClass")),this.setProperty("__contentClass",this.getConfig("contentClass")),this.setProperty("__animationDuration",this.getConfig("animationDuration")),this.setProperty("__labels",this.find("."+this.getConfig("labelClass")));var t=this.find("."+this.getConfig("contentClass"));t._forEachElementWrapped(function(t){t.setProperty("__scrollerTabHeight",null)}),this.setProperty("__tabs",t)},__gf:function(){var t=this.getProperty("__tabs"),e=qxWeb.env.canTransition(),n=this.getProperty("__currentIndex");"undefined"==typeof n?this.setProperty("__currentIndex",null):n>=t.length&&this.setProperty("__currentIndex",t.length-1),this.setProperty("__running",0),e&&(this.setProperty("__canTransition",qxWeb.env.canTransition()),t.forEach(function(t,e){if(!qxWeb(t).getProperty("__transitionHandler")){var n=this.__gk.bind(this,t,e);qxWeb(t).setProperty("__transitionHandler",n),t.addEventListener(qxWeb.EVENT.transitionEnd,n,!1)}}.bind(this))),this.hasListener("tap",this.__gg)||this.on("tap",this.__gg)},__gg:function(t){var e=this.getProperty("__labels"),n=qxWeb(t.getTarget()).getClosest("."+this.getProperty("__labelClass"));if(n.length>0){var i=e.indexOf(n[0]);i==this.getCurrentIndex()?this.collapse(!0):this.showItem(i,!0)}},__gh:function(t){this.getProperty("__canTransition")&&(t.setStyle("transition-property","height"),t.setStyle("transition-duration",this.getProperty("__animationDuration")+"ms"),t.setStyle("transition-timing-function","linear"),t.setStyle("transition-delay","0ms"))},__gi:function(t){this.getProperty("__canTransition")&&(t.setStyle("transition-property","none"),t.setStyle("transition-duration","0ms"),t.setStyle("transition-timing-function","none"),t.setStyle("transition-delay","0ms"),t[0].style.removeProperty(qxWeb.EVENT.transitionEnd.transitionStyleName),t[0].style.removeProperty("transition"))},__gj:function(t,e){var n={type:t,reverse:!1};if(e){var i=this.getProperty("__tabs");n.target=e,n.index=i.indexOf(e[0])}else n.current=this.getCurrentIndex();this.emit(t,n)},__gk:function(t,e){var n=this.__ga();t=qxWeb(t),this.__gi(t);var i=t.getProperty("__op");"show"==i&&this.setProperty("__currentIndex",e),this.__gj("after"+i,t),0===n&&this.__gj("switch")}},defer:function(t){qxWeb.$attach({accordion:t.accordion})}})}(),function(){var t=window.baselib||{};t.Accordion=function(){var t='The "baselib.Accordion" namespace is *deprecated*!';t+=" Please make sure to update your code to the selector-oriented syntax!\n";var e=qxWeb.array.fromArguments(arguments),n="undefined"!=typeof e[0]?e[0]:null,i=[];e.length>1&&(i=e.slice(1));var r=qxWeb(n),o=r.accordion.apply(r,i);return t+="Head over to the API docs and demo page to get more infos\n\n",t+="	http://baselib.ai.1und1.de/devel/docs/api/index.html / http://baselib.ai.1und1.de/devel/docs/demos/index.html\n\n",t+='A example for this syntax is $q("#yourSelector").accordion();',o instanceof window.qxWeb.$$qx.ui.website.Widget&&o.init(),qxWeb.info(t),o}}();
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.fineprintsTemplate",{statics:{init:function(){if(!!$q(".collapsible-content-container").length){var accordion=$q(".collapsible-content-container").accordion({label:"collapsible-trigger",content:"collapsible-content"});accordion.on("afterhide",function(e){e.getTarget().getPrev(".collapsible-trigger").toggleClasses(["collapsed","collapsible"]);
e.getTarget().hide();});accordion.on("aftershow",function(e){e.getTarget().getPrev(".collapsible-trigger").toggleClasses(["collapsed","collapsible"]);});}}}});$q.ready(function(){UNOUNO.components.fineprintsTemplate.init();});}if(typeof (jQuery)!=="undefined"){$.fn.fineprintsTemplate=function(element,options){this.element=element;
var FineprintsTemplate=function(options){this.init=function(){$(".collapsible-trigger",this.element).click($.proxy(function(e){var target=$(e.target);if(!target.hasClass("collapsible-trigger")){target=target.parents(".collapsible-trigger:eq(0)");}if(target.hasClass("collapsed")){target.removeClass("collapsed");
target.addClass("collapsible");$(".collapsible-content",this.element).slideDown();}else{target.addClass("collapsed");target.removeClass("collapsible");$(".collapsible-content",this.element).slideUp();}},this));};this.init();};return this.each(function(options){new FineprintsTemplate(this,options||{});
});};$(document).ready(function(){$(".footer-template-container").fineprintsTemplate();});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.webfontPrice",{construct:function(price,configuration){configuration=configuration||{};this._priceConfiguration=$q.object.merge({},this._defaultConfiguration,this._configuration,configuration);this.setPrice(price);},members:{_defaultConfiguration:{currency:true,replace00With:"",thousandsSeparator:"",decimalSeparator:".",decimalLength:2},_object:undefined,_priceConfiguration:undefined,_price:undefined,setDecimalSeparator:function(decimalSeparator){this._priceConfiguration.decimalSeparator=!!decimalSeparator;
this._parse();return this;},setDecimalLength:function(decimalLength){this._priceConfiguration.decimalLength=decimalLength;this._parse();return this;},setCurrency:function(currency){this._priceConfiguration.currency=currency;this._parse();return this;},setThousandsSeparator:function(thousandsSeparator){this._priceConfiguration.thousandsSeparator=thousandsSeparator;
this._parse();return this;},setReplace00With:function(replace00With){this._priceConfiguration.replace00With=replace00With;this._parse();return this;},setCurrencyBefore:function(currencyBefore){this._priceConfiguration.currencyBefore=currencyBefore;this._parse();return this;},setCurrencyBehind:function(currencyBehind){this._priceConfiguration.currencyBehind=currencyBehind;
this._parse();return this;},setPrice:function(price){this._price=price;this._parse();return this;},getCurrency:function(){return !!this._priceConfiguration.currency;},getConfiguration:function(){return this._priceConfiguration;},getDecimalSeparator:function(){return this._priceConfiguration.decimalSeparator;
},getThousandsSeparator:function(){return this._priceConfiguration.thousandsSeparator;},getDecimalLength:function(){return this._priceConfiguration.decimalLength;},getRawPrice:function(){return Number(this._price).toFixed(Math.max(0,~~this._priceConfiguration.decimalLength));},getReplace00With:function(){return this._priceConfiguration.replace00With||undefined;
},getFormattedPrice:function(){var result=this.getRawPrice();var currencySign=this.getCurrencySign();var decimalSeparator=this.getDecimalSeparator();var thousandsSeparator=this.getThousandsSeparator();var decimalLength=this.getDecimalLength();if(decimalSeparator){result=result.replace(".",decimalSeparator);
}if(thousandsSeparator){result=result.replace(new RegExp("\\d(?=(\\d{3})+"+(decimalLength>0?"\\D":"$")+")","g"),"$&"+thousandsSeparator);}var resultSplitted=result.split(decimalSeparator);if(resultSplitted[1]==0){result=resultSplitted[0];if("replace00With" in this._priceConfiguration&&!!this._priceConfiguration.replace00With.length){result+=decimalSeparator+this._priceConfiguration.replace00With;
}}if(this.getCurrency()){if(this.isCurrencyBefore()){result=this.getCurrencySign()+""+result;}else{if(this.isCurrencyBehind()){result=result+" "+this.getCurrencySign();}}}return result;},isCurrencyBefore:function(){return !!this._priceConfiguration.currencyBefore;},isCurrencyBehind:function(){return !!this._priceConfiguration.currencyBehind;
},getCurrencySign:function(){return this._priceConfiguration.currencyBefore||this._priceConfiguration.currencyBehind||undefined;},parse:function(){return this._object;},format:function(){return this.getFormattedPrice();},draw:function(container){container=$q(container);if(container&&!!container.getAncestors(".webfont-price-container").length){if(container.hasClass("price-container")){return this._drawPriceContainer(container);
}else{if(container.hasClass("price-container-inline")){return this._drawInlinePriceContainer(container);}}return false;}return false;},_drawPriceContainer:function(container){var parsedObject=this._object;var priceBeforeSeparatorElement=container.getChildren(".price-before-separator");var priceSeparatorElement=container.getChildren(".price-separator");
var priceBehindSeparatorElement=container.getChildren(".price-behind-separator");var priceBehindTextElement=container.getChildren(".price-text-behind-inline");if(!!priceBeforeSeparatorElement.length){priceBeforeSeparatorElement.setTextContent(parsedObject.beforeDecimalSeparator);if(parsedObject.decimalSeparator&&parsedObject.behindDecimalSeparator){if(!!!priceSeparatorElement.length){priceSeparatorElement=$q.create("<span />").addClass("price-separator").setTextContent(parsedObject.decimalSeparator).insertAfter(priceBeforeSeparatorElement);
}if(!!!priceBehindSeparatorElement.length){priceBehindSeparatorElement=$q.create("<span />").addClass("price-behind-separator").insertAfter(priceSeparatorElement);}if(container.hasClass("price-should-be-supped")&&!priceBehindSeparatorElement.hasClass("price-sup")){priceBehindSeparatorElement.addClass("price-sup");
}if(parsedObject.behindDecimalSeparator==0||isNaN(parsedObject.behindDecimalSeparator)){priceBehindSeparatorElement.addClass("price-zero");}else{if(priceBehindSeparatorElement.hasClass("price-zero")){priceBehindSeparatorElement.removeClass("price-zero");}}var previousBehindSeparatorHtml=$q.create("<span />").append(priceBehindSeparatorElement.getChildren()).getHtml();
if(previousBehindSeparatorHtml){priceBehindSeparatorElement.setHtml(previousBehindSeparatorHtml+parsedObject.behindDecimalSeparator);}else{priceBehindSeparatorElement.setHtml(parsedObject.behindDecimalSeparator);}if(!!priceBehindTextElement.length&&container.hasClass("price-should-be-supped")&&!priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.addClass("price-behind-separator-supped");
}}else{priceSeparatorElement.remove();priceBehindSeparatorElement.remove();if(!!priceBehindTextElement.length&&priceBehindTextElement.hasClass("price-behind-separator-supped")){priceBehindTextElement.removeClass("price-behind-separator-supped");}}return true;}return false;},_drawInlinePriceContainer:function(container){var parsedObject=this._object;
var priceElement=container.getChildren(".price-text-inline").getChildren(".price-text");if(!!priceElement.length){priceElement.setTextContent(parsedObject.formattedPrice);return true;}return false;},_parse:function(){this._object=new Object();this._object.rawPrice=this.getRawPrice();this._object.formattedPrice=this.getFormattedPrice();
this._object.currencySign=this.getCurrencySign();this._object.decimalSeparator=this.getDecimalSeparator();this._object.thousandsSeparator=this.getThousandsSeparator();var splittedFormattedPrice=this._object.formattedPrice.split(this.getDecimalSeparator());this._object.beforeDecimalSeparator=splittedFormattedPrice[0];
this._object.behindDecimalSeparator=splittedFormattedPrice[1];}}});$q.$attachStatic({"webfontPrice":function(price,configuration){return new UNOUNO.components.webfontPrice(price,configuration);}});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.lightbox.lightboxIframeContent",{statics:{onContentLoaded:function(content,lightboxInstance){content=$q.create(content);var lightboxOpener=lightboxInstance.getLightboxOpener();var iframeURL=lightboxOpener.getData("iframe");var iframe=$q.create('<iframe width="100%" height="490px" />');
iframe.setAttribute("src",iframeURL);content.find(".dynamic-lightbox-content").append(iframe);return content;}}});$q.define("UNOUNO.components.lazyLoadImages",{construct:function(configuration){this.threshold=configuration.threshold||0;this.images=$q("img[data-lavender-original]");this.init();},members:{breakpoints:{},threshold:null,images:null,init:function(){this.images.forEach(function(image){image=$q(image);
image.once("lazyload",function(image){var _src=image.getData("lavenderOriginal");image.removeData("lavenderOriginal");var _imagePreload=new Image();_imagePreload.src=_src;image.setAttribute("src",_src);}.bind(this,image));var element=image;var offset=element.getOffset();while(!this._isVisible(element[0])){element=element.getParents();
offset=element.getOffset();}var offsetKey=offset.top+":"+(offset.top+element.getHeight());if(!(offsetKey in this.breakpoints)){this.breakpoints[offsetKey]=[];}var entry={};entry.element=image;entry.timer=null;this.breakpoints[offsetKey].push(entry);},this);this.checkLazyLoad();this.initializeLazyLoadEvents();
},_isVisible:function(domObj){if((domObj.nodeType!=1)||(domObj==document.body)){return true;}if(window.getComputedStyle){var cs=document.defaultView.getComputedStyle(domObj,null);if(cs.getPropertyValue("display")!="none"&&cs.getPropertyValue("visibility")!="hidden"){return this._isVisible(domObj.parentNode);
}}else{if(domObj.currentStyle&&domObj.currentStyle["display"]!="none"&&domObj.currentStyle["visibility"]!="hidden"){return this._isVisible(domObj.parentNode);}}return false;},_inViewport:function(image){image=$q(image);var win=$q(window);var viewport={top:win.getScrollTop(),left:win.getScrollLeft()};
viewport.right=viewport.left+win.getWidth();viewport.bottom=viewport.top+win.getHeight();var bounds=image.getOffset();bounds.right=bounds.left+image.getWidth();bounds.bottom=bounds.top+image.getHeight();return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom));
},initializeLazyLoadEvents:function(){$q(window).on("scroll",this.checkLazyLoad,this);$q(window).on("resize",this.checkLazyLoad,this);},_checkVisibility:function(entry){var timer=window.setInterval(function(entry){if(!entry.loaded&&this._isVisible(entry.element[0])&&this._inViewport(entry.element)){window.clearInterval(timer);
entry.loaded=true;entry.timer=null;entry.element.emit("lazyload");}}.bind(this,entry),50);return timer;},checkLazyLoad:function(){var windowTop=$q(window).getScrollTop();var windowBottom=windowTop+$q(window).getHeight();for(var key in this.breakpoints){var breakpoint=this.breakpoints[key];var splitted=key.split(":");
var top=splitted[0];var bottom=splitted[1];if(bottom>=(windowTop-this.threshold)&&top<=(windowBottom+this.threshold)){breakpoint.forEach(function(entry){if(!entry.loaded){if(!entry.timer){entry.timer=this._checkVisibility(entry);}}},this);}else{breakpoint.forEach(function(entry){if(!entry.loaded&&entry.timer){window.clearInterval(entry.timer);
entry.timer=null;}},this);}}}}});$q.define("UNOUNO.meta.componentTemplate",{statics:{popupListener:function(){$q("a.component-link-popup").on("click",function(e){e.preventDefault();var popup;var href=$q(this).getAttribute("href");var dimensions=$q(this).getAttribute("rel");popup=window.open(href,"",dimensions+"left=10,top=100,status=yes,scrollbars=yes,resizable=yes");
popup.focus();});},componentHighlight:function(){var componentTemplates=$q(".component-start");if(!!componentTemplates.length){var toggleHighlight=$q.create("<span />").addClass("component-template-toggle");["editor","frontend","spin"].forEach(function(type){var typeToggle=$q.create("<span />").addClass("component-marker").addClass("static").addClass(type);
toggleHighlight.append(typeToggle);});$q("body").append(toggleHighlight);toggleHighlight.on("click",function(e){if(!toggleHighlight.hasClass("active")){toggleHighlight.addClass("active");var zIndexIncrease={spin:2,frontend:3};var draw=function(element,type,previousZIndex){var ignore=element.getData("componentHighlight");
if(!ignore){type=type||"editor";previousZIndex=previousZIndex||0;increaseZIndex=Number(zIndexIncrease[type])||1;if(element.getHeight()<=0){element.getChildren().forEach(function(elementChild){elementChild=$q(elementChild);draw(elementChild,elementChild.getData("responsible"));});return ;}var doDraw=true;
if(!element.hasClass("component-marker-container")){doDraw=!!!element.getAncestorsUntil(".component-marker-container").filter("[data-responsible = '"+type+"']").length;}if(doDraw){var offset=element.getOffset();var marker=$q.create("<span />");var zIndex=parseInt(element.getStyle("zIndex"))||1;element.getAncestors().forEach(function(ancestor){ancestor=$q(ancestor);
if(parseInt(ancestor.getStyle("z-index"))){zIndex=Math.max(zIndex,parseInt(ancestor.getStyle("zIndex")));}});marker.setData("responsible",type);marker.addClass("component-marker");marker.addClass(type);marker.appendTo($q("body"));marker.setStyle("fontSize",Math.max(Math.min(element.getHeight()/(0.25*10),120),15)+"px");
if(marker.getWidth()>element.getWidth()){marker.setStyle("fontSize",Math.max(Math.min(element.getWidth()/(0.5*10),120),15)+"px");if(marker.getWidth()>element.getWidth()){marker.setStyle("fontSize","0px");}}marker.setStyles({zIndex:String(zIndex+increaseZIndex+previousZIndex),position:"absolute",left:offset.left+"px",top:offset.top+"px",width:element.getWidth()+"px",height:element.getHeight()+"px"});
}$q("[data-responsible]",element).forEach(function(responsible){responsible=$q(responsible);draw(responsible,responsible.getData("responsible"),increaseZIndex);});}};$q(".component-start").forEach(function(componentStart){componentStart=$q(componentStart);var componentContainers=componentStart.getNextUntil(".component-end");
componentContainers.addClass("component-marker-container").forEach(function(componentContainer){componentContainer=$q(componentContainer);draw(componentContainer,componentContainer.getData("responsible"));});});}else{$q(".component-marker:not(.static)").remove();toggleHighlight.removeClass("active");
}},this);}},init:function(){this.initializeSmoothScrollAnchors();this.popupListener();this.componentHighlight();new UNOUNO.components.lazyLoadImages({threshold:100});},initializeSmoothScrollAnchors:function(){$q("a[href*=#][id]").forEach(function(anchor){anchor=$q(anchor);if(typeof (UNOUNO.tracking.clickTracking)=="function"&&!!anchor.getAttribute("id").length){UNOUNO.tracking.clickTracking(anchor.getAttribute("id"),"","",{prop17:UNOUNO.tracking.land});
}anchor.on("click",function(e){var target=$q(e.getTarget());if($q.getNodeName(target[0])!=="a"){target=target.getAncestors("a:eq(0)");}var parsedHref=$q.uri.parse(target.getAttribute("href"));var parsedCurrentHref=$q.uri.parse(window.location.href);if("anchor" in parsedHref&&!!parsedHref.anchor.length&&parsedHref.relative===parsedCurrentHref.relative){var destinationAnchor=parsedHref.anchor;
var destinationElement=$q("a[name = '"+destinationAnchor+"']");if(!!!destinationElement.length){destinationElement=$q("[id = '"+destinationAnchor+"']");}if(!!destinationElement.length){e.preventDefault();$q.setDocumentScrollTop(destinationElement.getOffset().top);}}});},this);}}});$q.ready(function(){UNOUNO.meta.componentTemplate.init();
});}if(typeof (jQuery)!=="undefined"){$.lazyLoadImages=function(options){var LazyLoadImages=function(options){this.init=function(){this.threshold=options.threshold||0;this.images=$("img[data-lavender-original]");this.breakpoints={};this.images.each($.proxy(function(index,image){var image=$(image);image.one("lazyload",function(image){var _src=image.data("lavenderOriginal");
image.removeData("lavenderOriginal");var _imagePreload=new Image();_imagePreload.src=_src;image.attr("src",_src);}.bind(this,image));var element=image;var offset=element.offset();while(!this._isVisible(element[0])){element=element.parents();offset=element.offset();}var offsetKey=offset.top+":"+(offset.top+element.height());
if(!(offsetKey in this.breakpoints)){this.breakpoints[offsetKey]=[];}var entry={};entry.element=image;entry.timer=null;this.breakpoints[offsetKey].push(entry);},this));this.checkLazyLoad();this.initializeLazyLoadEvents();};this.initializeLazyLoadEvents=function(){$(window).scroll($.proxy(this.checkLazyLoad,this));
$(window).resize($.proxy(this.checkLazyLoad,this));};this._checkVisibility=function(entry){var timer=window.setInterval(function(entry){if(!entry.loaded&&this._isVisible(entry.element[0])&&this._inViewport(entry.element)){window.clearInterval(timer);entry.loaded=true;entry.timer=null;entry.element.trigger("lazyload");
}}.bind(this,entry),50);return timer;};this.checkLazyLoad=function(){var windowTop=$(window).scrollTop();var windowBottom=windowTop+$(window).height();for(var key in this.breakpoints){var breakpoint=this.breakpoints[key];var splitted=key.split(":");var top=splitted[0];var bottom=splitted[1];if(bottom>=(windowTop-this.threshold)&&top<=(windowBottom+this.threshold)){breakpoint.forEach(function(entry){if(!entry.loaded){if(!entry.timer){entry.timer=this._checkVisibility(entry);
}}},this);}else{breakpoint.forEach(function(entry){if(!entry.loaded&&entry.timer){window.clearInterval(entry.timer);entry.timer=null;}},this);}}};this._isVisible=function(domObj){if((domObj.nodeType!=1)||(domObj==document.body)){return true;}if(window.getComputedStyle){var cs=document.defaultView.getComputedStyle(domObj,null);
if(cs.getPropertyValue("display")!="none"&&cs.getPropertyValue("visibility")!="hidden"){return this._isVisible(domObj.parentNode);}}else{if(domObj.currentStyle&&domObj.currentStyle["display"]!="none"&&domObj.currentStyle["visibility"]!="hidden"){return this._isVisible(domObj.parentNode);}}return false;
};this._inViewport=function(image){image=$(image);var win=$(window);var viewport={top:win.scrollTop(),left:win.scrollLeft()};viewport.right=viewport.left+win.width();viewport.bottom=viewport.top+win.height();var bounds=image.offset();bounds.right=bounds.left+image.width();bounds.bottom=bounds.top+image.height();
return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom));};this.init();};return new LazyLoadImages(options||{});};$.componentTemplate=function(options){var ComponentTemplate=function(options){this.init=function(){this.initializeSmoothScrollAnchors();
};this.initializeSmoothScrollAnchors=function(){$("a[href].smooth-scroll").each(function(){var anchor=$(this);anchor.click(function(e){var target=$(e.target);if(target.prop("tagName")!=="A"){target=target.parents("a:eq(0)");}var href=target.attr("href");if(href.indexOf("#")>-1){var destinationAnchor=href.substr(href.indexOf("#")+1);
var destinationElement=$("a[name = '"+destinationAnchor+"']");if(!!!destinationElement.length){destinationElement=$("[id = '"+destinationAnchor+"']");}if(!!destinationElement.length){e.preventDefault();$("html, body").animate({scrollTop:destinationElement.offset().top},500);}}});});};this.init();};return new ComponentTemplate(options||{});
};$(document).ready(function(){$.componentTemplate();$.lazyLoadImages({threshold:100});});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.gridTemplate",{construct:function(container){this.container=container;this.initializePopovers();this.initializeCarousel();},members:{container:null,carousel:null,closePopover:function(popover){popover=popover||$("body").getChildren(".grid-element-popover");
if(!!popover.length){popover.forEach(function(popover){popover=$q(popover);var popOverId=popover.getData("popover");var popOverReference=$q("[data-popover-reference = '"+popOverId+"']",this.container);if(!!popOverReference.length){popover.hide();popover.appendTo(popOverReference);}});}},initializePopovers:function(){$q(".grid-element.grid-element-clickable",this.container).forEach(function(gridElement){var uniqueId="popover-"+(((1+Math.random())*65536)|0).toString(16).substring(1);
gridElement=$q(gridElement);gridElementPopover=gridElement.getChildren(".grid-element-popover");gridElement.setData("popoverReference",String(uniqueId));gridElementPopover.setData("popover",String(uniqueId));});$q(".grid-element.grid-element-clickable",this.container).on($q.EVENT.tap,function(e){this.closePopover();
var target=$q(e.getTarget());if(!target.hasClass("grid-element")){target=target.getAncestors(".grid-element:eq(0)");}var gridElementsContainer=target.getAncestors(".grid-elements");var popOverReferenceId=target.getData("popoverReference");var popOver=$q("[data-popover = '"+popOverReferenceId+"']",target);
if(!!popOver.length){var targetOffsets=target.getOffset();var containerOffsets={top:0,left:0};var popOverPaddingTop=parseInt(popOver.getStyle("paddingTop"))||0;var popOverBorderTo=parseInt(popOver.getStyle("borderTopWidth"))||0;var popOverPositionTop=(targetOffsets.top-containerOffsets.top)-popOverPaddingTop-popOverBorderTo;
var popOverPositionLeft=(targetOffsets.left-containerOffsets.left)-((popOver.getWidth(true)/2)-(target.getWidth(true)/2));popOver.appendTo($q("body"));popOver.setStyles({top:popOverPositionTop+"px",left:popOverPositionLeft+"px"});popOver.show();}},this);$q(".grid-element.grid-element-clickable .grid-element-popover-close",this.container).on($q.EVENT.tap,function(e){var target=$q(e.getTarget());
if(!target.hasClass("grid-element-popover")){target=target.getAncestors(".grid-element-popover:eq(0)");}this.closePopover(target);},this);},initializeCarousel:function(){var gridElementsContainer=$q(".grid-elements-container",this.container);$q(".qx-carousel-wrapper",gridElementsContainer).forEach(function(carouselWrapper){carouselWrapper=$q(carouselWrapper);
var carouselElementHeights=[];var height=$q(".grid-elements:eq(0)",carouselWrapper).getHeight()+"px";$q(".grid-elements",carouselWrapper).forEach(function(carouselViewItem){carouselViewItem=$q(carouselViewItem);carouselViewItem.setStyle("display","block");carouselElementHeights.push(carouselViewItem.getHeight());
var carouselViewItemWrapper=$q.create("<div />").setStyle("display","inline-block");carouselViewItemWrapper.appendTo(carouselViewItem);$q(".grid-element",carouselViewItem).appendTo(carouselViewItemWrapper);});gridElementsContainer.setStyle("height",carouselElementHeights[0]+"px");carouselWrapper.setStyles({position:"absolute",width:"100%","height":"100%"});
var swipeEnabled=($q.env.get("device.type")!=="desktop");this.carousel=carouselWrapper.carousel({autoAnimate:false,showArrows:false,delay:3500,swipe:swipeEnabled});if(!swipeEnabled){$q(".grid-arrow",this.container).show();}this.carousel.on("beforeshow",function(data){this.closePopover();gridElementsContainer.setStyle("height",carouselElementHeights[data.next]+"px");
},this);$q(".grid-arrow.grid-arrow-left",this.container).on("click",function(e){e.preventDefault();if(this.carousel.getCurrentIndex()===0){this.carousel.moveTo(this.carousel.count()-1,"left");}else{this.carousel.showPrev();}},this);$q(".grid-arrow.grid-arrow-right",this.container).on("click",function(e){e.preventDefault();
if(this.carousel.getCurrentIndex()===(this.carousel.count()-1)){this.carousel.moveTo(0,"right");}else{this.carousel.showNext();}},this);},this);}}});$q.ready(function(){$q(".grid-container").forEach(function(featureSliderContainer){new UNOUNO.components.gridTemplate($q(featureSliderContainer));});});
}if(typeof (jQuery)!=="undefined"){$.fn.gridTemplate=function(options){var GridTemplate=function(element,options){this.__element=$(element);this.closePopover=function(popover){popover=popover||$("body").children(".grid-element-popover");if(!!popover.length){popover.each($.proxy(function(i,popover){popover=$(popover);
var popOverId=popover.data("popover");var popOverReference=this.__element.find("*").filter(function(){return $(this).data("popover-reference")===popOverId;});if(!!popOverReference.length){popover.hide();popover.appendTo(popOverReference);}},this));}};this.initializePopovers=function(){this.__element.find(".grid-element.grid-element-clickable").each(function(){var gridElement=$(this);
var uniqueId="popover-"+(((1+Math.random())*65536)|0).toString(16).substring(1);var gridElementPopover=gridElement.children(".grid-element-popover");gridElement.data("popover-reference",uniqueId);gridElementPopover.data("popover",uniqueId);});this.__element.find(".grid-element.grid-element-clickable").click($.proxy(function(e){this.closePopover();
var target=$(e.target);if(!target.hasClass("grid-element")){target=target.parents(".grid-element:eq(0)");}var gridElementsContainer=target.parents(".grid-elements");var popOverReferenceId=target.data("popover-reference");var popOver=target.find("*").filter(function(){return $(this).data("popover")===popOverReferenceId;
});if(!!popOver.length){var targetOffsets=target.offset();var containerOffsets={top:0,left:0};var popOverPaddingTop=parseInt(popOver.css("paddingTop"))||0;var popOverBorderTop=parseInt(popOver.css("borderTopWidth"))||0;var popOverBorderLeft=parseInt(popOver.css("borderLeftWidth"))||0;var popoverPaddingLeft=parseInt(popOver.css("paddingLeft"))||0;
var popOverPositionTop=(targetOffsets.top-containerOffsets.top)-popOverPaddingTop-popOverBorderTop;var popOverPositionLeft=(targetOffsets.left-containerOffsets.left)-((popOver.width()/2)-(target.width()/2))-popoverPaddingLeft-popOverBorderLeft;popOver.appendTo($("body"));popOver.css({top:popOverPositionTop+"px",left:popOverPositionLeft+"px"});
popOver.show();}},this));this.__element.find(".grid-element.grid-element-clickable .grid-element-popover-close").click($.proxy(function(e){var target=$(e.target);if(!target.hasClass("grid-element-popover")){target=target.parents(".grid-element-popover:eq(0)");}this.closePopover(target);},this));};this.initializeCarousel=function(){if(this.__element.find(".qx-carousel-view").children(".grid-elements").length<2){return ;
}this.__element.find(".qx-carousel-view").slick({prevArrow:this.__element.find(".grid-arrow-left"),nextArrow:this.__element.find(".grid-arrow-right")}).on("beforeChange",$.proxy(function(){this.closePopover();},this));this.__element.find(".qx-carousel-wrapper").css("overflow","hidden");this.__element.find(".grid-elements").removeClass("hidden");
};this.initialize=function(){this.initializePopovers();this.initializeCarousel();};this.initialize();};return this.each(function(options){new GridTemplate(this,options||{});});};$(document).ready(function(){$(".grid-container").gridTemplate();});}


if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.stickyNavigationTemplate",{statics:{stickyNavigation:$q(".sticky-navigation .sticky-navigation-container"),sectionAnchors:$q("a.section-anchor[name]"),callToActionButton:$q("[data-element = 'sticky-navigation-cta']"),callToActionButtonParent:null,stageCallToActionButton:$q("[data-element = 'stage-cta']"),stage:$q("[data-element = 'stage']"),checkStickyState:function(){var scrollTop=$q(window).getScrollTop();
var stickyNavigationOffset=this.stickyNavigation.getData("offsetTop");if(!this.stickyNavigation.hasClass("sticky")&&scrollTop>=stickyNavigationOffset){this.stickyNavigation.addClass("sticky");$q(document).emit("stickyNavigation",{sticky:true});}else{if(this.stickyNavigation.hasClass("sticky")&&scrollTop<stickyNavigationOffset){this.stickyNavigation.removeClass("sticky");
$q(document).emit("stickyNavigation",{sticky:false});}}},checkActiveItem:function(){var windowScrollTop=($q(window).getScrollTop()+60);var windowHeight=$q(window).getHeight();var currentViewPort=windowScrollTop+windowHeight/2;var activeSectionAnchors=[];this.sectionAnchors.forEach(function(sectionAnchor){sectionAnchor=$q(sectionAnchor);
var offsetTop=sectionAnchor.getOffset().top;var offsetBottom;var nextContainerElement=sectionAnchor.getNextAll(".section-anchor:eq(0)");if(!!!nextContainerElement.length){nextContainerElement=sectionAnchor.getNext(":eq(0)");offsetBottom=sectionAnchor.getOffset().top+nextContainerElement.getHeight();}else{offsetBottom=nextContainerElement.getOffset().top;
}if(windowScrollTop>=offsetTop&&windowScrollTop<=offsetBottom){activeSectionAnchors.push(sectionAnchor);}},this);this.stickyNavigation.find(".sticky-navigation-link[href][data-section-anchor].sticky-navigation-link-active").removeClass("sticky-navigation-link-active");var activeSectionAnchor=activeSectionAnchors[activeSectionAnchors.length-1];
if(activeSectionAnchor){var stickyNavigationElement=this.stickyNavigation.find(".sticky-navigation-link").filter("[data-section-anchor = '"+activeSectionAnchor.getAttribute("name")+"']");if(!stickyNavigationElement.hasClass("sticky-navigation-link-active")){stickyNavigationElement.addClass("sticky-navigation-link-active");
}}},checkCallToActionButton:function(){var scrollTop=$q(window).getScrollTop();var callToActionOffset=this.stageCallToActionButton.getData("offsetTop")||this.stage.getHeight();var callToActionWidth=(this.callToActionButton.getWidth(true)+(parseInt(this.callToActionButton.getStyle("marginLeft"))||0));
var stickyNavigationBar=this.stickyNavigation.find(".sticky-navigation-bar");var stickyNavigationCallToActionEntry=stickyNavigationBar.find(".sticky-navigation-bar-item.sticky-navigation-bar-item-cta");if(!stickyNavigationCallToActionEntry.hasClass("cta-visible")&&scrollTop>=callToActionOffset){stickyNavigationCallToActionEntry.addClass("cta-visible");
stickyNavigationCallToActionEntry.setStyle("width",callToActionWidth+"px");}else{if(stickyNavigationCallToActionEntry.hasClass("cta-visible")&&scrollTop<=callToActionOffset){stickyNavigationCallToActionEntry.removeClass("cta-visible");stickyNavigationCallToActionEntry.setStyle("width","");}}},init:function(){if(!!this.stickyNavigation.length){this.stickyNavigation.setData("offsetTop",this.stickyNavigation.getOffset().top);
var linksToSamePage=0;this.stickyNavigation.find(".sticky-navigation-bar-item:not(.sticky-navigation-bar-item-cta) .sticky-navigation-link[href]").forEach(function(stickyNavigationElement){stickyNavigationElement=$q(stickyNavigationElement);var currentHref=$q.uri.parse(window.location.href);var href=$q.uri.parse(stickyNavigationElement.getAttribute("href"));
if(currentHref.path===href.path){linksToSamePage++;if(href.anchor){stickyNavigationElement.setData("sectionAnchor",href.anchor);}}});if(!!this.stageCallToActionButton.length){this.stageCallToActionButton.setData("offsetTop",this.stageCallToActionButton.getOffset().top+this.stickyNavigation.getHeight());
}this.checkStickyState();if(linksToSamePage>1){this.checkActiveItem();}this.checkCallToActionButton();$q(window).on("scroll",function(e){this.checkStickyState();if(linksToSamePage>1){this.checkActiveItem();}this.checkCallToActionButton();},this);}}}});$q.ready(function(){UNOUNO.components.stickyNavigationTemplate.init();
});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.carouselTemplate",{construct:function(carouselContainer){this.carouselContainer=carouselContainer;this.carouselNavigation=this.carouselContainer.find(".carousel-navigation");this.carouselNavigationItems=this.carouselNavigation.find(".carousel-navigation-item[data-id]");
this.carouselNavigationGroups=this.carouselContainer.find(".carousel-navigation-indicators");this.carouselNavigationGroupsItems=this.carouselNavigationGroups.find(".carousel-navigation-indicator[data-group]");this.carouselElements=this.carouselContainer.find(".carousel-rotate");this.carouselElementsSize=this.carouselElements.getChildren(".carousel-rotate-item").length/this.carouselElements.length;
this.initializeClickEvents();},members:{currentIndex:0,carouselContainer:null,carouselElements:null,carouselNavigation:null,carouselNavigationItems:null,carouselNavigationGroupsItems:null,carouselElementsSize:0,initializeClickEvents:function(){this.carouselNavigation.find(".carousel-navigation-arrow-left").on("click",function(e){e.preventDefault();
this.showPrevItem();},this);this.carouselNavigation.find(".carousel-navigation-arrow-right").on("click",function(e){e.preventDefault();this.showNextItem();},this);this.carouselNavigationGroupsItems.on("click",function(e){e.preventDefault();this.showGroup($q(e.getTarget()).getData("group"));},this);this.carouselNavigationItems.on("click",function(e){e.preventDefault();
var target=$q(e.getTarget());if(!target.hasClass("carousel-navigation-item")){target=target.getParents(".carousel-navigation-item:eq(0)");}this.showItem(target.getData("id"));if(typeof (UNOUNO.tracking.genericTracking)=="function"&&!!target.getData("linkid").length){UNOUNO.tracking.genericTracking({prop60:target.getData("linkid"),prop12:UNOUNO.tracking.variante,prop17:UNOUNO.tracking.land});
}},this);},showPrevItem:function(){var prevIndex=this.currentIndex;prevIndex=(prevIndex==0)?this.carouselElementsSize-1:prevIndex-1;this.showItem(prevIndex);},showNextItem:function(){this.showItem((++this.currentIndex%this.carouselElementsSize));},showGroup:function(index){var previousGroup=this.carouselNavigationGroupsItems.filter(".current").getData("group");
this.carouselNavigationItems.filter("[data-group = "+previousGroup+"]").addClass("carousel-navigation-item-hidden");this.carouselNavigationItems.filter("[data-group = "+index+"]").removeClass("carousel-navigation-item-hidden");this.carouselNavigationGroupsItems.filter("[data-group = "+previousGroup+"]").removeClass("current");
this.carouselNavigationGroupsItems.filter("[data-group = "+index+"]").addClass("current");if(!!!this.carouselNavigationItems.filter("[data-group = "+index+"].current").length){this.showItem(this.carouselNavigationItems.filter("[data-group = "+index+"]:eq(0)").getData("id"));}},showItem:function(index){var prevCarouselNavigationitem=this.carouselNavigationItems.filter(".current");
var nextCarouselNavigationItem=this.carouselNavigationItems.filter("[data-id = "+index+"]");var nextCarouselGroup=nextCarouselNavigationItem.getData("group");prevCarouselNavigationitem.removeClass("current");nextCarouselNavigationItem.addClass("current");this.carouselElements.forEach(function(carouselElement){carouselElement=$q(carouselElement);
carouselElementChildren=carouselElement.getChildren(".carousel-rotate-item");carouselElementChildren.filter("[data-id = "+prevCarouselNavigationitem.getData("id")+"]").addClass("hidden");carouselElementChildren.filter("[data-id = "+index+"]").removeClass("hidden");},this);this.currentIndex=index;if(!!this.carouselNavigationGroups.length&&!this.carouselNavigationGroupsItems.filter("[data-group = "+nextCarouselGroup+"]").hasClass("current")){this.showGroup(nextCarouselGroup);
}}}});$q.ready(function(){$q(".carousel-container").forEach(function(carousel){new UNOUNO.components.carouselTemplate($q(carousel));});});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.featureTableOverview",{construct:function(featuretableContainer,callbacks){this.callbacks=callbacks||{};this.featuretableContainer=featuretableContainer;this.featuretable=$q(".featuretable-overview-body-container .featuretable-overview",this.featuretableContainer);
this.categories=$q("[data-category]",this.featuretable);this.referenceCategories=$q("[data-reference-category]",this.featuretable);this.categoriesToggle=$q(".featuretable-overview-collapsible-toggle",this.featuretableWrapper);this.init();},members:{featuretable:null,featuretableContainer:null,categories:null,referenceCategories:null,categoriesToggle:null,callbacks:null,visibleCheckTimer:null,callback:function(event){var ctx=this.callbacks;
if(ctx&&typeof (ctx[event])==="function"){return ctx[event].apply(ctx,[].concat.call([].slice.call(arguments,1),this));}return undefined;},init:function(){var isVisible=this.isOnScreen(this.featuretableContainer);if(!isVisible){this.visibleCheckTimer=window.setInterval(function(){var isVisible=this.isOnScreen(this.featuretableContainer);
if(isVisible){window.clearInterval(this.visibleCheckTimer);this.initializeFeaturetable();}}.bind(this),100);}else{this.initializeFeaturetable();}},initializeFeaturetable:function(){this.initializeClickEvent();this.featuretable.addClass("initialized");this.adjustHeadColumnHeights();this.adjustColumnHeights();
},isOnScreen:function(element){element=$q(element);var elementDisplay=element.getStyle("display");var ancestorsDisplay=elementDisplay;element.getAncestors().forEach(function(ancestor){ancestor=$q(ancestor);if(ancestor.getStyle("display")==="none"){ancestorsDisplay="none";}},this);if(elementDisplay==="none"||ancestorsDisplay==="none"){return false;
}var win=$q(window);var viewport={top:win.getScrollTop(),left:win.getScrollLeft()};viewport.right=viewport.left+win.getWidth();viewport.bottom=viewport.top+win.getHeight();var bounds=element.getOffset();if(!bounds){return false;}bounds.right=bounds.left+element.getWidth();bounds.bottom=bounds.top+element.getHeight();
return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom));},adjustHeadColumnHeights:function(){var columnHeights=[];var header=$q(".featuretable-overview-head",this.featuretableContainer);header.forEach(function(header){header=$q(header);
if(header.getHeight()<=0){header.setStyle("minHeight","");}});var headerCells=$q(".featuretable-overview-head td",this.featuretableContainer);headerCells.forEach(function(cell,index){cell=$q(cell);var cellHeight=cell.getHeight();columnHeights[index]=Math.max((columnHeights[index]||0),cellHeight);});headerCells.forEach(function(cell,index){cell=$q(cell);
if(!!cell.getChildren().length){var firstChild=cell.getChildren();var firstChildHeight=firstChild.getHeight();if(columnHeights[index]>=firstChildHeight){var columnHeight=columnHeights[index];if(columnHeight>1){cell.setStyle("height",columnHeight+"px");}}}});},adjustColumnHeights:function(){var columnHeights=[];
var featureLists=$q(".tariff-features",this.featuretable);featureLists.forEach(function(featureList){featureList=$q(featureList);$q("[data-adjust-height]",featureList).forEach(function(featureLabel,index){featureLabel=$q(featureLabel);columnHeights[index]=Math.max((columnHeights[index]||0),featureLabel.getHeight());
},this);},this);featureLists.forEach(function(featureList){featureList=$q(featureList);$q("[data-adjust-height]",featureList).forEach(function(featureLabel,index){featureLabel=$q(featureLabel);if(featureLabel.getHeight()<columnHeights[index]){featureLabel.setStyle("height",columnHeights[index]+"px");
}},this);},this);},setToggleState:function(toggleState){return this.featuretable.setData("toggle-state",toggleState);},getToggleState:function(){return this.featuretable.getData("toggle-state");},updateToggleState:function(category){var categoriesOpen=this.categories.filter(":not(.entry-collapsed)").length;
if(!!categoriesOpen){this.setToggleState("collapsible");this.categoriesToggle.removeClass("entries-collapsible");this.callback("onCategoryOpen",category);}else{this.setToggleState("collapsed");this.categoriesToggle.addClass("entries-collapsible");this.callback("onCategoryClose",category);}},initializeClickEvent:function(){this.categoriesToggle.on("click",function(e){this.categories.forEach(function(category){category=$q(category);
var referenceCategory=this.referenceCategories.filter("[data-reference-category = '"+category.getData("category")+"']");if(this.getToggleState()==="collapsed"){category.removeClass("entry-collapsed");}else{category.addClass("entry-collapsed");}},this);this.updateToggleState(this.categories);if(this.getToggleState()==="collapsed"){var featuretableContainerOffset=this.featuretableContainer.getOffset().top;
if(featuretableContainerOffset<$q(window).getScrollTop()){$q.setDocumentScrollTop(featuretableContainerOffset,0);}}},this);this.categories.on("click",function(e){var target=$q(e.getTarget());var category=target.getData("category");if(!category){target=target.getAncestors(".entry-label:eq(0)");category=target.getData("category");
}this.categories.filter("[data-category = '"+category+"']").toggleClass("entry-collapsed");this.referenceCategories.filter("[data-reference-category = '"+category+"']").toggleClass("featuretable-collapsible-collapsed");this.updateToggleState(category);},this);}}});$q.$attachStatic({"featureTableOverview":function(featuretable,callbacks){return new UNOUNO.components.featureTableOverview($q(featuretable),callbacks);
}});$q.ready(function(){$q(".featuretable-overview-container").forEach(function(featuretableContainer){return $q.featureTableOverview(featuretableContainer);});});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.faqTemplate",{construct:function(accordionList){this.accordionList=accordionList;this.initialize();},members:{initialize:function(){var accordion=this.accordionList.accordion({label:"faq-question",content:"faq-answer"});accordion.on("afterhide",function(e){var accordionItem=$q(e.getTarget());
accordionItem.getAncestors(".faq-accordion-item").removeClass("current");accordionItem.hide();});accordion.on("aftershow",function(e){var accordionItem=$q(e.getTarget());accordionItem.getAncestors(".faq-accordion-item").addClass("current");});if(this.accordionList.has(".faq-accordion-item.current")){accordion.showItem(0);
}}}});$q.ready(function(){$q(".faq-accordion").forEach(function(accordionList){new UNOUNO.components.faqTemplate($q(accordionList));});});}if(typeof (jQuery)!=="undefined"){$.fn.faqTemplate=function(options){var FaqTemplate=function(element,options){this.__element=$(element);this.__showAnswer=function(item){item.children(".faq-answer").slideDown(function(){item.addClass("current");
});};this.__hideAnswer=function(item){item.children(".faq-answer").slideUp(function(){item.removeClass("current");});};this.initialize=function(){this.__element.find(".faq-accordion-item").click($.proxy(function(e){var target=$(e.target);if(!target.hasClass("faq-accordion-item")){target=target.parents(".faq-accordion-item");
}this.__element.find(".faq-accordion-item.current").each($.proxy(function(i,item){this.__hideAnswer($(item));},this));if(target.hasClass("current")){this.__hideAnswer($(target));}else{this.__showAnswer($(target));}},this));};if(!!!this.__element.find(".faq-accordion-item.current").length){this.__element.find(".faq-accordion-item:eq(0)").addClass("current");
}var faqAccordionItem=this.__element.find(".faq-accordion-item.current");if(!!faqAccordionItem.length){this.__showAnswer(faqAccordionItem);}this.initialize();};return this.each(function(options){new FaqTemplate(this,options||{});});};$(document).ready(function(){$(".faq-accordion").faqTemplate();});}
if(typeof ($q)!=="undefined"){$q.define("UNOUNO.components.placeholderTrustpilotTemplate",{construct:function(element){this.element=element;this.businessUnit=this.element.getData("businessUnit");this.template=$q("#content-trustpilot-template",this.element);this.activeItem=0;this.init();},members:{animationIsRunning:false,init:function(){this.getBusinessUnit();
},errorHandler:function(){this.element.hide();},getReviews:function(businessUnitResponse){var request=$q.xhr("https://api.trustpilot.com/v1/business-units/"+this.businessUnit+"/reviews?tagValue=website&apikey=ZCawWNHAQeLuQ45mk206GSQmMa6dGTUr");request.onload=function(){if(request.status>=400){return this.errorHandler();
}this.render(businessUnitResponse,JSON.parse(request.responseText));}.bind(this);request.onerror=function(){this.errorHandler();}.bind(this);request.onabort=function(){this.errorHandler();}.bind(this);request.send();},getBusinessUnit:function(){var request=$q.xhr("https://api.trustpilot.com/v1/business-units/"+this.businessUnit+"?apikey=ZCawWNHAQeLuQ45mk206GSQmMa6dGTUr");
request.onload=function(){if(request.status>=400){return this.errorHandler();}this.getReviews(JSON.parse(request.responseText));}.bind(this);request.onerror=function(){this.errorHandler();}.bind(this);request.onabort=function(){this.errorHandler();}.bind(this);request.send();},checkAnimation:function(element,callback){if(element.isPlaying()&&!element.isEnded()){return window.setTimeout(function(){this.checkAnimation(element,callback);
}.bind(this),10);}return callback.call(this);},animate:function(element,transition,callback){element[transition](400);if(transition==="fadeIn"){element.show();}this.checkAnimation(element,callback);},rotate:function(nextPosition){var currentElements=this.elements.filter("[data-index = "+this.activeItem+"]");
var nextItem=(function(){if(typeof (nextPosition)!=="undefined"){return parseInt(nextPosition);}return(this.activeItem+1);}.bind(this))();if(nextItem>(this.elements.length/2)-1){nextItem=0;}var nextElements=this.elements.filter("[data-index = "+nextItem+"]");this.animationIsRunning=true;this.animate(currentElements,"fadeOut",function(){this.element.find(".trustpilot-review-indicator.current").removeClass("current");
if(!this.animationIsRunning){return ;}this.element.find(".trustpilot-review-indicator:eq("+nextItem+")").addClass("current");this.animate(nextElements,"fadeIn",function(){this.activeItem=nextItem;this.animationIsRunning=false;});});},render:function(businessUnitResponse,reviewsResponse){var reviews=reviewsResponse.reviews||[];
if(reviews.length==0){return this.errorHandler();}reviews.forEach(function(review,index){review.position=index;if(!!index){review["class"]="hidden";}if(review.text.length>340){var newText=review.text.substring(0,340);var nextSpacePos=review.text.substring(newText.length).indexOf(" ");if(nextSpacePos>-1){newText+=review.text.substring(newText.length,newText.length+nextSpacePos);
}review.text=newText+" ....";review.cropped=true;}var profileImage;review.consumer.links.forEach(function(consumerLink){if(consumerLink.rel=="profile-image"){profileImage=consumerLink.href;}});review.consumer.profileImage=profileImage||"//user-images.trustpilot.com/default/73x73.png";});var data=$q.object.merge({formatDate:function(){return function(text,render){var date=new Date(render(text));
if(typeof (date.toLocaleDateString)=="function"){return date.toLocaleDateString(document.documentElement.lang,{month:"short",day:"numeric"});}return"";};}},{reviews:reviews,numberOfReviews:businessUnitResponse.numberOfReviews});this.element.getChildren(".content-bottom").append($q.template.render(this.template.getHtml(),data));
this.elements=this.element.find(".entry");this.elements.filter(".hidden").removeClass("hidden").hide();this.element.find(".entries").forEach(function(container,index){container=$q(container);var maxElementsHeight=container.find(".entry").show().getHeightMax();container.find(".content").setStyle("height",maxElementsHeight+"px");
container.find(".entry").hide();container.find(".entry:eq(0)").show();});var heightOfContainerOne=parseInt(this.element.find(".entries:eq(0) .content").getStyle("height"));var heightOfContainerTwo=parseInt(this.element.find(".entries:eq(1) .content").getStyle("height"));if(heightOfContainerOne-heightOfContainerTwo>25){this.element.find(".entries:eq(1) .content").setStyle("height",(Number(heightOfContainerOne)-25)+"px");
}this.element.find(".trustpilot-review-indicator:eq(0)").addClass("current");$q(".trustpilot-review-indicator",this.element).on($q.EVENT.click,function(e){var target=$q(e.getTarget());if(!target.hasClass("current")&&!this.animationIsRunning){window.clearTimeout(this.restartIntervalId);window.clearInterval(this.intervalId);
delete this.restartIntervalId;delete this.intervalId;this.rotate(Number(target.getData("index")));this.restartIntervalId=window.setTimeout(function(){this.initTimer();}.bind(this),10000);}},this);this.initTimer();this.element.find(".mouse-event-container").on("mouseover",function(){if(this.intervalId){window.clearInterval(this.intervalId);
delete this.intervalId;}}.bind(this));this.element.find(".mouse-event-container").on("mouseout",function(){this.initTimer();}.bind(this));$q(window).on("blur",function(){if(this.intervalId){window.clearInterval(this.intervalId);delete this.intervalId;}}.bind(this));$q(window).on("focus",function(){this.initTimer();
}.bind(this));},initTimer:function(){if(!this.intervalId){this.intervalId=window.setInterval(function(){if(!this.animationIsRunning){this.rotate();}}.bind(this),8800);}}}});$q.ready(function(){$q(".content-trustpilot-container").forEach(function(container){container=$q(container);new UNOUNO.components.placeholderTrustpilotTemplate(container);
});});}if(typeof (jQuery)!=="undefined"){$.fn.placeholderTrustpilotTemplate=function(options){var PlaceholderTrustpilotTemplate=function(element,options){this.element=$(element);this.businessUnit=this.element.data("businessUnit");this.template=this.element.find("#content-trustpilot-template");this.activeItem=0;
this.init=function(){this.getBusinessUnit();};this.errorHandler=function(){this.element.hide();},this.getBusinessUnit=function(){$.ajax("https://api.trustpilot.com/v1/business-units/"+this.businessUnit+"?apikey=ZCawWNHAQeLuQ45mk206GSQmMa6dGTUr",{success:$.proxy(function(businessUnitResponse){this.getReviews(businessUnitResponse);
},this),error:$.proxy(function(){this.errorHandler();},this)});};this.getReviews=function(businessUnitResponse){$.ajax("https://api.trustpilot.com/v1/business-units/"+this.businessUnit+"/reviews?tagValue=website&apikey=ZCawWNHAQeLuQ45mk206GSQmMa6dGTUr",{success:$.proxy(function(reviewsResponse){this.render(businessUnitResponse,reviewsResponse);
},this),error:$.proxy(function(){this.errorHandler();},this)});};this.animate=function(element,transition,callback){element[transition](400,callback);},this.rotate=function(nextPosition){var currentElements=this.elements.filter("[data-index = "+this.activeItem+"]");var nextItem=(function(){if(typeof (nextPosition)!=="undefined"){return parseInt(nextPosition);
}return(this.activeItem+1);}.bind(this))();if(nextItem>(this.elements.length/2)-1){nextItem=0;}var nextElements=this.elements.filter("[data-index = "+nextItem+"]");this.animationIsRunning=true;this.animate(currentElements,"fadeOut",function(){this.element.find(".trustpilot-review-indicator.current").removeClass("current");
if(!this.animationIsRunning){return ;}this.element.find(".trustpilot-review-indicator:eq("+nextItem+")").addClass("current");this.animate(nextElements,"fadeIn",function(){this.activeItem=nextItem;this.animationIsRunning=false;}.bind(this));}.bind(this));},this.render=function(businessUnitResponse,reviewsResponse){var reviews=reviewsResponse.reviews||[];
if(reviews.length==0){return this.errorHandler();}$.each(reviews,function(index,review){review.position=index;if(!!index){review["class"]="hidden";}if(review.text.length>340){var newText=review.text.substring(0,340);var nextSpacePos=review.text.substring(newText.length).indexOf(" ");if(nextSpacePos>-1){newText+=review.text.substring(newText.length,newText.length+nextSpacePos);
}review.text=newText+" ....";review.cropped=true;}var profileImage;review.consumer.links.forEach(function(consumerLink){if(consumerLink.rel=="profile-image"){profileImage=consumerLink.href;}});review.consumer.profileImage=profileImage||"//user-images.trustpilot.com/default/73x73.png";});var data=$.extend({formatDate:function(){return function(text,render){var date=new Date(render(text));
if(typeof (date.toLocaleDateString)=="function"){return date.toLocaleDateString(document.documentElement.lang,{month:"short",day:"numeric"});}return"";};}},{reviews:reviews,numberOfReviews:businessUnitResponse.numberOfReviews});$.Mustache.add("reviews-template",this.template.html());this.element.children(".content-bottom").append($.Mustache.render("reviews-template",data));
this.elements=this.element.find(".entry");this.elements.filter(".hidden").removeClass("hidden").hide();this.element.find(".entries").each(function(index,container){container=$(container);var maxElementsHeight=0;container.find(".entry").each(function(){var el=$(this);var height=el.show().height();if(height>maxElementsHeight){maxElementsHeight=height;
}});container.find(".content").css("height",maxElementsHeight+"px");container.find(".entry").hide();container.find(".entry:eq(0)").show();});var heightOfContainerOne=parseInt(this.element.find(".entries:eq(0) .content").css("height"));var heightOfContainerTwo=parseInt(this.element.find(".entries:eq(1) .content").css("height"));
if(heightOfContainerOne-heightOfContainerTwo>25){this.element.find(".entries:eq(1) .content").css("height",(Number(heightOfContainerOne)-25)+"px");}this.element.find(".trustpilot-review-indicator:eq(0)").addClass("current");$(".trustpilot-review-indicator",this.element).click($.proxy(function(e){var target=$(e.target);
if(!target.hasClass("current")&&!this.animationIsRunning){window.clearTimeout(this.restartIntervalId);window.clearInterval(this.intervalId);delete this.restartIntervalId;delete this.intervalId;this.rotate(Number(target.data("index")));this.restartIntervalId=window.setTimeout(function(){this.initTimer();
}.bind(this),10000);}},this));this.initTimer();this.element.find(".mouse-event-container").on("mouseover",function(){if(this.intervalId){window.clearInterval(this.intervalId);delete this.intervalId;}}.bind(this));this.element.find(".mouse-event-container").on("mouseout",function(){this.initTimer();}.bind(this));
$(window).on("blur",function(){if(this.intervalId){window.clearInterval(this.intervalId);delete this.intervalId;}}.bind(this));$(window).on("focus",function(){this.initTimer();}.bind(this));};this.initTimer=function(){if(!this.intervalId){this.intervalId=window.setInterval(function(){if(!this.animationIsRunning){this.rotate();
}}.bind(this),8800);}};this.init();};return this.each(function(options){new PlaceholderTrustpilotTemplate(this,options||{});});};$(document).ready(function(){$(".content-trustpilot-container").placeholderTrustpilotTemplate();});}
$q.define("UNOUNO.lightbox.lightboxContentSitelock",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");
tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");},this);}}}});$q.define("UNOUNO.lightbox.lightboxContentAlldayHotline",{statics:{onComplete:function(lightbox,firstCall,instance){var productarea=$q("input#product-area").getValue();
if(firstCall){this._webservice=new WS_ContactService(this);this.lightbox=lightbox;$q(".sentnumber").on("click",function(e){e.preventDefault();var telefon=$q("input[name = 'telefon-input']").getValue();this._webservice.requestCallback(productarea,telefon);},this);$q("input[name = 'telefon-input']").on("click",function(e){this.errorCleanup();
},this);}else{var telefon=$q("input[name = 'telefon-input']").setValue("");this.errorCleanup();}this._webservice.getChannelCallbackStatus(productarea);},requestCallback:function(response){if(response.status==0&&typeof (response)==="object"){this.lightbox.getContent().find("div.whole-thing").addClass("hidden");
this.lightbox.getContent().find("div.success").removeClass("hidden");}else{this.errorHandling(response.status);}},errorHandling:function(status){if(status==100){this.lightbox.getContent().find("p.message-available").removeClass("hidden");}else{if(status==103){this.lightbox.getContent().find("p.message-valid").removeClass("hidden");
this.lightbox.getContent().find("div.both").addClass("error");this.lightbox.getContent().find("#telefon-input").addClass("error");}else{this.lightbox.getContent().find("p.message-other").removeClass("hidden");this.lightbox.getContent().find("div.both").addClass("error");this.lightbox.getContent().find("#telefon-input").addClass("error");
}}},errorCleanup:function(status){$q("div.both").removeClass("error");$q("#telefon-input").removeClass("error");this.lightbox.getContent().find("p.message-available").addClass("hidden");this.lightbox.getContent().find("p.message-other").addClass("hidden");this.lightbox.getContent().find("p.message-valid").addClass("hidden");
},getChannelCallbackStatus:function(response){if(response.status===0&&response.displayable){this.lightbox.getContent().find("div.whole-thing").removeClass("hidden");this.lightbox.getContent().find("div.success").addClass("hidden");}}}});$q.define("UNOUNO.lightbox.lightboxContentAlldayHotlineAccess",{statics:{onComplete:function(lightbox,firstCall,instance){var productarea=$q("input#product-area").getValue();
this.lightbox=lightbox;this.checkChatAvailable();this.checkChatAvailableInterval=window.setInterval(this.checkChatAvailable.bind(this),2000);if(firstCall){this._webservice=new WS_ContactService(this);$q(".sentnumber").on("click",function(e){e.preventDefault();var telefon=$q("input[name = 'telefon-input']").getValue();
this._webservice.requestCallback(productarea,telefon);},this);$q("input[name = 'telefon-input']").on("click",function(e){this.errorCleanup();},this);}else{var telefon=$q("input[name = 'telefon-input']").setValue("");this.errorCleanup();}this._webservice.getChannelCallbackStatus(productarea);},checkChatAvailable:function(){var chatElement=$q("#optiRealPersonContent.sticky-navigation-icon");
var lightboxContent=this.lightbox.getContent();if(chatElement.hasClass("text-online")||chatElement.hasClass("video-online")){lightboxContent.find("p.available").removeClass("hidden");lightboxContent.find("p.not-available").addClass("hidden");lightboxContent.find(".button-a2.optiRealPersonStatusLayerChat").addClass("show-button");
lightboxContent.find(".showroom_lightbox .infoteaser-container").removeClass("nochat");}else{lightboxContent.find("#lightboxchatbox").addClass("hidden");lightboxContent.find(".showroom_lightbox .infoteaser-container").addClass("nochat");}},onCleanUp:function(){window.clearInterval(this.checkChatAvailableInterval);
},requestCallback:function(response){if(response.status==0&&typeof (response)==="object"){this.lightbox.getContent().find("div.whole-thing").addClass("hidden");this.lightbox.getContent().find("div.success").removeClass("hidden");}else{this.errorHandling(response.status);}},errorHandling:function(status){if(status==100){this.lightbox.getContent().find("p.message-available").removeClass("hidden");
}else{if(status==103){this.lightbox.getContent().find("p.message-valid").removeClass("hidden");this.lightbox.getContent().find("div.both").addClass("error");this.lightbox.getContent().find("#telefon-input").addClass("error");}else{this.lightbox.getContent().find("p.message-other").removeClass("hidden");
this.lightbox.getContent().find("div.both").addClass("error");this.lightbox.getContent().find("#telefon-input").addClass("error");}}},errorCleanup:function(status){$q("div.both").removeClass("error");$q("#telefon-input").removeClass("error");this.lightbox.getContent().find("p.message-available").addClass("hidden");
this.lightbox.getContent().find("p.message-other").addClass("hidden");this.lightbox.getContent().find("p.message-valid").addClass("hidden");},getChannelCallbackStatus:function(response){if(response.status===0&&response.displayable){this.lightbox.getContent().find("div.whole-thing").removeClass("hidden");
this.lightbox.getContent().find("div.success").addClass("hidden");}}}});$q.define("UNOUNO.lightbox.domainsPriceOverviewList",{statics:{toggleDomainList:function(lightbox){var ctx=$q(lightbox.getContent());$q("li.tabs div.price-table-tab",ctx).forEach(function(tab){tab=$q(tab);tab.on("click",function(e){$q(".price-table-tab",ctx).removeClass("active");
$q("#table-content > div",ctx).addClass("hidden");tab.addClass("active");$q("#"+tab.getAttribute("id").split("tab-")[1]).removeClass("hidden");$q(".allDomains",ctx).hide();});});var toggleButton=$q(".toggle-domains",ctx);toggleButton.on("click",function(e){var target=$q(e.getTarget());if(!target.hasClass("toggle-domains")){target=target.getParents(".toggle-domains");
}target.toggleClass("expanded");if(target.hasClass("expanded")){$q(".domain-prices-row.hidden",ctx).addClass("was-hidden");$q(".domain-prices-row",ctx).removeClass("hidden");$q(".text-hide",ctx).show();$q(".text-show",ctx).hide();}else{$q(".domain-prices-row.was-hidden",ctx).addClass("hidden");$q(".text-show",ctx).show();
$q.setDocumentScrollTop($q(".domain-prices-list").getOffset().top);}$q(".toggle",target).toggleClass("hidden");});},onComplete:function(lightbox,firstCall,instance){if(firstCall){this.toggleDomainList(lightbox);}}}});$q.define("UNOUNO.lightbox.lightboxFormSubscribe",{statics:{onComplete:function(lightbox,firstCall,instance){$q.placeholder.update();
}}});$q.define("UNOUNO.lightbox.lightboxContentContentDeliveryNetwork",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());
var tabId=target.getData("tab");tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");},this);}}}});$q.define("UNOUNO.components.vh215Lightbox",{construct:function(startHours,endHours,showContent,showAfter,excludeDays){this.startHours=startHours;
this.endHours=endHours;this.showAfter=showAfter||3000;this.showContent=showContent;this.excludeDays=excludeDays||[0];if(!!$q(showContent).length){this.showLightbox();}},members:{showAfter:0,startHours:0,endHours:0,showContent:null,excludeDays:null,showLightbox:function(){var now=new Date();var currentHour=now.getHours();
var currentDay=now.getDay();if(currentHour>=this.startHours&&currentHour<this.endHours&&this.excludeDays.indexOf(currentDay)==-1){window.setTimeout(function(){var lightBox=new qui.bom.lightbox.LightBox();lightBox.setWidth(940);lightBox.setHeight(325);lightBox.getBlocker().setBackgroundColor("#4d84bb");
lightBox.getBlocker().setOpacity(0.75);lightBox.setContent($q(this.showContent).getHtml());lightBox.show();UNOUNO.tracking.lightboxTracking("tsInbound-layer");$q(".lightbox-close",$q(".lightbox_container")).on("click",function(lightBox){lightBox.close();}.bind(this,lightBox),this);}.bind(this),this.showAfter);
}}}});$q.define("UNOUNO.components.lightboxes",{statics:{init:function(){if(document.getElementById("tvspot-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("tvspot","tvspot-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("webappVideo-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("webappVideo","webappVideo-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-layout-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-layout","custom-layout-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-style-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-style","custom-style-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("insert-elements-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("insert-elements","insert-elements-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-gallery-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-gallery","image-gallery-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-edit-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-edit","image-edit-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("contact-maps-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("contact-maps","contact-maps-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSEO-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSEO","diyfilmSEO-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSMC-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSMC","diyfilmSMC-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("branches-container")){UNOUNO.inline.branchesBrowser=new UNOUNO.global.LightBox("lightbox-branches","branches-container",true);UNOUNO.inline.branchesBrowser.lightBox.setWidth(940);}}}});$q.define("UNOUNO.animation.responsiveLayout",{members:{container:null,cycleClasses:[],cycleTime:1000,activeClassIndex:0,animationTimer:null,userSelection:false,initializeClickEvents:function(){this.container.find("a[data-set]").forEach(function(link){$q(link).on("click",function(e){e.preventDefault();
this.userSelection=true;this.stop();this.container.removeClasses(this.cycleClasses);this.container.addClass($q(e.getTarget()).getData("set"));},this);},this);},stop:function(){window.clearInterval(this.animationTimer);},start:function(){if(!this.userSelection){this.animationTimer=window.setInterval(function(){this.toggleClasses();
}.bind(this),this.cycleTime);}},toggleClasses:function(){this.container.toggleClass(this.cycleClasses[this.activeClassIndex]);this.activeClassIndex=(++this.activeClassIndex%(this.cycleClasses.length));this.container.toggleClass(this.cycleClasses[this.activeClassIndex]);},initializeAutoStartEvent:function(){this.container.on("viewportVisibilityChange",function(e){if(e.visible){this.start();
}else{this.stop();}},this);}},construct:function(container,socialmediaboxProps){this.container=container;this.cycleClasses=socialmediaboxProps.classes;this.cycleTime=socialmediaboxProps.cycletime;this.initializeClickEvents();this.container.addClass(this.cycleClasses[this.activeClassIndex]);this.initializeAutoStartEvent();
}});$q.define("UNOUNO.lightbox.lightboxContentWebsiteBuilder",{statics:{onComplete:function(lightbox,firstCall,instance){$q(".responsive-layout",lightbox.getContent()).forEach(function(container){new UNOUNO.animation.responsiveLayout($q(container),{"classes":["tablet","smartphone","desktop"],"cycletime":3500});
});}}});$q.ready(function(){UNOUNO.components.lightboxes.init();});

$q.define("UNOUNO.components.webfontPrice",{extend:UNOUNO.components.webfontPrice,construct:function(price,configuration){this.base(arguments,price,configuration);},members:{_configuration:{currencyBefore:"$",thousandsSeparator:",",decimalSeparator:"."}}});
$q.define("UNOUNO.components.domaincheckbox",{construct:function(element){this.element=$q(element);this.init();},members:{element:null,init:function(){this.element.find(".errorbox-close").on("click",function(e){e.preventDefault();e.stopPropagation();var target=$q(e.getTarget());target.getAncestors("form:eq(0)").find(".PfxError").removeClasses(["PfxInputTextError","PfxError"]);
target.getAncestors(".errorbox-wrapper:eq(0)").addClass("hidden");},this);}}});$q.ready(function(){$q(".domaincheckbox").forEach(function(element){new UNOUNO.components.domaincheckbox(element);});});

UNOUNO.util.infoFootnote=function(footnoteId,linkIDs,alignment,vertical){this.init(footnoteId,linkIDs,alignment,vertical);};UNOUNO.util.infoFootnote.prototype={parent:null,modifyedFootnote:false,initInfoFootnote:function(){if(document.getElementById("container")!==null){this.parent=document.getElementById("container");
}else{this.parent=document.getElementById("container-plain");}if(this.footnote){var i=0,openerLink;if(this.isArray(this.linkIDs)){for(i;i<this.linkIDs.length;i+=1){openerLink=document.getElementById(this.linkIDs[i]);if(openerLink){qx.bom.Element.addListener(openerLink,"click",this.openFootnote,this);
qx.bom.Element.addListener(openerLink,"mouseover",this.setHover,this);qx.bom.Element.addListener(openerLink,"mouseout",this.removeHover,this);}}}else{openerLink=document.getElementById(this.linkIDs);if(openerLink){qx.bom.Element.addListener(openerLink,"click",this.openFootnote,this);qx.bom.Element.addListener(openerLink,"mouseover",this.setHover,this);
qx.bom.Element.addListener(openerLink,"mouseout",this.removeHover,this);}}qx.bom.Element.addListener(this.footnote,"click",this.closeFootnote,this);}},setHover:function(e){qx.bom.element.Class.add(e._currentTarget,"asterisk-hover");},removeHover:function(e){qx.bom.element.Class.remove(e._currentTarget,"asterisk-hover");
},openFootnote:function(e){if(this.footnote){e.preventDefault();this.closeFootnote();if(UNOUNO.global.openFootnote){UNOUNO.global.openFootnote.style.display="none";}UNOUNO.global.openFootnote=this.footnote;this.footnote.style.display="block";this.modifyFootnote(e._currentTarget.id);}},closeFootnote:function(){var i,iframeFixIE6;
this.footnote.style.display="none";if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){iframeFixIE6=qx.bom.Collection.query(".footnoteInfoIframe")[0];if(iframeFixIE6){qx.dom.Element.remove(iframeFixIE6);}}}},modifyFootnote:function(openerLinkId){if(this.modifyedFootnote===false){if(this.footnote.parentNode!==this.parent){qx.dom.Element.insertBegin(this.footnote,this.parent);
}this.modifyedFootnote=true;}this.footnote.style.position="absolute";var openerLink=document.getElementById(openerLinkId),leftPos=typeof (q)==="object"?$q.create(openerLink).getOffset().left:qx.bom.element.Location.getLeft(openerLink),topPos=typeof (q)==="object"?$q.create(openerLink).getOffset().top:qx.bom.element.Location.getTop(openerLink)-10,width=this.footnote.offsetWidth,height=this.footnote.offsetHeight,idIE6,zIndexIE6,footnoteBoxIFrameIE6,footnoteBoxIFrameIE6Elem;
if(this.alignment==="left"||typeof this.alignment==="undefined"){leftPos=leftPos-width+25;qx.bom.element.Style.set(this.footnote,"left",leftPos+"px");}else{if(this.alignment==="right"){leftPos=leftPos-10;qx.bom.element.Style.set(this.footnote,"left",leftPos+"px");}}if(this.vertical==="down"||typeof this.vertical==="undefined"){qx.bom.element.Style.set(this.footnote,"top",topPos+"px");
}else{if(this.vertical==="up"){topPos=topPos-height+35;qx.bom.element.Style.set(this.footnote,"top",topPos+"px");}}if(qx.core.Environment){if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){idIE6=this.footnote.id;zIndexIE6=qx.bom.element.Style.get(this.footnote,"zIndex","COMPUTED_MODE",true)-1;
if(!document.getElementById("iframe."+idIE6)){footnoteBoxIFrameIE6=document.createElement("iframe");footnoteBoxIFrameIE6.setAttribute("id","iframe."+idIE6);footnoteBoxIFrameIE6.setAttribute("src","/modules/frontend-ingrid/img/blank.gif");footnoteBoxIFrameIE6.className="footnoteInfoIframe";qx.dom.Element.insertBefore(footnoteBoxIFrameIE6,this.footnote);
footnoteBoxIFrameIE6Elem=document.getElementById("iframe."+idIE6);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"opacity",0);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"position","absolute");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"zIndex",zIndexIE6);qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"left",leftPos+"px");
qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"top",topPos+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"width",width+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"height",height+"px");qx.bom.element.Style.set(footnoteBoxIFrameIE6Elem,"display","block");}}}},isArray:function(linkIDs){return linkIDs&&typeof linkIDs==="object"&&typeof linkIDs.length==="number"&&typeof linkIDs.splice==="function"&&!(linkIDs.propertyIsEnumerable("length"));
},noTabIndex:function(){if(qx.bom.Collection.id(this.linkIDs).hasClass("no-tabindex")===true){qx.bom.Collection.id(this.linkIDs).setAttribute("tabindex","-1");}},init:function(footnoteId,linkIDs,alignment,vertical){this.footnote=document.getElementById(footnoteId);this.linkIDs=linkIDs;this.alignment=alignment;
this.vertical=vertical;this.noTabIndex();this.initInfoFootnote();}};
qx.Bootstrap.define("UNOUNO.global.Functions",{statics:{getElementsByClassName:function(clsName,element){var retVal=[];var elements;if(element){elements=element.getElementsByTagName("*");}else{elements=document.getElementsByTagName("*");}for(var i=0;i<elements.length;i++){if(elements[i].className.indexOf(" ")>=0){var classes=elements[i].className.split(" ");
for(var j=0;j<classes.length;j++){if(classes[j]==clsName){retVal.push(elements[i]);}}}else{if(elements[i].className==clsName){retVal.push(elements[i]);}}}return retVal;},countdownIntervalDisplay:function(clazz,interval,useVisibility){useVisibility=useVisibility||false;var allCountdownElementsA;var allCountdownElementsB;
if(clazz instanceof Array){allCountdownElementsA=this.getElementsByClassName(clazz[0]);allCountdownElementsB=this.getElementsByClassName(clazz[1]);}else{allCountdownElementsA=this.getElementsByClassName(clazz);}if(allCountdownElementsA){for(var i=0;i<allCountdownElementsA.length;i++){var imgElements=this.getElementsByClassName("day");
if(imgElements.length>0){for(var x=0;x<imgElements.length;x+=1){imgElements[x].style.display="block";}}allCountdownElementsA[i].style.display="block";}}if(allCountdownElementsB){for(var i=0;i<allCountdownElementsB.length;i++){if(useVisibility){allCountdownElementsB[i].style.visibility="hidden";}else{allCountdownElementsB[i].style.display="none";
}}}window.setInterval(function(scope,clazz){return function(){scope.toggleCountdown(allCountdownElementsA,useVisibility);scope.toggleCountdown(allCountdownElementsB,useVisibility);};}(this,clazz),interval);},toggleCountdown:function(countdownElements){if(countdownElements){for(var i=0;i<countdownElements.length;
i++){if(countdownElements[i].style.visibility){if(countdownElements[i].style.visibility!=="visible"){countdownElements[i].style.visibility="visible";}else{countdownElements[i].style.visibility="hidden";}}else{if(countdownElements[i].style.display!=="block"){countdownElements[i].style.display="block";
}else{countdownElements[i].style.display="none";}}}}}}});


UNOUNO.params.loadStatus="complete";if(UNOUNO.init.JSLoadStack&&UNOUNO.init.JSLoadStack.length>0){for(UNOUNO.init.processStack=0;UNOUNO.init.processStack<UNOUNO.init.JSLoadStack.length;UNOUNO.init.processStack+=1){UNOUNO.init.JSLoadStack[UNOUNO.init.processStack].call();}}