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

//### zip:baseLib-1.1.4.jar/PUSTEFIX-INF/script/dataset-min.js
!function(){var t=window.qxWeb.$$qx;t.Bootstrap.setRoot({qx:window.qxWeb.$$qx,baselib:window.baselib,qui:window.qui}),t.$$packageData[0]={locales:{},resources:{},translations:{C:{},en:{}}},t.Bootstrap.define("qx.module.Dataset",{members:{setData:function(e,a){return this._forEachElement(function(n){t.bom.element.Dataset.set(n,e,a)}),this},getData:function(e){return this[0]&&1===this[0].nodeType?t.bom.element.Dataset.get(this[0],e):void 0},getAllData:function(){return this[0]&&1===this[0].nodeType?t.bom.element.Dataset.getAll(this[0]):{}},hasData:function(){return t.bom.element.Dataset.hasData(this[0])},removeData:function(e){return this._forEachElement(function(a){t.bom.element.Dataset.remove(a,e)}),this}},defer:function(){qxWeb.$attachAll(this)}}),t.Bootstrap.define("qx.bom.element.Dataset",{statics:{set:function(e,a,n){e.dataset?(a=t.lang.String.camelCase(a),null===n||void 0==n?delete e.dataset[a]:e.dataset[a]=n):null===n||void 0==n?t.bom.element.Attribute.reset(e,"data-"+t.lang.String.hyphenate(a)):t.bom.element.Attribute.set(e,"data-"+t.lang.String.hyphenate(a),n)},get:function(e,a){if(e.dataset)return a=t.lang.String.camelCase(a),e.dataset[a]?e.dataset[a]:void 0;var n="data-"+t.lang.String.hyphenate(a);return e.hasAttribute(n)?t.bom.element.Attribute.get(e,n):void 0},getAll:function(e){if(e.dataset)return e.dataset;for(var a={},n=e.attributes,i=0;i<n.length;i++)if(n[i].name.match(RegExp("^data-(.*)"))){var s=RegExp.$1;a[t.lang.String.camelCase(s)]=e.getAttribute(n[i].name)}return a},hasData:function(t){return Object.keys(qxWeb(t).getAllData()).length>0},remove:function(t,e){this.set(t,e,void 0)}}})}();
$q.define("UNOUNO.lightbox.lightboxIframeContent",{statics:{onContentLoaded:function(content,lightboxInstance){content=$q.create(content);var lightboxOpener=lightboxInstance.getLightboxOpener();var iframeURL=lightboxOpener.getData("iframe");var iframe=$q.create('<iframe width="100%" height="490px" />');
iframe.setAttribute("src",iframeURL);content.find(".dynamic-lightbox-content").append(iframe);return content;}}});$q.define("UNOUNO.components.lazyLoadImages",{construct:function(configuration){this.threshold=configuration.threshold||0;this.images=$q("img[data-lavender-original]");this.init();},members:{breakpoints:{},threshold:null,images:null,init:function(){this.images.forEach(function(image){image=$q(image);
image.once("lazyload",function(image){var _src=image.getData("lavenderOriginal");image.removeData("lavenderOriginal");var _imagePreload=new Image();_imagePreload.src=_src;image.setAttribute("src",_src);}.bind(this,image));var element=image;var offset=element.getOffset();while(!this._isVisible(element[0])){element=element.getParents();
offset=element.getOffset();}var offsetKey=offset.top+":"+(offset.top+element.getHeight());if(!(offsetKey in this.breakpoints)){this.breakpoints[offsetKey]=[];}var entry={};entry.element=image;entry.timer=null;this.breakpoints[offsetKey].push(entry);},this);this.checkLazyLoad();this.initializeLazyLoadEvents();
},_isVisible:function(domObj){if((domObj.nodeType!=1)||(domObj==document.body)){return true;}if(window.getComputedStyle){var cs=document.defaultView.getComputedStyle(domObj,null);if(cs.getPropertyValue("display")!="none"&&cs.getPropertyValue("visibility")!="hidden"){return this._isVisible(domObj.parentNode);
}}else{if(domObj.currentStyle&&domObj.currentStyle["display"]!="none"&&domObj.currentStyle["visibility"]!="hidden"){return this._isVisible(domObj.parentNode);}}return false;},_inViewport:function(image){image=$q(image);var win=$q(window);var viewport={top:win.getScrollTop(),left:win.getScrollLeft()};
viewport.right=viewport.left+win.getWidth();viewport.bottom=viewport.top+win.getHeight();var bounds=image.getOffset();bounds.right=bounds.left+image.getWidth();bounds.bottom=bounds.top+image.getHeight();return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom));
},initializeLazyLoadEvents:function(){$q(window).on("scroll",this.checkLazyLoad,this);$q(window).on("resize",this.checkLazyLoad,this);},_checkVisibility:function(entry){var timer=window.setInterval(function(entry){if(!entry.loaded&&this._isVisible(entry.element[0])&&this._inViewport(entry.element)){window.clearInterval(timer);
entry.loaded=true;entry.timer=null;entry.element.emit("lazyload");}}.bind(this,entry),50);return timer;},checkLazyLoad:function(){var windowTop=$q(window).getScrollTop();var windowBottom=windowTop+$q(window).getHeight();for(var key in this.breakpoints){var breakpoint=this.breakpoints[key];var splitted=key.split(":");
var top=splitted[0];var bottom=splitted[1];if(bottom>=(windowTop-this.threshold)&&top<=(windowBottom+this.threshold)){breakpoint.forEach(function(entry){if(!entry.loaded){if(!entry.timer){entry.timer=this._checkVisibility(entry);}}},this);}else{breakpoint.forEach(function(entry){if(!entry.loaded&&entry.timer){window.clearInterval(entry.timer);
entry.timer=null;}},this);}}}}});$q.define("UNOUNO.meta.componentTemplate",{statics:{popupListener:function(){$q("a.component-link-popup").on("click",function(e){e.preventDefault();var popup;var href=$q(this).getAttribute("href");var dimensions=$q(this).getAttribute("rel");popup=window.open(href,"",dimensions+"left=10,top=100,status=yes,scrollbars=yes,resizable=yes");
popup.focus();});},init:function(){this.initializeSmoothScrollAnchors();this.popupListener();new UNOUNO.components.lazyLoadImages({threshold:100});},initializeSmoothScrollAnchors:function(){$q("a[href][id].smooth-scroll").forEach(function(anchor){anchor=$q(anchor);if(typeof (UNOUNO.tracking.clickTracking)=="function"&&!!anchor.getAttribute("id").length){UNOUNO.tracking.clickTracking(anchor.getAttribute("id"),"","",{prop17:UNOUNO.tracking.land});
}anchor.on("click",function(e){var target=$q(e.getTarget());if($q.getNodeName(target[0])!=="a"){target=target.getAncestors("a:eq(0)");}var parsedHref=$q.uri.parse(target.getAttribute("href"));if("anchor" in parsedHref&&!!parsedHref.anchor.length){var destinationAnchor=parsedHref.anchor;var destinationElement=$q("a[name = '"+destinationAnchor+"']");
if(!!!destinationElement.length){destinationElement=$q("[id = '"+destinationAnchor+"']");}if(!!destinationElement.length){e.preventDefault();$q.setDocumentScrollTop(destinationElement.getOffset().top);}}});},this);}}});$q.ready(function(){UNOUNO.meta.componentTemplate.init();});


//### zip:baseLib-1.1.4.jar/PUSTEFIX-INF/script/mobile-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:{}}},e.Bootstrap.define("qx.module.event.Orientation",{statics:{TYPES:["orientationchange"],BIND_METHODS:["getOrientation","isLandscape","isPortrait"],getOrientation:function(){return this._orientation},isLandscape:function(){return"landscape"==this._mode},isPortrait:function(){return"portrait"==this._mode},normalize:function(t,n,i){if(!t)return t;t._type=i;for(var o=e.module.event.Orientation.BIND_METHODS,r=0,s=o.length;s>r;r++)"function"!=typeof t[o[r]]&&(t[o[r]]=e.module.event.Orientation[o[r]].bind(t));return t}},defer:function(e){qxWeb.$registerEventNormalization(e.TYPES,e.normalize)}}),e.Bootstrap.define("qx.module.event.OrientationHandler",{statics:{TYPES:["orientationchange"],register:function(t){if(!e.dom.Node.isWindow(t))throw new Error("The 'orientationchange' event is only available on window objects!");t.__oM||(t.$$emitter||(t.$$emitter=new e.event.Emitter),t.__oM=new e.event.handler.OrientationCore(t,t.$$emitter))},unregister:function(t){if(t.__oM)if(t.$$emitter){var n=!1,i=t.$$emitter.getListeners();e.module.event.OrientationHandler.TYPES.forEach(function(e){e in i&&i[e].length>0&&(n=!0)}),n||(t.__oM=null)}else t.__oM=null}},defer:function(e){qxWeb.$registerEventHook(e.TYPES,e.register,e.unregister)}}),e.Bootstrap.define("qx.event.handler.OrientationCore",{extend:Object,construct:function(e,t){this._window=e||window,this.__ba=t,this._initObserver()},members:{__ba:null,_window:null,_currentOrientation:null,__oz:null,__oA:null,_initObserver:function(){this.__oz=e.lang.Function.listener(this._onNative,this),this.__oA=e.bom.Event.supportsEvent(this._window,"orientationchange")?"orientationchange":"resize",e.bom.Event.addNativeListener(this._window,this.__oA,this.__oz)},_stopObserver:function(){e.bom.Event.removeNativeListener(this._window,this.__oA,this.__oz)},_onNative:function(t){var n=e.bom.Viewport.getOrientation();if(this._currentOrientation!=n){this._currentOrientation=n;var i=e.bom.Viewport.isLandscape()?"landscape":"portrait";t._orientation=n,t._mode=i,this.__ba&&this.__ba.emit("orientationchange",t)}}},destruct:function(){this._stopObserver(),this.__oB=this.__ba=null}}),e.Bootstrap.define("qx.module.event.Touch",{statics:{TYPES:["tap","longtap","swipe","dbltap"],normalize:function(e,t,n){return e?(e._type=n,e):e}},defer:function(e){qxWeb.$registerEventNormalization(e.TYPES,e.normalize)}}),e.Bootstrap.define("qx.module.event.TouchHandler",{statics:{TYPES:["touchstart","touchend","touchmove","touchcancel"],register:function(t){t.__oN||(t.$$emitter||(t.$$emitter=new e.event.Emitter),t.__oN=new e.event.handler.TouchCore(t,t.$$emitter))},unregister:function(t){if(t.__oN)if(t.$$emitter){var n=!1,i=t.$$emitter.getListeners();e.module.event.TouchHandler.TYPES.forEach(function(e){e in i&&i[e].length>0&&(n=!0)}),n||(t.__oN=null)}else t.__oN=null}},defer:function(e){qxWeb.$registerEventHook(e.TYPES,e.register,e.unregister)}}),e.Bootstrap.define("qx.event.handler.TouchCore",{extend:Object,statics:{TAP_MAX_DISTANCE:"android"!=e.core.Environment.get("os.name")?10:40,SWIPE_DIRECTION:{x:["left","right"],y:["up","down"]},SWIPE_MIN_DISTANCE:"android"!=e.core.Environment.get("os.name")?11:41,SWIPE_MIN_VELOCITY:0,LONGTAP_TIME:500},construct:function(e,t){this.__cn=e,this.__ba=t,this._initTouchObserver(),this.__oC=[],this.__if={}},members:{__cn:null,__ba:null,__oD:null,__oE:null,__if:null,__fV:null,__oF:null,__oG:null,__oC:null,__oH:null,_initTouchObserver:function(){if(this.__oD=e.lang.Function.listener(this._onTouchEvent,this),this.__oH=["touchstart","touchmove","touchend","touchcancel"],e.core.Environment.get("event.mspointer")){var t=parseInt(e.core.Environment.get("engine.version"),10);this.__oH=10==t?["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerCancel"]:["pointerdown","pointermove","pointerup","pointercancel"]}for(var n=0;n<this.__oH.length;n++)e.bom.Event.addNativeListener(this.__cn,this.__oH[n],this.__oD)},_stopTouchObserver:function(){for(var t=0;t<this.__oH.length;t++)e.bom.Event.removeNativeListener(this.__cn,this.__oH[t],this.__oD)},_onTouchEvent:function(e){this._commonTouchEventHandler(e)},_getScalingDistance:function(e,t){return Math.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2))},_getRotationAngle:function(e,t){var n=e.pageX-t.pageX,i=e.pageY-t.pageY;return 180*Math.atan2(i,n)/Math.PI},_calcTouchesDelta:function(e){for(var t=[],n=0;n<e.length;n++)t.push(this._calcSingleTouchDelta(e[n]));return t},_calcSingleTouchDelta:function(e){if(this.__if.hasOwnProperty(e.identifier)){var t=this.__if[e.identifier],n=Math.floor(e.clientX-t[0]),i=Math.floor(e.clientY-t[1]),o="x";return Math.abs(n/i)<1&&(o="y"),{x:n,y:i,axis:o,identifier:e.identifier}}return{x:0,y:0,axis:null,identifier:e.identifier}},_commonTouchEventHandler:function(t,n){var n=n||t.type;if(e.core.Environment.get("event.mspointer")){n=this._mapPointerEvent(n);var i=this._detectTouchesByPointer(t,n);t.changedTouches=i,t.targetTouches=i,t.touches=i}if(t.delta=[],"touchstart"==n){this.__oE=this._getTarget(t),t.touches&&t.touches.length>1&&(this.__oF=this._getScalingDistance(t.touches[0],t.touches[1]),this.__oG=this._getRotationAngle(t.touches[0],t.touches[1]));for(var o=0;o<t.changedTouches.length;o++){var r=t.changedTouches[o];this.__if[r.identifier]=[r.clientX,r.clientY]}}if("touchmove"==n){if("undefined"==typeof t.scale&&t.targetTouches.length>1){var s=this._getScalingDistance(t.targetTouches[0],t.targetTouches[1]);t.scale=s/this.__oF}if(("undefined"==typeof t.rotation||e.core.Environment.get("event.mspointer"))&&t.targetTouches.length>1){var a=this._getRotationAngle(t.targetTouches[0],t.targetTouches[1]);t._rotation=a-this.__oG}t.delta=this._calcTouchesDelta(t.targetTouches)}this._fireEvent(t,n,this.__oE),e.core.Environment.get("event.mspointer")&&("touchend"==n||"touchcancel"==n)&&delete this.__oC[t.pointerId],("touchend"==n||"touchcancel"==n&&t.changedTouches[0])&&delete this.__if[t.changedTouches[0].identifier]},_detectTouchesByPointer:function(e,t){var n=[];"touchstart"==t?this.__oC[e.pointerId]=e:"touchmove"==t&&(this.__oC[e.pointerId]=e);for(var i in this.__oC){var o=this.__oC[i];n.push(o)}return n},_mapPointerEvent:function(e){return e=e.toLowerCase(),-1!==e.indexOf("pointerdown")?"touchstart":-1!==e.indexOf("pointerup")?"touchend":-1!==e.indexOf("pointermove")?"touchmove":-1!==e.indexOf("pointercancel")?"touchcancel":e},_getTarget:function(t){var n=e.bom.Event.getTarget(t);if("webkit"==e.core.Environment.get("engine.name"))n&&3==n.nodeType&&(n=n.parentNode);else if(e.core.Environment.get("event.mspointer")){var i=this.__oI(t);i&&(n=i)}return n},__oI:function(t){var n=null,i=null;t&&t.touches&&0!==t.touches.length&&(n=t.touches[0].clientX,i=t.touches[0].clientY);var o=document.msElementsFromPoint(n,i);if(o)for(var r=0;r<o.length;r++){var s=o[r],a=e.bom.element.Style.get(s,"pointer-events",3);if("none"!=a)return s}return null},_fireEvent:function(e,t,n){n||(n=this._getTarget(e));var t=t||e.type;n&&n.nodeType&&this.__ba&&this.__ba.emit(t,e)},dispose:function(){this._stopTouchObserver(),this.__oE=this.__cn=this.__oH=this.__oC=this.__ba=this.__oF=this.__oG=null}}})}();
$q.define("UNOUNO.components.stagehome",{statics:{stageBackgroundImages:[],currentIndex:0,retries:0,maxRetries:30,switchDelay:6000,autoRotate:true,animationTimer:null,init:function(){if($q.env.canTransition()&&$q.env.get("device.name")!="ipad"){$q(".without-transition").removeClass("without-transition");
}if(UNOUNO.params.variant.indexOf("vh427-box-b")!==-1){this.autoRotate=false;}this.initializeAsterisks();this.initializeStageBackgrounds();this.preselectedOption();},initializeAsterisks:function(){},initializeStageBackgrounds:function(){if(UNOUNO.params.siteModus!="live"){$q(document).on("keydown",function(e){var key=e.getKeyIdentifier();
if(e.shiftKey){if(key=="Left"){this.stopAnimationTimer();this.showPrevItem();}else{if(key=="Right"){this.stopAnimationTimer();this.showNextItem();}}}},this);}if($q(".content-top-container .rotation-images img").length>1){$q(".content-top-container .rotation-images img").forEach(function(image){this.stageBackgroundImages.push(image);
},this);this.imageInspector();}else{$q(".content-top-container .rotation-images img").addClass("active");if($q(".content-top-container .rotation-images img").hasClass("bright")){$q(".content-top-container .rotation-images img").getParents("div").getParents("div").getParents("div").addClass("bright");
}}},imageInspector:function(){var imagesLoaded=true;this.stageBackgroundImages.forEach(function(image){var state=image.complete||false;var height=image.naturalHeight||0;var width=image.naturalWidth||0;if(!state||height==0||width==0){imagesLoaded=false;}});if(!imagesLoaded&&this.retries<this.maxRetries){window.setTimeout(function(){this.imageInspector();
}.bind(this),100);this.retries++;return ;}if(this.autoRotate){this.startAnimationTimer();}this.showItem(0);},showPrevItem:function(){var prevIndex=this.currentIndex;prevIndex=(prevIndex==0)?this.stageBackgroundImages.length-1:prevIndex-1;this.showItem(prevIndex);},showNextItem:function(){this.showItem((++this.currentIndex%this.stageBackgroundImages.length));
},showItem:function(index){this.stageBackgroundImages.forEach(function(image){image=$q(image);if(image.hasClass("active")){image.removeClass("active");}});$q(this.stageBackgroundImages[index]).addClass("active");if($q(this.stageBackgroundImages[index]).hasClass("bright")){$q(this.stageBackgroundImages[index]).getParents("div").getParents("div").getParents("div").addClass("bright");
}else{$q(this.stageBackgroundImages[index]).getParents("div").getParents("div").getParents("div").removeClass("bright");}this.currentIndex=index;},stopAnimationTimer:function(){window.clearInterval(this.animationTimer);this.animationTimer=null;},startAnimationTimer:function(){if(this.animationTimer==null){this.animationTimer=window.setInterval(function(){this.showNextItem();
}.bind(this),this.switchDelay);}},preselectedOption:function(){var trackedDomain=$q("#tracked-tile-domain").getAttribute("name"),domainCheckBoxSelect=$q(".domaincheckbox-select-wrapper").find(".domaincheckbox-input");if(trackedDomain){domainCheckBoxSelect.setValue(trackedDomain);}}}});$q.ready(function(){UNOUNO.components.stagehome.init();
});


$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=this.properties.base||window.location.href;if(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&&!!response.status){if((response.status===200||response.status===304)&&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);$q(window).on("beforeunload",function(){xhr.abort();});return ;}this.handleResponse(cachedResponse);}}});$q.$attachStatic({"renderinclude":function(configuration,callbacks,options){return new UNOUNO.components.renderinclude(configuration,callbacks,options);
}});
$q.define("UNOUNO.components.lazyAsterisks",{statics:{loaded:{},show:function(caller,part,href){var asterisk=this.loaded[part+"::"+href].asterisk;asterisk.setProperty("caller",caller);$q("body").append(asterisk);this.setStyles(asterisk,caller);this.inspectCaller(asterisk,caller,caller.getOffset());$q(document).emit("onAsteriskOpen");
},inspectCaller:function(asterisk,caller,offset){var currentOffset=caller.getOffset();if(currentOffset.top!=offset.top||currentOffset.left!=offset.left){this.hide(asterisk.getData("part"),asterisk.getData("href"));return ;}var inspectTimeout=window.setTimeout(function(){this.inspectCaller(asterisk,caller,offset);
}.bind(this),1000);caller.setProperty("inspectTimeout",inspectTimeout);},setStyles:function(asterisk,caller){var windowWidth=$q(window).getWidth();var asteriskWidth=asterisk.getWidth(true);var callerWidth=caller.getWidth(true);var top=caller.getOffset().top;var left=caller.getOffset().left;if((left+asteriskWidth)>(windowWidth-asteriskWidth/2)||caller.getData("direction")==="left"){left=((left+callerWidth)-asteriskWidth);
}asterisk.setStyles({position:"absolute",top:top+"px",left:left+"px"});asterisk.show();},hide:function(part,href){var asterisks;if(part&&href){asterisks=$q(".lazyload-asterisk[data-part = '"+part+"'][data-href = '"+href+"']");}else{asterisks=$q(".lazyload-asterisk");}asterisks.forEach(function(asterisk){asterisk=$q(asterisk);
var href=asterisk.getData("href");var part=asterisk.getData("part");var caller=asterisk.getProperty("caller");if(caller){var inspectTimeout=caller.getProperty("inspectTimeout");window.clearTimeout(inspectTimeout);asterisk.setProperty("caller",undefined);}asterisk.remove();},this);$q(document).emit("onAsteriskClose");
},init:function(){this.initializeClickEvent();this.initializeResizeEvent();},initializeResizeEvent:function(){$q(window).on("resize",function(e){if(!!$q(".lazyload-asterisk").length){$q(".lazyload-asterisk").forEach(function(asterisk){asterisk=$q(asterisk);var href=asterisk.getData("href");var part=asterisk.getData("part");
var caller=asterisk.getProperty("caller");if(caller){var inspectTimeout=caller.getProperty("inspectTimeout");window.clearTimeout(inspectTimeout);this.setStyles(asterisk,caller);window.setTimeout(function(){caller.setProperty("inspectTimeout",window.setTimeout(function(){this.inspectCaller(asterisk,caller,caller.getOffset());
}.bind(this),750));}.bind(this),0);}},this);}},this);},initializeClickEvent:function(){$q(".main-nav-item").on("mouseover",function(e){if($q(".lazyload-asterisk").length>0){this.hide();}},this);$q(document).on("click",function(e){var target=$q(e.getTarget());if(!!$q(".lazyload-asterisk").length&&!!!target.getAncestors(".lazyload-asterisk").length){this.hide();
}if(target.hasClass("lazy-asterisk")){e.preventDefault();var properties=target.getAllData();$q.renderinclude({part:properties.part,href:properties.href,module:properties.module,search:properties.search},{success:function(target,properties,response){var content=$q.create(response.responseText);content.addClass("lazyload-asterisk");
content.setData("part",properties.part);content.setData("href",properties.href);this.loaded[properties.part+"::"+properties.href]=new Object();this.loaded[properties.part+"::"+properties.href].asterisk=content;$q(".info-footnote-close",content).on("click",function(e){e.preventDefault();var target=$q(e.getTarget());
if(!target.hasClass("lazyload-asterisk")){target=target.getAncestors(".lazyload-asterisk:eq(0)");}this.hide(properties.part,properties.href);},this);this.show(target,properties.part,properties.href);}.bind(this,target,properties),error:function(target,properties,response){}.bind(this,target,properties)});
}},this);}}});$q.ready(function(){UNOUNO.components.lazyAsterisks.init();});
$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;},updateLightboxPosition:function(){if(this.instance.getHeight()>$q(window).getHeight()){this.instance.setTop($q(window).getScrollTop()+40);
}},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));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($q.EVENT.click,".lightbox-close",this.closeLightbox,this);$q(document).offMatchTarget($q.EVENT.click,".qx-blocker",this.closeLightbox,this);window.clearInterval(this.inspectInterval);window.setTimeout(function(){this.callback("onClosed",this.instance);
}.bind(this),0);$q(document).emit("onLightboxClose");},this);instanceBlocker.on("block",function(){$q(document).onMatchTarget($q.EVENT.click,".lightbox-close",this.closeLightbox,this);$q(document).onMatchTarget($q.EVENT.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.properties.lightboxTracking||this.lightboxName);
}}.bind(this),0);$q(document).emit("onLightboxOpen");},this);this.callback("onCreate",this.instance);}this.updateLightboxPosition();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($q.EVENT.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]==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);}});

$q.define("UNOUNO.components.webfontPrice",{extend:UNOUNO.components.webfontPrice,construct:function(price,configuration){this.base(arguments,price,configuration);},members:{_configuration:{currencyBefore:"$",thousandsSeparator:",",decimalSeparator:"."}}});
UNOUNO.init.registerForJSLoad(function(){UNOUNO.inline.hideLayer=function(e){var expireDate=new Date();if(typeof ($q)!=="undefined"){$q("#mobileinfo-container").addClass("hide");}else{qx.bom.Collection.id("mobileinfo-container").addClass("hide");}expireDate=new Date();expireDate.setDate(expireDate.getDate()+30);
document.cookie="banner-mobileinfo=1;expires="+expireDate.toUTCString()+";";};if(typeof ($q)!=="undefined"){$q("#mobileinfo-close").addListener("click",UNOUNO.inline.hideLayer,this,false);if(document.cookie.indexOf("banner-mobileinfo")===-1){$q("#mobileinfo-container").addClass("show");}}else{qx.bom.Collection.id("mobileinfo-close").addListener("click",UNOUNO.inline.hideLayer,this,false);
if(document.cookie.indexOf("banner-mobileinfo")===-1){qx.bom.Collection.query("#mobileinfo-container").addClass("show");}}});

//### zip:baseLib-1.1.4.jar/PUSTEFIX-INF/script/textselection-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:{}}},e.Bootstrap.define("qx.module.TextSelection",{statics:{__oK:function(e){var t=e.tagName?e.tagName.toLowerCase():null;return"input"===t||"textarea"===t},__oL:function(e){for(var t=0,o=e.childNodes.length;o>t;t++)if(3===e.childNodes[t].nodeType)return e.childNodes[t];return null}},members:{getTextSelection:function(){var t=this[0];return t?(e.module.TextSelection.__oK(t)||(t=e.module.TextSelection.__oL(t)),t?e.bom.Selection.get(t):null):null},getTextSelectionLength:function(){var t=this[0];return t?(e.module.TextSelection.__oK(t)||(t=e.module.TextSelection.__oL(t)),t?e.bom.Selection.getLength(t):null):null},getTextSelectionStart:function(){var t=this[0];return t?(e.module.TextSelection.__oK(t)||(t=e.module.TextSelection.__oL(t)),t?e.bom.Selection.getStart(t):null):null},getTextSelectionEnd:function(){var t=this[0];return t?(e.module.TextSelection.__oK(t)||(t=e.module.TextSelection.__oL(t)),t?e.bom.Selection.getEnd(t):null):null},setTextSelection:function(t,o){var n=this[0];return n&&(e.module.TextSelection.__oK(n)||(n=e.module.TextSelection.__oL(n)),n&&e.bom.Selection.set(n,t,o)),this},clearTextSelection:function(){return this._forEachElement(function(t){e.module.TextSelection.__oK(t)||(t=e.module.TextSelection.__oL(t)),t&&e.bom.Selection.clear(t)}),this}},defer:function(){qxWeb.$attachAll(this)}}),e.Bootstrap.define("qx.bom.Selection",{statics:{getSelectionObject:e.core.Environment.select("html.selection",{selection:function(e){return e.selection},"default":function(t){return e.dom.Node.getWindow(t).getSelection()}}),get:e.core.Environment.select("html.selection",{selection:function(t){var o=e.bom.Range.get(e.dom.Node.getDocument(t));return o.text},"default":function(t){return this.__or(t)?t.value.substring(t.selectionStart,t.selectionEnd):this.getSelectionObject(e.dom.Node.getDocument(t)).toString()}}),getLength:e.core.Environment.select("html.selection",{selection:function(t){var o=this.get(t),n=e.util.StringSplit.split(o,/\r\n/);return o.length-(n.length-1)},"default":function(t){if("opera"==e.core.Environment.get("engine.name")){var o,n,r;if(this.__or(t)){var l=t.selectionStart,i=t.selectionEnd;o=t.value.substring(l,i),n=i-l}else o=e.bom.Selection.get(t),n=o.length;return r=e.util.StringSplit.split(o,/\r\n/),n-(r.length-1)}return this.__or(t)?t.selectionEnd-t.selectionStart:this.get(t).length}}),getStart:e.core.Environment.select("html.selection",{selection:function(t){if(this.__or(t)){var o=e.bom.Range.get();if(!t.contains(o.parentElement()))return-1;var n=e.bom.Range.get(t),r=t.value.length;return n.moveToBookmark(o.getBookmark()),n.moveEnd("character",r),r-n.text.length}var n=e.bom.Range.get(t),l=n.parentElement(),i=e.bom.Range.get();try{i.moveToElementText(l)}catch(c){return 0}var a=e.bom.Range.get(e.dom.Node.getBodyElement(t));if(a.setEndPoint("StartToStart",n),a.setEndPoint("EndToEnd",i),0==i.compareEndPoints("StartToStart",a))return 0;for(var d,m=0;;){if(d=a.moveStart("character",-1),0==i.compareEndPoints("StartToStart",a))break;if(0==d)break;m++}return++m},"default":function(t){if("gecko"===e.core.Environment.get("engine.name")||"webkit"===e.core.Environment.get("engine.name")){if(this.__or(t))return t.selectionStart;var o=e.dom.Node.getDocument(t),n=this.getSelectionObject(o);return n.anchorOffset<n.focusOffset?n.anchorOffset:n.focusOffset}return this.__or(t)?t.selectionStart:e.bom.Selection.getSelectionObject(e.dom.Node.getDocument(t)).anchorOffset}}),getEnd:e.core.Environment.select("html.selection",{selection:function(t){if(this.__or(t)){var o=e.bom.Range.get();if(!t.contains(o.parentElement()))return-1;var n=e.bom.Range.get(t),r=t.value.length;return n.moveToBookmark(o.getBookmark()),n.moveStart("character",-r),n.text.length}var n=e.bom.Range.get(t),l=n.parentElement(),i=e.bom.Range.get();try{i.moveToElementText(l)}catch(c){return 0}var r=i.text.length,a=e.bom.Range.get(e.dom.Node.getBodyElement(t));if(a.setEndPoint("EndToEnd",n),a.setEndPoint("StartToStart",i),0==i.compareEndPoints("EndToEnd",a))return r-1;for(var d,m=0;;){if(d=a.moveEnd("character",1),0==i.compareEndPoints("EndToEnd",a))break;if(0==d)break;m++}return r-++m},"default":function(t){if("gecko"===e.core.Environment.get("engine.name")||"webkit"===e.core.Environment.get("engine.name")){if(this.__or(t))return t.selectionEnd;var o=e.dom.Node.getDocument(t),n=this.getSelectionObject(o);return n.focusOffset>n.anchorOffset?n.focusOffset:n.anchorOffset}return this.__or(t)?t.selectionEnd:e.bom.Selection.getSelectionObject(e.dom.Node.getDocument(t)).focusOffset}}),__or:function(t){return e.dom.Node.isElement(t)&&("input"==t.nodeName.toLowerCase()||"textarea"==t.nodeName.toLowerCase())},set:e.core.Environment.select("html.selection",{selection:function(t,o,n){var r;if(e.dom.Node.isDocument(t)&&(t=t.body),e.dom.Node.isElement(t)||e.dom.Node.isText(t))switch(t.nodeName.toLowerCase()){case"input":case"textarea":case"button":if(void 0===n&&(n=t.value.length),o>=0&&o<=t.value.length&&n>=0&&n<=t.value.length)return r=e.bom.Range.get(t),r.collapse(!0),r.moveStart("character",o),r.moveEnd("character",n-o),r.select(),!0;break;case"#text":if(void 0===n&&(n=t.nodeValue.length),o>=0&&o<=t.nodeValue.length&&n>=0&&n<=t.nodeValue.length)return r=e.bom.Range.get(e.dom.Node.getBodyElement(t)),r.moveToElementText(t.parentNode),r.collapse(!0),r.moveStart("character",o),r.moveEnd("character",n-o),r.select(),!0;break;default:if(void 0===n&&(n=t.childNodes.length-1),t.childNodes[o]&&t.childNodes[n]){r=e.bom.Range.get(e.dom.Node.getBodyElement(t)),r.moveToElementText(t.childNodes[o]),r.collapse(!0);var l=e.bom.Range.get(e.dom.Node.getBodyElement(t));return l.moveToElementText(t.childNodes[n]),r.setEndPoint("EndToEnd",l),r.select(),!0}}return!1},"default":function(t,o,n){var r=t.nodeName.toLowerCase();if(!e.dom.Node.isElement(t)||"input"!=r&&"textarea"!=r){var l=!1,i=e.dom.Node.getWindow(t).getSelection(),c=e.bom.Range.get(t);if(e.dom.Node.isText(t)?(void 0===n&&(n=t.length),o>=0&&o<t.length&&n>=0&&n<=t.length&&(l=!0)):e.dom.Node.isElement(t)?(void 0===n&&(n=t.childNodes.length-1),o>=0&&t.childNodes[o]&&n>=0&&t.childNodes[n]&&(l=!0)):e.dom.Node.isDocument(t)&&(t=t.body,void 0===n&&(n=t.childNodes.length-1),o>=0&&t.childNodes[o]&&n>=0&&t.childNodes[n]&&(l=!0)),l)return i.isCollapsed||i.collapseToStart(),c.setStart(t,o),e.dom.Node.isText(t)?c.setEnd(t,n):c.setEndAfter(t.childNodes[n]),i.rangeCount>0&&i.removeAllRanges(),i.addRange(c),!0}else if(void 0===n&&(n=t.value.length),o>=0&&o<=t.value.length&&n>=0&&n<=t.value.length)return t.focus(),t.select(),t.setSelectionRange(o,n),!0;return!1}}),setAll:function(t){return e.bom.Selection.set(t,0)},clear:e.core.Environment.select("html.selection",{selection:function(t){var o=e.bom.Range.get(t),n=o.parentElement(),r=e.bom.Range.get(e.dom.Node.getDocument(t));if(e.dom.Node.isText(t)&&(t=t.parentNode),n==r.parentElement()&&n==t){var l=e.bom.Selection.getSelectionObject(e.dom.Node.getDocument(t));l.empty()}},"default":function(t){var o=e.bom.Selection.getSelectionObject(e.dom.Node.getDocument(t)),n=t.nodeName.toLowerCase();if(!e.dom.Node.isElement(t)||"input"!=n&&"textarea"!=n)if(e.dom.Node.isDocument(t)||"body"==n)o.collapse(t.body?t.body:t,0);else{var r=e.bom.Range.get(t);if(!r.collapsed){var l,i=r.commonAncestorContainer;l=e.dom.Node.isElement(t)&&e.dom.Node.isText(i)?i.parentNode:i,l==t&&o.collapse(t,0)}}else t.setSelectionRange(0,0),e.bom.Element&&e.bom.Element.blur&&e.bom.Element.blur(t)}})}})}();
$q.define("UNOUNO.animation.DomainTeaser",{statics:{__timerID:0,__timerID2:0,__timerIDIE:0,__timerIDIE2:0,animationForIEFade:function(elem){elem.find(".front").toggleClass("hidden");elem.find(".back").toggleClass("hidden");},animationForIE:function(){$q(".flip-container").forEach(function(item,index){this.__timerIDIE2=window.setTimeout(function(){this.animationForIEFade($q(item));
}.bind(this),(index+1)*300);},this);},toggleRotationClass:function(elem){elem.toggleClass("rotated");},animateDomainTeaser:function(){$q(".flip-container").forEach(function(item,index){this.__timerID2=window.setTimeout(function(){this.toggleRotationClass($q(item));}.bind(this),(index+1)*300);},this);
},init:function(){if($q("#domainwrapper").length>0&&$q("#domainwrapper").getData("rotation-disabled")!=="true"){if($q.env.get("browser.name")=="ie"&&parseInt($q.env.get("browser.version"))<=9){$q(".flip-container .back").addClass("hidden");this.__timerIDIE=window.setInterval(function(){this.animationForIE();
}.bind(this),7000);}else{this.__timerID=window.setInterval(function(){this.animateDomainTeaser();}.bind(this),7000);}}}}});$q.define("UNOUNO.components.domaincheck",{statics:{init:function(){if(UNOUNO.params.variant.indexOf("vh427-box")===-1){}else{this.initializeVariantTest();}},endsWith:function(string,search){return string.lastIndexOf(search,string.length-search.length)!==-1;
},updateDomainNameInput:function(target){if(this.choosenTLD&&target&&target.getValue().length>0){var value=target.getValue();if(value.lastIndexOf(".")>-1){value=value.substring(0,value.lastIndexOf("."));}value=value+"."+this.choosenTLD;target.setValue(value);}},initializeVariantTest:function(){var selectBox1=$q(".standard-domain-container.vh427-box select[name = 'multicheck.Tlds'].domaincheck_tldlist");
var selectBox2=$q(".domain-check-checker.vh427-box select[name = 'multicheck.Tlds'].domaincheck_tldlist");var selectBoxSelected=$q(".standard-domain-container.vh427-box select[name = 'multicheck.Tlds'].domaincheck_tldlist option[selected]");var input1=$q(".standard-domain-container.vh427-box input.domaincheck_domain");
var input2=$q(".domain-check-checker.vh427-box input.domaincheck_domain");var initialValue=input1.getValue(),initialTld;if(initialValue.length===0){initialValue=input2.getValue();}input1.setValue(initialValue);input2.setValue(initialValue);if(initialValue.lastIndexOf(".")===-1){initialTld=selectBoxSelected.getValue();
}else{initialTld=initialValue.substr(initialValue.lastIndexOf(".")+1);}selectBox1.setValue(initialTld);selectBox2.setValue(initialTld);$q("input.domaincheck_domain").on("focus",function(e){var target=$q(e.getTarget());if(target&&target.getValue().length>0){var value=target.getValue();if(value.lastIndexOf(".")===-1){this.updateDomainNameInput(target);
}else{window.setTimeout(function(){target.setTextSelection(value.lastIndexOf("."),value.lastIndexOf("."));},0);}}},this);$q("input.domaincheck_domain").on("keyup",function(e){var target=$q(e.getTarget());var key=e.keyCode||e.which;if(key===46){this.choosenTLD=null;}if(this.choosenTLD){if(target.getValue().length>0){var value=target.getValue();
if(value.lastIndexOf(".")===-1){value=value+"."+this.choosenTLD;target.setValue(value);window.setTimeout(function(){target.setTextSelection(value.lastIndexOf("."),value.lastIndexOf("."));},0);}else{if(!value.substring(0,value.lastIndexOf(".")).length){target.setValue(null);}if(!this.endsWith(value,this.choosenTLD)){this.choosenTLD=null;
}}}}if(target.getValue().length>0){var value=target.getValue(),manualTld;if(value!==input1.getValue()){input1.setValue(value);}if(value!==input2.getValue()){input2.setValue(value);}if(value.lastIndexOf(".")===-1){manualTld=selectBoxSelected.getValue();}else{var tmpTld=value.substr(value.lastIndexOf(".")+1);
var optionStr=".standard-domain-container.vh427-box select[name = 'multicheck.Tlds'].domaincheck_tldlist option[value='"+tmpTld+"']";if($q(optionStr).length>0){manualTld=tmpTld;}else{manualTld=selectBoxSelected.getValue();}}selectBox1.setValue(manualTld);selectBox2.setValue(manualTld);}},this);}}});UNOUNO.animation.DomainTeaser.init();
UNOUNO.components.domaincheck.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();}}