(function(){var f=window,g=f.location,j=g.host,k=g.href,g=navigator,m=g.userAgent,n=g.platform,o=("https:"==document.location.protocol?"https://":"http://")+"analytics.unister-gmbh.de",c,h=function(a,e){var b=encodeURIComponent;return b instanceof Function?e?encodeURI(a):b(a):escape(a)},p=function(a,e){var b=new Date,d=b;this.stop=function(){return d=new Date};this._getTime=function(){return(d-b)/1E3};this._getName=function(){return e}},l=function(){this._doCall=function(a){return(new Image).src=a}},i=function(){var a=
this,e=0,b=0,d=[],c="";a._getUattime=function(){return e};a._setUattime=function(a){e=a};a._getUattimeexttotal=function(){return b};a._setUattimeexttotal=function(a){b=a};a._addUattimeexttotal=function(a){b+=a};a._getExternals=function(){return d};a._addExternal=function(a,b){d[d.length]=[a,b]};a._getUatappversion=function(){return c};a._setUatappversion=function(a){c=a};a._getBasic=function(){var b;b="?uatversion=1.18.00&uathost="+h(0<j.length?
j:"Other",void 0);b+="&uathref="+h(0<k.length?k:"Other",void 0);b+="&uatagent="+h(m,void 0);b+="&uatplatform="+n;return b+="&uatappversion="+a._getUatappversion()};i.prototype.toString=function(){for(var a=this._getBasic(),a=a+("&uattime="+this._getUattime()+"s"),b="",c=this._getExternals(),e=c.length;e--;)b+=(0<b.length?";":"")+c[e][0]+":"+c[e][1]+"s";a+="&uattimeexttotal="+
this._getUattimeexttotal()+"s";return a+="&uattimeextresource="+h(b,void 0)}},q=function(){if(this._domTimer&&this._domTimer.stop()){var a=f._uat,c=new i;c._setUattime(this._domTimer._getTime());c._setUatappversion(a._getAppVersion());var b=a._getTimers(),d;for(d in b)"DOM"!=b[d]._getName()&&(c._addUattimeexttotal(b[d]._getTime()),c._addExternal(b[d]._getName(),b[d]._getTime()));(new l)._doCall(o+"/r2t/index.php"+c.toString());a=a._getEvents("uatpostrequest");if(a instanceof
Array)for(b=a.length;b--;)a[b](c)}},r=function(a){var c=f.onload;f.onload="function"!=typeof f.onload?a:function(){a();c&&c()}};c=new function(){var a=this,e="default";a._timers={};a._count=0;a._events=[];a._addEvent=function(a,d){if("object"!=typeof c._events||!1===c._events instanceof Array||"object"!=typeof c._events[a])c._events[a]=[];c._events[a][c._events[a].length]=d};a._getEvents=function(a){return c._events[a]};a._createTimer=function(a,d){void 0==d&&(d="~"+c._count++);return c._timers[d]=
new p(d,a)};a._getTimer=function(b){return a._createTimer(b,void 0)};a._getTimerByName=function(a){a=a||"";return c._timers[a]||c._createTimer(void 0,a)};a._getTimers=function(){return c._timers};a._getCallback=function(){return new l};a._getAppVersion=function(){return e};a._setAppVersion=function(a){if("string"!=typeof a)throw"App Version must be string";if(0===a.toString().length)throw"App Version set Wrong";e=a};a._createMeasurement=function(){return new i}};(function(){var a=f._uat;a&&"function"==
typeof this._getTimer?c=a:(f._uat=c,this._domTimer=c._getTimer("DOM"),r(q))})()})();
