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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var Omb;_.Nmb=function(a){return(a=a.getItem().ef())?_.x(a,1)||"":""};Omb=[4,5,6,7];_.bC=function(a){_.P(this,a,0,-1,null,null)};_.L(_.bC,_.O);_.bC.prototype.Wb="JmcaR";_.bC.prototype.Gb=function(){return _.x(this,1)};_.bC.prototype.Dc=function(a){return _.w(this,1,a)};_.bC.prototype.nY=function(){return _.x(this,2)};_.Pmb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.Pmb,_.O);_.Pmb.prototype.Wb="dvhrqe";_.Pmb.prototype.V=function(){return _.D(this,1)};_.Qmb=function(a){_.P(this,a,0,-1,Omb,null)};
_.L(_.Qmb,_.O);_.Qmb.prototype.V=function(){return _.A(this,_.n3a,1)};_.Qmb.prototype.HC=function(){return _.A(this,_.bC,8)};_.Qmb.prototype.W=function(){return _.A(this,_.Pmb,9)};_.R("synz");
_.cC=function(a){_.P(this,a,0,-1,Rmb,null)};_.L(_.cC,_.O);var Rmb=[2];_.cC.prototype.getUser=function(){return _.A(this,_.fk,1)};_.cC.prototype.getMetadata=function(){return _.A(this,_.Qmb,3)};

_.r().Aa();

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.pgb=function(a){if(Array.isArray(a))return a.map(_.pgb).join("");if(_.x(a,2)){if(!a.getId())throw Error("Jd");return a.getId()+"/"+_.x(a,2)+","}return""};_.jB=function(a,b){return _.bh(a,b)};_.R("syof");

_.r().Aa();

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

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var jnb,knb;_.hnb=function(a){return a instanceof _.mb?a:a instanceof _.nb?a.Fg:null};_.inb=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")};jnb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
knb=function(a){var b=_.Mea(jnb,function(c){return a==c});if(void 0===b)throw Error("ib`"+a);return b};_.lnb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=jnb[a.name]):(this.code=a=a.code,this.name=knb(a));_.aa.call(this,_.inb("%s %s",this.name,b))};_.L(_.lnb,_.aa);var mnb=function(a,b){_.Gg.call(this,a.type,b)};_.L(mnb,_.Gg);_.R("syol");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.nnb=function(){_.N.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.I)(this.vQ,this);this.H.onprogress=(0,_.I)(this.vQ,this);this.H.onload=(0,_.I)(this.vQ,this);this.H.onabort=(0,_.I)(this.vQ,this);this.H.onerror=(0,_.I)(this.vQ,this);this.H.onloadend=(0,_.I)(this.vQ,this)};_.L(_.nnb,_.N);_.g=_.nnb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.lnb(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.lnb(this.H.error,"reading file")};_.g.vQ=function(a){this.dispatchEvent(new mnb(a,this))};_.g.hb=function(){_.nnb.rb.hb.call(this);delete this.H};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sysa");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sysb");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sysf");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syss");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.Vjb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.Vjb,_.O);_.Vjb.prototype.HA=function(){return _.A(this,_.ita,1)};_.Wjb=function(a){var b=new _.Vjb;return _.Q(b,1,a)};_.HB=function(a){_.P(this,a,0,-1,null,null)};_.L(_.HB,_.O);_.g=_.HB.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.x(this,5)};
_.g.Od=function(a){return _.w(this,5,a)};_.g.Cn=function(){return null!=_.x(this,5)};_.IB=function(a){_.P(this,a,0,-1,null,null)};_.L(_.IB,_.O);_.IB.prototype.V=function(){return _.x(this,1)};_.IB.prototype.Gb=function(){return _.x(this,2)};_.IB.prototype.Dc=function(a){return _.w(this,2,a)};_.IB.prototype.W=function(){return _.x(this,3)};_.R("sysr");
_.Yjb=function(a){_.P(this,a,0,-1,Xjb,null)};_.L(_.Yjb,_.O);var Xjb=[1];_.Yjb.prototype.V=function(){return _.x(this,1)};
_.$jb=function(a){_.P(this,a,0,-1,Zjb,null)};_.L(_.$jb,_.O);var Zjb=[1];_.$jb.prototype.V=function(){return _.nj(this,_.IB,1)};
_.bkb=function(a){_.P(this,a,0,-1,akb,null)};_.L(_.bkb,_.O);var akb=[1];_.bkb.prototype.V=function(){return _.nj(this,_.$jb,1)};_.bkb.prototype.addResult=function(a,b){return _.qj(this,1,a,_.$jb,b)};
_.ckb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.ckb,_.O);_.ckb.prototype.W=function(){return _.A(this,_.bkb,1)};_.ckb.prototype.V=function(){return _.A(this,_.Yjb,2)};
_.JB=function(a){_.P(this,a,0,-1,dkb,null)};_.L(_.JB,_.O);var dkb=[2,14,18];_.g=_.JB.prototype;_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.nj(this,_.am,2)};_.g.Zv=function(a){return _.pj(this,2,a)};_.g.Of=function(a,b){return _.qj(this,2,a,_.am,b)};_.g.Sj=function(){return _.x(this,3)};_.g.pga=function(){return _.y(this,5,!0)};_.g.HW=function(){return _.A(this,_.ckb,7)};_.g.qga=function(){return _.D(this,8)};
_.g.gF=function(){return _.A(this,_.Vjb,10)};_.g.$H=function(a){return _.Q(this,10,a)};_.g.getSessionId=function(){return _.A(this,_.hm,11)};_.g.setSessionId=function(a){return _.Q(this,11,a)};_.g.IW=function(){return _.x(this,17)};_.g.KW=function(a){return _.w(this,17,a)};_.g.Ke=function(){return _.x(this,12)};_.g.JW=function(a){return _.w(this,12,a)};_.g.Bm=function(){return _.x(this,15)};_.g.K6=function(){return _.x(this,18)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syst");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sytf");
_.AC=function(a){_.P(this,a,0,-1,null,null)};_.L(_.AC,_.O);_.AC.prototype.ie=function(){return _.A(this,_.je,1)};

_.r().Aa();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.iD=function(a,b,c){_.M.call(this);this.Zr=null!=c?(0,_.I)(a,c):a;this.ma=b;this.Lg=(0,_.I)(this.WZa,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.L(_.iD,_.M);_.g=_.iD.prototype;_.g.BM=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Ce()+this.ma:this.H=_.Nh(this.Lg,this.ma)};_.g.stop=function(){this.H&&(_.Oh(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.Zr.apply(null,this.ka)))};_.g.hb=function(){this.stop();_.iD.rb.hb.call(this)};_.g.WZa=function(){this.ha?(this.H=_.Nh(this.Lg,this.ha-_.Ce()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.Zr.apply(null,this.ka)))};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syvm");

_.r().Aa();

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.QF=function(a){return _.x(a,11)};_.R("syvp");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syvq");
_.RF=function(a){_.P(this,a,0,-1,null,null)};_.L(_.RF,_.O);_.RF.prototype.Gc=function(){return _.x(this,1)};_.XJb=function(a){var b=new _.RF;return _.w(b,1,a)};_.RF.prototype.ih=function(){return _.x(this,2)};_.RF.prototype.Ri=function(a){return _.w(this,2,a)};_.RF.prototype.ie=function(){return _.A(this,_.je,3)};

_.r().Aa();

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.CJb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.CJb,_.O);_.R("syvs");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var DJb;DJb=[1,2];_.KF=function(a){_.P(this,a,0,-1,DJb,null)};_.L(_.KF,_.O);_.KF.prototype.Kh=function(){return _.x(this,1)};_.KF.prototype.Il=function(){return _.x(this,2)};_.KF.prototype.ie=function(){return _.A(this,_.je,3)};_.R("syvu");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syvv");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.GF=function(a){_.P(this,a,0,-1,null,null)};_.L(_.GF,_.O);_.GF.prototype.getName=function(){return _.x(this,1)};_.GF.prototype.ie=function(){return _.A(this,_.je,2)};_.R("syw1");
_.HF=function(a){_.P(this,a,0,-1,SIb,null)};_.L(_.HF,_.O);var SIb=[5,6,9,10,12,13,15,16];_.HF.prototype.getId=function(){return _.x(this,1)};_.HF.prototype.lc=function(a){return _.w(this,1,a)};_.HF.prototype.Qx=function(){return _.x(this,2)};
_.IF=function(a){_.P(this,a,0,-1,TIb,null)};_.L(_.IF,_.O);var TIb=[2,4];_.IF.prototype.Jk=function(){return _.x(this,1)};_.UIb=function(a,b){return _.w(a,1,b)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syyk");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.jH=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ta=d||2};_.jH.prototype.V=0;_.jH.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.jH.prototype.ub=function(){return this.W};_.kH=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++};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syyg");
var QVb=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 RVb=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 C=e[1],F=e[2],K=e[3],J=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var Z=K^C&(F^K);var X=1518500249}else Z=C^F^K,X=1859775393;else 60>z?(Z=C&F|K&(C|F),X=2400959708):(Z=C^F^K,X=3395469782);Z=((t<<5|t>>>27)&4294967295)+
Z+J+X+v[z]&4294967295;J=K;K=F;F=(C<<30|C>>>2)&4294967295;C=t;t=Z}e[0]=e[0]+t&4294967295;e[1]=e[1]+C&4294967295;e[2]=e[2]+F&4294967295;e[3]=e[3]+K&4294967295;e[4]=e[4]+J&4294967295}function c(t,v){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],C=0,F=t.length;C<F;++C)z.push(t.charCodeAt(C));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 C=24;0<=C;C-=8)t[v++]=e[z]>>C&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 TVb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ea(d,function(k){e.push(k)}),SVb(e.join(" "));var f=[],h=[];_.Ea(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];_.Ea(d,function(k){e.push(k)});a=SVb(e.join(" "));a=[c,a];_.ia(h)||a.push(h.join(""));return a.join("_")},SVb=function(a){var b=RVb();b.update(a);return b.digestString().toLowerCase()};
_.UVb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.ebb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.VVb=function(a){var b=QVb(String(_.m.location.href));if(_.UVb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.ebb(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,TVb(QVb(d),c,a||null)].join(" "):null}}return null};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syyf");
_.WVb=function(a,b,c){_.ii(a.url,function(d){d=d.target;_.ki(d)?b(_.li(d)):c(d.Gb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.XVb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.XVb,_.O);_.XVb.prototype.wi=function(){return _.x(this,7)};
_.YVb=function(a){_.P(this,a,0,-1,null,null)};_.L(_.YVb,_.O);_.zj[66321687]=new _.$i(66321687,_.YVb);
var ZVb;_.lH=function(a){_.P(this,a,0,30,ZVb,null)};_.L(_.lH,_.O);ZVb=[3,20,27];_.mH=function(a,b){return _.w(a,8,b)};
var aWb=function(a){_.P(this,a,0,17,$Vb,null)};_.L(aWb,_.O);var $Vb=[3,5],bWb=function(a){var b=_.Ce().toString();return _.w(a,4,b)},cWb=function(a,b){return _.pj(a,3,b)},dWb=function(a,b){return _.w(a,14,b)};
var fWb=function(a){_.P(this,a,0,6,eWb,null)};_.L(fWb,_.O);var eWb=[5];
var gWb=function(a){_.P(this,a,0,-1,null,null)};_.L(gWb,_.O);
var hWb=new _.$i(175237375,gWb);
var jWb;
_.nH=function(a,b,c,d,e,f,h,k,l,n,q){_.N.call(this);this.Jd=a;this.uc=b||_.ze;this.W=new aWb;this.Ra="";this.Md=d;this.Cc=q;this.H=[];this.Xb="";this.Le=_.Be(_.eha,0,1);this.wa=e||null;this.Fa=c||null;this.Ya=h||!1;this.Na=l||null;this.Hc=this.$c=this.ha=!1;this.qc=this.kb=-1;this.Db=!1;this.ka=null;this.$d=!k;this.Ca=null;this.La=0;this.Ge=1;this.Jb=f||!1;this.tb=!1;this.ld=!this.Jb&&(_.Ei.Sn&&_.tg(65)||_.Ei.Cu&&_.tg(45))&&!!_.Wd()&&!!_.Wd().navigator&&!!_.Wd().navigator.sendBeacon;a=_.w(new _.YVb,1,
1);f||(f=new _.XVb,b=document.documentElement.getAttribute("lang"),f=_.w(f,5,b),_.Q(a,11,f));_.Q(this.W,1,a);_.w(this.W,2,this.Jd);this.ma=new _.jH(1E4,3E5,.1);this.V=new _.Mh(this.ma.ub());this.Qa(this.V);_.fd(this.V,"tick",_.$ea(iWb(this,n)),!1,this);this.Ka=new _.Mh(6E5);this.Qa(this.Ka);_.fd(this.Ka,"tick",_.$ea(iWb(this,n)),!1,this);this.Ya||this.Ka.start();this.Jb||(_.fd(_.Wd(),"beforeunload",this.ta,!1,this),_.fd(_.Wd(),"unload",this.ta,!1,this),_.fd(document,"pagehide",this.ta,!1,this))};
_.L(_.nH,_.N);var iWb=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.nH.prototype.hb=function(){this.ta();_.nH.rb.hb.call(this)};jWb=function(a){a.wa||(a.wa=.01>a.Le()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.kWb=function(a){a.$c=a.ld};_.lWb=function(a,b){a.ma=new _.jH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.ub())};
_.nH.prototype.log=function(a){a=_.uj(a);var b=this.Ge++;_.w(a,21,b);this.Ra&&_.w(a,26,this.Ra);if(!_.x(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}null==_.x(a,15)&&_.w(a,15,60*(new Date).getTimezoneOffset());this.ka&&(b=_.uj(this.ka),_.Q(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.La;this.H.push(a);this.dispatchEvent(new mWb(a));this.Ya||this.V.enabled||this.V.start()};
_.nH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.tb)nWb(this);else{var d=_.Ce();if(this.qc>d&&this.kb<d)b&&b("throttled");else{var e=dWb(cWb(bWb(_.uj(this.W)),this.H),this.La);d={};var f=this.uc();f&&(d.Authorization=f);var h=jWb(this);this.Fa&&(d["X-Goog-AuthUser"]=this.Fa,h=_.ci(h,"authuser",this.Fa));this.Na&&(d["X-Goog-PageId"]=this.Na,h=_.ci(h,"pageId",this.Na));if(f&&this.Xb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.La=
0,this.ha)a&&a();else{var k=e.Bc(),l;this.Ca&&this.Ca.V(k.length)&&(l=this.Ca.H(k));var n={url:h,body:k,FPa:1,requestHeaders:d,requestType:"POST",withCredentials:this.$d,timeoutMillis:0},q=(0,_.I)(function(z){this.ma.reset();this.V.setInterval(this.ma.ub());if(z){try{var C=JSON.parse(z.replace(")]}'\n",""));var F=new fWb(C)}catch(K){}F&&(z=_.B(F,1,"-1"),z=Number(z),0<z&&(this.kb=_.Ce(),this.qc=this.kb+z),F=_.sj(F,hWb))&&(F=_.B(F,1,-1),-1!=F&&(this.Db||_.lWb(this,F)))}a&&a()},this),t=(0,_.I)(function(z){var C=
_.nj(e,_.lH,3);_.kH(this.ma);this.V.setInterval(this.ma.ub());401==z&&f&&(this.Xb=f);if(500<=z&&600>z||401==z||0==z)this.H=C.concat(this.H),this.Ya||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.FPa=2;v()},function(){v()}):v()}}}};
_.nH.prototype.ta=function(){this.ha||(this.$c&&nWb(this),this.Hc&&oWb(this),this.flush())};
var nWb=function(a){pWb(a,32,10,function(b,c){b=_.ci(b,"format","json");b=_.Wd().navigator.sendBeacon(b,c.Bc());a.tb&&!b&&(a.tb=!1);return b})},oWb=function(a){pWb(a,6,5,function(b,c){b=_.ai(b,"format","base64json","p",_.Gi(c.Bc(),3));_.Qf(new Image,b);return!0})},pWb=function(a,b,c,d){if(0!=a.H.length){var e=_.Bja(jWb(a),"format");e=_.ai(e,"auth",a.uc(),"authuser",a.Fa||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=cWb(bWb(_.uj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
mWb=function(){this.type="event-logged"};_.L(mWb,_.Gg);
_.oH=function(a,b,c,d,e,f,h){_.nH.call(this,a,_.VVb,b,_.WVb,c,d,e,void 0,f,h)};_.H(_.oH,_.nH);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("syzc");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy10m");
_.gM=function(a){_.P(this,a,0,-1,null,null)};_.L(_.gM,_.O);_.gM.prototype.getKey=function(){return _.x(this,1)};_.jBc=function(a,b){return _.w(a,1,b)};_.gM.prototype.ub=function(){return _.x(this,2)};_.gM.prototype.kc=function(a){return _.w(this,2,a)};_.gM.prototype.ql=function(){return _.w(this,2,void 0)};_.gM.prototype.Lh=function(){return null!=_.x(this,2)};
_.hM=function(a){_.P(this,a,0,-1,kBc,null)};_.L(_.hM,_.O);var kBc=[2,4,6];_.hM.prototype.IC=function(){return _.x(this,1)};_.lBc=function(a,b){return _.pj(a,2,b)};_.hM.prototype.getUrl=function(){return _.x(this,3)};_.mBc=function(a,b){return _.w(a,3,b)};_.nBc=function(a,b){return _.w(a,5,b)};
_.oBc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.pBc=_.Pea(_.oBc);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy10n");

_.r().Aa();

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

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.iM=function(a,b){return _.w(a,4,b)};_.rBc=function(a,b){_.w(a,11,b)};_.jM=function(a,b){_.w(a,25,b)};_.kM=function(a,b,c){return _.wVa(a,b,c?32:16)};_.sBc=function(a,b,c,d,e,f){var h=new _.ni(null,void 0);a&&_.oi(h,a);b&&(h.ka=b);c&&_.pi(h,c);d&&_.qi(h,d);e&&_.ri(h,e);f&&_.si(h,f);return h};_.R("sy10x");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.lM=function(a,b,c){_.M.call(this);this.Zr=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.H(_.lM,_.M);_.g=_.lM.prototype;_.g.iD=function(a){this.ha=arguments;this.H||this.W?this.V=!0:tBc(this)};_.g.stop=function(){this.H&&(_.Oh(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,tBc(this))};_.g.hb=function(){_.M.prototype.hb.call(this);this.stop()};
var tBc=function(a){a.H=_.Nh(function(){a.H=null;a.V&&!a.W&&(a.V=!1,tBc(a))},a.ka);var b=a.ha;a.ha=null;a.Zr.apply(null,b)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var uBc=function(a,b){if(b&&a in b)return a;var c=_.uEa();return c?(c=c.toLowerCase(),a=c+_.sga(a),void 0===b||a in b?a:null):null};_.R("sy10y");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vBc=function(a){_.N.call(this);this.Fd=a||_.Yg();if(this.zA=this.AYa())this.H=_.fd(this.Fd.Yb(),this.zA,(0,_.I)(this.b_a,this))};_.L(_.vBc,_.N);_.g=_.vBc.prototype;_.g.AYa=_.Lba(function(){var a=!!this.KX(),b="hidden"!=this.KX();if(a){var c;b?c=((_.uEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.KX=_.Lba(function(){return uBc("hidden",this.Fd.Yb())});_.g.NZa=_.Lba(function(){return uBc("visibilityState",this.Fd.Yb())});_.g.lJ=function(){return!!this.Fd.Yb()[this.KX()]};
_.g.b_a=function(){var a=this.KX()?this.Fd.Yb()[this.NZa()]:null;a=new wBc(this.lJ(),a);this.dispatchEvent(a)};_.g.hb=function(){_.Ng(this.H);_.vBc.rb.hb.call(this)};var wBc=function(a){_.Gg.call(this,"visibilitychange");this.hidden=a};_.L(wBc,_.Gg);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.xBc=function(a){return _.$d(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};_.yBc=function(){this.H=-1};_.R("sy110");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.mM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.L(_.mM,_.yBc);_.mM.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 zBc=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};
_.mM.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;)zBc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){zBc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){zBc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.mM.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};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var CBc;_.nM=function(a){return a instanceof Error};_.oM=function(a){var b={};_.Se(a,function(c,d){b[d.toLowerCase()]=c});return b};_.ABc=function(a){return(a=a&&_.oM(a))&&a["x-guploader-uploadid"]};_.BBc=function(a){return(a=a&&_.oM(a))&&a["x-google-trace"]};CBc=[6];_.pM=function(a){_.P(this,a,0,-1,CBc,null)};_.L(_.pM,_.O);_.qM=function(a,b){return _.w(a,14,b)};_.R("sy11m");
_.DBc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.DBc,_.O);
_.rM=function(a){_.P(this,a,0,-1,null,null)};_.L(_.rM,_.O);_.rM.prototype.getOptions=function(){return _.A(this,_.DBc,1)};_.rM.prototype.Bm=function(){return _.x(this,2)};_.rM.prototype.jd=function(){return _.A(this,_.be,3)};
_.EBc=function(a){_.P(this,a,0,-1,null,_.sM)};_.L(_.EBc,_.O);_.sM=[[3,4,5,6,7,8,9,10]];
var FBc,HBc;
_.GBc=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=FBc(e)||new _.mb;_.w(e,8,!0);k&&(k=_.si(new _.ni(k),void 0).toString(),_.w(e,19,k));e.wC()||_.w(e,15,a||f);e.getMessage()||_.Mp(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.x(e,4)||_.Np(e,d);e.Mi()||(5==f?_.qM(e,7):0!=a||d?403==a?_.qM(e,22):503==a||429==a?_.qM(e,24):(_.w(e,14,void 0),_.w(e,10,1),_.w(e,8,!0)):l||_.qM(e,2));e.Y0(_.ABc(c));e.L0(_.BBc(c));
return e};FBc=function(a){if(!_.wa(a))return null;var b=new _.mb,c=a.error;if(!c)return _.Np(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.Mp(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=HBc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.Np(b,a);return b};
HBc={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};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy121");
/*

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.tM=function(a){return _.y(a,5,!1)};_.R("sy11s");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var IBc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.mea);try{delete a[_.mea]}catch(b){}},uM=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[_.mea]||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++)IBc(c[a]);return b.join("")};_.R("sy124");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var wM,KBc,JBc;_.vM=function(a,b,c){if("number"===typeof a)var d={name:JBc(a)};else d=a,a=KBc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.L(_.vM,_.aa);_.vM.prototype.getName=function(){return this.V.name||""};wM={GNa:1,fNa:2,NOT_FOUND_ERR:3,lMa:4,pMa:5,gNa:6,DNa:7,ABORT_ERR:8,sNa:9,RBb:10,TIMEOUT_ERR:11,qNa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.LBc=(_.m.OB||_.m.pE||wM).GNa;_.MBc=(_.m.OB||_.m.pE||wM).fNa;_.NBc=(_.m.OB||_.m.pE||wM).NOT_FOUND_ERR;
_.OBc=(_.m.OB||_.m.pE||wM).lMa;_.PBc=(_.m.OB||_.m.pE||wM).pMa;_.QBc=(_.m.OB||_.m.pE||wM).gNa;_.RBc=(_.m.OB||_.m.pE||wM).DNa;_.SBc=(_.m.OB||_.m.pE||wM).ABORT_ERR;_.TBc=(_.m.OB||_.m.pE||wM).sNa;_.UBc=(_.m.OB||_.m.pE||wM).TIMEOUT_ERR;_.VBc=(_.m.OB||_.m.pE||wM).qNa;_.WBc=(_.m.DOMException||wM).INVALID_ACCESS_ERR;_.XBc=(_.m.DOMException||wM).INVALID_STATE_ERR;
KBc=function(a){switch(a){case "UnknownError":return _.LBc;case "NotFoundError":return _.NBc;case "ConstraintError":return _.OBc;case "DataError":return _.PBc;case "TransactionInactiveError":return _.RBc;case "AbortError":return _.SBc;case "ReadOnlyError":return _.TBc;case "TimeoutError":return _.UBc;case "QuotaExceededError":return _.VBc;case "InvalidAccessError":return _.WBc;case "InvalidStateError":return _.XBc;default:return _.LBc}};
JBc=function(a){switch(a){case _.LBc:return"UnknownError";case _.NBc:return"NotFoundError";case _.OBc:return"ConstraintError";case _.PBc:return"DataError";case _.RBc:return"TransactionInactiveError";case _.SBc:return"AbortError";case _.TBc:return"ReadOnlyError";case _.UBc:return"TimeoutError";case _.VBc:return"QuotaExceededError";case _.WBc:return"InvalidAccessError";case _.XBc:return"InvalidStateError";default:return"UnknownError"}};
_.xM=function(a,b){return"error"in a?new _.vM(a.error,b):new _.vM({name:"UnknownError"},b)};_.yM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.vM(a,b);if("code"in a){var c=JBc(a.code);b=b+": "+a.message;return new _.vM({name:c},b)}return new _.vM({name:"UnknownError"},b)};
_.zM=function(a){this.H=a};_.YBc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.zM.prototype.range=function(){return this.H};
var ZBc=function(a){this.H=a};ZBc.prototype.getName=function(){return this.H.name};var $Bc=function(a,b,c,d){var e=new _.Cj;try{var f=a.H[b](d)}catch(h){return c+=" with key "+uM(d),e.Bd(_.yM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+uM(d);e.Bd(_.xM(h.target,c))};return e};ZBc.prototype.get=function(a){return $Bc(this,"get","getting from index "+this.getName(),a)};
ZBc.prototype.getKey=function(a){return $Bc(this,"getKey","getting key from index "+this.getName(),a)};ZBc.prototype.getAll=function(a,b){return _.aCc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.aCc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.zM?d.H:(new _.zM(_.YBc.only(d))).H;var h=new _.Cj;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?uM(f):"<all>"),h.Bd(_.yM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?uM(f):"<all>");h.Bd(_.xM(l.target,c))};return h};
var AM=function(a){this.H=a},bCc;AM.prototype.getName=function(){return this.H.name};bCc=function(a,b,c,d,e){var f=new _.Cj;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=uM(d),e&&(c+=", with key "+uM(e)),f.Bd(_.yM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=uM(d);e&&(c+=", with key "+uM(e));f.Bd(_.xM(k.target,c))};return f};_.cCc=function(a,b,c){return bCc(a,"put","putting into "+a.getName()+" with value",b,c)};
AM.prototype.add=function(a,b){return bCc(this,"add","adding into "+this.getName()+" with value ",a,b)};AM.prototype.remove=function(a){var b=new _.Cj;try{var c=this.H["delete"](a instanceof _.zM?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+uM(a),b.Bd(_.yM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+uM(a);b.Bd(_.xM(e.target,f))};return b};
AM.prototype.get=function(a){var b=new _.Cj;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+uM(a),b.Bd(_.yM(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 "+uM(a);b.Bd(_.xM(e.target,f))};return b};AM.prototype.getAll=function(a,b){return dCc(this,"getting all from index "+this.getName(),a,b)};
var dCc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.zM?c.H:(new _.zM(_.YBc.only(c))).H;var f=new _.Cj;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?uM(e):"<all>"),f.Bd(_.yM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?uM(e):"<all>");f.Bd(_.xM(k.target,b))};return f};
AM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Cj;try{var c=this.H.clear()}catch(d){return b.Bd(_.yM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Bd(_.xM(d.target,a))};return b};_.eCc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.yM(d,"creating new index "+b+" with key path "+c);}};AM.prototype.getIndex=function(a){try{return new ZBc(this.H.index(a))}catch(b){throw _.yM(b,"getting index "+a);}};
AM.prototype.count=function(a){var b=new _.Cj;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(_.xM(e.target,d.getName()))}}catch(e){b.Bd(_.yM(e,this.getName()))}return b};
var fCc=function(a,b){_.N.call(this);this.H=a;this.V=b;this.Lb=new _.Sd(this);this.Lb.listen(this.H,"complete",(0,_.I)(this.dispatchEvent,this,"complete"));this.Lb.listen(this.H,"abort",(0,_.I)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.ZZa)};_.L(fCc,_.N);_.g=fCc.prototype;_.g.ZZa=function(a){a.target instanceof _.vM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.xM(a.target,"in transaction")})};_.g.Hh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new AM(this.H.objectStore(a))}catch(b){throw _.yM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.yM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Cj;_.ud(this,"complete",(0,_.I)(a.callback,a));var b=_.ud(this,"abort",function(){_.Ng(c);a.Bd(new _.vM(_.SBc,"waiting for transaction to complete"))});var c=_.ud(this,"error",function(e){_.Ng(b);a.Bd(e.target)});var d=this.V;return a.nb(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.hb=function(){fCc.rb.hb.call(this);this.Lb.dispose()};
var gCc=function(a){_.N.call(this);this.H=a;this.Lb=new _.Sd(this);this.Lb.listen(this.H,"abort",(0,_.I)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.YZa);this.Lb.listen(this.H,"versionchange",this.cTa);this.Lb.listen(this.H,"close",(0,_.I)(this.dispatchEvent,this,"close"))};_.L(gCc,_.N);_.g=gCc.prototype;_.g.Fia=!0;_.g.YZa=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.cTa=function(a){this.dispatchEvent(new hCc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Fia&&(this.H.close(),this.Fia=!1)};_.g.li=function(){return this.Fia};_.g.getName=function(){return this.H.name};_.iCc=function(a,b,c){try{return new AM(a.H.createObjectStore(b,c))}catch(d){throw _.yM(d,"creating object store "+b);}};_.BM=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new fCc(d,a)}catch(e){throw _.yM(e,"creating transaction");}};
gCc.prototype.hb=function(){gCc.rb.hb.call(this);this.Lb.dispose()};var hCc=function(a,b){_.Gg.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.L(hCc,_.Gg);
_.jCc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB;_.kCc=function(a,b,c,d){var e=new _.Cj;b=b?_.jCc.open(a,b):_.jCc.open(a);b.onsuccess=function(f){f=new gCc(f.target.result);e.callback(f)};b.onerror=function(f){e.Bd(_.xM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new gCc(f.target.result);c(new hCc(f.oldVersion,f.newVersion),h,new fCc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new hCc(f.oldVersion,f.newVersion))};return e};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy125");
_.lCc=function(a){this.V=a};_.lCc.prototype.H=function(a){a=_.mH(new _.lH,a.Bc());this.V.log(a);return new _.Dh(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.mCc=function(a){this.V=a;_.kWb(this.V)};_.mCc.prototype.H=function(a){a=_.mH(new _.lH,a.Bc());this.V.log(a);this.V.ta()};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var nCc=function(a){_.P(this,a,0,-1,null,null)},yCc;_.L(nCc,_.O);var oCc=[3,42],pCc=function(a){_.P(this,a,0,-1,oCc,null)};_.L(pCc,_.O);pCc.prototype.Vb=function(){return _.x(this,27)};var qCc=function(a){_.P(this,a,0,-1,null,null)};_.L(qCc,_.O);var rCc=[2],sCc=function(a){_.P(this,a,0,-1,rCc,null)};_.L(sCc,_.O);var tCc=function(a){_.P(this,a,0,-1,null,null)};_.L(tCc,_.O);var uCc=function(a){_.P(this,a,0,-1,null,null)};_.L(uCc,_.O);var vCc=function(a){_.P(this,a,0,-1,null,null)};_.L(vCc,_.O);
var xCc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.Aza.length;a++){var b=_.Aza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;wCc(this,b);break}}},wCc=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})};
xCc.prototype.H=function(a){if(this.ma&&this.W){var b=_.A(a,_.Ja,2)||new _.Ja,c=_.A(a,_.Do,5)||new _.Do,d=_.A(a,_.Co,3)||new _.Co;a=_.nj(a,_.Hya,1);a=_.p(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.Bc(),session_info:b.Bc(),session_invariants:c.Bc(),client_info:d.Bc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};yCc=function(a){this.H=a};_.zCc=function(a){this.Id=a};_.zCc.prototype.getId=function(){return this.Id};
_.R("sy11v");
var ACc=function(){_.fp.call(this)};_.H(ACc,_.fp);ACc.prototype.Wr=function(){return 1==_.x(_.A(this.H,nCc,7),1)};var BCc=new _.bp("high_frequency_builder");
var CCc=function(a,b,c){a=new _.Mh(a);c.Qa(a);var d=new _.Sd(c);c.Qa(d);d.listen(a,"tick",b);a.start()};
var DCc=function(){_.fp.call(this)};_.H(DCc,_.fp);var ECc=function(a,b,c){var d=1E3*_.Ce();if(0==b){b=new _.to;var e=new _.qya;e=_.w(e,1,d);_.Q(b,1,e);_.w(b,3,1);_.Q(a.H,8,b);_.w(a.H,12,c);_.w(a.H,13,c);_.w(a.H,4,d);_.w(a.H,3,c)}else 1==b&&(b=new _.to,e=new _.rya,d=_.w(e,1,d),_.Q(b,2,d),_.w(b,3,2),_.Q(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},FCc=new _.bp("system_builder");
var GCc=function(a,b){_.M.call(this);this.V=a;this.H=new _.vBc(b);this.Qa(this.H);this.Lb=new _.Sd(this);this.Qa(this.Lb);this.H.KX()&&this.Lb.listen(this.H,"visibilitychange",this.W)};_.H(GCc,_.M);GCc.prototype.W=function(){if(this.V.UN()){var a=this.H.lJ()?102001:102E3;a=this.V.kD(a,0);this.V.Oo(a)}};
var HCc=function(a,b,c){c=void 0===c?!1:c;_.M.call(this);this.H=a;this.V=b;this.Qa(this.V);this.ha=c;this.W=null};_.H(HCc,_.M);_.g=HCc.prototype;_.g.Oo=function(a){var b=this.H;_.w(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.hc()&&b.V.iD();return new yCc(a)};_.g.kD=function(a,b){a=ECc(ICc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.iG=function(){return this.H.V};
_.g.iF=function(a){var b=this.H,c=_.gp(a,FCc),d=b.ka++,e=_.A(_.A(c.H,_.to,8),_.rya,2),f=1E3*_.Ce();_.w(e,2,f);_.w(c.H,13,d);b.ma.remove(_.x(a.H,12))};_.g.eT=function(){var a=this.V;if(!a.ka||a.H.W){var b=JCc(a.H,691).build();b=KCc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.Zb(this.W),this.W=null)};_.g.fT=function(){var a=this.H,b=JCc(a,716);LCc(a,b);b=b.build();a.H.add(b);a.Ca=!0;a.ta=!0;this.V.initialize();this.V.V.iD();this.ha&&(this.W=new GCc(this))};_.g.T5=function(){this.V.ha();return _.Ih(_.Rh(this.V.W)).then()};
_.g.UN=function(){var a=this.H;return a.Ca&&a.ta&&!0};
var MCc=function(a,b,c,d,e){_.M.call(this);this.H=a;this.Ca=b;this.ta=c;this.V=new _.lM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.H(MCc,_.M);MCc.prototype.initialize=function(){CCc(this.wa,this.V.iD,this.V);CCc(36E5,this.ma,this)};MCc.prototype.ha=function(){var a=this;if(0!=this.H.H.hc()&&(!this.ka||this.H.W)){var b=NCc(this.H),c=this.Ca.H(b);c&&(_.Kh(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
MCc.prototype.ma=function(){var a=this.H,b=JCc(a,1153).build();a.H.add(b);this.V.iD()};
var OCc=function(a){_.M.call(this);this.H=a;this.Qa(this.H)};_.H(OCc,_.M);_.g=OCc.prototype;_.g.Oo=function(a){a=this.H.Oo(a);this.T5();return a};_.g.kD=function(a,b){return this.H.kD(a,b)};_.g.iG=function(){return this.H.iG()};_.g.iF=function(a){return this.H.iF(a)};_.g.eT=function(){return this.H.eT()};_.g.fT=function(){return this.H.fT()};_.g.T5=function(){return this.H.T5()};_.g.UN=function(){return this.H.UN()};
var PCc=function(){};PCc.prototype.wI=function(){return new ACc};
var QCc=function(){this.H=[]};QCc.prototype.add=function(a){this.H.push(a)};QCc.prototype.hc=function(){return this.H.length};
var RCc=function(){this.H={}};RCc.prototype.add=function(a){var b=_.x(a.H,12);this.H[b]=a};RCc.prototype.remove=function(a){delete this.H[a]};
var SCc=function(a,b){this.V=a;this.Fa=b;this.ka=1;this.wa=this.ha=null;this.ma=new RCc;this.H=new QCc;this.ta=this.Ca=this.W=!1},ICc=function(a,b){a=_.gp((new _.fp).initialize(new _.Hya,a.Fa),FCc);_.w(a.H,10,b);return a},NCc=function(a){var b=a.H,c=b.H;b.H=[];return KCc(a,c)},KCc=function(a,b){var c=new _.Tya;var d=_.uj(a.V.ha);c=_.Q(c,2,d);d=a.V;(d=d.V?_.uj(d.V):null)&&_.Q(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.A(b[h],_.Bo,5);if(k&&_.A(k,pCc,1)){k=_.A(k,pCc,1);null!=_.x(k,12)&&
void 0===e&&(e=_.D(k,12));k=_.A(k,qCc,20);if(void 0!==k&&void 0===f){f=new vCc;var l=_.D(k,2);void 0!==l&&_.w(f,2,l);k=_.D(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.uj(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.Co),void 0!==e&&_.w(d,6,e),void 0!==f&&_.Q(d,13,f);(e=d)&&_.Q(c,3,e);a=_.uj(a.V.ka);_.Q(c,4,a);_.pj(c,1,b);return c},JCc=function(a,b){var c=ECc(ICc(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 tCc;k=_.w(n,1,k);l=_.x(l.H,10);l=_.w(k,2,l);f.push(l)}d=f}716!=b&&(b=a.wa,_.w(c.H,6,a.ha),e=new sCc,b=_.w(e,1,b),d&&_.pj(b,2,d),d=_.hp(c),_.Q(d,3,b));LCc(a,c);return c},LCc=function(a,b){a.ha=_.x(b.H,12);a.wa=_.x(_.A(_.A(b.H,_.to,8),_.qya,1),1)};
var TCc=function(){};TCc.prototype.wI=function(){return new DCc};
var UCc=function(){this.H=this.V=null};UCc.prototype.build=function(){null==this.H&&(this.H=new _.dCa);_.jp(this.H,FCc,new TCc);_.jp(this.H,BCc,new PCc);var a=this.H;var b=this.V;if(null==_.x(_.CM(b),1)){var c=_.CM(b),d=new _.pya;_.Q(c,1,d)}b=_.A(_.CM(b),_.pya,1);a.H=b;b=_.jc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new SCc(this.V,this.H)};
var VCc=function(){this.ha=new _.Ja;this.V=null;this.ka=new uCc;_.w(this.ka,1,6);this.H=this.W=null};VCc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.WCc=function(a,b){_.w(a.ha,2,b);return a};_.XCc=function(a,b){if(null==a.W){a.W=new _.Nya;var c=_.CM(a);_.Q(c,2,a.W)}_.w(a.W,1,b)};_.CM=function(a){null==a.V&&(a.V=new _.Do);return a.V};_.YCc=function(a){null==a.H&&(a.H=new _.Co);return a.H};
_.ZCc=function(){this.V=this.ma=null;this.ka=new VCc;this.ha=null;this.H=this.ta=!1;this.W=null};_.$Cc=function(a,b){a.ma=b;return a};_.aDc=function(a,b){a.V=b;return a};_.bDc=function(a,b){a.ha=b;return a};_.ZCc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.cDc=function(a,b){_.w(a.ka.ha,6,b);return a};
_.ZCc.prototype.build=function(){var a=new UCc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new xCc;this.V=this.ma=b}b=new MCc(a,this.ma,this.V,this.ta,this.W);a=new HCc(a,b,!1);this.H&&(a=new OCc(a));return a};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var fDc;_.FM=function(a){if(a instanceof _.mb)return a;var b;if(_.nM(a)){if(b=_.hnb(a))return b;b=_.oDa(void 0,void 0,a)}else b="string"===typeof a?_.oDa(a):_.oDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.DM(b,2);_.EM(b,6);return b};_.dDc=function(a){var b=a.Mi();a=a.wC();return 15==b||32==b||33==b||401==a};_.GM=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.eDc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.eDc,_.O);_.HM=function(a){return _.B(a,1,0)};_.IM=function(a){return _.A(a,_.eDc,4)};_.JM=function(a){return _.y(a,84,!1)};_.DM=function(a,b){return _.w(a,1,b)};_.EM=function(a,b){return _.w(a,2,b)};fDc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.KM=function(a){_.P(this,a,0,-1,fDc,null)};_.L(_.KM,_.O);_.g=_.KM.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Pf=function(){return _.x(this,3)};_.g.ll=function(a){return _.w(this,3,a)};_.g.Iq=function(a){return _.w(this,4,a)};_.g.jh=function(){return _.D(this,5)};_.g.Mn=function(a){return _.w(this,5,a)};_.g.Vb=function(){return _.x(this,6)};_.g.eA=function(a,b){_.jj(this,8,a,b)};_.g.Sh=function(){return _.x(this,12)};_.g.ie=function(){return _.A(this,_.je,17)};_.g.gp=function(){return _.D(this,18)};_.g.yc=function(){return _.x(this,21)};
_.LM=function(a,b){return _.w(a,16,b)};_.R("sy11l");
_.MM=function(a){_.P(this,a,0,-1,gDc,null)};_.L(_.MM,_.O);var gDc=[5];_.MM.prototype.HI=function(){return _.B(this,2,100)};_.MM.prototype.Kh=function(){return _.x(this,5)};_.MM.prototype.ie=function(){return _.A(this,_.je,6)};_.MM.prototype.yc=function(){return _.x(this,8)};
_.hDc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var NM;NM={};_.iDc=(NM[0]="/drive/v2internal",NM[1]="/drive/v2internal.corp",NM[2]="/drive/v2internal.scary",NM[4]="/drive/v2internal.scary",NM[5]="/drive/v2beta",NM[6]="/drive/v2.1beta",NM);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var OM,kDc;OM={};_.jDc=(OM[1]="modifiedDate",OM[2]="modifiedByMeDate",OM[3]="quotaBytesUsed",OM[4]="title",OM[6]="lastViewedByMeDate",OM[10]="createdDate",OM[7]="sharedWithMeDate",OM[9]="starred",OM[11]="recency",OM[5]="relevance",OM[12]="trashedDate",OM[13]="lastViewedByMeDate",OM);kDc={};_.lDc=(kDc[1]="asc",kDc[2]="desc",kDc);
_.mDc=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():_.Ce();this.date=new Date(a)};_.L(_.mDc,_.zv);_.g=_.mDc.prototype;_.g.clone=function(){var a=new _.mDc(this.date);a.AA=this.AA;a.ZL=this.ZL;return a};_.g.add=function(a){(a.ka||a.ha)&&_.yv.prototype.add.call(this,new _.xv(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Kr))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.zv.prototype.getUTCFullYear;
_.g.getMonth=_.zv.prototype.getUTCMonth;_.g.getDate=_.zv.prototype.getUTCDate;_.g.getHours=_.zv.prototype.getUTCHours;_.g.getMinutes=_.zv.prototype.getUTCMinutes;_.g.getSeconds=_.zv.prototype.getUTCSeconds;_.g.getMilliseconds=_.zv.prototype.getUTCMilliseconds;_.g.getDay=_.zv.prototype.getUTCDay;_.g.setFullYear=_.zv.prototype.setUTCFullYear;_.g.setMonth=_.zv.prototype.setUTCMonth;_.g.setDate=_.zv.prototype.setUTCDate;_.g.setHours=_.zv.prototype.setUTCHours;_.g.setMinutes=_.zv.prototype.setUTCMinutes;
_.g.setSeconds=_.zv.prototype.setUTCSeconds;_.g.setMilliseconds=_.zv.prototype.setUTCMilliseconds;
var nDc,pDc;nDc={};_.oDc=(nDc[1]="0",nDc[2]="1",nDc[3]="2",nDc);pDc={};_.qDc=(pDc[1]="asc",pDc[2]="desc",pDc);
_.rDc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.sDc=_.w(new _.KM,15,!0);_.tDc=_.LM(new _.KM,!0);_.uDc=_.LM(new _.KM,!1);
_.vDc=_.pg&&0>_.Qe(_.sg,"533");
_.wDc=new Set([0,1,2,3]);
var xDc,zDc,CDc,DDc,FDc,GDc,HDc,IDc;xDc={};_.yDc=(xDc[0]="POST",xDc[2]="PUT",xDc[12]="POST",xDc);zDc={};_.ADc=(zDc[0]=1,zDc[2]=3,zDc);CDc={};DDc={};_.BDc=(DDc[2]=(CDc["x-goog-upload-protocol"]="batch",CDc),DDc);FDc={};GDc={};HDc={};IDc={};_.EDc=(IDc[0]=(FDc["content-type"]="application/http",FDc["content-transfer-encoding"]="binary",FDc),IDc[12]=(GDc["content-type"]="application/http",GDc["content-transfer-encoding"]="binary",GDc),IDc[2]=(HDc["content-type"]="application/http",HDc),IDc);
_.JDc=new _.w_a("yyyy:MM:dd HH:mm:ss");
var KDc,MDc;KDc={};_.LDc=(KDc[1]="active",KDc[2]="archived",KDc);MDc={};_.NDc=(MDc[0]="unset",MDc[1]="default",MDc[2]="small",MDc[3]="size16kb",MDc);
_.ODc=new _.bp("drive_dataservice_builder");
_.PDc=new _.zCc("drive_dataservice_invariants");
_.QDc=new Map([[[1],1],[[6],7],[[2],2]]);_.PM=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.RDc=new Map([[12,function(a){return _.D(a,69)}],[24,function(a){return _.y(a,3,!1)}],[9,function(a){return _.y(a,17,!1)}],[21,function(a){return _.JM(a)}],[11,function(a){return _.y(a,12,!1)}],[13,function(a){return _.D(a,60)}],[2,function(a){return _.y(a,8,!0)}],[6,function(a){return _.y(a,11,!1)}],[14,function(a){return a.Kp()}],[16,function(a){return _.y(a,56,!1)}],[17,function(a){return _.y(a,57,!1)}],[18,function(a){return _.y(a,54,!1)}],[19,function(a){return _.y(a,53,!1)}],[23,function(a){return _.y(a,
15,!1)}],[28,function(a){return _.y(a,1,!1)}]]);_.SDc=new Map([[25,function(a){return _.y(a,1,!1)}],[26,function(a){return _.y(a,2,!1)}],[27,function(a){return _.y(a,3,!1)}],[29,function(a){return _.y(a,4,!1)}],[30,function(a){return _.y(a,5,!1)}],[31,function(a){return _.y(a,6,!1)}]]);_.TDc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.UDc=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]]);_.VDc=new Map([[[2],3],[[1],2],[[0],1]]);_.WDc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.XDc=new Map([[[_.MBc],1],[[_.NBc],2],[[_.OBc],3],[[_.PBc],4],[[_.QBc],5],[[_.RBc],6],[[_.SBc],7],[[_.TBc],8],[[_.UBc],10],[[_.VBc],11],[[_.WBc],12],[[_.XBc],13]]);_.YDc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.ZDc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy11n");
_.QM=function(a){_.P(this,a,0,-1,$Dc,null)};_.L(_.QM,_.O);var $Dc=[8];_.QM.prototype.Fx=function(){return _.x(this,1)};_.QM.prototype.Gc=function(){return _.x(this,2)};_.RM=function(a,b){return _.w(a,2,b)};_.QM.prototype.hz=function(){return _.y(this,3,!1)};_.QM.prototype.getItem=function(){return _.A(this,_.am,4)};_.QM.prototype.setItem=function(a){return _.Q(this,4,a)};_.QM.prototype.yc=function(){return _.x(this,7)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy11r");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy11q");

_.r().Aa();

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var aEc;aEc=[1];_.SM=function(a){_.P(this,a,0,-1,aEc,null)};_.L(_.SM,_.O);_.SM.prototype.V=function(){return _.x(this,1)};_.R("sy11p");
_.TM=function(a){_.P(this,a,0,-1,bEc,null)};_.L(_.TM,_.O);var bEc=[2];_.TM.prototype.Gb=function(){return _.x(this,1)};_.TM.prototype.Dc=function(a){return _.w(this,1,a)};_.TM.prototype.dj=function(){return _.nj(this,_.am,2)};_.cEc=function(a,b){return _.pj(a,2,b)};_.TM.prototype.uo=function(a,b){return _.qj(this,2,a,_.am,b)};_.TM.prototype.getSessionId=function(){return _.A(this,_.hm,3)};_.TM.prototype.setSessionId=function(a){return _.Q(this,3,a)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy122");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.dEc=function(a,b){a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.right=Math.max(a.right,b.right);a.bottom=Math.max(a.bottom,b.bottom)};_.UM=function(a){for(var b in a)delete a[b]};_.eEc=function(a){a=_.nf(a);return 0===a.length?_.Jfa:new _.Bf(a,_.Hfa)};_.fEc=function(a,b){a=_.Th(a);b=_.Th(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.R("sy123");
/*

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

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy11o");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy120");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy11t");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.VM=function(a){return _.w(a,3,!0)};_.gEc=function(a,b){return _.w(a,7,b)};_.R("sy11k");
_.hEc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.iEc=_.Pea(_.hEc);
_.jEc=new Set([1,2,4,5,6]);
_.kEc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.lEc=new Map([["Versions","versionKey"],["Metadata","k"]]);
_.mEc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.nEc=new Set([7,4,5,9,6,10,11,12]);
_.oEc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var WM,qEc;WM={};_.pEc=(WM[5]=0,WM[7]=1,WM[1]=2,WM[3]=3,WM[4]=4,WM[2]=5,WM[6]=6,WM);qEc={};_.rEc=(qEc[1]=0,qEc[2]=1,qEc[3]=2,qEc[4]=3,qEc);
var sEc;sEc={};_.tEc=(sEc[1]="active",sEc[2]="archived",sEc);
var uEc;uEc=function(a){return"kind,defaultAppIds,items("+a+")"};_.vEc=uEc("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");
_.wEc=uEc("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");
_.xEc=uEc("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");
_.yEc=new Set([5,4,1,6,2]);_.zEc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.AEc=function(a,b){return _.w(a,1,b)};_.BEc=function(a,b){return _.Q(a,1,b)};_.CEc=function(a,b){return _.w(a,2,b)};_.DEc=function(a,b){return _.Q(a,3,b)};_.R("sy126");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.EEc=function(a,b){return _.w(a,1,b)};_.FEc=function(a,b){return _.w(a,2,b)};_.GEc=function(a,b){return _.w(a,3,b)};_.R("sy12b");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy129");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.R("sy12c");
var HEc=function(a,b){this.V=a;this.H=null;this.W=b};HEc.prototype.get=function(a){return this.Os()[a]||null};HEc.prototype.set=function(a){this.Os()[this.W(a)]=a;this.V=null};HEc.prototype.Os=function(){this.H||(this.H=_.laa(this.V,this.W));return this.H};
var JEc,KEc,IEc;_.XM=function(a,b){this.H=a;this.V=b};
_.YM=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!IEc(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.XE(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.ZE(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&IEc(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++)IEc(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&&IEc(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.ZE(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.XE(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.wF(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.Yh()||0;t>(q.Yh()||0)&&--t;if(l=l.H.BJ(l.H.wF(n),q.Yh()||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.Yh()||0,n=k.Mt()||0,k.setPosition((k.Yh()||0)+JEc(f,k.Yh()||0)),e[h].setPosition((e[h].Yh()||0)+d),3==e[h].getType()&&(k.ku((k.Mt()||0)+JEc(f,k.Mt()||0)),e[h].ku((e[h].Mt()||0)+d)),f.push(KEc(k.getType(),l,n));d=e}e=[];b=new HEc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.tj(k,h)&&e.push(a.H.UH(h,f));return d.concat(e)};JEc=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};KEc=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}}};IEc=function(a,b,c){return a.V(b)==a.V(c)};

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.ZM=function(a){_.P(this,a,0,-1,null,null)};_.L(_.ZM,_.O);_.ZM.prototype.getType=function(){return _.x(this,1)};_.$M=function(a){var b=new _.ZM;return _.w(b,1,a)};_.g=_.ZM.prototype;_.g.getItem=function(){return _.A(this,_.am,2)};_.g.setItem=function(a){return _.Q(this,2,a)};_.g.Mt=function(){return _.x(this,3)};_.g.ku=function(a){return _.w(this,3,a)};_.g.Yh=function(){return _.x(this,4)};_.g.setPosition=function(a){return _.w(this,4,a)};_.R("sy12e");
var LEc=function(){};_.g=LEc.prototype;_.g.ZE=function(a,b){return _.$M(1).setItem(a).setPosition(b)};_.g.XE=function(a,b){return _.$M(2).setPosition(b).setItem(a)};_.g.BJ=function(a,b,c){return _.$M(3).ku(b).setPosition(c).setItem(a)};_.g.UH=function(a,b){return _.$M(4).setItem(a).setPosition(b)};_.g.wF=function(a){return a.getItem()};
_.aN=function(){_.XM.call(this,new LEc,function(a){return a.getId()})};_.H(_.aN,_.XM);_.Ae(_.aN);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.bN=function(a,b){return _.w(a,33,b||[])};_.MEc=function(a,b){return _.w(a,5,b)};_.ob=function(a){_.Gg.call(this,_.Yb);this.error=a};_.H(_.ob,_.Gg);_.R("sy12d");
_.NEc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.cN=function(a,b){_.w(a,1,b)};_.R("sy12f");

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var OEc,PEc,TEc,XEc,YEc,ZEc,$Ec,nFc,cO,oFc,pFc,wFc,xFc,yFc,HFc,IFc,VEc,fGc,UEc,vGc,wGc,xGc,yGc,AGc,BGc,CGc,DGc,FGc,GGc,HGc,JGc,VGc,WGc,aHc,cHc,dHc,eHc,jHc,mHc,rHc,sHc,uHc,hFc,wHc,iFc,xHc,GO,IO,zHc,AHc,BHc,CHc,DHc,GHc,HHc,IHc,JHc,KHc,qFc,NHc,rFc,sFc,tFc,uFc,vFc,WHc,VHc,gIc,iIc,lIc,jIc,mIc,kIc,hIc,pIc,xIc,NIc,OIc,QIc,TIc,WIc,aJc,cJc,dJc,eJc,fJc,gJc,hJc,iJc,jJc,kJc,lJc,mJc,nJc,tJc,oJc,xJc,zJc,pJc,AJc,CJc,DJc,GJc,MJc,NJc,OJc,PJc,YIc,$Jc,aKc,bKc,cKc,eKc,iKc,gKc,jKc,kKc,fKc,lKc,hKc,uKc,tKc,vKc,zKc,AKc,
BKc,FKc,GKc,HKc,IKc,PHc;_.dN=function(a,b,c){var d=new _.mb,e=_.Vga(_.dN);_.w(d,20,e);_.EM(d,a);_.DM(d,b?b:2);c&&_.qM(d,c);return d};_.eN=function(a){var b;a instanceof _.mb?b=new _.nb(null,a):b=_.nM(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=_.Vga(_.eN));return b};
_.fN=function(a){return a instanceof _.nb?a:a instanceof _.mb?new _.nb(void 0,a):a instanceof Error?new _.nb("Not a drive.ds.Error",void 0,a):new _.nb("Not an Error",void 0,Error("kb`"+JSON.stringify(a)))};_.gN=function(a){throw _.fN(a);};OEc=function(a){return 7==a.Mi()||24==a.vn()&&(a=a.wC(),503==a||429==a)?!0:!1};PEc=function(a,b){return b?b+"("+a+")":a};
_.hN=function(a,b,c){var d={},e=[];b&&e.push("kind");a.s5a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.QEc.includes(n)){var q=_.ybb.get(n);if(q){var t=_.iA[n];a.dI&&t&&(q=t);a.Pv&&(a.dI?(n=_.hA[n])&&(q=n):(n=_.zbb[n])&&(q=n));q.split(",").forEach(function(v){var z=_.tga(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={fV:f.fV},k=h.next()){var l=_.p(k.value);k=l.next().value;l=l.next().value;
f.fV=[];l.forEach(function(n){return function(q){n.fV.push(q)}}(f));"owners"==k&&b&&f.fV.push("kind");e.push(PEc(f.fV.join(","),k))}return PEc(e.join(","),c)};_.REc=function(a){var b=new _.Ko;b.append(_.hN(a,!0));return b.toString()};_.SEc=function(a,b){return a.filter(function(c){return b.includes(c)})};TEc=function(a){a=a.filter(function(b){return!_.ybb.has(b)});if(a.length)throw Error("bd`"+a.join(", "));};
_.WEc=function(a){if(a){var b=a.Vb();b&&_.iM(a,b.toLowerCase());UEc(a,_.nj(a,VEc,58).map(function(c){var d=c.Vb();d&&_.w(c,1,d.toLowerCase());return c}))}};_.iN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Vb():!1};_.jN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Vb();return b&&_.iN(a)?(a=a.ef(),!!a&&"application/vnd.google-apps.folder"==_.x(a,3)):"application/vnd.google-apps.folder"==c};
XEc=function(a){var b=a&&a.getId()||null;a&&_.iN(a)&&(a=(a=a.ef())&&_.x(a,1))&&(b=a);return b};YEc=function(a,b){b&&(_.yi(a,"openDrive",!!_.y(b,2,!1)),_.yi(a,"reason",_.x(b,1)||0),_.yi(a,"syncType",_.x(b,3)||0),_.yi(a,"errorRecovery",!!_.y(b,4,!1)))};ZEc=function(a){if(_.$e(a))return"\r\n";var b="";_.Se(a,function(c,d){b+=d+": "+c+"\r\n"});return b};$Ec=function(a){for(var b={},c=0;c<a.length;c++){var d=_.tga(a[c],":",1);d&&2==d.length&&(b[(0,_.Ne)(d[0])]=(0,_.Ne)(d[1]))}return _.oM(b)};
nFc=function(a){if(a instanceof _.kN)return"request access";if(a instanceof _.lN)return"admin migrate to TD";if(a instanceof _.mN)return"authorize app";if(a instanceof _.nN)return"copy item";if(a instanceof _.oN)return"change category links";if(a instanceof _.pN)return"create item";if(a instanceof _.qN)return"create ws";if("undefined"!=typeof _.rN&&a instanceof _.rN)return"delete app";if("undefined"!=typeof _.sN&&a instanceof _.sN)return"delete backup";if(a instanceof _.tN)return"delete item";if("undefined"!=
typeof _.uN&&a instanceof _.uN)return"delete permission";if(a instanceof _.vN)return"delete revision";if(a instanceof _.wN)return"delete TD";if("undefined"!=typeof _.fD&&a instanceof _.fD)return"delete pref";if(a instanceof _.xN)return"delete ws";if(a instanceof _.yN)return"download item";if(a instanceof _.zN)return"empty trash";if(a instanceof _.Gn)return"find by ID";if(a instanceof _.aFc)return"item export start";if("undefined"!=typeof _.AN&&a instanceof _.AN)return"get app";if("undefined"!=typeof _.BN&&
a instanceof _.BN)return"insert app";if("undefined"!=typeof _.CN&&a instanceof _.CN)return"insert permission";if(a instanceof _.rM)return a=a.jd(),_.DN(a)?"quick access item query":_.EN(a)?"people predict item query":_.FN(a)?"drive priority query":"item query";if("undefined"!=typeof _.GN&&a instanceof _.GN)return"list android backup items request";if(a instanceof _.HN){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 _.IN&&a instanceof _.IN?"list backups":a instanceof _.MM?"list changes":a instanceof _.JN?"list permissions":"undefined"!=typeof _.KN&&a instanceof _.KN?"list revisions":a instanceof _.LN?"people api":a instanceof _.GF?"get published category":"undefined"!=typeof _.MN&&a instanceof _.MN?"get remaining changes":a instanceof _.NN?"remove item":"undefined"!=typeof _.ON&&a instanceof _.ON?"reparent item":a instanceof
_.PN?"restore item":"undefined"!=typeof _.QN&&a instanceof _.QN?"list suggested workspace items":a instanceof _.Mn?"list suggested workspaces":"undefined"!=typeof _.RN&&a instanceof _.RN?"update app":a instanceof _.SN?"update category metadata":a instanceof _.KM?"update item":a instanceof _.TN?"update revision":a instanceof _.UN?"update TD":"undefined"!=typeof _.gD&&a instanceof _.gD?"update pref":a instanceof _.VN?"update ws":a instanceof _.WN?"get account":"undefined"!=typeof _.XN&&a instanceof
_.XN?"get workspace":a instanceof _.bFc?"list activity":a instanceof _.cFc?"list category metadata":a instanceof _.YN?"create TD":"undefined"!=typeof _.dFc&&a instanceof _.dFc?"item export cancel":"undefined"!=typeof _.eFc&&a instanceof _.eFc?"item export status":"undefined"!=typeof _.ZN&&a instanceof _.ZN?"get largest change ID":a instanceof _.fFc?"list prefs":a instanceof _.$N?"multipart upload":a instanceof _.gFc?"list published categories":a instanceof hFc?"init resumable upload":a instanceof
iFc?"resumable upload chunk":a instanceof _.jFc?"resumable upload":a instanceof _.KF?"get TD":"undefined"!=typeof _.kFc&&a instanceof _.kFc?"move TD preflight":a instanceof _.aO?"list TDs":"undefined"!=typeof _.bO&&a instanceof _.bO?"get TD stats":a instanceof _.lFc?"test connection":"undefined"!=typeof _.mFc&&a instanceof _.mFc?"list workspaces":"unknown"};cO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};
oFc=function(a){if(a instanceof _.pN||a instanceof _.$N||a instanceof _.jFc||a instanceof hFc||a instanceof iFc)return(new _.dO).Dc(8);throw Error("Ue");};pFc=function(a){if(a instanceof _.KM){var b=_.eO(_.w(_.uj(a),1,void 0),void 0);b=_.tj(b,_.sDc)}else b=!1;b||(a instanceof _.KM?(a=_.eO(_.w(_.uj(a),1,void 0),void 0),b=_.tj(a,_.tDc)||_.tj(a,_.uDc)):b=!1);return b?!1:!0};_.fO=function(a){return qFc.includes(a.constructor)?pFc(a):!1};
wFc=function(a,b){return rFc.includes(a.constructor)||b&&(_.y(b,54,!1)&&sFc.includes(a.constructor)||tFc.includes(a.constructor)&&!_.gO(a)||_.y(b,56,!1)&&_.gO(a)||_.y(b,57,!1)&&uFc.includes(a.constructor)||!(!_.y(b,53,!1)||sFc.includes(a.constructor)||tFc.includes(a.constructor)||_.gO(a)||uFc.includes(a.constructor)||vFc.includes(a.constructor)))?!0:!1};
xFc=function(a,b,c){c=void 0===c?!1:c;var d=new _.ni(_.B(b,16,"")+"/open"),e=a.getId();_.iN(a)&&c&&(e=XEc(a));_.yi(d,"id",e);_.yi(d,"authuser",_.HM(b.Pe()));return d.toString()};yFc=function(a){var b={};a=a.Ra().split("\r\n");for(var c=0;c<a.length;c++)if(!_.wc(a[c])){var d=_.tga(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 _.Ue(b,function(h){return h.join(", ")})};_.zFc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.zFc,_.O);
_.hO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.hO,_.O);_.hO.prototype.ub=function(){return _.x(this,1)};_.hO.prototype.kc=function(a){return _.w(this,1,a)};_.hO.prototype.ql=function(){return _.w(this,1,void 0)};_.hO.prototype.Lh=function(){return null!=_.x(this,1)};var AFc=[3],BFc=function(a){_.P(this,a,0,-1,AFc,null)};_.L(BFc,_.O);BFc.prototype.V=function(){var a=_.x(this,3);this.La||(this.La={});if(!this.La[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.La[3]=!0}return a};
var CFc=[3],DFc=function(a){_.P(this,a,0,-1,CFc,null)};_.L(DFc,_.O);DFc.prototype.V=function(){return _.x(this,3)};_.EFc=function(a){var b=new _.fk;return _.w(b,1,a)};_.FFc=function(a,b){return _.w(a,5,b)};_.GFc=function(a,b){return _.w(a,8,b)};HFc=[3];IFc=function(a){_.P(this,a,0,-1,HFc,null)};_.L(IFc,_.O);IFc.prototype.V=function(){return _.x(this,3)};_.iO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.iO,_.O);_.iO.prototype.ub=function(){return _.x(this,1)};
_.iO.prototype.kc=function(a){return _.w(this,1,a)};_.iO.prototype.ql=function(){return _.w(this,1,void 0)};_.iO.prototype.Lh=function(){return null!=_.x(this,1)};_.jO=function(a){return _.nj(a,_.ge,6)};_.kO=function(a){return _.nj(a,_.Qb,12)};_.lO=function(a){return _.B(a,45,1)};_.DN=function(a){return _.y(a,47,!1)};_.EN=function(a){return _.y(a,49,!1)};_.FN=function(a){return _.y(a,52,!1)};_.mO=function(a){return _.B(a,2,"")};_.JFc=function(a,b){return _.w(a,27,b||[])};
_.nO=function(a){return _.B(a,39,0)};_.oO=function(a){return _.y(a,40,!1)};_.pO=function(a){return _.y(a,49,!1)};_.KFc=function(a,b){return _.w(a,1,b)};_.LFc=function(a,b){return _.w(a,7,b)};_.MFc=function(a,b){return _.w(a,8,b)};_.NFc=function(a,b){return _.w(a,9,b)};_.OFc=function(a,b){return _.w(a,11,b)};_.PFc=function(a,b){return _.w(a,12,b)};_.QFc=function(a,b){return _.w(a,16,b)};_.RFc=function(a,b){return _.w(a,17,b)};_.SFc=function(a,b){return _.w(a,20,b)};
_.TFc=function(a,b){return _.w(a,21,b)};_.UFc=function(a,b){return _.w(a,31,b)};_.VFc=function(a,b){return _.w(a,32,b)};_.WFc=function(a,b){return _.w(a,33,b)};_.XFc=function(a,b){return _.w(a,42,b)};_.YFc=function(a,b){return _.w(a,43,b)};_.ZFc=function(a,b){return _.w(a,46,b)};_.$Fc=function(a,b){return _.w(a,47,b)};_.aGc=function(a,b){return _.w(a,48,b)};_.qO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.qO,_.O);_.rO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.rO,_.O);
_.rO.prototype.Qu=function(){return _.x(this,4)};_.sO=function(a,b){return _.w(a,1,b)};_.bGc=function(a,b){return _.w(a,2,b)};VEc=function(a){_.P(this,a,0,-1,null,null)};_.L(VEc,_.O);VEc.prototype.Vb=function(){return _.x(this,1)};VEc.prototype.getUrl=function(){return _.x(this,2)};_.tO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.tO,_.O);_.tO.prototype.Ne=function(){return _.x(this,3)};_.tO.prototype.Rf=function(a){return _.w(this,3,a)};_.uO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.uO,_.O);
_.cGc=function(a,b){return _.w(a,1,b)};_.dGc=function(a,b){return _.pj(a,2,b)};_.eGc=function(a,b){return _.pj(a,3,b)};fGc=[2];_.vO=function(a){_.P(this,a,0,-1,fGc,null)};_.L(_.vO,_.O);_.vO.prototype.Pf=function(){return _.x(this,1)};_.vO.prototype.ll=function(a){return _.w(this,1,a)};_.vO.prototype.cua=function(a,b){return _.jj(this,2,a,b)};_.wO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.wO,_.O);_.wO.prototype.Ne=function(){return _.x(this,2)};_.wO.prototype.Rf=function(a){return _.w(this,2,a)};
_.xO=function(a,b){return _.w(a,2,b||[])};_.gGc=function(a,b){_.w(a,8,b)};_.hGc=function(a,b){return _.w(a,19,b)};_.iGc=function(a,b){_.w(a,26,b)};_.jGc=function(a,b){_.w(a,31,b)};_.kGc=function(a,b){_.w(a,34,b)};_.lGc=function(a,b){return _.w(a,44,b)};_.mGc=function(a,b){return _.w(a,52,b)};UEc=function(a,b){_.pj(a,58,b)};_.nGc=function(a,b){return _.w(a,72,b)};_.oGc=function(a,b){_.Q(a,85,b)};_.pGc=function(a,b){return _.w(a,92,b)};_.qGc=function(a,b){return _.w(a,93,b)};
_.rGc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.sGc=function(a){return _.yv.prototype.xU.call(a,!0)+"T"+_.cg(a.getHours(),2)+":"+_.cg(a.getMinutes(),2)+":"+_.cg(a.getSeconds(),2)+a.lY()};_.tGc=function(a,b){return _.w(a,18,b||[])};_.uGc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.uGc,_.O);vGc=[3,4,10,18,19,28];_.pN=function(a){_.P(this,a,0,-1,vGc,null)};_.L(_.pN,_.O);_.g=_.pN.prototype;_.g.Vb=function(){return _.x(this,1)};_.g.getTitle=function(){return _.x(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.eA=function(a,b){_.jj(this,3,a,b)};_.g.ie=function(){return _.A(this,_.je,7)};_.g.Tr=function(){return _.y(this,13,!1)};_.g.yc=function(){return _.x(this,14)};_.g.Gc=function(){return _.x(this,23)};_.g.Qu=function(){return _.x(this,24)};_.yO=function(a){return _.x(a,9)};_.tN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.tN,_.O);_.tN.prototype.getId=function(){return _.x(this,1)};_.tN.prototype.lc=function(a){return _.w(this,1,a)};
_.tN.prototype.ie=function(){return _.A(this,_.je,3)};_.wN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.wN,_.O);_.wN.prototype.getId=function(){return _.x(this,1)};_.wN.prototype.lc=function(a){return _.w(this,1,a)};_.wN.prototype.ie=function(){return _.A(this,_.je,2)};_.eO=function(a,b){return _.Q(a,17,b)};wGc=[7,8];_.UN=function(a){_.P(this,a,0,-1,wGc,null)};_.L(_.UN,_.O);_.g=_.UN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};
_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ie=function(){return _.A(this,_.je,4)};_.g.p6=function(){return _.D(this,12)};_.g.kY=function(){return _.D(this,13)};_.g.xl=function(){return _.D(this,15)};xGc=[1];_.zO=function(a){_.P(this,a,0,-1,xGc,null)};_.L(_.zO,_.O);_.g=_.zO.prototype;_.g.Kh=function(){return _.x(this,1)};_.g.ie=function(){return _.A(this,_.je,2)};_.g.ih=function(){return _.B(this,3,20)};_.g.Ri=function(a){return _.w(this,3,a)};
_.g.xl=function(){return _.D(this,4)};_.aO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.aO,_.O);_.aO.prototype.getOptions=function(){return _.A(this,_.DBc,1)};_.aO.prototype.Bm=function(){return _.x(this,2)};_.aO.prototype.jd=function(){return _.A(this,_.zO,3)};yGc=function(a,b){return _.aCc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.zGc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.yM(c,"deleting object store "+b);}};
AGc=function(){var a=new _.ZCc;a.W=12E4;a.ta=!0;return a};
BGc={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."};
CGc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};DGc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.EGc=function(a){if(_.oka)return _.m.atob(a);var b="";_.qka(a,function(c){b+=String.fromCharCode(c)});return b};FGc=function(){this.V=0;this.H=[]};_.g=FGc.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=GGc(this,a);return this.H[a]};_.g.set=function(a,b){a=GGc(this,a);this.H[a]=b};_.g.hc=function(){return this.H.length};
_.g.vc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.eh=function(){var a=this.hc(),b=this.hc(),c=[];for(a=this.hc()-a;a<b;a++)c.push(this.get(a));return c};_.g.$e=function(){for(var a=[],b=this.hc(),c=0;c<b;c++)a[c]=c;return a};_.g.Un=function(a){for(var b=this.hc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};GGc=function(a,b){if(b>=a.H.length)throw Error("T");return 40>a.H.length?b:(a.V+Number(b))%40};HGc=[2,3];_.oN=function(a){_.P(this,a,0,-1,HGc,null)};
_.L(_.oN,_.O);_.oN.prototype.yc=function(){return _.x(this,1)};_.oN.prototype.ie=function(){return _.A(this,_.je,4)};_.AO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.AO,_.O);_.g=_.AO.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.Vb=function(){return _.x(this,2)};_.g.Tr=function(){return _.D(this,4)};_.g.xC=function(){return _.x(this,8)};_.dO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.dO,_.O);_.g=_.dO.prototype;
_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.A(this,_.am,2)};_.g.setItem=function(a){return _.Q(this,2,a)};_.g.Sj=function(){return _.x(this,3)};_.g.Gc=function(){return _.x(this,5)};_.IGc=function(a,b){return _.w(a,5,b)};_.g=_.dO.prototype;_.g.OC=function(){return _.x(this,7)};_.g.Y0=function(a){return _.w(this,7,a)};_.g.oga=function(a){_.w(this,9,a)};_.g.Jwa=function(a){_.w(this,10,a)};_.g.zI=function(){return _.x(this,16)};
_.g.L0=function(a){return _.w(this,16,a)};_.kN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.kN,_.O);_.kN.prototype.Gc=function(){return _.x(this,1)};_.lN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.lN,_.O);_.lN.prototype.getId=function(){return _.x(this,1)};_.lN.prototype.lc=function(a){return _.w(this,1,a)};_.lN.prototype.Tj=function(){return _.x(this,2)};_.mN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.mN,_.O);_.mN.prototype.Gc=function(){return _.x(this,2)};
_.mN.prototype.ie=function(){return _.A(this,_.je,4)};JGc=[3,7];_.nN=function(a){_.P(this,a,0,-1,JGc,null)};_.L(_.nN,_.O);_.g=_.nN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.eA=function(a,b){_.jj(this,3,a,b)};_.g.ie=function(){return _.A(this,_.je,5)};_.qN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.qN,_.O);
_.qN.prototype.getTitle=function(){return _.x(this,1)};_.qN.prototype.setTitle=function(a){return _.w(this,1,a)};_.qN.prototype.ie=function(){return _.A(this,_.je,2)};_.vN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.vN,_.O);_.vN.prototype.Gc=function(){return _.x(this,1)};_.vN.prototype.ie=function(){return _.A(this,_.je,3)};_.xN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.xN,_.O);_.xN.prototype.getId=function(){return _.x(this,1)};_.xN.prototype.lc=function(a){return _.w(this,1,a)};
_.xN.prototype.ie=function(){return _.A(this,_.je,3)};_.zN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.zN,_.O);_.zN.prototype.ie=function(){return _.A(this,_.je,1)};_.NN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.NN,_.O);_.g=_.NN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Jg=function(a){return _.w(this,2,a)};_.g.ie=function(){return _.A(this,_.je,3)};_.PN=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.PN,_.O);_.g=_.PN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Jg=function(a){return _.w(this,2,a)};_.g.ie=function(){return _.A(this,_.je,3)};_.TN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.TN,_.O);_.TN.prototype.Gc=function(){return _.x(this,1)};_.TN.prototype.Tr=function(){return _.D(this,3)};_.TN.prototype.ie=function(){return _.A(this,_.je,4)};_.VN=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.VN,_.O);_.g=_.VN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.x(this,3)};_.g.Od=function(a){return _.w(this,3,a)};_.g.Cn=function(){return null!=_.x(this,3)};_.g.ie=function(){return _.A(this,_.je,5)};var KGc=function(a){_.P(this,a,0,-1,null,null)};_.L(KGc,_.O);KGc.prototype.getEnvironment=function(){return _.x(this,2)};
KGc.prototype.setEnvironment=function(a){return _.w(this,2,a)};var LGc=function(a){_.P(this,a,0,-1,null,null)};_.L(LGc,_.O);_.MGc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.MGc,_.O);_.MGc.prototype.Ke=function(){return _.x(this,1)};_.MGc.prototype.Gb=function(){return _.x(this,4)};_.MGc.prototype.Dc=function(a){return _.w(this,4,a)};var NGc=function(a){_.P(this,a,0,-1,null,null)};_.L(NGc,_.O);var OGc=function(a,b){_.w(a,6,b)},PGc=function(a){_.P(this,a,0,-1,null,null)};_.L(PGc,_.O);_.g=PGc.prototype;
_.g.lTa=function(a){_.w(this,1,a)};_.g.fjb=function(a){_.w(this,2,a)};_.g.Ox=function(){return _.D(this,3)};_.g.mTa=function(a){_.w(this,3,a)};_.g.Pib=function(a){_.w(this,4,a)};var QGc=function(a){_.P(this,a,0,-1,null,null)};_.L(QGc,_.O);QGc.prototype.Ox=function(){return _.D(this,2)};var RGc=function(a,b){return _.w(a,2,b)},SGc=function(a,b){_.w(a,3,b)};QGc.prototype.lw=function(){return _.x(this,6)};var TGc=function(a,b){return _.w(a,8,b)},UGc=function(a){_.P(this,a,0,-1,null,null)};_.L(UGc,_.O);
UGc.prototype.jd=function(){return _.A(this,_.MGc,1)};UGc.prototype.getState=function(){return _.A(this,NGc,2)};UGc.prototype.Od=function(a){return _.Q(this,2,a)};UGc.prototype.Cn=function(){return null!=_.x(this,2)};_.QEc=[42,1005,20,50,18,1003,1002];VGc=[73,71];WGc=function(a){var b=new _.Cj;a.listen("loadend",_.Be(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};_.XGc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.YGc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.YGc,_.O);_.g=_.YGc.prototype;_.g.getKey=function(){return _.x(this,1)};_.g.ub=function(){return _.x(this,2)};_.g.kc=function(a){return _.w(this,2,a)};_.g.ql=function(){return _.w(this,2,void 0)};_.g.Lh=function(){return null!=_.x(this,2)};_.g.Pf=function(){return _.x(this,3)};_.g.ll=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.x(this,4)};_.ZGc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.BO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.BO,_.O);_.BO.prototype.Zq=function(){return _.A(this,_.JB,1)};_.$Gc=function(a,b){return _.Q(a,1,b)};_.BO.prototype.Bm=function(){return _.x(this,3)};aHc=[3,4];_.HN=function(a){_.P(this,a,0,-1,aHc,null)};_.L(_.HN,_.O);_.HN.prototype.getType=function(){return _.x(this,1)};_.HN.prototype.ie=function(){return _.A(this,_.je,2)};_.bHc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.bHc,_.O);_.bHc.prototype.getId=function(){return _.x(this,1)};
_.bHc.prototype.lc=function(a){return _.w(this,1,a)};_.bHc.prototype.ie=function(){return _.A(this,_.je,2)};_.JN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.JN,_.O);_.JN.prototype.Bm=function(){return _.x(this,2)};_.JN.prototype.jd=function(){return _.A(this,_.bHc,3)};cHc=[1];_.LN=function(a){_.P(this,a,0,-1,cHc,null)};_.L(_.LN,_.O);_.LN.prototype.Il=function(){return _.x(this,1)};_.WN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.WN,_.O);_.WN.prototype.ie=function(){return _.A(this,_.je,1)};
_.WN.prototype.Gg=function(){return _.x(this,4)};dHc=[2];_.SN=function(a){_.P(this,a,0,-1,dHc,null)};_.L(_.SN,_.O);_.SN.prototype.Gc=function(){return _.x(this,1)};_.SN.prototype.mM=function(){return _.nj(this,_.IF,2)};_.SN.prototype.ie=function(){return _.A(this,_.je,3)};_.yN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.yN,_.O);_.yN.prototype.getId=function(){return _.x(this,1)};_.yN.prototype.lc=function(a){return _.w(this,1,a)};eHc=[1];_.aFc=function(a){_.P(this,a,0,-1,eHc,null)};_.L(_.aFc,_.O);
var fHc=function(a){_.Gg.call(this,a);_.hDc.get(a)};_.H(fHc,_.Gg);_.gHc=function(){var a=void 0===a?1E3:a;this.V=new _.Ll;this.H=new _.Ll;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.gHc.prototype.info=function(a,b){_.CO(this,a,b,"info")};_.gHc.prototype.config=function(a,b){_.CO(this,a,b,"config")};_.gHc.prototype.log=function(a,b,c){_.CO(this,a,b,c)};
_.CO=function(a,b,c,d){a.H.hc()>=a.ka&&(a.W=!0,_.Ml(a.H));var e=Date.now()-a.ma;b=_.hHc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.hc()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};_.hHc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.iHc=function(){this.H={}};jHc=function(a,b,c){if(a.H[b])throw Error("Qe");a.H[b]=c};_.iHc.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 kHc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},lHc=function(a){_.Gg.call(this,"Ab");this.request=a};_.H(lHc,_.Gg);var DO=function(){_.N.apply(this,arguments)};_.H(DO,_.N);mHc=function(a,b){a.dispatchEvent(new lHc(b))};_.nHc=function(a){DO.call(this);this.V=a};_.H(_.nHc,DO);_.nHc.prototype.H=function(a){var b=!1;_.dDc(_.FM(a.gu[a.gu.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.gu.length?(mHc(this,a),!0):!1};var EO=function(a){_.N.call(this);this.ha=a};_.H(EO,_.N);
_.g=EO.prototype;_.g.max=function(){};_.g.tT=function(){};_.g.ena=function(){};_.g.LFa=function(){};_.g.KFa=function(){};_.g.JFa=function(){};_.g.gB=function(){this.dispatchEvent(new _.Gg("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};var oHc=function(a){_.Gg.call(this,"Cb");this.Bw=a};_.H(oHc,_.Gg);oHc.prototype.Bf=function(){return this.Bw};
_.pHc=function(a,b){EO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.Sd(this);this.Qa(this.H);this.H.listen(this.W,"Cb",function(d){d.Bf()||c.gB()});this.H.listen(this.V,"ta",this.gB)};_.H(_.pHc,EO);_.pHc.prototype.max=function(){var a=this.W.Bf(),b=this.V.H;return!a&&b?Infinity:0};_.pHc.prototype.tT=function(){this.gB()};_.qHc=function(a,b,c){this.H=new _.jH(a,b,.5);this.W=c;this.V=!0};_.FO=function(a,b){EO.call(this,"Backoff");this.H=a;this.V=b};_.H(_.FO,EO);
_.FO.prototype.max=function(){return this.H.V?Infinity:0};_.FO.prototype.KFa=function(){this.H.H.reset()};_.FO.prototype.JFa=function(a){var b=this;rHc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.ub(),sHc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){sHc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.gB()},a),_.kH(this.H.H))};rHc=function(a){a=a.gu.length&&_.ba(a.gu).response;return!!(a&&a instanceof _.mb&&OEc(a))};
sHc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.tHc=function(a,b){EO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.H(_.tHc,EO);_.tHc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.tHc.prototype.tT=function(a){a>=this.V?this.gB():null==this.H&&uHc(this)};_.tHc.prototype.ena=function(a,b){0<b?uHc(this):this.H=null};uHc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.gB.bind(a),a.W)};
_.bFc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.YN=function(a){this.request=a;this.requestId=_.eg()};_.vHc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.fFc=function(a,b){this.request=a;this.H=b};_.$N=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.jFc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};hFc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};
wHc=function(a,b,c){this.F8a=a;this.Ghb=b;this.tSa=c};iFc=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.hu=h};_.lFc=function(a){this.H=a};_.cFc=function(a,b){this.request=a;this.pageToken=b||""};_.gFc=function(a,b){this.request=a;this.pageToken=b||""};xHc=function(a,b){this.Eea=a;this.GD=b};GO=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.HO=function(a,b,c){a.$I.length&&a.append(" "+(c||"and")+" ");a.append(b)};
IO=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(GO(c));e.push("in");e.push(b);_.HO(a,e.join(" "))}};_.JO=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());_.HO(a,e.join(" "),d)}};_.yHc=function(a){var b=new _.mDc;b.setTime(a);return b};zHc=function(a,b){b=_.nj(b,_.hO,35)||[];_.Ea(b,function(c){IO(a,"ancestors",c.ub(),!1)})};AHc=function(a,b){b=_.nj(b,_.hO,38)||[];_.Ea(b,function(c){IO(a,"descendants",c.ub(),!1)})};
BHc=function(a,b){b=_.nj(b,_.ik,37)||[];_.Ea(b,function(c){IO(a,"folderFeatures",c.ub(),!1)})};CHc=function(a,b){b=_.x(b,39);_.Ea(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(GO(c));_.HO(a,d.join(" "))})};DHc=function(a,b){b=_.x(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(GO(b));_.HO(a,c.join(" "))}};_.EHc=function(a){a=_.nj(a,_.iO,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].ub());return b.join(",")};
_.FHc=function(a){a=a.Pt();return null==a||0==a.length?"":_.$d(a,function(b){b=_.x(b,1);if(0==b)throw Error("Re");return _.pBc[b]}).join(",")};GHc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=GO(a.ub());_.D(a,4)?(_.y(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.y(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(" ")};
HHc=function(a){if(_.D(a,2))return"any";switch(a.ub()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};IHc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};JHc=function(a,b,c){if(null!=_.x(c,2)){var d=IHc(_.x(c,1));c=GO(_.sGc(_.yHc(_.x(c,2)||0)));_.HO(a,[b,d,c].join(" "))}};
KHc=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""};
_.LHc=function(a){for(var b=new _.Ko,c=_.nj(a,_.kk,4),d=0;d<c.length;d++){var e=c[d],f=e.ub();if(f){var h=_.x(e,1),k=_.y(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(GO(f));_.HO(b,l.join(" "))}}for(var n=_.nj(a,_.jk,5),q=0;q<n.length;q++){var t=n[q],v=t.ub();if(v){var z=[];_.y(t,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(GO(v));_.HO(b,z.join(" "))}}var C=_.jO(a);if(C&&0!=C.length){for(var F=[],K=[],J=0;J<C.length;J++){var Z=C[J];
Z.ub()&&(_.y(Z,2,!1)?K.push(Z):F.push(Z))}for(var X=0;X<F.length;X++){var ma=GHc(F[X],0==X?"(":"",X==F.length-1?")":"");_.HO(b,ma,0!=X?"or":"and")}for(var Aa=0;Aa<K.length;Aa++)_.HO(b,GHc(K[Aa],0==Aa?"(":"",Aa==K.length-1?")":""))}for(var Ka=_.nj(a,_.hk,7),Ha=0;Ha<Ka.length;Ha++)JHc(b,"modifiedDate",Ka[Ha]);for(var na=_.nj(a,_.hk,8),Ya=0;Ya<na.length;Ya++)JHc(b,"lastViewedByMeDate",na[Ya]);_.JO(b,"trashed",a.jh());_.JO(b,"explicitlyTrashed",_.D(a,17));_.JO(b,"starred",_.D(a,10));_.JO(b,"hidden",a.xl());
for(var $b=_.kO(a),Wb=0;Wb<$b.length;Wb++){var kb=$b[Wb];IO(b,"parents",kb.ub(),_.y(kb,2,!1))}for(var Kc=_.nj(a,_.ee,13),bd=0;bd<Kc.length;bd++){var Xe=Kc[bd];IO(b,"owners",Xe.ub(),_.y(Xe,2,!1))}for(var gg=_.nj(a,_.ee,14),Ge=0;Ge<gg.length;Ge++){var wf=gg[Ge];IO(b,"writers",wf.ub(),_.y(wf,2,!1))}for(var Qg=_.nj(a,_.ee,15),Eh=0;Eh<Qg.length;Eh++){var yd=Qg[Eh];IO(b,"readers",yd.ub(),_.y(yd,2,!1))}_.D(a,16)&&_.HO(b,"sharedWithMe");_.JO(b,"unparented",_.D(a,34));zHc(b,a);AHc(b,a);BHc(b,a);CHc(b,a);for(var lj=
_.x(a,40),Ff=0;Ff<lj.length;Ff++){var Rg=[];0==Ff&&Rg.push("(");Rg.push(GO(lj[Ff]));Rg.push("in");Rg.push("templateData.categories");Ff==lj.length-1&&Rg.push(")");_.HO(b,Rg.join(" "),0==Ff?"and":"or")}var Eb=_.x(a,41);if(null!=Eb){var mj=[];mj.push("templateData.galleryState");mj.push("=");mj.push(GO(_.oDc[Eb]||""));_.HO(b,mj.join(" "))}var wj=_.x(a,42);if(null!=wj){var ti=[];ti.push("visibility");ti.push("=");ti.push(GO(KHc(wj)));_.HO(b,ti.join(" "))}for(var vt=_.nj(a,_.dk,44),An=0;An<vt.length;++An){var Sg=
vt[An];IO(b,"actionItems",HHc(Sg),_.y(Sg,3,!1))}if(null!=_.x(a,50)){var ui=[];ui.push("pairedDocType");var Fp=_.y(a,50,!1)?"!=":"=";ui.push(Fp);ui.push(GO("NONE"));_.HO(b,ui.join(" "))}IO(b,"workspaceIds",_.x(a,54),!1);for(var uo=_.nj(a,_.ek,57),hl=0;hl<uo.length;hl++){var Pq=[];0==hl&&Pq.push("(");Pq.push(GO(uo[hl].ub()));Pq.push("in");Pq.push("approvals");hl==uo.length-1&&Pq.push(")");_.HO(b,Pq.join(" "),0==hl?"and":"or")}if(null!=_.x(a,58)){var Bn=_.A(a,_.ee,58),vo=Bn.ub(),wt=_.y(Bn,2,!1);if(vo){var wo=
[];wt&&wo.push("not");wo.push("creator");wo.push("=");wo.push(GO(vo));_.HO(b,wo.join(" "))}}var Uu=a.Ex();if(Uu)for(var Gm=_.p(_.nj(Uu,_.Bma,1)),Xl=Gm.next();!Xl.done;Xl=Gm.next()){var Ji=Xl.value;IO(b,"categoryMetadata",Ji.Jk());for(var xt=_.p(Ji.rk()),yt=xt.next();!yt.done;yt=xt.next()){var fi=yt.value,xj=_.x(fi,1),zd=_.aj(fi,_.gk[0]);if(10==zd){_.A(fi,_.sma,10);var zt=_.D(fi,15);(void 0===zt?0:zt)?_.HO(b,xj+" is null"):_.HO(b,"not ("+xj+" is null)")}else{var Gf=new _.Ko,yj=void 0;switch(zd){case 3:yj=
_.A(fi,BFc,3);for(var At=_.p(yj.V()),Vr=At.next();!Vr.done;Vr=At.next())_.JO(Gf,xj,Vr.value,"or");break;case 14:for(var Wr=yj=_.A(fi,_.lma,14),Xr=new Map([[1,"="],[2,">"],[3,"<"]]),Lw=_.p(Wr.V()),Yr=Lw.next();!Yr.done;Yr=Lw.next()){var Qq=Yr.value,Rq=Xr.get(_.x(Wr,2));if(!Rq)throw Error("Se");var Gp=[xj,Rq,GO(Qq.getYear()+"-"+Qq.getMonth()+"-"+Qq.getDay())];_.HO(Gf,Gp.join(" "),"or")}break;case 8:for(var Ek=yj=_.A(fi,_.rma,8),Zr=new Map([[1,"="],[2,">"],[3,"<"]]),Bt=_.p(Ek.V()),Ct=Bt.next();!Ct.done;Ct=
Bt.next()){var Vy=Ct.value,Wy=Zr.get(_.x(Ek,2));if(!Wy)throw Error("Se");_.HO(Gf,[xj,Wy,Vy].join(" "),"or")}break;case 9:for(var Vu=yj=_.A(fi,DFc,9),Hp=new Map([[1,"in"]]),$r=_.p(Vu.V()),Dt=$r.next();!Dt.done;Dt=$r.next()){var Mw=Dt.value,aC=Hp.get(_.x(Vu,2));if(!aC)throw Error("Se");_.HO(Gf,[Mw,aC,xj].join(" "),"or")}break;case 6:for(var Cn=yj=_.A(fi,_.wma,6),as=new Map([[1,"="]]),Nw=_.p(Cn.V()),Wu=Nw.next();!Wu.done;Wu=Nw.next()){var Sq=Wu.value,Xu=as.get(_.x(Cn,2));if(!Xu)throw Error("Se");_.HO(Gf,
[xj,Xu,GO(Sq)].join(" "),"or")}break;case 7:for(var Xy=yj=_.A(fi,_.uma,7),Yy=new Map([[1,"in"]]),Yu=_.p(Xy.V()),Et=Yu.next();!Et.done;Et=Yu.next()){var Ow=Et.value,Zu=Yy.get(_.x(Xy,2));if(!Zu)throw Error("Se");_.HO(Gf,[GO(Ow),Zu,xj].join(" "),"or")}break;case 4:for(var Dn=yj=_.A(fi,_.yma,4),bs=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Zy=_.p(Dn.V()),He=Zy.next();!He.done;He=Zy.next()){var Ft=He.value,Pw=bs.get(_.x(Dn,2));if(!Pw)throw Error("Se");_.HO(Gf,[xj,Pw,GO(Ft)].join(" "),"or")}break;
case 5:for(var $y=yj=_.A(fi,IFc,5),$5=new Map([[1,"in"]]),ls=_.p($y.V()),LC=ls.next();!LC.done;LC=ls.next()){var nx=LC.value,MC=$5.get(_.x($y,2));if(!MC)throw Error("Se");_.HO(Gf,[GO(nx),MC,xj].join(" "),"or")}break;case 12:for(var kG=yj=_.A(fi,_.pma,12),XP=new Map([[1,"="]]),pX=_.p(kG.V()),lG=pX.next();!lG.done;lG=pX.next()){var mG=lG.value,iK=XP.get(_.x(kG,2));if(!iK)throw Error("Se");_.HO(Gf,[xj,iK,GO(mG)].join(" "),"or")}break;case 11:for(var a6=yj=_.A(fi,_.nma,11),BGa=new Map([[1,"in"]]),b6=
_.p(a6.V()),qX=b6.next();!qX.done;qX=b6.next()){var dja=qX.value,rX=BGa.get(_.x(a6,2));if(!rX)throw Error("Se");_.HO(Gf,[GO(dja),rX,xj].join(" "),"or")}}_.D(fi,15)?_.HO(b,"not ("+Gf+")"):_.HO(b,1<yj.V().length?"("+Gf+")":""+Gf)}}}_.D(a,60)&&_.JO(b,"securityUpdateEligible",_.D(a,60));1==_.lO(a)&&DHc(b,a);return b.toString()};
_.MHc=function(a){var b=new _.Ko(_.LHc(a));_.DN(a)?_.HO(b,"isQuickAccessRequest"):_.EN(a)?_.HO(b,"isPeoplePredictRequest"):_.FN(a)&&_.HO(b,"isDrivePriorityRequest");var c=a.Ve();if(c){var d=[];d.push("sortBy");d.push(_.jDc[c.getType()]);d.push(_.qDc[c.oj()]);_.D(c,3)&&d.push("foldersFirst");_.HO(b,d.join(" "))}_.JO(b,"domainSearch",_.D(a,18));_.JO(b,"offline",_.D(a,19));_.nj(a,_.iO,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.EHc(a)),_.HO(b,c.join(" ")));a.Pt().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.FHc(a)),_.HO(b,c.join(" ")));if(c=_.lO(a))d=[],d.push("corpora"),d.push("="),d.push(GO(_.XGc[c])),_.HO(b,d.join(" "));1!=_.lO(a)&&DHc(b,a);_.y(a,48,!1)&&_.HO(b,"cachedOnly");return b.toString()};_.gO=function(a){if(a instanceof _.rM)a=a.jd();else if(!a)return!1;return a instanceof _.Mn||"undefined"!=typeof _.QN&&a instanceof _.QN||"undefined"!=typeof _.KO&&a instanceof _.KO||a instanceof _.be&&(_.DN(a)||_.EN(a)||_.FN(a))};
qFc=[_.kN,_.mN,_.lN,_.oN,_.nN,_.pN,_.qN,_.tN,_.vN,_.wN,_.xN,_.zN,_.NN,_.PN,_.SN,_.KM,_.TN,_.UN,_.VN,_.YN,_.$N];NHc=[_.MM];rFc=[_.GF,_.gFc];sFc=[_.JN,_.WN,_.fFc,_.aO];tFc=[_.rM,_.Gn,_.MM,_.cFc];uFc=[_.aO,_.KF];vFc=[_.yN,_.aFc,_.HN,_.LN,_.bFc,_.$N,iFc,hFc];_.LO=function(){this.Ap=[]};_.LO.prototype.add=function(a,b){b?this.Ap.unshift(a):this.Ap.push(a);return!0};_.LO.prototype.H=function(a){return _.va(this.Ap,0,a)};
_.LO.prototype.cancel=function(a){return _.pa(this.Ap,function(b){return b.sr.config.requestId==a?(b.tm.resolve(oFc(b.sr.request)),!0):!1})};_.OHc=function(a){DO.call(this);this.V=a};_.H(_.OHc,DO);_.OHc.prototype.H=function(a){var b=_.FM(a.gu[a.gu.length-1].response),c=!1;if(2==b.vn())b=this.V,PHc(b,3)&&_.QHc(b),c=!0;else if(_.dDc(b)){b=this.V;if(c=!b.H)c=b.tc,c=!c.oG&&c.isConnected()?c.p9=!0:!1;c&&_.QHc(b);c=!0}return c&&2>a.gu.length?(mHc(this,a),!0):!1};var RHc=function(){EO.call(this,"Immediate")};
_.H(RHc,EO);RHc.prototype.max=function(){return Infinity};RHc.prototype.tT=function(){this.gB()};var SHc=function(){EO.call(this,"One Request")};_.H(SHc,EO);SHc.prototype.max=function(){return 1};_.THc=function(a){EO.call(this,"Online");var b=this;this.Pg=a;this.H=new _.Sd(this);this.Qa(this.H);this.H.listen(this.Pg,["wb","xb","yb"],function(){return b.gB()})};_.H(_.THc,EO);_.THc.prototype.max=function(){return this.Pg.isConnected()?Infinity:0};_.THc.prototype.tT=function(){this.gB()};
_.MO=function(a){EO.call(this,"Parallel");this.V=a;this.H=0};_.H(_.MO,EO);_.MO.prototype.max=function(){return Math.max(0,this.V-this.H)};_.MO.prototype.tT=function(){this.H<this.V&&this.gB()};_.MO.prototype.ena=function(a){this.H+=a.length};_.MO.prototype.LFa=function(a){this.H-=a.length;this.H<this.V&&this.gB()};
_.NO=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.La=a;this.W=b;this.ka=new _.Sd(this);this.Qa(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){UHc(h,!0,k.request)});this.Na=_.hx("drive.ds.network.queue.Queue [%s]",f);this.Ka=0;this.ha=new Map};_.H(_.NO,_.N);_.NO.prototype.add=function(a){return UHc(this,!1,{sr:a,tm:_.Jh(),gu:[]})};
_.NO.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?VHc(this,"Canceled ID "+a+" during execution."):c&&VHc(this,"Canceled ID "+a+" inside bucket.");return b||c};var UHc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.Mp(new _.mb,"No queue bucket accepted request."),_.Gh(_.fN(a));for(var d=WHc(a),e=0;e<a.H.length;e++)a.H[e].tT(d);return c.tm.promise};
_.NO.prototype.ma=function(){var a=WHc(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&&(VHc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),XHc(this,c))}};
var XHc=function(a,b){var c=String(a.Ka++);a.ha.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Fa.bind(a,b[e]),a.Ca.bind(a,b[e]));e=WHc(a);for(var f=0;f<a.H.length;f++)a.H[f].ena(b,e);_.Kh(_.Ih(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.NO.prototype.Fa=function(a,b){var c=a.sr.config;VHc(this,nFc(a.sr.request)+" request completed successfully. xd4: "+!(!c||!c.$F));for(c=0;c<this.H.length;c++)this.H[c].KFa();a.tm.resolve(b)};
_.NO.prototype.Ca=function(a,b){b=_.fN(b);VHc(this,nFc(a.sr.request)+(" request failed with error: "+b.W+"."));a.gu.push({response:b,ilb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].JFa(a);a.sr.config.i$||!this.ta.some(function(d){return d.H(a)})?a.tm.reject(b):VHc(this,nFc(a.sr.request)+" encountered an error, but was intercepted to be retried.")};_.NO.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].LFa(a)};
WHc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Ap.length){b=a.V[c].Ap.length;break}return b};VHc=function(a,b){a.La.info(a.Na,b)};_.YHc=function(a,b,c,d){DO.call(this);this.V=_.B(a,21,1E3);this.ma=_.B(a,1,1);this.W=b;this.ka=c;this.ha=d};_.H(_.YHc,DO);
_.YHc.prototype.H=function(a){var b=a.gu.length,c=0<b&&_.ba(a.gu).response||null;if(c){c=_.FM(c);if(2==c.vn()&&this.ka.Bf())return ZHc(this,a,b);var d=c.Mi();if(3==d||31==d||13==d||9==d)return $Hc(this,a,b);if(OEc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?(aIc(this,"Backoff number "+b+" for a User Rate Limit error."),mHc(this,a),a=!0):(aIc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var ZHc=function(a,b,c){aIc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return mHc(a,b)},a.V);return!0},$Hc=function(a,b,c){var d=a.ma;if(c<=d)return aIc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return mHc(a,b)},a.V*Math.pow(2,c)),!0;aIc(a,"Done retrying retriable requests after "+d+" retries.");return!1},aIc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},bIc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.GM()){var b=new FileReaderSync;return _.Fh(b.readAsDataURL(a))}var c=new _.nnb,d=WGc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return _.Gh(new _.lnb(e,"reading data"))}},cIc=function(a){return bIc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},dIc=function(a,b,c,d,e,f,h){this.Ya=a;this.ha=b;this.kb=c;this.ta=d;this.tb=e;this.jc=f;this.Na=h;a=_.A(f.request,_.uGc,15);a=_.GM()&&a?_.x(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Fa=this.La=
this.wa=null;this.W=_.Jh();this.ma=!1;this.Ka=h.requestId;this.ka="progress_"+this.Ka;h.Coa=this.ka;this.Ca=this.Ra=0},eIc=function(a,b){a.kb.info("drive.ds.sync.request.ResumableUpload",b)};
dIc.prototype.start=function(){var a=this,b=new hFc(this.jc.request,this.V,this.jc.metadata),c=fIc(this);this.Ya.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.F8a;a.La=d.Ghb;a.Fa=d.tSa;gIc(a)},function(d){return void a.W.reject(d)});return _.Kh(this.W.promise.then(function(d){hIc(a,d);return d},function(d){d=_.fN(d);hIc(a,d.Fg);return _.Gh(d)}),function(){kHc(a.ha,[a.ka])})};var fIc=function(a){var b=_.cf(a.Na);jHc(a.ha,a.ka,CGc(function(){return void a.ha.notify([a.Ka],0)}));return b};
dIc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(oFc(this.jc)),!0)};gIc=function(a){a.ma||(eIc(a,"Uploading chunk "+a.Ca+" for "+a.wa+"."),iIc(a,4))};
iIc=function(a,b){jIc(a).then(function(c){if(c){var d=kIc(a,c.H.size);if(d.i$){var e=(new _.dO).Dc(8);a.W.resolve(e)}else a.Ya.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ca++;f.OC()&&(a.La=f.OC());f.zI()&&(a.Fa=f.zI());a.H<a.V?gIc(a):a.W.resolve(f)},function(f){var h=_.FM(f);h.yja()||h.K7()?lIc(a,b,h,!1):cIc(c.H).then(function(k){k=k?_.FDa.get(k)||25:38;_.qM(h,k);k=38==h.vn();var l=38!=h.vn()&&25!=h.vn();lIc(a,b,h,k,l)},function(){})})}else e=_.fN(_.qM(_.Mp(new _.mb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};lIc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.oga(f);!e&&0<b?(a.Ra++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;eIc(a,"Retrying chunk "+a.Ca+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.wa+"."));iIc(a,b)},a.tb*Math.pow(1.5,f))):a.W.reject(_.fN(c))};
jIc=function(a){return mIc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new iFc(a.wa,b,a.V,a.H,a.H+b.size-1,a.jc.request.Vb(),_.x(a.jc.request,12)||void 0)})};mIc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.jc.H?a.jc.H(c,b):_.Fh(_.ZGc(a.jc.file,c,d))};kIc=function(a,b){var c=_.cf(a.Na);c.Nua=!0;var d=a.H/a.V,e=b/a.V;kHc(a.ha,[a.ka]);jHc(a.ha,a.ka,function(f){a.ha.notify([a.Ka],d+e*f)});return c};
hIc=function(a,b){b.Jwa(3);b.oga(a.Ra);b.OC()||b.Y0(a.La);b.zI()||b.L0(a.Fa)};_.nIc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.nIc.prototype.create=function(a,b){return new dIc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.oIc=function(a){this.V=a;this.H={}};
_.oIc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].sr.request instanceof _.jFc)b.push(pIc(this,a[c].sr));else{var d=_.Mp(new _.mb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(_.Gh(_.fN(d)))}return b};_.oIc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.oIc.prototype.DDa=function(){return!_.$e(this.H)};pIc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Kh(d,function(){delete a.H[e]})};
_.qIc=function(a,b){return new _.NO(b,a,[new RHc],[new _.LO],[],"immediate")};_.rIc=function(a,b,c,d,e,f,h){if(h){var k=new _.THc(h.getState());d=new _.OHc(h)}else k=new _.pHc(c,d),d=new _.nHc(d);return new _.NO(f,a,[k,new _.FO(e,f),new SHc],[new _.LO],[d,new _.YHc(b,e,h?h.getState():c,f)],"connected")};
_.sIc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.B(b,10,50):l;if(h){var n=new _.THc(h.getState());d=new _.OHc(h)}else n=new _.pHc(c,d),d=new _.nHc(d);return new _.NO(f,a,[n,new _.tHc(l,_.B(b,12,10)),new _.MO(3*l),new _.FO(e,f)],[new _.LO],[d,new _.YHc(b,e,h?h.getState():c,f)],k)};_.tIc=function(a,b,c){b=_.B(b,46,1);return new _.NO(c,a,[new _.MO(b)],[new _.LO],[],"resumable_upload")};
_.uIc=function(a,b,c,d,e,f,h,k){this.Fa=a;this.Ca=b;this.V=c;this.ma=d;this.wa=e;this.ka=f;this.ha=h;this.ta=k;this.W=null};_.uIc.prototype.H=function(a,b){var c=this,d=function(h){h=_.fN(h);var k=h.Fg;pFc(a)||_.Op(k);return _.Gh(h)};if(this.ha()&&(a instanceof _.rM&&_.gO(a.jd())||b&&b.Wmb)){this.W||(this.W=_.Jh());var e=this.W.promise}var f=function(){return vIc(c,a,b).then(null,d)};return e?e.then(f):f()};
var vIc=function(a,b,c){c=void 0===c?{}:c;var d=a.Fa.validate(b);if(d)return _.Gh(_.fN(d));d=a.Ca.V(b);return d instanceof _.mb?_.Gh(_.fN(d)):Array.isArray(d)?(d=d.map(function(e){return wIc(a,b,e,c)}),_.Ih(d)):wIc(a,b,d,c)},wIc=function(a,b,c,d){var e=xIc(a,c);if(!e)return b=_.qM(_.Mp(new _.mb,"Failed to choose a queue for server request."),18),_.Gh(_.fN(b));if(e===a.V[7]||e===a.V[8])d.$F=!0;d=e.add({request:c,config:d});(_.fO(b)||_.fO(c))&&_.Kh(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};_.uIc.prototype.cancel=function(a){return _.Ve(this.V,function(b){return b.cancel(a)})};
xIc=function(a,b){var c=!1;b instanceof _.Gn?c=!!_.D(b,7):b instanceof _.rM&&(c=(c=b.jd())&&!!_.D(c,46));return(b instanceof _.lFc||b instanceof _.hM&&_.D(b,9))&&a.V[1]?a.V[1]:b instanceof _.jFc&&a.V[5]?a.V[5]:c&&wFc(b,a.ka)&&a.V[7]?a.V[7]:wFc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.Gn&&a.V[6]?a.V[6]:(c||NHc.includes(b.constructor))&&a.V[3]?a.V[3]:qFc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.yIc=function(a,b){this.H=a;this.V=_.iDc[_.B(a.hf(),8,0)];this.ha=_.iDc[_.B(a.hf(),51,5)];this.W=b;this.ka=_.eg()};
_.yIc.prototype.Jc=function(a,b){if(b.$F)zIc(this,a,b),AIc(this,a,b);else if(11==a.Yo){if(b.Eeb){var c=b.J$||_.B(this.H.hf(),37,"");_.yi(a.uri,"key",c)}zIc(this,a,b);BIc(this,a,b)}else switch(a.uri=CIc(this,a.Yo,a.uri),a.Yo){case 1:BIc(this,a,b);zIc(this,a,b);break;case 0:_.y(this.H,83,!1)&&(b.UF||_.tM(this.H.Pe())||_.yi(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:BIc(this,a,b);AIc(this,a,b);zIc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:BIc(this,a,b);AIc(this,a,b);break;
default:throw Error("bf`"+a.Yo);}};
var DIc=function(a,b){var c=CIc(a,b,new _.ni);if(!c.H)throw Error("df");return _.ri(_.qi(_.pi(_.oi(new _.ni,c.W),c.H),c.ha),_.wDc.has(b)?"/batch"+a.V:"/batch")},CIc=function(a,b,c){var d=_.x(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=_.B(a.H.hf(),62,"");break;case 8:a=_.x(a.H.hf(),53);break;case 9:a=_.x(a.H.hf(),56);break;case 10:a=_.x(a.H.hf(),22);break;
case 13:a=_.x(a.H.hf(),55);break;case 12:a=_.x(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 _.ni(a);_.Fc(c,"/")&&(c=c.slice(1));return new _.ni(a+"/"+c)},BIc=function(a,b,c){a=a.H.Pe();c.UF||_.tM(a)||(c=[{key:"u",value:_.mO(a)}],b.headers.authorization=_.VVb(c)||"",c=_.HM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},zIc=function(a,b,c){var d=a.H.Pe(),e=a.H.hf(),f=c.wlb||!!_.x(e,13);c=c.xlb||_.y(e,14,!1);var h=11==b.Yo;
f&&((f=_.x(e,13))&&_.Fc(f,"email:")?_.yi(b.uri,"trace",f):f&&"trace:true"==f?_.yi(b.uri,"$trace","true"):f?_.yi(b.uri,"trace","token:"+f):_.yi(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.yi(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.B(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},AIc=function(a,b,c){c.UF||_.tM(a.H.Pe())?_.yi(b.uri,"key",_.B(a.H.hf(),36,"")):(a=c.J$||_.B(a.H.hf(),37,""),_.yi(b.uri,"key",a))},
EIc=function(a){this.H=a};EIc.prototype.build=function(a,b){var c="====="+_.eg()+"=====",d=a[0].Yo,e=b.every(function(l){return l.$F});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=DIc(this.H,a[0].Yo);_.yi(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.ADc[d],h=_.BDc[d]||{},h["content-type"]=_.hx('multipart/mixed; boundary="%s"',c),d=_.yDc[d],k=new _.ni("");a=FIc(this,a,b,c,e);return{Yo:f,body:a,headers:h,method:d,uri:k}};
var FIc=function(a,b,c,d,e){for(var f=ZEc(_.EDc[b[0].Yo]||{}),h="",k=0;k<b.length;k++){e&&BIc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=CIc(n,q.Yo,q.uri);switch(q.Yo){case 0:case 5:AIc(n,q,t);zIc(n,q,t);break;case 2:BIc(n,q,t);AIc(n,q,t);var v=q,z=_.x(n.H.hf(),57);v.headers.host=_.Ci(z).H;v.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;zIc(n,q,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.Yo);default:throw Error("bf`"+
q.Yo);}n=l;q=n.uri.clone();_.oi(q,"");_.pi(q,"");_.qi(q,null);l=f+"\r\n"+(n.method+" "+q+" HTTP/1.1\r\n")+ZEc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},GIc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,HIc=/^multipart\/mixed; boundary="?([^"]+)"?$/,IIc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.nb("Individual batch response contained too few parts.",_.qM(_.Np(new _.mb,b),17));var f=e[1].split("\r\n");if(d=GIc.exec(f[0])){var h=_.ig(d[1]);
d=d[2]}else return new _.nb("Could not extract HTTP status code and text.",_.qM(_.Np(new _.mb,b),16));f.shift();a=_.cf(a);Object.assign(a,$Ec(f));try{var k=_.wc(_.dg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.GBc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.fN(c):{headers:a,text:b,json:k||void 0}},JIc=function(){_.hi.apply(this,arguments)};_.H(JIc,_.hi);JIc.prototype.Ra=function(){return _.Wf(_.hi.prototype.Ra.call(this))};
var KIc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},LIc=function(a,b,c){try{a.ma.Jc(b,c);var d=new JIc;d.W=!0;var e=c.requestId||"",f=_.Jh();d.listen("complete",a.ta.bind(a,d,f,e,c.aka,4==b.Yo));e&&c.Coa&&!c.$F&&(a.V[e]=d,a.H[e]=c,d.Xb=!0,d.listen("uploadprogress",(0,_.I)(a.ka,a,c)),c.Nua||d.listen("downloadprogress",(0,_.I)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.Gh(_.fN(h))}};
KIc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.we()?(a.i$=!0,b.abort(),!0):!1};KIc.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:yFc(a),text:_.li(a)};if(!d)try{c.json=_.mi(a)}catch(f){}d=_.GBc(a.Gb(),_.Mja(a),c.headers,c.text,c.json,a.V,_.Pja(a),String(a.ka),e);a.dispose();d?b.reject(_.fN(d)):b.resolve(c)};
KIc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Coa],a.Nua?b.loaded/b.total:b.loaded/b.total/2)};KIc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Coa],b.loaded/b.total/2+.5)};var MIc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
MIc.prototype.add=function(a,b){var c="DEFAULT";b.$F&&(c=DIc(this.V,a.Yo).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.$F&&!_.ADc[a.Yo])return a=_.Mp(new _.mb,"Unsupported batch API: "+a.Yo),_.Gh(_.fN(a));var d=_.Jh();c.push({request:a,config:b,tm:d});return d.promise};
MIc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{NIc(a,b)}catch(f){var d=_.Np(_.Mp(new _.mb,"Error executing XHR: "+f.message),f.stack),e=_.fN(d);b.forEach(function(h){h.tm.reject(e)});a.H.delete(c)}})};
NIc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.aka&&!c.config.$F){var d=!1;if(_.ADc[c.request.Yo]){var e={Yo:c.request.Yo,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Jc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.tm;LIc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}OIc(a,b)};
OIc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});LIc(a.W,a.ha.build(c,d),{aka:!0,$F:d.every(function(e){return e.$F})}).then(function(e){e.headers=_.oM(e.headers);var f=HIc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.nb("Could not extract batch boundary.",_.qM(_.Np(new _.mb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Fc(_.Wf(h[0]),f)&&_.wc(h[1]))h=_.Wf(h[0]).substring(f.length);else throw new _.nb("Could not parse batch response; did not begin and end with boundary.",
_.qM(_.Np(new _.mb,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(IIc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.fN(e);return _.qBc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].tm,k=e[f];k instanceof _.mb||k instanceof _.nb?h.reject(_.fN(k)):h.resolve(k)}})};_.OO=function(a,b){_.pO(a)&&(b.supportsTeamDrives=!0)};
_.PIc=function(a){this.H=_.hc(_.x(a,27)).concat();this.V=new Set;var b=_.SEc(this.H,_.x(a,28));if(0<b.length)throw Error("ef`"+b.join(","));this.H.push(21);this.H.push(70);_.tM(a.Pe())||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),_.y(a,63,!1)&&this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.pO(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();TEc(this.H)};_.PO=function(a){return _.hc(a.H).concat()};
QIc=function(a){return a instanceof _.rM||a instanceof _.aO||"undefined"!=typeof _.QO&&a instanceof _.QO||a instanceof _.UN||a instanceof _.wN||a instanceof _.pN||a instanceof _.tN||a instanceof _.KM&&_.fO(a)};_.RIc=function(a,b){this.V=b;this.H={};this.W=new FGc;b=_.hN({fields:_.x(a,28),Pv:_.tM(a.Pe())});this.kc("SecondaryFields",b);this.kc("SdkBackfillEnabled",!!_.y(a,45,!1)+" (Include corpus cache: "+!!_.y(a,46,!1)+")")};_.RIc.prototype.kc=function(a,b){this.H[a]=_.SIc(a,b)};
TIc=function(a,b){var c=a.H[b];c||(c=_.SIc(b,0,2),a.H[b]=c);c.kc(String(Number(c.ub())+1))};_.SIc=function(a,b,c){var d=new _.YGc;_.w(d,1,a);_.w(d,4,c||1);d.kc(String(b));d.ll(BGc[a]);return d};
_.UIc=function(a,b,c){var d=new _.EBc;_.w(d,2,"Pending...");b instanceof _.rM?_.oj(d,3,_.sM[0],b):b instanceof _.aO?_.oj(d,4,_.sM[0],b):"undefined"!=typeof _.QO&&b instanceof _.QO?_.oj(d,5,_.sM[0],b):b instanceof _.UN?_.oj(d,6,_.sM[0],b):b instanceof _.wN?_.oj(d,7,_.sM[0],b):b instanceof _.pN?_.oj(d,8,_.sM[0],b):b instanceof _.tN?_.oj(d,9,_.sM[0],b):b instanceof _.KM&&_.oj(d,10,_.sM[0],b);var e=nFc(b),f=[];if(b instanceof _.lN)cO(f,"ID",b.getId()),cO(f,"Parent ID",b.Tj());else if(b instanceof _.wN)cO(f,
"TD ID",b.getId());else if(b instanceof _.rM)b=_.MHc(b.jd()),cO(f,"Query",b);else if(b instanceof _.aO)cO(f,"Query","All");else if(b instanceof _.UN)cO(f,"TD ID",b.getId()),cO(f,"Title",b.getTitle()),cO(f,"Theme Image ID",_.x(b,3));else if(b instanceof _.pN)cO(f,"MimeType",b.Vb()),cO(f,"Title",b.getTitle()),cO(f,"Parents",_.x(b,3)),cO(f,"Convert",_.D(b,8)),cO(f,"Request ID",_.yO(b)),cO(f,"Parent Request IDs",_.x(b,10)),cO(f,"Revision Item ID",_.x(b,12)),cO(f,"Pinned",_.D(b,8));else if(b instanceof
_.qN)cO(f,"Title",b.getTitle());else if(b instanceof _.tN)cO(f,"ID",b.getId());else if(b instanceof _.xN)cO(f,"WS ID",b.getId());else if(b instanceof _.KM){if(cO(f,"ID",b.getId()),cO(f,"Title",b.getTitle()),cO(f,"Description",b.Pf()),cO(f,"Starred",_.D(b,4)),cO(f,"Trashed",b.jh()),cO(f,"MimeType",b.Vb()),cO(f,"Parents",_.x(b,8)),cO(f,"Parents to add",_.x(b,9)),cO(f,"Parents to remove",_.x(b,10)),cO(f,"Restricted",_.D(b,11)),cO(f,"Folder Color",b.Sh()),cO(f,"Update Last Viewed",_.D(b,15)),cO(f,"Subscribed",
_.D(b,16)),cO(f,"Available Offline",b.gp()),cO(f,"Wksp to add",_.x(b,31)),cO(f,"Wksp to remove",_.x(b,32)),b=_.A(b,_.Yl,25))cO(f,"Read Only",_.D(b,1)),cO(f,"Reason",_.x(b,2))}else b instanceof _.VN?(cO(f,"WS ID",b.getId()),cO(f,"Title",b.getTitle()),cO(f,"State",b.getState())):b instanceof _.YN&&cO(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.VIc=function(a,b){for(var c=new _.Ko,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+DGc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};WIc=[0,2,4,7,8];_.XIc=function(a,b,c,d,e,f,h){this.W=a;this.Ca=b;this.Fa=c;this.wa=d;this.ta=e;this.ha=f;this.H=h;this.ma=new EIc(this.W);this.ka=new KIc(this.W,this.Ca);this.V=[]};_.g=_.XIc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].sr;this.V.push(f);c.push(YIc(this.Fa,f,a[e].gu));d.push(QIc(f.request)?_.UIc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=_.Gh(_.fN(_.GBc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new MIc(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.$db.bind(b,t.Yo,q.UF),function(){});return v}.bind(this,a[f].sr.config));e.push(l)}_.Ih(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].sr;var n=e[f].then(this.HRa.bind(this,l.request,d[f],a[f].gu)).Sf(function(q){return _.Gh(_.fN(q))});_.Kh(n,this.G8a.bind(this,l));c.push(n)}return c};_.g.HRa=function(a,b,c,d){a=_.ZIc(this.wa,a,d,c);b&&_.VIc(b,a.wd?a.wd():[]);return a};_.g.$db=function(a,b){a=!b&&_.ha(WIc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.tc.isConnected()||a)c=PHc(b,c),a&&c&&_.$Ic(b)}else this.ha&&a&&this.ha.Ca()};_.g.cancel=function(a){return this.ka.cancel(a)};_.g.DDa=function(){return this.V.some(function(a){return _.fO(a.request)})};
_.g.G8a=function(a){_.oa(this.V,a)};_.RO=function(a,b){if(!_.wa(b))throw new _.nb("Expected an object, but got a "+_.lea(b)+".",_.dN(11,void 0,8));var c=b.kind;if(!c)throw new _.nb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.dN(11,void 0,21));if(!a.includes(c))throw new _.nb("Expected "+a.join(" or ")+" but got a "+c+".",_.dN(11,void 0,9));};aJc=function(a,b){this.H=a;this.V=b};
_.SO=function(a,b){_.RO(["drive#user"],b);var c=_.EFc(1).lc(b.permissionId);c=_.w(c,11,b.id);c=_.GFc(_.w(c,3,b.displayName),b.emailAddress);b.picture&&_.FFc(c,b.picture.url);_.JM(a.H)&&_.GFc(c,b.emailAddressFromAccount||b.emailAddress);a=a.yf(b.permissionId,b.id);_.w(c,7,a);_.w(c,9,b.domain);return c};aJc.prototype.yf=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.mO(this.H.Pe())==b};_.TO=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.bJc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.KFc(new _.Ul,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);c=_.w(c,2,a.canComment);c=_.w(c,3,a.canCopy);b=_.w(c,4,b);b=_.w(b,5,a.canDownload);b=_.w(b,6,a.canEdit);b=_.PFc(_.LFc(_.QFc(_.RFc(_.SFc(_.OFc(_.w(b,10,a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.w(b,13,a.canRenameTeamDrive);b=_.TFc(_.NFc(_.MFc(b,
a.canShare),a.canTrash),a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.WFc(_.VFc(_.UFc(_.w(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);b=_.w(b,49,a.canSetMissingRequiredFields);
b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.YFc(_.XFc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.aGc(_.$Fc(_.ZFc(_.w(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);return _.w(b,51,a.canRemoveSecureLinkUpdateForAllFiles)};cJc={anyone:4,audience:5,domain:3,group:2,user:1};dJc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};
eJc={docs:1,sheets:2,slides:3};fJc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};gJc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};hJc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};iJc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};jJc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};kJc={ok:1,notFound:2,permissionDenied:3};lJc={unencrypted:1,encrypted:2};mJc={unset:0,"default":1,small:2,size16kb:3};nJc=function(a,b){this.H=a;this.V=b};
_.qJc=function(a,b,c){var d=new _.BO;a=(new _.JB).Zv(oJc(a,b));a=_.w(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.RO(["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 _.IB).Dc(gJc[q.status]);t=_.w(t,1,q.original);q=_.w(t,3,q.correction);l.push(q)}k=new _.$jb;l=_.pj(k,1,l);f.push(l)}h=new _.bkb;_.pj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.Yjb;
_.w(v,1,f||[])}h||v?(f=new _.ckb,h&&_.Q(f,1,h),v&&_.Q(f,2,v),v=f):v=null;_.Q(a,7,v);_.tGc(a,pJc(b))}d=_.$Gc(d,a);c=_.BBc(c);c=_.w(d,2,c);b.nextPageToken&&_.w(c,3,b.nextPageToken);return c};
tJc=function(a,b,c,d,e){_.RO(["drive#adminFile","drive#file","drive#revision"],b);var f=_.IGc(new _.dO,c);"drive#adminFile"==b.kind?(_.RO(["drive#adminFile"],b),c=(new _.am).lc(b.id),b.parentId&&_.xO(c,[b.parentId]),_.nGc(c,b.teamDriveId),f.setItem(c),_.IGc(f,c.getId())):"drive#file"==b.kind?(b=_.rJc(a,b),f.setItem(b),c||_.IGc(f,b.getId())):"drive#revision"==b.kind&&(b=_.sJc(a,b),_.Q(f,4,b));f.Y0(_.ABc(d));f.L0(_.BBc(d));(d=(d=d&&_.oM(d))&&d["x-server-object-version"])&&e&&(e=(new _.AO).lc(d),_.Q(f,
4,e));f.Dc(1);return f};_.uJc=function(a,b){return _.IGc(new _.dO,a).Dc(1).Y0(_.ABc(b)).L0(_.BBc(b))};_.wJc=function(a,b,c,d){d||_.RO(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.vJc(a,b[c],d);f&&e.push(f)}return e};
_.vJc=function(a,b,c){c||_.RO(["drive#permission"],b);c=_.EFc(cJc[b.type]).lc(b.id);c=_.w(c,11,b.userId);var d=a.H.yf(b.id,b.userId);c=_.w(c,7,d);c=_.w(c,4,b.withLink);c=_.GFc(_.FFc(_.w(c,3,b.name),b.photoLink),b.emailAddress);c=_.w(c,9,b.domain);c=_.w(c,10,b.deleted);c=_.w(c,12,b.audienceId);c=_.w(c,13,b.customerId);c.getId()||c.lc(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.JM(a.V)&&_.w(c,3,b.nameIfNotUser);a=dJc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==
b.view&&(a=6);_.w(c,6,a);return c};oJc=function(a,b){_.RO(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.rJc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.rJc(a,b[d]);c.push(e)}}return c};
_.rJc=function(a,b){_.RO(["drive#file"],b);var c=_.lGc(_.hGc(_.iM(_.xO((new _.am).lc(b.id),xJc(b)).setTitle(b.title),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.ll(b.description);_.iGc(c,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,14,Number(b.fileSize));_.w(c,30,b.copyable);if(b.labels){var d=b.labels;c.Iq(d.starred);_.w(c,6,d.hidden);
c.Mn(d.trashed);_.gGc(c,d.restricted);_.w(c,9,d.viewed)}_.w(c,10,_.TO(b.createdDate));_.w(c,69,_.TO(b.serverCreatedDate));_.rBc(c,_.TO(b.modifiedDate));_.w(c,12,_.TO(b.modifiedByMeDate));_.w(c,13,_.TO(b.lastViewedByMeDate));_.w(c,23,_.TO(b.sharedWithMeDate));_.w(c,62,_.TO(b.subscribedDate));_.w(c,70,_.TO(b.recency));b.recencyReason&&_.w(c,71,fJc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.SO(a.H,e[f]);h&&d.push(h)}_.pj(c,15,d);b.lastModifyingUser&&(d=_.SO(a.H,
b.lastModifyingUser),_.Q(c,17,d));b.userPermission&&_.jM(c,dJc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.tO,e=_.w(e,2,d.width).Rf(d.height),e=_.w(e,4,d.rotation),d.date&&(d=d.date,f=new _.mDc,f.setMilliseconds(0),_.JDc.parse(d,f),_.w(e,1,f.getTime())),_.Q(c,27,e));null!=b.folderColor&&_.kGc(c,Number(b.folderColor));_.jGc(c,b.subscribed);_.w(c,45,b.fileExtension);_.w(c,50,b.folderFeatures||[]);_.w(c,36,b.flaggedForAbuse);_.w(c,53,b.gplusMedia);_.w(c,46,b.primarySyncParentId||
void 0);_.w(c,35,b.hasChildFolders);b.source&&(_.w(c,42,b.source.client_service_id),_.w(c,43,b.source.value));b.sharingUser&&(d=_.SO(a.H,b.sharingUser),_.Q(c,47,d));b.sources?_.w(c,56,b.sources||[]):b.gplusMedia&&_.w(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.oBc[h]&&(h=_.wda(new _.Zd,_.oBc[h]),e.push(h));c.WD(e)}_.w(c,63,b.ownedByMe);_.w(c,29,b.shareable);b.sourceAppId&&_.w(c,61,b.sourceAppId);_.w(c,74,b.changed);null!=b.recursiveFileSize&&_.w(c,77,Number(b.recursiveFileSize));
null!=b.recursiveFileCount&&_.w(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 _.Zsa).lc(h.id);h=_.w(k,2,hJc[h.type]);e.push(h)}_.pj(c,83,e)}b.capabilities&&c.an(_.bJc(b.capabilities));b.permissionsSummary&&_.oGc(c,_.yJc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.vO).ll(d.description),e=_.w(e,3,iJc[d.galleryState]),d=_.w(e,2,d.category||[]),_.Q(c,
86,d));_.nGc(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.SO(a.H,b.creator),_.Q(c,91,d));_.pGc(c,b.primaryDomainName);_.qGc(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.SO(a.H,b.trashingUser),_.Q(c,95,d));_.w(c,96,_.TO(b.trashedDate));b.version&&_.w(c,75,Number(b.version));_.w(c,98,b.hasVisitorPermissions);_.w(c,102,b.hasAppsScriptAddOn);(d=b.pairedDocType)&&_.w(c,101,eJc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.wO,e=_.w(e,1,d.width).Rf(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.Q(c,103,e));_.w(c,104,b.detectors||[]);_.w(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=_.bGc(_.sO(new _.Yl,f.readOnly),f.reason),d.push(f);_.pj(c,125,d)}if(d=b.publishingInfo)_.w(c,118,d.published),_.w(c,119,d.publishedUrl);_.w(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&
_.w(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 _.Tl).lc(f.approvalId).Dc(jJc[f.status]),d.push(f);_.pj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.hta,e=_.w(e,1,d.targetId),e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.w(e,4,kJc[d.targetLookupStatus]||0),d.targetFile&&(d=_.rJc(a,d.targetFile),
_.Q(e,5,d)),_.Q(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.qO,e=_.w(e,1,lJc[d.encryptionState]),d.decryptionMetadata&&(d=zJc(d.decryptionMetadata),_.Q(e,2,d)),_.Q(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.uO,e=_.w(e,2,d.securityUpdateEligible),d=_.w(e,3,d.securityUpdateEnabled),_.Q(c,139,d));_.w(c,140,b.resourceKey);_.w(c,135,b.authorizedAppIds||[]);_.w(c,136,b.customerId);_.WEc(c);_.JM(a.V)&&_.mGc(c,5);return c};
xJc=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};_.sJc=function(a,b){_.RO(["drive#revision"],b);var c=(new _.AO).lc(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.TO(b.modifiedDate));c=_.w(c,4,b.pinned);c=_.w(c,5,b.downloadUrl);c=_.w(c,7,b.originalFilename);null!=b.fileSize&&_.w(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.SO(a.H,b.lastModifyingUser),_.Q(c,9,a));b.decryptionMetadata&&(b=zJc(b.decryptionMetadata),_.Q(c,10,b));return c};
_.yJc=function(a,b){a=_.eGc(_.dGc(_.cGc(new _.bta,b.entryCount),_.wJc(a,b,"visibility",!0)),_.wJc(a,b,"selectPermissions",!0));a=_.w(a,4,b.memberCount);a=_.w(a,5,b.userEntryCount);return _.w(a,6,b.groupEntryCount)};zJc=function(a){var b=a.wrappedKey;var c=new _.rO;b=b?_.EGc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);c=_.w(c,3,mJc[a.aes256GcmChunkSize]);return _.w(c,4,a.jwt)};
pJc=function(a){_.RO(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};AJc=function(a,b,c){c=void 0===c?!1:c;var d=_.D(a,44),e=a.ef();if(c&&e){if(1!=_.Xc(e))return null;d=(d=_.Uc(e))?_.D(d,44):!0}if(!d)return null;d=a.getId();_.iN(a)&&c&&(d=XEc(a));return[_.B(b,65,"https://lh3.google.com"),"u",_.HM(b.Pe()),"d",d].join("/")+"={size}"};_.BJc=function(a){this.H=a};
_.EJc=function(a,b,c){CJc(a,b,c);c.includes(18)&&_.hGc(b,xFc(b,a.H,a.H.Kp()));if(c.includes(19)){var d=AJc(b,a.H,a.H.Kp());_.w(b,20,d)}DJc(a,b,c);if(a.H.Kp()&&_.iN(b)){if(d=(d=b.ef())&&_.Uc(d)){CJc(a,d,c);c.includes(18)&&_.hGc(d,xFc(d,a.H,a.H.Kp()));if(c.includes(19)){var e=AJc(d,a.H,a.H.Kp());_.w(d,20,e)}DJc(a,d,c)}_.lGc(b,!!b.sh())}};
CJc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.y(a.H,75,!1);a=a.H.Kp();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Vb();a&&_.iN(b)&&(d=(a=b.ef())?_.x(a,3):"");_.jN(b)&&(b.Sh()&&(d+="+"+String(b.Sh())),b.Li()&&(d+="+shared"));_.w(b,21,_.wYa(d,c?"32":"16"))}};
DJc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Vb();e&&(e=!_.jN(b)&&!_.iN(b)&&!_.Ec(e)&&(!b.LW()||2!=b.Yl()),d&&_.w(b,40,e),e&&c&&(d=a.H,c=a.H.Kp(),c=void 0===c?!1:c,a=b.getId(),_.iN(b)&&c&&(a=XEc(b)),c=new _.ni(_.B(d,16,"")+"/uc"),_.yi(c,"id",a),_.yi(c,"authuser",_.HM(d.Pe())),_.yi(c,"export","download"),_.w(b,41,c.toString())))}};_.FJc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new aJc(b,d);this.Lz=new nJc(this.ka,b)};
_.ZIc=function(a,b,c,d){d=void 0===d?[]:d;try{return GJc(a,b,c,d)}catch(e){_.gN(e)}};
GJc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.pN)return _.HJc(a,b,c);if(b instanceof _.yN)return"base64"==c.headers["x-goog-safety-encoding"]?new xHc(_.naa(c.text),d.length):new xHc(new Uint8Array(_.ika(c.text)),d.length);if(b instanceof _.Gn){if(!c.json)throw _.UO();return _.qJc(a.Lz,c.json,c.headers)}if(b instanceof _.$N)return _.HJc(a,b,c);if("undefined"!=typeof _.IJc&&b instanceof _.IJc){if(!c.json)throw _.UO();a=c.json;return new _.vHc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.JJc&&b instanceof _.JJc){if(!c.json)throw _.UO();return _.sJc(a.Lz,c.json)}if(b instanceof iFc){if(b.V==b.ha-1){if(!c.json)throw _.UO();b=tJc(a.Lz,c.json,null,c.headers,!!b.hu);_.EJc(a.V,b.getItem(),_.PO(a.H));a=b}else a=_.uJc(null,c.headers);return a}if(b instanceof hFc){a=_.oM(c.headers);b=a.location;if(!b)throw a=_.qM(new _.mb,10),new _.nb("No upload session URI included.",a);return new wHc(b,_.ABc(a),_.BBc(a))}throw new _.nb("FromXhrConverter: Unsupported request type.",
new _.mb);};_.FJc.prototype.ma=function(){return null};_.HJc=function(a,b,c){if(!c.json){if(b instanceof _.KM)return _.uJc(_.KJc(b));throw _.UO();}var d=!1;b instanceof _.$N&&(d=!!_.x(b.request,12));b=tJc(a.Lz,c.json,_.KJc(b),c.headers,d);b.getItem()&&_.EJc(a.V,b.getItem(),_.PO(a.H));return b};_.UO=function(){var a=_.qM(new _.mb,11);return new _.nb("FromXhrConverter: JSON required, but none found",a)};_.KJc=function(a){return a.getId?a.getId():a.Gc?a.Gc():null};
_.LJc=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)}}};
MJc=function(a,b){var c={};_.wc(_.dg(a.getTitle()))||(_.x(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Vb()&&(c.mimeType=a.Vb(),a.Gc()&&_.vda(a.Vb())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.Gi(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.NDc[d?d.V():0],f);c.clientEncryptionDetails=e}_.LJc(c,_.x(a,3));(b=a.Gc())&&(c.id=b);_.x(a,16)&&(c.embeddingParent=_.x(a,16));_.x(a,21)&&(c.shortcutDetails={},c.shortcutDetails.targetId=_.x(a,
21));"number"===typeof _.x(a,26)&&(c.modifiedDate=_.sGc(_.yHc(_.x(a,26)||0)));return c};
NJc=function(a,b,c){var d=!!_.x(a.request,12),e="files";d&&(e+="/"+_.x(a.request,12));e=new _.ni(e);_.yi(e,"uploadType","multipart");_.yi(e,"supportsTeamDrives",!0);_.yi(e,"pinned",!!a.request.Tr());null!=_.D(a.request,8)&&_.yi(e,"convert",_.D(a.request,8));_.yi(e,"fields",_.REc({fields:_.PO(b).filter(function(n){return 194!=n}),Pv:!1}));YEc(e,a.request.ie());var f=MJc(a.request,a.metadata),h=_.eg();b={};b=(b["content-type"]=_.hx('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.Vb()&&(l["content-type"]=a.request.Vb());a="--"+h;a=a+"\r\n"+ZEc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+ZEc(l)+"\r\n"+c+"\r\n"+a+"--";return{Yo:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};OJc=function(a){if(a instanceof _.lnb){var b=new _.mb;_.Mp(b,"fs.Error: "+a.message);a=(a=a.name)?_.FDa.get(a)||25:38;_.qM(b,a);a=_.fN(b)}return _.Gh(a)};
PJc=function(a,b){return bIc(a.file).then(function(c){return NJc(a,b,c)},OJc)};_.QJc=function(a){var b=_.qM(new _.mb,4);throw new _.nb("ToXhrConverter: Unsupported request type: "+nFc(a),b);};_.RJc=function(a,b,c){this.H=a;this.W=c};YIc=function(a,b,c){try{return b.request instanceof _.$N?PJc(b.request,a.W):_.Fh(a.ha(b.request,b.config,c))}catch(d){return d instanceof _.nb?a=d.Fg:(a=new _.mb,_.Mp(a,"Error converting XHR: "+d.message),_.Np(a,d.stack),_.qM(a,4)),_.Gh(a)}};
_.RJc.prototype.ha=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.pN){h=(e=!!_.x(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.x(a,12),k.pinned=!!a.Tr());null!=_.D(a,8)&&(k.convert=_.D(a,8));k.fields=_.REc({fields:this.Gg(c),Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)});e=MJc(a);f["content-type"]="application/json";var q=a.ie();l=!0;_.OO(this.H,k);_.SJc(this.H,k);_.TJc(this,_.nj(a,_.lk,28),f)}else if(a instanceof _.yN)n="files/"+a.getId(),_.x(a,2)&&(k.revisionId=_.x(a,2)),k.alt="media",
f["X-Goog-Encode-Response-If-Executable"]="base64",_.y(this.H,89,!1)&&(a=_.Ema((new _.lk).lc(a.getId()),_.x(a,3)),a=_.pgb(a),a.length&&(f["X-Goog-Drive-Resource-Keys"]=a)),l=!0;else if(a instanceof _.Gn)l=a.Il()[0],n="files/"+l,q=_.qa(this.Gg(c),this.Gg(c,a.Kh())),_.ya(q),k.fields=_.REc({fields:q,Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)}),_.OO(this.H,k),_.UJc(this.H,k),_.VJc(this.H,k),this.V(l,k),q=a.ie(),l=!0,_.D(a,7)&&(b.aka=!0),_.TJc(this,_.nj(a,_.lk,11),f);else if("undefined"!=typeof _.IJc&&a instanceof
_.IJc)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.JJc&&a instanceof _.JJc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt)",n="files/"+a.id+"/revisions/"+a.hu,l=!0;else if(a instanceof iFc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=_.hx("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof hFc?(d=2,h=(e=!!_.x(a.request,
12))?"PUT":"POST",n="files",e&&(n+="/"+_.x(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.Tr(),null!=_.D(a.request,8)&&(k.convert=_.D(a.request,8)),k.fields=_.REc({fields:this.Gg(c).filter(function(v){return 194!=v}),Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)}),_.OO(this.H,k),e=MJc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,null!=a.request.Vb()&&(f["x-upload-content-type"]=a.request.Vb()),q=a.request.ie(),l=!0):a instanceof _.lFc?(n="about",
k.fields="kind",q=a.H,l=!0):_.QJc(a);l&&_.WJc(c,k);return _.XJc(d,n,k,f,h,q,e,t)};_.XJc=function(a,b,c,d,e,f,h,k){b=new _.ni(b);[10,12,13].includes(a)||YEc(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;_.zi(b,f,l)}return{Yo:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.UJc=function(a,b){_.y(a.hf(),23,!1)&&(b.includePermissionsForView="published")};_.RJc.prototype.V=function(){};
_.VJc=function(a,b){_.y(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.SJc=function(a,b){_.y(a,3,!1)&&(b.enforceSingleParent=!0)};_.WJc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).ilb):b.retryCount=0};_.RJc.prototype.Gg=function(a,b){b||(b=_.PO(this.W));0<a.length&&(b=b.slice(0),_.iaa(b,function(c){return VGc.includes(c)}));return b};_.TJc=function(a,b,c){_.y(a.H,89,!1)&&b.length&&(a=_.pgb(b),a.length&&(c["X-Goog-Drive-Resource-Keys"]=a))};
_.YJc=function(a,b){_.jH.call(this,a?a:500,b?b:6E5)};_.H(_.YJc,_.jH);var ZJc=function(){_.fp.call(this);this.ha=this.W=null};_.H(ZJc,_.fp);ZJc.prototype.V=function(){(0,this.ha)()};$Jc=function(a,b){a.ha||(a.ha=b)};_.VO=function(a){if(!a.W){a.W=new UGc;var b=_.hp(a);_.Q(b,56,a.W)}return a.W};aKc=function(a){var b=_.VO(a).getState();b||(b=new NGc,_.VO(a).Od(b));return b};bKc=function(a,b){var c=new LGc;_.w(c,1,b);a=_.hp(a);_.Q(a,12,c)};
ZJc.prototype.ma=function(){var a=_.A(_.VO(this),PGc,4);if(!a){a=new PGc;var b=_.VO(this);_.Q(b,4,a)}return a};cKc=function(a){var b=_.A(_.VO(a),QGc,8);b||(b=new QGc,a=_.VO(a),_.Q(a,8,b));return b};_.dKc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.N.call(this);this.Pg=b?1:a;this.p9=!1;this.oG=b};_.H(_.dKc,_.N);_.g=_.dKc.prototype;_.g.isConnected=function(){return!this.p9&&1==this.Pg};_.g.Bl=function(){return 1==this.Pg||2==this.Pg};_.g.Bf=function(){return 3==this.Pg};_.g.get=function(){return this.Pg};
_.g.update=function(a){if(this.oG)return!1;if(this.Pg!=a||this.p9&&1==a){var b;2==a?b=3==this.Pg?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new fHc(b),this.Pg=a,this.p9=!1,this.dispatchEvent(b),!0}return!1};eKc=function(a,b){this.W=a;this.V=b;this.H=null};
iKc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return fKc(a,function(c){return c.count().then(function(d){return 1E3>d?gKc(a,c,b):hKc(a,Error("ff"))},function(d){return hKc(a,d)})},"readwrite")};gKc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.r5a=c.Qd(),d)).then(null,function(e){hKc(a,e)})};
jKc=function(a){return new _.Dh(function(b){var c=new Map;fKc(a,function(d){return yGc(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={wca:f.wca},k=h.next())k=_.p(k.value),f.wca=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.wca,new _.Tya(n.r5a))}}(f));return _.Ih(_.hc(e.values()).concat()).then(function(){return b(c)})})})})};
kKc=function(a,b){return fKc(a,function(c){return c.remove(b)},"readwrite")};fKc=function(a,b,c){c=void 0===c?"readonly":c;return lKc(a).then(function(d){try{var e=_.BM(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return hKc(a,f)}},function(d){return hKc(a,d)})};
lKc=function(a){return a.H?_.Fh(a.H):_.kCc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.zGc(c,"OfflineImpressions");_.eCc(_.iCc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return hKc(a,Error("gf"))}).then(function(b){return a.H=b},function(b){return _.Gh(_.eN(b))})};hKc=function(a,b){b||(b=Error("hf"));_.CO(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Fh()};
_.mKc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.N.call(this);this.Bw=b?!1:a;this.ska=null;this.oG=b};_.H(_.mKc,_.N);_.mKc.prototype.Bf=function(){return this.Bw};_.mKc.prototype.Ok=function(a){var b=this.Bw!=a;!this.oG&&b&&(this.Bw=a,this.dispatchEvent(new oHc(a)))};_.mKc.prototype.Xz=function(a){this.ska=a};
var oKc=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.ha=a;this.W=b;this.Pg=c;this.V=d;this.Lb=new _.Sd(this);this.Lb.listen(b,"Cb",function(k){k.Bf()||nKc(h)});this.Lb.listen(c,["wb","yb"],function(){return void nKc(h)});this.ka=e;f.then(function(){return nKc(h)})};_.H(oKc,_.N);oKc.prototype.H=function(a){return(this.W.Bf()||this.Pg.Bf())&&this.W.ska?iKc(this.V,a):this.ha.H(a)};
var nKc=function(a){return a.W.ska?jKc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return pKc(a,d)},function(){return qKc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},pKc=function(a,b){qKc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return kKc(a.V,b).then(function(){qKc(a,"Removed offline impression batch "+b+".")},function(){qKc(a,"Unable to remove offline impression batch "+b+".")})},qKc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},rKc=function(){};rKc.prototype.wI=function(){return new ZJc};var sKc=function(){this.H=new KGc};sKc.prototype.V=function(a){_.Q(a,13,this.H)};sKc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};uKc=function(a,b,c,d){this.Fa=_.WO(_.UDc,_.nO(a));this.ma=_.WO(_.YDc,_.B(a.hf(),8,0));this.W=_.WO(_.VDc,_.B(a.hf(),9,2));this.ta=_.y(a,10,!1);this.Ka=_.tM(a.Pe());this.wa=_.oO(a);this.ha=tKc(a);this.Ca=a.wi();this.V=this.H=null;this.La=b;this.Pg=c;this.ka=d};
tKc=function(a){var b=_.hc(_.RDc.keys()).concat(),c=_.hc(_.SDc.keys()).concat(),d=_.IM(a);return b.filter(function(e){return _.RDc.get(e)(a)}).concat(c.filter(function(e){return d&&_.SDc.get(e)(d)}))};_.WO=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};vKc=function(a){if(a.V)return a.V.H("aU7Ts")};
uKc.prototype.Gb=function(a){return a instanceof _.JB||"undefined"!=typeof _.XO&&a instanceof _.XO||"undefined"!=typeof _.YO&&a instanceof _.YO||"undefined"!=typeof _.ZO&&a instanceof _.ZO?a.Gb():"undefined"!=typeof _.$O&&a instanceof _.$O||"undefined"!=typeof _.aP&&a instanceof _.aP||"undefined"!=typeof _.bP&&a instanceof _.bP||"undefined"!=typeof _.cP&&a instanceof _.cP||"undefined"!=typeof _.dP&&a instanceof _.dP?a.response?a.response.Gb():null:null};uKc.prototype.wi=function(){return this.Ca};
var wKc=function(a){return a.La.Bf()||a.Pg.Bf()?2:1};uKc.prototype.getEnvironment=function(){return this.ka};var xKc=function(a,b){this.H=a;var c=new _.hya;_.iya(c,b.ha);a=this.H.iG();var d=_.YCc(a);_.Q(d,10,c);(c=b.wi())&&_.XCc(a,c);this.H.fT();this.V=b};xKc.prototype.isRunning=function(){return this.H.UN()};
_.yKc=function(a,b,c){var d=_.gp(a.H.kD(b,c),_.ODc);bKc(d,wKc(a.V));b=vKc(a.V);"boolean"===typeof b&&OGc(aKc(d),b);$Jc(d,function(){1==c&&a.H.iF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=aKc(d);_.w(f,1,e);a.H.Oo(d)});return d};zKc=function(a){var b=new _.dCa;var c=new sKc;_.w(c.H,1,a.Fa);_.w(c.H,3,a.ma);_.w(c.H,4,a.W);_.w(c.H,5,a.ta);_.w(c.H,6,a.Ka);_.w(c.H,7,a.wa);a=c.setEnvironment(a.getEnvironment());_.rGc(b,_.PDc,a);_.jp(b,_.ODc,new rKc);return b};
AKc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.oH(906,b,void 0,_.GM());l.ha=!1;var n=new _.lCc(l);b=new Date;l=_.cDc(_.bDc(_.aDc(AGc(),new _.mCc(l)),zKc(c)),109).setSessionId(b.getTime()+"_"+_.eg());if(k){a=new oKc(n,d,e,new eKc(a,f),f,h);_.$Cc(l,a);d=l.build();_.WCc(d.iG(),1E3*b.getTime());var q=new xKc(d,c);(new _.Sd).listen(a,"Db",function(){_.yKc(q,106008,0).V()});return q}_.$Cc(l,n);a=l.build();_.WCc(a.iG(),1E3*b.getTime());return new xKc(a,c)};
BKc=function(a,b){this.V=a;this.ha=b};BKc.prototype.H=function(a){this.V&&_.CKc(this)&&_.yKc(this.V,a,0).V()};BKc.prototype.W=function(a){return this.V&&_.CKc(this)?_.yKc(this.V,a,1):null};_.CKc=function(a){return!(!a.V||!a.V.isRunning())};_.DKc=function(a,b,c,d,e,f){var h=_.D(a,59),k=_.HM(a.Pe()).toString(),l=_.mO(a.Pe());f=new uKc(a,b,c,f);a=h?AKc(l,k,f,b,c,d,e,_.y(a,17,!1)):null;return new BKc(a,f)};_.EKc=function(a,b,c){this.tc=a;this.ha=b;this.W=c;this.V=this.Ul=null;this.H=!1};
_.EKc.prototype.getState=function(){return this.tc};_.$Ic=function(a){a.V=null;a.Ul&&(clearTimeout(a.Ul),a.Ul=null)};_.QHc=function(a){a.V||a.H||(a.V=new _.YJc(5E3,6E4),FKc(a))};FKc=function(a){GKc(a);a.V&&(a.Ul=setTimeout(function(){return void FKc(a)},a.V.ub()),_.kH(a.V))};GKc=function(a){_.Kh(_.Fh().then(null,function(){return null}),function(){return void HKc(a)})};
HKc=function(a){IKc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.lFc(_.ke(new _.je,312)))}).then(null,function(b){b=_.fN(b);_.dDc(b.Fg)&&PHc(a,2);return _.Gh(b)}).then(null,function(){return null})};IKc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};PHc=function(a,b){return!a.H&&a.tc.update(b)?(IKc(a,"Connection status: "+_.ZDc.get(b)),!0):!1};_.R("sy12a");
_.JKc=function(a,b,c){_.Gg.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.H(_.JKc,_.Gg);
_.eP=function(a,b,c,d,e,f,h){_.N.call(this);var k=this;this.W=a;this.ma=b;this.Fa=c;this.ta=d;this.Ya=e;this.ha=f;this.H={};this.ae=null;this.Ca=h;this.wa={};_.hd(this,function(){k.kA()})};_.H(_.eP,_.N);_.eP.prototype.oQ=function(){return _.fg()};
_.eP.prototype.upload=function(a,b,c){TIc(this.ma,"UploadTotalCount");var d=_.yO(a);if(d&&this.H[d])throw new _.nb("Upload requested with a duplicate request ID.");var e=_.x(a,10);if(e&&e.length){if(1!=e.length)throw new _.nb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.nb("The parent upload request must precede this request.");}!_.x(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);d||(d=this.oQ(),_.w(a,9,d));a=_.uj(a);e=KKc(this,d);this.H[d]={request:a,file:b,
Uf:e,kF:!1,$J:0,success:!1,QE:!1,children:[],metadata:c,Xk:void 0};f?LKc(this,d,f):this.ka(d);return e.Gk()};
var KKc=function(a,b){var c=new _.Cj;c.vf(_.Be(a.Ra,b),_.Be(a.Na,b),a);return c},LKc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.ya(c.children);c.Uf.then(function(f){if(1==f.Gb()&&(f=f.Gc(),_.x(e.request,3).push(f),_.w(e.request,10,[]),!c.QE||d)){a.ka(b);return}MKc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Uf.Bd(_.nM(f)?f:Error(f))})};
_.eP.prototype.Ra=function(a,b){TIc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Gb();(b=a.Xk)&&!a.QE&&(RGc(TGc(cKc(b),a.$J),!0),b.V())};_.eP.prototype.Na=function(a,b){var c=_.A(this.W,_.pM,58);c&&_.y(c,1,!1)&&(this.wa[a]=b);TIc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.Xk)&&!c.QE&&(RGc(TGc(cKc(a),c.$J),!1),b=(c=b&&b.Fg)&&c.Mi(),c=c&&c.vn(),b?SGc(cKc(a),NKc.get(b)||13):c&&SGc(cKc(a),OKc.get(c)||0),a.V())};
_.eP.prototype.ka=function(a){var b=this.H[a];if(!b.kF){b.kF=!0;a=this.H[a];var c=a.request,d=_.A(this.W,_.pM,58);d&&_.y(d,4,!1)&&(d=c.getTitle().match(PKc))&&(!d[1]||a.$J<Number(d[1].substr(1)))&&(c=_.uj(c),_.ka(_.x(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.A(b.request,_.uGc,15))?_.x(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.hf();d=_.B(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ca&&3!=d){var f=this.Ca.W(106012);if(f){b.Xk=f;f=cKc(f);f=_.w(f,1,2==d?2:1);f=_.w(f,4,
!!b.metadata);var h=!!_.x(a,12);f=_.w(f,5,h);e=_.w(f,6,e);c=_.B(c,32,1073741824);_.w(e,7,c)}}switch(d){case 2:if(b.file){c=b.Uf;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Be(this.ha,_.yO(a)));QKc(this,new _.jFc(a,d,k,b),c,_.yO(a))}break;case 1:b.file&&(k=b.Uf,c=b.file,b=b.metadata,d=_.A(this.W,_.zFc,2),QKc(this,new _.$N(a,c,d&&_.y(d,2,!1)?b:void 0),k,_.yO(a)));break;case 3:QKc(this,a,b.Uf,_.yO(a));break;default:throw new _.nb("Upload type ${uploadType} not supported.");}}};
var QKc=function(a,b,c,d){jHc(a.Fa,d,a.Ka.bind(a,d));_.Kh(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return RKc(a,b,e)}),function(){kHc(a.Fa,[d])}).then(c.callback,c.Bd,c)},RKc=function(a,b,c){var d=_.fN(c),e=b instanceof _.$N&&b.request.Gc()||"";c=d.Fg;if(e&&8==c.Mi()){MKc(a);var f=_.In(new _.Gn,[e]);return _.Ij(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.Zq().wd()[0];var k=b.request;if(h&&!h.jh()&&(h.Vb()||"").replace(/\s/g,"")==(k.Vb()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return MKc(a),_.IGc((new _.dO).setItem(h),e).Dc(1);MKc(a);return _.Gh(d)}))}return _.Jj(d)};
_.eP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.QE||0!=c.children.length))if(c.QE=!0,c.Uf.Ie())MKc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ea(c.children,this.cancel,this);else{var d=c.Xk;d&&(SGc(RGc(TGc(cKc(d),c.$J),!1),2),d.V());var e=_.Jh();c.kF?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.kF=!0,d=new _.dO,d.Dc(8),c.Uf.callback(d),e.resolve(!0));e.promise.then(function(f){return MKc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.eP.prototype.kA=function(){var a=this;_.Se(this.H,function(b,c){a.cancel(c)})};
_.eP.prototype.ima=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=(_.x(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Uf.Ie()||e[k])break;else if(!c.has(k)){e[f]=new _.nb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ca(h,function(n){var q=b.H[n];q.$J++;if(!e[n])if(!q.Uf.Ie()||q.success)e[n]=new _.nb("Unable to retry request.");else{var t=(_.x(q.request,10)||[])[0];e[t]instanceof _.nb?
e[n]=e[t]:(q.Uf=KKc(b,n),q.kF=!1,q.QE=!1,(t=t?b.H[t]:null)?LKc(b,n,t,!0):d.push(n),e[n]=q.Uf.Gk())}})}else e[f]=new _.nb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Cj?f:_.Jj(f)});_.Ea(d,this.ka,this);return a};var MKc=function(a){a.isDisposed()};_.eP.prototype.jd=function(a){return this.H[a]};var PKc=/^uploadTestFailMe(\.[1-9])?$/,OKc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),NKc=new Map([[3,14]]);

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
_.TKc=function(a){return _.cd(a).Gg(_.y(a.get(_.Ua),19,!1)?SKc:_.$c)};_.R("sy12h");
var SKc=[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];

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var UKc=function(a,b){a=a.request;a=_.hx('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.yO(a)||"");var c=b.Fg;c=c?_.x(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}},VKc=function(a){a={Title:a.getTitle(),Type:a.Vb(),Parents:_.x(a,3),Convert:_.D(a,8),ID:_.yO(a)};var b=[];_.Se(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")},WKc=function(a){var b=[];b.push(VKc(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.$J&&b.push("# of retries by client: "+a.$J);var d="";a.kF?a.Uf.Ie()?a.Uf.vf(function(){d="Completed successfully."},function(e){d=e instanceof _.Dj?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+d);return b.join("\n")},YKc=function(a,b,c,d,e,f){var h=_.hx("Drive Upload Report: %d/%d failed",_.We(f),_.We(e));a=a.hf();d.push("Batch query interval: "+_.B(a,
12,10)+"ms");d.push("Max resumable upload chunk size: "+_.B(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.B(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.B(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.B(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Se(e,function(n){l.push(WKc(n))});k.push({name:"AllUploadRequests.txt",content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:XKc(b)});_.Se(f,function(n,
q){k.push(UKc(e[q],n))});return{title:h,description:d,bQ:k,je:152391,W5:c,sW:361003}},ZKc=function(a){return Array.prototype.concat.apply([],arguments)},$Kc=function(a,b,c){c=_.Ba(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1},aLc=function(a){return String.fromCharCode(10>a?48+a:87+a)},bLc=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]=aLc(d>>4);b[2*c+3]=aLc(d&15)}return b.join("")},cLc=function(a){var b=new _.Ko;b.append("kind,largestChangeId,nextPageToken,");
b.append("items(deleted,fileId,id,kind,");b.append(_.hN(a,!0,"file"));a.tV&&(b.append(",teamDriveId,teamDrive("),b.append(a.tV),b.append(")"));b.append(")");return b.toString()},dLc=function(a){var b=new _.Ko;b.append("kind,nextPageToken,items(");b.append(_.hN(a,!0));b.append("),incompleteSearch");a.tV&&(b.append(","),b.append(a.tV));return b.toString()},fP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.A(d,_.qO,138),k=_.A(d,_.Yl,111),l=_.A(d,_.tO,27),n=_.A(d,_.uO,
139),q=d.ef(),t=_.A(d,_.wO,103);switch(e){case 74:_.pj(d,83,[]);break;case 188:_.w(d,137,void 0);break;case 149:_.w(d,128,[]);break;case 148:_.pj(d,127,[]);break;case 138:_.w(d,126,void 0);break;case 184:_.w(d,135,[]);break;case 76:f&&_.w(f,1,void 0);break;case 208:f&&_.w(f,48,void 0);break;case 185:f&&_.w(f,40,void 0);break;case 213:f&&_.w(f,50,void 0);break;case 156:f&&_.w(f,39,void 0);break;case 61:f&&_.w(f,2,void 0);break;case 77:f&&_.w(f,4,void 0);break;case 134:f&&_.w(f,34,void 0);break;case 147:f&&
_.w(f,38,void 0);break;case 81:f&&_.w(f,10,void 0);break;case 82:f&&_.w(f,11,void 0);break;case 114:f&&_.w(f,27,void 0);break;case 133:f&&_.w(f,33,void 0);break;case 202:f&&_.w(f,47,void 0);break;case 132:f&&_.w(f,32,void 0);break;case 101:f&&_.w(f,20,void 0);break;case 201:f&&_.w(f,46,void 0);break;case 131:f&&_.w(f,31,void 0);break;case 200:f&&_.w(f,45,void 0);break;case 130:f&&_.w(f,30,void 0);break;case 93:f&&_.w(f,17,void 0);break;case 191:f&&_.w(f,44,void 0);break;case 146:f&&_.w(f,37,void 0);
break;case 90:f&&_.w(f,16,void 0);break;case 78:f&&_.w(f,7,void 0);break;case 186:f&&_.w(f,41,void 0);break;case 85:f&&_.w(f,12,void 0);break;case 137:f&&_.w(f,36,void 0);break;case 209:f&&_.w(f,49,void 0);break;case 79:f&&_.w(f,8,void 0);break;case 189:f&&_.w(f,42,void 0);break;case 190:f&&_.w(f,43,void 0);break;case 80:f&&_.w(f,9,void 0);break;case 135:f&&_.w(f,35,void 0);break;case 102:f&&_.w(f,21,void 0);break;case 69:_.w(d,74,void 0);break;case 194:h&&_.Q(h,2,void 0);break;case 193:h&&_.w(h,
1,void 0);break;case 1004:_.w(d,108,void 0);break;case 136:_.pj(d,125,[]);break;case 115:k&&_.w(k,1,void 0);break;case 116:k&&_.w(k,2,void 0);break;case 34:_.w(d,30,void 0);f&&_.w(f,3,void 0);break;case 9:_.w(d,10,void 0);break;case 91:_.Q(d,91,void 0);break;case 43:_.w(d,42,void 0);_.w(d,43,void 0);break;case 187:_.w(d,136,void 0);break;case 26:_.w(d,24,void 0);break;case 108:_.w(d,104,[]);break;case 41:_.w(d,40,void 0);f&&_.w(f,5,void 0);break;case 42:_.w(d,41,void 0);break;case 1005:eLc(d,[]);
break;case 59:f&&_.w(f,6,void 0);break;case 28:_.w(d,26,void 0);break;case 44:_.w(d,45,void 0);break;case 13:_.w(d,14,void 0);break;case 48:_.w(d,36,void 0);break;case 38:_.w(d,34,void 0);break;case 49:_.w(d,50,[]);break;case 51:_.w(d,53,void 0);break;case 104:_.w(d,102,void 0);break;case 39:_.w(d,35,void 0);break;case 87:_.w(d,76,void 0);break;case 100:_.w(d,98,void 0);break;case 72:_.w(d,78,void 0);break;case 5:_.w(d,6,void 0);break;case 20:_.w(d,21,void 0);break;case 21:break;case 29:l&&_.w(l,
1,void 0);break;case 31:l&&_.w(l,3,void 0);break;case 92:l&&_.w(l,4,void 0);break;case 30:l&&_.w(l,2,void 0);break;case 16:_.Q(d,17,void 0);break;case 12:_.w(d,13,void 0);break;case 211:n&&_.w(n,2,void 0);break;case 212:n&&_.w(n,3,void 0);break;case 157:(d=d.Uj())&&fLc(d,[]);break;case 3:_.w(d,4,void 0);break;case 11:_.w(d,12,void 0);break;case 10:_.w(d,11,void 0);break;case 50:_.w(d,49,void 0);_.w(d,51,void 0);_.Q(d,81,void 0);break;case 18:_.w(d,19,void 0);break;case 95:_.w(d,93,void 0);break;case 58:_.w(d,
63,void 0);break;case 14:_.pj(d,15,[]);break;case 103:_.w(d,101,void 0);break;case 1:_.xO(d,[]);break;case 96:_.w(d,94,void 0);break;case 1003:gLc(d,[]);break;case 75:_.oGc(d,void 0);break;case 94:_.w(d,92,void 0);break;case 45:_.w(d,46,void 0);break;case 124:_.w(d,118,void 0);break;case 125:_.w(d,119,void 0);break;case 1002:_.Q(d,100,void 0);break;case 32:_.w(d,28,void 0);break;case 67:_.w(d,70,void 0);break;case 68:_.w(d,71,void 0);break;case 73:_.w(d,79,void 0);break;case 71:_.w(d,77,void 0);break;
case 210:_.w(d,140,void 0);break;case 7:_.w(d,8,void 0);break;case 122:hLc(d,void 0);break;case 66:_.w(d,69,void 0);break;case 33:_.w(d,29,void 0);break;case 24:_.w(d,22,void 0);break;case 25:_.w(d,23,void 0);break;case 46:_.Q(d,47,void 0);break;case 192:q&&_.w(q,6,void 0);break;case 159:q&&_.Q(q,5,void 0);break;case 154:q&&_.w(q,1,void 0);break;case 158:q&&_.w(q,4,void 0);break;case 155:q&&_.w(q,3,void 0);break;case 52:_.w(d,56,[]);break;case 56:_.w(d,61,void 0);break;case 55:d.WD([]);break;case 4:_.w(d,
5,void 0);break;case 35:_.w(d,31,void 0);break;case 57:_.w(d,62,void 0);break;case 83:_.w(d,72,void 0);break;case 84:_.Q(d,86,void 0);break;case 19:_.w(d,20,void 0);_.w(d,44,void 0);_.w(d,90,void 0);break;case 2:_.w(d,3,void 0);break;case 6:_.w(d,7,void 0);break;case 98:_.w(d,96,void 0);break;case 97:_.Q(d,95,void 0);break;case 27:_.w(d,25,void 0);break;case 70:_.w(d,75,void 0);break;case 107:t&&_.w(t,3,void 0);break;case 106:t&&_.w(t,2,void 0);break;case 105:t&&_.w(t,1,void 0);break;case 8:_.w(d,
9,void 0);break;case 126:_.w(d,120,[]);break;default:throw Error("Zc`"+e);}}},jLc=function(a,b){if(0!=a.length){var c=new Set(_.hc(a).concat(_.hc(iLc)));a=_.hc(_.ybb.keys()).concat().filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)fP(b[d],a)}},kLc=function(a,b){var c=a.getCapabilities()||new _.Ul,d=_.A(a,_.qO,138),e=_.A(a,_.Yl,111),f=_.A(a,_.tO,27),h=_.A(a,_.uO,139),k=a.ef(),l=_.A(a,_.wO,103);switch(b){case 74:return 0<_.dm(a).length;case 188:return null!=_.D(a,137);case 149:return 0<
_.x(a,128).length;case 148:return 0<a.uha().length;case 138:return null!=a.a6();case 184:return 0<_.x(a,135).length;case 76:return null!=_.Vl(c);case 208:return null!=_.D(c,48);case 185:return null!=_.D(c,40);case 213:return null!=_.D(c,50);case 156:return null!=_.D(c,39);case 61:return null!=_.D(c,2);case 77:return null!=_.D(c,4);case 134:return null!=_.D(c,34);case 147:return null!=c.Nu();case 81:return null!=_.D(c,10);case 82:return null!=_.D(c,11);case 114:return null!=_.D(c,27);case 133:return null!=
_.D(c,33);case 202:return null!=_.D(c,47);case 132:return null!=_.D(c,32);case 101:return null!=_.D(c,20);case 201:return null!=_.D(c,46);case 131:return null!=_.D(c,31);case 200:return null!=_.D(c,45);case 130:return null!=_.D(c,30);case 93:return null!=_.D(c,17);case 191:return null!=_.D(c,44);case 146:return null!=_.D(c,37);case 90:return null!=_.Wl(c);case 78:return null!=_.D(c,7);case 186:return null!=_.D(c,41);case 85:return null!=_.D(c,12);case 137:return null!=_.D(c,36);case 209:return null!=
_.D(c,49);case 79:return null!=_.D(c,8);case 189:return null!=_.D(c,42);case 190:return null!=_.D(c,43);case 80:return null!=c.V();case 135:return null!=_.D(c,35);case 102:return null!=_.D(c,21);case 69:return null!=_.D(a,74);case 194:return null!=d&&null!=_.A(d,_.rO,2);case 193:return null!=d&&null!=_.x(d,1);case 1004:return null!=_.D(a,108);case 136:return 0<a.$Q().length;case 115:return null!=e&&null!=_.D(e,1);case 116:return null!=e&&null!=_.x(e,2);case 34:return null!=_.D(a,30)||null!=_.D(c,
3);case 9:return null!=a.FA();case 91:return null!=_.A(a,_.fk,91);case 43:return null!=_.x(a,42)||null!=_.x(a,43);case 187:return null!=_.x(a,136);case 26:return null!=a.Pf();case 108:return 0<_.x(a,104).length;case 41:return null!=c.W();case 42:return null!=_.x(a,41);case 1005:return 0<a.uI().length;case 59:return null!=_.D(c,6);case 28:return null!=a.wA();case 44:return null!=_.x(a,45);case 13:return null!=a.xC();case 48:return null!=_.D(a,36);case 38:return null!=a.Sh();case 49:return 0<_.x(a,
50).length;case 51:return null!=_.D(a,53);case 104:return null!=_.D(a,102);case 39:return null!=a.z6();case 87:return null!=_.cm(a);case 100:return null!=_.D(a,98);case 72:return null!=_.x(a,78);case 5:return null!=a.xl();case 20:return null!=a.Ce();case 21:return null!=a.getId();case 29:return!(!f||null==_.x(f,1));case 31:return!(!f||null==f.Ne());case 92:return!(!f||null==_.x(f,4));case 30:return!(!f||null==_.x(f,2));case 16:return null!=a.Bo();case 12:return null!=a.vx();case 211:return null!=
h&&null!=_.D(h,2);case 212:return null!=h&&null!=_.D(h,3);case 157:return a=a.Uj(),!(!a||!_.nj(a,_.$l,8));case 3:return null!=a.Vb();case 11:return null!=a.kz();case 10:return null!=a.kq();case 50:return null!=a.gp()||null!=_.D(a,51)||null!=a.Kl();case 18:return null!=_.x(a,19);case 14:return 0<_.bm(a).length;case 95:return null!=a.V();case 58:return null!=_.D(a,63);case 103:return null!=_.x(a,101);case 1:return 0<a.Qh().length;case 96:return null!=_.D(a,94);case 1003:return 0<_.gm(a).length;case 75:return null!=
a.W();case 94:return null!=_.em(a);case 45:return null!=a.mp();case 124:return null!=_.D(a,118);case 125:return null!=_.x(a,119);case 1002:return null!=_.fm(a);case 32:return null!=a.az();case 67:return null!=a.RI();case 68:return null!=a.SI();case 73:return null!=_.x(a,79);case 71:return null!=a.ta();case 210:return null!=_.x(a,140);case 7:return null!=a.LW();case 122:return null!=a.MC();case 66:return null!=_.x(a,69);case 33:return null!=_.D(a,29);case 24:return null!=a.Li();case 25:return null!=
a.Ot();case 46:return null!=a.xA();case 192:return null!=k&&null!=_.D(k,6);case 159:return null!=k&&null!=_.Uc(k);case 154:return null!=k&&null!=_.x(k,1);case 158:return null!=k&&null!=_.Xc(k);case 155:return null!=k&&null!=_.x(k,3);case 52:return 0<_.x(a,56).length;case 55:return 0<a.Pt().length;case 56:return null!=_.x(a,61);case 4:return null!=a.$v();case 35:return null!=_.D(a,31);case 57:return null!=_.x(a,62);case 83:return null!=a.yc();case 84:return null!=_.A(a,_.vO,86);case 2:return null!=
a.getTitle();case 19:return null!=a.sh()||null!=_.D(a,44)||null!=_.x(a,90);case 6:return null!=a.jh();case 98:return null!=a.ma();case 97:return null!=a.ka();case 27:return null!=a.Yl();case 70:return null!=_.x(a,75);case 107:return null!=l&&null!=_.x(l,3);case 106:return null!=l&&null!=l.Ne();case 105:return null!=l&&null!=_.x(l,1);case 8:return null!=_.D(a,9);case 126:return 0<_.x(a,120).length;default:throw Error("$c`"+b);}},lLc=function(a,b){return b.every(function(c){return kLc(a,c)})},mLc=function(a,
b,c){var d=a.concat((void 0===c?0:c)?_.QEc:[]);return b.every(function(e){return(new Set(d)).has(e)})},nLc=function(a,b){var c=new Set(b.concat(_.QEc));return a.filter(function(d){return!c.has(d)})},gP=function(a,b,c){b=b.clone();c.forEach(function(d){if(kLc(b,d))if(_.Abb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.Ul;a.an(f);switch(d){case 76:_.KFc(f,_.Vl(e));break;case 208:_.aGc(f,_.D(e,48));break;case 185:var h=_.D(e,40);_.w(f,40,h);break;case 213:var k=_.D(e,50);_.w(f,
50,k);break;case 156:var l=_.D(e,39);_.w(f,39,l);break;case 61:var n=_.D(e,2);_.w(f,2,n);break;case 77:var q=_.D(e,4);_.w(f,4,q);break;case 134:var t=_.D(e,34);_.w(f,34,t);break;case 147:var v=e.Nu();_.w(f,38,v);break;case 81:var z=_.D(e,10);_.w(f,10,z);break;case 82:_.OFc(f,_.D(e,11));break;case 114:var C=_.D(e,27);_.w(f,27,C);break;case 133:_.WFc(f,_.D(e,33));break;case 202:_.$Fc(f,_.D(e,47));case 132:_.VFc(f,_.D(e,32));break;case 101:_.SFc(f,_.D(e,20));break;case 201:_.ZFc(f,_.D(e,46));break;case 131:_.UFc(f,
_.D(e,31));break;case 200:var F=_.D(e,45);_.w(f,45,F);break;case 130:var K=_.D(e,30);_.w(f,30,K);break;case 93:_.RFc(f,_.D(e,17));break;case 191:var J=_.D(e,44);_.w(f,44,J);break;case 146:var Z=_.D(e,37);_.w(f,37,Z);break;case 90:_.QFc(f,_.Wl(e));break;case 78:_.LFc(f,_.D(e,7));break;case 186:var X=_.D(e,41);_.w(f,41,X);break;case 85:_.PFc(f,_.D(e,12));break;case 137:var ma=_.D(e,36);_.w(f,36,ma);break;case 209:var Aa=_.D(e,49);_.w(f,49,Aa);break;case 79:_.MFc(f,_.D(e,8));break;case 189:_.XFc(f,_.D(e,
42));break;case 190:_.YFc(f,_.D(e,43));break;case 80:_.NFc(f,e.V());break;case 135:var Ka=_.D(e,35);_.w(f,35,Ka);break;case 102:_.TFc(f,_.D(e,21));break;case 34:var Ha=_.D(b,30);_.w(a,30,Ha);var na=_.D(e,3);_.w(f,3,na);break;case 41:var Ya=_.D(b,40);_.w(a,40,Ya);var $b=e.W();_.w(f,5,$b);break;case 59:var Wb=_.D(e,6);_.w(f,6,Wb)}}}else if(_.Bbb.has(d)){var kb=_.A(b,_.qO,138);if(kb){var Kc=_.A(a,_.qO,138)||new _.qO;_.Q(a,138,Kc);switch(d){case 194:var bd=_.A(kb,_.rO,2);_.Q(Kc,2,bd);break;case 193:var Xe=
_.x(kb,1);_.w(Kc,1,Xe)}}}else if(_.Cbb.has(d)){var gg=_.A(b,_.Yl,111);if(gg){var Ge=_.A(a,_.Yl,111)||new _.Yl;_.Q(a,111,Ge);switch(d){case 115:_.sO(Ge,_.D(gg,1));break;case 116:_.bGc(Ge,_.x(gg,2))}}}else if(_.Dbb.has(d)){var wf=_.A(b,_.tO,27);if(wf){var Qg=_.A(a,_.tO,27)||new _.tO;_.Q(a,27,Qg);switch(d){case 29:var Eh=_.x(wf,1);_.w(Qg,1,Eh);break;case 31:Qg.Rf(wf.Ne());break;case 92:var yd=_.x(wf,4);_.w(Qg,4,yd);break;case 30:var lj=_.x(wf,2);_.w(Qg,2,lj)}}}else if(_.Ebb.has(d)){var Ff=_.A(b,_.uO,
139);if(Ff){var Rg=_.A(a,_.uO,139)||new _.uO;_.Q(a,139,Rg);switch(d){case 211:var Eb=_.D(Ff,2);_.w(Rg,2,Eb);break;case 212:var mj=_.D(Ff,3);_.w(Rg,3,mj)}}}else if(_.Fbb.has(d)){var wj=b.ef();if(wj){var ti=a.ef()||new _.hta;_.Q(a,132,ti);switch(d){case 192:var vt=_.D(wj,6);_.w(ti,6,vt);break;case 159:var An=_.Uc(wj);_.Q(ti,5,An);break;case 154:var Sg=_.x(wj,1);_.w(ti,1,Sg);break;case 158:var ui=_.Xc(wj);_.w(ti,4,ui);break;case 155:var Fp=_.x(wj,3);_.w(ti,3,Fp)}}}else if(_.Gbb.has(d)){var uo=_.A(b,
_.wO,103);if(uo){var hl=_.A(a,_.wO,103)||new _.wO;_.Q(a,103,hl);switch(d){case 107:var Pq=_.x(uo,3);_.w(hl,3,Pq);break;case 106:hl.Rf(uo.Ne());break;case 105:var Bn=_.x(uo,1);_.w(hl,1,Bn)}}}else switch(d){case 74:var vo=_.dm(b);_.pj(a,83,vo);break;case 188:var wt=_.D(b,137);_.w(a,137,wt);break;case 149:var wo=_.x(b,128);_.w(a,128,wo||[]);break;case 148:var Uu=b.uha();_.pj(a,127,Uu);break;case 138:var Gm=b.a6();_.w(a,126,Gm);break;case 184:var Xl=_.x(b,135);_.w(a,135,Xl||[]);break;case 69:var Ji=_.D(b,
74);_.w(a,74,Ji);break;case 1004:var xt=_.D(b,108);_.w(a,108,xt);break;case 136:var yt=b.$Q();_.pj(a,125,yt);break;case 9:var fi=b.FA();_.w(a,10,fi);break;case 91:var xj=_.A(b,_.fk,91);_.Q(a,91,xj);break;case 43:var zd=_.x(b,42);_.w(a,42,zd);var zt=_.x(b,43);_.w(a,43,zt);break;case 187:var Gf=_.x(b,136);_.w(a,136,Gf);break;case 26:a.ll(b.Pf());break;case 108:var yj=_.x(b,104);_.w(a,104,yj||[]);break;case 42:var At=_.x(b,41);_.w(a,41,At);break;case 1005:eLc(a,b.uI());break;case 28:_.iGc(a,b.wA());
break;case 44:var Vr=_.x(b,45);_.w(a,45,Vr);break;case 13:var Wr=b.xC();_.w(a,14,Wr);break;case 48:var Xr=_.D(b,36);_.w(a,36,Xr);break;case 38:_.kGc(a,b.Sh());break;case 49:var Lw=_.x(b,50);_.w(a,50,Lw||[]);break;case 51:var Yr=_.D(b,53);_.w(a,53,Yr);break;case 104:var Qq=_.D(b,102);_.w(a,102,Qq);break;case 39:var Rq=b.z6();_.w(a,35,Rq);break;case 87:var Gp=_.cm(b);_.w(a,76,Gp);break;case 100:var Ek=_.D(b,98);_.w(a,98,Ek);break;case 72:var Zr=_.x(b,78);_.w(a,78,Zr);break;case 5:var Bt=b.xl();_.w(a,
6,Bt);break;case 20:var Ct=b.Ce();_.w(a,21,Ct);break;case 21:a.lc(b.getId());break;case 16:var Vy=b.Bo();_.Q(a,17,Vy);break;case 12:var Wy=b.vx();_.w(a,13,Wy);break;case 157:var Vu=b.Uj();if(Vu){var Hp=a.Uj()||new _.fta;oLc(a,Hp);fLc(Hp,_.nj(Vu,_.$l,8))}break;case 3:_.iM(a,b.Vb());break;case 11:var $r=b.kz();_.w(a,12,$r);break;case 10:_.rBc(a,b.kq());break;case 50:var Dt=b.gp();_.w(a,49,Dt);var Mw=_.D(b,51);_.w(a,51,Mw);var aC=b.Kl();_.Q(a,81,aC);break;case 95:_.qGc(a,b.V());break;case 18:_.hGc(a,
_.x(b,19));break;case 58:var Cn=_.D(b,63);_.w(a,63,Cn);break;case 14:var as=_.bm(b);_.pj(a,15,as);break;case 1:_.xO(a,b.Qh());break;case 96:var Nw=_.D(b,94);_.w(a,94,Nw);break;case 103:var Wu=_.x(b,101);_.w(a,101,Wu);break;case 1003:gLc(a,_.gm(b));break;case 75:_.oGc(a,b.W());break;case 94:_.pGc(a,_.em(b));break;case 45:var Sq=b.mp();_.w(a,46,Sq);case 124:var Xu=_.D(b,118);_.w(a,118,Xu);break;case 125:var Xy=_.x(b,119);_.w(a,119,Xy);break;case 1002:var Yy=_.fm(b);_.Q(a,100,Yy);break;case 32:var Yu=
b.az();_.w(a,28,Yu);break;case 67:var Et=b.RI();_.w(a,70,Et);break;case 68:var Ow=b.SI();_.w(a,71,Ow);break;case 73:var Zu=_.x(b,79);_.w(a,79,Zu);break;case 71:var Dn=b.ta();_.w(a,77,Dn);break;case 210:var bs=_.x(b,140);_.w(a,140,bs);break;case 7:_.gGc(a,b.LW());break;case 122:hLc(a,b.MC());break;case 66:var Zy=_.x(b,69);_.w(a,69,Zy);break;case 33:var He=_.D(b,29);_.w(a,29,He);break;case 24:var Ft=b.Li();_.w(a,22,Ft);break;case 25:var Pw=b.Ot();_.w(a,23,Pw);break;case 46:var $y=b.xA();_.Q(a,47,$y);
break;case 52:var $5=_.x(b,56);_.w(a,56,$5||[]);break;case 56:var ls=_.x(b,61);_.w(a,61,ls);break;case 55:a.WD(b.Pt());break;case 4:a.Iq(b.$v());break;case 35:_.jGc(a,_.D(b,31));break;case 57:var LC=_.x(b,62);_.w(a,62,LC);break;case 83:_.nGc(a,b.yc());break;case 84:var nx=_.A(b,_.vO,86);_.Q(a,86,nx);break;case 98:var MC=b.ma();_.w(a,96,MC);break;case 97:var kG=b.ka();_.Q(a,95,kG);break;case 19:var XP=b.sh();_.w(a,20,XP);_.lGc(a,_.D(b,44));var pX=_.x(b,90);_.w(a,90,pX);break;case 2:a.setTitle(b.getTitle());
break;case 6:a.Mn(b.jh());break;case 27:_.jM(a,b.Yl());break;case 70:var lG=_.x(b,75);_.w(a,75,lG);break;case 8:var mG=_.D(b,9);_.w(a,9,mG);break;case 126:var iK=_.x(b,120);_.w(a,120,iK||[]);break;default:throw Error("ad`"+d);}})},pLc=function(a,b){var c=_.jA[a];return b.filter(function(d){return!c||!c.has(d)})},qLc=function(a,b,c){c&&(a=pLc(c,a));return mLc(b,a,!0)},rLc=function(a){return!!_.D(a,31)&&!_.D(a,94)},tLc=function(a){return sLc.some(function(b){return kLc(a,b)})},uLc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,
5,2].includes(hP(b))})},vLc=function(a){return uLc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))},wLc=function(a,b){var c=_.oM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d},yLc=function(a,b){if(b){var c=[];_.D(b,3)&&c.push("folder");var d=xLc()&&4==b.getType()?"title_natural":_.jDc[b.getType()];b=_.lDc[b.oj()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}},ALc=function(a,b,c,d){b="#"+b+"_";var e=new _.mM;e.update(c.join(","));b+=_.xBc(e.digest());
d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new zLc(c.port),c.port.start()):a=new zLc(new Worker(a));return a},CLc=function(a){var b=a.slice(0),c=new Set(b);BLc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b},ELc=function(a){var b=new DLc;if(a instanceof _.kN)_.oj(b,16,iP[0],a);else if(a instanceof _.lN)_.oj(b,1,iP[0],a);else if(a instanceof _.mN)_.oj(b,2,iP[0],a);else if(a instanceof _.pN)_.oj(b,3,iP[0],a);else if(a instanceof _.QO)_.oj(b,4,iP[0],a);else if(a instanceof
_.nN)_.oj(b,5,iP[0],a);else if(a instanceof _.tN)_.oj(b,6,iP[0],a);else if(a instanceof _.vN)_.oj(b,7,iP[0],a);else if(a instanceof _.wN)_.oj(b,8,iP[0],a);else if(a instanceof _.zN)_.oj(b,9,iP[0],a);else if(a instanceof _.NN)_.oj(b,10,iP[0],a);else if("undefined"!=typeof _.ON&&a instanceof _.ON)_.oj(b,11,iP[0],a);else if(a instanceof _.PN)_.oj(b,12,iP[0],a);else if(a instanceof _.KM)_.oj(b,13,iP[0],a);else if(a instanceof _.TN)_.oj(b,14,iP[0],a);else if(a instanceof _.UN)_.oj(b,15,iP[0],a);else throw new _.nb("Unsupported request type");
return b},HLc=function(a){a=a.map(function(c){var d=new FLc;if(c instanceof _.kN)_.oj(d,6,jP[0],c);else if(c instanceof _.tN)_.oj(d,1,jP[0],c);else if(c instanceof _.NN)_.oj(d,2,jP[0],c);else if("undefined"!=typeof _.ON&&c instanceof _.ON)_.oj(d,3,jP[0],c);else if(c instanceof _.KM)_.oj(d,4,jP[0],c);else if(c instanceof _.UN)_.oj(d,5,jP[0],c);else throw new _.nb("Unsupported request type");return d});var b=new GLc;_.pj(b,1,a);return b},KLc=function(a){var b=new ILc;if("undefined"!=typeof _.fD&&a instanceof
_.fD)_.oj(b,1,JLc[0],a);else if("undefined"!=typeof _.gD&&a instanceof _.gD)_.oj(b,2,JLc[0],a);else throw new _.nb("Unsupported request type");return b},NLc=function(a){var b=new LLc;if(a instanceof _.qN)_.oj(b,1,MLc[0],a);else if(a instanceof _.xN)_.oj(b,2,MLc[0],a);else if(a instanceof _.VN)_.oj(b,3,MLc[0],a);else throw new _.nb("Unsupported request type");return b},OLc=function(a,b){var c=a.Kl();c||(c=new _.Zl,b&&_.Q(a,81,c));return c},PLc=function(a){if(_.jN(a))_.cN(OLc(a,!0),!0);else if(_.jN(a,
!0)){var b=a.ef();if(b=b&&_.Uc(b))_.cN(OLc(b,!0),!0),_.cN(OLc(a,!0),!0)}},QLc=function(a){return!!a.Kl()&&!_.jN(a)},RLc=function(a){var b=[];_.Ea(a,function(c){if(3!=hP(c)){var d=c;if(null!=d.gp()||null!=_.D(d,51)||null!=d.Kl())c=_.uj(c),_.w(c,49,void 0),_.w(c,51,void 0),_.Q(c,81,void 0);b.push(c)}});return b},kP=function(a){return a.map(function(b){return b.getItem()})},SLc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b},ULc=function(a){return a.map(function(b){var c=
new _.l3a;c=_.w(c,3,TLc[b.serviceName]);return _.w(c,2,Number(b.NDb))})},WLc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return VLc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)},YLc=function(a){a=a.kw();var b=new XLc;a.forEach(function(c){var d=c.getKey();d=d&&_.x(d,2);"corpusSize"==d?(c=_.ig(c.ub()),_.w(b,3,c)):"linkedItems"==d?(c=_.ig(c.ub()),_.w(b,2,c)):"linkedFolders"==d&&(c=_.ig(c.ub()),_.w(b,1,c))});return"number"===typeof _.x(b,3)?b:null},ZLc=function(a,
b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.je;_.ke(b,305);_.le(b,!0);_.w(b,3,2);var c=new _.AC;_.Q(c,1,b);var d=new _.fFc(c,[7]);a=a.then(function(e){return e.H(d)}).then(YLc);return _.Ij(a)},$Lc=function(a){var b={},c=a.getKey(),d=c&&_.x(c,2);b.key=d;b.value=a.ub();(a=c&&_.Kn(c))&&(b.namespace=_.iEc[a]);return b},aMc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.iEc[a[c]]);return b},dMc=function(a){var b=_.QF(a);b=bMc(new lP,b);var c=a.getName();b=_.w(b,2,c);c=a.getEmail();
b=_.w(b,3,c);c=new cMc;a=_.x(a,5);a=_.w(c,1,a);return _.Q(b,4,a)},fMc=function(a,b){var c=eMc(a.V,b.Gc());if(c){var d=c.getItem(),e=d.W();if(e){var f=_.nj(e,_.fk,2),h=_.pa(f,function(k){return k.getId()==b.V()});_.dGc(e,f);h||(f=_.nj(e,_.fk,3),_.pa(f,function(k){return k.getId()==b.V()}),_.eGc(e,f));_.cGc(e,(_.x(e,1)||1)-1);mP(a,[d],c.V)}}},hMc=function(a,b,c){if(b=eMc(a.V,b.Gc())){var d=b.getItem(),e=d.W();if(e){if(1==c.getType()||2==c.getType()){var f=_.nj(e,_.fk,3);f.push(c);_.Ca(f,gMc);_.eGc(e,
f)}else f=_.nj(e,_.fk,2),f.push(c),_.Ca(f,gMc),_.dGc(e,f);_.cGc(e,(_.x(e,1)||0)+1);mP(a,[d],b.V)}}},lMc=function(a){var b=a.json.exportJob,c=iMc[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=_.$d(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.$d(b.failedItemInfos||[],function(l){var n=_.iM((new _.am).lc(l.docId).setTitle(l.title),l.mediaType);n=(new _.jMc).setItem(n);
n=_.w(n,3,l.relativePath);return _.w(n,4,l.cause)});return new kMc(c,d,k,f,h,e,a,b)},mMc=function(a){a=a.jd();return a?(a=a.ie())?_.x(a,1):0:0},nMc=function(a,b){return _.y(b,5,!1)?a+",graceQuotaInfo(endDateMillis,additionalQuotaBytes)":a},pMc=function(a,b){var c=new _.SM,d=new Set;if(6==a){a=_.p(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.NEc.get(hP(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}oMc(c,_.hc(d).concat());return c},qMc=function(a,b){var c={};a=_.Te(a,function(d){return!!d});
b=_.Te(b,function(d){return!!d});_.Se(a,function(d,e){var f=b[e];f?_.tj(d,f)||(d=_.$M(4).setItem(f),c[e]=d):(d=_.$M(2).setItem(d),c[e]=d)});_.Se(b,function(d,e){a[e]||(d=_.$M(1).setItem(d),c[e]=d)});return c},rMc=function(a,b){return _.We(a)!=_.We(b)||!_.$e(qMc(a,b))},vMc=function(a,b){_.w(b,75,1<_.m.devicePixelRatio);if(sMc(b))return b=new nP(a,b,3),new oP(b,b.Ka);_.w(b,61,!1);var c=_.tM(b.Pe())?2:1;a=new pP(a,b,c,void 0,void 0,void 0);return _.tM(b.Pe())?new tMc(a):new uMc(a)},xMc=function(a){return _.cd(a).Gg(_.y(a.get(_.Ua),
19,!1)?wMc:_.MZa)},qP=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)},yMc=function(a){_.P(this,a,0,-1,null,null)},sP,CMc,DMc,EMc,rNc,sNc,tNc,uNc,vNc,wNc,xNc,yNc,zNc,ANc,BNc,CNc,DNc,ENc,FNc,GNc,HNc,INc,JNc,KNc,LNc,MNc,NNc,ONc,PNc,QNc,RNc,SNc,TNc,fLc,hP,oLc,gLc,hLc,eLc,UNc,WNc,XNc,YNc,eOc,fOc,gOc,jOc,kOc,lOc,mOc,IOc,JOc,MOc,XKc,POc,QOc,ROc,SOc,TOc,UOc,VOc,WOc,wP,xP,XOc,YOc,ZOc,$Oc,aPc,bPc,cPc,dPc,ePc,fPc,gPc,jQc,rQc,sQc,tQc,uQc,vQc,yQc,AQc,VQc,WQc,iRc,
zRc,BRc,FRc,MRc,QRc,WRc,jSc,lSc,mSc,FSc,GSc,kMc,HSc,ISc,JSc,xLc,KSc,LSc,hQ,MSc,NSc,OSc,PSc,OTc,PTc,QTc,RTc,STc,TTc,UTc,VTc,WTc,XTc,YTc,ZTc,HUc;_.L(yMc,_.O);var zMc=function(a){_.P(this,a,0,-1,null,null)};_.L(zMc,_.O);var AMc=[11],BMc=function(a){_.P(this,a,0,-1,AMc,null)};_.L(BMc,_.O);var rP=function(a){_.P(this,a,0,-1,null,null)};_.L(rP,_.O);rP.prototype.getKey=function(){return _.x(this,2)};sP=function(a){return _.B(a,4,"en")};_.tP=function(a){return _.A(a,BMc,34,1)};
CMc=function(a,b){return _.pj(a,1,b)};DMc=[1];EMc=function(a){_.P(this,a,0,-1,DMc,null)};_.L(EMc,_.O);EMc.prototype.MI=function(){return _.nj(this,_.fk,1)};EMc.prototype.z3=function(a){_.qj(this,1,a,_.fk,void 0)};var FMc=function(a){var b=new EMc;return _.pj(b,1,a)},GMc=function(a,b){return _.Q(a,1,b)},HMc=function(a,b){_.pj(a,2,b)},IMc=function(a,b){_.Q(a,6,b)},JMc=function(a){_.P(this,a,0,-1,null,null)};_.L(JMc,_.O);var KMc=function(a){_.P(this,a,0,-1,null,null)};_.L(KMc,_.O);
var uP=function(a){_.P(this,a,0,-1,null,null)};_.L(uP,_.O);var LMc=function(a){_.P(this,a,0,-1,null,null)};_.L(LMc,_.O);var MMc=function(a){_.P(this,a,0,-1,null,null)};_.L(MMc,_.O);var NMc=function(a){_.P(this,a,0,-1,null,null)};_.L(NMc,_.O);var OMc=function(a){_.P(this,a,0,-1,null,null)};_.L(OMc,_.O);var PMc=function(a){_.P(this,a,0,-1,null,null)};_.L(PMc,_.O);var QMc=function(a){_.P(this,a,0,-1,null,null)};_.L(QMc,_.O);var RMc=function(a){_.P(this,a,0,-1,null,null)};_.L(RMc,_.O);
var SMc=function(a){_.P(this,a,0,-1,null,null)};_.L(SMc,_.O);var TMc=function(a){_.P(this,a,0,-1,null,null)};_.L(TMc,_.O);var UMc=function(a){_.P(this,a,0,-1,null,null)};_.L(UMc,_.O);var VMc=function(a){_.P(this,a,0,-1,null,null)};_.L(VMc,_.O);var WMc=[[1,2,3,4]],XMc=function(a){_.P(this,a,0,-1,null,WMc)};_.L(XMc,_.O);var YMc=[[1]],ZMc=function(a){_.P(this,a,0,-1,null,YMc)};_.L(ZMc,_.O);var $Mc=[[1,2]],aNc=function(a){_.P(this,a,0,-1,null,$Mc)};_.L(aNc,_.O);
var bNc=[[1]],cNc=function(a){_.P(this,a,0,-1,null,bNc)};_.L(cNc,_.O);var dNc=[[1,2]],eNc=function(a){_.P(this,a,0,-1,null,dNc)};_.L(eNc,_.O);eNc.prototype.ig=function(a){_.oj(this,1,dNc[0],a)};var fNc=[1],gNc=function(a){_.P(this,a,0,-1,fNc,null)};_.L(gNc,_.O);var hNc=[[1]],iNc=function(a){_.P(this,a,0,-1,null,hNc)};_.L(iNc,_.O);var jNc=[2],kNc=function(a){_.P(this,a,0,-1,jNc,null)};_.L(kNc,_.O);var lNc=[[1]],mNc=function(a){_.P(this,a,0,-1,null,lNc)};_.L(mNc,_.O);
mNc.prototype.ig=function(a){_.oj(this,1,lNc[0],a)};var nNc=[[1,2]],oNc=function(a){_.P(this,a,0,-1,null,nNc)};_.L(oNc,_.O);var pNc=[[1]],qNc=function(a){_.P(this,a,0,-1,null,pNc)};_.L(qNc,_.O);rNc=function(a,b){return _.oj(a,3,_.Rl[0],b)};sNc=function(a,b){_.pj(a,1,b)};tNc=function(a,b){return _.w(a,2,b)};uNc=function(a,b){return _.Q(a,3,b)};vNc=function(a,b){return _.w(a,4,b)};wNc=function(a,b){_.pj(a,1,b)};xNc=function(a,b){return _.Q(a,2,b)};yNc=function(a,b){_.pj(a,1,b)};
zNc=function(a,b){return _.Q(a,4,b)};ANc=function(a,b){_.Q(a,5,b)};BNc=function(a,b){_.pj(a,2,b)};CNc=function(a,b){_.pj(a,4,b)};DNc=function(a,b){return _.Q(a,5,b)};ENc=function(a,b){_.pj(a,1,b)};FNc=function(a,b){return _.Q(a,2,b)};GNc=function(a,b){_.pj(a,2,b)};HNc=function(a,b){return _.pj(a,3,b)};INc=function(a,b){_.pj(a,1,b)};JNc=function(a,b){return _.w(a,2,b)};KNc=function(a,b){return _.Q(a,3,b)};LNc=function(a,b){_.pj(a,2,b)};MNc=function(a,b){return _.Q(a,3,b)};
NNc=function(a,b){_.pj(a,1,b)};ONc=function(a,b){return _.pj(a,2,b)};PNc=function(a,b){_.pj(a,1,b)};QNc=function(a,b){return _.Q(a,2,b)};RNc=function(a,b){return _.Q(a,1,b)};SNc=function(a,b){return _.w(a,2,b)};TNc=function(a,b){return _.w(a,3,b)};fLc=function(a,b){_.pj(a,8,b)};hP=function(a){return _.B(a,52,1)};oLc=function(a,b){return _.Q(a,73,b)};gLc=function(a,b){_.pj(a,107,b)};hLc=function(a,b){_.Q(a,109,b)};eLc=function(a,b){return _.pj(a,117,b)};UNc=function(a,b){return _.w(a,1,b||[])};
_.VNc=function(a,b){return _.w(a,3,b)};WNc=function(a,b){return _.w(a,5,b)};XNc=function(a){_.P(this,a,0,-1,null,null)};_.L(XNc,_.O);YNc=[2];_.ZNc=function(a){_.P(this,a,0,-1,YNc,null)};_.L(_.ZNc,_.O);_.ZNc.prototype.Tm=function(){return _.x(this,1)};_.$Nc=function(a,b){return _.w(a,2,b)};_.aOc=function(a,b){return _.w(a,3,b)};_.bOc=function(a,b){return _.w(a,1,b)};_.cOc=function(a,b){return _.w(a,2,b)};_.dOc=function(a,b){return _.Q(a,1,b)};eOc=function(a,b){return _.w(a,2,b)};
fOc=function(a,b){return _.w(a,3,b)};gOc=function(a,b){_.pj(a,4,b)};_.hOc=function(a,b){_.Q(a,8,b)};_.iOc=function(a,b){_.Q(a,9,b)};_.QO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.QO,_.O);_.QO.prototype.getTitle=function(){return _.x(this,1)};_.QO.prototype.setTitle=function(a){return _.w(this,1,a)};_.QO.prototype.ie=function(){return _.A(this,_.je,2)};jOc=function(a,b){return _.w(a,9,b||[])};kOc=function(a,b){return _.w(a,10,b||[])};lOc=function(a,b){return _.w(a,36,b)};
mOc=function(a,b){return _.pj(a,38,b)};_.nOc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.nOc,_.O);_.nOc.prototype.getId=function(){return _.x(this,1)};_.nOc.prototype.lc=function(a){return _.w(this,1,a)};
var oOc=function(a,b){return _.w(a,2,b)},pOc=function(a,b){return _.Q(a,3,b)},qOc=function(){var a=new _.QM;return _.w(a,5,!0)},oMc=function(a,b){return _.w(a,1,b||[])},rOc={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},vP=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.tj(b[a],c[a]))return!0;return!1},sOc=[1,3,5],tOc=function(a){_.P(this,a,0,-1,sOc,
null)};_.L(tOc,_.O);tOc.prototype.Ox=function(){return _.D(this,2)};var uOc=function(a,b){_.w(a,2,b)},vOc=function(a,b){_.jj(a,5,b,void 0)},wOc=function(a,b){_.w(a,6,b)},xOc=function(a,b){_.w(a,7,b)},yOc=function(a){_.P(this,a,0,-1,null,null)};_.L(yOc,_.O);yOc.prototype.Ox=function(){return _.D(this,1)};yOc.prototype.oq=function(){return _.x(this,6)};var zOc=function(a){_.P(this,a,0,-1,null,null)};_.L(zOc,_.O);var AOc=function(a){_.P(this,a,0,-1,null,null)};_.L(AOc,_.O);
var BOc=function(a){_.P(this,a,0,-1,null,null)};_.L(BOc,_.O);var COc=function(a){_.P(this,a,0,-1,null,null)};_.L(COc,_.O);var DOc=function(a){_.P(this,a,0,-1,null,null)};_.L(DOc,_.O);var EOc=function(a){_.P(this,a,0,-1,null,null)};_.L(EOc,_.O);var FOc=[1],GOc=function(a){_.P(this,a,0,-1,FOc,null)};_.L(GOc,_.O);_.HOc=function(a,b){_.Q(a,2,b)};IOc=[2];JOc=function(a){_.P(this,a,0,-1,IOc,null)};_.L(JOc,_.O);_.g=JOc.prototype;_.g.Gb=function(){return _.x(this,1)};
_.g.Dc=function(a){return _.w(this,1,a)};_.g.MI=function(){return _.nj(this,_.fk,2)};_.g.z3=function(a){_.qj(this,2,a,_.fk,void 0)};_.g.Sj=function(){return _.x(this,3)};var KOc=[2],LOc=function(a){_.P(this,a,0,-1,KOc,null)};_.L(LOc,_.O);LOc.prototype.Gb=function(){return _.x(this,1)};LOc.prototype.Dc=function(a){return _.w(this,1,a)};LOc.prototype.Sj=function(){return _.x(this,3)};MOc=function(a,b){return _.w(a,1,b||[])};_.NOc=function(a,b){_.Q(a,1,b)};
_.OOc=function(a){var b=a.V.eh();a.W&&b.push(_.hHc("...","...","...","..."));_.ta(b,a.H.eh());return b};XKc=function(a){var b=[];a=_.OOc(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")};POc=function(a,b,c){_.CO(a,b,c,"warning")};QOc=function(a){return _.Ke(a.Ap,function(b){return _.fO(b.sr.request)})};ROc=function(a){var b=[];a.Ap.forEach(function(c){(c=c.sr.config.timestamp)&&b.push(c)});return b};
SOc=function(a){return a.W.DDa()?!0:a.V.some(function(b){return QOc(b)})};TOc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.sr.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ta(b,ROc(c))});return b};UOc=function(a){return _.hc(a.V).concat()};VOc=function(a){return a.H.concat(_.hc(a.V).concat())};WOc=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 _.hc(c).concat()};
wP=function(a){var b=_.VO(a).jd();b||(b=new _.MGc,a=_.VO(a),_.Q(a,1,b));return b};xP=function(a){var b=_.A(_.VO(a),tOc,3);b||(b=new tOc,a=_.VO(a),_.Q(a,3,b));return b};XOc=function(a){var b=_.A(_.VO(a),yOc,16);b||(b=new yOc,a=_.VO(a),_.Q(a,16,b));return b};YOc=function(a){var b=_.A(_.VO(a),BOc,7);b||(b=new BOc,a=_.VO(a),_.Q(a,7,b));return b};ZOc=function(a){var b=_.A(_.VO(a),DOc,12);b||(b=new DOc,a=_.VO(a),_.Q(a,12,b));return b};
$Oc=function(a){if(a instanceof _.zO)return 2;if(a instanceof _.KF)return 10;if(a instanceof _.be)return _.DN(a)?3:_.EN(a)?7:_.FN(a)?8:1;if(a instanceof _.Gn)return 9;if(a instanceof _.RF)return 11;if(a instanceof _.LN)return 15;if(a instanceof _.WN)return 6;if(a instanceof _.HN){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 _.AC)return 4;if(a instanceof _.On)return 12;if("undefined"!=typeof _.XN&&a instanceof _.XN)return 13}return 0};
aPc=function(a){var b=null;a instanceof _.JB||"undefined"!=typeof _.XO&&a instanceof _.XO||"undefined"!=typeof _.YO&&a instanceof _.YO?b=a.Ke()||0:"undefined"!=typeof _.$O&&a instanceof _.$O||"undefined"!=typeof _.aP&&a instanceof _.aP||"undefined"!=typeof _.bP&&a instanceof _.bP||"undefined"!=typeof _.cP&&a instanceof _.cP||"undefined"!=typeof _.dP&&a instanceof _.dP?b=a.H:"undefined"!=typeof _.ZO&&a instanceof _.ZO&&(b=a.Ke());return b||0};bPc=function(a,b){return a.V&&_.CKc(a)?_.yKc(a.V,b,0):null};
cPc=function(a,b){if(a.V&&_.CKc(a)){a=_.yKc(a.V,106018,0);var c=_.A(_.VO(a),EOc,15);if(!c){c=new EOc;var d=_.VO(a);_.Q(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.V()}};dPc=function(a){a.V&&_.CKc(a)&&(a=a.V,a.isRunning()&&a.H.eT())};
ePc=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};
fPc=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++)_.Rka(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};gPc=[2,6];_.YO=function(a){_.P(this,a,0,-1,gPc,null)};_.L(_.YO,_.O);_.g=_.YO.prototype;_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.nj(this,_.am,2)};_.g.Zv=function(a){return _.pj(this,2,a)};
_.g.Of=function(a,b){return _.qj(this,2,a,_.am,b)};_.g.Sj=function(){return _.x(this,3)};_.g.pga=function(){return _.y(this,4,!0)};var hPc=function(a,b){return _.w(a,4,b)},iPc=function(a,b){return _.pj(a,6,b)};_.g=_.YO.prototype;_.g.gF=function(){return _.A(this,_.Vjb,7)};_.g.$H=function(a){return _.Q(this,7,a)};_.g.getSessionId=function(){return _.A(this,_.hm,8)};_.g.setSessionId=function(a){return _.Q(this,8,a)};_.g.IW=function(){return _.x(this,10)};_.g.KW=function(a){return _.w(this,10,a)};
_.g.Ke=function(){return _.x(this,9)};_.g.JW=function(a){return _.w(this,9,a)};var jPc=[2],kPc=function(a){_.P(this,a,0,-1,jPc,null)};_.L(kPc,_.O);kPc.prototype.Gb=function(){return _.x(this,1)};kPc.prototype.Dc=function(a){return _.w(this,1,a)};kPc.prototype.Sj=function(){return _.x(this,3)};var lPc=function(a){_.P(this,a,0,-1,null,null)};_.L(lPc,_.O);var mPc=[1,2],nPc=function(a){_.P(this,a,0,-1,mPc,null)};_.L(nPc,_.O);nPc.prototype.kw=function(){return _.nj(this,_.Jn,1)};
var oPc=[1,2,4],pPc={SUCCESS:1,fCb:2,dsb:3,Ynb:4,qCb:5,mwb:6,Zvb:7,qob:8,dBb:9,vBb:10,eCb:11,cqb:12,Hpb:13,itb:14,zrb:15,Npb:16,Mpb:17,Spb:18,Ppb:19,Qpb:20,PBb:21,oCb:22,Qwb:23,wvb:24,kob:25,PERMISSION_DENIED:26,Kub:27,uob:28,tob:29,INTERRUPTED:30,wxb:31,Lxb:32,mqb:33,qqb:34,nBb:35,Dqb:36,Arb:37,pqb:38,Yvb:39,dpb:40,nxb:41,Nxb:42,bBb:43,Oob:44,cpb:45,xrb:46,Eub:47,Xvb:48,zwb:49,oxb:50,QAb:51,Ipb:52,cBb:53,aBb:54,Vob:55,Sob:56,Nqb:57,mvb:58,txb:59,Ztb:60,gzb:61,Vzb:62,BAb:63,ytb:64,yvb:65,sCb:66,Fqb:67,
Brb:68,dCb:69,Ctb:70,sob:71,Gob:72,cAb:73,CAb:74,yAb:75,wAb:76,Rzb:190,vAb:191,dAb:192,jAb:126,fAb:128,gAb:129,hAb:130,iAb:131,kAb:132,lAb:133,pzb:127,mzb:134,nzb:135,rzb:136,szb:137,tzb:138,ozb:194,qzb:195,uzb:196,lzb:197,Uzb:189,fzb:139,hzb:140,vzb:141,wzb:142,Izb:143,Lzb:144,Mzb:145,Nzb:146,Ozb:147,Pzb:148,Qzb:149,Tzb:150,Zzb:151,aAb:152,bAb:153,eAb:154,mAb:155,oAb:156,pAb:157,qAb:158,rAb:159,sAb:160,tAb:161,xAb:162,AAb:163,DAb:164,izb:165,jzb:166,kzb:167,dzb:168,ezb:169,zzb:170,xzb:171,yzb:172,
Azb:173,Bzb:174,Czb:175,Dzb:176,Ezb:177,Fzb:178,Gzb:179,Hzb:180,Jzb:181,Kzb:182,Szb:106,$zb:183,nAb:184,uAb:185,Wzb:186,Xzb:187,Yzb:188,zAb:244,ixb:77,iCb:78,nCb:79,Zub:80,ntb:81,ptb:82,Mqb:83,wrb:84,Lub:85,HBb:86,oqb:87,Etb:88,Dtb:89,GAb:90,EAb:91,FAb:92,jCb:93,upb:94,tpb:95,qpb:96,spb:97,rpb:98,rCb:99,Nyb:100,Vpb:101,Opb:102,Tpb:103,Rpb:104,Upb:105,Crb:107,sBb:108,Gyb:109,TBb:110,Frb:111,Erb:112,dub:113,eub:114,Sxb:115,Wob:116,pub:117,Xqb:118,kCb:119,fwb:120,gwb:121,jtb:193,Lpb:122,gqb:123,mtb:124,
tvb:125,Ftb:198,Cxb:199,vtb:200,Nnb:201,Atb:202,ztb:203,vob:204,NCb:205,yub:206,mpb:207,awb:208,Mxb:209,Jyb:210,bob:211,bub:212,mub:213,fBb:214,eBb:215,xtb:216,gtb:217,wtb:218,Hqb:219,wBb:220,Iqb:221,$tb:222,pBb:223,wCb:224,Dvb:225,oBb:226,hqb:227,wub:228,Lqb:229,hpb:230,EBb:231,uvb:232,FILE_TOO_LARGE:233,Btb:234,Gqb:235,urb:236,Jxb:237,zvb:238,tnb:239,jpb:240,Pvb:241,Wyb:242,nqb:243,Lnb:245,qtb:246,Dwb:247,otb:248,Yub:249,xvb:250,yrb:251,jsb:252,cub:253,Tob:254,Drb:255},qPc=function(a){_.Gg.call(this,
a)};_.H(qPc,_.Gg);var iLc=[1004,1005,1002,1003],sLc=[1002,1003,1005],rPc=function(a){_.P(this,a,0,-1,null,null)};_.L(rPc,_.O);rPc.prototype.Gb=function(){return _.x(this,1)};rPc.prototype.Dc=function(a){return _.w(this,1,a)};rPc.prototype.V=function(){return _.A(this,_.HB,2)};var sPc=function(a){_.P(this,a,0,-1,null,null)};_.L(sPc,_.O);_.g=sPc.prototype;_.g.Iwa=function(){return _.D(this,1)};_.g.Ej=function(a){return _.w(this,1,a)};_.g.xl=function(){return _.D(this,2)};
_.g.Ku=function(){return _.D(this,3)};_.g.RTa=function(){return _.D(this,4)};var yP=[[13,19,12,11,10,15,14,9,8,18,17,16]],tPc=function(a){_.P(this,a,0,-1,null,null)};_.L(tPc,_.O);tPc.prototype.sF=function(){return _.D(this,1)};tPc.prototype.WR=function(){return null!=_.x(this,1)};tPc.prototype.V=function(){return _.D(this,2)};var uPc=function(a){_.P(this,a,0,-1,null,null)};_.L(uPc,_.O);var vPc=[1],wPc=function(a){_.P(this,a,0,-1,null,null)};_.L(wPc,_.O);
wPc.prototype.sF=function(){return _.D(this,1)};wPc.prototype.WR=function(){return null!=_.x(this,1)};wPc.prototype.V=function(){return _.D(this,2)};var xPc=function(a){_.P(this,a,0,-1,null,null)};_.L(xPc,_.O);_.g=xPc.prototype;_.g.getLabel=function(){return _.x(this,1)};_.g.Ed=function(a){return _.w(this,1,a)};_.g.ub=function(){return _.x(this,2)};_.g.kc=function(a){return _.w(this,2,a)};_.g.ql=function(){return _.w(this,2,void 0)};_.g.Lh=function(){return null!=_.x(this,2)};
_.g.getCapabilities=function(){return _.A(this,wPc,3)};_.g.an=function(a){return _.Q(this,3,a)};_.g.ITa=function(){return _.A(this,sPc,4)};var yPc=function(a){_.P(this,a,0,-1,vPc,null)};_.L(yPc,_.O);yPc.prototype.uF=function(){return _.nj(this,xPc,1)};var zPc=function(a,b){_.pj(a,1,b)},APc=function(a){_.P(this,a,0,-1,null,null)};_.L(APc,_.O);APc.prototype.V=function(){return _.x(this,1)};APc.prototype.RM=function(){return null!=_.x(this,1)};
APc.prototype.getOptions=function(){return _.A(this,yPc,2)};var BPc=function(a){_.P(this,a,0,-1,null,null)};_.L(BPc,_.O);BPc.prototype.W=function(){return _.x(this,1)};BPc.prototype.V=function(){return _.x(this,2)};var CPc=function(a){_.P(this,a,0,-1,null,null)};_.L(CPc,_.O);CPc.prototype.RM=function(){return null!=_.x(this,1)};CPc.prototype.getOptions=function(){return _.A(this,BPc,2)};var DPc=function(a){_.P(this,a,0,-1,null,null)};_.L(DPc,_.O);DPc.prototype.W=function(){return _.x(this,1)};
DPc.prototype.V=function(){return _.x(this,2)};var EPc=function(a){_.P(this,a,0,-1,null,null)};_.L(EPc,_.O);var FPc=function(a){_.P(this,a,0,-1,null,null)};_.L(FPc,_.O);FPc.prototype.RM=function(){return null!=_.x(this,1)};FPc.prototype.getOptions=function(){return _.A(this,EPc,2)};var zP=[[3,4,5,6,7,8,9,10,11,12]],GPc=function(a){_.P(this,a,0,-1,null,zP)};_.L(GPc,_.O);_.g=GPc.prototype;_.g.c1=function(a){return _.oj(this,3,zP[0],a)};_.g.tJa=function(a){return _.oj(this,4,zP[0],a)};
_.g.MIa=function(a){return _.oj(this,5,zP[0],a)};_.g.LIa=function(a){return _.oj(this,6,zP[0],a)};_.g.AIa=function(a){return _.oj(this,7,zP[0],a)};_.g.eJa=function(a){return _.oj(this,8,zP[0],a)};_.g.dJa=function(a){return _.oj(this,9,zP[0],a)};_.g.xJa=function(a){return _.oj(this,10,zP[0],a)};_.g.Raa=function(a){return _.oj(this,11,zP[0],a)};_.g.Eaa=function(a){return _.oj(this,12,zP[0],a)};var HPc=function(a){_.P(this,a,0,-1,null,null)};_.L(HPc,_.O);var IPc=function(a){_.P(this,a,0,-1,null,null)};
_.L(IPc,_.O);IPc.prototype.V=function(){return _.x(this,1)};IPc.prototype.RM=function(){return null!=_.x(this,1)};IPc.prototype.getOptions=function(){return _.A(this,HPc,2)};var JPc=function(a){_.P(this,a,0,-1,null,null)};_.L(JPc,_.O);JPc.prototype.Aya=function(){return _.x(this,1)};JPc.prototype.V=function(){return _.x(this,4)};var KPc=function(a){_.P(this,a,0,-1,null,yP)};_.L(KPc,_.O);_.g=KPc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};
_.g.LTa=function(){return _.x(this,2)};_.g.bm=function(){return _.x(this,4)};_.g.KTa=function(){return _.A(this,sPc,5)};_.g.getCapabilities=function(){return _.A(this,tPc,6)};_.g.an=function(a){return _.Q(this,6,a)};_.g.QTa=function(){return _.x(this,7)};_.g.AIa=function(a){return _.oj(this,13,yP[0],a)};_.g.JTa=function(){return _.A(this,JPc,19)};_.g.Eaa=function(a){return _.oj(this,19,yP[0],a)};_.g.LIa=function(a){return _.oj(this,12,yP[0],a)};_.g.MIa=function(a){return _.oj(this,11,yP[0],a)};
_.g.cZa=function(){return _.A(this,DPc,10)};_.g.MTa=function(){return _.A(this,APc,15)};_.g.dJa=function(a){return _.oj(this,15,yP[0],a)};_.g.NTa=function(){return _.A(this,yPc,14)};_.g.eJa=function(a){return _.oj(this,14,yP[0],a)};_.g.tJa=function(a){return _.oj(this,9,yP[0],a)};_.g.OTa=function(){return _.A(this,BPc,8)};_.g.c1=function(a){return _.oj(this,8,yP[0],a)};_.g.PTa=function(){return _.A(this,IPc,18)};_.g.Raa=function(a){return _.oj(this,18,yP[0],a)};
_.g.xJa=function(a){return _.oj(this,17,yP[0],a)};var LPc=[5,7,9],MPc=function(a){_.P(this,a,0,-1,LPc,null)};_.L(MPc,_.O);_.g=MPc.prototype;_.g.getUser=function(){return _.A(this,_.fk,1)};_.g.Yv=function(a){_.w(this,2,a)};_.g.Qpa=function(a){return _.w(this,3,a)};_.g.mqa=function(a){return _.w(this,4,a)};_.g.d1=function(a){return _.w(this,5,a||[])};_.g.sza=function(){return _.x(this,6)};_.g.eqa=function(a){return _.w(this,6,a)};_.g.tia=function(){return _.x(this,7)};
_.g.b1=function(a){return _.w(this,7,a||[])};_.g.Wpa=function(a){return _.w(this,8,a)};_.g.R0=function(a){return _.w(this,9,a||[])};var NPc=[7,10,12,16,13,3],AP=function(a){_.P(this,a,0,-1,NPc,null)};_.L(AP,_.O);var BP=function(a){return _.x(a,4)};_.g=AP.prototype;_.g.Yv=function(a){_.w(this,4,a)};_.g.Qpa=function(a){return _.w(this,5,a)};_.g.HTa=function(){return _.x(this,6)};_.g.mqa=function(a){return _.w(this,6,a)};_.g.d1=function(a){return _.w(this,7,a||[])};
_.g.GTa=function(){return _.x(this,8)};var OPc=function(a,b){return _.w(a,8,b)};_.g=AP.prototype;_.g.sza=function(){return _.x(this,9)};_.g.eqa=function(a){return _.w(this,9,a)};_.g.tia=function(){return _.x(this,10)};_.g.b1=function(a){return _.w(this,10,a||[])};_.g.FTa=function(){return _.x(this,11)};_.g.Wpa=function(a){return _.w(this,11,a)};_.g.R0=function(a){return _.w(this,12,a||[])};_.g.LZa=function(){return _.A(this,_.fk,15)};var PPc=function(a,b){return _.Q(a,15,b)};
AP.prototype.W=function(){return _.nj(this,_.fk,16)};var QPc=function(a,b){_.pj(a,16,b)};AP.prototype.ma=function(a,b){return _.qj(this,16,a,_.fk,b)};AP.prototype.V=function(){return _.x(this,17)};var RPc=function(a,b){return _.w(a,17,b)};AP.prototype.ka=function(){return null!=_.x(this,17)};var SPc=function(a,b){_.pj(a,13,b)};AP.prototype.getId=function(){return _.x(this,14)};AP.prototype.lc=function(a){return _.w(this,14,a)};AP.prototype.getName=function(){return _.x(this,1)};
var TPc=[2],CP=function(a){_.P(this,a,0,-1,TPc,null)};_.L(CP,_.O);CP.prototype.getName=function(){return _.x(this,1)};var UPc=function(a,b){return _.w(a,1,b)};CP.prototype.V=function(){return _.nj(this,AP,2)};var VPc=function(a,b){_.pj(a,2,b)};CP.prototype.Gc=function(){return _.x(this,3)};var WPc=function(a,b){return _.w(a,3,b)},XPc=[5],YPc=function(a){_.P(this,a,0,-1,null,null)};_.L(YPc,_.O);_.g=YPc.prototype;_.g.sF=function(){return _.D(this,1)};_.g.WR=function(){return null!=_.x(this,1)};
_.g.aUa=function(){return _.D(this,2)};_.g.DYa=function(){return _.D(this,3)};_.g.bUa=function(){return _.D(this,4)};var DP=function(a){_.P(this,a,0,-1,XPc,null)};_.L(DP,_.O);DP.prototype.getName=function(){return _.x(this,1)};var ZPc=function(a,b){return _.w(a,1,b)};DP.prototype.Jk=function(){return _.x(this,2)};var $Pc=function(a,b){return _.w(a,2,b)};DP.prototype.W=function(){return _.x(this,14)};var aQc=function(a,b){return _.w(a,14,b)};_.g=DP.prototype;
_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Pf=function(){return _.x(this,4)};_.g.ll=function(a){return _.w(this,4,a)};_.g.rk=function(){return _.nj(this,KPc,5)};var bQc=function(a,b){_.pj(a,5,b)},cQc=function(a,b){_.Q(a,6,b)},dQc=function(a,b){_.Q(a,7,b)},eQc=function(a,b){_.Q(a,8,b)};DP.prototype.V=function(){return _.A(this,sPc,12)};var fQc=function(a,b){_.Q(a,12,b)};DP.prototype.getCapabilities=function(){return _.A(this,YPc,13)};
DP.prototype.an=function(a){return _.Q(this,13,a)};var gQc={lCb:0,kvb:1,Rwb:2,xwb:3,Gtb:4,$nb:5,lvb:6,ywb:7,Psb:8,job:9,twb:10},EP=function(){this.H={};this.ha=6;this.V=null};EP.prototype.Gb=function(){return this.ha};EP.prototype.Dc=function(a){this.ha=a};EP.prototype.Ke=function(){return this.V};var hQc=function(a,b){a.V=b};EP.prototype.Os=function(){return this.H};var iQc=function(a,b){a.H=b};
EP.prototype.Bc=function(a){var b=[];_.Se(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})};jQc=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};_.XO=function(){EP.apply(this,arguments)};_.H(_.XO,EP);var kQc=function(){EP.apply(this,arguments)};_.H(kQc,EP);var FP=function(a){_.P(this,a,0,-1,null,null)};_.L(FP,_.O);FP.prototype.getType=function(){return _.x(this,1)};
var lQc=function(a){var b=new FP;return _.w(b,1,a)},mQc=function(a,b){return _.Q(a,2,b)};FP.prototype.Mt=function(){return _.x(this,3)};FP.prototype.ku=function(a){return _.w(this,3,a)};FP.prototype.Yh=function(){return _.x(this,4)};FP.prototype.setPosition=function(a){return _.w(this,4,a)};var nQc=[2],oQc=function(a){_.P(this,a,0,-1,nQc,null)};_.L(oQc,_.O);oQc.prototype.Gb=function(){return _.x(this,1)};oQc.prototype.Dc=function(a){return _.w(this,1,a)};
var pQc=[2],GP=function(a){_.P(this,a,0,-1,pQc,null)};_.L(GP,_.O);GP.prototype.Gb=function(){return _.x(this,1)};GP.prototype.Dc=function(a){return _.w(this,1,a)};GP.prototype.V=function(){return _.nj(this,CP,2)};var qQc=function(a,b){return _.pj(a,2,b)};GP.prototype.Sj=function(){return _.x(this,3)};var HP=function(a){_.P(this,a,0,-1,null,null)};_.L(HP,_.O);HP.prototype.Gb=function(){return _.x(this,1)};HP.prototype.Dc=function(a){return _.w(this,1,a)};
HP.prototype.jY=function(){return _.A(this,_.am,2)};rQc=function(a,b){return _.Q(a,2,b)};sQc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};tQc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,je:a.c,W5:a.fi,sW:a.dti,bQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,C5:b.ec}}):void 0}};uQc=function(a,b){return new _.zM(_.YBc.bound(a,b,void 0,void 0))};
vQc=function(){var a=new _.Cj,b=_.jCc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Bd(_.xM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.wQc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.wQc,_.O);_.wQc.prototype.Ip=function(){return _.x(this,1)};_.wQc.prototype.setSize=function(a){return _.w(this,2,a)};_.wQc.prototype.getUrl=function(){return _.x(this,3)};_.xQc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.xQc,_.O);
_.xQc.prototype.getType=function(){return _.x(this,1)};yQc=[2,3];_.zQc=function(a){_.P(this,a,0,-1,yQc,null)};_.L(_.zQc,_.O);AQc=[4,5,6,17,18,24];_.IP=function(a){_.P(this,a,0,-1,AQc,null)};_.L(_.IP,_.O);_.IP.prototype.getId=function(){return _.x(this,1)};_.IP.prototype.lc=function(a){return _.w(this,1,a)};_.IP.prototype.getName=function(){return _.x(this,2)};var BQc=function(a,b){return _.w(a,4,b||[])},CQc=function(a,b){return _.w(a,5,b||[])};_.IP.prototype.ER=function(){return _.D(this,11)};
_.IP.prototype.getType=function(){return _.x(this,23)};_.IP.prototype.xl=function(){return _.D(this,33)};var DQc=[3],JP=function(a){_.P(this,a,0,-1,DQc,null)};_.L(JP,_.O);JP.prototype.V=function(){return _.x(this,1)};var EQc=function(a,b){return _.w(a,1,b)};JP.prototype.getTitle=function(){return _.x(this,2)};JP.prototype.setTitle=function(a){return _.w(this,2,a)};JP.prototype.wd=function(){return _.nj(this,_.am,3)};var FQc=function(a,b){return _.pj(a,3,b)};
JP.prototype.Of=function(a,b){return _.qj(this,3,a,_.am,b)};JP.prototype.ka=function(){return _.x(this,4)};var GQc=function(a,b){return _.w(a,4,b)};JP.prototype.W=function(){return _.A(this,_.Ql,5)};var HQc=function(a,b){return _.Q(a,5,b)},XLc=function(a){_.P(this,a,0,-1,null,null)};_.L(XLc,_.O);_.MN=function(a){_.P(this,a,0,-1,null,null)};_.L(_.MN,_.O);_.MN.prototype.ie=function(){return _.A(this,_.je,1)};var IQc=function(){var a=new _.MN,b=_.ke(new _.je,301);return _.Q(a,1,b)};
_.MN.prototype.yc=function(){return _.x(this,3)};var JQc=[2],KP=function(a){_.P(this,a,0,-1,JQc,null)};_.L(KP,_.O);KP.prototype.Gb=function(){return _.x(this,1)};KP.prototype.Dc=function(a){return _.w(this,1,a)};KP.prototype.Oi=function(){return _.nj(this,JP,2)};var KQc=function(a,b){return _.pj(a,2,b)};KP.prototype.getSessionId=function(){return _.A(this,_.hm,3)};KP.prototype.setSessionId=function(a){return _.Q(this,3,a)};_.bO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.bO,_.O);
_.bO.prototype.yc=function(){return _.x(this,1)};_.ZO=function(a){_.P(this,a,0,-1,null,null)};_.L(_.ZO,_.O);_.g=_.ZO.prototype;_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.KL=function(){return _.dj(this,2,_.HB)};_.g.Sj=function(){return _.x(this,3)};_.g.Ke=function(){return _.x(this,5)};var LQc=function(a,b){_.w(a,5,b)},MQc=function(a){_.P(this,a,0,-1,null,null)};_.L(MQc,_.O);MQc.prototype.Pf=function(){return _.B(this,1,"")};
MQc.prototype.ll=function(a){return _.hj(this,1,a)};MQc.prototype.getUrl=function(){return _.B(this,2,"")};_.LP=function(a){_.P(this,a,0,-1,null,null)};_.L(_.LP,_.O);_.LP.prototype.getType=function(){return _.B(this,1,0)};_.LP.prototype.getContext=function(){return _.A(this,MQc,2)};_.LP.prototype.Yj=function(a){return _.Q(this,2,a)};var NQc=[1],OQc=[2],PQc=function(a){_.P(this,a,0,-1,OQc,null)};_.L(PQc,_.O);PQc.prototype.getLabel=function(){return _.B(this,1,"")};
PQc.prototype.Ed=function(a){return _.hj(this,1,a)};_.QQc=function(a){_.P(this,a,0,-1,NQc,null)};_.L(_.QQc,_.O);_.QQc.prototype.V=function(){return _.nj(this,PQc,1)};_.RQc=[[2,3,4]];_.MP=function(a){_.P(this,a,0,-1,null,null)};_.L(_.MP,_.O);_.MP.prototype.bm=function(){return _.B(this,3,"")};_.SQc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.SQc,_.O);_.TQc=function(a){_.P(this,a,0,-1,null,_.RQc)};_.L(_.TQc,_.O);var UQc=function(a){_.P(this,a,0,-1,null,null)};_.L(UQc,_.O);VQc=[3,5];
_.NP=[[8,9,10,11,12,13]];WQc=function(a){_.P(this,a,0,-1,null,null)};_.L(WQc,_.O);var XQc=function(a){_.P(this,a,0,-1,null,null)};_.L(XQc,_.O);_.YQc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.YQc,_.O);_.ZQc=function(a){_.P(this,a,0,-1,VQc,_.NP)};_.L(_.ZQc,_.O);_.ZQc.prototype.Gb=function(){return _.B(this,6,0)};_.ZQc.prototype.Dc=function(a){return _.ij(this,6,a)};var $Qc=function(a){_.P(this,a,0,-1,null,null)};_.L($Qc,_.O);var aRc=[1],bRc=function(a){_.P(this,a,0,-1,aRc,null)};_.L(bRc,_.O);
var cRc=function(a){_.P(this,a,0,-1,null,null)};_.L(cRc,_.O);var dRc=function(a){_.P(this,a,0,-1,null,null)};_.L(dRc,_.O);var eRc=[1],fRc=[2],gRc=function(a){_.P(this,a,0,-1,fRc,null)};_.L(gRc,_.O);_.hRc=function(a){_.P(this,a,0,-1,eRc,null)};_.L(_.hRc,_.O);_.hRc.prototype.V=function(){return _.nj(this,gRc,1)};iRc=[7];_.jRc=[[1,2,3]];_.kRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.kRc,_.O);_.lRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.lRc,_.O);_.mRc=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.mRc,_.O);_.nRc=function(a){_.P(this,a,0,-1,iRc,_.jRc)};_.L(_.nRc,_.O);_.oRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.oRc,_.O);_.oRc.prototype.getName=function(){return _.B(this,1,"")};var pRc=function(a){_.P(this,a,0,-1,null,null)};_.L(pRc,_.O);pRc.prototype.getName=function(){return _.B(this,1,"")};pRc.prototype.getTitle=function(){return _.B(this,2,"")};pRc.prototype.setTitle=function(a){return _.hj(this,2,a)};var qRc=function(a){_.P(this,a,0,-1,null,null)};_.L(qRc,_.O);
qRc.prototype.getName=function(){return _.B(this,1,"")};qRc.prototype.getTitle=function(){return _.B(this,2,"")};qRc.prototype.setTitle=function(a){return _.hj(this,2,a)};var rRc=[[1,4]],sRc=function(a){_.P(this,a,0,-1,null,rRc)};_.L(sRc,_.O);sRc.prototype.getUser=function(){return _.A(this,_.TQc,1)};sRc.prototype.W=function(){return null!=_.x(this,4)};sRc.prototype.jY=function(){return _.A(this,qRc,2)};var tRc=[[8,9,10]],uRc=function(a){_.P(this,a,0,-1,null,null)};_.L(uRc,_.O);
_.vRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.vRc,_.O);_.vRc.prototype.getType=function(){return _.B(this,6,0)};_.wRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.wRc,_.O);var OP=function(a){_.P(this,a,0,-1,null,tRc)};_.L(OP,_.O);_.g=OP.prototype;_.g.getName=function(){return _.B(this,1,"")};_.g.getTitle=function(){return _.B(this,2,"")};_.g.setTitle=function(a){return _.hj(this,2,a)};_.g.Vb=function(){return _.B(this,6,"")};_.g.JI=function(){return _.A(this,sRc,7)};
var xRc=[[8,9,10]],yRc=function(a){_.P(this,a,0,-1,null,xRc)};_.L(yRc,_.O);yRc.prototype.getName=function(){return _.B(this,1,"")};yRc.prototype.getTitle=function(){return _.B(this,2,"")};yRc.prototype.setTitle=function(a){return _.hj(this,2,a)};zRc=[[1,3]];_.PP=function(a){_.P(this,a,0,-1,null,zRc)};_.L(_.PP,_.O);_.PP.prototype.V=function(){return _.A(this,yRc,1)};_.PP.prototype.W=function(){return null!=_.x(this,3)};_.PP.prototype.jY=function(){return _.A(this,qRc,2)};_.ARc=[[1,2,3]];
BRc=function(a){_.P(this,a,0,-1,null,null)};_.L(BRc,_.O);var CRc=function(a){_.P(this,a,0,-1,null,null)};_.L(CRc,_.O);_.DRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.DRc,_.O);_.ERc=function(a){_.P(this,a,0,-1,null,_.ARc)};_.L(_.ERc,_.O);FRc=[2,3];_.GRc=function(a){_.P(this,a,0,-1,FRc,null)};_.L(_.GRc,_.O);_.GRc.prototype.getType=function(){return _.B(this,1,0)};_.HRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.HRc,_.O);_.HRc.prototype.getType=function(){return _.B(this,1,0)};
var IRc=function(a){_.P(this,a,0,-1,null,null)};_.L(IRc,_.O);IRc.prototype.getType=function(){return _.B(this,1,0)};var JRc=function(a){_.P(this,a,0,-1,null,null)};_.L(JRc,_.O);var KRc=function(a){_.P(this,a,0,-1,null,null)};_.L(KRc,_.O);var LRc=function(a){_.P(this,a,0,-1,null,null)};_.L(LRc,_.O);MRc=[1,2,4];_.NRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.NRc,_.O);_.ORc=function(a){_.P(this,a,0,-1,MRc,null)};_.L(_.ORc,_.O);_.QP=function(a){_.P(this,a,0,-1,null,null)};_.L(_.QP,_.O);
_.QP.prototype.getEmail=function(){return _.B(this,1,"")};_.QP.prototype.getTitle=function(){return _.B(this,2,"")};_.QP.prototype.setTitle=function(a){return _.hj(this,2,a)};_.RP=[[2,3,4,5]];_.SP=function(a){_.P(this,a,0,-1,null,_.RP)};_.L(_.SP,_.O);_.SP.prototype.yg=function(){return _.B(this,1,0)};_.SP.prototype.getUser=function(){return _.A(this,_.TQc,2)};var PRc=function(a){_.P(this,a,0,-1,null,null)};_.L(PRc,_.O);QRc=[1,2,3,4];_.RRc=function(a){_.P(this,a,0,-1,QRc,null)};_.L(_.RRc,_.O);
var SRc=function(a){_.P(this,a,0,-1,null,null)};_.L(SRc,_.O);var TRc=function(a){_.P(this,a,0,-1,null,null)};_.L(TRc,_.O);_.URc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.URc,_.O);_.VRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.VRc,_.O);_.VRc.prototype.getType=function(){return _.B(this,1,0)};WRc=[1];_.XRc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.XRc,_.O);_.XRc.prototype.getFeature=function(){return _.B(this,1,0)};_.YRc=function(a){_.P(this,a,0,-1,WRc,null)};_.L(_.YRc,_.O);
var ZRc=function(a){_.P(this,a,0,-1,null,null)};_.L(ZRc,_.O);var $Rc=function(a){_.P(this,a,0,-1,null,null)};_.L($Rc,_.O);var aSc=function(a){_.P(this,a,0,-1,null,null)};_.L(aSc,_.O);aSc.prototype.getType=function(){return _.B(this,1,0)};_.TP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.UP=function(a){_.P(this,a,0,-1,null,_.TP)};_.L(_.UP,_.O);_.bSc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.bSc,_.O);var cSc=function(a){_.P(this,a,0,-1,null,null)};_.L(cSc,_.O);
_.dSc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.dSc,_.O);_.eSc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.eSc,_.O);_.eSc.prototype.getType=function(){return _.B(this,1,0)};_.VP=[[1,2,3,4,5]];_.fSc=function(a){_.P(this,a,0,-1,null,_.VP)};_.L(_.fSc,_.O);_.fSc.prototype.getUser=function(){return _.A(this,_.TQc,1)};var gSc=function(a){_.P(this,a,0,-1,null,null)};_.L(gSc,_.O);gSc.prototype.getType=function(){return _.B(this,2,0)};_.WP=function(a){_.P(this,a,0,-1,null,null)};_.L(_.WP,_.O);
_.WP.prototype.getName=function(){return _.B(this,1,"")};_.WP.prototype.getTitle=function(){return _.B(this,2,"")};_.WP.prototype.setTitle=function(a){return _.hj(this,2,a)};_.WP.prototype.Ua=function(){return _.A(this,OP,3)};_.hSc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.hSc,_.O);_.hSc.prototype.getParent=function(){return _.A(this,OP,4)};_.hSc.prototype.Jg=function(a){return _.Q(this,4,a)};var iSc=function(a){_.P(this,a,0,-1,null,null)};_.L(iSc,_.O);
iSc.prototype.getName=function(){return _.B(this,1,"")};iSc.prototype.getTitle=function(){return _.B(this,2,"")};iSc.prototype.setTitle=function(a){return _.hj(this,2,a)};iSc.prototype.Ua=function(){return _.A(this,OP,3)};_.YP=[[1,5,3]];_.ZP=function(a){_.P(this,a,0,-1,null,_.YP)};_.L(_.ZP,_.O);_.ZP.prototype.V=function(){return _.A(this,OP,1)};_.ZP.prototype.W=function(){return null!=_.x(this,5)};_.ZP.prototype.jY=function(){return _.A(this,iSc,2)};_.$P=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.$P,_.O);_.$P.prototype.nq=function(){return _.A(this,_.vx,2)};_.$P.prototype.Bv=function(a){_.Q(this,2,a)};jSc=[[5,6]];_.kSc=function(a){_.P(this,a,0,-1,null,jSc)};_.L(_.kSc,_.O);_.kSc.prototype.Tm=function(){return _.A(this,gSc,2)};lSc=[3,4,5];mSc=[[6,7]];_.aQ=function(a){_.P(this,a,0,-1,lSc,mSc)};_.L(_.aQ,_.O);_.aQ.prototype.Mda=function(a){_.qj(this,4,a,_.kSc,void 0)};var nSc=[1],GLc=function(a){_.P(this,a,0,-1,nSc,null)};_.L(GLc,_.O);
var jP=[[1,2,3,4,5,6,7]],FLc=function(a){_.P(this,a,0,-1,null,jP)};_.L(FLc,_.O);var bQ=function(a){_.P(this,a,0,-1,null,null)};_.L(bQ,_.O);bQ.prototype.getQuery=function(){return _.A(this,_.be,1,1)};var oSc=function(a,b){return _.Q(a,1,b)};bQ.prototype.Bm=function(){return _.x(this,4)};var pSc=function(a,b){return _.Q(a,5,b)},qSc=[1,2,5,7,9,10,12],cQ=function(a){_.P(this,a,0,-1,qSc,null)};_.L(cQ,_.O);cQ.prototype.wd=function(){return _.nj(this,_.am,1)};var dQ=function(a,b){return _.pj(a,1,b)};
cQ.prototype.Of=function(a,b){return _.qj(this,1,a,_.am,b)};cQ.prototype.MI=function(){return _.nj(this,_.fk,2)};var rSc=function(a,b){_.pj(a,2,b)};cQ.prototype.z3=function(a){_.qj(this,2,a,_.fk,void 0)};cQ.prototype.Fx=function(){return _.x(this,3)};var sSc=function(a,b){return _.w(a,3,b)};cQ.prototype.sq=function(){return _.x(this,4)};var tSc=function(a,b){return _.w(a,4,b)},uSc=function(a,b){return _.pj(a,5,b)};cQ.prototype.kw=function(){return _.nj(this,_.Jn,9)};
cQ.prototype.Kh=function(){return _.x(this,12)};var vSc=function(a,b){return _.w(a,12,b||[])},wSc=function(a,b){return _.w(a,13,b)},xSc={mob:0,lob:1,oub:2,qBb:3,tBb:4},iP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],DLc=function(a){_.P(this,a,0,-1,null,iP)};_.L(DLc,_.O);var JLc=[[1,2]],ILc=function(a){_.P(this,a,0,-1,null,JLc)};_.L(ILc,_.O);var MLc=[[1,2,3]],LLc=function(a){_.P(this,a,0,-1,null,MLc)};_.L(LLc,_.O);var ySc=[1],zSc=function(a){_.P(this,a,0,-1,ySc,null)};_.L(zSc,_.O);
zSc.prototype.AF=function(){return _.B(this,2,"")};var ASc={ipb:"wb",bCb:"xb",Nvb:"yb",hNa:"zb"},BSc=function(a,b){return 0<=b?!a||a<=b:!0},CSc=function(a,b){return 1<a?2==b:a==b},DSc=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");},eQ=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=eQ.prototype;_.g.clone=function(){return new eQ(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};
_.g.hc=function(){return this.H};_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.ZG=function(a){this.V=a};_.g.Fx=function(){return this.ha};_.g.equals=function(a){return this.H==a.hc()&&this.V==a.V&&this.ha==a.Fx()&&_.tj(this.W,a.getItem())};var ESc=function(a){_.M.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.H(ESc,_.M);
var fQ=function(a,b,c){if(a.ha)throw Error("Ne");c={Rl:_.ef(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)}},gQ=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.Rl[b];if(_.$e(e.Rl))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};ESc.prototype.H=function(a){return!!this.ma[a]};ESc.prototype.start=function(){this.ha=!0};ESc.prototype.hb=function(){_.M.prototype.hb.call(this);delete this.V};_.$O=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.dFc=function(a){this.H=a};FSc=function(){};GSc=function(a){this.H=a};_.eFc=function(a){this.H=a};kMc=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.sv=f;this.ha=h;this.V=k};
_.bP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.kFc=function(a,b){this.request=a;this.pageToken=b||""};HSc=function(a){this.pageToken=a||""};ISc=function(){};_.mFc=function(a,b){this.request=a;this.pageToken=b||""};_.cP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.dP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.aP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};JSc=function(a,b){this.response=a;this.pageToken=b||""};xLc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};KSc=function(a,b){return xLc()?(new _.m.Intl.Collator([a||"en-US"],b||{})).compare:function(c,d){return c.localeCompare(d)}};LSc=function(a){return _.hc(new Set(a.map(function(b){return _.rDc.get(b)}).filter(function(b){return b}))).concat().join(",")};
hQ=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=_.hc(b).concat();b=LSc(b);var d=_.JM(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":
_.y(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";_.y(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.y(a,89,!1)&&(d+=",removeSecureLinkUpdateForAllFiles",c+=",canRemoveSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"};MSc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+hQ(a,b,!1)+")"};NSc=function(a){var b=new _.Ko;_.JO(b,"hidden",a.xl());(a=_.D(a,6))&&_.JO(b,"securityUpdateEligible",a);return b.toString()};
OSc=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}};PSc=function(a){var b=xLc(),c={};b&&(c.numeric=b);this.H=KSc(a,c)};PSc.prototype.compare=function(a,b,c){b=QSc(b);c=QSc(c);a=a.Ve();var d=OSc(a);if(a&&d){d=RSc(this,a);var e=4==a.getType()?this.H:_.za;return SSc(a,d,e,b,c)}return _.za(b.getId(),c.getId())};
PSc.prototype.sort=function(a,b,c){a=a.Ve();var d=OSc(a);a&&d&&(d=RSc(this,a),d=TSc(b,d),_.Ca(b,USc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var QSc=function(a){return a instanceof _.am?a:a.getItem()},RSc=function(a,b){b=OSc(b);return _.I(a.V,a,b,_.za)},TSc=function(a,b){var c={};a.forEach(function(d){d=QSc(d);var e=d.getId();c[e]=b(d)});return c},USc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.za;d=QSc(d);e=QSc(e);return SSc(b,function(h){return c[h.getId()]},f,d,e)}},SSc=function(a,b,c,d,e){var f=1==a.oj()?1:-1;if(_.D(a,3)){a=_.jN(d,!0);var h=_.jN(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()))};PSc.prototype.V=function(a,b,c){for(var d=VSc(a[0],c),e=1;e<a.length;e++){var f=VSc(a[e],c);d=1==b(f,d)?f:d}return d};
var VSc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Vb()||"";case 4:return b.$v()||!1;case 12:return b.vx()||0;case 11:return b.kz()||0;case 10:return b.kq()||0;case 2:return _.Wf(b.getTitle()||"").toLowerCase();case 25:return b.Ot()||0;case 57:return _.x(b,62)||0;case 32:return b.az()||0;case 9:return b.FA()||0;case 67:return b.RI()||0;case 98:return b.ma()||0;default:return""}},WSc=function(a,b,c){c=void 0===c?!1:c;this.V=a;this.V.sort();this.H=b;this.W="";this.ha=c},iQ=
function(a,b,c){b=_.uj(b);"root"==b.getId()&&b.lc(a.W);_.kO(b).filter(function(d){return"root"==d.ub()}).forEach(function(d){return d.kc(a.W)});_.ie(b,_.jO(b).map(function(d){d.kc(d.ub().toLowerCase());return d}));c&&_.mk(b,a.V);b.Kh().sort();return b},jQ=function(a,b,c){if(b instanceof _.be){b=iQ(a,b);var d=_.MHc(b)}else if(b instanceof _.Gn)d=b.Il().sort().join(","),_.y(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.zO)return d=NSc(b),d+"|tdList";if(b instanceof _.KF)return d=b.Il().sort().join(","),
b.Kh().length&&(d+="|"+LSc(b.Kh())),d+"|tdMap";throw Error("Te");}return 3==c?d:d+"|"+XSc(a,b.Kh(),2==c)},XSc=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()):_.hc(e).concat().filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.hN({fields:_.hc(f).concat(),Pv:a.H}));e.size&&(d=d+" + "+_.hN({fields:_.hc(e).concat(),Pv:a.H}));return d};
WSc.prototype.equals=function(a,b,c){var d;c&&(d=3);return jQ(this,a,d)==jQ(this,b,d)};
var YSc=function(a){if(!a.Il().every(function(b){return!_.wc(b)}))throw new _.nb("Invalid ids for FindByIdsRequest");},$Sc=function(a,b,c){if(_.EN(b))throw new _.nb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");ZSc(a,b,c)},ZSc=function(a,b,c){var d=_.dN(3);if(b.getId())throw new _.nb("Use findByIds() for find by id queries.",d);if(!b.ih()||0>=b.ih())throw new _.nb("A positive limit is required on an ItemQueryRequest.",d);_.x(b,33);a.ha&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),aTc(a,d,b.Kh()));if(c=(c=b.Ve())&&OSc(c))d=b.Kh().length?b.Kh():a.V,aTc(a,d,c);if(_.DN(b)){if(a.H)throw new _.nb("User must be authenticated for a Quick Access request.");if(20<b.ih())throw new _.nb("Limit must be in the range [1, 20].");c=2==_.lO(b);d=_.x(b,33).length;if(c&&1!=d||d&&!c)throw new _.nb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.ie(_.w(_.w(_.bN(_.w(_.nk(_.mk(b.clone(),[]),void 0),32,void 0),[]),45,void 0),
47,void 0),[]);d=new _.be;if(!_.tj(c,d))throw new _.nb("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: "+fPc(d,c));}if(_.FN(b)){if(a.H)throw new _.nb("User must be authenticated for a DrivePriority request.");if(2==_.lO(b))throw new _.nb("Team Drive corpora is not valid for a Drive Priority request.");a=_.w(_.w(_.w(_.nk(_.mk(b.clone(),[]),void 0),32,void 0),45,void 0),52,void 0);
b=new _.be;if(!_.tj(a,b))throw new _.nb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+fPc(b,a));}},bTc=function(a,b,c){if(!_.EN(b))throw new _.nb("Expected a PeoplePredict request.");ZSc(a,b,c);if(a.H)throw new _.nb("User must be authenticated for a People Predict request.");if(2==_.lO(b))throw new _.nb("Team Drive corpora is not valid for a People Predict request.");a=_.w(_.w(_.w(_.nk(_.mk(b.clone(),
[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.be;if(!_.tj(a,b))throw new _.nb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+fPc(b,a));},aTc=function(a,b,c){var d=_.dN(3);if(!qLc(c,b)){var e=_.hN({fields:c,Pv:a.H}),f=_.hN({fields:b,Pv:a.H});a=_.hN({fields:nLc(c,b),Pv:a.H});throw new _.nb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d);
}},cTc=function(a){var b=new Set;_.jO(a).forEach(function(c){switch(_.LZa(c.ub())){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 _.hc(b).concat()},dTc=function(a){switch(_.nO(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"}},eTc=function(){this.Ap=[]};_.H(eTc,_.LO);
eTc.prototype.add=function(a,b){var c=a.sr.request;return c instanceof _.$N&&_.x(c.request,12)?_.LO.prototype.add.call(this,a,b):!1};eTc.prototype.H=function(a){return this.Ap.splice(0,Math.min(a,1))};var fTc=function(a,b){this.Ap=[];this.V=b};_.H(fTc,_.LO);fTc.prototype.add=function(a,b){return a.sr.request instanceof _.$N?!1:_.LO.prototype.add.call(this,a,b)};
fTc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Ap.length&&b.length<a;f++){var h=this.Ap[f],k=h.sr.request;"undefined"!=typeof _.rN&&k instanceof _.rN||"undefined"!=typeof _.BN&&k instanceof _.BN||"undefined"!=typeof _.RN&&k instanceof _.RN?k="app|"+k.V():k instanceof _.mN||k instanceof _.nN||k instanceof _.tN||k instanceof _.KM?k="item|"+(k instanceof _.mN?k.Gc():k.getId()):"undefined"!=typeof _.uN&&k instanceof _.uN||"undefined"!=typeof _.CN&&k instanceof _.CN?k="item|"+k.Gc():
k instanceof _.vN||k instanceof _.TN?k="item|"+k.Gc():"undefined"!=typeof _.gD&&k instanceof _.gD||"undefined"!=typeof _.fD&&k instanceof _.fD?(k="undefined"!=typeof _.gD&&k instanceof _.gD?k.V().getKey():k.getKey(),k="pref|"+_.x(k,2)+"|"+_.Kn(k)):k=k instanceof _.wN?"td|"+k.getId():null;var l=h.sr.request;if(l instanceof _.pN)l=!!_.D(l,8);else if(l instanceof _.nN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Vb()&&_.Hbb.has(l.Vb()));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++)_.la(this.Ap,c[a]);return b};var gTc=function(a,b){_.M.call(this);this.Cf=a;this.H=b};_.L(gTc,_.M);_.g=gTc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Cf.V.registerService(this.H+":"+a,(0,_.I)(this.Bwa,this,b),c)};_.g.RT=function(a){this.V=(0,_.I)(this.Bwa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Xe");this.Cf.V.send(this.H+":"+a,b)};
_.g.Bwa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.g.hb=function(){this.Cf=this.Cf.H[this.H]=null};var hTc=function(a){_.M.call(this);this.V=a;this.H={};this.V.RT((0,_.I)(this.W,this))};_.L(hTc,_.M);var iTc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ve`"+b);if(b in a.H)throw Error("We`"+b);var c=new gTc(a,b);return a.H[b]=c};hTc.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)}};
hTc.prototype.hb=function(){_.Se(this.H,function(a){_.Zb(a)});_.Zb(this.V);delete this.H;delete this.V};var jTc=function(a){_.M.call(this);this.H=a};_.L(jTc,_.M);_.g=jTc.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.nb(function(d){d.registerService(a,b,c)})};_.g.RT=function(a){this.H.nb(function(b){b.RT(a)})};_.g.send=function(a,b){this.H.nb(function(c){c.send(a,b)})};
_.g.hb=function(){this.cancel();jTc.rb.hb.call(this)};var zLc=function(a){_.xz.call(this);this.H=a;this.V=_.fd(this.H,"message",this.ISa,!1,this)};_.L(zLc,_.xz);_.g=zLc.prototype;_.g.ae=null;_.g.send=function(a,b){var c=[];b=this.Yga(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.vDc&&(a=(0,_.Qh)(a));this.H.postMessage(a,c)};
_.g.ISa=function(a){a=a.Jf;var b=a.data;if(_.vDc)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.Sja(a.ports||[],c),b.lna),null!=c&&b.callback(c)}};
_.g.Yga=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)?_.$d(b,(0,_.I)(this.Yga,this,a)):b&&b.constructor==Object?_.Ue(b,function(c,d){c=this.Yga(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Sja=function(a,b){return Array.isArray(b)?_.$d(b,(0,_.I)(this.Sja,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Ue(b,function(c,d){return this.Sja(a,"_port"==d?c.val:c)},this):b};_.g.hb=function(){_.Ng(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;zLc.rb.hb.call(this)};
var kTc=function(a,b){if("*"==b)return new jTc(_.Jj(Error("Ye")));var c=new _.Mh(50),d=_.Be(_.Zb,c),e=new _.Cj(d);_.Ej(e,d);c.start();_.fd(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new zLc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new jTc(e)},lTc=function(a){_.M.call(this);this.H=new hTc(a);this.W={};this.V=iTc(this.H,
"private");this.ha=iTc(this.H,"public");this.V.registerService("mics",(0,_.I)(this.lQa,this),!0)};_.L(lTc,_.M);_.g=lTc.prototype;_.g.xbb=0;_.g.hb=function(){_.Zb(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.xbb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.lQa=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,_.I)(this.kQa,this,b),!0)};
_.g.kQa=function(a,b){a=a(b.data);var c=b.signature;_.Fh(a).then((0,_.I)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var mTc=function(a,b){_.M.call(this);this.W=new hTc(a);this.Qa(this.W);this.H=new lTc(iTc(this.W,"direct"));this.Qa(this.H);a=iTc(this.W,"passthrough");this.ha=b?a:new lTc(a);this.Qa(this.ha);this.V=b;this.ka=!1};_.H(mTc,_.M);mTc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
mTc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.ze)};var kQ=function(a,b,c){if(a.V)throw Error("Ze");a.ha.registerService(b,c,!0)},lQ=function(a,b,c,d){if(a.V)throw Error("$e");a.ha.send(b,c||{},d||_.ze)};mTc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("af");};
var BLc=[],nTc=function(a,b,c,d,e,f,h,k,l){a=a.hf();h=new _.nIc(k,h,d,_.B(a,32,1073741824),_.B(a,21,1E3));h=new _.oIc(h);k=new _.qHc(_.B(a,59,2E3),_.B(a,60,2E4),_.B(a,61,6));var n={};n[1]=_.qIc(b,d);n[2]=_.rIc(b,a,e,c,k,d,l);n[3]=_.sIc(b,a,e,c,k,d,l,"batch");var q=_.B(a,10,50);if(l){var t=new _.THc(l.getState());var v=new _.OHc(l)}else t=new _.pHc(e,c),v=new _.nHc(c);f=new _.NO(d,b,[t,new _.tHc(q,_.B(a,11,100)),new _.MO(q),new _.FO(k,d)],[new fTc(a,f),new eTc,new _.LO],[v,new _.YHc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.tIc(h,a,d),n[6]=_.sIc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.sIc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.sIc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},mQ=function(a){return a instanceof _.am?null!=a.getId()&&a.getId()==a.yc():null!=a.Gc()&&a.Gc()==a.yc()},oTc=function(a,b,c){c=void 0===c?[]:c;var d=_.uj(a),e=b.Uj();null!=e&&oLc(a,_.uj(e));if((e=b.getCapabilities())&&null!=_.D(e,13)){var f=a.getCapabilities()||new _.Ul,h=_.D(e,13);_.w(f,13,h);a.an(f)}e&&null!=_.D(e,
18)&&(f=a.getCapabilities()||new _.Ul,e=_.D(e,18),_.w(f,18,e),a.an(f));gP(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.Uj()&&gP(a,d,c)},pTc=function(a,b,c){c=void 0===c?[]:c;if(!b||!mQ(a)&&!mQ(b))return a;if(2==hP(a)){c=_.x(a,82);var d=_.uj(b);oTc(d,a);_.mGc(d,hP(b));_.w(d,82,c);return d}a=_.uj(a);oTc(a,b,c);return a},qTc=function(a){return(a=a?a.Uj():null)&&a.xl()||!1},rTc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},sTc=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]={}})},uTc=function(a,b,c){b.every(function(d){return mQ(d)})?tTc(b,c,a.V,a.ha):b.every(function(d){return!mQ(d)})&&tTc(b,c,a.H,a.W)},tTc=function(a,b,c,d){var e=_.SEc(b,_.hc(d).concat());0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&gP(f,k,[h])})})};rTc.prototype.update=function(a,b,c){b&&mQ(b)?vTc(a,b,this.V,this.ha,c):vTc(a,b,this.H,this.W,c)};var wTc=function(a,b){_.Se(a.H,function(c,d){_.af(a.H[d],b)});_.Se(a.V,function(c,d){_.af(a.V[d],b)})},vTc=function(a,b,c,d,e){_.Se(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.af(f,a);else if(b&&lLc(b,[h])){var k=new _.am;k.lc(b.getId());gP(k,b,[h]);f[a]=k}});b&&fP(b,_.hc(d).concat())};
rTc.prototype.clear=function(){var a=this;_.Se(this.H,function(b,c){a.H[c]={}});_.Se(this.V,function(b,c){a.V[c]={}})};
var xTc=/^[\x00-\x7F]*$/,yTc=function(){this.H=""},ATc=function(a){return zTc(a)&&0==_.x(a,40).length&&void 0==_.x(a,41)},zTc=function(a){var b=!0;_.nj(a,_.ee,13).forEach(function(d){"me"!=d.ub()&&(b=!1)});var c=a.Ve();c=!c||5!=c.getType();return 0==_.nj(a,_.jk,5).length&&0==_.nj(a,_.ee,14).length&&0==_.nj(a,_.ee,15).length&&null==_.x(a,58)&&!_.D(a,18)&&!_.D(a,34)&&0==_.nj(a,_.hO,35).length&&0==_.nj(a,_.hO,38).length&&c&&b&&0==_.x(a,39).length&&!_.x(a,42)&&0==_.nj(a,_.dk,44).length&&!_.DN(a)&&!_.EN(a)&&
!_.FN(a)&&0==_.nj(a,_.ek,57).length&&BTc(a)&&!a.Ex()},BTc=function(a){return _.nj(a,_.kk,4).every(function(b){return xTc.test(b.ub())})};yTc.prototype.eX=function(a,b){var c=this;return b.filter(function(d){return nQ(c,a,d)})};
var nQ=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!mQ(c);if(d){d=!0;var e=_.nj(b,_.kk,4);if(BTc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.ub()){var k=_.y(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.ub().toLowerCase();if(2==_.x(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,_.Ne)(q).length&&(q=!!l.match(new RegExp("(\\b|^|_)"+_.ag(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.jO(b);e=d=0;k=f=!1;l=_.p(l);for(h=l.next();!h.done;h=l.next())n=
h.value,n.ub()&&(h=_.y(n,2,!1),q=c.Vb(),n=n.ub()==q,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.nj(b,_.hk,7),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.kq(),d=d&&CTc(k,f);if(d)for(d=!0,e=_.nj(b,_.hk,8),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.vx(),d=d&&CTc(k,f);d&&(d=b.jh(),e=(e=_.lO(b))&&(2==e||3==e),d=null==d||d==!!c.jh()&&(!d||1==c.Yl()||e));d&&(d=null==_.D(b,10)||_.D(b,10)==!!c.$v());d&&(d=null==b.xl()||b.xl()==!!c.xl());if(d)a:{d=_.kO(b);d=_.p(d);
for(e=d.next();!e.done;e=d.next())if(e=e.value,e.ub()&&(f="root"==e.ub()&&a.H||e.ub(),f=c.Qh().includes(f),_.y(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.nj(b,_.ee,13);a=_.p(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.ub()&&(e=1==c.Yl(),_.y(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.D(b,16)||(_.D(b,16)?null!=c.Ot():!0));a&&(a=_.D(b,17),d=(d=_.lO(b))&&(2==d||3==d),a=null==a||a==!!c.wA()&&(!a||1==c.Yl()||d));a&&(a=OLc(c),a=null==_.D(b,19)||_.D(b,19)==!!a.gp());a&&(a=!0);if(a=a&&
DTc(b,c)&&ETc(b,c))a=_.x(b,33),a=!a.length||a.includes(c.yc()||"");if(a=a&&FTc(b,c))_.x(b,41)?(a=_.A(c,_.vO,86),a=null!=a&&_.x(b,41)==_.x(a,3)):a=!0;if(a=a&&GTc(b,c))a=_.lO(b),1==a?(a=_.D(c,31),a=!!_.kO(b).length||!!_.nj(b,_.hO,35).length||1==_.D(b,18)||_.DN(b)||_.EN(b)||_.FN(b)||!!_.x(b,54)||null==a||a):a=2==a?!!c.yc():!0;a&&(a=_.DN(b)?!!_.fm(c)&&!c.jh():!0);a&&(a=_.EN(b)?!!_.gm(c).length&&!c.jh():!0);a&&(a=_.FN(b)?!!c.uI().length&&!c.jh():!0);a&&(a=null!=_.x(b,50)?_.y(b,50,!1)?null!=_.x(c,101)&&
0!==_.x(c,101):null==_.x(c,101):!0);a&&(b=_.x(b,54),a=!b||_.x(c,120).includes(b));return a},CTc=function(a,b){if(null!=_.x(b,2))switch(_.x(b,1)){case 1:return a<=_.x(b,2);case 2:return a<_.x(b,2);case 3:return a==_.x(b,2);case 4:return a>_.x(b,2);case 5:return a>=_.x(b,2);default:return!1}return!0},DTc=function(a,b){var c=_.ef(_.x(b,56));a=_.nj(a,_.iO,25);return 0==a.length?!0:a.every(function(d){return c[d.ub()]})},ETc=function(a,b){if(0==a.Pt().length)return!0;var c=_.ef(b.Pt().map(function(d){return _.x(d,
1)}));a=_.ef(a.Pt().map(function(d){return _.x(d,1)}));return _.Ve(a,function(d,e){return c[e]})},FTc=function(a,b){var c=_.ef(_.x(b,50));a=_.nj(a,_.ik,37);return 0==a.length?!0:a.every(function(d){return c[d.ub()]})},GTc=function(a,b){if(_.x(a,40).length){if(b=_.A(b,_.vO,86)){var c=_.ef(_.x(b,2));return _.x(a,40).some(function(d){return c[d]})}return!1}return!0},HTc=function(a,b,c){var d=this;this.W=b;this.ha=c;this.H={};this.V="";a.nb(function(e){d.V=e})};
HTc.prototype.query=function(a,b){var c=this,d=[];ATc(a)&&(_.Se(this.H,function(e){nQ(c.W,a,e.getItem())&&(void 0===b||CSc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};HTc.prototype.get=function(a){return this.H[a]};HTc.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};HTc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,ITc(this,a.H)?(_.af(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.af(this.H,a.id),a.V.H--)};
var ITc=function(a,b){return 1<b.hc()||CSc(b.V,2)||b.getItem().wA()||QLc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},JTc=function(a){_.Se(a.H,function(b){ITc(a,b)&&(_.af(a.H,b.getId()),b.H--)})},KTc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},eMc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),uTc(a.ka,[b.getItem()],VOc(a.ha)),b):null};KTc.prototype.H=function(a){return(a=eMc(this,a))?a.getItem():null};
var LTc=function(a,b){var c={};b.forEach(function(d){var e=eMc(a,d);e&&(c[d]=e)});return c},MTc=function(a,b){return _.Ue(LTc(a,b),function(c){return c.getItem()})},NTc=function(a,b){b=iQ(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};KTc.prototype.query=function(a){return NTc(this,a).map(function(b){return b.getItem()})};KTc.prototype.W=function(){return _.We(this.V.H)};
OTc=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(_.bm(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.QF(e));(d=c.Bo())&&b.add(d.getId()||_.QF(d));(d=c.xA())&&b.add(d.getId()||_.QF(d));(d=_.A(c,_.fk,91))&&b.add(d.getId()||_.QF(d));(c=c.ka())&&b.add(c.getId()||_.QF(c))}return b.size};
PTc=function(a){return _.A(a,_.rM,3)||_.A(a,_.aO,4)||_.A(a,_.QO,5)||_.A(a,_.UN,6)||_.A(a,_.wN,7)||_.A(a,_.pN,8)||_.A(a,_.tN,9)||_.A(a,_.KM,10)};QTc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};RTc=function(a){var b={};return b.parentId=a.Tj(),b};STc=function(a){var b={};_.wc(_.dg(a.getTitle()))||(b.title=a.getTitle());_.LJc(b,_.x(a,3));return b};
TTc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.x(a,3)&&(b.workspaceToken=_.x(a,3));return b};UTc=function(a){var b={};b.sourceIds=a.request.W();b.destinationFolderId=a.request.V();a.pageToken&&(b.continuationToken=a.pageToken);return b};
VTc=function(a){var b={},c={};_.wc(_.dg(a.getTitle()))||(b.title=a.getTitle());null!=a.Pf()&&(b.description=a.Pf());null!=_.D(a,4)&&(c.starred=_.D(a,4));null!=a.jh()&&(c.trashed=a.jh());_.wc(_.dg(a.Vb()))||(b.mimeType=a.Vb());"number"===typeof _.x(a,7)&&(b.modifiedDate=_.sGc(_.yHc(_.x(a,7)||0)));null!=_.D(a,11)&&(c.restricted=_.D(a,11));_.We(c)&&(b.labels=c);null!=a.Sh()&&(b.folderColor=a.Sh());null!=_.D(a,16)&&(b.subscribed=_.D(a,16));if(c=_.A(a,_.Yl,25)){b.contentRestrictions=[];var d={};null!=
_.D(c,1)&&(d.readOnly=_.D(c,1));null!=_.x(c,2)&&(d.reason=_.x(c,2));b.contentRestrictions.push(d)}_.LJc(b,_.x(a,8));return b};WTc=function(a){var b={};null!=a.Tr()&&(b.pinned=a.Tr());return b};
XTc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.x(a,3))b.backgroundImageId=_.x(a,3);else{var c=_.x(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.bg)("0",6-c.length)+c);c=_.A(a,_.nOc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.x(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.x(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.x(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
YTc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.LDc[a.getState()])&&(b.state=a);return b};ZTc={snb:0,Rnb:1,ttb:3,xCb:5,mNa:6};_.oQ=function(a){_.P(this,a,0,-1,null,null)};_.L(_.oQ,_.O);_.g=_.oQ.prototype;_.g.getType=function(){return _.x(this,1)};_.g.getId=function(){return _.x(this,2)};_.g.lc=function(a){return _.w(this,2,a)};_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Hwa=function(){return _.x(this,5)};
_.g.setSize=function(a){return _.w(this,5,a)};_.g.ETa=function(){return _.x(this,6)};_.$Tc=function(a,b){return _.w(a,6,b)};_.oQ.prototype.Pf=function(){return _.x(this,8)};_.oQ.prototype.ll=function(a){return _.w(this,8,a)};_.oQ.prototype.V=function(){return _.D(this,9)};_.aUc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.aUc,_.O);_.aUc.prototype.V=function(){return _.x(this,1)};var bUc=function(a){_.P(this,a,0,-1,null,null)};_.L(bUc,_.O);bUc.prototype.V=function(){return _.D(this,1)};
bUc.prototype.W=function(){return _.x(this,2)};_.pQ=function(a){_.P(this,a,0,-1,null,null)};_.L(_.pQ,_.O);_.g=_.pQ.prototype;_.g.getId=function(){return _.x(this,1)};_.g.lc=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.mga=function(){return _.x(this,3)};_.g.Ks=function(){return _.x(this,4)};_.g.qY=function(){return _.A(this,bUc,6)};_.g.wYa=function(){return _.A(this,_.aUc,7)};_.g.Iya=function(){return _.x(this,8)};
_.g.lga=function(){return _.D(this,9)};var qQ=function(a,b){_.Gg.call(this,"Ib");this.error=a;this.GD=b};_.H(qQ,_.Gg);var cUc=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)};_.L(cUc,_.yBc);cUc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
cUc.prototype.update=function(a,b){this.V.update(a,b)};cUc.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 dUc=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()};_.L(dUc,_.yBc);
dUc.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 eUc=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};
dUc.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;)eUc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){eUc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){eUc(this,e);f=0;break}}this.W=f;this.ha+=b}};
dUc.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;eUc(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 rQ=function(a){_.P(this,a,0,-1,null,null)};_.L(rQ,_.O);rQ.prototype.getId=function(){return _.x(this,1)};rQ.prototype.lc=function(a){return _.w(this,1,a)};rQ.prototype.IC=function(){return _.x(this,3)};
rQ.prototype.ve=function(){return _.x(this,4)};var fUc=[2,4],sQ=function(a){_.P(this,a,0,-1,fUc,null)};_.L(sQ,_.O);sQ.prototype.Gb=function(){return _.x(this,1)};sQ.prototype.Dc=function(a){return _.w(this,1,a)};sQ.prototype.Sj=function(){return _.x(this,3)};var gUc=function(a){_.P(this,a,0,-1,null,null)};_.L(gUc,_.O);var hUc=function(a){_.P(this,a,0,-1,null,null)};_.L(hUc,_.O);hUc.prototype.Gb=function(){return _.x(this,1)};hUc.prototype.Dc=function(a){return _.w(this,1,a)};
var iUc=[4,9],jUc=function(a){_.P(this,a,0,-1,iUc,null)};_.L(jUc,_.O);_.g=jUc.prototype;_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.aza=function(){return _.x(this,2)};_.g.Kwa=function(){return _.x(this,3)};_.g.WYa=function(){return _.nj(this,_.QM,4)};var kUc=function(a){_.P(this,a,0,-1,null,null)};_.L(kUc,_.O);kUc.prototype.Zq=function(){return _.A(this,JOc,1)};kUc.prototype.Bm=function(){return _.x(this,2)};var tQ=function(a){_.P(this,a,0,-1,null,null)};
_.L(tQ,_.O);tQ.prototype.Gb=function(){return _.x(this,1)};tQ.prototype.Dc=function(a){return _.w(this,1,a)};tQ.prototype.Sj=function(){return _.x(this,3)};var uQ=function(a){_.P(this,a,0,-1,null,null)};_.L(uQ,_.O);uQ.prototype.Gb=function(){return _.x(this,1)};uQ.prototype.Dc=function(a){return _.w(this,1,a)};uQ.prototype.cY=function(){return _.A(this,_.fk,2)};uQ.prototype.Sj=function(){return _.x(this,3)};var lUc=function(a){_.P(this,a,0,-1,null,null)};_.L(lUc,_.O);_.g=lUc.prototype;
_.g.Gb=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Sj=function(){return _.x(this,2)};_.g.Lwa=function(){return _.A(this,_.Jn,3)};_.g.getKey=function(){return _.A(this,_.Oa,4)};var mUc={mCb:0,rwb:1,wwb:2,OTHER:3,swb:4},cMc=function(a){_.P(this,a,0,-1,null,null)};_.L(cMc,_.O);cMc.prototype.getUrl=function(){return _.x(this,1)};var lP=function(a){_.P(this,a,0,-1,null,null)};_.L(lP,_.O);var bMc=function(a,b){return _.w(a,1,b)};
lP.prototype.getName=function(){return _.x(this,2)};lP.prototype.getEmail=function(){return _.x(this,3)};lP.prototype.SA=function(){return null!=_.x(this,3)};var nUc=[1],oUc=function(a){_.P(this,a,0,-1,nUc,null)};_.L(oUc,_.O);oUc.prototype.Fo=function(){return _.nj(this,lP,1)};var pUc=function(a,b){return _.pj(a,1,b)},qUc=[2],vQ=function(a){_.P(this,a,0,-1,qUc,null)};_.L(vQ,_.O);vQ.prototype.Gb=function(){return _.x(this,1)};vQ.prototype.Dc=function(a){return _.w(this,1,a)};
vQ.prototype.Oi=function(){return _.nj(this,_.HB,2)};var rUc=function(a,b){return _.pj(a,2,b)};vQ.prototype.Sj=function(){return _.x(this,3)};var sUc=[[2,4,6,10],[3,5,7,8,9]],tUc=[1],uUc=function(a){_.P(this,a,0,-1,null,sUc)};_.L(uUc,_.O);var vUc=function(a){_.P(this,a,0,-1,tUc,null)};_.L(vUc,_.O);uUc.prototype.getKey=function(){return _.x(this,1)};var wUc=[2],wQ=function(a){_.P(this,a,0,-1,wUc,null)};_.L(wQ,_.O);wQ.prototype.Gb=function(){return _.x(this,1)};
wQ.prototype.Dc=function(a){return _.w(this,1,a)};wQ.prototype.V=function(){return _.nj(this,DP,2)};var xUc=function(a,b){return _.pj(a,2,b)};wQ.prototype.Sj=function(){return _.x(this,3)};var xQ=function(a){_.P(this,a,0,-1,null,null)};_.L(xQ,_.O);xQ.prototype.Gb=function(){return _.x(this,1)};xQ.prototype.Dc=function(a){return _.w(this,1,a)};xQ.prototype.V=function(){return _.A(this,DP,2)};xQ.prototype.Sj=function(){return _.x(this,3)};var yUc=function(a){_.P(this,a,0,-1,null,null)};_.L(yUc,_.O);
yUc.prototype.AF=function(){return _.x(this,2)};_.zUc=function(a){_.P(this,a,0,-1,null,null)};_.L(_.zUc,_.O);_.g=_.zUc.prototype;_.g.Gc=function(){return _.x(this,1)};_.g.Gb=function(){return _.x(this,2)};_.g.Dc=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.A(this,_.mb,3)};_.g.Qe=function(a){return _.Q(this,3,a)};_.g.ao=function(){return null!=_.x(this,3)};var AUc=[1],BUc=function(a){_.P(this,a,0,-1,AUc,null)};_.L(BUc,_.O);_.yQ=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.yQ,_.O);_.yQ.prototype.Gb=function(){return _.x(this,1)};_.yQ.prototype.Dc=function(a){return _.w(this,1,a)};_.zQ=function(a){return _.A(a,_.cC,2)};_.CUc=function(a,b){return _.Q(a,2,b)};_.yQ.prototype.Sj=function(){return _.x(this,3)};var DUc=function(a){_.P(this,a,0,-1,null,null)};_.L(DUc,_.O);var EUc=function(a,b){return _.w(a,1,b)},FUc=[1],GUc=function(a){_.P(this,a,0,-1,FUc,null)};_.L(GUc,_.O);HUc=function(a,b){return _.w(a,1,b||[])};_.jMc=function(a){_.P(this,a,0,-1,null,null)};
_.L(_.jMc,_.O);_.g=_.jMc.prototype;_.g.getItem=function(){return _.A(this,_.am,1)};_.g.setItem=function(a){return _.Q(this,1,a)};_.g.getError=function(){return _.A(this,_.mb,2)};_.g.Qe=function(a){return _.Q(this,2,a)};_.g.ao=function(){return null!=_.x(this,2)};_.g.Or=function(){return _.x(this,4)};var IUc=[1],JUc=function(a){_.P(this,a,0,-1,IUc,null)};_.L(JUc,_.O);var KUc=[2],AQ=function(a){_.P(this,a,0,-1,KUc,null)};_.L(AQ,_.O);AQ.prototype.Gb=function(){return _.x(this,1)};
AQ.prototype.Dc=function(a){return _.w(this,1,a)};AQ.prototype.Sj=function(){return _.x(this,3)};var LUc=function(a){_.P(this,a,0,-1,null,null)};_.L(LUc,_.O);var MUc=[1],NUc=function(a){_.P(this,a,0,-1,MUc,null)};_.L(NUc,_.O);NUc.prototype.V=function(){return _.x(this,2)};var OUc=function(a,b){_.w(a,2,b)},PUc=function(a,b){this.V=a|0;this.H=b|0};PUc.prototype.equals=function(a){return this===a?!0:a instanceof PUc?this.V===a.V&&this.H===a.H:!1};
PUc.prototype.zc=function(){return 31*this.V+17*this.H|0};
var QUc=function(a,b){return new PUc(a,b)},RUc=function(a,b){b=~b;a?a=~a+1:b+=1;return QUc(a,b)},SUc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?RUc:QUc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},TUc=function(){this.H=this.ha=this.V=this.W=null},UUc=function(a){var b=new _.Ti;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.Ui(b,1,1);var e=b.H;qP(e,c);qP(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.Ui(b,2,1),e=b.H,qP(e,c),qP(e,d));c=a.ha;null!=c&&(_.Ui(b,3,5),qP(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.Ui(b,4,1),d=b.H,qP(d,c),qP(d,a));return _.Vi(b)},VUc=function(a,b,c){this.id=a;this.V=b;this.H=c},WUc=function(a,b){return new VUc((a?a:b).getId(),a,b)},XUc=function(a,b){return new VUc(a.getId(),a,b)},BQ=function(a){return new VUc(a.getId(),null,a)},YUc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},ZUc={LIMITED:1,UNLIMITED:2},TLc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},VLc={Lwb:0,orb:1},$Uc=function(a,b){this.V=a;this.H=b},bVc=function(a,b){_.RO(["drive#about"],b);var c=
new _.yQ,d=new _.cC;if(b.user){var e=_.SO(a.V,b.user);_.Q(d,1,e)}a=aVc(a,b);a=fOc(eOc(_.dOc(new _.Qmb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.hOc(a,_.aOc(_.$Nc((new _.bC).Dc(YUc[e.status]),Number(e.trialMillisRemaining)),_.TO(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.iOc(a,_.cOc(_.bOc(new _.Pmb,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&gOc(a,b.importFormats.map(function(f){var h=new _.ZNc;
h=_.w(h,1,f.source);return _.w(h,2,f.targets||[])}));_.Q(d,3,a);_.CUc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},aVc=function(a,b){var c=new _.n3a;c=_.w(c,1,Number(b.quotaBytesTotal));c=_.VNc(_.w(c,2,Number(b.quotaBytesUsed)),Number(b.quotaBytesUsedAggregate));c=_.w(c,4,Number(b.quotaBytesUsedInTrash));var d=ULc(b.quotaBytesByService||[]);c=_.pj(c,5,d);c=_.w(c,6,ZUc[b.quotaType]);_.y(a.H,5,!1)?(a=_.w(c,7,Number(b.quotaBytesTotal)),a=_.w(a,8,"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-
Number(b.quotaBytesUsedAggregate),0)),d=Number(b.quotaBytesUsedAggregate)-WLc(b),a=_.w(a,9,d),a=_.w(a,10,Number(b.quotaBytesUsedAggregate)),a=_.w(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),_.w(a,13,d),b.graceQuotaInfo&&b.graceQuotaInfo.tEb&&(a=new XNc,d=_.k3a(new Date(b.graceQuotaInfo.endDateMillis)),a=_.Q(a,1,d),b=_.w(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),
_.Q(c,12,b)),b=c):b=c;return b},cVc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},dVc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},eVc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},fVc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},gVc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},hVc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},iVc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},jVc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},kVc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},lVc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},mVc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},nVc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},oVc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},pVc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},qVc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},rVc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},sVc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},tVc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},uVc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},vVc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},wVc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},xVc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},yVc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},CQ=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.j3a((new _.vx).setSeconds(a),b)},zVc=function(a){var b=new _.$P;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=CQ(d);_.Q(b,1,c);break;case "endTime":b.Bv(CQ(d))}}return b},AVc=function(a){var b=new pRc;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":_.hj(b,1,d);break;case "title":b.setTitle(d)}}return b},BVc=function(a){var b=new _.vRc;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":_.ij(b,6,dVc[d])}}return b},CVc=function(a){var b=new _.wRc;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":_.hj(b,1,d);break;case "targetMimeType":_.hj(b,2,d)}}return b},DVc=function(a){var b=new _.PP;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 yRc;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":_.hj(c,1,f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new uRc;_.oj(e,8,xRc[0],f);break;case "driveFolder":e=BVc(f);_.oj(c,9,xRc[0],e);break;case "driveShortcut":e=CVc(f),_.oj(c,10,xRc[0],e)}}_.oj(b,1,zRc[0],c);break;case "drive":c=AVc(d),_.oj(b,3,zRc[0],c)}}return b},EVc=function(a){return a.map(function(b){return DVc(b)})},FVc=function(a){var b=new _.oRc;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":_.hj(b,1,d);break;case "legacyId":_.hj(b,3,d);break;case "audienceDisplayName":_.hj(b,4,d)}}return b},DQ=function(a){var b=new _.TQc;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 _.MP;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":_.hj(c,1,f);break;case "isCurrentUser":_.gj(c,2,f);break;case "displayName":_.hj(c,3,f);break;case "photoUrl":_.hj(c,4,f)}}_.oj(b,2,_.RQc[0],c);break;case "unknownUser":c=new UQc;_.oj(b,4,_.RQc[0],c);break;case "deletedUser":c=new _.SQc,_.oj(b,3,_.RQc[0],c)}}return b},GVc=function(a){return a.map(function(b){return DQ(b)})},HVc=function(a){var b=new _.fSc;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=DQ(d);_.oj(b,1,_.VP[0],c);break;case "anonymous":c=new cSc;_.oj(b,2,_.VP[0],c);break;case "impersonation":c=new _.dSc;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=DQ(f),_.Q(c,1,e)}}_.oj(b,3,_.VP[0],c);break;case "system":c=new _.eSc;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":_.ij(c,
1,eVc[f])}_.oj(b,4,_.VP[0],c);break;case "administrator":c=new _.bSc,_.oj(b,5,_.VP[0],c)}}return b},IVc=function(a){return a.map(function(b){return HVc(b)})},JVc=function(a){var b=new OP;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":_.hj(b,1,d);break;case "title":b.setTitle(d);break;case "mimeType":_.hj(b,6,d);break;case "version":_.fj(b,5,d);break;case "owner":c=new sRc;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=FVc(f);_.Q(c,3,e);break;case "user":e=DQ(f);_.oj(c,1,rRc[0],e);break;case "drive":e=AVc(f),_.oj(c,4,rRc[0],e)}}_.Q(b,7,c);break;case "driveFile":c=new uRc;_.oj(b,8,tRc[0],c);break;case "driveFolder":c=BVc(d);_.oj(b,9,tRc[0],c);break;case "driveShortcut":c=CVc(d),_.oj(b,10,tRc[0],c)}}return b},KVc=function(a){var b=new _.ZP;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=JVc(d);_.oj(b,1,_.YP[0],c);break;case "drive":c=new _.WP;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":_.hj(c,1,f);break;case "title":c.setTitle(f);break;case "root":e=JVc(f),_.Q(c,3,e)}}_.oj(b,5,_.YP[0],c);break;case "fileComment":c=new _.hSc;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":_.hj(c,1,f);break;case "legacyDiscussionId":_.hj(c,2,f);break;case "linkToDiscussion":_.hj(c,3,f);break;case "parent":c.Jg(JVc(f))}_.oj(b,3,_.YP[0],c)}}return b},LVc=function(a){return a.map(function(b){return KVc(b)})},MVc=function(a){var b=new _.NRc;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":_.ij(b,1,yVc[d])}}return b},NVc=function(a){return a.map(function(b){var c=
new _.SP;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":_.ij(c,1,hVc[e]);break;case "user":d=DQ(e);_.oj(c,2,_.RP[0],d);break;case "group":d=new _.QP;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":_.hj(d,1,h);break;case "title":d.setTitle(h)}}_.oj(c,3,_.RP[0],d);break;case "domain":d=FVc(e);_.oj(c,4,_.RP[0],d);break;
case "anyone":d=new PRc;_.oj(c,5,_.RP[0],d);break;case "allowDiscovery":_.gj(c,6,e)}}return c})},OVc=function(a){var b=new MQc;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.ll(d);break;case "url":_.hj(b,2,d)}}return b},PVc=function(a){return a.map(function(b){var c=new _.XRc;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":_.ij(c,
1,rVc[e]);break;case "newRestriction":_.ij(c,2,sVc[e])}}return c})},QVc=function(a){return a.map(function(b){var c=new cRc;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=DQ(e);_.Q(c,3,d);break;case "addedReviewer":d=DQ(e),_.Q(c,4,d)}}return c})},RVc=function(a){return a.map(function(b){return vVc[b]})},SVc=function(a){return a.map(function(b){var c=new gRc;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":_.hj(c,1,e);break;case "types":d=RVc(e),_.w(c,2,d||[])}}return c})},TVc=function(a){return a.map(function(b){return wVc[b]})},UVc=function(a){return a.map(function(b){var c=new PQc;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.Ed(e);break;case "types":d=TVc(e),_.w(c,2,d||[])}}return c})},VVc=function(a){var b=
new TRc;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":_.ij(b,1,xVc[d]);break;case "signinRequired":_.gj(b,2,d);break;case "publishedTime":c=CQ(d),_.Q(b,3,c)}}return b},WVc=function(a){for(var b=new _.UP,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 _.ERc,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,C=new BRc;_.oj(z,1,_.ARc[0],C);break;case "upload":var F=k,K=new CRc;_.oj(F,2,_.ARc[0],K);break;case "copy":for(var J=v,Z=new _.DRc,X=_.p(Object.entries(J)),ma=X.next();!ma.done;ma=X.next()){var Aa=_.p(ma.value),Ka=Aa.next().value,Ha=Aa.next().value;switch(Ka){case "originalObject":var na=DVc(Ha);_.Q(Z,1,na)}}_.oj(k,3,_.ARc[0],Z)}}_.oj(b,1,_.TP[0],k);break;case "edit":var Ya=new JRc;_.oj(b,2,_.TP[0],Ya);break;
case "move":for(var $b=new _.ORc,Wb=_.p(Object.entries(h)),kb=Wb.next();!kb.done;kb=Wb.next()){var Kc=_.p(kb.value),bd=Kc.next().value,Xe=Kc.next().value;switch(bd){case "addedParents":var gg=EVc(Xe);_.pj($b,1,gg);break;case "removedParents":var Ge=EVc(Xe);_.pj($b,2,Ge);break;case "fromOwnershipTransfer":_.gj($b,3,Xe);break;case "reparents":var wf=Xe.map(MVc);_.pj($b,4,wf)}}_.oj(b,3,_.TP[0],$b);break;case "rename":for(var Qg=new _.URc,Eh=_.p(Object.entries(h)),yd=Eh.next();!yd.done;yd=Eh.next()){var lj=
_.p(yd.value),Ff=lj.next().value,Rg=lj.next().value;switch(Ff){case "oldTitle":_.hj(Qg,1,Rg);break;case "newTitle":_.hj(Qg,2,Rg)}}_.oj(b,4,_.TP[0],Qg);break;case "delete":for(var Eb=new _.HRc,mj=_.p(Object.entries(h)),wj=mj.next();!wj.done;wj=mj.next()){var ti=_.p(wj.value),vt=ti.next().value,An=ti.next().value;switch(vt){case "type":_.ij(Eb,1,fVc[An])}}_.oj(b,5,_.TP[0],Eb);break;case "restore":for(var Sg=new _.VRc,ui=_.p(Object.entries(h)),Fp=ui.next();!Fp.done;Fp=ui.next()){var uo=_.p(Fp.value),
hl=uo.next().value,Pq=uo.next().value;switch(hl){case "type":_.ij(Sg,1,gVc[Pq])}}_.oj(b,6,_.TP[0],Sg);break;case "permissionChange":for(var Bn=new _.RRc,vo=_.p(Object.entries(h)),wt=vo.next();!wt.done;wt=vo.next()){var wo=_.p(wt.value),Uu=wo.next().value,Gm=wo.next().value;switch(Uu){case "addedPermissions":var Xl=NVc(Gm);_.pj(Bn,1,Xl);break;case "removedPermissions":var Ji=NVc(Gm);_.pj(Bn,2,Ji);break;case "resharedPermissions":var xt=NVc(Gm);_.pj(Bn,3,xt);break;case "otherActivePermissions":var yt=
NVc(Gm);_.pj(Bn,4,yt)}}_.oj(b,7,_.TP[0],Bn);break;case "comment":for(var fi=new _.nRc,xj=_.p(Object.entries(h)),zd=xj.next();!zd.done;zd=xj.next()){var zt=_.p(zd.value),Gf=zt.next().value,yj=zt.next().value;switch(Gf){case "post":for(var At=yj,Vr=new _.kRc,Wr=_.p(Object.entries(At)),Xr=Wr.next();!Xr.done;Xr=Wr.next()){var Lw=_.p(Xr.value),Yr=Lw.next().value,Qq=Lw.next().value;switch(Yr){case "subtype":_.ij(Vr,1,iVc[Qq])}}_.oj(fi,1,_.jRc[0],Vr);break;case "assignment":for(var Rq=yj,Gp=new _.lRc,Ek=
_.p(Object.entries(Rq)),Zr=Ek.next();!Zr.done;Zr=Ek.next()){var Bt=_.p(Zr.value),Ct=Bt.next().value,Vy=Bt.next().value;switch(Ct){case "subtype":_.ij(Gp,1,jVc[Vy]);break;case "assignedUser":var Wy=DQ(Vy);_.Q(Gp,7,Wy)}}_.oj(fi,2,_.jRc[0],Gp);break;case "suggestion":for(var Vu=yj,Hp=new _.mRc,$r=_.p(Object.entries(Vu)),Dt=$r.next();!Dt.done;Dt=$r.next()){var Mw=_.p(Dt.value),aC=Mw.next().value,Cn=Mw.next().value;switch(aC){case "subtype":_.ij(Hp,1,kVc[Cn])}}_.oj(fi,3,_.jRc[0],Hp);break;case "mentionedUsers":var as=
GVc(yj);_.pj(fi,7,as)}}_.oj(b,8,_.TP[0],fi);break;case "dlpChange":for(var Nw=new _.GRc,Wu=_.p(Object.entries(h)),Sq=Wu.next();!Sq.done;Sq=Wu.next()){var Xu=_.p(Sq.value),Xy=Xu.next().value,Yy=Xu.next().value;switch(Xy){case "type":_.ij(Nw,1,lVc[Yy])}}_.oj(b,9,_.TP[0],Nw);break;case "view":for(var Yu=new aSc,Et=_.p(Object.entries(h)),Ow=Et.next();!Ow.done;Ow=Et.next()){var Zu=_.p(Ow.value),Dn=Zu.next().value,bs=Zu.next().value;switch(Dn){case "type":_.ij(Yu,1,mVc[bs]);break;case "viewHistoryVisibility":for(var Zy=
bs,He=new $Rc,Ft=_.p(Object.entries(Zy)),Pw=Ft.next();!Pw.done;Pw=Ft.next()){var $y=_.p(Pw.value),$5=$y.next().value,ls=$y.next().value;switch($5){case "domainPolicyVisibilityState":_.ij(He,1,nVc[ls]);break;case "namedPartyState":_.ij(He,2,oVc[ls])}}_.Q(Yu,2,He)}}_.oj(b,10,_.TP[0],Yu);break;case "download":for(var LC=new IRc,nx=_.p(Object.entries(h)),MC=nx.next();!MC.done;MC=nx.next()){var kG=_.p(MC.value),XP=kG.next().value,pX=kG.next().value;switch(XP){case "type":_.ij(LC,1,pVc[pX])}}_.oj(b,11,
_.TP[0],LC);break;case "reference":for(var lG=new _.LP,mG=_.p(Object.entries(h)),iK=mG.next();!iK.done;iK=mG.next()){var a6=_.p(iK.value),BGa=a6.next().value,b6=a6.next().value;switch(BGa){case "type":_.ij(lG,1,qVc[b6]);break;case "context":lG.Yj(OVc(b6))}}_.oj(b,12,_.TP[0],lG);break;case "settingsChange":for(var qX=new _.YRc,dja=_.p(Object.entries(h)),rX=dja.next();!rX.done;rX=dja.next()){var Wab=_.p(rX.value),Xja=Wab.next().value,tZb=Wab.next().value;switch(Xja){case "restrictionChanges":var uZb=
PVc(tZb);_.pj(qX,1,uZb)}}_.oj(b,13,_.TP[0],qX);break;case "approvalChange":for(var wv=new _.ZQc,Xab=_.p(Object.entries(h)),zHa=Xab.next();!zHa.done;zHa=Xab.next()){var Yab=_.p(zHa.value),vZb=Yab.next().value,rG=Yab.next().value;switch(vZb){case "approvalName":_.hj(wv,2,rG);break;case "approvalEventNames":_.w(wv,3,rG||[]);break;case "initiator":var wZb=DQ(rG);_.Q(wv,4,wZb);break;case "reviewers":var AHa=GVc(rG);_.pj(wv,5,AHa);break;case "status":wv.Dc(tVc[rG]);break;case "dueTime":var BHa=CQ(rG);_.Q(wv,
7,BHa);break;case "approvalRequested":var xZb=wv,Zab=new WQc;_.oj(xZb,8,_.NP[0],Zab);break;case "approvalCancelled":var yZb=wv,zZb=new XQc;_.oj(yZb,9,_.NP[0],zZb);break;case "reviewerResponded":for(var AZb=rG,Yja=new _.YQc,Zja=_.p(Object.entries(AZb)),CHa=Zja.next();!CHa.done;CHa=Zja.next()){var C6=_.p(CHa.value),BZb=C6.next().value,$ab=C6.next().value;switch(BZb){case "reviewerDecision":_.ij(Yja,1,uVc[$ab])}}_.oj(wv,10,_.NP[0],Yja);break;case "commentAdded":var CZb=wv,DZb=new $Qc;_.oj(CZb,11,_.NP[0],
DZb);break;case "reviewersChanged":for(var EZb=rG,abb=new bRc,$ja=_.p(Object.entries(EZb)),aka=$ja.next();!aka.done;aka=$ja.next()){var bbb=_.p(aka.value),FZb=bbb.next().value,GZb=bbb.next().value;switch(FZb){case "reviewerChanges":var HZb=QVc(GZb);_.pj(abb,1,HZb)}}_.oj(wv,12,_.NP[0],abb);break;case "dueTimeChanged":for(var IZb=rG,cbb=new dRc,Tpd=_.p(Object.entries(IZb)),JZb=Tpd.next();!JZb.done;JZb=Tpd.next()){var Upd=_.p(JZb.value),uxf=Upd.next().value,vxf=Upd.next().value;switch(uxf){case "oldDueTime":var wxf=
CQ(vxf);_.Q(cbb,1,wxf)}}_.oj(wv,13,_.NP[0],cbb)}}_.oj(b,18,_.TP[0],wv);break;case "lock":var xxf=new LRc;_.oj(b,15,_.TP[0],xxf);break;case "unlock":var yxf=new ZRc;_.oj(b,16,_.TP[0],yxf);break;case "categoryMetadataChange":for(var Vpd=new _.hRc,Wpd=_.p(Object.entries(h)),KZb=Wpd.next();!KZb.done;KZb=Wpd.next()){var Xpd=_.p(KZb.value),zxf=Xpd.next().value,Axf=Xpd.next().value;switch(zxf){case "changes":var Bxf=SVc(Axf);_.pj(Vpd,1,Bxf)}}_.oj(b,17,_.TP[0],Vpd);break;case "appliedLabelChange":for(var Ypd=
new _.QQc,Zpd=_.p(Object.entries(h)),LZb=Zpd.next();!LZb.done;LZb=Zpd.next()){var $pd=_.p(LZb.value),Cxf=$pd.next().value,Dxf=$pd.next().value;switch(Cxf){case "changes":var Exf=UVc(Dxf);_.pj(Ypd,1,Exf)}}_.oj(b,19,_.TP[0],Ypd);break;case "publishChange":for(var MZb=new SRc,aqd=_.p(Object.entries(h)),NZb=aqd.next();!NZb.done;NZb=aqd.next()){var bqd=_.p(NZb.value),Fxf=bqd.next().value,cqd=bqd.next().value;switch(Fxf){case "oldPublishState":var Gxf=VVc(cqd);_.Q(MZb,1,Gxf);break;case "newPublishState":var Hxf=
VVc(cqd);_.Q(MZb,2,Hxf)}}_.oj(b,20,_.TP[0],MZb);break;case "linkShareMetadataChange":for(var dqd=new KRc,eqd=_.p(Object.entries(h)),OZb=eqd.next();!OZb.done;OZb=eqd.next()){var fqd=_.p(OZb.value),Ixf=fqd.next().value,Jxf=fqd.next().value;switch(Ixf){case "securityUpdateEnabled":_.gj(dqd,1,Jxf)}}_.oj(b,21,_.TP[0],dqd)}}return b},XVc=function(a){return a.map(function(b){var c=new _.kSc;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=WVc(e);_.Q(c,1,d);break;case "source":d=new gSc;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":_.ij(d,2,cVc[h]);break;case "appId":_.hj(d,1,h)}}_.Q(c,2,d);break;case "actor":d=HVc(e);_.Q(c,3,d);break;case "target":d=KVc(e);_.Q(c,4,d);break;case "timestamp":d=CQ(e);_.oj(c,5,jSc[0],d);break;case "timeRange":d=zVc(e),_.oj(c,6,jSc[0],d)}}return c})},YVc=function(a){return a.map(function(b){var c=
new _.aQ;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=WVc(e);_.Q(c,2,d);break;case "actors":d=IVc(e);_.pj(c,3,d);break;case "actions":d=XVc(e);_.pj(c,4,d);break;case "targets":d=LVc(e);_.pj(c,5,d);break;case "timestamp":d=CQ(e);_.oj(c,6,mSc[0],d);break;case "timeRange":d=zVc(e),_.oj(c,7,mSc[0],d)}}return c})},ZVc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},$Vc={application:1,
document:2,documentShared:3},aWc=function(a){var b=new _.wQc;b=_.w(b,3,a.iconUrl).setSize(a.size);a.category&&_.w(b,1,$Vc[a.category]);return b},bWc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.xQc;d=_.w(d,1,a[c].type);d=_.w(d,2,Number(a[c].score));b.push(d)}return b},cWc=function(a){_.RO(["drive#app"],a);var b=(new _.IP).lc(a.id);b=_.w(b,3,a.useByDefault);b=_.w(b,2,a.name);b=_.w(b,7,a.openUrlTemplate);b=CQc(BQc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.w(b,8,a.createUrl);b=_.w(b,
9,a.createInFolderTemplate);b=_.w(b,10,a.objectType);b=_.w(b,11,a.supportsCreate);b=_.w(b,12,a.supportsImport);b=_.w(b,13,a.supportsMultiOpen);b=_.w(b,27,a.supportsOfflineCreate);b=_.w(b,14,a.installed);b=_.w(b,15,a.authorized);b=_.w(b,16,a.productUrl);b=_.w(b,17,a.primaryFileExtensions||[]);b=_.w(b,18,a.secondaryFileExtensions||[]);b=_.w(b,19,a.shortDescription);b=_.w(b,20,a.longDescription);b=_.w(b,21,a.productId);b=_.w(b,22,a.removable);b=_.w(b,23,ZVc[a.type]);b=_.w(b,25,a.hasAppData);b=_.w(b,
26,a.appDataQuotaBytesUsed);b=_.w(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.w(b,30,a.hasDriveWideScope);b=_.w(b,31,a.driveSource);b=_.w(b,32,a.driveBranded);b=_.w(b,33,a.hidden);b=_.w(b,34,a.supportsMobileBrowser);b=_.w(b,35,a.supportsTeamDrives);b=_.w(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++)d.push(aWc(c[e]));_.pj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.w(b,24,d||[]);c=a.rankingInfo||{};a=new _.zQc;d=c.absoluteScore;null!=d&&_.w(a,
1,Number(d));d=bWc(c.mimeTypeScores||[]);_.pj(a,2,d);c=bWc(c.fileExtensionScores||[]);_.pj(a,3,c);_.Q(b,29,a);return b},dWc=function(a,b){var c=new tQ;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=cWc(a),_.Q(b,2,a));return b},eWc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},fWc=function(a){var b=new AQ;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.pQ).lc(c.id).setTitle(c.title);d=_.w(d,3,_.TO(c.updateTime));d=_.w(d,4,eWc[c.backupSource]);d=_.w(d,5,c.iconUri);
d=_.w(d,8,_.TO(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.Ks()){var e=new bUc;e=_.w(e,1,c.whatsappOngoingBackupEnabled);c=_.w(e,2,c.whatsappPhoneNumber);_.Q(d,6,c)}else 2==d.Ks()&&(e=new _.aUc,e=_.w(e,1,c.deviceName),e=_.w(e,2,c.deviceModelName),e=_.w(e,3,c.shouldIncludeSpecialSyncItems),c=_.w(e,4,c.deviceAndroidId),_.Q(d,7,c));return d});_.pj(b,2,a);return b},gWc=function(a){var b=new JUc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=
(new _.oQ).lc(c.id);d=_.w(d,1,rOc[c.type]).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.$Tc(d.setSize(c.size),_.TO(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).ll(c.description);return _.w(d,9,c.ongoingSyncEnabled)});_.pj(b,1,a);return b},hWc=function(a,b){this.H=a;this.V=b},iWc={read:2,write:3,comment:4},jWc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.iM((new _.am).lc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.an(_.bJc(c.userCapabilities));_.PO(b).includes(19)&&_.lGc(d,!0);_.EJc(a,
d,_.PO(b));_.mGc(d,4);return d},kWc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;a=_.GEc(_.FEc(_.EEc(new _.ita,a.timeUsec),a.serverIp),a.processId);return _.Wjb(a)},lWc=function(a){var b=(new _.fk).lc(a.id);b=_.w(b,3,a.displayName);return _.FFc(_.GFc(b,a.emailAddress),a.photoUrl)},mWc=function(a){if(!a)return null;a=a.textSegment||[];return CMc(new _.Pl,a.map(function(b){var c=(new _.Bsa).xh(b.text),d=b.link;if(d){var e=new _.Csa;d=_.w(e,1,d.url)}else d=null;
c=_.Q(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},nWc=function(a){var b=GMc(new _.Ql,mWc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=lWc(c),_.oj(b,3,_.Esa[0],c),HMc(b,[c])):d?(c=(d.person||[]).map(function(e){return lWc(e)}),d=FMc(c),_.oj(b,4,_.Esa[0],d),HMc(b,c)):(c=(a.person||[]).map(function(e){return lWc(e)}),c.length&&(d=FMc(c),_.oj(b,4,_.Esa[0],d),HMc(b,c)));_.w(b,5,_.TO(a.eventTime));IMc(b,mWc(a.justificationDescription));return b},EQ=function(a){return(a=a.justification)?
nWc(a):null},oWc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=xNc(new _.Lsa,EQ(a));wNc(b,(a.subAction||[]).map(function(c){var d=new ZMc;c.openDocument&&(c=new uP,_.oj(d,1,YMc[0],c));return d}));return b},pWc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=QNc(new _.Ysa,EQ(a));PNc(b,(a.subAction||[]).map(function(c){var d=new qNc;c.openDocument&&(c=new uP,_.oj(d,1,pNc[0],c));return d}));return b},qWc=function(a){a=a.documentTopicAction;if(!a)return null;var b=FNc(new _.Ssa,
EQ(a));ENc(b,(a.subAction||[]).map(function(c){var d=new cNc;c.openDocument&&(c=new uP,_.oj(d,1,bNc[0],c));return d}));return b},rWc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=KNc(JNc(new gNc,a.workspaceId),EQ(a));INc(b,(a.subAction||[]).map(function(c){var d=new iNc;c.addToWorkspace&&(c=new KMc,_.oj(d,1,hNc[0],c));return d}));return b},sWc=function(a){a=a.calendarEventAction;if(!a)return null;var b=vNc(uNc(tNc(new _.Jsa,a.eventId),EQ(a)),a.guestCount);sNc(b,(a.subAction||[]).map(function(c){var d=
new XMc;if(c.viewCalendarEvent){var e=new UMc;_.oj(d,1,WMc[0],e)}c.shareWithAttendees&&(e=new SMc,_.oj(d,2,WMc[0],e));c.present&&(e=new MMc,_.oj(d,3,WMc[0],e));c.openDocument&&(c=new uP,_.oj(d,4,WMc[0],c));return d}));return b},tWc=function(a){return(a.justification||[]).map(function(b){return nWc(b)})},uWc=function(a){a=a.formResponseAction;if(!a)return null;var b=ONc(new _.Wsa,tWc(a));NNc(b,(a.subAction||[]).map(function(c){var d=new oNc;c.openDocument?(c=new uP,_.oj(d,1,nNc[0],c)):c.viewResponses&&
(c=new VMc,_.oj(d,2,nNc[0],c));return d}));return b},vWc=function(a){a=a.documentDocosAction;if(!a)return null;var b=zNc(new _.Nsa,EQ(a));yNc(b,(a.subAction||[]).map(function(c){var d=new _.Osa;c.reply?(c=new _.Hsa,_.oj(d,1,_.Sl[0],c)):c.resolve?(c=new PMc,_.oj(d,2,_.Sl[0],c)):c.reassign?(c=new NMc,_.oj(d,3,_.Sl[0],c)):c.acceptSuggestion?(c=new JMc,_.oj(d,4,_.Sl[0],c)):c.rejectSuggestion?(c=new OMc,_.oj(d,5,_.Sl[0],c)):c.openThread&&(c=new _.Gsa,_.oj(d,6,_.Sl[0],c));return d}));_.w(b,2,a.discussionId);
_.w(b,3,a.postId);ANc(b,mWc(a.anchorText));return b},wWc=function(a){a=a.documentShareAction;if(!a)return null;var b=DNc(new _.Qsa,EQ(a));CNc(b,(a.subAction||[]).map(function(c){var d=new aNc;c.suggestedShare?(c=new TMc,_.oj(d,1,$Mc[0],c)):c.responseToRequest&&(c=new QMc,_.oj(d,2,$Mc[0],c));return d}));BNc(b,(a.sharee||[]).map(function(c){return lWc(c)}));_.w(b,3,iWc[a.shareeRole]);return b},xWc=function(a){a=a.documentViewAction;if(!a)return null;var b=HNc(new _.Usa,tWc(a));GNc(b,(a.subAction||[]).map(function(c){var d=
new eNc;c.open?d.ig(new uP):c.reviewEdits&&(c=new RMc,_.oj(d,2,dNc[0],c));return d}));return b},yWc=function(a){a=a.emailViewAction;if(!a)return null;var b=MNc(new kNc,EQ(a));LNc(b,(a.subAction||[]).map(function(c){var d=new mNc;c.openEmail&&d.ig(new LMc);return d}));return b},zWc=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Fsa,e=vWc(c);e&&_.oj(d,2,_.Rl[0],e);(e=xWc(c))&&rNc(d,e);(e=wWc(c))&&_.oj(d,4,_.Rl[0],e);(e=yWc(c))&&_.oj(d,5,_.Rl[0],e);(e=sWc(c))&&_.oj(d,6,_.Rl[0],e);
(e=rWc(c))&&_.oj(d,7,_.Rl[0],e);(e=qWc(c))&&_.oj(d,8,_.Rl[0],e);(e=pWc(c))&&_.oj(d,9,_.Rl[0],e);(e=oWc(c))&&_.oj(d,10,_.Rl[0],e);(c=uWc(c))&&_.oj(d,11,_.Rl[0],c);return d}):(a=EQ(a),a=HNc(new _.Usa,[a]),[rNc(new _.Fsa,a)])},AWc={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},BWc=function(a){var b=
a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=UNc(new _.hm,a.map(function(c){return AWc[c]||0}));if(b=b.eventId)b=_.GEc(_.FEc(_.EEc(new _.ita,b.timeUsec),b.serverIp),b.processId),_.Q(a,2,b);return a},CWc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=eLc(jWc(a,b,e),zWc(e)),d.push(e))});c=(new _.JB).Zv(d).$H(kWc(c)).setSessionId(BWc(c));return _.$Gc(new _.BO,c)},DWc=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=lWc(f.person).lc(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=jWc(a,b,l),d.push(q));l=TNc(SNc(RNc(new _.$sa,k.clone()),l.predictionReason),l.url);_.qj(q,107,l,_.$sa,void 0)})}});return iPc((new _.YO).Zv(d),e).$H(kWc(c)).setSessionId(BWc(c))},EWc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.cta;f=_.w(f,2,e.predictionReason);e=jWc(a,b,e);e=_.Q(e,100,f);d.push(e)}});c=
(new _.JB).Zv(d).$H(kWc(c)).setSessionId(BWc(c)).KW(c.suggestionSessionId);return _.$Gc(new _.BO,c)},FWc=function(a){return _.EFc(1).lc(a.personName.split("/")[1])},GWc=function(a){var b=(new sPc).Ej(a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},HWc=function(a){var b=new YPc;b=_.w(b,1,a.canSearch);b=_.w(b,2,a.canApply);b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},IWc=function(a){var b=new tPc;b=_.w(b,1,a.canSearch);return _.w(b,
2,a.canWrite)},JWc=function(a){a=void 0===a?{}:a;var b=new BPc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},KWc=function(a){var b=new uPc;b=_.w(b,1,a.trueLabel);return _.w(b,2,a.falseLabel)},LWc=function(a){var b=new CPc;b=_.w(b,1,a.maxEntries);a=JWc(a.options);return _.Q(b,2,a)},MWc=function(a){var b=new wPc;b=_.w(b,1,a.canSearch);return _.w(b,2,a.canSelect)},NWc=function(a){var b=new yPc;zPc(b,(a.choices||[]).map(function(c){var d=(new xPc).Ed(c.label).kc(c.value);c.capabilities&&d.an(MWc(c.capabilities));
c.displayHints&&(c=GWc(c.displayHints),_.Q(d,4,c));return d}));return b},OWc=function(a){var b=new APc;b=_.w(b,1,a.maxEntries);a=NWc(a.options);return _.Q(b,2,a)},PWc=function(a){var b=new EPc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,a.minValue);return _.w(b,3,a.maxValue)},QWc=function(a){var b=new FPc;b=_.w(b,1,a.maxEntries);a=PWc(a.options);return _.Q(b,2,a)},RWc=function(a){var b=new IPc;a=_.w(b,1,a.maxEntries);b=new HPc;return _.Q(a,2,b)},SWc=function(a){var b=(new _.jma).setYear(a.year).setMonth(a.month);
return _.w(b,3,a.day)},TWc=function(a){var b=new JPc;b=_.w(b,4,a.dateFormat);var c=SWc(a.minValue);b=_.Q(b,2,c);a=SWc(a.maxValue);return _.Q(b,3,a)},UWc={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},VWc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},WWc=function(a,b){this.H=a;this.V=b},YWc=function(a,b,c){_.RO(["drive#categoryMetadataList"],c);
var d=new GP,e=Object.values(c.categoryMetadata||{});qQc(d,e.map(function(f){return XWc(a,f,b.Gc())}));d.Dc(1);return new _.aP(d,QTc(c))},$Wc=function(a,b){var c=new wQ;xUc(c,(b.categories||[]).map(function(d){return ZWc(a,d)}));c.Dc(1);return new JSc(c,QTc(b))},XWc=function(a,b,c){_.RO(["drive#categoryMetadata"],b);c=WPc(UPc(new CP,b.categoryName),c);b=Object.values(b.attributeValues||[]);VPc(c,b.map(function(d){return aXc(a,d)}).filter(function(d){return d}));return c},ZWc=function(a,b){var c=aQc($Pc(ZPc(new DP,
b.name),b.categoryName),b.latestName).setTitle(b.title).ll(b.description);bQc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new KPc).lc(d.id);f=_.w(f,2,d.queryGuid);f=_.w(f,3,d.helpText);f=_.w(f,4,d.displayName);if(d.attributeDisplayHints){var h=GWc(d.attributeDisplayHints);_.Q(f,5,h)}d.capabilities&&f.an(IWc(d.capabilities));_.w(f,7,UWc[e]);d=d[VWc(e)+"Options"];return bXc(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&cQc(c,FWc(b.createdBy));b.updatedBy&&dQc(c,FWc(b.updatedBy));
b.publishedBy&&eQc(c,FWc(b.publishedBy));_.w(c,9,_.TO(b.createTime));_.w(c,10,_.TO(b.updateTime));_.w(c,11,_.TO(b.publishTime));b.displayHints&&fQc(c,GWc(b.displayHints));b.capabilities&&c.an(HWc(b.capabilities));return c},aXc=function(a,b){_.RO(["drive#categoryAttributeValue"],b);var c=(new AP).lc(b.id);if(b.userScoped)b=Object.values(b.userScoped),SPc(c,b.map(function(d){_.RO(["drive#userScopedAttributeValue"],d);var e=new MPc,f=_.SO(a.H,d.scopedUser);e=_.Q(e,1,f);return cXc(a,e,d)?e:null}).filter(function(d){return d})),
c.Yv(9);else if(!cXc(a,c,b))return null;return c},bXc=function(a,b,c,d){return dXc(a,function(){eXc(a)[c](b,d)},c,b)},cXc=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.Yv(UWc[d]);return dXc(a,function(){fXc(a)[d](b,c[c.valueType])},c.valueType)},dXc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof GPc))return POc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},eXc=function(a){return{BOOLEAN:function(b,
c){return b.AIa(KWc(c))},TEXT:function(b,c){return b.c1(JWc(c))},TEXT_LIST:function(b,c){return b.tJa(LWc(c))},LONG_TEXT:function(b,c){var d=new DPc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.oj(b,10,yP[0],c)},SELECTION:function(b,c){return b.eJa(NWc(c))},SELECTION_LIST:function(b,c){return b.dJa(OWc(c))},INTEGER:function(b,c){return b.MIa(PWc(c))},INTEGER_LIST:function(b,c){return b.LIa(QWc(c))},USER:function(b){return b.xJa(new HPc)},USER_LIST:function(b,c){return b.Raa(RWc(c))},DATE:function(b,
c){return b.Eaa(TWc(c))},USER_SCOPED:function(b,c){var d=new GPc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.w(d,2,UWc[e]);c=c[VWc(e)+"Options"];bXc(a,d,e,c);return _.oj(b,16,yP[0],d)}}},fXc=function(a){return{BOOLEAN:function(b,c){return b.Qpa(c)},TEXT:function(b,c){return b.mqa(c)},TEXT_LIST:function(b,c){return b.d1(c)},LONG_TEXT:function(b,c){return OPc(b,c)},SELECTION:function(b,c){return b.eqa(c)},SELECTION_LIST:function(b,c){return b.b1(c)},INTEGER:function(b,c){return b.Wpa(parseInt(c,
10))},INTEGER_LIST:function(b,c){return b.R0(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return PPc(b,_.SO(a.H,c))},USER_LIST:function(b,c){QPc(b,c.map(function(d){return _.SO(a.H,d)}))},DATE_STRING:function(b,c){return RPc(b,c)}}},gXc=function(a){a=a.personResponse;return pUc(new oUc,a.map(function(b){var c=b.person;b=bMc(new lP,b.personId);var d=c;d=void 0===d?{}:d;d=d.metadata;b=_.w(b,2,d?d.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=_.w(b,3,d?d[0].value:
"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new cMc;c=_.w(d,1,c&&!c.isDefault?c.url:null);return _.Q(b,4,c)}))},hXc=function(a){this.H=a},jXc=function(a,b){_.RO(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return iXc(a,c)})},iXc=function(a,b){_.RO(["drive#teamDrive","drive#drive"],b);var c=new _.fta,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);
_.w(c,7,b.hidden);(d=b.categoryReferences)&&fLc(c,d.map(function(e){_.RO(["drive#driveCategoryReference"],e);var f=new _.$l;return _.w(f,1,e.category)}));c=_.qGc(_.pGc(_.mGc(_.nGc(oLc(_.iM((new _.am).lc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.QFc(_.bJc(b.capabilities),!0),c.an(d));b.permissionsSummary&&_.oGc(c,_.yJc(a.H,b.permissionsSummary));b.restrictions&&hLc(c,kXc(b.restrictions));return c},kXc=
function(a){var b=new _.dta;b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);return _.w(b,4,a.teamMembersOnly)},lXc=function(a){_.RO(["drive#setting"],a);var b=new _.Oa;b=_.w(b,2,a.key);b=_.w(b,1,_.hEc[a.namespace]);return _.Hva(new _.Jn,b).kc(a.value)},mXc={active:1,archived:2},nXc=function(a){_.RO(["drive#workspace"],a);var b=(new _.HB).lc(a.id).setTitle(a.title);b=_.w(b,3,_.TO(a.createdDate));return _.w(b,4,_.TO(a.modifiedDate)).Od(mXc[a.state])},
oXc=function(a){_.RO(["drive#workspaceList"],a);var b=a.items||[];b=rUc(new vQ,b.map(function(c){return nXc(c)}));return new _.dP(b,QTc(a))},pXc=function(a,b,c){var d=c.item||[];return _.cEc(new _.TM,d.map(function(e){return jWc(a,b,e)})).setSessionId(BWc(c))},qXc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return HQc(FQc(GQc(EQc(new JP,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return jWc(a,b,f)})),EQ(c))},rXc=function(a,b,c){var d=c.item||[];return KQc(new KP,
d.map(function(e){return qXc(a,b,e)})).setSessionId(BWc(c))},sXc=function(a){var b=new rPc;a.kind&&(a=nXc(a),_.Q(b,2,a));b.Dc(1);return b},tXc=function(a,b,c,d,e,f){this.W=a;this.Ca=b;this.wa=c;this.ta=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0},uXc=function(a){var b=new _.yQ;b.Dc(a.V);a.H&&_.CUc(b,a.H?_.uj(a.H):null);return b},wXc=function(a,b,c,d){d=void 0===d?!1:d;var e=_.jEc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.JM(a.W)){var h=(h=b&&b.getUser())&&_.QF(h);h=!(!h||
!vXc(a.Ca,h));a.V=h&&e||d?1:6}f=!_.tj(a.H,b)||(_.JM(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.JM(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.uj(b);_.JM(a.W)||(a.V=e||d?1:6);c&&(gQ(a.wa,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};tXc.prototype.Ke=function(){return this.ha};var xXc=function(){_.N.call(this);this.H=Date.now()};_.H(xXc,_.N);
var yXc=function(a){a.H=Date.now();a.dispatchEvent("Jb")},zXc=function(a){_.N.call(this);this.wa=a;this.ha=0};_.H(zXc,_.N);var AXc=function(a){a=_.uj(a);var b=function(c){return c.toLowerCase()};BQc(a,_.x(a,4).map(b));CQc(a,_.x(a,5).map(b));return a};_.g=zXc.prototype;_.g.dma=function(){};_.g.NDa=function(){};_.g.remove=function(){};_.g.cma=function(){};_.g.Vx=function(){return 0!=this.ha};_.g.Ke=function(){return this.ha};
var BXc=function(a,b,c){zXc.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.H(BXc,zXc);BXc.prototype.dma=function(){var a=new sQ;if(!_.$e(this.H)){_.w(a,4,this.V||[]);var b=[];_.Se(this.H,function(c){b.push(_.uj(c))});_.pj(a,2,b)}a.Dc(this.W);return a};BXc.prototype.NDa=function(a){this.H[a.getId()]=AXc(a);this.ka.update(1);this.dispatchEvent(new _.Gg("Kb",this))};BXc.prototype.remove=function(a){_.af(this.H,a)&&this.ka.update(1)};
BXc.prototype.cma=function(a,b,c){c=void 0===c?!1:c;var d=!_.kEc.has(b);1==this.W&&d||(this.ha=b,CXc(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),gQ(this.wa,"nVUlO")))};
var CXc=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.x(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=_.cf(a.H);_.UM(a.H);b=_.nj(b,_.IP,2);d||(d=b.length!=_.We(h));b.forEach(function(k){var l=AXc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.tj(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.Gg("Kb",a))},DXc=function(a,b,c){_.N.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.Ul=this.ha=null;this.W=!1};_.H(DXc,_.N);var FXc=function(a){if(a.ha)return a.ha;var b=_.Jh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);EXc(a,b);return b.promise};DXc.prototype.wa=function(){1==this.H&&(GXc(this,"Became unauthenticated."),this.H=!1,this.W=!0,HXc(this))};DXc.prototype.Ca=function(){0==this.H&&(GXc(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.Ul&&(_.m.clearTimeout(this.Ul),this.Ul=null),this.dispatchEvent(new qPc("ta")))};
var HXc=function(a){a.V||(a.V=new _.YJc(5E3),a.Ul=_.m.setTimeout(function(){return IXc(a)},a.V.ub()))},IXc=function(a){EXc(a);a.V&&(_.kH(a.V),a.Ul=_.m.setTimeout(function(){return IXc(a)},a.V.ub()))},EXc=function(a,b){_.Fh().then(function(){return JXc(a,b)})},JXc=function(a,b){GXc(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.lFc)});b?c.then(function(){b.resolve(EUc(new DUc,1))},function(d){var e=_.fN(d).Fg;d=0;_.dDc(e)?(GXc(a,"Checked authentication state: unauthenticated."),
d=2):(GXc(a,"Checked authentication state: error occurred."),_.Op(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new DUc;EUc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.fN(d);_.dDc(d.Fg)&&a.W&&(a.dispatchEvent(new qPc("ua")),a.W=!1)})},GXc=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},FQ=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ca=0},GQ=function(a){a.V=!1;a.ODa()};_.g=FQ.prototype;
_.g.Eia=function(a,b){var c=this;if(5==this.fC(a))throw Error("jf");var d=[];_.Ea(this.iy(),function(e){nQ(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.$Z=function(){return this.iy().length};_.g.US=function(a){a=this.Eia(a,void 0);a=kP(a);var b=new _.JB;b.Zv(a);b.Dc(this.A8()?6:1);return b};_.g.update=function(a){var b=this.hD(a.V),c=this.hD(a.H);if(!b&&!c)return!1;b&&this.vW(a.V);c&&this.Wja(a.H);return!0};_.g.fC=function(a){return this.V&&this.ha?ATc(a)?1:5:5};
_.g.OS=function(){this.ha=!0};_.g.hD=function(a){return!!a&&this.V};_.g.Gw=function(a){this.Ca=a};_.g.Ke=function(){return this.Ca};var HQ=function(a,b,c,d,e,f){FQ.call(this,a,b);this.Ka=c;this.jc=iQ(c,d,!0);this.H=[];this.ka={};this.W=!e;KXc(this,e);this.wa=(0,_.I)(this.ta.compare,this.ta,this.jc);this.Fa=f||""};_.H(HQ,FQ);_.g=HQ.prototype;_.g.jd=function(){return this.jc};
_.g.Wja=function(a){var b=this.ka[a.getId()];b&&this.vW(b);$Kc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.jc.ih()&&(this.vW(_.ba(this.H)),this.W=!1)};_.g.vW=function(a){var b=this.H,c=_.Ba(b,a,this.wa);0<=c&&_.la(b,c);_.af(this.ka,a.getId());a.H--};_.g.ODa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.iy=function(){return this.H};_.g.fC=function(a){return this.Ka.equals(this.jc,a,!0)&&qLc(a.Kh(),this.jc.Kh())?this.W?1:6:5};
_.g.Eia=function(a,b){if(5==this.fC(a))throw Error("jf");b=b?Math.min(b,this.H.length):this.H.length;return _.ua(this.H,0,b)};_.g.hD=function(a){if(!FQ.prototype.hD.call(this,a)||!nQ(this.ma,this.jc,a.getItem()))return!1;if(this.W||_.y(this.jc,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.wa(a,b)};_.g.A8=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.Ez=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ea(a,function(e){return e.getId()==d.getId()})&&(b?(this.vW(d),KXc(this,_.ba(a))):this.W=!0);_.Ea(a,function(e){c.update(BQ(e))})};var KXc=function(a,b){b&&nQ(a.ma,a.jc,b.getItem())&&a.Wja(b)};HQ.prototype.AF=function(){return this.Fa};var IQ=function(a){_.M.call(this);this.context=a;this.Rd=new _.Sd(this);this.Qa(this.Rd);this.ma=new Set;this.H=6;this.Ra=0};_.H(IQ,_.M);
var MXc=function(a,b){a.ma.add(b);a.resize(!0);LXc(a,b)},NXc=function(a,b){a.ma.delete(b);0!=a.ma.size||a.eCa()?a.resize(!1):a.dispose()};IQ.prototype.Ke=function(){return this.Ra};IQ.prototype.Gw=function(a){this.Ra=a};IQ.prototype.refresh=function(){};IQ.prototype.US=function(){};
var PXc=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.uj(f)});else{for(var d in c){var e=c[d];c[d]=e?_.uj(e):null}c=Object.values(c).filter(function(f){return null!=f})}OXc(a.context.V,c,b);d=c.filter(function(f){return!mQ(f)});jLc(b,d);c.forEach(function(f){_.EJc(a.context.Mv,f,b);if(f.yc()){var h=f.getCapabilities();mQ(f)?h&&(_.PFc(h,_.D(h,13)),_.NFc(h,!1),_.TFc(h,!1)):_.jN(f)?(h&&_.w(h,3,!1),_.w(f,30,!1)):h&&(_.XFc(h,!1),_.YFc(h,!1))}f.getCapabilities()||f.an(new _.Ul)})};
IQ.prototype.resize=function(){};IQ.prototype.jd=function(){};IQ.prototype.Ez=function(a,b){var c=this,d=!1;a.forEach(function(e){e=BQ(e);d=c.NN(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&QXc(this)};var RXc=function(a,b){var c=!1;b.forEach(function(d){c=a.NN(d)||c});c&&QXc(a);return c};IQ.prototype.update=function(a){return RXc(this,[a])};IQ.prototype.NN=function(){};var QXc=function(a){a.Fa();a.ma.forEach(function(b){LXc(a,b)})};IQ.prototype.Fa=function(){};
var LXc=function(a,b){var c=JQ(a.context);c=SXc(c,b).jd();a.Ka(c)||(c=a.US(c),a=JQ(a.context),a.Ca[b]=c,a.V||(a.V=_.Nh(a.ka,50,a)))},TXc=function(a,b){a.H=3;a.ma.forEach(function(c){var d=JQ(a.context);d.Fa[c]=b;d.V||(d.V=_.Nh(d.ka,50,d))})},UXc=function(a){a.ma.forEach(function(b){(b=JQ(a.context).ha[b])&&b.eJ()});a.Gw(0==a.Ke()?1:6)};IQ.prototype.eCa=function(){return!1};IQ.prototype.Ka=function(){return!1};var VXc=function(a){_.Gg.call(this,"Fb");this.id=a};_.H(VXc,_.Gg);
var WXc=function(a,b,c,d){d=void 0===d?!1:d;_.N.call(this);this.jc=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.Fa=d};_.H(WXc,_.N);
var $Xc=function(a){if(a.V)return a.V.promise;a.V=_.Jh();a.jc.Il().forEach(function(b){var c=_.In(_.uj(a.jc),[b]),d;a.Fa&&(d={Wmb:!0});a.H.dm().then(function(e){return e.H(c,d)}).then(function(e){return void XXc(a,e)},function(e){e=_.fN(e);if(5==e.Fg.Or()||4==e.Fg.Mi())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),YXc(a);else{var f=new qQ(e.Fg,_.B(a.H.H.hf(),1,1));ZXc(a.H.V,a.jc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
XXc=function(a,b){b.Zq().wd().forEach(function(c){_.w(c,82,1);a.ta.push(c)});YXc(a)},YXc=function(a){a.W||(a.W=_.m.setTimeout(a.Ca.bind(a),10))};WXc.prototype.Ca=function(){_.m.clearTimeout(this.W);this.W=null;aYc(this);bYc(this);this.ha.size==this.jc.Il().length?(mP(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var aYc=function(a){var b=a.ta;a.ta=[];b=a.H.Tf.eX(b);if(_.tM(a.H.H.Pe())){var c=a.H.V.V;_.Ea(b,function(d){var e=c.H(d.getId());e&&_.xO(d,e.Qh())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});mP(a.H.V,b,1,a.wa,!0)},bYc=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.VM(_.RM(new _.QM,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new VXc(c))})},cYc=function(a,b,c,d){IQ.call(this,a);this.ha=b;this.jc=c;this.V={};this.W=_.IM(a.H)||new _.eDc;d&&this.Ez(d,!0)};
_.H(cYc,IQ);
cYc.prototype.refresh=function(){var a=this;this.H=6;if(_.y(this.jc,5,!1))return this.H=1,_.Fh();var b=!mLc(_.PO(this.ha),this.jc.Kh()),c=[],d=this.context.sq();this.jc.Il().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=hP(n)||b)n=n&&n.Kl(),l=!(n&&_.D(n,2));l&&c.push(k)}});if(0==c.length)return this.Ez([],!1),_.Fh();var e=this.jc.clone();_.In(e,c);var f=new WXc(e,this.context,this.jc),h=_.Jh();this.context.ka.Bf()?(this.Rd.listen(this.context.ka,"Cb",function(k){k.Bf()||
(a.Rd.Qc(a.context.ka,"Cb"),dYc(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Pg.Bf()&&(this.H=0<Object.values(this.V).length?1:2),dYc(this,f,h));return h.promise};var dYc=function(a,b,c){a.Rd.listen(b,"Fb",function(d){a.V[d.id]=null});UXc(a);$Xc(b).then(function(){c.resolve()},c.reject)};_.g=cYc.prototype;
_.g.i4=function(a){var b=this;return this.context.ma.equals(a,this.jc)?_.y(this.W,5,!1)&&_.y(this.W,3,!1)?a.Il().every(function(c){return(c=b.V[c])&&_.D(c.getItem(),31)}):mLc(_.PO(this.ha),a.Kh()):!1};_.g.US=function(a){var b=new _.XO;_.JM(this.context.H)?b.Dc(vLc(Object.values(this.V))?6:this.H):b.Dc(this.H);hQc(b,this.Ke());iQc(b,_.Ue(this.V,function(c){return c?c.getItem():null}));PXc(this,a.Kh(),b.Os());return b};_.g.resize=function(){};_.g.jd=function(){return this.jc};
_.g.NN=function(a){var b=eYc(this,a.V),c=eYc(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 eYc=function(a,b){return!!b&&_.ha(a.jc.Il(),b.getId())},fYc=function(a,b){_.Gg.call(this,a);this.changes=b};_.H(fYc,_.Gg);var gYc=function(){this.wa=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};gYc.prototype.getSessionId=function(){return this.ta};gYc.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
gYc.prototype.vc=function(){return this.H};
var hYc=function(a){var b=new gYc;if(a.gF()){var c=a.gF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.IW()&&(c=a.IW(),b.H=!1,b.wa=c);a instanceof _.YO&&_.nj(a,_.fk,6).length?(a=_.nj(a,_.fk,6),b.H=!1,b.ha=a):a instanceof _.JB&&(a.HW()||a.qga()||a.K6().length)&&(c=a.HW(),b.H=!1,b.ma=c,c=a.qga()||!1,b.H=!1,b.V=c,a=a.K6(),b.H=!1,b.W=a);return b},KQ=function(a,b,c,d,e){e=void 0===e?"":e;_.N.call(this);this.context=a;this.Ka=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.Fa=d||!1;this.Ca=this.Boa(b);this.ha=new gYc};_.H(KQ,_.N);var iYc=function(a){return!a.wa||""!=a.nextPageToken},kYc=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&iYc(a)?jYc(a):_.Hj()};KQ.prototype.hc=function(){return this.V.length};
var jYc=function(a){var b=a.W-a.V.length+a.ka;a.Ka.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=new _.Cj;c.nb(a.e2a,a);var d=_.CEc(_.DEc(new _.rM,a.Ca),a.nextPageToken);b=_.AEc(new _.DBc,b);a.Fa&&_.w(b,10,!0);_.BEc(d,b);a.wa=!0;a.H=!0;a.context.dm().then(function(e){return e.H(d)}).then(a.TDa.bind(a,c),a.SDa.bind(a,c,b));return c};_.g=KQ.prototype;
_.g.TDa=function(a,b){this.H=!1;if(b instanceof _.YO)var c=b;else c=b.Zq(),this.nextPageToken=b.Bm()||"";this.ha=hYc(c);this.ha.vc()||this.dispatchEvent("Gb");a.callback(c.wd())};
_.g.SDa=function(a,b,c){c=_.fN(c);this.H=!1;if(5==c.Fg.Or())a.callback([]);else{if(10==c.Fg.Or()&&(_.AEc(b,Math.ceil(_.B(b,1,1E3)/2-2E-15)),1<_.B(b,1,1E3))){var d=_.BEc(_.CEc(_.DEc(new _.rM,this.Ca),this.nextPageToken),b);this.H=!0;this.context.dm().then(function(e){return e.H(d)}).then(this.TDa.bind(this,a),this.SDa.bind(this,a,b));return}b=new qQ(c.Fg,_.B(this.context.H.hf(),1,1));this.RDa(b);this.dispatchEvent(b);a.Bd(c)}};
_.g.e2a=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=_.Op(_.Mp(_.EM(_.DM(new _.mb,2),9),"Encountered duplicate item in server query response"));this.context.dispatchEvent(new _.ob(new _.nb("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())_.w(c.value,82,
this.ta?2:1);a=[];c=_.p(this.$Ga(e));for(e=c.next();!e.done;e=c.next())e=e.value,this.V.push(e.getId()),e=_.RM(new _.QM,e.getId()).setItem(e),a.push(e);a.length&&this.dispatchEvent(new fYc("Eb",a));if(this.V.length<this.W&&this.nextPageToken)return jYc(this);this.dispatchEvent("Hb")};_.g.$Ga=function(a){return a};_.g.RDa=function(){};_.g.jd=function(){return this.request};_.g.Boa=function(a){a=_.uj(a);this.ta&&_.w(a,46,!0);return a};var LQ=function(a,b,c,d){KQ.call(this,a,b,void 0,c,d)};_.H(LQ,KQ);
LQ.prototype.$Ga=function(a){a=this.context.Tf.eX(a);mP(this.context.V,a,1,this.request,iYc(this));return a};LQ.prototype.RDa=function(a){ZXc(this.context.V,this.request,a)};LQ.prototype.Boa=function(a){var b=a=KQ.prototype.Boa.call(this,a),c=_.kO(b);0==_.x(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].ub()))&&(c=c.yc())&&(_.bN(b,[c]),_.w(b,45,2));_.y(this.context.H,63,!1)&&lYc(this,a);return a};
var lYc=function(a,b){if(_.kO(b).some(function(d){return(d=a.context.V.V.H(d.ub()))&&_.D(d,108)})){var c=b.ie();c||(c=new _.je,_.nk(b,c));_.ke(c,937)}},mYc=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.wa=d;this.W=0},oYc=function(a){var b=_.jc(a.ta);b=b.filter(function(d){return d instanceof cYc});var c=new Set;b.forEach(function(d){d.jd().Il().forEach(function(e){a.wa.get(e)||c.add(e)})});b=_.ke(new _.je,310);nYc(a,"Re-querying missing find-by-ids :"+c.size);a.H(_.hc(c).concat(),b)},qYc=function(a,
b){var c=[];(a.V.V.Ra.H[b||"subscribed"]||[]).forEach(function(d){_.Se(a.ta,function(e){_.tj(e.jd(),d)&&c.push(e)})});_.ya(c);0<c.length&&(pYc(a),c.forEach(function(d){d=jQ(a.V.ma,d.jd(),3);nYc(a,"Refreshing "+b+" cache: "+d)}),_.Kh(_.Hh(c.map(function(d){return d.refresh().Sf(_.ze)})),a.ha.bind(a)))};
mYc.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.wc(e)});if(0==a.length)return _.Fh({});a=_.w(_.Hn(_.In(new _.Gn,a),d||_.PO(this.ma)),7,!0);_.Gva(a,b);pYc(this);b=new WXc(a,this.V,void 0,c);return _.Kh($Xc(b),this.ka.bind(this,b))};mYc.prototype.ka=function(a){a.dispose();this.ha()};var pYc=function(a){a.W++;a.V.wa.setActive(!1)};mYc.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var nYc=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},rYc=function(a,b,c){_.M.call(this);this.ma=a;this.H=b;this.jc=c;a=new _.je;_.le(a,!1);_.ke(a,305);_.nk(this.jc,a);this.ha=new _.Sd(this);this.Qa(this.ha);this.W=this.V=null};_.H(rYc,_.M);
var sYc=function(a){if(!a.V){a.V=_.Jh();if(_.y(a.jc,48,!1))return a.H.Gw(9),a.V.resolve(a.H),a.V.promise;a.W=new KQ(a.ma,a.jc,!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));kYc(a.W,a.jc.ih())}return a.V.promise};rYc.prototype.ka=function(a){var b=this;_.Ea(a.changes,function(c){c=c.getItem();b.H.update(BQ(new eQ(c)))})};rYc.prototype.ta=function(){this.H instanceof HQ?this.H.W=!iYc(this.W):iYc(this.W)&&GQ(this.H);this.H.Gw(5);this.V.resolve(this.H)};
var MQ=function(a,b){FQ.call(this,a,b);this.H={}};_.H(MQ,FQ);MQ.prototype.Wja=function(a){this.H[a.getId()]=a;a.H++};MQ.prototype.vW=function(a){_.af(this.H,a.getId());a.H--};MQ.prototype.ODa=function(){_.Se(this.H,function(a){a.H--});this.H={}};MQ.prototype.iy=function(){return Object.values(this.H)};var NQ=function(a,b,c,d,e){MQ.call(this,a,b);var f=this;this.W=d;this.ka=e;fQ(c,["aU7Ts","BNEDtc"],function(){return f.OS()})};_.H(NQ,MQ);
NQ.prototype.fC=function(a){var b=this,c=MQ.prototype.fC.call(this,a);if(5==c)return c;if(0<_.x(a,33).length)return 5;a=_.kO(a);if(0<a.length){var d=_.y(this.W,63,!1);if(!a.every(function(e){e=b.H[e.ub()];return null!=e&&!e.getItem().yc()&&rLc(e.getItem())&&!(d&&_.D(e.getItem(),108))}))return 5}return 1};NQ.prototype.hD=function(a){return MQ.prototype.hD.call(this,a)&&tYc(this,a.getItem())};
var tYc=function(a,b){if(_.D(b,31)||!a.ha)return!0;var c=a.ka();return b.Qh().some(function(d){var e=a.H[d];return d==c||null!=e&&rLc(e.getItem())})};NQ.prototype.OS=function(){var a=this;MQ.prototype.OS.call(this);_.Se(this.H,function(b){tYc(a,b.getItem())||(b.H--,_.af(a.H,b.getId()))})};NQ.prototype.jd=function(){var a=new _.be;_.y(this.W,63,!1)||_.w(a,36,!0);return a};NQ.prototype.getType=function(){return"SubscribedCorpusCache"};NQ.prototype.A8=function(){return!1};
var OQ=function(a,b,c){MQ.call(this,a,b);this.W=c};_.H(OQ,MQ);_.g=OQ.prototype;_.g.fC=function(a){var b=this,c=MQ.prototype.fC.call(this,a);if(5==c)return c;c=_.kO(a);var d=c.every(function(e){var f=e.ub();return(null!=b.H[f]||b.W==f)&&!_.y(e,2,!1)});if(0<c.length&&d)return 1;a=_.x(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.hD=function(a){return MQ.prototype.hD.call(this,a)&&!!a&&a.getItem().yc()==this.W&&!mQ(a.getItem())};_.g.A8=function(){return!1};
_.g.jd=function(){var a=new _.be;_.bN(a,[this.W]);_.w(a,45,2);return a};_.g.yc=function(){return this.W};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var uYc=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.be;_.w(a,48,!0);var b=new _.Rb;_.Sb(b,11);_.Tb(b,2);_.ce(a,b);this.ka=iQ(this.ha,a,!0)};uYc.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof NQ?b.H=c:c instanceof HQ?b.W.push(c):c instanceof OQ&&b.V.push(c)})};
uYc.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof NQ)b.H&&(GQ(b.H),b.H=null);else if(c instanceof HQ){var d=_.da(b.W,function(e){return b.ha.equals(e.jd(),c.jd())});0<=d&&(GQ(b.W[d]),_.la(b.W,d))}else c instanceof OQ&&(d=_.da(b.V,function(e){return b.ha.equals(e.jd(),c.jd())}),0<=d&&(GQ(b.V[d]),_.la(b.V,d)))})};
var vYc=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},wYc=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.uj(c.jd()),_.w(c,32,void 0),c.WD([]),!_.tj(a.ka,c)):!0})},xYc=function(a,b){return _.Ke(a.V,function(c){return c.yc()==b})},yYc=function(a,b){return wYc(a).find(function(c){return a.ha.equals(c.jd(),iQ(a.ha,b,!0))})},zYc=function(){this.H={}},PQ=function(a,b){AYc(a,"subscribed");b&&AYc(a,b);return a.H[b||"subscribed"].tm.promise},
AYc=function(a,b){a.H[b]||(a.H[b]={count:0,uCa:[],aHa:[],tm:_.Jh()});a.H[b].count++},CYc=function(a,b){b&&!BYc(a,b)||BYc(a,"subscribed")},BYc=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].tm.resolve({items:a.H[b].uCa,Dfb:a.H[b].aHa}),_.af(a.H,b));return!0};zYc.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.yc();f&&f==e.Gc()&&c.H[f]&&c.H[f].aHa.push(e);c.H[d]&&c.H[d].uCa.push(e)})};
var DYc=function(a,b){_.Gg.call(this,"Lb");this.He=a;this.H=b};_.H(DYc,_.Gg);var EYc=function(a,b){return new _.Dh(function(c,d){b.then(function(e){var f={};a.iy().forEach(function(h){var k=h.getId();PLc(h.getItem());f[k]=new eQ(h.getItem())});e.items.forEach(function(h){var k=h.Gc();k=f[k];h.hz()?k&&a.update(new VUc(k.getId(),k,null)):(h=h.getItem(),PLc(h),a.update(WUc(k,new eQ(h))))});a.OS();c(e.Dfb)},d)})},FYc=function(a,b){_.M.call(this);this.H=a;this.V=b};_.H(FYc,_.M);
var MYc=function(a){var b=_.m._DRIVE_ivd;GYc(a,"Running initial view populator (IVDP).");try{var c=new cQ(JSON.parse(b))}catch(t){HYc(a,"Error parsing initial view dump.",t);return}b=a.H.H.Pe();if(!_.tM(b)){var d=_.A(c,_.cC,8);if(d){var e=d.getUser();e&&e.getId()==_.B(b,6,"")&&wXc(a.H.uc,d,4)}(b=c.sq())&&IYc(a.H,b,6)}var f=c.Fx()||void 0;f&&JYc(a.H,f,!0);if((b=c.kw())&&b.length){d=(d=a.H.H.hf())&&_.x(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.Kn(t))&&h.add(t)});KYc(a.H.Na,
b,4,_.hc(h.values()).concat())}b=c.wd();b.forEach(function(t){_.WEc(t);_.w(t,82,6)});if(d=_.nj(c,bQ,5)[0])if(c=a.H.ma,qLc(_.PO(a.V),d.getQuery().Kh(),_.nO(a.H.H)))if((e=d.getQuery().Ve())&&4==e.getType()&&!xLc())HYc(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=iQ(c,d.getQuery());var k=_.x(d,2)||void 0;e.Ri(k);k=b.map(function(t){return new eQ(t,void 0,1,f)});var l=_.A(d,_.am,3);if(l&&_.x(d,2)){var n=k[k.length-1];_.w(l,82,6);if(!_.tj(l,n.getItem())){HYc(a,"Invalid last item in initial view data.");
return}}d=(l=_.IM(a.H.H))&&_.y(l,2,!1)&&d.Bm()||"";var q=new HQ(a.H.La,a.H.Ya,a.H.ma,e,n,d);q.Gw(4);k.forEach(function(t){q.update(BQ(t))});LYc(a.H.V,q);n=q.jd();GYc(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+jQ(c,n));c=new _.rM;_.DEc(c,n);n=_.UIc(a.H.Ra,c,"IVDP");_.VIc(n,b);gQ(a.H.ha,"W6J7De")}}else HYc(a,"Invalid initial view data, fields: "+XSc(c,d.getQuery().Kh()));else HYc(a,"No initial query found")},HYc=function(a,b,c){var d=
c?void 0:_.Op(_.EM(_.DM(new _.mb,2),6));c=new _.nb(b,d,c);a.H.tb(c.Fg);GYc(a,"Initial view dump population failed. Message: "+b);gQ(a.H.ha,"DEJoH")},GYc=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},NYc=function(a){_.N.call(this);this.context=a;this.V=new NQ(a.La,a.Ya,a.ha,a.H,function(){return a.sq()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.H(NYc,_.N);
var OYc=function(a,b){var c=_.B(a.context.H,31,2E4);("number"===typeof _.x(b,3)?_.x(b,3):c+1)>c?(GQ(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Ra.kc("CachedCorpusType",b)};NYc.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var PYc=function(a,b){0==a.W&&(a.W=b)},QYc=function(a,b){_.N.call(this);this.V=a;this.jc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.H(QYc,_.N);
var SYc=function(a){return a.W||a.ha&&""==a.H?_.Hj():RYc(a)};QYc.prototype.hc=function(){return this.ka.length};
var RYc=function(a){a.ha=!0;a.W=!0;var b=oOc(pOc(new _.aO,a.jc),a.H),c=_.UIc(a.V.Ra,b);return _.Ij(a.V.dm().then(function(d){return d.H(b)}).then(function(d){var e=d.Zq().wd();a.H=d.Bm()||"";TYc(a,c,e)},function(d){a.W=!1;d=new qQ(_.FM(d),_.B(a.V.H.hf(),1,1));a.dispatchEvent(d)}))},TYc=function(a,b,c){_.VIc(b,c);for(b=0;b<c.length;b++)_.w(c[b],82,1);mP(a.V.V,c,1,a.jc,!a.ha||""!=a.H);var d=[];_.Ea(c,function(e){this.ka.push(e.getId());e=_.RM(new _.QM,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new fYc("Eb",
d));a.H?RYc(a):(a.W=!1,a.dispatchEvent("Hb"))};QYc.prototype.jd=function(){return this.jc};var UYc=function(a){this.H=KSc(a,{numeric:!0})};UYc.prototype.sort=function(a){_.Ca(a,this.V.bind(this))};UYc.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 QQ=function(a,b,c,d){d=void 0===d?!1:d;IQ.call(this,a);this.ka=b;this.jc=_.uj(c);this.ha=new QYc(a,this.jc);this.ta=new UYc(sP(a.H.Pe()));this.W=[];_.hd(this,this.YQa,this);this.V=null;d&&(this.V=_.Jh(),this.V.resolve())};_.H(QQ,IQ);QQ.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return VYc(this)};
var VYc=function(a){if(a.V)return a.V.promise;a.V=_.Jh();a.context.ka.Bf()?a.Rd.listen(a.context.ka,"Cb",function(b){b.Bf()||(a.Rd.Qc(a.context.ka,"Cb"),UXc(a),SYc(a.ha).vf(a.V.resolve,a.V.reject,a.V))}):(UXc(a),SYc(a.ha).vf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=QQ.prototype;_.g.resize=function(){};_.g.jd=function(){return this.jc};_.g.iy=function(){return this.W};_.g.i4=function(a){return this.context.ma.equals(a,this.jc)};
_.g.US=function(a){a=a.ih();this.ta.sort(this.W);var b=kP(_.ua(this.W,0,Math.min(a,this.W.length)));PXc(this,VOc(this.ka),b);var c=new _.JB;c.Zv(b);c.Dc(1==this.H||a<=this.W.length?1:this.context.ka.Bf()||this.context.Pg.Bf()?0<this.W.length?1:2:6);c.JW(this.Ke());WNc(c,a<this.W.length||!(this.context.ka.Bf()||this.context.Pg.Bf())&&1!=this.H);return c};_.g.Ez=function(a,b){this.V&&IQ.prototype.Ez.call(this,a,b)};
_.g.NN=function(a){if(!this.V)return!1;var b=a.id,c=_.ea(this.W,function(h){return h.getId()==b}),d=!!c,e=WYc(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?XYc(this,f,a.H):YYc(this,f):ZYc(this,a.H);else return!1;return!0};var ZYc=function(a,b){a.W.push(b);b.H++},YYc=function(a,b){_.oa(a.W,b);b.H--},XYc=function(a,b,c){a.W[_.fa(a.W,b)]=c;c.H++;b.H--},WYc=function(a,b){if(b){var c;if(c=mQ(b.getItem()))if(a=a.jc,b=b.getItem(),c=!!b&&!!b.Uj())a=a.xl(),c=null==a||!!b.Uj().xl()==a;b=c}else b=!1;return b};
_.g=QQ.prototype;_.g.YQa=function(){this.W.forEach(function(a){a.H--})};_.g.eCa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.$Z=function(){return this.W.length};_.g.OS=function(){this.H=1};
var $Yc=function(a){this.H=a},bZc=function(a,b){return aZc(a,b,null,0,5)},aZc=function(a,b,c,d,e){if(0==e||null==b){var f=new yUc;_.w(f,2,b);_.w(f,1,d);return _.Fh(f)}var h=IQc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.AF();k=d+_.x(k,1);return aZc(a,l,c,k,e-1)})},cZc=function(){this.tc=[];this.V=this.H=0};
cZc.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.tc,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 dZc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.tc,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},eZc=function(a){this.W=a;this.V=new cUc(new dUc,_.ika(a));this.H=new dUc};
eZc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.jka(b);c=fZc(this,a);return b.concat(c,gZc(this,b,a,!0))};
var hZc=function(a,b){var c=gZc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=fZc(a,c);if(b!=a)throw Error("kf");return c},fZc=function(a,b){a=a.V;b=ePc(b);a.reset();a.update(b);b=a.digest();return _.jka(b)},gZc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new cZc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.tc,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=ePc(c.substring(8192*e,8192*(e+1))),dZc(b,a),d+=_.jka(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;dZc(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=RQ(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=RQ(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=RQ(d,e++),k=RQ(d,e++),l=RQ(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=RQ(d,e++),k=RQ(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},RQ=function(a,b){return a[Math.floor(b/8192)][b%8192]},iZc=function(a,b,c){this.H=a;this.W=b;this.V=c};iZc.prototype.getData=function(){return this.H};iZc.prototype.oq=function(){return this.W};
var jZc=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.AZ=f;this.ha=null;this.ta=this.wa=!1;this.Ca=void 0};jZc.prototype.Qx=function(){return this.ma};jZc.prototype.nj=function(){return this.ka};jZc.prototype.Gg=function(){return _.ra(this.H)};
var SQ=function(a){if(!a.ha){var b=new _.mM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.xBc(b.digest())}return a.ha},kZc=function(a){return{versionKey:SQ(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.AZ}},lZc=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 jZc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:SQ(a)!=d&&(a=null);return a},mZc=function(a,b,c){return[a.Qx(),a.nj(),
b?"#":SQ(a)].join(":")+":"+(c||"")},nZc=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};nZc.prototype.getKey=function(){return this.H};nZc.prototype.ub=function(){return this.V};
var oZc=function(a,b){return{k:mZc(b,a.global,a.H),v:a.V}},pZc=function(a,b){a=mZc(a,b);return uQc(a+"A",a+"z")},qZc=function(a,b){this.o2=a;this.n2=b},rZc=function(a){return a?new qZc(a.versionKey,a.versionChangeTimestamp):null},sZc=function(a,b){return a+":"+b},tZc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.LQ=void 0===e?null:e},uZc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.LQ}},vZc=function(a,b,c,d){a=SQ(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.hx(":%02d",c)},wZc=function(a,b,c,d){c=vZc(a,b,void 0===c?0:c,d);a=SQ(a)+"_"+b;3==b&&(a+="_"+d);return uQc(c,a+":a")},xZc=function(a){var b=SQ(a)+"_";a=SQ(a)+"_A";return uQc(b,a)},yZc=function(a){return a?new tZc(a.data,a.index,a.size,a.timestamp,a.e):null},zZc={CCb:"Versions",QMa:"Metadata",Kpb:"Data",hNa:"Offline"},TQ=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.M.call(this);var e=this;this.V=null;this.tb=a.then(function(f){e.V=f});this.kb=b;this.ma=c;this.Fa=
d;this.H=null;this.La=!1;this.Ka=!0;this.ha=null;this.ta=!1;this.W="";this.Lb=new _.Sd(this);this.Qa(this.Lb);this.wa=null};_.H(TQ,_.M);TQ.prototype.initialize=function(){return AZc(this)};
var AZc=function(a,b){a.ha||(a.ha=_.Jh(),a.tb.then(function(){b?(a.Ka=!1,BZc(a,b),CZc(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),CZc(a,"Opening database GoogleDriveDs (version 2)"),_.kCc("GoogleDriveDs",2,a.Na.bind(a),a.Ca.bind(a)).vf(a.Ya.bind(a),a.Ca.bind(a)),_.Ph(2E4).then(a.Ra.bind(a)))},function(c){a.ha.reject(new _.nb("Database version error",void 0,_.nM(c)?c:void 0))}));return a.ha.promise},BZc=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"))};TQ.prototype.Na=function(a,b){CZc(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.La=!0;_.Ea(b.H.objectStoreNames,function(c){return _.zGc(b,c)});_.Se(zZc,function(c){var d=_.lEc.get(c);_.iCc(b,c,d?{keyPath:d}:void 0)})};
TQ.prototype.Ca=function(a){var b;a&&a instanceof _.vM&&"InvalidStateError"==a.getName()&&_.Ei.Cu?b=Error("mf"):_.nM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);DZc(this,!1)};TQ.prototype.Ya=function(a){this.ta?a.dispose():(BZc(this,a),this.Qa(this.H),this.Fa||EZc(this).Sf(function(){}),CZc(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),DZc(this,!0))};
var DZc=function(a,b){if(a.wa){var c=a.wa,d=_.A(_.VO(c),zOc,5);d||(d=new zOc,c=_.VO(c),_.Q(c,5,d));d=_.w(d,1,2);d=_.w(d,2,a.V.W);d=_.w(d,5,a.V.wa);b=_.w(d,3,b);b=_.w(b,4,a.La);_.w(b,6,a.V.Ca);a.wa.V();a.wa=null}};TQ.prototype.Ra=function(){this.H||this.hh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ca(Error("nf")))};TQ.prototype.ka=function(a){CZc(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ka&&this.H.close())};TQ.prototype.hh=function(){return this.ta};
var FZc=function(a){return a.ta?a.W:null},UQ=function(a,b,c){c=void 0===c?"readonly":c;if(a.Fa&&"readonly"!=c)return null;a=a.H;try{return _.BM(a,[b],c)}catch(d){return null}},EZc=function(a){var b=UQ(a,"Versions","readwrite");if(!b)return _.Gh(Error("of"));_.cCc(b.objectStore("Versions"),kZc(a.V));return b.wait().then(function(){})},GZc=function(a){if(!a.H)return _.Gh(Error("pf"));if(a.hh())return _.Gh(Error(a.W));var b=UQ(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(SQ(a.V)).then():
_.Gh(Error("qf"))},HZc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=yZc(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},JZc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Gh(Error("xf"));if(a.hh())return _.Gh(Error(a.W));var e=wZc(a.V,b,0,c),f=UQ(a,"Data");if(!f)return _.Gh(Error("yf"));e=f.objectStore("Data").getAll(e);var h=_.Jh();e.vf(function(k){k=HZc(k,h,d);a.Fa||null==k||IZc(a,b,c,k).Sf(function(){})},h.reject);return h.promise},LZc=function(a,b,c,d,e){if(a.H){if(a.hh())return _.Gh(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.Gh(Error("zf"))}else return _.Gh(Error("Af"));var f=Date.now(),h=b.length;b=b.map(function(n,q){return{key:vZc(a.V,c,q,d),data:new tZc(n.getData(),q,h,f,e),metadata:n}});var k=UQ(a,"Data","readwrite");if(!k)return _.Gh(Error("Bf"));var l=k.objectStore("Data");b.forEach(function(n){var q=KZc(a,c,d,n.metadata);_.cCc(l,uZc(n.data),n.key).then(function(){if(q){var t=XOc(q);_.w(t,1,!0);q.V()}},function(t){t=t instanceof _.vM?t.code:_.LBc;if(q&&a.ma){var v=XOc(q);v=_.w(v,1,!1);t=_.WO(_.XDc,t);
_.w(v,2,t);q.V()}})});return k.wait().then(function(){})},KZc=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=XOc(a);b=_.WO(_.WDc,b);b=_.w(e,3,b);c=_.WO(_.TDc,c);c=_.w(b,4,c);b=d.V;_.w(c,5,null==b?0:b?2:1);void 0!=d.oq()&&(c=XOc(a),d=d.oq(),_.w(c,6,d))}return a}return null},IZc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.hh())return _.Gh(Error(a.W));if(3==b&&void 0==c)return _.Gh(Error("Cf"))}else return _.Gh(Error("Df"));b=wZc(a.V,b,d,c);a=UQ(a,"Data","readwrite");if(!a)return _.Gh(Error("Ef"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},MZc=function(a){if(!a.H)return _.Gh(Error("Ff"));if(a.hh())return _.Gh(Error(a.W));var b=xZc(a.V);a=UQ(a,"Data","readwrite");if(!a)return _.Gh(Error("Gf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
TQ.prototype.getMetadata=function(a){if(this.H){if(this.hh())return _.Gh(Error(this.W));if(a&&0==a.length)return _.Gh(Error("Hf"))}else return _.Gh(Error("If"));var b=this.V,c=UQ(this,"Metadata");if(!c)return _.Gh(Error("Jf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(mZc(b,h.global,h.key)).then())});a=_.Hh(e)}else a=_.Hh([d.getAll(pZc(b,!1)).then(),d.getAll(pZc(b,!0)).then()]).then(function(h){return ZKc(h[0],h[1])});var f=_.Jh();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]!=SQ(b)||l[0]!=b.Qx()||l[1]!=String(b.nj())?null:new nZc(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var NZc=function(a,b){if(a.H){if(a.hh())return _.Gh(Error(a.W));if(0==b.length)return _.Gh(Error("Kf"))}else return _.Gh(Error("Lf"));var c=UQ(a,"Metadata","readwrite");if(!c)return _.Gh(Error("Mf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.cCc(d,oZc(f,a.V)).then())});return _.Hh(e).then(function(){})},OZc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.hh())return _.Gh(Error(a.W))}else return _.Gh(Error("Of"));var c=a.V;a=UQ(a,"Metadata","readwrite");if(!a)return _.Gh(Error("Pf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(pZc(c,!1)).then());b&&d.push(a.remove(pZc(c,!0)).then());return _.Hh(d).then(function(){})},PZc=function(a){if(!a.H)return _.Gh(Error("Qf"));if(a.hh())return _.Gh(Error(a.W));var b=sZc(a.V.Qx(),a.V.nj());return(a=UQ(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return rZc(c)}):_.Gh(Error("Rf"))},QZc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Gh(Error("Sf"));if(a.hh())return _.Gh(Error(a.W));var c=a.V,d=sZc(c.Qx(),c.nj());
b=new qZc(SQ(c),b?Date.now():void 0);a=UQ(a,"Offline","readwrite");if(!a)return _.Gh(Error("Tf"));_.cCc(a.objectStore("Offline"),{versionKey:b.o2,versionChangeTimestamp:b.n2},d);return a.wait().then(function(){})};TQ.prototype.Ok=function(a){var b=this;return this.H?this.hh()?_.Gh(Error(this.W)):PZc(this).then(function(c){var d=SQ(b.V);if(c)if(a){if(!c.n2&&d==c.o2&&d!=SQ(a))return QZc(b,!0);if(c.n2&&d==SQ(a))return QZc(b)}else{if(d!=c.o2)return QZc(b)}else if(!a)return QZc(b)}):_.Gh(Error("Uf"))};
var RZc=function(a){if(!a.H)return _.Gh(Error("Vf"));if(a.hh())return _.Gh(Error(a.W));var b=a.V,c=sZc(b.Qx(),b.nj());return PZc(a).then(function(d){if(d&&(d=UQ(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
TQ.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.hh()?_.Gh(Error(this.W)):PZc(this).then(function(c){var d=c&&c.o2==SQ(b.V);return d&&!a?!1:(c&&d?RZc(b):_.Fh()).then(function(){return _.Hh([OZc(b,a),MZc(b),GZc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Gh(Error("Wf"))};TQ.prototype.close=function(){this.ka("Closing database")};
var CZc=function(a,b){a.kb.info("drive.ds.sync.storage.VersionedDb",b)},SZc=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.jc(zZc).every(function(c){return b&&b.contains(c)})},TZc=function(){var a=_.Jh();_.kCc("GoogleDriveDs").vf(function(b){b?SZc(b)?a.resolve(b):(b.close(),_.Kh(vQc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},UZc=function(a,b,c){var d=_.Jh();a?_.BM(a,["Versions"],"readonly").objectStore("Versions").getAll().vf(function(e){e=
_.jc(e).map(function(f){return lZc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Qx()==b)&&(!c||f.nj()==c)}))},d.reject):d.resolve([]);return d.promise},VZc=function(a,b,c){var d=_.Jh();TZc().then(function(e){e?_.BM(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return rZc(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.n2&&(h=c+f.n2-Date.now());var k=_.BM(e,["Versions"],"readonly");k.objectStore("Versions").get(f.o2).then(function(l){(l=
lZc(l))?(l.wa=!0,0>h?l.ta=!0:0<h&&(l.Ca=h),d.resolve(l)):d.resolve(null)});_.Ej(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},WZc=function(a,b,c){var d=_.Jh(),e=new TQ(_.Fh(a),b);AZc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},XZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=WZc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Hh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+SQ(l)))});d.resolve(k)})},YZc=function(a,b,c){var d=Date.now()-12096E5,e=_.Jh();TZc().then(function(f){f?(_.Kh(e.promise,function(){return f.close()}),UZc(f,a,b).then(function(h){return h.filter(function(k){return k.AZ<d})},function(){return[]}).then(function(h){XZc(h,c,f,e)})):e.resolve([])});return e.promise},ZZc=function(a,b,c){var d=_.Jh();TZc().then(function(e){e?
(_.Kh(d.promise,function(){return e.close()}),UZc(e,a,b).then(function(f){XZc(f,c,e,d,!0)})):d.resolve([])});return d.promise},$Zc=function(a,b,c,d){if(a.length){var e=a.shift(),f=vZc(e,3,0,1);try{_.BM(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=yZc(h))&&(!h.LQ||h.LQ&&d.has(e.V))?b.resolve(e):$Zc(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},a_c=function(a,b,c,d,e,f,h){f=void 0===f?[]:f;var k=_.Jh();TZc().then(function(l){l?
(_.Kh(k.promise,function(){return l.close()}),UZc(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=SQ(q))&&q.W==c&&q.AZ>=e&&qLc(d,q.Gg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.AZ-q.AZ}),$Zc(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},b_c=function(a,b,c){this.V=a;this.H=_.Jh();this.ta=!1;this.W=_.B(b,7,"");this.ka=_.B(_.tP(b),6,2E7);this.ha=_.JM(b);this.ma=_.B(_.tP(b),12,0);this.wa=c};
b_c.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 _.Ij(this.H.promise)};
var c_c=function(a){if(a instanceof _.cC)return 0;if(a instanceof sQ)return 1;if(a instanceof nPc)return 5;if(a instanceof cQ)return 3;if(a instanceof oUc)return 6;throw new _.nb("Unsupported dataShard in getDataType");},d_c=function(a){if(0==a)return _.cC;if(1==a)return sQ;if(5==a)return nPc;if(3==a)return cQ;if(6==a)return oUc;throw new _.nb("Unsupported dataType:"+a+" in getDataTypeCtor");},e_c=function(a){if(a instanceof cQ)return _.B(a,13,0)},f_c=function(a){if(a instanceof cQ)return a.wd().length},
g_c=function(a){if(a instanceof cQ)return a=_.D(a,6),null!=a?a:void 0},k_c=function(a,b,c){if(0==c.length)return _.Fh();var d=c_c(c[0]);c.forEach(function(){});var e=e_c(c[0]);3==d&&h_c(a,c);var f=!!b;return i_c(a,c).then(function(h){return f?j_c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.Gh(Error("Xf"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return LZc(a.V,h,d,e,f)})})},i_c=function(a,
b){return new _.Dh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Bc();n.length>a.ka?e=!0:f.push(new iZc(n,f_c(l),g_c(l)))}});if(e){var h=Error("Yf"),k=new _.mb;_.DM(k,2);_.qM(k,23);_.w(k,21,h.message);_.Op(k);a.wa(k);d(h)}c(f)})},h_c=function(a,b){e_c(b[0]);b.forEach(function(){});a.ha||l_c(b);m_c(a,b)},VQ=function(a,b,c,d,e){var f=_.Jh();a.H.promise.then(function(){return JZc(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Cj;h[0]&&h[0].LQ?n_c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=d_c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||o_c(k),p_c(k));f.resolve(k)}).Sf(f.reject,f);return f.promise},l_c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].MI().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.wd()||[]).forEach(function(h){var k=WQ(_.bm(h),c,d);_.pj(h,15,k);k=WQ([h.Bo()],c,d)[0];_.Q(h,17,k);k=WQ([h.xA()],c,d)[0];_.Q(h,47,k);k=WQ([_.A(h,_.fk,91)],c,d)[0];_.Q(h,
91,k);k=WQ([h.ka()],c,d)[0];_.Q(h,95,k);if(h=h.W())_.dGc(h,WQ(_.nj(h,_.fk,2),c,d)),_.eGc(h,WQ(_.nj(h,_.fk,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});rSc(a[0],e)}},WQ=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)?_.tj(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.fk,e.lc(f),c.set(f,e),d.push(e))}else d.push(e)});return d},o_c=function(a){var b=new Map,c=new Map;a[0]&&a[0].MI()&&a[0].MI().forEach(function(d){b.set(d.getId(),
d);d=(new _.fk).lc(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.wd()||[]).forEach(function(e){var f=XQ(_.bm(e),b,c);_.pj(e,15,f);f=XQ([e.Bo()],b,c)[0];_.Q(e,17,f);f=XQ([e.xA()],b,c)[0];_.Q(e,47,f);f=XQ([_.A(e,_.fk,91)],b,c)[0];_.Q(e,91,f);f=XQ([e.ka()],b,c)[0];_.Q(e,95,f);if(e=e.W())_.dGc(e,XQ(_.nj(e,_.fk,2),b,c)),_.eGc(e,XQ(_.nj(e,_.fk,3),b,c))});rSc(d,[])})},XQ=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.tj(c.get(f),e)?d.push(_.uj(b.get(f))):
d.push(e)}else d.push(e)});return d},m_c=function(a,b){if(a.ma){a=a.ma;for(var c=b.length-1;0<=c;c--)if(_.B(b[c],13,0)){for(var d=[],e=b[c].wd();e.length>a;){var f=_.va(e,a-1,a);f=dQ(new cQ,f);d.push(f)}dQ(b[c],e);d.length&&_.Be(_.va,b,c+1,0).apply(null,d)}}},p_c=function(a){for(var b={},c=1;c<a.length;b={L2:b.L2},c++)if(!_.B(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.B(a[e],13,0);e++)d++;e=a[c-1];d=_.va(a,c,d);b.L2=e.wd();d.forEach(function(f){return function(h){_.ta(f.L2,h.wd())}}(b));dQ(e,b.L2)}},
j_c=function(a,b,c){if(!_.GM()&&a.W){var d=new Worker(a.W),e=new _.Cj;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=HUc(new GUc,c);d.postMessage({command:"encrypt",data:{request:c.Bc(),key:b}});return e}try{a=[];var f=new eZc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Hj(a)}catch(k){h=_.Jj(k)}return h},n_c=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(!_.GM()&&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 eZc(c);for(c=0;c<d.length;c++)a.push(hZc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},q_c={key:"rid",global:!0},r_c={key:"ooi",global:!0},s_c={key:"rtds",global:!1},t_c={key:"dct",global:!1},u_c={key:"pc",global:!1},
v_c=function(a){this.H=new _.Dh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},w_c=function(a,b){return a.H.then(function(c){if(c&&!c.hh())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.ub():void 0},function(){})})},YQ=function(a,b,c){return a.H.then(function(d){return d&&!d.hh()?NZc(d,[new nZc(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
v_c.prototype.sq=function(){return w_c(this,q_c).then(function(a){return a?a:null})};var x_c=function(a){return w_c(a,r_c).then(function(b){return"boolean"===typeof b?b:null})};v_c.prototype.Xz=function(a){return YQ(this,r_c,a)};
var y_c=function(a){return w_c(a,u_c).then(function(b){return"boolean"===typeof b?b:null})},z_c=function(a){return w_c(a,s_c).then(function(b){return Array.isArray(b)?b:null})},A_c=function(a){return w_c(a,t_c).then(function(b){return"number"===typeof b?b:null})},B_c=function(a,b){NYc.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.wa=null;this.Ca=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.H(B_c,NYc);
B_c.prototype.handleError=function(){this.log("Local dump population failed.");gQ(this.context.ha,"mrK8ic")};
B_c.prototype.ta=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Cj;this.wa=b;C_c(this).then(function(){var c=_.nj(_.tP(a.H),rP,11);c=c[0]&&c[0].getKey()||"";return D_c(a,a.context.Db,c,4)}).Sf(function(c){if(_.y(a.H,8,!0))return E_c(a);throw c;}).then(function(){_.JM(a.H)||a.context.V.ma.H.clear();gQ(a.context.ha,"zaOY7");b.callback()},function(c){PYc(a,8);a.handleError();b.Bd(c)});return b}this.handleError();return _.Jj(Error("Zf"))};
var C_c=function(a){return a.context.Db.initialize().then(function(){if(!_.oO(a.H)){var b=_.B(_.tP(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Dh(function(c,d){y_c(a.context.Fa).then(function(e){e?c():d(Error("$f"))})})}})},D_c=function(a,b,c,d){var e=a.ha;F_c(a,b,c,e);G_c(a,b,c,e);H_c(a,b,c,e);return I_c(a,b,c,e).then(function(){return Promise.all([J_c(a,b,c,d,e),K_c(a,b,c,d,e),L_c(a,b,c,d,e),M_c(a,b,c,d,e)])})},F_c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
VQ(b,c,0,void 0,d).then(function(f){f[0]?wXc(a.context.uc,f[0],a.Ke(),_.oO(a.H)):e()},function(){return e()})},G_c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};VQ(b,c,1,void 0,d).then(function(f){f[0]?a.context.$c.cma(f[0],a.Ke(),_.oO(a.H)):e()},function(){return e()})},H_c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};VQ(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.kw();h.length&&KYc(a.context.Na,h,
a.Ke(),_.x(f,2),_.oO(a.H))}else e()},function(){return e()})},J_c=function(a,b,c,d,e){var f=new _.xm;VQ(b,c,3,1,e).then(function(h){return N_c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||qLc(h.Kh(),_.PO(a.ka),_.nO(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.nO());var k=h.Fx();if(!k||0>k)throw Error("cg");IYc(a.context,h.sq(),d);k=h.Fx();"number"===typeof k&&JYc(a.context,Number(k));_.oO(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.vla());O_c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},K_c=function(a,b,c,d,e){var f=new _.xm;VQ(b,c,3,2,e).then(function(h){h[0]?(O_c(a,h[0],d),f.resolve()):f.reject(Error("ag"))},f.reject,f);return f.promise},L_c=function(a,b,c,d,e){var f=new _.xm;_.pO(a.H)?VQ(b,c,3,4,e).then(function(h){h.forEach(function(k){O_c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),gQ(a.context.ha,"rVezo"));return f.promise},M_c=function(a,b,c,
d,e){var f=new _.xm;_.pO(a.H)?VQ(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){O_c(a,k,d)}):gQ(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),gQ(a.context.ha,"rVezo"));return f.promise},I_c=function(a,b,c,d){var e=new _.xm;VQ(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.Fo().length&&(a.log("Importing "+h.Fo().length+" people into the PeopleCache."),h=h.Fo(),P_c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
N_c=function(a,b){var c=b.Fx();return c&&!_.oO(a.H)&&_.y(a.H,12,!1)?bZc(new $Yc(a.context.dm()),c).then(function(d){return null!=_.x(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),PYc(a,9),null):b},function(){return b}):_.Fh(b)},E_c=function(a){var b=SQ(a.context.kb.V),c=_.nj(_.tP(a.H),rP,11).filter(function(d){return null!=_.x(d,2)});return a_c(_.mO(a.H.Pe()),_.nO(a.H),_.B(_.tP(a.H),10,0)||0,_.PO(a.ka),a.ha||0,c.map(function(d){return _.x(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.x(k,1)}),f=new TQ(_.Fh(d),a.context.W,null,!0),h=new b_c(f,a.H,function(k){a.context.tb(k)});h.initialize();a.Ca=!0;return D_c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([u_c])}).then(function(k){if(k[0])return k=k[0].ub(),YQ(a.context.Fa,u_c,k)}).then(function(){f.close()})}return _.Gh(Error("bg"))})},T_c=function(a,b,c){switch(_.B(b,13,0)){case 1:return Q_c(a,b,c);case 2:b=_.A(b,XLc,11);if(!b)throw Error("dg");OYc(a,b);a.V.V?(a.V.Gw(a.Ke()),a=[{cache:a.V,changes:PQ(a.context.Ca,
null)}]):a=[];return a;case 3:return R_c(a,b);case 4:return S_c(a,b);default:return null}},Q_c=function(a,b,c){var d=[];_.nj(b,bQ,5).forEach(function(e){var f=void 0,h=_.A(e,_.am,3);h&&(_.WEc(h),_.D(a.H,67)&&fP(h,sLc),_.w(h,82,c),f=new eQ(h));var k=e.getQuery();if(!_.y(k,48,!1)||_.nj(a.H,_.be,44).some(function(l){if(!_.y(l,48,!1))return!1;l=iQ(a.context.ma,l,!0);return _.tj(l,k)}))e=new HQ(a.context.La,a.context.Ya,a.context.ma,k,f),e.Gw(a.Ke()),d.push({cache:e,changes:PQ(a.context.Ca,null)})});return d},
S_c=function(a,b){return _.nj(b,bQ,5).map(function(c){c=new QQ(a.context,a.ka,_.A(c,_.zO,5),!0);c.Gw(a.Ke());return{cache:c,changes:PQ(a.context.Ca,null)}})},R_c=function(a,b){if(!_.pO(a.H))return[];var c=_.x(_.nj(b,bQ,5)[0].getQuery(),33)[0],d=b.Fx()||void 0;b=PQ(a.context.Ca,c);ZQ(a.context).nb(function(f){f.Rda(c,d)});var e=new OQ(a.context.La,a.context.Ya,c);e.Gw(a.Ke());return[{cache:e,changes:b}]},O_c=function(a,b,c){var d=T_c(a,b,c);d&&0!=d.length?(b.wd().forEach(function(e){_.WEc(e);_.D(a.H,
67)&&fP(e,sLc);_.w(e,82,c);if(!_.JM(a.H)&&!a.context.V.ma.H.vc()){var f=a.context.V.ma;U_c(f,$Q(f,[e]))}e=new eQ(e);for(f=0;f<d.length;f++)d[f].cache.update(BQ(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new DYc(f,e.changes));a.log("Imported "+f.$Z()+" items into the "+f.getType());var h=null;f instanceof OQ&&(h=f.yc());a.context.Ge.promise.then(function(){CYc(a.context.Ca,h)})}),1==_.B(b,13,0)&&gQ(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.B(b,13,0)+".")};
B_c.prototype.Ke=function(){return this.Ca?7:3};var V_c=function(a){_.M.call(this);this.H=a};_.H(V_c,_.M);
var b0c=function(a,b){W_c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:X_c(a,b);break;case 4:Y_c(a,b);break;case 6:Z_c(a,b);break;case 2:$_c(a,b);break;case 7:a0c(a,b);break;case 5:_.nj(_.A(b,vUc,7),uUc,1).forEach(function(c){return b0c(a,c)});break;default:c0c(a,"Unsupported prefetched request.")}},X_c=function(a,b){var c=_.A(b,_.be,2);b=JSON.parse(_.x(b,3)||"{}");var d=new _.rM;_.DEc(d,c);b=_.ZIc(a.H.qc.V,d,{headers:{},text:"",json:b}).Zq();d0c(a,
c,b)},Z_c=function(a,b){d0c(a,_.A(b,_.be,2),_.A(b,_.JB,9))},d0c=function(a,b,c){for(var d=c.wd(),e=_.p(d),f=e.next();!f.done;f=e.next())_.w(f.value,82,7);c=hYc(c);a=a.H.V;b=iQ(a.H.ma,b);e=aR(a,b);bR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new cR(a.H,b),f.Gw(2),a.W[e]=f);c.vc()||f.oja(c);mP(a,d,1,b)},$_c=function(a,b){b=_.A(b,_.Ln,5);var c=a.H.H.hf();c=c&&_.x(c,30)||[];var d=new Set(c);b.kw().forEach(function(e){(e=(e=e.getKey())&&_.Kn(e))&&d.add(e)});KYc(a.H.Na,
b.kw(),2,_.hc(d.values()).concat())},Y_c=function(a,b){a.H.Fm.V(_.A(b,vQ,8).Oi(),_.A(b,_.On,6),2,!1)},a0c=function(a,b){var c=_.A(b,_.Mn,10);b=JSON.parse(_.x(b,3)||"{}");b=_.ZIc(a.H.qc.V,c,{headers:{},text:"",json:b});e0c(a.H).V([b],c,2,!1)},c0c=function(a,b,c){var d=c?void 0:_.Op(_.EM(_.DM(new _.mb,2),6));a.H.dispatchEvent(new _.ob(new _.nb(b,d,c)));W_c(a,"Prefetched request population failed.")},W_c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},dR=function(a){NYc.call(this,
a);this.H=[];this.ka=[];this.Ca=Math.ceil(1.1*_.B(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.H(dR,NYc);dR.prototype.ta=function(){if(!_.y(this.context.H,45,!1))return PYc(this,5),this.ha(),_.Jj(Error("eg"));this.log("Drive SDK cache population initiated.");return this.context.ys().nb(this.Ka,this).nb(this.Fa,this).Ae(this.ha,this)};
dR.prototype.Ka=function(){var a=this;gQ(this.context.ha,"L6uQWd");ZQ(this.context).nb(function(b){b.W1()});if(_.y(this.context.H,46,!1))return ZLc(this.context.dm(),this.context.W).nb(function(b){if(!b)throw PYc(a,4),Error("fg");OYc(a,b)});this.log("Subscribed corpus cache population disabled.");GQ(this.V);return _.Hj()};
dR.prototype.Fa=function(){var a=this;this.context.vla();var b=new _.Cj;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.jd();c.Ri(this.Ca);this.V.Gw(5);f0c(this,this.V,c)}c=_.nj(this.context.H,_.be,44);_.Ea(c,function(d){d=new HQ(a.context.La,a.context.Ya,a.context.ma,d);d.Gw(5);f0c(a,d,d.jd());d=jQ(a.context.ma,d.jd());a.log("Starting "+d+" cache hint corpus cache population.")});_.Hh(this.ka).then(b.callback,this.wa.bind(this,b),b);return b};
var f0c=function(a,b,c){var d=PQ(a.context.Ca,null);b=new rYc(a.context,b,c);a.H.push(b);b=_.Kh(sYc(b).then(function(e){!e.V&&e instanceof NQ&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Ra.kc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new DYc(e,d))}),function(){a.context.Ge.promise.then(function(){CYc(a.context.Ca,null)})});a.ka.push(b)};
dR.prototype.wa=function(a,b){_.Ea(this.H,function(d){d.dispose()});PYc(this,7);var c=b;b instanceof qQ?c=_.eN(b.error):_.nM(b)||(c=Error("gg`"+b));a.Bd(c)};dR.prototype.ha=function(){this.log("Drive SDK cache population failed.");gQ(this.context.ha,"Gv4zef")};dR.prototype.Ke=function(){return 5};
var g0c=function(a,b){_.M.call(this);this.H=a;this.ka=b;this.ma=new _.Sd(this);this.Qa(this.ma);this.W=new B_c(this.H,this.H.Ka);this.Qa(this.W);this.ha=new dR(this.H);this.Qa(this.ha);this.V=null;this.ta=[]};_.H(g0c,_.M);
var n0c=function(a){h0c(a,"Corpus cache population initiated.");a.V=a.H.ta.W(106002);_.m._DRIVE_dsp&&i0c(a);_.m._DRIVE_dspc=function(c){return i0c(a,c)};PQ(a.H.Ca,null);_.y(a.H.H,24,!1)&&!_.oO(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?j0c(a):_.m._DRIVE_ivdc=function(){j0c(a)});var b=a.H.Db;b?(a.ma.listen(a.W,"Lb",a.wa),a.ma.listen(a.ha,"Lb",a.wa),(!_.y(a.H.H,10,!1)&&_.D(a.H.H,69)?a.H.Jd.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){h0c(a,"Dump storage initialized.");
return a.W.ta().vf(function(){return k0c(a,a.W.Ke())},function(){l0c(a,a.W.Ke(),a.W.W);if(_.oO(a.H.H))m0c(a,Error("hg"));else return a.ha.ta().then(function(){return k0c(a,a.ha.Ke())},function(c){l0c(a,a.ha.Ke(),a.ha.W);return m0c(a,c)})})},function(c){m0c(a,_.nM(c)?c:void 0,!0)})})):m0c(a,void 0,!0)},i0c=function(a,b){var c=new V_c(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{b0c(c,new uUc(JSON.parse(d)))}catch(e){c0c(c,"Error parsing prefetched request.",
e)}});c.dispose()};g0c.prototype.wa=function(a){var b=a.He;h0c(this,"Cache populated: "+b.getType());this.ta.push(o0c(this,b,a.H))};
var k0c=function(a,b){CYc(a.H.Ca,null);gQ(a.H.ha,"L6uQWd");ZQ(a.H).nb(function(c){c.W1()});return Promise.all(a.ta).then(function(){return p0c(a,b)})},q0c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},p0c=function(a,b){if(!a.isDisposed()){_.oO(a.H.H)||r0c(a.ka,_.nj(a.H.H,_.be,44));h0c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.wla():y_c(a.H.Fa).then(function(d){d&&a.H.wa.wla()},function(){});gQ(c,"rVezo");gQ(c,"BNEDtc");a.V&&(b=_.WO(_.PM,b),vOc(xP(a.V),b),
uOc(xP(a.V),!0),wOc(xP(a.V),OTc(a.ka.V)),xOc(xP(a.V),q0c(a)),a.V.V());a.dispose()}},l0c=function(a,b,c){a.V&&(b=_.WO(_.PM,b),vOc(xP(a.V),b),a=xP(a.V),_.jj(a,3,c,void 0))},m0c=function(a,b,c){c=void 0===c?!1:c;CYc(a.H.Ca,null);var d=a.H.ha;gQ(d,"L6uQWd");ZQ(a.H).nb(function(e){e.W1()});gQ(d,"mrK8ic");gQ(d,"Gv4zef");gQ(d,"rVezo");gQ(d,"BNEDtc");a.H.Ra.kc("CachedCorpusType","partialCorpus");d=!!a.W.context.Db||_.y(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.nM(b)?(d=b,c+=
d.message):c+=String(b),h0c(a,c),b=new _.nb(c,void 0,d),d=b.Fg,_.DM(d,_.oO(a.H.H)?3:1),_.EM(d,6),_.Mp(d,c),_.Op(d),a.H.dispatchEvent(new _.ob(b))):h0c(a,"Corpus population skipped");a.V&&(uOc(xP(a.V),!1),a.V.V());a.dispose()},o0c=function(a,b,c){return EYc(b,c).then(function(d){d.some(function(e){return b instanceof OQ&&e.hz()&&e.Gc()==b.yc()})||LYc(a.ka,b,d)},function(){return m0c(a,Error("ig"))})},j0c=function(a){if(_.m._DRIVE_ivd){var b=new FYc(a.H,a.H.Ka);a.Qa(b);MYc(b)}else gQ(a.H.ha,"DEJoH")},
h0c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},s0c=function(a,b){_.Gg.call(this,"Mb");this.ha=a;this.H=b};_.H(s0c,_.Gg);s0c.prototype.getError=function(){return this.H};var t0c=function(a){_.Gg.call(this,"Nb");this.H=a};_.H(t0c,_.Gg);t0c.prototype.getPeople=function(){return this.H};var u0c=function(a){_.Gg.call(this,"Ob");this.H=a};_.H(u0c,_.Gg);u0c.prototype.getPeople=function(){return this.H};
var v0c=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())};v0c.prototype.Eo=function(){return this.ha.clone()};v0c.prototype.Ke=function(){return this.H};v0c.prototype.Rp=function(){return[1,4,2].includes(this.Ke())};var w0c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
w0c.prototype.create=function(a,b){if(0!=$Oc(b)){var c=this.V.W(106001);if(c){var d=$Oc(b),e=wP(c);_.w(e,2,d);d=null;if(b instanceof _.RF||b instanceof _.Gn||b instanceof _.be||b instanceof _.HN||b instanceof _.AC||b instanceof _.KF||b instanceof _.zO||b instanceof _.WN||"undefined"!=typeof _.XN&&b instanceof _.XN||b instanceof _.On)d=b.ie();b=d&&_.y(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=wP(c),_.w(d,7,b));this.H.set(a,c)}}};
var x0c=function(a,b,c){if(a=a.H.get(b))a=wP(a),_.w(a,5,c)},y0c=function(a,b,c,d,e){var f=a.H.get(b);f&&(wP(f).Dc(c),c=wP(f),_.w(c,1,d),null!=e&&(d=wP(f),_.w(d,6,e)),f.V(),a.H.delete(b))},z0c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Gb(c);c=aPc(c);if(1==e||2==c)e=_.WO(_.PM,c),d=wP(d),d=3==e||8==e?!_.D(d,5):0!=e?_.nEc.has(e):null,y0c(a,b,1,e,d)}},A0c=function(a,b,c){var d=a.W.Gb(c);d=_.WO(_.QDc,d||22);var e=aPc(c);e=_.WO(_.PM,e);y0c(a,b,d,e,"undefined"!=typeof _.$O&&c instanceof _.$O||"undefined"!=
typeof _.bP&&c instanceof _.bP||"undefined"!=typeof _.cP&&c instanceof _.cP?c.W:null)},eR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(wP(d).Dc(c),d.V(),a.H.delete(b))},C0c=function(a,b,c,d){_.N.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.lM(function(){return B0c(e)},100,this);this.H=[]};_.H(C0c,_.N);
var B0c=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));D0c(a,b)}})},D0c=function(a,b){a.ha.then(function(c){return c.H(MOc(new _.LN,b))}).then(function(c){c=c.Fo();a.dispatchEvent(new t0c(c))},function(c){c=_.fN(c);a.dispatchEvent(new s0c(b,c))})},F0c=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.ka=new _.Sd(this);this.Qa(this.ka);this.Fa=b;this.W=
d;this.Ca=e;this.V=!_.y(a,90,!1);(d=_.A(a,yMc,85))||(d=new yMc);this.wa=_.B(d,1,864E5);this.ma=new C0c(a,b,c,f);this.H=new Map;this.ta=new _.iD(function(){var k=bPc(h.Ca,106015);if(k){var l=_.A(_.VO(k),COc,11);if(!l){l=new COc;var n=_.VO(k);_.Q(n,11,l)}_.w(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();P_c(h,k,1);h.ta.BM()});this.ka.listen(this.ma,"Mb",function(k){return E0c(h,k)});this.ha=new Map};_.H(F0c,_.N);
F0c.prototype.get=function(a){var b=this.V?_.eg():"";this.V&&this.W.create(b,MOc(new _.LN,[a]));var c=this.H.get(a);if(c)return 4==c.Ke()||G0c(this,c)?(this.V&&eR(this.W,b,G0c(this,c)?6:5),H0c(this,a+" queued for refresh."),I0c(this,a)):this.V&&y0c(this.W,b,1,_.WO(_.PM,10),null),c;this.V&&eR(this.W,b,5);return null};
var I0c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.JM(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.iD());c=new _.xm;a.ha.set(b,c);return c.promise},K0c=function(a,b){var c=a.V?_.eg():"";a.V&&a.W.create(c,MOc(new _.LN,[b]));return J0c(a,b)?(a.V&&y0c(a.W,c,1,_.WO(_.PM,10),null),Promise.resolve(a.H.get(b))):I0c(a,b).then(function(){a.V&&(J0c(a,b)?y0c(a.W,c,1,_.WO(_.PM,1),null):eR(a.W,c,3));return a.H.get(b)})};
F0c.prototype.vc=function(){return 0==this.H.size};F0c.prototype.clear=function(){H0c(this,"Clearing the PeopleCache.");this.H.clear()};
var L0c=function(a){return _.hc(a.H.values()).concat().filter(function(b){return b.Rp()}).map(function(b){return b.Eo()})},M0c=function(a,b){return(a=a.H.get(b))?_.hc(a.V).concat():[]},N0c=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==_.hc(e.V).concat().length&&a.H.delete(d))}},P_c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(H0c(a,"Importing "+b.length+" from "+(Object.keys(mUc)[c]+".")),O0c(a,b,c)):H0c(a,"Attempted to import people data from an invalid source.",
"warning")},Q0c=function(a,b,c,d){0!=b.length&&P0c(a,b,c,void 0===d?0:d)},J0c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Rp())||(c=4==b.Ke()||G0c(a,b));return!c},P0c=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(_.x(h,1))){var k=d;if(_.x(h,1)!=_.x(f.Eo(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.Ke();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.tj(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&&I0c(f,_.x(h,1)),k=new v0c(h,l,k),f.H.set(_.x(h,1),k))}return e},G0c=function(a,b){return 1==b.Ke()&&Date.now()-Number(b.W)>a.wa},H0c=function(a,b,c){a.Fa.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},E0c=function(a,b){b=b.ha.map(function(c){var d=a.H.get(c);return d?d.Eo():bMc(new lP,c)});O0c(a,b,4)},O0c=function(a,b,c){for(var d=_.p(b),e=d.next();!e.done;e=d.next()){e=_.x(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}P0c(a,b,void 0,c)&&a.dispatchEvent(new u0c(b))},R0c=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.V=new _.Sd(this);this.Qa(this.V);this.H=new F0c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.H(R0c,_.N);R0c.prototype.e2=function(a){if(a.H){var b=a.H.getItem(),c=$Q(this,[b]).map(function(d){return dMc(d)});Q0c(this.H,c,a.H.getId(),S0c(_.x(b,82)))}a.V&&N0c(this.H,a.id,T0c(this,a))};
var S0c=function(a){return _.oEc.get(a)||0},T0c=function(a,b){var c=U0c(a,b.V),d=U0c(a,b.H);return c.filter(function(e){return!d.includes(e)})},U0c=function(a,b){return b?$Q(a,[b.getItem()]).map(function(c){return _.QF(c)}):[]},W0c=function(a,b){b=b.getUser();Q0c(a.H,[dMc(b)],"ACCOUNT");V0c(a,b)},X0c=function(a,b){var c=_.nj(b,_.AO,2).map(function(d){var e=_.A(d,_.fk,9,1);return K0c(a.H,_.QF(e)).then(function(){return void U_c(a,[e])})});return Promise.all(c).then(function(){return b})},U_c=function(a,
b){b=_.p(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.QF(c)&&V0c(a,c)},Y0c=function(a,b,c){for(var d=new Set,e=_.p(b),f=e.next();!f.done;f=e.next())f=f.value,_.QF(f)&&(d.add(_.QF(f)),Q0c(a.H,[dMc(f)],c));return Promise.all(_.hc(d).concat().map(function(h){return K0c(a.H,h)})).then(function(){return U_c(a,b)})},Z0c=function(a,b){return $Q(a,[b]).some(function(c){return!vXc(a,_.QF(c))})},vXc=function(a,b){return J0c(a.H,b)},$Q=function(a,b){return b.map(function(c){var d=c.W();d=d?_.hc(_.nj(d,
_.fk,2)).concat(_.hc(_.nj(d,_.fk,3))):[];var e=c.ef();e=(e=e&&_.Uc(e))?$Q(a,[e]):[];return _.hc(_.bm(c)).concat([c.Bo(),c.xA(),_.A(c,_.fk,91),c.ka()],_.hc(d),_.hc(e))}).flat().filter(function(c){return c&&!!_.QF(c)})};R0c.prototype.getItems=function(a){return M0c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var $0c=function(a,b){return b.map(function(c){c=c.clone();var d=$Q(a,[c]);d=_.p(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.w(e,3,void 0),_.w(e,8,void 0),_.w(e,5,void 0);return c})},V0c=function(a,b){var c=a.H.get(_.QF(b));if(c){a=c.Eo();var d=a.getName();d=_.w(b,3,d);d=_.GFc(d,a.getEmail());c=_.mEc.get(c.H)||1;_.w(d,16,c);(a=_.A(a,cMc,4))&&_.FFc(b,a.getUrl())}},a1c=function(){MQ.apply(this,arguments)};_.H(a1c,MQ);
a1c.prototype.hD=function(a){var b;if(b=MQ.prototype.hD.call(this,a))a=a&&a.getItem()&&a.getItem().Kl(),b=!(!a||!a.Tr());return b};a1c.prototype.jd=function(){};a1c.prototype.getType=function(){};a1c.prototype.A8=function(){};
var b1c=function(a,b){this.V=a;this.W=b;this.H={}},d1c=function(a,b){if(!_.DN(b)){var c=_.x(b,33);if(1==c.length)c1c(a,c[0],b);else{c=_.kO(b);if(1==c.length&&!_.y(c[0],2,!1)){var d=c[0].ub();c=a.W.get(d);if(!c){c=a.V.V.wa;var e=_.ke(new _.je,310);c.H([d],e).then(function(f){if((f=f[d])&&f.yc()){var h=f.getCapabilities();h&&_.Wl(h)&&(f=f.yc(),c1c(a,f,b))}else c1c(a,null,b)});return}if(c.getItem().yc()&&_.Wl(c.getItem().getCapabilities())){c=c.getItem().yc();c1c(a,c,b);return}}c1c(a,null,b)}}},c1c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!mQ(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(ZQ(a.V).nb(function(e){e.Rda(b)}),e1c(a.V.Lv,b))},f1c=function(a,b){if(!_.DN(b)){var c={},d;for(d in a.H){c.VK=d;for(var e=0;e<a.H[c.VK].length;e++)if(_.tj(b,a.H[c.VK][e])){_.la(a.H[c.VK],e);"subscribed"!=c.VK&&ZQ(a.V).nb(function(f){return function(h){h.epa(f.VK,!1)}}(c));return}c={VK:c.VK}}}},g1c=function(){this.H=new Map;this.V=[];this.W=[]};
g1c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.iN(e)&&(a?(e=a.getItem().ef())&&_.x(e,1)&&(1==_.Xc(e)||3==_.Xc(e))&&(e=_.x(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&&!_.tj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var h1c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},i1c=function(a){a.V=[];a.W=[]},fR=function(a,b,c,d){_.N.call(this);this.request=a;this.Ka=b;this.Ca=c;this.Fa=d;this.ha=new Set;this.wa=0;this.H=null};_.H(fR,_.N);var j1c=function(a){if(a.H)return a.H.promise;a.H=_.Jh();a.W(a.request).forEach(function(b,c){a.wa++;a.Ka.then(function(d){return d.H(b)}).then(a.Na.bind(a,c),a.La.bind(a,c))});return a.H.promise};fR.prototype.Na=function(a,b){this.ka(b);k1c(this,a)};
var k1c=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")};fR.prototype.La=function(a,b){b=_.fN(b);var c=b.Fg;5==c.Or()||4==c.Mi()?(this.Fa.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),k1c(this,a)):(a=new qQ(c,_.B(this.Ca.hf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var l1c=function(a,b){fR.call(this,_.uj(a),b.dm(),b.H,b.W);this.V=b};_.H(l1c,fR);
l1c.prototype.W=function(a){var b=new Map;a.Il().forEach(function(c){var d=_.uj(a);d=_.w(d,2,[c]);b.set(c,d)});return b};l1c.prototype.ka=function(a){a=a.wd()[0];mP(this.V.V,[a],1,void 0,!0,this.request.Kh())};l1c.prototype.ma=function(a){mP(this.V.V,[],1,a,!1,this.request.Kh())};l1c.prototype.ta=function(a){a=_.VM(_.RM(new _.QM,a));this.V.V.ta([a])};var m1c=function(a,b,c,d){IQ.call(this,a);this.W=b;this.jc=c;this.V={};d&&this.Ez(d,!0)};_.H(m1c,IQ);_.g=m1c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=hQ(this.context.H)!=hQ(this.context.H,this.jc.Kh()),c=[];this.jc.Il().forEach(function(h){var k=a.V[h];k&&k.getItem().Uj()&&!b||c.push(h)});if(0==c.length)return this.Ez([],!1),_.Fh();var d=_.uj(this.jc);_.w(d,2,c||[]);var e=new l1c(d,this.context),f=_.Jh();this.context.ka.Bf()?(this.Rd.listen(this.context.ka,"Cb",function(h){h.Bf()||(a.Rd.Qc(a.context.ka,"Cb"),UXc(a),j1c(e).then(f.resolve,f.reject,f))}),this.H=0<_.We(this.V)?1:2):(this.context.Pg.Bf()&&
(this.H=0<_.We(this.V)?1:2),UXc(this),j1c(e).then(f.resolve,f.reject,f));return f.promise};_.g.i4=function(a){return this.context.ma.equals(a,this.jc)&&mLc(_.PO(this.W),a.Kh())};_.g.US=function(a){var b=new _.XO;b.Dc(this.H);hQc(b,this.Ke());iQc(b,_.Ue(this.V,function(c){return c?c.getItem():null}));PXc(this,a.Kh(),b.Os());return b};_.g.resize=function(){};_.g.jd=function(){return this.jc};
_.g.NN=function(a){var b=n1c(this,a.V),c=n1c(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 n1c=function(a,b){return!!b&&a.jc.Il().includes(b.getId())},cR=function(a,b,c,d,e){IQ.call(this,a);var f=this;this.jc=_.uj(b);this.ha=new LQ(this.context,this.jc,!1,e);this.wa=0;b=this.jc.Ve()&&OSc(this.jc.Ve());e=this.context.Ya;this.ka=b?(0,_.I)(e.compare,e,this.jc):null;this.Cc=!b||!ATc(this.jc)||_.tM(a.H.Pe());this.uc=zTc(this.jc);this.V=[];this.ta={};this.Db=null;this.Ya=!1;this.kb=[];this.Ca=[];this.Xb=this.Jb=this.tb=null;this.W=0;c&&this.Ez(c,!d);this.qc=null;this.La=Date.now();this.Na=
_.B(a.H.hf(),16,36E5);_.gO(this.jc)&&this.Rd.listen(this.context.nh,"Jb",this.Hc);_.hd(this,function(){_.Zb(f.ha);o1c(f)})};_.H(cR,IQ);cR.prototype.refresh=function(){return p1c(this,!1)};var p1c=function(a,b){a.H=6;if(_.y(a.jc,48,!1))return a.H=1,_.Fh();if(_.gO(a.jc)){var c=q1c,d=a.context.nh.H;d=Math.max(Date.now()-d,a.Na);c(a,Math.min(d,2592E5))}return r1c(a,b)};cR.prototype.initialize=function(){return this.W>=this.jc.ih()||1==this.H?_.Fh():this.refresh()};
var o1c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},q1c=function(a,b){_.m.clearTimeout(a.qc);a.qc=_.m.setTimeout(function(){return p1c(a,!0)},b)};cR.prototype.Hc=function(){Date.now()-this.La>this.Na&&q1c(this,0)};
var r1c=function(a,b){a.ha&&(a.Rd.Qc(a.ha,"Gb",a.oja),a.Rd.Qc(a.ha,"Hb",a.PDa),a.ha.dispose());var c=a.jc.ie();c&&_.le(c,!1);a.ha=new LQ(a.context,a.jc,b);a.wa=0;a.Rd.listen(a.ha,"Gb",function(){return a.oja(a.ha.ha)});a.Rd.listen(a.ha,"Hb",a.PDa);return s1c(a)},s1c=function(a){var b=_.Jh();a.context.ka.Bf()?a.Rd.listen(a.context.ka,"Cb",function(c){c.Bf()||(a.Rd.Qc(a.context.ka,"Cb"),t1c(a,b))}):t1c(a,b);return b.promise},t1c=function(a,b){UXc(a);var c=a.jc.ih()+a.wa;_.cla(kYc(a.ha,c).vf(b.resolve,
b.reject,b),function(){return a.La=Date.now()})};_.g=cR.prototype;_.g.resize=function(a){var b=0;for(var c=_.p(new Set(_.hc(this.ma).concat())),d=c.next();!d.done;d=c.next()){d=d.value;var e=JQ(this.context);d=SXc(e,d).jd();b=Math.max(b,d.ih())}_.gO(this.jc)?(this.jc.Ri(b),2!=this.Ke()&&!this.ha.H&&(b>this.W||a)?this.refresh():u1c(this)):this.jc.ih()!=b&&(this.jc.Ri(b),b>this.W?s1c(this):u1c(this))};_.g.jd=function(){return this.jc};_.g.i4=function(a){return this.context.ma.equals(a,this.jc)};
_.g.US=function(a){var b=a.ih(),c,d=!1;if(_.EN(this.jc)){var e=this.V.slice();var f=this.Ca.slice(0,b);if(this.Ca.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.gm(k.getItem()).filter(function(l){return h.includes(l.Eo().getId())});k=k.clone();gLc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.gm(l.getItem()).length})}d=vLc(e);c=new _.YO;hPc(c,!1);iPc(c,f)}else e=this.V.slice(0,b),c=new _.JB,WNc(c,b<this.V.length||!(this.context.ka.Bf()||this.context.Pg.Bf())&&
1!=this.H),_.Q(c,7,this.Db),_.w(c,8,this.Ya),_.tGc(c,this.kb),d=vLc(e);e=kP(e);PXc(this,a.Kh(),e);c.Zv(e);c.Dc(d?6:1==this.H||b<=this.W?1:this.context.ka.Bf()||this.context.Pg.Bf()?0<this.V.length?1:2:6);c.JW(this.Ke());c.$H(this.tb);c.setSessionId(this.Jb);c.KW(this.Xb);return c};_.g.oja=function(a){this.Db=a.ma;this.Ya=a.V;this.kb=a.W;this.Ca=a.ha;this.tb=a.ka;this.Jb=a.getSessionId();this.Xb=a.wa};_.g.PDa=function(){var a=this.jc.ih()-this.W;0<a&&iYc(this.ha)&&(this.wa+=a,s1c(this))};
_.g.Ez=function(a,b){_.gO(this.jc)&&o1c(this);var c=!1;a=_.p(a);for(var d=a.next();!d.done;d=a.next())d=BQ(d.value),c=this.NN(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&&(v1c(this,"ViewCache unsorted after import"),this.context.Ya.sort(this.jc,this.V));c&&QXc(this)};
_.g.NN=function(a,b){var c=this.ta[a.id],d=!!c,e=w1c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&v1c(this,"Updating different wrapper from the existing one"):v1c(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)?(x1c(this,b),y1c(this,a)):(c=this.V,d=this.ka?_.Ba(this.V,b,this.ka):_.fa(this.V,b),c[d]=a,a.H++,z1c(a)&&this.W++,b.H--,z1c(b)&&this.W--,_.af(this.ta,b.getId()),this.ta[a.getId()]=a)):(x1c(this,f),_.gO(this.jc)&&q1c(this,0));
else{if(_.gO(this.jc)&&!b)return!1;y1c(this,a.H)}else return!1;return!0};
var y1c=function(a,b){a.ka?$Kc(a.V,b,a.ka):a.V.push(b);b.H++;z1c(b)&&a.W++;a.ta[b.getId()]=b},x1c=function(a,b){if(a.ka){var c=a.V,d=_.Ba(c,b,a.ka);0<=d&&_.la(c,d)}else _.oa(a.V,b);b.H--;z1c(b)&&a.W--;_.af(a.ta,b.getId())},w1c=function(a,b,c){if(!b)return!1;if(a.Cc&&!_.gO(a.jc)){if(c)return!0;if(!a.uc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=nQ(a.context.La,a.jc,b.getItem());return c&&a}}if(!nQ(a.context.La,a.jc,b.getItem()))return!1;var e=1.2*a.jc.ih();if(1==a.H||!a.ka||
CSc(b.V,2)||a.W<e||c||QLc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},u1c=function(a){if(1!=a.H&&!a.context.ka.Bf()&&!a.context.Pg.Bf()){var b=1.2*a.jc.ih();if(!(b>=a.W||a.ha&&b>=a.ha.hc())){b=a.W-a.jc.ih();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];CSc(d.V,2)||QLc(d.getItem())||(d.H--,z1c(d)&&a.W--,_.af(a.ta,d.getId()),_.la(a.V,c),b--)}r1c(a,!1)}}},v1c=function(a,b){var c=new _.mb;_.DM(c,2);_.EM(c,6);_.Op(c);a.context.dispatchEvent(new _.ob(new _.nb(b,
c)))},z1c=function(a){return!CSc(a.V,2)&&3!=hP(a.getItem())};cR.prototype.Fa=function(){u1c(this)};cR.prototype.Ka=function(a){return 1!=this.H&&a.ih()>this.W&&this.ha.H};
var A1c=[50],C1c=function(a,b){_.M.call(this);var c=this;this.Ya=new _.Sd(this);this.Qa(this.Ya);this.H=a;this.Ca=b;this.W={};this.ka=new uYc(a.ma);this.ha=new HTc(a.Zf,a.La,a.Ya);this.Ka=new g1c;_.D(a.H,60)&&(this.Jb=new a1c(a.La,a.Ya));this.Fa=new rTc(a.W,_.PO(this.Ca));(b=_.IM(this.H.H))&&!_.y(b,1,!1)&&B1c(this,_.x(this.H.H,28));this.V=new KTc(this.Ca,this.H.ma,this.ha,this.Fa);this.H.ta.ha.H=this.V;this.wa=new mYc(this.H,this.Ca,this.W,this.ha);this.Ra=new b1c(this.H,this.ha);this.La=new g0c(this.H,
this);_.hd(this.La,function(){c.La=null});this.tb=_.SEc(VOc(this.Ca),A1c);fQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.y(this.H.H,15,!1)||this.H.Xb||b.push("NVkrgc");fQ(this.H.ha,b,function(){var d=new _.fk;d.lc(c.H.Xb);_.w(d,7,!0);_.w(d,6,1);var e=new _.Ul;_.KFc(e,!0);_.w(e,2,!1);_.w(e,3,!1);_.w(e,4,!1);_.w(e,5,!1);_.w(e,6,!0);_.LFc(e,!0);_.w(e,10,!1);_.OFc(e,!1);_.QFc(e,!1);_.PFc(e,!1);_.MFc(e,!1);_.NFc(e,!1);_.TFc(e,!1);var f=new _.am;f.lc(c.H.sq());f.setTitle(_.B(c.H.H,
38,"My Drive"));_.iM(f,"application/vnd.google-apps.folder");f.Mn(!1);_.Q(f,17,d);_.pj(f,15,[d]);_.jM(f,1);_.w(f,29,!0);_.w(f,63,!0);f.an(e);mP(c,[f],1);gQ(c.H.ha,"hVFf7")});this.Na=_.Jh();fQ(this.H.ha,["BNEDtc"],function(){c.Na.resolve()});this.ma=new R0c(this.H.H,this.H.W,a.dm(),a.On,this.H.ta,this.H.Jd.promise);_.JM(this.H.H)&&this.Ya.listen(this.ma,"Ob",this.Db)};_.H(C1c,_.M);
C1c.prototype.Db=function(a){var b=this,c=a.getPeople();bR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.p(c);for(var e=c.next();!e.done;a={b3:a.b3},e=c.next())a.b3=e.value,this.ma.getItems(_.x(a.b3,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();bR(b,"Unexpected missing wrapper for "+h+" with "+(_.x(f.b3,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});mP(this,_.hc(d.values()).concat(),1);this.H.wa.update(6)};C1c.prototype.initialize=function(){n0c(this.La)};
var H1c=function(a,b,c){if(c instanceof _.be)c=iQ(a.H.ma,c),D1c(a,c.Kh()),d1c(a.Ra,c),a=E1c(a,c),MXc(a.cache,b);else if(c instanceof _.Gn)c=F1c(a,c),D1c(a,c.Kh()),a=G1c(a,c),MXc(a.cache,b);else if(c instanceof _.zO){var d=aR(a,c),e=a.W[d];e?(3==e.H?(bR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):bR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,Wr:!1}):(bR(a,d+" | ItemQueryRequest backed by new cache"),e=new QQ(a.H,a.Ca,c),e.refresh().Sf(_.ze),
a.W[d]=e,a={cache:e,Wr:!0});MXc(a.cache,b)}else if(c instanceof _.KF)d=c.Kh(),e=a.Fa,sTc(e,e.V,e.ha,d),a=G1c(a,c),MXc(a.cache,b);else throw Error("jg");return a.Wr},I1c=function(a,b,c){if(c instanceof _.be)c=iQ(a.H.ma,c),f1c(a.Ra,c);else if(c instanceof _.Gn)c=F1c(a,c);else if(!(c instanceof _.zO||c instanceof _.KF))throw Error("jg");c=aR(a,c);var d=a.W[c];d&&(NXc(d,b),d.isDisposed()&&delete a.W[c])},aR=function(a,b){return jQ(a.H.ma,b,2)},E1c=function(a,b){var c=aR(a,b),d=a.W[c];if(d)return 3==d.H?
(bR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):bR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Wr:!1};bR(a,c+" | ItemQueryRequest not found in existing view cache");d=[];for(var e=5,f,h,k=vYc(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.fC(b);if(5!=e){f=1==e?void 0:b.ih();d=n.Eia(b,f);f=n.Ke();h=n instanceof HQ?n.AF():"";bR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.$Z()+" | initial "+d.length));break}}5==e&&bR(a,c+" | ItemQueryRequest backed by new cache");
if(a.H.ka.Bf()||a.H.Pg.Bf())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.fC(b)?e.fC(b):6,bR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new cR(a.H,b,d,1==e,h);f&&d.Gw(f);d.Ez(a.ha.query(b,2),1!=e);d.initialize().Sf(function(q){q=_.FM(q);_.Op(q);a.H.dispatchEvent(new _.ob(new _.nb("Error during view cache init",q)))});a.W[c]=d;return{cache:d,Wr:!0}},G1c=function(a,b){var c=aR(a,b),d=!1,e=a.W[c];if(e)e.i4(b)?bR(a,"FindByIdsRequest backed by existing query cache: "+
c):(d=a.ha.getAll(b.Il()),b=J1c(a,b,d),d=!0,a.W[c]=b,K1c(e,b),e=b,bR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Il());e=J1c(a,b,f);d=!0;a.W[c]=e;bR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Wr:d}},J1c=function(a,b,c){var d;b instanceof _.Gn?d=new cYc(a.H,a.Ca,b,c):d=new m1c(a.H,a.Ca,b,c);c.length&&d.Gw(8);d.refresh().Sf(_.ze);return d},L1c=function(a){return Object.values(a.W).filter(function(b){return b.jd()instanceof
_.zO})};C1c.prototype.kb=function(a){for(var b=_.ke(new _.je,309),c=[],d=_.p(Object.entries(this.Fa.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=XSc(this.H.ma,c,!0),bR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var OXc=function(a,b,c){c&&c.length&&uTc(a.Fa,b,c);_.JM(a.H.H)&&(a=a.ma,U_c(a,$Q(a,b)))},LYc=function(a,b,c){if(b instanceof QQ){var d=aR(a,b.jd()),e=a.W[d];if(e){M1c(a,b,e);bR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof FQ&&a.ka.removeAll([b]);var f={},h=_.cf(a.ha.H),k=[];b.iy().forEach(function(n){var q=n.getId(),t=a.ha.get(q);if(t){var v=hP(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(XUc(n,t));_.af(h,q)}else q=BQ(n),a.ha.update(q),a.Ka.update(q),
_.JM(a.H.H)&&a.ma.e2(q);_.JM(a.H.H)&&N1c(a,n.getItem())});_.Se(h,function(n){k.push(BQ(n))});d=_.p(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof QQ?(d=aR(a,b.jd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.Se(f,function(n){var q=new _.QM;_.RM(q,n.getId());q.setItem(n);l.push(q)});a.ta(l);bR(a,"Merged cache: "+b.getType());b instanceof OQ&&c.forEach(function(n){O1c(a.H.Wj,n)});a.H.wa.update(3)},M1c=function(a,b,c){if(c instanceof QQ&&(c=c.iy(),b=b.iy(),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()){bR(a,"(b/160317444) Inconsistent shared drives list found.");_.Lj(Error("kg"));cPc(a.H.ta,160317444);break}}}},K1c=function(a,b){(new Set(_.hc(a.ma).concat())).forEach(function(c){MXc(b,c);NXc(a,c)})},mP=function(a,b,c,d,e,f){f||(f=d?_.hc(d.Kh().filter(function(C){return!_.PO(a.Ca).includes(C)})).concat():[]);d&&d instanceof _.be&&_.gO(d)&&P1c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new eQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,z=Q1c(a,t,q);if(null!=z)q.ZG(z),R1c(a,v,n),PLc(n),n=pTc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.JM(a.H.H)&&N1c(a,n);!t||S1c(a,v,n,f)?(k.push(WUc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=aR(a,d),b=a.W[b],d instanceof _.be&&(d=yYc(a.ka,d))&&d.Ez(h,!!e),b&&b.Ez(h,!!e));0<k.length&&(e=_.jc(a.W),b&&_.oa(e,b),T1c(a,k,e,f),U1c(a,h));JQ(a.H).ka()},N1c=function(a,b){Z0c(a.ma,b)||5!=hP(b)||
_.mGc(b,1)},S1c=function(a,b,c,d){(b=b?b.clone():null)&&OXc(a,[b],d);return!_.tj(b,c)},P1c=function(a,b,c){V1c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(gP(f,d,[1002]),gP(f,d,[1003]),gP(f,d,[1005]),b[e]=f);_.DN(c)&&0<_.x(c,33).length&&_.nGc(d,_.x(c,33)[0])})},V1c=function(a,b,c){var d;_.DN(c)?d="quick access":_.EN(c)?d="people predict":_.FN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");bR(a,"Got "+b.length+" items for "+d+": "+c)},W1c=function(a,b){var c=
{};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.Se(c,function(d,e){e=Number(e);mP(a,kP(d),e)})};
C1c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.hz()?null:d.getItem(),f=d.Gc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new eQ(e,void 0,void 0,d.Fx()||void 0);var l=Q1c(this,f,k);if(null==l)continue;k.ZG(l);R1c(this,h,e);_.y(d,5,!1)&&fP(e,sLc);PLc(e);e=pTc(e,h);k.setItem(e);_.JM(this.H.H)&&N1c(this,e)}l=this.H.Lv;O1c(l.H.Wj,d);if(mQ(d)){var n=d.yc();d.hz()?X1c(l,n):(d=d.getItem(),qTc(d)&&Y1c(l,n))}!h&&!e||_.tj(h,e)||b.push(WUc(f,k))}T1c(this,b,_.jc(this.W),
[])};
var R1c=function(a,b,c){b&&!c.Kl()&&gP(c,b,a.tb);var d=b?b.ef():null,e=c.ef();e=e?_.Uc(e):null;d&&e&&R1c(a,_.Uc(d),e);b&&!_.fm(c)&&gP(c,b,[1002]);b&&!_.gm(c).length&&gP(c,b,[1003]);b&&!c.uI().length&&gP(c,b,[1005]);b&&null==c.ta()&&gP(c,b,[71]);b&&null==_.x(c,79)&&gP(c,b,[73]);b&&_.D(b,31)&&!_.D(c,31)&&(fP(c,sLc),bR(a,"Cleared Item Suggest data for "+b.getId()+"."))},ZXc=function(a,b,c){if(b instanceof _.be||b instanceof _.Gn||b instanceof _.zO)b=aR(a,b),(a=a.W[b])&&TXc(a,c);else throw Error("jg");},
Q1c=function(a,b,c){var d=c.getItem();if(Z1c(a.H.Tf,d.getId()))return null;if(b){if(!BSc(b.V,c.V))return null;a=b.getItem();if(3!=hP(a)&&!mQ(a)&&!mQ(d)&&a.yc()==d.yc())if(_.x(a,75)&&_.x(d,75)){if(_.x(a,75)>_.x(d,75))return null}else if(b.Fx()&&c.Fx()){if(b.Fx()>c.Fx())return null}else if(a.kq()>d.kq())return null}return DSc(b&&b.V,c.V)},$1c=function(a,b){(a=a.ha.get(b))&&a.ZG(DSc(a.V,-2))},a2c=function(a,b,c){b=_.p(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Fa.update(d.id,d.H?d.H.getItem():
null,c)},T1c=function(a,b,c,d){_.JM(a.H.H)&&b.forEach(function(k){return a.ma.e2(k)});a2c(a,b,d);c=_.p(c);for(d=c.next();!d.done;d=c.next())RXc(d.value,b);c=0;b=_.p(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=vYc(a.ka);var h=_.p(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.D(a.H.H,60)&&a.Jb.update(e);a.ha.update(e);a.Ka.update(e);a.ha.get(e.id)||wTc(a.Fa,e.id)}0<c&&a.H.wa.VDa(c);b2c(a)},b2c=function(a){var b=a.Ka.V.slice(0),c=h1c(a.Ka);i1c(a.Ka);if(b.length){bR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.je;_.ke(d,308);a.wa.H(b,d,!0)}if(c.length){bR(a,"Updating locally stale shortcuts: "+c.join(", "));b=LTc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().ef(),k=_.x(h,1);if(k=a.V.H(k))_.Q(h,5,k),_.w(h,4,1),e.push(f)});W1c(a,e)}},F1c=function(a,b){_.Ca(b.Kh());var c=_.fa(b.Il(),"root");if(0>c)return b;b=_.uj(b);b.Il()[c]=a.H.sq();return b},B1c=function(a,b){b=WOc(a.Ca,b);a=a.Fa;sTc(a,a.H,a.W,b)},D1c=function(a,
b){var c=_.IM(a.H.H);c&&_.y(c,1,!1)&&B1c(a,b)},U1c=function(a,b){a.Na.promise.then(function(){var c=b.filter(function(e){return 4==hP(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});bR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.ke(new _.je,311);a.wa.H(c,d)}})},r0c=function(a,b){a.Na.promise.then(function(){b.forEach(function(c){if(!yYc(a.ka,c)){bR(a,"Adding new cache hint for "+aR(a,c));var d=new HQ(a.H.La,a.H.Ya,a.H.ma,c);c=new rYc(a.H,d,c);var e=PQ(a.H.Ca,null);_.Kh(sYc(c).then(function(){EYc(d,
e).then(function(f){LYc(a,d,f)})}),function(){CYc(a.H.Ca,null)})}})})},bR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},c2c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},d2c=function(a,b){a=c2c(a);b=c2c(b);return!(!a||!b||a!=b)},e2c=function(a){return a.Gc()+"_"+c2c(a.getName())},gR=function(a,b){_.M.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.H(gR,_.M);
var h2c=function(a,b){a.H.add(b);f2c(a).then(function(){return g2c(a,b)})};gR.prototype.Ke=function(){return this.ka};gR.prototype.ema=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.G9(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?i2c(this):_.Fh([])};
var i2c=function(a){for(var b=[],c=_.p(a.H.values()),d=c.next();!d.done;d=c.next())b.push(g2c(a,d.value));return _.Hh(b)},j2c=function(a,b){a.status=3;for(var c=[],d={},e=_.p(a.H.values()),f=e.next();!f.done;d={sca:d.sca},f=e.next())d.sca=f.value,c.push(a.ha.then(function(h){return function(k){k.Fa[h.sca]=b;k.V||(k.V=_.Nh(k.ka,50,k))}}(d)));_.Hh(c)},k2c=function(a){for(var b=[],c={},d=_.p(a.H.values()),e=d.next();!e.done;c={tca:c.tca},e=d.next())c.tca=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.tca])&&h.eJ()}}(c)));_.Hh(b).then(function(){var f=0==a.Ke()?1:6;a.ka=f})},f2c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=SXc(b,d).jd();c=Math.max(c,d.ih?d.ih()||0:0)});a.D9(c)})},l2c=function(a,b){return b?a.ma.get(a.E6(b)):null};gR.prototype.E9=function(a,b){b=DSc(l2c(this,a),b);this.ma.set(this.E6(a),b)};gR.prototype.E6=function(a){return a};gR.prototype.Y5=function(){};
var g2c=function(a,b){return a.ha.then(function(c){var d=a.a_();c.Ca[b]=d;c.V||(c.V=_.Nh(c.ka,50,c))})};gR.prototype.removeItem=function(){};var hR=function(a,b){_.N.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.H(hR,_.N);
var m2c=function(a){return!a.ma||""!=a.ha},iR=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&m2c(a)?n2c(a):_.Fh()},n2c=function(a){a.ma=!0;a.V=!0;var b=a.A4(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return o2c(a,c)},function(c){a.V=!1;c=_.FM(c);var d=new qQ(c);a.UDa(d);a.dispatchEvent(d);return _.Gh(c)})},o2c=function(a,b){a.V=!1;a.ha=a.Q6(b);b=a.l6(b);b.forEach(function(c){return a.H.push(c)});a.b_(b);return a.H.length<a.W&&m2c(a)?_.Hh([_.Fh(b),n2c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Fh(b)};hR.prototype.b_=function(){};hR.prototype.UDa=function(){};var p2c=function(a,b,c){hR.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Sf(function(e){return _.gN(e)})});this.ka=b};_.H(p2c,hR);_.g=p2c.prototype;_.g.A4=function(a,b,c){a=_.uj(a);a.Ri(b);return new _.cFc(a,c)};_.g.Q6=function(a){return a.pageToken||""};_.g.l6=function(a){return a.response.V()};_.g.b_=function(a){jR(this.ka,a,!1,1)};
_.g.UDa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&j2c(b,a)};var q2c=function(a,b,c,d){gR.call(this,a,_.uj(d));this.V=[];this.W=null;this.wa=b;this.ta=c};_.H(q2c,gR);q2c.prototype.refresh=function(){k2c(this);this.W=new p2c(this.wa,this.ta,this.request);return iR(this.W,this.request.ih()||100)};var r2c=function(a,b){return a.V.find(function(c){return d2c(c.getName(),b)})};_.g=q2c.prototype;
_.g.D9=function(a){this.W&&a==this.request.ih()||(this.request.Ri(a),this.W?iR(this.W,a):this.refresh())};_.g.a_=function(){var a=this,b=qQc((new GP).Dc(this.status),this.V.filter(function(c){return a.ta.Gka(c)}).map(function(c){return c.clone()}));return new _.aP(b,void 0,void 0,this.Ke())};_.g.ema=function(a,b,c){var d=this;a=a.filter(function(e){return e.Gc()==d.request.Gc()});return gR.prototype.ema.call(this,a,b,c)};
_.g.G9=function(a,b){b=void 0===b?1:b;if(!BSc(l2c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return d2c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.E9(a.getName(),b);return!0};_.g.removeItem=function(a){_.pa(this.V,function(b){return d2c(b.getName(),a)})&&(this.ma.delete(this.E6(a)),i2c(this))};_.g.E6=function(a){return c2c(a)};_.g.E9=function(a,b){r2c(this,a)&&gR.prototype.E9.call(this,a,b)};
_.g.Y5=function(a){var b=this;return a instanceof _.SN&&a.Gc()!=this.request.Gc()?[]:a.mM().map(function(c){return r2c(b,c.Jk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var kR=function(){this.H=new Map},s2c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.D4(c),a.H.set(d,e));h2c(e,b);return f},t2c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.qfa(c),a.H.set(d,e));h2c(e,b);return f},u2c=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)))},v2c=function(a,b){return a.H.get(b)},jR=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.Gka(f)});a.H.forEach(function(f){f.ema(e,
c,d)})};kR.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};kR.prototype.Y5=function(a){var b=Array.from(this.H.values()).map(function(c){return c.Y5(a)});return[].concat.apply([],_.hc(b))};var w2c=function(a,b){a.H.forEach(function(c){c.E9(b,-2)})};kR.prototype.Gka=function(){return!0};kR.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.D4(b),f.ka=c,this.H.set(e,f),jR(this,a,d))};
var x2c=function(){this.V=new Set;this.W=new Set;this.H=0},y2c=function(a,b){a.V.add(b)};x2c.prototype.ha=function(a){this.V.delete(a)};var z2c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};x2c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var Z1c=function(a,b){return a.V.has(b)||a.W.has(b)};x2c.prototype.eX=function(a){var b=this;return a.filter(function(c){return!Z1c(b,c.getId())})};var A2c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new x2c};
_.H(A2c,kR);var B2c=function(a,b){y2c(a.W,e2c(b));(a=v2c(a,b.Gc()))&&i2c(a)};_.g=A2c.prototype;_.g.getKey=function(a){return a.Gc()};_.g.D4=function(a){return new q2c(this.ha,this.ka,this,a)};_.g.qfa=function(a){return new q2c(this.ha,this.ka,this,a)};_.g.K8a=function(a){a=_.p(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=v2c(this,b.getId()))&&b.refresh()};_.g.Gka=function(a){return!Z1c(this.W,e2c(a))};
var C2c=function(a,b){this.V=a;this.H=b},D2c=function(a,b){b=_.XJb(b);var c=new p2c(a.V,a.H,b);new Promise(function(d,e){return iR(c,100).then(d,e)})},E2c=function(a,b,c){hR.call(this,a,c);this.ka=b};_.H(E2c,hR);E2c.prototype.A4=function(a,b){return _.uj(a).Ri(b)};E2c.prototype.Q6=function(){return""};E2c.prototype.l6=function(a){return[a]};E2c.prototype.b_=function(a){this.ka(a)};var F2c=function(a,b,c,d){gR.call(this,a,_.uj(d));this.ta=c;this.wa=b;this.V=this.W=null};_.H(F2c,gR);
F2c.prototype.refresh=function(){var a=this;k2c(this);this.V=new E2c(this.request,this.ta,function(b){return a.wa.then(function(c){return c.H(b)})});return iR(this.V,this.request.ih()||0)};F2c.prototype.D9=function(a){1==this.status||this.V&&a==this.request.ih()||(this.request.Ri(a),this.V?iR(this.V,a):this.refresh())};F2c.prototype.a_=function(){if(this.W)return this.W;var a=new KP;a.Dc(this.status);return a};F2c.prototype.G9=function(a){this.W=a;return!0};
var G2c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.H(G2c,kR);var H2c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};G2c.prototype.getKey=function(a){return a.toString()};G2c.prototype.D4=function(a){var b=this;return new F2c(this.W,this.ka,function(c){jR(b,c,!1)},a)};G2c.prototype.qfa=function(){throw Error("lg");};
G2c.prototype.V=function(a,b,c,d){var e=a[0].Oi();H2c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));kR.prototype.V.call(this,a,b,c,d)};var J2c=function(a){_.M.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.Ll;var c=_.Jh();this.Fa=c.promise;z_c(this.H.Fa).then(function(d){b.V=d||[];c.resolve();I2c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;fQ(this.H.ha,["rVezo"],(0,_.I)(this.ka,this))};_.H(J2c,_.M);
var e1c=function(a,b){_.y(a.H.H,46,!1)&&a.Fa.then(function(){if(a.V[0]!=b){_.oa(a.V,b);for(qTc(a.H.V.V.H(b))?lR(a,b,"Hidden TD, not tracking in recency list"):_.va(a.V,0,0,b);a.V.length>2*_.B(a.H.H,47,5);)a.V.pop();YQ(a.H.Fa,s_c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.B(a.H.H,47,5)&&(I2c(a),a.ka())})},Y1c=function(a,b){_.oa(a.V,b)&&YQ(a.H.Fa,s_c,a.V)},X1c=function(a,b){Y1c(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.yc()==b){lR(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}ZQ(a.H).nb(function(h){h.epa(b,!0)});a.ka()};J2c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;K2c(this);for(var b={};this.ha.hc()&&!(this.ma>=_.B(this.H.H,47,5));){var c=_.Ml(this.ha);this.ma++;xYc(a,c)||this.W.has(c)||(this.W.set(c,null),b.d3=new _.bO,_.w(b.d3,1,c),this.H.dm().then(function(d){return function(e){return e.H(d.d3)}}(b)).then(this.Ca.bind(this,c),this.wa.bind(this,c)));b={d3:b.d3}}}};
var I2c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},K2c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){I2c(a);a.ka()},36E5)};J2c.prototype.Ca=function(a,b){var c=_.x(b,1);c&&c>_.B(this.H.H,48,1E3)?(lR(this,a,"Too large to backfill: "+_.x(b,1)),L2c(this,a,!1)):M2c(this,a)};
J2c.prototype.wa=function(a,b){(b=_.FM(b).Mi())&&4==b?(lR(this,a,"Non-existent or inaccessible, removing from cache"),a=_.VM(_.gEc(_.RM(new _.QM,a),a)),this.H.V.ta([a])):M2c(this,a)};
var M2c=function(a,b){var c=new OQ(a.H.La,a.H.Ya,b),d=_.uj(c.jd());d.Ri(_.B(a.H.H,48,1E3));d=new rYc(a.H,c,d);a.W.set(b,d);lR(a,b,"Backfill started");var e=PQ(a.H.Ca,b);ZQ(a.H).nb(function(f){f.Rda(b)});_.Kh(sYc(d).then(function(){N2c(a,b,c,e)},function(){lR(a,b,"Backfill failed");a.ma--;L2c(a,b,!0)}),function(){CYc(a.H.Ca,b)})},N2c=function(a,b,c,d){c.V?(c.OS(),EYc(c,d).then(function(e){lR(a,b,"Backfill complete, size: "+c.$Z());LYc(a.H.V,c,e);L2c(a,b,!1)},function(){lR(a,b,"Backfill changes failed");
L2c(a,b,!0)})):(lR(a,b,"Backfill exceeded size limit"),L2c(a,b,!0))},L2c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&ZQ(a.H).nb(function(e){e.epa(b,!1)});a.ka();0<a.W.size||_.ra(a.H.V.ka.V).map(function(e){return e.yc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return X1c(a,e)})},lR=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},O2c=function(a){var b=new _.HB;b.lc(a);return b},P2c=function(a,b,c,d,e){fR.call(this,_.uj(a),
c,d,e);this.V=b};_.H(P2c,fR);P2c.prototype.W=function(a){var b=new Map;a.Il().forEach(function(c){var d=_.uj(a).Jb([c]);b.set(c,d)});return b};P2c.prototype.ka=function(a){var b=[];a.KL().forEach(function(c){b.push(c)});this.V(b,!0)};P2c.prototype.ma=function(){this.V([],!1)};P2c.prototype.ta=function(a){this.V([O2c(a)],!0)};var Q2c=function(a,b,c,d,e,f){gR.call(this,a,_.uj(f));this.wa=e;this.Fa=b;this.ta=c;this.V={};this.Ca=d;this.W=null};_.H(Q2c,gR);
Q2c.prototype.refresh=function(){this.W=new P2c(this.request,this.wa,this.Fa,this.ta,this.Ca);return j1c(this.W)};Q2c.prototype.D9=function(){this.W||this.refresh()};Q2c.prototype.a_=function(){var a=new _.ZO;a.Dc(this.status);_.Se(this.V,function(b,c){a.KL().set(c,b||new _.HB)});LQc(a,this.Ke());return a};Q2c.prototype.G9=function(a){var b=a.getId();if(_.tj(a,O2c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Il().indexOf(b))return this.V[b]=a,!0;return!1};
var R2c=function(a,b){a=a.getState();return null==a||b.getState()==a},S2c=function(a,b,c){hR.call(this,a,c);this.ka=b};_.H(S2c,hR);S2c.prototype.A4=function(a,b,c){a=_.uj(a);a.Ri(b);return new _.mFc(a,c)};S2c.prototype.Q6=function(a){return a.pageToken||""};S2c.prototype.l6=function(a){return a.response.Oi()};S2c.prototype.b_=function(a){this.ka(a)};var T2c=function(a){this.W=KSc(a,{numeric:!0})};
T2c.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};T2c.prototype.V=function(a,b,c){var d=_.x(b,4),e=_.x(c,4),f;d!=e?f=_.za(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};var U2c=function(a,b,c,d,e){gR.call(this,a,_.uj(e));this.wa=d;this.Ca=b;this.W=[];this.V=null;a=new T2c(c);b=(c=_.A(this.request,_.Nn,5))?c.getType():0;c=c?c.oj():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.H(U2c,gR);U2c.prototype.refresh=function(){var a=this;k2c(this);this.V=new S2c(this.request,this.wa,function(b){return a.Ca.then(function(c){return c.H(b)})});return iR(this.V,this.request.ih()||0)};U2c.prototype.D9=function(a){1==this.status||this.V&&a==this.request.ih()||(this.request.Ri(a),this.V?iR(this.V,a):this.refresh())};U2c.prototype.a_=function(){var a=new vQ;a.Dc(this.status);rUc(a,this.W.map(function(b){return _.uj(b)}));return new _.dP(a,void 0,1!=this.status&&m2c(this.V),this.Ke())};
U2c.prototype.G9=function(a){var b=_.pa(this.W,function(c){return c.getId()==a.getId()});return a&&R2c(this.request,a)&&!_.tj(a,O2c(a.getId()))?$Kc(this.W,a,this.ta):b};var V2c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.H(V2c,kR);var W2c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};V2c.prototype.getKey=function(a){return a.toString()};
V2c.prototype.D4=function(a){var b=this;return new U2c(this.ha,this.ma,sP(this.W.Pe()),function(c){return jR(b,c,!1)},a)};V2c.prototype.qfa=function(a){var b=this;return new Q2c(this.ha,this.ma,this.W,this.ka,function(c,d){return jR(b,c,d)},a)};V2c.prototype.V=function(a,b,c,d){W2c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));kR.prototype.V.call(this,a,b,c,d)};var X2c=function(){_.M.apply(this,arguments)};_.H(X2c,_.M);
var $2c=function(a,b){b=Y2c(b);var c=a.getItem(),d=Z2c(c.getCapabilities());b.sT.forEach(function(e){_.jM(e.getItem(),c.Yl());e.getItem().an(d.clone())});return b},c3c=function(a,b,c){var d=a3c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new eQ(b),children:[]};b3c(a,d,c);return c},a3c=function(a){var b={};a.map(function(c){c.getItem().Qh().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},b3c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(b3c(a,
b,{H:e,parent:c,children:[]}))});return c},e3c=function(a,b){var c=b.children.filter(function(h){return!_.cm(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.jM(f,a.Yl()),d3c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.cm(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},f3c=function(a){var b=a.children.filter(function(f){return!_.cm(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(_.VM(_.RM(new _.QM,e.getId()))),d.children.map(function(f){_.cm(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},Y2c=function(a){var b=[],c=[];a.forEach(function(d){_.cm(d.getItem())||_.D(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{xQ:c,sT:b}},Z2c=function(a){a=a.clone();var b=null!=_.D(a,34)?_.D(a,34):_.D(a,7),c=null!=_.D(a,35)?_.D(a,35):_.D(a,7);_.w(a,45,c);_.ZFc(a,b);_.w(a,30,c);_.UFc(a,b);_.$Fc(a,c);_.VFc(a,c);_.WFc(a,b);_.w(a,4,b);
_.NFc(a,c);_.SFc(a,b);_.RFc(a,_.D(a,7));_.MFc(a,_.D(a,10)||_.D(a,11));_.TFc(a,_.Vl(a));_.w(a,18,void 0);_.w(a,13,void 0);_.w(a,10,void 0);_.XFc(a,_.D(a,42));_.YFc(a,_.D(a,43));_.aGc(a,_.D(a,48));return a},d3c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.D(d,30);_.w(e,30,f);_.UFc(e,_.D(d,31));_.$Fc(e,_.D(d,47));_.VFc(e,_.D(d,32));_.WFc(e,_.D(d,33));f=_.D(d,4);_.w(e,4,f);_.NFc(e,d.V());_.TFc(e,_.D(d,21));_.SFc(e,_.D(d,20));_.RFc(e,_.D(d,17));_.KFc(e,_.Vl(d));_.LFc(e,_.D(d,7));
f=_.D(d,10);_.w(e,10,f);_.OFc(e,_.D(d,11));f=_.D(d,45);_.w(e,45,f);_.ZFc(e,_.D(d,46));_.aGc(e,_.D(d,48));a=_.cm(a);_.w(b,137,a);c&&(c=c.getCapabilities(),_.jN(b)?(_.MFc(e,_.D(c,43)),_.YFc(e,_.D(c,43)),_.XFc(e,_.D(c,42))):_.MFc(e,_.D(c,42)))},g3c=function(a){this.H=a;this.ha=new X2c;this.V=a.V;this.W=_.ke(new _.je,306)},O1c=function(a,b){if(_.pO(a.H.H))if(mQ(b))if(b.hz())h3c(a,b);else{var c=b.Gc(),d=i3c(a,c),e=a.V.V.H(c);b=$2c(b,d);W1c(a.H.V,b.sT);a.V.wa.H(b.xQ,a.W);j3c(a,c,"SD update | Update "+b.sT.length+
" item(s), "+b.xQ.length+" divergent items");if(d=bPc(a.H.ta,106017)){var f=ZOc(d);_.w(f,1,b.xQ.length);_.w(f,2,b.sT.length);d.V()}e||(a=a.V.wa,c&&(nYc(a,"Processing potential rejoin for TD: "+c),b=_.mk(_.bN(new _.be,[c]),_.PO(a.ma)),b=_.w(b,45,1),e=_.ke(new _.je,306),_.nk(b,e),pYc(a),b=new LQ(a.V,b),kYc(b,5E3).nb(a.ka.bind(a,b)),oYc(a),qYc(a,c)))}else if(_.y(a.H.H,86,!1)){c=b.Gc();e=a.V.V.H(c);if(e&&e.yc()&&_.jN(b.getItem()||e)){if(d=!!_.cm(e),!b.hz()){var h=b.getItem();f=_.cm(e)!=_.cm(h);h=h.Yl()!=
e.Yl();d=f||d&&h}}else d=!1;if(d)if(b.hz()){if(b=i3c(a,e.yc()),e=a.ha,d=(new _.am).lc(c),b=(b=c3c(e,d,b))?f3c(b):[],a.H.V.ta(b),j3c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=bPc(a.H.ta,106009))c=YOc(a),_.w(c,2,b.length),a.V()}else if(c=b.getItem(),e=i3c(a,c.yc()),d=a.ha,c=b.getItem(),c=(e=c3c(d,c,e))?e3c(c,e):[],W1c(a.H.V,c),j3c(a,b.Gc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=bPc(a.H.ta,106010))b=YOc(a),_.w(b,1,c.length),a.V()}},h3c=function(a,b){var c=b.Gc();
b=i3c(a,c);b=Y2c(b);var d=_.$d(b.sT,function(e){return _.VM(_.RM(new _.QM,e.getId()))});a.H.V.ta(d);a.V.wa.H(b.xQ,a.W);j3c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.xQ.length+" divergent items");if(a=bPc(a.H.ta,106016))c=ZOc(a),_.w(c,1,b.xQ.length),_.w(c,2,b.sT.length),a.V()},i3c=function(a,b){var c=new _.be;_.bN(c,[b]);_.w(c,45,2);return NTc(a.V.V,c)},j3c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},k3c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
k3c.prototype.yV=function(a,b){var c=this;if(!a.mM().length)return null;var d=v2c(this.H,a.Gc());if(!d)return null;for(var e=this.H.Y5(a),f={},h=_.p(a.mM()),k=h.next();!k.done;f={sE:f.sE},k=h.next())if(k=k.value,f.sE=l3c(e,k.Jk(),a.Gc()),_.D(k,3))B2c(this.H,f.sE),_.Kh(b,function(q){return function(){c.H.W.ha(e2c(q.sE))}}(f));else{for(var l=_.p(_.nj(k,_.HF,2)),n=l.next();!n.done;n=l.next())m3c(this,f.sE,n.value);k=_.p(_.x(k,4));for(l=k.next();!l.done;l=k.next())n3c(f.sE,l.value);jR(this.H,[f.sE],!1,
-1);b.then(function(q){return function(){return w2c(c.H,q.sE.getName())}}(f),function(q){return function(){return w2c(c.H,q.sE.getName())}}(f))}b.then(null,function(q){var t=a.Gc();D2c(c.ha,t);q=_.FM(q);_.w(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.a_()};
var l3c=function(a,b,c){var d=a.find(function(e){return d2c(e.getName(),b)});d||(d=WPc(UPc(new CP,b),c),a.push(d));return d},m3c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new AP,d.lc(c.getId()),VPc(b,b.V().concat([d])),o3c(d,c));if(1==BP(d))d.Qpa(_.D(c,3));else if(12==BP(d))RPc(d,_.x(c,17));else if(2==BP(d))d.mqa(_.x(c,4));else if(3==BP(d))_.x(c,6).length?d.d1(_.x(c,6)):_.x(c,5).length&&(a=_.x(d,7).concat(_.x(c,5)),d.d1(a));else if(4==BP(d))OPc(d,_.x(c,7));else if(5==
BP(d))d.eqa(_.x(c,8));else if(6==BP(d))_.x(c,10).length?d.b1(_.x(c,10)):_.x(c,9).length&&(a=d.tia().concat(_.x(c,9)),d.b1(a));else if(7==BP(d))d.Wpa(_.x(c,11));else if(8==BP(d))_.x(c,13).length?d.R0(_.x(c,13)):_.x(c,12).length&&(a=_.x(d,12).concat(_.x(c,12)),d.R0(a));else if(10==BP(d))PPc(d,a.V(_.x(c,14)));else if(11==BP(d))_.x(c,16).length?QPc(d,_.x(c,16).map(a.V)):_.x(c,15).length&&QPc(d,d.W().concat(_.x(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(BP(d)+"."),new _.nb(d,
new _.mb);},n3c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==BP(a))_.w(a,5,void 0);else if(12==BP(a))_.w(a,17,void 0);else if(2==BP(a))_.w(a,6,void 0);else if(3==BP(a))a.d1([]);else if(4==BP(a))_.w(a,8,void 0);else if(5==BP(a))_.w(a,9,void 0);else if(6==BP(a))a.b1([]);else if(7==BP(a))_.w(a,11,void 0);else if(8==BP(a))a.R0([]);else if(10==BP(a))PPc(a,void 0);else if(11==BP(a))QPc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(BP(a)+"."),new _.nb(a,new _.mb);
},o3c=function(a,b){null!=_.x(b,3)?a.Yv(1):null!=_.x(b,17)?a.Yv(12):null!=_.x(b,4)?a.Yv(2):_.x(b,6).length||_.x(b,5).length?a.Yv(3):null!=_.x(b,7)?a.Yv(4):null!=_.x(b,8)?a.Yv(5):_.x(b,10).length||_.x(b,9).length?a.Yv(6):null!=_.x(b,11)?a.Yv(7):_.x(b,13).length||_.x(b,12).length?a.Yv(8):null!=_.x(b,14)?a.Yv(10):(_.x(b,16).length||_.x(b,15).length)&&a.Yv(11)};k3c.prototype.V=function(a){return _.GFc(_.EFc(1),a)};
var p3c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ca=e;this.wa=f;this.W=k;this.Fa=h;this.ha=0};p3c.prototype.apply=function(a,b){var c=this;if(!_.fO(a))return b;var d;a instanceof _.tN?d=q3c(this,a,b):a instanceof _.zN?d=r3c(this,b):a instanceof _.KM?d=s3c(this,a,b):a instanceof _.oN?d=t3c(this,a,b):a instanceof _.SN&&(d=this.ta.yV(a,b));d&&(this.ha++,this.ka.setActive(!1),_.Kh(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Fh(d):b};
var q3c=function(a,b,c){y2c(a.V,b.getId());var d=a.H.V.H(b.getId());_.Kh(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.FM(e);_.w(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.dO).Dc(1)},r3c=function(a,b){var c=(new _.be).Mn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});z2c(a.V,c);_.Kh(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.FM(d);_.w(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.dO).Dc(1)},t3c=function(a,b,c){var d=b.yc(),e=a.H.V.H(d);if(!e)return null;e=_.uj(e);OXc(a.H,[e],[157]);var f=e.Uj();u3c(f,_.nj(b,_.$l,2));v3c(f,_.nj(b,_.$l,3));mP(a.H,[e],-1,void 0,void 0,[157]);_.Kh(c,function(){$1c(a.H,d)}).then(function(h){mP(a.H,[h.jY()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.FM(h);_.w(h,21,"Server error updating item after optimistic application.");a.W(h)});return rQc(new HP,e).Dc(1)},u3c=function(a,b){var c={};b=_.p(b);for(var d=b.next();!d.done;c=
{W2:c.W2},d=b.next())c.W2=d.value,_.nj(a,_.$l,8).some(function(e){return function(f){return f.Jk()==e.W2.Jk()}}(c))||_.qj(a,8,c.W2,_.$l,void 0)},v3c=function(a,b){var c=b.map(function(d){return d.Jk()});b=_.nj(a,_.$l,8).filter(function(d){return!c.includes(d.Jk())});fLc(a,b)},s3c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.yc()&&0==b.jh())return null;var e=_.x(b,10),f=_.x(b,9);if(0<e.length&&0<f.length&&(e=Object.values(MTc(a.H.V,e.concat(f))).map(function(k){return k.yc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.uj(d);w3c(a,b,h);mP(a.H,[h],-1,void 0,void 0,UOc(a.wa));c.then(function(){return $1c(a.H,b.getId())},function(){$1c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.FM(k);if(63==k.Mi()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.IGc((new _.dO).setItem(h),h.getId()).Dc(1)},w3c=function(a,b,c){null!=b.Pf()&&c.ll(b.Pf());null!=b.Sh()&&_.kGc(c,b.Sh());null!=b.Vb()&&_.iM(c,
b.Vb());null!=_.x(b,7)&&_.rBc(c,_.x(b,7));null!=_.D(b,11)&&_.gGc(c,_.D(b,11));null!=_.D(b,4)&&c.Iq(_.D(b,4));null!=_.D(b,16)&&_.jGc(c,_.D(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.jh()&&(c.Mn(b.jh()),_.iGc(c,b.jh()));null!=b.gp()&&_.cN(OLc(c,!0),b.gp());_.x(b,8).length&&_.xO(c,_.x(b,8));if(_.x(b,9).length){var d=new Set(c.Qh());_.x(b,9).forEach(function(n){return d.add(n)});_.xO(c,_.hc(d).concat())}if(_.x(b,10).length){var e=new Set(c.Qh());_.x(b,10).forEach(function(n){return e.delete(n)});
_.xO(c,_.hc(e).concat());var f=c.mp();f&&_.x(b,10).includes(f)&&_.w(c,46,void 0)}if(!c.mp()){var h=a.Fa();f=c.Qh().find(function(n){var q=a.H.V.H(n);return q&&!!q.mp()||n==h});_.w(c,46,f||void 0)}c.Qh().length&&(f=a.H.V.H(c.Qh()[0]))&&_.nGc(c,f.yc());if(f=_.A(b,_.Yl,25)){var k=_.A(c,_.Yl,111)||new _.Yl;null!=_.D(f,1)&&_.sO(k,_.D(f,1));null!=_.x(f,2)&&_.bGc(k,_.x(f,2));_.Q(c,111,k)}var l=_.x(c,120);_.x(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.x(b,32).forEach(function(n){_.oa(l,n)});_.w(c,
120,l||[])};p3c.prototype.ma=function(a,b){var c=this,d=_.In(new _.Gn,[a]);this.Ca.then(function(e){return e.H(d)}).then(function(e){e=e.Zq().wd()[0];mP(c.H,[_.uj(e)],1)},function(){b&&mP(c.H,[_.uj(b)],1)})};
var x3c=function(a){return a.getName()||""},y3c=function(a){return a.getId()||""},z3c=function(a){return _.pEc[a.yg()]},A3c=function(a){return _.rEc[a.getType()]},gMc=function(a,b){return[z3c,A3c,x3c,y3c].reduce(function(c,d){var e;0!=c?e=c:e=_.za(d(a),d(b));return e},0)},B3c=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};
B3c.prototype.apply=function(a,b){var c=this;b instanceof _.dO&&8==b.Gb()||(a instanceof _.nN||a instanceof _.pN||a instanceof _.YN||a instanceof _.KM||a instanceof _.UN||a instanceof _.jFc||a instanceof _.$N?mP(this.H,[_.uj(b.getItem())],1):a instanceof _.tN?(b=_.VM(_.RM(new _.QM,a.getId())),this.H.ta([b])):a instanceof _.wN?(b=_.VM(_.gEc(_.RM(new _.QM,a.getId()),a.getId())),this.H.ta([b]),O1c(this.ta,b)):a instanceof _.zN?(b=(new _.be).Mn(!0),b=this.H.V.query(b).map(function(d){return _.VM(_.RM(new _.QM,
d.getId()))}),this.H.ta(b)):"undefined"!=typeof _.rN&&a instanceof _.rN?this.V.remove(a.V()):"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.RN&&a instanceof _.RN?this.V.NDa(_.A(b,_.IP,2)):"undefined"!=typeof _.uN&&a instanceof _.uN?fMc(this.H,a):"undefined"!=typeof _.fD&&a instanceof _.fD?this.ha.remove(a.getKey()):"undefined"!=typeof _.CN&&a instanceof _.CN?hMc(this.H,a,b.cY()):"undefined"!=typeof _.gD&&a instanceof _.gD?C3c(this.ha,b.Lwa()):a instanceof _.qN||a instanceof _.VN?
jR(this.ka,[b.V()],!1):a instanceof _.xN?jR(this.ka,[O2c(a.getId())],!1):a instanceof _.cFc?jR(this.W,b.response.V(),!1,1):a instanceof _.SN?(a.mM().filter(function(d){return _.D(d,3)}).forEach(function(d){return c.W.removeItem(d.Jk()||"",a.Gc())}),D2c(this.ma,a.Gc()),this.H.kb(a.Gc())):"undefined"!=typeof _.KO&&a instanceof _.KO&&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=_.RM(qOc(),d.getId()).setItem(_.uj(d)),c.H.ta([d])}}}))};
var D3c=function(a){this.H=a};
D3c.prototype.V=function(a){if(a instanceof _.NN){var b=this.H.H(a.getId());if(!b)return new _.mb;var c=(new _.KM).lc(a.getId());if(b.yc()){var d=b.getCapabilities();_.Wl(d)||d.V()?c.Mn(!0):_.LM(c,!1)}else d=a.getParent(),1==b.Yl()?c.Mn(!0):d?(b=this.H.H(d),!b||_.D(b.getCapabilities(),7)?kOc(c,[d]):_.LM(c,!1)):_.LM(c,!1);return c}if("undefined"!=typeof _.ON&&a instanceof _.ON)return mOc(lOc(kOc(jOc((new _.KM).lc(a.getId()),a.dUa()),a.eUa()),a.fUa()),a.cUa());if(a instanceof _.PN){b=this.H.H(a.getId());
if(!b)return new _.mb;c=(new _.KM).lc(a.getId());b.yc()?(d=b.getCapabilities(),_.Wl(d)||d.V()?c.Mn(!1):_.LM(c,!0)):(d=a.getParent(),1==b.Yl()?c.Mn(!1):d?(b=this.H.H(d),!b||_.Vl(b.getCapabilities())?jOc(c,[d]):_.LM(c,!0)):_.LM(c,!0));return c}return a instanceof _.QO?new _.YN(a):"undefined"!=typeof _.mR&&a instanceof _.mR?a.V().map(function(e){var f=new _.SN;e=_.w(f,1,e);f=a.mM();e=_.pj(e,2,f);f=a.ie();return _.Q(e,3,f)}):a};var E3c=function(){};
E3c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.GN&&a instanceof _.GN?(a=a.getId()||"",_.wc(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.sN&&a instanceof _.sN&&(a=a.getId()||"",_.wc(a)&&(b="Tried to delete backup with no id."));return b?_.FM(b):null};
var iMc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},F3c=function(a,b,c,d,e){_.FJc.call(this,a,b,d,e);this.Ca=c;this.ta=new $Uc(this.ka,b);this.W=new hXc(this.Lz);this.wa=new hWc(this.Lz,this.W);this.ha=null};_.H(F3c,_.FJc);var G3c=function(a){a.ha||(a.ha=new WWc(a.ka,a.Ca));return a.ha};
F3c.prototype.ma=function(a,b){if(a instanceof _.kN)return _.uJc(_.KJc(a));if(a instanceof _.lN)return _.HJc(this,a,b);if(a instanceof _.cFc)return H3c(this,a.request,b);if(a instanceof _.mN)return _.HJc(this,a,b);if(a instanceof _.oN){if(!b.json)throw _.UO();return rQc((new HP).Dc(1),iXc(this.W,b.json))}if(a instanceof _.nN)return _.HJc(this,a,b);if("undefined"!=typeof _.KO&&a instanceof _.KO)return new lPc;if(a instanceof _.qN)return I3c(a,b);if("undefined"!=typeof _.rN&&a instanceof _.rN)return dWc(void 0,
a.V());if("undefined"!=typeof _.sN&&a instanceof _.sN)return new LUc;if(a instanceof _.tN)return _.uJc(_.KJc(a));if("undefined"!=typeof _.uN&&a instanceof _.uN)return new uQ;if(a instanceof _.vN||a instanceof _.wN)return _.uJc(_.KJc(a));if("undefined"!=typeof _.fD&&a instanceof _.fD)return b=new lUc,a=a.getKey(),_.Q(b,4,a);if(a instanceof _.xN)return I3c(a,b);if(a instanceof _.zN)return _.uJc(_.KJc(a));if(a instanceof _.aFc){if(!b.json)throw _.UO();return new GSc(b.json.exportJob.id)}if("undefined"!=
typeof _.AN&&a instanceof _.AN){if(!b.json)throw _.UO();a=b.json;b=new hUc;a=cWc(a);return _.Q(b,2,a).Dc(1)}if("undefined"!=typeof _.BN&&a instanceof _.BN)return J3c(a,b);if("undefined"!=typeof _.CN&&a instanceof _.CN){if(!b.json)throw _.UO();a=(new uQ).Dc(1);b=_.vJc(this.Lz,b.json);return _.Q(a,2,b)}if(a instanceof _.rM){a:{if(!b.json)throw _.UO();if(a instanceof _.rM){if((a=a.jd())&&_.DN(a)){b=EWc(this.V,this.H,b.json);break a}if(a&&_.EN(a)){b=DWc(this.V,this.H,b.json);break a}if(a&&_.FN(a)){b=
CWc(this.V,this.H,b.json);break a}}b=_.qJc(this.Lz,b.json,b.headers)}return b}if("undefined"!=typeof _.GN&&a instanceof _.GN){if(!b.json)throw _.UO();return gWc(b.json)}if(a instanceof _.HN){if(!b.json)throw _.UO();b=b.json;_.RO(["drive#appList"],b);a=new sQ;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(cWc(d[e]));a=_.pj(a,2,c);return _.w(a,4,b.defaultAppIds||[]).Dc(1)}if("undefined"!=typeof _.IN&&a instanceof _.IN){if(!b.json)throw _.UO();return fWc(b.json)}if(a instanceof _.MM)return K3c(this,
b);if(a instanceof _.JN){if(!b.json)throw _.UO();a=new kUc;d=this.Lz;e=b.json;c=new JOc;d=_.wJc(d,e,"items");c=_.pj(c,2,d);a=_.Q(a,1,c);return _.w(a,2,QTc(b.json))}if("undefined"!=typeof _.KN&&a instanceof _.KN){if(!b.json)throw _.UO();a=this.Lz;d=b.json;b=new LOc;_.RO(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.sJc(a,d[e]);c.push(f)}return _.pj(b,2,c)}if(a instanceof _.hM)return L3c(a,b);if(a instanceof _.LN){if(!b.json)throw _.UO();return gXc(b.json)}if(a instanceof
_.gFc){if(!b.json)throw _.UO();return $Wc(G3c(this),b.json)}if(a instanceof _.GF){if(!b.json)throw _.UO();a=G3c(this);c=b.json;b=new xQ;a=ZWc(a,c);return _.Q(b,2,a).Dc(1)}if(a instanceof _.MN){if(!b.json)throw _.UO();b=b.json;_.RO(["drive#remainingCount"],b);a=new yUc;c=b.nextPageToken;null!=c&&_.w(a,2,Number(c));_.w(a,1,Number(b.remainingCount));return a}if(a instanceof _.KF){if(!b.json)throw _.UO();return(new _.JB).Zv([iXc(this.W,b.json)])}if(a instanceof _.aO){if(!b.json)throw _.UO();a=(new _.JB).Zv(jXc(this.W,
b.json));a=_.$Gc(new _.BO,a);return _.w(a,3,QTc(b.json))}if("undefined"!=typeof _.RN&&a instanceof _.RN)return J3c(a,b);if(a instanceof _.SN)return H3c(this,a,b);if(a instanceof _.KM||a instanceof _.TN)return _.HJc(this,a,b);if(a instanceof _.UN)return M3c(this,b);if("undefined"!=typeof _.gD&&a instanceof _.gD){if(!b.json)throw _.UO();b=lXc(b.json);a=new lUc;a=_.Q(a,3,b);b=b.getKey();return _.Q(a,4,b)}if(a instanceof _.VN)return I3c(a,b);if(a instanceof _.WN){if(!b.json)throw _.UO();return bVc(this.ta,
b.json)}if("undefined"!=typeof _.XN&&a instanceof _.XN){if(!b.json)throw _.UO();b=nXc(b.json);a=new _.ZO;a.KL().set(b.getId(),b);return a}if(a instanceof _.bFc){if(!b.json)throw _.UO();a=b.json;b=new zSc;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":_.hj(b,2,d);break;case "activities":c=YVc(d),_.pj(b,1,c)}return b}if(a instanceof _.YN)return M3c(this,b);if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return K3c(this,
b);if(a instanceof _.dFc){if(!b.json)throw _.UO();return new FSc}if(a instanceof _.eFc){if(!b.json)throw _.UO();return lMc(b)}if(a instanceof _.fFc){if(!b.json)throw _.UO();c=b.json;b=new _.Ln;_.RO(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=lXc(c[d]))&&a.push(e);return _.Jva(b,a)}if(a instanceof _.Mn){if(!b.json)throw _.UO();return rXc(this.V,this.H,b.json).Dc(1)}if("undefined"!=typeof _.QN&&a instanceof _.QN){if(!b.json)throw _.UO();return pXc(this.V,this.H,b.json)}if(a instanceof
_.bO){if(!b.json)throw _.UO();a=b.json;_.RO(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new gUc;a=_.w(c,1,a);return _.w(a,2,b)}if(a instanceof _.kFc)return new HSc(QTc(b.json?b.json:{}));if(a instanceof _.lFc)return new ISc;if(a instanceof _.mFc){if(!b.json)throw _.UO();return oXc(b.json)}};
var I3c=function(a,b){if(!b.json){if(a instanceof _.xN)return sXc({});throw _.UO();}return sXc(b.json)},M3c=function(a,b){if(!b.json)throw _.UO();a=iXc(a.W,b.json);return(new _.dO).Dc(1).setItem(a)},H3c=function(a,b,c){if(!c.json)throw _.UO();return YWc(G3c(a),b,c.json)},J3c=function(a,b){if(!b.json)throw _.UO();return dWc(b.json,a.V())},K3c=function(a,b){if(!b.json)throw _.UO();a=a.wa;var c=b.json;_.RO(["drive#about","drive#changeList"],c);b=new jUc;var d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));if("drive#changeList"==c.kind){_.RO(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.RO(["drive#change"],h);var k=new _.QM;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.gEc(k,h.teamDriveId),_.RM(k,h.teamDriveId)):_.RM(k,h.fileId);h.file?k.setItem(_.rJc(f.H,h.file)):h.teamDrive&&k.setItem(iXc(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.VM(k);d.push(k)}_.pj(b,4,d)}return b},L3c=function(a,b){var c=new NUc;if(_.x(a,6).length){var d=
[];wLc(_.x(a,6),b.headers).forEach(function(e,f){e=_.jBc(new _.gM,f).kc(e);d.push(e)});_.pj(c,1,d)}OUc(c,b.json?JSON.stringify(b.json):b.text);return c},N3c=function(a){var b=new _.Ko;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.tEc[a]);_.HO(b,c.join(" "))}return b.toString()},O3c=function(a,b,c,d){this.H=b;this.W=d;this.ka=a};_.H(O3c,_.RJc);
O3c.prototype.ha=function(a,b,c){try{return _.RJc.prototype.ha.call(this,a,b,c)}catch(J){}var d=0,e={},f="GET",h={},k=!1;if(a instanceof _.lN){f="POST";var l="admin/files/"+a.getId()+"/migrateToTeamDrive";h.fields="kind,id,parentId,teamDriveId";h.fileId=a.getId();var n=RTc(a);e["content-type"]="application/json";k=!0}else if(a instanceof _.mN){f="POST";l="files/"+a.Gc()+"/authorize";h.appId=_.x(a,1);_.D(a,3)&&(h.propagate=!0);var q=a.ie();k=!0;_.OO(this.H,h)}else if(a instanceof _.YN)f="POST",l="teamdrives/"+
a.requestId,h.fields=hQ(this.H),n={},n=(n.name=a.request.getTitle(),n),e["content-type"]="application/json",k=!0;else if(a instanceof _.qN)f="POST",l="workspaces",h.fields="kind,id,title,createdDate,modifiedDate,state",n=TTc(a),e["content-type"]="application/json",q=a.ie(),k=!0;else if(a instanceof _.nN)f="POST",l="files/"+a.getId()+"/copy",h.fields=_.REc({fields:this.Gg(c),Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)}),h.convert=_.y(a,4,!1),n=STc(a),e["content-type"]="application/json",q=a.ie(),k=!0,_.OO(this.H,
h),_.SJc(this.H,h);else if("undefined"!=typeof _.rN&&a instanceof _.rN)f="DELETE",l="apps/"+a.V(),h.appId=a.V(),h.deleteAppData=!!a.W(),q=a.ie(),k=!0;else if("undefined"!=typeof _.sN&&a instanceof _.sN)f="DELETE",l="backups/"+a.getId(),d=9;else if(a instanceof _.tN)f="DELETE",l="files/"+a.getId(),q=a.ie(),k=!0,_.OO(this.H,h),_.SJc(this.H,h);else if("undefined"!=typeof _.uN&&a instanceof _.uN)f="DELETE",l="files/"+a.Gc()+"/permissions/"+a.V(),q=a.ie(),k=!0,_.OO(this.H,h);else if(a instanceof _.vN)f=
"DELETE",l="files/"+a.Gc()+"/revisions/"+_.x(a,2),q=a.ie(),k=!0;else if(a instanceof _.wN)f="DELETE",l="teamdrives/"+a.getId(),q=a.ie(),k=!0;else if("undefined"!=typeof _.fD&&a instanceof _.fD)f="DELETE",a=a.getKey(),l="settings/"+_.x(a,2),_.Kn(a)&&(h.namespace=_.iEc[_.Kn(a)]),k=!0;else if(a instanceof _.xN)f="DELETE",l="workspaces/"+a.getId(),q=a.ie(),k=!0;else if(a instanceof _.zN)f="DELETE",l="files/trash",q=a.ie(),k=!0,_.SJc(this.H,h);else if("undefined"!=typeof _.AN&&a instanceof _.AN)l="apps/"+
a.V(),q=a.ie(),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 _.GN&&a instanceof _.GN)l="backups/"+a.getId()+"/items",d=9,h.languageCode=sP(this.H.Pe());else if("undefined"!=typeof _.BN&&a instanceof _.BN)f="POST",l="apps",h.appId=a.V(),q=a.ie(),k=!0;else if("undefined"!=typeof _.CN&&a instanceof _.CN)f="POST",l="files/"+a.Gc()+"/permissions",h.fields=_.JM(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.NYa()||"",h.sendNotificationEmail=!a.zZa(),n={},1==a.yg()?n.role="owner":3==a.yg()?n.role="writer":4==a.yg()?(n.role="reader",n.additionalRoles=["commenter"]):2==a.yg()&&(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.ub()&&(n.value=a.ub()),n.withLink=!a.VYa(),e["content-type"]="application/json",q=a.ie(),k=!0,_.OO(this.H,h);else if(a instanceof _.aFc)d=
8,f="POST",l="/v1/exports",e["content-type"]="application/json",n=_.x(a,1).map(function(J){return{id:J}}),n={archiveFormat:null,archivePrefix:_.x(a,2),conversions:null,items:n,locale:null};else if(a instanceof _.rM||"undefined"!=typeof _.KO&&a instanceof _.KO||a instanceof _.Mn||"undefined"!=typeof _.QN&&a instanceof _.QN)if(b=a instanceof _.rM?a.jd():a,_.gO(b)){d=10;f="POST";l="/v1/items";e["content-type"]="application/json";n={};var t=9==_.nO(this.H)?"WEB_MOBILE":"WEB_DESKTOP",v={};v.applicationType=
dTc(this.H);v.platformType=t;v.languageCode=sP(this.H.Pe());v.timeZone=(new _.yv).lY();v.requestType="LIVE_REQUEST";a instanceof _.rM&&(t=a.getOptions())&&_.y(t,10,!1)&&(v.requestType="BACKGROUND_REQUEST");b instanceof _.be?_.DN(b)?(200<=_.nO(this.H)&&300>_.nO(this.H)?v.scenarioType="ONE_PICK":v.scenarioType="QUICK_ACCESS",2==_.lO(b)&&(n.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.x(b,33)[0]}),_.jO(b).length&&(n.itemType=cTc(b))):_.EN(b)?v.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":
_.FN(b)&&(v.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.KO&&b instanceof _.KO?(l="/v1/userfeedback",n.userFeedback=b.V().map(function(J){var Z=J.V(),X={},ma={};ma.feedbackType=sQc[Z.getType()];X.item=ma;X.clientInfo=v;switch(J.getFeature()){case 1:v.scenarioType="DRIVE_PRIORITY";ma.itemId=Z.Gc();break;case 3:v.scenarioType="QUICK_ACCESS";ma.itemId=Z.Gc();break;case 2:v.scenarioType="DRIVE_WORKSPACES",ma.itemId=Z.Gc(),ma.childItem=Z.V().map(function(Aa){var Ka={};Ka.itemId=Aa.Gc();return Ka})}return X})):
b instanceof _.Mn?v.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.QN&&b instanceof _.QN?(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()}]):_.QJc(a);"undefined"!=typeof _.KO&&b instanceof _.KO||(n.maxSuggestions=b.ih(),n.clientInfo=v)}else{q=b.ie();k=!0;l="files";h.q=_.LHc(b);t=[];var z;(z=_.IM(this.H))&&_.y(z,4,!1)?(z=_.qa(this.Gg(c),
this.Gg(c,b.Kh())),_.ya(z)):z=_.ra(this.Gg(c));_.D(this.H,87)&&111==mMc(a)&&(z=z.filter(function(J){return 1!=J}));var C=void 0,F=!1;0<_.nj(b,_.jk,5).length&&(C=_.x(this.H.hf(),50),F=!0);h.fields=dLc({fields:z,Pv:_.tM(this.H.Pe()),tV:C||void 0,dI:_.JM(this.H),s5a:F});h.appDataFilter="NO_APP_DATA";0<_.nj(b,_.iO,25).length&&(h.sources=_.EHc(b));0<b.Pt().length&&(h.spaces=_.FHc(b));a.Bm()&&(h.pageToken=a.Bm());(a=a.getOptions())&&_.B(a,1,1E3)&&(h.maxResults=_.B(a,1,1E3));_.y(b,36,!1)&&(h.includeUnsubscribed=
!0);_.x(b,43)&&(h.rawUserQuery=_.x(b,43));_.OO(this.H,h);_.pO(this.H)&&(h.includeTeamDriveItems=!0,0<_.x(b,33).length&&2==_.lO(b)&&(a=_.x(b,33)[0],h.teamDriveId=a,t.push(a)),h.corpora=_.XGc[_.lO(b)]);_.D(b,18)&&(_.af(h,"corpora"),h.corpus="DOMAIN");_.y(this.H,89,!1)&&(a=_.nj(b,_.lk,63),0<a.length?_.TJc(this,a,e):(a=_.kO(b),z=_.nj(b,_.hO,35),C=_.nj(b,_.hO,38),t=t.concat(a.filter(function(J){return!_.y(J,2,!1)}).map(function(J){return J.ub()})).concat(z.map(function(J){return J.ub()})).concat(C.map(function(J){return J.ub()})),
P3c(this,t,e)));yLc(h,b.Ve());_.UJc(this.H,h);_.VJc(this.H,h)}else if(a instanceof _.HN){l="apps";switch(a.getType()){case 1:h.fields=_.vEc;break;case 2:h.fields=_.wEc;break;case 4:h.fields=_.xEc;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.UF=!0}h.languageCode=sP(this.H.Pe());0<_.x(a,
3).length&&(h.appFilterExtensions=_.x(a,3).join(","));0<_.x(a,4).length&&(h.appFilterMimeTypes=_.x(a,4).join(","));q=a.ie();k=!0}else if("undefined"!=typeof _.IN&&a instanceof _.IN)l="backups",d=9,h.languageCode=sP(this.H.Pe());else if(a instanceof _.MM)l="changes",h.includeDeleted=_.y(a,3,!0),h.includeSubscribed=_.y(a,4,!0),h.maxResults=a.HI(),h.startChangeId=_.x(a,1),h.fields=cLc({fields:this.Gg(c),tV:_.pO(this.H)?hQ(this.H,a.Kh()):void 0,Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)}),h.appDataFilter="NO_APP_DATA",
a.yc()||(h.filters="DRIVE_DATASERVICE"),q=_.bj(this.H.hf(),31),q.length&&(h.spaces=_.$d(q,function(J){return _.pBc[J]}).join(",")),_.OO(this.H,h),_.pO(this.H)&&(h.includeCorpusRemovals=!0,h.includeTeamDriveItems=!0,a.yc()&&(h.teamDriveId=a.yc())),q=a.ie(),k=!0;else if(a instanceof _.JN)q=a.jd(),l="files/"+q.getId()+"/permissions",h.fields=_.JM(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.Bm()&&(h.pageToken=a.Bm()),_.x(a,1)&&(h.maxResults=_.x(a,1)),q=q.ie(),k=!0,_.OO(this.H,h),_.UJc(this.H,h),_.VJc(this.H,h);else if("undefined"!=typeof _.KN&&a instanceof _.KN)h.fields=_.JM(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.ih(),l="files/"+a.Gc()+"/revisions",q=a.ie(),k=!0;else if(a instanceof _.KF)l="teamdrives/"+a.Il()[0],h.fields=hQ(this.H,a.Kh()),q=a.ie(),k=!0;else if(a instanceof _.kFc)f="POST",l="admin/files/migrateToTeamDrivePreFlight",n=UTc(a),e["content-type"]="application/json",k=!0;else if(a instanceof _.aO)q=a.jd(),l="teamdrives",h.fields=MSc(this.H,q.Kh()),h.q=NSc(q),a.Bm()&&(h.pageToken=a.Bm()),(q=(q=a.getOptions())&&_.B(q,1,1E3))&&(h.maxResults=q),q=a.jd().ie(),k=!0;else if(a instanceof
_.bO)l="teamdrives/"+a.yc(),h.fields="kind,id,recursiveFileCount,recursiveFolderCount",k=!0;else if("undefined"!=typeof _.RN&&a instanceof _.RN)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.ie(),k=!0;else if(a instanceof _.KM)f="PUT",l="files/"+a.getId(),h.fields=_.REc({fields:this.Gg(c),Pv:_.tM(this.H.Pe()),dI:_.JM(this.H)}),h.modifiedDateBehavior="DRIVE_UI",h.updateViewedDate=!!_.D(a,15),h.fileId=a.getId(),_.x(a,
9).length&&(h.addParents=_.x(a,9).join(",")),_.x(a,10).length&&(h.removeParents=_.x(a,10).join(",")),_.x(a,31).length&&(h.addWorkspaces=_.x(a,31).join(",")),_.x(a,32).length&&(h.removeWorkspaces=_.x(a,32).join(",")),null!=_.D(a,24)&&(h.confirmed=_.D(a,24)),h.languageCode=sP(this.H.Pe()),n=VTc(a),e["content-type"]="application/json",q=a.ie(),k=!0,_.OO(this.H,h),this.V(a.getId(),h),_.D(a,36)?h.bypassMultiparentingCheck=!0:_.SJc(this.H,h),_.y(this.H,89,!1)&&(b=_.nj(a,_.lk,38),b.length?_.TJc(this,b,e):
(b=_.x(a,9).concat(_.x(a,10)),b.push(a.getId()),P3c(this,b,e)));else if(a instanceof _.TN)f="PUT",l="files/"+a.Gc()+"/revisions/"+_.x(a,2),n=WTc(a),e["content-type"]="application/json",q=a.ie();else if(a instanceof _.UN)l="teamdrives/"+a.getId(),null!=a.xl()?(f="POST",l+="/"+(a.xl()?"hide":"unhide")):(f="PUT",n=XTc(a),e["content-type"]="application/json"),h.fields=hQ(this.H),q=a.ie(),k=!0;else if(a instanceof _.VN)f="PUT",l="workspaces/"+a.getId(),h.fields="kind,id,title,createdDate,modifiedDate,state",
n=YTc(a),e["content-type"]="application/json",q=a.ie(),k=!0;else if("undefined"!=typeof _.gD&&a instanceof _.gD)f="PUT",n=a.V(),q=n.getKey(),l="settings/"+_.x(q,2),(q=_.Kn(q))&&(h.namespace=_.iEc[q]),n=$Lc(n),e["content-type"]="application/json",q=a.ie(),k=!0;else if(a instanceof _.WN)l="about",h.fields=_.JM(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=nMc(h.fields,this.H),q=a.ie(),k=!0;else if(a instanceof _.hM){d=11;f=a.IC();l=a.getUrl();var K=_.x(a,5)||"";_.nj(a,_.gM,2).forEach(function(J){e[J.getKey()]=J.ub()});_.nj(a,_.gM,4).forEach(function(J){h[J.getKey()]=
J.ub()});_.D(a,7)&&(b.Eeb=!0);_.D(a,8)&&(b.UF=!0);_.D(a,9)&&(b.i$=!0)}else a instanceof _.cFc?(l="files/"+a.request.Gc()+"/listCategoryMetadata",q=a.request.ie(),a.pageToken&&(h.pageToken=a.pageToken),a.request.ih()&&(h.maxResults=a.request.ih()),h.fields="kind,nextPageToken,categoryMetadata"):a instanceof _.SN?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/updateCategoryMetadata",q=a.ie(),n={categoryMetadata:a.mM().map(function(J){var Z=_.nj(J,_.HF,2).map(function(ma){return{id:ma.getId(),
userId:ma.Qx(),setBooleanValue:_.D(ma,3),setTextValue:_.x(ma,4),setTextValues:_.x(ma,6),addTextValues:_.x(ma,5),setLongTextValue:_.x(ma,7),setSelectionValue:_.x(ma,8),setSelectionValues:_.x(ma,10),addSelectionValues:_.x(ma,9),setIntegerValue:_.x(ma,11),setIntegerValues:_.x(ma,13),addIntegerValues:_.x(ma,12),setUserValue:_.x(ma,14),setUserValues:_.x(ma,16),addUserValues:_.x(ma,15),setDateStringValue:_.x(ma,17)}}),X={categoryName:J.Jk()};Z.length?X.categoryAttributeValueDeltas=Z:_.x(J,4).length?X.revertAttributeIds=
_.x(J,4):_.D(J,3)&&(X.removeCategory=_.D(J,3));return X})}):a instanceof _.LN?(d=13,l=_.tM(this.H.Pe())?"/v2/people/public":"/v2/people",h.person_id=a.Il(),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"],_.tM(this.H.Pe())||(h["core_id_params.enable_private_names"]=!0)):a instanceof _.gFc?(d=12,
l="/v1/categories/-/published",e["content-type"]="application/json",a.pageToken&&(h.pageToken=a.pageToken),a.request.ih()&&(h.maxResults=a.request.ih()),h.$outputDefaults=!0,h.languageCode=sP(this.H.Pe())):a instanceof _.GF?(d=12,l="/v1/"+a.getName(),e["content-type"]="application/json",h.$outputDefaults=!0,h.languageCode=sP(this.H.Pe())):a instanceof _.oN?(e["content-type"]="application/json",f="POST",l="drives/"+a.yc()+"/changeCategoryReferences",q=a.ie(),k=!0,h.fields=hQ(this.H,[157],!0),n={},
b=_.nj(a,_.$l,2),b.length&&(n.addCategoryReferences=b.map(function(J){return{category:J.Jk()}})),a=_.nj(a,_.$l,3),a.length&&(n.removeCategoryReferences=a.map(function(J){return J.Jk()}))):"undefined"!=typeof _.XN&&a instanceof _.XN?(l="workspaces/"+a.Il()[0],h.fields="kind,id,title,createdDate,modifiedDate,state",q=a.ie(),k=!0):a instanceof _.bFc?(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.qZa()?n.ancestorName=b:n.itemName=b,n.consolidationStrategy={legacy:{}}):a instanceof _.dFc?(d=8,f="POST",l="/v1/exports/"+a.H+":cancel"):a instanceof _.eFc?(d=8,l="/v1/exports/"+a.H):"undefined"!=typeof _.ZN&&a instanceof _.ZN?(l="changes",h.fields="kind,largestChangeId",_.OO(this.H,h),_.pO(this.H)&&(h.includeTeamDriveItems=!0,a.te&&(h.teamDriveId=a.te)),k=!0):a instanceof _.fFc?(l="settings",h.namespace=aMc(a.H),q=a.request.ie(),k=!0):a instanceof _.mFc?(l="workspaces",h.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",
a.pageToken&&(h.pageToken=a.pageToken),a.request.ih()&&(h.maxResults=a.request.ih()),h.q=N3c(a.request),(q=_.A(a.request,_.Nn,5))&&1==q.getType()&&(h.orderBy="title"),q=a.request.ie(),k=!0):a instanceof _.MN?(l="changes/getRemainingCount",h.pageToken=_.x(a,2),null!=_.x(a,3)&&(h.supportsTeamDrives=!0,h.includeTeamDriveItems=!0,h.teamDriveId=a.yc()),q=a.ie()):a instanceof _.kN?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/sendAccessRequest",n={}):_.QJc(a);k&&_.WJc(c,h);return _.XJc(d,
l,h,e,f,q,n,K)};O3c.prototype.V=function(a,b){a=this.ka.V.H(a);b.expectedParentIds=a?a.Qh().join(","):[]};
var P3c=function(a,b,c){b&&b.length&&(a=MTc(a.ka.V,_.hc(new Set(b)).concat()),a=Object.values(a).filter(function(d){return null!=_.x(d,140)}).map(function(d){return _.Ema((new _.lk).lc(d.getId()),_.x(d,140))}),a.length&&(c["X-Goog-Drive-Resource-Keys"]=_.pgb(a)))},Q3c=function(a,b,c){this.G0=_.Jh();var d=new D3c(a.V.V),e=a.tb.bind(a);e=new p3c(a.V,a.wa,new k3c(a.Md,a.zu,e),a.Tf,this.G0.promise,a.Ka,a.sq.bind(a),e);var f=new B3c(a.V,a.Wj,a.$c,a.Na,a.Fm,a.Md,a.zu);this.W=new _.iHc;this.ka=new _.yIc(a.H,
a.ld);var h=new O3c(a.V,a.H,this.G0.promise,a.Ka);this.V=new F3c(a.Ka,a.H,a.W,a.Mv,function(){return a.Xb});this.ha=nTc(a.H,new _.XIc(this.ka,this.W,h,this.V,a.Ra,a.Hc,a.Jb),a.Hc,a.W,a.ka,a.V.V,this.W,this.G0.promise,a.Jb||void 0);this.G0.resolve(c?c:new _.uIc(new E3c,d,this.ha,e,f,a.H,this.H.bind(this),b))};Q3c.prototype.H=function(){return _.Ve(this.ha,function(a){return SOc(a)})};
var R3c=function(a){var b=new Map,c=Date.now();_.Se(a.ha,function(d,e){d=TOc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},S3c=function(a,b){this.W=b||new Date;this.V=a;this.H=bLc(this.V)};S3c.prototype.clone=function(){return new S3c(this.V,this.W)};var T3c=function(){this.H=null;this.V=[]},U3c=function(a){return _.$d(a.V,function(b){return _.cf(b)})};
T3c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new TUc;e.W=SUc(d.H);var f=_.eg().substring(0,8);d=bLc(f);f=(new rQ).lc(f);f=_.w(f,2,d);b=_.w(f,3,b);c=_.w(b,4,c);this.V.push(c);e.V=SUc(d);e.H=QUc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,UUc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var W3c=function(a,b){var c=this;this.H=a;this.Na=b;this.wa=null;this.ka=0;this.oG=this.Xd=!1;this.ha=_.Jh();this.Ca=null;this.W=a.H;b=_.tP(this.W);this.Ka=new _.YJc(_.B(b,2,37500),_.B(b,3,6E5));this.V=null;this.ta=a.Db;this.ma={};_.Se(ZTc,function(d){c.ma[d]=[]});this.La=this.Fa=!1;fQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){nR(c,"Initializing: loaded from local dump");V3c(c)});fQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){nR(c,"Initializing: loaded from sdk backfill");V3c(c)});fQ(a.ha,["mrK8ic",
"BNEDtc"],function(){nR(c,"Updating: sdk backfill complete");c.a2().Sf(_.ze)})},V3c=function(a){a.Fa||(a.Fa=!0,ZQ(a.H).nb(function(b){a.ta.initialize().vf(function(){a.wa=b;a.setActive(!0)},function(c){c&&POc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.eN(c));nR(a,"Error initializing dump storage");a.nO()})}))};_.g=W3c.prototype;_.g.VDa=function(a){this.Xd&&(this.ka+=a,this.ka>_.B(_.tP(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.oG)&&this.Xd!=a){var b=this.H;a&&(b.qc.H()||0<b.V.wa.W||b.ka.Bf()||b.Pg.Bf())||((this.Xd=a)?(this.ha.resolve(),this.V||this.a2().Sf(_.ze)):(this.ha=_.Jh(),_.m.clearTimeout(this.Ca)))}};_.g.nO=function(){this.oG=!0};_.g.Dza=function(){return this.V?this.V.promise:_.Fh()};
_.g.a2=function(){var a=this;if(this.V)return this.V.promise;this.V=_.Jh();_.Kh(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return x_c(a.H.Fa)}).then(function(b){var c=!b;a.oG?a.V.resolve(c):_.go([X3c(a,3,c),X3c(a,0,c,void 0,!0),X3c(a,1,c,void 0,!0),X3c(a,5,c,void 0,!0),X3c(a,6,c,void 0,!0)]).vf(function(){return a.V.resolve(c)},function(d){d=d&&_.nM(d)?d instanceof _.nb?d:new _.nb("Failed to update dump",void 0,d):new _.nb(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 _.Cj;this.ha.promise.then(function(){return x_c(c.H.Fa)}).then(function(e){e=!e;c.oG?d.callback():_.Fj(X3c(c,a,e,b),d)});return d};
var X3c=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.Uf.Gk();var h=new _.Cj;_.Ej(f.Uf,function(){_.Fj(Y3c(a,b,c,d,e),h)})}else h=Y3c(a,b,c,d,e);var k={encrypt:c,Uf:h};a.ma[b].push(k);_.Ej(h,function(){_.pa(a.ma[b],function(l){return k==l})});h.Ae(function(l){a.ta.V.hh()?a.nO():l instanceof _.nb&&(l=l.V||null,l instanceof _.vM&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.nO());return null});
return h},Y3c=function(a,b,c,d,e){var f=new _.Cj;a.ha.promise.then(function(){if(3==b)_.Fj(Z3c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.uc;h=h.H?_.uj(h.H):null;break;case 1:h=a.H.$c.dma();break;case 5:h=$3c(a.H.Na);break;case 6:h=a.H.V.ma;h=pUc(new oUc,L0c(h.H));break;default:f.Bd("Invalid data type to write to storage.");return}if(h){var k=_.nj(_.tP(a.W),rP,11)[0].getKey();!k&&c?(nR(a,"Skipping dump update, encrypted and no key"),f.callback()):k_c(a.ta,c?k:null,[h]).then(f.callback,f.Bd,f)}else e?
(nR(a,"Skipping dump update: "+b),f.callback()):f.Bd("Failed to get data to write to dump.")}});return f},Z3c=function(a,b,c){_.m.clearTimeout(a.Ca);a.Ca=_.m.setTimeout((0,_.I)(a.Ra,a),a.Ka.ub());if(b&&0==a.ka)return _.Hj();a.ka=0;var d=_.nj(_.tP(a.W),rP,11)[0].getKey();if(!d&&c)return nR(a,"Skipping dump update, encrypted and no key"),_.Hj();var e=[];_.Se(xSc,function(h){0<h&&(h=a4c(a,h),h.length&&e.push(k_c(a.ta,c?d:null,h)))});var f=new _.Cj;_.Hh(e).then(function(){a.La&&YQ(a.H.Fa,u_c,!0);f.callback()},
f.Bd,f);return f};W3c.prototype.Ra=function(){_.kH(this.Ka);this.update(3,!0)};
var a4c=function(a,b){switch(b){case 1:return[b4c(a)];case 2:var c=(b=a.H.V.ka.H)?b.iy():[];c=c4c(a,_.jc(SLc(c)));nR(a,"Exporting "+c.length+" secondary dump items.");c.length>_.B(_.tP(a.W),5,2E4)&&(b&&GQ(b),c=[]);b=dQ(new cQ,d4c(c));c=a.H.V.ka;a=new XLc;(c=c.H)&&c.V&&(c=c.iy(),_.w(a,3,c.length));a=_.Q(b,11,a);return[wSc(a,2)];case 3:return e4c(a);case 4:return f4c(a);default:throw new _.nb("Unsupported CacheType");}},b4c=function(a){var b={},c=[],d=_.y(a.W,79,!1);d=wYc(a.H.V.ka,d);for(var e=0;e<
d.length;e++){var f=d[e],h=f.iy(),k=c4c(a,kP(h));h=k.length;var l=0<h?k[h-1]:null;_.Ea(k,function(n){b[n.getId()]=n});if(0<h||f.W)k=oSc(new bQ,f.jd()),f.W||(_.w(k,2,h),_.Q(k,3,l)),c.push(k)}d=_.jc(b);nR(a,"Exporting "+d.length+" initial dump items.");return wSc(uSc(dQ(sSc(vSc(tSc(new cQ,a.H.sq()),_.PO(a.Na)),a.wa.QDa(null)),d4c(d)),c),1)},e4c=function(a){if(!_.pO(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.QDa(d.yc());if(e){var f=c4c(a,kP(d.iy()));nR(a,"Exporting "+
f.length+" TD dump items for: "+d.yc());e=wSc(sSc(dQ(new cQ,d4c(f)),e),3);d=oSc(new bQ,d.jd());uSc(e,[d]);b.push(e)}});return b},f4c=function(a){if(!_.pO(a.W))return[];var b={},c=[];L1c(a.H.V).forEach(function(d){1==d.H&&(kP(d.iy()).forEach(function(e){b[e.getId()]=e}),d=pSc(oSc(new bQ,new _.be),d.jd()),c.push(d))});return[_.w(wSc(uSc(dQ(new cQ,d4c(Object.values(b))),c),4),6,!1)]},c4c=function(a,b){b=RLc(b);_.D(a.W,67)&&(b=g4c(b));_.JM(a.W)&&(b=$0c(a.H.V.ma,b));return b.filter(function(c){return 4!=
hP(c)})},g4c=function(a){var b=[];a=_.p(a);for(var c=a.next();!c.done;c=a.next())c=c.value,tLc(c)?(c=c.clone(),fP(c,sLc),b.push(c)):b.push(c);return b},d4c=function(a){return a.map(function(b){return _.uj(b)})},nR=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};W3c.prototype.wla=function(){this.La=!0};var h4c=function(){};_.g=h4c.prototype;_.g.setActive=function(){};_.g.nO=function(){};_.g.update=function(){return _.Hj()};_.g.Dza=function(){return _.Fh()};_.g.a2=function(){return _.Fh()};
_.g.VDa=function(){};_.g.wla=function(){};
var nP=function(a,b,c,d){_.N.call(this);var e=this;this.W=d||new _.gHc;this.re=a;this.H=b.clone();this.Ka=new _.PIc(this.H);a=_.IM(this.H);this.ma=new WSc(_.PO(this.Ka),_.tM(this.H.Pe()),!(!a||!_.y(a,1,!1)));i4c(this);this.Jd=new _.xm;this.gx=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Jd.resolve();e.ta.H(106020)},1E4);this.rm=null;this.Zf=new _.Cj;this.Bu=!0;this.ka=new _.mKc(_.oO(this.H),_.y(this.H.hf(),52,!1));this.Pg=new _.dKc(_.oO(this.H)?3:1,!_.y(this.H.hf(),
52,!1));this.ta=_.DKc(this.H,this.ka,this.Pg,this.W,this.Jd.promise,c);this.Ug=null;this.On=new w0c(this.ta);this.Cc=new _.Cj;this.Di=[];j4c(this)};_.H(nP,_.N);
var k4c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.gx);a.Jd.resolve()},j4c=function(a){var b=function(){l4c(a).Sf(_.ze)},c=a.re;(c=c&&_.ib(c,_.Uj))?_.ud(c,"A",b):_.GM()||_.ud(_.m,"unload",b)},l4c=function(a){a.ta.H(106005);dPc(a.ta);var b=a.Di.map(function(c){return c()});_.ja(a.Di);return _.Ih(b).then()},m4c=function(a,b){a.Di.push(b)},IYc=function(a,b,c){"string"===typeof b&&null===a.rm&&(a.rm=b,a.Zf.callback(b),b.length&&a.Kv(b,c||null))};
nP.prototype.Kv=function(){};nP.prototype.sq=function(){return this.rm};var n4c=function(a){if(!a.Ug)throw Error("ng");return a.Ug},o4c=function(a,b){a.Ug=b};nP.prototype.MDa=function(){return this.Bu||this.Pg.isConnected()};nP.prototype.hx=function(a){this.Cc.callback(a)};
var i4c=function(a){var b=a.H.hf();0==_.x(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.B(b,37,""))throw Error("og");_.x(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.y(_.tP(a.H),9,!1))if(b=_.nj(_.tP(a.H),rP,11),0<b.length){if(!_.x(b[0],1)||!b[0].getKey()&&!_.oO(a.H)&&!_.y(a.H,10,!1))throw Error("pg");}else _.w(_.tP(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.y(_.tP(a.H),9,!1)&&(_.oO(a.H)||_.y(a.H,10,!1)))throw Error("qg");var c=a.H.Pe();b=!(!c||!_.tM(c));c=c&&_.mO(c)||"";if(!b&&!c)throw Error("rg");b&&_.Ima(a.H,[]);_.nj(a.H,_.be,44).forEach(function(d){try{$Sc(a.ma,d)}catch(e){if(e instanceof _.nb&&(d=e.Fg)&&3==d.Or())throw Error("sg");throw e;}})};nP.prototype.LDa=function(){return 0};nP.prototype.tb=function(a){this.dispatchEvent(new _.ob(new _.nb(void 0,a)))};nP.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var p4c=function(a,b){this.H=a;this.V=b},q4c=function(a,b,c){_.N.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};_.H(q4c,_.N);
var KYc=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())&&_.Kn(q))&&f.add(q)});_.hc(f.values()).concat().forEach(function(q){return void d.push(q)})}if(d.length){var h=_.yEc.has(c),k=new Map;d.forEach(function(q){k.set(q,new Map)});b.forEach(function(q){var t=q.getKey(),v=t&&_.Kn(t);t=t&&_.x(t,2);v=k.get(v);t&&v&&v.set(t,r4c(q))});var l=0,n=0;_.hc(k.keys()).concat().forEach(function(q){var t=k.get(q),v=a.H.get(q);v?h&&(t.forEach(function(z){var C=
z.getKey();(C=v.get(C&&_.x(C,2)))&&_.tj(z,C)||l++}),_.hc(v.values()).concat().forEach(function(z){z=z.getKey();t.has(_.x(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,gQ(a.ka,"px2C2c");gQ(a.ka,"rkYxSd")}(l||n)&&s4c(a,!h)}};q4c.prototype.Vx=function(){return 0<this.H.size};
var s4c=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 _.Gg("WPi0i"))},C3c=function(a,b){var c=b.getKey(),d=c&&_.Kn(c);c=c&&_.x(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=r4c(b);e&&_.tj(b,e)||(d.set(c,b),s4c(a))}};q4c.prototype.remove=function(a){var b=a&&_.Kn(a);a=a&&_.x(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&s4c(this)};
var $3c=function(a,b){var c=[];(b||_.hc(a.H.keys()).concat()).forEach(function(e){(e=a.H.get(e))&&_.hc(e.values()).concat().forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):_.hc(a.H.keys()).concat();var d=new nPc;_.pj(d,1,c);_.w(d,2,b||[]);return d};
q4c.prototype.GF=function(a){var b=this,c=$3c(this,a),d=new _.Ln;d.Dc(this.ha);_.Jva(d,c.kw());_.Q(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.zEc.has(f)&&Infinity>_.zEc.get(f)&&(e=f)});return new p4c(d,e)};
var r4c=function(a){a=a.clone();a.Lh()||a.kc("");return a},t4c=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},u4c=function(a){return 127<a?a-256:a},v4c=function(a,b){return u4c(a[b])+(u4c(a[b+1])<<8)+(u4c(a[b+2])<<16)+(u4c(a[b+3])<<24)},w4c=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+=v4c(a,b),d.b+=v4c(a,b+4),d.c+=v4c(a,b+8),t4c(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+=v4c(a,b+4);d.a+=v4c(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+=v4c(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 t4c(d)},pP=function(a,b,c,d,e,f){nP.call(this,a,b,c,d);var h=this;this.Lb=new _.Sd;this.Qa(this.Lb);this.Du=_.Jh();
this.ha=e?e:new ESc(this.W);this.ta.ha.V=this.ha;this.kb=_.y(_.tP(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?x4c(this,b):null;this.Ya=new PSc(sP(b.Pe()));this.La=new yTc;this.tj=null;this.Le=_.Jh();this.Fa=y4c(this,this.kb);this.Db=z4c(this,this.kb,b);this.wa=A4c(this);this.V=new C1c(this,this.Ka);this.uc=new tXc(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return B4c(h,k)});this.$c=new BXc(this.W,this.ha,this.wa);this.Na=new q4c(this.W,this.ha,this.wa);
this.ws=new _.Cj;this.Au=null;this.Hc=new DXc(this.dm(),this.W,function(k){return void h.tb(k)});this.Jb=_.y(this.H.hf(),52,!1)?new _.EKc(this.Pg,this.dm(),this.W):null;this.Tf=new x2c;this.$d=null;this.Eu=_.Jh();fQ(this.ha,["mrK8ic"],function(){h.Eu.promise.then(function(){JYc(h,h.$d)})});this.Fi=new _.Cj;this.Mv=new _.BJc(this.H);this.Ra=new _.RIc(this.H,this.V.V);this.Wj=new g3c(this);this.Md=new A2c(this.Le.promise,this.dm());this.zu=new C2c(this.dm(),this.Md);this.ld=new T3c;this.Fm=new V2c(this.Le.promise,
this.dm(),this.W,this.H);this.qc=new Q3c(this,this.R7a.bind(this),f);this.Du.resolve(this.qc);this.Ca=new zYc;this.Lv=new J2c(this);this.nh=new xXc;this.Ge=_.Jh();this.zs=!1;this.As=_.Jh();fQ(this.ha,["BNEDtc"],function(){return h.As.resolve()});(this.Xb=_.B(b.Pe(),6,"")||"")&&B4c(this,this.Xb);this.Qn=null;m4c(this,function(){h.wa.nO();return _.Fh()})};_.H(pP,nP);
var x4c=function(a,b){var c=_.mO(b.Pe()),d=_.nO(b),e=function(){},f=_.nj(_.tP(b),rP,11);f=f[0]&&_.x(f[0],1);var h=new jZc(c,d,_.B(_.tP(b),10,0)||0,f||"",_.PO(a.Ka));_.oO(b)?c=VZc(c,d).then(function(l){return l?l:h}):_.y(b,10,!1)&&0<_.B(_.tP(b),8,432E6)?(b=C4c(a,c),c=VZc(c,d,b).then(function(l){return l&&(e=function(n){return n.Ok(h).Sf(function(){return null})},!l.ta)?l:h})):c=_.Fh(h);var k=new TQ(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},C4c=function(a,
b){var c=_.B(_.tP(a.H),8,432E6);if(!_.oO(a.H)&&0<c)return Math.abs(w4c(_.ika(b)))%c};pP.prototype.Xz=function(a){var b=this;return this.kb?this.kb.hh()?_.Gh(Error("tg`"+FZc(this.kb))):x_c(this.Fa).then(function(c){var d=b.kb,e=[];e.push(b.wa.Dza());e.push(a?d.Ok():RZc(d));if(a===c)return _.Hh(e).then(function(){return!1});!1===a&&(e.push(EZc(d)),(c=b.sq())&&e.push(YQ(b.Fa,q_c,c)));return _.Hh(e).then(function(){return b.Fa.Xz(a)},function(){return!1})}):_.Gh(Error("ug"))};
var z4c=function(a,b,c){var d=null;b&&(d=new b_c(b,c,function(e){a.tb(e)}),d.initialize());return d},y4c=function(a,b){var c=new v_c(b||void 0);c.sq().then(function(d){d&&IYc(a,d,5)});b&&(x_c(c).then(function(d){a.ka.Xz(d)}),_.Hh([b.initialize(),a.Jd.promise]).then(function(){D4c(a,c)},function(){}));return c},D4c=function(a,b){A_c(b).then(function(c){(!c||c<Date.now()-864E5)&&YZc(_.mO(a.H.Pe()),_.nO(a.H),a.W).then(function(d){d&&(d=Date.now(),YQ(b,t_c,d))},function(){})})},A4c=function(a){if(!a.Db)return new h4c;
var b=new W3c(a,a.Ka);a.Lb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Bf())});a.Lb.listen(a.Pg,_.hc(Object.values(ASc)).concat(),function(){return void b.setActive(a.Pg.isConnected())});return b};pP.prototype.ex=function(a){this.Au=a;this.ws.callback(a)};var ZQ=function(a){return a.ws.Gk()},E4c=function(a){return a.kb?a.kb.hh():null},F4c=function(a,b){a.ha.H("NSockf")?gQ(a.ha,b):fQ(a.ha,["NSockf"],function(){gQ(a.ha,b)})};
pP.prototype.Kv=function(a,b){this.log("Setting Root ID: "+a);a&&(this.La.H=a||"",this.ma.W=a||"",6!=b&&1!=b||YQ(this.Fa,q_c,a),F4c(this,"jroI5d"))};var B4c=function(a,b){_.y(a.H,15,!1)||(a.Xb=b,F4c(a,"NVkrgc"))};pP.prototype.ys=function(){return this.Fi.Gk()};var JYc=function(a,b,c){0>b||(c?a.$d?a.$d=Math.max(a.$d,b):(a.$d=b,a.Eu.resolve()):a.Fi.Ie()||(a.Fi.callback(b),F4c(a,"T8oKm")))},JQ=function(a){if(!a.tj)throw Error("vg");return a.tj};_.g=pP.prototype;_.g.dm=function(){return this.Du.promise.then(function(a){return a.G0.promise})};
_.g.vla=function(){this.zs||(this.zs=!0,this.Ge.resolve(),gQ(this.ha,"aU7Ts"))};_.g.MDa=function(){throw Error("wg");};_.g.R7a=function(){this.qc.H()||this.dispatchEvent("Pb")};_.g.LDa=function(){return this.V.V.W()};
var e0c=function(a){a.Qn||(a.Qn=new G2c(a.Le.promise,a.dm(),a.W));return a.Qn},G4c=function(a){_.De("drive.DebugUtil.printFindById",function(c){a.XL(c).nb(function(d){window.console.log(JSON.stringify(d))})});_.De("drive.DebugUtil.getLogs",function(){return XKc(a.B9())});_.De("drive.DebugUtil.printLogs",function(){window.console.log(XKc(a.B9()))});_.De("drive.DebugUtil.printRequestHistory",function(){a.ama().nb(function(c){c.forEach(function(d){window.console.log(_.x(d,1));window.console.log(_.x(d,
2))})})});_.De("drive.DebugUtil.getState",function(){return a.getState()});var b=a.$a();b&&_.y(b,1,!1)&&(_.De("drive.DebugUtil.getContext",function(){return a.getContext()}),_.De("drive.DebugUtil.setOffline",function(c){return void a.Ok(c)}))},oR=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.wa=a;this.La=b;this.Ra=c;this.jc=e;this.Ya=d;this.Na=f;this.H=[];this.items=[];this.ma=6;this.Ca=oMc(new _.SM,[1]);this.ta=!0;this.ha=e.ih();this.W=!1;this.suggestionSessionId=this.sessionId=this.ka=null;
this.V=0;_.hd(this,function(){h.W=!1;h.H=[]})};_.H(oR,_.N);_.g=oR.prototype;_.g.Zh=function(){return String(_.xa(this))};_.g.we=function(){return this.W};_.g.activate=function(){this.W=!0;_.ia(this.items)&&6==this.Gb()&&this.Ui()||H4c(this)};_.g.jd=function(){return this.jc};_.g.ih=function(){return this.ha};_.g.Gb=function(){return this.ma};_.g.tq=function(){return this.Ca};_.g.Ui=function(){return this.ta};
_.g.Jp=function(){var a=_.YM(_.aN.Fb(),this.H,this.items),b=(new kPc).Dc(this.Gb());a=_.pj(b,2,a);this.H=this.items;return a};_.g.zq=function(a){this.W&&(this.ha+=a||50,this.Ya(this.Zh(),this.ha))};var I4c=function(a,b){return a.Gb()!=b.Gb()||vP(_.aN.Fb(),a.items,b.wd())},J4c=function(a,b){a.items=b.wd();a.ma=b.Gb();_.JM(a.Na)&&(a.Ca=pMc(a.ma,a.items));a.ta=b.pga();a.V=b.Ke()};
oR.prototype.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a query after "+a.GD+" retries.",a.error)))};oR.prototype.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};oR.prototype.hs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+jQ(this.wa,this.jd());return _.Ij(this.La.then(function(d){return d.ka(a,b,c.jd(),c.ih(),c.items)}))};
var H4c=function(a){a.we()&&(K4c(a,"Returning "+a.items.length+" items. Status: "+(_.Pea(pPc)[a.Gb()]+". Datasource: ")+(_.Pea(gQc)[a.V]+". Query: ")+jQ(a.wa,a.jc)),L4c(a,a.items,a.jc),a.dispatchEvent(new _.Gg(_.Xb,a)))},L4c=function(a,b,c){if(_.DN(c))c="quick access";else if(_.EN(c))c="people predict";else if(_.FN(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");K4c(a,"Returning "+b.length+" items for "+c+": "+d)};oR.prototype.refresh=function(){};
var K4c=function(a,b){a.Ra.info("drive.ds.sync.BaseViewCacheLiveList",b)},wMc=[90,59,75];_.R("sy128");
var pR=function(a){_.P(this,a,0,-1,null,null)};_.L(pR,_.O);pR.prototype.getType=function(){return _.x(this,1)};var M4c=function(a){var b=new pR;return _.w(b,1,a)};pR.prototype.cY=function(){return _.A(this,_.fk,2)};var N4c=function(a,b){return _.Q(a,2,b)};pR.prototype.Mt=function(){return _.x(this,3)};pR.prototype.ku=function(a){return _.w(this,3,a)};pR.prototype.Yh=function(){return _.x(this,4)};pR.prototype.setPosition=function(a){return _.w(this,4,a)};
var qR=function(a){_.P(this,a,0,-1,null,null)};_.L(qR,_.O);qR.prototype.getType=function(){return _.x(this,1)};var O4c=function(a){var b=new qR;return _.w(b,1,a)},P4c=function(a,b){return _.Q(a,2,b)};qR.prototype.Mt=function(){return _.x(this,3)};qR.prototype.ku=function(a){return _.w(this,3,a)};qR.prototype.Yh=function(){return _.x(this,4)};qR.prototype.setPosition=function(a){return _.w(this,4,a)};
var rR=function(a){_.P(this,a,0,-1,null,null)};_.L(rR,_.O);rR.prototype.getType=function(){return _.x(this,1)};var sR=function(a){var b=new rR;return _.w(b,1,a)},tR=function(a,b){return _.Q(a,2,b)};rR.prototype.Mt=function(){return _.x(this,3)};rR.prototype.ku=function(a){return _.w(this,3,a)};rR.prototype.Yh=function(){return _.x(this,4)};rR.prototype.setPosition=function(a){return _.w(this,4,a)};
var R4c=function(a){_.P(this,a,0,-1,Q4c,null)};_.L(R4c,_.O);var Q4c=[2];R4c.prototype.Gb=function(){return _.x(this,1)};R4c.prototype.Dc=function(a){return _.w(this,1,a)};R4c.prototype.Sj=function(){return _.x(this,3)};
var S4c=function(a){_.P(this,a,0,-1,null,null)};_.L(S4c,_.O);
var U4c=function(a){_.P(this,a,0,-1,T4c,null)};_.L(U4c,_.O);var T4c=[2];U4c.prototype.Gb=function(){return _.x(this,1)};U4c.prototype.Dc=function(a){return _.w(this,1,a)};U4c.prototype.dj=function(){return _.nj(this,_.ZM,2)};U4c.prototype.uo=function(a,b){return _.qj(this,2,a,_.ZM,b)};
var W4c=function(a){_.P(this,a,0,-1,V4c,null)};_.L(W4c,_.O);var V4c=[2];W4c.prototype.Gb=function(){return _.x(this,1)};W4c.prototype.Dc=function(a){return _.w(this,1,a)};W4c.prototype.Oi=function(){return _.nj(this,qR,2)};
var X4c=function(a){_.P(this,a,0,-1,null,null)};_.L(X4c,_.O);X4c.prototype.Gb=function(){return _.x(this,1)};X4c.prototype.Dc=function(a){return _.w(this,1,a)};
var Z4c=function(a){_.P(this,a,0,-1,Y4c,null)};_.L(Z4c,_.O);var Y4c=[2];Z4c.prototype.Gb=function(){return _.x(this,1)};Z4c.prototype.Dc=function(a){return _.w(this,1,a)};Z4c.prototype.Oi=function(){return _.nj(this,rR,2)};
var uR=function(a){_.P(this,a,0,-1,null,null)};_.L(uR,_.O);uR.prototype.getType=function(){return _.x(this,1)};var $4c=function(a){var b=new uR;return _.w(b,1,a)};uR.prototype.Mt=function(){return _.x(this,3)};uR.prototype.ku=function(a){return _.w(this,3,a)};uR.prototype.Yh=function(){return _.x(this,4)};uR.prototype.setPosition=function(a){return _.w(this,4,a)};
var b5c=function(a){_.P(this,a,0,-1,a5c,null)};_.L(b5c,_.O);var a5c=[2];b5c.prototype.Gb=function(){return _.x(this,1)};b5c.prototype.Dc=function(a){return _.w(this,1,a)};b5c.prototype.Sj=function(){return _.x(this,3)};
var d5c=function(a){_.P(this,a,0,-1,c5c,null)};_.L(d5c,_.O);var c5c=[2,4];d5c.prototype.Gb=function(){return _.x(this,1)};d5c.prototype.Dc=function(a){return _.w(this,1,a)};d5c.prototype.Sj=function(){return _.x(this,3)};
_.vR=function(a){_.P(this,a,0,-1,null,null)};_.L(_.vR,_.O);_.vR.prototype.getType=function(){return _.x(this,1)};var e5c=function(a){var b=new _.vR;return _.w(b,1,a)};_.vR.prototype.Mu=function(){return _.A(this,_.pQ,2)};var f5c=function(a,b){return _.Q(a,2,b)};_.vR.prototype.Mt=function(){return _.x(this,3)};_.vR.prototype.ku=function(a){return _.w(this,3,a)};_.vR.prototype.Yh=function(){return _.x(this,4)};_.vR.prototype.setPosition=function(a){return _.w(this,4,a)};
var h5c=function(a){_.P(this,a,0,-1,g5c,null)};_.L(h5c,_.O);var g5c=[2,4];
var j5c=function(a){_.P(this,a,0,-1,i5c,null)};_.L(j5c,_.O);var i5c=[2];j5c.prototype.Gb=function(){return _.x(this,1)};j5c.prototype.Dc=function(a){return _.w(this,1,a)};j5c.prototype.Sj=function(){return _.x(this,3)};
var k5c=function(a){_.Gg.call(this,"Rb");this.dataType=a};_.H(k5c,_.Gg);
var l5c=function(a,b){_.Gg.call(this,"Sb");this.ha=a;this.H=b};_.H(l5c,_.Gg);
var m5c=function(){};_.g=m5c.prototype;_.g.ZE=function(a,b){return mQc(lQc(1),a).setPosition(b)};_.g.XE=function(a,b){return mQc(lQc(2).setPosition(b),a)};_.g.BJ=function(a,b,c){return mQc(lQc(3).ku(b).setPosition(c),a)};_.g.UH=function(a,b){return mQc(lQc(4),a).setPosition(b)};_.g.wF=function(a){return _.A(a,CP,2)};
var n5c=function(){_.XM.call(this,new m5c,function(a){return a&&a.getName()})};_.H(n5c,_.XM);
var wR=function(a,b,c){_.N.call(this);var d=this;this.ha=a;this.Pg=b;this.limit=c||50;this.Rd=new _.Sd(this);this.Qa(this.Rd);this.active=!1;this.status=6;this.La=oMc(new _.SM,[1]);this.ta=this.H=!1;_.hd(this,function(){d.active=!1;d.Rd.removeAll()})};_.H(wR,_.N);_.g=wR.prototype;_.g.Bf=function(){return this.ha.Bf()||this.Pg.Bf()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Rd.listen(this.ha,"Cb",_.Be(this.hq)),this.Rd.listen(this.Pg,_.hc(Object.values(ASc)).concat(),_.Be(this.hq)),this.ha.Bf()?this.Rd.hd(this.ha,"Cb",function(b){b.Bf()||(a.QA(),a.dispatchEvent(new _.Gg(_.Vp)))}):this.Pg.Bf()?this.Rd.hd(this.Pg,["wb","yb"],function(){a.QA();a.dispatchEvent(new _.Gg(_.Vp))}):(this.QA(),this.dispatchEvent(new _.Gg(_.Vp))))};_.g.QA=function(){};
_.g.zq=function(a){var b=this;if(this.Ui()){var c=this.limit;this.limit+=a||50;this.hc()>c&&this.hq();this.ha.Bf()?this.Rd.hd(this.ha,"Cb",function(d){d.Bf()||b.jH()}):this.jH()}};_.g.gG=function(){this.Bf()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Gb=function(){return this.status};_.g.tq=function(){return this.La};_.g.handleError=function(a){this.dispatchEvent(new _.ob(a))};_.g.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};_.g.Ui=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rd.removeAll();this.activate()};_.g.jH=function(){};
var o5c=function(a,b,c,d,e){wR.call(this,a,b,e.ih()||void 0);this.jc=e;this.Ca=d;this.ka=[];this.V=[];this.W=!1;this.ma=new n5c;this.wa=c};_.H(o5c,wR);_.g=o5c.prototype;_.g.QA=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.getData=function(){return qQc(new GP,this.V).Dc(this.status)};_.g.Jp=function(){var a=_.YM(this.ma,this.ka,this.V);this.ka=this.V;var b=(new oQc).Dc(this.status);return _.pj(b,2,a)};_.g.jH=function(){this.Ca(this.Zh(),this.limit)};
_.g.hq=function(){if(this.active){var a=this.status;this.gG();if(this.W||a!=this.status)p5c(this,"Returning "+this.V.length+" labels for "+this.jc.Gc()),this.W=!1,this.dispatchEvent(new _.Gg(_.Xb,this))}};_.g.hc=function(){return this.V.length};_.g.Zh=function(){return String(_.xa(this))};_.g.jd=function(){return this.jc};
_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||vP(0,this.V,b.V()))this.H=!0,this.status=b.Gb(),this.V=b.V(),this.ta=a.V,p5c(this,"Returning "+this.V.length+" labels for "+this.jc.Gc()),this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a category metadata query after "+a.GD+" retries.",a.error)))};var p5c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var q5c=function(a,b,c){_.N.call(this);var d=this;this.ka=a;this.jc=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=oMc(new _.SM,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.jc.Il().join(", "));_.hd(this,function(){d.ha=!1;d.W=[]})};_.H(q5c,_.N);_.g=q5c.prototype;_.g.Zh=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.jd=function(){return this.jc};
_.g.getData=function(){this.W=this.H;var a=new _.XO;a.Dc(this.V);a.H=this.H;return a};_.g.Jp=function(){var a=qMc(this.W,this.H),b=new kQc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.tq=function(){return this.ma};_.g.FK=function(a){var b=this.jc;this.jc=a;this.ta.Ka(this.Zh(),b,a)};
_.g.update=function(a){if(this.V!=a.Gb()||rMc(this.H,a.Os()))this.V=a.Gb(),this.H=a.Os(),_.JM(this.ka.H)&&(this.ma=pMc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a team drive find-by-IDs query after "+a.GD+" retries.",a.error)))};_.g.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};
var r5c=function(a,b,c,d,e,f){oR.call(this,a,b,c,e,f,d);this.Ka=null;this.Fa=void 0};_.H(r5c,oR);r5c.prototype.getData=function(){this.H=this.items;var a=WNc((new _.JB).Dc(this.Gb()).Zv(this.items),this.Ui());a=_.Q(a,7,this.Ka);return _.tGc(a.$H(this.ka).setSessionId(this.sessionId).KW(this.suggestionSessionId).JW(this.V),this.Fa)};
r5c.prototype.update=function(a){I4c(this,a)&&(J4c(this,a),this.Ka=a.HW(),this.ka=a.gF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.IW(),this.Fa=a.K6(),H4c(this))};
var s5c=function(a,b){var c={};a=_.Te(a,function(d){return!!d});b=_.Te(b,function(d){return!!d});_.Se(a,function(d,e){var f=b[e];f?_.tj(d,f)||(d=tR(sR(4),f),c[e]=d):(d=tR(sR(2),d),c[e]=d)});_.Se(b,function(d,e){a[e]||(d=tR(sR(1),d),c[e]=d)});return c},t5c=function(a,b){return _.We(a)!=_.We(b)||!_.$e(s5c(a,b))};
var u5c=function(a,b){_.N.call(this);this.jc=b;this.Xd=!1;this.V=6;this.W={};this.H={}};_.H(u5c,_.N);_.g=u5c.prototype;_.g.activate=function(){this.Xd||(this.Xd=!0,_.$e(this.H)&&6==this.V||this.dispatchEvent(new _.Gg(_.Xb,this)))};_.g.Gb=function(){return this.V};_.g.tq=function(){return new _.SM};_.g.getData=function(){this.W=this.H;var a=(new _.ZO).Dc(this.V);_.Se(this.H,function(b,c){a.KL().set(c,b||new _.HB)});return a};
_.g.Jp=function(){var a=s5c(this.W,this.H);this.W=this.H;var b=(new X4c).Dc(this.V);_.Se(a,function(c,d){_.dj(b,2,rR).set(d,c)});return b};_.g.FK=function(){throw Error("xg");};_.g.Zh=function(){return String(_.xa(this))};_.g.jd=function(){return this.jc};_.g.update=function(a){var b={};a.KL().forEach(function(c,d){c||(c=O2c(d));b[d]=c});if(this.V!=a.Gb()||t5c(this.W,b))this.V=a.Gb(),this.H=b,this.Xd&&this.dispatchEvent(new _.Gg(_.Xb,this))};
_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a Workspace find by id after "+a.GD+" retries.",a.error)))};_.g.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};
var v5c=function(){};_.g=v5c.prototype;_.g.ZE=function(a,b){return tR(sR(1),a).setPosition(b)};_.g.XE=function(a,b){return tR(sR(2).setPosition(b),a)};_.g.BJ=function(a,b,c){return tR(sR(3).ku(b).setPosition(c),a)};_.g.UH=function(a,b){return tR(sR(4),a).setPosition(b)};_.g.wF=function(a){return _.A(a,_.HB,2)};
var w5c=function(){_.XM.call(this,new v5c,function(a){return a&&a.getId()})};_.H(w5c,_.XM);
var x5c=function(a,b,c){wR.call(this,a.ka,a.Pg,b.ih()||10);this.jc=b;this.wa=c;this.W=[];this.V=[];this.ka=!1;this.ma=new w5c};_.H(x5c,wR);_.g=x5c.prototype;_.g.QA=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.getData=function(){this.W=this.V;return rUc((new vQ).Dc(this.status),this.V.slice(0))};_.g.Jp=function(){var a=_.YM(this.ma,this.W,this.V);this.W=this.V;var b=(new Z4c).Dc(this.status);return _.pj(b,2,a)};_.g.jH=function(){this.wa.W(this.Zh(),this.limit)};
_.g.hq=function(){var a=this.status;this.gG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.hc=function(){return this.V.length};_.g.Zh=function(){return String(_.xa(this))};_.g.jd=function(){return this.jc};_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||vP(0,this.V,b.Oi()))this.H=!0,this.status=b.Gb(),this.V=b.Oi(),this.ta=a.V,this.dispatchEvent(new _.Gg(_.Xb,this))};
_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a Workspace query after "+a.GD+" retries.",a.error)))};
var z5c=function(a,b,c,d,e,f){_.N.call(this);var h=this;this.ka=a;this.wa=b;this.jc=f;this.Ca=d;this.Fa=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=oMc(new _.SM,[1]);this.ta=c;y5c(this,"Creating find by ids live map: "+this.jc.Il().join(", "));_.hd(this,function(){h.ha=!1;h.W=[]})};_.H(z5c,_.N);_.g=z5c.prototype;_.g.Zh=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.$e(this.H)&&6==this.V||A5c(this)};_.g.jd=function(){return this.jc};
_.g.getData=function(){this.W=this.H;var a=new _.XO;_.JM(this.ka)?a.Dc(uLc(Object.values(this.H))?6:this.V):a.Dc(this.V);a.H=this.H;return a};_.g.Jp=function(){var a=qMc(this.W,this.H),b=new kQc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.tq=function(){return this.ma};_.g.FK=function(a){YSc(a);var b=this.jc;this.jc=a;this.Fa(this.Zh(),b,a)};
_.g.update=function(a){var b=this;0<=_.fa(this.jd().Il(),"root")?this.Ca.nb(function(c){var d=a.Os()[c];d&&(_.af(a.H,c),a.H.root=d);B5c(b,a)}):B5c(this,a)};var B5c=function(a,b){if(a.V!=b.Gb()||rMc(a.H,b.Os()))a.V=b.Gb(),a.H=b.Os(),_.JM(a.ka)&&(a.ma=pMc(a.V,Object.values(a.H))),A5c(a)};z5c.prototype.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a find-by-IDs query after "+a.GD+" retries.",a.error)))};z5c.prototype.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};
var A5c=function(a){a.ha&&(y5c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Gb()+". Query: ")+jQ(a.wa,a.jc)),a.dispatchEvent(new _.Gg(_.Xb,a)))},y5c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var C5c=function(a,b,c,d,e,f){oR.call(this,a,b,c,d,e,f);this.Fa=[]};_.H(C5c,oR);C5c.prototype.getData=function(){this.H=this.items;return iPc(hPc((new _.YO).Dc(this.Gb()).Zv(this.items),this.Ui()),this.Fa).$H(this.ka).setSessionId(this.sessionId).KW(this.suggestionSessionId).JW(this.V)};C5c.prototype.update=function(a){I4c(this,a)&&(J4c(this,a),this.Fa=_.nj(a,_.fk,6),this.ka=a.gF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.IW(),H4c(this))};
var D5c=function(){};_.g=D5c.prototype;_.g.ZE=function(a,b){return P4c(O4c(1),a).setPosition(b)};_.g.XE=function(a,b){return P4c(O4c(2).setPosition(b),a)};_.g.BJ=function(a,b,c){return P4c(O4c(3).ku(b).setPosition(c),a)};_.g.UH=function(a,b){return P4c(O4c(4),a).setPosition(b)};_.g.wF=function(a){return _.A(a,JP,2)};
var E5c=function(){_.XM.call(this,new D5c,function(a){return a&&a.V()})};_.H(E5c,_.XM);
var F5c=function(a,b,c){wR.call(this,a.ka,a.Pg,b.ih()||10);this.jc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ca=new E5c;this.ma=null};_.H(F5c,wR);_.g=F5c.prototype;_.g.QA=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.getData=function(){this.ka=this.V;return KQc((new KP).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Jp=function(){var a=_.YM(this.Ca,this.ka,this.V);this.ka=this.V;var b=(new W4c).Dc(this.status);return _.pj(b,2,a)};
_.g.jH=function(){};_.g.hq=function(){var a=this.status;this.gG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.hc=function(){return this.V.length};_.g.Zh=function(){return String(_.xa(this))};_.g.jd=function(){return this.jc};_.g.update=function(a){if(this.status!=a.Gb()||vP(0,this.V,a.Oi())){this.W=this.H=!0;this.V=a.Oi();if(a=a.getSessionId())this.ma=a;this.hq()}};_.g.refresh=function(){this.wa()};
_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a Suggested Workspace query after "+(a.GD+" retries."),a.error)))};
var G5c=function(a,b,c){_.N.call(this);var d=this;this.jc=a;this.Ca=b;this.wa=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.ih();this.V=6;this.ta=oMc(new _.SM,[1]);this.W=!0;_.hd(this,function(){d.ha=!1;d.ka=[]})};_.H(G5c,_.N);_.g=G5c.prototype;_.g.Zh=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.ia(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.jd=function(){return this.jc};_.g.Gb=function(){return this.V};_.g.tq=function(){return this.ta};
_.g.Ui=function(){return this.W};_.g.getData=function(){this.ka=this.H;return WNc((new _.JB).Dc(this.V).Zv(this.H),this.W)};_.g.Jp=function(){var a=_.YM(_.aN.Fb(),this.ka,this.H),b=(new kPc).Dc(this.V);a=_.pj(b,2,a);this.ka=this.H;return a};_.g.zq=function(a){this.ha&&(this.ma+=a||20,this.Ca.W(this.Zh(),this.ma))};
_.g.update=function(a){if(this.V!=a.Gb()||vP(_.aN.Fb(),this.H,a.wd()))this.H=a.wd(),this.V=a.Gb(),_.JM(this.wa)&&(this.ta=pMc(this.V,this.H)),this.W=a.pga(),this.ha&&this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.fG=function(a){this.dispatchEvent(new _.ob(new _.nb("Error occurred running a Team Drive query after "+a.GD+" retries.",a.error)))};_.g.eJ=function(){this.dispatchEvent(new _.Gg(_.EDa))};_.g.hs=function(){throw Error("yg");};_.g.refresh=function(){};
var H5c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Fm;this.La=this.H.Md;this.ha={};this.Ca={};this.Fa={};this.V=null;this.wa=b};_.g=H5c.prototype;_.g.rfa=function(a){var b=this,c=new r5c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.ufa=function(a){var b=this,c=new C5c(this.H.ma,this.H.Cc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};
_.g.ofa=function(a){var b=this,c=new z5c(this.H.H,this.H.ma,this.H.W,this.H.Zf,this.Ka.bind(this),a);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.xfa=function(a){var b=this,c=new G5c(a,this,this.H.H);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.yfa=function(a){var b=this,c=new q5c(this.H,this,a);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.zfa=function(a){var b=this,c=new x5c(this.H,a,this);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};
_.g.vfa=function(a){var b=this,c=new F5c(this.H,a,function(){if(a instanceof _.Mn){var d=e0c(b.H);v2c(d,d.getKey(a)).refresh()}});xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.Afa=function(a){var b=this,c=new u5c(this.H,a);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};_.g.kfa=function(a){var b=this,c=new o5c(this.H.ka,this.H.Pg,this.H.W,function(d,e){return b.W(d,e)},a);xR(this,c);_.hd(c,function(){return yR(b,c)});return c};
var xR=function(a,b){var c=b.Zh();a.ha[c]=b;a.wa.create(c,b.jd());b=b.jd()instanceof _.On?s2c(a.ma,c,b.jd()):"undefined"!=typeof _.XN&&b.jd()instanceof _.XN?t2c(a.ma,c,b.jd()):b.jd()instanceof _.Mn?s2c(e0c(a.H),c,b.jd()):b.jd()instanceof _.RF?s2c(a.La,c,b.jd()):H1c(a.ta,c,b.jd());"boolean"===typeof b&&x0c(a.wa,c,b)},yR=function(a,b){if(b.jd()instanceof _.On)u2c(a.ma,b.Zh(),b.jd());else if("undefined"!=typeof _.XN&&b.jd()instanceof _.XN){var c=a.ma,d=b.Zh(),e=b.jd(),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.jd()instanceof _.Mn?u2c(e0c(a.H),b.Zh(),b.jd()):b.jd()instanceof _.RF?u2c(a.La,b.Zh(),b.jd()):I1c(a.ta,b.Zh(),b.jd());eR(a.wa,b.Zh(),4);delete a.ha[b.Zh()]};H5c.prototype.Ka=function(a,b,c){I1c(this.ta,a,b);H1c(this.ta,a,c)};
H5c.prototype.W=function(a,b){var c=SXc(this,a).jd();c.Ri(b);c instanceof _.On?s2c(this.ma,a,c):"undefined"!=typeof _.XN&&c instanceof _.XN?t2c(this.ma,a,c):c instanceof _.RF?s2c(this.La,a,c):H1c(this.ta,a,c)};
H5c.prototype.ka=function(){_.Oh(this.V);this.V=null;var a=Object.keys(this.Ca),b=Object.keys(this.Fa);a=_.p(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ca[c];if(d){delete this.Ca[c];var e=this.ha[c];e&&(z0c(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.Fa[a])if(delete this.Fa[a],d=this.ha[a])eR(this.wa,a,3),d.fG(c)};var SXc=function(a,b){if(!a.ha[b])throw Error("zg`"+b);return a.ha[b]};
var zR=function(a,b){_.N.call(this);this.ka=a;this.jc=b;this.W=_.Jh();this.V=!1;this.H=""};_.H(zR,_.N);zR.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.jc)}).then(this.ta.bind(this)).Sf(this.ha.bind(this));return this.W.promise};zR.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new l5c(0,this.H));I5c(this)};var I5c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.eFc(a.H))}).then(a.wa.bind(a)).Sf(a.ha.bind(a))},5E3)};
zR.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new l5c(a.ka,this.H)),I5c(this);else{this.V=!0;if(4==a.status){var b=new h5c;b=_.w(b,2,a.H||[]);b=_.w(b,3,this.H);b=_.w(b,5,a.ma);b=_.w(b,6,a.W);b=_.w(b,7,a.sv);b=_.w(b,8,a.ha);a=_.pj(b,4,a.V);this.W.resolve(a)}else a=_.EM(_.Np(_.Mp(new _.mb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};zR.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.dFc(a.H))}).then(this.ma.bind(this)).Sf(this.ha.bind(this))};
zR.prototype.ma=function(){if(!this.V){var a=new h5c;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};zR.prototype.ha=function(a){this.V=!0;this.W.reject(_.eN(a));this.dispose()};
var J5c=function(){_.Gg.call(this,"VbxEwf")};_.H(J5c,_.Gg);
var K5c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=K5c.prototype;_.g.$a=function(){return _.A(this.H.H,_.pM,58)};_.g.getContext=function(){return this.H};_.g.GDa=function(){var a=this.H.Ra,b=this.W,c=_.jc(a.H);a.V&&c.push(_.SIc("CacheSize",a.V.W()));c.push(_.SIc("InitialViewDataLoaded",b));a=new GOc;_.pj(a,1,c);return _.Hj(a)};_.g.B9=function(){return this.H.W};_.g.XL=function(a){return _.Hj(this.H.V.V.H(a))};_.g.ama=function(){return _.Hj(this.H.Ra.W.eh())};
_.g.Gba=function(a,b,c){var d=new _.Cj;if(_.A(a,_.rM,3)||_.A(a,_.aO,4)||_.A(a,_.QO,5)||_.A(a,_.UN,6)||_.A(a,_.wN,7)||_.A(a,_.pN,8)||_.A(a,_.tN,9)||_.A(a,_.KM,10)){var e=PTc(a);this.H.dm().then(function(f){return f.H(e,{wlb:b,xlb:c})}).then(this.$3a.bind(this,d),d.Bd,d);return d}throw Error("Ag");};
_.g.$3a=function(a,b){var c=[],d="";if(b instanceof _.BO){c=b.Zq().wd();var e=_.x(b,2);d=b.Bm()}else if(b instanceof _.dO)b.getItem()&&c.push(b.getItem()),e=b.zI();else throw Error("Bg");a.callback({items:c,iwa:e,pageToken:d})};_.g.VKa=function(){var a=this.H.H,b=a.hf();a="email:"+a.Pe().getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.pva=function(){this.H.wa.nO();var a=this.H.H;ZZc(_.mO(a.Pe()),_.nO(a),this.H.W).Sf(function(){})};_.g.pX=function(){return _.iDc[_.B(this.H.H.hf(),8,0)]};
_.g.Uqa=function(){this.H.ld.H=new S3c(_.eg().substring(0,8))};_.g.C9=function(){var a=this.H.ld.H,b=null;a&&(b=U3c(this.H.ld),b={traceId:a,spanRecs:b});a=this.H.ld;a.H=null;a.V=[];return _.Hj(b)};_.g.HDa=function(){return _.Hj(this.H.ld.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.wi();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.LDa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.$Z());b.cs_ch=wYc(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Au)&&(b.t_cps=c.CZa().join(","));b.t_id=E4c(this.H);var e=[];R3c(this.H.qc).forEach(function(f,h){e.push(h+
":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.Jb?this.H.Pg.isConnected():this.H.Hc.H;b.n_o=this.H.Jb?this.H.Pg.Bf():this.H.ka.Bf();b.n_csm=!!this.H.Jb;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Hj(JSON.stringify(b))};_.g.cKa=function(){this.V&&(this.V.dispatchEvent(new J5c),this.V.ZZ())};_.g.Ok=function(a){var b=this.H.Jb;b&&a!=b.H&&(b.H=a,_.$Ic(b),a?b.tc.update(3):_.QHc(b))};
var N5c=function(a,b){this.H=a;this.V=b;this.ha=_.SEc(VOc(this.V),L5c);this.W=_.SEc(VOc(this.V),M5c)},O5c=function(a,b){var c={};b.forEach(function(f){_.WEc(f);var h=f.getId(),k=a.H.sq(),l=a.H.Xb;_.mGc(f,3);_.w(f,82,5);var n=OLc(f,!0);f.getCapabilities()||f.an(new _.Ul);_.D(n,2)&&((n=f.Qh())&&n.length?_.w(f,46,n[0]):(_.xO(f,[k]),_.w(f,46,k)),k=f.kq(),_.w(f,12,k),k=new _.fk,k.lc(l),_.w(k,6,1),_.w(k,7,!0),_.Q(f,17,k),_.pj(f,15,[k]),_.jM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=LTc(d.V,b);_.Se(e,
function(f,h){gP(f.getItem(),c[h],a.ha);(a.H.ka.Bf()||a.H.Pg.Bf()||3==hP(f.getItem()))&&gP(f.getItem(),c[h],a.W);_.af(c,h)});_.Se(c,function(f){f.Kl().gp()&&(e[f.getId()]=new eQ(f))});W1c(d,Object.values(e))},P5c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});O5c(a,c)},L5c=[50],M5c=[12,11,10,67,68];
var Q5c=function(a){this.ka=a;this.H=null;this.ha=new N5c(a,a.Ka);this.V=!1};
Q5c.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);R5c(this,"Querying all offline items.");this.H.H().vf(a,b);this.V||(this.H.V((0,_.I)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.be;b.Ok(!0);b=NTc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==hP(f)){var h=new _.QM;_.RM(h,f.getId());_.VM(h);d.push(h)}else h=new _.Zl,_.cN(h,!1),_.w(h,2,!1),_.Q(f,81,h),c.push(b[e])}W1c(a,c);a.ta(d)}};
Q5c.prototype.wa=function(a){R5c(this,"Processing all offline item(s): "+a.length);O5c(this.ha,a);gQ(this.ka.ha,"GZTDpc")};Q5c.prototype.ta=function(){R5c(this,"Error fetching offline items.")};Q5c.prototype.ma=function(a){R5c(this,"Handling offline change(s): "+a.length);P5c(this.ha,a)};var R5c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var AR=function(a){_.N.call(this);this.La="drive.ds.sync.BaseItemService";this.context=a;var b=new Q5c(a);this.context.Ug=b;this.Na=new K5c(a,this);G4c(this.Na);(b=_.A(a.H,_.pM,58))&&_.y(b,1,!1);this.Rd=new _.Sd(this);this.Qa(this.Rd);this.V=this.context.ha;this.ha=a.On;this.W=new H5c(a,this.ha);a=this.context;b=this.W;a.tj=b;a.Le.resolve(b);this.wa=null;this.kb=this.Ca=!1;this.Ra=null;this.Ava()};_.H(AR,_.N);_.g=AR.prototype;_.g.Ava=function(){};
_.g.initialize=function(){var a=this;this.wa||(this.wa=_.Jh(),this.Ra=this.context.ta.W(106E3),this.context.W.info(this.La,"Initializing with client build: "+this.context.H.wi()),this.FDa(),this.Rd.listen(this.context,_.Yb,this.d0a),this.Rd.listen(this.context.Hc,["ta","ua"],function(b){return void a.dispatchEvent(b)}),this.Rd.listen(this.context.Pg,_.hc(Object.values(ASc)).concat(),function(b){return void a.dispatchEvent(b)}),this.V.start(),gQ(this.V,"NSockf"));return this.wa.promise};
_.g.gAa=function(){this.Ra&&this.Ra.V();this.context.W.info(this.La,"Ready to process requests.");this.Ca||(this.Ca=!0,this.wa.resolve())};_.g.d0a=function(a){var b=a.error,c=b.Fg;c&&3==c.getType()&&!this.Ca?(this.Ca=!0,this.wa.reject(b)):this.dispatchEvent(a)};_.g.O1=function(){throw BR("teamDriveQuery");};_.g.Hra=function(){throw BR("teamDriveFindByIds");};_.g.Ira=function(){throw BR("teamDriveMovePreflight");};_.g.boa=function(){throw BR("peoplePredictQuery");};
_.g.query=function(a){$Sc(this.context.ma,a,UOc(this.context.Ka));this.MN();var b=this.W.rfa(_.uj(a));this.kb||(a=a.ie(),a&&121==_.x(a,1)||(this.kb=!0,this.Rd.listen(b,_.Xb,this.EDa)));return b};_.g.EDa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Na.W=this.V.H("W6J7De"),this.Rd.Qc(a,_.Xb,this.EDa))};_.g.Lr=function(a){this.MN();YSc(a);return this.W.ofa(_.uj(a))};_.g.Lda=function(){throw BR("activityQuery");};_.g.tea=function(){throw BR("backupsQuery");};
_.g.Roa=function(){throw BR("refreshBackups");};_.g.Tla=function(){throw BR("getAndroidBackupItems");};_.g.Ufa=function(){throw BR("deleteBackup");};_.g.foa=function(){throw BR("permissionQuery");};_.g.Vja=function(){throw BR("insertPermission");};_.g.Wfa=function(){throw BR("deletePermission");};_.g.Yc=function(){throw BR("mutate");};_.g.YN=function(){throw BR("mutateWorkspace");};_.g.iA=function(){throw BR("bulkMutate");};_.g.nfa=function(){throw BR("createFileUploader");};
_.g.Qva=function(a){return new zR(this.context.dm(),a)};_.g.TS=function(a){if(3==a.getType())return _.Ij(this.context.dm().then(function(b){return b.H(a)}).then(null,_.gN));throw BR("getApps with type "+a.getType());};_.g.Ula=function(){throw BR("getApp");};_.g.Xja=function(){throw BR("installApp");};_.g.Tfa=function(){throw BR("deleteApp");};_.g.A9=function(){throw BR("updateApp");};_.g.GR=function(){throw BR("getUserAccount");};_.g.GF=function(){throw BR("getUserPrefs");};
_.g.Yla=function(){throw BR("mutateUserPref");};_.g.Vla=function(){throw BR("getRevisions");};_.g.Xla=function(){return!1};_.g.Ok=function(a){this.context.ka.Ok(a)};_.g.Xz=function(){throw BR("setOfflineOptIn");};_.g.$la=function(){throw BR("setLocalItemService");};_.g.MN=function(){};_.g.CDa=function(){k4c(this.context);this.context.ta.H(106006)};_.g.BX=function(){return this.Na};_.g.Zla=function(){};_.g.z9=function(){return this.context.Hc.H};_.g.Sla=function(){return FXc(this.context.Hc)};
_.g.isConnected=function(){return 1==this.context.Jb.getState().get()};_.g.sync=function(){throw BR("sync");};_.g.ZZ=function(){return l4c(this.context)};_.g.nna=function(){throw BR("offlineDataLoaded");};_.g.T_=function(a){return this.context.dm().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.Pea=function(){throw BR("categoryMetadataQuery");};_.g.Rea=function(){throw BR("changeCategoryLinks");};_.g.GU=function(){throw BR("updateCategoryMetadata");};
_.g.Goa=function(){throw BR("publishedCategoriesQuery");};_.g.faa=function(){throw BR("publishedCategoryQuery");};_.g.Qsa=function(){throw BR("workspaceFindByIdsRequest");};_.g.eca=function(){throw BR("workspaceQueryRequest");};_.g.yra=function(){throw BR("suggestedWorkspaceItemQueryRequest");};_.g.qba=function(){throw BR("suggestedWorkspaceQueryRequest");};_.g.Rla=function(){throw BR("addCacheHint");};_.g.C4=function(){throw BR("createUserFeedback");};
_.g.Wla=function(){throw BR("handleChanges");};var BR=function(a){return new _.nb(a+" is unsupported",_.dN(3))};
var tMc=function(a){AR.call(this,a);IYc(a,"");B4c(a,"");this.La="drive.ds.sync.AnonymousItemService"};_.H(tMc,AR);tMc.prototype.FDa=function(){fQ(this.V,["NSockf"],this.gAa.bind(this))};
var S5c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},T5c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},U5c=function(a){return new T5c(a.id,a.d,a.err||void 0)};
var CR=function(a,b,c){_.N.call(this);var d=this;this.Kn=a;this.$c=b;this.Ca=new _.Cj;this.kb={};this.Ya=this.Na=this.uc=null;c.then(function(e){d.uc=e.clientId;d.Na=e.channel;d.Ya=e.H;kQ(d.Na,d.Kn,(0,_.I)(d.L8a,d));kQ(d.Na,d.Kn+"_update",(0,_.I)(d.l4a,d));d.log("Service initialized.");d.Ca.callback()})};_.H(CR,_.N);_.g=CR.prototype;
_.g.L8a=function(a){a=U5c(a);var b=this.kb[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.mb(JSON.parse(a.error));else c=new _.mb,_.DM(c,2),_.EM(c,6),_.w(c,21,"An invalid response was received");b.reject(new _.nb(void 0,c))}delete this.kb[a.id]}};_.g.l4a=function(a){a=U5c(a);this.J7(a.id,a.data,a.error)};_.g.J7=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Cj;this.Ca.nb(function(){var h=e.Na,k=new S5c(e.uc,a,b,d),l=_.Jh();e.kb[k.H]=l;l.promise.then(function(n){f.callback((c||_.ze)(n))},function(n){n=n.Fg;var q=_.x(n,21)||"";_.w(n,21,"Worker"+("An invalid response was received"==q?"["+a+"]: ":": ")+q);f.Bd(new _.nb(void 0,n))});lQ(h,e.Kn,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Ya&&this.Ya.info(this.$c,a)};
var V5c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var DR=function(a,b,c){CR.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.H(DR,CR);DR.prototype.rfa=function(a){var b=this;a=new r5c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);W5c(this,a);return a};DR.prototype.ufa=function(a){var b=this;a=new C5c(this.H.ma,this.H.Cc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);W5c(this,a);return a};
var W5c=function(a,b){ER(a,b);_.hd(b,function(){FR(a,b);a.send("4.3",[b.Zh(),b.jd().Bc()])});a.send("4.1",[b.Zh(),b.jd().Bc()])};_.g=DR.prototype;_.g.ofa=function(a){var b=this,c=new z5c(this.H.H,this.H.ma,this.H.W,this.H.Zf,this.Ka.bind(this),a);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.4",[c.Zh(),c.jd().Bc()])});this.send("4.2",[c.Zh(),c.jd().Bc()]);return c};
_.g.xfa=function(a){var b=this,c=new G5c(a,this,this.H.H);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.11",[c.Zh(),c.jd().Bc()])});this.send("4.9",[c.Zh(),c.jd().Bc()]);return c};_.g.yfa=function(a){var b=this,c=new q5c(this.H,this,a);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.12",[c.Zh(),c.jd().Bc()])});this.send("4.10",[c.Zh(),c.jd().Bc()]);return c};
_.g.zfa=function(a){var b=this,c=new x5c(this.H,a,this);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.15",[c.Zh(),c.jd().Bc()])});this.send("4.13",[c.Zh(),c.jd().Bc()]);return c};_.g.Afa=function(a){var b=this,c=new u5c(this.H,a);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.16",[c.Zh(),c.jd().Bc()])});this.send("4.14",[c.Zh(),c.jd().Bc()]);return c};
_.g.vfa=function(a){var b=this,c=new F5c(this.H,a,function(){b.send("4.21",[c.Zh()])});ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.23",[c.Zh(),c.jd().Bc()])});this.send("4.22",[c.Zh(),c.jd().Bc()]);return c};_.g.kfa=function(a){var b=this,c=new o5c(this.H.ka,this.H.Pg,this.H.W,function(d,e){return b.W(d,e)},a);ER(this,c);_.hd(c,function(){FR(b,c);b.send("4.19",[c.Zh(),c.jd().Bc()])});this.send("4.18",[c.Zh(),c.jd().Bc()]);return c};
var ER=function(a,b){a.V.create(b.Zh(),b.jd());a.ha[b.Zh()]=b},FR=function(a,b){eR(a.V,b.Zh(),4);delete a.ha[b.Zh()]};DR.prototype.Ka=function(a,b,c){if(b instanceof _.Gn&&c instanceof _.Gn)this.send("4.5",[a,b.Bc(),c.Bc()]);else if(b instanceof _.KF&&c instanceof _.KF)this.send("4.6",[a,b.Bc(),c.Bc()]);else throw Error("Cg");};
DR.prototype.W=function(a,b){if(!this.ha[a])throw Error("zg`"+a);var c=this.ha[a];if(c.jd()instanceof _.be)var d="4.7";else if(c.jd()instanceof _.zO)d="4.8";else if(c.jd()instanceof _.RF)d="4.20";else if(c.jd()instanceof _.On)d="4.17";else throw Error("Dg");c.jd().Ri(b);this.send(d,[a,b])};
DR.prototype.J7=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.mb(JSON.parse(c)),c=new qQ(c,c.GW()),a.fG(c),eR(this.V,a.Zh(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.eJ();return}c=a.jd();if(c instanceof _.be||c instanceof _.zO)f=JSON.parse(f),c instanceof _.be&&_.EN(c)?d=new _.YO(f):d=new _.JB(f);else if(c instanceof _.Gn||c instanceof _.KF)d=new _.XO,jQc(d,function(h){return new _.am(JSON.parse(h))},f);else if(c instanceof _.RF)d=new _.aP(new GP(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.On)d=new _.dP(new vQ(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.XN&&c instanceof _.XN)d=new _.ZO(JSON.parse(f));else if(c instanceof _.Mn)d=new KP(JSON.parse(f));else throw Error("Eg");}d&&("boolean"===typeof b[e]&&x0c(this.V,a.Zh(),!!b[e]),z0c(this.V,a.Zh(),d),a.update(d))}};
var X5c=function(a,b){CR.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.H(X5c,CR);_.g=X5c.prototype;_.g.$a=function(){return _.A(this.H.H,_.pM,58)};_.g.getContext=function(){return this.H};_.g.GDa=function(){return this.send("5.4",[this.V],function(a){return new GOc(JSON.parse(a[0]))})};_.g.B9=function(){return this.H.W};_.g.XL=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.am(b)})};
_.g.ama=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 _.EBc(a[c]));return b})};_.g.Gba=function(a,b,c){return this.send("5.8",[a.Bc(),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 _.am(e[k]));return{items:h,iwa:f,pageToken:d}})};_.g.VKa=function(){this.send("5.9",[])};_.g.pva=function(){this.send("5.1",[])};_.g.pX=function(){return _.iDc[_.B(this.H.H.hf(),8,0)]};
_.g.Uqa=function(){this.send("5.6",[])};_.g.C9=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 rQ(a[e]));return{traceId:new S3c(b,c),spanRecs:d}})};_.g.HDa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new S3c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.cKa=function(){this.send("5.11",[])};
_.g.Ok=function(a){this.send("5.13",[a])};
var Y5c=function(a,b){CR.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.jc=b;this.Id=String(_.xa(this));this.H=null};_.H(Y5c,CR);Y5c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.jc.Bc()],function(b){return new h5c(JSON.parse(b[0]))},this.Id).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};Y5c.prototype.cancel=function(){this.send("9.2",[this.jc.Bc()],void 0,this.Id)};
Y5c.prototype.J7=function(a,b){this.dispatchEvent(new l5c(b[0],b[1]))};
var Z5c=function(a){CR.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.H(Z5c,CR);Z5c.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().vf(a,b);this.H.V((0,_.I)(this.ka,this))}else this.send("6.3",[])};Z5c.prototype.ha=function(a){var b=[];_.Ea(a,function(c){b.push(c.Bc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};Z5c.prototype.V=function(){this.log("Error fetching offline items.")};
Z5c.prototype.ka=function(a){var b=[];_.Ea(a,function(c){b.push(c.Bc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var $5c=function(a,b){hR.call(this,a,b)};_.H($5c,hR);$5c.prototype.A4=function(a,b,c){return new _.gFc(a,c)};$5c.prototype.Q6=function(a){return a.pageToken||""};$5c.prototype.l6=function(a){return a.response.V()};$5c.prototype.b_=function(){};
var a6c=function(a,b,c){wR.call(this,a.ka,a.Pg,b.ih()||void 0);this.jc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new $5c(this.jc,this.ma)};_.H(a6c,wR);_.g=a6c.prototype;_.g.QA=function(){iR(this.ka).then(this.H8a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return xUc(new wQ,this.W).Dc(this.status)};_.g.Jp=function(){return new S4c};_.g.Ui=function(){return!this.Bf()&&(!this.H||m2c(this.ka))};_.g.H8a=function(a){this.V=this.H=!0;this.W=a;this.hq()};
_.g.hq=function(){if(this.active){var a=this.status;this.gG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.Gg(_.Xb,this))}};_.g.hc=function(){return this.W.length};
var b6c=function(a,b,c){wR.call(this,a.ka,a.Pg,b.ih()||10);this.jc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ca=new _.aN;this.ma=null};_.H(b6c,wR);_.g=b6c.prototype;_.g.QA=function(){var a=this;this.wa(this.jc).then(function(b){a.H=!0;a.W=!0;a.V=b.dj();if(b=b.getSessionId())a.ma=b;a.hq()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.cEc((new _.TM).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Jp=function(){var a=_.YM(this.Ca,this.ka,this.V);this.ka=this.V;var b=(new U4c).Dc(this.status);return _.pj(b,2,a)};_.g.jH=function(){};_.g.hq=function(){var a=this.status;this.gG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Gg(_.Xb,this))};_.g.hc=function(){return this.V.length};
var c6c=function(){};_.g=c6c.prototype;_.g.ZE=function(a,b){b=$4c(1).setPosition(b);_.Q(b,2,a);return b};_.g.XE=function(a,b){b=$4c(2).setPosition(b);_.Q(b,2,a);return b};_.g.BJ=function(a,b,c){b=$4c(3).ku(b).setPosition(c);_.Q(b,2,a);return b};_.g.UH=function(a,b){b=$4c(4).setPosition(b);_.Q(b,2,a);return b};_.g.wF=function(a){return _.A(a,_.aQ,2)};
var e6c=function(){_.XM.call(this,new c6c,function(a){return d6c(a)})};_.H(e6c,_.XM);var d6c=function(a){switch(_.aj(a,mSc[0])){case 6:return _.wx(_.A(a,_.vx,6)).getTime().toString();case 7:var b=_.A(a,_.$P,7);a=_.A(b,_.vx,1);b=b.nq();return a&&b?(a=_.wx(a).getTime(),_.wx(b).getTime()+"--"+a):"";default:return""}};_.Ae(e6c);
var GR=function(a,b,c,d){wR.call(this,b.ka,b.Pg,d);this.jc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ca=new _.YJc(_.B(b.H.hf(),6,1E3));this.ka=!1;this.Fa=c};_.H(GR,wR);_.g=GR.prototype;_.g.activate=function(){wR.prototype.activate.call(this);this.hq()};_.g.QA=function(){this.jc.dza()?f6c(this):this.Ka()};_.g.zq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;wR.prototype.zq.call(this,a)};
_.g.getData=function(){var a=(new d5c).Dc(this.status);_.pj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Jp=function(){var a=_.YM(e6c.Fb(),this.wa,this.V),b=new b5c;a=_.pj(b,2,a).Dc(this.status);this.wa=_.ra(this.V);return a};_.g.Ui=function(){return!this.Bf()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.jd=function(){return this.jc};_.g.JDa=function(a){this.dispatchEvent(new _.ob(a));this.W=!1};
_.g.u2a=function(a,b){this.H=!0;var c=_.nj(b,_.aQ,1);this.V=this.V.concat(c);this.ma=b.AF()||"";0<c.length&&(this.ka=!0);this.hq();f6c(this,a)};_.g.J2a=function(a){e6c.Fb();this.H=!0;var b=_.nj(a,_.aQ,1);vP(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.AF()||"",this.ka=!0,this.hq(),f6c(this)):(this.W=!1,g6c(this))};var f6c=function(a,b){a.active?(a.W=!0,a.Ui()&&a.V.length<a.limit?a.Fa(a.jc,a.limit-a.V.length,a.ma).vf(_.Be(a.u2a,b),a.JDa,a):(a.W=!1,b&&b.callback(),g6c(a))):a.W=!1};
GR.prototype.Ka=function(){this.active&&(this.W=!0,this.Fa(this.jc,this.limit).vf(this.J2a,this.JDa,this))};GR.prototype.hq=function(){if(this.active){var a=this.status;this.gG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Gg(_.Xb,this))}};GR.prototype.gG=function(){this.Bf()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};GR.prototype.jH=function(){this.active&&this.Ui()&&!this.W&&f6c(this,new _.Cj)};
var g6c=function(a){a.jc.dza()||(_.kH(a.Ca),_.m.setTimeout((0,_.I)(a.Ka,a),a.Ca.ub()))};GR.prototype.hc=function(){return this.V.length};
var h6c=function(){};_.g=h6c.prototype;_.g.ZE=function(a,b){return f5c(e5c(1),a).setPosition(b)};_.g.XE=function(a,b){return f5c(e5c(2).setPosition(b),a)};_.g.BJ=function(a,b,c){return f5c(e5c(3).ku(b).setPosition(c),a)};_.g.UH=function(a,b){return f5c(e5c(4),a).setPosition(b)};_.g.wF=function(a){return a.Mu()};
var i6c=function(){_.XM.call(this,new h6c,function(a){return a.getId()})};_.H(i6c,_.XM);_.Ae(i6c);
var j6c=function(a,b,c){wR.call(this,b.ka,b.Pg);this.jc=a;this.ma=[];this.V=[];this.W=new _.YJc(_.B(b.H.hf(),54,1E3));this.ka=!1;this.wa=c};_.H(j6c,wR);_.g=j6c.prototype;_.g.activate=function(){wR.prototype.activate.call(this);this.hq()};_.g.QA=function(){this.poll()};_.g.getData=function(){var a=new AQ;a=_.pj(a,2,this.V).Dc(this.status);this.ma=_.ra(this.V);return a};_.g.Jp=function(){var a=_.YM(i6c.Fb(),this.ma,this.V),b=new j5c;a=_.pj(b,2,a).Dc(this.status);this.ma=_.ra(this.V);return a};
_.g.Ui=function(){return!this.Bf()&&!this.H};_.g.poll=function(){var a=new _.Cj;this.wa(this.jc).vf(_.Be(this.J8a,a),_.Be(this.I8a,a),this);return a};_.g.I8a=function(a,b){this.dispatchEvent(new _.ob(b));a.Bd(b);k6c(this)};_.g.J8a=function(a,b){this.H=!0;b=_.nj(b,_.pQ,2);vP(i6c.Fb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.hq();a.callback();k6c(this)};_.g.hq=function(){if(this.active){var a=this.status;this.gG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Gg(_.Xb,this))}};
_.g.jH=function(){};var k6c=function(a){a.active&&(_.m.setTimeout((0,_.I)(a.poll,a),a.W.ub()),_.kH(a.W))};j6c.prototype.hc=function(){return this.V.length};
var l6c=function(){};_.g=l6c.prototype;_.g.ZE=function(a,b){return N4c(M4c(1),a).setPosition(b)};_.g.XE=function(a,b){return N4c(M4c(2).setPosition(b),a)};_.g.BJ=function(a,b,c){return N4c(M4c(3).ku(b).setPosition(c),a)};_.g.UH=function(a,b){return N4c(M4c(4),a).setPosition(b)};_.g.wF=function(a){return a.cY()};
var m6c=function(){_.XM.call(this,new l6c,function(a){return a.getId()})};_.H(m6c,_.XM);_.Ae(m6c);
var HR=function(a,b,c){_.N.call(this);this.ma=a;this.jc=b;this.H="";this.V=this.W=!1;this.ha=0;this.gt=[];this.ta=c};_.H(HR,_.N);HR.prototype.Ri=function(a){this.ha=a};var o6c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():n6c(a)};HR.prototype.S6=function(){return this.gt};var n6c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.gt.length,100);var c=new _.JN;c=_.Q(c,3,a.jc);c=_.w(c,2,a.H);b=_.w(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.wa.bind(a))};
HR.prototype.ka=function(a){this.V=!1;this.H=a.Bm()||"";a=a.Zq().MI();this.gt=_.qa(this.gt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.gt.length<this.ha)return n6c(this);this.dispatchEvent("Hb")};HR.prototype.wa=function(a){this.V=!1;a=new qQ(_.FM(a),_.B(this.ma.H.hf(),1,1));this.dispatchEvent(a)};
var IR=function(a,b,c,d){wR.call(this,b.ka,b.Pg,d||100);var e=this;this.wa=b;this.jc=a;this.ma=[];this.gt=[];this.ka=!1;this.W=null;this.Ca=c;this.V=new HR(b,this.jc,this.Ca);_.hd(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.H(IR,wR);_.g=IR.prototype;_.g.activate=function(){wR.prototype.activate.call(this);this.hq()};_.g.QA=function(){this.KDa()};_.g.zq=function(a){wR.prototype.zq.call(this,a||100)};
_.g.getData=function(){var a=new JOc;a=_.pj(a,2,this.gt.slice(0,this.limit)).Dc(this.status);this.ma=_.ra(this.gt);return a};_.g.Jp=function(){var a=_.YM(m6c.Fb(),this.ma,this.gt),b=new R4c;a=_.pj(b,2,a).Dc(this.status);this.ma=_.ra(this.gt);return a};_.g.Ui=function(){var a;(a=!this.Bf())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.jd=function(){return this.jc};
_.g.KDa=function(){var a=this;this.V=new HR(this.wa,this.jc,this.Ca);this.V.Ri(this.limit);return o6c(this.V).then(function(){return p6c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){wR.prototype.handleError.call(this,a);q6c(this)};var p6c=function(a){a.H=!0;var b=a.V.S6();vP(m6c.Fb(),a.gt,b)&&(a.ka=!0,a.gt=b);a.hq();q6c(a)};IR.prototype.hq=function(){if(this.active){var a=this.status;this.gG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Gg(_.Xb,this))}};
IR.prototype.jH=function(){var a=this;this.V.Ri(this.limit);o6c(this.V).then(function(){return p6c(a)},function(b){return a.handleError(b)})};var q6c=function(a){if(a.active){var b=a.wa.H.hf();a.W=_.m.setTimeout((0,_.I)(a.KDa,a),Math.ceil(_.B(b,7,9E5)*Math.random())+_.B(b,15,36E5))}};IR.prototype.hc=function(){return this.gt.length};var r6c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.Gg(_.Xb,a))},0)};
var s6c=function(a,b){CR.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.jc=b;this.Id=String(_.xa(this));this.H=null};_.H(s6c,CR);s6c.prototype.ha=function(){var a=this;this.H||(this.H=_.Jh(),this.send("10.1",[this.jc.Bc()],function(b){a.H.resolve(b[0])},this.Id).Ae(function(b){a.H.reject(b)}));return this.H.promise};s6c.prototype.cancel=function(){this.send("10.2",[this.jc.Bc()],void 0,this.Id)};
var t6c=function(a,b,c,d,e,f,h,k){_.eP.call(this,a,b,c,d,f,h,k);this.V=e;this.ae=null};_.H(t6c,_.eP);t6c.prototype.hma=function(a,b){var c=this;return _.Ij(this.V.then(function(d){return d.V(YKc(c.W,c.Ya,a,b,c.H,c.wa))},null))};t6c.prototype.Ka=function(a,b){var c=this.jd(a);if(c){var d=0;if(c.file){var e=c.request&&_.A(c.request,_.uGc,15);e&&(d=_.x(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.JKc(a,b,d))}};
var u6c=function(a,b){CR.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Id=String(_.xa(this));this.H={};this.V={};_.hd(this,(0,_.I)(this.gTa,this))};_.H(u6c,CR);_.g=u6c.prototype;_.g.oQ=function(){return _.fg()};
_.g.upload=function(a,b){!_.x(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.uGc;_.w(d,1,b.size);_.Q(a,15,d);d=_.fg();this.V[_.yO(a)]=b}return this.send("7.1",[this.Id,a.Bc(),c],function(e){return new _.dO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Id,a])};_.g.kA=function(){this.send("7.3",[this.Id])};
_.g.ima=function(a){var b={};_.Ea(a,function(d){b[d]=new _.Cj});var c=this.oQ();this.H[c]=b;this.send("7.4",[this.Id,c,a]);return _.jc(b)};_.g.hma=function(a,b){var c=this;return this.send("7.5",[this.Id,a,b],function(d){return tQc(d[0])}).nb(function(d){return _.Ij(c.W.then(function(e){return e.V(d)}))})};_.g.gTa=function(){this.send("7.6",[this.Id])};
_.g.J7=function(a,b){if(b)switch(_.hg(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,_.ZGc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.dO(JSON.parse(b[2]));v6c(this,b[0],b[1],a);break;case 1:a=new _.nb(void 0,new _.mb(JSON.parse(b[2])));v6c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.JKc(b[0],b[1],b[2]));break;default:throw Error("Fg");}};
var v6c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.dO?e.callback(d):e.Bd(d);delete a.H[b][c];_.$e(a.H[b])&&delete a.H[b]}};
var w6c=function(a,b){if(0==a.length)throw new _.nb("mutateUserPref requires a namespace.",_.dN(3));if("undefined"!=typeof _.gD&&b instanceof _.gD)var c=(b=(b=b.V())&&b.getKey())&&_.Kn(b)||null;else"undefined"!=typeof _.fD&&b instanceof _.fD&&(c=(b=b.getKey())&&_.Kn(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.nb("mutateUserPref unsupported for namespace: "+c,_.dN(3));};
var oP=function(a,b){var c=_.Jh();CR.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;o4c(this.H,new Z5c(c.promise));this.Fa=b;WOc(this.Fa,_.x(this.H.H,28));this.Cc=CLc(_.PO(this.Fa));this.V=a.On;this.W=new DR(c.promise,a,this.V);this.Ra=new X5c(c.promise,a);G4c(this.Ra);this.Jb=!1;this.Ka=_.Fh(this.Ca);this.ta=this.Xb=!1;this.La=new _.Sd(this);this.Qa(this.La);this.Db=!1;this.qc=_.Jh();this.tb=!1;this.ka=this.ma=this.ha=null;this.La.listen(this.H.Pg,_.hc(Object.values(ASc)).concat(),
function(e){return void d.dispatchEvent(e)})};_.H(oP,CR);oP.prototype.initialize=function(){var a=this,b=_.A(this.H.H,zMc,66);if(this.Jb)return this.Ka;if(!b||!_.x(b,1))return b=new _.nb("Dataservice URL not provided."),this.Ca.Bd(b),this.Ka;var c=this.H.ta.W(106E3);this.Jb=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.wi());x6c(this,b);this.Ka.then(function(){c.V();a.QGa()});return this.Ka};
var x6c=function(a,b){var c=y6c(a),d=!0,e=_.x(b,5)||"";if(_.fEc(window.location.href,c.toString())&&e){d=!1;c=ALc(e,z6c(a),a.Cc,_.x(b,6));var f=new mTc(c,!1)}else b=A6c(c.toString()),c=_.sBc(c.W,void 0,c.H,c.ha),f=new mTc(kTc(window.frames[b],c.toString()),!1);B6c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();m4c(a.H,function(){return C6c(f)})},C6c=function(a){return _.Uia([new _.Dh(function(b){a.isDisposed()||lQ(a,"8.1",void 0,function(){a.dispose();b()})}),
_.Ph(1E4)])},y6c=function(a){var b=new _.ni(_.x(_.A(a.H.H,zMc,66),1));var c=new _.ni(window.location);var d=c.W+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Gi(d,3);_.yi(b,"co",c);c=b.ve();!_.oO(a.H.H)&&0<_.HM(a.H.H.Pe())&&(a=_.HM(a.H.H.Pe()),c+="u/"+a+"/");_.ri(b,c+"_/dataservice/cacheproxy");return b},A6c=function(a){var b="cpiframe_"+_.fg();a=_.gh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Ifa(_.eEc(_.of("display: none;")));document.body.appendChild(a);return b},B6c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.I)(a.Hc,a));else{var d=function(){var e=new _.ebb(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.wi(),ufds:a.Cc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}lQ(b,"8.4",{dsc:a.H.H.Bc()});D6c(b);E6c(a,b);kQ(b,"2.1",function(){return{dsc:a.H.H.Bc()}});kQ(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new V5c(e.id,b,a.H.W,e.clients)),e.dsp&&D6c(b),e.ivd&&E6c(a,b)):(e=
new _.mb(JSON.parse(e.err)),a.Ca.Bd(new _.nb("Unable to initialize dataservice.",e)))});kQ(b,"2.15",function(e){a.dispatchEvent(new k5c(e.dt))});kQ(b,"2.5",function(e){IYc(a.H,e.id)});kQ(b,"2.6",function(e){a.H.ka.Ok(e.os)});kQ(b,"2.18",function(e){a.H.ka.Xz(e.oois)});kQ(b,"2.7",function(){a.ta=!1});kQ(b,"2.8",function(e){a.H.Bu=e.au;a.dispatchEvent(new qPc(e.au?"ta":"ua"))});kQ(b,"2.19",function(e){a.H.Pg.update(e.cs)});kQ(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.hx("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.CO(a.H.W,f,e,"fine");break;case "finer":_.CO(a.H.W,f,e,"finer");break;case "finest":_.CO(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":POc(a.H.W,f,e);break;default:POc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),POc(a.H.W,f,e)}});kQ(b,"2.10",function(e){a.dispatchEvent(new _.ob(new _.nb(void 0,new _.mb(JSON.parse(e.p)))))});kQ(b,"2.12",function(){a.tb=!0;JR(a)});
kQ(b,"2.14",function(){return a.qc.resolve()});kQ(b,"2.16",function(){return a.Xb=!0});kQ(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},D6c=function(a){_.m._DRIVE_dsp&&lQ(a,"8.3",{dsp:F6c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];lQ(a,"8.3",{dsp:F6c(c)})}}},E6c=function(a,b){_.y(a.H.H,24,!1)&&(_.m._DRIVE_ivd?lQ(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&lQ(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};oP.prototype.Hc=function(){return{uid:z6c(this),fds:_.PO(this.Fa)}};var z6c=function(a){a=_.uj(a.H.H);a=_.w(a,28,[]);a=_.Ima(a,[]);var b=new _.mM;b.update(_.mO(a.Pe()));b.update(String(_.HM(a.Pe())));b.update(a.Bc());return _.xBc(b.digest())},F6c=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=oP.prototype;
_.g.query=function(a){JR(this);$Sc(this.H.ma,a,UOc(this.Fa));this.MN();var b=this.W.rfa(a);this.Db||(a=a.ie(),a&&121==_.x(a,1)||(this.Db=!0,this.La.listen(b,_.Xb,this.IDa)));return b};_.g.IDa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Ra.V=this.Xb,this.La.Qc(a,_.Xb,this.IDa))};_.g.Lr=function(a){JR(this);YSc(a);this.MN();return this.W.ofa(a)};
_.g.Lda=function(a,b){var c=this;JR(this);if(this.ma&&_.tj(this.ma.jd(),a))return this.ma;var d=(0,_.I)(oP.prototype.GXa,this);this.ma=new GR(_.uj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.GXa=function(a,b,c){return this.send("3.17",[a.Bc(),b,c],function(d){return new zSc(JSON.parse(d[0]))})};
_.g.foa=function(a,b){var c=this;JR(this);if(this.ka&&_.tj(this.ka.jd(),a))return r6c(this.ka),this.ka;var d=(0,_.I)(oP.prototype.IXa,this);this.ka=new IR(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.IXa=function(a){return this.send("3.18",[a.Bc()],function(b){return new kUc(JSON.parse(b[0]))})};_.g.Vja=function(a){JR(this);return this.send("3.14",[a.Bc()],function(b){return new uQ(JSON.parse(b[0]))})};_.g.Wfa=function(a){JR(this);return this.send("3.15",[a.Bc()],function(b){return new uQ(JSON.parse(b[0]))})};
_.g.Yc=function(a){JR(this);!this.ta&&_.fO(a)&&(this.ta=!0);a=ELc(a);return this.send("3.3",[a.Bc()],function(b){if(!_.wc(b))return new _.dO(JSON.parse(b[0]))})};_.g.YN=function(a){JR(this);a=NLc(a);return this.send("3.35",[a.Bc()],function(b){return new rPc(JSON.parse(b[0]))}).then()};
_.g.iA=function(a){JR(this);for(var b=0;b<a.length;b++)!this.ta&&_.fO(a[b])&&(this.ta=!0);a=HLc(a);return this.send("3.4",[a.Bc()],function(c){var d={};c=JSON.parse(c[0]);_.Se(c[0],function(e,f){d[f]=new _.dO(JSON.parse(e))});_.Se(c[1],function(e,f){e=new _.mb(JSON.parse(e));d[f]=_.eN(e)});return d})};_.g.nfa=function(){JR(this);return new u6c(this.wa.promise,this.H.Cc)};_.g.Qva=function(a){JR(this);return new Y5c(this.wa.promise,a)};
_.g.TS=function(a,b){var c=this;JR(this);var d=_.eg();this.V.create(d,a);return this.send("3.5",[a.Bc(),!!b],function(e){e=JSON.parse(e);var f=new sQ(JSON.parse(e[0]));return new _.$O(f,e[1],e[2])}).nb(function(e){A0c(c.V,d,e);return e.response}).Ae(function(e){eR(c.V,d);return e})};_.g.Ula=function(a){JR(this);return this.send("3.10",[a.Bc()],function(b){return new hUc(JSON.parse(b[0]))})};_.g.Xja=function(a){JR(this);return this.send("3.11",[a.Bc()],function(b){return new tQ(JSON.parse(b[0]))})};
_.g.Tfa=function(a){JR(this);return this.send("3.12",[a.Bc()],function(b){return new tQ(JSON.parse(b[0]))})};_.g.A9=function(a){JR(this);return this.send("3.13",[a.Bc()],function(b){return new tQ(JSON.parse(b[0]))})};_.g.GR=function(a,b){var c=this;JR(this);var d=_.eg();this.V.create(d,a);return this.send("3.1",[a.Bc(),!!b],function(e){e=JSON.parse(e);var f=new _.yQ(JSON.parse(e[0]));return new _.cP(f,e[1],e[2])}).nb(function(e){A0c(c.V,d,e);return e.response}).Ae(function(e){eR(c.V,d);return e})};
_.g.GF=function(a,b){var c=this,d=_.bj(this.H.H.hf(),30);if(!d||0==d.length)return _.Jj(new _.nb("getUserPrefs requires a namespace.",_.dN(3)));JR(this);var e=_.eg();this.V.create(e,a);return this.send("3.2",[a.Bc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.Ln(JSON.parse(f[0]));return new _.bP(h,f[1],f[2])}).nb(function(f){A0c(c.V,e,f);return f.response}).Ae(function(f){eR(c.V,e);return f})};_.g.Yla=function(a){JR(this);w6c(_.bj(this.H.H.hf(),30),a);a=KLc(a);return this.send("3.6",[a.Bc()],function(b){return new lUc(JSON.parse(b[0]))})};
_.g.Vla=function(a){JR(this);return this.send("3.16",[a.Bc()],function(b){return new LOc(JSON.parse(b[0]))})};_.g.Xla=function(){return this.ta};_.g.Ok=function(a){JR(this);this.send("3.8",[a])};_.g.Xz=function(a){JR(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.$la=function(a){JR(this);n4c(this.H).W(a);this.Xz(!!a)};_.g.MN=function(){JR(this);this.send("3.9",[])};
_.g.CDa=function(){JR(this);this.send("3.41",[]);k4c(this.H);var a=bPc(this.H.ta,106006);a&&this.wa.promise.then(function(b){var c=_.A(_.VO(a),AOc,6);if(!c){c=new AOc;var d=_.VO(a);_.Q(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.V);a.V()},function(){})};_.g.z9=function(){JR(this);return this.H.MDa()};_.g.Sla=function(){JR(this);return G6c(this.send("3.19",[],function(a){return new DUc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Pg.isConnected()};_.g.BX=function(){return this.Ra};
_.g.sync=function(){JR(this);return this.send("3.28",[]).then()};_.g.ZZ=function(){return l4c(this.H)};_.g.Zla=function(){};_.g.Hra=function(a){JR(this);if(!_.pO(this.H.H))throw new _.nb("function is unsupported",_.dN(3));return this.W.yfa(a)};_.g.O1=function(a){JR(this);if(!_.pO(this.H.H))throw new _.nb("function is unsupported",_.dN(3));return this.W.xfa(a)};_.g.boa=function(a){JR(this);bTc(this.H.ma,a,UOc(this.Fa));return this.W.ufa(a)};
_.g.Ira=function(a){JR(this);return new s6c(this.wa.promise,a)};_.g.tea=function(a){JR(this);if(!this.ha||this.ha.isDisposed()){var b=oP.prototype.HXa.bind(this);this.ha=new j6c(a,this.H,b)}return this.ha};_.g.HXa=function(a){return this.send("3.20",[a.Bc()],function(b){return new AQ(JSON.parse(b[0]))})};_.g.Roa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Fh()};_.g.Tla=function(a){JR(this);return this.send("3.25",[a.Bc()],function(b){return new JUc(JSON.parse(b[0]))})};
_.g.Ufa=function(a){JR(this);return this.send("3.22",[a.Bc()],function(){return new LUc})};_.g.nna=function(){return this.qc.promise};_.g.T_=function(a){var b=_.Jh();this.send("3.30",[a.Bc()],function(c){c[0]?b.resolve(new NUc(JSON.parse(c[0]))):b.reject(new _.mb(JSON.parse(c[1])))}).Ae(function(c){return b.reject(c)});return b.promise};_.g.Pea=function(a){JR(this);return this.W.kfa(a)};_.g.Rea=function(a){JR(this);return this.send("3.42",[a.Bc()],function(b){return new HP(JSON.parse(b[0]))}).then()};
_.g.GU=function(a){JR(this);return this.send("3.39",[a.Bc()],function(b){return new BUc(JSON.parse(b[0]))}).then()};_.g.Goa=function(a){var b=this;JR(this);return new a6c(this.H,a,function(c){return b.send("3.37",[c.request.Bc(),c.pageToken],function(d){d=JSON.parse(d);return new JSc(new wQ(JSON.parse(d[0])),d[1])}).then()})};_.g.faa=function(a){JR(this);return this.send("3.38",[a.Bc()],function(b){return new xQ(JSON.parse(b[0]))}).then()};_.g.Qsa=function(a){JR(this);return this.W.Afa(a)};
_.g.eca=function(a){JR(this);return this.W.zfa(a)};_.g.yra=function(a){var b=this;JR(this);return new b6c(this.H,a,function(){return b.send("3.40",[a.Bc()],function(c){return new _.TM(JSON.parse(c[0]))}).then()})};_.g.qba=function(a){JR(this);return this.W.vfa(a)};_.g.Rla=function(a){JR(this);this.send("3.43",[a.Bc()])};_.g.C4=function(a){JR(this);return this.send("3.44",[a.Bc()],function(){return new lPc}).then()};
_.g.Wla=function(a){JR(this);if(1!=_.nO(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.hz()&&!c.getItem())return Promise.reject(Error("Ig"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Bc()})]))};_.g.QGa=function(){var a=this,b=[_.Ph(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Uia(b).then(function(c){c?_.Nh(a.QGa.bind(a),6E4):(a.tb=!0,JR(a))})};
var JR=function(a){a.tb&&a.dispatchEvent(new J5c)},sMc=function(a){if(_.y(a,61,!1)&&_.m.SharedWorker)if(_.A(a,zMc,66)){if(_.tM(a.Pe())||_.oO(a)&&!_.y(a,52,!1))return!1}else return!1;else return!1;return!0},G6c=function(a){var b=_.Jh();a.vf(b.resolve,b.reject,b);return b.promise};
var KR=function(){_.N.call(this);this.ha=new _.Ll;this.wa=this.Xd=this.La=!1};_.H(KR,_.N);KR.prototype.initialize=function(){this.La||(this.La=!0,this.ma(),this.setActive(!0))};KR.prototype.ma=function(){};KR.prototype.setActive=function(a){this.Xd=a;H6c(this)};var H6c=function(a){if(a.Xd&&!a.wa){var b=_.Ml(a.ha);if(b)if(a.Na()){do a.Ca(b);while(b=_.Ml(a.ha))}else a.wa=!0,_.Kh(a.Ra(b),function(){a.wa=!1;H6c(a)})}};KR.prototype.Ca=function(){};KR.prototype.Ra=function(){};KR.prototype.Na=function(){return!0};
KR.prototype.enqueue=function(a){try{var b=new _.Cj;this.ha.enqueue(new I6c(a,b));H6c(this);return b}catch(c){return _.Jj(_.eN(c))}};var I6c=function(a,b){this.V=a;this.H=b};I6c.prototype.getCommand=function(){return this.V};
var K6c=function(a){KR.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.JM(this.H.H)&&(this.W=new _.Sd(this),this.Qa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;fQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.hf();a.Xb&&1!=_.B(e,17,1)&&(d.push("iuEtc"),fQ(c,["mrK8ic"],function(){gQ(c,"iuEtc")}));fQ(c,d,function(){return J6c(b)})};_.H(K6c,KR);K6c.prototype.ma=function(){L6c(this)};
var J6c=function(a){if(1==uXc(a.H.uc).Gb())return Promise.resolve();var b=new _.je;_.le(b,!0);_.ke(b,301);var c=new _.WN;_.NOc(c,b);return M6c(a,c).then(null,function(d){d=_.FM(d);_.w(d,21,"Initial account request failed.");a.H.tb(d)})},M6c=function(a,b,c){return a.H.dm().then(function(d){return d.H(b,c)}).then(function(d){var e=_.zQ(d),f=e.getUser();if(f&&0==_.D(f,7))d=_.HM(a.H.H.Pe()),d=Error("Jg`"+d+"`"+_.QF(f)),_.Lj(d),cPc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.uc;var h=0==f.Ke()?1:6;
_.JM(a.H.H)&&W0c(a.V,e);h=wXc(f,e,h);(e=e.getMetadata())&&IYc(a.H,_.x(e,2),1);(d=_.x(d,4))&&JYc(a.H,d,!0);h&&a.dispatchEvent(new _.Gg("WPi0i"));d=Promise.resolve(new _.cP(uXc(f),f.Ke(),!1))}return d}).then(function(d){return d},function(d){d=_.FM(d);_.w(d,5,1);return Promise.reject(new _.nb("Error fetching account from server.",d))})};
K6c.prototype.Ca=function(a){var b=a.getCommand();if(b.lYa){var c={};b.lO&&(c.J$=b.lO);M6c(this,b.jc,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Bd(e)})}else if(b=this.H.uc,c=uXc(b),_.JM(this.H.H)){c=_.zQ(c);var d=c.getUser();d=vXc(this.V,_.QF(d));W0c(this.V,c);wXc(b,c,b.Ke())&&this.dispatchEvent(new _.Gg("WPi0i"));a.H.callback(new _.cP(uXc(b),b.Ke(),d))}else c.Gb(),b=new _.cP(c,b.Ke(),!0),a.H.callback(b)};
var L6c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.WN,d=new _.je;_.ke(d,306);_.NOc(c,d);M6c(a,c).then(function(){return L6c(a)},function(){return L6c(a)})},Math.ceil(_.B(b,7,9E5)*Math.random())+_.B(b,3,72E5))};K6c.prototype.ka=function(a){var b=this.H.uc,c=_.zQ(uXc(b));c&&a.getPeople().find(function(d){return _.x(d,1)==_.QF(c.getUser())})&&(W0c(this.V,c),wXc(b,c,b.Ke())&&this.dispatchEvent(new _.Gg("WPi0i")))};var N6c=function(a,b){this.jc=a;this.lYa=!!b;this.lO=null};
var P6c=function(a){KR.call(this);this.H=a;this.Rd=new _.Sd(this);this.Qa(this.Rd);this.Rd.listen(this.H.$c,"Kb",_.Be(this.dispatchEvent,new _.Gg("Kb",this)));this.Ka=this.ka=!1;this.W=null;this.V=1;this.Fa=0;this.ta=null;O6c(this)};_.H(P6c,KR);
var O6c=function(a){var b=a.H.ha;fQ(b,["nVUlO"],function(){a.Ka=!0;a.setActive(!0)});if(!_.oO(a.H.H)){var c=_.B(a.H.H.hf(),18,1);fQ(b,["NSockf"],function(){1==c?Q6c(a):a.setActive(!0)});2==c&&fQ(b,["mrK8ic"],function(){a.ka||Q6c(a)})}},Q6c=function(a){var b=new _.je;_.le(b,!0);_.ke(b,301);var c=new _.HN;_.HOc(c,b);_.w(c,1,1);R6c(a,c).Sf(function(){return null})},R6c=function(a,b,c){_.m.clearTimeout(a.Fa);a.Fa=0;var d=_.Jh();a.W=d.promise;_.Kh(a.W,function(){a.W=null;S6c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.HN;_.w(h,1,a.V);_.HOc(h,b.ie());a.H.dm().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.$c;l.cma(k,l.Vx()?6:1);d.resolve()},function(k){a.V=e;k=_.fN(k);var l=k.Fg;_.w(l,5,2);f?(_.DM(l,1),k.message="Initial app settings refresh failed.",_.w(k.Fg,21,"Initial app settings refresh failed."),a.H.tb(l),a.setActive(!0)):(_.DM(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Fg,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};P6c.prototype.Na=function(){return!1};
P6c.prototype.Ra=function(a){var b=this,c=a.getCommand(),d=c.jc,e=c.U5,f=c.lO?{J$:c.lO}:void 0;if(!T6c(d))return this.H.dm().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.$O(l,1,!1))},function(l){a.H.Bd(_.eN(l))}),_.Fh();c=_.Fh();var h=!1;this.W?U6c(this,d.getType())?e=this.W:c=e=new _.Dh(function(l,n){b.W.then(function(){R6c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ka&&U6c(this,d.getType())&&!this.ta?(h=!0,e=_.Fh()):e=R6c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.$c;k.callback(new _.$O(l.dma(),l.Ke(),h))},function(l){k.Bd(l)});return c.then()};
var T6c=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.x(a,4),a=_.x(a,3),!(b&&b.length)&&!(a&&a.length)):!1},U6c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},S6c=function(a){var b=a.H.H.hf(),c=new _.je;_.ke(c,306);var d=new _.HN;_.w(d,1,1);_.HOc(d,c);a.Fa=_.m.setTimeout(function(){return void R6c(a,d)},Math.ceil(_.B(b,7,9E5)*Math.random())+_.B(b,4,72E5))},V6c=function(a,b){this.jc=a;this.U5=!!b;this.lO=null};
var W6c=function(a,b){this.ta=b;this.jc=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.Jh();this.W="";this.ka=this.ma=!1};W6c.prototype.ha=function(){this.ma||(this.ma=!0,X6c(this));return this.V.promise};var X6c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.kFc(a.jc,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ca.bind(a),a.wa.bind(a))}};W6c.prototype.Ca=function(a){(this.W=a.pageToken)?X6c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
W6c.prototype.wa=function(a){a=_.fN(a);var b=a.Fg.Mi();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)};W6c.prototype.cancel=function(){this.ka=!0};
var Z6c=function(a){KR.call(this);var b=this;this.H=a;this.ka=new _.Sd(this);this.Qa(this.ka);this.ka.listen(this.H.Na,"WPi0i",function(){return b.dispatchEvent(new _.Gg("WPi0i"))});this.V=null;this.W=_.Jh();this.ta=_.bj(this.H.H.hf(),30);Y6c(this)};_.H(Z6c,KR);
var Y6c=function(a){var b=a.H.ha;fQ(b,["rkYxSd"],function(){return a.initialize()});fQ(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=_.B(a.H.H.hf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&fQ(b,["mrK8ic"],function(){gQ(b,"OZvrNc")}));!_.y(a.H.H,11,!1)&&_.y(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<$3c(a.H.Na).kw().length||(b.H("NSockf")?gQ(b,"DEJoH"):fQ(b,["NSockf"],function(){gQ(b,"DEJoH")}))},
12E3));fQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.AC,f=new _.je;_.le(f,!0);_.ke(f,301);_.Q(e,1,f);$6c(a,e,a7c(a)).Sf(function(){a.initialize()})}})};Z6c.prototype.ma=function(){var a="User prefs detected: "+$3c(this.H.Na).kw().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);b7c(this)};
var $6c=function(a,b,c,d){var e=new _.fFc(b,c),f=d?{J$:d}:void 0;return a.H.dm().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Na;KYc(k,h.kw(),k.Vx()?6:1,c)}).then(null,function(h){h=_.fN(h);_.w(h.Fg,5,4);0<a.ha.hc()||a.H.tb(h.Fg);a.V=h;throw h;})};
Z6c.prototype.Ca=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set(_.hc(this.H.Na.H.keys()).concat());c.e$.find(function(f){return!e.has(f)})&&(c.U5=!0);this.V?d.Bd(this.V):c.U5?_.Kh(this.W?this.W.promise:$6c(this,c.jc,a7c(this,c.e$),c.lO||void 0),function(){return c7c(b,d,c.e$,!1)}):c7c(this,d,c.e$,!0)};
var a7c=function(a,b){b=void 0===b?[]:b;a=new Set(_.hc(a.ta).concat(_.hc(_.hc(a.H.Na.H.keys()).concat()),_.hc(b)));return _.hc(a.values()).concat()},c7c=function(a,b,c,d){a=a.H.Na.GF(c);b.callback(new _.bP(a.H,a.V,d))},b7c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.AC,d=new _.je;_.ke(d,306);_.Q(c,1,d);_.Kh($6c(a,c,a7c(a)).Sf(_.ze),function(){return b7c(a)})},Math.ceil(_.B(b,7,9E5)*Math.random())+_.B(b,5,72E5))},d7c=function(a,b,c){this.jc=a;this.e$=b;this.U5=!!c;this.lO=null};
var uMc=function(a){AR.call(this,a);this.ka=this.ma=this.ta=null;this.tb=_.Jh();this.H=a.dm()};_.H(uMc,AR);_.g=uMc.prototype;_.g.Ava=function(){this.Fa=new K6c(this.context);this.Qa(this.Fa);this.Ka=new P6c(this.context);this.Qa(this.Ka);this.Ya=new Z6c(this.context);this.Qa(this.Ya)};
_.g.FDa=function(){var a=this,b=["hVFf7"];_.oO(this.context.H)&&b.push("BNEDtc");fQ(this.V,b,(0,_.I)(this.gAa,this));fQ(this.V,["T8oKm","ZA9qG"],(0,_.I)(this.hIa,this));fQ(this.V,["T8oKm","mrK8ic"],(0,_.I)(this.hIa,this));this.Rd.listen(this.Fa,"WPi0i",this.bma.bind(this,1));this.Rd.listen(this.Ka,"Kb",this.bma.bind(this,2));this.Rd.listen(this.Ya,"WPi0i",this.bma.bind(this,4));fQ(this.V,["GZTDpc"],function(){return a.tb.resolve()})};_.g.hIa=function(){ZQ(this.context).nb(function(a){a.start()})};
_.g.bma=function(a){_.ha(oPc,a)&&this.dispatchEvent(new k5c(a))};_.g.O1=function(a){if(!_.pO(this.context.H))throw BR("teamDriveQuery");return this.W.xfa(_.uj(a))};_.g.boa=function(a){bTc(this.context.ma,a,UOc(this.context.Ka));return this.W.ufa(_.uj(a))};_.g.Hra=function(a){if(!_.pO(this.context.H))throw BR("teamDriveFindByIds");return this.W.yfa(_.uj(a))};_.g.Ira=function(a){return new W6c(a,this.context.dm())};
_.g.Lda=function(a,b){var c=this;if(this.ta&&_.tj(this.ta.jd(),a))return this.ta;this.ta=new GR(_.uj(a),this.context,this.iOa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.iOa=function(a,b,c){var d=new _.bFc(a,b,c);return _.Ij(this.H.then(function(e){return e.H(d)}).Sf(function(e){return _.gN(e)}))};_.g.tea=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new j6c(a,this.context,this.xPa.bind(this));return this.ka};_.g.xPa=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).Sf(function(b){return _.gN(b)}))};
_.g.Roa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Fh()};_.g.Tla=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}))};_.g.Ufa=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}))};_.g.foa=function(a,b){var c=this;if(this.ma&&_.tj(this.ma.jd(),a))return r6c(this.ma),this.ma;this.ma=new IR(_.uj(a),this.context,this.Neb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.Neb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.JM(b.context.H)?Y0c(b.context.V.ma,c.Zq().MI(),a.jd().getId()).then(function(){return c}):c},_.gN)};_.g.Vja=function(a){var b=this;return _.Ij(this.H.then(function(c){return c.H(a)}).then(function(c){return _.JM(b.context.H)?Y0c(b.context.V.ma,[c.cY()],a.Gc()).then(function(){return c}):c},_.gN))};_.g.Wfa=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};
_.g.Pea=function(a){return this.W.kfa(_.uj(a))};_.g.Rea=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.gN)};_.g.GU=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 _.zUc;f=_.w(h,1,f.toString());b[Number(e)].UQ?f.Dc(1):(f.Dc(3),f.Qe(b[Number(e)].reason.Fg));c.push(f)}b=new BUc;return _.pj(b,1,c)},function(b){return _.gN(b)})};
_.g.Goa=function(a){var b=this;return new a6c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Sf(function(d){return _.gN(d)})})};_.g.faa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.gN)};_.g.Yc=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};_.g.YN=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.gN)};
_.g.iA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.Yc(a[d])),b.push(a[d].getId());a=new _.fo(c);c=new _.Cj;a.nb(this.EQa.bind(this,c,b));return c};_.g.nfa=function(){return new t6c(this.context.H,this.context.Ra,this.context.qc.W,this.context.dm(),this.context.Cc,this.context.W,void 0,this.context.ta)};
_.g.TS=function(a,b){var c=this,d=_.eg();this.ha.create(d,a);3==a.getType()?a=AR.prototype.TS.call(this,a).nb(function(e){return new _.$O(e,1,!1)}):(gQ(this.V,"Qubz4b"),a=this.Ka.enqueue(new V6c(a,b)));return a.nb(function(e){A0c(c.ha,d,e);return e.response}).Ae(function(){eR(c.ha,d)})};_.g.Ula=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};_.g.Xja=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};
_.g.Tfa=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};_.g.A9=function(a){return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};_.g.GR=function(a,b){var c=this;gQ(this.V,"iuEtc");var d=_.eg();this.ha.create(d,a);return this.Fa.enqueue(new N6c(a,b)).nb(function(e){A0c(c.ha,d,e);return e.response}).Ae(function(){eR(c.ha,d)})};
_.g.GF=function(a,b){var c=this,d=_.bj(this.context.H.hf(),30);if(!d||0==d.length)return _.Jj(new _.nb("getUserPrefs requires a namespace.",_.dN(3)));var e=_.eg();this.ha.create(e,a);gQ(this.V,"OZvrNc");return this.Ya.enqueue(new d7c(a,d,b)).nb(function(f){A0c(c.ha,e,f);return f.response}).Ae(function(){eR(c.ha,e)})};_.g.Yla=function(a){w6c(_.bj(this.context.H.hf(),30),a);return _.Ij(this.H.then(function(b){return b.H(a)}).then(null,_.gN))};
_.g.Vla=function(a){var b=this;return _.Ij(this.H.then(function(c){return c.H(a)}).then(function(c){return _.JM(b.context.H)?X0c(b.context.V.ma,c):c},_.gN))};_.g.Qsa=function(a){return this.W.Afa(_.uj(a))};_.g.eca=function(a){return this.W.zfa(_.uj(a))};_.g.yra=function(a){var b=this;return new b6c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Sf(function(d){return _.gN(d)})})};_.g.qba=function(a){return this.W.vfa(_.uj(a))};_.g.Rla=function(a){r0c(this.context.V,[a])};
_.g.C4=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.gN)};_.g.Wla=function(a){if(1!=_.nO(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.hz()&&!c.getItem())return Promise.reject(Error("Ig"))}this.context.V.ta(a);a=this.context.V;JQ(a.H).ka();JTc(a.ha);return Promise.resolve()};_.g.Xla=function(){return this.context.qc.H()};
_.g.Xz=function(a){var b=this;return this.context.Xz(a).then(function(c){return c?(b.context.ka.Xz(a),b.context.wa.a2()):_.Fh(!a)})};_.g.$la=function(a){n4c(this.context).W(a);this.Xz(!!a)};_.g.MN=function(){ZQ(this.context).nb(function(a){a&&a.M8a()});yXc(this.context.nh)};_.g.Zla=function(a){a.Yj(this.context)};_.g.EQa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;JQ(b.H).ka();JTc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.Hh([this.context.Ge.promise,this.context.As.promise]).then(function(){return a.context.wa.a2()}).then()};_.g.ZZ=function(){ZQ(this.context).nb(function(a){a&&a.dispose()});return AR.prototype.ZZ.call(this)};_.g.nna=function(){return this.tb.promise};
var e7c=function(){var a='<div class="'+_.E("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.E("la-Y-A")+" "+_.E("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.Sn({id:_.Yj,callback:function(a){var b=_.TKc(a),c=xMc(a),d=_.A(a.get(_.xk),_.Xa,10);_.JFc(d,b);_.w(d,28,c||[]);b=vMc(a,d);a.registerService(_.Zj,b.BX());_.ud(b,"VbxEwf",function(){var e={};_.xb(_.ez.getService(a),new _.Xp(new _.Wp(e7c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.r().Aa();

}catch(e){_._DumpException(e)}
try{
var f7c,k7c,m7c;f7c=[3];_.LR=function(a){_.P(this,a,0,-1,f7c,null)};_.L(_.LR,_.O);_.LR.prototype.getType=function(){return _.x(this,1)};_.LR.prototype.Gc=function(){return _.x(this,2)};_.g7c=function(a,b){return _.w(a,2,b)};_.LR.prototype.V=function(){return _.nj(this,_.LR,3)};_.h7c=function(a){_.P(this,a,0,-1,null,null)};_.L(_.h7c,_.O);_.h7c.prototype.getFeature=function(){return _.x(this,1)};_.i7c=function(a,b){return _.w(a,1,b)};_.h7c.prototype.V=function(){return _.A(this,_.LR,2)};
_.j7c=function(a,b){return _.Q(a,2,b)};k7c=[1];_.KO=function(a){_.P(this,a,0,-1,k7c,null)};_.L(_.KO,_.O);_.KO.prototype.V=function(){return _.nj(this,_.h7c,1)};_.l7c=function(a,b){return _.pj(a,1,b)};m7c=[1,2];_.mR=function(a){_.P(this,a,0,-1,m7c,null)};_.L(_.mR,_.O);_.mR.prototype.V=function(){return _.x(this,1)};_.n7c=function(a,b){return _.w(a,1,b||[])};_.mR.prototype.mM=function(){return _.nj(this,_.IF,2)};_.o7c=function(a,b){return _.pj(a,2,b)};
_.mR.prototype.ie=function(){return _.A(this,_.je,3)};_.p7c=function(a,b){return _.Q(a,3,b)};_.R("RsR2Mc");

_.r().Aa();

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