Rawoas13

default_oneGoogleWidgetUi-Latency

Nov 2nd, 2020
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "use strict";this.default_OneGoogleWidgetUi=this.default_OneGoogleWidgetUi||{};(function(_){var window=this;
  2. try{
  3. _.r("Wt6vjf");
  4. var gK=function(a){_.N(this,a,"f.bo",-1,null,null)};_.E(gK,_.M);gK.Pc="f.bo";gK.prototype.Wa=function(){return _.Zg(this,1)};
  5. var hK=function(){_.Th.call(this)};_.C(hK,_.Th);hK.prototype.Sa=function(){this.oo=!1;iK(this);_.Th.prototype.Sa.call(this)};hK.prototype.g=function(){jK(this);if(this.Li)return kK(this),!1;if(!this.qp)return lK(this),!0;this.dispatchEvent("p");if(!this.In)return lK(this),!0;this.Jl?(this.dispatchEvent("r"),lK(this)):kK(this);return!1};
  6. var mK=function(a){var b=new _.uu(a.Cu);null!=a.mn&&b.g.set("authuser",a.mn);return b},kK=function(a){a.Li=!0;var b=mK(a),c="rt=r&f_uid="+_.Rd(a.In);_.ll(b,(0,_.D)(a.i,a),"POST",c)};
  7. hK.prototype.i=function(a){a=a.target;jK(this);if(_.ul(a)){this.Mk=0;if(this.Jl)this.Li=!1,this.dispatchEvent("r");else if(this.qp)this.dispatchEvent("s");else{try{var b=_.vl(a),c=JSON.parse(b.substring(b.indexOf("\n")));var d=(new gK(c[0])).Wa()}catch(e){_.Ck(null,e);this.dispatchEvent("t");nK(this);return}this.Li=!1;d?this.dispatchEvent("q"):this.dispatchEvent("r")}lK(this)}else{if(0!=a.Xd()){d="";try{d=_.vl(a)}catch(e){}a=Error("rb`"+a.Xd()+"`"+mK(this).toString()+"`"+String(a.u)+"`"+d);_.Ck(null,
  8. a);this.dispatchEvent("t")}nK(this)}};var jK=function(a){var b=_.qD.get("https:"==window.location.protocol?"SAPISID":"APISID","");a.Jl=""!==a.Lk&&""===b;a.qp=a.Lk!=b;a.Lk=b},nK=function(a){a.Jl||(a.Li=!0,a.Mk=Math.min(2*(a.Mk||3),60),lK(a))},lK=function(a){if(a.oo||a.Li)iK(a),a.sm=window.setTimeout((0,_.D)(a.g,a),1E3*Math.max(3,a.Mk))},iK=function(a){a.sm&&(window.clearTimeout(a.sm),a.sm=0)};_.k=hK.prototype;_.k.Da=null;_.k.Mk=0;_.k.sm=0;_.k.Lk=null;_.k.Jl=!1;_.k.qp=!1;_.k.mn=null;_.k.Cu="/_/idv/";
  9. _.k.In="";_.k.oo=!1;_.k.Li=!1;_.Fa(_.wj,hK);
  10. _.Ca().Hc(function(a){var b=new hK;_.lk(a,_.wj,b);if(_.O(_.cj,1)){a=_.O(_.cj,1);var c=_.Si("WZsZ1e").Ra(null);b.In=a;void 0!==c&&(b.Lk=c);a=_.dj();_.sc(a,"/")||(a="/"+a);b.Cu=a+"/idv/";(a=_.$g(_.cj,3,"0"))&&_.Si("gGcLoe").jc(!1)&&(b.mn=a);b.oo=!0;b.g()}});
  11.  
  12. _.u();
  13.  
  14. var gJ=function(){return!(!window.performance||!window.performance.timing)},iJ=function(a,b,c,d,e){0>=c||0>=d||_.VE(a,b,d-c)&&(e||hJ(a,c))(b,d)},jJ=function(a){if(gJ()){var b=_.fE,c=window.performance.timing;var d=null!=b.i?b.i:gJ()?window.performance.timing.navigationStart:void 0;b=null!=b.s?b.s:gJ()?window.performance.timing.responseStart:void 0;a.U.push({label:"addNavigationTimings",timing:c});iJ(a,"dns",c.domainLookupStart,c.domainLookupEnd);iJ(a,"con",c.connectStart,c.connectEnd);iJ(a,"req",
  15. c.requestStart,b);iJ(a,"rcv",b,c.responseEnd);if(0<d){var e=hJ(a,d);iJ(a,"ntsrt",d,b,e);iJ(a,"nsfs",d,c.fetchStart,e);iJ(a,"ntplt0",d,c.loadEventStart,e);iJ(a,"ntplt1",d,c.loadEventEnd,e)}}},kJ=function(a){if(_.z.performance&&_.z.performance.getEntriesByType&&0!=_.z.performance.getEntriesByType("paint").length){a=hJ(a,0);var b=_.z.performance.getEntriesByType("paint");b=_.B(b);for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c.name){case "first-paint":a("fp",c.startTime+c.duration);break;case "first-contentful-paint":a("fcp",
  16. c.startTime+c.duration)}}},lJ=function(){var a=_.$E("WMove",_.RE);_.JE(a.Da.g);_.kE(a);_.z._F_getAverageFps&&_.UE(a,"animFps",_.z._F_getAverageFps());var b=[];if(!_.Zl.u&&null!=_.Zl.j){var c={};c.firstInputDelay=_.Zl.j;b.push(c);_.Zl.u=!0}null!=_.Zl.g&&(c={},c.averageInputDelay=_.Zl.g,b.push(c));_.Zl.s||null==_.Zl.i||(c={},c.firstInputCodeLoadingDelay=_.Zl.i,b.push(c),_.Zl.s=!0);_.Zl.o=0;_.Zl.g=null;_.jE(a,b);_.YE(a);(_.z.performance&&_.z.performance.memory||_.z._F_getAverageFps)&&setTimeout(lJ,18E5)},
  17. nJ=function(){var a=mJ(_.fE).find(function(b){return"ol"in b});return a?a.ol:Infinity},oJ=[2],pJ=function(a){_.N(this,a,0,-1,oJ,null)};_.E(pJ,_.M);var qJ=[1,2,3,4],rJ=function(a){_.N(this,a,0,-1,qJ,null)};_.E(rJ,_.M);
  18. var hJ=function(a,b){var c=[{"":b}];a.j.push(c);return function(d,e){var f={};f[d]=e||_.bE();c.push(f)}},sJ=function(a,b){var c=new rJ;b=_.x(c,3,b||[]);a=a.j;b?(a.s||(a.s=new pJ),b=b.Jc(),_.x(a.s,4,b)):a.s&&_.x(a.s,4,void 0)},mJ=function(a){return[{"":_.vE(a)}].concat(_.Cb(window.cc_latency))},tJ=function(){var a=_.fE;if(!a.g){var b=window.prt;if(0<b){var c={};window.cc_latency.push((c.prt=b,c))}b=mJ(a);a.g=new _.TE(a.j,b,window.cc_aid,_.lE,a.u,a.o)}return a.g.o?null:a.g};_.r("_latency");
  19. _.hE();_.Ca().Hc(function(){var a=_.Si("fPDxwd");a.Ld()&&sJ(_.fE,a.j().map(function(b){return b.number()}));(0,_.xE)();if(a=tJ())_.JE(a.Da.g),_.tE(a,nJ()),jJ(a),kJ(a),_.kE(a),_.nE(a),_.YE(a);setTimeout(lJ,3E5)});
  20.  
  21. _.u();
  22.  
  23. _.r("FCpbqb");
  24. _.Ca().Hc(function(a){_.en(_.yq,a)});
  25.  
  26. _.u();
  27.  
  28. _.r("WhJNk");
  29. var $I=new Date(1262304E6),aJ=new Date(12779424E5),bJ=new Date(129384E7),eJ=function(){var a=[],b=new Date;cJ(a,b.getTime());a.push(b.getTimezoneOffset()/15+56);a.push($I.getTimezoneOffset()/15+56);cJ(a,dJ($I,aJ));a.push(aJ.getTimezoneOffset()/15+56);cJ(a,dJ(aJ,bJ));return a.join("_")},cJ=function(a,b){b?a.push(Math.round((b-$I.getTime())/6E4)):a.push(null)},dJ=function(a,b){var c=a.getTimezoneOffset(),d=b.getTimezoneOffset();if(c==d)return null;a=a.getTime()/6E4;for(b=b.getTime()/6E4;a<=b;){var e=
  30. (a>>1)+(b>>1),f=6E4*e,g=(new Date(f+3E4)).getTimezoneOffset();if((new Date(f-3E4)).getTimezoneOffset()!=g)return f;if(g==c)a=e+1;else if(g==d)b=e-1;else break}return null};
  31. var fJ=function(a){_.S.call(this,a.ma);this.g=a.V.window;var b=void 0===b?!1:b;_.qD.isEnabled()&&(void 0===_.qD.get("OTZ")||b)&&_.qD.set("OTZ",eJ(),{Ps:2592E3,path:"/",domain:void 0,eB:"https:"===this.g.get().location.protocol})};_.C(fJ,_.S);fJ.W=function(){return{V:{window:_.yp}}};_.U(_.yq,fJ);
  32.  
  33. _.u();
  34.  
  35. }catch(e){_._DumpException(e)}
  36. }).call(this,this.default_OneGoogleWidgetUi);
  37. // Google Inc.
  38.  
Add Comment
Please, Sign In to add comment