function Ae(a,b){this.Init(a,b)}m("AdfSafariAgent",Ae);r.v(Ae,q);Ae.prototype.Init=function(a,b){Ae.h.Init.call(this,q.Sc,q.Bh(),a,b)};r.a("AdfSafariAgent.prototype.Init",{Init:Ae.prototype.Init});Ae.prototype.pl=function(a){return a.document.body.scrollWidth};r.a("AdfSafariAgent.prototype.getWindowScrollWidth",{pl:Ae.prototype.pl});Ae.prototype.vo=function(a){return a.document.body.scrollHeight};r.a("AdfSafariAgent.prototype.getWindowScrollHeight",{vo:Ae.prototype.vo});
Ae.prototype.zf=function(){var a=navigator.userAgent,b=this.R();return-1!=a.indexOf("Chrome")&&61<=Ae.jr(a)?b.documentElement.scrollTop:-1!=a.indexOf("Safari")&&13<=Ae.jr(a)?this.Y().pageYOffset:b.body.scrollTop};r.a("AdfSafariAgent.prototype.getBrowserViewportScrollTop",{zf:Ae.prototype.zf});Ae.prototype.Oe=function(){var a=navigator.userAgent,b=this.R();return-1!=a.indexOf("Chrome")&&61<=Ae.jr(a)?b.documentElement.scrollLeft:-1!=a.indexOf("Safari")&&13<=Ae.jr(a)?this.Y().pageXOffset:b.body.scrollLeft};
r.a("AdfSafariAgent.prototype.getBrowserViewportScrollLeft",{Oe:Ae.prototype.Oe});Ae.prototype.ga=function(){var a=[];a[w.pi]="Ctrl";a[w.Bk]="Shift";a[w.Ao]="Option";a[w.Nq]="Cmd";this.tfa=a};r.a("AdfSafariAgent.prototype.InitClass",{ga:Ae.prototype.ga});Ae.prototype.Rm=function(a){return a};r.a("AdfSafariAgent.prototype.CreateDefaultLogWriter",{Rm:Ae.prototype.Rm});Ae.prototype.Lg=function(){var a=this.Y();return a.console?new Be(a,new sa):new sa};
r.a("AdfSafariAgent.prototype.CreateNativeLogWriter",{Lg:Ae.prototype.Lg});Ae.prototype.execScript=function(a,b){var d=a.document,e=d.body;if(null==e)with(a)a.eval(b);else{var f=d.createElement("script");f.setAttribute("type","text/javascript");var g=d.querySelector("script[nonce]");g&&f.setAttribute("nonce",g.cUa);f.appendChild(d.createTextNode(b));e.appendChild(f);e.removeChild(f)}};r.a("AdfSafariAgent.prototype.execScript",{execScript:Ae.prototype.execScript});
Ae.prototype.ae=function(a){a.style.setProperty("-webkit-user-select","none")};r.a("AdfSafariAgent.prototype.disableUserSelect",{ae:Ae.prototype.ae});Ae.prototype.yf=function(a){a.style.setProperty("-webkit-user-select","")};r.a("AdfSafariAgent.prototype.enableUserSelect",{yf:Ae.prototype.yf});Ae.prototype.Ji=function(a,b){b||(b=this.getComputedStyle(a));return b.getPropertyValue("-webkit-box-sizing")};r.a("AdfSafariAgent.prototype.getBoxSizing",{Ji:Ae.prototype.Ji});
Ae.prototype.Su=function(a){return this.Tvb()!=q.lt?Ae.h.Su.call(this,a):Ae.tfa[a]};r.a("AdfSafariAgent.prototype.getModifierDisplayName",{Su:Ae.prototype.Su});
Ae.prototype.tl=function(){if(void 0===this.Rk)try{sessionStorage.setItem("_adfTestKey","on"),sessionStorage.removeItem("_adfTestKey"),this.Rk=!0}catch(a){"QUOTA_EXCEEDED_ERR"===a.name&&22==a.code?v.l.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):v.l.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.Rk=!1}return this.Rk};r.a("AdfSafariAgent.prototype.isSessionStorageEnabled",{tl:Ae.prototype.tl});Ae.prototype.qk=function(a,b,d){return new Ce(a,b,d)};r.a("AdfSafariAgent.prototype.CreateUIInputEvent",{qk:Ae.prototype.qk});
Ae.prototype.Xe=function(a,b){var d=a.type;if("load"==d){if(-1==navigator.userAgent.toLowerCase().indexOf("chrome"))return Ae.h.Xe.call(this,a,b);var e=b?b:a.target,f=e.ownerDocument,g=f.createEvent("Event");g.initEvent("click",!1,!1);f.addEventListener(d,this.stopPropagation,!0);e.dispatchEvent(g);f.removeEventListener(d,this.stopPropagation,!0);return g}return Ae.h.Xe.call(this,a,b)};r.a("AdfSafariAgent.prototype.cloneEvent",{Xe:Ae.prototype.Xe});
Ae.prototype.slice=function(a,b,d){if("undefined"!==typeof Blob&&("undefined"!==typeof Blob.prototype.slice||"undefined"!==typeof Blob.prototype.webkitSlice)){if(null==a)return null;if(a.slice)return a.slice(b,d);if(a.webkitSlice)return a.webkitSlice(b,d)}};r.a("AdfSafariAgent.prototype.slice",{slice:Ae.prototype.slice});Ae.prototype.kl=function(){return 6};r.a("AdfSafariAgent.prototype.getMaxConnectionsPerDomain",{kl:Ae.prototype.kl});
Ae.jr=function(a){var b;-1!=a.indexOf("Chrome/")?b=q.ET(a,/Chrome\/(\d+([.]\d+)*)/):-1!=a.indexOf("Version/")&&(b=q.ET(a,/Version\/(\d+([.]\d+)*)/));return b};Ae.pL=function(a,b){var d=!0;-1!=a.indexOf("Chrome/")?b<q.ktb&&(d=!1):-1!=a.indexOf("Version/")&&b<q.mtb&&(d=!1);return d};Ae.oL=function(a){return-1==a.indexOf("Mobile")&&-1==a.indexOf("Android")&&-1==a.indexOf("iPhone")?"AdfSafariAgent":"AdfSafariMobileAgent"};Ae.prototype.as=function(a,b,d){return new De(a,b,d)};
r.a("AdfSafariAgent.prototype.createTouchMoveManager",{as:Ae.prototype.as});