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


_.W("a","block",1,function(a){a=a||{};return(0,_.G)('<svg class="'+(a.ob?_.F("a-s-fa-Ha-pa"):"")+'" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>')});

_.u();

}catch(e){_._DumpException(e)}
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("emk");


_.u();

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

var Unb;_.Cc=function(a){_.ti.call(this,_.Lc);this.error=a};_.K(_.Cc,_.ti);_.xA=function(a){_.J.call(this,a,-1,Unb)};_.K(_.xA,_.J);_.xA.prototype.O=function(){return _.de(this,1)};_.yA=function(a,b){return _.Hj(a,1,b)};_.xA.prototype.qn=function(){return _.de(this,2)};_.zA=function(a,b){return _.Hj(a,2,b)};_.xA.prototype.ue=function(){return _.B(this,_.Cf,3)};_.AA=function(a,b){return _.I(a,3,b)};_.Vnb=function(a,b){return _.w(a,5,b)};Unb=[1,2,6,11];

_.u();

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


_.u();

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

_.PB=function(a){return a instanceof _.Ac?a:a instanceof _.zc?new _.Ac(void 0,a):a instanceof Error?new _.Ac(a.message,void 0,a):new _.Ac("Not an Error",void 0,Error("sb`"+JSON.stringify(a)))};_.uIb=function(a){return a instanceof Error?_.PB(a).Sg:a instanceof _.Ac?a.Sg:a};

_.u();

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

_.sA=function(a){if(Array.isArray(a))return a.map(_.sA).join("");if(_.y(a,2)){if(!a.getId())throw Error("sd");return a.getId()+"/"+_.y(a,2)+","}return""};

_.u();

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

/*

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var dKb;_.cKb=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")};dKb=function(a){var b=_.paa(_.eFa,function(c){return a==c});if(void 0===b)throw Error("qb`"+a);return b};_.eKb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.eFa[a.name]):(this.code=a=a.code,this.name=dKb(a));_.ea.call(this,_.cKb("%s %s",this.name,b))};_.Yf(_.eKb,_.ea);var fKb=function(a,b){_.ti.call(this,a.type,b)};
_.Yf(fKb,_.ti);_.gKb=function(){_.Ci.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.M)(this.h0,this);this.H.onprogress=(0,_.M)(this.h0,this);this.H.onload=(0,_.M)(this.h0,this);this.H.onabort=(0,_.M)(this.h0,this);this.H.onerror=(0,_.M)(this.h0,this);this.H.onloadend=(0,_.M)(this.h0,this)};_.Yf(_.gKb,_.Ci);_.g=_.gKb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.eKb(a,"aborting read");}};_.g.fk=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.eKb(this.H.error,"reading file")};_.g.h0=function(a){this.dispatchEvent(new fKb(a,this))};_.g.Ya=function(){_.gKb.wb.Ya.call(this);delete this.H};

_.u();

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

var mLb,pLb;mLb=[4,5,6,7];_.mC=function(a){_.J.call(this,a)};_.K(_.mC,_.J);_.mC.prototype.Bb=function(){return _.y(this,1)};_.mC.prototype.Dc=function(a){return _.w(this,1,a)};_.mC.prototype.h$=function(){return _.y(this,2)};_.mC.prototype.Wb="JmcaR";_.nLb=function(a){_.J.call(this,a)};_.K(_.nLb,_.J);_.nLb.prototype.O=function(){return _.P(this,1)};_.nLb.prototype.Wb="dvhrqe";_.oLb=function(a){_.J.call(this,a)};_.K(_.oLb,_.J);_.oLb.prototype.ep=function(){return _.y(this,2)};
_.oLb.prototype.A1=function(){return _.y(this,3)};pLb=[5];_.qLb=function(a){_.J.call(this,a)};_.K(_.qLb,_.J);_.qLb.prototype.O=function(){return _.P(this,4)};_.qLb.prototype.setActive=function(a){return _.w(this,4,a)};_.rLb=function(a){_.J.call(this,a,-1,pLb)};_.K(_.rLb,_.J);_.g=_.rLb.prototype;_.g.CZ=function(){return _.y(this,1)};_.g.AT=function(){return _.y(this,3)};_.g.UJ=function(){return _.Uj(this,_.oLb,5)};_.g.Jl=function(){return _.y(this,6)};_.g.Fq=function(){return _.y(this,7)};
_.g.JM=function(){return _.y(this,9)};_.g.Xs=function(){return _.y(this,10)};_.g.FJ=function(){return _.B(this,_.qLb,12)};_.g.Zk=function(){return _.y(this,13)};_.g.ty=function(){return _.y(this,16)};_.g.ezb=function(){return _.Bj(this,16)};_.g.uy=function(){return _.y(this,17)};_.g.Wb="dzR11e";_.sLb=function(a){_.J.call(this,a,-1,mLb)};_.K(_.sLb,_.J);_.sLb.prototype.O=function(){return _.B(this,_.rLb,1)};_.sLb.prototype.VM=function(){return _.B(this,_.mC,8)};
_.sLb.prototype.V=function(){return _.B(this,_.nLb,9)};_.nC=function(a){_.J.call(this,a,-1,tLb)};_.K(_.nC,_.J);_.nC.prototype.getUser=function(){return _.B(this,_.Pk,1)};_.nC.prototype.getMetadata=function(){return _.B(this,_.sLb,3)};_.nC.prototype.zo=function(){return _.Bj(this,3)};var tLb=[2];

_.u();

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

_.uLb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Tn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Kr:e,size:f,Xd:h},a))};

_.u();

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

_.oC={xL:"pb",Ega:"qb",eU:"rb",dU:"sb"};_.vLb=new Map([[_.oC.xL,1],[_.oC.Ega,2],[_.oC.eU,2],[_.oC.dU,3]]);

_.u();

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


_.u();

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

_.HNb=function(a){a=parseInt(_.y(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.JNb=function(a,b,c,d){var e=_.Ye.getService(a);a=e.wg(a,c);_.INb(a.H.yk,b,d);e.eg(a)};_.INb=function(a,b,c){var d=new _.KNb;b.yU&&_.w(d,2,b.yU);b.bG&&0<=b.bG&&_.w(d,1,b.bG);b.quotaType&&_.w(d,3,b.quotaType);_.LNb(a,d);c&&(b=new _.MNb,_.w(b,1,c),_.NNb(a,b))};_.ONb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.PNb=function(a,b){return!_.Q(a,6,!1)||_.Q(b,15,!1)};
_.LNb=function(a,b){b&&(a=a.Vc(),_.I(a,29,b))};_.NNb=function(a,b){b&&(a=a.Vc(),_.I(a,38,b))};_.KNb=function(a){_.J.call(this,a)};_.K(_.KNb,_.J);_.MNb=function(a){_.J.call(this,a)};_.K(_.MNb,_.J);_.MNb.prototype.Sh=function(){return _.y(this,1)};
_.RNb=function(a,b,c){var d=_.D(a.get(_.TDa),1,""),e=_.HNb(b);d=new _.jj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.oj(_.qj(_.qj(_.qj(_.qj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.QNb(a,e,c)),-1!=parseInt(String(_.B(b,_.ly,2)),10)?"upgrade":"")};
_.QNb=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"}}};
_.SNb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.y(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("sy18w");


_.u();

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

_.iD=function(a){_.J.call(this,a)};_.K(_.iD,_.J);_.iD.prototype.ha=function(){return _.Fj(this,1)};_.iD.prototype.V=function(){return _.Fj(this,2)};_.iD.prototype.O=function(){return _.Fj(this,3)};

_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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

_.mub=function(a){_.J.call(this,a)};_.K(_.mub,_.J);_.mub.prototype.O=function(){return _.y(this,1)};_.mub.prototype.Bb=function(){return _.y(this,2)};_.mub.prototype.Dc=function(a){return _.w(this,2,a)};_.mub.prototype.V=function(){return _.y(this,3)};_.oub=function(a){_.J.call(this,a,-1,nub)};_.K(_.oub,_.J);_.oub.prototype.O=function(){return _.de(this,1)};var nub=[1];
_.qub=function(a){_.J.call(this,a,-1,pub)};_.K(_.qub,_.J);_.qub.prototype.O=function(){return _.Uj(this,_.mub,1)};var pub=[1];
_.sub=function(a){_.J.call(this,a,-1,rub)};_.K(_.sub,_.J);_.sub.prototype.O=function(){return _.Uj(this,_.qub,1)};var rub=[1];
_.tub=function(a){_.J.call(this,a)};_.K(_.tub,_.J);_.tub.prototype.V=function(){return _.B(this,_.sub,1)};_.tub.prototype.O=function(){return _.B(this,_.oub,2)};
_.oB=function(a){_.J.call(this,a,-1,uub)};_.K(_.oB,_.J);_.g=_.oB.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Uj(this,_.fl,2)};_.g.Vw=function(a){return _.Jj(this,2,a)};_.g.nh=function(a,b){return _.Wj(this,2,a,_.fl,b)};_.g.ek=function(){return _.y(this,3)};_.g.ul=function(){return _.Q(this,5,!0)};_.g.N5=function(){return _.B(this,_.tub,7)};_.g.Pra=function(){return _.P(this,8)};_.g.dg=function(){return _.y(this,17)};
_.g.lP=function(a){return _.w(this,17,a)};_.g.$e=function(){return _.y(this,12)};_.g.Ki=function(a){return _.w(this,12,a)};_.g.Zn=function(){return _.y(this,15)};_.g.Wja=function(){return _.de(this,18)};var uub=[2,14,18];

_.u();

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


_.u();

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


_.u();

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

_.MD=function(a){_.J.call(this,a)};_.K(_.MD,_.J);_.MD.prototype.getKey=function(){return _.B(this,_.Vb,1)};_.MD.prototype.jt=function(){return _.Bj(this,1)};_.MD.prototype.ue=function(){return _.B(this,_.Cf,2)};
_.ND=function(a){_.J.call(this,a)};_.K(_.ND,_.J);_.ND.prototype.ue=function(){return _.B(this,_.Cf,2)};

_.u();

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

_.LD=function(a){_.J.call(this,a,-1,mRb)};_.K(_.LD,_.J);_.LD.prototype.ue=function(){return _.B(this,_.Cf,1)};var mRb=[3];

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.fE=function(a,b,c){_.N.call(this);this.Kn=null!=c?(0,_.M)(a,c):a;this.ka=b;this.Kg=(0,_.M)(this.j9a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Yf(_.fE,_.N);_.g=_.fE.prototype;_.g.qe=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Wf()+this.ka:this.H=_.Ei(this.Kg,this.ka)};_.g.stop=function(){this.H&&(_.Fi(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.Kn.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.fE.wb.Ya.call(this)};_.g.j9a=function(){this.H&&(_.Fi(this.H),this.H=null);this.W?(this.H=_.Ei(this.Kg,this.W-_.Wf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Kn.apply(null,this.ha))};

_.u();

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


_.u();

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


_.u();

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

_.sG=function(a){_.J.call(this,a,-1,E8b)};_.K(_.sG,_.J);_.sG.prototype.getId=function(){return _.y(this,1)};_.sG.prototype.Pb=function(a){return _.w(this,1,a)};_.sG.prototype.ms=function(){return _.y(this,2)};_.sG.prototype.aK=function(){return _.Bj(this,2)};var E8b=[5,6,9,10,12,13,15,16];
var F8b;_.tG=function(a){_.J.call(this,a,-1,F8b)};_.K(_.tG,_.J);_.tG.prototype.Om=function(){return _.y(this,1)};_.G8b=function(a,b){return _.w(a,1,b)};F8b=[2,4];

_.u();

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


_.u();

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

_.uG=function(a){_.J.call(this,a)};_.K(_.uG,_.J);_.uG.prototype.getName=function(){return _.y(this,1)};_.uG.prototype.hd=function(a){return _.w(this,1,a)};_.uG.prototype.ue=function(){return _.B(this,_.Cf,2)};

_.u();

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

_.vG=function(a){_.J.call(this,a)};_.K(_.vG,_.J);_.g=_.vG.prototype;_.g.Di=function(){return _.y(this,1)};_.g.ti=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ue=function(){return _.B(this,_.Cf,3)};_.g.Np=function(){return _.y(this,4)};

_.u();

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

var N8b;_.wG=function(a){_.J.call(this,a,-1,N8b)};_.K(_.wG,_.J);_.wG.prototype.O=function(){return _.de(this,1)};_.wG.prototype.qn=function(){return _.de(this,2)};_.O8b=function(a,b){return _.Hj(a,2,b)};_.wG.prototype.ue=function(){return _.B(this,_.Cf,3)};_.P8b=function(a,b){return _.I(a,3,b)};N8b=[1,2];

_.u();

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

_.xG=function(a){_.J.call(this,a)};_.K(_.xG,_.J);_.g=_.xG.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,5)};_.g.Kd=function(a){return _.w(this,5,a)};_.g.kt=function(){return _.Bj(this,5)};_.yG=function(a){_.J.call(this,a,-1,Q8b)};_.K(_.yG,_.J);_.yG.prototype.qn=function(){return _.de(this,1)};
_.R8b=function(a,b){return _.Hj(a,1,b)};_.yG.prototype.ue=function(){return _.B(this,_.Cf,2)};var Q8b=[1,3];

_.u();

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

_.zG=function(a,b){return _.w(a,4,b)};_.S8b=function(a,b){_.w(a,11,b)};_.T8b=function(a,b){return _.w(a,25,b)};

_.u();

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


_.u();

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

_.U8b=function(a){_.J.call(this,a)};_.K(_.U8b,_.J);_.U8b.prototype.Di=function(){return _.y(this,3)};_.U8b.prototype.ti=function(a){return _.w(this,3,a)};_.U8b.prototype.ue=function(){return _.B(this,_.Cf,5)};_.U8b.prototype.getCustomer=function(){return _.y(this,6)};

_.u();

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

_.GG=function(a){_.J.call(this,a)};_.K(_.GG,_.J);_.GG.prototype.Ac=function(){return _.y(this,1)};_.Q9b=function(a){var b=new _.GG;return _.w(b,1,a)};_.GG.prototype.Di=function(){return _.y(this,2)};_.GG.prototype.ti=function(a){return _.w(this,2,a)};_.GG.prototype.ue=function(){return _.B(this,_.Cf,3)};

_.u();

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

_.Bqc=function(a){for(var b in a)delete a[b]};_.lI=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.rla)(a)};_.mI=function(a){return _.Q(a,5,!1)};_.Cqc=function(a,b){var c=_.B(a.H,_.Jya,9);null==c&&(c=new _.Jya);var d=_.y(b.H,10);d=_.w(c,5,d);b=_.y(b.H,12);_.w(d,2,b);_.I(a.H,9,c)};_.Dqc=function(a,b){a=_.Ri(a);b=_.Ri(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.Eqc=function(a){var b=_.zla(a);if("undefined"==typeof b)throw Error("X");var c=new _.pj(null,void 0);a=_.yla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.xma(c,e,f):c.add(e,f)}return c};

_.u();

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

var Fqc,Gqc;Fqc=[2];_.nI=function(a){_.J.call(this,a,-1,Fqc)};_.K(_.nI,_.J);_.nI.prototype.Bb=function(){return _.y(this,1)};_.nI.prototype.Dc=function(a){return _.w(this,1,a)};_.nI.prototype.GUa=function(){return _.Uj(this,_.yEa,2)};_.nI.prototype.ek=function(){return _.y(this,3)};_.oI=function(a){_.J.call(this,a,-1,Gqc)};_.K(_.oI,_.J);_.oI.prototype.O=function(){return _.de(this,1)};_.oI.prototype.ue=function(){return _.B(this,_.Cf,2)};_.Hqc=function(a,b){return _.I(a,2,b)};
_.oI.prototype.Di=function(){return _.Zj(this,3,20)};_.oI.prototype.ti=function(a){return _.w(this,3,a)};_.Iqc=function(a,b){return _.w(a,4,b)};Gqc=[1];

_.u();

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

_.Jqc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.Kqc=_.$a(_.Jqc);

_.u();

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

/*

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Nqc=function(a){_.N.call(this);this.O=a;this.H={};this.O.kO((0,_.M)(this.V,this))};_.Yf(_.Nqc,_.N);_.Pqc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Oe`"+b);if(b in a.H)throw Error("Pe`"+b);var c=new Oqc(a,b);return a.H[b]=c};_.Nqc.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)}};_.Nqc.prototype.Ya=function(){_.La(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var Oqc=function(a,b){_.N.call(this);this.Pg=a;this.H=b};_.Yf(Oqc,_.N);_.g=Oqc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Pg.O.registerService(this.H+":"+a,(0,_.M)(this.QSa,this,b),c)};_.g.kO=function(a){this.O=(0,_.M)(this.QSa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Qe");this.Pg.O.send(this.H+":"+a,b)};_.g.QSa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.Pg=this.Pg.H[this.H]=null};

_.u();

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

/*

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

_.u();

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

/*

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Wqc,qI,Xqc,sI,Zqc,Yqc;Wqc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.mga);try{delete a[_.mga]}catch(b){}};
qI=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(_.Ba(f)){f[_.mga]||c.push(f);var l=_.Ca(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++)Wqc(c[a]);return b.join("")};_.rI=function(a,b,c){if("number"===typeof a)var d={name:Yqc(a)};else d=a,a=Zqc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Yf(_.rI,_.ea);_.rI.prototype.getName=function(){return this.O.name||""};
sI={zib:1,Dhb:2,NOT_FOUND_ERR:3,L7a:4,R7a:5,Fhb:6,uib:7,ABORT_ERR:8,Uhb:9,g6b:10,TIMEOUT_ERR:11,Rhb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.$qc=(_.n.kI||_.n.mL||sI).zib;_.arc=(_.n.kI||_.n.mL||sI).Dhb;_.brc=(_.n.kI||_.n.mL||sI).NOT_FOUND_ERR;_.crc=(_.n.kI||_.n.mL||sI).L7a;_.drc=(_.n.kI||_.n.mL||sI).R7a;_.erc=(_.n.kI||_.n.mL||sI).Fhb;_.frc=(_.n.kI||_.n.mL||sI).uib;_.grc=(_.n.kI||_.n.mL||sI).ABORT_ERR;_.hrc=(_.n.kI||_.n.mL||sI).Uhb;_.irc=(_.n.kI||_.n.mL||sI).TIMEOUT_ERR;
_.jrc=(_.n.kI||_.n.mL||sI).Rhb;_.krc=(_.n.DOMException||sI).INVALID_ACCESS_ERR;_.lrc=(_.n.DOMException||sI).INVALID_STATE_ERR;
Zqc=function(a){switch(a){case "UnknownError":return _.$qc;case "NotFoundError":return _.brc;case "ConstraintError":return _.crc;case "DataError":return _.drc;case "TransactionInactiveError":return _.frc;case "AbortError":return _.grc;case "ReadOnlyError":return _.hrc;case "TimeoutError":return _.irc;case "QuotaExceededError":return _.jrc;case "InvalidAccessError":return _.krc;case "InvalidStateError":return _.lrc;default:return _.$qc}};
Yqc=function(a){switch(a){case _.$qc:return"UnknownError";case _.brc:return"NotFoundError";case _.crc:return"ConstraintError";case _.drc:return"DataError";case _.frc:return"TransactionInactiveError";case _.grc:return"AbortError";case _.hrc:return"ReadOnlyError";case _.irc:return"TimeoutError";case _.jrc:return"QuotaExceededError";case _.krc:return"InvalidAccessError";case _.lrc:return"InvalidStateError";default:return"UnknownError"}};
_.tI=function(a,b){return"error"in a?new _.rI(a.error,b):new _.rI({name:"UnknownError"},b)};_.uI=function(a,b){if("name"in a)return b=b+": "+a.message,new _.rI(a,b);if("code"in a){var c=Yqc(a.code);b=b+": "+a.message;return new _.rI({name:c},b)}return new _.rI({name:"UnknownError"},b)};
_.mrc=function(a){this.H=a};_.nrc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.mrc.prototype.range=function(){return this.H};
var orc=function(a){this.H=a};orc.prototype.getName=function(){return this.H.name};var prc=function(a,b,c,d){var e=new _.di;try{var f=a.H[b](d)}catch(h){return c+=" with key "+qI(d),e.Id(_.uI(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+qI(d);e.Id(_.tI(h.target,c))};return e};orc.prototype.get=function(a){return prc(this,"get","getting from index "+this.getName(),a)};
orc.prototype.getKey=function(a){return prc(this,"getKey","getting key from index "+this.getName(),a)};orc.prototype.getAll=function(a,b){return _.qrc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.qrc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.mrc?d.range():(new _.mrc(_.nrc.only(d))).range();var h=new _.di;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?qI(f):"<all>"),h.Id(_.uI(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?qI(f):"<all>");h.Id(_.tI(l.target,c))};return h};
var rrc=function(a){this.H=a};rrc.prototype.getName=function(){return this.H.name};var src=function(a,b,c,d,e){var f=new _.di;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=qI(d),e&&(c+=", with key "+qI(e)),f.Id(_.uI(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=qI(d);e&&(c+=", with key "+qI(e));f.Id(_.tI(k.target,c))};return f};_.g=rrc.prototype;_.g.put=function(a,b){return src(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return src(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.di;try{var c=this.H["delete"](a instanceof _.mrc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+qI(a),b.Id(_.uI(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+qI(a);b.Id(_.tI(e.target,f))};return b};
_.g.get=function(a){var b=new _.di;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+qI(a),b.Id(_.uI(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 "+qI(a);b.Id(_.tI(e.target,f))};return b};_.g.getAll=function(a,b){return trc(this,"getting all from index "+this.getName(),a,b)};
var trc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.mrc?c.range():(new _.mrc(_.nrc.only(c))).range();var f=new _.di;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?qI(e):"<all>"),f.Id(_.uI(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?qI(e):"<all>");f.Id(_.tI(k.target,b))};return f};
rrc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.di;try{var c=this.H.clear()}catch(d){return b.Id(_.uI(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Id(_.tI(d.target,a))};return b};rrc.prototype.getIndex=function(a){try{return new orc(this.H.index(a))}catch(b){throw _.uI(b,"getting index "+a);}};
rrc.prototype.count=function(a){var b=new _.di;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.Id(_.tI(e.target,d.getName()))}}catch(e){b.Id(_.uI(e,this.getName()))}return b};
var urc=function(a,b){_.Ci.call(this);this.H=a;this.O=b;this.Eb=new _.We(this);this.Eb.listen(this.H,"complete",(0,_.M)(this.dispatchEvent,this,"complete"));this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.X9a)};_.Yf(urc,_.Ci);_.g=urc.prototype;_.g.X9a=function(a){a.target instanceof _.rI?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.tI(a.target,"in transaction")})};_.g.Ng=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new rrc(this.H.objectStore(a))}catch(b){throw _.uI(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.uI(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.di;_.bf(this,"complete",(0,_.M)(a.callback,a));var b=_.bf(this,"abort",function(){_.Ai(c);a.Id(new _.rI(_.grc,"waiting for transaction to complete"))});var c=_.bf(this,"error",function(e){_.Ai(b);a.Id(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){urc.wb.Ya.call(this);this.Eb.dispose()};
var vrc=function(a){_.Ci.call(this);this.H=a;this.Eb=new _.We(this);this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.Y9a);this.Eb.listen(this.H,"versionchange",this.Hob);this.Eb.listen(this.H,"close",(0,_.M)(this.dispatchEvent,this,"close"))};_.Yf(vrc,_.Ci);_.g=vrc.prototype;_.g.asa=!0;_.g.Y9a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Hob=function(a){this.dispatchEvent(new wrc(a.oldVersion,a.newVersion))};_.g.close=function(){this.asa&&(this.H.close(),this.asa=!1)};_.g.jh=function(){return this.asa};_.g.getName=function(){return this.H.name};_.g.jj=function(){return Number(this.H.version)};_.xrc=function(a,b,c){try{return new rrc(a.H.createObjectStore(b,c))}catch(d){throw _.uI(d,"creating object store "+b);}};
_.yrc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new urc(d,a)}catch(e){throw _.uI(e,"creating transaction");}};vrc.prototype.Ya=function(){vrc.wb.Ya.call(this);this.Eb.dispose()};var wrc=function(a,b){_.ti.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Yf(wrc,_.ti);
_.zrc=function(){void 0==Xqc&&(Xqc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return Xqc};
_.Arc=function(a,b,c,d){var e=new _.di;b=b?_.zrc().open(a,b):_.zrc().open(a);b.onsuccess=function(f){f=new vrc(f.target.result);e.callback(f)};b.onerror=function(f){e.Id(_.tI(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new vrc(f.target.result);c(new wrc(f.oldVersion,f.newVersion),h,new urc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new wrc(f.oldVersion,f.newVersion))};return e};

_.u();

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

/*

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

_.Brc=function(a,b,c){_.hj(a.url,function(d){d=d.target;d.yv()?b(d.Il()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.Crc=function(a,b,c,d){return _.D(a,1).split("/").pop()==d?(d=_.y(a,2),Array.isArray(d)?new b(d):c(_.nb(a.Za()))):null};_.Erc=function(a){_.J.call(this,a,-1,Drc)};_.K(_.Erc,_.J);var Drc=[2];
_.Frc=function(a){_.J.call(this,a)};_.K(_.Frc,_.J);var Grc=function(){var a=new _.Frc,b=document.documentElement.getAttribute("lang");return _.w(a,5,b)};_.Frc.prototype.Wi=function(){return _.y(this,7)};
_.Hrc=function(a){_.J.call(this,a)};_.K(_.Hrc,_.J);
var Irc;_.xI=function(a){_.J.call(this,a,31,Irc)};_.K(_.xI,_.J);_.yI=function(a,b){return _.w(a,8,b)};Irc=[3,20,27];
var Krc=function(a){_.J.call(this,a,17,Jrc)};_.K(Krc,_.J);var Lrc=function(a){var b=Date.now().toString();return _.w(a,4,b)},Mrc=function(a,b){return _.Jj(a,3,b)},Nrc=function(a,b){return _.w(a,14,b)},Jrc=[3,5];
var Prc=function(a){_.J.call(this,a,6,Orc)};_.K(Prc,_.J);var Orc=[5];
var Qrc=function(a){_.J.call(this,a)};_.K(Qrc,_.J);
var Rrc=new _.Ak(175237375,Qrc);
_.zI=function(a,b,c,d,e,f,h,k,l,p,q){_.Ci.call(this);var r=this;this.Ka="";this.O=[];this.Ic="";this.Gb=this.Mb=this.ha=!1;this.Qc=this.rb=-1;this.Rb=!1;this.Fa=this.V=null;this.va=0;this.le=1;this.timeoutMillis=0;this.kb=!1;_.Ci.call(this);this.Tc=a;this.oc=b||_.Uf;this.ka=new Krc;this.Bd=d;this.Ab=q;this.ne=_.Eb(_.eja,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Od=null;this.withCredentials=!k;this.zc=f||!1;this.Qd=!this.zc&&(_.zj.Pn&&_.Hb(65)||_.zj.Mu&&_.Hb(45)||_.zj.Zx&&
_.Hb(12)||_.ah()&&0<=_.rg(_.Iia(),12))&&!!_.zf()&&!!_.zf().navigator&&!!_.zf().navigator.sendBeacon;a=_.w(new _.Hrc,1,1);f||(f=Grc(),_.I(a,11,f));_.I(this.ka,1,a);_.w(this.ka,2,this.Tc);this.ma=new _.vI(1E4,3E5,.1);this.H=new _.Di(this.ma.Za());this.Ma(this.H);_.Me(this.H,"tick",_.vga(Src(this,p)),!1,this);this.Qa=new _.Di(6E5);this.Ma(this.Qa);_.Me(this.Qa,"tick",_.vga(Src(this,p)),!1,this);this.Ta||this.Qa.start();this.zc||(_.Me(_.zf(),"beforeunload",this.ta,!1,this),_.Me(_.zf(),"unload",this.ta,
!1,this),_.Me(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.Me(document,"pagehide",this.ta,!1,this))};_.K(_.zI,_.Ci);var Src=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.zI.prototype.Ya=function(){this.ta();_.Ci.prototype.Ya.call(this)};var Trc=function(a){a.Ba||(a.Ba=.01>a.ne()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.zI.prototype.W=function(a){a instanceof _.xI?this.log(a):(a=_.yI(new _.xI,a.Lc()),this.log(a))};_.Urc=function(a,b){b?(a.V||(a.V=new _.Erc),b=b.Lc(),_.w(a.V,4,b)):a.V&&_.qb(a.V,4)};_.Vrc=function(a){a.Mb=a.Qd};_.Wrc=function(a,b){a.ma=new _.vI(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Za())};
_.zI.prototype.log=function(a){a=a.clone();var b=this.le++;_.w(a,21,b);this.Ka&&_.w(a,26,this.Ka);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.Bj(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.va;this.O.push(a);this.dispatchEvent(new Xrc(a));this.Ta||this.H.enabled||this.H.start()};
_.zI.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.kb)Yrc(this);else{var d=Date.now();if(this.Qc>d&&this.rb<d)b&&b("throttled");else{var e=Nrc(Mrc(Lrc(this.ka.clone()),this.O),this.va);d={};var f=this.oc();f&&(d.Authorization=f);var h=Trc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.cj(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.cj(h,"pageId",this.$a));if(f&&this.Ic===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.Lc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.Y7b(k));var p={url:h,body:k,Pkb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Za());if(z){var A=null;try{var C=JSON.parse(z.replace(")]}'\n",""));A=new Prc(C)}catch(E){}A&&(z=Number(_.Uma(A,1,"-1")),0<z&&(c.rb=Date.now(),c.Qc=c.rb+z),A=_.ub(A,Rrc))&&(A=_.Zj(A,1,-1),-1!=A&&(c.Rb||_.Wrc(c,A)))}a&&a()},r=
function(z){var A=_.Uj(e,_.xI,3);_.wI(c.ma);c.H.setInterval(c.ma.Za());401===z&&f&&(c.Ic=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.Ab?c.Ab.send(p,q,r):c.Bd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Pkb=2;v()},function(){v()}):v()}}}};_.zI.prototype.ta=function(){this.ha||(this.Mb&&Yrc(this),this.Gb&&Zrc(this),this.flush())};
var Yrc=function(a){$rc(a,32,10,function(b,c){b=_.cj(b,"format","json");b=_.zf().navigator.sendBeacon(b,c.Lc());a.kb&&!b&&(a.kb=!1);return b})},Zrc=function(a){$rc(a,6,5,function(b,c){b=_.aj(b,"format","base64json","p",_.Aj(c.Lc(),3));_.Hg(new Image,b);return!0})},$rc=function(a,b,c,d){if(0!==a.O.length){var e=_.Yla(Trc(a),"format");e=_.aj(e,"auth",a.oc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Mrc(Lrc(a.ka.clone()),h);0===f&&Nrc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Xrc=function(){_.ti.call(this,"event-logged",void 0)};_.K(Xrc,_.ti);

_.u();

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

var asc=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],E=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=E^A&(C^E);var O=1518500249}else L=A^C^E,O=1859775393;else 60>z?(L=A&C|E&(A|C),O=2400959708):(L=A^C^E,O=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+O+v[z]&4294967295;H=E;E=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]+E&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}}},bsc=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("Re`"+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("Se`"+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 dsc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,csc(bsc(d),a,c||null)].join(" "):null},csc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ia(d,function(k){e.push(k)}),esc(e.join(" "));var f=[],h=[];_.Ia(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];_.Ia(d,function(k){e.push(k)});a=esc(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},esc=function(a){var b=
asc();b.update(a);return b.digestString().toLowerCase()};
var fsc={};
var gsc,isc;gsc=function(a){return!!fsc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.hsc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;gsc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.gQa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");gsc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};isc=function(a,b,c,d){(a=_.n[a])||(a=(new _.gQa(document)).get(b));return a?dsc(a,c,d):null};
_.jsc=function(a,b){b=void 0===b?!1:b;var c=bsc(String(_.n.location.href)),d=[];if(_.hsc(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 _.gQa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?dsc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&gsc(b)&&((b=isc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=isc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.u();

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

_.ksc=function(a,b){this.ka=a;this.va=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.Brc;this.H=""};
_.ksc.prototype.build=function(){var a=new _.zI(this.ka,this.Ka?this.Ka:_.jsc,this.va,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;_.y(b,1)||_.w(b,1,1);_.I(a.ka,1,b)}if(this.O){b=this.O;var c=_.B(a.ka,_.Hrc,1),d=_.B(c,_.Frc,11);d||(d=new _.Frc);_.w(d,7,b);_.I(c,11,d);_.y(c,1)||_.w(c,1,1);_.I(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ka=this.H);this.Ba&&_.Urc(a,this.Ba);this.Qa&&(b=this.Qa,a.V||(a.V=new _.Erc),_.Hj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Rb=!0,_.Wrc(a,b));return a};

_.u();

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

_.lsc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.msc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.msc.prototype.CA=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=_.yI(new _.xI,a.Lc());b(a);return new _.Xh(function(d){c(d,function(){d()})}.bind(this))};
_.nsc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Vrc(this.O)};_.nsc.prototype.CA=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=_.yI(new _.xI,a.Lc());b(a);c()};

_.u();

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

var osc=function(a){_.J.call(this,a)};_.K(osc,_.J);osc.prototype.getEmail=function(){return _.D(this,3,"")};osc.prototype.qp=function(){return _.Bj(this,3)};_.AI=function(a){return _.B(a,osc,36,1)};

_.u();

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

_.BI=function(a){_.J.call(this,a)};_.K(_.BI,_.J);_.BI.prototype.ue=function(){return _.B(this,_.Cf,1)};_.CI=function(a,b){return _.I(a,1,b)};_.BI.prototype.Mg=function(){return _.y(this,4)};_.BI.prototype.poa=function(a){return _.w(this,4,a)};

_.u();

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


_.u();

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

_.DI=function(a,b){a.H=b;a.ka=0};_.EI=function(a,b){return _.w(a,b,_.lb([]))};_.psc=function(a){if(_.Gma)return _.n.atob(a);var b="";_.Ima(a,function(c){b+=String.fromCharCode(c)});return b};_.FI=function(a,b,c,d,e,f,h){_.zI.call(this,a,_.jsc,b,_.Brc,c,d,e,void 0,f,h)};_.K(_.FI,_.zI);

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var qsc,tsc;qsc=[3,42];_.rsc=function(a){_.J.call(this,a,-1,qsc)};_.K(_.rsc,_.J);_.rsc.prototype.getMimeType=function(){return _.y(this,27)};_.ssc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};tsc=function(a,b){if(b&&a in b)return a;var c=_.ZFa();return c?(c=c.toLowerCase(),a=c+_.Cia(a),void 0===b||a in b?a:null):null};
var usc=function(a){_.ti.call(this,"visibilitychange");this.hidden=a};_.K(usc,_.ti);
_.vsc=function(a){_.Ci.call(this);this.Zc=a||_.mc();if(this.Kz=this.srb())this.H=_.Me(this.Zc.Vb(),this.Kz,(0,_.M)(this.Z9a,this))};_.Yf(_.vsc,_.Ci);_.g=_.vsc.prototype;_.g.srb=_.mda(function(){var a=this.uu(),b="hidden"!=this.uza();if(a){var c;b?c=((_.ZFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.uza=_.mda(function(){return tsc("hidden",this.Zc.Vb())});_.g.Ysb=_.mda(function(){return tsc("visibilityState",this.Zc.Vb())});_.g.uu=function(){return!!this.uza()};
_.g.JB=function(){return!!this.Zc.Vb()[this.uza()]};_.g.Z9a=function(){var a=this.uu()?this.Zc.Vb()[this.Ysb()]:null;a=new usc(this.JB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Ai(this.H);_.vsc.wb.Ya.call(this)};

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.GI=function(a,b){a.V.remove(b);return a};_.HI=function(){return"goog_"+_.zia++};_.wsc=function(a,b,c,d,e,f){var h=new _.jj(null,void 0);a&&_.kj(h,a);b&&_.oma(h,b);c&&_.lj(h,c);d&&_.mj(h,d);e&&h.Li(e);f&&_.nj(h,f);return h};_.II=function(a){return new _.Xh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{U8:!0,value:p}:{U8:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Uja(h,_.Eb(e,f,!0),_.Eb(e,f,!1));else b(d)})};
_.JI=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 _.Hq(c,e,d-c,a-e)}return null};_.KI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.KI.prototype.clone=function(){return new _.KI(this.start,this.end)};_.LI=function(a){return a.end-a.start};_.MI=function(a,b,c){_.N.call(this);this.Kn=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};
_.K(_.MI,_.N);_.g=_.MI.prototype;_.g.qe=function(a){this.W=arguments;this.H||this.V?this.O=!0:xsc(this)};_.g.stop=function(){this.H&&(_.Fi(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,xsc(this))};_.g.Ya=function(){_.N.prototype.Ya.call(this);this.stop()};var xsc=function(a){a.H=_.Ei(function(){a.H=null;a.O&&!a.V&&(a.O=!1,xsc(a))},a.ha);var b=a.W;a.W=null;a.Kn.apply(null,b)};

_.u();

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

var ysc=function(a){_.J.call(this,a)},Dsc;_.K(ysc,_.J);var zsc=function(a){_.J.call(this,a)};_.K(zsc,_.J);_.NI=function(a){_.J.call(this,a)};_.K(_.NI,_.J);_.NI.prototype.o4=function(a){_.w(this,3,a)};_.NI.prototype.Pl=function(a){return _.I(this,5,a)};_.NI.prototype.getMimeType=function(){return _.y(this,7)};var Asc=[2],Bsc=function(a){_.J.call(this,a,-1,Asc)};_.K(Bsc,_.J);var Csc=function(a){_.J.call(this,a)};_.K(Csc,_.J);Dsc=function(a){this.H=a};_.Esc=function(a){this.Cd=a};
_.Esc.prototype.getId=function(){return this.Cd};var Fsc=function(a){_.J.call(this,a)};_.K(Fsc,_.J);Fsc.prototype.jj=function(){return _.y(this,1)};var Gsc=function(a){_.J.call(this,a)};_.K(Gsc,_.J);
var Isc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.jBa.length;a++){var b=_.jBa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;Hsc(this,b);break}}},Hsc=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})};
Isc.prototype.CA=function(a){if(this.ha&&this.O){var b=_.B(a,_.Rb,2)||new _.Rb,c=_.B(a,_.Zo,5)||new _.Zo,d=_.B(a,_.NI,3)||new _.NI;a=_.Uj(a,_.iza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Lc(),session_info:b.Lc(),session_invariants:c.Lc(),client_info:d.Lc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};
var Jsc=function(){_.So.call(this)};_.K(Jsc,_.So);Jsc.prototype.xv=function(){return 1==_.y(_.B(this.H,ysc,7),1)};var Ksc=new _.No("high_frequency_builder");
var Lsc=function(a,b,c){a=new _.Di(a);c.Ma(a);var d=new _.We(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var Msc=function(){_.So.call(this)};_.K(Msc,_.So);var Nsc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.Eo;var e=new _.Hya;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 _.Eo,e=new _.Iya,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},Osc=new _.No("system_builder");
var Psc=function(a,b){_.N.call(this);this.O=a;this.H=new _.vsc(b);this.Ma(this.H);this.Eb=new _.We(this);this.Ma(this.Eb);this.H.uu()&&this.Eb.listen(this.H,"visibilitychange",this.V)};_.K(Psc,_.N);Psc.prototype.V=function(){if(this.O.oP()){var a=this.H.JB()?102001:102E3;a=this.O.LF(a,0);this.O.Vp(a)}};
var Qsc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.K(Qsc,_.N);_.g=Qsc.prototype;_.g.Vp=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.$b()&&b.O.qe();return new Dsc(a)};_.g.LF=function(a,b){a=Nsc(Rsc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.AL=function(){return this.H.O};
_.g.jw=function(a){var b=this.H,c=_.To(a,Osc),d=b.ha++,e=_.B(_.B(c.H,_.Eo,8),_.Iya,2),f=1E3*Date.now();_.w(e,2,f);_.w(c.H,13,d);b.ka.remove(_.y(a.H,12))};_.g.EZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=Ssc(a.H,691).build();b=Tsc(a.H,[b]);a.ka.CA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.FZ=function(){var a=this.H,b=Ssc(a,716);Usc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.qe();this.W&&(this.V=new Psc(this))};_.g.Yia=function(){this.O.W();return _.II(Array.from(this.O.V)).then()};
_.g.oP=function(){var a=this.H;return a.va&&a.ma&&!0};
var Vsc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.MI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.K(Vsc,_.N);Vsc.prototype.initialize=function(){Lsc(this.ma,this.O.qe,this.O);Lsc(36E5,this.va,this)};Vsc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=Wsc(this.H),c=this.ta.CA(b);c&&(_.ci(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
Vsc.prototype.va=function(){var a=this.H,b=Ssc(a,1153).build();a.H.add(b);this.O.qe()};
var Xsc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.K(Xsc,_.N);_.g=Xsc.prototype;_.g.Vp=function(a){a=this.H.Vp(a);this.Yia();return a};_.g.LF=function(a,b){return this.H.LF(a,b)};_.g.AL=function(){return this.H.AL()};_.g.jw=function(a){return this.H.jw(a)};_.g.EZ=function(){return this.H.EZ()};_.g.FZ=function(){return this.H.FZ()};_.g.Yia=function(){return this.H.Yia()};_.g.oP=function(){return this.H.oP()};
var Ysc=function(){};Ysc.prototype.FQ=function(){return new Jsc};
var Zsc=function(){this.H=[]};Zsc.prototype.add=function(a){this.H.push(a)};Zsc.prototype.$b=function(){return this.H.length};
var $sc=function(){this.H={}};$sc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};$sc.prototype.remove=function(a){delete this.H[a]};
var atc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new $sc;this.H=new Zsc;this.ma=this.va=this.V=!1},Rsc=function(a,b){a=_.To((new _.So).initialize(new _.iza,a.Ba),Osc);_.w(a.H,10,b);return a},Wsc=function(a){var b=a.H,c=b.H;b.H=[];return Tsc(a,c)},Tsc=function(a,b){var c=new _.yAa;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=_.B(b[h],_.Lo,5);if(k&&_.B(k,_.rsc,1)){k=_.B(k,_.rsc,1);_.Bj(k,
12)&&void 0===e&&(e=_.P(k,12));k=_.B(k,zsc,20);if(void 0!==k&&void 0===f){f=new Gsc;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 _.NI),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);_.Jj(c,1,b);return c},Ssc=function(a,b){var c=Nsc(Rsc(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 Csc;k=_.w(p,1,k);l=_.y(l.H,10);l=_.w(k,2,l);f.push(l)}d=f}716!=b&&(b=a.ta,_.w(c.H,6,a.W),e=new Bsc,b=_.w(e,1,b),d&&_.Jj(b,2,d),d=_.Uo(c),_.I(d,3,b));Usc(a,c);return c},Usc=function(a,b){a.W=_.y(b.H,12);a.ta=_.y(_.B(_.B(b.H,_.Eo,8),_.Hya,1),1)};
var btc=function(){};btc.prototype.FQ=function(){return new Msc};
var ctc=function(){this.H=this.O=null};ctc.prototype.build=function(){null==this.H&&(this.H=new _.Mza);_.Wo(this.H,Osc,new btc);_.Wo(this.H,Ksc,new Ysc);var a=this.H;var b=this.O;if(!_.Bj(_.dtc(b),1)){var c=_.dtc(b),d=new _.jAa;_.I(c,1,d)}b=_.B(_.dtc(b),_.jAa,1);a.H=b;b=_.Qa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new atc(this.O,this.H)};
var etc=function(){this.W=new _.Rb;this.O=null;this.ha=new Fsc;_.w(this.ha,1,6);this.H=this.V=null};etc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.ftc=function(a,b){_.w(a.W,2,b);return a};_.gtc=function(a,b){if(null==a.V){a.V=new _.wAa;var c=_.dtc(a);_.I(c,2,a.V)}_.w(a.V,1,b)};_.dtc=function(a){null==a.O&&(a.O=new _.Zo);return a.O};_.htc=function(a){null==a.H&&(a.H=new _.NI);return a.H};
_.itc=function(){this.H=this.ha=null;this.W=new etc;this.V=null;this.ka=this.ma=!1;this.O=null};_.jtc=function(a,b){a.ha=b;return a};_.ktc=function(a,b){a.H=b;return a};_.ltc=function(a,b){a.V=b;return a};_.itc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.mtc=function(a,b){_.w(a.W.W,6,b);return a};
_.itc.prototype.build=function(){var a=new ctc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new Isc;this.H=this.ha=b}b=new Vsc(a,this.ha,this.H,this.ma,this.O);a=new Qsc(a,b,!1);this.ka&&(a=new Xsc(a));return a};

_.u();

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

_.OI=function(a){return a instanceof Error};_.PI=function(a){return _.Q(a,84,!1)};
_.ntc=function(a){_.J.call(this,a)};_.K(_.ntc,_.J);
_.QI=function(a){_.J.call(this,a)};_.K(_.QI,_.J);_.QI.prototype.getOptions=function(){return _.B(this,_.ntc,1)};_.QI.prototype.Zn=function(){return _.y(this,2)};_.QI.prototype.ud=function(){return _.B(this,_.of,3)};
_.otc=function(a){_.J.call(this,a)};_.K(_.otc,_.J);_.RI=[3,4,5,6,7,8,9,10];
_.ptc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
var SI,rtc;SI={};_.qtc=(SI[1]="modifiedDate",SI[2]="modifiedByMeDate",SI[3]="quotaBytesUsed",SI[4]="title",SI[6]="lastViewedByMeDate",SI[10]="createdDate",SI[7]="sharedWithMeDate",SI[9]="starred",SI[11]="recency",SI[5]="relevance",SI[12]="trashedDate",SI[13]="lastViewedByMeDate",SI);rtc={};_.stc=(rtc[1]="asc",rtc[2]="desc",rtc);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ttc=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():_.Wf();this.date=new Date(a)};_.Yf(_.ttc,_.Rt);_.g=_.ttc.prototype;_.g.clone=function(){var a=new _.ttc(this.date);a.uG=this.uG;a.dV=this.dV;return a};_.g.add=function(a){(a.W||a.V)&&_.Qt.prototype.add.call(this,new _.Pt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.fw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Rt.prototype.getUTCFullYear;
_.g.getMonth=_.Rt.prototype.getUTCMonth;_.g.getDate=_.Rt.prototype.getUTCDate;_.g.getHours=_.Rt.prototype.getUTCHours;_.g.getMinutes=_.Rt.prototype.getUTCMinutes;_.g.getSeconds=_.Rt.prototype.P8a;_.g.getMilliseconds=_.Rt.prototype.O8a;_.g.getDay=_.Rt.prototype.getUTCDay;_.g.setFullYear=_.Rt.prototype.setUTCFullYear;_.g.setMonth=_.Rt.prototype.setUTCMonth;_.g.setDate=_.Rt.prototype.setUTCDate;_.g.setHours=_.Rt.prototype.lLa;_.g.setMinutes=_.Rt.prototype.mLa;_.g.setSeconds=_.Rt.prototype.nLa;
_.g.setMilliseconds=_.Rt.prototype.Q8a;
var utc,wtc;utc={};_.vtc=(utc[1]="0",utc[2]="1",utc[3]="2",utc);wtc={};_.xtc=(wtc[1]="asc",wtc[2]="desc",wtc);
_.ytc=new _.No("drive_dataservice_builder");
_.ztc=_.eh&&0>_.rg(_.hh,"533");
_.Atc=new _.Esc("drive_dataservice_invariants");
_.Btc=new Map([[[1],1],[[6],7],[[2],2]]);_.Ctc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.Dtc=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 _.PI(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}]]);
_.Etc=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)}],[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)}]]);_.Ftc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.Gtc=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]]);_.Htc=new Map([[[2],3],[[1],2],[[0],1]]);_.Itc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.Jtc=new Map([[[_.arc],1],[[_.brc],2],[[_.crc],3],[[_.drc],4],[[_.erc],5],[[_.frc],6],[[_.grc],7],[[_.hrc],8],[[_.irc],10],[[_.jrc],11],[[_.krc],12],[[_.lrc],13]]);_.Ktc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.u();

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

_.TI=function(a){_.J.call(this,a,-1,Ltc)};_.K(_.TI,_.J);_.TI.prototype.Ac=function(){return _.y(this,2)};_.UI=function(a,b){return _.w(a,2,b)};_.g=_.TI.prototype;_.g.Ck=function(){return _.Q(this,3,!1)};_.g.getItem=function(){return _.B(this,_.fl,4)};_.g.setItem=function(a){return _.I(this,4,a)};_.g.yc=function(){return _.y(this,7)};_.g.L9=function(){return _.y(this,13)};_.g.xHa=function(a){_.w(this,13,a)};var Ltc=[8,17];

_.u();

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


_.u();

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

var Otc;_.XI=function(a){if(a instanceof _.zc)return a;if(_.OI(a)){if(a=_.uIb(a))return a}else a="string"===typeof a?_.VEa(a):_.VEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.VI(a,2);_.WI(a,6);return a};_.Mtc=function(a){var b=a.zk();a=a.JF();return 15===b||32===b||33===b||401===a};_.Ntc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.YI=function(a){return _.Zj(a,1,0)};
_.VI=function(a,b){return _.w(a,1,b)};_.WI=function(a,b){return _.w(a,2,b)};Otc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.ZI=function(a){_.J.call(this,a,-1,Otc)};_.K(_.ZI,_.J);_.g=_.ZI.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Cf=function(){return _.y(this,3)};_.g.Yl=function(a){return _.w(this,3,a)};_.g.Kv=function(a){return _.w(this,4,a)};
_.g.Xh=function(){return _.P(this,5)};_.g.Nn=function(a){return _.w(this,5,a)};_.g.getMimeType=function(){return _.y(this,6)};_.g.sE=function(a,b){_.Lj(this,8,a,b)};_.g.Yi=function(){return _.y(this,12)};_.g.ue=function(){return _.B(this,_.Cf,17)};_.g.jj=function(){return _.y(this,20)};_.g.yc=function(){return _.y(this,21)};_.$I=function(a,b){return _.w(a,16,b)};
_.aJ=function(a){_.J.call(this,a,-1,Ptc)};_.K(_.aJ,_.J);_.aJ.prototype.MQ=function(){return _.Zj(this,2,100)};_.aJ.prototype.CO=function(a){return _.w(this,2,a)};_.aJ.prototype.ue=function(){return _.B(this,_.Cf,6)};_.aJ.prototype.yc=function(){return _.y(this,8)};var Ptc=[5];
_.Qtc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
var Rtc;Rtc={};_.Stc=(Rtc[0]="/drive/v2internal",Rtc[1]="/drive/v2internal.corp",Rtc[2]="/drive/v2internal.scary",Rtc[4]="/drive/v2internal.scary",Rtc[5]="/drive/v2beta",Rtc[6]="/drive/v2.1beta",Rtc);
_.Ttc=new Set([0,1,2,3]);
_.Utc=_.w(new _.ZI,15,!0);_.Vtc=_.$I(new _.ZI,!0);_.Wtc=_.$I(new _.ZI,!1);
_.Xtc=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("sy1hl");

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ztc=function(a){a=_.fb(a);return 0===a.length?_.Uha:new _.vg(a,_.Sha)};_.$tc=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)};_.Yf(_.$tc,_.Uqc);_.$tc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};
_.$tc.prototype.update=function(a,b){this.H.update(a,b)};_.$tc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.auc=function(a,b){a.reset();a.update(b);return a.digest()};
_.buc=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()};_.Yf(_.buc,_.Uqc);_.buc.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 cuc=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};
_.buc.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;)cuc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){cuc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){cuc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.buc.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;cuc(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("sy1h8");

_.bJ=function(a,b){return _.w(a,82,b)};_.cJ=function(a){return _.w(a,3,!0)};_.duc=function(a,b){return _.w(a,7,b)};
_.euc=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
*/
_.dJ={j_:"Versions",K6:"Metadata",x5:"Data",dU:"Offline"};_.fuc=new Map([[_.dJ.j_,"versionKey"],[_.dJ.K6,"k"]]);_.guc=new Set([1004]);

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.huc=function(a,b,c){c&&(a=_.Pg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Og(a));return a};_.iuc=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};
_.juc=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("sy1hm");

_.kuc=function(a){_.J.call(this,a)};_.K(_.kuc,_.J);_.g=_.kuc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.jt=function(){return _.Bj(this,1)};_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.Og=function(){return _.Bj(this,2)};
_.eJ=function(a){_.J.call(this,a,-1,luc)};_.K(_.eJ,_.J);_.eJ.prototype.Uz=function(){return _.y(this,1)};_.eJ.prototype.getUrl=function(){return _.y(this,3)};var luc=[2,4,6];

_.u();

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

var puc,quc,suc;_.muc=function(a){var b={};_.La(a,function(c,d){b[d.toLowerCase()]=c});return b};_.nuc=function(a){return(a=a&&_.muc(a))&&a["x-guploader-uploadid"]};_.ouc=function(a){return(a=a&&_.muc(a))&&a["x-google-trace"]};puc=[6];_.fJ=function(a){_.J.call(this,a,-1,puc)};_.K(_.fJ,_.J);_.gJ=function(a,b){return _.w(a,14,b)};
_.ruc=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=quc(e)||new _.zc;_.w(e,8,!0);k&&(k=_.nj(new _.jj(k),void 0).toString(),_.w(e,19,k));e.JF()||_.w(e,15,a||f);e.getMessage()||_.lq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.mq(e,d);e.zk()||(5===f?_.gJ(e,7):0!==a||d?403===a?_.gJ(e,22):503===a||429===a?_.gJ(e,24):(_.qb(e,14),_.w(e,10,1),_.w(e,8,!0)):l||_.gJ(e,2));e.Fca(_.nuc(c));
e.wca(_.ouc(c));return e};quc=function(a){if(!_.Ba(a))return null;var b=new _.zc,c=a.error;if(!c)return _.mq(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.lq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=suc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.mq(b,a);return b};
suc={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("sy1hd");

var tuc,uuc,yuc,Cuc,Duc,Euc,Wuc,aK,Xuc,Yuc,evc,Auc,Mvc,zuc,nwc,pwc,rwc,twc,Mwc,Nwc,Rwc,Swc,Uwc,Vwc,Xwc,$wc,CK,EK,dxc,fxc,ixc,jxc,kxc,lxc,mxc,nxc,qxc,sxc,txc,Lxc,Pxc,Rxc,Sxc,Txc,Yxc,ayc,fvc,iyc,jyc,eyc,kyc,fyc,myc,nyc,tyc,syc,ryc,pyc,qyc,Puc,Quc,Zuc,uyc,$uc,avc,bvc,cvc,dvc,vyc,xyc;_.hJ=function(a,b,c){var d=new _.zc,e=_.uka(_.hJ);_.w(d,20,e);_.WI(d,a);_.VI(d,b?b:2);c&&_.gJ(d,c);return d};
_.iJ=function(a){var b;a instanceof _.zc?b=new _.Ac(null,a):_.OI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("rb`"+a);b.stack||(b.stack=_.uka(_.iJ));return b};_.jJ=function(a){throw _.PB(a);};tuc=function(a){return 7===a.zk()||24===a.Ip()&&(a=a.JF(),503===a||429===a)?!0:!1};uuc=function(a,b){return b?b+"("+a+")":a};
_.kJ=function(a,b,c){var d={},e=[];b&&e.push("kind");a.bAb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.vuc.includes(p)){var q=_.Deb.get(p);if(q){var r=_.Geb[p];a.EE&&r&&(q=r);a.Aq&&(a.EE?(p=_.Feb[p])&&(q=p):(p=_.Eeb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.Dia(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={q5:f.q5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.q5=[];l.forEach(function(p){return function(q){p.q5.push(q)}}(f));"owners"==k&&b&&f.q5.push("kind");e.push(uuc(f.q5.join(","),k))}return uuc(e.join(","),c)};_.wuc=function(a){var b=new _.Vo;b.append(_.kJ(a,!0));return b.toString()};_.xuc=function(a,b){return a.filter(function(c){return b.includes(c)})};yuc=function(a){a=a.filter(function(b){return!_.Deb.has(b)});if(a.length)throw Error("Tc`"+a.join(", "));};
_.Buc=function(a){if(a){var b=a.getMimeType();b&&_.zG(a,b.toLowerCase());zuc(a,_.Uj(a,Auc,58).map(function(c){var d=c.getMimeType();d&&_.w(c,1,d.toLowerCase());return c}))}};Cuc=function(a,b){b&&(_.qj(a,"openDrive",!!_.Q(b,2,!1)),_.qj(a,"reason",_.y(b,1)||0),_.qj(a,"syncType",_.y(b,3)||0),_.qj(a,"errorRecovery",!!_.Q(b,4,!1)))};Duc=function(a){if(_.Ua(a))return"\r\n";var b="";_.La(a,function(c,d){b+=d+": "+c+"\r\n"});return b};
Euc=function(a){a=_.lq(_.gJ(_.VI(new _.zc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.PB(a);};
Wuc=function(a){if(a instanceof _.lJ)return"request access";if(a instanceof _.mJ)return"admin migrate to TD";if(a instanceof _.nJ)return"authorize app";if(a instanceof _.oJ)return"copy item";if(a instanceof _.pJ)return"change category links";if(a instanceof _.qJ)return"create item";if(a instanceof _.rJ)return"create ws";if("undefined"!=typeof _.sJ&&a instanceof _.sJ)return"delete app";if("undefined"!=typeof _.tJ&&a instanceof _.tJ)return"delete backup";if(a instanceof _.uJ)return"delete item";if("undefined"!=
typeof _.vJ&&a instanceof _.vJ)return"delete permission";if(a instanceof _.wJ)return"delete revision";if(a instanceof _.xJ)return"delete TD";if(a instanceof _.MD)return"delete pref";if(a instanceof _.yJ)return"delete ws";if(a instanceof _.zJ)return"download item";if(a instanceof _.AJ||a instanceof _.BJ)return"empty trash";if(a instanceof _.CJ)return"find by ID";if(a instanceof _.xA)return"find by IDs";if(a instanceof _.Fuc)return"item export start";if("undefined"!=typeof _.DJ&&a instanceof _.DJ)return"get app";
if("undefined"!=typeof _.EJ&&a instanceof _.EJ)return"insert app";if("undefined"!=typeof _.FJ&&a instanceof _.FJ)return"insert permission";if(a instanceof _.QI)return a=a.ud(),_.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 _.Guc&&a instanceof _.Guc?"list backups":a instanceof _.aJ?"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 _.uG?"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 _.vG?"list suggested workspace items":a instanceof _.iA?"list suggested workspaces":"undefined"!=typeof _.UJ&&a instanceof _.UJ?"update app":a instanceof _.VJ?"update category metadata":a instanceof _.ZI?"update item":a instanceof _.WJ?"update revision":a instanceof _.XJ?"update TD":a instanceof _.ND?"update pref":a instanceof _.YJ?"update ws":a instanceof _.BI?
"get account":a instanceof _.yG?"get workspace":a instanceof _.Huc?"list activity":a instanceof _.Iuc?"list category metadata":a instanceof _.Juc?"create TD":"undefined"!=typeof _.Kuc&&a instanceof _.Kuc?"item export cancel":"undefined"!=typeof _.Luc&&a instanceof _.Luc?"item export status":"undefined"!=typeof _.Muc&&a instanceof _.Muc?"generate cse token":"undefined"!=typeof _.Nuc&&a instanceof _.Nuc?"get largest change ID":a instanceof _.LD?"list prefs":a instanceof _.ZJ?"multipart upload":a instanceof
_.Ouc?"list published categories":a instanceof Puc?"init resumable upload":a instanceof Quc?"resumable upload chunk":a instanceof _.Ruc?"resumable upload":a instanceof _.wG?"get TD":"undefined"!=typeof _.Suc&&a instanceof _.Suc?"move TD preflight":a instanceof _.$J?"list TDs":"undefined"!=typeof _.Tuc&&a instanceof _.Tuc?"get TD stats":a instanceof _.Uuc?"test connection":"undefined"!=typeof _.Vuc&&a instanceof _.Vuc?"list workspaces":"unknown"};
aK=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};Xuc=function(a){if(a instanceof _.qJ||a instanceof _.ZJ||a instanceof _.Ruc||a instanceof Puc||a instanceof Quc)return(new _.dK).Dc(8);throw Error("ff");};Yuc=function(a){if(a instanceof _.ZI){var b=_.Ij(_.qb(a.clone(),1),17);b=_.Yj(b,_.Utc)}else b=!1;b||(a instanceof _.ZI?(a=_.Ij(_.qb(a.clone(),1),17),b=_.Yj(a,_.Vtc)||_.Yj(a,_.Wtc)):b=!1);return b?!1:!0};
_.eK=function(a){return Zuc.includes(a.constructor)?Yuc(a):!1};evc=function(a,b){if($uc.includes(a.constructor))return!0;if(b){if(_.Q(b,54,!1)&&avc.includes(a.constructor))return!0;var c=_.fK(b);if(c&&!_.Q(c,7,!1)&&bvc.includes(a.constructor)&&!_.gK(a)||_.Q(b,56,!1)&&_.gK(a)||_.Q(b,57,!1)&&cvc.includes(a.constructor)||!(!_.Q(b,53,!1)||avc.includes(a.constructor)||bvc.includes(a.constructor)||_.gK(a)||cvc.includes(a.constructor)||dvc.includes(a.constructor)))return!0}return!1};
_.hK=function(a,b,c,d,e){if(_.Q(a,89,!1)){if(c&&c.length&&d){c=b.concat(fvc(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)!==_.y(d,2)&&Euc(h):(a.set(h,_.y(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.sA(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.gvc=function(a){var b=new _.Pk;return _.w(b,1,a)};_.hvc=function(a,b){return _.w(a,7,b)};_.ivc=function(a,b){return _.w(a,8,b)};
_.jvc=function(a,b){return _.w(a,11,b)};_.kvc=function(a,b){return _.w(a,1,b)};_.lvc=function(a,b){return _.w(a,4,b)};_.mvc=function(a,b){return _.w(a,5,b)};_.nvc=function(a,b){return _.w(a,6,b)};_.ovc=function(a,b){return _.w(a,7,b)};_.pvc=function(a,b){return _.w(a,8,b)};_.qvc=function(a,b){return _.w(a,9,b)};_.rvc=function(a,b){return _.w(a,10,b)};_.svc=function(a,b){return _.w(a,11,b)};_.tvc=function(a,b){return _.w(a,12,b)};_.uvc=function(a,b){return _.w(a,16,b)};
_.vvc=function(a,b){return _.w(a,17,b)};_.wvc=function(a,b){return _.w(a,20,b)};_.xvc=function(a,b){return _.w(a,21,b)};_.yvc=function(a,b){return _.w(a,31,b)};_.zvc=function(a,b){return _.w(a,32,b)};_.Avc=function(a,b){return _.w(a,33,b)};_.Bvc=function(a,b){return _.w(a,42,b)};_.Cvc=function(a,b){return _.w(a,43,b)};_.Dvc=function(a,b){return _.w(a,46,b)};_.Evc=function(a,b){return _.w(a,47,b)};_.Fvc=function(a,b){return _.w(a,48,b)};_.iK=function(a){_.J.call(this,a)};_.K(_.iK,_.J);
_.Gvc=function(a){_.J.call(this,a)};_.K(_.Gvc,_.J);_.Hvc=function(a,b){return _.w(a,1,b)};_.Ivc=function(a,b){return _.w(a,2,b)};Auc=function(a){_.J.call(this,a)};_.K(Auc,_.J);Auc.prototype.getMimeType=function(){return _.y(this,1)};Auc.prototype.getUrl=function(){return _.y(this,2)};_.jK=function(a){_.J.call(this,a)};_.K(_.jK,_.J);_.jK.prototype.Fe=function(){return _.y(this,2)};_.jK.prototype.zh=function(a){return _.w(this,2,a)};_.jK.prototype.yh=function(a){return _.w(this,3,a)};
_.Jvc=function(a,b){return _.w(a,1,b)};_.Kvc=function(a,b){return _.Jj(a,2,b)};_.Lvc=function(a,b){return _.Jj(a,3,b)};Mvc=[2];_.mK=function(a){_.J.call(this,a,-1,Mvc)};_.K(_.mK,_.J);_.mK.prototype.Cf=function(){return _.y(this,1)};_.mK.prototype.Yl=function(a){return _.w(this,1,a)};_.mK.prototype.zua=function(a,b){return _.Lj(this,2,a,b)};_.nK=function(a){_.J.call(this,a)};_.K(_.nK,_.J);_.nK.prototype.Fe=function(){return _.y(this,1)};_.nK.prototype.zh=function(a){return _.w(this,1,a)};
_.nK.prototype.yh=function(a){return _.w(this,2,a)};_.oK=function(a,b){return _.Hj(a,2,b)};_.Nvc=function(a,b){_.w(a,8,b)};_.Ovc=function(a,b){return _.Jj(a,15,b)};_.Pvc=function(a,b){return _.I(a,17,b)};_.Qvc=function(a,b){return _.w(a,19,b)};_.Rvc=function(a,b){_.w(a,26,b)};_.Svc=function(a,b){_.w(a,31,b)};_.Tvc=function(a,b){_.w(a,34,b)};_.Uvc=function(a,b){return _.w(a,44,b)};_.Vvc=function(a,b){_.I(a,47,b)};_.Wvc=function(a,b){return _.w(a,52,b)};zuc=function(a,b){_.Jj(a,58,b)};
_.Xvc=function(a,b){return _.w(a,72,b)};_.pK=function(a,b){return _.I(a,84,b)};_.Yvc=function(a,b){_.I(a,85,b)};_.Zvc=function(a,b){_.I(a,91,b)};_.$vc=function(a,b){return _.w(a,92,b)};_.awc=function(a,b){return _.w(a,93,b)};_.bwc=function(a,b){_.I(a,95,b)};_.cwc=function(a,b){return _.w(a,136,b)};_.dwc=function(a){_.J.call(this,a)};_.K(_.dwc,_.J);_.qK=function(a){return _.Q(a,2,!1)};_.ewc=function(a){_.J.call(this,a)};_.K(_.ewc,_.J);var fwc=[3],gwc=function(a){_.J.call(this,a,-1,fwc)};_.K(gwc,_.J);
gwc.prototype.Ei=function(){var a=_.y(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}_.jb(this)&&_.kb(a);return a};var hwc=[3],iwc=function(a){_.J.call(this,a,-1,hwc)};_.K(iwc,_.J);iwc.prototype.Ei=function(){return _.de(this,3)};var jwc=[3],kwc=function(a){_.J.call(this,a,-1,jwc)};_.K(kwc,_.J);kwc.prototype.Ei=function(){return _.de(this,3)};_.rK=function(a){_.J.call(this,a)};_.K(_.rK,_.J);_.rK.prototype.Za=function(){return _.y(this,1)};
_.rK.prototype.Jb=function(a){return _.w(this,1,a)};_.rK.prototype.Ti=function(){return _.qb(this,1)};_.rK.prototype.Og=function(){return _.Bj(this,1)};_.sK=function(a){return _.Ej(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)};_.tK=function(a){return _.D(a,2,"")};_.fK=function(a){return _.B(a,_.ewc,4)};_.lwc=function(a,b){return _.Hj(a,27,b)};_.uK=function(a){return _.Ej(a,39,0)};_.vK=function(a){return _.Q(a,40,!1)};
_.mwc=function(a){return _.Qt.prototype.NO.call(a,!0)+"T"+_.Tg(a.getHours(),2)+":"+_.Tg(a.getMinutes(),2)+":"+_.Tg(a.getSeconds(),2)+a.e$()};nwc=function(a,b){return _.qrc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.owc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.uI(c,"deleting object store "+b);}};pwc=function(){var a=new _.itc;a.O=12E4;a.ma=!0;return a};_.qwc=function(a){_.J.call(this,a)};_.K(_.qwc,_.J);rwc=[3,4,10,18,19,28];
_.qJ=function(a){_.J.call(this,a,-1,rwc)};_.K(_.qJ,_.J);_.g=_.qJ.prototype;_.g.getMimeType=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.sE=function(a,b){_.Lj(this,3,a,b)};_.g.ue=function(){return _.B(this,_.Cf,7)};_.g.ij=function(){return _.y(this,9)};_.g.yc=function(){return _.y(this,14)};_.g.Oz=function(){return _.B(this,_.qwc,15)};_.g.C1=function(){return _.y(this,21)};_.g.Ac=function(){return _.y(this,23)};
_.g.zj=function(){return _.y(this,33)};_.wK=function(a,b){return _.w(a,1,b)};_.xK=function(a,b){return _.Hj(a,3,b)};_.swc=function(a,b){return _.w(a,12,b)};_.uJ=function(a){_.J.call(this,a)};_.K(_.uJ,_.J);_.uJ.prototype.getId=function(){return _.y(this,1)};_.uJ.prototype.Pb=function(a){return _.w(this,1,a)};_.uJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.xJ=function(a){_.J.call(this,a)};_.K(_.xJ,_.J);_.xJ.prototype.getId=function(){return _.y(this,1)};
_.xJ.prototype.Pb=function(a){return _.w(this,1,a)};_.xJ.prototype.ue=function(){return _.B(this,_.Cf,2)};twc=[7,8];_.XJ=function(a){_.J.call(this,a,-1,twc)};_.K(_.XJ,_.J);_.g=_.XJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ue=function(){return _.B(this,_.Cf,4)};_.$J=function(a){_.J.call(this,a)};_.K(_.$J,_.J);
_.$J.prototype.getOptions=function(){return _.B(this,_.ntc,1)};_.$J.prototype.Zn=function(){return _.y(this,2)};_.$J.prototype.ud=function(){return _.B(this,_.oI,3)};var uwc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}},vwc=null,wwc=function(){this.O=0;this.H=[]};_.g=wwc.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=xwc(this,a);return this.H[a]};_.g.set=function(a,b){a=xwc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};
_.g.vc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.sh=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.Lf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.hf=function(a){return a<this.$b()};_.g.Cq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};
var xwc=function(a,b){if(b>=a.H.length)throw Error("ha");return 40>a.H.length?b:(a.O+Number(b))%40},ywc=function(a){_.J.call(this,a)};_.K(ywc,_.J);_.zwc=function(a){_.J.call(this,a)};_.K(_.zwc,_.J);_.zwc.prototype.$e=function(){return _.y(this,1)};_.zwc.prototype.Ki=function(a){return _.w(this,1,a)};_.zwc.prototype.Bb=function(){return _.y(this,4)};_.zwc.prototype.Dc=function(a){return _.w(this,4,a)};var Awc=function(a){_.J.call(this,a)};_.K(Awc,_.J);Awc.prototype.Yn=function(){return _.y(this,5)};
var Bwc=function(a,b){_.w(a,6,b)},Cwc=function(a){_.J.call(this,a)};_.K(Cwc,_.J);_.g=Cwc.prototype;_.g.Kgb=function(a){_.w(this,1,a)};_.g.cOb=function(a){_.w(this,2,a)};_.g.By=function(){return _.P(this,3)};_.g.Lgb=function(a){_.w(this,3,a)};_.g.INb=function(a){_.w(this,4,a)};var Dwc=function(a){_.J.call(this,a)};_.K(Dwc,_.J);Dwc.prototype.By=function(){return _.P(this,2)};var Ewc=function(a,b){return _.w(a,2,b)},Fwc=function(a,b){_.w(a,3,b)};Dwc.prototype.yB=function(){return _.y(this,6)};
var Gwc=function(a,b){return _.w(a,8,b)},Hwc=function(a){_.J.call(this,a)};_.K(Hwc,_.J);var Iwc=function(a){_.J.call(this,a)};_.K(Iwc,_.J);var Jwc=function(a,b){_.w(a,4,b)},Kwc=function(a){_.J.call(this,a)};_.K(Kwc,_.J);Kwc.prototype.ud=function(){return _.B(this,_.zwc,1)};Kwc.prototype.getState=function(){return _.B(this,Awc,2)};Kwc.prototype.Kd=function(a){return _.I(this,2,a)};Kwc.prototype.kt=function(){return _.Bj(this,2)};var Lwc=function(a){_.J.call(this,a)};_.K(Lwc,_.J);
Lwc.prototype.Mj=function(){return _.y(this,1)};Lwc.prototype.getEnvironment=function(){return _.y(this,2)};Lwc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.vuc=[42,1005,20,50,18,1003,1002];Mwc=[73,71];_.yK=function(a){_.J.call(this,a)};_.K(_.yK,_.J);_.yK.prototype.getId=function(){return _.y(this,1)};_.yK.prototype.Pb=function(a){return _.w(this,1,a)};_.yK.prototype.getMimeType=function(){return _.y(this,2)};Nwc=[22];_.dK=function(a){_.J.call(this,a,-1,Nwc)};_.K(_.dK,_.J);_.g=_.dK.prototype;
_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.B(this,_.fl,2)};_.g.setItem=function(a){return _.I(this,2,a)};_.g.ek=function(){return _.y(this,3)};_.g.Ac=function(){return _.y(this,5)};_.Owc=function(a,b){return _.w(a,5,b)};_.g=_.dK.prototype;_.g.SJ=function(){return _.y(this,7)};_.g.Fca=function(a){return _.w(this,7,a)};_.g.ffa=function(a){_.w(this,9,a)};_.g.LLa=function(a){_.w(this,10,a)};_.g.OM=function(){return _.y(this,16)};
_.g.wca=function(a){return _.w(this,16,a)};var Pwc=function(a){var b=new _.di;a.listen("loadend",_.Eb(function(c,d){var e=d.fk(),f=d.getError();null==e||f?c.Id(f):c.callback(e);d.dispose()},b,a));return b},Qwc=function(a){_.ti.call(this,a);this.connectionState=_.vLb.get(a)};_.K(Qwc,_.ti);_.lJ=function(a){_.J.call(this,a)};_.K(_.lJ,_.J);_.lJ.prototype.Ac=function(){return _.y(this,1)};_.mJ=function(a){_.J.call(this,a)};_.K(_.mJ,_.J);_.mJ.prototype.getId=function(){return _.y(this,1)};
_.mJ.prototype.Pb=function(a){return _.w(this,1,a)};_.mJ.prototype.Ek=function(){return _.y(this,2)};_.mJ.prototype.O=function(a){_.w(this,4,a)};_.nJ=function(a){_.J.call(this,a)};_.K(_.nJ,_.J);_.nJ.prototype.Nh=function(){return _.y(this,1)};_.nJ.prototype.Ac=function(){return _.y(this,2)};_.nJ.prototype.ue=function(){return _.B(this,_.Cf,4)};Rwc=[3,7];_.oJ=function(a){_.J.call(this,a,-1,Rwc)};_.K(_.oJ,_.J);_.g=_.oJ.prototype;_.g.getId=function(){return _.y(this,1)};
_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.sE=function(a,b){_.Lj(this,3,a,b)};_.g.ue=function(){return _.B(this,_.Cf,5)};_.rJ=function(a){_.J.call(this,a)};_.K(_.rJ,_.J);_.rJ.prototype.getTitle=function(){return _.y(this,1)};_.rJ.prototype.setTitle=function(a){return _.w(this,1,a)};_.rJ.prototype.ue=function(){return _.B(this,_.Cf,2)};_.wJ=function(a){_.J.call(this,a)};_.K(_.wJ,_.J);
_.wJ.prototype.Ac=function(){return _.y(this,1)};_.wJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.yJ=function(a){_.J.call(this,a)};_.K(_.yJ,_.J);_.yJ.prototype.getId=function(){return _.y(this,1)};_.yJ.prototype.Pb=function(a){return _.w(this,1,a)};_.yJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.AJ=function(a){_.J.call(this,a)};_.K(_.AJ,_.J);_.AJ.prototype.ue=function(){return _.B(this,_.Cf,1)};_.RJ=function(a){_.J.call(this,a)};_.K(_.RJ,_.J);_.g=_.RJ.prototype;
_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Bg=function(a){return _.w(this,2,a)};_.g.ue=function(){return _.B(this,_.Cf,3)};_.TJ=function(a){_.J.call(this,a)};_.K(_.TJ,_.J);_.g=_.TJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Bg=function(a){return _.w(this,2,a)};_.g.ue=function(){return _.B(this,_.Cf,3)};
_.WJ=function(a){_.J.call(this,a)};_.K(_.WJ,_.J);_.WJ.prototype.Ac=function(){return _.y(this,1)};_.WJ.prototype.ue=function(){return _.B(this,_.Cf,4)};_.YJ=function(a){_.J.call(this,a)};_.K(_.YJ,_.J);_.g=_.YJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,3)};_.g.Kd=function(a){return _.w(this,3,a)};
_.g.kt=function(){return _.Bj(this,3)};_.g.ue=function(){return _.B(this,_.Cf,5)};Swc=[2,3];_.pJ=function(a){_.J.call(this,a,-1,Swc)};_.K(_.pJ,_.J);_.pJ.prototype.yc=function(){return _.y(this,1)};_.pJ.prototype.ue=function(){return _.B(this,_.Cf,4)};_.Twc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};Uwc=[3,4];_.KJ=function(a){_.J.call(this,a,-1,Uwc)};_.K(_.KJ,_.J);_.KJ.prototype.getType=function(){return _.y(this,1)};_.KJ.prototype.ue=function(){return _.B(this,_.Cf,2)};
_.NJ=function(a){_.J.call(this,a)};_.K(_.NJ,_.J);_.NJ.prototype.O=function(a){_.w(this,4,a)};Vwc=[1];_.PJ=function(a){_.J.call(this,a,-1,Vwc)};_.K(_.PJ,_.J);_.PJ.prototype.qn=function(){return _.de(this,1)};_.Wwc=function(a){_.J.call(this,a)};_.K(_.Wwc,_.J);_.g=_.Wwc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.jt=function(){return _.Bj(this,1)};_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};
_.g.Og=function(){return _.Bj(this,2)};_.g.Cf=function(){return _.y(this,3)};_.g.Yl=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.y(this,4)};Xwc=[1];_.Ywc=function(a){_.J.call(this,a,-1,Xwc)};_.K(_.Ywc,_.J);_.Zwc=function(){var a=void 0===a?1E3:a;this.O=new _.ql;this.H=new _.ql;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.axc=function(a){var b=a.O.sh();a.V&&b.push($wc("...","...","...","..."));_.ya(b,a.H.sh());return b};
_.bxc=function(a){var b=[];a=_.axc(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")};_.Zwc.prototype.info=function(a,b){_.zK(this,a,b,"info")};_.Zwc.prototype.config=function(a,b){_.zK(this,a,b,"config")};_.Zwc.prototype.log=function(a,b,c){if(!vwc){vwc={};for(var d=0,e;e=_.zka[d];d++)vwc[e.value]=e,vwc[e.name]=e}_.zK(this,a,b,c)};
_.zK=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.rl(a.H));var e=Date.now()-a.startTime;b=$wc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};$wc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.AK=function(a){a.supportsTeamDrives=!0};_.cxc=function(a){this.O=new Set;this.H=[].concat(_.xd(_.de(a,27)));this.initialize(a)};
_.cxc.prototype.initialize=function(a){var b=_.xuc(this.H,_.de(a,28));if(0<b.length)throw Error("Ue`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.mI(_.AI(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));_.Da(this.H);this.H.sort();yuc(this.H)};_.BK=function(a){return[].concat(_.xd(a.H))};CK=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.DK=function(a,b,c){0!==b.length&&(a.FI.length&&a.append(" "+(c||"and")+" "),a.append(b))};EK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(CK(c));e.push("in");e.push(b);_.DK(a,e.join(" "))}};_.FK=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());_.DK(a,e.join(" "),d)}};dxc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.DK(a,d.join(""))}};
_.exc=function(a){var b=new _.ttc;b.setTime(a);return b};fxc=function(a,b){b=_.de(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(CK(b));_.DK(a,c.join(" "))}};_.gxc=function(a){a=_.Uj(a,_.rK,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Za());return b.join(",")};_.hxc=function(a){a=a.AB();return null==a||0==a.length?"":a.map(function(b){b=b.YQ();if(0==b)throw Error("Ve");return _.Kqc[b]}).join(",")};
ixc=function(a,b){if(a.length){var c=new _.Vo;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(CK(d.Za()));_.DK(c,e.join(" "),"or")}return c.toString()}return""};jxc=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 CK(e.Za())});d.push(a.join(", "));return d.join(" ")}return""};
kxc=function(a){if(_.P(a,2))return"any";switch(a.Za()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};lxc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};mxc=function(a,b,c){if(null!=_.y(c,2)){var d=lxc(_.y(c,1));c=CK(_.mwc(_.exc(_.y(c,2)||0)));_.DK(a,[b,d,c].join(" "))}};
nxc=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""};
_.oxc=function(a){for(var b=new _.Vo,c=_.Uj(a,_.Gl,4),d=0;d<c.length;d++){var e=c[d],f=e.Za();if(f){var h=_.y(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(CK(f));_.DK(b,l.join(" "))}}for(var p=_.Uj(a,_.Fl,5),q=0;q<p.length;q++){var r=p[q],v=r.Za();if(v){var z=[];_.Q(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(CK(v));_.DK(b,z.join(" "))}}var A=_.Kl(a);if(A&&0!=A.length){for(var C=[],E=[],H=[],L=[],O=[],R=[],U=0;U<A.length;U++){var ka=
A[U];ka.Za()&&(1===_.Ej(ka,3,0)?_.P(ka,4)?E.push(ka):C.push(ka):_.P(ka,4)?_.Q(ka,2,!1)?R.push(ka):O.push(ka):_.Q(ka,2,!1)?L.push(ka):H.push(ka))}var ha=ixc(C,!1),ta=ixc(E,!0),fa=jxc(H,!1,!1),Ra=jxc(L,!0,!1),Ka=jxc(O,!1,!0),ob=jxc(R,!0,!0),Ya=new _.Vo;if(fa||Ka||ha||ta)_.DK(Ya,fa,"or"),_.DK(Ya,Ka,"or"),_.DK(Ya,ha,"or"),_.DK(Ya,ta,"or");Ya.FI.length&&_.DK(b,"("+Ya.toString()+")","and");var Fb=new _.Vo;if(Ra||ob)_.DK(Fb,Ra,"and"),_.DK(Fb,ob,"and");Fb.FI.length&&_.DK(b,"("+Fb.toString()+")","and")}for(var bc=
_.Uj(a,_.Dl,7),Bc=0;Bc<bc.length;Bc++)mxc(b,"modifiedDate",bc[Bc]);for(var Cd=_.Uj(a,_.Dl,8),Wd=0;Wd<Cd.length;Wd++)mxc(b,"lastViewedByMeDate",Cd[Wd]);_.FK(b,"trashed",a.Xh());_.FK(b,"explicitlyTrashed",_.P(a,17));_.FK(b,"starred",_.P(a,10));_.FK(b,"hidden",_.P(a,11));for(var Kd=_.Ll(a),rf=0;rf<Kd.length;rf++){var td=Kd[rf];EK(b,"parents",td.Za(),_.Q(td,2,!1))}for(var Cb=_.Uj(a,_.qf,13),ne=0;ne<Cb.length;ne++){var Wg=Cb[ne];EK(b,"owners",Wg.Za(),_.Q(Wg,2,!1))}for(var se=_.Uj(a,_.qf,14),li=0;li<se.length;li++){var Xi=
se[li];EK(b,"writers",Xi.Za(),_.Q(Xi,2,!1))}for(var vf=_.Uj(a,_.qf,15),Ck=0;Ck<vf.length;Ck++){var Vh=vf[Ck];EK(b,"readers",Vh.Za(),_.Q(Vh,2,!1))}_.P(a,16)&&_.DK(b,"sharedWithMe");_.FK(b,"unparented",_.P(a,34));for(var Tf=_.Uj(a,_.yl,35)||[],Xd=_.m(Tf),Xg=Xd.next();!Xg.done;Xg=Xd.next())EK(b,"ancestors",Xg.value.Za(),!1);for(var Nh=_.Uj(a,_.yl,38)||[],xi=_.m(Nh),Zk=xi.next();!Zk.done;Zk=xi.next())EK(b,"descendants",Zk.value.Za(),!1);for(var Zn=_.Uj(a,_.El,37)||[],zm=_.m(Zn),Dh=zm.next();!Dh.done;Dh=
zm.next())EK(b,"folderFeatures",Dh.value.Za(),!1);for(var $k=_.de(a,39),hk=_.m($k),Yg=hk.next();!Yg.done;Yg=hk.next()){var Nj=Yg.value,sj=[];sj.push("templateData.description");sj.push("contains");sj.push(CK(Nj));_.DK(b,sj.join(" "))}for(var ik=_.de(a,40),Wh=0;Wh<ik.length;Wh++){var Oj=[];0==Wh&&Oj.push("(");Oj.push(CK(ik[Wh]));Oj.push("in");Oj.push("templateData.categories");Wh==ik.length-1&&Oj.push(")");_.DK(b,Oj.join(" "),0==Wh?"and":"or")}var Pj=_.y(a,41);if(null!=Pj){var tj=[];tj.push("templateData.galleryState");
tj.push("=");tj.push(CK(_.vtc[Pj]||""));_.DK(b,tj.join(" "))}var jk=_.y(a,42);if(null!=jk){var ai=[];ai.push("visibility");ai.push("=");ai.push(CK(nxc(jk)));_.DK(b,ai.join(" "))}for(var Am=_.Uj(a,_.xl,44),Qj=0;Qj<Am.length;++Qj){var kk=Am[Qj];EK(b,"actionItems",kxc(kk),_.Q(kk,3,!1))}if(_.Bj(a,50)){var Al=[];Al.push("pairedDocType");var Rj=_.Q(a,50,!1)?"!=":"=";Al.push(Rj);Al.push(CK("NONE"));_.DK(b,Al.join(" "))}EK(b,"workspaceIds",a.Np(),!1);for(var xn=_.Uj(a,_.zl,57),al=0;al<xn.length;al++){var bl=
[];0==al&&bl.push("(");bl.push(CK(xn[al].Za()));bl.push("in");bl.push("approvals");al==xn.length-1&&bl.push(")");_.DK(b,bl.join(" "),0==al?"and":"or")}if(_.Bj(a,58)){var Af=a.Iq(),Sj=Af.Za(),dm=_.Q(Af,2,!1);if(Sj){var Bl=[];dm&&Bl.push("not");Bl.push("creator");Bl.push("=");Bl.push(CK(Sj));_.DK(b,Bl.join(" "))}}var em=_.B(a,_.Qoa,59);if(em)for(var qc=_.m(_.Uj(em,_.Noa,1)),Tj=qc.next();!Tj.done;Tj=qc.next()){var Oh=Tj.value;EK(b,"categoryMetadata",Oh.Om());for(var lk=_.m(Oh.Ak()),Ph=lk.next();!Ph.done;Ph=
lk.next()){var mi=Ph.value,eg=_.y(mi,1),Dk=_.sb(mi,_.Cl);if(10==Dk){_.bk(mi,_.Eoa,10,_.Cl);var Ep=_.P(mi,15);(void 0===Ep?0:Ep)?_.DK(b,eg+" is null"):_.DK(b,"not ("+eg+" is null)")}else{var Qh=new _.Vo,Eh=void 0;switch(Dk){case 3:Eh=_.bk(mi,gwc,3,_.Cl);for(var yn=_.m(Eh.Ei()),uj=yn.next();!uj.done;uj=yn.next())_.FK(Qh,eg,uj.value,"or");break;case 14:for(var zn=Eh=_.bk(mi,_.xoa,14,_.Cl),fm=new Map([[1,"="],[2,">"],[3,"<"]]),Ek=_.m(zn.Ei()),Bm=Ek.next();!Bm.done;Bm=Ek.next()){var Oo=Bm.value,Fp=fm.get(_.y(zn,
2));if(!Fp)throw Error("We");var pr=[eg,Fp,CK(Oo.getYear()+"-"+Oo.getMonth()+"-"+Oo.getDay())];_.DK(Qh,pr.join(" "),"or")}break;case 8:for(var Nm=Eh=_.bk(mi,_.Doa,8,_.Cl),km=new Map([[1,"="],[2,">"],[3,"<"]]),rk=_.m(Nm.Ei()),cp=rk.next();!cp.done;cp=rk.next()){var Rp=cp.value,Kq=km.get(_.y(Nm,2));if(!Kq)throw Error("We");_.DK(Qh,[eg,Kq,Rp].join(" "),"or")}break;case 9:for(var Mr=Eh=_.bk(mi,iwc,9,_.Cl),ku=new Map([[1,"in"]]),Nr=_.m(Mr.Ei()),Ys=Nr.next();!Ys.done;Ys=Nr.next()){var sB=Ys.value,tB=ku.get(_.y(Mr,
2));if(!tB)throw Error("We");_.DK(Qh,[sB,tB,eg].join(" "),"or")}break;case 6:for(var Ny=Eh=_.bk(mi,_.Ioa,6,_.Cl),lu=new Map([[1,"="]]),Lq=_.m(Ny.Ei()),Mq=Lq.next();!Mq.done;Mq=Lq.next()){var uB=Mq.value,PD=lu.get(_.y(Ny,2));if(!PD)throw Error("We");_.DK(Qh,[eg,PD,CK(uB)].join(" "),"or")}break;case 7:for(var ox=Eh=_.bk(mi,_.Goa,7,_.Cl),Oy=new Map([[1,"in"]]),px=_.m(ox.Ei()),qx=px.next();!qx.done;qx=px.next()){var rx=qx.value,Zs=Oy.get(_.y(ox,2));if(!Zs)throw Error("We");_.DK(Qh,[CK(rx),Zs,eg].join(" "),
"or")}break;case 4:for(var $s=Eh=_.bk(mi,_.Koa,4,_.Cl),hl=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Or=_.m($s.Ei()),Nl=Or.next();!Nl.done;Nl=Or.next()){var vB=Nl.value,QD=hl.get(_.y($s,2));if(!QD)throw Error("We");_.DK(Qh,[eg,QD,CK(vB)].join(" "),"or")}break;case 5:for(var Py=Eh=_.bk(mi,kwc,5,_.Cl),Ki=new Map([[1,"in"]]),Qy=_.m(Py.Ei()),Nq=Qy.next();!Nq.done;Nq=Qy.next()){var Sp=Nq.value,HG=Ki.get(_.y(Py,2));if(!HG)throw Error("We");_.DK(Qh,[CK(Sp),HG,eg].join(" "),"or")}break;case 12:for(var N7=
Eh=_.bk(mi,_.Boa,12,_.Cl),bK=new Map([[1,"="]]),Kg=_.m(N7.Ei()),aT=Kg.next();!aT.done;aT=Kg.next()){var sx=aT.value,lm=bK.get(_.y(N7,2));if(!lm)throw Error("We");_.DK(Qh,[eg,lm,CK(sx)].join(" "),"or")}break;case 11:for(var wB=Eh=_.bk(mi,_.zoa,11,_.Cl),bT=new Map([[1,"in"]]),uO=_.m(wB.Ei()),no=uO.next();!no.done;no=uO.next()){var b_=no.value,vO=bT.get(_.y(wB,2));if(!vO)throw Error("We");_.DK(Qh,[CK(b_),vO,eg].join(" "),"or")}}_.P(mi,15)?_.DK(b,"not ("+Qh+")"):_.DK(b,1<Eh.Ei().length?"("+Qh+")":""+
Qh)}}}null!=_.P(a,60)&&_.FK(b,"linkShareMetadata.securityUpdateEligible",_.P(a,60));var mu=_.P(a,65);if(null!=mu){var RD=[];RD.push("clientEncryptionDetails.encryptionState");RD.push("=");RD.push(CK(mu?"encrypted":"unencrypted"));_.DK(b,RD.join(" "))}var Ry=_.Uj(a,_.qf,68);if(Ry.length){for(var cT=[],O7=[],c_=_.m(Ry),Sy=c_.next();!Sy.done;Sy=c_.next()){var tx=Sy.value,cK="sharedFrom = "+CK(tx.Za());_.Q(tx,2,!1)?O7.push(cK):cT.push(cK)}dxc(b,cT,!1);dxc(b,O7,!0)}var P7=_.Uj(a,_.qf,67);if(P7.length){for(var dT=
[],wO=[],d_=_.m(P7),xB=d_.next();!xB.done;xB=d_.next()){var e_=xB.value,f_="sharedTo = "+CK(e_.Za());_.Q(e_,2,!1)?wO.push(f_):dT.push(f_)}dxc(b,dT,!1);dxc(b,wO,!0)}null!=_.P(a,69)&&_.FK(b,"linkShareMetadata.securityUpdateEnabled",_.P(a,69));null!=_.P(a,72)&&_.FK(b,"canAcceptOwnership",_.P(a,72));if(_.P(a,73)){var g_=(new _.tf).Jb("application/vnd.google-apps.shortcut");_.FK(b,"impactedByMultiparentingMigration",!0);_.DK(b,jxc([g_],!1,!1))}1==_.sK(a)&&fxc(b,a);return b.toString()};
_.pxc=function(a){var b=new _.Vo(_.oxc(a));_.Q(a,74,!1)?_.DK(b,"isQuickAccessForSharedFilesRequest"):_.GJ(a)?_.DK(b,"isQuickAccessRequest"):_.HJ(a)?_.DK(b,"isPeoplePredictRequest"):_.IJ(a)&&_.DK(b,"isDrivePriorityRequest");var c=a.wc();if(c){var d=[];d.push("sortBy");d.push(_.qtc[c.getType()]);d.push(_.xtc[c.nf()]);_.P(c,3)&&d.push("foldersFirst");_.DK(b,d.join(" "))}_.FK(b,"domainSearch",_.P(a,18));_.FK(b,"offline",_.P(a,19));_.Uj(a,_.rK,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.gxc(a)),
_.DK(b,c.join(" ")));a.AB().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.hxc(a)),_.DK(b,c.join(" ")));if(c=_.sK(a))d=[],d.push("corpora"),d.push("="),d.push(CK(_.Twc[c])),_.DK(b,d.join(" "));_.Q(a,66,!0)||_.FK(b,"includeItemsFromAllDrives",_.Q(a,66,!0));1!=_.sK(a)&&fxc(b,a);_.Q(a,48,!1)&&_.DK(b,"cachedOnly");return b.toString()};
_.gK=function(a){if(a instanceof _.QI)a=a.ud();else if(!a)return!1;return a instanceof _.iA||a instanceof _.vG||"undefined"!=typeof _.GK&&a instanceof _.GK||a instanceof _.of&&(_.GJ(a)||_.HJ(a)||_.IJ(a))};qxc=function(){_.So.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.K(qxc,_.So);_.rxc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};sxc=function(a,b){a.V||(a.V=b)};qxc.prototype.xj=function(){_.rxc(this);(0,this.ha)()};txc=function(a,b){a.ha||(a.ha=b)};
_.HK=function(a){if(!a.O){a.O=new Kwc;var b=_.Uo(a);_.I(b,56,a.O)}return a.O};qxc.prototype.getState=function(){var a=_.HK(this).getState();a||(a=new Awc,_.HK(this).Kd(a));return a};var uxc=function(a,b){var c=new ywc;_.w(c,1,b);a=_.Uo(a);_.I(a,12,c)};qxc.prototype.ma=function(){var a=_.B(_.HK(this),Cwc,4);if(!a){a=new Cwc;var b=_.HK(this);_.I(b,4,a)}return a};
var vxc=function(a){var b=_.B(_.HK(a),Dwc,8);b||(b=new Dwc,a=_.HK(a),_.I(a,8,b));return b},wxc=function(a){var b=_.B(_.HK(a),Iwc,19);b||(b=new Iwc,a=_.HK(a),_.I(a,19,b));return b},xxc=function(a){_.ti.call(this,"Fb");this.H=a};_.K(xxc,_.ti);xxc.prototype.Te=function(){return this.H};_.yxc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Ci.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.K(_.yxc,_.Ci);_.g=_.yxc.prototype;
_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.kl=function(){return 1===this.connectionState||2===this.connectionState};_.g.Te=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?_.oC.eU:_.oC.Ega;else 1===a?(b=_.oC.xL,this.O=!0):3===a&&(b=_.oC.dU);if(b)return b=new Qwc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var zxc=function(a,b){this.userId=a;this.H=b;this.db=null},Bxc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return Axc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ze"))},function(d){return a.handleError(d)})},"readwrite")};zxc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.$zb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var Cxc=function(a){return new _.Xh(function(b){var c=new Map;Axc(a,function(d){return nwc(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={Fqa:f.Fqa},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Fqa=k;l.then(function(p){return function(q){q&&c.set(p.Fqa,new _.yAa(q.$zb))}}(f))}return _.II([].concat(_.xd(e.values()))).then(function(){return b(c)})})})})},Dxc=function(a,b){return Axc(a,
function(c){return c.remove(b)},"readwrite")},Axc=function(a,b,c){c=void 0===c?"readonly":c;return Exc(a).then(function(d){try{var e=_.yrc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.iJ(f):void 0)}},function(d){return a.handleError(d)})},Exc=function(a){return a.db?_.Yh(a.db):_.Arc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.owc(c,"OfflineImpressions");b=_.xrc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.uI(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("$e"))}).then(function(b){return a.db=b},function(b){return _.Zh(_.iJ(b))})};zxc.prototype.handleError=function(a){a||(a=Error("af"));_.zK(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Yh()};
_.Fxc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Ci.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.K(_.Fxc,_.Ci);_.Fxc.prototype.Te=function(){return this.H};_.Fxc.prototype.Pl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new xxc(a)))};_.Fxc.prototype.Zy=function(a){this.O=a};
var Hxc=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.We(this);this.Ib.listen(b,"Fb",function(k){k.Te()||Gxc(h)});this.Ib.listen(c,[_.oC.xL,_.oC.eU],function(){return void Gxc(h)});this.W=e;f.then(function(){return Gxc(h)})};_.K(Hxc,_.Ci);Hxc.prototype.CA=function(a){return(this.H.Te()||this.connectionState.Te())&&this.H.O?Bxc(this.O,a):this.V.CA(a)};
var Gxc=function(a){return a.H.O?Cxc(a.O).then(function(b){b.forEach(function(c,d){a.V.CA(c).then(function(){return Ixc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},Ixc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Gb");return Dxc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
Hxc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var Jxc=function(){};Jxc.prototype.FQ=function(){return new qxc};var Kxc=function(){this.H=new Lwc};Kxc.prototype.O=function(a){_.I(a,13,this.H)};Kxc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
var Mxc=function(a,b,c,d){this.ha=b;this.connectionState=c;this.kw=d;this.O=this.H=this.V=null;this.client=_.IK(_.Gtc,_.uK(a));this.ka=_.y(a,94);this.ma=_.IK(_.Ktc,_.Ej(a.hg(),8,0));this.qwa=_.IK(_.Htc,_.Ej(a.hg(),9,2));this.ta=_.Q(a,10,!1);this.ru=_.mI(_.AI(a));this.HBa=_.vK(a);this.W=Lxc(a);this.buildLabel=a.Wi()};Mxc.prototype.Mj=function(){return this.client};
Lxc=function(a){var b=[].concat(_.xd(_.Dtc.keys())),c=[].concat(_.xd(_.Etc.keys())),d=_.fK(a);return b.filter(function(e){return _.Dtc.get(e)(a)}).concat(c.filter(function(e){return d&&_.Etc.get(e)(d)}))};_.IK=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};Mxc.prototype.Yn=function(a){return null==a?0:a?2:1};var Nxc=function(a){if(a.O)return a.O.H("aU7Ts")};
Mxc.prototype.Bb=function(a){return a instanceof _.oB||"undefined"!=typeof _.JK&&a instanceof _.JK||"undefined"!=typeof _.KK&&a instanceof _.KK||"undefined"!=typeof _.LK&&a instanceof _.LK?a.Bb():"undefined"!=typeof _.MK&&a instanceof _.MK||"undefined"!=typeof _.NK&&a instanceof _.NK||"undefined"!=typeof _.OK&&a instanceof _.OK||"undefined"!=typeof _.PK&&a instanceof _.PK||"undefined"!=typeof _.QK&&a instanceof _.QK?a.response?a.response.Bb():null:null};Mxc.prototype.Wi=function(){return this.buildLabel};
var Oxc=function(a){return a.ha.Te()||a.connectionState.Te()?2:1};Mxc.prototype.getEnvironment=function(){return this.kw};Pxc=function(a,b){this.H=a;var c=new _.Xya;_.Yya(c,b.W);a=this.H.AL();var d=_.htc(a);_.I(d,10,c);(c=b.Wi())&&_.gtc(a,c);this.H.FZ();this.O=b};
_.Qxc=function(a,b,c){var d=_.To(a.H.LF(b,c),_.ytc);uxc(d,Oxc(a.O));b=Nxc(a.O);"boolean"===typeof b&&Bwc(d.getState(),b);1===c&&sxc(d,function(){return void a.H.jw(d)});txc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.Ed();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.Ed();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.Ed();l=d.getState();_.w(l,7,h);a.H.Vp(d)});
return d};Rxc=function(a){var b=new _.Mza,c=new Kxc,d=a.Mj();_.w(c.H,1,d);_.w(c.H,8,a.ka);_.w(c.H,3,a.ma);_.w(c.H,4,a.qwa);_.w(c.H,5,a.ta);_.w(c.H,6,a.ru);_.w(c.H,7,a.HBa);a=c.setEnvironment(a.getEnvironment());_.lsc(b,_.Atc,a);_.Wo(b,_.ytc,new Jxc);return b};
Sxc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.FI(906,b,void 0,_.Ntc());l.ha=!1;var p=new _.msc(l);b=new Date;l=_.mtc(_.ltc(_.ktc(pwc(),new _.nsc(l)),Rxc(c)),109).setSessionId(b.getTime()+"_"+_.Vg());if(k){a=new Hxc(p,d,e,new zxc(a,f),f,h);_.jtc(l,a);d=l.build();_.ftc(d.AL(),1E3*b.getTime());var q=new Pxc(d,c);(new _.We).listen(a,"Gb",function(){_.Qxc(q,106008,0).xj()});return q}_.jtc(l,p);a=l.build();_.ftc(a.AL(),1E3*b.getTime());return new Pxc(a,c)};
Txc=function(a,b){this.V=a;this.W=b};Txc.prototype.O=function(a,b){this.V&&_.Uxc(this)&&(a=_.Qxc(this.V,a,0),b&&_.Cqc(a,b),a.xj())};_.RK=function(a,b){if(a.V&&_.Uxc(a)){a=_.Qxc(a.V,106018,0);var c=_.B(_.HK(a),Hwc,15);if(!c){c=new Hwc;var d=_.HK(a);_.I(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.xj()}};Txc.prototype.H=function(a,b){return this.V&&_.Uxc(this)?(a=_.Qxc(this.V,a,1),b&&_.Cqc(a,b),a):null};_.Uxc=function(a){return!(!a.V||!a.V.H.oP())};
_.Vxc=function(a,b,c,d,e,f){var h=_.P(a,59),k=_.YI(_.AI(a)).toString(),l=_.tK(_.AI(a));f=new Mxc(a,b,c,f);a=h?Sxc(l,k,f,b,c,d,e,_.Q(a,17,!1)):null;return new Txc(a,f)};_.CJ=function(a){_.J.call(this,a)};_.K(_.CJ,_.J);_.Wxc=function(a){_.J.call(this,a)};_.K(_.Wxc,_.J);_.Wxc.prototype.getId=function(){return _.y(this,1)};_.Wxc.prototype.Pb=function(a){return _.w(this,1,a)};_.Wxc.prototype.ue=function(){return _.B(this,_.Cf,2)};_.LJ=function(a){_.J.call(this,a)};_.K(_.LJ,_.J);
_.LJ.prototype.Zn=function(){return _.y(this,2)};_.LJ.prototype.ud=function(){return _.B(this,_.Wxc,3)};_.BJ=function(a){_.J.call(this,a)};_.K(_.BJ,_.J);_.BJ.prototype.ud=function(){return _.B(this,_.AJ,1)};_.BJ.prototype.Kca=function(a){return _.w(this,2,a)};_.zJ=function(a){_.J.call(this,a)};_.K(_.zJ,_.J);_.zJ.prototype.getId=function(){return _.y(this,1)};_.zJ.prototype.Pb=function(a){return _.w(this,1,a)};_.Xxc=function(a,b){return _.w(a,2,b)};_.OJ=function(a){_.J.call(this,a)};_.K(_.OJ,_.J);
_.OJ.prototype.ud=function(){return _.B(this,_.zJ,1)};Yxc=[2];_.VJ=function(a){_.J.call(this,a,-1,Yxc)};_.K(_.VJ,_.J);_.VJ.prototype.Ac=function(){return _.y(this,1)};_.VJ.prototype.wV=function(){return _.Uj(this,_.tG,2)};_.VJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.Zxc=function(a){_.J.call(this,a)};_.K(_.Zxc,_.J);_.Zxc.prototype.Bk=function(){return _.y(this,1)};_.$xc=function(a){var b=new _.Zxc;return _.w(b,1,a)};ayc=[1];_.Fuc=function(a){_.J.call(this,a,-1,ayc)};_.K(_.Fuc,_.J);
_.byc=function(a,b){this.O=b;this.H=new Map;this.fla(_.Uj(a,_.Hl,91))};_.byc.prototype.fla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.y(c,2);if(!b||!c)break;var d=_.cyc(this,b);if(d){d!==c&&Euc(b);break}this.H.set(b,c)}};fvc=function(a,b){return[].concat(_.xd(new Set(b))).map(function(c){var d=(new _.Hl).Pb(c);a.H.has(c)?_.Il(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Il(d,_.nl(c));return d}).filter(function(c){return _.Bj(c,2)})};
_.cyc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.Bj(a,140)?_.nl(a):null};_.Iuc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Ouc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Uuc=function(){this.H=_.Df(new _.Cf,312)};_.dyc=function(a,b){_.vI.call(this,a?a:500,b?b:6E5)};_.K(_.dyc,_.vI);_.SK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Od=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};
_.SK.prototype.getState=function(){return this.state};_.SK.prototype.iM=function(a){var b=this;if(this.W)return this.W;var c=_.bi();this.W=c.promise.then(function(){return _.$xc(1)},function(d){d=_.PB(d).Sg;var e=0;2===d.Ip()?e=3:_.Mtc(d)&&(e=2);return _.$xc(e)});a&&this.W.then(function(d){3===d.Bk()&&_.RK(b.Od,186469046)});this.H&&(a=_.y(wxc(this.H),4)||0,Jwc(wxc(this.H),a+1));setTimeout(function(){b.W=null},5E3);eyc(this,c);return this.W};_.hyc=function(a,b){fyc(a,3)&&_.gyc(a,b)};
_.SK.prototype.reset=function(){this.O=null;iyc(this)};iyc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.gyc=function(a,b){if(!a.O&&!a.V){a.H=a.Od.H(106025);if(a.H){var c=wxc(a.H);var d=!(!a.state.isConnected()&&a.state.kl());c=_.w(c,1,d);c=_.w(c,2,a.state.O);_.w(c,5,!!b)}a.O=new _.dyc(5E3,6E4);jyc(a)}};jyc=function(a){iyc(a);eyc(a);a.O&&(a.timeout=setTimeout(function(){return void jyc(a)},a.O.Za()),_.wI(a.O))};
eyc=function(a,b){_.ci((a.ha?a.ha():_.Yh()).then(null,function(){return null}),function(){if(a.H){var c=_.y(wxc(a.H),3)||0,d=wxc(a.H);_.w(d,3,c+1)}kyc(a,b)})};kyc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Re(new _.Uuc)}).then(null,function(d){d=_.PB(d);_.Mtc(d.Sg)&&fyc(a,2);return _.Zh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.SK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
fyc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.Qtc.get(b)),!0):!1};_.lyc=function(){this.H={}};myc=function(a,b,c){if(a.H[b])throw Error("bf");a.H[b]=c};_.lyc.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)}};nyc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};
_.oyc=function(a,b){this.H=a;this.V=b;this.O=_.Stc[_.Ej(a.hg(),8,0)];this.W=_.Stc[_.Ej(a.hg(),51,5)];this.nonce=_.Vg()};
_.oyc.prototype.lc=function(a,b){if(b.AN)pyc(this,a,b),qyc(this,a,b);else if(11===a.an){if(b.PJb){var c=b.AD||_.D(this.H.hg(),37,"");_.qj(a.uri,"key",c)}pyc(this,a,b);ryc(this,a,b)}else switch(a.uri=syc(this,a.an,a.uri),a.an){case 1:ryc(this,a,b);pyc(this,a,b);break;case 0:b.ru||_.mI(_.AI(this.H))||(b.sjb?_.qj(a.uri,"dsNonce",_.Vg()):_.Q(this.H,83,!1)&&_.qj(a.uri,"dsNonce",this.nonce));ryc(this,a,b);qyc(this,a,b);pyc(this,a,b);break;case 2:case 3:case 4:case 5:ryc(this,a,b);qyc(this,a,b);pyc(this,
a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:ryc(this,a,b);qyc(this,a,b);break;default:throw Error("cf`"+a.an);}};tyc=function(a,b){var c=syc(a,b,new _.jj);if(!c.H)throw Error("ef");return _.mj(_.lj(_.kj(new _.jj,c.O),c.H),c.W).Li(_.Ttc.has(b)?"/batch"+a.O:"/batch")};
syc=function(a,b,c){var d=_.y(a.H.hg(),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.hg(),62,"");break;case 8:a=_.y(a.H.hg(),53);break;case 9:a=_.y(a.H.hg(),56);break;case 10:a=_.y(a.H.hg(),22);break;case 13:a=_.y(a.H.hg(),55);break;case 12:a=_.y(a.H.hg(),43);break;default:throw Error("cf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.jj(a);
_.Rd(c,"/")&&(c=c.slice(1));return new _.jj(a+"/"+c)};ryc=function(a,b,c){a=_.AI(a.H);c.ru||_.mI(a)||(c=[{key:"u",value:_.tK(a)}],b.headers.authorization=_.jsc(c)||"",c=_.YI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
pyc=function(a,b,c){var d=_.AI(a.H),e=a.H.hg(),f=c.V5a||!!_.y(e,13);c=c.W5a||_.Q(e,14,!1);var h=11===b.an;f&&((f=_.y(e,13))&&_.Rd(f,"email:")?_.qj(b.uri,"trace",f):f&&"trace:true"===f?_.qj(b.uri,"$trace","true"):f?_.qj(b.uri,"trace","token:"+f):_.qj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.qj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Ej(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
qyc=function(a,b,c){c.ru||_.mI(_.AI(a.H))?_.qj(b.uri,"key",_.D(a.H.hg(),36,"")):(a=c.AD||_.D(a.H.hg(),37,""),_.qj(b.uri,"key",a))};_.Huc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.Juc=function(a){this.request=a;this.requestId=_.Vg()};_.Ruc=function(a,b,c,d){this.request=a;this.file=b;this.eQ=void 0===c?null:c;this.metadata=d};Puc=function(a,b){this.request=a;this.metadata=b};
Quc=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.eQ=void 0===c?null:c;this.metadata=d};Zuc=[_.lJ,_.nJ,_.mJ,_.pJ,_.oJ,_.qJ,_.rJ,_.uJ,_.wJ,_.xJ,_.yJ,_.AJ,_.BJ,_.NJ,_.RJ,_.TJ,_.VJ,_.ZI,_.WJ,_.XJ,_.YJ,_.Juc,_.ZJ];uyc=[_.aJ];$uc=[_.uG,_.Ouc];avc=[_.LJ,_.BI,_.LD,_.$J];bvc=[_.QI,_.CJ,_.xA,_.aJ,_.Iuc];cvc=[_.$J,_.wG];dvc=[_.zJ,_.Fuc,_.KJ,_.OJ,_.PJ,_.Huc,_.ZJ,Quc,Puc];
vyc=function(a){return a instanceof _.QI||a instanceof _.$J||"undefined"!=typeof _.TK&&a instanceof _.TK||a instanceof _.XJ||a instanceof _.xJ||a instanceof _.qJ||a instanceof _.uJ||a instanceof _.ZI&&_.eK(a)};_.wyc=function(a,b){this.H=b;this.U3={};this.kj=new wwc;b=_.kJ({fields:_.de(a,28),Aq:_.mI(_.AI(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.Q(a,45,!1)+" (Include corpus cache: "+!!_.Q(a,46,!1)+")")};_.wyc.prototype.Jb=function(a,b){this.U3[a]=xyc(a,b)};
var yyc=function(a,b){var c=a.U3[b];c||(c=xyc(b,0,2),a.U3[b]=c);c.Jb(String(Number(c.Za())+1))};_.wyc.prototype.Oz=function(a){var b=_.Qa(this.U3);this.H&&b.push(xyc("CacheSize",this.H.Ed()));b.push(xyc("InitialViewDataLoaded",a));a=new _.Ywc;_.Jj(a,1,b);return _.ii(a)};xyc=function(a,b,c){var d=new _.Wwc;_.w(d,1,a);_.w(d,4,c||1);d.Jb(String(b));d.Yl(_.Xtc.get(a));return d};
_.zyc=function(a,b,c){var d=new _.otc;_.w(d,2,"Pending...");b instanceof _.QI?_.Vj(d,3,_.RI,b):b instanceof _.$J?_.Vj(d,4,_.RI,b):"undefined"!=typeof _.TK&&b instanceof _.TK?_.Vj(d,5,_.RI,b):b instanceof _.XJ?_.Vj(d,6,_.RI,b):b instanceof _.xJ?_.Vj(d,7,_.RI,b):b instanceof _.qJ?_.Vj(d,8,_.RI,b):b instanceof _.uJ?_.Vj(d,9,_.RI,b):b instanceof _.ZI&&_.Vj(d,10,_.RI,b);var e=Wuc(b),f=[];if(b instanceof _.mJ)aK(f,"ID",b.getId()),aK(f,"Parent ID",b.Ek());else if(b instanceof _.xJ)aK(f,"TD ID",b.getId());
else if(b instanceof _.QI)b=_.pxc(b.ud()),aK(f,"Query",b);else if(b instanceof _.$J)aK(f,"Query","All");else if(b instanceof _.XJ)aK(f,"TD ID",b.getId()),aK(f,"Title",b.getTitle()),aK(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.qJ)aK(f,"MimeType",b.getMimeType()),aK(f,"Title",b.getTitle()),aK(f,"Parents",_.de(b,3)),aK(f,"Convert",_.P(b,8)),aK(f,"Request ID",b.ij()),aK(f,"Parent Request IDs",_.de(b,10)),aK(f,"Revision Item ID",_.y(b,12)),aK(f,"Pinned",_.P(b,8));else if(b instanceof _.rJ)aK(f,
"Title",b.getTitle());else if(b instanceof _.uJ)aK(f,"ID",b.getId());else if(b instanceof _.yJ)aK(f,"WS ID",b.getId());else if(b instanceof _.NJ)aK(f,"Source ID",_.y(b,1)),aK(f,"Destination Parent ID",_.y(b,2)),aK(f,"validation token",_.y(b,4));else if(b instanceof _.ZI){if(aK(f,"ID",b.getId()),aK(f,"Title",b.getTitle()),aK(f,"Description",b.Cf()),aK(f,"Starred",_.P(b,4)),aK(f,"Trashed",b.Xh()),aK(f,"MimeType",b.getMimeType()),aK(f,"Parents",_.de(b,8)),aK(f,"Parents to add",_.de(b,9)),aK(f,"Parents to remove",
_.de(b,10)),aK(f,"Restricted",_.P(b,11)),aK(f,"Folder Color",b.Yi()),aK(f,"Update Last Viewed",_.P(b,15)),aK(f,"Subscribed",_.P(b,16)),aK(f,"Available Offline",_.P(b,18)),aK(f,"Wksp to add",_.de(b,31)),aK(f,"Wksp to remove",_.de(b,32)),b=_.B(b,_.Xk,25))aK(f,"Read Only",_.P(b,1)),aK(f,"Reason",_.y(b,2))}else b instanceof _.YJ?(aK(f,"WS ID",b.getId()),aK(f,"Title",b.getTitle()),aK(f,"State",b.getState())):b instanceof _.Juc&&aK(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+e+(c?" ("+c+")":"")+
"\n"+f.join("\n"));a.kj.add(d);return d};_.Ayc=function(a,b){for(var c=new _.Vo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.huc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};_.wyc.prototype.XQ=function(){return this.kj.sh()};_.UK=function(a){_.J.call(this,a)};_.K(_.UK,_.J);_.UK.prototype.jd=function(){return _.B(this,_.oB,1)};_.Byc=function(a,b){return _.I(a,1,b)};_.UK.prototype.Zn=function(){return _.y(this,3)};
_.Cyc=function(a,b,c){_.ti.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.Cyc,_.ti);
_.Dyc=function(a,b){this.O=a;this.V=b;this.H=null};
var VK=function(a){_.Ci.call(this);this.name=a};_.K(VK,_.Ci);_.g=VK.prototype;_.g.K3=function(){};_.g.iEa=function(){};_.g.d0a=function(){};_.g.KLa=function(){};_.g.c0a=function(){};_.g.MF=function(){this.dispatchEvent(new _.ti("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var Eyc=function(a,b){VK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.O,"Fb",function(d){d.Te()||c.MF()});this.Sc.listen(this.H,"tb",this.MF)};_.K(Eyc,VK);Eyc.prototype.max=function(){var a=this.O.Te(),b=this.H.IB();return!a&&b?Infinity:0};Eyc.prototype.K3=function(){this.MF()};
var Fyc=function(a){VK.call(this,"Online");var b=this;this.connectionState=a;this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.connectionState,[_.oC.xL,_.oC.Ega,_.oC.eU],function(){return b.MF()})};_.K(Fyc,VK);Fyc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};Fyc.prototype.K3=function(){this.MF()};
_.Gyc=function(a,b){this.H=a;this.O=b};_.Hyc=function(a){return a.H instanceof _.SK?new Fyc(a.H.getState()):new Eyc(a.O,a.H)};_.Gyc.prototype.Nj=function(){return this.H instanceof _.SK?this.H.getState():this.O};
var Jyc;_.Iyc=function(a,b,c){this.vK=c;this.O=!0;this.V=0;this.H=new _.vI(a,b,.5)};Jyc=function(a){return a.H.O+a.V};
_.WK=function(a,b){VK.call(this,"Backoff");this.H=a;this.O=b};_.K(_.WK,VK);_.WK.prototype.max=function(){return this.H.O?Infinity:0};_.WK.prototype.KLa=function(){var a=this.H;a.V=0;a.H.reset()};_.WK.prototype.c0a=function(a){var b=this;Kyc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Za(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.MF()},a),_.wI(this.H.H))};
var Kyc=function(a){var b;return(a=null===(b=_.ia(a.FD))||void 0===b?void 0:b.response)?tuc(_.uIb(a)):!1};_.WK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.Lyc=function(a,b){VK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.K(_.Lyc,VK);_.Lyc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.Lyc.prototype.K3=function(a){a>=this.O?this.MF():null==this.H&&Myc(this)};_.Lyc.prototype.iEa=function(a,b){0<b?Myc(this):this.H=null};var Myc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.MF.bind(a),a.V)};
_.XK=function(){this.kj=[]};_.g=_.XK.prototype;_.g.add=function(a,b){b?this.kj.unshift(a):this.kj.push(a);return!0};_.g.bsa=function(a){return _.Aa(this.kj,0,a)};_.g.Ed=function(){return this.kj.length};_.g.cancel=function(a){return _.va(this.kj,function(b){return b.Dv.config.requestId===a?(b.ke.resolve(Xuc(b.Dv.Lw)),!0):!1})};_.g.$J=function(){return _.og(this.kj,function(a){return _.eK(a.Dv.Lw)})};
var Nyc=function(){VK.call(this,"Immediate")};_.K(Nyc,VK);Nyc.prototype.max=function(){return Infinity};Nyc.prototype.K3=function(){this.MF()};
var Oyc=function(){VK.call(this,"One Request")};_.K(Oyc,VK);Oyc.prototype.max=function(){return 1};
_.YK=function(a){VK.call(this,"Parallel");this.limit=a;this.H=0};_.K(_.YK,VK);_.YK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.YK.prototype.K3=function(){this.H<this.limit&&this.MF()};_.YK.prototype.iEa=function(a){this.H+=a.length};_.YK.prototype.d0a=function(a){this.H-=a.length;this.H<this.limit&&this.MF()};
var Pyc=function(){_.Ci.apply(this,arguments)};_.K(Pyc,_.Ci);var Ryc=function(a,b){a.dispatchEvent(new Qyc(b))};Pyc.prototype.O=function(){};var Qyc=function(a){_.ti.call(this,"Nb");this.request=a};_.K(Qyc,_.ti);
_.ZK=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ma=0;this.W=new Map;this.Sc=new _.We(this);this.Ma(this.Sc);for(a=0;a<this.H.length;a++)this.Sc.listen(this.H[a],"Mb",this.b_a);for(a=0;a<this.O.length;a++)this.Sc.listen(this.O[a],"Nb",function(k){Syc(h,!0,k.request)});this.ka=_.Ft("drive.ds.network.queue.Queue [%s]",f)};_.K(_.ZK,_.Ci);_.ZK.prototype.add=function(a){return Syc(this,!1,{Dv:a,ke:_.bi(),FD:[]})};
_.ZK.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};_.ZK.prototype.$J=function(){return this.V.$J()?!0:this.buckets.some(function(a){return a.$J()})};
var Syc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.lq(new _.zc,"No queue bucket accepted request."),_.Zh(_.PB(a));for(var d=Tyc(a),e=0;e<a.H.length;e++)a.H[e].K3(d);return c.ke.promise};_.g=_.ZK.prototype;
_.g.b_a=function(){var a=Tyc(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].bsa(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.ma++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.$ub.bind(this,a[e]),this.Zub.bind(this,a[e]));e=Tyc(this);for(var f=0;f<this.H.length;f++)this.H[f].iEa(a,e);_.ci(_.II(d).then(this.Yub.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.b_a.bind(this),0)};
_.g.$ub=function(a,b){var c=a.Dv.config;this.log(Wuc(a.Dv.Lw)+" request completed successfully. xd4: "+!(!c||!c.AN));this.H.forEach(function(d){return d.KLa()});this.O.forEach(function(d){return d.O(a)});a.ke.resolve(b)};
_.g.Zub=function(a,b){b=_.PB(b);this.log(Wuc(a.Dv.Lw)+(" request failed with error: "+b.ha+"."));a.FD.push({response:b,JQb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].c0a(a);a.Dv.config.eEa||!this.O.some(function(d){return d.intercept(a)})?a.ke.reject(b):this.log(Wuc(a.Dv.Lw)+" encountered an error, but was intercepted to be retried.")};_.g.Yub=function(a){Tyc(this);for(var b=0;b<this.H.length;b++)this.H[b].d0a(a)};
var Tyc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ed()){b=a.buckets[c].Ed();break}return b};_.ZK.prototype.log=function(a){this.ha.info(this.ka,a)};
_.Uyc=function(a,b,c,d){Pyc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Zj(a,21,1E3);this.ta=_.Zj(a,1,1);this.ma=function(){return new _.Iyc(_.Zj(a,63,1E3),_.Zj(a,64,3E5),_.Zj(a,65,10))}};_.K(_.Uyc,Pyc);
_.Uyc.prototype.intercept=function(a){var b=a.FD.length,c=0<b&&_.ia(a.FD).response||null;if(c){c=_.XI(c);if(2===c.Ip())return Vyc(this,a);if(_.Mtc(c))return 2>=b?(Ryc(this,a),a=!0):a=!1,a;var d=c.zk();if(3===d||31===d||13===d||9===d)return Wyc(this,a,b);if(tuc(c))return b=Jyc(this.V),c=this.V,Jyc(c)<c.vK?(this.log("Backoff number "+b+" for a User Rate Limit error."),Ryc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var Vyc=function(a,b){var c=Xyc(a,b),d=Jyc(c);if(Jyc(c)<c.vK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Te()?(d=c.H.Za(),_.n.setTimeout(function(){return Ryc(a,b)},d),_.wI(c.H)):(_.n.setTimeout(function(){return Ryc(a,b)}),c.V++),!0;a.H.delete(b);return!1},Xyc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},Wyc=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 Ryc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.Uyc.prototype.O=function(a){this.H.delete(a)};_.Uyc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var Yyc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.Ntc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.gKb,d=Pwc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.eKb(_.iJ(e),"reading data"))}},Zyc=function(a){return Yyc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var $yc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ka=c;this.W=d;this.Qa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.va=this.ha=null;this.ke=_.bi();this.finished=!1;this.Ba=this.Au=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Oz();a=_.Ntc()&&a?_.y(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.fO="progress_"+this.requestId;h.fO=this.fO;this.ma=!!f.metadata};
$yc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};$yc.prototype.start=function(){var a=this,b=new Puc(this.request.request,this.request.metadata),c=azc(this);this.Ha.then(function(d){return d.Re(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;bzc(a)},function(d){return void a.ke.reject(d)});return _.ci(this.ke.promise.then(function(d){czc(a,d);return d},function(d){d=_.PB(d);czc(a,d.Sg);return _.Zh(d)}),function(){nyc(a.H,[a.fO])})};
var azc=function(a){var b=_.Za(a.config);myc(a.H,a.fO,uwc(function(){return void a.H.notify([a.requestId],0)}));return b};$yc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ke.resolve(Xuc(this.request)),!0)};
var bzc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),dzc(a,4))},dzc=function(a,b){ezc(a).then(function(c){if(c){var d=fzc(a,c.blob.size);a.Ha.then(function(f){return f.Re(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.SJ()&&(a.va=f.SJ());f.OM()&&(a.Fa=f.OM());a.progress<a.fileSize?bzc(a):a.ke.resolve(f)},function(f){if(d.eEa)a.cancel();else{var h=_.XI(f);h.bBa()||h.Wka()||a.ma?gzc(a,b,h,!1):Zyc(c.blob).then(function(k){k=k?_.fFa.get(k)||
25:38;_.gJ(h,k);k=38===h.Ip();var l=38!==h.Ip()&&25!==h.Ip();gzc(a,b,h,k,l)},function(){})}})}else{var e=_.PB(_.gJ(_.lq(new _.zc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ke.reject(e)}})},gzc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.ffa(f);!e&&0<b?(a.Au++,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+"."));dzc(a,b)},a.Qa*Math.pow(1.5,f))):a.ke.reject(_.PB(c))},ezc=function(a,b){return a.ma&&a.V?_.Yh(a.V):hzc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return ezc(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 Quc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.y(a.request.request,
12)||void 0);return a.V})},hzc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.eQ?a.request.eQ(b,a.O):_.Yh(_.juc(a.request.file,b,b+a.O))},fzc=function(a,b){var c=_.Za(a.config);c.OQa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;nyc(a.H,[a.fO]);myc(a.H,a.fO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},czc=function(a,b){b.LLa(3);b.ffa(a.Au);b.SJ()||b.Fca(a.va);b.OM()||b.wca(a.Fa)};
_.izc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.izc.prototype.create=function(a,b){return new $yc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.jzc=function(a){this.O=a;this.H={}};_.jzc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Dv.Lw instanceof _.Ruc)b.push(kzc(this,a[c].Dv));else{var d=_.lq(new _.zc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.PB(d)))}return b};_.jzc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.jzc.prototype.$J=function(){return!_.Ua(this.H)};
var kzc=function(a,b){var c=a.O.create(b.Lw,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ci(d,function(){delete a.H[e]})};
_.lzc=function(a,b){return new _.ZK(b,a,[new Nyc],[new _.XK],[],"immediate")};_.mzc=function(a,b,c,d,e){return new _.ZK(e,a,[_.Hyc(d),new _.WK(c,e),new Oyc],[new _.XK],[new _.Uyc(b,c,d.Nj(),e)],"connected")};_.nzc=function(a,b,c,d,e,f,h){h=void 0===h?_.Zj(b,10,50):h;return new _.ZK(e,a,[_.Hyc(d),new _.Lyc(h,_.Zj(b,12,10)),new _.YK(3*h),new _.WK(c,e)],[new _.XK],[new _.Uyc(b,c,d.Nj(),e)],f)};_.ozc=function(a,b,c){b=_.Zj(b,46,1);return new _.ZK(c,a,[new _.YK(b)],[new _.XK],[],"resumable_upload")};
_.pzc=function(a,b,c,d,e,f,h,k){this.aI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.pzc.prototype.Re=function(a,b){return qzc(this,a,b).then(null,function(c){c=_.PB(c);var d=c.Sg;Yuc(a)||_.nq(d);return _.Zh(c)})};
var qzc=function(a,b,c){c=void 0===c?{}:c;var d=a.aI.validate(b);if(d)return _.Zh(_.PB(d));var e=a.ma.translate(b);e instanceof _.zc?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 _.Yh(d).then(function(){if(e instanceof _.zc)return _.Zh(_.PB(e));if(Array.isArray(e)){var f=e.map(function(h){return rzc(a,b,h,c)});return _.II(f)}return rzc(a,b,e,c)},function(f){return _.Zh(_.PB(f))})},
rzc=function(a,b,c,d){var e=szc(a,c);if(!e)return b=_.gJ(_.lq(new _.zc,"Failed to choose a queue for server request."),18),_.Zh(_.PB(b));if(b instanceof _.zJ||b instanceof _.OJ)d.sjb=!0;if(e===a.H[7]||e===a.H[8])d.AN=!0;d=e.add({Lw:c,config:d});(_.eK(b)||_.eK(c))&&_.ci(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};_.pzc.prototype.cancel=function(a){return _.Oa(this.H,function(b){return b.cancel(a)})};
var szc=function(a,b){var c,d=!1;b instanceof _.CJ?d=!(null===(c=_.B(b,_.xA,2))||void 0===c||!_.P(c,7)):b instanceof _.xA?d=!!_.P(b,7):b instanceof _.QI&&(d=(d=b.ud())&&!!_.P(d,46));return(b instanceof _.Uuc||b instanceof _.eJ&&_.P(b,9))&&a.H[1]?a.H[1]:b instanceof _.Ruc&&a.H[5]?a.H[5]:d&&evc(b,a.O)&&a.H[7]?a.H[7]:evc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.CJ||b instanceof _.xA)&&a.H[6]?a.H[6]:(d||uyc.includes(b.constructor))&&a.H[3]?a.H[3]:Zuc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var tzc=function(a){this.H=a};tzc.prototype.build=function(a,b){var c="====="+_.Vg()+"=====",d=a[0].an,e=b.every(function(l){return l.AN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=tyc(this.H,a[0].an);_.qj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=uzc[d],h=vzc[d]||{},h["content-type"]=_.Ft('multipart/mixed; boundary="%s"',c),d=wzc[d],k=new _.jj("");a=xzc(this,a,b,c,e);return{an:f,body:a,headers:h,method:d,uri:k}};
var xzc=function(a,b,c,d,e){for(var f=Duc(yzc[b[0].an]||{}),h="",k=0;k<b.length;k++){e&&ryc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=syc(p,q.an,q.uri);switch(q.an){case 0:case 5:qyc(p,q,r);pyc(p,q,r);break;case 2:ryc(p,q,r);qyc(p,q,r);var v=q,z=_.y(p.H.hg(),57);v.headers.host=_.xj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;pyc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("df`"+q.an);default:throw Error("cf`"+
q.an);}p=l;q=p.uri.clone();_.kj(q,"");_.lj(q,"");_.mj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+Duc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},zzc={},uzc=(zzc[0]=1,zzc[2]=3,zzc),Azc={},wzc=(Azc[0]="POST",Azc[2]="PUT",Azc[12]="POST",Azc),Bzc={},Czc={},vzc=(Czc[2]=(Bzc["x-goog-upload-protocol"]="batch",Bzc),Czc),Dzc={},Ezc={},Fzc={},Gzc={},yzc=(Gzc[0]=(Dzc["content-type"]="application/http",Dzc["content-transfer-encoding"]="binary",Dzc),Gzc[12]=
(Ezc["content-type"]="application/http",Ezc["content-transfer-encoding"]="binary",Ezc),Gzc[2]=(Fzc["content-type"]="application/http",Fzc),Gzc);
var Hzc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,Izc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Jzc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.kj=new Map};Jzc.prototype.add=function(a,b){var c="DEFAULT";b.AN&&(c=tyc(this.V,a.an).toString());this.kj.has(c)||this.kj.set(c,[]);c=this.kj.get(c);if(1<=c.length&&!b.AN&&!uzc[a.an])return a=_.lq(new _.zc,"Unsupported batch API: "+a.an),_.Zh(_.PB(a));var d=_.bi();c.push({request:a,config:b,ke:d});return d.promise};
Jzc.prototype.send=function(){for(var a={},b=_.m(this.kj.entries()),c=b.next();!c.done;a={Oqa:a.Oqa},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{Kzc(this,d)}catch(f){var e=_.iJ(f);e=_.mq(_.lq(new _.zc,"Error executing XHR: "+e.message),e.stack);a.Oqa=_.PB(e);d.forEach(function(h){return function(k){k.ke.reject(h.Oqa)}}(a));this.kj.delete(c)}}};
var Kzc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.EBa&&!c.config.AN){var d=!1;if(uzc[c.request.an]){var e={an:c.request.an,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.lc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){Lzc(a,c);return}}}Mzc(a,b)},Lzc=function(a,b){var c=b.ke;a.W.$g(b.request,b.config).then(function(d){c.resolve(d);Nzc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},Mzc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.$g(a.ha.build(c,d),{EBa:!0,AN:d.every(function(e){return e.AN})}).then(function(e){e.headers=_.muc(e.headers);var f=Izc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Ac("Could not extract batch boundary.",_.gJ(_.mq(new _.zc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Rd(_.uia(h[0]),f)&&_.ve(h[1]))h=_.uia(h[0]).substring(f.length);else throw new _.Ac("Could not parse batch response; did not begin and end with boundary.",
_.gJ(_.mq(new _.zc,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],E=p&&p.uri,H=C.split("\r\n\r\n");if(2>H.length)v=new _.Ac("Individual batch response contained too few parts.",_.gJ(_.mq(new _.zc,C),17));else{var L=H[1].split("\r\n");if(z=Hzc.exec(L[0])){p=_.$g(z[1]);z=z[2];L.shift();A=_.Za(A);for(var O=Object,R=O.assign,U={},ka=0;ka<L.length;ka++){var ha=_.Dia(L[ka],":",1);ha&&2===
ha.length&&(U[(0,_.qg)(ha[0])]=(0,_.qg)(ha[1]))}L=_.muc(U);R.call(O,A,L);try{v=_.ve(_.Ug(H[2]))?void 0:JSON.parse(H[2])}catch(ta){}v=(p=_.ruc(p,z,A,C,v,void 0,void 0,E&&E.toString()))?_.PB(p):{headers:A,text:C,json:v||void 0}}else v=new _.Ac("Could not extract HTTP status code and text.",_.gJ(_.mq(new _.zc,C),16))}r.call(q,v)}return k}).then(null,function(e){e=_.PB(e);return _.Tqc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ke,l=e[h];l instanceof _.zc||l instanceof _.Ac?
(l=_.PB(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Nzc(a,b[0])})},Nzc=function(a,b){var c=b.request.an;b=!b.config.ru&&_.oa(Ozc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=fyc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.xj(),a.H=null)}else a.O&&b&&a.O.va()};
Jzc.prototype.handleError=function(a,b){a=_.uIb(b);if(2===a.Ip()){if(this.H)return _.hyc(this.H),!0}else if(_.Mtc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.gyc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var Ozc=[0,2,4,7,8];
var Pzc=function(){_.gj.apply(this,arguments)};_.K(Pzc,_.gj);Pzc.prototype.getAllResponseHeaders=function(){return _.uia(_.gj.prototype.getAllResponseHeaders.call(this))};
var Qzc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
Qzc.prototype.$g=function(a,b){var c=this;try{this.W.lc(a,b);var d=new Pzc;d.vC=!0;var e=b.requestId||"",f=_.bi();d.listen("complete",function(){var h=b.EBa,k=4===a.an;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.lma(d),text:d.Il()};if(!h)try{l.json=_.lI(d)}catch(p){}h=_.ruc(d.Bb(),_.ima(d),l.headers,l.text,l.json,d.O,_.mma(d),String(d.ta),k);d.dispose();h?f.reject(_.PB(h)):f.resolve(l)});e&&b.fO&&!b.AN&&(this.O[e]=d,this.H[e]=b,d.Gb=!0,d.listen("uploadprogress",
function(h){h.lengthComputable&&c.V.notify([b.fO],b.OQa?h.loaded/h.total:h.loaded/h.total/2)}),b.OQa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.fO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Zh(_.PB(h))}};Qzc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.eEa=!0,b.abort(),!0):!1};
_.Rzc=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new tzc(this.O);this.W=new Qzc(this.O,this.va)};_.g=_.Rzc.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.yE(e,a[d].FD));c.push(vyc(e.Lw)?_.zyc(this.ma,e.Lw):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.PB(_.ruc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Jzc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={uqa:e.uqa},k++){e.uqa=a[k].Dv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.uqa)}}(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.Ymb.bind(this,k.Lw,c[e],a[e].FD)).then(null,function(p){return Promise.reject(_.PB(p))}),l.then(this.MLa.bind(this,k),this.MLa.bind(this,k)),b.push(l);return b};_.g.Ymb=function(a,b,c,d){a=this.ta.yE(a,d,c);b&&(c=a.wd?a.wd():[],_.Ayc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.$J=function(){return this.V.some(function(a){return _.eK(a.Lw)})};_.g.MLa=function(a){_.ua(this.V,a)};
_.Szc=function(){};_.Szc.prototype.execute=function(){return null};
var Tzc=function(){};
var Uzc=function(a,b){this.H=a;this.O=b};
_.Vzc=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 Wzc=function(a){return"drive#fileList"===a.kind};
var Xzc;Xzc=function(a){this.H=a};_.$K=function(a,b){if(!_.Ba(b))throw new _.Ac("Expected an object, but got a "+_.lga(b)+".",_.hJ(11,void 0,8));var c=b.kind;if(!c)throw new _.Ac("Expected 'kind' parameter in response: "+JSON.stringify(b),_.hJ(11,void 0,21));if(!a.includes(c))throw new _.Ac("Expected "+a.join(" or ")+" but got a "+c+".",_.hJ(11,void 0,9));};_.aL=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.Yzc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.kvc(new _.Vk,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);c=_.w(c,2,a.canComment);c=_.w(c,3,a.canCopy);b=_.tvc(_.ovc(_.uvc(_.vvc(_.wvc(_.svc(_.rvc(_.nvc(_.mvc(_.lvc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.w(b,13,a.canRenameTeamDrive);b=_.xvc(_.qvc(_.pvc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.Avc(_.zvc(_.yvc(_.w(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);b=_.w(b,49,a.canSetMissingRequiredFields);
b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.Cvc(_.Bvc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.Fvc(_.Evc(_.Dvc(_.w(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),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)};_.bL=function(a,b){_.$K(["drive#user"],b);var c=_.ivc(_.jvc(_.gvc(1).Pb(b.permissionId),b.id).hd(b.displayName),b.emailAddress);b.picture&&c.Mn(b.picture.url);_.PI(a.H)&&_.ivc(c,b.emailAddressFromAccount||b.emailAddress);_.hvc(c,a.Tf(b.id));_.w(c,9,b.domain);return c};Xzc.prototype.Tf=function(a){if(a)return _.tK(_.AI(this.H))==a};
var Zzc,dAc,lAc,rAc,gAc,fAc,iAc,kAc,mAc,aAc,oAc,nAc,pAc,qAc,tAc,uAc,sAc,jAc;Zzc=function(a,b){this.H=a;this.O=b};
_.bAc=function(a,b,c){var d=new _.UK,e=new _.oB,f=e.Vw;_.$K(["drive#fileList","drive#file"],b);var h=[];if("drive#file"===b.kind)(a=_.$zc(a,b))&&h.push(a);else if(Wzc(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.$zc(a,k[l]);h.push(p)}e=f.call(e,h);if(Wzc(b)){_.w(e,8,b.incompleteSearch);_.$K(["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 _.mub).Dc(aAc.get(k.status)),
l=_.w(l,1,k.original),k=_.w(l,3,k.correction),h.push(k);a=new _.qub;h=_.Jj(a,1,h);f.push(h)}q=new _.sub;_.Jj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.oub;_.Hj(r,1,f)}q||r?(f=new _.tub,q&&_.I(f,1,q),r&&_.I(f,2,r),r=f):r=null;_.I(e,7,r);_.$K(["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);_.Hj(e,18,r)}d=_.Byc(d,e);c=_.ouc(c);c=_.w(d,2,c);Wzc(b)&&b.nextPageToken&&_.w(c,
3,b.nextPageToken);return c};
dAc=function(a,b,c,d,e){_.$K(["drive#adminFile","drive#file","drive#revision"],b);var f=_.Owc(new _.dK,c);"drive#adminFile"===b.kind?(_.$K(["drive#adminFile"],b),c=(new _.fl).Pb(b.id),b.parentId&&_.oK(c,[b.parentId]),_.Xvc(c,b.teamDriveId),f.setItem(c),_.Owc(f,c.getId())):"drive#file"===b.kind?(b=_.$zc(a,b),f.setItem(b),c||_.Owc(f,b.getId())):"drive#revision"===b.kind&&(b=_.cAc(a,b),_.I(f,4,b));f.Fca(_.nuc(d));f.wca(_.ouc(d));(d=(d=d&&_.muc(d))&&d["x-server-object-version"])&&e&&(e=(new _.yK).Pb(d),
_.I(f,4,e));f.Dc(1);return f};_.eAc=function(a,b){return _.Owc(new _.dK,a).Dc(1).Fca(_.nuc(b)).wca(_.ouc(b))};
_.hAc=function(a,b){_.$K(["drive#permission"],b);var c=_.hvc(_.jvc(_.gvc(fAc.get(b.type)).Pb(b.id),b.userId),a.H.Tf(b.userId));c=_.w(c,4,b.withLink);c=_.ivc(c.hd(b.name).Mn(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);_.PI(a.O)&&c.hd(b.nameIfNotUser);b.role&&(a=gAc.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};
_.$zc=function(a,b){_.$K(["drive#file"],b);var c=b.title,d=(new _.fl).Pb(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=_.Uvc(_.Qvc(_.zG(_.oK(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.Yl(b.description);_.Rvc(c,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,14,Number(b.fileSize));
_.w(c,30,b.copyable);b.labels&&(d=b.labels,c.Kv(d.starred),_.w(c,6,d.hidden),c.Nn(d.trashed),_.Nvc(c,d.restricted),_.w(c,9,d.viewed));_.w(c,10,_.aL(b.createdDate));_.w(c,69,_.aL(b.serverCreatedDate));_.S8b(c,_.aL(b.modifiedDate));_.w(c,12,_.aL(b.modifiedByMeDate));_.w(c,13,_.aL(b.lastViewedByMeDate));_.w(c,23,_.aL(b.sharedWithMeDate));_.w(c,62,_.aL(b.U$b));_.w(c,70,_.aL(b.recency));b.recencyReason&&(d=iAc.get(b.recencyReason)||0,_.w(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=
_.bL(a.H,e[f]))&&d.push(h);_.Ovc(c,d);b.lastModifyingUser&&(d=_.bL(a.H,b.lastModifyingUser),_.Pvc(c,d));b.userPermission&&(d=gAc.get(b.userPermission.role),_.T8b(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.jK).zh(e.width).yh(e.height),d=_.w(d,4,e.rotation),e.date&&(e=e.date,f=new _.ttc,f.setMilliseconds(0),jAc.parse(e,f),_.w(d,1,f.getTime())),_.I(c,27,d));null!=b.folderColor&&_.Tvc(c,Number(b.folderColor));_.Svc(c,b.subscribed);_.w(c,45,b.fileExtension);_.Hj(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=_.bL(a.H,b.sharingUser),_.Vvc(c,d));b.sources?_.Hj(c,56,b.sources):b.gplusMedia&&_.Hj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.Jqc[h]&&(h=_.lf(new _.kf,_.Jqc[h]),e.push(h));c.HA(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 _.Xna).Pb(k.id),k=kAc.get(k.type),h=_.w(h,2,k),e.push(h))}_.Jj(c,83,e)}b.capabilities&&_.pK(c,_.Yzc(b.capabilities));b.permissionsSummary&&_.Yvc(c,lAc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);b.templateData&&
(d=b.templateData,e=(new _.mK).Yl(d.description),f=mAc.get(d.galleryState),e=_.w(e,3,f),d=_.Hj(e,2,d.category),_.I(c,86,d));_.Xvc(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.bL(a.H,b.creator),_.Zvc(c,d));_.$vc(c,b.primaryDomainName);_.awc(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&_.bwc(c,_.bL(a.H,b.trashingUser));c.Kca(_.aL(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=nAc.get(d),_.w(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.nK).zh(d.width).yh(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.I(c,103,e));_.Hj(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,f=_.Ivc(_.Hvc(new _.Xk,f.readOnly),f.reason),d.push(f);_.Jj(c,125,d)}if(d=b.publishingInfo)_.w(c,118,d.published),
_.w(c,119,d.publishedUrl);_.Hj(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 _.Zna).Pb(f.approvalId).Dc(oAc.get(f.status)),d.push(f);_.Jj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.ioa,e=_.w(e,1,d.targetId),e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),
d.targetLookupStatus&&(f=pAc.get(d.targetLookupStatus)||0,_.w(e,4,f)),d.targetFile&&(d=_.$zc(a,d.targetFile),_.I(e,5,d)),_.I(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.iK,f=qAc.get(d.encryptionState),e=_.w(e,1,f),d.decryptionMetadata&&(d=rAc(d.decryptionMetadata),_.I(e,2,d)),_.I(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.$na,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);_.Hj(c,135,b.authorizedAppIds);_.cwc(c,b.customerId);_.w(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=sAc.get(b.abuseNoticeReason)||0,_.w(c,145,b));_.Buc(c);_.PI(a.O)&&_.Wvc(c,5);return c};
_.cAc=function(a,b){_.$K(["drive#revision"],b);var c=(new _.yK).Pb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.aL(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=_.bL(a.H,b.lastModifyingUser),_.I(c,9,a));b.decryptionMetadata&&(b=rAc(b.decryptionMetadata),_.I(c,10,b));return c};
lAc=function(a,b){return _.Lvc(_.Kvc(_.Jvc(new _.doa,b.entryCount),(b.visibility||[]).map(function(c){var d=_.gvc(fAc.get(c.type));d=_.w(d,9,c.domain);d=_.w(d,4,c.withLink).Pb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=gAc.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 _.hAc(a,c)}))};
rAc=function(a){var b=a.wrappedKey;var c=new _.Gvc;b=b?_.psc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);b=tAc.get(a.aes256GcmChunkSize);c=_.w(c,3,b);b=uAc.get(a.keyFormat);c=_.w(c,6,b);return _.w(c,4,a.jwt)};gAc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);fAc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);iAc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
kAc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);mAc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);aAc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);oAc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);nAc=new Map([["docs",1],["sheets",2],["slides",3]]);pAc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);qAc=new Map([["unencrypted",1],["encrypted",2]]);tAc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
uAc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);sAc=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5]]);jAc=new _.CWa("yyyy:MM:dd HH:mm:ss");
var vAc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var yAc;_.wAc=function(a){this.V=new Xzc(a);this.kF=new Zzc(this.V,a)};_.wAc.prototype.yE=function(a,b,c){c=void 0===c?[]:c;try{return xAc(this,a,b,c)}catch(d){_.jJ(d)}};
var xAc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.qJ)return _.cL(a,b,c);if(b instanceof _.zJ)return yAc(0,c,d);if(b instanceof _.xA||b instanceof _.CJ){if(!c.json)throw _.dL();return _.bAc(a.kF,c.json,c.headers)}if(b instanceof _.ZJ)return _.cL(a,b,c);if("undefined"!=typeof _.Muc&&b instanceof _.Muc){if(!c.json)throw _.dL();a=c.json;return new _.Vzc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.zAc&&b instanceof _.zAc){if(!c.json)throw _.dL();
return _.cAc(a.kF,c.json)}if(b instanceof _.OJ)return yAc(b.ud(),c,d);if(b instanceof Quc){if(b.V){if(!c.json)throw _.dL();a=dAc(a.kF,c.json,null,c.headers,!!b.revisionId)}else a=_.eAc(null,c.headers);return a}if(b instanceof Puc){a=_.muc(c.headers);b=a.location;if(!b)throw a=_.gJ(new _.zc,10),new _.Ac("No upload session URI included.",a);return new vAc(b,_.nuc(a),_.ouc(a))}if(b instanceof _.Uuc)return new Tzc;throw new _.Ac("FromXhrConverter: Unsupported request type.",new _.zc);};
_.wAc.prototype.ha=function(){return null};yAc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new Uzc(_.Naa(b.text),c.length):new Uzc(new Uint8Array(_.Bma(b.text)),c.length)};_.cL=function(a,b,c){if(!c.json){if(b instanceof _.ZI)return _.eAc(_.AAc(b));throw _.dL();}var d=!1;b instanceof _.ZJ&&(d=!!_.y(b.request,12));return dAc(a.kF,c.json,_.AAc(b),c.headers,d)};_.dL=function(){var a=_.gJ(new _.zc,11);return new _.Ac("FromXhrConverter: JSON required, but none found",a)};
_.AAc=function(a){return a.getId?a.getId():a.Ac?a.Ac():null};
var EAc,FAc,HAc,BAc,IAc,CAc;
EAc=function(a,b){var c={};_.ve(_.Ug(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Ac()&&_.lfa(a.getMimeType())&&b)){var d=b.f$(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Aj(b.V()),h.kaclsId=b.ha(),h.aes256GcmChunkSize=BAc[d?d.O():0],h.keyFormat=CAc[e?e.O():0],h);c.clientEncryptionDetails=f}_.DAc(c,_.de(a,3));(b=a.Ac())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));a.C1()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.C1());"number"===typeof _.y(a,26)&&(c.modifiedDate=_.mwc(_.exc(_.y(a,26)||0)));return c};_.DAc=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)}}};FAc={};_.GAc=(FAc[1]="active",FAc[2]="archived",FAc);HAc={};BAc=(HAc[0]="unset",HAc[1]="default",HAc[2]="small",HAc[3]="size16kb",HAc);IAc={};CAc=(IAc[0]="unsetKeyFormat",IAc[1]="tinkKeyset",IAc[2]="tinkAesGcmKey",IAc);
var LAc=function(a,b,c){return(a.eQ?a.eQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return Yyc(d)}).then(function(d){return JAc(a,b,d,c)},KAc)},JAc=function(a,b,c,d){var e=!!_.y(a.request,12),f="files";e&&(f+="/"+_.y(a.request,12));f=new _.jj(f);_.qj(f,"uploadType","multipart");_.qj(f,"supportsTeamDrives",!0);_.qj(f,"pinned",!!_.Q(a.request,13,!1));null!=_.P(a.request,8)&&_.qj(f,"convert",_.P(a.request,8));_.qj(f,"fields",_.wuc({fields:_.BK(b).filter(function(q){return 194!=q}),Aq:!1}));
Cuc(f,a.request.ue());var h=EAc(a.request,a.metadata),k=_.Vg();b={};b=(b["content-type"]=_.Ft('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());_.hK(d,_.Uj(a.request,_.Hl,28),[],null,b);a="--"+k;a=a+"\r\n"+Duc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+Duc(p)+"\r\n"+c+"\r\n"+
a+"--";return{an:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},KAc=function(a){if(a instanceof _.eKb){var b=new _.zc;_.lq(b,"fs.Error: "+a.message);a=(a=a.name)?_.fFa.get(a)||25:38;_.gJ(b,a);b=_.PB(b)}else b=_.iJ(a);return Promise.reject(b)};
_.eL=function(a,b,c,d){this.H=a;this.Lg=b;this.O=c;this.Od=d;this.ka=_.fK(a)||new _.ewc};_.eL.prototype.yE=function(a,b){try{return a.Lw instanceof _.ZJ?LAc(a.Lw,this.Lg,this.H):Promise.resolve(this.V(a.Lw,a.config,b))}catch(c){return c instanceof _.Ac?a=c.Sg:(a=new _.zc,_.lq(a,"Error converting XHR: "+c.message),_.mq(a,c.stack),_.gJ(a,4)),Promise.reject(a)}};
_.eL.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.qJ){h=(e=!!_.y(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.y(a,12),k.pinned=!!_.Q(a,13,!1));null!=_.P(a,8)&&(k.convert=_.P(a,8));k.fields=_.wuc({fields:this.Mg(c),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)});e=EAc(a);f["content-type"]="application/json";var r=a.ue();p=!0;_.AK(k);_.MAc(this.H,k);_.hK(this.H,_.Uj(a,_.Hl,28),_.de(a,3).concat([_.y(a,16),a.C1(),a.Ac()]),this.O,f)}else if(a instanceof _.zJ||a instanceof
_.OJ)a instanceof _.OJ?(l=a.ud(),_.Bj(a,2)&&(q="bytes="+_.y(a,2)+"-",_.Bj(a,3)&&(q+=_.y(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.y(l,2)&&(k.revisionId=_.y(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.hK(this.H,[_.Il((new _.Hl).Pb(l.getId()),_.y(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.CJ||a instanceof _.xA){if(a instanceof _.CJ)q=_.y(a,1),a=_.B(a,_.xA,2);else if(a instanceof _.xA)q=0,_.RK(this.Od,190196159);else throw Error("bg");p=a.qn()[q];q="files/"+
p;r=_.wa(this.Mg(c),this.Mg(c,a.O()));_.Da(r);k.fields=_.wuc({fields:r,Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)});_.AK(k);_.NAc(this.H,k);_.OAc(this.H,k);this.W(p,k);r=a.ue();p=!0;_.P(a,7)&&(b.EBa=!0);_.hK(this.H,_.Uj(a,_.Hl,11),a.qn(),this.O,f)}else if("undefined"!=typeof _.Muc&&a instanceof _.Muc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.zAc&&a instanceof _.zAc)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 Quc){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?_.Ft("bytes %d-%d/%d",v,b,b+1):_.Ft("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof Puc?(d=2,h=(e=!!_.y(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.y(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=_.wuc({fields:this.Mg(c).filter(function(z){return 194!=
z}),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)}),_.AK(k),e=EAc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.hK(this.H,[],_.de(a.request,3),this.O,f),r=a.request.ue(),p=!0):a instanceof _.Uuc?(q="about",k.fields="kind",r=a.H,p=!0):_.PAc(a);p&&_.QAc(c,k);0!=d||l||r&&_.y(r,1)||_.RK(this.Od,74438989);return _.RAc(this,d,q,k,f,h,r,e,v)};
_.RAc=function(a,b,c,d,e,f,h,k,l){c=new _.jj(c);[10,12,13].includes(b)||Cuc(c,h);_.Q(a.ka,11,!1)&&(a=a.H.Wi())&&(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,_.rj(c,a,h);return{an:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.NAc=function(a,b){_.Q(a.hg(),23,!1)&&(b.includePermissionsForView="published")};_.eL.prototype.W=function(){};
_.OAc=function(a,b){_.Q(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.MAc=function(a,b){_.Q(a,3,!1)&&(b.enforceSingleParent=!0)};_.QAc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).JQb):b.retryCount=0};_.eL.prototype.Mg=function(a,b){b||(b=_.BK(this.Lg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return Mwc.includes(c)}));return b};_.PAc=function(a){var b=_.gJ(new _.zc,4);throw new _.Ac("ToXhrConverter: Unsupported request type: "+Wuc(a),b);};
_.fL=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.ta=f;this.kj={};this.ha={};this.Od=null;_.Oe(this,function(){h.cG()})};_.K(_.fL,_.Ci);_.fL.prototype.jQ=function(){return _.HI()};
_.fL.prototype.upload=function(a,b,c,d){yyc(this.V,"UploadTotalCount");var e=a.ij();if(e&&this.kj[e])throw new _.Ac("Upload requested with a duplicate request ID.");var f=_.de(a,10);if(f&&f.length){if(1!==f.length)throw new _.Ac("Multi-parented uploads are not supported.");var h=this.kj[f[0]];if(!h)throw new _.Ac("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);e||(e=this.jQ(),_.w(a,9,e));a=a.clone();f=SAc(this,e);this.kj[e]={request:a,
file:b,If:f,zM:!1,Au:0,success:!1,xE:!1,children:[],metadata:c,gla:void 0,eQ:d};h?TAc(this,e,h):this.ka(e);return f.en()};
var SAc=function(a,b){var c=new _.di;c.lg(_.Eb(a.Fa,b),_.Eb(a.Ha,b),a);return c},TAc=function(a,b,c,d){var e=a.kj[b];c.children.push(b);_.Da(c.children);c.If.then(function(f){if(1===f.Bb()&&(f=f.Ac(),_.de(e.request,3).push(f),_.EI(e.request,10),!c.xE||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.If.Id(_.OI(f)?f:Error(f))})};
_.fL.prototype.Fa=function(a,b){yyc(this.V,"UploadSuccessCount");a=this.kj[a];a.success=1===b.Bb();(b=a.gla)&&!a.xE&&(Ewc(Gwc(vxc(b),a.Au),!0),b.xj())};_.fL.prototype.Ha=function(a,b){var c=_.B(this.O,_.fJ,58);c&&_.Q(c,1,!1)&&(this.ha[a]=b);yyc(this.V,"UploadFailureCount");c=this.kj[a];(a=c.gla)&&!c.xE&&(Ewc(Gwc(vxc(a),c.Au),!1),b=(c=b&&b.Sg)&&c.zk(),c=c&&c.Ip(),b?Fwc(vxc(a),UAc.get(b)||13):c&&Fwc(vxc(a),VAc.get(c)||0),a.xj())};
_.fL.prototype.ka=function(a){var b=this.kj[a];if(!b.zM){b.zM=!0;a=this.kj[a];var c=a.request,d=_.B(this.O,_.fJ,58);d&&_.Q(d,4,!1)&&(d=c.getTitle().match(WAc))&&(!d[1]||a.Au<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.de(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Oz())?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.hg();d=_.Zj(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.ta&&3!==d){var f=this.ta.H(106012);if(f){b.gla=f;f=vxc(f);f=_.w(f,1,2===d?2:1);f=_.w(f,4,!!b.metadata);
var h=!!_.y(a,12);f=_.w(f,5,h);e=_.w(f,6,e);c=_.Zj(c,32,1073741824);_.w(e,7,c)}}switch(d){case 2:b.file&&XAc(this,new _.Ruc(a,b.file,b.eQ,b.metadata),b.If,a.ij());break;case 1:b.file&&(c=b.If,d=b.file,e=b.metadata,b=b.eQ,f=_.B(this.O,_.dwc,2),XAc(this,new _.ZJ(a,d,b,f&&_.qK(f)?e:void 0),c,a.ij()));break;case 3:XAc(this,a,b.If,a.ij());break;default:throw new _.Ac("Upload type ${uploadType} not supported.");}}};
var XAc=function(a,b,c,d){myc(a.Ba,d,a.ma.bind(a,d));_.ci(a.W.then(function(e){return e.Re(b,{requestId:d})}).then(null,function(e){return YAc(a,b,e)}),function(){nyc(a.Ba,[d])}).then(c.callback,c.Id,c)},YAc=function(a,b,c){var d=_.PB(c),e=b instanceof _.ZJ&&b.request.Ac()||"";c=d.Sg;if(e&&8===c.zk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.zA(new _.xA,[e]);return _.ji(a.W.then(function(h){return h.Re(f)}).then(function(h){h=h.jd().wd()[0];var k=b.request;if(h&&!h.Xh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.Owc((new _.dK).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Zh(d)}))}return _.ki(d)};_.g=_.fL.prototype;
_.g.cancel=function(a){var b=this,c=this.kj[a];if(c&&(!c.xE||0!==c.children.length))if(c.xE=!0,c.If.jg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ia(c.children,this.cancel,this);else{var d=c.gla;d&&(Fwc(Ewc(Gwc(vxc(d),c.Au),!1),2),d.xj());var e=_.bi();c.zM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.zM=!0,c.If.callback(Xuc(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;_.La(this.kj,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.kj[f]){var h=[];do{h.push(f);var k=(_.de(b.kj[f].request,10)||[])[0];if(k){var l=b.kj[k];if(l.success||!l.If.jg()||e[k])break;else if(!c.has(k)){e[f]=new _.Ac("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ja(h,function(p){var q=b.kj[p];q.Au++;if(!e[p])if(!q.If.jg()||q.success)e[p]=new _.Ac("Unable to retry request.");else{var r=(_.de(q.request,10)||[])[0];e[r]instanceof _.Ac?
e[p]=e[r]:(q.If=SAc(b,p),q.zM=!1,q.xE=!1,(r=r?b.kj[r]:null)?TAc(b,p,r,!0):d.push(p),e[p]=q.If.en())}})}else e[f]=new _.Ac("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.di?f:_.ki(f)});_.Ia(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.ud=function(a){return this.kj[a]};var WAc=/^uploadTestFailMe(\.[1-9])?$/,VAc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),UAc=new Map([[3,14]]);

_.u();

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


_.u();

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


_.u();

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


_.u();

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

_.ZAc=function(a,b){return _.w(a,1,b)};_.$Ac=function(a,b){return _.I(a,1,b)};_.aBc=function(a,b){return _.w(a,2,b)};_.bBc=function(a,b){return _.I(a,3,b)};

_.u();

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


_.u();

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

var cBc,dBc;cBc=[1];_.gL=function(a){_.J.call(this,a,-1,cBc)};_.K(_.gL,_.J);_.gL.prototype.O=function(){return _.de(this,1)};_.hL=function(a){_.J.call(this,a,-1,dBc)};_.K(_.hL,_.J);_.hL.prototype.Bb=function(){return _.y(this,1)};_.hL.prototype.Dc=function(a){return _.w(this,1,a)};_.hL.prototype.Oi=function(){return _.Uj(this,_.fl,2)};_.eBc=function(a,b){return _.Jj(a,2,b)};_.hL.prototype.zq=function(a,b){return _.Wj(this,2,a,_.fl,b)};_.hL.prototype.dg=function(){return _.y(this,4)};
_.fBc=function(a,b){return _.w(a,4,b)};dBc=[2];

_.u();

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

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

_.u();

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

var gBc;_.hBc=function(a){return _.Ge(a).Mg(_.Q(a.get(_.fp),19,!1)?gBc:_.Ee)};gBc=[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("sy1h9");

var iBc,jBc,kBc,lBc,mBc,oBc,pBc,qBc,rBc,sBc,uBc,vBc,wBc,xBc,yBc,lL,DBc,EBc,nL,oL,FBc,GBc,IBc,JBc,KBc,LBc,MBc,OBc,PBc,QBc,RBc,SBc,TBc,UBc,WBc,YBc,eCc,gCc,jCc,kCc,nCc,qCc,sL,rCc,sCc,tCc,uCc,vCc,wCc,xCc,yCc,zCc,CCc,BCc,FCc,HCc,JCc,LCc,PCc,RCc,SCc,TCc,UCc,VCc,WCc,$Cc,bDc,cDc,dDc,jL,eDc,fDc,ABc,zBc,BBc,CBc,CEc,wL,yL,IEc,TEc,WEc,XEc,YEc,aFc,bFc,ACc,EFc,FFc,GFc,HFc,JFc,KFc,LFc,MFc,zL,NFc,AL,OFc,PFc,QFc,RFc,SFc,TFc,BL,UFc,VFc,WFc,XFc,YFc,ZFc,CL,cGc,dGc,eGc,fGc,nBc,gGc,hGc,iGc,lGc,qHc,rHc,tHc,uHc,wHc,xHc,
yHc,zHc,CHc,EHc,OHc,XIc,aCc,YIc,ZIc,$Ic,cJc,jJc,kJc,xNc,yNc,GNc,QNc,ZNc,gOc,mOc,tOc,vOc,AOc,GOc;iBc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.de(a,3),Convert:_.P(a,8),ID:a.ij()};var b=[];_.La(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
jBc=function(a){var b=[];b.push(iBc(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.Au&&b.push("# of retries by client: "+a.Au);var d="";a.zM?a.If.jg()?a.If.lg(function(){d="Completed successfully."},function(e){d=e instanceof _.ei?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
kBc=function(a,b,c,d,e,f){var h=_.Ft("Drive Upload Report: %d/%d failed",_.Pa(f),_.Pa(e));a=a.hg();d.push("Batch query interval: "+_.Zj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Zj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Zj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Zj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Zj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.La(e,function(p){l.push(jBc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.bxc(b)});_.La(f,function(p,q){var r=k.push;q=e[q].request;q=_.Ft('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.ij()||"");var v=p.Sg;v=v?_.y(v,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+v})});return{title:h,description:d,RP:k,od:152391,Q8:c,b0:361003}};lBc=function(a){return Array.prototype.concat.apply([],arguments)};mBc=function(a,b,c){c=_.Fa(a,b,c);return 0>c?(_.Aa(a,-(c+1),0,b),!0):!1};
oBc=function(a,b){var c=new _.gL,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.h8a.get(b.sv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}nBc(c,[].concat(_.xd(d)));return c};
pBc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Dea:c.Dea},d=a.next())if(d=d.value){c.Dea=new Map;[].concat(_.xd(_.gl(d)),[d.zm(),d.St(),d.Iq()]).forEach(function(p){return function(q){q&&p.Dea.set(jL(q),q)}}(c));for(var e=[],f=_.m(c.Dea.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(jL(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Rk(h))}b.push(d.getId()+","+d.sv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};qBc=function(a){var b=new _.Vo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.kJ(a,!0,"file"));a.W6&&(b.append(",teamDriveId,teamDrive("),b.append(a.W6),b.append(")"));b.append(")");return b.toString()};rBc=function(a){var b=new _.Vo;b.append("kind,nextPageToken,items(");b.append(_.kJ(a,!0));b.append("),incompleteSearch");a.W6&&(b.append(","),b.append(a.W6));return b.toString()};
sBc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.B(d,_.iK,138),k=_.B(d,_.Xk,111),l=_.B(d,_.jK,27),p=_.ml(d),q=d.Hf(),r=d.ig(),v=_.B(d,_.nK,103);switch(e){case 227:_.qb(d,144);break;case 228:_.qb(d,145);break;case 74:_.Kj(d,83);break;case 188:_.qb(d,137);break;case 149:_.EI(d,128);break;case 148:_.Kj(d,127);break;case 138:_.qb(d,126);break;case 184:_.EI(d,135);break;case 76:f&&_.qb(f,1);break;case 223:f&&_.qb(f,54);break;case 208:f&&_.qb(f,48);break;case 185:f&&
_.qb(f,40);break;case 224:f&&_.qb(f,55);break;case 213:f&&_.qb(f,50);break;case 156:f&&_.qb(f,39);break;case 61:f&&_.qb(f,2);break;case 216:f&&_.qb(f,52);break;case 217:f&&_.qb(f,53);break;case 77:f&&_.qb(f,4);break;case 134:f&&_.qb(f,34);break;case 147:f&&_.qb(f,38);break;case 81:f&&_.qb(f,10);break;case 82:f&&_.qb(f,11);break;case 114:f&&_.qb(f,27);break;case 133:f&&_.qb(f,33);break;case 202:f&&_.qb(f,47);break;case 132:f&&_.qb(f,32);break;case 101:f&&_.qb(f,20);break;case 201:f&&_.qb(f,46);break;
case 131:f&&_.qb(f,31);break;case 200:f&&_.qb(f,45);break;case 130:f&&_.qb(f,30);break;case 93:f&&_.qb(f,17);break;case 191:f&&_.qb(f,44);break;case 146:f&&_.qb(f,37);break;case 90:f&&_.qb(f,16);break;case 78:f&&_.qb(f,7);break;case 186:f&&_.qb(f,41);break;case 222:f&&_.qb(f,51);break;case 85:f&&_.qb(f,12);break;case 137:f&&_.qb(f,36);break;case 209:f&&_.qb(f,49);break;case 79:f&&_.qb(f,8);break;case 189:f&&_.qb(f,42);break;case 190:f&&_.qb(f,43);break;case 80:f&&_.qb(f,9);break;case 135:f&&_.qb(f,
35);break;case 102:f&&_.qb(f,21);break;case 69:_.qb(d,74);break;case 194:h&&_.Ij(h,2);break;case 193:h&&_.qb(h,1);break;case 1004:_.qb(d,108);break;case 136:_.Kj(d,125);break;case 115:k&&_.qb(k,1);break;case 116:k&&_.qb(k,2);break;case 34:_.qb(d,30);f&&_.qb(f,3);break;case 9:_.qb(d,10);break;case 91:_.Ij(d,91);break;case 43:_.qb(d,42);_.qb(d,43);break;case 187:_.qb(d,136);break;case 26:_.qb(d,24);break;case 108:_.EI(d,104);break;case 41:_.qb(d,40);f&&_.qb(f,5);break;case 42:_.qb(d,41);break;case 1005:_.Kj(d,
117);break;case 59:f&&_.qb(f,6);break;case 28:_.qb(d,26);break;case 44:_.qb(d,45);break;case 13:_.qb(d,14);break;case 48:_.qb(d,36);break;case 38:_.qb(d,34);break;case 49:_.EI(d,50);break;case 51:_.qb(d,53);break;case 104:_.qb(d,102);break;case 39:_.qb(d,35);break;case 87:_.qb(d,76);break;case 100:_.qb(d,98);break;case 72:_.qb(d,78);break;case 5:_.qb(d,6);break;case 20:_.qb(d,21);break;case 21:break;case 29:l&&_.qb(l,1);break;case 31:l&&_.qb(l,3);break;case 92:l&&_.qb(l,4);break;case 30:l&&_.qb(l,
2);break;case 16:_.Ij(d,17);break;case 12:_.qb(d,13);break;case 211:p&&_.qb(p,2);break;case 212:p&&_.qb(p,3);break;case 220:p&&_.qb(p,5);break;case 157:r&&_.Kj(r,8);break;case 3:_.qb(d,4);break;case 11:_.qb(d,12);break;case 10:_.qb(d,11);break;case 50:_.qb(d,49);_.qb(d,51);_.Ij(d,81);break;case 18:_.qb(d,19);break;case 95:_.qb(d,93);break;case 58:_.qb(d,63);break;case 14:_.Kj(d,15);break;case 103:_.qb(d,101);break;case 1:_.EI(d,2);break;case 96:_.qb(d,94);break;case 1003:_.Kj(d,107);break;case 75:_.Ij(d,
85);break;case 94:_.qb(d,92);break;case 45:_.qb(d,46);break;case 124:_.qb(d,118);break;case 125:_.qb(d,119);break;case 1002:_.Ij(d,100);break;case 32:_.qb(d,28);break;case 67:_.qb(d,70);break;case 68:_.qb(d,71);break;case 73:_.qb(d,79);break;case 71:_.qb(d,77);break;case 221:r&&_.qb(r,9);break;case 210:_.qb(d,140);break;case 7:_.qb(d,8);break;case 122:_.Ij(d,109);break;case 66:_.qb(d,69);break;case 33:_.qb(d,29);break;case 24:_.qb(d,22);break;case 25:_.qb(d,23);break;case 46:_.Ij(d,47);break;case 192:q&&
_.qb(q,6);break;case 159:q&&_.Ij(q,5);break;case 154:q&&_.qb(q,1);break;case 158:q&&_.qb(q,4);break;case 155:q&&_.qb(q,3);break;case 52:_.EI(d,56);break;case 56:_.qb(d,61);break;case 55:_.Kj(d,60);break;case 4:_.qb(d,5);break;case 35:_.qb(d,31);break;case 57:_.qb(d,62);break;case 83:_.qb(d,72);break;case 84:_.Ij(d,86);break;case 19:_.qb(d,20);_.qb(d,44);_.qb(d,90);break;case 2:_.qb(d,3);break;case 6:_.qb(d,7);break;case 98:_.qb(d,96);break;case 97:_.Ij(d,95);break;case 27:_.qb(d,25);break;case 70:_.qb(d,
75);break;case 107:v&&_.qb(v,3);break;case 106:v&&_.qb(v,2);break;case 105:v&&_.qb(v,1);break;case 8:_.qb(d,9);break;case 126:_.EI(d,120);break;default:throw Error("Qc`"+e);}}};uBc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.xd(a),_.xd(tBc)));a=[].concat(_.xd(_.Deb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)sBc(b[d],a)}};
vBc=function(a,b){var c=a.getCapabilities()||new _.Vk,d=_.B(a,_.iK,138),e=_.B(a,_.Xk,111),f=_.B(a,_.jK,27),h=_.ml(a),k=a.Hf(),l=a.ig(),p=_.B(a,_.nK,103);switch(b){case 227:return null!=_.P(a,144);case 228:return null!=_.y(a,145);case 74:return 0<a.eu().length;case 188:return null!=_.P(a,137);case 149:return 0<_.de(a,128).length;case 148:return 0<a.Kya().length;case 138:return null!=a.a9();case 184:return 0<_.de(a,135).length;case 76:return null!=_.Wk(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!=_.Ce(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!=_.B(d,_.Gvc,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.P(a,108);case 136:return 0<a.R0().length;case 115:return null!=e&&null!=_.P(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.P(a,30)||null!=_.P(c,3);case 9:return null!=a.WC();
case 91:return null!=a.Iq();case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=a.zj();case 26:return null!=a.Cf();case 108:return 0<_.de(a,104).length;case 41:return null!=_.P(c,5);case 42:return null!=_.y(a,41);case 1005:return 0<_.ll(a).length;case 59:return null!=_.P(c,6);case 28:return null!=a.EI();case 44:return null!=_.y(a,45);case 13:return null!=a.RL();case 48:return null!=_.P(a,36);case 38:return null!=a.Yi();case 49:return 0<_.de(a,50).length;case 51:return null!=_.P(a,
53);case 104:return null!=_.P(a,102);case 39:return null!=a.Lja();case 87:return null!=_.il(a);case 100:return null!=_.P(a,98);case 72:return null!=_.y(a,78);case 5:return null!=_.P(a,6);case 20:return null!=a.qf();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==_.y(f,3));case 92:return!(!f||null==_.y(f,4));case 30:return!(!f||null==f.Fe());case 16:return null!=a.zm();case 12:return null!=a.oz();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||!_.Uj(l,_.dl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.tB();case 10:return null!=a.yq();case 50:return null!=_.P(a,49)||null!=_.P(a,51)||null!=a.Sm();case 18:return null!=a.Jp();case 14:return 0<_.gl(a).length;case 95:return null!=a.jm();case 58:return null!=_.P(a,63);case 103:return null!=_.y(a,101);case 1:return 0<a.wk().length;case 96:return null!=_.P(a,94);case 1003:return 0<_.kl(a).length;case 75:return null!=
a.$v();case 94:return null!=a.aN();case 45:return null!=a.Dw();case 124:return null!=_.P(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.jl(a);case 32:return null!=a.Tu();case 67:return null!=a.PJ();case 68:return null!=_.y(a,71);case 73:return null!=_.y(a,79);case 71:return null!=a.t1();case 221:return null!=l&&null!=_.P(l,9);case 210:return null!=_.nl(a);case 7:return null!=a.I6();case 122:return null!=_.kL(a);case 66:return null!=_.y(a,69);case 33:return null!=_.P(a,29);case 24:return null!=
a.Kj();case 25:return null!=a.Ay();case 46:return null!=a.St();case 192:return null!=k&&null!=_.P(k,6);case 159:return null!=k&&null!=_.ie(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.ke(k);case 155:return null!=k&&null!=_.y(k,3);case 52:return 0<_.de(a,56).length;case 55:return 0<a.AB().length;case 56:return null!=_.y(a,61);case 4:return null!=a.dB();case 35:return null!=_.P(a,31);case 57:return null!=_.y(a,62);case 83:return null!=a.yc();case 84:return null!=_.B(a,
_.mK,86);case 2:return null!=a.getTitle();case 19:return null!=a.Wx()||null!=_.P(a,44)||null!=_.y(a,90);case 6:return null!=a.Xh();case 98:return null!=a.aw();case 97:return null!=a.jD();case 27:return null!=a.Yo();case 70:return null!=a.jj();case 107:return null!=p&&null!=_.y(p,3);case 106:return null!=p&&null!=_.y(p,2);case 105:return null!=p&&null!=p.Fe();case 8:return null!=_.P(a,9);case 126:return 0<_.de(a,120).length;default:throw Error("Rc`"+b);}};
wBc=function(a,b){return b.every(function(c){return vBc(a,c)})};xBc=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)})};yBc=function(a,b){var c=new Set(b.concat(_.vuc));return a.filter(function(d){return!c.has(d)})};
lL=function(a,b,c){var d,e;b=b.clone();for(var f=b.getCapabilities(),h=_.m(c),k=h.next();!k.done;k=h.next()){var l=k.value;if(vBc(b,l))if(_.Heb.has(l)){if(f){var p=a.getCapabilities()||new _.Vk;_.pK(a,p);switch(l){case 76:_.kvc(p,_.Wk(f));break;case 223:var q=_.P(f,54);_.w(p,54,q);break;case 208:_.Fvc(p,_.P(f,48));break;case 185:var r=_.P(f,40);_.w(p,40,r);break;case 224:var v=_.P(f,55);_.w(p,55,v);break;case 213:var z=_.P(f,50);_.w(p,50,z);break;case 156:var A=_.P(f,39);_.w(p,39,A);break;case 61:var C=
_.P(f,2);_.w(p,2,C);break;case 216:var E=_.P(f,52);_.w(p,52,E);break;case 217:var H=_.P(f,53);_.w(p,53,H);break;case 77:_.lvc(p,_.P(f,4));break;case 134:var L=_.P(f,34);_.w(p,34,L);break;case 147:var O=_.P(f,38);_.w(p,38,O);break;case 81:_.rvc(p,_.P(f,10));break;case 82:_.svc(p,_.P(f,11));break;case 114:var R=_.P(f,27);_.w(p,27,R);break;case 133:_.Avc(p,_.P(f,33));break;case 202:_.Evc(p,_.P(f,47));_.zvc(p,_.P(f,32));break;case 132:_.zvc(p,_.P(f,32));break;case 101:_.wvc(p,_.P(f,20));break;case 201:_.Dvc(p,
_.P(f,46));break;case 131:_.yvc(p,_.P(f,31));break;case 200:var U=_.P(f,45);_.w(p,45,U);break;case 130:var ka=_.P(f,30);_.w(p,30,ka);break;case 93:_.vvc(p,_.P(f,17));break;case 191:var ha=_.P(f,44);_.w(p,44,ha);break;case 146:var ta=_.P(f,37);_.w(p,37,ta);break;case 90:_.uvc(p,_.Ce(f));break;case 78:_.ovc(p,_.P(f,7));break;case 186:var fa=_.P(f,41);_.w(p,41,fa);break;case 222:var Ra=_.P(f,51);_.w(p,51,Ra);break;case 85:_.tvc(p,_.P(f,12));break;case 137:var Ka=_.P(f,36);_.w(p,36,Ka);break;case 209:var ob=
_.P(f,49);_.w(p,49,ob);break;case 79:_.pvc(p,_.P(f,8));break;case 189:_.Bvc(p,_.P(f,42));break;case 190:_.Cvc(p,_.P(f,43));break;case 80:_.qvc(p,_.P(f,9));break;case 135:var Ya=_.P(f,35);_.w(p,35,Ya);break;case 102:_.xvc(p,_.P(f,21));break;case 34:var Fb=_.P(b,30);_.w(a,30,Fb);var bc=_.P(f,3);_.w(p,3,bc);break;case 41:var Bc=_.P(b,40);_.w(a,40,Bc);_.mvc(p,_.P(f,5));break;case 59:_.nvc(p,_.P(f,6))}}}else if(_.Ieb.has(l)){var Cd=_.B(b,_.iK,138);if(Cd){var Wd=_.B(a,_.iK,138)||new _.iK;_.I(a,138,Wd);
switch(l){case 194:var Kd=_.B(Cd,_.Gvc,2);_.I(Wd,2,Kd);break;case 193:var rf=_.y(Cd,1);_.w(Wd,1,rf)}}}else if(_.Jeb.has(l)){var td=_.B(b,_.Xk,111);if(td){var Cb=_.B(a,_.Xk,111)||new _.Xk;_.I(a,111,Cb);switch(l){case 115:_.Hvc(Cb,_.P(td,1));break;case 116:_.Ivc(Cb,_.y(td,2))}}}else if(_.Keb.has(l)){var ne=_.B(b,_.jK,27);if(ne){var Wg=_.B(a,_.jK,27)||new _.jK;_.I(a,27,Wg);switch(l){case 29:var se=_.y(ne,1);_.w(Wg,1,se);break;case 31:Wg.yh(_.y(ne,3));break;case 92:var li=_.y(ne,4);_.w(Wg,4,li);break;
case 30:Wg.zh(ne.Fe())}}}else if(_.Leb.has(l)){var Xi=_.ml(b);if(Xi){var vf=_.ml(a)||new _.$na;_.I(a,139,vf);switch(l){case 211:var Ck=_.P(Xi,2);_.w(vf,2,Ck);break;case 212:var Vh=_.P(Xi,3);_.w(vf,3,Vh);break;case 220:var Tf=_.P(Xi,5);_.w(vf,5,Tf)}}}else if(_.Meb.has(l)){var Xd=b.Hf();if(Xd){var Xg=a.Hf()||new _.ioa;_.I(a,132,Xg);switch(l){case 192:var Nh=_.P(Xd,6);_.w(Xg,6,Nh);break;case 159:var xi=_.ie(Xd);_.I(Xg,5,xi);break;case 154:var Zk=_.y(Xd,1);_.w(Xg,1,Zk);break;case 158:var Zn=_.ke(Xd);
_.w(Xg,4,Zn);break;case 155:var zm=_.y(Xd,3);_.w(Xg,3,zm)}}}else if(_.Neb.has(l)){var Dh=b.ig();switch(l){case 157:if(Dh){var $k=a.ig()||new _.goa;zBc(a,$k);ABc($k,_.Uj(Dh,_.dl,8))}break;case 221:if(Dh){var hk=a.ig()||new _.goa;zBc(a,hk);var Yg=_.P(Dh,9);_.w(hk,9,Yg)}}}else if(_.Oeb.has(l)){var Nj=_.B(b,_.nK,103);if(Nj){var sj=_.B(a,_.nK,103)||new _.nK;_.I(a,103,sj);switch(l){case 107:var ik=_.y(Nj,3);_.w(sj,3,ik);break;case 106:sj.yh(_.y(Nj,2));break;case 105:sj.zh(Nj.Fe())}}}else switch(l){case 227:var Wh=
_.P(b,144);_.w(a,144,Wh);break;case 228:var Oj=_.y(b,145);_.w(a,145,Oj);break;case 74:var Pj=b.eu();_.Jj(a,83,Pj);break;case 188:var tj=_.P(b,137);_.w(a,137,tj);break;case 149:var jk=_.de(b,128);_.Hj(a,128,jk);break;case 148:var ai=b.Kya();_.Jj(a,127,ai);break;case 138:var Am=b.a9();_.w(a,126,Am);break;case 184:var Qj=_.de(b,135);_.Hj(a,135,Qj);break;case 69:var kk=_.P(b,74);_.w(a,74,kk);break;case 1004:var Al=_.P(b,108);_.w(a,108,Al);break;case 136:var Rj=b.R0();_.Jj(a,125,Rj);break;case 9:var xn=
b.WC();_.w(a,10,xn);break;case 91:_.Zvc(a,b.Iq());break;case 43:var al=_.y(b,42);_.w(a,42,al);var bl=_.y(b,43);_.w(a,43,bl);break;case 187:_.cwc(a,b.zj());break;case 26:a.Yl(b.Cf());break;case 108:var Af=_.de(b,104);_.Hj(a,104,Af);break;case 42:var Sj=_.y(b,41);_.w(a,41,Sj);break;case 1005:var dm=_.ll(b);_.Jj(a,117,dm);break;case 28:_.Rvc(a,b.EI());break;case 44:var Bl=_.y(b,45);_.w(a,45,Bl);break;case 13:var em=b.RL();_.w(a,14,em);break;case 48:var qc=_.P(b,36);_.w(a,36,qc);break;case 38:_.Tvc(a,
b.Yi());break;case 49:var Tj=_.de(b,50);_.Hj(a,50,Tj);break;case 51:var Oh=_.P(b,53);_.w(a,53,Oh);break;case 104:var lk=_.P(b,102);_.w(a,102,lk);break;case 39:var Ph=b.Lja();_.w(a,35,Ph);break;case 87:var mi=_.il(b);_.w(a,76,mi);break;case 100:var eg=_.P(b,98);_.w(a,98,eg);break;case 72:var Dk=_.y(b,78);_.w(a,78,Dk);break;case 5:var Ep=_.P(b,6);_.w(a,6,Ep);break;case 20:var Qh=b.qf();_.w(a,21,Qh);break;case 21:a.Pb(b.getId());break;case 16:_.Pvc(a,b.zm());break;case 12:var Eh=b.oz();_.w(a,13,Eh);
break;case 3:_.zG(a,b.getMimeType());break;case 11:var yn=b.tB();_.w(a,12,yn);break;case 10:_.S8b(a,b.yq());break;case 50:var uj=_.P(b,49);_.w(a,49,uj);var zn=_.P(b,51);_.w(a,51,zn);var fm=b.Sm();_.I(a,81,fm);break;case 95:_.awc(a,b.jm());break;case 18:_.Qvc(a,b.Jp());break;case 58:var Ek=_.P(b,63);_.w(a,63,Ek);break;case 14:_.Ovc(a,_.gl(b));break;case 1:_.oK(a,b.wk());break;case 96:var Bm=_.P(b,94);_.w(a,94,Bm);break;case 103:var Oo=_.y(b,101);_.w(a,101,Oo);break;case 1003:BBc(a,_.kl(b));break;case 75:_.Yvc(a,
b.$v());break;case 94:_.$vc(a,b.aN());break;case 45:var Fp=b.Dw();_.w(a,46,Fp);break;case 124:var pr=_.P(b,118);_.w(a,118,pr);break;case 125:var Nm=_.y(b,119);_.w(a,119,Nm);break;case 1002:var km=_.jl(b).clone();(null===(d=_.jl(a))||void 0===d?0:_.P(d,3))&&_.w(km,3,!0);(null===(e=_.jl(a))||void 0===e?0:_.P(e,4))&&_.w(km,4,!0);_.I(a,100,km);break;case 32:var rk=b.Tu();_.w(a,28,rk);break;case 67:var cp=b.PJ();_.w(a,70,cp);break;case 68:var Rp=_.y(b,71);_.w(a,71,Rp);break;case 73:var Kq=_.y(b,79);_.w(a,
79,Kq);break;case 71:var Mr=b.t1();_.w(a,77,Mr);break;case 210:var ku=_.nl(b);_.w(a,140,ku);break;case 7:_.Nvc(a,b.I6());break;case 122:CBc(a,_.kL(b));break;case 66:var Nr=_.y(b,69);_.w(a,69,Nr);break;case 33:var Ys=_.P(b,29);_.w(a,29,Ys);break;case 24:var sB=b.Kj();_.w(a,22,sB);break;case 25:var tB=b.Ay();_.w(a,23,tB);break;case 46:_.Vvc(a,b.St());break;case 52:var Ny=_.de(b,56);_.Hj(a,56,Ny);break;case 56:var lu=_.y(b,61);_.w(a,61,lu);break;case 55:a.HA(b.AB());break;case 4:a.Kv(b.dB());break;case 35:_.Svc(a,
_.P(b,31));break;case 57:var Lq=_.y(b,62);_.w(a,62,Lq);break;case 83:_.Xvc(a,b.yc());break;case 84:var Mq=_.B(b,_.mK,86);_.I(a,86,Mq);break;case 98:a.Kca(b.aw());break;case 97:_.bwc(a,b.jD());break;case 19:var uB=b.Wx();_.w(a,20,uB);_.Uvc(a,_.P(b,44));var PD=_.y(b,90);_.w(a,90,PD);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Nn(b.Xh());break;case 27:_.T8b(a,b.Yo());break;case 70:var ox=b.jj();_.w(a,75,ox);break;case 8:var Oy=_.P(b,9);_.w(a,9,Oy);break;case 126:var px=_.de(b,120);_.Hj(a,120,
px);break;default:throw Error("Sc`"+l);}}};DBc=function(a,b){var c=_.Hz[a];return b.filter(function(d){return!c||!c.has(d)})};EBc=function(a,b,c){a=DBc(c,a);return xBc(b,a,_.vuc)};nL=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};oL=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&nL(a)?(a=a.Hf(),!!a&&"application/vnd.google-apps.folder"===_.y(a,3)):"application/vnd.google-apps.folder"===c};
FBc=function(a){var b=a&&a.getId()||null;a&&nL(a)&&(a=(a=a.Hf())&&_.y(a,1))&&(b=a);return b};GBc=function(a){return!!_.P(a,31)&&!_.P(a,94)};IBc=function(a){return HBc.some(function(b){return vBc(a,b)})};JBc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(b.sv())})};KBc=function(a){return JBc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
LBc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Yj(d,f)||(d=_.zEa(4).setItem(f),c[e]=d):(d=_.zEa(2).setItem(d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=_.zEa(1).setItem(d),c[e]=d)});return c};MBc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ua(LBc(a,b))};_.NBc=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};
OBc=function(a,b){var c=_.muc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};PBc=function(a,b){return 0<=b?!a||a<=b:!0};QBc=function(a,b){var c=a.Sm();c||(c=new _.aoa,b&&_.I(a,81,c));return c};RBc=function(a){if(oL(a))_.iL(QBc(a,!0),!0);else if(oL(a,!0)){var b=a.Hf();if(b=b&&_.ie(b))_.iL(QBc(b,!0),!0),_.iL(QBc(a,!0),!0)}};SBc=function(a){return!!a.Sm()&&!oL(a)};
TBc=function(a){var b=[];_.Ia(a,function(c){if(3!=c.sv()){var d=c;if(null!=_.P(d,49)||null!=_.P(d,51)||null!=d.Sm())c=c.clone(),_.qb(c,49),_.qb(c,51),_.Ij(c,81);b.push(c)}});return b};UBc=function(a,b){if(b){var c=[];_.P(b,3)&&c.push("folder");var d=_.Lqc()&&4===b.getType()?"title_natural":_.qtc[b.getType()];b=_.stc[b.nf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
WBc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.J?a[b]=c.Lc():c&&c instanceof _.JK?a[b]=c.Lc(function(d){return d?d.Lc():null}):c&&c instanceof VBc&&(a[b]=c.Lc())}};YBc=function(a){var b=a.slice(0),c=new Set(b);XBc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
eCc=function(a,b,c){var d=_.B(a,ZBc,66);if(d){var e=_.y(d,1),f=_.vK(a);a=_.YI(_.AI(a));e=new _.jj(e);var h=new _.jj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.Aj(k,3);_.qj(e,"co",h);h=e.Le();!f&&0<a&&(h+="u/"+a+"/");e.Li(h+"_/dataservice/cacheproxy");f=_.y(d,5)||"";if(_.Dqc(window.location.href,e.toString())&&f)return e=YBc(c),c=_.y(d,6),b="#"+b+"_",d=new _.pI,d.update(e.join(",")),b+=_.ssc(d.digest()),c&&(b+="&jobset="+c),b=_.Vy(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.$ga(b),
void 0),b=new $Bc(c.port),c.port.start()):b=new $Bc(new Worker(_.$ga(b),void 0)),new aCc(new bCc(b,!0),1,f,e);c=e.toString();b="cpiframe_"+_.HI();c=_.vh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Tha(_.Ztc(_.dg("display: none;")));document.body.appendChild(c);c=_.wsc(e.O,void 0,e.H,e.W).toString();return new aCc(new bCc(cCc(window.frames[b],c),!0),0,e.toString())}b=new dCc;return new aCc(new bCc(b.O,!1),2,"inline",c,new bCc(b.H,!1))};
gCc=function(a){var b=new fCc;if(a instanceof _.lJ)_.Vj(b,16,pL,a);else if(a instanceof _.mJ)_.Vj(b,1,pL,a);else if(a instanceof _.nJ)_.Vj(b,2,pL,a);else if(a instanceof _.qL)_.Vj(b,17,pL,a);else if(a instanceof _.qJ)_.Vj(b,3,pL,a);else if(a instanceof _.TK)_.Vj(b,4,pL,a);else if(a instanceof _.oJ)_.Vj(b,5,pL,a);else if(a instanceof _.uJ)_.Vj(b,6,pL,a);else if(a instanceof _.wJ)_.Vj(b,7,pL,a);else if(a instanceof _.xJ)_.Vj(b,8,pL,a);else if(a instanceof _.AJ)_.Vj(b,9,pL,a);else if(a instanceof _.NJ)_.Vj(b,
18,pL,a);else if(a instanceof _.RJ)_.Vj(b,10,pL,a);else if(a instanceof _.SJ)_.Vj(b,11,pL,a);else if(a instanceof _.TJ)_.Vj(b,12,pL,a);else if(a instanceof _.ZI)_.Vj(b,13,pL,a);else if(a instanceof _.WJ)_.Vj(b,14,pL,a);else if(a instanceof _.XJ)_.Vj(b,15,pL,a);else throw new _.Ac("Unsupported request type");return b};
jCc=function(a){a=a.map(function(c){var d=new hCc;if(c instanceof _.lJ)_.Vj(d,6,rL,c);else if(c instanceof _.qL)_.Vj(d,7,rL,c);else if(c instanceof _.uJ)_.Vj(d,1,rL,c);else if(c instanceof _.RJ)_.Vj(d,2,rL,c);else if(c instanceof _.SJ)_.Vj(d,3,rL,c);else if(c instanceof _.ZI)_.Vj(d,4,rL,c);else if(c instanceof _.XJ)_.Vj(d,5,rL,c);else throw new _.Ac("Unsupported request type");return d});var b=new iCc;_.Jj(b,1,a);return b};
kCc=function(a){return _.Uj(a,hCc,1).map(function(b){return _.bk(b,_.lJ,6,rL)||_.bk(b,_.uJ,1,rL)||_.bk(b,_.RJ,2,rL)||_.bk(b,_.SJ,3,rL)||_.bk(b,_.ZI,4,rL)||_.bk(b,_.XJ,5,rL)||_.bk(b,_.qL,7,rL)})};nCc=function(a){var b=new lCc;if(a instanceof _.MD)_.Vj(b,1,mCc,a);else if(a instanceof _.ND)_.Vj(b,2,mCc,a);else throw new _.Ac("Unsupported request type");return b};
qCc=function(a){var b=new oCc;if(a instanceof _.rJ)_.Vj(b,1,pCc,a);else if(a instanceof _.yJ)_.Vj(b,2,pCc,a);else if(a instanceof _.YJ)_.Vj(b,3,pCc,a);else throw new _.Ac("Unsupported request type");return b};sL=function(a,b,c){return b?new c(JSON.parse(a)):a};rCc=function(a){a={t:a.title,d:a.description,c:a.od,fi:a.Q8,dti:a.b0,a:a.RP?a.RP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.z8})}):void 0};return JSON.stringify(a)};
sCc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,od:a.c,Q8:a.fi,b0:a.dti,RP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,z8:b.ec}}):void 0}};tCc=function(a,b,c){a=a?1:2;a=_.md(_.ld(new _.kd,12),a);var d=(new _.of).Nn(!0);d=_.w(d,17,!0);a=_.pf(d,a);c&&_.Ml(a,c);c=new _.ntc;b&&_.ZAc(c,b);return _.$Ac(_.bBc(new _.QI,a),c)};uCc=function(a){return a.map(function(b){return b.getItem()})};
vCc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};wCc=function(a,b){var c=new _.jj(_.D(b,16,"")+"/open"),d=a.getId();nL(a)&&(d=FBc(a));_.qj(c,"id",d);_.qj(c,"authuser",_.YI(_.AI(b)));_.Q(b,89,!1)&&_.Bj(a,140)&&_.qj(c,"resourcekey",_.nl(a));return c.toString()};xCc=function(a){return String.fromCharCode(10>a?48+a:87+a)};yCc=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]=xCc(d>>4);b[2*c+3]=xCc(d&15)}return b.join("")};
zCc=function(a){_.Xf("drive.DebugUtil.printFindById",function(c){a.DM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.Xf("drive.DebugUtil.getLogs",function(){return _.bxc(a.Rf())});_.Xf("drive.DebugUtil.printLogs",function(){window.console.log(_.bxc(a.Rf()))});_.Xf("drive.DebugUtil.printRequestHistory",function(){a.XQ().then(function(c){c.forEach(function(d){window.console.log(_.y(d,1));window.console.log(_.y(d,2))})})});_.Xf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.Q(b,1,!1)&&(_.Xf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Xf("drive.DebugUtil.setOffline",function(c){return void a.Pl(c)}))};CCc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Cf;_.Df(b,305);_.Ef(b,!0);_.w(b,3,2);var c=new _.LD;_.I(c,1,b);ACc(c,[7]);a=a.then(function(d){return d.Re(c)}).then(BCc);return _.ji(a)};
BCc=function(a){a=_.Uj(a,_.np,3);var b=new DCc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.y(d,2))&&(c=_.$g(c.Za()),_.w(b,3,c))});return"number"===typeof _.y(b,3)?b:null};FCc=function(a,b){var c=ECc(a.wm,b.Ac());if(c){var d=c.getItem(),e=d.$v();if(e){var f=e.aR(),h=_.va(f,function(k){return k.getId()===_.y(b,2)});_.Kvc(e,f);h||(f=_.Uj(e,_.Pk,3),_.va(f,function(k){return k.getId()===_.y(b,2)}),_.Lvc(e,f));_.Jvc(e,(_.y(e,1)||1)-1);a.yl([d],c.V)}}};
HCc=function(a,b,c){if(b=ECc(a.wm,b.Ac())){var d=b.getItem(),e=d.$v();if(e){if(1===c.getType()||2===c.getType()){var f=_.Uj(e,_.Pk,3);f.push(c);_.Ga(f,GCc);_.Lvc(e,f)}else f=e.aR(),f.push(c),_.Ga(f,GCc),_.Kvc(e,f);_.Jvc(e,(_.y(e,1)||0)+1);a.yl([d],b.V)}}};JCc=function(a){return a.map(function(b){var c=new _.oLb;var d=b.serviceName?ICc.get(b.serviceName):void 0;c=_.w(c,3,d);return _.w(c,2,Number(b.bytesUsed))})};
LCc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return c.serviceName&&KCc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
PCc=function(a){var b=a.json.exportJob,c=MCc[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=_.mf(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.mf(b.failedItemInfos||[],function(l){var p=_.zG((new _.fl).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.NCc).setItem(p);p=_.w(p,3,l.relativePath);return _.w(p,4,l.cause)});return new OCc(c,d,k,f,h,e,a,b)};
RCc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.Za();(a=c&&_.op(c))&&(b.namespace=QCc[a]);return b};SCc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(QCc[a[c]]);return b};TCc=function(a){return"kind,defaultAppIds,items("+a+")"};UCc=function(a,b){return _.Q(b,93,!1)?a+",adminSecureLinkSetting":a};VCc=function(a,b){var c;return(null===(c=_.fK(b))||void 0===c?0:_.Q(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
WCc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
$Cc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.fK(b))||void 0===c?0:_.Q(c,18,!1))||(null===(d=_.fK(b))||void 0===d?0:_.Q(d,17,!1)))null===(e=_.fK(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=_.fK(f),l=!!k&&_.Q(k,10,!1);if(_.mI(_.AI(f))||!h&&!l)_.w(f,61,!1),_.Ij(f,66),k&&_.w(k,10,!1),f=!1;else{if(h){_.n.SharedWorker||(h=!1);var p=_.B(f,ZBc,66);p&&_.y(p,1)||(h=!1);_.vK(f)&&!_.Q(f,52,!1)&&(h=!1)}h?k&&_.w(k,10,!1):(_.w(f,61,!1),_.Ij(f,66));
f=h||l}if(f)return f=_.Q(b,61,!1)?3:5,a=new tL(a,b,f),new XCc(a);f=_.mI(_.AI(b))?2:1;a=new uL(a,b,f,void 0,void 0,void 0);return _.mI(_.AI(b))?new YCc(a):new ZCc(a)};bDc=function(a){return _.Ge(a).Mg(_.Q(a.get(_.fp),19,!1)?aDc:_.NVa)};cDc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};dDc=function(a,b){return _.Jj(a,1,b)};jL=function(a){return _.y(a,11)};eDc=[1];fDc=function(a){_.J.call(this,a,-1,eDc)};_.K(fDc,_.J);
fDc.prototype.Tga=function(a){_.Wj(this,1,a,_.Pk,void 0)};var gDc=function(a){var b=new fDc;return _.Jj(b,1,a)},hDc=function(a,b){return _.I(a,1,b)},iDc=function(a,b){_.Jj(a,2,b)},jDc=function(a,b){_.I(a,6,b)},kDc=function(a,b){_.I(a,7,b)},lDc=function(a,b){return _.Vj(a,3,_.Tk,b)},mDc=function(a){_.J.call(this,a)};_.K(mDc,_.J);var nDc=function(a){_.J.call(this,a)};_.K(nDc,_.J);var oDc=function(a){_.J.call(this,a)};_.K(oDc,_.J);var pDc=function(a){_.J.call(this,a)};_.K(pDc,_.J);
var qDc=function(a){_.J.call(this,a)};_.K(qDc,_.J);var rDc=function(a){_.J.call(this,a)};_.K(rDc,_.J);var sDc=function(a){_.J.call(this,a)};_.K(sDc,_.J);var tDc=function(a){_.J.call(this,a)};_.K(tDc,_.J);var uDc=function(a){_.J.call(this,a)};_.K(uDc,_.J);var 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,b){_.Jj(a,1,b)},BDc=function(a,b){return _.w(a,2,b)},CDc=function(a,b){return _.I(a,3,b)},DDc=function(a,b){return _.w(a,4,b)},EDc=function(a){_.J.call(this,a)};_.K(EDc,_.J);var FDc=function(a,b){_.Jj(a,1,b)},GDc=function(a,b){return _.I(a,2,b)},HDc=function(a){_.J.call(this,a)};_.K(HDc,_.J);
var IDc=function(a,b){_.Jj(a,1,b)},JDc=function(a,b){return _.I(a,4,b)},KDc=function(a,b){_.I(a,5,b)},LDc=function(a,b){_.Jj(a,2,b)},MDc=function(a,b){_.w(a,3,b)},NDc=function(a,b){_.Jj(a,4,b)},ODc=function(a,b){return _.I(a,5,b)},PDc=function(a){_.J.call(this,a)};_.K(PDc,_.J);var QDc=function(a,b){_.Jj(a,1,b)},RDc=function(a,b){return _.I(a,2,b)},SDc=function(a){_.J.call(this,a)};_.K(SDc,_.J);
var TDc=function(a,b){_.Jj(a,2,b)},UDc=function(a){var b=new _.Sna;return _.Jj(b,3,a)},VDc=[1,2],WDc=function(a){_.J.call(this,a)};_.K(WDc,_.J);WDc.prototype.Ag=function(a){return _.Vj(this,1,VDc,a)};var XDc=[1],YDc=function(a){_.J.call(this,a,-1,XDc)};_.K(YDc,_.J);YDc.prototype.Np=function(){return _.y(this,2)};var ZDc=function(a,b){_.Jj(a,1,b)},$Dc=function(a,b){return _.w(a,2,b)},aEc=function(a,b){return _.I(a,3,b)},bEc=function(a){_.J.call(this,a)};_.K(bEc,_.J);
var cEc=[2],dEc=function(a){_.J.call(this,a,-1,cEc)};_.K(dEc,_.J);var eEc=function(a,b){_.Jj(a,2,b)},fEc=function(a,b){return _.I(a,3,b)},gEc=[1],hEc=function(a){_.J.call(this,a)};_.K(hEc,_.J);hEc.prototype.Ag=function(a){return _.Vj(this,1,gEc,a)};var iEc=function(a,b){_.Jj(a,1,b)},jEc=function(a,b){return _.Jj(a,2,b)},kEc=function(a){_.J.call(this,a)};_.K(kEc,_.J);var lEc=function(a,b){_.Jj(a,1,b)},mEc=function(a,b){return _.I(a,2,b)},nEc=function(a){_.J.call(this,a)};_.K(nEc,_.J);
var oEc=[1,2,3,4],pEc=[1],qEc=[1,2],rEc=[1],sEc=[1],tEc=[1,2],uEc=[1],vEc=function(a,b){return _.I(a,1,b)},wEc=function(a,b){return _.w(a,2,b)},xEc=function(a,b){return _.w(a,3,b)},yEc=function(a,b){return _.w(a,4,b)},zEc=function(a,b){return _.w(a,5,b)},AEc=function(a,b){return _.w(a,6,b)},BEc=function(a){_.J.call(this,a)};_.K(BEc,_.J);ABc=function(a,b){_.Jj(a,8,b)};zBc=function(a,b){return _.I(a,73,b)};BBc=function(a,b){_.Jj(a,107,b)};_.kL=function(a){return _.B(a,BEc,109)};
CBc=function(a,b){_.I(a,109,b)};CEc=function(a){_.J.call(this,a)};_.K(CEc,_.J);var DEc=function(a){_.J.call(this,a)};_.K(DEc,_.J);var EEc=function(a){var b=new _.tk;_.yk(b,1,_.y(a,1));_.yk(b,2,_.y(a,2));return _.vk(b)},FEc=function(a){_.J.call(this,a)};_.K(FEc,_.J);var ZBc=function(a){_.J.call(this,a)};_.K(ZBc,_.J);var GEc=[11],HEc=function(a){_.J.call(this,a,-1,GEc)};_.K(HEc,_.J);var vL=function(a){_.J.call(this,a)};_.K(vL,_.J);vL.prototype.getKey=function(){return _.y(this,2)};
vL.prototype.jt=function(){return _.Bj(this,2)};wL=function(a){return _.D(a,4,"en")};_.xL=function(a){return _.B(a,HEc,34,1)};yL=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};IEc=function(a,b){return _.w(a,5,b)};_.JEc=function(a,b){return _.w(a,2,b)};_.KEc=function(a,b){return _.w(a,3,b)};_.LEc=function(a,b){return _.w(a,1,b)};_.MEc=function(a,b){return _.w(a,2,b)};_.NEc=function(a,b){return _.Jj(a,5,b)};
_.OEc=function(a,b){return _.w(a,6,b)};_.PEc=function(a,b){return _.w(a,7,b)};_.QEc=function(a,b){return _.w(a,8,b)};_.REc=function(a,b){return _.w(a,10,b)};_.SEc=function(a,b){return _.w(a,15,b)};TEc=[2];_.UEc=function(a){_.J.call(this,a,-1,TEc)};_.K(_.UEc,_.J);_.UEc.prototype.Sh=function(){return _.y(this,1)};_.VEc=function(a,b){return _.I(a,1,b)};WEc=function(a,b){return _.w(a,2,b)};XEc=function(a,b){return _.w(a,3,b)};YEc=function(a,b){_.Jj(a,4,b)};_.ZEc=function(a,b){_.I(a,8,b)};
_.$Ec=function(a,b){_.I(a,9,b)};aFc=function(a,b){_.w(a,10,b)};bFc=function(a){_.J.call(this,a)};_.K(bFc,_.J);bFc.prototype.Za=function(){return _.Fj(this,1)};bFc.prototype.Jb=function(a){return _.rb(this,1,a,0)};ACc=function(a,b){_.Hj(a,3,b)};_.cFc=function(a){_.J.call(this,a)};_.K(_.cFc,_.J);_.cFc.prototype.getId=function(){return _.y(this,1)};_.cFc.prototype.Pb=function(a){return _.w(this,1,a)};_.cFc.prototype.Fe=function(){return _.y(this,4)};_.cFc.prototype.zh=function(a){return _.w(this,4,a)};
_.TK=function(a){_.J.call(this,a)};_.K(_.TK,_.J);_.TK.prototype.getTitle=function(){return _.y(this,1)};_.TK.prototype.setTitle=function(a){return _.w(this,1,a)};_.TK.prototype.ue=function(){return _.B(this,_.Cf,2)};
var dFc=function(a,b){return _.Hj(a,9,b)},eFc=function(a,b){return _.Hj(a,10,b)},fFc=function(a,b){return _.w(a,36,b)},gFc=function(a,b){return _.Jj(a,38,b)},hFc=function(a,b){return _.w(a,2,b)},iFc=function(a,b){return _.I(a,3,b)},jFc=function(){var a=new _.TI;return _.w(a,5,!0)},kFc=function(a){_.J.call(this,a)};_.K(kFc,_.J);var lFc=function(a){_.J.call(this,a)};_.K(lFc,_.J);var mFc=function(a){_.J.call(this,a)};_.K(mFc,_.J);var nFc=function(a){_.J.call(this,a)};_.K(nFc,_.J);
var oFc=function(a){_.J.call(this,a)};_.K(oFc,_.J);var pFc=function(a){_.J.call(this,a)};_.K(pFc,_.J);pFc.prototype.By=function(){return _.P(this,1)};pFc.prototype.Yn=function(){return _.y(this,5)};pFc.prototype.Rm=function(){return _.y(this,6)};pFc.prototype.Bt=function(a){return _.w(this,6,a)};var qFc=function(a,b){return _.w(a,1,b)},rFc=function(a,b){return _.w(a,3,b)},sFc=function(a,b){return _.w(a,4,b)},tFc=function(a,b){_.w(a,7,b)},uFc=function(a){_.J.call(this,a)};_.K(uFc,_.J);
uFc.prototype.By=function(){return _.P(this,2)};var vFc=function(a,b){_.w(a,1,b)},wFc=function(a){_.J.call(this,a)};_.K(wFc,_.J);wFc.prototype.Rm=function(){return _.y(this,3)};wFc.prototype.Bt=function(a){return _.w(this,3,a)};wFc.prototype.Yn=function(){return _.y(this,4)};var xFc=function(a){_.J.call(this,a)};_.K(xFc,_.J);var yFc=function(a){_.J.call(this,a)};_.K(yFc,_.J);
var zFc=function(a,b){return _.w(a,1,b)},AFc=function(a,b){return _.w(a,2,b)},BFc=function(a,b){_.w(a,3,b)},CFc=[1,3,5],DFc=function(a){_.J.call(this,a,-1,CFc)};_.K(DFc,_.J);DFc.prototype.OE=function(){return _.de(this,1)};DFc.prototype.By=function(){return _.P(this,2)};DFc.prototype.Yn=function(){return _.y(this,7)};EFc=function(a,b){_.w(a,2,b)};FFc=function(a,b){_.Lj(a,5,b,void 0)};GFc=function(a,b){_.w(a,6,b)};HFc=function(a,b){_.w(a,7,b)};_.IFc=function(a,b){_.I(a,2,b)};
JFc=function(a,b,c){_.zK(a,b,c,"warning")};KFc=function(a){return[].concat(_.xd(a.O))};LFc=function(a){return a.H.concat([].concat(_.xd(a.O)))};MFc=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(_.xd(c))};zL=function(a){var b=_.HK(a).ud();b||(b=new _.zwc,a=_.HK(a),_.I(a,1,b));return b};NFc=function(a){var b=_.B(_.HK(a),DFc,3);b||(b=new DFc,a=_.HK(a),_.I(a,3,b));return b};
AL=function(a){var b=_.B(_.HK(a),pFc,16);b||(b=new pFc,a=_.HK(a),_.I(a,16,b));return b};OFc=function(a){var b=_.B(_.HK(a),mFc,7);b||(b=new mFc,a=_.HK(a),_.I(a,7,b));return b};PFc=function(a){var b=_.B(_.HK(a),oFc,12);b||(b=new oFc,a=_.HK(a),_.I(a,12,b));return b};QFc=function(a){var b=_.B(_.HK(a),uFc,17);b||(b=new uFc,a=_.HK(a),_.I(a,17,b));return b};RFc=function(a){var b=_.B(_.HK(a),yFc,21);b||(b=new yFc,a=_.HK(a),_.I(a,21,b));return b};
SFc=function(a){if(a instanceof _.oI)return 2;if(a instanceof _.wG)return 10;if(a instanceof _.of)return _.GJ(a)?3:_.HJ(a)?7:_.IJ(a)?8:1;if(a instanceof _.xA)return 9;if(a instanceof _.GG)return 11;if(a instanceof _.PJ)return 15;if(a instanceof _.BI)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 _.LD)return 4;if(a instanceof _.kA)return 12;if(a instanceof _.yG)return 13}return 0};
TFc=function(a){var b=null;a instanceof _.oB||"undefined"!=typeof _.JK&&a instanceof _.JK||"undefined"!=typeof _.KK&&a instanceof _.KK?b=a.$e()||0:"undefined"!=typeof _.MK&&a instanceof _.MK||"undefined"!=typeof _.NK&&a instanceof _.NK||"undefined"!=typeof _.OK&&a instanceof _.OK||"undefined"!=typeof _.PK&&a instanceof _.PK||"undefined"!=typeof _.QK&&a instanceof _.QK?b=a.Ke:"undefined"!=typeof _.LK&&a instanceof _.LK&&(b=a.$e());return b||0};
BL=function(a,b,c){return a.V&&_.Uxc(a)?(a=_.Qxc(a.V,b,0),c&&_.Cqc(a,c),a):null};UFc=function(a){a.V&&_.Uxc(a)&&(a=a.V,a.H.oP()&&a.H.EZ())};VFc=function(a){var b=new _.CJ;return _.w(b,1,a)};WFc=function(a,b){return _.I(a,2,b)};XFc=function(a,b){return _.I(a,1,b)};YFc=function(a,b){a.ha=b};ZFc=[2];CL=function(a){_.J.call(this,a,-1,ZFc)};_.K(CL,_.J);CL.prototype.Bb=function(){return _.y(this,1)};CL.prototype.Dc=function(a){return _.w(this,1,a)};CL.prototype.Tga=function(a){_.Wj(this,2,a,_.Pk,void 0)};
CL.prototype.ek=function(){return _.y(this,3)};var $Fc=function(a,b){return _.Jj(a,2,b)},aGc=[2],bGc=function(a){_.J.call(this,a,-1,aGc)};_.K(bGc,_.J);bGc.prototype.Bb=function(){return _.y(this,1)};bGc.prototype.Dc=function(a){return _.w(this,1,a)};bGc.prototype.ek=function(){return _.y(this,3)};cGc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.Fn,a.H.promise):null};
dGc=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.kj);for(e=d.next();!e.done;e=d.next())(e=e.value.Dv.config.timestamp)&&c.push(e);_.ya(b,c)}return b};eGc=function(a,b){_.$K(["drive#permissionList"],b);return $Fc(new CL,(b.items||[]).map(function(c){return _.hAc(a,c)}))};
fGc=function(a,b){return AEc(zEc(yEc(_.Lvc(_.Jvc(new _.doa,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.hAc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)};nBc=function(a,b){return _.Hj(a,1,b)};gGc=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};
hGc=function(a,b){if(!(a instanceof b.constructor))throw Error("aa");var c=a.er(!1);b=b.er(!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++)_.Oaa(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};iGc=[2,6];_.KK=function(a){_.J.call(this,a,-1,iGc)};_.K(_.KK,_.J);_.g=_.KK.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Uj(this,_.fl,2)};
_.g.Vw=function(a){return _.Jj(this,2,a)};_.g.nh=function(a,b){return _.Wj(this,2,a,_.fl,b)};_.g.ek=function(){return _.y(this,3)};_.g.ul=function(){return _.Q(this,4,!0)};var jGc=function(a,b){return _.Jj(a,6,b)};_.KK.prototype.dg=function(){return _.y(this,10)};_.KK.prototype.lP=function(a){return _.w(this,10,a)};_.KK.prototype.$e=function(){return _.y(this,9)};_.KK.prototype.Ki=function(a){return _.w(this,9,a)};
var kGc={SUCCESS:1,q6b:2,sYb:3,aUb:4,D6b:5,W0b:6,M0b:7,LUb:8,o5b:9,D5b:10,p6b:11,mWb:12,RVb:13,rZb:14,MXb:15,VVb:16,UVb:17,$Vb:18,XVb:19,YVb:20,U5b:21,z6b:22,o1b:23,v0b:24,DUb:25,PERMISSION_DENIED:26,K_b:27,QUb:28,PUb:29,INTERRUPTED:30,O1b:31,h2b:32,BWb:33,HWb:34,v5b:35,OWb:36,NXb:37,GWb:38,L0b:39,tVb:40,J1b:41,j2b:42,m5b:43,fVb:44,sVb:45,KXb:46,F_b:47,J0b:48,f1b:49,K1b:50,f5b:51,SVb:52,n5b:53,l5b:54,lVb:55,iVb:56,ZWb:57,d0b:58,L1b:59,d_b:60,z3b:61,n4b:62,U4b:63,GZb:64,x0b:65,G6b:66,QWb:67,OXb:68,
o6b:69,LZb:70,OUb:71,aVb:72,v4b:73,V4b:74,R4b:75,P4b:76,j4b:190,O4b:191,w4b:192,C4b:126,y4b:128,z4b:129,A4b:130,B4b:131,D4b:132,E4b:133,I3b:127,F3b:134,G3b:135,K3b:136,L3b:137,M3b:138,H3b:194,J3b:195,N3b:196,E3b:197,m4b:189,y3b:139,A3b:140,O3b:141,P3b:142,a4b:143,d4b:144,e4b:145,f4b:146,g4b:147,h4b:148,i4b:149,l4b:150,r4b:151,t4b:152,u4b:153,x4b:154,F4b:155,H4b:156,I4b:157,J4b:158,K4b:159,L4b:160,M4b:161,Q4b:162,T4b:163,W4b:164,B3b:165,C3b:166,D3b:167,w3b:168,x3b:169,S3b:170,Q3b:171,R3b:172,T3b:173,
U3b:174,V3b:175,W3b:176,X3b:177,Y3b:178,Z3b:179,$3b:180,b4b:181,c4b:182,k4b:106,s4b:183,G4b:184,N4b:185,o4b:186,p4b:187,q4b:188,S4b:244,I1b:77,t6b:78,y6b:79,S_b:80,wZb:81,yZb:82,YWb:83,JXb:84,L_b:85,N5b:86,FWb:87,NZb:88,MZb:89,Z4b:90,X4b:91,Y4b:92,u6b:93,HVb:94,GVb:95,DVb:96,FVb:97,EVb:98,F6b:99,h3b:100,cWb:101,WVb:102,aWb:103,ZVb:104,bWb:105,PXb:107,A5b:108,b3b:109,i6b:110,SXb:111,RXb:112,i_b:113,j_b:114,n2b:115,mVb:116,q_b:117,hXb:118,v6b:119,R0b:120,S0b:121,sZb:193,TVb:122,vWb:123,vZb:124,q0b:125,
OZb:198,T1b:199,DZb:200,ETb:201,JZb:202,HZb:203,RUb:204,d7b:205,y_b:206,AVb:207,O0b:208,i2b:209,d3b:210,eUb:211,g_b:212,n_b:213,q5b:214,p5b:215,FZb:216,qZb:217,EZb:218,SWb:219,E5b:220,TWb:221,e_b:222,x5b:223,P6b:224,B0b:225,w5b:226,xWb:227,w_b:228,XWb:229,vVb:230,L5b:231,s0b:232,FILE_TOO_LARGE:233,KZb:234,RWb:235,GXb:236,e2b:237,y0b:238,pTb:239,wVb:240,F0b:241,o3b:242,DWb:243,CTb:245,zZb:246,h1b:247,xZb:248,R_b:249,w0b:250,LXb:251,zYb:252,h_b:253,jVb:254,QXb:255,E6b:256,lYb:257,a0b:258,u2b:259,S1b:260,
VZb:261,hWb:262,EWb:263,CUb:264,J_b:265,C6b:266,tTb:267,sUb:268,rUb:269,K0b:270,nTb:271,oTb:272,FUb:273,zVb:274,uUb:275,tUb:276,x_b:277},DL=function(a,b){_.ti.call(this,"Ea");this.error=a;this.H=b};_.K(DL,_.ti);lGc={w6b:0,b0b:1,q1b:2,d1b:3,QZb:4,bUb:5,c0b:6,e1b:7,YYb:8,BUb:9,b1b:10};
_.EL=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.V=a;this.va=b;this.Fa=c;this.request=e;this.Ba=f;this.H=[];this.items=[];this.ha=!0;this.O=!1;this.suggestionSessionId=null;this.Ha=d;this.status=6;this.ka=nBc(new _.gL,[1]);this.limit=e.Di();this.Ke=0;_.Oe(this,function(){h.O=!1;h.H=[]});_.q8a++};_.K(_.EL,_.Ci);_.g=_.EL.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.pa(this.items)&&6===this.Bb()&&this.Vj()||mGc(this)};_.g.ud=function(){return this.request};_.g.Di=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Nq=function(){return this.ka};_.g.Vj=function(){return this.ha};_.g.yr=function(){var a=_.p8a().py(this.H,this.items),b=(new _.nI).Dc(this.Bb());a=_.Jj(b,2,a);this.H=this.items;return a};_.g.Fr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Ai(),this.limit))};
var nGc=function(a,b){return a.Bb()!==b.Bb()||yL(_.p8a(),a.items,b.wd())},oGc=function(a,b){a.items=b.wd();a.status=b.Bb();_.PI(a.Ba)&&(a.ka=oBc(a.status,a.items));a.ha=b.ul();a.Ke=b.$e()};_.EL.prototype.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a query after "+a.H+" retries.",a.error)))};_.EL.prototype.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};
_.EL.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+FL(this.V,this.ud());return _.ji(this.va.then(function(d){return d.MLb(a,b,c.ud(),c.Di(),c.items)}))};
var mGc=function(a){a.isActive()&&(a.log("Livelist "+a.Ai()+" returning "+a.items.length+". Status: "+(_.$a(kGc)[a.Bb()]+". Datasource: ")+(_.$a(lGc)[a.Ke]+". Query: ")+(FL(a.V,a.request)+" ")+pBc(a.items)),pGc(a,a.items,a.request),a.dispatchEvent(new _.ti(_.Mc,a)))},pGc=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.Ai()+" returning "+a.items.length+
" for "+(c+": "+b))};_.EL.prototype.refresh=function(){};_.EL.prototype.log=function(a){this.Fa.info(this.W,a)};_.EL.prototype.Ya=function(){_.r8a++;_.Ci.prototype.Ya.call(this)};var qGc=function(){this.map={};this.status=6;this.Ke=null};_.g=qGc.prototype;_.g.Bb=function(){return this.status};_.g.Dc=function(a){this.status=a};_.g.$e=function(){return this.Ke};_.g.Ki=function(a){this.Ke=a};_.g.gq=function(){return this.map};var rGc=function(a,b){a.map=b};
qGc.prototype.Lc=function(a){var b=[];_.La(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Ke,me:b})};var sGc=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.Ki(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},tGc=function(){qGc.apply(this,arguments)};_.K(tGc,qGc);_.JK=function(){qGc.apply(this,arguments)};_.K(_.JK,qGc);
var tBc=[1004,1005,1002,1003],HBc=[1002,1003,1005],GL=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.ta=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=nBc(new _.gL,[1]);this.log("Creating find by ids live map: "+this.request.qn().join(", "));_.Oe(this,function(){h.O=!1;h.H=[]});_.rlb++};_.K(GL,_.Ci);_.g=GL.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.O=!0;_.Ua(this.items)&&6===this.status||uGc(this)};_.g.ud=function(){return this.request};_.g.getData=function(){this.H=this.items;var a=new _.JK;_.PI(this.V)?a.Dc(JBc(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.yr=function(){var a=LBc(this.H,this.items),b=new tGc;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Nq=function(){return this.W};
_.g.XS=function(a){vGc(a);var b=this.request;this.request=a;this.ta(this.Ai(),b,a)};_.g.update=function(a){var b=this;0<=_.na(this.ud().qn(),"root")?this.ma.addCallback(function(c){var d=a.gq()[c];d&&(_.Va(a.map,c),a.map.root=d);wGc(b,a)}):wGc(this,a)};var wGc=function(a,b){if(a.status!==b.Bb()||MBc(a.items,b.gq()))a.status=b.Bb(),a.items=b.gq(),_.PI(a.V)&&(a.W=oBc(a.status,Object.values(a.items))),uGc(a)};
GL.prototype.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};GL.prototype.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};var uGc=function(a){a.O&&(a.log("Livelist "+a.Ai()+" returning "+(Object.values(a.items).length+". Status: ")+(_.$a(kGc)[a.Bb()]+". Query: ")+(FL(a.ka,a.request)+" ")+pBc(Object.values(a.items))),a.dispatchEvent(new _.ti(_.Mc,a)))};
GL.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};GL.prototype.Ya=function(){_.slb++;_.Ci.prototype.Ya.call(this)};var xGc=[1,2],yGc=function(a){_.J.call(this,a,-1,xGc)};_.K(yGc,_.J);_.zGc=function(a){_.J.call(this,a)};_.K(_.zGc,_.J);_.zGc.prototype.Bb=function(){return _.y(this,1)};_.zGc.prototype.Dc=function(a){return _.w(this,1,a)};_.zGc.prototype.rn=function(){return _.B(this,_.xG,2)};var AGc=function(a){_.ti.call(this,a)};_.K(AGc,_.ti);
var BGc=function(a){_.J.call(this,a)};_.K(BGc,_.J);BGc.prototype.O=function(){return _.B(this,_.iD,1)};BGc.prototype.V=function(){return _.B(this,_.iD,2)};BGc.prototype.ha=function(){return _.B(this,_.iD,3)};var CGc=function(a){_.J.call(this,a)};_.K(CGc,_.J);CGc.prototype.V=function(){return _.P(this,1)};CGc.prototype.O=function(){return _.P(this,3)};CGc.prototype.ha=function(){return _.P(this,4)};var DGc=function(a){_.J.call(this,a)};_.K(DGc,_.J);DGc.prototype.O=function(){return _.P(this,1)};
DGc.prototype.V=function(){return _.P(this,2)};var HL=[13,19,12,11,10,15,14,9,8,18,17,16],EGc=function(a){_.J.call(this,a)};_.K(EGc,_.J);EGc.prototype.O=function(){return _.y(this,4)};var FGc=function(a){_.J.call(this,a)};_.K(FGc,_.J);FGc.prototype.V=function(){return _.y(this,1)};FGc.prototype.O=function(){return _.y(this,2)};var GGc=function(a){_.J.call(this,a)};_.K(GGc,_.J);GGc.prototype.V=function(){return _.y(this,1)};GGc.prototype.O=function(){return _.y(this,2)};
var HGc=function(a){_.J.call(this,a)};_.K(HGc,_.J);var IGc=[1],JGc=function(a){_.J.call(this,a)};_.K(JGc,_.J);JGc.prototype.O=function(){return _.P(this,1)};JGc.prototype.V=function(){return _.P(this,2)};var KGc=function(a){_.J.call(this,a)};_.K(KGc,_.J);_.g=KGc.prototype;_.g.E9a=function(){return _.P(this,1)};_.g.F9a=function(){return _.P(this,2)};_.g.B9a=function(){return _.B(this,BGc,3)};_.g.G9a=function(){return _.Bj(this,3)};_.g.D9a=function(){return _.B(this,BGc,4)};
_.g.I9a=function(){return _.Bj(this,4)};_.g.C9a=function(){return _.y(this,5)};_.g.H9a=function(){return _.Bj(this,5)};var LGc=function(a){_.J.call(this,a)};_.K(LGc,_.J);_.g=LGc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Qp=function(){return _.Bj(this,1)};_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.Og=function(){return _.Bj(this,2)};_.g.Cf=function(){return _.y(this,5)};
_.g.Yl=function(a){return _.w(this,5,a)};_.g.A9a=function(){return _.Bj(this,5)};_.g.getCapabilities=function(){return _.B(this,JGc,3)};_.g.z9a=function(){return _.B(this,KGc,4)};var MGc=function(a){_.J.call(this,a,-1,IGc)};_.K(MGc,_.J);MGc.prototype.O=function(){return _.Uj(this,LGc,1)};var NGc=function(a,b){_.Jj(a,1,b)},OGc=function(a){_.J.call(this,a)};_.K(OGc,_.J);OGc.prototype.O=function(){return _.y(this,1)};OGc.prototype.fW=function(){return _.Bj(this,1)};
OGc.prototype.getOptions=function(){return _.B(this,MGc,2)};var PGc=function(a){_.J.call(this,a)};_.K(PGc,_.J);PGc.prototype.fW=function(){return _.Bj(this,1)};PGc.prototype.getOptions=function(){return _.B(this,GGc,2)};var QGc=function(a){_.J.call(this,a)};_.K(QGc,_.J);var RGc=function(a){_.J.call(this,a)};_.K(RGc,_.J);RGc.prototype.fW=function(){return _.Bj(this,1)};RGc.prototype.getOptions=function(){return _.B(this,QGc,2)};var IL=[3,4,5,6,7,8,9,10,11,12],SGc=function(a){_.J.call(this,a)};
_.K(SGc,_.J);_.g=SGc.prototype;_.g.TLa=function(a){return _.Vj(this,3,IL,a)};_.g.j4a=function(a){return _.Vj(this,4,IL,a)};_.g.y3a=function(a){return _.Vj(this,5,IL,a)};_.g.x3a=function(a){return _.Vj(this,6,IL,a)};_.g.l3a=function(a){return _.Vj(this,7,IL,a)};_.g.X3a=function(a){return _.Vj(this,8,IL,a)};_.g.W3a=function(a){return _.Vj(this,9,IL,a)};_.g.o4a=function(a){return _.Vj(this,10,IL,a)};_.g.ULa=function(a){return _.Vj(this,11,IL,a)};_.g.SLa=function(a){return _.Vj(this,12,IL,a)};
var TGc=function(a){_.J.call(this,a)};_.K(TGc,_.J);var UGc=function(a){_.J.call(this,a)};_.K(UGc,_.J);UGc.prototype.O=function(){return _.y(this,1)};UGc.prototype.fW=function(){return _.Bj(this,1)};UGc.prototype.getOptions=function(){return _.B(this,TGc,2)};var VGc=function(a){_.J.call(this,a)};_.K(VGc,_.J);_.g=VGc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.t9a=function(){return _.y(this,2)};_.g.xe=function(){return _.y(this,4)};
_.g.s9a=function(){return _.B(this,CGc,5)};_.g.getCapabilities=function(){return _.B(this,DGc,6)};_.g.y9a=function(){return _.y(this,7)};_.g.l3a=function(a){return _.Vj(this,13,HL,a)};_.g.r9a=function(){return _.bk(this,EGc,19,HL)};_.g.SLa=function(a){return _.Vj(this,19,HL,a)};_.g.x3a=function(a){return _.Vj(this,12,HL,a)};_.g.y3a=function(a){return _.Vj(this,11,HL,a)};_.g.gsb=function(){return _.bk(this,FGc,10,HL)};_.g.u9a=function(){return _.bk(this,OGc,15,HL)};
_.g.W3a=function(a){return _.Vj(this,15,HL,a)};_.g.v9a=function(){return _.bk(this,MGc,14,HL)};_.g.X3a=function(a){return _.Vj(this,14,HL,a)};_.g.j4a=function(a){return _.Vj(this,9,HL,a)};_.g.w9a=function(){return _.bk(this,GGc,8,HL)};_.g.TLa=function(a){return _.Vj(this,8,HL,a)};_.g.x9a=function(){return _.bk(this,UGc,18,HL)};_.g.ULa=function(a){return _.Vj(this,18,HL,a)};_.g.o4a=function(a){return _.Vj(this,17,HL,a)};var WGc=[5],XGc=function(a){_.J.call(this,a)};_.K(XGc,_.J);
XGc.prototype.ha=function(){return _.P(this,1)};XGc.prototype.O=function(){return _.P(this,2)};XGc.prototype.ka=function(){return _.P(this,3)};XGc.prototype.V=function(){return _.P(this,4)};var JL=function(a){_.J.call(this,a,-1,WGc)};_.K(JL,_.J);JL.prototype.getName=function(){return _.y(this,1)};JL.prototype.hd=function(a){return _.w(this,1,a)};JL.prototype.Om=function(){return _.y(this,2)};var YGc=function(a,b){return _.w(a,2,b)};JL.prototype.V=function(){return _.y(this,14)};
var ZGc=function(a,b){return _.w(a,14,b)};_.g=JL.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Cf=function(){return _.y(this,4)};_.g.Yl=function(a){return _.w(this,4,a)};_.g.J9a=function(){return _.y(this,15)};_.g.Ak=function(){return _.Uj(this,VGc,5)};
var $Gc=function(a,b){return _.Jj(a,5,b)},aHc=function(a,b){_.I(a,6,b)},bHc=function(a,b){_.I(a,7,b)},cHc=function(a,b){_.I(a,8,b)},dHc=function(a,b){return _.w(a,9,b)},eHc=function(a,b){return _.w(a,10,b)},fHc=function(a,b){return _.w(a,11,b)};JL.prototype.O=function(){return _.B(this,CGc,12)};var gHc=function(a,b){_.I(a,12,b)};JL.prototype.getCapabilities=function(){return _.B(this,XGc,13)};var hHc=function(a,b){_.I(a,13,b)};JL.prototype.getCustomer=function(){return _.y(this,16)};
var iHc=function(a,b){return _.w(a,16,b)},jHc=[5,7,9],kHc=function(a){_.J.call(this,a,-1,jHc)};_.K(kHc,_.J);_.g=kHc.prototype;_.g.getUser=function(){return _.B(this,_.Pk,1)};_.g.XA=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.Doa=function(a){return _.Hj(this,5,a)};_.g.addTextValues=function(a,b){return _.Lj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.w(this,6,a)};
_.g.zoa=function(a){return _.Hj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Lj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.qoa=function(a){return _.Hj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Lj(this,9,a,b)};var lHc=[7,10,12,16,13,3],KL=function(a){_.J.call(this,a,-1,lHc)};_.K(KL,_.J);var LL=function(a){return _.y(a,4)};_.g=KL.prototype;_.g.XA=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};
_.g.N9a=function(){return _.y(this,6)};_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.Doa=function(a){return _.Hj(this,7,a)};_.g.addTextValues=function(a,b){return _.Lj(this,7,a,b)};_.g.L9a=function(){return _.y(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.M9a=function(){return _.y(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};_.g.ELa=function(){return _.de(this,10)};_.g.zoa=function(a){return _.Hj(this,10,a)};
_.g.addSelectionValues=function(a,b){return _.Lj(this,10,a,b)};_.g.K9a=function(){return _.y(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.qoa=function(a){return _.Hj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Lj(this,12,a,b)};_.g.O9a=function(){return _.B(this,_.Pk,15)};_.g.setUserValue=function(a){return _.I(this,15,a)};_.g.eWa=function(){return _.Uj(this,_.Pk,16)};var mHc=function(a,b){_.Jj(a,16,b)};
KL.prototype.addUserValues=function(a,b){return _.Wj(this,16,a,_.Pk,b)};KL.prototype.O=function(){return _.y(this,17)};KL.prototype.setDateStringValue=function(a){return _.w(this,17,a)};KL.prototype.V=function(){return _.Bj(this,17)};var nHc=function(a,b){_.Jj(a,13,b)};KL.prototype.getId=function(){return _.y(this,14)};KL.prototype.Pb=function(a){return _.w(this,14,a)};KL.prototype.getName=function(){return _.y(this,1)};KL.prototype.hd=function(a){return _.w(this,1,a)};
var oHc=[2],ML=function(a){_.J.call(this,a,-1,oHc)};_.K(ML,_.J);ML.prototype.getName=function(){return _.y(this,1)};ML.prototype.hd=function(a){return _.w(this,1,a)};ML.prototype.O=function(){return _.Uj(this,KL,2)};var pHc=function(a,b){_.Jj(a,2,b)};ML.prototype.Ac=function(){return _.y(this,3)};qHc=function(a,b){return _.w(a,3,b)};_.qL=function(a){_.J.call(this,a)};_.K(_.qL,_.J);_.qL.prototype.getId=function(){return _.y(this,1)};_.qL.prototype.Pb=function(a){return _.w(this,1,a)};
_.qL.prototype.ue=function(){return _.B(this,_.Cf,3)};rHc=[3];_.NL=function(a){_.J.call(this,a,-1,rHc)};_.K(_.NL,_.J);_.NL.prototype.getType=function(){return _.y(this,1)};_.NL.prototype.Ac=function(){return _.y(this,2)};_.sHc=function(a){_.J.call(this,a)};_.K(_.sHc,_.J);_.sHc.prototype.getFeature=function(){return _.y(this,1)};tHc=[1];_.GK=function(a){_.J.call(this,a,-1,tHc)};_.K(_.GK,_.J);uHc=[2,3,8];_.SJ=function(a){_.J.call(this,a,-1,uHc)};_.K(_.SJ,_.J);
_.SJ.prototype.getId=function(){return _.y(this,1)};_.SJ.prototype.Pb=function(a){return _.w(this,1,a)};_.SJ.prototype.ue=function(){return _.B(this,_.Cf,4)};_.SJ.prototype.yc=function(){return _.y(this,5)};var vHc=function(a){_.J.call(this,a)};_.K(vHc,_.J);wHc=[1,2,4];xHc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};yHc=function(a,b){return new _.mrc(_.nrc.bound(a,b,void 0,void 0))};
zHc=function(){var a=new _.di,b=_.zrc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Id(_.tI(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.AHc=function(a){_.J.call(this,a)};_.K(_.AHc,_.J);_.AHc.prototype.Hp=function(){return _.y(this,1)};_.AHc.prototype.Ed=function(){return _.y(this,2)};_.AHc.prototype.setSize=function(a){return _.w(this,2,a)};_.AHc.prototype.getUrl=function(){return _.y(this,3)};
_.BHc=function(a){_.J.call(this,a)};_.K(_.BHc,_.J);_.BHc.prototype.getType=function(){return _.y(this,1)};CHc=[2,3];_.DHc=function(a){_.J.call(this,a,-1,CHc)};_.K(_.DHc,_.J);EHc=[4,5,6,17,18,24];_.OL=function(a){_.J.call(this,a,-1,EHc)};_.K(_.OL,_.J);_.OL.prototype.getId=function(){return _.y(this,1)};_.OL.prototype.Pb=function(a){return _.w(this,1,a)};_.OL.prototype.getName=function(){return _.y(this,2)};_.OL.prototype.hd=function(a){return _.w(this,2,a)};
var FHc=function(a,b){return _.Hj(a,4,b)},GHc=function(a,b){return _.Hj(a,5,b)};_.OL.prototype.HQ=function(){return _.y(this,8)};_.OL.prototype.getType=function(){return _.y(this,23)};var HHc=[3],PL=function(a){_.J.call(this,a,-1,HHc)};_.K(PL,_.J);PL.prototype.iq=function(){return _.y(this,1)};var IHc=function(a,b){return _.w(a,1,b)};PL.prototype.getTitle=function(){return _.y(this,2)};PL.prototype.setTitle=function(a){return _.w(this,2,a)};PL.prototype.wd=function(){return _.Uj(this,_.fl,3)};
var JHc=function(a,b){return _.Jj(a,3,b)};PL.prototype.nh=function(a,b){return _.Wj(this,3,a,_.fl,b)};PL.prototype.V=function(){return _.y(this,4)};var KHc=function(a,b){return _.w(a,4,b)};PL.prototype.O=function(){return _.B(this,_.Sk,5)};var LHc=function(a,b){return _.I(a,5,b)},DCc=function(a){_.J.call(this,a)};_.K(DCc,_.J);var MHc=[2],QL=function(a){_.J.call(this,a,-1,MHc)};_.K(QL,_.J);QL.prototype.Bb=function(){return _.y(this,1)};QL.prototype.Dc=function(a){return _.w(this,1,a)};
QL.prototype.wl=function(){return _.Uj(this,PL,2)};var NHc=function(a,b){return _.Jj(a,2,b)};QL.prototype.dg=function(){return _.y(this,4)};OHc=function(a,b){return _.w(a,4,b)};_.LK=function(a){_.J.call(this,a)};_.K(_.LK,_.J);_.g=_.LK.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.BT=function(){return _.Gj(this,2,void 0,_.xG)};_.g.ek=function(){return _.y(this,3)};_.g.$e=function(){return _.y(this,5)};_.g.Ki=function(a){return _.w(this,5,a)};
var PHc=[1],rL=[1,2,3,4,5,6,7],hCc=function(a){_.J.call(this,a)};_.K(hCc,_.J);var iCc=function(a){_.J.call(this,a,-1,PHc)};_.K(iCc,_.J);var RL=function(a){_.J.call(this,a)};_.K(RL,_.J);RL.prototype.getQuery=function(){return _.B(this,_.of,1,1)};var QHc=function(a,b){return _.I(a,1,b)};RL.prototype.Zn=function(){return _.y(this,4)};var RHc=function(a,b){return _.I(a,5,b)},SHc=[1,2,5,7,9,10,12,14],SL=function(a){_.J.call(this,a,-1,SHc)};_.K(SL,_.J);SL.prototype.wd=function(){return _.Uj(this,_.fl,1)};
var THc=function(a,b){return _.Jj(a,1,b)};SL.prototype.nh=function(a,b){return _.Wj(this,1,a,_.fl,b)};SL.prototype.Tga=function(a){_.Wj(this,2,a,_.Pk,void 0)};var UHc=function(a,b){return _.w(a,3,b)};SL.prototype.bo=function(){return _.y(this,4)};SL.prototype.Eu=function(a){return _.w(this,4,a)};var VHc=function(a,b){return _.Jj(a,5,b)};SL.prototype.sv=function(){return _.P(this,6)};var WHc=function(a,b){return _.w(a,6,b)};SL.prototype.jf=function(){return _.B(this,_.nC,8)};
var XHc=function(a,b){return _.Hj(a,12,b)};SL.prototype.Yn=function(){return _.Ej(this,13,0)};var YHc=function(a,b){return _.w(a,13,b)},ZHc={GUb:0,EUb:1,p_b:2,y5b:3,B5b:4},pL=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],fCc=function(a){_.J.call(this,a)};_.K(fCc,_.J);var mCc=[1,2],lCc=function(a){_.J.call(this,a)};_.K(lCc,_.J);var pCc=[1,2,3],oCc=function(a){_.J.call(this,a)};_.K(oCc,_.J);
var $Hc=function(a,b){return 1<a?2===b:a===b},aIc=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("Te");},TL=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=TL.prototype;_.g.clone=function(){return new TL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.bz=function(a){this.V=a};_.g.equals=function(a){return this.count===a.$b()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Yj(this.item,a.getItem())};
var bIc=function(a,b){a.H=b;return a},VL=function(a){return a instanceof _.fl?null!=a.getId()&&a.getId()==a.yc():null!=a.Ac()&&a.Ac()==a.yc()},cIc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.ig();null!=e&&zBc(a,e.clone());if((e=b.getCapabilities())&&null!=_.P(e,13)){var f=a.getCapabilities()||new _.Vk,h=_.P(e,13);_.w(f,13,h);_.pK(a,f)}e&&null!=_.P(e,18)&&(f=a.getCapabilities()||new _.Vk,e=_.P(e,18),_.w(f,18,e),_.pK(a,f));lL(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.ig()&&lL(a,d,c)},dIc=function(a,b,c){c=void 0===c?[]:c;if(!b||!VL(a)&&!VL(b))return a;if(2==a.sv()){c=_.y(a,82);var d=b.clone();cIc(d,a);_.Wvc(d,b.sv());_.bJ(d,c);return d}a=a.clone();cIc(a,b,c);return a},eIc=function(a){return(a=a?a.ig():null)&&_.P(a,7)||!1},fIc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},gIc=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]={}})},iIc=function(a,b,c){b.every(function(d){return VL(d)})?hIc(b,c,a.H,a.O):b.every(function(d){return!VL(d)})&&hIc(b,c,a.items,a.fields)},hIc=function(a,b,c,d){b=_.xuc(b,[].concat(_.xd(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Hf();e=e?_.ie(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&&lL(d,k,[h]);e&&(k=c[h][e.getId()])&&lL(e,k,[h])}}};
fIc.prototype.update=function(a,b,c){b&&VL(b)?jIc(a,b,this.H,this.O,c):jIc(a,b,this.items,this.fields,c)};fIc.prototype.pJ=function(a){var b=this;_.La(this.items,function(c,d){_.Va(b.items[d],a)});_.La(this.H,function(c,d){_.Va(b.H[d],a)})};
var jIc=function(a,b,c,d,e){_.La(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.Va(f,a):b&&wBc(b,[h])&&(f[a]=kIc(b,h)),b)){var k=b.Hf();(k=k?_.ie(k):null)&&wBc(k,[h])&&(f[k.getId()]=kIc(k,h))}});b&&sBc(b,[].concat(_.xd(d)))},kIc=function(a,b){var c=new _.fl;c.Pb(a.getId());lL(c,a,[b]);return c};fIc.prototype.clear=function(){var a=this;_.La(this.items,function(b,c){a.items[c]={}});_.La(this.H,function(b,c){a.H[c]={}})};
fIc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var lIc=function(a,b,c){var d=this;this.qt=b;this.zv=c;this.Hd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=lIc.prototype;_.g.oy=function(){return this.Hd};_.g.hk=function(a){var b=new Map;a=_.m(a.qn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Hd.has(c)&&b.set(c,this.Hd.get(c).getItem());return b};
_.g.query=function(a,b){var c=[];if(mIc(a)){for(var d=_.m(this.Hd.values()),e=d.next();!e.done;e=d.next())e=e.value,WL(this.qt,a,e.getItem())&&(void 0===b||$Hc(e.V,b))&&c.push(e);this.zv.sort(a,c)}return c};_.g.get=function(a){return this.Hd.get(a)||null};_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Hd.get(c.value))&&b.push(c);return b};
_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,nIc(this,a.H)?(this.Hd.delete(a.id),a.H.count--):this.Hd.set(a.id,a.H)):(this.Hd.delete(a.id),a.O.count--)};var nIc=function(a,b){return 1<b.$b()||$Hc(b.V,2)||b.getItem().EI()||SBc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};lIc.prototype.pJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b=b.value,nIc(this,b)&&(this.Hd.delete(b.getId()),b.count--)};
var oIc=function(a,b,c,d){this.Lg=a;this.W=b;this.O=c;this.V=d},ECc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),iIc(a.V,[b.getItem()],LFc(a.Lg)),b):null};oIc.prototype.H=function(a){return(a=ECc(this,a))?a.getItem():null};var pIc=function(a,b){var c={};b.forEach(function(d){var e=ECc(a,d);e&&(c[d]=e)});return c},qIc=function(a,b){return _.Na(pIc(a,b),function(c){return c.getItem()})},rIc=function(a,b){b=XL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};
oIc.prototype.query=function(a){return rIc(this,a).map(function(b){return b.getItem()})};oIc.prototype.Ed=function(){return this.O.oy().size};
var sIc=function(a){var b=new Set;a=_.m(a.O.oy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.gl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||jL(e));(d=c.zm())&&b.add(d.getId()||jL(d));(d=c.St())&&b.add(d.getId()||jL(d));(d=c.Iq())&&b.add(d.getId()||jL(d));(c=c.jD())&&b.add(c.getId()||jL(c))}return b.size},tIc=function(a){return[].concat(_.xd(new Set(a.map(function(b){return _.ptc.get(b)}).filter(function(b){return b})))).join(",")},YL=function(a,
b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.xd(b));b=tIc(b);var d=_.PI(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+")"},uIc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+YL(a,b,!1)+")"},vIc=function(a){var b=new _.Vo;_.FK(b,"hidden",_.P(a,4));a=_.P(a,6);null!=a&&_.FK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},wIc=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}},xIc=function(a){var b=_.Lqc(),c={};b&&(c.numeric=b);this.H=_.Mqc(a,c)};xIc.prototype.compare=function(a,b,c){b=yIc(b);c=yIc(c);a=a.wc();var d=wIc(a);if(a&&d){d=zIc(this,a);var e=4===a.getType()?this.H:_.Ea;return AIc(a,d,e,b,c)}return _.Ea(b.getId(),c.getId())};
xIc.prototype.sort=function(a,b,c){a=a.wc();var d=wIc(a);a&&d&&(d=zIc(this,a),d=BIc(b,d),_.Ga(b,CIc(this,a,d)));c&&0<c&&_.Aa(b,c,b.length-c)};
var yIc=function(a){return a instanceof _.fl?a:a.getItem()},zIc=function(a,b){b=wIc(b);return _.M(a.O,a,b,_.Ea)},BIc=function(a,b){var c={};a.forEach(function(d){d=yIc(d);var e=d.getId();c[e]=b(d)});return c},CIc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ea;d=yIc(d);e=yIc(e);return AIc(b,function(h){return c[h.getId()]},f,d,e)}},AIc=function(a,b,c,d,e){var f=1===a.nf()?1:-1;if(_.P(a,3)){a=oL(d,!0);var h=oL(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ea(d.getId(),
e.getId()))};xIc.prototype.O=function(a,b,c){for(var d=DIc(a[0],c),e=1;e<a.length;e++){var f=DIc(a[e],c);d=1===b(f,d)?f:d}return d};
var DIc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.dB()||!1;case 12:return b.oz()||0;case 11:return b.tB()||0;case 10:return b.yq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Ay()||0;case 57:return _.y(b,62)||0;case 32:return b.Tu()||0;case 9:return b.WC()||0;case 67:return b.PJ()||0;case 98:return b.aw()||0;default:return""}},EIc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.Aq=_.mI(_.AI(b));
a=_.fK(b);this.V=!(!a||!_.Q(a,1,!1));this.O=!(!a||!_.Q(a,8,!1))};EIc.prototype.Eu=function(a){this.rootId=a||""};
var XL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Ll(b).filter(function(d){return"root"===d.Za()}).forEach(function(d){return d.Jb(a.rootId)});_.wf(b,_.Kl(b).map(function(d){d.Jb(d.Za().toLowerCase());return d}));c&&_.Jl(b,a.fields);b.O().sort();return b},FL=function(a,b,c){if(b instanceof _.of){b=XL(a,b);var d=_.pxc(b)}else if(b instanceof _.xA)d=b.qn().sort().join(","),_.Q(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.oI)return d=vIc(b),d+"|tdList";if(b instanceof _.wG)return d=
b.qn().sort().join(","),b.O().length&&(d+="|"+tIc(b.O())),d+"|tdMap";throw Error("Xe");}return 3===c?d:d+"|"+FIc(a,b.O(),2===c)},FIc=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(_.xd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.kJ({fields:[].concat(_.xd(f)),Aq:a.Aq}));e.size&&(d=d+" + "+_.kJ({fields:[].concat(_.xd(e)),Aq:a.Aq}));
return d};EIc.prototype.equals=function(a,b,c){var d;c&&(d=3);return FL(this,a,d)===FL(this,b,d)};
var vGc=function(a){if(!a.qn().every(function(b){return!_.ve(b)}))throw new _.Ac("Invalid ids for FindByIdsRequest");},HIc=function(a,b,c){if(_.HJ(b))throw new _.Ac("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");GIc(a,b,c)},GIc=function(a,b,c){var d;a.O||(d=_.hJ(3));if(b.getId())throw new _.Ac("Use findByIds() for find by id queries.",d?d:_.hJ(3));if(!b.Di()||0>=b.Di())throw new _.Ac("A positive limit is required on an ItemQueryRequest.",d?d:_.hJ(3));
_.de(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),IIc(a,d,b.O()));if(c=(c=b.wc())&&wIc(c))d=b.O().length?b.O():a.fields,IIc(a,d,c);if(_.GJ(b)){if(a.Aq)throw new _.Ac("User must be authenticated for a Quick Access request.");if(!JIc(a)&&20<b.Di())throw new _.Ac("Limit must be in the range [1, 20].");c=2===_.sK(b);d=_.de(b,33).length;if(c&&1!==d||d&&!c)throw new _.Ac("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Kj(_.qb(_.Ij(_.qb(_.qb(_.qb(_.EI(_.qb(_.Ij(_.EI(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.of;if(!_.Yj(c,d))throw new _.Ac("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: "+hGc(d,c));}else if(_.Q(b,74,!1))throw new _.Ac("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.Aq)throw new _.Ac("User must be authenticated for a DrivePriority request.");if(2===
_.sK(b))throw new _.Ac("Team Drive corpora is not valid for a Drive Priority request.");a=_.qb(_.qb(_.qb(_.Ij(_.EI(b.clone(),1),30),32),45),52);b=new _.of;if(!_.Yj(a,b))throw new _.Ac("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+hGc(b,a));}},KIc=function(a,b,c){if(!_.HJ(b))throw new _.Ac("Expected a PeoplePredict request.");GIc(a,b,c);if(a.Aq)throw new _.Ac("User must be authenticated for a People Predict request.");
if(2===_.sK(b))throw new _.Ac("Team Drive corpora is not valid for a People Predict request.");a=_.qb(_.qb(_.qb(_.Ij(_.EI(b.clone(),1),30),32),45),49);b=new _.of;if(!_.Yj(a,b))throw new _.Ac("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+hGc(b,a));},IIc=function(a,b,c){var d;a.O||(d=_.hJ(3));if(!xBc(b,c,_.vuc)){var e=_.kJ({fields:c,Aq:a.Aq}),f=_.kJ({fields:b,Aq:a.Aq});a=_.kJ({fields:yBc(c,
b),Aq:a.Aq});throw new _.Ac("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.hJ(3));}},JIc=function(a){return 200<=_.uK(a.H)&&300>_.uK(a.H)},LIc=function(a){var b=new Set;a=_.m(_.Kl(a));for(var c=a.next();!c.done;c=a.next())switch(_.MOa(c.value.Za())){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(_.xd(b))},MIc=function(a){switch(_.uK(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"}},NIc=function(a){_.N.call(this);this.H=a};_.Yf(NIc,_.N);_.g=NIc.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.kO=function(a){this.H.addCallback(function(b){b.kO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();NIc.wb.Ya.call(this)};
var $Bc=function(a){_.cz.call(this);this.H=a;this.V=_.Me(this.H,"message",this.fob,!1,this)};_.Yf($Bc,_.cz);_.g=$Bc.prototype;_.g.Od=null;_.g.send=function(a,b){var c=[];b=this.eya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.ztc&&(a=(0,_.Hi)(a));this.H.postMessage(a,c)};
_.g.fob=function(a){a=a.Ce;var b=a.data;if(_.ztc)try{b=JSON.parse(b)}catch(e){return}if(_.Ba(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.yBa(a.ports||[],b),d.oEa),null!=b&&d.callback(b))}};
_.g.eya=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.eya,this,a)):b&&b.constructor==Object?_.Na(b,function(c,d){c=this.eya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.yBa=function(a,b){return Array.isArray(b)?b.map((0,_.M)(this.yBa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Na(b,function(c,d){return this.yBa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Ai(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;$Bc.wb.Ya.call(this)};
var cCc=function(a,b){if("*"==b)return new NIc(_.ki(Error("Ye")));var c=new _.Di(50),d=_.Eb(_.aa,c),e=new _.di(d);_.fi(e,d);c.start();_.Me(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new $Bc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new NIc(e)},OIc=function(a){_.N.call(this);this.H=new _.Nqc(a);this.V={};this.O=_.Pqc(this.H,
"private");this.W=_.Pqc(this.H,"public");this.O.registerService("mics",(0,_.M)(this.Alb,this),!0)};_.Yf(OIc,_.N);_.g=OIc.prototype;_.g.dFb=0;_.g.Ya=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.dFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Alb=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.zlb,this,b),!0)};
_.g.zlb=function(a,b){a=a(b.data);var c=b.signature;_.Yh(a).then((0,_.M)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var PIc=function(a,b){_.N.call(this);this.W=b;this.started=!1;this.V=new _.Nqc(a);this.Ma(this.V);this.H=new OIc(_.Pqc(this.V,"direct"));this.Ma(this.H)};_.K(PIc,_.N);PIc.prototype.registerService=function(a,b){this.H.registerService(a,b)};PIc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.Uf)(d)})};
var bCc=function(a,b){PIc.call(this,a,b);this.O=new OIc(_.Pqc(this.V,"passthrough"));this.Ma(this.O)};_.K(bCc,PIc);var ZL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},$L=function(a,b,c,d){a.O.send(b,c||{},d||_.Uf)};bCc.prototype.start=function(){this.started||(this.started=!0)};var XBc=[],QIc=function(){_.cz.call(this);this.H=null};_.K(QIc,_.cz);QIc.prototype.send=function(a,b){_.m9a(this.H,a,b)};
var dCc=function(){this.O=new QIc;this.H=new QIc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},RIc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},SIc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&WBc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},TIc=function(a){var b=new RIc(a.c,a.m,a.a,a.req);b.H=a.s;return b},UIc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},VIc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&WBc(a.data);return{d:a.data,err:a.error&&b?a.error.Lc():a.error,uid:a.O,s:b}},WIc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.zc(JSON.parse(a.err)):c;a=new UIc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},VBc=function(a,b){this.H=a;this.FD=b};VBc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.FD[b];return a};
VBc.prototype.Lc=function(){for(var a={},b={},c=0;c<this.FD.length;c++){var d=this.FD[c],e=this.H[c];d instanceof Error?b[e]=_.XI(d).Lc():a[e]=d.Lc()}return{r:a,e:b}};XIc=function(a,b){if(b){var c=[],d=[];_.La(a.r,function(e,f){c.push(f);d.push(new _.dK(JSON.parse(e)))});_.La(a.e,function(e,f){c.push(f);e=new _.zc(JSON.parse(e));d.push(_.iJ(e))});return new VBc(c,d)}return a};aCc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
_.MK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.I_=void 0===c?null:c};_.NK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};YIc=function(a){_.NK.call(this,a,void 0,void 0,void 0);this.i3a=new _.Fn};_.K(YIc,_.NK);ZIc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.PK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.I_=void 0===c?null:c};
_.OK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.I_=void 0===c?null:c};_.QK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};$Ic={mTb:0,ITb:1,BZb:3,Q6b:5,Mhb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.sJ=function(a){_.J.call(this,a)};_.K(_.sJ,_.J);_.sJ.prototype.Nh=function(){return _.y(this,1)};_.sJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.vJ=function(a){_.J.call(this,a)};_.K(_.vJ,_.J);
_.vJ.prototype.Ac=function(){return _.y(this,1)};_.vJ.prototype.ue=function(){return _.B(this,_.Cf,3)};_.DJ=function(a){_.J.call(this,a)};_.K(_.DJ,_.J);_.DJ.prototype.Nh=function(){return _.y(this,1)};_.DJ.prototype.ue=function(){return _.B(this,_.Cf,2)};_.EJ=function(a){_.J.call(this,a)};_.K(_.EJ,_.J);_.EJ.prototype.Nh=function(){return _.y(this,1)};_.EJ.prototype.ue=function(){return _.B(this,_.Cf,2)};_.FJ=function(a){_.J.call(this,a)};_.K(_.FJ,_.J);_.g=_.FJ.prototype;
_.g.Ac=function(){return _.y(this,1)};_.g.zf=function(){return _.y(this,2)};_.g.getType=function(){return _.y(this,3)};_.g.Za=function(){return _.y(this,4)};_.g.Jb=function(a){return _.w(this,4,a)};_.g.Ti=function(){return _.qb(this,4)};_.g.Og=function(){return _.Bj(this,4)};_.g.ue=function(){return _.B(this,_.Cf,7)};_.MJ=function(a){_.J.call(this,a)};_.K(_.MJ,_.J);_.MJ.prototype.Ac=function(){return _.y(this,1)};_.MJ.prototype.ue=function(){return _.B(this,_.Cf,2)};
_.MJ.prototype.Di=function(){return _.Zj(this,3,1E3)};_.MJ.prototype.ti=function(a){return _.w(this,3,a)};_.QJ=function(a){_.J.call(this,a)};_.K(_.QJ,_.J);_.QJ.prototype.ue=function(){return _.B(this,_.Cf,1)};var aJc=function(){var a=new _.QJ,b=_.Df(new _.Cf,301);return _.I(a,1,b)};_.QJ.prototype.yc=function(){return _.y(this,3)};_.Tuc=function(a){_.J.call(this,a)};_.K(_.Tuc,_.J);_.Tuc.prototype.yc=function(){return _.y(this,1)};_.UJ=function(a){_.J.call(this,a)};_.K(_.UJ,_.J);
_.UJ.prototype.Nh=function(){return _.y(this,1)};_.UJ.prototype.ue=function(){return _.B(this,_.Cf,4)};var bJc=function(a){_.J.call(this,a)};_.K(bJc,_.J);cJc=function(a,b){return _.w(a,1,b)};_.tJ=function(a){_.J.call(this,a)};_.K(_.tJ,_.J);_.tJ.prototype.getId=function(){return _.y(this,1)};_.tJ.prototype.Pb=function(a){return _.w(this,1,a)};_.JJ=function(a){_.J.call(this,a)};_.K(_.JJ,_.J);_.JJ.prototype.getId=function(){return _.y(this,1)};_.JJ.prototype.Pb=function(a){return _.w(this,1,a)};
_.Guc=function(a){_.J.call(this,a)};_.K(_.Guc,_.J);var dJc=function(a,b,c){_.Ci.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(dJc,_.Ci);dJc.prototype.IB=function(){return this.O};dJc.prototype.cQ=function(){var a=this;if(this.W)return this.W;var b=_.bi();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);eJc(this,b);return b.promise};
dJc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,fJc(this))};dJc.prototype.va=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 AGc("tb")))};
var gJc=function(a,b){a.ha=b},fJc=function(a){a.H||(a.H=new _.dyc(5E3),a.timeout=_.n.setTimeout(function(){return hJc(a)},a.H.Za()))},hJc=function(a){eJc(a);a.H&&(_.wI(a.H),a.timeout=_.n.setTimeout(function(){return hJc(a)},a.H.Za()))},eJc=function(a,b){var c=_.Yh();a.ha&&(c=a.ha());c.then(function(){return iJc(a,b)})},iJc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Re(new _.Uuc)});b?c.then(function(){b.resolve(cJc(new bJc,1))},function(d){var e=_.PB(d).Sg;
d=0;_.Mtc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.nq(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new bJc;cJc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.PB(d);_.Mtc(d.Sg)&&a.V&&(a.dispatchEvent(new AGc("ub")),a.V=!1)})};dJc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};_.Vuc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.Kuc=function(a){this.H=a;this.type=1};_.Luc=function(a){this.H=a;this.type=0};_.Suc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};jJc=function(a){return _.bk(a,_.QI,3,_.RI)||_.bk(a,_.$J,4,_.RI)||_.bk(a,_.TK,5,_.RI)||_.bk(a,_.XJ,6,_.RI)||_.bk(a,_.xJ,7,_.RI)||_.bk(a,_.qJ,8,_.RI)||_.bk(a,_.uJ,9,_.RI)||_.bk(a,_.ZI,10,_.RI)};kJc=function(a){_.J.call(this,a)};_.K(kJc,_.J);_.g=kJc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};
_.g.Uz=function(){return _.y(this,3)};_.g.Le=function(){return _.y(this,4)};_.g.Li=function(a){return _.w(this,4,a)};var lJc=function(a){this.Od=a;this.H=new Map;this.O=this.Od.W};
lJc.prototype.create=function(a,b){if(0!=SFc(b)){var c=this.Od.H(106001);if(c){var d=SFc(b),e=zL(c);_.w(e,2,d);d=zL(c);e=null;if(b instanceof _.GG||b instanceof _.xA||b instanceof _.of||b instanceof _.KJ||b instanceof _.LD||b instanceof _.wG||b instanceof _.oI||b instanceof _.BI||b instanceof _.yG||b instanceof _.kA)e=b.ue();e=e&&_.Q(e,2,!1);_.w(d,7,"boolean"==typeof e?e:void 0);d=zL(c);b=b instanceof _.of?0<_.Ll(b).length:void 0;_.w(d,8,b);this.H.set(a,c)}}};
var mJc=function(a,b,c){if(a=a.H.get(b))a=zL(a),_.w(a,5,c)},nJc=function(a,b,c){(a=a.H.get(b))&&_.P(zL(a),8)&&(a=zL(a),_.w(a,9,c))},oJc=function(a,b,c,d,e){var f=a.H.get(b);f&&(zL(f).Dc(c),zL(f).Ki(d),null!=e&&(c=zL(f),_.w(c,6,e)),f.xj(),a.H.delete(b))},pJc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=TFc(c);if(1==e||2==c)e=_.IK(_.Ctc,c),d=zL(d),d=3==e||8==e?!_.P(d,5):0!=e?_.Ytc.has(e):null,oJc(a,b,1,e,d)}},qJc=function(a,b,c){var d=a.O.Bb(c);d=_.IK(_.Btc,d||22);var e=TFc(c);e=_.IK(_.Ctc,
e);oJc(a,b,d,e,"undefined"!=typeof _.MK&&c instanceof _.MK||"undefined"!=typeof _.OK&&c instanceof _.OK||"undefined"!=typeof _.PK&&c instanceof _.PK?c.I_:null)},aM=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(zL(d).Dc(c),d.xj(),a.H.delete(b))},rJc=[2,4],bM=function(a){_.J.call(this,a,-1,rJc)};_.K(bM,_.J);bM.prototype.Bb=function(){return _.y(this,1)};bM.prototype.Dc=function(a){return _.w(this,1,a)};bM.prototype.ek=function(){return _.y(this,3)};
var sJc=[2],cM=function(a){_.J.call(this,a,-1,sJc)};_.K(cM,_.J);cM.prototype.Bb=function(){return _.y(this,1)};cM.prototype.Dc=function(a){return _.w(this,1,a)};cM.prototype.O=function(){return _.Uj(this,ML,2)};var tJc=function(a,b){return _.Jj(a,2,b)};cM.prototype.ek=function(){return _.y(this,3)};var uJc=[4,9],vJc=function(a){_.J.call(this,a,-1,uJc)};_.K(vJc,_.J);_.g=vJc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.vVa=function(){return _.y(this,2)};
_.g.HLa=function(){return _.y(this,3)};_.g.Wrb=function(){return _.Uj(this,_.TI,4)};var wJc={x6b:0,$0b:1,c1b:2,a1b:4,IZb:5,WWb:6,PZb:7,p1b:8},xJc=function(a){_.J.call(this,a)};_.K(xJc,_.J);xJc.prototype.getUrl=function(){return _.y(this,1)};var dM=function(a){_.J.call(this,a)};_.K(dM,_.J);var yJc=function(a,b){return _.w(a,1,b)};dM.prototype.getName=function(){return _.y(this,2)};dM.prototype.hd=function(a){return _.w(this,2,a)};dM.prototype.getEmail=function(){return _.y(this,3)};
var zJc=function(a,b){return _.w(a,3,b)};dM.prototype.qp=function(){return _.Bj(this,3)};var AJc=[1],BJc=function(a){_.J.call(this,a,-1,AJc)};_.K(BJc,_.J);var CJc=function(a,b){return _.Jj(a,1,b)},DJc=[2],eM=function(a){_.J.call(this,a,-1,DJc)};_.K(eM,_.J);eM.prototype.Bb=function(){return _.y(this,1)};eM.prototype.Dc=function(a){return _.w(this,1,a)};eM.prototype.wl=function(){return _.Uj(this,_.xG,2)};var EJc=function(a,b){return _.Jj(a,2,b)};eM.prototype.ek=function(){return _.y(this,3)};
var FJc=function(a){_.J.call(this,a)};_.K(FJc,_.J);_.g=FJc.prototype;_.g.Ac=function(){return _.y(this,1)};_.g.Bb=function(){return _.y(this,2)};_.g.Dc=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.B(this,_.zc,3)};_.g.Je=function(a){return _.I(this,3,a)};_.g.eo=function(){return _.Bj(this,3)};var GJc=[1],HJc=function(a){_.J.call(this,a,-1,GJc)};_.K(HJc,_.J);var IJc=function(a,b){return _.Hj(a,1,b)},JJc=function(a,b){this.O=a|0;this.H=b|0};
JJc.prototype.equals=function(a){return this===a?!0:a instanceof JJc?this.O===a.O&&this.H===a.H:!1};JJc.prototype.Ec=function(){return 31*this.O+17*this.H|0};
var KJc=function(a,b){return new JJc(a,b)},LJc=function(a,b){b=~b;a?a=~a+1:b+=1;return KJc(a,b)},MJc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?LJc:KJc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},NJc=function(){this.H=this.W=this.O=this.V=null},OJc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=null;this.started=!1},fM=function(a,b,c){if(a.started)throw Error("gf");c={Fo: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)}},gM=function(a,b){if(!a.started)throw Error("hf");if(!a.enabled)throw Error("jf`"+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.Fo.delete(b);if(0===e.Fo.size)try{e.callback()}catch(f){throw a.enabled=!1,a.error=f?_.iJ(f):null,f;}}}};OJc.prototype.H=function(a){return this.V.has(a)};
OJc.prototype.start=function(){this.started=!0};OJc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var PJc=function(a,b,c){this.id=a;this.O=b;this.H=c},QJc=function(a,b){return new PJc((a?a:b).getId(),a,b)},hM=function(a){return new PJc(a.getId(),null,a)},RJc=function(a,b){this.qt=a;this.zv=b;this.TG=!0;this.Q7=!1;this.Ke=0},iM=function(a,b){(a.TG=b)||a.pJ()};_.g=RJc.prototype;
_.g.zka=function(a,b){if(5===this.vE(a))throw Error("kf");for(var c=[],d=_.m(this.oy()),e=d.next();!e.done;e=d.next())e=e.value,WL(this.qt,a,e.getItem())&&c.push(e);this.zv.sort(a,c,b);return c};_.g.Ed=function(){return this.oy().length};_.g.hk=function(a,b){a=this.zka(a,b);a=uCc(a);b=new _.oB;b.Vw(a);b.Dc(this.yN()?6:1);return b};_.g.update=function(a){var b=this.vs(a.O),c=this.vs(a.H);if(!b&&!c)return!1;b&&this.gJ(a.O);c&&this.nR(a.H);return!0};
_.g.vE=function(a){return this.TG&&this.Q7?mIc(a)?1:5:5};_.g.WW=function(){this.Q7=!0};_.g.vs=function(a){return!!a&&this.TG};_.g.Ki=function(a){this.Ke=a};_.g.$e=function(){return this.Ke};var jM=function(a,b,c,d,e,f){f=void 0===f?"":f;RJc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Hd=[];this.O={};this.request=XL(c,d,!0);this.W=FL(c,d);this.H=!e;SJc(this,e);this.V=function(k,l){return h.zv.compare(h.request,k,l)}};_.K(jM,RJc);_.g=jM.prototype;_.g.ud=function(){return this.request};
_.g.KM=function(){return this.W};_.g.nR=function(a){var b=this.O[a.getId()];b&&this.gJ(b);mBc(this.Hd,a,this.V);this.O[a.getId()]=a;a.count++;this.Hd.length>this.request.Di()&&(this.gJ(_.ia(this.Hd)),this.H=!1)};_.g.gJ=function(a){var b=this.Hd,c=_.Fa(b,a,this.V);0<=c&&_.sa(b,c);_.Va(this.O,a.getId());a.count--};_.g.pJ=function(){this.Hd.forEach(function(a){a.count--});this.Hd=[];this.O={}};_.g.oy=function(){return this.Hd};
_.g.vE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=xBc(b,a,_.vuc);return b?this.H?1:6:5};_.g.zka=function(a,b){if(5===this.vE(a))throw Error("kf");b=b?Math.min(b,this.Hd.length):this.Hd.length;return _.za(this.Hd,0,b)};_.g.vs=function(a){if(!RJc.prototype.vs.call(this,a)||!WL(this.qt,this.request,a.getItem()))return!1;if(this.H||_.Q(this.request,48,!1))return!0;var b=_.ia(this.Hd);return!!b&&0>=this.V(a,b)};_.g.yN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.yl=function(a,b){var c=this,d=_.ia(this.Hd);!this.H&&d&&_.ma(a,function(e){return e.getId()===d.getId()})&&(b?(this.gJ(d),SJc(this,_.ia(a))):this.H=!0);_.Ia(a,function(e){c.update(hM(e))})};var SJc=function(a,b){b&&WL(a.qt,a.request,b.getItem())&&a.nR(b)};jM.prototype.xy=function(){return this.nextPageToken};var kM=function(a,b){RJc.call(this,a,b);this.Hd=new Map};_.K(kM,RJc);kM.prototype.nR=function(a){this.Hd.set(a.getId(),a);a.count++};
kM.prototype.gJ=function(a){this.Hd.delete(a.getId());a.count--};kM.prototype.pJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Hd=new Map};kM.prototype.oy=function(){return Array.from(this.Hd.values())};var lM=function(a,b){kM.call(this,a,b);this.WW()};_.K(lM,kM);_.g=lM.prototype;
_.g.vE=function(a){var b=this,c=kM.prototype.vE.call(this,a);if(5===c)return c;if(0<_.de(a,33).length)return 5;a=_.Ll(a);return 0<a.length?a.every(function(d){return(d=b.Hd.get(d.Za()))&&!d.getItem().yc()&&d.H})?1:5:5};_.g.vs=function(a){return kM.prototype.vs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().yc())};_.g.zka=function(a,b){for(var c=[],d=_.m(this.oy()),e=d.next();!e.done;e=d.next())e=e.value,WL(this.qt,a,e.getItem())&&c.push(e);this.zv.sort(a,c,b);return c};_.g.ud=function(){return new _.of};
_.g.KM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.yN=function(){return!1};var TJc=function(a){return[].concat(_.xd(a.Hd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},mM=function(a,b,c,d){kM.call(this,a,b);var e=this;this.H=d;fM(c,["aU7Ts","BNEDtc"],function(){return e.WW()})};_.K(mM,kM);
mM.prototype.vE=function(a){var b=this,c=kM.prototype.vE.call(this,a);if(5==c)return c;if(0<_.de(a,33).length)return 5;a=_.Ll(a);return 0<a.length&&!a.every(function(d){d=b.Hd.get(d.Za());return null!=d&&!d.getItem().yc()&&GBc(d.getItem())&&!_.P(d.getItem(),108)})?5:1};mM.prototype.vs=function(a){return kM.prototype.vs.call(this,a)&&UJc(this,a.getItem())};var UJc=function(a,b){if(_.P(b,31)||!a.Q7)return!0;var c=a.H();return b.wk().some(function(d){var e=a.Hd.get(d);return d==c||null!=e&&GBc(e.getItem())})};
_.g=mM.prototype;_.g.WW=function(){kM.prototype.WW.call(this);for(var a=_.m(this.Hd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;UJc(this,c.getItem())||(c.count--,this.Hd.delete(b))}};_.g.ud=function(){return new _.of};_.g.KM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.yN=function(){return!1};
var VJc=/^[\x00-\x7F]*$/,nM=function(){this.H=[this.W,this.O,this.V,this.ha,this.eEb,this.aEb,this.RDb,this.UDb,this.TDb,this.YDb,this.PDb,this.SDb,this.ZDb,this.$Db,this.bEb,this.QDb,this.dEb,this.cEb,this.MDb,this.WDb,this.VDb,this.NDb,this.XDb,this.fEb,this.ODb];this.rootId=""};nM.prototype.Eu=function(a){this.rootId=a||""};
var mIc=function(a){return WJc(a)&&0==_.de(a,40).length&&void 0==_.y(a,41)},WJc=function(a){var b=!0;_.Uj(a,_.qf,13).forEach(function(d){"me"!=d.Za()&&(b=!1)});var c=a.wc();c=!c||5!=c.getType();return 0==_.Uj(a,_.Fl,5).length&&0==_.Uj(a,_.qf,14).length&&0==_.Uj(a,_.qf,15).length&&!_.Bj(a,58)&&!_.P(a,18)&&!_.P(a,34)&&0==_.Uj(a,_.yl,35).length&&0==_.Uj(a,_.yl,38).length&&c&&b&&0==_.de(a,39).length&&!_.y(a,42)&&0==_.Uj(a,_.xl,44).length&&!_.GJ(a)&&!_.HJ(a)&&!_.IJ(a)&&0==_.Uj(a,_.zl,57).length&&XJc(a)&&
!_.B(a,_.Qoa,59)&&null==_.P(a,60)&&0==_.Uj(a,_.qf,68).length&&0==_.Uj(a,_.qf,67).length&&null==_.P(a,69)&&!_.P(a,73)},XJc=function(a){return _.Uj(a,_.Gl,4).every(function(b){b=b.Za();return!b||!b.includes("*")&&VJc.test(b)})};nM.prototype.J8=function(a,b){var c=this;return b.filter(function(d){return WL(c,a,d)})};var WL=function(a,b,c){return!!c&&YJc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},YJc=function(a,b){return b.getId()!=a.rootId&&!VL(b)};
nM.prototype.W=function(a,b){var c=!0,d=_.Uj(a,_.Gl,4);if(!XJc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Za()){var f=_.Q(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Za().toLowerCase();if(2==_.y(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,_.xd(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.qg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.Rg(l)+"($|[^\\w])|(^|[ ])"+_.Rg(l)):new RegExp(_.Rg(l))),c=c&&(f?!l:l))}}}return c};
nM.prototype.O=function(a,b){var c=_.Kl(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.Za()){var l=b.getMimeType()||"";if(_.P(k,4)){var p=b.Hf();l=p&&_.y(p,3)||""}p=_.Q(k,2,!1);var q=k.Za();_.gK(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.Ej(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
nM.prototype.V=function(a,b){var c=!0;a=_.Uj(a,_.Dl,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.yq();c=c&&ZJc(e,d)}return c};nM.prototype.ha=function(a,b){var c=!0;a=_.Uj(a,_.Dl,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.oz();c=c&&ZJc(e,d)}return c};var ZJc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0};
_.g=nM.prototype;_.g.eEb=function(a,b){var c=a.Xh();a=(a=_.sK(a))&&(2==a||3==a);return null==c||c==!!b.Xh()&&(!c||1==b.Yo()||!!a)};_.g.aEb=function(a,b){return null==_.P(a,10)||_.P(a,10)==!!b.dB()};_.g.RDb=function(a,b){return null==_.P(a,11)||_.P(a,11)==!!_.P(b,6)};_.g.UDb=function(a,b){a=_.Ll(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Za()){var d="root"==c.Za()&&this.rootId||c.Za();d=b.wk().includes(d);if(_.Q(c,2,!1)?d:!d)return!1}return!0};
_.g.TDb=function(a,b){a=_.Uj(a,_.qf,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Za()){var d=1==b.Yo();if(_.Q(c,2,!1)?d:!d)return!1}return!0};_.g.YDb=function(a,b){return null==_.P(a,16)||(_.P(a,16)?null!=b.Ay():!0)};_.g.PDb=function(a,b){var c=_.P(a,17);a=(a=_.sK(a))&&(2==a||3==a);return null==c||c==!!b.EI()&&(!c||1==b.Yo()||!!a)};_.g.SDb=function(a,b){b=QBc(b);return null==_.P(a,19)||_.P(a,19)==!!_.Yk(b)};
_.g.ZDb=function(a,b){var c=_.bb(_.de(b,56));a=_.Uj(a,_.rK,25);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};_.g.$Db=function(a,b){if(0==a.AB().length)return!0;var c=_.bb(b.AB().map(function(d){return d.YQ()}));a=_.bb(a.AB().map(function(d){return d.YQ()}));return _.Oa(a,function(d,e){return c[e]})};_.g.bEb=function(a,b){a=_.de(a,33);return!a.length||a.includes(b.yc()||"")};_.g.QDb=function(a,b){var c=_.bb(_.de(b,50));a=_.Uj(a,_.El,37);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};
_.g.dEb=function(a,b){return _.y(a,41)?(b=_.B(b,_.mK,86),null!=b&&_.y(a,41)==_.y(b,3)):!0};_.g.cEb=function(a,b){if(_.de(a,40).length){if(b=_.B(b,_.mK,86)){var c=_.bb(_.de(b,2));return _.de(a,40).some(function(d){return c[d]})}return!1}return!0};_.g.MDb=function(a,b){var c=_.sK(a);return 1==c?(b=_.P(b,31),!!_.Ll(a).length||!!_.Uj(a,_.yl,35).length||1==_.P(a,18)||_.GJ(a)||_.HJ(a)||_.IJ(a)||!!a.Np()||null==b||b):2==c?!!b.yc():!0};
_.g.WDb=function(a,b){return _.GJ(a)?!_.Bj(b,100)||b.Xh()?!1:_.Q(a,74,!1)?!!_.P(_.jl(b),4):!!_.P(_.jl(b),3):!0};_.g.VDb=function(a,b){return _.HJ(a)?!!_.kl(b).length&&!b.Xh():!0};_.g.NDb=function(a,b){return _.IJ(a)?!!_.ll(b).length&&!b.Xh():!0};_.g.XDb=function(a,b){return _.Bj(a,50)?_.Q(a,50,!1)?_.Bj(b,101)&&0!==_.y(b,101):!_.Bj(b,101):!0};_.g.fEb=function(a,b){a=a.Np();return!a||_.de(b,120).includes(a)};
_.g.ODb=function(a,b){b=_.B(b,_.iK,138);if(null==_.P(a,65)||null==b)return!0;b=2==_.y(b,1);return _.P(a,65)==b};var oM=function(a,b,c,d){d=void 0===d?5E3:d;kM.call(this,a,b);this.teamDriveId=c;this.limit=d};_.K(oM,kM);_.g=oM.prototype;
_.g.vE=function(a){var b=this,c=kM.prototype.vE.call(this,a);if(5==c)return c;c=_.Ll(a);var d=c.every(function(e){var f=e.Za();return(null!=b.Hd.get(f)||b.teamDriveId==f)&&!_.Q(e,2,!1)});if(0<c.length&&d)return 1;a=_.de(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.vs=function(a){return kM.prototype.vs.call(this,a)&&!!a&&a.getItem().yc()==this.teamDriveId&&!VL(a.getItem())};_.g.yN=function(){return!1};_.g.ud=function(){var a=new _.of;_.Ol(a,[this.teamDriveId]);_.Pl(a,2);return a};
_.g.KM=function(){return null};_.g.yc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var $Jc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.of;_.w(a,48,!0);b=new _.kd;_.ld(b,11);_.md(b,2);_.pf(a,b);this.ma=XL(this.W,a,!0)};
$Jc.prototype.add=function(a){a instanceof mM?this.H=a:a instanceof lM?this.O=a:a instanceof jM?(this.log("Adding new cache hint for "+FL(this.W,a.ud(),2)),this.ha.push(a)):a instanceof oM&&this.V.push(a)};
$Jc.prototype.remove=function(a){var b=this;if(a instanceof mM)this.H&&(iM(this.H,!1),this.H=null);else if(a instanceof lM)this.O&&(iM(this.O,!1),this.O=null);else if(a instanceof jM){var c=_.la(this.ha,function(d){return b.W.equals(d.ud(),a.ud())});0<=c&&(iM(this.ha[c],!1),_.sa(this.ha,c))}else a instanceof oM&&(c=_.la(this.V,function(d){return b.W.equals(d.ud(),a.ud())}),0<=c&&(iM(this.V[c],!1),_.sa(this.V,c)))};
var aKc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.ya(b,_.xa(a.ha));_.ya(b,_.xa(a.V));return b},bKc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.ud().clone(),_.qb(c,32),_.Kj(c,26),!_.Yj(a.ma,c)):!0})};$Jc.prototype.UV=function(){return _.xa(this.V)};var cKc=function(a,b){return _.og(a.V,function(c){return c.yc()===b})},dKc=function(a,b){return bKc(a).find(function(c){return a.W.equals(c.ud(),XL(a.W,b,!0))})};
$Jc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var eKc=function(a,b){_.ti.call(this,"Hb");this.ids=a;this.error=b};_.K(eKc,_.ti);eKc.prototype.getError=function(){return this.error};eKc.prototype.H=function(){return this.ids};var fKc=function(a){_.ti.call(this,"Ib");this.people=a};_.K(fKc,_.ti);fKc.prototype.getPeople=function(){return this.people};var gKc=function(a){_.ti.call(this,"Jb");this.people=a};_.K(gKc,_.ti);
gKc.prototype.getPeople=function(){return this.people};var iKc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Ke=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);hKc(this)};iKc.prototype.$e=function(){return this.Ke};
var jKc=function(a){return 0===a.Ke?1:2===a.Ke||(1===a.Ke||4===a.Ke)&&(a.person.qp()||a.O)?3:2},kKc=function(a,b,c){if(_.y(b,1)!==_.y(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=jKc(a),e=a.$e();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=zJc(b.clone(),a.getEmail(b)),e=!_.Yj(a.person,b),a.person=b,a.Ke=c,hKc(a),e||d!==jKc(a);if(4===c)return a.Ke=c,hKc(a),d!==jKc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(zJc(a.person,a.getEmail(b)),!0):!1};
iKc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var hKc=function(a){1===a.Ke?(a.W=Date.now(),a.V=null):4===a.Ke&&(a.V=Date.now())},mKc=function(a,b,c,d){_.Ci.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.MI(function(){return lKc(e)},100,this)};_.K(mKc,_.Ci);mKc.prototype.$g=function(a){a&&_.PI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.qe())};
var lKc=function(a){a.ha.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};mKc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Re;var e=new _.PJ;e=_.Hj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Uj(c,dM,1);b.dispatchEvent(new fKc(c))},function(c){c=_.PB(c);b.dispatchEvent(new eKc(a,c))})};
mKc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var pKc=function(a,b,c,d,e){_.Ci.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Sc=new _.We(this);this.Ma(this.Sc);this.ka=b;this.ha=d;this.ta=_.Zj(_.B(a,FEc,85)||new FEc,1,864E5);this.W=new mKc(a,b,c,e);this.ma=new _.fE(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:BL(h,106015);if(k){h=_.B(_.HK(k),nFc,11);if(!h){h=new nFc;var l=_.HK(k);_.I(l,11,h)}h=_.w(h,1,f.H.size);_.w(h,2,f.O.size);k.xj()}},500,this);this.Sc.listen(this.W,"Ib",function(h){h=h.getPeople();nKc(f,
h,1);f.ma.qe()});this.Sc.listen(this.W,"Hb",function(h){oKc(f,h)})};_.K(pKc,_.Ci);pKc.prototype.get=function(a){var b=this.H.get(a);return b?(qKc(this,b)&&rKc(this,a),b):null};var rKc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.$g(b);var c=new _.Fn;a.V.set(b,c);return c.promise};pKc.prototype.Sb=function(a){var b=this;return sKc(this,a)?Promise.resolve(this.H.get(a)):rKc(this,a).then(function(){return b.H.get(a)})};
pKc.prototype.vc=function(){return 0===this.H.size};pKc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var tKc=function(a){return[].concat(_.xd(a.H.values())).filter(function(b){return 3===jKc(b)&&4!==b.$e()}).map(function(b){return b.person.clone()})},uKc=function(a,b){return(a=a.H.get(b))?[].concat(_.xd(a.H)):[]},vKc=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(_.xd(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},nKc=function(a,b,c){if(![1,2].includes(c))throw Error("lf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(wJc)[c]+".")),wKc(a,b,c))},yKc=function(a,b,c,d){0!==b.length&&xKc(a,b,c,void 0===d?0:d)},sKc=function(a,b){b=a.H.get(b);return!(!b||3!==jKc(b)||qKc(a,b))},xKc=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=_.y(f,1),k=a.H.get(h);if(k)kKc(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&&rKc(k,_.y(f,1));l=new iKc(f,p,l);k.H.set(_.y(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},qKc=function(a,
b){switch(b.$e()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};pKc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var oKc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():yJc(new dM,c)});wKc(a,b,4)},wKc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}xKc(a,b,void 0,c)&&a.dispatchEvent(new gKc(b))},zKc=function(a,b,c,d,e,f){_.Ci.call(this);var h=this;this.Sc=new _.We(this);this.Ma(this.Sc);this.H=new pKc(a,b,c,e,f);this.O=_.fK(a)||new _.ewc;this.Sc.listen(this.H,"Jb",function(k){return h.dispatchEvent(k)})};
_.K(zKc,_.Ci);zKc.prototype.TO=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=AKc(this,[c]).map(function(e){return BKc(b,e)});yKc(this.H,d,a.H.getId(),this.$e(_.y(c,82)))}a.O&&vKc(this.H,a.id,CKc(this,a))};zKc.prototype.$e=function(a){return _.euc.get(a)||0};
var CKc=function(a,b){var c=DKc(a,b.O),d=DKc(a,b.H);return c.filter(function(e){return!d.includes(e)})},DKc=function(a,b){return b?EKc(a,[b.getItem()]):[]},GKc=function(a,b){b=b.getUser();yKc(a.H,[BKc(a,b)],"ACCOUNT");FKc(a,b)},IKc=function(a,b){var c=_.Uj(b,_.yK,2).map(function(d){var e=_.B(d,_.Pk,9,1);return a.H.Sb(jL(e)).then(function(){return void HKc(a,[e])})});return Promise.all(c).then(function(){return b})},JKc=function(a,b){HKc(a,AKc(a,b))},HKc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,jL(c)&&FKc(a,c)},KKc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,jL(f)&&(d.add(jL(f)),yKc(a.H,[BKc(a,f)],c));return Promise.all([].concat(_.xd(d)).map(function(h){return a.H.Sb(h)})).then(function(){return HKc(a,b)})},MKc=function(a,b){return EKc(a,[b]).some(function(c){return!LKc(a,c)})},LKc=function(a,b){return sKc(a.H,b)},EKc=function(a,b){var c=new Set;a=AKc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=jL(b.value))&&c.add(b);return[].concat(_.xd(c))},
AKc=function(a,b){return b.map(function(c){var d=c.$v();d=d?[].concat(_.xd(d.aR()),_.xd(_.Uj(d,_.Pk,3))):[];var e=c.Hf();e=(e=e&&_.ie(e))?AKc(a,[e]):[];return[].concat(_.xd(_.gl(c)),[c.zm(),c.St(),c.Iq(),c.jD()],_.xd(d),_.xd(e))}).flat().filter(function(c){return c&&!!jL(c)})};zKc.prototype.Gd=function(a){return uKc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var NKc=function(a){return CJc(new BJc,tKc(a.H))},OKc=function(a,b){return b.map(function(c){c=c.clone();var d=AKc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.qb(e,3),_.qb(e,8),_.qb(e,5);return c})},QKc=function(a,b){return b.some(function(c){return PKc(a,c)})},PKc=function(a,b){return AKc(a,[b]).some(function(c){return _.Bj(c,3)||c.qp()||_.Bj(c,5)})},FKc=function(a,b){var c=a.H.get(jL(b));if(c){a=c.person.clone();var d=_.ivc(b.hd(a.getName()),a.getEmail());c=jKc(c);_.w(d,16,
c);(a=_.B(a,xJc,4))&&b.Mn(a.getUrl())}},BKc=function(a,b){var c=jL(b);c=zJc(yJc(new dM,c).hd(b.getName()),b.getEmail());var d=new xJc;var e=_.y(b,5);d=_.w(d,1,e);c=_.I(c,4,d);_.Q(a.O,9,!1)&&(_.qb(b,3),_.qb(b,8),_.qb(b,5));return c},RKc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};RKc.prototype.dg=function(){return this.suggestionSessionId};RKc.prototype.Gza=function(){return this.O};RKc.prototype.vc=function(){return this.H};
var SKc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},TKc=function(a,b){a=SKc(a);b=SKc(b);return!(!a||!b||a!==b)},UKc=function(a){return a.Ac()+"_"+SKc(a.getName())},VKc=function(a,b){var c=_.de(a,1).map(function(d,e){return b[Number(e)].value.i3a.promise});return Promise.allSettled(c).then(function(d){return _.de(a,1).map(function(e,f){e=e.toString();var h=new FJc;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Je(f.reason.Sg));return e})})},pM=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Ky=new Set;this.status=6;this.V=new Map;this.Ke=0};_.K(pM,_.N);_.g=pM.prototype;_.g.ii=function(a){var b=this;this.Ky.add(a);return this.resize().then(function(){return b.hO(a)})};_.g.lk=function(a){this.Ky.delete(a);0===this.Ky.size&&this.dispose()};_.g.$e=function(){return this.Ke};_.g.Ki=function(a){this.Ke=a};
_.g.oD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Lu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.FX():_.Yh([])};_.g.FX=function(){for(var a=[],b=_.m(this.Ky.values()),c=b.next();!c.done;c=b.next())a.push(this.hO(c.value));return _.$h(a)};
_.g.EX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Ky.values()),e=d.next();!e.done;c={yqa:c.yqa},e=d.next())c.yqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.EX(f.yqa,a)}}(c)));return _.$h(b)};_.g.tA=function(){for(var a=this,b=[],c={},d=_.m(this.Ky.values()),e=d.next();!e.done;c={zqa:c.zqa},e=d.next())c.zqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.tA(f.zqa)}}(c)));return _.$h(b).then(function(){a.Ki(0===a.$e()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Ky.forEach(function(d){d=b.kka(d);c=Math.max(c,d.Di?d.Di()||0:0)});a.efa(c)})};var WKc=function(a,b){return b?a.V.get(a.Pja(b))||null:null};_.g=pM.prototype;_.g.QH=function(a,b){var c=WKc(this,a);b=aIc(c,b);this.V.set(this.Pja(a),b)};_.g.Pja=function(a){return a};_.g.ILa=function(){return[]};_.g.hO=function(a){var b=this;return this.O.then(function(c){return void c.hO(a,b.hk())})};_.g.removeItem=function(){};
var qM=function(a,b){_.Ci.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.K(qM,_.Ci);var XKc=function(a){return!a.O||""!==a.pageToken};qM.prototype.$g=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&XKc(this)?YKc(this):_.Yh()};
var YKc=function(a){a.O=!0;a.H=!0;var b=a.Sha(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return ZKc(a,c)},function(c){return a.handleError(c)})},ZKc=function(a,b){a.H=!1;a.pageToken=a.eka(b);b=a.sja(b);b.forEach(function(c){return a.data.push(c)});a.P5(b);return a.data.length<a.limit&&XKc(a)?_.$h([_.Yh(b),YKc(a)]).then(function(c){return c[0].concat(c[1])}):_.Yh(b)};
qM.prototype.handleError=function(a){this.H=!1;a=_.XI(a);var b=new DL(a);this.JLa(b);this.dispatchEvent(b);return _.Zh(a)};qM.prototype.P5=function(){};qM.prototype.JLa=function(){};var $Kc=function(a,b,c){qM.call(this,c,function(d){return a.then(function(e){return e.Re(d)}).Cg(function(e){return void _.jJ(e)})});this.V=b};_.K($Kc,qM);_.g=$Kc.prototype;_.g.Sha=function(a,b,c){a=a.clone();a.ti(b);return new _.Iuc(a,c)};_.g.eka=function(a){return a.pageToken||""};_.g.sja=function(a){return a.response.O()};
_.g.P5=function(a){this.V.oD(a,!1,1)};_.g.JLa=function(a){this.V.CB(this.request,a)};var aLc=function(a,b,c,d){pM.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.K(aLc,pM);_.g=aLc.prototype;_.g.refresh=function(){this.tA();this.H=new $Kc(this.ha,this.W,this.request);return this.H.$g(this.request.Di()||100)};_.g.Hp=function(a){return this.data.find(function(b){return TKc(b.getName(),a)})};
_.g.efa=function(a){this.H&&a===this.request.Di()||(this.request.ti(a),this.H?this.H.$g(a):this.refresh())};_.g.hk=function(){var a=this,b=tJc((new cM).Dc(this.status),this.data.filter(function(c){return a.W.ACa(c)}).map(function(c){return c.clone()}));return new _.NK(b,void 0,void 0,this.$e())};_.g.oD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Ac()===d.request.Ac()});return pM.prototype.oD.call(this,a,b,c)};
_.g.Lu=function(a,b){b=void 0===b?1:b;if(!PBc(WKc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return TKc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.QH(a.getName(),b);return!0};_.g.removeItem=function(a){_.va(this.data,function(b){return TKc(b.getName(),a)})&&(this.V.delete(this.Pja(a)),this.FX())};_.g.Pja=function(a){return SKc(a)};_.g.QH=function(a,b){this.Hp(a)&&pM.prototype.QH.call(this,a,b)};
_.g.ILa=function(a){var b=this;return a instanceof _.VJ&&a.Ac()===this.request.Ac()?a.wV().map(function(c){return b.Hp(c.Om())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var rM=function(){this.H=new Map};rM.prototype.ii=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Uha(b),this.H.set(c,d));d.ii(a);return e};var bLc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Awa(c),a.H.set(d,e));e.ii(b);return f};
rM.prototype.lk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.lk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var cLc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.lk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},dLc=function(a,b){return a.H.get(b)};rM.prototype.oD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.ACa(f)});this.H.forEach(function(f){f.oD(e,b,c)})};rM.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var eLc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.ILa(b)});return[].concat.apply([],_.xd(a))};rM.prototype.QH=function(a,b){this.H.forEach(function(c){c.QH(a,b)})};rM.prototype.ACa=function(){return!0};rM.prototype.CB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.EX(b)};rM.prototype.p2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Uha(b),f.Ki(c),this.H.set(e,f),this.oD(a,d))};var fLc=function(){this.V=new Set;this.O=0;this.H=[]},gLc=function(a,b){a.V.add(b)};
fLc.prototype.W=function(a){this.V.delete(a)};var hLc=function(a,b){var c;if(c=b instanceof _.fl)c=b.aw(),c=!!(b.Xh()&&c&&c<=Math.max.apply(Math,_.xd([a.O].concat(_.xd(a.H)))));if(c)return!0;b=b instanceof _.fl?b.getId():b;return a.V.has(b)},iLc=function(a,b){return _.va(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};fLc.prototype.J8=function(a){var b=this;return a.filter(function(c){return!hLc(b,c)})};var jLc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new fLc};_.K(jLc,rM);
var kLc=function(a,b){gLc(a.O,UKc(b));(a=dLc(a,b.Ac()))&&a.FX()};_.g=jLc.prototype;_.g.getKey=function(a){return a.Ac()};_.g.Uha=function(a){return new aLc(this.V,this.W,this,a)};_.g.Awa=function(a){return new aLc(this.V,this.W,this,a)};_.g.Qo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=dLc(this,b.getId()))&&b.refresh()};_.g.ACa=function(a){return!hLc(this.O,UKc(a))};
var lLc=function(a){var b=new _.xG;b.Pb(a);return b},mLc=function(){_.Ci.call(this);this.H=Date.now()};_.K(mLc,_.Ci);mLc.prototype.gF=function(){this.H=Date.now();this.dispatchEvent("Kb")};
var nLc=function(a,b){this.O=a;this.H=b},oLc=function(a,b){b=_.Q9b(b);var c=new $Kc(a.O,a.H,b);new Promise(function(d,e){return c.$g(100).then(d,e)})},pLc=function(){this.Hd={}},sM=function(a,b){qLc(a,"subscribed");b&&qLc(a,b);return a.Hd[b||"subscribed"].ke.promise},qLc=function(a,b){a.Hd[b]||(a.Hd[b]={count:0,uR:[],n1a:[],ke:_.bi()});a.Hd[b].count++},sLc=function(a,b){b&&!rLc(a,b)||rLc(a,"subscribed")},rLc=function(a,b){if(!a.Hd[b])return!1;a.Hd[b].count--;0===a.Hd[b].count&&(a.Hd[b].ke.resolve({items:a.Hd[b].uR,
IKb:a.Hd[b].n1a}),_.Va(a.Hd,b));return!0};pLc.prototype.Qo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.yc();f&&f===e.Ac()&&c.Hd[f]&&c.Hd[f].n1a.push(e);c.Hd[d]&&c.Hd[d].uR.push(e)})};var tLc=function(a,b,c){qM.call(this,a,c);this.V=b};_.K(tLc,qM);tLc.prototype.Sha=function(a,b){return a.clone().ti(b)};tLc.prototype.eka=function(){return""};tLc.prototype.sja=function(a){return[a]};tLc.prototype.P5=function(a){this.V(a)};
var uLc=function(a,b,c,d){pM.call(this,a,d.clone());this.ha=b;this.H=this.IS=null;this.W=c};_.K(uLc,pM);uLc.prototype.refresh=function(){var a=this;this.tA();this.H=new tLc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Di()||0)};uLc.prototype.efa=function(a){1===this.status||this.H&&a===this.request.Di()||(this.request.ti(a),this.H?this.H.$g(a):this.refresh())};
uLc.prototype.hk=function(){if(this.IS)return this.IS;var a=new QL;a.Dc(this.status);return a};uLc.prototype.Lu=function(a){this.IS=a;return!0};var vLc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.K(vLc,rM);_.g=vLc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Uha=function(a){var b=this;return new uLc(this.O,this.W,function(c){b.oD(c,!1)},a)};_.g.Awa=function(){throw Error("mf");};
_.g.p2=function(a,b,c,d){var e=a[0].wl();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.iq()}).join(", "));rM.prototype.p2.call(this,a,b,c,d)};var wLc=function(a,b,c,d){_.Ci.call(this);this.request=a;this.Ba=b;this.ta=c;this.va=d;this.ma=0;this.ke=null;this.O=new Set};_.K(wLc,_.Ci);
wLc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.bi();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={Pqa:b.Pqa,kea:b.kea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.kea=d;b.Pqa=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Re(f.Pqa)}}(b)).then(function(f){return function(h){var k=f.kea;a.V(h);xLc(a,k)}}(b),function(f){return function(h){return void a.handleError(f.kea,h)}}(b))}return this.ke.promise};
var xLc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Da"),a.ke.resolve()):a.dispatchEvent("Aa")};wLc.prototype.handleError=function(a,b){b=_.PB(b);var c=b.Sg;5===c.Ys()||4===c.zk()?(this.va.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),xLc(this,a)):(a=new DL(c,_.Zj(this.ta.hg(),1,1)),this.dispatchEvent(a),this.ke.reject(b))};var yLc=function(a,b,c,d,e){wLc.call(this,a.clone(),c,d,e);this.H=b};_.K(yLc,wLc);
yLc.prototype.W=function(a){var b=new Map;a.qn().forEach(function(c){var d=_.R8b(a.clone(),[c]);b.set(c,d)});return b};yLc.prototype.V=function(a){var b=[];a.BT().forEach(function(c){b.push(c)});this.H(b,!0)};yLc.prototype.ha=function(){this.H([],!1)};yLc.prototype.ka=function(a){this.H([lLc(a)],!0)};var zLc=function(a,b,c,d,e,f){pM.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.ol={};this.H=null};_.K(zLc,pM);
zLc.prototype.refresh=function(){this.H=new yLc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.$g()};zLc.prototype.efa=function(){this.H||this.refresh()};zLc.prototype.hk=function(){var a=new _.LK;a.Dc(this.status);_.La(this.ol,function(b,c){a.BT().set(c,b||new _.xG)});a.Ki(this.$e());return a};zLc.prototype.Lu=function(a){var b=a.getId();if(_.Yj(a,lLc(a.getId()))){if(this.ol[b])return delete this.ol[b],!0}else if(0<=this.request.qn().indexOf(b))return this.ol[b]=a,!0;return!1};
var ALc=function(a,b){a=a.getState();return null==a||b.getState()==a},BLc=function(a,b,c){qM.call(this,a,c);this.V=b};_.K(BLc,qM);BLc.prototype.Sha=function(a,b,c){a=a.clone();a.ti(b);return new _.Vuc(a,c)};BLc.prototype.eka=function(a){return a.pageToken||""};BLc.prototype.sja=function(a){return a.response.wl()};BLc.prototype.P5=function(a){this.V(a)};var CLc=function(a){this.H=_.Mqc(a,{numeric:!0})};
CLc.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=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};CLc.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!==e?f=_.Ea(d,e)*(a?1:-1):f=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};var DLc=function(a,b,c,d,e){pM.call(this,a,e.clone());this.ha=b;this.ol=[];this.H=null;this.W=d;a=new CLc(c);b=(c=this.request.Ew())?c.getType():0;c=c?c.nf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.K(DLc,pM);DLc.prototype.refresh=function(){var a=this;this.tA();this.H=new BLc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Di()||0)};DLc.prototype.efa=function(a){1===this.status||this.H&&a===this.request.Di()||(this.request.ti(a),this.H?this.H.$g(a):this.refresh())};DLc.prototype.hk=function(){var a=new eM;a.Dc(this.status);EJc(a,this.ol.map(function(b){return b.clone()}));return new _.QK(a,void 0,1!==this.status&&XKc(this.H),this.$e())};
DLc.prototype.Lu=function(a){var b=_.va(this.ol,function(c){return c.getId()===a.getId()});return a&&ALc(this.request,a)&&!_.Yj(a,lLc(a.getId()))?mBc(this.ol,a,this.ka):b};var ELc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.K(ELc,rM);_.g=ELc.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.Uha=function(a){var b=this;return new DLc(this.V,this.ha,wL(_.AI(this.O)),function(c){return void b.oD(c,!1)},a)};_.g.Awa=function(a){var b=this;return new zLc(this.V,this.ha,this.O,this.W,function(c,d){return b.oD(c,d)},a)};_.g.p2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));rM.prototype.p2.call(this,a,b,c,d)};
var FLc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();nL(a)&&(c=(c=a.Hf())?_.y(c,3):"");oL(a)&&(a.Yi()&&(c+="+"+String(a.Yi())),a.Kj()&&(c+="+shared"));return _.cUa(c,b?"32":"16")},GLc=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("&")},HLc=function(a,b){var c=_.P(a,44),d=a.Hf();if(d){if(1!==_.ke(d))return null;c=(c=_.ie(d))?_.P(c,44):!0}if(!c)return null;c={};d=a.getId();nL(a)&&(d=FBc(a));
d=[_.D(b,65,"https://lh3.google.com"),"u",_.YI(_.AI(b)),"d",d].join("/");d+="={size}";_.Q(b,89,!1)&&_.Bj(a,140)&&(c.resourcekey=_.nl(a));return d=GLc(d,c)},ILc=function(a){this.H=a},KLc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=FLc(b,_.Q(a.H,75,!1));_.w(b,21,d)}c.includes(18)&&_.Qvc(b,wCc(b,a.H));c.includes(19)&&(d=HLc(b,a.H),_.w(b,20,d));JLc(a,b,c);if(nL(b)){if(d=(d=b.Hf())&&_.ie(d)){if(c.includes(20)&&c.includes(3)){var e=FLc(d,_.Q(a.H,75,!1));_.w(d,21,e)}c.includes(18)&&_.Qvc(d,wCc(d,
a.H));c.includes(19)&&(e=HLc(d,a.H),_.w(d,20,e));JLc(a,d,c)}_.Uvc(b,!!b.Wx())}},JLc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!oL(b)&&!nL(b)&&!_.Qd(e)&&(!b.I6()||2!==b.Yo()),d&&_.w(b,40,e),e&&c&&(a=a.H,d=b.getId(),nL(b)&&(d=FBc(b)),c=new _.jj(_.D(a,16,"")+"/uc"),_.qj(c,"id",d),_.qj(c,"authuser",_.YI(_.AI(a))),_.qj(c,"export","download"),_.Q(a,89,!1)&&_.Bj(b,140)&&_.qj(c,"resourcekey",_.nl(b)),_.w(b,41,c.toString())))}},LLc=function(a,b){this.cia="";
this.startTime=b||new Date;this.H=a;this.G$=yCc(a)};LLc.prototype.clone=function(){return new LLc(this.H,this.startTime)};var MLc=function(){this.H=null;this.wY=[]},NLc=function(a){return _.mf(a.wY,function(b){return _.Za(b)})};MLc.prototype.eN=function(){return this.H};
MLc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new NJc;e.V=MJc(d.G$);var f=_.Vg().substring(0,8);d=yCc(f);f=(new kJc).Pb(f);f=_.w(f,2,d);b=_.w(f,3,b).Li(c);this.wY.push(b);e.O=MJc(d);e.H=KJc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.tk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.uk(d,1,1);var k=d.O;cDc(k,f);cDc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.uk(d,2,1),k=d.O,cDc(k,f),cDc(k,h));f=e.W;null!=f&&(_.uk(d,3,5),cDc(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.uk(d,4,1),h=d.O,cDc(h,f),cDc(h,e));e=_.vk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var OLc=function(){this.Cb=[];this.O=this.H=0};OLc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Cb,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 PLc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Cb,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},QLc=function(a){this.key=a;this.H=new _.buc;this.O=new _.$tc(new _.buc,_.Bma(a))};QLc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=gGc(b);c=RLc(this,a);return b.concat(c,SLc(this,b,a,!0))};
var TLc=function(a,b){var c=SLc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=RLc(a,c);if(b!==a)throw Error("nf");return c},RLc=function(a,b){a=_.auc(a.O,_.iuc(b));return gGc(a)},SLc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new OLc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Cb,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=_.iuc(c.substring(8192*
e,8192*(e+1))),PLc(b,a),d+=gGc(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;PLc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("of");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=ULc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=ULc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=ULc(d,e++),k=ULc(d,e++),l=ULc(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=ULc(d,e++),k=ULc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},ULc=function(a,b){return a[Math.floor(b/8192)][b%8192]},VLc=function(a,b,c){this.data=a;this.eZa=b;this.H=c;this.isEncrypted=!1};VLc.prototype.getData=function(){return this.data};
VLc.prototype.Rm=function(){return this.eZa};var WLc=function(a,b,c,d){this.O=a;this.H=_.bi();this.wp=!1;this.V=_.D(b,7,"");this.W=_.Zj(_.xL(b),6,2E7);this.EE=_.PI(b);this.ha=_.Zj(_.xL(b),12,0);this.ka=c;this.Od=d||null};WLc.prototype.initialize=function(){var a=this;this.wp||(this.wp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.ji(this.H.promise)};
WLc.prototype.qB=function(a){if(a instanceof _.nC)return 0;if(a instanceof bM)return 1;if(a instanceof yGc)return 5;if(a instanceof SL)return 3;if(a instanceof BJc)return 6;throw new _.Ac("Unsupported dataShard in getDataType");};var XLc=function(a){if(0==a)return _.nC;if(1==a)return bM;if(5==a)return yGc;if(3==a)return SL;if(6==a)return BJc;throw new _.Ac("Unsupported dataType:"+a+" in getDataTypeCtor");};WLc.prototype.Yn=function(a){if(a instanceof SL)return a.Yn()};
WLc.prototype.Rm=function(a){if(a instanceof SL)return a.wd().length};WLc.prototype.sv=function(a){if(a instanceof SL)return a=a.sv(),null!=a?a:void 0};
var bMc=function(a,b,c,d){if(0==c.length)return _.Yh();for(var e=a.qB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.qB(h.value);var k=a.Yn(c[0]),l=0;3==e&&YLc(a,c);var p=!!b;return ZLc(a,c).then(function(q){if(p){var r=a.Od?a.Od.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Rm())&&(z+=A);return z},0);var v=$Lc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Zh(Error("pf"));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&&(tFc(sFc(rFc(AL(r),_.IK(_.Itc,e)),_.IK(_.Ftc,k)),!0),v.then(function(){var z=l;qFc(AL(r),!0).Bt(z);r.xj()},function(){var z=l;qFc(AL(r),!1).Bt(z);r.xj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return aMc(a.O,q,e,k,p,d)})})},ZLc=function(a,b){return new _.Xh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Lc();p.length>a.W?e=!0:f.push(new VLc(p,a.Rm(l),a.sv(l)))}});if(e){var h=
Error("qf"),k=new _.zc;_.VI(k,2);_.gJ(k,23);_.w(k,21,h.message);_.nq(k);a.ka(k);d(h)}c(f)})},YLc=function(a,b){a.Yn(b[0]);for(var c=_.m(b),d=c.next();!d.done;d=c.next())a.Yn(d.value);a.EE||cMc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Yn()){d=[];for(var e=b[c].wd();e.length>a;){var f=_.Aa(e,a-1,a);f=THc(new SL,f);d.push(f)}THc(b[c],e);d.length&&_.Eb(_.Aa,b,c+1,0).apply(null,d)}},tM=function(a,b,c,d,e,f){var h=_.bi(),k;_.ci(a.H.promise.then(function(){return dMc(a.O,c,d,e)}).then(function(l){var p=
l.map(function(r){return r.data}),q=new _.di;if(l[0]&&l[0].v0){if(k=a.Od?a.Od.H(106022,f):null)tFc(sFc(rFc(AL(k),_.IK(_.Itc,c)),_.IK(_.Ftc,d)),!0),q.en().then(function(r){var v=k;r=void 0!=r;qFc(AL(v),r);_.rxc(v)});eMc(a,q,b,p)}else q.callback(p);return _.Yh(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 (XLc(c))(JSON.parse(r)),q+=a.Rm(r),p.push(r);3==c&&(a.EE||fMc(p),gMc(p));k&&AL(k).Bt(q)}h.resolve(p)}),function(){k&&k.xj()}).Cg(h.reject,
h);return h.promise},cMc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Uj(a[b],_.Pk,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.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Ovc(f,hMc(_.gl(f),b,c)),_.Pvc(f,hMc([f.zm()],b,c)[0]),_.Vvc(f,hMc([f.St()],b,c)[0]),_.Zvc(f,hMc([f.Iq()],b,c)[0]),_.bwc(f,hMc([f.jD()],b,c)[0]),f=f.$v())_.Kvc(f,hMc(f.aR(),b,c)),_.Lvc(f,hMc(_.Uj(f,_.Pk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});
_.Jj(a[0],2,h)}},hMc=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)?_.Yj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.Pk,f.Pb(e),c.set(e,f),d.push(f))):d.push(f)}return d},fMc=function(a){var b=new Map,c=new Map;a[0]&&_.Uj(a[0],_.Pk,2)&&_.Uj(a[0],_.Pk,2).forEach(function(h){b.set(h.getId(),h);h=(new _.Pk).Pb(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.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Ovc(f,iMc(_.gl(f),b,c)),_.Pvc(f,iMc([f.zm()],b,c)[0]),_.Vvc(f,iMc([f.St()],b,c)[0]),_.Zvc(f,iMc([f.Iq()],b,c)[0]),_.bwc(f,iMc([f.jD()],b,c)[0]),f=f.$v())_.Kvc(f,iMc(f.aR(),b,c)),_.Lvc(f,iMc(_.Uj(f,_.Pk,3),b,c));_.Kj(d,2)}}},iMc=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();_.Yj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);
return d},gMc=function(a){for(var b={},c=1;c<a.length;b={Tda:b.Tda},c++)if(!a[c].Yn()){for(var d=0,e=c;e<a.length&&!a[e].Yn();e++)d++;e=a[c-1];d=_.Aa(a,c,d);b.Tda=e.wd();d.forEach(function(f){return function(h){_.ya(f.Tda,h.wd())}}(b));THc(e,b.Tda)}},$Lc=function(a,b,c){if(!_.Ntc()&&a.V){var d=new Worker(_.$ga(_.Vy(a.V)),void 0),e=new _.di;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Id(Error(String(k)))},!1);
c=IJc(new HJc,c);d.postMessage({command:"encrypt",data:{request:c.Lc(),key:b}});return e}try{a=[];var f=new QLc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.ii(a)}catch(k){h=_.ki(k)}return h},eMc=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(!_.Ntc()&&a.V){var f=new Worker(_.$ga(_.Vy(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 QLc(c);for(c=0;c<d.length;c++)a.push(TLc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},jMc=/^[\w]+$/,kMc=function(a,b,c){return[a.ms(),a.clientId,b?"#":uM(a)].join(":")+":"+(c||"")},lMc=function(a,b,c){this.global=void 0===c?!1:c;a.match(jMc);this.key=a;this.value=b};lMc.prototype.getKey=function(){return this.key};lMc.prototype.Za=function(){return this.value};
var mMc=function(a,b){return{k:kMc(b,a.global,a.key),v:a.value}},nMc=function(a,b){a=kMc(a,b);return yHc(a+"A",a+"z")},oMc=function(a,b){this.H=a;this.O=b},pMc=function(a){return a?new oMc(a.versionKey,a.versionChangeTimestamp):null},qMc=function(a,b){return a+":"+b},rMc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.v0=void 0===e?null:e},sMc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.v0}},tMc=function(a,b,c,d){a=uM(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.Ft(":%02d",c)},uMc=function(a,b,c,d){c=tMc(a,b,void 0===c?0:c,d);a=uM(a)+"_"+b;3===b&&(a+="_"+d);return yHc(c,a+":a")},vMc=function(a){var b=uM(a)+"_";a=uM(a)+"_A";return yHc(b,a)},wMc=function(a){return a?new rMc(a.data,a.index,a.size,a.timestamp,a.e):null},xMc=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=_.xa(e);_.Ga(this.fields);_.Da(this.fields);this.H=f};
xMc.prototype.ms=function(){return this.userId};xMc.prototype.Mg=function(){return _.xa(this.fields)};
var uM=function(a){if(!a.O){var b=new _.pI;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.ssc(b.digest())}return a.O},yMc=function(a){return{versionKey:uM(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},zMc=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 xMc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:uM(a)!==d&&(a=null);return a},vM=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Od=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Qa=a.then(function(f){e.version=f});this.Ib=new _.We(this);this.Ma(this.Ib)};_.K(vM,_.N);vM.prototype.initialize=function(){return AMc(this)};
var AMc=function(a,b){a.V||(a.V=_.bi(),a.Qa.then(function(){b?(a.va=!1,BMc(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)"),_.Arc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).lg(a.Ka.bind(a),a.ta.bind(a)),_.Gi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.Ac("Database version error",void 0,_.OI(c)?c:void 0))}));return a.V.promise},BMc=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"))};vM.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ia(b.H.objectStoreNames,function(c){return _.owc(b,c)});_.La(_.dJ,function(c){var d=_.fuc.get(c);_.xrc(b,c,d?{keyPath:d}:void 0)})};
vM.prototype.ta=function(a){var b;a&&a instanceof _.rI&&"InvalidStateError"==a.getName()&&_.zj.Mu?b=Error("rf"):_.OI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);CMc(this,!1)};vM.prototype.Ka=function(a){this.ka?a.dispose():(BMc(this,a),this.Ma(this.H),this.readOnly||DMc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),CMc(this,!0))};
var CMc=function(a,b){if(a.ma){var c=a.ma,d=_.B(_.HK(c),kFc,5);d||(d=new kFc,c=_.HK(c),_.I(c,5,d));d=_.w(d,1,2);c=a.jj().W;d=_.w(d,2,c);c=a.jj().ka;d=_.w(d,5,c);b=_.w(d,3,b);b=_.w(b,4,a.Ba);d=a.jj().ma;_.w(b,6,d);a.ma.xj();a.ma=null}};vM.prototype.Ha=function(){this.H||this.Sf()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("sf")))};vM.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};vM.prototype.Sf=function(){return this.ka};
var EMc=function(a){return a.ka?a.O:null};vM.prototype.jj=function(){return this.version};
var wM=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.yrc(a,[b],c)}catch(d){return null}},DMc=function(a){var b=_.dJ.j_,c=wM(a,b,"readwrite");if(!c)return _.Zh(Error("tf"));c.objectStore(b).put(yMc(a.jj()));return _.Yh(c.wait()).then(function(){})},FMc=function(a){if(!a.H)return _.Zh(Error("uf"));if(a.Sf())return _.Zh(Error(a.O));var b=_.dJ.j_,c=wM(a,b,"readwrite");if(!c)return _.Zh(Error("vf"));b=c.objectStore(b);return _.Yh(b.remove(uM(a.jj())))},
GMc=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=wMc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("wf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("xf")),0;e=d[0].size;if(!e)return b.reject(Error("yf")),0;if(e>d.length)return b.reject(Error("zf`"+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("Af`"+e)),0;if(c&&a<c)return b.reject(Error("Bf`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},dMc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Zh(Error("Cf"));if(a.Sf())return _.Zh(Error(a.O));var e=uMc(a.jj(),b,0,c),f=_.dJ.x5,h=wM(a,f);if(!h)return _.Zh(Error("Df"));e=h.objectStore(f).getAll(e);var k=_.bi();e.lg(function(l){l=GMc(l,k,d);a.readOnly||null==l||HMc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},aMc=function(a,b,c,d,e,f){if(a.H){if(a.Sf())return _.Zh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Zh(Error("Ef"))}else return _.Zh(Error("Ff"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:tMc(a.jj(),c,z,d),data:new rMc(v.getData(),z,k,h,e),metadata:v}}),p=_.dJ.x5;b=wM(a,p,"readwrite");if(!b)return _.Zh(Error("Gf"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={lea:q.lea},r=l.next())r=r.value,q.lea=IMc(a,c,d,r.metadata,f),p.put(sMc(r.data),r.key).then(function(v){return function(){var z=v.lea;z&&(qFc(AL(z),!0),z.xj())}}(q),function(v){return function(z){var A=
v.lea,C=z instanceof _.rI?z.code:_.$qc;A&&a.W&&(z=qFc(AL(A),!1),C=_.IK(_.Jtc,C),_.w(z,2,C),A.xj())}}(q));return _.Yh(b.wait()).then(function(){})},IMc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=sFc(rFc(AL(a),_.IK(_.Itc,b)),_.IK(_.Ftc,c)),f=f.Yn(d.H),f=_.w(b,5,f),tFc(f,d.isEncrypted),void 0!=d.Rm()&&AL(a).Bt(d.Rm());return a}return null},HMc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Sf())return _.Zh(Error(a.O));if(3==b&&void 0==c)return _.Zh(Error("Hf"))}else return _.Zh(Error("If"));
b=uMc(a.jj(),b,d,c);c=_.dJ.x5;a=wM(a,c,"readwrite");if(!a)return _.Zh(Error("Jf"));a.objectStore(c).remove(b);return _.Yh(a.wait()).then(function(){})},JMc=function(a){if(!a.H)return _.Zh(Error("Kf"));if(a.Sf())return _.Zh(Error(a.O));var b=vMc(a.jj()),c=_.dJ.x5;a=wM(a,c,"readwrite");if(!a)return _.Zh(Error("Lf"));a.objectStore(c).remove(b);return _.Yh(a.wait()).then(function(){})};
vM.prototype.getMetadata=function(a){if(this.H){if(this.Sf())return _.Zh(Error(this.O));if(a&&0==a.length)return _.Zh(Error("Mf"))}else return _.Zh(Error("Nf"));var b=this.jj(),c=_.dJ.K6,d=wM(this,c);if(!d)return _.Zh(Error("Of"));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(_.Yh(c.get(kMc(b,e.global,e.key))));c=_.$h(d)}else c=_.$h([c.getAll(nMc(b,!1)).then(),c.getAll(nMc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return lBc(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]===uM(b))){h=k[0]!==b.ms()||k[1]!==String(b.clientId)?void 0:new lMc(k[3],h.v,l);break a}}h=void 0}return h})})};
var KMc=function(a,b){if(a.H){if(a.Sf())return _.Zh(Error(a.O));if(0==b.length)return _.Zh(Error("Pf"))}else return _.Zh(Error("Qf"));var c=_.dJ.K6,d=wM(a,c,"readwrite");if(!d)return _.Zh(Error("Rf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(mMc(e.value,a.jj())).then());return _.$h(d).then(function(){})},LMc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Sf())return _.Zh(Error(a.O))}else return _.Zh(Error("Tf"));var c=a.jj(),d=_.dJ.K6;a=wM(a,d,"readwrite");
if(!a)return _.Zh(Error("Uf"));d=a.objectStore(d);a=[];a.push(d.remove(nMc(c,!1)).then());b&&a.push(d.remove(nMc(c,!0)).then());return _.$h(a).then(function(){})},MMc=function(a){if(!a.H)return _.Zh(Error("Vf"));if(a.Sf())return _.Zh(Error(a.O));var b=qMc(a.jj().ms(),a.jj().clientId),c=_.dJ.dU;a=wM(a,c);if(!a)return _.Zh(Error("Wf"));c=a.objectStore(c);return _.Yh(c.get(b)).then(function(d){return pMc(d)})},NMc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Zh(Error("Xf"));if(a.Sf())return _.Zh(Error(a.O));
var c=a.jj(),d=qMc(c.ms(),c.clientId);b=new oMc(uM(c),b?Date.now():void 0);c=_.dJ.dU;a=wM(a,c,"readwrite");if(!a)return _.Zh(Error("Yf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Yh(a.wait())};vM.prototype.Pl=function(a){var b=this;return this.H?this.Sf()?_.Zh(Error(this.O)):MMc(this).then(function(c){var d=uM(b.jj());if(c)if(a){if(!c.O&&d==c.H&&d!=uM(a))return NMc(b,!0);if(c.O&&d==uM(a))return NMc(b)}else{if(d!=c.H)return NMc(b)}else if(!a)return NMc(b)}):_.Zh(Error("Zf"))};
var OMc=function(a){if(!a.H)return _.Zh(Error("$f"));if(a.Sf())return _.Zh(Error(a.O));var b=a.jj(),c=qMc(b.ms(),b.clientId);return MMc(a).then(function(d){if(d){d=_.dJ.dU;var e=wM(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
vM.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Sf()?_.Zh(Error(this.O)):MMc(this).then(function(c){var d=c&&c.H==uM(b.jj());return d&&!a?!1:(c&&d?OMc(b):_.Yh()).then(function(){return _.$h([LMc(b,a),JMc(b),FMc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Zh(Error("ag"))};vM.prototype.close=function(){this.ha("Closing database")};vM.prototype.log=function(a){this.Od.info("drive.ds.sync.storage.VersionedDb",a)};
var PMc=function(a){if(1>=a.jj())return!1;var b=a.H.objectStoreNames;return _.Qa(_.dJ).every(function(c){return b&&b.contains(c)})},QMc=function(){var a=_.bi();_.Arc("GoogleDriveDs").lg(function(b){b?PMc(b)?a.resolve(b):(b.close(),_.Yh(zHc()).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},RMc=function(a,b,c){var d=_.bi();a?_.yrc(a,[_.dJ.j_],"readonly").objectStore(_.dJ.j_).getAll().lg(function(e){e=
_.Qa(e).map(function(f){return zMc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ms()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},SMc=function(a,b,c){var d=_.bi();QMc().then(function(e){if(e){var f=_.dJ.dU;_.yrc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return pMc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.dJ.j_,p=_.yrc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
zMc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.fi(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},TMc=function(a,b,c){var d=_.bi(),e=new vM(_.Yh(a),b);AMc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},UMc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=TMc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.$h(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+uM(l)))});d.resolve(k)})},VMc=function(a,b,c){var d=Date.now()-12096E5,e=_.bi();QMc().then(function(f){f?(_.ci(e.promise,function(){f.close()}),RMc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){UMc(h,c,f,e)})):e.resolve([])});return e.promise},WMc=function(a,b,c){var d=_.bi();QMc().then(function(e){e?
(_.ci(d.promise,function(){e.close()}),RMc(e,a,b).then(function(f){UMc(f,c,e,d,!0)})):d.resolve([])});return d.promise},XMc=function(a,b,c,d){if(a.length){var e=_.dJ.x5,f=a.shift(),h=tMc(f,3,0,1);try{_.yrc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=wMc(k))&&(!k.v0||k.v0&&d.has(f.V))?b.resolve(f):XMc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},YMc=function(a,b,c,d,e,f,h){var k=_.bi();QMc().then(function(l){l?(_.ci(k.promise,function(){l.close()}),
RMc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=uM(q))&&q.W==c&&q.H>=e&&EBc(d.filter(function(r){return!_.guc.has(r)}),q.Mg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),XMc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},ZMc={key:"rid",global:!0},$Mc={key:"ooi",global:!0},aNc={key:"rtds",global:!1},bNc={key:"dct",global:!1},cNc={key:"pc",global:!1},dNc=function(a){this.H=new _.Xh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};dNc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Sf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Za():void 0},function(){})})};dNc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Sf()?KMc(c,[new lMc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};dNc.prototype.bo=function(){return this.get(ZMc).then(function(a){return a?a:null})};
dNc.prototype.Eu=function(a){return this.set(ZMc,a)};var eNc=function(a){return a.get($Mc).then(function(b){return"boolean"===typeof b?b:null})};dNc.prototype.Zy=function(a){return this.set($Mc,a)};var fNc=function(a){return a.get(cNc).then(function(b){return"boolean"===typeof b?b:null})},gNc=function(a){return a.get(aNc).then(function(b){return Array.isArray(b)?b:null})},hNc=function(a){return a.get(bNc).then(function(b){return"number"===typeof b?b:null})},iNc=function(){this.kj=[]};_.K(iNc,_.XK);
iNc.prototype.add=function(a,b){var c=a.Dv.Lw;return c instanceof _.ZJ&&_.y(c.request,12)?_.XK.prototype.add.call(this,a,b):!1};iNc.prototype.bsa=function(a){return this.kj.splice(0,Math.min(a,1))};var jNc=function(a,b){this.kj=[];this.H=b};_.K(jNc,_.XK);jNc.prototype.add=function(a,b){return a.Dv.Lw instanceof _.ZJ?!1:_.XK.prototype.add.call(this,a,b)};
jNc.prototype.bsa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.kj.length&&b.length<a;f++){var h=this.kj[f],k=h.Dv.Lw;k instanceof _.sJ||k instanceof _.EJ||k instanceof _.UJ?k="app|"+k.Nh():k instanceof _.nJ||k instanceof _.oJ||k instanceof _.uJ||k instanceof _.ZI?k="item|"+(k instanceof _.nJ?k.Ac():k.getId()):k instanceof _.vJ||k instanceof _.FJ?k="item|"+k.Ac():k instanceof _.wJ||k instanceof _.WJ?k="item|"+k.Ac():k instanceof _.ND||k instanceof _.MD?(k=k instanceof _.ND?_.B(k,_.np,1).getKey():
k.getKey(),k="pref|"+_.y(k,2)+"|"+_.op(k)):k=k instanceof _.xJ?"td|"+k.getId():null;var l=h.Dv.Lw;if(l instanceof _.qJ)l=!!_.P(l,8);else if(l instanceof _.oJ){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Peb.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++)_.sa(this.kj,c[a]);return b};
var kNc=function(a,b,c,d,e,f,h,k,l){a=a.hg();h=new _.izc(k,h,d,_.Zj(a,32,1073741824),_.Zj(a,21,1E3));h=new _.jzc(h);k=new _.Iyc(_.Zj(a,59,2E3),_.Zj(a,60,2E4),_.Zj(a,61,6));c=new _.Gyc(l?l:c,l?void 0:e);e={};e[1]=_.lzc(b,d);e[2]=_.mzc(b,a,k,c,d);e[3]=_.nzc(b,a,k,c,d,"batch");l=_.Zj(a,10,50);f=new _.ZK(d,b,[_.Hyc(c),new _.Lyc(l,_.Zj(a,11,100)),new _.YK(l),new _.WK(k,d)],[new jNc(a,f),new iNc,new _.XK],[new _.Uyc(a,k,c.Nj(),d)],"mutation");return e[4]=f,e[5]=_.ozc(h,a,d),e[6]=_.nzc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.nzc(b,a,k,c,d,"xd4_batch"),e[8]=_.nzc(b,a,k,c,d,"xd4_batch_one",1),e},lNc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},mNc=function(a){var b={};return b.parentId=a.Ek(),b},nNc=function(a){var b={};_.DAc(b,[_.y(a,2)||""]);return b},oNc=function(a){var b={};_.ve(_.Ug(a.getTitle()))||(b.title=a.getTitle());_.DAc(b,_.de(a,3));_.P(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b},pNc=function(a){var b={};null!=a.getTitle()&&(b.title=
a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b},qNc=function(a){var b={};b.sourceIds=_.de(a.request,1);b.destinationFolderId=_.y(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b},rNc=function(a){var b={},c={};_.ve(_.Ug(a.getTitle()))||(b.title=a.getTitle());null!=a.Cf()&&(b.description=a.Cf());null!=_.P(a,4)&&(c.starred=_.P(a,4));null!=a.Xh()&&(c.trashed=a.Xh());_.ve(_.Ug(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.y(a,7)&&(b.modifiedDate=
_.mwc(_.exc(_.y(a,7)||0)));null!=_.P(a,11)&&(c.restricted=_.P(a,11));_.Pa(c)&&(b.labels=c);null!=a.Yi()&&(b.folderColor=a.Yi());null!=_.P(a,16)&&(b.subscribed=_.P(a,16));null!=_.P(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=_.P(a,40),c));if(c=_.B(a,_.Xk,25)){b.contentRestrictions=[];var d={};null!=_.P(c,1)&&(d.readOnly=_.P(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.DAc(b,_.de(a,8));return b},sNc=function(a){var b={};null!=_.P(a,3)&&(b.pinned=_.P(a,3));
return b},tNc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Sg)("0",6-c.length)+c);c=_.B(a,_.cFc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Fe())&&(a.width=c);b.backgroundImageFile=a}}return b},uNc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());
null!=a.getState()&&(a=_.GAc[a.getState()])&&(b.state=a);return b},vNc=function(a){_.J.call(this,a)};_.K(vNc,_.J);vNc.prototype.Cf=function(){return _.D(this,1)};vNc.prototype.Yl=function(a){return _.ek(this,1,a)};vNc.prototype.getUrl=function(){return _.D(this,2)};_.wNc=function(a){_.J.call(this,a)};_.K(_.wNc,_.J);_.wNc.prototype.getType=function(){return _.Ej(this,1,0)};_.wNc.prototype.getContext=function(){return _.B(this,vNc,2)};xNc=[1];yNc=[2,4];_.zNc=function(a){_.J.call(this,a,-1,yNc)};
_.K(_.zNc,_.J);_.zNc.prototype.getLabel=function(){return _.D(this,1)};_.zNc.prototype.getTitle=function(){return _.D(this,3)};_.zNc.prototype.setTitle=function(a){return _.ek(this,3,a)};_.ANc=function(a){_.J.call(this,a,-1,xNc)};_.K(_.ANc,_.J);_.BNc=[2,3,4];_.CNc=function(a){_.J.call(this,a)};_.K(_.CNc,_.J);_.CNc.prototype.xe=function(){return _.D(this,3)};_.CNc.prototype.Mn=function(a){return _.ek(this,4,a)};_.DNc=function(a){_.J.call(this,a)};_.K(_.DNc,_.J);_.ENc=function(a){_.J.call(this,a)};
_.K(_.ENc,_.J);var FNc=function(a){_.J.call(this,a)};_.K(FNc,_.J);GNc=[3,5];_.xM=[8,9,10,11,12,13,14];_.HNc=function(a){_.J.call(this,a)};_.K(_.HNc,_.J);_.INc=function(a){_.J.call(this,a,-1,GNc)};_.K(_.INc,_.J);_.INc.prototype.Bb=function(){return _.Ej(this,6,0)};_.INc.prototype.Dc=function(a){return _.fk(this,6,a)};var JNc=function(a){_.J.call(this,a)};_.K(JNc,_.J);var KNc=function(a){_.J.call(this,a)};_.K(KNc,_.J);var LNc=function(a){_.J.call(this,a)};_.K(LNc,_.J);
var MNc=[1],NNc=function(a){_.J.call(this,a,-1,MNc)};_.K(NNc,_.J);var ONc=function(a){_.J.call(this,a)};_.K(ONc,_.J);var PNc=function(a){_.J.call(this,a)};_.K(PNc,_.J);QNc=[7];_.RNc=[1,2,3];_.SNc=function(a){_.J.call(this,a)};_.K(_.SNc,_.J);_.TNc=function(a){_.J.call(this,a)};_.K(_.TNc,_.J);_.UNc=function(a){_.J.call(this,a)};_.K(_.UNc,_.J);_.VNc=function(a){_.J.call(this,a,-1,QNc)};_.K(_.VNc,_.J);_.WNc=function(a){_.J.call(this,a)};_.K(_.WNc,_.J);
_.WNc.prototype.getName=function(){return _.D(this,1)};_.WNc.prototype.hd=function(a){return _.ek(this,1,a)};var XNc=function(a){_.J.call(this,a)};_.K(XNc,_.J);XNc.prototype.getName=function(){return _.D(this,1)};XNc.prototype.hd=function(a){return _.ek(this,1,a)};XNc.prototype.getTitle=function(){return _.D(this,2)};XNc.prototype.setTitle=function(a){return _.ek(this,2,a)};_.YNc=[1,4];ZNc=function(a){_.J.call(this,a)};_.K(ZNc,_.J);ZNc.prototype.getUser=function(){return _.bk(this,_.ENc,1,_.YNc)};
var $Nc=[8,9,10],aOc=function(a){_.J.call(this,a)};_.K(aOc,_.J);aOc.prototype.getType=function(){return _.Ej(this,6,0)};var bOc=function(a){_.J.call(this,a)};_.K(bOc,_.J);_.cOc=function(a){_.J.call(this,a)};_.K(_.cOc,_.J);_.g=_.cOc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.hd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.Aja=function(){return _.bk(this,aOc,9,$Nc)};
_.g.NUa=function(){return _.bk(this,bOc,10,$Nc)};_.g.jj=function(){return _.Zj(this,5)};_.g.getMimeType=function(){return _.D(this,6)};_.g.bD=function(){return _.B(this,ZNc,7)};var dOc=function(a){_.J.call(this,a)};_.K(dOc,_.J);var eOc=[8,9,10],fOc=function(a){_.J.call(this,a)};_.K(fOc,_.J);_.g=fOc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.hd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};
_.g.Aja=function(){return _.bk(this,aOc,9,eOc)};_.g.NUa=function(){return _.bk(this,bOc,10,eOc)};gOc=[1,3];_.yM=function(a){_.J.call(this,a)};_.K(_.yM,_.J);_.yM.prototype.Eh=function(){return _.bk(this,fOc,1,gOc)};_.hOc=[1,2,3];_.iOc=function(a){_.J.call(this,a)};_.K(_.iOc,_.J);_.jOc=function(a){_.J.call(this,a)};_.K(_.jOc,_.J);var kOc=function(a){_.J.call(this,a)};_.K(kOc,_.J);var lOc=function(a){_.J.call(this,a)};_.K(lOc,_.J);mOc=[2,3];_.nOc=function(a){_.J.call(this,a,-1,mOc)};_.K(_.nOc,_.J);
_.nOc.prototype.getType=function(){return _.Ej(this,1,0)};_.oOc=function(a){_.J.call(this,a)};_.K(_.oOc,_.J);_.oOc.prototype.getType=function(){return _.Ej(this,1,0)};var pOc=function(a){_.J.call(this,a)};_.K(pOc,_.J);pOc.prototype.getType=function(){return _.Ej(this,1,0)};var qOc=function(a){_.J.call(this,a)};_.K(qOc,_.J);_.rOc=function(a){_.J.call(this,a)};_.K(_.rOc,_.J);_.rOc.prototype.O=function(){return _.Q(this,1)};var sOc=function(a){_.J.call(this,a)};_.K(sOc,_.J);tOc=[1,2,4];
_.uOc=function(a){_.J.call(this,a)};_.K(_.uOc,_.J);vOc=[1,2];_.wOc=function(a){_.J.call(this,a)};_.K(_.wOc,_.J);_.wOc.prototype.getParent=function(){return _.B(this,_.yM,1)};_.wOc.prototype.Bg=function(a){return _.I(this,1,a)};_.xOc=function(a){_.J.call(this,a,-1,vOc)};_.K(_.xOc,_.J);_.yOc=function(a){_.J.call(this,a,-1,tOc)};_.K(_.yOc,_.J);_.zM=function(a){_.J.call(this,a)};_.K(_.zM,_.J);_.zM.prototype.getEmail=function(){return _.D(this,1)};_.zM.prototype.getTitle=function(){return _.D(this,2)};
_.zM.prototype.setTitle=function(a){return _.ek(this,2,a)};_.AM=[2,3,4,5];_.BM=function(a){_.J.call(this,a)};_.K(_.BM,_.J);_.BM.prototype.zf=function(){return _.Ej(this,1,0)};_.BM.prototype.getUser=function(){return _.bk(this,_.ENc,2,_.AM)};var zOc=function(a){_.J.call(this,a)};_.K(zOc,_.J);AOc=[1,2,3,4];_.BOc=function(a){_.J.call(this,a,-1,AOc)};_.K(_.BOc,_.J);_.COc=function(a){_.J.call(this,a)};_.K(_.COc,_.J);_.DOc=function(a){_.J.call(this,a)};_.K(_.DOc,_.J);_.EOc=function(a){_.J.call(this,a)};
_.K(_.EOc,_.J);_.FOc=function(a){_.J.call(this,a)};_.K(_.FOc,_.J);_.FOc.prototype.getType=function(){return _.Ej(this,1,0)};GOc=[1];_.HOc=function(a){_.J.call(this,a)};_.K(_.HOc,_.J);_.HOc.prototype.getFeature=function(){return _.Ej(this,1,0)};_.IOc=function(a){_.J.call(this,a,-1,GOc)};_.K(_.IOc,_.J);var JOc=function(a){_.J.call(this,a)};_.K(JOc,_.J);var KOc=function(a){_.J.call(this,a)};_.K(KOc,_.J);var LOc=function(a){_.J.call(this,a)};_.K(LOc,_.J);
LOc.prototype.getType=function(){return _.Ej(this,1,0)};_.CM=[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21];_.DM=function(a){_.J.call(this,a)};_.K(_.DM,_.J);_.DM.prototype.Zz=function(){return _.bk(this,LOc,10,_.CM)};_.MOc=function(a){_.J.call(this,a)};_.K(_.MOc,_.J);var NOc=function(a){_.J.call(this,a)};_.K(NOc,_.J);_.OOc=function(a){_.J.call(this,a)};_.K(_.OOc,_.J);_.POc=function(a){_.J.call(this,a)};_.K(_.POc,_.J);_.POc.prototype.getType=function(){return _.Ej(this,1,0)};_.EM=[1,2,3,4,5];
_.QOc=function(a){_.J.call(this,a)};_.K(_.QOc,_.J);_.QOc.prototype.getUser=function(){return _.bk(this,_.ENc,1,_.EM)};var ROc=function(a){_.J.call(this,a)};_.K(ROc,_.J);ROc.prototype.getType=function(){return _.Ej(this,2,0)};ROc.prototype.Nh=function(){return _.D(this,1)};_.SOc=function(a){_.J.call(this,a)};_.K(_.SOc,_.J);_.g=_.SOc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.hd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};
_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.Na=function(){return _.B(this,_.cOc,3)};_.TOc=function(a){_.J.call(this,a)};_.K(_.TOc,_.J);_.TOc.prototype.getParent=function(){return _.B(this,_.cOc,4)};_.TOc.prototype.Bg=function(a){return _.I(this,4,a)};_.FM=[1,5,3];_.UOc=function(a){_.J.call(this,a)};_.K(_.UOc,_.J);_.UOc.prototype.Eh=function(){return _.bk(this,_.cOc,1,_.FM)};_.VOc=function(a){_.J.call(this,a)};_.K(_.VOc,_.J);_.VOc.prototype.O=function(){return _.y(this,1)};
var WOc=function(a){_.J.call(this,a)};_.K(WOc,_.J);WOc.prototype.O=function(){return _.P(this,1)};WOc.prototype.V=function(){return _.y(this,2)};_.GM=function(a){_.J.call(this,a)};_.K(_.GM,_.J);_.g=_.GM.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.dsa=function(){return _.y(this,3)};_.g.kz=function(){return _.y(this,4)};
_.g.k$=function(){return _.B(this,WOc,6)};_.g.orb=function(){return _.B(this,_.VOc,7)};_.g.SUa=function(){return _.y(this,8)};_.g.csa=function(){return _.P(this,9)};_.HM=function(a){_.J.call(this,a)};_.K(_.HM,_.J);_.g=_.HM.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.Pb=function(a){return _.w(this,2,a)};_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Ed=function(){return _.y(this,5)};
_.g.setSize=function(a){return _.w(this,5,a)};_.g.$9a=function(){return _.y(this,6)};_.XOc=function(a,b){return _.w(a,6,b)};_.HM.prototype.Cf=function(){return _.y(this,8)};_.HM.prototype.Yl=function(a){return _.w(this,8,a)};_.HM.prototype.O=function(){return _.P(this,9)};var YOc=function(a){_.J.call(this,a)};_.K(YOc,_.J);YOc.prototype.Bb=function(){return _.y(this,1)};YOc.prototype.Dc=function(a){return _.w(this,1,a)};
var ZOc=function(a,b){return _.I(a,2,b)},aDc=[90,59,75],$Oc=function(a){_.J.call(this,a)};_.K($Oc,_.J);$Oc.prototype.getType=function(){return _.y(this,1)};var aPc=function(a){var b=new $Oc;return _.w(b,1,a)},bPc=function(a,b){return _.I(a,2,b)};$Oc.prototype.yy=function(){return _.y(this,3)};$Oc.prototype.$y=function(a){return _.w(this,3,a)};$Oc.prototype.Pi=function(){return _.y(this,4)};$Oc.prototype.setPosition=function(a){return _.w(this,4,a)};
var dPc=function(a){_.J.call(this,a,-1,cPc)};_.K(dPc,_.J);dPc.prototype.Bb=function(){return _.y(this,1)};dPc.prototype.Dc=function(a){return _.w(this,1,a)};var cPc=[2];
var ePc=function(a){_.J.call(this,a)};_.K(ePc,_.J);
var fPc=function(a){_.J.call(this,a)};_.K(fPc,_.J);fPc.prototype.getType=function(){return _.y(this,1)};var gPc=function(a){var b=new fPc;return _.w(b,1,a)},hPc=function(a,b){return _.I(a,2,b)};fPc.prototype.yy=function(){return _.y(this,3)};fPc.prototype.$y=function(a){return _.w(this,3,a)};fPc.prototype.Pi=function(){return _.y(this,4)};fPc.prototype.setPosition=function(a){return _.w(this,4,a)};
var IM=function(a){_.J.call(this,a)};_.K(IM,_.J);IM.prototype.getType=function(){return _.y(this,1)};var iPc=function(a){var b=new IM;return _.w(b,1,a)};IM.prototype.rn=function(){return _.B(this,PL,2)};var jPc=function(a,b){return _.I(a,2,b)};IM.prototype.yy=function(){return _.y(this,3)};IM.prototype.$y=function(a){return _.w(this,3,a)};IM.prototype.Pi=function(){return _.y(this,4)};IM.prototype.setPosition=function(a){return _.w(this,4,a)};
var JM=function(a){_.J.call(this,a)};_.K(JM,_.J);JM.prototype.getType=function(){return _.y(this,1)};var kPc=function(a){var b=new JM;return _.w(b,1,a)};JM.prototype.rn=function(){return _.B(this,_.xG,2)};var lPc=function(a,b){return _.I(a,2,b)};JM.prototype.yy=function(){return _.y(this,3)};JM.prototype.$y=function(a){return _.w(this,3,a)};JM.prototype.Pi=function(){return _.y(this,4)};JM.prototype.setPosition=function(a){return _.w(this,4,a)};
var mPc=function(a){_.J.call(this,a)};_.K(mPc,_.J);mPc.prototype.Bb=function(){return _.y(this,1)};mPc.prototype.Dc=function(a){return _.w(this,1,a)};mPc.prototype.wr=function(){return _.B(this,_.OL,2)};
var oPc=function(a){_.J.call(this,a,-1,nPc)};_.K(oPc,_.J);oPc.prototype.Bb=function(){return _.y(this,1)};oPc.prototype.Dc=function(a){return _.w(this,1,a)};oPc.prototype.ek=function(){return _.y(this,3)};var nPc=[2];
var pPc=function(a){_.J.call(this,a)};_.K(pPc,_.J);pPc.prototype.jd=function(){return _.B(this,CL,1)};pPc.prototype.Zn=function(){return _.y(this,2)};
var qPc=function(a){_.J.call(this,a)};_.K(qPc,_.J);_.g=qPc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wr=function(){return _.B(this,_.OL,2)};_.g.ek=function(){return _.y(this,3)};_.g.Nh=function(){return _.y(this,4)};
var KM=function(a){_.J.call(this,a)};_.K(KM,_.J);KM.prototype.Bb=function(){return _.y(this,1)};KM.prototype.Dc=function(a){return _.w(this,1,a)};KM.prototype.ek=function(){return _.y(this,3)};
var rPc=function(a){_.J.call(this,a)};_.K(rPc,_.J);_.g=rPc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.ek=function(){return _.y(this,2)};_.g.NLa=function(){return _.B(this,_.np,3)};_.g.getKey=function(){return _.B(this,_.Vb,4)};_.g.jt=function(){return _.Bj(this,4)};
var sPc=function(a){_.J.call(this,a)};_.K(sPc,_.J);sPc.prototype.getKey=function(){return _.y(this,1)};sPc.prototype.jt=function(){return _.Bj(this,1)};var uPc=function(a){_.J.call(this,a,-1,tPc)};_.K(uPc,_.J);var vPc=[2,4,6,10],wPc=[3,5,7,8,9],tPc=[1];
var xPc=function(a){_.J.call(this,a)};_.K(xPc,_.J);
var LM=function(a){_.J.call(this,a,-1,yPc)};_.K(LM,_.J);LM.prototype.Bb=function(){return _.y(this,1)};LM.prototype.Dc=function(a){return _.w(this,1,a)};LM.prototype.O=function(){return _.Uj(this,JL,2)};var zPc=function(a,b){return _.Jj(a,2,b)};LM.prototype.ek=function(){return _.y(this,3)};var yPc=[2];
var APc=function(a){_.J.call(this,a)};_.K(APc,_.J);APc.prototype.Bb=function(){return _.y(this,1)};APc.prototype.Dc=function(a){return _.w(this,1,a)};APc.prototype.O=function(){return _.B(this,JL,2)};APc.prototype.ek=function(){return _.y(this,3)};
var BPc=function(a){_.J.call(this,a)};_.K(BPc,_.J);BPc.prototype.xy=function(){return _.y(this,2)};
var DPc=function(a){_.J.call(this,a,-1,CPc)};_.K(DPc,_.J);DPc.prototype.Bb=function(){return _.y(this,1)};DPc.prototype.Dc=function(a){return _.w(this,1,a)};DPc.prototype.Oi=function(){return _.Uj(this,_.yEa,2)};DPc.prototype.zq=function(a,b){return _.Wj(this,2,a,_.yEa,b)};var CPc=[2];
var FPc=function(a){_.J.call(this,a,-1,EPc)};_.K(FPc,_.J);FPc.prototype.Bb=function(){return _.y(this,1)};FPc.prototype.Dc=function(a){return _.w(this,1,a)};FPc.prototype.wl=function(){return _.Uj(this,IM,2)};var EPc=[2];
_.HPc=function(a){_.J.call(this,a,-1,GPc)};_.K(_.HPc,_.J);var GPc=[1];
var MM=function(a){_.J.call(this,a,-1,IPc)},LPc,MPc;_.K(MM,_.J);MM.prototype.Zn=function(){return _.y(this,1)};var JPc=function(a,b){return _.w(a,1,b)},KPc=function(a,b){return _.w(a,2,b)};MM.prototype.Bb=function(){return _.y(this,3)};MM.prototype.Dc=function(a){return _.w(this,3,a)};LPc=function(a,b){return _.w(a,4,b)};MPc=function(a,b){return _.Jj(a,5,b)};_.NPc=function(a){_.J.call(this,a)};_.K(_.NPc,_.J);_.NPc.prototype.$b=function(){return _.y(this,2)};_.PPc=function(a){_.J.call(this,a,-1,OPc)};
_.K(_.PPc,_.J);var QPc=function(a,b){return _.w(a,1,b)},RPc=function(a,b){return _.w(a,2,b)},SPc=function(a,b){return _.Jj(a,3,b)},IPc=[5],OPc=[3];
_.NM=function(a){_.J.call(this,a,-1,TPc)};_.K(_.NM,_.J);_.NM.prototype.wV=function(){return _.Uj(this,_.tG,2)};_.NM.prototype.ue=function(){return _.B(this,_.Cf,3)};var TPc=[1,2];
_.OM=function(a){_.J.call(this,a)};_.K(_.OM,_.J);_.OM.prototype.Bb=function(){return _.y(this,1)};_.OM.prototype.Dc=function(a){return _.w(this,1,a)};_.OM.prototype.jf=function(){return _.B(this,_.nC,2)};_.UPc=function(a,b){return _.I(a,2,b)};_.OM.prototype.ek=function(){return _.y(this,3)};
var VPc=function(a){_.J.call(this,a)};_.K(VPc,_.J);VPc.prototype.Bb=function(){return _.y(this,1)};VPc.prototype.Dc=function(a){return _.w(this,1,a)};
var XPc=function(a){_.J.call(this,a,-1,WPc)};_.K(XPc,_.J);XPc.prototype.Bb=function(){return _.y(this,1)};XPc.prototype.Dc=function(a){return _.w(this,1,a)};XPc.prototype.wl=function(){return _.Uj(this,JM,2)};var WPc=[2];
_.PM=function(a){_.J.call(this,a)};_.K(_.PM,_.J);_.PM.prototype.lY=function(a){_.I(this,1,a)};_.PM.prototype.qv=function(){return _.B(this,_.jy,2)};_.PM.prototype.zO=function(a){_.I(this,2,a)};
_.YPc=function(a){_.J.call(this,a)};_.K(_.YPc,_.J);_.YPc.prototype.Sh=function(){return _.B(this,ROc,2)};_.YPc.prototype.O=function(a){_.Vj(this,5,_.ZPc,a)};_.ZPc=[5,6];
var $Pc;_.aQc=function(a){_.J.call(this,a,-1,$Pc)};_.K(_.aQc,_.J);_.aQc.prototype.O=function(a){_.Vj(this,6,_.QM,a)};$Pc=[3,4,5];_.QM=[6,7];
var bQc=function(a){_.J.call(this,a)};_.K(bQc,_.J);bQc.prototype.getType=function(){return _.y(this,1)};var cQc=function(a){var b=new bQc;return _.w(b,1,a)};bQc.prototype.yy=function(){return _.y(this,3)};bQc.prototype.$y=function(a){return _.w(this,3,a)};bQc.prototype.Pi=function(){return _.y(this,4)};bQc.prototype.setPosition=function(a){return _.w(this,4,a)};
var eQc=function(a){_.J.call(this,a,-1,dQc)};_.K(eQc,_.J);eQc.prototype.Bb=function(){return _.y(this,1)};eQc.prototype.Dc=function(a){return _.w(this,1,a)};eQc.prototype.ek=function(){return _.y(this,3)};var dQc=[2];
_.fQc=function(a){_.J.call(this,a)};_.K(_.fQc,_.J);_.fQc.prototype.getId=function(){return _.y(this,1)};_.fQc.prototype.Pb=function(a){return _.w(this,1,a)};_.fQc.prototype.ue=function(){return _.B(this,_.Cf,4)};
var hQc=function(a){_.J.call(this,a,-1,gQc)};_.K(hQc,_.J);hQc.prototype.Bb=function(){return _.y(this,1)};hQc.prototype.Dc=function(a){return _.w(this,1,a)};hQc.prototype.ek=function(){return _.y(this,3)};var gQc=[2];
_.RM=function(a){_.J.call(this,a)};_.K(_.RM,_.J);_.RM.prototype.getType=function(){return _.y(this,1)};var iQc=function(a){var b=new _.RM;return _.w(b,1,a)},jQc=function(a,b){return _.I(a,2,b)};_.RM.prototype.yy=function(){return _.y(this,3)};_.RM.prototype.$y=function(a){return _.w(this,3,a)};_.RM.prototype.Pi=function(){return _.y(this,4)};_.RM.prototype.setPosition=function(a){return _.w(this,4,a)};
_.NCc=function(a){_.J.call(this,a)};_.K(_.NCc,_.J);_.g=_.NCc.prototype;_.g.getItem=function(){return _.B(this,_.fl,1)};_.g.setItem=function(a){return _.I(this,1,a)};_.g.getError=function(){return _.B(this,_.zc,2)};_.g.Je=function(a){return _.I(this,2,a)};_.g.eo=function(){return _.Bj(this,2)};_.g.Ys=function(){return _.y(this,4)};
var lQc=function(a){_.J.call(this,a,-1,kQc)};_.K(lQc,_.J);var kQc=[2,4];
var nQc=function(a){_.J.call(this,a,-1,mQc)};_.K(nQc,_.J);var mQc=[1];
var pQc=function(a){_.J.call(this,a,-1,oQc)};_.K(pQc,_.J);pQc.prototype.Bb=function(){return _.y(this,1)};pQc.prototype.Dc=function(a){return _.w(this,1,a)};pQc.prototype.ek=function(){return _.y(this,3)};var oQc=[2];
var rQc=function(a){_.J.call(this,a,-1,qQc)};_.K(rQc,_.J);rQc.prototype.Bb=function(){return _.y(this,1)};rQc.prototype.Dc=function(a){return _.w(this,1,a)};rQc.prototype.ek=function(){return _.y(this,3)};var qQc=[2];
var sQc=function(a){_.J.call(this,a)};_.K(sQc,_.J);
var uQc=function(a){_.J.call(this,a,-1,tQc)};_.K(uQc,_.J);uQc.prototype.O=function(){return _.y(this,2)};var vQc=function(a,b){_.w(a,2,b)},tQc=[1];
var xQc=function(a){_.J.call(this,a,-1,wQc)};_.K(xQc,_.J);xQc.prototype.xy=function(){return _.D(this,2)};var wQc=[1];
var yQc=function(a){_.ti.call(this,"Ob");this.dataType=a};_.K(yQc,_.ti);
var zQc=function(a,b){_.ti.call(this,"Pb");this.DOa=a;this.Dta=b};_.K(zQc,_.ti);
var AQc=function(){};_.g=AQc.prototype;_.g.rM=function(a,b){return bPc(aPc(1),a).setPosition(b)};_.g.qM=function(a,b){return bPc(aPc(2).setPosition(b),a)};_.g.zE=function(a,b,c){return bPc(aPc(3).$y(b).setPosition(c),a)};_.g.kQ=function(a,b){return bPc(aPc(4),a).setPosition(b)};_.g.QM=function(a){return _.B(a,ML,2)};
var BQc=function(){_.Ly.call(this,new AQc,function(a){return a&&a.getName()})};_.K(BQc,_.Ly);
var SM=function(a,b,c){c=void 0===c?50:c;_.Ci.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=nBc(new _.gL,[1]);this.ha=this.H=!1;this.Sc=new _.We(this);this.Ma(this.Sc);_.Oe(this,function(){d.active=!1;d.Sc.removeAll()})};_.K(SM,_.Ci);_.g=SM.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.Te=function(){return this.W.Te()||this.connectionState.Te()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Sc.listen(this.W,"Fb",function(){return void a.Wt()}),this.Sc.listen(this.connectionState,[].concat(_.xd(Object.values(_.oC))),function(){return void a.Wt()}),this.W.Te()?this.Sc.$c(this.W,"Fb",function(b){b.Te()||(a.IG(),a.dispatchEvent(new _.ti(_.sq)))}):this.connectionState.Te()?this.Sc.$c(this.connectionState,[_.oC.xL,_.oC.eU],function(){a.IG();a.dispatchEvent(new _.ti(_.sq))}):(this.IG(),this.dispatchEvent(new _.ti(_.sq))))};
_.g.IG=function(){};_.g.Fr=function(a){var b=this;if(this.Vj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Wt();this.W.Te()?this.Sc.$c(this.W,"Fb",function(d){d.Te()||b.QO()}):this.QO()}};_.g.BL=function(){this.Te()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Nq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.Cc(a))};_.g.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};_.g.Vj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Sc.removeAll();this.activate()};_.g.QO=function(){};
var CQc=function(a,b,c,d,e){SM.call(this,a,b,e.Di()||void 0);this.ka=c;this.request=e;this.V=[];this.data=[];this.changed=!1;this.O=new BQc;this.ma=d};_.K(CQc,SM);_.g=CQc.prototype;_.g.IG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.getData=function(){return tJc(new cM,this.data).Dc(this.status)};_.g.yr=function(){var a=this.O.py(this.V,this.data);this.V=this.data;var b=(new dPc).Dc(this.status);return _.Jj(b,2,a)};
_.g.QO=function(){this.ma(this.Ai(),this.limit)};_.g.Wt=function(){if(this.active){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,DQc(this)}};_.g.$b=function(){return this.data.length};_.g.ud=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||yL(this.O,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,DQc(this)};
var DQc=function(a){a.log("Livelist "+a.Ai()+" returning "+a.data.length+" for "+(a.request.Ac()+". Status: ")+(_.$a(kGc)[a.Bb()]+"."));a.dispatchEvent(new _.ti(_.Mc,a))};CQc.prototype.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};CQc.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var EQc=function(a,b,c,d,e,f,h){_.EL.call(this,a,b,c,e,f,d);this.Od=h;this.W="drive.ds.sync.ViewCacheLiveList";this.ta=null;this.ma=void 0};_.K(EQc,_.EL);EQc.prototype.getData=function(){this.H=this.items;var a=IEc((new _.oB).Dc(this.Bb()).Vw(this.items),this.Vj());a=_.I(a,7,this.ta).lP(this.suggestionSessionId).Ki(this.Ke);return _.Hj(a,18,this.ma)};
EQc.prototype.update=function(a){if(nGc(this,a)&&(oGc(this,a),this.ta=a.N5(),this.suggestionSessionId=a.dg(),this.ma=a.Wja(),mGc(this),this.suggestionSessionId&&JIc(this.V)&&(a=this.Od.H(106027)))){var b=_.B(_.HK(a),xFc,20);if(!b){b=new xFc;var c=_.HK(a);_.I(c,20,b)}_.w(b,1,this.suggestionSessionId);a.xj()}};
var FQc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Yj(d,f)||(d=lPc(kPc(4),f),c[e]=d):(d=lPc(kPc(2),d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=lPc(kPc(1),d),c[e]=d)});return c},GQc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ua(FQc(a,b))};
var HQc=function(a,b){_.Ci.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.K(HQc,_.Ci);_.g=HQc.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Ua(this.data)&&6===this.status||this.dispatchEvent(new _.ti(_.Mc,this)))};_.g.Bb=function(){return this.status};_.g.Nq=function(){return new _.gL};_.g.getData=function(){this.H=this.data;var a=(new _.LK).Dc(this.status);_.La(this.data,function(b,c){a.BT().set(c,b||new _.xG)});return a};
_.g.yr=function(){var a=FQc(this.H,this.data);this.H=this.data;var b=(new VPc).Dc(this.status);_.La(a,function(c,d){_.Gj(b,2,void 0,JM).set(d,c)});return b};_.g.XS=function(){throw Error("cg");};_.g.Ai=function(){return String(_.Ca(this))};_.g.ud=function(){return this.request};_.g.update=function(a){var b={};a.BT().forEach(function(c,d){c||(c=lLc(d));b[d]=c});if(this.status!==a.Bb()||GQc(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.ti(_.Mc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};
var IQc=function(a,b,c,d,e,f){_.EL.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.K(IQc,_.EL);IQc.prototype.getData=function(){this.H=this.items;var a=(new _.KK).Dc(this.Bb()).Vw(this.items);var b=this.Vj();a=_.w(a,4,b);return jGc(a,this.ma).lP(this.suggestionSessionId).Ki(this.Ke)};IQc.prototype.update=function(a){nGc(this,a)&&(oGc(this,a),this.ma=_.Uj(a,_.Pk,6),this.suggestionSessionId=a.dg(),mGc(this))};
var JQc=function(){};_.g=JQc.prototype;_.g.rM=function(a,b){return jPc(iPc(1),a).setPosition(b)};_.g.qM=function(a,b){return jPc(iPc(2).setPosition(b),a)};_.g.zE=function(a,b,c){return jPc(iPc(3).$y(b).setPosition(c),a)};_.g.kQ=function(a,b){return jPc(iPc(4),a).setPosition(b)};_.g.QM=function(a){return a.rn()};
var KQc=function(){_.Ly.call(this,new JQc,function(a){return a&&a.iq()})};_.K(KQc,_.Ly);
var LQc=function(a,b,c){SM.call(this,a.Nj(),a.Bk(),b.Di()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new KQc;this.suggestionSessionId=null;this.ka=c};_.K(LQc,SM);_.g=LQc.prototype;_.g.IG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.getData=function(){this.O=this.data;return OHc(NHc((new QL).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.yr=function(){var a=this.V.py(this.O,this.data);this.O=this.data;var b=(new FPc).Dc(this.status);return _.Jj(b,2,a)};_.g.QO=function(){};_.g.Wt=function(){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))};_.g.$b=function(){return this.data.length};_.g.ud=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||yL(this.V,this.data,a.wl())){this.changed=this.H=!0;this.data=a.wl();if(a=a.dg())this.suggestionSessionId=a;this.Wt()}};_.g.refresh=function(){this.ka()};_.g.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var MQc=function(a,b,c){_.Ci.call(this);var d=this;this.request=a;this.ka=b;this.ha=c;this.V=[];this.items=[];this.H=!1;this.status=6;this.W=nBc(new _.gL,[1]);this.O=!0;this.limit=a.Di();_.Oe(this,function(){d.H=!1;d.V=[]})};_.K(MQc,_.Ci);_.g=MQc.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.activate=function(){this.H=!0;_.pa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.ti(_.Mc,this))};_.g.ud=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Nq=function(){return this.W};_.g.Vj=function(){return this.O};_.g.getData=function(){this.V=this.items;return IEc((new _.oB).Dc(this.status).Vw(this.items),this.O)};_.g.yr=function(){var a=_.p8a().py(this.V,this.items),b=(new _.nI).Dc(this.status);a=_.Jj(b,2,a);this.V=this.items;return a};_.g.Fr=function(a){this.H&&(this.limit+=a||20,this.ka.CF(this.Ai(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||yL(_.p8a(),this.items,a.wd()))this.items=a.wd(),this.status=a.Bb(),_.PI(this.ha)&&(this.W=oBc(this.status,this.items)),this.O=a.ul(),this.H&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};_.g.zu=function(){throw Error("dg");};_.g.refresh=function(){};
var NQc=function(a,b,c){_.Ci.call(this);var d=this;this.context=a;this.ha=b;this.request=c;this.V=!1;this.O={};this.H={};this.status=6;this.W=nBc(new _.gL,[1]);this.context.Rf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.qn().join(", "));_.Oe(this,function(){d.V=!1;d.O=[]})};_.K(NQc,_.Ci);_.g=NQc.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.ud=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.JK;a.Dc(this.status);a.map=this.H;return a};_.g.yr=function(){var a=LBc(this.O,this.H),b=new tGc;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Nq=function(){return this.W};
_.g.XS=function(a){var b=this.request;this.request=a;this.ha.PY(this.Ai(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||MBc(this.H,a.gq()))this.status=a.Bb(),this.H=a.gq(),_.PI(this.context.Nc)&&(this.W=oBc(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ti(_.dFa))};
var OQc=function(){};_.g=OQc.prototype;_.g.rM=function(a,b){return lPc(kPc(1),a).setPosition(b)};_.g.qM=function(a,b){return lPc(kPc(2).setPosition(b),a)};_.g.zE=function(a,b,c){return lPc(kPc(3).$y(b).setPosition(c),a)};_.g.kQ=function(a,b){return lPc(kPc(4),a).setPosition(b)};_.g.QM=function(a){return a.rn()};
var PQc=function(){_.Ly.call(this,new OQc,function(a){return a&&a.getId()})};_.K(PQc,_.Ly);
var QQc=function(a,b,c){SM.call(this,a.Nj(),a.Bk(),b.Di()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new PQc};_.K(QQc,SM);_.g=QQc.prototype;_.g.IG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ti(_.Mc,this))};_.g.getData=function(){this.O=this.data;return EJc((new eM).Dc(this.status),this.data.slice(0))};_.g.yr=function(){var a=this.V.py(this.O,this.data);this.O=this.data;var b=(new XPc).Dc(this.status);return _.Jj(b,2,a)};
_.g.QO=function(){this.ka.CF(this.Ai(),this.limit)};_.g.Wt=function(){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))};_.g.$b=function(){return this.data.length};_.g.ud=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||yL(this.V,this.data,b.wl()))this.H=!0,this.status=b.Bb(),this.data=b.wl(),this.ha=a.H,this.dispatchEvent(new _.ti(_.Mc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.Cc(new _.Ac("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var RQc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.vf;this.O=this.context.kfa;this.ta=this.context.Q5};_.g=RQc.prototype;_.g.Bwa=function(a){var b=this,c=new EQc(this.context.xm,this.context.XP,this.context.Rf(),this.context.Nc,function(d,e){b.CF(d,e)},a,this.context.uk());this.ii(c);_.Oe(c,function(){b.lk(c)});return c};
_.g.Ewa=function(a){var b=this,c=new IQc(this.context.xm,this.context.XP,this.context.Rf(),function(d,e){b.CF(d,e)},a,this.context.Nc);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};_.g.ywa=function(a){var b=this,c=new GL(this.context.Nc,this.context.xm,this.context.Rf(),this.context.GZ,this.PY.bind(this),a);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};_.g.Hwa=function(a){var b=this,c=new MQc(a,this,this.context.Nc);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};
_.g.Iwa=function(a){var b=this,c=new NQc(this.context,this,a);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};_.g.Lwa=function(a){var b=this,c=new QQc(this.context,a,this);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};_.g.Fwa=function(a){var b=this,c=new LQc(this.context,a,function(){if(a instanceof _.iA){var d=SQc(b.context);dLc(d,d.getKey(a)).refresh()}});this.ii(c);_.Oe(c,function(){b.lk(c)});return c};
_.g.Mwa=function(a){var b=this,c=new HQc(this.context,a);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};_.g.uwa=function(a){var b=this,c=new CQc(this.context.Nj(),this.context.Bk(),this.context.Rf(),function(d,e){b.CF(d,e)},a);this.ii(c);_.Oe(c,function(){b.lk(c)});return c};
_.g.ii=function(a){var b=a.Ai();this.H[b]=a;this.ha.create(b,a.ud());if(a.ud()instanceof _.kA)a=this.O.ii(b,a.ud());else if(a.ud()instanceof _.yG)a=bLc(this.O,b,a.ud());else if(a.ud()instanceof _.iA)a=SQc(this.context).ii(b,a.ud());else if(a.ud()instanceof _.GG)a=this.ta.ii(b,a.ud());else{var c=a.ud(),d=FL(this.context.xm,c,2);this.log("Registering LiveList "+a.Ai()+" "+d);a=this.W.ii(b,c)}"boolean"===typeof a&&mJc(this.ha,b,a)};
_.g.lk=function(a){if(a.ud()instanceof _.kA)this.O.lk(a.Ai(),a.ud());else if(a.ud()instanceof _.yG)cLc(this.O,a.Ai(),a.ud());else if(a.ud()instanceof _.iA)SQc(this.context).lk(a.Ai(),a.ud());else if(a.ud()instanceof _.GG)this.ta.lk(a.Ai(),a.ud());else{var b=a.ud(),c=FL(this.context.xm,b,2);this.log("Unregistering LiveList "+a.Ai()+" "+c);this.W.lk(a.Ai(),b)}aM(this.ha,a.Ai(),4);delete this.H[a.Ai()]};_.g.PY=function(a,b,c){this.W.lk(a,b);this.W.ii(a,c)};
_.g.CF=function(a,b){var c=TQc(this,a).ud();c.ti(b);c instanceof _.kA?this.O.ii(a,c):c instanceof _.yG?bLc(this.O,a,c):c instanceof _.GG?this.ta.ii(a,c):this.W.ii(a,c)};_.g.hO=function(a,b){var c=this.H[a]&&this.H[a].ud();c&&(c instanceof _.of?uBc(c.O(),b.wd().filter(function(d){return!VL(d)})):c instanceof _.xA&&uBc(c.O(),Object.values(b.gq()).filter(function(d){return d&&!VL(d)})));this.ka[a]=b;this.V||(this.V=_.Ei(this.N8,50,this))};
_.g.EX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ei(this.N8,50,this))};_.g.tA=function(a){(a=this.H[a])&&a.dW()};_.g.N8=function(){_.Fi(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&&(pJc(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])aM(this.ha,a,3),d.CB(c)};
_.g.kka=function(a){return TQc(this,a).ud()};var TQc=function(a,b){if(!a.H[b])throw Error("eg`"+b);return a.H[b]};RQc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var UQc=function(){},VQc=function(a){this.H=a},OCc=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.qA=f;this.H=h;this.W=k};
var TM=function(a,b){_.Ci.call(this);this.O=a;this.request=b;this.ke=_.bi();this.complete=!1;this.H=""};_.K(TM,_.Ci);TM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Re(a.request)}).then(this.W.bind(this)).Cg(this.handleError.bind(this));return this.ke.promise};TM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new zQc(0,this.H));WQc(this)};
var WQc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Re(new _.Luc(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 lQc;c=_.Hj(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.qA);c=_.w(c,8,b.H);b=_.Jj(c,4,b.W);a.ke.resolve(b)}else b=_.WI(_.mq(_.lq(new _.zc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new zQc(b.O,
a.H)),WQc(a)}).Cg(function(b){a.handleError(b)})},5E3)};TM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Re(new _.Kuc(a.H))}).then(this.V.bind(this)).Cg(this.handleError.bind(this))};TM.prototype.V=function(){if(!this.complete){var a=new lQc;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.ke.resolve(a);this.complete=!0;this.dispose()}};TM.prototype.handleError=function(a){this.complete=!0;this.ke.reject(_.iJ(a));this.dispose()};
var XQc=function(){_.ti.call(this,"VbxEwf")};_.K(XQc,_.ti);
var YQc=function(a,b){this.context=a;this.H=null;this.qc=b||null};_.g=YQc.prototype;_.g.La=function(){return _.B(this.context.Nc,_.fJ,58)};_.g.getContext=function(){return this.context};_.g.Oz=function(){return this.context.YA.Oz(this.H)};_.g.Rf=function(){return this.context.Rf()};_.g.DM=function(a){return _.ii(this.context.vf.wm.H(a))};_.g.XQ=function(){return _.ii(this.context.YA.XQ())};
_.g.K4=function(a,b,c){var d=new _.di;if(_.bk(a,_.QI,3,_.RI)||_.bk(a,_.$J,4,_.RI)||_.bk(a,_.TK,5,_.RI)||_.bk(a,_.XJ,6,_.RI)||_.bk(a,_.xJ,7,_.RI)||_.bk(a,_.qJ,8,_.RI)||_.bk(a,_.uJ,9,_.RI)||_.bk(a,_.ZI,10,_.RI)){var e=jJc(a);this.context.Tm().then(function(f){return f.Re(e,{V5a:b,W5a:c})}).then(this.a$a.bind(this,d),d.Id,d);return d}throw Error("fg");};
_.g.a$a=function(a,b){var c=[],d="";if(b instanceof _.UK){c=b.jd().wd();var e=_.y(b,2);d=b.Zn()}else if(b instanceof _.dK)b.getItem()&&c.push(b.getItem()),e=b.OM();else throw Error("gg");a.callback({items:c,cia:e,pageToken:d})};_.g.wpa=function(){var a=this.context.Nc,b=a.hg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.Dha=function(){this.context.Ls.cS();var a=this.context.Nc;WMc(_.tK(_.AI(a)),_.uK(a),this.context.Rf()).Cg(function(){})};
_.g.Z8=function(){return _.Stc[_.Ej(this.context.Nc.hg(),8,0)]};_.g.cda=function(){this.context.NF.H=new LLc(_.Vg().substring(0,8))};_.g.HS=function(){var a=this.context.NF.eN(),b=null;a&&(b=NLc(this.context.NF),b={traceId:a,spanRecs:b});a=this.context.NF;a.H=null;a.wY=[];return _.ii(b)};_.g.eN=function(){return _.ii(this.context.NF.eN())};
_.g.getState=function(a){var b=this.context.Sj,c=b.H.bind(b);b={};b.b=this.context.Nc.Wi();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.vf.wm.Ed();c=this.context.vf.lr;var d=c.H;d&&(b.cs_sutd=d.Q7,b.cs_ss=d.Ed());b.cs_ch=bKc(c).length;b.cs_td=c.UV().length;(c=this.context.R5)&&(b.t_cps=c.VVa().getStats().join(","));b.t_id=ZQc(this.context);
var e=[];$Qc(this.context.WQ()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.lz?this.context.Bk().isConnected():this.context.sI.IB();b.n_o=this.context.lz?this.context.Bk().Te():this.context.Nj().Te();b.n_csm=!!this.context.lz;a&&(b.csw_cc=_.Pa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.ii(JSON.stringify(b))};_.g.Toa=function(){this.qc&&(this.qc.dispatchEvent(new XQc),this.qc.Gu())};
_.g.Pl=function(a){var b=this.context.lz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.gyc(b))};
var cRc=function(a,b){this.context=a;this.Lg=b;this.H=_.xuc(_.BK(this.Lg),aRc);this.O=_.xuc(_.BK(this.Lg),bRc)};
cRc.prototype.yl=function(a){var b=this,c=this.context.NP.jf().jf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.Buc(h);var k=h.getId(),l=b.context.bo();_.Wvc(h,3);_.bJ(h,5);var p=QBc(h,!0);h.getCapabilities()||_.pK(h,new _.Vk);_.P(p,2)&&((p=h.wk())&&p.length?_.w(h,46,p[0]):(_.oK(h,[l]),_.w(h,46,l)),l=h.yq(),_.w(h,12,l),l=new _.Pk,l.Pb(d),_.w(l,6,1),_.hvc(l,!0),_.Pvc(h,l),_.Ovc(h,[l]),_.T8b(h,1));e[k]=h});a=Object.keys(e);c=this.context.vf;var f=pIc(c.wm,a);_.La(f,function(h,
k){lL(h.getItem(),e[k],b.H);(b.context.Nj().Te()||b.context.Bk().Te()||3===h.getItem().sv())&&lL(h.getItem(),e[k],b.O);_.Va(e,k)});_.La(e,function(h){_.Yk(h.Sm())&&(f[h.getId()]=new TL(h))});dRc(c,Object.values(f))};
var eRc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.yl(c)},fRc=function(a){a=a.context.vf;var b=new _.of;b.Pl(!0);b=rIc(a.wm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.sv()){var h=new _.TI;_.UI(h,f.getId());_.cJ(h);d.push(h)}else h=new _.aoa,_.iL(h,!1),_.w(h,2,!1),_.I(f,81,h),c.push(b[e])}dRc(a,c);a.Qo(d)},aRc=[50],bRc=[12,11,10,67,68];
var gRc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new cRc(a,a.Lg)};_.g=gRc.prototype;_.g.gY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.c$a.bind(this);var b=this.b$a.bind(this);this.log("Querying all offline items.");this.H.lV().lg(a,b);this.V||(this.H.s_((0,_.M)(this.vwb,this)),this.V=!0)}}else fRc(this.O)};_.g.c$a=function(a){this.log("Processing all offline item(s): "+a.length);this.O.yl(a);gM(this.context.Sj,"GZTDpc")};_.g.b$a=function(){this.log("Error fetching offline items.")};
_.g.vwb=function(a){this.log("Handling offline change(s): "+a.length);eRc(this.O,a)};_.g.log=function(a){this.context.Rf().info("drive.ds.sync.offline.LocalDataService",a)};
var UM=function(a){_.Ci.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Sc=new _.We(this);this.ma=null;this.Ta=this.va=!1;var b=new gRc(a);this.context.ha=b;this.Fa=new YQc(a,this);zCc(this.Fa);(b=_.B(a.Nc,_.fJ,58))&&_.Q(b,1,!1);this.Ma(this.Sc);this.O=this.context.Sj;this.W=a.hfa;this.V=new RQc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.ARa()};_.K(UM,_.Ci);_.g=UM.prototype;_.g.ARa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.bi();var b=this.context.uk().H(106E3);this.ma.promise.then(function(){b&&b.xj()},function(){_.RK(a.context.uk(),181008852)});var c=_.vK(this.context.Nc)?"(coldstart) ":"";this.context.Rf().info(this.Ba,"Initializing "+c+" with client build: "+this.context.Nc.Wi());this.Sc.listen(this.context,_.Lc,this.$tb);this.Sc.listen(this.context.sI,["tb","ub"],function(d){return void a.dispatchEvent(d)});this.Sc.listen(this.context.Bk(),[].concat(_.xd(Object.values(_.oC))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();gM(this.O,"NSockf")}return this.ma.promise};_.g.wWa=function(){this.context.Rf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.$tb=function(a){var b=a.error,c=b.Sg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.DY=function(){throw VM("teamDriveQuery");};_.g.kda=function(){throw VM("teamDriveFindByIds");};
_.g.opa=function(){throw VM("teamDriveMovePreflight");};_.g.qFa=function(){throw VM("peoplePredictQuery");};_.g.query=function(a){HIc(this.context.xm,a,KFc(this.context.Lg));this.gF();var b=a.clone();b=this.V.Bwa(b);this.Ta||(a=a.ue(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Mc,this.OLa)));return b};_.g.OLa=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Sc.Yc(a,_.Mc,this.OLa)}};_.g.Eq=function(a){this.gF();vGc(a);return this.V.ywa(a.clone())};
_.g.xua=function(){throw VM("activityQuery");};_.g.jva=function(){throw VM("backupsQuery");};_.g.aGa=function(){throw VM("refreshBackups");};_.g.mV=function(){throw VM("getAndroidBackupItems");};_.g.e8=function(){throw VM("deleteBackup");};_.g.tFa=function(){throw VM("permissionQuery");};_.g.S$=function(){throw VM("insertPermission");};_.g.f8=function(){throw VM("deletePermission");};_.g.ld=function(){throw VM("mutate");};_.g.KN=function(){throw VM("mutateWorkspace");};
_.g.Bz=function(){throw VM("bulkMutate");};_.g.xwa=function(){throw VM("createFileUploader");};_.g.ORa=function(a){return new TM(this.context.Tm(),a)};_.g.xr=function(a){if(3===a.getType())return _.ji(this.context.Tm().then(function(b){return b.Re(a)}).then(null,_.jJ));throw VM("getApps with type "+a.getType());};_.g.wr=function(){throw VM("getApp");};_.g.U$=function(){throw VM("installApp");};_.g.d8=function(){throw VM("deleteApp");};_.g.US=function(){throw VM("updateApp");};
_.g.jN=function(){throw VM("getUserAccount");};_.g.GG=function(){throw VM("getUserPrefs");};_.g.SR=function(){throw VM("mutateUserPref");};_.g.lu=function(){throw VM("getRevisions");};_.g.dBa=function(){return!1};_.g.Pl=function(a){this.context.lz?a?_.hyc(this.context.lz,!0):this.context.Bk().Te()&&this.context.lz.iM(!0).then(null,function(){}):this.context.Nj().Pl(a)};_.g.Zy=function(){throw VM("setOfflineOptIn");};_.g.gY=function(){throw VM("setLocalItemService");};_.g.gF=function(){};
_.g.VR=function(){this.context.VR();this.context.uk().O(106006)};_.g.q9=function(){return this.Fa};_.g.dY=function(){};_.g.IB=function(){return this.context.sI.IB()};_.g.cQ=function(){return _.Q(this.context.Nc.hg(),52,!1)?_.Yh(cJc(new bJc,0)):this.context.sI.cQ()};_.g.isConnected=function(){return 1===this.context.Bk().get()};_.g.z7=function(){var a=this.context.lz;return a?a.iM():_.Yh(_.$xc(0))};_.g.sync=function(){throw VM("sync");};_.g.Gu=function(){return this.context.Gu()};
_.g.kba=function(){throw VM("offlineDataLoaded");};_.g.una=function(a){return this.context.Tm().then(function(b){return b.Re(a)}).then(function(b){return b})};_.g.Kva=function(){throw VM("categoryMetadataQuery");};_.g.u7=function(){throw VM("changeCategoryLinks");};_.g.SO=function(){throw VM("updateCategoryMetadata");};_.g.LFa=function(){throw VM("publishedCategoriesQuery");};_.g.MFa=function(){throw VM("publishedCategoryQuery");};_.g.qKa=function(){throw VM("workspaceFindByIdsRequest");};
_.g.jqa=function(){throw VM("workspaceQueryRequest");};_.g.HIa=function(){throw VM("suggestedWorkspaceItemQueryRequest");};_.g.IIa=function(){throw VM("suggestedWorkspaceQueryRequest");};_.g.q_=function(){throw VM("addCacheHint");};_.g.W_=function(){throw VM("createUserFeedback");};_.g.Qo=function(){throw VM("handleChanges");};var VM=function(a){return new _.Ac(a+" is unsupported",_.hJ(3))};
var YCc=function(a){UM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Eu("")};_.K(YCc,UM);YCc.prototype.$a=function(){fM(this.O,["NSockf"],this.wWa.bind(this))};
var hRc=new Set([1,2,4,5,6]),iRc=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.Ke=0};iRc.prototype.jf=function(){var a=new _.OM;a.Dc(this.status);this.H&&_.UPc(a,jRc(this));return a};
var kRc=function(a,b,c,d){d=void 0===d?!1:d;var e=hRc.has(c);if(1===a.status&&!e)return!1;a.Ke=c;var f=a.status;c=!a.H;if(_.PI(a.O)){var h=(h=b&&b.getUser())&&jL(h);h=!(!h||!LKc(a.ka,h));a.status=h&&e||d?1:6}f=!_.Yj(a.H,b)||(_.PI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.PI(a.O)||(a.status=e||d?1:6);c&&(gM(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};iRc.prototype.$e=function(){return this.Ke};
var jRc=function(a){return a.H?a.H.clone():null};
var lRc=function(a){_.Ci.call(this);this.ha=a;this.Ke=0};_.K(lRc,_.Ci);var mRc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};FHc(a,_.de(a,4).map(b));GHc(a,_.de(a,5).map(b));return a};_.g=lRc.prototype;_.g.xr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.YP=function(){};_.g.MG=function(){return 0!==this.Ke};_.g.$e=function(){return this.Ke};
var nRc=new Set([1,2,4,5,6]),oRc=function(a,b,c){lRc.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.wp=!1};_.K(oRc,lRc);oRc.prototype.xr=function(){var a=new bM;if(!_.Ua(this.H)){_.Hj(a,4,this.O);var b=[];_.La(this.H,function(c){b.push(c.clone())});_.Jj(a,2,b)}a.Dc(this.status);return a};oRc.prototype.put=function(a){this.H[a.getId()]=mRc(a);this.V.update(1);this.dispatchEvent(new _.ti("Qb",this))};oRc.prototype.remove=function(a){_.Va(this.H,a)&&this.V.update(1)};
oRc.prototype.YP=function(a,b,c){c=void 0===c?!1:c;var d=!nRc.has(b);1===this.status&&d||(this.Ke=b,pRc(this,a,!d||c),d||this.V.update(1),this.wp||(this.wp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),gM(this.ha,"nVUlO")))};
var pRc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.de(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Da(f);d=f.length!==a.O.length}a.O=e;var h=_.Za(a.H);_.Bqc(a.H);b=_.Uj(b,_.OL,2);d||(d=b.length!==_.Pa(h));b.forEach(function(k){var l=mRc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Yj(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ti("Qb",a))};
var WM=function(a){_.N.call(this);this.context=a;this.Ky=new Set;this.Dp=6;this.VBa=!0;this.Ke=0;this.Sc=new _.We(this);this.Ma(this.Sc)};_.K(WM,_.N);_.g=WM.prototype;_.g.ii=function(a){this.NQa(a);this.Ky.add(a);this.resize(!0);this.hO(a)};_.g.NQa=function(){};_.g.lk=function(a){this.Ky.delete(a);0!=this.Ky.size||this.IYa()?this.resize(!1):this.dispose()};_.g.$e=function(){return this.Ke};_.g.Ki=function(a){this.Ke=a};_.g.bC=function(a){this.VBa=!1;this.Dp=a};_.g.zJ=function(){return this.Dp};
_.g.refresh=function(){};_.g.hk=function(){};
var rRc=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)}}qRc(a.context.vf,d,b);d.forEach(function(k){KLc(a.context.VLa,k,b);if(k.yc()){var l=k.getCapabilities();VL(k)?l&&(_.tvc(l,_.P(l,13)),_.qvc(l,!1),_.xvc(l,!1)):oL(k)?(l&&_.w(l,3,!1),_.w(k,30,!1)):l&&(_.Bvc(l,!1),_.Cvc(l,!1))}k.getCapabilities()||_.pK(k,
new _.Vk)})};WM.prototype.resize=function(){};WM.prototype.ud=function(){};WM.prototype.yl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=hM(e);d=c.Lu(e,!0)||d});b||(1!=this.zJ()&&(d=!0),this.bC(1));d&&this.FX()};var sRc=function(a,b){var c=!1;b.forEach(function(d){c=a.Lu(d)||c});c&&a.FX();return c};_.g=WM.prototype;_.g.update=function(a){return sRc(this,[a])};_.g.Lu=function(){};_.g.FX=function(){var a=this;this.MQa();this.Ky.forEach(function(b){a.hO(b)})};_.g.MQa=function(){};
_.g.hO=function(a){var b=tRc(this.context).kka(a);this.VXa(b)||(b=this.hk(b),tRc(this.context).hO(a,b))};_.g.EX=function(a){var b=this;this.bC(3);this.Ky.forEach(function(c){tRc(b.context).EX(c,a)})};_.g.tA=function(){var a=this;this.Ky.forEach(function(b){tRc(a.context).tA(b)});this.Ki(0==this.$e()?1:6)};_.g.IYa=function(){return!1};_.g.VXa=function(){return!1};
var uRc=function(a){_.ti.call(this,"Ba");this.id=a};_.K(uRc,_.ti);
var vRc=function(a,b,c,d){d=void 0===d?!1:d;_.Ci.call(this);this.request=a;this.context=b;this.gKa=d;this.ke=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.K(vRc,_.Ci);
vRc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.bi();for(var b={},c=_.m(this.request.qn().entries()),d=c.next();!d.done;b={Qqa:b.Qqa,cea:b.cea,Aqa:b.Aqa},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Aqa=e;b.Qqa=WFc(VFc(d),this.request);b.cea=void 0;this.gKa&&(b.cea={gKa:!0});this.context.Tm().then(function(f){return function(h){return h.Re(f.Qqa,f.cea)}}(b)).then(function(f){return void wRc(a,f)},function(f){return function(h){var k=f.Aqa;h=
_.PB(h);5===h.Sg.Ys()||4===h.Sg.zk()?(a.context.Rf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),xRc(a)):a.handleError(h)}}(b))}return this.ke.promise};var wRc=function(a,b){b.jd().wd().forEach(function(c){_.bJ(c,1);a.W.push(c)});xRc(a)},xRc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
vRc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;yRc(this);zRc(this);this.O.size===this.request.qn().length?(this.context.vf.yl([],1,this.originalRequest,!1),this.dispatchEvent("Da"),this.ke.resolve(this.items)):this.dispatchEvent("Aa")};
var yRc=function(a){var b=a.W;a.W=[];b=a.context.jfa.J8(b);if(_.mI(_.AI(a.context.Nc))){var c=a.context.vf.wm;_.Ia(b,function(d){var e=c.H(d.getId());e&&_.oK(d,e.wk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.vf.yl(b,1,a.originalRequest,!0)},zRc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.cJ(_.UI(new _.TI,c));a.context.vf.Qo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new uRc(c))})};
vRc.prototype.handleError=function(a){var b=new DL(a.Sg,_.Zj(this.context.Nc.hg(),1,1));this.context.vf.CB(this.request,b);this.dispatchEvent(b);this.ke.reject(a)};
var ARc=function(a,b,c,d){WM.call(this,a);this.Lg=b;this.request=c;this.Hd={};this.H=null;this.O=_.fK(a.Nc)||new _.ewc;d&&this.yl(d,!0)};_.K(ARc,WM);
ARc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Dp=6;if(_.Q(this.request,5,!1))return this.bC(1),_.Yh();var b=this.VBa?!xBc(_.BK(this.Lg),this.request.O()):!1,c=[],d=this.context.bo();this.request.qn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Hd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.sv()||b)l=l&&l.Sm(),k=!(l&&_.P(l,2));k&&c.push(h)}});if(0===c.length)return this.yl([],!1),_.Yh();this.H=_.bi();this.H.promise.then(function(){a.H=null},function(){a.H=null});
var e=this.request.clone();_.zA(e,c);var f=new vRc(e,this.context,this.request);this.context.Nj().Te()?(this.Sc.listen(this.context.Nj(),"Fb",function(h){h.Te()||(a.Sc.Yc(a.context.Nj(),"Fb"),BRc(a,f,a.H))}),this.Dp=0<Object.values(this.Hd).length?1:2):(this.context.Bk().Te()&&(this.Dp=0<Object.values(this.Hd).length?1:2),BRc(this,f,this.H));return this.H.promise};var BRc=function(a,b,c){a.Sc.listen(b,"Ba",function(d){a.Hd[d.id]=null});a.tA();b.$g().then(function(){c.resolve()},c.reject)};_.g=ARc.prototype;
_.g.Aha=function(a){var b=this;if(this.context.xm.equals(a,this.request,!0)){if(xBc(_.BK(this.Lg),a.O()))return!0;if(xBc(this.request.O(),a.O(),_.BK(this.Lg))){if(this.VBa)return!0;if(_.Q(this.O,5,!1))return this.request.qn().every(function(c){return(c=b.Hd[c])&&_.P(c.getItem(),31)})}}return!1};
_.g.hk=function(a){var b=new _.JK;_.PI(this.context.Nc)?b.Dc(KBc(Object.values(this.Hd))?6:this.Dp):b.Dc(this.Dp);b.Ki(this.$e());rGc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));rRc(this,a.O(),b.gq());return b};_.g.resize=function(){};_.g.ud=function(){return this.request};_.g.Ed=function(){return Object.values(this.Hd).length};_.g.Lu=function(a){var b=this.vs(a.O),c=this.vs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.vs=function(a){return!!a&&_.oa(this.request.qn(),a.getId())};
var CRc=function(a,b){_.ti.call(this,a);this.changes=b};_.K(CRc,_.ti);
var DRc=function(a){var b=new RKc;if(a.dg()){var c=a.dg();b.H=!1;b.suggestionSessionId=c}a instanceof _.KK&&_.Uj(a,_.Pk,6).length?(a=_.Uj(a,_.Pk,6),b.H=!1,b.V=a):a instanceof _.oB&&(a.N5()||a.Pra()||a.Wja().length)&&(c=a.N5(),b.H=!1,b.W=c,c=a.Pra()||!1,b.H=!1,b.incompleteSearch=c,a=a.Wja(),b.H=!1,b.O=a);return b};
var XM=function(a,b,c,d,e){e=void 0===e?"":e;_.Ci.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ka=a.Rf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.IFa(b);this.ha=new RKc};_.K(XM,_.Ci);var ERc=function(a){return!a.va||""!==a.nextPageToken},GRc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&ERc(a)?FRc(a):_.ii()};XM.prototype.$b=function(){return this.V.length};XM.prototype.H=function(){return this.V.slice()};
var FRc=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 _.di;d.addCallback(function(f){return void HRc(a,c,f)});var e=_.aBc(_.bBc(new _.QI,a.Fa),c);b=_.ZAc(new _.ntc,b);a.Ha&&_.w(b,10,!0);_.$Ac(e,b);a.va=!0;a.O=!0;a.context.Tm().then(function(f){return f.Re(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
XM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.KK)var c=b;else c=b.jd(),this.nextPageToken=b.Zn()||"";this.ha=DRc(c);this.ha.vc()||this.dispatchEvent("Ca");a.callback(c.wd())};
XM.prototype.handleError=function(a,b,c){c=_.PB(c);this.O=!1;if(5===c.Sg.Ys())a.callback([]);else{if(10===c.Sg.Ys()&&(_.ZAc(b,Math.ceil(_.Zj(b,1,1E3)/2-2E-15)),1<_.Zj(b,1,1E3))){var d=_.$Ac(_.aBc(_.bBc(new _.QI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Tm().then(function(e){return e.Re(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new DL(c.Sg,_.Zj(this.context.Nc.hg(),1,1));this.PLa(b);this.dispatchEvent(b);a.Id(c)}};
var HRc=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: ")+(_.pxc(a.request)+" paginationToken: ")+b;b=_.nq(_.lq(_.WI(_.VI(new _.zc,2),9),f));a.context.dispatchEvent(new _.Cc(new _.Ac(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())_.bJ(b.value,
a.ma?2:1);c=[];b=_.m(a.m1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.UI(new _.TI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new CRc("Aa",c));if(a.V.length<a.W&&a.nextPageToken)return FRc(a);a.dispatchEvent("Da")};_.g=XM.prototype;_.g.m1a=function(a){return a};_.g.PLa=function(){};_.g.ud=function(){return this.request};_.g.IFa=function(a){a=a.clone();this.ma&&_.w(a,46,!0);return a};_.g.log=function(a){this.Ka.info("drive.ds.sync.query.QueryRunner",a)};
var IRc=function(a,b,c,d){XM.call(this,a,b,void 0,c,d)};_.K(IRc,XM);IRc.prototype.m1a=function(a){a=this.context.jfa.J8(a);this.context.vf.yl(a,1,this.request,ERc(this));return a};IRc.prototype.PLa=function(a){this.context.vf.CB(this.request,a)};IRc.prototype.IFa=function(a){var b=a=XM.prototype.IFa.call(this,a),c=_.Ll(b);0===_.de(b,33).length&&1===c.length&&(c=this.context.vf.wm.H(c[0].Za()))&&(c=c.yc())&&(_.Ol(b,[c]),_.Pl(b,2));JRc(this,a);return a};
var JRc=function(a,b){if(_.Ll(b).some(function(d){return(d=a.context.vf.wm.H(d.Za()))&&_.P(d,108)})){var c=b.ue();c||(c=new _.Cf,_.Ml(b,c));_.Df(c,937)}};
var KRc=function(a,b,c,d){this.context=a;this.Lg=b;this.W=d;this.wna=0;this.H=c},ORc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Pl(_.Jl(_.Ol(new _.of,[b]),_.BK(a.Lg)),1),d=_.Df(new _.Cf,306);_.Ml(c,d);LRc(a);c=new IRc(a.context,c);GRc(c,5E3).addCallback(a.V.bind(a,c));MRc(a);NRc(a,b)}},MRc=function(a){var b=_.Qa(a.H);b=b.filter(function(d){return d instanceof ARc});var c=new Set;b.forEach(function(d){d.ud().qn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.Df(new _.Cf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.jO([].concat(_.xd(c)),b)},NRc=function(a,b){var c=[];(a.context.vf.RFa.iQ[b||"subscribed"]||[]).forEach(function(d){_.La(a.H,function(e){_.Yj(e.ud(),d)&&c.push(e)})});_.Da(c);0<c.length&&(LRc(a),c.forEach(function(d){d=FL(a.context.xm,d.ud(),3);a.log("Refreshing "+b+" cache: "+d)}),_.ci(_.$h(c.map(function(d){return d.refresh().Cg(_.Uf)})),a.O.bind(a)))};
KRc.prototype.jO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ve(f)});if(0===a.length)return _.Yh({});a=_.w(_.yA(_.zA(new _.xA,a),d||_.BK(this.Lg)),7,!0);_.AA(a,b);e&&e.length&&_.Jj(a,11,e);LRc(this);b=new vRc(a,this.context,void 0,c);return _.ci(b.$g(),this.V.bind(this,b))};KRc.prototype.V=function(a){a.dispose();this.O()};var LRc=function(a){a.wna++;a.context.Ls.setActive(!1)};KRc.prototype.O=function(){this.wna--;0===this.wna&&this.context.Ls.setActive(!0)};
KRc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CacheRefresher",a)};
var PRc=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ke=null;a=new _.Cf;_.Ef(a,!1);_.Df(a,305);_.Ml(this.request,a);this.Sc=new _.We(this);this.Ma(this.Sc)};_.K(PRc,_.N);
PRc.prototype.$g=function(){if(!this.ke){this.ke=_.bi();if(_.Q(this.request,48,!1))return this.H.Ki(9),this.ke.resolve(this.H),this.ke.promise;this.O=new XM(this.context,this.request,!0);this.Sc.listen(this.O,"Aa",this.W);this.Sc.listen(this.O,"Da",this.V.bind(this));this.Sc.listen(this.O,"Ea",this.ke.reject.bind(this.ke));GRc(this.O,this.request.Di())}return this.ke.promise};PRc.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(hM(new TL(b)))};
PRc.prototype.V=function(){this.H instanceof jM?this.H.H=!ERc(this.O):ERc(this.O)&&iM(this.H,!1);this.H.Ki(5);this.ke.resolve(this.H)};
var RRc=function(a,b){_.ti.call(this,QRc);this.cache=a;this.changes=b};_.K(RRc,_.ti);var QRc="Rb";
var SRc=function(a,b){return new _.Xh(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.oy()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();RBc(k.getItem());f.set(l,bIc(new TL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.Ac(),l=f.get(l)||null,k.Ck()?l&&a.update(new PJc(l.getId(),l,null)):(k=k.getItem(),RBc(k),a.update(QJc(l,bIc(new TL(k),null===l||void 0===l?void 0:l.H))));a.WW();c(e.IKb)},d)})};
var TRc=function(a,b){_.N.call(this);this.context=a;this.Lg=b};_.K(TRc,_.N);
TRc.prototype.$g=function(a){this.log("Running initial view populator (IVDP).");try{var b=new SL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.iJ(l));return}a=_.AI(this.context.Nc);if(!_.mI(a)){var c=b.jf();if(c){var d=c.getUser();d&&d.getId()===_.D(a,6,"")&&kRc(this.context.NP,c,4)}(a=b.bo())&&this.context.Eu(a,6)}var e=_.y(b,3)||void 0;e&&URc(this.context,e,!0);if((a=_.Uj(b,_.np,9))&&a.length){c=(c=this.context.Nc.hg())&&_.de(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.op(l))&&f.add(l)});this.context.dE.YP(a,4,[].concat(_.xd(f.values())))}a=b.wd();a.forEach(function(l){_.Buc(l);_.bJ(l,6)});if(c=_.Uj(b,RL,5)[0])if(b=this.context.xm,EBc(_.BK(this.Lg),c.getQuery().O(),_.uK(this.context.Nc)))if((d=c.getQuery().wc())&&4===d.getType()&&!_.Lqc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=XL(b,c.getQuery());b=_.y(c,2)||void 0;d.ti(b);b=a.map(function(l){return new TL(l,void 0,1,e)});var h=_.B(c,_.fl,3);
if(h&&_.y(c,2)){var k=b[b.length-1];_.bJ(h,6);if(!_.Yj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(h=_.fK(this.context.Nc))&&_.Q(h,2,!1)&&c.Zn()||"";k=new jM(this.context.qt,this.context.zv,this.context.xm,d,k,c);k.Ki(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(hM(h.value))?c++:d++;VRc(this.context.vf,k);b=k.ud();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.KM());
k=new _.QI;_.bBc(k,b);k=_.zyc(this.context.YA,k,"IVDP");_.Ayc(k,a);gM(this.context.Sj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+FIc(b,c.getQuery().O()));else this.handleError("No initial query found")};TRc.prototype.handleError=function(a,b){var c=b?void 0:_.nq(_.WI(_.VI(new _.zc,2),6));b=new _.Ac(a,c,b);this.context.kJ(b.Sg);this.log("Initial view dump population failed. Message: "+a);gM(this.context.Sj,"DEJoH")};
TRc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var WRc=function(a){_.Ci.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new mM(a.qt,a.zv,a.Sj,function(){return a.bo()});this.H=this.context.Nc;this.ta=new lM(a.qt,a.zv)};_.K(WRc,_.Ci);
var XRc=function(a,b){var c=_.Zj(a.H,31,2E4);b="number"===typeof _.y(b,3)?_.y(b,3):c+1;b>c?(iM(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.YA.Jb("CachedCorpusType",c)};WRc.prototype.log=function(a,b){this.context.Rf().log(this.W,a,b||"info")};var YRc=function(a,b){0===a.V&&(a.V=b)};
var ZRc=function(a,b){var c;if(c=!!b&&!!b.ig())a=_.P(a,4),c=null==a||!!_.P(b.ig(),7)==a;return c};
var $Rc=function(a,b){_.Ci.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.K($Rc,_.Ci);$Rc.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?_.ii():aSc(this)};$Rc.prototype.$b=function(){return this.V.length};
var aSc=function(a){a.O=!0;a.H=!0;var b=hFc(iFc(new _.$J,a.request),a.nextPageToken),c=_.zyc(a.context.YA,b);return _.ji(a.context.Tm().then(function(d){return d.Re(b)}).then(function(d){var e=d.jd().wd();a.nextPageToken=d.Zn()||"";bSc(a,c,e)},function(d){return void a.handleError(d)}))},bSc=function(a,b,c){_.Ayc(b,c);for(b=0;b<c.length;b++)_.bJ(c[b],1);a.context.vf.yl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ia(c,function(e){this.V.push(e.getId());e=_.UI(new _.TI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new CRc("Aa",d));a.nextPageToken?aSc(a):(a.H=!1,a.dispatchEvent("Da"))};$Rc.prototype.handleError=function(a){this.H=!1;a=new DL(_.XI(a),_.Zj(this.context.Nc.hg(),1,1));this.dispatchEvent(a)};$Rc.prototype.ud=function(){return this.request};
var cSc=function(a){this.H=_.Mqc(a,{numeric:!0})};cSc.prototype.sort=function(a){_.Ga(a,this.compare.bind(this))};cSc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ea(a.getId(),b.getId()):c};
var dSc=function(a,b,c,d){d=void 0===d?!1:d;WM.call(this,a);this.Lg=b;this.Hd=[];this.ke=null;this.request=c.clone();this.Gv=new $Rc(a,this.request);this.wPb=new cSc(wL(_.AI(a.Nc)));this.fCa=null!=_.P(this.request,6);_.Oe(this,this.hmb,this);d&&(this.ke=_.bi(),this.ke.resolve())};_.K(dSc,WM);_.g=dSc.prototype;_.g.refresh=function(){3===this.Dp&&(this.Dp=6,this.ke=null);return this.jca()};_.g.isInitialized=function(){return!!this.ke};
_.g.jca=function(){var a=this;if(this.isInitialized())return this.ke.promise;this.ke=_.bi();this.context.Nj().Te()?this.Sc.listen(this.context.Nj(),"Fb",function(b){b.Te()||(a.Sc.Yc(a.context.Nj(),"Fb"),a.tA(),a.Gv.$g().lg(a.ke.resolve,a.ke.reject,a.ke))}):this.context.Bk().Te()?this.Sc.$c(this.context.Bk(),[_.oC.xL,_.oC.eU],function(){a.tA();a.Gv.$g().lg(a.ke.resolve,a.ke.reject,a.ke)}):(this.tA(),this.Gv.$g().lg(this.ke.resolve,this.ke.reject,this.ke));return this.ke.promise};_.g.resize=function(){};
_.g.ud=function(){return this.request};_.g.oy=function(){return this.Hd};_.g.Aha=function(a){return this.context.xm.equals(a,this.request)};_.g.hk=function(a){a=a.Di();this.wPb.sort(this.Hd);var b=uCc(_.za(this.Hd,0,Math.min(a,this.Hd.length)));rRc(this,LFc(this.Lg),b);var c=new _.oB;c.Vw(b);c.Dc(this.bwa(a));c.Ki(this.$e());IEc(c,a<this.Hd.length||!(this.context.Nj().Te()||this.context.Bk().Te())&&1!==this.Dp);return c};
_.g.bwa=function(a){return 1===this.Dp||a<=this.Hd.length?1:this.context.Nj().Te()||this.context.Bk().Te()?0<this.Hd.length?1:2:6};_.g.yl=function(a,b){this.isInitialized()&&WM.prototype.yl.call(this,a,b)};_.g.Lu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ma(this.Hd,function(h){return h.getId()===c}),e=!!d;b=this.vs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.NJa(f,a.H):this.gJ(f):this.nR(a.H);else return!1;return!0};_.g.nR=function(a){this.Hd.push(a);a.count++};
_.g.gJ=function(a){_.ua(this.Hd,a);a.count--};_.g.nya=function(a){return _.na(this.Hd,a)};_.g.NJa=function(a,b){this.Hd[this.nya(a)]=b;b.count++;a.count--};_.g.vs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.fCa&&null!=_.P(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Hd.find(function(d){return c===d.getId()},this);a=VL(a.getItem())&&ZRc(this.request,a.getItem());return b&&a}return VL(a.getItem())&&ZRc(this.request,a.getItem())};_.g.hmb=function(){this.Hd.forEach(function(a){a.count--})};
_.g.IYa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ed=function(){return this.Hd.length};_.g.WW=function(){this.Dp=1};
var eSc=function(a){this.H=a},fSc=function(a,b,c,d,e){if(0===e||null===b){var f=new BPc;_.w(f,2,b);_.w(f,1,d);return _.Yh(f)}var h=aJc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.Re(h)}).then(function(k){var l,p=null!==(l=k.xy())&&void 0!==l?l:null;k=d+_.y(k,1);return fSc(a,p,c,k,e-1)})};
var gSc=function(a,b){WRc.call(this,a);this.Lg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.BD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.K(gSc,WRc);gSc.prototype.handleError=function(){this.log("Local dump population failed.");gM(this.context.Sj,"mrK8ic")};
gSc.prototype.$g=function(){var a=this;if(this.ka)return this.ka;if(this.context.pQ){var b=new _.di;this.ka=b;this.initialize().then(function(){var c=_.Uj(_.xL(a.H),vL,11);c=c[0]&&c[0].getKey()||"";return hSc(a,a.context.pQ,c,4)}).then(null,function(c){if(_.Q(a.H,8,!0))return iSc(a,c);throw c;}).then(function(){_.PI(a.H)||a.context.vf.vq.H.clear();gM(a.context.Sj,"zaOY7");b.callback()},function(c){YRc(a,8);a.handleError();b.Id(c)});return b}this.handleError();return _.ki(Error("hg"))};
gSc.prototype.initialize=function(){var a=this;return _.Yh(this.context.pQ.initialize()).then(function(){if(!_.vK(a.H)){var b=_.Zj(_.xL(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Xh(function(c,d){fNc(a.context.uD).then(function(e){e?c():d(Error("ig"))})})}})};
var hSc=function(a,b,c,d){return _.Zf(a,function f(){var h=this,k;return _.Of(f,function(l){return 1==l.H?(k=h.ha,jSc(h,b,c,k),kSc(h,b,c,k),lSc(h,b,c,k),_.If(l,mSc(h,b,c,k),2)):_.If(l,Promise.all([nSc(h,b,c,d,k),oSc(h,b,c,d,k),pSc(h,b,c,d,k),qSc(h,b,c,d,k)]),0)})})},jSc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};tM(b,c,0,void 0,d,a.BD).then(function(f){f[0]?kRc(a.context.NP,f[0],a.$e(),_.vK(a.H)):e()},function(){return e()})},kSc=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};tM(b,c,1,void 0,d,a.BD).then(function(f){f[0]?a.context.HZ.YP(f[0],a.$e(),_.vK(a.H)):e()},function(){return e()})},lSc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};tM(b,c,5,void 0,d,a.BD).then(function(f){if(f[0]){f=f[0];var h=_.Uj(f,_.np,1);h.length&&a.context.dE.YP(h,a.$e(),_.de(f,2),_.vK(a.H))}else e()},function(){return e()})},nSc=function(a,b,c,d,e){var f=new _.Fn;tM(b,c,3,1,e,a.BD).then(function(h){return rSc(a,
h[0])}).then(function(h){if(h){b!==a.context.pQ||EBc(_.de(h,12),_.BK(a.Lg),_.uK(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ls.cS());var k=_.y(h,3);if(!k||0>k)throw Error("kg");a.context.Eu(h.bo(),d);k=_.y(h,3);"number"===typeof k&&URc(a.context,Number(k));_.vK(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.oDa());a.yl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},oSc=function(a,
b,c,d,e){var f=new _.Fn;tM(b,c,3,2,e,a.BD).then(function(h){h[0]?(a.yl(h[0],d),f.resolve()):f.reject(Error("jg"))},function(h){return f.reject(h)});return f.promise},pSc=function(a,b,c,d,e){var f=new _.Fn;tM(b,c,3,4,e,a.BD).then(function(h){h.forEach(function(k){a.yl(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},qSc=function(a,b,c,d,e){var f=new _.Fn;tM(b,c,3,3,e,a.BD).then(function(h){h.length?h.forEach(function(k){a.yl(k,d)}):gM(a.context.Sj,"rVezo");f.resolve()},function(h){return f.reject(h)});
return f.promise},mSc=function(a,b,c,d){var e=new _.Fn;tM(b,c,6,void 0,d,a.BD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.Uj(h,dM,1).length&&(a.log("Importing "+_.Uj(h,dM,1).length+" people into the PeopleCache."),h=_.Uj(h,dM,1),nKc(a.context.vf.vq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},rSc=function(a,b){var c=_.y(b,3);if(c&&!_.vK(a.H)){var d=new eSc(a.context.Tm()),e=_.Zj(_.xL(a.H),13,5);return fSc(d,c,null,0,e).then(function(f){return _.Bj(f,
2)?(a.log("Encrypted dump too stale."),a.context.uk().O(106007),YRc(a,9),null):b},function(){return b})}return _.Yh(b)},iSc=function(a,b){var c=uM(a.context.CL.jj()),d=_.Uj(_.xL(a.H),vL,11).filter(function(e){return e.jt()});return YMc(_.tK(_.AI(a.H)),_.uK(a.H),_.Zj(_.xL(a.H),10,0)||0,_.BK(a.Lg),a.ha||0,d.map(function(e){return _.y(e,1)}),c).then(function(e){if(e){var f=d.find(function(l){return e.V===_.y(l,1)}),h=new vM(_.Yh(e),a.context.Rf(),null,!0),k=new WLc(h,a.H,function(l){a.context.kJ(l)});
k.initialize();a.ma=!0;return hSc(a,k,f?f.getKey():null,8).then(function(){return h.getMetadata([cNc])}).then(function(l){l[0]?(l=l[0].Za(),l=a.context.uD.set(cNc,l)):l=Promise.resolve();return l}).then(function(){h.close()})}return _.Zh(new _.Ac("No compatible dumps to forklift were found.",null,b))})},vSc=function(a,b,c){switch(b.Yn()){case 1:return sSc(a,b,c);case 2:var d;b=_.B(b,DCc,11);if(!b)throw Error("lg");XRc(a,b);(b=a.O.TG?a.O:(null===(d=_.fK(a.H))||void 0===d?0:_.Q(d,17,!1))?a.ta:null)?
(b.Ki(a.$e()),a=[{cache:b,changes:sM(a.context.Cz,null)}]):a=[];return a;case 3:return tSc(a,b);case 4:return uSc(a,b);default:return null}},sSc=function(a,b,c){var d=[];_.Uj(b,RL,5).forEach(function(e){var f=void 0,h=_.B(e,_.fl,3);h&&(_.Buc(h),_.P(a.H,67)&&sBc(h,HBc),_.bJ(h,c),f=new TL(h));var k=e.getQuery();if(!_.Q(k,48,!1)||_.Uj(a.H,_.of,44).some(function(l){if(!_.Q(l,48,!1))return!1;l=XL(a.context.xm,l,!0);return _.Yj(l,k)}))e=new jM(a.context.qt,a.context.zv,a.context.xm,k,f),e.Ki(a.$e()),d.push({cache:e,
changes:sM(a.context.Cz,null)})});return d},uSc=function(a,b){return _.Uj(b,RL,5).map(function(c){c=new dSc(a.context,a.Lg,_.B(c,_.oI,5),!0);c.Ki(a.$e());return{cache:c,changes:sM(a.context.Cz,null)}})},tSc=function(a,b){var c=_.de(_.Uj(b,RL,5)[0].getQuery(),33)[0],d=_.y(b,3)||void 0;b=sM(a.context.Cz,c);YM(a.context).addCallback(function(f){f.Gua(c,d)});var e=new oM(a.context.qt,a.context.zv,c);e.Ki(a.$e());return[{cache:e,changes:b}]};
gSc.prototype.yl=function(a,b){var c=this,d=vSc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.wd()),f=e.next();!f.done;f=e.next()){var h=f.value;_.Buc(h);_.P(this.H,67)&&sBc(h,HBc);_.bJ(h,b);_.PI(this.H)||this.context.vf.vq.H.vc()||JKc(this.context.vf.vq,[h]);f=new TL(h);_.de(a,14).includes(h.getId())&&bIc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(hM(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new RRc(l,k.changes));c.log("Imported "+l.Ed()+" items into the "+l.getType());var p=null;
l instanceof oM&&(p=l.yc());c.context.P$.promise.then(function(){sLc(c.context.Cz,p)})});1===a.Yn()&&gM(this.context.Sj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Yn()+".")};gSc.prototype.$e=function(){return this.ma?7:3};
var wSc=function(a){_.N.call(this);this.context=a};_.K(wSc,_.N);wSc.prototype.$g=function(a){try{xSc(this,new sPc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var xSc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:ySc(a,b);break;case 4:zSc(a,b);break;case 6:ASc(a,b);break;case 2:BSc(a,b);break;case 7:CSc(a,b);break;case 5:_.Uj(_.bk(b,uPc,7,wPc),sPc,1).forEach(function(c){xSc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},ySc=function(a,b){var c=_.bk(b,_.of,2,vPc);b=JSON.parse(_.ak(b,3,wPc)||"{}");var d=new _.QI;_.bBc(d,c);b=a.context.WQ().fsa.yE(d,{headers:{},text:"",
json:b}).jd();DSc(a,c,b)},ASc=function(a,b){DSc(a,_.bk(b,_.of,2,vPc),_.bk(b,_.oB,9,wPc))},DSc=function(a,b,c){for(var d=c.wd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.bJ(f.value,7);c=DRc(c);a=a.context.vf;b=XL(a.context.xm,b);e=ZM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new $M(a.context,b),f.Ki(2),ESc(a,e,f));c.vc()||f.esa(c);a.yl(d,1,b)},BSc=function(a,b){b=_.bk(b,_.gA,5,wPc);var c=a.context.Nc.hg();c=c&&_.de(c,30)||[];var d=new Set(c);_.Uj(b,_.np,
3).forEach(function(e){(e=(e=e.getKey())&&_.op(e))&&d.add(e)});a.context.dE.YP(_.Uj(b,_.np,3),2,[].concat(_.xd(d.values())))},zSc=function(a,b){a.context.kfa.p2(_.bk(b,eM,8,wPc).wl(),_.bk(b,_.kA,6,vPc),2,!1)},CSc=function(a,b){var c=_.bk(b,_.iA,10,vPc);b=JSON.parse(_.ak(b,3,wPc)||"{}");b=a.context.WQ().fsa.yE(c,{headers:{},text:"",json:b});SQc(a.context).p2([b],c,2,!1)};
wSc.prototype.handleError=function(a,b){var c=b?void 0:_.nq(_.WI(_.VI(new _.zc,2),6));this.context.dispatchEvent(new _.Cc(new _.Ac(a,c,b)));this.log("Prefetched request population failed.")};wSc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var aN=function(a){WRc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.va=Math.ceil(1.1*_.Zj(a.Nc,31,2E4))};_.K(aN,WRc);aN.prototype.$g=function(){if(!_.Q(this.H,45,!1))return YRc(this,5),this.handleError(),_.ki(Error("mg"));this.log("Drive SDK cache population initiated.");return this.context.dVa().addCallback(this.Fa,this).addCallback(this.Ba,this).Rg(this.handleError,this)};
aN.prototype.Fa=function(){var a=this;gM(this.context.Sj,"L6uQWd");YM(this.context).addCallback(function(b){b.zda()});if(_.Q(this.H,46,!1))return CCc(this.context.Tm(),this.context.Rf()).addCallback(function(b){if(!b)throw YRc(a,4),Error("ng");XRc(a,b)});this.log("Subscribed corpus cache population disabled.");iM(this.O,!1);return _.ii()};
aN.prototype.Ba=function(){this.context.oDa();var a=new _.di;if(this.O.TG){this.log("Starting subscribed corpus cache population.");var b=this.O.ud();b.ti(this.va);this.O.Ki(5);FSc(this,this.O,b)}b=_.Uj(this.H,_.of,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new jM(this.context.qt,this.context.zv,this.context.xm,c.value),c.Ki(5),FSc(this,c,c.ud()),c=FL(this.context.xm,c.ud()),this.log("Starting "+c+" cache hint corpus cache population.");_.$h(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var FSc=function(a,b,c){var d=sM(a.context.Cz,null);b=new PRc(a.context,b,c);a.ha.push(b);b=_.ci(b.$g().then(function(e){!e.TG&&e instanceof mM&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.YA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new RRc(e,d))}),function(){a.context.P$.promise.then(function(){sLc(a.context.Cz,null)})});a.ka.push(b)};
aN.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();YRc(this,7);c=b;b instanceof DL?c=_.iJ(b.error):_.OI(b)||(c=Error("og`"+b));a.Id(c)};aN.prototype.handleError=function(){this.log("Drive SDK cache population failed.");gM(this.context.Sj,"Gv4zef")};aN.prototype.$e=function(){return 5};
var GSc=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Sc=new _.We(this);this.impression=null;this.W=[];this.Ma(this.Sc);this.H=new gSc(this.context,this.context.Lg);this.Ma(this.H);this.O=new aN(this.context);this.Ma(this.O)};_.K(GSc,_.N);
GSc.prototype.$g=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.uk().H(106002);_.n._DRIVE_dsp&&HSc(this);_.n._DRIVE_dspc=function(c){HSc(a,c)};sM(this.context.Cz,null);_.Q(this.context.Nc,24,!1)&&!_.vK(this.context.Nc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?ISc(this):_.n._DRIVE_ivdc=function(){ISc(a)});var b=this.context.pQ;if(b)return this.Sc.listen(this.H,QRc,this.ha),this.Sc.listen(this.O,QRc,this.ha),(!_.Q(this.context.Nc,10,!1)&&_.P(this.context.Nc,
69)?this.context.tX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.BD=a.impression);return a.H.$g().lg(function(){return JSc(a,a.H.$e())},function(){KSc(a,a.H.$e(),a.H.V);return _.vK(a.context.Nc)?a.handleError(Error("pg")):a.O.$g().then(function(){return JSc(a,a.O.$e())},function(c){KSc(a,a.O.$e(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.OI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var HSc=function(a,b){var c=new wSc(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.$g(d)});c.dispose()};GSc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(LSc(this,b,a.changes))};
var JSc=function(a,b){sLc(a.context.Cz,null);gM(a.context.Sj,"L6uQWd");YM(a.context).addCallback(function(c){c.zda()});return Promise.all(a.W).then(function(){MSc(a,b)})},MSc=function(a,b){if(!a.isDisposed()){_.vK(a.context.Nc)||NSc(a.V,_.Uj(a.context.Nc,_.of,44));a.log("Corpus cache population complete.");var c=a.context.Sj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ls.pDa():fNc(a.context.uD).then(function(d){d&&a.context.Ls.pDa()},function(){});gM(c,"rVezo");gM(c,"BNEDtc");a.impression&&(b=_.IK(_.Ctc,
b),FFc(NFc(a.impression),b),EFc(NFc(a.impression),!0),GFc(NFc(a.impression),sIc(a.V.wm)),HFc(NFc(a.impression),a.context.vf.Yn()),a.impression.xj());a.dispose()}},KSc=function(a,b,c){a.impression&&(b=_.IK(_.Ctc,b),FFc(NFc(a.impression),b),a=NFc(a.impression),_.Lj(a,3,c,void 0))};
GSc.prototype.handleError=function(a,b){b=void 0===b?!1:b;sLc(this.context.Cz,null);var c=this.context.Sj;gM(c,"L6uQWd");YM(this.context).addCallback(function(d){d.zda()});gM(c,"mrK8ic");gM(c,"Gv4zef");gM(c,"rVezo");gM(c,"BNEDtc");this.context.YA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.pQ||_.Q(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.OI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.Ac(b,void 0,c),c=a.Sg,_.VI(c,_.vK(this.context.Nc)?3:1),_.WI(c,
6),_.lq(c,b),_.nq(c),this.context.dispatchEvent(new _.Cc(a))):this.log("Corpus population skipped");this.impression&&(EFc(NFc(this.impression),!1),this.impression.xj());this.dispose()};var LSc=function(a,b,c){return SRc(b,c).then(function(d){d.some(function(e){return b instanceof oM&&e.Ck()&&e.Ac()===b.yc()})||VRc(a.V,b,d)},function(){return a.handleError(Error("qg"))})},ISc=function(a){if(_.n._DRIVE_ivd){var b=new TRc(a.context,a.context.Lg);a.Ma(b);b.$g(_.n._DRIVE_ivd)}else gM(a.context.Sj,"DEJoH")};
GSc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var OSc=function(){kM.apply(this,arguments)};_.K(OSc,kM);_.g=OSc.prototype;_.g.vs=function(a){var b;if(b=kM.prototype.vs.call(this,a))a=a&&a.getItem()&&a.getItem().Sm(),b=!(!a||!_.P(a,3));return b};_.g.ud=function(){};_.g.KM=function(){return null};_.g.getType=function(){};_.g.yN=function(){};
var PSc=function(a,b){this.context=a;this.H=b;this.iQ={}},RSc=function(a,b){if(!_.GJ(b)){var c=_.de(b,33);if(1===c.length)QSc(a,c[0],b);else{c=_.Ll(b);if(1===c.length&&!_.Q(c[0],2,!1)){var d=c[0].Za();c=a.H.get(d);if(!c){c=a.context.vf.rI;var e=_.Df(new _.Cf,310);c.jO([d],e).then(function(f){if((f=f[d])&&f.yc()){var h=f.getCapabilities();h&&_.Ce(h)&&(f=f.yc(),QSc(a,f,b))}else QSc(a,null,b)});return}if(c.getItem().yc()&&_.Ce(c.getItem().getCapabilities())){c=c.getItem().yc();QSc(a,c,b);return}}QSc(a,
null,b)}}},QSc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!VL(d.getItem()))return}d=b||"subscribed";a.iQ[d]||(a.iQ[d]=[]);a.iQ[d].push(c);b&&(YM(a.context).addCallback(function(e){e.Gua(b)}),SSc(a.context.SIa,b))},TSc=function(a,b){if(!_.GJ(b)){var c={},d;for(d in a.iQ){c.oT=d;for(var e=0;e<a.iQ[c.oT].length;e++)if(_.Yj(b,a.iQ[c.oT][e])){_.sa(a.iQ[c.oT],e);"subscribed"!==c.oT&&YM(a.context).addCallback(function(f){return function(h){h.vGa(f.oT,!1)}}(c));return}c={oT:c.oT}}}};
var USc=function(){this.H=new Map;this.O=[];this.V=[]};
USc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();nL(e)&&(a?(e=a.getItem().Hf())&&_.y(e,1)&&(1===_.ke(e)||3===_.ke(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Yj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var VSc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},WSc=function(a){a.O=[];a.V=[]};
var XSc=function(a,b){wLc.call(this,a.clone(),b.Tm(),b.Nc,b.Rf());this.context=b};_.K(XSc,wLc);XSc.prototype.W=function(a){var b=new Map;a.qn().forEach(function(c){var d=_.O8b(a.clone(),[c]);b.set(c,d)});return b};XSc.prototype.V=function(a){a=a.wd()[0];this.context.vf.yl([a],1,void 0,!0,this.request.O())};XSc.prototype.ha=function(a){this.context.vf.yl([],1,a,!1,this.request.O())};XSc.prototype.ka=function(a){a=_.cJ(_.UI(new _.TI,a));this.context.vf.Qo([a])};
var YSc=function(a,b,c,d){WM.call(this,a);this.Lg=b;this.request=c;this.Hd={};d&&this.yl(d,!0)};_.K(YSc,WM);_.g=YSc.prototype;
_.g.refresh=function(){var a=this;this.Dp=6;var b=YL(this.context.Nc)!==YL(this.context.Nc,this.request.O()),c=[];this.request.qn().forEach(function(h){var k=a.Hd[h];k&&k.getItem().ig()&&!b||c.push(h)});if(0===c.length)return this.yl([],!1),_.Yh();var d=this.request.clone();_.O8b(d,c);var e=new XSc(d,this.context),f=_.bi();this.context.Nj().Te()?(this.Sc.listen(this.context.Nj(),"Fb",function(h){h.Te()||(a.Sc.Yc(a.context.Nj(),"Fb"),a.tA(),e.$g().then(f.resolve,f.reject,f))}),this.Dp=0<_.Pa(this.Hd)?
1:2):(this.context.Bk().Te()&&(this.Dp=0<_.Pa(this.Hd)?1:2),this.tA(),e.$g().then(f.resolve,f.reject,f));return f.promise};_.g.Aha=function(a){return this.context.xm.equals(a,this.request)&&xBc(_.BK(this.Lg),a.O())};_.g.hk=function(a){var b=new _.JK;b.Dc(this.Dp);b.Ki(this.$e());rGc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));rRc(this,a.O(),b.gq());return b};_.g.resize=function(){};_.g.ud=function(){return this.request};_.g.Ed=function(){return _.Pa(this.Hd)};
_.g.Lu=function(a){var b=this.vs(a.O),c=this.vs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};_.g.vs=function(a){return!!a&&this.request.qn().includes(a.getId())};
var $M=function(a,b,c,d,e){WM.call(this,a);var f=this;this.V=0;this.Hd=[];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=FL(this.context.xm,b);this.Gv=new IRc(this.context,this.request,!1,e);b=this.request.wc()&&wIc(this.request.wc());var h=this.context.zv;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.fCa=!b||!mIc(this.request)||_.mI(_.AI(a.Nc));
this.Ha=WJc(this.request);c&&this.yl(c,!d);this.va=_.Zj(a.Nc.hg(),16,36E5);_.gK(this.request)&&this.Sc.listen(this.context.Nga,"Kb",this.Ka);_.Oe(this,function(){_.aa(f.Gv);f.clear()})};_.K($M,WM);$M.prototype.refresh=function(){this.log(this.KM()+" | Refresh called, currently "+this.Ed()+" items cached");return ZSc(this,!1)};
var ZSc=function(a,b){a.Dp=6;if(_.Q(a.request,48,!1))return a.Dp=1,_.Yh();if(_.gK(a.request)){var c=$Sc,d=a.context.Nga.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return aTc(a,b)};$M.prototype.initialize=function(){return this.count>=this.request.Di()||1===this.Dp?_.Yh():this.refresh()};$M.prototype.clear=function(){bTc(this)};
var bTc=function(a){a.Hd.forEach(function(b){b.count--});a.count=0;a.Hd=[];a.O.clear()},$Sc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return ZSc(a,!0)},b)};$M.prototype.Ka=function(){Date.now()-this.ta>this.va&&$Sc(this,0)};
var aTc=function(a,b){a.Gv&&(a.Sc.Yc(a.Gv,"Ca",a.esa),a.Sc.Yc(a.Gv,"Da",a.QLa),a.Gv.dispose());var c=a.request.ue();c&&_.Ef(c,!1);a.Gv=new IRc(a.context,a.request,b);a.V=0;a.Sc.listen(a.Gv,"Ca",function(){return a.esa(a.Gv.ha)});a.Sc.listen(a.Gv,"Da",a.QLa);return a.jca()};
$M.prototype.jca=function(){var a=this,b=_.bi();this.context.Nj().Te()?this.Sc.listen(this.context.Nj(),"Fb",function(c){c.Te()||(a.Sc.Yc(a.context.Nj(),"Fb"),cTc(a,b))}):this.context.Bk().Te()?this.Sc.$c(this.context.Bk(),[_.oC.xL,_.oC.eU],function(){cTc(a,b)}):cTc(this,b);return b.promise};var cTc=function(a,b){a.tA();var c=a.request.Di()+a.V;_.jka(GRc(a.Gv,c).lg(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=$M.prototype;
_.g.resize=function(a){this.log(this.KM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.xd(this.Ky)))),d=c.next();!d.done;d=c.next())d=d.value,d=tRc(this.context).kka(d),b=Math.max(b,d.Di());_.gK(this.request)?(this.request.ti(b),2!==this.$e()&&!this.Gv.O&&(b>this.count||a)?this.refresh():this.pJ()):this.request.Di()!==b&&(this.request.ti(b),b>this.count?this.jca():this.pJ())};_.g.ud=function(){return this.request};_.g.KM=function(){return this.Fa};_.g.Ed=function(){return this.Hd.length};
_.g.Aha=function(a){return this.context.xm.equals(a,this.request)};
_.g.hk=function(a){var b=a.Di(),c,d=!1;if(_.HJ(this.request)){var e=this.Hd.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=_.kl(k.getItem()).filter(function(l){return h.includes(_.B(l,_.Pk,1).getId())});k=k.clone();BBc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.kl(l.getItem()).length})}d=KBc(e);c=new _.KK;_.w(c,4,!1);jGc(c,f)}else e=this.Hd.slice(0,b),c=new _.oB,IEc(c,b<this.Hd.length||!(this.context.Nj().Te()||
this.context.Bk().Te())&&1!==this.Dp),_.I(c,7,this.ka),_.w(c,8,this.incompleteSearch),_.Hj(c,18,this.ha),d=KBc(e);e=uCc(e);rRc(this,a.O(),e);c.Vw(e);c.Dc(d?6:this.bwa(b));c.Ki(this.$e());c.lP(this.suggestionSessionId);return c};_.g.bwa=function(a){return 1===this.Dp||a<=this.count?1:this.context.Nj().Te()||this.context.Bk().Te()?0<this.Hd.length?1:2:6};_.g.esa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.Gza();this.W=a.V;this.suggestionSessionId=a.dg()};
_.g.QLa=function(){var a=this.request.Di()-this.count;0<a&&ERc(this.Gv)&&(this.V+=a,this.jca())};_.g.yl=function(a,b){_.gK(this.request)&&bTc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=hM(d.value),c=this.Lu(d,!0)||c;b||(1!==this.Dp&&(c=!0),this.Dp=1);if(a=this.H){a:{a=this.Hd;d=this.H||_.Ea;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.jo("ViewCache unsorted after import"),this.context.zv.sort(this.request,this.Hd));c&&(this.FX(),dTc(this,b))};
var dTc=function(a,b){_.Ll(a.request).length&&a.Hd.length&&a.context.GZ.then(function(c){var d=BL(a.context.uk(),106024,a.ma);if(d){var e=_.Ll(a.request)[0].Za(),f=_.B(_.HK(d),wFc,18);if(!f){f=new wFc;var h=_.HK(d);_.I(h,18,f)}f=_.w(f,1,!b);c=_.w(f,2,c===e).Bt(a.Hd.length);e=a.context.vf.Yn();_.w(c,4,e);a.ma=d;d.xj()}})};_.g=$M.prototype;
_.g.Lu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.vs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.jo("Updating different wrapper from the existing one"):this.jo("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.NJa(f,a.H):(this.gJ(f),_.gK(this.request)&&$Sc(this,0));else{if(_.gK(this.request)&&!b)return!1;this.nR(a.H)}else return!1;return!0};_.g.nR=function(a){this.H?mBc(this.Hd,a,this.H):this.Hd.push(a);a.count++;eTc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.gJ=function(a){if(this.H){var b=this.Hd,c=_.Fa(b,a,this.H);0<=c&&_.sa(b,c)}else _.ua(this.Hd,a);a.count--;eTc(a)&&this.count--;this.O.delete(a.getId())};_.g.nya=function(a){return this.H?_.Fa(this.Hd,a,this.H):_.na(this.Hd,a)};_.g.NJa=function(a,b){this.H&&0!==this.H(a,b)?(this.gJ(a),this.nR(b)):(this.Hd[this.nya(a)]=b,b.count++,eTc(b)&&this.count++,a.count--,eTc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.vs=function(a,b){if(!a)return!1;if(this.fCa&&!_.gK(this.request)){if(b)return!0;if(!this.Ha){var c=a.getId();b=!!this.Hd.find(function(e){return c===e.getId()},this);a=WL(this.context.qt,this.request,a.getItem());return b&&a}}if(!WL(this.context.qt,this.request,a.getItem()))return!1;var d=1.2*this.request.Di();if(1===this.Dp||!this.H||$Hc(a.V,2)||this.count<d||b||SBc(a.getItem()))return!0;b=0===this.Hd.length?null:this.Hd[this.Hd.length-1];return!!b&&0>=this.H(a,b)};
_.g.pJ=function(){this.log(this.KM()+" | Evict called");if(1!==this.Dp&&!this.context.Nj().Te()&&!this.context.Bk().Te()){var a=1.2*this.request.Di();if(!(a>=this.count||this.Gv&&a>=this.Gv.$b())){a=this.count-this.request.Di();for(var b=this.Hd.length-1;0<=b&&0<a;b--){var c=this.Hd[b];$Hc(c.V,2)||SBc(c.getItem())||(c.count--,eTc(c)&&this.count--,this.O.delete(c.getId()),_.sa(this.Hd,b),a--)}aTc(this,!1)}}};
_.g.jo=function(a){var b=new _.zc;_.VI(b,2);_.WI(b,6);_.nq(b);this.context.dispatchEvent(new _.Cc(new _.Ac(a,b)))};var eTc=function(a){return!$Hc(a.V,2)&&3!==a.getItem().sv()};$M.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};$M.prototype.NQa=function(a){var b=this,c=_.Ll(this.request);c.length&&(c=c.some(function(d){return(d=b.context.vf.wm.H(d.Za()))&&_.P(d,108)}),nJc(this.context.hfa,a,c))};$M.prototype.MQa=function(){this.pJ()};
$M.prototype.VXa=function(a){return 1!==this.Dp&&a.Di()>this.count&&this.Gv.O};
var bN=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new USc;this.Sc=new _.We(this);this.Ma(this.Sc);this.context=a;this.Lg=b;this.lr=new $Jc(a.xm,a.Rf());this.context.uk().W.H=this.lr;if(null===(c=_.fK(this.context.Nc))||void 0===c?0:_.Q(c,15,!1))b=new lM(a.qt,a.zv),this.lr.add(b),a.ifa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.lr)||void 0===e?void 0:e.O)||void 0===f?void 0:iM(f,!(null===(k=null===(h=d.lr)||void 0===h?void 0:h.H)||void 0===k?0:k.TG))});this.H=new lIc(a.GZ,
a.qt,a.zv);_.P(a.Nc,60)&&(this.va=new OSc(a.qt,a.zv));this.V=new fIc(a.Rf(),_.BK(this.Lg));fTc(this,_.de(this.context.Nc,28));this.wm=new oIc(this.Lg,this.context.xm,this.H,this.V);this.context.uk().W.V=this.wm;this.rI=new KRc(this.context,this.Lg,this.O,this.H);this.RFa=new PSc(this.context,this.H);this.ka=new GSc(this.context,this);_.Oe(this.ka,function(){d.ka=null});this.ta=_.xuc(_.BK(this.Lg),gTc);fM(this.context.Sj,["NSockf"],function(){return d.initialize()});fM(this.context.Sj,["NSockf","jroI5d"],
function(){var e=d.context.Nc;if(_.B(e,_.fl,12))e=_.B(e,_.fl,12);else{var f=_.hvc(_.jvc(new _.Pk,_.tK(_.AI(e))),!0);f=_.w(f,6,1);var h=_.D(_.AI(e),6,"");h&&f.Pb(h);f=_.T8b(_.Ovc(_.Pvc(_.zG((new _.fl).Pb(d.context.bo()).setTitle(_.D(e,38,"My Drive")),"application/vnd.google-apps.folder").Nn(!1),f),[f]),1);f=_.w(f,29,!0);f=_.w(f,63,!0);e=_.kvc(new _.Vk,_.Q(e,6,!0));e=_.w(e,2,!1);e=_.pK(f,_.xvc(_.qvc(_.pvc(_.tvc(_.uvc(_.svc(_.rvc(_.ovc(_.nvc(_.mvc(_.lvc(_.w(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),
!1),!1))}d.yl([e],1);gM(d.context.Sj,"hVFf7")});this.ha=_.bi();fM(this.context.Sj,["BNEDtc"],function(){d.ha.resolve()});this.vq=new zKc(this.context.Nc,this.context.Rf(),a.Tm(),a.hfa,this.context.uk(),this.context.tX.promise);_.PI(this.context.Nc)&&this.Sc.listen(this.vq,"Jb",this.ma);this.RLa=new _.byc(this.context.Nc,this.wm)};_.K(bN,_.N);
bN.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=_.y(d.value,1);for(var e=this.vq.Gd(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.vq.H.get(d),e=!(!d||1!==d.$e()&&4!==d.$e()||3===jKc(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(),hTc(this,h),b.push(QJc(d,new TL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");iTc(this,b,[]);this.context.Ls.update(6);a.size&&this.rI.jO([].concat(_.xd(a)),_.Df(new _.Cf,311))};bN.prototype.initialize=function(){this.ka.$g()};
bN.prototype.ii=function(a,b){if(b instanceof _.of)b=XL(this.context.xm,b),jTc(this,b.O()),RSc(this.RFa,b),b=kTc(this,b),b.cache.ii(a);else if(b instanceof _.xA)b=lTc(this,b),jTc(this,b.O()),b=mTc(this,b),b.cache.ii(a);else if(b instanceof _.oI){var c=ZM(this,b),d=this.O[c];d?(3==d.zJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,xv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new dSc(this.context,this.Lg,b),d.refresh().Cg(_.Uf),ESc(this,c,d),b={cache:d,xv:!0});b.cache.ii(a)}else if(b instanceof _.wG)c=b.O(),d=this.V,gIc(d,d.H,d.O,c),b=mTc(this,b),b.cache.ii(a);else throw Error("rg");return b.xv};bN.prototype.lk=function(a,b){if(b instanceof _.of)b=XL(this.context.xm,b),TSc(this.RFa,b);else if(b instanceof _.xA)b=lTc(this,b);else if(!(b instanceof _.oI||b instanceof _.wG))throw Error("rg");b=ZM(this,b);var c=this.O[b];c&&(c.lk(a),c.isDisposed()&&delete this.O[b])};
var ZM=function(a,b){return FL(a.context.xm,b,2)},kTc=function(a,b){var c,d,e=ZM(a,b),f=a.O[e];if(f)return 3==f.zJ()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,xv:!1};var h=[],k=5;f=!1;for(var l=aKc(a.lr),p=0;p<l.length;p++){var q=l[p];k=q.vE(b);if(5!=k){l=1==k?void 0:b.Di();if((null===(c=_.fK(a.context.Nc))||void 0===c?0:_.Q(c,18,!1))&&q instanceof lM){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.zka(b,l);var r=q.$e();var v=q instanceof jM?q.xy():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.Ed()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Nj().Te()||a.context.Bk().Te())h=h.concat(a.H.query(b,1)),_.Da(h,void 0,function(A){return A.getId()}),k=(k=a.lr.H)&&k.Q7&&5!=k.vE(b)?k.vE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new $M(a.context,b,h,1==k,v);r&&z.Ki(r);z.yl(a.H.query(b,
2),1!=k);r=z.initialize();(null===(d=_.fK(a.context.Nc))||void 0===d?0:_.Q(d,18,!1))&&f&&r.then(function(){return YM(a.context)}).then(function(A){return A.VVa().PSb()}).then(function(){var A,C;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var E=z.hk(b).wd().map(function(R){return R.getId()}),H=(null===(C=null===(A=a.lr)||void 0===A?void 0:A.O)||void 0===C?void 0:C.hk(b,b.Di()).wd().map(function(R){return R.getId()}))||[],L=_.Ha(E.sort(),
H.sort()),O=BL(a.context.uk(),106030);O&&(BFc(AFc(zFc(RFc(O),E.length),H.length),L),O.xj());L?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+E.length+".  Cache: ")+(H.length+".\nNetwork: ")+(E+".\nCache: ")+(H+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.Cg(function(A){A=_.XI(A);_.nq(A);a.context.dispatchEvent(new _.Cc(new _.Ac("Error during view cache init",
A)))});ESc(a,e,z);return{cache:z,xv:!0}},mTc=function(a,b){var c=ZM(a,b),d=!1,e=a.O[c];if(e&&e.Aha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.qn()),h;b instanceof _.xA?h=new ARc(a.context,a.Lg,b,f):h=new YSc(a.context,a.Lg,b,f);f.length&&h.Ki(8);h.refresh().Cg(_.Uf);b=h;d=!0;ESc(a,c,b);e?(nTc(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,
xv:d}};bN.prototype.UV=function(){return Object.values(this.O).filter(function(a){return a.ud()instanceof _.oI})};
bN.prototype.E1a=function(a){for(var b=_.Df(new _.Cf,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=FIc(this.context.xm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.rI.jO([a],b,!1,c))};
var qRc=function(a,b,c){c&&c.length&&iIc(a.V,b,c);_.PI(a.context.Nc)&&JKc(a.vq,b)},VRc=function(a,b,c){var d,e,f;if(b instanceof dSc){var h=ZM(a,b.ud());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof RJc&&a.lr.remove(b);h=new Map;var k=a.H.oy(),l=new Map(k);k=[];for(var p=_.m(b.oy()),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().sv();(null===(d=_.fK(a.context.Nc))||void 0===d?0:_.Q(d,15,!1))&&!0===q.H&&bIc(v,
q.H);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new PJc(q.getId(),q,v));l.delete(r)}else{r=hM(q);if(null===(e=_.fK(a.context.Nc))||void 0===e?0:_.Q(e,15,!1))null===(f=a.lr.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.PI(a.context.Nc)&&a.vq.TO(r)}_.PI(a.context.Nc)&&hTc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(hM(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 dSc?(k=ZM(a,b.ud()),ESc(a,k,b)):a.lr.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.TI,_.UI(p,l.getId()),p.setItem(l),k.push(p);a.Qo(k);a.log("Merged cache: "+b.getType());b instanceof oM&&c.forEach(function(A){oTc(a.context.gsa,A)});a.context.Ls.update(3)},nTc=function(a,b){(new Set([].concat(_.xd(a.Ky)))).forEach(function(c){b.ii(c);a.lk(c)})};
bN.prototype.yl=function(a,b,c,d,e){var f=this,h;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.xd(c.O().filter(function(C){return!_.BK(f.Lg).includes(C)}))):[]);c&&c instanceof _.of&&_.gK(c)&&pTc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new TL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=qTc(this,v,r);if(null!=A)r.bz(A),rTc(this,z,q),RBc(q),q=dIc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.PI(this.context.Nc)&&hTc(this,q);!v||sTc(this,
z,q,e)?(l.push(QJc(v,r)),k.push(r)):k.push(v)}a=null;if(c){if(c instanceof _.of){if(null===(h=_.fK(this.context.Nc))||void 0===h?0:_.Q(h,15,!1))a=_.Ll(c),1==a.length&&(a=a[0].Za(),(a=this.H.get(a))&&!a.H&&bIc(a,!d));(a=dKc(this.lr,c))&&a.yl(k,!!d)}c=ZM(this,c);(a=this.O[c])&&a.yl(k,!!d)}0<l.length&&(_.PI(this.context.Nc)&&l.forEach(function(C){return f.vq.TO(C)}),iTc(this,l,e,a?[a]:[]),tTc(this,k));tRc(this.context).N8()};
var hTc=function(a,b){MKc(a.vq,b)||5!=b.sv()||_.Wvc(b,1)},sTc=function(a,b,c,d){(b=b?_.qb(b.clone(),82):null)&&qRc(a,[b],d);c=_.qb(c.clone(),82);qRc(a,[c],[]);return!_.Yj(b,c)},pTc=function(a,b,c){uTc(a,b,c);b.forEach(function(d,e){var f=a.wm.H(d.getId());f&&(lL(f,d,[1002]),lL(f,d,[1003]),lL(f,d,[1005]),b[e]=f);_.GJ(c)&&0<_.de(c,33).length&&_.Xvc(d,_.de(c,33)[0])})},uTc=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)},dRc=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.yl(uCc(d),b)};bN.prototype.fla=function(a){this.RLa.fla(a)};
bN.prototype.Qo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Ck()?null:e.getItem(),h=e.Ac(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new TL(f,void 0,void 0,_.y(e,1)||void 0);var p=qTc(this,h,l);if(null==p)continue;l.bz(p);rTc(this,k,f);_.Q(e,5,!1)&&sBc(f,HBc);RBc(f);f=dIc(f,k);l.setItem(f);_.PI(this.context.Nc)&&hTc(this,f)}if(k&&!f||f&&sTc(this,k,f,[]))this.context.SIa.Cy(e),c.push(QJc(h,l))}_.PI(this.context.Nc)&&c.forEach(function(q){return b.vq.TO(q)});iTc(this,
c,[])};var rTc=function(a,b,c){b&&!c.Sm()&&lL(c,b,a.ta);var d=b?b.Hf():null,e=c.Hf();e=e?_.ie(e):null;d&&e&&rTc(a,_.ie(d),e);b&&!_.jl(c)&&lL(c,b,[1002]);b&&!_.kl(c).length&&lL(c,b,[1003]);b&&!_.ll(c).length&&lL(c,b,[1005]);b&&null==c.t1()&&lL(c,b,[71]);b&&null==_.y(c,79)&&lL(c,b,[73]);b&&_.P(b,31)&&!_.P(c,31)&&(sBc(c,HBc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
bN.prototype.CB=function(a,b){if(a instanceof _.of||a instanceof _.xA||a instanceof _.oI)a=ZM(this,a),(a=this.O[a])&&a.EX(b);else throw Error("rg");};var qTc=function(a,b,c){var d=c.getItem();if(hLc(a.context.jfa,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.sv()&&!VL(a)&&!VL(d)&&a.yc()==d.yc())if(a.jj()&&d.jj()){if(a.jj()>d.jj())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.yq()>d.yq())return null}return aIc(b&&b.V,c.V)};
bN.prototype.QH=function(a,b){(a=this.H.get(a))&&a.bz(aIc(a.V,b))};
var iTc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.fK(a.context.Nc))||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&&bIc(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())_.ua(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())sRc(h.value,b);h=aKc(a.lr);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 oM&&f.Ed()>=1.2*f.limit&&vTc(a.context.SIa,f.yc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.P(a.context.Nc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.pJ(h.id),a.W.update(h);0<d&&a.context.Ls.Rma(d);wTc(a)},wTc=function(a){var b=a.W.O.slice(0),c=VSc(a.W);WSc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Cf;_.Df(d,308);a.rI.jO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=pIc(a.wm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Hf(),k=_.y(h,1);if(k=a.wm.H(k))_.I(h,5,k),_.w(h,4,1),e.push(f)});dRc(a,e)}},xTc=function(a){tRc(a.context).N8();a.H.pJ()},lTc=function(a,b){_.Ga(b.O());var c=_.na(b.qn(),"root");if(0>c)return b;b=b.clone();b.qn()[c]=a.context.bo();return b},fTc=function(a,b){var c;null!==(c=_.fK(a.context.Nc))&&void 0!==c&&_.Q(c,1,!1)||(b=MFc(a.Lg,b),a=a.V,gIc(a,a.items,a.fields,b))},jTc=function(a,b){var c;if(null===(c=_.fK(a.context.Nc))||
void 0===c?0:_.Q(c,1,!1))b=MFc(a.Lg,b),a=a.V,gIc(a,a.items,a.fields,b)},tTc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().sv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.Df(new _.Cf,311);a.rI.jO(c,d)}})},NSc=function(a,b){a.ha.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={b5:c.b5,tqa:c.tqa},e=d.next()){e=e.value;if(dKc(a.lr,e))break;c.b5=new jM(a.context.qt,a.context.zv,
a.context.xm,e);e=new PRc(a.context,c.b5,e);c.tqa=sM(a.context.Cz,null);_.ci(e.$g().then(function(f){return function(){SRc(f.b5,f.tqa).then(function(h){VRc(a,f.b5,h)})}}(c)),function(){sLc(a.context.Cz,null)})}})};bN.prototype.Yn=function(){var a=this.lr.H;return a&&a.TG?1:2};bN.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var ESc=function(a,b,c){a.O[b]=c;a.log(b+" | Set cache with "+c.Ed()+" items")},gTc=[50];
var zTc=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ql;this.O=new Map;this.ka=-1;this.ha=0;var c=_.bi();this.va=c.promise;gNc(this.context.uD).then(function(d){b.H=d||[];c.resolve();yTc(b)},function(){return c.resolve()});fM(this.context.Sj,["rVezo"],(0,_.M)(this.W,this))};_.K(zTc,_.N);
var SSc=function(a,b){_.Q(a.context.Nc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(eIc(a.context.vf.wm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Aa(a.H,0,0,b);a.H.length>2*_.Zj(a.context.Nc,47,5);)a.H.pop();a.context.uD.set(aNc,a.H)}a.context.vf.lr.UV().length+a.O.size<_.Zj(a.context.Nc,47,5)&&(yTc(a),a.W())})},ATc=function(a,b){_.ua(a.H,b)&&a.context.uD.set(aNc,a.H)};
zTc.prototype.Cy=function(a){oTc(this.context.gsa,a);if(VL(a)){var b=a.yc();a.Ck()?vTc(this,b,!0):(a=a.getItem(),eIc(a)&&ATc(this,b))}};var vTc=function(a,b,c){ATc(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.vf.lr;for(var e=d.UV(),f=0;f<e.length;f++){var h=e[f];if(h.yc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ls.update(3);break}}YM(a.context).addCallback(function(k){k.vGa(b,c)});a.W()};
zTc.prototype.W=function(){if(this.context.Sj.H("rVezo")){var a=this.context.vf.lr;BTc(this);for(var b={};this.V.$b()&&!(this.ha>=_.Zj(this.context.Nc,47,5));){var c=_.rl(this.V);this.ha++;cKc(a,c)||this.O.has(c)||(this.O.set(c,null),b.Cea=new _.Tuc,_.w(b.Cea,1,c),this.context.Tm().then(function(d){return function(e){return e.Re(d.Cea)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={Cea:b.Cea}}}};
var yTc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},BTc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){yTc(a);a.W()},36E5)};zTc.prototype.ta=function(a,b){var c=_.y(b,1);c&&c>_.Zj(this.context.Nc,48,1E3)?(this.log(a,"Too large to backfill: "+_.y(b,1)),CTc(this,a,!1)):DTc(this,a)};
zTc.prototype.ma=function(a,b){(b=_.XI(b).zk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.cJ(_.duc(_.UI(new _.TI,a),a)),this.context.vf.Qo([a])):DTc(this,a)};
var DTc=function(a,b){var c=new oM(a.context.qt,a.context.zv,b),d=c.ud().clone();d.ti(_.Zj(a.context.Nc,48,1E3));d=new PRc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=sM(a.context.Cz,b);YM(a.context).addCallback(function(f){f.Gua(b)});_.ci(d.$g().then(function(){ETc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;CTc(a,b,!0)}),function(){sLc(a.context.Cz,b)})},ETc=function(a,b,c,d){c.TG?(c.WW(),SRc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ed());VRc(a.context.vf,
c,e);CTc(a,b,!1)},function(){a.log(b,"Backfill changes failed");CTc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),CTc(a,b,!0))},CTc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&YM(a.context).addCallback(function(e){e.vGa(b,!1)});a.W();0<a.O.size||a.context.vf.lr.UV().map(function(e){return e.yc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){vTc(a,e,!0)})};
zTc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var FTc=function(){_.N.apply(this,arguments)};_.K(FTc,_.N);
var ITc=function(a,b){b=GTc(b);var c=a.getItem(),d=HTc(c.getCapabilities());b.I3.forEach(function(e){_.T8b(e.getItem(),c.Yo());_.pK(e.getItem(),d.clone())});return b},LTc=function(a,b,c){var d=JTc(c);c=c.find(function(e){return e.getId()===b.getId()});c={lK:c?c:new TL(b),children:[]};KTc(a,d,c);return c},JTc=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().wk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},KTc=
function(a,b,c){var d=c.lK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(KTc(a,b,{lK:e,parent:c,children:[]}))});return c},NTc=function(a,b){b=b.children.filter(function(l){return!_.il(l.lK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.lK.getItem();if(!c.has(f.getId())){_.T8b(f,a.Yo());MTc(a,f,e.parent?e.parent.lK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.il(k.lK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.lK)}}return d},
OTc=function(a){a=a.children.filter(function(h){return!_.il(h.lK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.lK.getItem();if(!b.has(e.getId())){c.push(_.cJ(_.UI(new _.TI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.il(f.lK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},GTc=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();_.il(e)||_.P(e,137)?c.push(e):b.push(d)}return{mQ:c,I3:b}},HTc=
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);_.Dvc(a,b);_.w(a,30,c);_.yvc(a,b);_.Evc(a,c);_.zvc(a,c);_.Avc(a,b);_.lvc(a,b);_.qvc(a,c);_.wvc(a,b);_.vvc(a,_.P(a,7));_.pvc(a,_.P(a,10)||_.P(a,11));_.xvc(a,_.Wk(a));_.qb(a,18);_.qb(a,13);_.qb(a,10);_.Bvc(a,_.P(a,42));_.Cvc(a,_.P(a,43));_.Fvc(a,_.P(a,48));return a},MTc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.P(d,30);_.w(e,30,f);_.yvc(e,_.P(d,31));_.Evc(e,_.P(d,
47));_.zvc(e,_.P(d,32));_.Avc(e,_.P(d,33));_.lvc(e,_.P(d,4));_.qvc(e,_.P(d,9));_.xvc(e,_.P(d,21));_.wvc(e,_.P(d,20));_.vvc(e,_.P(d,17));_.kvc(e,_.Wk(d));_.ovc(e,_.P(d,7));_.rvc(e,_.P(d,10));_.svc(e,_.P(d,11));f=_.P(d,45);_.w(e,45,f);_.Dvc(e,_.P(d,46));_.Fvc(e,_.P(d,48));a=_.il(a);_.w(b,137,a);c&&(c=c.getCapabilities(),oL(b)?(_.pvc(e,_.P(c,43)),_.Cvc(e,_.P(c,43)),_.Bvc(e,_.P(c,42))):_.pvc(e,_.P(c,42)))};
var PTc=function(a){this.context=a;this.V=new FTc;this.O=_.Df(new _.Cf,306);this.H=a.vf},oTc=function(a,b){if(VL(b))b.Ck()?QTc(a,b):RTc(a,b);else if(_.Q(a.context.Nc,86,!1)){var c=b.Ac(),d=a.H.wm.H(c);var e=d&&d.yc();var f=b.getItem()&&b.getItem().yc();if(!d||!e||!oL(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.il(d),!b.Ck()){var h=b.getItem();f=_.il(d)!==_.il(h);h=h.Yo()!==d.Yo();e=f||e&&h}if(e)if(b.Ck()){if(b=STc(a,d.yc()),d=a.V,e=(new _.fl).Pb(c),b=(b=LTc(d,e,b))?OTc(b):[],a.context.vf.Qo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=BL(a.context.uk(),106009))c=OFc(a),_.w(c,2,b.length),a.xj()}else if(c=b.getItem(),d=STc(a,c.yc()),e=a.V,c=b.getItem(),c=(d=LTc(e,c,d))?NTc(c,d):[],dRc(a.context.vf,c),a.log(b.Ac(),"SD shared folder update | Updated "+c.length+" item(s)"),a=BL(a.context.uk(),106010))b=OFc(a),_.w(b,1,c.length),a.xj()}},QTc=function(a,b){var c=b.Ac();b=STc(a,c);b=GTc(b);var d=_.mf(b.I3,function(e){return _.cJ(_.UI(new _.TI,e.getId()))});a.context.vf.Qo(d);a.H.rI.jO(b.mQ.map(function(e){return e.getId()}),
a.O,void 0,void 0,b.mQ.map(function(e){return _.Il((new _.Hl).Pb(e.getId()),_.nl(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.mQ.length+" divergent items"));if(a=BL(a.context.uk(),106016))c=PFc(a),_.w(c,1,b.mQ.length),_.w(c,2,b.I3.length),a.xj()},RTc=function(a,b){var c=b.Ac(),d=STc(a,c),e=a.H.wm.H(c);b=ITc(b,d);dRc(a.context.vf,b.I3);a.H.rI.jO(b.mQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.mQ.map(function(h){return _.Il((new _.Hl).Pb(h.getId()),_.nl(h))}));a.log(c,"SD update | Update "+
b.I3.length+" item(s), "+(b.mQ.length+" divergent items"));if(d=BL(a.context.uk(),106017)){var f=PFc(d);_.w(f,1,b.mQ.length);_.w(f,2,b.I3.length);d.xj()}e||ORc(a.H.rI,c)},STc=function(a,b){var c=new _.of;_.Ol(c,[b]);_.Pl(c,2);return rIc(a.H.wm,c)};PTc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var TTc=function(a,b,c){this.H=a;this.V=b;this.kJ=c};
TTc.prototype.Zw=function(a,b){var c=this;if(a.wV().length){var d=dLc(this.H,a.Ac());if(d){var e=d?eLc(this.H,a):[];for(var f={},h=_.m(a.wV()),k=h.next();!k.done;f={qL:f.qL},k=h.next())if(k=k.value,f.qL=UTc(e,k.Om(),a.Ac()),_.P(k,3))kLc(this.H,f.qL),_.ci(b,function(r){return function(){c.H.O.W(UKc(r.qL))}}(f));else{for(var l=_.m(_.Uj(k,_.sG,2)),p=l.next();!p.done;p=l.next())VTc(this,f.qL,p.value);k=_.m(_.de(k,4));for(l=k.next();!l.done;l=k.next())WTc(f.qL,l.value);this.H.oD([f.qL],!1,-1);b.then(function(r){return function(){return void c.H.QH(r.qL.getName(),
-2)}}(f),function(r){return function(){c.H.QH(r.qL.getName(),-2)}}(f))}e=this.jd(d.hk().response)}}e=e?e:this.jd();var q=e.i3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.PB(r));c.handleError(a.Ac(),r)});return e};TTc.prototype.jd=function(a){a=void 0===a?new cM:a;return new YIc(a.Dc(1))};var UTc=function(a,b,c){var d=a.find(function(e){return TKc(e.getName(),b)});d||(d=qHc((new ML).hd(b),c),a.push(d));return d};
TTc.prototype.handleError=function(a,b){oLc(this.V,a);a=_.XI(b);_.w(a,21,"Server error updating metadata after optimistic application.");this.kJ(a)};
var VTc=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new KL,d.Pb(c.getId()),pHc(b,b.O().concat([d])),XTc(d,c));if(1===LL(d))d.setBooleanValue(_.P(c,3));else if(12===LL(d))d.setDateStringValue(_.y(c,17));else if(2===LL(d))d.setTextValue(_.y(c,4));else if(3===LL(d))_.de(c,6).length?d.Doa(_.de(c,6)):_.de(c,5).length&&(a=_.de(d,7).concat(_.de(c,5)),d.Doa(a));else if(4===LL(d))d.setLongTextValue(_.y(c,7));else if(5===LL(d))d.setSelectionValue(_.y(c,8));else if(6===
LL(d))_.de(c,10).length?d.zoa(_.de(c,10)):_.de(c,9).length&&(a=d.ELa().concat(_.de(c,9)),d.zoa(a));else if(7===LL(d))d.setIntegerValue(_.y(c,11));else if(8===LL(d))_.de(c,13).length?d.qoa(_.de(c,13)):_.de(c,12).length&&(a=_.de(d,12).concat(_.de(c,12)),d.qoa(a));else if(10===LL(d))d.setUserValue(a.O(_.y(c,14)));else if(11===LL(d))_.de(c,16).length?mHc(d,_.de(c,16).map(a.O)):_.de(c,15).length&&mHc(d,d.eWa().concat(_.de(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(LL(d)+
"."),new _.Ac(d,new _.zc);},WTc=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===LL(a))_.qb(a,5);else if(12===LL(a))_.qb(a,17);else if(2===LL(a))_.qb(a,6);else if(3===LL(a))_.EI(a,7);else if(4===LL(a))_.qb(a,8);else if(5===LL(a))_.qb(a,9);else if(6===LL(a))_.EI(a,10);else if(7===LL(a))_.qb(a,11);else if(8===LL(a))_.EI(a,12);else if(10===LL(a))_.Ij(a,15);else if(11===LL(a))_.Kj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(LL(a)+"."),new _.Ac(a,new _.zc);
},XTc=function(a,b){_.Bj(b,3)?a.XA(1):_.Bj(b,17)?a.XA(12):_.Bj(b,4)?a.XA(2):_.de(b,6).length||_.de(b,5).length?a.XA(3):_.Bj(b,7)?a.XA(4):_.Bj(b,8)?a.XA(5):_.de(b,10).length||_.de(b,9).length?a.XA(6):_.Bj(b,11)?a.XA(7):_.de(b,13).length||_.de(b,12).length?a.XA(8):_.Bj(b,14)?a.XA(10):(_.de(b,16).length||_.de(b,15).length)&&a.XA(11)};TTc.prototype.O=function(a){return _.ivc(_.gvc(1),a)};
var YTc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.va=c;this.O=d;this.ka=e;this.Lg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};YTc.prototype.apply=function(a,b){var c=this;if(!_.eK(a))return b;var d=null;a instanceof _.uJ?d=ZTc(this,a,b):a instanceof _.BJ?d=$Tc(this,a,b):a instanceof _.ZI?d=this.Zw(a,b):a instanceof _.pJ?d=aUc(this,a,b):a instanceof _.VJ&&(d=this.va.Zw(a,b));d&&(this.W++,this.ha.setActive(!1),_.ci(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Yh(d):b};
var ZTc=function(a,b,c){gLc(a.O,b.getId());var d=a.H.wm.H(b.getId());_.ci(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=_.XI(e);_.w(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.dK).Dc(1)},$Tc=function(a,b,c){var d=_.y(b,2);d&&a.O.H.push(d);c.then(function(){d&&iLc(a.O,d)&&_.ci(bUc(a,d,new _.dyc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.ua(a.O.H,
d)});c.then(null,function(e){e=_.XI(e);_.w(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.dK).Dc(1)},bUc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Yh();var f=_.bi(),h=c.Za();_.wI(c);setTimeout(function(){a.ka.then(function(k){var l=_.Df(new _.Cf,1425);l=tCc(!0,1,l);return k.Re(l).then(function(p){if(p=p.jd())if(p=p.wd()[0],!p||(p.aw()||0)>b){f.resolve();return}_.ci(bUc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ci(bUc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},aUc=function(a,b,c){var d=b.yc(),e=a.H.wm.H(d);if(!e)return null;e=e.clone();qRc(a.H,[e],[157]);var f=e.ig();cUc(f,_.Uj(b,_.dl,2));dUc(f,_.Uj(b,_.dl,3));a.H.yl([e],-1,void 0,void 0,[157]);_.ci(c,function(){a.H.QH(d,-2)}).then(function(h){a.H.yl([_.B(h,_.fl,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.XI(h);_.w(h,21,"Server error updating item after optimistic application.");a.V(h)});return ZOc(new YOc,e).Dc(1)},
cUc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={sea:c.sea},d=b.next())c.sea=d.value,_.Uj(a,_.dl,8).some(function(e){return function(f){return f.Om()==e.sea.Om()}}(c))||_.Wj(a,8,c.sea,_.dl,void 0)},dUc=function(a,b){var c=b.map(function(d){return d.Om()});b=_.Uj(a,_.dl,8).filter(function(d){return!c.includes(d.Om())});ABc(a,b)};
YTc.prototype.Zw=function(a,b){var c=this,d=this.H.wm.H(a.getId());if(!d||d.yc()&&0==a.Xh()||null!=_.P(a,40))return null;var e=_.de(a,10),f=_.de(a,9);if(0<e.length&&0<f.length&&(e=Object.values(qIc(this.H.wm,e.concat(f))).map(function(k){return k.yc()||"root"}),_.Da(e),1<e.length))return null;var h=d.clone();eUc(this,a,h);this.H.yl([h],-1,void 0,void 0,KFc(this.Lg));b.then(function(){return c.H.QH(a.getId(),-2)},function(){c.H.QH(a.getId(),-2);c.ta(a.getId(),d)});b.then(null,function(k){k=_.XI(k);
if(63==k.zk()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.Owc((new _.dK).setItem(h),h.getId()).Dc(1)};
var eUc=function(a,b,c){null!=b.Cf()&&c.Yl(b.Cf());null!=b.Yi()&&_.Tvc(c,b.Yi());null!=b.getMimeType()&&_.zG(c,b.getMimeType());null!=_.y(b,7)&&_.S8b(c,_.y(b,7));null!=_.P(b,11)&&_.Nvc(c,_.P(b,11));null!=_.P(b,4)&&c.Kv(_.P(b,4));null!=_.P(b,16)&&_.Svc(c,_.P(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Xh()&&(c.Nn(b.Xh()),_.Rvc(c,b.Xh()));null!=_.P(b,18)&&_.iL(QBc(c,!0),_.P(b,18));_.de(b,8).length&&_.oK(c,_.de(b,8));if(_.de(b,9).length){var d=new Set(c.wk());_.de(b,9).forEach(function(p){return d.add(p)});
_.oK(c,[].concat(_.xd(d)))}if(_.de(b,10).length){var e=new Set(c.wk());_.de(b,10).forEach(function(p){return e.delete(p)});_.oK(c,[].concat(_.xd(e)));var f=c.Dw();f&&_.de(b,10).includes(f)&&_.qb(c,46)}if(!c.Dw()){var h=a.Ba();f=c.wk().find(function(p){var q=a.H.wm.H(p);return q&&!!q.Dw()||p==h});_.w(c,46,f||void 0)}c.wk().length&&(f=a.H.wm.H(c.wk()[0]))&&_.Xvc(c,f.yc());if(f=_.B(b,_.Xk,25)){var k=_.B(c,_.Xk,111)||new _.Xk;null!=_.P(f,1)&&_.Hvc(k,_.P(f,1));null!=_.y(f,2)&&_.Ivc(k,_.y(f,2));_.I(c,111,
k)}var l=_.de(c,120);_.de(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.de(b,32).forEach(function(p){_.ua(l,p)});_.Hj(c,120,l)};YTc.prototype.ta=function(a,b){var c=this,d=_.zA(new _.xA,[a]);this.ka.then(function(e){return e.Re(d)}).then(function(e){e=e.jd().wd()[0];c.H.yl([e.clone()],1)},function(){b&&c.H.yl([b.clone()],1)})};
var fUc=function(a){this.H=a};_.K(fUc,_.Szc);fUc.prototype.execute=function(a,b,c){var d=_.Szc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.gKa||b instanceof _.QI&&_.gK(b.ud()))if(c=cGc(this.H))return c;return b instanceof _.BJ?(c=_.Df(new _.Cf,1424),a.Re(tCc(!1,1,c)).then(function(e){(e=e.jd())&&(e=e.wd()[0])&&_.Bj(e,96)&&b.Kca(e.aw())},function(){})):null};
var GCc=function(a,b){return[gUc,hUc,iUc,jUc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ea(d(a),d(b));return e},0)},gUc=function(a){return kUc[a.zf()]},hUc=function(a){return lUc[a.getType()]},iUc=function(a){return a.getName()||""},jUc=function(a){return a.getId()||""},cN={},kUc=(cN[5]=0,cN[7]=1,cN[1]=2,cN[3]=3,cN[4]=4,cN[2]=5,cN[6]=6,cN),mUc={},lUc=(mUc[1]=0,mUc[2]=1,mUc[3]=2,mUc[4]=3,mUc);
var nUc=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.Lg=l};
nUc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.dK&&8===b.Bb()))if(a instanceof _.oJ||a instanceof _.qJ||a instanceof _.Juc||a instanceof _.NJ||a instanceof _.ZI||a instanceof _.XJ||a instanceof _.Ruc||a instanceof _.ZJ||a instanceof _.qL){var d=_.bJ(b.getItem().clone(),9);this.H.yl([d],1);KLc(this.ta,b.getItem(),_.BK(this.Lg))}else if(a instanceof _.uJ)b=_.cJ(_.UI(new _.TI,a.getId())),this.H.Qo([b]);else if(a instanceof _.xJ)b=_.cJ(_.duc(_.UI(new _.TI,a.getId()),a.getId())),this.H.Qo([b]),
oTc(this.ma,b);else if(a instanceof _.BJ)b=tCc(!0).ud(),b=this.H.wm.query(b).map(function(e){return _.cJ(_.UI(new _.TI,e.getId()))}),this.H.Qo(b);else if(a instanceof _.sJ)this.O.remove(a.Nh());else if(a instanceof _.EJ||a instanceof _.UJ)this.O.put(b.wr());else if(a instanceof _.vJ)FCc(this.H,a);else if(a instanceof _.MD)this.W.remove(a.getKey());else if(a instanceof _.FJ)HCc(this.H,a,_.B(b,_.Pk,2));else if(a instanceof _.ND)this.W.put(b.NLa());else if(a instanceof _.rJ||a instanceof _.YJ)this.ha.oD([b.rn()],
!1);else if(a instanceof _.yJ)this.ha.oD([lLc(a.getId())],!1);else if(a instanceof _.Iuc)this.V.oD(b.response.O(),!1,1);else if(a instanceof _.VJ)a.wV().filter(function(e){return _.P(e,3)}).forEach(function(e){return c.V.removeItem(e.Om()||"",a.Ac())}),oLc(this.ka,a.Ac()),this.H.E1a(a.Ac());else if(a instanceof _.GK)for(b=_.m(_.Uj(a,_.sHc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.B(d,_.NL,2),d.getType()){case 1:case 2:if(d=this.H.wm.H(d.Ac()))d=
_.UI(jFc(),d.getId()).setItem(d.clone()),this.H.Qo([d])}}};
var oUc=function(a){this.H=a};
oUc.prototype.translate=function(a){if(a instanceof _.RJ){var b=this.H.H(a.getId());if(!b)return new _.zc;var c=(new _.ZI).Pb(a.getId());if(b.yc()){var d=b.getCapabilities();_.Ce(d)||_.P(d,9)?c.Nn(!0):_.$I(c,!1)}else d=a.getParent(),1===b.Yo()?c.Nn(!0):d?(b=this.H.H(d),!b||_.P(b.getCapabilities(),7)?eFc(c,[d]):_.$I(c,!1)):_.$I(c,!1);return c}if(a instanceof _.SJ)return gFc(fFc(eFc(dFc((new _.ZI).Pb(a.getId()),_.de(a,2)),_.de(a,3)),_.P(a,6)),_.Uj(a,_.Hl,8));if(a instanceof _.TJ){b=this.H.H(a.getId());
if(!b)return new _.zc;c=(new _.ZI).Pb(a.getId());b.yc()?(d=b.getCapabilities(),_.Ce(d)||_.P(d,9)?c.Nn(!1):_.$I(c,!0)):(d=a.getParent(),1===b.Yo()?c.Nn(!1):d?(b=this.H.H(d),!b||_.Wk(b.getCapabilities())?dFc(c,[d]):_.$I(c,!0)):_.$I(c,!0));return c}if(a instanceof _.TK)return new _.Juc(a);if(a instanceof _.NM)return _.de(a,1).map(function(f){var h=new _.VJ;f=_.w(h,1,f);h=a.wV();f=_.Jj(f,2,h);h=a.ue();return _.I(f,3,h)});if(a instanceof _.AJ){c=tCc(!1,1).ud();var e=0;this.H.query(c).forEach(function(f){(f=
f.aw())&&(e=Math.max(e,f))});return XFc(new _.BJ,a).Kca(e)}return a};
var pUc=function(){};pUc.prototype.validate=function(a){var b=null;a instanceof _.JJ?(a=a.getId()||"",_.ve(a)&&(b="Tried to request backup with no id.")):a instanceof _.tJ&&(a=a.getId()||"",_.ve(a)&&(b="Tried to delete backup with no id."));return b?_.XI(b):null};
var qUc=function(a,b){this.H=a;this.O=b},uUc=function(a,b){_.$K(["drive#about"],b);var c=new _.OM,d=new _.nC;if(b.user){var e=_.bL(a.H,b.user);_.I(d,1,e)}a=rUc(a,b);a=XEc(WEc(_.VEc(new _.sLb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.ZEc(a,_.KEc(_.JEc((new _.mC).Dc(sUc.get(e.status)),Number(e.trialMillisRemaining)),_.aL(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.$Ec(a,_.MEc(_.LEc(new _.nLb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&YEc(a,b.importFormats.map(function(f){var h=new _.UEc;h=_.w(h,1,f.source);return _.Hj(h,2,f.targets)}));b.adminSecureLinkSetting&&aFc(a,tUc.get(b.adminSecureLinkSetting));_.I(d,3,a);_.UPc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},rUc=function(a,b){var c;var d=new _.rLb;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=_.QEc(_.PEc(_.OEc(_.NEc(d,
JCc(b.quotaBytesByService||[])),b.quotaType?vUc.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)-LCc(b);d=_.w(d,9,e);d=_.REc(d,Number(b.quotaBytesUsedAggregate));d=_.w(d,11,Number(b.quotaBytesUsedInTrash));d=_.w(d,13,_.NBc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.SEc(d,wUc.get(b.quotaStatus)||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=
new _.qLb;var f=_.P4a(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=_.fK(a.O))||void 0===c?0:_.Q(c,16,!1)){var h;(a=d.FJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);h=_.w(d,16,Number(b.individualQuotaBytesTotal));h=_.w(h,17,_.NBc(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal)));b=
_.w(h,9,Number(b.individualQuotaBytesUsedAggregate))}else b=d;return b},wUc=new Map([["softLimitExceeded",2],["hardLimitExceeded",3],["underLimit",1]]),KCc=new Set(["POOLED_STORAGE","FAMILY"]),sUc=new Map([["isInTrial",1],["hasPaidContract",2],["noSubscription",3],["trialExpired",4]]),ICc=new Map([["DRIVE",1],["FAMILY",4],["GMAIL",2],["PHOTOS",3],["POOLED_STORAGE",5]]),vUc=new Map([["LIMITED",1],["UNLIMITED",2],["POOLED",3]]),tUc=new Map([["unknown",0],["requireLessSecureLinks",1],["removeLessSecureLinks",
2],["userCanChoose",3]]);
var xUc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},yUc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},zUc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},AUc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},BUc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},CUc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},DUc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},EUc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},FUc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},GUc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},HUc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},IUc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},JUc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},KUc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},LUc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},MUc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},NUc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},OUc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},PUc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},QUc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},RUc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},SUc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},ZUc=function(a){return a.map(function(b){var c=new _.aQc;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=TUc(e);_.I(c,2,d);break;case "actors":d=UUc(e);_.Jj(c,3,d);break;case "actions":d=VUc(e);_.Jj(c,
4,d);break;case "targets":d=WUc(e);_.Jj(c,5,d);break;case "timestamp":c.O(XUc(e));break;case "timeRange":d=YUc(e),_.Vj(c,7,_.QM,d)}}return c})},VUc=function(a){return a.map(function(b){var c=new _.YPc;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=TUc(e);_.I(c,1,d);break;case "source":d=new ROc;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":_.fk(d,2,xUc[h]);break;case "appId":_.ek(d,1,h)}}_.I(c,2,d);break;case "actor":d=$Uc(e);_.I(c,3,d);break;case "target":d=aVc(e);_.I(c,4,d);break;case "timestamp":c.O(XUc(e));break;case "timeRange":d=YUc(e),_.Vj(c,6,_.ZPc,d)}}return c})},WUc=function(a){return a.map(function(b){return aVc(b)})},cVc=function(a){return a.map(function(b){return bVc(b)})},dVc=function(a){return a.map(function(b){var c=new _.wOc;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.Bg(bVc(e));break;case "shortcut":d=bVc(e),_.I(c,2,d)}}return c})},aVc=function(a){var b=new _.UOc;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=eVc(d);_.Vj(b,1,_.FM,c);break;case "drive":c=new _.SOc;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.hd(f);
break;case "title":c.setTitle(f);break;case "root":e=eVc(f),_.I(c,3,e)}}_.Vj(b,5,_.FM,c);break;case "fileComment":c=new _.TOc;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":_.ek(c,1,f);break;case "legacyDiscussionId":_.ek(c,2,f);break;case "linkToDiscussion":_.ek(c,3,f);break;case "parent":c.Bg(eVc(f))}_.Vj(b,3,_.FM,c)}}return b},bVc=function(a){var b=new _.yM;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 fOc;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.hd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new dOc;_.Vj(e,8,eOc,f);break;case "driveFolder":e=fVc(f);_.Vj(c,9,eOc,e);break;case "driveShortcut":e=gVc(f),_.Vj(c,10,eOc,e)}}_.Vj(b,1,gOc,c);break;case "drive":c=hVc(d),_.Vj(b,3,gOc,c)}}return b},
eVc=function(a){var b=new _.cOc;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.hd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.ek(b,6,d);break;case "version":_.dk(b,5,d);break;case "owner":c=new ZNc;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=iVc(f);_.I(c,3,e);break;case "user":e=dN(f);_.Vj(c,
1,_.YNc,e);break;case "drive":e=hVc(f),_.Vj(c,4,_.YNc,e)}}_.I(b,7,c);break;case "driveFile":c=new dOc;_.Vj(b,8,$Nc,c);break;case "driveFolder":c=fVc(d);_.Vj(b,9,$Nc,c);break;case "driveShortcut":c=gVc(d),_.Vj(b,10,$Nc,c)}}return b},hVc=function(a){var b=new XNc;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.hd(d);break;case "title":b.setTitle(d)}}return b},fVc=function(a){var b=new aOc;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":_.fk(b,6,yUc[d])}}return b},gVc=function(a){var b=new bOc;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":_.ek(b,1,d);break;case "targetMimeType":_.ek(b,2,d)}}return b},UUc=function(a){return a.map(function(b){return $Uc(b)})},$Uc=function(a){var b=new _.QOc;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=dN(d);_.Vj(b,1,_.EM,c);break;case "anonymous":c=new NOc;_.Vj(b,2,_.EM,c);break;case "impersonation":c=new _.OOc;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=dN(f),_.I(c,1,e)}}_.Vj(b,3,_.EM,c);break;case "system":c=new _.POc;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":_.fk(c,1,zUc[f])}_.Vj(b,4,_.EM,c);break;case "administrator":c=new _.MOc,_.Vj(b,5,_.EM,c)}}return b},jVc=function(a){return a.map(function(b){return dN(b)})},dN=function(a){var b=new _.ENc;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 _.CNc;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":_.ek(c,1,f);break;case "isCurrentUser":_.ck(c,2,f);break;case "displayName":_.ek(c,3,f);break;case "photoUrl":c.Mn(f)}}_.Vj(b,2,_.BNc,c);break;case "unknownUser":c=new FNc;_.Vj(b,4,_.BNc,c);break;case "deletedUser":c=new _.DNc,_.Vj(b,3,_.BNc,c)}}return b},XUc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.O4a((new _.jy).setSeconds(a),b)},YUc=function(a){var b=new _.PM;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.lY(XUc(d));break;case "endTime":b.zO(XUc(d))}}return b},iVc=function(a){var b=new _.WNc;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.hd(d);break;case "legacyId":_.ek(b,3,d);break;case "audienceDisplayName":_.ek(b,4,d)}}return b},TUc=function(a){for(var b=new _.DM,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 _.jOc,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 kOc;_.Vj(z,1,_.hOc,A);break;case "upload":var C=k,E=new lOc;_.Vj(C,2,_.hOc,E);break;case "copy":for(var H=v,L=new _.iOc,O=_.m(Object.entries(H)),R=O.next();!R.done;R=O.next()){var U=_.m(R.value),ka=U.next().value,ha=U.next().value;switch(ka){case "originalObject":var ta=
bVc(ha);_.I(L,1,ta)}}_.Vj(k,3,_.hOc,L)}}_.Vj(b,1,_.CM,k);break;case "edit":var fa=new qOc;_.Vj(b,2,_.CM,fa);break;case "move":for(var Ra=new _.yOc,Ka=_.m(Object.entries(h)),ob=Ka.next();!ob.done;ob=Ka.next()){var Ya=_.m(ob.value),Fb=Ya.next().value,bc=Ya.next().value;switch(Fb){case "addedParents":var Bc=cVc(bc);_.Jj(Ra,1,Bc);break;case "removedParents":var Cd=cVc(bc);_.Jj(Ra,2,Cd);break;case "fromOwnershipTransfer":_.ck(Ra,3,bc);break;case "reparents":var Wd=bc.map(kVc);_.Jj(Ra,4,Wd);break;case "multiparentingMigration":for(var Kd=
bc,rf=new _.xOc,td=_.m(Object.entries(Kd)),Cb=td.next();!Cb.done;Cb=td.next()){var ne=_.m(Cb.value),Wg=ne.next().value,se=ne.next().value;switch(Wg){case "removedParents":var li=cVc(se);_.Jj(rf,2,li);break;case "migratedParents":var Xi=dVc(se);_.Jj(rf,1,Xi)}}_.I(Ra,5,rf)}}_.Vj(b,3,_.CM,Ra);break;case "rename":for(var vf=new _.EOc,Ck=_.m(Object.entries(h)),Vh=Ck.next();!Vh.done;Vh=Ck.next()){var Tf=_.m(Vh.value),Xd=Tf.next().value,Xg=Tf.next().value;switch(Xd){case "oldTitle":_.ek(vf,1,Xg);break;case "newTitle":_.ek(vf,
2,Xg)}}_.Vj(b,4,_.CM,vf);break;case "delete":for(var Nh=new _.oOc,xi=_.m(Object.entries(h)),Zk=xi.next();!Zk.done;Zk=xi.next()){var Zn=_.m(Zk.value),zm=Zn.next().value,Dh=Zn.next().value;switch(zm){case "type":_.fk(Nh,1,AUc[Dh])}}_.Vj(b,5,_.CM,Nh);break;case "restore":for(var $k=new _.FOc,hk=_.m(Object.entries(h)),Yg=hk.next();!Yg.done;Yg=hk.next()){var Nj=_.m(Yg.value),sj=Nj.next().value,ik=Nj.next().value;switch(sj){case "type":_.fk($k,1,BUc[ik])}}_.Vj(b,6,_.CM,$k);break;case "permissionChange":for(var Wh=
new _.BOc,Oj=_.m(Object.entries(h)),Pj=Oj.next();!Pj.done;Pj=Oj.next()){var tj=_.m(Pj.value),jk=tj.next().value,ai=tj.next().value;switch(jk){case "addedPermissions":var Am=lVc(ai);_.Jj(Wh,1,Am);break;case "removedPermissions":var Qj=lVc(ai);_.Jj(Wh,2,Qj);break;case "resharedPermissions":var kk=lVc(ai);_.Jj(Wh,3,kk);break;case "otherActivePermissions":var Al=lVc(ai);_.Jj(Wh,4,Al)}}_.Vj(b,7,_.CM,Wh);break;case "comment":for(var Rj=new _.VNc,xn=_.m(Object.entries(h)),al=xn.next();!al.done;al=xn.next()){var bl=
_.m(al.value),Af=bl.next().value,Sj=bl.next().value;switch(Af){case "post":for(var dm=Sj,Bl=new _.SNc,em=_.m(Object.entries(dm)),qc=em.next();!qc.done;qc=em.next()){var Tj=_.m(qc.value),Oh=Tj.next().value,lk=Tj.next().value;switch(Oh){case "subtype":_.fk(Bl,1,DUc[lk])}}_.Vj(Rj,1,_.RNc,Bl);break;case "assignment":for(var Ph=Sj,mi=new _.TNc,eg=_.m(Object.entries(Ph)),Dk=eg.next();!Dk.done;Dk=eg.next()){var Ep=_.m(Dk.value),Qh=Ep.next().value,Eh=Ep.next().value;switch(Qh){case "subtype":_.fk(mi,1,EUc[Eh]);
break;case "assignedUser":var yn=dN(Eh);_.I(mi,7,yn)}}_.Vj(Rj,2,_.RNc,mi);break;case "suggestion":for(var uj=Sj,zn=new _.UNc,fm=_.m(Object.entries(uj)),Ek=fm.next();!Ek.done;Ek=fm.next()){var Bm=_.m(Ek.value),Oo=Bm.next().value,Fp=Bm.next().value;switch(Oo){case "subtype":_.fk(zn,1,FUc[Fp])}}_.Vj(Rj,3,_.RNc,zn);break;case "mentionedUsers":var pr=jVc(Sj);_.Jj(Rj,7,pr)}}_.Vj(b,8,_.CM,Rj);break;case "dlpChange":for(var Nm=new _.nOc,km=_.m(Object.entries(h)),rk=km.next();!rk.done;rk=km.next()){var cp=
_.m(rk.value),Rp=cp.next().value,Kq=cp.next().value;switch(Rp){case "type":_.fk(Nm,1,GUc[Kq])}}_.Vj(b,9,_.CM,Nm);break;case "view":for(var Mr=new LOc,ku=_.m(Object.entries(h)),Nr=ku.next();!Nr.done;Nr=ku.next()){var Ys=_.m(Nr.value),sB=Ys.next().value,tB=Ys.next().value;switch(sB){case "type":_.fk(Mr,1,HUc[tB]);break;case "viewHistoryVisibility":for(var Ny=tB,lu=new KOc,Lq=_.m(Object.entries(Ny)),Mq=Lq.next();!Mq.done;Mq=Lq.next()){var uB=_.m(Mq.value),PD=uB.next().value,ox=uB.next().value;switch(PD){case "domainPolicyVisibilityState":_.fk(lu,
1,IUc[ox]);break;case "namedPartyState":_.fk(lu,2,JUc[ox])}}_.I(Mr,2,lu)}}_.Vj(b,10,_.CM,Mr);break;case "download":for(var Oy=new pOc,px=_.m(Object.entries(h)),qx=px.next();!qx.done;qx=px.next()){var rx=_.m(qx.value),Zs=rx.next().value,$s=rx.next().value;switch(Zs){case "type":_.fk(Oy,1,KUc[$s])}}_.Vj(b,11,_.CM,Oy);break;case "reference":for(var hl=new _.wNc,Or=_.m(Object.entries(h)),Nl=Or.next();!Nl.done;Nl=Or.next()){var vB=_.m(Nl.value),QD=vB.next().value,Py=vB.next().value;switch(QD){case "type":_.fk(hl,
1,LUc[Py]);break;case "context":for(var Ki=Py,Qy=new vNc,Nq=_.m(Object.entries(Ki)),Sp=Nq.next();!Sp.done;Sp=Nq.next()){var HG=_.m(Sp.value),N7=HG.next().value,bK=HG.next().value;switch(N7){case "description":Qy.Yl(bK);break;case "url":_.ek(Qy,2,bK)}}_.I(hl,2,Qy)}}_.Vj(b,12,_.CM,hl);break;case "settingsChange":for(var Kg=new _.IOc,aT=_.m(Object.entries(h)),sx=aT.next();!sx.done;sx=aT.next()){var lm=_.m(sx.value),wB=lm.next().value,bT=lm.next().value;switch(wB){case "restrictionChanges":var uO=mVc(bT);
_.Jj(Kg,1,uO)}}_.Vj(b,13,_.CM,Kg);break;case "approvalChange":for(var no=new _.INc,b_=_.m(Object.entries(h)),vO=b_.next();!vO.done;vO=b_.next()){var mu=_.m(vO.value),RD=mu.next().value,Ry=mu.next().value;switch(RD){case "approvalName":_.ek(no,2,Ry);break;case "approvalEventNames":_.Hj(no,3,Ry);break;case "initiator":var cT=dN(Ry);_.I(no,4,cT);break;case "reviewers":var O7=jVc(Ry);_.Jj(no,5,O7);break;case "status":no.Dc(OUc[Ry]);break;case "dueTime":var c_=XUc(Ry);_.I(no,7,c_);break;case "approvalRequested":var Sy=
no,tx=new JNc;_.Vj(Sy,8,_.xM,tx);break;case "approvalCancelled":var cK=no,P7=new KNc;_.Vj(cK,9,_.xM,P7);break;case "reviewerResponded":for(var dT=Ry,wO=new _.HNc,d_=_.m(Object.entries(dT)),xB=d_.next();!xB.done;xB=d_.next()){var e_=_.m(xB.value),f_=e_.next().value,g_=e_.next().value;switch(f_){case "reviewerDecision":_.fk(wO,1,PUc[g_])}}_.Vj(no,10,_.xM,wO);break;case "commentAdded":var BB=no,Yy=new LNc;_.Vj(BB,11,_.xM,Yy);break;case "reviewersChanged":for(var GO=Ry,PG=new NNc,BT=_.m(Object.entries(GO)),
kK=BT.next();!kK.done;kK=BT.next()){var u8=_.m(kK.value),Nza=u8.next().value,v8=u8.next().value;switch(Nza){case "reviewerChanges":var w8=nVc(v8);_.Jj(PG,1,w8)}}_.Vj(no,12,_.xM,PG);break;case "dueTimeChanged":for(var Qqc=Ry,IAb=new PNc,Oza=_.m(Object.entries(Qqc)),Pza=Oza.next();!Pza.done;Pza=Oza.next()){var JAb=_.m(Pza.value),KAb=JAb.next().value,XZa=JAb.next().value;switch(KAb){case "oldDueTime":var WD=XUc(XZa);_.I(IAb,1,WD)}}_.Vj(no,13,_.xM,IAb)}}_.Vj(b,18,_.CM,no);break;case "lock":var LAb=new sOc;
_.Vj(b,15,_.CM,LAb);break;case "unlock":var MAb=new JOc;_.Vj(b,16,_.CM,MAb);break;case "appliedLabelChange":for(var YZa=new _.ANc,ZZa=_.m(Object.entries(h)),Qza=ZZa.next();!Qza.done;Qza=ZZa.next()){var $Za=_.m(Qza.value),a_a=$Za.next().value,NAb=$Za.next().value;switch(a_a){case "changes":var OAb=oVc(NAb);_.Jj(YZa,1,OAb)}}_.Vj(b,19,_.CM,YZa);break;case "publishChange":for(var Rza=new _.DOc,PAb=_.m(Object.entries(h)),z_=PAb.next();!z_.done;z_=PAb.next()){var Hia=_.m(z_.value),CT=Hia.next().value,QAb=
Hia.next().value;switch(CT){case "oldPublishState":var Rqc=pVc(QAb);_.I(Rza,1,Rqc);break;case "newPublishState":var Sqc=pVc(QAb);_.I(Rza,2,Sqc)}}_.Vj(b,20,_.CM,Rza);break;case "linkShareMetadataChange":for(var b_a=new _.rOc,lK=_.m(Object.entries(h)),c_a=lK.next();!c_a.done;c_a=lK.next()){var Sza=_.m(c_a.value),RAb=Sza.next().value,d_a=Sza.next().value;switch(RAb){case "securityUpdateEnabled":_.ck(b_a,1,d_a)}}_.Vj(b,21,_.CM,b_a)}}return b},kVc=function(a){var b=new _.uOc;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":_.fk(b,1,SUc[d])}}return b},lVc=function(a){return a.map(function(b){var c=new _.BM;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":_.fk(c,1,CUc[e]);break;case "user":d=dN(e);_.Vj(c,2,_.AM,d);break;case "group":d=new _.zM;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":_.ek(d,1,h);break;case "title":d.setTitle(h)}}_.Vj(c,3,_.AM,d);break;case "domain":d=iVc(e);_.Vj(c,4,_.AM,d);break;case "anyone":d=new zOc;_.Vj(c,5,_.AM,d);break;case "allowDiscovery":_.ck(c,6,e)}}return c})},mVc=function(a){return a.map(function(b){var c=new _.HOc;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":_.fk(c,1,MUc[e]);break;case "newRestriction":_.fk(c,
2,NUc[e])}}return c})},nVc=function(a){return a.map(function(b){var c=new ONc;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=dN(e);_.I(c,3,d);break;case "addedReviewer":d=dN(e),_.I(c,4,d)}}return c})},oVc=function(a){return a.map(function(b){var c=new _.zNc;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":_.ek(c,
1,e);break;case "types":d=qVc(e),_.Hj(c,2,d)}}return c})},qVc=function(a){return a.map(function(b){return QUc[b]})},pVc=function(a){var b=new _.COc;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":_.fk(b,1,RUc[d]);break;case "signinRequired":_.ck(b,2,d);break;case "publishedTime":c=XUc(d),_.I(b,3,c)}}return b};
var sVc=function(a){return(a.items||[]).map(function(b){return rVc(b)})},tVc=function(a,b){var c=new qPc;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=rVc(a),_.I(b,2,a));return b},rVc=function(a){_.$K(["drive#app"],a);var b=(new _.OL).Pb(a.id);b=_.w(b,3,a.useByDefault).hd(a.name);b=_.w(b,7,a.openUrlTemplate);b=GHc(FHc(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=_.Hj(b,17,a.primaryFileExtensions);b=_.Hj(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=uVc.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 _.AHc;l=_.w(l,3,k.iconUrl).setSize(k.size);k.category&&(k=vVc.get(k.category),_.w(l,1,k));h.call(f,l)}_.Jj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Hj(b,24,d);c=a.rankingInfo||{};a=new _.DHc;d=c.absoluteScore;null!=d&&
_.w(a,1,Number(d));d=wVc(c.mimeTypeScores||[]);_.Jj(a,2,d);c=wVc(c.fileExtensionScores||[]);_.Jj(a,3,c);_.I(b,29,a);return b},wVc=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new _.BHc;c=_.w(d,1,c);return _.w(c,2,Number(b))})},uVc=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),vVc=new Map([["application",1],["document",2],["documentShared",3]]);
var yVc=function(a){var b=new rQc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.GM).Pb(c.id).setTitle(c.title);d=_.w(d,3,_.aL(c.updateTime));var e=xVc.get(c.backupSource);d=_.w(d,4,e);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.aL(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.kz())e=new WOc,e=_.w(e,1,c.whatsappOngoingBackupEnabled),c=_.w(e,2,c.whatsappPhoneNumber),_.I(d,6,c);else if(2===d.kz()){e=Number(c.deviceAndroidId);var f=new _.VOc;
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});_.Jj(b,2,a);return b},AVc=function(a){var b=new nQc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.HM).Pb(c.id);var e=zVc.get(c.type);d=_.w(d,1,e).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.XOc(d.setSize(c.size?Number(c.size):void 0),_.aL(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).Yl(c.description);return _.w(d,9,c.ongoingSyncEnabled)});
_.Jj(b,1,a);return b},xVc=new Map([["BACKUP_SOURCE_UNSPECIFIED",0],["BACKUP_SOURCE_WHATSAPP",1],["BACKUP_SOURCE_ANDROID",2]]),zVc=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 BVc=function(a,b){this.H=a;this.O=b};
var CVc=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),DVc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=(new _.fl).Pb(d);c&&(_.zG(d.setTitle(c.title),c.mimeType),c.userCapabilities&&_.pK(d,_.Yzc(c.userCapabilities)));_.BK(b).includes(19)&&_.Uvc(d,!0);KLc(a,d,_.BK(b));_.Wvc(d,4);return d},GVc=function(a,b,c){for(var d=[],e=[],f={},h=_.m(c.item||[]),k=h.next();!k.done;f={yea:f.yea},k=h.next()){var l=k.value;if(l.person){f.yea=l.itemId;k=EVc(l.person).Pb(f.yea);var p={};l=_.m(l.childItem||[]);for(var q=
l.next();!q.done;p={Dqa:p.Dqa},q=l.next()){var r=q.value;e.some(function(v){return function(z){return z.getId()===v.yea}}(f))||e.push(k);p.Dqa=r.itemId;q=d.find(function(v){return function(z){return z.getId()===v.Dqa}}(p));void 0===q&&(q=DVc(a,b,r),d.push(q));r=xEc(wEc(vEc(new _.boa,k.clone()),FVc(r)),r.url);_.Wj(q,107,r,_.boa,void 0)}}}return jGc((new _.KK).Vw(d),e).lP(c.suggestionSessionId)},EVc=function(a){return _.ivc((new _.Pk).Pb(a.id).hd(a.displayName),a.emailAddress).Mn(a.photoUrl)},RVc=function(a){var b=
a.action;return b?b.map(function(c){var d=new _.Dna,e=HVc(c);e&&_.Vj(d,2,_.Tk,e);(e=IVc(c))&&lDc(d,e);(e=JVc(c))&&_.Vj(d,4,_.Tk,e);(e=KVc(c))&&_.Vj(d,5,_.Tk,e);(e=LVc(c))&&_.Vj(d,6,_.Tk,e);(e=MVc(c))&&_.Vj(d,7,_.Tk,e);(e=NVc(c))&&_.Vj(d,8,_.Tk,e);(e=OVc(c))&&_.Vj(d,9,_.Tk,e);(e=PVc(c))&&_.Vj(d,10,_.Tk,e);(c=QVc(c))&&_.Vj(d,11,_.Tk,c);return d}):(a=eN(a),a=UDc([a]),[lDc(new _.Dna,a)])},TVc=function(a){return(a.justification||[]).map(function(b){return SVc(b)})},eN=function(a){return(a=a.justification)?
SVc(a):null},SVc=function(a){var b=hDc(new _.Sk,UVc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=EVc(c),_.Vj(b,3,_.Cna,c),iDc(b,[c])):d?(c=(d.person||[]).map(function(e){return EVc(e)}),d=gDc(c),_.Vj(b,4,_.Cna,d),iDc(b,c)):(c=(a.person||[]).map(function(e){return EVc(e)}),c.length&&(d=gDc(c),_.Vj(b,4,_.Cna,d),iDc(b,c)));_.w(b,5,_.aL(a.eventTime));jDc(b,UVc(a.justificationDescription));kDc(b,UVc(a.unstructuredJustificationDescription));return b},UVc=function(a){if(!a)return null;a=a.textSegment||
[];return dDc(new _.Mk,a.map(function(b){var c=(new _.Nk).lh(b.text),d=b.link;if(d){var e=new _.Ok;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)}))},HVc=function(a){a=a.documentDocosAction;if(!a)return null;var b=JDc(new _.Lna,eN(a));IDc(b,(a.subAction||[]).map(function(c){var d=new _.Mna;c.reply?(c=new _.Fna,_.Vj(d,1,_.Uk,c)):c.resolve?(c=new tDc,_.Vj(d,2,_.Uk,c)):c.reassign?(c=new rDc,_.Vj(d,3,_.Uk,c)):c.acceptSuggestion?(c=new mDc,_.Vj(d,4,_.Uk,c)):c.rejectSuggestion?
(c=new sDc,_.Vj(d,5,_.Uk,c)):c.openThread&&(c=new _.Ena,_.Vj(d,6,_.Uk,c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);KDc(b,UVc(a.anchorText));return b},JVc=function(a){a=a.documentShareAction;if(!a)return null;var b=ODc(new _.Ona,eN(a));NDc(b,(a.subAction||[]).map(function(c){var d=new PDc;c.suggestedShare?(c=new xDc,_.Vj(d,1,qEc,c)):c.responseToRequest&&(c=new uDc,_.Vj(d,2,qEc,c));return d}));LDc(b,(a.sharee||[]).map(function(c){return EVc(c)}));MDc(b,CVc.get(a.shareeRole));return b},
IVc=function(a){a=a.documentViewAction;if(!a)return null;var b=UDc(TVc(a));TDc(b,(a.subAction||[]).map(function(c){var d=new WDc;c.open?d.Ag(new oDc):c.reviewEdits&&(c=new vDc,_.Vj(d,2,VDc,c));return d}));return b},KVc=function(a){a=a.emailViewAction;if(!a)return null;var b=fEc(new dEc,eN(a));eEc(b,(a.subAction||[]).map(function(c){var d=new hEc;c.open&&d.Ag(new pDc);return d}));return b},LVc=function(a){a=a.calendarEventAction;if(!a)return null;var b=DDc(CDc(BDc(new _.Hna,a.eventId),eN(a)),a.guestCount);
ADc(b,(a.subAction||[]).map(function(c){var d=new EDc;if(c.viewCalendarEvent){var e=new yDc;_.Vj(d,1,oEc,e)}c.shareWithAttendees&&(e=new wDc,_.Vj(d,2,oEc,e));c.present&&(e=new qDc,_.Vj(d,3,oEc,e));c.openDocument&&(c=new oDc,_.Vj(d,4,oEc,c));return d}));return b},MVc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=aEc($Dc(new YDc,a.workspaceId),eN(a));ZDc(b,(a.subAction||[]).map(function(c){var d=new bEc;c.addToWorkspace&&(c=new nDc,_.Vj(d,1,sEc,c));return d}));return b},NVc=function(a){a=
a.documentTopicAction;if(!a)return null;var b=RDc(new _.Qna,eN(a));QDc(b,(a.subAction||[]).map(function(c){var d=new SDc;c.openDocument&&(c=new oDc,_.Vj(d,1,rEc,c));return d}));return b},OVc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=mEc(new _.Wna,eN(a));lEc(b,(a.subAction||[]).map(function(c){var d=new nEc;c.openDocument&&(c=new oDc,_.Vj(d,1,uEc,c));return d}));return b},PVc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=GDc(new _.Jna,eN(a));FDc(b,(a.subAction||
[]).map(function(c){var d=new HDc;c.openDocument&&(c=new oDc,_.Vj(d,1,pEc,c));return d}));return b},QVc=function(a){a=a.formResponseAction;if(!a)return null;var b=jEc(new _.Una,TVc(a));iEc(b,(a.subAction||[]).map(function(c){var d=new kEc;c.openDocument?(c=new oDc,_.Vj(d,1,tEc,c)):c.viewResponses&&(c=new zDc,_.Vj(d,2,tEc,c));return d}));return b},FVc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var VVc=function(a,b){this.H=a;this.O=b},XVc=function(a,b,c){_.$K(["drive#categoryMetadataList"],c);var d=new cM,e=Object.values(c.categoryMetadata||{});tJc(d,e.map(function(f){return WVc(a,f,b.Ac())}));d.Dc(1);return new _.NK(d,lNc(c))},ZVc=function(a,b){var c=new LM;zPc(c,(b.categories||[]).map(function(d){return YVc(a,d)}));c.Dc(1);return new ZIc(c,lNc(b))},WVc=function(a,b,c){_.$K(["drive#categoryMetadata"],b);c=qHc((new ML).hd(b.categoryName),c);b=Object.values(b.attributeValues||[]);pHc(c,b.map(function(d){return $Vc(a,
d)}).filter(function(d){return null!==d}));return c},YVc=function(a,b){var c,d=iHc($Gc(fHc(eHc(dHc(ZGc(YGc((new JL).hd(b.name),b.categoryName),b.latestName).setTitle(b.title).Yl(b.description),_.aL(b.createTime)),_.aL(b.updateTime)),_.aL(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){a:{var f=e.type;var h=(new VGc).Pb(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=aWc(e.attributeDisplayHints);_.I(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new DGc;l=_.w(l,1,k.canSearch);k=_.w(l,2,k.canWrite);_.I(h,6,k)}if(f&&(_.w(h,7,bWc[f]),e=e[cWc(f)+"Options"],!dWc(a,h,f,e))){f=null;break a}f=h}return f}).filter(function(e){return null!==e})),b.customer);b.createdBy&&aHc(d,eWc(b.createdBy));b.fSb&&bHc(d,eWc(b.fSb));b.publishedBy&&cHc(d,eWc(b.publishedBy));b.displayHints&&gHc(d,aWc(b.displayHints));b.capabilities&&hHc(d,fWc(b.capabilities));b.learnMoreUri&&_.w(d,15,b.learnMoreUri);return d},$Vc=function(a,b){_.$K(["drive#categoryAttributeValue"],
b);var c=(new KL).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),nHc(c,b.map(function(d){_.$K(["drive#userScopedAttributeValue"],d);var e=new kHc,f=_.bL(a.H,d.scopedUser);e=_.I(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return null!==d})),c.XA(9);else if(!a.Jb(c,b))return null;return c},aWc=function(a){var b=new CGc;b=_.w(b,1,a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},fWc=function(a){var b=new XGc;b=_.w(b,1,a.canSearch);b=_.w(b,
2,a.canApply);b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},dWc=function(a,b,c,d){return gWc(a,function(){hWc(a)[c](b,d)},c,b)},iWc=function(a){a=void 0===a?{}:a;var b=new GGc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},kWc=function(a){var b=new MGc;NGc(b,(a.choices||[]).map(function(c){var d=new LGc;d=_.w(d,1,c.label).Jb(c.value);c.description&&d.Yl(c.description);if(c.capabilities){var e=c.capabilities;var f=new JGc;f=_.w(f,1,e.canSearch);e=_.w(f,2,e.canSelect);_.I(d,
3,e)}c.displayHints&&(c=c.displayHints,e=new KGc,e=_.w(e,1,c.disabled),e=_.w(e,2,c.hidden),c.badgePriority&&_.w(e,5,c.badgePriority),c.badgeColors&&(f=jWc(c.badgeColors),_.I(e,3,f)),c.darkBadgeColors&&(c=jWc(c.darkBadgeColors),_.I(e,4,c)),_.I(d,4,e));return d}));return b},jWc=function(a){var b=new BGc;var c=lWc(a.backgroundColor);b=_.I(b,1,c);c=lWc(a.foregroundColor);b=_.I(b,2,c);a=lWc(a.soloColor);return _.I(b,3,a)},lWc=function(a){var b=new _.iD;b=_.rb(b,1,a.red,0);b=_.rb(b,2,a.green,0);b=_.rb(b,
3,a.blue,0);a.alpha&&(a=(new bFc).Jb(a.alpha),_.I(b,4,a));return b},mWc=function(a){var b=new QGc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,Number(a.minValue));return _.w(b,3,Number(a.maxValue))},nWc=function(a){var b=(new _.voa).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)};VVc.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.XA(bWc[d]);return gWc(this,function(){oWc(c)[d](a,b[b.valueType])},b.valueType)};
var gWc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof SGc))return JFc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},eWc=function(a){return _.gvc(1).Pb(a.personName.split("/")[1])},cWc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},hWc=function(a){return{BOOLEAN:function(b,c){var d=b.l3a;var e=new HGc;e=_.w(e,1,c.trueLabel);c=_.w(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.TLa(iWc(c))},TEXT_LIST:function(b,c){var d=b.j4a;var e=new PGc;e=_.w(e,1,c.maxEntries);c=iWc(c.options);c=_.I(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new FGc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Vj(b,10,HL,c)},SELECTION:function(b,c){return b.X3a(kWc(c))},SELECTION_LIST:function(b,c){var d=b.W3a;var e=new OGc;e=_.w(e,1,c.maxEntries);c=kWc(c.options);c=_.I(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.y3a(mWc(c))},INTEGER_LIST:function(b,
c){var d=b.x3a;var e=new RGc;e=_.w(e,1,c.maxEntries);c=mWc(c.options);c=_.I(e,2,c);return d.call(b,c)},USER:function(b){return b.o4a(new TGc)},USER_LIST:function(b,c){var d=b.ULa,e=new UGc;c=_.w(e,1,c.maxEntries);e=new TGc;c=_.I(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.SLa;var e=new EGc;e=_.w(e,4,c.dateFormat);var f=nWc(c.minValue);e=_.I(e,2,f);c=nWc(c.maxValue);c=_.I(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new SGc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.w(d,2,bWc[e]);var f=cWc(e)+"Options";dWc(a,d,e,c[f]);return _.Vj(b,16,HL,d)}}},oWc=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.Doa(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.zoa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.qoa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.bL(a.H,c))},USER_LIST:function(b,c){mHc(b,c.map(function(d){return _.bL(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},bWc={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 qWc=function(a){a=a.personResponse;return CJc(new BJc,a.map(function(b){var c=b.person;b=yJc(new dM,b.personId);var d=b.hd,e=c;e=void 0===e?{}:e;e=e.metadata;b=zJc(d.call(b,e?e.bestDisplayName.displayName:""),pWc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new xJc;c=_.w(d,1,c&&!c.isDefault?c.url:null);return _.I(b,4,c)}))},pWc=function(a){a=void 0===a?{}:a;return(a=(a.email||[]).find(function(b){return"SIGNUP_EMAIL"===b.classification&&!0===b.metadata.primary}))?a.value:""};
var rWc=function(a){this.H=a},tWc=function(a,b){_.$K(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return sWc(a,c)})},sWc=function(a,b){_.$K(["drive#teamDrive","drive#drive"],b);var c=new _.goa,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);_.w(c,7,b.hidden);_.w(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
ABc(c,d.map(function(e){_.$K(["drive#driveCategoryReference"],e);var f=new _.dl;return _.w(f,1,e.category)}));c=_.cwc(_.awc(_.$vc(_.Wvc(_.Xvc(zBc(_.zG((new _.fl).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.uvc(_.Yzc(b.capabilities),!0),_.pK(c,d));b.permissionsSummary&&_.Yvc(c,fGc(a.H,b.permissionsSummary));b.restrictions&&CBc(c,uWc(b.restrictions));return c},uWc=function(a){var b=new BEc;
b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);return _.w(b,4,a.teamMembersOnly)};
var vWc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},QCc=_.$a(vWc);
var wWc=function(a){_.$K(["drive#setting"],a);var b=new _.Vb;b=_.w(b,2,a.key);b=_.w(b,1,vWc[a.namespace]);return _.EBa(new _.np,b).Jb(a.value)};
var yWc=function(a){_.$K(["drive#workspaceList"],a);var b=a.items||[];b=EJc(new eM,b.map(function(c){return xWc(c)}));return new _.QK(b,lNc(a))},xWc=function(a){_.$K(["drive#workspace"],a);var b=(new _.xG).Pb(a.id).setTitle(a.title);b=_.w(b,3,_.aL(a.createdDate));return _.w(b,4,_.aL(a.modifiedDate)).Kd(zWc[a.state])},AWc=function(a,b,c){var d=c.item||[];return _.fBc(_.eBc(new _.hL,d.map(function(e){return DVc(a,b,e)})),c.suggestionSessionId)},CWc=function(a,b,c){var d=c.item||[];return OHc(NHc(new QL,
d.map(function(e){return BWc(a,b,e)})),c.suggestionSessionId)},BWc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return LHc(JHc(KHc(IHc(new PL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return DVc(a,b,f)})),eN(c))},DWc=function(a){var b=new _.zGc;a.kind&&(a=xWc(a),_.I(b,2,a));b.Dc(1);return b},zWc={active:1,archived:2};
var MCc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var EWc=function(a,b,c,d){_.wAc.call(this,b);this.Lg=a;this.ka=c;this.O=d;this.W=null;this.ma=new qUc(this.V,b);this.H=new rWc(this.kF);this.ta=new BVc(this.kF,this.H)};_.K(EWc,_.wAc);var FWc=function(a){a.W||(a.W=new VVc(a.V,a.ka));return a.W};
EWc.prototype.ha=function(a,b){if(a instanceof _.lJ)var c=_.eAc(_.AAc(a));else{if(a instanceof _.mJ)var d=_.cL(this,a,b);else{if(a instanceof _.Iuc)var e=GWc(this,a.request,b);else{if(a instanceof _.nJ)var f=_.cL(this,a,b);else{if(a instanceof _.pJ){if(!b.json)throw _.dL();var h=ZOc((new YOc).Dc(1),sWc(this.H,b.json))}else{if(a instanceof _.oJ)var k=_.cL(this,a,b);else{if(a instanceof _.GK)var l=new vHc;else{if(a instanceof _.rJ)var p=HWc(a,b);else{if(a instanceof _.sJ)var q=tVc(void 0,a.Nh());else{if(a instanceof
_.tJ)var r=new sQc;else{if(a instanceof _.uJ)var v=_.eAc(_.AAc(a));else{if(a instanceof _.vJ)var z=new KM;else{if(a instanceof _.wJ)var A=_.eAc(_.AAc(a));else{if(a instanceof _.xJ)var C=_.eAc(_.AAc(a));else{if(a instanceof _.MD){var E=new rPc,H=a.getKey();var L=_.I(E,4,H)}else{if(a instanceof _.yJ)var O=HWc(a,b);else{if(a instanceof _.BJ)var R=_.eAc(_.AAc(a));else{if(a instanceof _.Fuc){if(!b.json)throw _.dL();var U=new VQc(b.json.exportJob.id)}else{if(a instanceof _.DJ){if(!b.json)throw _.dL();var ka=
b.json,ha=new mPc,ta=rVc(ka);var fa=_.I(ha,2,ta).Dc(1)}else{if(a instanceof _.EJ)var Ra=IWc(a,b);else{if(a instanceof _.FJ){if(!b.json)throw _.dL();var Ka=(new KM).Dc(1),ob=_.hAc(this.kF,b.json);var Ya=_.I(Ka,2,ob)}else{if(a instanceof _.QI)a:{if(!b.json)throw _.dL();if(a instanceof _.QI){var Fb=a.ud();if(Fb&&_.GJ(Fb)){for(var bc=this.O,Bc=this.Lg,Cd=b.json,Wd=[],Kd=_.m(Cd.item||[]),rf=Kd.next();!rf.done;rf=Kd.next()){var td=rf.value;if(td.driveItem){var Cb=new _.eoa,ne=_.w(Cb,2,FVc(td));_.Q(Fb,74,
!1)?_.w(ne,4,!0):_.w(ne,3,!0);var Wg=DVc(bc,Bc,td);var se=_.I(Wg,100,ne);Wd.push(se)}}var li=(new _.oB).Vw(Wd).lP(Cd.suggestionSessionId);var Xi=_.Byc(new _.UK,li);break a}if(Fb&&_.HJ(Fb)){Xi=GVc(this.O,this.Lg,b.json);break a}if(Fb&&_.IJ(Fb)){for(var vf=this.O,Ck=this.Lg,Vh=b.json,Tf=[],Xd=_.m(Vh.item||[]),Xg=Xd.next();!Xg.done;Xg=Xd.next()){var Nh=Xg.value;if(Nh.driveItem){var xi=DVc(vf,Ck,Nh),Zk=RVc(Nh);var Zn=_.Jj(xi,117,Zk);Tf.push(Zn)}}var zm=(new _.oB).Vw(Tf).lP(Vh.suggestionSessionId);Xi=
_.Byc(new _.UK,zm);break a}}Xi=_.bAc(this.kF,b.json,b.headers)}else{if(a instanceof _.JJ){if(!b.json)throw _.dL();var Dh=AVc(b.json)}else{if(a instanceof _.KJ){if(!b.json)throw _.dL();var $k=b.json;_.$K(["drive#appList"],$k);var hk=new bM,Yg=sVc($k);var Nj=_.Jj(hk,2,Yg);var sj=_.Hj(Nj,4,$k.defaultAppIds).Dc(1)}else{if(a instanceof _.Guc){if(!b.json)throw _.dL();var ik=yVc(b.json)}else{if(a instanceof _.aJ)var Wh=JWc(this,b);else{if(a instanceof _.LJ){if(!b.json)throw _.dL();var Oj=new pPc,Pj=eGc(this.kF,
b.json);var tj=_.I(Oj,1,Pj);var jk=_.w(tj,2,lNc(b.json))}else{if(a instanceof _.MJ){if(!b.json)throw _.dL();var ai=this.kF,Am=b.json,Qj=new bGc;_.$K(["drive#revisionList"],Am);for(var kk=[],Al=Am.items||[],Rj=0;Rj<Al.length;Rj++){var xn=_.cAc(ai,Al[Rj]);kk.push(xn)}var al=_.Jj(Qj,2,kk)}else{if(a instanceof _.NJ)var bl=_.cL(this,a,b);else{if(a instanceof _.eJ)var Af=KWc(a,b);else{if(a instanceof _.PJ){if(!b.json)throw _.dL();var Sj=qWc(b.json)}else{if(a instanceof _.Ouc){if(!b.json)throw _.dL();var dm=
ZVc(FWc(this),b.json)}else{if(a instanceof _.uG){if(!b.json)throw _.dL();var Bl=FWc(this),em=b.json,qc=new APc,Tj=YVc(Bl,em);var Oh=_.I(qc,2,Tj).Dc(1)}else{if(a instanceof _.QJ){if(!b.json)throw _.dL();var lk=b.json;_.$K(["drive#remainingCount"],lk);var Ph=new BPc,mi=lk.nextPageToken;null!=mi&&_.w(Ph,2,Number(mi));_.w(Ph,1,Number(lk.remainingCount));var eg=Ph}else{if(a instanceof _.wG){if(!b.json)throw _.dL();var Dk=(new _.oB).Vw([sWc(this.H,b.json)])}else{if(a instanceof _.$J){if(!b.json)throw _.dL();
var Ep=(new _.oB).Vw(tWc(this.H,b.json)),Qh=_.Byc(new _.UK,Ep);var Eh=_.w(Qh,3,lNc(b.json))}else{if(a instanceof _.UJ)var yn=IWc(a,b);else{if(a instanceof _.VJ)var uj=GWc(this,a,b);else{if(a instanceof _.ZI)var zn=_.cL(this,a,b);else{if(a instanceof _.WJ)var fm=_.cL(this,a,b);else{if(a instanceof _.XJ)var Ek=LWc(this,b);else{if(a instanceof _.ND){if(!b.json)throw _.dL();var Bm=wWc(b.json),Oo=new rPc;var Fp=_.I(Oo,3,Bm);var pr=Bm.getKey();var Nm=_.I(Fp,4,pr)}else{if(a instanceof _.YJ)var km=HWc(a,
b);else{if(a instanceof _.BI){if(!b.json)throw _.dL();var rk=uUc(this.ma,b.json)}else{if(a instanceof _.yG){if(!b.json)throw _.dL();var cp=xWc(b.json),Rp=new _.LK;Rp.BT().set(cp.getId(),cp);var Kq=Rp}else{if(a instanceof _.Huc){if(!b.json)throw _.dL();for(var Mr=b.json,ku=new xQc,Nr=_.m(Object.entries(Mr)),Ys=Nr.next();!Ys.done;Ys=Nr.next()){var sB=_.m(Ys.value),tB=sB.next().value,Ny=sB.next().value;switch(tB){case "nextPageToken":_.ek(ku,2,Ny);break;case "activities":var lu=ZUc(Ny);_.Jj(ku,1,lu)}}var Lq=
ku}else{if(a instanceof _.Juc)var Mq=LWc(this,b);else{if("undefined"!=typeof _.Nuc&&a instanceof _.Nuc)var uB=JWc(this,b);else{if(a instanceof _.Kuc){if(!b.json)throw _.dL();var PD=new UQc}else{if(a instanceof _.Luc){if(!b.json)throw _.dL();var ox=PCc(b)}else{if(a instanceof _.LD){if(!b.json)throw _.dL();var Oy=b.json,px=new _.gA;_.$K(["drive#settingList"],Oy);for(var qx=[],rx=Oy.items||[],Zs=0;Zs<rx.length;Zs++){var $s=wWc(rx[Zs]);$s&&qx.push($s)}var hl=_.ulb(px,qx)}else{if(a instanceof _.iA){if(!b.json)throw _.dL();
var Or=CWc(this.O,this.Lg,b.json).Dc(1)}else{if(a instanceof _.vG){if(!b.json)throw _.dL();var Nl=AWc(this.O,this.Lg,b.json)}else{if(a instanceof _.Tuc){if(!b.json)throw _.dL();var vB=b.json;_.$K(["drive#teamDrive"],vB);var QD=vB.recursiveFolderCount,Py=vB.recursiveFileCount,Ki=new ePc;var Qy=_.w(Ki,1,Py);var Nq=_.w(Qy,2,QD)}else{if(a instanceof _.Suc)var Sp=MWc(b);else{if(a instanceof _.Vuc){if(!b.json)throw _.dL();var HG=yWc(b.json)}else HG=a instanceof _.qL?LWc(this,b):null;Sp=HG}Nq=Sp}Nl=Nq}Or=
Nl}hl=Or}ox=hl}PD=ox}uB=PD}Mq=uB}Lq=Mq}Kq=Lq}rk=Kq}km=rk}Nm=km}Ek=Nm}fm=Ek}zn=fm}uj=zn}yn=uj}Eh=yn}Dk=Eh}eg=Dk}Oh=eg}dm=Oh}Sj=dm}Af=Sj}bl=Af}al=bl}jk=al}Wh=jk}ik=Wh}sj=ik}Dh=sj}Xi=Dh}Ya=Xi}Ra=Ya}fa=Ra}U=fa}R=U}O=R}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 HWc=function(a,b){if(!b.json){if(a instanceof _.yJ)return DWc({});throw _.dL();}return DWc(b.json)},LWc=function(a,b){if(!b.json)throw _.dL();a=sWc(a.H,b.json);return(new _.dK).Dc(1).setItem(a)},GWc=function(a,b,c){if(!c.json)throw _.dL();return XVc(FWc(a),b,c.json)},IWc=function(a,b){if(!b.json)throw _.dL();return tVc(b.json,a.Nh())},JWc=function(a,b){if(!b.json)throw _.dL();a=a.ta;var c=b.json;_.$K(["drive#about","drive#changeList"],c);b=new vJc;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));_.$K(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.$K(["drive#change"],h);var k=new _.TI;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.duc(k,h.teamDriveId),_.UI(k,h.teamDriveId)):_.UI(k,h.fileId);h.file?k.setItem(_.$zc(f.H,h.file)):h.teamDrive&&k.setItem(sWc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.cJ(k);d.push(k)}_.Jj(b,4,d)}return b},MWc=function(a){var b,c;if(!a.json)throw _.dL();
a=a.json;var d=a.result&&a.result.status;d=d&&NWc[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 SPc(RPc(QPc(new _.PPc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.NPc;p=_.w(p,1,l.unmovableReason);return _.w(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return MPc(LPc(KPc(JPc(new MM,lNc(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},KWc=function(a,b){var c=new uQc;if(_.de(a,6).length){var d=[];OBc(_.de(a,6),b.headers).forEach(function(e,f){var h=new _.kuc;e=_.w(h,1,f).Jb(e);d.push(e)});_.Jj(c,1,d)}vQc(c,b.json?JSON.stringify(b.json):b.text);return c},NWc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var PWc=function(a){var b=new _.Vo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(OWc[a]);_.DK(b,c.join(" "))}return b.toString()},QWc={},OWc=(QWc[1]="active",QWc[2]="archived",QWc);
var RWc=function(a,b,c,d){_.eL.call(this,b,c,a.RLa,d);this.ma=a;this.ha=new EIc(_.BK(c),b)};_.K(RWc,_.eL);
RWc.prototype.V=function(a,b,c){var d=this,e,f;try{return _.eL.prototype.V.call(this,a,b,c)}catch(U){}var h=0,k={},l="GET",p={},q=!1,r=!1;if(a instanceof _.mJ){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();_.Bj(a,4)&&(p.preFlightValidationToken=_.y(a,4));var z=mNc(a);k["content-type"]="application/json";q=r=!0;_.hK(this.H,[],[a.getId(),a.Ek()],this.O,k)}else if(a instanceof _.nJ){l="POST";
v="files/"+a.Ac()+"/authorize";p.appId=a.Nh();_.P(a,3)&&(p.propagate=!0);var A=a.ue();r=!0;_.AK(p);_.hK(this.H,[],[a.Ac()],this.O,k)}else if(a instanceof _.qL)v="drives/"+a.getId(),l="PUT",z={},z=(z.removeSecureLinkUpdateForAllFiles=_.Q(a,2,!1),z),k["content-type"]="application/json",p.fields=YL(this.H,[],!0),A=a.ue(),r=!0;else if(a instanceof _.Juc)l="POST",v="teamdrives/"+a.requestId,p.fields=YL(this.H),z={},z=(z.name=a.request.getTitle(),z),k["content-type"]="application/json",A=a.request.ue(),
r=!0;else if(a instanceof _.rJ)l="POST",v="workspaces",p.fields="kind,id,title,createdDate,modifiedDate,state",z=pNc(a),k["content-type"]="application/json",A=a.ue(),r=!0;else if(a instanceof _.oJ)l="POST",v="files/"+a.getId()+"/copy",p.fields=_.wuc({fields:this.Mg(c),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)}),p.convert=_.Q(a,4,!1),z=oNc(a),k["content-type"]="application/json",A=a.ue(),a=_.de(a,3).concat([a.getId()]),_.hK(this.H,[],a,this.O,k),r=!0,_.AK(p),_.MAc(this.H,p);else if(a instanceof _.sJ)l=
"DELETE",v="apps/"+a.Nh(),p.appId=a.Nh(),p.deleteAppData=!!_.P(a,2),A=a.ue(),r=!0;else if(a instanceof _.tJ)l="DELETE",v="backups/"+a.getId(),h=9;else if(a instanceof _.uJ)l="DELETE",v="files/"+a.getId(),A=a.ue(),r=!0,_.AK(p),_.MAc(this.H,p),_.hK(this.H,[],[a.getId()],this.O,k);else if(a instanceof _.vJ)l="DELETE",v="files/"+a.Ac()+"/permissions/"+_.y(a,2),A=a.ue(),r=!0,_.AK(p);else if(a instanceof _.wJ)l="DELETE",v="files/"+a.Ac()+"/revisions/"+_.y(a,2),A=a.ue(),r=!0,_.hK(this.H,[],[a.Ac()],this.O,
k);else if(a instanceof _.xJ)l="DELETE",v="teamdrives/"+a.getId(),A=a.ue(),r=!0;else if(a instanceof _.MD)l="DELETE",A=a.getKey(),v="settings/"+_.y(A,2),_.op(A)&&(p.namespace=QCc[_.op(A)]),A=a.ue(),r=!0;else if(a instanceof _.yJ)l="DELETE",v="workspaces/"+a.getId(),A=a.ue(),r=!0;else if(a instanceof _.BJ)l="DELETE",v="files/trash",A=a.ud().ue(),r=!0,_.MAc(this.H,p);else if(a instanceof _.DJ)v="apps/"+a.Nh(),A=a.ue(),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=wL(_.AI(this.H));else if(a instanceof _.EJ)l="POST",v="apps",p.appId=a.Nh(),A=a.ue(),r=!0;else if(a instanceof _.FJ)l="POST",v="files/"+a.Ac()+"/permissions",p.fields=_.PI(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=
_.y(a,5)||"",p.sendNotificationEmail=!_.Q(a,6,!1),z={},1==a.zf()?z.role="owner":3==a.zf()?z.role="writer":4==a.zf()?(z.role="reader",z.additionalRoles=["commenter"]):2==a.zf()&&(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.Za()&&(z.value=a.Za()),z.withLink=!_.Q(a,8,!1),k["content-type"]="application/json",A=a.ue(),r=!0,_.AK(p);else if(a instanceof _.Fuc)h=8,l="POST",v=
"/v1/exports",k["content-type"]="application/json",z=_.de(a,1).map(function(U){if(_.Q(d.H,89,!1)){var ka=_.cyc(d.O,U);if(null!==ka)return{id:U,resource_key:{resource_key:ka}}}return{id:U}}),z={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:z,locale:null};else if(a instanceof _.QI||a instanceof _.GK||a instanceof _.iA||a instanceof _.vG)if(b=a instanceof _.QI?a.ud():a,_.gK(b)){h=10;l="POST";v="/v1/items";k["content-type"]="application/json";z={};var C=9==_.uK(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",E={};E.applicationType=MIc(this.H);E.platformType=C;E.languageCode=wL(_.AI(this.H));E.timeZone=(new _.Qt).e$();E.requestType="LIVE_REQUEST";a instanceof _.QI&&(C=a.getOptions())&&_.Q(C,10,!1)&&(E.requestType="BACKGROUND_REQUEST");if(b instanceof _.of)if(_.GJ(b)){if(JIc(this.ha)){E.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.B(b,CEc,75))||void 0===e?void 0:_.B(e,DEc,1))||void 0===f?void 0:_.y(f,1))E.clientTags=E.clientTags||[],E.clientTags.push({name:a});this.Od.O(106026)}else _.Q(b,
74,!1)?E.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":E.scenarioType="QUICK_ACCESS";2==_.sK(b)&&(JIc(this.ha)||(E.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),z.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.de(b,33)[0]});_.Kl(b).length&&(z.itemType=LIc(b))}else _.HJ(b)?E.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.IJ(b)&&(E.scenarioType="DRIVE_PRIORITY");else b instanceof _.GK?(v="/v1/userfeedback",z.userFeedback=_.Uj(b,_.sHc,1).map(function(U){var ka=_.B(U,_.NL,2),ha={},ta={};ta.feedbackType=
xHc[ka.getType()];ha.item=ta;ha.clientInfo=E;switch(U.getFeature()){case 1:E.scenarioType="DRIVE_PRIORITY";ta.itemId=ka.Ac();break;case 3:E.scenarioType="QUICK_ACCESS";ta.itemId=ka.Ac();break;case 4:E.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";ta.itemId=ka.Ac();break;case 2:E.scenarioType="DRIVE_WORKSPACES",ta.itemId=ka.Ac(),ta.childItem=_.Uj(ka,_.NL,3).map(function(fa){var Ra={};Ra.itemId=fa.Ac();return Ra})}return ha})):b instanceof _.iA?E.scenarioType="DRIVE_WORKSPACES":b instanceof _.vG?(E.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",z.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Np()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.P(b,5)}]):_.PAc(a);b instanceof _.GK||(z.maxSuggestions=b.Di(),z.clientInfo=E)}else{A=b.ue();r=!0;v="files";p.q=_.oxc(b);C=[];var H;(H=_.fK(this.H))&&_.Q(H,4,!1)?(H=_.wa(this.Mg(c),this.Mg(c,b.O())),_.Da(H)):H=_.xa(this.Mg(c));var L=void 0,O=!1;0<_.Uj(b,_.Fl,5).length&&(L=_.y(this.H.hg(),50),O=!0);p.fields=rBc({fields:H,
Aq:_.mI(_.AI(this.H)),W6:L||void 0,EE:_.PI(this.H),bAb:O});p.appDataFilter="NO_APP_DATA";0<_.Uj(b,_.rK,25).length&&(p.sources=_.gxc(b));0<b.AB().length&&(p.spaces=_.hxc(b));a.Zn()&&(p.pageToken=a.Zn());(a=a.getOptions())&&_.Zj(a,1,1E3)&&(p.maxResults=_.Zj(a,1,1E3));_.Q(b,36,!1)&&(p.includeUnsubscribed=!0);_.y(b,43)&&(p.rawUserQuery=_.y(b,43));_.AK(p);p.includeItemsFromAllDrives=_.Q(b,66,!0);0<_.de(b,33).length&&2==_.sK(b)&&(a=_.de(b,33)[0],p.teamDriveId=a,C.push(a));p.corpora=_.Twc[_.sK(b)];_.P(b,
18)&&(_.Va(p,"corpora"),p.corpus="DOMAIN");a=_.Ll(b);H=_.Uj(b,_.yl,35);L=_.Uj(b,_.yl,38);C=C.concat(a.filter(function(U){return!_.Q(U,2,!1)}).map(function(U){return U.Za()})).concat(H.map(function(U){return U.Za()})).concat(L.map(function(U){return U.Za()}));_.hK(this.H,_.Uj(b,_.Hl,63),C,this.O,k);UBc(p,b.wc());_.NAc(this.H,p);_.OAc(this.H,p);_.B(b,_.Dea,64)&&(a=EEc(_.B(b,_.Dea,64)),a=_.mb(a,4),p.searchSessionData=a)}else if(a instanceof _.KJ){v="apps";switch(a.getType()){case 1:p.fields=SWc;break;
case 2:p.fields=TWc;break;case 4:p.fields=UWc;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=wL(_.AI(this.H));0<_.de(a,3).length&&(p.appFilterExtensions=_.de(a,3).join(","));0<_.de(a,4).length&&(p.appFilterMimeTypes=_.de(a,4).join(","));A=a.ue();r=!0}else if(a instanceof
_.Guc)v="backups",h=9,p.languageCode=wL(_.AI(this.H));else if(a instanceof _.aJ)v="changes",p.includeDeleted=_.Q(a,3,!0),p.includeSubscribed=_.Q(a,4,!0),p.maxResults=a.MQ(),p.startChangeId=_.y(a,1),p.fields=qBc({fields:this.Mg(c),W6:YL(this.H,_.de(a,5)),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)}),p.appDataFilter="NO_APP_DATA",a.yc()||(p.filters="DRIVE_DATASERVICE"),A=_.de(this.H.hg(),31),A.length&&(p.spaces=_.mf(A,function(U){return _.Kqc[U]}).join(",")),_.AK(p),p.includeCorpusRemovals=!0,p.includeItemsFromAllDrives=
!0,a.yc()&&(p.teamDriveId=a.yc()),A=a.ue(),r=!0;else if(a instanceof _.LJ)b=a.ud(),v="files/"+b.getId()+"/permissions",p.fields=_.PI(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.Zn()&&(p.pageToken=a.Zn()),_.y(a,1)&&(p.maxResults=_.y(a,1)),A=b.ue(),r=!0,_.AK(p),
_.NAc(this.H,p),_.OAc(this.H,p),_.hK(this.H,[],[b.getId()],this.O,k);else if(a instanceof _.MJ)p.fields=_.PI(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.Di(),v="files/"+a.Ac()+"/revisions",A=a.ue(),r=!0,
_.hK(this.H,[],[a.Ac()],this.O,k);else if(a instanceof _.NJ)l="POST",v="files/"+(_.y(a,1)||"")+"/migrateToDrive",_.P(a,3)&&(p.useDomainAdminAccess=!0),p.fields=_.wuc({fields:this.Mg(c),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)}),p.fileId=_.y(a,1),_.Bj(a,4)&&(p.preFlightValidationToken=_.y(a,4)),z=nNc(a),k["content-type"]="application/json",q=r=!0,_.hK(this.H,[],[_.y(a,1)||"",_.y(a,2)||""],this.O,k);else if(a instanceof _.wG)v="teamdrives/"+a.qn()[0],p.fields=YL(this.H,a.O()),A=a.ue(),r=!0;else if(a instanceof
_.Suc)l="POST",v="admin/files/migrateToTeamDrivePreFlight",_.P(a.request,3)&&(p.useDomainAdminAccess=!0),z=qNc(a),k["content-type"]="application/json",r=q=!0,_.hK(this.H,[],_.de(a.request,1),this.O,k);else if(a instanceof _.$J)A=a.ud(),v="teamdrives",p.fields=uIc(this.H,A.O()),p.q=vIc(A),a.Zn()&&(p.pageToken=a.Zn()),(A=(A=a.getOptions())&&_.Zj(A,1,1E3))&&(p.maxResults=A),A=a.ud().ue(),r=!0;else if(a instanceof _.Tuc)v="teamdrives/"+a.yc(),p.fields="kind,id,recursiveFileCount,recursiveFolderCount",
r=q=!0;else if(a instanceof _.UJ)l="PUT",v="apps/"+a.Nh(),p.appId=a.Nh(),z={},z.useByDefault=_.P(a,2),_.P(a,3)&&(z.hasAppData=!1),k["content-type"]="application/json",A=a.ue(),r=!0;else if(a instanceof _.ZI)l="PUT",v="files/"+a.getId(),p.fields=_.wuc({fields:this.Mg(c),Aq:_.mI(_.AI(this.H)),EE:_.PI(this.H)}),p.modifiedDateBehavior="DRIVE_UI",p.updateViewedDate=!!_.P(a,15),p.fileId=a.getId(),_.de(a,9).length&&(p.addParents=_.de(a,9).join(",")),_.de(a,10).length&&(p.removeParents=_.de(a,10).join(",")),
_.de(a,31).length&&(p.addWorkspaces=_.de(a,31).join(",")),_.de(a,32).length&&(p.removeWorkspaces=_.de(a,32).join(",")),null!=_.P(a,24)&&(p.confirmed=_.P(a,24)),p.languageCode=wL(_.AI(this.H)),z=rNc(a),k["content-type"]="application/json",A=a.ue(),r=!0,_.AK(p),this.W(a.getId(),p),_.P(a,36)?p.bypassMultiparentingCheck=!0:_.MAc(this.H,p),b=_.de(a,9).concat(_.de(a,10)),b.push(a.getId()),_.hK(this.H,_.Uj(a,_.Hl,38),b,this.O,k);else if(a instanceof _.WJ)l="PUT",v="files/"+a.Ac()+"/revisions/"+_.y(a,2),
z=sNc(a),k["content-type"]="application/json",A=a.ue(),_.hK(this.H,[],[a.Ac()],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=tNc(a),k["content-type"]="application/json"),p.fields=YL(this.H),A=a.ue(),r=!0;else if(a instanceof _.YJ)l="PUT",v="workspaces/"+a.getId(),p.fields="kind,id,title,createdDate,modifiedDate,state",z=uNc(a),k["content-type"]="application/json",A=a.ue(),r=!0;else if(a instanceof _.ND)l="PUT",
z=_.B(a,_.np,1),A=z.getKey(),v="settings/"+_.y(A,2),(A=_.op(A))&&(p.namespace=QCc[A]),z=RCc(z),k["content-type"]="application/json",A=a.ue(),r=!0;else if(a instanceof _.BI)v="about",p.fields=_.PI(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=UCc(p.fields,this.H),p.fields=VCc(p.fields,this.H),A=a.ue(),r=!0;else if(a instanceof _.eJ){h=11;l=a.Uz();v=a.getUrl();var R=_.y(a,5)||"";_.Uj(a,_.kuc,2).forEach(function(U){k[U.getKey()]=
U.Za()});_.Uj(a,_.kuc,4).forEach(function(U){p[U.getKey()]=U.Za()});_.P(a,7)&&(b.PJb=!0);_.P(a,8)&&(b.ru=!0);_.P(a,9)&&(b.eEa=!0)}else a instanceof _.Iuc?(b=a.request.Ac(),v="files/"+b+"/listCategoryMetadata",A=a.request.ue(),a.pageToken&&(p.pageToken=a.pageToken),a.request.Di()&&(p.maxResults=a.request.Di()),p.fields="kind,nextPageToken,categoryMetadata",_.hK(this.H,[],[b],this.O,k)):a instanceof _.VJ?(k["content-type"]="application/json",l="POST",b=a.Ac(),v="files/"+b+"/updateCategoryMetadata",
A=a.ue(),z={categoryMetadata:a.wV().map(function(U){var ka=_.Uj(U,_.sG,2).map(function(ta){return{id:ta.getId(),userId:ta.ms(),setBooleanValue:_.P(ta,3),setTextValue:_.y(ta,4),setTextValues:_.de(ta,6),addTextValues:_.de(ta,5),setLongTextValue:_.y(ta,7),setSelectionValue:_.y(ta,8),setSelectionValues:_.de(ta,10),addSelectionValues:_.de(ta,9),setIntegerValue:_.y(ta,11),setIntegerValues:_.de(ta,13),addIntegerValues:_.de(ta,12),setUserValue:_.y(ta,14),setUserValues:_.de(ta,16),addUserValues:_.de(ta,15),
setDateStringValue:_.y(ta,17)}}),ha={categoryName:U.Om()};ka.length?ha.categoryAttributeValueDeltas=ka:_.de(U,4).length?ha.revertAttributeIds=_.de(U,4):_.P(U,3)&&(ha.removeCategory=_.P(U,3));return ha})},_.hK(this.H,[],[b],this.O,k)):a instanceof _.PJ?(h=13,v=_.mI(_.AI(this.H))?"/v2/people/public":"/v2/people",p.person_id=a.qn(),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"],_.mI(_.AI(this.H))||(p["core_id_params.enable_private_names"]=!0)):a instanceof _.Ouc?(h=12,v="/v1/categories/-/published",k["content-type"]="application/json",a.pageToken&&(p.pageToken=a.pageToken),a.request.Di()&&(p.maxResults=a.request.Di()),a.request.getCustomer()&&(p.customer=a.request.getCustomer()),p.$outputDefaults=!0,p.languageCode=wL(_.AI(this.H))):a instanceof _.uG?(h=12,v="/v1/"+a.getName(),k["content-type"]=
"application/json",p.$outputDefaults=!0,p.languageCode=wL(_.AI(this.H))):a instanceof _.pJ?(k["content-type"]="application/json",l="POST",v="drives/"+a.yc()+"/changeCategoryReferences",A=a.ue(),r=!0,p.fields=YL(this.H,[157],!0),z={},b=_.Uj(a,_.dl,2),b.length&&(z.addCategoryReferences=b.map(function(U){return{category:U.Om()}})),a=_.Uj(a,_.dl,3),a.length&&(z.removeCategoryReferences=a.map(function(U){return U.Om()}))):a instanceof _.yG?(v="workspaces/"+a.qn()[0],p.fields="kind,id,title,createdDate,modifiedDate,state",
A=a.ue(),r=!0):a instanceof _.Huc?(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=_.fK(this.H))&&_.Q(a,13,!1)&&(z.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.Kuc?(h=8,l="POST",v="/v1/exports/"+a.H+":cancel"):
a instanceof _.Luc?(h=8,v="/v1/exports/"+a.H):"undefined"!=typeof _.Nuc&&a instanceof _.Nuc?(v="changes",p.fields="kind,largestChangeId",_.AK(p),p.includeItemsFromAllDrives=!0,a.teamDriveId&&(p.teamDriveId=a.teamDriveId),A=a.H,r=!0):a instanceof _.LD?(v="settings",A=_.de(a,3),p.namespace=SCc(A),A=a.ue(),r=!0):a instanceof _.Vuc?(v="workspaces",p.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(p.pageToken=a.pageToken),a.request.Di()&&(p.maxResults=a.request.Di()),
p.q=PWc(a.request),(A=a.request.Ew())&&1==A.getType()&&(p.orderBy="title"),A=a.request.ue(),r=!0):a instanceof _.QJ?(v="changes/getRemainingCount",p.pageToken=_.y(a,2),_.Bj(a,3)&&(p.supportsTeamDrives=!0,p.includeItemsFromAllDrives=!0,p.teamDriveId=a.yc()),A=a.ue()):a instanceof _.lJ?(k["content-type"]="application/json",l="POST",v="files/"+a.Ac()+"/sendAccessRequest",z={},q=!0):_.PAc(a);r&&_.QAc(c,p);0!=h||q||A&&_.y(A,1)||_.RK(this.Od,74438989);return _.RAc(this,h,v,p,k,l,A,z,R)};
RWc.prototype.W=function(a,b){a=this.ma.wm.H(a);b.expectedParentIds=a?a.wk().join(","):[]};
var SWc=TCc("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"),TWc=
TCc("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"),
UWc=TCc("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 VWc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,C,E,H,L,O,R,U,ka){this.doa=_.bi();this.gfa=new _.lyc;var ha=new _.Dyc(this.$J.bind(this),function(){return R("w8KrJc")}),ta=new oUc(b.wm),fa=new fUc(ha);c=new YTc(b,f,new TTc(d,e,c),h,this.doa.promise,k,l,c,R);d=new nUc(b,p,q,r,v,d,e,C,k);this.O=new _.oyc(a,z);z=new RWc(b,a,k,U);this.fsa=new EWc(k,a,A,C);this.H=kNc(a,new _.Rzc(this.O,this.gfa,z,this.fsa,E,H,L),H,A,O,b.wm,this.gfa,this.doa.promise,L||void 0);this.doa.resolve(ka?ka:new _.pzc(new pUc,ta,
fa,this.H,ha,c,d,a))};VWc.prototype.$J=function(){return _.Oa(this.H,function(a){return a.$J()})};var $Qc=function(a){var b=new Map,c=Date.now();_.La(a.H,function(d,e){d=dGc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var WWc=function(a,b){var c=this;this.context=a;this.Lg=b;this.ha=null;this.uR=0;this.ka=this.active=!1;this.H=this.ta=null;this.V={};this.Fa=this.Ba=!1;this.Od=a.uk();this.W=_.bi();this.O=a.Nc;this.Ha=_.fK(this.O)||new _.ewc;b=_.xL(this.O);this.va=new _.dyc(_.Zj(b,2,37500),_.Zj(b,3,6E5));this.ma=a.pQ;_.La($Ic,function(d){c.V[d]=[]});fM(a.Sj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});fM(a.Sj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});fM(a.Sj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.gL().Cg(_.Uf)})};_.g=WWc.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,YM(this.context).addCallback(function(b){a.ma.initialize().lg(function(){a.ha=b;a.setActive(!0)},function(c){c&&JFc(a.context.Rf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.iJ(c));a.log("Error initializing dump storage");a.cS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Rma=function(a){this.active&&(this.uR+=a,this.uR>_.Zj(_.xL(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.WQ().$J()||0<b.vf.rI.wna||b.Nj().Te()||b.Bk().Te())||((this.active=a)?(this.W.resolve(),this.H||this.gL().Cg(_.Uf)):(this.W=_.bi(),_.n.clearTimeout(this.ta)))}};_.g.cS=function(){this.ka=!0};_.g.dWa=function(){return this.H?this.H.promise:_.Yh()};
_.g.gL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.bi();_.ci(this.H.promise,function(){a.H=null});var b=this.Od.H(106021)||void 0;this.W.promise.then(function(){return eNc(a.context.uD)}).then(function(c){var d=!c;return a.ka?d:_.$h([XWc(a,3,d,void 0,void 0,b),XWc(a,0,d,void 0,!0,b),XWc(a,1,d,void 0,!0,b),XWc(a,5,d,void 0,!0,b),XWc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Ac("Failed to update dump",void 0,_.iJ(e));return _.Zh(e)})},function(){return _.Zh(Error("sg"))}).then(function(c){a.H.resolve(c);
b&&(c=QFc(b),_.w(c,2,!0),b.xj())},function(c){a.H.reject(c);b&&(c=QFc(b),_.w(c,2,!1),b.xj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.di,e=this.Od.H(106021)||void 0;e&&(vFc(QFc(e),_.IK(_.Itc,a)),d.then(function(){var f=QFc(e);_.w(f,2,!0);e.xj()},function(){var f=QFc(e);_.w(f,2,!1);e.xj()}));this.W.promise.then(function(){return eNc(c.context.uD)}).then(function(f){f=!f;c.ka?d.callback():_.gi(XWc(c,a,f,b,void 0,e),d)});return d};
var XWc=function(a,b,c,d,e,f){var h=_.ia(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.If.en();var k=new _.di;_.fi(h.If,function(){_.gi(a.Lu(b,c,d,e,f),k)})}else k=a.Lu(b,c,d,e,f);var l={encrypt:c,If:k};a.V[b].push(l);_.fi(k,function(){_.va(a.V[b],function(p){return l===p})});k.Rg(function(p){a.ma.O.Sf()?a.cS():p instanceof _.Ac&&(p=p.O||null,p instanceof _.rI&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.cS());return null});
return k};
WWc.prototype.Lu=function(a,b,c,d,e){var f=this,h=new _.di;this.W.promise.then(function(){if(3===a)_.gi(YWc(f,c||!1,b,e),h);else{switch(a){case 0:var k=jRc(f.context.NP);break;case 1:k=f.context.HZ.xr();break;case 5:k=ZWc(f.context.dE);break;case 6:k=NKc(f.context.vf.vq);break;default:h.Id("Invalid data type to write to storage.");return}if(k){var l=_.Uj(_.xL(f.O),vL,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):bMc(f.ma,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Id(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Id("Failed to get data to write to dump.")}});return h};
var YWc=function(a,b,c,d){_.n.clearTimeout(a.ta);a.ta=_.n.setTimeout((0,_.M)(a.Ka,a),a.va.Za());if(b&&0===a.uR)return _.ii();a.uR=0;var e=_.Uj(_.xL(a.O),vL,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),_.ii();var f=[];_.La(ZHc,function(k){0<k&&(k=$Wc(a,k),k.length&&f.push(bMc(a.ma,c?e:null,k,d)))});var h=new _.di;Promise.all(f).then(function(){a.Fa&&a.context.uD.set(cNc,!0);h.callback()},function(k){return void h.Id(k)});return h};
WWc.prototype.Ka=function(){_.wI(this.va);this.update(3,!0)};
var $Wc=function(a,b){switch(b){case 1:return[aXc(a)];case 2:var c;b=null===(c=_.fK(a.context.Nc))||void 0===c?void 0:_.Q(c,17,!1);c=a.context.vf.lr;var d=c.H;c=(b=!b||d&&d.TG?d:c.O)?b.oy():[];c=bXc(a,_.Qa(vCc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Zj(_.xL(a.O),5,2E4)&&(b&&iM(b,!1),c=[]);c=THc(new SL,cXc(c));d=a.context.vf.lr;a=new DCc;(d=d.H)&&d.TG&&(d=d.oy(),_.w(a,3,d.length));a=_.I(c,11,a);a=YHc(a,2);b&&WHc(a,b.yN());b instanceof lM&&(b=TJc(b),_.Hj(a,14,b));return[a];
case 3:return dXc(a);case 4:return eXc(a);default:throw new _.Ac("Unsupported CacheType");}},aXc=function(a){for(var b={},c=[],d=bKc(a.context.vf.lr,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.oy(),l=bXc(a,uCc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ia(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=QHc(new RL,h.ud()),h.H||(_.w(l,2,k),_.I(l,3,p),e=!1),c.push(l)}d=_.Qa(b);a.log("Exporting "+d.length+" initial dump items.");return WHc(YHc(VHc(THc(UHc(XHc((new SL).Eu(a.context.bo()),_.BK(a.Lg)),a.ha.TQ(null)),
cXc(d)),c),1),!e)},dXc=function(a){var b=[],c=a.ha;a.context.vf.lr.UV().forEach(function(d){var e=c.TQ(d.yc());if(e){var f=bXc(a,uCc(d.oy()));a.log("Exporting "+f.length+" TD dump items for: "+d.yc());e=WHc(YHc(UHc(THc(new SL,cXc(f)),e),3),d.yN());d=QHc(new RL,d.ud());VHc(e,[d]);b.push(e)}});return b},eXc=function(a){var b={},c=[];a.context.vf.UV().forEach(function(d){1===d.zJ()&&null==_.P(d.ud(),6)&&(uCc(d.oy()).forEach(function(e){b[e.getId()]=e}),d=RHc(QHc(new RL,new _.of),d.ud()),c.push(d))});
return[WHc(YHc(VHc(THc(new SL,cXc(Object.values(b))),c),4),!1)]},bXc=function(a,b){b=TBc(b);_.P(a.O,67)&&(b=fXc(b));_.PI(a.O)&&(_.Q(a.Ha,9,!1)?QKc(a.context.vf.vq,b)&&(_.RK(a.Od,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=OKc(a.context.vf.vq,b)):b=OKc(a.context.vf.vq,b));return b.filter(function(c){return 4!==c.sv()})},fXc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,IBc(c)?(c=c.clone(),sBc(c,HBc),b.push(c)):b.push(c);
return b},cXc=function(a){return a.map(function(b){return b.clone()})};WWc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};WWc.prototype.pDa=function(){this.Fa=!0};
var gXc=function(){};_.g=gXc.prototype;_.g.setActive=function(){};_.g.cS=function(){};_.g.update=function(){return _.ii()};_.g.dWa=function(){return _.Yh()};_.g.gL=function(){return _.Yh()};_.g.Rma=function(){};_.g.pDa=function(){};
var tL=function(a,b,c,d){_.Ci.call(this);var e=this;this.Aa=a;this.kw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.Zwc;this.Nc=b.clone();(a=_.fK(this.Nc))&&_.Q(a,1,!1)&&_.EI(this.Nc,28);this.Lg=new _.cxc(this.Nc);this.xm=new EIc(_.BK(this.Lg),this.Nc);hXc(this);this.tX=new _.Fn;this.rb=_.n.setTimeout(function(){e.Rf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.tX.resolve();e.uk().O(106020)},1E4);this.GZ=new _.di;this.Ba=new _.Fxc(_.vK(this.Nc),_.Q(this.Nc.hg(),
52,!1));this.connectionState=new _.yxc(_.vK(this.Nc)?3:1,!_.Q(this.Nc.hg(),52,!1));this.Od=_.Vxc(this.Nc,this.Ba,this.connectionState,this.va,this.tX.promise,this.kw);this.hfa=new lJc(this.Od);this.XP=new _.di;this.log("Enabled experiments: "+this.uk().W.W);iXc(this)};_.K(tL,_.Ci);tL.prototype.getEnvironment=function(){return this.kw};tL.prototype.VR=function(){this.Rf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.rb);this.tX.resolve()};
var iXc=function(a){var b=function(){a.Gu().Cg(_.Uf)},c=a.Aa;(c=c&&_.wc(c,_.cm))?_.bf(c,"w",b):_.Ntc()||_.bf(_.n,"unload",b)};tL.prototype.Gu=function(){this.Od.O(106005);UFc(this.Od);var a=this.ma.map(function(b){return b()});_.qa(this.ma);return _.II(a).then()};var jXc=function(a,b){a.ma.push(b)};_.g=tL.prototype;_.g.Rf=function(){return this.va};_.g.Eu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.GZ.callback(a),a.length&&this.S3a(a,b||null))};_.g.S3a=function(){};
_.g.bo=function(){return this.rootId};_.g.uk=function(){return this.Od};var kXc=function(a){if(!a.ha)throw Error("tg");return a.ha},lXc=function(a,b){a.ha=b};tL.prototype.IB=function(){return this.Fa||this.connectionState.isConnected()};tL.prototype.Nj=function(){return this.Ba};tL.prototype.Bk=function(){return this.connectionState};tL.prototype.kNb=function(a){this.XP.callback(a)};
var hXc=function(a){var b=a.Nc.hg();0===_.de(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.D(b,37,""))throw Error("ug");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.Q(_.xL(a.Nc),9,!1))if(b=_.Uj(_.xL(a.Nc),vL,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.vK(a.Nc)&&!_.Q(a.Nc,10,!1))throw Error("vg");}else _.w(_.xL(a.Nc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.Q(_.xL(a.Nc),9,!1)&&(_.vK(a.Nc)||_.Q(a.Nc,10,!1)))throw Error("wg");var c=_.AI(a.Nc);b=!(!c||!_.mI(c));c=c&&_.tK(c)||"";if(!b&&!c)throw Error("xg");b&&_.Kj(a.Nc,44);_.Uj(a.Nc,_.of,44).forEach(function(d){try{HIc(a.xm,d)}catch(e){if(e instanceof _.Ac&&(d=e.Sg)&&3===d.Ys())throw Error("yg");throw e;}})};tL.prototype.kJ=function(a){this.dispatchEvent(new _.Cc(new _.Ac(void 0,a)))};tL.prototype.log=function(a){this.Rf().info("drive.ds.sync.ThinContext",a)};
var mXc=function(a,b){this.H=a;this.Ke=b};
var nXc=new Set([5,4,1,6,2]),oXc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),pXc=function(a,b,c){_.Ci.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(pXc,_.Ci);
pXc.prototype.YP=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())&&_.op(q))&&f.add(q)});[].concat(_.xd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=nXc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.op(r);r=r&&_.y(r,2);v=k.get(v);r&&v&&v.set(r,qXc(q))});var l=0,p=0;[].concat(_.xd(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&&_.y(A,2)))&&_.Yj(z,A)||l++}),[].concat(_.xd(v.values())).forEach(function(z){z=z.getKey();r.has(_.y(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,gM(this.V,"px2C2c");gM(this.V,"rkYxSd")}(l||p)&&rXc(this,!h)}};
pXc.prototype.MG=function(){return 0<this.DF.size};var rXc=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 _.ti("WPi0i"))};pXc.prototype.put=function(a){var b=a.getKey(),c=b&&_.op(b);b=b&&_.y(b,2);if(c&&b&&(c=this.DF.get(c))){var d=c.get(b);a=qXc(a);d&&_.Yj(a,d)||(c.set(b,a),rXc(this))}};pXc.prototype.remove=function(a){var b=a&&_.op(a);a=a&&_.y(a,2);b&&a&&(b=this.DF.get(b))&&b.delete(a)&&rXc(this)};
var ZWc=function(a,b){var c=[];(b||[].concat(_.xd(a.DF.keys()))).forEach(function(e){(e=a.DF.get(e))&&[].concat(_.xd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.DF.has(e)}):[].concat(_.xd(a.DF.keys()));var d=new yGc;_.Jj(d,1,c);_.Hj(d,2,b);return d};
pXc.prototype.GG=function(a){var b=this,c=ZWc(this,a),d=new _.gA;d.Dc(this.status);_.ulb(d,_.Uj(c,_.np,1));_.I(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);oXc.has(f)&&Infinity>oXc.get(f)&&(e=f)});return new mXc(d,e)};var qXc=function(a){a=a.clone();a.Og()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var sXc=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},uXc=function(a,b){return tXc(a[b])+(tXc(a[b+1])<<8)+(tXc(a[b+2])<<16)+(tXc(a[b+3])<<24)},tXc=function(a){return 127<a?a-256:a};
var uL=function(a,b,c,d,e,f){tL.call(this,a,b,c,d);var h=this;this.Ta=_.bi();this.qt=new nM;this.W=null;this.O=_.bi();this.Ha=new _.di;this.R5=null;this.jfa=new fLc;this.V=null;this.$a=_.bi();this.ta=new _.di;this.NF=new MLc;this.Cz=new pLc;this.Nga=new mLc;this.P$=new _.Fn;this.Ka=!1;this.ifa=new _.Fn;this.H={};this.ka=null;this.Ib=new _.We;this.Ma(this.Ib);this.Sj=e?e:new OJc(this.Rf());this.uk().W.O=this.Sj;this.CL=_.Q(_.xL(b),9,!1)&&WCc()?vXc(this,b):null;this.zv=new xIc(wL(_.AI(b)));this.uD=
wXc(this,this.CL);this.pQ=xXc(this,this.CL,b);this.Ls=yXc(this);this.vf=new bN(this,this.Lg);(a=(a=_.B(this.Nc,_.fl,12))&&a.getId())&&this.Eu(a,6);this.NP=new iRc(this.Nc,this.vf.vq,this.Sj,this.Rf(),this.Ls);this.HZ=new oRc(this.Rf(),this.Sj,this.Ls);this.dE=new pXc(this.Rf(),this.Sj,this.Ls);this.sI=new dJc(this.Tm(),this.Rf(),function(k){return void h.kJ(k)});this.lz=_.Q(this.Nc.hg(),52,!1)?new _.SK(this.Bk(),this.Tm(),this.Rf(),this.uk()):null;fM(this.Sj,["mrK8ic"],function(){h.$a.promise.then(function(){URc(h,
h.V)})});this.VLa=new ILc(this.Nc);this.YA=new _.wyc(this.Nc,this.vf.wm);this.gsa=new PTc(this);this.Q5=new jLc(this.O.promise,this.Tm());this.kb=new nLc(this.Tm(),this.Q5);this.kfa=new ELc(this.O.promise,this.Tm(),this.Rf(),this.Nc);this.Qa=new VWc(this.Nc,this.vf,this.kJ.bind(this),this.Q5,this.kb,this.Ls,this.jfa,this.Lg,this.bo.bind(this),this.gsa,this.HZ,this.dE,this.kfa,this.NF,this.Rf(),this.VLa,this.YA,this.sI,this.lz,this.Nj(),this.Gob.bind(this),this.uk(),f);this.Ta.resolve(this.Qa);this.SIa=
new zTc(this);fM(this.Sj,["BNEDtc"],function(){return h.ifa.resolve()});jXc(this,function(){h.Ls.cS();return _.Yh()})};_.K(uL,tL);
var vXc=function(a,b){var c=_.tK(_.AI(b)),d=_.uK(b),e=function(){},f=_.Uj(_.xL(b),vL,11);f=f[0]&&_.y(f[0],1);var h=new xMc(c,d,_.Zj(_.xL(b),10,0)||0,f||"",_.BK(a.Lg));_.vK(b)?c=SMc(c,d).then(function(l){return l?l:h}):_.Q(b,10,!1)&&0<_.Zj(_.xL(b),8,432E6)?(b=zXc(a,c),c=SMc(c,d,b).then(function(l){return l&&(e=function(p){return p.Pl(h).Cg(function(){return null})},!l.ha)?l:h})):c=_.Yh(h);var k=new vM(c,a.Rf(),a.uk());k.initialize().then(function(){return e(k)},function(){return null});return k},zXc=
function(a,b){var c=_.Zj(_.xL(a.Nc),8,432E6);if(!_.vK(a.Nc)&&0<c){a=Math;var d=a.abs;b=_.Bma(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+=uXc(b,e),h.b+=uXc(b,e+4),h.c+=uXc(b,e+8),sXc(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+=uXc(b,e+4);h.a+=uXc(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+=uXc(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=sXc(h);return d.call(a,b)%c}};uL.prototype.Zy=function(a){var b=this;return this.CL?this.CL.Sf()?_.Zh(Error("zg`"+EMc(this.CL))):eNc(this.uD).then(function(c){var d=b.CL,e=[];e.push(b.Ls.dWa());e.push(a?d.Pl():OMc(d));if(a===c)return _.$h(e).then(function(){return!1});!1===a&&(e.push(DMc(d)),(c=b.bo())&&e.push(b.uD.Eu(c)));return _.$h(e).then(function(){return b.uD.Zy(a)},function(){return!1})}):_.Zh(Error("Ag"))};
var xXc=function(a,b,c){var d=null;b&&(d=new WLc(b,c,function(e){a.kJ(e)},a.uk()),d.initialize());return d},wXc=function(a,b){var c=new dNc(b||void 0);c.bo().then(function(d){d&&a.Eu(d,5)});b&&(eNc(c).then(function(d){a.Nj().Zy(d)}),_.$h([b.initialize(),a.tX.promise]).then(function(){AXc(a,c)},function(){}));return c},AXc=function(a,b){hNc(b).then(function(c){(!c||c<Date.now()-864E5)&&VMc(_.tK(_.AI(a.Nc)),_.uK(a.Nc),a.Rf()).then(function(d){d&&(d=Date.now(),b.set(bNc,d))},function(){})})},yXc=function(a){if(!a.pQ)return new gXc;
var b=new WWc(a,a.Lg);a.Ib.listen(a.Nj(),"Fb",function(c){return void b.setActive(!c.Te())});a.Ib.listen(a.Bk(),[].concat(_.xd(Object.values(_.oC))),function(){return void b.setActive(a.Bk().isConnected())});return b};uL.prototype.dY=function(a){this.R5=a;this.Ha.callback(a)};var YM=function(a){return a.Ha.en()},ZQc=function(a){return a.CL?a.CL.Sf():null},BXc=function(a,b){a.Sj.H("NSockf")?gM(a.Sj,b):fM(a.Sj,["NSockf"],function(){gM(a.Sj,b)})};
uL.prototype.S3a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.qt.Eu(a),this.xm.Eu(a),6!==b&&1!==b||this.uD.Eu(a),BXc(this,"jroI5d"))};uL.prototype.dVa=function(){return this.ta.en()};var URc=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.jg()||(a.ta.callback(b),BXc(a,"T8oKm")))},tRc=function(a){if(!a.W)throw Error("Bg");return a.W};_.g=uL.prototype;_.g.WQ=function(){return this.Qa};_.g.Tm=function(){return this.Ta.promise.then(function(a){return a.doa.promise})};
_.g.oDa=function(){this.Ka||(this.Ka=!0,this.P$.resolve(),gM(this.Sj,"aU7Ts"))};_.g.IB=function(){throw Error("Cg");};_.g.Gob=function(a){this.dispatchEvent(a)};var CXc=function(a,b){fTc(a.vf,b)},DXc=function(a,b,c){a.H[b]=c},SQc=function(a){a.ka||(a.ka=new vLc(a.O.promise,a.Tm(),a.Rf()));return a.ka};
var fN=function(a,b,c){_.Ci.call(this);var d=this;this.Fa=a;this.rb=b;this.va=_.bi();this.Ba=this.channel=this.clientId=null;c.then(function(e){return EXc(d,e)})};_.K(fN,_.Ci);var EXc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;ZL(a.channel,a.Fa,function(c){c=WIc(c);a.x$(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.va.resolve()};fN.prototype.x$=function(){};
fN.prototype.send=function(a,b,c,d){var e=this,f=_.bi();this.va.promise.then(function(){var h=e.channel;$L(h,e.Fa,SIc(new RIc(e.clientId,a,b,d),h.W),function(k){return void FXc(k,a,f,c||function(){})})});return f.promise};var FXc=function(a,b,c,d){a=WIc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.zc,_.VI(d,2),_.WI(d,6),_.w(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.Ac(void 0,d)))};fN.prototype.log=function(a){this.Ba&&this.Ba.info(this.rb,a)};
var GXc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var gN=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ka=this.HU()};_.K(gN,_.N);gN.prototype.registerService=function(a){var b=this;ZL(a,this.V,function(c){return b.Gw(c)})};
gN.prototype.Gw=function(a){var b=this;a=TIc(a);var c=a.H,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof UIc)return VIc(f,c);if(f.then)return f.then(function(h){return VIc(h,c)},function(h){h=_.XI(h);return VIc(b.jd(void 0,h),c)})}catch(h){e=_.iJ(h)}f=new _.zc;_.VI(f,2);_.WI(f,3);_.lq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.w(f,20,e.stack);return VIc(this.jd(void 0,f),c)};
gN.prototype.jd=function(a,b,c){if(a&&!b)return new UIc(a,void 0,c);a=_.XI(b);return new UIc(void 0,a,c)};gN.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&$L(a,this.V,VIc(this.jd(c,d,b),a.W))};
var HXc=function(){this.channels={};this.H=this.O=this.V=0},IXc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Pa(a.channels));return c},JXc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var KXc=function(a,b){gN.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.vf;this.O=this.context.kfa;this.W=SQc(this.context);this.ka=this.context.Q5};_.K(KXc,gN);
KXc.prototype.HU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.of);return a.ii(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.oI);return a.ii(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.xA);return a.ii(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.wG);return a.ii(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=sL(c.args[0],!!c.H,_.of);return a.lk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.oI);return a.lk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.xA);return a.lk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.wG);return a.lk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=sL(c.args[0],!!c.H,_.xA);c=sL(c.args[1],!!c.H,_.xA);return a.PY(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=sL(c.args[0],!!c.H,_.wG);c=sL(c.args[1],!!c.H,_.wG);return a.PY(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=sL(c.args[0],!!c.H,_.kA);return a.ii(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.yG);return a.ii(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.kA);return a.lk(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=sL(c.args[0],!!c.H,_.yG);return a.lk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.GG);return a.ii(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.GG);return a.lk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.iA);return a.ii(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=sL(c.args[0],!!c.H,_.iA);return a.lk(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.iA){var d=a.W;dLc(d,d.getKey(c)).refresh()}return a.jd([])},b};KXc.prototype.ii=function(a,b){var c=this,d=new _.Fn;this.H[a]={query:b,ySb:d.promise};b instanceof _.kA?d.resolve(this.O.ii(a,b)):b instanceof _.yG?d.resolve(bLc(this.O,a,b)):b instanceof _.iA?d.resolve(this.W.ii(a,b)):b instanceof _.GG?d.resolve(this.ka.ii(a,b)):d.resolve(this.ha.ii(a,b));return d.promise.then(function(){return c.jd([])})};KXc.prototype.lk=function(a,b){LXc(this,a,b);return this.jd([])};
var LXc=function(a,b,c){delete a.H[b];c instanceof _.kA?a.O.lk(b,c):c instanceof _.yG?cLc(a.O,b,c):c instanceof _.iA?a.W.lk(b,c):c instanceof _.GG?a.ka.lk(b,c):a.ha.lk(b,c)};_.g=KXc.prototype;_.g.PY=function(a,b,c){LXc(this,a,b);return this.ii(a,c)};_.g.CF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.ti(a.args[0]);c instanceof _.kA?this.O.ii(b,c):c instanceof _.yG?bLc(this.O,b,c):c instanceof _.iA?this.W.ii(b,c):c instanceof _.GG?this.ka.ii(b,c):this.ha.ii(b,c);return this.jd([])};
_.g.hO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Zg(a[0]),f=a[1];d.ySb.then(function(h){b instanceof _.QK||b instanceof _.NK?c.update(e,f,[b.response,b.pageToken,b.H,b.Ke,h]):(d.query instanceof _.of?uBc(d.query.O(),b.wd().filter(function(k){return!VL(k)})):d.query instanceof _.xA&&uBc(d.query.O(),Object.values(b.gq()).filter(function(k){return k&&!VL(k)})),c.update(e,f,[b,h]))})}};
_.g.EX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Zg(c[0]);c=c[1];var d=b.error;d.ffa(b.H);this.update(a,c,void 0,d)}};_.g.tA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Zg(a[0]),a[1],["cacheRefresh"]))};_.g.N8=function(){};_.g.kka=function(a){if(!this.H[a])throw Error("eg`"+a);return this.H[a].query};var MXc=function(a,b){_.La(a.H,function(c,d){_.Zg(d.split(":")[0])===b&&LXc(a,d,c.query)})};
var NXc=function(a,b,c){fN.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.K(NXc,fN);NXc.prototype.Bwa=function(a){var b=this;a=new EQc(this.context.xm,this.context.XP,this.context.Rf(),this.context.Nc,function(c,d){return b.CF(c,d)},a,this.context.uk());OXc(this,a);return a};NXc.prototype.Ewa=function(a){var b=this;a=new IQc(this.context.xm,this.context.XP,this.context.Rf(),function(c,d){return b.CF(c,d)},a,this.context.Nc);OXc(this,a);return a};
var OXc=function(a,b){a.ii(b);_.Oe(b,function(){a.lk(b);a.send("4.3",[b.ud()],void 0,b.Ai())});a.send("4.1",[b.ud()],void 0,b.Ai())};_.g=NXc.prototype;_.g.ywa=function(a){var b=this,c=new GL(this.context.Nc,this.context.xm,this.context.Rf(),this.context.GZ,this.PY.bind(this),a);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.4",[c.ud()],void 0,c.Ai())});this.send("4.2",[c.ud()],void 0,c.Ai());return c};
_.g.Hwa=function(a){var b=this,c=new MQc(a,this,this.context.Nc);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.11",[c.ud()],void 0,c.Ai())});this.send("4.9",[c.ud()],void 0,c.Ai());return c};_.g.Iwa=function(a){var b=this,c=new NQc(this.context,this,a);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.12",[c.ud()],void 0,c.Ai())});this.send("4.10",[c.ud()],void 0,c.Ai());return c};
_.g.Lwa=function(a){var b=this,c=new QQc(this.context,a,this);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.15",[c.ud()],void 0,c.Ai())});this.send("4.13",[c.ud()],void 0,c.Ai());return c};_.g.Mwa=function(a){var b=this,c=new HQc(this.context,a);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.16",[c.ud()],void 0,c.Ai())});this.send("4.14",[c.ud()],void 0,c.Ai());return c};
_.g.Fwa=function(a){var b=this,c=new LQc(this.context,a,function(){b.send("4.21",[],void 0,c.Ai())});this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.23",[c.ud()],void 0,c.Ai())});this.send("4.22",[c.ud()],void 0,c.Ai());return c};_.g.uwa=function(a){var b=this,c=new CQc(this.context.Nj(),this.context.Bk(),this.context.Rf(),function(d,e){return b.CF(d,e)},a);this.ii(c);_.Oe(c,function(){b.lk(c);b.send("4.19",[c.ud()],void 0,c.Ai())});this.send("4.18",[c.ud()],void 0,c.Ai());return c};
_.g.ii=function(a){this.H.create(a.Ai(),a.ud());this.O[a.Ai()]=a};_.g.lk=function(a){aM(this.H,a.Ai(),4);delete this.O[a.Ai()]};_.g.PY=function(a,b,c){if(b instanceof _.xA&&c instanceof _.xA)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.wG&&c instanceof _.wG)this.send("4.6",[b,c],void 0,a);else throw Error("Dg");};
_.g.CF=function(a,b){if(!this.O[a])throw Error("eg`"+a);var c=this.O[a];if(c.ud()instanceof _.of)var d="4.7";else if(c.ud()instanceof _.oI)d="4.8";else if(c.ud()instanceof _.GG)d="4.20";else if(c.ud()instanceof _.kA)d="4.17";else throw Error("Eg");c.ud().ti(b);this.send(d,[b],void 0,a)};
_.g.x$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new DL(d,d.D5()),a.CB(b),aM(this.H,a.Ai(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.dW();return}var h=a.ud();if(h instanceof _.of||h instanceof _.oI)h instanceof _.of&&_.HJ(h)?e=sL(d,b,_.KK):e=sL(d,b,_.oB);else if(h instanceof _.xA||h instanceof _.wG)b?(e=new _.JK,sGc(e,function(k){return new _.fl(JSON.parse(k))},d)):e=d;else if(h instanceof _.GG)e=new _.NK(sL(d,b,cM),c[f++],c[f++],c[f++]);else if(h instanceof _.kA)e=new _.QK(sL(d,
b,eM),c[f++],c[f++],c[f++]);else if(h instanceof _.yG)e=sL(d,b,_.LK);else if(h instanceof _.iA)e=sL(d,b,QL);else throw Error("Fg");}e&&(b=f,c&&"boolean"===typeof c[b]&&mJc(this.H,a.Ai(),!!c[b]),pJc(this.H,a.Ai(),e),a.update(e))}};
var hN=function(){_.Ci.apply(this,arguments);this.commands=new _.ql;this.ha=this.active=this.wp=!1};_.K(hN,_.Ci);hN.prototype.initialize=function(){this.wp||(this.wp=!0,this.V(),this.setActive(!0))};hN.prototype.V=function(){};hN.prototype.setActive=function(a){this.active=a;PXc(this)};var PXc=function(a){if(a.active&&!a.ha){var b=_.rl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.rl(a.commands))}else a.ha=!0,_.ci(a.Ba(b),function(){a.ha=!1;PXc(a)})}};hN.prototype.ka=function(){};
hN.prototype.Ba=function(){};hN.prototype.va=function(){return!0};hN.prototype.enqueue=function(a){try{var b=new _.di;this.commands.enqueue(new QXc(a,b));PXc(this);return b}catch(c){return _.ki(_.iJ(c))}};var QXc=function(a,b){this.H=a;this.If=b};QXc.prototype.getCommand=function(){return this.H};QXc.prototype.wG=function(){return this.If};
var TXc=function(a){hN.call(this);var b=this;this.context=a;this.O=null;this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.context,"VMiG2e",function(){return void RXc(b)});this.H=this.context.vf.vq;_.PI(this.context.Nc)&&this.Sc.listen(this.H,"Jb",this.W);var c=a.Sj;fM(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Ej(a.Nc.hg(),17,1)&&(d.push("iuEtc"),fM(c,["mrK8ic"],function(){gM(c,"iuEtc")}));fM(c,d,function(){SXc(b)})};_.K(TXc,hN);TXc.prototype.V=function(){UXc(this)};
var SXc=function(a){if(1===a.context.NP.jf().Bb())Promise.resolve();else{var b=_.Df(_.Ef(new _.Cf,!0),301);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(c){c=_.XI(c);_.w(c,21,"Initial account request failed.");a.context.kJ(c)})}},RXc=function(a){var b=_.Df(new _.Cf,304);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(){})};
TXc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.ci(this.context.Tm().then(function(d){return d.Re(a,b)}).then(function(d){var e=d.jf(),f=e.getUser();if(f&&!1===_.Qk(f))d=_.YI(_.AI(c.context.Nc)),d=Error("Gg`"+d+"`"+jL(f)),_.Ab(d),_.RK(c.context.uk(),73301807),d=Promise.reject(d);else{f=c.context.NP;var h=0===f.$e()?1:6;_.PI(c.context.Nc)&&GKc(c.H,e);h=kRc(f,e,h);(e=e.getMetadata())&&c.context.Eu(_.y(e,2),1);(d=_.y(d,4))&&URc(c.context,d,!0);h&&c.dispatchEvent(new _.ti("WPi0i"));d=
Promise.resolve(new _.PK(f.jf(),f.$e(),!1))}return d}).then(function(d){return d},function(d){d=_.XI(d);_.w(d,5,1);return Promise.reject(new _.Ac("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
TXc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.AD&&(c.AD=b.AD);this.refresh(b.request,c).then(function(e){return a.wG().callback(e)},function(e){return void a.wG().Id(e)})}else if(b=this.context.NP,c=b.jf(),_.PI(this.context.Nc)){c=c.jf();var d=c.getUser();d=LKc(this.H,jL(d));GKc(this.H,c);kRc(b,c,b.$e())&&this.dispatchEvent(new _.ti("WPi0i"));a.wG().callback(new _.PK(b.jf(),b.$e(),d))}else c.Bb(),b=new _.PK(c,b.$e(),!0),a.wG().callback(b)};
var UXc=function(a){var b=a.context.Nc.hg();_.n.setTimeout(function(){var c=_.Df(new _.Cf,306);c=_.CI(new _.BI,c);a.refresh(c).then(function(){UXc(a)},function(){UXc(a)})},Math.ceil(_.Zj(b,7,9E5)*Math.random())+_.Zj(b,3,72E5))};TXc.prototype.W=function(a){var b=this.context.NP,c=b.jf().jf();c&&a.getPeople().find(function(d){return _.y(d,1)===jL(c.getUser())})&&(GKc(this.H,c),kRc(b,c,b.$e())&&this.dispatchEvent(new _.ti("WPi0i")))};var VXc=function(a,b,c){this.request=a;this.H=!!b;this.AD=c||null};
var XXc=function(a){hN.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.context.HZ,"Qb",_.Eb(this.dispatchEvent,new _.ti("Qb",this)));WXc(this)};_.K(XXc,hN);
var WXc=function(a){var b=a.context.Sj;fM(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.vK(a.context.Nc)){var c=_.Ej(a.context.Nc.hg(),18,1);fM(b,["NSockf"],function(){1===c?YXc(a):a.setActive(!0)});2===c&&fM(b,["mrK8ic"],function(){a.W||YXc(a)})}},YXc=function(a){var b=new _.Cf;_.Ef(b,!0);_.Df(b,301);var c=new _.KJ;_.IFc(c,b);_.w(c,1,1);a.refresh(c).Cg(function(){return null})};
XXc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.bi();this.O=d.promise;_.ci(this.O,function(){c.O=null;ZXc(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);_.IFc(h,a.ue());this.context.Tm().then(function(k){return k.Re(h,b)}).then(function(k){c.error=null;var l=c.context.HZ;l.YP(k,l.MG()?6:1);d.resolve()},function(k){c.H=e;k=_.PB(k);var l=k.Sg;_.w(l,5,2);f?(_.VI(l,1),k.message="Initial app settings refresh failed.",
_.w(k.Sg,21,"Initial app settings refresh failed."),c.context.kJ(l),c.setActive(!0)):(_.VI(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Sg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};XXc.prototype.va=function(){return!1};
XXc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Zia,f=c.AD?{AD:c.AD}:void 0;if(!$Xc(d))return this.context.Tm().then(function(l){return l.Re(d,f)}).then(function(l){a.wG().callback(new _.MK(l,1,!1))},function(l){a.wG().Id(_.iJ(l))}),_.Yh();c=_.Yh();var h=!1;this.O?aYc(this,d.getType())?e=this.O:c=e=new _.Xh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&aYc(this,d.getType())&&!this.error?(h=!0,e=_.Yh()):e=this.refresh(d,f);
var k=a.wG();e.then(function(){var l=b.context.HZ;k.callback(new _.MK(l.xr(),l.$e(),h))},function(l){k.Id(l)});return c.then()};
var $Xc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.de(a,4),a=_.de(a,3),!(b&&b.length)&&!(a&&a.length)):!1},aYc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},ZXc=function(a){var b=a.context.Nc.hg(),c=new _.Cf;_.Df(c,306);var d=new _.KJ;_.w(d,1,1);_.IFc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Zj(b,7,9E5)*Math.random())+_.Zj(b,4,72E5))},bYc=function(a,b,c){this.request=a;this.Zia=!!b;this.AD=c||null};
var dYc=function(a){hN.call(this);var b=this;this.context=a;this.error=null;this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.context.dE,"WPi0i",function(){return b.dispatchEvent(new _.ti("WPi0i"))});this.H=_.bi();this.O=_.de(this.context.Nc.hg(),30);cYc(this)};_.K(dYc,hN);
var cYc=function(a){var b=a.context.Sj;fM(b,["rkYxSd"],function(){return a.initialize()});fM(b,["px2C2c"],function(){a.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Ej(a.context.Nc.hg(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&fM(b,["mrK8ic"],function(){gM(b,"OZvrNc")}));!_.Q(a.context.Nc,11,!1)&&_.Q(a.context.Nc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Uj(ZWc(a.context.dE),_.np,1).length||(b.H("NSockf")?
gM(b,"DEJoH"):fM(b,["NSockf"],function(){gM(b,"DEJoH")}))},12E3));fM(b,c,function(){if(!b.H("px2C2c")){var e=new _.Cf;_.Ef(e,!0);_.Df(e,301);var f=new _.LD;_.I(f,1,e);ACc(f,eYc(a));a.query(f).Cg(function(){a.initialize()})}})};dYc.prototype.V=function(){var a="User prefs detected: "+_.Uj(ZWc(this.context.dE),_.np,1).length;this.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager",a);fYc(this)};
dYc.prototype.query=function(a,b){var c=this,d=b?{AD:b}:void 0;return this.context.Tm().then(function(e){return e.Re(a,d)}).then(function(e){c.error=null;var f=c.context.dE;f.YP(_.Uj(e,_.np,3),f.MG()?6:1,_.de(a,3))}).then(null,function(e){e=_.PB(e);_.w(e.Sg,5,4);0<c.commands.$b()||c.context.kJ(e.Sg);c.error=e;throw e;})};
dYc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.wG(),e=new Set([].concat(_.xd(this.context.dE.DF.keys()))),f=_.de(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Zia=!0);this.error?d.Id(this.error):c.Zia?(ACc(c.request,eYc(this,f)),_.ci(this.H?this.H.promise:this.query(c.request,c.AD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var eYc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.xd(a.O),_.xd([].concat(_.xd(a.context.dE.DF.keys()))),_.xd(b)));return[].concat(_.xd(a.values()))};
dYc.prototype.getData=function(a,b,c){b=this.context.dE.GG(b);a.callback(new _.OK(b.H,b.Ke,c))};var fYc=function(a){var b=a.context.Nc.hg();_.n.setTimeout(function(){var c=new _.LD,d=new _.Cf;_.Df(d,306);_.I(c,1,d);ACc(c,eYc(a));_.ci(a.query(c).Cg(_.Uf),function(){fYc(a)})},Math.ceil(_.Zj(b,7,9E5)*Math.random())+_.Zj(b,5,72E5))},gYc=function(a,b,c){this.request=a;this.Zia=!!b;this.AD=c||null};
var hYc=function(a,b,c,d){gN.call(this,"IS",b);this.context=a;this.Sc=new _.We(this);this.Ba=_.bi();this.O=null;this.ha=!1;this.W=null;this.Fa=new YQc(a);zCc(this.Fa);this.Ma(this.Sc);this.ka=new TXc(a);this.Ma(this.ka);this.Sc.listen(this.ka,"WPi0i",function(){return c(new yQc(1))});this.ma=new XXc(a);this.Ma(this.ma);this.Sc.listen(this.ma,"Qb",function(){return c(new yQc(2))});this.ta=new dYc(a);this.Ma(this.ta);this.Sc.listen(this.ta,"WPi0i",function(){return c(new yQc(4))});this.Ha=d;this.H=
this.context.Tm()};_.K(hYc,gN);_.g=hYc.prototype;
_.g.HU=function(){var a={};return a["3.43"]=this.q_.bind(this),a["3.42"]=this.u7.bind(this),a["3.1"]=this.jN.bind(this),a["3.2"]=this.GG.bind(this),a["3.3"]=this.ld.bind(this),a["3.35"]=this.KN.bind(this),a["3.4"]=this.Bz.bind(this),a["3.5"]=this.xr.bind(this),a["3.6"]=this.SR.bind(this),a["3.8"]=this.Pl.bind(this),a["3.36"]=this.Zy.bind(this),a["3.9"]=this.gF.bind(this),a["3.10"]=this.wr.bind(this),a["3.11"]=this.U$.bind(this),a["3.12"]=this.d8.bind(this),a["3.13"]=this.US.bind(this),a["3.14"]=this.S$.bind(this),
a["3.15"]=this.f8.bind(this),a["3.16"]=this.lu.bind(this),a["3.17"]=this.KCb.bind(this),a["3.18"]=this.OCb.bind(this),a["3.19"]=this.cQ.bind(this),a["3.20"]=this.MCb.bind(this),a["3.25"]=this.LCb.bind(this),a["3.22"]=this.e8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.una.bind(this),a["3.29"]=this.Owb.bind(this),a["3.40"]=this.QCb.bind(this),a["3.33"]=this.RCb.bind(this),a["3.39"]=this.SO.bind(this),a["3.37"]=this.PCb.bind(this),a["3.38"]=this.d$a.bind(this),a["3.41"]=this.VR.bind(this),
a["3.44"]=this.W_.bind(this),a["3.45"]=this.Qo.bind(this),a["3.46"]=this.z7.bind(this),a};_.g.jN=function(a){var b=this,c=sL(a.args[0],!!a.H,_.BI);a=new VXc(c,a.args[1],this.context.H[a.clientId]);gM(this.context.Sj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.I_])},function(d){return b.jd(void 0,d)})};
_.g.GG=function(a){var b=this,c=sL(a.args[0],!!a.H,_.LD);a=new gYc(c,a.args[1],this.context.H[a.clientId]);gM(this.context.Sj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.I_])},function(d){return b.jd(void 0,d)})};
_.g.ld=function(a){var b=this,c=sL(a.args[0],!!a.H,fCc),d=_.bk(c,_.lJ,16,pL)||_.bk(c,_.mJ,1,pL)||_.bk(c,_.nJ,2,pL)||_.bk(c,_.qJ,3,pL)||_.bk(c,_.TK,4,pL)||_.bk(c,_.oJ,5,pL)||_.bk(c,_.uJ,6,pL)||_.bk(c,_.wJ,7,pL)||_.bk(c,_.xJ,8,pL)||_.bk(c,_.AJ,9,pL)||_.bk(c,_.NJ,18,pL)||_.bk(c,_.RJ,10,pL)||_.bk(c,_.SJ,11,pL)||_.bk(c,_.TJ,12,pL)||_.bk(c,_.ZI,13,pL)||_.bk(c,_.WJ,14,pL)||_.bk(c,_.XJ,15,pL)||_.bk(c,_.qL,17,pL),e=iN(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},
function(f){return b.jd(void 0,f)})};_.g.KN=function(a){var b=this,c=sL(a.args[0],!!a.H,oCc),d=_.bk(c,_.rJ,1,pCc)||_.bk(c,_.yJ,2,pCc)||_.bk(c,_.YJ,3,pCc),e=iN(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.Bz=function(a){var b=this,c=sL(a.args[0],!!a.H,iCc),d=iN(this,a),e=[],f=[];kCc(c).forEach(function(h){h instanceof _.lJ?e.push(String(h.Ac())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Re(h,d)}))});a=_.II(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.ci(a,function(){return void xTc(b.context.vf)});return a.then(function(h){return b.jd([new VBc(e,h)])})};
_.g.xr=function(a){var b=this,c=sL(a.args[0],!!a.H,_.KJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=iN(this,a);a=this.H.then(function(f){return f.Re(c,e)}).then(function(f){return new _.MK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.MK(f.response,f.Ke,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new bYc(c,d,this.context.H[a.clientId]),gM(this.context.Sj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.jd([f.response,f.Ke,f.I_])},function(f){return b.jd(void 0,
f)})};_.g.SR=function(a){var b=this,c=sL(a.args[0],!!a.H,lCc),d=_.bk(c,_.MD,1,mCc)||_.bk(c,_.ND,2,mCc),e=iN(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};_.g.Pl=function(a){a=a.args[0];if(this.context.lz)a?_.hyc(this.context.lz,!0):this.context.Bk().Te()&&this.context.lz.iM(!0).then(null,function(){});else try{this.context.Nj().Pl(a)}catch(b){return this.jd(void 0,b)}return this.jd([])};
_.g.Zy=function(a){var b=this,c=a.args[0];return this.context.Zy(c).then(function(d){return d?(b.context.Nj().Zy(c),b.Ha(c),b.context.Ls.gL().Cg(function(){return!c})):_.Yh(!c)}).then(function(d){return b.jd([d])},function(d){return b.jd(void 0,d)})};_.g.sync=function(){var a=this;return _.$h([this.context.P$.promise,this.context.ifa.promise]).then(function(){return a.context.Ls.gL()}).then(function(){return a.jd([])},function(b){return a.jd(void 0,b)})};
_.g.gF=function(){try{var a=this.context.R5;a&&a.Yna();this.context.Nga.gF();return this.jd([])}catch(b){return this.jd(void 0,b)}};_.g.VR=function(){this.context.VR();return this.jd([])};_.g.wr=function(a){var b=this,c=sL(a.args[0],!!a.H,_.DJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.U$=function(a){var b=this,c=sL(a.args[0],!!a.H,_.EJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.d8=function(a){var b=this,c=sL(a.args[0],!!a.H,_.sJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.US=function(a){var b=this,c=sL(a.args[0],!!a.H,_.UJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.S$=function(a){var b=this,c=sL(a.args[0],!!a.H,_.FJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return _.PI(b.context.Nc)?KKc(b.context.vf.vq,[_.B(e,_.Pk,2)],c.Ac()).then(function(){return e}):e}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.f8=function(a){var b=this,c=sL(a.args[0],!!a.H,_.vJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.lu=function(a){var b=this,c=sL(a.args[0],!!a.H,_.MJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.PI(b.context.Nc)?IKc(b.context.vf.vq,f):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.KCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.fQc),d=new _.Huc(c,a.args[1],a.args[2]||void 0),e=iN(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.OCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.LJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.PI(b.context.Nc)?KKc(b.context.vf.vq,_.Uj(f.jd(),_.Pk,2),c.ud().getId()).then(function(){return f}):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.cQ=function(){var a=this;return(_.Q(this.context.Nc.hg(),52,!1)?_.Yh(cJc(new bJc,0)):this.context.sI.cQ()).then(function(b){return a.jd([b])},function(b){return a.jd(void 0,b)})};
_.g.MCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.Guc),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.LCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.JJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.e8=function(a){var b=this,c=sL(a.args[0],!!a.H,_.tJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.una=function(a){var b=this,c=sL(a.args[0],!!a.H,_.eJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e,null])},function(e){return b.jd([null,_.XI(e)])})};_.g.Owb=function(){return this.jd([!0])};
_.g.QCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.vG),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.RCb=function(a){var b=this,c=sL(a.args[0],!!a.H,_.iA),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.q_=function(a){a=sL(a.args[0],!!a.H,_.of);NSc(this.context.vf,[a]);return this.jd([])};
_.g.u7=function(a){var b=this,c=sL(a.args[0],!!a.H,_.pJ),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.SO=function(a){var b=this,c=sL(a.args[0],!!a.H,_.NM),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return VKc(c,e)}).then(function(e){return b.jd(e)},function(e){return b.jd(void 0,e)})};
_.g.PCb=function(a){var b=this,c=new _.Ouc(sL(a.args[0],!!a.H,_.U8b),a.args[1]),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e.response,e.pageToken])},function(e){return b.jd(void 0,e)})};_.g.d$a=function(a){var b=this,c=sL(a.args[0],!!a.H,_.uG),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.W_=function(a){var b=this,c=sL(a.args[0],!!a.H,_.GK),d=iN(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.Qo=function(a){var b=a.args.map(function(c){return sL(c,!!a.H,_.TI)});this.context.vf.Qo(b);xTc(this.context.vf);return this.jd([])};_.g.z7=function(){var a=this,b=this.context.lz;return(b?b.iM():_.Yh(_.$xc(0))).then(function(c){return a.jd([c])},function(c){return a.jd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.bi();this.context.Rf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Nc.Wi());this.Sc.listen(this.context,_.Lc,function(e){e=e.error;var f=e.Sg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):JFc(a.context.Rf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Sj,c=["hVFf7"];_.vK(this.context.Nc)&&c.push("BNEDtc");fM(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});fM(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){YM(a.context).then(function(e){return void e.start()})};fM(b,["T8oKm","ZA9qG"],function(){return void d()});fM(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();gM(b,"NSockf")}return this.O.promise};_.g.kba=function(){return this.Ba.promise};_.g.Gu=function(){var a=this.context.R5;a&&a.dispose();return this.context.Gu()};
var iN=function(a,b){return(a=a.context.H[b.clientId])?{AD:a}:{}};
var iYc=function(a,b,c){gN.call(this,"DU",b);this.context=a;this.O=c;this.H=new YQc(a)};_.K(iYc,gN);_.g=iYc.prototype;
_.g.HU=function(){var a=this,b={};return b["5.1"]=function(){return a.Dha()},b["5.2"]=function(c){return a.DM(c)},b["5.4"]=function(c){return a.Oz(c)},b["5.5"]=function(){return a.XQ()},b["5.10"]=function(){return a.eN()},b["5.6"]=function(){return a.cda()},b["5.7"]=function(){return a.HS()},b["5.9"]=function(c){return a.wpa(c)},b["5.8"]=function(c){return a.K4(c)},b["5.11"]=function(){return a.Toa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Pl(c)},b};
_.g.Dha=function(){var a=this;this.context.Ls.cS();var b=this.context.Nc;return WMc(_.tK(_.AI(b)),_.uK(b),this.context.Rf()).Cg(function(){}).then(function(){return a.jd([])})};_.g.DM=function(a){a=this.context.vf.wm.H(a.args[0]);return this.jd([a])};_.g.Oz=function(a){var b=this;return this.context.YA.Oz(a.args[0]).then(function(c){return b.jd([c])})};_.g.XQ=function(){return this.jd(this.context.YA.XQ())};
_.g.K4=function(a){var b=this,c=sL(a.args[0],!!a.H,_.otc),d=a.args[1],e=a.args[2];if(_.bk(c,_.QI,3,_.RI)||_.bk(c,_.$J,4,_.RI)||_.bk(c,_.TK,5,_.RI)||_.bk(c,_.XJ,6,_.RI)||_.bk(c,_.xJ,7,_.RI)||_.bk(c,_.qJ,8,_.RI)||_.bk(c,_.uJ,9,_.RI)||_.bk(c,_.ZI,10,_.RI)){var f=jJc(c);return this.context.Tm().then(function(h){return h.Re(f,{V5a:d,W5a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.UK){k=h.jd().wd();var p=_.y(h,2);l=h.Zn()}else if(h instanceof _.dK)h.getItem()&&k.push(h.getItem()),p=h.OM();
else{h=b.jd(void 0,Error("gg"));break a}h=b.jd([p,l].concat(_.xd(k)))}return h},function(h){return b.jd(void 0,h)})}return _.Yh(this.jd(void 0,Error("fg")))};_.g.wpa=function(){var a=this.context.Nc,b=a.hg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a);return this.jd([])};_.g.cda=function(){this.context.NF.H=new LLc(_.Vg().substring(0,8));return this.jd([])};
_.g.HS=function(){var a=this.context.NF.eN();if(a){var b=NLc(this.context.NF);a=[a.H,a.startTime].concat(_.xd(b))}else a=[];b=this.context.NF;b.H=null;b.wY=[];return this.jd(a)};_.g.eN=function(){var a=this.context.NF.eN();return this.jd(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.jd([b])})};_.g.Toa=function(){var a=[this.O.Gu(),_.Gi(3E4)];_.ci(_.Vja(a),function(){_.n.setTimeout(function(){self.close()})});return this.jd([])};
_.g.Pl=function(a){this.H.Pl(a.args[0]);return this.jd([])};
var jYc=function(a,b,c,d,e,f,h){_.fL.call(this,a,b,c,d,f,h);this.H=e;this.Od=null};_.K(jYc,_.fL);jYc.prototype.pM=function(a,b){var c=this;return _.ji(this.H.then(function(d){return d.k2a(kBc(c.O,c.va,a,b,c.kj,c.ha))},null))};jYc.prototype.ma=function(a,b){var c=this.ud(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Oz();e&&(d=_.y(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.Cyc(a,b,d))}};
var kYc=function(a,b,c,d,e,f,h,k){gN.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Od=h;this.H={};this.O={};this.Sc=new _.We(this);this.Ma(this.Sc)};_.K(kYc,gN);_.g=kYc.prototype;
_.g.HU=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.pM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.jd([])},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.jd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=sL(a.args[0],!!a.H,_.qJ),e=a.args[1];if(!this.H[c]){var f=new jYc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Od);this.Sc.listen(f,"Lb",_.Eb(this.e$a,a.clientId,a.requestId));this.Ma(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=_.bi();b.O[q]=r;b.update(l,p,lYc(3,q,[h,k]));return r.promise}).then(function(h){return b.jd([h])},function(h){return b.jd(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.jd([])};_.g.cG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].cG();return this.jd([])};
_.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;_.Ia(f,function(p){k[p]=h[l++]});_.La(k,function(p,q){p.lg(function(r){b.update(a.clientId,c,lYc(0,e,[q,r]))},function(r){b.update(a.clientId,c,lYc(1,e,[q,r.Sg]))})});return this.jd([])}return this.jd(void 0,_.XI("Could not retry upload."))};
_.g.pM=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=kBc(b.O,b.va,c,a,b.kj,b.ha),this.jd([rCc(c)])):this.jd(void 0,_.XI("FileUploader not found."))};_.g.e$a=function(a,b,c){this.update(a,b,lYc(2,c.requestId,[c.progress,c.totalBytes]))};var lYc=function(a,b,c){return[Number(a),b].concat(_.xd(c))};
var mYc=function(a,b){gN.call(this,"IE",b);this.O=a;this.H=new Map};_.K(mYc,gN);mYc.prototype.HU=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};
mYc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=sL(a.args[0],!!a.H,_.Fuc);e=new TM(this.O,e);var f=_.Me(e,"Pb",function(h){b.update(a.clientId,c,[h.DOa,h.Dta])});_.Oe(e,function(){_.Ai(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.jd([h])},function(h){return b.jd(void 0,h)})};mYc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.jd([])};
var nYc=function(a,b){gN.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.bi();this.O=new cRc(a,a.Lg)};_.K(nYc,gN);nYc.prototype.HU=function(){var a=this,b={};return b["6.1"]=function(c){return oYc(a,c)},b["6.2"]=function(c){return pYc(a,c)},b["6.3"]=function(){a.H&&(fRc(a.O),a.H=!1,a.W=_.bi());return a.jd([])},b};
var oYc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return sL(d,!!b.H,_.fl)});a.O.yl(c);gM(a.context.Sj,"GZTDpc");a.W.resolve()}return a.jd([])},pYc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return sL(d,!!b.H,_.TI)});eRc(a.O,c);return a.jd([])})};
var qYc=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 _.di)})};qYc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.jg())b.callback(a);else throw Error("Ig`"+a.V);};var rYc=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)})};qYc.prototype.Co=function(){return[].concat(_.xd(this.services.values())).every(function(a){return a.jg()})};
var sYc=function(){},tYc={0:2E3,1:3E3,2:5E3},uYc=function(a,b){this.request=a;this.ha=b;this.O=_.bi();this.continuationToken="";this.V=0;this.xE=this.W=!1;this.H=sYc};uYc.prototype.$g=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=sYc;b.V=0;return c},function(c){b.H=sYc;b.V=0;return Promise.reject(c)})};
uYc.prototype.sendRequest=function(){var a=this;if(this.xE)this.O.resolve((new MM).Dc(8));else{var b=new _.Suc(this.request,this.continuationToken);this.ha.then(function(c){return c.Re(b)}).then(function(c){vYc(a,c)},function(c){a.handleError(c)})}};var vYc=function(a,b){var c;a.continuationToken=null!==(c=b.Zn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},wYc(a.V++,a.ka)):a.O.resolve(b)};uYc.prototype.handleError=function(a){a=_.PB(a);this.O.reject(a)};
uYc.prototype.cancel=function(){this.xE=!0};var wYc=function(a,b){return b?b:(a=tYc[a])?a:1E4};
var xYc=function(a,b){gN.call(this,"TM",b);this.O=a;this.H=new Map};_.K(xYc,gN);xYc.prototype.HU=function(){var a=this,b={};return b["10.1"]=function(c){return yYc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var yYc=function(a,b){var c=b.clientId+":"+b.requestId,d=sL(b.args[0],!!b.H,_.HPc);d=new uYc(d,a.O);a.H.set(c,d);return _.ci(d.$g(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.jd([e])},function(e){return a.jd(void 0,e)}),function(){a.H.delete(c)})};xYc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.jd([])};
var jN=function(a,b,c){_.N.call(this);this.H=a;this.kw=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ka=_.bi();this.W=!1;this.Ba=_.bi();this.O=_.bi();this.ta=null;this.va=this.Ta=!1;this.Ab=_.bi();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.cz=Date.now();this.services=new qYc;this.Ib=new _.We(this);this.Ma(this.Ib)};_.K(jN,_.N);jN.prototype.dY=function(a){this.O.promise.then(function(b){b.R5||a.jMa(b)})};
var CYc=function(a,b){var c=IXc(a.H,b),d=a.Rb.bind(a,c);ZL(b,"8.1",d);b.registerService("8.1",d);ZL(b,"8.4",a.Qa.bind(a,c));b.registerService("8.5",function(f){return zYc(a,c,f)});ZL(b,"8.2",a.Gb.bind(a,c));ZL(b,"8.3",a.Mb.bind(a,c));rYc(a.services,b);b.start();AYc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.$h([a.Ka.promise,a.Ba.promise]).then((0,_.M)(a.initialize,a)));e.push(a.ta);_.$h(e).then(function(){return void BYc(a,c,b)},function(f){a.Ta=!0;$L(b,"2.2",{err:_.XI(f).Lc()},d)})},DYc=function(a){return Math.floor((Date.now()-
a.cz)/1E3)},EYc=function(a,b,c){var d=function(e){$L(b,"2.8",{au:"tb"===e.type})};a.Ib.listen(c.sI,["tb","ub"],d);_.Oe(b,a.Ib.Yc.bind(a.Ib,c.sI,["tb","ub"],d))},FYc=function(a,b,c){var d=c.Bk(),e=[].concat(_.xd(Object.values(_.oC))),f=function(h){$L(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.Oe(b,function(){a.Ib.Yc(d,e,f)})};
jN.prototype.Rb=function(a){var b=JXc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){MXc(d,a)}),b.dispose(),this.log(_.Ft("Client %d disconnected (num clients remaining: %d)",a,_.Pa(this.H.channels))),0===_.Pa(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.ci(d.Gu(),c)})}};
jN.prototype.Qa=function(a,b){if(this.ha.has(a))return _.Yh();var c=new _.Zb(JSON.parse(b.dsc));_.w(c,24,!1);this.Ha||(this.Ha=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){DXc(d,a,_.D(c.hg(),37,""));CXc(d,_.de(c,28));d.vf.fla(_.Uj(c,_.Hl,91));return d.tX.promise.then(function(){NSc(d.vf,_.Uj(c,_.of,44))})},function(){})};
jN.prototype.Gb=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 TRc(e,e.Lg);e.$g(d);e.dispose();(e=c.H.channels[a]||null)&&$L(e,"2.16")})}};jN.prototype.Mb=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){GYc(new wSc(h),e);(h=c.H.channels[a]||null)&&$L(h,"2.17",{t:f})})}};
var GYc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.$g(c)});a.dispose()};jN.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Qa(this.H.channels)),d=c.next();!d.done;b={Xda:b.Xda,Aea:b.Aea},d=c.next())b.Xda=d.value,b.Aea=_.bi(),$L(b.Xda,"2.12",void 0,function(e){return function(){e.Xda.dispose();e.Aea.resolve()}}(b)),a.push(b.Aea.promise);return _.$h(a).then()};
jN.prototype.initialize=function(a){var b=this;a=a[0];_.lwc(a,this.fields);var c=_.B(a,_.fJ,58);c=c&&_.Q(c,1,!1)?this.kb:void 0;try{var d=new uL(null,a,this.kw,c,void 0,void 0),e=d.uk().H(106E3);jXc(d,this.$a.bind(this));this.Ib.listen(d.Nj(),"Fb",function(k){k={os:k.Te()};for(var l=_.m(_.Qa(b.H.channels)),p=l.next();!p.done;p=l.next())$L(p.value,"2.6",k)});this.Ib.listen(d,_.Lc,this.rb);this.Ib.listen(d,"w8KrJc",this.Ic);gJc(d.sI,this.ka.bind(this));var f=d.lz;f&&YFc(f,function(){return b.ka()});
this.O.resolve(d);var h=HYc(this,d,new hYc(d,this.H,(0,_.M)(this.oc,this),(0,_.M)(this.zc,this)));e&&h.then(function(){return e&&e.xj()});return h}catch(k){return _.Zh(k)}};
var HYc=function(a,b,c){a.services.activate(c);a.services.activate(new KXc(b,a.H));a.services.activate(new iYc(b,a.H,c));a.services.activate(new nYc(b,a.H));a.services.activate(new kYc(b.Nc,b.YA,b.WQ().gfa,b.Tm(),b.XP,b.Rf(),b.uk(),a.H));a.services.activate(new mYc(b.Tm(),a.H));a.services.activate(new xYc(b.Tm(),a.H));return c.initialize()},BYc=function(a,b,c){var d=_.Pa(a.H.channels);a.log(_.Ft("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));$L(c,"2.2",{id:b,
clients:d,uptimeSec:DYc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.GZ.addCallback(function(f){c.isDisposed()||$L(c,"2.5",{id:f})});1<d&&YM(e).addCallback(function(f){return f.Pva()});(a.services.services.get("IS")||null).addCallback(function(f){f.kba().then(function(){c.isDisposed()||$L(c,"2.14")})});EYc(a,c,e);FYc(a,c,e)})};jN.prototype.oc=function(a){a={dt:a.dataType};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())$L(c.value,"2.15",a)};
jN.prototype.zc=function(a){var b={oois:a};_.Qa(this.H.channels).forEach(function(c){$L(c,"2.18",b)})};jN.prototype.rb=function(a){a={p:a.error.Sg.Lc()};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())$L(c.value,"2.10",a)};jN.prototype.Ic=function(){for(var a=_.m(_.Qa(this.H.channels)),b=a.next();!b.done;b=a.next())$L(b.value,"2.7")};var AYc=function(a,b,c){a.ha.has(b)?_.Yh():new _.Xh(function(d){$L(c,"2.1",void 0,function(e){d(a.Qa(b,e))})})};
jN.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Zh(Error("Jg"));if(this.W&&this.Fa.has(a))return _.Yh()}b=b||_.Qa(this.H.channels)[0];if(!b)return _.Zh(Error("Kg"));var d=_.bi();b.send("1.1",void 0,function(e){zYc(c,a,e);d.resolve()});return d.promise};var zYc=function(a,b,c){_.La(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.Ab.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
jN.prototype.log=function(a){this.O.promise.then(function(b){return b.Rf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var IYc=function(a,b){fN.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.K(IYc,fN);_.g=IYc.prototype;_.g.La=function(){return _.B(this.context.Nc,_.fJ,58)};_.g.getContext=function(){return this.context};_.g.Oz=function(){return _.ji(this.send("5.4",[this.H],function(a,b){return sL(a[0],b,_.Ywc)}))};_.g.Rf=function(){return this.context.Rf()};_.g.DM=function(a){return _.ji(this.send("5.2",[a],function(b,c){return b[0]?sL(b[0],c,_.fl):null}))};
_.g.XQ=function(){return _.ji(this.send("5.5",[],function(a,b){return a.map(function(c){return sL(c,b,_.otc)})}))};_.g.K4=function(a,b,c){return _.ji(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 sL(k,e,_.fl)}),cia:f,pageToken:h}}))};_.g.wpa=function(){this.send("5.9",[])};_.g.Dha=function(){this.send("5.1",[])};_.g.Z8=function(){return _.Stc[_.Ej(this.context.Nc.hg(),8,0)]};_.g.cda=function(){this.send("5.6",[])};
_.g.HS=function(){return _.ji(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 sL(e,b,kJc)});return{traceId:new LLc(c,d),spanRecs:a}}))};_.g.eN=function(){return _.ji(this.send("5.10",[],function(a){return 0===a.length?null:new LLc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.ji(this.send("5.12",[],function(a){return a[0]}))};_.g.Toa=function(){this.send("5.11",[])};_.g.Pl=function(a){this.send("5.13",[a])};
var JYc=function(a,b){fN.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ca(this))};_.K(JYc,fN);JYc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return sL(b[0],c,lQc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};JYc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
JYc.prototype.x$=function(a,b,c){this.dispatchEvent(new zQc(c[0],c[1]))};
var KYc=function(a){fN.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(KYc,fN);KYc.prototype.gY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.lV().lg(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.s_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var LYc=function(a,b){qM.call(this,a,b)};_.K(LYc,qM);LYc.prototype.Sha=function(a,b,c){return new _.Ouc(a,c)};LYc.prototype.eka=function(a){return a.pageToken||""};LYc.prototype.sja=function(a){return a.response.O()};LYc.prototype.P5=function(){};
var MYc=function(a,b,c){SM.call(this,a.Nj(),a.Bk(),b.Di()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new LYc(this.request,this.ka)};_.K(MYc,SM);_.g=MYc.prototype;_.g.IG=function(){this.V.$g().then(this.f$a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return zPc(new LM,this.O).Dc(this.status)};_.g.yr=function(){return new xPc};_.g.Vj=function(){return!this.Te()&&(!this.H||XKc(this.V))};_.g.f$a=function(a){this.changed=this.H=!0;this.O=a;this.Wt()};
_.g.Wt=function(){if(this.active){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))}};_.g.$b=function(){return this.O.length};
var NYc=function(a,b,c){SM.call(this,a.Nj(),a.Bk(),b.Di()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.n8a;this.suggestionSessionId=null;this.ka=c};_.K(NYc,SM);_.g=NYc.prototype;_.g.IG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.Oi();a.suggestionSessionId=b.dg();a.Wt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.fBc(_.eBc((new _.hL).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.yr=function(){var a=this.V.py(this.O,this.data);this.O=this.data;var b=(new DPc).Dc(this.status);return _.Jj(b,2,a)};_.g.QO=function(){};_.g.Wt=function(){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))};_.g.$b=function(){return this.data.length};
var OYc=function(){};_.g=OYc.prototype;_.g.rM=function(a,b){b=cQc(1).setPosition(b);_.I(b,2,a);return b};_.g.qM=function(a,b){b=cQc(2).setPosition(b);_.I(b,2,a);return b};_.g.zE=function(a,b,c){b=cQc(3).$y(b).setPosition(c);_.I(b,2,a);return b};_.g.kQ=function(a,b){b=cQc(4).setPosition(b);_.I(b,2,a);return b};_.g.QM=function(a){return _.B(a,_.aQc,2)};
var QYc=function(){_.Ly.call(this,new OYc,function(a){return PYc(a)})};_.K(QYc,_.Ly);var PYc=function(a){switch(_.sb(a,_.QM)){case 6:return _.ky(_.bk(a,_.jy,6,_.QM)).getTime().toString();case 7:var b=_.bk(a,_.PM,7,_.QM);a=_.B(b,_.jy,1);b=b.qv();return a&&b?(a=_.ky(a).getTime(),_.ky(b).getTime()+"--"+a):"";default:return""}},SYc=function(){RYc||(RYc=new QYc);return RYc},RYc;
var TYc=function(a,b,c,d){SM.call(this,b.Nj(),b.Bk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.dyc(_.Zj(b.Nc.hg(),6,1E3));this.ta=c};_.K(TYc,SM);_.g=TYc.prototype;_.g.activate=function(){SM.prototype.activate.call(this);this.Wt()};_.g.IG=function(){_.P(this.request,3)?this.page():this.poll()};_.g.Fr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;SM.prototype.Fr.call(this,a)};
_.g.getData=function(){var a=(new hQc).Dc(this.status);_.Jj(a,2,this.O.slice(0,this.limit));this.ka=_.xa(this.O);return a};_.g.yr=function(){var a=SYc().py(this.ka,this.O),b=new eQc;a=_.Jj(b,2,a).Dc(this.status);this.ka=_.xa(this.O);return a};_.g.Vj=function(){return!this.Te()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.ud=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.V=!0,this.Vj()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).then(function(c){b.H=!0;var d=_.Uj(c,_.aQc,1);b.O=b.O.concat(d);b.token=c.xy()||"";0<d.length&&(b.changed=!0);b.Wt();b.page(a)},function(c){b.dispatchEvent(new _.Cc(c));b.V=!1}):(this.V=!1,a&&a.callback(),UYc(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=SYc();a.H=!0;var d=_.Uj(b,_.aQc,1);yL(c,a.O.slice(0,d.length),d)?(a.O=d,a.token=b.xy()||"",a.changed=!0,a.Wt(),a.page()):(a.V=!1,UYc(a))},function(b){a.dispatchEvent(new _.Cc(b));a.V=!1}))};_.g.Wt=function(){if(this.active){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))}};
_.g.BL=function(){this.Te()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.QO=function(){this.active&&this.Vj()&&!this.V&&this.page(new _.di)};var UYc=function(a){_.P(a.request,3)||(_.wI(a.ma),_.n.setTimeout((0,_.M)(a.poll,a),a.ma.Za()))};TYc.prototype.$b=function(){return this.O.length};
var VYc=function(){};_.g=VYc.prototype;_.g.rM=function(a,b){return jQc(iQc(1),a).setPosition(b)};_.g.qM=function(a,b){return jQc(iQc(2).setPosition(b),a)};_.g.zE=function(a,b,c){return jQc(iQc(3).$y(b).setPosition(c),a)};_.g.kQ=function(a,b){return jQc(iQc(4),a).setPosition(b)};_.g.QM=function(a){return _.B(a,_.GM,2)};
var WYc=function(){_.Ly.call(this,new VYc,function(a){return a.getId()})};_.K(WYc,_.Ly);var YYc=function(){XYc||(XYc=new WYc);return XYc},XYc;
var ZYc=function(a,b,c){SM.call(this,b.Nj(),b.Bk());this.request=a;this.V=[];this.backups=[];this.changed=!1;this.O=new _.dyc(_.Zj(b.Nc.hg(),54,1E3));this.ka=c};_.K(ZYc,SM);_.g=ZYc.prototype;_.g.activate=function(){SM.prototype.activate.call(this);this.Wt()};_.g.IG=function(){this.poll()};_.g.getData=function(){var a=new rQc;a=_.Jj(a,2,this.backups).Dc(this.status);this.V=_.xa(this.backups);return a};
_.g.yr=function(){var a=YYc().py(this.V,this.backups),b=new pQc;a=_.Jj(b,2,a).Dc(this.status);this.V=_.xa(this.backups);return a};_.g.Vj=function(){return!this.Te()&&!this.H};_.g.poll=function(){var a=this,b=new _.di;this.ka(this.request).then(function(c){a.H=!0;c=_.Uj(c,_.GM,2);yL(YYc(),a.backups,c)&&(a.changed=!0,a.backups=c,a.O.reset());a.Wt();b.callback();$Yc(a)},function(c){a.dispatchEvent(new _.Cc(c));b.Id(c);$Yc(a)});return b};
_.g.Wt=function(){if(this.active){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))}};_.g.QO=function(){};var $Yc=function(a){a.active&&(_.n.setTimeout((0,_.M)(a.poll,a),a.O.Za()),_.wI(a.O))};ZYc.prototype.$b=function(){return this.backups.length};
var aZc=function(){};_.g=aZc.prototype;_.g.rM=function(a,b){return hPc(gPc(1),a).setPosition(b)};_.g.qM=function(a,b){return hPc(gPc(2).setPosition(b),a)};_.g.zE=function(a,b,c){return hPc(gPc(3).$y(b).setPosition(c),a)};_.g.kQ=function(a,b){return hPc(gPc(4),a).setPosition(b)};_.g.QM=function(a){return _.B(a,_.Pk,2)};
var bZc=function(){_.Ly.call(this,new aZc,function(a){return a.getId()})};_.K(bZc,_.Ly);_.Vf(bZc);
var kN=function(a,b,c){_.Ci.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.K(kN,_.Ci);kN.prototype.ti=function(a){this.limit=a};kN.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():cZc(this)};kN.prototype.gka=function(){return this.permissions};
var cZc=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))};kN.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Zn()||"";a=_.Uj(a.jd(),_.Pk,2);this.permissions=_.wa(this.permissions,a);a.length&&this.dispatchEvent("Aa");if(this.nextPageToken&&this.permissions.length<this.limit)return cZc(this);this.dispatchEvent("Da")};
kN.prototype.handleError=function(a){this.H=!1;a=new DL(_.XI(a),_.Zj(this.context.Nc.hg(),1,1));this.dispatchEvent(a)};
var dZc=function(a,b,c,d){SM.call(this,b.Nj(),b.Bk(),d||100);var e=this;this.request=a;this.context=b;this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new kN(b,this.request,this.ma);_.Oe(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.K(dZc,SM);_.g=dZc.prototype;_.g.activate=function(){SM.prototype.activate.call(this);this.Wt()};_.g.IG=function(){this.query()};_.g.Fr=function(a){SM.prototype.Fr.call(this,a||100)};
_.g.getData=function(){var a=$Fc(new CL,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.yr=function(){var a=bZc.tb().py(this.ka,this.permissions),b=new oPc;a=_.Jj(b,2,a).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.Vj=function(){var a;(a=!this.Te())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.ud=function(){return this.request};
_.g.query=function(){var a=this;this.O=new kN(this.context,this.request,this.ma);this.O.ti(this.limit);return this.O.$g().then(function(){return eZc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){SM.prototype.handleError.call(this,a);fZc(this)};var eZc=function(a){a.H=!0;var b=a.O.gka();yL(bZc.tb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Wt();fZc(a)};
dZc.prototype.Wt=function(){if(this.active){var a=this.status;this.BL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ti(_.Mc,this))}};dZc.prototype.QO=function(){var a=this;this.O.ti(this.limit);this.O.$g().then(function(){return eZc(a)},function(b){return a.handleError(b)})};var fZc=function(a){if(a.active){var b=a.context.Nc.hg();a.V=_.n.setTimeout((0,_.M)(a.query,a),Math.ceil(_.Zj(b,7,9E5)*Math.random())+_.Zj(b,15,36E5))}};dZc.prototype.$b=function(){return this.permissions.length};
var gZc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.ti(_.Mc,a))},0)};
var hZc=function(){},iZc=function(a,b){fN.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=hZc;this.H=null;this.id=String(_.Ca(this))};_.K(iZc,fN);iZc.prototype.x$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(sL(a,b,MM)))};iZc.prototype.$g=function(a){a=void 0===a?hZc:a;if(!this.H){this.O=a;var b=_.bi();this.H=b;this.send("10.1",[this.request],function(c,d){return sL(c[0],d,MM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
iZc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var jZc=function(a,b,c){_.Ci.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Au={};this.O={};_.Oe(this,function(){d.H("7.6",[])})};_.K(jZc,_.Ci);_.g=jZc.prototype;_.g.getId=function(){return this.instanceId};_.g.jQ=function(){return _.HI()};
_.g.upload=function(a,b){!_.y(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 _.qwc;_.w(d,1,b.size);_.I(a,15,d);this.O[a.ij()]=b}return _.ji(this.H("7.1",[a,c],function(e,f){return sL(e[0],f,_.dK)}))};_.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 _.di;c=this.jQ();this.Au[c]=b;b=_.Qa(b);this.H("7.4",[c].concat(_.xd(a)));return b};_.g.pM=function(a,b){var c=this;return _.ji(this.H("7.5",[a].concat(_.xd(b)),function(d){return sCc(d[0])}).then(function(d){return c.V.addCallback(function(e){return e.k2a(d)})}))};var kZc=function(a,b,c,d){if(a.Au[b]&&a.Au[b][c]){var e=a.Au[b][c];d instanceof _.dK?e.callback(d):e.Id(d);delete a.Au[b][c];_.Ua(a.Au[b])&&delete a.Au[b]}};
var lZc=function(a,b){fN.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.K(lZc,fN);var mZc=function(a){var b=_.HI(),c=new jZc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.Oe(c,function(){return void a.H.delete(b)});return c};
lZc.prototype.x$=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.O[d];a.H("7.7",[d,_.juc(c,b,Math.min(c.size,b+e))]);break;case 0:b=sL(e[1],b,_.dK);kZc(a,d,e[0],b);break;case 1:b=new _.Ac(void 0,sL(e[1],b,_.zc));kZc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.Cyc(d,e[0],e[1]));break;default:throw Error("Lg");}}};
var nZc=function(a,b){if(0===a.length)throw new _.Ac("mutateUserPref requires a namespace.",_.hJ(3));var c=null;b instanceof _.ND?c=(b=(b=_.B(b,_.np,1))&&b.getKey())&&_.op(b)||null:b instanceof _.MD&&(c=(b=b.getKey())&&_.op(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.Ac("mutateUserPref unsupported for namespace: "+c,_.hJ(3));};
var oZc=function(a){this.H=a};
var XCc=function(a){fN.call(this,"IS","drive.ds.sync.ItemServiceProxy",(pZc=_.bi()).promise);var b=this;this.ta=null;this.Qa=this.Ta=this.$a=this.ma=!1;this.ha=this.ka=this.W=null;this.kb=new _.Fn;this.Ka=new _.Fn;this.V=pZc;pZc=void 0;this.context=a;lXc(this.context,new KYc(this.V.promise));MFc(this.context.Lg,_.de(this.context.Nc,28));this.H=this.context.hfa;this.O=new NXc(this.V.promise,this.context,this.H);this.Ab=new lZc(this.V.promise,this.context.XP);this.Ha=new IYc(this.V.promise,this.context);
this.Sc=new _.We(this);this.Ma(this.Sc);this.Sc.listen(this.context.Bk(),[].concat(_.xd(Object.values(_.oC))),function(c){return void b.dispatchEvent(c)})},pZc;_.K(XCc,fN);
XCc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.va.promise;var b=this.context.uk().H(106E3);this.ta.then(function(){b&&b.xj();a.a1a()},function(){_.RK(a.context.uk(),181008852)});var c=_.vK(this.context.Nc)?"(coldstart) ":"";this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Nc.Wi());var d=eCc(this.context.Nc,this.Ai(),_.BK(this.context.Lg));qZc(this,d);2===d.H?(c=new jN(new HXc,6,this.context.Rf()),CYc(c,d.O),this.Ka.resolve(c)):
zCc(this.Ha);this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();jXc(this.context,function(){return rZc(d.channel)})}return this.ta};
var rZc=function(a){return _.Vja([new _.Xh(function(b){a.isDisposed()||$L(a,"8.1",void 0,function(){a.dispose();b()})}),_.Gi(1E4)])},qZc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Ai(),fds:_.BK(a.context.Lg)}}):c.registerService("1.1",function(){return sZc(a,b)});2===b.H?a.Ka.promise.then(function(){return void tZc(a,b)}):tZc(a,b);ZL(c,"2.1",function(){return{dsc:a.context.Nc.Lc()}});ZL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new GXc(d.id,
c,a.context.Rf(),d.clients)),d.dsp&&uZc(c),d.ivd&&vZc(a,c)):(d=new _.zc(JSON.parse(d.err)),a.va.reject(new _.Ac("Unable to initialize dataservice.",d)))});ZL(c,"2.15",function(d){a.dispatchEvent(new yQc(d.dt))});ZL(c,"2.5",function(d){a.context.Eu(d.id)});ZL(c,"2.6",function(d){a.context.Nj().Pl(d.os)});ZL(c,"2.18",function(d){a.context.Nj().Zy(d.oois)});ZL(c,"2.7",function(){a.ma=!1});ZL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new AGc(d.au?"tb":"ub"))});ZL(c,"2.19",function(d){a.context.Bk().update(d.cs)});
ZL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.Ft("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Rf().config(e,d);break;case "fine":_.zK(a.context.Rf(),e,d,"fine");break;case "finer":_.zK(a.context.Rf(),e,d,"finer");break;case "finest":_.zK(a.context.Rf(),e,d,"finest");break;case "info":a.context.Rf().info(e,d);break;case "warning":case "severe":JFc(a.context.Rf(),e,d);break;default:JFc(a.context.Rf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),JFc(a.context.Rf(),
e,d)}});ZL(c,"2.10",function(d){return void a.u$(d)});ZL(c,"2.12",function(){a.Qa=!0;lN(a)});ZL(c,"2.14",function(){return a.kb.resolve()});ZL(c,"2.16",function(){return a.$a=!0});ZL(c,"2.17",function(d){a.context.Rf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},tZc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",sZc(a,b));$L(b.channel,"8.4",{dsc:a.context.Nc.Lc()});uZc(b.channel);vZc(a,b.channel)},uZc=function(a){_.n._DRIVE_dsp&&$L(a,"8.3",{dsp:wZc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];$L(a,"8.3",{dsp:wZc(c)})}}},vZc=function(a,b){_.Q(a.context.Nc,24,!1)&&(_.n._DRIVE_ivd?$L(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&$L(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},sZc=function(a,b){var c={};if(1===b.H){var d=new _.gQa(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.Nc.Wi(),
ufds:b.V}};XCc.prototype.Ai=function(){var a=_.Kj(_.Kj(_.EI(this.context.Nc.clone(),28),44),91),b=new _.pI;b.update(_.tK(_.AI(a)));b.update(String(_.YI(_.AI(a))));b.update(a.Lc());return _.ssc(b.digest())};var wZc=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=XCc.prototype;_.g.u$=function(a){this.dispatchEvent(new _.Cc(new _.Ac(void 0,new _.zc(JSON.parse(a.p)))))};
_.g.query=function(a){lN(this);HIc(this.context.xm,a,KFc(this.context.Lg));this.gF();var b=this.O.Bwa(a);this.Ta||(a=a.ue(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Mc,this.WLa)));return b};_.g.WLa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Ha.H=this.$a,this.Sc.Yc(a,_.Mc,this.WLa))};_.g.Eq=function(a){lN(this);vGc(a);this.gF();return this.O.ywa(a)};
_.g.xua=function(a,b){var c=this;lN(this);if(this.ka&&_.Yj(this.ka.ud(),a))return this.ka;this.ka=new TYc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return sL(h[0],k,xQc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.tFa=function(a,b){var c=this;lN(this);if(this.ha&&_.Yj(this.ha.ud(),a))return gZc(this.ha),this.ha;this.ha=new dZc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return sL(e[0],f,pPc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.S$=function(a){lN(this);return _.ji(this.send("3.14",[a],function(b,c){return sL(b[0],c,KM)}))};_.g.f8=function(a){lN(this);return _.ji(this.send("3.15",[a],function(b,c){return sL(b[0],c,KM)}))};
_.g.ld=function(a){lN(this);!this.ma&&_.eK(a)&&(this.ma=!0);a=gCc(a);return _.ji(this.send("3.3",[a],function(b,c){return sL(b[0],c,_.dK)}))};_.g.KN=function(a){lN(this);a=qCc(a);return this.send("3.35",[a],function(b,c){return sL(b[0],c,_.zGc)})};_.g.Bz=function(a){lN(this);for(var b=0;b<a.length;b++)!this.ma&&_.eK(a[b])&&(this.ma=!0);a=jCc(a);return _.ji(this.send("3.4",[a],function(c,d){return XIc(c[0],d).get()}))};_.g.xwa=function(){lN(this);return mZc(this.Ab)};
_.g.ORa=function(a){lN(this);return new JYc(this.V.promise,a)};_.g.xr=function(a,b){var c=this;lN(this);var d=_.Vg();this.H.create(d,a);return _.ji(this.send("3.5",[a,!!b],function(e,f){f=sL(e[0],f,bM);return new _.MK(f,e[1],e[2])})).addCallback(function(e){qJc(c.H,d,e);return e.response}).Rg(function(e){aM(c.H,d);return e})};_.g.wr=function(a){lN(this);return this.send("3.10",[a],function(b,c){return sL(b[0],c,mPc)})};
_.g.U$=function(a){lN(this);return _.ji(this.send("3.11",[a],function(b,c){return sL(b[0],c,qPc)}))};_.g.d8=function(a){lN(this);return _.ji(this.send("3.12",[a],function(b,c){return sL(b[0],c,qPc)}))};_.g.US=function(a){lN(this);return _.ji(this.send("3.13",[a],function(b,c){return sL(b[0],c,qPc)}))};
_.g.jN=function(a,b){var c=this;lN(this);var d=_.Vg();this.H.create(d,a);return _.ji(this.send("3.1",[a,!!b],function(e,f){f=sL(e[0],f,_.OM);return new _.PK(f,e[1],e[2])})).addCallback(function(e){qJc(c.H,d,e);return e.response}).Rg(function(e){aM(c.H,d);return e})};
_.g.GG=function(a,b){var c=this,d=_.de(this.context.Nc.hg(),30);if(!d||0===d.length)return _.ki(new _.Ac("getUserPrefs requires a namespace.",_.hJ(3)));0===_.de(a,3).length&&ACc(a,d);lN(this);var e=_.Vg();this.H.create(e,a);return _.ji(this.send("3.2",[a,!!b],function(f,h){h=sL(f[0],h,_.gA);return new _.OK(h,f[1],f[2])})).addCallback(function(f){qJc(c.H,e,f);return f.response}).Rg(function(f){aM(c.H,e);return f})};
_.g.SR=function(a){lN(this);nZc(_.de(this.context.Nc.hg(),30),a);a=nCc(a);return this.send("3.6",[a],function(b,c){return sL(b[0],c,rPc)})};_.g.lu=function(a){lN(this);return _.ji(this.send("3.16",[a],function(b,c){return sL(b[0],c,bGc)}))};_.g.dBa=function(){return this.ma};_.g.Pl=function(a){lN(this);this.send("3.8",[a])};_.g.Zy=function(a){lN(this);return _.Yh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.gY=function(a){lN(this);kXc(this.context).gY(a);this.Zy(!!a)};
_.g.gF=function(){lN(this);this.send("3.9",[])};_.g.VR=function(){lN(this);this.send("3.41",[]);this.context.VR();var a=BL(this.context.uk(),106006);a&&this.V.promise.then(function(b){var c=_.B(_.HK(a),lFc,6);if(!c){c=new lFc;var d=_.HK(a);_.I(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.O);a.xj()},function(){})};_.g.IB=function(){lN(this);return this.context.IB()};_.g.cQ=function(){lN(this);return _.Yh(this.send("3.19",[],function(a,b){return sL(a[0],b,bJc)}))};_.g.isConnected=function(){return this.context.Bk().isConnected()};
_.g.z7=function(){return this.send("3.46",[],function(a,b){return sL(a[0],b,_.Zxc)})};_.g.q9=function(){return this.Ha};_.g.sync=function(){lN(this);return _.Yh(this.send("3.28",[]))};_.g.Gu=function(){return this.context.Gu()};_.g.dY=function(a){this.Ka.promise.then(function(b){return void b.dY(a)})};_.g.kda=function(a){lN(this);return this.O.Iwa(a)};_.g.DY=function(a){lN(this);return this.O.Hwa(a)};_.g.qFa=function(a){lN(this);KIc(this.context.xm,a,KFc(this.context.Lg));return this.O.Ewa(a)};
_.g.opa=function(a){lN(this);return new iZc(this.V.promise,a)};_.g.jva=function(a){var b=this;lN(this);if(!this.W||this.W.isDisposed())this.W=new ZYc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return sL(d[0],e,rQc)})});return this.W};_.g.aGa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Yh()};_.g.e8=function(a){lN(this);return _.ji(this.send("3.22",[a],function(b,c){return sL(b[0],c,sQc)}))};
_.g.mV=function(a){lN(this);return _.ji(this.send("3.25",[a],function(b,c){return sL(b[0],c,nQc)}))};_.g.kba=function(){return this.kb.promise};_.g.una=function(a){var b=_.bi();_.ji(this.send("3.30",[a],function(c,d){c[0]?b.resolve(sL(c[0],d,uQc)):b.reject(new _.Ac(void 0,sL(c[1],d,_.zc)))})).Rg(function(c){return void b.reject(c)});return b.promise};_.g.Kva=function(a){lN(this);return this.O.uwa(a)};_.g.u7=function(a){lN(this);return this.send("3.42",[a],function(b,c){return sL(b[0],c,YOc)})};
_.g.SO=function(a){lN(this);var b=new _.Fn;this.send("3.39",[a],function(c,d){return c.map(function(e){return sL(e,d,FJc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new oZc(b.promise))};_.g.LFa=function(a){var b=this;lN(this);return new MYc(this.context,a,function(c){return _.Yh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new ZIc(sL(d[0],e,LM),d[1])}))})};
_.g.MFa=function(a){lN(this);return this.send("3.38",[a],function(b,c){return sL(b[0],c,APc)})};_.g.qKa=function(a){lN(this);return this.O.Mwa(a)};_.g.jqa=function(a){lN(this);return this.O.Lwa(a)};_.g.HIa=function(a){var b=this;lN(this);return new NYc(this.context,a,function(){return _.Yh(b.send("3.40",[a],function(c,d){return sL(c[0],d,_.hL)}))})};_.g.IIa=function(a){lN(this);return this.O.Fwa(a)};_.g.q_=function(a){lN(this);this.send("3.43",[a])};
_.g.W_=function(a){lN(this);return _.Yh(this.send("3.44",[a],function(b,c){return sL(b[0],c,vHc)}))};_.g.Qo=function(a){lN(this);if(1!==_.uK(this.context.Nc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Ac())return Promise.reject(Error("Ng"));if(!c.Ck()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",a))};
_.g.a1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Gi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Vja(b).then(function(c){c?_.Ei(a.a1a.bind(a),6E4):(a.Qa=!0,lN(a))})}};var lN=function(a){a.Qa&&a.dispatchEvent(new XQc)};
var ZCc=function(a){UM.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.bi();this.H=a.Tm()};_.K(ZCc,UM);ZCc.prototype.ARa=function(){this.Ha=new TXc(this.context);this.Ma(this.Ha);this.Ka=new XXc(this.context);this.Ma(this.Ka);this.Qa=new dYc(this.context);this.Ma(this.Qa)};
ZCc.prototype.$a=function(){var a=this,b=["hVFf7"];_.vK(this.context.Nc)&&b.push("BNEDtc");fM(this.O,b,function(){return void a.wWa()});fM(this.O,["T8oKm","ZA9qG"],function(){return void xZc(a)});fM(this.O,["T8oKm","mrK8ic"],function(){return void xZc(a)});this.Sc.listen(this.Ha,"WPi0i",this.hsa.bind(this,1));this.Sc.listen(this.Ka,"Qb",this.hsa.bind(this,2));this.Sc.listen(this.Qa,"WPi0i",this.hsa.bind(this,4));fM(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var xZc=function(a){YM(a.context).addCallback(function(b){b.start()})};
_.g=ZCc.prototype;_.g.hsa=function(a){_.oa(wHc,a)&&this.dispatchEvent(new yQc(a))};_.g.DY=function(a){return this.V.Hwa(a.clone())};_.g.qFa=function(a){KIc(this.context.xm,a,KFc(this.context.Lg));return this.V.Ewa(a.clone())};_.g.kda=function(a){return this.V.Iwa(a.clone())};_.g.opa=function(a){return new uYc(a,this.context.Tm())};
_.g.xua=function(a,b){var c=this;if(this.ta&&_.Yj(this.ta.ud(),a))return this.ta;this.ta=new TYc(a.clone(),this.context,this.kjb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.kjb=function(a,b,c){var d=new _.Huc(a,b,c);return _.ji(this.H.then(function(e){return e.Re(d)}).Cg(function(e){return _.jJ(e)}))};_.g.jva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new ZYc(a,this.context,function(c){return yZc(b,c)});return this.ha};var yZc=function(a,b){return _.ji(a.H.then(function(c){return c.Re(b)}).Cg(function(c){return _.jJ(c)}))};
_.g=ZCc.prototype;_.g.aGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Yh()};_.g.mV=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}))};_.g.e8=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}))};_.g.tFa=function(a,b){var c=this;if(this.ka&&_.Yj(this.ka.ud(),a))return gZc(this.ka),this.ka;this.ka=new dZc(a.clone(),this.context,this.dKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.dKb=function(a){var b=this;return this.H.then(function(c){return c.Re(a)}).then(function(c){return _.PI(b.context.Nc)?KKc(b.context.vf.vq,_.Uj(c.jd(),_.Pk,2),a.ud().getId()).then(function(){return c}):c},_.jJ)};_.g.S$=function(a){var b=this;return _.ji(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.PI(b.context.Nc)?KKc(b.context.vf.vq,[_.B(c,_.Pk,2)],a.Ac()).then(function(){return c}):c},_.jJ))};
_.g.f8=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};_.g.Kva=function(a){return this.V.uwa(a.clone())};_.g.u7=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.jJ)};_.g.SO=function(a){return this.H.then(function(b){return b.Re(a)}).then(function(b){var c=new _.Fn;VKc(a,b).then(function(d){return c.resolve(d)});return new oZc(c.promise)},function(b){return void _.jJ(b)})};_.g.LFa=function(a){var b=this;return new MYc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Cg(function(d){return _.jJ(d)})})};
_.g.MFa=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.jJ)};_.g.ld=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};_.g.KN=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.jJ)};_.g.Bz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.lJ?c.push(String(f.Ac())):c.push(String(f.getId()));d.push(b.ld(f))});a=new _.uo(d);var e=new _.di;a.addCallback(this.Rlb.bind(this,e,c));return e};
_.g.xwa=function(){return new jYc(this.context.Nc,this.context.YA,this.context.WQ().gfa,this.context.Tm(),this.context.XP,this.context.Rf(),this.context.uk())};_.g.xr=function(a,b){var c=this,d=_.Vg();this.W.create(d,a);3===a.getType()?a=UM.prototype.xr.call(this,a).addCallback(function(e){return new _.MK(e,1,!1)}):(gM(this.O,"Qubz4b"),a=this.Ka.enqueue(new bYc(a,b)));return a.addCallback(function(e){qJc(c.W,d,e);return e.response}).Rg(function(){aM(c.W,d)})};
_.g.wr=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};_.g.U$=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};_.g.d8=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};_.g.US=function(a){return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};
_.g.jN=function(a,b){var c=this;gM(this.O,"iuEtc");var d=_.Vg();this.W.create(d,a);return this.Ha.enqueue(new VXc(a,b)).addCallback(function(e){qJc(c.W,d,e);return e.response}).Rg(function(){aM(c.W,d)})};
_.g.GG=function(a,b){var c=this,d=_.de(this.context.Nc.hg(),30);if(!d||0===d.length)return _.ki(new _.Ac("getUserPrefs requires a namespace.",_.hJ(3)));0===_.de(a,3).length&&ACc(a,d);var e=_.Vg();this.W.create(e,a);gM(this.O,"OZvrNc");return this.Qa.enqueue(new gYc(a,b)).addCallback(function(f){qJc(c.W,e,f);return f.response}).Rg(function(){aM(c.W,e)})};_.g.SR=function(a){nZc(_.de(this.context.Nc.hg(),30),a);return _.ji(this.H.then(function(b){return b.Re(a)}).then(null,_.jJ))};
_.g.lu=function(a){var b=this;return _.ji(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.PI(b.context.Nc)?IKc(b.context.vf.vq,c):c},_.jJ))};_.g.qKa=function(a){return this.V.Mwa(a.clone())};_.g.jqa=function(a){return this.V.Lwa(a.clone())};_.g.HIa=function(a){var b=this;return new NYc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Cg(function(d){return _.jJ(d)})})};_.g.IIa=function(a){return this.V.Fwa(a.clone())};
_.g.q_=function(a){NSc(this.context.vf,[a])};_.g.W_=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.jJ)};_.g.Qo=function(a){if(1!==_.uK(this.context.Nc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Ac())return Promise.reject(Error("Ng"));if(!c.Ck()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.vf.Qo(a);xTc(this.context.vf);return Promise.resolve()};_.g.dBa=function(){return this.context.WQ().$J()};
_.g.Zy=function(a){var b=this;return this.context.Zy(a).then(function(c){return c?(b.context.Nj().Zy(a),b.context.Ls.gL()):_.Yh(!a)})};_.g.gY=function(a){kXc(this.context).gY(a);this.Zy(!!a)};_.g.gF=function(){YM(this.context).addCallback(function(a){a&&a.Yna()});this.context.Nga.gF()};_.g.dY=function(a){a.jMa(this.context)};_.g.Rlb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];xTc(this.context.vf);a.callback(d)};
_.g.sync=function(){var a=this;return _.$h([this.context.P$.promise,this.context.ifa.promise]).then(function(){return a.context.Ls.gL()}).then()};_.g.Gu=function(){YM(this.context).addCallback(function(a){a&&a.dispose()});return UM.prototype.Gu.call(this)};_.g.kba=function(){return this.kb.promise};
var zZc=function(){var a='<div class="'+_.F("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.F("la-Y-A")+" "+_.F("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.Dn({id:_.gm,callback:function(a){var b=_.hBc(a),c=bDc(a),d=_.B(a.get(_.fd),_.Zb,10);_.lwc(d,b);_.Hj(d,28,c);b=$Cc(a,d);a.registerService(_.hm,b.q9());_.bf(b,"VbxEwf",function(){var e={};_.Jc(_.Wt.getService(a),new _.vq(new _.uq(zZc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.u();

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

_.AZc=function(a,b){return _.I(a,17,b)};_.BZc=function(a,b){return _.w(a,2,b)};_.CZc=function(a,b){return _.w(a,1,b)};_.DZc=function(a,b){return _.I(a,2,b)};_.EZc=function(a,b){return _.Jj(a,1,b)};_.FZc=function(a,b){return _.Hj(a,1,b)};_.GZc=function(a,b){return _.Jj(a,2,b)};_.HZc=function(a,b){return _.I(a,3,b)};

_.u();

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