this._D=this._D||{};(function(_){var window=this;
try{
_.r("nQy7te");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("JMlBJd");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("byfTOb");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("LEikZe");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sHns9b");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("rJmJrc");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("VLKYIb");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("vXcQ6e");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("n7wSQ");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("h8Xfyd");

_.u();

}catch(e){_._DumpException(e)}
try{
var Wmb;_.Vmb=function(a){return(a=a.getItem().ef())?_.y(a,1)||"":""};Wmb=[4,5,6,7];_.kC=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.kC,_.P);_.kC.prototype.Wb="JmcaR";_.kC.prototype.Fb=function(){return _.y(this,1)};_.kC.prototype.Dc=function(a){return _.x(this,1,a)};_.kC.prototype.zY=function(){return _.y(this,2)};_.Xmb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.Xmb,_.P);_.Xmb.prototype.Wb="dvhrqe";_.Xmb.prototype.V=function(){return _.F(this,1)};_.Ymb=function(a){_.Q(this,a,0,-1,Wmb,null)};
_.M(_.Ymb,_.P);_.Ymb.prototype.V=function(){return _.C(this,_.N3a,1)};_.Ymb.prototype.OC=function(){return _.C(this,_.kC,8)};_.Ymb.prototype.W=function(){return _.C(this,_.Xmb,9)};_.r("synz");
_.lC=function(a){_.Q(this,a,0,-1,Zmb,null)};_.M(_.lC,_.P);var Zmb=[2];_.lC.prototype.getUser=function(){return _.C(this,_.ok,1)};_.lC.prototype.getMetadata=function(){return _.C(this,_.Ymb,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syo0");

_.u();

}catch(e){_._DumpException(e)}
try{
_.yB=function(a){if(Array.isArray(a))return a.map(_.yB).join("");if(_.y(a,2)){if(!a.getId())throw Error("Jd");return a.getId()+"/"+_.y(a,2)+","}return""};_.zB=function(a,b){return _.jh(a,b)};_.r("syof");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syok");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

_.u();

}catch(e){_._DumpException(e)}
try{
var Inb,Jnb;_.Gnb=function(a){return a instanceof _.ob?a:a instanceof _.pb?a.qg:null};_.Hnb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")};Inb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
Jnb=function(a){var b=_.Kea(Inb,function(c){return a==c});if(void 0===b)throw Error("ib`"+a);return b};_.Knb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Inb[a.name]):(this.code=a=a.code,this.name=Jnb(a));_.aa.call(this,_.Hnb("%s %s",this.name,b))};_.M(_.Knb,_.aa);var Lnb=function(a,b){_.Qg.call(this,a.type,b)};_.M(Lnb,_.Qg);_.r("syol");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Mnb=function(){_.O.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.K)(this.GQ,this);this.H.onprogress=(0,_.K)(this.GQ,this);this.H.onload=(0,_.K)(this.GQ,this);this.H.onabort=(0,_.K)(this.GQ,this);this.H.onerror=(0,_.K)(this.GQ,this);this.H.onloadend=(0,_.K)(this.GQ,this)};_.M(_.Mnb,_.O);_.g=_.Mnb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Knb(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Knb(this.H.error,"reading file")};_.g.GQ=function(a){this.dispatchEvent(new Lnb(a,this))};_.g.ab=function(){_.Mnb.nb.ab.call(this);delete this.H};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sys8");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sys9");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysd");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysq");

_.u();

}catch(e){_._DumpException(e)}
try{
_.xkb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.xkb,_.P);_.xkb.prototype.RA=function(){return _.C(this,_.nta,1)};_.ykb=function(a){var b=new _.xkb;return _.R(b,1,a)};_.WB=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.WB,_.P);_.g=_.WB.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.y(this,5)};
_.g.Od=function(a){return _.x(this,5,a)};_.g.Gn=function(){return null!=_.y(this,5)};_.XB=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.XB,_.P);_.XB.prototype.V=function(){return _.y(this,1)};_.XB.prototype.Fb=function(){return _.y(this,2)};_.XB.prototype.Dc=function(a){return _.x(this,2,a)};_.XB.prototype.W=function(){return _.y(this,3)};_.r("sysp");
_.Akb=function(a){_.Q(this,a,0,-1,zkb,null)};_.M(_.Akb,_.P);var zkb=[1];_.Akb.prototype.V=function(){return _.y(this,1)};
_.Ckb=function(a){_.Q(this,a,0,-1,Bkb,null)};_.M(_.Ckb,_.P);var Bkb=[1];_.Ckb.prototype.V=function(){return _.vj(this,_.XB,1)};
_.Ekb=function(a){_.Q(this,a,0,-1,Dkb,null)};_.M(_.Ekb,_.P);var Dkb=[1];_.Ekb.prototype.V=function(){return _.vj(this,_.Ckb,1)};_.Ekb.prototype.addResult=function(a,b){return _.zj(this,1,a,_.Ckb,b)};
_.Fkb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.Fkb,_.P);_.Fkb.prototype.W=function(){return _.C(this,_.Ekb,1)};_.Fkb.prototype.V=function(){return _.C(this,_.Akb,2)};
_.YB=function(a){_.Q(this,a,0,-1,Gkb,null)};_.M(_.YB,_.P);var Gkb=[2,14,18];_.g=_.YB.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.zd=function(){return _.vj(this,_.vm,2)};_.g.gw=function(a){return _.yj(this,2,a)};_.g.Pf=function(a,b){return _.zj(this,2,a,_.vm,b)};_.g.Pj=function(){return _.y(this,3)};_.g.Aga=function(){return _.A(this,5,!0)};_.g.PW=function(){return _.C(this,_.Fkb,7)};_.g.Bga=function(){return _.F(this,8)};
_.g.jF=function(){return _.C(this,_.xkb,10)};_.g.gI=function(a){return _.R(this,10,a)};_.g.getSessionId=function(){return _.C(this,_.Bm,11)};_.g.setSessionId=function(a){return _.R(this,11,a)};_.g.QW=function(){return _.y(this,17)};_.g.SW=function(a){return _.x(this,17,a)};_.g.Ne=function(){return _.y(this,12)};_.g.RW=function(a){return _.x(this,12,a)};_.g.Jm=function(){return _.y(this,15)};_.g.V6=function(){return _.y(this,18)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysr");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sytf");
_.PC=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PC,_.P);_.PC.prototype.ke=function(){return _.C(this,_.pe,1)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sytx");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.wD=function(a,b,c){_.N.call(this);this.ds=null!=c?(0,_.K)(a,c):a;this.ma=b;this.Og=(0,_.K)(this.w_a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.M(_.wD,_.N);_.g=_.wD.prototype;_.g.se=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Le()+this.ma:this.H=_.Wh(this.Og,this.ma)};_.g.stop=function(){this.H&&(_.Zh(this.H),this.H=null);this.ha=null;this.V=!1;this.ka=[]};_.g.pause=function(){++this.W};
_.g.resume=function(){this.W&&(--this.W,!this.W&&this.V&&(this.V=!1,this.ds.apply(null,this.ka)))};_.g.ab=function(){this.stop();_.wD.nb.ab.call(this)};_.g.w_a=function(){this.ha?(this.H=_.Wh(this.Og,this.ha-_.Le()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.ds.apply(null,this.ka)))};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvr");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syw5");

_.u();

}catch(e){_._DumpException(e)}
try{
_.iG=function(a){return _.y(a,11)};_.r("syvu");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvv");
_.jG=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jG,_.P);_.jG.prototype.Gc=function(){return _.y(this,1)};_.nLb=function(a){var b=new _.jG;return _.x(b,1,a)};_.jG.prototype.lh=function(){return _.y(this,2)};_.jG.prototype.Ki=function(a){return _.x(this,2,a)};_.jG.prototype.ke=function(){return _.C(this,_.pe,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvw");

_.u();

}catch(e){_._DumpException(e)}
try{
_.UKb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.UKb,_.P);_.r("syvx");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvz");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syw0");

_.u();

}catch(e){_._DumpException(e)}
try{
_.$F=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.$F,_.P);_.$F.prototype.getName=function(){return _.y(this,1)};_.$F.prototype.wd=function(a){return _.x(this,1,a)};_.$F.prototype.ke=function(){return _.C(this,_.pe,2)};_.r("syw6");
_.aG=function(a){_.Q(this,a,0,-1,kKb,null)};_.M(_.aG,_.P);var kKb=[5,6,9,10,12,13,15,16];_.aG.prototype.getId=function(){return _.y(this,1)};_.aG.prototype.kc=function(a){return _.x(this,1,a)};_.aG.prototype.ay=function(){return _.y(this,2)};
_.bG=function(a){_.Q(this,a,0,-1,lKb,null)};_.M(_.bG,_.P);var lKb=[2,4];_.bG.prototype.Kk=function(){return _.y(this,1)};_.mKb=function(a,b){return _.x(a,1,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syyq");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.CH=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ta=d||2};_.CH.prototype.V=0;_.CH.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.CH.prototype.tb=function(){return this.W};_.DH=function(a){a.H=Math.min(a.ha,a.H*a.ta);a.W=Math.min(a.ha,a.H+(a.ma?Math.round(a.ma*(Math.random()-.5)*2*a.H):0));a.V++};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syym");
var MXb=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"moz-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"chrome-untrusted"!==a&&"chrome"!==a&&"app"!==a&&"devtools"!==a)throw Error("Ie`"+
a);c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
var NXb=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}function b(t){for(var v=h,z=0;64>z;z+=4)v[z/4]=t[z]<<24|t[z+1]<<16|t[z+2]<<8|t[z+3];for(z=16;80>z;z++)t=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],E=e[2],L=e[3],J=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var X=L^B&(E^L);var T=1518500249}else X=B^E^L,T=1859775393;else 60>z?(X=B&E|L&(B|E),T=2400959708):(X=B^E^L,T=3395469782);X=((t<<5|t>>>27)&4294967295)+
X+J+T+v[z]&4294967295;J=L;L=E;E=(B<<30|B>>>2)&4294967295;B=t;t=X}e[0]=e[0]+t&4294967295;e[1]=e[1]+B&4294967295;e[2]=e[2]+E&4294967295;e[3]=e[3]+L&4294967295;e[4]=e[4]+J&4294967295}function c(t,v){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],B=0,E=t.length;B<E;++B)z.push(t.charCodeAt(B));t=z}v||(v=t.length);z=0;if(0==n)for(;z+64<v;)b(t.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[n++]=t[z++],q++,64==n)for(n=0,b(f);z+64<v;)b(t.slice(z,z+64)),z+=64,q+=64}function d(){var t=[],
v=8*q;56>n?c(k,56-n):c(k,64-(n-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var B=24;0<=B;B-=8)t[v++]=e[z]>>B&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var t=d(),v="",z=0;z<t.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(t[z]/16))+"0123456789ABCDEF".charAt(t[z]%16);return v}}};
var PXb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ga(d,function(k){e.push(k)}),OXb(e.join(" "));var f=[],h=[];_.Ga(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.ia(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ga(d,function(k){e.push(k)});a=OXb(e.join(" "));a=[c,a];_.ia(h)||a.push(h.join(""));return a.join("_")},OXb=function(a){var b=NXb();b.update(a);return b.digestString().toLowerCase()};
_.QXb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.wbb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.RXb=function(a){var b=MXb(String(_.m.location.href));if(_.QXb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.wbb(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.m.location.href);return d&&c&&b?[b,PXb(MXb(d),c,a||null)].join(" "):null}}return null};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syyl");
_.SXb=function(a,b,c){_.ti(a.url,function(d){d=d.target;_.vi(d)?b(_.wi(d)):c(d.Fb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.TXb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.TXb,_.P);_.TXb.prototype.yi=function(){return _.y(this,7)};
_.UXb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.UXb,_.P);_.Ej[66321687]=new _.jj(66321687,_.UXb);
var VXb;_.EH=function(a){_.Q(this,a,0,30,VXb,null)};_.M(_.EH,_.P);VXb=[3,20,27];_.FH=function(a,b){return _.x(a,8,b)};
var XXb=function(a){_.Q(this,a,0,17,WXb,null)};_.M(XXb,_.P);var WXb=[3,5],YXb=function(a){var b=_.Le().toString();return _.x(a,4,b)},ZXb=function(a,b){return _.yj(a,3,b)},$Xb=function(a,b){return _.x(a,14,b)};
var bYb=function(a){_.Q(this,a,0,6,aYb,null)};_.M(bYb,_.P);var aYb=[5];
var cYb=function(a){_.Q(this,a,0,-1,null,null)};_.M(cYb,_.P);
var dYb=new _.jj(175237375,cYb);
var fYb;
_.GH=function(a,b,c,d,e,f,h,k,l,n,q){_.O.call(this);this.Ld=a;this.tc=b||_.Ie;this.W=new XXb;this.Qa="";this.Md=d;this.Cc=q;this.H=[];this.Vb="";this.Oe=_.Ke(_.dha,0,1);this.wa=e||null;this.Ga=c||null;this.Wa=h||!1;this.Ma=l||null;this.Hc=this.Zc=this.ha=!1;this.lc=this.hb=-1;this.Db=!1;this.ka=null;this.ie=!k;this.Ba=null;this.Ka=0;this.Ge=1;this.Ib=f||!1;this.rb=!1;this.kd=!this.Ib&&(_.Oi.Xn&&_.Ag(65)||_.Oi.Fu&&_.Ag(45))&&!!_.ae()&&!!_.ae().navigator&&!!_.ae().navigator.sendBeacon;a=_.x(new _.UXb,1,
1);f||(f=new _.TXb,b=document.documentElement.getAttribute("lang"),f=_.x(f,5,b),_.R(a,11,f));_.R(this.W,1,a);_.x(this.W,2,this.Ld);this.ma=new _.CH(1E4,3E5,.1);this.V=new _.Vh(this.ma.tb());this.Pa(this.V);_.md(this.V,"tick",_.Yea(eYb(this,n)),!1,this);this.Ja=new _.Vh(6E5);this.Pa(this.Ja);_.md(this.Ja,"tick",_.Yea(eYb(this,n)),!1,this);this.Wa||this.Ja.start();this.Ib||(_.md(_.ae(),"beforeunload",this.ta,!1,this),_.md(_.ae(),"unload",this.ta,!1,this),_.md(document,"pagehide",this.ta,!1,this))};
_.M(_.GH,_.O);var eYb=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.GH.prototype.ab=function(){this.ta();_.GH.nb.ab.call(this)};fYb=function(a){a.wa||(a.wa=.01>a.Oe()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.gYb=function(a){a.Zc=a.kd};_.hYb=function(a,b){a.ma=new _.CH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.tb())};
_.GH.prototype.log=function(a){a=_.Dj(a);var b=this.Ge++;_.x(a,21,b);this.Qa&&_.x(a,26,this.Qa);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.x(b,1,c)}null==_.y(a,15)&&_.x(a,15,60*(new Date).getTimezoneOffset());this.ka&&(b=_.Dj(this.ka),_.R(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new iYb(a));this.Wa||this.V.enabled||this.V.start()};
_.GH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)jYb(this);else{var d=_.Le();if(this.lc>d&&this.hb<d)b&&b("throttled");else{var e=$Xb(ZXb(YXb(_.Dj(this.W)),this.H),this.Ka);d={};var f=this.tc();f&&(d.Authorization=f);var h=fYb(this);this.Ga&&(d["X-Goog-AuthUser"]=this.Ga,h=_.oi(h,"authuser",this.Ga));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.oi(h,"pageId",this.Ma));if(f&&this.Vb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Ka=
0,this.ha)a&&a();else{var k=e.Ac(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,ZPa:1,requestHeaders:d,requestType:"POST",withCredentials:this.ie,timeoutMillis:0},q=(0,_.K)(function(z){this.ma.reset();this.V.setInterval(this.ma.tb());if(z){try{var B=JSON.parse(z.replace(")]}'\n",""));var E=new bYb(B)}catch(L){}E&&(z=_.D(E,1,"-1"),z=Number(z),0<z&&(this.hb=_.Le(),this.lc=this.hb+z),E=_.Bj(E,dYb))&&(E=_.D(E,1,-1),-1!=E&&(this.Db||_.hYb(this,E)))}a&&a()},this),t=(0,_.K)(function(z){var B=
_.vj(e,_.EH,3);_.DH(this.ma);this.V.setInterval(this.ma.tb());401==z&&f&&(this.Vb=f);if(500<=z&&600>z||401==z||0==z)this.H=B.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),v=function(){c.Cc?c.Cc.send(n,q,t):c.Md(n,q,t)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.ZPa=2;v()},function(){v()}):v()}}}};
_.GH.prototype.ta=function(){this.ha||(this.Zc&&jYb(this),this.Hc&&kYb(this),this.flush())};
var jYb=function(a){lYb(a,32,10,function(b,c){b=_.oi(b,"format","json");b=_.ae().navigator.sendBeacon(b,c.Ac());a.rb&&!b&&(a.rb=!1);return b})},kYb=function(a){lYb(a,6,5,function(b,c){b=_.li(b,"format","base64json","p",_.Qi(c.Ac(),3));_.Wf(new Image,b);return!0})},lYb=function(a,b,c,d){if(0!=a.H.length){var e=_.Aja(fYb(a),"format");e=_.li(e,"auth",a.tc(),"authuser",a.Ga||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=ZXb(YXb(_.Dj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
iYb=function(){this.type="event-logged"};_.M(iYb,_.Qg);
_.HH=function(a,b,c,d,e,f,h){_.GH.call(this,a,_.RXb,b,_.SXb,c,d,e,void 0,f,h)};_.I(_.HH,_.GH);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syzj");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy10q");
_.xM=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.xM,_.P);_.xM.prototype.getKey=function(){return _.y(this,1)};_.gDc=function(a,b){return _.x(a,1,b)};_.xM.prototype.tb=function(){return _.y(this,2)};_.xM.prototype.jc=function(a){return _.x(this,2,a)};_.xM.prototype.ul=function(){return _.x(this,2,void 0)};_.xM.prototype.Ph=function(){return null!=_.y(this,2)};
_.yM=function(a){_.Q(this,a,0,-1,hDc,null)};_.M(_.yM,_.P);var hDc=[2,4,6];_.yM.prototype.PC=function(){return _.y(this,1)};_.iDc=function(a,b){return _.yj(a,2,b)};_.yM.prototype.getUrl=function(){return _.y(this,3)};_.jDc=function(a,b){return _.x(a,3,b)};_.kDc=function(a,b){return _.x(a,5,b)};
_.lDc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.mDc=_.Nea(_.lDc);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy10r");

_.u();

}catch(e){_._DumpException(e)}
try{
_.nDc=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.r("sy10z");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

_.u();

}catch(e){_._DumpException(e)}
try{
_.zM=function(a,b){return _.x(a,4,b)};_.oDc=function(a,b){_.x(a,11,b)};_.AM=function(a,b){_.x(a,25,b)};_.BM=function(a,b,c){return _.MVa(a,b,c?32:16)};_.pDc=function(a,b,c,d,e,f){var h=new _.yi(null,void 0);a&&_.zi(h,a);b&&(h.ka=b);c&&_.Ai(h,c);d&&_.Bi(h,d);e&&_.Ci(h,e);f&&_.Di(h,f);return h};_.r("sy111");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.CM=function(a,b,c){_.N.call(this);this.ds=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.I(_.CM,_.N);_.g=_.CM.prototype;_.g.se=function(a){this.ha=arguments;this.H||this.W?this.V=!0:qDc(this)};_.g.stop=function(){this.H&&(_.Zh(this.H),this.H=null,this.V=!1,this.ha=null)};_.g.pause=function(){this.W++};_.g.resume=function(){this.W--;this.W||!this.V||this.H||(this.V=!1,qDc(this))};_.g.ab=function(){_.N.prototype.ab.call(this);this.stop()};
var qDc=function(a){a.H=_.Wh(function(){a.H=null;a.V&&!a.W&&(a.V=!1,qDc(a))},a.ka);var b=a.ha;a.ha=null;a.ds.apply(null,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
var rDc=function(a,b){if(b&&a in b)return a;var c=_.AEa();return c?(c=c.toLowerCase(),a=c+_.rga(a),void 0===b||a in b?a:null):null};_.r("sy112");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sDc=function(a){_.O.call(this);this.Gd=a||_.fh();if(this.JA=this.aZa())this.H=_.md(this.Gd.Xb(),this.JA,(0,_.K)(this.B_a,this))};_.M(_.sDc,_.O);_.g=_.sDc.prototype;_.g.aZa=_.Kba(function(){var a=!!this.UX(),b="hidden"!=this.UX();if(a){var c;b?c=((_.AEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.UX=_.Kba(function(){return rDc("hidden",this.Gd.Xb())});_.g.o_a=_.Kba(function(){return rDc("visibilityState",this.Gd.Xb())});_.g.uJ=function(){return!!this.Gd.Xb()[this.UX()]};
_.g.B_a=function(){var a=this.UX()?this.Gd.Xb()[this.o_a()]:null;a=new tDc(this.uJ(),a);this.dispatchEvent(a)};_.g.ab=function(){_.Xg(this.H);_.sDc.nb.ab.call(this)};var tDc=function(a){_.Qg.call(this,"visibilitychange");this.hidden=a};_.M(tDc,_.Qg);

_.u();

}catch(e){_._DumpException(e)}
try{
_.uDc=function(a){return _.fe(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};_.vDc=function(){this.H=-1};_.r("sy114");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.DM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.M(_.DM,_.vDc);_.DM.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.ha=this.W=0};
var wDc=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.V[0];c=a.V[1];e=a.V[2];var f=a.V[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>
15);h=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|
h>>>20);h=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<
5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|
h>>>21);h=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+f&4294967295};
_.DM.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.H,d=this.ka,e=this.W,f=0;f<b;){if(0==e)for(;f<=c;)wDc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){wDc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){wDc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.DM.prototype.digest=function(){var a=Array((56>this.W?this.H:2*this.H)-this.W);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ha;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.V[b]>>>d&255;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var zDc;_.EM=function(a){return a instanceof Error};_.FM=function(a){var b={};_.$e(a,function(c,d){b[d.toLowerCase()]=c});return b};_.xDc=function(a){return(a=a&&_.FM(a))&&a["x-guploader-uploadid"]};_.yDc=function(a){return(a=a&&_.FM(a))&&a["x-google-trace"]};zDc=[6];_.GM=function(a){_.Q(this,a,0,-1,zDc,null)};_.M(_.GM,_.P);_.HM=function(a,b){return _.x(a,14,b)};_.r("sy11q");
_.ADc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ADc,_.P);
_.IM=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IM,_.P);_.IM.prototype.getOptions=function(){return _.C(this,_.ADc,1)};_.IM.prototype.Jm=function(){return _.y(this,2)};_.IM.prototype.hd=function(){return _.C(this,_.he,3)};
_.BDc=function(a){_.Q(this,a,0,-1,null,_.JM)};_.M(_.BDc,_.P);_.JM=[[3,4,5,6,7,8,9,10]];
var CDc,EDc;
_.DDc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200==a||204==a||308==a)return null;e=CDc(e)||new _.ob;_.x(e,8,!0);k&&(k=_.Di(new _.yi(k),void 0).toString(),_.x(e,19,k));e.EC()||_.x(e,15,a||f);e.getMessage()||_.mq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.nq(e,d);e.Pi()||(5==f?_.HM(e,7):0!=a||d?403==a?_.HM(e,22):503==a||429==a?_.HM(e,24):(_.x(e,14,void 0),_.x(e,10,1),_.x(e,8,!0)):l||_.HM(e,2));e.j1(_.xDc(c));e.W0(_.yDc(c));
return e};CDc=function(a){if(!_.wa(a))return null;var b=new _.ob,c=a.error;if(!c)return _.nq(b,JSON.stringify(a)),null;_.x(b,15,c.code);_.mq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=EDc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.nq(b,a);return b};
EDc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,teamDriveFileLimitExceeded:40,
teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,
mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy125");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

_.u();

}catch(e){_._DumpException(e)}
try{
_.KM=function(a){return _.A(a,5,!1)};_.r("sy11w");

_.u();

}catch(e){_._DumpException(e)}
try{
var FDc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.kea);try{delete a[_.kea]}catch(b){}},LM=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.wa(f)){f[_.kea]||c.push(f);var l=_.xa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var n in f)"function"!==typeof f[n]&&(b.push("\n"),b.push(k),b.push(n+" = "),e(f[n],k));b.push("\n"+h+"}");delete d[l]}}else b.push(f)}catch(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)FDc(c[a]);return b.join("")};_.r("sy128");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var NM,HDc,GDc;_.MM=function(a,b,c){if("number"===typeof a)var d={name:GDc(a)};else d=a,a=HDc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.M(_.MM,_.aa);_.MM.prototype.getName=function(){return this.V.name||""};NM={YNa:1,uNa:2,NOT_FOUND_ERR:3,BMa:4,GMa:5,vNa:6,VNa:7,ABORT_ERR:8,INa:9,yzb:10,TIMEOUT_ERR:11,FNa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.IDc=(_.m.ZB||_.m.sE||NM).YNa;_.JDc=(_.m.ZB||_.m.sE||NM).uNa;_.KDc=(_.m.ZB||_.m.sE||NM).NOT_FOUND_ERR;
_.LDc=(_.m.ZB||_.m.sE||NM).BMa;_.MDc=(_.m.ZB||_.m.sE||NM).GMa;_.NDc=(_.m.ZB||_.m.sE||NM).vNa;_.ODc=(_.m.ZB||_.m.sE||NM).VNa;_.PDc=(_.m.ZB||_.m.sE||NM).ABORT_ERR;_.QDc=(_.m.ZB||_.m.sE||NM).INa;_.RDc=(_.m.ZB||_.m.sE||NM).TIMEOUT_ERR;_.SDc=(_.m.ZB||_.m.sE||NM).FNa;_.TDc=(_.m.DOMException||NM).INVALID_ACCESS_ERR;_.UDc=(_.m.DOMException||NM).INVALID_STATE_ERR;
HDc=function(a){switch(a){case "UnknownError":return _.IDc;case "NotFoundError":return _.KDc;case "ConstraintError":return _.LDc;case "DataError":return _.MDc;case "TransactionInactiveError":return _.ODc;case "AbortError":return _.PDc;case "ReadOnlyError":return _.QDc;case "TimeoutError":return _.RDc;case "QuotaExceededError":return _.SDc;case "InvalidAccessError":return _.TDc;case "InvalidStateError":return _.UDc;default:return _.IDc}};
GDc=function(a){switch(a){case _.IDc:return"UnknownError";case _.KDc:return"NotFoundError";case _.LDc:return"ConstraintError";case _.MDc:return"DataError";case _.ODc:return"TransactionInactiveError";case _.PDc:return"AbortError";case _.QDc:return"ReadOnlyError";case _.RDc:return"TimeoutError";case _.SDc:return"QuotaExceededError";case _.TDc:return"InvalidAccessError";case _.UDc:return"InvalidStateError";default:return"UnknownError"}};
_.OM=function(a,b){return"error"in a?new _.MM(a.error,b):new _.MM({name:"UnknownError"},b)};_.PM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.MM(a,b);if("code"in a){var c=GDc(a.code);b=b+": "+a.message;return new _.MM({name:c},b)}return new _.MM({name:"UnknownError"},b)};
_.QM=function(a){this.H=a};_.VDc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.QM.prototype.range=function(){return this.H};
var WDc=function(a){this.H=a};WDc.prototype.getName=function(){return this.H.name};var XDc=function(a,b,c,d){var e=new _.Hj;try{var f=a.H[b](d)}catch(h){return c+=" with key "+LM(d),e.Bd(_.PM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+LM(d);e.Bd(_.OM(h.target,c))};return e};WDc.prototype.get=function(a){return XDc(this,"get","getting from index "+this.getName(),a)};
WDc.prototype.getKey=function(a){return XDc(this,"getKey","getting key from index "+this.getName(),a)};WDc.prototype.getAll=function(a,b){return _.YDc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.YDc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.QM?d.H:(new _.QM(_.VDc.only(d))).H;var h=new _.Hj;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?LM(f):"<all>"),h.Bd(_.PM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?LM(f):"<all>");h.Bd(_.OM(l.target,c))};return h};
var RM=function(a){this.H=a},ZDc;RM.prototype.getName=function(){return this.H.name};ZDc=function(a,b,c,d,e){var f=new _.Hj;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=LM(d),e&&(c+=", with key "+LM(e)),f.Bd(_.PM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=LM(d);e&&(c+=", with key "+LM(e));f.Bd(_.OM(k.target,c))};return f};_.$Dc=function(a,b,c){return ZDc(a,"put","putting into "+a.getName()+" with value",b,c)};
RM.prototype.add=function(a,b){return ZDc(this,"add","adding into "+this.getName()+" with value ",a,b)};RM.prototype.remove=function(a){var b=new _.Hj;try{var c=this.H["delete"](a instanceof _.QM?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+LM(a),b.Bd(_.PM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+LM(a);b.Bd(_.OM(e.target,f))};return b};
RM.prototype.get=function(a){var b=new _.Hj;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+LM(a),b.Bd(_.PM(e,c)),b}c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){var f="getting from "+d.getName()+" with key "+LM(a);b.Bd(_.OM(e.target,f))};return b};RM.prototype.getAll=function(a,b){return aEc(this,"getting all from index "+this.getName(),a,b)};
var aEc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.QM?c.H:(new _.QM(_.VDc.only(c))).H;var f=new _.Hj;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?LM(e):"<all>"),f.Bd(_.PM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?LM(e):"<all>");f.Bd(_.OM(k.target,b))};return f};
RM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Hj;try{var c=this.H.clear()}catch(d){return b.Bd(_.PM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Bd(_.OM(d.target,a))};return b};_.bEc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.PM(d,"creating new index "+b+" with key path "+c);}};RM.prototype.getIndex=function(a){try{return new WDc(this.H.index(a))}catch(b){throw _.PM(b,"getting index "+a);}};
RM.prototype.count=function(a){var b=new _.Hj;try{var c=this.H.count(a?a.H:null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Bd(_.OM(e.target,d.getName()))}}catch(e){b.Bd(_.PM(e,this.getName()))}return b};
var cEc=function(a,b){_.O.call(this);this.H=a;this.V=b;this.Lb=new _.Xd(this);this.Lb.listen(this.H,"complete",(0,_.K)(this.dispatchEvent,this,"complete"));this.Lb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.y_a)};_.M(cEc,_.O);_.g=cEc.prototype;_.g.y_a=function(a){a.target instanceof _.MM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.OM(a.target,"in transaction")})};_.g.Jh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new RM(this.H.objectStore(a))}catch(b){throw _.PM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.PM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Hj;_.Bd(this,"complete",(0,_.K)(a.callback,a));var b=_.Bd(this,"abort",function(){_.Xg(c);a.Bd(new _.MM(_.PDc,"waiting for transaction to complete"))});var c=_.Bd(this,"error",function(e){_.Xg(b);a.Bd(e.target)});var d=this.V;return a.mb(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.ab=function(){cEc.nb.ab.call(this);this.Lb.dispose()};
var dEc=function(a){_.O.call(this);this.H=a;this.Lb=new _.Xd(this);this.Lb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.x_a);this.Lb.listen(this.H,"versionchange",this.DTa);this.Lb.listen(this.H,"close",(0,_.K)(this.dispatchEvent,this,"close"))};_.M(dEc,_.O);_.g=dEc.prototype;_.g.Oia=!0;_.g.x_a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.DTa=function(a){this.dispatchEvent(new eEc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Oia&&(this.H.close(),this.Oia=!1)};_.g.ri=function(){return this.Oia};_.g.getName=function(){return this.H.name};_.fEc=function(a,b,c){try{return new RM(a.H.createObjectStore(b,c))}catch(d){throw _.PM(d,"creating object store "+b);}};_.SM=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new cEc(d,a)}catch(e){throw _.PM(e,"creating transaction");}};
dEc.prototype.ab=function(){dEc.nb.ab.call(this);this.Lb.dispose()};var eEc=function(a,b){_.Qg.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.M(eEc,_.Qg);
_.gEc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB;_.hEc=function(a,b,c,d){var e=new _.Hj;b=b?_.gEc.open(a,b):_.gEc.open(a);b.onsuccess=function(f){f=new dEc(f.target.result);e.callback(f)};b.onerror=function(f){e.Bd(_.OM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new dEc(f.target.result);c(new eEc(f.oldVersion,f.newVersion),h,new cEc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new eEc(f.oldVersion,f.newVersion))};return e};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy129");
_.iEc=function(a){this.V=a};_.iEc.prototype.H=function(a){a=_.FH(new _.EH,a.Ac());this.V.log(a);return new _.Nh(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.jEc=function(a){this.V=a;_.gYb(this.V)};_.jEc.prototype.H=function(a){a=_.FH(new _.EH,a.Ac());this.V.log(a);this.V.ta()};

_.u();

}catch(e){_._DumpException(e)}
try{
var kEc=function(a){_.Q(this,a,0,-1,null,null)},vEc;_.M(kEc,_.P);var lEc=[3,42],mEc=function(a){_.Q(this,a,0,-1,lEc,null)};_.M(mEc,_.P);mEc.prototype.Ub=function(){return _.y(this,27)};var nEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(nEc,_.P);var oEc=[2],pEc=function(a){_.Q(this,a,0,-1,oEc,null)};_.M(pEc,_.P);var qEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(qEc,_.P);var rEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(rEc,_.P);var sEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(sEc,_.P);
var uEc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.zza.length;a++){var b=_.zza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;tEc(this,b);break}}},tEc=function(a,b){a.V=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.W=!0;a.V.onDisconnect.addListener(function(){a.W=!1});document.addEventListener("mousemove",function(c){a.ha=c.clientX;a.ka=c.clientY})};
uEc.prototype.H=function(a){if(this.ma&&this.W){var b=_.C(a,_.Na,2)||new _.Na,c=_.C(a,_.Zo,5)||new _.Zo,d=_.C(a,_.Yo,3)||new _.Yo;a=_.vj(a,_.Gya,1);a=_.p(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.Ac(),session_info:b.Ac(),session_invariants:c.Ac(),client_info:d.Ac()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};vEc=function(a){this.H=a};_.wEc=function(a){this.Kd=a};_.wEc.prototype.getId=function(){return this.Kd};
_.r("sy11z");
var xEc=function(){_.Cp.call(this)};_.I(xEc,_.Cp);xEc.prototype.$r=function(){return 1==_.y(_.C(this.H,kEc,7),1)};var yEc=new _.yp("high_frequency_builder");
var zEc=function(a,b,c){a=new _.Vh(a);c.Pa(a);var d=new _.Xd(c);c.Pa(d);d.listen(a,"tick",b);a.start()};
var AEc=function(){_.Cp.call(this)};_.I(AEc,_.Cp);var BEc=function(a,b,c){var d=1E3*_.Le();if(0==b){b=new _.Lo;var e=new _.pya;e=_.x(e,1,d);_.R(b,1,e);_.x(b,3,1);_.R(a.H,8,b);_.x(a.H,12,c);_.x(a.H,13,c);_.x(a.H,4,d);_.x(a.H,3,c)}else 1==b&&(b=new _.Lo,e=new _.qya,d=_.x(e,1,d),_.R(b,2,d),_.x(b,3,2),_.R(a.H,8,b),_.x(a.H,12,c),_.x(a.H,3,c));return a},CEc=new _.yp("system_builder");
var DEc=function(a,b){_.N.call(this);this.V=a;this.H=new _.sDc(b);this.Pa(this.H);this.Lb=new _.Xd(this);this.Pa(this.Lb);this.H.UX()&&this.Lb.listen(this.H,"visibilitychange",this.W)};_.I(DEc,_.N);DEc.prototype.W=function(){if(this.V.eO()){var a=this.H.uJ()?102001:102E3;a=this.V.nD(a,0);this.V.Ro(a)}};
var EEc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.V=b;this.Pa(this.V);this.ha=c;this.W=null};_.I(EEc,_.N);_.g=EEc.prototype;_.g.Ro=function(a){var b=this.H;_.x(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.$b()&&b.V.se();return new vEc(a)};_.g.nD=function(a,b){a=BEc(FEc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.oG=function(){return this.H.V};
_.g.lF=function(a){var b=this.H,c=_.Dp(a,CEc),d=b.ka++,e=_.C(_.C(c.H,_.Lo,8),_.qya,2),f=1E3*_.Le();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.y(a.H,12))};_.g.pT=function(){var a=this.V;if(!a.ka||a.H.W){var b=GEc(a.H,691).build();b=HEc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.dc(this.W),this.W=null)};_.g.qT=function(){var a=this.H,b=GEc(a,716);IEc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.se();this.ha&&(this.W=new DEc(this))};_.g.g6=function(){this.V.ha();return _.Rh(_.bi(this.V.W)).then()};
_.g.eO=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var JEc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.CM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.I(JEc,_.N);JEc.prototype.initialize=function(){zEc(this.wa,this.V.se,this.V);zEc(36E5,this.ma,this)};JEc.prototype.ha=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ka||this.H.W)){var b=KEc(this.H),c=this.Ba.H(b);c&&(_.Th(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
JEc.prototype.ma=function(){var a=this.H,b=GEc(a,1153).build();a.H.add(b);this.V.se()};
var LEc=function(a){_.N.call(this);this.H=a;this.Pa(this.H)};_.I(LEc,_.N);_.g=LEc.prototype;_.g.Ro=function(a){a=this.H.Ro(a);this.g6();return a};_.g.nD=function(a,b){return this.H.nD(a,b)};_.g.oG=function(){return this.H.oG()};_.g.lF=function(a){return this.H.lF(a)};_.g.pT=function(){return this.H.pT()};_.g.qT=function(){return this.H.qT()};_.g.g6=function(){return this.H.g6()};_.g.eO=function(){return this.H.eO()};
var MEc=function(){};MEc.prototype.EI=function(){return new xEc};
var NEc=function(){this.H=[]};NEc.prototype.add=function(a){this.H.push(a)};NEc.prototype.$b=function(){return this.H.length};
var OEc=function(){this.H={}};OEc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};OEc.prototype.remove=function(a){delete this.H[a]};
var PEc=function(a,b){this.V=a;this.Ga=b;this.ka=1;this.wa=this.ha=null;this.ma=new OEc;this.H=new NEc;this.ta=this.Ba=this.W=!1},FEc=function(a,b){a=_.Dp((new _.Cp).initialize(new _.Gya,a.Ga),CEc);_.x(a.H,10,b);return a},KEc=function(a){var b=a.H,c=b.H;b.H=[];return HEc(a,c)},HEc=function(a,b){var c=new _.Sya;var d=_.Dj(a.V.ha);c=_.R(c,2,d);d=a.V;(d=d.V?_.Dj(d.V):null)&&_.R(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.C(b[h],_.Xo,5);if(k&&_.C(k,mEc,1)){k=_.C(k,mEc,1);null!=_.y(k,12)&&
void 0===e&&(e=_.F(k,12));k=_.C(k,nEc,20);if(void 0!==k&&void 0===f){f=new sEc;var l=_.F(k,2);void 0!==l&&_.x(f,2,l);k=_.F(k,1);void 0!==k&&_.x(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.Dj(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.Yo),void 0!==e&&_.x(d,6,e),void 0!==f&&_.R(d,13,f);(e=d)&&_.R(c,3,e);a=_.Dj(a.V.ka);_.R(c,4,a);_.yj(c,1,b);return c},GEc=function(a,b){var c=BEc(FEc(a,b),0,a.ka++);var d=a.ma;var e=Object.keys(d.H);if(0==e.length)d=null;else{for(var f=[],h=0;h<e.length;h++){var k=
Number(e[h]),l=d.H[k],n=new qEc;k=_.x(n,1,k);l=_.y(l.H,10);l=_.x(k,2,l);f.push(l)}d=f}716!=b&&(b=a.wa,_.x(c.H,6,a.ha),e=new pEc,b=_.x(e,1,b),d&&_.yj(b,2,d),d=_.Ep(c),_.R(d,3,b));IEc(a,c);return c},IEc=function(a,b){a.ha=_.y(b.H,12);a.wa=_.y(_.C(_.C(b.H,_.Lo,8),_.pya,1),1)};
var QEc=function(){};QEc.prototype.EI=function(){return new AEc};
var REc=function(){this.H=this.V=null};REc.prototype.build=function(){null==this.H&&(this.H=new _.fCa);_.Gp(this.H,CEc,new QEc);_.Gp(this.H,yEc,new MEc);var a=this.H;var b=this.V;if(null==_.y(_.TM(b),1)){var c=_.TM(b),d=new _.oya;_.R(c,1,d)}b=_.C(_.TM(b),_.oya,1);a.H=b;b=_.oc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new PEc(this.V,this.H)};
var SEc=function(){this.ha=new _.Na;this.V=null;this.ka=new rEc;_.x(this.ka,1,6);this.H=this.W=null};SEc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.TEc=function(a,b){_.x(a.ha,2,b);return a};_.UEc=function(a,b){if(null==a.W){a.W=new _.Mya;var c=_.TM(a);_.R(c,2,a.W)}_.x(a.W,1,b)};_.TM=function(a){null==a.V&&(a.V=new _.Zo);return a.V};_.VEc=function(a){null==a.H&&(a.H=new _.Yo);return a.H};
_.WEc=function(){this.V=this.ma=null;this.ka=new SEc;this.ha=null;this.H=this.ta=!1;this.W=null};_.XEc=function(a,b){a.ma=b;return a};_.YEc=function(a,b){a.V=b;return a};_.ZEc=function(a,b){a.ha=b;return a};_.WEc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.$Ec=function(a,b){_.x(a.ka.ha,6,b);return a};
_.WEc.prototype.build=function(){var a=new REc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new uEc;this.V=this.ma=b}b=new JEc(a,this.ma,this.V,this.ta,this.W);a=new EEc(a,b,!1);this.H&&(a=new LEc(a));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var cFc;_.WM=function(a){if(a instanceof _.ob)return a;var b;if(_.EM(a)){if(b=_.Gnb(a))return b;b=_.uDa(void 0,void 0,a)}else b="string"===typeof a?_.uDa(a):_.uDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.UM(b,2);_.VM(b,6);return b};_.aFc=function(a){var b=a.Pi();a=a.EC();return 15==b||32==b||33==b||401==a};_.XM=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.bFc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.bFc,_.P);_.YM=function(a){return _.D(a,1,0)};_.ZM=function(a){return _.C(a,_.bFc,4)};_.$M=function(a){return _.A(a,84,!1)};_.UM=function(a,b){return _.x(a,1,b)};_.VM=function(a,b){return _.x(a,2,b)};cFc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.aN=function(a){_.Q(this,a,0,-1,cFc,null)};_.M(_.aN,_.P);_.g=_.aN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Qf=function(){return _.y(this,3)};_.g.ol=function(a){return _.x(this,3,a)};_.g.Kq=function(a){return _.x(this,4,a)};_.g.mh=function(){return _.F(this,5)};_.g.Rn=function(a){return _.x(this,5,a)};_.g.Ub=function(){return _.y(this,6)};_.g.pA=function(a,b){_.tj(this,8,a,b)};_.g.Wh=function(){return _.y(this,12)};_.g.ke=function(){return _.C(this,_.pe,17)};_.g.hp=function(){return _.F(this,18)};_.g.wc=function(){return _.y(this,21)};
_.bN=function(a,b){return _.x(a,16,b)};_.r("sy11p");
_.cN=function(a){_.Q(this,a,0,-1,dFc,null)};_.M(_.cN,_.P);var dFc=[5];_.cN.prototype.RI=function(){return _.D(this,2,100)};_.cN.prototype.Oh=function(){return _.y(this,5)};_.cN.prototype.ke=function(){return _.C(this,_.pe,6)};_.cN.prototype.wc=function(){return _.y(this,8)};
_.eFc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var dN;dN={};_.fFc=(dN[0]="/drive/v2internal",dN[1]="/drive/v2internal.corp",dN[2]="/drive/v2internal.scary",dN[4]="/drive/v2internal.scary",dN[5]="/drive/v2beta",dN[6]="/drive/v2.1beta",dN);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var eN,hFc;eN={};_.gFc=(eN[1]="modifiedDate",eN[2]="modifiedByMeDate",eN[3]="quotaBytesUsed",eN[4]="title",eN[6]="lastViewedByMeDate",eN[10]="createdDate",eN[7]="sharedWithMeDate",eN[9]="starred",eN[11]="recency",eN[5]="relevance",eN[12]="trashedDate",eN[13]="lastViewedByMeDate",eN);hFc={};_.iFc=(hFc[1]="asc",hFc[2]="desc",hFc);
_.jFc=function(a,b,c,d,e,f,h){a="number"===typeof a?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():_.Le();this.date=new Date(a)};_.M(_.jFc,_.Vv);_.g=_.jFc.prototype;_.g.clone=function(){var a=new _.jFc(this.date);a.KA=this.KA;a.lM=this.lM;return a};_.g.add=function(a){(a.ka||a.ha)&&_.Tv.prototype.add.call(this,new _.Sv(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Or))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Vv.prototype.getUTCFullYear;
_.g.getMonth=_.Vv.prototype.getUTCMonth;_.g.getDate=_.Vv.prototype.getUTCDate;_.g.getHours=_.Vv.prototype.getUTCHours;_.g.getMinutes=_.Vv.prototype.getUTCMinutes;_.g.getSeconds=_.Vv.prototype.getUTCSeconds;_.g.getMilliseconds=_.Vv.prototype.getUTCMilliseconds;_.g.getDay=_.Vv.prototype.getUTCDay;_.g.setFullYear=_.Vv.prototype.setUTCFullYear;_.g.setMonth=_.Vv.prototype.setUTCMonth;_.g.setDate=_.Vv.prototype.setUTCDate;_.g.setHours=_.Vv.prototype.setUTCHours;_.g.setMinutes=_.Vv.prototype.setUTCMinutes;
_.g.setSeconds=_.Vv.prototype.setUTCSeconds;_.g.setMilliseconds=_.Vv.prototype.setUTCMilliseconds;
var kFc,mFc;kFc={};_.lFc=(kFc[1]="0",kFc[2]="1",kFc[3]="2",kFc);mFc={};_.nFc=(mFc[1]="asc",mFc[2]="desc",mFc);
_.oFc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.pFc=_.x(new _.aN,15,!0);_.qFc=_.bN(new _.aN,!0);_.rFc=_.bN(new _.aN,!1);
_.sFc=_.vg&&0>_.Ye(_.zg,"533");
_.tFc=new Set([0,1,2,3]);
var uFc,wFc,zFc,AFc,CFc,DFc,EFc,FFc;uFc={};_.vFc=(uFc[0]="POST",uFc[2]="PUT",uFc[12]="POST",uFc);wFc={};_.xFc=(wFc[0]=1,wFc[2]=3,wFc);zFc={};AFc={};_.yFc=(AFc[2]=(zFc["x-goog-upload-protocol"]="batch",zFc),AFc);CFc={};DFc={};EFc={};FFc={};_.BFc=(FFc[0]=(CFc["content-type"]="application/http",CFc["content-transfer-encoding"]="binary",CFc),FFc[12]=(DFc["content-type"]="application/http",DFc["content-transfer-encoding"]="binary",DFc),FFc[2]=(EFc["content-type"]="application/http",EFc),FFc);
_.GFc=new _.N_a("yyyy:MM:dd HH:mm:ss");
var HFc,JFc;HFc={};_.IFc=(HFc[1]="active",HFc[2]="archived",HFc);JFc={};_.KFc=(JFc[0]="unset",JFc[1]="default",JFc[2]="small",JFc[3]="size16kb",JFc);
_.LFc=new _.yp("drive_dataservice_builder");
_.MFc=new _.wEc("drive_dataservice_invariants");
_.NFc=new Map([[[1],1],[[6],7],[[2],2]]);_.fN=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.OFc=new Map([[12,function(a){return _.F(a,69)}],[24,function(a){return _.A(a,3,!1)}],[9,function(a){return _.A(a,17,!1)}],[21,function(a){return _.$M(a)}],[13,function(a){return _.F(a,60)}],[2,function(a){return _.A(a,8,!0)}],[6,function(a){return _.A(a,11,!1)}],[14,function(a){return a.Lp()}],[16,function(a){return _.A(a,56,!1)}],[17,function(a){return _.A(a,57,!1)}],[18,function(a){return _.A(a,54,!1)}],[19,function(a){return _.A(a,53,!1)}],[23,function(a){return _.A(a,15,!1)}],[28,function(a){return _.A(a,
1,!1)}]]);_.PFc=new Map([[25,function(a){return _.A(a,1,!1)}],[26,function(a){return _.A(a,2,!1)}],[27,function(a){return _.A(a,3,!1)}],[29,function(a){return _.A(a,4,!1)}],[30,function(a){return _.A(a,5,!1)}],[31,function(a){return _.A(a,6,!1)}]]);_.QFc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.RFc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237]]);_.SFc=new Map([[[2],3],[[1],2],[[0],1]]);_.TFc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.UFc=new Map([[[_.JDc],1],[[_.KDc],2],[[_.LDc],3],[[_.MDc],4],[[_.NDc],5],[[_.ODc],6],[[_.PDc],7],[[_.QDc],8],[[_.RDc],10],[[_.SDc],11],[[_.TDc],12],[[_.UDc],13]]);_.VFc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.WFc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11r");
_.gN=function(a){_.Q(this,a,0,-1,XFc,null)};_.M(_.gN,_.P);var XFc=[8];_.gN.prototype.Qx=function(){return _.y(this,1)};_.gN.prototype.Gc=function(){return _.y(this,2)};_.hN=function(a,b){return _.x(a,2,b)};_.gN.prototype.rz=function(){return _.A(this,3,!1)};_.gN.prototype.getItem=function(){return _.C(this,_.vm,4)};_.gN.prototype.setItem=function(a){return _.R(this,4,a)};_.gN.prototype.wc=function(){return _.y(this,7)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11v");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11u");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11y");

_.u();

}catch(e){_._DumpException(e)}
try{
var YFc;YFc=[1];_.iN=function(a){_.Q(this,a,0,-1,YFc,null)};_.M(_.iN,_.P);_.iN.prototype.V=function(){return _.y(this,1)};_.r("sy11t");
_.jN=function(a){_.Q(this,a,0,-1,ZFc,null)};_.M(_.jN,_.P);var ZFc=[2];_.jN.prototype.Fb=function(){return _.y(this,1)};_.jN.prototype.Dc=function(a){return _.x(this,1,a)};_.jN.prototype.ej=function(){return _.vj(this,_.vm,2)};_.$Fc=function(a,b){return _.yj(a,2,b)};_.jN.prototype.Ao=function(a,b){return _.zj(this,2,a,_.vm,b)};_.jN.prototype.getSessionId=function(){return _.C(this,_.Bm,3)};_.jN.prototype.setSessionId=function(a){return _.R(this,3,a)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy126");

_.u();

}catch(e){_._DumpException(e)}
try{
_.kN=function(a){for(var b in a)delete a[b]};_.aGc=function(a){a=_.wf(a);return 0===a.length?_.Hfa:new _.Jf(a,_.Ffa)};_.bGc=function(a,b){a=_.di(a);b=_.di(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.r("sy127");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11s");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy124");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11x");

_.u();

}catch(e){_._DumpException(e)}
try{
_.lN=function(a){return _.x(a,3,!0)};_.cGc=function(a,b){return _.x(a,7,b)};_.r("sy11o");
_.dGc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.eGc=_.Nea(_.dGc);
_.fGc=new Set([1,2,4,5,6]);
_.gGc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.hGc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.iGc=new Set([1004]);
_.jGc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.kGc=new Set([7,4,5,9,6,10,11,12]);
_.lGc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var mN,nGc;mN={};_.mGc=(mN[5]=0,mN[7]=1,mN[1]=2,mN[3]=3,mN[4]=4,mN[2]=5,mN[6]=6,mN);nGc={};_.oGc=(nGc[1]=0,nGc[2]=1,nGc[3]=2,nGc[4]=3,nGc);
var pGc;pGc={};_.qGc=(pGc[1]="active",pGc[2]="archived",pGc);
var rGc;rGc=function(a){return"kind,defaultAppIds,items("+a+")"};_.sGc=rGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing");
_.tGc=rGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData");
_.uGc=rGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData,appDataQuotaBytesUsed");
_.vGc=new Set([5,4,1,6,2]);_.wGc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.xGc=function(a,b){return _.x(a,1,b)};_.yGc=function(a,b){return _.R(a,1,b)};_.zGc=function(a,b){return _.x(a,2,b)};_.AGc=function(a,b){return _.R(a,3,b)};_.r("sy12a");

_.u();

}catch(e){_._DumpException(e)}
try{
_.BGc=function(a,b){return _.x(a,1,b)};_.CGc=function(a,b){return _.x(a,2,b)};_.DGc=function(a,b){return _.x(a,3,b)};_.r("sy12f");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy12d");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy12g");
var EGc=function(a,b){this.V=a;this.H=null;this.W=b};EGc.prototype.get=function(a){return this.Ts()[a]||null};EGc.prototype.set=function(a){this.Ts()[this.W(a)]=a;this.V=null};EGc.prototype.Ts=function(){this.H||(this.H=_.laa(this.V,this.W));return this.H};
var GGc,HGc,FGc;_.nN=function(a,b){this.H=a;this.V=b};
_.oN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!FGc(a,b[e],c[e])){d=e;break b}d=-1}if(-1==d){if(b.length==c.length){d=[];break a}if(b.length>c.length){d=[];for(var f=e=c.length;f<b.length;f++)d.push(a.H.aF(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.cF(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&FGc(a,b[e],c[f]);e--,f--);f=b.length-1-e;var h=b.length-f;e=b.slice(d,h);h=c.length-f;f=c.slice(d,h);var k,l=[];
for(h=0;h<e.length+1;h++)l[h]=[],l[h][0]=0;for(k=0;k<f.length+1;k++)l[0][k]=0;for(h=1;h<=e.length;h++)for(k=1;k<=f.length;k++)FGc(a,e[h-1],f[k-1])?l[h][k]=l[h-1][k-1]+1:l[h][k]=Math.max(l[h-1][k],l[h][k-1]);var n=[];h=e.length;for(k=f.length;0<h||0<k;)0<h&&0<k&&FGc(a,e[h-1],f[k-1])?(k--,h--):0<k&&(0==h||l[h][k-1]>l[h-1][k])?(n.unshift(a.H.cF(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.aF(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.zF(e[h])),void 0!==f[k]){k=
f[k];l=a;var q=e[k],t=e[h];n=1==q.getType()?q:t;q=2==q.getType()?q:t;t=n.ai()||0;t>(q.ai()||0)&&--t;if(l=l.H.KJ(l.H.zF(n),q.ai()||0,t))e[k]=l,e.splice(h,1),h--}else f[k]=h;f=[];if(null!=e)for(h=0;h<e.length;h++)k=e[h],l=k.ai()||0,n=k.Ot()||0,k.setPosition((k.ai()||0)+GGc(f,k.ai()||0)),e[h].setPosition((e[h].ai()||0)+d),3==e[h].getType()&&(k.ou((k.Ot()||0)+GGc(f,k.Ot()||0)),e[h].ou((e[h].Ot()||0)+d)),f.push(HGc(k.getType(),l,n));d=e}e=[];b=new EGc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.Cj(k,h)&&e.push(a.H.aI(h,f));return d.concat(e)};GGc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};HGc=function(a,b,c){switch(a){case 1:return{offset:1,start:b,end:Number.MAX_VALUE};case 2:return{offset:-1,start:b,end:Number.MAX_VALUE};case 3:return b>c?{offset:-1,start:c,end:b}:{offset:1,start:b,end:c};default:return{offset:0,start:-1,end:-1}}};FGc=function(a,b,c){return a.V(b)==a.V(c)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.pN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.pN,_.P);_.pN.prototype.getType=function(){return _.y(this,1)};_.qN=function(a){var b=new _.pN;return _.x(b,1,a)};_.g=_.pN.prototype;_.g.getItem=function(){return _.C(this,_.vm,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Ot=function(){return _.y(this,3)};_.g.ou=function(a){return _.x(this,3,a)};_.g.ai=function(){return _.y(this,4)};_.g.setPosition=function(a){return _.x(this,4,a)};_.r("sy12i");
var IGc=function(){};_.g=IGc.prototype;_.g.cF=function(a,b){return _.qN(1).setItem(a).setPosition(b)};_.g.aF=function(a,b){return _.qN(2).setPosition(b).setItem(a)};_.g.KJ=function(a,b,c){return _.qN(3).ou(b).setPosition(c).setItem(a)};_.g.aI=function(a,b){return _.qN(4).setItem(a).setPosition(b)};_.g.zF=function(a){return a.getItem()};
_.rN=function(){_.nN.call(this,new IGc,function(a){return a.getId()})};_.I(_.rN,_.nN);_.Je(_.rN);

_.u();

}catch(e){_._DumpException(e)}
try{
_.sN=function(a,b){return _.x(a,33,b||[])};_.JGc=function(a,b){return _.x(a,5,b)};_.qb=function(a){_.Qg.call(this,_.cc);this.error=a};_.I(_.qb,_.Qg);_.r("sy12h");
_.KGc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.tN=function(a,b){_.x(a,1,b)};_.r("sy12j");

_.u();

}catch(e){_._DumpException(e)}
try{
var LGc,MGc,QGc,UGc,VGc,WGc,XGc,kHc,uO,lHc,mHc,tHc,uHc,vHc,DHc,EHc,SGc,bIc,RGc,rIc,uIc,vIc,wIc,yIc,zIc,AIc,BIc,DIc,EIc,FIc,GIc,SIc,TIc,YIc,$Ic,aJc,bJc,eJc,iJc,lJc,qJc,rJc,tJc,eHc,vJc,fHc,wJc,$O,bP,yJc,zJc,AJc,BJc,CJc,FJc,GJc,HJc,IJc,JJc,nHc,MJc,oHc,pHc,qHc,rHc,sHc,VJc,UJc,fKc,hKc,kKc,iKc,lKc,jKc,gKc,oKc,wKc,MKc,NKc,PKc,SKc,VKc,$Kc,bLc,cLc,dLc,eLc,fLc,gLc,hLc,iLc,jLc,kLc,lLc,mLc,sLc,nLc,wLc,yLc,oLc,zLc,BLc,CLc,FLc,KLc,LLc,MLc,NLc,XKc,YLc,ZLc,$Lc,aMc,cMc,gMc,eMc,hMc,iMc,dMc,jMc,fMc,sMc,rMc,tMc,xMc,
yMc,zMc,DMc,EMc,FMc,GMc,OJc;_.uN=function(a,b,c){var d=new _.ob,e=_.Uga(_.uN);_.x(d,20,e);_.VM(d,a);_.UM(d,b?b:2);c&&_.HM(d,c);return d};_.vN=function(a){var b;a instanceof _.ob?b=new _.pb(null,a):b=_.EM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("jb`"+a);b.stack||(b.stack=_.Uga(_.vN));return b};
_.wN=function(a){return a instanceof _.pb?a:a instanceof _.ob?new _.pb(void 0,a):a instanceof Error?new _.pb("Not a drive.ds.Error",void 0,a):new _.pb("Not an Error",void 0,Error("kb`"+JSON.stringify(a)))};_.xN=function(a){throw _.wN(a);};LGc=function(a){return 7==a.Pi()||24==a.zn()&&(a=a.EC(),503==a||429==a)?!0:!1};MGc=function(a,b){return b?b+"("+a+")":a};
_.yN=function(a,b,c){var d={},e=[];b&&e.push("kind");a.P5a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.NGc.includes(n)){var q=_.Ybb.get(n);if(q){var t=_.xA[n];a.kI&&t&&(q=t);a.Wv&&(a.kI?(n=_.wA[n])&&(q=n):(n=_.Zbb[n])&&(q=n));q.split(",").forEach(function(v){var z=_.sga(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.p(Object.entries(d)),k=h.next();!k.done;f={oV:f.oV},k=h.next()){var l=_.p(k.value);k=l.next().value;l=l.next().value;
f.oV=[];l.forEach(function(n){return function(q){n.oV.push(q)}}(f));"owners"==k&&b&&f.oV.push("kind");e.push(MGc(f.oV.join(","),k))}return MGc(e.join(","),c)};_.OGc=function(a){var b=new _.fp;b.append(_.yN(a,!0));return b.toString()};_.PGc=function(a,b){return a.filter(function(c){return b.includes(c)})};QGc=function(a){a=a.filter(function(b){return!_.Ybb.has(b)});if(a.length)throw Error("bd`"+a.join(", "));};
_.TGc=function(a){if(a){var b=a.Ub();b&&_.zM(a,b.toLowerCase());RGc(a,_.vj(a,SGc,58).map(function(c){var d=c.Ub();d&&_.x(c,1,d.toLowerCase());return c}))}};_.zN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Ub():!1};_.AN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Ub();return b&&_.zN(a)?(a=a.ef(),!!a&&"application/vnd.google-apps.folder"==_.y(a,3)):"application/vnd.google-apps.folder"==c};
UGc=function(a){var b=a&&a.getId()||null;a&&_.zN(a)&&(a=(a=a.ef())&&_.y(a,1))&&(b=a);return b};VGc=function(a,b){b&&(_.Ii(a,"openDrive",!!_.A(b,2,!1)),_.Ii(a,"reason",_.y(b,1)||0),_.Ii(a,"syncType",_.y(b,3)||0),_.Ii(a,"errorRecovery",!!_.A(b,4,!1)))};WGc=function(a){if(_.gf(a))return"\r\n";var b="";_.$e(a,function(c,d){b+=d+": "+c+"\r\n"});return b};XGc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.sga(a[c],":",1);d&&2==d.length&&(b[(0,_.Ue)(d[0])]=(0,_.Ue)(d[1]))}return _.FM(b)};
kHc=function(a){if(a instanceof _.BN)return"request access";if(a instanceof _.CN)return"admin migrate to TD";if(a instanceof _.DN)return"authorize app";if(a instanceof _.EN)return"copy item";if(a instanceof _.FN)return"change category links";if(a instanceof _.GN)return"create item";if(a instanceof _.HN)return"create ws";if("undefined"!=typeof _.IN&&a instanceof _.IN)return"delete app";if("undefined"!=typeof _.JN&&a instanceof _.JN)return"delete backup";if(a instanceof _.KN)return"delete item";if("undefined"!=
typeof _.LN&&a instanceof _.LN)return"delete permission";if(a instanceof _.MN)return"delete revision";if(a instanceof _.NN)return"delete TD";if("undefined"!=typeof _.tD&&a instanceof _.tD)return"delete pref";if(a instanceof _.ON)return"delete ws";if(a instanceof _.PN)return"download item";if(a instanceof _.QN)return"empty trash";if(a instanceof _.Xn)return"find by ID";if(a instanceof _.YGc)return"item export start";if("undefined"!=typeof _.RN&&a instanceof _.RN)return"get app";if("undefined"!=typeof _.SN&&
a instanceof _.SN)return"insert app";if("undefined"!=typeof _.TN&&a instanceof _.TN)return"insert permission";if(a instanceof _.IM)return a=a.hd(),_.UN(a)?"quick access item query":_.VN(a)?"people predict item query":_.WN(a)?"drive priority query":"item query";if("undefined"!=typeof _.XN&&a instanceof _.XN)return"list android backup items request";if(a instanceof _.YN){var b="unknown";switch(a.getType()){case 1:b="installed";break;case 2:b="installed w/ app data";break;case 3:b="all installable";
break;case 4:b="installed w/ quota"}return"list apps ["+b+"]"}return"undefined"!=typeof _.ZN&&a instanceof _.ZN?"list backups":a instanceof _.cN?"list changes":a instanceof _.$N?"list permissions":"undefined"!=typeof _.aO&&a instanceof _.aO?"list revisions":a instanceof _.bO?"people api":a instanceof _.$F?"get published category":"undefined"!=typeof _.cO&&a instanceof _.cO?"get remaining changes":a instanceof _.dO?"remove item":"undefined"!=typeof _.eO&&a instanceof _.eO?"reparent item":a instanceof
_.fO?"restore item":"undefined"!=typeof _.gO&&a instanceof _.gO?"list suggested workspace items":a instanceof _.co?"list suggested workspaces":"undefined"!=typeof _.hO&&a instanceof _.hO?"update app":a instanceof _.iO?"update category metadata":a instanceof _.aN?"update item":a instanceof _.jO?"update revision":a instanceof _.kO?"update TD":"undefined"!=typeof _.uD&&a instanceof _.uD?"update pref":a instanceof _.lO?"update ws":a instanceof _.mO?"get account":"undefined"!=typeof _.nO&&a instanceof
_.nO?"get workspace":a instanceof _.ZGc?"list activity":a instanceof _.$Gc?"list category metadata":a instanceof _.oO?"create TD":"undefined"!=typeof _.aHc&&a instanceof _.aHc?"item export cancel":"undefined"!=typeof _.bHc&&a instanceof _.bHc?"item export status":"undefined"!=typeof _.pO&&a instanceof _.pO?"generate cse token":"undefined"!=typeof _.qO&&a instanceof _.qO?"get largest change ID":a instanceof _.cHc?"list prefs":a instanceof _.rO?"multipart upload":a instanceof _.dHc?"list published categories":
a instanceof eHc?"init resumable upload":a instanceof fHc?"resumable upload chunk":a instanceof _.gHc?"resumable upload":a instanceof _.eo?"get TD":"undefined"!=typeof _.hHc&&a instanceof _.hHc?"move TD preflight":a instanceof _.sO?"list TDs":"undefined"!=typeof _.tO&&a instanceof _.tO?"get TD stats":a instanceof _.iHc?"test connection":"undefined"!=typeof _.jHc&&a instanceof _.jHc?"list workspaces":"unknown"};
uO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};lHc=function(a){if(a instanceof _.GN||a instanceof _.rO||a instanceof _.gHc||a instanceof eHc||a instanceof fHc)return(new _.vO).Dc(8);throw Error("Ue");};mHc=function(a){if(a instanceof _.aN){var b=_.wO(_.x(_.Dj(a),1,void 0),void 0);b=_.Cj(b,_.pFc)}else b=!1;b||(a instanceof _.aN?(a=_.wO(_.x(_.Dj(a),1,void 0),void 0),b=_.Cj(a,_.qFc)||_.Cj(a,_.rFc)):b=!1);return b?!1:!0};
_.xO=function(a){return nHc.includes(a.constructor)?mHc(a):!1};tHc=function(a,b){return oHc.includes(a.constructor)||b&&(_.A(b,54,!1)&&pHc.includes(a.constructor)||qHc.includes(a.constructor)&&!_.yO(a)||_.A(b,56,!1)&&_.yO(a)||_.A(b,57,!1)&&rHc.includes(a.constructor)||!(!_.A(b,53,!1)||pHc.includes(a.constructor)||qHc.includes(a.constructor)||_.yO(a)||rHc.includes(a.constructor)||sHc.includes(a.constructor)))?!0:!1};
uHc=function(a,b,c){c=void 0===c?!1:c;var d=new _.yi(_.D(b,16,"")+"/open"),e=a.getId();_.zN(a)&&c&&(e=UGc(a));_.Ii(d,"id",e);_.Ii(d,"authuser",_.YM(b.Se()));return d.toString()};vHc=function(a){var b={};a=a.Qa().split("\r\n");for(var c=0;c<a.length;c++)if(!_.Bc(a[c])){var d=_.sga(a[c],":",1),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return _.bf(b,function(h){return h.join(", ")})};_.wHc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.wHc,_.P);
_.zO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.zO,_.P);_.zO.prototype.tb=function(){return _.y(this,1)};_.zO.prototype.jc=function(a){return _.x(this,1,a)};_.zO.prototype.ul=function(){return _.x(this,1,void 0)};_.zO.prototype.Ph=function(){return null!=_.y(this,1)};var xHc=[3],yHc=function(a){_.Q(this,a,0,-1,xHc,null)};_.M(yHc,_.P);yHc.prototype.V=function(){var a=_.y(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}return a};
var zHc=[3],AHc=function(a){_.Q(this,a,0,-1,zHc,null)};_.M(AHc,_.P);AHc.prototype.V=function(){return _.y(this,3)};_.BHc=function(a){var b=new _.ok;return _.x(b,1,a)};_.CHc=function(a,b){return _.x(a,8,b)};DHc=[3];EHc=function(a){_.Q(this,a,0,-1,DHc,null)};_.M(EHc,_.P);EHc.prototype.V=function(){return _.y(this,3)};_.AO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.AO,_.P);_.AO.prototype.tb=function(){return _.y(this,1)};_.AO.prototype.jc=function(a){return _.x(this,1,a)};
_.AO.prototype.ul=function(){return _.x(this,1,void 0)};_.AO.prototype.Ph=function(){return null!=_.y(this,1)};_.BO=function(a){return _.vj(a,_.me,6)};_.CO=function(a){return _.vj(a,_.Vb,12)};_.DO=function(a){return _.D(a,45,1)};_.UN=function(a){return _.A(a,47,!1)};_.VN=function(a){return _.A(a,49,!1)};_.WN=function(a){return _.A(a,52,!1)};_.EO=function(a){return _.D(a,2,"")};_.FHc=function(a,b){return _.x(a,27,b||[])};_.FO=function(a){return _.D(a,39,0)};_.GO=function(a){return _.A(a,40,!1)};
_.HO=function(a){return _.A(a,49,!1)};_.GHc=function(a,b){return _.x(a,1,b)};_.HHc=function(a,b){return _.x(a,7,b)};_.IHc=function(a,b){return _.x(a,8,b)};_.JHc=function(a,b){return _.x(a,9,b)};_.KHc=function(a,b){return _.x(a,11,b)};_.LHc=function(a,b){return _.x(a,12,b)};_.MHc=function(a,b){return _.x(a,16,b)};_.NHc=function(a,b){return _.x(a,17,b)};_.OHc=function(a,b){return _.x(a,20,b)};_.PHc=function(a,b){return _.x(a,21,b)};_.QHc=function(a,b){return _.x(a,31,b)};
_.RHc=function(a,b){return _.x(a,32,b)};_.SHc=function(a,b){return _.x(a,33,b)};_.THc=function(a,b){return _.x(a,42,b)};_.UHc=function(a,b){return _.x(a,43,b)};_.VHc=function(a,b){return _.x(a,46,b)};_.WHc=function(a,b){return _.x(a,47,b)};_.XHc=function(a,b){return _.x(a,48,b)};_.IO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IO,_.P);_.KO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.KO,_.P);_.KO.prototype.Xu=function(){return _.y(this,4)};_.LO=function(a,b){return _.x(a,1,b)};
_.YHc=function(a,b){return _.x(a,2,b)};SGc=function(a){_.Q(this,a,0,-1,null,null)};_.M(SGc,_.P);SGc.prototype.Ub=function(){return _.y(this,1)};SGc.prototype.getUrl=function(){return _.y(this,2)};_.MO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.MO,_.P);_.MO.prototype.Re=function(){return _.y(this,3)};_.MO.prototype.Uf=function(a){return _.x(this,3,a)};_.NO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NO,_.P);_.ZHc=function(a,b){return _.x(a,1,b)};_.$Hc=function(a,b){return _.yj(a,2,b)};
_.aIc=function(a,b){return _.yj(a,3,b)};bIc=[2];_.OO=function(a){_.Q(this,a,0,-1,bIc,null)};_.M(_.OO,_.P);_.OO.prototype.Qf=function(){return _.y(this,1)};_.OO.prototype.ol=function(a){return _.x(this,1,a)};_.OO.prototype.Yda=function(a,b){return _.tj(this,2,a,b)};_.PO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PO,_.P);_.PO.prototype.Re=function(){return _.y(this,2)};_.PO.prototype.Uf=function(a){return _.x(this,2,a)};_.QO=function(a,b){return _.x(a,2,b||[])};_.cIc=function(a,b){_.x(a,8,b)};
_.dIc=function(a,b){return _.x(a,19,b)};_.eIc=function(a,b){_.x(a,26,b)};_.fIc=function(a,b){_.x(a,31,b)};_.gIc=function(a,b){_.x(a,34,b)};_.hIc=function(a,b){return _.x(a,44,b)};_.iIc=function(a,b){return _.x(a,52,b)};RGc=function(a,b){_.yj(a,58,b)};_.jIc=function(a,b){return _.x(a,72,b)};_.kIc=function(a,b){_.R(a,85,b)};_.lIc=function(a,b){return _.x(a,92,b)};_.mIc=function(a,b){return _.x(a,93,b)};_.nIc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};
_.oIc=function(a){return _.Tv.prototype.GU.call(a,!0)+"T"+_.ig(a.getHours(),2)+":"+_.ig(a.getMinutes(),2)+":"+_.ig(a.getSeconds(),2)+a.xY()};_.pIc=function(a,b){return _.x(a,18,b||[])};_.qIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.qIc,_.P);rIc=[3,4,10,18,19,28];_.GN=function(a){_.Q(this,a,0,-1,rIc,null)};_.M(_.GN,_.P);_.g=_.GN.prototype;_.g.Ub=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};
_.g.pA=function(a,b){_.tj(this,3,a,b)};_.g.ke=function(){return _.C(this,_.pe,7)};_.g.Xr=function(){return _.A(this,13,!1)};_.g.wc=function(){return _.y(this,14)};_.g.Gc=function(){return _.y(this,23)};_.g.Xu=function(){return _.y(this,24)};_.sIc=function(a,b){return _.x(a,1,b)};_.tIc=function(a,b){return _.x(a,3,b||[])};_.RO=function(a){return _.y(a,9)};_.KN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.KN,_.P);_.KN.prototype.getId=function(){return _.y(this,1)};
_.KN.prototype.kc=function(a){return _.x(this,1,a)};_.KN.prototype.ke=function(){return _.C(this,_.pe,3)};_.NN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NN,_.P);_.NN.prototype.getId=function(){return _.y(this,1)};_.NN.prototype.kc=function(a){return _.x(this,1,a)};_.NN.prototype.ke=function(){return _.C(this,_.pe,2)};_.wO=function(a,b){return _.R(a,17,b)};uIc=[7,8];_.kO=function(a){_.Q(this,a,0,-1,uIc,null)};_.M(_.kO,_.P);_.g=_.kO.prototype;_.g.getId=function(){return _.y(this,1)};
_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,4)};_.g.B6=function(){return _.F(this,12)};_.g.wY=function(){return _.F(this,13)};_.g.Cl=function(){return _.F(this,15)};vIc=[1];_.SO=function(a){_.Q(this,a,0,-1,vIc,null)};_.M(_.SO,_.P);_.g=_.SO.prototype;_.g.Oh=function(){return _.y(this,1)};_.g.ke=function(){return _.C(this,_.pe,2)};_.g.lh=function(){return _.D(this,3,20)};
_.g.Ki=function(a){return _.x(this,3,a)};_.g.Cl=function(){return _.F(this,4)};_.sO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sO,_.P);_.sO.prototype.getOptions=function(){return _.C(this,_.ADc,1)};_.sO.prototype.Jm=function(){return _.y(this,2)};_.sO.prototype.hd=function(){return _.C(this,_.SO,3)};wIc=function(a,b){return _.YDc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.xIc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.PM(c,"deleting object store "+b);}};
yIc=function(){var a=new _.WEc;a.W=12E4;a.ta=!0;return a};
zIc={CacheSize:"Number of items currently in the in-memory cache.",SecondaryFields:"List of secondary fields",CachedCorpusType:"Type of corpus cached (folder, linked, subscribed, full, partial).",InitialChanges:"Status of initial catchup changelog requests.",SdkBackfillEnabled:"Whether backfill via Drive SDK is enabled.",UploadFailureCount:"Number of failed uploads.",UploadSuccessCount:"Number of successful uploads.",UploadTotalCount:"Number of initiated uploads.",InitialViewDataLoaded:"Whether initial view data was loaded before the initial query."};
AIc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};BIc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.CIc=function(a){if(_.ika)return _.m.atob(a);var b="";_.kka(a,function(c){b+=String.fromCharCode(c)});return b};DIc=function(){this.V=0;this.H=[]};_.g=DIc.prototype;_.g.add=function(a){var b=this.H[this.V];this.H[this.V]=a;this.V=(this.V+1)%40;return b};_.g.get=function(a){a=EIc(this,a);return this.H[a]};_.g.set=function(a,b){a=EIc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};
_.g.uc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.jh=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.af=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.Zn=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};EIc=function(a,b){if(b>=a.H.length)throw Error("T");return 40>a.H.length?b:(a.V+Number(b))%40};FIc=[2,3];_.FN=function(a){_.Q(this,a,0,-1,FIc,null)};
_.M(_.FN,_.P);_.FN.prototype.wc=function(){return _.y(this,1)};_.FN.prototype.ke=function(){return _.C(this,_.pe,4)};_.TO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.TO,_.P);_.g=_.TO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.Ub=function(){return _.y(this,2)};_.g.Xr=function(){return _.F(this,4)};_.g.FC=function(){return _.y(this,8)};_.vO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.vO,_.P);_.g=_.vO.prototype;
_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.getItem=function(){return _.C(this,_.vm,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Pj=function(){return _.y(this,3)};_.g.Gc=function(){return _.y(this,5)};_.UO=function(a,b){return _.x(a,5,b)};_.g=_.vO.prototype;_.g.UC=function(){return _.y(this,7)};_.g.j1=function(a){return _.x(this,7,a)};_.g.zga=function(a){_.x(this,9,a)};_.g.Rwa=function(a){_.x(this,10,a)};_.g.HI=function(){return _.y(this,16)};
_.g.W0=function(a){return _.x(this,16,a)};_.BN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.BN,_.P);_.BN.prototype.Gc=function(){return _.y(this,1)};_.CN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.CN,_.P);_.CN.prototype.getId=function(){return _.y(this,1)};_.CN.prototype.kc=function(a){return _.x(this,1,a)};_.CN.prototype.Qj=function(){return _.y(this,2)};_.DN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.DN,_.P);_.DN.prototype.Gc=function(){return _.y(this,2)};
_.DN.prototype.ke=function(){return _.C(this,_.pe,4)};GIc=[3,7];_.EN=function(a){_.Q(this,a,0,-1,GIc,null)};_.M(_.EN,_.P);_.g=_.EN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.pA=function(a,b){_.tj(this,3,a,b)};_.g.ke=function(){return _.C(this,_.pe,5)};_.HN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.HN,_.P);
_.HN.prototype.getTitle=function(){return _.y(this,1)};_.HN.prototype.setTitle=function(a){return _.x(this,1,a)};_.HN.prototype.ke=function(){return _.C(this,_.pe,2)};_.MN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.MN,_.P);_.MN.prototype.Gc=function(){return _.y(this,1)};_.MN.prototype.ke=function(){return _.C(this,_.pe,3)};_.ON=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ON,_.P);_.ON.prototype.getId=function(){return _.y(this,1)};_.ON.prototype.kc=function(a){return _.x(this,1,a)};
_.ON.prototype.ke=function(){return _.C(this,_.pe,3)};_.QN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QN,_.P);_.QN.prototype.ke=function(){return _.C(this,_.pe,1)};_.dO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.dO,_.P);_.g=_.dO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Jg=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,3)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};
_.M(_.fO,_.P);_.g=_.fO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Jg=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,3)};_.jO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jO,_.P);_.jO.prototype.Gc=function(){return _.y(this,1)};_.jO.prototype.Xr=function(){return _.F(this,3)};_.jO.prototype.ke=function(){return _.C(this,_.pe,4)};_.lO=function(a){_.Q(this,a,0,-1,null,null)};
_.M(_.lO,_.P);_.g=_.lO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.y(this,3)};_.g.Od=function(a){return _.x(this,3,a)};_.g.Gn=function(){return null!=_.y(this,3)};_.g.ke=function(){return _.C(this,_.pe,5)};var HIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HIc,_.P);HIc.prototype.getEnvironment=function(){return _.y(this,2)};
HIc.prototype.setEnvironment=function(a){return _.x(this,2,a)};var IIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(IIc,_.P);_.JIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.JIc,_.P);_.JIc.prototype.Ne=function(){return _.y(this,1)};_.JIc.prototype.Fb=function(){return _.y(this,4)};_.JIc.prototype.Dc=function(a){return _.x(this,4,a)};var KIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(KIc,_.P);var LIc=function(a,b){_.x(a,6,b)},MIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(MIc,_.P);_.g=MIc.prototype;
_.g.LTa=function(a){_.x(this,1,a)};_.g.Gjb=function(a){_.x(this,2,a)};_.g.Zx=function(){return _.F(this,3)};_.g.MTa=function(a){_.x(this,3,a)};_.g.pjb=function(a){_.x(this,4,a)};var NIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(NIc,_.P);NIc.prototype.Zx=function(){return _.F(this,2)};var OIc=function(a,b){return _.x(a,2,b)},PIc=function(a,b){_.x(a,3,b)};NIc.prototype.Aw=function(){return _.y(this,6)};var QIc=function(a,b){return _.x(a,8,b)},RIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(RIc,_.P);
RIc.prototype.hd=function(){return _.C(this,_.JIc,1)};RIc.prototype.getState=function(){return _.C(this,KIc,2)};RIc.prototype.Od=function(a){return _.R(this,2,a)};RIc.prototype.Gn=function(){return null!=_.y(this,2)};_.NGc=[42,1005,20,50,18,1003,1002];SIc=[73,71];TIc=function(a){var b=new _.Hj;a.listen("loadend",_.Ke(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Bd(f):c.callback(e);d.dispose()},b,a));return b};_.UIc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.VIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.VIc,_.P);_.g=_.VIc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.tb=function(){return _.y(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.ul=function(){return _.x(this,2,void 0)};_.g.Ph=function(){return null!=_.y(this,2)};_.g.Qf=function(){return _.y(this,3)};_.g.ol=function(a){return _.x(this,3,a)};_.g.getType=function(){return _.y(this,4)};_.WIc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.VO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.VO,_.P);_.VO.prototype.gr=function(){return _.C(this,_.YB,1)};_.XIc=function(a,b){return _.R(a,1,b)};_.VO.prototype.Jm=function(){return _.y(this,3)};YIc=[3,4];_.YN=function(a){_.Q(this,a,0,-1,YIc,null)};_.M(_.YN,_.P);_.YN.prototype.getType=function(){return _.y(this,1)};_.YN.prototype.ke=function(){return _.C(this,_.pe,2)};_.ZIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ZIc,_.P);_.ZIc.prototype.getId=function(){return _.y(this,1)};
_.ZIc.prototype.kc=function(a){return _.x(this,1,a)};_.ZIc.prototype.ke=function(){return _.C(this,_.pe,2)};_.$N=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.$N,_.P);_.$N.prototype.Jm=function(){return _.y(this,2)};_.$N.prototype.hd=function(){return _.C(this,_.ZIc,3)};$Ic=[1];_.bO=function(a){_.Q(this,a,0,-1,$Ic,null)};_.M(_.bO,_.P);_.bO.prototype.Ol=function(){return _.y(this,1)};_.mO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.mO,_.P);_.mO.prototype.ke=function(){return _.C(this,_.pe,1)};
_.mO.prototype.Bg=function(){return _.y(this,4)};aJc=[2];_.iO=function(a){_.Q(this,a,0,-1,aJc,null)};_.M(_.iO,_.P);_.iO.prototype.Gc=function(){return _.y(this,1)};_.iO.prototype.yM=function(){return _.vj(this,_.bG,2)};_.iO.prototype.ke=function(){return _.C(this,_.pe,3)};_.PN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PN,_.P);_.PN.prototype.getId=function(){return _.y(this,1)};_.PN.prototype.kc=function(a){return _.x(this,1,a)};bJc=[1];_.YGc=function(a){_.Q(this,a,0,-1,bJc,null)};_.M(_.YGc,_.P);
var cJc=function(a){_.Qg.call(this,a);_.eFc.get(a)};_.I(cJc,_.Qg);_.dJc=function(){var a=void 0===a?1E3:a;this.V=new _.fm;this.H=new _.fm;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.fJc=function(a){var b=a.V.jh();a.W&&b.push(eJc("...","...","...","..."));_.ta(b,a.H.jh());return b};_.gJc=function(a){var b=[];a=_.fJc(a);for(var c=0;c<a.length;c++){var d=a[c];b.push(d.totalTime+"\t|\t"+d.level+"\t|\t"+d.logName+"\t|\t"+d.message)}return b.join("\n")};
_.dJc.prototype.info=function(a,b){_.WO(this,a,b,"info")};_.dJc.prototype.config=function(a,b){_.WO(this,a,b,"config")};_.dJc.prototype.log=function(a,b,c){_.WO(this,a,b,c)};_.WO=function(a,b,c,d){a.H.$b()>=a.ka&&(a.W=!0,_.gm(a.H));var e=Date.now()-a.ma;b=eJc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.$b()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};eJc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.hJc=function(){this.H={}};
iJc=function(a,b,c){if(a.H[b])throw Error("Qe");a.H[b]=c};_.hJc.prototype.notify=function(a,b){for(var c=0;c<a.length;c++)if(this.H[a[c]])try{this.H[a[c]](b)}catch(d){_.m.setTimeout(function(){throw d;},0)}};var jJc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},kJc=function(a){_.Qg.call(this,"Ab");this.request=a};_.I(kJc,_.Qg);var XO=function(){_.O.apply(this,arguments)};_.I(XO,_.O);lJc=function(a,b){a.dispatchEvent(new kJc(b))};_.mJc=function(a){XO.call(this);this.V=a};_.I(_.mJc,XO);
_.mJc.prototype.H=function(a){var b=!1;_.aFc(_.WM(a.ku[a.ku.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.ku.length?(lJc(this,a),!0):!1};var YO=function(a){_.O.call(this);this.ha=a};_.I(YO,_.O);_.g=YO.prototype;_.g.max=function(){};_.g.FT=function(){};_.g.lna=function(){};_.g.ZFa=function(){};_.g.YFa=function(){};_.g.XFa=function(){};_.g.pB=function(){this.dispatchEvent(new _.Qg("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
var nJc=function(a){_.Qg.call(this,"Cb");this.Kw=a};_.I(nJc,_.Qg);nJc.prototype.Ef=function(){return this.Kw};_.oJc=function(a,b){YO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.Xd(this);this.Pa(this.H);this.H.listen(this.W,"Cb",function(d){d.Ef()||c.pB()});this.H.listen(this.V,"ta",this.pB)};_.I(_.oJc,YO);_.oJc.prototype.max=function(){var a=this.W.Ef(),b=this.V.H;return!a&&b?Infinity:0};_.oJc.prototype.FT=function(){this.pB()};
_.pJc=function(a,b,c){this.H=new _.CH(a,b,.5);this.W=c;this.V=!0};_.ZO=function(a,b){YO.call(this,"Backoff");this.H=a;this.V=b};_.I(_.ZO,YO);_.ZO.prototype.max=function(){return this.H.V?Infinity:0};_.ZO.prototype.YFa=function(){this.H.H.reset()};_.ZO.prototype.XFa=function(a){var b=this;qJc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.tb(),rJc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){rJc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.pB()},a),_.DH(this.H.H))};
qJc=function(a){a=a.ku.length&&_.ba(a.ku).response;return!!(a&&a instanceof _.ob&&LGc(a))};rJc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.sJc=function(a,b){YO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.I(_.sJc,YO);_.sJc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.sJc.prototype.FT=function(a){a>=this.V?this.pB():null==this.H&&tJc(this)};_.sJc.prototype.lna=function(a,b){0<b?tJc(this):this.H=null};
tJc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.pB.bind(a),a.W)};_.ZGc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.oO=function(a){this.request=a;this.requestId=_.kg()};_.uJc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.cHc=function(a,b){this.request=a;this.H=b};_.rO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.gHc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};
eHc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};vJc=function(a,b,c){this.d9a=a;this.fib=b;this.SSa=c};fHc=function(a,b,c,d,e,f,h){this.ka=a;this.H=b;this.ha=c;this.W=d;this.V=e;this.contentType=f;this.ot=h};_.iHc=function(a){this.H=a};_.$Gc=function(a,b){this.request=a;this.pageToken=b||""};_.dHc=function(a,b){this.request=a;this.pageToken=b||""};wJc=function(a,b){this.Rea=a;this.LD=b};$O=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.aP=function(a,b,c){a.iJ.length&&a.append(" "+(c||"and")+" ");a.append(b)};bP=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push($O(c));e.push("in");e.push(b);_.aP(a,e.join(" "))}};_.cP=function(a,b,c,d){d=void 0===d?"and":d;if(null!=c){var e=[];e.push(b);e.push("=");e.push((!!c).toString());_.aP(a,e.join(" "),d)}};_.xJc=function(a){var b=new _.jFc;b.setTime(a);return b};yJc=function(a,b){b=_.vj(b,_.zO,35)||[];_.Ga(b,function(c){bP(a,"ancestors",c.tb(),!1)})};
zJc=function(a,b){b=_.vj(b,_.zO,38)||[];_.Ga(b,function(c){bP(a,"descendants",c.tb(),!1)})};AJc=function(a,b){b=_.vj(b,_.rk,37)||[];_.Ga(b,function(c){bP(a,"folderFeatures",c.tb(),!1)})};BJc=function(a,b){b=_.y(b,39);_.Ga(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push($O(c));_.aP(a,d.join(" "))})};CJc=function(a,b){b=_.y(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push($O(b));_.aP(a,c.join(" "))}};
_.DJc=function(a){a=_.vj(a,_.AO,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].tb());return b.join(",")};_.EJc=function(a){a=a.Rt();return null==a||0==a.length?"":_.fe(a,function(b){b=_.y(b,1);if(0==b)throw Error("Re");return _.mDc[b]}).join(",")};
FJc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=$O(a.tb());_.F(a,4)?(_.A(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.A(a,2,!1)&&d.push("not"),d.push("mimeType"));d.push("=");d.push(e);d[0]=b+d[0];d[d.length-1]+=c;return d.join(" ")};GJc=function(a){if(_.F(a,2))return"any";switch(a.tb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
HJc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};IJc=function(a,b,c){if(null!=_.y(c,2)){var d=HJc(_.y(c,1));c=$O(_.oIc(_.xJc(_.y(c,2)||0)));_.aP(a,[b,d,c].join(" "))}};JJc=function(a){switch(a){case 1:return"anyoneCanFind";case 2:return"anyoneWithLink";case 3:return"domainCanFind";case 4:return"domainWithLink";case 5:return"limited"}return""};
_.KJc=function(a){for(var b=new _.fp,c=_.vj(a,_.tk,4),d=0;d<c.length;d++){var e=c[d],f=e.tb();if(f){var h=_.y(e,1),k=_.A(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push($O(f));_.aP(b,l.join(" "))}}for(var n=_.vj(a,_.sk,5),q=0;q<n.length;q++){var t=n[q],v=t.tb();if(v){var z=[];_.A(t,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push($O(v));_.aP(b,z.join(" "))}}var B=_.BO(a);if(B&&0!=B.length){for(var E=[],L=[],J=0;J<B.length;J++){var X=B[J];
X.tb()&&(_.A(X,2,!1)?L.push(X):E.push(X))}for(var T=0;T<E.length;T++){var la=FJc(E[T],0==T?"(":"",T==E.length-1?")":"");_.aP(b,la,0!=T?"or":"and")}for(var Fa=0;Fa<L.length;Fa++)_.aP(b,FJc(L[Fa],0==Fa?"(":"",Fa==L.length-1?")":""))}for(var Da=_.vj(a,_.qk,7),Aa=0;Aa<Da.length;Aa++)IJc(b,"modifiedDate",Da[Aa]);for(var pa=_.vj(a,_.qk,8),Va=0;Va<pa.length;Va++)IJc(b,"lastViewedByMeDate",pa[Va]);_.cP(b,"trashed",a.mh());_.cP(b,"explicitlyTrashed",_.F(a,17));_.cP(b,"starred",_.F(a,10));_.cP(b,"hidden",a.Cl());
for(var xb=_.CO(a),Xb=0;Xb<xb.length;Xb++){var yb=xb[Xb];bP(b,"parents",yb.tb(),_.A(yb,2,!1))}for(var fc=_.vj(a,_.ke,13),Kc=0;Kc<fc.length;Kc++){var re=fc[Kc];bP(b,"owners",re.tb(),_.A(re,2,!1))}for(var dg=_.vj(a,_.ke,14),Ae=0;Ae<dg.length;Ae++){var rf=dg[Ae];bP(b,"writers",rf.tb(),_.A(rf,2,!1))}for(var Og=_.vj(a,_.ke,15),wg=0;wg<Og.length;wg++){var Pc=Og[wg];bP(b,"readers",Pc.tb(),_.A(Pc,2,!1))}_.F(a,16)&&_.aP(b,"sharedWithMe");_.cP(b,"unparented",_.F(a,34));yJc(b,a);zJc(b,a);AJc(b,a);BJc(b,a);for(var Ei=
_.y(a,40),sf=0;sf<Ei.length;sf++){var Gg=[];0==sf&&Gg.push("(");Gg.push($O(Ei[sf]));Gg.push("in");Gg.push("templateData.categories");sf==Ei.length-1&&Gg.push(")");_.aP(b,Gg.join(" "),0==sf?"and":"or")}var Bb=_.y(a,41);if(null!=Bb){var Mh=[];Mh.push("templateData.galleryState");Mh.push("=");Mh.push($O(_.lFc[Bb]||""));_.aP(b,Mh.join(" "))}var Qk=_.y(a,42);if(null!=Qk){var ni=[];ni.push("visibility");ni.push("=");ni.push($O(JJc(Qk)));_.aP(b,ni.join(" "))}for(var rl=_.vj(a,_.lk,44),wj=0;wj<rl.length;++wj){var mg=
rl[wj];bP(b,"actionItems",GJc(mg),_.A(mg,3,!1))}if(null!=_.y(a,50)){var Bh=[];Bh.push("pairedDocType");var lm=_.A(a,50,!1)?"!=":"=";Bh.push(lm);Bh.push($O("NONE"));_.aP(b,Bh.join(" "))}bP(b,"workspaceIds",_.y(a,54),!1);for(var cq=_.vj(a,_.mk,57),sl=0;sl<cq.length;sl++){var tl=[];0==sl&&tl.push("(");tl.push($O(cq[sl].tb()));tl.push("in");tl.push("approvals");sl==cq.length-1&&tl.push(")");_.aP(b,tl.join(" "),0==sl?"and":"or")}if(null!=_.y(a,58)){var Ij=_.C(a,_.ke,58),Nn=Ij.tb(),dq=_.A(Ij,2,!1);if(Nn){var nk=
[];dq&&nk.push("not");nk.push("creator");nk.push("=");nk.push($O(Nn));_.aP(b,nk.join(" "))}}var eq=a.Px();if(eq)for(var ul=_.p(_.vj(eq,_.Ama,1)),Po=ul.next();!Po.done;Po=ul.next()){var Qo=Po.value;bP(b,"categoryMetadata",Qo.Kk());for(var On=_.p(Qo.Jk()),Vm=On.next();!Vm.done;Vm=On.next()){var Hg=Vm.value,Ve=_.y(Hg,1),jd=_.kj(Hg,_.pk[0]);if(10==jd){_.C(Hg,_.rma,10);var Ro=_.F(Hg,15);(void 0===Ro?0:Ro)?_.aP(b,Ve+" is null"):_.aP(b,"not ("+Ve+" is null)")}else{var Xh=new _.fp,Ui=void 0;switch(jd){case 3:Ui=
_.C(Hg,yHc,3);for(var rv=_.p(Ui.V()),lr=rv.next();!lr.done;lr=rv.next())_.cP(Xh,Ve,lr.value,"or");break;case 14:for(var ts=Ui=_.C(Hg,_.kma,14),us=new Map([[1,"="],[2,">"],[3,"<"]]),vs=_.p(ts.V()),Pn=vs.next();!Pn.done;Pn=vs.next()){var Yt=Pn.value,So=us.get(_.y(ts,2));if(!So)throw Error("Se");var ch=[Ve,So,$O(Yt.getYear()+"-"+Yt.getMonth()+"-"+Yt.getDay())];_.aP(Xh,ch.join(" "),"or")}break;case 8:for(var Jj=Ui=_.C(Hg,_.qma,8),Qn=new Map([[1,"="],[2,">"],[3,"<"]]),Yh=_.p(Jj.V()),To=Yh.next();!To.done;To=
Yh.next()){var Zt=To.value,ws=Qn.get(_.y(Jj,2));if(!ws)throw Error("Se");_.aP(Xh,[Ve,ws,Zt].join(" "),"or")}break;case 9:for(var mr=Ui=_.C(Hg,AHc,9),fq=new Map([[1,"in"]]),Uo=_.p(mr.V()),Rk=Uo.next();!Rk.done;Rk=Uo.next()){var xs=Rk.value,$t=fq.get(_.y(mr,2));if(!$t)throw Error("Se");_.aP(Xh,[xs,$t,Ve].join(" "),"or")}break;case 6:for(var Wm=Ui=_.C(Hg,_.vma,6),gq=new Map([[1,"="]]),ys=_.p(Wm.V()),zs=ys.next();!zs.done;zs=ys.next()){var nr=zs.value,As=gq.get(_.y(Wm,2));if(!As)throw Error("Se");_.aP(Xh,
[Ve,As,$O(nr)].join(" "),"or")}break;case 7:for(var sv=Ui=_.C(Hg,_.tma,7),Bs=new Map([[1,"in"]]),Vo=_.p(sv.V()),Cs=Vo.next();!Cs.done;Cs=Vo.next()){var Ds=Cs.value,au=Bs.get(_.y(sv,2));if(!au)throw Error("Se");_.aP(Xh,[$O(Ds),au,Ve].join(" "),"or")}break;case 4:for(var Es=Ui=_.C(Hg,_.xma,4),Xm=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),gx=_.p(Es.V()),Be=gx.next();!Be.done;Be=gx.next()){var hq=Be.value,hx=Xm.get(_.y(Es,2));if(!hx)throw Error("Se");_.aP(Xh,[Ve,hx,$O(hq)].join(" "),"or")}break;
case 5:for(var oz=Ui=_.C(Hg,EHc,5),JO=new Map([[1,"in"]]),iq=_.p(oz.V()),tv=iq.next();!tv.done;tv=iq.next()){var bu=tv.value,uv=JO.get(_.y(oz,2));if(!uv)throw Error("Se");_.aP(Xh,[$O(bu),uv,Ve].join(" "),"or")}break;case 12:for(var Ym=Ui=_.C(Hg,_.oma,12),OF=new Map([[1,"="]]),PF=_.p(Ym.V()),ix=PF.next();!ix.done;ix=PF.next()){var pz=ix.value,jC=OF.get(_.y(Ym,2));if(!jC)throw Error("Se");_.aP(Xh,[Ve,jC,$O(pz)].join(" "),"or")}break;case 11:for(var QF=Ui=_.C(Hg,_.mma,11),s6=new Map([[1,"in"]]),t6=_.p(QF.V()),
DX=t6.next();!DX.done;DX=t6.next()){var wja=DX.value,EX=s6.get(_.y(QF,2));if(!EX)throw Error("Se");_.aP(Xh,[$O(wja),EX,Ve].join(" "),"or")}}_.F(Hg,15)?_.aP(b,"not ("+Xh+")"):_.aP(b,1<Ui.V().length?"("+Xh+")":""+Xh)}}}_.F(a,60)&&_.cP(b,"securityUpdateEligible",_.F(a,60));1==_.DO(a)&&CJc(b,a);return b.toString()};
_.LJc=function(a){var b=new _.fp(_.KJc(a));_.UN(a)?_.aP(b,"isQuickAccessRequest"):_.VN(a)?_.aP(b,"isPeoplePredictRequest"):_.WN(a)&&_.aP(b,"isDrivePriorityRequest");var c=a.ve();if(c){var d=[];d.push("sortBy");d.push(_.gFc[c.getType()]);d.push(_.nFc[c.Nh()]);_.F(c,3)&&d.push("foldersFirst");_.aP(b,d.join(" "))}_.cP(b,"domainSearch",_.F(a,18));_.cP(b,"offline",_.F(a,19));_.vj(a,_.AO,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.DJc(a)),_.aP(b,c.join(" ")));a.Rt().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.EJc(a)),_.aP(b,c.join(" ")));if(c=_.DO(a))d=[],d.push("corpora"),d.push("="),d.push($O(_.UIc[c])),_.aP(b,d.join(" "));1!=_.DO(a)&&CJc(b,a);_.A(a,48,!1)&&_.aP(b,"cachedOnly");return b.toString()};_.yO=function(a){if(a instanceof _.IM)a=a.hd();else if(!a)return!1;return a instanceof _.co||"undefined"!=typeof _.gO&&a instanceof _.gO||"undefined"!=typeof _.dP&&a instanceof _.dP||a instanceof _.he&&(_.UN(a)||_.VN(a)||_.WN(a))};
nHc=[_.BN,_.DN,_.CN,_.FN,_.EN,_.GN,_.HN,_.KN,_.MN,_.NN,_.ON,_.QN,_.dO,_.fO,_.iO,_.aN,_.jO,_.kO,_.lO,_.oO,_.rO];MJc=[_.cN];oHc=[_.$F,_.dHc];pHc=[_.$N,_.mO,_.cHc,_.sO];qHc=[_.IM,_.Xn,_.cN,_.$Gc];rHc=[_.sO,_.eo];sHc=[_.PN,_.YGc,_.YN,_.bO,_.ZGc,_.rO,fHc,eHc];_.eP=function(){this.Bp=[]};_.eP.prototype.add=function(a,b){b?this.Bp.unshift(a):this.Bp.push(a);return!0};_.eP.prototype.H=function(a){return _.va(this.Bp,0,a)};
_.eP.prototype.cancel=function(a){return _.oa(this.Bp,function(b){return b.yr.config.requestId==a?(b.zk.resolve(lHc(b.yr.request)),!0):!1})};_.NJc=function(a){XO.call(this);this.V=a};_.I(_.NJc,XO);_.NJc.prototype.H=function(a){var b=_.WM(a.ku[a.ku.length-1].response),c=!1;if(2==b.zn())b=this.V,OJc(b,3)&&_.PJc(b),c=!0;else if(_.aFc(b)){b=this.V;if(c=!b.H)c=b.qc,c=!c.uG&&c.isConnected()?c.z9=!0:!1;c&&_.PJc(b);c=!0}return c&&2>a.ku.length?(lJc(this,a),!0):!1};var QJc=function(){YO.call(this,"Immediate")};
_.I(QJc,YO);QJc.prototype.max=function(){return Infinity};QJc.prototype.FT=function(){this.pB()};var RJc=function(){YO.call(this,"One Request")};_.I(RJc,YO);RJc.prototype.max=function(){return 1};_.SJc=function(a){YO.call(this,"Online");var b=this;this.Rg=a;this.H=new _.Xd(this);this.Pa(this.H);this.H.listen(this.Rg,["wb","xb","yb"],function(){return b.pB()})};_.I(_.SJc,YO);_.SJc.prototype.max=function(){return this.Rg.isConnected()?Infinity:0};_.SJc.prototype.FT=function(){this.pB()};
_.fP=function(a){YO.call(this,"Parallel");this.V=a;this.H=0};_.I(_.fP,YO);_.fP.prototype.max=function(){return Math.max(0,this.V-this.H)};_.fP.prototype.FT=function(){this.H<this.V&&this.pB()};_.fP.prototype.lna=function(a){this.H+=a.length};_.fP.prototype.ZFa=function(a){this.H-=a.length;this.H<this.V&&this.pB()};
_.gP=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.Ka=a;this.W=b;this.ka=new _.Xd(this);this.Pa(this.ka);this.H=c;for(a=0;a<c.length;a++)this.ka.listen(c[a],"Bb",this.ma);this.V=d;this.ta=e;for(c=0;c<e.length;c++)this.ka.listen(e[c],"Ab",function(k){TJc(h,!0,k.request)});this.Ma=_.Ax("drive.ds.network.queue.Queue [%s]",f);this.Ja=0;this.ha=new Map};_.I(_.gP,_.O);_.gP.prototype.add=function(a){return TJc(this,!1,{yr:a,zk:_.Sh(),ku:[]})};
_.gP.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?UJc(this,"Canceled ID "+a+" during execution."):c&&UJc(this,"Canceled ID "+a+" inside bucket.");return b||c};var TJc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.mq(new _.ob,"No queue bucket accepted request."),_.Ph(_.wN(a));for(var d=VJc(a),e=0;e<a.H.length;e++)a.H[e].FT(d);return c.zk.promise};
_.gP.prototype.ma=function(){var a=VJc(this);if(a){for(var b=this.H.reduce(function(e,f){return Math.min(e,f.max(a))},Infinity),c=[],d=0;d<this.V.length&&0==c.length;d++)c=this.V[d].H(b);0<c.length&&(UJc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),WJc(this,c))}};
var WJc=function(a,b){var c=String(a.Ja++);a.ha.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Ga.bind(a,b[e]),a.Ba.bind(a,b[e]));e=VJc(a);for(var f=0;f<a.H.length;f++)a.H[f].lna(b,e);_.Th(_.Rh(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.gP.prototype.Ga=function(a,b){var c=a.yr.config;UJc(this,kHc(a.yr.request)+" request completed successfully. xd4: "+!(!c||!c.fG));for(c=0;c<this.H.length;c++)this.H[c].YFa();a.zk.resolve(b)};
_.gP.prototype.Ba=function(a,b){b=_.wN(b);UJc(this,kHc(a.yr.request)+(" request failed with error: "+b.W+"."));a.ku.push({response:b,Ilb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].XFa(a);a.yr.config.q$||!this.ta.some(function(d){return d.H(a)})?a.zk.reject(b):UJc(this,kHc(a.yr.request)+" encountered an error, but was intercepted to be retried.")};_.gP.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].ZFa(a)};
VJc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Bp.length){b=a.V[c].Bp.length;break}return b};UJc=function(a,b){a.Ka.info(a.Ma,b)};_.XJc=function(a,b,c,d){XO.call(this);this.V=_.D(a,21,1E3);this.ma=_.D(a,1,1);this.W=b;this.ka=c;this.ha=d};_.I(_.XJc,XO);
_.XJc.prototype.H=function(a){var b=a.ku.length,c=0<b&&_.ba(a.ku).response||null;if(c){c=_.WM(c);if(2==c.zn()&&this.ka.Ef())return YJc(this,a,b);var d=c.Pi();if(3==d||31==d||13==d||9==d)return ZJc(this,a,b);if(LGc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?($Jc(this,"Backoff number "+b+" for a User Rate Limit error."),lJc(this,a),a=!0):($Jc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var YJc=function(a,b,c){$Jc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return lJc(a,b)},a.V);return!0},ZJc=function(a,b,c){var d=a.ma;if(c<=d)return $Jc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return lJc(a,b)},a.V*Math.pow(2,c)),!0;$Jc(a,"Done retrying retriable requests after "+d+" retries.");return!1},$Jc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},aKc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.XM()){var b=new FileReaderSync;return _.Oh(b.readAsDataURL(a))}var c=new _.Mnb,d=TIc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return _.Ph(new _.Knb(e,"reading data"))}},bKc=function(a){return aKc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},cKc=function(a,b,c,d,e,f,h){this.Wa=a;this.ha=b;this.hb=c;this.ta=d;this.rb=e;this.hc=f;this.Ma=h;a=_.C(f.request,_.qIc,15);a=_.XM()&&a?_.y(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Ga=this.Ka=
this.wa=null;this.W=_.Sh();this.ma=!1;this.Ja=h.requestId;this.ka="progress_"+this.Ja;h.Noa=this.ka;this.Ba=this.Qa=0},dKc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
cKc.prototype.start=function(){var a=this,b=new eHc(this.hc.request,this.V,this.hc.metadata),c=eKc(this);this.Wa.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.d9a;a.Ka=d.fib;a.Ga=d.SSa;fKc(a)},function(d){return void a.W.reject(d)});return _.Th(this.W.promise.then(function(d){gKc(a,d);return d},function(d){d=_.wN(d);gKc(a,d.qg);return _.Ph(d)}),function(){jJc(a.ha,[a.ka])})};var eKc=function(a){var b=_.kf(a.Ma);iJc(a.ha,a.ka,AIc(function(){return void a.ha.notify([a.Ja],0)}));return b};
cKc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(lHc(this.hc)),!0)};fKc=function(a){a.ma||(dKc(a,"Uploading chunk "+a.Ba+" for "+a.wa+"."),hKc(a,4))};
hKc=function(a,b){iKc(a).then(function(c){if(c){var d=jKc(a,c.H.size);if(d.q$){var e=(new _.vO).Dc(8);a.W.resolve(e)}else a.Wa.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ba++;f.UC()&&(a.Ka=f.UC());f.HI()&&(a.Ga=f.HI());a.H<a.V?fKc(a):a.W.resolve(f)},function(f){var h=_.WM(f);h.Hja()||h.V7()?kKc(a,b,h,!1):bKc(c.H).then(function(k){k=k?_.LDa.get(k)||25:38;_.HM(h,k);k=38==h.zn();var l=38!=h.zn()&&25!=h.zn();kKc(a,b,h,k,l)},function(){})})}else e=_.wN(_.HM(_.mq(new _.ob,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};kKc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.zga(f);!e&&0<b?(a.Qa++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;dKc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.wa+"."));hKc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.wN(c))};
iKc=function(a){return lKc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new fHc(a.wa,b,a.V,a.H,a.H+b.size-1,a.hc.request.Ub(),_.y(a.hc.request,12)||void 0)})};lKc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.hc.H?a.hc.H(c,b):_.Oh(_.WIc(a.hc.file,c,d))};jKc=function(a,b){var c=_.kf(a.Ma);c.Xua=!0;var d=a.H/a.V,e=b/a.V;jJc(a.ha,[a.ka]);iJc(a.ha,a.ka,function(f){a.ha.notify([a.Ja],d+e*f)});return c};
gKc=function(a,b){b.Rwa(3);b.zga(a.Qa);b.UC()||b.j1(a.Ka);b.HI()||b.W0(a.Ga)};_.mKc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.mKc.prototype.create=function(a,b){return new cKc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.nKc=function(a){this.V=a;this.H={}};
_.nKc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].yr.request instanceof _.gHc)b.push(oKc(this,a[c].yr));else{var d=_.mq(new _.ob,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(_.Ph(_.wN(d)))}return b};_.nKc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.nKc.prototype.TDa=function(){return!_.gf(this.H)};oKc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Th(d,function(){delete a.H[e]})};
_.pKc=function(a,b){return new _.gP(b,a,[new QJc],[new _.eP],[],"immediate")};_.qKc=function(a,b,c,d,e,f,h){if(h){var k=new _.SJc(h.getState());d=new _.NJc(h)}else k=new _.oJc(c,d),d=new _.mJc(d);return new _.gP(f,a,[k,new _.ZO(e,f),new RJc],[new _.eP],[d,new _.XJc(b,e,h?h.getState():c,f)],"connected")};
_.rKc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.D(b,10,50):l;if(h){var n=new _.SJc(h.getState());d=new _.NJc(h)}else n=new _.oJc(c,d),d=new _.mJc(d);return new _.gP(f,a,[n,new _.sJc(l,_.D(b,12,10)),new _.fP(3*l),new _.ZO(e,f)],[new _.eP],[d,new _.XJc(b,e,h?h.getState():c,f)],k)};_.sKc=function(a,b,c){b=_.D(b,46,1);return new _.gP(c,a,[new _.fP(b)],[new _.eP],[],"resumable_upload")};
_.tKc=function(a,b,c,d,e,f,h,k){this.Ga=a;this.Ba=b;this.V=c;this.ma=d;this.wa=e;this.ka=f;this.ha=h;this.ta=k;this.W=null};_.tKc.prototype.H=function(a,b){var c=this,d=function(h){h=_.wN(h);var k=h.qg;mHc(a)||_.oq(k);return _.Ph(h)};if(this.ha()&&(a instanceof _.IM&&_.yO(a.hd())||b&&b.vnb)){this.W||(this.W=_.Sh());var e=this.W.promise}var f=function(){return uKc(c,a,b).then(null,d)};return e?e.then(f):f()};
var uKc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ga.validate(b);if(d)return _.Ph(_.wN(d));d=a.Ba.V(b);return d instanceof _.ob?_.Ph(_.wN(d)):Array.isArray(d)?(d=d.map(function(e){return vKc(a,b,e,c)}),_.Rh(d)):vKc(a,b,d,c)},vKc=function(a,b,c,d){var e=wKc(a,c);if(!e)return b=_.HM(_.mq(new _.ob,"Failed to choose a queue for server request."),18),_.Ph(_.wN(b));if(e===a.V[7]||e===a.V[8])d.fG=!0;d=e.add({request:c,config:d});(_.xO(b)||_.xO(c))&&_.Th(d,function(){a.ha()||(a.ta(),a.W&&(a.W.resolve(),a.W=
null))});b=a.ma.apply(c,d);d.then(function(f){return a.wa.apply(c,f)},function(){});return b};_.tKc.prototype.cancel=function(a){return _.cf(this.V,function(b){return b.cancel(a)})};
wKc=function(a,b){var c=!1;b instanceof _.Xn?c=!!_.F(b,7):b instanceof _.IM&&(c=(c=b.hd())&&!!_.F(c,46));return(b instanceof _.iHc||b instanceof _.yM&&_.F(b,9))&&a.V[1]?a.V[1]:b instanceof _.gHc&&a.V[5]?a.V[5]:c&&tHc(b,a.ka)&&a.V[7]?a.V[7]:tHc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.Xn&&a.V[6]?a.V[6]:(c||MJc.includes(b.constructor))&&a.V[3]?a.V[3]:nHc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.xKc=function(a,b){this.H=a;this.V=_.fFc[_.D(a.hf(),8,0)];this.ha=_.fFc[_.D(a.hf(),51,5)];this.W=b;this.ka=_.kg()};
_.xKc.prototype.Ic=function(a,b){if(b.fG)yKc(this,a,b),zKc(this,a,b);else if(11==a.$o){if(b.efb){var c=b.Q$||_.D(this.H.hf(),37,"");_.Ii(a.uri,"key",c)}yKc(this,a,b);AKc(this,a,b)}else switch(a.uri=BKc(this,a.$o,a.uri),a.$o){case 1:AKc(this,a,b);yKc(this,a,b);break;case 0:_.A(this.H,83,!1)&&(b.ZF||_.KM(this.H.Se())||_.Ii(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:AKc(this,a,b);zKc(this,a,b);yKc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:AKc(this,a,b);zKc(this,a,b);break;
default:throw Error("bf`"+a.$o);}};
var CKc=function(a,b){var c=BKc(a,b,new _.yi);if(!c.H)throw Error("df");return _.Ci(_.Bi(_.Ai(_.zi(new _.yi,c.W),c.H),c.ha),_.tFc.has(b)?"/batch"+a.V:"/batch")},BKc=function(a,b,c){var d=_.y(a.H.hf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.D(a.H.hf(),62,"");break;case 8:a=_.y(a.H.hf(),53);break;case 9:a=_.y(a.H.hf(),56);break;case 10:a=_.y(a.H.hf(),22);break;
case 13:a=_.y(a.H.hf(),55);break;case 12:a=_.y(a.H.hf(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.yi(a);_.Mc(c,"/")&&(c=c.slice(1));return new _.yi(a+"/"+c)},AKc=function(a,b,c){a=a.H.Se();c.ZF||_.KM(a)||(c=[{key:"u",value:_.EO(a)}],b.headers.authorization=_.RXb(c)||"",c=_.YM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},yKc=function(a,b,c){var d=a.H.Se(),e=a.H.hf(),f=c.Xlb||!!_.y(e,13);c=c.Ylb||_.A(e,14,!1);var h=11==b.$o;
f&&((f=_.y(e,13))&&_.Mc(f,"email:")?_.Ii(b.uri,"trace",f):f&&"trace:true"==f?_.Ii(b.uri,"$trace","true"):f?_.Ii(b.uri,"trace","token:"+f):_.Ii(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Ii(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.D(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},zKc=function(a,b,c){c.ZF||_.KM(a.H.Se())?_.Ii(b.uri,"key",_.D(a.H.hf(),36,"")):(a=c.Q$||_.D(a.H.hf(),37,""),_.Ii(b.uri,"key",a))},
DKc=function(a){this.H=a};DKc.prototype.build=function(a,b){var c="====="+_.kg()+"=====",d=a[0].$o,e=b.every(function(l){return l.fG});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=CKc(this.H,a[0].$o);_.Ii(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.xFc[d],h=_.yFc[d]||{},h["content-type"]=_.Ax('multipart/mixed; boundary="%s"',c),d=_.vFc[d],k=new _.yi("");a=EKc(this,a,b,c,e);return{$o:f,body:a,headers:h,method:d,uri:k}};
var EKc=function(a,b,c,d,e){for(var f=WGc(_.BFc[b[0].$o]||{}),h="",k=0;k<b.length;k++){e&&AKc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=BKc(n,q.$o,q.uri);switch(q.$o){case 0:case 5:zKc(n,q,t);yKc(n,q,t);break;case 2:AKc(n,q,t);zKc(n,q,t);var v=q,z=_.y(n.H.hf(),57);v.headers.host=_.Mi(z).H;v.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;yKc(n,q,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.$o);default:throw Error("bf`"+
q.$o);}n=l;q=n.uri.clone();_.zi(q,"");_.Ai(q,"");_.Bi(q,null);l=f+"\r\n"+(n.method+" "+q+" HTTP/1.1\r\n")+WGc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},FKc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,GKc=/^multipart\/mixed; boundary="?([^"]+)"?$/,HKc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.pb("Individual batch response contained too few parts.",_.HM(_.nq(new _.ob,b),17));var f=e[1].split("\r\n");if(d=FKc.exec(f[0])){var h=_.og(d[1]);
d=d[2]}else return new _.pb("Could not extract HTTP status code and text.",_.HM(_.nq(new _.ob,b),16));f.shift();a=_.kf(a);Object.assign(a,XGc(f));try{var k=_.Bc(_.jg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.DDc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.wN(c):{headers:a,text:b,json:k||void 0}},IKc=function(){_.si.apply(this,arguments)};_.I(IKc,_.si);IKc.prototype.Qa=function(){return _.iga(_.si.prototype.Qa.call(this))};
var JKc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},KKc=function(a,b,c){try{a.ma.Ic(b,c);var d=new IKc;d.W=!0;var e=c.requestId||"",f=_.Sh();d.listen("complete",a.ta.bind(a,d,f,e,c.hka,4==b.$o));e&&c.Noa&&!c.fG&&(a.V[e]=d,a.H[e]=c,d.Vb=!0,d.listen("uploadprogress",(0,_.K)(a.ka,a,c)),c.Xua||d.listen("downloadprogress",(0,_.K)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.Ph(_.wN(h))}};
JKc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.xe()?(a.q$=!0,b.abort(),!0):!1};JKc.prototype.ta=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.V[c],delete this.H[c]);c={headers:vHc(a),text:_.wi(a)};if(!d)try{c.json=_.xi(a)}catch(f){}d=_.DDc(a.Fb(),_.Lja(a),c.headers,c.text,c.json,a.V,_.Oja(a),String(a.ka),e);a.dispose();d?b.reject(_.wN(d)):b.resolve(c)};
JKc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Noa],a.Xua?b.loaded/b.total:b.loaded/b.total/2)};JKc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Noa],b.loaded/b.total/2+.5)};var LKc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
LKc.prototype.add=function(a,b){var c="DEFAULT";b.fG&&(c=CKc(this.V,a.$o).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.fG&&!_.xFc[a.$o])return a=_.mq(new _.ob,"Unsupported batch API: "+a.$o),_.Ph(_.wN(a));var d=_.Sh();c.push({request:a,config:b,zk:d});return d.promise};
LKc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{MKc(a,b)}catch(f){var d=_.nq(_.mq(new _.ob,"Error executing XHR: "+f.message),f.stack),e=_.wN(d);b.forEach(function(h){h.zk.reject(e)});a.H.delete(c)}})};
MKc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.hka&&!c.config.fG){var d=!1;if(_.xFc[c.request.$o]){var e={$o:c.request.$o,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Ic(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.zk;KKc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}NKc(a,b)};
NKc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});KKc(a.W,a.ha.build(c,d),{hka:!0,fG:d.every(function(e){return e.fG})}).then(function(e){e.headers=_.FM(e.headers);var f=GKc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.pb("Could not extract batch boundary.",_.HM(_.nq(new _.ob,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Mc(_.iga(h[0]),f)&&_.Bc(h[1]))h=_.iga(h[0]).substring(f.length);else throw new _.pb("Could not parse batch response; did not begin and end with boundary.",
_.HM(_.nq(new _.ob,JSON.stringify(e)),15));f=h.split(f);h=c.length==f.length;for(var k=[],l=0;l<f.length;l++){var n=h?c[l]:void 0;k.push(HKc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.wN(e);return _.nDc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].zk,k=e[f];k instanceof _.ob||k instanceof _.pb?h.reject(_.wN(k)):h.resolve(k)}})};_.hP=function(a,b){_.HO(a)&&(b.supportsTeamDrives=!0)};
_.OKc=function(a){this.H=_.mc(_.y(a,27)).concat();this.V=new Set;var b=_.PGc(this.H,_.y(a,28));if(0<b.length)throw Error("ef`"+b.join(","));this.H.push(21);this.H.push(70);_.KM(a.Se())||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.HO(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();QGc(this.H)};_.iP=function(a){return _.mc(a.H).concat()};
PKc=function(a){return a instanceof _.IM||a instanceof _.sO||"undefined"!=typeof _.jP&&a instanceof _.jP||a instanceof _.kO||a instanceof _.NN||a instanceof _.GN||a instanceof _.KN||a instanceof _.aN&&_.xO(a)};_.QKc=function(a,b){this.V=b;this.H={};this.W=new DIc;b=_.yN({fields:_.y(a,28),Wv:_.KM(a.Se())});this.jc("SecondaryFields",b);this.jc("SdkBackfillEnabled",!!_.A(a,45,!1)+" (Include corpus cache: "+!!_.A(a,46,!1)+")")};_.QKc.prototype.jc=function(a,b){this.H[a]=_.RKc(a,b)};
SKc=function(a,b){var c=a.H[b];c||(c=_.RKc(b,0,2),a.H[b]=c);c.jc(String(Number(c.tb())+1))};_.RKc=function(a,b,c){var d=new _.VIc;_.x(d,1,a);_.x(d,4,c||1);d.jc(String(b));d.ol(zIc[a]);return d};
_.TKc=function(a,b,c){var d=new _.BDc;_.x(d,2,"Pending...");b instanceof _.IM?_.xj(d,3,_.JM[0],b):b instanceof _.sO?_.xj(d,4,_.JM[0],b):"undefined"!=typeof _.jP&&b instanceof _.jP?_.xj(d,5,_.JM[0],b):b instanceof _.kO?_.xj(d,6,_.JM[0],b):b instanceof _.NN?_.xj(d,7,_.JM[0],b):b instanceof _.GN?_.xj(d,8,_.JM[0],b):b instanceof _.KN?_.xj(d,9,_.JM[0],b):b instanceof _.aN&&_.xj(d,10,_.JM[0],b);var e=kHc(b),f=[];if(b instanceof _.CN)uO(f,"ID",b.getId()),uO(f,"Parent ID",b.Qj());else if(b instanceof _.NN)uO(f,
"TD ID",b.getId());else if(b instanceof _.IM)b=_.LJc(b.hd()),uO(f,"Query",b);else if(b instanceof _.sO)uO(f,"Query","All");else if(b instanceof _.kO)uO(f,"TD ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.GN)uO(f,"MimeType",b.Ub()),uO(f,"Title",b.getTitle()),uO(f,"Parents",_.y(b,3)),uO(f,"Convert",_.F(b,8)),uO(f,"Request ID",_.RO(b)),uO(f,"Parent Request IDs",_.y(b,10)),uO(f,"Revision Item ID",_.y(b,12)),uO(f,"Pinned",_.F(b,8));else if(b instanceof
_.HN)uO(f,"Title",b.getTitle());else if(b instanceof _.KN)uO(f,"ID",b.getId());else if(b instanceof _.ON)uO(f,"WS ID",b.getId());else if(b instanceof _.aN){if(uO(f,"ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"Description",b.Qf()),uO(f,"Starred",_.F(b,4)),uO(f,"Trashed",b.mh()),uO(f,"MimeType",b.Ub()),uO(f,"Parents",_.y(b,8)),uO(f,"Parents to add",_.y(b,9)),uO(f,"Parents to remove",_.y(b,10)),uO(f,"Restricted",_.F(b,11)),uO(f,"Folder Color",b.Wh()),uO(f,"Update Last Viewed",_.F(b,15)),uO(f,"Subscribed",
_.F(b,16)),uO(f,"Available Offline",b.hp()),uO(f,"Wksp to add",_.y(b,31)),uO(f,"Wksp to remove",_.y(b,32)),b=_.C(b,_.sm,25))uO(f,"Read Only",_.F(b,1)),uO(f,"Reason",_.y(b,2))}else b instanceof _.lO?(uO(f,"WS ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"State",b.getState())):b instanceof _.oO&&uO(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.UKc=function(a,b){for(var c=new _.fp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+BIc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};VKc=[0,2,4,7,8];_.WKc=function(a,b,c,d,e,f,h){this.W=a;this.Ba=b;this.Ga=c;this.wa=d;this.ta=e;this.ha=f;this.H=h;this.ma=new DKc(this.W);this.ka=new JKc(this.W,this.Ba);this.V=[]};_.g=_.WKc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].yr;this.V.push(f);c.push(XKc(this.Ga,f,a[e].ku));d.push(PKc(f.request)?_.TKc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=_.Ph(_.wN(_.DDc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new LKc(this.W,this.ka,this.ma);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(q,t){var v=k.add(t,q);v.then(b.zeb.bind(b,t.$o,q.ZF),function(){});return v}.bind(this,a[f].yr.config));e.push(l)}_.Rh(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].yr;var n=e[f].then(this.fSa.bind(this,l.request,d[f],a[f].ku)).Vf(function(q){return _.Ph(_.wN(q))});_.Th(n,this.e9a.bind(this,l));c.push(n)}return c};_.g.fSa=function(a,b,c,d){a=_.YKc(this.wa,a,d,c);b&&_.UKc(b,a.zd?a.zd():[]);return a};_.g.zeb=function(a,b){a=!b&&_.ha(VKc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.qc.isConnected()||a)c=OJc(b,c),a&&c&&_.ZKc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};_.g.TDa=function(){return this.V.some(function(a){return _.xO(a.request)})};
_.g.e9a=function(a){_.na(this.V,a)};_.kP=function(a,b){if(!_.wa(b))throw new _.pb("Expected an object, but got a "+_.jea(b)+".",_.uN(11,void 0,8));var c=b.kind;if(!c)throw new _.pb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.uN(11,void 0,21));if(!a.includes(c))throw new _.pb("Expected "+a.join(" or ")+" but got a "+c+".",_.uN(11,void 0,9));};$Kc=function(a,b){this.H=a;this.V=b};
_.lP=function(a,b){_.kP(["drive#user"],b);var c=_.BHc(1).kc(b.permissionId);c=_.x(c,11,b.id);c=_.CHc(c.wd(b.displayName),b.emailAddress);b.picture&&c.ws(b.picture.url);_.$M(a.H)&&_.CHc(c,b.emailAddressFromAccount||b.emailAddress);a=a.zf(b.permissionId,b.id);_.x(c,7,a);_.x(c,9,b.domain);return c};$Kc.prototype.zf=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.EO(this.H.Se())==b};_.mP=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.aLc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.GHc(new _.pm,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);c=_.x(c,2,a.canComment);c=_.x(c,3,a.canCopy);b=_.x(c,4,b);b=_.x(b,5,a.canDownload);b=_.x(b,6,a.canEdit);b=_.LHc(_.HHc(_.MHc(_.NHc(_.OHc(_.KHc(_.x(b,10,a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.x(b,13,a.canRenameTeamDrive);b=_.PHc(_.JHc(_.IHc(b,
a.canShare),a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.SHc(_.RHc(_.QHc(_.x(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.x(b,34,a.canDeleteChildren);b=_.x(b,35,a.canTrashChildren);b=_.x(b,36,a.canRequestApproval);b=_.x(b,37,a.canReadCategoryMetadata);b=_.x(b,38,a.canEditCategoryMetadata);b=_.x(b,39,a.canChangeCategoryReferences);b=_.x(b,49,a.canSetMissingRequiredFields);
b=_.x(b,40,a.canAddMyDriveParent);b=_.x(b,41,a.canRemoveMyDriveParent);b=_.UHc(_.THc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.XHc(_.WHc(_.VHc(_.x(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.x(b,50,a.canChangeSecurityUpdateEnabled);b=_.x(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.x(b,52,a.canCreateDecryptedCopy);return _.x(b,53,a.canCreateEncryptedCopy)};
bLc={anyone:4,audience:5,domain:3,group:2,user:1};cLc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};dLc={docs:1,sheets:2,slides:3};eLc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};fLc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};gLc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};hLc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};iLc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};jLc={ok:1,notFound:2,permissionDenied:3};kLc={unencrypted:1,encrypted:2};lLc={unset:0,"default":1,small:2,size16kb:3};
mLc=function(a,b){this.H=a;this.V=b};
_.pLc=function(a,b,c){var d=new _.VO;a=(new _.YB).gw(nLc(a,b));a=_.x(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.kP(["drive#fileList"],b);var e=b.spellResponse;if(e){var f=[];var h=e.spellCorrections;for(e=0;e<h.length;e++){for(var k=h[e].spellFragments,l=[],n=0;n<k.length;n++){var q=k[n];var t=(new _.XB).Dc(fLc[q.status]);t=_.x(t,1,q.original);q=_.x(t,3,q.correction);l.push(q)}k=new _.Ckb;l=_.yj(k,1,l);f.push(l)}h=new _.Ekb;_.yj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.Akb;
_.x(v,1,f||[])}h||v?(f=new _.Fkb,h&&_.R(f,1,h),v&&_.R(f,2,v),v=f):v=null;_.R(a,7,v);_.pIc(a,oLc(b))}d=_.XIc(d,a);c=_.yDc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
sLc=function(a,b,c,d,e){_.kP(["drive#adminFile","drive#file","drive#revision"],b);var f=_.UO(new _.vO,c);"drive#adminFile"==b.kind?(_.kP(["drive#adminFile"],b),c=(new _.vm).kc(b.id),b.parentId&&_.QO(c,[b.parentId]),_.jIc(c,b.teamDriveId),f.setItem(c),_.UO(f,c.getId())):"drive#file"==b.kind?(b=_.qLc(a,b),f.setItem(b),c||_.UO(f,b.getId())):"drive#revision"==b.kind&&(b=_.rLc(a,b),_.R(f,4,b));f.j1(_.xDc(d));f.W0(_.yDc(d));(d=(d=d&&_.FM(d))&&d["x-server-object-version"])&&e&&(e=(new _.TO).kc(d),_.R(f,
4,e));f.Dc(1);return f};_.tLc=function(a,b){return _.UO(new _.vO,a).Dc(1).j1(_.xDc(b)).W0(_.yDc(b))};_.vLc=function(a,b,c,d){d||_.kP(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.uLc(a,b[c],d);f&&e.push(f)}return e};
_.uLc=function(a,b,c){c||_.kP(["drive#permission"],b);c=_.BHc(bLc[b.type]).kc(b.id);c=_.x(c,11,b.userId);var d=a.H.zf(b.id,b.userId);c=_.x(c,7,d);c=_.x(c,4,b.withLink);c=_.CHc(c.wd(b.name).ws(b.photoLink),b.emailAddress);c=_.x(c,9,b.domain);c=_.x(c,10,b.deleted);c=_.x(c,12,b.audienceId);c=_.x(c,13,b.customerId);c.getId()||c.kc(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.$M(a.V)&&c.wd(b.nameIfNotUser);a=cLc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&
(a=6);_.x(c,6,a);return c};nLc=function(a,b){_.kP(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.qLc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.qLc(a,b[d]);c.push(e)}}return c};
_.qLc=function(a,b){_.kP(["drive#file"],b);var c=_.hIc(_.dIc(_.zM(_.QO((new _.vm).kc(b.id),wLc(b)).setTitle(b.title),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.x(c,90,Number(b.thumbnailVersion));_.x(c,21,b.iconLink);c.ol(b.description);_.eIc(c,b.explicitlyTrashed);_.x(c,22,b.shared);null!=b.quotaBytesUsed&&_.x(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.x(c,14,Number(b.fileSize));_.x(c,30,b.copyable);if(b.labels){var d=b.labels;c.Kq(d.starred);_.x(c,6,d.hidden);
c.Rn(d.trashed);_.cIc(c,d.restricted);_.x(c,9,d.viewed)}_.x(c,10,_.mP(b.createdDate));_.x(c,69,_.mP(b.serverCreatedDate));_.oDc(c,_.mP(b.modifiedDate));_.x(c,12,_.mP(b.modifiedByMeDate));_.x(c,13,_.mP(b.lastViewedByMeDate));_.x(c,23,_.mP(b.sharedWithMeDate));_.x(c,62,_.mP(b.subscribedDate));_.x(c,70,_.mP(b.recency));b.recencyReason&&_.x(c,71,eLc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.lP(a.H,e[f]);h&&d.push(h)}_.yj(c,15,d);b.lastModifyingUser&&(d=_.lP(a.H,
b.lastModifyingUser),_.R(c,17,d));b.userPermission&&_.AM(c,cLc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.MO,e=_.x(e,2,d.width).Uf(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.jFc,f.setMilliseconds(0),_.GFc.parse(d,f),_.x(e,1,f.getTime())),_.R(c,27,e));null!=b.folderColor&&_.gIc(c,Number(b.folderColor));_.fIc(c,b.subscribed);_.x(c,45,b.fileExtension);_.x(c,50,b.folderFeatures||[]);_.x(c,36,b.flaggedForAbuse);_.x(c,53,b.gplusMedia);_.x(c,46,b.primarySyncParentId||
void 0);_.x(c,35,b.hasChildFolders);b.source&&(_.x(c,42,b.source.client_service_id),_.x(c,43,b.source.value));b.sharingUser&&(d=_.lP(a.H,b.sharingUser),_.R(c,47,d));b.sources?_.x(c,56,b.sources||[]):b.gplusMedia&&_.x(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.lDc[h]&&(h=_.ee(new _.de,_.lDc[h]),e.push(h));c.KB(e)}_.x(c,63,b.ownedByMe);_.x(c,29,b.shareable);b.sourceAppId&&_.x(c,61,b.sourceAppId);_.x(c,74,b.changed);null!=b.recursiveFileSize&&_.x(c,77,Number(b.recursiveFileSize));
null!=b.recursiveFileCount&&_.x(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.dta).kc(h.id);h=_.x(k,2,gLc[h.type]);e.push(h)}_.yj(c,83,e)}b.capabilities&&c.ln(_.aLc(b.capabilities));b.permissionsSummary&&_.kIc(c,_.xLc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.OO).ol(d.description),e=_.x(e,3,hLc[d.galleryState]),d=_.x(e,2,d.category||[]),_.R(c,
86,d));_.jIc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.lP(a.H,b.creator),_.R(c,91,d));_.lIc(c,b.primaryDomainName);_.mIc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.lP(a.H,b.trashingUser),_.R(c,95,d));_.x(c,96,_.mP(b.trashedDate));b.version&&_.x(c,75,Number(b.version));_.x(c,98,b.hasVisitorPermissions);_.x(c,102,b.hasAppsScriptAddOn);(d=b.pairedDocType)&&_.x(c,101,dLc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.PO,e=_.x(e,1,d.width).Uf(d.height),d.durationMillis&&_.x(e,3,Number(d.durationMillis)),_.R(c,103,e));_.x(c,104,b.detectors||[]);_.x(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.p(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.YHc(_.LO(new _.sm,f.readOnly),f.reason),d.push(f);_.yj(c,125,d)}if(d=b.publishingInfo)_.x(c,118,d.published),_.x(c,119,d.publishedUrl);_.x(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&
_.x(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.p(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.om).kc(f.approvalId).Dc(iLc[f.status]),d.push(f);_.yj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.mta,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.x(e,4,jLc[d.targetLookupStatus]||0),d.targetFile&&(d=_.qLc(a,d.targetFile),
_.R(e,5,d)),_.R(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.IO,e=_.x(e,1,kLc[d.encryptionState]),d.decryptionMetadata&&(d=yLc(d.decryptionMetadata),_.R(e,2,d)),_.R(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.NO,e=_.x(e,2,d.securityUpdateEligible),d=_.x(e,3,d.securityUpdateEnabled),_.R(c,139,d));_.x(c,140,b.resourceKey);_.x(c,135,b.authorizedAppIds||[]);_.x(c,136,b.customerId);_.TGc(c);_.$M(a.V)&&_.iIc(c,5);return c};
wLc=function(a){var b=[];if(a&&a.parents){a=a.parents;for(var c=0;c<a.length;c++)b.push(a[c].id)}return b};_.rLc=function(a,b){_.kP(["drive#revision"],b);var c=(new _.TO).kc(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.mP(b.modifiedDate));c=_.x(c,4,b.pinned);c=_.x(c,5,b.downloadUrl);c=_.x(c,7,b.originalFilename);null!=b.fileSize&&_.x(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.lP(a.H,b.lastModifyingUser),_.R(c,9,a));b.decryptionMetadata&&(b=yLc(b.decryptionMetadata),_.R(c,10,b));return c};
_.xLc=function(a,b){a=_.aIc(_.$Hc(_.ZHc(new _.gta,b.entryCount),_.vLc(a,b,"visibility",!0)),_.vLc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};yLc=function(a){var b=a.wrappedKey;var c=new _.KO;b=b?_.CIc(b):void 0;c=_.x(c,1,b);c=_.x(c,2,Number(a.kaclsId));c=_.x(c,5,a.kaclsName);c=_.x(c,3,lLc[a.aes256GcmChunkSize]);return _.x(c,4,a.jwt)};
oLc=function(a){_.kP(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};zLc=function(a,b,c){c=void 0===c?!1:c;var d=_.F(a,44),e=a.ef();if(c&&e){if(1!=_.dd(e))return null;d=(d=_.ad(e))?_.F(d,44):!0}if(!d)return null;d=a.getId();_.zN(a)&&c&&(d=UGc(a));return[_.D(b,65,"https://lh3.google.com"),"u",_.YM(b.Se()),"d",d].join("/")+"={size}"};_.ALc=function(a){this.H=a};
_.DLc=function(a,b,c){BLc(a,b,c);c.includes(18)&&_.dIc(b,uHc(b,a.H,a.H.Lp()));if(c.includes(19)){var d=zLc(b,a.H,a.H.Lp());_.x(b,20,d)}CLc(a,b,c);if(a.H.Lp()&&_.zN(b)){if(d=(d=b.ef())&&_.ad(d)){BLc(a,d,c);c.includes(18)&&_.dIc(d,uHc(d,a.H,a.H.Lp()));if(c.includes(19)){var e=zLc(d,a.H,a.H.Lp());_.x(d,20,e)}CLc(a,d,c)}_.hIc(b,!!b.uh())}};
BLc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.A(a.H,75,!1);a=a.H.Lp();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Ub();a&&_.zN(b)&&(d=(a=b.ef())?_.y(a,3):"");_.AN(b)&&(b.Wh()&&(d+="+"+String(b.Wh())),b.Oi()&&(d+="+shared"));_.x(b,21,_.NYa(d,c?"32":"16"))}};
CLc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Ub();e&&(e=!_.AN(b)&&!_.zN(b)&&!_.Lc(e)&&(!b.TW()||2!=b.km()),d&&_.x(b,40,e),e&&c&&(d=a.H,c=a.H.Lp(),c=void 0===c?!1:c,a=b.getId(),_.zN(b)&&c&&(a=UGc(b)),c=new _.yi(_.D(d,16,"")+"/uc"),_.Ii(c,"id",a),_.Ii(c,"authuser",_.YM(d.Se())),_.Ii(c,"export","download"),_.x(b,41,c.toString())))}};_.ELc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new $Kc(b,d);this.Wz=new mLc(this.ka,b)};
_.YKc=function(a,b,c,d){d=void 0===d?[]:d;try{return FLc(a,b,c,d)}catch(e){_.xN(e)}};
FLc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.GN)return _.GLc(a,b,c);if(b instanceof _.PN)return"base64"==c.headers["x-goog-safety-encoding"]?new wJc(_.naa(c.text),d.length):new wJc(new Uint8Array(_.cka(c.text)),d.length);if(b instanceof _.Xn){if(!c.json)throw _.nP();return _.pLc(a.Wz,c.json,c.headers)}if(b instanceof _.rO)return _.GLc(a,b,c);if("undefined"!=typeof _.pO&&b instanceof _.pO){if(!c.json)throw _.nP();a=c.json;return new _.uJc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.HLc&&b instanceof _.HLc){if(!c.json)throw _.nP();return _.rLc(a.Wz,c.json)}if(b instanceof fHc){if(b.V==b.ha-1){if(!c.json)throw _.nP();b=sLc(a.Wz,c.json,null,c.headers,!!b.ot);_.DLc(a.V,b.getItem(),_.iP(a.H));a=b}else a=_.tLc(null,c.headers);return a}if(b instanceof eHc){a=_.FM(c.headers);b=a.location;if(!b)throw a=_.HM(new _.ob,10),new _.pb("No upload session URI included.",a);return new vJc(b,_.xDc(a),_.yDc(a))}throw new _.pb("FromXhrConverter: Unsupported request type.",
new _.ob);};_.ELc.prototype.ma=function(){return null};_.GLc=function(a,b,c){if(!c.json){if(b instanceof _.aN)return _.tLc(_.ILc(b));throw _.nP();}var d=!1;b instanceof _.rO&&(d=!!_.y(b.request,12));b=sLc(a.Wz,c.json,_.ILc(b),c.headers,d);b.getItem()&&_.DLc(a.V,b.getItem(),_.iP(a.H));return b};_.nP=function(){var a=_.HM(new _.ob,11);return new _.pb("FromXhrConverter: JSON required, but none found",a)};_.ILc=function(a){return a.getId?a.getId():a.Gc?a.Gc():null};
_.JLc=function(a,b){if(b.length){a.parents=[];for(var c=0;c<b.length;c++){var d={};d.id=b[c];a.parents.push(d)}}};
KLc=function(a,b){var c={};_.Bc(_.jg(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Ub()&&(c.mimeType=a.Ub(),a.Gc()&&_.tda(a.Ub())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.Qi(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.KFc[d?d.V():0],f);c.clientEncryptionDetails=e}_.JLc(c,_.y(a,3));(b=a.Gc())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));_.y(a,21)&&(c.shortcutDetails={},c.shortcutDetails.targetId=_.y(a,
21));"number"===typeof _.y(a,26)&&(c.modifiedDate=_.oIc(_.xJc(_.y(a,26)||0)));return c};
LLc=function(a,b,c){var d=!!_.y(a.request,12),e="files";d&&(e+="/"+_.y(a.request,12));e=new _.yi(e);_.Ii(e,"uploadType","multipart");_.Ii(e,"supportsTeamDrives",!0);_.Ii(e,"pinned",!!a.request.Xr());null!=_.F(a.request,8)&&_.Ii(e,"convert",_.F(a.request,8));_.Ii(e,"fields",_.OGc({fields:_.iP(b).filter(function(n){return 194!=n}),Wv:!1}));VGc(e,a.request.ke());var f=KLc(a.request,a.metadata),h=_.kg();b={};b=(b["content-type"]=_.Ax('multipart/related; boundary="%s"',h),b);var k=c.indexOf(",");c=0<=
k?c.substring(k+1):"";f=JSON.stringify(f);k={};k=(k["content-type"]="application/json; charset=UTF-8",k);var l={};l=(l["content-transfer-encoding"]="base64",l);a.request.Ub()&&(l["content-type"]=a.request.Ub());a="--"+h;a=a+"\r\n"+WGc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+WGc(l)+"\r\n"+c+"\r\n"+a+"--";return{$o:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};MLc=function(a){if(a instanceof _.Knb){var b=new _.ob;_.mq(b,"fs.Error: "+a.message);a=(a=a.name)?_.LDa.get(a)||25:38;_.HM(b,a);a=_.wN(b)}return _.Ph(a)};
NLc=function(a,b){return aKc(a.file).then(function(c){return LLc(a,b,c)},MLc)};_.OLc=function(a){var b=_.HM(new _.ob,4);throw new _.pb("ToXhrConverter: Unsupported request type: "+kHc(a),b);};_.PLc=function(a,b,c){this.H=a;this.W=c};XKc=function(a,b,c){try{return b.request instanceof _.rO?NLc(b.request,a.W):_.Oh(a.ha(b.request,b.config,c))}catch(d){return d instanceof _.pb?a=d.qg:(a=new _.ob,_.mq(a,"Error converting XHR: "+d.message),_.nq(a,d.stack),_.HM(a,4)),_.Ph(a)}};
_.PLc.prototype.ha=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.GN){h=(e=!!_.y(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.y(a,12),k.pinned=!!a.Xr());null!=_.F(a,8)&&(k.convert=_.F(a,8));k.fields=_.OGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),kI:_.$M(this.H)});e=KLc(a);f["content-type"]="application/json";var q=a.ke();l=!0;_.hP(this.H,k);_.QLc(this.H,k);_.RLc(this,_.vj(a,_.uk,28),f)}else if(a instanceof _.PN)n="files/"+a.getId(),_.y(a,2)&&(k.revisionId=_.y(a,2)),k.alt="media",
f["X-Goog-Encode-Response-If-Executable"]="base64",_.A(this.H,89,!1)&&(a=_.vk((new _.uk).kc(a.getId()),_.y(a,3)),a=_.yB(a),a.length&&(f["X-Goog-Drive-Resource-Keys"]=a)),l=!0;else if(a instanceof _.Xn)l=a.Ol()[0],n="files/"+l,q=_.qa(this.Bg(c),this.Bg(c,a.Oh())),_.ya(q),k.fields=_.OGc({fields:q,Wv:_.KM(this.H.Se()),kI:_.$M(this.H)}),_.hP(this.H,k),_.SLc(this.H,k),_.TLc(this.H,k),this.V(l,k),q=a.ke(),l=!0,_.F(a,7)&&(b.hka=!0),_.RLc(this,_.vj(a,_.uk,11),f);else if("undefined"!=typeof _.pO&&a instanceof
_.pO)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.HLc&&a instanceof _.HLc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt)",n="files/"+a.id+"/revisions/"+a.ot,l=!0;else if(a instanceof fHc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=_.Ax("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof eHc?(d=2,h=(e=!!_.y(a.request,
12))?"PUT":"POST",n="files",e&&(n+="/"+_.y(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.Xr(),null!=_.F(a.request,8)&&(k.convert=_.F(a.request,8)),k.fields=_.OGc({fields:this.Bg(c).filter(function(v){return 194!=v}),Wv:_.KM(this.H.Se()),kI:_.$M(this.H)}),_.hP(this.H,k),e=KLc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,null!=a.request.Ub()&&(f["x-upload-content-type"]=a.request.Ub()),q=a.request.ke(),l=!0):a instanceof _.iHc?(n="about",
k.fields="kind",q=a.H,l=!0):_.OLc(a);l&&_.ULc(c,k);return _.VLc(d,n,k,f,h,q,e,t)};_.VLc=function(a,b,c,d,e,f,h,k){b=new _.yi(b);[10,12,13].includes(a)||VGc(b,f);c=_.p(Object.entries(c));for(f=c.next();!f.done;f=c.next()){var l=_.p(f.value);f=l.next().value;l=l.next().value;_.Ji(b,f,l)}return{$o:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.SLc=function(a,b){_.A(a.hf(),23,!1)&&(b.includePermissionsForView="published")};_.PLc.prototype.V=function(){};
_.TLc=function(a,b){_.A(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.QLc=function(a,b){_.A(a,3,!1)&&(b.enforceSingleParent=!0)};_.ULc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).Ilb):b.retryCount=0};_.PLc.prototype.Bg=function(a,b){b||(b=_.iP(this.W));0<a.length&&(b=b.slice(0),_.iaa(b,function(c){return SIc.includes(c)}));return b};_.RLc=function(a,b,c){_.A(a.H,89,!1)&&b.length&&(a=_.yB(b),a.length&&(c["X-Goog-Drive-Resource-Keys"]=a))};
_.WLc=function(a,b){_.CH.call(this,a?a:500,b?b:6E5)};_.I(_.WLc,_.CH);var XLc=function(){_.Cp.call(this);this.ha=this.W=null};_.I(XLc,_.Cp);XLc.prototype.V=function(){(0,this.ha)()};YLc=function(a,b){a.ha||(a.ha=b)};_.oP=function(a){if(!a.W){a.W=new RIc;var b=_.Ep(a);_.R(b,56,a.W)}return a.W};ZLc=function(a){var b=_.oP(a).getState();b||(b=new KIc,_.oP(a).Od(b));return b};$Lc=function(a,b){var c=new IIc;_.x(c,1,b);a=_.Ep(a);_.R(a,12,c)};
XLc.prototype.ma=function(){var a=_.C(_.oP(this),MIc,4);if(!a){a=new MIc;var b=_.oP(this);_.R(b,4,a)}return a};aMc=function(a){var b=_.C(_.oP(a),NIc,8);b||(b=new NIc,a=_.oP(a),_.R(a,8,b));return b};_.bMc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.O.call(this);this.Rg=b?1:a;this.z9=!1;this.uG=b};_.I(_.bMc,_.O);_.g=_.bMc.prototype;_.g.isConnected=function(){return!this.z9&&1==this.Rg};_.g.Hl=function(){return 1==this.Rg||2==this.Rg};_.g.Ef=function(){return 3==this.Rg};_.g.get=function(){return this.Rg};
_.g.update=function(a){if(this.uG)return!1;if(this.Rg!=a||this.z9&&1==a){var b;2==a?b=3==this.Rg?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new cJc(b),this.Rg=a,this.z9=!1,this.dispatchEvent(b),!0}return!1};cMc=function(a,b){this.W=a;this.V=b;this.H=null};
gMc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return dMc(a,function(c){return c.count().then(function(d){return 1E3>d?eMc(a,c,b):fMc(a,Error("ff"))},function(d){return fMc(a,d)})},"readwrite")};eMc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.O5a=c.Qd(),d)).then(null,function(e){fMc(a,e)})};
hMc=function(a){return new _.Nh(function(b){var c=new Map;dMc(a,function(d){return wIc(d.getIndex("userId"),a.W).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.p(e),k=h.next();!k.done;f={Gca:f.Gca},k=h.next())k=_.p(k.value),f.Gca=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Gca,new _.Sya(n.O5a))}}(f));return _.Rh(_.mc(e.values()).concat()).then(function(){return b(c)})})})})};
iMc=function(a,b){return dMc(a,function(c){return c.remove(b)},"readwrite")};dMc=function(a,b,c){c=void 0===c?"readonly":c;return jMc(a).then(function(d){try{var e=_.SM(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return fMc(a,f)}},function(d){return fMc(a,d)})};
jMc=function(a){return a.H?_.Oh(a.H):_.hEc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.xIc(c,"OfflineImpressions");_.bEc(_.fEc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return fMc(a,Error("gf"))}).then(function(b){return a.H=b},function(b){return _.Ph(_.vN(b))})};fMc=function(a,b){b||(b=Error("hf"));_.WO(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Oh()};
_.kMc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.O.call(this);this.Kw=b?!1:a;this.zka=null;this.uG=b};_.I(_.kMc,_.O);_.kMc.prototype.Ef=function(){return this.Kw};_.kMc.prototype.Qk=function(a){var b=this.Kw!=a;!this.uG&&b&&(this.Kw=a,this.dispatchEvent(new nJc(a)))};_.kMc.prototype.gA=function(a){this.zka=a};
var mMc=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ha=a;this.W=b;this.Rg=c;this.V=d;this.Lb=new _.Xd(this);this.Lb.listen(b,"Cb",function(k){k.Ef()||lMc(h)});this.Lb.listen(c,["wb","yb"],function(){return void lMc(h)});this.ka=e;f.then(function(){return lMc(h)})};_.I(mMc,_.O);mMc.prototype.H=function(a){return(this.W.Ef()||this.Rg.Ef())&&this.W.zka?gMc(this.V,a):this.ha.H(a)};
var lMc=function(a){return a.W.zka?hMc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return nMc(a,d)},function(){return oMc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},nMc=function(a,b){oMc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return iMc(a.V,b).then(function(){oMc(a,"Removed offline impression batch "+b+".")},function(){oMc(a,"Unable to remove offline impression batch "+b+".")})},oMc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},pMc=function(){};pMc.prototype.EI=function(){return new XLc};var qMc=function(){this.H=new HIc};qMc.prototype.V=function(a){_.R(a,13,this.H)};qMc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};sMc=function(a,b,c,d){this.Ga=_.pP(_.RFc,_.FO(a));this.ma=_.pP(_.VFc,_.D(a.hf(),8,0));this.W=_.pP(_.SFc,_.D(a.hf(),9,2));this.ta=_.A(a,10,!1);this.Ja=_.KM(a.Se());this.wa=_.GO(a);this.ha=rMc(a);this.Ba=a.yi();this.V=this.H=null;this.Ka=b;this.Rg=c;this.ka=d};
rMc=function(a){var b=_.mc(_.OFc.keys()).concat(),c=_.mc(_.PFc.keys()).concat(),d=_.ZM(a);return b.filter(function(e){return _.OFc.get(e)(a)}).concat(c.filter(function(e){return d&&_.PFc.get(e)(d)}))};_.pP=function(a,b){a=_.p(a);for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};tMc=function(a){if(a.V)return a.V.H("aU7Ts")};
sMc.prototype.Fb=function(a){return a instanceof _.YB||"undefined"!=typeof _.qP&&a instanceof _.qP||"undefined"!=typeof _.rP&&a instanceof _.rP||"undefined"!=typeof _.sP&&a instanceof _.sP?a.Fb():"undefined"!=typeof _.tP&&a instanceof _.tP||"undefined"!=typeof _.uP&&a instanceof _.uP||"undefined"!=typeof _.vP&&a instanceof _.vP||"undefined"!=typeof _.wP&&a instanceof _.wP||"undefined"!=typeof _.xP&&a instanceof _.xP?a.response?a.response.Fb():null:null};sMc.prototype.yi=function(){return this.Ba};
var uMc=function(a){return a.Ka.Ef()||a.Rg.Ef()?2:1};sMc.prototype.getEnvironment=function(){return this.ka};var vMc=function(a,b){this.H=a;var c=new _.gya;_.hya(c,b.ha);a=this.H.oG();var d=_.VEc(a);_.R(d,10,c);(c=b.yi())&&_.UEc(a,c);this.H.qT();this.V=b};vMc.prototype.isRunning=function(){return this.H.eO()};
_.wMc=function(a,b,c){var d=_.Dp(a.H.nD(b,c),_.LFc);$Lc(d,uMc(a.V));b=tMc(a.V);"boolean"===typeof b&&LIc(ZLc(d),b);YLc(d,function(){1==c&&a.H.lF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=ZLc(d);_.x(f,1,e);a.H.Ro(d)});return d};xMc=function(a){var b=new _.fCa;var c=new qMc;_.x(c.H,1,a.Ga);_.x(c.H,3,a.ma);_.x(c.H,4,a.W);_.x(c.H,5,a.ta);_.x(c.H,6,a.Ja);_.x(c.H,7,a.wa);a=c.setEnvironment(a.getEnvironment());_.nIc(b,_.MFc,a);_.Gp(b,_.LFc,new pMc);return b};
yMc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.HH(906,b,void 0,_.XM());l.ha=!1;var n=new _.iEc(l);b=new Date;l=_.$Ec(_.ZEc(_.YEc(yIc(),new _.jEc(l)),xMc(c)),109).setSessionId(b.getTime()+"_"+_.kg());if(k){a=new mMc(n,d,e,new cMc(a,f),f,h);_.XEc(l,a);d=l.build();_.TEc(d.oG(),1E3*b.getTime());var q=new vMc(d,c);(new _.Xd).listen(a,"Db",function(){_.wMc(q,106008,0).V()});return q}_.XEc(l,n);a=l.build();_.TEc(a.oG(),1E3*b.getTime());return new vMc(a,c)};
zMc=function(a,b){this.V=a;this.ha=b};zMc.prototype.H=function(a){this.V&&_.AMc(this)&&_.wMc(this.V,a,0).V()};zMc.prototype.W=function(a){return this.V&&_.AMc(this)?_.wMc(this.V,a,1):null};_.AMc=function(a){return!(!a.V||!a.V.isRunning())};_.BMc=function(a,b,c,d,e,f){var h=_.F(a,59),k=_.YM(a.Se()).toString(),l=_.EO(a.Se());f=new sMc(a,b,c,f);a=h?yMc(l,k,f,b,c,d,e,_.A(a,17,!1)):null;return new zMc(a,f)};_.CMc=function(a,b,c){this.qc=a;this.ha=b;this.W=c;this.V=this.bm=null;this.H=!1};
_.CMc.prototype.getState=function(){return this.qc};_.ZKc=function(a){a.V=null;a.bm&&(clearTimeout(a.bm),a.bm=null)};_.PJc=function(a){a.V||a.H||(a.V=new _.WLc(5E3,6E4),DMc(a))};DMc=function(a){EMc(a);a.V&&(a.bm=setTimeout(function(){return void DMc(a)},a.V.tb()),_.DH(a.V))};EMc=function(a){_.Th(_.Oh().then(null,function(){return null}),function(){return void FMc(a)})};
FMc=function(a){GMc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.iHc(_.qe(new _.pe,312)))}).then(null,function(b){b=_.wN(b);_.aFc(b.qg)&&OJc(a,2);return _.Ph(b)}).then(null,function(){return null})};GMc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};OJc=function(a,b){return!a.H&&a.qc.update(b)?(GMc(a,"Connection status: "+_.WFc.get(b)),!0):!1};_.r("sy12e");
_.HMc=function(a,b,c){_.Qg.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.I(_.HMc,_.Qg);
_.yP=function(a,b,c,d,e,f,h){_.O.call(this);var k=this;this.W=a;this.ma=b;this.Ga=c;this.ta=d;this.Wa=e;this.ha=f;this.H={};this.je=null;this.Ba=h;this.wa={};_.od(this,function(){k.Cx()})};_.I(_.yP,_.O);_.yP.prototype.zQ=function(){return _.lg()};
_.yP.prototype.upload=function(a,b,c){SKc(this.ma,"UploadTotalCount");var d=_.RO(a);if(d&&this.H[d])throw new _.pb("Upload requested with a duplicate request ID.");var e=_.y(a,10);if(e&&e.length){if(1!=e.length)throw new _.pb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.pb("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);d||(d=this.zQ(),_.x(a,9,d));a=_.Dj(a);e=IMc(this,d);this.H[d]={request:a,file:b,
Yf:e,nF:!1,kK:0,success:!1,UE:!1,children:[],metadata:c,$k:void 0};f?JMc(this,d,f):this.ka(d);return e.Gk()};
var IMc=function(a,b){var c=new _.Hj;c.xf(_.Ke(a.Qa,b),_.Ke(a.Ma,b),a);return c},JMc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.ya(c.children);c.Yf.then(function(f){if(1==f.Fb()&&(f=f.Gc(),_.y(e.request,3).push(f),_.x(e.request,10,[]),!c.UE||d)){a.ka(b);return}KMc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Yf.Bd(_.EM(f)?f:Error(f))})};
_.yP.prototype.Qa=function(a,b){SKc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Fb();(b=a.$k)&&!a.UE&&(OIc(QIc(aMc(b),a.kK),!0),b.V())};_.yP.prototype.Ma=function(a,b){var c=_.C(this.W,_.GM,58);c&&_.A(c,1,!1)&&(this.wa[a]=b);SKc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.$k)&&!c.UE&&(OIc(QIc(aMc(a),c.kK),!1),b=(c=b&&b.qg)&&c.Pi(),c=c&&c.zn(),b?PIc(aMc(a),LMc.get(b)||13):c&&PIc(aMc(a),MMc.get(c)||0),a.V())};
_.yP.prototype.ka=function(a){var b=this.H[a];if(!b.nF){b.nF=!0;a=this.H[a];var c=a.request,d=_.C(this.W,_.GM,58);d&&_.A(d,4,!1)&&(d=c.getTitle().match(NMc))&&(!d[1]||a.kK<Number(d[1].substr(1)))&&(c=_.Dj(c),_.ka(_.y(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.C(b.request,_.qIc,15))?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.hf();d=_.D(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ba&&3!=d){var f=this.Ba.W(106012);if(f){b.$k=f;f=aMc(f);f=_.x(f,1,2==d?2:1);f=_.x(f,4,
!!b.metadata);var h=!!_.y(a,12);f=_.x(f,5,h);e=_.x(f,6,e);c=_.D(c,32,1073741824);_.x(e,7,c)}}switch(d){case 2:if(b.file){c=b.Yf;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Ke(this.ha,_.RO(a)));OMc(this,new _.gHc(a,d,k,b),c,_.RO(a))}break;case 1:b.file&&(k=b.Yf,c=b.file,b=b.metadata,d=_.C(this.W,_.wHc,2),OMc(this,new _.rO(a,c,d&&_.A(d,2,!1)?b:void 0),k,_.RO(a)));break;case 3:OMc(this,a,b.Yf,_.RO(a));break;default:throw new _.pb("Upload type ${uploadType} not supported.");}}};
var OMc=function(a,b,c,d){iJc(a.Ga,d,a.Ja.bind(a,d));_.Th(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return PMc(a,b,e)}),function(){jJc(a.Ga,[d])}).then(c.callback,c.Bd,c)},PMc=function(a,b,c){var d=_.wN(c),e=b instanceof _.rO&&b.request.Gc()||"";c=d.qg;if(e&&8==c.Pi()){KMc(a);var f=_.Zn(new _.Xn,[e]);return _.Pj(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.gr().zd()[0];var k=b.request;if(h&&!h.mh()&&(h.Ub()||"").replace(/\s/g,"")==(k.Ub()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return KMc(a),_.UO((new _.vO).setItem(h),e).Dc(1);KMc(a);return _.Ph(d)}))}return _.Qj(d)};
_.yP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.UE||0!=c.children.length))if(c.UE=!0,c.Yf.Ie())KMc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ga(c.children,this.cancel,this);else{var d=c.$k;d&&(PIc(OIc(QIc(aMc(d),c.kK),!1),2),d.V());var e=_.Sh();c.nF?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.nF=!0,d=new _.vO,d.Dc(8),c.Yf.callback(d),e.resolve(!0));e.promise.then(function(f){return KMc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.yP.prototype.Cx=function(){var a=this;_.$e(this.H,function(b,c){a.cancel(c)})};
_.yP.prototype.oma=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.H[f]){var h=[];do{h.push(f);var k=(_.y(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Yf.Ie()||e[k])break;else if(!c.has(k)){e[f]=new _.pb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ca(h,function(n){var q=b.H[n];q.kK++;if(!e[n])if(!q.Yf.Ie()||q.success)e[n]=new _.pb("Unable to retry request.");else{var t=(_.y(q.request,10)||[])[0];e[t]instanceof _.pb?
e[n]=e[t]:(q.Yf=IMc(b,n),q.nF=!1,q.UE=!1,(t=t?b.H[t]:null)?JMc(b,n,t,!0):d.push(n),e[n]=q.Yf.Gk())}})}else e[f]=new _.pb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Hj?f:_.Qj(f)});_.Ga(d,this.ka,this);return a};var KMc=function(a){a.isDisposed()};_.yP.prototype.hd=function(a){return this.H[a]};var NMc=/^uploadTestFailMe(\.[1-9])?$/,MMc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),LMc=new Map([[3,14]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.RMc=function(a){return _.id(a).Bg(_.A(a.get(_.Ya),19,!1)?QMc:_.gd)};_.r("sy12l");
var QMc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

}catch(e){_._DumpException(e)}
try{
var SMc=function(a,b){a=a.request;a=_.Ax('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.RO(a)||"");var c=b.qg;c=c?_.y(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}},TMc=function(a){a={Title:a.getTitle(),Type:a.Ub(),Parents:_.y(a,3),Convert:_.F(a,8),ID:_.RO(a)};var b=[];_.$e(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")},UMc=function(a){var b=[];b.push(TMc(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&
c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.kK&&b.push("# of retries by client: "+a.kK);var d="";a.nF?a.Yf.Ie()?a.Yf.xf(function(){d="Completed successfully."},function(e){d=e instanceof _.Kj?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+d);return b.join("\n")},VMc=function(a,b,c,d,e,f){var h=_.Ax("Drive Upload Report: %d/%d failed",_.df(f),_.df(e));a=a.hf();d.push("Batch query interval: "+_.D(a,
12,10)+"ms");d.push("Max resumable upload chunk size: "+_.D(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.D(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.D(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.D(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.$e(e,function(n){l.push(UMc(n))});k.push({name:"AllUploadRequests.txt",content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.gJc(b)});_.$e(f,function(n,
q){k.push(SMc(e[q],n))});return{title:h,description:d,mQ:k,Yd:152391,j6:c,BW:361003}},WMc=function(a){return Array.prototype.concat.apply([],arguments)},XMc=function(a,b,c){c=_.Ba(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1},YMc=function(a){return String.fromCharCode(10>a?48+a:87+a)},ZMc=function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;8>c;c++){var d=a.charCodeAt(7-c);b[2*c+2]=YMc(d>>4);b[2*c+3]=YMc(d&15)}return b.join("")},$Mc=function(a){var b=new _.fp;b.append("kind,largestChangeId,nextPageToken,");
b.append("items(deleted,fileId,id,kind,");b.append(_.yN(a,!0,"file"));a.AV&&(b.append(",teamDriveId,teamDrive("),b.append(a.AV),b.append(")"));b.append(")");return b.toString()},aNc=function(a){var b=new _.fp;b.append("kind,nextPageToken,items(");b.append(_.yN(a,!0));b.append("),incompleteSearch");a.AV&&(b.append(","),b.append(a.AV));return b.toString()},zP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.IO,138),k=_.C(d,_.sm,111),l=_.C(d,_.MO,27),n=_.C(d,_.NO,
139),q=d.ef(),t=_.C(d,_.PO,103);switch(e){case 74:_.yj(d,83,[]);break;case 188:_.x(d,137,void 0);break;case 149:_.x(d,128,[]);break;case 148:_.yj(d,127,[]);break;case 138:_.x(d,126,void 0);break;case 184:_.x(d,135,[]);break;case 76:f&&_.x(f,1,void 0);break;case 208:f&&_.x(f,48,void 0);break;case 185:f&&_.x(f,40,void 0);break;case 213:f&&_.x(f,50,void 0);break;case 156:f&&_.x(f,39,void 0);break;case 61:f&&_.x(f,2,void 0);break;case 216:f&&_.x(f,52,void 0);break;case 217:f&&_.x(f,53,void 0);break;case 77:f&&
_.x(f,4,void 0);break;case 134:f&&_.x(f,34,void 0);break;case 147:f&&_.x(f,38,void 0);break;case 81:f&&_.x(f,10,void 0);break;case 82:f&&_.x(f,11,void 0);break;case 114:f&&_.x(f,27,void 0);break;case 133:f&&_.x(f,33,void 0);break;case 202:f&&_.x(f,47,void 0);break;case 132:f&&_.x(f,32,void 0);break;case 101:f&&_.x(f,20,void 0);break;case 201:f&&_.x(f,46,void 0);break;case 131:f&&_.x(f,31,void 0);break;case 200:f&&_.x(f,45,void 0);break;case 130:f&&_.x(f,30,void 0);break;case 93:f&&_.x(f,17,void 0);
break;case 191:f&&_.x(f,44,void 0);break;case 146:f&&_.x(f,37,void 0);break;case 90:f&&_.x(f,16,void 0);break;case 78:f&&_.x(f,7,void 0);break;case 186:f&&_.x(f,41,void 0);break;case 85:f&&_.x(f,12,void 0);break;case 137:f&&_.x(f,36,void 0);break;case 209:f&&_.x(f,49,void 0);break;case 79:f&&_.x(f,8,void 0);break;case 189:f&&_.x(f,42,void 0);break;case 190:f&&_.x(f,43,void 0);break;case 80:f&&_.x(f,9,void 0);break;case 135:f&&_.x(f,35,void 0);break;case 102:f&&_.x(f,21,void 0);break;case 69:_.x(d,
74,void 0);break;case 194:h&&_.R(h,2,void 0);break;case 193:h&&_.x(h,1,void 0);break;case 1004:_.x(d,108,void 0);break;case 136:_.yj(d,125,[]);break;case 115:k&&_.x(k,1,void 0);break;case 116:k&&_.x(k,2,void 0);break;case 34:_.x(d,30,void 0);f&&_.x(f,3,void 0);break;case 9:_.x(d,10,void 0);break;case 91:_.R(d,91,void 0);break;case 43:_.x(d,42,void 0);_.x(d,43,void 0);break;case 187:_.x(d,136,void 0);break;case 26:_.x(d,24,void 0);break;case 108:_.x(d,104,[]);break;case 41:_.x(d,40,void 0);f&&_.x(f,
5,void 0);break;case 42:_.x(d,41,void 0);break;case 1005:bNc(d,[]);break;case 59:f&&_.x(f,6,void 0);break;case 28:_.x(d,26,void 0);break;case 44:_.x(d,45,void 0);break;case 13:_.x(d,14,void 0);break;case 48:_.x(d,36,void 0);break;case 38:_.x(d,34,void 0);break;case 49:_.x(d,50,[]);break;case 51:_.x(d,53,void 0);break;case 104:_.x(d,102,void 0);break;case 39:_.x(d,35,void 0);break;case 87:_.x(d,76,void 0);break;case 100:_.x(d,98,void 0);break;case 72:_.x(d,78,void 0);break;case 5:_.x(d,6,void 0);break;
case 20:_.x(d,21,void 0);break;case 21:break;case 29:l&&_.x(l,1,void 0);break;case 31:l&&_.x(l,3,void 0);break;case 92:l&&_.x(l,4,void 0);break;case 30:l&&_.x(l,2,void 0);break;case 16:_.R(d,17,void 0);break;case 12:_.x(d,13,void 0);break;case 211:n&&_.x(n,2,void 0);break;case 212:n&&_.x(n,3,void 0);break;case 157:(d=d.Sj())&&cNc(d,[]);break;case 3:_.x(d,4,void 0);break;case 11:_.x(d,12,void 0);break;case 10:_.x(d,11,void 0);break;case 50:_.x(d,49,void 0);_.x(d,51,void 0);_.R(d,81,void 0);break;case 18:_.x(d,
19,void 0);break;case 95:_.x(d,93,void 0);break;case 58:_.x(d,63,void 0);break;case 14:_.yj(d,15,[]);break;case 103:_.x(d,101,void 0);break;case 1:_.QO(d,[]);break;case 96:_.x(d,94,void 0);break;case 1003:dNc(d,[]);break;case 75:_.kIc(d,void 0);break;case 94:_.x(d,92,void 0);break;case 45:_.x(d,46,void 0);break;case 124:_.x(d,118,void 0);break;case 125:_.x(d,119,void 0);break;case 1002:_.R(d,100,void 0);break;case 32:_.x(d,28,void 0);break;case 67:_.x(d,70,void 0);break;case 68:_.x(d,71,void 0);break;
case 73:_.x(d,79,void 0);break;case 71:_.x(d,77,void 0);break;case 210:_.x(d,140,void 0);break;case 7:_.x(d,8,void 0);break;case 122:eNc(d,void 0);break;case 66:_.x(d,69,void 0);break;case 33:_.x(d,29,void 0);break;case 24:_.x(d,22,void 0);break;case 25:_.x(d,23,void 0);break;case 46:_.R(d,47,void 0);break;case 192:q&&_.x(q,6,void 0);break;case 159:q&&_.R(q,5,void 0);break;case 154:q&&_.x(q,1,void 0);break;case 158:q&&_.x(q,4,void 0);break;case 155:q&&_.x(q,3,void 0);break;case 52:_.x(d,56,[]);break;
case 56:_.x(d,61,void 0);break;case 55:d.KB([]);break;case 4:_.x(d,5,void 0);break;case 35:_.x(d,31,void 0);break;case 57:_.x(d,62,void 0);break;case 83:_.x(d,72,void 0);break;case 84:_.R(d,86,void 0);break;case 19:_.x(d,20,void 0);_.x(d,44,void 0);_.x(d,90,void 0);break;case 2:_.x(d,3,void 0);break;case 6:_.x(d,7,void 0);break;case 98:_.x(d,96,void 0);break;case 97:_.R(d,95,void 0);break;case 27:_.x(d,25,void 0);break;case 70:_.x(d,75,void 0);break;case 107:t&&_.x(t,3,void 0);break;case 106:t&&_.x(t,
2,void 0);break;case 105:t&&_.x(t,1,void 0);break;case 8:_.x(d,9,void 0);break;case 126:_.x(d,120,[]);break;default:throw Error("Zc`"+e);}}},gNc=function(a,b){if(0!=a.length){var c=new Set(_.mc(a).concat(_.mc(fNc)));a=_.mc(_.Ybb.keys()).concat().filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)zP(b[d],a)}},hNc=function(a,b){var c=a.getCapabilities()||new _.pm,d=_.C(a,_.IO,138),e=_.C(a,_.sm,111),f=_.C(a,_.MO,27),h=_.C(a,_.NO,139),k=a.ef(),l=_.C(a,_.PO,103);switch(b){case 74:return 0<
_.ym(a).length;case 188:return null!=_.F(a,137);case 149:return 0<_.y(a,128).length;case 148:return 0<a.Fha().length;case 138:return null!=a.m6();case 184:return 0<_.y(a,135).length;case 76:return null!=_.qm(c);case 208:return null!=_.F(c,48);case 185:return null!=_.F(c,40);case 213:return null!=_.F(c,50);case 156:return null!=_.F(c,39);case 61:return null!=_.F(c,2);case 216:return null!=_.F(c,52);case 217:return null!=_.F(c,53);case 77:return null!=_.F(c,4);case 134:return null!=_.F(c,34);case 147:return null!=
c.Uu();case 81:return null!=_.F(c,10);case 82:return null!=_.F(c,11);case 114:return null!=_.F(c,27);case 133:return null!=_.F(c,33);case 202:return null!=_.F(c,47);case 132:return null!=_.F(c,32);case 101:return null!=_.F(c,20);case 201:return null!=_.F(c,46);case 131:return null!=_.F(c,31);case 200:return null!=_.F(c,45);case 130:return null!=_.F(c,30);case 93:return null!=_.F(c,17);case 191:return null!=_.F(c,44);case 146:return null!=_.F(c,37);case 90:return null!=_.rm(c);case 78:return null!=
_.F(c,7);case 186:return null!=_.F(c,41);case 85:return null!=_.F(c,12);case 137:return null!=_.F(c,36);case 209:return null!=_.F(c,49);case 79:return null!=_.F(c,8);case 189:return null!=_.F(c,42);case 190:return null!=_.F(c,43);case 80:return null!=c.V();case 135:return null!=_.F(c,35);case 102:return null!=_.F(c,21);case 69:return null!=_.F(a,74);case 194:return null!=d&&null!=_.C(d,_.KO,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.F(a,108);case 136:return 0<a.kR().length;
case 115:return null!=e&&null!=_.F(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.F(a,30)||null!=_.F(c,3);case 9:return null!=a.PA();case 91:return null!=_.C(a,_.ok,91);case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=_.y(a,136);case 26:return null!=a.Qf();case 108:return 0<_.y(a,104).length;case 41:return null!=c.W();case 42:return null!=_.y(a,41);case 1005:return 0<a.CI().length;case 59:return null!=_.F(c,6);case 28:return null!=a.HA();case 44:return null!=
_.y(a,45);case 13:return null!=a.FC();case 48:return null!=_.F(a,36);case 38:return null!=a.Wh();case 49:return 0<_.y(a,50).length;case 51:return null!=_.F(a,53);case 104:return null!=_.F(a,102);case 39:return null!=a.N6();case 87:return null!=_.xm(a);case 100:return null!=_.F(a,98);case 72:return null!=_.y(a,78);case 5:return null!=a.Cl();case 20:return null!=a.De();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==f.Re());case 92:return!(!f||null==_.y(f,
4));case 30:return!(!f||null==_.y(f,2));case 16:return null!=a.Fo();case 12:return null!=a.Gx();case 211:return null!=h&&null!=_.F(h,2);case 212:return null!=h&&null!=_.F(h,3);case 157:return a=a.Sj(),!(!a||!_.vj(a,_.um,8));case 3:return null!=a.Ub();case 11:return null!=a.vz();case 10:return null!=a.mq();case 50:return null!=a.hp()||null!=_.F(a,51)||null!=a.Ql();case 18:return null!=_.y(a,19);case 14:return 0<_.wm(a).length;case 95:return null!=a.Fm();case 58:return null!=_.F(a,63);case 103:return null!=
_.y(a,101);case 1:return 0<a.Uh().length;case 96:return null!=_.F(a,94);case 1003:return 0<_.Am(a).length;case 75:return null!=a.Nu();case 94:return null!=_.y(a,92);case 45:return null!=a.np();case 124:return null!=_.F(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.zm(a);case 32:return null!=a.kz();case 67:return null!=a.ZI();case 68:return null!=a.$I();case 73:return null!=_.y(a,79);case 71:return null!=a.V();case 210:return null!=_.y(a,140);case 7:return null!=a.TW();case 122:return null!=
a.SC();case 66:return null!=_.y(a,69);case 33:return null!=_.F(a,29);case 24:return null!=a.Oi();case 25:return null!=a.Qt();case 46:return null!=a.IA();case 192:return null!=k&&null!=_.F(k,6);case 159:return null!=k&&null!=_.ad(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.dd(k);case 155:return null!=k&&null!=_.y(k,3);case 52:return 0<_.y(a,56).length;case 55:return 0<a.Rt().length;case 56:return null!=_.y(a,61);case 4:return null!=a.hw();case 35:return null!=_.F(a,
31);case 57:return null!=_.y(a,62);case 83:return null!=a.wc();case 84:return null!=_.C(a,_.OO,86);case 2:return null!=a.getTitle();case 19:return null!=a.uh()||null!=_.F(a,44)||null!=_.y(a,90);case 6:return null!=a.mh();case 98:return null!=a.dJ();case 97:return null!=a.IF();case 27:return null!=a.km();case 70:return null!=_.y(a,75);case 107:return null!=l&&null!=_.y(l,3);case 106:return null!=l&&null!=l.Re();case 105:return null!=l&&null!=_.y(l,1);case 8:return null!=_.F(a,9);case 126:return 0<
_.y(a,120).length;default:throw Error("$c`"+b);}},iNc=function(a,b){return b.every(function(c){return hNc(a,c)})},jNc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.NGc:[]);return b.every(function(e){return(new Set(d)).has(e)})},kNc=function(a,b){var c=new Set(b.concat(_.NGc));return a.filter(function(d){return!c.has(d)})},AP=function(a,b,c){b=b.clone();c.forEach(function(d){if(hNc(b,d))if(_.$bb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.pm;a.ln(f);switch(d){case 76:_.GHc(f,
_.qm(e));break;case 208:_.XHc(f,_.F(e,48));break;case 185:var h=_.F(e,40);_.x(f,40,h);break;case 213:var k=_.F(e,50);_.x(f,50,k);break;case 156:var l=_.F(e,39);_.x(f,39,l);break;case 61:var n=_.F(e,2);_.x(f,2,n);break;case 216:var q=_.F(e,52);_.x(f,52,q);break;case 217:var t=_.F(e,53);_.x(f,53,t);break;case 77:var v=_.F(e,4);_.x(f,4,v);break;case 134:var z=_.F(e,34);_.x(f,34,z);break;case 147:var B=e.Uu();_.x(f,38,B);break;case 81:var E=_.F(e,10);_.x(f,10,E);break;case 82:_.KHc(f,_.F(e,11));break;
case 114:var L=_.F(e,27);_.x(f,27,L);break;case 133:_.SHc(f,_.F(e,33));break;case 202:_.WHc(f,_.F(e,47));case 132:_.RHc(f,_.F(e,32));break;case 101:_.OHc(f,_.F(e,20));break;case 201:_.VHc(f,_.F(e,46));break;case 131:_.QHc(f,_.F(e,31));break;case 200:var J=_.F(e,45);_.x(f,45,J);break;case 130:var X=_.F(e,30);_.x(f,30,X);break;case 93:_.NHc(f,_.F(e,17));break;case 191:var T=_.F(e,44);_.x(f,44,T);break;case 146:var la=_.F(e,37);_.x(f,37,la);break;case 90:_.MHc(f,_.rm(e));break;case 78:_.HHc(f,_.F(e,
7));break;case 186:var Fa=_.F(e,41);_.x(f,41,Fa);break;case 85:_.LHc(f,_.F(e,12));break;case 137:var Da=_.F(e,36);_.x(f,36,Da);break;case 209:var Aa=_.F(e,49);_.x(f,49,Aa);break;case 79:_.IHc(f,_.F(e,8));break;case 189:_.THc(f,_.F(e,42));break;case 190:_.UHc(f,_.F(e,43));break;case 80:_.JHc(f,e.V());break;case 135:var pa=_.F(e,35);_.x(f,35,pa);break;case 102:_.PHc(f,_.F(e,21));break;case 34:var Va=_.F(b,30);_.x(a,30,Va);var xb=_.F(e,3);_.x(f,3,xb);break;case 41:var Xb=_.F(b,40);_.x(a,40,Xb);var yb=
e.W();_.x(f,5,yb);break;case 59:var fc=_.F(e,6);_.x(f,6,fc)}}}else if(_.acb.has(d)){var Kc=_.C(b,_.IO,138);if(Kc){var re=_.C(a,_.IO,138)||new _.IO;_.R(a,138,re);switch(d){case 194:var dg=_.C(Kc,_.KO,2);_.R(re,2,dg);break;case 193:var Ae=_.y(Kc,1);_.x(re,1,Ae)}}}else if(_.bcb.has(d)){var rf=_.C(b,_.sm,111);if(rf){var Og=_.C(a,_.sm,111)||new _.sm;_.R(a,111,Og);switch(d){case 115:_.LO(Og,_.F(rf,1));break;case 116:_.YHc(Og,_.y(rf,2))}}}else if(_.ccb.has(d)){var wg=_.C(b,_.MO,27);if(wg){var Pc=_.C(a,_.MO,
27)||new _.MO;_.R(a,27,Pc);switch(d){case 29:var Ei=_.y(wg,1);_.x(Pc,1,Ei);break;case 31:Pc.Uf(wg.Re());break;case 92:var sf=_.y(wg,4);_.x(Pc,4,sf);break;case 30:var Gg=_.y(wg,2);_.x(Pc,2,Gg)}}}else if(_.dcb.has(d)){var Bb=_.C(b,_.NO,139);if(Bb){var Mh=_.C(a,_.NO,139)||new _.NO;_.R(a,139,Mh);switch(d){case 211:var Qk=_.F(Bb,2);_.x(Mh,2,Qk);break;case 212:var ni=_.F(Bb,3);_.x(Mh,3,ni)}}}else if(_.ecb.has(d)){var rl=b.ef();if(rl){var wj=a.ef()||new _.mta;_.R(a,132,wj);switch(d){case 192:var mg=_.F(rl,
6);_.x(wj,6,mg);break;case 159:var Bh=_.ad(rl);_.R(wj,5,Bh);break;case 154:var lm=_.y(rl,1);_.x(wj,1,lm);break;case 158:var cq=_.dd(rl);_.x(wj,4,cq);break;case 155:var sl=_.y(rl,3);_.x(wj,3,sl)}}}else if(_.fcb.has(d)){var tl=_.C(b,_.PO,103);if(tl){var Ij=_.C(a,_.PO,103)||new _.PO;_.R(a,103,Ij);switch(d){case 107:var Nn=_.y(tl,3);_.x(Ij,3,Nn);break;case 106:Ij.Uf(tl.Re());break;case 105:var dq=_.y(tl,1);_.x(Ij,1,dq)}}}else switch(d){case 74:var nk=_.ym(b);_.yj(a,83,nk);break;case 188:var eq=_.F(b,
137);_.x(a,137,eq);break;case 149:var ul=_.y(b,128);_.x(a,128,ul||[]);break;case 148:var Po=b.Fha();_.yj(a,127,Po);break;case 138:var Qo=b.m6();_.x(a,126,Qo);break;case 184:var On=_.y(b,135);_.x(a,135,On||[]);break;case 69:var Vm=_.F(b,74);_.x(a,74,Vm);break;case 1004:var Hg=_.F(b,108);_.x(a,108,Hg);break;case 136:var Ve=b.kR();_.yj(a,125,Ve);break;case 9:var jd=b.PA();_.x(a,10,jd);break;case 91:var Ro=_.C(b,_.ok,91);_.R(a,91,Ro);break;case 43:var Xh=_.y(b,42);_.x(a,42,Xh);var Ui=_.y(b,43);_.x(a,
43,Ui);break;case 187:var rv=_.y(b,136);_.x(a,136,rv);break;case 26:a.ol(b.Qf());break;case 108:var lr=_.y(b,104);_.x(a,104,lr||[]);break;case 42:var ts=_.y(b,41);_.x(a,41,ts);break;case 1005:bNc(a,b.CI());break;case 28:_.eIc(a,b.HA());break;case 44:var us=_.y(b,45);_.x(a,45,us);break;case 13:var vs=b.FC();_.x(a,14,vs);break;case 48:var Pn=_.F(b,36);_.x(a,36,Pn);break;case 38:_.gIc(a,b.Wh());break;case 49:var Yt=_.y(b,50);_.x(a,50,Yt||[]);break;case 51:var So=_.F(b,53);_.x(a,53,So);break;case 104:var ch=
_.F(b,102);_.x(a,102,ch);break;case 39:var Jj=b.N6();_.x(a,35,Jj);break;case 87:var Qn=_.xm(b);_.x(a,76,Qn);break;case 100:var Yh=_.F(b,98);_.x(a,98,Yh);break;case 72:var To=_.y(b,78);_.x(a,78,To);break;case 5:var Zt=b.Cl();_.x(a,6,Zt);break;case 20:var ws=b.De();_.x(a,21,ws);break;case 21:a.kc(b.getId());break;case 16:var mr=b.Fo();_.R(a,17,mr);break;case 12:var fq=b.Gx();_.x(a,13,fq);break;case 157:var Uo=b.Sj();if(Uo){var Rk=a.Sj()||new _.kta;lNc(a,Rk);cNc(Rk,_.vj(Uo,_.um,8))}break;case 3:_.zM(a,
b.Ub());break;case 11:var xs=b.vz();_.x(a,12,xs);break;case 10:_.oDc(a,b.mq());break;case 50:var $t=b.hp();_.x(a,49,$t);var Wm=_.F(b,51);_.x(a,51,Wm);var gq=b.Ql();_.R(a,81,gq);break;case 95:_.mIc(a,b.Fm());break;case 18:_.dIc(a,_.y(b,19));break;case 58:var ys=_.F(b,63);_.x(a,63,ys);break;case 14:var zs=_.wm(b);_.yj(a,15,zs);break;case 1:_.QO(a,b.Uh());break;case 96:var nr=_.F(b,94);_.x(a,94,nr);break;case 103:var As=_.y(b,101);_.x(a,101,As);break;case 1003:dNc(a,_.Am(b));break;case 75:_.kIc(a,b.Nu());
break;case 94:_.lIc(a,_.y(b,92));break;case 45:var sv=b.np();_.x(a,46,sv);case 124:var Bs=_.F(b,118);_.x(a,118,Bs);break;case 125:var Vo=_.y(b,119);_.x(a,119,Vo);break;case 1002:var Cs=_.zm(b);_.R(a,100,Cs);break;case 32:var Ds=b.kz();_.x(a,28,Ds);break;case 67:var au=b.ZI();_.x(a,70,au);break;case 68:var Es=b.$I();_.x(a,71,Es);break;case 73:var Xm=_.y(b,79);_.x(a,79,Xm);break;case 71:var gx=b.V();_.x(a,77,gx);break;case 210:var Be=_.y(b,140);_.x(a,140,Be);break;case 7:_.cIc(a,b.TW());break;case 122:eNc(a,
b.SC());break;case 66:var hq=_.y(b,69);_.x(a,69,hq);break;case 33:var hx=_.F(b,29);_.x(a,29,hx);break;case 24:var oz=b.Oi();_.x(a,22,oz);break;case 25:var JO=b.Qt();_.x(a,23,JO);break;case 46:var iq=b.IA();_.R(a,47,iq);break;case 52:var tv=_.y(b,56);_.x(a,56,tv||[]);break;case 56:var bu=_.y(b,61);_.x(a,61,bu);break;case 55:a.KB(b.Rt());break;case 4:a.Kq(b.hw());break;case 35:_.fIc(a,_.F(b,31));break;case 57:var uv=_.y(b,62);_.x(a,62,uv);break;case 83:_.jIc(a,b.wc());break;case 84:var Ym=_.C(b,_.OO,
86);_.R(a,86,Ym);break;case 98:var OF=b.dJ();_.x(a,96,OF);break;case 97:var PF=b.IF();_.R(a,95,PF);break;case 19:var ix=b.uh();_.x(a,20,ix);_.hIc(a,_.F(b,44));var pz=_.y(b,90);_.x(a,90,pz);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Rn(b.mh());break;case 27:_.AM(a,b.km());break;case 70:var jC=_.y(b,75);_.x(a,75,jC);break;case 8:var QF=_.F(b,9);_.x(a,9,QF);break;case 126:var s6=_.y(b,120);_.x(a,120,s6||[]);break;default:throw Error("ad`"+d);}})},mNc=function(a,b){var c=_.yA[a];return b.filter(function(d){return!c||
!c.has(d)})},nNc=function(a,b,c){a=mNc(c,a);return jNc(b,a,!0)},oNc=function(a){return!!_.F(a,31)&&!_.F(a,94)},qNc=function(a){return pNc.some(function(b){return hNc(a,b)})},rNc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(BP(b))})},sNc=function(a){return rNc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))},tNc=function(a,b){var c=_.FM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d},vNc=function(a,b){if(b){var c=
[];_.F(b,3)&&c.push("folder");var d=uNc()&&4==b.getType()?"title_natural":_.gFc[b.getType()];b=_.iFc[b.Nh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}},xNc=function(a,b,c,d){b="#"+b+"_";var e=new _.DM;e.update(c.join(","));b+=_.uDc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new wNc(c.port),c.port.start()):a=new wNc(new Worker(a));return a},zNc=function(a){var b=a.slice(0),c=new Set(b);yNc.forEach(function(d){c.has(d)||b.push(d)});b.sort();
return b},BNc=function(a){var b=new ANc;if(a instanceof _.BN)_.xj(b,16,CP[0],a);else if(a instanceof _.CN)_.xj(b,1,CP[0],a);else if(a instanceof _.DN)_.xj(b,2,CP[0],a);else if(a instanceof _.GN)_.xj(b,3,CP[0],a);else if(a instanceof _.jP)_.xj(b,4,CP[0],a);else if(a instanceof _.EN)_.xj(b,5,CP[0],a);else if(a instanceof _.KN)_.xj(b,6,CP[0],a);else if(a instanceof _.MN)_.xj(b,7,CP[0],a);else if(a instanceof _.NN)_.xj(b,8,CP[0],a);else if(a instanceof _.QN)_.xj(b,9,CP[0],a);else if(a instanceof _.dO)_.xj(b,
10,CP[0],a);else if("undefined"!=typeof _.eO&&a instanceof _.eO)_.xj(b,11,CP[0],a);else if(a instanceof _.fO)_.xj(b,12,CP[0],a);else if(a instanceof _.aN)_.xj(b,13,CP[0],a);else if(a instanceof _.jO)_.xj(b,14,CP[0],a);else if(a instanceof _.kO)_.xj(b,15,CP[0],a);else throw new _.pb("Unsupported request type");return b},ENc=function(a){a=a.map(function(c){var d=new CNc;if(c instanceof _.BN)_.xj(d,6,DP[0],c);else if(c instanceof _.KN)_.xj(d,1,DP[0],c);else if(c instanceof _.dO)_.xj(d,2,DP[0],c);else if("undefined"!=
typeof _.eO&&c instanceof _.eO)_.xj(d,3,DP[0],c);else if(c instanceof _.aN)_.xj(d,4,DP[0],c);else if(c instanceof _.kO)_.xj(d,5,DP[0],c);else throw new _.pb("Unsupported request type");return d});var b=new DNc;_.yj(b,1,a);return b},HNc=function(a){var b=new FNc;if("undefined"!=typeof _.tD&&a instanceof _.tD)_.xj(b,1,GNc[0],a);else if("undefined"!=typeof _.uD&&a instanceof _.uD)_.xj(b,2,GNc[0],a);else throw new _.pb("Unsupported request type");return b},KNc=function(a){var b=new INc;if(a instanceof
_.HN)_.xj(b,1,JNc[0],a);else if(a instanceof _.ON)_.xj(b,2,JNc[0],a);else if(a instanceof _.lO)_.xj(b,3,JNc[0],a);else throw new _.pb("Unsupported request type");return b},LNc=function(a,b){var c=a.Ql();c||(c=new _.tm,b&&_.R(a,81,c));return c},MNc=function(a){if(_.AN(a))_.tN(LNc(a,!0),!0);else if(_.AN(a,!0)){var b=a.ef();if(b=b&&_.ad(b))_.tN(LNc(b,!0),!0),_.tN(LNc(a,!0),!0)}},NNc=function(a){return!!a.Ql()&&!_.AN(a)},ONc=function(a){var b=[];_.Ga(a,function(c){if(3!=BP(c)){var d=c;if(null!=d.hp()||
null!=_.F(d,51)||null!=d.Ql())c=_.Dj(c),_.x(c,49,void 0),_.x(c,51,void 0),_.R(c,81,void 0);b.push(c)}});return b},EP=function(a){return a.map(function(b){return b.getItem()})},PNc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b},RNc=function(a){return a.map(function(b){var c=new _.L3a;c=_.x(c,3,QNc[b.serviceName]);return _.x(c,2,Number(b.WAb))})},TNc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return SNc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):
b},0)},VNc=function(a){a=a.yw();var b=new UNc;a.forEach(function(c){var d=c.getKey();d=d&&_.y(d,2);"corpusSize"==d?(c=_.og(c.tb()),_.x(b,3,c)):"linkedItems"==d?(c=_.og(c.tb()),_.x(b,2,c)):"linkedFolders"==d&&(c=_.og(c.tb()),_.x(b,1,c))});return"number"===typeof _.y(b,3)?b:null},WNc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.pe;_.qe(b,305);_.se(b,!0);_.x(b,3,2);var c=new _.PC;_.R(c,1,b);var d=new _.cHc(c,[7]);a=a.then(function(e){return e.H(d)}).then(VNc);return _.Pj(a)},
XNc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.tb();(a=c&&_.ao(c))&&(b.namespace=_.eGc[a]);return b},YNc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.eGc[a[c]]);return b},aOc=function(a){var b=_.iG(a);b=ZNc(new FP,b).wd(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new $Nc;a=_.y(a,5);a=_.x(c,1,a);return _.R(b,4,a)},cOc=function(a,b){var c=bOc(a.V,b.Gc());if(c){var d=c.getItem(),e=d.Nu();if(e){var f=_.vj(e,_.ok,2),h=_.oa(f,function(k){return k.getId()==b.V()});_.$Hc(e,
f);h||(f=_.vj(e,_.ok,3),_.oa(f,function(k){return k.getId()==b.V()}),_.aIc(e,f));_.ZHc(e,(_.y(e,1)||1)-1);GP(a,[d],c.V)}}},eOc=function(a,b,c){if(b=bOc(a.V,b.Gc())){var d=b.getItem(),e=d.Nu();if(e){if(1==c.getType()||2==c.getType()){var f=_.vj(e,_.ok,3);f.push(c);_.Ca(f,dOc);_.aIc(e,f)}else f=_.vj(e,_.ok,2),f.push(c),_.Ca(f,dOc),_.$Hc(e,f);_.ZHc(e,(_.y(e,1)||0)+1);GP(a,[d],b.V)}}},iOc=function(a){var b=a.json.exportJob,c=fOc[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||
0;var f=0,h=0,k=_.fe(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.fe(b.failedItemInfos||[],function(l){var n=_.zM((new _.vm).kc(l.docId).setTitle(l.title),l.mediaType);n=(new _.gOc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new hOc(c,d,k,f,h,e,a,b)},jOc=function(a){a=a.hd();return a?(a=a.ke())?_.y(a,1):0:0},kOc=function(a,b){return _.A(b,5,!1)?a+",graceQuotaInfo":a},mOc=function(a,b){var c=new _.iN,
d=new Set;if(6==a){a=_.p(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.KGc.get(BP(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}lOc(c,_.mc(d).concat());return c},nOc=function(a,b){var c={};a=_.af(a,function(d){return!!d});b=_.af(b,function(d){return!!d});_.$e(a,function(d,e){var f=b[e];f?_.Cj(d,f)||(d=_.qN(4).setItem(f),c[e]=d):(d=_.qN(2).setItem(d),c[e]=d)});_.$e(b,function(d,e){a[e]||(d=_.qN(1).setItem(d),c[e]=d)});return c},oOc=function(a,b){return _.df(a)!=_.df(b)||!_.gf(nOc(a,b))},sOc=
function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(pOc(b))return b=new HP(a,b,3),new IP(b,b.Ja);_.x(b,61,!1);var c=_.KM(b.Se())?2:1;a=new JP(a,b,c,void 0,void 0,void 0);return _.KM(b.Se())?new qOc(a):new rOc(a)},uOc=function(a){return _.id(a).Bg(_.A(a.get(_.Ya),19,!1)?tOc:_.c_a)},KP=function(a,b){a.H.push(b>>>0&255);a.H.push(b>>>8&255);a.H.push(b>>>16&255);a.H.push(b>>>24&255)},vOc=function(a){_.Q(this,a,0,-1,null,null)},MP,zOc,AOc,BOc,oPc,pPc,qPc,rPc,sPc,tPc,uPc,vPc,wPc,xPc,yPc,zPc,APc,BPc,CPc,DPc,
EPc,FPc,GPc,HPc,IPc,JPc,KPc,LPc,MPc,NPc,OPc,PPc,QPc,cNc,BP,lNc,dNc,eNc,bNc,RPc,XPc,YPc,ZPc,fQc,gQc,hQc,kQc,lQc,mQc,nQc,JQc,KQc,NQc,PQc,QQc,RQc,SQc,TQc,UQc,VQc,WQc,QP,RP,XQc,YQc,ZQc,$Qc,aRc,bRc,cRc,dRc,eRc,fRc,gRc,hSc,pSc,qSc,rSc,sSc,tSc,wSc,ySc,TSc,USc,gTc,vTc,xTc,BTc,ITc,MTc,STc,gUc,iUc,jUc,CUc,DUc,hOc,EUc,FUc,GUc,uNc,HUc,IUc,BQ,JUc,KUc,LUc,MUc,LVc,MVc,NVc,OVc,PVc,QVc,RVc,SVc,TVc,UVc,VVc,WVc,EWc;_.M(vOc,_.P);var wOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(wOc,_.P);
var xOc=[11],yOc=function(a){_.Q(this,a,0,-1,xOc,null)};_.M(yOc,_.P);var LP=function(a){_.Q(this,a,0,-1,null,null)};_.M(LP,_.P);LP.prototype.getKey=function(){return _.y(this,2)};MP=function(a){return _.D(a,4,"en")};_.NP=function(a){return _.C(a,yOc,34,1)};zOc=function(a,b){return _.yj(a,1,b)};AOc=[1];BOc=function(a){_.Q(this,a,0,-1,AOc,null)};_.M(BOc,_.P);BOc.prototype.VI=function(){return _.vj(this,_.ok,1)};BOc.prototype.O3=function(a){_.zj(this,1,a,_.ok,void 0)};
var COc=function(a){var b=new BOc;return _.yj(b,1,a)},DOc=function(a,b){return _.R(a,1,b)},EOc=function(a,b){_.yj(a,2,b)},FOc=function(a,b){_.R(a,6,b)},GOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(GOc,_.P);var HOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HOc,_.P);var OP=function(a){_.Q(this,a,0,-1,null,null)};_.M(OP,_.P);var IOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(IOc,_.P);var JOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(JOc,_.P);var KOc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(KOc,_.P);var LOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(LOc,_.P);var MOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(MOc,_.P);var NOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(NOc,_.P);var OOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(OOc,_.P);var POc=function(a){_.Q(this,a,0,-1,null,null)};_.M(POc,_.P);var QOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(QOc,_.P);var ROc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ROc,_.P);var SOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(SOc,_.P);
var TOc=[[1,2,3,4]],UOc=function(a){_.Q(this,a,0,-1,null,TOc)};_.M(UOc,_.P);var VOc=[[1]],WOc=function(a){_.Q(this,a,0,-1,null,VOc)};_.M(WOc,_.P);var XOc=[[1,2]],YOc=function(a){_.Q(this,a,0,-1,null,XOc)};_.M(YOc,_.P);var ZOc=[[1]],$Oc=function(a){_.Q(this,a,0,-1,null,ZOc)};_.M($Oc,_.P);var aPc=[[1,2]],bPc=function(a){_.Q(this,a,0,-1,null,aPc)};_.M(bPc,_.P);bPc.prototype.jg=function(a){_.xj(this,1,aPc[0],a)};var cPc=[1],dPc=function(a){_.Q(this,a,0,-1,cPc,null)};_.M(dPc,_.P);
var ePc=[[1]],fPc=function(a){_.Q(this,a,0,-1,null,ePc)};_.M(fPc,_.P);var gPc=[2],hPc=function(a){_.Q(this,a,0,-1,gPc,null)};_.M(hPc,_.P);var iPc=[[1]],jPc=function(a){_.Q(this,a,0,-1,null,iPc)};_.M(jPc,_.P);jPc.prototype.jg=function(a){_.xj(this,1,iPc[0],a)};var kPc=[[1,2]],lPc=function(a){_.Q(this,a,0,-1,null,kPc)};_.M(lPc,_.P);var mPc=[[1]],nPc=function(a){_.Q(this,a,0,-1,null,mPc)};_.M(nPc,_.P);oPc=function(a,b){return _.xj(a,3,_.mm[0],b)};pPc=function(a,b){_.yj(a,1,b)};
qPc=function(a,b){return _.x(a,2,b)};rPc=function(a,b){return _.R(a,3,b)};sPc=function(a,b){return _.x(a,4,b)};tPc=function(a,b){_.yj(a,1,b)};uPc=function(a,b){return _.R(a,2,b)};vPc=function(a,b){_.yj(a,1,b)};wPc=function(a,b){return _.R(a,4,b)};xPc=function(a,b){_.R(a,5,b)};yPc=function(a,b){_.yj(a,2,b)};zPc=function(a,b){_.yj(a,4,b)};APc=function(a,b){return _.R(a,5,b)};BPc=function(a,b){_.yj(a,1,b)};CPc=function(a,b){return _.R(a,2,b)};DPc=function(a,b){_.yj(a,2,b)};
EPc=function(a,b){return _.yj(a,3,b)};FPc=function(a,b){_.yj(a,1,b)};GPc=function(a,b){return _.x(a,2,b)};HPc=function(a,b){return _.R(a,3,b)};IPc=function(a,b){_.yj(a,2,b)};JPc=function(a,b){return _.R(a,3,b)};KPc=function(a,b){_.yj(a,1,b)};LPc=function(a,b){return _.yj(a,2,b)};MPc=function(a,b){_.yj(a,1,b)};NPc=function(a,b){return _.R(a,2,b)};OPc=function(a,b){return _.R(a,1,b)};PPc=function(a,b){return _.x(a,2,b)};QPc=function(a,b){return _.x(a,3,b)};cNc=function(a,b){_.yj(a,8,b)};
BP=function(a){return _.D(a,52,1)};lNc=function(a,b){return _.R(a,73,b)};dNc=function(a,b){_.yj(a,107,b)};eNc=function(a,b){_.R(a,109,b)};bNc=function(a,b){return _.yj(a,117,b)};RPc=function(a,b){return _.x(a,1,b||[])};_.SPc=function(a,b){return _.yj(a,5,b)};_.TPc=function(a,b){return _.x(a,6,b)};_.UPc=function(a,b){return _.x(a,7,b)};_.VPc=function(a,b){return _.x(a,8,b)};_.WPc=function(a,b){return _.x(a,10,b)};XPc=function(a,b){return _.x(a,5,b)};YPc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(YPc,_.P);ZPc=[2];_.$Pc=function(a){_.Q(this,a,0,-1,ZPc,null)};_.M(_.$Pc,_.P);_.$Pc.prototype.Xm=function(){return _.y(this,1)};_.aQc=function(a,b){return _.x(a,2,b)};_.bQc=function(a,b){return _.x(a,3,b)};_.cQc=function(a,b){return _.x(a,1,b)};_.dQc=function(a,b){return _.x(a,2,b)};_.eQc=function(a,b){return _.R(a,1,b)};fQc=function(a,b){return _.x(a,2,b)};gQc=function(a,b){return _.x(a,3,b)};hQc=function(a,b){_.yj(a,4,b)};_.iQc=function(a,b){_.R(a,8,b)};_.jQc=function(a,b){_.R(a,9,b)};
_.jP=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jP,_.P);_.jP.prototype.getTitle=function(){return _.y(this,1)};_.jP.prototype.setTitle=function(a){return _.x(this,1,a)};_.jP.prototype.ke=function(){return _.C(this,_.pe,2)};kQc=function(a,b){return _.x(a,9,b||[])};lQc=function(a,b){return _.x(a,10,b||[])};mQc=function(a,b){return _.x(a,36,b)};nQc=function(a,b){return _.yj(a,38,b)};_.oQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.oQc,_.P);_.oQc.prototype.getId=function(){return _.y(this,1)};
_.oQc.prototype.kc=function(a){return _.x(this,1,a)};
var pQc=function(a,b){return _.x(a,2,b)},qQc=function(a,b){return _.R(a,3,b)},rQc=function(){var a=new _.gN;return _.x(a,5,!0)},lOc=function(a,b){return _.x(a,1,b||[])},sQc={TYPE_UNSPECIFIED:0,TYPE_APP:1,TYPE_SYNC_CALENDAR:2,TYPE_SYNC_CONTACTS:3,TYPE_SYNC_PHOTOS_AND_VIDEOS:4,TYPE_CALL_HISTORY:5,TYPE_DEVICE_SETTINGS:6,TYPE_SMS:7,TYPE_MMS:8},PP=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Cj(b[a],c[a]))return!0;return!1},tQc=[1,3,5],uQc=function(a){_.Q(this,a,0,-1,tQc,
null)};_.M(uQc,_.P);uQc.prototype.Zx=function(){return _.F(this,2)};var vQc=function(a,b){_.x(a,2,b)},wQc=function(a,b){_.tj(a,5,b,void 0)},xQc=function(a,b){_.x(a,6,b)},yQc=function(a,b){_.x(a,7,b)},zQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(zQc,_.P);zQc.prototype.Zx=function(){return _.F(this,1)};zQc.prototype.qq=function(){return _.y(this,6)};var AQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(AQc,_.P);var BQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(BQc,_.P);
var CQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(CQc,_.P);var DQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(DQc,_.P);var EQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(EQc,_.P);var FQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FQc,_.P);var GQc=[1],HQc=function(a){_.Q(this,a,0,-1,GQc,null)};_.M(HQc,_.P);_.IQc=function(a,b){_.R(a,2,b)};JQc=[2];KQc=function(a){_.Q(this,a,0,-1,JQc,null)};_.M(KQc,_.P);_.g=KQc.prototype;_.g.Fb=function(){return _.y(this,1)};
_.g.Dc=function(a){return _.x(this,1,a)};_.g.VI=function(){return _.vj(this,_.ok,2)};_.g.O3=function(a){_.zj(this,2,a,_.ok,void 0)};_.g.Pj=function(){return _.y(this,3)};var LQc=[2],MQc=function(a){_.Q(this,a,0,-1,LQc,null)};_.M(MQc,_.P);MQc.prototype.Fb=function(){return _.y(this,1)};MQc.prototype.Dc=function(a){return _.x(this,1,a)};MQc.prototype.Pj=function(){return _.y(this,3)};NQc=function(a,b){return _.x(a,1,b||[])};_.OQc=function(a,b){_.R(a,1,b)};PQc=function(a,b,c){_.WO(a,b,c,"warning")};
QQc=function(a){return _.Re(a.Bp,function(b){return _.xO(b.yr.request)})};RQc=function(a){var b=[];a.Bp.forEach(function(c){(c=c.yr.config.timestamp)&&b.push(c)});return b};SQc=function(a){return a.W.TDa()?!0:a.V.some(function(b){return QQc(b)})};TQc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.yr.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ta(b,RQc(c))});return b};UQc=function(a){return _.mc(a.V).concat()};VQc=function(a){return a.H.concat(_.mc(a.V).concat())};
WQc=function(a,b){var c=new Set;b=_.p(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.V.has(d)||(a.V.add(d),c.add(d));return _.mc(c).concat()};QP=function(a){var b=_.oP(a).hd();b||(b=new _.JIc,a=_.oP(a),_.R(a,1,b));return b};RP=function(a){var b=_.C(_.oP(a),uQc,3);b||(b=new uQc,a=_.oP(a),_.R(a,3,b));return b};XQc=function(a){var b=_.C(_.oP(a),zQc,16);b||(b=new zQc,a=_.oP(a),_.R(a,16,b));return b};YQc=function(a){var b=_.C(_.oP(a),CQc,7);b||(b=new CQc,a=_.oP(a),_.R(a,7,b));return b};
ZQc=function(a){var b=_.C(_.oP(a),EQc,12);b||(b=new EQc,a=_.oP(a),_.R(a,12,b));return b};
$Qc=function(a){if(a instanceof _.SO)return 2;if(a instanceof _.eo)return 10;if(a instanceof _.he)return _.UN(a)?3:_.VN(a)?7:_.WN(a)?8:1;if(a instanceof _.Xn)return 9;if(a instanceof _.jG)return 11;if(a instanceof _.bO)return 15;if(a instanceof _.mO)return 6;if(a instanceof _.YN){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.PC)return 4;if(a instanceof _.go)return 12;if("undefined"!=typeof _.nO&&a instanceof _.nO)return 13}return 0};
aRc=function(a){var b=null;a instanceof _.YB||"undefined"!=typeof _.qP&&a instanceof _.qP||"undefined"!=typeof _.rP&&a instanceof _.rP?b=a.Ne()||0:"undefined"!=typeof _.tP&&a instanceof _.tP||"undefined"!=typeof _.uP&&a instanceof _.uP||"undefined"!=typeof _.vP&&a instanceof _.vP||"undefined"!=typeof _.wP&&a instanceof _.wP||"undefined"!=typeof _.xP&&a instanceof _.xP?b=a.H:"undefined"!=typeof _.sP&&a instanceof _.sP&&(b=a.Ne());return b||0};bRc=function(a,b){return a.V&&_.AMc(a)?_.wMc(a.V,b,0):null};
cRc=function(a,b){if(a.V&&_.AMc(a)){a=_.wMc(a.V,106018,0);var c=_.C(_.oP(a),FQc,15);if(!c){c=new FQc;var d=_.oP(a);_.R(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};dRc=function(a){a.V&&_.AMc(a)&&(a=a.V,a.isRunning()&&a.H.pT())};
eRc=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};
fRc=function(a,b){if(!(a instanceof b.constructor))throw Error("R");var c=a.Qd();b=b.Qd();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Cc&&(d[0]=a.Cc,e=1);for(;e<f;e++)_.Qka(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};gRc=[2,6];_.rP=function(a){_.Q(this,a,0,-1,gRc,null)};_.M(_.rP,_.P);_.g=_.rP.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.zd=function(){return _.vj(this,_.vm,2)};_.g.gw=function(a){return _.yj(this,2,a)};
_.g.Pf=function(a,b){return _.zj(this,2,a,_.vm,b)};_.g.Pj=function(){return _.y(this,3)};_.g.Aga=function(){return _.A(this,4,!0)};var hRc=function(a,b){return _.x(a,4,b)},iRc=function(a,b){return _.yj(a,6,b)};_.g=_.rP.prototype;_.g.jF=function(){return _.C(this,_.xkb,7)};_.g.gI=function(a){return _.R(this,7,a)};_.g.getSessionId=function(){return _.C(this,_.Bm,8)};_.g.setSessionId=function(a){return _.R(this,8,a)};_.g.QW=function(){return _.y(this,10)};_.g.SW=function(a){return _.x(this,10,a)};
_.g.Ne=function(){return _.y(this,9)};_.g.RW=function(a){return _.x(this,9,a)};var jRc=[2],kRc=function(a){_.Q(this,a,0,-1,jRc,null)};_.M(kRc,_.P);kRc.prototype.Fb=function(){return _.y(this,1)};kRc.prototype.Dc=function(a){return _.x(this,1,a)};kRc.prototype.Pj=function(){return _.y(this,3)};var lRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(lRc,_.P);var mRc=[1,2],nRc=function(a){_.Q(this,a,0,-1,mRc,null)};_.M(nRc,_.P);nRc.prototype.yw=function(){return _.vj(this,_.$n,1)};
var oRc=[1,2,4],pRc={SUCCESS:1,Kzb:2,Rrb:3,sob:4,Vzb:5,Vub:6,Oub:7,Gob:8,Syb:9,gzb:10,Jzb:11,eqb:12,Kpb:13,Isb:14,rrb:15,Ppb:16,Opb:17,Upb:18,Rpb:19,Spb:20,wzb:21,Tzb:22,mvb:23,uub:24,Bob:25,PERMISSION_DENIED:26,Qtb:27,Kob:28,Job:29,INTERRUPTED:30,Kvb:31,Wvb:32,oqb:33,sqb:34,Zyb:35,Bqb:36,srb:37,rqb:38,Nub:39,ppb:40,Fvb:41,Yvb:42,Qyb:43,apb:44,opb:45,prb:46,Mtb:47,Mub:48,dvb:49,Gvb:50,Jyb:51,Lpb:52,Ryb:53,Pyb:54,hpb:55,epb:56,Lqb:57,jub:58,Hvb:59,ntb:60,axb:61,Pxb:62,vyb:63,Xsb:64,wub:65,Xzb:66,Dqb:67,
trb:68,Izb:69,atb:70,Iob:71,Tob:72,Xxb:73,wyb:74,syb:75,qyb:76,Lxb:190,pyb:191,Yxb:192,dyb:126,$xb:128,ayb:129,byb:130,cyb:131,eyb:132,fyb:133,jxb:127,gxb:134,hxb:135,lxb:136,mxb:137,nxb:138,ixb:194,kxb:195,oxb:196,fxb:197,Oxb:189,$wb:139,bxb:140,pxb:141,qxb:142,Cxb:143,Fxb:144,Gxb:145,Hxb:146,Ixb:147,Jxb:148,Kxb:149,Nxb:150,Txb:151,Vxb:152,Wxb:153,Zxb:154,gyb:155,iyb:156,jyb:157,kyb:158,lyb:159,myb:160,nyb:161,ryb:162,uyb:163,xyb:164,cxb:165,dxb:166,exb:167,Ywb:168,Zwb:169,txb:170,rxb:171,sxb:172,
uxb:173,vxb:174,wxb:175,xxb:176,yxb:177,zxb:178,Axb:179,Bxb:180,Dxb:181,Exb:182,Mxb:106,Uxb:183,hyb:184,oyb:185,Qxb:186,Rxb:187,Sxb:188,tyb:244,Evb:77,Nzb:78,Szb:79,Ytb:80,Nsb:81,Psb:82,Kqb:83,orb:84,Rtb:85,pzb:86,qqb:87,ctb:88,btb:89,Ayb:90,yyb:91,zyb:92,Ozb:93,Cpb:94,Bpb:95,ypb:96,Apb:97,zpb:98,Wzb:99,Mwb:100,Xpb:101,Qpb:102,Vpb:103,Tpb:104,Wpb:105,urb:107,dzb:108,Gwb:109,Azb:110,xrb:111,wrb:112,stb:113,ttb:114,bwb:115,ipb:116,Atb:117,Rqb:118,Pzb:119,Rub:120,Sub:121,Jsb:193,Npb:122,iqb:123,Msb:124,
qub:125,dtb:198,Nvb:199,Usb:200,hob:201,Zsb:202,Ysb:203,Lob:204,nAb:205,Gtb:206,wpb:207,Qub:208,Xvb:209,Iwb:210,vob:211,qtb:212,xtb:213,Uyb:214,Tyb:215,Wsb:216,Gsb:217,Vsb:218,Fqb:219,hzb:220,Gqb:221,otb:222,azb:223,aAb:224,Aub:225,$yb:226,kqb:227,Ftb:228,Jqb:229,rpb:230,nzb:231,rub:232,FILE_TOO_LARGE:233,$sb:234,Eqb:235,mrb:236,Uvb:237,xub:238,Snb:239,tpb:240,Eub:241,Swb:242,pqb:243,fob:245,Qsb:246,fvb:247,Osb:248,Xtb:249,vub:250,qrb:251,Urb:252,rtb:253,fpb:254,vrb:255},qRc=function(a){_.Qg.call(this,
a)};_.I(qRc,_.Qg);var fNc=[1004,1005,1002,1003],pNc=[1002,1003,1005],rRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(rRc,_.P);rRc.prototype.Fb=function(){return _.y(this,1)};rRc.prototype.Dc=function(a){return _.x(this,1,a)};rRc.prototype.V=function(){return _.C(this,_.WB,2)};var sRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(sRc,_.P);_.g=sRc.prototype;_.g.Qwa=function(){return _.F(this,1)};_.g.jk=function(a){return _.x(this,1,a)};_.g.Cl=function(){return _.F(this,2)};
_.g.Qu=function(){return _.F(this,3)};_.g.rUa=function(){return _.F(this,4)};var SP=[[13,19,12,11,10,15,14,9,8,18,17,16]],tRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(tRc,_.P);tRc.prototype.vF=function(){return _.F(this,1)};tRc.prototype.gS=function(){return null!=_.y(this,1)};tRc.prototype.V=function(){return _.F(this,2)};var uRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(uRc,_.P);var vRc=[1],wRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(wRc,_.P);
wRc.prototype.vF=function(){return _.F(this,1)};wRc.prototype.gS=function(){return null!=_.y(this,1)};wRc.prototype.V=function(){return _.F(this,2)};var xRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(xRc,_.P);_.g=xRc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Id=function(a){return _.x(this,1,a)};_.g.tb=function(){return _.y(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.ul=function(){return _.x(this,2,void 0)};_.g.Ph=function(){return null!=_.y(this,2)};
_.g.getCapabilities=function(){return _.C(this,wRc,3)};_.g.ln=function(a){return _.R(this,3,a)};_.g.iUa=function(){return _.C(this,sRc,4)};var yRc=function(a){_.Q(this,a,0,-1,vRc,null)};_.M(yRc,_.P);yRc.prototype.xF=function(){return _.vj(this,xRc,1)};var zRc=function(a,b){_.yj(a,1,b)},ARc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ARc,_.P);ARc.prototype.V=function(){return _.y(this,1)};ARc.prototype.bN=function(){return null!=_.y(this,1)};
ARc.prototype.getOptions=function(){return _.C(this,yRc,2)};var BRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(BRc,_.P);BRc.prototype.W=function(){return _.y(this,1)};BRc.prototype.V=function(){return _.y(this,2)};var CRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(CRc,_.P);CRc.prototype.bN=function(){return null!=_.y(this,1)};CRc.prototype.getOptions=function(){return _.C(this,BRc,2)};var DRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(DRc,_.P);DRc.prototype.W=function(){return _.y(this,1)};
DRc.prototype.V=function(){return _.y(this,2)};var ERc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ERc,_.P);var FRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FRc,_.P);FRc.prototype.bN=function(){return null!=_.y(this,1)};FRc.prototype.getOptions=function(){return _.C(this,ERc,2)};var TP=[[3,4,5,6,7,8,9,10,11,12]],GRc=function(a){_.Q(this,a,0,-1,null,TP)};_.M(GRc,_.P);_.g=GRc.prototype;_.g.p1=function(a){return _.xj(this,3,TP[0],a)};_.g.IJa=function(a){return _.xj(this,4,TP[0],a)};
_.g.bJa=function(a){return _.xj(this,5,TP[0],a)};_.g.aJa=function(a){return _.xj(this,6,TP[0],a)};_.g.PIa=function(a){return _.xj(this,7,TP[0],a)};_.g.tJa=function(a){return _.xj(this,8,TP[0],a)};_.g.sJa=function(a){return _.xj(this,9,TP[0],a)};_.g.MJa=function(a){return _.xj(this,10,TP[0],a)};_.g.Yaa=function(a){return _.xj(this,11,TP[0],a)};_.g.Laa=function(a){return _.xj(this,12,TP[0],a)};var HRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HRc,_.P);var IRc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(IRc,_.P);IRc.prototype.V=function(){return _.y(this,1)};IRc.prototype.bN=function(){return null!=_.y(this,1)};IRc.prototype.getOptions=function(){return _.C(this,HRc,2)};var JRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(JRc,_.P);JRc.prototype.Jya=function(){return _.y(this,1)};JRc.prototype.V=function(){return _.y(this,4)};var KRc=function(a){_.Q(this,a,0,-1,null,SP)};_.M(KRc,_.P);_.g=KRc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};
_.g.lUa=function(){return _.y(this,2)};_.g.rm=function(){return _.y(this,4)};_.g.kUa=function(){return _.C(this,sRc,5)};_.g.getCapabilities=function(){return _.C(this,tRc,6)};_.g.ln=function(a){return _.R(this,6,a)};_.g.qUa=function(){return _.y(this,7)};_.g.PIa=function(a){return _.xj(this,13,SP[0],a)};_.g.jUa=function(){return _.C(this,JRc,19)};_.g.Laa=function(a){return _.xj(this,19,SP[0],a)};_.g.aJa=function(a){return _.xj(this,12,SP[0],a)};_.g.bJa=function(a){return _.xj(this,11,SP[0],a)};
_.g.DZa=function(){return _.C(this,DRc,10)};_.g.mUa=function(){return _.C(this,ARc,15)};_.g.sJa=function(a){return _.xj(this,15,SP[0],a)};_.g.nUa=function(){return _.C(this,yRc,14)};_.g.tJa=function(a){return _.xj(this,14,SP[0],a)};_.g.IJa=function(a){return _.xj(this,9,SP[0],a)};_.g.oUa=function(){return _.C(this,BRc,8)};_.g.p1=function(a){return _.xj(this,8,SP[0],a)};_.g.pUa=function(){return _.C(this,IRc,18)};_.g.Yaa=function(a){return _.xj(this,18,SP[0],a)};
_.g.MJa=function(a){return _.xj(this,17,SP[0],a)};var LRc=[5,7,9],MRc=function(a){_.Q(this,a,0,-1,LRc,null)};_.M(MRc,_.P);_.g=MRc.prototype;_.g.getUser=function(){return _.C(this,_.ok,1)};_.g.fw=function(a){_.x(this,2,a)};_.g.aqa=function(a){return _.x(this,3,a)};_.g.xqa=function(a){return _.x(this,4,a)};_.g.q1=function(a){return _.x(this,5,a||[])};_.g.Bza=function(){return _.y(this,6)};_.g.pqa=function(a){return _.x(this,6,a)};_.g.Dia=function(){return _.y(this,7)};
_.g.o1=function(a){return _.x(this,7,a||[])};_.g.gqa=function(a){return _.x(this,8,a)};_.g.b1=function(a){return _.x(this,9,a||[])};var NRc=[7,10,12,16,13,3],UP=function(a){_.Q(this,a,0,-1,NRc,null)};_.M(UP,_.P);var VP=function(a){return _.y(a,4)};_.g=UP.prototype;_.g.fw=function(a){_.x(this,4,a)};_.g.aqa=function(a){return _.x(this,5,a)};_.g.hUa=function(){return _.y(this,6)};_.g.xqa=function(a){return _.x(this,6,a)};_.g.q1=function(a){return _.x(this,7,a||[])};
_.g.gUa=function(){return _.y(this,8)};var ORc=function(a,b){return _.x(a,8,b)};_.g=UP.prototype;_.g.Bza=function(){return _.y(this,9)};_.g.pqa=function(a){return _.x(this,9,a)};_.g.Dia=function(){return _.y(this,10)};_.g.o1=function(a){return _.x(this,10,a||[])};_.g.fUa=function(){return _.y(this,11)};_.g.gqa=function(a){return _.x(this,11,a)};_.g.b1=function(a){return _.x(this,12,a||[])};_.g.l_a=function(){return _.C(this,_.ok,15)};var PRc=function(a,b){return _.R(a,15,b)};
UP.prototype.W=function(){return _.vj(this,_.ok,16)};var QRc=function(a,b){_.yj(a,16,b)};UP.prototype.ma=function(a,b){return _.zj(this,16,a,_.ok,b)};UP.prototype.V=function(){return _.y(this,17)};var RRc=function(a,b){return _.x(a,17,b)};UP.prototype.ka=function(){return null!=_.y(this,17)};var SRc=function(a,b){_.yj(a,13,b)};UP.prototype.getId=function(){return _.y(this,14)};UP.prototype.kc=function(a){return _.x(this,14,a)};UP.prototype.getName=function(){return _.y(this,1)};
UP.prototype.wd=function(a){return _.x(this,1,a)};var TRc=[2],WP=function(a){_.Q(this,a,0,-1,TRc,null)};_.M(WP,_.P);WP.prototype.getName=function(){return _.y(this,1)};WP.prototype.wd=function(a){return _.x(this,1,a)};WP.prototype.V=function(){return _.vj(this,UP,2)};var URc=function(a,b){_.yj(a,2,b)};WP.prototype.Gc=function(){return _.y(this,3)};var VRc=function(a,b){return _.x(a,3,b)},WRc=[5],XRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(XRc,_.P);_.g=XRc.prototype;
_.g.vF=function(){return _.F(this,1)};_.g.gS=function(){return null!=_.y(this,1)};_.g.BUa=function(){return _.F(this,2)};_.g.dZa=function(){return _.F(this,3)};_.g.CUa=function(){return _.F(this,4)};var XP=function(a){_.Q(this,a,0,-1,WRc,null)};_.M(XP,_.P);XP.prototype.getName=function(){return _.y(this,1)};XP.prototype.wd=function(a){return _.x(this,1,a)};XP.prototype.Kk=function(){return _.y(this,2)};var YRc=function(a,b){return _.x(a,2,b)};XP.prototype.W=function(){return _.y(this,14)};
var ZRc=function(a,b){return _.x(a,14,b)};_.g=XP.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Qf=function(){return _.y(this,4)};_.g.ol=function(a){return _.x(this,4,a)};_.g.Jk=function(){return _.vj(this,KRc,5)};var $Rc=function(a,b){_.yj(a,5,b)},aSc=function(a,b){_.R(a,6,b)},bSc=function(a,b){_.R(a,7,b)},cSc=function(a,b){_.R(a,8,b)};XP.prototype.V=function(){return _.C(this,sRc,12)};var dSc=function(a,b){_.R(a,12,b)};
XP.prototype.getCapabilities=function(){return _.C(this,XRc,13)};XP.prototype.ln=function(a){return _.R(this,13,a)};var eSc={Qzb:0,hub:1,nvb:2,bvb:3,etb:4,tob:5,iub:6,cvb:7,psb:8,Aob:9,$ub:10},YP=function(){this.H={};this.ha=6;this.V=null};YP.prototype.Fb=function(){return this.ha};YP.prototype.Dc=function(a){this.ha=a};YP.prototype.Ne=function(){return this.V};var fSc=function(a,b){a.V=b};YP.prototype.Ts=function(){return this.H};var gSc=function(a,b){a.H=b};
YP.prototype.Ac=function(a){var b=[];_.$e(this.H,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.ha,d:this.V,me:b})};hSc=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.V=c.d;var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.H=d};_.qP=function(){YP.apply(this,arguments)};_.I(_.qP,YP);var iSc=function(){YP.apply(this,arguments)};_.I(iSc,YP);var ZP=function(a){_.Q(this,a,0,-1,null,null)};_.M(ZP,_.P);ZP.prototype.getType=function(){return _.y(this,1)};
var jSc=function(a){var b=new ZP;return _.x(b,1,a)},kSc=function(a,b){return _.R(a,2,b)};ZP.prototype.Ot=function(){return _.y(this,3)};ZP.prototype.ou=function(a){return _.x(this,3,a)};ZP.prototype.ai=function(){return _.y(this,4)};ZP.prototype.setPosition=function(a){return _.x(this,4,a)};var lSc=[2],mSc=function(a){_.Q(this,a,0,-1,lSc,null)};_.M(mSc,_.P);mSc.prototype.Fb=function(){return _.y(this,1)};mSc.prototype.Dc=function(a){return _.x(this,1,a)};
var nSc=[2],$P=function(a){_.Q(this,a,0,-1,nSc,null)};_.M($P,_.P);$P.prototype.Fb=function(){return _.y(this,1)};$P.prototype.Dc=function(a){return _.x(this,1,a)};$P.prototype.V=function(){return _.vj(this,WP,2)};var oSc=function(a,b){return _.yj(a,2,b)};$P.prototype.Pj=function(){return _.y(this,3)};var aQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(aQ,_.P);aQ.prototype.Fb=function(){return _.y(this,1)};aQ.prototype.Dc=function(a){return _.x(this,1,a)};
aQ.prototype.vY=function(){return _.C(this,_.vm,2)};pSc=function(a,b){return _.R(a,2,b)};qSc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};rSc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Yd:a.c,j6:a.fi,BW:a.dti,mQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,R5:b.ec}}):void 0}};sSc=function(a,b){return new _.QM(_.VDc.bound(a,b,void 0,void 0))};
tSc=function(){var a=new _.Hj,b=_.gEc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Bd(_.OM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.uSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.uSc,_.P);_.uSc.prototype.Jp=function(){return _.y(this,1)};_.uSc.prototype.setSize=function(a){return _.x(this,2,a)};_.uSc.prototype.getUrl=function(){return _.y(this,3)};_.vSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.vSc,_.P);
_.vSc.prototype.getType=function(){return _.y(this,1)};wSc=[2,3];_.xSc=function(a){_.Q(this,a,0,-1,wSc,null)};_.M(_.xSc,_.P);ySc=[4,5,6,17,18,24];_.bQ=function(a){_.Q(this,a,0,-1,ySc,null)};_.M(_.bQ,_.P);_.bQ.prototype.getId=function(){return _.y(this,1)};_.bQ.prototype.kc=function(a){return _.x(this,1,a)};_.bQ.prototype.getName=function(){return _.y(this,2)};_.bQ.prototype.wd=function(a){return _.x(this,2,a)};var zSc=function(a,b){return _.x(a,4,b||[])},ASc=function(a,b){return _.x(a,5,b||[])};
_.bQ.prototype.QR=function(){return _.F(this,11)};_.bQ.prototype.getType=function(){return _.y(this,23)};_.bQ.prototype.Cl=function(){return _.F(this,33)};var BSc=[3],cQ=function(a){_.Q(this,a,0,-1,BSc,null)};_.M(cQ,_.P);cQ.prototype.V=function(){return _.y(this,1)};var CSc=function(a,b){return _.x(a,1,b)};cQ.prototype.getTitle=function(){return _.y(this,2)};cQ.prototype.setTitle=function(a){return _.x(this,2,a)};cQ.prototype.zd=function(){return _.vj(this,_.vm,3)};
var DSc=function(a,b){return _.yj(a,3,b)};cQ.prototype.Pf=function(a,b){return _.zj(this,3,a,_.vm,b)};cQ.prototype.ka=function(){return _.y(this,4)};var ESc=function(a,b){return _.x(a,4,b)};cQ.prototype.W=function(){return _.C(this,_.km,5)};var FSc=function(a,b){return _.R(a,5,b)},UNc=function(a){_.Q(this,a,0,-1,null,null)};_.M(UNc,_.P);_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.cO,_.P);_.cO.prototype.ke=function(){return _.C(this,_.pe,1)};
var GSc=function(){var a=new _.cO,b=_.qe(new _.pe,301);return _.R(a,1,b)};_.cO.prototype.wc=function(){return _.y(this,3)};var HSc=[2],dQ=function(a){_.Q(this,a,0,-1,HSc,null)};_.M(dQ,_.P);dQ.prototype.Fb=function(){return _.y(this,1)};dQ.prototype.Dc=function(a){return _.x(this,1,a)};dQ.prototype.Ri=function(){return _.vj(this,cQ,2)};var ISc=function(a,b){return _.yj(a,2,b)};dQ.prototype.getSessionId=function(){return _.C(this,_.Bm,3)};dQ.prototype.setSessionId=function(a){return _.R(this,3,a)};
_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tO,_.P);_.tO.prototype.wc=function(){return _.y(this,1)};_.sP=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sP,_.P);_.g=_.sP.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.ZL=function(){return _.nj(this,2,_.WB)};_.g.Pj=function(){return _.y(this,3)};_.g.Ne=function(){return _.y(this,5)};var JSc=function(a,b){_.x(a,5,b)},KSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(KSc,_.P);
KSc.prototype.Qf=function(){return _.D(this,1,"")};KSc.prototype.ol=function(a){return _.rj(this,1,a)};KSc.prototype.getUrl=function(){return _.D(this,2,"")};_.eQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.eQ,_.P);_.eQ.prototype.getType=function(){return _.D(this,1,0)};_.eQ.prototype.getContext=function(){return _.C(this,KSc,2)};_.eQ.prototype.Xj=function(a){return _.R(this,2,a)};var LSc=[1],MSc=[2],NSc=function(a){_.Q(this,a,0,-1,MSc,null)};_.M(NSc,_.P);
NSc.prototype.getLabel=function(){return _.D(this,1,"")};NSc.prototype.Id=function(a){return _.rj(this,1,a)};_.OSc=function(a){_.Q(this,a,0,-1,LSc,null)};_.M(_.OSc,_.P);_.OSc.prototype.V=function(){return _.vj(this,NSc,1)};_.PSc=[[2,3,4]];_.fQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.fQ,_.P);_.fQ.prototype.rm=function(){return _.D(this,3,"")};_.fQ.prototype.ws=function(a){return _.rj(this,4,a)};_.QSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QSc,_.P);
_.RSc=function(a){_.Q(this,a,0,-1,null,_.PSc)};_.M(_.RSc,_.P);var SSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(SSc,_.P);TSc=[3,5];_.gQ=[[8,9,10,11,12,13]];USc=function(a){_.Q(this,a,0,-1,null,null)};_.M(USc,_.P);var VSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(VSc,_.P);_.WSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.WSc,_.P);_.XSc=function(a){_.Q(this,a,0,-1,TSc,_.gQ)};_.M(_.XSc,_.P);_.XSc.prototype.Fb=function(){return _.D(this,6,0)};_.XSc.prototype.Dc=function(a){return _.sj(this,6,a)};
var YSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(YSc,_.P);var ZSc=[1],$Sc=function(a){_.Q(this,a,0,-1,ZSc,null)};_.M($Sc,_.P);var aTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(aTc,_.P);var bTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(bTc,_.P);var cTc=[1],dTc=[2],eTc=function(a){_.Q(this,a,0,-1,dTc,null)};_.M(eTc,_.P);_.fTc=function(a){_.Q(this,a,0,-1,cTc,null)};_.M(_.fTc,_.P);_.fTc.prototype.V=function(){return _.vj(this,eTc,1)};gTc=[7];_.hTc=[[1,2,3]];
_.iTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.iTc,_.P);_.jTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jTc,_.P);_.kTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.kTc,_.P);_.lTc=function(a){_.Q(this,a,0,-1,gTc,_.hTc)};_.M(_.lTc,_.P);_.mTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.mTc,_.P);_.mTc.prototype.getName=function(){return _.D(this,1,"")};_.mTc.prototype.wd=function(a){return _.rj(this,1,a)};var nTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(nTc,_.P);
nTc.prototype.getName=function(){return _.D(this,1,"")};nTc.prototype.wd=function(a){return _.rj(this,1,a)};nTc.prototype.getTitle=function(){return _.D(this,2,"")};nTc.prototype.setTitle=function(a){return _.rj(this,2,a)};var hQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(hQ,_.P);hQ.prototype.getName=function(){return _.D(this,1,"")};hQ.prototype.wd=function(a){return _.rj(this,1,a)};hQ.prototype.getTitle=function(){return _.D(this,2,"")};hQ.prototype.setTitle=function(a){return _.rj(this,2,a)};
var oTc=[[1,4]],pTc=function(a){_.Q(this,a,0,-1,null,oTc)};_.M(pTc,_.P);pTc.prototype.getUser=function(){return _.C(this,_.RSc,1)};pTc.prototype.W=function(){return null!=_.y(this,4)};pTc.prototype.vY=function(){return _.C(this,hQ,2)};var qTc=[[8,9,10]],rTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(rTc,_.P);_.sTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sTc,_.P);_.sTc.prototype.getType=function(){return _.D(this,6,0)};_.tTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tTc,_.P);
var iQ=function(a){_.Q(this,a,0,-1,null,qTc)};_.M(iQ,_.P);_.g=iQ.prototype;_.g.getName=function(){return _.D(this,1,"")};_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ub=function(){return _.D(this,6,"")};_.g.TI=function(){return _.C(this,pTc,7)};var uTc=[[8,9,10]],jQ=function(a){_.Q(this,a,0,-1,null,uTc)};_.M(jQ,_.P);jQ.prototype.getName=function(){return _.D(this,1,"")};
jQ.prototype.wd=function(a){return _.rj(this,1,a)};jQ.prototype.getTitle=function(){return _.D(this,2,"")};jQ.prototype.setTitle=function(a){return _.rj(this,2,a)};vTc=[[1,3]];_.kQ=function(a){_.Q(this,a,0,-1,null,vTc)};_.M(_.kQ,_.P);_.kQ.prototype.V=function(){return _.C(this,jQ,1)};_.kQ.prototype.W=function(){return null!=_.y(this,3)};_.kQ.prototype.vY=function(){return _.C(this,hQ,2)};_.wTc=[[1,2,3]];xTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(xTc,_.P);
var yTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(yTc,_.P);_.zTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.zTc,_.P);_.ATc=function(a){_.Q(this,a,0,-1,null,_.wTc)};_.M(_.ATc,_.P);BTc=[2,3];_.CTc=function(a){_.Q(this,a,0,-1,BTc,null)};_.M(_.CTc,_.P);_.CTc.prototype.getType=function(){return _.D(this,1,0)};_.DTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.DTc,_.P);_.DTc.prototype.getType=function(){return _.D(this,1,0)};var ETc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ETc,_.P);
ETc.prototype.getType=function(){return _.D(this,1,0)};var FTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FTc,_.P);var GTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(GTc,_.P);var HTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HTc,_.P);ITc=[1,2,4];_.JTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.JTc,_.P);_.KTc=function(a){_.Q(this,a,0,-1,ITc,null)};_.M(_.KTc,_.P);_.lQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.lQ,_.P);_.lQ.prototype.getEmail=function(){return _.D(this,1,"")};
_.lQ.prototype.getTitle=function(){return _.D(this,2,"")};_.lQ.prototype.setTitle=function(a){return _.rj(this,2,a)};_.mQ=[[2,3,4,5]];_.nQ=function(a){_.Q(this,a,0,-1,null,_.mQ)};_.M(_.nQ,_.P);_.nQ.prototype.Cg=function(){return _.D(this,1,0)};_.nQ.prototype.getUser=function(){return _.C(this,_.RSc,2)};var LTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(LTc,_.P);MTc=[1,2,3,4];_.NTc=function(a){_.Q(this,a,0,-1,MTc,null)};_.M(_.NTc,_.P);var OTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(OTc,_.P);
var PTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(PTc,_.P);_.QTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QTc,_.P);_.RTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.RTc,_.P);_.RTc.prototype.getType=function(){return _.D(this,1,0)};STc=[1];_.TTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.TTc,_.P);_.TTc.prototype.getFeature=function(){return _.D(this,1,0)};_.UTc=function(a){_.Q(this,a,0,-1,STc,null)};_.M(_.UTc,_.P);var VTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(VTc,_.P);
var WTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(WTc,_.P);var XTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(XTc,_.P);XTc.prototype.getType=function(){return _.D(this,1,0)};_.oQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.pQ=function(a){_.Q(this,a,0,-1,null,_.oQ)};_.M(_.pQ,_.P);_.YTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.YTc,_.P);var ZTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ZTc,_.P);_.$Tc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.$Tc,_.P);
_.aUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.aUc,_.P);_.aUc.prototype.getType=function(){return _.D(this,1,0)};_.qQ=[[1,2,3,4,5]];_.bUc=function(a){_.Q(this,a,0,-1,null,_.qQ)};_.M(_.bUc,_.P);_.bUc.prototype.getUser=function(){return _.C(this,_.RSc,1)};var cUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(cUc,_.P);cUc.prototype.getType=function(){return _.D(this,2,0)};_.dUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.dUc,_.P);_.g=_.dUc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ta=function(){return _.C(this,iQ,3)};_.eUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.eUc,_.P);_.eUc.prototype.getParent=function(){return _.C(this,iQ,4)};_.eUc.prototype.Jg=function(a){return _.R(this,4,a)};var fUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(fUc,_.P);_.g=fUc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ta=function(){return _.C(this,iQ,3)};_.rQ=[[1,5,3]];_.sQ=function(a){_.Q(this,a,0,-1,null,_.rQ)};_.M(_.sQ,_.P);_.sQ.prototype.V=function(){return _.C(this,iQ,1)};_.sQ.prototype.W=function(){return null!=_.y(this,5)};_.sQ.prototype.vY=function(){return _.C(this,fUc,2)};_.tQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tQ,_.P);
_.tQ.prototype.pq=function(){return _.C(this,_.Nx,2)};_.tQ.prototype.Hv=function(a){_.R(this,2,a)};gUc=[[5,6]];_.hUc=function(a){_.Q(this,a,0,-1,null,gUc)};_.M(_.hUc,_.P);_.hUc.prototype.Xm=function(){return _.C(this,cUc,2)};iUc=[3,4,5];jUc=[[6,7]];_.uQ=function(a){_.Q(this,a,0,-1,iUc,jUc)};_.M(_.uQ,_.P);_.uQ.prototype.Wda=function(a){_.zj(this,4,a,_.hUc,void 0)};var kUc=[1],DNc=function(a){_.Q(this,a,0,-1,kUc,null)};_.M(DNc,_.P);var DP=[[1,2,3,4,5,6,7]],CNc=function(a){_.Q(this,a,0,-1,null,DP)};
_.M(CNc,_.P);var vQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(vQ,_.P);vQ.prototype.getQuery=function(){return _.C(this,_.he,1,1)};var lUc=function(a,b){return _.R(a,1,b)};vQ.prototype.Jm=function(){return _.y(this,4)};var mUc=function(a,b){return _.R(a,5,b)},nUc=[1,2,5,7,9,10,12],wQ=function(a){_.Q(this,a,0,-1,nUc,null)};_.M(wQ,_.P);wQ.prototype.zd=function(){return _.vj(this,_.vm,1)};var xQ=function(a,b){return _.yj(a,1,b)};wQ.prototype.Pf=function(a,b){return _.zj(this,1,a,_.vm,b)};
wQ.prototype.VI=function(){return _.vj(this,_.ok,2)};var oUc=function(a,b){_.yj(a,2,b)};wQ.prototype.O3=function(a){_.zj(this,2,a,_.ok,void 0)};wQ.prototype.Qx=function(){return _.y(this,3)};var pUc=function(a,b){return _.x(a,3,b)};wQ.prototype.uq=function(){return _.y(this,4)};var qUc=function(a,b){return _.x(a,4,b)},rUc=function(a,b){return _.yj(a,5,b)};wQ.prototype.yw=function(){return _.vj(this,_.$n,9)};wQ.prototype.Oh=function(){return _.y(this,12)};
var sUc=function(a,b){return _.x(a,12,b||[])},tUc=function(a,b){return _.x(a,13,b)},uUc={Dob:0,Cob:1,ztb:2,bzb:3,ezb:4},CP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],ANc=function(a){_.Q(this,a,0,-1,null,CP)};_.M(ANc,_.P);var GNc=[[1,2]],FNc=function(a){_.Q(this,a,0,-1,null,GNc)};_.M(FNc,_.P);var JNc=[[1,2,3]],INc=function(a){_.Q(this,a,0,-1,null,JNc)};_.M(INc,_.P);var vUc=[1],wUc=function(a){_.Q(this,a,0,-1,vUc,null)};_.M(wUc,_.P);wUc.prototype.DF=function(){return _.D(this,2,"")};
var xUc={spb:"wb",Gzb:"xb",Cub:"yb",wNa:"zb"},yUc=function(a,b){return 0<=b?!a||a<=b:!0},zUc=function(a,b){return 1<a?2==b:a==b},AUc=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1==b)return!a||1>=a?2:a+1;if(-2==b)return!a||2>=a?1:a-1;throw Error("Me");},yQ=function(a,b,c,d){this.W=a;this.H=void 0===b?0:b;this.V=void 0===c?1:c;this.ha=d};_.g=yQ.prototype;_.g.clone=function(){return new yQ(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.$b=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.eH=function(a){this.V=a};_.g.Qx=function(){return this.ha};_.g.equals=function(a){return this.H==a.$b()&&this.V==a.V&&this.ha==a.Qx()&&_.Cj(this.W,a.getItem())};var BUc=function(a){_.N.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.I(BUc,_.N);
var zQ=function(a,b,c){if(a.ha)throw Error("Ne");c={Yl:_.mf(b),callback:c};b=_.p(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.V[d];null==e&&(e=[],a.V[d]=e);e.push(c)}},AQ=function(a,b){if(!a.ha)throw Error("Oe");if(!a.ka)throw Error("Pe`"+a.W+"`"+(a.W.stack?"\nOriginal stack: "+a.W.stack:""));a.ta.info("drive.ds.MilestoneManager","Passing Milestone: "+b);a.ma[b]=!0;var c=a.V[b];if(c){delete a.V[b];for(var d=0;d<c.length;++d){var e=c[d];delete e.Yl[b];if(_.gf(e.Yl))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};BUc.prototype.H=function(a){return!!this.ma[a]};BUc.prototype.start=function(){this.ha=!0};BUc.prototype.ab=function(){_.N.prototype.ab.call(this);delete this.V};_.tP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.aHc=function(a){this.H=a};CUc=function(){};DUc=function(a){this.H=a};_.bHc=function(a){this.H=a};hOc=function(a,b,c,d,e,f,h,k){this.status=a;this.ka=b;this.H=c;this.ma=d;this.W=e;this.wv=f;this.ha=h;this.V=k};
_.vP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.hHc=function(a,b){this.request=a;this.pageToken=b||""};EUc=function(a){this.pageToken=a||""};FUc=function(){};_.jHc=function(a,b){this.request=a;this.pageToken=b||""};_.wP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.xP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.uP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};GUc=function(a,b){this.response=a;this.pageToken=b||""};uNc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};HUc=function(a,b){return uNc()?(new _.m.Intl.Collator([a||"en-US"],b||{})).compare:function(c,d){return c.localeCompare(d)}};IUc=function(a){return _.mc(new Set(a.map(function(b){return _.oFc.get(b)}).filter(function(b){return b}))).concat().join(",")};
BQ=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=_.mc(b).concat();b=IUc(b);var d=_.$M(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":
_.A(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.A(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"};JUc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+BQ(a,b,!1)+")"};KUc=function(a){var b=new _.fp;_.cP(b,"hidden",a.Cl());(a=_.F(a,6))&&_.cP(b,"securityUpdateEligible",a);return b.toString()};LUc=function(a){switch(a?a.getType():-1){case 1:return[10];case 2:return[11];case 3:return[32];case 4:return[2];case 6:return[12];case 7:return[25];case 9:return[4];case 10:return[9];case 11:return[67];case 12:return[98];default:return null}};
MUc=function(a){var b=uNc(),c={};b&&(c.numeric=b);this.H=HUc(a,c)};MUc.prototype.compare=function(a,b,c){b=NUc(b);c=NUc(c);a=a.ve();var d=LUc(a);if(a&&d){d=OUc(this,a);var e=4==a.getType()?this.H:_.za;return PUc(a,d,e,b,c)}return _.za(b.getId(),c.getId())};MUc.prototype.sort=function(a,b,c){a=a.ve();var d=LUc(a);a&&d&&(d=OUc(this,a),d=QUc(b,d),_.Ca(b,RUc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var NUc=function(a){return a instanceof _.vm?a:a.getItem()},OUc=function(a,b){b=LUc(b);return _.K(a.V,a,b,_.za)},QUc=function(a,b){var c={};a.forEach(function(d){d=NUc(d);var e=d.getId();c[e]=b(d)});return c},RUc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.za;d=NUc(d);e=NUc(e);return PUc(b,function(h){return c[h.getId()]},f,d,e)}},PUc=function(a,b,c,d,e){var f=1==a.Nh()?1:-1;if(_.F(a,3)){a=_.AN(d,!0);var h=_.AN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.za(d.getId(),
e.getId()))};MUc.prototype.V=function(a,b,c){for(var d=SUc(a[0],c),e=1;e<a.length;e++){var f=SUc(a[e],c);d=1==b(f,d)?f:d}return d};
var SUc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Ub()||"";case 4:return b.hw()||!1;case 12:return b.Gx()||0;case 11:return b.vz()||0;case 10:return b.mq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Qt()||0;case 57:return _.y(b,62)||0;case 32:return b.kz()||0;case 9:return b.PA()||0;case 67:return b.ZI()||0;case 98:return b.dJ()||0;default:return""}},TUc=function(a,b,c){c=void 0===c?!1:c;this.V=a;this.V.sort();this.H=b;this.W="";this.ha=c},CQ=function(a,
b,c){b=_.Dj(b);"root"==b.getId()&&b.kc(a.W);_.CO(b).filter(function(d){return"root"==d.tb()}).forEach(function(d){return d.jc(a.W)});_.oe(b,_.BO(b).map(function(d){d.jc(d.tb().toLowerCase());return d}));c&&_.wk(b,a.V);b.Oh().sort();return b},DQ=function(a,b,c){if(b instanceof _.he){b=CQ(a,b);var d=_.LJc(b)}else if(b instanceof _.Xn)d=b.Ol().sort().join(","),_.A(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.SO)return d=KUc(b),d+"|tdList";if(b instanceof _.eo)return d=b.Ol().sort().join(","),b.Oh().length&&
(d+="|"+IUc(b.Oh())),d+"|tdMap";throw Error("Te");}return 3==c?d:d+"|"+UUc(a,b.Oh(),2==c)},UUc=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.V);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):_.mc(e).concat().filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.yN({fields:_.mc(f).concat(),Wv:a.H}));e.size&&(d=d+" + "+_.yN({fields:_.mc(e).concat(),Wv:a.H}));return d};
TUc.prototype.equals=function(a,b,c){var d;c&&(d=3);return DQ(this,a,d)==DQ(this,b,d)};
var VUc=function(a){if(!a.Ol().every(function(b){return!_.Bc(b)}))throw new _.pb("Invalid ids for FindByIdsRequest");},XUc=function(a,b,c){if(_.VN(b))throw new _.pb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");WUc(a,b,c)},WUc=function(a,b,c){var d=_.uN(3);if(b.getId())throw new _.pb("Use findByIds() for find by id queries.",d);if(!b.lh()||0>=b.lh())throw new _.pb("A positive limit is required on an ItemQueryRequest.",d);_.y(b,33);a.ha&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),YUc(a,d,b.Oh()));if(c=(c=b.ve())&&LUc(c))d=b.Oh().length?b.Oh():a.V,YUc(a,d,c);if(_.UN(b)){if(a.H)throw new _.pb("User must be authenticated for a Quick Access request.");if(20<b.lh())throw new _.pb("Limit must be in the range [1, 20].");c=2==_.DO(b);d=_.y(b,33).length;if(c&&1!=d||d&&!c)throw new _.pb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.oe(_.x(_.x(_.sN(_.x(_.xk(_.wk(b.clone(),[]),void 0),32,void 0),[]),45,void 0),
47,void 0),[]);d=new _.he;if(!_.Cj(c,d))throw new _.pb("Some fields specified are not valid for a Quick Access request. Valid: field, request_descriptor, limit, team_drive, corpora, is_quick_access_request and mime_type. Extra: "+fRc(d,c));}if(_.WN(b)){if(a.H)throw new _.pb("User must be authenticated for a DrivePriority request.");if(2==_.DO(b))throw new _.pb("Team Drive corpora is not valid for a Drive Priority request.");a=_.x(_.x(_.x(_.xk(_.wk(b.clone(),[]),void 0),32,void 0),45,void 0),52,void 0);
b=new _.he;if(!_.Cj(a,b))throw new _.pb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+fRc(b,a));}},ZUc=function(a,b,c){if(!_.VN(b))throw new _.pb("Expected a PeoplePredict request.");WUc(a,b,c);if(a.H)throw new _.pb("User must be authenticated for a People Predict request.");if(2==_.DO(b))throw new _.pb("Team Drive corpora is not valid for a People Predict request.");a=_.x(_.x(_.x(_.xk(_.wk(b.clone(),
[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.he;if(!_.Cj(a,b))throw new _.pb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+fRc(b,a));},YUc=function(a,b,c){var d=_.uN(3);if(!jNc(b,c,!0)){var e=_.yN({fields:c,Wv:a.H}),f=_.yN({fields:b,Wv:a.H});a=_.yN({fields:kNc(c,b),Wv:a.H});throw new _.pb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),
d);}},$Uc=function(a){var b=new Set;_.BO(a).forEach(function(c){switch(_.b_a(c.tb())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return _.mc(b).concat()},aVc=function(a){switch(_.FO(a)){case 3:case 12:case 204:return"GOOGLE_DOCS";case 4:case 13:case 207:return"GOOGLE_SHEETS";
case 5:case 14:case 205:case 208:return"GOOGLE_SLIDES";case 6:case 203:return"GOOGLE_FORMS";case 232:return"GOOGLE_MEET";case 8:case 201:return"GOOGLE_SITES";case 229:case 216:return"GOOGLE_CLASSROOM";case 202:case 1:case 9:return"GOOGLE_DRIVE";case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},bVc=function(){this.Bp=[]};_.I(bVc,_.eP);
bVc.prototype.add=function(a,b){var c=a.yr.request;return c instanceof _.rO&&_.y(c.request,12)?_.eP.prototype.add.call(this,a,b):!1};bVc.prototype.H=function(a){return this.Bp.splice(0,Math.min(a,1))};var cVc=function(a,b){this.Bp=[];this.V=b};_.I(cVc,_.eP);cVc.prototype.add=function(a,b){return a.yr.request instanceof _.rO?!1:_.eP.prototype.add.call(this,a,b)};
cVc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Bp.length&&b.length<a;f++){var h=this.Bp[f],k=h.yr.request;"undefined"!=typeof _.IN&&k instanceof _.IN||"undefined"!=typeof _.SN&&k instanceof _.SN||"undefined"!=typeof _.hO&&k instanceof _.hO?k="app|"+k.V():k instanceof _.DN||k instanceof _.EN||k instanceof _.KN||k instanceof _.aN?k="item|"+(k instanceof _.DN?k.Gc():k.getId()):"undefined"!=typeof _.LN&&k instanceof _.LN||"undefined"!=typeof _.TN&&k instanceof _.TN?k="item|"+k.Gc():
k instanceof _.MN||k instanceof _.jO?k="item|"+k.Gc():"undefined"!=typeof _.uD&&k instanceof _.uD||"undefined"!=typeof _.tD&&k instanceof _.tD?(k="undefined"!=typeof _.uD&&k instanceof _.uD?k.V().getKey():k.getKey(),k="pref|"+_.y(k,2)+"|"+_.ao(k)):k=k instanceof _.NN?"td|"+k.getId():null;var l=h.yr.request;if(l instanceof _.GN)l=!!_.F(l,8);else if(l instanceof _.EN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Ub()&&_.gcb.has(l.Ub()));l=n}else l=!1;if(k&&d[k]||l&&5==e)break;b.push(h);c.unshift(f);
k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.ma(this.Bp,c[a]);return b};var dVc=function(a,b){_.N.call(this);this.Ff=a;this.H=b};_.M(dVc,_.N);_.g=dVc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ff.V.registerService(this.H+":"+a,(0,_.K)(this.Jwa,this,b),c)};_.g.bU=function(a){this.V=(0,_.K)(this.Jwa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Xe");this.Ff.V.send(this.H+":"+a,b)};
_.g.Jwa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.g.ab=function(){this.Ff=this.Ff.H[this.H]=null};var eVc=function(a){_.N.call(this);this.V=a;this.H={};this.V.bU((0,_.K)(this.W,this))};_.M(eVc,_.N);var fVc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ve`"+b);if(b in a.H)throw Error("We`"+b);var c=new dVc(a,b);return a.H[b]=c};eVc.prototype.W=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.V&&c.V(a,b)}};
eVc.prototype.ab=function(){_.$e(this.H,function(a){_.dc(a)});_.dc(this.V);delete this.H;delete this.V};var gVc=function(a){_.N.call(this);this.H=a};_.M(gVc,_.N);_.g=gVc.prototype;_.g.cancel=function(){this.H.cancel()};_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.H.mb(function(d){d.registerService(a,b,c)})};_.g.bU=function(a){this.H.mb(function(b){b.bU(a)})};_.g.send=function(a,b){this.H.mb(function(c){c.send(a,b)})};
_.g.ab=function(){this.cancel();gVc.nb.ab.call(this)};var wNc=function(a){_.Mz.call(this);this.H=a;this.V=_.md(this.H,"message",this.gTa,!1,this)};_.M(wNc,_.Mz);_.g=wNc.prototype;_.g.je=null;_.g.send=function(a,b){var c=[];b=this.iha(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.sFc&&(a=(0,_.ai)(a));this.H.postMessage(a,c)};
_.g.gTa=function(a){a=a.Lf;var b=a.data;if(_.sFc)try{b=JSON.parse(b)}catch(d){return}if(_.wa(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.payload;if(b=this.getService(b.serviceName,c))c=_.C8a(this.Zja(a.ports||[],c),b.sna),null!=c&&b.callback(c)}};
_.g.iha=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?_.fe(b,(0,_.K)(this.iha,this,a)):b&&b.constructor==Object?_.bf(b,function(c,d){c=this.iha(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Zja=function(a,b){return Array.isArray(b)?_.fe(b,(0,_.K)(this.Zja,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.bf(b,function(c,d){return this.Zja(a,"_port"==d?c.val:c)},this):b};_.g.ab=function(){_.Xg(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;wNc.nb.ab.call(this)};
var hVc=function(a,b){if("*"==b)return new gVc(_.Qj(Error("Ye")));var c=new _.Vh(50),d=_.Ke(_.dc,c),e=new _.Hj(d);_.Lj(e,d);c.start();_.md(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new wNc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new gVc(e)},iVc=function(a){_.N.call(this);this.H=new eVc(a);this.W={};this.V=fVc(this.H,
"private");this.ha=fVc(this.H,"public");this.V.registerService("mics",(0,_.K)(this.HQa,this),!0)};_.M(iVc,_.N);_.g=iVc.prototype;_.g.Wbb=0;_.g.ab=function(){_.dc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.Wbb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.HQa=function(a){var b=a.signature;a=a.data;b in this.W&&((0,this.W[b])(a),delete this.W[b])};_.g.registerService=function(a,b){this.ha.registerService(a,(0,_.K)(this.GQa,this,b),!0)};
_.g.GQa=function(a,b){a=a(b.data);var c=b.signature;_.Oh(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var jVc=function(a,b){_.N.call(this);this.W=new eVc(a);this.Pa(this.W);this.H=new iVc(fVc(this.W,"direct"));this.Pa(this.H);a=fVc(this.W,"passthrough");this.ha=b?a:new iVc(a);this.Pa(this.ha);this.V=b;this.ka=!1};_.I(jVc,_.N);jVc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
jVc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Ie)};var EQ=function(a,b,c){if(a.V)throw Error("Ze");a.ha.registerService(b,c,!0)},FQ=function(a,b,c,d){if(a.V)throw Error("$e");a.ha.send(b,c||{},d||_.Ie)};jVc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("af");};
var yNc=[],kVc=function(a,b,c,d,e,f,h,k,l){a=a.hf();h=new _.mKc(k,h,d,_.D(a,32,1073741824),_.D(a,21,1E3));h=new _.nKc(h);k=new _.pJc(_.D(a,59,2E3),_.D(a,60,2E4),_.D(a,61,6));var n={};n[1]=_.pKc(b,d);n[2]=_.qKc(b,a,e,c,k,d,l);n[3]=_.rKc(b,a,e,c,k,d,l,"batch");var q=_.D(a,10,50);if(l){var t=new _.SJc(l.getState());var v=new _.NJc(l)}else t=new _.oJc(e,c),v=new _.mJc(c);f=new _.gP(d,b,[t,new _.sJc(q,_.D(a,11,100)),new _.fP(q),new _.ZO(k,d)],[new cVc(a,f),new bVc,new _.eP],[v,new _.XJc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.sKc(h,a,d),n[6]=_.rKc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.rKc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.rKc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},GQ=function(a){return a instanceof _.vm?null!=a.getId()&&a.getId()==a.wc():null!=a.Gc()&&a.Gc()==a.wc()},lVc=function(a,b,c){c=void 0===c?[]:c;var d=_.Dj(a),e=b.Sj();null!=e&&lNc(a,_.Dj(e));if((e=b.getCapabilities())&&null!=_.F(e,13)){var f=a.getCapabilities()||new _.pm,h=_.F(e,13);_.x(f,13,h);a.ln(f)}e&&null!=_.F(e,
18)&&(f=a.getCapabilities()||new _.pm,e=_.F(e,18),_.x(f,18,e),a.ln(f));AP(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,95,75,94,122,2]);d.Sj()&&AP(a,d,c)},mVc=function(a,b,c){c=void 0===c?[]:c;if(!b||!GQ(a)&&!GQ(b))return a;if(2==BP(a)){c=_.y(a,82);var d=_.Dj(b);lVc(d,a);_.iIc(d,BP(b));_.x(d,82,c);return d}a=_.Dj(a);lVc(a,b,c);return a},nVc=function(a){return(a=a?a.Sj():null)&&a.Cl()||!1},oVc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},pVc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.ma.has(e)&&!c.has(e)}))).forEach(function(e){a.ka.info("drive.ds.sync.cache.FieldsCache","Creating field cache for field: "+e);c.add(e);b[e]={}})},rVc=function(a,b,c){b.every(function(d){return GQ(d)})?qVc(b,c,a.V,a.ha):b.every(function(d){return!GQ(d)})&&qVc(b,c,a.H,a.W)},qVc=function(a,b,c,d){var e=_.PGc(b,_.mc(d).concat());0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&AP(f,k,[h])})})};oVc.prototype.update=function(a,b,c){b&&GQ(b)?sVc(a,b,this.V,this.ha,c):sVc(a,b,this.H,this.W,c)};var tVc=function(a,b){_.$e(a.H,function(c,d){_.hf(a.H[d],b)});_.$e(a.V,function(c,d){_.hf(a.V[d],b)})},sVc=function(a,b,c,d,e){_.$e(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.hf(f,a);else if(b&&iNc(b,[h])){var k=new _.vm;k.kc(b.getId());AP(k,b,[h]);f[a]=k}});b&&zP(b,_.mc(d).concat())};
oVc.prototype.clear=function(){var a=this;_.$e(this.H,function(b,c){a.H[c]={}});_.$e(this.V,function(b,c){a.V[c]={}})};
var uVc=/^[\x00-\x7F]*$/,vVc=function(){this.H=""},xVc=function(a){return wVc(a)&&0==_.y(a,40).length&&void 0==_.y(a,41)},wVc=function(a){var b=!0;_.vj(a,_.ke,13).forEach(function(d){"me"!=d.tb()&&(b=!1)});var c=a.ve();c=!c||5!=c.getType();return 0==_.vj(a,_.sk,5).length&&0==_.vj(a,_.ke,14).length&&0==_.vj(a,_.ke,15).length&&null==_.y(a,58)&&!_.F(a,18)&&!_.F(a,34)&&0==_.vj(a,_.zO,35).length&&0==_.vj(a,_.zO,38).length&&c&&b&&0==_.y(a,39).length&&!_.y(a,42)&&0==_.vj(a,_.lk,44).length&&!_.UN(a)&&!_.VN(a)&&
!_.WN(a)&&0==_.vj(a,_.mk,57).length&&yVc(a)&&!a.Px()},yVc=function(a){return _.vj(a,_.tk,4).every(function(b){return uVc.test(b.tb())})};vVc.prototype.nX=function(a,b){var c=this;return b.filter(function(d){return HQ(c,a,d)})};
var HQ=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!GQ(c);if(d){d=!0;var e=_.vj(b,_.tk,4);if(yVc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.tb()){var k=_.A(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.tb().toLowerCase();if(2==_.y(h,1))l=n==l,d=d&&(k?!l:l);else for(h=n.split(/\b|_/),n=0;n<h.length&&d;n++){var q=h[n];0!=(0,_.Ue)(q).length&&(q=!!l.match(new RegExp("(\\b|^|_)"+_.gg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.BO(b);e=d=0;k=f=!1;l=_.p(l);for(h=l.next();!h.done;h=l.next())n=
h.value,n.tb()&&(h=_.A(n,2,!1),q=c.Ub(),n=n.tb()==q,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.vj(b,_.qk,7),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.mq(),d=d&&zVc(k,f);if(d)for(d=!0,e=_.vj(b,_.qk,8),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Gx(),d=d&&zVc(k,f);d&&(d=b.mh(),e=(e=_.DO(b))&&(2==e||3==e),d=null==d||d==!!c.mh()&&(!d||1==c.km()||e));d&&(d=null==_.F(b,10)||_.F(b,10)==!!c.hw());d&&(d=null==b.Cl()||b.Cl()==!!c.Cl());if(d)a:{d=_.CO(b);d=_.p(d);
for(e=d.next();!e.done;e=d.next())if(e=e.value,e.tb()&&(f="root"==e.tb()&&a.H||e.tb(),f=c.Uh().includes(f),_.A(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.vj(b,_.ke,13);a=_.p(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.tb()&&(e=1==c.km(),_.A(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.F(b,16)||(_.F(b,16)?null!=c.Qt():!0));a&&(a=_.F(b,17),d=(d=_.DO(b))&&(2==d||3==d),a=null==a||a==!!c.HA()&&(!a||1==c.km()||d));a&&(a=LNc(c),a=null==_.F(b,19)||_.F(b,19)==!!a.hp());a&&(a=!0);if(a=a&&
AVc(b,c)&&BVc(b,c))a=_.y(b,33),a=!a.length||a.includes(c.wc()||"");if(a=a&&CVc(b,c))_.y(b,41)?(a=_.C(c,_.OO,86),a=null!=a&&_.y(b,41)==_.y(a,3)):a=!0;if(a=a&&DVc(b,c))a=_.DO(b),1==a?(a=_.F(c,31),a=!!_.CO(b).length||!!_.vj(b,_.zO,35).length||1==_.F(b,18)||_.UN(b)||_.VN(b)||_.WN(b)||!!_.y(b,54)||null==a||a):a=2==a?!!c.wc():!0;a&&(a=_.UN(b)?!!_.zm(c)&&!c.mh():!0);a&&(a=_.VN(b)?!!_.Am(c).length&&!c.mh():!0);a&&(a=_.WN(b)?!!c.CI().length&&!c.mh():!0);a&&(a=null!=_.y(b,50)?_.A(b,50,!1)?null!=_.y(c,101)&&
0!==_.y(c,101):null==_.y(c,101):!0);a&&(b=_.y(b,54),a=!b||_.y(c,120).includes(b));return a},zVc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0},AVc=function(a,b){var c=_.mf(_.y(b,56));a=_.vj(a,_.AO,25);return 0==a.length?!0:a.every(function(d){return c[d.tb()]})},BVc=function(a,b){if(0==a.Rt().length)return!0;var c=_.mf(b.Rt().map(function(d){return _.y(d,
1)}));a=_.mf(a.Rt().map(function(d){return _.y(d,1)}));return _.cf(a,function(d,e){return c[e]})},CVc=function(a,b){var c=_.mf(_.y(b,50));a=_.vj(a,_.rk,37);return 0==a.length?!0:a.every(function(d){return c[d.tb()]})},DVc=function(a,b){if(_.y(a,40).length){if(b=_.C(b,_.OO,86)){var c=_.mf(_.y(b,2));return _.y(a,40).some(function(d){return c[d]})}return!1}return!0},EVc=function(a,b,c){var d=this;this.W=b;this.ha=c;this.H={};this.V="";a.mb(function(e){d.V=e})};
EVc.prototype.query=function(a,b){var c=this,d=[];xVc(a)&&(_.$e(this.H,function(e){HQ(c.W,a,e.getItem())&&(void 0===b||zUc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};EVc.prototype.get=function(a){return this.H[a]};EVc.prototype.getAll=function(a){for(var b=[],c=0;c<a.length;c++){var d=this.H[a[c]];d&&b.push(d)}return b};EVc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,FVc(this,a.H)?(_.hf(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.hf(this.H,a.id),a.V.H--)};
var FVc=function(a,b){return 1<b.$b()||zUc(b.V,2)||b.getItem().HA()||NNc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},GVc=function(a){_.$e(a.H,function(b){FVc(a,b)&&(_.hf(a.H,b.getId()),b.H--)})},HVc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},bOc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),rVc(a.ka,[b.getItem()],VQc(a.ha)),b):null};HVc.prototype.H=function(a){return(a=bOc(this,a))?a.getItem():null};
var IVc=function(a,b){var c={};b.forEach(function(d){var e=bOc(a,d);e&&(c[d]=e)});return c},JVc=function(a,b){return _.bf(IVc(a,b),function(c){return c.getItem()})},KVc=function(a,b){b=CQ(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};HVc.prototype.query=function(a){return KVc(this,a).map(function(b){return b.getItem()})};HVc.prototype.W=function(){return _.df(this.V.H)};
LVc=function(a){var b=new Set;a=_.p(Object.values(a.V.H));for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.p(_.wm(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.iG(e));(d=c.Fo())&&b.add(d.getId()||_.iG(d));(d=c.IA())&&b.add(d.getId()||_.iG(d));(d=_.C(c,_.ok,91))&&b.add(d.getId()||_.iG(d));(c=c.IF())&&b.add(c.getId()||_.iG(c))}return b.size};
MVc=function(a){return _.C(a,_.IM,3)||_.C(a,_.sO,4)||_.C(a,_.jP,5)||_.C(a,_.kO,6)||_.C(a,_.NN,7)||_.C(a,_.GN,8)||_.C(a,_.KN,9)||_.C(a,_.aN,10)};NVc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};OVc=function(a){var b={};return b.parentId=a.Qj(),b};PVc=function(a){var b={};_.Bc(_.jg(a.getTitle()))||(b.title=a.getTitle());_.JLc(b,_.y(a,3));return b};
QVc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b};RVc=function(a){var b={};b.sourceIds=a.request.W();b.destinationFolderId=a.request.V();a.pageToken&&(b.continuationToken=a.pageToken);return b};
SVc=function(a){var b={},c={};_.Bc(_.jg(a.getTitle()))||(b.title=a.getTitle());null!=a.Qf()&&(b.description=a.Qf());null!=_.F(a,4)&&(c.starred=_.F(a,4));null!=a.mh()&&(c.trashed=a.mh());_.Bc(_.jg(a.Ub()))||(b.mimeType=a.Ub());"number"===typeof _.y(a,7)&&(b.modifiedDate=_.oIc(_.xJc(_.y(a,7)||0)));null!=_.F(a,11)&&(c.restricted=_.F(a,11));_.df(c)&&(b.labels=c);null!=a.Wh()&&(b.folderColor=a.Wh());null!=_.F(a,16)&&(b.subscribed=_.F(a,16));if(c=_.C(a,_.sm,25)){b.contentRestrictions=[];var d={};null!=
_.F(c,1)&&(d.readOnly=_.F(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.JLc(b,_.y(a,8));return b};TVc=function(a){var b={};null!=a.Xr()&&(b.pinned=a.Xr());return b};
UVc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.hg)("0",6-c.length)+c);c=_.C(a,_.oQc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.y(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
VVc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.IFc[a.getState()])&&(b.state=a);return b};WVc={Rnb:0,lob:1,Ssb:3,bAb:5,ANa:6};_.IQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IQ,_.P);_.g=_.IQ.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.kc=function(a){return _.x(this,2,a)};_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Pwa=function(){return _.y(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.eUa=function(){return _.y(this,6)};_.XVc=function(a,b){return _.x(a,6,b)};_.IQ.prototype.Qf=function(){return _.y(this,8)};_.IQ.prototype.ol=function(a){return _.x(this,8,a)};_.IQ.prototype.V=function(){return _.F(this,9)};_.YVc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.YVc,_.P);_.YVc.prototype.V=function(){return _.y(this,1)};var ZVc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ZVc,_.P);ZVc.prototype.V=function(){return _.F(this,1)};
ZVc.prototype.W=function(){return _.y(this,2)};_.JQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.JQ,_.P);_.g=_.JQ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.xga=function(){return _.y(this,3)};_.g.Ps=function(){return _.y(this,4)};_.g.CY=function(){return _.C(this,ZVc,6)};_.g.XYa=function(){return _.C(this,_.YVc,7)};_.g.Sya=function(){return _.y(this,8)};
_.g.wga=function(){return _.F(this,9)};var KQ=function(a,b){_.Qg.call(this,"Ib");this.error=a;this.LD=b};_.I(KQ,_.Qg);var $Vc=function(a,b,c){this.H=-1;this.V=a;this.H=c||a.H||16;this.ha=Array(this.H);this.W=Array(this.H);a=b;a.length>this.H&&(this.V.update(a),a=this.V.digest(),this.V.reset());for(c=0;c<this.H;c++)b=c<a.length?a[c]:0,this.ha[c]=b^92,this.W[c]=b^54;this.V.update(this.W)};_.M($Vc,_.vDc);$Vc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
$Vc.prototype.update=function(a,b){this.V.update(a,b)};$Vc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};var aWc=function(){this.H=64;this.V=[];this.ma=[];this.ta=[];this.ka=[];this.ka[0]=128;for(var a=1;a<this.H;++a)this.ka[a]=0;this.ha=this.W=0;this.reset()};_.M(aWc,_.vDc);
aWc.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.V[4]=3285377520;this.ha=this.W=0};
var bWc=function(a,b,c){c||(c=0);var d=a.ta;if("string"===typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.V[0];c=a.V[1];var h=a.V[2],k=a.V[3],l=a.V[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var n=1518500249}else f=c^h^k,n=1859775393;else 60>e?(f=c&h|k&(c|h),n=2400959708):
(f=c^h^k,n=3395469782);f=(b<<5|b>>>27)+f+l+n+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+c&4294967295;a.V[2]=a.V[2]+h&4294967295;a.V[3]=a.V[3]+k&4294967295;a.V[4]=a.V[4]+l&4294967295};
aWc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.H,d=0,e=this.ma,f=this.W;d<b;){if(0==f)for(;d<=c;)bWc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){bWc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){bWc(this,e);f=0;break}}this.W=f;this.ha+=b}};
aWc.prototype.digest=function(){var a=[],b=8*this.ha;56>this.W?this.update(this.ka,56-this.W):this.update(this.ka,this.H-(this.W-56));for(var c=this.H-1;56<=c;c--)this.ma[c]=b&255,b/=256;bWc(this,this.ma);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.V[c]>>d&255,++b;return a};var LQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(LQ,_.P);LQ.prototype.getId=function(){return _.y(this,1)};LQ.prototype.kc=function(a){return _.x(this,1,a)};LQ.prototype.PC=function(){return _.y(this,3)};
LQ.prototype.we=function(){return _.y(this,4)};var cWc=[2,4],MQ=function(a){_.Q(this,a,0,-1,cWc,null)};_.M(MQ,_.P);MQ.prototype.Fb=function(){return _.y(this,1)};MQ.prototype.Dc=function(a){return _.x(this,1,a)};MQ.prototype.Pj=function(){return _.y(this,3)};var dWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(dWc,_.P);var eWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(eWc,_.P);eWc.prototype.Fb=function(){return _.y(this,1)};eWc.prototype.Dc=function(a){return _.x(this,1,a)};
var fWc=[4,9],gWc=function(a){_.Q(this,a,0,-1,fWc,null)};_.M(gWc,_.P);_.g=gWc.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.jza=function(){return _.y(this,2)};_.g.Swa=function(){return _.y(this,3)};_.g.wZa=function(){return _.vj(this,_.gN,4)};var hWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(hWc,_.P);hWc.prototype.gr=function(){return _.C(this,KQc,1)};hWc.prototype.Jm=function(){return _.y(this,2)};var NQ=function(a){_.Q(this,a,0,-1,null,null)};
_.M(NQ,_.P);NQ.prototype.Fb=function(){return _.y(this,1)};NQ.prototype.Dc=function(a){return _.x(this,1,a)};NQ.prototype.Pj=function(){return _.y(this,3)};var OQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(OQ,_.P);OQ.prototype.Fb=function(){return _.y(this,1)};OQ.prototype.Dc=function(a){return _.x(this,1,a)};OQ.prototype.nY=function(){return _.C(this,_.ok,2)};OQ.prototype.Pj=function(){return _.y(this,3)};var iWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(iWc,_.P);_.g=iWc.prototype;
_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.Pj=function(){return _.y(this,2)};_.g.Twa=function(){return _.C(this,_.$n,3)};_.g.getKey=function(){return _.C(this,_.Ra,4)};var jWc={Rzb:0,Yub:1,avb:2,OTHER:3,Zub:4},$Nc=function(a){_.Q(this,a,0,-1,null,null)};_.M($Nc,_.P);$Nc.prototype.getUrl=function(){return _.y(this,1)};var FP=function(a){_.Q(this,a,0,-1,null,null)};_.M(FP,_.P);var ZNc=function(a,b){return _.x(a,1,b)};
FP.prototype.getName=function(){return _.y(this,2)};FP.prototype.wd=function(a){return _.x(this,2,a)};FP.prototype.getEmail=function(){return _.y(this,3)};FP.prototype.bB=function(){return null!=_.y(this,3)};var kWc=[1],lWc=function(a){_.Q(this,a,0,-1,kWc,null)};_.M(lWc,_.P);lWc.prototype.Jo=function(){return _.vj(this,FP,1)};var mWc=function(a,b){return _.yj(a,1,b)},nWc=[2],PQ=function(a){_.Q(this,a,0,-1,nWc,null)};_.M(PQ,_.P);PQ.prototype.Fb=function(){return _.y(this,1)};
PQ.prototype.Dc=function(a){return _.x(this,1,a)};PQ.prototype.Ri=function(){return _.vj(this,_.WB,2)};var oWc=function(a,b){return _.yj(a,2,b)};PQ.prototype.Pj=function(){return _.y(this,3)};var pWc=[[2,4,6,10],[3,5,7,8,9]],qWc=[1],rWc=function(a){_.Q(this,a,0,-1,null,pWc)};_.M(rWc,_.P);var sWc=function(a){_.Q(this,a,0,-1,qWc,null)};_.M(sWc,_.P);rWc.prototype.getKey=function(){return _.y(this,1)};var tWc=[2],QQ=function(a){_.Q(this,a,0,-1,tWc,null)};_.M(QQ,_.P);
QQ.prototype.Fb=function(){return _.y(this,1)};QQ.prototype.Dc=function(a){return _.x(this,1,a)};QQ.prototype.V=function(){return _.vj(this,XP,2)};var uWc=function(a,b){return _.yj(a,2,b)};QQ.prototype.Pj=function(){return _.y(this,3)};var RQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(RQ,_.P);RQ.prototype.Fb=function(){return _.y(this,1)};RQ.prototype.Dc=function(a){return _.x(this,1,a)};RQ.prototype.V=function(){return _.C(this,XP,2)};RQ.prototype.Pj=function(){return _.y(this,3)};
var vWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(vWc,_.P);vWc.prototype.DF=function(){return _.y(this,2)};_.wWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.wWc,_.P);_.g=_.wWc.prototype;_.g.Gc=function(){return _.y(this,1)};_.g.Fb=function(){return _.y(this,2)};_.g.Dc=function(a){return _.x(this,2,a)};_.g.getError=function(){return _.C(this,_.ob,3)};_.g.Te=function(a){return _.R(this,3,a)};_.g.jo=function(){return null!=_.y(this,3)};var xWc=[1],yWc=function(a){_.Q(this,a,0,-1,xWc,null)};
_.M(yWc,_.P);_.SQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.SQ,_.P);_.SQ.prototype.Fb=function(){return _.y(this,1)};_.SQ.prototype.Dc=function(a){return _.x(this,1,a)};_.TQ=function(a){return _.C(a,_.lC,2)};_.zWc=function(a,b){return _.R(a,2,b)};_.SQ.prototype.Pj=function(){return _.y(this,3)};var AWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(AWc,_.P);var BWc=function(a,b){return _.x(a,1,b)},CWc=[1],DWc=function(a){_.Q(this,a,0,-1,CWc,null)};_.M(DWc,_.P);
EWc=function(a,b){return _.x(a,1,b||[])};_.gOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.gOc,_.P);_.g=_.gOc.prototype;_.g.getItem=function(){return _.C(this,_.vm,1)};_.g.setItem=function(a){return _.R(this,1,a)};_.g.getError=function(){return _.C(this,_.ob,2)};_.g.Te=function(a){return _.R(this,2,a)};_.g.jo=function(){return null!=_.y(this,2)};_.g.Sr=function(){return _.y(this,4)};var FWc=[1],GWc=function(a){_.Q(this,a,0,-1,FWc,null)};_.M(GWc,_.P);
var HWc=[2],UQ=function(a){_.Q(this,a,0,-1,HWc,null)};_.M(UQ,_.P);UQ.prototype.Fb=function(){return _.y(this,1)};UQ.prototype.Dc=function(a){return _.x(this,1,a)};UQ.prototype.Pj=function(){return _.y(this,3)};var IWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(IWc,_.P);var JWc=[1],KWc=function(a){_.Q(this,a,0,-1,JWc,null)};_.M(KWc,_.P);KWc.prototype.V=function(){return _.y(this,2)};var LWc=function(a,b){_.x(a,2,b)},MWc=function(a,b){this.V=a|0;this.H=b|0};
MWc.prototype.equals=function(a){return this===a?!0:a instanceof MWc?this.V===a.V&&this.H===a.H:!1};MWc.prototype.yc=function(){return 31*this.V+17*this.H|0};
var NWc=function(a,b){return new MWc(a,b)},OWc=function(a,b){b=~b;a?a=~a+1:b+=1;return NWc(a,b)},PWc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?OWc:NWc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},QWc=function(){this.H=this.ha=this.V=this.W=null},RWc=function(a){var b=new _.cj;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.dj(b,1,1);var e=b.H;KP(e,c);KP(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.dj(b,2,1),e=b.H,KP(e,c),KP(e,d));c=a.ha;null!=c&&(_.dj(b,3,5),KP(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.dj(b,4,1),d=b.H,KP(d,c),KP(d,a));return _.ej(b)},SWc=function(a,b,c){this.id=a;this.V=b;this.H=c},TWc=function(a,b){return new SWc((a?a:b).getId(),a,b)},UWc=function(a,b){return new SWc(a.getId(),a,b)},VQ=function(a){return new SWc(a.getId(),null,a)},VWc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},WWc={LIMITED:1,UNLIMITED:2},QNc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},SNc={kvb:0,grb:1},XWc=function(a,b){this.V=a;this.H=b},ZWc=function(a,b){_.kP(["drive#about"],b);var c=
new _.SQ,d=new _.lC;if(b.user){var e=_.lP(a.V,b.user);_.R(d,1,e)}a=YWc(a,b);a=gQc(fQc(_.eQc(new _.Ymb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.iQc(a,_.bQc(_.aQc((new _.kC).Dc(VWc[e.status]),Number(e.trialMillisRemaining)),_.mP(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.jQc(a,_.dQc(_.cQc(new _.Xmb,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&hQc(a,b.importFormats.map(function(f){var h=new _.$Pc;
h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.R(d,3,a);_.zWc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},YWc=function(a,b){var c=new _.N3a;c=_.x(c,1,Number(b.quotaBytesTotal));c=_.x(c,2,Number(b.quotaBytesUsed));c=_.x(c,3,Number(b.quotaBytesUsedAggregate));c=_.x(c,4,Number(b.quotaBytesUsedInTrash));c=_.TPc(_.SPc(c,RNc(b.quotaBytesByService||[])),WWc[b.quotaType]);if(_.A(a.H,5,!1)){a=_.VPc(_.UPc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-
Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-TNc(b);a=_.x(a,9,d);a=_.WPc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));d=Number(b.quotaBytesTotal);-1==d?d=1:(d=Number(b.quotaBytesUsedAggregate)/d*100,d=100<=d?6:95<=d?5:90<=d?4:80<=d?3:70<=d?2:0<=d?1:0);_.x(a,13,d);b.graceQuotaInfo&&b.graceQuotaInfo.CBb&&(a=new YPc,d=_.K3a(new Date(b.graceQuotaInfo.endDateMillis)),a=_.R(a,1,d),b=_.x(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),
_.R(c,12,b));b=c}else b=c;return b},$Wc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},aXc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},bXc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},cXc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},dXc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},eXc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},fXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},gXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},hXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},iXc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},jXc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},kXc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},lXc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},mXc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},nXc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},oXc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},pXc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},qXc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},rXc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},sXc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},tXc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},uXc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},vXc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},WQ=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.J3a((new _.Nx).setSeconds(a),b)},wXc=function(a){var b=new _.tQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":c=WQ(d);_.R(b,1,c);break;case "endTime":b.Hv(WQ(d))}}return b},xXc=function(a){var b=new nTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "title":b.setTitle(d)}}return b},yXc=function(a){var b=new _.sTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;
switch(c){case "type":_.sj(b,6,aXc[d])}}return b},zXc=function(a){var b=new _.tTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.rj(b,1,d);break;case "targetMimeType":_.rj(b,2,d)}}return b},AXc=function(a){var b=new _.kQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new jQ;d=_.p(Object.entries(d));for(var e=
d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.wd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new rTc;_.xj(e,8,uTc[0],f);break;case "driveFolder":e=yXc(f);_.xj(c,9,uTc[0],e);break;case "driveShortcut":e=zXc(f),_.xj(c,10,uTc[0],e)}}_.xj(b,1,vTc[0],c);break;case "drive":c=xXc(d),_.xj(b,3,vTc[0],c)}}return b},BXc=function(a){return a.map(function(b){return AXc(b)})},CXc=function(a){var b=new _.mTc;a=_.p(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "legacyId":_.rj(b,3,d);break;case "audienceDisplayName":_.rj(b,4,d)}}return b},XQ=function(a){var b=new _.RSc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.fQ;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;
switch(e){case "personName":_.rj(c,1,f);break;case "isCurrentUser":_.qj(c,2,f);break;case "displayName":_.rj(c,3,f);break;case "photoUrl":c.ws(f)}}_.xj(b,2,_.PSc[0],c);break;case "unknownUser":c=new SSc;_.xj(b,4,_.PSc[0],c);break;case "deletedUser":c=new _.QSc,_.xj(b,3,_.PSc[0],c)}}return b},DXc=function(a){return a.map(function(b){return XQ(b)})},EXc=function(a){var b=new _.bUc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=
XQ(d);_.xj(b,1,_.qQ[0],c);break;case "anonymous":c=new ZTc;_.xj(b,2,_.qQ[0],c);break;case "impersonation":c=new _.$Tc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=XQ(f),_.R(c,1,e)}}_.xj(b,3,_.qQ[0],c);break;case "system":c=new _.aUc;d=_.p(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.p(e.value),e=f.next().value,f=f.next().value,e){case "type":_.sj(c,1,bXc[f])}_.xj(b,4,_.qQ[0],
c);break;case "administrator":c=new _.YTc,_.xj(b,5,_.qQ[0],c)}}return b},FXc=function(a){return a.map(function(b){return EXc(b)})},GXc=function(a){var b=new iQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.rj(b,6,d);break;case "version":_.pj(b,5,d);break;case "owner":c=new pTc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=
_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=CXc(f);_.R(c,3,e);break;case "user":e=XQ(f);_.xj(c,1,oTc[0],e);break;case "drive":e=xXc(f),_.xj(c,4,oTc[0],e)}}_.R(b,7,c);break;case "driveFile":c=new rTc;_.xj(b,8,qTc[0],c);break;case "driveFolder":c=yXc(d);_.xj(b,9,qTc[0],c);break;case "driveShortcut":c=zXc(d),_.xj(b,10,qTc[0],c)}}return b},HXc=function(a){var b=new _.sQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;
switch(c){case "driveItem":c=GXc(d);_.xj(b,1,_.rQ[0],c);break;case "drive":c=new _.dUc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.wd(f);break;case "title":c.setTitle(f);break;case "root":e=GXc(f),_.R(c,3,e)}}_.xj(b,5,_.rQ[0],c);break;case "fileComment":c=new _.eUc;d=_.p(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.p(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.rj(c,
1,f);break;case "legacyDiscussionId":_.rj(c,2,f);break;case "linkToDiscussion":_.rj(c,3,f);break;case "parent":c.Jg(GXc(f))}_.xj(b,3,_.rQ[0],c)}}return b},IXc=function(a){return a.map(function(b){return HXc(b)})},JXc=function(a){var b=new _.JTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.sj(b,1,vXc[d])}}return b},KXc=function(a){return a.map(function(b){var c=new _.nQ;b=_.p(Object.entries(b));for(var d=
b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "role":_.sj(c,1,eXc[e]);break;case "user":d=XQ(e);_.xj(c,2,_.mQ[0],d);break;case "group":d=new _.lQ;e=_.p(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.p(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.rj(d,1,h);break;case "title":d.setTitle(h)}}_.xj(c,3,_.mQ[0],d);break;case "domain":d=CXc(e);_.xj(c,4,_.mQ[0],d);break;case "anyone":d=new LTc;_.xj(c,5,_.mQ[0],d);
break;case "allowDiscovery":_.qj(c,6,e)}}return c})},LXc=function(a){var b=new KSc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "description":b.ol(d);break;case "url":_.rj(b,2,d)}}return b},MXc=function(a){return a.map(function(b){var c=new _.TTc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.sj(c,1,oXc[e]);break;case "newRestriction":_.sj(c,
2,pXc[e])}}return c})},NXc=function(a){return a.map(function(b){var c=new aTc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=XQ(e);_.R(c,3,d);break;case "addedReviewer":d=XQ(e),_.R(c,4,d)}}return c})},OXc=function(a){return a.map(function(b){return sXc[b]})},PXc=function(a){return a.map(function(b){var c=new eTc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);
d=e.next().value;e=e.next().value;switch(d){case "publishedCategoryName":_.rj(c,1,e);break;case "types":d=OXc(e),_.x(c,2,d||[])}}return c})},QXc=function(a){return a.map(function(b){return tXc[b]})},RXc=function(a){return a.map(function(b){var c=new NSc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Id(e);break;case "types":d=QXc(e),_.x(c,2,d||[])}}return c})},SXc=function(a){var b=new PTc;a=_.p(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.sj(b,1,uXc[d]);break;case "signinRequired":_.qj(b,2,d);break;case "publishedTime":c=WQ(d),_.R(b,3,c)}}return b},TXc=function(a){for(var b=new _.pQ,c=_.p(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.p(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.ATc,l=_.p(Object.entries(h)),n=l.next();!n.done;n=l.next()){var q=_.p(n.value),t=q.next().value,
v=q.next().value;switch(t){case "new":var z=k,B=new xTc;_.xj(z,1,_.wTc[0],B);break;case "upload":var E=k,L=new yTc;_.xj(E,2,_.wTc[0],L);break;case "copy":for(var J=v,X=new _.zTc,T=_.p(Object.entries(J)),la=T.next();!la.done;la=T.next()){var Fa=_.p(la.value),Da=Fa.next().value,Aa=Fa.next().value;switch(Da){case "originalObject":var pa=AXc(Aa);_.R(X,1,pa)}}_.xj(k,3,_.wTc[0],X)}}_.xj(b,1,_.oQ[0],k);break;case "edit":var Va=new FTc;_.xj(b,2,_.oQ[0],Va);break;case "move":for(var xb=new _.KTc,Xb=_.p(Object.entries(h)),
yb=Xb.next();!yb.done;yb=Xb.next()){var fc=_.p(yb.value),Kc=fc.next().value,re=fc.next().value;switch(Kc){case "addedParents":var dg=BXc(re);_.yj(xb,1,dg);break;case "removedParents":var Ae=BXc(re);_.yj(xb,2,Ae);break;case "fromOwnershipTransfer":_.qj(xb,3,re);break;case "reparents":var rf=re.map(JXc);_.yj(xb,4,rf)}}_.xj(b,3,_.oQ[0],xb);break;case "rename":for(var Og=new _.QTc,wg=_.p(Object.entries(h)),Pc=wg.next();!Pc.done;Pc=wg.next()){var Ei=_.p(Pc.value),sf=Ei.next().value,Gg=Ei.next().value;
switch(sf){case "oldTitle":_.rj(Og,1,Gg);break;case "newTitle":_.rj(Og,2,Gg)}}_.xj(b,4,_.oQ[0],Og);break;case "delete":for(var Bb=new _.DTc,Mh=_.p(Object.entries(h)),Qk=Mh.next();!Qk.done;Qk=Mh.next()){var ni=_.p(Qk.value),rl=ni.next().value,wj=ni.next().value;switch(rl){case "type":_.sj(Bb,1,cXc[wj])}}_.xj(b,5,_.oQ[0],Bb);break;case "restore":for(var mg=new _.RTc,Bh=_.p(Object.entries(h)),lm=Bh.next();!lm.done;lm=Bh.next()){var cq=_.p(lm.value),sl=cq.next().value,tl=cq.next().value;switch(sl){case "type":_.sj(mg,
1,dXc[tl])}}_.xj(b,6,_.oQ[0],mg);break;case "permissionChange":for(var Ij=new _.NTc,Nn=_.p(Object.entries(h)),dq=Nn.next();!dq.done;dq=Nn.next()){var nk=_.p(dq.value),eq=nk.next().value,ul=nk.next().value;switch(eq){case "addedPermissions":var Po=KXc(ul);_.yj(Ij,1,Po);break;case "removedPermissions":var Qo=KXc(ul);_.yj(Ij,2,Qo);break;case "resharedPermissions":var On=KXc(ul);_.yj(Ij,3,On);break;case "otherActivePermissions":var Vm=KXc(ul);_.yj(Ij,4,Vm)}}_.xj(b,7,_.oQ[0],Ij);break;case "comment":for(var Hg=
new _.lTc,Ve=_.p(Object.entries(h)),jd=Ve.next();!jd.done;jd=Ve.next()){var Ro=_.p(jd.value),Xh=Ro.next().value,Ui=Ro.next().value;switch(Xh){case "post":for(var rv=Ui,lr=new _.iTc,ts=_.p(Object.entries(rv)),us=ts.next();!us.done;us=ts.next()){var vs=_.p(us.value),Pn=vs.next().value,Yt=vs.next().value;switch(Pn){case "subtype":_.sj(lr,1,fXc[Yt])}}_.xj(Hg,1,_.hTc[0],lr);break;case "assignment":for(var So=Ui,ch=new _.jTc,Jj=_.p(Object.entries(So)),Qn=Jj.next();!Qn.done;Qn=Jj.next()){var Yh=_.p(Qn.value),
To=Yh.next().value,Zt=Yh.next().value;switch(To){case "subtype":_.sj(ch,1,gXc[Zt]);break;case "assignedUser":var ws=XQ(Zt);_.R(ch,7,ws)}}_.xj(Hg,2,_.hTc[0],ch);break;case "suggestion":for(var mr=Ui,fq=new _.kTc,Uo=_.p(Object.entries(mr)),Rk=Uo.next();!Rk.done;Rk=Uo.next()){var xs=_.p(Rk.value),$t=xs.next().value,Wm=xs.next().value;switch($t){case "subtype":_.sj(fq,1,hXc[Wm])}}_.xj(Hg,3,_.hTc[0],fq);break;case "mentionedUsers":var gq=DXc(Ui);_.yj(Hg,7,gq)}}_.xj(b,8,_.oQ[0],Hg);break;case "dlpChange":for(var ys=
new _.CTc,zs=_.p(Object.entries(h)),nr=zs.next();!nr.done;nr=zs.next()){var As=_.p(nr.value),sv=As.next().value,Bs=As.next().value;switch(sv){case "type":_.sj(ys,1,iXc[Bs])}}_.xj(b,9,_.oQ[0],ys);break;case "view":for(var Vo=new XTc,Cs=_.p(Object.entries(h)),Ds=Cs.next();!Ds.done;Ds=Cs.next()){var au=_.p(Ds.value),Es=au.next().value,Xm=au.next().value;switch(Es){case "type":_.sj(Vo,1,jXc[Xm]);break;case "viewHistoryVisibility":for(var gx=Xm,Be=new WTc,hq=_.p(Object.entries(gx)),hx=hq.next();!hx.done;hx=
hq.next()){var oz=_.p(hx.value),JO=oz.next().value,iq=oz.next().value;switch(JO){case "domainPolicyVisibilityState":_.sj(Be,1,kXc[iq]);break;case "namedPartyState":_.sj(Be,2,lXc[iq])}}_.R(Vo,2,Be)}}_.xj(b,10,_.oQ[0],Vo);break;case "download":for(var tv=new ETc,bu=_.p(Object.entries(h)),uv=bu.next();!uv.done;uv=bu.next()){var Ym=_.p(uv.value),OF=Ym.next().value,PF=Ym.next().value;switch(OF){case "type":_.sj(tv,1,mXc[PF])}}_.xj(b,11,_.oQ[0],tv);break;case "reference":for(var ix=new _.eQ,pz=_.p(Object.entries(h)),
jC=pz.next();!jC.done;jC=pz.next()){var QF=_.p(jC.value),s6=QF.next().value,t6=QF.next().value;switch(s6){case "type":_.sj(ix,1,nXc[t6]);break;case "context":ix.Xj(LXc(t6))}}_.xj(b,12,_.oQ[0],ix);break;case "settingsChange":for(var DX=new _.UTc,wja=_.p(Object.entries(h)),EX=wja.next();!EX.done;EX=wja.next()){var Gbb=_.p(EX.value),pka=Gbb.next().value,c_b=Gbb.next().value;switch(pka){case "restrictionChanges":var d_b=MXc(c_b);_.yj(DX,1,d_b)}}_.xj(b,13,_.oQ[0],DX);break;case "approvalChange":for(var Uv=
new _.XSc,Hbb=_.p(Object.entries(h)),aIa=Hbb.next();!aIa.done;aIa=Hbb.next()){var Ibb=_.p(aIa.value),e_b=Ibb.next().value,EG=Ibb.next().value;switch(e_b){case "approvalName":_.rj(Uv,2,EG);break;case "approvalEventNames":_.x(Uv,3,EG||[]);break;case "initiator":var f_b=XQ(EG);_.R(Uv,4,f_b);break;case "reviewers":var bIa=DXc(EG);_.yj(Uv,5,bIa);break;case "status":Uv.Dc(qXc[EG]);break;case "dueTime":var cIa=WQ(EG);_.R(Uv,7,cIa);break;case "approvalRequested":var g_b=Uv,Jbb=new USc;_.xj(g_b,8,_.gQ[0],
Jbb);break;case "approvalCancelled":var h_b=Uv,i_b=new VSc;_.xj(h_b,9,_.gQ[0],i_b);break;case "reviewerResponded":for(var j_b=EG,qka=new _.WSc,rka=_.p(Object.entries(j_b)),dIa=rka.next();!dIa.done;dIa=rka.next()){var V6=_.p(dIa.value),k_b=V6.next().value,Kbb=V6.next().value;switch(k_b){case "reviewerDecision":_.sj(qka,1,rXc[Kbb])}}_.xj(Uv,10,_.gQ[0],qka);break;case "commentAdded":var l_b=Uv,m_b=new YSc;_.xj(l_b,11,_.gQ[0],m_b);break;case "reviewersChanged":for(var n_b=EG,Lbb=new $Sc,ska=_.p(Object.entries(n_b)),
tka=ska.next();!tka.done;tka=ska.next()){var Mbb=_.p(tka.value),o_b=Mbb.next().value,p_b=Mbb.next().value;switch(o_b){case "reviewerChanges":var q_b=NXc(p_b);_.yj(Lbb,1,q_b)}}_.xj(Uv,12,_.gQ[0],Lbb);break;case "dueTimeChanged":for(var r_b=EG,Nbb=new bTc,esd=_.p(Object.entries(r_b)),s_b=esd.next();!s_b.done;s_b=esd.next()){var fsd=_.p(s_b.value),myf=fsd.next().value,nyf=fsd.next().value;switch(myf){case "oldDueTime":var oyf=WQ(nyf);_.R(Nbb,1,oyf)}}_.xj(Uv,13,_.gQ[0],Nbb)}}_.xj(b,18,_.oQ[0],Uv);break;
case "lock":var pyf=new HTc;_.xj(b,15,_.oQ[0],pyf);break;case "unlock":var qyf=new VTc;_.xj(b,16,_.oQ[0],qyf);break;case "categoryMetadataChange":for(var gsd=new _.fTc,hsd=_.p(Object.entries(h)),t_b=hsd.next();!t_b.done;t_b=hsd.next()){var isd=_.p(t_b.value),ryf=isd.next().value,syf=isd.next().value;switch(ryf){case "changes":var tyf=PXc(syf);_.yj(gsd,1,tyf)}}_.xj(b,17,_.oQ[0],gsd);break;case "appliedLabelChange":for(var jsd=new _.OSc,ksd=_.p(Object.entries(h)),u_b=ksd.next();!u_b.done;u_b=ksd.next()){var lsd=
_.p(u_b.value),uyf=lsd.next().value,vyf=lsd.next().value;switch(uyf){case "changes":var wyf=RXc(vyf);_.yj(jsd,1,wyf)}}_.xj(b,19,_.oQ[0],jsd);break;case "publishChange":for(var v_b=new OTc,msd=_.p(Object.entries(h)),w_b=msd.next();!w_b.done;w_b=msd.next()){var nsd=_.p(w_b.value),xyf=nsd.next().value,osd=nsd.next().value;switch(xyf){case "oldPublishState":var yyf=SXc(osd);_.R(v_b,1,yyf);break;case "newPublishState":var zyf=SXc(osd);_.R(v_b,2,zyf)}}_.xj(b,20,_.oQ[0],v_b);break;case "linkShareMetadataChange":for(var psd=
new GTc,qsd=_.p(Object.entries(h)),x_b=qsd.next();!x_b.done;x_b=qsd.next()){var rsd=_.p(x_b.value),Ayf=rsd.next().value,Byf=rsd.next().value;switch(Ayf){case "securityUpdateEnabled":_.qj(psd,1,Byf)}}_.xj(b,21,_.oQ[0],psd)}}return b},UXc=function(a){return a.map(function(b){var c=new _.hUc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=TXc(e);_.R(c,1,d);break;case "source":d=new cUc;e=_.p(Object.entries(e));
for(var f=e.next();!f.done;f=e.next()){var h=_.p(f.value);f=h.next().value;h=h.next().value;switch(f){case "type":_.sj(d,2,$Wc[h]);break;case "appId":_.rj(d,1,h)}}_.R(c,2,d);break;case "actor":d=EXc(e);_.R(c,3,d);break;case "target":d=HXc(e);_.R(c,4,d);break;case "timestamp":d=WQ(e);_.xj(c,5,gUc[0],d);break;case "timeRange":d=wXc(e),_.xj(c,6,gUc[0],d)}}return c})},VXc=function(a){return a.map(function(b){var c=new _.uQ;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);
d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=TXc(e);_.R(c,2,d);break;case "actors":d=FXc(e);_.yj(c,3,d);break;case "actions":d=UXc(e);_.yj(c,4,d);break;case "targets":d=IXc(e);_.yj(c,5,d);break;case "timestamp":d=WQ(e);_.xj(c,6,jUc[0],d);break;case "timeRange":d=wXc(e),_.xj(c,7,jUc[0],d)}}return c})},WXc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},XXc={application:1,document:2,documentShared:3},YXc=function(a){var b=new _.uSc;b=_.x(b,3,a.iconUrl).setSize(a.size);
a.category&&_.x(b,1,XXc[a.category]);return b},ZXc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.vSc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},$Xc=function(a){_.kP(["drive#app"],a);var b=(new _.bQ).kc(a.id);b=_.x(b,3,a.useByDefault).wd(a.name);b=_.x(b,7,a.openUrlTemplate);b=ASc(zSc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.x(b,8,a.createUrl);b=_.x(b,9,a.createInFolderTemplate);b=_.x(b,10,a.objectType);b=_.x(b,11,a.supportsCreate);b=_.x(b,12,a.supportsImport);
b=_.x(b,13,a.supportsMultiOpen);b=_.x(b,27,a.supportsOfflineCreate);b=_.x(b,14,a.installed);b=_.x(b,15,a.authorized);b=_.x(b,16,a.productUrl);b=_.x(b,17,a.primaryFileExtensions||[]);b=_.x(b,18,a.secondaryFileExtensions||[]);b=_.x(b,19,a.shortDescription);b=_.x(b,20,a.longDescription);b=_.x(b,21,a.productId);b=_.x(b,22,a.removable);b=_.x(b,23,WXc[a.type]);b=_.x(b,25,a.hasAppData);b=_.x(b,26,a.appDataQuotaBytesUsed);b=_.x(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.x(b,30,a.hasDriveWideScope);b=
_.x(b,31,a.driveSource);b=_.x(b,32,a.driveBranded);b=_.x(b,33,a.hidden);b=_.x(b,34,a.supportsMobileBrowser);b=_.x(b,35,a.supportsTeamDrives);b=_.x(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++)d.push(YXc(c[e]));_.yj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.x(b,24,d||[]);c=a.rankingInfo||{};a=new _.xSc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=ZXc(c.mimeTypeScores||[]);_.yj(a,2,d);c=ZXc(c.fileExtensionScores||[]);_.yj(a,3,c);_.R(b,29,
a);return b},aYc=function(a,b){var c=new NQ;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=$Xc(a),_.R(b,2,a));return b},bYc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},cYc=function(a){var b=new UQ;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.JQ).kc(c.id).setTitle(c.title);d=_.x(d,3,_.mP(c.updateTime));d=_.x(d,4,bYc[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.mP(c.expiryTime));d=_.x(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:
!1);if(1==d.Ps()){var e=new ZVc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.R(d,6,c)}else 2==d.Ps()&&(e=new _.YVc,e=_.x(e,1,c.deviceName),e=_.x(e,2,c.deviceModelName),e=_.x(e,3,c.shouldIncludeSpecialSyncItems),c=_.x(e,4,c.deviceAndroidId),_.R(d,7,c));return d});_.yj(b,2,a);return b},dYc=function(a){var b=new GWc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.IQ).kc(c.id);d=_.x(d,1,sQc[c.type]).setTitle(c.title);d=_.x(d,4,c.iconUri);d=_.XVc(d.setSize(c.size),
_.mP(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).ol(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.yj(b,1,a);return b},eYc=function(a,b){this.H=a;this.V=b},fYc={read:2,write:3,comment:4},gYc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.zM((new _.vm).kc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.ln(_.aLc(c.userCapabilities));_.iP(b).includes(19)&&_.hIc(d,!0);_.DLc(a,d,_.iP(b));_.iIc(d,4);return d},hYc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;
a=_.DGc(_.CGc(_.BGc(new _.nta,a.timeUsec),a.serverIp),a.processId);return _.ykb(a)},iYc=function(a){return _.CHc((new _.ok).kc(a.id).wd(a.displayName),a.emailAddress).ws(a.photoUrl)},jYc=function(a){if(!a)return null;a=a.textSegment||[];return zOc(new _.jm,a.map(function(b){var c=(new _.Gsa).oh(b.text),d=b.link;if(d){var e=new _.Hsa;d=_.x(e,1,d.url)}else d=null;c=_.R(c,2,d);c=_.x(c,3,b.bold);return _.x(c,4,b.italic)}))},kYc=function(a){var b=DOc(new _.km,jYc(a.displayText)),c=a.primaryPerson,d=a.allPeople;
c?(c=iYc(c),_.xj(b,3,_.Jsa[0],c),EOc(b,[c])):d?(c=(d.person||[]).map(function(e){return iYc(e)}),d=COc(c),_.xj(b,4,_.Jsa[0],d),EOc(b,c)):(c=(a.person||[]).map(function(e){return iYc(e)}),c.length&&(d=COc(c),_.xj(b,4,_.Jsa[0],d),EOc(b,c)));_.x(b,5,_.mP(a.eventTime));FOc(b,jYc(a.justificationDescription));return b},YQ=function(a){return(a=a.justification)?kYc(a):null},lYc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=uPc(new _.Qsa,YQ(a));tPc(b,(a.subAction||[]).map(function(c){var d=
new WOc;c.openDocument&&(c=new OP,_.xj(d,1,VOc[0],c));return d}));return b},mYc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=NPc(new _.cta,YQ(a));MPc(b,(a.subAction||[]).map(function(c){var d=new nPc;c.openDocument&&(c=new OP,_.xj(d,1,mPc[0],c));return d}));return b},nYc=function(a){a=a.documentTopicAction;if(!a)return null;var b=CPc(new _.Xsa,YQ(a));BPc(b,(a.subAction||[]).map(function(c){var d=new $Oc;c.openDocument&&(c=new OP,_.xj(d,1,ZOc[0],c));return d}));return b},oYc=function(a){a=
a.documentWorkspaceAction;if(!a)return null;var b=HPc(GPc(new dPc,a.workspaceId),YQ(a));FPc(b,(a.subAction||[]).map(function(c){var d=new fPc;c.addToWorkspace&&(c=new HOc,_.xj(d,1,ePc[0],c));return d}));return b},pYc=function(a){a=a.calendarEventAction;if(!a)return null;var b=sPc(rPc(qPc(new _.Osa,a.eventId),YQ(a)),a.guestCount);pPc(b,(a.subAction||[]).map(function(c){var d=new UOc;if(c.viewCalendarEvent){var e=new ROc;_.xj(d,1,TOc[0],e)}c.shareWithAttendees&&(e=new POc,_.xj(d,2,TOc[0],e));c.present&&
(e=new JOc,_.xj(d,3,TOc[0],e));c.openDocument&&(c=new OP,_.xj(d,4,TOc[0],c));return d}));return b},qYc=function(a){return(a.justification||[]).map(function(b){return kYc(b)})},rYc=function(a){a=a.formResponseAction;if(!a)return null;var b=LPc(new _.ata,qYc(a));KPc(b,(a.subAction||[]).map(function(c){var d=new lPc;c.openDocument?(c=new OP,_.xj(d,1,kPc[0],c)):c.viewResponses&&(c=new SOc,_.xj(d,2,kPc[0],c));return d}));return b},sYc=function(a){a=a.documentDocosAction;if(!a)return null;var b=wPc(new _.Ssa,
YQ(a));vPc(b,(a.subAction||[]).map(function(c){var d=new _.Tsa;c.reply?(c=new _.Msa,_.xj(d,1,_.nm[0],c)):c.resolve?(c=new MOc,_.xj(d,2,_.nm[0],c)):c.reassign?(c=new KOc,_.xj(d,3,_.nm[0],c)):c.acceptSuggestion?(c=new GOc,_.xj(d,4,_.nm[0],c)):c.rejectSuggestion?(c=new LOc,_.xj(d,5,_.nm[0],c)):c.openThread&&(c=new _.Lsa,_.xj(d,6,_.nm[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);xPc(b,jYc(a.anchorText));return b},tYc=function(a){a=a.documentShareAction;if(!a)return null;var b=APc(new _.Vsa,
YQ(a));zPc(b,(a.subAction||[]).map(function(c){var d=new YOc;c.suggestedShare?(c=new QOc,_.xj(d,1,XOc[0],c)):c.responseToRequest&&(c=new NOc,_.xj(d,2,XOc[0],c));return d}));yPc(b,(a.sharee||[]).map(function(c){return iYc(c)}));_.x(b,3,fYc[a.shareeRole]);return b},uYc=function(a){a=a.documentViewAction;if(!a)return null;var b=EPc(new _.Zsa,qYc(a));DPc(b,(a.subAction||[]).map(function(c){var d=new bPc;c.open?d.jg(new OP):c.reviewEdits&&(c=new OOc,_.xj(d,2,aPc[0],c));return d}));return b},vYc=function(a){a=
a.emailViewAction;if(!a)return null;var b=JPc(new hPc,YQ(a));IPc(b,(a.subAction||[]).map(function(c){var d=new jPc;c.openEmail&&d.jg(new IOc);return d}));return b},wYc=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Ksa,e=sYc(c);e&&_.xj(d,2,_.mm[0],e);(e=uYc(c))&&oPc(d,e);(e=tYc(c))&&_.xj(d,4,_.mm[0],e);(e=vYc(c))&&_.xj(d,5,_.mm[0],e);(e=pYc(c))&&_.xj(d,6,_.mm[0],e);(e=oYc(c))&&_.xj(d,7,_.mm[0],e);(e=nYc(c))&&_.xj(d,8,_.mm[0],e);(e=mYc(c))&&_.xj(d,9,_.mm[0],e);(e=lYc(c))&&_.xj(d,
10,_.mm[0],e);(c=rYc(c))&&_.xj(d,11,_.mm[0],c);return d}):(a=YQ(a),a=EPc(new _.Zsa,[a]),[oPc(new _.Ksa,a)])},xYc={UNSPECIFIED_CLIENT:0,DEFAULT_CLIENT:102,QUICK_ACCESS_CLIENT:110,DRIVE_ZERO_STATE_SEARCH_CLIENT:113,DRIVE_PRIORITY:116,DRIVE_WORKSPACES_CLIENT:117,DRIVE_PEOPLE_CLIENT:118,DRIVE_PEOPLE_WITH_ACTIONS_CLIENT:119,DRIVE_WORKING_SET_CLIENT:122,SMART_TASKS_CLIENT:123},yYc=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=RPc(new _.Bm,a.map(function(c){return xYc[c]||0}));
if(b=b.eventId)b=_.DGc(_.CGc(_.BGc(new _.nta,b.timeUsec),b.serverIp),b.processId),_.R(a,2,b);return a},zYc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=bNc(gYc(a,b,e),wYc(e)),d.push(e))});c=(new _.YB).gw(d).gI(hYc(c)).setSessionId(yYc(c));return _.XIc(new _.VO,c)},AYc=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=iYc(f.person).kc(h);(f.childItem||[]).forEach(function(l){e.some(function(t){return t.getId()==h})||e.push(k);
var n=l.itemId,q=d.find(function(t){return t.getId()==n});q||(q=gYc(a,b,l),d.push(q));l=QPc(PPc(OPc(new _.eta,k.clone()),l.predictionReason),l.url);_.zj(q,107,l,_.eta,void 0)})}});return iRc((new _.rP).gw(d),e).gI(hYc(c)).setSessionId(yYc(c))},BYc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.hta;f=_.x(f,2,e.predictionReason);e=gYc(a,b,e);e=_.R(e,100,f);d.push(e)}});c=(new _.YB).gw(d).gI(hYc(c)).setSessionId(yYc(c)).SW(c.suggestionSessionId);return _.XIc(new _.VO,
c)},CYc=function(a){return _.BHc(1).kc(a.personName.split("/")[1])},DYc=function(a){var b=(new sRc).jk(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},EYc=function(a){var b=new XRc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},FYc=function(a){var b=new tRc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canWrite)},GYc=function(a){a=void 0===a?{}:a;var b=new BRc;b=_.x(b,1,a.minSize);return _.x(b,
2,a.maxSize)},HYc=function(a){var b=new uRc;b=_.x(b,1,a.trueLabel);return _.x(b,2,a.falseLabel)},IYc=function(a){var b=new CRc;b=_.x(b,1,a.maxEntries);a=GYc(a.options);return _.R(b,2,a)},JYc=function(a){var b=new wRc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canSelect)},KYc=function(a){var b=new yRc;zRc(b,(a.choices||[]).map(function(c){var d=(new xRc).Id(c.label).jc(c.value);c.capabilities&&d.ln(JYc(c.capabilities));c.displayHints&&(c=DYc(c.displayHints),_.R(d,4,c));return d}));return b},LYc=function(a){var b=
new ARc;b=_.x(b,1,a.maxEntries);a=KYc(a.options);return _.R(b,2,a)},MYc=function(a){var b=new ERc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},NYc=function(a){var b=new FRc;b=_.x(b,1,a.maxEntries);a=MYc(a.options);return _.R(b,2,a)},OYc=function(a){var b=new IRc;a=_.x(b,1,a.maxEntries);b=new HRc;return _.R(a,2,b)},PYc=function(a){var b=(new _.ima).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},QYc=function(a){var b=new JRc;b=_.x(b,4,a.dateFormat);
var c=PYc(a.minValue);b=_.R(b,2,c);a=PYc(a.maxValue);return _.R(b,3,a)},RYc={BOOLEAN:1,TEXT:2,TEXT_LIST:3,LONG_TEXT:4,SELECTION:5,SELECTION_LIST:6,INTEGER:7,INTEGER_LIST:8,USER_SCOPED:9,USER:10,USER_LIST:11,DATE:12,DATE_STRING:12},SYc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},TYc=function(a,b){this.H=a;this.V=b},VYc=function(a,b,c){_.kP(["drive#categoryMetadataList"],c);var d=new $P,e=Object.values(c.categoryMetadata||{});oSc(d,e.map(function(f){return UYc(a,
f,b.Gc())}));d.Dc(1);return new _.uP(d,NVc(c))},XYc=function(a,b){var c=new QQ;uWc(c,(b.categories||[]).map(function(d){return WYc(a,d)}));c.Dc(1);return new GUc(c,NVc(b))},UYc=function(a,b,c){_.kP(["drive#categoryMetadata"],b);c=VRc((new WP).wd(b.categoryName),c);b=Object.values(b.attributeValues||[]);URc(c,b.map(function(d){return YYc(a,d)}).filter(function(d){return d}));return c},WYc=function(a,b){var c=ZRc(YRc((new XP).wd(b.name),b.categoryName),b.latestName).setTitle(b.title).ol(b.description);
$Rc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new KRc).kc(d.id);f=_.x(f,2,d.queryGuid);f=_.x(f,3,d.helpText);f=_.x(f,4,d.displayName);if(d.attributeDisplayHints){var h=DYc(d.attributeDisplayHints);_.R(f,5,h)}d.capabilities&&f.ln(FYc(d.capabilities));_.x(f,7,RYc[e]);d=d[SYc(e)+"Options"];return ZYc(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&aSc(c,CYc(b.createdBy));b.updatedBy&&bSc(c,CYc(b.updatedBy));b.publishedBy&&cSc(c,CYc(b.publishedBy));_.x(c,9,_.mP(b.createTime));
_.x(c,10,_.mP(b.updateTime));_.x(c,11,_.mP(b.publishTime));b.displayHints&&dSc(c,DYc(b.displayHints));b.capabilities&&c.ln(EYc(b.capabilities));return c},YYc=function(a,b){_.kP(["drive#categoryAttributeValue"],b);var c=(new UP).kc(b.id);if(b.userScoped)b=Object.values(b.userScoped),SRc(c,b.map(function(d){_.kP(["drive#userScopedAttributeValue"],d);var e=new MRc,f=_.lP(a.H,d.scopedUser);e=_.R(e,1,f);return $Yc(a,e,d)?e:null}).filter(function(d){return d})),c.fw(9);else if(!$Yc(a,c,b))return null;return c},
ZYc=function(a,b,c,d){return aZc(a,function(){bZc(a)[c](b,d)},c,b)},$Yc=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.fw(RYc[d]);return aZc(a,function(){cZc(a)[d](b,c[c.valueType])},c.valueType)},aZc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof GRc))return PQc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},bZc=function(a){return{BOOLEAN:function(b,c){return b.PIa(HYc(c))},
TEXT:function(b,c){return b.p1(GYc(c))},TEXT_LIST:function(b,c){return b.IJa(IYc(c))},LONG_TEXT:function(b,c){var d=new DRc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.xj(b,10,SP[0],c)},SELECTION:function(b,c){return b.tJa(KYc(c))},SELECTION_LIST:function(b,c){return b.sJa(LYc(c))},INTEGER:function(b,c){return b.bJa(MYc(c))},INTEGER_LIST:function(b,c){return b.aJa(NYc(c))},USER:function(b){return b.MJa(new HRc)},USER_LIST:function(b,c){return b.Yaa(OYc(c))},DATE:function(b,c){return b.Laa(QYc(c))},
USER_SCOPED:function(b,c){var d=new GRc;d=_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,RYc[e]);c=c[SYc(e)+"Options"];ZYc(a,d,e,c);return _.xj(b,16,SP[0],d)}}},cZc=function(a){return{BOOLEAN:function(b,c){return b.aqa(c)},TEXT:function(b,c){return b.xqa(c)},TEXT_LIST:function(b,c){return b.q1(c)},LONG_TEXT:function(b,c){return ORc(b,c)},SELECTION:function(b,c){return b.pqa(c)},SELECTION_LIST:function(b,c){return b.o1(c)},INTEGER:function(b,c){return b.gqa(parseInt(c,10))},INTEGER_LIST:function(b,
c){return b.b1(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return PRc(b,_.lP(a.H,c))},USER_LIST:function(b,c){QRc(b,c.map(function(d){return _.lP(a.H,d)}))},DATE_STRING:function(b,c){return RRc(b,c)}}},dZc=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},eZc=function(a){a=a.personResponse;return mWc(new lWc,a.map(function(b){var c=b.person;b=ZNc(new FP,b.personId).wd(dZc(c));var d=c;d=void 0===d?{}:d;d=d.email;b=_.x(b,3,d?d[0].value:"");c=void 0===
c?{}:c;c=c.photo?c.photo[0]:null;d=new $Nc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.R(b,4,c)}))},fZc=function(a){this.H=a},hZc=function(a,b){_.kP(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return gZc(a,c)})},gZc=function(a,b){_.kP(["drive#teamDrive","drive#drive"],b);var c=new _.kta,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.x(c,2,d);_.x(c,1,b.backgroundImageLink);_.x(c,3,b.trusted);_.x(c,5,b.backgroundImageGridViewLink);_.x(c,6,b.backgroundImageListViewLink);
_.x(c,7,b.hidden);(d=b.categoryReferences)&&cNc(c,d.map(function(e){_.kP(["drive#driveCategoryReference"],e);var f=new _.um;return _.x(f,1,e.category)}));c=_.mIc(_.lIc(_.iIc(_.jIc(lNc(_.zM((new _.vm).kc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.MHc(_.aLc(b.capabilities),!0),c.ln(d));b.permissionsSummary&&_.kIc(c,_.xLc(a.H,b.permissionsSummary));b.restrictions&&eNc(c,iZc(b.restrictions));return c},iZc=
function(a){var b=new _.ita;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},jZc=function(a){_.kP(["drive#setting"],a);var b=new _.Ra;b=_.x(b,2,a.key);b=_.x(b,1,_.dGc[a.namespace]);return _.Dva(new _.$n,b).jc(a.value)},kZc={active:1,archived:2},lZc=function(a){_.kP(["drive#workspace"],a);var b=(new _.WB).kc(a.id).setTitle(a.title);b=_.x(b,3,_.mP(a.createdDate));return _.x(b,4,_.mP(a.modifiedDate)).Od(kZc[a.state])},
mZc=function(a){_.kP(["drive#workspaceList"],a);var b=a.items||[];b=oWc(new PQ,b.map(function(c){return lZc(c)}));return new _.xP(b,NVc(a))},nZc=function(a,b,c){var d=c.item||[];return _.$Fc(new _.jN,d.map(function(e){return gYc(a,b,e)})).setSessionId(yYc(c))},oZc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return FSc(DSc(ESc(CSc(new cQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return gYc(a,b,f)})),YQ(c))},pZc=function(a,b,c){var d=c.item||[];return ISc(new dQ,
d.map(function(e){return oZc(a,b,e)})).setSessionId(yYc(c))},qZc=function(a){var b=new rRc;a.kind&&(a=lZc(a),_.R(b,2,a));b.Dc(1);return b},rZc=function(a,b,c,d,e,f){this.W=a;this.Ba=b;this.wa=c;this.ta=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0},sZc=function(a){var b=new _.SQ;b.Dc(a.V);a.H&&_.zWc(b,a.H?_.Dj(a.H):null);return b},uZc=function(a,b,c,d){d=void 0===d?!1:d;var e=_.fGc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.$M(a.W)){var h=(h=b&&b.getUser())&&_.iG(h);h=!(!h||
!tZc(a.Ba,h));a.V=h&&e||d?1:6}f=!_.Cj(a.H,b)||(_.$M(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.$M(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Dj(b);_.$M(a.W)||(a.V=e||d?1:6);c&&(AQ(a.wa,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};rZc.prototype.Ne=function(){return this.ha};var vZc=function(){_.O.call(this);this.H=Date.now()};_.I(vZc,_.O);
var wZc=function(a){a.H=Date.now();a.dispatchEvent("Jb")},xZc=function(a){_.O.call(this);this.wa=a;this.ha=0};_.I(xZc,_.O);var yZc=function(a){a=_.Dj(a);var b=function(c){return c.toLowerCase()};zSc(a,_.y(a,4).map(b));ASc(a,_.y(a,5).map(b));return a};_.g=xZc.prototype;_.g.jma=function(){};_.g.cEa=function(){};_.g.remove=function(){};_.g.ima=function(){};_.g.hy=function(){return 0!=this.ha};_.g.Ne=function(){return this.ha};
var zZc=function(a,b,c){xZc.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.I(zZc,xZc);zZc.prototype.jma=function(){var a=new MQ;if(!_.gf(this.H)){_.x(a,4,this.V||[]);var b=[];_.$e(this.H,function(c){b.push(_.Dj(c))});_.yj(a,2,b)}a.Dc(this.W);return a};zZc.prototype.cEa=function(a){this.H[a.getId()]=yZc(a);this.ka.update(1);this.dispatchEvent(new _.Qg("Kb",this))};zZc.prototype.remove=function(a){_.hf(this.H,a)&&this.ka.update(1)};
zZc.prototype.ima=function(a,b,c){c=void 0===c?!1:c;var d=!_.gGc.has(b);1==this.W&&d||(this.ha=b,AZc(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),AQ(this.wa,"nVUlO")))};
var AZc=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.y(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.ya(f);d=f.length!=a.V.length}a.V=e;var h=_.kf(a.H);_.kN(a.H);b=_.vj(b,_.bQ,2);d||(d=b.length!=_.df(h));b.forEach(function(k){var l=yZc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Cj(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.Qg("Kb",a))},BZc=function(a,b,c){_.O.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.bm=this.ha=null;this.W=!1};_.I(BZc,_.O);var DZc=function(a){if(a.ha)return a.ha;var b=_.Sh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);CZc(a,b);return b.promise};BZc.prototype.wa=function(){1==this.H&&(EZc(this,"Became unauthenticated."),this.H=!1,this.W=!0,FZc(this))};BZc.prototype.Ba=function(){0==this.H&&(EZc(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.bm&&(_.m.clearTimeout(this.bm),this.bm=null),this.dispatchEvent(new qRc("ta")))};
var FZc=function(a){a.V||(a.V=new _.WLc(5E3),a.bm=_.m.setTimeout(function(){return GZc(a)},a.V.tb()))},GZc=function(a){CZc(a);a.V&&(_.DH(a.V),a.bm=_.m.setTimeout(function(){return GZc(a)},a.V.tb()))},CZc=function(a,b){_.Oh().then(function(){return HZc(a,b)})},HZc=function(a,b){EZc(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.iHc)});b?c.then(function(){b.resolve(BWc(new AWc,1))},function(d){var e=_.wN(d).qg;d=0;_.aFc(e)?(EZc(a,"Checked authentication state: unauthenticated."),
d=2):(EZc(a,"Checked authentication state: error occurred."),_.oq(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new AWc;BWc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.wN(d);_.aFc(d.qg)&&a.W&&(a.dispatchEvent(new qRc("ua")),a.W=!1)})},EZc=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},ZQ=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ba=0},$Q=function(a){a.V=!1;a.dEa()};_.g=ZQ.prototype;
_.g.Nia=function(a,b){var c=this;if(5==this.oC(a))throw Error("jf");var d=[];_.Ga(this.ty(),function(e){HQ(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.m_=function(){return this.ty().length};_.g.eT=function(a){a=this.Nia(a,void 0);a=EP(a);var b=new _.YB;b.gw(a);b.Dc(this.L8()?6:1);return b};_.g.update=function(a){var b=this.lD(a.V),c=this.lD(a.H);if(!b&&!c)return!1;b&&this.FW(a.V);c&&this.cka(a.H);return!0};_.g.oC=function(a){return this.V&&this.ha?xVc(a)?1:5:5};
_.g.ZS=function(){this.ha=!0};_.g.lD=function(a){return!!a&&this.V};_.g.Pw=function(a){this.Ba=a};_.g.Ne=function(){return this.Ba};var aR=function(a,b,c,d,e,f){ZQ.call(this,a,b);this.Ja=c;this.hc=CQ(c,d,!0);this.H=[];this.ka={};this.W=!e;IZc(this,e);this.wa=(0,_.K)(this.ta.compare,this.ta,this.hc);this.Ga=f||""};_.I(aR,ZQ);_.g=aR.prototype;_.g.hd=function(){return this.hc};
_.g.cka=function(a){var b=this.ka[a.getId()];b&&this.FW(b);XMc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.hc.lh()&&(this.FW(_.ba(this.H)),this.W=!1)};_.g.FW=function(a){var b=this.H,c=_.Ba(b,a,this.wa);0<=c&&_.ma(b,c);_.hf(this.ka,a.getId());a.H--};_.g.dEa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.ty=function(){return this.H};_.g.oC=function(a){var b;if(b=this.Ja.equals(this.hc,a,!0))a=a.Oh(),b=this.hc.Oh(),b=jNc(b,a,!0);return b?this.W?1:6:5};
_.g.Nia=function(a,b){if(5==this.oC(a))throw Error("jf");b=b?Math.min(b,this.H.length):this.H.length;return _.ua(this.H,0,b)};_.g.lD=function(a){if(!ZQ.prototype.lD.call(this,a)||!HQ(this.ma,this.hc,a.getItem()))return!1;if(this.W||_.A(this.hc,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.wa(a,b)};_.g.L8=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.Pz=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ea(a,function(e){return e.getId()==d.getId()})&&(b?(this.FW(d),IZc(this,_.ba(a))):this.W=!0);_.Ga(a,function(e){c.update(VQ(e))})};var IZc=function(a,b){b&&HQ(a.ma,a.hc,b.getItem())&&a.cka(b)};aR.prototype.DF=function(){return this.Ga};var bR=function(a){_.N.call(this);this.context=a;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.ma=new Set;this.H=6;this.Qa=0};_.I(bR,_.N);
var KZc=function(a,b){a.ma.add(b);a.resize(!0);JZc(a,b)},LZc=function(a,b){a.ma.delete(b);0!=a.ma.size||a.sCa()?a.resize(!1):a.dispose()};bR.prototype.Ne=function(){return this.Qa};bR.prototype.Pw=function(a){this.Qa=a};bR.prototype.refresh=function(){};bR.prototype.eT=function(){};
var NZc=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Dj(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Dj(e):null}c=Object.values(c).filter(function(f){return null!=f})}MZc(a.context.V,c,b);d=c.filter(function(f){return!GQ(f)});gNc(b,d);c.forEach(function(f){_.DLc(a.context.Tv,f,b);if(f.wc()){var h=f.getCapabilities();GQ(f)?h&&(_.LHc(h,_.F(h,13)),_.JHc(h,!1),_.PHc(h,!1)):_.AN(f)?(h&&_.x(h,3,!1),_.x(f,30,!1)):h&&(_.THc(h,!1),_.UHc(h,!1))}f.getCapabilities()||f.ln(new _.pm)})};
bR.prototype.resize=function(){};bR.prototype.hd=function(){};bR.prototype.Pz=function(a,b){var c=this,d=!1;a.forEach(function(e){e=VQ(e);d=c.ZN(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&OZc(this)};var PZc=function(a,b){var c=!1;b.forEach(function(d){c=a.ZN(d)||c});c&&OZc(a);return c};bR.prototype.update=function(a){return PZc(this,[a])};bR.prototype.ZN=function(){};var OZc=function(a){a.Ga();a.ma.forEach(function(b){JZc(a,b)})};bR.prototype.Ga=function(){};
var JZc=function(a,b){var c=cR(a.context);c=QZc(c,b).hd();a.Ja(c)||(c=a.eT(c),a=cR(a.context),a.Ba[b]=c,a.V||(a.V=_.Wh(a.ka,50,a)))},RZc=function(a,b){a.H=3;a.ma.forEach(function(c){var d=cR(a.context);d.Ga[c]=b;d.V||(d.V=_.Wh(d.ka,50,d))})},SZc=function(a){a.ma.forEach(function(b){(b=cR(a.context).ha[b])&&b.nJ()});a.Pw(0==a.Ne()?1:6)};bR.prototype.sCa=function(){return!1};bR.prototype.Ja=function(){return!1};var TZc=function(a){_.Qg.call(this,"Fb");this.id=a};_.I(TZc,_.Qg);
var UZc=function(a,b,c,d){d=void 0===d?!1:d;_.O.call(this);this.hc=a;this.wa=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ta=[];this.ma=[];this.W=null;this.Ga=d};_.I(UZc,_.O);
var YZc=function(a){if(a.V)return a.V.promise;a.V=_.Sh();a.hc.Ol().forEach(function(b){var c=_.Zn(_.Dj(a.hc),[b]),d;a.Ga&&(d={vnb:!0});a.H.tm().then(function(e){return e.H(c,d)}).then(function(e){return void VZc(a,e)},function(e){e=_.wN(e);if(5==e.qg.Sr()||4==e.qg.Pi())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),WZc(a);else{var f=new KQ(e.qg,_.D(a.H.H.hf(),1,1));XZc(a.H.V,a.hc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
VZc=function(a,b){b.gr().zd().forEach(function(c){_.x(c,82,1);a.ta.push(c)});WZc(a)},WZc=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};UZc.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;ZZc(this);$Zc(this);this.ha.size==this.hc.Ol().length?(GP(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var ZZc=function(a){var b=a.ta;a.ta=[];b=a.H.Wf.nX(b);if(_.KM(a.H.H.Se())){var c=a.H.V.V;_.Ga(b,function(d){var e=c.H(d.getId());e&&_.QO(d,e.Uh())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});GP(a.H.V,b,1,a.wa,!0)},$Zc=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.lN(_.hN(new _.gN,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new TZc(c))})},a_c=function(a,b,c,d){bR.call(this,a);this.ha=b;this.hc=c;this.V={};this.W=_.ZM(a.H)||new _.bFc;d&&this.Pz(d,!0)};
_.I(a_c,bR);
a_c.prototype.refresh=function(){var a=this;this.H=6;if(_.A(this.hc,5,!1))return this.H=1,_.Oh();var b=!jNc(_.iP(this.ha),this.hc.Oh()),c=[],d=this.context.uq();this.hc.Ol().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=BP(n)||b)n=n&&n.Ql(),l=!(n&&_.F(n,2));l&&c.push(k)}});if(0==c.length)return this.Pz([],!1),_.Oh();var e=this.hc.clone();_.Zn(e,c);var f=new UZc(e,this.context,this.hc),h=_.Sh();this.context.ka.Ef()?(this.Rd.listen(this.context.ka,"Cb",function(k){k.Ef()||
(a.Rd.Pc(a.context.ka,"Cb"),b_c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Rg.Ef()&&(this.H=0<Object.values(this.V).length?1:2),b_c(this,f,h));return h.promise};var b_c=function(a,b,c){a.Rd.listen(b,"Fb",function(d){a.V[d.id]=null});SZc(a);YZc(b).then(function(){c.resolve()},c.reject)};_.g=a_c.prototype;
_.g.w4=function(a){var b=this;return this.context.ma.equals(a,this.hc)?_.A(this.W,5,!1)&&_.A(this.W,3,!1)?a.Ol().every(function(c){return(c=b.V[c])&&_.F(c.getItem(),31)}):jNc(_.iP(this.ha),a.Oh()):!1};_.g.eT=function(a){var b=new _.qP;_.$M(this.context.H)?b.Dc(sNc(Object.values(this.V))?6:this.H):b.Dc(this.H);fSc(b,this.Ne());gSc(b,_.bf(this.V,function(c){return c?c.getItem():null}));NZc(this,a.Oh(),b.Ts());return b};_.g.resize=function(){};_.g.hd=function(){return this.hc};
_.g.ZN=function(a){var b=c_c(this,a.V),c=c_c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};var c_c=function(a,b){return!!b&&_.ha(a.hc.Ol(),b.getId())},d_c=function(a,b){_.Qg.call(this,a);this.changes=b};_.I(d_c,_.Qg);var e_c=function(){this.wa=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};e_c.prototype.getSessionId=function(){return this.ta};e_c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
e_c.prototype.uc=function(){return this.H};
var f_c=function(a){var b=new e_c;if(a.jF()){var c=a.jF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.QW()&&(c=a.QW(),b.H=!1,b.wa=c);a instanceof _.rP&&_.vj(a,_.ok,6).length?(a=_.vj(a,_.ok,6),b.H=!1,b.ha=a):a instanceof _.YB&&(a.PW()||a.Bga()||a.V6().length)&&(c=a.PW(),b.H=!1,b.ma=c,c=a.Bga()||!1,b.H=!1,b.V=c,a=a.V6(),b.H=!1,b.W=a);return b},dR=function(a,b,c,d,e){e=void 0===e?"":e;_.O.call(this);this.context=a;this.Ja=a.W;this.request=b;this.nextPageToken=e;this.W=0;this.wa=
!1;this.V=[];this.ma=new Set;this.H=!1;this.ka=0;this.ta=c||!1;this.Ga=d||!1;this.Ba=this.Moa(b);this.ha=new e_c};_.I(dR,_.O);var g_c=function(a){return!a.wa||""!=a.nextPageToken},i_c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&g_c(a)?h_c(a):_.Oj()};dR.prototype.$b=function(){return this.V.length};
var h_c=function(a){var b=a.W-a.V.length+a.ka;a.Ja.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=new _.Hj;c.mb(a.D2a,a);var d=_.zGc(_.AGc(new _.IM,a.Ba),a.nextPageToken);b=_.xGc(new _.ADc,b);a.Ga&&_.x(b,10,!0);_.yGc(d,b);a.wa=!0;a.H=!0;a.context.tm().then(function(e){return e.H(d)}).then(a.iEa.bind(a,c),a.hEa.bind(a,c,b));return c};_.g=dR.prototype;
_.g.iEa=function(a,b){this.H=!1;if(b instanceof _.rP)var c=b;else c=b.gr(),this.nextPageToken=b.Jm()||"";this.ha=f_c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.zd())};
_.g.hEa=function(a,b,c){c=_.wN(c);this.H=!1;if(5==c.qg.Sr())a.callback([]);else{if(10==c.qg.Sr()&&(_.xGc(b,Math.ceil(_.D(b,1,1E3)/2-2E-15)),1<_.D(b,1,1E3))){var d=_.yGc(_.zGc(_.AGc(new _.IM,this.Ba),this.nextPageToken),b);this.H=!0;this.context.tm().then(function(e){return e.H(d)}).then(this.iEa.bind(this,a),this.hEa.bind(this,a,b));return}b=new KQ(c.qg,_.D(this.context.H.hf(),1,1));this.gEa(b);this.dispatchEvent(b);a.Bd(c)}};
_.g.D2a=function(a){for(var b=this,c=new Set,d=_.p(a),e=d.next();!e.done;e=d.next()){e=e.value;if(c.has(e.getId())){e=_.oq(_.mq(_.VM(_.UM(new _.ob,2),9),"Encountered duplicate item in server query response"));this.context.dispatchEvent(new _.qb(new _.pb("Encountered duplicate item in server query response",e)));break}c.add(e.getId())}e=a.filter(function(f){var h=b.ma.has(f.getId());b.ma.add(f.getId());return!h});this.ka+=a.length-e.length;a=_.p(e);for(c=a.next();!c.done;c=a.next())_.x(c.value,82,
this.ta?2:1);a=[];c=_.p(this.pHa(e));for(e=c.next();!e.done;e=c.next())e=e.value,this.V.push(e.getId()),e=_.hN(new _.gN,e.getId()).setItem(e),a.push(e);a.length&&this.dispatchEvent(new d_c("Eb",a));if(this.V.length<this.W&&this.nextPageToken)return h_c(this);this.dispatchEvent("Hb")};_.g.pHa=function(a){return a};_.g.gEa=function(){};_.g.hd=function(){return this.request};_.g.Moa=function(a){a=_.Dj(a);this.ta&&_.x(a,46,!0);return a};var eR=function(a,b,c,d){dR.call(this,a,b,void 0,c,d)};_.I(eR,dR);
eR.prototype.pHa=function(a){a=this.context.Wf.nX(a);GP(this.context.V,a,1,this.request,g_c(this));return a};eR.prototype.gEa=function(a){XZc(this.context.V,this.request,a)};eR.prototype.Moa=function(a){var b=a=dR.prototype.Moa.call(this,a),c=_.CO(b);0==_.y(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].tb()))&&(c=c.wc())&&(_.sN(b,[c]),_.x(b,45,2));j_c(this,a);return a};
var j_c=function(a,b){if(_.CO(b).some(function(d){return(d=a.context.V.V.H(d.tb()))&&_.F(d,108)})){var c=b.ke();c||(c=new _.pe,_.xk(b,c));_.qe(c,937)}},k_c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.wa=d;this.W=0},m_c=function(a){var b=_.oc(a.ta);b=b.filter(function(d){return d instanceof a_c});var c=new Set;b.forEach(function(d){d.hd().Ol().forEach(function(e){a.wa.get(e)||c.add(e)})});b=_.qe(new _.pe,310);l_c(a,"Re-querying missing find-by-ids :"+c.size);a.H(_.mc(c).concat(),b)},o_c=function(a,
b){var c=[];(a.V.V.Qa.H[b||"subscribed"]||[]).forEach(function(d){_.$e(a.ta,function(e){_.Cj(e.hd(),d)&&c.push(e)})});_.ya(c);0<c.length&&(n_c(a),c.forEach(function(d){d=DQ(a.V.ma,d.hd(),3);l_c(a,"Refreshing "+b+" cache: "+d)}),_.Th(_.Qh(c.map(function(d){return d.refresh().Vf(_.Ie)})),a.ha.bind(a)))};
k_c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Bc(e)});if(0==a.length)return _.Oh({});a=_.x(_.Yn(_.Zn(new _.Xn,a),d||_.iP(this.ma)),7,!0);_.Cva(a,b);n_c(this);b=new UZc(a,this.V,void 0,c);return _.Th(YZc(b),this.ka.bind(this,b))};k_c.prototype.ka=function(a){a.dispose();this.ha()};var n_c=function(a){a.W++;a.V.wa.setActive(!1)};k_c.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var l_c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},p_c=function(a,b,c){_.N.call(this);this.ma=a;this.H=b;this.hc=c;a=new _.pe;_.se(a,!1);_.qe(a,305);_.xk(this.hc,a);this.ha=new _.Xd(this);this.Pa(this.ha);this.W=this.V=null};_.I(p_c,_.N);
var q_c=function(a){if(!a.V){a.V=_.Sh();if(_.A(a.hc,48,!1))return a.H.Pw(9),a.V.resolve(a.H),a.V.promise;a.W=new dR(a.ma,a.hc,!0);a.ha.listen(a.W,"Eb",a.ka);a.ha.listen(a.W,"Hb",a.ta.bind(a));a.ha.listen(a.W,"Ib",a.V.reject.bind(a.V));i_c(a.W,a.hc.lh())}return a.V.promise};p_c.prototype.ka=function(a){var b=this;_.Ga(a.changes,function(c){c=c.getItem();b.H.update(VQ(new yQ(c)))})};p_c.prototype.ta=function(){this.H instanceof aR?this.H.W=!g_c(this.W):g_c(this.W)&&$Q(this.H);this.H.Pw(5);this.V.resolve(this.H)};
var fR=function(a,b){ZQ.call(this,a,b);this.H={}};_.I(fR,ZQ);fR.prototype.cka=function(a){this.H[a.getId()]=a;a.H++};fR.prototype.FW=function(a){_.hf(this.H,a.getId());a.H--};fR.prototype.dEa=function(){_.$e(this.H,function(a){a.H--});this.H={}};fR.prototype.ty=function(){return Object.values(this.H)};var gR=function(a,b,c,d,e){fR.call(this,a,b);var f=this;this.W=e;zQ(c,["aU7Ts","BNEDtc"],function(){return f.ZS()})};_.I(gR,fR);
gR.prototype.oC=function(a){var b=this,c=fR.prototype.oC.call(this,a);if(5==c)return c;if(0<_.y(a,33).length)return 5;a=_.CO(a);return 0<a.length&&!a.every(function(d){d=b.H[d.tb()];return null!=d&&!d.getItem().wc()&&oNc(d.getItem())&&!_.F(d.getItem(),108)})?5:1};gR.prototype.lD=function(a){return fR.prototype.lD.call(this,a)&&r_c(this,a.getItem())};var r_c=function(a,b){if(_.F(b,31)||!a.ha)return!0;var c=a.W();return b.Uh().some(function(d){var e=a.H[d];return d==c||null!=e&&oNc(e.getItem())})};
gR.prototype.ZS=function(){var a=this;fR.prototype.ZS.call(this);_.$e(this.H,function(b){r_c(a,b.getItem())||(b.H--,_.hf(a.H,b.getId()))})};gR.prototype.hd=function(){return new _.he};gR.prototype.getType=function(){return"SubscribedCorpusCache"};gR.prototype.L8=function(){return!1};var hR=function(a,b,c){fR.call(this,a,b);this.W=c};_.I(hR,fR);_.g=hR.prototype;
_.g.oC=function(a){var b=this,c=fR.prototype.oC.call(this,a);if(5==c)return c;c=_.CO(a);var d=c.every(function(e){var f=e.tb();return(null!=b.H[f]||b.W==f)&&!_.A(e,2,!1)});if(0<c.length&&d)return 1;a=_.y(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.lD=function(a){return fR.prototype.lD.call(this,a)&&!!a&&a.getItem().wc()==this.W&&!GQ(a.getItem())};_.g.L8=function(){return!1};_.g.hd=function(){var a=new _.he;_.sN(a,[this.W]);_.x(a,45,2);return a};_.g.wc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var s_c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.he;_.x(a,48,!0);var b=new _.Wb;_.Yb(b,11);_.Zb(b,2);_.ie(a,b);this.ka=CQ(this.ha,a,!0)};s_c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof gR?b.H=c:c instanceof aR?b.W.push(c):c instanceof hR&&b.V.push(c)})};
s_c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof gR)b.H&&($Q(b.H),b.H=null);else if(c instanceof aR){var d=_.da(b.W,function(e){return b.ha.equals(e.hd(),c.hd())});0<=d&&($Q(b.W[d]),_.ma(b.W,d))}else c instanceof hR&&(d=_.da(b.V,function(e){return b.ha.equals(e.hd(),c.hd())}),0<=d&&($Q(b.V[d]),_.ma(b.V,d)))})};
var t_c=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},u_c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Dj(c.hd()),_.x(c,32,void 0),c.KB([]),!_.Cj(a.ka,c)):!0})},v_c=function(a,b){return _.Re(a.V,function(c){return c.wc()==b})},w_c=function(a,b){return u_c(a).find(function(c){return a.ha.equals(c.hd(),CQ(a.ha,b,!0))})},x_c=function(){this.H={}},iR=function(a,b){y_c(a,"subscribed");b&&y_c(a,b);return a.H[b||"subscribed"].zk.promise},
y_c=function(a,b){a.H[b]||(a.H[b]={count:0,ICa:[],qHa:[],zk:_.Sh()});a.H[b].count++},A_c=function(a,b){b&&!z_c(a,b)||z_c(a,"subscribed")},z_c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].zk.resolve({items:a.H[b].ICa,cgb:a.H[b].qHa}),_.hf(a.H,b));return!0};x_c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.wc();f&&f==e.Gc()&&c.H[f]&&c.H[f].qHa.push(e);c.H[d]&&c.H[d].ICa.push(e)})};
var B_c=function(a,b){_.Qg.call(this,"Lb");this.He=a;this.H=b};_.I(B_c,_.Qg);var C_c=function(a,b){return new _.Nh(function(c,d){b.then(function(e){var f={};a.ty().forEach(function(h){var k=h.getId();MNc(h.getItem());f[k]=new yQ(h.getItem())});e.items.forEach(function(h){var k=h.Gc();k=f[k];h.rz()?k&&a.update(new SWc(k.getId(),k,null)):(h=h.getItem(),MNc(h),a.update(TWc(k,new yQ(h))))});a.ZS();c(e.cgb)},d)})},D_c=function(a,b){_.N.call(this);this.H=a;this.V=b};_.I(D_c,_.N);
var K_c=function(a){var b=_.m._DRIVE_ivd;E_c(a,"Running initial view populator (IVDP).");try{var c=new wQ(JSON.parse(b))}catch(t){F_c(a,"Error parsing initial view dump.",t);return}b=a.H.H.Se();if(!_.KM(b)){var d=_.C(c,_.lC,8);if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&uZc(a.H.tc,d,4)}(b=c.uq())&&G_c(a.H,b,6)}var f=c.Qx()||void 0;f&&H_c(a.H,f,!0);if((b=c.yw())&&b.length){d=(d=a.H.H.hf())&&_.y(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.ao(t))&&h.add(t)});I_c(a.H.Ma,
b,4,_.mc(h.values()).concat())}b=c.zd();b.forEach(function(t){_.TGc(t);_.x(t,82,6)});if(d=_.vj(c,vQ,5)[0])if(c=a.H.ma,nNc(_.iP(a.V),d.getQuery().Oh(),_.FO(a.H.H)))if((e=d.getQuery().ve())&&4==e.getType()&&!uNc())F_c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=CQ(c,d.getQuery());var k=_.y(d,2)||void 0;e.Ki(k);k=b.map(function(t){return new yQ(t,void 0,1,f)});var l=_.C(d,_.vm,3);if(l&&_.y(d,2)){var n=k[k.length-1];_.x(l,82,6);if(!_.Cj(l,n.getItem())){F_c(a,"Invalid last item in initial view data.");
return}}d=(l=_.ZM(a.H.H))&&_.A(l,2,!1)&&d.Jm()||"";var q=new aR(a.H.Ka,a.H.Wa,a.H.ma,e,n,d);q.Pw(4);k.forEach(function(t){q.update(VQ(t))});J_c(a.H.V,q);n=q.hd();E_c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+DQ(c,n));c=new _.IM;_.AGc(c,n);n=_.TKc(a.H.Qa,c,"IVDP");_.UKc(n,b);AQ(a.H.ha,"W6J7De")}}else F_c(a,"Invalid initial view data, fields: "+UUc(c,d.getQuery().Oh()));else F_c(a,"No initial query found")},F_c=function(a,b,c){var d=
c?void 0:_.oq(_.VM(_.UM(new _.ob,2),6));c=new _.pb(b,d,c);a.H.rb(c.qg);E_c(a,"Initial view dump population failed. Message: "+b);AQ(a.H.ha,"DEJoH")},E_c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},L_c=function(a){_.O.call(this);this.context=a;this.V=new gR(a.Ka,a.Wa,a.ha,a.H,function(){return a.uq()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.I(L_c,_.O);
var M_c=function(a,b){var c=_.D(a.context.H,31,2E4);("number"===typeof _.y(b,3)?_.y(b,3):c+1)>c?($Q(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Qa.jc("CachedCorpusType",b)};L_c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var N_c=function(a,b){0==a.W&&(a.W=b)},O_c=function(a,b){_.O.call(this);this.V=a;this.hc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.I(O_c,_.O);
var Q_c=function(a){return a.W||a.ha&&""==a.H?_.Oj():P_c(a)};O_c.prototype.$b=function(){return this.ka.length};
var P_c=function(a){a.ha=!0;a.W=!0;var b=pQc(qQc(new _.sO,a.hc),a.H),c=_.TKc(a.V.Qa,b);return _.Pj(a.V.tm().then(function(d){return d.H(b)}).then(function(d){var e=d.gr().zd();a.H=d.Jm()||"";R_c(a,c,e)},function(d){a.W=!1;d=new KQ(_.WM(d),_.D(a.V.H.hf(),1,1));a.dispatchEvent(d)}))},R_c=function(a,b,c){_.UKc(b,c);for(b=0;b<c.length;b++)_.x(c[b],82,1);GP(a.V.V,c,1,a.hc,!a.ha||""!=a.H);var d=[];_.Ga(c,function(e){this.ka.push(e.getId());e=_.hN(new _.gN,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new d_c("Eb",
d));a.H?P_c(a):(a.W=!1,a.dispatchEvent("Hb"))};O_c.prototype.hd=function(){return this.hc};var S_c=function(a){this.H=HUc(a,{numeric:!0})};S_c.prototype.sort=function(a){_.Ca(a,this.V.bind(this))};S_c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.za(a.getId(),b.getId()):c};
var jR=function(a,b,c,d){d=void 0===d?!1:d;bR.call(this,a);this.ka=b;this.hc=_.Dj(c);this.ha=new O_c(a,this.hc);this.ta=new S_c(MP(a.H.Se()));this.W=[];_.od(this,this.uRa,this);this.V=null;d&&(this.V=_.Sh(),this.V.resolve())};_.I(jR,bR);jR.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return T_c(this)};
var T_c=function(a){if(a.V)return a.V.promise;a.V=_.Sh();a.context.ka.Ef()?a.Rd.listen(a.context.ka,"Cb",function(b){b.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),SZc(a),Q_c(a.ha).xf(a.V.resolve,a.V.reject,a.V))}):(SZc(a),Q_c(a.ha).xf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=jR.prototype;_.g.resize=function(){};_.g.hd=function(){return this.hc};_.g.ty=function(){return this.W};_.g.w4=function(a){return this.context.ma.equals(a,this.hc)};
_.g.eT=function(a){a=a.lh();this.ta.sort(this.W);var b=EP(_.ua(this.W,0,Math.min(a,this.W.length)));NZc(this,VQc(this.ka),b);var c=new _.YB;c.gw(b);c.Dc(1==this.H||a<=this.W.length?1:this.context.ka.Ef()||this.context.Rg.Ef()?0<this.W.length?1:2:6);c.RW(this.Ne());XPc(c,a<this.W.length||!(this.context.ka.Ef()||this.context.Rg.Ef())&&1!=this.H);return c};_.g.Pz=function(a,b){this.V&&bR.prototype.Pz.call(this,a,b)};
_.g.ZN=function(a){if(!this.V)return!1;var b=a.id,c=_.ea(this.W,function(h){return h.getId()==b}),d=!!c,e=U_c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?V_c(this,f,a.H):W_c(this,f):X_c(this,a.H);else return!1;return!0};var X_c=function(a,b){a.W.push(b);b.H++},W_c=function(a,b){_.na(a.W,b);b.H--},V_c=function(a,b,c){a.W[_.fa(a.W,b)]=c;c.H++;b.H--},U_c=function(a,b){if(b){var c;if(c=GQ(b.getItem()))if(a=a.hc,b=b.getItem(),c=!!b&&!!b.Sj())a=a.Cl(),c=null==a||!!b.Sj().Cl()==a;b=c}else b=!1;return b};
_.g=jR.prototype;_.g.uRa=function(){this.W.forEach(function(a){a.H--})};_.g.sCa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.m_=function(){return this.W.length};_.g.ZS=function(){this.H=1};
var Y_c=function(a){this.H=a},$_c=function(a,b){return Z_c(a,b,null,0,5)},Z_c=function(a,b,c,d,e){if(0==e||null==b){var f=new vWc;_.x(f,2,b);_.x(f,1,d);return _.Oh(f)}var h=GSc();_.x(h,2,b);c&&_.x(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.DF();k=d+_.y(k,1);return Z_c(a,l,c,k,e-1)})},a0c=function(){this.qc=[];this.V=this.H=0};
a0c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.qc,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.V=c};var b0c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.qc,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.V=e},c0c=function(a){this.W=a;this.V=new $Vc(new aWc,_.cka(a));this.H=new aWc};
c0c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.dka(b);c=d0c(this,a);return b.concat(c,e0c(this,b,a,!0))};
var f0c=function(a,b){var c=e0c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=d0c(a,c);if(b!=a)throw Error("kf");return c},d0c=function(a,b){a=a.V;b=eRc(b);a.reset();a.update(b);b=a.digest();return _.dka(b)},e0c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new a0c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.qc,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.V=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/
8192;e++)a=eRc(c.substring(8192*e,8192*(e+1))),b0c(b,a),d+=_.dka(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.m.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;b0c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("lf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=kR(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=kR(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=kR(d,e++),k=kR(d,e++),l=kR(d,e++),f=((f&7)<<18|(h&63)<<12|(k&63)<<6|l&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(h=kR(d,e++),k=kR(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},kR=function(a,b){return a[Math.floor(b/8192)][b%8192]},g0c=function(a,b,c){this.H=a;this.W=b;this.V=c};g0c.prototype.getData=function(){return this.H};g0c.prototype.qq=function(){return this.W};
var h0c=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.ma=a;this.ka=b;this.W=c;this.V=d;this.H=_.ra(e);_.Ca(this.H);_.ya(this.H);this.MZ=f;this.ha=null;this.ta=this.wa=!1;this.Ba=void 0};h0c.prototype.ay=function(){return this.ma};h0c.prototype.mj=function(){return this.ka};h0c.prototype.Bg=function(){return _.ra(this.H)};
var lR=function(a){if(!a.ha){var b=new _.DM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.uDc(b.digest())}return a.ha},i0c=function(a){return{versionKey:lR(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.MZ}},j0c=function(a){var b=!0;b=void 0===b?!1:b;if(!a)return null;var c=a.versionInfo,d=a.versionKey;if(!c||!d)return null;a=new h0c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:lR(a)!=d&&(a=null);return a},k0c=function(a,b,c){return[a.ay(),a.mj(),
b?"#":lR(a)].join(":")+":"+(c||"")},l0c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};l0c.prototype.getKey=function(){return this.H};l0c.prototype.tb=function(){return this.V};
var m0c=function(a,b){return{k:k0c(b,a.global,a.H),v:a.V}},n0c=function(a,b){a=k0c(a,b);return sSc(a+"A",a+"z")},o0c=function(a,b){this.G2=a;this.E2=b},p0c=function(a){return a?new o0c(a.versionKey,a.versionChangeTimestamp):null},q0c=function(a,b){return a+":"+b},r0c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.WQ=void 0===e?null:e},s0c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.WQ}},t0c=function(a,b,c,d){a=lR(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Ax(":%02d",c)},u0c=function(a,b,c,d){c=t0c(a,b,void 0===c?0:c,d);a=lR(a)+"_"+b;3==b&&(a+="_"+d);return sSc(c,a+":a")},v0c=function(a){var b=lR(a)+"_";a=lR(a)+"_A";return sSc(b,a)},w0c=function(a){return a?new r0c(a.data,a.index,a.size,a.timestamp,a.e):null},x0c={eAb:"Versions",eNa:"Metadata",Mpb:"Data",wNa:"Offline"},mR=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.V=null;this.rb=a.then(function(f){e.V=f});this.hb=b;this.ma=c;this.Ga=
d;this.H=null;this.Ka=!1;this.Ja=!0;this.ha=null;this.ta=!1;this.W="";this.Lb=new _.Xd(this);this.Pa(this.Lb);this.wa=null};_.I(mR,_.N);mR.prototype.initialize=function(){return y0c(this)};
var y0c=function(a,b){a.ha||(a.ha=_.Sh(),a.rb.then(function(){b?(a.Ja=!1,z0c(a,b),A0c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),A0c(a,"Opening database GoogleDriveDs (version 2)"),_.hEc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).xf(a.Wa.bind(a),a.Ba.bind(a)),_.$h(2E4).then(a.Qa.bind(a)))},function(c){a.ha.reject(new _.pb("Database version error",void 0,_.EM(c)?c:void 0))}));return a.ha.promise},z0c=function(a,b){a.H=b;a.Lb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.Lb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};mR.prototype.Ma=function(a,b){A0c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Ga(b.H.objectStoreNames,function(c){return _.xIc(b,c)});_.$e(x0c,function(c){var d=_.hGc.get(c);_.fEc(b,c,d?{keyPath:d}:void 0)})};
mR.prototype.Ba=function(a){var b;a&&a instanceof _.MM&&"InvalidStateError"==a.getName()&&_.Oi.Fu?b=Error("mf"):_.EM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);B0c(this,!1)};mR.prototype.Wa=function(a){this.ta?a.dispose():(z0c(this,a),this.Pa(this.H),this.Ga||C0c(this).Vf(function(){}),A0c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),B0c(this,!0))};
var B0c=function(a,b){if(a.wa){var c=a.wa,d=_.C(_.oP(c),AQc,5);d||(d=new AQc,c=_.oP(c),_.R(c,5,d));d=_.x(d,1,2);d=_.x(d,2,a.V.W);d=_.x(d,5,a.V.wa);b=_.x(d,3,b);b=_.x(b,4,a.Ka);_.x(b,6,a.V.Ba);a.wa.V();a.wa=null}};mR.prototype.Qa=function(){this.H||this.kh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("nf")))};mR.prototype.ka=function(a){A0c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ja&&this.H.close())};mR.prototype.kh=function(){return this.ta};
var D0c=function(a){return a.ta?a.W:null},nR=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ga&&"readonly"!=c)return null;a=a.H;try{return _.SM(a,[b],c)}catch(d){return null}},C0c=function(a){var b=nR(a,"Versions","readwrite");if(!b)return _.Ph(Error("of"));_.$Dc(b.objectStore("Versions"),i0c(a.V));return b.wait().then(function(){})},E0c=function(a){if(!a.H)return _.Ph(Error("pf"));if(a.kh())return _.Ph(Error(a.W));var b=nR(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(lR(a.V)).then():
_.Ph(Error("qf"))},F0c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=w0c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("rf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("sf")),0;var e=d[0].size;if(!e)return b.reject(Error("tf")),0;if(e>d.length)return b.reject(Error("uf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("vf`"+e)),0;if(c&&a<c)return b.reject(Error("wf`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},H0c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Ph(Error("xf"));if(a.kh())return _.Ph(Error(a.W));var e=u0c(a.V,b,0,c),f=nR(a,"Data");if(!f)return _.Ph(Error("yf"));e=f.objectStore("Data").getAll(e);var h=_.Sh();e.xf(function(k){k=F0c(k,h,d);a.Ga||null==k||G0c(a,b,c,k).Vf(function(){})},h.reject);return h.promise},J0c=function(a,b,c,d,e){if(a.H){if(a.kh())return _.Ph(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.Ph(Error("zf"))}else return _.Ph(Error("Af"));var f=Date.now(),h=b.length;b=b.map(function(n,q){return{key:t0c(a.V,c,q,d),data:new r0c(n.getData(),q,h,f,e),metadata:n}});var k=nR(a,"Data","readwrite");if(!k)return _.Ph(Error("Bf"));var l=k.objectStore("Data");b.forEach(function(n){var q=I0c(a,c,d,n.metadata);_.$Dc(l,s0c(n.data),n.key).then(function(){if(q){var t=XQc(q);_.x(t,1,!0);q.V()}},function(t){t=t instanceof _.MM?t.code:_.IDc;if(q&&a.ma){var v=XQc(q);v=_.x(v,1,!1);t=_.pP(_.UFc,t);
_.x(v,2,t);q.V()}})});return k.wait().then(function(){})},I0c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=XQc(a);b=_.pP(_.TFc,b);b=_.x(e,3,b);c=_.pP(_.QFc,c);c=_.x(b,4,c);b=d.V;_.x(c,5,null==b?0:b?2:1);void 0!=d.qq()&&(c=XQc(a),d=d.qq(),_.x(c,6,d))}return a}return null},G0c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.kh())return _.Ph(Error(a.W));if(3==b&&void 0==c)return _.Ph(Error("Cf"))}else return _.Ph(Error("Df"));b=u0c(a.V,b,d,c);a=nR(a,"Data","readwrite");if(!a)return _.Ph(Error("Ef"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},K0c=function(a){if(!a.H)return _.Ph(Error("Ff"));if(a.kh())return _.Ph(Error(a.W));var b=v0c(a.V);a=nR(a,"Data","readwrite");if(!a)return _.Ph(Error("Gf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
mR.prototype.getMetadata=function(a){if(this.H){if(this.kh())return _.Ph(Error(this.W));if(a&&0==a.length)return _.Ph(Error("Hf"))}else return _.Ph(Error("If"));var b=this.V,c=nR(this,"Metadata");if(!c)return _.Ph(Error("Jf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(k0c(b,h.global,h.key)).then())});a=_.Qh(e)}else a=_.Qh([d.getAll(n0c(b,!1)).then(),d.getAll(n0c(b,!0)).then()]).then(function(h){return WMc(h[0],h[1])});var f=_.Sh();a.then(function(h){f.resolve(h.map(function(k){if(k){var l=
k.k.split(":"),n="#"==l[2];k=4!=l.length||!n&&l[2]!=lR(b)||l[0]!=b.ay()||l[1]!=String(b.mj())?null:new l0c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var L0c=function(a,b){if(a.H){if(a.kh())return _.Ph(Error(a.W));if(0==b.length)return _.Ph(Error("Kf"))}else return _.Ph(Error("Lf"));var c=nR(a,"Metadata","readwrite");if(!c)return _.Ph(Error("Mf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.$Dc(d,m0c(f,a.V)).then())});return _.Qh(e).then(function(){})},M0c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.kh())return _.Ph(Error(a.W))}else return _.Ph(Error("Of"));var c=a.V;a=nR(a,"Metadata","readwrite");if(!a)return _.Ph(Error("Pf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(n0c(c,!1)).then());b&&d.push(a.remove(n0c(c,!0)).then());return _.Qh(d).then(function(){})},N0c=function(a){if(!a.H)return _.Ph(Error("Qf"));if(a.kh())return _.Ph(Error(a.W));var b=q0c(a.V.ay(),a.V.mj());return(a=nR(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return p0c(c)}):_.Ph(Error("Rf"))},O0c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Ph(Error("Sf"));if(a.kh())return _.Ph(Error(a.W));var c=a.V,d=q0c(c.ay(),c.mj());
b=new o0c(lR(c),b?Date.now():void 0);a=nR(a,"Offline","readwrite");if(!a)return _.Ph(Error("Tf"));_.$Dc(a.objectStore("Offline"),{versionKey:b.G2,versionChangeTimestamp:b.E2},d);return a.wait().then(function(){})};mR.prototype.Qk=function(a){var b=this;return this.H?this.kh()?_.Ph(Error(this.W)):N0c(this).then(function(c){var d=lR(b.V);if(c)if(a){if(!c.E2&&d==c.G2&&d!=lR(a))return O0c(b,!0);if(c.E2&&d==lR(a))return O0c(b)}else{if(d!=c.G2)return O0c(b)}else if(!a)return O0c(b)}):_.Ph(Error("Uf"))};
var P0c=function(a){if(!a.H)return _.Ph(Error("Vf"));if(a.kh())return _.Ph(Error(a.W));var b=a.V,c=q0c(b.ay(),b.mj());return N0c(a).then(function(d){if(d&&(d=nR(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
mR.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.kh()?_.Ph(Error(this.W)):N0c(this).then(function(c){var d=c&&c.G2==lR(b.V);return d&&!a?!1:(c&&d?P0c(b):_.Oh()).then(function(){return _.Qh([M0c(b,a),K0c(b),E0c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Ph(Error("Wf"))};mR.prototype.close=function(){this.ka("Closing database")};
var A0c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},Q0c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.oc(x0c).every(function(c){return b&&b.contains(c)})},R0c=function(){var a=_.Sh();_.hEc("GoogleDriveDs").xf(function(b){b?Q0c(b)?a.resolve(b):(b.close(),_.Th(tSc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},S0c=function(a,b,c){var d=_.Sh();a?_.SM(a,["Versions"],"readonly").objectStore("Versions").getAll().xf(function(e){e=
_.oc(e).map(function(f){return j0c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ay()==b)&&(!c||f.mj()==c)}))},d.reject):d.resolve([]);return d.promise},T0c=function(a,b,c){var d=_.Sh();R0c().then(function(e){e?_.SM(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return p0c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.E2&&(h=c+f.E2-Date.now());var k=_.SM(e,["Versions"],"readonly");k.objectStore("Versions").get(f.G2).then(function(l){(l=
j0c(l))?(l.wa=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.Lj(k.wait(),function(){return e.close()})}else d.resolve(null),e.close()},function(f){d.reject(f);e.close()}):d.resolve(null)},d.reject);return d.promise},U0c=function(a,b,c){var d=_.Sh(),e=new mR(_.Oh(a),b);y0c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},V0c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=U0c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Qh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+lR(l)))});d.resolve(k)})},W0c=function(a,b,c){var d=Date.now()-12096E5,e=_.Sh();R0c().then(function(f){f?(_.Th(e.promise,function(){return f.close()}),S0c(f,a,b).then(function(h){return h.filter(function(k){return k.MZ<d})},function(){return[]}).then(function(h){V0c(h,c,f,e)})):e.resolve([])});return e.promise},X0c=function(a,b,c){var d=_.Sh();R0c().then(function(e){e?
(_.Th(d.promise,function(){return e.close()}),S0c(e,a,b).then(function(f){V0c(f,c,e,d,!0)})):d.resolve([])});return d.promise},Y0c=function(a,b,c,d){if(a.length){var e=a.shift(),f=t0c(e,3,0,1);try{_.SM(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=w0c(h))&&(!h.WQ||h.WQ&&d.has(e.V))?b.resolve(e):Y0c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},Z0c=function(a,b,c,d,e,f,h){var k=_.Sh();R0c().then(function(l){l?(_.Th(k.promise,function(){return l.close()}),
S0c(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=lR(q))&&q.W==c&&q.MZ>=e&&nNc(d.filter(function(t){return!_.iGc.has(t)}),q.Bg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.MZ-q.MZ}),Y0c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},$0c=function(a,b,c){this.V=a;this.H=_.Sh();this.ta=!1;this.W=_.D(b,7,"");this.ka=_.D(_.NP(b),6,2E7);this.ha=_.$M(b);this.ma=_.D(_.NP(b),12,0);this.wa=c};
$0c.prototype.initialize=function(){var a=this;this.ta||(this.ta=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.Pj(this.H.promise)};
var a1c=function(a){if(a instanceof _.lC)return 0;if(a instanceof MQ)return 1;if(a instanceof nRc)return 5;if(a instanceof wQ)return 3;if(a instanceof lWc)return 6;throw new _.pb("Unsupported dataShard in getDataType");},b1c=function(a){if(0==a)return _.lC;if(1==a)return MQ;if(5==a)return nRc;if(3==a)return wQ;if(6==a)return lWc;throw new _.pb("Unsupported dataType:"+a+" in getDataTypeCtor");},c1c=function(a){if(a instanceof wQ)return _.D(a,13,0)},d1c=function(a){if(a instanceof wQ)return a.zd().length},
e1c=function(a){if(a instanceof wQ)return a=_.F(a,6),null!=a?a:void 0},i1c=function(a,b,c){if(0==c.length)return _.Oh();var d=a1c(c[0]);c.forEach(function(){});var e=c1c(c[0]);3==d&&f1c(a,c);var f=!!b;return g1c(a,c).then(function(h){return f?h1c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.Ph(Error("Xf"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return J0c(a.V,h,d,e,f)})})},g1c=function(a,
b){return new _.Nh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Ac();n.length>a.ka?e=!0:f.push(new g0c(n,d1c(l),e1c(l)))}});if(e){var h=Error("Yf"),k=new _.ob;_.UM(k,2);_.HM(k,23);_.x(k,21,h.message);_.oq(k);a.wa(k);d(h)}c(f)})},f1c=function(a,b){c1c(b[0]);b.forEach(function(){});a.ha||j1c(b);k1c(a,b)},oR=function(a,b,c,d,e){var f=_.Sh();a.H.promise.then(function(){return H0c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Hj;h[0]&&h[0].WQ?l1c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=b1c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||m1c(k),n1c(k));f.resolve(k)}).Vf(f.reject,f);return f.promise},j1c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].VI().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.zd()||[]).forEach(function(h){var k=pR(_.wm(h),c,d);_.yj(h,15,k);k=pR([h.Fo()],c,d)[0];_.R(h,17,k);k=pR([h.IA()],c,d)[0];_.R(h,47,k);k=pR([_.C(h,_.ok,91)],c,d)[0];_.R(h,
91,k);k=pR([h.IF()],c,d)[0];_.R(h,95,k);if(h=h.Nu())_.$Hc(h,pR(_.vj(h,_.ok,2),c,d)),_.aIc(h,pR(_.vj(h,_.ok,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});oUc(a[0],e)}},pR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.Cj(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.ok,e.kc(f),c.set(f,e),d.push(e))}else d.push(e)});return d},m1c=function(a){var b=new Map,c=new Map;a[0]&&a[0].VI()&&a[0].VI().forEach(function(d){b.set(d.getId(),
d);d=(new _.ok).kc(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.zd()||[]).forEach(function(e){var f=qR(_.wm(e),b,c);_.yj(e,15,f);f=qR([e.Fo()],b,c)[0];_.R(e,17,f);f=qR([e.IA()],b,c)[0];_.R(e,47,f);f=qR([_.C(e,_.ok,91)],b,c)[0];_.R(e,91,f);f=qR([e.IF()],b,c)[0];_.R(e,95,f);if(e=e.Nu())_.$Hc(e,qR(_.vj(e,_.ok,2),b,c)),_.aIc(e,qR(_.vj(e,_.ok,3),b,c))});oUc(d,[])})},qR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Cj(c.get(f),e)?d.push(_.Dj(b.get(f))):
d.push(e)}else d.push(e)});return d},k1c=function(a,b){if(a.ma){a=a.ma;for(var c=b.length-1;0<=c;c--)if(_.D(b[c],13,0)){for(var d=[],e=b[c].zd();e.length>a;){var f=_.va(e,a-1,a);f=xQ(new wQ,f);d.push(f)}xQ(b[c],e);d.length&&_.Ke(_.va,b,c+1,0).apply(null,d)}}},n1c=function(a){for(var b={},c=1;c<a.length;b={Y2:b.Y2},c++)if(!_.D(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.D(a[e],13,0);e++)d++;e=a[c-1];d=_.va(a,c,d);b.Y2=e.zd();d.forEach(function(f){return function(h){_.ta(f.Y2,h.zd())}}(b));xQ(e,b.Y2)}},
h1c=function(a,b,c){if(!_.XM()&&a.W){var d=new Worker(a.W),e=new _.Hj;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Bd(Error(k))},!1);c=EWc(new DWc,c);d.postMessage({command:"encrypt",data:{request:c.Ac(),key:b}});return e}try{a=[];var f=new c0c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Oj(a)}catch(k){h=_.Qj(k)}return h},l1c=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.ka){b.callback(void 0);
return}if(!_.XM()&&a.W){var f=new Worker(a.W);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(k){f.terminate();throw Error(k);},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new c0c(c);for(c=0;c<d.length;c++)a.push(f0c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},o1c={key:"rid",global:!0},p1c={key:"ooi",global:!0},q1c={key:"rtds",global:!1},r1c={key:"dct",global:!1},s1c={key:"pc",global:!1},
t1c=function(a){this.H=new _.Nh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},u1c=function(a,b){return a.H.then(function(c){if(c&&!c.kh())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.tb():void 0},function(){})})},rR=function(a,b,c){return a.H.then(function(d){return d&&!d.kh()?L0c(d,[new l0c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
t1c.prototype.uq=function(){return u1c(this,o1c).then(function(a){return a?a:null})};var v1c=function(a){return u1c(a,p1c).then(function(b){return"boolean"===typeof b?b:null})};t1c.prototype.gA=function(a){return rR(this,p1c,a)};
var w1c=function(a){return u1c(a,s1c).then(function(b){return"boolean"===typeof b?b:null})},x1c=function(a){return u1c(a,q1c).then(function(b){return Array.isArray(b)?b:null})},y1c=function(a){return u1c(a,r1c).then(function(b){return"number"===typeof b?b:null})},z1c=function(a,b){L_c.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.wa=null;this.Ba=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.I(z1c,L_c);
z1c.prototype.handleError=function(){this.log("Local dump population failed.");AQ(this.context.ha,"mrK8ic")};
z1c.prototype.ta=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Hj;this.wa=b;A1c(this).then(function(){var c=_.vj(_.NP(a.H),LP,11);c=c[0]&&c[0].getKey()||"";return B1c(a,a.context.Db,c,4)}).Vf(function(c){if(_.A(a.H,8,!0))return C1c(a);throw c;}).then(function(){_.$M(a.H)||a.context.V.ma.H.clear();AQ(a.context.ha,"zaOY7");b.callback()},function(c){N_c(a,8);a.handleError();b.Bd(c)});return b}this.handleError();return _.Qj(Error("Zf"))};
var A1c=function(a){return a.context.Db.initialize().then(function(){if(!_.GO(a.H)){var b=_.D(_.NP(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Nh(function(c,d){w1c(a.context.Ga).then(function(e){e?c():d(Error("$f"))})})}})},B1c=function(a,b,c,d){var e=a.ha;D1c(a,b,c,e);E1c(a,b,c,e);F1c(a,b,c,e);return G1c(a,b,c,e).then(function(){return Promise.all([H1c(a,b,c,d,e),I1c(a,b,c,d,e),J1c(a,b,c,d,e),K1c(a,b,c,d,e)])})},D1c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
oR(b,c,0,void 0,d).then(function(f){f[0]?uZc(a.context.tc,f[0],a.Ne(),_.GO(a.H)):e()},function(){return e()})},E1c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};oR(b,c,1,void 0,d).then(function(f){f[0]?a.context.Zc.ima(f[0],a.Ne(),_.GO(a.H)):e()},function(){return e()})},F1c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};oR(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.yw();h.length&&I_c(a.context.Ma,h,
a.Ne(),_.y(f,2),_.GO(a.H))}else e()},function(){return e()})},H1c=function(a,b,c,d,e){var f=new _.Rm;oR(b,c,3,1,e).then(function(h){return L1c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||nNc(h.Oh(),_.iP(a.ka),_.FO(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.yO());var k=h.Qx();if(!k||0>k)throw Error("cg");G_c(a.context,h.uq(),d);k=h.Qx();"number"===typeof k&&H_c(a.context,Number(k));_.GO(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Bla());M1c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},I1c=function(a,b,c,d,e){var f=new _.Rm;oR(b,c,3,2,e).then(function(h){h[0]?(M1c(a,h[0],d),f.resolve()):f.reject(Error("ag"))},f.reject,f);return f.promise},J1c=function(a,b,c,d,e){var f=new _.Rm;_.HO(a.H)?oR(b,c,3,4,e).then(function(h){h.forEach(function(k){M1c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),AQ(a.context.ha,"rVezo"));return f.promise},K1c=function(a,b,c,
d,e){var f=new _.Rm;_.HO(a.H)?oR(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){M1c(a,k,d)}):AQ(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),AQ(a.context.ha,"rVezo"));return f.promise},G1c=function(a,b,c,d){var e=new _.Rm;oR(b,c,6,void 0,d).then(function(f){f=_.p(f);for(var h=f.next();!h.done;h=f.next())h=h.value,h.Jo().length&&(a.log("Importing "+h.Jo().length+" people into the PeopleCache."),h=h.Jo(),N1c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
L1c=function(a,b){var c=b.Qx();return c&&!_.GO(a.H)?$_c(new Y_c(a.context.tm()),c).then(function(d){return null!=_.y(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),N_c(a,9),null):b},function(){return b}):_.Oh(b)},C1c=function(a){var b=lR(a.context.hb.V),c=_.vj(_.NP(a.H),LP,11).filter(function(d){return null!=_.y(d,2)});return Z0c(_.EO(a.H.Se()),_.FO(a.H),_.D(_.NP(a.H),10,0)||0,_.iP(a.ka),a.ha||0,c.map(function(d){return _.y(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.y(k,1)}),f=new mR(_.Oh(d),a.context.W,null,!0),h=new $0c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ba=!0;return B1c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([s1c])}).then(function(k){if(k[0])return k=k[0].tb(),rR(a.context.Ga,s1c,k)}).then(function(){f.close()})}return _.Ph(Error("bg"))})},R1c=function(a,b,c){switch(_.D(b,13,0)){case 1:return O1c(a,b,c);case 2:b=_.C(b,UNc,11);if(!b)throw Error("dg");M_c(a,b);a.V.V?(a.V.Pw(a.Ne()),a=[{cache:a.V,changes:iR(a.context.Ba,
null)}]):a=[];return a;case 3:return P1c(a,b);case 4:return Q1c(a,b);default:return null}},O1c=function(a,b,c){var d=[];_.vj(b,vQ,5).forEach(function(e){var f=void 0,h=_.C(e,_.vm,3);h&&(_.TGc(h),_.F(a.H,67)&&zP(h,pNc),_.x(h,82,c),f=new yQ(h));var k=e.getQuery();if(!_.A(k,48,!1)||_.vj(a.H,_.he,44).some(function(l){if(!_.A(l,48,!1))return!1;l=CQ(a.context.ma,l,!0);return _.Cj(l,k)}))e=new aR(a.context.Ka,a.context.Wa,a.context.ma,k,f),e.Pw(a.Ne()),d.push({cache:e,changes:iR(a.context.Ba,null)})});return d},
Q1c=function(a,b){return _.vj(b,vQ,5).map(function(c){c=new jR(a.context,a.ka,_.C(c,_.SO,5),!0);c.Pw(a.Ne());return{cache:c,changes:iR(a.context.Ba,null)}})},P1c=function(a,b){if(!_.HO(a.H))return[];var c=_.y(_.vj(b,vQ,5)[0].getQuery(),33)[0],d=b.Qx()||void 0;b=iR(a.context.Ba,c);sR(a.context).mb(function(f){f.bea(c,d)});var e=new hR(a.context.Ka,a.context.Wa,c);e.Pw(a.Ne());return[{cache:e,changes:b}]},M1c=function(a,b,c){var d=R1c(a,b,c);d&&0!=d.length?(b.zd().forEach(function(e){_.TGc(e);_.F(a.H,
67)&&zP(e,pNc);_.x(e,82,c);if(!_.$M(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;S1c(f,tR(f,[e]))}e=new yQ(e);for(f=0;f<d.length;f++)d[f].cache.update(VQ(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new B_c(f,e.changes));a.log("Imported "+f.m_()+" items into the "+f.getType());var h=null;f instanceof hR&&(h=f.wc());a.context.Ge.promise.then(function(){A_c(a.context.Ba,h)})}),1==_.D(b,13,0)&&AQ(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.D(b,13,0)+".")};
z1c.prototype.Ne=function(){return this.Ba?7:3};var T1c=function(a){_.N.call(this);this.H=a};_.I(T1c,_.N);
var $1c=function(a,b){U1c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:V1c(a,b);break;case 4:W1c(a,b);break;case 6:X1c(a,b);break;case 2:Y1c(a,b);break;case 7:Z1c(a,b);break;case 5:_.vj(_.C(b,sWc,7),rWc,1).forEach(function(c){return $1c(a,c)});break;default:a2c(a,"Unsupported prefetched request.")}},V1c=function(a,b){var c=_.C(b,_.he,2);b=JSON.parse(_.y(b,3)||"{}");var d=new _.IM;_.AGc(d,c);b=_.YKc(a.H.lc.V,d,{headers:{},text:"",json:b}).gr();b2c(a,
c,b)},X1c=function(a,b){b2c(a,_.C(b,_.he,2),_.C(b,_.YB,9))},b2c=function(a,b,c){for(var d=c.zd(),e=_.p(d),f=e.next();!f.done;f=e.next())_.x(f.value,82,7);c=f_c(c);a=a.H.V;b=CQ(a.H.ma,b);e=uR(a,b);vR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new wR(a.H,b),f.Pw(2),a.W[e]=f);c.uc()||f.xja(c);GP(a,d,1,b)},Y1c=function(a,b){b=_.C(b,_.bo,5);var c=a.H.H.hf();c=c&&_.y(c,30)||[];var d=new Set(c);b.yw().forEach(function(e){(e=(e=e.getKey())&&_.ao(e))&&d.add(e)});I_c(a.H.Ma,
b.yw(),2,_.mc(d.values()).concat())},W1c=function(a,b){a.H.Nm.V(_.C(b,PQ,8).Ri(),_.C(b,_.go,6),2,!1)},Z1c=function(a,b){var c=_.C(b,_.co,10);b=JSON.parse(_.y(b,3)||"{}");b=_.YKc(a.H.lc.V,c,{headers:{},text:"",json:b});c2c(a.H).V([b],c,2,!1)},a2c=function(a,b,c){var d=c?void 0:_.oq(_.VM(_.UM(new _.ob,2),6));a.H.dispatchEvent(new _.qb(new _.pb(b,d,c)));U1c(a,"Prefetched request population failed.")},U1c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},xR=function(a){L_c.call(this,
a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.D(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.I(xR,L_c);xR.prototype.ta=function(){if(!_.A(this.context.H,45,!1))return N_c(this,5),this.ha(),_.Qj(Error("eg"));this.log("Drive SDK cache population initiated.");return this.context.Ds().mb(this.Ja,this).mb(this.Ga,this).Ae(this.ha,this)};
xR.prototype.Ja=function(){var a=this;AQ(this.context.ha,"L6uQWd");sR(this.context).mb(function(b){b.j2()});if(_.A(this.context.H,46,!1))return WNc(this.context.tm(),this.context.W).mb(function(b){if(!b)throw N_c(a,4),Error("fg");M_c(a,b)});this.log("Subscribed corpus cache population disabled.");$Q(this.V);return _.Oj()};
xR.prototype.Ga=function(){var a=this;this.context.Bla();var b=new _.Hj;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.hd();c.Ki(this.Ba);this.V.Pw(5);d2c(this,this.V,c)}c=_.vj(this.context.H,_.he,44);_.Ga(c,function(d){d=new aR(a.context.Ka,a.context.Wa,a.context.ma,d);d.Pw(5);d2c(a,d,d.hd());d=DQ(a.context.ma,d.hd());a.log("Starting "+d+" cache hint corpus cache population.")});_.Qh(this.ka).then(b.callback,this.wa.bind(this,b),b);return b};
var d2c=function(a,b,c){var d=iR(a.context.Ba,null);b=new p_c(a.context,b,c);a.H.push(b);b=_.Th(q_c(b).then(function(e){!e.V&&e instanceof gR&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Qa.jc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new B_c(e,d))}),function(){a.context.Ge.promise.then(function(){A_c(a.context.Ba,null)})});a.ka.push(b)};
xR.prototype.wa=function(a,b){_.Ga(this.H,function(d){d.dispose()});N_c(this,7);var c=b;b instanceof KQ?c=_.vN(b.error):_.EM(b)||(c=Error("gg`"+b));a.Bd(c)};xR.prototype.ha=function(){this.log("Drive SDK cache population failed.");AQ(this.context.ha,"Gv4zef")};xR.prototype.Ne=function(){return 5};
var e2c=function(a,b){_.N.call(this);this.H=a;this.ka=b;this.ma=new _.Xd(this);this.Pa(this.ma);this.W=new z1c(this.H,this.H.Ja);this.Pa(this.W);this.ha=new xR(this.H);this.Pa(this.ha);this.V=null;this.ta=[]};_.I(e2c,_.N);
var l2c=function(a){f2c(a,"Corpus cache population initiated.");a.V=a.H.ta.W(106002);_.m._DRIVE_dsp&&g2c(a);_.m._DRIVE_dspc=function(c){return g2c(a,c)};iR(a.H.Ba,null);_.A(a.H.H,24,!1)&&!_.GO(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?h2c(a):_.m._DRIVE_ivdc=function(){h2c(a)});var b=a.H.Db;b?(a.ma.listen(a.W,"Lb",a.wa),a.ma.listen(a.ha,"Lb",a.wa),(!_.A(a.H.H,10,!1)&&_.F(a.H.H,69)?a.H.Ld.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){f2c(a,"Dump storage initialized.");
return a.W.ta().xf(function(){return i2c(a,a.W.Ne())},function(){j2c(a,a.W.Ne(),a.W.W);if(_.GO(a.H.H))k2c(a,Error("hg"));else return a.ha.ta().then(function(){return i2c(a,a.ha.Ne())},function(c){j2c(a,a.ha.Ne(),a.ha.W);return k2c(a,c)})})},function(c){k2c(a,_.EM(c)?c:void 0,!0)})})):k2c(a,void 0,!0)},g2c=function(a,b){var c=new T1c(a.H);(_.m._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e==b)}).forEach(function(d){try{$1c(c,new rWc(JSON.parse(d)))}catch(e){a2c(c,"Error parsing prefetched request.",
e)}});c.dispose()};e2c.prototype.wa=function(a){var b=a.He;f2c(this,"Cache populated: "+b.getType());this.ta.push(m2c(this,b,a.H))};
var i2c=function(a,b){A_c(a.H.Ba,null);AQ(a.H.ha,"L6uQWd");sR(a.H).mb(function(c){c.j2()});return Promise.all(a.ta).then(function(){return n2c(a,b)})},o2c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},n2c=function(a,b){if(!a.isDisposed()){_.GO(a.H.H)||p2c(a.ka,_.vj(a.H.H,_.he,44));f2c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.Cla():w1c(a.H.Ga).then(function(d){d&&a.H.wa.Cla()},function(){});AQ(c,"rVezo");AQ(c,"BNEDtc");a.V&&(b=_.pP(_.fN,b),wQc(RP(a.V),b),
vQc(RP(a.V),!0),xQc(RP(a.V),LVc(a.ka.V)),yQc(RP(a.V),o2c(a)),a.V.V());a.dispose()}},j2c=function(a,b,c){a.V&&(b=_.pP(_.fN,b),wQc(RP(a.V),b),a=RP(a.V),_.tj(a,3,c,void 0))},k2c=function(a,b,c){c=void 0===c?!1:c;A_c(a.H.Ba,null);var d=a.H.ha;AQ(d,"L6uQWd");sR(a.H).mb(function(e){e.j2()});AQ(d,"mrK8ic");AQ(d,"Gv4zef");AQ(d,"rVezo");AQ(d,"BNEDtc");a.H.Qa.jc("CachedCorpusType","partialCorpus");d=!!a.W.context.Db||_.A(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.EM(b)?(d=b,c+=
d.message):c+=String(b),f2c(a,c),b=new _.pb(c,void 0,d),d=b.qg,_.UM(d,_.GO(a.H.H)?3:1),_.VM(d,6),_.mq(d,c),_.oq(d),a.H.dispatchEvent(new _.qb(b))):f2c(a,"Corpus population skipped");a.V&&(vQc(RP(a.V),!1),a.V.V());a.dispose()},m2c=function(a,b,c){return C_c(b,c).then(function(d){d.some(function(e){return b instanceof hR&&e.rz()&&e.Gc()==b.wc()})||J_c(a.ka,b,d)},function(){return k2c(a,Error("ig"))})},h2c=function(a){if(_.m._DRIVE_ivd){var b=new D_c(a.H,a.H.Ja);a.Pa(b);K_c(b)}else AQ(a.H.ha,"DEJoH")},
f2c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},q2c=function(a,b){_.Qg.call(this,"Mb");this.ha=a;this.H=b};_.I(q2c,_.Qg);q2c.prototype.getError=function(){return this.H};var r2c=function(a){_.Qg.call(this,"Nb");this.H=a};_.I(r2c,_.Qg);r2c.prototype.getPeople=function(){return this.H};var s2c=function(a){_.Qg.call(this,"Ob");this.H=a};_.I(s2c,_.Qg);s2c.prototype.getPeople=function(){return this.H};
var t2c=function(a,b,c){this.ha=a;this.H=void 0===c?0:c;this.V=new Set(b?[b]:[]);this.W=null;1==this.H&&(this.W=Date.now())};t2c.prototype.Io=function(){return this.ha.clone()};t2c.prototype.Ne=function(){return this.H};t2c.prototype.Sp=function(){return[1,4,2].includes(this.Ne())};var u2c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
u2c.prototype.create=function(a,b){if(0!=$Qc(b)){var c=this.V.W(106001);if(c){var d=$Qc(b),e=QP(c);_.x(e,2,d);d=null;if(b instanceof _.jG||b instanceof _.Xn||b instanceof _.he||b instanceof _.YN||b instanceof _.PC||b instanceof _.eo||b instanceof _.SO||b instanceof _.mO||"undefined"!=typeof _.nO&&b instanceof _.nO||b instanceof _.go)d=b.ke();b=d&&_.A(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=QP(c),_.x(d,7,b));this.H.set(a,c)}}};
var v2c=function(a,b,c){if(a=a.H.get(b))a=QP(a),_.x(a,5,c)},w2c=function(a,b,c,d,e){var f=a.H.get(b);f&&(QP(f).Dc(c),c=QP(f),_.x(c,1,d),null!=e&&(d=QP(f),_.x(d,6,e)),f.V(),a.H.delete(b))},x2c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Fb(c);c=aRc(c);if(1==e||2==c)e=_.pP(_.fN,c),d=QP(d),d=3==e||8==e?!_.F(d,5):0!=e?_.kGc.has(e):null,w2c(a,b,1,e,d)}},y2c=function(a,b,c){var d=a.W.Fb(c);d=_.pP(_.NFc,d||22);var e=aRc(c);e=_.pP(_.fN,e);w2c(a,b,d,e,"undefined"!=typeof _.tP&&c instanceof _.tP||"undefined"!=
typeof _.vP&&c instanceof _.vP||"undefined"!=typeof _.wP&&c instanceof _.wP?c.W:null)},yR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(QP(d).Dc(c),d.V(),a.H.delete(b))},A2c=function(a,b,c,d){_.O.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.CM(function(){return z2c(e)},100,this);this.H=[]};_.I(A2c,_.O);
var z2c=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.W.info("drive.ds.sync.query.PeopleQueryRunner","Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));B2c(a,b)}})},B2c=function(a,b){a.ha.then(function(c){return c.H(NQc(new _.bO,b))}).then(function(c){c=c.Jo();a.dispatchEvent(new r2c(c))},function(c){c=_.wN(c);a.dispatchEvent(new q2c(b,c))})},D2c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=new _.Xd(this);this.Pa(this.ka);this.Ga=b;this.W=
d;this.Ba=e;this.V=!_.A(a,90,!1);(d=_.C(a,vOc,85))||(d=new vOc);this.wa=_.D(d,1,864E5);this.ma=new A2c(a,b,c,f);this.H=new Map;this.ta=new _.wD(function(){var k=bRc(h.Ba,106015);if(k){var l=_.C(_.oP(k),DQc,11);if(!l){l=new DQc;var n=_.oP(k);_.R(n,11,l)}_.x(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();N1c(h,k,1);h.ta.se()});this.ka.listen(this.ma,"Mb",function(k){return C2c(h,k)});this.ha=new Map};_.I(D2c,_.O);
D2c.prototype.get=function(a){var b=this.V?_.kg():"";this.V&&this.W.create(b,NQc(new _.bO,[a]));var c=this.H.get(a);if(c)return 4==c.Ne()||E2c(this,c)?(this.V&&yR(this.W,b,E2c(this,c)?6:5),F2c(this,a+" queued for refresh."),G2c(this,a)):this.V&&w2c(this.W,b,1,_.pP(_.fN,10),null),c;this.V&&yR(this.W,b,5);return null};
var G2c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.$M(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.se());c=new _.Rm;a.ha.set(b,c);return c.promise},I2c=function(a,b){var c=a.V?_.kg():"";a.V&&a.W.create(c,NQc(new _.bO,[b]));return H2c(a,b)?(a.V&&w2c(a.W,c,1,_.pP(_.fN,10),null),Promise.resolve(a.H.get(b))):G2c(a,b).then(function(){a.V&&(H2c(a,b)?w2c(a.W,c,1,_.pP(_.fN,1),null):yR(a.W,c,3));return a.H.get(b)})};
D2c.prototype.uc=function(){return 0==this.H.size};D2c.prototype.clear=function(){F2c(this,"Clearing the PeopleCache.");this.H.clear()};
var J2c=function(a){return _.mc(a.H.values()).concat().filter(function(b){return b.Sp()}).map(function(b){return b.Io()})},K2c=function(a,b){return(a=a.H.get(b))?_.mc(a.V).concat():[]},L2c=function(a,b,c){c=_.p(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.V.delete(b),0==_.mc(e.V).concat().length&&a.H.delete(d))}},N1c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(F2c(a,"Importing "+b.length+" from "+(Object.keys(jWc)[c]+".")),M2c(a,b,c)):F2c(a,"Attempted to import people data from an invalid source.",
"warning")},O2c=function(a,b,c,d){0!=b.length&&N2c(a,b,c,void 0===d?0:d)},H2c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Sp())||(c=4==b.Ne()||E2c(a,b));return!c},N2c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.p(b);for(var f=b.next();!f.done;f=b.next()){var h=f.value;if(f=a.H.get(_.y(h,1))){var k=d;if(_.y(h,1)!=_.y(f.Io(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.Ne();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.Cj(f.ha,h),f.ha=h.clone(),f.H=k,1==f.H&&(f.W=Date.now()),h=!l):
h=!1}h&&(e=!0);c&&f.V.add(c)}else 4!=d&&(e=!0,f=a,k=d,l=c,1!=k&&G2c(f,_.y(h,1)),k=new t2c(h,l,k),f.H.set(_.y(h,1),k))}return e},E2c=function(a,b){return 1==b.Ne()&&Date.now()-Number(b.W)>a.wa},F2c=function(a,b,c){a.Ga.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},C2c=function(a,b){b=b.ha.map(function(c){var d=a.H.get(c);return d?d.Io():ZNc(new FP,c)});M2c(a,b,4)},M2c=function(a,b,c){for(var d=_.p(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}N2c(a,b,void 0,c)&&a.dispatchEvent(new s2c(b))},P2c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.V=new _.Xd(this);this.Pa(this.V);this.H=new D2c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.I(P2c,_.O);P2c.prototype.t2=function(a){if(a.H){var b=a.H.getItem(),c=tR(this,[b]).map(function(d){return aOc(d)});O2c(this.H,c,a.H.getId(),Q2c(_.y(b,82)))}a.V&&L2c(this.H,a.id,R2c(this,a))};
var Q2c=function(a){return _.lGc.get(a)||0},R2c=function(a,b){var c=S2c(a,b.V),d=S2c(a,b.H);return c.filter(function(e){return!d.includes(e)})},S2c=function(a,b){return b?tR(a,[b.getItem()]).map(function(c){return _.iG(c)}):[]},U2c=function(a,b){b=b.getUser();O2c(a.H,[aOc(b)],"ACCOUNT");T2c(a,b)},V2c=function(a,b){var c=_.vj(b,_.TO,2).map(function(d){var e=_.C(d,_.ok,9,1);return I2c(a.H,_.iG(e)).then(function(){return void S1c(a,[e])})});return Promise.all(c).then(function(){return b})},S1c=function(a,
b){b=_.p(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.iG(c)&&T2c(a,c)},W2c=function(a,b,c){for(var d=new Set,e=_.p(b),f=e.next();!f.done;f=e.next())f=f.value,_.iG(f)&&(d.add(_.iG(f)),O2c(a.H,[aOc(f)],c));return Promise.all(_.mc(d).concat().map(function(h){return I2c(a.H,h)})).then(function(){return S1c(a,b)})},X2c=function(a,b){return tR(a,[b]).some(function(c){return!tZc(a,_.iG(c))})},tZc=function(a,b){return H2c(a.H,b)},tR=function(a,b){return b.map(function(c){var d=c.Nu();d=d?_.mc(_.vj(d,
_.ok,2)).concat(_.mc(_.vj(d,_.ok,3))):[];var e=c.ef();e=(e=e&&_.ad(e))?tR(a,[e]):[];return _.mc(_.wm(c)).concat([c.Fo(),c.IA(),_.C(c,_.ok,91),c.IF()],_.mc(d),_.mc(e))}).flat().filter(function(c){return c&&!!_.iG(c)})};P2c.prototype.getItems=function(a){return K2c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var Y2c=function(a,b){return b.map(function(c){c=c.clone();var d=tR(a,[c]);d=_.p(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.x(e,3,void 0),_.x(e,8,void 0),_.x(e,5,void 0);return c})},T2c=function(a,b){var c=a.H.get(_.iG(b));if(c){a=c.Io();var d=_.CHc(b.wd(a.getName()),a.getEmail());c=_.jGc.get(c.H)||1;_.x(d,16,c);(a=_.C(a,$Nc,4))&&b.ws(a.getUrl())}},Z2c=function(){fR.apply(this,arguments)};_.I(Z2c,fR);
Z2c.prototype.lD=function(a){var b;if(b=fR.prototype.lD.call(this,a))a=a&&a.getItem()&&a.getItem().Ql(),b=!(!a||!a.Xr());return b};Z2c.prototype.hd=function(){};Z2c.prototype.getType=function(){};Z2c.prototype.L8=function(){};
var $2c=function(a,b){this.V=a;this.W=b;this.H={}},b3c=function(a,b){if(!_.UN(b)){var c=_.y(b,33);if(1==c.length)a3c(a,c[0],b);else{c=_.CO(b);if(1==c.length&&!_.A(c[0],2,!1)){var d=c[0].tb();c=a.W.get(d);if(!c){c=a.V.V.wa;var e=_.qe(new _.pe,310);c.H([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.rm(h)&&(f=f.wc(),a3c(a,f,b))}else a3c(a,null,b)});return}if(c.getItem().wc()&&_.rm(c.getItem().getCapabilities())){c=c.getItem().wc();a3c(a,c,b);return}}a3c(a,null,b)}}},a3c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!GQ(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(sR(a.V).mb(function(e){e.bea(b)}),c3c(a.V.Sv,b))},d3c=function(a,b){if(!_.UN(b)){var c={},d;for(d in a.H){c.fL=d;for(var e=0;e<a.H[c.fL].length;e++)if(_.Cj(b,a.H[c.fL][e])){_.ma(a.H[c.fL],e);"subscribed"!=c.fL&&sR(a.V).mb(function(f){return function(h){h.ppa(f.fL,!1)}}(c));return}c={fL:c.fL}}}},e3c=function(){this.H=new Map;this.V=[];this.W=[]};
e3c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.zN(e)&&(a?(e=a.getItem().ef())&&_.y(e,1)&&(1==_.dd(e)||3==_.dd(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0==f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.V.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Cj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var f3c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},g3c=function(a){a.V=[];a.W=[]},zR=function(a,b,c,d){_.O.call(this);this.request=a;this.Ja=b;this.Ba=c;this.Ga=d;this.ha=new Set;this.wa=0;this.H=null};_.I(zR,_.O);var h3c=function(a){if(a.H)return a.H.promise;a.H=_.Sh();a.W(a.request).forEach(function(b,c){a.wa++;a.Ja.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};zR.prototype.Ma=function(a,b){this.ka(b);i3c(this,a)};
var i3c=function(a,b){a.ha.add(b);a.ha.size==a.wa?(a.ma(a.request),a.dispatchEvent("Hb"),a.H.resolve()):a.dispatchEvent("Eb")};zR.prototype.Ka=function(a,b){b=_.wN(b);var c=b.qg;5==c.Sr()||4==c.Pi()?(this.Ga.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),i3c(this,a)):(a=new KQ(c,_.D(this.Ba.hf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var j3c=function(a,b){zR.call(this,_.Dj(a),b.tm(),b.H,b.W);this.V=b};_.I(j3c,zR);
j3c.prototype.W=function(a){var b=new Map;a.Ol().forEach(function(c){var d=_.Hva(_.Dj(a),[c]);b.set(c,d)});return b};j3c.prototype.ka=function(a){a=a.zd()[0];GP(this.V.V,[a],1,void 0,!0,this.request.Oh())};j3c.prototype.ma=function(a){GP(this.V.V,[],1,a,!1,this.request.Oh())};j3c.prototype.ta=function(a){a=_.lN(_.hN(new _.gN,a));this.V.V.ta([a])};var k3c=function(a,b,c,d){bR.call(this,a);this.W=b;this.hc=c;this.V={};d&&this.Pz(d,!0)};_.I(k3c,bR);_.g=k3c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=BQ(this.context.H)!=BQ(this.context.H,this.hc.Oh()),c=[];this.hc.Ol().forEach(function(h){var k=a.V[h];k&&k.getItem().Sj()&&!b||c.push(h)});if(0==c.length)return this.Pz([],!1),_.Oh();var d=_.Dj(this.hc);_.Hva(d,c);var e=new j3c(d,this.context),f=_.Sh();this.context.ka.Ef()?(this.Rd.listen(this.context.ka,"Cb",function(h){h.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),SZc(a),h3c(e).then(f.resolve,f.reject,f))}),this.H=0<_.df(this.V)?1:2):(this.context.Rg.Ef()&&
(this.H=0<_.df(this.V)?1:2),SZc(this),h3c(e).then(f.resolve,f.reject,f));return f.promise};_.g.w4=function(a){return this.context.ma.equals(a,this.hc)&&jNc(_.iP(this.W),a.Oh())};_.g.eT=function(a){var b=new _.qP;b.Dc(this.H);fSc(b,this.Ne());gSc(b,_.bf(this.V,function(c){return c?c.getItem():null}));NZc(this,a.Oh(),b.Ts());return b};_.g.resize=function(){};_.g.hd=function(){return this.hc};
_.g.ZN=function(a){var b=l3c(this,a.V),c=l3c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};
var l3c=function(a,b){return!!b&&a.hc.Ol().includes(b.getId())},wR=function(a,b,c,d,e){bR.call(this,a);var f=this;this.hc=_.Dj(b);this.ha=new eR(this.context,this.hc,!1,e);this.wa=0;b=this.hc.ve()&&LUc(this.hc.ve());e=this.context.Wa;this.ka=b?(0,_.K)(e.compare,e,this.hc):null;this.Cc=!b||!xVc(this.hc)||_.KM(a.H.Se());this.tc=wVc(this.hc);this.V=[];this.ta={};this.Db=null;this.Wa=!1;this.hb=[];this.Ba=[];this.Vb=this.Ib=this.rb=null;this.W=0;c&&this.Pz(c,!d);this.lc=null;this.Ka=Date.now();this.Ma=
_.D(a.H.hf(),16,36E5);_.yO(this.hc)&&this.Rd.listen(this.context.qh,"Jb",this.Hc);_.od(this,function(){_.dc(f.ha);m3c(f)})};_.I(wR,bR);wR.prototype.refresh=function(){return n3c(this,!1)};var n3c=function(a,b){a.H=6;if(_.A(a.hc,48,!1))return a.H=1,_.Oh();if(_.yO(a.hc)){var c=o3c,d=a.context.qh.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return p3c(a,b)};wR.prototype.initialize=function(){return this.W>=this.hc.lh()||1==this.H?_.Oh():this.refresh()};
var m3c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},o3c=function(a,b){_.m.clearTimeout(a.lc);a.lc=_.m.setTimeout(function(){return n3c(a,!0)},b)};wR.prototype.Hc=function(){Date.now()-this.Ka>this.Ma&&o3c(this,0)};
var p3c=function(a,b){a.ha&&(a.Rd.Pc(a.ha,"Gb",a.xja),a.Rd.Pc(a.ha,"Hb",a.eEa),a.ha.dispose());var c=a.hc.ke();c&&_.se(c,!1);a.ha=new eR(a.context,a.hc,b);a.wa=0;a.Rd.listen(a.ha,"Gb",function(){return a.xja(a.ha.ha)});a.Rd.listen(a.ha,"Hb",a.eEa);return q3c(a)},q3c=function(a){var b=_.Sh();a.context.ka.Ef()?a.Rd.listen(a.context.ka,"Cb",function(c){c.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),r3c(a,b))}):r3c(a,b);return b.promise},r3c=function(a,b){SZc(a);var c=a.hc.lh()+a.wa;_.cla(i_c(a.ha,c).xf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=wR.prototype;_.g.resize=function(a){var b=0;for(var c=_.p(new Set(_.mc(this.ma).concat())),d=c.next();!d.done;d=c.next()){d=d.value;var e=cR(this.context);d=QZc(e,d).hd();b=Math.max(b,d.lh())}_.yO(this.hc)?(this.hc.Ki(b),2!=this.Ne()&&!this.ha.H&&(b>this.W||a)?this.refresh():s3c(this)):this.hc.lh()!=b&&(this.hc.Ki(b),b>this.W?q3c(this):s3c(this))};_.g.hd=function(){return this.hc};_.g.w4=function(a){return this.context.ma.equals(a,this.hc)};
_.g.eT=function(a){var b=a.lh(),c,d=!1;if(_.VN(this.hc)){var e=this.V.slice();var f=this.Ba.slice(0,b);if(this.Ba.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Am(k.getItem()).filter(function(l){return h.includes(l.Io().getId())});k=k.clone();dNc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Am(l.getItem()).length})}d=sNc(e);c=new _.rP;hRc(c,!1);iRc(c,f)}else e=this.V.slice(0,b),c=new _.YB,XPc(c,b<this.V.length||!(this.context.ka.Ef()||this.context.Rg.Ef())&&
1!=this.H),_.R(c,7,this.Db),_.x(c,8,this.Wa),_.pIc(c,this.hb),d=sNc(e);e=EP(e);NZc(this,a.Oh(),e);c.gw(e);c.Dc(d?6:1==this.H||b<=this.W?1:this.context.ka.Ef()||this.context.Rg.Ef()?0<this.V.length?1:2:6);c.RW(this.Ne());c.gI(this.rb);c.setSessionId(this.Ib);c.SW(this.Vb);return c};_.g.xja=function(a){this.Db=a.ma;this.Wa=a.V;this.hb=a.W;this.Ba=a.ha;this.rb=a.ka;this.Ib=a.getSessionId();this.Vb=a.wa};_.g.eEa=function(){var a=this.hc.lh()-this.W;0<a&&g_c(this.ha)&&(this.wa+=a,q3c(this))};
_.g.Pz=function(a,b){_.yO(this.hc)&&m3c(this);var c=!1;a=_.p(a);for(var d=a.next();!d.done;d=a.next())d=VQ(d.value),c=this.ZN(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.za;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(t3c(this,"ViewCache unsorted after import"),this.context.Wa.sort(this.hc,this.V));c&&OZc(this)};
_.g.ZN=function(a,b){var c=this.ta[a.id],d=!!c,e=u3c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&t3c(this,"Updating different wrapper from the existing one"):t3c(this,"Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?(b=f,a=a.H,this.ka&&0!=this.ka(b,a)?(v3c(this,b),w3c(this,a)):(c=this.V,d=this.ka?_.Ba(this.V,b,this.ka):_.fa(this.V,b),c[d]=a,a.H++,x3c(a)&&this.W++,b.H--,x3c(b)&&this.W--,_.hf(this.ta,b.getId()),this.ta[a.getId()]=a)):(v3c(this,f),_.yO(this.hc)&&o3c(this,0));
else{if(_.yO(this.hc)&&!b)return!1;w3c(this,a.H)}else return!1;return!0};
var w3c=function(a,b){a.ka?XMc(a.V,b,a.ka):a.V.push(b);b.H++;x3c(b)&&a.W++;a.ta[b.getId()]=b},v3c=function(a,b){if(a.ka){var c=a.V,d=_.Ba(c,b,a.ka);0<=d&&_.ma(c,d)}else _.na(a.V,b);b.H--;x3c(b)&&a.W--;_.hf(a.ta,b.getId())},u3c=function(a,b,c){if(!b)return!1;if(a.Cc&&!_.yO(a.hc)){if(c)return!0;if(!a.tc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=HQ(a.context.Ka,a.hc,b.getItem());return c&&a}}if(!HQ(a.context.Ka,a.hc,b.getItem()))return!1;var e=1.2*a.hc.lh();if(1==a.H||!a.ka||
zUc(b.V,2)||a.W<e||c||NNc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},s3c=function(a){if(1!=a.H&&!a.context.ka.Ef()&&!a.context.Rg.Ef()){var b=1.2*a.hc.lh();if(!(b>=a.W||a.ha&&b>=a.ha.$b())){b=a.W-a.hc.lh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];zUc(d.V,2)||NNc(d.getItem())||(d.H--,x3c(d)&&a.W--,_.hf(a.ta,d.getId()),_.ma(a.V,c),b--)}p3c(a,!1)}}},t3c=function(a,b){var c=new _.ob;_.UM(c,2);_.VM(c,6);_.oq(c);a.context.dispatchEvent(new _.qb(new _.pb(b,
c)))},x3c=function(a){return!zUc(a.V,2)&&3!=BP(a.getItem())};wR.prototype.Ga=function(){s3c(this)};wR.prototype.Ja=function(a){return 1!=this.H&&a.lh()>this.W&&this.ha.H};
var y3c=[50],A3c=function(a,b){_.N.call(this);var c=this;this.Wa=new _.Xd(this);this.Pa(this.Wa);this.H=a;this.Ba=b;this.W={};this.ka=new s_c(a.ma);this.ha=new EVc(a.ag,a.Ka,a.Wa);this.Ja=new e3c;_.F(a.H,60)&&(this.Ib=new Z2c(a.Ka,a.Wa));this.Ga=new oVc(a.W,_.iP(this.Ba));(b=_.ZM(this.H.H))&&!_.A(b,1,!1)&&z3c(this,_.y(this.H.H,28));this.V=new HVc(this.Ba,this.H.ma,this.ha,this.Ga);this.H.ta.ha.H=this.V;this.wa=new k_c(this.H,this.Ba,this.W,this.ha);this.Qa=new $2c(this.H,this.ha);this.Ka=new e2c(this.H,
this);_.od(this.Ka,function(){c.Ka=null});this.rb=_.PGc(VQc(this.Ba),y3c);zQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.A(this.H.H,15,!1)||this.H.Vb||b.push("NVkrgc");zQ(this.H.ha,b,function(){var d=new _.ok;d.kc(c.H.Vb);_.x(d,7,!0);_.x(d,6,1);var e=new _.pm;_.GHc(e,!0);_.x(e,2,!1);_.x(e,3,!1);_.x(e,4,!1);_.x(e,5,!1);_.x(e,6,!0);_.HHc(e,!0);_.x(e,10,!1);_.KHc(e,!1);_.MHc(e,!1);_.LHc(e,!1);_.IHc(e,!1);_.JHc(e,!1);_.PHc(e,!1);var f=new _.vm;f.kc(c.H.uq());f.setTitle(_.D(c.H.H,
38,"My Drive"));_.zM(f,"application/vnd.google-apps.folder");f.Rn(!1);_.R(f,17,d);_.yj(f,15,[d]);_.AM(f,1);_.x(f,29,!0);_.x(f,63,!0);f.ln(e);GP(c,[f],1);AQ(c.H.ha,"hVFf7")});this.Ma=_.Sh();zQ(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new P2c(this.H.H,this.H.W,a.tm(),a.Tn,this.H.ta,this.H.Ld.promise);_.$M(this.H.H)&&this.Wa.listen(this.ma,"Ob",this.Db)};_.I(A3c,_.N);
A3c.prototype.Db=function(a){var b=this,c=a.getPeople();vR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.p(c);for(var e=c.next();!e.done;a={p3:a.p3},e=c.next())a.p3=e.value,this.ma.getItems(_.y(a.p3,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();vR(b,"Unexpected missing wrapper for "+h+" with "+(_.y(f.p3,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});GP(this,_.mc(d.values()).concat(),1);this.H.wa.update(6)};A3c.prototype.initialize=function(){l2c(this.Ka)};
var F3c=function(a,b,c){if(c instanceof _.he)c=CQ(a.H.ma,c),B3c(a,c.Oh()),b3c(a.Qa,c),a=C3c(a,c),KZc(a.cache,b);else if(c instanceof _.Xn)c=D3c(a,c),B3c(a,c.Oh()),a=E3c(a,c),KZc(a.cache,b);else if(c instanceof _.SO){var d=uR(a,c),e=a.W[d];e?(3==e.H?(vR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):vR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,$r:!1}):(vR(a,d+" | ItemQueryRequest backed by new cache"),e=new jR(a.H,a.Ba,c),e.refresh().Vf(_.Ie),
a.W[d]=e,a={cache:e,$r:!0});KZc(a.cache,b)}else if(c instanceof _.eo)d=c.Oh(),e=a.Ga,pVc(e,e.V,e.ha,d),a=E3c(a,c),KZc(a.cache,b);else throw Error("jg");return a.$r},G3c=function(a,b,c){if(c instanceof _.he)c=CQ(a.H.ma,c),d3c(a.Qa,c);else if(c instanceof _.Xn)c=D3c(a,c);else if(!(c instanceof _.SO||c instanceof _.eo))throw Error("jg");c=uR(a,c);var d=a.W[c];d&&(LZc(d,b),d.isDisposed()&&delete a.W[c])},uR=function(a,b){return DQ(a.H.ma,b,2)},C3c=function(a,b){var c=uR(a,b),d=a.W[c];if(d)return 3==d.H?
(vR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):vR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,$r:!1};d=[];for(var e=5,f,h,k=t_c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.oC(b);if(5!=e){f=1==e?void 0:b.lh();d=n.Nia(b,f);f=n.Ne();h=n instanceof aR?n.DF():"";vR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.m_()+" | initial "+d.length));break}}5==e&&vR(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ef()||a.H.Rg.Ef())d=d.concat(a.ha.query(b,
1)),_.ya(d,void 0,function(q){return q.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.oC(b)?e.oC(b):6,vR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new wR(a.H,b,d,1==e,h);f&&d.Pw(f);d.Pz(a.ha.query(b,2),1!=e);d.initialize().Vf(function(q){q=_.WM(q);_.oq(q);a.H.dispatchEvent(new _.qb(new _.pb("Error during view cache init",q)))});a.W[c]=d;return{cache:d,$r:!0}},E3c=function(a,b){var c=uR(a,b),d=!1,e=a.W[c];if(e)e.w4(b)?vR(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Ol()),
b=H3c(a,b,d),d=!0,a.W[c]=b,I3c(e,b),e=b,vR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Ol());e=H3c(a,b,f);d=!0;a.W[c]=e;vR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,$r:d}},H3c=function(a,b,c){var d;b instanceof _.Xn?d=new a_c(a.H,a.Ba,b,c):d=new k3c(a.H,a.Ba,b,c);c.length&&d.Pw(8);d.refresh().Vf(_.Ie);return d},J3c=function(a){return Object.values(a.W).filter(function(b){return b.hd()instanceof _.SO})};
A3c.prototype.hb=function(a){for(var b=_.qe(new _.pe,309),c=[],d=_.p(Object.entries(this.Ga.H)),e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;f=_.p(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.p(h.value);var k=h.next().value;h.next();if(k==a){c.push(Number(e));break}}}c.length&&(d=UUc(this.H.ma,c,!0),vR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var MZc=function(a,b,c){c&&c.length&&rVc(a.Ga,b,c);_.$M(a.H.H)&&(a=a.ma,S1c(a,tR(a,b)))},J_c=function(a,b,c){if(b instanceof jR){var d=uR(a,b.hd()),e=a.W[d];if(e){K3c(a,b,e);vR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof ZQ&&a.ka.removeAll([b]);var f={},h=_.kf(a.ha.H),k=[];b.ty().forEach(function(n){var q=n.getId(),t=a.ha.get(q);if(t){var v=BP(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(UWc(n,t));_.hf(h,q)}else q=VQ(n),a.ha.update(q),a.Ja.update(q),
_.$M(a.H.H)&&a.ma.t2(q);_.$M(a.H.H)&&L3c(a,n.getItem())});_.$e(h,function(n){k.push(VQ(n))});d=_.p(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof jR?(d=uR(a,b.hd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.$e(f,function(n){var q=new _.gN;_.hN(q,n.getId());q.setItem(n);l.push(q)});a.ta(l);vR(a,"Merged cache: "+b.getType());b instanceof hR&&c.forEach(function(n){M3c(a.H.Uj,n)});a.H.wa.update(3)},K3c=function(a,b,c){if(c instanceof jR&&(c=c.ty(),b=b.ty(),0!=c.length&&0!=b.length)){var d=
Math.min(c.length,b.length);c=c.slice(0,d);b=b.slice(0,d);for(var e=0;e<d;e++){var f=c[e].getItem(),h=b[e].getItem();if(f.getId()!=h.getId()){vR(a,"(b/160317444) Inconsistent shared drives list found.");_.Sj(Error("kg"));cRc(a.H.ta,160317444);break}}}},I3c=function(a,b){(new Set(_.mc(a.ma).concat())).forEach(function(c){KZc(b,c);LZc(a,c)})},GP=function(a,b,c,d,e,f){f||(f=d?_.mc(d.Oh().filter(function(B){return!_.iP(a.Ba).includes(B)})).concat():[]);d&&d instanceof _.he&&_.yO(d)&&N3c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new yQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,z=O3c(a,t,q);if(null!=z)q.eH(z),P3c(a,v,n),MNc(n),n=mVc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.$M(a.H.H)&&L3c(a,n);!t||Q3c(a,v,n,f)?(k.push(TWc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=uR(a,d),b=a.W[b],d instanceof _.he&&(d=w_c(a.ka,d))&&d.Pz(h,!!e),b&&b.Pz(h,!!e));0<k.length&&(e=_.oc(a.W),b&&_.na(e,b),R3c(a,k,e,f),S3c(a,h));cR(a.H).ka()},L3c=function(a,b){X2c(a.ma,b)||5!=BP(b)||
_.iIc(b,1)},Q3c=function(a,b,c,d){(b=b?b.clone():null)&&MZc(a,[b],d);return!_.Cj(b,c)},N3c=function(a,b,c){T3c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(AP(f,d,[1002]),AP(f,d,[1003]),AP(f,d,[1005]),b[e]=f);_.UN(c)&&0<_.y(c,33).length&&_.jIc(d,_.y(c,33)[0])})},T3c=function(a,b,c){var d;_.UN(c)?d="quick access":_.VN(c)?d="people predict":_.WN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");vR(a,"Got "+b.length+" items for "+d+": "+c)},U3c=function(a,b){var c=
{};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.$e(c,function(d,e){e=Number(e);GP(a,EP(d),e)})};
A3c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.rz()?null:d.getItem(),f=d.Gc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new yQ(e,void 0,void 0,d.Qx()||void 0);var l=O3c(this,f,k);if(null==l)continue;k.eH(l);P3c(this,h,e);_.A(d,5,!1)&&zP(e,pNc);MNc(e);e=mVc(e,h);k.setItem(e);_.$M(this.H.H)&&L3c(this,e)}l=this.H.Sv;M3c(l.H.Uj,d);if(GQ(d)){var n=d.wc();d.rz()?V3c(l,n):(d=d.getItem(),nVc(d)&&W3c(l,n))}!h&&!e||_.Cj(h,e)||b.push(TWc(f,k))}R3c(this,b,_.oc(this.W),
[])};
var P3c=function(a,b,c){b&&!c.Ql()&&AP(c,b,a.rb);var d=b?b.ef():null,e=c.ef();e=e?_.ad(e):null;d&&e&&P3c(a,_.ad(d),e);b&&!_.zm(c)&&AP(c,b,[1002]);b&&!_.Am(c).length&&AP(c,b,[1003]);b&&!c.CI().length&&AP(c,b,[1005]);b&&null==c.V()&&AP(c,b,[71]);b&&null==_.y(c,79)&&AP(c,b,[73]);b&&_.F(b,31)&&!_.F(c,31)&&(zP(c,pNc),vR(a,"Cleared Item Suggest data for "+b.getId()+"."))},XZc=function(a,b,c){if(b instanceof _.he||b instanceof _.Xn||b instanceof _.SO)b=uR(a,b),(a=a.W[b])&&RZc(a,c);else throw Error("jg");},
O3c=function(a,b,c){var d=c.getItem();if(X3c(a.H.Wf,d.getId()))return null;if(b){if(!yUc(b.V,c.V))return null;a=b.getItem();if(3!=BP(a)&&!GQ(a)&&!GQ(d)&&a.wc()==d.wc())if(_.y(a,75)&&_.y(d,75)){if(_.y(a,75)>_.y(d,75))return null}else if(b.Qx()&&c.Qx()){if(b.Qx()>c.Qx())return null}else if(a.mq()>d.mq())return null}return AUc(b&&b.V,c.V)},Y3c=function(a,b){(a=a.ha.get(b))&&a.eH(AUc(a.V,-2))},Z3c=function(a,b,c){b=_.p(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Ga.update(d.id,d.H?d.H.getItem():
null,c)},R3c=function(a,b,c,d){_.$M(a.H.H)&&b.forEach(function(k){return a.ma.t2(k)});Z3c(a,b,d);c=_.p(c);for(d=c.next();!d.done;d=c.next())PZc(d.value,b);c=0;b=_.p(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=t_c(a.ka);var h=_.p(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.F(a.H.H,60)&&a.Ib.update(e);a.ha.update(e);a.Ja.update(e);a.ha.get(e.id)||tVc(a.Ga,e.id)}0<c&&a.H.wa.kEa(c);$3c(a)},$3c=function(a){var b=a.Ja.V.slice(0),c=f3c(a.Ja);g3c(a.Ja);if(b.length){vR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.pe;_.qe(d,308);a.wa.H(b,d,!0)}if(c.length){vR(a,"Updating locally stale shortcuts: "+c.join(", "));b=IVc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().ef(),k=_.y(h,1);if(k=a.V.H(k))_.R(h,5,k),_.x(h,4,1),e.push(f)});U3c(a,e)}},D3c=function(a,b){_.Ca(b.Oh());var c=_.fa(b.Ol(),"root");if(0>c)return b;b=_.Dj(b);b.Ol()[c]=a.H.uq();return b},z3c=function(a,b){b=WQc(a.Ba,b);a=a.Ga;pVc(a,a.H,a.W,b)},B3c=function(a,
b){var c=_.ZM(a.H.H);c&&_.A(c,1,!1)&&z3c(a,b)},S3c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==BP(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});vR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.qe(new _.pe,311);a.wa.H(c,d)}})},p2c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!w_c(a.ka,c)){vR(a,"Adding new cache hint for "+uR(a,c));var d=new aR(a.H.Ka,a.H.Wa,a.H.ma,c);c=new p_c(a.H,d,c);var e=iR(a.H.Ba,null);_.Th(q_c(c).then(function(){C_c(d,
e).then(function(f){J_c(a,d,f)})}),function(){A_c(a.H.Ba,null)})}})})},vR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},a4c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},b4c=function(a,b){a=a4c(a);b=a4c(b);return!(!a||!b||a!=b)},c4c=function(a){return a.Gc()+"_"+a4c(a.getName())},AR=function(a,b){_.N.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.I(AR,_.N);
var f4c=function(a,b){a.H.add(b);d4c(a).then(function(){return e4c(a,b)})};AR.prototype.Ne=function(){return this.ka};AR.prototype.kma=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.P9(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?g4c(this):_.Oh([])};
var g4c=function(a){for(var b=[],c=_.p(a.H.values()),d=c.next();!d.done;d=c.next())b.push(e4c(a,d.value));return _.Qh(b)},h4c=function(a,b){a.status=3;for(var c=[],d={},e=_.p(a.H.values()),f=e.next();!f.done;d={Cca:d.Cca},f=e.next())d.Cca=f.value,c.push(a.ha.then(function(h){return function(k){k.Ga[h.Cca]=b;k.V||(k.V=_.Wh(k.ka,50,k))}}(d)));_.Qh(c)},i4c=function(a){for(var b=[],c={},d=_.p(a.H.values()),e=d.next();!e.done;c={Dca:c.Dca},e=d.next())c.Dca=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Dca])&&h.nJ()}}(c)));_.Qh(b).then(function(){var f=0==a.Ne()?1:6;a.ka=f})},d4c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=QZc(b,d).hd();c=Math.max(c,d.lh?d.lh()||0:0)});a.N9(c)})},j4c=function(a,b){return b?a.ma.get(a.R6(b)):null};AR.prototype.O9=function(a,b){b=AUc(j4c(this,a),b);this.ma.set(this.R6(a),b)};AR.prototype.R6=function(a){return a};AR.prototype.k6=function(){};
var e4c=function(a,b){return a.ha.then(function(c){var d=a.n_();c.Ba[b]=d;c.V||(c.V=_.Wh(c.ka,50,c))})};AR.prototype.removeItem=function(){};var BR=function(a,b){_.O.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.I(BR,_.O);
var k4c=function(a){return!a.ma||""!=a.ha},CR=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&k4c(a)?l4c(a):_.Oh()},l4c=function(a){a.ma=!0;a.V=!0;var b=a.O4(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return m4c(a,c)},function(c){a.V=!1;c=_.WM(c);var d=new KQ(c);a.jEa(d);a.dispatchEvent(d);return _.Ph(c)})},m4c=function(a,b){a.V=!1;a.ha=a.c7(b);b=a.x6(b);b.forEach(function(c){return a.H.push(c)});a.o_(b);return a.H.length<a.W&&k4c(a)?_.Qh([_.Oh(b),l4c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Oh(b)};BR.prototype.o_=function(){};BR.prototype.jEa=function(){};var n4c=function(a,b,c){BR.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Vf(function(e){return _.xN(e)})});this.ka=b};_.I(n4c,BR);_.g=n4c.prototype;_.g.O4=function(a,b,c){a=_.Dj(a);a.Ki(b);return new _.$Gc(a,c)};_.g.c7=function(a){return a.pageToken||""};_.g.x6=function(a){return a.response.V()};_.g.o_=function(a){DR(this.ka,a,!1,1)};
_.g.jEa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&h4c(b,a)};var o4c=function(a,b,c,d){AR.call(this,a,_.Dj(d));this.V=[];this.W=null;this.wa=b;this.ta=c};_.I(o4c,AR);o4c.prototype.refresh=function(){i4c(this);this.W=new n4c(this.wa,this.ta,this.request);return CR(this.W,this.request.lh()||100)};var p4c=function(a,b){return a.V.find(function(c){return b4c(c.getName(),b)})};_.g=o4c.prototype;
_.g.N9=function(a){this.W&&a==this.request.lh()||(this.request.Ki(a),this.W?CR(this.W,a):this.refresh())};_.g.n_=function(){var a=this,b=oSc((new $P).Dc(this.status),this.V.filter(function(c){return a.ta.Nka(c)}).map(function(c){return c.clone()}));return new _.uP(b,void 0,void 0,this.Ne())};_.g.kma=function(a,b,c){var d=this;a=a.filter(function(e){return e.Gc()==d.request.Gc()});return AR.prototype.kma.call(this,a,b,c)};
_.g.P9=function(a,b){b=void 0===b?1:b;if(!yUc(j4c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return b4c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.O9(a.getName(),b);return!0};_.g.removeItem=function(a){_.oa(this.V,function(b){return b4c(b.getName(),a)})&&(this.ma.delete(this.R6(a)),g4c(this))};_.g.R6=function(a){return a4c(a)};_.g.O9=function(a,b){p4c(this,a)&&AR.prototype.O9.call(this,a,b)};
_.g.k6=function(a){var b=this;return a instanceof _.iO&&a.Gc()!=this.request.Gc()?[]:a.yM().map(function(c){return p4c(b,c.Kk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var ER=function(){this.H=new Map},q4c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.R4(c),a.H.set(d,e));f4c(e,b);return f},r4c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Bfa(c),a.H.set(d,e));f4c(e,b);return f},s4c=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.H.delete(b),0==d.H.size&&d.dispose(),d.isDisposed()&&a.H.delete(a.getKey(c)))},t4c=function(a,b){return a.H.get(b)},DR=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.Nka(f)});a.H.forEach(function(f){f.kma(e,
c,d)})};ER.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};ER.prototype.k6=function(a){var b=Array.from(this.H.values()).map(function(c){return c.k6(a)});return[].concat.apply([],_.mc(b))};var u4c=function(a,b){a.H.forEach(function(c){c.O9(b,-2)})};ER.prototype.Nka=function(){return!0};ER.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.R4(b),f.ka=c,this.H.set(e,f),DR(this,a,d))};
var v4c=function(){this.V=new Set;this.W=new Set;this.H=0},w4c=function(a,b){a.V.add(b)};v4c.prototype.ha=function(a){this.V.delete(a)};var x4c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};v4c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var X3c=function(a,b){return a.V.has(b)||a.W.has(b)};v4c.prototype.nX=function(a){var b=this;return a.filter(function(c){return!X3c(b,c.getId())})};var y4c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new v4c};
_.I(y4c,ER);var z4c=function(a,b){w4c(a.W,c4c(b));(a=t4c(a,b.Gc()))&&g4c(a)};_.g=y4c.prototype;_.g.getKey=function(a){return a.Gc()};_.g.R4=function(a){return new o4c(this.ha,this.ka,this,a)};_.g.Bfa=function(a){return new o4c(this.ha,this.ka,this,a)};_.g.i9a=function(a){a=_.p(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=t4c(this,b.getId()))&&b.refresh()};_.g.Nka=function(a){return!X3c(this.W,c4c(a))};
var A4c=function(a,b){this.V=a;this.H=b},B4c=function(a,b){b=_.nLb(b);var c=new n4c(a.V,a.H,b);new Promise(function(d,e){return CR(c,100).then(d,e)})},C4c=function(a,b,c){BR.call(this,a,c);this.ka=b};_.I(C4c,BR);C4c.prototype.O4=function(a,b){return _.Dj(a).Ki(b)};C4c.prototype.c7=function(){return""};C4c.prototype.x6=function(a){return[a]};C4c.prototype.o_=function(a){this.ka(a)};var D4c=function(a,b,c,d){AR.call(this,a,_.Dj(d));this.ta=c;this.wa=b;this.V=this.W=null};_.I(D4c,AR);
D4c.prototype.refresh=function(){var a=this;i4c(this);this.V=new C4c(this.request,this.ta,function(b){return a.wa.then(function(c){return c.H(b)})});return CR(this.V,this.request.lh()||0)};D4c.prototype.N9=function(a){1==this.status||this.V&&a==this.request.lh()||(this.request.Ki(a),this.V?CR(this.V,a):this.refresh())};D4c.prototype.n_=function(){if(this.W)return this.W;var a=new dQ;a.Dc(this.status);return a};D4c.prototype.P9=function(a){this.W=a;return!0};
var E4c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.I(E4c,ER);var F4c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};E4c.prototype.getKey=function(a){return a.toString()};E4c.prototype.R4=function(a){var b=this;return new D4c(this.W,this.ka,function(c){DR(b,c,!1)},a)};E4c.prototype.Bfa=function(){throw Error("lg");};
E4c.prototype.V=function(a,b,c,d){var e=a[0].Ri();F4c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));ER.prototype.V.call(this,a,b,c,d)};var H4c=function(a){_.N.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.fm;var c=_.Sh();this.Ga=c.promise;x1c(this.H.Ga).then(function(d){b.V=d||[];c.resolve();G4c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;zQ(this.H.ha,["rVezo"],(0,_.K)(this.ka,this))};_.I(H4c,_.N);
var c3c=function(a,b){_.A(a.H.H,46,!1)&&a.Ga.then(function(){if(a.V[0]!=b){_.na(a.V,b);for(nVc(a.H.V.V.H(b))?FR(a,b,"Hidden TD, not tracking in recency list"):_.va(a.V,0,0,b);a.V.length>2*_.D(a.H.H,47,5);)a.V.pop();rR(a.H.Ga,q1c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.D(a.H.H,47,5)&&(G4c(a),a.ka())})},W3c=function(a,b){_.na(a.V,b)&&rR(a.H.Ga,q1c,a.V)},V3c=function(a,b){W3c(a,b);a.ha.contains(b)&&a.ha.remove(b);var c=a.W.get(b);c&&c.dispose();a.W.delete(b);c=a.H.V.ka;for(var d=_.ra(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.wc()==b){FR(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}sR(a.H).mb(function(h){h.ppa(b,!0)});a.ka()};H4c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;I4c(this);for(var b={};this.ha.$b()&&!(this.ma>=_.D(this.H.H,47,5));){var c=_.gm(this.ha);this.ma++;v_c(a,c)||this.W.has(c)||(this.W.set(c,null),b.r3=new _.tO,_.x(b.r3,1,c),this.H.tm().then(function(d){return function(e){return e.H(d.r3)}}(b)).then(this.Ba.bind(this,c),this.wa.bind(this,c)));b={r3:b.r3}}}};
var G4c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},I4c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){G4c(a);a.ka()},36E5)};H4c.prototype.Ba=function(a,b){var c=_.y(b,1);c&&c>_.D(this.H.H,48,1E3)?(FR(this,a,"Too large to backfill: "+_.y(b,1)),J4c(this,a,!1)):K4c(this,a)};
H4c.prototype.wa=function(a,b){(b=_.WM(b).Pi())&&4==b?(FR(this,a,"Non-existent or inaccessible, removing from cache"),a=_.lN(_.cGc(_.hN(new _.gN,a),a)),this.H.V.ta([a])):K4c(this,a)};
var K4c=function(a,b){var c=new hR(a.H.Ka,a.H.Wa,b),d=_.Dj(c.hd());d.Ki(_.D(a.H.H,48,1E3));d=new p_c(a.H,c,d);a.W.set(b,d);FR(a,b,"Backfill started");var e=iR(a.H.Ba,b);sR(a.H).mb(function(f){f.bea(b)});_.Th(q_c(d).then(function(){L4c(a,b,c,e)},function(){FR(a,b,"Backfill failed");a.ma--;J4c(a,b,!0)}),function(){A_c(a.H.Ba,b)})},L4c=function(a,b,c,d){c.V?(c.ZS(),C_c(c,d).then(function(e){FR(a,b,"Backfill complete, size: "+c.m_());J_c(a.H.V,c,e);J4c(a,b,!1)},function(){FR(a,b,"Backfill changes failed");
J4c(a,b,!0)})):(FR(a,b,"Backfill exceeded size limit"),J4c(a,b,!0))},J4c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&sR(a.H).mb(function(e){e.ppa(b,!1)});a.ka();0<a.W.size||_.ra(a.H.V.ka.V).map(function(e){return e.wc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return V3c(a,e)})},FR=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},M4c=function(a){var b=new _.WB;b.kc(a);return b},N4c=function(a,b,c,d,e){zR.call(this,_.Dj(a),
c,d,e);this.V=b};_.I(N4c,zR);N4c.prototype.W=function(a){var b=new Map;a.Ol().forEach(function(c){var d=_.Dj(a).Ib([c]);b.set(c,d)});return b};N4c.prototype.ka=function(a){var b=[];a.ZL().forEach(function(c){b.push(c)});this.V(b,!0)};N4c.prototype.ma=function(){this.V([],!1)};N4c.prototype.ta=function(a){this.V([M4c(a)],!0)};var O4c=function(a,b,c,d,e,f){AR.call(this,a,_.Dj(f));this.wa=e;this.Ga=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.I(O4c,AR);
O4c.prototype.refresh=function(){this.W=new N4c(this.request,this.wa,this.Ga,this.ta,this.Ba);return h3c(this.W)};O4c.prototype.N9=function(){this.W||this.refresh()};O4c.prototype.n_=function(){var a=new _.sP;a.Dc(this.status);_.$e(this.V,function(b,c){a.ZL().set(c,b||new _.WB)});JSc(a,this.Ne());return a};O4c.prototype.P9=function(a){var b=a.getId();if(_.Cj(a,M4c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Ol().indexOf(b))return this.V[b]=a,!0;return!1};
var P4c=function(a,b){a=a.getState();return null==a||b.getState()==a},Q4c=function(a,b,c){BR.call(this,a,c);this.ka=b};_.I(Q4c,BR);Q4c.prototype.O4=function(a,b,c){a=_.Dj(a);a.Ki(b);return new _.jHc(a,c)};Q4c.prototype.c7=function(a){return a.pageToken||""};Q4c.prototype.x6=function(a){return a.response.Ri()};Q4c.prototype.o_=function(a){this.ka(a)};var R4c=function(a){this.W=HUc(a,{numeric:!0})};
R4c.prototype.H=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!=e?f=this.W(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};R4c.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!=e?f=_.za(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};var S4c=function(a,b,c,d,e){AR.call(this,a,_.Dj(e));this.wa=d;this.Ba=b;this.W=[];this.V=null;a=new R4c(c);b=(c=_.C(this.request,_.fo,5))?c.getType():0;c=c?c.Nh():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.I(S4c,AR);S4c.prototype.refresh=function(){var a=this;i4c(this);this.V=new Q4c(this.request,this.wa,function(b){return a.Ba.then(function(c){return c.H(b)})});return CR(this.V,this.request.lh()||0)};S4c.prototype.N9=function(a){1==this.status||this.V&&a==this.request.lh()||(this.request.Ki(a),this.V?CR(this.V,a):this.refresh())};S4c.prototype.n_=function(){var a=new PQ;a.Dc(this.status);oWc(a,this.W.map(function(b){return _.Dj(b)}));return new _.xP(a,void 0,1!=this.status&&k4c(this.V),this.Ne())};
S4c.prototype.P9=function(a){var b=_.oa(this.W,function(c){return c.getId()==a.getId()});return a&&P4c(this.request,a)&&!_.Cj(a,M4c(a.getId()))?XMc(this.W,a,this.ta):b};var T4c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.I(T4c,ER);var U4c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};T4c.prototype.getKey=function(a){return a.toString()};
T4c.prototype.R4=function(a){var b=this;return new S4c(this.ha,this.ma,MP(this.W.Se()),function(c){return DR(b,c,!1)},a)};T4c.prototype.Bfa=function(a){var b=this;return new O4c(this.ha,this.ma,this.W,this.ka,function(c,d){return DR(b,c,d)},a)};T4c.prototype.V=function(a,b,c,d){U4c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));ER.prototype.V.call(this,a,b,c,d)};var V4c=function(){_.N.apply(this,arguments)};_.I(V4c,_.N);
var Y4c=function(a,b){b=W4c(b);var c=a.getItem(),d=X4c(c.getCapabilities());b.ET.forEach(function(e){_.AM(e.getItem(),c.km());e.getItem().ln(d.clone())});return b},a5c=function(a,b,c){var d=Z4c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new yQ(b),children:[]};$4c(a,d,c);return c},Z4c=function(a){var b={};a.map(function(c){c.getItem().Uh().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},$4c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push($4c(a,
b,{H:e,parent:c,children:[]}))});return c},c5c=function(a,b){var c=b.children.filter(function(h){return!_.xm(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.AM(f,a.km()),b5c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.xm(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},d5c=function(a){var b=a.children.filter(function(f){return!_.xm(f.H.getItem())});a=new Map;for(var c=[];b.length;){var d=b.pop(),
e=d.H.getItem();a.has(e.getId())||(c.push(_.lN(_.hN(new _.gN,e.getId()))),d.children.map(function(f){_.xm(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},W4c=function(a){var b=[],c=[];a.forEach(function(d){_.xm(d.getItem())||_.F(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{IQ:c,ET:b}},X4c=function(a){a=a.clone();var b=null!=_.F(a,34)?_.F(a,34):_.F(a,7),c=null!=_.F(a,35)?_.F(a,35):_.F(a,7);_.x(a,45,c);_.VHc(a,b);_.x(a,30,c);_.QHc(a,b);_.WHc(a,c);_.RHc(a,c);_.SHc(a,b);_.x(a,4,b);
_.JHc(a,c);_.OHc(a,b);_.NHc(a,_.F(a,7));_.IHc(a,_.F(a,10)||_.F(a,11));_.PHc(a,_.qm(a));_.x(a,18,void 0);_.x(a,13,void 0);_.x(a,10,void 0);_.THc(a,_.F(a,42));_.UHc(a,_.F(a,43));_.XHc(a,_.F(a,48));return a},b5c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.F(d,30);_.x(e,30,f);_.QHc(e,_.F(d,31));_.WHc(e,_.F(d,47));_.RHc(e,_.F(d,32));_.SHc(e,_.F(d,33));f=_.F(d,4);_.x(e,4,f);_.JHc(e,d.V());_.PHc(e,_.F(d,21));_.OHc(e,_.F(d,20));_.NHc(e,_.F(d,17));_.GHc(e,_.qm(d));_.HHc(e,_.F(d,7));
f=_.F(d,10);_.x(e,10,f);_.KHc(e,_.F(d,11));f=_.F(d,45);_.x(e,45,f);_.VHc(e,_.F(d,46));_.XHc(e,_.F(d,48));a=_.xm(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.AN(b)?(_.IHc(e,_.F(c,43)),_.UHc(e,_.F(c,43)),_.THc(e,_.F(c,42))):_.IHc(e,_.F(c,42)))},e5c=function(a){this.H=a;this.ha=new V4c;this.V=a.V;this.W=_.qe(new _.pe,306)},M3c=function(a,b){if(_.HO(a.H.H))if(GQ(b))if(b.rz())f5c(a,b);else{var c=b.Gc(),d=g5c(a,c),e=a.V.V.H(c);b=Y4c(b,d);U3c(a.H.V,b.ET);a.V.wa.H(b.IQ,a.W);h5c(a,c,"SD update | Update "+b.ET.length+
" item(s), "+b.IQ.length+" divergent items");if(d=bRc(a.H.ta,106017)){var f=ZQc(d);_.x(f,1,b.IQ.length);_.x(f,2,b.ET.length);d.V()}e||(a=a.V.wa,c&&(l_c(a,"Processing potential rejoin for TD: "+c),b=_.wk(_.sN(new _.he,[c]),_.iP(a.ma)),b=_.x(b,45,1),e=_.qe(new _.pe,306),_.xk(b,e),n_c(a),b=new eR(a.V,b),i_c(b,5E3).mb(a.ka.bind(a,b)),m_c(a),o_c(a,c)))}else if(_.A(a.H.H,86,!1)){c=b.Gc();e=a.V.V.H(c);if(e&&e.wc()&&_.AN(b.getItem()||e)){if(d=!!_.xm(e),!b.rz()){var h=b.getItem();f=_.xm(e)!=_.xm(h);h=h.km()!=
e.km();d=f||d&&h}}else d=!1;if(d)if(b.rz()){if(b=g5c(a,e.wc()),e=a.ha,d=(new _.vm).kc(c),b=(b=a5c(e,d,b))?d5c(b):[],a.H.V.ta(b),h5c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=bRc(a.H.ta,106009))c=YQc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=g5c(a,c.wc()),d=a.ha,c=b.getItem(),c=(e=a5c(d,c,e))?c5c(c,e):[],U3c(a.H.V,c),h5c(a,b.Gc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=bRc(a.H.ta,106010))b=YQc(a),_.x(b,1,c.length),a.V()}},f5c=function(a,b){var c=b.Gc();
b=g5c(a,c);b=W4c(b);var d=_.fe(b.ET,function(e){return _.lN(_.hN(new _.gN,e.getId()))});a.H.V.ta(d);a.V.wa.H(b.IQ,a.W);h5c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.IQ.length+" divergent items");if(a=bRc(a.H.ta,106016))c=ZQc(a),_.x(c,1,b.IQ.length),_.x(c,2,b.ET.length),a.V()},g5c=function(a,b){var c=new _.he;_.sN(c,[b]);_.x(c,45,2);return KVc(a.V.V,c)},h5c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},i5c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
i5c.prototype.EV=function(a,b){var c=this;if(!a.yM().length)return null;var d=t4c(this.H,a.Gc());if(!d)return null;for(var e=this.H.k6(a),f={},h=_.p(a.yM()),k=h.next();!k.done;f={vE:f.vE},k=h.next())if(k=k.value,f.vE=j5c(e,k.Kk(),a.Gc()),_.F(k,3))z4c(this.H,f.vE),_.Th(b,function(q){return function(){c.H.W.ha(c4c(q.vE))}}(f));else{for(var l=_.p(_.vj(k,_.aG,2)),n=l.next();!n.done;n=l.next())k5c(this,f.vE,n.value);k=_.p(_.y(k,4));for(l=k.next();!l.done;l=k.next())l5c(f.vE,l.value);DR(this.H,[f.vE],!1,
-1);b.then(function(q){return function(){return u4c(c.H,q.vE.getName())}}(f),function(q){return function(){return u4c(c.H,q.vE.getName())}}(f))}b.then(null,function(q){var t=a.Gc();B4c(c.ha,t);q=_.WM(q);_.x(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.n_()};
var j5c=function(a,b,c){var d=a.find(function(e){return b4c(e.getName(),b)});d||(d=VRc((new WP).wd(b),c),a.push(d));return d},k5c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new UP,d.kc(c.getId()),URc(b,b.V().concat([d])),m5c(d,c));if(1==VP(d))d.aqa(_.F(c,3));else if(12==VP(d))RRc(d,_.y(c,17));else if(2==VP(d))d.xqa(_.y(c,4));else if(3==VP(d))_.y(c,6).length?d.q1(_.y(c,6)):_.y(c,5).length&&(a=_.y(d,7).concat(_.y(c,5)),d.q1(a));else if(4==VP(d))ORc(d,_.y(c,7));
else if(5==VP(d))d.pqa(_.y(c,8));else if(6==VP(d))_.y(c,10).length?d.o1(_.y(c,10)):_.y(c,9).length&&(a=d.Dia().concat(_.y(c,9)),d.o1(a));else if(7==VP(d))d.gqa(_.y(c,11));else if(8==VP(d))_.y(c,13).length?d.b1(_.y(c,13)):_.y(c,12).length&&(a=_.y(d,12).concat(_.y(c,12)),d.b1(a));else if(10==VP(d))PRc(d,a.V(_.y(c,14)));else if(11==VP(d))_.y(c,16).length?QRc(d,_.y(c,16).map(a.V)):_.y(c,15).length&&QRc(d,d.W().concat(_.y(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(VP(d)+
"."),new _.pb(d,new _.ob);},l5c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==VP(a))_.x(a,5,void 0);else if(12==VP(a))_.x(a,17,void 0);else if(2==VP(a))_.x(a,6,void 0);else if(3==VP(a))a.q1([]);else if(4==VP(a))_.x(a,8,void 0);else if(5==VP(a))_.x(a,9,void 0);else if(6==VP(a))a.o1([]);else if(7==VP(a))_.x(a,11,void 0);else if(8==VP(a))a.b1([]);else if(10==VP(a))PRc(a,void 0);else if(11==VP(a))QRc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(VP(a)+"."),
new _.pb(a,new _.ob);},m5c=function(a,b){null!=_.y(b,3)?a.fw(1):null!=_.y(b,17)?a.fw(12):null!=_.y(b,4)?a.fw(2):_.y(b,6).length||_.y(b,5).length?a.fw(3):null!=_.y(b,7)?a.fw(4):null!=_.y(b,8)?a.fw(5):_.y(b,10).length||_.y(b,9).length?a.fw(6):null!=_.y(b,11)?a.fw(7):_.y(b,13).length||_.y(b,12).length?a.fw(8):null!=_.y(b,14)?a.fw(10):(_.y(b,16).length||_.y(b,15).length)&&a.fw(11)};i5c.prototype.V=function(a){return _.CHc(_.BHc(1),a)};
var n5c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ba=e;this.wa=f;this.W=k;this.Ga=h;this.ha=0};n5c.prototype.apply=function(a,b){var c=this;if(!_.xO(a))return b;var d;a instanceof _.KN?d=o5c(this,a,b):a instanceof _.QN?d=p5c(this,b):a instanceof _.aN?d=q5c(this,a,b):a instanceof _.FN?d=r5c(this,a,b):a instanceof _.iO&&(d=this.ta.EV(a,b));d&&(this.ha++,this.ka.setActive(!1),_.Th(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Oh(d):b};
var o5c=function(a,b,c){w4c(a.V,b.getId());var d=a.H.V.H(b.getId());_.Th(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.WM(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.vO).Dc(1)},p5c=function(a,b){var c=(new _.he).Rn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});x4c(a.V,c);_.Th(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.WM(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.vO).Dc(1)},r5c=function(a,b,c){var d=b.wc(),e=a.H.V.H(d);if(!e)return null;e=_.Dj(e);MZc(a.H,[e],[157]);var f=e.Sj();s5c(f,_.vj(b,_.um,2));t5c(f,_.vj(b,_.um,3));GP(a.H,[e],-1,void 0,void 0,[157]);_.Th(c,function(){Y3c(a.H,d)}).then(function(h){GP(a.H,[h.vY()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.WM(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return pSc(new aQ,e).Dc(1)},s5c=function(a,b){var c={};b=_.p(b);for(var d=b.next();!d.done;c=
{j3:c.j3},d=b.next())c.j3=d.value,_.vj(a,_.um,8).some(function(e){return function(f){return f.Kk()==e.j3.Kk()}}(c))||_.zj(a,8,c.j3,_.um,void 0)},t5c=function(a,b){var c=b.map(function(d){return d.Kk()});b=_.vj(a,_.um,8).filter(function(d){return!c.includes(d.Kk())});cNc(a,b)},q5c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.wc()&&0==b.mh())return null;var e=_.y(b,10),f=_.y(b,9);if(0<e.length&&0<f.length&&(e=Object.values(JVc(a.H.V,e.concat(f))).map(function(k){return k.wc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.Dj(d);u5c(a,b,h);GP(a.H,[h],-1,void 0,void 0,UQc(a.wa));c.then(function(){return Y3c(a.H,b.getId())},function(){Y3c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.WM(k);if(63==k.Pi()){var l=h.getId();_.x(k,22,l);_.x(k,23,f[0])}_.x(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.UO((new _.vO).setItem(h),h.getId()).Dc(1)},u5c=function(a,b,c){null!=b.Qf()&&c.ol(b.Qf());null!=b.Wh()&&_.gIc(c,b.Wh());null!=b.Ub()&&_.zM(c,
b.Ub());null!=_.y(b,7)&&_.oDc(c,_.y(b,7));null!=_.F(b,11)&&_.cIc(c,_.F(b,11));null!=_.F(b,4)&&c.Kq(_.F(b,4));null!=_.F(b,16)&&_.fIc(c,_.F(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.mh()&&(c.Rn(b.mh()),_.eIc(c,b.mh()));null!=b.hp()&&_.tN(LNc(c,!0),b.hp());_.y(b,8).length&&_.QO(c,_.y(b,8));if(_.y(b,9).length){var d=new Set(c.Uh());_.y(b,9).forEach(function(n){return d.add(n)});_.QO(c,_.mc(d).concat())}if(_.y(b,10).length){var e=new Set(c.Uh());_.y(b,10).forEach(function(n){return e.delete(n)});
_.QO(c,_.mc(e).concat());var f=c.np();f&&_.y(b,10).includes(f)&&_.x(c,46,void 0)}if(!c.np()){var h=a.Ga();f=c.Uh().find(function(n){var q=a.H.V.H(n);return q&&!!q.np()||n==h});_.x(c,46,f||void 0)}c.Uh().length&&(f=a.H.V.H(c.Uh()[0]))&&_.jIc(c,f.wc());if(f=_.C(b,_.sm,25)){var k=_.C(c,_.sm,111)||new _.sm;null!=_.F(f,1)&&_.LO(k,_.F(f,1));null!=_.y(f,2)&&_.YHc(k,_.y(f,2));_.R(c,111,k)}var l=_.y(c,120);_.y(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.y(b,32).forEach(function(n){_.na(l,n)});_.x(c,
120,l||[])};n5c.prototype.ma=function(a,b){var c=this,d=_.Zn(new _.Xn,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.gr().zd()[0];GP(c.H,[_.Dj(e)],1)},function(){b&&GP(c.H,[_.Dj(b)],1)})};
var v5c=function(a){return a.getName()||""},w5c=function(a){return a.getId()||""},x5c=function(a){return _.mGc[a.Cg()]},y5c=function(a){return _.oGc[a.getType()]},dOc=function(a,b){return[x5c,y5c,v5c,w5c].reduce(function(c,d){var e;0!=c?e=c:e=_.za(d(a),d(b));return e},0)},z5c=function(a,b,c,d,e,f,h){this.H=a;this.ta=b;this.V=c;this.ha=d;this.ka=e;this.W=f;this.ma=h};
z5c.prototype.apply=function(a,b){var c=this;b instanceof _.vO&&8==b.Fb()||(a instanceof _.EN||a instanceof _.GN||a instanceof _.oO||a instanceof _.aN||a instanceof _.kO||a instanceof _.gHc||a instanceof _.rO?GP(this.H,[_.Dj(b.getItem())],1):a instanceof _.KN?(b=_.lN(_.hN(new _.gN,a.getId())),this.H.ta([b])):a instanceof _.NN?(b=_.lN(_.cGc(_.hN(new _.gN,a.getId()),a.getId())),this.H.ta([b]),M3c(this.ta,b)):a instanceof _.QN?(b=(new _.he).Rn(!0),b=this.H.V.query(b).map(function(d){return _.lN(_.hN(new _.gN,
d.getId()))}),this.H.ta(b)):"undefined"!=typeof _.IN&&a instanceof _.IN?this.V.remove(a.V()):"undefined"!=typeof _.SN&&a instanceof _.SN||"undefined"!=typeof _.hO&&a instanceof _.hO?this.V.cEa(_.C(b,_.bQ,2)):"undefined"!=typeof _.LN&&a instanceof _.LN?cOc(this.H,a):"undefined"!=typeof _.tD&&a instanceof _.tD?this.ha.remove(a.getKey()):"undefined"!=typeof _.TN&&a instanceof _.TN?eOc(this.H,a,b.nY()):"undefined"!=typeof _.uD&&a instanceof _.uD?A5c(this.ha,b.Twa()):a instanceof _.HN||a instanceof _.lO?
DR(this.ka,[b.V()],!1):a instanceof _.ON?DR(this.ka,[M4c(a.getId())],!1):a instanceof _.$Gc?DR(this.W,b.response.V(),!1,1):a instanceof _.iO?(a.yM().filter(function(d){return _.F(d,3)}).forEach(function(d){return c.W.removeItem(d.Kk()||"",a.Gc())}),B4c(this.ma,a.Gc()),this.H.hb(a.Gc())):"undefined"!=typeof _.dP&&a instanceof _.dP&&a.V().forEach(function(d){switch(d.getFeature()){case 3:case 1:switch(d=d.V(),d.getType()){case 1:case 2:if(d=c.H.V.H(d.Gc()))d=_.hN(rQc(),d.getId()).setItem(_.Dj(d)),c.H.ta([d])}}}))};
var B5c=function(a){this.H=a};
B5c.prototype.V=function(a){if(a instanceof _.dO){var b=this.H.H(a.getId());if(!b)return new _.ob;var c=(new _.aN).kc(a.getId());if(b.wc()){var d=b.getCapabilities();_.rm(d)||d.V()?c.Rn(!0):_.bN(c,!1)}else d=a.getParent(),1==b.km()?c.Rn(!0):d?(b=this.H.H(d),!b||_.F(b.getCapabilities(),7)?lQc(c,[d]):_.bN(c,!1)):_.bN(c,!1);return c}if("undefined"!=typeof _.eO&&a instanceof _.eO)return nQc(mQc(lQc(kQc((new _.aN).kc(a.getId()),a.EUa()),a.FUa()),a.GUa()),a.DUa());if(a instanceof _.fO){b=this.H.H(a.getId());
if(!b)return new _.ob;c=(new _.aN).kc(a.getId());b.wc()?(d=b.getCapabilities(),_.rm(d)||d.V()?c.Rn(!1):_.bN(c,!0)):(d=a.getParent(),1==b.km()?c.Rn(!1):d?(b=this.H.H(d),!b||_.qm(b.getCapabilities())?kQc(c,[d]):_.bN(c,!0)):_.bN(c,!0));return c}return a instanceof _.jP?new _.oO(a):"undefined"!=typeof _.GR&&a instanceof _.GR?a.V().map(function(e){var f=new _.iO;e=_.x(f,1,e);f=a.yM();e=_.yj(e,2,f);f=a.ke();return _.R(e,3,f)}):a};var C5c=function(){};
C5c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.XN&&a instanceof _.XN?(a=a.getId()||"",_.Bc(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.JN&&a instanceof _.JN&&(a=a.getId()||"",_.Bc(a)&&(b="Tried to delete backup with no id."));return b?_.WM(b):null};
var fOc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},D5c=function(a,b,c,d,e){_.ELc.call(this,a,b,d,e);this.Ba=c;this.ta=new XWc(this.ka,b);this.W=new fZc(this.Wz);this.wa=new eYc(this.Wz,this.W);this.ha=null};_.I(D5c,_.ELc);var E5c=function(a){a.ha||(a.ha=new TYc(a.ka,a.Ba));return a.ha};
D5c.prototype.ma=function(a,b){if(a instanceof _.BN)return _.tLc(_.ILc(a));if(a instanceof _.CN)return _.GLc(this,a,b);if(a instanceof _.$Gc)return F5c(this,a.request,b);if(a instanceof _.DN)return _.GLc(this,a,b);if(a instanceof _.FN){if(!b.json)throw _.nP();return pSc((new aQ).Dc(1),gZc(this.W,b.json))}if(a instanceof _.EN)return _.GLc(this,a,b);if("undefined"!=typeof _.dP&&a instanceof _.dP)return new lRc;if(a instanceof _.HN)return G5c(a,b);if("undefined"!=typeof _.IN&&a instanceof _.IN)return aYc(void 0,
a.V());if("undefined"!=typeof _.JN&&a instanceof _.JN)return new IWc;if(a instanceof _.KN)return _.tLc(_.ILc(a));if("undefined"!=typeof _.LN&&a instanceof _.LN)return new OQ;if(a instanceof _.MN||a instanceof _.NN)return _.tLc(_.ILc(a));if("undefined"!=typeof _.tD&&a instanceof _.tD)return b=new iWc,a=a.getKey(),_.R(b,4,a);if(a instanceof _.ON)return G5c(a,b);if(a instanceof _.QN)return _.tLc(_.ILc(a));if(a instanceof _.YGc){if(!b.json)throw _.nP();return new DUc(b.json.exportJob.id)}if("undefined"!=
typeof _.RN&&a instanceof _.RN){if(!b.json)throw _.nP();a=b.json;b=new eWc;a=$Xc(a);return _.R(b,2,a).Dc(1)}if("undefined"!=typeof _.SN&&a instanceof _.SN)return H5c(a,b);if("undefined"!=typeof _.TN&&a instanceof _.TN){if(!b.json)throw _.nP();a=(new OQ).Dc(1);b=_.uLc(this.Wz,b.json);return _.R(a,2,b)}if(a instanceof _.IM){a:{if(!b.json)throw _.nP();if(a instanceof _.IM){if((a=a.hd())&&_.UN(a)){b=BYc(this.V,this.H,b.json);break a}if(a&&_.VN(a)){b=AYc(this.V,this.H,b.json);break a}if(a&&_.WN(a)){b=
zYc(this.V,this.H,b.json);break a}}b=_.pLc(this.Wz,b.json,b.headers)}return b}if("undefined"!=typeof _.XN&&a instanceof _.XN){if(!b.json)throw _.nP();return dYc(b.json)}if(a instanceof _.YN){if(!b.json)throw _.nP();b=b.json;_.kP(["drive#appList"],b);a=new MQ;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push($Xc(d[e]));a=_.yj(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Dc(1)}if("undefined"!=typeof _.ZN&&a instanceof _.ZN){if(!b.json)throw _.nP();return cYc(b.json)}if(a instanceof _.cN)return I5c(this,
b);if(a instanceof _.$N){if(!b.json)throw _.nP();a=new hWc;d=this.Wz;e=b.json;c=new KQc;d=_.vLc(d,e,"items");c=_.yj(c,2,d);a=_.R(a,1,c);return _.x(a,2,NVc(b.json))}if("undefined"!=typeof _.aO&&a instanceof _.aO){if(!b.json)throw _.nP();a=this.Wz;d=b.json;b=new MQc;_.kP(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.rLc(a,d[e]);c.push(f)}return _.yj(b,2,c)}if(a instanceof _.yM)return J5c(a,b);if(a instanceof _.bO){if(!b.json)throw _.nP();return eZc(b.json)}if(a instanceof
_.dHc){if(!b.json)throw _.nP();return XYc(E5c(this),b.json)}if(a instanceof _.$F){if(!b.json)throw _.nP();a=E5c(this);c=b.json;b=new RQ;a=WYc(a,c);return _.R(b,2,a).Dc(1)}if(a instanceof _.cO){if(!b.json)throw _.nP();b=b.json;_.kP(["drive#remainingCount"],b);a=new vWc;c=b.nextPageToken;null!=c&&_.x(a,2,Number(c));_.x(a,1,Number(b.remainingCount));return a}if(a instanceof _.eo){if(!b.json)throw _.nP();return(new _.YB).gw([gZc(this.W,b.json)])}if(a instanceof _.sO){if(!b.json)throw _.nP();a=(new _.YB).gw(hZc(this.W,
b.json));a=_.XIc(new _.VO,a);return _.x(a,3,NVc(b.json))}if("undefined"!=typeof _.hO&&a instanceof _.hO)return H5c(a,b);if(a instanceof _.iO)return F5c(this,a,b);if(a instanceof _.aN||a instanceof _.jO)return _.GLc(this,a,b);if(a instanceof _.kO)return K5c(this,b);if("undefined"!=typeof _.uD&&a instanceof _.uD){if(!b.json)throw _.nP();b=jZc(b.json);a=new iWc;a=_.R(a,3,b);b=b.getKey();return _.R(a,4,b)}if(a instanceof _.lO)return G5c(a,b);if(a instanceof _.mO){if(!b.json)throw _.nP();return ZWc(this.ta,
b.json)}if("undefined"!=typeof _.nO&&a instanceof _.nO){if(!b.json)throw _.nP();b=lZc(b.json);a=new _.sP;a.ZL().set(b.getId(),b);return a}if(a instanceof _.ZGc){if(!b.json)throw _.nP();a=b.json;b=new wUc;a=_.p(Object.entries(a));for(c=a.next();!c.done;c=a.next())switch(d=_.p(c.value),c=d.next().value,d=d.next().value,c){case "nextPageToken":_.rj(b,2,d);break;case "activities":c=VXc(d),_.yj(b,1,c)}return b}if(a instanceof _.oO)return K5c(this,b);if("undefined"!=typeof _.qO&&a instanceof _.qO)return I5c(this,
b);if(a instanceof _.aHc){if(!b.json)throw _.nP();return new CUc}if(a instanceof _.bHc){if(!b.json)throw _.nP();return iOc(b)}if(a instanceof _.cHc){if(!b.json)throw _.nP();c=b.json;b=new _.bo;_.kP(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=jZc(c[d]))&&a.push(e);return _.Fva(b,a)}if(a instanceof _.co){if(!b.json)throw _.nP();return pZc(this.V,this.H,b.json).Dc(1)}if("undefined"!=typeof _.gO&&a instanceof _.gO){if(!b.json)throw _.nP();return nZc(this.V,this.H,b.json)}if(a instanceof
_.tO){if(!b.json)throw _.nP();a=b.json;_.kP(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new dWc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.hHc)return new EUc(NVc(b.json?b.json:{}));if(a instanceof _.iHc)return new FUc;if(a instanceof _.jHc){if(!b.json)throw _.nP();return mZc(b.json)}};
var G5c=function(a,b){if(!b.json){if(a instanceof _.ON)return qZc({});throw _.nP();}return qZc(b.json)},K5c=function(a,b){if(!b.json)throw _.nP();a=gZc(a.W,b.json);return(new _.vO).Dc(1).setItem(a)},F5c=function(a,b,c){if(!c.json)throw _.nP();return VYc(E5c(a),b,c.json)},H5c=function(a,b){if(!b.json)throw _.nP();return aYc(b.json,a.V())},I5c=function(a,b){if(!b.json)throw _.nP();a=a.wa;var c=b.json;_.kP(["drive#about","drive#changeList"],c);b=new gWc;var d=c.nextPageToken;null!=d&&_.x(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.x(b,3,Number(d));if("drive#changeList"==c.kind){_.kP(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.kP(["drive#change"],h);var k=new _.gN;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.cGc(k,h.teamDriveId),_.hN(k,h.teamDriveId)):_.hN(k,h.fileId);h.file?k.setItem(_.qLc(f.H,h.file)):h.teamDrive&&k.setItem(gZc(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.lN(k);d.push(k)}_.yj(b,4,d)}return b},J5c=function(a,b){var c=new KWc;if(_.y(a,6).length){var d=
[];tNc(_.y(a,6),b.headers).forEach(function(e,f){e=_.gDc(new _.xM,f).jc(e);d.push(e)});_.yj(c,1,d)}LWc(c,b.json?JSON.stringify(b.json):b.text);return c},L5c=function(a){var b=new _.fp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.qGc[a]);_.aP(b,c.join(" "))}return b.toString()},M5c=function(a,b,c,d){this.H=b;this.W=d;this.ka=a};_.I(M5c,_.PLc);
M5c.prototype.ha=function(a,b,c){try{return _.PLc.prototype.ha.call(this,a,b,c)}catch(J){}var d=0,e={},f="GET",h={},k=!1;if(a instanceof _.CN){f="POST";var l="admin/files/"+a.getId()+"/migrateToTeamDrive";h.fields="kind,id,parentId,teamDriveId";h.fileId=a.getId();var n=OVc(a);e["content-type"]="application/json";k=!0}else if(a instanceof _.DN){f="POST";l="files/"+a.Gc()+"/authorize";h.appId=_.y(a,1);_.F(a,3)&&(h.propagate=!0);var q=a.ke();k=!0;_.hP(this.H,h)}else if(a instanceof _.oO)f="POST",l="teamdrives/"+
a.requestId,h.fields=BQ(this.H),n={},n=(n.name=a.request.getTitle(),n),e["content-type"]="application/json",k=!0;else if(a instanceof _.HN)f="POST",l="workspaces",h.fields="kind,id,title,createdDate,modifiedDate,state",n=QVc(a),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.EN)f="POST",l="files/"+a.getId()+"/copy",h.fields=_.OGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),kI:_.$M(this.H)}),h.convert=_.A(a,4,!1),n=PVc(a),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,
h),_.QLc(this.H,h);else if("undefined"!=typeof _.IN&&a instanceof _.IN)f="DELETE",l="apps/"+a.V(),h.appId=a.V(),h.deleteAppData=!!a.W(),q=a.ke(),k=!0;else if("undefined"!=typeof _.JN&&a instanceof _.JN)f="DELETE",l="backups/"+a.getId(),d=9;else if(a instanceof _.KN)f="DELETE",l="files/"+a.getId(),q=a.ke(),k=!0,_.hP(this.H,h),_.QLc(this.H,h);else if("undefined"!=typeof _.LN&&a instanceof _.LN)f="DELETE",l="files/"+a.Gc()+"/permissions/"+a.V(),q=a.ke(),k=!0,_.hP(this.H,h);else if(a instanceof _.MN)f=
"DELETE",l="files/"+a.Gc()+"/revisions/"+_.y(a,2),q=a.ke(),k=!0;else if(a instanceof _.NN)f="DELETE",l="teamdrives/"+a.getId(),q=a.ke(),k=!0;else if("undefined"!=typeof _.tD&&a instanceof _.tD)f="DELETE",a=a.getKey(),l="settings/"+_.y(a,2),_.ao(a)&&(h.namespace=_.eGc[_.ao(a)]),k=!0;else if(a instanceof _.ON)f="DELETE",l="workspaces/"+a.getId(),q=a.ke(),k=!0;else if(a instanceof _.QN)f="DELETE",l="files/trash",q=a.ke(),k=!0,_.QLc(this.H,h);else if("undefined"!=typeof _.RN&&a instanceof _.RN)l="apps/"+
a.V(),q=a.ke(),k=!0,h.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if("undefined"!=typeof _.XN&&a instanceof _.XN)l="backups/"+a.getId()+"/items",d=9,h.languageCode=MP(this.H.Se());else if("undefined"!=typeof _.SN&&a instanceof _.SN)f="POST",l="apps",h.appId=a.V(),q=a.ke(),k=!0;else if("undefined"!=typeof _.TN&&a instanceof _.TN)f="POST",l="files/"+a.Gc()+"/permissions",h.fields=_.$M(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",
h.emailMessage=a.nZa()||"",h.sendNotificationEmail=!a.$Za(),n={},1==a.Cg()?n.role="owner":3==a.Cg()?n.role="writer":4==a.Cg()?(n.role="reader",n.additionalRoles=["commenter"]):2==a.Cg()&&(n.role="reader"),1==a.getType()?n.type="user":2==a.getType()?n.type="group":3==a.getType()?n.type="domain":4==a.getType()?n.type="anyone":5==a.getType()&&(n.type="audience"),a.tb()&&(n.value=a.tb()),n.withLink=!a.vZa(),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,h);else if(a instanceof _.YGc)d=
8,f="POST",l="/v1/exports",e["content-type"]="application/json",n=_.y(a,1).map(function(J){return{id:J}}),n={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:n,locale:null};else if(a instanceof _.IM||"undefined"!=typeof _.dP&&a instanceof _.dP||a instanceof _.co||"undefined"!=typeof _.gO&&a instanceof _.gO)if(b=a instanceof _.IM?a.hd():a,_.yO(b)){d=10;f="POST";l="/v1/items";e["content-type"]="application/json";n={};var t=9==_.FO(this.H)?"WEB_MOBILE":"WEB_DESKTOP",v={};v.applicationType=
aVc(this.H);v.platformType=t;v.languageCode=MP(this.H.Se());v.timeZone=(new _.Tv).xY();v.requestType="LIVE_REQUEST";a instanceof _.IM&&(t=a.getOptions())&&_.A(t,10,!1)&&(v.requestType="BACKGROUND_REQUEST");b instanceof _.he?_.UN(b)?(200<=_.FO(this.H)&&300>_.FO(this.H)?v.scenarioType="ONE_PICK":v.scenarioType="QUICK_ACCESS",2==_.DO(b)&&(n.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.y(b,33)[0]}),_.BO(b).length&&(n.itemType=$Uc(b))):_.VN(b)?v.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":
_.WN(b)&&(v.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.dP&&b instanceof _.dP?(l="/v1/userfeedback",n.userFeedback=b.V().map(function(J){var X=J.V(),T={},la={};la.feedbackType=qSc[X.getType()];T.item=la;T.clientInfo=v;switch(J.getFeature()){case 1:v.scenarioType="DRIVE_PRIORITY";la.itemId=X.Gc();break;case 3:v.scenarioType="QUICK_ACCESS";la.itemId=X.Gc();break;case 2:v.scenarioType="DRIVE_WORKSPACES",la.itemId=X.Gc(),la.childItem=X.V().map(function(Fa){var Da={};Da.itemId=Fa.Gc();return Da})}return T})):
b instanceof _.co?v.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.gO&&b instanceof _.gO?(v.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",n.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.OLc(a);"undefined"!=typeof _.dP&&b instanceof _.dP||(n.maxSuggestions=b.lh(),n.clientInfo=v)}else{q=b.ke();k=!0;l="files";h.q=_.KJc(b);t=[];var z;(z=_.ZM(this.H))&&_.A(z,4,!1)?(z=_.qa(this.Bg(c),
this.Bg(c,b.Oh())),_.ya(z)):z=_.ra(this.Bg(c));_.F(this.H,87)&&111==jOc(a)&&(z=z.filter(function(J){return 1!=J}));var B=void 0,E=!1;0<_.vj(b,_.sk,5).length&&(B=_.y(this.H.hf(),50),E=!0);h.fields=aNc({fields:z,Wv:_.KM(this.H.Se()),AV:B||void 0,kI:_.$M(this.H),P5a:E});h.appDataFilter="NO_APP_DATA";0<_.vj(b,_.AO,25).length&&(h.sources=_.DJc(b));0<b.Rt().length&&(h.spaces=_.EJc(b));a.Jm()&&(h.pageToken=a.Jm());(a=a.getOptions())&&_.D(a,1,1E3)&&(h.maxResults=_.D(a,1,1E3));_.A(b,36,!1)&&(h.includeUnsubscribed=
!0);_.y(b,43)&&(h.rawUserQuery=_.y(b,43));_.hP(this.H,h);_.HO(this.H)&&(h.includeTeamDriveItems=!0,0<_.y(b,33).length&&2==_.DO(b)&&(a=_.y(b,33)[0],h.teamDriveId=a,t.push(a)),h.corpora=_.UIc[_.DO(b)]);_.F(b,18)&&(_.hf(h,"corpora"),h.corpus="DOMAIN");_.A(this.H,89,!1)&&(a=_.vj(b,_.uk,63),0<a.length?_.RLc(this,a,e):(a=_.CO(b),z=_.vj(b,_.zO,35),B=_.vj(b,_.zO,38),t=t.concat(a.filter(function(J){return!_.A(J,2,!1)}).map(function(J){return J.tb()})).concat(z.map(function(J){return J.tb()})).concat(B.map(function(J){return J.tb()})),
N5c(this,t,e)));vNc(h,b.ve());_.SLc(this.H,h);_.TLc(this.H,h)}else if(a instanceof _.YN){l="apps";switch(a.getType()){case 1:h.fields=_.sGc;break;case 2:h.fields=_.tGc;break;case 4:h.fields=_.uGc;break;case 3:d=5,l="apps",h.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",h.appQueryScope="all_webstore",b.ZF=!0}h.languageCode=MP(this.H.Se());0<_.y(a,
3).length&&(h.appFilterExtensions=_.y(a,3).join(","));0<_.y(a,4).length&&(h.appFilterMimeTypes=_.y(a,4).join(","));q=a.ke();k=!0}else if("undefined"!=typeof _.ZN&&a instanceof _.ZN)l="backups",d=9,h.languageCode=MP(this.H.Se());else if(a instanceof _.cN)l="changes",h.includeDeleted=_.A(a,3,!0),h.includeSubscribed=_.A(a,4,!0),h.maxResults=a.RI(),h.startChangeId=_.y(a,1),h.fields=$Mc({fields:this.Bg(c),AV:_.HO(this.H)?BQ(this.H,a.Oh()):void 0,Wv:_.KM(this.H.Se()),kI:_.$M(this.H)}),h.appDataFilter="NO_APP_DATA",
a.wc()||(h.filters="DRIVE_DATASERVICE"),q=_.lj(this.H.hf(),31),q.length&&(h.spaces=_.fe(q,function(J){return _.mDc[J]}).join(",")),_.hP(this.H,h),_.HO(this.H)&&(h.includeCorpusRemovals=!0,h.includeTeamDriveItems=!0,a.wc()&&(h.teamDriveId=a.wc())),q=a.ke(),k=!0;else if(a instanceof _.$N)q=a.hd(),l="files/"+q.getId()+"/permissions",h.fields=_.$M(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",
a.Jm()&&(h.pageToken=a.Jm()),_.y(a,1)&&(h.maxResults=_.y(a,1)),q=q.ke(),k=!0,_.hP(this.H,h),_.SLc(this.H,h),_.TLc(this.H,h);else if("undefined"!=typeof _.aO&&a instanceof _.aO)h.fields=_.$M(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
h.maxResults=a.lh(),l="files/"+a.Gc()+"/revisions",q=a.ke(),k=!0;else if(a instanceof _.eo)l="teamdrives/"+a.Ol()[0],h.fields=BQ(this.H,a.Oh()),q=a.ke(),k=!0;else if(a instanceof _.hHc)f="POST",l="admin/files/migrateToTeamDrivePreFlight",n=RVc(a),e["content-type"]="application/json",k=!0;else if(a instanceof _.sO)q=a.hd(),l="teamdrives",h.fields=JUc(this.H,q.Oh()),h.q=KUc(q),a.Jm()&&(h.pageToken=a.Jm()),(q=(q=a.getOptions())&&_.D(q,1,1E3))&&(h.maxResults=q),q=a.hd().ke(),k=!0;else if(a instanceof
_.tO)l="teamdrives/"+a.wc(),h.fields="kind,id,recursiveFileCount,recursiveFolderCount",k=!0;else if("undefined"!=typeof _.hO&&a instanceof _.hO)f="PUT",l="apps/"+a.V(),h.appId=a.V(),n={},n.useByDefault=a.ka(),a.W()&&(n.hasAppData=!1),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.aN)f="PUT",l="files/"+a.getId(),h.fields=_.OGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),kI:_.$M(this.H)}),h.modifiedDateBehavior="DRIVE_UI",h.updateViewedDate=!!_.F(a,15),h.fileId=a.getId(),_.y(a,
9).length&&(h.addParents=_.y(a,9).join(",")),_.y(a,10).length&&(h.removeParents=_.y(a,10).join(",")),_.y(a,31).length&&(h.addWorkspaces=_.y(a,31).join(",")),_.y(a,32).length&&(h.removeWorkspaces=_.y(a,32).join(",")),null!=_.F(a,24)&&(h.confirmed=_.F(a,24)),h.languageCode=MP(this.H.Se()),n=SVc(a),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,h),this.V(a.getId(),h),_.F(a,36)?h.bypassMultiparentingCheck=!0:_.QLc(this.H,h),_.A(this.H,89,!1)&&(b=_.vj(a,_.uk,38),b.length?_.RLc(this,b,e):
(b=_.y(a,9).concat(_.y(a,10)),b.push(a.getId()),N5c(this,b,e)));else if(a instanceof _.jO)f="PUT",l="files/"+a.Gc()+"/revisions/"+_.y(a,2),n=TVc(a),e["content-type"]="application/json",q=a.ke();else if(a instanceof _.kO)l="teamdrives/"+a.getId(),null!=a.Cl()?(f="POST",l+="/"+(a.Cl()?"hide":"unhide")):(f="PUT",n=UVc(a),e["content-type"]="application/json"),h.fields=BQ(this.H),q=a.ke(),k=!0;else if(a instanceof _.lO)f="PUT",l="workspaces/"+a.getId(),h.fields="kind,id,title,createdDate,modifiedDate,state",
n=VVc(a),e["content-type"]="application/json",q=a.ke(),k=!0;else if("undefined"!=typeof _.uD&&a instanceof _.uD)f="PUT",n=a.V(),q=n.getKey(),l="settings/"+_.y(q,2),(q=_.ao(q))&&(h.namespace=_.eGc[q]),n=XNc(n),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.mO)l="about",h.fields=_.$M(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)",h.fields=kOc(h.fields,this.H),q=a.ke(),k=!0;else if(a instanceof _.yM){d=11;f=a.PC();l=a.getUrl();var L=_.y(a,5)||"";_.vj(a,_.xM,2).forEach(function(J){e[J.getKey()]=J.tb()});_.vj(a,_.xM,4).forEach(function(J){h[J.getKey()]=
J.tb()});_.F(a,7)&&(b.efb=!0);_.F(a,8)&&(b.ZF=!0);_.F(a,9)&&(b.q$=!0)}else a instanceof _.$Gc?(l="files/"+a.request.Gc()+"/listCategoryMetadata",q=a.request.ke(),a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.fields="kind,nextPageToken,categoryMetadata"):a instanceof _.iO?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/updateCategoryMetadata",q=a.ke(),n={categoryMetadata:a.yM().map(function(J){var X=_.vj(J,_.aG,2).map(function(la){return{id:la.getId(),
userId:la.ay(),setBooleanValue:_.F(la,3),setTextValue:_.y(la,4),setTextValues:_.y(la,6),addTextValues:_.y(la,5),setLongTextValue:_.y(la,7),setSelectionValue:_.y(la,8),setSelectionValues:_.y(la,10),addSelectionValues:_.y(la,9),setIntegerValue:_.y(la,11),setIntegerValues:_.y(la,13),addIntegerValues:_.y(la,12),setUserValue:_.y(la,14),setUserValues:_.y(la,16),addUserValues:_.y(la,15),setDateStringValue:_.y(la,17)}}),T={categoryName:J.Kk()};X.length?T.categoryAttributeValueDeltas=X:_.y(J,4).length?T.revertAttributeIds=
_.y(J,4):_.F(J,3)&&(T.removeCategory=_.F(J,3));return T})}):a instanceof _.bO?(d=13,l=_.KM(this.H.Se())?"/v2/people/public":"/v2/people",h.person_id=a.Ol(),h["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],h["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],h["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.KM(this.H.Se())||(h["core_id_params.enable_private_names"]=!0)):a instanceof _.dHc?(d=12,
l="/v1/categories/-/published",e["content-type"]="application/json",a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.$outputDefaults=!0,h.languageCode=MP(this.H.Se())):a instanceof _.$F?(d=12,l="/v1/"+a.getName(),e["content-type"]="application/json",h.$outputDefaults=!0,h.languageCode=MP(this.H.Se())):a instanceof _.FN?(e["content-type"]="application/json",f="POST",l="drives/"+a.wc()+"/changeCategoryReferences",q=a.ke(),k=!0,h.fields=BQ(this.H,[157],!0),n={},
b=_.vj(a,_.um,2),b.length&&(n.addCategoryReferences=b.map(function(J){return{category:J.Kk()}})),a=_.vj(a,_.um,3),a.length&&(n.removeCategoryReferences=a.map(function(J){return J.Kk()}))):"undefined"!=typeof _.nO&&a instanceof _.nO?(l="workspaces/"+a.Ol()[0],h.fields="kind,id,title,createdDate,modifiedDate,state",q=a.ke(),k=!0):a instanceof _.ZGc?(d=7,f="POST",l="/v2/activity:query",e["content-type"]="application/json",n={},n.pageSize=a.pageSize,a.pageToken&&(n.pageToken=a.pageToken),b="items/"+a.request.getId(),
a.request.RZa()?n.ancestorName=b:n.itemName=b,n.consolidationStrategy={legacy:{}}):a instanceof _.aHc?(d=8,f="POST",l="/v1/exports/"+a.H+":cancel"):a instanceof _.bHc?(d=8,l="/v1/exports/"+a.H):"undefined"!=typeof _.qO&&a instanceof _.qO?(l="changes",h.fields="kind,largestChangeId",_.hP(this.H,h),_.HO(this.H)&&(h.includeTeamDriveItems=!0,a.Me&&(h.teamDriveId=a.Me)),k=!0):a instanceof _.cHc?(l="settings",h.namespace=YNc(a.H),q=a.request.ke(),k=!0):a instanceof _.jHc?(l="workspaces",h.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",
a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.q=L5c(a.request),(q=_.C(a.request,_.fo,5))&&1==q.getType()&&(h.orderBy="title"),q=a.request.ke(),k=!0):a instanceof _.cO?(l="changes/getRemainingCount",h.pageToken=_.y(a,2),null!=_.y(a,3)&&(h.supportsTeamDrives=!0,h.includeTeamDriveItems=!0,h.teamDriveId=a.wc()),q=a.ke()):a instanceof _.BN?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/sendAccessRequest",n={}):_.OLc(a);k&&_.ULc(c,h);return _.VLc(d,
l,h,e,f,q,n,L)};M5c.prototype.V=function(a,b){a=this.ka.V.H(a);b.expectedParentIds=a?a.Uh().join(","):[]};
var N5c=function(a,b,c){b&&b.length&&(a=JVc(a.ka.V,_.mc(new Set(b)).concat()),a=Object.values(a).filter(function(d){return null!=_.y(d,140)}).map(function(d){return _.vk((new _.uk).kc(d.getId()),_.y(d,140))}),a.length&&(c["X-Goog-Drive-Resource-Keys"]=_.yB(a)))},O5c=function(a,b,c){this.R0=_.Sh();var d=new B5c(a.V.V),e=a.rb.bind(a);e=new n5c(a.V,a.wa,new i5c(a.Md,a.Cu,e),a.Wf,this.R0.promise,a.Ja,a.uq.bind(a),e);var f=new z5c(a.V,a.Uj,a.Zc,a.Ma,a.Nm,a.Md,a.Cu);this.W=new _.hJc;this.ka=new _.xKc(a.H,
a.kd);var h=new M5c(a.V,a.H,this.R0.promise,a.Ja);this.V=new D5c(a.Ja,a.H,a.W,a.Tv,function(){return a.Vb});this.ha=kVc(a.H,new _.WKc(this.ka,this.W,h,this.V,a.Qa,a.Hc,a.Ib),a.Hc,a.W,a.ka,a.V.V,this.W,this.R0.promise,a.Ib||void 0);this.R0.resolve(c?c:new _.tKc(new C5c,d,this.ha,e,f,a.H,this.H.bind(this),b))};O5c.prototype.H=function(){return _.cf(this.ha,function(a){return SQc(a)})};
var P5c=function(a){var b=new Map,c=Date.now();_.$e(a.ha,function(d,e){d=TQc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},Q5c=function(a,b){this.W=b||new Date;this.V=a;this.H=ZMc(this.V)};Q5c.prototype.clone=function(){return new Q5c(this.V,this.W)};var R5c=function(){this.H=null;this.V=[]},S5c=function(a){return _.fe(a.V,function(b){return _.kf(b)})};
R5c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new QWc;e.W=PWc(d.H);var f=_.kg().substring(0,8);d=ZMc(f);f=(new LQ).kc(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=PWc(d);e.H=NWc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,RWc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var U5c=function(a,b){var c=this;this.H=a;this.Ma=b;this.wa=null;this.ka=0;this.uG=this.$d=!1;this.ha=_.Sh();this.Ba=null;this.W=a.H;b=_.NP(this.W);this.Ja=new _.WLc(_.D(b,2,37500),_.D(b,3,6E5));this.V=null;this.ta=a.Db;this.ma={};_.$e(WVc,function(d){c.ma[d]=[]});this.Ka=this.Ga=!1;zQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){HR(c,"Initializing: loaded from local dump");T5c(c)});zQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){HR(c,"Initializing: loaded from sdk backfill");T5c(c)});zQ(a.ha,["mrK8ic",
"BNEDtc"],function(){HR(c,"Updating: sdk backfill complete");c.o2().Vf(_.Ie)})},T5c=function(a){a.Ga||(a.Ga=!0,sR(a.H).mb(function(b){a.ta.initialize().xf(function(){a.wa=b;a.setActive(!0)},function(c){c&&PQc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.vN(c));HR(a,"Error initializing dump storage");a.yO()})}))};_.g=U5c.prototype;_.g.kEa=function(a){this.$d&&(this.ka+=a,this.ka>_.D(_.NP(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.uG)&&this.$d!=a){var b=this.H;a&&(b.lc.H()||0<b.V.wa.W||b.ka.Ef()||b.Rg.Ef())||((this.$d=a)?(this.ha.resolve(),this.V||this.o2().Vf(_.Ie)):(this.ha=_.Sh(),_.m.clearTimeout(this.Ba)))}};_.g.yO=function(){this.uG=!0};_.g.Lza=function(){return this.V?this.V.promise:_.Oh()};
_.g.o2=function(){var a=this;if(this.V)return this.V.promise;this.V=_.Sh();_.Th(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return v1c(a.H.Ga)}).then(function(b){var c=!b;a.uG?a.V.resolve(c):_.yo([V5c(a,3,c),V5c(a,0,c,void 0,!0),V5c(a,1,c,void 0,!0),V5c(a,5,c,void 0,!0),V5c(a,6,c,void 0,!0)]).xf(function(){return a.V.resolve(c)},function(d){d=d&&_.EM(d)?d instanceof _.pb?d:new _.pb("Failed to update dump",void 0,d):new _.pb(d||"Failed to update dump");a.V.reject(d)})},function(){a.V.reject(Error("mg"))});
return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.Hj;this.ha.promise.then(function(){return v1c(c.H.Ga)}).then(function(e){e=!e;c.uG?d.callback():_.Mj(V5c(c,a,e,b),d)});return d};
var V5c=function(a,b,c,d,e){var f=_.ba(a.ma[b]);if(f){if(f.encrypt==c&&1<a.ma[b].length)return f.Yf.Gk();var h=new _.Hj;_.Lj(f.Yf,function(){_.Mj(W5c(a,b,c,d,e),h)})}else h=W5c(a,b,c,d,e);var k={encrypt:c,Yf:h};a.ma[b].push(k);_.Lj(h,function(){_.oa(a.ma[b],function(l){return k==l})});h.Ae(function(l){a.ta.V.kh()?a.yO():l instanceof _.pb&&(l=l.V||null,l instanceof _.MM&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.yO());return null});
return h},W5c=function(a,b,c,d,e){var f=new _.Hj;a.ha.promise.then(function(){if(3==b)_.Mj(X5c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.tc;h=h.H?_.Dj(h.H):null;break;case 1:h=a.H.Zc.jma();break;case 5:h=Y5c(a.H.Ma);break;case 6:h=a.H.V.ma;h=mWc(new lWc,J2c(h.H));break;default:f.Bd("Invalid data type to write to storage.");return}if(h){var k=_.vj(_.NP(a.W),LP,11)[0].getKey();!k&&c?(HR(a,"Skipping dump update, encrypted and no key"),f.callback()):i1c(a.ta,c?k:null,[h]).then(f.callback,f.Bd,f)}else e?
(HR(a,"Skipping dump update: "+b),f.callback()):f.Bd("Failed to get data to write to dump.")}});return f},X5c=function(a,b,c){_.m.clearTimeout(a.Ba);a.Ba=_.m.setTimeout((0,_.K)(a.Qa,a),a.Ja.tb());if(b&&0==a.ka)return _.Oj();a.ka=0;var d=_.vj(_.NP(a.W),LP,11)[0].getKey();if(!d&&c)return HR(a,"Skipping dump update, encrypted and no key"),_.Oj();var e=[];_.$e(uUc,function(h){0<h&&(h=Z5c(a,h),h.length&&e.push(i1c(a.ta,c?d:null,h)))});var f=new _.Hj;_.Qh(e).then(function(){a.Ka&&rR(a.H.Ga,s1c,!0);f.callback()},
f.Bd,f);return f};U5c.prototype.Qa=function(){_.DH(this.Ja);this.update(3,!0)};
var Z5c=function(a,b){switch(b){case 1:return[$5c(a)];case 2:var c=(b=a.H.V.ka.H)?b.ty():[];c=a6c(a,_.oc(PNc(c)));HR(a,"Exporting "+c.length+" secondary dump items.");c.length>_.D(_.NP(a.W),5,2E4)&&(b&&$Q(b),c=[]);b=xQ(new wQ,b6c(c));c=a.H.V.ka;a=new UNc;(c=c.H)&&c.V&&(c=c.ty(),_.x(a,3,c.length));a=_.R(b,11,a);return[tUc(a,2)];case 3:return c6c(a);case 4:return d6c(a);default:throw new _.pb("Unsupported CacheType");}},$5c=function(a){var b={},c=[],d=_.A(a.W,79,!1);d=u_c(a.H.V.ka,d);for(var e=0;e<
d.length;e++){var f=d[e],h=f.ty(),k=a6c(a,EP(h));h=k.length;var l=0<h?k[h-1]:null;_.Ga(k,function(n){b[n.getId()]=n});if(0<h||f.W)k=lUc(new vQ,f.hd()),f.W||(_.x(k,2,h),_.R(k,3,l)),c.push(k)}d=_.oc(b);HR(a,"Exporting "+d.length+" initial dump items.");return tUc(rUc(xQ(pUc(sUc(qUc(new wQ,a.H.uq()),_.iP(a.Ma)),a.wa.fEa(null)),b6c(d)),c),1)},c6c=function(a){if(!_.HO(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.fEa(d.wc());if(e){var f=a6c(a,EP(d.ty()));HR(a,"Exporting "+
f.length+" TD dump items for: "+d.wc());e=tUc(pUc(xQ(new wQ,b6c(f)),e),3);d=lUc(new vQ,d.hd());rUc(e,[d]);b.push(e)}});return b},d6c=function(a){if(!_.HO(a.W))return[];var b={},c=[];J3c(a.H.V).forEach(function(d){1==d.H&&(EP(d.ty()).forEach(function(e){b[e.getId()]=e}),d=mUc(lUc(new vQ,new _.he),d.hd()),c.push(d))});return[_.x(tUc(rUc(xQ(new wQ,b6c(Object.values(b))),c),4),6,!1)]},a6c=function(a,b){b=ONc(b);_.F(a.W,67)&&(b=e6c(b));_.$M(a.W)&&(b=Y2c(a.H.V.ma,b));return b.filter(function(c){return 4!=
BP(c)})},e6c=function(a){var b=[];a=_.p(a);for(var c=a.next();!c.done;c=a.next())c=c.value,qNc(c)?(c=c.clone(),zP(c,pNc),b.push(c)):b.push(c);return b},b6c=function(a){return a.map(function(b){return _.Dj(b)})},HR=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};U5c.prototype.Cla=function(){this.Ka=!0};var f6c=function(){};_.g=f6c.prototype;_.g.setActive=function(){};_.g.yO=function(){};_.g.update=function(){return _.Oj()};_.g.Lza=function(){return _.Oh()};_.g.o2=function(){return _.Oh()};
_.g.kEa=function(){};_.g.Cla=function(){};
var HP=function(a,b,c,d){_.O.call(this);var e=this;this.W=d||new _.dJc;this.te=a;this.H=b.clone();this.Ja=new _.OKc(this.H);a=_.ZM(this.H);this.ma=new TUc(_.iP(this.Ja),_.KM(this.H.Se()),!(!a||!_.A(a,1,!1)));g6c(this);this.Ld=new _.Rm;this.qx=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Ld.resolve();e.ta.H(106020)},1E4);this.Am=null;this.ag=new _.Hj;this.Eu=!0;this.ka=new _.kMc(_.GO(this.H),_.A(this.H.hf(),52,!1));this.Rg=new _.bMc(_.GO(this.H)?3:1,!_.A(this.H.hf(),
52,!1));this.ta=_.BMc(this.H,this.ka,this.Rg,this.W,this.Ld.promise,c);this.Zg=null;this.Tn=new u2c(this.ta);this.Cc=new _.Hj;this.Ei=[];h6c(this)};_.I(HP,_.O);
var i6c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.qx);a.Ld.resolve()},h6c=function(a){var b=function(){j6c(a).Vf(_.Ie)},c=a.te;(c=c&&_.lb(c,_.bk))?_.Bd(c,"A",b):_.XM()||_.Bd(_.m,"unload",b)},j6c=function(a){a.ta.H(106005);dRc(a.ta);var b=a.Ei.map(function(c){return c()});_.ja(a.Ei);return _.Rh(b).then()},k6c=function(a,b){a.Ei.push(b)},G_c=function(a,b,c){"string"===typeof b&&null===a.Am&&(a.Am=b,a.ag.callback(b),b.length&&a.Rv(b,c||null))};
HP.prototype.Rv=function(){};HP.prototype.uq=function(){return this.Am};var l6c=function(a){if(!a.Zg)throw Error("ng");return a.Zg},m6c=function(a,b){a.Zg=b};HP.prototype.bEa=function(){return this.Eu||this.Rg.isConnected()};HP.prototype.sx=function(a){this.Cc.callback(a)};
var g6c=function(a){var b=a.H.hf();0==_.y(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.x(b,19,3));if(!_.D(b,37,""))throw Error("og");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.x(b,57,"https://clients6.google.com"));if(_.A(_.NP(a.H),9,!1))if(b=_.vj(_.NP(a.H),LP,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.GO(a.H)&&!_.A(a.H,10,!1))throw Error("pg");}else _.x(_.NP(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.A(_.NP(a.H),9,!1)&&(_.GO(a.H)||_.A(a.H,10,!1)))throw Error("qg");var c=a.H.Se();b=!(!c||!_.KM(c));c=c&&_.EO(c)||"";if(!b&&!c)throw Error("rg");b&&_.Gma(a.H,[]);_.vj(a.H,_.he,44).forEach(function(d){try{XUc(a.ma,d)}catch(e){if(e instanceof _.pb&&(d=e.qg)&&3==d.Sr())throw Error("sg");throw e;}})};HP.prototype.aEa=function(){return 0};HP.prototype.rb=function(a){this.dispatchEvent(new _.qb(new _.pb(void 0,a)))};HP.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var n6c=function(a,b){this.H=a;this.V=b},o6c=function(a,b,c){_.O.call(this);this.ta=a;this.ka=b;this.ma=c;this.H=new Map;this.W=new Map;this.ha=6;this.V=null};_.I(o6c,_.O);
var I_c=function(a,b,c,d,e){if((e=void 0===e?!1:e)&&!d.length){var f=new Set;b.forEach(function(q){(q=(q=q.getKey())&&_.ao(q))&&f.add(q)});_.mc(f.values()).concat().forEach(function(q){return void d.push(q)})}if(d.length){var h=_.vGc.has(c),k=new Map;d.forEach(function(q){k.set(q,new Map)});b.forEach(function(q){var t=q.getKey(),v=t&&_.ao(t);t=t&&_.y(t,2);v=k.get(v);t&&v&&v.set(t,p6c(q))});var l=0,n=0;_.mc(k.keys()).concat().forEach(function(q){var t=k.get(q),v=a.H.get(q);v?h&&(t.forEach(function(z){var B=
z.getKey();(B=v.get(B&&_.y(B,2)))&&_.Cj(z,B)||l++}),_.mc(v.values()).concat().forEach(function(z){z=z.getKey();t.has(_.y(z,2))||n++}),a.H.set(q,t),a.W.set(q,c)):(l+=t.size,a.H.set(q,t),a.W.set(q,c))});a.ta.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+b.length+" user prefs from "+c+(n?" (removed "+n+")":""));if(1!=a.ha||l){if(h||e)a.ha=1,AQ(a.ka,"px2C2c");AQ(a.ka,"rkYxSd")}(l||n)&&q6c(a,!h)}};o6c.prototype.hy=function(){return 0<this.H.size};
var q6c=function(a,b){b||a.V||(a.V=_.m.setTimeout(function(){_.m.clearTimeout(a.V);a.V=null;a.ma.update(5)},1E3));a.dispatchEvent(new _.Qg("WPi0i"))},A5c=function(a,b){var c=b.getKey(),d=c&&_.ao(c);c=c&&_.y(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=p6c(b);e&&_.Cj(b,e)||(d.set(c,b),q6c(a))}};o6c.prototype.remove=function(a){var b=a&&_.ao(a);a=a&&_.y(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&q6c(this)};
var Y5c=function(a,b){var c=[];(b||_.mc(a.H.keys()).concat()).forEach(function(e){(e=a.H.get(e))&&_.mc(e.values()).concat().forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):_.mc(a.H.keys()).concat();var d=new nRc;_.yj(d,1,c);_.x(d,2,b||[]);return d};
o6c.prototype.KF=function(a){var b=this,c=Y5c(this,a),d=new _.bo;d.Dc(this.ha);_.Fva(d,c.yw());_.R(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.wGc.has(f)&&Infinity>_.wGc.get(f)&&(e=f)});return new n6c(d,e)};
var p6c=function(a){a=a.clone();a.Ph()||a.jc("");return a},r6c=function(a){var b=a.a,c=a.b,d=a.c;b=b-c-d^d>>>13;c=c-d-b^b<<8;d-=b;d=d-c^c>>>13;b-=c;b-=d;b^=d>>>12;c=c-d-b^b<<16;d-=b;d=d-c^c>>>5;b-=c;b-=d;b^=d>>>3;c=c-d-b^b<<10;d-=b;d=d-c^c>>>15;a.a=b;a.b=c;return a.c=d},s6c=function(a){return 127<a?a-256:a},t6c=function(a,b){return s6c(a[b])+(s6c(a[b+1])<<8)+(s6c(a[b+2])<<16)+(s6c(a[b+3])<<24)},u6c=function(a){var b=0,c=a.length,d={a:-1640531527,b:-1640531527,c:314159265},e;for(e=c;12<=e;e-=12,b+=
12)d.a+=t6c(a,b),d.b+=t6c(a,b+4),d.c+=t6c(a,b+8),r6c(d);d.c+=c;switch(e){case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.b+=t6c(a,b+4);d.a+=t6c(a,b);break;case 7:d.b+=(a[b+6]&255)<<16;case 6:d.b+=(a[b+5]&255)<<8;case 5:d.b+=a[b+4]&255;case 4:d.a+=t6c(a,b);break;case 3:d.a+=(a[b+2]&255)<<16;case 2:d.a+=(a[b+1]&255)<<8;case 1:d.a+=a[b]&255}return r6c(d)},JP=function(a,b,c,d,e,f){HP.call(this,a,b,c,d);var h=this;this.Lb=new _.Xd;this.Pa(this.Lb);this.Gu=_.Sh();
this.ha=e?e:new BUc(this.W);this.ta.ha.V=this.ha;this.hb=_.A(_.NP(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?v6c(this,b):null;this.Wa=new MUc(MP(b.Se()));this.Ka=new vVc;this.qj=null;this.Oe=_.Sh();this.Ga=w6c(this,this.hb);this.Db=x6c(this,this.hb,b);this.wa=y6c(this);this.V=new A3c(this,this.Ja);this.tc=new rZc(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return z6c(h,k)});this.Zc=new zZc(this.W,this.ha,this.wa);this.Ma=new o6c(this.W,this.ha,this.wa);
this.Bs=new _.Hj;this.Du=null;this.Hc=new BZc(this.tm(),this.W,function(k){return void h.rb(k)});this.Ib=_.A(this.H.hf(),52,!1)?new _.CMc(this.Rg,this.tm(),this.W):null;this.Wf=new v4c;this.ie=null;this.Hu=_.Sh();zQ(this.ha,["mrK8ic"],function(){h.Hu.promise.then(function(){H_c(h,h.ie)})});this.Hi=new _.Hj;this.Tv=new _.ALc(this.H);this.Qa=new _.QKc(this.H,this.V.V);this.Uj=new e5c(this);this.Md=new y4c(this.Oe.promise,this.tm());this.Cu=new A4c(this.tm(),this.Md);this.kd=new R5c;this.Nm=new T4c(this.Oe.promise,
this.tm(),this.W,this.H);this.lc=new O5c(this,this.p8a.bind(this),f);this.Gu.resolve(this.lc);this.Ba=new x_c;this.Sv=new H4c(this);this.qh=new vZc;this.Ge=_.Sh();this.Es=!1;this.Fs=_.Sh();zQ(this.ha,["BNEDtc"],function(){return h.Fs.resolve()});(this.Vb=_.D(b.Se(),6,"")||"")&&z6c(this,this.Vb);this.Vn=null;k6c(this,function(){h.wa.yO();return _.Oh()})};_.I(JP,HP);
var v6c=function(a,b){var c=_.EO(b.Se()),d=_.FO(b),e=function(){},f=_.vj(_.NP(b),LP,11);f=f[0]&&_.y(f[0],1);var h=new h0c(c,d,_.D(_.NP(b),10,0)||0,f||"",_.iP(a.Ja));_.GO(b)?c=T0c(c,d).then(function(l){return l?l:h}):_.A(b,10,!1)&&0<_.D(_.NP(b),8,432E6)?(b=A6c(a,c),c=T0c(c,d,b).then(function(l){return l&&(e=function(n){return n.Qk(h).Vf(function(){return null})},!l.ta)?l:h})):c=_.Oh(h);var k=new mR(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},A6c=function(a,
b){var c=_.D(_.NP(a.H),8,432E6);if(!_.GO(a.H)&&0<c)return Math.abs(u6c(_.cka(b)))%c};JP.prototype.gA=function(a){var b=this;return this.hb?this.hb.kh()?_.Ph(Error("tg`"+D0c(this.hb))):v1c(this.Ga).then(function(c){var d=b.hb,e=[];e.push(b.wa.Lza());e.push(a?d.Qk():P0c(d));if(a===c)return _.Qh(e).then(function(){return!1});!1===a&&(e.push(C0c(d)),(c=b.uq())&&e.push(rR(b.Ga,o1c,c)));return _.Qh(e).then(function(){return b.Ga.gA(a)},function(){return!1})}):_.Ph(Error("ug"))};
var x6c=function(a,b,c){var d=null;b&&(d=new $0c(b,c,function(e){a.rb(e)}),d.initialize());return d},w6c=function(a,b){var c=new t1c(b||void 0);c.uq().then(function(d){d&&G_c(a,d,5)});b&&(v1c(c).then(function(d){a.ka.gA(d)}),_.Qh([b.initialize(),a.Ld.promise]).then(function(){B6c(a,c)},function(){}));return c},B6c=function(a,b){y1c(b).then(function(c){(!c||c<Date.now()-864E5)&&W0c(_.EO(a.H.Se()),_.FO(a.H),a.W).then(function(d){d&&(d=Date.now(),rR(b,r1c,d))},function(){})})},y6c=function(a){if(!a.Db)return new f6c;
var b=new U5c(a,a.Ja);a.Lb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ef())});a.Lb.listen(a.Rg,_.mc(Object.values(xUc)).concat(),function(){return void b.setActive(a.Rg.isConnected())});return b};JP.prototype.px=function(a){this.Du=a;this.Bs.callback(a)};var sR=function(a){return a.Bs.Gk()},C6c=function(a){return a.hb?a.hb.kh():null},D6c=function(a,b){a.ha.H("NSockf")?AQ(a.ha,b):zQ(a.ha,["NSockf"],function(){AQ(a.ha,b)})};
JP.prototype.Rv=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ka.H=a||"",this.ma.W=a||"",6!=b&&1!=b||rR(this.Ga,o1c,a),D6c(this,"jroI5d"))};var z6c=function(a,b){_.A(a.H,15,!1)||(a.Vb=b,D6c(a,"NVkrgc"))};JP.prototype.Ds=function(){return this.Hi.Gk()};var H_c=function(a,b,c){0>b||(c?a.ie?a.ie=Math.max(a.ie,b):(a.ie=b,a.Hu.resolve()):a.Hi.Ie()||(a.Hi.callback(b),D6c(a,"T8oKm")))},cR=function(a){if(!a.qj)throw Error("vg");return a.qj};_.g=JP.prototype;_.g.tm=function(){return this.Gu.promise.then(function(a){return a.R0.promise})};
_.g.Bla=function(){this.Es||(this.Es=!0,this.Ge.resolve(),AQ(this.ha,"aU7Ts"))};_.g.bEa=function(){throw Error("wg");};_.g.p8a=function(){this.lc.H()||this.dispatchEvent("Pb")};_.g.aEa=function(){return this.V.V.W()};
var c2c=function(a){a.Vn||(a.Vn=new E4c(a.Oe.promise,a.tm(),a.W));return a.Vn},E6c=function(a){_.Me("drive.DebugUtil.printFindById",function(c){a.jM(c).mb(function(d){window.console.log(JSON.stringify(d))})});_.Me("drive.DebugUtil.getLogs",function(){return _.gJc(a.L9())});_.Me("drive.DebugUtil.printLogs",function(){window.console.log(_.gJc(a.L9()))});_.Me("drive.DebugUtil.printRequestHistory",function(){a.gma().mb(function(c){c.forEach(function(d){window.console.log(_.y(d,1));window.console.log(_.y(d,
2))})})});_.Me("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Za();b&&_.A(b,1,!1)&&(_.Me("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Me("drive.DebugUtil.setOffline",function(c){return void a.Qk(c)}))},IR=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.wa=a;this.Ka=b;this.Qa=c;this.hc=e;this.Wa=d;this.Ma=f;this.H=[];this.items=[];this.ma=6;this.Ba=lOc(new _.iN,[1]);this.ta=!0;this.ha=e.lh();this.W=!1;this.suggestionSessionId=this.sessionId=this.ka=null;
this.V=0;_.od(this,function(){h.W=!1;h.H=[]})};_.I(IR,_.O);_.g=IR.prototype;_.g.di=function(){return String(_.xa(this))};_.g.xe=function(){return this.W};_.g.activate=function(){this.W=!0;_.ia(this.items)&&6==this.Fb()&&this.ij()||F6c(this)};_.g.hd=function(){return this.hc};_.g.lh=function(){return this.ha};_.g.Fb=function(){return this.ma};_.g.vq=function(){return this.Ba};_.g.ij=function(){return this.ta};
_.g.Kp=function(){var a=_.oN(_.rN.Eb(),this.H,this.items),b=(new kRc).Dc(this.Fb());a=_.yj(b,2,a);this.H=this.items;return a};_.g.Aq=function(a){this.W&&(this.ha+=a||50,this.Wa(this.di(),this.ha))};var G6c=function(a,b){return a.Fb()!=b.Fb()||PP(_.rN.Eb(),a.items,b.zd())},H6c=function(a,b){a.items=b.zd();a.ma=b.Fb();_.$M(a.Ma)&&(a.Ba=mOc(a.ma,a.items));a.ta=b.Aga();a.V=b.Ne()};
IR.prototype.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a query after "+a.LD+" retries.",a.error)))};IR.prototype.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};IR.prototype.rs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+DQ(this.wa,this.hd());return _.Pj(this.Ka.then(function(d){return d.ka(a,b,c.hd(),c.lh(),c.items)}))};
var F6c=function(a){a.xe()&&(I6c(a,"Returning "+a.items.length+" items. Status: "+(_.Nea(pRc)[a.Fb()]+". Datasource: ")+(_.Nea(eSc)[a.V]+". Query: ")+DQ(a.wa,a.hc)),J6c(a,a.items,a.hc),a.dispatchEvent(new _.Qg(_.bc,a)))},J6c=function(a,b,c){if(_.UN(c))c="quick access";else if(_.VN(c))c="people predict";else if(_.WN(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");I6c(a,"Returning "+b.length+" items for "+c+": "+d)};IR.prototype.refresh=function(){};
var I6c=function(a,b){a.Qa.info("drive.ds.sync.BaseViewCacheLiveList",b)},tOc=[90,59,75];_.r("sy12c");
var JR=function(a){_.Q(this,a,0,-1,null,null)};_.M(JR,_.P);JR.prototype.getType=function(){return _.y(this,1)};var K6c=function(a){var b=new JR;return _.x(b,1,a)};JR.prototype.nY=function(){return _.C(this,_.ok,2)};var L6c=function(a,b){return _.R(a,2,b)};JR.prototype.Ot=function(){return _.y(this,3)};JR.prototype.ou=function(a){return _.x(this,3,a)};JR.prototype.ai=function(){return _.y(this,4)};JR.prototype.setPosition=function(a){return _.x(this,4,a)};
var KR=function(a){_.Q(this,a,0,-1,null,null)};_.M(KR,_.P);KR.prototype.getType=function(){return _.y(this,1)};var M6c=function(a){var b=new KR;return _.x(b,1,a)},N6c=function(a,b){return _.R(a,2,b)};KR.prototype.Ot=function(){return _.y(this,3)};KR.prototype.ou=function(a){return _.x(this,3,a)};KR.prototype.ai=function(){return _.y(this,4)};KR.prototype.setPosition=function(a){return _.x(this,4,a)};
var LR=function(a){_.Q(this,a,0,-1,null,null)};_.M(LR,_.P);LR.prototype.getType=function(){return _.y(this,1)};var MR=function(a){var b=new LR;return _.x(b,1,a)},NR=function(a,b){return _.R(a,2,b)};LR.prototype.Ot=function(){return _.y(this,3)};LR.prototype.ou=function(a){return _.x(this,3,a)};LR.prototype.ai=function(){return _.y(this,4)};LR.prototype.setPosition=function(a){return _.x(this,4,a)};
var P6c=function(a){_.Q(this,a,0,-1,O6c,null)};_.M(P6c,_.P);var O6c=[2];P6c.prototype.Fb=function(){return _.y(this,1)};P6c.prototype.Dc=function(a){return _.x(this,1,a)};P6c.prototype.Pj=function(){return _.y(this,3)};
var Q6c=function(a){_.Q(this,a,0,-1,null,null)};_.M(Q6c,_.P);
var S6c=function(a){_.Q(this,a,0,-1,R6c,null)};_.M(S6c,_.P);var R6c=[2];S6c.prototype.Fb=function(){return _.y(this,1)};S6c.prototype.Dc=function(a){return _.x(this,1,a)};S6c.prototype.ej=function(){return _.vj(this,_.pN,2)};S6c.prototype.Ao=function(a,b){return _.zj(this,2,a,_.pN,b)};
var U6c=function(a){_.Q(this,a,0,-1,T6c,null)};_.M(U6c,_.P);var T6c=[2];U6c.prototype.Fb=function(){return _.y(this,1)};U6c.prototype.Dc=function(a){return _.x(this,1,a)};U6c.prototype.Ri=function(){return _.vj(this,KR,2)};
var V6c=function(a){_.Q(this,a,0,-1,null,null)};_.M(V6c,_.P);V6c.prototype.Fb=function(){return _.y(this,1)};V6c.prototype.Dc=function(a){return _.x(this,1,a)};
var X6c=function(a){_.Q(this,a,0,-1,W6c,null)};_.M(X6c,_.P);var W6c=[2];X6c.prototype.Fb=function(){return _.y(this,1)};X6c.prototype.Dc=function(a){return _.x(this,1,a)};X6c.prototype.Ri=function(){return _.vj(this,LR,2)};
var OR=function(a){_.Q(this,a,0,-1,null,null)};_.M(OR,_.P);OR.prototype.getType=function(){return _.y(this,1)};var Y6c=function(a){var b=new OR;return _.x(b,1,a)};OR.prototype.Ot=function(){return _.y(this,3)};OR.prototype.ou=function(a){return _.x(this,3,a)};OR.prototype.ai=function(){return _.y(this,4)};OR.prototype.setPosition=function(a){return _.x(this,4,a)};
var $6c=function(a){_.Q(this,a,0,-1,Z6c,null)};_.M($6c,_.P);var Z6c=[2];$6c.prototype.Fb=function(){return _.y(this,1)};$6c.prototype.Dc=function(a){return _.x(this,1,a)};$6c.prototype.Pj=function(){return _.y(this,3)};
var b7c=function(a){_.Q(this,a,0,-1,a7c,null)};_.M(b7c,_.P);var a7c=[2,4];b7c.prototype.Fb=function(){return _.y(this,1)};b7c.prototype.Dc=function(a){return _.x(this,1,a)};b7c.prototype.Pj=function(){return _.y(this,3)};
_.PR=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PR,_.P);_.PR.prototype.getType=function(){return _.y(this,1)};var c7c=function(a){var b=new _.PR;return _.x(b,1,a)};_.PR.prototype.Tu=function(){return _.C(this,_.JQ,2)};var d7c=function(a,b){return _.R(a,2,b)};_.PR.prototype.Ot=function(){return _.y(this,3)};_.PR.prototype.ou=function(a){return _.x(this,3,a)};_.PR.prototype.ai=function(){return _.y(this,4)};_.PR.prototype.setPosition=function(a){return _.x(this,4,a)};
var f7c=function(a){_.Q(this,a,0,-1,e7c,null)};_.M(f7c,_.P);var e7c=[2,4];
var h7c=function(a){_.Q(this,a,0,-1,g7c,null)};_.M(h7c,_.P);var g7c=[2];h7c.prototype.Fb=function(){return _.y(this,1)};h7c.prototype.Dc=function(a){return _.x(this,1,a)};h7c.prototype.Pj=function(){return _.y(this,3)};
var i7c=function(a){_.Qg.call(this,"Rb");this.dataType=a};_.I(i7c,_.Qg);
var j7c=function(a,b){_.Qg.call(this,"Sb");this.ha=a;this.H=b};_.I(j7c,_.Qg);
var k7c=function(){};_.g=k7c.prototype;_.g.cF=function(a,b){return kSc(jSc(1),a).setPosition(b)};_.g.aF=function(a,b){return kSc(jSc(2).setPosition(b),a)};_.g.KJ=function(a,b,c){return kSc(jSc(3).ou(b).setPosition(c),a)};_.g.aI=function(a,b){return kSc(jSc(4),a).setPosition(b)};_.g.zF=function(a){return _.C(a,WP,2)};
var l7c=function(){_.nN.call(this,new k7c,function(a){return a&&a.getName()})};_.I(l7c,_.nN);
var QR=function(a,b,c){_.O.call(this);var d=this;this.ha=a;this.Rg=b;this.limit=c||50;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.active=!1;this.status=6;this.Ka=lOc(new _.iN,[1]);this.ta=this.H=!1;_.od(this,function(){d.active=!1;d.Rd.removeAll()})};_.I(QR,_.O);_.g=QR.prototype;_.g.Ef=function(){return this.ha.Ef()||this.Rg.Ef()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Rd.listen(this.ha,"Cb",_.Ke(this.kq)),this.Rd.listen(this.Rg,_.mc(Object.values(xUc)).concat(),_.Ke(this.kq)),this.ha.Ef()?this.Rd.ad(this.ha,"Cb",function(b){b.Ef()||(a.$A(),a.dispatchEvent(new _.Qg(_.vq)))}):this.Rg.Ef()?this.Rd.ad(this.Rg,["wb","yb"],function(){a.$A();a.dispatchEvent(new _.Qg(_.vq))}):(this.$A(),this.dispatchEvent(new _.Qg(_.vq))))};_.g.$A=function(){};
_.g.Aq=function(a){var b=this;if(this.ij()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.kq();this.ha.Ef()?this.Rd.ad(this.ha,"Cb",function(d){d.Ef()||b.qH()}):this.qH()}};_.g.mG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Fb=function(){return this.status};_.g.vq=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.qb(a))};_.g.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};_.g.ij=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rd.removeAll();this.activate()};_.g.qH=function(){};
var m7c=function(a,b,c,d,e){QR.call(this,a,b,e.lh()||void 0);this.hc=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new l7c;this.wa=c};_.I(m7c,QR);_.g=m7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){return oSc(new $P,this.V).Dc(this.status)};_.g.Kp=function(){var a=_.oN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new mSc).Dc(this.status);return _.yj(b,2,a)};_.g.qH=function(){this.Ba(this.di(),this.limit)};
_.g.kq=function(){if(this.active){var a=this.status;this.mG();if(this.W||a!=this.status)n7c(this,"Returning "+this.V.length+" labels for "+this.hc.Gc()),this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};
_.g.update=function(a){var b=a.response;if(this.status!=b.Fb()||PP(0,this.V,b.V()))this.H=!0,this.status=b.Fb(),this.V=b.V(),this.ta=a.V,n7c(this,"Returning "+this.V.length+" labels for "+this.hc.Gc()),this.dispatchEvent(new _.Qg(_.bc,this))};_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a category metadata query after "+a.LD+" retries.",a.error)))};var n7c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var o7c=function(a,b,c){_.O.call(this);var d=this;this.ka=a;this.hc=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=lOc(new _.iN,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.hc.Ol().join(", "));_.od(this,function(){d.ha=!1;d.W=[]})};_.I(o7c,_.O);_.g=o7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.hd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.qP;a.Dc(this.V);a.H=this.H;return a};_.g.Kp=function(){var a=nOc(this.W,this.H),b=new iSc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ma};_.g.SK=function(a){var b=this.hc;this.hc=a;this.ta.Ja(this.di(),b,a)};
_.g.update=function(a){if(this.V!=a.Fb()||oOc(this.H,a.Ts()))this.V=a.Fb(),this.H=a.Ts(),_.$M(this.ka.H)&&(this.ma=mOc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a team drive find-by-IDs query after "+a.LD+" retries.",a.error)))};_.g.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var p7c=function(a,b,c,d,e,f){IR.call(this,a,b,c,e,f,d);this.Ja=null;this.Ga=void 0};_.I(p7c,IR);p7c.prototype.getData=function(){this.H=this.items;var a=XPc((new _.YB).Dc(this.Fb()).gw(this.items),this.ij());a=_.R(a,7,this.Ja);return _.pIc(a.gI(this.ka).setSessionId(this.sessionId).SW(this.suggestionSessionId).RW(this.V),this.Ga)};
p7c.prototype.update=function(a){G6c(this,a)&&(H6c(this,a),this.Ja=a.PW(),this.ka=a.jF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.QW(),this.Ga=a.V6(),F6c(this))};
var q7c=function(a,b){var c={};a=_.af(a,function(d){return!!d});b=_.af(b,function(d){return!!d});_.$e(a,function(d,e){var f=b[e];f?_.Cj(d,f)||(d=NR(MR(4),f),c[e]=d):(d=NR(MR(2),d),c[e]=d)});_.$e(b,function(d,e){a[e]||(d=NR(MR(1),d),c[e]=d)});return c},r7c=function(a,b){return _.df(a)!=_.df(b)||!_.gf(q7c(a,b))};
var s7c=function(a,b){_.O.call(this);this.hc=b;this.$d=!1;this.V=6;this.W={};this.H={}};_.I(s7c,_.O);_.g=s7c.prototype;_.g.activate=function(){this.$d||(this.$d=!0,_.gf(this.H)&&6==this.V||this.dispatchEvent(new _.Qg(_.bc,this)))};_.g.Fb=function(){return this.V};_.g.vq=function(){return new _.iN};_.g.getData=function(){this.W=this.H;var a=(new _.sP).Dc(this.V);_.$e(this.H,function(b,c){a.ZL().set(c,b||new _.WB)});return a};
_.g.Kp=function(){var a=q7c(this.W,this.H);this.W=this.H;var b=(new V6c).Dc(this.V);_.$e(a,function(c,d){_.nj(b,2,LR).set(d,c)});return b};_.g.SK=function(){throw Error("xg");};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){var b={};a.ZL().forEach(function(c,d){c||(c=M4c(d));b[d]=c});if(this.V!=a.Fb()||r7c(this.W,b))this.V=a.Fb(),this.H=b,this.$d&&this.dispatchEvent(new _.Qg(_.bc,this))};
_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Workspace find by id after "+a.LD+" retries.",a.error)))};_.g.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var t7c=function(){};_.g=t7c.prototype;_.g.cF=function(a,b){return NR(MR(1),a).setPosition(b)};_.g.aF=function(a,b){return NR(MR(2).setPosition(b),a)};_.g.KJ=function(a,b,c){return NR(MR(3).ou(b).setPosition(c),a)};_.g.aI=function(a,b){return NR(MR(4),a).setPosition(b)};_.g.zF=function(a){return _.C(a,_.WB,2)};
var u7c=function(){_.nN.call(this,new t7c,function(a){return a&&a.getId()})};_.I(u7c,_.nN);
var v7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.W=[];this.V=[];this.ka=!1;this.ma=new u7c};_.I(v7c,QR);_.g=v7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){this.W=this.V;return oWc((new PQ).Dc(this.status),this.V.slice(0))};_.g.Kp=function(){var a=_.oN(this.ma,this.W,this.V);this.W=this.V;var b=(new X6c).Dc(this.status);return _.yj(b,2,a)};_.g.qH=function(){this.wa.W(this.di(),this.limit)};
_.g.kq=function(){var a=this.status;this.mG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){var b=a.response;if(this.status!=b.Fb()||PP(0,this.V,b.Ri()))this.H=!0,this.status=b.Fb(),this.V=b.Ri(),this.ta=a.V,this.dispatchEvent(new _.Qg(_.bc,this))};
_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Workspace query after "+a.LD+" retries.",a.error)))};
var x7c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=a;this.wa=b;this.hc=f;this.Ba=d;this.Ga=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=lOc(new _.iN,[1]);this.ta=c;w7c(this,"Creating find by ids live map: "+this.hc.Ol().join(", "));_.od(this,function(){h.ha=!1;h.W=[]})};_.I(x7c,_.O);_.g=x7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.gf(this.H)&&6==this.V||y7c(this)};_.g.hd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.qP;_.$M(this.ka)?a.Dc(rNc(Object.values(this.H))?6:this.V):a.Dc(this.V);a.H=this.H;return a};_.g.Kp=function(){var a=nOc(this.W,this.H),b=new iSc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ma};_.g.SK=function(a){VUc(a);var b=this.hc;this.hc=a;this.Ga(this.di(),b,a)};
_.g.update=function(a){var b=this;0<=_.fa(this.hd().Ol(),"root")?this.Ba.mb(function(c){var d=a.Ts()[c];d&&(_.hf(a.H,c),a.H.root=d);z7c(b,a)}):z7c(this,a)};var z7c=function(a,b){if(a.V!=b.Fb()||oOc(a.H,b.Ts()))a.V=b.Fb(),a.H=b.Ts(),_.$M(a.ka)&&(a.ma=mOc(a.V,Object.values(a.H))),y7c(a)};x7c.prototype.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a find-by-IDs query after "+a.LD+" retries.",a.error)))};x7c.prototype.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var y7c=function(a){a.ha&&(w7c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Fb()+". Query: ")+DQ(a.wa,a.hc)),a.dispatchEvent(new _.Qg(_.bc,a)))},w7c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var A7c=function(a,b,c,d,e,f){IR.call(this,a,b,c,d,e,f);this.Ga=[]};_.I(A7c,IR);A7c.prototype.getData=function(){this.H=this.items;return iRc(hRc((new _.rP).Dc(this.Fb()).gw(this.items),this.ij()),this.Ga).gI(this.ka).setSessionId(this.sessionId).SW(this.suggestionSessionId).RW(this.V)};A7c.prototype.update=function(a){G6c(this,a)&&(H6c(this,a),this.Ga=_.vj(a,_.ok,6),this.ka=a.jF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.QW(),F6c(this))};
var B7c=function(){};_.g=B7c.prototype;_.g.cF=function(a,b){return N6c(M6c(1),a).setPosition(b)};_.g.aF=function(a,b){return N6c(M6c(2).setPosition(b),a)};_.g.KJ=function(a,b,c){return N6c(M6c(3).ou(b).setPosition(c),a)};_.g.aI=function(a,b){return N6c(M6c(4),a).setPosition(b)};_.g.zF=function(a){return _.C(a,cQ,2)};
var C7c=function(){_.nN.call(this,new B7c,function(a){return a&&a.V()})};_.I(C7c,_.nN);
var D7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new C7c;this.ma=null};_.I(D7c,QR);_.g=D7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){this.ka=this.V;return ISc((new dQ).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Kp=function(){var a=_.oN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new U6c).Dc(this.status);return _.yj(b,2,a)};
_.g.qH=function(){};_.g.kq=function(){var a=this.status;this.mG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){if(this.status!=a.Fb()||PP(0,this.V,a.Ri())){this.W=this.H=!0;this.V=a.Ri();if(a=a.getSessionId())this.ma=a;this.kq()}};_.g.refresh=function(){this.wa()};
_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Suggested Workspace query after "+(a.LD+" retries."),a.error)))};
var E7c=function(a,b,c){_.O.call(this);var d=this;this.hc=a;this.Ba=b;this.wa=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.lh();this.V=6;this.ta=lOc(new _.iN,[1]);this.W=!0;_.od(this,function(){d.ha=!1;d.ka=[]})};_.I(E7c,_.O);_.g=E7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.ia(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.Qg(_.bc,this))};_.g.hd=function(){return this.hc};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ta};
_.g.ij=function(){return this.W};_.g.getData=function(){this.ka=this.H;return XPc((new _.YB).Dc(this.V).gw(this.H),this.W)};_.g.Kp=function(){var a=_.oN(_.rN.Eb(),this.ka,this.H),b=(new kRc).Dc(this.V);a=_.yj(b,2,a);this.ka=this.H;return a};_.g.Aq=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.di(),this.ma))};
_.g.update=function(a){if(this.V!=a.Fb()||PP(_.rN.Eb(),this.H,a.zd()))this.H=a.zd(),this.V=a.Fb(),_.$M(this.wa)&&(this.ta=mOc(this.V,this.H)),this.W=a.Aga(),this.ha&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.lG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Team Drive query after "+a.LD+" retries.",a.error)))};_.g.nJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};_.g.rs=function(){throw Error("yg");};_.g.refresh=function(){};
var F7c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Nm;this.Ka=this.H.Md;this.ha={};this.Ba={};this.Ga={};this.V=null;this.wa=b};_.g=F7c.prototype;_.g.Cfa=function(a){var b=this,c=new p7c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Ffa=function(a){var b=this,c=new A7c(this.H.ma,this.H.Cc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
_.g.zfa=function(a){var b=this,c=new x7c(this.H.H,this.H.ma,this.H.W,this.H.ag,this.Ja.bind(this),a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Ifa=function(a){var b=this,c=new E7c(a,this,this.H.H);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Jfa=function(a){var b=this,c=new o7c(this.H,this,a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Kfa=function(a){var b=this,c=new v7c(this.H,a,this);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
_.g.Gfa=function(a){var b=this,c=new D7c(this.H,a,function(){if(a instanceof _.co){var d=c2c(b.H);t4c(d,d.getKey(a)).refresh()}});RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Lfa=function(a){var b=this,c=new s7c(this.H,a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.vfa=function(a){var b=this,c=new m7c(this.H.ka,this.H.Rg,this.H.W,function(d,e){return b.W(d,e)},a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
var RR=function(a,b){var c=b.di();a.ha[c]=b;a.wa.create(c,b.hd());b=b.hd()instanceof _.go?q4c(a.ma,c,b.hd()):"undefined"!=typeof _.nO&&b.hd()instanceof _.nO?r4c(a.ma,c,b.hd()):b.hd()instanceof _.co?q4c(c2c(a.H),c,b.hd()):b.hd()instanceof _.jG?q4c(a.Ka,c,b.hd()):F3c(a.ta,c,b.hd());"boolean"===typeof b&&v2c(a.wa,c,b)},SR=function(a,b){if(b.hd()instanceof _.go)s4c(a.ma,b.di(),b.hd());else if("undefined"!=typeof _.nO&&b.hd()instanceof _.nO){var c=a.ma,d=b.di(),e=b.hd(),f=c.H.get(c.getKey(e));f&&(f.H.delete(d),
0==f.H.size&&f.dispose(),f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.hd()instanceof _.co?s4c(c2c(a.H),b.di(),b.hd()):b.hd()instanceof _.jG?s4c(a.Ka,b.di(),b.hd()):G3c(a.ta,b.di(),b.hd());yR(a.wa,b.di(),4);delete a.ha[b.di()]};F7c.prototype.Ja=function(a,b,c){G3c(this.ta,a,b);F3c(this.ta,a,c)};
F7c.prototype.W=function(a,b){var c=QZc(this,a).hd();c.Ki(b);c instanceof _.go?q4c(this.ma,a,c):"undefined"!=typeof _.nO&&c instanceof _.nO?r4c(this.ma,a,c):c instanceof _.jG?q4c(this.Ka,a,c):F3c(this.ta,a,c)};
F7c.prototype.ka=function(){_.Zh(this.V);this.V=null;var a=Object.keys(this.Ba),b=Object.keys(this.Ga);a=_.p(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ba[c];if(d){delete this.Ba[c];var e=this.ha[c];e&&(x2c(this.wa,c,d),e.update(d))}}b=_.p(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.Ga[a])if(delete this.Ga[a],d=this.ha[a])yR(this.wa,a,3),d.lG(c)};var QZc=function(a,b){if(!a.ha[b])throw Error("zg`"+b);return a.ha[b]};
var TR=function(a,b){_.O.call(this);this.ka=a;this.hc=b;this.W=_.Sh();this.V=!1;this.H=""};_.I(TR,_.O);TR.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.hc)}).then(this.ta.bind(this)).Vf(this.ha.bind(this));return this.W.promise};TR.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new j7c(0,this.H));G7c(this)};var G7c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.bHc(a.H))}).then(a.wa.bind(a)).Vf(a.ha.bind(a))},5E3)};
TR.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new j7c(a.ka,this.H)),G7c(this);else{this.V=!0;if(4==a.status){var b=new f7c;b=_.x(b,2,a.H||[]);b=_.x(b,3,this.H);b=_.x(b,5,a.ma);b=_.x(b,6,a.W);b=_.x(b,7,a.wv);b=_.x(b,8,a.ha);a=_.yj(b,4,a.V);this.W.resolve(a)}else a=_.VM(_.nq(_.mq(new _.ob,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};TR.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.aHc(a.H))}).then(this.ma.bind(this)).Vf(this.ha.bind(this))};
TR.prototype.ma=function(){if(!this.V){var a=new f7c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};TR.prototype.ha=function(a){this.V=!0;this.W.reject(_.vN(a));this.dispose()};
var H7c=function(){_.Qg.call(this,"VbxEwf")};_.I(H7c,_.Qg);
var I7c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=I7c.prototype;_.g.Za=function(){return _.C(this.H.H,_.GM,58)};_.g.getContext=function(){return this.H};_.g.WDa=function(){var a=this.H.Qa,b=this.W,c=_.oc(a.H);a.V&&c.push(_.RKc("CacheSize",a.V.W()));c.push(_.RKc("InitialViewDataLoaded",b));a=new HQc;_.yj(a,1,c);return _.Oj(a)};_.g.L9=function(){return this.H.W};_.g.jM=function(a){return _.Oj(this.H.V.V.H(a))};_.g.gma=function(){return _.Oj(this.H.Qa.W.jh())};
_.g.Qba=function(a,b,c){var d=new _.Hj;if(_.C(a,_.IM,3)||_.C(a,_.sO,4)||_.C(a,_.jP,5)||_.C(a,_.kO,6)||_.C(a,_.NN,7)||_.C(a,_.GN,8)||_.C(a,_.KN,9)||_.C(a,_.aN,10)){var e=MVc(a);this.H.tm().then(function(f){return f.H(e,{Xlb:b,Ylb:c})}).then(this.y4a.bind(this,d),d.Bd,d);return d}throw Error("Ag");};
_.g.y4a=function(a,b){var c=[],d="";if(b instanceof _.VO){c=b.gr().zd();var e=_.y(b,2);d=b.Jm()}else if(b instanceof _.vO)b.getItem()&&c.push(b.getItem()),e=b.HI();else throw Error("Bg");a.callback({items:c,swa:e,pageToken:d})};_.g.jLa=function(){var a=this.H.H,b=a.hf();a="email:"+a.Se().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.yva=function(){this.H.wa.yO();var a=this.H.H;X0c(_.EO(a.Se()),_.FO(a),this.H.W).Vf(function(){})};_.g.zX=function(){return _.fFc[_.D(this.H.H.hf(),8,0)]};
_.g.fra=function(){this.H.kd.H=new Q5c(_.kg().substring(0,8))};_.g.M9=function(){var a=this.H.kd.H,b=null;a&&(b=S5c(this.H.kd),b={traceId:a,spanRecs:b});a=this.H.kd;a.H=null;a.V=[];return _.Oj(b)};_.g.XDa=function(){return _.Oj(this.H.kd.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.yi();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.H.aEa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.m_());b.cs_ch=u_c(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Du)&&(b.t_cps=c.c_a().join(","));b.t_id=C6c(this.H);var e=[];P5c(this.H.lc).forEach(function(f,h){e.push(h+
":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.Ib?this.H.Rg.isConnected():this.H.Hc.H;b.n_o=this.H.Ib?this.H.Rg.Ef():this.H.ka.Ef();b.n_csm=!!this.H.Ib;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Oj(JSON.stringify(b))};_.g.rKa=function(){this.V&&(this.V.dispatchEvent(new H7c),this.V.l_())};_.g.Qk=function(a){var b=this.H.Ib;b&&a!=b.H&&(b.H=a,_.ZKc(b),a?b.qc.update(3):_.PJc(b))};
var L7c=function(a,b){this.H=a;this.V=b;this.ha=_.PGc(VQc(this.V),J7c);this.W=_.PGc(VQc(this.V),K7c)},M7c=function(a,b){var c={};b.forEach(function(f){_.TGc(f);var h=f.getId(),k=a.H.uq(),l=a.H.Vb;_.iIc(f,3);_.x(f,82,5);var n=LNc(f,!0);f.getCapabilities()||f.ln(new _.pm);_.F(n,2)&&((n=f.Uh())&&n.length?_.x(f,46,n[0]):(_.QO(f,[k]),_.x(f,46,k)),k=f.mq(),_.x(f,12,k),k=new _.ok,k.kc(l),_.x(k,6,1),_.x(k,7,!0),_.R(f,17,k),_.yj(f,15,[k]),_.AM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=IVc(d.V,b);_.$e(e,
function(f,h){AP(f.getItem(),c[h],a.ha);(a.H.ka.Ef()||a.H.Rg.Ef()||3==BP(f.getItem()))&&AP(f.getItem(),c[h],a.W);_.hf(c,h)});_.$e(c,function(f){f.Ql().hp()&&(e[f.getId()]=new yQ(f))});U3c(d,Object.values(e))},N7c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});M7c(a,c)},J7c=[50],K7c=[12,11,10,67,68];
var O7c=function(a){this.ka=a;this.H=null;this.ha=new L7c(a,a.Ja);this.V=!1};
O7c.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.wa.bind(this);var b=this.ta.bind(this);P7c(this,"Querying all offline items.");this.H.H().xf(a,b);this.V||(this.H.V((0,_.K)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.he;b.Qk(!0);b=KVc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==BP(f)){var h=new _.gN;_.hN(h,f.getId());_.lN(h);d.push(h)}else h=new _.tm,_.tN(h,!1),_.x(h,2,!1),_.R(f,81,h),c.push(b[e])}U3c(a,c);a.ta(d)}};
O7c.prototype.wa=function(a){P7c(this,"Processing all offline item(s): "+a.length);M7c(this.ha,a);AQ(this.ka.ha,"GZTDpc")};O7c.prototype.ta=function(){P7c(this,"Error fetching offline items.")};O7c.prototype.ma=function(a){P7c(this,"Handling offline change(s): "+a.length);N7c(this.ha,a)};var P7c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var UR=function(a){_.O.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new O7c(a);this.context.Zg=b;this.Ma=new I7c(a,this);E6c(this.Ma);(b=_.C(a.H,_.GM,58))&&_.A(b,1,!1);this.Rd=new _.Xd(this);this.Pa(this.Rd);this.V=this.context.ha;this.ha=a.Tn;this.W=new F7c(a,this.ha);a=this.context;b=this.W;a.qj=b;a.Oe.resolve(b);this.wa=null;this.hb=this.Ba=!1;this.Qa=null;this.Jva()};_.I(UR,_.O);_.g=UR.prototype;_.g.Jva=function(){};
_.g.initialize=function(){var a=this;this.wa||(this.wa=_.Sh(),this.Qa=this.context.ta.W(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.yi()),this.VDa(),this.Rd.listen(this.context,_.cc,this.C0a),this.Rd.listen(this.context.Hc,["ta","ua"],function(b){return void a.dispatchEvent(b)}),this.Rd.listen(this.context.Rg,_.mc(Object.values(xUc)).concat(),function(b){return void a.dispatchEvent(b)}),this.V.start(),AQ(this.V,"NSockf"));return this.wa.promise};
_.g.qAa=function(){this.Qa&&this.Qa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.wa.resolve())};_.g.C0a=function(a){var b=a.error,c=b.qg;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.wa.reject(b)):this.dispatchEvent(a)};_.g.a2=function(){throw VR("teamDriveQuery");};_.g.Fba=function(){throw VR("teamDriveFindByIds");};_.g.Sra=function(){throw VR("teamDriveMovePreflight");};_.g.moa=function(){throw VR("peoplePredictQuery");};
_.g.query=function(a){XUc(this.context.ma,a,UQc(this.context.Ja));this.YN();var b=this.W.Cfa(_.Dj(a));this.hb||(a=a.ke(),a&&121==_.y(a,1)||(this.hb=!0,this.Rd.listen(b,_.bc,this.UDa)));return b};_.g.UDa=function(a){a=a.currentTarget;1==a.Fb()&&(this.Ma.W=this.V.H("W6J7De"),this.Rd.Pc(a,_.bc,this.UDa))};_.g.Pr=function(a){this.YN();VUc(a);return this.W.zfa(_.Dj(a))};_.g.Vda=function(){throw VR("activityQuery");};_.g.Gea=function(){throw VR("backupsQuery");};
_.g.apa=function(){throw VR("refreshBackups");};_.g.Zla=function(){throw VR("getAndroidBackupItems");};_.g.ega=function(){throw VR("deleteBackup");};_.g.qoa=function(){throw VR("permissionQuery");};_.g.bka=function(){throw VR("insertPermission");};_.g.gga=function(){throw VR("deletePermission");};_.g.Xc=function(){throw VR("mutate");};_.g.iO=function(){throw VR("mutateWorkspace");};_.g.uA=function(){throw VR("bulkMutate");};_.g.yfa=function(){throw VR("createFileUploader");};
_.g.Zva=function(a){return new TR(this.context.tm(),a)};_.g.dT=function(a){if(3==a.getType())return _.Pj(this.context.tm().then(function(b){return b.H(a)}).then(null,_.xN));throw VR("getApps with type "+a.getType());};_.g.$la=function(){throw VR("getApp");};_.g.dka=function(){throw VR("installApp");};_.g.dga=function(){throw VR("deleteApp");};_.g.K9=function(){throw VR("updateApp");};_.g.SR=function(){throw VR("getUserAccount");};_.g.KF=function(){throw VR("getUserPrefs");};
_.g.dma=function(){throw VR("mutateUserPref");};_.g.ama=function(){throw VR("getRevisions");};_.g.cma=function(){return!1};_.g.Qk=function(a){this.context.ka.Qk(a)};_.g.gA=function(){throw VR("setOfflineOptIn");};_.g.fma=function(){throw VR("setLocalItemService");};_.g.YN=function(){};_.g.SDa=function(){i6c(this.context);this.context.ta.H(106006)};_.g.MX=function(){return this.Ma};_.g.ema=function(){};_.g.J9=function(){return this.context.Hc.H};_.g.Yla=function(){return DZc(this.context.Hc)};
_.g.isConnected=function(){return 1==this.context.Ib.getState().get()};_.g.sync=function(){throw VR("sync");};_.g.l_=function(){return j6c(this.context)};_.g.una=function(){throw VR("offlineDataLoaded");};_.g.e0=function(a){return this.context.tm().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.afa=function(){throw VR("categoryMetadataQuery");};_.g.cfa=function(){throw VR("changeCategoryLinks");};_.g.PU=function(){throw VR("updateCategoryMetadata");};
_.g.Roa=function(){throw VR("publishedCategoriesQuery");};_.g.maa=function(){throw VR("publishedCategoryQuery");};_.g.ata=function(){throw VR("workspaceFindByIdsRequest");};_.g.oca=function(){throw VR("workspaceQueryRequest");};_.g.Kra=function(){throw VR("suggestedWorkspaceItemQueryRequest");};_.g.xba=function(){throw VR("suggestedWorkspaceQueryRequest");};_.g.Xla=function(){throw VR("addCacheHint");};_.g.Q4=function(){throw VR("createUserFeedback");};
_.g.bma=function(){throw VR("handleChanges");};var VR=function(a){return new _.pb(a+" is unsupported",_.uN(3))};
var qOc=function(a){UR.call(this,a);G_c(a,"");z6c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.I(qOc,UR);qOc.prototype.VDa=function(){zQ(this.V,["NSockf"],this.qAa.bind(this))};
var Q7c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},R7c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},S7c=function(a){return new R7c(a.id,a.d,a.err||void 0)};
var WR=function(a,b,c){_.O.call(this);var d=this;this.Pn=a;this.Zc=b;this.Ba=new _.Hj;this.hb={};this.Wa=this.Ma=this.tc=null;c.then(function(e){d.tc=e.clientId;d.Ma=e.channel;d.Wa=e.H;EQ(d.Ma,d.Pn,(0,_.K)(d.j9a,d));EQ(d.Ma,d.Pn+"_update",(0,_.K)(d.K4a,d));d.log("Service initialized.");d.Ba.callback()})};_.I(WR,_.O);_.g=WR.prototype;
_.g.j9a=function(a){a=S7c(a);var b=this.hb[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.ob(JSON.parse(a.error));else c=new _.ob,_.UM(c,2),_.VM(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.pb(void 0,c))}delete this.hb[a.id]}};_.g.K4a=function(a){a=S7c(a);this.U7(a.id,a.data,a.error)};_.g.U7=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Hj;this.Ba.mb(function(){var h=e.Ma,k=new Q7c(e.tc,a,b,d),l=_.Sh();e.hb[k.H]=l;l.promise.then(function(n){f.callback((c||_.Ie)(n))},function(n){n=n.qg;var q=_.y(n,21)||"";_.x(n,21,"Worker"+("An invalid response was received"==q?"["+a+"]: ":": ")+q);f.Bd(new _.pb(void 0,n))});FQ(h,e.Pn,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Wa&&this.Wa.info(this.Zc,a)};
var T7c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var YR=function(a,b,c){WR.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.I(YR,WR);YR.prototype.Cfa=function(a){var b=this;a=new p7c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);U7c(this,a);return a};YR.prototype.Ffa=function(a){var b=this;a=new A7c(this.H.ma,this.H.Cc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);U7c(this,a);return a};
var U7c=function(a,b){ZR(a,b);_.od(b,function(){$R(a,b);a.send("4.3",[b.di(),b.hd().Ac()])});a.send("4.1",[b.di(),b.hd().Ac()])};_.g=YR.prototype;_.g.zfa=function(a){var b=this,c=new x7c(this.H.H,this.H.ma,this.H.W,this.H.ag,this.Ja.bind(this),a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.4",[c.di(),c.hd().Ac()])});this.send("4.2",[c.di(),c.hd().Ac()]);return c};
_.g.Ifa=function(a){var b=this,c=new E7c(a,this,this.H.H);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.11",[c.di(),c.hd().Ac()])});this.send("4.9",[c.di(),c.hd().Ac()]);return c};_.g.Jfa=function(a){var b=this,c=new o7c(this.H,this,a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.12",[c.di(),c.hd().Ac()])});this.send("4.10",[c.di(),c.hd().Ac()]);return c};
_.g.Kfa=function(a){var b=this,c=new v7c(this.H,a,this);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.15",[c.di(),c.hd().Ac()])});this.send("4.13",[c.di(),c.hd().Ac()]);return c};_.g.Lfa=function(a){var b=this,c=new s7c(this.H,a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.16",[c.di(),c.hd().Ac()])});this.send("4.14",[c.di(),c.hd().Ac()]);return c};
_.g.Gfa=function(a){var b=this,c=new D7c(this.H,a,function(){b.send("4.21",[c.di()])});ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.23",[c.di(),c.hd().Ac()])});this.send("4.22",[c.di(),c.hd().Ac()]);return c};_.g.vfa=function(a){var b=this,c=new m7c(this.H.ka,this.H.Rg,this.H.W,function(d,e){return b.W(d,e)},a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.19",[c.di(),c.hd().Ac()])});this.send("4.18",[c.di(),c.hd().Ac()]);return c};
var ZR=function(a,b){a.V.create(b.di(),b.hd());a.ha[b.di()]=b},$R=function(a,b){yR(a.V,b.di(),4);delete a.ha[b.di()]};YR.prototype.Ja=function(a,b,c){if(b instanceof _.Xn&&c instanceof _.Xn)this.send("4.5",[a,b.Ac(),c.Ac()]);else if(b instanceof _.eo&&c instanceof _.eo)this.send("4.6",[a,b.Ac(),c.Ac()]);else throw Error("Cg");};
YR.prototype.W=function(a,b){if(!this.ha[a])throw Error("zg`"+a);var c=this.ha[a];if(c.hd()instanceof _.he)var d="4.7";else if(c.hd()instanceof _.SO)d="4.8";else if(c.hd()instanceof _.jG)d="4.20";else if(c.hd()instanceof _.go)d="4.17";else throw Error("Dg");c.hd().Ki(b);this.send(d,[a,b])};
YR.prototype.U7=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.ob(JSON.parse(c)),c=new KQ(c,c.OW()),a.lG(c),yR(this.V,a.di(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.nJ();return}c=a.hd();if(c instanceof _.he||c instanceof _.SO)f=JSON.parse(f),c instanceof _.he&&_.VN(c)?d=new _.rP(f):d=new _.YB(f);else if(c instanceof _.Xn||c instanceof _.eo)d=new _.qP,hSc(d,function(h){return new _.vm(JSON.parse(h))},f);else if(c instanceof _.jG)d=new _.uP(new $P(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.go)d=new _.xP(new PQ(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.nO&&c instanceof _.nO)d=new _.sP(JSON.parse(f));else if(c instanceof _.co)d=new dQ(JSON.parse(f));else throw Error("Eg");}d&&("boolean"===typeof b[e]&&v2c(this.V,a.di(),!!b[e]),x2c(this.V,a.di(),d),a.update(d))}};
var V7c=function(a,b){WR.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.I(V7c,WR);_.g=V7c.prototype;_.g.Za=function(){return _.C(this.H.H,_.GM,58)};_.g.getContext=function(){return this.H};_.g.WDa=function(){return this.send("5.4",[this.V],function(a){return new HQc(JSON.parse(a[0]))})};_.g.L9=function(){return this.H.W};_.g.jM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.vm(b)})};
_.g.gma=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.BDc(a[c]));return b})};_.g.Qba=function(a,b,c){return this.send("5.8",[a.Ac(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.vm(e[k]));return{items:h,swa:f,pageToken:d}})};_.g.jLa=function(){this.send("5.9",[])};_.g.yva=function(){this.send("5.1",[])};_.g.zX=function(){return _.fFc[_.D(this.H.H.hf(),8,0)]};
_.g.fra=function(){this.send("5.6",[])};_.g.M9=function(){return this.send("5.7",[],function(a){if(0==a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new LQ(a[e]));return{traceId:new Q5c(b,c),spanRecs:d}})};_.g.XDa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new Q5c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.rKa=function(){this.send("5.11",[])};
_.g.Qk=function(a){this.send("5.13",[a])};
var W7c=function(a,b){WR.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.hc=b;this.Kd=String(_.xa(this));this.H=null};_.I(W7c,WR);W7c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.hc.Ac()],function(b){return new f7c(JSON.parse(b[0]))},this.Kd).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};W7c.prototype.cancel=function(){this.send("9.2",[this.hc.Ac()],void 0,this.Kd)};
W7c.prototype.U7=function(a,b){this.dispatchEvent(new j7c(b[0],b[1]))};
var X7c=function(a){WR.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.I(X7c,WR);X7c.prototype.W=function(a){if(this.H=a){a=this.ha.bind(this);var b=this.V.bind(this);this.log("Querying all offline items.");this.H.H().xf(a,b);this.H.V((0,_.K)(this.ka,this))}else this.send("6.3",[])};X7c.prototype.ha=function(a){var b=[];_.Ga(a,function(c){b.push(c.Ac())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};X7c.prototype.V=function(){this.log("Error fetching offline items.")};
X7c.prototype.ka=function(a){var b=[];_.Ga(a,function(c){b.push(c.Ac())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var Y7c=function(a,b){BR.call(this,a,b)};_.I(Y7c,BR);Y7c.prototype.O4=function(a,b,c){return new _.dHc(a,c)};Y7c.prototype.c7=function(a){return a.pageToken||""};Y7c.prototype.x6=function(a){return a.response.V()};Y7c.prototype.o_=function(){};
var Z7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||void 0);this.hc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new Y7c(this.hc,this.ma)};_.I(Z7c,QR);_.g=Z7c.prototype;_.g.$A=function(){CR(this.ka).then(this.f9a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return uWc(new QQ,this.W).Dc(this.status)};_.g.Kp=function(){return new Q6c};_.g.ij=function(){return!this.Ef()&&(!this.H||k4c(this.ka))};_.g.f9a=function(a){this.V=this.H=!0;this.W=a;this.kq()};
_.g.kq=function(){if(this.active){var a=this.status;this.mG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};_.g.$b=function(){return this.W.length};
var $7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.rN;this.ma=null};_.I($7c,QR);_.g=$7c.prototype;_.g.$A=function(){var a=this;this.wa(this.hc).then(function(b){a.H=!0;a.W=!0;a.V=b.ej();if(b=b.getSessionId())a.ma=b;a.kq()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.$Fc((new _.jN).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Kp=function(){var a=_.oN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new S6c).Dc(this.status);return _.yj(b,2,a)};_.g.qH=function(){};_.g.kq=function(){var a=this.status;this.mG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};
var a8c=function(){};_.g=a8c.prototype;_.g.cF=function(a,b){b=Y6c(1).setPosition(b);_.R(b,2,a);return b};_.g.aF=function(a,b){b=Y6c(2).setPosition(b);_.R(b,2,a);return b};_.g.KJ=function(a,b,c){b=Y6c(3).ou(b).setPosition(c);_.R(b,2,a);return b};_.g.aI=function(a,b){b=Y6c(4).setPosition(b);_.R(b,2,a);return b};_.g.zF=function(a){return _.C(a,_.uQ,2)};
var c8c=function(){_.nN.call(this,new a8c,function(a){return b8c(a)})};_.I(c8c,_.nN);var b8c=function(a){switch(_.kj(a,jUc[0])){case 6:return _.Ox(_.C(a,_.Nx,6)).getTime().toString();case 7:var b=_.C(a,_.tQ,7);a=_.C(b,_.Nx,1);b=b.pq();return a&&b?(a=_.Ox(a).getTime(),_.Ox(b).getTime()+"--"+a):"";default:return""}};_.Je(c8c);
var aS=function(a,b,c,d){QR.call(this,b.ka,b.Rg,d);this.hc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ba=new _.WLc(_.D(b.H.hf(),6,1E3));this.ka=!1;this.Ga=c};_.I(aS,QR);_.g=aS.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.hc.mza()?d8c(this):this.Ja()};_.g.Aq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;QR.prototype.Aq.call(this,a)};
_.g.getData=function(){var a=(new b7c).Dc(this.status);_.yj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Kp=function(){var a=_.oN(c8c.Eb(),this.wa,this.V),b=new $6c;a=_.yj(b,2,a).Dc(this.status);this.wa=_.ra(this.V);return a};_.g.ij=function(){return!this.Ef()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.hd=function(){return this.hc};_.g.ZDa=function(a){this.dispatchEvent(new _.qb(a));this.W=!1};
_.g.T2a=function(a,b){this.H=!0;var c=_.vj(b,_.uQ,1);this.V=this.V.concat(c);this.ma=b.DF()||"";0<c.length&&(this.ka=!0);this.kq();d8c(this,a)};_.g.h3a=function(a){c8c.Eb();this.H=!0;var b=_.vj(a,_.uQ,1);PP(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.DF()||"",this.ka=!0,this.kq(),d8c(this)):(this.W=!1,e8c(this))};var d8c=function(a,b){a.active?(a.W=!0,a.ij()&&a.V.length<a.limit?a.Ga(a.hc,a.limit-a.V.length,a.ma).xf(_.Ke(a.T2a,b),a.ZDa,a):(a.W=!1,b&&b.callback(),e8c(a))):a.W=!1};
aS.prototype.Ja=function(){this.active&&(this.W=!0,this.Ga(this.hc,this.limit).xf(this.h3a,this.ZDa,this))};aS.prototype.kq=function(){if(this.active){var a=this.status;this.mG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};aS.prototype.mG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};aS.prototype.qH=function(){this.active&&this.ij()&&!this.W&&d8c(this,new _.Hj)};
var e8c=function(a){a.hc.mza()||(_.DH(a.Ba),_.m.setTimeout((0,_.K)(a.Ja,a),a.Ba.tb()))};aS.prototype.$b=function(){return this.V.length};
var f8c=function(){};_.g=f8c.prototype;_.g.cF=function(a,b){return d7c(c7c(1),a).setPosition(b)};_.g.aF=function(a,b){return d7c(c7c(2).setPosition(b),a)};_.g.KJ=function(a,b,c){return d7c(c7c(3).ou(b).setPosition(c),a)};_.g.aI=function(a,b){return d7c(c7c(4),a).setPosition(b)};_.g.zF=function(a){return a.Tu()};
var g8c=function(){_.nN.call(this,new f8c,function(a){return a.getId()})};_.I(g8c,_.nN);_.Je(g8c);
var h8c=function(a,b,c){QR.call(this,b.ka,b.Rg);this.hc=a;this.ma=[];this.V=[];this.W=new _.WLc(_.D(b.H.hf(),54,1E3));this.ka=!1;this.wa=c};_.I(h8c,QR);_.g=h8c.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.poll()};_.g.getData=function(){var a=new UQ;a=_.yj(a,2,this.V).Dc(this.status);this.ma=_.ra(this.V);return a};_.g.Kp=function(){var a=_.oN(g8c.Eb(),this.ma,this.V),b=new h7c;a=_.yj(b,2,a).Dc(this.status);this.ma=_.ra(this.V);return a};
_.g.ij=function(){return!this.Ef()&&!this.H};_.g.poll=function(){var a=new _.Hj;this.wa(this.hc).xf(_.Ke(this.h9a,a),_.Ke(this.g9a,a),this);return a};_.g.g9a=function(a,b){this.dispatchEvent(new _.qb(b));a.Bd(b);i8c(this)};_.g.h9a=function(a,b){this.H=!0;b=_.vj(b,_.JQ,2);PP(g8c.Eb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.kq();a.callback();i8c(this)};_.g.kq=function(){if(this.active){var a=this.status;this.mG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};
_.g.qH=function(){};var i8c=function(a){a.active&&(_.m.setTimeout((0,_.K)(a.poll,a),a.W.tb()),_.DH(a.W))};h8c.prototype.$b=function(){return this.V.length};
var j8c=function(){};_.g=j8c.prototype;_.g.cF=function(a,b){return L6c(K6c(1),a).setPosition(b)};_.g.aF=function(a,b){return L6c(K6c(2).setPosition(b),a)};_.g.KJ=function(a,b,c){return L6c(K6c(3).ou(b).setPosition(c),a)};_.g.aI=function(a,b){return L6c(K6c(4),a).setPosition(b)};_.g.zF=function(a){return a.nY()};
var k8c=function(){_.nN.call(this,new j8c,function(a){return a.getId()})};_.I(k8c,_.nN);_.Je(k8c);
var bS=function(a,b,c){_.O.call(this);this.ma=a;this.hc=b;this.H="";this.V=this.W=!1;this.ha=0;this.kt=[];this.ta=c};_.I(bS,_.O);bS.prototype.Ki=function(a){this.ha=a};var m8c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():l8c(a)};bS.prototype.e7=function(){return this.kt};var l8c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.kt.length,100);var c=new _.$N;c=_.R(c,3,a.hc);c=_.x(c,2,a.H);b=_.x(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.wa.bind(a))};
bS.prototype.ka=function(a){this.V=!1;this.H=a.Jm()||"";a=a.gr().VI();this.kt=_.qa(this.kt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.kt.length<this.ha)return l8c(this);this.dispatchEvent("Hb")};bS.prototype.wa=function(a){this.V=!1;a=new KQ(_.WM(a),_.D(this.ma.H.hf(),1,1));this.dispatchEvent(a)};
var cS=function(a,b,c,d){QR.call(this,b.ka,b.Rg,d||100);var e=this;this.wa=b;this.hc=a;this.ma=[];this.kt=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new bS(b,this.hc,this.Ba);_.od(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.I(cS,QR);_.g=cS.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.$Da()};_.g.Aq=function(a){QR.prototype.Aq.call(this,a||100)};
_.g.getData=function(){var a=new KQc;a=_.yj(a,2,this.kt.slice(0,this.limit)).Dc(this.status);this.ma=_.ra(this.kt);return a};_.g.Kp=function(){var a=_.oN(k8c.Eb(),this.ma,this.kt),b=new P6c;a=_.yj(b,2,a).Dc(this.status);this.ma=_.ra(this.kt);return a};_.g.ij=function(){var a;(a=!this.Ef())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.hd=function(){return this.hc};
_.g.$Da=function(){var a=this;this.V=new bS(this.wa,this.hc,this.Ba);this.V.Ki(this.limit);return m8c(this.V).then(function(){return n8c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){QR.prototype.handleError.call(this,a);o8c(this)};var n8c=function(a){a.H=!0;var b=a.V.e7();PP(k8c.Eb(),a.kt,b)&&(a.ka=!0,a.kt=b);a.kq();o8c(a)};cS.prototype.kq=function(){if(this.active){var a=this.status;this.mG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};
cS.prototype.qH=function(){var a=this;this.V.Ki(this.limit);m8c(this.V).then(function(){return n8c(a)},function(b){return a.handleError(b)})};var o8c=function(a){if(a.active){var b=a.wa.H.hf();a.W=_.m.setTimeout((0,_.K)(a.$Da,a),Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,15,36E5))}};cS.prototype.$b=function(){return this.kt.length};var p8c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.Qg(_.bc,a))},0)};
var q8c=function(a,b){WR.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.hc=b;this.Kd=String(_.xa(this));this.H=null};_.I(q8c,WR);q8c.prototype.ha=function(){var a=this;this.H||(this.H=_.Sh(),this.send("10.1",[this.hc.Ac()],function(b){a.H.resolve(b[0])},this.Kd).Ae(function(b){a.H.reject(b)}));return this.H.promise};q8c.prototype.cancel=function(){this.send("10.2",[this.hc.Ac()],void 0,this.Kd)};
var r8c=function(a,b,c,d,e,f,h,k){_.yP.call(this,a,b,c,d,f,h,k);this.V=e;this.je=null};_.I(r8c,_.yP);r8c.prototype.nma=function(a,b){var c=this;return _.Pj(this.V.then(function(d){return d.V(VMc(c.W,c.Wa,a,b,c.H,c.wa))},null))};r8c.prototype.Ja=function(a,b){var c=this.hd(a);if(c){var d=0;if(c.file){var e=c.request&&_.C(c.request,_.qIc,15);e&&(d=_.y(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.HMc(a,b,d))}};
var s8c=function(a,b){WR.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Kd=String(_.xa(this));this.H={};this.V={};_.od(this,(0,_.K)(this.HTa,this))};_.I(s8c,WR);_.g=s8c.prototype;_.g.zQ=function(){return _.lg()};
_.g.upload=function(a,b){!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.qIc;_.x(d,1,b.size);_.R(a,15,d);d=_.lg();this.V[_.RO(a)]=b}return this.send("7.1",[this.Kd,a.Ac(),c],function(e){return new _.vO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Kd,a])};_.g.Cx=function(){this.send("7.3",[this.Kd])};
_.g.oma=function(a){var b={};_.Ga(a,function(d){b[d]=new _.Hj});var c=this.zQ();this.H[c]=b;this.send("7.4",[this.Kd,c,a]);return _.oc(b)};_.g.nma=function(a,b){var c=this;return this.send("7.5",[this.Kd,a,b],function(d){return rSc(d[0])}).mb(function(d){return _.Pj(c.W.then(function(e){return e.V(d)}))})};_.g.HTa=function(){this.send("7.6",[this.Kd])};
_.g.U7=function(a,b){if(b)switch(_.ng(a)){case 3:a=b[0];var c=b[1];b=b[2];b=Math.min(b,1073741824);var d=this.V[a];this.send("7.7",[a,_.WIc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.vO(JSON.parse(b[2]));t8c(this,b[0],b[1],a);break;case 1:a=new _.pb(void 0,new _.ob(JSON.parse(b[2])));t8c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.HMc(b[0],b[1],b[2]));break;default:throw Error("Fg");}};
var t8c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.vO?e.callback(d):e.Bd(d);delete a.H[b][c];_.gf(a.H[b])&&delete a.H[b]}};
var u8c=function(a,b){if(0==a.length)throw new _.pb("mutateUserPref requires a namespace.",_.uN(3));if("undefined"!=typeof _.uD&&b instanceof _.uD)var c=(b=(b=b.V())&&b.getKey())&&_.ao(b)||null;else"undefined"!=typeof _.tD&&b instanceof _.tD&&(c=(b=b.getKey())&&_.ao(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.pb("mutateUserPref unsupported for namespace: "+c,_.uN(3));};
var IP=function(a,b){var c=_.Sh();WR.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;m6c(this.H,new X7c(c.promise));this.Ga=b;WQc(this.Ga,_.y(this.H.H,28));this.Cc=zNc(_.iP(this.Ga));this.V=a.Tn;this.W=new YR(c.promise,a,this.V);this.Qa=new V7c(c.promise,a);E6c(this.Qa);this.Ib=!1;this.Ja=_.Oh(this.Ba);this.ta=this.Vb=!1;this.Ka=new _.Xd(this);this.Pa(this.Ka);this.Db=!1;this.lc=_.Sh();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Rg,_.mc(Object.values(xUc)).concat(),
function(e){return void d.dispatchEvent(e)})};_.I(IP,WR);IP.prototype.initialize=function(){var a=this,b=_.C(this.H.H,wOc,66);if(this.Ib)return this.Ja;if(!b||!_.y(b,1))return b=new _.pb("Dataservice URL not provided."),this.Ba.Bd(b),this.Ja;var c=this.H.ta.W(106E3);this.Ib=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.yi());v8c(this,b);this.Ja.then(function(){c.V();a.eHa()});return this.Ja};
var v8c=function(a,b){var c=w8c(a),d=!0,e=_.y(b,5)||"";if(_.bGc(window.location.href,c.toString())&&e){d=!1;c=xNc(e,x8c(a),a.Cc,_.y(b,6));var f=new jVc(c,!1)}else b=y8c(c.toString()),c=_.pDc(c.W,void 0,c.H,c.ha),f=new jVc(hVc(window.frames[b],c.toString()),!1);z8c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();k6c(a.H,function(){return A8c(f)})},A8c=function(a){return _.Tia([new _.Nh(function(b){a.isDisposed()||FQ(a,"8.1",void 0,function(){a.dispose();b()})}),
_.$h(1E4)])},w8c=function(a){var b=new _.yi(_.y(_.C(a.H.H,wOc,66),1));var c=new _.yi(window.location);var d=c.W+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Qi(d,3);_.Ii(b,"co",c);c=b.we();!_.GO(a.H.H)&&0<_.YM(a.H.H.Se())&&(a=_.YM(a.H.H.Se()),c+="u/"+a+"/");_.Ci(b,c+"_/dataservice/cacheproxy");return b},y8c=function(a){var b="cpiframe_"+_.lg();a=_.oh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Gfa(_.aGc(_.xf("display: none;")));document.body.appendChild(a);return b},z8c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.K)(a.Hc,a));else{var d=function(){var e=new _.wbb(document),f={};f.__SAPISID=e.get("SAPISID")||e.get("__Secure-3PAPISID");f.__APISID=e.get("APISID")||e.get("__Secure-APISID");return{ac:f,bl:a.H.H.yi(),ufds:a.Cc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}FQ(b,"8.4",{dsc:a.H.H.Ac()});B8c(b);C8c(a,b);EQ(b,"2.1",function(){return{dsc:a.H.H.Ac()}});EQ(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new T7c(e.id,b,a.H.W,e.clients)),e.dsp&&B8c(b),e.ivd&&C8c(a,b)):(e=
new _.ob(JSON.parse(e.err)),a.Ba.Bd(new _.pb("Unable to initialize dataservice.",e)))});EQ(b,"2.15",function(e){a.dispatchEvent(new i7c(e.dt))});EQ(b,"2.5",function(e){G_c(a.H,e.id)});EQ(b,"2.6",function(e){a.H.ka.Qk(e.os)});EQ(b,"2.18",function(e){a.H.ka.gA(e.oois)});EQ(b,"2.7",function(){a.ta=!1});EQ(b,"2.8",function(e){a.H.Eu=e.au;a.dispatchEvent(new qRc(e.au?"ta":"ua"))});EQ(b,"2.19",function(e){a.H.Rg.update(e.cs)});EQ(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Ax("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.WO(a.H.W,f,e,"fine");break;case "finer":_.WO(a.H.W,f,e,"finer");break;case "finest":_.WO(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":PQc(a.H.W,f,e);break;default:PQc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),PQc(a.H.W,f,e)}});EQ(b,"2.10",function(e){a.dispatchEvent(new _.qb(new _.pb(void 0,new _.ob(JSON.parse(e.p)))))});EQ(b,"2.12",function(){a.rb=!0;dS(a)});
EQ(b,"2.14",function(){return a.lc.resolve()});EQ(b,"2.16",function(){return a.Vb=!0});EQ(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},B8c=function(a){_.m._DRIVE_dsp&&FQ(a,"8.3",{dsp:D8c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];FQ(a,"8.3",{dsp:D8c(c)})}}},C8c=function(a,b){_.A(a.H.H,24,!1)&&(_.m._DRIVE_ivd?FQ(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&FQ(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};IP.prototype.Hc=function(){return{uid:x8c(this),fds:_.iP(this.Ga)}};var x8c=function(a){a=_.Dj(a.H.H);a=_.x(a,28,[]);a=_.Gma(a,[]);var b=new _.DM;b.update(_.EO(a.Se()));b.update(String(_.YM(a.Se())));b.update(a.Ac());return _.uDc(b.digest())},D8c=function(a){var b=[],c=[,!0,!0,!0,!0,,!0,!0];a.forEach(function(d,e){d&&c[e]&&(b[e]=d)});return 0<b.length?b:null};_.g=IP.prototype;
_.g.query=function(a){dS(this);XUc(this.H.ma,a,UQc(this.Ga));this.YN();var b=this.W.Cfa(a);this.Db||(a=a.ke(),a&&121==_.y(a,1)||(this.Db=!0,this.Ka.listen(b,_.bc,this.YDa)));return b};_.g.YDa=function(a){a=a.currentTarget;1==a.Fb()&&(this.Qa.V=this.Vb,this.Ka.Pc(a,_.bc,this.YDa))};_.g.Pr=function(a){dS(this);VUc(a);this.YN();return this.W.zfa(a)};
_.g.Vda=function(a,b){var c=this;dS(this);if(this.ma&&_.Cj(this.ma.hd(),a))return this.ma;var d=(0,_.K)(IP.prototype.fYa,this);this.ma=new aS(_.Dj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.fYa=function(a,b,c){return this.send("3.17",[a.Ac(),b,c],function(d){return new wUc(JSON.parse(d[0]))})};
_.g.qoa=function(a,b){var c=this;dS(this);if(this.ka&&_.Cj(this.ka.hd(),a))return p8c(this.ka),this.ka;var d=(0,_.K)(IP.prototype.hYa,this);this.ka=new cS(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.hYa=function(a){return this.send("3.18",[a.Ac()],function(b){return new hWc(JSON.parse(b[0]))})};_.g.bka=function(a){dS(this);return this.send("3.14",[a.Ac()],function(b){return new OQ(JSON.parse(b[0]))})};_.g.gga=function(a){dS(this);return this.send("3.15",[a.Ac()],function(b){return new OQ(JSON.parse(b[0]))})};
_.g.Xc=function(a){dS(this);!this.ta&&_.xO(a)&&(this.ta=!0);a=BNc(a);return this.send("3.3",[a.Ac()],function(b){if(!_.Bc(b))return new _.vO(JSON.parse(b[0]))})};_.g.iO=function(a){dS(this);a=KNc(a);return this.send("3.35",[a.Ac()],function(b){return new rRc(JSON.parse(b[0]))}).then()};
_.g.uA=function(a){dS(this);for(var b=0;b<a.length;b++)!this.ta&&_.xO(a[b])&&(this.ta=!0);a=ENc(a);return this.send("3.4",[a.Ac()],function(c){var d={};c=JSON.parse(c[0]);_.$e(c[0],function(e,f){d[f]=new _.vO(JSON.parse(e))});_.$e(c[1],function(e,f){e=new _.ob(JSON.parse(e));d[f]=_.vN(e)});return d})};_.g.yfa=function(){dS(this);return new s8c(this.wa.promise,this.H.Cc)};_.g.Zva=function(a){dS(this);return new W7c(this.wa.promise,a)};
_.g.dT=function(a,b){var c=this;dS(this);var d=_.kg();this.V.create(d,a);return this.send("3.5",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new MQ(JSON.parse(e[0]));return new _.tP(f,e[1],e[2])}).mb(function(e){y2c(c.V,d,e);return e.response}).Ae(function(e){yR(c.V,d);return e})};_.g.$la=function(a){dS(this);return this.send("3.10",[a.Ac()],function(b){return new eWc(JSON.parse(b[0]))})};_.g.dka=function(a){dS(this);return this.send("3.11",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};
_.g.dga=function(a){dS(this);return this.send("3.12",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};_.g.K9=function(a){dS(this);return this.send("3.13",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};_.g.SR=function(a,b){var c=this;dS(this);var d=_.kg();this.V.create(d,a);return this.send("3.1",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new _.SQ(JSON.parse(e[0]));return new _.wP(f,e[1],e[2])}).mb(function(e){y2c(c.V,d,e);return e.response}).Ae(function(e){yR(c.V,d);return e})};
_.g.KF=function(a,b){var c=this,d=_.lj(this.H.H.hf(),30);if(!d||0==d.length)return _.Qj(new _.pb("getUserPrefs requires a namespace.",_.uN(3)));dS(this);var e=_.kg();this.V.create(e,a);return this.send("3.2",[a.Ac(),d,!!b],function(f){f=JSON.parse(f);var h=new _.bo(JSON.parse(f[0]));return new _.vP(h,f[1],f[2])}).mb(function(f){y2c(c.V,e,f);return f.response}).Ae(function(f){yR(c.V,e);return f})};_.g.dma=function(a){dS(this);u8c(_.lj(this.H.H.hf(),30),a);a=HNc(a);return this.send("3.6",[a.Ac()],function(b){return new iWc(JSON.parse(b[0]))})};
_.g.ama=function(a){dS(this);return this.send("3.16",[a.Ac()],function(b){return new MQc(JSON.parse(b[0]))})};_.g.cma=function(){return this.ta};_.g.Qk=function(a){dS(this);this.send("3.8",[a])};_.g.gA=function(a){dS(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.fma=function(a){dS(this);l6c(this.H).W(a);this.gA(!!a)};_.g.YN=function(){dS(this);this.send("3.9",[])};
_.g.SDa=function(){dS(this);this.send("3.41",[]);i6c(this.H);var a=bRc(this.H.ta,106006);a&&this.wa.promise.then(function(b){var c=_.C(_.oP(a),BQc,6);if(!c){c=new BQc;var d=_.oP(a);_.R(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.J9=function(){dS(this);return this.H.bEa()};_.g.Yla=function(){dS(this);return E8c(this.send("3.19",[],function(a){return new AWc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Rg.isConnected()};_.g.MX=function(){return this.Qa};
_.g.sync=function(){dS(this);return this.send("3.28",[]).then()};_.g.l_=function(){return j6c(this.H)};_.g.ema=function(){};_.g.Fba=function(a){dS(this);if(!_.HO(this.H.H))throw new _.pb("function is unsupported",_.uN(3));return this.W.Jfa(a)};_.g.a2=function(a){dS(this);if(!_.HO(this.H.H))throw new _.pb("function is unsupported",_.uN(3));return this.W.Ifa(a)};_.g.moa=function(a){dS(this);ZUc(this.H.ma,a,UQc(this.Ga));return this.W.Ffa(a)};
_.g.Sra=function(a){dS(this);return new q8c(this.wa.promise,a)};_.g.Gea=function(a){dS(this);if(!this.ha||this.ha.isDisposed()){var b=IP.prototype.gYa.bind(this);this.ha=new h8c(a,this.H,b)}return this.ha};_.g.gYa=function(a){return this.send("3.20",[a.Ac()],function(b){return new UQ(JSON.parse(b[0]))})};_.g.apa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Oh()};_.g.Zla=function(a){dS(this);return this.send("3.25",[a.Ac()],function(b){return new GWc(JSON.parse(b[0]))})};
_.g.ega=function(a){dS(this);return this.send("3.22",[a.Ac()],function(){return new IWc})};_.g.una=function(){return this.lc.promise};_.g.e0=function(a){var b=_.Sh();this.send("3.30",[a.Ac()],function(c){c[0]?b.resolve(new KWc(JSON.parse(c[0]))):b.reject(new _.ob(JSON.parse(c[1])))}).Ae(function(c){return b.reject(c)});return b.promise};_.g.afa=function(a){dS(this);return this.W.vfa(a)};_.g.cfa=function(a){dS(this);return this.send("3.42",[a.Ac()],function(b){return new aQ(JSON.parse(b[0]))}).then()};
_.g.PU=function(a){dS(this);return this.send("3.39",[a.Ac()],function(b){return new yWc(JSON.parse(b[0]))}).then()};_.g.Roa=function(a){var b=this;dS(this);return new Z7c(this.H,a,function(c){return b.send("3.37",[c.request.Ac(),c.pageToken],function(d){d=JSON.parse(d);return new GUc(new QQ(JSON.parse(d[0])),d[1])}).then()})};_.g.maa=function(a){dS(this);return this.send("3.38",[a.Ac()],function(b){return new RQ(JSON.parse(b[0]))}).then()};_.g.ata=function(a){dS(this);return this.W.Lfa(a)};
_.g.oca=function(a){dS(this);return this.W.Kfa(a)};_.g.Kra=function(a){var b=this;dS(this);return new $7c(this.H,a,function(){return b.send("3.40",[a.Ac()],function(c){return new _.jN(JSON.parse(c[0]))}).then()})};_.g.xba=function(a){dS(this);return this.W.Gfa(a)};_.g.Xla=function(a){dS(this);this.send("3.43",[a.Ac()])};_.g.Q4=function(a){dS(this);return this.send("3.44",[a.Ac()],function(){return new lRc}).then()};
_.g.bma=function(a){dS(this);if(1!=_.FO(this.H.H))return Promise.reject(Error("Gg"));for(var b=_.p(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Gc())return Promise.reject(Error("Hg"));if(!c.rz()&&!c.getItem())return Promise.reject(Error("Ig"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Ac()})]))};_.g.eHa=function(){var a=this,b=[_.$h(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Tia(b).then(function(c){c?_.Wh(a.eHa.bind(a),6E4):(a.rb=!0,dS(a))})};
var dS=function(a){a.rb&&a.dispatchEvent(new H7c)},pOc=function(a){if(_.A(a,61,!1)&&_.m.SharedWorker)if(_.C(a,wOc,66)){if(_.KM(a.Se())||_.GO(a)&&!_.A(a,52,!1))return!1}else return!1;else return!1;return!0},E8c=function(a){var b=_.Sh();a.xf(b.resolve,b.reject,b);return b.promise};
var eS=function(){_.O.call(this);this.ha=new _.fm;this.wa=this.$d=this.Ka=!1};_.I(eS,_.O);eS.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};eS.prototype.ma=function(){};eS.prototype.setActive=function(a){this.$d=a;F8c(this)};var F8c=function(a){if(a.$d&&!a.wa){var b=_.gm(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.gm(a.ha))}else a.wa=!0,_.Th(a.Qa(b),function(){a.wa=!1;F8c(a)})}};eS.prototype.Ba=function(){};eS.prototype.Qa=function(){};eS.prototype.Ma=function(){return!0};
eS.prototype.enqueue=function(a){try{var b=new _.Hj;this.ha.enqueue(new G8c(a,b));F8c(this);return b}catch(c){return _.Qj(_.vN(c))}};var G8c=function(a,b){this.V=a;this.H=b};G8c.prototype.getCommand=function(){return this.V};
var I8c=function(a){eS.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.$M(this.H.H)&&(this.W=new _.Xd(this),this.Pa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;zQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.hf();a.Vb&&1!=_.D(e,17,1)&&(d.push("iuEtc"),zQ(c,["mrK8ic"],function(){AQ(c,"iuEtc")}));zQ(c,d,function(){return H8c(b)})};_.I(I8c,eS);I8c.prototype.ma=function(){J8c(this)};
var H8c=function(a){if(1==sZc(a.H.tc).Fb())return Promise.resolve();var b=new _.pe;_.se(b,!0);_.qe(b,301);var c=new _.mO;_.OQc(c,b);return K8c(a,c).then(null,function(d){d=_.WM(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},K8c=function(a,b,c){return a.H.tm().then(function(d){return d.H(b,c)}).then(function(d){var e=_.TQ(d),f=e.getUser();if(f&&0==_.F(f,7))d=_.YM(a.H.H.Se()),d=Error("Jg`"+d+"`"+_.iG(f)),_.Sj(d),cRc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.tc;var h=0==f.Ne()?1:6;
_.$M(a.H.H)&&U2c(a.V,e);h=uZc(f,e,h);(e=e.getMetadata())&&G_c(a.H,_.y(e,2),1);(d=_.y(d,4))&&H_c(a.H,d,!0);h&&a.dispatchEvent(new _.Qg("WPi0i"));d=Promise.resolve(new _.wP(sZc(f),f.Ne(),!1))}return d}).then(function(d){return d},function(d){d=_.WM(d);_.x(d,5,1);return Promise.reject(new _.pb("Error fetching account from server.",d))})};
I8c.prototype.Ba=function(a){var b=a.getCommand();if(b.LYa){var c={};b.wO&&(c.Q$=b.wO);K8c(this,b.hc,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Bd(e)})}else if(b=this.H.tc,c=sZc(b),_.$M(this.H.H)){c=_.TQ(c);var d=c.getUser();d=tZc(this.V,_.iG(d));U2c(this.V,c);uZc(b,c,b.Ne())&&this.dispatchEvent(new _.Qg("WPi0i"));a.H.callback(new _.wP(sZc(b),b.Ne(),d))}else c.Fb(),b=new _.wP(c,b.Ne(),!0),a.H.callback(b)};
var J8c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.mO,d=new _.pe;_.qe(d,306);_.OQc(c,d);K8c(a,c).then(function(){return J8c(a)},function(){return J8c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,3,72E5))};I8c.prototype.ka=function(a){var b=this.H.tc,c=_.TQ(sZc(b));c&&a.getPeople().find(function(d){return _.y(d,1)==_.iG(c.getUser())})&&(U2c(this.V,c),uZc(b,c,b.Ne())&&this.dispatchEvent(new _.Qg("WPi0i")))};var L8c=function(a,b){this.hc=a;this.LYa=!!b;this.wO=null};
var N8c=function(a){eS.call(this);this.H=a;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.Rd.listen(this.H.Zc,"Kb",_.Ke(this.dispatchEvent,new _.Qg("Kb",this)));this.Ja=this.ka=!1;this.W=null;this.V=1;this.Ga=0;this.ta=null;M8c(this)};_.I(N8c,eS);
var M8c=function(a){var b=a.H.ha;zQ(b,["nVUlO"],function(){a.Ja=!0;a.setActive(!0)});if(!_.GO(a.H.H)){var c=_.D(a.H.H.hf(),18,1);zQ(b,["NSockf"],function(){1==c?O8c(a):a.setActive(!0)});2==c&&zQ(b,["mrK8ic"],function(){a.ka||O8c(a)})}},O8c=function(a){var b=new _.pe;_.se(b,!0);_.qe(b,301);var c=new _.YN;_.IQc(c,b);_.x(c,1,1);P8c(a,c).Vf(function(){return null})},P8c=function(a,b,c){_.m.clearTimeout(a.Ga);a.Ga=0;var d=_.Sh();a.W=d.promise;_.Th(a.W,function(){a.W=null;Q8c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.YN;_.x(h,1,a.V);_.IQc(h,b.ke());a.H.tm().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.Zc;l.ima(k,l.hy()?6:1);d.resolve()},function(k){a.V=e;k=_.wN(k);var l=k.qg;_.x(l,5,2);f?(_.UM(l,1),k.message="Initial app settings refresh failed.",_.x(k.qg,21,"Initial app settings refresh failed."),a.H.rb(l),a.setActive(!0)):(_.UM(l,2),k.message="Error occurred while loading the latest set of apps.",_.x(k.qg,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};N8c.prototype.Ma=function(){return!1};
N8c.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.hc,e=c.h6,f=c.wO?{Q$:c.wO}:void 0;if(!R8c(d))return this.H.tm().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.tP(l,1,!1))},function(l){a.H.Bd(_.vN(l))}),_.Oh();c=_.Oh();var h=!1;this.W?S8c(this,d.getType())?e=this.W:c=e=new _.Nh(function(l,n){b.W.then(function(){P8c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ja&&S8c(this,d.getType())&&!this.ta?(h=!0,e=_.Oh()):e=P8c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.Zc;k.callback(new _.tP(l.jma(),l.Ne(),h))},function(l){k.Bd(l)});return c.then()};
var R8c=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.y(a,4),a=_.y(a,3),!(b&&b.length)&&!(a&&a.length)):!1},S8c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},Q8c=function(a){var b=a.H.H.hf(),c=new _.pe;_.qe(c,306);var d=new _.YN;_.x(d,1,1);_.IQc(d,c);a.Ga=_.m.setTimeout(function(){return void P8c(a,d)},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,4,72E5))},T8c=function(a,b){this.hc=a;this.h6=!!b;this.wO=null};
var U8c=function(a,b){this.ta=b;this.hc=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.Sh();this.W="";this.ka=this.ma=!1};U8c.prototype.ha=function(){this.ma||(this.ma=!0,V8c(this));return this.V.promise};var V8c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.hHc(a.hc,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.wa.bind(a))}};U8c.prototype.Ba=function(a){(this.W=a.pageToken)?V8c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
U8c.prototype.wa=function(a){a=_.wN(a);var b=a.qg.Pi();53==b?(this.H="TOO_MANY_FILES",this.V.resolve(this.H)):54==b?(this.H="TOO_MANY_UNMOVABLE_FILES",this.V.resolve(this.H)):40==b?(this.H="TEAM_DRIVE_FILE_LIMIT_EXCEEDED",this.V.resolve(this.H)):this.V.reject(a)};U8c.prototype.cancel=function(){this.ka=!0};
var X8c=function(a){eS.call(this);var b=this;this.H=a;this.ka=new _.Xd(this);this.Pa(this.ka);this.ka.listen(this.H.Ma,"WPi0i",function(){return b.dispatchEvent(new _.Qg("WPi0i"))});this.V=null;this.W=_.Sh();this.ta=_.lj(this.H.H.hf(),30);W8c(this)};_.I(X8c,eS);
var W8c=function(a){var b=a.H.ha;zQ(b,["rkYxSd"],function(){return a.initialize()});zQ(b,["px2C2c"],function(){a.H.W.info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.W.resolve();a.W=null});var c=["NSockf"],d=_.D(a.H.H.hf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&zQ(b,["mrK8ic"],function(){AQ(b,"OZvrNc")}));!_.A(a.H.H,11,!1)&&_.A(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<Y5c(a.H.Ma).yw().length||(b.H("NSockf")?AQ(b,"DEJoH"):zQ(b,["NSockf"],function(){AQ(b,"DEJoH")}))},
12E3));zQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.PC,f=new _.pe;_.se(f,!0);_.qe(f,301);_.R(e,1,f);Y8c(a,e,Z8c(a)).Vf(function(){a.initialize()})}})};X8c.prototype.ma=function(){var a="User prefs detected: "+Y5c(this.H.Ma).yw().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);$8c(this)};
var Y8c=function(a,b,c,d){var e=new _.cHc(b,c),f=d?{Q$:d}:void 0;return a.H.tm().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ma;I_c(k,h.yw(),k.hy()?6:1,c)}).then(null,function(h){h=_.wN(h);_.x(h.qg,5,4);0<a.ha.$b()||a.H.rb(h.qg);a.V=h;throw h;})};
X8c.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set(_.mc(this.H.Ma.H.keys()).concat());c.m$.find(function(f){return!e.has(f)})&&(c.h6=!0);this.V?d.Bd(this.V):c.h6?_.Th(this.W?this.W.promise:Y8c(this,c.hc,Z8c(this,c.m$),c.wO||void 0),function(){return a9c(b,d,c.m$,!1)}):a9c(this,d,c.m$,!0)};
var Z8c=function(a,b){b=void 0===b?[]:b;a=new Set(_.mc(a.ta).concat(_.mc(_.mc(a.H.Ma.H.keys()).concat()),_.mc(b)));return _.mc(a.values()).concat()},a9c=function(a,b,c,d){a=a.H.Ma.KF(c);b.callback(new _.vP(a.H,a.V,d))},$8c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.PC,d=new _.pe;_.qe(d,306);_.R(c,1,d);_.Th(Y8c(a,c,Z8c(a)).Vf(_.Ie),function(){return $8c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,5,72E5))},b9c=function(a,b,c){this.hc=a;this.m$=b;this.h6=!!c;this.wO=null};
var rOc=function(a){UR.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.Sh();this.H=a.tm()};_.I(rOc,UR);_.g=rOc.prototype;_.g.Jva=function(){this.Ga=new I8c(this.context);this.Pa(this.Ga);this.Ja=new N8c(this.context);this.Pa(this.Ja);this.Wa=new X8c(this.context);this.Pa(this.Wa)};
_.g.VDa=function(){var a=this,b=["hVFf7"];_.GO(this.context.H)&&b.push("BNEDtc");zQ(this.V,b,(0,_.K)(this.qAa,this));zQ(this.V,["T8oKm","ZA9qG"],(0,_.K)(this.wIa,this));zQ(this.V,["T8oKm","mrK8ic"],(0,_.K)(this.wIa,this));this.Rd.listen(this.Ga,"WPi0i",this.hma.bind(this,1));this.Rd.listen(this.Ja,"Kb",this.hma.bind(this,2));this.Rd.listen(this.Wa,"WPi0i",this.hma.bind(this,4));zQ(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.wIa=function(){sR(this.context).mb(function(a){a.start()})};
_.g.hma=function(a){_.ha(oRc,a)&&this.dispatchEvent(new i7c(a))};_.g.a2=function(a){if(!_.HO(this.context.H))throw VR("teamDriveQuery");return this.W.Ifa(_.Dj(a))};_.g.moa=function(a){ZUc(this.context.ma,a,UQc(this.context.Ja));return this.W.Ffa(_.Dj(a))};_.g.Fba=function(a){if(!_.HO(this.context.H))throw VR("teamDriveFindByIds");return this.W.Jfa(_.Dj(a))};_.g.Sra=function(a){return new U8c(a,this.context.tm())};
_.g.Vda=function(a,b){var c=this;if(this.ta&&_.Cj(this.ta.hd(),a))return this.ta;this.ta=new aS(_.Dj(a),this.context,this.AOa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.AOa=function(a,b,c){var d=new _.ZGc(a,b,c);return _.Pj(this.H.then(function(e){return e.H(d)}).Vf(function(e){return _.xN(e)}))};_.g.Gea=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new h8c(a,this.context,this.QPa.bind(this));return this.ka};_.g.QPa=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).Vf(function(b){return _.xN(b)}))};
_.g.apa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Oh()};_.g.Zla=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}))};_.g.ega=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}))};_.g.qoa=function(a,b){var c=this;if(this.ma&&_.Cj(this.ma.hd(),a))return p8c(this.ma),this.ma;this.ma=new cS(_.Dj(a),this.context,this.nfb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.nfb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?W2c(b.context.V.ma,c.gr().VI(),a.hd().getId()).then(function(){return c}):c},_.xN)};_.g.bka=function(a){var b=this;return _.Pj(this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?W2c(b.context.V.ma,[c.nY()],a.Gc()).then(function(){return c}):c},_.xN))};_.g.gga=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.afa=function(a){return this.W.vfa(_.Dj(a))};_.g.cfa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.PU=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){for(var c=[],d=_.p(a.V().entries()),e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;var h=new _.wWc;f=_.x(h,1,f.toString());b[Number(e)].eR?f.Dc(1):(f.Dc(3),f.Te(b[Number(e)].reason.qg));c.push(f)}b=new yWc;return _.yj(b,1,c)},function(b){return _.xN(b)})};
_.g.Roa=function(a){var b=this;return new Z7c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Vf(function(d){return _.xN(d)})})};_.g.maa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.Xc=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.iO=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};
_.g.uA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.Xc(a[d])),b.push(a[d].getId());a=new _.xo(c);c=new _.Hj;a.mb(this.aRa.bind(this,c,b));return c};_.g.yfa=function(){return new r8c(this.context.H,this.context.Qa,this.context.lc.W,this.context.tm(),this.context.Cc,this.context.W,void 0,this.context.ta)};
_.g.dT=function(a,b){var c=this,d=_.kg();this.ha.create(d,a);3==a.getType()?a=UR.prototype.dT.call(this,a).mb(function(e){return new _.tP(e,1,!1)}):(AQ(this.V,"Qubz4b"),a=this.Ja.enqueue(new T8c(a,b)));return a.mb(function(e){y2c(c.ha,d,e);return e.response}).Ae(function(){yR(c.ha,d)})};_.g.$la=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.dka=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.dga=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.K9=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.SR=function(a,b){var c=this;AQ(this.V,"iuEtc");var d=_.kg();this.ha.create(d,a);return this.Ga.enqueue(new L8c(a,b)).mb(function(e){y2c(c.ha,d,e);return e.response}).Ae(function(){yR(c.ha,d)})};
_.g.KF=function(a,b){var c=this,d=_.lj(this.context.H.hf(),30);if(!d||0==d.length)return _.Qj(new _.pb("getUserPrefs requires a namespace.",_.uN(3)));var e=_.kg();this.ha.create(e,a);AQ(this.V,"OZvrNc");return this.Wa.enqueue(new b9c(a,d,b)).mb(function(f){y2c(c.ha,e,f);return f.response}).Ae(function(){yR(c.ha,e)})};_.g.dma=function(a){u8c(_.lj(this.context.H.hf(),30),a);return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.ama=function(a){var b=this;return _.Pj(this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?V2c(b.context.V.ma,c):c},_.xN))};_.g.ata=function(a){return this.W.Lfa(_.Dj(a))};_.g.oca=function(a){return this.W.Kfa(_.Dj(a))};_.g.Kra=function(a){var b=this;return new $7c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Vf(function(d){return _.xN(d)})})};_.g.xba=function(a){return this.W.Gfa(_.Dj(a))};_.g.Xla=function(a){p2c(this.context.V,[a])};
_.g.Q4=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.bma=function(a){if(1!=_.FO(this.context.H))return Promise.reject(Error("Gg"));for(var b=_.p(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Gc())return Promise.reject(Error("Hg"));if(!c.rz()&&!c.getItem())return Promise.reject(Error("Ig"))}this.context.V.ta(a);a=this.context.V;cR(a.H).ka();GVc(a.ha);return Promise.resolve()};_.g.cma=function(){return this.context.lc.H()};
_.g.gA=function(a){var b=this;return this.context.gA(a).then(function(c){return c?(b.context.ka.gA(a),b.context.wa.o2()):_.Oh(!a)})};_.g.fma=function(a){l6c(this.context).W(a);this.gA(!!a)};_.g.YN=function(){sR(this.context).mb(function(a){a&&a.k9a()});wZc(this.context.qh)};_.g.ema=function(a){a.Xj(this.context)};_.g.aRa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;cR(b.H).ka();GVc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.Qh([this.context.Ge.promise,this.context.Fs.promise]).then(function(){return a.context.wa.o2()}).then()};_.g.l_=function(){sR(this.context).mb(function(a){a&&a.dispose()});return UR.prototype.l_.call(this)};_.g.una=function(){return this.rb.promise};
var c9c=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Reload</button>")};
_.ko({id:_.gk,callback:function(a){var b=_.RMc(a),c=uOc(a),d=_.C(a.get(_.Hk),_.ab,10);_.FHc(d,b);_.x(d,28,c||[]);b=sOc(a,d);a.registerService(_.hk,b.MX());_.Bd(b,"VbxEwf",function(){var e={};_.Cb(_.tz.getService(a),new _.xq(new _.wq(c9c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.u();

}catch(e){_._DumpException(e)}
try{
var d9c,i9c,k9c;d9c=[3];_.fS=function(a){_.Q(this,a,0,-1,d9c,null)};_.M(_.fS,_.P);_.fS.prototype.getType=function(){return _.y(this,1)};_.fS.prototype.Gc=function(){return _.y(this,2)};_.e9c=function(a,b){return _.x(a,2,b)};_.fS.prototype.V=function(){return _.vj(this,_.fS,3)};_.f9c=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.f9c,_.P);_.f9c.prototype.getFeature=function(){return _.y(this,1)};_.g9c=function(a,b){return _.x(a,1,b)};_.f9c.prototype.V=function(){return _.C(this,_.fS,2)};
_.h9c=function(a,b){return _.R(a,2,b)};i9c=[1];_.dP=function(a){_.Q(this,a,0,-1,i9c,null)};_.M(_.dP,_.P);_.dP.prototype.V=function(){return _.vj(this,_.f9c,1)};_.j9c=function(a,b){return _.yj(a,1,b)};k9c=[1,2];_.GR=function(a){_.Q(this,a,0,-1,k9c,null)};_.M(_.GR,_.P);_.GR.prototype.V=function(){return _.y(this,1)};_.l9c=function(a,b){return _.x(a,1,b||[])};_.GR.prototype.yM=function(){return _.vj(this,_.bG,2)};_.m9c=function(a,b){return _.yj(a,2,b)};
_.GR.prototype.ke=function(){return _.C(this,_.pe,3)};_.n9c=function(a,b){return _.R(a,3,b)};_.r("RsR2Mc");

_.u();

}catch(e){_._DumpException(e)}
})(this._D);
// Google Inc.
