$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);}});
var eventName="ontouchstart" in document.documentElement?"tap":"click";$q.define("UNOUNO.pages.productTemplateNeos",{statics:{init:function(){if(($q(".oneandone-nodetypes-stage")&&$q(".oneandone-nodetypes-stage").getAttribute("data-element")=="stage")||($q(".oneandone-nodetypes-shopstage")&&$q(".oneandone-nodetypes-shopstage").getAttribute("data-element")=="stage")||($q(".oneandone-nodetypes-showroomstage")&&$q(".oneandone-nodetypes-showroomstage").getAttribute("data-element")=="stage")){$q("#header-container").addClass("header-overlap");
}window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id)){return t;}js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));
var js,fjs=document.getElementsByTagName("script")[0];js=document.createElement("script");js.id="fbscript";js.src="https://connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.2";fjs.parentNode.insertBefore(js,fjs);}}});UNOUNO.pages.productTemplateNeos.init();$q.define("UNOUNO.components.neos.flyoutNavigation",{construct:function(container){this.container=container;
this.flyoutDestination=container.find(".cms-flyout-container");this.initializeEvents();this.openElement(this.container.find(".cms-flyout-navigation > li:eq(0)"));},members:{container:null,flyoutDestination:null,element:null,currentFylout:null,setContainerHeight:function(){if(this.container!=null&&this.container.length){var currentFlyoutHeight=this.currentFlyout.getHeight();
var currentNavigationHeight=this.container.find(".cms-flyout-navigation").getHeight();var minNavigationHeight=currentNavigationHeight+200;if(minNavigationHeight<currentFlyoutHeight){this.container.setStyle("height",currentFlyoutHeight+"px");}else{this.container.setStyle("height",minNavigationHeight+"px");
}}},openElement:function(target){if(target!=null&&target.length&&target.length>0){while(target!=null&&target.length>0&&$q.getNodeName(target[0])!="li"){target=target.getParents(":eq(0)");}if(target!=null&&target.length&&!target.hasClass("active")){if(this.element!=null){this.element.removeClass("active");
}if(this.currentFlyout!=null){this.currentFlyout.addClass("hidden");}this.element=target;this.currentFlyout=$q("#"+target.getAttribute("data-flyoutid"));this.element.addClass("active");this.currentFlyout.removeClass("hidden");}}this.setContainerHeight();},initializeEvents:function(){this.container.onMatchTarget(eventName,".cms-flyout-navigation > li, .cms-flyout-navigation > li *",function(target,e){this.openElement(target);
},this);}}});$q.define("UNOUNO.components.neos.infoteaserFlyout",{statics:{init:function(){if($q(".cms-infoteaser-flyout").length){$q(".cms-infoteaser-flyout").forEach(function(item){var current=$q(item);new UNOUNO.components.neos.flyoutNavigation(current);});}}}});$q.ready(function(){UNOUNO.components.neos.infoteaserFlyout.init();
});$q.define("UNOUNO.components.neos.seoFaqAccordion",{statics:{init:function(){this.initEvents();this.closeAccordions();},initEvents:function(){$q(document.body).onMatchTarget(eventName,".cms-seoAccordion .cms-question",function(label){var $content=label.getNext(".cms-answer");if($content.is(".cms-closed")){this.open($content);
}else{if($content.is(".cms-open")){this.close($content);}}},this);},open:function(content){var $content=$q(content);$content.getAncestors(".cms-seoAccordion").find(".cms-answer.cms-open").forEach(this.close);$content.removeClass("cms-closed");$content.animateNamed("GROW_HEIGHT",200,"ease-out").once("animationEnd",function(){$content.addClass("cms-open");
});},close:function(content){var $content=$q(content);$content.removeClass("cms-open");$content.animateNamed("SHRINK_HEIGHT",200,"ease-out").once("animationEnd",function(){$content.addClass("cms-closed");});},closeAccordions:function(){$q(".cms-seoAccordion .cms-answer").addClass("cms-closed");}}});UNOUNO.components.neos.seoFaqAccordion.init();
$q.define("UNOUNO.components.neos.cmsTabs",{statics:{activeTabId:null,tabs:$q("li.cms-tab"),tabContents:$q("div.cms-tab-content"),activeSubtabId:null,subtabs:$q("li.cms-subtab"),subtabContents:$q("div.cms-subtab-content"),init:function(){var me=this;$q(document.body).onMatchTarget(eventName,".oneandone-nodetypes-tabs .cms-tab, .oneandone-nodetypes-tabs .cms-tab div",function(label){if(label[0].nodeName=="DIV"){label=label.getParents("li").getFirst();
}var container=label.getAncestors(".oneandone-nodetypes-tabs").getFirst();container.find(".cms-tab-content").addClass("hidden");container.find(".cms-tab").removeClass("active");var content=container.find("div#"+label.getAttribute("data-target")+".cms-tab-content");content.removeClass("hidden");this.activeTabId=content.getAttribute("name");
label.addClass("active");if(window.self==window.top){if(this.activeTabId&&this.activeTabId!=""){this.updateAnchorInLocationHref(this.activeTabId);}}else{try{parent.UNOUNO.pages.dynamicLightbox.setSize();}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}},this);$q(document.body).onMatchTarget(eventName,".oneandone-nodetypes-subtabs .cms-subtab, .oneandone-nodetypes-subtabs .cms-subtab div",function(label){if(label[0].nodeName=="DIV"){label=label.getParents("li").getFirst();
}var container=label.getAncestors(".oneandone-nodetypes-subtabs").getFirst();container.find(".cms-subtab-content").addClass("hidden");container.find(".cms-subtab").removeClass("active");var content=container.find("div#"+label.getAttribute("data-target")+".cms-subtab-content");content.removeClass("hidden");
this.activeSubtabId=content.getAttribute("name");label.addClass("active");if(window.self==window.top){this.updateAnchorInLocationHref(this.activeSubtabId);}else{try{parent.UNOUNO.pages.dynamicLightbox.setSize();}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}},this);$q(".oneandone-nodetypes-tabs").forEach(function(tabContainer){me.initTabs($q(tabContainer));
});$q(".oneandone-nodetypes-subtabs").forEach(function(tabContainer){me.initSubtabs($q(tabContainer));});this.bindHashChangedListener();var anchor=this.getAnchor();if(anchor!=""){this.switchToTabById(anchor,true);}},bindHashChangedListener:function(){if("onhashchange" in window){$q(window).on("hashchange",function(){this.switchToTabById(this.getAnchor(),true);
},this);}else{var storedHash=window.location.hash;window.setInterval(function(){if(window.location.hash!=storedHash){this.switchToTabById(this.getAnchor(),true);}},100);}},switchToTabById:function(id,scrollIntoView){var tabContent=$q('div[name="'+id+'"].cms-tab-content').length>0?$q('div[name="'+id+'"].cms-tab-content')[0]:null;
var subtabContent=$q('div[name="'+id+'"].cms-subtab-content').length>0?$q('div[name="'+id+'"].cms-subtab-content')[0]:null;if(tabContent){if(this.activeTabId!=id){this.showTabAndContainer(id,scrollIntoView);if(window.self==window.top){this.updateAnchorInLocationHref(id);}}else{if(scrollIntoView){this.scrollActiveTabIntoView(id);
}}}if(subtabContent){if(this.activeSubtabId!=id){this.showSubtabAndContainer(id,scrollIntoView);if(window.self==window.top){this.updateAnchorInLocationHref(id);}}else{if(scrollIntoView){this.scrollActiveSubtabIntoView(id);}}}},getAnchor:function(currentTabHref){var currentTabHref=currentTabHref||window.location.href;
var anchorPos=currentTabHref.search(/#/);if(anchorPos!==-1){var a=currentTabHref.substr(anchorPos+1);return a;}return false;},scrollActiveTabIntoView:function(activeTabId){var activeTabId=activeTabId||this.activeTabId;var activeTab=$q('div[name="'+activeTabId+'"].cms-tab-content')[0];if(activeTab){elementTopPosition=qx.bom.element.Location.getTop(activeTab);
if($q(".content-nav-container").length>0){window.scrollTo(0,qx.bom.element.Location.getTop(activeTab)-82);}else{window.scrollTo(0,qx.bom.element.Location.getTop(activeTab)-50);}window.SCROLL_TARGET_NODE=activeTab;}},scrollActiveSubtabIntoView:function(activeSubtabId){var activeSubtabId=activeSubtabId||this.activeSubtabId;
var activeSubtab=$q('div[name="'+activeSubtabId+'"].cms-subtab-content')[0];if(activeSubtab){elementTopPosition=$q(activeSubtab).getOffset().top;if($q(".content-nav-container").length>0){window.scrollTo(0,elementTopPosition-82);}else{window.scrollTo(0,elementTopPosition-50);}window.SCROLL_TARGET_NODE=activeSubtab;
}},showTabAndContainer:function(activeTabId,scrollIntoView){if(this.activeTabId!=activeTabId){this.activeTabId=activeTabId;this.resetTabAndContainer();var activeContent=$q('div[name="'+activeTabId+'"].cms-tab-content').length>0?$q('div[name="'+activeTabId+'"].cms-tab-content')[0]:null;var activeTab=$q('li[data-target="'+activeContent.id+'"].cms-tab').length>0?$q('li[data-target="'+activeContent.id+'"].cms-tab')[0]:null;
if(UNOUNO.tracking&&UNOUNO.tracking.lightboxTracking){UNOUNO.tracking.lightboxTracking(activeTabId);}if(activeContent){$q(activeContent).removeClass("hidden");}if(activeTab){$q(activeTab).addClass("active");if(scrollIntoView){this.scrollActiveTabIntoView();}}if(self!==top){try{parent.UNOUNO.pages.dynamicLightbox.setSize();
}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}}else{if(scrollIntoView){this.scrollActiveTabIntoView(activeTabId);}}},showSubtabAndContainer:function(activeSubtabId,scrollIntoView){if(this.activeSubtabId!=activeSubtabId){this.activeSubtabId=activeSubtabId;this.resetSubtabAndContainer();
var activeContent=$q('div[name="'+activeSubtabId+'"].cms-subtab-content').length>0?$q('div[name="'+activeSubtabId+'"].cms-subtab-content')[0]:null;var activeSubtab=$q('li[data-target="'+activeContent.id+'"].cms-subtab').length>0?$q('li[data-target="'+activeContent.id+'"].cms-subtab')[0]:null;var parentTabId=$q(activeSubtab).getClosest(".cms-tab-content").getAttribute("name");
if(parentTabId&&parentTabId!=""){this.showTabAndContainer(parentTabId,false);}if(UNOUNO.tracking&&UNOUNO.tracking.lightboxTracking){UNOUNO.tracking.lightboxTracking(activeSubtabId);}if(activeContent){$q(activeContent).removeClass("hidden");}if(activeSubtab){$q(activeSubtab).addClass("active");if(scrollIntoView){this.scrollActiveSubtabIntoView();
}}if(self!==top){try{parent.UNOUNO.pages.dynamicLightbox.setSize();}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}}else{if(scrollIntoView){this.scrollActiveSubtabIntoView(activeSubtabId);}}},updateAnchorInLocationHref:function(activeTabId){var urlObj=$q.uri.parse(window.location.href);
if(!urlObj.anchor){window.location.href=window.location.href+"#"+activeTabId;}else{if(urlObj.anchor!=activeTabId){var exp=new RegExp("#"+urlObj.anchor);window.location.href=window.location.href.replace(exp,"#"+activeTabId);}}},resetTabAndContainer:function(){if(this.tabs){j=0;for(j;j<this.tabs.length;
j+=1){$q(this.tabs[j]).removeClass("active");}}if(this.tabContents){k=0;for(k;k<this.tabContents.length;k+=1){$q(this.tabContents[k]).addClass("hidden");}}},resetSubtabAndContainer:function(){if(this.subtabs){j=0;for(j;j<this.subtabs.length;j+=1){$q(this.subtabs[j]).removeClass("active");}}if(this.subtabContents){k=0;
for(k;k<this.subtabContents.length;k+=1){$q(this.subtabContents[k]).addClass("hidden");}}},initTabs:function(container){container.find(".cms-tab:eq(0)").addClass("active");container.find(".cms-tab-content:eq(0)").removeClass("hidden");},initSubtabs:function(container){container.find(".cms-subtab:eq(0)").addClass("active");
container.find(".cms-subtab-content:eq(0)").removeClass("hidden");}}});UNOUNO.components.neos.cmsTabs.init();$q.define("UNOUNO.components.neos.productPresentation",{statics:{init:function(){var me=this;$q(document.body).onMatchTarget(eventName,".oneandone-spin-productpresentation .thumbnail-box, .oneandone-spin-productpresentation .thumbnail-box img",function(thumb){if(thumb[0].nodeName=="IMG"){thumb=thumb.getParents("li").getFirst();
}var container=thumb.getAncestors(".oneandone-spin-productpresentation").getFirst();container.find("img.alphapng").addClass("hidden");container.find(".thumbnail-box").removeClass("active");var content=container.find("#"+thumb.getAttribute("id").substr(6,8));content.removeClass("hidden");thumb.addClass("active");
},this);}}});UNOUNO.components.neos.productPresentation.init();$q.define("UNOUNO.components.neos.footnote",{statics:{footnoteWidth:260,footnoteMarginRight:10,init:function(){var me=this;$q("body > .cms-info-footnote").remove();$q("a[data-footnoteid], span[data-footnoteid]").on("click",this.onAsteriskClicked,this);
$q(".cms-info-footnote").on("click",function(e){var elm=e.getCurrentTarget();this.hideFootnote(elm);},this);},onAsteriskClicked:function(ev){ev.preventDefault();var target=$q(ev.getCurrentTarget());target.addClass("cms-opened");this.activateAsterisk(target);},activateAsterisk:function(elm){var left=elm.getOffset()["left"]-5;
var leftMax=Math.min($q(window).getScrollLeft()+$q(window).getWidth()-this.footnoteWidth-this.footnoteMarginRight,$q(document).getWidth()-this.footnoteWidth-this.footnoteMarginRight);left=(left<leftMax)?left:elm.getOffset()["left"]-this.footnoteWidth+23;var top=elm.getOffset()["top"]-5;var footnote=$q(document.getElementById(elm.getAttribute("data-footnoteid")));
this.showFootnote(footnote,left,top);footnote.find(".lightboxopener").once(eventName,function(){this.hideFootnote(footnote);},this);},showFootnote:function(footnoteElm,left,top){$q(".cms-info-footnote.active").removeClass("active");footnoteElm.appendTo("body");footnoteElm.addClass("active");footnoteElm.setStyle("left",left+"px");
footnoteElm.setStyle("top",top+"px");},hideFootnote:function(elm){$q(elm).removeClass("active");$q('*[data-footnoteid = "'+$q(elm).getAttribute("id")+'"]').removeClass("cms-opened");},init___deprecated:function(){var footnoteId,footnotePos;$q(".cms-info-footnote").forEach(function(footnote){var obj=$q(footnote);
footnoteId=obj.getAttribute("data-footnoteid");footnotePos=obj.getAttribute("data-footnotepos");if(footnoteId&&footnotePos){new UNOUNO.util.infoFootnote((footnoteId+".footnote"),("asterisk-"+footnoteId),footnotePos);}});}}});UNOUNO.components.neos.footnote.init();$q.define("UNOUNO.components.neos.multiToggle",{statics:{toggles:[],init:function(container,options){var toggle=new UNOUNO.components.neos.multiToggleInstance;
toggle.init(container,options);this.toggles.push(toggle);return toggle;}}});$q.define("UNOUNO.components.neos.multiToggleInstance",{members:{currentItemNr:null,itemsPerNr:[],buttonsPerNr:[],options:{},init:function(container,o){var options={"items":(o&&o["items"])?o["items"]:$q(container).find(".cms-carousel-rotate-item"),"buttons":(o&&o["buttons"])?o["buttons"]:$q(container).find(".cms-carousel-navigation-item"),"forward":(o&&o["forward"])?o["forward"]:$q(container).find(".cms-carousel-navigation-arrow-right"),"backward":(o&&o["backward"])?o["backward"]:$q(container).find(".cms-carousel-navigation-arrow-left")};
this.itemsPerNr=[];this.buttonsPerNr=[];this.currentItemNr=null;this.currentTimeout=null;var items=options.items;var buttons=options.buttons;var forward=options.forward;var backward=options.backward;var me=this;$q(container).on("mouseover",function(e){clearTimeout(me.currentTimeout);});$q(container).on("mouseout",function(e){me.doToggle(me.currentItemNr);
});if(forward){$q(forward).on(eventName,function(e){me.doForward();});}if(backward){$q(backward).on(eventName,function(e){me.doBackward();});}for(var n=0,count=items.length;n<count;n++){var elm=items[n];var nr=elm.getAttribute("data-nr");if(nr!==null){if(!this.itemsPerNr[nr]){this.itemsPerNr[nr]=[];}this.itemsPerNr[nr].push(elm);
}else{$q.debug(this,"data-nr for multiToggle not found");}}for(var n=0,count=buttons.length;n<count;n++){var elm=buttons[n];var nr=elm.getAttribute("data-nr");if(!this.buttonsPerNr[nr]){this.buttonsPerNr[nr]=[];}this.buttonsPerNr[nr].push(elm);var me=this;$q(elm).on(eventName,function(e){me.doToggle(parseInt(e._currentTarget.getAttribute("data-nr")));
});}if(this.itemsPerNr.length===0){$q.debug(this,"No valid toggle items for multiToggle");}else{this.doToggle(this.getFirstNr());}},getFirstNr:function(){for(var nr=0,count=this.itemsPerNr.length;nr<=count;nr++){if(this.itemsPerNr[nr]){return nr;}}},getLastNr:function(){for(var nr=this.itemsPerNr.length;
nr>0;nr--){if(this.itemsPerNr[nr]){return nr;}}},doForward:function(){if(this.currentItemNr===null){this.currentItemNr=this.getFirstNr();}var found=false;for(var n=this.currentItemNr,count=this.itemsPerNr.length;n<=count;n++){if(this.itemsPerNr[n]&&this.currentItemNr<n){found=true;this.doToggle(n);break;
}}if(found===false){this.doToggle(this.getFirstNr());}},doBackward:function(){if(this.currentItemNr===null){this.currentItemNr=this.getFirstNr();}var found=false;for(var n=this.currentItemNr,nr=0;n>=nr;n--){if(this.itemsPerNr[n]&&this.currentItemNr>n){found=true;this.doToggle(n);break;}}if(found===false){this.doToggle(this.getLastNr());
}},doToggle:function(nr){var me=this;if(me.currentTimeout!==null){window.clearTimeout(this.currentTimeout);this.currentTimeout=null;}if(this.itemsPerNr[nr]){this.itemsPerNr[nr].map(function(elm){$q(elm).addClass("current");if($q(elm).getAttribute("data-duration")>0){me.currentTimeout=window.setTimeout(function(){me.doForward();
},$q(elm).getAttribute("data-duration"));}});}this.itemsPerNr.map(function(arr,idx){arr.map(function(elm){if(idx!=nr){$q(elm).removeClass("current");}});});if(this.buttonsPerNr[nr]){this.buttonsPerNr[nr].map(function(elm){$q(elm).addClass("current");});this.buttonsPerNr.map(function(arr,idx){arr.map(function(elm){if(idx!=nr){$q(elm).removeClass("current");
}});});}this.currentItemNr=nr;if(window.self!==window.top){try{parent.UNOUNO.pages.dynamicLightbox.setSize();}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}}}});$q.ready(function(){$q(".oneandone-nodetypes-carousel").forEach(function(elm,index){if($q(elm).hasClass("cms-carousel")){UNOUNO.inline.tradeSlider=UNOUNO.inline.tradeSlider?UNOUNO.inline.tradeSlider:[];
UNOUNO.inline.tradeSlider[index]=$q(elm).carousel({autoAnimate:true,showArrows:true,delay:3500});$q(elm).on("viewportVisibilityChange",function(e){if(e.visible){UNOUNO.inline.tradeSlider[index].start();}else{UNOUNO.inline.tradeSlider[index].stop();}});$q(elm).find(".qx-carousel-arrow").on(eventName,function(e){UNOUNO.inline.tradeSlider[index].stop();
});var min_height=250;$q(elm).find("img.cms-carousel-rotate-item").forEach(function(elm2){if(min_height<elm2.height){min_height=elm2.height;}});$q(elm).find(".cms-screens").setStyle("height",min_height+"px");$q(elm).find(".cms-carousel-tab > div:eq(0)").addClass("current");$q(elm).find(".cms-slideshow-control-middle h2:eq(0)").addClass("current");
$q(elm).find(".cms-checkbox-controls input:eq(0)").setAttribute("checked","checked");$q(elm).find(".cms-checkbox-controls li label:eq(0)").addClass("current");UNOUNO.inline.tradeSlider[index].on("switch",function(e){$q(elm).find(".cms-carousel-tab > div.current").removeClass("current");$q(elm).find(".cms-carousel-tab > div:eq("+e.current+")").addClass("current");
$q(elm).find(".cms-slideshow-control-middle h2.current").removeClass("current");$q(elm).find(".cms-slideshow-control-middle h2:eq("+e.current+")").addClass("current");$q(elm).find(".cms-checkbox-controls input:checked").removeAttribute("checked");$q(elm).find(".cms-checkbox-controls input:eq("+e.current+")").setAttribute("checked","checked");
$q(elm).find(".cms-checkbox-controls li label.current").removeClass("current");$q(elm).find(".cms-checkbox-controls li label:eq("+e.current+")").addClass("current");});sliderLabels=$q(elm).find(".cms-checkbox-controls li label");sliderLabels.on(eventName,function(e){UNOUNO.inline.tradeSlider[index].stop();
if(sliderLabels.indexOf($q(".cms-checkbox-controls li label.current"))<sliderLabels.indexOf(e.getTarget())){UNOUNO.inline.tradeSlider[index].moveTo(sliderLabels.indexOf(e.getTarget()),"right");}else{UNOUNO.inline.tradeSlider[index].moveTo(sliderLabels.indexOf(e.getTarget()),"left");}});}else{UNOUNO.components.neos.multiToggle.init(elm);
}});});UNOUNO.params=UNOUNO.params||{};UNOUNO.params.isMobileVersion=false;$q.define("UNOUNO.components.neos.variantDropdown",{statics:{dropdowns:[],init:function(){var _self=this;$q("ul.dropdown-variant").forEach(function(item,idx){item.id="e"+idx+item.id;_self._prepare($q(item));});},_prepare:function(dropdown){if(dropdown.children("li").length>1){var _dropdown=new UNOUNO.components.neos.variantDropdownInstance;
setTimeout(function(){_dropdown.init(dropdown);},25);this.dropdowns.push(_dropdown);return _dropdown;}}}});$q.define("UNOUNO.components.neos.variantDropdownInstance",{members:{dropdown:null,wrapper:null,colorBox:null,memoryBox:null,activeContainer:null,listContainer:null,id:null,init:function(dropdown){this.dropdown=dropdown;
this.id=this.dropdown.getAttribute("data-id");this.wrapper=this.dropdown.getClosest(".cms-infoteaser-box, .hardware-box");this.colorBox=$q("select[id*="+this.id+"-colorsDropdown]",this.wrapper);this.memoryBox=(this.dropdown.hasClass("hasMemorySizes"))?$q("select[id*="+this.id+"-memorySizeDropdown]",this.wrapper):false;
this.activeContainer=$q("li.active",this.dropdown);this.listContainer=$q("li.list > ul",this.dropdown);var _self=this,activeColor=$q("li.selected",this.dropdown),activeItem=activeColor.find(".selected").length>0?activeColor.find(".selected"):activeColor.find(".item:first"),_item=activeItem.find(".details"),_color=_item.getAttribute("data-color"),_memory=_item.getAttribute("data-memory"),hide=false;
this._toggleItems(_color,_memory);if(!UNOUNO.params.isMobileVersion){_self._hideDeliveryStatus();_self._setActiveItem(activeItem,hide);qx.bom.Element.addListener(this.dropdown,eventName,_self._openDropDown,_self);qx.bom.Element.addListener($q(".item",this.dropdown),eventName,_self._onClickVariant,_self);
}else{}},_initFootnote:function(){var footnote=$q("a.variantopener",$q("#"+this.id));if(footnote.length=1){UNOUNO.util.createFootnote(footnote[0].id,"footnote-"+footnote[0].id);}},_hideDeliveryStatus:function(){var productBox=$q(".cms-productbox."+this.id);if(!productBox.find("ul.dropdown-color").hasClass("hidden")){productBox.find(".deliverystatus, p.delivery").addClass("hidden");
}},_setActiveItem:function(item,hide){var _self=this;if(hide){this.dropdown.find(".selected").removeClass("selected");}item.addClass("selected");item.parents("li").addClass("selected");},_openDropDown:function(){if(this._documentHandler("exists")){$q(document).emitNative(eventName);this._documentHandler("off");
}this.dropdown.addClass("open");this.dropdown.removeClass("close");this._documentHandler("on");},_closeDropDown:function(e){this.dropdown.addClass("close");this.dropdown.removeClass("open");this._documentHandler("off");},_documentHandler:function(mode){if(mode=="on"){qx.bom.Element.addListener(document,eventName,this._closeDropDown,this);
}else{if(mode=="off"){qx.bom.Element.removeListener(document,eventName,this._closeDropDown);}else{if(mode=="exists"){return qx.bom.Element.hasListener(document,eventName);}}}},_onClickVariant:function(e){e.preventDefault();var _item=$q(e.currentTarget).find(".details"),_color=_item.getAttribute("data-color"),_memory=_item.getAttribute("data-memory"),_hasChanged=false;
if(this.dropdown.hasClass("close")){e.stopPropagation();this._openDropDown();return false;}if(_color!=""&&_memory!=""){this._toggleItems(_color,_memory);this._toggleImages(_item);this._toggleButtons(_item,_color,_memory);this._setSelectBoxValue("color",_color);_hasChanged=true;}if(_memory!=""&&this.memoryBox!==false){this._setSelectBoxValue("memory",_memory);
_hasChanged=true;}if(_hasChanged){this._setActiveItem(_item.getParents(".item"),true);e.stopPropagation();this._closeDropDown();}return false;},_toggleImages:function(_item){var frontSrc=_item.getAttribute("data-lavender-front"),frontZoomSrc=_item.getAttribute("data-lavender-front-zoom"),sideSrc=_item.getAttribute("data-lavender-side"),sideZoomSrc=_item.getAttribute("data-lavender-side-zoom"),backSrc=_item.getAttribute("data-lavender-back"),topOfferSrc=_item.getAttribute("data-lavender-top-offer"),backZoomSrc=_item.getAttribute("data-lavender-back-zoom");
if(this.wrapper.find(".hardware-box-image img").length>0){if(this.wrapper.hasClass("onecolumn")){if(this.wrapper.hasClass("tablets")){this.wrapper.find(".hardware-box-image img.hardware-image-right")[0].src=frontSrc;}else{this.wrapper.find(".hardware-box-image img.hardware-image-left")[0].src=backSrc;
this.wrapper.find(".hardware-box-image img.hardware-image-right")[0].src=frontSrc;}}else{this.wrapper.find(".hardware-box-image img")[0].src=frontSrc;}}else{if(this.wrapper.getClosest(".oneandone-spin-productpresentation").length>0){var container=this.wrapper.getClosest(".oneandone-spin-productpresentation");
container.find("#vi_main1")[0].src=frontSrc;container.find("#vi_main2")[0].src=sideSrc;container.find("#vi_main3")[0].src=backSrc;container.find("#thumb_vi_main1 img")[0].src=frontZoomSrc;container.find("#thumb_vi_main2 img")[0].src=sideZoomSrc;container.find("#thumb_vi_main3 img")[0].src=backZoomSrc;
}}},_toggleItems:function(color,memory){this.wrapper.find(".hardware-box-price").addClass("hidden");this.wrapper.find(".hardware-box-uvp").addClass("hidden");this.wrapper.find(".cms-ribbon.cms-right-c2").addClass("hidden");this.wrapper.find(".cms-ribbon.cms-left-c2").addClass("hidden");this.wrapper.find(".hardware-box-uvp."+color+"."+memory+"GB").removeClass("hidden");
this.wrapper.find(".hardware-box-price."+color+"."+memory+"GB").removeClass("hidden");this.wrapper.find(".cms-ribbon.cms-right-c2."+color+"."+memory+"GB").removeClass("hidden");this.wrapper.find(".cms-ribbon.cms-left-c2."+color+"."+memory+"GB").removeClass("hidden");this.wrapper.find(".cms-neos-st-price").addClass("hidden");
this.wrapper.find(".cms-hw-uvp").addClass("hidden");this.wrapper.find(".cms-link-a1.details-text").addClass("hidden");this.wrapper.find(".cms-hw-uvp."+color+"."+memory+"GB").removeClass("hidden");this.wrapper.find(".cms-neos-st-price."+color+"."+memory+"GB").removeClass("hidden");this.wrapper.find(".cms-link-a1.details-text."+color+"."+memory+"GB").removeClass("hidden");
},_setSelectBoxValue:function(type,value){var _item=(type==="memory")?this.memoryBox:this.colorBox;_item.setValue(value);$q(_item).emitNative("change");},_toggleButtons:function(item,color,memory){var button=item.getClosest(".cms-infoteaser-box, .hardware-box").find(".cms-link, .hardware-box-button"),delay=item.find(".delivery").hasClass("delay"),deliveryNotAvailableMessage=item.getClosest(".cms-infoteaser-box, .hardware-box").find(".deliveryNotAvailable"),isBK=$q("body").hasClass("mobile-bk-shop");
button.addClass("hidden");deliveryNotAvailableMessage.addClass("hidden");item.getClosest(".cms-infoteaser-box, .hardware-box").find(".cms-link."+color+"."+memory+"GB, .hardware-box-button."+color+"."+memory+"GB").removeClass("hidden");if(isBK){if(delay){button.addClass("hidden");deliveryNotAvailableMessage.removeClass("hidden");
}}}}});UNOUNO.components.neos.variantDropdown.init();$q.define("UNOUNO.components.neos.accordion",{statics:{init:function(){$q(document).onMatchTarget(eventName,".cms-accordion-box .cms-header, .cms-accordion-box .cms-header *",function(target,event){$q(target).getClosest(".cms-accordion-box").toggleClass("cms-open");
if(window.self!==window.parent){try{parent.UNOUNO.pages.dynamicLightbox.setSize();}catch(e){parent.postMessage($q("body").getContentHeight(),"*");}}});}}});UNOUNO.components.neos.accordion.init();(function(){var bvapiUrl=window.location.protocol+"//1und1.ugc.bazaarvoice.com/static/0324-de_de/bvapi.js";
if(UNOUNO.params.siteModus==="stage"){bvapiUrl=window.location.protocol+"//1und1.ugc.bazaarvoice.com/bvstaging/static/0324-de_de/bvapi.js";}function getScript(url,callback){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.src=url;
script.type="text/javascript";script.charset="utf-8";script.setAttribute("async","async");script.onload=script.onreadystatechange=function(){if(!this.readyState||this.readyState==="loaded"||this.readyState==="complete"){script.onload=script.onreadystatechange=null;callback();}};head.insertBefore(script,head.firstChild);
}var docReady,onDocReady=function(){docReady=true;};if(document.readyState===undefined&&document.addEventListener){document.addEventListener("DOMContentLoaded",onDocReady,false);window.addEventListener("load",onDocReady,false);}window.loadBazaarvoiceApi=function(callback){if(window.$BV){callback();}else{getScript(bvapiUrl,function(){if(docReady){$BV.docReady();
}callback();});}};})();$q.define("UNOUNO.components.neos.summary",{statics:{init:function(section){var products=$q(".oneandone-spin-hardwareboxitem .cms-infoteaser-box");if(products.length>0){if(!UNOUNO.params.isMobileVersion){if(section==="smallscreen"){if(typeof loadBazaarvoiceApi==="function"){var winLocationPrefix=window.location.protocol+"//"+window.location.host;
loadBazaarvoiceApi(function(){$BV.configure("global",{submissionContainerUrl:winLocationPrefix+"/smartphone-bewertung-schreiben",submissionReturnUrl:window.location.protocol+"//www.1und1.de/"});var links=[];products.forEach(function(product){var productId=(product.getAttribute("data-id"))?product.getAttribute("data-id"):product.id;
var alias=$q("#"+productId+" .details-text")[0];var spinId=(product.getAttribute("data-spinid"))?product.getAttribute("data-spinid"):null;spinId=(spinId===null&&$q("#"+productId+" .spinId"))?$q("#"+productId+" .spinId")[0].innerHTML:spinId;var compare=$q("#"+productId+" a.compare-link")[0];if(compare!=null){qx.bom.Element.addListener(compare,eventName,function(){document.getElementById("compare").submit();
});}var BVRRSummaryContainer=document.getElementById("BVRRSummaryContainer-"+productId);if(BVRRSummaryContainer!=null&&spinId!=""){$BV.ui("rr","show_reviews",{productId:spinId,summaryContainerDiv:BVRRSummaryContainer,doShowContent:function(application,displayCode,subject,deepLinkId,callback,source){if(alias&&alias.href&&spinId){window.location=alias.href+"#ratings";
}}});}});$q(".oneandone-spin-hardwarebox").forEach(function(container){var heights=[];$q(container).find(".oneandone-spin-hardwareboxitem .cms-infoteaser-box").forEach(function(product){var height=$q(product).find(".bazaarvoice").length>0?$q(product).find(".cms-product-head").getContentHeight()+47:$q(product).find(".cms-product-head").getContentHeight();
heights[heights.length]=height;});var maxHeight=Math.max.apply(null,heights);$q(container).find(".oneandone-spin-hardwareboxitem .cms-infoteaser-box").forEach(function(product){$q(product).find(".cms-product-head").setStyle("height",maxHeight+"px");});});});}}}}}}});$q.ready(function(){UNOUNO.components.neos.summary.init("smallscreen");
});$q.define("UNOUNO.components.neos.ShopStage",{statics:{leftArrow:$q.create('<div class="cms-stage-arrow cms-stage-arrow-left" />'),rightArrow:$q.create('<div class="cms-stage-arrow cms-stage-arrow-right" />'),currentIndex:1,maxIndex:1,animationInterval:null,isInfoLayerOpened:false,amountLightboxOpened:0,isMouseInStage:false,isAwardInfoLayerOpened:false,msBetweenAutoChange:4000,isSliderStopped:false,init:function(){this.currentIndex=parseInt($q('div.cms-stage-container  > div:not(".hidden"):not(".cms-stage-arrow")').getAttribute("data-index"));
this.maxIndex=parseInt($q('div.cms-stage-container  > div:not(".hidden"):not(".cms-stage-arrow")').getAttribute("data-maxindex"));var me=this;if(this.maxIndex>1){this.leftArrow.appendTo(".cms-stage-container");this.rightArrow.appendTo(".cms-stage-container");this.leftArrow.on(eventName,this.showPreviousStage,this);
this.rightArrow.on(eventName,this.showNextStage,this);if($q(".oneandone-nodetypes-shopstage").length>0){this.swipedetect($q(".oneandone-nodetypes-shopstage")[0],this.handleSwipe);}}$q(".additionalstage").forEach(function(item){var additionalStage=$q.create($q(item).getAttribute("data-content"));var stageImageSrc=$q(item).getAttribute("data-lavender-stage-image");
additionalStage.find('img[type = "stage"]').setAttribute("src",stageImageSrc);additionalStage.find(".cms-side-image").forEach(function(sideImage){var position=$q(sideImage).getAttribute("data-position");var sideImageSrc=$q(item).getAttribute("data-lavender-sideimage-"+position);$q(sideImage).setAttribute("src",sideImageSrc);
});additionalStage.find(".product-award").forEach(function(award){var position=$q(award).getAttribute("data-position");var awardDefaultImageSrc=$q(item).getAttribute("data-lavender-awardreference-default-"+position);var awardDetailsImageSrc=$q(item).getAttribute("data-lavender-awardreference-details-"+position);
$q(award).find("img.award.default").setAttribute("src",awardDefaultImageSrc);$q(award).find("img.award.details").setAttribute("src",awardDetailsImageSrc);});additionalStage.appendTo(".cms-stage-container");$q(item).remove();});$q(".oneandone-nodetypes-shopstage").hover(function(){me.isMouseInStage=true;
},function(){me.isMouseInStage=false;});$q('div.cms-stage-container > div:not(".cms-stage-arrow")').forEach(function(item){item.addEventListener("animationend",me.animationListener,false);item.addEventListener("webkitAnimationEnd",me.animationListener,false);item.addEventListener("oanimationend",me.animationListener,false);
item.addEventListener("MSAnimationEnd",me.animationListener,false);});$q(document).on("lightboxopened",function(){me.amountLightboxOpened+=1;});$q(document).on("lightboxclosed",function(){me.amountLightboxOpened-=1;});$q.ready(function(){if(me.maxIndex>1){me.animationInterval=setInterval(function(){me.autoShowNextPage();
},me.msBetweenAutoChange);}});},animationListener:function(e){if(e.animationName=="fadeOutToLeft"&&e.type.toLowerCase().indexOf("animationend")>=0){$q(e.target).addClass("hidden").removeClass("fadeOutToLeft");}if(e.animationName=="fadeOutToRight"&&e.type.toLowerCase().indexOf("animationend")>=0){$q(e.target).addClass("hidden").removeClass("fadeOutToRight");
}if(e.animationName=="fadeInFromLeft"&&e.type.toLowerCase().indexOf("animationend")>=0){$q(e.target).setAttribute("style","").removeClass("fadeInFromLeft");}if(e.animationName=="fadeInFromRight"&&e.type.toLowerCase().indexOf("animationend")>=0){$q(e.target).setAttribute("style","").removeClass("fadeInFromRight");
}},autoShowNextPage:function(){this.isInfoLayerOpened=$q(".oneandone-nodetypes-shopstage a.cms-opened[data-footnoteid], .oneandone-nodetypes-shopstage span.cms-opened[data-footnoteid]").length>0;this.isAwardInfoLayerOpened=$q(".oneandone-nodetypes-shopstage div.cms-award-lightbox-group.cms-opened[data-target]").length>0;
if(!this.isSliderStopped&&!this.isAwardInfoLayerOpened&&!this.isInfoLayerOpened&&this.amountLightboxOpened==0&&!this.isMouseInStage){this.showNextStage();}},showPreviousStage:function(ev){if($q(".cms-stage-container .fadeInFromRight").length==0&&$q(".cms-stage-container .fadeInFromLeft").length==0){var previousIndex=this.currentIndex==1?this.maxIndex:this.currentIndex-1;
this.showPreviousStageByIndex(previousIndex,this.currentIndex);this.currentIndex=previousIndex;}},showNextStage:function(ev){if($q(".cms-stage-container .fadeInFromRight").length==0&&$q(".cms-stage-container .fadeInFromLeft").length==0){var nextIndex=this.currentIndex==this.maxIndex?1:this.currentIndex+1;
this.showNextStageByIndex(nextIndex,this.currentIndex);this.currentIndex=nextIndex;}},showNextStageByIndex:function(nextIndex,currentIndex){window.setTimeout(function(){$q("div.cms-stage-container > div[data-index = "+nextIndex+"]").addClass("fadeInFromRight");$q("div.cms-stage-container > div[data-index = "+nextIndex+"]").removeClass("hidden").setStyle("opacity",0.01);
$q("div.cms-stage-container > div[data-index = "+currentIndex+"]").addClass("fadeOutToLeft");},0);},showPreviousStageByIndex:function(previousIndex,currentIndex){window.setTimeout(function(){$q("div.cms-stage-container > div[data-index = "+previousIndex+"]").addClass("fadeInFromLeft");$q("div.cms-stage-container > div[data-index = "+previousIndex+"]").removeClass("hidden").setStyle("opacity",0.01);
$q("div.cms-stage-container > div[data-index = "+currentIndex+"]").addClass("fadeOutToRight");},0);},stopSlider:function(){this.isSliderStopped=true;},resumeSlider:function(){this.isSliderStopped=false;},swipedetect:function(el,callback){var touchsurface=el,swipedir,startX,startY,distX,distY,threshold=150,restraint=100,allowedTime=300,elapsedTime,startTime,handleswipe=callback||function(swipedir){};
touchsurface.addEventListener("touchstart",function(e){var touchobj=e.changedTouches[0];swipedir="none";dist=0;startX=touchobj.pageX;startY=touchobj.pageY;startTime=new Date().getTime();},false);touchsurface.addEventListener("touchmove",function(e){e.preventDefault();},false);touchsurface.addEventListener("touchend",function(e){var touchobj=e.changedTouches[0];
distX=touchobj.pageX-startX;distY=touchobj.pageY-startY;elapsedTime=new Date().getTime()-startTime;if(elapsedTime<=allowedTime){if(Math.abs(distX)>=threshold&&Math.abs(distY)<=restraint){swipedir=(distX<0)?"left":"right";}else{if(Math.abs(distY)>=threshold&&Math.abs(distX)<=restraint){swipedir=(distY<0)?"up":"down";
}}}handleswipe(swipedir);},false);},handleSwipe:function(swipedirection){if(swipedirection=="left"){UNOUNO.components.neos.ShopStage.showNextStage();}if(swipedirection=="right"){UNOUNO.components.neos.ShopStage.showPreviousStage();}}}});UNOUNO.components.neos.ShopStage.init();$q(".cms-award-lightbox-group").on("tap",function(ev){if($q.env.get("browser.name")==="ie"&&$q.env.get("browser.version")<9){var targetElm=ev.getTarget();
}else{var targetElm=ev.getCurrentTarget();}$q(this).addClass("cms-opened");var targetId=$q(targetElm).getAttribute("data-target");var divAward=$q("body").find(".cms-award-lightbox[data-id='"+targetId+"']");divAward.addClass("cms-award-lightbox-show");divAward.removeClass("hidden");var width=divAward.getWidth();
var marginRight=10;var left=divAward.getOffset()["left"]-5;var leftMax=Math.min($q(window).getScrollLeft()+$q(window).getWidth()-width-marginRight,$q(document).getWidth()-width-marginRight);left=(left<leftMax)?left:divAward.getOffset()["left"]-width+23;var top=divAward.getOffset()["top"]-5;divAward.appendTo("body");
divAward.setStyle("left",left+"px");divAward.setStyle("top",top+"px");});$q(".cms-award-lightbox").on("tap",function(ev){$q(this).addClass("hidden");$q(this).removeClass("cms-award-lightbox-show");$q('*[data-target = "'+$q(this).getAttribute("data-id")+'"]').removeClass("cms-opened");ev.stopPropagation();
});if($q(".oneandone-nodetypes-shopstage").length>0){$q("body").addClass("stagepage");}
if(!window.pfx){pfx={};}if(!pfx.net){pfx.net={};}var _browser;if(window.opera){_browser="opera";}else{if(typeof navigator.vendor=="string"&&navigator.vendor=="KDE"){_browser="khtml";}else{if(typeof navigator.product=="string"&&navigator.product=="Gecko"){_browser="gecko";}else{if(/msie/i.test(navigator.userAgent)){_browser="mshtml";
}}}}_isMshtml=_browser=="mshtml";_isGecko=_browser=="gecko";_isOpera=_browser=="opera";_isKhtml=_browser=="khtml";pfx.net.HTTPRequest=function(){this.method=arguments[0];this.url=arguments[1];this.callback=arguments[2];this.context=arguments[3];this.errorCallback=arguments[4];if(!this.errorCallback&&pfx.net.HTTPRequest.errorCallback){this.errorCallback=pfx.net.HTTPRequest.errorCallback;
}this.headers=[];this.errors=[];this.status=0;this.statusText="";var self=this;this.customOnReadyStateChange=function(){self._customOnReadyStateChange();};this.cancelOnReadyStateChange=function(i,msg){self._cancelOnReadyStateChange(i,msg);};};pfx.net.HTTPRequest._xml=[];pfx.net.HTTPRequest._xmlThis=[];
pfx.net.HTTPRequest._xmlTimer=[];pfx.net.HTTPRequest._xmlTimerCount=[];pfx.net.HTTPRequest._xmlTimerCountMax=1000;pfx.net.HTTPRequest._xmlTimerInterval=5;pfx.net.HTTPRequest.builtin=window.XMLHttpRequest?true:false;pfx.net.HTTPRequest.IFRAMES_NEVER=-1;pfx.net.HTTPRequest.IFRAMES_FALLBACK=0;pfx.net.HTTPRequest.IFRAMES_ONLY=1;
pfx.net.HTTPRequest.prototype.iframes=pfx.net.HTTPRequest.IFRAMES_FALLBACK;pfx.net.HTTPRequest.msXmlHttp=null;if(!pfx.net.HTTPRequest.builtin&&!_isOpera&&window.ActiveXObject){var msXmlHttpList=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","MICROSOFT.XMLHTTP.1.0","MICROSOFT.XMLHTTP.1","MICROSOFT.XMLHTTP"];
var obj;for(var j=0;j<msXmlHttpList.length;j++){try{obj=new ActiveXObject(msXmlHttpList[j]);pfx.net.HTTPRequest.msXmlHttp=msXmlHttpList[j];break;}catch(e){}}}pfx.net.HTTPRequest.activeX=typeof pfx.net.HTTPRequest.msXmlHttp=="string";pfx.net.HTTPRequest.prototype.start=function(content,headers,reqId){var i=pfx.net.HTTPRequest._xml.length;
if(this.iframes!=pfx.net.HTTPRequest.IFRAMES_ONLY){if(pfx.net.HTTPRequest.builtin){try{pfx.net.HTTPRequest._xml[i]=new XMLHttpRequest();}catch(e){pfx.net.HTTPRequest._xml[i]=null;if(this.iframes==pfx.net.HTTPRequest.IFRAMES_NEVER){throw new Error("HTTP_Request: Could not create XMLHttpRequest");}}}else{if(pfx.net.HTTPRequest.activeX){try{pfx.net.HTTPRequest._xml[i]=new ActiveXObject(pfx.net.HTTPRequest.msXmlHttp);
}catch(e){pfx.net.HTTPRequest._xml[i]=null;if(this.iframes==pfx.net.HTTPRequest.IFRAMES_NEVER){throw new Error("HTTP_Request: Could not create ActiveXObject "+pfx.net.HTTPRequest.msXmlHttp);}}}}if(typeof pfx.net.HTTPRequest._xml[i]!="undefined"){if(this.callback){try{var self=this;if(pfx.net.HTTPRequest.activeX){pfx.net.HTTPRequest._xml[i].onreadystatechange=function(){if(pfx.net.HTTPRequest._xml[i].readyState==4){var reqId;
var resInfo={};try{reqId=pfx.net.HTTPRequest._xml[i].getResponseHeader("Request-Id");var reuse=pfx.net.HTTPRequest._xml[i].getResponseHeader("x-pfx-reuse");if(reuse){resInfo.reuse=reuse;}}catch(e){}var content=self._getResponse(pfx.net.HTTPRequest._xml[i]);if(content!=null){self.callback.call(self.context,content,reqId,resInfo);
}else{if(!pfx.net.HTTPRequest._xml[i].aborted){throw new Error("Empty response");}}pfx.net.HTTPRequest._xml[i]=null;}};}else{pfx.net.HTTPRequest._xml[i].onreadystatechange=function(){if(pfx.net.HTTPRequest._xml[i].readyState==4){try{self.status=pfx.net.HTTPRequest._xml[i].status;self.statusText=pfx.net.HTTPRequest._xml[i].statusText;
}catch(e){}if(self.status&&self.status>=400){if(self.errorCallback){var err={"status":self.status,"statusText":self.statusText};self.errorCallback.call(self.context,err);return ;}else{throw new Error("HTTP_Request: Asynchronous call failed"+" (status "+self.status+", "+self.statusText+")");}}var reqId;
var resInfo={};try{reqId=pfx.net.HTTPRequest._xml[i].getResponseHeader("Request-Id");var reuse=pfx.net.HTTPRequest._xml[i].getResponseHeader("x-pfx-reuse");if(reuse){resInfo.reuse=reuse;}}catch(e){}var content=self._getResponse(pfx.net.HTTPRequest._xml[i]);if(content!=null){self.callback.call(self.context,content,reqId,resInfo);
}else{if(!pfx.net.HTTPRequest._xml[i].aborted){throw new Error("Empty response");}}pfx.net.HTTPRequest._xml[i]=null;}};}}catch(e){pfx.net.HTTPRequest._xml[i]=null;throw new Error("HTTP_Request: Onreadystatechange failed");}}try{pfx.net.HTTPRequest._xml[i].open(this.method,this.url,this.callback?true:false);
if(this.headers){for(var j=0;j<this.headers.length;j++){try{pfx.net.HTTPRequest._xml[i].setRequestHeader(this.headers[j][0],this.headers[j][1]);}catch(e){}}}if(headers){for(var j=0;j<headers.length;j++){try{pfx.net.HTTPRequest._xml[i].setRequestHeader(headers[j][0],headers[j][1]);}catch(e){}}}if(this.callback&&typeof reqId!="undefined"){try{pfx.net.HTTPRequest._xml[i].setRequestHeader("Request-Id",reqId.toString());
}catch(e){}}pfx.net.HTTPRequest._xml[i].send(content);if(!this.callback){this.status=pfx.net.HTTPRequest._xml[i].status;this.statusText=pfx.net.HTTPRequest._xml[i].statusText;return this._getResponse(pfx.net.HTTPRequest._xml[i]);}else{return true;}}catch(e){pfx.net.HTTPRequest._xml[i]=null;throw new Error("HTTP_Request: Call failed [Cause: "+e+"]");
}}}if(this.iframes!=pfx.net.HTTPRequest.IFRAMES_NEVER&&!pfx.net.HTTPRequest._xml[i]&&document.createElement){if(!this.callback){throw new Error("HTTP_Request: Synchronous call by iframe not supported");}try{var el;if(!(_isMshtml||_isOpera)){el=document.createElement("iframe");el.style.display="none";
el.name="pfxreqiframe"+i;el.id="pfxreqiframe"+i;document.body.appendChild(el);}else{el=document.createElement("div");el.style.display="none";el.id="pfxreqdiv"+i;document.body.appendChild(el);document.getElementById("pfxreqdiv"+i).innerHTML="<"+'iframe id="pfxreqiframe'+i+'" name="pfxreqiframe'+i+'" style="display:block"><'+"/iframe>";
}var url=this.url;if(reqId){url=this.setQueryParameter(url,"PFX_Request_ID",reqId);}if(this.method.toLowerCase()=="get"){el.src=url;document.body.appendChild(el);var self=this;pfx.net.HTTPRequest._xmlTimer[i]=window.setInterval(self.customOnReadyStateChange,pfx.net.HTTPRequest._xmlTimerInterval);}else{if(this.method.toLowerCase()=="post"){el=document.createElement("div");
el.style.display="none";el.id="pfxreqformdiv"+i;pfx.net.HTTPRequest._xml[i]=this.callback;pfx.net.HTTPRequest._xmlThis[i]=this;pfx.net.HTTPRequest._xmlTimer[i]=true;pfx.net.HTTPRequest._xmlTimerCount[i]=0;var self=this;window.setTimeout(function(){var elForm=document.createElement("form");elForm.action=url;
elForm.target="pfxreqiframe"+i;elForm.method=self.method;elForm.id="pfxreqform"+i;var elField=document.createElement("textarea");elField.name="message";elField.value=content;elForm.appendChild(elField);for(var h=0;h<self.headers.length;h++){elField=document.createElement("input");elField.type="hidden";
elField.name=self.headers[h][0];elField.value=self.headers[h][1];elForm.appendChild(elField);}if(_isMshtml){elField=document.createElement("input");elField.type="hidden";elField.name="insertpi";elField.value="1";elForm.appendChild(elField);}el.appendChild(elForm);document.body.appendChild(el);document.getElementById("pfxreqform"+i).target="pfxreqiframe"+i;
window.setTimeout(function(){var form=document.getElementById("pfxreqform"+i);form.submit();},1);},1);pfx.net.HTTPRequest._xmlTimer[i]=window.setInterval(self.customOnReadyStateChange,pfx.net.HTTPRequest._xmlTimerInterval);}else{throw new Error("HTTP_Request: Iframes do not support method "+this.method);
}}return"iframe";}catch(e){throw new Error("HTTP_Request: Iframes failed"+e);}}throw new Error("HTTP_Request: Failure");};pfx.net.HTTPRequest.prototype.setRequestHeader=function(field,value){this.headers.push([field,value]);};pfx.net.HTTPRequest.prototype.setQueryParameter=function(url,field,value){url+=((url.indexOf("?")+1)?"&":"?")+field+"="+encodeURI(value);
return url;};pfx.net.HTTPRequest.prototype.getQueryParameter=function(url,field){var pairs=url.substr(url.indexOf("?")+1).split("&");var param;for(var i=0;i<pairs.length;i++){param=pairs[i].split("=");if(param[0]==field){return param[1];}}return null;};pfx.net.HTTPRequest.prototype._getResponse=function(request){var ctype=request.getResponseHeader("Content-Type");
if(ctype==null){if(request.status==0){request.aborted=true;return null;}throw new Error("Missing response content type");}else{if(ctype.indexOf("text/plain")==0||ctype.indexOf("text/html")==0){return request.responseText;}else{if(ctype.indexOf("text/xml")==0){return request.responseXML;}else{throw new Error("Illegal response content type: "+ctype);
}}}};pfx.net.HTTPRequest.prototype._customOnReadyStateChange=function(){var win=null;for(var i=0;i<pfx.net.HTTPRequest._xml.length;i++){if(pfx.net.HTTPRequest._xmlTimer[i]&&pfx.net.HTTPRequest._xml[i]){try{if(pfx.net.HTTPRequest._xmlTimerCount[i]<pfx.net.HTTPRequest._xmlTimerCountMax){win=window.frames["pfxreqiframe"+i];
if(win&&win.document&&win.location.href!="about:blank"&&(_isMshtml?win.document.readyState=="complete":true)){var resdoc=_isMshtml?win.document.body:win.document;var text=resdoc.getElementsByTagName("pre")[0].firstChild.nodeValue;pfx.net.HTTPRequest._xml[i].call(pfx.net.HTTPRequest._xmlThis[i].context,text,pfx.net.HTTPRequest._xmlThis[i].getQueryParameter(win.location.href,"PFX_Request_ID"));
this.cancelOnReadyStateChange(i);}else{pfx.net.HTTPRequest._xmlTimerCount[i]++;}}else{this.cancelOnReadyStateChange(i,"too many intervals "+i+", "+pfx.net.HTTPRequest._xmlTimerCount[i]);}}catch(e){this.cancelOnReadyStateChange(i,"Exception:"+e);}}}};pfx.net.HTTPRequest.prototype._cancelOnReadyStateChange=function(i,msg){try{window.clearInterval(pfx.net.HTTPRequest._xmlTimer[i]);
pfx.net.HTTPRequest._xmlTimer[i]=null;pfx.net.HTTPRequest._xml[i]=null;pfx.net.HTTPRequest._xmlThis[i]=null;pfx.net.HTTPRequest._xmlTimerCount[i]=0;}catch(e){msg="Could not cancel";}var el;try{if(el=document.getElementById("pfxreqiframe"+i)){document.body.removeChild(el);}}catch(e){}try{if(el=document.getElementById("pfxreqdiv"+i)){document.body.removeChild(el);
}}catch(e){}try{if(el=document.getElementById("pfxreqform"+i)){document.body.removeChild(el);}}catch(e){}try{if(el=document.getElementById("pfxreqformdiv"+i)){document.body.removeChild(el);}}catch(e){}if(msg){throw new Error("HTTP_Request: "+msg);}};
if(!window.pfx){pfx={};}if(!pfx.ws){pfx.ws={};}if(!pfx.ws.json){pfx.ws.json={};}pfx.ws.json.deserialize=function(response){if(this._debug==true){alert("Response: "+response);}eval("res="+response);return res;};pfx.ws.json.serialize=function(obj){var json=null;if(obj!=null){if(obj.constructor==String){json=pfx.ws.json.escapeJSONString(obj);
}else{if(obj.constructor==Number){json=obj.toString();}else{if(obj.constructor==Boolean){json=obj.toString();}else{if(obj.constructor==Date){json="new Date("+obj.valueOf()+")";}else{if(obj.constructor==Array){var arr=[];for(var i=0;i<obj.length;i++){arr.push(pfx.ws.json.serialize(obj[i]));}json="["+arr.join(",")+"]";
}else{var arr=[];for(attr in obj){var attrObj=obj[attr];if(attrObj==null){arr.push('"'+attr+'": null');}else{if(typeof attrObj!="function"){arr.push(pfx.ws.json.escapeJSONString(attr)+":"+pfx.ws.json.serialize(attrObj));}}}json="{"+arr.join(",")+"}";}}}}}}else{json="null";}return json;};pfx.ws.json.escapeJSONChar=function(ch){if(ch=='"'||ch=="\\"){return"\\"+ch;
}else{if(ch=="\b"){return"\\b";}else{if(ch=="\f"){return"\\f";}else{if(ch=="\n"){return"\\n";}else{if(ch=="\r"){return"\\r";}else{if(ch=="\t"){return"\\t";}}}}}}var hex=ch.charCodeAt(0).toString(16);if(hex.length==1){return"\\u000"+hex;}else{if(hex.length==2){return"\\u00"+hex;}else{if(hex.length==3){return"\\u0"+hex;
}else{return"\\u"+hex;}}}};pfx.ws.json.replaceCallbackSupport=null;pfx.ws.json.escapeJSONString=function(str){if(pfx.ws.json.replaceCallbackSupport==null){if(navigator.userAgent.indexOf("Safari")!=-1){pfx.ws.json.replaceCallbackSupport=false;}else{pfx.ws.json.replaceCallbackSupport=true;}}if(pfx.ws.json.replaceCallbackSupport){return'"'+str.replace(/([^\u0020-\u007f]|[\\\"])/g,pfx.ws.json.escapeJSONChar)+'"';
}else{var escStr=[];for(var i=0;i<str.length;i++){if(str.charAt(i)=='"'||str.charAt(i)=="\\"||str.charCodeAt(i)<32||str.charCodeAt(i)>=128){escStr[i]=pfx.ws.json.escapeJSONChar(str.charAt(i));}else{escStr[i]=str.charAt(i);}}return'"'+escStr.join("")+'"';}};pfx.ws.json.BaseStub=function(service,context,scope,requestPath){this._service=service;
this._context=context;this._scope=scope;this._requestPath=requestPath;this._protocol="jsonws";this._uri=null;};pfx.ws.json.BaseStub.prototype.setService=function(service){this._service=service;this._uri=null;};pfx.ws.json.BaseStub.prototype.setContext=function(context){this._context=context;};pfx.ws.json.BaseStub.prototype.setRequestPath=function(requestPath){this._requestPath=requestPath;
this._uri=null;};pfx.ws.json.BaseStub.prototype.setDebug=function(debug){this._debug=debug;};pfx.ws.json.BaseStub.prototype.getURI=function(){if(this._uri==null){var session="";var matches=window.location.href.match(/;jsessionid=[A-Z0-9]+(\.[a-zA-Z0-9]+)?/);if(matches){session=matches[0];}var reqpath=this._requestPath+"/"+this._service;
this._uri=window.location.protocol+"//"+window.location.host+reqpath+session;}return this._uri;};pfx.ws.json.BaseStub.prototype.callMethod=function(method,args,expLen){var wsCall=new pfx.ws.json.Call(this.getURI(),this._context,this._scope,this._debug);return wsCall.invoke(method,args,expLen);};pfx.ws.json.DynamicProxy=function(service,context){pfx.ws.json.BaseStub.call(this,service,context);
this._proxySetup();};pfx.ws.json.DynamicProxy.prototype=new pfx.ws.json.BaseStub;pfx.ws.json.DynamicProxy.prototype._proxySetup=function(){var req=new pfx.net.HTTPRequest("POST",this.getURI()+"?json",this._proxySetupCB,this);req.setRequestHeader("wstype",this._protocol);req.start("",0);};pfx.ws.json.DynamicProxy.prototype._proxySetupCB=function(response){eval("response="+response);
var methods=response.result;for(var i=0;i<methods.length;i++){this._createMethod(methods[i]);}};pfx.ws.json.DynamicProxy.prototype._createMethod=function(name){var f=function(){return f.ownerObject._callMethod.call(f.ownerObject,f.methodName,arguments);};f.ownerObject=this;f.methodName=name;this[name]=f;
};pfx.ws.json.DynamicProxy.prototype._callMethod=function(method,args){var wsCall=new pfx.ws.json.Call(this.getURI(),this._context,this._debug);return wsCall.invoke(method,args);};pfx.ws.json.Call=function(uri,context,scope,debug){this._uri=uri;this._context=context;this._scope=scope;this._debug=debug;
this._opName=null;this._userCallback=null;};pfx.ws.json.Call.prototype.invoke=function(method,args,expLen){this._opName=method;var jsonReq={};jsonReq.method=method;var argLen=args.length;if(expLen){if(argLen==expLen+1){if(typeof args[argLen-1]=="function"||typeof args[argLen-1]=="object"){this._userCallback=args[argLen-1];
}else{this._requestId=args[argLen-1];}argLen=argLen-1;}else{if(argLen==expLen+2&&(typeof args[argLen-2]=="function"||typeof args[argLen-2]=="object")&&typeof args[argLen-1]=="string"){this._userCallback=args[argLen-2];this._requestId=args[argLen-1];argLen=argLen-2;}else{if(argLen!=expLen){throw new Error("Wrong number of arguments: "+argLen+" - "+expLen);
}}}}else{if(argLen>0&&typeof args[argLen-1]=="function"){this._userCallback=args[argLen-1];argLen=argLen-1;}else{if(argLen>1&&typeof args[argLen-2]=="function"){this._requestId=args[argLen-1];this._userCallback=args[argLen-2];argLen=argLen-2;}}}if(this._requestId){jsonReq.id=this._requestId;}var jsonParams=[];
for(var i=0;i<argLen;i++){jsonParams[i]=args[i];}jsonReq.params=jsonParams;var jsonStr=pfx.ws.json.serialize(jsonReq);if(this._debug==true){alert("Request: "+jsonStr);}if(this._userCallback||this._context){var httpReq=new pfx.net.HTTPRequest("POST",this._uri,this.callback,this);httpReq.setRequestHeader("Content-Type","text/plain");
httpReq.setRequestHeader("wstype","jsonws");httpReq.start(jsonStr,null,jsonReq.id);}else{var httpReq=new pfx.net.HTTPRequest("POST",this._uri);httpReq.setRequestHeader("Content-Type","text/plain");httpReq.setRequestHeader("wstype","jsonws");var response=httpReq.start(jsonStr,null,jsonReq.id);return this.callback(response);
}};pfx.ws.json.Call.prototype.callback=function(text){var res=pfx.ws.json.deserialize(text);if(res.error){var error=new Error();error.name=res.error.name;error.message=res.error.message;if(this._userCallback){this._userCallback(null,res.id,error);}else{if(this._context){this._context[this._opName].call(this._scope?this._scope:this._context,null,res.id,error);
}else{throw error;}}}else{if(this._userCallback){this._userCallback(res.result,res.id,null);}else{if(this._context){this._context[this._opName].call(this._scope?this._scope:this._context,res.result,res.id,null);}else{return res.result;}}}};
//### zip:baseLib-1.0.8.jar/PUSTEFIX-INF/script/widget-min.js
(function(){var e=window.qxWeb.$$qx;e.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});e.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){e.Bootstrap.define("qx.ui.website.Widget",{extend:qxWeb,statics:{widget:function(){var a=new e.ui.website.Widget(this);a.init();return a},create:function(a){return new e.ui.website.Widget(qxWeb.create(a))},$onFirstCollection:function(a,b,c,d){var e=this.classname.replace(/\./g,"-")+"-context";this.getProperty(e)||
this.setProperty(e,c);c=this.getProperty(e);if(!this.hasListener(a,b,c))this.on(a,b,c,d);return this},$offFirstCollection:function(a,b,c,d){var e=this.classname.replace(/\./g,"-")+"-context";this._forEachElementWrapped(function(c){var f=c.getProperty(e);c.off(a,b,f,d)});return this},initWidgets:function(a){var b=qxWeb("*[data-qx-class]");a&&(b=b.filter(a));b._forEachElementWrapped(function(a){a.init()})}},construct:function(a,b){var c=qxWeb.call(this,a,b);Array.prototype.push.apply(this,Array.prototype.slice.call(c,
0,c.length))},members:{__jX:null,init:function(){if(this.getProperty("$$qx-widget-initialized"))return!1;this.setAttribute("data-qx-class",this.classname);this.addClass("qx-widget");this.addClass(this.getCssPrefix());this.setProperty("$$qx-widget-initialized",!0);return!0},getCssPrefix:function(){if(!this.__jX){var a=this.classname.split(".");this.__jX="qx-"+a[a.length-1].toLowerCase()}return this.__jX},setEnabled:function(a){this.setAttribute("disabled",!a);this.find("*").setAttribute("disabled",
!a);return this},getEnabled:function(){return!this.getAttribute("disabled")},setTemplate:function(a,b){return this._setData("templates",a,b)},setConfig:function(a,b){return this._setData("config",a,b)},_setData:function(a,b,c){this.forEach(function(d){d[a]||(d[a]={});d[a][b]=c});return this},getTemplate:function(a){return this._getData("templates",a)},getConfig:function(a){return this._getData("config",a)},_getData:function(a,b){var c=this.getProperty(a),d;c&&(d=c[b]);if(void 0===d&&"config"==a){c=
"qx"+qxWeb.string.firstUp(a)+qxWeb.string.firstUp(b);d=this.getData(c);if(!this[0]||!this[0].dataset&&null===d)d=void 0;try{d=JSON.parse(d)}catch(e){}}return void 0===d&&this.constructor["_"+a]?this.constructor["_"+a][b]:d},render:function(){return this},dispose:function(){this.removeAttribute("data-qx-class");this.setProperty("config",void 0);this.setProperty("templates",void 0);var a=this.classname.replace(/\./g,"-")+"-context";this.setProperty(a,void 0);this.setProperty("$$qx-widget-initialized",
void 0);this.removeClass("qx-widget");this.removeClass(this.getCssPrefix());for(var b in this.constructor.$$events)this.allOff(b);return qxWeb.$init(this,qxWeb)}},defer:function(a){qxWeb.$attach({$onFirstCollection:a.$onFirstCollection,$offFirstCollection:a.$offFirstCollection,widget:a.widget});qxWeb.$attachStatic({initWidgets:a.initWidgets})}})})();(function(){e.Bootstrap.define("baselib.ui.Widget",{extend:e.ui.website.Widget,construct:function(a,b){e.ui.website.Widget.call(this,a,b);a&&this._checkAndDebugIfEmpty("info")},
members:{_checkAndDebugIfEmpty:function(a){}}})})()})();

//### zip:baseLib-1.0.8.jar/PUSTEFIX-INF/script/autocompletion-min.js
(function(){var h=window.qxWeb.$$qx;h.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});h.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){h.Bootstrap.define("baselib.ui.AutoCompletionBox",{extend:baselib.ui.Widget,construct:function(a,b){baselib.ui.Widget.call(this,a,b)},events:{search:"Object",searchStart:"Object",searchEnd:"Object",selected:"Object",render:"Object"},statics:{_config:{autoWidth:!0,useExternalCss:!1,beginAutoComplete:3,searchCaseSensitive:!1,
matchAtStart:!0,filterData:!0,noResultsContent:"",maxResults:15,ignorePattern:null,groupBy:null},__Mv:"qui-autocompletion-resultBox qx-autocompletionbox-resultbox",__Mw:"qui-autocompletion-resultList qx-autocompletionbox-resultlist",__Mx:"qui-autocompletion-resultListContainer qx-autocompletionbox-resultlistcontainer",__My:"qui-autocompletion-resultInfoBox qx-autocompletionbox-resultinfobox",__Mz:"qui-autocompletion-noResults qx-autocompletionbox-noresults",__MA:"qui-autocompletion-maxResultsInfo qx-autocompletionbox-maxresultsinfo",
__MB:"qui-autocompletion-resultListEntry qx-autocompletionbox-resultlistentry",__MC:"qui-autocompletion-resultListEntry-selected qx-autocompletionbox-resultlistentry-selected",__MD:"qui-autocompletion-resultListEntry-firstPart qx-autocompletionbox-resultlistentry-firstpart",__ME:"qui-autocompletion-resultListEntry-secondPart qx-autocompletionbox-resultlistentry-secondpart",__MF:"qui-autocompletion-resultListEntry-highlight qx-autocompletionbox-resultlistentry-highlight",__MG:"qx-autocompletionGroup-555",
_templates:{single:'<ul class="qui-autocompletion-resultList qx-autocompletionbox-resultlist">{{#items}}<li class="qui-autocompletion-resultListEntry qx-autocompletionbox-resultlistentry" id="{{id}}"><span class="qui-autocompletion-resultlistentry-secondPart qx-autocompletionbox-resultlistentry-secondpart">{{& secondpart}}</span></li>{{/items}}</ul>',multiple:'<ul class="qui-autocompletion-resultList qx-autocompletionbox-resultlist">{{#items}}<li class="qui-autocompletion-resultlistentry qx-autocompletionbox-resultlistentry" id="{{id}}"><span class="qui-autocompletion-resultListEntry-firstPart qx-autocompletionbox-resultlistentry-firstpart">{{& firstpart}}</span><span class="qui-autocompletion-resultListEntry-secondPart qx-autocompletionbox-resultlistentry-secondpart">{{& secondpart}}</span></li>{{/items}}</ul>',
itemContent:null,dataSource:{},group:{},maxResultsInfo:"<label>Show more results for '{{ input }}'</label>"},__MH:{Up:!0,Down:!0,Enter:!0,Tab:!0,Escape:!0,Unidentified:!0},autocompletionbox:function(a,b){var c=new baselib.ui.AutoCompletionBox(this);c.__MI(a);a&&(c.setProperty("__dataSource",a),c.setConfig("useExternalCss",b));c.init();return c}},members:{init:function(){if(!baselib.ui.Widget.prototype.init.call(this))return!1;this.__fh();var a=this.getConfig("useExternalCss");this.setUseExternalCss(void 0===
a?!1:a);this.__jf();this.getProperty("__dataSource")&&this.setDataSource(this.getProperty("__dataSource"));return!0},render:function(){!this.__fi("useExternalCss")&&this.getConfig("useExternalCss")?qxWeb.includeStylesheet("qui/static/autoCompletionBox.css"):!this.getConfig("useExternalCss")&&this.__fi("useExternalCss");this.__fh();if(this.__fi("groupBy")){this.__ML();var a=this.getProperty("__templateCache");if(a)for(var b in a)this.__MM(b)&&this.setTemplate(b,a[b])}this.getProperty("__resultBox")&&
this.__Nl()&&(this.getConfig("autoWidth")&&this.getProperty("__resultBox").setStyle("width",this.getWidth()+"px"),this._forEachElementWrapped(function(a){a.__MU()}));this.__MS();return this},setTemplate:function(a,b){var c=this.getProperty("__templateCache")||{};1==arguments.length&&(b=a,a="itemContent");-1!=["single","multiple","itemContent"].indexOf(a)&&this.setProperty("__itemTemplate",null);"itemContent"==a&&(this.setProperty("__itemTemplate",b),b=this.getProperty("__itemTemplateOpen")+b+this.getProperty("__itemTemplateClose"));
c[a]=b;this.setProperty("__templateCache",c);baselib.ui.Widget.prototype.setTemplate.call(this,a,b);return this},selectItem:function(a){var b=this.__MV();this.__MY(b[a]);return this},setConfig:function(a,b){baselib.ui.Widget.prototype.setConfig.call(this,a,b);if("ignorePattern"===a){this.setProperty("__searchList",[]);this.setProperty("__searchLookup",{});var c=this.getProperty("dataSource");if(c)for(var d in c)this.__MO(d)}return this},getDataSource:function(a){a=a||this.getProperty("__identifier");
return this.getProperty("dataSource")[a]},setDataSource:function(a,b){if("Array"!=qxWeb.type.get(a))throw Error("Please provide an array as data source!");b="undefined"!==typeof b?b:{};a.$$__isCustom=b.identifier?!0:!1;b.identifier=b.identifier||this.getProperty("__identifier");var c=this.getProperty("__searchList")||{},d=this.getProperty("__searchLookup")||{},e=this.getProperty("dataSource")||{},f=this.getProperty("__dataSourceIdentifiers"),s=this.getProperty("__dataSourceKeys")||{};c[b.identifier]=
[];d[b.identifier]={};e[b.identifier]=a;f.push(b.identifier);s[b.identifier]="undefined"!==typeof b.key?b.key:null;this.setProperty("__dataSourceKeys",s);this.setProperty("__dataSourceIdentifiers",f);this.setProperty("dataSource",e);this.setProperty("__searchList",c);this.setProperty("__searchLookup",d);this.__fi("groupBy")&&this.__ML();this.__MO(b.identifier);return this},resetDataSource:function(a){a=a||this.getProperty("__identifier");this.setDataSource([],a);return this},setResultContainer:function(a,
b){a=qxWeb(a);0===a.length&&qxWeb.error('Given "container" parameter does not contain any DOM element!');"undefined"===typeof b&&qxWeb.error('Please provide a value for the "dataSource" parameter.');var c=!0;this.getProperty("__dataSourceIdentifiers").every(function(a){return c=a!=b});!0===c&&qxWeb.error('Please provide a valid ID for "dataSource" parameter. You have to define it first with the "setDataSource" method!');this._forEachElementWrapped(function(c){var e=c.getProperty("__resultListContainer");
e&&0<e.length&&(c.__MK(e),e.getParents(":first").remove());c.setProperty("__resultListContainer",null);c.setProperty("__hasCustomResultBox",!0);c.setProperty("__customResultListContainer"+b,a);c.__MJ(a);c.__eG(a,baselib.ui.AutoCompletionBox.__Mx)})},getUseExternalCss:function(){return this.getConfig("useExternalCss")},setUseExternalCss:function(a){if("Boolean"!=qxWeb.type.get(a))throw Error("Please provide a boolean value for 'useExternalCss'!");this.setConfig("useExternalCss",a);this.render();return this},
getAutoWidth:function(){return this.getConfig("autoWidth")},setAutoWidth:function(a){if("Boolean"!=qxWeb.type.get(a))throw Error("Please provide a boolean value for 'autoWidth'!");this.setConfig("autoWidth",a);this.render();return this},isAutoWidth:function(){return this.getConfig("autoWidth")},getInfoBoxContent:function(){return this.getProperty("__infoBoxContent")},setInfoBoxContent:function(a){if("String"!=qxWeb.type.get(a))throw Error("Please provide a string value for 'infoBoxContent'!");this.setProperty("__infoBoxContent",
a);this.getProperty("__resultInfoBox").setHtml(a);return this},getBeginAutoComplete:function(){return this.getConfig("beginAutoComplete")},setBeginAutoComplete:function(a){if("Number"!=qxWeb.type.get(a))throw Error("Please provide a number value for 'beginAutoComplete'!");this.setConfig("beginAutoComplete",a);this.render();return this},getSearchCaseSensitive:function(){return this.getConfig("searchCaseSensitive")},setSearchCaseSensitve:function(a){if("Boolean"!=qxWeb.type.get(a))throw Error("Please provide a boolean value for 'searchCaseSensitive'!");
this.setConfig("searchCaseSensitive",a);this.render();return this},isSearchCaseSensitive:function(){return this.getConfig("searchCaseSensitive")},getMatchAtStart:function(){return this.getConfig("matchAtStart")},setMatchAtStart:function(a){if("Boolean"!=qxWeb.type.get(a))throw Error("Please provide a boolean value for 'searchCaseSensitive'!");this.setConfig("matchAtStart",a);this.render();return this},isMatchAtStart:function(){return this.getConfig("matchAtStart")},getFilterData:function(){return this.getConfig("filterData")},
setFilterData:function(a){if("Boolean"!=qxWeb.type.get(a))throw Error("Please provide a boolean value for 'filterData'!");this.setConfig("filterData",a);this.render();return this},isFilterData:function(){return this.getConfig("filterData")},getNoResultsContent:function(){return this.getConfig("noResultsContent")},setNoResultsContent:function(a){if("String"!=qxWeb.type.get(a))throw Error("Please provide a string value for 'noResultsContent'!");this.setConfig("noResultsContent",a);this.render();return this},
getMaxResults:function(){return this.getConfig("maxResults")},setMaxResults:function(a){if("Number"!=qxWeb.type.get(a))throw Error("Please provide a number value for 'maxResults'!");this.setConfig("maxResults",a);this.render();return this},getMaxResultsInfo:function(){return this.getTemplate("maxResultsInfo")},setMaxResultsInfo:function(a){if("String"!=qxWeb.type.get(a))throw Error("Please provide a string value for 'maxResultsInfo'!");this.setTemplate("maxResultsInfo",a);this.render();return this},
setResultBoxWidth:function(a){this.setProperty("__resultBoxWidth",a);null!==this.getProperty("__resultBox")&&this.getProperty("__resultBox").setStyle("width",a);return this},setResultBoxHeight:function(a){this.setProperty("__resultBoxHeight",a);null!==this.getProperty("__resultBox")&&this.getProperty("__resultBox").setStyle("height",a+"px");return this},__MI:function(a){this[0]?(this._forEachElementWrapped(function(a){qxWeb.isElement(this[0])||qxWeb.error("Elements of type "+a[0].nodeName+" not allowed !")},
this),void 0!==a&&(a instanceof Array||qxWeb.error("The data source has to be an Array!"))):qxWeb.error("No connected input element given!")},__jf:function(){this.setProperty("__document",qxWeb.getDocument(this));var a=qxWeb(this.getProperty("__document").body);this._forEachElementWrapped(function(b){b.setProperty("__identifier","qx-autocompletionbox-"+parseInt(1E4*Math.random(),10));b.setProperty("__dataSourceIdentifiers",[]);b.setProperty("__itemTemplateOpen",'<ul>{{#items}}<li id="{{id}}" class="'+
baselib.ui.AutoCompletionBox.__MB+'">');b.setProperty("__itemTemplateClose","</li>{{/items}}</ul>");b.setProperty("__infoBoxContent","");b.on("focus",b.__MQ,b);b.__MR();b.on("keyup",b._handleKeyUpInput,b);b.on("paste",b._handlePaste,b);b.setAttribute("autocomplete","off");b.__MJ(this.getProperty("__resultListContainer"));if("desktop"===qxWeb.env.get("device.type"))qxWeb(document.documentElement).on("pointerup",b.__No,b);a.on("keydown",b._handleKeyDownInput,b)});a.focus();qxWeb(window).on("blur",this.__Nn,
this);this.getConfig("useExternalCss")&&qxWeb.includeStylesheet("qui/static/autoCompletionBox.css")},__MJ:function(a){var b=this._handleTapOnResultEntry.bind(this);a.on("tap",b,!0);this.setProperty("__tapCallback",b);"desktop"===qxWeb.env.get("device.type")&&!1===this.getProperty("__hasCustomResultBox")&&(b=this._handleHoverResultList.bind(this),a.on("pointerover",b,!0),this.setProperty("__hoverCallback",b))},__MK:function(a){var b=this.getProperty("__tapCallback");a.off("tap",b,!0);"desktop"===qxWeb.env.get("device.type")&&
!1===this.getProperty("__hasCustomResultBox")&&a.off("pointerover",this.getProperty("__hoverCallback"),!0)},__ML:function(){var a=this.getDataSource(),b=this.__fi("groupBy"),c=[];a.forEach(function(a){b&&a[b]&&c.push(a[a[b]])});c=qxWeb.array.unique(c);this.setProperty("__groups",c)},__MM:function(a){return-1!=(this.getProperty("__groups")||[]).indexOf(a)},__MN:function(a){a=this.getProperty("dataSource");for(var b in a)if(a[b].$$__isCustom)return!0;return!1},__MO:function(a){a=a||this.getProperty("__identifier");
var b=this.getProperty("__dataSourceKeys")[a];null===b&&(b="id");var c=this.getDataSource(a),d="Array"===qxWeb.type.get(c[0]),e=this.getProperty("__searchList")[a],f=this.getProperty("__searchLookup")[a];c.forEach(function(a,c,h){if(d)null!==this.getConfig("ignorePattern")&&(a[1]=this.__MP(a[1])),e.push(a[1]),f[a[1]]=a[0];else if("object"==typeof a){var k=this.getConfig("ignorePattern");null!==k&&(a[b]=this.__MP(a[b]));e.push(a[b]);a.keywords&&"Array"===qxWeb.type.get(a.keywords)&&a.keywords.forEach(function(b){null!==
k&&(b=this.__MP(b));-1==e.indexOf(b)&&(e.push(b),f[b]=[]);f[b].push(a)}.bind(this));f[a[b]]=a}else null!==this.getConfig("ignorePattern")&&(a=this.__MP(a)),e.push(a)}.bind(this));this.getProperty("__resultBox")&&(c=qxWeb(this.getProperty("__currentTarget")).getValue())&&0<c.length&&this.__Nj(c,a)},__MP:function(a){var b=RegExp(this.getConfig("ignorePattern"),"gi");b.test(a)&&(a=a.substring(b.lastIndex));return a},__MQ:function(a){this.setProperty("__currentTarget",a.getTarget());this.getConfig("autoWidth")&&
this.getProperty("__resultBox").setStyle("width",qxWeb(a.getTarget()).getWidth()+"px")},__MR:function(){var a=baselib.ui.AutoCompletionBox;this.setProperty("__hasCustomResultBox",!1);this.setProperty("__resultBox",qxWeb.create("<div class='"+a.__Mv+"'>"));this.getProperty("__resultBox").setStyles({display:"none",position:"absolute",zIndex:1001});this.__MS();this.setProperty("__resultListContainer",qxWeb.create("<div class='"+a.__Mx+"'>"));this.setProperty("__resultInfoBox",qxWeb.create("<div class='"+
a.__My+"'>"));this.getProperty("__resultInfoBox").setHtml(this.getInfoBoxContent());this.getProperty("__resultBox").append(this.getProperty("__resultListContainer"));this.getProperty("__resultBox").append(this.getProperty("__resultInfoBox"));this.getProperty("__document").body.appendChild(this.getProperty("__resultBox")[0])},__MS:function(){var a=null,b=this.getProperty("__currentTarget")?qxWeb(this.getProperty("__currentTarget")).getWidth():this.eq(0).getWidth();this.getConfig("autoWidth")&&(this.setProperty("__resultBoxWidth",
b),this.setProperty("__resultBoxHeight",0),a=b+"px");"undefined"!==typeof this.getProperty("__resultBox")&&this.getProperty("__resultBox").setStyle("width",a)},__MT:function(){this.getProperty("__resultBox").placeTo(qxWeb(this.getProperty("__currentTarget")),"bottom-left",{left:0,right:0,top:0,bottom:0},"direct","direct")},_handlePaste:function(a){window.setTimeout(this.__MU.bind(this),0)},_handleKeyUpInput:function(a){a=a.getKeyIdentifier();baselib.ui.AutoCompletionBox.__MH[a]||this.__MU()},__MU:function(){var a=
this.getValue(),b=this.getConfig("beginAutoComplete");if(a){var c=this.getConfig("ignorePattern");null!==c&&(c=RegExp(c,"gi"),c.test(a)&&(a=a.substring(c.lastIndex)));if(a.length>=b)this.emit("search",{search:a,getData:function(){return a}}),this.emit("searchStart",{search:a,getData:function(){return a}}),window.setTimeout(function(){var b=this.getProperty("dataSource");if(b)for(var c in b)this.__Nj(a,c)}.bind(this),0);else if(a.length<b)if(this.getProperty("__hasCustomResultBox")){var b=this.getProperty("__dataSourceKeys"),
d;for(d in b)this.getProperty("__customResultListContainer"+d).empty()}else this.__Nn()}else this.__Nn()},_handleKeyDownInput:function(a){if(!this.getProperty("__hasCustomResultBox")){this.setProperty("__keyEvent",!0);var b=a.getTarget(),c=this.getProperty("__currentTarget");if(b==c)switch(b=a.getKeyIdentifier(),c=this.__Na(),c=0<c.length?c:null,b){case "Up":case "Down":this.__Nl()&&this.__MW("Down"==a.getKeyIdentifier()?!0:!1);break;case "Enter":this.__Nl()&&null!==c&&(this.__Ne(this.__Nd(c)),this.__Nn(),
this.focus(),a.stopPropagation(),a.preventDefault());break;case "Tab":null!==c&&this.__Ne(this.__Nd(c));this.__Nn();break;case "Escape":this.__Nn(),this.focus()}}},__MV:function(){var a=this.getProperty("__resultListContainer");return null!==a?a.find(".qui-autocompletion-resultListEntry-selected, .qui-autocompletion-resultListEntry, .qx-autocompletionbox-resultlistentry, .qx-autocompletionbox-resultlistentry-selected"):qxWeb()},__MW:function(a){if(0<this.getProperty("__currentResults")){var b=null,
c=this.getProperty("__resultListContainer"),d=this.__MV(),e=c.find(".qui-autocompletion-resultListEntry-selected, .qx-autocompletionbox-resultlistentry-selected"),f=d.length;0===e.length?b=a?0:f-1:(b=d.indexOf(e[0]),this.__Nb(e),a?b=(b+1)%f:this.getProperty("__lastSelectedEntry")==c[0]?(b=null,this.focus()):b=(b-1+f)%f);null!==b&&(b=qxWeb(d[b]),this.__MY(b),this.setProperty("__lastSelectedEntry",b))}},__MX:function(a,b){if(b.getRelatedTarget()&&this.getProperty("__hovered")){var c=b.getRelatedTarget(),
d=qxWeb(c);if(c==a[0]||d.isChildOf(a))return}a.off("pointerout",this.getProperty("__pointerOutCallback"));this.setProperty("__hovered",!1);this.setProperty("__currentTarget",null)},_handleHoverResultList:function(a){a.stopPropagation();if(this.getProperty("__keyEvent")&&this.getProperty("__hovered"))this.setProperty("__keyEvent",!1);else{0===this.__Na().length&&this.setProperty("__lastSelectedEntry",null);if(!0===this.getProperty("__hasCustomResultBox")&&!this.getProperty("__hovered")){this.setProperty("__currentTarget",
this.getProperty("__resultListContainer")[0]);this.setProperty("__hovered",!0);var b=this.getProperty("__resultListContainer"),c=this.__MX.bind(this,b);this.setProperty("__pointerOutCallback",c);b.on("pointerout",c)}a=this.__Nc(a.getTarget());null!==a&&this.__Nh(a)?(null!==this.getProperty("__lastSelectedEntry")&&this.__Nb(this.getProperty("__lastSelectedEntry")),this.__MY(a),this.setProperty("__lastSelectedEntry",qxWeb(a))):null===a&&(this.__Nb(this.getProperty("__lastSelectedEntry")),this.setProperty("__lastSelectedEntry",
null))}},__MY:function(a){var b=this.__Na();0<b.length&&this.__Nb(b);this.__Nf(qxWeb(a),baselib.ui.AutoCompletionBox.__MB,baselib.ui.AutoCompletionBox.__MC);this.setProperty("__lastSelectedEntry",qxWeb(a))},__Na:function(){var a=baselib.ui.AutoCompletionBox.__MC.split(" "),b=[];this.getProperty("__hasCustomResultBox")?this.getProperty("__dataSourceIdentifiers").forEach(function(a){b.push(this.getProperty("__customResultListContainer"+a))}.bind(this)):b.push(this.getProperty("__resultListContainer"));
var c=[];b.some(function(b){return!0===a.some(function(a){c=b.find("."+a);return 0<c.length})});return c},__Nb:function(a){this.__Nf(qxWeb(a),baselib.ui.AutoCompletionBox.__MC,baselib.ui.AutoCompletionBox.__MB)},_handleTapOnResultEntry:function(a){a=this.__Nc(a.getTarget());null!==a&&this.__Nh(a)&&(this.__Ne(this.__Nd(a)),this.getProperty("__hasCustomResultBox")?this.__MY(a):this.__Nn())},__Nc:function(a){for(var b=a.nodeName.toLowerCase();!this.__Nh(a)&&(a=a.parentNode,b=a.nodeName.toLowerCase(),
"body"!=b););return this.__Nh(a)?a:null},__Nd:function(a){return qxWeb(a).getAttribute("id")},__Ne:function(a){this.setValue(a);this.emit("selected",{target:this,selected:a,getData:function(){return a}})},__eG:function(a,b){b.split(" ").forEach(function(b){a.addClass(b)})},__Nf:function(a,b,c){b=b.split(" ");c=c.split(" ");b.forEach(function(b,e){a.replaceClass(b,c[e])})},__Ng:function(a,b){var c=!1;a=qxWeb(a);b=b.split(" ");b.forEach(function(b){a.hasClass(b)&&(c=!0)});return c},__Nh:function(a){a=
qxWeb(a);return this.__Ng(a,baselib.ui.AutoCompletionBox.__MB)||this.__Ng(a,baselib.ui.AutoCompletionBox.__MC)},__fh:function(){for(var a in baselib.ui.AutoCompletionBox._config)this.setProperty("__$$autocompletion_"+a,this.getConfig(a))},__fi:function(a){return this.getProperty("__$$autocompletion_"+a)},__Ni:function(a){var b={},c=this.__fi("groupBy");b[baselib.ui.AutoCompletionBox.__MG]=a;c&&(b={},a.items.forEach(function(a){a[c]&&!b[a[c]]&&(b[a[c]]={items:[]});b[a[c]].items.push(a)}));return b},
__Nj:function(a,b){if(!(a.length<this.getConfig("beginAutoComplete"))){b=b||this.getProperty("__identifier");var c=this.__fi("groupBy"),d=this.getTemplate("dataSource")?this.getTemplate("dataSource")[b]:void 0,e=this.getTemplate("group"),f=this.__MN(b)?b:null,s=b.split(" ").join("-"),l=null;if(!1===this.getProperty("__hasCustomResultBox"))l=this.getProperty("__resultListContainer"),l.find("."+s).remove();else{l=this.getProperty("__customResultListContainer"+s);if("undefined"===typeof l)return;l=l.find("."+
s).remove()}l.empty();var h=qxWeb.create("<span></span>"),k=this.getProperty("__searchLookup");k&&(k=k[b]);var t=this.getProperty("__groups"),g=Object.keys(e).length,n=!1;t&&(0<g&&g==g)&&(n=!0);var t=baselib.ui.AutoCompletionBox,m=this.__Nk(a,b);this.emit("searchEnd",{dataSource:f,search:a,getData:function(){return m}});if(0<m.length){g=qxWeb.create("<ul>");this.__eG(g,t.__Mw);var g=!1===this.getSearchCaseSensitive()?"i":"",p=qxWeb.string.escapeRegexpChars(a),p=RegExp("("+p+")",g),g={items:[]},r=
null,q=null,v=this.getTemplate("single"),w=this.getTemplate("multiple");if(this.getProperty("__itemTemplate")||d||n){p=0;for(r=m.length;p<r;p++)if(k[m[p]]instanceof Array)for(q=0,v=k[m[p]].length;q<v;q++)g.items.push(k[m[p]][q]);else g.items.push(k[m[p]]);d=d||(n?e:this.getTemplate("itemContent"))}else{for(var n=0,x=m.length;n<x;n++)q=m[n].replace(p,"<span class='"+t.__MF+"'>$1</span>"),k[m[n]]?(r=k[m[n]]+" > ",g.items.push({id:m[n],firstpart:r,secondpart:q})):g.items.push({id:m[n],secondpart:q});
d=d||(g.items[0].firstpart?w:v)}g.items=qxWeb.array.unique(g.items);g.resultGroupId=b;n=!1;g.items.length>this.getMaxResults()&&(g.items=g.items.slice(0,this.getMaxResults()),n=!0);var p=this.__Ni(g),q=r=null,u;for(u in p)r=null,q=e[u]||d,!0===this.getProperty("__hasCustomResultBox")&&(l=this.getProperty("__customResultListContainer"+f)),c&&(r=qxWeb.create("<ul class='qx-autocompletionbox-group-title "+s+"'><li>"+u+"</li></ul>"),l.append(r)),b=c?u:b,b=b.split(" ").join("-"),l.append(qxWeb.template.render(q,
p[u])),q=l.getChildren().getLast(),q.addClass(s),q.setAttribute("id",b),r&&r.setAttribute("id",b+"-title");n&&(c=h.clone(),this.__eG(c,t.__MA),c.setHtml(qxWeb.template.render(this.getMaxResultsInfo(),{input:a})),l.append(c));this.setProperty("__currentResults",g.items.length)}else{if(""===this.getNoResultsContent()){this.__Nn();return}c=h.clone();this.__eG(c,t.__Mz);c.setAttribute("html",this.getNoResultsContent());l.append(c);this.setProperty("__currentResults",0)}0<m.length&&!1===this.getProperty("__hasCustomResultBox")&&
(this.getProperty("__itemTemplate")?(k=k[m[0]],k=document.getElementById(k instanceof Array?k[0].id:k.id)):k=document.getElementById(m[0]),this.__MY(k));this.__Nm();this.emit("render",{datasource:f,container:l})}},__Nk:function(a,b){b=b||this.getProperty("__identifier");var c=[],d=!1===this.getSearchCaseSensitive()?"i":"",e=!0===this.getMatchAtStart()?"^":"",f=this.getProperty("__searchList"),f=f?f[b]:[];a=qxWeb.string.escapeRegexpChars(a);for(var d=RegExp(e+a,d),e=this.getFilterData(),h=0,l=f.length;h<
l;h++)e?d.test(f[h])&&c.push(f[h]):c.push(f[h]);return c},__Nl:function(){if(!1===this.getProperty("__hasCustomResultBox"))return"block"==this.getProperty("__resultBox").getStyle("display")},__Nm:function(){if(!1===this.getProperty("__hasCustomResultBox")){var a=this.getProperty("__document").documentElement.clientWidth,b=this.getProperty("__resultBox");this.__MT();this.getProperty("__resultBox").setStyle("display","block");var c=this.getProperty("__document").documentElement.clientWidth;a!=c&&(a=
Math.ceil((a-c)/2),b.setStyle("left",b.getPosition().left-a+"px"));this.getProperty("__blocked")||(b.block("transparent",0,1E3),this.setProperty("__blocked",!0))}},__Nn:function(){if(!1===this.getProperty("__hasCustomResultBox")){var a=this.getProperty("__resultBox");a.setStyle("display","none");this.getProperty("__blocked")&&(a.unblock(),this.setProperty("__blocked",!1));this.setProperty("__lastSelectedEntry",null)}},__No:function(a){a=qxWeb(a.getTarget());if(!1===this.getProperty("__hasCustomResultBox")&&
this.__Nl()){var b=this.getProperty("__resultBox"),c=b[0]==a[0],b=a.isChildOf(b);a[0]!=this[0]&&!1===c&&!1===b&&this.__Nn()}}},defer:function(a){qxWeb.$attach({autocompletionbox:a.autocompletionbox});a=function(a,c,d){"string"==typeof a&&"#"!=a.charAt(0)&&"."!=a.charAt(0)&&(a="#"+a.replace(/\./g,"\\."));return qxWeb(a).autocompletionbox(c,d)};qxWeb.$attachStatic({autocompletionbox:a});if(null===window.qui||"object"!=typeof window.qui)window.qui={};if(null===window.qui.bom||"object"!=typeof window.qui.bom)window.qui.bom=
{};window.qui.bom.AutoCompletionBox=a}})})()})();
(function(){(window.baselib||{}).AutoCompletionBox=function(){var h;h='The "baselib.AutoCompletionBox" namespace is *deprecated*! Please make sure to update your code to the selector-oriented syntax!\n';var a=qxWeb.array.fromArguments(arguments),b="undefined"!==typeof a[0]?a[0]:null,c=[];1<a.length&&(c=a.slice(1));a=qxWeb(b);c=a.autocompletionbox.apply(a,c);h+="Head over to the API docs and demo page to get more infos\n\n\thttp://baselib.ai.1und1.de/devel/docs/api/index.html / http://baselib.ai.1und1.de/devel/docs/demos/index.html\n\n";h+=
'A example for this syntax is $q("#yourSelector").autocompletionbox(dataSource, useExternalCss);';c instanceof window.qxWeb.$$qx.ui.website.Widget&&c.init();qxWeb.info(h);return c}})();

UNOUNO.ajax.AutoCompletion=function(mode){this.mode=mode;this.init();};UNOUNO.ajax.AutoCompletion.prototype={resetZip:function(){this.setElementValue("zip","");this.setCache("zipcode1",null);this.setCache("zipcode2",null);this.setCache("zipcode3",null);this.hideErrorMessage(this.getElementId("zip"));
},resetCity:function(){this.setElementValue("city","");this.setCache("city",null);if(this.dropDown["city"]){this.dropDown["city"].__dataSource=[];}if(document.getElementById("pv."+this.getElementId("city"))&&document.getElementById("pv."+this.getElementId("city")).getStyle("display")=="block"){document.getElementById("pv."+this.getElementId("city")).style.display="none";
document.getElementById("pv."+this.getElementId("city")).length=0;document.getElementById(this.getElementId("city")).style.display="block";}this.hideErrorMessage(this.getElementId("zip"));this.hideErrorMessage(this.getElementId("city"));},resetStreet:function(){this.setElementValue("street","");if(this.dropDown["street"]!=null){this.dropDown["street"].dataSource=[];
}if(document.getElementById("pv."+this.getElementId("street"))&&document.getElementById("pv."+this.getElementId("street")).getStyle("display")=="block"){document.getElementById("pv."+this.getElementId("street")).style.display="none";document.getElementById("pv."+this.getElementId("street")).length=0;
document.getElementById(this.getElementId("street")).style.display="block";}this.setElementValue("streetNumber","");this.hideErrorMessage(this.getElementId("street"));this.hideErrorMessage(this.getElementId("streetNumber"));},initCity:function(){var zipCodeValue=this.getElementValue("zip");if(!(this.getCache("zipcode1")==zipCodeValue)&&!(this.getCache("zipcode1")==null&&zipCodeValue=="")){this.setCache("zipcode1",zipCodeValue);
this.resetCity();this.resetStreet();if(zipCodeValue!=""&&this.checkForValidZipCode()){this.addressCheckService.getCitiesForZipcode(zipCodeValue);}}},getCitiesForZipcode:function(result,requestId,exception){if(result){if(result.length!=0){this.autoCompleteWidget("city",result,"JSArray");this.hideErrorMessage(this.getElementId("zip"));
}else{}}},getStreetsForZipAndCity:function(result,requestId,exception){if(result){if(this.dropDown.street){this.dropDown.street.setDataSource(result.streetNames||result);}}},autoCompleteWidget:function(id,datasource,method){var minQueryLength;if(method=="JSArray"){minQueryLength=1;}if(method=="XHR"){minQueryLength=2;
datasource=[];qx.bom.Element.addListener(document.getElementById(this.getElementId("street")),"input",this.updateAutoCompletion,this);}if(!(this.dropDown[id])){this.dropDown[id]=new qui.bom.AutoCompletionBox(this.getElementId(id),datasource,false);this.dropDown[id].setBeginAutoComplete(minQueryLength);
}else{this.dropDown[id].setDataSource(datasource);}},updateAutoCompletion:function(ev){var zip=this.getElementValue("zip");var city=this.getElementValue("city");var street=this.getElementValue("street");if(street.length>=2){if(this.mode==="hvt"){if(!(zip==""||city=="")&&this.checkForValidZipCode()){var onkzValue;
if(typeof this.getElementValue("onkz")=="undefined"){onkzValue=this.getElementId("onkz");}else{onkzValue=this.getElementValue("onkz");}this.hvtCheckService.getStreetNames(zip,onkzValue,street);}}else{this.addressCheckService.getStreets_ZipCityStreet(zip,city,street);}}},checkForValidZipCode:function(){var zipCode=this.getElementValue("zip");
if(zipCode){zipCode=zipCode.replace(/\D/,"");if(zipCode.length==5){this.hideErrorMessage(this.getElementId("zip"));return true;}else{return false;}}},activateAutoCompletion:function(){if(document.getElementById(this.getElementId("city"))&&document.getElementById(this.getElementId("street"))){document.getElementById(this.getElementId("city")).setAttribute("autocomplete","on");
document.getElementById(this.getElementId("street")).setAttribute("autocomplete","on");}},showErrorMessage:function(id,message){var errorElement=null;if(document.getElementById(id)){if(document.getElementById("error."+id)){errorElement=document.getElementById("error."+id);}else{var errorId=document.createAttribute("id");
errorId.nodeValue="error."+id;var errorClass=document.createAttribute("class");errorClass.nodeValue="error";errorElement=document.createElement("div");errorElement.setAttributeNode(errorId);errorElement.setAttributeNode(errorClass);document.getElementById(id).parentNode.appendChild(errorElement);}qx.bom.element.Class.add(document.getElementById(id),"error");
if(document.getElementById("pv."+id)){qx.bom.element.Class.add(document.getElementById("pv."+id),"error");}if(message!="IS_HIDDEN"){document.getElementById("error."+id).innerHTML=message;document.getElementById("error."+id).style.display="block";}}},hideErrorMessage:function(id){if(document.getElementById(id)){qx.bom.element.Class.remove(document.getElementById(id),"error");
if(document.getElementById("pv."+id)){qx.bom.element.Class.remove(document.getElementById("pv."+id),"error");}if(document.getElementById("error."+id)){document.getElementById("error."+id).innerHTML="";document.getElementById("error."+id).style.display="none";}}},hideErrorMandatory:function(id){if(document.getElementById(id)&&document.getElementById("error."+id)){if(document.getElementById("error."+id).innerHTML=="Dieses Feld darf nicht leer sein."){if(document.getElementById(id).value!=""){this.hideErrorMessage(id);
}}}},init:function(){var elementId=new Object();var cache=new Object();cache["zipcode1"]=null;cache["zipcode2"]=null;cache["zipcode3"]=null;cache["city"]=null;this.dropDown=new Object();this.getDropDown=function(id){return dropDown[id];};this.setDropDown=function(id,value){dropDown[id]=value;};this.getCache=function(id){return cache[id];
};this.setCache=function(id,value){cache[id]=value;};this.getElementId=function(id){return elementId[id];};this.setElementId=function(id,realid){elementId[id]=realid;};this.getElementValue=function(id){if(document.getElementById(this.getElementId(id))){return document.getElementById(this.getElementId(id)).value;
}else{return undefined;}};this.setElementValue=function(id,value){if(document.getElementById(this.getElementId(id))){document.getElementById(this.getElementId(id)).value=value;return true;}else{return false;}};this.addressCheckService=new WS_AddressCheckService(this);if(this.mode==="hvt"){this.hvtCheckService=new WS_TalHvtCheckStreetService(this);
}this.getStreetNames=this.getStreetsForZipAndCity;this.getStreets_ZipCityStreet=this.getStreetsForZipAndCity;},onFormSubmit:function(e){if(this.getElementValue("zip")==""||this.getElementValue("city")==""||this.getElementValue("street")==""||this.getElementValue("streetNumber")==""){if(this.getElementValue("zip")==""){var zipElement=document.getElementById(this.getElementId("zip")+".isempty");
if(zipElement){zipElement.style.display="block";e.preventDefault();}}else{if(this.getElementValue("city")==""){var cityElement=document.getElementById(this.getElementId("city")+".isempty");if(cityElement){cityElement.style.display="block";e.preventDefault();}}else{if(this.getElementValue("street")==""){var streetElement=document.getElementById(this.getElementId("street")+".isempty");
if(streetElement){streetElement.style.display="block";e.preventDefault();}}else{if(this.getElementValue("streetNumber")==""){var streetNumberElement=document.getElementById(this.getElementId("streetNumber")+".isempty");if(streetNumberElement){streetNumberElement.style.display="block";e.preventDefault();
}}}}}}else{this.activateAutoCompletion();if(document.getElementById(this.getElementId("button"))){var src=document.getElementById(this.getElementId("button")).src;document.getElementById(this.getElementId("button")).src=src.replace(/\.gif/,"_loader.gif");}}},initWindowLoad:function(){if(this.getElementValue("zip")!=""&&this.checkForValidZipCode()){if(this.getElementValue("city")!=""){this.setCache("zipcode1",this.getElementValue("zip"));
}if(this.getElementValue("street")!=""){this.setCache("zipcode2",this.getElementValue("zip"));this.setCache("city",this.getElementValue("city"));}}if(document.getElementById(this.getElementId("city"))&&document.getElementById(this.getElementId("street"))){qx.bom.Element.addListener(document.getElementById(this.getElementId("city")),"focus",this.initCity,this);
this.autoCompleteWidget("street",[],"XHR");qx.bom.Element.addListener(document.getElementById(this.getElementId("form")),"submit",this.onFormSubmit,this);this.autoCompleteWidget("city",[],"JSArray");this.autoCompleteWidget("street",[],"JSArray");if(document.getElementById(this.getElementId("button"))){var img=new Image();
img.src=document.getElementById(this.getElementId("button")).src.replace(/\.gif/,"_loader.gif");}}}};
function WS_AddressCheckService(context,scope){pfx.ws.json.BaseStub.call(this,"AddressCheckService",context,scope,"/webservice");}WS_AddressCheckService.prototype=new pfx.ws.json.BaseStub;WS_AddressCheckService.prototype.getStreets_ZipCityStreet=function(){return this.callMethod("getStreets_ZipCityStreet",arguments,3);
};WS_AddressCheckService.prototype.getCitiesForZipcode=function(){return this.callMethod("getCitiesForZipcode",arguments,1);};WS_AddressCheckService.prototype.getStreetsForZipAndCity=function(){return this.callMethod("getStreetsForZipAndCity",arguments,2);};
function WS_TalHvtCheckStreetService(context,scope){pfx.ws.json.BaseStub.call(this,"TalHvtCheckStreetService",context,scope,"/webservice");}WS_TalHvtCheckStreetService.prototype=new pfx.ws.json.BaseStub;WS_TalHvtCheckStreetService.prototype.getStreetNames=function(){return this.callMethod("getStreetNames",arguments,3);
};
UNOUNO.ajax.InfoBox=function(){this.init();};UNOUNO.ajax.InfoBox.prototype={qxBom:qx.bom,infoxWidth:null,infoHeight:null,initInfoBoxMagic:function(id,dimension,preventMouseOut,preventIframe){if(id&&document.getElementById(id)!==null){var addListenerCallbackModifyInfoBoxHover=function(scope,id,zIndex,width,height,left,top,preventMouseOut){return function(e){scope.modifyInfoBoxHover(id,zIndex,width,height,left,top,preventMouseOut);
};};var infoDiv=document.getElementById(id).parentNode;this.infoWidth=this.qxBom.element.Style.get(infoDiv,"width").substring(0,this.qxBom.element.Style.get(infoDiv,"width").length-2);this.infoHeight=this.qxBom.element.Style.get(infoDiv,"height").substring(0,this.qxBom.element.Style.get(infoDiv,"height").length-2);
if(qx.core.Environment.get("engine.version")==="mshtml"&&qx.core.Environment.get("engine.version")==="6.0"){if(!document.getElementById("iframe."+id)&&!preventIframe){var infoBoxIFrame=document.createElement("iframe");infoBoxIFrame.setAttribute("id","iframe."+id);infoBoxIFrame.setAttribute("src","/modules/frontend-ingrid/img/blank.gif");
infoBoxIFrame.className="infobox-ingrid";infoDiv.appendChild(infoBoxIFrame);this.qxBom.element.Style.set(document.getElementById("iframe."+id),"opacity",0);this.qxBom.element.Style.set(document.getElementById("iframe."+id),"position","absolute");}}this.qxBom.Element.addListener(document.getElementById(id),"mouseover",addListenerCallbackModifyInfoBoxHover(this,id,dimension[0],dimension[1],dimension[2],dimension[3],dimension[4],false));
if(document.getElementById(id.substring(5))!==null){this.qxBom.Element.addListener(document.getElementById(id.substring(5)),"focus",addListenerCallbackModifyInfoBoxHover(this,id,dimension[0],dimension[1],dimension[2],dimension[3],dimension[4],false));}if(!preventMouseOut){this.qxBom.Element.addListener(document.getElementById(id),"mouseout",function(scope,id){return function(e){if(id){scope.resetInfoBox(id);
}};}(this,id));}if(document.getElementById(id.substring(5))!==null){this.qxBom.Element.addListener(document.getElementById(id.substring(5)),"blur",function(scope,id){return function(e){if(id){window.setTimeout(function(scope,id){return function(e){scope.resetInfoBox(id);};}(scope,id),100);}};}(this,id));
}}},modifyInfoBoxHover:function(id,zIndex,width,height,left,top,preventMouseOut){if(id&&document.getElementById(id)!==null){this.resetInfoBox(this.getLastInfoBox());if(!preventMouseOut){this.setLastInfoBox(id);}var infoDiv=document.getElementById(id).parentNode;this.qxBom.element.Style.set(infoDiv,"z-index",zIndex);
this.modifyBox(id,1,width,height,left,top,true);}},showInfoBoxMagic:function(id,dimension,reverter){if(id&&document.getElementById(id)!==null){var infoDiv=document.getElementById(id).parentNode;this.qxBom.element.Style.set(infoDiv,"z-index",dimension[0]);this.modifyBox(id,1,dimension[1],dimension[2],dimension[3],dimension[4],true);
if(typeof reverter!=="undefined"){this.qxBom.Element.addListener(document.getElementById(reverter),"click",function(scope,id,reverter){return function(e){if(id){scope.hideInfoBoxMagic(scope,id,reverter);}};}(this,id,reverter));}}},hideInfoBoxMagic:function(scope,id,reverter){if(id&&document.getElementById(id)!==null){this.qxBom.Element.addListener(document.getElementById(id),"mouseout",function(scope,id){return function(e){if(id){scope.resetInfoBox(id);
}};}(this,id));if(document.getElementById(reverter).checked===true){this.resetInfoBox(id);}}},resetInfoBox:function(id){if(id&&document.getElementById(id)!==null){this.modifyBox(id,1,this.infoWidth,this.infoHeight,0,0,true);this.modifyBoxContent(id,"none");if(document.getElementById(id).parentNode){var infoDiv=document.getElementById(id).parentNode;
this.qxBom.element.Style.set(infoDiv,"z-index","0");}if(document.getElementById("iframe."+id)){this.modifyBox("iframe."+id,0,this.infoWidth,this.infoHeight,0,0,false);this.qxBom.element.Style.set(document.getElementById("iframe."+id),"display","none");}}},modifyBox:function(id,zIndex,width,height,left,top,mbc){if(id&&document.getElementById(id)!==null){var boxElement=document.getElementById(id);
if(boxElement){this.qxBom.element.Style.set(boxElement,"z-index",zIndex);this.qxBom.element.Style.set(boxElement,"width",width+"px");this.qxBom.element.Style.set(boxElement,"height",height+"px");this.qxBom.element.Style.set(boxElement,"left",left+"px");this.qxBom.element.Style.set(boxElement,"top",top+"px");
if(mbc){this.modifyBoxContent(id,"block");}var iFrameElement=document.getElementById("iframe."+id);if(iFrameElement){this.qxBom.element.Style.set(iFrameElement,"display","block");this.qxBom.element.Style.set(iFrameElement,"z-index",zIndex-1);this.qxBom.element.Style.set(iFrameElement,"width",width+"px");
this.qxBom.element.Style.set(iFrameElement,"height",height+"px");this.qxBom.element.Style.set(iFrameElement,"left",left+"px");this.qxBom.element.Style.set(iFrameElement,"top",top+"px");}}}},modifyBoxContent:function(id,mode){if(id&&document.getElementById(id)!==null){var headerElement=this.getElementsByClassName("header","div",id);
this.qxBom.element.Style.set(headerElement[0],"display",mode);var contentElement=this.getElementsByClassName("content","div",id);this.qxBom.element.Style.set(contentElement[0],"display",mode);var footerElement=this.getElementsByClassName("footer","div",id);this.qxBom.element.Style.set(footerElement[0],"display",mode);
}},getElementsByClassName:function(clsName,type,element){var retVal=[],i=0,j=0;var elements;if(document.getElementById(element)){if(type){elements=document.getElementById(element).getElementsByTagName(type);}else{elements=document.getElementById(element).getElementsByTagName("*");}}else{if(type){elements=document.getElementsByTagName(type);
}else{elements=document.getElementsByTagName("*");}}for(i;i<elements.length;i++){if(elements[i].className.indexOf(" ")>=0){var classes=elements[i].className.split(" ");for(j;j<classes.length;j++){if(classes[j]===clsName){retVal.push(elements[i]);}}}else{if(elements[i].className===clsName){retVal.push(elements[i]);
}}}return retVal;},init:function(){var lastInfoBox=null;this.getLastInfoBox=function(){return lastInfoBox;};this.setLastInfoBox=function(value){lastInfoBox=value;};}};
$q.define("UNOUNO.fmc.components.skinHeadline",{statics:{init:function(){},},});UNOUNO.fmc.components.skinHeadline.init();
$q.define("UNOUNO.fmc.components.skinChecklist",{statics:{init:function(){},}});UNOUNO.fmc.components.skinChecklist.init();
$q.define("UNOUNO.fmc.components.skinParagraph",{statics:{init:function(){},},});UNOUNO.fmc.components.skinParagraph.init();
$q.define("UNOUNO.mnk.components.portal-header",{statics:{init:function(){UNOUNO.inline.footnoteHeader=new UNOUNO.util.infoFootnote("footnote-hotline","asterisk-hotline","left");}}});UNOUNO.mnk.components["portal-header"].init();

if(typeof UNOUNO.global==="undefined"){UNOUNO.global={};}UNOUNO.global.preisWechsel=function(e){var setchkbox=document.getElementById("hardware.set").checked;if(setchkbox===false){document.getElementById("lanid").style.display="";document.getElementById("wlanid").style.display="none";document.getElementById("lanid_box").style.display="";
document.getElementById("wlanid_box").style.display="none";document.getElementById("lanid_head").style.display="";document.getElementById("wlanid_head").style.display="none";}else{document.getElementById("lanid").style.display="none";document.getElementById("wlanid").style.display="";document.getElementById("lanid_box").style.display="none";
document.getElementById("wlanid_box").style.display="";document.getElementById("lanid_head").style.display="none";document.getElementById("wlanid_head").style.display="";}};UNOUNO.global.tabView=function(tabsClass){var tabs=qx.bom.Collection.query("."+tabsClass),formerTabText=null,formerTab=null,i=0,showTab=function(e){if(formerTabText!==null){qx.bom.element.Class.add(formerTabText,"hidden");
}if(formerTab!==null){qx.bom.element.Class.remove(formerTab,"current");}var openTabText=document.getElementById(e.getTarget().innerHTML),openTab=e.getTarget();e.preventDefault();if(openTabText){qx.bom.element.Class.remove(openTabText,"hidden");}if(openTab){qx.bom.element.Class.add(openTab,"current");
}formerTabText=openTabText;formerTab=openTab;};for(i;i<tabs.length;i++){qx.bom.Element.addListener(tabs[i],"click",showTab,this);}};UNOUNO.global.providerListToggle=function(){var providerToggle=document.getElementById("providerlist-toggle");var providerlistBox=document.getElementById("providerlist");
if(providerToggle!==""&&providerlistBox!==""){qx.bom.Element.addListener(providerToggle,"mouseover",function(){providerlistBox.style.display="block";});qx.bom.Element.addListener(providerToggle,"mouseout",function(){providerlistBox.style.display="none";});}};UNOUNO.global.changeDeviceImageThumb=function(thumbClass,startwith){var thumbs=qx.bom.Collection.query("."+thumbClass),i=0,formerImg=null,showVisual=function(e){var imgId=e.getTarget().id.replace("thumb_",""),img=document.getElementById(imgId);
if(img&&img!==formerImg){thumbImg=document.getElementById("thumb_"+img.id);qx.bom.element.Class.remove(img,"hidden");qx.bom.element.Class.add(thumbImg,"nostyle");if(qx.bom.element.Class.has(thumbImg,"tablet")){thumbImg.src="/modules/frontend-access-common/img/components/smart/tablet-zoom-active.png";
}if(qx.bom.element.Class.has(thumbImg,"smartphone")){thumbImg.src="/modules/frontend-access-common/img/components/smart/zoom-active.png";}}if(formerImg&&formerImg!==null&&formerImg!==img){thumbImg=document.getElementById("thumb_"+formerImg.id);qx.bom.element.Class.add(formerImg,"hidden");qx.bom.element.Class.remove(thumbImg,"nostyle");
if(qx.bom.element.Class.has(thumbImg,"tablet")){thumbImg.src="/modules/frontend-access-common/img/components/smart/tablet-zoom.png";}if(qx.bom.element.Class.has(thumbImg,"smartphone")){thumbImg.src="/modules/frontend-access-common/img/components/smart/zoom.png";}}formerImg=img;};for(i;i<thumbs.length;
i++){qx.bom.Element.addListener(thumbs[i],"click",showVisual,this);if(typeof startwith!==undefined&&i===(startwith-1)){qx.bom.Event.fire(thumbs[i],"click");}else{if(i===0){qx.bom.Event.fire(thumbs[i],"click");}}}};UNOUNO.global.in_array=function(item,arr){for(var p=0;p<arr.length;p++){if(item==arr[p]){return true;
}else{return false;}}};UNOUNO.global.siteinfo=function(doInfo,infoArray){if(doInfo=="true"){var container=document.createElement("div");container.id="siteinfo";for(var i=0;i<infoArray.length;i++){if(infoArray[i]!==""){var p=document.createElement("p");p.innerHTML=infoArray[i];container.appendChild(p);
}}document.body.appendChild(container);}};UNOUNO.global.submitOnOrderChange=function(selects){var submitSelect=function(e){var target=document.getElementById(e.getTarget().name);if(target){if(qx.core.Environment.get("engine.version")==="mshtml"&&(qx.core.Environment.get("engine.version")==="6.0"||qx.core.Environment.get("engine.version")==="7.0")){return false;
}else{target.click();}}};var selectElements=qx.bom.Collection.query(selects);for(var i=0;i<selectElements.length;i++){qx.bom.Element.addListener(selectElements[i],"change",submitSelect);}};UNOUNO.global.tabFocus=function(){var hover=function(e){var li=qx.dom.Element.getParentElement(e.getTarget());if(qx.bom.element.Class.has(li,"dropdown")){qx.bom.element.Class.add(li,"dropdown_hover");
}if(qx.bom.element.Class.has(li,"dropdown_left")){qx.bom.element.Class.add(li,"dropdown_left_hover");}};var navLinks=qx.bom.Collection.query("#header_nav .header-nav-open");for(var i=0;i<navLinks.length;i++){qx.bom.Element.addListener(navLinks[i],"focus",hover);}};UNOUNO.global.printPage=function(printButtonClass){var printButtons=qx.bom.Collection.query("."+printButtonClass),i=0,printIt=function(e){e.preventDefault();
window.print();};if(printButtons.length>0){for(i;i<printButtons.length;i++){qx.bom.Element.addListener(printButtons[i],"click",printIt,this);}}};
$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);}}}}}}});
$q.ready(function(){new UNOUNO.components.sectionNavigation({trackingEnabled:false});});
UNOUNO.pages=UNOUNO.pages||{};$q.define("UNOUNO.componets.kwk",{statics:{init:function(){UNOUNO.inline.footnoteKwk=new UNOUNO.util.infoFootnote("footnote-kwk","asterisk-kwk-img-1","left");UNOUNO.inline.footnoteKwk=new UNOUNO.util.infoFootnote("footnote-kwk","asterisk-kwk-img-2","left");}}});UNOUNO.componets.kwk.init();


$q.define("UNOUNO.fac.components.tariffTableDsl",{statics:{init:function(){UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-basic","asterisk-basic","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-tariff-dsl-basic","asterisk-tariff-basic","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-tariff-dsl-16","asterisk-tariff-dsl-16","right");
UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-tariff-dsl-50","asterisk-tariff-dsl-50","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-tariff-dsl-100","asterisk-tariff-dsl-100","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-capacity","asterisk-capacity","right");
UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-dsl-starting-balance","asterisk-dsl-starting-balance","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-dsl-iptv-tariff-double-flat-50000","asterisk-dsl-iptv-tariff-double-flat-50000","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-dsl-iptv-tariff-double-flat-100000","asterisk-dsl-iptv-tariff-double-flat-100000","right");
UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnoteSparvorteil","asteriskSparvorteil","right");this.initToggleSlotDetails();if($q("body").hasClass("dslbk")){this.initFootnotesForBK();this.initToggledMergedTariffs();}},initToggleSlotDetails:function(){var toggleAllTariffsDetailsElement=$q("span#toggleAllTariffDetails");
$q("span.detailsOpener").on("click",function(e){this.toggleTariffDetails($q(e.target).getAttribute("data-slot-id"));},this);toggleAllTariffsDetailsElement.on("click",function(e){this.toggleAllTariffDetails(toggleAllTariffsDetailsElement);},this);$q(".tariffsMoreDetailsLogo").on("click",function(e){this.toggleAllTariffDetails(toggleAllTariffsDetailsElement);
},this);},toggleTariffDetails:function(dataSlotId){var toggleControlElements=$q("span.detailsOpener[data-slot-id="+dataSlotId+"]"),toggleDetailsElements=$q(".details[data-slot-id="+dataSlotId+"]"),toggleSublineElements=$q("p.subline[data-slot-id="+dataSlotId+"]");if($q("span#toggleAllTariffDetails").hasClass("opened")){this.toggleAllTariffDetails($q("span#toggleAllTariffDetails"));
return ;}if($q("span.detailsOpener.opened").length>0&&dataSlotId!==$q("span.detailsOpener.opened").getAttribute("data-slot-id")){this.toggleTariffDetails($q("span.detailsOpener.opened").getAttribute("data-slot-id"));}if(toggleDetailsElements.hasClass("hidden")){toggleControlElements.addClass("opened");
toggleDetailsElements.removeClass("hidden");toggleSublineElements.addClass("hidden");}else{toggleControlElements.removeClass("opened");toggleDetailsElements.addClass("hidden");toggleSublineElements.removeClass("hidden");}},toggleAllTariffDetails:function(){if(!$q("#toggleAllTariffDetails").hasClass("opened")){$q(".tariff .closed").addClass("open");
$q(".tariff .closed.open").removeClass("closed");$q("#toggleAllTariffDetails").addClass("opened");$q.setDocumentScrollTop(420,200);}else{$q(".tariff .open").addClass("closed");$q(".tariff .open.closed").removeClass("open");$q("#toggleAllTariffDetails").removeClass("opened");}},hasDetailsFollower:function(element){if($q(element).getNext().length>0){return true;
}else{return false;}},initToggledMergedTariffs:function(){var activeToggleElement=$q(".tariffs-dsl .tariff-option-toggle input");activeToggleElement.on("click",function(e){this.toggleMergedTariffs($q(e.target));},this);$q("label").on("click",function(){var labelID=$q(this).getAttribute("for");$("input#"+labelID).emitNative("click");
});},toggleMergedTariffs:function(inputElm){var showTariff=inputElm.getAttribute("data-toggle-tariff");var toggleContainer=inputElm.getAncestors(".tariff-option-toggle");var toggles=toggleContainer.find("input[data-toggle-tariff]:not(:checked)");var tariffCol=inputElm.getAncestors(".tariffs");toggles.forEach(function(elm){tariffCol.find(".tariff-"+$q(elm).getAttribute("data-toggle-tariff")).addClass("hidden");
tariffCol.find("div."+$q(elm).getAttribute("data-toggle-tariff")).addClass("hidden");tariffCol.find("span."+$q(elm).getAttribute("data-toggle-tariff")).addClass("hidden");});tariffCol.find(".tariff-"+showTariff).removeClass("hidden");tariffCol.find("div."+showTariff).removeClass("hidden");tariffCol.find("span."+showTariff).removeClass("hidden");
tariffCol.find("input[data-toggle-tariff="+showTariff+"]:not(:checked)").setProperty("checked","checked");},initFootnotesForBK:function(){var asterisksTarifftableHead=$q(".tariff .tariff-head a.asterisk");var asterisksTarifftableBody=$q(".tariff .tariff-body ul a.asterisk");var asterisksTarifftableContractChangeFee=$q(".tariff .tariff-body .contract-charge a.asterisk");
var asterisksExTariffInfo=$q("div.exTariffInfo a.asterisk");asterisksTarifftableHead.forEach(function(element,key,array){UNOUNO.inline.footnoteTariff=new UNOUNO.util.infoFootnote("footnote-"+element.getAttribute("data-id"),element.getAttribute("id"),"right");});asterisksTarifftableBody.forEach(function(element,key,array){UNOUNO.inline.footnoteTariff=new UNOUNO.util.infoFootnote("footnote-"+element.getAttribute("data-id"),element.getAttribute("id"),"right");
});asterisksTarifftableContractChangeFee.forEach(function(element,key,array){UNOUNO.inline.footnoteContractChangeFee=new UNOUNO.util.infoFootnote("footnote-contractChangeFee",element.getAttribute("id"),"right");});asterisksExTariffInfo.forEach(function(element,key,array){UNOUNO.inline.footnoteContractChangeFee=new UNOUNO.util.infoFootnote("footnote-"+element.getAttribute("data-id"),element.getAttribute("id"),"right");
});}}});UNOUNO.fac.components.tariffTableDsl.init();
$q.define("UNOUNO.fac.components.tarifftable",{statics:{init:function(){var setHeaderHeight=function(){var height=$q(".tariff-head").getHeightMax()+$q(".tariff-table-header p").getHeightMax();if(height>0){if(height>5){height=height-0;}$q(".tariff-table-header").setStyle("height",height+"px");}};setHeaderHeight();
if($q("#tabs #tab\\.tariffs-e-netz").length){$q("#tabs #tab\\.tariffs-e-netz").on("click",function(e){setHeaderHeight();});}if($q("#tabs #tab\\.tariffs-d-netz").length){$q("#tabs #tab\\.tariffs-d-netz").on("click",function(e){setHeaderHeight();});}$q(".info-layer-opener").on("click",function(e){var footnote_id=$q(e.currentTarget).getAttribute("data-footnote-id");
var asterisk_data_id=$q(e.currentTarget).getAttribute("data-id");if(footnote_id){$q(".info-footnote.show").toggleClasses(["hidden","show"]);$q("div#"+footnote_id).toggleClasses(["hidden","show"]);}if(asterisk_data_id){$q("div#"+asterisk_data_id).toggleClasses(["hidden","show"]);}});$q(".info-footnote .head").on("click",function(e){var footnote_id=$q(e.currentTarget).getAncestors("div").getAttribute("id");
if(footnote_id){$q("div#"+footnote_id).toggleClasses(["hidden","show"]);}});$q(".toggle-additional-list").on("click",function(e){$q(".additional-list").toggleClasses(["hidden","show"]);$q(".tariff-aktion.tariff-switch-bonus").toggleClasses(["hidden","show"]);if($q(".additional-list").hasClass("show")){$q(".toggle-additional-list").setHtml("Weitere Vorteile ausblenden");
}else{$q(".toggle-additional-list").setHtml("Weitere Vorteile");}});var inputToggle=function(cols){if(cols&&cols.length){for(var n=0;n<cols.length;n++){var col=$q(cols[n]);var toggle=col.find(".tariff-option-toggle");var activeTariff=toggle.find("input:checked").getAttribute("data-toggle-tariff");if(activeTariff){toggle.find("input").forEach(function(elm){var tariff=elm.getAttribute("data-toggle-tariff");
col.find(".tarifftable-button."+tariff).addClass("hidden");});col.find(".tarifftable-button."+activeTariff).removeClass("hidden");}}}};inputToggle($q(".tariffs .tariff"));$q(".tariff-option-toggle input").on("change",function(e){inputToggle($q(e.getTarget()).getAncestors(".tariff"));});$q(".tariffs .tariff-body ul li .details-toggle").on("click",function(e){var group_id=$q(e.currentTarget).getAncestors("li").getAttribute("data-group-id");
var openElms=$q('.tariffs .tariff-body ul li[data-group-id="'+group_id+'"].closed');$q(".tariffs .tariff-body ul li[data-group-id]").removeClass("open").addClass("closed");openElms.addClass("open").removeClass("closed");$q("#toggleAllTariffDetails").removeClass("opened");});if($q(".tariffs.cols-4 .tariff-100").length>0){$q(".tariffs.cols-4 .tariff-special").getFirst().addClass("no-margin");
}}}});UNOUNO.fac.components.tarifftable.init();
$q.define("UNOUNO.components.TariftableBusiness",{statics:{init:function(){UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus-20","asterisk-wechslerbonus-df6k","left");UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus-50","asterisk-wechslerbonus-df16k","left");
UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus","asterisk-wechslerbonus-df50k","left");UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus-20","asterisk-wechslerbonus-df6k-unten","left");UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus-50","asterisk-wechslerbonus-df16k-unten","left");
UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-wechslerbonus","asterisk-wechslerbonus-df50k-unten","left");UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-vdsl100","asterisk-df100k","left");UNOUNO.inline.footnoteinfoteaser=new UNOUNO.util.infoFootnote("footnote-vdsl100-ausbaugebiete","asterisk-ausbaugebiete","left");
UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-glasfaser-bandbreite","asterisk-glasfaser-bandbreite-for-10000","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-office-speed-voice","asterisk-office-speed-voice","left");var linkDF16=$q("#button-ct-btn-tarifftable-df16000-bottom").getAttribute("href");
var linkDF50=$q("#button-ct-btn-tarifftable-df50000-bottom").getAttribute("href");var linkDF100=$q("#button-ct-btn-tarifftable-df100000-bottom").getAttribute("href");$("#dsl-tarifftable-container .tarif5010up .toggle-10k").on("click",function(){$(".tarifftable .tariff50000.tariff100000").addClass("speed-10k").removeClass("speed-20k");
this.setSpeedDependentVisibility();localStorage.setItem("selectedDslTariff","10K");$q(".tariff100000 .tariff-mobile-flat a.aktionsseite").setAttribute("href",linkDF50);},this);$(".tarifftable .tariff50000 .toggle-20k").on("click",function(){$(".tarifftable .tariff50000.tariff100000").addClass("speed-20k").removeClass("speed-10k");
localStorage.setItem("selectedDslTariff","20K");$q(".tariff100000 .tariff-mobile-flat a.aktionsseite").setAttribute("href",linkDF100);this.setSpeedDependentVisibility();},this);this.setSpeedDependentVisibility();},setSpeedDependentVisibility:function(){$q("li.tariff50000.tariff100000.speed-50k .speed-50k-only, li.tariff50000.tariff100000.speed-100k .speed-100k-only").show();
$q("li.tariff50000.tariff100000:not(.speed-50k) .speed-50k-only").hide();$q("li.tariff50000.tariff100000:not(.speed-100k) .speed-100k-only").hide();}}});UNOUNO.components.TariftableBusiness.init();$q.ready(function(){var jumpTo=function(e){if(window.location.pathname=="/"){window.scrollTo(0,580);}else{window.location="./#tarifftable-header";
}};$(".stage-aktion").on("click",jumpTo);var accordionObj={tarifContainerId:"#dsl-tarifftable-container",tariffFooterId:"#tariff-accordion-footer-container",mainToggleButton:"#toggleAllBusinessTariffDetails",containerSelector:"#dsl-tarifftable-container .tariff-accordion-item",triggerSelector:".group-btn",efficiencyTriggerSelector:"#dsl-tarifftable-container .tariff-accordion-item span.group-btn",opened:"opened",closed:"closed",defaultVariant:"default-variant",detailVariant:"detail-variant",groupVariant:"group-variant",toggleOnlyGroup:"toggleonlygroup",scrollTo:438};
var dslTarifNamen={tarifspecial:"tarifspecial",tarif6k:"tarif6k",tarif16k:"tarif16k",tarifvdsl:"tarifvdsl",tarifmaintogglebutton:"tarifmaintogglebutton"};var trackingObj=UNOUNO.dnk.pages.DslEinstieg.tarifTracking.init();$q(accordionObj.mainToggleButton).on("click",function(ev){if(this.hasClass(accordionObj.opened)===true){$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);
$q(accordionObj.containerSelector).addClass(accordionObj.defaultVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);this.removeClass(accordionObj.opened);this.addClass(accordionObj.closed);
$q(accordionObj.tariffFooterId).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant]);$q(accordionObj.tariffFooterId).addClass(accordionObj.defaultVariant);window.scrollTo(0,accordionObj.scrollTo);}else{var trackingGroup=this.getAttribute("trackinggroup");if((trackingGroup!=null)&&(dslTarifNamen[trackingGroup]!=undefined)){trackingObj.addValue(trackingGroup);
}$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);$q(accordionObj.containerSelector).addClass(accordionObj.detailVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);
$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.opened);this.addClass(accordionObj.opened);this.removeClass(accordionObj.closed);$q(accordionObj.tariffFooterId).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant]);$q(accordionObj.tariffFooterId).addClass(accordionObj.detailVariant);
window.scrollTo(0,accordionObj.scrollTo);}});var containers=$q(accordionObj.containerSelector);containers.forEach(function(container,index){var triggers=$q(container).find(accordionObj.triggerSelector);triggers.on("click",function(e){e.stopPropagation();if(this.hasClass(accordionObj.opened)===true){this.addClass(accordionObj.closed);
this.removeClass(accordionObj.opened);$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);$q(accordionObj.containerSelector).addClass(accordionObj.defaultVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);
$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);$q(accordionObj.mainToggleButton).removeClass(accordionObj.opened);$q(accordionObj.mainToggleButton).addClass(accordionObj.closed);}else{var trackingGroup=this.getAttribute("trackinggroup");if((trackingGroup!=null)&&(dslTarifNamen[trackingGroup]!=undefined)){trackingObj.addValue(trackingGroup);
}this.removeClass(accordionObj.closed);this.addClass(accordionObj.opened);$q(accordionObj.containerSelector).removeClass(accordionObj.toggleOnlyGroup);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);
$q(this).getParents().addClass(accordionObj.toggleOnlyGroup);var groupname=$q(this).getAttribute("groupname");if(groupname!=null){$q(accordionObj.containerSelector).removeClass(accordionObj.toggleOnlyGroup);$q("[groupname='"+groupname+"']").getParents().addClass(accordionObj.toggleOnlyGroup);$q("[groupname='"+groupname+"']").removeClass(accordionObj.closed);
$q("[groupname='"+groupname+"']").addClass(accordionObj.opened);}}});});$q(".trackingactionclass").on("click",function(ev){s.prop60="FP|"+UNOUNO.tracking.shopname+"|"+UNOUNO.tracking.seite+"|"+trackingObj.toString();UNOUNO.tracking.genericTracking(s);});});$q.define("UNOUNO.dnk.pages.DslEinstieg.tarifTracking",{statics:{trackingMap:new Array(),init:function(){var me=this;
return this;},isEmpty:function(){return this.trackingMap.length>0?true:false;},toString:function(){var str="";for(var i in this.trackingMap){str+=this.trackingMap[i]+"|";}return str;},toArray:function(){return this.trackingMap;},addValue:function(value){if(this.contains(value)==false){this.trackingMap.push(value);
return true;}else{return false;}},contains:function(value){return this.trackingMap.indexOf(value)>-1;},clear:function(){this.trackingMap=new Array();}}});
$q.define("UNOUNO.components.tarifftableGlasfaser",{statics:{init:function(){UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-glasfaser-bandbreite","asterisk-glasfaser-bandbreite-for-5000","right");UNOUNO.inline.footnotestage=new UNOUNO.util.infoFootnote("footnote-glasfaser-bandbreite","asterisk-glasfaser-bandbreite-for-10000","right");
var linkDF50=$q("#button-ct-btn-tarifftable-df50000-bottom").getAttribute("href");var linkDF100=$q("#button-ct-btn-tarifftable-df100000-bottom").getAttribute("href");}}});UNOUNO.components.tarifftableGlasfaser.init();$q.ready(function(){var accordionObj={tarifContainerId:"#dsl-tarifftable-glasfaser-container",tariffFooterId:"#tariff-accordion-footer-container",mainToggleButton:"#toggleAllBusinessGlasfaserTariffDetails",containerSelector:"#dsl-tarifftable-glasfaser-container .tariff-accordion-item",triggerSelector:".group-btn",efficiencyTriggerSelector:"#dsl-tarifftable-glasfaser-container .tariff-accordion-item span.group-btn",opened:"opened",closed:"closed",defaultVariant:"default-variant",detailVariant:"detail-variant",groupVariant:"group-variant",toggleOnlyGroup:"toggleonlygroup",scrollTo:438};
var dslTarifNamen={tarif500k:"tarif500k",tarif1000k:"tarif1000k",tarifmaintogglebutton:"tarifmaintogglebutton"};var trackingObj=UNOUNO.dnk.pages.DslGlasfaser.tarifTracking.init();$q(accordionObj.mainToggleButton).on("click",function(ev){if(this.hasClass(accordionObj.opened)===true){$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);
$q(accordionObj.containerSelector).addClass(accordionObj.defaultVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);this.removeClass(accordionObj.opened);this.addClass(accordionObj.closed);
$q(accordionObj.tariffFooterId).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant]);$q(accordionObj.tariffFooterId).addClass(accordionObj.defaultVariant);window.scrollTo(0,accordionObj.scrollTo);}else{var trackingGroup=this.getAttribute("trackinggroup");if((trackingGroup!=null)&&(dslTarifNamen[trackingGroup]!=undefined)){trackingObj.addValue(trackingGroup);
}$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);$q(accordionObj.containerSelector).addClass(accordionObj.detailVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);
$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.opened);this.addClass(accordionObj.opened);this.removeClass(accordionObj.closed);$q(accordionObj.tariffFooterId).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant]);$q(accordionObj.tariffFooterId).addClass(accordionObj.detailVariant);
window.scrollTo(0,accordionObj.scrollTo);}});var containers=$q(accordionObj.containerSelector);containers.forEach(function(container,index){var triggers=$q(container).find(accordionObj.triggerSelector);triggers.on("click",function(e){e.stopPropagation();if(this.hasClass(accordionObj.opened)===true){this.addClass(accordionObj.closed);
this.removeClass(accordionObj.opened);$q(accordionObj.containerSelector).removeClasses([accordionObj.detailVariant,accordionObj.defaultVariant,accordionObj.toggleOnlyGroup]);$q(accordionObj.containerSelector).addClass(accordionObj.defaultVariant);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);
$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);$q(accordionObj.mainToggleButton).removeClass(accordionObj.opened);$q(accordionObj.mainToggleButton).addClass(accordionObj.closed);}else{var trackingGroup=this.getAttribute("trackinggroup");if((trackingGroup!=null)&&(dslTarifNamen[trackingGroup]!=undefined)){trackingObj.addValue(trackingGroup);
}this.removeClass(accordionObj.closed);this.addClass(accordionObj.opened);$q(accordionObj.containerSelector).removeClass(accordionObj.toggleOnlyGroup);$q(accordionObj.efficiencyTriggerSelector).removeClasses([accordionObj.opened,accordionObj.closed]);$q(accordionObj.efficiencyTriggerSelector).addClass(accordionObj.closed);
$q(this).getParents().addClass(accordionObj.toggleOnlyGroup);var groupname=$q(this).getAttribute("groupname");if(groupname!=null){$q(accordionObj.containerSelector).removeClass(accordionObj.toggleOnlyGroup);$q("[groupname='"+groupname+"']").getParents().addClass(accordionObj.toggleOnlyGroup);$q("[groupname='"+groupname+"']").removeClass(accordionObj.closed);
$q("[groupname='"+groupname+"']").addClass(accordionObj.opened);}}});});$q(".glasfasertable .trackingactionclass").on("click",function(ev){s.prop60="FP|"+UNOUNO.tracking.shopname+"|"+UNOUNO.tracking.seite+"|"+trackingObj.toString();UNOUNO.tracking.genericTracking(s);});});$q.define("UNOUNO.dnk.pages.DslGlasfaser.tarifTracking",{statics:{trackingMap:new Array(),init:function(){var me=this;
return this;},isEmpty:function(){return this.trackingMap.length>0?true:false;},toString:function(){var str="";for(var i in this.trackingMap){str+=this.trackingMap[i]+"|";}return str;},toArray:function(){return this.trackingMap;},addValue:function(value){if(this.contains(value)==false){this.trackingMap.push(value);
return true;}else{return false;}},contains:function(value){return this.trackingMap.indexOf(value)>-1;},clear:function(){this.trackingMap=new Array();}}});
//### zip:baseLib-1.0.8.jar/PUSTEFIX-INF/script/animation-min.js
(function(){var c=window.qxWeb.$$qx;c.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});c.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){c.Bootstrap.define("qx.module.Animation",{events:{animationStart:void 0,animationIteration:void 0,animationEnd:void 0},statics:{getAnimationHandles:function(){for(var a=[],b=0;b<this.length;b++)a[b]=this[b].$$animation;return a},_fadeOut:{duration:700,timing:"ease-out",keep:100,keyFrames:{0:{opacity:1},
100:{opacity:0,display:"none"}}},_fadeIn:{duration:700,timing:"ease-in",keep:100,keyFrames:{0:{opacity:0},100:{opacity:1}}},animate:function(a,b){c.module.Animation._animate.bind(this)(a,b,!1);return this},animateReverse:function(a,b){c.module.Animation._animate.bind(this)(a,b,!0);return this},_animate:function(a,b,d){this._forEachElement(function(g,e){g.$$animation&&g.$$animation.stop();var f;f=d?c.bom.element.Animation.animateReverse(g,a,b):c.bom.element.Animation.animate(g,a,b);var h=this;0==e&&
(f.on("start",function(){h.emit("animationStart")},f),f.on("iteration",function(){h.emit("animationIteration")},f));f.on("end",function(){for(var a=0;a<h.length;a++)if(h[a].$$animation)return;h.emit("animationEnd")},g)})},play:function(){for(var a=0;a<this.length;a++){var b=this[a].$$animation;b&&b.play()}return this},pause:function(){for(var a=0;a<this.length;a++){var b=this[a].$$animation;b&&b.pause()}return this},stop:function(){for(var a=0;a<this.length;a++){var b=this[a].$$animation;b&&b.stop()}return this},
isPlaying:function(){for(var a=0;a<this.length;a++){var b=this[a].$$animation;if(b&&b.isPlaying())return!0}return!1},isEnded:function(){for(var a=0;a<this.length;a++){var b=this[a].$$animation;if(b&&!b.isEnded())return!1}return!0},fadeIn:function(a){this.setStyle("display","");return this.animate(c.module.Animation._fadeIn,a)},fadeOut:function(a){return this.animate(c.module.Animation._fadeOut,a)}},defer:function(a){qxWeb.$attach({animate:a.animate,animateReverse:a.animateReverse,fadeIn:a.fadeIn,
fadeOut:a.fadeOut,play:a.play,pause:a.pause,stop:a.stop,isEnded:a.isEnded,isPlaying:a.isPlaying,getAnimationHandles:a.getAnimationHandles});"ie"===qxWeb.env.get("browser.name")&&9>=qxWeb.env.get("browser.version")&&(a._fadeIn.keyFrames[100].opacity=0.99)}})})();(function(){c.Bootstrap.define("qx.bom.client.CssTransform",{statics:{getSupport:function(){var a=c.bom.client.CssTransform.getName();return null!=a?{name:a,style:c.bom.client.CssTransform.getStyle(),origin:c.bom.client.CssTransform.getOrigin(),
"3d":c.bom.client.CssTransform.get3D(),perspective:c.bom.client.CssTransform.getPerspective(),"perspective-origin":c.bom.client.CssTransform.getPerspectiveOrigin(),"backface-visibility":c.bom.client.CssTransform.getBackFaceVisibility()}:null},getStyle:function(){return c.bom.Style.getPropertyName("transformStyle")},getPerspective:function(){return c.bom.Style.getPropertyName("perspective")},getPerspectiveOrigin:function(){return c.bom.Style.getPropertyName("perspectiveOrigin")},getBackFaceVisibility:function(){return c.bom.Style.getPropertyName("backfaceVisibility")},
getOrigin:function(){return c.bom.Style.getPropertyName("transformOrigin")},getName:function(){return c.bom.Style.getPropertyName("transform")},get3D:function(){return null!=c.bom.client.CssTransform.getPerspective()}},defer:function(a){c.core.Environment.add("css.transform",a.getSupport);c.core.Environment.add("css.transform.3d",a.get3D)}})})();(function(){c.Bootstrap.define("qx.bom.element.Animation",{statics:{animate:function(a,b,d){var g=c.bom.element.Animation.__pB(a,b.keyFrames);return c.core.Environment.get("css.animation")&&
g?c.bom.element.AnimationCss.animate(a,b,d):c.bom.element.AnimationJs.animate(a,b,d)},animateReverse:function(a,b,d){var g=c.bom.element.Animation.__pB(a,b.keyFrames);return c.core.Environment.get("css.animation")&&g?c.bom.element.AnimationCss.animateReverse(a,b,d):c.bom.element.AnimationJs.animateReverse(a,b,d)},__pB:function(a,b){var d=[],g;for(g in b){var e=b[g],f;for(f in e)-1==d.indexOf(f)&&d.push(f)}g=["scale","rotate","skew","translate"];for(e=0;e<d.length;e++)if(f=c.lang.String.camelCase(d[e]),
!(f in a.style||-1!=g.indexOf(d[e])||c.bom.Style.getPropertyName(f)))return!1;return!0}}})})();(function(){c.Bootstrap.define("qx.bom.element.AnimationHandle",{extend:c.event.Emitter,construct:function(){var a=c.core.Environment.get("css.animation");this.__pN=a&&a["play-state"];this.__pO=!0},events:{start:"Element",end:"Element",iteration:"Element"},members:{__pN:null,__pO:!1,__pP:!1,isPlaying:function(){return this.__pO},isEnded:function(){return this.__pP},isPaused:function(){return"paused"==this.el.style[this.__pN]},
pause:function(){this.el&&(this.el.style[this.__pN]="paused",this.el.$$animation.__pO=!1,this.animationId&&c.bom.element.AnimationJs&&c.bom.element.AnimationJs.pause(this))},play:function(){this.el&&(this.el.style[this.__pN]="running",this.el.$$animation.__pO=!0,void 0!=this.i&&c.bom.element.AnimationJs&&c.bom.element.AnimationJs.play(this))},stop:function(){this.el&&c.core.Environment.get("css.animation")&&!this.jsAnimation?(this.el.style[this.__pN]="",this.el.style[c.core.Environment.get("css.animation").name]=
"",this.el.$$animation.__pO=!1,this.el.$$animation.__pP=!0):this.jsAnimation&&(this.stopped=!0,c.bom.element.AnimationJs.stop(this))}}})})();(function(){c.Bootstrap.define("qx.util.ColorUtil",{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/,rgba:/^rgba\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},
SYSTEM:{activeborder:!0,activecaption:!0,appworkspace:!0,background:!0,buttonface:!0,buttonhighlight:!0,buttonshadow:!0,buttontext:!0,captiontext:!0,graytext:!0,highlight:!0,highlighttext:!0,inactiveborder:!0,inactivecaption:!0,inactivecaptiontext:!0,infobackground:!0,infotext:!0,menu:!0,menutext:!0,scrollbar:!0,threeddarkshadow:!0,threedface:!0,threedhighlight:!0,threedlightshadow:!0,threedshadow:!0,window:!0,windowframe:!0,windowtext:!0},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],
white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function(a){return void 0!==this.NAMED[a]},isSystemColor:function(a){return void 0!==this.SYSTEM[a]},supportsThemes:function(){return c.Class?c.Class.isDefined("qx.theme.manager.Color"):
!1},isThemedColor:function(a){return this.supportsThemes()?c.theme&&c.theme.manager&&c.theme.manager.Color?c.theme.manager.Color.getInstance().isDynamic(a):!1:!1},stringToRgb:function(a){this.supportsThemes()&&this.isThemedColor(a)&&(a=c.theme.manager.Color.getInstance().resolveDynamic(a));if(this.isNamedColor(a))return this.NAMED[a].concat();if(this.isSystemColor(a))throw Error("Could not convert system colors to RGB: "+a);if(this.isRgbaString(a))return this.__nt(a);if(this.isRgbString(a))return this.__ns();
if(this.isHex3String(a))return this.__nu();if(this.isHex6String(a))return this.__nv();throw Error("Could not parse color: "+a);},cssStringToRgb:function(a){if(this.isNamedColor(a))return this.NAMED[a];if(this.isSystemColor(a))throw Error("Could not convert system colors to RGB: "+a);if(this.isRgbString(a))return this.__ns();if(this.isRgbaString(a))return this.__nt();if(this.isHex3String(a))return this.__nu();if(this.isHex6String(a))return this.__nv();throw Error("Could not parse color: "+a);},stringToRgbString:function(a){return this.rgbToRgbString(this.stringToRgb(a))},
rgbToRgbString:function(a){return"rgb"+(void 0!==a[3]?"a":"")+"("+a.join(",")+")"},rgbToHexString:function(a){return"#"+c.lang.String.pad(a[0].toString(16).toUpperCase(),2)+c.lang.String.pad(a[1].toString(16).toUpperCase(),2)+c.lang.String.pad(a[2].toString(16).toUpperCase(),2)},isValidPropertyValue:function(a){return this.isThemedColor(a)||this.isNamedColor(a)||this.isHex3String(a)||this.isHex6String(a)||this.isRgbString(a)||this.isRgbaString(a)},isCssString:function(a){return this.isSystemColor(a)||
this.isNamedColor(a)||this.isHex3String(a)||this.isHex6String(a)||this.isRgbString(a)||this.isRgbaString(a)},isHex3String:function(a){return this.REGEXP.hex3.test(a)},isHex6String:function(a){return this.REGEXP.hex6.test(a)},isRgbString:function(a){return this.REGEXP.rgb.test(a)},isRgbaString:function(a){return this.REGEXP.rgba.test(a)},__ns:function(){var a=parseInt(RegExp.$1,10),b=parseInt(RegExp.$2,10),d=parseInt(RegExp.$3,10);return[a,b,d]},__nt:function(){var a=parseInt(RegExp.$1,10),b=parseInt(RegExp.$2,
10),d=parseInt(RegExp.$3,10),c=parseFloat(RegExp.$4,10);return 0===a&&0===b&0===d&&0===c?[-1,-1,-1]:[a,b,d]},__nu:function(){var a=17*parseInt(RegExp.$1,16),b=17*parseInt(RegExp.$2,16),d=17*parseInt(RegExp.$3,16);return[a,b,d]},__nv:function(){var a=16*parseInt(RegExp.$1,16)+parseInt(RegExp.$2,16),b=16*parseInt(RegExp.$3,16)+parseInt(RegExp.$4,16),d=16*parseInt(RegExp.$5,16)+parseInt(RegExp.$6,16);return[a,b,d]},hex3StringToRgb:function(a){if(this.isHex3String(a))return this.__nu(a);throw Error("Invalid hex3 value: "+
a);},hex3StringToHex6String:function(a){return this.isHex3String(a)?this.rgbToHexString(this.hex3StringToRgb(a)):a},hex6StringToRgb:function(a){if(this.isHex6String(a))return this.__nv(a);throw Error("Invalid hex6 value: "+a);},hexStringToRgb:function(a){if(this.isHex3String(a))return this.__nu(a);if(this.isHex6String(a))return this.__nv(a);throw Error("Invalid hex value: "+a);},rgbToHsb:function(a){var b,d;b=a[0];var c=a[1],e=a[2],f=b>c?b:c;e>f&&(f=e);var h=b<c?b:c;e<h&&(h=e);d=f/255;a=0!=f?(f-h)/
f:0;if(0==a)b=0;else{var l=(f-b)/(f-h),k=(f-c)/(f-h),e=(f-e)/(f-h);b=(b==f?e-k:c==f?2+l-e:4+k-l)/6;0>b&&(b+=1)}return[Math.round(360*b),Math.round(100*a),Math.round(100*d)]},hsbToRgb:function(a){var b,d,c,e;d=a[0]/360;e=a[1]/100;a=a[2]/100;1<=d&&(d%=1);1<e&&(e=1);1<a&&(a=1);var f=Math.floor(255*a),h,l,k;if(0==e)h=l=k=f;else switch(d*=6,a=Math.floor(d),b=d-a,d=Math.floor(f*(1-e)),c=Math.floor(f*(1-e*b)),e=Math.floor(f*(1-e*(1-b))),a){case 0:h=f;l=e;k=d;break;case 1:h=c;l=f;k=d;break;case 2:h=d;l=f;
k=e;break;case 3:h=d;l=c;k=f;break;case 4:h=e;l=d;k=f;break;case 5:h=f,l=d,k=c}return[h,l,k]},randomColor:function(){var a=Math.round(255*Math.random()),b=Math.round(255*Math.random()),d=Math.round(255*Math.random());return this.rgbToRgbString([a,b,d])}}})})();(function(){c.Bootstrap.define("qx.bom.client.CssAnimation",{statics:{getSupport:function(){var a=c.bom.client.CssAnimation.getName();return null!=a?{name:a,"play-state":c.bom.client.CssAnimation.getPlayState(),"start-event":c.bom.client.CssAnimation.getAnimationStart(),
"iteration-event":c.bom.client.CssAnimation.getAnimationIteration(),"end-event":c.bom.client.CssAnimation.getAnimationEnd(),"fill-mode":c.bom.client.CssAnimation.getFillMode(),keyframes:c.bom.client.CssAnimation.getKeyFrames()}:null},getFillMode:function(){return c.bom.Style.getPropertyName("AnimationFillMode")},getPlayState:function(){return c.bom.Style.getPropertyName("AnimationPlayState")},getName:function(){return c.bom.Style.getPropertyName("animation")},getAnimationStart:function(){return c.bom.Event.supportsEvent(window,
"webkitanimationstart")?"webkitAnimationStart":{msAnimation:"MSAnimationStart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"animationstart",OAnimation:"oAnimationStart",animation:"animationstart"}[this.getName()]},getAnimationIteration:function(){return c.bom.Event.supportsEvent(window,"webkitanimationiteration")?"webkitAnimationIteration":{msAnimation:"MSAnimationIteration",WebkitAnimation:"webkitAnimationIteration",MozAnimation:"animationiteration",OAnimation:"oAnimationIteration",animation:"animationiteration"}[this.getName()]},
getAnimationEnd:function(){return c.bom.Event.supportsEvent(window,"webkitanimationend")?"webkitAnimationEnd":{msAnimation:"MSAnimationEnd",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}[this.getName()]},getKeyFrames:function(){for(var a=c.bom.Style.VENDOR_PREFIXES,b=[],d=0;d<a.length;d++){var g="@"+c.bom.Style.getCssName(a[d])+"-keyframes";b.push(g)}b.unshift("@keyframes");a=c.bom.Stylesheet.createElement();for(d=0;d<b.length;d++)try{return c.bom.Stylesheet.addRule(a,
b[d]+" name",""),b[d]}catch(e){}return null},getRequestAnimationFrame:function(){for(var a=["requestAnimationFrame","msRequestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame"],b=0;b<a.length;b++)if(void 0!=window[a[b]])return a[b];return null}},defer:function(a){c.core.Environment.add("css.animation",a.getSupport);c.core.Environment.add("css.animation.requestframe",a.getRequestAnimationFrame)}})})();(function(){c.Bootstrap.define("qx.bom.element.AnimationCss",
{statics:{__iQ:null,__pC:"Anni",__mD:0,__nw:{},__pD:{scale:!0,rotate:!0,skew:!0,translate:!0},__pE:c.core.Environment.get("css.animation"),animateReverse:function(a,b,d){return this._animate(a,b,d,!0)},animate:function(a,b,d){return this._animate(a,b,d,!1)},_animate:function(a,b,d,g){this.__pJ(b);var e=b.keep;null!=e&&(g||b.alternate&&0==b.repeat%2)&&(e=100-e);this.__iQ||(this.__iQ=c.bom.Stylesheet.createElement());var f=b.keyFrames;void 0==d&&(d=b.duration);null!=this.__pE&&(d=this.__pL(f,g)+" "+
d+"ms "+b.timing+" "+(b.delay?b.delay+"ms ":"")+b.repeat+" "+(b.alternate?"alternate":""),c.bom.Event.addNativeListener(a,this.__pE["start-event"],this.__pF),c.bom.Event.addNativeListener(a,this.__pE["iteration-event"],this.__pG),c.bom.Event.addNativeListener(a,this.__pE["end-event"],this.__pH),a.style[c.lang.String.camelCase(this.__pE.name)]=d,e&&(100==e&&this.__pE["fill-mode"])&&(a.style[this.__pE["fill-mode"]]="forwards"));d=new c.bom.element.AnimationHandle;d.desc=b;d.el=a;d.keep=e;a.$$animation=
d;null!=b.origin&&c.bom.element.Transform.setOrigin(a,b.origin);null==this.__pE&&window.setTimeout(function(){c.bom.element.AnimationCss.__pH({target:a})},0);return d},__pF:function(a){a.target.$$animation&&a.target.$$animation.emit("start",a.target)},__pG:function(a){null!=a.target&&null!=a.target.$$animation&&a.target.$$animation.emit("iteration",a.target)},__pH:function(a){a=a.target;var b=a.$$animation;if(b){var d=b.desc;if(null!=c.bom.element.AnimationCss.__pE){var g=c.lang.String.camelCase(c.bom.element.AnimationCss.__pE.name);
a.style[g]="";c.bom.Event.removeNativeListener(a,c.bom.element.AnimationCss.__pE.name,c.bom.element.AnimationCss.__pH)}null!=d.origin&&c.bom.element.Transform.setOrigin(a,"");c.bom.element.AnimationCss.__pI(a,d.keyFrames[b.keep]);a.$$animation=null;b.el=null;b.ended=!0;b.emit("end",a)}},__pI:function(a,b){var d,g;for(g in b)g in c.bom.element.AnimationCss.__pD?(d||(d={}),d[g]=b[g]):a.style[c.lang.String.camelCase(g)]=b[g];d&&c.bom.element.Transform.transform(a,d)},__pJ:function(a){a.hasOwnProperty("alternate")||
(a.alternate=!1);a.hasOwnProperty("keep")||(a.keep=null);a.hasOwnProperty("repeat")||(a.repeat=1);a.hasOwnProperty("timing")||(a.timing="linear");a.hasOwnProperty("origin")||(a.origin=null)},__pK:null,__pL:function(a,b){var d="",g;for(g in a){var d=d+((b?-(g-100):g)+"% {"),e=a[g],f,h;for(h in e)if(h in this.__pD)f||(f={}),f[h]=e[h];else var l=c.bom.Style.getPropertyName(h),l=null!==l?c.bom.Style.getCssName(l):"",d=d+((l||h)+":"+e[h]+";");f&&(d+=c.bom.element.Transform.getCss(f));d+="} "}if(this.__nw[d])return this.__nw[d];
g=this.__pC+this.__mD++;c.bom.Stylesheet.addRule(this.__iQ,this.__pE.keyframes+" "+g,d);return this.__nw[d]=g},__pM:function(){this.__mD=0;this.__iQ&&(this.__iQ.ownerNode.remove(),this.__iQ=null,this.__nw={})}},defer:function(a){"ios"===c.core.Environment.get("os.name")&&8<=parseInt(c.core.Environment.get("os.version"))&&document.addEventListener("visibilitychange",function(){document.hidden||a.__pM()},!1)}})})();(function(){c.Bootstrap.define("qx.bom.element.AnimationJs",{statics:{__pQ:30,__pR:"% in cm mm em ex pt pc px".split(" "),
__pD:{scale:!0,rotate:!0,skew:!0,translate:!0},animate:function(a,b,d){return this._animate(a,b,d,!1)},animateReverse:function(a,b,d){return this._animate(a,b,d,!0)},_animate:function(a,b,d,g){if(a.$$animation)return a.$$animation;b=c.lang.Object.clone(b,!0);void 0==d&&(d=b.duration);var e=b.keyFrames,f=this.__qb(e),h=this.__qa(d,f),l=parseInt(d/h,10);this.__pS(e,a);d=this.__pU(l,h,f,e,d,b.timing);var k=new c.bom.element.AnimationHandle;k.jsAnimation=!0;g&&(d.reverse(),k.reverse=!0);k.desc=b;k.el=
a;k.delta=d;k.stepTime=h;k.steps=l;a.$$animation=k;k.i=0;k.initValues={};k.repeatSteps=this.__pX(l,b.repeat);var t=this;k.delayId=window.setTimeout(function(){k.delayId=null;t.play(k)},b.delay||0);return k},__pS:function(a,b){var d={},g;for(g in a)for(var e in a[g]){var f=c.bom.Style.getPropertyName(e);f&&f!=e&&(f=c.bom.Style.getCssName(f),a[g][f]=a[g][e],delete a[g][e],e=f);void 0==d[e]&&(f=a[g][e],d[e]="string"==typeof f?this.__pV(f):"")}for(g in a)for(e in f=a[g],d)void 0==f[e]&&(f[e]=e in b.style?
window.getComputedStyle?getComputedStyle(b,null)[e]:b.style[e]:b[e],""===f[e]&&-1!=this.__pR.indexOf(d[e])&&(f[e]="0"+d[e]))},__pT:function(a){a=c.lang.Object.clone(a);var b,d;for(d in a)d in this.__pD&&(b||(b={}),b[d]=a[d],delete a[d]);b&&(b=c.bom.element.Transform.getCss(b).split(":"),1<b.length&&(a[b[0]]=b[1].replace(";","")));return a},__pU:function(a,b,d,g,e,f){a=Array(a);var h=1;a[0]=this.__pT(g[0]);for(var l=g[0],k=g[d[h]],t=Math.floor(d[h]/(100*(b/e))),r=1,n=1;n<a.length;n++){100*(n*b/e)>
d[h]&&(l=k,h++,k=g[d[h]],t=Math.floor(d[h]/(100*(b/e)))-t,r=1);a[n]={};var q,m;for(m in k){var p=k[m]+"";if(m in this.__pD)if(q||(q={}),c.Bootstrap.isArray(l[m]))for(c.Bootstrap.isArray(k[m])||(k[m]=[k[m]]),q[m]=[],p=0;p<k[m].length;p++){var s=r/t;q[m][p]=this.__pW(k[m][p]+"",l[m],f,s)}else s=r/t,q[m]=this.__pW(p,l[m],f,s);else if("#"==p.charAt(0)){for(var u=c.util.ColorUtil.cssStringToRgb(l[m]),w=c.util.ColorUtil.cssStringToRgb(p),v=[],p=0;p<u.length;p++){var x=u[p]-w[p],s=r/t,s=c.bom.AnimationFrame.calculateTiming(f,
s);v[p]=parseInt(u[p]-x*s,10)}a[n][m]=c.util.ColorUtil.rgbToHexString(v)}else isNaN(parseFloat(p))?a[n][m]=l[m]+"":(s=r/t,a[n][m]=this.__pW(p,l[m],f,s))}q&&(u=c.bom.element.Transform.getCss(q).split(":"),1<u.length&&(a[n][u[0]]=u[1].replace(";","")));r++}a[a.length-1]=this.__pT(g[100]);return a},__pV:function(a){return a.substring((parseFloat(a)+"").length,a.length)},__pW:function(a,b,d,g){var e=parseFloat(a)-parseFloat(b);return parseFloat(b)+e*c.bom.AnimationFrame.calculateTiming(d,g)+this.__pV(a)},
play:function(a){a.emit("start",a.el);var b=window.setInterval(function(){a.repeatSteps--;var b=a.delta[a.i%a.steps];if(0===a.i)for(var g in b)void 0===a.initValues[g]&&(a.initValues[g]=void 0!==a.el[g]?a.el[g]:c.bom.element.Style?c.bom.element.Style.get(a.el,c.lang.String.camelCase(g)):a.el.style[c.lang.String.camelCase(g)]);c.bom.element.AnimationJs.__pY(a.el,b);a.i++;0==a.i%a.steps&&(a.emit("iteration",a.el),a.desc.alternate&&a.delta.reverse());0>a.repeatSteps&&c.bom.element.AnimationJs.stop(a)},
a.stepTime);a.animationId=b;return a},pause:function(a){window.clearInterval(a.animationId);a.animationId=null;return a},stop:function(a){var b=a.desc,d=a.el,c=a.initValues;a.animationId&&window.clearInterval(a.animationId);a.delayId&&window.clearTimeout(a.delayId);if(void 0==d)return a;var e=b.keep;if(void 0==e||a.stopped)this.__pY(d,c);else{if(a.reverse||b.alternate&&b.repeat&&0==b.repeat%2)e=100-e;this.__pY(d,b.keyFrames[e])}d.$$animation=null;a.el=null;a.ended=!0;a.animationId=null;a.emit("end",
d);return a},__pX:function(a,b){return void 0==b?a:"infinite"==b?Number.MAX_VALUE:a*b},__pY:function(a,b){for(var d in b)if(void 0!==b[d])if("undefined"===typeof a.style[d]&&d in a)a[d]=b[d];else{var g=c.bom.Style.getPropertyName(d)||d;c.bom.element.Style?c.bom.element.Style.set(a,g,b[d]):a.style[g]=b[d]}},__qa:function(a,b){for(var d=100,c=0;c<b.length-1;c++)d=Math.min(d,b[c+1]-b[c]);for(d=a*d/100;d>this.__pQ;)d/=2;return Math.round(d)},__qb:function(a){a=Object.keys(a);for(var b=0;b<a.length;b++)a[b]=
parseInt(a[b],10);a.sort(function(a,b){return a-b});return a}}})})();(function(){c.Bootstrap.define("qx.bom.AnimationFrame",{extend:c.event.Emitter,events:{end:void 0,frame:"Number"},members:{__qd:!1,startSequence:function(a){this.__qd=!1;var b=+new Date,d=function(g){this.__qd?this.id=null:g>=b+a?(this.emit("end"),this.id=null):(g=Math.max(g-b,0),this.emit("frame",g),this.id=c.bom.AnimationFrame.request(d,this))};this.id=c.bom.AnimationFrame.request(d,this)},cancelSequence:function(){this.__qd=!0}},
statics:{TIMEOUT:30,calculateTiming:function(a,b){if("ease-in"==a)var d=[3.1223E-7,0.0757,1.2646,-0.167,-0.4387,0.2654];else if("ease-out"==a)d=[-7.0198E-8,1.652,-0.551,-0.0458,0.1255,-0.1807];else{if("linear"==a)return b;d="ease-in-out"==a?[2.482E-7,-0.2289,3.3466,-1.0857,-1.7354,0.7034]:[-0.0021,0.2472,9.8054,-21.6869,17.7611,-5.1226]}for(var c=0,e=0;e<d.length;e++)c+=d[e]*Math.pow(b,e);return c},request:function(a,b){var d=c.core.Environment.get("css.animation.requestframe"),g=function(d){1E10>
d&&(d=this.__fq+d);d=d||+new Date;a.call(b,d)};return d?window[d](g):window.setTimeout(function(){g()},c.bom.AnimationFrame.TIMEOUT)}},defer:function(a){a.__fq=window.performance&&performance.timing&&performance.timing.navigationStart;a.__fq||(a.__fq=Date.now())}})})();(function(){c.Bootstrap.define("qx.bom.element.Transform",{statics:{__qc:c.core.Environment.get("css.transform"),transform:function(a,b){var d=this.getTransformValue(b);null!=this.__qc&&(a.style[this.__qc.name]=d)},translate:function(a,
b){this.transform(a,{translate:b})},scale:function(a,b){this.transform(a,{scale:b})},rotate:function(a,b){this.transform(a,{rotate:b})},skew:function(a,b){this.transform(a,{skew:b})},getCss:function(a){a=this.getTransformValue(a);return null!=this.__qc?c.bom.Style.getCssName(this.__qc.name)+":"+a+";":""},setOrigin:function(a,b){null!=this.__qc&&(a.style[this.__qc.origin]=b)},getOrigin:function(a){return null!=this.__qc?a.style[this.__qc.origin]:""},setStyle:function(a,b){null!=this.__qc&&(a.style[this.__qc.style]=
b)},getStyle:function(a){return null!=this.__qc?a.style[this.__qc.style]:""},setPerspective:function(a,b){null!=this.__qc&&(a.style[this.__qc.perspective]=b+"px")},getPerspective:function(a){return null!=this.__qc?a.style[this.__qc.perspective]:""},setPerspectiveOrigin:function(a,b){null!=this.__qc&&(a.style[this.__qc["perspective-origin"]]=b)},getPerspectiveOrigin:function(a){if(null!=this.__qc){var b=a.style[this.__qc["perspective-origin"]];if(""!=b)return b;b=a.style[this.__qc["perspective-origin"]+
"X"];a=a.style[this.__qc["perspective-origin"]+"Y"];if(""!=b)return b+" "+a}return""},setBackfaceVisibility:function(a,b){null!=this.__qc&&(a.style[this.__qc["backface-visibility"]]=b?"visible":"hidden")},getBackfaceVisibility:function(a){return null!=this.__qc?"visible"==a.style[this.__qc["backface-visibility"]]:!0},getTransformValue:function(a){var b="",d=["translate","scale"],g;for(g in a)var e=a[g],b=c.Bootstrap.isArray(e)?3===e.length&&-1<d.indexOf(g)&&c.core.Environment.get("css.transform.3d")?
b+this._compute3dProperty(g,e):b+this._computeAxisProperties(g,e):b+(g+"("+e+") ");return b.trim()},_compute3dProperty:function(a,b){var d;for(d=0;d<b.length;d++)null==b[d]&&(b[d]=0);return d=""+(a+"3d("+b.join(", ")+") ")},_computeAxisProperties:function(a,b){for(var d="",g=["X","Y","Z"],e=0;e<b.length;e++)null==b[e]||2==e&&!c.core.Environment.get("css.transform.3d")||(d+=a+g[e]+"(",d+=b[e],d+=") ");return d}}})})();(function(){c.Bootstrap.define("baselib.module.Animation",{statics:{__LB:{duration:400,
timing:"linear",keep:100},__LC:{GROW:100,GROW_WIDTH:100,GROW_HEIGHT:100,SHRINK:0,SHRINK_WIDTH:0,SHRINK_HEIGHT:0},__LD:"width height paddingLeft paddingTop paddingRight paddingBottom".split(" "),slideUp:function(a,b){return this.animateNamed("SHRINK_HEIGHT",a,b)},slideDown:function(a,b){return this.animateNamed("GROW_HEIGHT",a,b)},animateNamed:function(a,b,d){if(void 0!==baselib.module.Animation.__LC[a]){var c,e=null,f=null;switch(a){case "GROW":case "SHRINK":c="width height paddingLeft paddingTop paddingRight paddingBottom".split(" ");
break;case "GROW_WIDTH":case "SHRINK_WIDTH":c=["width","paddingLeft","paddingRight"];e="height";break;case "GROW_HEIGHT":case "SHRINK_HEIGHT":c=["height","paddingTop","paddingBottom"],e="width"}var h=100===baselib.module.Animation.__LC[a];baselib.module.Animation.__LG(this);a=baselib.module.Animation.__LF(this,c);var l=baselib.module.Animation.__LE(this,c,a);baselib.module.Animation.__LH(this,c);var k=this;this.forEach(function(a,r){var n=qxWeb(a),q=qxWeb.object.clone(baselib.module.Animation.__LB);
q.keyFrames=l[r];b||(b=q.duration);void 0!==d&&"linear"!==d&&(q.timing=d);n.show();if(null!==e){f=a.style[e];var m;m="height"===e||"width"===e?n["get"+qxWeb.string.firstUp(e)]()+"px":n.getStyle(e);n.setStyle(e,m)}m=n.getStyle("overflow");if("hidden"!==m){n.setProperty("original_overflow",m);n.setStyle("overflow","hidden");m=n.getChildren(":first");var p=0===m.length?0:m.getOffset().top,p=n.getOffset().top-p;m.setStyle("marginTop",p+"px")}else n.setProperty("original_overflow",null);n[h?"animate":
"animateReverse"](q,b).once("animationEnd",function(){h||qxWeb(a).hide();baselib.module.Animation.__LH(this,c);var b=n.getProperty("original_overflow");null!==b&&(qxWeb(a).setStyle("overflow","visible"===b?null:b),n.getChildren(":first").setStyle("marginTop",null));null!==f&&(a.style[e]=f);r===k.length-1&&window.setTimeout(function(){k.emit("animationEnd")},0)},this)},k)}else qxWeb.debug("' "+a+"' is not a pre-defined named animation!");return this},__LE:function(a,b,d){var c=[];a.forEach(function(a,
f){for(var h={0:{},100:{}},l=0,k=b.length;l<k;l++)h[0][b[l]]="0px",h[100][b[l]]=d[f][l];c.push(h)});return c},__LF:function(a,b){var d=[];a.forEach(function(a){var c=[],f=qxWeb(a),h="none"!==a.style.display,l;h||(l={position:a.style.position,visibility:a.style.visibility},f.setStyles({position:"absolute",visibility:"hidden"}),f.show());a=0;for(var k=b.length;a<k;a++)"width"===b[a]?c.push(f.getWidth()+"px"):"height"===b[a]?c.push(f.getHeight()+"px"):c.push(f.getStyle(b[a]));d.push(c);h||(f.setStyles(l),
f.hide())});return d},__LG:function(a){var b=baselib.module.Animation.__LD;a.forEach(function(a){for(var c=qxWeb(a),e=0,f=b.length;e<f;e++)"width"===b[e]?(c.getWidth(),parseInt(c.getStyle("paddingLeft"),10),parseInt(c.getStyle("paddingRight"),10)):"height"===b[e]?(c.getHeight(),parseInt(c.getStyle("paddingTop"),10),parseInt(c.getStyle("paddingBottom"),10)):c.getStyle(b[e]),c.setProperty("animation-restore-"+b[e],a.style[b[e]])})},__LH:function(a,b){a.forEach(function(a){for(var c=qxWeb(a),e,f=0,h=
b.length;f<h;f++)e=c.getProperty("animation-restore-"+b[f]),a.style[b[f]]=e})}},defer:function(a){qxWeb.$attach({animateNamed:a.animateNamed,slideUp:a.slideUp,slideDown:a.slideDown})}})})();(function(){c.Bootstrap.define("baselib.module.DocumentScroll",{statics:{setDocumentScrollTop:function(a,b){qxWeb("html,body").setScrollTop(a,b)},setDocumentScrollLeft:function(a,b){qxWeb("html,body").setScrollLeft(a,b)}},defer:function(a){void 0===qxWeb.setDocumentScrollTop&&void 0===qxWeb.setDocumentScrollLeft&&
qxWeb.$attachStatic({setDocumentScrollTop:a.setDocumentScrollTop,setDocumentScrollLeft:a.setDocumentScrollLeft})}})})()})();

//### zip:baseLib-1.0.8.jar/PUSTEFIX-INF/script/accordion-min.js
(function(){var d=window.qxWeb.$$qx;d.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});d.$$packageData["0"]={locales:{},resources:{},translations:{}};(function(){d.Bootstrap.define("baselib.ui.Accordion",{extend:baselib.ui.Widget,construct:function(a,b){baselib.ui.Widget.call(this,a,b)},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(a){var b=new baselib.ui.Accordion(this);a&&(a.label&&b.setConfig("labelClass",a.label),a.content&&b.setConfig("contentClass",a.content));b.init();return b}},members:{init:function(){if(!baselib.ui.Widget.prototype.init.call(this))return!1;this._forEachElementWrapped(function(a){0<a.find("."+this.getConfig("contentClass")).length&&(a.render(),a.collapse(!1))});return!0},render:function(){this._forEachElementWrapped(function(a){a._initItems();
a.__Qj()});return this},collapse:function(a){this._forEachElementWrapped(function(b){var c=this.getProperty("__tabs"),g=b.getProperty("__canTransition");c._forEachElementWrapped(function(c){c.setProperty("__op","hide");b.setProperty("__currentIndex",null);b.__fu(c);var f=c.getHeight();0!==f&&(a?(b.__Qe(),b.__Oo(c),g?c.setStyle("height","0px"):b.__dV(c,f,0)):(c.setStyle("display","none"),c.setStyle("height","0px")))})});return this},setAnimationDuration:function(a){this.setProperty("__animationDuration",
a);this.setConfig("animationDuration",a);return this},getAnimationDuration:function(){return this.getProperty("__animationDuration")},enableAnimation:function(){this.setProperty("__animationDuration",this.getConfig("animationDuration"));return this},disableAnimation:function(){this.setProperty("__animationDuration",0);return this},isAnimated:function(){return 0<this.getProperty("__animationDuration")},getCurrentIndex:function(){return this.eq(0).getProperty("__currentIndex")},showItem:function(a,
b){this._forEachElementWrapped(function(c){if(!c.animating()){var g=c.getProperty("__tabs");if(0<=a&&a<g.length){var e=(b="undefined"!==typeof b?b:!0)?30:0,f=qxWeb(g[a]),d=qxWeb(g[c.getProperty("__currentIndex")]),h=0;f[0]&&(h=c.__Qi(f,b));d[0]&&c.__Qh(d,b);b||c.setProperty("__currentIndex",a);window.setTimeout(function(){c.__Qg(f,d,0,h,b)},e)}}});return this},showNext:function(){this._forEachElementWrapped(function(a){var b=a.getProperty("__tabs").length,b=(a.getProperty("__currentIndex")+1)%b;a.showItem(b,
a.isAnimated())});return this},showPrev:function(){this._forEachElementWrapped(function(a){var b=a.getProperty("__tabs").length,b=(a.getProperty("__currentIndex")-1+b)%b;a.showItem(b,a.isAnimated())});return this},animating:function(){return 0<this.eq(0).getProperty("__running")},dispose:function(){var a=this.getProperty("__canTransition");this._forEachElementWrapped(function(b){a&&b.getProperty("__tabs").forEach(function(a,b){var e=qxWeb(a),f=e.getProperty("__transitionHandler");f&&(a.removeEventListener(qxWeb.EVENT.transitionEnd,
f),e.setProperty("__transitionHandler",null))});b.off("tap",b.__Qk,b)});return this},__Qe:function(){var a=this.getProperty("__running")+1;this.setProperty("__running",a);return a},__Qf:function(){var a=this.getProperty("__running")-1;this.setProperty("__running",a);return a},__dV:function(a,b,c){var g=this.getProperty("__animationDuration"),e=null,f=this.getProperty("__tabs"),d=this,h=function(m){m=(new Date).getTime();var k=b,l=0;null===e&&(e=m);l=m-e;k=b+(c-b)*(l/g);b<c&&k>c&&(k=c);a.setStyle("height",
k+"px");l<g&&l<g?qxWeb.EVENT.animation.requestFrame(h):(a.setStyle("height",c+"px"),d.__dD(a,f.indexOf(a[0])))};qxWeb.EVENT.animation.requestFrame(h)},__Qg:function(a,b,c,g,e){var f=this.getProperty("__canTransition"),d=this.getProperty("__tabs");e&&(this.__Oo(a),b[0]&&this.__Oo(b));e&&this.__Qe();this.__Ql("beforeshow",a);f||!e?(a.getHeight()===g?this.__dD(a,d.indexOf(a)):a.setStyle("height",g+"px"),e||this.__Ql("aftershow",a)):this.__dV(a,a.getHeight(),g);b[0]&&(e&&this.__Qe(),this.__Ql("beforehide",
b),f||!e?(0===b.getHeight()?this.__dD(b,d.indexOf(b)):b.setStyle("height",c+"px"),e||(this.__Ql("afterhide",b),this.__Ql("switch"))):this.__dV(b,b.getHeight(),c))},__Qh:function(a,b){this.getProperty("__canTransition")&&this.__fu(a);a.setProperty("__op","hide");return 0},__Qi:function(a,b){this.getProperty("__canTransition")&&this.__fu(a);a.setProperty("__op","show");if(!a.getProperty("__scrollerTabHeight")){var c=a.getStyle("display");a.setStyle("height","");a.setStyle("display","block");a.setProperty("__scrollerTabHeight",
a[0].offsetHeight);a.setStyle("display",c)}a.setStyle("height","0px");a.setStyle("display","block");return a.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 a=this.find("."+this.getConfig("contentClass"));a._forEachElementWrapped(function(a){a.setProperty("__scrollerTabHeight",
null)});this.setProperty("__tabs",a)},__Qj:function(){var a=this.getProperty("__tabs"),b=qxWeb.env.canTransition(),c=this.getProperty("__currentIndex");"undefined"==typeof c?this.setProperty("__currentIndex",null):c>=a.length&&this.setProperty("__currentIndex",a.length-1);this.setProperty("__running",0);b&&(this.setProperty("__canTransition",qxWeb.env.canTransition()),a.forEach(function(a,b){if(!qxWeb(a).getProperty("__transitionHandler")){var c=this.__dD.bind(this,a,b);qxWeb(a).setProperty("__transitionHandler",
c);a.addEventListener(qxWeb.EVENT.transitionEnd,c,!1)}}.bind(this)));this.$onFirstCollection("tap",this.__Qk)},__Qk:function(a){var b=this.getProperty("__labels");a=qxWeb(a.getTarget()).getClosest("."+this.getProperty("__labelClass"));0<a.length&&(b=b.indexOf(a[0]),b==this.getCurrentIndex()?this.collapse(!0):this.showItem(b,!0))},__Oo:function(a){this.getProperty("__canTransition")&&(a.setStyle("transition-property","height"),a.setStyle("transition-duration",this.getProperty("__animationDuration")+
"ms"),a.setStyle("transition-timing-function","linear"),a.setStyle("transition-delay","0ms"))},__fu:function(a){this.getProperty("__canTransition")&&(a.setStyle("transition-property","none"),a.setStyle("transition-duration","0ms"),a.setStyle("transition-timing-function","none"),a.setStyle("transition-delay","0ms"),a[0].style.removeProperty(qxWeb.EVENT.transitionEnd.transitionStyleName),a[0].style.removeProperty("transition"))},__Ql:function(a,b){var c={type:a,reverse:!1};if(b){var d=this.getProperty("__tabs");
c.target=b;c.index=d.indexOf(b[0])}else c.current=this.getCurrentIndex();this.emit(a,c)},__dD:function(a,b,c){c=this.__Qf();a=qxWeb(a);this.__fu(a);var d=a.getProperty("__op");"show"==d&&this.setProperty("__currentIndex",b);this.__Ql("after"+d,a);0===c&&this.__Ql("switch")}},defer:function(a){qxWeb.$attach({accordion:a.accordion})}})})()})();
(function(){(window.baselib||{}).Accordion=function(){var d;d='The "baselib.Accordion" namespace is *deprecated*! Please make sure to update your code to the selector-oriented syntax!\n';var a=qxWeb.array.fromArguments(arguments),b="undefined"!==typeof a[0]?a[0]:null,c=[];1<a.length&&(c=a.slice(1));a=qxWeb(b);c=a.accordion.apply(a,c);d+="Head over to the API docs and demo page to get more infos\n\n\thttp://baselib.ai.1und1.de/devel/docs/api/index.html / http://baselib.ai.1und1.de/devel/docs/demos/index.html\n\n";
d+='A example for this syntax is $q("#yourSelector").accordion();';c instanceof window.qxWeb.$$qx.ui.website.Widget&&c.init();qxWeb.info(d);return c}})();

$q.define("UNOUNO.components.seoFaqAccordion",{statics:{init:function(){if($q(".accordion")&&$q(".accordion").length){var accordion=$q(".accordion").accordion({label:"question",content:"answer"});accordion.setConfig("animationDuration",200);accordion.render();var setDisplayToNone=function(ev){if($q(ev.getTarget())&&$q(ev.getTarget()).length){$q(ev.getTarget()).setStyle("display","none");
}};$q(".accordion").on("afterhide",setDisplayToNone,this);}}}});UNOUNO.components.seoFaqAccordion.init();
$q.define("UNOUNO.components.seoFaqAccordion",{statics:{init:function(){}}});UNOUNO.components.seoFaqAccordion.init();
$q.define("UNOUNO.components.presenterTemplate",{statics:{presenter:null,init:function(){this.presenter=$q(".presenter");$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.dslorderPresenter",{statics:{init:function(){UNOUNO.inline.footnotePresenter=new UNOUNO.util.infoFootnote("footnote-presenter","asterisk-presenter","left");UNOUNO.inline.footnotePresenter=new UNOUNO.util.infoFootnote("footnote-presenter","asterisk-presenter2","left");}}});
UNOUNO.components.dslorderPresenter.init();$q.define("UNOUNO.components.presenter",{statics:{__mainnav:$q(".presenter-infobox"),__mainnavTopPos:612,stickyPresenter:function(){if(($q(window).getScrollTop())>=(this.__mainnavTopPos)){this.__mainnav.addClass("sticky");}else{this.__mainnav.removeClass("sticky");
}},init:function(){var environment=window.qx&&qx.core&&qx.core.Environment&&qx.core.Environment.get("device.type");var isMobile=(environment&&(environment==="tablet"||environment==="mobile"));var isMobileorderOrDSL=(window.UNOUNO&&UNOUNO.params&&(UNOUNO.params.project==="pweborder-de"||UNOUNO.params.project==="dslorder-de"));
if(!(isMobile&&isMobileorderOrDSL)){$q(window).on("scroll",function(){this.stickyPresenter();},this);this.stickyPresenter();}var chatbutton=document.getElementById("button-ct-txt-DetailsHotlineChat");if(chatbutton){qx.bom.Element.addListener(chatbutton,"click",function(){UNOUNO.tracking.trackEvent("event19","chat-angenommen","button-ct-txt-DetailsHotlineChat");
});}}}});$q.ready(function(){UNOUNO.components.presenter.init();});
$q.define("UNOUNO.pages.HomeServer",{statics:{init:function(){var wlanVarieties=["wlan-highspeed","wlan-rate","wlan-guest","wlan-distance","wlan-protected"];this.infiniteToggle(wlanVarieties);var autoToggle=window.setTimeout(function(){UNOUNO.pages.HomeServer.toggleWlanVariety(wlanVarieties);},7000);
this.infiniteToggle(["homeserver-garden","homeserver-tv-home","homeserver-gaming","homeserver-cloud","homeserver-living-room","homeserver-tv","homeserver-living-room-office","homeserver-printer"]);$q("#homeserverselect").on("click",this.changeSet);$q("#select-office").on("click",this.changeSet);$q("#select-home").on("click",this.changeSet);
$q(".navi-arrows").on("click",this.openNextDescription);$q("#wlan-varieties .icon").on("click",function(){window.clearTimeout(UNOUNO.pages.HomeServer.autoToggle);});},toggleWlanVariety:function(arr){for(i=0;i<arr.length;i++){var currButton=$q("#"+arr[i]);if(currButton.hasClass("active")===true){if(i+1===arr.length){i=-1;
}UNOUNO.pages.HomeServer.doToggle(arr,arr[i+1]);UNOUNO.pages.HomeServer.autoToggle=window.setTimeout(function(){UNOUNO.pages.HomeServer.toggleWlanVariety(arr);},7000);break;}}},openNextDescription:function(e){var elem=(e.currentTarget)?e.currentTarget:e.srcElement;var activeBulletBox=".bullets .home-content";
if($q(activeBulletBox).hasClass("hidden")===true){activeBulletBox=".bullets .office-content";}var nextBullet=UNOUNO.pages.HomeServer.getNextBullet(activeBulletBox,elem.id);if(nextBullet){$q(nextBullet).emit("click");}},getNextBullet:function(activeBulletBoxSelector,direction){var activeBulletBox=$q(activeBulletBoxSelector);
for(i=0;i<activeBulletBox.length;i++){var current=$q(activeBulletBox[i]);if(current.hasClass("active")===true){if(direction==="arrow-right"){if(i+1<activeBulletBox.length){return activeBulletBox[i+1];}else{return activeBulletBox[0];}}else{if(i-1>=0){return activeBulletBox[i-1];}else{return activeBulletBox[activeBulletBox.length-1];
}}}}return ;},changeSet:function(e){var slideOneButton=$q("#homeserver");var currentTarget=(e.currentTarget)?e.currentTarget:e.srcElement;currentTarget=$q(currentTarget);if(currentTarget.hasClass("slideOne")||currentTarget.hasClass("select-button-inactive")){if(slideOneButton.hasClass("slideOneButtonActive")){$q(".home-content").removeClass("hidden");
$q(".office-content").addClass("hidden");slideOneButton.removeClass("slideOneButtonActive");$q("#select-home").removeClass("select-button-inactive");$q("#select-office").addClass("select-button-inactive");$q("#homeserver-garden").emit("click");}else{$q(".home-content").addClass("hidden");$q(".office-content").removeClass("hidden");
slideOneButton.addClass("slideOneButtonActive");$q("#select-office").removeClass("select-button-inactive");$q("#select-home").addClass("select-button-inactive");$q("#homeserver-cloud").emit("click");}}},infiniteToggle:function(arr){for(i=0;i<arr.length;i+=1){var element=$q("#"+arr[i]);var bullet=$q("#"+arr[i]+"-bullet");
$q(element).on("click",function(){UNOUNO.pages.HomeServer.doToggle(arr,$q(this).getAttribute("id"));});$q(bullet).on("click",function(){UNOUNO.pages.HomeServer.doToggle(arr,$q(this).getAttribute("id").replace("-bullet",""));});}},doToggle:function(arr,elem){var elemTurnOff=false;if($q("."+elem+".infoteaser-box .icon").hasClass("active")===true){$q("."+elem+".infoteaser-box .icon").removeClass("active");
$q("."+elem+".infoteaser-box .icon").addClass("inactive");$q("."+elem+".infoteaser-box .content").addClass("hidden");elemTurnOff=true;}for(i=0;i<arr.length;i+=1){var element=$q("#"+arr[i]);var container=$q("#"+arr[i]+"-container");var bullet=$q("#"+arr[i]+"-bullet");var image=$q("#"+arr[i]+"-image");
$q(container).addClass("hidden");if(bullet!==null){$q(bullet).removeClass("active");$q(bullet).addClass("inactive");}if(image!==null){$q(image).addClass("hidden");}$q(element).removeClass("active");$q(element).addClass("inactive");if(arr[i]===elem&&elemTurnOff===false){$q(container).removeClass("hidden");
if(image!==null){$q(image).removeClass("hidden");}if(bullet!==null){$q(bullet).addClass("active");$q(bullet).removeClass("inactive");}$q(element).addClass("active");$q(element).removeClass("inactive");}}}}});UNOUNO.pages.HomeServer.init();

$q.define("UNOUNO.components.dslChecker",{statics:{controller:true,init:function(){UNOUNO.inline.infobox=new UNOUNO.ajax.InfoBox();UNOUNO.inline.infobox.initInfoBoxMagic("info.connection.number",[4,220,105,-145,-81]);UNOUNO.inline.hvtAutoCompletion=new UNOUNO.ajax.AutoCompletion("hvt");UNOUNO.inline.hvtAutoCompletion.setElementId("form","connection.form");
UNOUNO.inline.hvtAutoCompletion.setElementId("button","complete_check.button");UNOUNO.inline.hvtAutoCompletion.setElementId("zip","connection.zip");UNOUNO.inline.hvtAutoCompletion.setElementId("city","connection.city");UNOUNO.inline.hvtAutoCompletion.setElementId("street","connection.street");UNOUNO.inline.hvtAutoCompletion.setElementId("streetNumber","connection.streetNumber");
UNOUNO.inline.hvtAutoCompletion.initWindowLoad();if($q(".errorbox").length!=0){UNOUNO.local.setFieldFocus("connection.onkz");window.scrollBy(0,200);}else{try{if($q("#connection\\.zip").length>0){$q("#connection\\.zip")[0].value="";}if($q("#connection\\.city").length>0){$q("#connection\\.city")[0].value="";
}if($q("#connection\\.street").length>0){$q("#connection\\.street")[0].value="";}if($q("#connection\\.streetNumber").length>0){$q("#connection\\.streetNumber")[0].value="";}if($q("#connection\\.onkz").length>0){$q("#connection\\.onkz")[0].value="";}if($q("#connection\\.number").length>0){$q("#connection\\.number")[0].value="";
}}catch(e){}}this.initHandler();},initHandler:function(){$q("body").on("mousedown",this.autoCompletionHide,this);},autoCompletionHide:function(e){var cityInputEle=$q("input#connection\\.city")[0],target=e.getTarget(),wantedTarget=$q(target).getClosest("div.qui-autocompletion-resultBox"),activeAutoCompletionEle=null;
if($q($q("body div.qui-autocompletion-resultBox")[0]).getStyle("display")==="block"){activeAutoCompletionEle=$q("body div.qui-autocompletion-resultBox")[0];}if($q($q("body div.qui-autocompletion-resultBox")[1]).getStyle("display")==="block"){activeAutoCompletionEle=$q("body div.qui-autocompletion-resultBox")[1];
}this.controller=!(wantedTarget.length>0&&cityAutoCompletionEle===wantedTarget[0]);if(this.controller&&activeAutoCompletionEle!=null){var eleStyles=$q(activeAutoCompletionEle).getStyles(["position","width","left","top"]),eleFindObject=$q("body > div:not(.qui-autocompletion-resultBox)");$q(activeAutoCompletionEle).hide();
eleFindObject.forEach(function(item,index,array){var found=true;for(var key in eleStyles){if(eleStyles.hasOwnProperty(key)){if($q(item).getStyle(key)!=eleStyles[key]){found=false;}}}if(found){$q(item).remove();}});}}}});UNOUNO.components.dslChecker.init();
UNOUNO.util.gfxCheckbox=function(realCheckboxId){this.init(realCheckboxId);};UNOUNO.util.gfxCheckbox.prototype={checkboxId:null,realCheckbox:null,checkboxChecked:null,checkboxUnchecked:null,uncheckedHint:null,checkedHint:null,qxBom:qx.bom,setCheckboxId:function(checkboxId){this.checkboxId=checkboxId;
},setRealCheckbox:function(checkboxId){this.realCheckbox=document.getElementById(checkboxId);},setCheckboxCheckedId:function(checkboxId){this.checkboxChecked=checkboxId+".checked";},setCheckboxUncheckedId:function(checkboxId){this.checkboxUnchecked=checkboxId+".unchecked";},setUncheckedHint:function(checkboxId){this.uncheckedHint=checkboxId+".hint.unchecked";
},setCheckedHint:function(checkboxId){this.checkedHint=checkboxId+".hint.checked";},initGfxCheckBoxes:function(realCheckboxId){this.setCheckboxId(realCheckboxId);this.setCheckboxCheckedId(realCheckboxId);this.setCheckboxUncheckedId(realCheckboxId);this.setRealCheckbox(realCheckboxId);this.setUncheckedHint(realCheckboxId);
this.setCheckedHint(realCheckboxId);if(document.getElementById(this.realCheckboxId)){this.qxBom.Element.addListener(document.getElementById(this.realCheckboxId),"change",this.toggleCheckbox,this);}if(document.getElementById(this.checkboxChecked)){this.qxBom.Element.addListener(document.getElementById(this.checkboxChecked),"click",this.uncheckCheckbox,this);
}if(document.getElementById(this.checkboxUnchecked)){this.qxBom.Element.addListener(document.getElementById(this.checkboxUnchecked),"click",this.checkCheckbox,this);}},checkCheckbox:function(){qx.bom.element.Attribute.set(this.realCheckbox,"checked","checked");qx.bom.Event.fire(this.realCheckbox,"change");
},uncheckCheckbox:function(){qx.bom.element.Attribute.set(this.realCheckbox,"checked",null);qx.bom.Event.fire(this.realCheckbox,"change");},focus:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","1px dotted #005BA7");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","1px dotted #005BA7");
},blur:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","0 none transparent");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","0 none transparent");},active:function(){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"outline","0 none transparent");
this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"outline","0 none transparent");},toggleHint:function(hintShow,hintHide){if(document.getElementById(this.checkedHint)!==null&&document.getElementById(this.uncheckedHint)!==null){this.qxBom.element.Style.set(document.getElementById(hintShow),"display","block");
this.qxBom.element.Style.set(document.getElementById(hintHide),"display","none");}},toggleCheckbox:function(){if(this.realCheckbox.checked===true){this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"display","block");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"display","none");
this.toggleHint(this.checkedHint,this.uncheckedHint);}else{this.qxBom.element.Style.set(document.getElementById(this.checkboxChecked),"display","none");this.qxBom.element.Style.set(document.getElementById(this.checkboxUnchecked),"display","block");this.toggleHint(this.uncheckedHint,this.checkedHint);
}if(document.getElementById(this.checkboxId)){this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"focus",this.focus,this);this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"active",this.active,this);this.qxBom.Element.addListener(document.getElementById(this.checkboxId),"blur",this.blur,this);
}},init:function(realCheckboxId){if(document.getElementById(realCheckboxId)!==null){this.realCheckboxId=realCheckboxId;this.initGfxCheckBoxes(this.realCheckboxId);this.toggleCheckbox();}}};
UNOUNO.util.gfxRadiobox=function(radioboxName){this.init(radioboxName);};UNOUNO.util.gfxRadiobox.prototype={qxBom:qx.bom,initRadioboxes:function(){this.radioboxes=document.getElementsByName(this.radioboxName);this.setRadioboxListener();},setRadioboxListener:function(){var addListenerCallbackCheckRadiobox=function(scope,radiobox){return function(e){scope.checkRadiobox(radiobox);
};},i;for(i=0;i<this.radioboxes.length;i++){if(document.getElementById(this.radioboxes[i].id+".unchecked")){this.qxBom.Element.addListener(document.getElementById(this.radioboxes[i].id+".unchecked"),"click",addListenerCallbackCheckRadiobox(this,this.radioboxes[i]));this.qxBom.Element.addListener(this.radioboxes[i],"change",this.toggleRadioboxGfx,this);
}}},checkRadiobox:function(clickedRadiobox){qx.bom.element.Attribute.set(clickedRadiobox,"checked","checked");qx.bom.Event.fire(clickedRadiobox,"change");},focus:function(e){this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".checked"),"outline","1px dotted #005BA7");this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".unchecked"),"outline","1px dotted #005BA7");
},blur:function(e){this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".checked"),"outline","0 none transparent");this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".unchecked"),"outline","0 none transparent");},active:function(e){this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".checked"),"outline","0 none transparent");
this.qxBom.element.Style.set(document.getElementById(e.getTarget().id+".unchecked"),"outline","0 none transparent");},toggleRadioboxGfx:function(){var gfxRadioboxes=this.radioboxes,i;for(i=0;i<gfxRadioboxes.length;i++){if(gfxRadioboxes[i].id&&document.getElementById(gfxRadioboxes[i].id+".checked")&&document.getElementById(gfxRadioboxes[i].id+".unchecked")){if(gfxRadioboxes[i].checked===true){document.getElementById(gfxRadioboxes[i].id+".checked").style.display="block";
document.getElementById(gfxRadioboxes[i].id+".unchecked").style.display="none";}else{document.getElementById(gfxRadioboxes[i].id+".checked").style.display="none";document.getElementById(gfxRadioboxes[i].id+".unchecked").style.display="block";}this.qxBom.Element.addListener(document.getElementById(gfxRadioboxes[i].id),"focus",this.focus,this);
this.qxBom.Element.addListener(document.getElementById(gfxRadioboxes[i].id),"active",this.active,this);this.qxBom.Element.addListener(document.getElementById(gfxRadioboxes[i].id),"blur",this.blur,this);}}},init:function(radioboxName){this.radioboxName=radioboxName;this.initRadioboxes();this.toggleRadioboxGfx();
}};

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();}}