//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/dataset-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.Dataset",{statics:{setData:function(a,b){this._forEachElement(function(d){c.bom.element.Dataset.set(d,a,b)});return this},getData:function(a){if(this[0]&&1===this[0].nodeType)return c.bom.element.Dataset.get(this[0],a)},getAllData:function(){return this[0]&&1===this[0].nodeType?
c.bom.element.Dataset.getAll(this[0]):{}},removeData:function(a){this[0]&&1===this[0].nodeType&&c.bom.element.Dataset.remove(this[0],a);return this}},defer:function(a){qxWeb.$attach({getData:a.getData,setData:a.setData,removeData:a.removeData,getAllData:a.getAllData})}})})();(function(){c.Bootstrap.define("qx.bom.element.Dataset",{statics:{set:function(a,b,d){a.dataset?(b=c.lang.String.camelCase(b),null==d?delete a.dataset[b]:a.dataset[b]=d):(void 0===d&&(d=null),c.bom.element.Attribute.set(a,"data-"+
c.lang.String.hyphenate(b),d))},get:function(a,b){if(a.dataset)return b=c.lang.String.camelCase(b),a.dataset[b]?a.dataset[b]:void 0;var d="data-"+c.lang.String.hyphenate(b);return a.hasAttribute(d)?c.bom.element.Attribute.get(a,d):void 0},getAll:function(a){if(a.dataset)return a.dataset;for(var b={},d=a.attributes,e=0;e<d.length;e++)d[e].name.match(/^data-(.*)/)&&(b[c.lang.String.camelCase(RegExp.$1)]=a.getAttribute(d[e].name));return b},remove:function(a,b){this.set(a,b,void 0)}}})})()})();

$q.define("UNOUNO.components.renderinclude",{construct:function(properties,callbacks,options){this.properties=properties;this.success=callbacks.success;this.error=callbacks.error;this.options=options;this.init();},statics:{cache:{},getCachedResponse:function(url){return this.cache[url];},setCachedResponse:function(url,response){this.cache[url]=response;
}},members:{properties:null,callback:null,callback:function(fnc,response){typeof (fnc)=="function"&&fnc.call(null,response);},createRenderIncludeURL:function(){var querystring={reuse:UNOUNO.params.reuseDOM};["part","href","module","search"].forEach(function(key){if(this.properties.hasOwnProperty(key)&&this.properties[key]){querystring["__render_"+key]=this.properties[key];
}},this);if(querystring.__render_href){while(!!querystring.__render_href.length&&querystring.__render_href.charAt(0)=="/"){querystring.__render_href=querystring.__render_href.substring(1);}}var url=window.location.href;["#","?"].forEach(function(token){var indexOfToken=url.indexOf(token);if(indexOfToken>-1){url=url.substring(0,indexOfToken);
}});url=$q.uri.appendParams(url,querystring);return url;},handleResponse:function(response){if(response.readyState==4){if(response.status===200&&response.responseText){this.callback(this.success,response);}else{this.callback(this.error,response);}}},init:function(){var url=this.createRenderIncludeURL();
var cachedResponse=UNOUNO.components.renderinclude.getCachedResponse(url);if(!cachedResponse){var xhr=$q.xhr(url,this.options);xhr.on("loadend",function(response){UNOUNO.components.renderinclude.setCachedResponse(url,response);this.handleResponse(response);},this);xhr.send(null);return ;}this.handleResponse(cachedResponse);
}}});$q.$attachStatic({"renderinclude":function(configuration,callbacks,options){return new UNOUNO.components.renderinclude(configuration,callbacks,options);}});
$q.define("UNOUNO.components.lazyLightbox",{construct:function(element){this.element=$q(element);if(this.element&&this.element.hasClass("lazy-lightbox")){this.properties=this.element.getAllData();this.lightboxName=$q.string.camelCase(this.properties.part);this.initializeClickEvents();if(this.properties.trigger&&this.properties.trigger==="onload"){this.openLightbox();
}return this;}return undefined;},members:{element:null,content:null,properties:{},lightboxName:null,instance:null,inspectTimer:null,firstCompleteCallback:true,getLightboxOpener:function(){return this.element;},openLightbox:function(){this.getLightboxContent();},callback:function(event){var ctx=(UNOUNO.lightbox||{})[this.lightboxName];
if(ctx&&this.lightboxName&&!!this.lightboxName.length&&typeof (ctx[event])==="function"){return ctx[event].apply(ctx,[].concat.call([].slice.call(arguments,1),this));}return undefined;},lightboxDimensions:function(){this.instance.show();var content=this.instance.getContent();var contentHeight=content.getHeight(true);
var contentWidth=content.getWidth(true);var contentMaxWidth=content.getWidthMax(true);if(contentMaxWidth>1030){contentWidth=860;}var minWidth=this.properties.minwidth;var minHeight=this.properties.minheight;if(!isNaN(minWidth)&&contentWidth<minWidth){contentWidth=minWidth;}if(!isNaN(minHeight)&&contentHeight<minHeight){contentHeight=minHeight;
}this.instance.setWidth(Number(contentWidth));this.instance.setHeight(Number(contentHeight));if(this.instance.getHeight()>$q(window).getHeight()){this.instance.setTop($q(window).getScrollTop()+40);}this.instance.close();this.instance.show();},determineContentDimensions:function(){var content=this.instance.getContent();
var currentContentHeight=content.getHeight();var minHeight=this.properties.minheight;if(!isNaN(minHeight)&&currentContentHeight<minHeight){currentContentHeight=minHeight;}if(currentContentHeight!=Number(this.instance.getHeight())){this.instance.setHeight(Number(currentContentHeight));}},initializeLightbox:function(){if(!this.instance){this.instance=$q.lightbox(this.content);
this.instance.setDefaultStyle(true);var instanceBlocker=this.instance.getBlocker();instanceBlocker.setBackgroundColor("#4d84bb");instanceBlocker.setOpacity(0.75);this.lightboxDimensions();this.instance.close();instanceBlocker.on("unblock",function(){$q(document).offMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).offMatchTarget("click",".qx-blocker",this.closeLightbox,this);window.clearInterval(this.inspectInterval);window.setTimeout(function(){this.callback("onClosed",this.instance);}.bind(this),0);},this);instanceBlocker.on("block",function(){$q(document).onMatchTarget("click",".lightbox-close",this.closeLightbox,this);
$q(document).onMatchTarget("click",".qx-blocker",this.closeLightbox,this);this.inspectInterval=window.setInterval(function(){this.determineContentDimensions();}.bind(this),150);window.setTimeout(function(){this.callback("onComplete",this.instance,this.firstCompleteCallback);if(this.firstCompleteCallback){this.firstCompleteCallback=false;
}if(typeof (UNOUNO.tracking.lightboxTracking)==="function"){UNOUNO.tracking.lightboxTracking(this.lightboxName);}}.bind(this),0);},this);this.callback("onCreate",this.instance);}this.instance.show();},closeLightbox:function(target,e){e.preventDefault();this.callback("onCleanUp",this.instance);this.instance.close();
},getLightboxContent:function(){if(!this.instance){if(!this.properties.reference||!!!this.properties.reference.length){this.getContentViaXHR({success:function(response){this.prepareLightbox(response.responseText);}});return ;}var renderIncludeReference=$q(".lazy-lightbox-reference[data-renderinclude = '"+this.properties.reference+"']");
if(!!renderIncludeReference.length&&!!(renderIncludeReference.getHtml()||"").length){this.prepareLightbox(renderIncludeReference.getHtml());}return ;}this.initializeLightbox();},initializeClickEvents:function(){this.element.on("click",function(e){e.preventDefault();this.getLightboxContent();},this);},prepareLightbox:function(content){var qxHtml=$q.create(content);
if(!qxHtml.getChildren().length&&!!content.length){qxHtml=$q.create("<div />").setHtml(content);}this.content=qxHtml;this.content=this.callback("onContentLoaded",this.content)||this.content;this.content.find("img").forEach(function(image){new Image().src=$q(image).getAttribute("src");});this.content.hasClass("hidden")&&this.content.removeClass("hidden");
this.initializeLightbox();},getContentViaXHR:function(callbacks,options){$q.renderinclude({part:this.properties.part,href:this.properties.href,module:this.properties.module,search:this.properties.search},{success:(callbacks.success||new Function()).bind(this),error:(callbacks.error||new Function()).bind(this)},options);
}}});$q.$attachStatic({"lazyLightbox":function(element){return new UNOUNO.components.lazyLightbox($q(element));}});$q.ready(function(){$q(".lazy-lightbox").forEach(function(element){return $q.lazyLightbox(element);});});
$q.define("UNOUNO.lightbox.lightboxContentSitelock",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");
tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");},this);}}}});$q.define("UNOUNO.lightbox.lightboxContentWebsiteBuilder",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){lightbox.getContent().find(".responsive-layout").forEach(function(container){new UNOUNO.animation.responsiveLayout($q(container),{"classes":["tablet","smartphone","desktop"],"cycletime":3500}).start();
});}}}});$q.define("UNOUNO.lightbox.lightboxFormSubscribe",{statics:{onComplete:function(lightbox,firstCall,instance){$q.placeholder.update();}}});$q.define("UNOUNO.lightbox.lightboxContentContentDeliveryNetwork",{statics:{onComplete:function(lightbox,firstCall,instance){if(firstCall){var ctx=$q(lightbox.getContent());
var tabs=ctx.find("ul.tabs > li");var tabContents=ctx.find(".tab-content");tabs.on("click",function(e){var target=$q(e.getTarget());var tabId=target.getData("tab");tabs.removeClass("current");tabContents.removeClass("current");target.addClass("current");tabContents.filter("[id = "+tabId+"]").addClass("current");
},this);}}}});$q.define("UNOUNO.components.vh215Lightbox",{construct:function(startHours,endHours,showContent,showAfter,excludeDays){this.startHours=startHours;this.endHours=endHours;this.showAfter=showAfter||3000;this.showContent=showContent;this.excludeDays=excludeDays||[0];if(!!$q(showContent).length){this.showLightbox();
}},members:{showAfter:0,startHours:0,endHours:0,showContent:null,excludeDays:null,showLightbox:function(){var now=new Date();var currentHour=now.getHours();var currentDay=now.getDay();if(currentHour>=this.startHours&&currentHour<this.endHours&&this.excludeDays.indexOf(currentDay)==-1){window.setTimeout(function(){var lightBox=new qui.bom.lightbox.LightBox();
lightBox.setWidth(940);lightBox.setHeight(325);lightBox.getBlocker().setBackgroundColor("#4d84bb");lightBox.getBlocker().setOpacity(0.75);lightBox.setContent($q(this.showContent).getHtml());lightBox.show();UNOUNO.tracking.lightboxTracking("tsInbound-layer");$q(".lightbox-close",$q(".lightbox_container")).on("click",function(lightBox){lightBox.close();
}.bind(this,lightBox),this);}.bind(this),this.showAfter);}}}});$q.define("UNOUNO.components.lightboxes",{statics:{init:function(){if(document.getElementById("tvspot-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("tvspot","tvspot-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);
}if(document.getElementById("webappVideo-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("webappVideo","webappVideo-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-layout-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-layout","custom-layout-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("custom-style-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("custom-style","custom-style-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("insert-elements-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("insert-elements","insert-elements-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-gallery-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-gallery","image-gallery-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("image-edit-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("image-edit","image-edit-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("contact-maps-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("contact-maps","contact-maps-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSEO-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSEO","diyfilmSEO-container",true);
UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("diyfilmSMC-container")){UNOUNO.inline.webappsLightBox=new UNOUNO.global.LightBox("diyfilmSMC","diyfilmSMC-container",true);UNOUNO.inline.webappsLightBox.lightBox.setWidth(940);}if(document.getElementById("branches-container")){UNOUNO.inline.branchesBrowser=new UNOUNO.global.LightBox("lightbox-branches","branches-container",true);
UNOUNO.inline.branchesBrowser.lightBox.setWidth(940);}}}});UNOUNO.components.lightboxes.init();
$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]==="00"){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);}});

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

$q.define("UNOUNO.components.webfontPrice",{extend:UNOUNO.components.webfontPrice,construct:function(price,configuration){this.base(arguments,price,configuration);},members:{_configuration:{currencyBefore:"£",decimalSeparator:".",decimalLength:2}}});
//### zip:baseLib-0.9.22.jar/PUSTEFIX-INF/script/textselection-min.js
(function(){var b=window.qxWeb.$$qx;b.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui});b.$$packageData["0"]={locales:{},resources:{},translations:{C:{},en:{}}};(function(){b.Bootstrap.define("qx.module.TextSelection",{statics:{getTextSelection:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.get(a):null):null},getTextSelectionLength:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||
(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getLength(a):null):null},getTextSelectionStart:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getStart(a):null):null},getTextSelectionEnd:function(){var a=this[0];return a?(b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a)),a?b.bom.Selection.getEnd(a):null):null},setTextSelection:function(a,d){var c=this[0];c&&(b.module.TextSelection.__QR(c)||(c=b.module.TextSelection.__QS(c)),
c&&b.bom.Selection.set(c,a,d));return this},clearTextSelection:function(){this._forEachElement(function(a){b.module.TextSelection.__QR(a)||(a=b.module.TextSelection.__QS(a));a&&b.bom.Selection.clear(a)});return this},__QR:function(a){a=a.tagName?a.tagName.toLowerCase():null;return"input"===a||"textarea"===a},__QS:function(a){for(var b=0,c=a.childNodes.length;b<c;b++)if(3===a.childNodes[b].nodeType)return a.childNodes[b];return null}},defer:function(a){qxWeb.$attach({getTextSelection:a.getTextSelection,
getTextSelectionLength:a.getTextSelectionLength,getTextSelectionStart:a.getTextSelectionStart,getTextSelectionEnd:a.getTextSelectionEnd,setTextSelection:a.setTextSelection,clearTextSelection:a.clearTextSelection})}})})();(function(){b.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:b.core.Environment.select("html.selection",{selection:function(a){return a.selection},"default":function(a){return b.dom.Node.getWindow(a).getSelection()}}),get:b.core.Environment.select("html.selection",
{selection:function(a){return b.bom.Range.get(b.dom.Node.getDocument(a)).text},"default":function(a){return this.__pd(a)?a.value.substring(a.selectionStart,a.selectionEnd):this.getSelectionObject(b.dom.Node.getDocument(a)).toString()}}),getLength:b.core.Environment.select("html.selection",{selection:function(a){a=this.get(a);var d=b.util.StringSplit.split(a,/\r\n/);return a.length-(d.length-1)},"default":function(a){if("opera"==b.core.Environment.get("engine.name")){var d;if(this.__pd(a)){d=a.selectionStart;
var c=a.selectionEnd;a=a.value.substring(d,c);d=c-d}else a=b.bom.Selection.get(a),d=a.length;a=b.util.StringSplit.split(a,/\r\n/);return d-(a.length-1)}return this.__pd(a)?a.selectionEnd-a.selectionStart:this.get(a).length}}),getStart:b.core.Environment.select("html.selection",{selection:function(a){if(this.__pd(a)){var d=b.bom.Range.get();if(!a.contains(d.parentElement()))return-1;var c=b.bom.Range.get(a);a=a.value.length;c.moveToBookmark(d.getBookmark());c.moveEnd("character",a);return a-c.text.length}var c=
b.bom.Range.get(a),e=c.parentElement(),d=b.bom.Range.get();try{d.moveToElementText(e)}catch(f){return 0}a=b.bom.Range.get(b.dom.Node.getBodyElement(a));a.setEndPoint("StartToStart",c);a.setEndPoint("EndToEnd",d);if(0==d.compareEndPoints("StartToStart",a))return 0;for(e=0;;){c=a.moveStart("character",-1);if(0==d.compareEndPoints("StartToStart",a))break;if(0==c)break;else e++}return++e},"default":function(a){if("gecko"===b.core.Environment.get("engine.name")||"webkit"===b.core.Environment.get("engine.name")){if(this.__pd(a))return a.selectionStart;
a=b.dom.Node.getDocument(a);a=this.getSelectionObject(a);return a.anchorOffset<a.focusOffset?a.anchorOffset:a.focusOffset}return this.__pd(a)?a.selectionStart:b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).anchorOffset}}),getEnd:b.core.Environment.select("html.selection",{selection:function(a){if(this.__pd(a)){var d=b.bom.Range.get();if(!a.contains(d.parentElement()))return-1;var c=b.bom.Range.get(a),e=a.value.length;c.moveToBookmark(d.getBookmark());c.moveStart("character",-e);return c.text.length}c=
b.bom.Range.get(a);e=c.parentElement();d=b.bom.Range.get();try{d.moveToElementText(e)}catch(f){return 0}e=d.text.length;a=b.bom.Range.get(b.dom.Node.getBodyElement(a));a.setEndPoint("EndToEnd",c);a.setEndPoint("StartToStart",d);if(0==d.compareEndPoints("EndToEnd",a))return e-1;for(var g=0;;){c=a.moveEnd("character",1);if(0==d.compareEndPoints("EndToEnd",a))break;if(0==c)break;else g++}return e-++g},"default":function(a){if("gecko"===b.core.Environment.get("engine.name")||"webkit"===b.core.Environment.get("engine.name")){if(this.__pd(a))return a.selectionEnd;
a=b.dom.Node.getDocument(a);a=this.getSelectionObject(a);return a.focusOffset>a.anchorOffset?a.focusOffset:a.anchorOffset}return this.__pd(a)?a.selectionEnd:b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).focusOffset}}),__pd:function(a){return b.dom.Node.isElement(a)&&("input"==a.nodeName.toLowerCase()||"textarea"==a.nodeName.toLowerCase())},set:b.core.Environment.select("html.selection",{selection:function(a,d,c){var e;b.dom.Node.isDocument(a)&&(a=a.body);if(b.dom.Node.isElement(a)||
b.dom.Node.isText(a))switch(a.nodeName.toLowerCase()){case "input":case "textarea":case "button":void 0===c&&(c=a.value.length);if(0<=d&&d<=a.value.length&&0<=c&&c<=a.value.length)return e=b.bom.Range.get(a),e.collapse(!0),e.moveStart("character",d),e.moveEnd("character",c-d),e.select(),!0;break;case "#text":void 0===c&&(c=a.nodeValue.length);if(0<=d&&d<=a.nodeValue.length&&0<=c&&c<=a.nodeValue.length)return e=b.bom.Range.get(b.dom.Node.getBodyElement(a)),e.moveToElementText(a.parentNode),e.collapse(!0),
e.moveStart("character",d),e.moveEnd("character",c-d),e.select(),!0;break;default:if(void 0===c&&(c=a.childNodes.length-1),a.childNodes[d]&&a.childNodes[c])return e=b.bom.Range.get(b.dom.Node.getBodyElement(a)),e.moveToElementText(a.childNodes[d]),e.collapse(!0),d=b.bom.Range.get(b.dom.Node.getBodyElement(a)),d.moveToElementText(a.childNodes[c]),e.setEndPoint("EndToEnd",d),e.select(),!0}return!1},"default":function(a,d,c){var e=a.nodeName.toLowerCase();if(!b.dom.Node.isElement(a)||"input"!=e&&"textarea"!=
e){var e=!1,f=b.dom.Node.getWindow(a).getSelection(),g=b.bom.Range.get(a);b.dom.Node.isText(a)?(void 0===c&&(c=a.length),0<=d&&(d<a.length&&0<=c&&c<=a.length)&&(e=!0)):b.dom.Node.isElement(a)?(void 0===c&&(c=a.childNodes.length-1),0<=d&&(a.childNodes[d]&&0<=c&&a.childNodes[c])&&(e=!0)):b.dom.Node.isDocument(a)&&(a=a.body,void 0===c&&(c=a.childNodes.length-1),0<=d&&(a.childNodes[d]&&0<=c&&a.childNodes[c])&&(e=!0));if(e)return f.isCollapsed||f.collapseToStart(),g.setStart(a,d),b.dom.Node.isText(a)?
g.setEnd(a,c):g.setEndAfter(a.childNodes[c]),0<f.rangeCount&&f.removeAllRanges(),f.addRange(g),!0}else if(void 0===c&&(c=a.value.length),0<=d&&d<=a.value.length&&0<=c&&c<=a.value.length)return a.focus(),a.select(),a.setSelectionRange(d,c),!0;return!1}}),setAll:function(a){return b.bom.Selection.set(a,0)},clear:b.core.Environment.select("html.selection",{selection:function(a){var d=b.bom.Range.get(a).parentElement(),c=b.bom.Range.get(b.dom.Node.getDocument(a));b.dom.Node.isText(a)&&(a=a.parentNode);
d==c.parentElement()&&d==a&&b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)).empty()},"default":function(a){var d=b.bom.Selection.getSelectionObject(b.dom.Node.getDocument(a)),c=a.nodeName.toLowerCase();!b.dom.Node.isElement(a)||"input"!=c&&"textarea"!=c?b.dom.Node.isDocument(a)||"body"==c?d.collapse(a.body?a.body:a,0):(c=b.bom.Range.get(a),c.collapsed||(c=c.commonAncestorContainer,(b.dom.Node.isElement(a)&&b.dom.Node.isText(c)?c.parentNode:c)==a&&d.collapse(a,0))):(a.setSelectionRange(0,
0),b.bom.Element&&b.bom.Element.blur&&b.bom.Element.blur(a))}})}})})()})();

$q.define("UNOUNO.components.pulseEffect",{construct:function(element){this.pulseElement=element;if(!this.pulseElement.hasClass("pulse-effect")){this.pulseEventOn();this.pulse();}},members:{pulseElement:null,pulseTimer:null,pulseRepeat:2,pulse:function(){this.pulseElement.toggleClass("highlight");this.pulseRepeat--;
},pulseTransitionEvent:function(transitionEvent){window.clearTimeout(this.pulseTimer);if(this.pulseRepeat>0){this.pulseTimer=window.setTimeout(function(){this.pulse();}.bind(this),10);}else{this.pulseEventOff();}},pulseEventOn:function(){this.pulseElement.addClass("pulse-effect");if($q.env.canTransition()){this.pulseElement.on("transitionend",this.pulseTransitionEvent,this);
}else{window.setTimeout(function(){this.pulseTransitionEvent();}.bind(this),500);}},pulseEventOff:function(){this.pulseElement.removeClass("pulse-effect");if($q.env.canTransition()){this.pulseElement.off("transitionend",this.pulseTransitionEvent,this);}}}});$q.define("UNOUNO.components.stageDomainEntry",{statics:{init:function(){this.initializeClickEvents();
this.initializeClickTracking();},initializeClickEvents:function(){$q(".domain-entry[data-tld]").on("click",function(e){var target=$q(e.getTarget());if(!target.hasClass("asterisk")){if(!target.hasClass("domain-entry")){target=target.getAncestors(".domain-entry:eq(0)");}var tld=target.getData("tld"),hiddenField=$q("#selected-tld-hidden");
hiddenField.setValue(tld);}});},initializeClickTracking:function(){$q(".domain-entry[data-tld]").forEach(function(element){UNOUNO.tracking.clickTracking($q(element).getAttribute("id"),null,null,{prop12:UNOUNO.tracking.variante});});}}});$q.ready(function(){UNOUNO.components.stageDomainEntry.init();});


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