function ae(a,b){this.Init(a,b)}v("AdfSafariAgent",ae);z.l(ae,w);ae.prototype.Init=function(a,b){ae.f.Init.call(this,w.Fc,w.Yh(),a,b)};z.a("AdfSafariAgent.prototype.Init",{Init:ae.prototype.Init});ae.prototype.aj=function(a){return a.document.body.scrollWidth};z.a("AdfSafariAgent.prototype.getWindowScrollWidth",{aj:ae.prototype.aj});ae.prototype.Tk=function(a){return a.document.body.scrollHeight};z.a("AdfSafariAgent.prototype.getWindowScrollHeight",{Tk:ae.prototype.Tk});
ae.prototype.xf=function(){var a=navigator.userAgent,b=this.w();return-1!=a.indexOf("Chrome")&&61<=ae.Eo(a)?b.documentElement.scrollTop:-1!=a.indexOf("Safari")&&13<=ae.Eo(a)?this.R().pageYOffset:b.body.scrollTop};z.a("AdfSafariAgent.prototype.getBrowserViewportScrollTop",{xf:ae.prototype.xf});ae.prototype.De=function(){var a=navigator.userAgent,b=this.w();return-1!=a.indexOf("Chrome")&&61<=ae.Eo(a)?b.documentElement.scrollLeft:-1!=a.indexOf("Safari")&&13<=ae.Eo(a)?this.R().pageXOffset:b.body.scrollLeft};
z.a("AdfSafariAgent.prototype.getBrowserViewportScrollLeft",{De:ae.prototype.De});ae.prototype.da=function(){var a=[];a[E.uh]="Ctrl";a[E.qj]="Shift";a[E.lm]="Option";a[E.mo]="Cmd";this.F6=a};z.a("AdfSafariAgent.prototype.InitClass",{da:ae.prototype.da});ae.prototype.al=ba();z.a("AdfSafariAgent.prototype.CreateDefaultLogWriter",{al:ae.prototype.al});ae.prototype.vh=function(){var a=this.R();return a.console?new be(a,new ua):new ua};z.a("AdfSafariAgent.prototype.CreateNativeLogWriter",{vh:ae.prototype.vh});
ae.prototype.execScript=function(a,b){var d=a.document,e=d.body;if(e==n)with(a)a.eval(b);else{var f=d.createElement("script");f.setAttribute("type","text/javascript");f.appendChild(d.createTextNode(b));e.appendChild(f);e.removeChild(f)}};z.a("AdfSafariAgent.prototype.execScript",{execScript:ae.prototype.execScript});ae.prototype.vd=function(a){a.style.setProperty("-webkit-user-select","none")};z.a("AdfSafariAgent.prototype.disableUserSelect",{vd:ae.prototype.vd});
ae.prototype.Qe=function(a){a.style.setProperty("-webkit-user-select","")};z.a("AdfSafariAgent.prototype.enableUserSelect",{Qe:ae.prototype.Qe});ae.prototype.Sh=function(a,b){b||(b=this.getComputedStyle(a));return b.getPropertyValue("-webkit-box-sizing")};z.a("AdfSafariAgent.prototype.getBoxSizing",{Sh:ae.prototype.Sh});ae.prototype.as=function(a){return this.N9a()!=w.lo?ae.f.as.call(this,a):ae.F6[a]};z.a("AdfSafariAgent.prototype.getModifierDisplayName",{as:ae.prototype.as});
ae.prototype.$j=function(){if(this.Hj===k)try{sessionStorage.setItem("_adfTestKey","on"),sessionStorage.removeItem("_adfTestKey"),this.Hj=l}catch(a){"QUOTA_EXCEEDED_ERR"===a.name&&22==a.code?D.i.fine("Access to sessionStorage has been disabled because 'private browsing' is enabled. As a result user activity monitoring has been disabled. Name: "+a.name+", Message: "+a.message):D.i.fine("Access to sessionStorage failed for some unexpected reason. As a result user activity monitoring has been disabled. Name: "+
a.name+", Message: "+a.message),this.Hj=p}return this.Hj};z.a("AdfSafariAgent.prototype.isSessionStorageEnabled",{$j:ae.prototype.$j});ae.prototype.ij=function(a,b,d){return new ce(a,b,d)};z.a("AdfSafariAgent.prototype.CreateUIInputEvent",{ij:ae.prototype.ij});
ae.prototype.ne=function(a,b){var d=a.type;if("load"==d){if(-1==navigator.userAgent.toLowerCase().indexOf("chrome"))return ae.f.ne.call(this,a,b);var e=b?b:a.target,f=e.ownerDocument,g=f.createEvent("Event");g.initEvent("click",p,p);f.addEventListener(d,this.stopPropagation,l);e.dispatchEvent(g);f.removeEventListener(d,this.stopPropagation,l);return g}return ae.f.ne.call(this,a,b)};z.a("AdfSafariAgent.prototype.cloneEvent",{ne:ae.prototype.ne});
ae.prototype.slice=function(a,b,d){if(!("undefined"===typeof Blob||"undefined"===typeof Blob.prototype.slice&&"undefined"===typeof Blob.prototype.webkitSlice)){if(a==n)return n;if(a.slice)return a.slice(b,d);if(a.webkitSlice)return a.webkitSlice(b,d)}};z.a("AdfSafariAgent.prototype.slice",{slice:ae.prototype.slice});ae.Eo=function(a){var b;-1!=a.indexOf("Chrome/")?b=w.JM(a,/Chrome\/(\d+([.]\d+)*)/):-1!=a.indexOf("Version/")&&(b=w.JM(a,/Version\/(\d+([.]\d+)*)/));return b};
ae.NF=function(a,b){var d=l;-1!=a.indexOf("Chrome/")?b<w.H6a&&(d=p):-1!=a.indexOf("Version/")&&b<w.J6a&&(d=p);return d};ae.MF=function(a){return-1==a.indexOf("Mobile")&&-1==a.indexOf("Android")&&-1==a.indexOf("iPhone")?"AdfSafariAgent":"AdfSafariMobileAgent"};ae.prototype.qp=function(a,b,d){return new de(a,b,d)};z.a("AdfSafariAgent.prototype.createTouchMoveManager",{qp:ae.prototype.qp});