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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("WxwHof");


_.u();

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


_.u();

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


_.u();

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


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("emi");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy12t");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy12u");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy13n");

_.Yz=function(a){if(Array.isArray(a))return a.map(_.Yz).join("");if(_.zl(a)){if(!a.getId())throw Error("rd");return a.getId()+"/"+_.zl(a)+","}return""};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy15m");

/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy15n");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var DIb;_.CIb=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")};DIb=function(a){var b=_.qaa(_.IEa,function(c){return a==c});if(void 0===b)throw Error("pb`"+a);return b};_.EIb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.IEa[a.name]):(this.code=a=a.code,this.name=DIb(a));_.ha.call(this,_.CIb("%s %s",this.name,b))};_.gg(_.EIb,_.ha);var FIb=function(a,b){_.ni.call(this,a.type,b)};
_.gg(FIb,_.ni);_.GIb=function(){_.xi.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.M)(this.i0,this);this.H.onprogress=(0,_.M)(this.i0,this);this.H.onload=(0,_.M)(this.i0,this);this.H.onabort=(0,_.M)(this.i0,this);this.H.onerror=(0,_.M)(this.i0,this);this.H.onloadend=(0,_.M)(this.i0,this)};_.gg(_.GIb,_.xi);_.g=_.GIb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.EIb(a,"aborting read");}};_.g.lk=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.EIb(this.H.error,"reading file")};_.g.i0=function(a){this.dispatchEvent(new FIb(a,this))};_.g.Xa=function(){_.GIb.wb.Xa.call(this);delete this.H};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy15z");

var MJb,PJb;MJb=[4,5,6,7];_.IB=function(a){_.J.call(this,a)};_.K(_.IB,_.J);_.IB.prototype.Cb=function(){return _.B(this,1)};_.IB.prototype.Ac=function(a){return _.w(this,1,a)};_.IB.prototype.n$=function(){return _.B(this,2)};_.IB.prototype.Ub="JmcaR";_.NJb=function(a){_.J.call(this,a)};_.K(_.NJb,_.J);_.NJb.prototype.H=function(){return _.P(this,1)};_.NJb.prototype.Ub="dvhrqe";_.OJb=function(a){_.J.call(this,a)};_.K(_.OJb,_.J);_.OJb.prototype.Eo=function(){return _.B(this,2)};
_.OJb.prototype.D1=function(){return _.B(this,3)};PJb=[5];_.QJb=function(a){_.J.call(this,a)};_.K(_.QJb,_.J);_.QJb.prototype.H=function(){return _.P(this,4)};_.QJb.prototype.setActive=function(a){return _.w(this,4,a)};_.RJb=function(a){_.J.call(this,a,-1,PJb)};_.K(_.RJb,_.J);_.g=_.RJb.prototype;_.g.FZ=function(){return _.B(this,1)};_.g.LT=function(){return _.B(this,3)};_.g.ZJ=function(){return _.Ab(this,_.OJb,5)};_.g.yk=function(){return _.B(this,6)};_.g.$p=function(){return _.B(this,7)};
_.g.HM=function(){return _.B(this,9)};_.g.Pr=function(){return _.B(this,10)};_.g.KJ=function(){return _.x(this,_.QJb,12)};_.g.Ok=function(){return _.B(this,13)};_.g.yw=function(){return _.B(this,16)};_.g.xAb=function(){return _.xj(this,16)};_.g.rv=function(){return _.B(this,17)};_.g.Ub="dzR11e";_.SJb=function(a){_.J.call(this,a,-1,MJb)};_.K(_.SJb,_.J);_.SJb.prototype.ul=function(){return _.x(this,_.RJb,1)};_.SJb.prototype.UM=function(){return _.x(this,_.IB,8)};
_.SJb.prototype.H=function(){return _.x(this,_.NJb,9)};_.JB=function(a){_.J.call(this,a,-1,TJb)};_.K(_.JB,_.J);_.JB.prototype.getUser=function(){return _.x(this,_.sk,1)};_.JB.prototype.getMetadata=function(){return _.x(this,_.SJb,3)};_.JB.prototype.to=function(){return _.xj(this,3)};var TJb=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy160");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy161");

_.KB={yL:"lb",Lga:"mb",oU:"nb",nU:"ob"};_.UJb=new Map([[_.KB.yL,1],[_.KB.Lga,2],[_.KB.oU,2],[_.KB.nU,3]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy166");

_.QB=function(a){_.J.call(this,a)};_.K(_.QB,_.J);
_.YJb=function(a){_.J.call(this,a,-1,XJb)};_.K(_.YJb,_.J);var XJb=[4];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy16q");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy17a");

_.lMb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.nMb=function(a,b,c,d){var e=_.lf.getService(a);a=e.ig(a,c);_.mMb(a.H.dk,b,d);e.Uf(a)};_.mMb=function(a,b,c){var d=new _.oMb;b.dQ&&_.w(d,2,b.dQ);b.wE&&0<=b.wE&&_.w(d,1,b.wE);b.quotaType&&_.w(d,3,b.quotaType);_.pMb(a,d);c&&(b=new _.qMb,_.w(b,1,c),_.rMb(a,b))};_.sMb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.pMb=function(a,b){b&&(a=a.Pc(),_.I(a,29,b))};
_.rMb=function(a,b){b&&(a=a.Pc(),_.I(a,38,b))};_.oMb=function(a){_.J.call(this,a)};_.K(_.oMb,_.J);_.oMb.prototype.yk=function(){return _.B(this,3)};_.qMb=function(a){_.J.call(this,a)};_.K(_.qMb,_.J);_.qMb.prototype.mi=function(){return _.B(this,1)};
_.uMb=function(a,b,c){var d=_.D(a.get(_.xDa),1,""),e=_.lMb(b);d=new _.dj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.ij(_.kj(_.kj(_.kj(_.kj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.tMb(a,e,c)),-1!=parseInt(String(_.x(b,_.QB,2)),10)?"upgrade":"")};
_.tMb=function(a,b,c){switch(c){case "settings":return"settings";case "upload_dialog":return"upload_dialog_oos";case "widget":switch(b){case "over":return"widget_oos";case "near":return"widget_near_quota";default:return"widget_normal"}default:switch(b){case "near":case "over":return"upsell";default:return"manage"}}};
_.vMb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.B(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy18r");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy18s");

_.HC=function(a){_.J.call(this,a)};_.K(_.HC,_.J);_.HC.prototype.wa=function(){return _.Bj(this,1)};_.HC.prototype.V=function(){return _.Bj(this,2)};_.HC.prototype.H=function(){return _.Bj(this,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19i");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19o");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19p");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19n");

_.TA=function(a){_.J.call(this,a)};_.K(_.TA,_.J);_.g=_.TA.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.B(this,5)};_.g.Id=function(a){return _.w(this,5,a)};_.g.et=function(){return _.xj(this,5)};_.Fsb=function(a){_.J.call(this,a)};_.K(_.Fsb,_.J);_.Fsb.prototype.H=function(){return _.B(this,1)};
_.Fsb.prototype.Cb=function(){return _.B(this,2)};_.Fsb.prototype.Ac=function(a){return _.w(this,2,a)};_.Fsb.prototype.V=function(){return _.B(this,3)};_.Hsb=function(a){_.J.call(this,a,-1,Gsb)};_.K(_.Hsb,_.J);_.Hsb.prototype.H=function(){return _.ie(this,1)};var Gsb=[1];
_.Jsb=function(a){_.J.call(this,a,-1,Isb)};_.K(_.Jsb,_.J);_.Jsb.prototype.H=function(){return _.Ab(this,_.Fsb,1)};var Isb=[1];
_.Lsb=function(a){_.J.call(this,a,-1,Ksb)};_.K(_.Lsb,_.J);_.Lsb.prototype.H=function(){return _.Ab(this,_.Jsb,1)};var Ksb=[1];
_.Msb=function(a){_.J.call(this,a)};_.K(_.Msb,_.J);_.Msb.prototype.V=function(){return _.x(this,_.Lsb,1)};_.Msb.prototype.H=function(){return _.x(this,_.Hsb,2)};
_.UA=function(a){_.J.call(this,a,-1,Nsb)};_.K(_.UA,_.J);_.g=_.UA.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Ad=function(){return _.Ab(this,_.Fk,2)};_.g.LA=function(a){return _.Ej(this,2,a)};_.g.hh=function(a,b){return _.Jj(this,2,a,_.Fk,b)};_.g.Wj=function(){return _.B(this,3)};_.g.Ql=function(){return _.Q(this,5,!0)};_.g.V5=function(){return _.x(this,_.Msb,7)};_.g.gsa=function(){return _.P(this,8)};_.g.Rf=function(){return _.B(this,17)};
_.g.lP=function(a){return _.w(this,17,a)};_.g.Qe=function(){return _.B(this,12)};_.g.yi=function(a){return _.w(this,12,a)};_.g.Vn=function(){return _.B(this,15)};_.g.gka=function(){return _.ie(this,18)};var Nsb=[2,14,18];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19q");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy19s");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1an");

_.eD=function(a){_.J.call(this,a)};_.K(_.eD,_.J);_.eD.prototype.getKey=function(){return _.x(this,_.gc,1)};_.eD.prototype.bt=function(){return _.xj(this,1)};_.eD.prototype.se=function(){return _.x(this,_.Kf,2)};
_.fD=function(a){_.J.call(this,a)};_.K(_.fD,_.J);_.fD.prototype.se=function(){return _.x(this,_.Kf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ao");

_.dD=function(a){_.J.call(this,a,-1,RPb)};_.K(_.dD,_.J);_.dD.prototype.se=function(){return _.x(this,_.Kf,1)};var RPb=[3];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1av");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.uD=function(a,b,c){_.N.call(this);this.Rm=null!=c?(0,_.M)(a,c):a;this.ka=b;this.Dg=(0,_.M)(this.Z9a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.gg(_.uD,_.N);_.g=_.uD.prototype;_.g.le=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.eg()+this.ka:this.H=_.zi(this.Dg,this.ka)};_.g.stop=function(){this.H&&(_.Ai(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Rm.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.uD.wb.Xa.call(this)};_.g.Z9a=function(){this.H&&(_.Ai(this.H),this.H=null);this.W?(this.H=_.zi(this.Dg,this.W-_.eg()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Rm.apply(null,this.ha))};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1eb");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ec");

_.PF=function(a){_.J.call(this,a,-1,g7b)};_.K(_.PF,_.J);_.PF.prototype.getId=function(){return _.B(this,1)};_.PF.prototype.Nb=function(a){return _.w(this,1,a)};_.PF.prototype.Yr=function(){return _.B(this,2)};_.PF.prototype.fK=function(){return _.xj(this,2)};var g7b=[5,6,9,10,12,13,15,16];
var h7b;_.QF=function(a){_.J.call(this,a,-1,h7b)};_.K(_.QF,_.J);_.QF.prototype.Cm=function(){return _.B(this,1)};_.i7b=function(a,b){return _.w(a,1,b)};h7b=[2,4];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ef");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1eg");

_.RF=function(a){_.J.call(this,a)};_.K(_.RF,_.J);_.RF.prototype.getName=function(){return _.B(this,1)};_.RF.prototype.$c=function(a){return _.w(this,1,a)};_.RF.prototype.se=function(){return _.x(this,_.Kf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ei");

var p7b;_.Oc=function(a){_.ni.call(this,_.Yc);this.error=a};_.K(_.Oc,_.ni);_.SF=function(a){_.J.call(this,a,-1,p7b)};_.K(_.SF,_.J);_.SF.prototype.H=function(){return _.ie(this,1)};_.TF=function(a,b){return _.Cj(a,1,b)};_.SF.prototype.ln=function(){return _.ie(this,2)};_.UF=function(a,b){return _.Cj(a,2,b)};_.SF.prototype.se=function(){return _.x(this,_.Kf,3)};_.VF=function(a,b){return _.I(a,3,b)};_.q7b=function(a,b){return _.w(a,5,b)};p7b=[1,2,6,11];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ek");

_.WF=function(a){_.J.call(this,a)};_.K(_.WF,_.J);_.g=_.WF.prototype;_.g.vi=function(){return _.B(this,1)};_.g.Hi=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,3)};_.g.Dp=function(){return _.B(this,4)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1el");

_.XF=function(a){_.J.call(this,a,-1,r7b)};_.K(_.XF,_.J);_.XF.prototype.H=function(){return _.ie(this,1)};_.XF.prototype.ln=function(){return _.ie(this,2)};_.XF.prototype.se=function(){return _.x(this,_.Kf,3)};var r7b=[1,2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1em");

_.YF=function(a){_.J.call(this,a,-1,s7b)};_.K(_.YF,_.J);_.YF.prototype.ln=function(){return _.ie(this,1)};_.t7b=function(a,b){return _.Cj(a,1,b)};_.YF.prototype.se=function(){return _.x(this,_.Kf,2)};var s7b=[1,3];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1eo");

_.ZF=function(a,b){return _.w(a,4,b)};_.u7b=function(a,b){return _.w(a,25,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1eh");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ej");

_.v7b=function(a){_.J.call(this,a)};_.K(_.v7b,_.J);_.v7b.prototype.vi=function(){return _.B(this,3)};_.v7b.prototype.Hi=function(a){return _.w(this,3,a)};_.v7b.prototype.se=function(){return _.x(this,_.Kf,5)};_.v7b.prototype.getCustomer=function(){return _.B(this,6)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1f2");

_.eG=function(a){_.J.call(this,a)};_.K(_.eG,_.J);_.eG.prototype.qc=function(){return _.B(this,1)};_.o8b=function(a){var b=new _.eG;return _.w(b,1,a)};_.eG.prototype.vi=function(){return _.B(this,2)};_.eG.prototype.Hi=function(a){return _.w(this,2,a)};_.eG.prototype.se=function(){return _.x(this,_.Kf,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iu");

_.JH=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.tla)(a)};_.KH=function(a){return _.Q(a,5,!1)};_.lpc=function(a,b){var c=_.x(a.H,_.Bya,9);null==c&&(c=new _.Bya);var d=_.w(c,5,_.B(b.H,10));_.w(d,2,_.B(b.H,12));_.I(a.H,9,c)};_.mpc=function(a){var b=_.Bla(a);if("undefined"==typeof b)throw Error("X");var c=new _.jj(null,void 0);a=_.Ala(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Ama(c,e,f):c.add(e,f)}return c};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j3");

var npc;_.LH=function(a){_.J.call(this,a,-1,npc)};_.K(_.LH,_.J);_.LH.prototype.H=function(){return _.ie(this,1)};_.LH.prototype.se=function(){return _.x(this,_.Kf,2)};_.opc=function(a,b){return _.I(a,2,b)};_.LH.prototype.vi=function(){return _.Oj(this,3,20)};_.LH.prototype.Hi=function(a){return _.w(this,3,a)};_.ppc=function(a,b){return _.w(a,4,b)};npc=[1];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jg");

_.qpc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.rpc=_.db(_.qpc);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jh");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.tpc=function(a,b){return _.spc()?(new _.n.Intl.Collator([a||"en"],b||{})).compare:function(c,d){return c.localeCompare(d)}};_.spc=function(){var a=_.n.Intl;return!(!a||!a.Collator)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ji");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.upc=function(a){_.N.call(this);this.O=a;this.H={};this.O.nO((0,_.M)(this.V,this))};_.gg(_.upc,_.N);_.wpc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ne`"+b);if(b in a.H)throw Error("Oe`"+b);var c=new vpc(a,b);return a.H[b]=c};_.upc.prototype.V=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.O&&c.O(a,b)}};_.upc.prototype.Xa=function(){_.Qa(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var vpc=function(a,b){_.N.call(this);this.Ig=a;this.H=b};_.gg(vpc,_.N);_.g=vpc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ig.O.registerService(this.H+":"+a,(0,_.M)(this.zTa,this,b),c)};_.g.nO=function(a){this.O=(0,_.M)(this.zTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Pe");this.Ig.O.send(this.H+":"+a,b)};_.g.zTa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Xa=function(){this.Ig=this.Ig.H[this.H]=null};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jj");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.xpc=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.ypc=function(){this.blockSize=-1};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jk");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.MH=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.gg(_.MH,_.ypc);_.MH.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.V=this.O=0};
var zpc=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.H[0];c=a.H[1];e=a.H[2];var f=a.H[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.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.H[2]=a.H[2]+e&4294967295;a.H[3]=a.H[3]+f&4294967295};
_.MH.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.W,e=this.O,f=0;f<b;){if(0==e)for(;f<=c;)zpc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){zpc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){zpc(this,d);e=0;break}}this.O=e;this.V+=b};
_.MH.prototype.digest=function(){var a=Array((56>this.O?this.blockSize:2*this.blockSize)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.V;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.H[b]>>>d&255;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jl");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Apc,NH,Bpc,PH,Dpc,Cpc;Apc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.wga);try{delete a[_.wga]}catch(b){}};
NH=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(_.Da(f)){f[_.wga]||c.push(f);var l=_.Ea(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=!0;b.push("{");for(var p in f)"function"!==typeof f[p]&&(b.push("\n"),b.push(k),b.push(p+" = "),e(f[p],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++)Apc(c[a]);return b.join("")};_.OH=function(a,b,c){if("number"===typeof a)var d={name:Cpc(a)};else d=a,a=Dpc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ha.call(this,b)};_.gg(_.OH,_.ha);_.OH.prototype.getName=function(){return this.O.name||""};
PH={wjb:1,Aib:2,NOT_FOUND_ERR:3,v8a:4,B8a:5,Cib:6,rjb:7,ABORT_ERR:8,Rib:9,P7b:10,TIMEOUT_ERR:11,Oib:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.Epc=(_.n.pI||_.n.nL||PH).wjb;_.Fpc=(_.n.pI||_.n.nL||PH).Aib;_.Gpc=(_.n.pI||_.n.nL||PH).NOT_FOUND_ERR;_.Hpc=(_.n.pI||_.n.nL||PH).v8a;_.Ipc=(_.n.pI||_.n.nL||PH).B8a;_.Jpc=(_.n.pI||_.n.nL||PH).Cib;_.Kpc=(_.n.pI||_.n.nL||PH).rjb;_.Lpc=(_.n.pI||_.n.nL||PH).ABORT_ERR;_.Mpc=(_.n.pI||_.n.nL||PH).Rib;_.Npc=(_.n.pI||_.n.nL||PH).TIMEOUT_ERR;
_.Opc=(_.n.pI||_.n.nL||PH).Oib;_.Ppc=(_.n.DOMException||PH).INVALID_ACCESS_ERR;_.Qpc=(_.n.DOMException||PH).INVALID_STATE_ERR;
Dpc=function(a){switch(a){case "UnknownError":return _.Epc;case "NotFoundError":return _.Gpc;case "ConstraintError":return _.Hpc;case "DataError":return _.Ipc;case "TransactionInactiveError":return _.Kpc;case "AbortError":return _.Lpc;case "ReadOnlyError":return _.Mpc;case "TimeoutError":return _.Npc;case "QuotaExceededError":return _.Opc;case "InvalidAccessError":return _.Ppc;case "InvalidStateError":return _.Qpc;default:return _.Epc}};
Cpc=function(a){switch(a){case _.Epc:return"UnknownError";case _.Gpc:return"NotFoundError";case _.Hpc:return"ConstraintError";case _.Ipc:return"DataError";case _.Kpc:return"TransactionInactiveError";case _.Lpc:return"AbortError";case _.Mpc:return"ReadOnlyError";case _.Npc:return"TimeoutError";case _.Opc:return"QuotaExceededError";case _.Ppc:return"InvalidAccessError";case _.Qpc:return"InvalidStateError";default:return"UnknownError"}};
_.QH=function(a,b){return"error"in a?new _.OH(a.error,b):new _.OH({name:"UnknownError"},b)};_.RH=function(a,b){if("name"in a)return b=b+": "+a.message,new _.OH(a,b);if("code"in a){var c=Cpc(a.code);b=b+": "+a.message;return new _.OH({name:c},b)}return new _.OH({name:"UnknownError"},b)};
_.Rpc=function(a){this.H=a};_.Spc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.Rpc.prototype.range=function(){return this.H};
var Tpc=function(a){this.H=a};Tpc.prototype.getName=function(){return this.H.name};var Upc=function(a,b,c,d){var e=new _.$h;try{var f=a.H[b](d)}catch(h){return c+=" with key "+NH(d),e.Gd(_.RH(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+NH(d);e.Gd(_.QH(h.target,c))};return e};Tpc.prototype.get=function(a){return Upc(this,"get","getting from index "+this.getName(),a)};
Tpc.prototype.getKey=function(a){return Upc(this,"getKey","getting key from index "+this.getName(),a)};Tpc.prototype.getAll=function(a,b){return _.Vpc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.Vpc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.Rpc?d.range():(new _.Rpc(_.Spc.only(d))).range();var h=new _.$h;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?NH(f):"<all>"),h.Gd(_.RH(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?NH(f):"<all>");h.Gd(_.QH(l.target,c))};return h};
var Wpc=function(a){this.H=a};Wpc.prototype.getName=function(){return this.H.name};var Xpc=function(a,b,c,d,e){var f=new _.$h;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=NH(d),e&&(c+=", with key "+NH(e)),f.Gd(_.RH(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=NH(d);e&&(c+=", with key "+NH(e));f.Gd(_.QH(k.target,c))};return f};_.g=Wpc.prototype;_.g.put=function(a,b){return Xpc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return Xpc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.$h;try{var c=this.H["delete"](a instanceof _.Rpc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+NH(a),b.Gd(_.RH(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+NH(a);b.Gd(_.QH(e.target,f))};return b};
_.g.get=function(a){var b=new _.$h;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+NH(a),b.Gd(_.RH(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 "+NH(a);b.Gd(_.QH(e.target,f))};return b};_.g.getAll=function(a,b){return Ypc(this,"getting all from index "+this.getName(),a,b)};
var Ypc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.Rpc?c.range():(new _.Rpc(_.Spc.only(c))).range();var f=new _.$h;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?NH(e):"<all>"),f.Gd(_.RH(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?NH(e):"<all>");f.Gd(_.QH(k.target,b))};return f};
Wpc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.$h;try{var c=this.H.clear()}catch(d){return b.Gd(_.RH(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Gd(_.QH(d.target,a))};return b};Wpc.prototype.getIndex=function(a){try{return new Tpc(this.H.index(a))}catch(b){throw _.RH(b,"getting index "+a);}};
Wpc.prototype.count=function(a){var b=new _.$h;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Gd(_.QH(e.target,d.getName()))}}catch(e){b.Gd(_.RH(e,this.getName()))}return b};
var Zpc=function(a,b){_.xi.call(this);this.H=a;this.O=b;this.Ab=new _.jf(this);this.Ab.listen(this.H,"complete",(0,_.M)(this.dispatchEvent,this,"complete"));this.Ab.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.D$a)};_.gg(Zpc,_.xi);_.g=Zpc.prototype;_.g.D$a=function(a){a.target instanceof _.OH?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.QH(a.target,"in transaction")})};_.g.Hg=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new Wpc(this.H.objectStore(a))}catch(b){throw _.RH(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.RH(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.$h;_.ri(this,"complete",(0,_.M)(a.callback,a));var b=_.ri(this,"abort",function(){_.vi(c);a.Gd(new _.OH(_.Lpc,"waiting for transaction to complete"))});var c=_.ri(this,"error",function(e){_.vi(b);a.Gd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Xa=function(){Zpc.wb.Xa.call(this);this.Ab.dispose()};
var $pc=function(a){_.xi.call(this);this.H=a;this.Ab=new _.jf(this);this.Ab.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.E$a);this.Ab.listen(this.H,"versionchange",this.Kpb);this.Ab.listen(this.H,"close",(0,_.M)(this.dispatchEvent,this,"close"))};_.gg($pc,_.xi);_.g=$pc.prototype;_.g.tsa=!0;_.g.E$a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Kpb=function(a){this.dispatchEvent(new aqc(a.oldVersion,a.newVersion))};_.g.close=function(){this.tsa&&(this.H.close(),this.tsa=!1)};_.g.Mg=function(){return this.tsa};_.g.getName=function(){return this.H.name};_.g.Yi=function(){return Number(this.H.version)};_.bqc=function(a,b,c){try{return new Wpc(a.H.createObjectStore(b,c))}catch(d){throw _.RH(d,"creating object store "+b);}};
_.cqc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new Zpc(d,a)}catch(e){throw _.RH(e,"creating transaction");}};$pc.prototype.Xa=function(){$pc.wb.Xa.call(this);this.Ab.dispose()};var aqc=function(a,b){_.ni.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.gg(aqc,_.ni);
_.dqc=function(){void 0==Bpc&&(Bpc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return Bpc};
_.eqc=function(a,b,c,d){var e=new _.$h;b=b?_.dqc().open(a,b):_.dqc().open(a);b.onsuccess=function(f){f=new $pc(f.target.result);e.callback(f)};b.onerror=function(f){e.Gd(_.QH(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new $pc(f.target.result);c(new aqc(f.oldVersion,f.newVersion),h,new Zpc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new aqc(f.oldVersion,f.newVersion))};return e};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jm");

/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1je");

_.fqc=function(a,b,c){_.bj(a.url,function(d){d=d.target;d.Ay()?b(d.wl()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.gqc=function(a,b,c,d){return _.D(a,1).split("/").pop()==d?(d=_.B(a,2),Array.isArray(d)?new b(d):c(_.vb(a.Ya()))):null};_.iqc=function(a){_.J.call(this,a,-1,hqc)};_.K(_.iqc,_.J);var hqc=[2];
_.jqc=function(a){_.J.call(this,a)};_.K(_.jqc,_.J);var kqc=function(){var a=new _.jqc,b=document.documentElement.getAttribute("lang");return _.w(a,5,b)};_.jqc.prototype.Oi=function(){return _.B(this,7)};
_.lqc=function(a){_.J.call(this,a)};_.K(_.lqc,_.J);
var mqc;_.UH=function(a){_.J.call(this,a,31,mqc)};_.K(_.UH,_.J);_.VH=function(a,b){return _.w(a,8,b)};mqc=[3,20,27];
var oqc=function(a){_.J.call(this,a,17,nqc)};_.K(oqc,_.J);var pqc=function(a){var b=Date.now().toString();return _.w(a,4,b)},qqc=function(a,b){return _.Ej(a,3,b)},rqc=function(a,b){return _.w(a,14,b)},nqc=[3,5];
var tqc=function(a){_.J.call(this,a,6,sqc)};_.K(tqc,_.J);var sqc=[5];
var uqc=function(a){_.J.call(this,a)};_.K(uqc,_.J);
var vqc=new _.wj(175237375,uqc);
_.WH=function(a,b,c,d,e,f,h,k,l,p,q){_.xi.call(this);var r=this;this.Ja="";this.O=[];this.Ec="";this.Fb=this.Lb=this.ha=!1;this.Oc=this.ob=-1;this.Qb=!1;this.Fa=this.V=null;this.wa=0;this.be=1;this.timeoutMillis=0;this.hb=!1;_.xi.call(this);this.Xc=a;this.jc=b||_.cg;this.ka=new oqc;this.xd=d;this.yb=q;this.ke=_.gb(_.gja,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Zf=null;this.withCredentials=!k;this.tc=f||!1;this.Ld=!this.tc&&(_.qj.Mn&&_.Rb(65)||_.qj.Lu&&_.Rb(45)||_.qj.Wx&&
_.Rb(12)||_.nb()&&0<=_.hb(_.Naa(),12))&&!!_.If()&&!!_.If().navigator&&!!_.If().navigator.sendBeacon;a=_.w(new _.lqc,1,1);f||(f=kqc(),_.I(a,11,f));_.I(this.ka,1,a);_.w(this.ka,2,this.Xc);this.ma=new _.SH(1E4,3E5,.1);this.H=new _.yi(this.ma.Ya());this.La(this.H);_.Ye(this.H,"tick",_.Fga(wqc(this,p)),!1,this);this.Pa=new _.yi(6E5);this.La(this.Pa);_.Ye(this.Pa,"tick",_.Fga(wqc(this,p)),!1,this);this.Ta||this.Pa.start();this.tc||(_.Ye(_.If(),"beforeunload",this.ta,!1,this),_.Ye(_.If(),"unload",this.ta,
!1,this),_.Ye(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.Ye(document,"pagehide",this.ta,!1,this))};_.K(_.WH,_.xi);var wqc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.WH.prototype.Xa=function(){this.ta();_.xi.prototype.Xa.call(this)};var xqc=function(a){a.Ba||(a.Ba=.01>a.ke()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.WH.prototype.W=function(a){a instanceof _.UH?this.log(a):(a=_.VH(new _.UH,a.Gc()),this.log(a))};_.yqc=function(a,b){b?(a.V||(a.V=new _.iqc),b=b.Gc(),_.w(a.V,4,b)):a.V&&_.xb(a.V,4)};_.zqc=function(a){a.Lb=a.Ld};_.Aqc=function(a,b){a.ma=new _.SH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.WH.prototype.log=function(a){a=a.clone();var b=this.be++;_.w(a,21,b);this.Ja&&_.w(a,26,this.Ja);if(!_.B(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.xj(a,15)||_.w(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.I(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.wa;this.O.push(a);this.dispatchEvent(new Bqc(a));this.Ta||this.H.enabled||this.H.start()};
_.WH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.hb)Cqc(this);else{var d=Date.now();if(this.Oc>d&&this.ob<d)b&&b("throttled");else{var e=rqc(qqc(pqc(this.ka.clone()),this.O),this.wa);d={};var f=this.jc();f&&(d.Authorization=f);var h=xqc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Wi(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Wi(h,"pageId",this.$a));if(f&&this.Ec===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.wa=0,this.ha)a&&a();else{var k=e.Gc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.H9b(k));var p={url:h,body:k,Mlb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Ya());if(z){var A=null;try{var C=JSON.parse(z.replace(")]}'\n",""));A=new tqc(C)}catch(G){}A&&(z=Number(_.Wma(A,1,"-1")),0<z&&(c.ob=Date.now(),c.Oc=c.ob+z),A=_.Gb(A,vqc))&&(A=_.Oj(A,1,-1),-1!=A&&(c.Qb||_.Aqc(c,A)))}a&&a()},r=
function(z){var A=_.Ab(e,_.UH,3);_.TH(c.ma);c.H.setInterval(c.ma.Ya());401===z&&f&&(c.Ec=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Ta||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.yb?c.yb.send(p,q,r):c.xd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Mlb=2;v()},function(){v()}):v()}}}};_.WH.prototype.ta=function(){this.ha||(this.Lb&&Cqc(this),this.Fb&&Dqc(this),this.flush())};
var Cqc=function(a){Eqc(a,32,10,function(b,c){b=_.Wi(b,"format","json");b=_.If().navigator.sendBeacon(b,c.Gc());a.hb&&!b&&(a.hb=!1);return b})},Dqc=function(a){Eqc(a,6,5,function(b,c){b=_.Ui(b,"format","base64json","p",_.rj(c.Gc(),3));if(15360<b.length)return!1;_.Og(new Image,b);return!0})},Eqc=function(a,b,c,d){if(0!==a.O.length){var e=_.ama(xqc(a),"format");e=_.Ui(e,"auth",a.jc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=qqc(pqc(a.ka.clone()),h);0===f&&rqc(k,
a.wa);if(!d(e,k))break;a.O=a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.wa=0}},Bqc=function(){_.ni.call(this,"event-logged",void 0)};_.K(Bqc,_.ni);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jf");

var Fqc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],C=e[2],G=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=G^A&(C^G);var O=1518500249}else L=A^C^G,O=1859775393;else 60>z?(L=A&C|G&(A|C),O=2400959708):(L=A^C^G,O=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+O+v[z]&4294967295;H=G;G=C;C=(A<<30|A>>>2)&4294967295;A=r;r=L}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+C&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+H&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,C=r.length;A<C;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-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 A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}},Gqc=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));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Qe`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Re`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,
d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
var Iqc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Hqc(Gqc(d),a,c||null)].join(" "):null},Hqc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ka(d,function(k){e.push(k)}),Jqc(e.join(" "));var f=[],h=[];_.Ka(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.pa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=Jqc(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},Jqc=function(a){var b=
Fqc();b.update(a);return b.digestString().toLowerCase()};
var Kqc={};
var Lqc,Nqc;Lqc=function(a){return!!Kqc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Mqc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Lqc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.MNa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Lqc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Nqc=function(a,b,c,d){(a=_.n[a])||(a=(new _.MNa(document)).get(b));return a?Iqc(a,c,d):null};
_.Oqc=function(a,b){b=void 0===b?!1:b;var c=Gqc(String(_.n.location.href)),d=[];if(_.Mqc(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.n.__SAPISID:_.n.__APISID;e||(e=new _.MNa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Iqc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Lqc(b)&&((b=Nqc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Nqc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jn");

_.Pqc=function(a,b){this.ka=a;this.wa=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.fqc;this.H=""};
_.Pqc.prototype.build=function(){var a=new _.WH(this.ka,this.Ja?this.Ja:_.Oqc,this.wa,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.B(b,1)||_.w(b,1,1);_.I(a.ka,1,b)}if(this.O){b=this.O;var c=_.x(a.ka,_.lqc,1),d=_.x(c,_.jqc,11);d||(d=new _.jqc);_.w(d,7,b);_.I(c,11,d);_.B(c,1)||_.w(c,1,1);_.I(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ja=this.H);this.Ba&&_.yqc(a,this.Ba);this.Pa&&(b=this.Pa,a.V||(a.V=new _.iqc),_.Cj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Qb=!0,_.Aqc(a,b));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jo");

_.Qqc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.Rqc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.Rqc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.VH(new _.UH,a.Gc());b(a);return new _.Th(function(d){c(d,function(){d()})}.bind(this))};
_.Sqc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.zqc(this.O)};_.Sqc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.VH(new _.UH,a.Gc());b(a);c()};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j8");

var Tqc=function(a){_.J.call(this,a)};_.K(Tqc,_.J);Tqc.prototype.getEmail=function(){return _.D(this,3,"")};Tqc.prototype.hq=function(){return _.xj(this,3)};_.XH=function(a){return _.x(a,Tqc,36,1)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j4");

_.YH=function(a){_.J.call(this,a)};_.K(_.YH,_.J);_.YH.prototype.se=function(){return _.x(this,_.Kf,1)};_.ZH=function(a,b){return _.I(a,1,b)};_.YH.prototype.Lg=function(){return _.B(this,4)};_.YH.prototype.ZHa=function(a){return _.w(this,4,a)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jb");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jr");

_.$H=function(a,b){a.H=b;a.ka=0};_.aI=function(a,b){return _.w(a,b,_.tb([]))};_.Uqc=function(a){if(_.Jma)return _.n.atob(a);var b="";_.Lma(a,function(c){b+=String.fromCharCode(c)});return b};_.bI=function(a,b,c,d,e,f,h){_.WH.call(this,a,_.Oqc,b,_.fqc,c,d,e,void 0,f,h)};_.K(_.bI,_.WH);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jp");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Vqc,Yqc;Vqc=[3,42];_.Wqc=function(a){_.J.call(this,a,-1,Vqc)};_.K(_.Wqc,_.J);_.Wqc.prototype.getMimeType=function(){return _.B(this,27)};_.Xqc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};Yqc=function(a,b){if(b&&a in b)return a;var c=_.BFa();return c?(c=c.toLowerCase(),a=c+_.Jia(a),void 0===b||a in b?a:null):null};
var Zqc=function(a){_.ni.call(this,"visibilitychange");this.hidden=a};_.K(Zqc,_.ni);
_.$qc=function(a){_.xi.call(this);this.Wc=a||_.xc();if(this.Az=this.xsb())this.H=_.Ye(this.Wc.Vb(),this.Az,(0,_.M)(this.F$a,this))};_.gg(_.$qc,_.xi);_.g=_.$qc.prototype;_.g.xsb=_.Eda(function(){var a=this.uu(),b="hidden"!=this.Gza();if(a){var c;b?c=((_.BFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Gza=_.Eda(function(){return Yqc("hidden",this.Wc.Vb())});_.g.lub=_.Eda(function(){return Yqc("visibilityState",this.Wc.Vb())});_.g.uu=function(){return!!this.Gza()};
_.g.zB=function(){return!!this.Wc.Vb()[this.Gza()]};_.g.F$a=function(){var a=this.uu()?this.Wc.Vb()[this.lub()]:null;a=new Zqc(this.zB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.vi(this.H);_.$qc.wb.Xa.call(this)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jq");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.cI=function(a,b){a.V.remove(b);return a};_.arc=function(a,b,c){return _.P2a(a,b,c).At()};_.dI=function(){return"goog_"+_.Gia++};_.brc=function(a,b,c,d,e,f){var h=new _.dj(null,void 0);a&&_.ej(h,a);b&&_.rma(h,b);c&&_.fj(h,c);d&&_.gj(h,d);e&&h.zi(e);f&&_.hj(h,f);return h};_.eI=function(a){return new _.Th(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{a9:!0,value:p}:{a9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Wja(h,_.gb(e,f,!0),_.gb(e,f,!1));else b(d)})};
_.fI=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new _.yq(c,e,d-c,a-e)}return null};_.gI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.gI.prototype.clone=function(){return new _.gI(this.start,this.end)};_.hI=function(a){return a.end-a.start};_.iI=function(a,b,c){_.N.call(this);this.Rm=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};
_.K(_.iI,_.N);_.g=_.iI.prototype;_.g.le=function(a){this.W=arguments;this.H||this.V?this.O=!0:crc(this)};_.g.stop=function(){this.H&&(_.Ai(this.H),this.H=null,this.O=!1,this.W=null)};_.g.pause=function(){this.V++};_.g.resume=function(){this.V--;this.V||!this.O||this.H||(this.O=!1,crc(this))};_.g.Xa=function(){_.N.prototype.Xa.call(this);this.stop()};var crc=function(a){a.H=_.zi(function(){a.H=null;a.O&&!a.V&&(a.O=!1,crc(a))},a.ha);var b=a.W;a.W=null;a.Rm.apply(null,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jd");

var drc=function(a){_.J.call(this,a)},irc;_.K(drc,_.J);var erc=function(a){_.J.call(this,a)};_.K(erc,_.J);_.jI=function(a){_.J.call(this,a)};_.K(_.jI,_.J);_.jI.prototype.v4=function(a){_.w(this,3,a)};_.jI.prototype.Jl=function(a){return _.I(this,5,a)};_.jI.prototype.getMimeType=function(){return _.B(this,7)};var frc=[2],grc=function(a){_.J.call(this,a,-1,frc)};_.K(grc,_.J);var hrc=function(a){_.J.call(this,a)};_.K(hrc,_.J);irc=function(a){this.H=a};_.jrc=function(a){this.Jd=a};
_.jrc.prototype.getId=function(){return this.Jd};var krc=function(a){_.J.call(this,a)};_.K(krc,_.J);krc.prototype.Yi=function(){return _.B(this,1)};var lrc=function(a){_.J.call(this,a)};_.K(lrc,_.J);
var nrc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.XAa.length;a++){var b=_.XAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;mrc(this,b);break}}},mrc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.O=!0;a.H.onDisconnect.addListener(function(){a.O=!1});document.addEventListener("mousemove",function(c){a.V=c.clientX;a.W=c.clientY})};
nrc.prototype.sA=function(a){if(this.ha&&this.O){var b=_.x(a,_.dc,2)||new _.dc,c=_.x(a,_.Io,5)||new _.Io,d=_.x(a,_.jI,3)||new _.jI;a=_.Ab(a,_.eza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Gc(),session_info:b.Gc(),session_invariants:c.Gc(),client_info:d.Gc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};
var orc=function(){_.Bo.call(this)};_.K(orc,_.Bo);orc.prototype.zv=function(){return 1==_.B(_.x(this.H,drc,7),1)};var prc=new _.xo("high_frequency_builder");
var qrc=function(a,b,c){a=new _.yi(a);c.La(a);var d=new _.jf(c);c.La(d);d.listen(a,"tick",b);a.start()};
var rrc=function(){_.Bo.call(this)};_.K(rrc,_.Bo);var src=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.oo;var e=new _.zya;e=_.w(e,1,d);_.I(b,1,e);_.w(b,3,1);_.I(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 _.oo,e=new _.Aya,d=_.w(e,1,d),_.I(b,2,d),_.w(b,3,2),_.I(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},trc=new _.xo("system_builder");
var urc=function(a,b){_.N.call(this);this.O=a;this.H=new _.$qc(b);this.La(this.H);this.Ab=new _.jf(this);this.La(this.Ab);this.H.uu()&&this.Ab.listen(this.H,"visibilitychange",this.V)};_.K(urc,_.N);urc.prototype.V=function(){if(this.O.pP()){var a=this.H.zB()?102001:102E3;a=this.O.LF(a,0);this.O.Lp(a)}};
var vrc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.La(this.O);this.W=c;this.V=null};_.K(vrc,_.N);_.g=vrc.prototype;_.g.Lp=function(a){var b=this.H;_.w(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.Zb()&&b.O.le();return new irc(a)};_.g.LF=function(a,b){a=src(wrc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.CL=function(){return this.H.O};
_.g.iw=function(a){var b=this.H,c=_.Co(a,trc),d=b.ha++,e=_.x(_.x(c.H,_.oo,8),_.Aya,2),f=1E3*Date.now();_.w(e,2,f);_.w(c.H,13,d);b.ka.remove(_.B(a.H,12))};_.g.IZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=xrc(a.H,691).build();b=yrc(a.H,[b]);a.ka.sA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.JZ=function(){var a=this.H,b=xrc(a,716);zrc(a,b);b=b.build();a.H.add(b);a.wa=!0;a.ma=!0;this.O.initialize();this.O.O.le();this.W&&(this.V=new urc(this))};_.g.kja=function(){this.O.W();return _.eI(Array.from(this.O.V)).then()};
_.g.pP=function(){var a=this.H;return a.wa&&a.ma&&!0};
var Arc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.iI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.K(Arc,_.N);Arc.prototype.initialize=function(){qrc(this.ma,this.O.le,this.O);qrc(36E5,this.wa,this)};Arc.prototype.W=function(){var a=this;if(0!=this.H.H.Zb()&&(!this.ha||this.H.V)){var b=Brc(this.H),c=this.ta.sA(b);c&&(_.Zh(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
Arc.prototype.wa=function(){var a=this.H,b=xrc(a,1153).build();a.H.add(b);this.O.le()};
var Crc=function(a){_.N.call(this);this.H=a;this.La(this.H)};_.K(Crc,_.N);_.g=Crc.prototype;_.g.Lp=function(a){a=this.H.Lp(a);this.kja();return a};_.g.LF=function(a,b){return this.H.LF(a,b)};_.g.CL=function(){return this.H.CL()};_.g.iw=function(a){return this.H.iw(a)};_.g.IZ=function(){return this.H.IZ()};_.g.JZ=function(){return this.H.JZ()};_.g.kja=function(){return this.H.kja()};_.g.pP=function(){return this.H.pP()};
var Drc=function(){};Drc.prototype.KQ=function(){return new orc};
var Erc=function(){this.H=[]};Erc.prototype.add=function(a){this.H.push(a)};Erc.prototype.Zb=function(){return this.H.length};
var Frc=function(){this.H={}};Frc.prototype.add=function(a){this.H[_.B(a.H,12)]=a};Frc.prototype.remove=function(a){delete this.H[a]};
var Grc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new Frc;this.H=new Erc;this.ma=this.wa=this.V=!1},wrc=function(a,b){a=_.Co((new _.Bo).initialize(new _.eza,a.Ba),trc);_.w(a.H,10,b);return a},Brc=function(a){var b=a.H,c=b.H;b.H=[];return yrc(a,c)},yrc=function(a,b){var c=new _.lAa;var d=a.O.W.clone();c=_.I(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.I(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.x(b[h],_.vo,5);if(k&&_.x(k,_.Wqc,1)){k=_.x(k,_.Wqc,1);_.xj(k,
12)&&void 0===e&&(e=_.P(k,12));k=_.x(k,erc,20);if(void 0!==k&&void 0===f){f=new lrc;var l=_.P(k,2);void 0!==l&&_.w(f,2,l);k=_.P(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.jI),void 0!==e&&_.w(d,6,e),void 0!==f&&_.I(d,13,f);(e=d)&&_.I(c,3,e);a=a.O.ha.clone();_.I(c,4,a);_.Ej(c,1,b);return c},xrc=function(a,b){var c=src(wrc(a,b),0,a.ha++);var d=a.ka;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],p=new hrc;k=_.w(p,1,k);l=_.w(k,2,_.B(l.H,10));f.push(l)}d=f}716!=b&&(b=a.ta,_.w(c.H,6,a.W),e=new grc,b=_.w(e,1,b),d&&_.Ej(b,2,d),d=_.Do(c),_.I(d,3,b));zrc(a,c);return c},zrc=function(a,b){a.W=_.B(b.H,12);a.ta=_.B(_.x(_.x(b.H,_.oo,8),_.zya,1),1)};
var Hrc=function(){};Hrc.prototype.KQ=function(){return new rrc};
var Irc=function(){this.H=this.O=null};Irc.prototype.build=function(){null==this.H&&(this.H=new _.Iza);_.Fo(this.H,trc,new Hrc);_.Fo(this.H,prc,new Drc);var a=this.H;var b=this.O;if(!_.xj(_.Jrc(b),1)){var c=_.Jrc(b),d=new _.Yza;_.I(c,1,d)}b=_.x(_.Jrc(b),_.Yza,1);a.H=b;b=_.Va(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new Grc(this.O,this.H)};
var Krc=function(){this.W=new _.dc;this.O=null;this.ha=new krc;_.w(this.ha,1,6);this.H=this.V=null};Krc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Lrc=function(a,b){_.w(a.W,2,b);return a};_.Mrc=function(a,b){if(null==a.V){a.V=new _.jAa;var c=_.Jrc(a);_.I(c,2,a.V)}_.w(a.V,1,b)};_.Jrc=function(a){null==a.O&&(a.O=new _.Io);return a.O};_.Nrc=function(a){null==a.H&&(a.H=new _.jI);return a.H};
_.Orc=function(){this.H=this.ha=null;this.W=new Krc;this.V=null;this.ka=this.ma=!1;this.O=null};_.Prc=function(a,b){a.ha=b;return a};_.Qrc=function(a,b){a.H=b;return a};_.Rrc=function(a,b){a.V=b;return a};_.Orc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Src=function(a,b){_.w(a.W.W,6,b);return a};
_.Orc.prototype.build=function(){var a=new Irc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new nrc;this.H=this.ha=b}b=new Arc(a,this.ha,this.H,this.ma,this.O);a=new vrc(a,b,!1);this.ka&&(a=new Crc(a));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iv");

_.kI=function(a){return a instanceof Error};_.lI=function(a){return _.Q(a,84,!1)};
_.Trc=function(a){_.J.call(this,a)};_.K(_.Trc,_.J);
_.mI=function(a){_.J.call(this,a)};_.K(_.mI,_.J);_.mI.prototype.getOptions=function(){return _.x(this,_.Trc,1)};_.mI.prototype.Vn=function(){return _.B(this,2)};_.mI.prototype.ld=function(){return _.x(this,_.yf,3)};
_.Urc=function(a){_.J.call(this,a)};_.K(_.Urc,_.J);_.nI=[3,4,5,6,7,8,9,10];
_.Vrc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
var oI,Xrc;oI={};_.Wrc=(oI[1]="modifiedDate",oI[2]="modifiedByMeDate",oI[3]="quotaBytesUsed",oI[4]="title",oI[6]="lastViewedByMeDate",oI[10]="createdDate",oI[7]="sharedWithMeDate",oI[9]="starred",oI[11]="recency",oI[5]="relevance",oI[12]="trashedDate",oI[13]="lastViewedByMeDate",oI);Xrc={};_.Yrc=(Xrc[1]="asc",Xrc[2]="desc",Xrc);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Zrc=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():_.eg();this.date=new Date(a)};_.gg(_.Zrc,_.yt);_.g=_.Zrc.prototype;_.g.clone=function(){var a=new _.Zrc(this.date);a.uG=this.uG;a.kV=this.kV;return a};_.g.add=function(a){(a.W||a.V)&&_.xt.prototype.add.call(this,new _.wt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.ew))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.yt.prototype.getUTCFullYear;
_.g.getMonth=_.yt.prototype.getUTCMonth;_.g.getDate=_.yt.prototype.getUTCDate;_.g.getHours=_.yt.prototype.getUTCHours;_.g.getMinutes=_.yt.prototype.getUTCMinutes;_.g.getSeconds=_.yt.prototype.A9a;_.g.getMilliseconds=_.yt.prototype.z9a;_.g.getDay=_.yt.prototype.getUTCDay;_.g.setFullYear=_.yt.prototype.setUTCFullYear;_.g.setMonth=_.yt.prototype.setUTCMonth;_.g.setDate=_.yt.prototype.setUTCDate;_.g.setHours=_.yt.prototype.RLa;_.g.setMinutes=_.yt.prototype.SLa;_.g.setSeconds=_.yt.prototype.TLa;
_.g.setMilliseconds=_.yt.prototype.B9a;
var $rc,bsc;$rc={};_.asc=($rc[1]="0",$rc[2]="1",$rc[3]="2",$rc);bsc={};_.csc=(bsc[1]="asc",bsc[2]="desc",bsc);
_.dsc=new _.xo("drive_dataservice_builder");
_.esc=_.hh&&0>_.hb(_.kh,"533");
_.fsc=new _.jrc("drive_dataservice_invariants");
_.gsc=new Map([[[1],1],[[6],7],[[2],2]]);_.hsc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.isc=new Map([[12,function(a){return _.P(a,69)}],[24,function(a){return _.Q(a,3,!1)}],[9,function(a){return _.Q(a,17,!1)}],[21,function(a){return _.lI(a)}],[13,function(a){return _.P(a,60)}],[2,function(a){return _.Q(a,8,!0)}],[6,function(a){return _.Q(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.Q(a,56,!1)}],[17,function(a){return _.Q(a,57,!1)}],[18,function(a){return _.Q(a,54,!1)}],[19,function(a){return _.Q(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.jsc=new Map([[36,function(a){return _.Q(a,11,!1)}],[34,function(a){return _.Q(a,9,!1)}],[25,function(a){return _.Q(a,1,!1)}],[33,function(a){return _.Q(a,8,!1)}],[26,function(a){return _.Q(a,2,!1)}],[29,function(a){return _.Q(a,4,!1)}],[32,function(a){return _.Q(a,7,!1)}],[40,function(a){return _.Q(a,15,!1)}],[43,function(a){return _.Q(a,18,!1)}],[42,function(a){return _.Q(a,17,!1)}],[44,function(a){return _.Q(a,19,!1)}],[45,function(a){return _.Q(a,20,!1)}],[30,function(a){return _.Q(a,5,!1)}],
[31,function(a){return _.Q(a,6,!1)}],[35,function(a){return _.Q(a,10,!1)}],[38,function(a){return _.Q(a,13,!1)}],[39,function(a){return _.Q(a,14,!1)}],[41,function(a){return _.Q(a,16,!1)}],[46,function(a){return _.Q(a,21,!1)}]]);_.ksc=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]);
_.lsc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252],[[253],253],[[254],254],[[255],255],[[256],256]]);_.msc=new Map([[[2],3],[[1],2],[[0],1]]);_.nsc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.osc=new Map([[[_.Fpc],1],[[_.Gpc],2],[[_.Hpc],3],[[_.Ipc],4],[[_.Jpc],5],[[_.Kpc],6],[[_.Lpc],7],[[_.Mpc],8],[[_.Npc],10],[[_.Opc],11],[[_.Ppc],12],[[_.Qpc],13]]);_.psc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j0");

_.qI=function(a){_.J.call(this,a,-1,qsc)};_.K(_.qI,_.J);_.qI.prototype.qc=function(){return _.B(this,2)};_.rI=function(a,b){return _.w(a,2,b)};_.g=_.qI.prototype;_.g.Wk=function(){return _.Q(this,3,!1)};_.g.getItem=function(){return _.x(this,_.Fk,4)};_.g.setItem=function(a){return _.I(this,4,a)};_.g.wc=function(){return _.B(this,7)};_.g.cka=function(){return _.B(this,13)};_.g.cIa=function(a){_.w(this,13,a)};var qsc=[8,17];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jc");

var rsc;rsc="Y Z E P T G M K  m u n".split(" ");_.ssc=function(a,b){var c=a;a=c;var d="",e=1;0>c&&(c=-c);if(Infinity===c)b=(Infinity*Math.sign(a)).toString();else{for(var f=0;f<rsc.length;f++){var h=rsc[f];e=_.vva[h];if(c>=e||1>=e&&c>.1*e){d=h;break}}d||(e=1);b=Math.pow(10,void 0!==b?b:2);b=Math.round(a/e*b)/b+""+d}return b};_.tsc=function(a){return _.$d().get(a,16,void 0)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iz");

var wsc;_.uI=function(a){if(a instanceof _.Lc)return a;if(_.kI(a)){if(a=_.Tca(a))return a}else a="string"===typeof a?_.yEa(a):_.yEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.sI(a,2);_.tI(a,6);return a};_.usc=function(a){var b=a.hk();a=a.JF();return 15===b||32===b||33===b||401===a};_.vsc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.vI=function(a){return _.Oj(a,1,0)};
_.sI=function(a,b){return _.w(a,1,b)};_.tI=function(a,b){return _.w(a,2,b)};wsc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.wI=function(a){_.J.call(this,a,-1,wsc)};_.K(_.wI,_.J);_.g=_.wI.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.qf=function(){return _.B(this,3)};_.g.Vl=function(a){return _.w(this,3,a)};_.g.Lv=function(a){return _.w(this,4,a)};
_.g.Qh=function(){return _.P(this,5)};_.g.Kn=function(a){return _.w(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.tE=function(a,b){_.Gj(this,8,a,b)};_.g.Pi=function(){return _.B(this,12)};_.g.se=function(){return _.x(this,_.Kf,17)};_.g.Yi=function(){return _.B(this,20)};_.g.wc=function(){return _.B(this,21)};_.xI=function(a,b){return _.w(a,16,b)};
_.yI=function(a){_.J.call(this,a,-1,xsc)};_.K(_.yI,_.J);_.yI.prototype.RQ=function(){return _.Oj(this,2,100)};_.yI.prototype.EO=function(a){return _.w(this,2,a)};_.yI.prototype.se=function(){return _.x(this,_.Kf,6)};_.yI.prototype.wc=function(){return _.B(this,8)};var xsc=[5];
_.ysc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
var zsc;zsc={};_.Asc=(zsc[0]="/drive/v2internal",zsc[1]="/drive/v2internal.corp",zsc[2]="/drive/v2internal.scary",zsc[4]="/drive/v2internal.scary",zsc[5]="/drive/v2beta",zsc[6]="/drive/v2.1beta",zsc);
_.Bsc=new Set([0,1,2,3]);
_.Csc=_.w(new _.wI,15,!0);_.Dsc=_.xI(new _.wI,!0);_.Esc=_.xI(new _.wI,!1);
_.Fsc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (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."]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j9");

_.Gsc=new Set([7,4,5,9,6,10,11,12]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1js");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Hsc=function(a){for(var b in a)delete a[b]};_.Isc=function(a){a=_.lb(a);return 0===a.length?_.$ha:new _.Bg(a,_.Yha)};_.Jsc=function(a,b){a=_.Li(a);b=_.Li(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.Ksc=function(a,b,c){this.blockSize=-1;this.H=a;this.blockSize=c||a.blockSize||16;this.V=Array(this.blockSize);this.O=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.H.update(a),a=this.H.digest(),this.H.reset());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.V[c]=b^92,this.O[c]=b^54;this.H.update(this.O)};_.gg(_.Ksc,_.ypc);_.Ksc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.Ksc.prototype.update=function(a,b){this.H.update(a,b)};
_.Ksc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.Lsc=function(a,b){a.reset();a.update(b);return a.digest()};
_.Msc=function(){this.blockSize=-1;this.blockSize=64;this.H=[];this.ha=[];this.ka=[];this.W=[];this.W[0]=128;for(var a=1;a<this.blockSize;++a)this.W[a]=0;this.V=this.O=0;this.reset()};_.gg(_.Msc,_.ypc);_.Msc.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.H[4]=3285377520;this.V=this.O=0};
var Nsc=function(a,b,c){c||(c=0);var d=a.ka;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.H[0];c=a.H[1];var h=a.H[2],k=a.H[3],l=a.H[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var p=1518500249}else f=c^h^k,p=1859775393;else 60>e?(f=c&h|k&(c|h),p=2400959708):
(f=c^h^k,p=3395469782);f=(b<<5|b>>>27)+f+l+p+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+c&4294967295;a.H[2]=a.H[2]+h&4294967295;a.H[3]=a.H[3]+k&4294967295;a.H[4]=a.H[4]+l&4294967295};
_.Msc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.ha,f=this.O;d<b;){if(0==f)for(;d<=c;)Nsc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){Nsc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){Nsc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.Msc.prototype.digest=function(){var a=[],b=8*this.V;56>this.O?this.update(this.W,56-this.O):this.update(this.W,this.blockSize-(this.O-56));for(var c=this.blockSize-1;56<=c;c--)this.ha[c]=b&255,b/=256;Nsc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iw");

_.zI=function(a,b){return _.w(a,82,b)};_.AI=function(a){return _.w(a,3,!0)};_.Osc=function(a,b){return _.w(a,7,b)};
_.Psc=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.BI={m_:"Versions",R6:"Metadata",G5:"Data",nU:"Offline"};_.Qsc=new Map([[_.BI.m_,"versionKey"],[_.BI.R6,"k"]]);_.Rsc=new Set([1004]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ju");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ssc=function(a,b,c){c&&(a=_.Wg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Ug(a));return a};_.Tsc=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};
_.Usc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ja");

_.Vsc=function(a){_.J.call(this,a)};_.K(_.Vsc,_.J);_.g=_.Vsc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.bt=function(){return _.xj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.xj(this,2)};
_.CI=function(a){_.J.call(this,a,-1,Wsc)};_.K(_.CI,_.J);_.CI.prototype.Mz=function(){return _.B(this,1)};_.CI.prototype.getUrl=function(){return _.B(this,3)};var Wsc=[2,4,6];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jv");

var $sc,atc,ctc;_.Xsc=function(a){var b={};_.Qa(a,function(c,d){b[d.toLowerCase()]=c});return b};_.Ysc=function(a){return(a=a&&_.Xsc(a))&&a["x-guploader-uploadid"]};_.Zsc=function(a){return(a=a&&_.Xsc(a))&&a["x-google-trace"]};$sc=[6];_.DI=function(a){_.J.call(this,a,-1,$sc)};_.K(_.DI,_.J);_.EI=function(a,b){return _.w(a,14,b)};
_.btc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200===a||204===a||308===a||206===a)return null;e=atc(e)||new _.Lc;_.w(e,8,!0);k&&(k=_.hj(new _.dj(k),void 0).toString(),_.w(e,19,k));e.JF()||_.w(e,15,a||f);e.getMessage()||_.cq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.B(e,4)||_.dq(e,d);e.hk()||(5===f?_.EI(e,7):0!==a||d?403===a?_.EI(e,22):503===a||429===a?_.EI(e,24):(_.xb(e,14),_.w(e,10,1),_.w(e,8,!0)):l||_.EI(e,2));e.Gca(_.Ysc(c));
e.xca(_.Zsc(c));return e};atc=function(a){if(!_.Da(a))return null;var b=new _.Lc,c=a.error;if(!c)return _.dq(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.cq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=ctc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.dq(b,a);return b};
ctc={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,expiredMoveValidationToken:66,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,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j1");

var dtc,etc,itc,mtc,ntc,otc,Gtc,BJ,Htc,Itc,Ptc,ktc,buc,jtc,zuc,Buc,Duc,Fuc,avc,bvc,fvc,gvc,ivc,jvc,lvc,ZJ,aK,ovc,qvc,tvc,uvc,vvc,wvc,xvc,yvc,Bvc,Dvc,Evc,Wvc,$vc,bwc,cwc,dwc,iwc,lwc,Qtc,twc,uwc,pwc,vwc,qwc,xwc,ywc,Ewc,Dwc,Cwc,Awc,Bwc,ztc,Atc,Jtc,Fwc,Ktc,Ltc,Mtc,Ntc,Otc,Gwc,Iwc;_.FI=function(a,b,c){var d=new _.Lc,e=_.wka(_.FI);_.w(d,20,e);_.tI(d,a);_.sI(d,b?b:2);c&&_.EI(d,c);return d};
_.GI=function(a){var b;a instanceof _.Lc?b=new _.Nc(null,a):_.kI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("qb`"+a);b.stack||(b.stack=_.wka(_.GI));return b};_.HI=function(a){throw _.Rc(a);};dtc=function(a){return 7===a.hk()||24===a.zp()&&(a=a.JF(),503===a||429===a)?!0:!1};etc=function(a,b){return b?b+"("+a+")":a};
_.II=function(a,b,c){var d={},e=[];b&&e.push("kind");a.wBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.ftc.includes(p)){var q=_.Adb.get(p);if(q){var r=_.Ddb[p];a.JE&&r&&(q=r);a.yq&&(a.JE?(p=_.Cdb[p])&&(q=p):(p=_.Bdb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.Kia(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={y5:f.y5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.y5=[];l.forEach(function(p){return function(q){p.y5.push(q)}}(f));"owners"==k&&b&&f.y5.push("kind");e.push(etc(f.y5.join(","),k))}return etc(e.join(","),c)};_.gtc=function(a){var b=new _.Eo;b.append(_.II(a,!0));return b.toString()};_.htc=function(a,b){return a.filter(function(c){return b.includes(c)})};itc=function(a){a=a.filter(function(b){return!_.Adb.has(b)});if(a.length)throw Error("Sc`"+a.join(", "));};
_.ltc=function(a){if(a){var b=a.getMimeType();b&&_.ZF(a,b.toLowerCase());jtc(a,_.Ab(a,ktc,58).map(function(c){var d=c.getMimeType();d&&_.w(c,1,d.toLowerCase());return c}))}};mtc=function(a,b){b&&(_.kj(a,"openDrive",!!_.Q(b,2,!1)),_.kj(a,"reason",_.B(b,1)||0),_.kj(a,"syncType",_.B(b,3)||0),_.kj(a,"errorRecovery",!!_.Q(b,4,!1)))};ntc=function(a){if(_.Za(a))return"\r\n";var b="";_.Qa(a,function(c,d){b+=d+": "+c+"\r\n"});return b};
otc=function(a){a=_.cq(_.EI(_.sI(new _.Lc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.Rc(a);};
Gtc=function(a){if(a instanceof _.JI)return"request access";if(a instanceof _.KI)return"admin migrate to TD";if(a instanceof _.LI)return"authorize app";if(a instanceof _.MI)return"copy item";if(a instanceof _.NI)return"change category links";if(a instanceof _.OI)return"create item";if(a instanceof _.PI)return"create ws";if("undefined"!=typeof _.QI&&a instanceof _.QI)return"delete app";if("undefined"!=typeof _.RI&&a instanceof _.RI)return"delete backup";if(a instanceof _.SI)return"delete item";if("undefined"!=
typeof _.TI&&a instanceof _.TI)return"delete permission";if(a instanceof _.UI)return"delete revision";if(a instanceof _.VI)return"delete TD";if(a instanceof _.eD)return"delete pref";if(a instanceof _.WI)return"delete ws";if(a instanceof _.XI)return"download item";if(a instanceof _.YI||a instanceof _.ZI)return"empty trash";if(a instanceof _.$I)return"find by ID";if(a instanceof _.SF)return"find by IDs";if(a instanceof _.ptc)return"item export start";if("undefined"!=typeof _.aJ&&a instanceof _.aJ)return"get app";
if("undefined"!=typeof _.bJ&&a instanceof _.bJ)return"insert app";if("undefined"!=typeof _.fJ&&a instanceof _.fJ)return"insert permission";if(a instanceof _.mI)return a=a.ld(),_.gJ(a)?"quick access item query":_.hJ(a)?"people predict item query":_.iJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.jJ&&a instanceof _.jJ)return"list android backup items request";if(a instanceof _.kJ){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 _.qtc&&a instanceof _.qtc?"list backups":a instanceof _.yI?"list changes":a instanceof _.lJ?"list permissions":"undefined"!=typeof _.mJ&&a instanceof _.mJ?"list revisions":a instanceof _.nJ?"migrate to shared drive":a instanceof _.oJ?"partial download item":a instanceof _.pJ?"people api":a instanceof _.RF?"get published category":"undefined"!=typeof _.qJ&&a instanceof _.qJ?"get remaining changes":
a instanceof _.rJ?"remove item":"undefined"!=typeof _.sJ&&a instanceof _.sJ?"reparent item":a instanceof _.tJ?"restore item":a instanceof _.WF?"list suggested workspace items":a instanceof _.Oz?"list suggested workspaces":"undefined"!=typeof _.uJ&&a instanceof _.uJ?"update app":a instanceof _.vJ?"update category metadata":a instanceof _.wI?"update item":a instanceof _.wJ?"update revision":a instanceof _.xJ?"update TD":a instanceof _.fD?"update pref":a instanceof _.yJ?"update ws":a instanceof _.YH?
"get account":a instanceof _.YF?"get workspace":a instanceof _.rtc?"list activity":a instanceof _.stc?"list category metadata":a instanceof _.ttc?"create TD":"undefined"!=typeof _.utc&&a instanceof _.utc?"item export cancel":"undefined"!=typeof _.vtc&&a instanceof _.vtc?"item export status":"undefined"!=typeof _.wtc&&a instanceof _.wtc?"generate cse token":"undefined"!=typeof _.xtc&&a instanceof _.xtc?"get largest change ID":a instanceof _.dD?"list prefs":a instanceof _.zJ?"multipart upload":a instanceof
_.ytc?"list published categories":a instanceof ztc?"init resumable upload":a instanceof Atc?"resumable upload chunk":a instanceof _.Btc?"resumable upload":a instanceof _.XF?"get TD":"undefined"!=typeof _.Ctc&&a instanceof _.Ctc?"move TD preflight":a instanceof _.AJ?"list TDs":"undefined"!=typeof _.Dtc&&a instanceof _.Dtc?"get TD stats":a instanceof _.Etc?"test connection":"undefined"!=typeof _.Ftc&&a instanceof _.Ftc?"list workspaces":"unknown"};
BJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};Htc=function(a){if(a instanceof _.OI||a instanceof _.zJ||a instanceof _.Btc||a instanceof ztc||a instanceof Atc)return(new _.CJ).Ac(8);throw Error("ef");};Itc=function(a){if(a instanceof _.wI){var b=_.Dj(_.xb(a.clone(),1),17);b=_.Nj(b,_.Csc)}else b=!1;b||(a instanceof _.wI?(a=_.Dj(_.xb(a.clone(),1),17),b=_.Nj(a,_.Dsc)||_.Nj(a,_.Esc)):b=!1);return b?!1:!0};
_.DJ=function(a){return Jtc.includes(a.constructor)?Itc(a):!1};Ptc=function(a,b){if(Ktc.includes(a.constructor))return!0;if(b){if(_.Q(b,54,!1)&&Ltc.includes(a.constructor))return!0;var c=_.EJ(b);if(c&&!_.Q(c,7,!1)&&Mtc.includes(a.constructor)&&!_.FJ(a)||_.Q(b,56,!1)&&_.FJ(a)||_.Q(b,57,!1)&&Ntc.includes(a.constructor)||!(!_.Q(b,53,!1)||Ltc.includes(a.constructor)||Mtc.includes(a.constructor)||_.FJ(a)||Ntc.includes(a.constructor)||Otc.includes(a.constructor)))return!0}return!1};
_.GJ=function(a,b,c,d,e){if(_.Q(a,89,!1)){if(c&&c.length&&d){c=b.concat(Qtc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.zl(d)&&otc(h):(a.set(h,_.zl(d)),b.push(d))}f=b}else f=b;f.length&&(f=_.Yz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.Rtc=function(a){var b=new _.sk;return _.w(b,1,a)};_.Stc=function(a,b){return _.w(a,7,b)};_.Ttc=function(a,b){return _.w(a,8,b)};
_.Utc=function(a,b){return _.w(a,11,b)};_.Vtc=function(a,b){return _.w(a,16,b)};_.HJ=function(a){_.J.call(this,a)};_.K(_.HJ,_.J);_.Wtc=function(a){_.J.call(this,a)};_.K(_.Wtc,_.J);_.Xtc=function(a,b){return _.w(a,1,b)};ktc=function(a){_.J.call(this,a)};_.K(ktc,_.J);ktc.prototype.getMimeType=function(){return _.B(this,1)};ktc.prototype.getUrl=function(){return _.B(this,2)};_.IJ=function(a){_.J.call(this,a)};_.K(_.IJ,_.J);_.IJ.prototype.De=function(){return _.B(this,2)};
_.IJ.prototype.qh=function(a){return _.w(this,2,a)};_.IJ.prototype.oh=function(a){return _.w(this,3,a)};_.Ytc=function(a){_.J.call(this,a)};_.K(_.Ytc,_.J);_.Ztc=function(a,b){return _.w(a,1,b)};_.$tc=function(a,b){return _.Ej(a,2,b)};_.auc=function(a,b){return _.Ej(a,3,b)};buc=[2];_.JJ=function(a){_.J.call(this,a,-1,buc)};_.K(_.JJ,_.J);_.JJ.prototype.qf=function(){return _.B(this,1)};_.JJ.prototype.Vl=function(a){return _.w(this,1,a)};_.JJ.prototype.Sua=function(a,b){return _.Gj(this,2,a,b)};
_.KJ=function(a){_.J.call(this,a)};_.K(_.KJ,_.J);_.KJ.prototype.De=function(){return _.B(this,1)};_.KJ.prototype.qh=function(a){return _.w(this,1,a)};_.KJ.prototype.oh=function(a){return _.w(this,2,a)};_.LJ=function(a,b){return _.Cj(a,2,b)};_.cuc=function(a,b){return _.Ej(a,15,b)};_.duc=function(a,b){return _.I(a,17,b)};_.euc=function(a,b){return _.w(a,19,b)};_.fuc=function(a,b){_.w(a,34,b)};_.guc=function(a,b){_.I(a,47,b)};_.huc=function(a,b){return _.w(a,52,b)};jtc=function(a,b){_.Ej(a,58,b)};
_.iuc=function(a,b){return _.w(a,72,b)};_.MJ=function(a,b){return _.I(a,84,b)};_.juc=function(a,b){_.I(a,85,b)};_.kuc=function(a,b){_.I(a,91,b)};_.luc=function(a,b){return _.w(a,92,b)};_.muc=function(a,b){return _.w(a,93,b)};_.nuc=function(a,b){_.I(a,95,b)};_.ouc=function(a,b){return _.w(a,136,b)};_.puc=function(a){_.J.call(this,a)};_.K(_.puc,_.J);_.NJ=function(a){return _.Q(a,2,!1)};_.quc=function(a){_.J.call(this,a)};_.K(_.quc,_.J);var ruc=[3],suc=function(a){_.J.call(this,a,-1,ruc)};_.K(suc,_.J);
suc.prototype.wi=function(){var a=_.ie(this,3,!1);this.ka||(this.ka={});if(!this.ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.ka[3]=!0}_.rb(this)&&_.sb(a);return a};var tuc=[3],uuc=function(a){_.J.call(this,a,-1,tuc)};_.K(uuc,_.J);uuc.prototype.wi=function(){return _.ie(this,3)};var vuc=[3],wuc=function(a){_.J.call(this,a,-1,vuc)};_.K(wuc,_.J);wuc.prototype.wi=function(){return _.ie(this,3)};_.OJ=function(a){_.J.call(this,a)};_.K(_.OJ,_.J);_.OJ.prototype.Ya=function(){return _.B(this,1)};
_.OJ.prototype.Hb=function(a){return _.w(this,1,a)};_.OJ.prototype.Ci=function(){return _.xb(this,1)};_.OJ.prototype.Sg=function(){return _.xj(this,1)};_.PJ=function(a){return _.Aj(a,45,1)};_.gJ=function(a){return _.Q(a,47,!1)};_.hJ=function(a){return _.Q(a,49,!1)};_.iJ=function(a){return _.Q(a,52,!1)};_.QJ=function(a){return _.D(a,2,"")};_.EJ=function(a){return _.x(a,_.quc,4)};_.xuc=function(a,b){return _.Cj(a,27,b)};_.RJ=function(a){return _.Aj(a,39,0)};_.SJ=function(a){return _.Q(a,40,!1)};
_.yuc=function(a){return _.xt.prototype.PO.call(a,!0)+"T"+_.$g(a.getHours(),2)+":"+_.$g(a.getMinutes(),2)+":"+_.$g(a.getSeconds(),2)+a.k$()};zuc=function(a,b){return _.Vpc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.Auc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.RH(c,"deleting object store "+b);}};Buc=function(){var a=new _.Orc;a.O=12E4;a.ma=!0;return a};_.Cuc=function(a){_.J.call(this,a)};_.K(_.Cuc,_.J);Duc=[3,4,10,18,19,28];
_.OI=function(a){_.J.call(this,a,-1,Duc)};_.K(_.OI,_.J);_.g=_.OI.prototype;_.g.getMimeType=function(){return _.B(this,1)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.tE=function(a,b){_.Gj(this,3,a,b)};_.g.se=function(){return _.x(this,_.Kf,7)};_.g.ij=function(){return _.B(this,9)};_.g.wc=function(){return _.B(this,14)};_.g.Gz=function(){return _.x(this,_.Cuc,15)};_.g.G1=function(){return _.B(this,21)};_.g.qc=function(){return _.B(this,23)};
_.g.Xi=function(){return _.B(this,33)};_.TJ=function(a,b){return _.w(a,1,b)};_.UJ=function(a,b){return _.Cj(a,3,b)};_.Euc=function(a,b){return _.w(a,12,b)};_.SI=function(a){_.J.call(this,a)};_.K(_.SI,_.J);_.SI.prototype.getId=function(){return _.B(this,1)};_.SI.prototype.Nb=function(a){return _.w(this,1,a)};_.SI.prototype.se=function(){return _.x(this,_.Kf,3)};_.VI=function(a){_.J.call(this,a)};_.K(_.VI,_.J);_.VI.prototype.getId=function(){return _.B(this,1)};
_.VI.prototype.Nb=function(a){return _.w(this,1,a)};_.VI.prototype.se=function(){return _.x(this,_.Kf,2)};Fuc=[7,8];_.xJ=function(a){_.J.call(this,a,-1,Fuc)};_.K(_.xJ,_.J);_.g=_.xJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,4)};_.AJ=function(a){_.J.call(this,a)};_.K(_.AJ,_.J);
_.AJ.prototype.getOptions=function(){return _.x(this,_.Trc,1)};_.AJ.prototype.Vn=function(){return _.B(this,2)};_.AJ.prototype.ld=function(){return _.x(this,_.LH,3)};var Guc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}},Huc=null,Iuc=function(){this.O=0;this.H=[]};_.g=Iuc.prototype;_.g.add=function(a){var b=this.H[this.O];this.H[this.O]=a;this.O=(this.O+1)%40;return b};_.g.get=function(a){a=Juc(this,a);return this.H[a]};_.g.set=function(a,b){a=Juc(this,a);this.H[a]=b};_.g.Zb=function(){return this.H.length};
_.g.lc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.jh=function(){var a=this.Zb(),b=this.Zb(),c=[];for(a=this.Zb()-a;a<b;a++)c.push(this.get(a));return c};_.g.xf=function(){for(var a=[],b=this.Zb(),c=0;c<b;c++)a[c]=c;return a};_.g.af=function(a){return a<this.Zb()};_.g.Aq=function(a){for(var b=this.Zb(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};
var Juc=function(a,b){if(b>=a.H.length)throw Error("ga");return 40>a.H.length?b:(a.O+Number(b))%40},Kuc=function(a){_.J.call(this,a)};_.K(Kuc,_.J);_.Luc=function(a){_.J.call(this,a)};_.K(_.Luc,_.J);_.Luc.prototype.Qe=function(){return _.B(this,1)};_.Luc.prototype.yi=function(a){return _.w(this,1,a)};_.Luc.prototype.Cb=function(){return _.B(this,4)};_.Luc.prototype.Ac=function(a){return _.w(this,4,a)};var Muc=function(a){_.J.call(this,a)};_.K(Muc,_.J);Muc.prototype.Fo=function(){return _.B(this,5)};
var Nuc=function(a,b){_.w(a,6,b)},Ouc=function(a){_.J.call(this,a)};_.K(Ouc,_.J);_.g=Ouc.prototype;_.g.Jhb=function(a){_.w(this,1,a)};_.g.CPb=function(a){_.w(this,2,a)};_.g.uy=function(){return _.P(this,3)};_.g.Khb=function(a){_.w(this,3,a)};_.g.hPb=function(a){_.w(this,4,a)};var Puc=function(a){_.J.call(this,a)};_.K(Puc,_.J);Puc.prototype.uy=function(){return _.P(this,2)};var Quc=function(a,b){return _.w(a,2,b)},Ruc=function(a,b){_.w(a,3,b)};Puc.prototype.pB=function(){return _.B(this,6)};
var Suc=function(a,b){return _.w(a,8,b)},Tuc=function(a){_.J.call(this,a)};_.K(Tuc,_.J);var Uuc=function(a){_.J.call(this,a)};_.K(Uuc,_.J);var Vuc=function(a,b){_.w(a,4,b)},Wuc=function(a){_.J.call(this,a)};_.K(Wuc,_.J);Wuc.prototype.ld=function(){return _.x(this,_.Luc,1)};Wuc.prototype.getState=function(){return _.x(this,Muc,2)};Wuc.prototype.Id=function(a){return _.I(this,2,a)};Wuc.prototype.et=function(){return _.xj(this,2)};var Xuc=function(a){_.J.call(this,a)};_.K(Xuc,_.J);
Xuc.prototype.Ej=function(){return _.B(this,1)};Xuc.prototype.getEnvironment=function(){return _.B(this,2)};Xuc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.Yuc=function(){var a=void 0===a?3E3:a;this.O=new _.Tk;this.H=new _.Tk;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.Zuc=function(a){var b=a.O.jh();a.V&&b.push({logName:"...",message:"...",level:"...",totalTime:"..."});_.Ba(b,a.H.jh());return b};
_.$uc=function(a){var b=[];a=_.Zuc(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")};_.Yuc.prototype.info=function(a,b){_.VJ(this,a,b,"info")};_.Yuc.prototype.config=function(a,b){_.VJ(this,a,b,"config")};_.Yuc.prototype.log=function(a,b,c){if(!Huc){Huc={};for(var d=0,e;e=_.Bka[d];d++)Huc[e.value]=e,Huc[e.name]=e}_.VJ(this,a,b,c)};
_.VJ=function(a,b,c,d){a.H.Zb()>=a.ha&&(a.V=!0,_.Yk(a.H));var e=Date.now()-a.startTime;b={logName:b,message:c,level:d,totalTime:1E3<e?(e/1E3).toFixed(1)+"s":e+"ms"};a.O.Zb()<a.W?a.O.enqueue(b):a.H.enqueue(b)};_.ftc=[42,1005,20,50,18,1003,1002];avc=[73,71];_.WJ=function(a){_.J.call(this,a)};_.K(_.WJ,_.J);_.WJ.prototype.getId=function(){return _.B(this,1)};_.WJ.prototype.Nb=function(a){return _.w(this,1,a)};_.WJ.prototype.getMimeType=function(){return _.B(this,2)};bvc=[22];
_.CJ=function(a){_.J.call(this,a,-1,bvc)};_.K(_.CJ,_.J);_.g=_.CJ.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.x(this,_.Fk,2)};_.g.setItem=function(a){return _.I(this,2,a)};_.g.Wj=function(){return _.B(this,3)};_.g.qc=function(){return _.B(this,5)};_.cvc=function(a,b){return _.w(a,5,b)};_.g=_.CJ.prototype;_.g.XJ=function(){return _.B(this,7)};_.g.Gca=function(a){return _.w(this,7,a)};_.g.kfa=function(a){_.w(this,9,a)};
_.g.tMa=function(a){_.w(this,10,a)};_.g.MM=function(){return _.B(this,16)};_.g.xca=function(a){return _.w(this,16,a)};var dvc=function(a){var b=new _.$h;a.listen("loadend",_.gb(function(c,d){var e=d.lk(),f=d.getError();null==e||f?c.Gd(f):c.callback(e);d.dispose()},b,a));return b},evc=function(a){_.ni.call(this,a);this.connectionState=_.UJb.get(a)};_.K(evc,_.ni);_.JI=function(a){_.J.call(this,a)};_.K(_.JI,_.J);_.JI.prototype.qc=function(){return _.B(this,1)};_.KI=function(a){_.J.call(this,a)};
_.K(_.KI,_.J);_.KI.prototype.getId=function(){return _.B(this,1)};_.KI.prototype.Nb=function(a){return _.w(this,1,a)};_.KI.prototype.xk=function(){return _.B(this,2)};_.KI.prototype.H=function(a){_.w(this,4,a)};_.LI=function(a){_.J.call(this,a)};_.K(_.LI,_.J);_.LI.prototype.Jh=function(){return _.B(this,1)};_.LI.prototype.qc=function(){return _.B(this,2)};_.LI.prototype.se=function(){return _.x(this,_.Kf,4)};fvc=[3,7];_.MI=function(a){_.J.call(this,a,-1,fvc)};_.K(_.MI,_.J);_.g=_.MI.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.tE=function(a,b){_.Gj(this,3,a,b)};_.g.se=function(){return _.x(this,_.Kf,5)};_.PI=function(a){_.J.call(this,a)};_.K(_.PI,_.J);_.PI.prototype.getTitle=function(){return _.B(this,1)};_.PI.prototype.setTitle=function(a){return _.w(this,1,a)};_.PI.prototype.se=function(){return _.x(this,_.Kf,2)};
_.UI=function(a){_.J.call(this,a)};_.K(_.UI,_.J);_.UI.prototype.qc=function(){return _.B(this,1)};_.UI.prototype.se=function(){return _.x(this,_.Kf,3)};_.WI=function(a){_.J.call(this,a)};_.K(_.WI,_.J);_.WI.prototype.getId=function(){return _.B(this,1)};_.WI.prototype.Nb=function(a){return _.w(this,1,a)};_.WI.prototype.se=function(){return _.x(this,_.Kf,3)};_.YI=function(a){_.J.call(this,a)};_.K(_.YI,_.J);_.YI.prototype.se=function(){return _.x(this,_.Kf,1)};_.rJ=function(a){_.J.call(this,a)};
_.K(_.rJ,_.J);_.g=_.rJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,3)};_.tJ=function(a){_.J.call(this,a)};_.K(_.tJ,_.J);_.g=_.tJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.w(this,2,a)};
_.g.se=function(){return _.x(this,_.Kf,3)};_.wJ=function(a){_.J.call(this,a)};_.K(_.wJ,_.J);_.wJ.prototype.qc=function(){return _.B(this,1)};_.wJ.prototype.se=function(){return _.x(this,_.Kf,4)};_.yJ=function(a){_.J.call(this,a)};_.K(_.yJ,_.J);_.g=_.yJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.B(this,3)};
_.g.Id=function(a){return _.w(this,3,a)};_.g.et=function(){return _.xj(this,3)};_.g.se=function(){return _.x(this,_.Kf,5)};gvc=[2,3];_.NI=function(a){_.J.call(this,a,-1,gvc)};_.K(_.NI,_.J);_.NI.prototype.wc=function(){return _.B(this,1)};_.NI.prototype.se=function(){return _.x(this,_.Kf,4)};_.hvc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};ivc=[3,4];_.kJ=function(a){_.J.call(this,a,-1,ivc)};_.K(_.kJ,_.J);_.kJ.prototype.getType=function(){return _.B(this,1)};
_.kJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.nJ=function(a){_.J.call(this,a)};_.K(_.nJ,_.J);_.nJ.prototype.H=function(a){_.w(this,4,a)};jvc=[1];_.pJ=function(a){_.J.call(this,a,-1,jvc)};_.K(_.pJ,_.J);_.pJ.prototype.ln=function(){return _.ie(this,1)};_.kvc=function(a){_.J.call(this,a)};_.K(_.kvc,_.J);_.g=_.kvc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.bt=function(){return _.xj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};
_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.xj(this,2)};_.g.qf=function(){return _.B(this,3)};_.g.Vl=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.B(this,4)};lvc=[1];_.mvc=function(a){_.J.call(this,a,-1,lvc)};_.K(_.mvc,_.J);_.XJ=function(a){a.supportsTeamDrives=!0};_.nvc=function(a){this.O=new Set;this.H=[].concat(_.Jd(_.ie(a,27)));this.initialize(a)};
_.nvc.prototype.initialize=function(a){var b=_.htc(this.H,_.ie(a,28));if(0<b.length)throw Error("Te`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.KH(_.XH(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Fa(this.H);this.H.sort();itc(this.H)};_.YJ=function(a){return[].concat(_.Jd(a.H))};ZJ=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.$J=function(a,b,c){0!==b.length&&(a.qI.length&&a.append(" "+(c||"and")+" "),a.append(b))};aK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(ZJ(c));e.push("in");e.push(b);_.$J(a,e.join(" "))}};_.bK=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());_.$J(a,e.join(" "),d)}};ovc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.$J(a,d.join(""))}};
_.pvc=function(a){var b=new _.Zrc;b.setTime(a);return b};qvc=function(a,b){b=_.ie(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(ZJ(b));_.$J(a,c.join(" "))}};_.rvc=function(a){a=_.Ab(a,_.OJ,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Ya());return b.join(",")};_.svc=function(a){a=a.rB();return null==a||0==a.length?"":a.map(function(b){b=b.dR();if(0==b)throw Error("Ue");return _.rpc[b]}).join(",")};
tvc=function(a,b){if(a.length){var c=new _.Eo;a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(ZJ(d.Ya()));_.$J(c,e.join(" "),"or")}return c.toString()}return""};uvc=function(a,b,c){if(a.length){var d=[];b&&d.push("not");d.push(c?"shortcutDetails.targetMimeType":"mimeType");d.push("in");a=a.map(function(e){return ZJ(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};
vvc=function(a){if(_.P(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};wvc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};xvc=function(a,b,c){if(null!=_.B(c,2)){var d=wvc(_.B(c,1));c=ZJ(_.yuc(_.pvc(_.B(c,2)||0)));_.$J(a,[b,d,c].join(" "))}};
yvc=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""};
_.zvc=function(a){for(var b=new _.Eo,c=_.Ab(a,_.ul,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.B(e,1),k=_.Q(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(ZJ(f));_.$J(b,l.join(" "))}}for(var p=_.Ab(a,_.tl,5),q=0;q<p.length;q++){var r=p[q],v=r.Ya();if(v){var z=[];_.Q(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(ZJ(v));_.$J(b,z.join(" "))}}var A=_.Cl(a);if(A&&0!=A.length){for(var C=[],G=[],H=[],L=[],O=[],T=[],U=0;U<A.length;U++){var ca=
A[U];ca.Ya()&&(1===_.Aj(ca,3,0)?_.P(ca,4)?G.push(ca):C.push(ca):_.P(ca,4)?_.Q(ca,2,!1)?T.push(ca):O.push(ca):_.Q(ca,2,!1)?L.push(ca):H.push(ca))}var ba=tvc(C,!1),ma=tvc(G,!0),ta=uvc(H,!1,!1),za=uvc(L,!0,!1),Na=uvc(O,!1,!0),ob=uvc(T,!0,!0),Wa=new _.Eo;if(ta||Na||ba||ma)_.$J(Wa,ta,"or"),_.$J(Wa,Na,"or"),_.$J(Wa,ba,"or"),_.$J(Wa,ma,"or");Wa.qI.length&&_.$J(b,"("+Wa.toString()+")","and");var Ub=new _.Eo;if(za||ob)_.$J(Ub,za,"and"),_.$J(Ub,ob,"and");Ub.qI.length&&_.$J(b,"("+Ub.toString()+")","and")}for(var Ac=
_.Ab(a,_.rl,7),Mc=0;Mc<Ac.length;Mc++)xvc(b,"modifiedDate",Ac[Mc]);for(var xd=_.Ab(a,_.rl,8),Ae=0;Ae<xd.length;Ae++)xvc(b,"lastViewedByMeDate",xd[Ae]);_.bK(b,"trashed",a.Qh());_.bK(b,"explicitlyTrashed",_.P(a,17));_.bK(b,"starred",_.P(a,10));_.bK(b,"hidden",_.P(a,11));for(var oe=_.Dl(a),Vg=0;Vg<oe.length;Vg++){var ee=oe[Vg];aK(b,"parents",ee.Ya(),_.Q(ee,2,!1))}for(var Db=_.Ab(a,_.Af,13),Qe=0;Qe<Db.length;Qe++){var sj=Db[Qe];aK(b,"owners",sj.Ya(),_.Q(sj,2,!1))}for(var bf=_.Ab(a,_.Af,14),tj=0;tj<bf.length;tj++){var dk=
bf[tj];aK(b,"writers",dk.Ya(),_.Q(dk,2,!1))}for(var Pg=_.Ab(a,_.Af,15),Pl=0;Pl<Pg.length;Pl++){var ui=Pg[Pl];aK(b,"readers",ui.Ya(),_.Q(ui,2,!1))}_.P(a,16)&&_.$J(b,"sharedWithMe");_.bK(b,"unparented",_.P(a,34));for(var Fe=_.Ab(a,_.ol,35)||[],Pf=_.m(Fe),Kj=Pf.next();!Kj.done;Kj=Pf.next())aK(b,"ancestors",Kj.value.Ya(),!1);for(var Di=_.Ab(a,_.ol,38)||[],uj=_.m(Di),Uk=uj.next();!Uk.done;Uk=uj.next())aK(b,"descendants",Uk.value.Ya(),!1);for(var Hp=_.Ab(a,_.sl,37)||[],Km=_.m(Hp),Jq=Km.next();!Jq.done;Jq=
Km.next())aK(b,"folderFeatures",Jq.value.Ya(),!1);for(var Xr=_.ie(a,39),Yr=_.m(Xr),Yh=Yr.next();!Yh.done;Yh=Yr.next()){var Kq=Yh.value,lm=[];lm.push("templateData.description");lm.push("contains");lm.push(ZJ(Kq));_.$J(b,lm.join(" "))}for(var Yn=_.ie(a,40),wl=0;wl<Yn.length;wl++){var mm=[];0==wl&&mm.push("(");mm.push(ZJ(Yn[wl]));mm.push("in");mm.push("templateData.categories");wl==Yn.length-1&&mm.push(")");_.$J(b,mm.join(" "),0==wl?"and":"or")}var Ip=_.B(a,41);if(null!=Ip){var Ql=[];Ql.push("templateData.galleryState");
Ql.push("=");Ql.push(ZJ(_.asc[Ip]||""));_.$J(b,Ql.join(" "))}var Vk=_.B(a,42);if(null!=Vk){var Lj=[];Lj.push("visibility");Lj.push("=");Lj.push(ZJ(yvc(Vk)));_.$J(b,Lj.join(" "))}for(var Ic=_.Ab(a,_.nl,44),Lm=0;Lm<Ic.length;++Lm){var Jp=Ic[Lm];aK(b,"actionItems",vvc(Jp),_.Q(Jp,3,!1))}if(_.xj(a,50)){var Po=[];Po.push("pairedDocType");Po.push(_.Q(a,50,!1)?"!=":"=");Po.push(ZJ("NONE"));_.$J(b,Po.join(" "))}aK(b,"workspaceIds",a.Dp(),!1);for(var Rl=_.Ab(a,_.pl,57),Kp=0;Kp<Rl.length;Kp++){var xl=[];0==
Kp&&xl.push("(");xl.push(ZJ(Rl[Kp].Ya()));xl.push("in");xl.push("approvals");Kp==Rl.length-1&&xl.push(")");_.$J(b,xl.join(" "),0==Kp?"and":"or")}if(_.xj(a,58)){var yl=a.aq(),Zn=yl.Ya();if(Zn){var Sl=[];_.Q(yl,2,!1)&&Sl.push("not");Sl.push("creator");Sl.push("=");Sl.push(ZJ(Zn));_.$J(b,Sl.join(" "))}}var Lp=_.x(a,_.kpa,59);if(Lp)for(var Iu=_.m(_.Ab(Lp,_.hpa,1)),Lq=Iu.next();!Lq.done;Lq=Iu.next()){var Qo=Lq.value;aK(b,"categoryMetadata",Qo.Cm());for(var Ju=_.m(Qo.vk()),Mp=Ju.next();!Mp.done;Mp=Ju.next()){var Zi=
Mp.value,vj=_.B(Zi,1),Np=_.Eb(Zi,_.ql);if(10==Np){_.Rj(Zi,_.Zoa,10,_.ql);var Tl=_.P(Zi,15);(void 0===Tl?0:Tl)?_.$J(b,vj+" is null"):_.$J(b,"not ("+vj+" is null)")}else{var yh=new _.Eo,Wk=void 0;switch(Np){case 3:Wk=_.Rj(Zi,suc,3,_.ql);for(var $n=_.m(Wk.wi()),Kg=$n.next();!Kg.done;Kg=$n.next())_.bK(yh,vj,Kg.value,"or");break;case 14:for(var nm=Wk=_.Rj(Zi,_.Soa,14,_.ql),Op=new Map([[1,"="],[2,">"],[3,"<"]]),Mq=_.m(nm.wi()),om=Mq.next();!om.done;om=Mq.next()){var Xk=om.value,Nq=Op.get(_.B(nm,2));if(!Nq)throw Error("Ve");
_.$J(yh,[vj,Nq,ZJ(Xk.getYear()+"-"+Xk.getMonth()+"-"+Xk.getDay())].join(" "),"or")}break;case 8:for(var Zr=Wk=_.Rj(Zi,_.Yoa,8,_.ql),sw=new Map([[1,"="],[2,">"],[3,"<"]]),Pp=_.m(Zr.wi()),cp=Pp.next();!cp.done;cp=Pp.next()){var hr=cp.value,Tm=sw.get(_.B(Zr,2));if(!Tm)throw Error("Ve");_.$J(yh,[vj,Tm,hr].join(" "),"or")}break;case 9:for(var Kt=Wk=_.Rj(Zi,uuc,9,_.ql),ky=new Map([[1,"in"]]),ir=_.m(Kt.wi()),DA=ir.next();!DA.done;DA=ir.next()){var Yf=DA.value,Sw=ky.get(_.B(Kt,2));if(!Sw)throw Error("Ve");
_.$J(yh,[Yf,Sw,vj].join(" "),"or")}break;case 6:for(var OC=Wk=_.Rj(Zi,_.cpa,6,_.ql),fq=new Map([[1,"="]]),PC=_.m(OC.wi()),iN=PC.next();!iN.done;iN=PC.next()){var AF=iN.value,cJ=fq.get(_.B(OC,2));if(!cJ)throw Error("Ve");_.$J(yh,[vj,cJ,ZJ(AF)].join(" "),"or")}break;case 7:for(var us=Wk=_.Rj(Zi,_.apa,7,_.ql),dJ=new Map([[1,"in"]]),BF=_.m(us.wi()),CF=BF.next();!CF.done;CF=BF.next()){var DF=CF.value,EF=dJ.get(_.B(us,2));if(!EF)throw Error("Ve");_.$J(yh,[ZJ(DF),EF,vj].join(" "),"or")}break;case 4:for(var Tw=
Wk=_.Rj(Zi,_.epa,4,_.ql),jN=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),kN=_.m(Tw.wi()),ly=kN.next();!ly.done;ly=kN.next()){var Lt=ly.value,FF=jN.get(_.B(Tw,2));if(!FF)throw Error("Ve");_.$J(yh,[vj,FF,ZJ(Lt)].join(" "),"or")}break;case 5:for(var GF=Wk=_.Rj(Zi,wuc,5,_.ql),lN=new Map([[1,"in"]]),HF=_.m(GF.wi()),eS=HF.next();!eS.done;eS=HF.next()){var qZ=eS.value,mN=lN.get(_.B(GF,2));if(!mN)throw Error("Ve");_.$J(yh,[ZJ(qZ),mN,vj].join(" "),"or")}break;case 12:for(var nN=Wk=_.Rj(Zi,_.Woa,12,
_.ql),oN=new Map([[1,"="]]),fS=_.m(nN.wi()),gS=fS.next();!gS.done;gS=fS.next()){var T6=gS.value,U6=oN.get(_.B(nN,2));if(!U6)throw Error("Ve");_.$J(yh,[vj,U6,ZJ(T6)].join(" "),"or")}break;case 11:for(var my=Wk=_.Rj(Zi,_.Uoa,11,_.ql),Tga=new Map([[1,"in"]]),Uga=_.m(my.wi()),eJ=Uga.next();!eJ.done;eJ=Uga.next()){var Mt=eJ.value,hS=Tga.get(_.B(my,2));if(!hS)throw Error("Ve");_.$J(yh,[ZJ(Mt),hS,vj].join(" "),"or")}}_.P(Zi,15)?_.$J(b,"not ("+yh+")"):_.$J(b,1<Wk.wi().length?"("+yh+")":""+yh)}}}null!=_.P(a,
60)&&_.bK(b,"linkShareMetadata.securityUpdateEligible",_.P(a,60));var jr=_.P(a,65);if(null!=jr){var EA=[];EA.push("clientEncryptionDetails.encryptionState");EA.push("=");EA.push(ZJ(jr?"encrypted":"unencrypted"));_.$J(b,EA.join(" "))}var iS=_.Ab(a,_.Af,68);if(iS.length){for(var V6=[],jS=[],QC=_.m(iS),kS=QC.next();!kS.done;kS=QC.next()){var kxa=kS.value,lxa="sharedFrom = "+ZJ(kxa.Ya());_.Q(kxa,2,!1)?jS.push(lxa):V6.push(lxa)}ovc(b,V6,!1);ovc(b,jS,!0)}var mxa=_.Ab(a,_.Af,67);if(mxa.length){for(var nxa=
[],W6=[],oxa=_.m(mxa),pN=oxa.next();!pN.done;pN=oxa.next()){var lS=pN.value,qN="sharedTo = "+ZJ(lS.Ya());_.Q(lS,2,!1)?W6.push(qN):nxa.push(qN)}ovc(b,nxa,!1);ovc(b,W6,!0)}null!=_.P(a,69)&&_.bK(b,"linkShareMetadata.securityUpdateEnabled",_.P(a,69));null!=_.P(a,72)&&_.bK(b,"canAcceptOwnership",_.P(a,72));if(_.P(a,73)){var X6=(new _.Cf).Hb("application/vnd.google-apps.shortcut");_.bK(b,"impactedByMultiparentingMigration",!0);_.$J(b,uvc([X6],!1,!1))}1==_.PJ(a)&&qvc(b,a);return b.toString()};
_.Avc=function(a){var b=new _.Eo(_.zvc(a));_.Q(a,74,!1)?_.$J(b,"isQuickAccessForSharedFilesRequest"):_.gJ(a)?_.$J(b,"isQuickAccessRequest"):_.hJ(a)?_.$J(b,"isPeoplePredictRequest"):_.iJ(a)&&_.$J(b,"isDrivePriorityRequest");var c=a.Kc();if(c){var d=[];d.push("sortBy");d.push(_.Wrc[c.getType()]);d.push(_.csc[c.Xf()]);_.P(c,3)&&d.push("foldersFirst");_.$J(b,d.join(" "))}_.bK(b,"domainSearch",_.P(a,18));_.bK(b,"offline",_.P(a,19));_.Ab(a,_.OJ,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.rvc(a)),
_.$J(b,c.join(" ")));a.rB().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.svc(a)),_.$J(b,c.join(" ")));if(c=_.PJ(a))d=[],d.push("corpora"),d.push("="),d.push(ZJ(_.hvc[c])),_.$J(b,d.join(" "));_.Q(a,66,!0)||_.bK(b,"includeItemsFromAllDrives",_.Q(a,66,!0));1!=_.PJ(a)&&qvc(b,a);_.Q(a,48,!1)&&_.$J(b,"cachedOnly");return b.toString()};
_.FJ=function(a){if(a instanceof _.mI)a=a.ld();else if(!a)return!1;return a instanceof _.Oz||a instanceof _.WF||"undefined"!=typeof _.cK&&a instanceof _.cK||a instanceof _.yf&&(_.gJ(a)||_.hJ(a)||_.iJ(a))};Bvc=function(){_.Bo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.K(Bvc,_.Bo);_.Cvc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};Dvc=function(a,b){a.V||(a.V=b)};Bvc.prototype.vj=function(){_.Cvc(this);(0,this.ha)()};Evc=function(a,b){a.ha||(a.ha=b)};
_.dK=function(a){if(!a.O){a.O=new Wuc;var b=_.Do(a);_.I(b,56,a.O)}return a.O};Bvc.prototype.getState=function(){var a=_.dK(this).getState();a||(a=new Muc,_.dK(this).Id(a));return a};var Fvc=function(a,b){var c=new Kuc;_.w(c,1,b);a=_.Do(a);_.I(a,12,c)};Bvc.prototype.ma=function(){var a=_.x(_.dK(this),Ouc,4);if(!a){a=new Ouc;var b=_.dK(this);_.I(b,4,a)}return a};
var Gvc=function(a){var b=_.x(_.dK(a),Puc,8);b||(b=new Puc,a=_.dK(a),_.I(a,8,b));return b},Hvc=function(a){var b=_.x(_.dK(a),Uuc,19);b||(b=new Uuc,a=_.dK(a),_.I(a,19,b));return b},Ivc=function(a){_.ni.call(this,"Bb");this.H=a};_.K(Ivc,_.ni);Ivc.prototype.Oe=function(){return this.H};_.Jvc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.xi.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.K(_.Jvc,_.xi);_.g=_.Jvc.prototype;
_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Ik=function(){return 1===this.connectionState||2===this.connectionState};_.g.Oe=function(){return 3===this.connectionState};_.g.get=function(){return this.connectionState};
_.g.update=function(a){if(this.V)return!1;if(this.connectionState!==a||this.H&&1===a){if(2===a)var b=3===this.connectionState?_.KB.oU:_.KB.Lga;else 1===a?(b=_.KB.yL,this.O=!0):3===a&&(b=_.KB.nU);if(b)return b=new evc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var Kvc=function(a,b){this.userId=a;this.H=b;this.db=null},Mvc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return Lvc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ye"))},function(d){return a.handleError(d)})},"readwrite")};Kvc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.tBb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var Nvc=function(a){return new _.Th(function(b){var c=new Map;Lvc(a,function(d){return zuc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Uqa:f.Uqa},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Uqa=k;l.then(function(p){return function(q){q&&c.set(p.Uqa,new _.lAa(q.tBb))}}(f))}return _.eI([].concat(_.Jd(e.values()))).then(function(){return b(c)})})})})},Ovc=function(a,b){return Lvc(a,
function(c){return c.remove(b)},"readwrite")},Lvc=function(a,b,c){c=void 0===c?"readonly":c;return Pvc(a).then(function(d){try{var e=_.cqc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.GI(f):void 0)}},function(d){return a.handleError(d)})},Pvc=function(a){return a.db?_.Uh(a.db):_.eqc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.Auc(c,"OfflineImpressions");b=_.bqc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.RH(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ze"))}).then(function(b){return a.db=b},function(b){return _.Vh(_.GI(b))})};Kvc.prototype.handleError=function(a){a||(a=Error("$e"));_.VJ(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Uh()};
_.Qvc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.xi.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.K(_.Qvc,_.xi);_.Qvc.prototype.Oe=function(){return this.H};_.Qvc.prototype.Jl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new Ivc(a)))};_.Qvc.prototype.Vy=function(a){this.O=a};
var Svc=function(a,b,c,d,e,f){_.xi.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.jf(this);this.Ib.listen(b,"Bb",function(k){k.Oe()||Rvc(h)});this.Ib.listen(c,[_.KB.yL,_.KB.oU],function(){return void Rvc(h)});this.W=e;f.then(function(){return Rvc(h)})};_.K(Svc,_.xi);Svc.prototype.sA=function(a){return(this.H.Oe()||this.connectionState.Oe())&&this.H.O?Mvc(this.O,a):this.V.sA(a)};
var Rvc=function(a){return a.H.O?Nvc(a.O).then(function(b){b.forEach(function(c,d){a.V.sA(c).then(function(){return Tvc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},Tvc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Cb");return Ovc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
Svc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var Uvc=function(){};Uvc.prototype.KQ=function(){return new Bvc};var Vvc=function(){this.H=new Xuc};Vvc.prototype.O=function(a){_.I(a,13,this.H)};Vvc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
var Xvc=function(a,b,c,d){this.ha=b;this.connectionState=c;this.jw=d;this.O=this.H=this.V=null;this.client=_.eK(_.lsc,_.RJ(a));this.ka=_.B(a,94);this.ma=_.eK(_.psc,_.Aj(a.Vf(),8,0));this.Fwa=_.eK(_.msc,_.Aj(a.Vf(),9,2));this.ta=_.Q(a,10,!1);this.ru=_.KH(_.XH(a));this.eCa=_.SJ(a);this.W=Wvc(a);this.buildLabel=a.Oi()};Xvc.prototype.Ej=function(){return this.client};
Wvc=function(a){var b=[].concat(_.Jd(_.isc.keys())),c=[].concat(_.Jd(_.jsc.keys())),d=_.EJ(a);return b.filter(function(e){return _.isc.get(e)(a)}).concat(c.filter(function(e){return d&&_.jsc.get(e)(d)}))};_.eK=function(a,b){a=_.m(a);for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};Xvc.prototype.Fo=function(a){return null==a?0:a?2:1};var Yvc=function(a){if(a.O)return a.O.H("aU7Ts")};
Xvc.prototype.Cb=function(a){return a instanceof _.UA||"undefined"!=typeof _.fK&&a instanceof _.fK||"undefined"!=typeof _.gK&&a instanceof _.gK||"undefined"!=typeof _.hK&&a instanceof _.hK?a.Cb():"undefined"!=typeof _.iK&&a instanceof _.iK||"undefined"!=typeof _.jK&&a instanceof _.jK||"undefined"!=typeof _.kK&&a instanceof _.kK||"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK?a.response?a.response.Cb():null:null};Xvc.prototype.Oi=function(){return this.buildLabel};
var Zvc=function(a){return a.ha.Oe()||a.connectionState.Oe()?2:1};Xvc.prototype.getEnvironment=function(){return this.jw};$vc=function(a,b){this.H=a;var c=new _.Tya;_.Uya(c,b.W);a=this.H.CL();var d=_.Nrc(a);_.I(d,10,c);(c=b.Oi())&&_.Mrc(a,c);this.H.JZ();this.O=b};
_.awc=function(a,b,c){var d=_.Co(a.H.LF(b,c),_.dsc);Fvc(d,Zvc(a.O));b=Yvc(a.O);"boolean"===typeof b&&Nuc(d.getState(),b);1===c&&Dvc(d,function(){return void a.H.iw(d)});Evc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.zd();e=d.getState();_.w(e,1,f);var h,k;f=null===(k=null===(h=a.O.H)||void 0===h?void 0:h.H)||void 0===k?void 0:k.zd();h=d.getState();_.w(h,2,f);var l,p;h=null===(p=null===(l=a.O.H)||void 0===l?void 0:l.O)||void 0===p?void 0:p.zd();l=d.getState();_.w(l,7,h);a.H.Lp(d)});
return d};bwc=function(a){var b=new _.Iza,c=new Vvc,d=a.Ej();_.w(c.H,1,d);_.w(c.H,8,a.ka);_.w(c.H,3,a.ma);_.w(c.H,4,a.Fwa);_.w(c.H,5,a.ta);_.w(c.H,6,a.ru);_.w(c.H,7,a.eCa);a=c.setEnvironment(a.getEnvironment());_.Qqc(b,_.fsc,a);_.Fo(b,_.dsc,new Uvc);return b};
cwc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.bI(906,b,void 0,_.vsc());l.ha=!1;var p=new _.Rqc(l);b=new Date;l=_.Src(_.Rrc(_.Qrc(Buc(),new _.Sqc(l)),bwc(c)),109).setSessionId(b.getTime()+"_"+_.bh());if(k){a=new Svc(p,d,e,new Kvc(a,f),f,h);_.Prc(l,a);d=l.build();_.Lrc(d.CL(),1E3*b.getTime());var q=new $vc(d,c);(new _.jf).listen(a,"Cb",function(){_.awc(q,106008,0).vj()});return q}_.Prc(l,p);a=l.build();_.Lrc(a.CL(),1E3*b.getTime());return new $vc(a,c)};
dwc=function(a,b){this.V=a;this.W=b};dwc.prototype.O=function(a,b){this.V&&_.ewc(this)&&(a=_.awc(this.V,a,0),b&&_.lpc(a,b),a.vj())};_.nK=function(a,b){if(a.V&&_.ewc(a)){a=_.awc(a.V,106018,0);var c=_.x(_.dK(a),Tuc,15);if(!c){c=new Tuc;var d=_.dK(a);_.I(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.vj()}};dwc.prototype.H=function(a,b){return this.V&&_.ewc(this)?(a=_.awc(this.V,a,1),b&&_.lpc(a,b),a):null};_.ewc=function(a){return!(!a.V||!a.V.H.pP())};
_.fwc=function(a,b,c,d,e,f){var h=_.P(a,59),k=_.vI(_.XH(a)).toString(),l=_.QJ(_.XH(a));f=new Xvc(a,b,c,f);a=h?cwc(l,k,f,b,c,d,e,_.Q(a,17,!1)):null;return new dwc(a,f)};_.$I=function(a){_.J.call(this,a)};_.K(_.$I,_.J);_.gwc=function(a){_.J.call(this,a)};_.K(_.gwc,_.J);_.gwc.prototype.getId=function(){return _.B(this,1)};_.gwc.prototype.Nb=function(a){return _.w(this,1,a)};_.gwc.prototype.se=function(){return _.x(this,_.Kf,2)};_.lJ=function(a){_.J.call(this,a)};_.K(_.lJ,_.J);
_.lJ.prototype.Vn=function(){return _.B(this,2)};_.lJ.prototype.ld=function(){return _.x(this,_.gwc,3)};_.ZI=function(a){_.J.call(this,a)};_.K(_.ZI,_.J);_.ZI.prototype.ld=function(){return _.x(this,_.YI,1)};_.ZI.prototype.Kca=function(a){return _.w(this,2,a)};_.XI=function(a){_.J.call(this,a)};_.K(_.XI,_.J);_.XI.prototype.getId=function(){return _.B(this,1)};_.XI.prototype.Nb=function(a){return _.w(this,1,a)};_.hwc=function(a,b){return _.w(a,2,b)};_.oJ=function(a){_.J.call(this,a)};_.K(_.oJ,_.J);
_.oJ.prototype.ld=function(){return _.x(this,_.XI,1)};iwc=[2];_.vJ=function(a){_.J.call(this,a,-1,iwc)};_.K(_.vJ,_.J);_.vJ.prototype.qc=function(){return _.B(this,1)};_.vJ.prototype.FV=function(){return _.Ab(this,_.QF,2)};_.vJ.prototype.se=function(){return _.x(this,_.Kf,3)};_.jwc=function(a){_.J.call(this,a)};_.K(_.jwc,_.J);_.jwc.prototype.wk=function(){return _.B(this,1)};_.kwc=function(a){var b=new _.jwc;return _.w(b,1,a)};lwc=[1];_.ptc=function(a){_.J.call(this,a,-1,lwc)};_.K(_.ptc,_.J);
_.mwc=function(a,b){this.O=b;this.H=new Map;this.vla(_.Ab(a,_.vl,91))};_.mwc.prototype.vla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.zl(c);if(!b||!c)break;var d=_.nwc(this,b);if(d){d!==c&&otc(b);break}this.H.set(b,c)}};Qtc=function(a,b){return[].concat(_.Jd(new Set(b))).map(function(c){var d=(new _.vl).Nb(c);a.H.has(c)?_.Al(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Al(d,_.Lk(c));return d}).filter(function(c){return _.xj(c,2)})};
_.nwc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.xj(a,140)?_.Lk(a):null};_.stc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.ytc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Etc=function(){this.H=_.Lf(new _.Kf,312)};_.owc=function(a,b){_.SH.call(this,a?a:500,b?b:6E5)};_.K(_.owc,_.SH);_.oK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Zf=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};
_.oK.prototype.getState=function(){return this.state};_.oK.prototype.iM=function(a){var b=this;if(this.W)return this.W;var c=_.Xh();this.W=c.promise.then(function(){return _.kwc(1)},function(d){d=_.Rc(d).Fg;var e=0;2===d.zp()?e=3:_.usc(d)&&(e=2);return _.kwc(e)});a&&this.W.then(function(d){3===d.wk()&&_.nK(b.Zf,186469046)});this.H&&(a=_.B(Hvc(this.H),4)||0,Vuc(Hvc(this.H),a+1));setTimeout(function(){b.W=null},5E3);pwc(this,c);return this.W};_.swc=function(a,b){qwc(a,3)&&_.rwc(a,b)};
_.oK.prototype.reset=function(){this.O=null;twc(this)};twc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.rwc=function(a,b){if(!a.O&&!a.V){a.H=a.Zf.H(106025);if(a.H){var c=Hvc(a.H);var d=!(!a.state.isConnected()&&a.state.Ik());c=_.w(c,1,d);c=_.w(c,2,a.state.O);_.w(c,5,!!b)}a.O=new _.owc(5E3,6E4);uwc(a)}};uwc=function(a){twc(a);pwc(a);a.O&&(a.timeout=setTimeout(function(){return void uwc(a)},a.O.Ya()),_.TH(a.O))};
pwc=function(a,b){_.Zh((a.ha?a.ha():_.Uh()).then(null,function(){return null}),function(){if(a.H){var c=_.B(Hvc(a.H),3)||0,d=Hvc(a.H);_.w(d,3,c+1)}vwc(a,b)})};vwc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Pe(new _.Etc)}).then(null,function(d){d=_.Rc(d);_.usc(d.Fg)&&qwc(a,2);return _.Vh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.oK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
qwc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.ysc.get(b)),!0):!1};_.wwc=function(){this.H={}};xwc=function(a,b,c){if(a.H[b])throw Error("af");a.H[b]=c};_.wwc.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){_.n.setTimeout(function(){throw d;},0)}};ywc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};
_.zwc=function(a,b){this.H=a;this.V=b;this.O=_.Asc[_.Aj(a.Vf(),8,0)];this.W=_.Asc[_.Aj(a.Vf(),51,5)];this.nonce=_.bh()};
_.zwc.prototype.hc=function(a,b){if(b.zN)Awc(this,a,b),Bwc(this,a,b);else if(11===a.Zm){if(b.nLb){var c=b.zD||_.D(this.H.Vf(),37,"");_.kj(a.uri,"key",c)}Awc(this,a,b);Cwc(this,a,b)}else switch(a.uri=Dwc(this,a.Zm,a.uri),a.Zm){case 1:Cwc(this,a,b);Awc(this,a,b);break;case 0:b.ru||_.KH(_.XH(this.H))||_.Q(this.H,83,!1)&&_.kj(a.uri,"dsNonce",this.nonce);Cwc(this,a,b);Bwc(this,a,b);Awc(this,a,b);break;case 2:case 3:case 4:case 5:Cwc(this,a,b);Bwc(this,a,b);Awc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:Cwc(this,
a,b);Bwc(this,a,b);break;default:throw Error("bf`"+a.Zm);}};Ewc=function(a,b){var c=Dwc(a,b,new _.dj);if(!c.H)throw Error("df");return _.gj(_.fj(_.ej(new _.dj,c.O),c.H),c.W).zi(_.Bsc.has(b)?"/batch"+a.O:"/batch")};
Dwc=function(a,b,c){var d=_.B(a.H.Vf(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.D(a.H.Vf(),62,"");break;case 8:a=_.B(a.H.Vf(),53);break;case 9:a=_.B(a.H.Vf(),56);break;case 10:a=_.B(a.H.Vf(),22);break;case 13:a=_.B(a.H.Vf(),55);break;case 12:a=_.B(a.H.Vf(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.dj(a);
_.Wd(c,"/")&&(c=c.slice(1));return new _.dj(a+"/"+c)};Cwc=function(a,b,c){a=_.XH(a.H);c.ru||_.KH(a)||(b.headers.authorization=_.Oqc([{key:"u",value:_.QJ(a)}])||"",c=_.vI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
Awc=function(a,b,c){var d=_.XH(a.H),e=a.H.Vf(),f=c.F6a||_.Q(e,14,!1),h=11===b.Zm;if(c.E6a||_.B(e,13))(c=_.B(e,13))&&_.Wd(c,"email:")?_.kj(b.uri,"trace",c):c&&"trace:true"===c?_.kj(b.uri,"$trace","true"):c?_.kj(b.uri,"trace","token:"+c):_.kj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.kj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Aj(e,9,2)?"":",cospel:3:all,DriveService:3:all"));f&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
Bwc=function(a,b,c){c.ru||_.KH(_.XH(a.H))?_.kj(b.uri,"key",_.D(a.H.Vf(),36,"")):(a=c.zD||_.D(a.H.Vf(),37,""),_.kj(b.uri,"key",a))};_.rtc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.ttc=function(a){this.request=a;this.requestId=_.bh()};_.Btc=function(a,b,c,d){this.request=a;this.file=b;this.kQ=void 0===c?null:c;this.metadata=d};ztc=function(a,b){this.request=a;this.metadata=b};
Atc=function(a,b,c,d,e,f,h){this.W=a;this.blob=b;this.H=c;this.O=d;this.V=e;this.contentType=f;this.revisionId=h};_.zJ=function(a,b,c,d){this.request=a;this.file=b;this.kQ=void 0===c?null:c;this.metadata=d};Jtc=[_.JI,_.LI,_.KI,_.NI,_.MI,_.OI,_.PI,_.SI,_.UI,_.VI,_.WI,_.YI,_.ZI,_.nJ,_.rJ,_.tJ,_.vJ,_.wI,_.wJ,_.xJ,_.yJ,_.ttc,_.zJ];Fwc=[_.yI];Ktc=[_.RF,_.ytc];Ltc=[_.lJ,_.YH,_.dD,_.AJ];Mtc=[_.mI,_.$I,_.SF,_.yI,_.stc];Ntc=[_.AJ,_.XF];Otc=[_.XI,_.ptc,_.kJ,_.oJ,_.pJ,_.rtc,_.zJ,Atc,ztc];
Gwc=function(a){return a instanceof _.mI||a instanceof _.AJ||"undefined"!=typeof _.pK&&a instanceof _.pK||a instanceof _.xJ||a instanceof _.VI||a instanceof _.OI||a instanceof _.SI||a instanceof _.wI&&_.DJ(a)};_.Hwc=function(a,b){this.H=b;this.a4={};this.aj=new Iuc;b=_.II({fields:_.ie(a,28),yq:_.KH(_.XH(a))});this.Hb("SecondaryFields",b);this.Hb("SdkBackfillEnabled",!!_.Q(a,45,!1)+" (Include corpus cache: "+!!_.Q(a,46,!1)+")")};_.Hwc.prototype.Hb=function(a,b){this.a4[a]=Iwc(a,b)};
var Jwc=function(a,b){var c=a.a4[b];c||(c=Iwc(b,0,2),a.a4[b]=c);c.Hb(String(Number(c.Ya())+1))};_.Hwc.prototype.Gz=function(a){var b=_.Va(this.a4);this.H&&b.push(Iwc("CacheSize",this.H.zd()));b.push(Iwc("InitialViewDataLoaded",a));a=new _.mvc;_.Ej(a,1,b);return _.ei(a)};Iwc=function(a,b,c){var d=new _.kvc;_.w(d,1,a);_.w(d,4,c||1);d.Hb(String(b));d.Vl(_.Fsc.get(a));return d};
_.Kwc=function(a,b,c){var d=new _.Urc;_.w(d,2,"Pending...");b instanceof _.mI?_.Ij(d,3,_.nI,b):b instanceof _.AJ?_.Ij(d,4,_.nI,b):"undefined"!=typeof _.pK&&b instanceof _.pK?_.Ij(d,5,_.nI,b):b instanceof _.xJ?_.Ij(d,6,_.nI,b):b instanceof _.VI?_.Ij(d,7,_.nI,b):b instanceof _.OI?_.Ij(d,8,_.nI,b):b instanceof _.SI?_.Ij(d,9,_.nI,b):b instanceof _.wI&&_.Ij(d,10,_.nI,b);var e=Gtc(b),f=[];if(b instanceof _.KI)BJ(f,"ID",b.getId()),BJ(f,"Parent ID",b.xk());else if(b instanceof _.VI)BJ(f,"TD ID",b.getId());
else if(b instanceof _.mI)b=_.Avc(b.ld()),BJ(f,"Query",b);else if(b instanceof _.AJ)BJ(f,"Query","All");else if(b instanceof _.xJ)BJ(f,"TD ID",b.getId()),BJ(f,"Title",b.getTitle()),BJ(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.OI)BJ(f,"MimeType",b.getMimeType()),BJ(f,"Title",b.getTitle()),BJ(f,"Parents",_.ie(b,3)),BJ(f,"Convert",_.P(b,8)),BJ(f,"Request ID",b.ij()),BJ(f,"Parent Request IDs",_.ie(b,10)),BJ(f,"Revision Item ID",_.B(b,12)),BJ(f,"Pinned",_.P(b,8));else if(b instanceof _.PI)BJ(f,
"Title",b.getTitle());else if(b instanceof _.SI)BJ(f,"ID",b.getId());else if(b instanceof _.WI)BJ(f,"WS ID",b.getId());else if(b instanceof _.nJ)BJ(f,"Source ID",_.B(b,1)),BJ(f,"Destination Parent ID",_.B(b,2)),BJ(f,"validation token",_.B(b,4));else if(b instanceof _.wI){if(BJ(f,"ID",b.getId()),BJ(f,"Title",b.getTitle()),BJ(f,"Description",b.qf()),BJ(f,"Starred",_.P(b,4)),BJ(f,"Trashed",b.Qh()),BJ(f,"MimeType",b.getMimeType()),BJ(f,"Parents",_.ie(b,8)),BJ(f,"Parents to add",_.ie(b,9)),BJ(f,"Parents to remove",
_.ie(b,10)),BJ(f,"Restricted",_.P(b,11)),BJ(f,"Folder Color",b.Pi()),BJ(f,"Update Last Viewed",_.P(b,15)),BJ(f,"Subscribed",_.P(b,16)),BJ(f,"Available Offline",_.P(b,18)),BJ(f,"Wksp to add",_.ie(b,31)),BJ(f,"Wksp to remove",_.ie(b,32)),b=_.x(b,_.Ak,25))BJ(f,"Read Only",_.P(b,1)),BJ(f,"Reason",_.B(b,2))}else b instanceof _.yJ?(BJ(f,"WS ID",b.getId()),BJ(f,"Title",b.getTitle()),BJ(f,"State",b.getState())):b instanceof _.ttc&&BJ(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+e+(c?" ("+c+")":"")+
"\n"+f.join("\n"));a.aj.add(d);return d};_.Lwc=function(a,b){for(var c=new _.Eo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.Ssc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};_.Hwc.prototype.cR=function(){return this.aj.jh()};_.qK=function(a){_.J.call(this,a)};_.K(_.qK,_.J);_.qK.prototype.ad=function(){return _.x(this,_.UA,1)};_.Mwc=function(a,b){return _.I(a,1,b)};_.qK.prototype.Vn=function(){return _.B(this,3)};
_.Nwc=function(a,b,c){_.ni.call(this,"Hb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.Nwc,_.ni);
_.Owc=function(a,b){this.O=a;this.V=b;this.H=null};
var rK=function(a){_.xi.call(this);this.name=a};_.K(rK,_.xi);_.g=rK.prototype;_.g.Q3=function(){};_.g.NEa=function(){};_.g.T0a=function(){};_.g.sMa=function(){};_.g.S0a=function(){};_.g.MF=function(){this.dispatchEvent(new _.ni("Ib"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var Pwc=function(a,b){rK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.O,"Bb",function(d){d.Oe()||c.MF()});this.Rc.listen(this.H,"pb",this.MF)};_.K(Pwc,rK);Pwc.prototype.max=function(){var a=this.O.Oe(),b=this.H.yB();return!a&&b?Infinity:0};Pwc.prototype.Q3=function(){this.MF()};
var Qwc=function(a){rK.call(this,"Online");var b=this;this.connectionState=a;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.connectionState,[_.KB.yL,_.KB.Lga,_.KB.oU],function(){return b.MF()})};_.K(Qwc,rK);Qwc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};Qwc.prototype.Q3=function(){this.MF()};
_.Rwc=function(a,b){this.H=a;this.O=b};_.Swc=function(a){return a.H instanceof _.oK?new Qwc(a.H.getState()):new Pwc(a.O,a.H)};_.Rwc.prototype.Fj=function(){return this.H instanceof _.oK?this.H.getState():this.O};
var Uwc;_.Twc=function(a,b,c){this.yK=c;this.O=!0;this.V=0;this.H=new _.SH(a,b,.5)};Uwc=function(a){return a.H.O+a.V};
_.sK=function(a,b){rK.call(this,"Backoff");this.H=a;this.O=b};_.K(_.sK,rK);_.sK.prototype.max=function(){return this.H.O?Infinity:0};_.sK.prototype.sMa=function(){var a=this.H;a.V=0;a.H.reset()};_.sK.prototype.S0a=function(a){var b=this;Vwc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Ya(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.MF()},a),_.TH(this.H.H))};
var Vwc=function(a){var b;return(a=null===(b=_.ia(a.ED))||void 0===b?void 0:b.response)?dtc(_.Tca(a)):!1};_.sK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.Wwc=function(a,b){rK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.K(_.Wwc,rK);_.Wwc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.Wwc.prototype.Q3=function(a){a>=this.O?this.MF():null==this.H&&Xwc(this)};_.Wwc.prototype.NEa=function(a,b){0<b?Xwc(this):this.H=null};var Xwc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.MF.bind(a),a.V)};
_.tK=function(){this.aj=[]};_.g=_.tK.prototype;_.g.add=function(a,b){b?this.aj.unshift(a):this.aj.push(a);return!0};_.g.usa=function(a){return _.sa(this.aj,0,a)};_.g.zd=function(){return this.aj.length};_.g.cancel=function(a){return _.xa(this.aj,function(b){return b.Dv.config.requestId===a?(b.ie.resolve(Htc(b.Dv.Iw)),!0):!1})};_.g.eK=function(){return _.wg(this.aj,function(a){return _.DJ(a.Dv.Iw)})};
var Ywc=function(){rK.call(this,"Immediate")};_.K(Ywc,rK);Ywc.prototype.max=function(){return Infinity};Ywc.prototype.Q3=function(){this.MF()};
var Zwc=function(){rK.call(this,"One Request")};_.K(Zwc,rK);Zwc.prototype.max=function(){return 1};
_.uK=function(a){rK.call(this,"Parallel");this.limit=a;this.H=0};_.K(_.uK,rK);_.uK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.uK.prototype.Q3=function(){this.H<this.limit&&this.MF()};_.uK.prototype.NEa=function(a){this.H+=a.length};_.uK.prototype.T0a=function(a){this.H-=a.length;this.H<this.limit&&this.MF()};
var $wc=function(){_.xi.apply(this,arguments)};_.K($wc,_.xi);var bxc=function(a,b){a.dispatchEvent(new axc(b))};$wc.prototype.O=function(){};var axc=function(a){_.ni.call(this,"Jb");this.request=a};_.K(axc,_.ni);
_.vK=function(a,b,c,d,e,f){_.xi.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ka=0;this.W=new Map;this.Rc=new _.jf(this);this.La(this.Rc);for(a=0;a<this.H.length;a++)this.Rc.listen(this.H[a],"Ib",this.S_a);for(a=0;a<this.O.length;a++)this.Rc.listen(this.O[a],"Jb",function(k){cxc(h,!0,k.request)});this.logName=_.nt("drive.ds.network.queue.Queue [%s]",f)};_.K(_.vK,_.xi);_.vK.prototype.add=function(a){return cxc(this,!1,{Dv:a,ie:_.Xh(),ED:[]})};
_.vK.prototype.cancel=function(a){var b=this.V.cancel(a),c=this.buckets.some(function(d){return d.cancel(a)});b?this.log("Canceled ID "+a+" during execution."):c&&this.log("Canceled ID "+a+" inside bucket.");return b||c};_.vK.prototype.eK=function(){return this.V.eK()?!0:this.buckets.some(function(a){return a.eK()})};
var cxc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.cq(new _.Lc,"No queue bucket accepted request."),_.Vh(_.Rc(a));for(var d=dxc(a),e=0;e<a.H.length;e++)a.H[e].Q3(d);return c.ie.promise};_.g=_.vK.prototype;
_.g.S_a=function(){var a=dxc(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.buckets.length&&0===c.length;d++)c=this.buckets[d].usa(b);0<c.length&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),this.execute(c))}};
_.g.execute=function(a){var b=this,c=String(this.ka++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.qwb.bind(this,a[e]),this.pwb.bind(this,a[e]));e=dxc(this);for(var f=0;f<this.H.length;f++)this.H[f].NEa(a,e);_.Zh(_.eI(d).then(this.owb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.S_a.bind(this),0)};
_.g.qwb=function(a,b){var c=a.Dv.config;this.log(Gtc(a.Dv.Iw)+" request completed successfully. xd4: "+!(!c||!c.zN));this.H.forEach(function(d){return d.sMa()});this.O.forEach(function(d){return d.O(a)});a.ie.resolve(b)};
_.g.pwb=function(a,b){b=_.Rc(b);this.log(Gtc(a.Dv.Iw)+(" request failed with error: "+b.ha+"."));a.ED.push({response:b,jSb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].S0a(a);a.Dv.config.JEa||!this.O.some(function(d){return d.intercept(a)})?a.ie.reject(b):this.log(Gtc(a.Dv.Iw)+" encountered an error, but was intercepted to be retried.")};_.g.owb=function(a){dxc(this);for(var b=0;b<this.H.length;b++)this.H[b].T0a(a)};
var dxc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].zd()){b=a.buckets[c].zd();break}return b};_.vK.prototype.log=function(a){this.ha.info(this.logName,a)};
_.exc=function(a,b,c,d){$wc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Oj(a,21,1E3);this.ta=_.Oj(a,1,1);this.ma=function(){return new _.Twc(_.Oj(a,63,1E3),_.Oj(a,64,3E5),_.Oj(a,65,10))}};_.K(_.exc,$wc);
_.exc.prototype.intercept=function(a){var b=a.ED.length,c=0<b&&_.ia(a.ED).response||null;if(c){c=_.uI(c);if(2===c.zp())return fxc(this,a);if(_.usc(c))return 2>=b?(bxc(this,a),a=!0):a=!1,a;var d=c.hk();if(3===d||31===d||13===d||9===d)return gxc(this,a,b);if(dtc(c))return b=Uwc(this.V),c=this.V,Uwc(c)<c.yK?(this.log("Backoff number "+b+" for a User Rate Limit error."),bxc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var fxc=function(a,b){var c=hxc(a,b),d=Uwc(c);if(Uwc(c)<c.yK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Oe()?(d=c.H.Ya(),_.n.setTimeout(function(){return bxc(a,b)},d),_.TH(c.H)):(_.n.setTimeout(function(){return bxc(a,b)}),c.V++),!0;a.H.delete(b);return!1},hxc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},gxc=function(a,b,c){var d=a.ta;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return bxc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.exc.prototype.O=function(a){this.H.delete(a)};_.exc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var ixc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.vsc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.GIb,d=dvc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.EIb(_.GI(e),"reading data"))}},jxc=function(a){return ixc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var kxc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ja=c;this.W=d;this.Pa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.wa=this.ha=null;this.ie=_.Xh();this.finished=!1;this.Ba=this.Bu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Gz();a=_.vsc()&&a?_.B(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.jO="progress_"+this.requestId;h.jO=this.jO;this.ma=!!f.metadata};
kxc.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};kxc.prototype.start=function(){var a=this,b=new ztc(this.request.request,this.request.metadata),c=lxc(this);this.Ha.then(function(d){return d.Pe(b,c)}).then(function(d){a.ha=d.O;a.wa=d.H;a.Fa=d.V;mxc(a)},function(d){return void a.ie.reject(d)});return _.Zh(this.ie.promise.then(function(d){nxc(a,d);return d},function(d){d=_.Rc(d);nxc(a,d.Fg);return _.Vh(d)}),function(){ywc(a.H,[a.jO])})};
var lxc=function(a){var b=_.cb(a.config);xwc(a.H,a.jO,Guc(function(){return void a.H.notify([a.requestId],0)}));return b};kxc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ie.resolve(Htc(this.request)),!0)};
var mxc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),oxc(a,4))},oxc=function(a,b){pxc(a).then(function(c){if(c){var d=qxc(a,c.blob.size);a.Ha.then(function(f){return f.Pe(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.XJ()&&(a.wa=f.XJ());f.MM()&&(a.Fa=f.MM());a.progress<a.fileSize?mxc(a):a.ie.resolve(f)},function(f){if(d.JEa)a.cancel();else{var h=_.uI(f);h.xBa()||h.mla()||a.ma?rxc(a,b,h,!1):jxc(c.blob).then(function(k){k=k?_.JEa.get(k)||
25:38;_.EI(h,k);rxc(a,b,h,38===h.zp(),38!==h.zp()&&25!==h.zp())},function(){})}})}else{var e=_.Rc(_.EI(_.cq(new _.Lc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ie.reject(e)}})},rxc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.kfa(f);!e&&0<b?(a.Bu++,d&&(a.W=Math.max(262144*Math.floor(a.W/262144/2),8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.W+" bytes "):"")+"for ")+
(a.ha+"."));oxc(a,b)},a.Pa*Math.pow(1.5,f))):a.ie.reject(_.Rc(c))},pxc=function(a,b){return a.ma&&a.V?_.Uh(a.V):sxc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return pxc(a,Math.min(2*a.O,a.fileSize-a.progress));a.ka&&(c=new Blob([a.ka,c]),a.ka=null);var d=c.size%262144;a.finished=a.progress+a.O===a.fileSize;0<d&&!a.finished&&(a.ka=c.slice(-1*d),c=c.slice(0,-1*d));a.V=new Atc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.B(a.request.request,12)||
void 0);return a.V})},sxc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.kQ?a.request.kQ(b,a.O):_.Uh(_.Usc(a.request.file,b,b+a.O))},qxc=function(a,b){var c=_.cb(a.config);c.vRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;ywc(a.H,[a.jO]);xwc(a.H,a.jO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},nxc=function(a,b){b.tMa(3);b.kfa(a.Bu);b.XJ()||b.Gca(a.wa);b.MM()||b.xca(a.Fa)};
_.txc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.txc.prototype.create=function(a,b){return new kxc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.uxc=function(a){this.O=a;this.H={}};_.uxc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Dv.Iw instanceof _.Btc)b.push(vxc(this,a[c].Dv));else{var d=_.cq(new _.Lc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.Rc(d)))}return b};_.uxc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.uxc.prototype.eK=function(){return!_.Za(this.H)};
var vxc=function(a,b){var c=a.O.create(b.Iw,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Zh(d,function(){delete a.H[e]})};
_.wxc=function(a,b){return new _.vK(b,a,[new Ywc],[new _.tK],[],"immediate")};_.xxc=function(a,b,c,d,e){return new _.vK(e,a,[_.Swc(d),new _.sK(c,e),new Zwc],[new _.tK],[new _.exc(b,c,d.Fj(),e)],"connected")};_.yxc=function(a,b,c,d,e,f,h){h=void 0===h?_.Oj(b,10,50):h;return new _.vK(e,a,[_.Swc(d),new _.Wwc(h,_.Oj(b,12,10)),new _.uK(3*h),new _.sK(c,e)],[new _.tK],[new _.exc(b,c,d.Fj(),e)],f)};_.zxc=function(a,b,c){return new _.vK(c,a,[new _.uK(_.Oj(b,46,1))],[new _.tK],[],"resumable_upload")};
_.Axc=function(a,b,c,d,e,f,h,k){this.fI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.Axc.prototype.Pe=function(a,b){return Bxc(this,a,b).then(null,function(c){c=_.Rc(c);var d=c.Fg;Itc(a)||_.eq(d);return _.Vh(c)})};
var Bxc=function(a,b,c){c=void 0===c?{}:c;var d=a.fI.validate(b);if(d)return _.Vh(_.Rc(d));var e=a.ma.translate(b);e instanceof _.Lc?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.V.execute(a,f,c)}).filter(function(f){return!!f}),d=0<d.length?Promise.all(d):void 0):d=a.V.execute(a,e,c)||void 0;return _.Uh(d).then(function(){if(e instanceof _.Lc)return _.Vh(_.Rc(e));if(Array.isArray(e)){var f=e.map(function(h){return Cxc(a,b,h,c)});return _.eI(f)}return Cxc(a,b,e,c)},function(f){return _.Vh(_.Rc(f))})},
Cxc=function(a,b,c,d){var e=Dxc(a,c);if(!e)return b=_.EI(_.cq(new _.Lc,"Failed to choose a queue for server request."),18),_.Vh(_.Rc(b));if(e===a.H[7]||e===a.H[8])d.zN=!0;d=e.add({Iw:c,config:d});(_.DJ(b)||_.DJ(c))&&_.Zh(d,function(){var f=a.W;f.O()||(f.H&&(f.H.resolve(),f.H=null),f.V())});b=a.ha.apply(c,d);d.then(function(f){a.ka.apply(c,f)},function(){});return b};_.Axc.prototype.cancel=function(a){return _.Ta(this.H,function(b){return b.cancel(a)})};
var Dxc=function(a,b){var c,d=!1;b instanceof _.$I?d=!(null===(c=_.x(b,_.SF,2))||void 0===c||!_.P(c,7)):b instanceof _.SF?d=!!_.P(b,7):b instanceof _.mI&&(d=(d=b.ld())&&!!_.P(d,46));return(b instanceof _.Etc||b instanceof _.CI&&_.P(b,9))&&a.H[1]?a.H[1]:b instanceof _.Btc&&a.H[5]?a.H[5]:d&&Ptc(b,a.O)&&a.H[7]?a.H[7]:Ptc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.$I||b instanceof _.SF)&&a.H[6]?a.H[6]:(d||Fwc.includes(b.constructor))&&a.H[3]?a.H[3]:Jtc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var Exc=function(a){this.H=a};Exc.prototype.build=function(a,b){var c="====="+_.bh()+"=====",d=a[0].Zm,e=b.every(function(l){return l.zN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=Ewc(this.H,a[0].Zm);_.kj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=Fxc[d],h=Gxc[d]||{},h["content-type"]=_.nt('multipart/mixed; boundary="%s"',c),d=Hxc[d],k=new _.dj("");a=Ixc(this,a,b,c,e);return{Zm:f,body:a,headers:h,method:d,uri:k}};
var Ixc=function(a,b,c,d,e){for(var f=ntc(Jxc[b[0].Zm]||{}),h="",k=0;k<b.length;k++){e&&Cwc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=Dwc(p,q.Zm,q.uri);switch(q.Zm){case 0:case 5:Bwc(p,q,r);Awc(p,q,r);break;case 2:Cwc(p,q,r);Bwc(p,q,r);var v=q,z=_.B(p.H.Vf(),57);v.headers.host=_.oj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;Awc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.Zm);default:throw Error("bf`"+
q.Zm);}p=l;q=p.uri.clone();_.ej(q,"");_.fj(q,"");_.gj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+ntc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},Kxc={},Fxc=(Kxc[0]=1,Kxc[2]=3,Kxc),Lxc={},Hxc=(Lxc[0]="POST",Lxc[2]="PUT",Lxc[12]="POST",Lxc),Mxc={},Nxc={},Gxc=(Nxc[2]=(Mxc["x-goog-upload-protocol"]="batch",Mxc),Nxc),Oxc={},Pxc={},Qxc={},Rxc={},Jxc=(Rxc[0]=(Oxc["content-type"]="application/http",Oxc["content-transfer-encoding"]="binary",Oxc),Rxc[12]=
(Pxc["content-type"]="application/http",Pxc["content-transfer-encoding"]="binary",Pxc),Rxc[2]=(Qxc["content-type"]="application/http",Qxc),Rxc);
var Sxc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,Txc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Uxc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.aj=new Map};Uxc.prototype.add=function(a,b){var c="DEFAULT";b.zN&&(c=Ewc(this.V,a.Zm).toString());this.aj.has(c)||this.aj.set(c,[]);c=this.aj.get(c);if(1<=c.length&&!b.zN&&!Fxc[a.Zm])return a=_.cq(new _.Lc,"Unsupported batch API: "+a.Zm),_.Vh(_.Rc(a));var d=_.Xh();c.push({request:a,config:b,ie:d});return d.promise};
Uxc.prototype.send=function(){for(var a={},b=_.m(this.aj.entries()),c=b.next();!c.done;a={cra:a.cra},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{Vxc(this,d)}catch(f){var e=_.GI(f);e=_.dq(_.cq(new _.Lc,"Error executing XHR: "+e.message),e.stack);a.cra=_.Rc(e);d.forEach(function(h){return function(k){k.ie.reject(h.cra)}}(a));this.aj.delete(c)}}};
var Vxc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.bCa&&!c.config.zN){var d=!1;if(Fxc[c.request.Zm]){var e={Zm:c.request.Zm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.hc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){Wxc(a,c);return}}}Xxc(a,b)},Wxc=function(a,b){var c=b.ie;a.W.nh(b.request,b.config).then(function(d){c.resolve(d);Yxc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},Xxc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.nh(a.ha.build(c,d),{bCa:!0,zN:d.every(function(e){return e.zN})}).then(function(e){e.headers=_.Xsc(e.headers);var f=Txc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Nc("Could not extract batch boundary.",_.EI(_.dq(new _.Lc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Wd(_.Bia(h[0]),f)&&_.Me(h[1]))h=_.Bia(h[0]).substring(f.length);else throw new _.Nc("Could not parse batch response; did not begin and end with boundary.",
_.EI(_.dq(new _.Lc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,C=f[l],G=p&&p.uri,H=C.split("\r\n\r\n");if(2>H.length)v=new _.Nc("Individual batch response contained too few parts.",_.EI(_.dq(new _.Lc,C),17));else{var L=H[1].split("\r\n");if(z=Sxc.exec(L[0])){p=_.dh(z[1]);z=z[2];L.shift();A=_.cb(A);for(var O=Object,T=O.assign,U={},ca=0;ca<L.length;ca++){var ba=_.Kia(L[ca],":",1);ba&&2===
ba.length&&(U[(0,_.yg)(ba[0])]=(0,_.yg)(ba[1]))}L=_.Xsc(U);T.call(O,A,L);try{v=_.Me(_.ah(H[2]))?void 0:JSON.parse(H[2])}catch(ma){}v=(p=_.btc(p,z,A,C,v,void 0,void 0,G&&G.toString()))?_.Rc(p):{headers:A,text:C,json:v||void 0}}else v=new _.Nc("Could not extract HTTP status code and text.",_.EI(_.dq(new _.Lc,C),16))}r.call(q,v)}return k}).then(null,function(e){e=_.Rc(e);return _.xpc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ie,l=e[h];l instanceof _.Lc||l instanceof _.Nc?
(l=_.Rc(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Yxc(a,b[0])})},Yxc=function(a,b){var c=b.request.Zm;b=!b.config.ru&&_.oa(Zxc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=qwc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.vj(),a.H=null)}else a.O&&b&&a.O.wa()};
Uxc.prototype.handleError=function(a,b){a=_.Tca(b);if(2===a.zp()){if(this.H)return _.swc(this.H),!0}else if(_.usc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.rwc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var Zxc=[0,2,4,7,8];
var $xc=function(){_.aj.apply(this,arguments)};_.K($xc,_.aj);$xc.prototype.getAllResponseHeaders=function(){return _.Bia(_.aj.prototype.getAllResponseHeaders.call(this))};
var ayc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
ayc.prototype.nh=function(a,b){var c=this;try{this.W.hc(a,b);var d=new $xc;d.kC=!0;var e=b.requestId||"",f=_.Xh();d.listen("complete",function(){var h=b.bCa,k=4===a.Zm;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.oma(d),text:d.wl()};if(!h)try{l.json=_.JH(d)}catch(p){}h=_.btc(d.Cb(),_.lma(d),l.headers,l.text,l.json,d.O,_.pma(d),String(d.ta),k);d.dispose();h?f.reject(_.Rc(h)):f.resolve(l)});e&&b.jO&&!b.zN&&(this.O[e]=d,this.H[e]=b,d.Fb=!0,d.listen("uploadprogress",
function(h){h.lengthComputable&&c.V.notify([b.jO],b.vRa?h.loaded/h.total:h.loaded/h.total/2)}),b.vRa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.jO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Vh(_.Rc(h))}};ayc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.JEa=!0,b.abort(),!0):!1};
_.byc=function(a,b,c,d,e,f,h){this.O=a;this.wa=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new Exc(this.O);this.W=new ayc(this.O,this.wa)};_.g=_.byc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Dv;this.V.push(e);b.push(this.Ba.DE(e,a[d].ED));c.push(Gwc(e.Iw)?_.Kwc(this.ma,e.Iw):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.Rc(_.btc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Uxc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={Jqa:e.Jqa},k++){e.Jqa=a[k].Dv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Jqa)}}(e));d.push(l)}Promise.allSettled(b).then(function(){h.send()});
b=[];for(e=0;e<a.length;e++)k=a[e].Dv,l=d[e].then(this.Vnb.bind(this,k.Iw,c[e],a[e].ED)).then(null,function(p){return Promise.reject(_.Rc(p))}),l.then(this.uMa.bind(this,k),this.uMa.bind(this,k)),b.push(l);return b};_.g.Vnb=function(a,b,c,d){a=this.ta.DE(a,d,c);b&&(c=a.Ad?a.Ad():[],_.Lwc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.eK=function(){return this.V.some(function(a){return _.DJ(a.Iw)})};_.g.uMa=function(a){_.wa(this.V,a)};
_.cyc=function(){};_.cyc.prototype.execute=function(){return null};
var dyc=function(){};
var eyc=function(a,b){this.H=a;this.O=b};
_.fyc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};
var gyc=function(a){return"drive#fileList"===a.kind};
var hyc;hyc=function(a){this.H=a};_.wK=function(a,b){if(!_.Da(b))throw new _.Nc("Expected an object, but got a "+_.vga(b)+".",_.FI(11,void 0,8));var c=b.kind;if(!c)throw new _.Nc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.FI(11,void 0,21));if(!a.includes(c))throw new _.Nc("Expected "+a.join(" or ")+" but got a "+c+".",_.FI(11,void 0,9));};_.xK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.iyc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=new _.yk;c=_.w(c,1,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=_.w(b,10,a.canManageMembers);b=_.w(b,11,a.canManageVisitors);b=_.w(b,20,a.canMoveItemIntoTeamDrive);b=_.w(b,17,a.canMoveTeamDriveItem);b=_.Vtc(b,a.canReadTeamDrive);b=_.w(b,7,a.canRemoveChildren);b=_.w(b,12,a.canRename);b=_.w(b,13,a.canRenameTeamDrive);
b=_.w(b,8,a.canShare);b=_.w(b,9,a.canTrash);b=_.w(b,21,a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.w(b,30,a.canMoveItemWithinTeamDrive);b=_.w(b,31,a.canMoveItemOutOfTeamDrive);b=_.w(b,32,a.canMoveChildrenWithinTeamDrive);b=_.w(b,33,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=_.w(b,42,a.canShareChildFiles);b=_.w(b,43,a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.w(b,45,a.canMoveItemWithinDrive);b=_.w(b,46,a.canMoveItemOutOfDrive);b=_.w(b,47,a.canMoveChildrenWithinDrive);b=_.w(b,48,a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);b=_.w(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.w(b,52,a.canCreateDecryptedCopy);b=_.w(b,
53,a.canCreateEncryptedCopy);b=_.w(b,54,void 0===a.canAddEncryptedChildren?a.canAddChildren:a.canAddEncryptedChildren);return _.w(b,55,a.canBlockOwner)};_.yK=function(a,b){_.wK(["drive#user"],b);var c=_.Ttc(_.Utc(_.Rtc(1).Nb(b.permissionId),b.id).$c(b.displayName),b.emailAddress);b.picture&&c.Jn(b.picture.url);_.lI(a.H)&&_.Ttc(c,b.emailAddressFromAccount||b.emailAddress);_.Stc(c,a.zf(b.id));_.w(c,9,b.domain);return c};hyc.prototype.zf=function(a){if(a)return _.QJ(_.XH(this.H))==a};
var jyc,oyc,wyc,Cyc,ryc,qyc,tyc,vyc,xyc,lyc,zyc,yyc,Ayc,Byc,Eyc,Fyc,Dyc,uyc;jyc=function(a,b){this.H=a;this.O=b};
_.myc=function(a,b,c){var d=new _.qK,e=new _.UA,f=e.LA;_.wK(["drive#fileList","drive#file"],b);var h=[];if("drive#file"===b.kind)(a=_.kyc(a,b))&&h.push(a);else if(gyc(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.kyc(a,k[l]);h.push(p)}e=f.call(e,h);if(gyc(b)){_.w(e,8,b.incompleteSearch);_.wK(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=_.m(h.spellCorrections);for(a=q.next();!a.done;a=q.next()){h=[];a=_.m(a.value.spellFragments);for(k=a.next();!k.done;k=a.next())k=k.value,l=(new _.Fsb).Ac(lyc.get(k.status)),
l=_.w(l,1,k.original),k=_.w(l,3,k.correction),h.push(k);a=new _.Jsb;h=_.Ej(a,1,h);f.push(h)}q=new _.Lsb;_.Ej(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.Hsb;_.Cj(r,1,f)}q||r?(f=new _.Msb,q&&_.I(f,1,q),r&&_.I(f,2,r),r=f):r=null;_.I(e,7,r);_.wK(["drive#fileList"],b);r=[];f=_.m(b.items||[]);for(q=f.next();!q.done;q=f.next())q=q.value,h=q.id,!h||"1"!=q.searchResultSource&&"3"!=q.searchResultSource||r.push(h);_.Cj(e,18,r)}d=_.Mwc(d,e);c=_.Zsc(c);c=_.w(d,2,c);gyc(b)&&b.nextPageToken&&_.w(c,
3,b.nextPageToken);return c};
oyc=function(a,b,c,d,e){_.wK(["drive#adminFile","drive#file","drive#revision"],b);var f=_.cvc(new _.CJ,c);"drive#adminFile"===b.kind?(_.wK(["drive#adminFile"],b),c=(new _.Fk).Nb(b.id),b.parentId&&_.LJ(c,[b.parentId]),_.iuc(c,b.teamDriveId),f.setItem(c),_.cvc(f,c.getId())):"drive#file"===b.kind?(b=_.kyc(a,b),f.setItem(b),c||_.cvc(f,b.getId())):"drive#revision"===b.kind&&(b=_.nyc(a,b),_.I(f,4,b));f.Gca(_.Ysc(d));f.xca(_.Zsc(d));(d=(d=d&&_.Xsc(d))&&d["x-server-object-version"])&&e&&(e=(new _.WJ).Nb(d),
_.I(f,4,e));f.Ac(1);return f};_.pyc=function(a,b){return _.cvc(new _.CJ,a).Ac(1).Gca(_.Ysc(b)).xca(_.Zsc(b))};
_.syc=function(a,b){_.wK(["drive#permission"],b);var c=_.Stc(_.Utc(_.Rtc(qyc.get(b.type)).Nb(b.id),b.userId),a.H.zf(b.userId));c=_.w(c,4,b.withLink);c=_.Ttc(c.$c(b.name).Jn(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);_.lI(a.O)&&c.$c(b.nameIfNotUser);b.role&&(a=ryc.get(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};
_.kyc=function(a,b){_.wK(["drive#file"],b);var c=b.title,d=(new _.Fk).Nb(b.id),e=[];if(b&&b.parents)for(var f=_.m(b.parents),h=f.next();!h.done;h=f.next())e.push(h.value.id);c=_.euc(_.ZF(_.LJ(d,e).setTitle(c),b.mimeType),b.alternateLink);c=_.w(c,44,b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.Vl(b.description);_.w(c,26,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);b.labels&&(d=b.labels,c.Lv(d.starred),_.w(c,6,d.hidden),c.Kn(d.trashed),_.w(c,8,d.restricted),_.w(c,9,d.viewed));_.w(c,10,_.xK(b.createdDate));_.w(c,69,_.xK(b.serverCreatedDate));_.w(c,11,_.xK(b.modifiedDate));_.w(c,12,_.xK(b.modifiedByMeDate));_.w(c,13,_.xK(b.lastViewedByMeDate));_.w(c,23,_.xK(b.sharedWithMeDate));_.w(c,62,_.xK(b.Fbc));_.w(c,70,_.xK(b.recency));b.recencyReason&&(d=tyc.get(b.recencyReason)||0,_.w(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,
f=0;f<e.length;f++)(h=_.yK(a.H,e[f]))&&d.push(h);_.cuc(c,d);b.lastModifyingUser&&(d=_.yK(a.H,b.lastModifyingUser),_.duc(c,d));b.userPermission&&(d=ryc.get(b.userPermission.role),_.u7b(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.IJ).qh(e.width).oh(e.height),d=_.w(d,4,e.rotation),e.date&&(e=e.date,f=new _.Zrc,f.setMilliseconds(0),uyc.parse(e,f),_.w(d,1,f.getTime())),_.I(c,27,d));null!=b.folderColor&&_.fuc(c,Number(b.folderColor));_.w(c,31,b.subscribed);_.w(c,45,b.fileExtension);_.Cj(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=_.yK(a.H,b.sharingUser),_.guc(c,d));b.sources?_.Cj(c,56,b.sources):b.gplusMedia&&_.Cj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.qpc[h]&&(h=_.vf(new _.uf,_.qpc[h]),e.push(h));c.wA(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++){var k=d[f];k.id&&k.type&&(h=(new _.Sna).Nb(k.id),k=vyc.get(k.type),h=_.w(h,2,k),e.push(h))}_.Ej(c,83,e)}b.capabilities&&_.MJ(c,_.iyc(b.capabilities));b.permissionsSummary&&_.juc(c,wyc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);
b.templateData&&(d=b.templateData,e=(new _.JJ).Vl(d.description),f=xyc.get(d.galleryState),e=_.w(e,3,f),d=_.Cj(e,2,d.category),_.I(c,86,d));_.iuc(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.yK(a.H,b.creator),_.kuc(c,d));_.luc(c,b.primaryDomainName);_.muc(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&_.nuc(c,_.yK(a.H,b.trashingUser));c.Kca(_.xK(b.trashedDate));b.version&&_.w(c,75,Number(b.version));
_.w(c,98,b.hasVisitorPermissions);_.w(c,102,b.hasAppsScriptAddOn);if(d=b.pairedDocType)d=yyc.get(d),_.w(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.KJ).qh(d.width).oh(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.I(c,103,e));_.Cj(c,104,b.detectors);_.w(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,h=_.Xtc(new _.Ak,f.readOnly),f=_.w(h,2,f.reason),d.push(f);_.Ej(c,125,
d)}if(d=b.publishingInfo)_.w(c,118,d.published),_.w(c,119,d.publishedUrl);_.Cj(c,120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.w(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Una).Nb(f.approvalId).Ac(zyc.get(f.status)),d.push(f);_.Ej(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.coa,e=_.w(e,1,d.targetId),
e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&(f=Ayc.get(d.targetLookupStatus)||0,_.w(e,4,f)),d.targetFile&&(d=_.kyc(a,d.targetFile),_.I(e,5,d)),_.I(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.HJ,f=Byc.get(d.encryptionState),e=_.w(e,1,f),d.decryptionMetadata&&(d=Cyc(d.decryptionMetadata),_.I(e,2,d)),_.I(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Ytc,e=_.w(e,2,d.securityUpdateEligible),e=_.w(e,3,d.securityUpdateEnabled),
d=_.w(e,5,d.securityUpdateExplicitlySet),_.I(c,139,d));_.w(c,140,b.resourceKey);_.Cj(c,135,b.authorizedAppIds);_.ouc(c,b.customerId);_.w(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=Dyc.get(b.abuseNoticeReason)||0,_.w(c,145,b));_.ltc(c);_.lI(a.O)&&_.huc(c,5);return c};
_.nyc=function(a,b){_.wK(["drive#revision"],b);var c=(new _.WJ).Nb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.xK(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=_.yK(a.H,b.lastModifyingUser),_.I(c,9,a));b.decryptionMetadata&&(b=Cyc(b.decryptionMetadata),_.I(c,10,b));return c};
wyc=function(a,b){return _.auc(_.$tc(_.Ztc(new _.Yna,b.entryCount),(b.visibility||[]).map(function(c){var d=_.Rtc(qyc.get(c.type));d=_.w(d,9,c.domain);d=_.w(d,4,c.withLink).Nb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=ryc.get(c.role);2==e&&c.additionalRoles&&"commenter"==c.additionalRoles[0]&&(e=4);_.w(d,6,e)}return d})),(b.selectPermissions||[]).map(function(c){return _.syc(a,c)}))};
Cyc=function(a){var b=a.wrappedKey;var c=new _.Wtc;b=b?_.Uqc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);b=Eyc.get(a.aes256GcmChunkSize);c=_.w(c,3,b);b=Fyc.get(a.keyFormat);c=_.w(c,6,b);return _.w(c,4,a.jwt)};ryc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);qyc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);tyc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
vyc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);xyc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);lyc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);zyc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);yyc=new Map([["docs",1],["sheets",2],["slides",3]]);Ayc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);Byc=new Map([["unencrypted",1],["encrypted",2]]);Eyc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
Fyc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);Dyc=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",8]]);uyc=new _.RVa("yyyy:MM:dd HH:mm:ss");
var Gyc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var Jyc;_.Hyc=function(a){this.ka=a;this.V=new hyc(a);this.mF=new jyc(this.V,a)};_.Hyc.prototype.DE=function(a,b,c){c=void 0===c?[]:c;try{return Iyc(this,a,b,c)}catch(d){_.HI(d)}};
var Iyc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.OI)return _.zK(a,b,c);if(b instanceof _.XI)return Jyc(0,c,d);if(b instanceof _.SF||b instanceof _.$I){if(!c.json)throw _.AK();return _.myc(a.mF,c.json,c.headers)}if(b instanceof _.zJ)return _.zK(a,b,c);if("undefined"!=typeof _.wtc&&b instanceof _.wtc){if(!c.json)throw _.AK();a=c.json;return new _.fyc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.Kyc&&b instanceof _.Kyc){if(!c.json)throw _.AK();
return _.nyc(a.mF,c.json)}if(b instanceof _.oJ)return Jyc(b.ld(),c,d);if(b instanceof Atc){if(b.V){if(!c.json)throw _.AK();a=oyc(a.mF,c.json,null,c.headers,!!b.revisionId)}else a=_.pyc(null,c.headers);return a}if(b instanceof ztc){a=_.Xsc(c.headers);b=a.location;if(!b)throw a=_.EI(new _.Lc,10),new _.Nc("No upload session URI included.",a);return new Gyc(b,_.Ysc(a),_.Zsc(a))}if(b instanceof _.Etc)return new dyc;throw new _.Nc("FromXhrConverter: Unsupported request type.",new _.Lc);};
_.Hyc.prototype.ha=function(){return null};Jyc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new eyc(_.aba(b.text),c.length):new eyc(new Uint8Array(_.Ema(b.text)),c.length)};_.zK=function(a,b,c){if(!c.json){if(b instanceof _.wI)return _.pyc(_.Lyc(b));throw _.AK();}var d=!1;b instanceof _.zJ&&(d=!!_.B(b.request,12));return oyc(a.mF,c.json,_.Lyc(b),c.headers,d)};_.AK=function(){var a=_.EI(new _.Lc,11);return new _.Nc("FromXhrConverter: JSON required, but none found",a)};
_.Lyc=function(a){return a.getId?a.getId():a.qc?a.qc():null};
var Pyc,Qyc,Syc,Myc,Tyc,Nyc;
Pyc=function(a,b){var c={};_.Me(_.ah(a.getTitle()))||(_.B(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.qc()&&_.wfa(a.getMimeType())&&b)){var d=b.l$(),e=b.H(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.rj(b.V()),h.kaclsId=b.wa(),h.aes256GcmChunkSize=Myc[d?d.H():0],h.keyFormat=Nyc[e?e.H():0],h);c.clientEncryptionDetails=f}_.Oyc(c,_.ie(a,3));(b=a.qc())&&(c.id=b);_.B(a,16)&&(c.embeddingParent=_.B(a,16));a.G1()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.G1());"number"===typeof _.B(a,26)&&(c.modifiedDate=_.yuc(_.pvc(_.B(a,26)||0)));return c};_.Oyc=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)}}};Qyc={};_.Ryc=(Qyc[1]="active",Qyc[2]="archived",Qyc);Syc={};Myc=(Syc[0]="unset",Syc[1]="default",Syc[2]="small",Syc[3]="size16kb",Syc);Tyc={};Nyc=(Tyc[0]="unsetKeyFormat",Tyc[1]="tinkKeyset",Tyc[2]="tinkAesGcmKey",Tyc);
var Wyc=function(a,b,c){return(a.kQ?a.kQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return ixc(d)}).then(function(d){return Uyc(a,b,d,c)},Vyc)},Uyc=function(a,b,c,d){var e=!!_.B(a.request,12),f="files";e&&(f+="/"+_.B(a.request,12));f=new _.dj(f);_.kj(f,"uploadType","multipart");_.kj(f,"supportsTeamDrives",!0);_.kj(f,"pinned",!!_.Q(a.request,13,!1));null!=_.P(a.request,8)&&_.kj(f,"convert",_.P(a.request,8));_.kj(f,"fields",_.gtc({fields:_.YJ(b).filter(function(q){return 194!=q}),yq:!1}));
mtc(f,a.request.se());var h=Pyc(a.request,a.metadata),k=_.bh();b={};b=(b["content-type"]=_.nt('multipart/related; boundary="%s"',k),b);var l=c.indexOf(",");c=0<=l?c.substring(l+1):"";h=JSON.stringify(h);l={};l=(l["content-type"]="application/json; charset=UTF-8",l);var p={};p=(p["content-transfer-encoding"]="base64",p);a.request.getMimeType()&&(p["content-type"]=a.request.getMimeType());_.GJ(d,_.Ab(a.request,_.vl,28),[],null,b);a="--"+k;a=a+"\r\n"+ntc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+ntc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Zm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},Vyc=function(a){if(a instanceof _.EIb){var b=new _.Lc;_.cq(b,"fs.Error: "+a.message);a=(a=a.name)?_.JEa.get(a)||25:38;_.EI(b,a);b=_.Rc(b)}else b=_.GI(a);return Promise.reject(b)};
_.BK=function(a,b,c,d){this.H=a;this.Gg=b;this.O=c;this.Zf=d;this.ka=_.EJ(a)||new _.quc};_.BK.prototype.DE=function(a,b){try{return a.Iw instanceof _.zJ?Wyc(a.Iw,this.Gg,this.H):Promise.resolve(this.V(a.Iw,a.config,b))}catch(c){return c instanceof _.Nc?a=c.Fg:(a=new _.Lc,_.cq(a,"Error converting XHR: "+c.message),_.dq(a,c.stack),_.EI(a,4)),Promise.reject(a)}};
_.BK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.OI){h=(e=!!_.B(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.B(a,12),k.pinned=!!_.Q(a,13,!1));null!=_.P(a,8)&&(k.convert=_.P(a,8));k.fields=_.gtc({fields:this.Lg(c),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)});e=Pyc(a);f["content-type"]="application/json";var r=a.se();p=!0;_.XJ(k);_.Xyc(this.H,k);_.GJ(this.H,_.Ab(a,_.vl,28),_.ie(a,3).concat([_.B(a,16),a.G1(),a.qc()]),this.O,f)}else if(a instanceof _.XI||a instanceof
_.oJ)a instanceof _.oJ?(l=a.ld(),_.xj(a,2)&&(q="bytes="+_.B(a,2)+"-",_.xj(a,3)&&(q+=_.B(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.B(l,2)&&(k.revisionId=_.B(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.GJ(this.H,[_.Al((new _.vl).Nb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.$I||a instanceof _.SF){if(a instanceof _.$I)q=_.B(a,1),a=_.x(a,_.SF,2);else if(a instanceof _.SF)q=0,_.nK(this.Zf,190196159);else throw Error("ag");p=a.ln()[q];q="files/"+
p;r=_.ya(this.Lg(c),this.Lg(c,a.H()));_.Fa(r);k.fields=_.gtc({fields:r,yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)});_.XJ(k);_.Yyc(this.H,k);_.Zyc(this.H,k);this.W(p,k);r=a.se();p=!0;_.P(a,7)&&(b.bCa=!0);_.GJ(this.H,_.Ab(a,_.vl,11),a.ln(),this.O,f)}else if("undefined"!=typeof _.wtc&&a instanceof _.wtc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.Kyc&&a instanceof _.Kyc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",
q="files/"+a.id+"/revisions/"+a.revisionId,p=l=!0;else if(a instanceof Atc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var v=a.H;b=a.O;f["content-range"]=a.V?_.nt("bytes %d-%d/%d",v,b,b+1):_.nt("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof ztc?(d=2,h=(e=!!_.B(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.B(a.request,12)),k.uploadType="resumable",k.pinned=!!_.Q(a.request,13,!1),null!=_.P(a.request,8)&&(k.convert=_.P(a.request,8)),k.fields=_.gtc({fields:this.Lg(c).filter(function(z){return 194!=
z}),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)}),_.XJ(k),e=Pyc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.GJ(this.H,[],_.ie(a.request,3),this.O,f),r=a.request.se(),p=!0):a instanceof _.Etc?(q="about",k.fields="kind",r=a.H,p=!0):_.$yc(a);p&&_.azc(c,k);0!=d||l||r&&_.B(r,1)||_.nK(this.Zf,74438989);return _.bzc(this,d,q,k,f,h,r,e,v)};
_.bzc=function(a,b,c,d,e,f,h,k,l){c=new _.dj(c);[10,12,13].includes(b)||mtc(c,h);_.Q(a.ka,11,!1)&&(a=a.H.Oi())&&(e["X-Goog-Drive-Client-Version"]=a);d=_.m(Object.entries(d));for(a=d.next();!a.done;a=d.next())h=_.m(a.value),a=h.next().value,h=h.next().value,_.lj(c,a,h);return{Zm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.Yyc=function(a,b){_.Q(a.Vf(),23,!1)&&(b.includePermissionsForView="published")};_.BK.prototype.W=function(){};
_.Zyc=function(a,b){_.Q(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.Xyc=function(a,b){_.Q(a,3,!1)&&(b.enforceSingleParent=!0)};_.azc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).jSb):b.retryCount=0};_.BK.prototype.Lg=function(a,b){b||(b=_.YJ(this.Gg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return avc.includes(c)}));return b};_.$yc=function(a){var b=_.EI(new _.Lc,4);throw new _.Nc("ToXhrConverter: Unsupported request type: "+Gtc(a),b);};
_.CK=function(a,b,c,d,e,f){_.xi.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.wa=e;this.ta=f;this.aj={};this.ha={};this.Zf=null;_.$e(this,function(){h.cG()})};_.K(_.CK,_.xi);_.CK.prototype.pQ=function(){return _.dI()};
_.CK.prototype.upload=function(a,b,c,d){Jwc(this.V,"UploadTotalCount");var e=a.ij();if(e&&this.aj[e])throw new _.Nc("Upload requested with a duplicate request ID.");var f=_.ie(a,10);if(f&&f.length){if(1!==f.length)throw new _.Nc("Multi-parented uploads are not supported.");var h=this.aj[f[0]];if(!h)throw new _.Nc("The parent upload request must precede this request.");}!_.B(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);e||(e=this.pQ(),_.w(a,9,e));a=a.clone();f=czc(this,e);this.aj[e]={request:a,
file:b,jf:f,BM:!1,Bu:0,success:!1,AE:!1,children:[],metadata:c,wla:void 0,kQ:d};h?dzc(this,e,h):this.ka(e);return f.$m()};
var czc=function(a,b){var c=new _.$h;c.Wf(_.gb(a.Fa,b),_.gb(a.Ha,b),a);return c},dzc=function(a,b,c,d){var e=a.aj[b];c.children.push(b);_.Fa(c.children);c.jf.then(function(f){if(1===f.Cb()&&(f=f.qc(),_.ie(e.request,3).push(f),_.aI(e.request,10),!c.AE||d)){a.ka(b);return}a.log('[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.jf.Gd(_.kI(f)?f:Error(f))})};
_.CK.prototype.Fa=function(a,b){Jwc(this.V,"UploadSuccessCount");a=this.aj[a];a.success=1===b.Cb();(b=a.wla)&&!a.AE&&(Quc(Suc(Gvc(b),a.Bu),!0),b.vj())};_.CK.prototype.Ha=function(a,b){var c=_.x(this.O,_.DI,58);c&&_.Q(c,1,!1)&&(this.ha[a]=b);Jwc(this.V,"UploadFailureCount");c=this.aj[a];(a=c.wla)&&!c.AE&&(Quc(Suc(Gvc(a),c.Bu),!1),b=(c=b&&b.Fg)&&c.hk(),c=c&&c.zp(),b?Ruc(Gvc(a),ezc.get(b)||13):c&&Ruc(Gvc(a),fzc.get(c)||0),a.vj())};
_.CK.prototype.ka=function(a){var b=this.aj[a];if(!b.BM){b.BM=!0;a=this.aj[a];var c=a.request,d=_.x(this.O,_.DI,58);d&&_.Q(d,4,!1)&&(d=c.getTitle().match(gzc))&&(!d[1]||a.Bu<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.ie(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Gz())?_.B(c,1)||0:0;d=b.file&&b.file.size||c;c=this.O.Vf();var e=_.Oj(c,33,1048576);e=b.file&&b.file&&d>e?2:b.file?1:3;if(this.ta&&3!==e){var f=this.ta.H(106012);f&&(b.wla=f,f=Gvc(f),f=_.w(f,1,2===e?2:1),f=_.w(f,4,!!b.metadata),
f=_.w(f,5,!!_.B(a,12)),d=_.w(f,6,d),_.w(d,7,_.Oj(c,32,1073741824)))}switch(e){case 2:b.file&&hzc(this,new _.Btc(a,b.file,b.kQ,b.metadata),b.jf,a.ij());break;case 1:b.file&&(c=b.jf,d=b.file,e=b.metadata,b=b.kQ,f=_.x(this.O,_.puc,2),hzc(this,new _.zJ(a,d,b,f&&_.NJ(f)?e:void 0),c,a.ij()));break;case 3:hzc(this,a,b.jf,a.ij());break;default:throw new _.Nc("Upload type ${uploadType} not supported.");}}};
var hzc=function(a,b,c,d){xwc(a.Ba,d,a.ma.bind(a,d));_.Zh(a.W.then(function(e){return e.Pe(b,{requestId:d})}).then(null,function(e){return izc(a,b,e)}),function(){ywc(a.Ba,[d])}).then(c.callback,c.Gd,c)},izc=function(a,b,c){var d=_.Rc(c),e=b instanceof _.zJ&&b.request.qc()||"";c=d.Fg;if(e&&8===c.hk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.UF(new _.SF,[e]);return _.fi(a.W.then(function(h){return h.Pe(f)}).then(function(h){h=h.ad().Ad()[0];var k=b.request;if(h&&!h.Qh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.cvc((new _.CJ).setItem(h),e).Ac(1);a.log("No matching item found for: "+e);return _.Vh(d)}))}return _.gi(d)};_.g=_.CK.prototype;
_.g.cancel=function(a){var b=this,c=this.aj[a];if(c&&(!c.AE||0!==c.children.length))if(c.AE=!0,c.jf.Yf())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.wla;d&&(Ruc(Quc(Suc(Gvc(d),c.Bu),!1),2),d.vj());var e=_.Xh();c.BM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.BM=!0,c.jf.callback(Htc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.cG=function(){var a=this;_.Qa(this.aj,function(b,c){a.cancel(c)})};
_.g.retry=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.aj[f]){var h=[];do{h.push(f);var k=(_.ie(b.aj[f].request,10)||[])[0];if(k){var l=b.aj[k];if(l.success||!l.jf.Yf()||e[k])break;else if(!c.has(k)){e[f]=new _.Nc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ja(h,function(p){var q=b.aj[p];q.Bu++;if(!e[p])if(!q.jf.Yf()||q.success)e[p]=new _.Nc("Unable to retry request.");else{var r=(_.ie(q.request,10)||[])[0];e[r]instanceof _.Nc?
e[p]=e[r]:(q.jf=czc(b,p),q.BM=!1,q.AE=!1,(r=r?b.aj[r]:null)?dzc(b,p,r,!0):d.push(p),e[p]=q.jf.$m())}})}else e[f]=new _.Nc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.$h?f:_.gi(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.ld=function(a){return this.aj[a]};var gzc=/^uploadTestFailMe(\.[1-9])?$/,fzc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),ezc=new Map([[3,14]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j5");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j6");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j7");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jt");

_.jzc=function(a,b){return _.w(a,1,b)};_.kzc=function(a,b){return _.I(a,1,b)};_.lzc=function(a,b){return _.w(a,2,b)};_.mzc=function(a,b){return _.I(a,3,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iy");


_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1j2");

var nzc,ozc;nzc=[1];_.DK=function(a){_.J.call(this,a,-1,nzc)};_.K(_.DK,_.J);_.DK.prototype.H=function(){return _.ie(this,1)};_.EK=function(a){_.J.call(this,a,-1,ozc)};_.K(_.EK,_.J);_.EK.prototype.Cb=function(){return _.B(this,1)};_.EK.prototype.Ac=function(a){return _.w(this,1,a)};_.EK.prototype.ui=function(){return _.Ab(this,_.Fk,2)};_.pzc=function(a,b){return _.Ej(a,2,b)};_.EK.prototype.xq=function(a,b){return _.Jj(this,2,a,_.Fk,b)};_.EK.prototype.Rf=function(){return _.B(this,4)};
_.qzc=function(a,b){return _.w(a,4,b)};ozc=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jw");

_.FK=function(a,b){_.w(a,1,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jx");

var rzc;_.szc=function(a){return _.Se(a).Lg(_.Q(a.get(_.Oo),19,!1)?rzc:_.Pe)};rzc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,210,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ix");

var tzc,uzc,vzc,wzc,xzc,zzc,Azc,Bzc,Czc,Dzc,Fzc,Gzc,Hzc,Izc,Jzc,IK,Ozc,Pzc,JK,KK,Qzc,Rzc,Tzc,Uzc,Vzc,Wzc,Xzc,Zzc,$zc,aAc,bAc,cAc,dAc,eAc,gAc,iAc,pAc,rAc,uAc,vAc,yAc,BAc,OK,CAc,DAc,EAc,FAc,GAc,HAc,IAc,JAc,KAc,NAc,MAc,QAc,SAc,UAc,WAc,$Ac,bBc,cBc,dBc,eBc,fBc,gBc,kBc,mBc,nBc,oBc,GK,pBc,qBc,Lzc,Kzc,Mzc,Nzc,NCc,SK,UK,TCc,dDc,gDc,hDc,iDc,lDc,mDc,LAc,PDc,QDc,RDc,SDc,TDc,VDc,WDc,XDc,VK,YDc,WK,ZDc,$Dc,aEc,bEc,cEc,dEc,XK,eEc,fEc,gEc,hEc,iEc,jEc,YK,vEc,UEc,WEc,XEc,ZEc,$Ec,aFc,bFc,eFc,gFc,qFc,zGc,lAc,AGc,BGc,
CGc,FGc,MGc,NGc,cLc,dLc,lLc,vLc,ELc,MLc,SLc,ZLc,aMc,fMc,lMc;tzc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.ie(a,3),Convert:_.P(a,8),ID:a.ij()};var b=[];_.Qa(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
uzc=function(a){var b=[];b.push(tzc(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.Bu&&b.push("# of retries by client: "+a.Bu);var d="";a.BM?a.jf.Yf()?a.jf.Wf(function(){d="Completed successfully."},function(e){d=e instanceof _.ai?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
vzc=function(a,b,c,d,e,f){var h=_.nt("Drive Upload Report: %d/%d failed",_.Ua(f),_.Ua(e));a=a.Vf();d.push("Batch query interval: "+_.Oj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Oj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Oj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Oj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Oj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Qa(e,function(p){l.push(uzc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.$uc(b)});_.Qa(f,function(p,q){var r=k.push;q=e[q].request;q=_.nt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.ij()||"");var v=p.Fg;r.call(k,{name:q,content:p.toString()+"\n"+(v?_.B(v,4):"No detail.")})});return{title:h,description:d,XP:k,Dd:152391,X8:c,c0:361003}};wzc=function(a){return Array.prototype.concat.apply([],arguments)};xzc=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.ua(a,b,-(c+1)),!0):!1};
zzc=function(a,b){var c=new _.DK,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.A7a.get(b.tv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}yzc(c,[].concat(_.Jd(d)));return c};
Azc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Hea:c.Hea},d=a.next())if(d=d.value){c.Hea=new Map;[].concat(_.Jd(_.Gk(d)),[d.ym(),d.Jr(),d.aq()]).forEach(function(p){return function(q){q&&p.Hea.set(GK(q),q)}}(c));for(var e=[],f=_.m(c.Hea.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(GK(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.uk(h))}b.push(d.getId()+","+d.tv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};Bzc=function(a){var b=new _.Eo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.II(a,!0,"file"));a.e7&&(b.append(",teamDriveId,teamDrive("),b.append(a.e7),b.append(")"));b.append(")");return b.toString()};Czc=function(a){var b=new _.Eo;b.append("kind,nextPageToken,items(");b.append(_.II(a,!0));b.append("),incompleteSearch");a.e7&&(b.append(","),b.append(a.e7));return b.toString()};
Dzc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.x(d,_.HJ,138),k=_.x(d,_.Ak,111),l=_.x(d,_.IJ,27),p=_.x(d,_.Ytc,139),q=d.wf(),r=d.Oh(),v=_.x(d,_.KJ,103);switch(e){case 227:_.xb(d,144);break;case 228:_.xb(d,145);break;case 74:_.Fj(d,83);break;case 188:_.xb(d,137);break;case 149:_.aI(d,128);break;case 148:_.Fj(d,127);break;case 138:_.xb(d,126);break;case 184:_.aI(d,135);break;case 76:f&&_.xb(f,1);break;case 223:f&&_.xb(f,54);break;case 208:f&&_.xb(f,48);break;case 185:f&&
_.xb(f,40);break;case 224:f&&_.xb(f,55);break;case 213:f&&_.xb(f,50);break;case 156:f&&_.xb(f,39);break;case 61:f&&_.xb(f,2);break;case 216:f&&_.xb(f,52);break;case 217:f&&_.xb(f,53);break;case 77:f&&_.xb(f,4);break;case 134:f&&_.xb(f,34);break;case 147:f&&_.xb(f,38);break;case 81:f&&_.xb(f,10);break;case 82:f&&_.xb(f,11);break;case 114:f&&_.xb(f,27);break;case 133:f&&_.xb(f,33);break;case 202:f&&_.xb(f,47);break;case 132:f&&_.xb(f,32);break;case 101:f&&_.xb(f,20);break;case 201:f&&_.xb(f,46);break;
case 131:f&&_.xb(f,31);break;case 200:f&&_.xb(f,45);break;case 130:f&&_.xb(f,30);break;case 93:f&&_.xb(f,17);break;case 191:f&&_.xb(f,44);break;case 146:f&&_.xb(f,37);break;case 90:f&&_.xb(f,16);break;case 78:f&&_.xb(f,7);break;case 186:f&&_.xb(f,41);break;case 222:f&&_.xb(f,51);break;case 85:f&&_.xb(f,12);break;case 137:f&&_.xb(f,36);break;case 209:f&&_.xb(f,49);break;case 79:f&&_.xb(f,8);break;case 189:f&&_.xb(f,42);break;case 190:f&&_.xb(f,43);break;case 80:f&&_.xb(f,9);break;case 135:f&&_.xb(f,
35);break;case 102:f&&_.xb(f,21);break;case 69:_.xb(d,74);break;case 194:h&&_.Dj(h,2);break;case 193:h&&_.xb(h,1);break;case 1004:_.xb(d,108);break;case 136:_.Fj(d,125);break;case 115:k&&_.xb(k,1);break;case 116:k&&_.xb(k,2);break;case 34:_.xb(d,30);f&&_.xb(f,3);break;case 9:_.xb(d,10);break;case 91:_.Dj(d,91);break;case 43:_.xb(d,42);_.xb(d,43);break;case 187:_.xb(d,136);break;case 26:_.xb(d,24);break;case 108:_.aI(d,104);break;case 41:_.xb(d,40);f&&_.xb(f,5);break;case 42:_.xb(d,41);break;case 1005:_.Fj(d,
117);break;case 59:f&&_.xb(f,6);break;case 28:_.xb(d,26);break;case 44:_.xb(d,45);break;case 13:_.xb(d,14);break;case 48:_.xb(d,36);break;case 38:_.xb(d,34);break;case 49:_.aI(d,50);break;case 51:_.xb(d,53);break;case 104:_.xb(d,102);break;case 39:_.xb(d,35);break;case 87:_.xb(d,76);break;case 100:_.xb(d,98);break;case 72:_.xb(d,78);break;case 5:_.xb(d,6);break;case 20:_.xb(d,21);break;case 21:break;case 29:l&&_.xb(l,1);break;case 31:l&&_.xb(l,3);break;case 92:l&&_.xb(l,4);break;case 30:l&&_.xb(l,
2);break;case 16:_.Dj(d,17);break;case 12:_.xb(d,13);break;case 211:p&&_.xb(p,2);break;case 212:p&&_.xb(p,3);break;case 220:p&&_.xb(p,5);break;case 157:r&&_.Fj(r,8);break;case 3:_.xb(d,4);break;case 11:_.xb(d,12);break;case 10:_.xb(d,11);break;case 50:_.xb(d,49);_.xb(d,51);_.Dj(d,81);break;case 18:_.xb(d,19);break;case 95:_.xb(d,93);break;case 58:_.xb(d,63);break;case 14:_.Fj(d,15);break;case 103:_.xb(d,101);break;case 1:_.aI(d,2);break;case 96:_.xb(d,94);break;case 1003:_.Fj(d,107);break;case 75:_.Dj(d,
85);break;case 94:_.xb(d,92);break;case 45:_.xb(d,46);break;case 124:_.xb(d,118);break;case 125:_.xb(d,119);break;case 1002:_.Dj(d,100);break;case 32:_.xb(d,28);break;case 67:_.xb(d,70);break;case 68:_.xb(d,71);break;case 73:_.xb(d,79);break;case 71:_.xb(d,77);break;case 221:r&&_.xb(r,9);break;case 210:_.xb(d,140);break;case 7:_.xb(d,8);break;case 122:_.Dj(d,109);break;case 66:_.xb(d,69);break;case 33:_.xb(d,29);break;case 24:_.xb(d,22);break;case 25:_.xb(d,23);break;case 46:_.Dj(d,47);break;case 192:q&&
_.xb(q,6);break;case 159:q&&_.Dj(q,5);break;case 154:q&&_.xb(q,1);break;case 158:q&&_.xb(q,4);break;case 155:q&&_.xb(q,3);break;case 52:_.aI(d,56);break;case 56:_.xb(d,61);break;case 55:_.Fj(d,60);break;case 4:_.xb(d,5);break;case 35:_.xb(d,31);break;case 57:_.xb(d,62);break;case 83:_.xb(d,72);break;case 84:_.Dj(d,86);break;case 19:_.xb(d,20);_.xb(d,44);_.xb(d,90);break;case 2:_.xb(d,3);break;case 6:_.xb(d,7);break;case 98:_.xb(d,96);break;case 97:_.Dj(d,95);break;case 27:_.xb(d,25);break;case 70:_.xb(d,
75);break;case 107:v&&_.xb(v,3);break;case 106:v&&_.xb(v,2);break;case 105:v&&_.xb(v,1);break;case 8:_.xb(d,9);break;case 126:_.aI(d,120);break;default:throw Error("Pc`"+e);}}};Fzc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Jd(a),_.Jd(Ezc)));a=[].concat(_.Jd(_.Adb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Dzc(b[d],a)}};
Gzc=function(a,b){var c=a.getCapabilities()||new _.yk,d=_.x(a,_.HJ,138),e=_.x(a,_.Ak,111),f=_.x(a,_.IJ,27),h=_.x(a,_.Ytc,139),k=a.wf(),l=a.Oh(),p=_.x(a,_.KJ,103);switch(b){case 227:return null!=_.P(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.bu().length;case 188:return null!=_.P(a,137);case 149:return 0<_.ie(a,128).length;case 148:return 0<a.Xya().length;case 138:return null!=a.g9();case 184:return 0<_.ie(a,135).length;case 76:return null!=_.zk(c);case 223:return null!=_.P(c,54);case 208:return null!=
_.P(c,48);case 185:return null!=_.P(c,40);case 224:return null!=_.P(c,55);case 213:return null!=_.P(c,50);case 156:return null!=_.P(c,39);case 61:return null!=_.P(c,2);case 216:return null!=_.P(c,52);case 217:return null!=_.P(c,53);case 77:return null!=_.P(c,4);case 134:return null!=_.P(c,34);case 147:return null!=_.P(c,38);case 81:return null!=_.P(c,10);case 82:return null!=_.P(c,11);case 114:return null!=_.P(c,27);case 133:return null!=_.P(c,33);case 202:return null!=_.P(c,47);case 132:return null!=
_.P(c,32);case 101:return null!=_.P(c,20);case 201:return null!=_.P(c,46);case 131:return null!=_.P(c,31);case 200:return null!=_.P(c,45);case 130:return null!=_.P(c,30);case 93:return null!=_.P(c,17);case 191:return null!=_.P(c,44);case 146:return null!=_.P(c,37);case 90:return null!=_.Je(c);case 78:return null!=_.P(c,7);case 186:return null!=_.P(c,41);case 222:return null!=_.P(c,51);case 85:return null!=_.P(c,12);case 137:return null!=_.P(c,36);case 209:return null!=_.P(c,49);case 79:return null!=
_.P(c,8);case 189:return null!=_.P(c,42);case 190:return null!=_.P(c,43);case 80:return null!=_.P(c,9);case 135:return null!=_.P(c,35);case 102:return null!=_.P(c,21);case 69:return null!=_.P(a,74);case 194:return null!=d&&null!=_.x(d,_.Wtc,2);case 193:return null!=d&&null!=_.B(d,1);case 1004:return null!=_.P(a,108);case 136:return 0<a.T0().length;case 115:return null!=e&&null!=_.P(e,1);case 116:return null!=e&&null!=_.B(e,2);case 34:return null!=_.P(a,30)||null!=_.P(c,3);case 9:return null!=a.PC();
case 91:return null!=a.aq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=a.Xi();case 26:return null!=a.qf();case 108:return 0<_.ie(a,104).length;case 41:return null!=_.P(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.Kk(a).length;case 59:return null!=_.P(c,6);case 28:return null!=a.KI();case 44:return null!=_.B(a,45);case 13:return null!=a.SL();case 48:return null!=_.P(a,36);case 38:return null!=a.Pi();case 49:return 0<_.ie(a,50).length;case 51:return null!=_.P(a,
53);case 104:return null!=_.P(a,102);case 39:return null!=a.Wja();case 87:return null!=_.Hk(a);case 100:return null!=_.P(a,98);case 72:return null!=_.B(a,78);case 5:return null!=_.P(a,6);case 20:return null!=a.ef();case 21:return null!=a.getId();case 29:return!(!f||null==_.B(f,1));case 31:return!(!f||null==_.B(f,3));case 92:return!(!f||null==_.B(f,4));case 30:return!(!f||null==f.De());case 16:return null!=a.ym();case 12:return null!=a.jz();case 211:return null!=h&&null!=_.P(h,2);case 212:return null!=
h&&null!=_.P(h,3);case 220:return null!=h&&null!=_.P(h,5);case 157:return!(!l||!_.Ab(l,_.Dk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.iB();case 10:return null!=a.wq();case 50:return null!=_.P(a,49)||null!=_.P(a,51)||null!=a.Om();case 18:return null!=a.Bp();case 14:return 0<_.Gk(a).length;case 95:return null!=a.El();case 58:return null!=_.P(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.rk().length;case 96:return null!=_.P(a,94);case 1003:return 0<_.Jk(a).length;case 75:return null!=
a.Zv();case 94:return null!=a.$M();case 45:return null!=a.Cw();case 124:return null!=_.P(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.Ik(a);case 32:return null!=a.Tu();case 67:return null!=a.UJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.v1();case 221:return null!=l&&null!=_.P(l,9);case 210:return null!=_.Lk(a);case 7:return null!=a.Q6();case 122:return null!=_.HK(a);case 66:return null!=_.B(a,69);case 33:return null!=_.P(a,29);case 24:return null!=
a.sj();case 25:return null!=a.ty();case 46:return null!=a.Jr();case 192:return null!=k&&null!=_.P(k,6);case 159:return null!=k&&null!=_.ne(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.qe(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.ie(a,56).length;case 55:return 0<a.rB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.UA();case 35:return null!=_.P(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.wc();case 84:return null!=_.x(a,
_.JJ,86);case 2:return null!=a.getTitle();case 19:return null!=a.kz()||null!=_.P(a,44)||null!=_.B(a,90);case 6:return null!=a.Qh();case 98:return null!=a.$v();case 97:return null!=a.eD();case 27:return null!=a.To();case 70:return null!=a.Yi();case 107:return null!=p&&null!=_.B(p,3);case 106:return null!=p&&null!=_.B(p,2);case 105:return null!=p&&null!=p.De();case 8:return null!=_.P(a,9);case 126:return 0<_.ie(a,120).length;default:throw Error("Qc`"+b);}};
Hzc=function(a,b){return b.every(function(c){return Gzc(a,c)})};Izc=function(a,b,c){c=void 0===c?[]:c;var d=a.concat(c);return b.every(function(e){return(new Set(d)).has(e)})};Jzc=function(a,b){var c=new Set(b.concat(_.ftc));return a.filter(function(d){return!c.has(d)})};
IK=function(a,b,c){var d,e;b=b.clone();var f=b.getCapabilities();c=_.m(c);for(var h=c.next();!h.done;h=c.next())if(h=h.value,Gzc(b,h))if(_.Edb.has(h)){if(f){var k=a.getCapabilities()||new _.yk;_.MJ(a,k);switch(h){case 76:_.w(k,1,_.zk(f));break;case 223:_.w(k,54,_.P(f,54));break;case 208:_.w(k,48,_.P(f,48));break;case 185:_.w(k,40,_.P(f,40));break;case 224:_.w(k,55,_.P(f,55));break;case 213:_.w(k,50,_.P(f,50));break;case 156:_.w(k,39,_.P(f,39));break;case 61:_.w(k,2,_.P(f,2));break;case 216:_.w(k,
52,_.P(f,52));break;case 217:_.w(k,53,_.P(f,53));break;case 77:_.w(k,4,_.P(f,4));break;case 134:_.w(k,34,_.P(f,34));break;case 147:_.w(k,38,_.P(f,38));break;case 81:_.w(k,10,_.P(f,10));break;case 82:_.w(k,11,_.P(f,11));break;case 114:_.w(k,27,_.P(f,27));break;case 133:_.w(k,33,_.P(f,33));break;case 202:_.w(k,47,_.P(f,47));_.w(k,32,_.P(f,32));break;case 132:_.w(k,32,_.P(f,32));break;case 101:_.w(k,20,_.P(f,20));break;case 201:_.w(k,46,_.P(f,46));break;case 131:_.w(k,31,_.P(f,31));break;case 200:_.w(k,
45,_.P(f,45));break;case 130:_.w(k,30,_.P(f,30));break;case 93:_.w(k,17,_.P(f,17));break;case 191:_.w(k,44,_.P(f,44));break;case 146:_.w(k,37,_.P(f,37));break;case 90:_.Vtc(k,_.Je(f));break;case 78:_.w(k,7,_.P(f,7));break;case 186:_.w(k,41,_.P(f,41));break;case 222:_.w(k,51,_.P(f,51));break;case 85:_.w(k,12,_.P(f,12));break;case 137:_.w(k,36,_.P(f,36));break;case 209:_.w(k,49,_.P(f,49));break;case 79:_.w(k,8,_.P(f,8));break;case 189:_.w(k,42,_.P(f,42));break;case 190:_.w(k,43,_.P(f,43));break;case 80:_.w(k,
9,_.P(f,9));break;case 135:_.w(k,35,_.P(f,35));break;case 102:_.w(k,21,_.P(f,21));break;case 34:_.w(a,30,_.P(b,30));_.w(k,3,_.P(f,3));break;case 41:_.w(a,40,_.P(b,40));_.w(k,5,_.P(f,5));break;case 59:_.w(k,6,_.P(f,6))}}}else if(_.Fdb.has(h)){var l=_.x(b,_.HJ,138);if(l)switch(k=_.x(a,_.HJ,138)||new _.HJ,_.I(a,138,k),h){case 194:h=_.x(l,_.Wtc,2);_.I(k,2,h);break;case 193:_.w(k,1,_.B(l,1))}}else if(_.Gdb.has(h)){if(k=_.x(b,_.Ak,111))switch(l=_.x(a,_.Ak,111)||new _.Ak,_.I(a,111,l),h){case 115:_.Xtc(l,
_.P(k,1));break;case 116:_.w(l,2,_.B(k,2))}}else if(_.Hdb.has(h)){if(k=_.x(b,_.IJ,27))switch(l=_.x(a,_.IJ,27)||new _.IJ,_.I(a,27,l),h){case 29:_.w(l,1,_.B(k,1));break;case 31:l.oh(_.B(k,3));break;case 92:_.w(l,4,_.B(k,4));break;case 30:l.qh(k.De())}}else if(_.Idb.has(h)){if(k=_.x(b,_.Ytc,139))switch(l=_.x(a,_.Ytc,139)||new _.Ytc,_.I(a,139,l),h){case 211:_.w(l,2,_.P(k,2));break;case 212:_.w(l,3,_.P(k,3));break;case 220:_.w(l,5,_.P(k,5))}}else if(_.Jdb.has(h)){if(l=b.wf())switch(k=a.wf()||new _.coa,
_.I(a,132,k),h){case 192:_.w(k,6,_.P(l,6));break;case 159:h=_.ne(l);_.I(k,5,h);break;case 154:_.w(k,1,_.B(l,1));break;case 158:_.w(k,4,_.qe(l));break;case 155:_.w(k,3,_.B(l,3))}}else if(_.Kdb.has(h))switch(k=b.Oh(),h){case 157:k&&(h=a.Oh()||new _.aoa,Kzc(a,h),Lzc(h,_.Ab(k,_.Dk,8)));break;case 221:k&&(h=a.Oh()||new _.aoa,Kzc(a,h),_.w(h,9,_.P(k,9)))}else if(_.Ldb.has(h)){if(k=_.x(b,_.KJ,103))switch(l=_.x(a,_.KJ,103)||new _.KJ,_.I(a,103,l),h){case 107:_.w(l,3,_.B(k,3));break;case 106:l.oh(_.B(k,2));
break;case 105:l.qh(k.De())}}else switch(h){case 227:_.w(a,144,_.P(b,144));break;case 228:_.w(a,145,_.B(b,145));break;case 74:h=b.bu();_.Ej(a,83,h);break;case 188:_.w(a,137,_.P(b,137));break;case 149:h=_.ie(b,128);_.Cj(a,128,h);break;case 148:h=b.Xya();_.Ej(a,127,h);break;case 138:_.w(a,126,b.g9());break;case 184:h=_.ie(b,135);_.Cj(a,135,h);break;case 69:_.w(a,74,_.P(b,74));break;case 1004:_.w(a,108,_.P(b,108));break;case 136:h=b.T0();_.Ej(a,125,h);break;case 9:_.w(a,10,b.PC());break;case 91:_.kuc(a,
b.aq());break;case 43:_.w(a,42,_.B(b,42));_.w(a,43,_.B(b,43));break;case 187:_.ouc(a,b.Xi());break;case 26:a.Vl(b.qf());break;case 108:h=_.ie(b,104);_.Cj(a,104,h);break;case 42:_.w(a,41,_.B(b,41));break;case 1005:h=_.Kk(b);_.Ej(a,117,h);break;case 28:_.w(a,26,b.KI());break;case 44:_.w(a,45,_.B(b,45));break;case 13:_.w(a,14,b.SL());break;case 48:_.w(a,36,_.P(b,36));break;case 38:_.fuc(a,b.Pi());break;case 49:h=_.ie(b,50);_.Cj(a,50,h);break;case 51:_.w(a,53,_.P(b,53));break;case 104:_.w(a,102,_.P(b,
102));break;case 39:_.w(a,35,b.Wja());break;case 87:_.w(a,76,_.Hk(b));break;case 100:_.w(a,98,_.P(b,98));break;case 72:_.w(a,78,_.B(b,78));break;case 5:_.w(a,6,_.P(b,6));break;case 20:h=b.ef();_.w(a,21,h);break;case 21:a.Nb(b.getId());break;case 16:_.duc(a,b.ym());break;case 12:_.w(a,13,b.jz());break;case 3:_.ZF(a,b.getMimeType());break;case 11:_.w(a,12,b.iB());break;case 10:_.w(a,11,b.wq());break;case 50:_.w(a,49,_.P(b,49));_.w(a,51,_.P(b,51));h=b.Om();_.I(a,81,h);break;case 95:_.muc(a,b.El());break;
case 18:_.euc(a,b.Bp());break;case 58:_.w(a,63,_.P(b,63));break;case 14:_.cuc(a,_.Gk(b));break;case 1:_.LJ(a,b.rk());break;case 96:_.w(a,94,_.P(b,94));break;case 103:_.w(a,101,_.B(b,101));break;case 1003:Mzc(a,_.Jk(b));break;case 75:_.juc(a,b.Zv());break;case 94:_.luc(a,b.$M());break;case 45:_.w(a,46,b.Cw());break;case 124:_.w(a,118,_.P(b,118));break;case 125:_.w(a,119,_.B(b,119));break;case 1002:h=_.Ik(b).clone();(null===(d=_.Ik(a))||void 0===d?0:_.P(d,3))&&_.w(h,3,!0);(null===(e=_.Ik(a))||void 0===
e?0:_.P(e,4))&&_.w(h,4,!0);_.I(a,100,h);break;case 32:_.w(a,28,b.Tu());break;case 67:_.w(a,70,b.UJ());break;case 68:_.w(a,71,_.B(b,71));break;case 73:_.w(a,79,_.B(b,79));break;case 71:_.w(a,77,b.v1());break;case 210:_.w(a,140,_.Lk(b));break;case 7:_.w(a,8,b.Q6());break;case 122:Nzc(a,_.HK(b));break;case 66:_.w(a,69,_.B(b,69));break;case 33:_.w(a,29,_.P(b,29));break;case 24:_.w(a,22,b.sj());break;case 25:_.w(a,23,b.ty());break;case 46:_.guc(a,b.Jr());break;case 52:h=_.ie(b,56);_.Cj(a,56,h);break;case 56:_.w(a,
61,_.B(b,61));break;case 55:a.wA(b.rB());break;case 4:a.Lv(b.UA());break;case 35:_.w(a,31,_.P(b,31));break;case 57:_.w(a,62,_.B(b,62));break;case 83:_.iuc(a,b.wc());break;case 84:h=_.x(b,_.JJ,86);_.I(a,86,h);break;case 98:a.Kca(b.$v());break;case 97:_.nuc(a,b.eD());break;case 19:_.w(a,20,b.kz());_.w(a,44,_.P(b,44));_.w(a,90,_.B(b,90));break;case 2:a.setTitle(b.getTitle());break;case 6:a.Kn(b.Qh());break;case 27:_.u7b(a,b.To());break;case 70:h=b.Yi();_.w(a,75,h);break;case 8:_.w(a,9,_.P(b,9));break;
case 126:h=_.ie(b,120);_.Cj(a,120,h);break;default:throw Error("Rc`"+h);}};Ozc=function(a,b){var c=_.mz[a];return b.filter(function(d){return!c||!c.has(d)})};Pzc=function(a,b,c){a=Ozc(c,a);return Izc(b,a,_.ftc)};JK=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};KK=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&JK(a)?(a=a.wf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};
Qzc=function(a){var b=a&&a.getId()||null;a&&JK(a)&&(a=(a=a.wf())&&_.B(a,1))&&(b=a);return b};Rzc=function(a){return!!_.P(a,31)&&!_.P(a,94)};Tzc=function(a){return Szc.some(function(b){return Gzc(a,b)})};Uzc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(b.tv())})};Vzc=function(a){return Uzc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
Wzc=function(a,b){var c={};a=_.Ra(a,function(d){return!!d});b=_.Ra(b,function(d){return!!d});_.Qa(a,function(d,e){var f=b[e];f?_.Nj(d,f)||(d=_.dEa(4).setItem(f),c[e]=d):(d=_.dEa(2).setItem(d),c[e]=d)});_.Qa(b,function(d,e){a[e]||(d=_.dEa(1).setItem(d),c[e]=d)});return c};Xzc=function(a,b){return _.Ua(a)!==_.Ua(b)||!_.Za(Wzc(a,b))};_.Yzc=function(a,b){a=0===b?1:a/b;return 1<=a?6:.95<=a?5:.9<=a?4:.8<=a?3:.7<=a?2:1};
Zzc=function(a,b){var c=_.Xsc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};$zc=function(a,b){return 0<=b?!a||a<=b:!0};aAc=function(a,b){var c=a.Om();c||(c=new _.Vna,b&&_.I(a,81,c));return c};bAc=function(a){if(KK(a))_.FK(aAc(a,!0),!0);else if(KK(a,!0)){var b=a.wf();if(b=b&&_.ne(b))_.FK(aAc(b,!0),!0),_.FK(aAc(a,!0),!0)}};cAc=function(a){return!!a.Om()&&!KK(a)};
dAc=function(a){var b=[];_.Ka(a,function(c){if(3!=c.tv()){if(null!=_.P(c,49)||null!=_.P(c,51)||null!=c.Om())c=c.clone(),_.xb(c,49),_.xb(c,51),_.Dj(c,81);b.push(c)}});return b};eAc=function(a,b){if(b){var c=[];_.P(b,3)&&c.push("folder");var d=_.spc()&&4===b.getType()?"title_natural":_.Wrc[b.getType()];b=_.Yrc[b.Xf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
gAc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.J?a[b]=c.Gc():c&&c instanceof _.fK?a[b]=c.Gc(function(d){return d?d.Gc():null}):c&&c instanceof fAc&&(a[b]=c.Gc())}};iAc=function(a){var b=a.slice(0),c=new Set(b);hAc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
pAc=function(a,b,c){var d=_.x(a,jAc,66);if(d){var e=_.SJ(a),f=_.vI(_.XH(a));a=new _.dj(_.B(d,1));var h=new _.dj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.rj(k,3);_.kj(a,"co",h);h=a.Ie();!e&&0<f&&(h+="u/"+f+"/");a.zi(h+"_/dataservice/cacheproxy");e=_.B(d,5)||"";if(_.Jsc(window.location.href,a.toString())&&e)return a=iAc(c),c=_.B(d,6),b="#"+b+"_",d=new _.MH,d.update(a.join(",")),b+=_.Xqc(d.digest()),c&&(b+="&jobset="+c),b=_.Ay(e+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.Xba(b),
void 0),b=new kAc(c.port),c.port.start()):b=new kAc(new Worker(_.Xba(b),void 0)),new lAc(new mAc(b,!0),1,e,a);c=a.toString();b="cpiframe_"+_.dI();c=_.zh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Zha(_.Isc(_.mg("display: none;")));document.body.appendChild(c);c=_.brc(a.O,void 0,a.H,a.W).toString();return new lAc(new mAc(nAc(window.frames[b],c),!0),0,a.toString())}a=new oAc;return new lAc(new mAc(a.O,!1),2,"inline",c,new mAc(a.H,!1))};
rAc=function(a){var b=new qAc;if(a instanceof _.JI)_.Ij(b,16,LK,a);else if(a instanceof _.KI)_.Ij(b,1,LK,a);else if(a instanceof _.LI)_.Ij(b,2,LK,a);else if(a instanceof MK)_.Ij(b,17,LK,a);else if(a instanceof _.OI)_.Ij(b,3,LK,a);else if(a instanceof _.pK)_.Ij(b,4,LK,a);else if(a instanceof _.MI)_.Ij(b,5,LK,a);else if(a instanceof _.SI)_.Ij(b,6,LK,a);else if(a instanceof _.UI)_.Ij(b,7,LK,a);else if(a instanceof _.VI)_.Ij(b,8,LK,a);else if(a instanceof _.YI)_.Ij(b,9,LK,a);else if(a instanceof _.nJ)_.Ij(b,
18,LK,a);else if(a instanceof _.rJ)_.Ij(b,10,LK,a);else if(a instanceof _.sJ)_.Ij(b,11,LK,a);else if(a instanceof _.tJ)_.Ij(b,12,LK,a);else if(a instanceof _.wI)_.Ij(b,13,LK,a);else if(a instanceof _.wJ)_.Ij(b,14,LK,a);else if(a instanceof _.xJ)_.Ij(b,15,LK,a);else throw new _.Nc("Unsupported request type");return b};
uAc=function(a){a=a.map(function(c){var d=new sAc;if(c instanceof _.JI)_.Ij(d,6,NK,c);else if(c instanceof MK)_.Ij(d,7,NK,c);else if(c instanceof _.SI)_.Ij(d,1,NK,c);else if(c instanceof _.rJ)_.Ij(d,2,NK,c);else if(c instanceof _.sJ)_.Ij(d,3,NK,c);else if(c instanceof _.wI)_.Ij(d,4,NK,c);else if(c instanceof _.xJ)_.Ij(d,5,NK,c);else throw new _.Nc("Unsupported request type");return d});var b=new tAc;_.Ej(b,1,a);return b};
vAc=function(a){return _.Ab(a,sAc,1).map(function(b){return _.Rj(b,_.JI,6,NK)||_.Rj(b,_.SI,1,NK)||_.Rj(b,_.rJ,2,NK)||_.Rj(b,_.sJ,3,NK)||_.Rj(b,_.wI,4,NK)||_.Rj(b,_.xJ,5,NK)||_.Rj(b,MK,7,NK)})};yAc=function(a){var b=new wAc;if(a instanceof _.eD)_.Ij(b,1,xAc,a);else if(a instanceof _.fD)_.Ij(b,2,xAc,a);else throw new _.Nc("Unsupported request type");return b};
BAc=function(a){var b=new zAc;if(a instanceof _.PI)_.Ij(b,1,AAc,a);else if(a instanceof _.WI)_.Ij(b,2,AAc,a);else if(a instanceof _.yJ)_.Ij(b,3,AAc,a);else throw new _.Nc("Unsupported request type");return b};OK=function(a,b,c){return b?new c(JSON.parse(a)):a};CAc=function(a){a={t:a.title,d:a.description,c:a.Dd,fi:a.X8,dti:a.c0,a:a.XP?a.XP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.E8})}):void 0};return JSON.stringify(a)};
DAc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Dd:a.c,X8:a.fi,c0:a.dti,XP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,E8:b.ec}}):void 0}};EAc=function(a,b,c){a=a?1:2;a=_.zd(_.yd(new _.wd,12),a);var d=(new _.yf).Kn(!0);d=_.w(d,17,!0);a=_.zf(d,a);c&&_.El(a,c);c=new _.Trc;b&&_.jzc(c,b);return _.kzc(_.mzc(new _.mI,a),c)};FAc=function(a){return a.map(function(b){return b.getItem()})};
GAc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};HAc=function(a,b){var c=new _.dj(_.D(b,16,"")+"/open"),d=a.getId();JK(a)&&(d=Qzc(a));_.kj(c,"id",d);_.kj(c,"authuser",_.vI(_.XH(b)));_.Q(b,89,!1)&&_.xj(a,140)&&_.kj(c,"resourcekey",_.Lk(a));return c.toString()};IAc=function(a){return String.fromCharCode(10>a?48+a:87+a)};JAc=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]=IAc(d>>4);b[2*c+3]=IAc(d&15)}return b.join("")};
KAc=function(a){_.fg("drive.DebugUtil.printFindById",function(c){a.GM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.fg("drive.DebugUtil.getLogs",function(){return _.$uc(a.He())});_.fg("drive.DebugUtil.printLogs",function(){window.console.log(_.$uc(a.He()))});_.fg("drive.DebugUtil.printRequestHistory",function(){a.cR().then(function(c){c.forEach(function(d){window.console.log(_.B(d,1));window.console.log(_.B(d,2))})})});_.fg("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.Ka();b&&_.Q(b,1,!1)&&(_.fg("drive.DebugUtil.getContext",function(){return a.getContext()}),_.fg("drive.DebugUtil.setOffline",function(c){return void a.Jl(c)}))};NAc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Kf;_.Lf(b,305);_.Mf(b,!0);_.w(b,3,2);var c=new _.dD;_.I(c,1,b);LAc(c,[7]);a=a.then(function(d){return d.Pe(c)}).then(MAc);return _.fi(a)};
MAc=function(a){a=_.Ab(a,_.Yo,3);var b=new OAc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.B(d,2))&&(c=_.dh(c.Ya()),_.w(b,3,c))});return"number"===typeof _.B(b,3)?b:null};QAc=function(a,b){var c=PAc(a.um,b.qc());if(c){var d=c.getItem(),e=d.Zv();if(e){var f=e.gR(),h=_.xa(f,function(k){return k.getId()===_.B(b,2)});_.$tc(e,f);h||(f=_.Ab(e,_.sk,3),_.xa(f,function(k){return k.getId()===_.B(b,2)}),_.auc(e,f));_.Ztc(e,(_.B(e,1)||1)-1);a.jl([d],c.V)}}};
SAc=function(a,b,c){if(b=PAc(a.um,b.qc())){var d=b.getItem(),e=d.Zv();if(e){if(1===c.getType()||2===c.getType()){var f=_.Ab(e,_.sk,3);f.push(c);_.Ia(f,RAc);_.auc(e,f)}else f=e.gR(),f.push(c),_.Ia(f,RAc),_.$tc(e,f);_.Ztc(e,(_.B(e,1)||0)+1);a.jl([d],b.V)}}};UAc=function(a){return a.map(function(b){var c=new _.OJb;var d=b.serviceName?TAc.get(b.serviceName):void 0;c=_.w(c,3,d);return _.w(c,2,Number(b.bytesUsed))})};
WAc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return c.serviceName&&VAc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
$Ac=function(a){var b=a.json.exportJob,c=XAc[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=_.wf(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.wf(b.failedItemInfos||[],function(l){var p=_.ZF((new _.Fk).Nb(l.docId).setTitle(l.title),l.mediaType);p=(new _.YAc).setItem(p);p=_.w(p,3,l.relativePath);return _.w(p,4,l.cause)});return new ZAc(c,d,k,f,h,e,a,b)};
bBc=function(a){var b={},c=a.getKey();b.key=c&&_.B(c,2);b.value=a.Ya();(a=c&&_.Zo(c))&&(b.namespace=aBc[a]);return b};cBc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(aBc[a[c]]);return b};dBc=function(a){return"kind,defaultAppIds,items("+a+")"};eBc=function(a,b){return _.Q(b,93,!1)?a+",adminSecureLinkSetting":a};fBc=function(a,b){var c;return(null===(c=_.EJ(b))||void 0===c?0:_.Q(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
gBc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
kBc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.EJ(b))||void 0===c?0:_.Q(c,18,!1))||(null===(d=_.EJ(b))||void 0===d?0:_.Q(d,17,!1)))null===(e=_.EJ(b))||void 0===e?void 0:_.w(e,15,!0);_.w(b,75,1<_.n.devicePixelRatio);var f=b;var h=_.Q(f,61,!1),k=_.EJ(f),l=!!k&&_.Q(k,10,!1);if(_.KH(_.XH(f))||!h&&!l)_.w(f,61,!1),_.Dj(f,66),k&&_.w(k,10,!1),f=!1;else{if(h){_.n.SharedWorker||(h=!1);var p=_.x(f,jAc,66);p&&_.B(p,1)||(h=!1);_.SJ(f)&&!_.Q(f,52,!1)&&(h=!1)}h?k&&_.w(k,10,!1):(_.w(f,61,!1),_.Dj(f,66));
f=h||l}if(f)return b=new PK(a,b,_.Q(b,61,!1)?3:5),new hBc(b);f=_.KH(_.XH(b))?2:1;a=new QK(a,b,f,void 0,void 0,void 0);return _.KH(_.XH(b))?new iBc(a):new jBc(a)};mBc=function(a){return _.Se(a).Lg(_.Q(a.get(_.Oo),19,!1)?lBc:_.cVa)};nBc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};oBc=function(a,b){return _.Ej(a,1,b)};GK=function(a){return _.B(a,11)};pBc=[1];qBc=function(a){_.J.call(this,a,-1,pBc)};_.K(qBc,_.J);
qBc.prototype.aha=function(a){_.Jj(this,1,a,_.sk,void 0)};var rBc=function(a){var b=new qBc;return _.Ej(b,1,a)},sBc=function(a,b){return _.I(a,1,b)},tBc=function(a,b){_.Ej(a,2,b)},uBc=function(a,b){_.I(a,6,b)},vBc=function(a,b){_.I(a,7,b)},wBc=function(a,b){return _.Ij(a,3,_.wk,b)},xBc=function(a){_.J.call(this,a)};_.K(xBc,_.J);var yBc=function(a){_.J.call(this,a)};_.K(yBc,_.J);var zBc=function(a){_.J.call(this,a)};_.K(zBc,_.J);var ABc=function(a){_.J.call(this,a)};_.K(ABc,_.J);
var BBc=function(a){_.J.call(this,a)};_.K(BBc,_.J);var CBc=function(a){_.J.call(this,a)};_.K(CBc,_.J);var DBc=function(a){_.J.call(this,a)};_.K(DBc,_.J);var EBc=function(a){_.J.call(this,a)};_.K(EBc,_.J);var FBc=function(a){_.J.call(this,a)};_.K(FBc,_.J);var GBc=function(a){_.J.call(this,a)};_.K(GBc,_.J);var HBc=function(a){_.J.call(this,a)};_.K(HBc,_.J);var IBc=function(a){_.J.call(this,a)};_.K(IBc,_.J);var JBc=function(a){_.J.call(this,a)};_.K(JBc,_.J);var KBc=function(a){_.J.call(this,a)};
_.K(KBc,_.J);var LBc=function(a,b){_.Ej(a,1,b)},MBc=function(a,b){return _.w(a,2,b)},NBc=function(a,b){return _.I(a,3,b)},OBc=function(a,b){return _.w(a,4,b)},PBc=function(a){_.J.call(this,a)};_.K(PBc,_.J);var QBc=function(a,b){_.Ej(a,1,b)},RBc=function(a,b){return _.I(a,2,b)},SBc=function(a){_.J.call(this,a)};_.K(SBc,_.J);
var TBc=function(a,b){_.Ej(a,1,b)},UBc=function(a,b){return _.I(a,4,b)},VBc=function(a,b){_.I(a,5,b)},WBc=function(a,b){_.Ej(a,2,b)},XBc=function(a,b){_.w(a,3,b)},YBc=function(a,b){_.Ej(a,4,b)},ZBc=function(a,b){return _.I(a,5,b)},$Bc=function(a){_.J.call(this,a)};_.K($Bc,_.J);var aCc=function(a,b){_.Ej(a,1,b)},bCc=function(a,b){return _.I(a,2,b)},cCc=function(a){_.J.call(this,a)};_.K(cCc,_.J);
var dCc=function(a,b){_.Ej(a,2,b)},eCc=function(a){var b=new _.Nna;return _.Ej(b,3,a)},fCc=[1,2],gCc=function(a){_.J.call(this,a)};_.K(gCc,_.J);gCc.prototype.Nf=function(a){return _.Ij(this,1,fCc,a)};var hCc=[1],iCc=function(a){_.J.call(this,a,-1,hCc)};_.K(iCc,_.J);iCc.prototype.Dp=function(){return _.B(this,2)};var jCc=function(a,b){_.Ej(a,1,b)},kCc=function(a,b){return _.w(a,2,b)},lCc=function(a,b){return _.I(a,3,b)},mCc=function(a){_.J.call(this,a)};_.K(mCc,_.J);
var nCc=[2],oCc=function(a){_.J.call(this,a,-1,nCc)};_.K(oCc,_.J);var pCc=function(a,b){_.Ej(a,2,b)},qCc=function(a,b){return _.I(a,3,b)},rCc=[1],sCc=function(a){_.J.call(this,a)};_.K(sCc,_.J);sCc.prototype.Nf=function(a){return _.Ij(this,1,rCc,a)};var tCc=function(a,b){_.Ej(a,1,b)},uCc=function(a,b){return _.Ej(a,2,b)},vCc=function(a){_.J.call(this,a)};_.K(vCc,_.J);var wCc=function(a,b){_.Ej(a,1,b)},xCc=function(a,b){return _.I(a,2,b)},yCc=function(a){_.J.call(this,a)};_.K(yCc,_.J);
var zCc=[1,2,3,4],ACc=[1],BCc=[1,2],CCc=[1],DCc=[1],ECc=[1,2],FCc=[1],GCc=function(a,b){return _.I(a,1,b)},HCc=function(a,b){return _.w(a,2,b)},ICc=function(a,b){return _.w(a,3,b)},JCc=function(a,b){return _.w(a,4,b)},KCc=function(a,b){return _.w(a,5,b)},LCc=function(a,b){return _.w(a,6,b)},MCc=function(a){_.J.call(this,a)};_.K(MCc,_.J);Lzc=function(a,b){_.Ej(a,8,b)};Kzc=function(a,b){return _.I(a,73,b)};Mzc=function(a,b){_.Ej(a,107,b)};_.HK=function(a){return _.x(a,MCc,109)};
Nzc=function(a,b){_.I(a,109,b)};NCc=function(a){_.J.call(this,a)};_.K(NCc,_.J);var OCc=function(a){_.J.call(this,a)};_.K(OCc,_.J);var PCc=function(a){var b=new _.fk;_.lk(b,1,_.B(a,1));_.lk(b,2,_.B(a,2));_.Hb(a,b);return _.hk(b)},QCc=function(a){_.J.call(this,a)};_.K(QCc,_.J);var jAc=function(a){_.J.call(this,a)};_.K(jAc,_.J);var RCc=[11],SCc=function(a){_.J.call(this,a,-1,RCc)};_.K(SCc,_.J);var RK=function(a){_.J.call(this,a)};_.K(RK,_.J);RK.prototype.getKey=function(){return _.B(this,2)};
RK.prototype.bt=function(){return _.xj(this,2)};SK=function(a){return _.D(a,4,"en")};_.TK=function(a){return _.x(a,SCc,34,1)};UK=function(a,b,c){if(b.length!=c.length)return!0;for(var d=0;d<b.length;d++)if(!a.O(b[d]||void 0,c[d]||void 0))return!0;return!1};TCc=function(a,b){return _.w(a,5,b)};_.UCc=function(a,b){return _.w(a,2,b)};_.VCc=function(a,b){return _.w(a,3,b)};_.WCc=function(a,b){return _.w(a,1,b)};_.XCc=function(a,b){return _.w(a,2,b)};_.YCc=function(a,b){return _.Ej(a,5,b)};
_.ZCc=function(a,b){return _.w(a,6,b)};_.$Cc=function(a,b){return _.w(a,7,b)};_.aDc=function(a,b){return _.w(a,8,b)};_.bDc=function(a,b){return _.w(a,10,b)};_.cDc=function(a,b){return _.w(a,15,b)};dDc=[2];_.eDc=function(a){_.J.call(this,a,-1,dDc)};_.K(_.eDc,_.J);_.eDc.prototype.mi=function(){return _.B(this,1)};_.fDc=function(a,b){return _.I(a,1,b)};gDc=function(a,b){return _.w(a,2,b)};hDc=function(a,b){return _.w(a,3,b)};iDc=function(a,b){_.Ej(a,4,b)};_.jDc=function(a,b){_.I(a,8,b)};
_.kDc=function(a,b){_.I(a,9,b)};lDc=function(a,b){_.w(a,10,b)};mDc=function(a){_.J.call(this,a)};_.K(mDc,_.J);mDc.prototype.Ya=function(){return _.Bj(this,1)};mDc.prototype.Hb=function(a){return _.yb(this,1,a,0)};LAc=function(a,b){_.Cj(a,3,b)};_.nDc=function(a){_.J.call(this,a)};_.K(_.nDc,_.J);_.nDc.prototype.getId=function(){return _.B(this,1)};_.nDc.prototype.Nb=function(a){return _.w(this,1,a)};_.nDc.prototype.De=function(){return _.B(this,4)};_.nDc.prototype.qh=function(a){return _.w(this,4,a)};
_.pK=function(a){_.J.call(this,a)};_.K(_.pK,_.J);_.pK.prototype.getTitle=function(){return _.B(this,1)};_.pK.prototype.setTitle=function(a){return _.w(this,1,a)};_.pK.prototype.se=function(){return _.x(this,_.Kf,2)};
var oDc=function(a,b){return _.Cj(a,9,b)},pDc=function(a,b){return _.Cj(a,10,b)},qDc=function(a,b){return _.w(a,36,b)},rDc=function(a,b){return _.Ej(a,38,b)},sDc=function(a,b){return _.w(a,2,b)},tDc=function(a,b){return _.I(a,3,b)},uDc=function(){var a=new _.qI;return _.w(a,5,!0)},vDc=function(a){_.J.call(this,a)};_.K(vDc,_.J);var wDc=function(a){_.J.call(this,a)};_.K(wDc,_.J);var xDc=function(a){_.J.call(this,a)};_.K(xDc,_.J);var yDc=function(a){_.J.call(this,a)};_.K(yDc,_.J);
var zDc=function(a){_.J.call(this,a)};_.K(zDc,_.J);var ADc=function(a){_.J.call(this,a)};_.K(ADc,_.J);ADc.prototype.uy=function(){return _.P(this,1)};ADc.prototype.Fo=function(){return _.B(this,5)};ADc.prototype.Nm=function(){return _.B(this,6)};ADc.prototype.Kv=function(a){return _.w(this,6,a)};var BDc=function(a,b){return _.w(a,1,b)},CDc=function(a,b){return _.w(a,3,b)},DDc=function(a,b){return _.w(a,4,b)},EDc=function(a,b){_.w(a,7,b)},FDc=function(a){_.J.call(this,a)};_.K(FDc,_.J);
FDc.prototype.uy=function(){return _.P(this,2)};var GDc=function(a,b){_.w(a,1,b)},HDc=function(a){_.J.call(this,a)};_.K(HDc,_.J);HDc.prototype.Nm=function(){return _.B(this,3)};HDc.prototype.Kv=function(a){return _.w(this,3,a)};HDc.prototype.Fo=function(){return _.B(this,4)};var IDc=function(a){_.J.call(this,a)};_.K(IDc,_.J);var JDc=function(a){_.J.call(this,a)};_.K(JDc,_.J);
var KDc=function(a,b){return _.w(a,1,b)},LDc=function(a,b){return _.w(a,2,b)},MDc=function(a,b){_.w(a,3,b)},NDc=[1,3,5],ODc=function(a){_.J.call(this,a,-1,NDc)};_.K(ODc,_.J);ODc.prototype.aD=function(){return _.ie(this,1)};ODc.prototype.uy=function(){return _.P(this,2)};ODc.prototype.Fo=function(){return _.B(this,7)};PDc=function(a,b){_.w(a,2,b)};QDc=function(a,b){_.Gj(a,5,b,void 0)};RDc=function(a,b){_.w(a,6,b)};SDc=function(a,b){_.w(a,7,b)};TDc=function(a,b,c){_.VJ(a,b,c,"warning")};
_.UDc=function(a,b){_.I(a,2,b)};VDc=function(a){return[].concat(_.Jd(a.O))};WDc=function(a){return a.H.concat([].concat(_.Jd(a.O)))};XDc=function(a,b){var c=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.Jd(c))};VK=function(a){var b=_.dK(a).ld();b||(b=new _.Luc,a=_.dK(a),_.I(a,1,b));return b};YDc=function(a){var b=_.x(_.dK(a),ODc,3);b||(b=new ODc,a=_.dK(a),_.I(a,3,b));return b};
WK=function(a){var b=_.x(_.dK(a),ADc,16);b||(b=new ADc,a=_.dK(a),_.I(a,16,b));return b};ZDc=function(a){var b=_.x(_.dK(a),xDc,7);b||(b=new xDc,a=_.dK(a),_.I(a,7,b));return b};$Dc=function(a){var b=_.x(_.dK(a),zDc,12);b||(b=new zDc,a=_.dK(a),_.I(a,12,b));return b};aEc=function(a){var b=_.x(_.dK(a),FDc,17);b||(b=new FDc,a=_.dK(a),_.I(a,17,b));return b};bEc=function(a){var b=_.x(_.dK(a),JDc,21);b||(b=new JDc,a=_.dK(a),_.I(a,21,b));return b};
cEc=function(a){if(a instanceof _.LH)return 2;if(a instanceof _.XF)return 10;if(a instanceof _.yf)return _.gJ(a)?3:_.hJ(a)?7:_.iJ(a)?8:1;if(a instanceof _.SF)return 9;if(a instanceof _.eG)return 11;if(a instanceof _.pJ)return 15;if(a instanceof _.YH)return 6;if(a instanceof _.kJ){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 _.dD)return 4;if(a instanceof _.Qz)return 12;if(a instanceof _.YF)return 13}return 0};
dEc=function(a){var b=null;a instanceof _.UA||"undefined"!=typeof _.fK&&a instanceof _.fK||"undefined"!=typeof _.gK&&a instanceof _.gK?b=a.Qe()||0:"undefined"!=typeof _.iK&&a instanceof _.iK||"undefined"!=typeof _.jK&&a instanceof _.jK||"undefined"!=typeof _.kK&&a instanceof _.kK||"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK?b=a.Fe:"undefined"!=typeof _.hK&&a instanceof _.hK&&(b=a.Qe());return b||0};
XK=function(a,b,c){return a.V&&_.ewc(a)?(a=_.awc(a.V,b,0),c&&_.lpc(a,c),a):null};eEc=function(a){a.V&&_.ewc(a)&&(a=a.V,a.H.pP()&&a.H.IZ())};fEc=function(a){var b=new _.$I;return _.w(b,1,a)};gEc=function(a,b){return _.I(a,2,b)};hEc=function(a,b){return _.I(a,1,b)};iEc=function(a,b){a.ha=b};jEc=[2];YK=function(a){_.J.call(this,a,-1,jEc)};_.K(YK,_.J);YK.prototype.Cb=function(){return _.B(this,1)};YK.prototype.Ac=function(a){return _.w(this,1,a)};YK.prototype.aha=function(a){_.Jj(this,2,a,_.sk,void 0)};
YK.prototype.Wj=function(){return _.B(this,3)};var kEc=function(a,b){return _.Ej(a,2,b)},lEc=[2],mEc=function(a){_.J.call(this,a,-1,lEc)};_.K(mEc,_.J);mEc.prototype.Cb=function(){return _.B(this,1)};mEc.prototype.Ac=function(a){return _.w(this,1,a)};mEc.prototype.Wj=function(){return _.B(this,3)};
var nEc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.on,a.H.promise):null},oEc=function(a){for(var b=[],c=_.m(a.W),d=c.next();!d.done;d=c.next()){d=_.m(d.value);d.next();d=d.next().value;d=_.m(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Dv.config.timestamp)&&b.push(e)}a=_.m(a.buckets);for(d=a.next();!d.done;d=a.next()){c=[];d=_.m(d.value.aj);for(e=d.next();!e.done;e=d.next())(e=e.value.Dv.config.timestamp)&&c.push(e);_.Ba(b,c)}return b},pEc=function(a,b){_.wK(["drive#permissionList"],
b);return kEc(new YK,(b.items||[]).map(function(c){return _.syc(a,c)}))},qEc=function(a,b){return LCc(KCc(JCc(_.auc(_.Ztc(new _.Yna,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.syc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},yzc=function(a,b){return _.Cj(a,1,b)},rEc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},sEc=function(a,
b){if(!(a instanceof b.constructor))throw Error("aa");var c=a.ys(!1);b=b.ys(!1);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.bba(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)},tEc=[2],uEc=function(a){_.J.call(this,a,-1,tEc)};_.K(uEc,_.J);uEc.prototype.Cb=function(){return _.B(this,1)};uEc.prototype.Ac=function(a){return _.w(this,1,a)};uEc.prototype.tVa=function(){return _.Ab(this,_.cEa,2)};
uEc.prototype.Wj=function(){return _.B(this,3)};vEc=[2,6];_.gK=function(a){_.J.call(this,a,-1,vEc)};_.K(_.gK,_.J);_.g=_.gK.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Ad=function(){return _.Ab(this,_.Fk,2)};_.g.LA=function(a){return _.Ej(this,2,a)};_.g.hh=function(a,b){return _.Jj(this,2,a,_.Fk,b)};_.g.Wj=function(){return _.B(this,3)};_.g.Ql=function(){return _.Q(this,4,!0)};var wEc=function(a,b){return _.Ej(a,6,b)};
_.gK.prototype.Rf=function(){return _.B(this,10)};_.gK.prototype.lP=function(a){return _.w(this,10,a)};_.gK.prototype.Qe=function(){return _.B(this,9)};_.gK.prototype.yi=function(a){return _.w(this,9,a)};
var xEc={SUCCESS:1,Z7b:2,WZb:3,zVb:4,l8b:5,F2b:6,u2b:7,lWb:8,X6b:9,l7b:10,Y7b:11,NXb:12,rXb:13,Y_b:14,oZb:15,vXb:16,uXb:17,AXb:18,xXb:19,yXb:20,C7b:21,h8b:22,Y2b:23,d2b:24,dWb:25,PERMISSION_DENIED:26,s1b:27,qWb:28,pWb:29,INTERRUPTED:30,x3b:31,S3b:32,bYb:33,hYb:34,d7b:35,oYb:36,pZb:37,gYb:38,t2b:39,UWb:40,s3b:41,U3b:42,V6b:43,GWb:44,TWb:45,mZb:46,n1b:47,r2b:48,P2b:49,t3b:50,O6b:51,sXb:52,W6b:53,U6b:54,MWb:55,JWb:56,zYb:57,M1b:58,u3b:59,M0b:60,h5b:61,W5b:62,C6b:63,n0b:64,f2b:65,o8b:66,qYb:67,qZb:68,
X7b:69,s0b:70,oWb:71,BWb:72,d6b:73,D6b:74,z6b:75,x6b:76,S5b:190,w6b:191,e6b:192,k6b:126,g6b:128,h6b:129,i6b:130,j6b:131,l6b:132,m6b:133,q5b:127,n5b:134,o5b:135,s5b:136,t5b:137,u5b:138,p5b:194,r5b:195,v5b:196,m5b:197,V5b:189,g5b:139,i5b:140,w5b:141,x5b:142,J5b:143,M5b:144,N5b:145,O5b:146,P5b:147,Q5b:148,R5b:149,U5b:150,$5b:151,b6b:152,c6b:153,f6b:154,n6b:155,p6b:156,q6b:157,r6b:158,s6b:159,t6b:160,u6b:161,y6b:162,B6b:163,E6b:164,j5b:165,k5b:166,l5b:167,e5b:168,f5b:169,A5b:170,y5b:171,z5b:172,B5b:173,
C5b:174,D5b:175,E5b:176,F5b:177,G5b:178,H5b:179,I5b:180,K5b:181,L5b:182,T5b:106,a6b:183,o6b:184,v6b:185,X5b:186,Y5b:187,Z5b:188,A6b:244,r3b:77,b8b:78,g8b:79,A1b:80,c0b:81,e0b:82,yYb:83,lZb:84,t1b:85,v7b:86,fYb:87,u0b:88,t0b:89,H6b:90,F6b:91,G6b:92,c8b:93,hXb:94,gXb:95,dXb:96,fXb:97,eXb:98,n8b:99,R4b:100,DXb:101,wXb:102,BXb:103,zXb:104,CXb:105,rZb:107,i7b:108,L4b:109,R7b:110,uZb:111,tZb:112,R0b:113,S0b:114,Y3b:115,NWb:116,Z0b:117,KYb:118,d8b:119,z2b:120,A2b:121,Z_b:193,tXb:122,WXb:123,b0b:124,Z1b:125,
v0b:198,C3b:199,k0b:200,cVb:201,q0b:202,o0b:203,rWb:204,M8b:205,g1b:206,aXb:207,w2b:208,T3b:209,N4b:210,DVb:211,P0b:212,W0b:213,Z6b:214,Y6b:215,m0b:216,X_b:217,l0b:218,sYb:219,m7b:220,tYb:221,N0b:222,f7b:223,x8b:224,j2b:225,e7b:226,YXb:227,e1b:228,xYb:229,WWb:230,t7b:231,a2b:232,FILE_TOO_LARGE:233,r0b:234,rYb:235,iZb:236,O3b:237,g2b:238,OUb:239,XWb:240,n2b:241,Y4b:242,dYb:243,aVb:245,f0b:246,R2b:247,d0b:248,z1b:249,e2b:250,nZb:251,c_b:252,Q0b:253,KWb:254,sZb:255,m8b:256,PZb:257,J1b:258,e4b:259,B3b:260,
C0b:261,IXb:262,eYb:263,cWb:264,r1b:265,k8b:266,SUb:267,TVb:268,SVb:269,s2b:270,MUb:271,NUb:272,fWb:273,$Wb:274,VVb:275,UVb:276,f1b:277,vZb:278,h0b:279},ZK=function(a,b){_.ni.call(this,"Aa");this.error=a;this.H=b};_.K(ZK,_.ni);var yEc={e8b:0,K1b:1,$2b:2,N2b:3,x0b:4,AVb:5,L1b:6,O2b:7,E_b:8,bWb:9,L2b:10},zEc=function(){this.map={};this.status=6;this.Fe=null};_.g=zEc.prototype;_.g.Cb=function(){return this.status};_.g.Ac=function(a){this.status=a};_.g.Qe=function(){return this.Fe};
_.g.yi=function(a){this.Fe=a};_.g.Qr=function(){return this.map};var AEc=function(a,b){a.map=b};zEc.prototype.Gc=function(a){var b=[];_.Qa(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Fe,me:b})};var BEc=function(a,b,c){c=JSON.parse(c);a.Ac(c.s);a.yi(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},CEc=function(){zEc.apply(this,arguments)};_.K(CEc,zEc);_.fK=function(){zEc.apply(this,arguments)};_.K(_.fK,zEc);
var $K=function(a){_.xi.call(this);var b=this;this.wa=a;this.active=!1;_.$e(this,function(){b.active=!1})};_.K($K,_.xi);$K.prototype.Qi=function(){return String(_.Ea(this))};$K.prototype.activate=function(){this.active||(this.log("livelist "+this.Qi()+" activated."),this.active=!0)};$K.prototype.isActive=function(){return this.active};$K.prototype.log=function(a,b){this.wa.log(this.logName,a,void 0===b?"info":b)};
_.aL=function(a,b,c,d,e,f){$K.call(this,c);var h=this;this.O=a;this.ma=b;this.request=e;this.ta=f;this.H=[];this.items=[];this.V=!0;this.suggestionSessionId=null;this.Ba=d;this.status=6;this.W=yzc(new _.DK,[1]);this.limit=e.vi();this.Fe=0;_.$e(this,function(){h.H=[]});_.B7a++};_.K(_.aL,$K);_.g=_.aL.prototype;_.g.activate=function(){$K.prototype.activate.call(this);_.pa(this.items)&&6===this.Cb()&&this.nk()||DEc(this)};_.g.ld=function(){return this.request};_.g.vi=function(){return this.limit};
_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.W};_.g.nk=function(){return this.V};_.g.Rr=function(){var a=_.z7a().ky(this.H,this.items),b=(new uEc).Ac(this.Cb());a=_.Ej(b,2,a);this.H=this.items;return a};_.g.ou=function(a){this.isActive()&&(this.limit+=a||50,this.log("incrementMaxCount with "+a+" called on Livelist "+(this.Qi()+". New limit is ")+(this.limit+".")),this.Ba(this.Qi(),this.limit))};
var EEc=function(a,b){return a.Cb()!==b.Cb()||UK(_.z7a(),a.items,b.Ad())},FEc=function(a,b){a.items=b.Ad();a.status=b.Cb();_.lI(a.ta)&&(a.W=zzc(a.status,a.items));a.V=b.Ql();a.Fe=b.Qe()};_.aL.prototype.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.aL.prototype.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};
_.aL.prototype.Au=function(a,b){var c=this;b+="\n\n\nQuery:\n"+bL(this.O,this.ld());return _.fi(this.ma.then(function(d){return d.lNb(a,b,c.ld(),c.vi(),c.items)}))};
var DEc=function(a){if(a.isActive()){var b=a.Iq().H();a.log("Livelist "+a.Qi()+" returning "+a.items.length+". Status: "+(_.db(xEc)[a.Cb()]+". ")+(6===a.Cb()?"MissingTypes: "+b.join(",")+". ":"")+("Datasource: "+_.db(yEc)[a.Fe]+". Query: ")+(bL(a.O,a.request)+" ")+Azc(a.items));GEc(a,a.items,a.request);a.dispatchEvent(new _.ni(_.Zc,a))}},GEc=function(a,b,c){if(_.gJ(c))c="quick access";else if(_.hJ(c))c="people predict";else if(_.iJ(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");
a.log("Livelist "+a.Qi()+" returning "+a.items.length+" for "+(c+": "+b))};_.aL.prototype.refresh=function(){};_.aL.prototype.Xa=function(){_.C7a++;$K.prototype.Xa.call(this)};
var Ezc=[1004,1005,1002,1003],Szc=[1002,1003,1005],HEc=function(a,b,c,d,e,f){$K.call(this,c);var h=this;this.O=a;this.W=b;this.ha=d;this.ka=e;this.request=f;this.logName="drive.ds.sync.IdViewCacheLiveMap";this.H={};this.items={};this.status=6;this.V=yzc(new _.DK,[1]);this.log("Creating find by ids live map: "+this.request.ln().join(", "));_.$e(this,function(){h.H=[]});_.dkb++};_.K(HEc,$K);_.g=HEc.prototype;
_.g.activate=function(){$K.prototype.activate.call(this);_.Za(this.items)&&6===this.status||IEc(this)};_.g.ld=function(){return this.request};_.g.getData=function(){this.H=this.items;var a=new _.fK;_.lI(this.O)?a.Ac(Uzc(Object.values(this.items))?6:this.status):a.Ac(this.status);a.map=this.items;return a};_.g.Rr=function(){var a=Wzc(this.H,this.items),b=new CEc;b.Ac(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.V};
_.g.gT=function(a){JEc(a);var b=this.request;this.request=a;this.ka(this.Qi(),b,a)};_.g.update=function(a){var b=this;0<=_.na(this.ld().ln(),"root")?this.ha.addCallback(function(c){var d=a.Qr()[c];d&&(_.$a(a.map,c),a.map.root=d);KEc(b,a)}):KEc(this,a)};var KEc=function(a,b){if(a.status!==b.Cb()||Xzc(a.items,b.Qr()))a.status=b.Cb(),a.items=b.Qr(),_.lI(a.O)&&(a.V=zzc(a.status,Object.values(a.items))),IEc(a)};
HEc.prototype.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};HEc.prototype.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};var IEc=function(a){a.isActive()&&(a.log("Livelist "+a.Qi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.db(xEc)[a.Cb()]+". Query: ")+(bL(a.W,a.request)+" ")+Azc(Object.values(a.items))),a.dispatchEvent(new _.ni(_.Zc,a)))};HEc.prototype.Xa=function(){_.ekb++;$K.prototype.Xa.call(this)};
var LEc=[1,2],MEc=function(a){_.J.call(this,a,-1,LEc)};_.K(MEc,_.J);_.NEc=function(a){_.J.call(this,a)};_.K(_.NEc,_.J);_.NEc.prototype.Cb=function(){return _.B(this,1)};_.NEc.prototype.Ac=function(a){return _.w(this,1,a)};_.NEc.prototype.mn=function(){return _.x(this,_.TA,2)};var OEc=function(a){_.ni.call(this,a)};_.K(OEc,_.ni);var PEc=[5,7,9],QEc=function(a){_.J.call(this,a,-1,PEc)};_.K(QEc,_.J);_.g=QEc.prototype;_.g.getUser=function(){return _.x(this,_.sk,1)};_.g.NA=function(a){_.w(this,2,a)};
_.g.setBooleanValue=function(a){return _.w(this,3,a)};_.g.setTextValue=function(a){return _.w(this,4,a)};_.g.Voa=function(a){return _.Cj(this,5,a)};_.g.addTextValues=function(a,b){return _.Gj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.w(this,6,a)};_.g.Roa=function(a){return _.Cj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Gj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.Hoa=function(a){return _.Cj(this,9,a)};
_.g.addIntegerValues=function(a,b){return _.Gj(this,9,a,b)};var REc=[7,10,12,16,13,3],cL=function(a){_.J.call(this,a,-1,REc)};_.K(cL,_.J);var dL=function(a){return _.B(a,4)};_.g=cL.prototype;_.g.NA=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};_.g.j$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.Voa=function(a){return _.Cj(this,7,a)};_.g.addTextValues=function(a,b){return _.Gj(this,7,a,b)};
_.g.h$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.i$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};_.g.kMa=function(){return _.ie(this,10)};_.g.Roa=function(a){return _.Cj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Gj(this,10,a,b)};_.g.g$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.Hoa=function(a){return _.Cj(this,12,a)};
_.g.addIntegerValues=function(a,b){return _.Gj(this,12,a,b)};_.g.k$a=function(){return _.x(this,_.sk,15)};_.g.setUserValue=function(a){return _.I(this,15,a)};_.g.SWa=function(){return _.Ab(this,_.sk,16)};var SEc=function(a,b){_.Ej(a,16,b)};cL.prototype.addUserValues=function(a,b){return _.Jj(this,16,a,_.sk,b)};cL.prototype.H=function(){return _.B(this,17)};cL.prototype.setDateStringValue=function(a){return _.w(this,17,a)};cL.prototype.V=function(){return _.xj(this,17)};
var TEc=function(a,b){_.Ej(a,13,b)};cL.prototype.getId=function(){return _.B(this,14)};cL.prototype.Nb=function(a){return _.w(this,14,a)};cL.prototype.getName=function(){return _.B(this,1)};cL.prototype.$c=function(a){return _.w(this,1,a)};var MK=function(a){_.J.call(this,a)};_.K(MK,_.J);MK.prototype.getId=function(){return _.B(this,1)};MK.prototype.Nb=function(a){return _.w(this,1,a)};MK.prototype.se=function(){return _.x(this,_.Kf,3)};UEc=[3];_.eL=function(a){_.J.call(this,a,-1,UEc)};_.K(_.eL,_.J);
_.eL.prototype.getType=function(){return _.B(this,1)};_.eL.prototype.qc=function(){return _.B(this,2)};_.VEc=function(a){_.J.call(this,a)};_.K(_.VEc,_.J);_.VEc.prototype.getFeature=function(){return _.B(this,1)};WEc=[1];_.cK=function(a){_.J.call(this,a,-1,WEc)};_.K(_.cK,_.J);XEc=[2,3,8];_.sJ=function(a){_.J.call(this,a,-1,XEc)};_.K(_.sJ,_.J);_.sJ.prototype.getId=function(){return _.B(this,1)};_.sJ.prototype.Nb=function(a){return _.w(this,1,a)};_.sJ.prototype.se=function(){return _.x(this,_.Kf,4)};
_.sJ.prototype.wc=function(){return _.B(this,5)};var YEc=function(a){_.J.call(this,a)};_.K(YEc,_.J);ZEc=[1,2,4];$Ec={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};aFc=function(a,b){return new _.Rpc(_.Spc.bound(a,b,void 0,void 0))};bFc=function(){var a=new _.$h,b=_.dqc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Gd(_.QH(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};
_.cFc=function(a){_.J.call(this,a)};_.K(_.cFc,_.J);_.cFc.prototype.yp=function(){return _.B(this,1)};_.cFc.prototype.zd=function(){return _.B(this,2)};_.cFc.prototype.setSize=function(a){return _.w(this,2,a)};_.cFc.prototype.getUrl=function(){return _.B(this,3)};_.dFc=function(a){_.J.call(this,a)};_.K(_.dFc,_.J);_.dFc.prototype.getType=function(){return _.B(this,1)};eFc=[2,3];_.fFc=function(a){_.J.call(this,a,-1,eFc)};_.K(_.fFc,_.J);gFc=[4,5,6,17,18,24];_.fL=function(a){_.J.call(this,a,-1,gFc)};
_.K(_.fL,_.J);_.fL.prototype.getId=function(){return _.B(this,1)};_.fL.prototype.Nb=function(a){return _.w(this,1,a)};_.fL.prototype.getName=function(){return _.B(this,2)};_.fL.prototype.$c=function(a){return _.w(this,2,a)};var hFc=function(a,b){return _.Cj(a,4,b)},iFc=function(a,b){return _.Cj(a,5,b)};_.fL.prototype.MQ=function(){return _.B(this,8)};_.fL.prototype.getType=function(){return _.B(this,23)};var jFc=[3],gL=function(a){_.J.call(this,a,-1,jFc)};_.K(gL,_.J);
gL.prototype.eq=function(){return _.B(this,1)};var kFc=function(a,b){return _.w(a,1,b)};gL.prototype.getTitle=function(){return _.B(this,2)};gL.prototype.setTitle=function(a){return _.w(this,2,a)};gL.prototype.Ad=function(){return _.Ab(this,_.Fk,3)};var lFc=function(a,b){return _.Ej(a,3,b)};gL.prototype.hh=function(a,b){return _.Jj(this,3,a,_.Fk,b)};gL.prototype.V=function(){return _.B(this,4)};var mFc=function(a,b){return _.w(a,4,b)};gL.prototype.H=function(){return _.x(this,_.vk,5)};
var nFc=function(a,b){return _.I(a,5,b)},OAc=function(a){_.J.call(this,a)};_.K(OAc,_.J);var oFc=[2],hL=function(a){_.J.call(this,a,-1,oFc)};_.K(hL,_.J);hL.prototype.Cb=function(){return _.B(this,1)};hL.prototype.Ac=function(a){return _.w(this,1,a)};hL.prototype.Zk=function(){return _.Ab(this,gL,2)};var pFc=function(a,b){return _.Ej(a,2,b)};hL.prototype.Rf=function(){return _.B(this,4)};qFc=function(a,b){return _.w(a,4,b)};_.hK=function(a){_.J.call(this,a)};_.K(_.hK,_.J);_.g=_.hK.prototype;
_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.NT=function(){return _.Cb(this,2,void 0,_.TA)};_.g.Wj=function(){return _.B(this,3)};_.g.Qe=function(){return _.B(this,5)};_.g.yi=function(a){return _.w(this,5,a)};var rFc=[1],NK=[1,2,3,4,5,6,7],sAc=function(a){_.J.call(this,a)};_.K(sAc,_.J);var tAc=function(a){_.J.call(this,a,-1,rFc)};_.K(tAc,_.J);var iL=function(a){_.J.call(this,a)};_.K(iL,_.J);iL.prototype.getQuery=function(){return _.x(this,_.yf,1,1)};
var sFc=function(a,b){return _.I(a,1,b)};iL.prototype.Vn=function(){return _.B(this,4)};var tFc=function(a,b){return _.I(a,5,b)},uFc=[1,2,5,7,9,10,12,14],jL=function(a){_.J.call(this,a,-1,uFc)};_.K(jL,_.J);jL.prototype.Ad=function(){return _.Ab(this,_.Fk,1)};var vFc=function(a,b){return _.Ej(a,1,b)};jL.prototype.hh=function(a,b){return _.Jj(this,1,a,_.Fk,b)};jL.prototype.aha=function(a){_.Jj(this,2,a,_.sk,void 0)};var wFc=function(a,b){return _.w(a,3,b)};
jL.prototype.ju=function(){return _.B(this,4)};jL.prototype.Yy=function(a){return _.w(this,4,a)};var xFc=function(a,b){return _.Ej(a,5,b)};jL.prototype.tv=function(){return _.P(this,6)};var yFc=function(a,b){return _.w(a,6,b)};jL.prototype.Cf=function(){return _.x(this,_.JB,8)};var zFc=function(a,b){return _.Cj(a,12,b)};jL.prototype.Fo=function(){return _.Aj(this,13,0)};
var AFc=function(a,b){return _.w(a,13,b)},BFc={gWb:0,eWb:1,Y0b:2,g7b:3,j7b:4,E2b:5},LK=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],qAc=function(a){_.J.call(this,a)};_.K(qAc,_.J);var xAc=[1,2],wAc=function(a){_.J.call(this,a)};_.K(wAc,_.J);var AAc=[1,2,3],zAc=function(a){_.J.call(this,a)};_.K(zAc,_.J);
var CFc=function(a,b){return 1<a?2===b:a===b},DFc=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("Se");},kL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.V=void 0===c?1:c;this.O=d;this.H=e};_.g=kL.prototype;_.g.clone=function(){return new kL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.Zb=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.Mw=function(a){this.V=a};_.g.equals=function(a){return this.count===a.Zb()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Nj(this.item,a.getItem())};
var EFc=function(a,b){a.H=b;return a},lL=function(a){return a instanceof _.Fk?null!=a.getId()&&a.getId()==a.wc():null!=a.qc()&&a.qc()==a.wc()},FFc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.Oh();null!=e&&Kzc(a,e.clone());if((e=b.getCapabilities())&&null!=_.P(e,13)){var f=a.getCapabilities()||new _.yk;_.w(f,13,_.P(e,13));_.MJ(a,f)}e&&null!=_.P(e,18)&&(f=a.getCapabilities()||new _.yk,_.w(f,18,_.P(e,18)),_.MJ(a,f));IK(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,
34,91,41,59,95,75,94,221,122,2]);d.Oh()&&IK(a,d,c)},GFc=function(a,b,c){c=void 0===c?[]:c;if(!b||!lL(a)&&!lL(b))return a;if(2==a.tv()){c=_.B(a,82);var d=b.clone();FFc(d,a);_.huc(d,b.tv());_.zI(d,c);return d}a=a.clone();FFc(a,b,c);return a},HFc=function(a){return(a=a?a.Oh():null)&&_.P(a,7)||!1},IFc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},JFc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.W.has(e)&&!c.has(e)}))).forEach(function(e){a.log("Creating field cache for field: "+
e);c.add(e);b[e]={}})},LFc=function(a,b,c){b.every(function(d){return lL(d)})?KFc(b,c,a.H,a.O):b.every(function(d){return!lL(d)})&&KFc(b,c,a.items,a.fields)},KFc=function(a,b,c,d){b=_.htc(b,[].concat(_.Jd(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.wf();e=e?_.ne(e):null;for(var f=_.m(b),h=f.next();!h.done;h=f.next()){h=h.value;var k=c[h][d.getId()];k&&IK(d,k,[h]);e&&(k=c[h][e.getId()])&&IK(e,k,[h])}}};
IFc.prototype.update=function(a,b,c){b&&lL(b)?MFc(a,b,this.H,this.O,c):MFc(a,b,this.items,this.fields,c)};IFc.prototype.rJ=function(a){var b=this;_.Qa(this.items,function(c,d){_.$a(b.items[d],a)});_.Qa(this.H,function(c,d){_.$a(b.H[d],a)})};
var MFc=function(a,b,c,d,e){_.Qa(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.$a(f,a):b&&Hzc(b,[h])&&(f[a]=NFc(b,h)),b)){var k=b.wf();(k=k?_.ne(k):null)&&Hzc(k,[h])&&(f[k.getId()]=NFc(k,h))}});b&&Dzc(b,[].concat(_.Jd(d)))},NFc=function(a,b){var c=new _.Fk;c.Nb(a.getId());IK(c,a,[b]);return c};IFc.prototype.clear=function(){var a=this;_.Qa(this.items,function(b,c){a.items[c]={}});_.Qa(this.H,function(b,c){a.H[c]={}})};
IFc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var OFc=function(a,b,c){var d=this;this.lt=b;this.Av=c;this.Cd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=OFc.prototype;_.g.iy=function(){return this.Cd};_.g.Xj=function(a){var b=new Map;a=_.m(a.ln());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Cd.has(c)&&b.set(c,this.Cd.get(c).getItem());return b};
_.g.query=function(a,b){var c=[];if(PFc(a)){for(var d=_.m(this.Cd.values()),e=d.next();!e.done;e=d.next())e=e.value,mL(this.lt,a,e.getItem())&&(void 0===b||CFc(e.V,b))&&c.push(e);this.Av.sort(a,c)}return c};_.g.get=function(a){return this.Cd.get(a)||null};_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Cd.get(c.value))&&b.push(c);return b};
_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,QFc(this,a.H)?(this.Cd.delete(a.id),a.H.count--):this.Cd.set(a.id,a.H)):(this.Cd.delete(a.id),a.O.count--)};var QFc=function(a,b){return 1<b.Zb()||CFc(b.V,2)||b.getItem().KI()||cAc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};OFc.prototype.rJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b=b.value,QFc(this,b)&&(this.Cd.delete(b.getId()),b.count--)};
var RFc=function(a,b,c,d){this.Gg=a;this.W=b;this.O=c;this.V=d},PAc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),LFc(a.V,[b.getItem()],WDc(a.Gg)),b):null};RFc.prototype.H=function(a){return(a=PAc(this,a))?a.getItem():null};var SFc=function(a,b){var c={};b.forEach(function(d){var e=PAc(a,d);e&&(c[d]=e)});return c},TFc=function(a,b){return _.Sa(SFc(a,b),function(c){return c.getItem()})},UFc=function(a,b){b=oL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};
RFc.prototype.query=function(a){return UFc(this,a).map(function(b){return b.getItem()})};RFc.prototype.zd=function(){return this.O.iy().size};
var VFc=function(a){var b=new Set;a=_.m(a.O.iy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Gk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||GK(e));(d=c.ym())&&b.add(d.getId()||GK(d));(d=c.Jr())&&b.add(d.getId()||GK(d));(d=c.aq())&&b.add(d.getId()||GK(d));(c=c.eD())&&b.add(c.getId()||GK(c))}return b.size},WFc=function(a){return[].concat(_.Jd(new Set(a.map(function(b){return _.Vrc.get(b)}).filter(function(b){return b})))).join(",")},pL=function(a,
b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Jd(b));b=WFc(b);var d=_.lI(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,customerId":
_.Q(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,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
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";_.Q(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.Q(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},XFc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+pL(a,b,!1)+")"},YFc=function(a){var b=new _.Eo;_.bK(b,"hidden",_.P(a,4));a=_.P(a,6);null!=a&&_.bK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},ZFc=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}},$Fc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.UA()||!1;case 12:return b.jz()||0;case 11:return b.iB()||0;case 10:return b.wq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.ty()||0;case 57:return _.B(b,62)||0;case 32:return b.Tu()||0;case 9:return b.PC()||0;case 67:return b.UJ()||0;case 98:return b.$v()||0;
default:return""}},aGc=function(a){var b=_.spc(),c={};b&&(c.numeric=b);this.H=_.tpc(a,c)};aGc.prototype.compare=function(a,b,c){b=bGc(b);c=bGc(c);a=a.Kc();var d=ZFc(a);if(a&&d){d=cGc(this,a);var e=4===a.getType()?this.H:_.Ga;return dGc(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};aGc.prototype.sort=function(a,b,c){a=a.Kc();var d=ZFc(a);a&&d&&(d=cGc(this,a),d=eGc(b,d),_.Ia(b,fGc(this,a,d)));c&&0<c&&_.sa(b,c,b.length-c)};
var bGc=function(a){return a instanceof _.Fk?a:a.getItem()},cGc=function(a,b){b=ZFc(b);return _.M(a.O,a,b,_.Ga)},eGc=function(a,b){var c={};a.forEach(function(d){d=bGc(d);var e=d.getId();c[e]=b(d)});return c},fGc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=bGc(d);e=bGc(e);return dGc(b,function(h){return c[h.getId()]},f,d,e)}},dGc=function(a,b,c,d,e){var f=1===a.Xf()?1:-1;if(_.P(a,3)){a=KK(d,!0);var h=KK(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ga(d.getId(),
e.getId()))};aGc.prototype.O=function(a,b,c){for(var d=$Fc(a[0],c),e=1;e<a.length;e++){var f=$Fc(a[e],c);d=1===b(f,d)?f:d}return d};var gGc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.yq=_.KH(_.XH(b));a=_.EJ(b);this.V=!(!a||!_.Q(a,1,!1));this.O=!(!a||!_.Q(a,8,!1))};gGc.prototype.Yy=function(a){this.rootId=a||""};
var oL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Nb(a.rootId);_.Dl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Hb(a.rootId)});_.Ef(b,_.Cl(b).map(function(d){d.Hb(d.Ya().toLowerCase());return d}));c&&_.Bl(b,a.fields);b.H().sort();return b},bL=function(a,b,c){if(b instanceof _.yf){b=oL(a,b);var d=_.Avc(b)}else if(b instanceof _.SF)d=b.ln().sort().join(","),_.Q(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.LH)return d=YFc(b),d+"|tdList";if(b instanceof _.XF)return d=
b.ln().sort().join(","),b.H().length&&(d+="|"+WFc(b.H())),d+"|tdMap";throw Error("We");}return 3===c?d:d+"|"+hGc(a,b.H(),2===c)},hGc=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.Jd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.II({fields:[].concat(_.Jd(f)),yq:a.yq}));e.size&&(d=d+" + "+_.II({fields:[].concat(_.Jd(e)),yq:a.yq}));
return d};gGc.prototype.equals=function(a,b,c){var d;c&&(d=3);return bL(this,a,d)===bL(this,b,d)};
var JEc=function(a){if(!a.ln().every(function(b){return!_.Me(b)}))throw new _.Nc("Invalid ids for FindByIdsRequest");},jGc=function(a,b,c){if(_.hJ(b))throw new _.Nc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");iGc(a,b,c)},iGc=function(a,b,c){var d;a.O||(d=_.FI(3));if(b.getId())throw new _.Nc("Use findByIds() for find by id queries.",d?d:_.FI(3));if(!b.vi()||0>=b.vi())throw new _.Nc("A positive limit is required on an ItemQueryRequest.",d?d:_.FI(3));
_.ie(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),kGc(a,d,b.H()));if(c=(c=b.Kc())&&ZFc(c))d=b.H().length?b.H():a.fields,kGc(a,d,c);if(_.gJ(b)){if(a.yq)throw new _.Nc("User must be authenticated for a Quick Access request.");if(!lGc(a)&&20<b.vi())throw new _.Nc("Limit must be in the range [1, 20].");c=2===_.PJ(b);d=_.ie(b,33).length;if(c&&1!==d||d&&!c)throw new _.Nc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Fj(_.xb(_.Dj(_.xb(_.xb(_.xb(_.aI(_.xb(_.Dj(_.aI(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.yf;if(!_.Nj(c,d))throw new _.Nc("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: "+sEc(d,c));}else if(_.Q(b,74,!1))throw new _.Nc("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.iJ(b)){if(a.yq)throw new _.Nc("User must be authenticated for a DrivePriority request.");if(2===
_.PJ(b))throw new _.Nc("Team Drive corpora is not valid for a Drive Priority request.");a=_.xb(_.xb(_.xb(_.Dj(_.aI(b.clone(),1),30),32),45),52);b=new _.yf;if(!_.Nj(a,b))throw new _.Nc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+sEc(b,a));}},mGc=function(a,b,c){if(!_.hJ(b))throw new _.Nc("Expected a PeoplePredict request.");iGc(a,b,c);if(a.yq)throw new _.Nc("User must be authenticated for a People Predict request.");
if(2===_.PJ(b))throw new _.Nc("Team Drive corpora is not valid for a People Predict request.");a=_.xb(_.xb(_.xb(_.Dj(_.aI(b.clone(),1),30),32),45),49);b=new _.yf;if(!_.Nj(a,b))throw new _.Nc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+sEc(b,a));},kGc=function(a,b,c){var d;a.O||(d=_.FI(3));if(!Izc(b,c,_.ftc)){var e=_.II({fields:c,yq:a.yq}),f=_.II({fields:b,yq:a.yq});a=_.II({fields:Jzc(c,
b),yq:a.yq});throw new _.Nc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.FI(3));}},lGc=function(a){return 200<=_.RJ(a.H)&&300>_.RJ(a.H)},nGc=function(a){var b=new Set;a=_.m(_.Cl(a));for(var c=a.next();!c.done;c=a.next())switch(_.wMa(c.value.Ya())){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("DRIVE_FORM")}return[].concat(_.Jd(b))},oGc=function(a){switch(_.RJ(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"}},pGc=function(a){_.N.call(this);this.H=a};_.gg(pGc,_.N);_.g=pGc.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.addCallback(function(d){d.registerService(a,b,c)})};_.g.nO=function(a){this.H.addCallback(function(b){b.nO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Xa=function(){this.cancel();pGc.wb.Xa.call(this)};
var kAc=function(a){_.Gy.call(this);this.H=a;this.V=_.Ye(this.H,"message",this.gpb,!1,this)};_.gg(kAc,_.Gy);_.g=kAc.prototype;_.g.Zf=null;_.g.send=function(a,b){var c=[];b=this.rya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.esc&&(a=(0,_.Ci)(a));this.H.postMessage(a,c)};
_.g.gpb=function(a){a=a.xe;var b=a.data;if(_.esc)try{b=JSON.parse(b)}catch(e){return}if(_.Da(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.WBa(a.ports||[],b),d.TEa),null!=b&&d.callback(b))}};
_.g.rya=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)?b.map((0,_.M)(this.rya,this,a)):b&&b.constructor==Object?_.Sa(b,function(c,d){c=this.rya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.WBa=function(a,b){return Array.isArray(b)?b.map((0,_.M)(this.WBa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Sa(b,function(c,d){return this.WBa(a,"_port"==d?c.val:c)},this):b};_.g.Xa=function(){_.vi(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;kAc.wb.Xa.call(this)};
var nAc=function(a,b){if("*"==b)return new pGc(_.gi(Error("Xe")));var c=new _.yi(50),d=_.gb(_.aa,c),e=new _.$h(d);_.bi(e,d);c.start();_.Ye(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new kAc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new pGc(e)},qGc=function(a){_.N.call(this);this.H=new _.upc(a);this.V={};this.O=_.wpc(this.H,
"private");this.W=_.wpc(this.H,"public");this.O.registerService("mics",(0,_.M)(this.wmb,this),!0)};_.gg(qGc,_.N);_.g=qGc.prototype;_.g.AGb=0;_.g.Xa=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.AGb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.wmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.M)(this.vmb,this,b),!0)};
_.g.vmb=function(a,b){a=a(b.data);var c=b.signature;_.Uh(a).then((0,_.M)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var rGc=function(a,b){_.N.call(this);this.W=b;this.started=!1;this.V=new _.upc(a);this.La(this.V);this.H=new qGc(_.wpc(this.V,"direct"));this.La(this.H)};_.K(rGc,_.N);rGc.prototype.registerService=function(a,b){this.H.registerService(a,b)};rGc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.cg)(d)})};
var mAc=function(a,b){rGc.call(this,a,b);this.O=new qGc(_.wpc(this.V,"passthrough"));this.La(this.O)};_.K(mAc,rGc);var qL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},rL=function(a,b,c,d){a.O.send(b,c||{},d||_.cg)};mAc.prototype.start=function(){this.started||(this.started=!0)};var hAc=[],sGc=function(){_.Gy.call(this);this.H=null};_.K(sGc,_.Gy);sGc.prototype.send=function(a,b){_.A8a(this.H,a,b)};
var oAc=function(){this.O=new sGc;this.H=new sGc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},tGc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},uGc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&gAc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},vGc=function(a){var b=new tGc(a.c,a.m,a.a,a.req);b.H=a.s;return b},wGc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},xGc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&gAc(a.data);return{d:a.data,err:a.error&&b?a.error.Gc():a.error,uid:a.O,s:b}},yGc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.Lc(JSON.parse(a.err)):c;a=new wGc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},fAc=function(a,b){this.H=a;this.ED=b};fAc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.ED[b];return a};
fAc.prototype.Gc=function(){for(var a={},b={},c=0;c<this.ED.length;c++){var d=this.ED[c],e=this.H[c];d instanceof Error?b[e]=_.uI(d).Gc():a[e]=d.Gc()}return{r:a,e:b}};zGc=function(a,b){if(b){var c=[],d=[];_.Qa(a.r,function(e,f){c.push(f);d.push(new _.CJ(JSON.parse(e)))});_.Qa(a.e,function(e,f){c.push(f);e=new _.Lc(JSON.parse(e));d.push(_.GI(e))});return new fAc(c,d)}return a};lAc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
_.iK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.M_=void 0===c?null:c};_.jK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fe=void 0===d?0:d};AGc=function(a){_.jK.call(this,a,void 0,void 0,void 0);this.Y3a=new _.on};_.K(AGc,_.jK);BGc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.lK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.M_=void 0===c?null:c};
_.kK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.M_=void 0===c?null:c};_.mK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fe=void 0===d?0:d};CGc={LUb:0,gVb:1,i0b:3,y8b:5,Jib:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.QI=function(a){_.J.call(this,a)};_.K(_.QI,_.J);_.QI.prototype.Jh=function(){return _.B(this,1)};_.QI.prototype.se=function(){return _.x(this,_.Kf,3)};_.TI=function(a){_.J.call(this,a)};_.K(_.TI,_.J);
_.TI.prototype.qc=function(){return _.B(this,1)};_.TI.prototype.se=function(){return _.x(this,_.Kf,3)};_.aJ=function(a){_.J.call(this,a)};_.K(_.aJ,_.J);_.aJ.prototype.Jh=function(){return _.B(this,1)};_.aJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.bJ=function(a){_.J.call(this,a)};_.K(_.bJ,_.J);_.bJ.prototype.Jh=function(){return _.B(this,1)};_.bJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.fJ=function(a){_.J.call(this,a)};_.K(_.fJ,_.J);_.g=_.fJ.prototype;
_.g.qc=function(){return _.B(this,1)};_.g.kf=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};_.g.Hb=function(a){return _.w(this,4,a)};_.g.Ci=function(){return _.xb(this,4)};_.g.Sg=function(){return _.xj(this,4)};_.g.se=function(){return _.x(this,_.Kf,7)};_.mJ=function(a){_.J.call(this,a)};_.K(_.mJ,_.J);_.mJ.prototype.qc=function(){return _.B(this,1)};_.mJ.prototype.se=function(){return _.x(this,_.Kf,2)};
_.mJ.prototype.vi=function(){return _.Oj(this,3,1E3)};_.mJ.prototype.Hi=function(a){return _.w(this,3,a)};_.qJ=function(a){_.J.call(this,a)};_.K(_.qJ,_.J);_.qJ.prototype.se=function(){return _.x(this,_.Kf,1)};var DGc=function(){var a=new _.qJ,b=_.Lf(new _.Kf,301);return _.I(a,1,b)};_.qJ.prototype.wc=function(){return _.B(this,3)};_.Dtc=function(a){_.J.call(this,a)};_.K(_.Dtc,_.J);_.Dtc.prototype.wc=function(){return _.B(this,1)};_.uJ=function(a){_.J.call(this,a)};_.K(_.uJ,_.J);
_.uJ.prototype.Jh=function(){return _.B(this,1)};_.uJ.prototype.se=function(){return _.x(this,_.Kf,4)};var EGc=function(a){_.J.call(this,a)};_.K(EGc,_.J);FGc=function(a,b){return _.w(a,1,b)};_.RI=function(a){_.J.call(this,a)};_.K(_.RI,_.J);_.RI.prototype.getId=function(){return _.B(this,1)};_.RI.prototype.Nb=function(a){return _.w(this,1,a)};_.jJ=function(a){_.J.call(this,a)};_.K(_.jJ,_.J);_.jJ.prototype.getId=function(){return _.B(this,1)};_.jJ.prototype.Nb=function(a){return _.w(this,1,a)};
_.qtc=function(a){_.J.call(this,a)};_.K(_.qtc,_.J);var GGc=function(a,b,c){_.xi.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.K(GGc,_.xi);GGc.prototype.yB=function(){return this.O};GGc.prototype.iQ=function(){var a=this;if(this.W)return this.W;var b=_.Xh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);HGc(this,b);return b.promise};
GGc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,IGc(this))};GGc.prototype.wa=function(){!1===this.O&&(this.log("Became authenticated."),this.O=!0,this.H=null,this.V=!1,this.timeout&&(_.n.clearTimeout(this.timeout),this.timeout=null),this.dispatchEvent(new OEc("pb")))};
var JGc=function(a,b){a.ha=b},IGc=function(a){a.H||(a.H=new _.owc(5E3),a.timeout=_.n.setTimeout(function(){return KGc(a)},a.H.Ya()))},KGc=function(a){HGc(a);a.H&&(_.TH(a.H),a.timeout=_.n.setTimeout(function(){return KGc(a)},a.H.Ya()))},HGc=function(a,b){var c=_.Uh();a.ha&&(c=a.ha());c.then(function(){return LGc(a,b)})},LGc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Pe(new _.Etc)});b?c.then(function(){b.resolve(FGc(new EGc,1))},function(d){var e=_.Rc(d).Fg;
d=0;_.usc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.eq(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new EGc;FGc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.Rc(d);_.usc(d.Fg)&&a.V&&(a.dispatchEvent(new OEc("qb")),a.V=!1)})};GGc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};_.Ftc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.utc=function(a){this.H=a;this.type=1};_.vtc=function(a){this.H=a;this.type=0};_.Ctc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};MGc=function(a){return _.Rj(a,_.mI,3,_.nI)||_.Rj(a,_.AJ,4,_.nI)||_.Rj(a,_.pK,5,_.nI)||_.Rj(a,_.xJ,6,_.nI)||_.Rj(a,_.VI,7,_.nI)||_.Rj(a,_.OI,8,_.nI)||_.Rj(a,_.SI,9,_.nI)||_.Rj(a,_.wI,10,_.nI)};NGc=function(a){_.J.call(this,a)};_.K(NGc,_.J);_.g=NGc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};
_.g.Mz=function(){return _.B(this,3)};_.g.Ie=function(){return _.B(this,4)};_.g.zi=function(a){return _.w(this,4,a)};var OGc=function(a){this.Zf=a;this.H=new Map;this.O=this.Zf.W};
OGc.prototype.create=function(a,b){if(0!=cEc(b)){var c=this.Zf.H(106001);if(c){var d=cEc(b),e=VK(c);_.w(e,2,d);d=VK(c);e=null;if(b instanceof _.eG||b instanceof _.SF||b instanceof _.yf||b instanceof _.kJ||b instanceof _.dD||b instanceof _.XF||b instanceof _.LH||b instanceof _.YH||b instanceof _.YF||b instanceof _.Qz)e=b.se();e=e&&_.Q(e,2,!1);_.w(d,7,"boolean"==typeof e?e:void 0);d=VK(c);b=b instanceof _.yf?0<_.Dl(b).length:void 0;_.w(d,8,b);this.H.set(a,c)}}};
var PGc=function(a,b,c){if(a=a.H.get(b))a=VK(a),_.w(a,5,c)},QGc=function(a,b,c){(a=a.H.get(b))&&_.P(VK(a),8)&&(a=VK(a),_.w(a,9,c))},RGc=function(a,b,c,d,e){var f=a.H.get(b);f&&(VK(f).Ac(c),VK(f).yi(d),null!=e&&(c=VK(f),_.w(c,6,e)),f.vj(),a.H.delete(b))},SGc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=dEc(c);if(1==e||2==c)e=_.eK(_.hsc,c),d=VK(d),d=3==e||8==e?!_.P(d,5):0!=e?_.Gsc.has(e):null,RGc(a,b,1,e,d)}},TGc=function(a,b,c){var d=a.O.Cb(c);d=_.eK(_.gsc,d||22);var e=dEc(c);e=_.eK(_.hsc,
e);RGc(a,b,d,e,"undefined"!=typeof _.iK&&c instanceof _.iK||"undefined"!=typeof _.kK&&c instanceof _.kK||"undefined"!=typeof _.lK&&c instanceof _.lK?c.M_:null)},sL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(VK(d).Ac(c),d.vj(),a.H.delete(b))},UGc=[2,4],tL=function(a){_.J.call(this,a,-1,UGc)};_.K(tL,_.J);tL.prototype.Cb=function(){return _.B(this,1)};tL.prototype.Ac=function(a){return _.w(this,1,a)};tL.prototype.Wj=function(){return _.B(this,3)};
var VGc=[2],uL=function(a){_.J.call(this,a,-1,VGc)};_.K(uL,_.J);uL.prototype.getName=function(){return _.B(this,1)};uL.prototype.$c=function(a){return _.w(this,1,a)};uL.prototype.H=function(){return _.Ab(this,cL,2)};var WGc=function(a,b){_.Ej(a,2,b)};uL.prototype.qc=function(){return _.B(this,3)};var XGc=function(a,b){return _.w(a,3,b)},YGc=[2],vL=function(a){_.J.call(this,a,-1,YGc)};_.K(vL,_.J);vL.prototype.Cb=function(){return _.B(this,1)};vL.prototype.Ac=function(a){return _.w(this,1,a)};
vL.prototype.H=function(){return _.Ab(this,uL,2)};var ZGc=function(a,b){return _.Ej(a,2,b)};vL.prototype.Wj=function(){return _.B(this,3)};var $Gc=[4,9],aHc=function(a){_.J.call(this,a,-1,$Gc)};_.K(aHc,_.J);_.g=aHc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.hWa=function(){return _.B(this,2)};_.g.pMa=function(){return _.B(this,3)};_.g.gtb=function(){return _.Ab(this,_.qI,4)};
var bHc={f8b:0,J2b:1,M2b:2,K2b:4,p0b:5,wYb:6,w0b:7,Z2b:8},cHc=function(a){_.J.call(this,a)};_.K(cHc,_.J);cHc.prototype.getUrl=function(){return _.B(this,1)};var wL=function(a){_.J.call(this,a)};_.K(wL,_.J);var dHc=function(a,b){return _.w(a,1,b)};wL.prototype.getName=function(){return _.B(this,2)};wL.prototype.$c=function(a){return _.w(this,2,a)};wL.prototype.getEmail=function(){return _.B(this,3)};var eHc=function(a,b){return _.w(a,3,b)};wL.prototype.hq=function(){return _.xj(this,3)};
var fHc=[1],gHc=function(a){_.J.call(this,a,-1,fHc)};_.K(gHc,_.J);var hHc=function(a,b){return _.Ej(a,1,b)},iHc=[2],xL=function(a){_.J.call(this,a,-1,iHc)};_.K(xL,_.J);xL.prototype.Cb=function(){return _.B(this,1)};xL.prototype.Ac=function(a){return _.w(this,1,a)};xL.prototype.Zk=function(){return _.Ab(this,_.TA,2)};var jHc=function(a,b){return _.Ej(a,2,b)};xL.prototype.Wj=function(){return _.B(this,3)};var kHc=function(a){_.J.call(this,a)};_.K(kHc,_.J);_.g=kHc.prototype;
_.g.qc=function(){return _.B(this,1)};_.g.Cb=function(){return _.B(this,2)};_.g.Ac=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.x(this,_.Lc,3)};_.g.Me=function(a){return _.I(this,3,a)};_.g.Yn=function(){return _.xj(this,3)};var lHc=[1],mHc=function(a){_.J.call(this,a,-1,lHc)};_.K(mHc,_.J);var nHc=function(a,b){return _.Cj(a,1,b)},oHc=function(a,b){this.O=a|0;this.H=b|0};oHc.prototype.equals=function(a){return this===a?!0:a instanceof oHc?this.O===a.O&&this.H===a.H:!1};
oHc.prototype.zc=function(){return 31*this.O+17*this.H|0};
var pHc=function(a,b){return new oHc(a,b)},qHc=function(a,b){b=~b;a?a=~a+1:b+=1;return pHc(a,b)},rHc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?qHc:pHc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},sHc=function(){this.H=this.W=this.O=this.V=null},tHc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=null;this.started=!1},yL=function(a,b,c){if(a.started)throw Error("ff");c={zo:new Set(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=
d.value;var e=a.O.get(d)||[];e.push(c);a.O.set(d,e)}},zL=function(a,b){if(!a.started)throw Error("gf");if(!a.enabled)throw Error("hf`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.zo.delete(b);if(0===e.zo.size)try{e.callback()}catch(f){throw a.enabled=!1,a.error=f?_.GI(f):null,f;}}}};tHc.prototype.H=function(a){return this.V.has(a)};
tHc.prototype.start=function(){this.started=!0};tHc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var uHc=function(a,b,c){this.id=a;this.O=b;this.H=c},vHc=function(a,b){return new uHc((a?a:b).getId(),a,b)},AL=function(a){return new uHc(a.getId(),null,a)},wHc=function(a,b){this.lt=a;this.Av=b;this.mD=!0;this.V7=!1;this.Fe=0},BL=function(a,b){(a.mD=b)||a.rJ()};_.g=wHc.prototype;
_.g.Pka=function(a,b){if(5===this.yE(a))throw Error("jf");for(var c=[],d=_.m(this.iy()),e=d.next();!e.done;e=d.next())e=e.value,mL(this.lt,a,e.getItem())&&c.push(e);this.Av.sort(a,c,b);return c};_.g.zd=function(){return this.iy().length};_.g.Xj=function(a,b){a=this.Pka(a,b);a=FAc(a);b=new _.UA;b.LA(a);b.Ac(this.xN()?6:1);return b};_.g.update=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(!b&&!c)return!1;b&&this.iJ(a.O);c&&this.tR(a.H);return!0};
_.g.yE=function(a){return this.mD&&this.V7?PFc(a)?1:5:5};_.g.aX=function(){this.V7=!0};_.g.ds=function(a){return!!a&&this.mD};_.g.yi=function(a){this.Fe=a};_.g.Qe=function(){return this.Fe};var CL=function(a,b,c,d,e,f){f=void 0===f?"":f;wHc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Cd=[];this.O={};this.request=oL(c,d,!0);this.W=bL(c,d);this.H=!e;xHc(this,e);this.V=function(k,l){return h.Av.compare(h.request,k,l)}};_.K(CL,wHc);_.g=CL.prototype;_.g.ld=function(){return this.request};
_.g.IM=function(){return this.W};_.g.tR=function(a){var b=this.O[a.getId()];b&&this.iJ(b);xzc(this.Cd,a,this.V);this.O[a.getId()]=a;a.count++;this.Cd.length>this.request.vi()&&(this.iJ(_.ia(this.Cd)),this.H=!1)};_.g.iJ=function(a){var b=this.Cd,c=_.Ha(b,a,this.V);0<=c&&_.va(b,c);_.$a(this.O,a.getId());a.count--};_.g.rJ=function(){this.Cd.forEach(function(a){a.count--});this.Cd=[];this.O={}};_.g.iy=function(){return this.Cd};
_.g.yE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.H(),b=this.request.H(),b=Izc(b,a,_.ftc);return b?this.H?1:6:5};_.g.Pka=function(a,b){if(5===this.yE(a))throw Error("jf");b=b?Math.min(b,this.Cd.length):this.Cd.length;return _.Ca(this.Cd,0,b)};_.g.ds=function(a){if(!wHc.prototype.ds.call(this,a)||!mL(this.lt,this.request,a.getItem()))return!1;if(this.H||_.Q(this.request,48,!1))return!0;var b=_.ia(this.Cd);return!!b&&0>=this.V(a,b)};_.g.xN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.jl=function(a,b){var c=this,d=_.ia(this.Cd);!this.H&&d&&_.la(a,function(e){return e.getId()===d.getId()})&&(b?(this.iJ(d),xHc(this,_.ia(a))):this.H=!0);_.Ka(a,function(e){c.update(AL(e))})};var xHc=function(a,b){b&&mL(a.lt,a.request,b.getItem())&&a.tR(b)};CL.prototype.py=function(){return this.nextPageToken};var DL=function(a,b){wHc.call(this,a,b);this.Cd=new Map};_.K(DL,wHc);DL.prototype.tR=function(a){this.Cd.set(a.getId(),a);a.count++};
DL.prototype.iJ=function(a){this.Cd.delete(a.getId());a.count--};DL.prototype.rJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Cd=new Map};DL.prototype.iy=function(){return Array.from(this.Cd.values())};var yHc=function(a,b){DL.call(this,a,b);this.aX()};_.K(yHc,DL);_.g=yHc.prototype;
_.g.yE=function(a){var b=this,c=DL.prototype.yE.call(this,a);if(5===c)return c;if(0<_.ie(a,33).length)return 5;a=_.Dl(a);return 0<a.length?a.every(function(d){return(d=b.Cd.get(d.Ya()))&&!d.getItem().wc()&&d.H})?1:5:5};_.g.ds=function(a){return DL.prototype.ds.call(this,a)&&!(null===a||void 0===a?0:a.getItem().wc())};_.g.Pka=function(a,b){for(var c=[],d=_.m(this.iy()),e=d.next();!e.done;e=d.next())e=e.value,mL(this.lt,a,e.getItem())&&c.push(e);this.Av.sort(a,c,b);return c};_.g.ld=function(){return new _.yf};
_.g.IM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.xN=function(){return!1};var zHc=function(a){return[].concat(_.Jd(a.Cd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},EL=function(a,b,c,d){DL.call(this,a,b);var e=this;this.H=d;yL(c,["aU7Ts","BNEDtc"],function(){return e.aX()})};_.K(EL,DL);
EL.prototype.yE=function(a){var b=this,c=DL.prototype.yE.call(this,a);if(5==c)return c;if(0<_.ie(a,33).length)return 5;a=_.Dl(a);return 0<a.length&&!a.every(function(d){d=b.Cd.get(d.Ya());return null!=d&&!d.getItem().wc()&&Rzc(d.getItem())&&!_.P(d.getItem(),108)})?5:1};EL.prototype.ds=function(a){return DL.prototype.ds.call(this,a)&&AHc(this,a.getItem())};var AHc=function(a,b){if(_.P(b,31)||!a.V7)return!0;var c=a.H();return b.rk().some(function(d){var e=a.Cd.get(d);return d==c||null!=e&&Rzc(e.getItem())})};
_.g=EL.prototype;_.g.aX=function(){DL.prototype.aX.call(this);for(var a=_.m(this.Cd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;AHc(this,c.getItem())||(c.count--,this.Cd.delete(b))}};_.g.ld=function(){return new _.yf};_.g.IM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.xN=function(){return!1};
var BHc=/^[\x00-\x7F]*$/,FL=function(){this.H=[this.W,this.O,this.V,this.ha,this.CFb,this.yFb,this.oFb,this.rFb,this.qFb,this.vFb,this.mFb,this.pFb,this.wFb,this.xFb,this.zFb,this.nFb,this.BFb,this.AFb,this.jFb,this.tFb,this.sFb,this.kFb,this.uFb,this.DFb,this.lFb];this.rootId=""};FL.prototype.Yy=function(a){this.rootId=a||""};
var PFc=function(a){return CHc(a)&&0==_.ie(a,40).length&&void 0==_.B(a,41)},CHc=function(a){var b=!0;_.Ab(a,_.Af,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Kc();c=!c||5!=c.getType();return 0==_.Ab(a,_.tl,5).length&&0==_.Ab(a,_.Af,14).length&&0==_.Ab(a,_.Af,15).length&&!_.xj(a,58)&&!_.P(a,18)&&!_.P(a,34)&&0==_.Ab(a,_.ol,35).length&&0==_.Ab(a,_.ol,38).length&&c&&b&&0==_.ie(a,39).length&&!_.B(a,42)&&0==_.Ab(a,_.nl,44).length&&!_.gJ(a)&&!_.hJ(a)&&!_.iJ(a)&&0==_.Ab(a,_.pl,57).length&&DHc(a)&&
!_.x(a,_.kpa,59)&&null==_.P(a,60)&&0==_.Ab(a,_.Af,68).length&&0==_.Ab(a,_.Af,67).length&&null==_.P(a,69)&&!_.P(a,73)},DHc=function(a){return _.Ab(a,_.ul,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&BHc.test(b)})};FL.prototype.P8=function(a,b){var c=this;return b.filter(function(d){return mL(c,a,d)})};var mL=function(a,b,c){return!!c&&EHc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},EHc=function(a,b){return b.getId()!=a.rootId&&!lL(b)};
FL.prototype.W=function(a,b){var c=!0,d=_.Ab(a,_.ul,4);if(!DHc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Ya()){var f=_.Q(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Ya().toLowerCase();if(2==_.B(e,1))h=k==h,c=c&&(f?!h:h);else{e=[];if(0<=k.indexOf("-"))for(var l=RegExp("\\w*-[\\w-]*"),p=_.m(k.match(l)||[]),q=p.next();!q.done;q=p.next())e.push(q.value),k=k.replace(l,"");e.push.apply(e,_.Jd(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.yg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.Yg(l)+"($|[^\\w])|(^|[ ])"+_.Yg(l)):new RegExp(_.Yg(l))),c=c&&(f?!l:l))}}}return c};
FL.prototype.O=function(a,b){var c=_.Cl(a),d=0,e=0,f=!1,h=!1;c=_.m(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.Ya()){var l=b.getMimeType()||"";if(_.P(k,4)){var p=b.wf();l=p&&_.B(p,3)||""}p=_.Q(k,2,!1);var q=k.Ya();_.FJ(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.Aj(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
FL.prototype.V=function(a,b){var c=!0;a=_.Ab(a,_.rl,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.wq();c=c&&FHc(e,d)}return c};FL.prototype.ha=function(a,b){var c=!0;a=_.Ab(a,_.rl,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.jz();c=c&&FHc(e,d)}return c};var FHc=function(a,b){if(null!=_.B(b,2))switch(_.B(b,1)){case 1:return a<=_.B(b,2);case 2:return a<_.B(b,2);case 3:return a==_.B(b,2);case 4:return a>_.B(b,2);case 5:return a>=_.B(b,2);default:return!1}return!0};
_.g=FL.prototype;_.g.CFb=function(a,b){var c=a.Qh();a=_.PJ(a);return null==c||c==!!b.Qh()&&(!c||1==b.To()||!(!a||2!=a&&3!=a))};_.g.yFb=function(a,b){return null==_.P(a,10)||_.P(a,10)==!!b.UA()};_.g.oFb=function(a,b){return null==_.P(a,11)||_.P(a,11)==!!_.P(b,6)};_.g.rFb=function(a,b){a=_.Dl(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ya()){var d="root"==c.Ya()&&this.rootId||c.Ya();d=b.rk().includes(d);if(_.Q(c,2,!1)?d:!d)return!1}return!0};
_.g.qFb=function(a,b){a=_.Ab(a,_.Af,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Ya()){var d=1==b.To();if(_.Q(c,2,!1)?d:!d)return!1}return!0};_.g.vFb=function(a,b){return null==_.P(a,16)||(_.P(a,16)?null!=b.ty():!0)};_.g.mFb=function(a,b){var c=_.P(a,17);a=_.PJ(a);return null==c||c==!!b.KI()&&(!c||1==b.To()||!(!a||2!=a&&3!=a))};_.g.pFb=function(a,b){b=aAc(b);return null==_.P(a,19)||_.P(a,19)==!!_.Bk(b)};
_.g.wFb=function(a,b){var c=_.fb(_.ie(b,56));a=_.Ab(a,_.OJ,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})};_.g.xFb=function(a,b){if(0==a.rB().length)return!0;var c=_.fb(b.rB().map(function(d){return d.dR()}));a=_.fb(a.rB().map(function(d){return d.dR()}));return _.Ta(a,function(d,e){return c[e]})};_.g.zFb=function(a,b){a=_.ie(a,33);return!a.length||a.includes(b.wc()||"")};_.g.nFb=function(a,b){var c=_.fb(_.ie(b,50));a=_.Ab(a,_.sl,37);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})};
_.g.BFb=function(a,b){return _.B(a,41)?(b=_.x(b,_.JJ,86),null!=b&&_.B(a,41)==_.B(b,3)):!0};_.g.AFb=function(a,b){if(_.ie(a,40).length){if(b=_.x(b,_.JJ,86)){var c=_.fb(_.ie(b,2));return _.ie(a,40).some(function(d){return c[d]})}return!1}return!0};_.g.jFb=function(a,b){var c=_.PJ(a);return 1==c?(b=_.P(b,31),!!_.Dl(a).length||!!_.Ab(a,_.ol,35).length||1==_.P(a,18)||_.gJ(a)||_.hJ(a)||_.iJ(a)||!!a.Dp()||null==b||b):2==c?!!b.wc():!0};
_.g.tFb=function(a,b){return _.gJ(a)?!_.xj(b,100)||b.Qh()?!1:_.Q(a,74,!1)?!!_.P(_.Ik(b),4):!!_.P(_.Ik(b),3):!0};_.g.sFb=function(a,b){return _.hJ(a)?!!_.Jk(b).length&&!b.Qh():!0};_.g.kFb=function(a,b){return _.iJ(a)?!!_.Kk(b).length&&!b.Qh():!0};_.g.uFb=function(a,b){return _.xj(a,50)?_.Q(a,50,!1)?_.xj(b,101)&&0!==_.B(b,101):!_.xj(b,101):!0};_.g.DFb=function(a,b){a=a.Dp();return!a||_.ie(b,120).includes(a)};
_.g.lFb=function(a,b){b=_.x(b,_.HJ,138);return null==_.P(a,65)||null==b?!0:_.P(a,65)==(2==_.B(b,1))};var GL=function(a,b,c,d){d=void 0===d?5E3:d;DL.call(this,a,b);this.teamDriveId=c;this.limit=d};_.K(GL,DL);_.g=GL.prototype;
_.g.yE=function(a){var b=this,c=DL.prototype.yE.call(this,a);if(5==c)return c;c=_.Dl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Cd.get(f)||b.teamDriveId==f)&&!_.Q(e,2,!1)});if(0<c.length&&d)return 1;a=_.ie(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.ds=function(a){return DL.prototype.ds.call(this,a)&&!!a&&a.getItem().wc()==this.teamDriveId&&!lL(a.getItem())};_.g.xN=function(){return!1};_.g.ld=function(){var a=new _.yf;_.Fl(a,[this.teamDriveId]);_.Gl(a,2);return a};
_.g.IM=function(){return null};_.g.wc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var GHc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.yf;_.w(a,48,!0);b=new _.wd;_.yd(b,11);_.zd(b,2);_.zf(a,b);this.ma=oL(this.W,a,!0)};
GHc.prototype.add=function(a){a instanceof EL?this.H=a:a instanceof yHc?this.O=a:a instanceof CL?(this.log("Adding new cache hint for "+bL(this.W,a.ld(),2)),this.ha.push(a)):a instanceof GL&&this.V.push(a)};
GHc.prototype.remove=function(a){var b=this;if(a instanceof EL)this.H&&(BL(this.H,!1),this.H=null);else if(a instanceof yHc)this.O&&(BL(this.O,!1),this.O=null);else if(a instanceof CL){var c=_.ka(this.ha,function(d){return b.W.equals(d.ld(),a.ld())});0<=c&&(BL(this.ha[c],!1),_.va(this.ha,c))}else a instanceof GL&&(c=_.ka(this.V,function(d){return b.W.equals(d.ld(),a.ld())}),0<=c&&(BL(this.V[c],!1),_.va(this.V,c)))};
var HHc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.Ba(b,_.Aa(a.ha));_.Ba(b,_.Aa(a.V));return b},IHc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.ld().clone(),_.xb(c,32),_.Fj(c,26),!_.Nj(a.ma,c)):!0})};GHc.prototype.ZV=function(){return _.Aa(this.V)};var JHc=function(a,b){return _.wg(a.V,function(c){return c.wc()===b})},KHc=function(a,b){return IHc(a).find(function(c){return a.W.equals(c.ld(),oL(a.W,b,!0))})};
GHc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var LHc=function(a,b){_.ni.call(this,"Db");this.ids=a;this.error=b};_.K(LHc,_.ni);LHc.prototype.getError=function(){return this.error};LHc.prototype.H=function(){return this.ids};var MHc=function(a){_.ni.call(this,"Eb");this.people=a};_.K(MHc,_.ni);MHc.prototype.getPeople=function(){return this.people};var NHc=function(a){_.ni.call(this,"Fb");this.people=a};_.K(NHc,_.ni);
NHc.prototype.getPeople=function(){return this.people};var PHc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Fe=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);OHc(this)};PHc.prototype.Qe=function(){return this.Fe};
var QHc=function(a){return 0===a.Fe?1:2===a.Fe||(1===a.Fe||4===a.Fe)&&(a.person.hq()||a.O)?3:2},RHc=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=QHc(a),e=a.Qe();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=eHc(b.clone(),a.getEmail(b)),e=!_.Nj(a.person,b),a.person=b,a.Fe=c,OHc(a),e||d!==QHc(a);if(4===c)return a.Fe=c,OHc(a),d!==QHc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(eHc(a.person,a.getEmail(b)),!0):!1};
PHc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var OHc=function(a){1===a.Fe?(a.W=Date.now(),a.V=null):4===a.Fe&&(a.V=Date.now())},THc=function(a,b,c,d){var e;_.xi.call(this);var f=this;this.O=a;this.V=b;this.W=c;this.ka=d;this.H=[];this.ha=(null===(e=_.EJ(a))||void 0===e?0:_.Q(e,20,!1))?500:50;this.ma=new _.iI(function(){return SHc(f)},100,this)};_.K(THc,_.xi);
THc.prototype.nh=function(a){a&&_.lI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ma.le())};var SHc=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,a.ha);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};
THc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Pe;var e=new _.pJ;e=_.Cj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Ab(c,wL,1);b.dispatchEvent(new MHc(c))},function(c){c=_.Rc(c);b.dispatchEvent(new LHc(a,c))})};THc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var WHc=function(a,b,c,d,e){_.xi.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Rc=new _.jf(this);this.La(this.Rc);this.ka=b;this.ha=d;this.ta=_.Oj(_.x(a,QCc,85)||new QCc,1,864E5);this.W=new THc(a,b,c,e);this.ma=new _.uD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:XK(h,106015);if(k){h=_.x(_.dK(k),yDc,11);if(!h){h=new yDc;var l=_.dK(k);_.I(l,11,h)}h=_.w(h,1,f.H.size);_.w(h,2,f.O.size);k.vj()}},500,this);this.Rc.listen(this.W,"Eb",function(h){h=h.getPeople();UHc(f,
h,1);f.ma.le()});this.Rc.listen(this.W,"Db",function(h){VHc(f,h)})};_.K(WHc,_.xi);WHc.prototype.get=function(a){var b=this.H.get(a);return b?(XHc(this,b)&&YHc(this,a),b):null};var YHc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.nh(b);var c=new _.on;a.V.set(b,c);return c.promise};WHc.prototype.Sb=function(a){var b=this;return ZHc(this,a)?Promise.resolve(this.H.get(a)):YHc(this,a).then(function(){return b.H.get(a)})};
WHc.prototype.lc=function(){return 0===this.H.size};WHc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var $Hc=function(a){return[].concat(_.Jd(a.H.values())).filter(function(b){return 3===QHc(b)&&4!==b.Qe()}).map(function(b){return b.person.clone()})},aIc=function(a,b){return(a=a.H.get(b))?[].concat(_.Jd(a.H)):[]},bIc=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.Jd(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},UHc=function(a,b,c){if(![1,2].includes(c))throw Error("kf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(bHc)[c]+".")),cIc(a,b,c))},eIc=function(a,b,c,d){0!==b.length&&dIc(a,b,c,void 0===d?0:d)},ZHc=function(a,b){b=a.H.get(b);return!(!b||3!==QHc(b)||XHc(a,b))},dIc=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.B(f,1),k=a.H.get(h);if(k)RHc(k,f,d)&&(e=!0),c&&k.H.add(c);else if(4!==d){e=!0;k=a;var l=d,p=c;1!==l&&YHc(k,_.B(f,1));l=new PHc(f,p,l);k.H.set(_.B(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},XHc=function(a,
b){switch(b.Qe()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};WHc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var VHc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():dHc(new wL,c)});cIc(a,b,4)},cIc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.B(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}dIc(a,b,void 0,c)&&a.dispatchEvent(new NHc(b))},fIc=function(a,b,c,d,e,f){_.xi.call(this);var h=this;this.Rc=new _.jf(this);this.La(this.Rc);this.H=new WHc(a,b,c,e,f);this.O=_.EJ(a)||new _.quc;this.Rc.listen(this.H,"Fb",function(k){return h.dispatchEvent(k)})};
_.K(fIc,_.xi);fIc.prototype.VO=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=gIc(this,[c]).map(function(e){return hIc(b,e)});eIc(this.H,d,a.H.getId(),this.Qe(_.B(c,82)))}a.O&&bIc(this.H,a.id,iIc(this,a))};fIc.prototype.Qe=function(a){return _.Psc.get(a)||0};
var iIc=function(a,b){var c=jIc(a,b.O),d=jIc(a,b.H);return c.filter(function(e){return!d.includes(e)})},jIc=function(a,b){return b?kIc(a,[b.getItem()]):[]},mIc=function(a,b){b=b.getUser();eIc(a.H,[hIc(a,b)],"ACCOUNT");lIc(a,b)},oIc=function(a,b){var c=_.Ab(b,_.WJ,2).map(function(d){var e=_.x(d,_.sk,9,1);return a.H.Sb(GK(e)).then(function(){return void nIc(a,[e])})});return Promise.all(c).then(function(){return b})},pIc=function(a,b){nIc(a,gIc(a,b))},nIc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,GK(c)&&lIc(a,c)},qIc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,GK(f)&&(d.add(GK(f)),eIc(a.H,[hIc(a,f)],c));return Promise.all([].concat(_.Jd(d)).map(function(h){return a.H.Sb(h)})).then(function(){return nIc(a,b)})},rIc=function(a,b){return kIc(a,[b]).some(function(c){return!ZHc(a.H,c)})},kIc=function(a,b){var c=new Set;a=gIc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=GK(b.value))&&c.add(b);return[].concat(_.Jd(c))},gIc=function(a,
b){return b.map(function(c){var d=c.Zv();d=d?[].concat(_.Jd(d.gR()),_.Jd(_.Ab(d,_.sk,3))):[];var e=c.wf();e=(e=e&&_.ne(e))?gIc(a,[e]):[];return[].concat(_.Jd(_.Gk(c)),[c.ym(),c.Jr(),c.aq(),c.eD()],_.Jd(d),_.Jd(e))}).flat().filter(function(c){return c&&!!GK(c)})};fIc.prototype.Ed=function(a){return aIc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var sIc=function(a){return hHc(new gHc,$Hc(a.H))},tIc=function(a,b){return b.map(function(c){c=c.clone();var d=gIc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.xb(e,3),_.xb(e,8),_.xb(e,5);return c})},vIc=function(a,b){return b.some(function(c){return uIc(a,c)})},uIc=function(a,b){return gIc(a,[b]).some(function(c){return _.xj(c,3)||c.hq()||_.xj(c,5)})},lIc=function(a,b){var c=a.H.get(GK(b));if(c){a=c.person.clone();var d=_.Ttc(b.$c(a.getName()),a.getEmail());c=QHc(c);_.w(d,16,
c);(a=_.x(a,cHc,4))&&b.Jn(a.getUrl())}},hIc=function(a,b){var c=GK(b);c=eHc(dHc(new wL,c).$c(b.getName()),b.getEmail());var d=new cHc;d=_.w(d,1,_.B(b,5));c=_.I(c,4,d);_.Q(a.O,9,!1)&&(_.xb(b,3),_.xb(b,8),_.xb(b,5));return c},wIc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};wIc.prototype.Rf=function(){return this.suggestionSessionId};wIc.prototype.Vza=function(){return this.O};wIc.prototype.lc=function(){return this.H};
var xIc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},yIc=function(a,b){a=xIc(a);b=xIc(b);return!(!a||!b||a!==b)},zIc=function(a){return a.qc()+"_"+xIc(a.getName())},AIc=function(a,b){var c=_.ie(a,1).map(function(d,e){return b[Number(e)].value.Y3a.promise});return Promise.allSettled(c).then(function(d){return _.ie(a,1).map(function(e,f){e=e.toString();var h=new kHc;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Ac(1):(e.Ac(3),e.Me(f.reason.Fg));return e})})},HL=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Fy=new Set;this.status=6;this.V=new Map;this.Fe=0};_.K(HL,_.N);_.g=HL.prototype;_.g.Yh=function(a){var b=this;this.Fy.add(a);return this.resize().then(function(){return b.lO(a)})};_.g.Zj=function(a){this.Fy.delete(a);0===this.Fy.size&&this.dispose()};_.g.Qe=function(){return this.Fe};_.g.yi=function(a){this.Fe=a};
_.g.jD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Ju(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.JX():_.Uh([])};_.g.JX=function(){for(var a=[],b=_.m(this.Fy.values()),c=b.next();!c.done;c=b.next())a.push(this.lO(c.value));return _.Wh(a)};
_.g.IX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Fy.values()),e=d.next();!e.done;c={Nqa:c.Nqa},e=d.next())c.Nqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.IX(f.Nqa,a)}}(c)));return _.Wh(b)};_.g.lA=function(){for(var a=this,b=[],c={},d=_.m(this.Fy.values()),e=d.next();!e.done;c={Oqa:c.Oqa},e=d.next())c.Oqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.lA(f.Oqa)}}(c)));return _.Wh(b).then(function(){a.yi(0===a.Qe()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Fy.forEach(function(d){d=b.xka(d);c=Math.max(c,d.vi?d.vi()||0:0)});a.jfa(c)})};var BIc=function(a,b){return b?a.V.get(a.$ja(b))||null:null};_.g=HL.prototype;_.g.WH=function(a,b){var c=BIc(this,a);b=DFc(c,b);this.V.set(this.$ja(a),b)};_.g.$ja=function(a){return a};_.g.qMa=function(){return[]};_.g.lO=function(a){var b=this;return this.O.then(function(c){return void c.lO(a,b.Xj())})};_.g.removeItem=function(){};
var IL=function(a,b){_.xi.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.K(IL,_.xi);var CIc=function(a){return!a.O||""!==a.pageToken};IL.prototype.nh=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&CIc(this)?DIc(this):_.Uh()};
var DIc=function(a){a.O=!0;a.H=!0;var b=a.eia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return EIc(a,c)},function(c){return a.handleError(c)})},EIc=function(a,b){a.H=!1;a.pageToken=a.qka(b);b=a.Dja(b);b.forEach(function(c){return a.data.push(c)});a.X5(b);return a.data.length<a.limit&&CIc(a)?_.Wh([_.Uh(b),DIc(a)]).then(function(c){return c[0].concat(c[1])}):_.Uh(b)};
IL.prototype.handleError=function(a){this.H=!1;a=_.uI(a);var b=new ZK(a);this.rMa(b);this.dispatchEvent(b);return _.Vh(a)};IL.prototype.X5=function(){};IL.prototype.rMa=function(){};var FIc=function(a,b,c){IL.call(this,c,function(d){return a.then(function(e){return e.Pe(d)}).tg(function(e){return void _.HI(e)})});this.V=b};_.K(FIc,IL);_.g=FIc.prototype;_.g.eia=function(a,b,c){a=a.clone();a.Hi(b);return new _.stc(a,c)};_.g.qka=function(a){return a.pageToken||""};_.g.Dja=function(a){return a.response.H()};
_.g.X5=function(a){this.V.jD(a,!1,1)};_.g.rMa=function(a){this.V.tB(this.request,a)};var GIc=function(a,b,c,d){HL.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.K(GIc,HL);_.g=GIc.prototype;_.g.refresh=function(){this.lA();this.H=new FIc(this.ha,this.W,this.request);return this.H.nh(this.request.vi()||100)};_.g.yp=function(a){return this.data.find(function(b){return yIc(b.getName(),a)})};
_.g.jfa=function(a){this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};_.g.Xj=function(){var a=this,b=ZGc((new vL).Ac(this.status),this.data.filter(function(c){return a.W.ZCa(c)}).map(function(c){return c.clone()}));return new _.jK(b,void 0,void 0,this.Qe())};_.g.jD=function(a,b,c){var d=this;a=a.filter(function(e){return e.qc()===d.request.qc()});return HL.prototype.jD.call(this,a,b,c)};
_.g.Ju=function(a,b){b=void 0===b?1:b;if(!$zc(BIc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return yIc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.WH(a.getName(),b);return!0};_.g.removeItem=function(a){_.xa(this.data,function(b){return yIc(b.getName(),a)})&&(this.V.delete(this.$ja(a)),this.JX())};_.g.$ja=function(a){return xIc(a)};_.g.WH=function(a,b){this.yp(a)&&HL.prototype.WH.call(this,a,b)};
_.g.qMa=function(a){var b=this;return a instanceof _.vJ&&a.qc()===this.request.qc()?a.FV().map(function(c){return b.yp(c.Cm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var JL=function(){this.H=new Map};JL.prototype.Yh=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.hia(b),this.H.set(c,d));d.Yh(a);return e};var HIc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Owa(c),a.H.set(d,e));e.Yh(b);return f};
JL.prototype.Zj=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.Zj(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var IIc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.Zj(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},JIc=function(a,b){return a.H.get(b)};JL.prototype.jD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.ZCa(f)});this.H.forEach(function(f){f.jD(e,b,c)})};JL.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var KIc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.qMa(b)});return[].concat.apply([],_.Jd(a))};JL.prototype.WH=function(a,b){this.H.forEach(function(c){c.WH(a,b)})};JL.prototype.ZCa=function(){return!0};JL.prototype.tB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.IX(b)};JL.prototype.w2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.hia(b),f.yi(c),this.H.set(e,f),this.jD(a,d))};var LIc=function(){this.V=new Set;this.O=0;this.H=[]},MIc=function(a,b){a.V.add(b)};
LIc.prototype.W=function(a){this.V.delete(a)};var NIc=function(a,b){var c;if(c=b instanceof _.Fk)c=b.$v(),c=!!(b.Qh()&&c&&c<=Math.max.apply(Math,_.Jd([a.O].concat(_.Jd(a.H)))));if(c)return!0;b=b instanceof _.Fk?b.getId():b;return a.V.has(b)},OIc=function(a,b){return _.xa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};LIc.prototype.P8=function(a){var b=this;return a.filter(function(c){return!NIc(b,c)})};var PIc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new LIc};_.K(PIc,JL);
var QIc=function(a,b){MIc(a.O,zIc(b));(a=JIc(a,b.qc()))&&a.JX()};_.g=PIc.prototype;_.g.getKey=function(a){return a.qc()};_.g.hia=function(a){return new GIc(this.V,this.W,this,a)};_.g.Owa=function(a){return new GIc(this.V,this.W,this,a)};_.g.Jo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=JIc(this,b.getId()))&&b.refresh()};_.g.ZCa=function(a){return!NIc(this.O,zIc(a))};
var RIc=function(a){var b=new _.TA;b.Nb(a);return b},SIc=function(){_.xi.call(this);this.H=Date.now()};_.K(SIc,_.xi);SIc.prototype.jF=function(){this.H=Date.now();this.dispatchEvent("Gb")};
var TIc=function(a,b){this.O=a;this.H=b},UIc=function(a,b){b=_.o8b(b);var c=new FIc(a.O,a.H,b);new Promise(function(d,e){return c.nh(100).then(d,e)})},VIc=function(){this.Cd={}},KL=function(a,b){WIc(a,"subscribed");b&&WIc(a,b);return a.Cd[b||"subscribed"].ie.promise},WIc=function(a,b){a.Cd[b]||(a.Cd[b]={count:0,DR:[],c2a:[],ie:_.Xh()});a.Cd[b].count++},YIc=function(a,b){b&&!XIc(a,b)||XIc(a,"subscribed")},XIc=function(a,b){if(!a.Cd[b])return!1;a.Cd[b].count--;0===a.Cd[b].count&&(a.Cd[b].ie.resolve({items:a.Cd[b].DR,
hMb:a.Cd[b].c2a}),_.$a(a.Cd,b));return!0};VIc.prototype.Jo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.wc();f&&f===e.qc()&&c.Cd[f]&&c.Cd[f].c2a.push(e);c.Cd[d]&&c.Cd[d].DR.push(e)})};var ZIc=function(a,b,c){IL.call(this,a,c);this.V=b};_.K(ZIc,IL);ZIc.prototype.eia=function(a,b){return a.clone().Hi(b)};ZIc.prototype.qka=function(){return""};ZIc.prototype.Dja=function(a){return[a]};ZIc.prototype.X5=function(a){this.V(a)};
var $Ic=function(a,b,c,d){HL.call(this,a,d.clone());this.ha=b;this.H=this.US=null;this.W=c};_.K($Ic,HL);$Ic.prototype.refresh=function(){var a=this;this.lA();this.H=new ZIc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Pe(b)})});return this.H.nh(this.request.vi()||0)};$Ic.prototype.jfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};
$Ic.prototype.Xj=function(){if(this.US)return this.US;var a=new hL;a.Ac(this.status);return a};$Ic.prototype.Ju=function(a){this.US=a;return!0};var aJc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.K(aJc,JL);_.g=aJc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.hia=function(a){var b=this;return new $Ic(this.O,this.W,function(c){b.jD(c,!1)},a)};_.g.Owa=function(){throw Error("lf");};
_.g.w2=function(a,b,c,d){var e=a[0].Zk();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.eq()}).join(", "));JL.prototype.w2.call(this,a,b,c,d)};var bJc=function(a,b,c,d){_.xi.call(this);this.request=a;this.Ba=b;this.ta=c;this.wa=d;this.ma=0;this.ie=null;this.O=new Set};_.K(bJc,_.xi);
bJc.prototype.nh=function(){var a=this;if(this.ie)return this.ie.promise;this.ie=_.Xh();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={dra:b.dra,oea:b.oea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.oea=d;b.dra=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Pe(f.dra)}}(b)).then(function(f){return function(h){var k=f.oea;a.V(h);cJc(a,k)}}(b),function(f){return function(h){return void a.handleError(f.oea,h)}}(b))}return this.ie.promise};
var cJc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("za"),a.ie.resolve()):a.dispatchEvent("wa")};bJc.prototype.handleError=function(a,b){b=_.Rc(b);var c=b.Fg;5===c.kv()||4===c.hk()?(this.wa.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),cJc(this,a)):(a=new ZK(c,_.Oj(this.ta.Vf(),1,1)),this.dispatchEvent(a),this.ie.reject(b))};var dJc=function(a,b,c,d,e){bJc.call(this,a.clone(),c,d,e);this.H=b};_.K(dJc,bJc);
dJc.prototype.W=function(a){var b=new Map;a.ln().forEach(function(c){var d=_.t7b(a.clone(),[c]);b.set(c,d)});return b};dJc.prototype.V=function(a){var b=[];a.NT().forEach(function(c){b.push(c)});this.H(b,!0)};dJc.prototype.ha=function(){this.H([],!1)};dJc.prototype.ka=function(a){this.H([RIc(a)],!0)};var eJc=function(a,b,c,d,e,f){HL.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Tk={};this.H=null};_.K(eJc,HL);
eJc.prototype.refresh=function(){this.H=new dJc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.nh()};eJc.prototype.jfa=function(){this.H||this.refresh()};eJc.prototype.Xj=function(){var a=new _.hK;a.Ac(this.status);_.Qa(this.Tk,function(b,c){a.NT().set(c,b||new _.TA)});a.yi(this.Qe());return a};eJc.prototype.Ju=function(a){var b=a.getId();if(_.Nj(a,RIc(a.getId()))){if(this.Tk[b])return delete this.Tk[b],!0}else if(0<=this.request.ln().indexOf(b))return this.Tk[b]=a,!0;return!1};
var fJc=function(a,b){a=a.getState();return null==a||b.getState()==a},gJc=function(a,b,c){IL.call(this,a,c);this.V=b};_.K(gJc,IL);gJc.prototype.eia=function(a,b,c){a=a.clone();a.Hi(b);return new _.Ftc(a,c)};gJc.prototype.qka=function(a){return a.pageToken||""};gJc.prototype.Dja=function(a){return a.response.Zk()};gJc.prototype.X5=function(a){this.V(a)};var hJc=function(a){this.H=_.tpc(a,{numeric:!0})};
hJc.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};hJc.prototype.V=function(a,b,c){var d=_.B(b,4),e=_.B(c,4),f;d!==e?f=_.Ga(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};var iJc=function(a,b,c,d,e){HL.call(this,a,e.clone());this.ha=b;this.Tk=[];this.H=null;this.W=d;a=new hJc(c);b=(c=this.request.lx())?c.getType():0;c=c?c.Xf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.K(iJc,HL);iJc.prototype.refresh=function(){var a=this;this.lA();this.H=new gJc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Pe(b)})});return this.H.nh(this.request.vi()||0)};iJc.prototype.jfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};iJc.prototype.Xj=function(){var a=new xL;a.Ac(this.status);jHc(a,this.Tk.map(function(b){return b.clone()}));return new _.mK(a,void 0,1!==this.status&&CIc(this.H),this.Qe())};
iJc.prototype.Ju=function(a){var b=_.xa(this.Tk,function(c){return c.getId()===a.getId()});return a&&fJc(this.request,a)&&!_.Nj(a,RIc(a.getId()))?xzc(this.Tk,a,this.ka):b};var jJc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d;this.logName="drive.ds.sync.cache.WorkspaceCacheManager"};_.K(jJc,JL);_.g=jJc.prototype;_.g.log=function(a){this.W.info(this.logName,a)};_.g.getKey=function(a){return a.toString()};
_.g.hia=function(a){var b=this;return new iJc(this.V,this.ha,SK(_.XH(this.O)),function(c){return void b.jD(c,!1)},a)};_.g.Owa=function(a){var b=this;return new eJc(this.V,this.ha,this.O,this.W,function(c,d){return b.jD(c,d)},a)};_.g.w2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));JL.prototype.w2.call(this,a,b,c,d)};
var kJc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();JK(a)&&(c=(c=a.wf())?_.B(c,3):"");KK(a)&&(a.Pi()&&(c+="+"+String(a.Pi())),a.sj()&&(c+="+shared"));return _.bSa(c,b?"32":"16")},lJc=function(a,b){b=Object.entries(b);return 0===b.length?a:a+"?"+b.map(function(c){var d=_.m(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")},mJc=function(a,b){var c=_.P(a,44),d=a.wf();if(d){if(1!==_.qe(d))return null;c=(c=_.ne(d))?_.P(c,44):!0}if(!c)return null;c={};d=a.getId();JK(a)&&(d=Qzc(a));
d=[_.D(b,65,"https://lh3.google.com"),"u",_.vI(_.XH(b)),"d",d].join("/");_.Q(b,89,!1)&&_.xj(a,140)&&(c.resourcekey=_.Lk(a));return d=lJc(d+"={size}",c)},nJc=function(a){this.H=a},pJc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=kJc(b,_.Q(a.H,75,!1));_.w(b,21,d)}c.includes(18)&&_.euc(b,HAc(b,a.H));c.includes(19)&&(d=mJc(b,a.H),_.w(b,20,d));oJc(a,b,c);if(JK(b)){if(d=(d=b.wf())&&_.ne(d)){if(c.includes(20)&&c.includes(3)){var e=kJc(d,_.Q(a.H,75,!1));_.w(d,21,e)}c.includes(18)&&_.euc(d,HAc(d,
a.H));c.includes(19)&&(e=mJc(d,a.H),_.w(d,20,e));oJc(a,d,c)}_.w(b,44,!!b.kz())}},oJc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!KK(b)&&!JK(b)&&!_.Vd(e)&&(!b.Q6()||2!==b.To()),d&&_.w(b,40,e),e&&c&&(a=a.H,d=b.getId(),JK(b)&&(d=Qzc(b)),c=new _.dj(_.D(a,16,"")+"/uc"),_.kj(c,"id",d),_.kj(c,"authuser",_.vI(_.XH(a))),_.kj(c,"export","download"),_.Q(a,89,!1)&&_.xj(b,140)&&_.kj(c,"resourcekey",_.Lk(b)),_.w(b,41,c.toString())))}},qJc=function(a,b){this.qia="";
this.startTime=b||new Date;this.H=a;this.L$=JAc(a)};qJc.prototype.clone=function(){return new qJc(this.H,this.startTime)};var rJc=function(){this.H=null;this.xY=[]},sJc=function(a){return _.wf(a.xY,function(b){return _.cb(b)})};rJc.prototype.dN=function(){return this.H};
rJc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new sHc;e.V=rHc(d.L$);var f=_.bh().substring(0,8);d=JAc(f);f=(new NGc).Nb(f);f=_.w(f,2,d);b=_.w(f,3,b).zi(c);this.xY.push(b);e.O=rHc(d);e.H=pHc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.fk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.gk(d,1,1);var k=d.O;nBc(k,f);nBc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.gk(d,2,1),k=d.O,nBc(k,f),nBc(k,h));f=e.W;null!=f&&(_.gk(d,3,5),nBc(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.gk(d,4,1),h=d.O,nBc(h,f),nBc(h,e));e=_.hk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var tJc=function(){this.Eb=[];this.O=this.H=0};tJc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Eb,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.O=c};
var uJc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Eb,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.O=e},vJc=function(a){this.key=a;this.H=new _.Msc;this.O=new _.Ksc(new _.Msc,_.Ema(a))};vJc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=rEc(b);c=wJc(this,a);return b.concat(c,xJc(this,b,a,!0))};
var yJc=function(a,b){var c=xJc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=wJc(a,c);if(b!==a)throw Error("mf");return c},wJc=function(a,b){a=_.Lsc(a.O,_.Tsc(b));return rEc(a)},xJc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new tJc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Eb,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.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.Tsc(c.substring(8192*
e,8192*(e+1))),uJc(b,a),d+=rEc(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.n.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;uJc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("nf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=zJc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=zJc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=zJc(d,e++),k=zJc(d,e++),l=zJc(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=zJc(d,e++),k=zJc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},zJc=function(a,b){return a[Math.floor(b/8192)][b%8192]},AJc=function(a,b,c){this.data=a;this.RZa=b;this.H=c;this.isEncrypted=!1};AJc.prototype.getData=function(){return this.data};
AJc.prototype.Nm=function(){return this.RZa};var BJc=function(a,b,c,d){this.O=a;this.H=_.Xh();this.ep=!1;this.V=_.D(b,7,"");this.W=_.Oj(_.TK(b),6,2E7);this.JE=_.lI(b);this.ha=_.Oj(_.TK(b),12,0);this.ka=c;this.Zf=d||null};BJc.prototype.initialize=function(){var a=this;this.ep||(this.ep=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.fi(this.H.promise)};
BJc.prototype.gB=function(a){if(a instanceof _.JB)return 0;if(a instanceof tL)return 1;if(a instanceof MEc)return 5;if(a instanceof jL)return 3;if(a instanceof gHc)return 6;throw new _.Nc("Unsupported dataShard in getDataType");};var CJc=function(a){if(0==a)return _.JB;if(1==a)return tL;if(5==a)return MEc;if(3==a)return jL;if(6==a)return gHc;throw new _.Nc("Unsupported dataType:"+a+" in getDataTypeCtor");};BJc.prototype.Fo=function(a){if(a instanceof jL)return a.Fo()};
BJc.prototype.Nm=function(a){if(a instanceof jL)return a.Ad().length};BJc.prototype.tv=function(a){if(a instanceof jL)return a=a.tv(),null!=a?a:void 0};
var HJc=function(a,b,c,d){if(0==c.length)return _.Uh();for(var e=a.gB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.gB(h.value);var k=a.Fo(c[0]),l=0;3==e&&DJc(a,c);var p=!!b;return EJc(a,c).then(function(q){if(p){var r=a.Zf?a.Zf.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Nm())&&(z+=A);return z},0);var v=FJc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Vh(Error("of"));z=_.m(z.entries());for(var A=z.next();!A.done;A=z.next()){var C=_.m(A.value);A=
C.next().value;C=C.next().value;A=q[A];A.data=C;A.isEncrypted=!0}return q});r&&(EDc(DDc(CDc(WK(r),_.eK(_.nsc,e)),_.eK(_.ksc,k)),!0),v.then(function(){var z=l;BDc(WK(r),!0).Kv(z);r.vj()},function(){var z=l;BDc(WK(r),!1).Kv(z);r.vj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return GJc(a.O,q,e,k,p,d)})})},EJc=function(a,b){return new _.Th(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Gc();p.length>a.W?e=!0:f.push(new AJc(p,a.Nm(l),a.tv(l)))}});if(e){var h=
Error("pf"),k=new _.Lc;_.sI(k,2);_.EI(k,23);_.w(k,21,h.message);_.eq(k);a.ka(k);d(h)}c(f)})},DJc=function(a,b){for(var c=_.m(b),d=c.next();!d.done;d=c.next());a.JE||IJc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Fo()){d=[];for(var e=b[c].Ad();e.length>a;){var f=_.sa(e,a-1,a);f=vFc(new jL,f);d.push(f)}vFc(b[c],e);d.length&&_.gb(_.sa,b,c+1,0).apply(null,d)}},LL=function(a,b,c,d,e,f){var h=_.Xh(),k;_.Zh(a.H.promise.then(function(){return JJc(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),
q=new _.$h;if(l[0]&&l[0].w0){if(k=a.Zf?a.Zf.H(106022,f):null)EDc(DDc(CDc(WK(k),_.eK(_.nsc,c)),_.eK(_.ksc,d)),!0),q.$m().then(function(r){var v=k;r=void 0!=r;BDc(WK(v),r);_.Cvc(v)});KJc(a,q,b,p)}else q.callback(p);return _.Uh(q)},function(){}).then(function(l){var p=[];if(l){var q=0;l=_.m(l);for(var r=l.next();!r.done;r=l.next())r=r.value,r=new (CJc(c))(JSON.parse(r)),q+=a.Nm(r),p.push(r);3==c&&(a.JE||LJc(p),MJc(p));k&&WK(k).Kv(q)}h.resolve(p)}),function(){k&&k.vj()}).tg(h.reject,h);return h.promise},
IJc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Ab(a[b],_.sk,2).length)return;b=new Map;for(var c=new Map,d=_.m(a),e=d.next();!e.done;e=d.next()){e=e.value.Ad()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.cuc(f,NJc(_.Gk(f),b,c)),_.duc(f,NJc([f.ym()],b,c)[0]),_.guc(f,NJc([f.Jr()],b,c)[0]),_.kuc(f,NJc([f.aq()],b,c)[0]),_.nuc(f,NJc([f.eD()],b,c)[0]),f=f.Zv())_.$tc(f,NJc(f.gR(),b,c)),_.auc(f,NJc(_.Ab(f,_.sk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});_.Ej(a[0],
2,h)}},NJc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;f&&f.getId()?(e=f.getId(),b.has(e)?_.Nj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.sk,f.Nb(e),c.set(e,f),d.push(f))):d.push(f)}return d},LJc=function(a){var b=new Map,c=new Map;a[0]&&_.Ab(a[0],_.sk,2)&&_.Ab(a[0],_.sk,2).forEach(function(h){b.set(h.getId(),h);h=(new _.sk).Nb(h.getId());c.set(h.getId(),h)});if(b.size){a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=
d.value;var e=d.Ad()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.cuc(f,OJc(_.Gk(f),b,c)),_.duc(f,OJc([f.ym()],b,c)[0]),_.guc(f,OJc([f.Jr()],b,c)[0]),_.kuc(f,OJc([f.aq()],b,c)[0]),_.nuc(f,OJc([f.eD()],b,c)[0]),f=f.Zv())_.$tc(f,OJc(f.gR(),b,c)),_.auc(f,OJc(_.Ab(f,_.sk,3),b,c));_.Fj(d,2)}}},OJc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&e.getId()){var f=e.getId();_.Nj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);
return d},MJc=function(a){for(var b={},c=1;c<a.length;b={Xda:b.Xda},c++)if(!a[c].Fo()){for(var d=0,e=c;e<a.length&&!a[e].Fo();e++)d++;e=a[c-1];d=_.sa(a,c,d);b.Xda=e.Ad();d.forEach(function(f){return function(h){_.Ba(f.Xda,h.Ad())}}(b));vFc(e,b.Xda)}},FJc=function(a,b,c){if(!_.vsc()&&a.V){var d=new Worker(_.Xba(_.Ay(a.V)),void 0),e=new _.$h;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Gd(Error(String(k)))},!1);
c=nHc(new mHc,c);d.postMessage({command:"encrypt",data:{request:c.Gc(),key:b}});return e}try{a=[];var f=new vJc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.ei(a)}catch(k){h=_.gi(k)}return h},KJc=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.W){b.callback(void 0);return}if(!_.vsc()&&a.V){var f=new Worker(_.Xba(_.Ay(a.V)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},
!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new vJc(c);for(c=0;c<d.length;c++)a.push(yJc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},PJc=/^[\w]+$/,QJc=function(a,b,c){return[a.Yr(),a.clientId,b?"#":ML(a)].join(":")+":"+(c||"")},RJc=function(a,b,c){this.global=void 0===c?!1:c;a.match(PJc);this.key=a;this.value=b};RJc.prototype.getKey=function(){return this.key};RJc.prototype.Ya=function(){return this.value};
var SJc=function(a,b){return{k:QJc(b,a.global,a.key),v:a.value}},TJc=function(a,b){a=QJc(a,b);return aFc(a+"A",a+"z")},UJc=function(a,b){this.H=a;this.O=b},VJc=function(a){return a?new UJc(a.versionKey,a.versionChangeTimestamp):null},WJc=function(a,b){return a+":"+b},XJc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.w0=void 0===e?null:e},YJc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.w0}},ZJc=function(a,b,c,d){a=ML(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.nt(":%02d",c)},$Jc=function(a,b,c,d){c=ZJc(a,b,void 0===c?0:c,d);a=ML(a)+"_"+b;3===b&&(a+="_"+d);return aFc(c,a+":a")},aKc=function(a){var b=ML(a)+"_";a=ML(a)+"_A";return aFc(b,a)},bKc=function(a){return a?new XJc(a.data,a.index,a.size,a.timestamp,a.e):null},cKc=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.Aa(e);_.Ia(this.fields);_.Fa(this.fields);this.H=f};
cKc.prototype.Yr=function(){return this.userId};cKc.prototype.Lg=function(){return _.Aa(this.fields)};
var ML=function(a){if(!a.O){var b=new _.MH;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.Xqc(b.digest())}return a.O},dKc=function(a){return{versionKey:ML(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},eKc=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 cKc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:ML(a)!==d&&(a=null);return a},NL=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Zf=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.wa=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Pa=a.then(function(f){e.version=f});this.Ib=new _.jf(this);this.La(this.Ib)};_.K(NL,_.N);NL.prototype.initialize=function(){return fKc(this)};
var fKc=function(a,b){a.V||(a.V=_.Xh(),a.Pa.then(function(){b?(a.wa=!1,gKc(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.ma=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.eqc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).Wf(a.Ja.bind(a),a.ta.bind(a)),_.Bi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.Nc("Database version error",void 0,_.kI(c)?c:void 0))}));return a.V.promise},gKc=function(a,b){a.H=b;a.Ib.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Ib.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};NL.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.Auc(b,c)});_.Qa(_.BI,function(c){var d=_.Qsc.get(c);_.bqc(b,c,d?{keyPath:d}:void 0)})};
NL.prototype.ta=function(a){var b;a&&a instanceof _.OH&&"InvalidStateError"==a.getName()&&_.qj.Lu?b=Error("qf"):_.kI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);hKc(this,!1)};NL.prototype.Ja=function(a){this.ka?a.dispose():(gKc(this,a),this.La(this.H),this.readOnly||iKc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),hKc(this,!0))};
var hKc=function(a,b){if(a.ma){var c=a.ma,d=_.x(_.dK(c),vDc,5);d||(d=new vDc,c=_.dK(c),_.I(c,5,d));d=_.w(d,1,2);c=a.Yi().W;d=_.w(d,2,c);c=a.Yi().ka;d=_.w(d,5,c);b=_.w(d,3,b);b=_.w(b,4,a.Ba);d=a.Yi().ma;_.w(b,6,d);a.ma.vj();a.ma=null}};NL.prototype.Ha=function(){this.H||this.Gf()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("rf")))};NL.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.wa&&this.H.close())};NL.prototype.Gf=function(){return this.ka};
var jKc=function(a){return a.ka?a.O:null};NL.prototype.Yi=function(){return this.version};
var OL=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.cqc(a,[b],c)}catch(d){return null}},iKc=function(a){var b=_.BI.m_,c=OL(a,b,"readwrite");if(!c)return _.Vh(Error("sf"));c.objectStore(b).put(dKc(a.Yi()));return _.Uh(c.wait()).then(function(){})},kKc=function(a){if(!a.H)return _.Vh(Error("tf"));if(a.Gf())return _.Vh(Error(a.O));var b=_.BI.m_,c=OL(a,b,"readwrite");if(!c)return _.Vh(Error("uf"));b=c.objectStore(b);return _.Uh(b.remove(ML(a.Yi())))},
lKc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())(e=bKc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("vf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("wf")),0;e=d[0].size;if(!e)return b.reject(Error("xf")),0;if(e>d.length)return b.reject(Error("yf`"+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("zf`"+e)),0;if(c&&a<c)return b.reject(Error("Af`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},JJc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Vh(Error("Bf"));if(a.Gf())return _.Vh(Error(a.O));var e=$Jc(a.Yi(),b,0,c),f=_.BI.G5,h=OL(a,f);if(!h)return _.Vh(Error("Cf"));e=h.objectStore(f).getAll(e);var k=_.Xh();e.Wf(function(l){l=lKc(l,k,d);a.readOnly||null==l||mKc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},GJc=function(a,b,c,d,e,f){if(a.H){if(a.Gf())return _.Vh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Vh(Error("Df"))}else return _.Vh(Error("Ef"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:ZJc(a.Yi(),c,z,d),data:new XJc(v.getData(),z,k,h,e),metadata:v}}),p=_.BI.G5;b=OL(a,p,"readwrite");if(!b)return _.Vh(Error("Ff"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={pea:q.pea},r=l.next())r=r.value,q.pea=nKc(a,c,d,r.metadata,f),p.put(YJc(r.data),r.key).then(function(v){return function(){var z=v.pea;z&&(BDc(WK(z),!0),z.vj())}}(q),function(v){return function(z){var A=
v.pea,C=z instanceof _.OH?z.code:_.Epc;A&&a.W&&(z=BDc(WK(A),!1),C=_.eK(_.osc,C),_.w(z,2,C),A.vj())}}(q));return _.Uh(b.wait()).then(function(){})},nKc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=DDc(CDc(WK(a),_.eK(_.nsc,b)),_.eK(_.ksc,c)),f=_.w(b,5,f.Fo(d.H)),EDc(f,d.isEncrypted),void 0!=d.Nm()&&WK(a).Kv(d.Nm());return a}return null},mKc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Gf())return _.Vh(Error(a.O));if(3==b&&void 0==c)return _.Vh(Error("Gf"))}else return _.Vh(Error("Hf"));
b=$Jc(a.Yi(),b,d,c);c=_.BI.G5;a=OL(a,c,"readwrite");if(!a)return _.Vh(Error("If"));a.objectStore(c).remove(b);return _.Uh(a.wait()).then(function(){})},oKc=function(a){if(!a.H)return _.Vh(Error("Jf"));if(a.Gf())return _.Vh(Error(a.O));var b=aKc(a.Yi()),c=_.BI.G5;a=OL(a,c,"readwrite");if(!a)return _.Vh(Error("Kf"));a.objectStore(c).remove(b);return _.Uh(a.wait()).then(function(){})};
NL.prototype.getMetadata=function(a){if(this.H){if(this.Gf())return _.Vh(Error(this.O));if(a&&0==a.length)return _.Vh(Error("Lf"))}else return _.Vh(Error("Mf"));var b=this.Yi(),c=_.BI.R6,d=OL(this,c);if(!d)return _.Vh(Error("Nf"));c=d.objectStore(c);if(a){d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.Uh(c.get(QJc(b,e.global,e.key))));c=_.Wh(d)}else c=_.Wh([c.getAll(TJc(b,!1)).then(),c.getAll(TJc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return wzc(f,h)});return c.then(function(f){return f.map(function(h){a:{if(h){var k=h.k.split(":"),l="#"===k[2];if(4===k.length&&(l||k[2]===ML(b))){h=k[0]!==b.Yr()||k[1]!==String(b.clientId)?void 0:new RJc(k[3],h.v,l);break a}}h=void 0}return h})})};
var pKc=function(a,b){if(a.H){if(a.Gf())return _.Vh(Error(a.O));if(0==b.length)return _.Vh(Error("Of"))}else return _.Vh(Error("Pf"));var c=_.BI.R6,d=OL(a,c,"readwrite");if(!d)return _.Vh(Error("Qf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(SJc(e.value,a.Yi())).then());return _.Wh(d).then(function(){})},qKc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Gf())return _.Vh(Error(a.O))}else return _.Vh(Error("Sf"));var c=a.Yi(),d=_.BI.R6;a=OL(a,d,"readwrite");
if(!a)return _.Vh(Error("Tf"));d=a.objectStore(d);a=[];a.push(d.remove(TJc(c,!1)).then());b&&a.push(d.remove(TJc(c,!0)).then());return _.Wh(a).then(function(){})},rKc=function(a){if(!a.H)return _.Vh(Error("Uf"));if(a.Gf())return _.Vh(Error(a.O));var b=WJc(a.Yi().Yr(),a.Yi().clientId),c=_.BI.nU;a=OL(a,c);if(!a)return _.Vh(Error("Vf"));c=a.objectStore(c);return _.Uh(c.get(b)).then(function(d){return VJc(d)})},sKc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Vh(Error("Wf"));if(a.Gf())return _.Vh(Error(a.O));
var c=a.Yi(),d=WJc(c.Yr(),c.clientId);b=new UJc(ML(c),b?Date.now():void 0);c=_.BI.nU;a=OL(a,c,"readwrite");if(!a)return _.Vh(Error("Xf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Uh(a.wait())};NL.prototype.Jl=function(a){var b=this;return this.H?this.Gf()?_.Vh(Error(this.O)):rKc(this).then(function(c){var d=ML(b.Yi());if(c)if(a){if(!c.O&&d==c.H&&d!=ML(a))return sKc(b,!0);if(c.O&&d==ML(a))return sKc(b)}else{if(d!=c.H)return sKc(b)}else if(!a)return sKc(b)}):_.Vh(Error("Yf"))};
var tKc=function(a){if(!a.H)return _.Vh(Error("Zf"));if(a.Gf())return _.Vh(Error(a.O));var b=a.Yi(),c=WJc(b.Yr(),b.clientId);return rKc(a).then(function(d){if(d){d=_.BI.nU;var e=OL(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
NL.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Gf()?_.Vh(Error(this.O)):rKc(this).then(function(c){var d=c&&c.H==ML(b.Yi());return d&&!a?!1:(c&&d?tKc(b):_.Uh()).then(function(){return _.Wh([qKc(b,a),oKc(b),kKc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Vh(Error("$f"))};NL.prototype.close=function(){this.ha("Closing database")};NL.prototype.log=function(a){this.Zf.info("drive.ds.sync.storage.VersionedDb",a)};
var uKc=function(a){if(1>=a.Yi())return!1;var b=a.H.objectStoreNames;return _.Va(_.BI).every(function(c){return b&&b.contains(c)})},vKc=function(){var a=_.Xh();_.eqc("GoogleDriveDs").Wf(function(b){b?uKc(b)?a.resolve(b):(b.close(),_.Uh(bFc()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},wKc=function(a,b,c){var d=_.Xh();a?_.cqc(a,[_.BI.m_],"readonly").objectStore(_.BI.m_).getAll().Wf(function(e){e=
_.Va(e).map(function(f){return eKc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Yr()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},xKc=function(a,b,c){var d=_.Xh();vKc().then(function(e){if(e){var f=_.BI.nU;_.cqc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return VJc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.BI.m_,p=_.cqc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
eKc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.bi(p.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(h){d.reject(h);e.close()})}else d.resolve(null)},d.reject);return d.promise},yKc=function(a,b,c){var d=_.Xh(),e=new NL(_.Uh(a),b);fKc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},zKc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=yKc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Wh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+ML(l)))});d.resolve(k)})},AKc=function(a,b,c){var d=Date.now()-12096E5,e=_.Xh();vKc().then(function(f){f?(_.Zh(e.promise,function(){f.close()}),wKc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){zKc(h,c,f,e)})):e.resolve([])});return e.promise},BKc=function(a,b,c){var d=_.Xh();vKc().then(function(e){e?
(_.Zh(d.promise,function(){e.close()}),wKc(e,a,b).then(function(f){zKc(f,c,e,d,!0)})):d.resolve([])});return d.promise},CKc=function(a,b,c,d){if(a.length){var e=_.BI.G5,f=a.shift(),h=ZJc(f,3,0,1);try{_.cqc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=bKc(k))&&(!k.w0||k.w0&&d.has(f.V))?b.resolve(f):CKc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},DKc=function(a,b,c,d,e,f,h){var k=_.Xh();vKc().then(function(l){l?(_.Zh(k.promise,function(){l.close()}),
wKc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=ML(q))&&q.W==c&&q.H>=e&&Pzc(d.filter(function(r){return!_.Rsc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),CKc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},EKc={key:"rid",global:!0},FKc={key:"ooi",global:!0},GKc={key:"rtds",global:!1},HKc={key:"dct",global:!1},IKc={key:"pc",global:!1},JKc=function(a){this.H=new _.Th(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};JKc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Gf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};JKc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Gf()?pKc(c,[new RJc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};JKc.prototype.ju=function(){return this.get(EKc).then(function(a){return a?a:null})};
JKc.prototype.Yy=function(a){return this.set(EKc,a)};var KKc=function(a){return a.get(FKc).then(function(b){return"boolean"===typeof b?b:null})};JKc.prototype.Vy=function(a){return this.set(FKc,a)};var LKc=function(a){return a.get(IKc).then(function(b){return"boolean"===typeof b?b:null})},MKc=function(a){return a.get(GKc).then(function(b){return Array.isArray(b)?b:null})},NKc=function(a){return a.get(HKc).then(function(b){return"number"===typeof b?b:null})},OKc=function(){this.aj=[]};_.K(OKc,_.tK);
OKc.prototype.add=function(a,b){var c=a.Dv.Iw;return c instanceof _.zJ&&_.B(c.request,12)?_.tK.prototype.add.call(this,a,b):!1};OKc.prototype.usa=function(a){return this.aj.splice(0,Math.min(a,1))};var PKc=function(a,b){this.aj=[];this.H=b};_.K(PKc,_.tK);PKc.prototype.add=function(a,b){return a.Dv.Iw instanceof _.zJ?!1:_.tK.prototype.add.call(this,a,b)};
PKc.prototype.usa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.aj.length&&b.length<a;f++){var h=this.aj[f],k=h.Dv.Iw;k instanceof _.QI||k instanceof _.bJ||k instanceof _.uJ?k="app|"+k.Jh():k instanceof _.LI||k instanceof _.MI||k instanceof _.SI||k instanceof _.wI?k="item|"+(k instanceof _.LI?k.qc():k.getId()):k instanceof _.TI||k instanceof _.fJ?k="item|"+k.qc():k instanceof _.UI||k instanceof _.wJ?k="item|"+k.qc():k instanceof _.fD||k instanceof _.eD?(k=k instanceof _.fD?_.x(k,_.Yo,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.Zo(k)):k=k instanceof _.VI?"td|"+k.getId():null;var l=h.Dv.Iw;if(l instanceof _.OI)l=!!_.P(l,8);else if(l instanceof _.MI){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Mdb.has(l.getMimeType()));l=p}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++)_.va(this.aj,c[a]);return b};
var QKc=function(a,b,c,d,e,f,h,k,l){a=a.Vf();h=new _.uxc(new _.txc(k,h,d,_.Oj(a,32,1073741824),_.Oj(a,21,1E3)));k=new _.Twc(_.Oj(a,59,2E3),_.Oj(a,60,2E4),_.Oj(a,61,6));c=new _.Rwc(l?l:c,l?void 0:e);e={};e[1]=_.wxc(b,d);e[2]=_.xxc(b,a,k,c,d);e[3]=_.yxc(b,a,k,c,d,"batch");l=_.Oj(a,10,50);f=new _.vK(d,b,[_.Swc(c),new _.Wwc(l,_.Oj(a,11,100)),new _.uK(l),new _.sK(k,d)],[new PKc(a,f),new OKc,new _.tK],[new _.exc(a,k,c.Fj(),d)],"mutation");return e[4]=f,e[5]=_.zxc(h,a,d),e[6]=_.yxc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.yxc(b,a,k,c,d,"xd4_batch"),e[8]=_.yxc(b,a,k,c,d,"xd4_batch_one",1),e},RKc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},SKc=function(a){var b={};return b.parentId=a.xk(),b},TKc=function(a){var b={};_.Oyc(b,[_.B(a,2)||""]);return b},UKc=function(a){var b={};_.Me(_.ah(a.getTitle()))||(b.title=a.getTitle());_.Oyc(b,_.ie(a,3));_.P(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b},VKc=function(a){var b={};null!=a.getTitle()&&(b.title=
a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b},WKc=function(a){var b={};b.sourceIds=_.ie(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b},XKc=function(a){var b={},c={};_.Me(_.ah(a.getTitle()))||(b.title=a.getTitle());null!=a.qf()&&(b.description=a.qf());null!=_.P(a,4)&&(c.starred=_.P(a,4));null!=a.Qh()&&(c.trashed=a.Qh());_.Me(_.ah(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.B(a,7)&&(b.modifiedDate=
_.yuc(_.pvc(_.B(a,7)||0)));null!=_.P(a,11)&&(c.restricted=_.P(a,11));_.Ua(c)&&(b.labels=c);null!=a.Pi()&&(b.folderColor=a.Pi());null!=_.P(a,16)&&(b.subscribed=_.P(a,16));null!=_.P(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=_.P(a,40),c));if(c=_.x(a,_.Ak,25)){b.contentRestrictions=[];var d={};null!=_.P(c,1)&&(d.readOnly=_.P(c,1));null!=_.B(c,2)&&(d.reason=_.B(c,2));b.contentRestrictions.push(d)}_.Oyc(b,_.ie(a,8));return b},YKc=function(a){var b={};null!=_.P(a,3)&&(b.pinned=_.P(a,3));
return b},ZKc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.B(a,3))b.backgroundImageId=_.B(a,3);else{var c=_.B(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Zg)("0",6-c.length)+c);c=_.x(a,_.nDc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.B(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.B(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.De())&&(a.width=c);b.backgroundImageFile=a}}return b},$Kc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());
null!=a.getState()&&(a=_.Ryc[a.getState()])&&(b.state=a);return b},aLc=function(a){_.J.call(this,a)};_.K(aLc,_.J);aLc.prototype.qf=function(){return _.D(this,1)};aLc.prototype.Vl=function(a){return _.Uj(this,1,a)};aLc.prototype.getUrl=function(){return _.D(this,2)};_.bLc=function(a){_.J.call(this,a)};_.K(_.bLc,_.J);_.bLc.prototype.getType=function(){return _.Aj(this,1,0)};_.bLc.prototype.getContext=function(){return _.x(this,aLc,2)};cLc=[1];dLc=[2,4];_.eLc=function(a){_.J.call(this,a,-1,dLc)};
_.K(_.eLc,_.J);_.eLc.prototype.getLabel=function(){return _.D(this,1)};_.eLc.prototype.getTitle=function(){return _.D(this,3)};_.eLc.prototype.setTitle=function(a){return _.Uj(this,3,a)};_.fLc=function(a){_.J.call(this,a,-1,cLc)};_.K(_.fLc,_.J);_.gLc=[2,3,4];_.hLc=function(a){_.J.call(this,a)};_.K(_.hLc,_.J);_.hLc.prototype.re=function(){return _.D(this,3)};_.hLc.prototype.Jn=function(a){return _.Uj(this,4,a)};_.iLc=function(a){_.J.call(this,a)};_.K(_.iLc,_.J);_.jLc=function(a){_.J.call(this,a)};
_.K(_.jLc,_.J);var kLc=function(a){_.J.call(this,a)};_.K(kLc,_.J);lLc=[3,5];_.PL=[8,9,10,11,12,13,14];_.mLc=function(a){_.J.call(this,a)};_.K(_.mLc,_.J);_.nLc=function(a){_.J.call(this,a,-1,lLc)};_.K(_.nLc,_.J);_.nLc.prototype.Cb=function(){return _.Aj(this,6,0)};_.nLc.prototype.Ac=function(a){return _.Vj(this,6,a)};var oLc=function(a){_.J.call(this,a)};_.K(oLc,_.J);var pLc=function(a){_.J.call(this,a)};_.K(pLc,_.J);var qLc=function(a){_.J.call(this,a)};_.K(qLc,_.J);
var rLc=[1],sLc=function(a){_.J.call(this,a,-1,rLc)};_.K(sLc,_.J);var tLc=function(a){_.J.call(this,a)};_.K(tLc,_.J);var uLc=function(a){_.J.call(this,a)};_.K(uLc,_.J);vLc=[7];_.wLc=[1,2,3];_.xLc=function(a){_.J.call(this,a)};_.K(_.xLc,_.J);_.yLc=function(a){_.J.call(this,a)};_.K(_.yLc,_.J);_.zLc=function(a){_.J.call(this,a)};_.K(_.zLc,_.J);_.ALc=function(a){_.J.call(this,a,-1,vLc)};_.K(_.ALc,_.J);_.BLc=function(a){_.J.call(this,a)};_.K(_.BLc,_.J);
_.BLc.prototype.getName=function(){return _.D(this,1)};_.BLc.prototype.$c=function(a){return _.Uj(this,1,a)};var CLc=function(a){_.J.call(this,a)};_.K(CLc,_.J);CLc.prototype.getName=function(){return _.D(this,1)};CLc.prototype.$c=function(a){return _.Uj(this,1,a)};CLc.prototype.getTitle=function(){return _.D(this,2)};CLc.prototype.setTitle=function(a){return _.Uj(this,2,a)};_.DLc=[1,4];ELc=function(a){_.J.call(this,a)};_.K(ELc,_.J);ELc.prototype.getUser=function(){return _.Rj(this,_.jLc,1,_.DLc)};
var FLc=[8,9,10],GLc=function(a){_.J.call(this,a)};_.K(GLc,_.J);GLc.prototype.getType=function(){return _.Aj(this,6,0)};var HLc=function(a){_.J.call(this,a)};_.K(HLc,_.J);_.ILc=function(a){_.J.call(this,a)};_.K(_.ILc,_.J);_.g=_.ILc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Uj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Uj(this,2,a)};_.g.Lja=function(){return _.Rj(this,GLc,9,FLc)};
_.g.AVa=function(){return _.Rj(this,HLc,10,FLc)};_.g.Yi=function(){return _.Oj(this,5)};_.g.getMimeType=function(){return _.D(this,6)};_.g.jB=function(){return _.x(this,ELc,7)};var JLc=function(a){_.J.call(this,a)};_.K(JLc,_.J);var KLc=[8,9,10],LLc=function(a){_.J.call(this,a)};_.K(LLc,_.J);_.g=LLc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Uj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Uj(this,2,a)};
_.g.Lja=function(){return _.Rj(this,GLc,9,KLc)};_.g.AVa=function(){return _.Rj(this,HLc,10,KLc)};MLc=[1,3];_.QL=function(a){_.J.call(this,a)};_.K(_.QL,_.J);_.QL.prototype.Ah=function(){return _.Rj(this,LLc,1,MLc)};_.NLc=[1,2,3];_.OLc=function(a){_.J.call(this,a)};_.K(_.OLc,_.J);_.PLc=function(a){_.J.call(this,a)};_.K(_.PLc,_.J);var QLc=function(a){_.J.call(this,a)};_.K(QLc,_.J);var RLc=function(a){_.J.call(this,a)};_.K(RLc,_.J);SLc=[2,3];_.TLc=function(a){_.J.call(this,a,-1,SLc)};_.K(_.TLc,_.J);
_.TLc.prototype.getType=function(){return _.Aj(this,1,0)};_.ULc=function(a){_.J.call(this,a)};_.K(_.ULc,_.J);_.ULc.prototype.getType=function(){return _.Aj(this,1,0)};var VLc=function(a){_.J.call(this,a)};_.K(VLc,_.J);VLc.prototype.getType=function(){return _.Aj(this,1,0)};var WLc=function(a){_.J.call(this,a)};_.K(WLc,_.J);_.XLc=function(a){_.J.call(this,a)};_.K(_.XLc,_.J);_.XLc.prototype.H=function(){return _.Q(this,1)};var YLc=function(a){_.J.call(this,a)};_.K(YLc,_.J);ZLc=[1,2,4];
_.$Lc=function(a){_.J.call(this,a)};_.K(_.$Lc,_.J);aMc=[1,2];_.bMc=function(a){_.J.call(this,a)};_.K(_.bMc,_.J);_.bMc.prototype.getParent=function(){return _.x(this,_.QL,1)};_.bMc.prototype.yg=function(a){return _.I(this,1,a)};_.cMc=function(a){_.J.call(this,a,-1,aMc)};_.K(_.cMc,_.J);_.dMc=function(a){_.J.call(this,a,-1,ZLc)};_.K(_.dMc,_.J);_.RL=function(a){_.J.call(this,a)};_.K(_.RL,_.J);_.RL.prototype.getEmail=function(){return _.D(this,1)};_.RL.prototype.getTitle=function(){return _.D(this,2)};
_.RL.prototype.setTitle=function(a){return _.Uj(this,2,a)};_.SL=[2,3,4,5];_.TL=function(a){_.J.call(this,a)};_.K(_.TL,_.J);_.TL.prototype.kf=function(){return _.Aj(this,1,0)};_.TL.prototype.getUser=function(){return _.Rj(this,_.jLc,2,_.SL)};var eMc=function(a){_.J.call(this,a)};_.K(eMc,_.J);fMc=[1,2,3,4];_.gMc=function(a){_.J.call(this,a,-1,fMc)};_.K(_.gMc,_.J);_.hMc=function(a){_.J.call(this,a)};_.K(_.hMc,_.J);_.iMc=function(a){_.J.call(this,a)};_.K(_.iMc,_.J);_.jMc=function(a){_.J.call(this,a)};
_.K(_.jMc,_.J);_.kMc=function(a){_.J.call(this,a)};_.K(_.kMc,_.J);_.kMc.prototype.getType=function(){return _.Aj(this,1,0)};lMc=[1];_.mMc=function(a){_.J.call(this,a)};_.K(_.mMc,_.J);_.mMc.prototype.getFeature=function(){return _.Aj(this,1,0)};_.nMc=function(a){_.J.call(this,a,-1,lMc)};_.K(_.nMc,_.J);var oMc=function(a){_.J.call(this,a)};_.K(oMc,_.J);var pMc=function(a){_.J.call(this,a)};_.K(pMc,_.J);var qMc=function(a){_.J.call(this,a)};_.K(qMc,_.J);
qMc.prototype.getType=function(){return _.Aj(this,1,0)};_.UL=[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21];_.VL=function(a){_.J.call(this,a)};_.K(_.VL,_.J);_.VL.prototype.Pz=function(){return _.Rj(this,qMc,10,_.UL)};_.rMc=function(a){_.J.call(this,a)};_.K(_.rMc,_.J);var sMc=function(a){_.J.call(this,a)};_.K(sMc,_.J);_.tMc=function(a){_.J.call(this,a)};_.K(_.tMc,_.J);_.uMc=function(a){_.J.call(this,a)};_.K(_.uMc,_.J);_.uMc.prototype.getType=function(){return _.Aj(this,1,0)};_.WL=[1,2,3,4,5];
_.vMc=function(a){_.J.call(this,a)};_.K(_.vMc,_.J);_.vMc.prototype.getUser=function(){return _.Rj(this,_.jLc,1,_.WL)};var wMc=function(a){_.J.call(this,a)};_.K(wMc,_.J);wMc.prototype.getType=function(){return _.Aj(this,2,0)};wMc.prototype.Jh=function(){return _.D(this,1)};_.xMc=function(a){_.J.call(this,a)};_.K(_.xMc,_.J);_.g=_.xMc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Uj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};
_.g.setTitle=function(a){return _.Uj(this,2,a)};_.g.Ma=function(){return _.x(this,_.ILc,3)};_.yMc=function(a){_.J.call(this,a)};_.K(_.yMc,_.J);_.yMc.prototype.getParent=function(){return _.x(this,_.ILc,4)};_.yMc.prototype.yg=function(a){return _.I(this,4,a)};_.XL=[1,5,3];_.zMc=function(a){_.J.call(this,a)};_.K(_.zMc,_.J);_.zMc.prototype.Ah=function(){return _.Rj(this,_.ILc,1,_.XL)};_.AMc=function(a){_.J.call(this,a)};_.K(_.AMc,_.J);_.AMc.prototype.H=function(){return _.B(this,1)};
var BMc=function(a){_.J.call(this,a)};_.K(BMc,_.J);BMc.prototype.H=function(){return _.P(this,1)};BMc.prototype.V=function(){return _.B(this,2)};_.YL=function(a){_.J.call(this,a)};_.K(_.YL,_.J);_.g=_.YL.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.wsa=function(){return _.B(this,3)};_.g.fz=function(){return _.B(this,4)};
_.g.p$=function(){return _.x(this,BMc,6)};_.g.ssb=function(){return _.x(this,_.AMc,7)};_.g.FVa=function(){return _.B(this,8)};_.g.vsa=function(){return _.P(this,9)};_.ZL=function(a){_.J.call(this,a)};_.K(_.ZL,_.J);_.g=_.ZL.prototype;_.g.getType=function(){return _.B(this,1)};_.g.getId=function(){return _.B(this,2)};_.g.Nb=function(a){return _.w(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.zd=function(){return _.B(this,5)};
_.g.setSize=function(a){return _.w(this,5,a)};_.g.G$a=function(){return _.B(this,6)};_.CMc=function(a,b){return _.w(a,6,b)};_.ZL.prototype.qf=function(){return _.B(this,8)};_.ZL.prototype.Vl=function(a){return _.w(this,8,a)};_.ZL.prototype.H=function(){return _.P(this,9)};var DMc=function(a){_.J.call(this,a)};_.K(DMc,_.J);DMc.prototype.Cb=function(){return _.B(this,1)};DMc.prototype.Ac=function(a){return _.w(this,1,a)};
var EMc=function(a,b){return _.I(a,2,b)},lBc=[90,59,75],FMc=function(a){_.J.call(this,a)};_.K(FMc,_.J);FMc.prototype.H=function(){return _.x(this,_.HC,1)};FMc.prototype.V=function(){return _.x(this,_.HC,2)};FMc.prototype.wa=function(){return _.x(this,_.HC,3)};
var GMc=function(a){_.J.call(this,a)};_.K(GMc,_.J);GMc.prototype.H=function(){return _.P(this,1)};GMc.prototype.V=function(){return _.P(this,3)};GMc.prototype.wa=function(){return _.P(this,4)};
var HMc=function(a){_.J.call(this,a)};_.K(HMc,_.J);_.g=HMc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.J$a=function(){return _.B(this,2)};_.g.re=function(){return _.B(this,4)};_.g.I$a=function(){return _.x(this,GMc,5)};_.g.getCapabilities=function(){return _.x(this,IMc,6)};_.g.O$a=function(){return _.B(this,7)};_.g.a4a=function(a){return _.Ij(this,13,$L,a)};_.g.H$a=function(){return _.Rj(this,JMc,19,$L)};
_.g.AMa=function(a){return _.Ij(this,19,$L,a)};_.g.m4a=function(a){return _.Ij(this,12,$L,a)};_.g.n4a=function(a){return _.Ij(this,11,$L,a)};_.g.rtb=function(){return _.Rj(this,KMc,10,$L)};_.g.K$a=function(){return _.Rj(this,LMc,15,$L)};_.g.L4a=function(a){return _.Ij(this,15,$L,a)};_.g.L$a=function(){return _.Rj(this,MMc,14,$L)};_.g.M4a=function(a){return _.Ij(this,14,$L,a)};_.g.$4a=function(a){return _.Ij(this,9,$L,a)};_.g.M$a=function(){return _.Rj(this,NMc,8,$L)};
_.g.BMa=function(a){return _.Ij(this,8,$L,a)};_.g.N$a=function(){return _.Rj(this,OMc,18,$L)};_.g.CMa=function(a){return _.Ij(this,18,$L,a)};_.g.e5a=function(a){return _.Ij(this,17,$L,a)};var IMc=function(a){_.J.call(this,a)};_.K(IMc,_.J);IMc.prototype.H=function(){return _.P(this,1)};IMc.prototype.V=function(){return _.P(this,2)};var PMc=function(a){_.J.call(this,a)};_.K(PMc,_.J);var MMc=function(a){_.J.call(this,a,-1,QMc)};_.K(MMc,_.J);MMc.prototype.H=function(){return _.Ab(this,RMc,1)};
var SMc=function(a,b){_.Ej(a,1,b)},RMc=function(a){_.J.call(this,a)};_.K(RMc,_.J);_.g=RMc.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Fp=function(){return _.xj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.xj(this,2)};_.g.qf=function(){return _.B(this,5)};_.g.Vl=function(a){return _.w(this,5,a)};_.g.Q$a=function(){return _.xj(this,5)};
_.g.getCapabilities=function(){return _.x(this,TMc,3)};_.g.P$a=function(){return _.x(this,UMc,4)};var TMc=function(a){_.J.call(this,a)};_.K(TMc,_.J);TMc.prototype.H=function(){return _.P(this,1)};TMc.prototype.V=function(){return _.P(this,2)};var UMc=function(a){_.J.call(this,a)};_.K(UMc,_.J);_.g=UMc.prototype;_.g.U$a=function(){return _.P(this,1)};_.g.V$a=function(){return _.P(this,2)};_.g.R$a=function(){return _.x(this,FMc,3)};_.g.W$a=function(){return _.xj(this,3)};
_.g.T$a=function(){return _.x(this,FMc,4)};_.g.Y$a=function(){return _.xj(this,4)};_.g.S$a=function(){return _.B(this,5)};_.g.X$a=function(){return _.xj(this,5)};var LMc=function(a){_.J.call(this,a)};_.K(LMc,_.J);LMc.prototype.H=function(){return _.B(this,1)};LMc.prototype.kW=function(){return _.xj(this,1)};LMc.prototype.getOptions=function(){return _.x(this,MMc,2)};var NMc=function(a){_.J.call(this,a)};_.K(NMc,_.J);NMc.prototype.V=function(){return _.B(this,1)};
NMc.prototype.H=function(){return _.B(this,2)};var VMc=function(a){_.J.call(this,a)};_.K(VMc,_.J);VMc.prototype.kW=function(){return _.xj(this,1)};VMc.prototype.getOptions=function(){return _.x(this,NMc,2)};var KMc=function(a){_.J.call(this,a)};_.K(KMc,_.J);KMc.prototype.V=function(){return _.B(this,1)};KMc.prototype.H=function(){return _.B(this,2)};var WMc=function(a){_.J.call(this,a)};_.K(WMc,_.J);var XMc=function(a){_.J.call(this,a)};_.K(XMc,_.J);XMc.prototype.kW=function(){return _.xj(this,1)};
XMc.prototype.getOptions=function(){return _.x(this,WMc,2)};var YMc=function(a){_.J.call(this,a)};_.K(YMc,_.J);_.g=YMc.prototype;_.g.BMa=function(a){return _.Ij(this,3,aM,a)};_.g.$4a=function(a){return _.Ij(this,4,aM,a)};_.g.n4a=function(a){return _.Ij(this,5,aM,a)};_.g.m4a=function(a){return _.Ij(this,6,aM,a)};_.g.a4a=function(a){return _.Ij(this,7,aM,a)};_.g.M4a=function(a){return _.Ij(this,8,aM,a)};_.g.L4a=function(a){return _.Ij(this,9,aM,a)};_.g.e5a=function(a){return _.Ij(this,10,aM,a)};
_.g.CMa=function(a){return _.Ij(this,11,aM,a)};_.g.AMa=function(a){return _.Ij(this,12,aM,a)};var ZMc=function(a){_.J.call(this,a)};_.K(ZMc,_.J);var OMc=function(a){_.J.call(this,a)};_.K(OMc,_.J);OMc.prototype.H=function(){return _.B(this,1)};OMc.prototype.kW=function(){return _.xj(this,1)};OMc.prototype.getOptions=function(){return _.x(this,ZMc,2)};var JMc=function(a){_.J.call(this,a)};_.K(JMc,_.J);JMc.prototype.H=function(){return _.B(this,4)};
var $L=[13,19,12,11,10,15,14,9,8,18,17,16],QMc=[1],aM=[3,4,5,6,7,8,9,10,11,12];
var $Mc=function(a){_.J.call(this,a)};_.K($Mc,_.J);$Mc.prototype.getType=function(){return _.B(this,1)};var aNc=function(a){var b=new $Mc;return _.w(b,1,a)},bNc=function(a,b){return _.I(a,2,b)};$Mc.prototype.qy=function(){return _.B(this,3)};$Mc.prototype.Wy=function(a){return _.w(this,3,a)};$Mc.prototype.Ei=function(){return _.B(this,4)};$Mc.prototype.setPosition=function(a){return _.w(this,4,a)};
var dNc=function(a){_.J.call(this,a,-1,cNc)};_.K(dNc,_.J);dNc.prototype.Cb=function(){return _.B(this,1)};dNc.prototype.Ac=function(a){return _.w(this,1,a)};var cNc=[2];
var eNc=function(a){_.J.call(this,a)};_.K(eNc,_.J);
var fNc=function(a){_.J.call(this,a)};_.K(fNc,_.J);fNc.prototype.getType=function(){return _.B(this,1)};var gNc=function(a){var b=new fNc;return _.w(b,1,a)},hNc=function(a,b){return _.I(a,2,b)};fNc.prototype.qy=function(){return _.B(this,3)};fNc.prototype.Wy=function(a){return _.w(this,3,a)};fNc.prototype.Ei=function(){return _.B(this,4)};fNc.prototype.setPosition=function(a){return _.w(this,4,a)};
var bM=function(a){_.J.call(this,a)};_.K(bM,_.J);bM.prototype.getType=function(){return _.B(this,1)};var iNc=function(a){var b=new bM;return _.w(b,1,a)};bM.prototype.mn=function(){return _.x(this,gL,2)};var jNc=function(a,b){return _.I(a,2,b)};bM.prototype.qy=function(){return _.B(this,3)};bM.prototype.Wy=function(a){return _.w(this,3,a)};bM.prototype.Ei=function(){return _.B(this,4)};bM.prototype.setPosition=function(a){return _.w(this,4,a)};
var cM=function(a){_.J.call(this,a)};_.K(cM,_.J);cM.prototype.getType=function(){return _.B(this,1)};var kNc=function(a){var b=new cM;return _.w(b,1,a)};cM.prototype.mn=function(){return _.x(this,_.TA,2)};var lNc=function(a,b){return _.I(a,2,b)};cM.prototype.qy=function(){return _.B(this,3)};cM.prototype.Wy=function(a){return _.w(this,3,a)};cM.prototype.Ei=function(){return _.B(this,4)};cM.prototype.setPosition=function(a){return _.w(this,4,a)};
var mNc=function(a){_.J.call(this,a)};_.K(mNc,_.J);mNc.prototype.Cb=function(){return _.B(this,1)};mNc.prototype.Ac=function(a){return _.w(this,1,a)};mNc.prototype.jr=function(){return _.x(this,_.fL,2)};
var oNc=function(a){_.J.call(this,a,-1,nNc)};_.K(oNc,_.J);oNc.prototype.Cb=function(){return _.B(this,1)};oNc.prototype.Ac=function(a){return _.w(this,1,a)};oNc.prototype.Wj=function(){return _.B(this,3)};var nNc=[2];
var pNc=function(a){_.J.call(this,a)};_.K(pNc,_.J);pNc.prototype.ad=function(){return _.x(this,YK,1)};pNc.prototype.Vn=function(){return _.B(this,2)};
var qNc=function(a){_.J.call(this,a)};_.K(qNc,_.J);_.g=qNc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.jr=function(){return _.x(this,_.fL,2)};_.g.Wj=function(){return _.B(this,3)};_.g.Jh=function(){return _.B(this,4)};
var dM=function(a){_.J.call(this,a)};_.K(dM,_.J);dM.prototype.Cb=function(){return _.B(this,1)};dM.prototype.Ac=function(a){return _.w(this,1,a)};dM.prototype.Wj=function(){return _.B(this,3)};
var rNc=function(a){_.J.call(this,a)};_.K(rNc,_.J);_.g=rNc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Wj=function(){return _.B(this,2)};_.g.vMa=function(){return _.x(this,_.Yo,3)};_.g.getKey=function(){return _.x(this,_.gc,4)};_.g.bt=function(){return _.xj(this,4)};
var sNc=function(a){_.J.call(this,a)};_.K(sNc,_.J);sNc.prototype.getKey=function(){return _.B(this,1)};sNc.prototype.bt=function(){return _.xj(this,1)};var uNc=function(a){_.J.call(this,a,-1,tNc)};_.K(uNc,_.J);var vNc=[2,4,6,10],wNc=[3,5,7,8,9],tNc=[1];
var xNc=function(a){_.J.call(this,a)};_.K(xNc,_.J);
var eM=function(a){_.J.call(this,a,-1,yNc)};_.K(eM,_.J);eM.prototype.getName=function(){return _.B(this,1)};eM.prototype.$c=function(a){return _.w(this,1,a)};eM.prototype.Cm=function(){return _.B(this,2)};var zNc=function(a,b){return _.w(a,2,b)};eM.prototype.V=function(){return _.B(this,14)};var ANc=function(a,b){return _.w(a,14,b)};_.g=eM.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.qf=function(){return _.B(this,4)};
_.g.Vl=function(a){return _.w(this,4,a)};_.g.Z$a=function(){return _.B(this,15)};_.g.vk=function(){return _.Ab(this,HMc,5)};var BNc=function(a,b){return _.Ej(a,5,b)},CNc=function(a,b){_.I(a,6,b)},DNc=function(a,b){_.I(a,7,b)},ENc=function(a,b){_.I(a,8,b)},FNc=function(a,b){return _.w(a,9,b)},GNc=function(a,b){return _.w(a,10,b)},HNc=function(a,b){return _.w(a,11,b)};eM.prototype.H=function(){return _.x(this,GMc,12)};var INc=function(a,b){_.I(a,12,b)};
eM.prototype.getCapabilities=function(){return _.x(this,JNc,13)};var KNc=function(a,b){_.I(a,13,b)};eM.prototype.getCustomer=function(){return _.B(this,16)};var LNc=function(a,b){return _.w(a,16,b)},JNc=function(a){_.J.call(this,a)};_.K(JNc,_.J);JNc.prototype.wa=function(){return _.P(this,1)};JNc.prototype.H=function(){return _.P(this,2)};JNc.prototype.Ba=function(){return _.P(this,3)};JNc.prototype.V=function(){return _.P(this,4)};var yNc=[5];
var fM=function(a){_.J.call(this,a,-1,MNc)};_.K(fM,_.J);fM.prototype.Cb=function(){return _.B(this,1)};fM.prototype.Ac=function(a){return _.w(this,1,a)};fM.prototype.H=function(){return _.Ab(this,eM,2)};var NNc=function(a,b){return _.Ej(a,2,b)};fM.prototype.Wj=function(){return _.B(this,3)};var MNc=[2];
var ONc=function(a){_.J.call(this,a)};_.K(ONc,_.J);ONc.prototype.Cb=function(){return _.B(this,1)};ONc.prototype.Ac=function(a){return _.w(this,1,a)};ONc.prototype.H=function(){return _.x(this,eM,2)};ONc.prototype.Wj=function(){return _.B(this,3)};
var PNc=function(a){_.J.call(this,a)};_.K(PNc,_.J);PNc.prototype.py=function(){return _.B(this,2)};
var RNc=function(a){_.J.call(this,a,-1,QNc)};_.K(RNc,_.J);RNc.prototype.Cb=function(){return _.B(this,1)};RNc.prototype.Ac=function(a){return _.w(this,1,a)};RNc.prototype.ui=function(){return _.Ab(this,_.cEa,2)};RNc.prototype.xq=function(a,b){return _.Jj(this,2,a,_.cEa,b)};var QNc=[2];
var TNc=function(a){_.J.call(this,a,-1,SNc)};_.K(TNc,_.J);TNc.prototype.Cb=function(){return _.B(this,1)};TNc.prototype.Ac=function(a){return _.w(this,1,a)};TNc.prototype.Zk=function(){return _.Ab(this,bM,2)};var SNc=[2];
_.VNc=function(a){_.J.call(this,a,-1,UNc)};_.K(_.VNc,_.J);var UNc=[1];
var gM=function(a){_.J.call(this,a,-1,WNc)},ZNc,$Nc;_.K(gM,_.J);gM.prototype.Vn=function(){return _.B(this,1)};var XNc=function(a,b){return _.w(a,1,b)},YNc=function(a,b){return _.w(a,2,b)};gM.prototype.Cb=function(){return _.B(this,3)};gM.prototype.Ac=function(a){return _.w(this,3,a)};ZNc=function(a,b){return _.w(a,4,b)};$Nc=function(a,b){return _.Ej(a,5,b)};_.aOc=function(a){_.J.call(this,a)};_.K(_.aOc,_.J);_.aOc.prototype.Zb=function(){return _.B(this,2)};_.cOc=function(a){_.J.call(this,a,-1,bOc)};
_.K(_.cOc,_.J);var dOc=function(a,b){return _.w(a,1,b)},eOc=function(a,b){return _.w(a,2,b)},fOc=function(a,b){return _.Ej(a,3,b)},WNc=[5],bOc=[3];
_.hM=function(a){_.J.call(this,a,-1,gOc)};_.K(_.hM,_.J);_.hM.prototype.FV=function(){return _.Ab(this,_.QF,2)};_.hM.prototype.se=function(){return _.x(this,_.Kf,3)};var gOc=[1,2];
_.iM=function(a){_.J.call(this,a)};_.K(_.iM,_.J);_.iM.prototype.Cb=function(){return _.B(this,1)};_.iM.prototype.Ac=function(a){return _.w(this,1,a)};_.iM.prototype.Cf=function(){return _.x(this,_.JB,2)};_.hOc=function(a,b){return _.I(a,2,b)};_.iM.prototype.Wj=function(){return _.B(this,3)};
var iOc=function(a){_.J.call(this,a)};_.K(iOc,_.J);iOc.prototype.Cb=function(){return _.B(this,1)};iOc.prototype.Ac=function(a){return _.w(this,1,a)};
var kOc=function(a){_.J.call(this,a,-1,jOc)};_.K(kOc,_.J);kOc.prototype.Cb=function(){return _.B(this,1)};kOc.prototype.Ac=function(a){return _.w(this,1,a)};kOc.prototype.Zk=function(){return _.Ab(this,cM,2)};var jOc=[2];
_.jM=function(a){_.J.call(this,a)};_.K(_.jM,_.J);_.jM.prototype.nY=function(a){_.I(this,1,a)};_.jM.prototype.qv=function(){return _.x(this,_.wy,2)};_.jM.prototype.BO=function(a){_.I(this,2,a)};
_.lOc=function(a){_.J.call(this,a)};_.K(_.lOc,_.J);_.lOc.prototype.mi=function(){return _.x(this,wMc,2)};_.lOc.prototype.V=function(a){_.Ij(this,5,_.mOc,a)};_.mOc=[5,6];
var nOc;_.oOc=function(a){_.J.call(this,a,-1,nOc)};_.K(_.oOc,_.J);_.oOc.prototype.V=function(a){_.Ij(this,6,_.kM,a)};nOc=[3,4,5];_.kM=[6,7];
var pOc=function(a){_.J.call(this,a)};_.K(pOc,_.J);pOc.prototype.getType=function(){return _.B(this,1)};var qOc=function(a){var b=new pOc;return _.w(b,1,a)};pOc.prototype.qy=function(){return _.B(this,3)};pOc.prototype.Wy=function(a){return _.w(this,3,a)};pOc.prototype.Ei=function(){return _.B(this,4)};pOc.prototype.setPosition=function(a){return _.w(this,4,a)};
var sOc=function(a){_.J.call(this,a,-1,rOc)};_.K(sOc,_.J);sOc.prototype.Cb=function(){return _.B(this,1)};sOc.prototype.Ac=function(a){return _.w(this,1,a)};sOc.prototype.Wj=function(){return _.B(this,3)};var rOc=[2];
_.tOc=function(a){_.J.call(this,a)};_.K(_.tOc,_.J);_.tOc.prototype.getId=function(){return _.B(this,1)};_.tOc.prototype.Nb=function(a){return _.w(this,1,a)};_.tOc.prototype.se=function(){return _.x(this,_.Kf,4)};
var vOc=function(a){_.J.call(this,a,-1,uOc)};_.K(vOc,_.J);vOc.prototype.Cb=function(){return _.B(this,1)};vOc.prototype.Ac=function(a){return _.w(this,1,a)};vOc.prototype.Wj=function(){return _.B(this,3)};var uOc=[2];
_.lM=function(a){_.J.call(this,a)};_.K(_.lM,_.J);_.lM.prototype.getType=function(){return _.B(this,1)};var wOc=function(a){var b=new _.lM;return _.w(b,1,a)},xOc=function(a,b){return _.I(a,2,b)};_.lM.prototype.qy=function(){return _.B(this,3)};_.lM.prototype.Wy=function(a){return _.w(this,3,a)};_.lM.prototype.Ei=function(){return _.B(this,4)};_.lM.prototype.setPosition=function(a){return _.w(this,4,a)};
_.YAc=function(a){_.J.call(this,a)};_.K(_.YAc,_.J);_.g=_.YAc.prototype;_.g.getItem=function(){return _.x(this,_.Fk,1)};_.g.setItem=function(a){return _.I(this,1,a)};_.g.getError=function(){return _.x(this,_.Lc,2)};_.g.Me=function(a){return _.I(this,2,a)};_.g.Yn=function(){return _.xj(this,2)};_.g.kv=function(){return _.B(this,4)};
var zOc=function(a){_.J.call(this,a,-1,yOc)};_.K(zOc,_.J);var yOc=[2,4];
var BOc=function(a){_.J.call(this,a,-1,AOc)};_.K(BOc,_.J);var AOc=[1];
var DOc=function(a){_.J.call(this,a,-1,COc)};_.K(DOc,_.J);DOc.prototype.Cb=function(){return _.B(this,1)};DOc.prototype.Ac=function(a){return _.w(this,1,a)};DOc.prototype.Wj=function(){return _.B(this,3)};var COc=[2];
var FOc=function(a){_.J.call(this,a,-1,EOc)};_.K(FOc,_.J);FOc.prototype.Cb=function(){return _.B(this,1)};FOc.prototype.Ac=function(a){return _.w(this,1,a)};FOc.prototype.Wj=function(){return _.B(this,3)};var EOc=[2];
var GOc=function(a){_.J.call(this,a)};_.K(GOc,_.J);
var IOc=function(a){_.J.call(this,a,-1,HOc)};_.K(IOc,_.J);IOc.prototype.H=function(){return _.B(this,2)};var JOc=function(a,b){_.w(a,2,b)},HOc=[1];
var LOc=function(a){_.J.call(this,a,-1,KOc)};_.K(LOc,_.J);LOc.prototype.py=function(){return _.D(this,2)};var KOc=[1];
var MOc=function(a){_.ni.call(this,"Kb");this.dataType=a};_.K(MOc,_.ni);
var NOc=function(a,b){_.ni.call(this,"Lb");this.mPa=a;this.Zta=b};_.K(NOc,_.ni);
var OOc=function(){};_.g=OOc.prototype;_.g.sM=function(a,b){return bNc(aNc(1),a).setPosition(b)};_.g.rM=function(a,b){return bNc(aNc(2).setPosition(b),a)};_.g.EE=function(a,b,c){return bNc(aNc(3).Wy(b).setPosition(c),a)};_.g.qQ=function(a,b){return bNc(aNc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,uL,2)};
var POc=function(){_.yy.call(this,new OOc,function(a){return a&&a.getName()})};_.K(POc,_.yy);
var mM=function(a,b,c,d){d=void 0===d?50:d;$K.call(this,a);var e=this;this.W=b;this.connectionState=c;this.limit=d;this.active=!1;this.status=6;this.Ba=yzc(new _.DK,[1]);this.ha=this.H=!1;this.Rc=new _.jf(this);this.La(this.Rc);_.$e(this,function(){e.Rc.removeAll()})};_.K(mM,$K);_.g=mM.prototype;_.g.Oe=function(){return this.W.Oe()||this.connectionState.Oe()};
_.g.activate=function(){var a=this;$K.prototype.activate.call(this);this.Rc.listen(this.W,"Bb",function(){return void a.Ut()});this.Rc.listen(this.connectionState,[].concat(_.Jd(Object.values(_.KB))),function(){return void a.Ut()});this.W.Oe()?this.Rc.Zc(this.W,"Bb",function(b){b.Oe()||(a.MG(),a.dispatchEvent(new _.ni(_.kq)))}):this.connectionState.Oe()?this.Rc.Zc(this.connectionState,[_.KB.yL,_.KB.oU],function(){a.MG();a.dispatchEvent(new _.ni(_.kq))}):(this.MG(),this.dispatchEvent(new _.ni(_.kq)))};
_.g.MG=function(){};_.g.ou=function(a){var b=this;if(this.nk()){var c=this.limit;this.limit+=a||50;this.Zb()>c&&this.Ut();this.W.Oe()?this.Rc.Zc(this.W,"Bb",function(d){d.Oe()||b.SO()}):this.SO()}};_.g.EL=function(){this.Oe()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.Ba};_.g.handleError=function(a){this.dispatchEvent(new _.Oc(a))};_.g.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};_.g.nk=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rc.removeAll();this.activate()};_.g.SO=function(){};
var QOc=function(a,b,c,d,e){mM.call(this,c,a,b,e.vi()||void 0);this.request=e;this.logName="drive.ds.sync.CategoryMetadataLiveList";this.V=[];this.data=[];this.changed=!1;this.O=new POc;this.ka=d};_.K(QOc,mM);_.g=QOc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.getData=function(){return ZGc(new vL,this.data).Ac(this.status)};
_.g.Rr=function(){var a=this.O.ky(this.V,this.data);this.V=this.data;var b=(new dNc).Ac(this.status);return _.Ej(b,2,a)};_.g.SO=function(){this.ka(this.Qi(),this.limit)};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,ROc(this)}};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||UK(this.O,this.data,b.H()))this.H=!0,this.status=b.Cb(),this.data=b.H(),this.ha=a.H,ROc(this)};var ROc=function(a){a.log("Livelist "+a.Qi()+" returning "+a.data.length+" for "+(a.request.qc()+". Status: ")+(_.db(xEc)[a.Cb()]+"."));a.dispatchEvent(new _.ni(_.Zc,a))};QOc.prototype.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};
var SOc=function(a,b,c,d,e,f,h){_.aL.call(this,a,b,c,e,f,d);this.Zf=h;this.logName="drive.ds.sync.ViewCacheLiveList";this.ka=null;this.ha=void 0};_.K(SOc,_.aL);SOc.prototype.getData=function(){this.H=this.items;var a=TCc((new _.UA).Ac(this.Cb()).LA(this.items),this.nk());a=_.I(a,7,this.ka).lP(this.suggestionSessionId).yi(this.Fe);return _.Cj(a,18,this.ha)};
SOc.prototype.update=function(a){if(EEc(this,a)&&(FEc(this,a),this.ka=a.V5(),this.suggestionSessionId=a.Rf(),this.ha=a.gka(),DEc(this),this.suggestionSessionId&&lGc(this.O)&&(a=this.Zf.H(106027)))){var b=_.x(_.dK(a),IDc,20);if(!b){b=new IDc;var c=_.dK(a);_.I(c,20,b)}_.w(b,1,this.suggestionSessionId);a.vj()}};
var TOc=function(a,b){var c={};a=_.Ra(a,function(d){return!!d});b=_.Ra(b,function(d){return!!d});_.Qa(a,function(d,e){var f=b[e];f?_.Nj(d,f)||(d=lNc(kNc(4),f),c[e]=d):(d=lNc(kNc(2),d),c[e]=d)});_.Qa(b,function(d,e){a[e]||(d=lNc(kNc(1),d),c[e]=d)});return c},UOc=function(a,b){return _.Ua(a)!==_.Ua(b)||!_.Za(TOc(a,b))};
var VOc=function(a,b){$K.call(this,a);this.request=b;this.logName="drive.ds.sync.WorkspaceFindByIdsLiveMap";this.status=6;this.H={};this.data={}};_.K(VOc,$K);_.g=VOc.prototype;_.g.activate=function(){$K.prototype.activate.call(this);_.Za(this.data)&&6===this.status||this.dispatchEvent(new _.ni(_.Zc,this))};_.g.Cb=function(){return this.status};_.g.Iq=function(){return new _.DK};
_.g.getData=function(){this.H=this.data;var a=(new _.hK).Ac(this.status);_.Qa(this.data,function(b,c){a.NT().set(c,b||new _.TA)});return a};_.g.Rr=function(){var a=TOc(this.H,this.data);this.H=this.data;var b=(new iOc).Ac(this.status);_.Qa(a,function(c,d){_.Cb(b,2,void 0,cM).set(d,c)});return b};_.g.gT=function(){throw Error("bg");};_.g.ld=function(){return this.request};
_.g.update=function(a){var b={};a.NT().forEach(function(c,d){c||(c=RIc(d));b[d]=c});if(this.status!==a.Cb()||UOc(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};
var WOc=function(a,b,c,d,e,f){_.aL.call(this,a,b,c,d,e,f);this.ha=[];this.logName="drive.ds.sync.PeoplePredictLiveList"};_.K(WOc,_.aL);WOc.prototype.getData=function(){this.H=this.items;var a=(new _.gK).Ac(this.Cb()).LA(this.items);var b=this.nk();a=_.w(a,4,b);return wEc(a,this.ha).lP(this.suggestionSessionId).yi(this.Fe)};WOc.prototype.update=function(a){EEc(this,a)&&(FEc(this,a),this.ha=_.Ab(a,_.sk,6),this.suggestionSessionId=a.Rf(),DEc(this))};
var XOc=function(){};_.g=XOc.prototype;_.g.sM=function(a,b){return jNc(iNc(1),a).setPosition(b)};_.g.rM=function(a,b){return jNc(iNc(2).setPosition(b),a)};_.g.EE=function(a,b,c){return jNc(iNc(3).Wy(b).setPosition(c),a)};_.g.qQ=function(a,b){return jNc(iNc(4),a).setPosition(b)};_.g.OM=function(a){return a.mn()};
var YOc=function(){_.yy.call(this,new XOc,function(a){return a&&a.eq()})};_.K(YOc,_.yy);
var ZOc=function(a,b,c){mM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new YOc;this.suggestionSessionId=null;this.ka=c};_.K(ZOc,mM);_.g=ZOc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.getData=function(){this.O=this.data;return qFc(pFc((new hL).Ac(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new TNc).Ac(this.status);return _.Ej(b,2,a)};_.g.SO=function(){};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Cb()||UK(this.V,this.data,a.Zk())){this.changed=this.H=!0;this.data=a.Zk();if(a=a.Rf())this.suggestionSessionId=a;this.Ut()}};_.g.refresh=function(){this.ka()};_.g.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var $Oc=function(a,b,c,d){$K.call(this,a);var e=this;this.request=b;this.ha=c;this.W=d;this.logName="drive.ds.sync.TeamDriveLiveList";this.O=[];this.items=[];this.status=6;this.V=yzc(new _.DK,[1]);this.H=!0;this.limit=b.vi();_.$e(this,function(){e.O=[]})};_.K($Oc,$K);_.g=$Oc.prototype;_.g.activate=function(){$K.prototype.activate.call(this);_.pa(this.items)&&6===this.status&&this.H||this.dispatchEvent(new _.ni(_.Zc,this))};_.g.ld=function(){return this.request};_.g.Cb=function(){return this.status};
_.g.Iq=function(){return this.V};_.g.nk=function(){return this.H};_.g.getData=function(){this.O=this.items;return TCc((new _.UA).Ac(this.status).LA(this.items),this.H)};_.g.Rr=function(){var a=_.z7a().ky(this.O,this.items),b=(new uEc).Ac(this.status);a=_.Ej(b,2,a);this.O=this.items;return a};_.g.ou=function(a){this.isActive()&&(this.limit+=a||20,this.ha.CF(this.Qi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||UK(_.z7a(),this.items,a.Ad()))this.items=a.Ad(),this.status=a.Cb(),_.lI(this.W)&&(this.V=zzc(this.status,this.items)),this.H=a.Ql(),this.isActive()&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};_.g.Au=function(){throw Error("cg");};_.g.refresh=function(){};
var aPc=function(a,b,c){$K.call(this,a.He());var d=this;this.context=a;this.W=b;this.request=c;this.logName="drive.ds.sync.TeamDriveLiveMap";this.O={};this.H={};this.status=6;this.V=yzc(new _.DK,[1]);this.log("Creating TD find by ids live map: "+this.request.ln().join(", "));_.$e(this,function(){d.O=[]})};_.K(aPc,$K);_.g=aPc.prototype;_.g.activate=function(){$K.prototype.activate.call(this);(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.ld=function(){return this.request};
_.g.getData=function(){this.O=this.H;var a=new _.fK;a.Ac(this.status);a.map=this.H;return a};_.g.Rr=function(){var a=Wzc(this.O,this.H),b=new CEc;b.Ac(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.V};_.g.gT=function(a){var b=this.request;this.request=a;this.W.RY(this.Qi(),b,a)};
_.g.update=function(a){if(this.status!==a.Cb()||Xzc(this.H,a.Qr()))this.status=a.Cb(),this.H=a.Qr(),_.lI(this.context.Ic)&&(this.V=zzc(this.status,Object.values(this.H))),this.isActive()&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.iW=function(){this.dispatchEvent(new _.ni(_.HEa))};
var bPc=function(){};_.g=bPc.prototype;_.g.sM=function(a,b){return lNc(kNc(1),a).setPosition(b)};_.g.rM=function(a,b){return lNc(kNc(2).setPosition(b),a)};_.g.EE=function(a,b,c){return lNc(kNc(3).Wy(b).setPosition(c),a)};_.g.qQ=function(a,b){return lNc(kNc(4),a).setPosition(b)};_.g.OM=function(a){return a.mn()};
var cPc=function(){_.yy.call(this,new bPc,function(a){return a&&a.getId()})};_.K(cPc,_.yy);
var dPc=function(a,b,c){mM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.ka=c;this.logName="drive.ds.sync.WorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new cPc};_.K(dPc,mM);_.g=dPc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ni(_.Zc,this))};_.g.getData=function(){this.O=this.data;return jHc((new xL).Ac(this.status),this.data.slice(0))};
_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new kOc).Ac(this.status);return _.Ej(b,2,a)};_.g.SO=function(){this.ka.CF(this.Qi(),this.limit)};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||UK(this.V,this.data,b.Zk()))this.H=!0,this.status=b.Cb(),this.data=b.Zk(),this.ha=a.H,this.dispatchEvent(new _.ni(_.Zc,this))};_.g.tB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var ePc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.Af;this.O=this.context.pfa;this.ta=this.context.Y5};_.g=ePc.prototype;_.g.Pwa=function(a){var b=this,c=new SOc(this.context.wm,this.context.bQ,this.context.He(),this.context.Ic,function(d,e){b.CF(d,e)},a,this.context.jk());this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.Swa=function(a){var b=this,c=new WOc(this.context.wm,this.context.bQ,this.context.He(),function(d,e){b.CF(d,e)},a,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.Mwa=function(a){var b=this,c=new HEc(this.context.Ic,this.context.wm,this.context.He(),this.context.KZ,this.RY.bind(this),a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.Vwa=function(a){var b=this,c=new $Oc(this.context.He(),a,this,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.Wwa=function(a){var b=this,c=new aPc(this.context,this,a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.Zwa=function(a){var b=this,c=new dPc(this.context,a,this);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.Twa=function(a){var b=this,c=new ZOc(this.context,a,function(){if(a instanceof _.Oz){var d=fPc(b.context);JIc(d,d.getKey(a)).refresh()}});this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.$wa=function(a){var b=this,c=new VOc(this.context.He(),a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.Iwa=function(a){var b=this,c=new QOc(this.context.Fj(),this.context.wk(),this.context.He(),function(d,e){b.CF(d,e)},a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.Yh=function(a){var b=a.Qi();this.H[b]=a;this.ha.create(b,a.ld());if(a.ld()instanceof _.Qz)a=this.O.Yh(b,a.ld());else if(a.ld()instanceof _.YF)a=HIc(this.O,b,a.ld());else if(a.ld()instanceof _.Oz)a=fPc(this.context).Yh(b,a.ld());else if(a.ld()instanceof _.eG)a=this.ta.Yh(b,a.ld());else{var c=a.ld(),d=bL(this.context.wm,c,2);this.log("Registering LiveList "+a.Qi()+" "+d);a=this.W.Yh(b,c)}"boolean"===typeof a&&PGc(this.ha,b,a)};
_.g.Zj=function(a){if(a.ld()instanceof _.Qz)this.O.Zj(a.Qi(),a.ld());else if(a.ld()instanceof _.YF)IIc(this.O,a.Qi(),a.ld());else if(a.ld()instanceof _.Oz)fPc(this.context).Zj(a.Qi(),a.ld());else if(a.ld()instanceof _.eG)this.ta.Zj(a.Qi(),a.ld());else{var b=a.ld(),c=bL(this.context.wm,b,2);this.log("Unregistering LiveList "+a.Qi()+" "+c);this.W.Zj(a.Qi(),b)}sL(this.ha,a.Qi(),4);delete this.H[a.Qi()]};_.g.RY=function(a,b,c){this.W.Zj(a,b);this.W.Yh(a,c)};
_.g.CF=function(a,b){var c=gPc(this,a).ld();c.Hi(b);c instanceof _.Qz?this.O.Yh(a,c):c instanceof _.YF?HIc(this.O,a,c):c instanceof _.eG?this.ta.Yh(a,c):this.W.Yh(a,c)};_.g.lO=function(a,b){var c=this.H[a]&&this.H[a].ld();c&&(c instanceof _.yf?Fzc(c.H(),b.Ad().filter(function(d){return!lL(d)})):c instanceof _.SF&&Fzc(c.H(),Object.values(b.Qr()).filter(function(d){return d&&!lL(d)})));this.ka[a]=b;this.V||(this.V=_.zi(this.U8,50,this))};
_.g.IX=function(a,b){this.ma[a]=b;this.V||(this.V=_.zi(this.U8,50,this))};_.g.lA=function(a){(a=this.H[a])&&a.iW()};_.g.U8=function(){_.Ai(this.V);this.V=null;var a=Object.keys(this.ka),b=Object.keys(this.ma);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.ka[c];if(d){delete this.ka[c];var e=this.H[c];e&&(SGc(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])sL(this.ha,a,3),d.tB(c)};
_.g.xka=function(a){return gPc(this,a).ld()};var gPc=function(a,b){if(!a.H[b])throw Error("dg`"+b);return a.H[b]};ePc.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var hPc=function(){},iPc=function(a){this.H=a},ZAc=function(a,b,c,d,e,f,h,k){this.status=a;this.O=b;this.V=c;this.ka=d;this.ha=e;this.gA=f;this.H=h;this.W=k};
var nM=function(a,b){_.xi.call(this);this.O=a;this.request=b;this.ie=_.Xh();this.complete=!1;this.H=""};_.K(nM,_.xi);nM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Pe(a.request)}).then(this.W.bind(this)).tg(this.handleError.bind(this));return this.ie.promise};nM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new NOc(0,this.H));jPc(this)};
var jPc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Pe(new _.vtc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new zOc;c=_.Cj(c,2,b.V);c=_.w(c,3,a.H);c=_.w(c,5,b.ka);c=_.w(c,6,b.ha);c=_.w(c,7,b.gA);c=_.w(c,8,b.H);b=_.Ej(c,4,b.W);a.ie.resolve(b)}else b=_.tI(_.dq(_.cq(new _.Lc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new NOc(b.O,
a.H)),jPc(a)}).tg(function(b){a.handleError(b)})},5E3)};nM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Pe(new _.utc(a.H))}).then(this.V.bind(this)).tg(this.handleError.bind(this))};nM.prototype.V=function(){if(!this.complete){var a=new zOc;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.ie.resolve(a);this.complete=!0;this.dispose()}};nM.prototype.handleError=function(a){this.complete=!0;this.ie.reject(_.GI(a));this.dispose()};
var kPc=function(){_.ni.call(this,"VbxEwf")};_.K(kPc,_.ni);
var lPc=function(a,b){this.context=a;this.H=null;this.oc=b||null};_.g=lPc.prototype;_.g.Ka=function(){return _.x(this.context.Ic,_.DI,58)};_.g.getContext=function(){return this.context};_.g.Gz=function(){return this.context.OA.Gz(this.H)};_.g.He=function(){return this.context.He()};_.g.GM=function(a){return _.ei(this.context.Af.um.H(a))};_.g.cR=function(){return _.ei(this.context.OA.cR())};
_.g.S4=function(a,b,c){var d=new _.$h;if(_.Rj(a,_.mI,3,_.nI)||_.Rj(a,_.AJ,4,_.nI)||_.Rj(a,_.pK,5,_.nI)||_.Rj(a,_.xJ,6,_.nI)||_.Rj(a,_.VI,7,_.nI)||_.Rj(a,_.OI,8,_.nI)||_.Rj(a,_.SI,9,_.nI)||_.Rj(a,_.wI,10,_.nI)){var e=MGc(a);this.context.Pm().then(function(f){return f.Pe(e,{E6a:b,F6a:c})}).then(this.$$a.bind(this,d),d.Gd,d);return d}throw Error("eg");};
_.g.$$a=function(a,b){var c=[],d="";if(b instanceof _.qK){c=b.ad().Ad();var e=_.B(b,2);d=b.Vn()}else if(b instanceof _.CJ)b.getItem()&&c.push(b.getItem()),e=b.MM();else throw Error("fg");a.callback({items:c,qia:e,pageToken:d})};_.g.Npa=function(){var a=this.context.Ic,b=a.Vf();a="email:"+_.XH(a).getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.Nha=function(){this.context.Hs.kS();var a=this.context.Ic;BKc(_.QJ(_.XH(a)),_.RJ(a),this.context.He()).tg(function(){})};
_.g.f9=function(){return _.Asc[_.Aj(this.context.Ic.Vf(),8,0)]};_.g.eda=function(){this.context.NF.H=new qJc(_.bh().substring(0,8))};_.g.SS=function(){var a=this.context.NF.dN(),b=null;a&&(b=sJc(this.context.NF),b={traceId:a,spanRecs:b});a=this.context.NF;a.H=null;a.xY=[];return _.ei(b)};_.g.dN=function(){return _.ei(this.context.NF.dN())};
_.g.getState=function(a){var b=this.context.Nj,c=b.H.bind(b);b={};b.b=this.context.Ic.Oi();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.context.Af.um.zd();c=this.context.Af.It;var d=c.H;d&&(b.cs_sutd=d.V7,b.cs_ss=d.zd());b.cs_ch=IHc(c).length;b.cs_td=c.ZV().length;(c=this.context.Z5)&&(b.t_cps=c.IWa().getStats().join(","));b.t_id=mPc(this.context);
var e=[];nPc(this.context.bR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.gz?this.context.wk().isConnected():this.context.yI.yB();b.n_o=this.context.gz?this.context.wk().Oe():this.context.Fj().Oe();b.n_csm=!!this.context.gz;a&&(b.csw_cc=_.Ua(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.ei(JSON.stringify(b))};_.g.jpa=function(){this.oc&&(this.oc.dispatchEvent(new kPc),this.oc.Eu())};
_.g.Jl=function(a){var b=this.context.gz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.rwc(b))};
var qPc=function(a,b){this.context=a;this.Gg=b;this.H=_.htc(_.YJ(this.Gg),oPc);this.O=_.htc(_.YJ(this.Gg),pPc)};
qPc.prototype.jl=function(a){var b=this,c=this.context.TP.Cf().Cf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.ltc(h);var k=h.getId(),l=b.context.ju();_.huc(h,3);_.zI(h,5);var p=aAc(h,!0);h.getCapabilities()||_.MJ(h,new _.yk);_.P(p,2)&&((p=h.rk())&&p.length?_.w(h,46,p[0]):(_.LJ(h,[l]),_.w(h,46,l)),_.w(h,12,h.wq()),l=new _.sk,l.Nb(d),_.w(l,6,1),_.Stc(l,!0),_.duc(h,l),_.cuc(h,[l]),_.u7b(h,1));e[k]=h});a=Object.keys(e);c=this.context.Af;var f=SFc(c.um,a);_.Qa(f,function(h,k){IK(h.getItem(),
e[k],b.H);(b.context.Fj().Oe()||b.context.wk().Oe()||3===h.getItem().tv())&&IK(h.getItem(),e[k],b.O);_.$a(e,k)});_.Qa(e,function(h){_.Bk(h.Om())&&(f[h.getId()]=new kL(h))});rPc(c,Object.values(f))};
var sPc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.jl(c)},tPc=function(a){a=a.context.Af;var b=new _.yf;b.Jl(!0);b=UFc(a.um,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.tv()){var h=new _.qI;_.rI(h,f.getId());_.AI(h);d.push(h)}else h=new _.Vna,_.FK(h,!1),_.w(h,2,!1),_.I(f,81,h),c.push(b[e])}rPc(a,c);a.Jo(d)},oPc=[50],pPc=[12,11,10,67,68];
var uPc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new qPc(a,a.Gg)};_.g=uPc.prototype;_.g.iY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.bab.bind(this);var b=this.aab.bind(this);this.log("Querying all offline items.");this.H.tV().Wf(a,b);this.V||(this.H.w_((0,_.M)(this.Mxb,this)),this.V=!0)}}else tPc(this.O)};_.g.bab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.jl(a);zL(this.context.Nj,"GZTDpc")};_.g.aab=function(){this.log("Error fetching offline items.")};
_.g.Mxb=function(a){this.log("Handling offline change(s): "+a.length);sPc(this.O,a)};_.g.log=function(a){this.context.He().info("drive.ds.sync.offline.LocalDataService",a)};
var oM=function(a){_.xi.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Rc=new _.jf(this);this.ma=null;this.Ta=this.wa=!1;var b=new uPc(a);this.context.ha=b;this.Fa=new lPc(a,this);KAc(this.Fa);_.x(a.Ic,_.DI,58);this.La(this.Rc);this.O=this.context.Nj;this.W=a.mfa;this.V=new ePc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.iSa()};_.K(oM,_.xi);_.g=oM.prototype;_.g.iSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Xh();var b=this.context.jk().H(106E3);this.ma.promise.then(function(){b&&b.vj()},function(){_.nK(a.context.jk(),181008852)});this.context.He().info(this.Ba,"Initializing "+(_.SJ(this.context.Ic)?"(coldstart) ":"")+" with client build: "+this.context.Ic.Oi());this.Rc.listen(this.context,_.Yc,this.qvb);this.Rc.listen(this.context.yI,["pb","qb"],function(c){return void a.dispatchEvent(c)});this.Rc.listen(this.context.wk(),[].concat(_.Jd(Object.values(_.KB))),
function(c){return void a.dispatchEvent(c)});this.$a();this.O.start();zL(this.O,"NSockf")}return this.ma.promise};_.g.jXa=function(){this.context.He().info(this.Ba,"Ready to process requests.");this.wa||(this.wa=!0,this.ma.resolve())};_.g.qvb=function(a){var b=a.error,c=b.Fg;c&&3===c.getType()&&!this.wa?(this.wa=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.K4=function(){throw pM("teamDriveQuery");};_.g.Dpa=function(){throw pM("teamDriveFindByIds");};
_.g.Epa=function(){throw pM("teamDriveMovePreflight");};_.g.VFa=function(){throw pM("peoplePredictQuery");};_.g.query=function(a){jGc(this.context.wm,a,VDc(this.context.Gg));this.jF();var b=a.clone();b=this.V.Pwa(b);this.Ta||(a=a.se(),a&&121===_.B(a,1)||(this.Ta=!0,this.Rc.listen(b,_.Zc,this.wMa)));return b};_.g.wMa=function(a){a=a.currentTarget;if(1===a.Cb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Rc.Tc(a,_.Zc,this.wMa)}};_.g.Rs=function(a){this.jF();JEc(a);return this.V.Mwa(a.clone())};
_.g.Qua=function(){throw pM("activityQuery");};_.g.Bva=function(){throw pM("backupsQuery");};_.g.FGa=function(){throw pM("refreshBackups");};_.g.uV=function(){throw pM("getAndroidBackupItems");};_.g.j8=function(){throw pM("deleteBackup");};_.g.YFa=function(){throw pM("permissionQuery");};_.g.X$=function(){throw pM("insertPermission");};_.g.k8=function(){throw pM("deletePermission");};_.g.hd=function(){throw pM("mutate");};_.g.NN=function(){throw pM("mutateWorkspace");};
_.g.tC=function(){throw pM("bulkMutate");};_.g.Lwa=function(){throw pM("createFileUploader");};_.g.xSa=function(a){return new nM(this.context.Pm(),a)};_.g.kr=function(a){if(3===a.getType())return _.fi(this.context.Pm().then(function(b){return b.Pe(a)}).then(null,_.HI));throw pM("getApps with type "+a.getType());};_.g.jr=function(){throw pM("getApp");};_.g.Z$=function(){throw pM("installApp");};_.g.i8=function(){throw pM("deleteApp");};_.g.dT=function(){throw pM("updateApp");};
_.g.jN=function(){throw pM("getUserAccount");};_.g.KG=function(){throw pM("getUserPrefs");};_.g.bS=function(){throw pM("mutateUserPref");};_.g.Vr=function(){throw pM("getRevisions");};_.g.ABa=function(){return!1};_.g.Jl=function(a){this.context.gz?a?_.swc(this.context.gz,!0):this.context.wk().Oe()&&this.context.gz.iM(!0).then(null,function(){}):this.context.Fj().Jl(a)};_.g.Vy=function(){throw pM("setOfflineOptIn");};_.g.iY=function(){throw pM("setLocalItemService");};_.g.jF=function(){};
_.g.dS=function(){this.context.dS();this.context.jk().O(106006)};_.g.x9=function(){return this.Fa};_.g.fY=function(){};_.g.yB=function(){return this.context.yI.yB()};_.g.iQ=function(){return _.Q(this.context.Ic.Vf(),52,!1)?_.Uh(FGc(new EGc,0)):this.context.yI.iQ()};_.g.isConnected=function(){return 1===this.context.wk().get()};_.g.E7=function(){var a=this.context.gz;return a?a.iM():_.Uh(_.kwc(0))};_.g.sync=function(){throw pM("sync");};_.g.Eu=function(){return this.context.Eu()};
_.g.lba=function(){throw pM("offlineDataLoaded");};_.g.Kna=function(a){return this.context.Pm().then(function(b){return b.Pe(a)}).then(function(b){return b})};_.g.bwa=function(){throw pM("categoryMetadataQuery");};_.g.z7=function(){throw pM("changeCategoryLinks");};_.g.UO=function(){throw pM("updateCategoryMetadata");};_.g.pGa=function(){throw pM("publishedCategoriesQuery");};_.g.qGa=function(){throw pM("publishedCategoryQuery");};_.g.UKa=function(){throw pM("workspaceFindByIdsRequest");};
_.g.yqa=function(){throw pM("workspaceQueryRequest");};_.g.sJa=function(){throw pM("suggestedWorkspaceItemQueryRequest");};_.g.tJa=function(){throw pM("suggestedWorkspaceQueryRequest");};_.g.u_=function(){throw pM("addCacheHint");};_.g.X_=function(){throw pM("createUserFeedback");};_.g.Jo=function(){throw pM("handleChanges");};var pM=function(a){return new _.Nc(a+" is unsupported",_.FI(3))};
var iBc=function(a){oM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Yy("")};_.K(iBc,oM);iBc.prototype.$a=function(){yL(this.O,["NSockf"],this.jXa.bind(this))};
var vPc=new Set([1,2,4,5,6]),wPc=function(a,b,c,d,e){this.O=a;this.ka=b;this.ha=c;this.W=d;this.V=e;this.H=null;this.status=3;this.Fe=0};wPc.prototype.Cf=function(){var a=new _.iM;a.Ac(this.status);this.H&&_.hOc(a,xPc(this));return a};
var yPc=function(a,b,c,d){d=void 0===d?!1:d;var e=vPc.has(c);if(1===a.status&&!e)return!1;a.Fe=c;var f=a.status;c=!a.H;if(_.lI(a.O)){var h=(h=b&&b.getUser())&&GK(h);h=!(!h||!ZHc(a.ka.H,h));a.status=h&&e||d?1:6}f=!_.Nj(a.H,b)||(_.lI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.lI(a.O)||(a.status=e||d?1:6);c&&(zL(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};wPc.prototype.Qe=function(){return this.Fe};
var xPc=function(a){return a.H?a.H.clone():null};
var zPc=function(a){_.xi.call(this);this.W=a;this.Fe=0};_.K(zPc,_.xi);var APc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};hFc(a,_.ie(a,4).map(b));iFc(a,_.ie(a,5).map(b));return a};_.g=zPc.prototype;_.g.kr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.cQ=function(){};_.g.QG=function(){return 0!==this.Fe};_.g.Qe=function(){return this.Fe};
var BPc=new Set([1,2,4,5,6]),CPc=function(a,b,c){zPc.call(this,b);this.V=a;this.O=c;this.apps={};this.H=[];this.status=6;this.ep=!1};_.K(CPc,zPc);CPc.prototype.kr=function(){var a=new tL;if(!_.Za(this.apps)){_.Cj(a,4,this.H);var b=[];_.Qa(this.apps,function(c){b.push(c.clone())});_.Ej(a,2,b)}a.Ac(this.status);return a};CPc.prototype.put=function(a){this.apps[a.getId()]=APc(a);this.O.update(1);this.dispatchEvent(new _.ni("Mb",this))};CPc.prototype.remove=function(a){_.$a(this.apps,a)&&this.O.update(1)};
CPc.prototype.cQ=function(a,b,c){c=void 0===c?!1:c;var d=!BPc.has(b);1===this.status&&d||(this.Fe=b,DPc(this,a,!d||c),d||this.O.update(1),this.ep||(this.ep=!0,this.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),zL(this.W,"nVUlO")))};
var DPc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.ie(b,4);if(!d)if(e.length!==a.H.length)d=!0;else{var f=e.concat(a.H);_.Fa(f);d=f.length!==a.H.length}a.H=e;var h=_.cb(a.apps);_.Hsc(a.apps);b=_.Ab(b,_.fL,2);d||(d=b.length!==_.Ua(h));b.forEach(function(k){var l=APc(k);a.apps[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Nj(l,k))});a.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ni("Mb",a))};
var qM=function(a){_.N.call(this);this.context=a;this.Fy=new Set;this.vp=6;this.sCa=!0;this.Fe=0;this.Rc=new _.jf(this);this.La(this.Rc)};_.K(qM,_.N);_.g=qM.prototype;_.g.Yh=function(a){this.uRa(a);this.Fy.add(a);this.resize(!0);this.lO(a)};_.g.uRa=function(){};_.g.Zj=function(a){this.Fy.delete(a);0!=this.Fy.size||this.uZa()?this.resize(!1):this.dispose()};_.g.Qe=function(){return this.Fe};_.g.yi=function(a){this.Fe=a};_.g.ES=function(a){this.sCa=!1;this.vp=a};_.g.AV=function(){return this.vp};
_.g.refresh=function(){};_.g.Xj=function(){};
var FPc=function(a,b,c){if(Array.isArray(c)){c.forEach(function(k,l,p){p[l]=k.clone()});var d=c}else{d=[];for(var e=_.m(Object.entries(c)),f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;if(h=h.next().value)h=h.clone(),c[f]=h,d.push(h)}}EPc(a.context.Af,d,b);d.forEach(function(k){pJc(a.context.DMa,k,b);if(k.wc()){var l=k.getCapabilities();lL(k)?l&&(_.w(l,12,_.P(l,13)),_.w(l,9,!1),_.w(l,21,!1)):KK(k)?(l&&_.w(l,3,!1),_.w(k,30,!1)):l&&(_.w(l,42,!1),_.w(l,43,!1))}k.getCapabilities()||
_.MJ(k,new _.yk)})};qM.prototype.resize=function(){};qM.prototype.ld=function(){};qM.prototype.jl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=AL(e);d=c.Ju(e,!0)||d});b||(1!=this.AV()&&(d=!0),this.ES(1));d&&this.JX()};var GPc=function(a,b){var c=!1;b.forEach(function(d){c=a.Ju(d)||c});c&&a.JX();return c};_.g=qM.prototype;_.g.update=function(a){return GPc(this,[a])};_.g.Ju=function(){};_.g.JX=function(){var a=this;this.tRa();this.Fy.forEach(function(b){a.lO(b)})};_.g.tRa=function(){};
_.g.lO=function(a){var b=HPc(this.context).xka(a);this.HYa(b)||(b=this.Xj(b),HPc(this.context).lO(a,b))};_.g.IX=function(a){var b=this;this.ES(3);this.Fy.forEach(function(c){HPc(b.context).IX(c,a)})};_.g.lA=function(){var a=this;this.Fy.forEach(function(b){HPc(a.context).lA(b)});this.yi(0==this.Qe()?1:6)};_.g.uZa=function(){return!1};_.g.HYa=function(){return!1};
var IPc=function(a){_.ni.call(this,"xa");this.id=a};_.K(IPc,_.ni);
var JPc=function(a,b,c,d){d=void 0===d?!1:d;_.xi.call(this);this.request=a;this.context=b;this.LKa=d;this.ie=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.K(JPc,_.xi);
JPc.prototype.nh=function(){var a=this;if(this.ie)return this.ie.promise;this.ie=_.Xh();for(var b={},c=_.m(this.request.ln().entries()),d=c.next();!d.done;b={fra:b.fra,gea:b.gea,Pqa:b.Pqa},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Pqa=e;b.fra=gEc(fEc(d),this.request);b.gea=void 0;this.LKa&&(b.gea={LKa:!0});this.context.Pm().then(function(f){return function(h){return h.Pe(f.fra,f.gea)}}(b)).then(function(f){return void KPc(a,f)},function(f){return function(h){var k=f.Pqa;h=
_.Rc(h);5===h.Fg.kv()||4===h.Fg.hk()?(a.context.He().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),LPc(a)):a.handleError(h)}}(b))}return this.ie.promise};var KPc=function(a,b){b.ad().Ad().forEach(function(c){_.zI(c,1);a.W.push(c)});LPc(a)},LPc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
JPc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;MPc(this);NPc(this);this.O.size===this.request.ln().length?(this.context.Af.jl([],1,this.originalRequest,!1),this.dispatchEvent("za"),this.ie.resolve(this.items)):this.dispatchEvent("wa")};
var MPc=function(a){var b=a.W;a.W=[];b=a.context.ofa.P8(b);if(_.KH(_.XH(a.context.Ic))){var c=a.context.Af.um;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.LJ(d,e.rk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.Af.jl(b,1,a.originalRequest,!0)},NPc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.AI(_.rI(new _.qI,c));a.context.Af.Jo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new IPc(c))})};
JPc.prototype.handleError=function(a){var b=new ZK(a.Fg,_.Oj(this.context.Ic.Vf(),1,1));this.context.Af.tB(this.request,b);this.dispatchEvent(b);this.ie.reject(a)};
var OPc=function(a,b,c,d){qM.call(this,a);this.Gg=b;this.request=c;this.Cd={};this.H=null;this.O=_.EJ(a.Ic)||new _.quc;d&&this.jl(d,!0)};_.K(OPc,qM);
OPc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.vp=6;if(_.Q(this.request,5,!1))return this.ES(1),_.Uh();var b=this.sCa?!Izc(_.YJ(this.Gg),this.request.H()):!1,c=[],d=this.context.ju();this.request.ln().forEach(function(h){if("root"!==h&&h!==d){var k=a.Cd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.tv()||b)l=l&&l.Om(),k=!(l&&_.P(l,2));k&&c.push(h)}});if(0===c.length)return this.jl([],!1),_.Uh();this.H=_.Xh();this.H.promise.then(function(){a.H=null},function(){a.H=null});
var e=this.request.clone();_.UF(e,c);var f=new JPc(e,this.context,this.request);this.context.Fj().Oe()?(this.Rc.listen(this.context.Fj(),"Bb",function(h){h.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),PPc(a,f,a.H))}),this.vp=0<Object.values(this.Cd).length?1:2):(this.context.wk().Oe()&&(this.vp=0<Object.values(this.Cd).length?1:2),PPc(this,f,this.H));return this.H.promise};var PPc=function(a,b,c){a.Rc.listen(b,"xa",function(d){a.Cd[d.id]=null});a.lA();b.nh().then(function(){c.resolve()},c.reject)};_.g=OPc.prototype;
_.g.Kha=function(a){var b=this;if(this.context.wm.equals(a,this.request,!0)){if(Izc(_.YJ(this.Gg),a.H()))return!0;if(Izc(this.request.H(),a.H(),_.YJ(this.Gg))){if(this.sCa)return!0;if(_.Q(this.O,5,!1))return this.request.ln().every(function(c){return(c=b.Cd[c])&&_.P(c.getItem(),31)})}}return!1};
_.g.Xj=function(a){var b=new _.fK;_.lI(this.context.Ic)?b.Ac(Vzc(Object.values(this.Cd))?6:this.vp):b.Ac(this.vp);b.yi(this.Qe());AEc(b,_.Sa(this.Cd,function(c){return c?c.getItem():null}));FPc(this,a.H(),b.Qr());return b};_.g.resize=function(){};_.g.ld=function(){return this.request};_.g.zd=function(){return Object.values(this.Cd).length};_.g.Ju=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.ds=function(a){return!!a&&_.oa(this.request.ln(),a.getId())};
var QPc=function(a,b){_.ni.call(this,a);this.changes=b};_.K(QPc,_.ni);
var RPc=function(a){var b=new wIc;if(a.Rf()){var c=a.Rf();b.H=!1;b.suggestionSessionId=c}a instanceof _.gK&&_.Ab(a,_.sk,6).length?(a=_.Ab(a,_.sk,6),b.H=!1,b.V=a):a instanceof _.UA&&(a.V5()||a.gsa()||a.gka().length)&&(c=a.V5(),b.H=!1,b.W=c,c=a.gsa()||!1,b.H=!1,b.incompleteSearch=c,a=a.gka(),b.H=!1,b.O=a);return b};
var rM=function(a,b,c,d,e){e=void 0===e?"":e;_.xi.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.wa=!1;this.V=[];this.O=!1;this.ka=0;this.Ja=a.He();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.mGa(b);this.ha=new wIc};_.K(rM,_.xi);var SPc=function(a){return!a.wa||""!==a.nextPageToken},UPc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&SPc(a)?TPc(a):_.ei()};rM.prototype.Zb=function(){return this.V.length};rM.prototype.H=function(){return this.V.slice()};
var TPc=function(a){var b=a.W-a.V.length+a.ka;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.$h;d.addCallback(function(f){return void VPc(a,c,f)});var e=_.lzc(_.mzc(new _.mI,a.Fa),c);b=_.jzc(new _.Trc,b);a.Ha&&_.w(b,10,!0);_.kzc(e,b);a.wa=!0;a.O=!0;a.context.Pm().then(function(f){return f.Pe(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
rM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.gK)var c=b;else c=b.ad(),this.nextPageToken=b.Vn()||"";this.ha=RPc(c);this.ha.lc()||this.dispatchEvent("ya");a.callback(c.Ad())};
rM.prototype.handleError=function(a,b,c){c=_.Rc(c);this.O=!1;if(5===c.Fg.kv())a.callback([]);else{if(10===c.Fg.kv()&&(_.jzc(b,Math.ceil(_.Oj(b,1,1E3)/2-2E-15)),1<_.Oj(b,1,1E3))){var d=_.kzc(_.lzc(_.mzc(new _.mI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Pm().then(function(e){return e.Pe(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new ZK(c.Fg,_.Oj(this.context.Ic.Vf(),1,1));this.xMa(b);this.dispatchEvent(b);a.Gd(c)}};
var VPc=function(a,b,c){for(var d=new Set,e=_.m(c),f=e.next();!f.done;f=e.next()){f=f.value;if(d.has(f.getId())){f="Encountered duplicate item in server query response. itemId: "+(f.getId()+", query: ")+(_.Avc(a.request)+" paginationToken: ")+b;b=_.eq(_.cq(_.tI(_.sI(new _.Lc,2),9),f));a.context.dispatchEvent(new _.Oc(new _.Nc(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ba.has(h.getId());a.Ba.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.zI(b.value,
a.ma?2:1);c=[];b=_.m(a.b2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.rI(new _.qI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new QPc("wa",c));if(a.V.length<a.W&&a.nextPageToken)return TPc(a);a.dispatchEvent("za")};_.g=rM.prototype;_.g.b2a=function(a){return a};_.g.xMa=function(){};_.g.ld=function(){return this.request};_.g.mGa=function(a){a=a.clone();this.ma&&_.w(a,46,!0);return a};_.g.log=function(a){this.Ja.info("drive.ds.sync.query.QueryRunner",a)};
var WPc=function(a,b,c,d){rM.call(this,a,b,void 0,c,d)};_.K(WPc,rM);WPc.prototype.b2a=function(a){a=this.context.ofa.P8(a);this.context.Af.jl(a,1,this.request,SPc(this));return a};WPc.prototype.xMa=function(a){this.context.Af.tB(this.request,a)};WPc.prototype.mGa=function(a){var b=a=rM.prototype.mGa.call(this,a),c=_.Dl(b);0===_.ie(b,33).length&&1===c.length&&(c=this.context.Af.um.H(c[0].Ya()))&&(c=c.wc())&&(_.Fl(b,[c]),_.Gl(b,2));XPc(this,a);return a};
var XPc=function(a,b){if(_.Dl(b).some(function(d){return(d=a.context.Af.um.H(d.Ya()))&&_.P(d,108)})){var c=b.se();c||(c=new _.Kf,_.El(b,c));_.Lf(c,937)}};
var YPc=function(a,b,c,d){this.context=a;this.Gg=b;this.W=d;this.Mna=0;this.H=c},bQc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Gl(_.Bl(_.Fl(new _.yf,[b]),_.YJ(a.Gg)),1),d=_.Lf(new _.Kf,306);_.El(c,d);ZPc(a);c=new WPc(a.context,c);UPc(c,5E3).addCallback(a.V.bind(a,c));$Pc(a);aQc(a,b)}},$Pc=function(a){var b=_.Va(a.H);b=b.filter(function(d){return d instanceof OPc});var c=new Set;b.forEach(function(d){d.ld().ln().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.Lf(new _.Kf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.mO([].concat(_.Jd(c)),b)},aQc=function(a,b){var c=[];(a.context.Af.vGa.oQ[b||"subscribed"]||[]).forEach(function(d){_.Qa(a.H,function(e){_.Nj(e.ld(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(ZPc(a),c.forEach(function(d){d=bL(a.context.wm,d.ld(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Zh(_.Wh(c.map(function(d){return d.refresh().tg(_.cg)})),a.O.bind(a)))};
YPc.prototype.mO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.Me(f)});if(0===a.length)return _.Uh({});a=_.w(_.TF(_.UF(new _.SF,a),d||_.YJ(this.Gg)),7,!0);_.VF(a,b);e&&e.length&&_.Ej(a,11,e);ZPc(this);b=new JPc(a,this.context,void 0,c);return _.Zh(b.nh(),this.V.bind(this,b))};YPc.prototype.V=function(a){a.dispose();this.O()};var ZPc=function(a){a.Mna++;a.context.Hs.setActive(!1)};YPc.prototype.O=function(){this.Mna--;0===this.Mna&&this.context.Hs.setActive(!0)};
YPc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.CacheRefresher",a)};
var cQc=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ie=null;a=new _.Kf;_.Mf(a,!1);_.Lf(a,305);_.El(this.request,a);this.Rc=new _.jf(this);this.La(this.Rc)};_.K(cQc,_.N);
cQc.prototype.nh=function(){if(!this.ie){this.ie=_.Xh();if(_.Q(this.request,48,!1))return this.H.yi(9),this.ie.resolve(this.H),this.ie.promise;this.O=new rM(this.context,this.request,!0);this.Rc.listen(this.O,"wa",this.W);this.Rc.listen(this.O,"za",this.V.bind(this));this.Rc.listen(this.O,"Aa",this.ie.reject.bind(this.ie));UPc(this.O,this.request.vi())}return this.ie.promise};cQc.prototype.W=function(a){a=_.m(a.changes);for(var b=a.next();!b.done;b=a.next())b=b.value.getItem(),this.H.update(AL(new kL(b)))};
cQc.prototype.V=function(){this.H instanceof CL?this.H.H=!SPc(this.O):SPc(this.O)&&BL(this.H,!1);this.H.yi(5);this.ie.resolve(this.H)};
var eQc=function(a,b){_.ni.call(this,dQc);this.cache=a;this.changes=b};_.K(eQc,_.ni);var dQc="Nb";
var fQc=function(a,b){return new _.Th(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.iy()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();bAc(k.getItem());f.set(l,EFc(new kL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.qc(),l=f.get(l)||null,k.Wk()?l&&a.update(new uHc(l.getId(),l,null)):(k=k.getItem(),bAc(k),a.update(vHc(l,EFc(new kL(k),null===l||void 0===l?void 0:l.H))));a.aX();c(e.hMb)},d)})};
var gQc=function(a,b){_.N.call(this);this.context=a;this.Gg=b};_.K(gQc,_.N);
gQc.prototype.nh=function(a){this.log("Running initial view populator (IVDP).");try{var b=new jL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.GI(l));return}a=_.XH(this.context.Ic);if(!_.KH(a)){var c=b.Cf();if(c){var d=c.getUser();d&&d.getId()===_.D(a,6,"")&&yPc(this.context.TP,c,4)}(a=b.ju())&&this.context.Yy(a,6)}var e=_.B(b,3)||void 0;e&&hQc(this.context,e,!0);if((a=_.Ab(b,_.Yo,9))&&a.length){c=(c=this.context.Ic.Vf())&&_.ie(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.Zo(l))&&f.add(l)});this.context.eE.cQ(a,4,[].concat(_.Jd(f.values())))}a=b.Ad();a.forEach(function(l){_.ltc(l);_.zI(l,6)});if(c=_.Ab(b,iL,5)[0])if(b=this.context.wm,Pzc(_.YJ(this.Gg),c.getQuery().H(),_.RJ(this.context.Ic)))if((d=c.getQuery().Kc())&&4===d.getType()&&!_.spc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=oL(b,c.getQuery());d.Hi(_.B(c,2)||void 0);b=a.map(function(l){return new kL(l,void 0,1,e)});var h=_.x(c,_.Fk,3);if(h&&
_.B(c,2)){var k=b[b.length-1];_.zI(h,6);if(!_.Nj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}h=_.EJ(this.context.Ic);k=new CL(this.context.lt,this.context.Av,this.context.wm,d,k,h&&_.Q(h,2,!1)&&c.Vn()||"");k.yi(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(AL(h.value))?c++:d++;iQc(this.context.Af,k);b=k.ld();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.IM());k=new _.mI;
_.mzc(k,b);k=_.Kwc(this.context.OA,k,"IVDP");_.Lwc(k,a);zL(this.context.Nj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+hGc(b,c.getQuery().H()));else this.handleError("No initial query found")};gQc.prototype.handleError=function(a,b){var c=b?void 0:_.eq(_.tI(_.sI(new _.Lc,2),6));b=new _.Nc(a,c,b);this.context.mJ(b.Fg);this.log("Initial view dump population failed. Message: "+a);zL(this.context.Nj,"DEJoH")};
gQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var jQc=function(a){_.xi.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new EL(a.lt,a.Av,a.Nj,function(){return a.ju()});this.H=this.context.Ic;this.ta=new yHc(a.lt,a.Av)};_.K(jQc,_.xi);
var kQc=function(a,b){var c=_.Oj(a.H,31,2E4);b="number"===typeof _.B(b,3)?_.B(b,3):c+1;b>c?(BL(a.O,!1),c="partialCorpus",a.log("Too many subscribed items at "+b+"; skipping subscribed cache.")):(c="fullCorpus",a.log("Caching all subscribed items."));a.context.OA.Hb("CachedCorpusType",c)};jQc.prototype.log=function(a,b){this.context.He().log(this.W,a,b||"info")};var lQc=function(a,b){0===a.V&&(a.V=b)};
var mQc=function(a,b){var c;if(c=!!b&&!!b.Oh())a=_.P(a,4),c=null==a||!!_.P(b.Oh(),7)==a;return c};
var nQc=function(a,b){_.xi.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.K(nQc,_.xi);nQc.prototype.nh=function(){return this.H||this.O&&""===this.nextPageToken?_.ei():oQc(this)};nQc.prototype.Zb=function(){return this.V.length};
var oQc=function(a){a.O=!0;a.H=!0;var b=sDc(tDc(new _.AJ,a.request),a.nextPageToken),c=_.Kwc(a.context.OA,b);return _.fi(a.context.Pm().then(function(d){return d.Pe(b)}).then(function(d){var e=d.ad().Ad();a.nextPageToken=d.Vn()||"";pQc(a,c,e)},function(d){return void a.handleError(d)}))},pQc=function(a,b,c){_.Lwc(b,c);for(b=0;b<c.length;b++)_.zI(c[b],1);a.context.Af.jl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.rI(new _.qI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new QPc("wa",d));a.nextPageToken?oQc(a):(a.H=!1,a.dispatchEvent("za"))};nQc.prototype.handleError=function(a){this.H=!1;a=new ZK(_.uI(a),_.Oj(this.context.Ic.Vf(),1,1));this.dispatchEvent(a)};nQc.prototype.ld=function(){return this.request};
var qQc=function(a){this.H=_.tpc(a,{numeric:!0})};qQc.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};qQc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ga(a.getId(),b.getId()):c};
var rQc=function(a,b,c,d){d=void 0===d?!1:d;qM.call(this,a);this.Gg=b;this.Cd=[];this.ie=null;this.request=c.clone();this.Gv=new nQc(a,this.request);this.ZQb=new qQc(SK(_.XH(a.Ic)));this.ECa=null!=_.P(this.request,6);_.$e(this,this.cnb,this);d&&(this.ie=_.Xh(),this.ie.resolve())};_.K(rQc,qM);_.g=rQc.prototype;_.g.refresh=function(){3===this.vp&&(this.vp=6,this.ie=null);return this.kca()};_.g.isInitialized=function(){return!!this.ie};
_.g.kca=function(){var a=this;if(this.isInitialized())return this.ie.promise;this.ie=_.Xh();this.context.Fj().Oe()?this.Rc.listen(this.context.Fj(),"Bb",function(b){b.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),a.lA(),a.Gv.nh().Wf(a.ie.resolve,a.ie.reject,a.ie))}):this.context.wk().Oe()?this.Rc.Zc(this.context.wk(),[_.KB.yL,_.KB.oU],function(){a.lA();a.Gv.nh().Wf(a.ie.resolve,a.ie.reject,a.ie)}):(this.lA(),this.Gv.nh().Wf(this.ie.resolve,this.ie.reject,this.ie));return this.ie.promise};_.g.resize=function(){};
_.g.ld=function(){return this.request};_.g.iy=function(){return this.Cd};_.g.Kha=function(a){return this.context.wm.equals(a,this.request)};_.g.Xj=function(a){a=a.vi();this.ZQb.sort(this.Cd);var b=FAc(_.Ca(this.Cd,0,Math.min(a,this.Cd.length)));FPc(this,WDc(this.Gg),b);var c=new _.UA;c.LA(b);c.Ac(this.twa(a));c.yi(this.Qe());TCc(c,a<this.Cd.length||!(this.context.Fj().Oe()||this.context.wk().Oe())&&1!==this.vp);return c};
_.g.twa=function(a){return 1===this.vp||a<=this.Cd.length?1:this.context.Fj().Oe()||this.context.wk().Oe()?0<this.Cd.length?1:2:6};_.g.jl=function(a,b){this.isInitialized()&&qM.prototype.jl.call(this,a,b)};_.g.Ju=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.la(this.Cd,function(h){return h.getId()===c}),e=!!d;b=this.ds(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.sKa(f,a.H):this.iJ(f):this.tR(a.H);else return!1;return!0};_.g.tR=function(a){this.Cd.push(a);a.count++};
_.g.iJ=function(a){_.wa(this.Cd,a);a.count--};_.g.Aya=function(a){return _.na(this.Cd,a)};_.g.sKa=function(a,b){this.Cd[this.Aya(a)]=b;b.count++;a.count--};_.g.ds=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.ECa&&null!=_.P(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Cd.find(function(d){return c===d.getId()},this);a=lL(a.getItem())&&mQc(this.request,a.getItem());return b&&a}return lL(a.getItem())&&mQc(this.request,a.getItem())};_.g.cnb=function(){this.Cd.forEach(function(a){a.count--})};
_.g.uZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.zd=function(){return this.Cd.length};_.g.aX=function(){this.vp=1};
var sQc=function(a){this.H=a},tQc=function(a,b,c,d,e){if(0===e||null===b){var f=new PNc;_.w(f,2,b);_.w(f,1,d);return _.Uh(f)}var h=DGc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.Pe(h)}).then(function(k){var l,p=null!==(l=k.py())&&void 0!==l?l:null;return tQc(a,p,c,d+_.B(k,1),e-1)})};
var uQc=function(a,b){jQc.call(this,a);this.Gg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.AD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.K(uQc,jQc);uQc.prototype.handleError=function(){this.log("Local dump population failed.");zL(this.context.Nj,"mrK8ic")};
uQc.prototype.nh=function(){var a=this;if(this.ka)return this.ka;if(this.context.vQ){var b=new _.$h;this.ka=b;this.initialize().then(function(){var c=_.Ab(_.TK(a.H),RK,11);c=c[0]&&c[0].getKey()||"";return vQc(a,a.context.vQ,c,4)}).then(null,function(c){if(_.Q(a.H,8,!0))return wQc(a,c);throw c;}).then(function(){_.lI(a.H)||a.context.Af.tq.H.clear();zL(a.context.Nj,"zaOY7");b.callback()},function(c){lQc(a,8);a.handleError();b.Gd(c)});return b}this.handleError();return _.gi(Error("gg"))};
uQc.prototype.initialize=function(){var a=this;return _.Uh(this.context.vQ.initialize()).then(function(){if(!_.SJ(a.H)){var b=_.Oj(_.TK(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Th(function(c,d){LKc(a.context.tD).then(function(e){e?c():d(Error("hg"))})})}})};
var vQc=function(a,b,c,d){return _.hg(a,function f(){var h=this,k;return _.Zf(f,function(l){return 1==l.H?(k=h.ha,xQc(h,b,c,k),yQc(h,b,c,k),zQc(h,b,c,k),_.Sf(l,AQc(h,b,c,k),2)):_.Sf(l,Promise.all([BQc(h,b,c,d,k),CQc(h,b,c,d,k),DQc(h,b,c,d,k),EQc(h,b,c,d,k)]),0)})})},xQc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};LL(b,c,0,void 0,d,a.AD).then(function(f){f[0]?yPc(a.context.TP,f[0],a.Qe(),_.SJ(a.H)):e()},function(){return e()})},yQc=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};LL(b,c,1,void 0,d,a.AD).then(function(f){f[0]?a.context.LZ.cQ(f[0],a.Qe(),_.SJ(a.H)):e()},function(){return e()})},zQc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};LL(b,c,5,void 0,d,a.AD).then(function(f){if(f[0]){f=f[0];var h=_.Ab(f,_.Yo,1);h.length&&a.context.eE.cQ(h,a.Qe(),_.ie(f,2),_.SJ(a.H))}else e()},function(){return e()})},BQc=function(a,b,c,d,e){var f=new _.on;LL(b,c,3,1,e,a.AD).then(function(h){return FQc(a,
h[0])}).then(function(h){if(h){b!==a.context.vQ||Pzc(_.ie(h,12),_.YJ(a.Gg),_.RJ(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Hs.kS());var k=_.B(h,3);if(!k||0>k)throw Error("kg");a.context.Yy(h.ju(),d);k=_.B(h,3);"number"===typeof k&&hQc(a.context,Number(k));_.SJ(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.RDa());a.jl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},CQc=function(a,
b,c,d,e){return GQc(a,2,b,c,d,e).then(function(){var f,h;return null===(f=_.EJ(a.H))||void 0===f||!_.Q(f,17,!1)||null!==(h=a.O)&&void 0!==h&&h.mD?Promise.resolve():GQc(a,5,b,c,d,e)},function(){var f;return(null===(f=_.EJ(a.H))||void 0===f?0:_.Q(f,17,!1))?GQc(a,5,b,c,d,e):Promise.reject(Error("ig"))})},GQc=function(a,b,c,d,e,f){var h=new _.on;LL(c,d,3,b,f,a.AD).then(function(k){k[0]?(a.jl(k[0],e),h.resolve()):h.reject(Error("jg"))},function(k){return h.reject(k)});return h.promise},DQc=function(a,
b,c,d,e){var f=new _.on;LL(b,c,3,4,e,a.AD).then(function(h){h.forEach(function(k){a.jl(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},EQc=function(a,b,c,d,e){var f=new _.on;LL(b,c,3,3,e,a.AD).then(function(h){h.length?h.forEach(function(k){a.jl(k,d)}):zL(a.context.Nj,"rVezo");f.resolve()},function(h){return f.reject(h)});return f.promise},AQc=function(a,b,c,d){var e=new _.on;LL(b,c,6,void 0,d,a.AD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.Ab(h,
wL,1).length&&(a.log("Importing "+_.Ab(h,wL,1).length+" people into the PeopleCache."),h=_.Ab(h,wL,1),UHc(a.context.Af.tq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},FQc=function(a,b){var c=_.B(b,3);if(c&&!_.SJ(a.H)){var d=new sQc(a.context.Pm()),e=_.Oj(_.TK(a.H),13,5);return tQc(d,c,null,0,e).then(function(f){return _.xj(f,2)?(a.log("Encrypted dump too stale."),a.context.jk().O(106007),lQc(a,9),null):b},function(){return b})}return _.Uh(b)},wQc=function(a,b){var c=ML(a.context.FL.Yi()),
d=_.Ab(_.TK(a.H),RK,11).filter(function(e){return e.bt()});return DKc(_.QJ(_.XH(a.H)),_.RJ(a.H),_.Oj(_.TK(a.H),10,0)||0,_.YJ(a.Gg),a.ha||0,d.map(function(e){return _.B(e,1)}),c).then(function(e){if(e){var f=d.find(function(l){return e.V===_.B(l,1)}),h=new NL(_.Uh(e),a.context.He(),null,!0),k=new BJc(h,a.H,function(l){a.context.mJ(l)});k.initialize();a.ma=!0;return vQc(a,k,f?f.getKey():null,8).then(function(){return h.getMetadata([IKc])}).then(function(l){l[0]?(l=l[0].Ya(),l=a.context.tD.set(IKc,l)):
l=Promise.resolve();return l}).then(function(){h.close()})}return _.Vh(new _.Nc("No compatible dumps to forklift were found.",null,b))})},LQc=function(a,b,c){var d;switch(b.Fo()){case 1:return HQc(a,b,c);case 2:return IQc(a,b,a.O);case 5:return(null===(d=_.EJ(a.H))||void 0===d?0:_.Q(d,17,!1))?IQc(a,b,a.ta):null;case 3:return JQc(a,b);case 4:return KQc(a,b);default:return null}},HQc=function(a,b,c){var d=[];_.Ab(b,iL,5).forEach(function(e){var f=void 0,h=_.x(e,_.Fk,3);h&&(_.ltc(h),_.P(a.H,67)&&Dzc(h,
Szc),_.zI(h,c),f=new kL(h));var k=e.getQuery();if(!_.Q(k,48,!1)||_.Ab(a.H,_.yf,44).some(function(l){if(!_.Q(l,48,!1))return!1;l=oL(a.context.wm,l,!0);return _.Nj(l,k)}))e=new CL(a.context.lt,a.context.Av,a.context.wm,k,f),e.yi(a.Qe()),d.push({cache:e,changes:KL(a.context.wz,null)})});return d},IQc=function(a,b,c){b=_.x(b,OAc,11);if(!b)throw Error("lg");kQc(a,b);return c.mD?(c.yi(a.Qe()),[{cache:c,changes:KL(a.context.wz,null)}]):[]},KQc=function(a,b){return _.Ab(b,iL,5).map(function(c){c=new rQc(a.context,
a.Gg,_.x(c,_.LH,5),!0);c.yi(a.Qe());return{cache:c,changes:KL(a.context.wz,null)}})},JQc=function(a,b){var c=_.ie(_.Ab(b,iL,5)[0].getQuery(),33)[0],d=_.B(b,3)||void 0;b=KL(a.context.wz,c);sM(a.context).addCallback(function(f){f.Zua(c,d)});var e=new GL(a.context.lt,a.context.Av,c);e.yi(a.Qe());return[{cache:e,changes:b}]};
uQc.prototype.jl=function(a,b){var c=this,d=LQc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.Ad()),f=e.next();!f.done;f=e.next()){var h=f.value;_.ltc(h);_.P(this.H,67)&&Dzc(h,Szc);_.zI(h,b);_.lI(this.H)||this.context.Af.tq.H.lc()||pIc(this.context.Af.tq,[h]);f=new kL(h);_.ie(a,14).includes(h.getId())&&EFc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(AL(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new eQc(l,k.changes));c.log("Imported "+l.zd()+" items into the "+l.getType());var p=null;
l instanceof GL&&(p=l.wc());c.context.U$.promise.then(function(){YIc(c.context.wz,p)})});1===a.Fo()&&zL(this.context.Nj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Fo()+".")};uQc.prototype.Qe=function(){return this.ma?7:3};
var MQc=function(a){_.N.call(this);this.context=a};_.K(MQc,_.N);MQc.prototype.nh=function(a){try{NQc(this,new sNc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var NQc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:OQc(a,b);break;case 4:PQc(a,b);break;case 6:QQc(a,b);break;case 2:RQc(a,b);break;case 7:SQc(a,b);break;case 5:_.Ab(_.Rj(b,uNc,7,wNc),sNc,1).forEach(function(c){NQc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},OQc=function(a,b){var c=_.Rj(b,_.yf,2,vNc);b=JSON.parse(_.Qj(b,3,wNc)||"{}");var d=new _.mI;_.mzc(d,c);b=a.context.bR().ysa.DE(d,{headers:{},text:"",
json:b}).ad();TQc(a,c,b)},QQc=function(a,b){TQc(a,_.Rj(b,_.yf,2,vNc),_.Rj(b,_.UA,9,wNc))},TQc=function(a,b,c){for(var d=c.Ad(),e=_.m(d),f=e.next();!f.done;f=e.next())_.zI(f.value,7);c=RPc(c);a=a.context.Af;b=oL(a.context.wm,b);e=tM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new uM(a.context,b),f.yi(2),UQc(a,e,f));c.lc()||f.xsa(c);a.jl(d,1,b)},RQc=function(a,b){b=_.Rj(b,_.Mz,5,wNc);var c=a.context.Ic.Vf();c=c&&_.ie(c,30)||[];var d=new Set(c);_.Ab(b,_.Yo,
3).forEach(function(e){(e=(e=e.getKey())&&_.Zo(e))&&d.add(e)});a.context.eE.cQ(_.Ab(b,_.Yo,3),2,[].concat(_.Jd(d.values())))},PQc=function(a,b){a.context.pfa.w2(_.Rj(b,xL,8,wNc).Zk(),_.Rj(b,_.Qz,6,vNc),2,!1)},SQc=function(a,b){var c=_.Rj(b,_.Oz,10,vNc);b=JSON.parse(_.Qj(b,3,wNc)||"{}");b=a.context.bR().ysa.DE(c,{headers:{},text:"",json:b});fPc(a.context).w2([b],c,2,!1)};
MQc.prototype.handleError=function(a,b){var c=b?void 0:_.eq(_.tI(_.sI(new _.Lc,2),6));this.context.dispatchEvent(new _.Oc(new _.Nc(a,c,b)));this.log("Prefetched request population failed.")};MQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var vM=function(a){jQc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.wa=Math.ceil(1.1*_.Oj(a.Ic,31,2E4))};_.K(vM,jQc);vM.prototype.nh=function(){if(!_.Q(this.H,45,!1))return lQc(this,5),this.handleError(),_.gi(Error("mg"));this.log("Drive SDK cache population initiated.");return this.context.RVa().addCallback(this.Fa,this).addCallback(this.Ba,this).Cg(this.handleError,this)};
vM.prototype.Fa=function(){var a=this;zL(this.context.Nj,"L6uQWd");sM(this.context).addCallback(function(b){b.Cda()});if(_.Q(this.H,46,!1))return NAc(this.context.Pm(),this.context.He()).addCallback(function(b){if(!b)throw lQc(a,4),Error("ng");kQc(a,b)});this.log("Subscribed corpus cache population disabled.");BL(this.O,!1);return _.ei()};
vM.prototype.Ba=function(){this.context.RDa();var a=new _.$h;if(this.O.mD){this.log("Starting subscribed corpus cache population.");var b=this.O.ld();b.Hi(this.wa);this.O.yi(5);VQc(this,this.O,b)}b=_.Ab(this.H,_.yf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new CL(this.context.lt,this.context.Av,this.context.wm,c.value),c.yi(5),VQc(this,c,c.ld()),c=bL(this.context.wm,c.ld()),this.log("Starting "+c+" cache hint corpus cache population.");_.Wh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var VQc=function(a,b,c){var d=KL(a.context.wz,null);b=new cQc(a.context,b,c);a.ha.push(b);b=_.Zh(b.nh().then(function(e){!e.mD&&e instanceof EL&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.OA.Hb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new eQc(e,d))}),function(){a.context.U$.promise.then(function(){YIc(a.context.wz,null)})});a.ka.push(b)};
vM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();lQc(this,7);c=b;b instanceof ZK?c=_.GI(b.error):_.kI(b)||(c=Error("og`"+b));a.Gd(c)};vM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");zL(this.context.Nj,"Gv4zef")};vM.prototype.Qe=function(){return 5};
var WQc=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Rc=new _.jf(this);this.impression=null;this.W=[];this.La(this.Rc);this.H=new uQc(this.context,this.context.Gg);this.La(this.H);this.O=new vM(this.context);this.La(this.O)};_.K(WQc,_.N);
WQc.prototype.nh=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.jk().H(106002);_.n._DRIVE_dsp&&XQc(this);_.n._DRIVE_dspc=function(c){XQc(a,c)};KL(this.context.wz,null);_.Q(this.context.Ic,24,!1)&&!_.SJ(this.context.Ic)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?YQc(this):_.n._DRIVE_ivdc=function(){YQc(a)});var b=this.context.vQ;if(b)return this.Rc.listen(this.H,dQc,this.ha),this.Rc.listen(this.O,dQc,this.ha),(!_.Q(this.context.Ic,10,!1)&&_.P(this.context.Ic,
69)?this.context.xX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.AD=a.impression);return a.H.nh().Wf(function(){return ZQc(a,a.H.Qe())},function(){$Qc(a,a.H.Qe(),a.H.V);return _.SJ(a.context.Ic)?a.handleError(Error("pg")):a.O.nh().then(function(){return ZQc(a,a.O.Qe())},function(c){$Qc(a,a.O.Qe(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.kI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var XQc=function(a,b){var c=new MQc(a.context);(_.n._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e===b)}).forEach(function(d){c.nh(d)});c.dispose()};WQc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(aRc(this,b,a.changes))};
var ZQc=function(a,b){YIc(a.context.wz,null);zL(a.context.Nj,"L6uQWd");sM(a.context).addCallback(function(c){c.Cda()});return Promise.all(a.W).then(function(){bRc(a,b)})},bRc=function(a,b){if(!a.isDisposed()){_.SJ(a.context.Ic)||cRc(a.V,_.Ab(a.context.Ic,_.yf,44));a.log("Corpus cache population complete.");var c=a.context.Nj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Hs.SDa():LKc(a.context.tD).then(function(d){d&&a.context.Hs.SDa()},function(){});zL(c,"rVezo");zL(c,"BNEDtc");a.impression&&(b=_.eK(_.hsc,
b),QDc(YDc(a.impression),b),PDc(YDc(a.impression),!0),RDc(YDc(a.impression),VFc(a.V.um)),SDc(YDc(a.impression),a.context.Af.Fo()),a.impression.vj());a.dispose()}},$Qc=function(a,b,c){a.impression&&(b=_.eK(_.hsc,b),QDc(YDc(a.impression),b),a=YDc(a.impression),_.Gj(a,3,c,void 0))};
WQc.prototype.handleError=function(a,b){b=void 0===b?!1:b;YIc(this.context.wz,null);var c=this.context.Nj;zL(c,"L6uQWd");sM(this.context).addCallback(function(d){d.Cda()});zL(c,"mrK8ic");zL(c,"Gv4zef");zL(c,"rVezo");zL(c,"BNEDtc");this.context.OA.Hb("CachedCorpusType","partialCorpus");c=!!this.H.context.vQ||_.Q(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.kI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.Nc(b,void 0,c),c=a.Fg,_.sI(c,_.SJ(this.context.Ic)?3:1),_.tI(c,
6),_.cq(c,b),_.eq(c),this.context.dispatchEvent(new _.Oc(a))):this.log("Corpus population skipped");this.impression&&(PDc(YDc(this.impression),!1),this.impression.vj());this.dispose()};var aRc=function(a,b,c){return fQc(b,c).then(function(d){d.some(function(e){return b instanceof GL&&e.Wk()&&e.qc()===b.wc()})||iQc(a.V,b,d)},function(){return a.handleError(Error("qg"))})},YQc=function(a){if(_.n._DRIVE_ivd){var b=new gQc(a.context,a.context.Gg);a.La(b);b.nh(_.n._DRIVE_ivd)}else zL(a.context.Nj,"DEJoH")};
WQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var dRc=function(){DL.apply(this,arguments)};_.K(dRc,DL);_.g=dRc.prototype;_.g.ds=function(a){var b;if(b=DL.prototype.ds.call(this,a))a=a&&a.getItem()&&a.getItem().Om(),b=!(!a||!_.P(a,3));return b};_.g.ld=function(){};_.g.IM=function(){return null};_.g.getType=function(){};_.g.xN=function(){};
var eRc=function(a,b){this.context=a;this.H=b;this.oQ={}},gRc=function(a,b){if(!_.gJ(b)){var c=_.ie(b,33);if(1===c.length)fRc(a,c[0],b);else{c=_.Dl(b);if(1===c.length&&!_.Q(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.Af.xI;var e=_.Lf(new _.Kf,310);c.mO([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.Je(h)&&(f=f.wc(),fRc(a,f,b))}else fRc(a,null,b)});return}if(c.getItem().wc()&&_.Je(c.getItem().getCapabilities())){c=c.getItem().wc();fRc(a,c,b);return}}fRc(a,
null,b)}}},fRc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!lL(d.getItem()))return}d=b||"subscribed";a.oQ[d]||(a.oQ[d]=[]);a.oQ[d].push(c);b&&(sM(a.context).addCallback(function(e){e.Zua(b)}),hRc(a.context.DJa,b))},iRc=function(a,b){if(!_.gJ(b)){var c={},d;for(d in a.oQ){c.yT=d;for(var e=0;e<a.oQ[c.yT].length;e++)if(_.Nj(b,a.oQ[c.yT][e])){_.va(a.oQ[c.yT],e);"subscribed"!==c.yT&&sM(a.context).addCallback(function(f){return function(h){h.$Ga(f.yT,!1)}}(c));return}c={yT:c.yT}}}};
var jRc=function(){this.H=new Map;this.O=[];this.V=[]};
jRc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();JK(e)&&(a?(e=a.getItem().wf())&&_.B(e,1)&&(1===_.qe(e)||3===_.qe(e))&&(e=_.B(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.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Nj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var kRc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},lRc=function(a){a.O=[];a.V=[]};
var mRc=function(a,b){bJc.call(this,a.clone(),b.Pm(),b.Ic,b.He());this.context=b};_.K(mRc,bJc);mRc.prototype.W=function(a){var b=new Map;a.ln().forEach(function(c){var d=a.clone();d=_.Cj(d,2,[c]);b.set(c,d)});return b};mRc.prototype.V=function(a){a=a.Ad()[0];this.context.Af.jl([a],1,void 0,!0,this.request.H())};mRc.prototype.ha=function(a){this.context.Af.jl([],1,a,!1,this.request.H())};mRc.prototype.ka=function(a){a=_.AI(_.rI(new _.qI,a));this.context.Af.Jo([a])};
var nRc=function(a,b,c,d){qM.call(this,a);this.Gg=b;this.request=c;this.Cd={};d&&this.jl(d,!0)};_.K(nRc,qM);_.g=nRc.prototype;
_.g.refresh=function(){var a=this;this.vp=6;var b=pL(this.context.Ic)!==pL(this.context.Ic,this.request.H()),c=[];this.request.ln().forEach(function(h){var k=a.Cd[h];k&&k.getItem().Oh()&&!b||c.push(h)});if(0===c.length)return this.jl([],!1),_.Uh();var d=this.request.clone();_.Cj(d,2,c);var e=new mRc(d,this.context),f=_.Xh();this.context.Fj().Oe()?(this.Rc.listen(this.context.Fj(),"Bb",function(h){h.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),a.lA(),e.nh().then(f.resolve,f.reject,f))}),this.vp=0<_.Ua(this.Cd)?
1:2):(this.context.wk().Oe()&&(this.vp=0<_.Ua(this.Cd)?1:2),this.lA(),e.nh().then(f.resolve,f.reject,f));return f.promise};_.g.Kha=function(a){return this.context.wm.equals(a,this.request)&&Izc(_.YJ(this.Gg),a.H())};_.g.Xj=function(a){var b=new _.fK;b.Ac(this.vp);b.yi(this.Qe());AEc(b,_.Sa(this.Cd,function(c){return c?c.getItem():null}));FPc(this,a.H(),b.Qr());return b};_.g.resize=function(){};_.g.ld=function(){return this.request};_.g.zd=function(){return _.Ua(this.Cd)};
_.g.Ju=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};_.g.ds=function(a){return!!a&&this.request.ln().includes(a.getId())};
var uM=function(a,b,c,d,e){qM.call(this,a);var f=this;this.V=0;this.Cd=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.ta=Date.now();this.request=b.clone();this.Fa=bL(this.context.wm,b);this.Gv=new WPc(this.context,this.request,!1,e);b=this.request.Kc()&&ZFc(this.request.Kc());var h=this.context.Av;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.ECa=!b||!PFc(this.request)||_.KH(_.XH(a.Ic));
this.Ha=CHc(this.request);c&&this.jl(c,!d);this.wa=_.Oj(a.Ic.Vf(),16,36E5);_.FJ(this.request)&&this.Rc.listen(this.context.Vga,"Gb",this.Ja);_.$e(this,function(){_.aa(f.Gv);f.clear()})};_.K(uM,qM);uM.prototype.refresh=function(){this.log(this.IM()+" | Refresh called, currently "+this.zd()+" items cached");return oRc(this,!1)};
var oRc=function(a,b){a.vp=6;if(_.Q(a.request,48,!1))return a.vp=1,_.Uh();if(_.FJ(a.request)){var c=pRc,d=a.context.Vga.H;d=Math.max(Date.now()-d,a.wa);c(a,Math.min(d,2592E5))}return qRc(a,b)};uM.prototype.initialize=function(){return this.count>=this.request.vi()||1===this.vp?_.Uh():this.refresh()};uM.prototype.clear=function(){rRc(this)};
var rRc=function(a){a.Cd.forEach(function(b){b.count--});a.count=0;a.Cd=[];a.O.clear()},pRc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return oRc(a,!0)},b)};uM.prototype.Ja=function(){Date.now()-this.ta>this.wa&&pRc(this,0)};
var qRc=function(a,b){a.Gv&&(a.Rc.Tc(a.Gv,"ya",a.xsa),a.Rc.Tc(a.Gv,"za",a.yMa),a.Gv.dispose());var c=a.request.se();c&&_.Mf(c,!1);a.Gv=new WPc(a.context,a.request,b);a.V=0;a.Rc.listen(a.Gv,"ya",function(){return a.xsa(a.Gv.ha)});a.Rc.listen(a.Gv,"za",a.yMa);return a.kca()};
uM.prototype.kca=function(){var a=this,b=_.Xh();this.context.Fj().Oe()?this.Rc.listen(this.context.Fj(),"Bb",function(c){c.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),sRc(a,b))}):this.context.wk().Oe()?this.Rc.Zc(this.context.wk(),[_.KB.yL,_.KB.oU],function(){sRc(a,b)}):sRc(this,b);return b.promise};var sRc=function(a,b){a.lA();_.lka(UPc(a.Gv,a.request.vi()+a.V).Wf(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=uM.prototype;
_.g.resize=function(a){this.log(this.IM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.Jd(this.Fy)))),d=c.next();!d.done;d=c.next())d=d.value,d=HPc(this.context).xka(d),b=Math.max(b,d.vi());_.FJ(this.request)?(this.request.Hi(b),2!==this.Qe()&&!this.Gv.O&&(b>this.count||a)?this.refresh():this.rJ()):this.request.vi()!==b&&(this.request.Hi(b),b>this.count?this.kca():this.rJ())};_.g.ld=function(){return this.request};_.g.IM=function(){return this.Fa};_.g.zd=function(){return this.Cd.length};
_.g.Kha=function(a){return this.context.wm.equals(a,this.request)};
_.g.Xj=function(a){var b=a.vi(),c,d=!1;if(_.hJ(this.request)){var e=this.Cd.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Jk(k.getItem()).filter(function(l){return h.includes(_.x(l,_.sk,1).getId())});k=k.clone();Mzc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Jk(l.getItem()).length})}d=Vzc(e);c=new _.gK;_.w(c,4,!1);wEc(c,f)}else e=this.Cd.slice(0,b),c=new _.UA,TCc(c,b<this.Cd.length||!(this.context.Fj().Oe()||
this.context.wk().Oe())&&1!==this.vp),_.I(c,7,this.ka),_.w(c,8,this.incompleteSearch),_.Cj(c,18,this.ha),d=Vzc(e);e=FAc(e);FPc(this,a.H(),e);c.LA(e);c.Ac(d?6:this.twa(b));c.yi(this.Qe());c.lP(this.suggestionSessionId);return c};_.g.twa=function(a){return 1===this.vp||a<=this.count?1:this.context.Fj().Oe()||this.context.wk().Oe()?0<this.Cd.length?1:2:6};_.g.xsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.Vza();this.W=a.V;this.suggestionSessionId=a.Rf()};
_.g.yMa=function(){var a=this.request.vi()-this.count;0<a&&SPc(this.Gv)&&(this.V+=a,this.kca())};_.g.jl=function(a,b){_.FJ(this.request)&&rRc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=AL(d.value),c=this.Ju(d,!0)||c;b||(1!==this.vp&&(c=!0),this.vp=1);if(a=this.H){a:{a=this.Cd;d=this.H||_.Ga;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.gp("ViewCache unsorted after import"),this.context.Av.sort(this.request,this.Cd));c&&(this.JX(),tRc(this,b))};
var tRc=function(a,b){_.Dl(a.request).length&&a.Cd.length&&a.context.KZ.then(function(c){var d=XK(a.context.jk(),106024,a.ma);if(d){var e=_.Dl(a.request)[0].Ya(),f=_.x(_.dK(d),HDc,18);if(!f){f=new HDc;var h=_.dK(d);_.I(h,18,f)}f=_.w(f,1,!b);c=_.w(f,2,c===e).Kv(a.Cd.length);_.w(c,4,a.context.Af.Fo());a.ma=d;d.vj()}})};_.g=uM.prototype;
_.g.Ju=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.ds(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.gp("Updating different wrapper from the existing one"):this.gp("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.sKa(f,a.H):(this.iJ(f),_.FJ(this.request)&&pRc(this,0));else{if(_.FJ(this.request)&&!b)return!1;this.tR(a.H)}else return!1;return!0};_.g.tR=function(a){this.H?xzc(this.Cd,a,this.H):this.Cd.push(a);a.count++;uRc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.iJ=function(a){if(this.H){var b=this.Cd,c=_.Ha(b,a,this.H);0<=c&&_.va(b,c)}else _.wa(this.Cd,a);a.count--;uRc(a)&&this.count--;this.O.delete(a.getId())};_.g.Aya=function(a){return this.H?_.Ha(this.Cd,a,this.H):_.na(this.Cd,a)};_.g.sKa=function(a,b){this.H&&0!==this.H(a,b)?(this.iJ(a),this.tR(b)):(this.Cd[this.Aya(a)]=b,b.count++,uRc(b)&&this.count++,a.count--,uRc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.ds=function(a,b){if(!a)return!1;if(this.ECa&&!_.FJ(this.request)){if(b)return!0;if(!this.Ha){var c=a.getId();b=!!this.Cd.find(function(e){return c===e.getId()},this);a=mL(this.context.lt,this.request,a.getItem());return b&&a}}if(!mL(this.context.lt,this.request,a.getItem()))return!1;var d=1.2*this.request.vi();if(1===this.vp||!this.H||CFc(a.V,2)||this.count<d||b||cAc(a.getItem()))return!0;b=0===this.Cd.length?null:this.Cd[this.Cd.length-1];return!!b&&0>=this.H(a,b)};
_.g.rJ=function(){this.log(this.IM()+" | Evict called");if(1!==this.vp&&!this.context.Fj().Oe()&&!this.context.wk().Oe()){var a=1.2*this.request.vi();if(!(a>=this.count||this.Gv&&a>=this.Gv.Zb())){a=this.count-this.request.vi();for(var b=this.Cd.length-1;0<=b&&0<a;b--){var c=this.Cd[b];CFc(c.V,2)||cAc(c.getItem())||(c.count--,uRc(c)&&this.count--,this.O.delete(c.getId()),_.va(this.Cd,b),a--)}qRc(this,!1)}}};
_.g.gp=function(a){var b=new _.Lc;_.sI(b,2);_.tI(b,6);_.eq(b);this.context.dispatchEvent(new _.Oc(new _.Nc(a,b)))};var uRc=function(a){return!CFc(a.V,2)&&3!==a.getItem().tv()};uM.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};uM.prototype.uRa=function(a){var b=this,c=_.Dl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.Af.um.H(d.Ya()))&&_.P(d,108)}),QGc(this.context.mfa,a,c))};uM.prototype.tRa=function(){this.rJ()};
uM.prototype.HYa=function(a){return 1!==this.vp&&a.vi()>this.count&&this.Gv.O};
var wM=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new jRc;this.Rc=new _.jf(this);this.La(this.Rc);this.context=a;this.Gg=b;this.It=new GHc(a.wm,a.He());this.context.jk().W.H=this.It;if(null===(c=_.EJ(this.context.Ic))||void 0===c?0:_.Q(c,15,!1))b=new yHc(a.lt,a.Av),this.It.add(b),a.nfa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.It)||void 0===e?void 0:e.O)||void 0===f?void 0:BL(f,!(null===(k=null===(h=d.It)||void 0===h?void 0:h.H)||void 0===k?0:k.mD))});this.H=new OFc(a.KZ,
a.lt,a.Av);_.P(a.Ic,60)&&(this.wa=new dRc(a.lt,a.Av));this.V=new IFc(a.He(),_.YJ(this.Gg));vRc(this,_.ie(this.context.Ic,28));this.um=new RFc(this.Gg,this.context.wm,this.H,this.V);this.context.jk().W.V=this.um;this.xI=new YPc(this.context,this.Gg,this.O,this.H);this.vGa=new eRc(this.context,this.H);this.ka=new WQc(this.context,this);_.$e(this.ka,function(){d.ka=null});this.ta=_.htc(_.YJ(this.Gg),wRc);yL(this.context.Nj,["NSockf"],function(){return d.initialize()});yL(this.context.Nj,["NSockf","jroI5d"],
function(){var e=d.context.Ic;if(_.x(e,_.Fk,12))var f=_.x(e,_.Fk,12);else{f=_.Stc(_.Utc(new _.sk,_.QJ(_.XH(e))),!0);f=_.w(f,6,1);var h=_.D(_.XH(e),6,"");h&&f.Nb(h);f=_.u7b(_.cuc(_.duc(_.ZF((new _.Fk).Nb(d.context.ju()).setTitle(_.D(e,38,"My Drive")),"application/vnd.google-apps.folder").Kn(!1),f),[f]),1);f=_.w(f,29,!0);f=_.w(f,63,!0);h=new _.yk;e=_.w(h,1,_.Q(e,6,!0));e=_.w(e,2,!1);e=_.w(e,3,!1);e=_.w(e,4,!1);e=_.w(e,5,!1);e=_.w(e,6,!0);e=_.w(e,7,!0);e=_.w(e,10,!1);e=_.w(e,11,!1);e=_.Vtc(e,!1);e=_.w(e,
12,!1);e=_.w(e,8,!1);e=_.w(e,9,!1);e=_.w(e,21,!1);f=_.MJ(f,e)}d.jl([f],1);zL(d.context.Nj,"hVFf7")});this.ha=_.Xh();yL(this.context.Nj,["BNEDtc"],function(){d.ha.resolve()});this.tq=new fIc(this.context.Ic,this.context.He(),a.Pm(),a.mfa,this.context.jk(),this.context.xX.promise);_.lI(this.context.Ic)&&this.Rc.listen(this.tq,"Fb",this.ma);this.zMa=new _.mwc(this.context.Ic,this.um)};_.K(wM,_.N);
wM.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.B(d.value,1);for(var e=this.tq.Ed(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.tq.H.get(d),e=!(!d||1!==d.Qe()&&4!==d.Qe()||3===QHc(d));e&&a.add(h)}b=[];c=_.m(c);for(h=c.next();!h.done;h=c.next())h=h.value,(d=this.H.get(h))?(h=d.getItem().clone(),xRc(this,h),b.push(vHc(d,new kL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");yRc(this,b,[]);this.context.Hs.update(6);a.size&&this.xI.mO([].concat(_.Jd(a)),_.Lf(new _.Kf,311))};wM.prototype.initialize=function(){this.ka.nh()};
wM.prototype.Yh=function(a,b){if(b instanceof _.yf)b=oL(this.context.wm,b),zRc(this,b.H()),gRc(this.vGa,b),b=ARc(this,b),b.cache.Yh(a);else if(b instanceof _.SF)b=BRc(this,b),zRc(this,b.H()),b=CRc(this,b),b.cache.Yh(a);else if(b instanceof _.LH){var c=tM(this,b),d=this.O[c];d?(3==d.AV()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,zv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new rQc(this.context,this.Gg,b),d.refresh().tg(_.cg),UQc(this,c,d),b={cache:d,zv:!0});b.cache.Yh(a)}else if(b instanceof _.XF)c=b.H(),d=this.V,JFc(d,d.H,d.O,c),b=CRc(this,b),b.cache.Yh(a);else throw Error("rg");return b.zv};wM.prototype.Zj=function(a,b){if(b instanceof _.yf)b=oL(this.context.wm,b),iRc(this.vGa,b);else if(b instanceof _.SF)b=BRc(this,b);else if(!(b instanceof _.LH||b instanceof _.XF))throw Error("rg");b=tM(this,b);var c=this.O[b];c&&(c.Zj(a),c.isDisposed()&&delete this.O[b])};
var tM=function(a,b){return bL(a.context.wm,b,2)},ARc=function(a,b){var c,d,e=tM(a,b),f=a.O[e];if(f)return 3==f.AV()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,zv:!1};var h=[],k=5;f=!1;for(var l=HHc(a.It),p=0;p<l.length;p++){var q=l[p];k=q.yE(b);if(5!=k){l=1==k?void 0:b.vi();if((null===(c=_.EJ(a.context.Ic))||void 0===c?0:_.Q(c,18,!1))&&q instanceof yHc){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.Pka(b,l);var r=q.Qe();var v=q instanceof CL?q.py():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.zd()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Fj().Oe()||a.context.wk().Oe())h=h.concat(a.H.query(b,1)),_.Fa(h,void 0,function(A){return A.getId()}),k=(k=a.It.H)&&k.V7&&5!=k.yE(b)?k.yE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new uM(a.context,b,h,1==k,v);r&&z.yi(r);z.jl(a.H.query(b,
2),1!=k);r=z.initialize();(null===(d=_.EJ(a.context.Ic))||void 0===d?0:_.Q(d,18,!1))&&f&&r.then(function(){return sM(a.context)}).then(function(A){return A.IWa().nUb()}).then(function(){var A,C;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var G=z.Xj(b).Ad().map(function(T){return T.getId()}),H=(null===(C=null===(A=a.It)||void 0===A?void 0:A.O)||void 0===C?void 0:C.Xj(b,b.vi()).Ad().map(function(T){return T.getId()}))||[],L=_.Ja(G.sort(),
H.sort()),O=XK(a.context.jk(),106030);O&&(MDc(LDc(KDc(bEc(O),G.length),H.length),L),O.vj());L?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+G.length+".  Cache: ")+(H.length+".\nNetwork: ")+(G+".\nCache: ")+(H+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.tg(function(A){A=_.uI(A);_.eq(A);a.context.dispatchEvent(new _.Oc(new _.Nc("Error during view cache init",
A)))});UQc(a,e,z);return{cache:z,zv:!0}},CRc=function(a,b){var c=tM(a,b),d=!1,e=a.O[c];if(e&&e.Kha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.ln()),h;b instanceof _.SF?h=new OPc(a.context,a.Gg,b,f):h=new nRc(a.context,a.Gg,b,f);f.length&&h.yi(8);h.refresh().tg(_.cg);b=h;d=!0;UQc(a,c,b);e?(DRc(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,
zv:d}};wM.prototype.ZV=function(){return Object.values(this.O).filter(function(a){return a.ld()instanceof _.LH})};
wM.prototype.t2a=function(a){for(var b=_.Lf(new _.Kf,309),c=[],d=_.m(Object.entries(this.V.items)),e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;f=_.m(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.m(h.value);var k=h.next().value;h.next();if(k===a){c.push(Number(e));break}}}c.length&&(d=hGc(this.context.wm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.xI.mO([a],b,!1,c))};
var EPc=function(a,b,c){c&&c.length&&LFc(a.V,b,c);_.lI(a.context.Ic)&&pIc(a.tq,b)},iQc=function(a,b,c){var d,e,f;if(b instanceof rQc){var h=tM(a,b.ld());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof wHc&&a.It.remove(b);h=new Map;var k=a.H.iy(),l=new Map(k);k=[];for(var p=_.m(b.iy()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.H.get(r);if(v){var z=v.getItem().tv();(null===(d=_.EJ(a.context.Ic))||void 0===d?0:_.Q(d,15,!1))&&!0===q.H&&EFc(v,
q.H);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new uHc(q.getId(),q,v));l.delete(r)}else{r=AL(q);if(null===(e=_.EJ(a.context.Ic))||void 0===e?0:_.Q(e,15,!1))null===(f=a.It.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.lI(a.context.Ic)&&a.tq.VO(r)}_.lI(a.context.Ic)&&xRc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(AL(q.value));a.log("Applying "+k.length+" updates to newly added CorpusCache");k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);
b instanceof rQc?(k=tM(a,b.ld()),UQc(a,k,b)):a.It.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.qI,_.rI(p,l.getId()),p.setItem(l),k.push(p);a.Jo(k);a.log("Merged cache: "+b.getType());b instanceof GL&&c.forEach(function(A){ERc(a.context.zsa,A)});a.context.Hs.update(3)},DRc=function(a,b){(new Set([].concat(_.Jd(a.Fy)))).forEach(function(c){b.Yh(c);a.Zj(c)})};
wM.prototype.jl=function(a,b,c,d,e){var f=this,h;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.Jd(c.H().filter(function(C){return!_.YJ(f.Gg).includes(C)}))):[]);c&&c instanceof _.yf&&_.FJ(c)&&FRc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new kL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=GRc(this,v,r);if(null!=A)r.Mw(A),HRc(this,z,q),bAc(q),q=GFc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.lI(this.context.Ic)&&xRc(this,q);!v||IRc(this,
z,q,e)?(l.push(vHc(v,r)),k.push(r)):k.push(v)}a=null;if(c){if(c instanceof _.yf){if(null===(h=_.EJ(this.context.Ic))||void 0===h?0:_.Q(h,15,!1))a=_.Dl(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.H&&(d||this.log("Setting setHasAllImmediateChildren for "+a.getItem().getId()),EFc(a,!d)));(a=KHc(this.It,c))&&a.jl(k,!!d)}c=tM(this,c);(a=this.O[c])&&a.jl(k,!!d)}0<l.length&&(_.lI(this.context.Ic)&&l.forEach(function(C){return f.tq.VO(C)}),yRc(this,l,e,a?[a]:[]),JRc(this,k));HPc(this.context).U8()};
var xRc=function(a,b){rIc(a.tq,b)||5!=b.tv()||_.huc(b,1)},IRc=function(a,b,c,d){(b=b?_.xb(b.clone(),82):null)&&EPc(a,[b],d);c=_.xb(c.clone(),82);EPc(a,[c],[]);return!_.Nj(b,c)},FRc=function(a,b,c){KRc(a,b,c);b.forEach(function(d,e){var f=a.um.H(d.getId());f&&(IK(f,d,[1002]),IK(f,d,[1003]),IK(f,d,[1005]),b[e]=f);_.gJ(c)&&0<_.ie(c,33).length&&_.iuc(d,_.ie(c,33)[0])})},KRc=function(a,b,c){var d;_.gJ(c)?d="quick access":_.hJ(c)?d="people predict":_.iJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" ItemSuggest items for "+d+": "+c)},rPc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.V)||c.set(d.V,[]),c.get(d.V).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.jl(FAc(d),b)};wM.prototype.vla=function(a){this.zMa.vla(a)};
wM.prototype.Jo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Wk()?null:e.getItem(),h=e.qc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new kL(f,void 0,void 0,_.B(e,1)||void 0);var p=GRc(this,h,l);if(null==p)continue;l.Mw(p);HRc(this,k,f);_.Q(e,5,!1)&&Dzc(f,Szc);bAc(f);f=GFc(f,k);l.setItem(f);_.lI(this.context.Ic)&&xRc(this,f)}if(k&&!f||f&&IRc(this,k,f,[]))this.context.DJa.vy(e),c.push(vHc(h,l))}_.lI(this.context.Ic)&&c.forEach(function(q){return b.tq.VO(q)});yRc(this,
c,[])};var HRc=function(a,b,c){b&&!c.Om()&&IK(c,b,a.ta);var d=b?b.wf():null,e=c.wf();e=e?_.ne(e):null;d&&e&&HRc(a,_.ne(d),e);b&&!_.Ik(c)&&IK(c,b,[1002]);b&&!_.Jk(c).length&&IK(c,b,[1003]);b&&!_.Kk(c).length&&IK(c,b,[1005]);b&&null==c.v1()&&IK(c,b,[71]);b&&null==_.B(c,79)&&IK(c,b,[73]);b&&_.P(b,31)&&!_.P(c,31)&&(Dzc(c,Szc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
wM.prototype.tB=function(a,b){if(a instanceof _.yf||a instanceof _.SF||a instanceof _.LH)a=tM(this,a),(a=this.O[a])&&a.IX(b);else throw Error("rg");};var GRc=function(a,b,c){var d=c.getItem();if(NIc(a.context.ofa,d))return null;if(b){a=b.V;var e=c.V;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=a.tv()&&!lL(a)&&!lL(d)&&a.wc()==d.wc())if(a.Yi()&&d.Yi()){if(a.Yi()>d.Yi())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.wq()>d.wq())return null}return DFc(b&&b.V,c.V)};
wM.prototype.WH=function(a,b){(a=this.H.get(a))&&a.Mw(DFc(a.V,b))};
var yRc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.EJ(a.context.Ic))||void 0===e?0:_.Q(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&EFc(h.H,h.O.H);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.wa(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())GPc(h.value,b);h=HHc(a.It);d=0;c=_.m(h);for(h=c.next();!h.done;h=c.next()){f=h.value;var k=
!1,l=_.m(b);for(h=l.next();!h.done;h=l.next())f.update(h.value)&&(k=!0);k&&d++;f instanceof GL&&f.zd()>=1.2*f.limit&&LRc(a.context.DJa,f.wc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.P(a.context.Ic,60)&&a.wa.update(h),a.H.update(h),a.H.get(h.id)||a.V.rJ(h.id),a.W.update(h);0<d&&a.context.Hs.hna(d);MRc(a)},MRc=function(a){var b=a.W.O.slice(0),c=kRc(a.W);lRc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Kf;_.Lf(d,308);a.xI.mO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=SFc(a.um,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().wf(),k=a.um.H(_.B(h,1));k&&(_.I(h,5,k),_.w(h,4,1),e.push(f))});rPc(a,e)}},NRc=function(a){HPc(a.context).U8();a.H.rJ()},BRc=function(a,b){_.Ia(b.H());var c=_.na(b.ln(),"root");if(0>c)return b;b=b.clone();b.ln()[c]=a.context.ju();return b},vRc=function(a,b){var c;null!==(c=_.EJ(a.context.Ic))&&void 0!==c&&_.Q(c,1,!1)||(b=XDc(a.Gg,b),a=a.V,JFc(a,a.items,a.fields,b))},zRc=function(a,b){var c;if(null===(c=_.EJ(a.context.Ic))||
void 0===c?0:_.Q(c,1,!1))b=XDc(a.Gg,b),a=a.V,JFc(a,a.items,a.fields,b)},JRc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().tv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.Lf(new _.Kf,311);a.xI.mO(c,d)}})},cRc=function(a,b){a.ha.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={j5:c.j5,Iqa:c.Iqa},e=d.next()){e=e.value;if(KHc(a.It,e))break;c.j5=new CL(a.context.lt,a.context.Av,
a.context.wm,e);e=new cQc(a.context,c.j5,e);c.Iqa=KL(a.context.wz,null);_.Zh(e.nh().then(function(f){return function(){fQc(f.j5,f.Iqa).then(function(h){iQc(a,f.j5,h)})}}(c)),function(){YIc(a.context.wz,null)})}})};wM.prototype.Fo=function(){var a=this.It.H;return a&&a.mD?1:2};wM.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var UQc=function(a,b,c){a.O[b]=c;a.log(b+" | Set cache with "+c.zd()+" items")},wRc=[50];
var PRc=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.Tk;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Xh();this.wa=c.promise;MKc(this.context.tD).then(function(d){b.H=d||[];c.resolve();ORc(b)},function(){return c.resolve()});yL(this.context.Nj,["rVezo"],(0,_.M)(this.W,this))};_.K(PRc,_.N);
var hRc=function(a,b){_.Q(a.context.Ic,46,!1)&&a.wa.then(function(){if(a.H[0]!==b){_.wa(a.H,b);for(HFc(a.context.Af.um.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.ua(a.H,b,0);a.H.length>2*_.Oj(a.context.Ic,47,5);)a.H.pop();a.context.tD.set(GKc,a.H)}a.context.Af.It.ZV().length+a.O.size<_.Oj(a.context.Ic,47,5)&&(ORc(a),a.W())})},QRc=function(a,b){_.wa(a.H,b)&&a.context.tD.set(GKc,a.H)};
PRc.prototype.vy=function(a){ERc(this.context.zsa,a);if(lL(a)){var b=a.wc();a.Wk()?LRc(this,b,!0):(a=a.getItem(),HFc(a)&&QRc(this,b))}};var LRc=function(a,b,c){QRc(a,b);a.V.contains(b)&&a.V.remove(b);var d=a.O.get(b);d&&d.dispose();a.O.delete(b);d=a.context.Af.It;for(var e=d.ZV(),f=0;f<e.length;f++){var h=e[f];if(h.wc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Hs.update(3);break}}sM(a.context).addCallback(function(k){k.$Ga(b,c)});a.W()};
PRc.prototype.W=function(){if(this.context.Nj.H("rVezo")){var a=this.context.Af.It;RRc(this);for(var b={};this.V.Zb()&&!(this.ha>=_.Oj(this.context.Ic,47,5));){var c=_.Yk(this.V);this.ha++;JHc(a,c)||this.O.has(c)||(this.O.set(c,null),b.Gea=new _.Dtc,_.w(b.Gea,1,c),this.context.Pm().then(function(d){return function(e){return e.Pe(d.Gea)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={Gea:b.Gea}}}};
var ORc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},RRc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){ORc(a);a.W()},36E5)};PRc.prototype.ta=function(a,b){var c=_.B(b,1);c&&c>_.Oj(this.context.Ic,48,1E3)?(this.log(a,"Too large to backfill: "+_.B(b,1)),SRc(this,a,!1)):TRc(this,a)};
PRc.prototype.ma=function(a,b){(b=_.uI(b).hk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.AI(_.Osc(_.rI(new _.qI,a),a)),this.context.Af.Jo([a])):TRc(this,a)};
var TRc=function(a,b){var c=new GL(a.context.lt,a.context.Av,b),d=c.ld().clone();d.Hi(_.Oj(a.context.Ic,48,1E3));d=new cQc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=KL(a.context.wz,b);sM(a.context).addCallback(function(f){f.Zua(b)});_.Zh(d.nh().then(function(){URc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;SRc(a,b,!0)}),function(){YIc(a.context.wz,b)})},URc=function(a,b,c,d){c.mD?(c.aX(),fQc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.zd());iQc(a.context.Af,
c,e);SRc(a,b,!1)},function(){a.log(b,"Backfill changes failed");SRc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),SRc(a,b,!0))},SRc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&sM(a.context).addCallback(function(e){e.$Ga(b,!1)});a.W();0<a.O.size||a.context.Af.It.ZV().map(function(e){return e.wc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){LRc(a,e,!0)})};
PRc.prototype.log=function(a,b){this.context.He().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var VRc=function(){_.N.apply(this,arguments)};_.K(VRc,_.N);
var YRc=function(a,b){b=WRc(b);var c=a.getItem(),d=XRc(c.getCapabilities());b.N3.forEach(function(e){_.u7b(e.getItem(),c.To());_.MJ(e.getItem(),d.clone())});return b},aSc=function(a,b,c){var d=ZRc(c);c=c.find(function(e){return e.getId()===b.getId()});c={pK:c?c:new kL(b),children:[]};$Rc(a,d,c);return c},ZRc=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().rk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},$Rc=
function(a,b,c){var d=c.pK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push($Rc(a,b,{pK:e,parent:c,children:[]}))});return c},cSc=function(a,b){b=b.children.filter(function(l){return!_.Hk(l.pK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.pK.getItem();if(!c.has(f.getId())){_.u7b(f,a.To());bSc(a,f,e.parent?e.parent.pK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.Hk(k.pK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.pK)}}return d},
dSc=function(a){a=a.children.filter(function(h){return!_.Hk(h.pK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.pK.getItem();if(!b.has(e.getId())){c.push(_.AI(_.rI(new _.qI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.Hk(f.pK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},WRc=function(a){var b=[],c=[];a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.getItem();_.Hk(e)||_.P(e,137)?c.push(e):b.push(d)}return{sQ:c,N3:b}},XRc=
function(a){a=a.clone();var b=null!=_.P(a,34)?_.P(a,34):_.P(a,7),c=null!=_.P(a,35)?_.P(a,35):_.P(a,7);_.w(a,45,c);_.w(a,46,b);_.w(a,30,c);_.w(a,31,b);_.w(a,47,c);_.w(a,32,c);_.w(a,33,b);_.w(a,4,b);_.w(a,9,c);_.w(a,20,b);_.w(a,17,_.P(a,7));_.w(a,8,_.P(a,10)||_.P(a,11));_.w(a,21,_.zk(a));_.xb(a,18);_.xb(a,13);_.xb(a,10);_.w(a,42,_.P(a,42));_.w(a,43,_.P(a,43));_.w(a,48,_.P(a,48));return a},bSc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities();_.w(e,30,_.P(d,30));_.w(e,31,_.P(d,31));_.w(e,
47,_.P(d,47));_.w(e,32,_.P(d,32));_.w(e,33,_.P(d,33));_.w(e,4,_.P(d,4));_.w(e,9,_.P(d,9));_.w(e,21,_.P(d,21));_.w(e,20,_.P(d,20));_.w(e,17,_.P(d,17));_.w(e,1,_.zk(d));_.w(e,7,_.P(d,7));_.w(e,10,_.P(d,10));_.w(e,11,_.P(d,11));_.w(e,45,_.P(d,45));_.w(e,46,_.P(d,46));_.w(e,48,_.P(d,48));_.w(b,137,_.Hk(a));c&&(a=c.getCapabilities(),KK(b)?(_.w(e,8,_.P(a,43)),_.w(e,43,_.P(a,43)),_.w(e,42,_.P(a,42))):_.w(e,8,_.P(a,42)))};
var eSc=function(a){this.context=a;this.V=new VRc;this.logName="drive.ds.sync.change.TdChangeProcessor";this.O=_.Lf(new _.Kf,306);this.H=a.Af},ERc=function(a,b){if(lL(b))b.Wk()?fSc(a,b):gSc(a,b);else if(_.Q(a.context.Ic,86,!1)){var c=b.qc(),d=a.H.um.H(c);var e=d&&d.wc();var f=b.getItem()&&b.getItem().wc();if(!d||!e||!KK(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.Hk(d),!b.Wk()){f=b.getItem();var h=f.To()!==d.To();e=_.Hk(d)!==_.Hk(f)||e&&h}if(e)if(b.Wk()){if(b=hSc(a,d.wc()),d=a.V,e=(new _.Fk).Nb(c),
b=(b=aSc(d,e,b))?dSc(b):[],a.context.Af.Jo(b),a.log(c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=XK(a.context.jk(),106009))c=ZDc(a),_.w(c,2,b.length),a.vj()}else if(c=b.getItem(),d=hSc(a,c.wc()),e=a.V,c=b.getItem(),c=(d=aSc(e,c,d))?cSc(c,d):[],rPc(a.context.Af,c),a.log(b.qc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=XK(a.context.jk(),106010))b=ZDc(a),_.w(b,1,c.length),a.vj()}},fSc=function(a,b){var c=b.qc();b=hSc(a,c);b=WRc(b);var d=_.wf(b.N3,function(e){return _.AI(_.rI(new _.qI,
e.getId()))});a.context.Af.Jo(d);a.H.xI.mO(b.sQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.sQ.map(function(e){return _.Al((new _.vl).Nb(e.getId()),_.Lk(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.sQ.length+" divergent items"));if(a=XK(a.context.jk(),106016))c=$Dc(a),_.w(c,1,b.sQ.length),_.w(c,2,b.N3.length),a.vj()},gSc=function(a,b){var c=b.qc(),d=hSc(a,c),e=a.H.um.H(c);b=YRc(b,d);rPc(a.context.Af,b.N3);a.H.xI.mO(b.sQ.map(function(h){return h.getId()}),a.O,void 0,void 0,
b.sQ.map(function(h){return _.Al((new _.vl).Nb(h.getId()),_.Lk(h))}));a.log(c,"SD update | Update "+b.N3.length+" item(s), "+(b.sQ.length+" divergent items"));if(d=XK(a.context.jk(),106017)){var f=$Dc(d);_.w(f,1,b.sQ.length);_.w(f,2,b.N3.length);d.vj()}e||bQc(a.H.xI,c)},hSc=function(a,b){var c=new _.yf;_.Fl(c,[b]);_.Gl(c,2);return UFc(a.H.um,c)};eSc.prototype.log=function(a,b){this.context.He().info(this.logName,a+": "+b)};
var iSc=function(a,b,c){this.H=a;this.V=b;this.mJ=c},mSc=function(a,b,c){if(b.FV().length){var d=JIc(a.H,b.qc());if(d){var e=d?KIc(a.H,b):[];for(var f={},h=_.m(b.FV()),k=h.next();!k.done;f={rL:f.rL},k=h.next())if(k=k.value,f.rL=jSc(e,k.Cm(),b.qc()),_.P(k,3))QIc(a.H,f.rL),_.Zh(c,function(r){return function(){a.H.O.W(zIc(r.rL))}}(f));else{for(var l=_.m(_.Ab(k,_.PF,2)),p=l.next();!p.done;p=l.next())kSc(a,f.rL,p.value);k=_.m(_.ie(k,4));for(l=k.next();!l.done;l=k.next())lSc(f.rL,l.value);a.H.jD([f.rL],
!1,-1);c.then(function(r){return function(){return void a.H.WH(r.rL.getName(),-2)}}(f),function(r){return function(){a.H.WH(r.rL.getName(),-2)}}(f))}e=a.ad(d.Xj().response)}}e=e?e:a.ad();var q=e.Y3a;c.then(function(r){q.resolve(r)},function(r){q.reject(_.Rc(r));a.handleError(b.qc(),r)});return e};iSc.prototype.ad=function(a){a=void 0===a?new vL:a;return new AGc(a.Ac(1))};var jSc=function(a,b,c){var d=a.find(function(e){return yIc(e.getName(),b)});d||(d=XGc((new uL).$c(b),c),a.push(d));return d};
iSc.prototype.handleError=function(a,b){UIc(this.V,a);a=_.uI(b);_.w(a,21,"Server error updating metadata after optimistic application.");this.mJ(a)};
var kSc=function(a,b,c){var d=b.H().find(function(e){return e.getId()===c.getId()});d||(d=new cL,d.Nb(c.getId()),WGc(b,b.H().concat([d])),nSc(d,c));if(1===dL(d))d.setBooleanValue(_.P(c,3));else if(12===dL(d))d.setDateStringValue(_.B(c,17));else if(2===dL(d))d.setTextValue(_.B(c,4));else if(3===dL(d))_.ie(c,6).length?d.Voa(_.ie(c,6)):_.ie(c,5).length&&(a=_.ie(d,7).concat(_.ie(c,5)),d.Voa(a));else if(4===dL(d))d.setLongTextValue(_.B(c,7));else if(5===dL(d))d.setSelectionValue(_.B(c,8));else if(6===
dL(d))_.ie(c,10).length?d.Roa(_.ie(c,10)):_.ie(c,9).length&&(a=d.kMa().concat(_.ie(c,9)),d.Roa(a));else if(7===dL(d))d.setIntegerValue(_.B(c,11));else if(8===dL(d))_.ie(c,13).length?d.Hoa(_.ie(c,13)):_.ie(c,12).length&&(a=_.ie(d,12).concat(_.ie(c,12)),d.Hoa(a));else if(10===dL(d))d.setUserValue(a.O(_.B(c,14)));else if(11===dL(d))_.ie(c,16).length?SEc(d,_.ie(c,16).map(a.O)):_.ie(c,15).length&&SEc(d,d.SWa().concat(_.ie(c,15).map(a.O)));else throw new _.Nc("Optimistic Applier: Unsupported value type "+
(dL(d)+"."),new _.Lc);},lSc=function(a,b){if(a=a.H().find(function(c){return c.getId()===b}))if(1===dL(a))_.xb(a,5);else if(12===dL(a))_.xb(a,17);else if(2===dL(a))_.xb(a,6);else if(3===dL(a))_.aI(a,7);else if(4===dL(a))_.xb(a,8);else if(5===dL(a))_.xb(a,9);else if(6===dL(a))_.aI(a,10);else if(7===dL(a))_.xb(a,11);else if(8===dL(a))_.aI(a,12);else if(10===dL(a))_.Dj(a,15);else if(11===dL(a))_.Fj(a,16);else throw new _.Nc("Optimistic Applier: Unsupported value type "+(dL(a)+"."),new _.Lc);},nSc=function(a,
b){_.xj(b,3)?a.NA(1):_.xj(b,17)?a.NA(12):_.xj(b,4)?a.NA(2):_.ie(b,6).length||_.ie(b,5).length?a.NA(3):_.xj(b,7)?a.NA(4):_.xj(b,8)?a.NA(5):_.ie(b,10).length||_.ie(b,9).length?a.NA(6):_.xj(b,11)?a.NA(7):_.ie(b,13).length||_.ie(b,12).length?a.NA(8):_.xj(b,14)?a.NA(10):(_.ie(b,16).length||_.ie(b,15).length)&&a.NA(11)};iSc.prototype.O=function(a){return _.Ttc(_.Rtc(1),a)};
var oSc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.wa=c;this.O=d;this.ka=e;this.Gg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};oSc.prototype.apply=function(a,b){var c=this;if(!_.DJ(a))return b;var d=null;a instanceof _.SI?d=pSc(this,a,b):a instanceof _.ZI?d=qSc(this,a,b):a instanceof _.wI?d=rSc(this,a,b):a instanceof _.NI?d=sSc(this,a,b):a instanceof _.vJ&&(d=mSc(this.wa,a,b));d&&(this.W++,this.ha.setActive(!1),_.Zh(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Uh(d):b};
var pSc=function(a,b,c){MIc(a.O,b.getId());var d=a.H.um.H(b.getId());_.Zh(c.then(function(){return void a.ma("VMiG2e")},a.ta.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.uI(e);_.w(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.CJ).Ac(1)},qSc=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&OIc(a.O,d)&&_.Zh(tSc(a,d,new _.owc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.wa(a.O.H,
d)});c.then(null,function(e){e=_.uI(e);_.w(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.CJ).Ac(1)},tSc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Uh();var f=_.Xh(),h=c.Ya();_.TH(c);setTimeout(function(){a.ka.then(function(k){var l=_.Lf(new _.Kf,1425);l=EAc(!0,1,l);return k.Pe(l).then(function(p){if(p=p.ad())if(p=p.Ad()[0],!p||(p.$v()||0)>b){f.resolve();return}_.Zh(tSc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Zh(tSc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},sSc=function(a,b,c){var d=b.wc(),e=a.H.um.H(d);if(!e)return null;e=e.clone();EPc(a.H,[e],[157]);var f=e.Oh();uSc(f,_.Ab(b,_.Dk,2));vSc(f,_.Ab(b,_.Dk,3));a.H.jl([e],-1,void 0,void 0,[157]);_.Zh(c,function(){a.H.WH(d,-2)}).then(function(h){a.H.jl([_.x(h,_.Fk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.uI(h);_.w(h,21,"Server error updating item after optimistic application.");a.V(h)});return EMc(new DMc,e).Ac(1)},
uSc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={wea:c.wea},d=b.next())c.wea=d.value,_.Ab(a,_.Dk,8).some(function(e){return function(f){return f.Cm()==e.wea.Cm()}}(c))||_.Jj(a,8,c.wea,_.Dk,void 0)},vSc=function(a,b){var c=b.map(function(d){return d.Cm()});b=_.Ab(a,_.Dk,8).filter(function(d){return!c.includes(d.Cm())});Lzc(a,b)},rSc=function(a,b,c){var d=a.H.um.H(b.getId());if(!d||d.wc()&&0==b.Qh()||null!=_.P(b,40))return null;var e=_.ie(b,10),f=_.ie(b,9);if(0<e.length&&0<f.length&&
(e=Object.values(TFc(a.H.um,e.concat(f))).map(function(k){return k.wc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();wSc(a,b,h);a.H.jl([h],-1,void 0,void 0,VDc(a.Gg));c.then(function(){return a.H.WH(b.getId(),-2)},function(){a.H.WH(b.getId(),-2);a.ta(b.getId(),d)});c.then(null,function(k){k=_.uI(k);if(63==k.hk()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");a.V(k)});return _.cvc((new _.CJ).setItem(h),h.getId()).Ac(1)},
wSc=function(a,b,c){null!=b.qf()&&c.Vl(b.qf());null!=b.Pi()&&_.fuc(c,b.Pi());null!=b.getMimeType()&&_.ZF(c,b.getMimeType());null!=_.B(b,7)&&_.w(c,11,_.B(b,7));null!=_.P(b,11)&&_.w(c,8,_.P(b,11));null!=_.P(b,4)&&c.Lv(_.P(b,4));null!=_.P(b,16)&&_.w(c,31,_.P(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Qh()&&(c.Kn(b.Qh()),_.w(c,26,b.Qh()));null!=_.P(b,18)&&_.FK(aAc(c,!0),_.P(b,18));_.ie(b,8).length&&_.LJ(c,_.ie(b,8));if(_.ie(b,9).length){var d=new Set(c.rk());_.ie(b,9).forEach(function(p){return d.add(p)});
_.LJ(c,[].concat(_.Jd(d)))}if(_.ie(b,10).length){var e=new Set(c.rk());_.ie(b,10).forEach(function(p){return e.delete(p)});_.LJ(c,[].concat(_.Jd(e)));var f=c.Cw();f&&_.ie(b,10).includes(f)&&_.xb(c,46)}if(!c.Cw()){var h=a.Ba();f=c.rk().find(function(p){var q=a.H.um.H(p);return q&&!!q.Cw()||p==h});_.w(c,46,f||void 0)}c.rk().length&&(f=a.H.um.H(c.rk()[0]))&&_.iuc(c,f.wc());if(f=_.x(b,_.Ak,25)){var k=_.x(c,_.Ak,111)||new _.Ak;null!=_.P(f,1)&&_.Xtc(k,_.P(f,1));null!=_.B(f,2)&&_.w(k,2,_.B(f,2));_.I(c,111,
k)}var l=_.ie(c,120);_.ie(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.ie(b,32).forEach(function(p){_.wa(l,p)});_.Cj(c,120,l)};oSc.prototype.ta=function(a,b){var c=this,d=_.UF(new _.SF,[a]);this.ka.then(function(e){return e.Pe(d)}).then(function(e){e=e.ad().Ad()[0];c.H.jl([e.clone()],1)},function(){b&&c.H.jl([b.clone()],1)})};
var xSc=function(a){this.H=a};_.K(xSc,_.cyc);xSc.prototype.execute=function(a,b,c){var d=_.cyc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.LKa||b instanceof _.mI&&_.FJ(b.ld()))if(c=nEc(this.H))return c;return b instanceof _.ZI?(c=_.Lf(new _.Kf,1424),a.Pe(EAc(!1,1,c)).then(function(e){(e=e.ad())&&(e=e.Ad()[0])&&_.xj(e,96)&&b.Kca(e.$v())},function(){})):null};
var RAc=function(a,b){return[ySc,zSc,ASc,BSc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},ySc=function(a){return CSc[a.kf()]},zSc=function(a){return DSc[a.getType()]},ASc=function(a){return a.getName()||""},BSc=function(a){return a.getId()||""},xM={},CSc=(xM[5]=0,xM[7]=1,xM[1]=2,xM[3]=3,xM[4]=4,xM[2]=5,xM[6]=6,xM),ESc={},DSc=(ESc[1]=0,ESc[2]=1,ESc[3]=2,ESc[4]=3,ESc);
var FSc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.ta=k;this.Gg=l};
FSc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.CJ&&8===b.Cb()))if(a instanceof _.MI||a instanceof _.OI||a instanceof _.ttc||a instanceof _.nJ||a instanceof _.wI||a instanceof _.xJ||a instanceof _.Btc||a instanceof _.zJ||a instanceof MK){var d=_.zI(b.getItem().clone(),9);this.H.jl([d],1);pJc(this.ta,b.getItem(),_.YJ(this.Gg))}else if(a instanceof _.SI)b=_.AI(_.rI(new _.qI,a.getId())),this.H.Jo([b]);else if(a instanceof _.VI)b=_.AI(_.Osc(_.rI(new _.qI,a.getId()),a.getId())),this.H.Jo([b]),
ERc(this.ma,b);else if(a instanceof _.ZI)b=EAc(!0).ld(),b=this.H.um.query(b).map(function(e){return _.AI(_.rI(new _.qI,e.getId()))}),this.H.Jo(b);else if(a instanceof _.QI)this.O.remove(a.Jh());else if(a instanceof _.bJ||a instanceof _.uJ)this.O.put(b.jr());else if(a instanceof _.TI)QAc(this.H,a);else if(a instanceof _.eD)this.W.remove(a.getKey());else if(a instanceof _.fJ)SAc(this.H,a,_.x(b,_.sk,2));else if(a instanceof _.fD)this.W.put(b.vMa());else if(a instanceof _.PI||a instanceof _.yJ)this.ha.jD([b.mn()],
!1);else if(a instanceof _.WI)this.ha.jD([RIc(a.getId())],!1);else if(a instanceof _.stc)this.V.jD(b.response.H(),!1,1);else if(a instanceof _.vJ)a.FV().filter(function(e){return _.P(e,3)}).forEach(function(e){return c.V.removeItem(e.Cm()||"",a.qc())}),UIc(this.ka,a.qc()),this.H.t2a(a.qc());else if(a instanceof _.cK)for(b=_.m(_.Ab(a,_.VEc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.x(d,_.eL,2),d.getType()){case 1:case 2:if(d=this.H.um.H(d.qc()))d=
_.rI(uDc(),d.getId()).setItem(d.clone()),this.H.Jo([d])}}};
var GSc=function(a){this.H=a};
GSc.prototype.translate=function(a){if(a instanceof _.rJ){var b=this.H.H(a.getId());if(!b)return new _.Lc;var c=(new _.wI).Nb(a.getId());if(b.wc()){var d=b.getCapabilities();_.Je(d)||_.P(d,9)?c.Kn(!0):_.xI(c,!1)}else d=a.getParent(),1===b.To()?c.Kn(!0):d?(b=this.H.H(d),!b||_.P(b.getCapabilities(),7)?pDc(c,[d]):_.xI(c,!1)):_.xI(c,!1);return c}if(a instanceof _.sJ)return rDc(qDc(pDc(oDc((new _.wI).Nb(a.getId()),_.ie(a,2)),_.ie(a,3)),_.P(a,6)),_.Ab(a,_.vl,8));if(a instanceof _.tJ){b=this.H.H(a.getId());
if(!b)return new _.Lc;c=(new _.wI).Nb(a.getId());b.wc()?(d=b.getCapabilities(),_.Je(d)||_.P(d,9)?c.Kn(!1):_.xI(c,!0)):(d=a.getParent(),1===b.To()?c.Kn(!1):d?(b=this.H.H(d),!b||_.zk(b.getCapabilities())?oDc(c,[d]):_.xI(c,!0)):_.xI(c,!0));return c}if(a instanceof _.pK)return new _.ttc(a);if(a instanceof _.hM)return _.ie(a,1).map(function(f){var h=new _.vJ;f=_.w(h,1,f);h=a.FV();f=_.Ej(f,2,h);h=a.se();return _.I(f,3,h)});if(a instanceof _.YI){c=EAc(!1,1).ld();var e=0;this.H.query(c).forEach(function(f){(f=
f.$v())&&(e=Math.max(e,f))});return hEc(new _.ZI,a).Kca(e)}return a};
var HSc=function(){};HSc.prototype.validate=function(a){var b=null;a instanceof _.jJ?(a=a.getId()||"",_.Me(a)&&(b="Tried to request backup with no id.")):a instanceof _.RI&&(a=a.getId()||"",_.Me(a)&&(b="Tried to delete backup with no id."));return b?_.uI(b):null};
var ISc=function(a,b){this.H=a;this.O=b},MSc=function(a,b){_.wK(["drive#about"],b);var c=new _.iM,d=new _.JB;if(b.user){var e=_.yK(a.H,b.user);_.I(d,1,e)}a=JSc(a,b);a=hDc(gDc(_.fDc(new _.SJb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.jDc(a,_.VCc(_.UCc((new _.IB).Ac(KSc.get(e.status)),Number(e.trialMillisRemaining)),_.xK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.kDc(a,_.XCc(_.WCc(new _.NJb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&iDc(a,b.importFormats.map(function(f){var h=new _.eDc;h=_.w(h,1,f.source);return _.Cj(h,2,f.targets)}));b.adminSecureLinkSetting&&lDc(a,LSc.get(b.adminSecureLinkSetting));_.I(d,3,a);_.hOc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},JSc=function(a,b){var c;var d=new _.RJb;d=_.w(d,1,Number(b.quotaBytesTotal));d=_.w(d,2,Number(b.quotaBytesUsed));d=_.w(d,3,Number(b.quotaBytesUsedAggregate));d=_.w(d,4,Number(b.quotaBytesUsedInTrash));d=_.aDc(_.$Cc(_.ZCc(_.YCc(d,
UAc(b.quotaBytesByService||[])),b.quotaType?NSc.get(b.quotaType):void 0),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-WAc(b);d=_.w(d,9,e);d=_.bDc(d,Number(b.quotaBytesUsedAggregate));d=_.w(d,11,Number(b.quotaBytesUsedInTrash));d=_.w(d,13,_.Yzc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.cDc(d,OSc.get(b.quotaStatus)||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=
new _.QJb;var f=_.r7a(new Date(b.graceQuotaInfo.endDate));e=_.I(e,1,f);e=_.w(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.I(d,12,e)}if(null===(c=_.EJ(a.O))||void 0===c?0:_.Q(c,16,!1)){var h;(a=d.KJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);isNaN(Number(b.individualQuotaBytesTotal))||(h=_.w(d,16,Number(b.individualQuotaBytesTotal)),_.w(h,17,_.Yzc(Number(b.individualQuotaBytesUsedAggregate),
Number(b.individualQuotaBytesTotal))));b=_.w(d,9,Number(b.individualQuotaBytesUsedAggregate))}else b=d;return b},OSc=new Map([["softLimitExceeded",2],["hardLimitExceeded",3],["underLimit",1]]),VAc=new Set(["POOLED_STORAGE","FAMILY"]),KSc=new Map([["isInTrial",1],["hasPaidContract",2],["noSubscription",3],["trialExpired",4]]),TAc=new Map([["DRIVE",1],["FAMILY",4],["GMAIL",2],["PHOTOS",3],["POOLED_STORAGE",5]]),NSc=new Map([["LIMITED",1],["UNLIMITED",2],["POOLED",3]]),LSc=new Map([["unknown",0],["requireLessSecureLinks",
1],["removeLessSecureLinks",2],["userCanChoose",3]]);
var PSc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},QSc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},RSc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},SSc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},TSc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},USc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},VSc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},WSc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},XSc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},YSc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},ZSc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},$Sc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},aTc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},bTc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},cTc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},dTc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},eTc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},fTc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},gTc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},hTc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},iTc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},jTc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},qTc=function(a){return a.map(function(b){var c=new _.oOc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=kTc(e);_.I(c,2,d);break;case "actors":d=lTc(e);_.Ej(c,3,d);break;case "actions":d=mTc(e);_.Ej(c,
4,d);break;case "targets":d=nTc(e);_.Ej(c,5,d);break;case "timestamp":c.V(oTc(e));break;case "timeRange":d=pTc(e),_.Ij(c,7,_.kM,d)}}return c})},mTc=function(a){return a.map(function(b){var c=new _.lOc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=kTc(e);_.I(c,1,d);break;case "source":d=new wMc;e=_.m(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;h=h.next().value;
switch(f){case "type":_.Vj(d,2,PSc[h]);break;case "appId":_.Uj(d,1,h)}}_.I(c,2,d);break;case "actor":d=rTc(e);_.I(c,3,d);break;case "target":d=sTc(e);_.I(c,4,d);break;case "timestamp":c.V(oTc(e));break;case "timeRange":d=pTc(e),_.Ij(c,6,_.mOc,d)}}return c})},nTc=function(a){return a.map(function(b){return sTc(b)})},uTc=function(a){return a.map(function(b){return tTc(b)})},vTc=function(a){return a.map(function(b){var c=new _.bMc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=
_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "parent":c.yg(tTc(e));break;case "shortcut":d=tTc(e),_.I(c,2,d)}}return c})},sTc=function(a){var b=new _.zMc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=wTc(d);_.Ij(b,1,_.XL,c);break;case "drive":c=new _.xMc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.$c(f);
break;case "title":c.setTitle(f);break;case "root":e=wTc(f),_.I(c,3,e)}}_.Ij(b,5,_.XL,c);break;case "fileComment":c=new _.yMc;d=_.m(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.m(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.Uj(c,1,f);break;case "legacyDiscussionId":_.Uj(c,2,f);break;case "linkToDiscussion":_.Uj(c,3,f);break;case "parent":c.yg(wTc(f))}_.Ij(b,3,_.XL,c)}}return b},tTc=function(a){var b=new _.QL;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new LLc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.$c(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new JLc;_.Ij(e,8,KLc,f);break;case "driveFolder":e=xTc(f);_.Ij(c,9,KLc,e);break;case "driveShortcut":e=yTc(f),_.Ij(c,10,KLc,e)}}_.Ij(b,1,MLc,c);break;case "drive":c=zTc(d),_.Ij(b,3,MLc,c)}}return b},
wTc=function(a){var b=new _.ILc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Uj(b,6,d);break;case "version":_.Tj(b,5,d);break;case "owner":c=new ELc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=ATc(f);_.I(c,3,e);break;case "user":e=yM(f);_.Ij(c,
1,_.DLc,e);break;case "drive":e=zTc(f),_.Ij(c,4,_.DLc,e)}}_.I(b,7,c);break;case "driveFile":c=new JLc;_.Ij(b,8,FLc,c);break;case "driveFolder":c=xTc(d);_.Ij(b,9,FLc,c);break;case "driveShortcut":c=yTc(d),_.Ij(b,10,FLc,c)}}return b},zTc=function(a){var b=new CLc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "title":b.setTitle(d)}}return b},xTc=function(a){var b=new GLc;a=_.m(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "type":_.Vj(b,6,QSc[d])}}return b},yTc=function(a){var b=new HLc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.Uj(b,1,d);break;case "targetMimeType":_.Uj(b,2,d)}}return b},lTc=function(a){return a.map(function(b){return rTc(b)})},rTc=function(a){var b=new _.vMc;a=_.m(Object.entries(a));for(var c=
a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=yM(d);_.Ij(b,1,_.WL,c);break;case "anonymous":c=new sMc;_.Ij(b,2,_.WL,c);break;case "impersonation":c=new _.tMc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=yM(f),_.I(c,1,e)}}_.Ij(b,3,_.WL,c);break;case "system":c=new _.uMc;d=_.m(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=
_.m(e.value),e=f.next().value,f=f.next().value,e){case "type":_.Vj(c,1,RSc[f])}_.Ij(b,4,_.WL,c);break;case "administrator":c=new _.rMc,_.Ij(b,5,_.WL,c)}}return b},BTc=function(a){return a.map(function(b){return yM(b)})},yM=function(a){var b=new _.jLc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.hLc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;
f=f.next().value;switch(e){case "personName":_.Uj(c,1,f);break;case "isCurrentUser":_.Sj(c,2,f);break;case "displayName":_.Uj(c,3,f);break;case "photoUrl":c.Jn(f)}}_.Ij(b,2,_.gLc,c);break;case "unknownUser":c=new kLc;_.Ij(b,4,_.gLc,c);break;case "deletedUser":c=new _.iLc,_.Ij(b,3,_.gLc,c)}}return b},oTc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.q7a((new _.wy).setSeconds(a),b)},pTc=function(a){var b=new _.jM;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":b.nY(oTc(d));break;case "endTime":b.BO(oTc(d))}}return b},ATc=function(a){var b=new _.BLc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "legacyId":_.Uj(b,3,d);break;case "audienceDisplayName":_.Uj(b,4,d)}}return b},kTc=function(a){for(var b=new _.VL,c=_.m(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=
_.m(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.PLc,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,v=q.next().value;switch(r){case "new":var z=k,A=new QLc;_.Ij(z,1,_.NLc,A);break;case "upload":var C=k,G=new RLc;_.Ij(C,2,_.NLc,G);break;case "copy":for(var H=v,L=new _.OLc,O=_.m(Object.entries(H)),T=O.next();!T.done;T=O.next()){var U=_.m(T.value),ca=U.next().value,ba=U.next().value;switch(ca){case "originalObject":var ma=
tTc(ba);_.I(L,1,ma)}}_.Ij(k,3,_.NLc,L)}}_.Ij(b,1,_.UL,k);break;case "edit":var ta=new WLc;_.Ij(b,2,_.UL,ta);break;case "move":for(var za=new _.dMc,Na=_.m(Object.entries(h)),ob=Na.next();!ob.done;ob=Na.next()){var Wa=_.m(ob.value),Ub=Wa.next().value,Ac=Wa.next().value;switch(Ub){case "addedParents":var Mc=uTc(Ac);_.Ej(za,1,Mc);break;case "removedParents":var xd=uTc(Ac);_.Ej(za,2,xd);break;case "fromOwnershipTransfer":_.Sj(za,3,Ac);break;case "reparents":var Ae=Ac.map(CTc);_.Ej(za,4,Ae);break;case "multiparentingMigration":for(var oe=
Ac,Vg=new _.cMc,ee=_.m(Object.entries(oe)),Db=ee.next();!Db.done;Db=ee.next()){var Qe=_.m(Db.value),sj=Qe.next().value,bf=Qe.next().value;switch(sj){case "removedParents":var tj=uTc(bf);_.Ej(Vg,2,tj);break;case "migratedParents":var dk=vTc(bf);_.Ej(Vg,1,dk)}}_.I(za,5,Vg)}}_.Ij(b,3,_.UL,za);break;case "rename":for(var Pg=new _.jMc,Pl=_.m(Object.entries(h)),ui=Pl.next();!ui.done;ui=Pl.next()){var Fe=_.m(ui.value),Pf=Fe.next().value,Kj=Fe.next().value;switch(Pf){case "oldTitle":_.Uj(Pg,1,Kj);break;case "newTitle":_.Uj(Pg,
2,Kj)}}_.Ij(b,4,_.UL,Pg);break;case "delete":for(var Di=new _.ULc,uj=_.m(Object.entries(h)),Uk=uj.next();!Uk.done;Uk=uj.next()){var Hp=_.m(Uk.value),Km=Hp.next().value,Jq=Hp.next().value;switch(Km){case "type":_.Vj(Di,1,SSc[Jq])}}_.Ij(b,5,_.UL,Di);break;case "restore":for(var Xr=new _.kMc,Yr=_.m(Object.entries(h)),Yh=Yr.next();!Yh.done;Yh=Yr.next()){var Kq=_.m(Yh.value),lm=Kq.next().value,Yn=Kq.next().value;switch(lm){case "type":_.Vj(Xr,1,TSc[Yn])}}_.Ij(b,6,_.UL,Xr);break;case "permissionChange":for(var wl=
new _.gMc,mm=_.m(Object.entries(h)),Ip=mm.next();!Ip.done;Ip=mm.next()){var Ql=_.m(Ip.value),Vk=Ql.next().value,Lj=Ql.next().value;switch(Vk){case "addedPermissions":var Ic=DTc(Lj);_.Ej(wl,1,Ic);break;case "removedPermissions":var Lm=DTc(Lj);_.Ej(wl,2,Lm);break;case "resharedPermissions":var Jp=DTc(Lj);_.Ej(wl,3,Jp);break;case "otherActivePermissions":var Po=DTc(Lj);_.Ej(wl,4,Po)}}_.Ij(b,7,_.UL,wl);break;case "comment":for(var Rl=new _.ALc,Kp=_.m(Object.entries(h)),xl=Kp.next();!xl.done;xl=Kp.next()){var yl=
_.m(xl.value),Zn=yl.next().value,Sl=yl.next().value;switch(Zn){case "post":for(var Lp=Sl,Iu=new _.xLc,Lq=_.m(Object.entries(Lp)),Qo=Lq.next();!Qo.done;Qo=Lq.next()){var Ju=_.m(Qo.value),Mp=Ju.next().value,Zi=Ju.next().value;switch(Mp){case "subtype":_.Vj(Iu,1,VSc[Zi])}}_.Ij(Rl,1,_.wLc,Iu);break;case "assignment":for(var vj=Sl,Np=new _.yLc,Tl=_.m(Object.entries(vj)),yh=Tl.next();!yh.done;yh=Tl.next()){var Wk=_.m(yh.value),$n=Wk.next().value,Kg=Wk.next().value;switch($n){case "subtype":_.Vj(Np,1,WSc[Kg]);
break;case "assignedUser":var nm=yM(Kg);_.I(Np,7,nm)}}_.Ij(Rl,2,_.wLc,Np);break;case "suggestion":for(var Op=Sl,Mq=new _.zLc,om=_.m(Object.entries(Op)),Xk=om.next();!Xk.done;Xk=om.next()){var Nq=_.m(Xk.value),Zr=Nq.next().value,sw=Nq.next().value;switch(Zr){case "subtype":_.Vj(Mq,1,XSc[sw])}}_.Ij(Rl,3,_.wLc,Mq);break;case "mentionedUsers":var Pp=BTc(Sl);_.Ej(Rl,7,Pp)}}_.Ij(b,8,_.UL,Rl);break;case "dlpChange":for(var cp=new _.TLc,hr=_.m(Object.entries(h)),Tm=hr.next();!Tm.done;Tm=hr.next()){var Kt=
_.m(Tm.value),ky=Kt.next().value,ir=Kt.next().value;switch(ky){case "type":_.Vj(cp,1,YSc[ir])}}_.Ij(b,9,_.UL,cp);break;case "view":for(var DA=new qMc,Yf=_.m(Object.entries(h)),Sw=Yf.next();!Sw.done;Sw=Yf.next()){var OC=_.m(Sw.value),fq=OC.next().value,PC=OC.next().value;switch(fq){case "type":_.Vj(DA,1,ZSc[PC]);break;case "viewHistoryVisibility":for(var iN=PC,AF=new pMc,cJ=_.m(Object.entries(iN)),us=cJ.next();!us.done;us=cJ.next()){var dJ=_.m(us.value),BF=dJ.next().value,CF=dJ.next().value;switch(BF){case "domainPolicyVisibilityState":_.Vj(AF,
1,$Sc[CF]);break;case "namedPartyState":_.Vj(AF,2,aTc[CF])}}_.I(DA,2,AF)}}_.Ij(b,10,_.UL,DA);break;case "download":for(var DF=new VLc,EF=_.m(Object.entries(h)),Tw=EF.next();!Tw.done;Tw=EF.next()){var jN=_.m(Tw.value),kN=jN.next().value,ly=jN.next().value;switch(kN){case "type":_.Vj(DF,1,bTc[ly])}}_.Ij(b,11,_.UL,DF);break;case "reference":for(var Lt=new _.bLc,FF=_.m(Object.entries(h)),GF=FF.next();!GF.done;GF=FF.next()){var lN=_.m(GF.value),HF=lN.next().value,eS=lN.next().value;switch(HF){case "type":_.Vj(Lt,
1,cTc[eS]);break;case "context":for(var qZ=eS,mN=new aLc,nN=_.m(Object.entries(qZ)),oN=nN.next();!oN.done;oN=nN.next()){var fS=_.m(oN.value),gS=fS.next().value,T6=fS.next().value;switch(gS){case "description":mN.Vl(T6);break;case "url":_.Uj(mN,2,T6)}}_.I(Lt,2,mN)}}_.Ij(b,12,_.UL,Lt);break;case "settingsChange":for(var U6=new _.nMc,my=_.m(Object.entries(h)),Tga=my.next();!Tga.done;Tga=my.next()){var Uga=_.m(Tga.value),eJ=Uga.next().value,Mt=Uga.next().value;switch(eJ){case "restrictionChanges":var hS=
ETc(Mt);_.Ej(U6,1,hS)}}_.Ij(b,13,_.UL,U6);break;case "approvalChange":for(var jr=new _.nLc,EA=_.m(Object.entries(h)),iS=EA.next();!iS.done;iS=EA.next()){var V6=_.m(iS.value),jS=V6.next().value,QC=V6.next().value;switch(jS){case "approvalName":_.Uj(jr,2,QC);break;case "approvalEventNames":_.Cj(jr,3,QC);break;case "initiator":var kS=yM(QC);_.I(jr,4,kS);break;case "reviewers":var kxa=BTc(QC);_.Ej(jr,5,kxa);break;case "status":jr.Ac(fTc[QC]);break;case "dueTime":var lxa=oTc(QC);_.I(jr,7,lxa);break;case "approvalRequested":var mxa=
jr,nxa=new oLc;_.Ij(mxa,8,_.PL,nxa);break;case "approvalCancelled":var W6=jr,oxa=new pLc;_.Ij(W6,9,_.PL,oxa);break;case "reviewerResponded":for(var pN=QC,lS=new _.mLc,qN=_.m(Object.entries(pN)),X6=qN.next();!X6.done;X6=qN.next()){var Ayb=_.m(X6.value),A7=Ayb.next().value,qoc=Ayb.next().value;switch(A7){case "reviewerDecision":_.Vj(lS,1,gTc[qoc])}}_.Ij(jr,10,_.PL,lS);break;case "commentAdded":var roc=jr,Byb=new qLc;_.Ij(roc,11,_.PL,Byb);break;case "reviewersChanged":for(var uYa=QC,Dya=new sLc,Cyb=
_.m(Object.entries(uYa)),sy=Cyb.next();!sy.done;sy=Cyb.next()){var Eya=_.m(sy.value),soc=Eya.next().value,Dyb=Eya.next().value;switch(soc){case "reviewerChanges":var Eyb=FTc(Dyb);_.Ej(Dya,1,Eyb)}}_.Ij(jr,12,_.PL,Dya);break;case "dueTimeChanged":for(var Fyb=QC,Gyb=new uLc,Hyb=_.m(Object.entries(Fyb)),vYa=Hyb.next();!vYa.done;vYa=Hyb.next()){var wYa=_.m(vYa.value),Iyb=wYa.next().value,Jyb=wYa.next().value;switch(Iyb){case "oldDueTime":var Fya=oTc(Jyb);_.I(Gyb,1,Fya)}}_.Ij(jr,13,_.PL,Gyb)}}_.Ij(b,18,
_.UL,jr);break;case "lock":var toc=new YLc;_.Ij(b,15,_.UL,toc);break;case "unlock":var uoc=new oMc;_.Ij(b,16,_.UL,uoc);break;case "appliedLabelChange":for(var Kyb=new _.fLc,xYa=_.m(Object.entries(h)),Gya=xYa.next();!Gya.done;Gya=xYa.next()){var yYa=_.m(Gya.value),Hya=yYa.next().value,voc=yYa.next().value;switch(Hya){case "changes":var Lyb=GTc(voc);_.Ej(Kyb,1,Lyb)}}_.Ij(b,19,_.UL,Kyb);break;case "publishChange":for(var Iya=new _.iMc,Myb=_.m(Object.entries(h)),zYa=Myb.next();!zYa.done;zYa=Myb.next()){var AYa=
_.m(zYa.value),Nyb=AYa.next().value,BYa=AYa.next().value;switch(Nyb){case "oldPublishState":var woc=HTc(BYa);_.I(Iya,1,woc);break;case "newPublishState":var Oyb=HTc(BYa);_.I(Iya,2,Oyb)}}_.Ij(b,20,_.UL,Iya);break;case "linkShareMetadataChange":for(var CYa=new _.XLc,DYa=_.m(Object.entries(h)),EYa=DYa.next();!EYa.done;EYa=DYa.next()){var FYa=_.m(EYa.value),Pyb=FYa.next().value,xoc=FYa.next().value;switch(Pyb){case "securityUpdateEnabled":_.Sj(CYa,1,xoc)}}_.Ij(b,21,_.UL,CYa)}}return b},CTc=function(a){var b=
new _.$Lc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.Vj(b,1,jTc[d])}}return b},DTc=function(a){return a.map(function(b){var c=new _.TL;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "role":_.Vj(c,1,USc[e]);break;case "user":d=yM(e);_.Ij(c,2,_.SL,d);break;case "group":d=new _.RL;e=_.m(Object.entries(e));for(var f=e.next();!f.done;f=
e.next()){var h=_.m(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.Uj(d,1,h);break;case "title":d.setTitle(h)}}_.Ij(c,3,_.SL,d);break;case "domain":d=ATc(e);_.Ij(c,4,_.SL,d);break;case "anyone":d=new eMc;_.Ij(c,5,_.SL,d);break;case "allowDiscovery":_.Sj(c,6,e)}}return c})},ETc=function(a){return a.map(function(b){var c=new _.mMc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.Vj(c,
1,dTc[e]);break;case "newRestriction":_.Vj(c,2,eTc[e])}}return c})},FTc=function(a){return a.map(function(b){var c=new tLc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=yM(e);_.I(c,3,d);break;case "addedReviewer":d=yM(e),_.I(c,4,d)}}return c})},GTc=function(a){return a.map(function(b){var c=new _.eLc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;
e=e.next().value;switch(d){case "label":_.Uj(c,1,e);break;case "types":d=ITc(e),_.Cj(c,2,d)}}return c})},ITc=function(a){return a.map(function(b){return hTc[b]})},HTc=function(a){var b=new _.hMc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.Vj(b,1,iTc[d]);break;case "signinRequired":_.Sj(b,2,d);break;case "publishedTime":c=oTc(d),_.I(b,3,c)}}return b};
var KTc=function(a){return(a.items||[]).map(function(b){return JTc(b)})},LTc=function(a,b){var c=new qNc;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=JTc(a),_.I(b,2,a));return b},JTc=function(a){_.wK(["drive#app"],a);var b=(new _.fL).Nb(a.id);b=_.w(b,3,a.useByDefault).$c(a.name);b=_.w(b,7,a.openUrlTemplate);b=iFc(hFc(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=_.Cj(b,17,a.primaryFileExtensions);b=_.Cj(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);var c=MTc.get(a.type);b=_.w(b,23,c);b=_.w(b,25,a.hasAppData);b=_.w(b,26,Number(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);c=a.icons||[];for(var d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.cFc;l=_.w(l,3,k.iconUrl).setSize(k.size);k.category&&(k=NTc.get(k.category),_.w(l,1,k));h.call(f,l)}_.Ej(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Cj(b,24,d);c=a.rankingInfo||{};a=new _.fFc;d=c.absoluteScore;null!=d&&
_.w(a,1,Number(d));d=OTc(c.mimeTypeScores||[]);_.Ej(a,2,d);c=OTc(c.fileExtensionScores||[]);_.Ej(a,3,c);_.I(b,29,a);return b},OTc=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new _.dFc;c=_.w(d,1,c);return _.w(c,2,Number(b))})},MTc=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),NTc=new Map([["application",1],["document",2],["documentShared",3]]);
var QTc=function(a){var b=new FOc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.YL).Nb(c.id).setTitle(c.title);d=_.w(d,3,_.xK(c.updateTime));var e=PTc.get(c.backupSource);d=_.w(d,4,e);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.xK(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.fz())e=new BMc,e=_.w(e,1,c.whatsappOngoingBackupEnabled),c=_.w(e,2,c.whatsappPhoneNumber),_.I(d,6,c);else if(2===d.fz()){e=Number(c.deviceAndroidId);var f=new _.AMc;
f=_.w(f,1,c.deviceName);f=_.w(f,2,c.deviceModelName);c=_.w(f,3,c.shouldIncludeSpecialSyncItems);c=_.w(c,4,isNaN(e)?void 0:e);_.I(d,7,c)}return d});_.Ej(b,2,a);return b},STc=function(a){var b=new BOc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.ZL).Nb(c.id);var e=RTc.get(c.type);d=_.w(d,1,e).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.CMc(d.setSize(c.size?Number(c.size):void 0),_.xK(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).Vl(c.description);return _.w(d,9,c.ongoingSyncEnabled)});
_.Ej(b,1,a);return b},PTc=new Map([["BACKUP_SOURCE_UNSPECIFIED",0],["BACKUP_SOURCE_WHATSAPP",1],["BACKUP_SOURCE_ANDROID",2]]),RTc=new Map([["TYPE_UNSPECIFIED",0],["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]]);
var TTc=function(a,b){this.H=a;this.O=b};
var UTc=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),VTc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=(new _.Fk).Nb(d);c&&(_.ZF(d.setTitle(c.title),c.mimeType),c.userCapabilities&&_.MJ(d,_.iyc(c.userCapabilities)));_.YJ(b).includes(19)&&_.w(d,44,!0);pJc(a,d,_.YJ(b));_.huc(d,4);return d},YTc=function(a,b,c){for(var d=[],e=[],f={},h=_.m(c.item||[]),k=h.next();!k.done;f={Cea:f.Cea},k=h.next()){var l=k.value;if(l.person){f.Cea=l.itemId;k=WTc(l.person).Nb(f.Cea);var p={};l=_.m(l.childItem||[]);for(var q=
l.next();!q.done;p={Sqa:p.Sqa},q=l.next()){var r=q.value;e.some(function(v){return function(z){return z.getId()===v.Cea}}(f))||e.push(k);p.Sqa=r.itemId;q=d.find(function(v){return function(z){return z.getId()===v.Sqa}}(p));void 0===q&&(q=VTc(a,b,r),d.push(q));r=ICc(HCc(GCc(new _.Wna,k.clone()),XTc(r)),r.url);_.Jj(q,107,r,_.Wna,void 0)}}}return wEc((new _.gK).LA(d),e).lP(c.suggestionSessionId)},WTc=function(a){return _.Ttc((new _.sk).Nb(a.id).$c(a.displayName),a.emailAddress).Jn(a.photoUrl)},iUc=function(a){var b=
a.action;return b?b.map(function(c){var d=new _.yna,e=ZTc(c);e&&_.Ij(d,2,_.wk,e);(e=$Tc(c))&&wBc(d,e);(e=aUc(c))&&_.Ij(d,4,_.wk,e);(e=bUc(c))&&_.Ij(d,5,_.wk,e);(e=cUc(c))&&_.Ij(d,6,_.wk,e);(e=dUc(c))&&_.Ij(d,7,_.wk,e);(e=eUc(c))&&_.Ij(d,8,_.wk,e);(e=fUc(c))&&_.Ij(d,9,_.wk,e);(e=gUc(c))&&_.Ij(d,10,_.wk,e);(c=hUc(c))&&_.Ij(d,11,_.wk,c);return d}):(a=zM(a),a=eCc([a]),[wBc(new _.yna,a)])},kUc=function(a){return(a.justification||[]).map(function(b){return jUc(b)})},zM=function(a){return(a=a.justification)?
jUc(a):null},jUc=function(a){var b=sBc(new _.vk,lUc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=WTc(c),_.Ij(b,3,_.xna,c),tBc(b,[c])):d?(c=(d.person||[]).map(function(e){return WTc(e)}),d=rBc(c),_.Ij(b,4,_.xna,d),tBc(b,c)):(c=(a.person||[]).map(function(e){return WTc(e)}),c.length&&(d=rBc(c),_.Ij(b,4,_.xna,d),tBc(b,c)));_.w(b,5,_.xK(a.eventTime));uBc(b,lUc(a.justificationDescription));vBc(b,lUc(a.unstructuredJustificationDescription));return b},lUc=function(a){if(!a)return null;a=a.textSegment||
[];return oBc(new _.pk,a.map(function(b){var c=(new _.qk).eh(b.text),d=b.link;if(d){var e=new _.rk;d=_.w(e,1,d.url)}else d=null;c=_.I(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},ZTc=function(a){a=a.documentDocosAction;if(!a)return null;var b=UBc(new _.Gna,zM(a));TBc(b,(a.subAction||[]).map(function(c){var d=new _.Hna;c.reply?(c=new _.Ana,_.Ij(d,1,_.xk,c)):c.resolve?(c=new EBc,_.Ij(d,2,_.xk,c)):c.reassign?(c=new CBc,_.Ij(d,3,_.xk,c)):c.acceptSuggestion?(c=new xBc,_.Ij(d,4,_.xk,c)):c.rejectSuggestion?
(c=new DBc,_.Ij(d,5,_.xk,c)):c.openThread&&(c=new _.zna,_.Ij(d,6,_.xk,c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);VBc(b,lUc(a.anchorText));return b},aUc=function(a){a=a.documentShareAction;if(!a)return null;var b=ZBc(new _.Jna,zM(a));YBc(b,(a.subAction||[]).map(function(c){var d=new $Bc;c.suggestedShare?(c=new IBc,_.Ij(d,1,BCc,c)):c.responseToRequest&&(c=new FBc,_.Ij(d,2,BCc,c));return d}));WBc(b,(a.sharee||[]).map(function(c){return WTc(c)}));XBc(b,UTc.get(a.shareeRole));return b},
$Tc=function(a){a=a.documentViewAction;if(!a)return null;var b=eCc(kUc(a));dCc(b,(a.subAction||[]).map(function(c){var d=new gCc;c.open?d.Nf(new zBc):c.reviewEdits&&(c=new GBc,_.Ij(d,2,fCc,c));return d}));return b},bUc=function(a){a=a.emailViewAction;if(!a)return null;var b=qCc(new oCc,zM(a));pCc(b,(a.subAction||[]).map(function(c){var d=new sCc;c.open&&d.Nf(new ABc);return d}));return b},cUc=function(a){a=a.calendarEventAction;if(!a)return null;var b=OBc(NBc(MBc(new _.Cna,a.eventId),zM(a)),a.guestCount);
LBc(b,(a.subAction||[]).map(function(c){var d=new PBc;if(c.viewCalendarEvent){var e=new JBc;_.Ij(d,1,zCc,e)}c.shareWithAttendees&&(e=new HBc,_.Ij(d,2,zCc,e));c.present&&(e=new BBc,_.Ij(d,3,zCc,e));c.openDocument&&(c=new zBc,_.Ij(d,4,zCc,c));return d}));return b},dUc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=lCc(kCc(new iCc,a.workspaceId),zM(a));jCc(b,(a.subAction||[]).map(function(c){var d=new mCc;c.addToWorkspace&&(c=new yBc,_.Ij(d,1,DCc,c));return d}));return b},eUc=function(a){a=
a.documentTopicAction;if(!a)return null;var b=bCc(new _.Lna,zM(a));aCc(b,(a.subAction||[]).map(function(c){var d=new cCc;c.openDocument&&(c=new zBc,_.Ij(d,1,CCc,c));return d}));return b},fUc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=xCc(new _.Rna,zM(a));wCc(b,(a.subAction||[]).map(function(c){var d=new yCc;c.openDocument&&(c=new zBc,_.Ij(d,1,FCc,c));return d}));return b},gUc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=RBc(new _.Ena,zM(a));QBc(b,(a.subAction||
[]).map(function(c){var d=new SBc;c.openDocument&&(c=new zBc,_.Ij(d,1,ACc,c));return d}));return b},hUc=function(a){a=a.formResponseAction;if(!a)return null;var b=uCc(new _.Pna,kUc(a));tCc(b,(a.subAction||[]).map(function(c){var d=new vCc;c.openDocument?(c=new zBc,_.Ij(d,1,ECc,c)):c.viewResponses&&(c=new KBc,_.Ij(d,2,ECc,c));return d}));return b},XTc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var mUc=function(a,b){this.H=a;this.O=b},oUc=function(a,b,c){_.wK(["drive#categoryMetadataList"],c);var d=new vL,e=Object.values(c.categoryMetadata||{});ZGc(d,e.map(function(f){return nUc(a,f,b.qc())}));d.Ac(1);return new _.jK(d,RKc(c))},qUc=function(a,b){var c=new fM;NNc(c,(b.categories||[]).map(function(d){return pUc(a,d)}));c.Ac(1);return new BGc(c,RKc(b))},nUc=function(a,b,c){_.wK(["drive#categoryMetadata"],b);c=XGc((new uL).$c(b.categoryName),c);b=Object.values(b.attributeValues||[]);WGc(c,b.map(function(d){return rUc(a,
d)}).filter(function(d){return null!==d}));return c},pUc=function(a,b){var c,d=LNc(BNc(HNc(GNc(FNc(ANc(zNc((new eM).$c(b.name),b.categoryName),b.latestName).setTitle(b.title).Vl(b.description),_.xK(b.createTime)),_.xK(b.updateTime)),_.xK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){a:{var f=e.type;var h=(new HMc).Nb(e.id);h=_.w(h,2,e.queryGuid);h=_.w(h,3,e.helpText);h=_.w(h,4,e.displayName);if(e.attributeDisplayHints){var k=sUc(e.attributeDisplayHints);_.I(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new IMc;l=_.w(l,1,k.canSearch);k=_.w(l,2,k.canWrite);_.I(h,6,k)}if(f&&(_.w(h,7,tUc[f]),e=e[uUc(f)+"Options"],!vUc(a,h,f,e))){f=null;break a}f=h}return f}).filter(function(e){return null!==e})),b.customer);b.createdBy&&CNc(d,wUc(b.createdBy));b.FTb&&DNc(d,wUc(b.FTb));b.publishedBy&&ENc(d,wUc(b.publishedBy));b.displayHints&&INc(d,sUc(b.displayHints));b.capabilities&&KNc(d,xUc(b.capabilities));b.learnMoreUri&&_.w(d,15,b.learnMoreUri);return d},rUc=function(a,b){_.wK(["drive#categoryAttributeValue"],
b);var c=(new cL).Nb(b.id);if(b.userScoped)b=Object.values(b.userScoped),TEc(c,b.map(function(d){_.wK(["drive#userScopedAttributeValue"],d);var e=new QEc,f=_.yK(a.H,d.scopedUser);e=_.I(e,1,f);return a.Hb(e,d)?e:null}).filter(function(d){return null!==d})),c.NA(9);else if(!a.Hb(c,b))return null;return c},sUc=function(a){var b=new GMc;b=_.w(b,1,a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},xUc=function(a){var b=new JNc;b=_.w(b,1,a.canSearch);b=_.w(b,
2,a.canApply);b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},vUc=function(a,b,c,d){return yUc(a,function(){zUc(a)[c](b,d)},c,b)},AUc=function(a){a=void 0===a?{}:a;var b=new NMc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},CUc=function(a){var b=new MMc;SMc(b,(a.choices||[]).map(function(c){var d=new RMc;d=_.w(d,1,c.label).Hb(c.value);c.description&&d.Vl(c.description);if(c.capabilities){var e=c.capabilities;var f=new TMc;f=_.w(f,1,e.canSearch);e=_.w(f,2,e.canSelect);_.I(d,
3,e)}c.displayHints&&(c=c.displayHints,e=new UMc,e=_.w(e,1,c.disabled),e=_.w(e,2,c.hidden),c.badgePriority&&_.w(e,5,c.badgePriority),c.badgeColors&&(f=BUc(c.badgeColors),_.I(e,3,f)),c.darkBadgeColors&&(c=BUc(c.darkBadgeColors),_.I(e,4,c)),_.I(d,4,e));return d}));return b},BUc=function(a){var b=new FMc;var c=DUc(a.backgroundColor);b=_.I(b,1,c);c=DUc(a.foregroundColor);b=_.I(b,2,c);a=DUc(a.soloColor);return _.I(b,3,a)},DUc=function(a){var b=new _.HC;b=_.yb(b,1,a.red,0);b=_.yb(b,2,a.green,0);b=_.yb(b,
3,a.blue,0);a.alpha&&(a=(new mDc).Hb(a.alpha),_.I(b,4,a));return b},EUc=function(a){var b=new WMc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,Number(a.minValue));return _.w(b,3,Number(a.maxValue))},FUc=function(a){var b=(new _.Qoa).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)};mUc.prototype.Hb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.NA(tUc[d]);return yUc(this,function(){GUc(c)[d](a,b[b.valueType])},b.valueType)};
var yUc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof YMc))return TDc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},wUc=function(a){return _.Rtc(1).Nb(a.personName.split("/")[1])},uUc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},zUc=function(a){return{BOOLEAN:function(b,c){var d=b.a4a;var e=new PMc;e=_.w(e,1,c.trueLabel);c=_.w(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.BMa(AUc(c))},TEXT_LIST:function(b,c){var d=b.$4a;var e=new VMc;e=_.w(e,1,c.maxEntries);c=AUc(c.options);c=_.I(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new KMc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Ij(b,10,$L,c)},SELECTION:function(b,c){return b.M4a(CUc(c))},SELECTION_LIST:function(b,c){var d=b.L4a;var e=new LMc;e=_.w(e,1,c.maxEntries);c=CUc(c.options);c=_.I(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.n4a(EUc(c))},INTEGER_LIST:function(b,
c){var d=b.m4a;var e=new XMc;e=_.w(e,1,c.maxEntries);c=EUc(c.options);c=_.I(e,2,c);return d.call(b,c)},USER:function(b){return b.e5a(new ZMc)},USER_LIST:function(b,c){var d=b.CMa,e=new OMc;c=_.w(e,1,c.maxEntries);e=new ZMc;c=_.I(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.AMa;var e=new JMc;e=_.w(e,4,c.dateFormat);var f=FUc(c.minValue);e=_.I(e,2,f);c=FUc(c.maxValue);c=_.I(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new YMc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.w(d,2,tUc[e]);var f=uUc(e)+"Options";vUc(a,d,e,c[f]);return _.Ij(b,16,$L,d)}}},GUc=function(a){return{BOOLEAN:function(b,c){return b.setBooleanValue(c)},TEXT:function(b,c){return b.setTextValue(c)},TEXT_LIST:function(b,c){return b.Voa(c)},LONG_TEXT:function(b,c){return b.setLongTextValue(c)},SELECTION:function(b,c){return b.setSelectionValue(c)},SELECTION_LIST:function(b,c){return b.Roa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Hoa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.yK(a.H,c))},USER_LIST:function(b,c){SEc(b,c.map(function(d){return _.yK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},tUc={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};
var IUc=function(a){a=a.personResponse||[];return hHc(new gHc,a.map(function(b){var c=b.person;b=dHc(new wL,b.personId);var d=b.$c;var e=c;e=void 0===e?{}:e;var f,h;e=e.metadata;e=null!==(h=null===(f=null===e||void 0===e?void 0:e.bestDisplayName)||void 0===f?void 0:f.displayName)&&void 0!==h?h:"";f=eHc(d.call(b,e),HUc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;h=new cHc;c=_.w(h,1,c&&!c.isDefault?c.url:null);return _.I(f,4,c)}))},HUc=function(a){a=void 0===a?{}:a;var b;a=(a.email||[]).find(function(c){return"SIGNUP_EMAIL"===
c.classification&&!0===c.metadata.primary});return null!==(b=null===a||void 0===a?void 0:a.value)&&void 0!==b?b:""};
var JUc=function(a){this.H=a},LUc=function(a,b){_.wK(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return KUc(a,c)})},KUc=function(a,b){_.wK(["drive#teamDrive","drive#drive"],b);var c=new _.aoa,d=b.colorRgb;d?(d=d.substring(1),d=/^[a-fA-F0-9]+$/.test(d)?parseInt(d,16):0):d=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);_.w(c,9,b.removeSecureLinkUpdateForAllFiles);
(d=b.categoryReferences)&&Lzc(c,d.map(function(e){_.wK(["drive#driveCategoryReference"],e);var f=new _.Dk;return _.w(f,1,e.category)}));c=_.ouc(_.muc(_.luc(_.huc(_.iuc(Kzc(_.ZF((new _.Fk).Nb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.Vtc(_.iyc(b.capabilities),!0),_.MJ(c,d));b.permissionsSummary&&_.juc(c,qEc(a.H,b.permissionsSummary));b.restrictions&&Nzc(c,MUc(b.restrictions));return c},
MUc=function(a){var b=new MCc;b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);"teamMembersOnly"in a&&_.w(b,4,a.teamMembersOnly);return b};
var NUc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},aBc=_.db(NUc);
var OUc=function(a){_.wK(["drive#setting"],a);var b=new _.gc;b=_.w(b,2,a.key);b=_.w(b,1,a.namespace?NUc[a.namespace]:void 0);return _.qBa(new _.Yo,b).Hb(a.value)};
var QUc=function(a){_.wK(["drive#workspaceList"],a);var b=a.items||[];b=jHc(new xL,b.map(function(c){return PUc(c)}));return new _.mK(b,RKc(a))},PUc=function(a){_.wK(["drive#workspace"],a);var b=(new _.TA).Nb(a.id).setTitle(a.title);b=_.w(b,3,_.xK(a.createdDate));return _.w(b,4,_.xK(a.modifiedDate)).Id(a.state?RUc[a.state]:void 0)},SUc=function(a,b,c){var d=c.item||[];return _.qzc(_.pzc(new _.EK,d.map(function(e){return VTc(a,b,e)})),c.suggestionSessionId)},UUc=function(a,b,c){var d=c.item||[];return qFc(pFc(new hL,
d.map(function(e){return TUc(a,b,e)})),c.suggestionSessionId)},TUc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return nFc(lFc(mFc(kFc(new gL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return VTc(a,b,f)})),zM(c))},VUc=function(a){var b=new _.NEc;a.kind&&(a=PUc(a),_.I(b,2,a));b.Ac(1);return b},RUc={active:1,archived:2};
var XAc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var WUc=function(a,b,c,d){_.Hyc.call(this,b);this.Gg=a;this.ma=c;this.O=d;this.W=null;this.ta=new ISc(this.V,b);this.H=new JUc(this.mF);this.wa=new TTc(this.mF,this.H)};_.K(WUc,_.Hyc);var XUc=function(a){a.W||(a.W=new mUc(a.V,a.ma));return a.W};
WUc.prototype.ha=function(a,b){if(a instanceof _.JI)var c=_.pyc(_.Lyc(a));else{if(a instanceof _.KI)var d=_.zK(this,a,b);else{if(a instanceof _.stc)var e=YUc(this,a.request,b);else{if(a instanceof _.LI)var f=_.zK(this,a,b);else{if(a instanceof _.NI){if(!b.json)throw _.AK();var h=EMc((new DMc).Ac(1),KUc(this.H,b.json))}else{if(a instanceof _.MI)var k=_.zK(this,a,b);else{if(a instanceof _.cK)var l=new YEc;else{if(a instanceof _.PI)var p=ZUc(a,b);else{if(a instanceof _.QI)var q=LTc(void 0,a.Jh());else{if(a instanceof
_.RI)var r=new GOc;else{if(a instanceof _.SI)var v=_.pyc(_.Lyc(a));else{if(a instanceof _.TI)var z=new dM;else{if(a instanceof _.UI)var A=_.pyc(_.Lyc(a));else{if(a instanceof _.VI)var C=_.pyc(_.Lyc(a));else{if(a instanceof _.eD){var G=new rNc,H=a.getKey();var L=_.I(G,4,H)}else{if(a instanceof _.WI)var O=ZUc(a,b);else{if(a instanceof _.ZI)var T=_.pyc(_.Lyc(a));else{if(a instanceof _.ptc){if(!b.json)throw _.AK();var U=new iPc(b.json.exportJob.id)}else{if(a instanceof _.aJ){if(!b.json)throw _.AK();var ca=
b.json,ba=new mNc,ma=JTc(ca);var ta=_.I(ba,2,ma).Ac(1)}else{if(a instanceof _.bJ)var za=$Uc(a,b);else{if(a instanceof _.fJ){if(!b.json)throw _.AK();var Na=(new dM).Ac(1),ob=_.syc(this.mF,b.json);var Wa=_.I(Na,2,ob)}else{if(a instanceof _.mI)a:{if(!b.json)throw _.AK();if(a instanceof _.mI){var Ub=a.ld();if(Ub&&_.gJ(Ub)){for(var Ac=this.O,Mc=this.Gg,xd=b.json,Ae=[],oe=_.m(xd.item||[]),Vg=oe.next();!Vg.done;Vg=oe.next()){var ee=Vg.value;if(ee.driveItem){var Db=new _.Zna,Qe=_.w(Db,2,XTc(ee));_.Q(Ub,74,
!1)?_.w(Qe,4,!0):_.w(Qe,3,!0);var sj=VTc(Ac,Mc,ee);var bf=_.I(sj,100,Qe);Ae.push(bf)}}var tj=(new _.UA).LA(Ae).lP(xd.suggestionSessionId);var dk=_.Mwc(new _.qK,tj);break a}if(Ub&&_.hJ(Ub)){dk=YTc(this.O,this.Gg,b.json);break a}if(Ub&&_.iJ(Ub)){for(var Pg=this.O,Pl=this.Gg,ui=b.json,Fe=[],Pf=_.m(ui.item||[]),Kj=Pf.next();!Kj.done;Kj=Pf.next()){var Di=Kj.value;if(Di.driveItem){var uj=VTc(Pg,Pl,Di),Uk=iUc(Di);var Hp=_.Ej(uj,117,Uk);Fe.push(Hp)}}var Km=(new _.UA).LA(Fe).lP(ui.suggestionSessionId);dk=
_.Mwc(new _.qK,Km);break a}}dk=_.myc(this.mF,b.json,b.headers)}else{if(a instanceof _.jJ){if(!b.json)throw _.AK();var Jq=STc(b.json)}else{if(a instanceof _.kJ){if(!b.json)throw _.AK();var Xr=b.json;_.wK(["drive#appList"],Xr);var Yr=new tL,Yh=KTc(Xr);var Kq=_.Ej(Yr,2,Yh);var lm=_.Cj(Kq,4,Xr.defaultAppIds).Ac(1)}else{if(a instanceof _.qtc){if(!b.json)throw _.AK();var Yn=QTc(b.json)}else{if(a instanceof _.yI)var wl=aVc(this,b);else{if(a instanceof _.lJ){if(!b.json)throw _.AK();var mm=new pNc,Ip=pEc(this.mF,
b.json);var Ql=_.I(mm,1,Ip);var Vk=_.w(Ql,2,RKc(b.json))}else{if(a instanceof _.mJ){if(!b.json)throw _.AK();var Lj=this.mF,Ic=b.json,Lm=new mEc;_.wK(["drive#revisionList"],Ic);for(var Jp=[],Po=Ic.items||[],Rl=0;Rl<Po.length;Rl++){var Kp=_.nyc(Lj,Po[Rl]);Jp.push(Kp)}var xl=_.Ej(Lm,2,Jp)}else{if(a instanceof _.nJ)var yl=_.zK(this,a,b);else{if(a instanceof _.CI)var Zn=bVc(a,b);else{if(a instanceof _.pJ){if(!b.json)throw _.AK();var Sl=IUc(b.json)}else{if(a instanceof _.ytc){if(!b.json)throw _.AK();var Lp=
qUc(XUc(this),b.json)}else{if(a instanceof _.RF){if(!b.json)throw _.AK();var Iu=XUc(this),Lq=b.json,Qo=new ONc,Ju=pUc(Iu,Lq);var Mp=_.I(Qo,2,Ju).Ac(1)}else{if(a instanceof _.qJ){if(!b.json)throw _.AK();var Zi=b.json;_.wK(["drive#remainingCount"],Zi);var vj=new PNc,Np=Zi.nextPageToken;null!=Np&&_.w(vj,2,Number(Np));_.w(vj,1,Number(Zi.remainingCount));var Tl=vj}else{if(a instanceof _.XF){if(!b.json)throw _.AK();var yh=(new _.UA).LA([KUc(this.H,b.json)])}else{if(a instanceof _.AJ){if(!b.json)throw _.AK();
var Wk=(new _.UA).LA(LUc(this.H,b.json)),$n=_.Mwc(new _.qK,Wk);var Kg=_.w($n,3,RKc(b.json))}else{if(a instanceof _.uJ)var nm=$Uc(a,b);else{if(a instanceof _.vJ)var Op=YUc(this,a,b);else{if(a instanceof _.wI)var Mq=_.zK(this,a,b);else{if(a instanceof _.wJ)var om=_.zK(this,a,b);else{if(a instanceof _.xJ)var Xk=cVc(this,b);else{if(a instanceof _.fD){if(!b.json)throw _.AK();var Nq=OUc(b.json),Zr=new rNc;var sw=_.I(Zr,3,Nq);var Pp=Nq.getKey();var cp=_.I(sw,4,Pp)}else{if(a instanceof _.yJ)var hr=ZUc(a,
b);else{if(a instanceof _.YH){if(!b.json)throw _.AK();var Tm=MSc(this.ta,b.json)}else{if(a instanceof _.YF){if(!b.json)throw _.AK();var Kt=PUc(b.json),ky=new _.hK;ky.NT().set(Kt.getId(),Kt);var ir=ky}else{if(a instanceof _.rtc){if(!b.json)throw _.AK();var DA=b.json,Yf;null!==(Yf=_.EJ(this.ka))&&void 0!==Yf&&_.Q(Yf,21,!1)&&(RSc.HIERARCHY_RECONCILIATION=3,jTc.UNMOVABLE_ITEM_REPARENTED=3);for(var Sw=new LOc,OC=_.m(Object.entries(DA)),fq=OC.next();!fq.done;fq=OC.next()){var PC=_.m(fq.value),iN=PC.next().value,
AF=PC.next().value;switch(iN){case "nextPageToken":_.Uj(Sw,2,AF);break;case "activities":var cJ=qTc(AF);_.Ej(Sw,1,cJ)}}var us=Sw}else{if(a instanceof _.ttc)var dJ=cVc(this,b);else{if("undefined"!=typeof _.xtc&&a instanceof _.xtc)var BF=aVc(this,b);else{if(a instanceof _.utc){if(!b.json)throw _.AK();var CF=new hPc}else{if(a instanceof _.vtc){if(!b.json)throw _.AK();var DF=$Ac(b)}else{if(a instanceof _.dD){if(!b.json)throw _.AK();var EF=b.json,Tw=new _.Mz;_.wK(["drive#settingList"],EF);for(var jN=[],
kN=EF.items||[],ly=0;ly<kN.length;ly++){var Lt=OUc(kN[ly]);Lt&&jN.push(Lt)}var FF=_.gkb(Tw,jN)}else{if(a instanceof _.Oz){if(!b.json)throw _.AK();var GF=UUc(this.O,this.Gg,b.json).Ac(1)}else{if(a instanceof _.WF){if(!b.json)throw _.AK();var lN=SUc(this.O,this.Gg,b.json)}else{if(a instanceof _.Dtc){if(!b.json)throw _.AK();var HF=b.json;_.wK(["drive#teamDrive"],HF);var eS=HF.recursiveFolderCount,qZ=HF.recursiveFileCount,mN=new eNc;var nN=_.w(mN,1,qZ);var oN=_.w(nN,2,eS)}else{if(a instanceof _.Ctc)var fS=
dVc(b);else{if(a instanceof _.Ftc){if(!b.json)throw _.AK();var gS=QUc(b.json)}else gS=a instanceof MK?cVc(this,b):null;fS=gS}oN=fS}lN=oN}GF=lN}FF=GF}DF=FF}CF=DF}BF=CF}dJ=BF}us=dJ}ir=us}Tm=ir}hr=Tm}cp=hr}Xk=cp}om=Xk}Mq=om}Op=Mq}nm=Op}Kg=nm}yh=Kg}Tl=yh}Mp=Tl}Lp=Mp}Sl=Lp}Zn=Sl}yl=Zn}xl=yl}Vk=xl}wl=Vk}Yn=wl}lm=Yn}Jq=lm}dk=Jq}Wa=dk}za=Wa}ta=za}U=ta}T=U}O=T}L=O}C=L}A=C}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var ZUc=function(a,b){if(!b.json){if(a instanceof _.WI)return VUc({});throw _.AK();}return VUc(b.json)},cVc=function(a,b){if(!b.json)throw _.AK();a=KUc(a.H,b.json);return(new _.CJ).Ac(1).setItem(a)},YUc=function(a,b,c){if(!c.json)throw _.AK();return oUc(XUc(a),b,c.json)},$Uc=function(a,b){if(!b.json)throw _.AK();return LTc(b.json,a.Jh())},aVc=function(a,b){if(!b.json)throw _.AK();a=a.wa;var c=b.json;_.wK(["drive#about","drive#changeList"],c);b=new aHc;var d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));
if("drive#changeList"===c.kind){d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));_.wK(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.wK(["drive#change"],h);var k=new _.qI;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.Osc(k,h.teamDriveId),_.rI(k,h.teamDriveId)):_.rI(k,h.fileId);h.file?k.setItem(_.kyc(f.H,h.file)):h.teamDrive&&k.setItem(KUc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.AI(k);d.push(k)}_.Ej(b,4,d)}return b},dVc=function(a){var b,c;if(!a.json)throw _.AK();
a=a.json;var d=a.result&&a.result.status;d=d&&eVc[d];var e=null!==(c=a.result&&(null===(b=a.result.sourceResults)||void 0===b?void 0:b.map(function(f){var h,k;return fOc(eOc(dOc(new _.cOc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.aOc;p=_.w(p,1,l.unmovableReason);return _.w(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return $Nc(ZNc(YNc(XNc(new gM,RKc(a)),a.processedFileCount).Ac(d),a.result&&a.result.validationToken),
e)},bVc=function(a,b){var c=new IOc;if(_.ie(a,6).length){var d=[];Zzc(_.ie(a,6),b.headers).forEach(function(e,f){var h=new _.Vsc;e=_.w(h,1,f).Hb(e);d.push(e)});_.Ej(c,1,d)}JOc(c,b.json?JSON.stringify(b.json):b.text);return c},eVc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var gVc=function(a){var b=new _.Eo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(fVc[a]);_.$J(b,c.join(" "))}return b.toString()},hVc={},fVc=(hVc[1]="active",hVc[2]="archived",hVc);
var iVc=function(a,b,c,d){_.BK.call(this,b,c,a.zMa,d);this.ma=a;this.ha=new gGc(_.YJ(c),b)};_.K(iVc,_.BK);
iVc.prototype.V=function(a,b,c){var d=this,e,f;try{return _.BK.prototype.V.call(this,a,b,c)}catch(U){}var h=0,k={},l="GET",p={},q=!1,r=!1;if(a instanceof _.KI){l="POST";var v="admin/files/"+a.getId()+"/migrateToTeamDrive";_.P(a,3)&&(p.useDomainAdminAccess=!0);p.fields="kind,id,parentId,teamDriveId";p.fileId=a.getId();_.xj(a,4)&&(p.preFlightValidationToken=_.B(a,4));var z=SKc(a);k["content-type"]="application/json";q=r=!0;_.GJ(this.H,[],[a.getId(),a.xk()],this.O,k)}else if(a instanceof _.LI){l="POST";
v="files/"+a.qc()+"/authorize";p.appId=a.Jh();_.P(a,3)&&(p.propagate=!0);var A=a.se();r=!0;_.XJ(p);_.GJ(this.H,[],[a.qc()],this.O,k)}else if(a instanceof MK)v="drives/"+a.getId(),l="PUT",z={},z=(z.removeSecureLinkUpdateForAllFiles=_.Q(a,2,!1),z),k["content-type"]="application/json",p.fields=pL(this.H,[],!0),A=a.se(),r=!0;else if(a instanceof _.ttc)l="POST",v="teamdrives/"+a.requestId,p.fields=pL(this.H),z={},z=(z.name=a.request.getTitle(),z),k["content-type"]="application/json",A=a.request.se(),r=
!0;else if(a instanceof _.PI)l="POST",v="workspaces",p.fields="kind,id,title,createdDate,modifiedDate,state",z=VKc(a),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.MI)l="POST",v="files/"+a.getId()+"/copy",p.fields=_.gtc({fields:this.Lg(c),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)}),p.convert=_.Q(a,4,!1),z=UKc(a),k["content-type"]="application/json",A=a.se(),a=_.ie(a,3).concat([a.getId()]),_.GJ(this.H,[],a,this.O,k),r=!0,_.XJ(p),_.Xyc(this.H,p);else if(a instanceof _.QI)l="DELETE",
v="apps/"+a.Jh(),p.appId=a.Jh(),p.deleteAppData=!!_.P(a,2),A=a.se(),r=!0;else if(a instanceof _.RI)l="DELETE",v="backups/"+a.getId(),h=9;else if(a instanceof _.SI)l="DELETE",v="files/"+a.getId(),A=a.se(),r=!0,_.XJ(p),_.Xyc(this.H,p),_.GJ(this.H,[],[a.getId()],this.O,k);else if(a instanceof _.TI)l="DELETE",v="files/"+a.qc()+"/permissions/"+_.B(a,2),A=a.se(),r=!0,_.XJ(p);else if(a instanceof _.UI)l="DELETE",v="files/"+a.qc()+"/revisions/"+_.B(a,2),A=a.se(),r=!0,_.GJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof
_.VI)l="DELETE",v="teamdrives/"+a.getId(),A=a.se(),r=!0;else if(a instanceof _.eD)l="DELETE",A=a.getKey(),v="settings/"+_.B(A,2),_.Zo(A)&&(p.namespace=aBc[_.Zo(A)]),A=a.se(),r=!0;else if(a instanceof _.WI)l="DELETE",v="workspaces/"+a.getId(),A=a.se(),r=!0;else if(a instanceof _.ZI)l="DELETE",v="files/trash",A=a.ld().se(),r=!0,_.Xyc(this.H,p);else if(a instanceof _.aJ)v="apps/"+a.Jh(),A=a.se(),r=!0,p.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(a instanceof _.jJ)v="backups/"+a.getId()+"/items",h=9,p.languageCode=SK(_.XH(this.H));else if(a instanceof _.bJ)l="POST",v="apps",p.appId=a.Jh(),A=a.se(),r=!0;else if(a instanceof _.fJ)l="POST",v="files/"+a.qc()+"/permissions",p.fields=_.lI(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",p.emailMessage=
_.B(a,5)||"",p.sendNotificationEmail=!_.Q(a,6,!1),z={},1==a.kf()?z.role="owner":3==a.kf()?z.role="writer":4==a.kf()?(z.role="reader",z.additionalRoles=["commenter"]):2==a.kf()&&(z.role="reader"),1==a.getType()?z.type="user":2==a.getType()?z.type="group":3==a.getType()?z.type="domain":4==a.getType()?z.type="anyone":5==a.getType()&&(z.type="audience"),a.Ya()&&(z.value=a.Ya()),z.withLink=!_.Q(a,8,!1),k["content-type"]="application/json",A=a.se(),r=!0,_.XJ(p);else if(a instanceof _.ptc)h=8,l="POST",v=
"/v1/exports",k["content-type"]="application/json",z=_.ie(a,1).map(function(U){if(_.Q(d.H,89,!1)){var ca=_.nwc(d.O,U);if(null!==ca)return{id:U,resource_key:{resource_key:ca}}}return{id:U}}),z={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:z,locale:null};else if(a instanceof _.mI||a instanceof _.cK||a instanceof _.Oz||a instanceof _.WF)if(b=a instanceof _.mI?a.ld():a,_.FJ(b)){h=10;l="POST";v="/v1/items";k["content-type"]="application/json";z={};var C=9==_.RJ(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",G={};G.applicationType=oGc(this.H);G.platformType=C;G.languageCode=SK(_.XH(this.H));G.timeZone=(new _.xt).k$();G.requestType="LIVE_REQUEST";a instanceof _.mI&&(C=a.getOptions())&&_.Q(C,10,!1)&&(G.requestType="BACKGROUND_REQUEST");if(b instanceof _.yf)if(_.gJ(b)){if(lGc(this.ha)){G.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.x(b,NCc,75))||void 0===e?void 0:_.x(e,OCc,1))||void 0===f?void 0:_.B(f,1))G.clientTags=G.clientTags||[],G.clientTags.push({name:a});this.Zf.O(106026)}else _.Q(b,
74,!1)?G.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":G.scenarioType="QUICK_ACCESS";2==_.PJ(b)&&(lGc(this.ha)||(G.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),z.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.ie(b,33)[0]});_.Cl(b).length&&(z.itemType=nGc(b))}else _.hJ(b)?G.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.iJ(b)&&(G.scenarioType="DRIVE_PRIORITY");else b instanceof _.cK?(v="/v1/userfeedback",z.userFeedback=_.Ab(b,_.VEc,1).map(function(U){var ca=_.x(U,_.eL,2),ba={},ma={};ma.feedbackType=
$Ec[ca.getType()];ba.item=ma;ba.clientInfo=G;switch(U.getFeature()){case 1:G.scenarioType="DRIVE_PRIORITY";ma.itemId=ca.qc();break;case 3:G.scenarioType="QUICK_ACCESS";ma.itemId=ca.qc();break;case 4:G.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";ma.itemId=ca.qc();break;case 2:G.scenarioType="DRIVE_WORKSPACES",ma.itemId=ca.qc(),ma.childItem=_.Ab(ca,_.eL,3).map(function(ta){var za={};za.itemId=ta.qc();return za})}return ba})):b instanceof _.Oz?G.scenarioType="DRIVE_WORKSPACES":b instanceof _.WF?(G.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",z.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Dp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.P(b,5)}]):_.$yc(a);b instanceof _.cK||(z.maxSuggestions=b.vi(),z.clientInfo=G)}else{A=b.se();r=!0;v="files";p.q=_.zvc(b);C=[];var H;(H=_.EJ(this.H))&&_.Q(H,4,!1)?(H=_.ya(this.Lg(c),this.Lg(c,b.H())),_.Fa(H)):H=_.Aa(this.Lg(c));var L=void 0,O=!1;0<_.Ab(b,_.tl,5).length&&(L=_.B(this.H.Vf(),50),O=!0);p.fields=Czc({fields:H,
yq:_.KH(_.XH(this.H)),e7:L||void 0,JE:_.lI(this.H),wBb:O});p.appDataFilter="NO_APP_DATA";0<_.Ab(b,_.OJ,25).length&&(p.sources=_.rvc(b));0<b.rB().length&&(p.spaces=_.svc(b));a.Vn()&&(p.pageToken=a.Vn());(a=a.getOptions())&&_.Oj(a,1,1E3)&&(p.maxResults=_.Oj(a,1,1E3));_.Q(b,36,!1)&&(p.includeUnsubscribed=!0);_.B(b,43)&&(p.rawUserQuery=_.B(b,43));_.XJ(p);p.includeItemsFromAllDrives=_.Q(b,66,!0);0<_.ie(b,33).length&&2==_.PJ(b)&&(a=_.ie(b,33)[0],p.teamDriveId=a,C.push(a));p.corpora=_.hvc[_.PJ(b)];_.P(b,
18)&&(_.$a(p,"corpora"),p.corpus="DOMAIN");a=_.Dl(b);H=_.Ab(b,_.ol,35);L=_.Ab(b,_.ol,38);C=C.concat(a.filter(function(U){return!_.Q(U,2,!1)}).map(function(U){return U.Ya()})).concat(H.map(function(U){return U.Ya()})).concat(L.map(function(U){return U.Ya()}));_.GJ(this.H,_.Ab(b,_.vl,63),C,this.O,k);eAc(p,b.Kc());_.Yyc(this.H,p);_.Zyc(this.H,p);_.x(b,_.mpa,64)&&(a=PCc(_.x(b,_.mpa,64)),a=_.ub(a,4),p.searchSessionData=a)}else if(a instanceof _.kJ){v="apps";switch(a.getType()){case 1:p.fields=jVc;break;
case 2:p.fields=kVc;break;case 4:p.fields=lVc;break;case 3:h=5,v="apps",p.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",p.appQueryScope="all_webstore",b.ru=!0}p.languageCode=SK(_.XH(this.H));0<_.ie(a,3).length&&(p.appFilterExtensions=_.ie(a,3).join(","));0<_.ie(a,4).length&&(p.appFilterMimeTypes=_.ie(a,4).join(","));A=a.se();r=!0}else if(a instanceof
_.qtc)v="backups",h=9,p.languageCode=SK(_.XH(this.H));else if(a instanceof _.yI)v="changes",p.includeDeleted=_.Q(a,3,!0),p.includeSubscribed=_.Q(a,4,!0),p.maxResults=a.RQ(),p.startChangeId=_.B(a,1),p.fields=Bzc({fields:this.Lg(c),e7:pL(this.H,_.ie(a,5)),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)}),p.appDataFilter="NO_APP_DATA",a.wc()||(p.filters="DRIVE_DATASERVICE"),A=_.ie(this.H.Vf(),31),A.length&&(p.spaces=_.wf(A,function(U){return _.rpc[U]}).join(",")),_.XJ(p),p.includeCorpusRemovals=!0,p.includeItemsFromAllDrives=
!0,a.wc()&&(p.teamDriveId=a.wc()),A=a.se(),r=!0;else if(a instanceof _.lJ)b=a.ld(),v="files/"+b.getId()+"/permissions",p.fields=_.lI(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.Vn()&&(p.pageToken=a.Vn()),_.B(a,1)&&(p.maxResults=_.B(a,1)),A=b.se(),r=!0,_.XJ(p),
_.Yyc(this.H,p),_.Zyc(this.H,p),_.GJ(this.H,[],[b.getId()],this.O,k);else if(a instanceof _.mJ)p.fields=_.lI(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))",p.maxResults=a.vi(),v="files/"+a.qc()+"/revisions",A=a.se(),r=!0,
_.GJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof _.nJ)l="POST",v="files/"+(_.B(a,1)||"")+"/migrateToDrive",_.P(a,3)&&(p.useDomainAdminAccess=!0),p.fields=_.gtc({fields:this.Lg(c),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)}),p.fileId=_.B(a,1),_.xj(a,4)&&(p.preFlightValidationToken=_.B(a,4)),z=TKc(a),k["content-type"]="application/json",q=r=!0,_.GJ(this.H,[],[_.B(a,1)||"",_.B(a,2)||""],this.O,k);else if(a instanceof _.XF)v="teamdrives/"+a.ln()[0],p.fields=pL(this.H,a.H()),A=a.se(),r=!0;else if(a instanceof
_.Ctc)l="POST",v="admin/files/migrateToTeamDrivePreFlight",_.P(a.request,3)&&(p.useDomainAdminAccess=!0),z=WKc(a),k["content-type"]="application/json",r=q=!0,_.GJ(this.H,[],_.ie(a.request,1),this.O,k);else if(a instanceof _.AJ)A=a.ld(),v="teamdrives",p.fields=XFc(this.H,A.H()),p.q=YFc(A),a.Vn()&&(p.pageToken=a.Vn()),(A=(A=a.getOptions())&&_.Oj(A,1,1E3))&&(p.maxResults=A),A=a.ld().se(),r=!0;else if(a instanceof _.Dtc)v="teamdrives/"+a.wc(),p.fields="kind,id,recursiveFileCount,recursiveFolderCount",
r=q=!0;else if(a instanceof _.uJ)l="PUT",v="apps/"+a.Jh(),p.appId=a.Jh(),z={},z.useByDefault=_.P(a,2),_.P(a,3)&&(z.hasAppData=!1),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.wI)l="PUT",v="files/"+a.getId(),p.fields=_.gtc({fields:this.Lg(c),yq:_.KH(_.XH(this.H)),JE:_.lI(this.H)}),p.modifiedDateBehavior="DRIVE_UI",p.updateViewedDate=!!_.P(a,15),p.fileId=a.getId(),_.ie(a,9).length&&(p.addParents=_.ie(a,9).join(",")),_.ie(a,10).length&&(p.removeParents=_.ie(a,10).join(",")),
_.ie(a,31).length&&(p.addWorkspaces=_.ie(a,31).join(",")),_.ie(a,32).length&&(p.removeWorkspaces=_.ie(a,32).join(",")),null!=_.P(a,24)&&(p.confirmed=_.P(a,24)),p.languageCode=SK(_.XH(this.H)),z=XKc(a),k["content-type"]="application/json",A=a.se(),r=!0,_.XJ(p),this.W(a.getId(),p),_.P(a,36)?p.bypassMultiparentingCheck=!0:_.Xyc(this.H,p),b=_.ie(a,9).concat(_.ie(a,10)),b.push(a.getId()),_.GJ(this.H,_.Ab(a,_.vl,38),b,this.O,k);else if(a instanceof _.wJ)l="PUT",v="files/"+a.qc()+"/revisions/"+_.B(a,2),
z=YKc(a),k["content-type"]="application/json",A=a.se(),_.GJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof _.xJ)v="teamdrives/"+a.getId(),null!=_.P(a,15)?(l="POST",v+="/"+(_.P(a,15)?"hide":"unhide")):(l="PUT",z=ZKc(a),k["content-type"]="application/json"),p.fields=pL(this.H),A=a.se(),r=!0;else if(a instanceof _.yJ)l="PUT",v="workspaces/"+a.getId(),p.fields="kind,id,title,createdDate,modifiedDate,state",z=$Kc(a),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.fD)l="PUT",
z=_.x(a,_.Yo,1),A=z.getKey(),v="settings/"+_.B(A,2),(A=_.Zo(A))&&(p.namespace=aBc[A]),z=bBc(z),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.YH)v="about",p.fields=_.lI(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),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",p.fields=eBc(p.fields,this.H),p.fields=fBc(p.fields,this.H),A=a.se(),r=!0;else if(a instanceof _.CI){h=11;l=a.Mz();v=a.getUrl();var T=_.B(a,5)||"";_.Ab(a,_.Vsc,2).forEach(function(U){k[U.getKey()]=
U.Ya()});_.Ab(a,_.Vsc,4).forEach(function(U){p[U.getKey()]=U.Ya()});_.P(a,7)&&(b.nLb=!0);_.P(a,8)&&(b.ru=!0);_.P(a,9)&&(b.JEa=!0)}else if(a instanceof _.stc)b=a.request.qc(),v="files/"+b+"/listCategoryMetadata",A=a.request.se(),a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),p.fields="kind,nextPageToken,categoryMetadata",_.GJ(this.H,[],[b],this.O,k);else if(a instanceof _.vJ)k["content-type"]="application/json",l="POST",b=a.qc(),v="files/"+b+"/updateCategoryMetadata",
A=a.se(),z={categoryMetadata:a.FV().map(function(U){var ca=_.Ab(U,_.PF,2).map(function(ma){return{id:ma.getId(),userId:ma.Yr(),setBooleanValue:_.P(ma,3),setTextValue:_.B(ma,4),setTextValues:_.ie(ma,6),addTextValues:_.ie(ma,5),setLongTextValue:_.B(ma,7),setSelectionValue:_.B(ma,8),setSelectionValues:_.ie(ma,10),addSelectionValues:_.ie(ma,9),setIntegerValue:_.B(ma,11),setIntegerValues:_.ie(ma,13),addIntegerValues:_.ie(ma,12),setUserValue:_.B(ma,14),setUserValues:_.ie(ma,16),addUserValues:_.ie(ma,15),
setDateStringValue:_.B(ma,17)}}),ba={categoryName:U.Cm()};ca.length?ba.categoryAttributeValueDeltas=ca:_.ie(U,4).length?ba.revertAttributeIds=_.ie(U,4):_.P(U,3)&&(ba.removeCategory=_.P(U,3));return ba})},_.GJ(this.H,[],[b],this.O,k);else if(a instanceof _.pJ)h=13,v=_.KH(_.XH(this.H))?"/v2/people/public":"/v2/people",p.person_id=a.ln(),p["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],p["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],
p["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.KH(_.XH(this.H))||(p["core_id_params.enable_private_names"]=!0);else if(a instanceof _.ytc)h=12,v="/v1/categories/-/published",k["content-type"]="application/json",a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),a.request.getCustomer()&&(p.customer=a.request.getCustomer()),p.$outputDefaults=!0,p.languageCode=SK(_.XH(this.H));else if(a instanceof _.RF)h=12,v="/v1/"+a.getName(),
k["content-type"]="application/json",p.$outputDefaults=!0,p.languageCode=SK(_.XH(this.H));else if(a instanceof _.NI)k["content-type"]="application/json",l="POST",v="drives/"+a.wc()+"/changeCategoryReferences",A=a.se(),r=!0,p.fields=pL(this.H,[157],!0),z={},b=_.Ab(a,_.Dk,2),b.length&&(z.addCategoryReferences=b.map(function(U){return{category:U.Cm()}})),a=_.Ab(a,_.Dk,3),a.length&&(z.removeCategoryReferences=a.map(function(U){return U.Cm()}));else if(a instanceof _.YF)v="workspaces/"+a.ln()[0],p.fields=
"kind,id,title,createdDate,modifiedDate,state",A=a.se(),r=!0;else if(a instanceof _.rtc){if(h=7,l="POST",v="/v2/activity:query",k["content-type"]="application/json",z={},z.pageSize=a.pageSize,a.pageToken&&(z.pageToken=a.pageToken),b="items/"+a.request.getId(),_.Q(a.request,2,!1)?z.ancestorName=b:z.itemName=b,z.consolidationStrategy={legacy:{}},a=_.EJ(this.H),(null===a||void 0===a?0:_.Q(a,13,!1))||(null===a||void 0===a?0:_.Q(a,21,!1)))b=[],(null===a||void 0===a?0:_.Q(a,13,!1))&&b.push("MULTIPARENTING_MIGRATION"),
(null===a||void 0===a?0:_.Q(a,21,!1))&&b.push("HIERARCHY_RECONCILIATION"),z.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:("+(b.join(" ")+")")}else a instanceof _.utc?(h=8,l="POST",v="/v1/exports/"+a.H+":cancel"):a instanceof _.vtc?(h=8,v="/v1/exports/"+a.H):"undefined"!=typeof _.xtc&&a instanceof _.xtc?(v="changes",p.fields="kind,largestChangeId",_.XJ(p),p.includeItemsFromAllDrives=!0,a.teamDriveId&&(p.teamDriveId=a.teamDriveId),A=a.H,r=!0):a instanceof _.dD?
(v="settings",A=_.ie(a,3),p.namespace=cBc(A),A=a.se(),r=!0):a instanceof _.Ftc?(v="workspaces",p.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),p.q=gVc(a.request),(A=a.request.lx())&&1==A.getType()&&(p.orderBy="title"),A=a.request.se(),r=!0):a instanceof _.qJ?(v="changes/getRemainingCount",p.pageToken=_.B(a,2),_.xj(a,3)&&(p.supportsTeamDrives=!0,p.includeItemsFromAllDrives=!0,p.teamDriveId=
a.wc()),A=a.se()):a instanceof _.JI?(k["content-type"]="application/json",l="POST",v="files/"+a.qc()+"/sendAccessRequest",z={},q=!0):_.$yc(a);r&&_.azc(c,p);0!=h||q||A&&_.B(A,1)||_.nK(this.Zf,74438989);return _.bzc(this,h,v,p,k,l,A,z,T)};iVc.prototype.W=function(a,b){a=this.ma.um.H(a);b.expectedParentIds=a?a.rk().join(","):[]};
var jVc=dBc("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"),kVc=
dBc("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"),
lVc=dBc("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");
var mVc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,C,G,H,L,O,T,U,ca){this.voa=_.Xh();this.lfa=new _.wwc;var ba=new _.Owc(this.eK.bind(this),function(){return T("w8KrJc")}),ma=new GSc(b.um),ta=new xSc(ba);c=new oSc(b,f,new iSc(d,e,c),h,this.voa.promise,k,l,c,T);d=new FSc(b,p,q,r,v,d,e,C,k);this.O=new _.zwc(a,z);z=new iVc(b,a,k,U);this.ysa=new WUc(k,a,A,C);this.H=QKc(a,new _.byc(this.O,this.lfa,z,this.ysa,G,H,L),H,A,O,b.um,this.lfa,this.voa.promise,L||void 0);this.voa.resolve(ca?ca:new _.Axc(new HSc,ma,
ta,this.H,ba,c,d,a))};mVc.prototype.eK=function(){return _.Ta(this.H,function(a){return a.eK()})};var nPc=function(a){var b=new Map,c=Date.now();_.Qa(a.H,function(d,e){d=oEc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var nVc=function(a,b){var c=this;this.context=a;this.Gg=b;this.ka=null;this.DR=0;this.ma=this.active=!1;this.H=this.wa=null;this.W={};this.Ha=this.Fa=!1;this.Zf=a.jk();this.ha=_.Xh();this.O=a.Ic;this.Ja=_.EJ(this.O)||new _.quc;b=_.TK(this.O);this.Ba=new _.owc(_.Oj(b,2,37500),_.Oj(b,3,6E5));this.ta=a.vQ;_.Qa(CGc,function(d){c.W[d]=[]});this.V=a.Af.It;yL(a.Nj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});yL(a.Nj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});yL(a.Nj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.hL().tg(_.cg)})};_.g=nVc.prototype;_.g.initialize=function(){var a=this;this.Fa||(this.Fa=!0,sM(this.context).addCallback(function(b){a.ta.initialize().Wf(function(){a.ka=b;a.setActive(!0)},function(c){c&&TDc(a.context.He(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.GI(c));a.log("Error initializing dump storage");a.kS()})}))};
_.g.isInitialized=function(){return!!this.ka||this.ma};_.g.hna=function(a){this.active&&(this.DR+=a,this.DR>_.Oj(_.TK(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.bR().eK()||0<b.Af.xI.Mna||b.Fj().Oe()||b.wk().Oe())||((this.active=a)?(this.ha.resolve(),this.H||this.hL().tg(_.cg)):(this.ha=_.Xh(),_.n.clearTimeout(this.wa)))}};_.g.kS=function(){this.ma=!0};_.g.RWa=function(){return this.H?this.H.promise:_.Uh()};
_.g.hL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.Xh();_.Zh(this.H.promise,function(){a.H=null});var b=this.Zf.H(106021)||void 0;this.ha.promise.then(function(){return KKc(a.context.tD)}).then(function(c){var d=!c;return a.ma?d:_.Wh([oVc(a,3,d,void 0,void 0,b),oVc(a,0,d,void 0,!0,b),oVc(a,1,d,void 0,!0,b),oVc(a,5,d,void 0,!0,b),oVc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Nc("Failed to update dump",void 0,_.GI(e));return _.Vh(e)})},function(){return _.Vh(Error("sg"))}).then(function(c){a.H.resolve(c);
b&&(c=aEc(b),_.w(c,2,!0),b.vj())},function(c){a.H.reject(c);b&&(c=aEc(b),_.w(c,2,!1),b.vj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.$h,e=this.Zf.H(106021)||void 0;e&&(GDc(aEc(e),_.eK(_.nsc,a)),d.then(function(){var f=aEc(e);_.w(f,2,!0);e.vj()},function(){var f=aEc(e);_.w(f,2,!1);e.vj()}));this.ha.promise.then(function(){return KKc(c.context.tD)}).then(function(f){f=!f;c.ma?d.callback():_.ci(oVc(c,a,f,b,void 0,e),d)});return d};
var oVc=function(a,b,c,d,e,f){var h=_.ia(a.W[b]);if(h){if(h.encrypt===c&&1<a.W[b].length)return h.jf.$m();var k=new _.$h;_.bi(h.jf,function(){_.ci(a.Ju(b,c,d,e,f),k)})}else k=a.Ju(b,c,d,e,f);var l={encrypt:c,jf:k};a.W[b].push(l);_.bi(k,function(){_.xa(a.W[b],function(p){return l===p})});k.Cg(function(p){a.ta.O.Gf()?a.kS():p instanceof _.Nc&&(p=p.O||null,p instanceof _.OH&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.kS());return null});
return k};
nVc.prototype.Ju=function(a,b,c,d,e){var f=this,h=new _.$h;this.ha.promise.then(function(){if(3===a)_.ci(pVc(f,c||!1,b,e),h);else{switch(a){case 0:var k=xPc(f.context.TP);break;case 1:k=f.context.LZ.kr();break;case 5:k=qVc(f.context.eE);break;case 6:k=sIc(f.context.Af.tq);break;default:h.Gd("Invalid data type to write to storage.");return}if(k){var l=_.Ab(_.TK(f.O),RK,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):HJc(f.ta,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Gd(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Gd("Failed to get data to write to dump.")}});return h};
var pVc=function(a,b,c,d){_.n.clearTimeout(a.wa);a.wa=_.n.setTimeout((0,_.M)(a.Pa,a),a.Ba.Ya());if(b&&0===a.DR)return _.ei();a.DR=0;b=_.Ab(_.TK(a.O),RK,11)[0].getKey();if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),_.ei();for(var e=[],f=_.m(rVc(a)),h=f.next();!h.done;h=f.next())h=sVc(a,h.value),h.length&&e.push(HJc(a.ta,c?b:null,h,d));var k=new _.$h;Promise.all(e).then(function(){a.Ha&&a.context.tD.set(IKc,!0);k.callback()},function(l){return void k.Gd(l)});return k},rVc=function(a){var b,
c,d,e=Object.values(BFc).filter(function(f){return 0<f&&!tVc.includes(f)});(null===(b=_.EJ(a.context.Ic))||void 0===b?0:_.Q(b,17,!1))?(null===(c=a.V.H)||void 0===c?0:c.mD)||null===(d=a.V.O)||void 0===d||!d.mD?e.push(2):e.push(5):e.push(2);return e};nVc.prototype.Pa=function(){_.TH(this.Ba);this.update(3,!0)};
var sVc=function(a,b){switch(b){case 1:return[uVc(a)];case 2:return b=a.V.H,a=AFc(vVc(a,b),2),b&&yFc(a,b.xN()),[a];case 5:return b=a.V.O,a=AFc(vVc(a,b),5),b&&(yFc(a,b.xN()),b=zHc(b),_.Cj(a,14,b)),[a];case 3:return wVc(a);case 4:return xVc(a);default:throw new _.Nc("Unsupported CacheType");}},uVc=function(a){for(var b={},c=[],d=IHc(a.V,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.iy(),l=yVc(a,FAc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ka(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=sFc(new iL,h.ld()),
h.H||(_.w(l,2,k),_.I(l,3,p),e=!1),c.push(l)}d=_.Va(b);a.log("Exporting "+d.length+" initial dump items.");return yFc(AFc(xFc(vFc(wFc(zFc((new jL).Yy(a.context.ju()),_.YJ(a.Gg)),a.ka.YQ(null)),zVc(d)),c),1),!e)},vVc=function(a,b){var c=b?b.iy():[];c=yVc(a,_.Va(GAc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Oj(_.TK(a.O),5,2E4)&&(b&&BL(b,!1),c=[]);c=vFc(new jL,zVc(c));var d=new OAc;(a=a.V.H)&&a.mD&&(a=a.iy(),_.w(d,3,a.length));a=_.I(c,11,d);b&&yFc(a,b.xN());return a},wVc=function(a){var b=
[],c=a.ka;a.V.ZV().forEach(function(d){var e=c.YQ(d.wc());if(e){var f=yVc(a,FAc(d.iy()));a.log("Exporting "+f.length+" TD dump items for: "+d.wc());e=yFc(AFc(wFc(vFc(new jL,zVc(f)),e),3),d.xN());d=sFc(new iL,d.ld());xFc(e,[d]);b.push(e)}});return b},xVc=function(a){var b={},c=[];a.context.Af.ZV().forEach(function(d){1===d.AV()&&null==_.P(d.ld(),6)&&(FAc(d.iy()).forEach(function(e){b[e.getId()]=e}),d=tFc(sFc(new iL,new _.yf),d.ld()),c.push(d))});return[yFc(AFc(xFc(vFc(new jL,zVc(Object.values(b))),
c),4),!1)]},yVc=function(a,b){b=dAc(b);_.P(a.O,67)&&(b=AVc(b));_.lI(a.O)&&(_.Q(a.Ja,9,!1)?vIc(a.context.Af.tq,b)&&(_.nK(a.Zf,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=tIc(a.context.Af.tq,b)):b=tIc(a.context.Af.tq,b));return b.filter(function(c){return 4!==c.tv()})},AVc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Tzc(c)?(c=c.clone(),Dzc(c,Szc),b.push(c)):b.push(c);return b},zVc=function(a){return a.map(function(b){return b.clone()})};
nVc.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};nVc.prototype.SDa=function(){this.Ha=!0};var tVc=[2,5];
var BVc=function(){};_.g=BVc.prototype;_.g.setActive=function(){};_.g.kS=function(){};_.g.update=function(){return _.ei()};_.g.RWa=function(){return _.Uh()};_.g.hL=function(){return _.Uh()};_.g.hna=function(){};_.g.SDa=function(){};
var PK=function(a,b,c,d){_.xi.call(this);var e=this;this.Aa=a;this.jw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.wa=d||new _.Yuc;this.Ic=b.clone();(a=_.EJ(this.Ic))&&_.Q(a,1,!1)&&_.aI(this.Ic,28);this.Gg=new _.nvc(this.Ic);this.wm=new gGc(_.YJ(this.Gg),this.Ic);CVc(this);this.xX=new _.on;this.ob=_.n.setTimeout(function(){e.He().info("drive.ds.sync.ThinContext","Page stable timed out.");e.xX.resolve();e.jk().O(106020)},1E4);this.KZ=new _.$h;this.Ba=new _.Qvc(_.SJ(this.Ic),_.Q(this.Ic.Vf(),
52,!1));this.connectionState=new _.Jvc(_.SJ(this.Ic)?3:1,!_.Q(this.Ic.Vf(),52,!1));this.Zf=_.fwc(this.Ic,this.Ba,this.connectionState,this.wa,this.xX.promise,this.jw);this.mfa=new OGc(this.Zf);this.bQ=new _.$h;this.log("Enabled experiments: "+this.jk().W.W);DVc(this)};_.K(PK,_.xi);PK.prototype.getEnvironment=function(){return this.jw};PK.prototype.dS=function(){this.He().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.ob);this.xX.resolve()};
var DVc=function(a){var b=function(){a.Eu().tg(_.cg)},c=a.Aa;(c=c&&_.Hc(c,_.gl))?_.ri(c,"w",b):_.vsc()||_.ri(_.n,"unload",b)};PK.prototype.Eu=function(){this.Zf.O(106005);eEc(this.Zf);var a=this.ma.map(function(b){return b()});_.qa(this.ma);return _.eI(a).then()};var EVc=function(a,b){a.ma.push(b)};_.g=PK.prototype;_.g.He=function(){return this.wa};_.g.Yy=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.KZ.callback(a),a.length&&this.H4a(a,b||null))};_.g.H4a=function(){};
_.g.ju=function(){return this.rootId};_.g.jk=function(){return this.Zf};var FVc=function(a){if(!a.ha)throw Error("tg");return a.ha},GVc=function(a,b){a.ha=b};PK.prototype.yB=function(){return this.Fa||this.connectionState.isConnected()};PK.prototype.Fj=function(){return this.Ba};PK.prototype.wk=function(){return this.connectionState};PK.prototype.KOb=function(a){this.bQ.callback(a)};
var CVc=function(a){var b=a.Ic.Vf();0===_.ie(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.D(b,37,""))throw Error("ug");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.Q(_.TK(a.Ic),9,!1))if(b=_.Ab(_.TK(a.Ic),RK,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.SJ(a.Ic)&&!_.Q(a.Ic,10,!1))throw Error("vg");}else _.w(_.TK(a.Ic),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.Q(_.TK(a.Ic),9,!1)&&(_.SJ(a.Ic)||_.Q(a.Ic,10,!1)))throw Error("wg");var c=_.XH(a.Ic);b=!(!c||!_.KH(c));c=c&&_.QJ(c)||"";if(!b&&!c)throw Error("xg");b&&_.Fj(a.Ic,44);_.Ab(a.Ic,_.yf,44).forEach(function(d){try{jGc(a.wm,d)}catch(e){if(e instanceof _.Nc&&(d=e.Fg)&&3===d.kv())throw Error("yg");throw e;}})};PK.prototype.mJ=function(a){this.dispatchEvent(new _.Oc(new _.Nc(void 0,a)))};PK.prototype.log=function(a){this.He().info("drive.ds.sync.ThinContext",a)};
var HVc=function(a,b){this.H=a;this.Fe=b};
var IVc=new Set([5,4,1,6,2]),JVc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),KVc=function(a,b,c){_.xi.call(this);this.ha=a;this.V=b;this.W=c;this.DF=new Map;this.O=new Map;this.status=6;this.H=null};_.K(KVc,_.xi);
KVc.prototype.cQ=function(a,b,c,d){var e=this;if((d=void 0===d?!1:d)&&!c.length){var f=new Set;a.forEach(function(q){(q=(q=q.getKey())&&_.Zo(q))&&f.add(q)});[].concat(_.Jd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=IVc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.B(r,2);r=k.get(r&&_.Zo(r));v&&r&&r.set(v,LVc(q))});var l=0,p=0;[].concat(_.Jd(k.keys())).forEach(function(q){var r=k.get(q),v=e.DF.get(q);v?h&&(r.forEach(function(z){var A=
z.getKey();(A=v.get(A&&_.B(A,2)))&&_.Nj(z,A)||l++}),[].concat(_.Jd(v.values())).forEach(function(z){z=z.getKey();r.has(_.B(z,2))||p++}),e.DF.set(q,r),e.O.set(q,b)):(l+=r.size,e.DF.set(q,r),e.O.set(q,b))});this.ha.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+a.length+" user prefs from "+b+(p?" (removed "+p+")":""));if(1!==this.status||l){if(h||d)this.status=1,zL(this.V,"px2C2c");zL(this.V,"rkYxSd")}(l||p)&&MVc(this,!h)}};KVc.prototype.QG=function(){return 0<this.DF.size};
var MVc=function(a,b){b||a.H||(a.H=_.n.setTimeout(function(){_.n.clearTimeout(a.H);a.H=null;a.W.update(5)},1E3));a.dispatchEvent(new _.ni("WPi0i"))};KVc.prototype.put=function(a){var b=a.getKey(),c=b&&_.Zo(b);b=b&&_.B(b,2);if(c&&b&&(c=this.DF.get(c))){var d=c.get(b);a=LVc(a);d&&_.Nj(a,d)||(c.set(b,a),MVc(this))}};KVc.prototype.remove=function(a){var b=a&&_.Zo(a);a=a&&_.B(a,2);b&&a&&(b=this.DF.get(b))&&b.delete(a)&&MVc(this)};
var qVc=function(a,b){var c=[];(b||[].concat(_.Jd(a.DF.keys()))).forEach(function(e){(e=a.DF.get(e))&&[].concat(_.Jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.DF.has(e)}):[].concat(_.Jd(a.DF.keys()));var d=new MEc;_.Ej(d,1,c);_.Cj(d,2,b);return d};
KVc.prototype.KG=function(a){var b=this,c=qVc(this,a),d=new _.Mz;d.Ac(this.status);_.gkb(d,_.Ab(c,_.Yo,1));_.I(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);JVc.has(f)&&Infinity>JVc.get(f)&&(e=f)});return new HVc(d,e)};var LVc=function(a){a=a.clone();a.Sg()||a.Hb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var NVc=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},PVc=function(a,b){return OVc(a[b])+(OVc(a[b+1])<<8)+(OVc(a[b+2])<<16)+(OVc(a[b+3])<<24)},OVc=function(a){return 127<a?a-256:a};
var QK=function(a,b,c,d,e,f){PK.call(this,a,b,c,d);var h=this;this.Ta=_.Xh();this.lt=new FL;this.W=null;this.O=_.Xh();this.Ha=new _.$h;this.Z5=null;this.ofa=new LIc;this.V=null;this.$a=_.Xh();this.ta=new _.$h;this.NF=new rJc;this.wz=new VIc;this.Vga=new SIc;this.U$=new _.on;this.Ja=!1;this.nfa=new _.on;this.H={};this.ka=null;this.Ib=new _.jf;this.La(this.Ib);this.Nj=e?e:new tHc(this.He());this.jk().W.O=this.Nj;this.FL=_.Q(_.TK(b),9,!1)&&gBc()?QVc(this,b):null;this.Av=new aGc(SK(_.XH(b)));this.tD=
RVc(this,this.FL);this.vQ=SVc(this,this.FL,b);this.Af=new wM(this,this.Gg);this.Hs=TVc(this);(a=(a=_.x(this.Ic,_.Fk,12))&&a.getId())&&this.Yy(a,6);this.TP=new wPc(this.Ic,this.Af.tq,this.Nj,this.He(),this.Hs);this.LZ=new CPc(this.He(),this.Nj,this.Hs);this.eE=new KVc(this.He(),this.Nj,this.Hs);this.yI=new GGc(this.Pm(),this.He(),function(k){return void h.mJ(k)});this.gz=_.Q(this.Ic.Vf(),52,!1)?new _.oK(this.wk(),this.Pm(),this.He(),this.jk()):null;yL(this.Nj,["mrK8ic"],function(){h.$a.promise.then(function(){hQc(h,
h.V)})});this.DMa=new nJc(this.Ic);this.OA=new _.Hwc(this.Ic,this.Af.um);this.zsa=new eSc(this);this.Y5=new PIc(this.O.promise,this.Pm());this.hb=new TIc(this.Pm(),this.Y5);this.pfa=new jJc(this.O.promise,this.Pm(),this.He(),this.Ic);this.Pa=new mVc(this.Ic,this.Af,this.mJ.bind(this),this.Y5,this.hb,this.Hs,this.ofa,this.Gg,this.ju.bind(this),this.zsa,this.LZ,this.eE,this.pfa,this.NF,this.He(),this.DMa,this.OA,this.yI,this.gz,this.Fj(),this.Jpb.bind(this),this.jk(),f);this.Ta.resolve(this.Pa);this.DJa=
new PRc(this);yL(this.Nj,["BNEDtc"],function(){return h.nfa.resolve()});EVc(this,function(){h.Hs.kS();return _.Uh()})};_.K(QK,PK);
var QVc=function(a,b){var c=_.QJ(_.XH(b)),d=_.RJ(b),e=function(){},f=_.Ab(_.TK(b),RK,11);f=f[0]&&_.B(f[0],1);var h=new cKc(c,d,_.Oj(_.TK(b),10,0)||0,f||"",_.YJ(a.Gg));_.SJ(b)?c=xKc(c,d).then(function(l){return l?l:h}):_.Q(b,10,!1)&&0<_.Oj(_.TK(b),8,432E6)?(b=UVc(a,c),c=xKc(c,d,b).then(function(l){return l&&(e=function(p){return p.Jl(h).tg(function(){return null})},!l.ha)?l:h})):c=_.Uh(h);var k=new NL(c,a.He(),a.jk());k.initialize().then(function(){return e(k)},function(){return null});return k},UVc=
function(a,b){var c=_.Oj(_.TK(a.Ic),8,432E6);if(!_.SJ(a.Ic)&&0<c){a=Math;var d=a.abs;b=_.Ema(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=PVc(b,e),h.b+=PVc(b,e+4),h.c+=PVc(b,e+8),NVc(h);h.c+=f;switch(k){case 11:h.c+=b[e+10]<<24;case 10:h.c+=(b[e+9]&255)<<16;case 9:h.c+=(b[e+8]&255)<<8;case 8:h.b+=PVc(b,e+4);h.a+=PVc(b,e);break;case 7:h.b+=(b[e+6]&255)<<16;case 6:h.b+=(b[e+5]&255)<<8;case 5:h.b+=b[e+4]&255;case 4:h.a+=PVc(b,e);break;case 3:h.a+=
(b[e+2]&255)<<16;case 2:h.a+=(b[e+1]&255)<<8;case 1:h.a+=b[e]&255}b=NVc(h);return d.call(a,b)%c}};QK.prototype.Vy=function(a){var b=this;return this.FL?this.FL.Gf()?_.Vh(Error("zg`"+jKc(this.FL))):KKc(this.tD).then(function(c){var d=b.FL,e=[];e.push(b.Hs.RWa());e.push(a?d.Jl():tKc(d));if(a===c)return _.Wh(e).then(function(){return!1});!1===a&&(e.push(iKc(d)),(c=b.ju())&&e.push(b.tD.Yy(c)));return _.Wh(e).then(function(){return b.tD.Vy(a)},function(){return!1})}):_.Vh(Error("Ag"))};
var SVc=function(a,b,c){var d=null;b&&(d=new BJc(b,c,function(e){a.mJ(e)},a.jk()),d.initialize());return d},RVc=function(a,b){var c=new JKc(b||void 0);c.ju().then(function(d){d&&a.Yy(d,5)});b&&(KKc(c).then(function(d){a.Fj().Vy(d)}),_.Wh([b.initialize(),a.xX.promise]).then(function(){VVc(a,c)},function(){}));return c},VVc=function(a,b){NKc(b).then(function(c){(!c||c<Date.now()-864E5)&&AKc(_.QJ(_.XH(a.Ic)),_.RJ(a.Ic),a.He()).then(function(d){d&&(d=Date.now(),b.set(HKc,d))},function(){})})},TVc=function(a){if(!a.vQ)return new BVc;
var b=new nVc(a,a.Gg);a.Ib.listen(a.Fj(),"Bb",function(c){return void b.setActive(!c.Oe())});a.Ib.listen(a.wk(),[].concat(_.Jd(Object.values(_.KB))),function(){return void b.setActive(a.wk().isConnected())});return b};QK.prototype.fY=function(a){this.Z5=a;this.Ha.callback(a)};var sM=function(a){return a.Ha.$m()},mPc=function(a){return a.FL?a.FL.Gf():null},WVc=function(a,b){a.Nj.H("NSockf")?zL(a.Nj,b):yL(a.Nj,["NSockf"],function(){zL(a.Nj,b)})};
QK.prototype.H4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.lt.Yy(a),this.wm.Yy(a),6!==b&&1!==b||this.tD.Yy(a),WVc(this,"jroI5d"))};QK.prototype.RVa=function(){return this.ta.$m()};var hQc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.ta.Yf()||(a.ta.callback(b),WVc(a,"T8oKm")))},HPc=function(a){if(!a.W)throw Error("Bg");return a.W};_.g=QK.prototype;_.g.bR=function(){return this.Pa};_.g.Pm=function(){return this.Ta.promise.then(function(a){return a.voa.promise})};
_.g.RDa=function(){this.Ja||(this.Ja=!0,this.U$.resolve(),zL(this.Nj,"aU7Ts"))};_.g.yB=function(){throw Error("Cg");};_.g.Jpb=function(a){this.dispatchEvent(a)};var XVc=function(a,b){vRc(a.Af,b)},YVc=function(a,b,c){a.H[b]=c},fPc=function(a){a.ka||(a.ka=new aJc(a.O.promise,a.Pm(),a.He()));return a.ka};
var AM=function(a,b,c){_.xi.call(this);var d=this;this.Fa=a;this.logName=b;this.wa=_.Xh();this.Ba=this.channel=this.clientId=null;c.then(function(e){return ZVc(d,e)})};_.K(AM,_.xi);var ZVc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;qL(a.channel,a.Fa,function(c){c=yGc(c);a.B$(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.wa.resolve()};AM.prototype.B$=function(){};
AM.prototype.send=function(a,b,c,d){var e=this,f=_.Xh();this.wa.promise.then(function(){var h=e.channel;rL(h,e.Fa,uGc(new tGc(e.clientId,a,b,d),h.W),function(k){return void $Vc(k,a,f,c||function(){})})});return f.promise};var $Vc=function(a,b,c,d){a=yGc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.Lc,_.sI(d,2),_.tI(d,6),_.w(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.Nc(void 0,d)))};AM.prototype.log=function(a){this.Ba&&this.Ba.info(this.logName,a)};
var aWc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var BM=function(a,b){_.N.call(this);this.V=a;this.wa=b;this.Ja=this.OU()};_.K(BM,_.N);BM.prototype.registerService=function(a){var b=this;qL(a,this.V,function(c){return b.Ew(c)})};
BM.prototype.Ew=function(a){var b=this;a=vGc(a);var c=a.H,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof wGc)return xGc(f,c);if(f.then)return f.then(function(h){return xGc(h,c)},function(h){h=_.uI(h);return xGc(b.ad(void 0,h),c)})}catch(h){e=_.GI(h)}f=new _.Lc;_.sI(f,2);_.tI(f,3);_.cq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.w(f,20,e.stack);return xGc(this.ad(void 0,f),c)};
BM.prototype.ad=function(a,b,c){if(a&&!b)return new wGc(a,void 0,c);a=_.uI(b);return new wGc(void 0,a,c)};BM.prototype.update=function(a,b,c,d){(a=this.wa.channels[a]||null)&&rL(a,this.V,xGc(this.ad(c,d,b),a.W))};
var bWc=function(){this.channels={};this.H=this.O=this.V=0},cWc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ua(a.channels));return c},dWc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var eWc=function(a,b){BM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.Af;this.O=this.context.pfa;this.W=fPc(this.context);this.ka=this.context.Y5};_.K(eWc,BM);
eWc.prototype.OU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.yf);return a.Yh(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.LH);return a.Yh(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.SF);return a.Yh(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.XF);return a.Yh(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=OK(c.args[0],!!c.H,_.yf);return a.Zj(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.LH);return a.Zj(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.SF);return a.Zj(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.XF);return a.Zj(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=OK(c.args[0],!!c.H,_.SF);c=OK(c.args[1],!!c.H,_.SF);return a.RY(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=OK(c.args[0],!!c.H,_.XF);c=OK(c.args[1],!!c.H,_.XF);return a.RY(d,e,c)},b["4.7"]=function(c){return a.CF(c)},b["4.8"]=function(c){return a.CF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.Qz);return a.Yh(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.YF);return a.Yh(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.Qz);return a.Zj(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=OK(c.args[0],!!c.H,_.YF);return a.Zj(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.eG);return a.Yh(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.eG);return a.Zj(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.Oz);return a.Yh(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=OK(c.args[0],!!c.H,_.Oz);return a.Zj(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.Oz){var d=a.W;JIc(d,d.getKey(c)).refresh()}return a.ad([])},b};eWc.prototype.Yh=function(a,b){var c=this,d=new _.on;this.H[a]={query:b,YTb:d.promise};b instanceof _.Qz?d.resolve(this.O.Yh(a,b)):b instanceof _.YF?d.resolve(HIc(this.O,a,b)):b instanceof _.Oz?d.resolve(this.W.Yh(a,b)):b instanceof _.eG?d.resolve(this.ka.Yh(a,b)):d.resolve(this.ha.Yh(a,b));return d.promise.then(function(){return c.ad([])})};eWc.prototype.Zj=function(a,b){fWc(this,a,b);return this.ad([])};
var fWc=function(a,b,c){delete a.H[b];c instanceof _.Qz?a.O.Zj(b,c):c instanceof _.YF?IIc(a.O,b,c):c instanceof _.Oz?a.W.Zj(b,c):c instanceof _.eG?a.ka.Zj(b,c):a.ha.Zj(b,c)};_.g=eWc.prototype;_.g.RY=function(a,b,c){fWc(this,a,b);return this.Yh(a,c)};_.g.CF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.Hi(a.args[0]);c instanceof _.Qz?this.O.Yh(b,c):c instanceof _.YF?HIc(this.O,b,c):c instanceof _.Oz?this.W.Yh(b,c):c instanceof _.eG?this.ka.Yh(b,c):this.ha.Yh(b,c);return this.ad([])};
_.g.lO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.ch(a[0]),f=a[1];d.YTb.then(function(h){b instanceof _.mK||b instanceof _.jK?c.update(e,f,[b.response,b.pageToken,b.H,b.Fe,h]):(d.query instanceof _.yf?Fzc(d.query.H(),b.Ad().filter(function(k){return!lL(k)})):d.query instanceof _.SF&&Fzc(d.query.H(),Object.values(b.Qr()).filter(function(k){return k&&!lL(k)})),c.update(e,f,[b,h]))})}};
_.g.IX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.ch(c[0]);c=c[1];var d=b.error;d.kfa(b.H);this.update(a,c,void 0,d)}};_.g.lA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.ch(a[0]),a[1],["cacheRefresh"]))};_.g.U8=function(){};_.g.xka=function(a){if(!this.H[a])throw Error("dg`"+a);return this.H[a].query};var gWc=function(a,b){_.Qa(a.H,function(c,d){_.ch(d.split(":")[0])===b&&fWc(a,d,c.query)})};
var hWc=function(a,b,c){AM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.K(hWc,AM);hWc.prototype.Pwa=function(a){var b=this;a=new SOc(this.context.wm,this.context.bQ,this.context.He(),this.context.Ic,function(c,d){return b.CF(c,d)},a,this.context.jk());iWc(this,a);return a};hWc.prototype.Swa=function(a){var b=this;a=new WOc(this.context.wm,this.context.bQ,this.context.He(),function(c,d){return b.CF(c,d)},a,this.context.Ic);iWc(this,a);return a};
var iWc=function(a,b){a.Yh(b);_.$e(b,function(){a.Zj(b);a.send("4.3",[b.ld()],void 0,b.Qi())});a.send("4.1",[b.ld()],void 0,b.Qi())};_.g=hWc.prototype;_.g.Mwa=function(a){var b=this,c=new HEc(this.context.Ic,this.context.wm,this.context.He(),this.context.KZ,this.RY.bind(this),a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.4",[c.ld()],void 0,c.Qi())});this.send("4.2",[c.ld()],void 0,c.Qi());return c};
_.g.Vwa=function(a){var b=this,c=new $Oc(this.context.He(),a,this,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.11",[c.ld()],void 0,c.Qi())});this.send("4.9",[c.ld()],void 0,c.Qi());return c};_.g.Wwa=function(a){var b=this,c=new aPc(this.context,this,a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.12",[c.ld()],void 0,c.Qi())});this.send("4.10",[c.ld()],void 0,c.Qi());return c};
_.g.Zwa=function(a){var b=this,c=new dPc(this.context,a,this);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.15",[c.ld()],void 0,c.Qi())});this.send("4.13",[c.ld()],void 0,c.Qi());return c};_.g.$wa=function(a){var b=this,c=new VOc(this.context.He(),a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.16",[c.ld()],void 0,c.Qi())});this.send("4.14",[c.ld()],void 0,c.Qi());return c};
_.g.Twa=function(a){var b=this,c=new ZOc(this.context,a,function(){b.send("4.21",[],void 0,c.Qi())});this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.23",[c.ld()],void 0,c.Qi())});this.send("4.22",[c.ld()],void 0,c.Qi());return c};_.g.Iwa=function(a){var b=this,c=new QOc(this.context.Fj(),this.context.wk(),this.context.He(),function(d,e){return b.CF(d,e)},a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.19",[c.ld()],void 0,c.Qi())});this.send("4.18",[c.ld()],void 0,c.Qi());return c};
_.g.Yh=function(a){this.H.create(a.Qi(),a.ld());this.O[a.Qi()]=a};_.g.Zj=function(a){sL(this.H,a.Qi(),4);delete this.O[a.Qi()]};_.g.RY=function(a,b,c){if(b instanceof _.SF&&c instanceof _.SF)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.XF&&c instanceof _.XF)this.send("4.6",[b,c],void 0,a);else throw Error("Dg");};
_.g.CF=function(a,b){if(!this.O[a])throw Error("dg`"+a);var c=this.O[a];if(c.ld()instanceof _.yf)var d="4.7";else if(c.ld()instanceof _.LH)d="4.8";else if(c.ld()instanceof _.eG)d="4.20";else if(c.ld()instanceof _.Qz)d="4.17";else throw Error("Eg");c.ld().Hi(b);this.send(d,[b],void 0,a)};
_.g.B$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)a.tB(new ZK(d,d.N5())),sL(this.H,a.Qi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.iW();return}var h=a.ld();if(h instanceof _.yf||h instanceof _.LH)h instanceof _.yf&&_.hJ(h)?e=OK(d,b,_.gK):e=OK(d,b,_.UA);else if(h instanceof _.SF||h instanceof _.XF)b?(e=new _.fK,BEc(e,function(k){return new _.Fk(JSON.parse(k))},d)):e=d;else if(h instanceof _.eG)e=new _.jK(OK(d,b,vL),c[f++],c[f++],c[f++]);else if(h instanceof _.Qz)e=new _.mK(OK(d,
b,xL),c[f++],c[f++],c[f++]);else if(h instanceof _.YF)e=OK(d,b,_.hK);else if(h instanceof _.Oz)e=OK(d,b,hL);else throw Error("Fg");}e&&(b=f,c&&"boolean"===typeof c[b]&&PGc(this.H,a.Qi(),!!c[b]),SGc(this.H,a.Qi(),e),a.update(e))}};
var CM=function(){_.xi.apply(this,arguments);this.commands=new _.Tk;this.ha=this.active=this.ep=!1};_.K(CM,_.xi);CM.prototype.initialize=function(){this.ep||(this.ep=!0,this.V(),this.setActive(!0))};CM.prototype.V=function(){};CM.prototype.setActive=function(a){this.active=a;jWc(this)};var jWc=function(a){if(a.active&&!a.ha){var b=_.Yk(a.commands);if(b)if(a.wa()){do a.ka(b);while(b=_.Yk(a.commands))}else a.ha=!0,_.Zh(a.Ba(b),function(){a.ha=!1;jWc(a)})}};CM.prototype.ka=function(){};
CM.prototype.Ba=function(){};CM.prototype.wa=function(){return!0};CM.prototype.enqueue=function(a){try{var b=new _.$h;this.commands.enqueue(new kWc(a,b));jWc(this);return b}catch(c){return _.gi(_.GI(c))}};var kWc=function(a,b){this.H=a;this.jf=b};kWc.prototype.getCommand=function(){return this.H};kWc.prototype.xG=function(){return this.jf};
var nWc=function(a){CM.call(this);var b=this;this.context=a;this.O=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context,"VMiG2e",function(){return void lWc(b)});this.H=this.context.Af.tq;_.lI(this.context.Ic)&&this.Rc.listen(this.H,"Fb",this.W);var c=a.Nj;yL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Aj(a.Ic.Vf(),17,1)&&(d.push("iuEtc"),yL(c,["mrK8ic"],function(){zL(c,"iuEtc")}));yL(c,d,function(){mWc(b)})};_.K(nWc,CM);nWc.prototype.V=function(){oWc(this)};
var mWc=function(a){if(1===a.context.TP.Cf().Cb())Promise.resolve();else{var b=_.Lf(_.Mf(new _.Kf,!0),301);b=_.ZH(new _.YH,b);a.refresh(b).then(null,function(c){c=_.uI(c);_.w(c,21,"Initial account request failed.");a.context.mJ(c)})}},lWc=function(a){var b=_.Lf(new _.Kf,304);b=_.ZH(new _.YH,b);a.refresh(b).then(null,function(){})};
nWc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Zh(this.context.Pm().then(function(d){return d.Pe(a,b)}).then(function(d){var e=d.Cf(),f=e.getUser();if(f&&!1===_.tk(f))d=_.vI(_.XH(c.context.Ic)),d=Error("Gg`"+d+"`"+GK(f)),_.Nb(d),_.nK(c.context.jk(),73301807),d=Promise.reject(d);else{f=c.context.TP;var h=0===f.Qe()?1:6;_.lI(c.context.Ic)&&mIc(c.H,e);h=yPc(f,e,h);(e=e.getMetadata())&&c.context.Yy(_.B(e,2),1);(d=_.B(d,4))&&hQc(c.context,d,!0);h&&c.dispatchEvent(new _.ni("WPi0i"));d=
Promise.resolve(new _.lK(f.Cf(),f.Qe(),!1))}return d}).then(function(d){return d},function(d){d=_.uI(d);_.w(d,5,1);return Promise.reject(new _.Nc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
nWc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.zD&&(c.zD=b.zD);this.refresh(b.request,c).then(function(e){return a.xG().callback(e)},function(e){return void a.xG().Gd(e)})}else if(b=this.context.TP,c=b.Cf(),_.lI(this.context.Ic)){c=c.Cf();var d=c.getUser();d=ZHc(this.H.H,GK(d));mIc(this.H,c);yPc(b,c,b.Qe())&&this.dispatchEvent(new _.ni("WPi0i"));a.xG().callback(new _.lK(b.Cf(),b.Qe(),d))}else c.Cb(),b=new _.lK(c,b.Qe(),!0),a.xG().callback(b)};
var oWc=function(a){var b=a.context.Ic.Vf();_.n.setTimeout(function(){var c=_.Lf(new _.Kf,306);c=_.ZH(new _.YH,c);a.refresh(c).then(function(){oWc(a)},function(){oWc(a)})},Math.ceil(_.Oj(b,7,9E5)*Math.random())+_.Oj(b,3,72E5))};nWc.prototype.W=function(a){var b=this.context.TP,c=b.Cf().Cf();c&&a.getPeople().find(function(d){return _.B(d,1)===GK(c.getUser())})&&(mIc(this.H,c),yPc(b,c,b.Qe())&&this.dispatchEvent(new _.ni("WPi0i")))};var pWc=function(a,b,c){this.request=a;this.H=!!b;this.zD=c||null};
var rWc=function(a){CM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.LZ,"Mb",_.gb(this.dispatchEvent,new _.ni("Mb",this)));qWc(this)};_.K(rWc,CM);
var qWc=function(a){var b=a.context.Nj;yL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.SJ(a.context.Ic)){var c=_.Aj(a.context.Ic.Vf(),18,1);yL(b,["NSockf"],function(){1===c?sWc(a):a.setActive(!0)});2===c&&yL(b,["mrK8ic"],function(){a.W||sWc(a)})}},sWc=function(a){var b=new _.Kf;_.Mf(b,!0);_.Lf(b,301);var c=new _.kJ;_.UDc(c,b);_.w(c,1,1);a.refresh(c).tg(function(){return null})};
rWc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Xh();this.O=d.promise;_.Zh(this.O,function(){c.O=null;tWc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.kJ;_.w(h,1,this.H);_.UDc(h,a.se());this.context.Pm().then(function(k){return k.Pe(h,b)}).then(function(k){c.error=null;var l=c.context.LZ;l.cQ(k,l.QG()?6:1);d.resolve()},function(k){c.H=e;k=_.Rc(k);var l=k.Fg;_.w(l,5,2);f?(_.sI(l,1),k.message="Initial app settings refresh failed.",
_.w(k.Fg,21,"Initial app settings refresh failed."),c.context.mJ(l),c.setActive(!0)):(_.sI(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."));c.error=k;d.reject(k)});return this.O};rWc.prototype.wa=function(){return!1};
rWc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.lja,f=c.zD?{zD:c.zD}:void 0;if(!uWc(d))return this.context.Pm().then(function(l){return l.Pe(d,f)}).then(function(l){a.xG().callback(new _.iK(l,1,!1))},function(l){a.xG().Gd(_.GI(l))}),_.Uh();c=_.Uh();var h=!1;this.O?vWc(this,d.getType())?e=this.O:c=e=new _.Th(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&vWc(this,d.getType())&&!this.error?(h=!0,e=_.Uh()):e=this.refresh(d,f);
var k=a.xG();e.then(function(){var l=b.context.LZ;k.callback(new _.iK(l.kr(),l.Qe(),h))},function(l){k.Gd(l)});return c.then()};
var uWc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.ie(a,4),a=_.ie(a,3),!(b&&b.length)&&!(a&&a.length)):!1},vWc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},tWc=function(a){var b=a.context.Ic.Vf(),c=new _.Kf;_.Lf(c,306);var d=new _.kJ;_.w(d,1,1);_.UDc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Oj(b,7,9E5)*Math.random())+_.Oj(b,4,72E5))},wWc=function(a,b,c){this.request=a;this.lja=!!b;this.zD=c||null};
var yWc=function(a){CM.call(this);var b=this;this.context=a;this.error=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.eE,"WPi0i",function(){return b.dispatchEvent(new _.ni("WPi0i"))});this.H=_.Xh();this.O=_.ie(this.context.Ic.Vf(),30);xWc(this)};_.K(yWc,CM);
var xWc=function(a){var b=a.context.Nj;yL(b,["rkYxSd"],function(){return a.initialize()});yL(b,["px2C2c"],function(){a.context.He().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Aj(a.context.Ic.Vf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&yL(b,["mrK8ic"],function(){zL(b,"OZvrNc")}));!_.Q(a.context.Ic,11,!1)&&_.Q(a.context.Ic,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Ab(qVc(a.context.eE),_.Yo,1).length||(b.H("NSockf")?
zL(b,"DEJoH"):yL(b,["NSockf"],function(){zL(b,"DEJoH")}))},12E3));yL(b,c,function(){if(!b.H("px2C2c")){var e=new _.Kf;_.Mf(e,!0);_.Lf(e,301);var f=new _.dD;_.I(f,1,e);LAc(f,zWc(a));a.query(f).tg(function(){a.initialize()})}})};yWc.prototype.V=function(){var a="User prefs detected: "+_.Ab(qVc(this.context.eE),_.Yo,1).length;this.context.He().info("drive.ds.sync.userprefs.UserPrefsManager",a);AWc(this)};
yWc.prototype.query=function(a,b){var c=this,d=b?{zD:b}:void 0;return this.context.Pm().then(function(e){return e.Pe(a,d)}).then(function(e){c.error=null;var f=c.context.eE;f.cQ(_.Ab(e,_.Yo,3),f.QG()?6:1,_.ie(a,3))}).then(null,function(e){e=_.Rc(e);_.w(e.Fg,5,4);0<c.commands.Zb()||c.context.mJ(e.Fg);c.error=e;throw e;})};
yWc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.xG(),e=new Set([].concat(_.Jd(this.context.eE.DF.keys()))),f=_.ie(c.request,3);f.find(function(h){return!e.has(h)})&&(c.lja=!0);this.error?d.Gd(this.error):c.lja?(LAc(c.request,zWc(this,f)),_.Zh(this.H?this.H.promise:this.query(c.request,c.zD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var zWc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Jd(a.O),_.Jd([].concat(_.Jd(a.context.eE.DF.keys()))),_.Jd(b)));return[].concat(_.Jd(a.values()))};
yWc.prototype.getData=function(a,b,c){b=this.context.eE.KG(b);a.callback(new _.kK(b.H,b.Fe,c))};var AWc=function(a){var b=a.context.Ic.Vf();_.n.setTimeout(function(){var c=new _.dD,d=new _.Kf;_.Lf(d,306);_.I(c,1,d);LAc(c,zWc(a));_.Zh(a.query(c).tg(_.cg),function(){AWc(a)})},Math.ceil(_.Oj(b,7,9E5)*Math.random())+_.Oj(b,5,72E5))},BWc=function(a,b,c){this.request=a;this.lja=!!b;this.zD=c||null};
var CWc=function(a,b,c,d){BM.call(this,"IS",b);this.context=a;this.Rc=new _.jf(this);this.Ba=_.Xh();this.O=null;this.ha=!1;this.W=null;this.Fa=new lPc(a);KAc(this.Fa);this.La(this.Rc);this.ka=new nWc(a);this.La(this.ka);this.Rc.listen(this.ka,"WPi0i",function(){return c(new MOc(1))});this.ma=new rWc(a);this.La(this.ma);this.Rc.listen(this.ma,"Mb",function(){return c(new MOc(2))});this.ta=new yWc(a);this.La(this.ta);this.Rc.listen(this.ta,"WPi0i",function(){return c(new MOc(4))});this.Ha=d;this.H=
this.context.Pm()};_.K(CWc,BM);_.g=CWc.prototype;
_.g.OU=function(){var a={};return a["3.43"]=this.u_.bind(this),a["3.42"]=this.z7.bind(this),a["3.1"]=this.jN.bind(this),a["3.2"]=this.KG.bind(this),a["3.3"]=this.hd.bind(this),a["3.35"]=this.NN.bind(this),a["3.4"]=this.tC.bind(this),a["3.5"]=this.kr.bind(this),a["3.6"]=this.bS.bind(this),a["3.8"]=this.Jl.bind(this),a["3.36"]=this.Vy.bind(this),a["3.9"]=this.jF.bind(this),a["3.10"]=this.jr.bind(this),a["3.11"]=this.Z$.bind(this),a["3.12"]=this.i8.bind(this),a["3.13"]=this.dT.bind(this),a["3.14"]=this.X$.bind(this),
a["3.15"]=this.k8.bind(this),a["3.16"]=this.Vr.bind(this),a["3.17"]=this.hEb.bind(this),a["3.18"]=this.lEb.bind(this),a["3.19"]=this.iQ.bind(this),a["3.20"]=this.jEb.bind(this),a["3.25"]=this.iEb.bind(this),a["3.22"]=this.j8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Kna.bind(this),a["3.29"]=this.eyb.bind(this),a["3.40"]=this.nEb.bind(this),a["3.33"]=this.oEb.bind(this),a["3.39"]=this.UO.bind(this),a["3.37"]=this.mEb.bind(this),a["3.38"]=this.cab.bind(this),a["3.41"]=this.dS.bind(this),
a["3.44"]=this.X_.bind(this),a["3.45"]=this.Jo.bind(this),a["3.46"]=this.E7.bind(this),a};_.g.jN=function(a){var b=this,c=OK(a.args[0],!!a.H,_.YH);a=new pWc(c,a.args[1],this.context.H[a.clientId]);zL(this.context.Nj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.ad([d.response,d.Fe,d.M_])},function(d){return b.ad(void 0,d)})};
_.g.KG=function(a){var b=this,c=OK(a.args[0],!!a.H,_.dD);a=new BWc(c,a.args[1],this.context.H[a.clientId]);zL(this.context.Nj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.ad([d.response,d.Fe,d.M_])},function(d){return b.ad(void 0,d)})};
_.g.hd=function(a){var b=this,c=OK(a.args[0],!!a.H,qAc),d=_.Rj(c,_.JI,16,LK)||_.Rj(c,_.KI,1,LK)||_.Rj(c,_.LI,2,LK)||_.Rj(c,_.OI,3,LK)||_.Rj(c,_.pK,4,LK)||_.Rj(c,_.MI,5,LK)||_.Rj(c,_.SI,6,LK)||_.Rj(c,_.UI,7,LK)||_.Rj(c,_.VI,8,LK)||_.Rj(c,_.YI,9,LK)||_.Rj(c,_.nJ,18,LK)||_.Rj(c,_.rJ,10,LK)||_.Rj(c,_.sJ,11,LK)||_.Rj(c,_.tJ,12,LK)||_.Rj(c,_.wI,13,LK)||_.Rj(c,_.wJ,14,LK)||_.Rj(c,_.xJ,15,LK)||_.Rj(c,MK,17,LK),e=DM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},
function(f){return b.ad(void 0,f)})};_.g.NN=function(a){var b=this,c=OK(a.args[0],!!a.H,zAc),d=_.Rj(c,_.PI,1,AAc)||_.Rj(c,_.WI,2,AAc)||_.Rj(c,_.yJ,3,AAc),e=DM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.tC=function(a){var b=this,c=OK(a.args[0],!!a.H,tAc),d=DM(this,a),e=[],f=[];vAc(c).forEach(function(h){h instanceof _.JI?e.push(String(h.qc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Pe(h,d)}))});a=_.eI(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Zh(a,function(){return void NRc(b.context.Af)});return a.then(function(h){return b.ad([new fAc(e,h)])})};
_.g.kr=function(a){var b=this,c=OK(a.args[0],!!a.H,_.kJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=DM(this,a);a=this.H.then(function(f){return f.Pe(c,e)}).then(function(f){return new _.iK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.iK(f.response,f.Fe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new wWc(c,d,this.context.H[a.clientId]),zL(this.context.Nj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.ad([f.response,f.Fe,f.M_])},function(f){return b.ad(void 0,
f)})};_.g.bS=function(a){var b=this,c=OK(a.args[0],!!a.H,wAc),d=_.Rj(c,_.eD,1,xAc)||_.Rj(c,_.fD,2,xAc),e=DM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};_.g.Jl=function(a){a=a.args[0];if(this.context.gz)a?_.swc(this.context.gz,!0):this.context.wk().Oe()&&this.context.gz.iM(!0).then(null,function(){});else try{this.context.Fj().Jl(a)}catch(b){return this.ad(void 0,b)}return this.ad([])};
_.g.Vy=function(a){var b=this,c=a.args[0];return this.context.Vy(c).then(function(d){return d?(b.context.Fj().Vy(c),b.Ha(c),b.context.Hs.hL().tg(function(){return!c})):_.Uh(!c)}).then(function(d){return b.ad([d])},function(d){return b.ad(void 0,d)})};_.g.sync=function(){var a=this;return _.Wh([this.context.U$.promise,this.context.nfa.promise]).then(function(){return a.context.Hs.hL()}).then(function(){return a.ad([])},function(b){return a.ad(void 0,b)})};
_.g.jF=function(){try{var a=this.context.Z5;a&&a.ooa();this.context.Vga.jF();return this.ad([])}catch(b){return this.ad(void 0,b)}};_.g.dS=function(){this.context.dS();return this.ad([])};_.g.jr=function(a){var b=this,c=OK(a.args[0],!!a.H,_.aJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.Z$=function(a){var b=this,c=OK(a.args[0],!!a.H,_.bJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.i8=function(a){var b=this,c=OK(a.args[0],!!a.H,_.QI),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.dT=function(a){var b=this,c=OK(a.args[0],!!a.H,_.uJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.X$=function(a){var b=this,c=OK(a.args[0],!!a.H,_.fJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return _.lI(b.context.Ic)?qIc(b.context.Af.tq,[_.x(e,_.sk,2)],c.qc()).then(function(){return e}):e}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.k8=function(a){var b=this,c=OK(a.args[0],!!a.H,_.TI),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Vr=function(a){var b=this,c=OK(a.args[0],!!a.H,_.mJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d).then(function(f){return _.lI(b.context.Ic)?oIc(b.context.Af.tq,f):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.hEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.tOc),d=new _.rtc(c,a.args[1],a.args[2]||void 0),e=DM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.lEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.lJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d).then(function(f){return _.lI(b.context.Ic)?qIc(b.context.Af.tq,_.Ab(f.ad(),_.sk,2),c.ld().getId()).then(function(){return f}):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.iQ=function(){var a=this;return(_.Q(this.context.Ic.Vf(),52,!1)?_.Uh(FGc(new EGc,0)):this.context.yI.iQ()).then(function(b){return a.ad([b])},function(b){return a.ad(void 0,b)})};
_.g.jEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.qtc),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.iEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.jJ),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.j8=function(a){var b=this,c=OK(a.args[0],!!a.H,_.RI),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Kna=function(a){var b=this,c=OK(a.args[0],!!a.H,_.CI),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e,null])},function(e){return b.ad([null,_.uI(e)])})};_.g.eyb=function(){return this.ad([!0])};
_.g.nEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.WF),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.oEb=function(a){var b=this,c=OK(a.args[0],!!a.H,_.Oz),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.u_=function(a){a=OK(a.args[0],!!a.H,_.yf);cRc(this.context.Af,[a]);return this.ad([])};
_.g.z7=function(a){var b=this,c=OK(a.args[0],!!a.H,_.NI),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.UO=function(a){var b=this,c=OK(a.args[0],!!a.H,_.hM),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return AIc(c,e)}).then(function(e){return b.ad(e)},function(e){return b.ad(void 0,e)})};
_.g.mEb=function(a){var b=this,c=new _.ytc(OK(a.args[0],!!a.H,_.v7b),a.args[1]),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e.response,e.pageToken])},function(e){return b.ad(void 0,e)})};_.g.cab=function(a){var b=this,c=OK(a.args[0],!!a.H,_.RF),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.X_=function(a){var b=this,c=OK(a.args[0],!!a.H,_.cK),d=DM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Jo=function(a){var b=a.args.map(function(c){return OK(c,!!a.H,_.qI)});this.context.Af.Jo(b);NRc(this.context.Af);return this.ad([])};_.g.E7=function(){var a=this,b=this.context.gz;return(b?b.iM():_.Uh(_.kwc(0))).then(function(c){return a.ad([c])},function(c){return a.ad(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Xh();this.context.He().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Ic.Oi());this.Rc.listen(this.context,_.Yc,function(e){e=e.error;var f=e.Fg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):TDc(a.context.He(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Nj,c=["hVFf7"];_.SJ(this.context.Ic)&&c.push("BNEDtc");yL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});yL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){sM(a.context).then(function(e){return void e.start()})};yL(b,["T8oKm","ZA9qG"],function(){return void d()});yL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();zL(b,"NSockf")}return this.O.promise};_.g.lba=function(){return this.Ba.promise};_.g.Eu=function(){var a=this.context.Z5;a&&a.dispose();return this.context.Eu()};
var DM=function(a,b){return(a=a.context.H[b.clientId])?{zD:a}:{}};
var DWc=function(a,b,c){BM.call(this,"DU",b);this.context=a;this.O=c;this.H=new lPc(a)};_.K(DWc,BM);_.g=DWc.prototype;
_.g.OU=function(){var a=this,b={};return b["5.1"]=function(){return a.Nha()},b["5.2"]=function(c){return a.GM(c)},b["5.4"]=function(c){return a.Gz(c)},b["5.5"]=function(){return a.cR()},b["5.10"]=function(){return a.dN()},b["5.6"]=function(){return a.eda()},b["5.7"]=function(){return a.SS()},b["5.9"]=function(c){return a.Npa(c)},b["5.8"]=function(c){return a.S4(c)},b["5.11"]=function(){return a.jpa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Jl(c)},b};
_.g.Nha=function(){var a=this;this.context.Hs.kS();var b=this.context.Ic;return BKc(_.QJ(_.XH(b)),_.RJ(b),this.context.He()).tg(function(){}).then(function(){return a.ad([])})};_.g.GM=function(a){a=this.context.Af.um.H(a.args[0]);return this.ad([a])};_.g.Gz=function(a){var b=this;return this.context.OA.Gz(a.args[0]).then(function(c){return b.ad([c])})};_.g.cR=function(){return this.ad(this.context.OA.cR())};
_.g.S4=function(a){var b=this,c=OK(a.args[0],!!a.H,_.Urc),d=a.args[1],e=a.args[2];if(_.Rj(c,_.mI,3,_.nI)||_.Rj(c,_.AJ,4,_.nI)||_.Rj(c,_.pK,5,_.nI)||_.Rj(c,_.xJ,6,_.nI)||_.Rj(c,_.VI,7,_.nI)||_.Rj(c,_.OI,8,_.nI)||_.Rj(c,_.SI,9,_.nI)||_.Rj(c,_.wI,10,_.nI)){var f=MGc(c);return this.context.Pm().then(function(h){return h.Pe(f,{E6a:d,F6a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.qK){k=h.ad().Ad();var p=_.B(h,2);l=h.Vn()}else if(h instanceof _.CJ)h.getItem()&&k.push(h.getItem()),p=h.MM();
else{h=b.ad(void 0,Error("fg"));break a}h=b.ad([p,l].concat(_.Jd(k)))}return h},function(h){return b.ad(void 0,h)})}return _.Uh(this.ad(void 0,Error("eg")))};_.g.Npa=function(){var a=this.context.Ic,b=a.Vf();a="email:"+_.XH(a).getEmail().replace(/@.*$/,"");_.w(b,13,a);return this.ad([])};_.g.eda=function(){this.context.NF.H=new qJc(_.bh().substring(0,8));return this.ad([])};
_.g.SS=function(){var a=this.context.NF.dN();if(a){var b=sJc(this.context.NF);a=[a.H,a.startTime].concat(_.Jd(b))}else a=[];b=this.context.NF;b.H=null;b.xY=[];return this.ad(a)};_.g.dN=function(){var a=this.context.NF.dN();return this.ad(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.wa).then(function(b){return a.ad([b])})};_.g.jpa=function(){var a=[this.O.Eu(),_.Bi(3E4)];_.Zh(_.Xja(a),function(){_.n.setTimeout(function(){self.close()})});return this.ad([])};
_.g.Jl=function(a){this.H.Jl(a.args[0]);return this.ad([])};
var EWc=function(a,b,c,d,e,f,h){_.CK.call(this,a,b,c,d,f,h);this.H=e;this.Zf=null};_.K(EWc,_.CK);EWc.prototype.qM=function(a,b){var c=this;return _.fi(this.H.then(function(d){return d.Z2a(vzc(c.O,c.wa,a,b,c.aj,c.ha))},null))};EWc.prototype.ma=function(a,b){var c=this.ld(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Gz();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.Nwc(a,b,d))}};
var FWc=function(a,b,c,d,e,f,h,k){BM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Zf=h;this.H={};this.O={};this.Rc=new _.jf(this);this.La(this.Rc)};_.K(FWc,BM);_.g=FWc.prototype;
_.g.OU=function(){var a=this,b={};return b["7.1"]=function(c){return a.upload(c)},b["7.2"]=function(c){return a.cancel(c)},b["7.3"]=function(c){return a.cG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.qM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.ad([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.ad([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=OK(a.args[0],!!a.H,_.OI),e=a.args[1];if(!this.H[c]){var f=new EWc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Zf);this.Rc.listen(f,"Hb",_.gb(this.dab,a.clientId,a.requestId));this.La(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.ij(),r=_.Xh();b.O[q]=r;b.update(l,p,GWc(3,q,[h,k]));return r.promise}).then(function(h){return b.ad([h])},function(h){return b.ad(void 0,h)})};
_.g.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.ad([])};_.g.cG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].cG();return this.ad([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ka(f,function(p){k[p]=h[l++]});_.Qa(k,function(p,q){p.Wf(function(r){b.update(a.clientId,c,GWc(0,e,[q,r]))},function(r){b.update(a.clientId,c,GWc(1,e,[q,r.Fg]))})});return this.ad([])}return this.ad(void 0,_.uI("Could not retry upload."))};
_.g.qM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=vzc(b.O,b.wa,c,a,b.aj,b.ha),this.ad([CAc(c)])):this.ad(void 0,_.uI("FileUploader not found."))};_.g.dab=function(a,b,c){this.update(a,b,GWc(2,c.requestId,[c.progress,c.totalBytes]))};var GWc=function(a,b,c){return[Number(a),b].concat(_.Jd(c))};
var HWc=function(a,b){BM.call(this,"IE",b);this.O=a;this.H=new Map};_.K(HWc,BM);HWc.prototype.OU=function(){var a=this,b={};return b["9.1"]=function(c){return a.export(c)},b["9.2"]=function(c){return a.cancel(c)},b};
HWc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=OK(a.args[0],!!a.H,_.ptc);e=new nM(this.O,e);var f=_.Ye(e,"Lb",function(h){b.update(a.clientId,c,[h.mPa,h.Zta])});_.$e(e,function(){_.vi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.ad([h])},function(h){return b.ad(void 0,h)})};HWc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.ad([])};
var IWc=function(a,b){BM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Xh();this.O=new qPc(a,a.Gg)};_.K(IWc,BM);IWc.prototype.OU=function(){var a=this,b={};return b["6.1"]=function(c){return JWc(a,c)},b["6.2"]=function(c){return KWc(a,c)},b["6.3"]=function(){a.H&&(tPc(a.O),a.H=!1,a.W=_.Xh());return a.ad([])},b};
var JWc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return OK(d,!!b.H,_.Fk)});a.O.jl(c);zL(a.context.Nj,"GZTDpc");a.W.resolve()}return a.ad([])},KWc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return OK(d,!!b.H,_.qI)});sPc(a.O,c);return a.ad([])})};
var LWc=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Hg`"+b);a.services.set(b,new _.$h)})};LWc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.Yf())b.callback(a);else throw Error("Ig`"+a.V);};var MWc=function(a,b){a=_.m(a.services);for(var c=a.next();!c.done;c=a.next())c=_.m(c.value),c.next(),c.next().value.addCallback(function(d){d.registerService(b)})};LWc.prototype.wo=function(){return[].concat(_.Jd(this.services.values())).every(function(a){return a.Yf()})};
var NWc=function(){},OWc={0:2E3,1:3E3,2:5E3},PWc=function(a,b){this.request=a;this.ha=b;this.O=_.Xh();this.continuationToken="";this.V=0;this.AE=this.W=!1;this.H=NWc};PWc.prototype.nh=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=NWc;b.V=0;return c},function(c){b.H=NWc;b.V=0;return Promise.reject(c)})};
PWc.prototype.sendRequest=function(){var a=this;if(this.AE)this.O.resolve((new gM).Ac(8));else{var b=new _.Ctc(this.request,this.continuationToken);this.ha.then(function(c){return c.Pe(b)}).then(function(c){QWc(a,c)},function(c){a.handleError(c)})}};var QWc=function(a,b){var c;a.continuationToken=null!==(c=b.Vn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},RWc(a.V++,a.ka)):a.O.resolve(b)};PWc.prototype.handleError=function(a){a=_.Rc(a);this.O.reject(a)};
PWc.prototype.cancel=function(){this.AE=!0};var RWc=function(a,b){return b?b:(a=OWc[a])?a:1E4};
var SWc=function(a,b){BM.call(this,"TM",b);this.O=a;this.H=new Map};_.K(SWc,BM);SWc.prototype.OU=function(){var a=this,b={};return b["10.1"]=function(c){return TWc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var TWc=function(a,b){var c=b.clientId+":"+b.requestId,d=OK(b.args[0],!!b.H,_.VNc);d=new PWc(d,a.O);a.H.set(c,d);return _.Zh(d.nh(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.ad([e])},function(e){return a.ad(void 0,e)}),function(){a.H.delete(c)})};SWc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.ad([])};
var EM=function(a,b,c){_.N.call(this);this.H=a;this.jw=b;this.hb=c;this.fields=null;this.Ha=!1;this.Ja=_.Xh();this.W=!1;this.Ba=_.Xh();this.O=_.Xh();this.ta=null;this.wa=this.Ta=!1;this.yb=_.Xh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.Zy=Date.now();this.services=new LWc;this.Ib=new _.jf(this);this.La(this.Ib)};_.K(EM,_.N);EM.prototype.fY=function(a){this.O.promise.then(function(b){b.Z5||a.SMa(b)})};
var XWc=function(a,b){var c=cWc(a.H,b),d=a.Qb.bind(a,c);qL(b,"8.1",d);b.registerService("8.1",d);qL(b,"8.4",a.Pa.bind(a,c));b.registerService("8.5",function(f){return UWc(a,c,f)});qL(b,"8.2",a.Fb.bind(a,c));qL(b,"8.3",a.Lb.bind(a,c));MWc(a.services,b);b.start();VWc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Wh([a.Ja.promise,a.Ba.promise]).then((0,_.M)(a.initialize,a)));e.push(a.ta);_.Wh(e).then(function(){return void WWc(a,c,b)},function(f){a.Ta=!0;rL(b,"2.2",{err:_.uI(f).Gc()},d)})},YWc=function(a){return Math.floor((Date.now()-
a.Zy)/1E3)},ZWc=function(a,b,c){var d=function(e){rL(b,"2.8",{au:"pb"===e.type})};a.Ib.listen(c.yI,["pb","qb"],d);_.$e(b,a.Ib.Tc.bind(a.Ib,c.yI,["pb","qb"],d))},$Wc=function(a,b,c){var d=c.wk(),e=[].concat(_.Jd(Object.values(_.KB))),f=function(h){rL(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.$e(b,function(){a.Ib.Tc(d,e,f)})};
EM.prototype.Qb=function(a){var b=dWc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){gWc(d,a)}),b.dispose(),this.log(_.nt("Client %d disconnected (num clients remaining: %d)",a,_.Ua(this.H.channels))),0===_.Ua(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.Zh(d.Eu(),c)})}};
EM.prototype.Pa=function(a,b){if(this.ha.has(a))return _.Uh();var c=new _.kc(JSON.parse(b.dsc));_.w(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){YVc(d,a,_.D(c.Vf(),37,""));XVc(d,_.ie(c,28));d.Af.vla(_.Ab(c,_.vl,91));return d.xX.promise.then(function(){cRc(d.Af,_.Ab(c,_.yf,44))})},function(){})};
EM.prototype.Fb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new gQc(e,e.Gg);e.nh(d);e.dispose();(e=c.H.channels[a]||null)&&rL(e,"2.16")})}};EM.prototype.Lb=function(a,b){var c=this;this.V.has(a)||this.V.set(a,new Set);var d=this.V.get(a),e=b.dsp;if(e){var f=[];for(b=0;b<e.length;b++)e[b]&&(d.has(b)?e[b]=void 0:(f.push(b),d.add(b)));f.length&&this.O.promise.then(function(h){aXc(new MQc(h),e);(h=c.H.channels[a]||null)&&rL(h,"2.17",{t:f})})}};
var aXc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.nh(c)});a.dispose()};EM.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Va(this.H.channels)),d=c.next();!d.done;b={aea:b.aea,Eea:b.Eea},d=c.next())b.aea=d.value,b.Eea=_.Xh(),rL(b.aea,"2.12",void 0,function(e){return function(){e.aea.dispose();e.Eea.resolve()}}(b)),a.push(b.Eea.promise);return _.Wh(a).then()};
EM.prototype.initialize=function(a){var b=this;a=a[0];_.xuc(a,this.fields);var c=_.x(a,_.DI,58);c=c&&_.Q(c,1,!1)?this.hb:void 0;try{var d=new QK(null,a,this.jw,c,void 0,void 0),e=d.jk().H(106E3);EVc(d,this.$a.bind(this));this.Ib.listen(d.Fj(),"Bb",function(k){k={os:k.Oe()};for(var l=_.m(_.Va(b.H.channels)),p=l.next();!p.done;p=l.next())rL(p.value,"2.6",k)});this.Ib.listen(d,_.Yc,this.ob);this.Ib.listen(d,"w8KrJc",this.Ec);JGc(d.yI,this.ka.bind(this));var f=d.gz;f&&iEc(f,function(){return b.ka()});
this.O.resolve(d);var h=bXc(this,d,new CWc(d,this.H,(0,_.M)(this.jc,this),(0,_.M)(this.tc,this)));e&&h.then(function(){return e&&e.vj()});return h}catch(k){return _.Vh(k)}};
var bXc=function(a,b,c){a.services.activate(c);a.services.activate(new eWc(b,a.H));a.services.activate(new DWc(b,a.H,c));a.services.activate(new IWc(b,a.H));a.services.activate(new FWc(b.Ic,b.OA,b.bR().lfa,b.Pm(),b.bQ,b.He(),b.jk(),a.H));a.services.activate(new HWc(b.Pm(),a.H));a.services.activate(new SWc(b.Pm(),a.H));return c.initialize()},WWc=function(a,b,c){var d=_.Ua(a.H.channels);a.log(_.nt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));rL(c,"2.2",{id:b,
clients:d,uptimeSec:YWc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.KZ.addCallback(function(f){c.isDisposed()||rL(c,"2.5",{id:f})});1<d&&sM(e).addCallback(function(f){return f.gwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.lba().then(function(){c.isDisposed()||rL(c,"2.14")})});ZWc(a,c,e);$Wc(a,c,e)})};EM.prototype.jc=function(a){a={dt:a.dataType};for(var b=_.m(_.Va(this.H.channels)),c=b.next();!c.done;c=b.next())rL(c.value,"2.15",a)};
EM.prototype.tc=function(a){var b={oois:a};_.Va(this.H.channels).forEach(function(c){rL(c,"2.18",b)})};EM.prototype.ob=function(a){a={p:a.error.Fg.Gc()};for(var b=_.m(_.Va(this.H.channels)),c=b.next();!c.done;c=b.next())rL(c.value,"2.10",a)};EM.prototype.Ec=function(){for(var a=_.m(_.Va(this.H.channels)),b=a.next();!b.done;b=a.next())rL(b.value,"2.7")};var VWc=function(a,b,c){a.ha.has(b)?_.Uh():new _.Th(function(d){rL(c,"2.1",void 0,function(e){d(a.Pa(b,e))})})};
EM.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Vh(Error("Jg"));if(this.W&&this.Fa.has(a))return _.Uh()}b=b||_.Va(this.H.channels)[0];if(!b)return _.Vh(Error("Kg"));var d=_.Xh();b.send("1.1",void 0,function(e){UWc(c,a,e);d.resolve()});return d.promise};var UWc=function(a,b,c){_.Qa(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.wa&&(a.wa=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
EM.prototype.log=function(a){this.O.promise.then(function(b){return b.He().info("drive.ds.sync.cacheproxy.Worker",a)})};
var cXc=function(a,b){AM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.K(cXc,AM);_.g=cXc.prototype;_.g.Ka=function(){return _.x(this.context.Ic,_.DI,58)};_.g.getContext=function(){return this.context};_.g.Gz=function(){return _.fi(this.send("5.4",[this.H],function(a,b){return OK(a[0],b,_.mvc)}))};_.g.He=function(){return this.context.He()};_.g.GM=function(a){return _.fi(this.send("5.2",[a],function(b,c){return b[0]?OK(b[0],c,_.Fk):null}))};
_.g.cR=function(){return _.fi(this.send("5.5",[],function(a,b){return a.map(function(c){return OK(c,b,_.Urc)})}))};_.g.S4=function(a,b,c){return _.fi(this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return OK(k,e,_.Fk)}),qia:f,pageToken:h}}))};_.g.Npa=function(){this.send("5.9",[])};_.g.Nha=function(){this.send("5.1",[])};_.g.f9=function(){return _.Asc[_.Aj(this.context.Ic.Vf(),8,0)]};_.g.eda=function(){this.send("5.6",[])};
_.g.SS=function(){return _.fi(this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return OK(e,b,NGc)});return{traceId:new qJc(c,d),spanRecs:a}}))};_.g.dN=function(){return _.fi(this.send("5.10",[],function(a){return 0===a.length?null:new qJc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.fi(this.send("5.12",[],function(a){return a[0]}))};_.g.jpa=function(){this.send("5.11",[])};_.g.Jl=function(a){this.send("5.13",[a])};
var dXc=function(a,b){AM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ea(this))};_.K(dXc,AM);dXc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return OK(b[0],c,zOc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};dXc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
dXc.prototype.B$=function(a,b,c){this.dispatchEvent(new NOc(c[0],c[1]))};
var eXc=function(a){AM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(eXc,AM);eXc.prototype.iY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.tV().Wf(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.w_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var fXc=function(a,b){IL.call(this,a,b)};_.K(fXc,IL);fXc.prototype.eia=function(a,b,c){return new _.ytc(a,c)};fXc.prototype.qka=function(a){return a.pageToken||""};fXc.prototype.Dja=function(a){return a.response.H()};fXc.prototype.X5=function(){};
var gXc=function(a,b,c){mM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||void 0);this.request=b;this.logName="drive.ds.sync.PublishedCategoriesLiveList";this.O=[];this.changed=!1;this.ka=c;this.V=new fXc(this.request,this.ka)};_.K(gXc,mM);_.g=gXc.prototype;_.g.MG=function(){this.V.nh().then(this.eab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return NNc(new fM,this.O).Ac(this.status)};_.g.Rr=function(){return new xNc};_.g.nk=function(){return!this.Oe()&&(!this.H||CIc(this.V))};
_.g.eab=function(a){this.changed=this.H=!0;this.O=a;this.Ut()};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))}};_.g.Zb=function(){return this.O.length};
var hXc=function(a,b,c){mM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceItemQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new _.x7a;this.suggestionSessionId=null;this.ka=c};_.K(hXc,mM);_.g=hXc.prototype;_.g.MG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.ui();a.suggestionSessionId=b.Rf();a.Ut()},this.handleError.bind(this))};
_.g.getData=function(){this.O=this.data;return _.qzc(_.pzc((new _.EK).Ac(this.status),this.data.slice(0)),this.suggestionSessionId)};_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new RNc).Ac(this.status);return _.Ej(b,2,a)};_.g.SO=function(){};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))};_.g.Zb=function(){return this.data.length};
var iXc=function(){};_.g=iXc.prototype;_.g.sM=function(a,b){b=qOc(1).setPosition(b);_.I(b,2,a);return b};_.g.rM=function(a,b){b=qOc(2).setPosition(b);_.I(b,2,a);return b};_.g.EE=function(a,b,c){b=qOc(3).Wy(b).setPosition(c);_.I(b,2,a);return b};_.g.qQ=function(a,b){b=qOc(4).setPosition(b);_.I(b,2,a);return b};_.g.OM=function(a){return _.x(a,_.oOc,2)};
var jXc=function(){_.yy.call(this,new iXc,function(a){a:switch(_.Eb(a,_.kM)){case 6:a=_.xy(_.Rj(a,_.wy,6,_.kM)).getTime().toString();break a;case 7:var b=_.Rj(a,_.jM,7,_.kM);a=_.x(b,_.wy,1);b=b.qv();a=a&&b?_.xy(b).getTime()+"--"+_.xy(a).getTime():"";break a;default:a=""}return a})};_.K(jXc,_.yy);var lXc=function(){kXc||(kXc=new jXc);return kXc},kXc;
var mXc=function(a,b,c,d){mM.call(this,b.He(),b.Fj(),b.wk(),d);this.request=a;this.logName="drive.ds.sync.SyncedActivityQueryLiveList";this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.owc(_.Oj(b.Ic.Vf(),6,1E3));this.ta=c};_.K(mXc,mM);_.g=mXc.prototype;_.g.activate=function(){mM.prototype.activate.call(this);this.Ut()};_.g.MG=function(){_.P(this.request,3)?this.page():this.poll()};
_.g.ou=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;mM.prototype.ou.call(this,a)};_.g.getData=function(){var a=(new vOc).Ac(this.status);_.Ej(a,2,this.O.slice(0,this.limit));this.ka=_.Aa(this.O);return a};_.g.Rr=function(){var a=lXc().ky(this.ka,this.O),b=new sOc;a=_.Ej(b,2,a).Ac(this.status);this.ka=_.Aa(this.O);return a};_.g.nk=function(){return!this.Oe()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.ld=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.V=!0,this.nk()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).then(function(c){b.H=!0;var d=_.Ab(c,_.oOc,1);b.O=b.O.concat(d);b.token=c.py()||"";0<d.length&&(b.changed=!0);b.Ut();b.page(a)},function(c){b.dispatchEvent(new _.Oc(c));b.V=!1}):(this.V=!1,a&&a.callback(),nXc(this))):this.V=!1};
_.g.poll=function(){var a=this;this.active&&(this.V=!0,this.ta(this.request,this.limit).then(function(b){var c=lXc();a.H=!0;var d=_.Ab(b,_.oOc,1);UK(c,a.O.slice(0,d.length),d)?(a.O=d,a.token=b.py()||"",a.changed=!0,a.Ut(),a.page()):(a.V=!1,nXc(a))},function(b){a.dispatchEvent(new _.Oc(b));a.V=!1}))};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))}};
_.g.EL=function(){this.Oe()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.SO=function(){this.active&&this.nk()&&!this.V&&this.page(new _.$h)};var nXc=function(a){_.P(a.request,3)||(_.TH(a.ma),_.n.setTimeout((0,_.M)(a.poll,a),a.ma.Ya()))};mXc.prototype.Zb=function(){return this.O.length};
var oXc=function(){};_.g=oXc.prototype;_.g.sM=function(a,b){return xOc(wOc(1),a).setPosition(b)};_.g.rM=function(a,b){return xOc(wOc(2).setPosition(b),a)};_.g.EE=function(a,b,c){return xOc(wOc(3).Wy(b).setPosition(c),a)};_.g.qQ=function(a,b){return xOc(wOc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,_.YL,2)};
var pXc=function(){_.yy.call(this,new oXc,function(a){return a.getId()})};_.K(pXc,_.yy);var rXc=function(){qXc||(qXc=new pXc);return qXc},qXc;
var sXc=function(a,b,c){mM.call(this,b.He(),b.Fj(),b.wk());this.request=a;this.logName="drive.ds.sync.SyncedBackupsQueryLiveList";this.V=[];this.backups=[];this.changed=!1;this.O=new _.owc(_.Oj(b.Ic.Vf(),54,1E3));this.ka=c};_.K(sXc,mM);_.g=sXc.prototype;_.g.activate=function(){mM.prototype.activate.call(this);this.Ut()};_.g.MG=function(){this.poll()};_.g.getData=function(){var a=new FOc;a=_.Ej(a,2,this.backups).Ac(this.status);this.V=_.Aa(this.backups);return a};
_.g.Rr=function(){var a=rXc().ky(this.V,this.backups),b=new DOc;a=_.Ej(b,2,a).Ac(this.status);this.V=_.Aa(this.backups);return a};_.g.nk=function(){return!this.Oe()&&!this.H};_.g.poll=function(){var a=this,b=new _.$h;this.ka(this.request).then(function(c){a.H=!0;c=_.Ab(c,_.YL,2);UK(rXc(),a.backups,c)&&(a.changed=!0,a.backups=c,a.O.reset());a.Ut();b.callback();tXc(a)},function(c){a.dispatchEvent(new _.Oc(c));b.Gd(c);tXc(a)});return b};
_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))}};_.g.SO=function(){};var tXc=function(a){a.active&&(_.n.setTimeout((0,_.M)(a.poll,a),a.O.Ya()),_.TH(a.O))};sXc.prototype.Zb=function(){return this.backups.length};
var uXc=function(){};_.g=uXc.prototype;_.g.sM=function(a,b){return hNc(gNc(1),a).setPosition(b)};_.g.rM=function(a,b){return hNc(gNc(2).setPosition(b),a)};_.g.EE=function(a,b,c){return hNc(gNc(3).Wy(b).setPosition(c),a)};_.g.qQ=function(a,b){return hNc(gNc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,_.sk,2)};
var vXc=function(){_.yy.call(this,new uXc,function(a){return a.getId()})};_.K(vXc,_.yy);_.dg(vXc);
var FM=function(a,b,c){_.xi.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.K(FM,_.xi);FM.prototype.Hi=function(a){this.limit=a};FM.prototype.nh=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():wXc(this)};FM.prototype.ska=function(){return this.permissions};
var wXc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.lJ;c=_.I(c,3,a.request);c=_.w(c,2,a.nextPageToken);b=_.w(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};FM.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Vn()||"";a=_.Ab(a.ad(),_.sk,2);this.permissions=_.ya(this.permissions,a);a.length&&this.dispatchEvent("wa");if(this.nextPageToken&&this.permissions.length<this.limit)return wXc(this);this.dispatchEvent("za")};
FM.prototype.handleError=function(a){this.H=!1;a=new ZK(_.uI(a),_.Oj(this.context.Ic.Vf(),1,1));this.dispatchEvent(a)};
var xXc=function(a,b,c,d){mM.call(this,b.He(),b.Fj(),b.wk(),d||100);var e=this;this.request=a;this.context=b;this.logName="drive.ds.sync.SyncedPermissionQueryLiveList";this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new FM(b,this.request,this.ma);_.$e(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.K(xXc,mM);_.g=xXc.prototype;_.g.activate=function(){mM.prototype.activate.call(this);this.Ut()};_.g.MG=function(){this.query()};
_.g.ou=function(a){mM.prototype.ou.call(this,a||100)};_.g.getData=function(){var a=kEc(new YK,this.permissions.slice(0,this.limit)).Ac(this.status);this.ka=_.Aa(this.permissions);return a};_.g.Rr=function(){var a=vXc.rb().ky(this.ka,this.permissions),b=new oNc;a=_.Ej(b,2,a).Ac(this.status);this.ka=_.Aa(this.permissions);return a};_.g.nk=function(){var a;(a=!this.Oe())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.ld=function(){return this.request};
_.g.query=function(){var a=this;this.O=new FM(this.context,this.request,this.ma);this.O.Hi(this.limit);return this.O.nh().then(function(){return yXc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){mM.prototype.handleError.call(this,a);zXc(this)};var yXc=function(a){a.H=!0;var b=a.O.ska();UK(vXc.rb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Ut();zXc(a)};
xXc.prototype.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ni(_.Zc,this))}};xXc.prototype.SO=function(){var a=this;this.O.Hi(this.limit);this.O.nh().then(function(){return yXc(a)},function(b){return a.handleError(b)})};var zXc=function(a){if(a.active){var b=a.context.Ic.Vf();a.V=_.n.setTimeout((0,_.M)(a.query,a),Math.ceil(_.Oj(b,7,9E5)*Math.random())+_.Oj(b,15,36E5))}};xXc.prototype.Zb=function(){return this.permissions.length};
var AXc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.ni(_.Zc,a))},0)};
var BXc=function(){},CXc=function(a,b){AM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=BXc;this.H=null;this.id=String(_.Ea(this))};_.K(CXc,AM);CXc.prototype.B$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(OK(a,b,gM)))};CXc.prototype.nh=function(a){a=void 0===a?BXc:a;if(!this.H){this.O=a;var b=_.Xh();this.H=b;this.send("10.1",[this.request],function(c,d){return OK(c[0],d,gM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
CXc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var DXc=function(a,b,c){_.xi.call(this);var d=this;this.instanceId=a;this.H=b;this.O=c;this.Bu={};this.files={};_.$e(this,function(){d.H("7.6",[])})};_.K(DXc,_.xi);_.g=DXc.prototype;_.g.getId=function(){return this.instanceId};_.g.pQ=function(){return _.dI()};
_.g.upload=function(a,b){!_.B(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 _.Cuc;_.w(d,1,b.size);_.I(a,15,d);this.files[a.ij()]=b}return _.fi(this.H("7.1",[a,c],function(e,f){return OK(e[0],f,_.CJ)}))};_.g.cancel=function(a){this.H("7.2",[a])};_.g.cG=function(){this.H("7.3",[])};
_.g.retry=function(a){for(var b={},c=_.m(a),d=c.next();!d.done;d=c.next())b[d.value]=new _.$h;c=this.pQ();this.Bu[c]=b;b=_.Va(b);this.H("7.4",[c].concat(_.Jd(a)));return b};_.g.qM=function(a,b){var c=this;return _.fi(this.H("7.5",[a].concat(_.Jd(b)),function(d){return DAc(d[0])}).then(function(d){return c.O.addCallback(function(e){return e.Z2a(d)})}))};var EXc=function(a,b,c,d){if(a.Bu[b]&&a.Bu[b][c]){var e=a.Bu[b][c];d instanceof _.CJ?e.callback(d):e.Gd(d);delete a.Bu[b][c];_.Za(a.Bu[b])&&delete a.Bu[b]}};
var FXc=function(a,b){AM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.K(FXc,AM);var GXc=function(a){var b=_.dI(),c=new DXc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.$e(c,function(){return void a.H.delete(b)});return c};
FXc.prototype.B$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.files[d];a.H("7.7",[d,_.Usc(c,b,Math.min(c.size,b+e))]);break;case 0:b=OK(e[1],b,_.CJ);EXc(a,d,e[0],b);break;case 1:b=new _.Nc(void 0,OK(e[1],b,_.Lc));EXc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.Nwc(d,e[0],e[1]));break;default:throw Error("Lg");}}};
var HXc=function(a,b){if(0===a.length)throw new _.Nc("mutateUserPref requires a namespace.",_.FI(3));var c=null;b instanceof _.fD?c=(b=(b=_.x(b,_.Yo,1))&&b.getKey())&&_.Zo(b)||null:b instanceof _.eD&&(c=(b=b.getKey())&&_.Zo(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.Nc("mutateUserPref unsupported for namespace: "+c,_.FI(3));};
var IXc=function(a){this.H=a};
var hBc=function(a){AM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(JXc=_.Xh()).promise);var b=this;this.ta=null;this.Pa=this.Ta=this.$a=this.ma=!1;this.ha=this.ka=this.W=null;this.hb=new _.on;this.Ja=new _.on;this.V=JXc;JXc=void 0;this.context=a;GVc(this.context,new eXc(this.V.promise));XDc(this.context.Gg,_.ie(this.context.Ic,28));this.H=this.context.mfa;this.O=new hWc(this.V.promise,this.context,this.H);this.ob=new FXc(this.V.promise,this.context.bQ);this.Ha=new cXc(this.V.promise,this.context);
this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.wk(),[].concat(_.Jd(Object.values(_.KB))),function(c){return void b.dispatchEvent(c)})},JXc;_.K(hBc,AM);
hBc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.wa.promise;var b=this.context.jk().H(106E3);this.ta.then(function(){b&&b.vj();a.P1a()},function(){_.nK(a.context.jk(),181008852)});this.context.He().info("drive.ds.sync.ItemServiceProxy","Initializing "+(_.SJ(this.context.Ic)?"(coldstart) ":"")+"with client build: "+this.context.Ic.Oi());var c=pAc(this.context.Ic,this.Qi(),_.YJ(this.context.Gg));KXc(this,c);if(2===c.H){var d=new EM(new bWc,6,this.context.He());XWc(d,c.O);this.Ja.resolve(d)}else KAc(this.Ha);
this.context.He().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+c.endpoint);c.channel.start();EVc(this.context,function(){return LXc(c.channel)})}return this.ta};
var LXc=function(a){return _.Xja([new _.Th(function(b){a.isDisposed()||rL(a,"8.1",void 0,function(){a.dispose();b()})}),_.Bi(1E4)])},KXc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Qi(),fds:_.YJ(a.context.Gg)}}):c.registerService("1.1",function(){return MXc(a,b)});2===b.H?a.Ja.promise.then(function(){return void NXc(a,b)}):NXc(a,b);qL(c,"2.1",function(){return{dsc:a.context.Ic.Gc()}});qL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new aWc(d.id,
c,a.context.He(),d.clients)),d.dsp&&OXc(c),d.ivd&&PXc(a,c)):(d=new _.Lc(JSON.parse(d.err)),a.wa.reject(new _.Nc("Unable to initialize dataservice.",d)))});qL(c,"2.15",function(d){a.dispatchEvent(new MOc(d.dt))});qL(c,"2.5",function(d){a.context.Yy(d.id)});qL(c,"2.6",function(d){a.context.Fj().Jl(d.os)});qL(c,"2.18",function(d){a.context.Fj().Vy(d.oois)});qL(c,"2.7",function(){a.ma=!1});qL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new OEc(d.au?"pb":"qb"))});qL(c,"2.19",function(d){a.context.wk().update(d.cs)});
qL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.nt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.He().config(e,d);break;case "fine":_.VJ(a.context.He(),e,d,"fine");break;case "finer":_.VJ(a.context.He(),e,d,"finer");break;case "finest":_.VJ(a.context.He(),e,d,"finest");break;case "info":a.context.He().info(e,d);break;case "warning":case "severe":TDc(a.context.He(),e,d);break;default:TDc(a.context.He(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),TDc(a.context.He(),
e,d)}});qL(c,"2.10",function(d){return void a.y$(d)});qL(c,"2.12",function(){a.Pa=!0;GM(a)});qL(c,"2.14",function(){return a.hb.resolve()});qL(c,"2.16",function(){return a.$a=!0});qL(c,"2.17",function(d){a.context.He().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},NXc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",MXc(a,b));rL(b.channel,"8.4",{dsc:a.context.Ic.Gc()});OXc(b.channel);PXc(a,b.channel)},OXc=function(a){_.n._DRIVE_dsp&&rL(a,"8.3",{dsp:QXc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];rL(a,"8.3",{dsp:QXc(c)})}}},PXc=function(a,b){_.Q(a.context.Ic,24,!1)&&(_.n._DRIVE_ivd?rL(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&rL(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},MXc=function(a,b){var c={};if(1===b.H){var d=new _.MNa(document);c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=d.get("APISID")||d.get("__Secure-APISID")}return{ac:c,bl:a.context.Ic.Oi(),
ufds:b.V}};hBc.prototype.Qi=function(){var a=_.Fj(_.Fj(_.aI(this.context.Ic.clone(),28),44),91),b=new _.MH;b.update(_.QJ(_.XH(a)));b.update(String(_.vI(_.XH(a))));b.update(a.Gc());return _.Xqc(b.digest())};var QXc=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=hBc.prototype;_.g.y$=function(a){this.dispatchEvent(new _.Oc(new _.Nc(void 0,new _.Lc(JSON.parse(a.p)))))};
_.g.query=function(a){GM(this);jGc(this.context.wm,a,VDc(this.context.Gg));this.jF();var b=this.O.Pwa(a);this.Ta||(a=a.se(),a&&121===_.B(a,1)||(this.Ta=!0,this.Rc.listen(b,_.Zc,this.EMa)));return b};_.g.EMa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Ha.H=this.$a,this.Rc.Tc(a,_.Zc,this.EMa))};_.g.Rs=function(a){GM(this);JEc(a);this.jF();return this.O.Mwa(a)};
_.g.Qua=function(a,b){var c=this;GM(this);if(this.ka&&_.Nj(this.ka.ld(),a))return this.ka;this.ka=new mXc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return OK(h[0],k,LOc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.YFa=function(a,b){var c=this;GM(this);if(this.ha&&_.Nj(this.ha.ld(),a))return AXc(this.ha),this.ha;this.ha=new xXc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return OK(e[0],f,pNc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.X$=function(a){GM(this);return _.fi(this.send("3.14",[a],function(b,c){return OK(b[0],c,dM)}))};_.g.k8=function(a){GM(this);return _.fi(this.send("3.15",[a],function(b,c){return OK(b[0],c,dM)}))};
_.g.hd=function(a){GM(this);!this.ma&&_.DJ(a)&&(this.ma=!0);a=rAc(a);return _.fi(this.send("3.3",[a],function(b,c){return OK(b[0],c,_.CJ)}))};_.g.NN=function(a){GM(this);a=BAc(a);return this.send("3.35",[a],function(b,c){return OK(b[0],c,_.NEc)})};_.g.tC=function(a){GM(this);for(var b=0;b<a.length;b++)!this.ma&&_.DJ(a[b])&&(this.ma=!0);a=uAc(a);return _.fi(this.send("3.4",[a],function(c,d){return zGc(c[0],d).get()}))};_.g.Lwa=function(){GM(this);return GXc(this.ob)};
_.g.xSa=function(a){GM(this);return new dXc(this.V.promise,a)};_.g.kr=function(a,b){var c=this;GM(this);var d=_.bh();this.H.create(d,a);return _.fi(this.send("3.5",[a,!!b],function(e,f){f=OK(e[0],f,tL);return new _.iK(f,e[1],e[2])})).addCallback(function(e){TGc(c.H,d,e);return e.response}).Cg(function(e){sL(c.H,d);return e})};_.g.jr=function(a){GM(this);return this.send("3.10",[a],function(b,c){return OK(b[0],c,mNc)})};
_.g.Z$=function(a){GM(this);return _.fi(this.send("3.11",[a],function(b,c){return OK(b[0],c,qNc)}))};_.g.i8=function(a){GM(this);return _.fi(this.send("3.12",[a],function(b,c){return OK(b[0],c,qNc)}))};_.g.dT=function(a){GM(this);return _.fi(this.send("3.13",[a],function(b,c){return OK(b[0],c,qNc)}))};
_.g.jN=function(a,b){var c=this;GM(this);var d=_.bh();this.H.create(d,a);return _.fi(this.send("3.1",[a,!!b],function(e,f){f=OK(e[0],f,_.iM);return new _.lK(f,e[1],e[2])})).addCallback(function(e){TGc(c.H,d,e);return e.response}).Cg(function(e){sL(c.H,d);return e})};
_.g.KG=function(a,b){var c=this,d=_.ie(this.context.Ic.Vf(),30);if(!d||0===d.length)return _.gi(new _.Nc("getUserPrefs requires a namespace.",_.FI(3)));0===_.ie(a,3).length&&LAc(a,d);GM(this);var e=_.bh();this.H.create(e,a);return _.fi(this.send("3.2",[a,!!b],function(f,h){h=OK(f[0],h,_.Mz);return new _.kK(h,f[1],f[2])})).addCallback(function(f){TGc(c.H,e,f);return f.response}).Cg(function(f){sL(c.H,e);return f})};
_.g.bS=function(a){GM(this);HXc(_.ie(this.context.Ic.Vf(),30),a);a=yAc(a);return this.send("3.6",[a],function(b,c){return OK(b[0],c,rNc)})};_.g.Vr=function(a){GM(this);return _.fi(this.send("3.16",[a],function(b,c){return OK(b[0],c,mEc)}))};_.g.ABa=function(){return this.ma};_.g.Jl=function(a){GM(this);this.send("3.8",[a])};_.g.Vy=function(a){GM(this);return _.Uh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.iY=function(a){GM(this);FVc(this.context).iY(a);this.Vy(!!a)};
_.g.jF=function(){GM(this);this.send("3.9",[])};_.g.dS=function(){GM(this);this.send("3.41",[]);this.context.dS();var a=XK(this.context.jk(),106006);a&&this.V.promise.then(function(b){var c=_.x(_.dK(a),wDc,6);if(!c){c=new wDc;var d=_.dK(a);_.I(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.O);a.vj()},function(){})};_.g.yB=function(){GM(this);return this.context.yB()};_.g.iQ=function(){GM(this);return _.Uh(this.send("3.19",[],function(a,b){return OK(a[0],b,EGc)}))};_.g.isConnected=function(){return this.context.wk().isConnected()};
_.g.E7=function(){return this.send("3.46",[],function(a,b){return OK(a[0],b,_.jwc)})};_.g.x9=function(){return this.Ha};_.g.sync=function(){GM(this);return _.Uh(this.send("3.28",[]))};_.g.Eu=function(){return this.context.Eu()};_.g.fY=function(a){this.Ja.promise.then(function(b){return void b.fY(a)})};_.g.Dpa=function(a){GM(this);return this.O.Wwa(a)};_.g.K4=function(a){GM(this);return this.O.Vwa(a)};_.g.VFa=function(a){GM(this);mGc(this.context.wm,a,VDc(this.context.Gg));return this.O.Swa(a)};
_.g.Epa=function(a){GM(this);return new CXc(this.V.promise,a)};_.g.Bva=function(a){var b=this;GM(this);if(!this.W||this.W.isDisposed())this.W=new sXc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return OK(d[0],e,FOc)})});return this.W};_.g.FGa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Uh()};_.g.j8=function(a){GM(this);return _.fi(this.send("3.22",[a],function(b,c){return OK(b[0],c,GOc)}))};
_.g.uV=function(a){GM(this);return _.fi(this.send("3.25",[a],function(b,c){return OK(b[0],c,BOc)}))};_.g.lba=function(){return this.hb.promise};_.g.Kna=function(a){var b=_.Xh();_.fi(this.send("3.30",[a],function(c,d){c[0]?b.resolve(OK(c[0],d,IOc)):b.reject(new _.Nc(void 0,OK(c[1],d,_.Lc)))})).Cg(function(c){return void b.reject(c)});return b.promise};_.g.bwa=function(a){GM(this);return this.O.Iwa(a)};_.g.z7=function(a){GM(this);return this.send("3.42",[a],function(b,c){return OK(b[0],c,DMc)})};
_.g.UO=function(a){GM(this);var b=new _.on;this.send("3.39",[a],function(c,d){return c.map(function(e){return OK(e,d,kHc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new IXc(b.promise))};_.g.pGa=function(a){var b=this;GM(this);return new gXc(this.context,a,function(c){return _.Uh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new BGc(OK(d[0],e,fM),d[1])}))})};
_.g.qGa=function(a){GM(this);return this.send("3.38",[a],function(b,c){return OK(b[0],c,ONc)})};_.g.UKa=function(a){GM(this);return this.O.$wa(a)};_.g.yqa=function(a){GM(this);return this.O.Zwa(a)};_.g.sJa=function(a){var b=this;GM(this);return new hXc(this.context,a,function(){return _.Uh(b.send("3.40",[a],function(c,d){return OK(c[0],d,_.EK)}))})};_.g.tJa=function(a){GM(this);return this.O.Twa(a)};_.g.u_=function(a){GM(this);this.send("3.43",[a])};
_.g.X_=function(a){GM(this);return _.Uh(this.send("3.44",[a],function(b,c){return OK(b[0],c,YEc)}))};_.g.Jo=function(a){GM(this);if(1!==_.RJ(this.context.Ic))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Ng"));if(!c.Wk()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",a))};
_.g.P1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Bi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Xja(b).then(function(c){c?_.zi(a.P1a.bind(a),6E4):(a.Pa=!0,GM(a))})}};var GM=function(a){a.Pa&&a.dispatchEvent(new kPc)};
var jBc=function(a){oM.call(this,a);this.ha=this.ka=this.ta=null;this.hb=_.Xh();this.logName="drive.ds.sync.SyncedItemService";this.H=a.Pm()};_.K(jBc,oM);jBc.prototype.iSa=function(){this.Ha=new nWc(this.context);this.La(this.Ha);this.Ja=new rWc(this.context);this.La(this.Ja);this.Pa=new yWc(this.context);this.La(this.Pa)};
jBc.prototype.$a=function(){var a=this,b=["hVFf7"];_.SJ(this.context.Ic)&&b.push("BNEDtc");yL(this.O,b,function(){return void a.jXa()});yL(this.O,["T8oKm","ZA9qG"],function(){return void RXc(a)});yL(this.O,["T8oKm","mrK8ic"],function(){return void RXc(a)});this.Rc.listen(this.Ha,"WPi0i",this.Asa.bind(this,1));this.Rc.listen(this.Ja,"Mb",this.Asa.bind(this,2));this.Rc.listen(this.Pa,"WPi0i",this.Asa.bind(this,4));yL(this.O,["GZTDpc"],function(){return a.hb.resolve()})};var RXc=function(a){sM(a.context).addCallback(function(b){b.start()})};
_.g=jBc.prototype;_.g.Asa=function(a){_.oa(ZEc,a)&&this.dispatchEvent(new MOc(a))};_.g.K4=function(a){return this.V.Vwa(a.clone())};_.g.VFa=function(a){mGc(this.context.wm,a,VDc(this.context.Gg));return this.V.Swa(a.clone())};_.g.Dpa=function(a){return this.V.Wwa(a.clone())};_.g.Epa=function(a){return new PWc(a,this.context.Pm())};
_.g.Qua=function(a,b){var c=this;if(this.ta&&_.Nj(this.ta.ld(),a))return this.ta;this.ta=new mXc(a.clone(),this.context,this.ikb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.ikb=function(a,b,c){var d=new _.rtc(a,b,c);return _.fi(this.H.then(function(e){return e.Pe(d)}).tg(function(e){return _.HI(e)}))};_.g.Bva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new sXc(a,this.context,function(c){return SXc(b,c)});return this.ha};var SXc=function(a,b){return _.fi(a.H.then(function(c){return c.Pe(b)}).tg(function(c){return _.HI(c)}))};
_.g=jBc.prototype;_.g.FGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Uh()};_.g.uV=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}))};_.g.j8=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}))};_.g.YFa=function(a,b){var c=this;if(this.ka&&_.Nj(this.ka.ld(),a))return AXc(this.ka),this.ka;this.ka=new xXc(a.clone(),this.context,this.CLb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.CLb=function(a){var b=this;return this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.lI(b.context.Ic)?qIc(b.context.Af.tq,_.Ab(c.ad(),_.sk,2),a.ld().getId()).then(function(){return c}):c},_.HI)};_.g.X$=function(a){var b=this;return _.fi(this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.lI(b.context.Ic)?qIc(b.context.Af.tq,[_.x(c,_.sk,2)],a.qc()).then(function(){return c}):c},_.HI))};
_.g.k8=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};_.g.bwa=function(a){return this.V.Iwa(a.clone())};_.g.z7=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.HI)};_.g.UO=function(a){return this.H.then(function(b){return b.Pe(a)}).then(function(b){var c=new _.on;AIc(a,b).then(function(d){return c.resolve(d)});return new IXc(c.promise)},function(b){return void _.HI(b)})};_.g.pGa=function(a){var b=this;return new gXc(this.context,a,function(c){return b.H.then(function(d){return d.Pe(c)}).tg(function(d){return _.HI(d)})})};
_.g.qGa=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.HI)};_.g.hd=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};_.g.NN=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.HI)};_.g.tC=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.JI?c.push(String(f.qc())):c.push(String(f.getId()));d.push(b.hd(f))});a=new _.eo(d);var e=new _.$h;a.addCallback(this.Mmb.bind(this,e,c));return e};
_.g.Lwa=function(){return new EWc(this.context.Ic,this.context.OA,this.context.bR().lfa,this.context.Pm(),this.context.bQ,this.context.He(),this.context.jk())};_.g.kr=function(a,b){var c=this,d=_.bh();this.W.create(d,a);3===a.getType()?a=oM.prototype.kr.call(this,a).addCallback(function(e){return new _.iK(e,1,!1)}):(zL(this.O,"Qubz4b"),a=this.Ja.enqueue(new wWc(a,b)));return a.addCallback(function(e){TGc(c.W,d,e);return e.response}).Cg(function(){sL(c.W,d)})};
_.g.jr=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};_.g.Z$=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};_.g.i8=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};_.g.dT=function(a){return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};
_.g.jN=function(a,b){var c=this;zL(this.O,"iuEtc");var d=_.bh();this.W.create(d,a);return this.Ha.enqueue(new pWc(a,b)).addCallback(function(e){TGc(c.W,d,e);return e.response}).Cg(function(){sL(c.W,d)})};
_.g.KG=function(a,b){var c=this,d=_.ie(this.context.Ic.Vf(),30);if(!d||0===d.length)return _.gi(new _.Nc("getUserPrefs requires a namespace.",_.FI(3)));0===_.ie(a,3).length&&LAc(a,d);var e=_.bh();this.W.create(e,a);zL(this.O,"OZvrNc");return this.Pa.enqueue(new BWc(a,b)).addCallback(function(f){TGc(c.W,e,f);return f.response}).Cg(function(){sL(c.W,e)})};_.g.bS=function(a){HXc(_.ie(this.context.Ic.Vf(),30),a);return _.fi(this.H.then(function(b){return b.Pe(a)}).then(null,_.HI))};
_.g.Vr=function(a){var b=this;return _.fi(this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.lI(b.context.Ic)?oIc(b.context.Af.tq,c):c},_.HI))};_.g.UKa=function(a){return this.V.$wa(a.clone())};_.g.yqa=function(a){return this.V.Zwa(a.clone())};_.g.sJa=function(a){var b=this;return new hXc(this.context,a,function(c){return b.H.then(function(d){return d.Pe(c)}).tg(function(d){return _.HI(d)})})};_.g.tJa=function(a){return this.V.Twa(a.clone())};
_.g.u_=function(a){cRc(this.context.Af,[a])};_.g.X_=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.HI)};_.g.Jo=function(a){if(1!==_.RJ(this.context.Ic))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Ng"));if(!c.Wk()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.Af.Jo(a);NRc(this.context.Af);return Promise.resolve()};_.g.ABa=function(){return this.context.bR().eK()};
_.g.Vy=function(a){var b=this;return this.context.Vy(a).then(function(c){return c?(b.context.Fj().Vy(a),b.context.Hs.hL()):_.Uh(!a)})};_.g.iY=function(a){FVc(this.context).iY(a);this.Vy(!!a)};_.g.jF=function(){sM(this.context).addCallback(function(a){a&&a.ooa()});this.context.Vga.jF()};_.g.fY=function(a){a.SMa(this.context)};_.g.Mmb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];NRc(this.context.Af);a.callback(d)};
_.g.sync=function(){var a=this;return _.Wh([this.context.U$.promise,this.context.nfa.promise]).then(function(){return a.context.Hs.hL()}).then()};_.g.Eu=function(){sM(this.context).addCallback(function(a){a&&a.dispose()});return oM.prototype.Eu.call(this)};_.g.lba=function(){return this.hb.promise};
var TXc=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,_.F)(a+"Reload</button>")};
_.mn({id:_.hl,callback:function(a){var b=_.szc(a),c=mBc(a),d=_.x(a.get(_.rd),_.kc,10);_.xuc(d,b);_.Cj(d,28,c);b=kBc(a,d);a.registerService(_.il,b.x9());_.ri(b,"VbxEwf",function(){var e={};_.Wc(_.Ar.getService(a),new _.nq(new _.mq(TXc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("RsR2Mc");

_.UXc=function(a,b){return _.w(a,2,b)};_.VXc=function(a,b){return _.w(a,1,b)};_.WXc=function(a,b){return _.I(a,2,b)};_.XXc=function(a,b){return _.Ej(a,1,b)};_.YXc=function(a,b){return _.Cj(a,1,b)};_.ZXc=function(a,b){return _.Ej(a,2,b)};_.$Xc=function(a,b){return _.I(a,3,b)};

_.u();

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