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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.rsb=function(a){a=parseInt(_.D(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.tsb=function(a,b,c,d){var e=_.Ne.getService(a);a=e.kg(a,c);_.ssb(a.H.Uk,b,d);e.Yf(a)};_.ssb=function(a,b,c){var d=new _.usb;b.$U&&_.A(d,2,b.$U);b.oG&&0<=b.oG&&_.A(d,1,b.oG);b.quotaType&&_.A(d,3,b.quotaType);_.vsb(a,d);c&&(b=new _.wsb,_.A(b,1,c),_.xsb(a,b))};_.ysb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.zsb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.vsb=function(a,b){b&&(a=a.$c(),_.x(a,29,b))};_.xsb=function(a,b){b&&(a=a.$c(),_.x(a,38,b))};_.usb=function(a){_.O(this,a,-1,null,null)};_.L(_.usb,_.K);_.wsb=function(a){_.O(this,a,-1,null,null)};_.L(_.wsb,_.K);_.wsb.prototype.Ph=function(){return _.D(this,1)};_.Asb=function(a,b,c,d,e,f,h){return(0,_.J)(_.Nn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Gs:e,size:f,Vd:h},a))};_.t("sy11n");
_.Csb=function(a,b,c){var d=_.F(a.get(_.NCa),1,""),e=_.rsb(b);d=new _.uj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.wj(_.zj(_.zj(_.zj(_.zj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.Bsb(a,e,c)),-1!=parseInt(String(_.E(b,_.fx,2)),10)?"upgrade":"")};
_.Bsb=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"}}};
_.Dsb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.D(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"};

_.w();

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

var Hzb=_.Bsb,Izb=_.Csb,Jzb=_.Dsb;_.Bsb=function(a,b,c){return"over"==b&&_.S(a.get(_.ac),18,!1)?"widget_trial":Hzb(a,b,c)};_.Csb=function(a,b,c){c=Izb(a,b,c);"over"===_.rsb(b)&&_.S(a.get(_.ac),18,!1)&&_.zj(c,"eft","1");return c};_.Dsb=function(a,b,c){b=Jzb(a,b,c);a=_.S(a.get(_.ac),18,!1);return"g1_settings_oos"===b&&a?"g1_settings_trial":"g1_widget_oos"===b&&a?"g1_widget_trial":b};

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var isb,lsb;isb=[4,5,6,7];_.uA=function(a){_.O(this,a,-1,null,null)};_.L(_.uA,_.K);_.uA.prototype.Cb=function(){return _.D(this,1)};_.uA.prototype.Dc=function(a){return _.A(this,1,a)};_.uA.prototype.O$=function(){return _.D(this,2)};_.uA.prototype.Yb="JmcaR";_.jsb=function(a){_.O(this,a,-1,null,null)};_.L(_.jsb,_.K);_.jsb.prototype.O=function(){return _.R(this,1)};_.jsb.prototype.Yb="dvhrqe";_.ksb=function(a){_.O(this,a,-1,null,null)};_.L(_.ksb,_.K);_.ksb.prototype.Zt=function(){return _.D(this,2)};
_.ksb.prototype.EWa=function(){return _.D(this,3)};lsb=[5];_.msb=function(a){_.O(this,a,-1,null,null)};_.L(_.msb,_.K);_.nsb=function(a){_.O(this,a,-1,lsb,null)};_.L(_.nsb,_.K);_.g=_.nsb.prototype;_.g.g_=function(){return _.D(this,1)};_.g.cU=function(){return _.D(this,3)};_.g.nR=function(){return _.pk(this,_.ksb,5)};_.g.nn=function(){return _.D(this,6)};_.g.hv=function(){return _.D(this,7)};_.g.gy=function(){return _.D(this,10)};_.g.vAb=function(){return _.Q(this,16)};_.g.Yb="dzR11e";
_.osb=function(a){_.O(this,a,-1,isb,null)};_.L(_.osb,_.K);_.osb.prototype.O=function(){return _.E(this,_.nsb,1)};_.osb.prototype.oN=function(){return _.E(this,_.uA,8)};_.osb.prototype.V=function(){return _.E(this,_.jsb,9)};_.t("sy11j");
_.vA=function(a){_.O(this,a,-1,psb,null)};_.L(_.vA,_.K);_.vA.prototype.getUser=function(){return _.E(this,_.Sk,1)};_.vA.prototype.getMetadata=function(){return _.E(this,_.osb,3)};_.vA.prototype.Wo=function(){return _.Q(this,3)};var psb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11k");
var Xkb;_.zz=function(a){_.O(this,a,-1,Xkb,null)};_.L(_.zz,_.K);_.zz.prototype.O=function(){return _.Nd(this,1)};_.Az=function(a,b){return _.ek(a,1,b)};_.zz.prototype.Xm=function(){return _.Nd(this,2)};_.Bz=function(a,b){return _.ek(a,2,b)};_.zz.prototype.ve=function(){return _.E(this,_.sf,3)};_.Cz=function(a,b){return _.x(a,3,b)};_.Ykb=function(a,b){return _.A(a,5,b)};Xkb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.wA=function(a){return a instanceof _.qc?a:a instanceof _.pc?new _.qc(void 0,a):a instanceof Error?new _.qc(a.message,void 0,a):new _.qc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.qsb=function(a){return a instanceof Error?_.wA(a).Sg:a instanceof _.qc?a.Sg:a};_.t("sy11m");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11o");
_.xA={FL:"eb",Fha:"fb",DU:"gb",CU:"hb"};_.Esb=new Map([[_.xA.FL,1],[_.xA.Fha,2],[_.xA.DU,2],[_.xA.CU,3]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.qz=function(a){if(Array.isArray(a))return a.map(_.qz).join("");if(_.D(a,2)){if(!a.getId())throw Error("ld");return a.getId()+"/"+_.D(a,2)+","}return""};_.t("sy12y");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15b");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var awb;_.$vb=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")};awb=function(a){var b=_.paa(_.YDa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.bwb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.YDa[a.name]):(this.code=a=a.code,this.name=awb(a));_.ea.call(this,_.$vb("%s %s",this.name,b))};_.Sf(_.bwb,_.ea);var cwb=function(a,b){_.xi.call(this,a.type,b)};
_.Sf(cwb,_.xi);_.t("sy15c");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dwb=function(){_.Ki.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.v)(this.O0,this);this.H.onprogress=(0,_.v)(this.O0,this);this.H.onload=(0,_.v)(this.O0,this);this.H.onabort=(0,_.v)(this.O0,this);this.H.onerror=(0,_.v)(this.O0,this);this.H.onloadend=(0,_.v)(this.O0,this)};_.Sf(_.dwb,_.Ki);_.g=_.dwb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.bwb(a,"aborting read");}};_.g.wk=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.bwb(this.H.error,"reading file")};_.g.O0=function(a){this.dispatchEvent(new cwb(a,this))};_.g.Ya=function(){_.dwb.ub.Ya.call(this);delete this.H};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy164");
_.TB=function(a){_.O(this,a,-1,null,null)};_.L(_.TB,_.K);_.TB.prototype.ha=function(){return _.bk(this,1)};_.TB.prototype.V=function(){return _.bk(this,2)};_.TB.prototype.O=function(){return _.bk(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Uqb=function(a){_.O(this,a,-1,null,null)};_.L(_.Uqb,_.K);_.Uqb.prototype.O=function(){return _.D(this,1)};_.Uqb.prototype.Cb=function(){return _.D(this,2)};_.Uqb.prototype.Dc=function(a){return _.A(this,2,a)};_.Uqb.prototype.V=function(){return _.D(this,3)};_.t("sy17p");
_.Wqb=function(a){_.O(this,a,-1,Vqb,null)};_.L(_.Wqb,_.K);_.Wqb.prototype.O=function(){return _.Nd(this,1)};var Vqb=[1];
_.Yqb=function(a){_.O(this,a,-1,Xqb,null)};_.L(_.Yqb,_.K);_.Yqb.prototype.O=function(){return _.pk(this,_.Uqb,1)};var Xqb=[1];
_.$qb=function(a){_.O(this,a,-1,Zqb,null)};_.L(_.$qb,_.K);_.$qb.prototype.O=function(){return _.pk(this,_.Yqb,1)};var Zqb=[1];
_.arb=function(a){_.O(this,a,-1,null,null)};_.L(_.arb,_.K);_.arb.prototype.V=function(){return _.E(this,_.$qb,1)};_.arb.prototype.O=function(){return _.E(this,_.Wqb,2)};
_.mA=function(a){_.O(this,a,-1,brb,null)};_.L(_.mA,_.K);_.g=_.mA.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Hd=function(){return _.pk(this,_.hl,2)};_.g.Rw=function(a){return _.Cb(this,2,a)};_.g.mh=function(a,b){return _.tk(this,2,a,_.hl,b)};_.g.Yj=function(){return _.D(this,3)};_.g.ll=function(){return _.S(this,5,!0)};_.g.v6=function(){return _.E(this,_.arb,7)};_.g.Usa=function(){return _.R(this,8)};_.g.Vf=function(){return _.D(this,17)};
_.g.OP=function(a){return _.A(this,17,a)};_.g.Ye=function(){return _.D(this,12)};_.g.lj=function(a){return _.A(this,12,a)};_.g.Un=function(){return _.D(this,15)};_.g.$ka=function(){return _.Nd(this,18)};var brb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18w");
_.DC=function(a){_.O(this,a,-1,null,null)};_.L(_.DC,_.K);_.DC.prototype.getKey=function(){return _.E(this,_.Rb,1)};_.DC.prototype.ys=function(){return _.Q(this,1)};_.DC.prototype.ve=function(){return _.E(this,_.sf,2)};
_.EC=function(a){_.O(this,a,-1,null,null)};_.L(_.EC,_.K);_.EC.prototype.ve=function(){return _.E(this,_.sf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18x");
_.CC=function(a){_.O(this,a,-1,dBb,null)};_.L(_.CC,_.K);_.CC.prototype.ve=function(){return _.E(this,_.sf,1)};var dBb=[3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy192");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.UC=function(a,b,c){_.N.call(this);this.In=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Ug=(0,_.v)(this.G$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Sf(_.UC,_.N);_.g=_.UC.prototype;_.g.xe=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Qf()+this.ka:this.H=_.Mi(this.Ug,this.ka)};_.g.stop=function(){this.H&&(_.Ni(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.In.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.UC.ub.Ya.call(this)};_.g.G$a=function(){this.H&&(_.Ni(this.H),this.H=null);this.W?(this.H=_.Mi(this.Ug,this.W-_.Qf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.In.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bf");
_.ZE=function(a){_.O(this,a,-1,null,null)};_.L(_.ZE,_.K);_.ZE.prototype.getName=function(){return _.D(this,1)};_.ZE.prototype.jd=function(a){return _.A(this,1,a)};_.ZE.prototype.ve=function(){return _.E(this,_.sf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bg");
_.$E=function(a){_.O(this,a,-1,null,null)};_.L(_.$E,_.K);_.g=_.$E.prototype;_.g.Ni=function(){return _.D(this,1)};_.g.Bi=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.ve=function(){return _.E(this,_.sf,3)};_.g.Qp=function(){return _.D(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bh");
_.cF=function(a){_.O(this,a,-1,null,null)};_.L(_.cF,_.K);_.cF.prototype.Ni=function(){return _.D(this,1)};_.cF.prototype.Bi=function(a){return _.A(this,1,a)};_.cF.prototype.ve=function(){return _.E(this,_.sf,2)};_.cF.prototype.Yb="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bi");
_.dF=function(a){_.O(this,a,-1,$Sb,null)};_.L(_.dF,_.K);_.dF.prototype.O=function(){return _.Nd(this,1)};_.dF.prototype.Xm=function(){return _.Nd(this,2)};_.dF.prototype.ve=function(){return _.E(this,_.sf,3)};var $Sb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.eF=function(a){_.O(this,a,-1,null,null)};_.L(_.eF,_.K);_.g=_.eF.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.D(this,5)};_.g.Nd=function(a){return _.A(this,5,a)};_.g.pt=function(){return _.Q(this,5)};_.t("sy1bj");
_.fF=function(a){_.O(this,a,-1,aTb,null)};_.L(_.fF,_.K);_.fF.prototype.Xm=function(){return _.Nd(this,1)};_.bTb=function(a,b){return _.ek(a,1,b)};_.fF.prototype.ve=function(){return _.E(this,_.sf,2)};var aTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.gF=function(a,b){return _.A(a,4,b)};_.cTb=function(a,b){_.A(a,11,b)};_.dTb=function(a,b){return _.A(a,25,b)};_.t("sy1bk");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.lF=function(a){return _.D(a,11)};_.t("sy1bm");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bn");
_.mF=function(a){_.O(this,a,-1,null,null)};_.L(_.mF,_.K);_.mF.prototype.Jc=function(){return _.D(this,1)};_.TTb=function(a){var b=new _.mF;return _.A(b,1,a)};_.mF.prototype.Ni=function(){return _.D(this,2)};_.mF.prototype.Bi=function(a){return _.A(this,2,a)};_.mF.prototype.ve=function(){return _.E(this,_.sf,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.sTb=function(a){_.O(this,a,-1,null,null)};_.L(_.sTb,_.K);_.t("sy1bp");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1f9");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.rac=function(a,b,c){_.sj(a.url,function(d){d=d.target;d.ou()?b(d.Wk()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.sac=function(a,b,c,d){return _.F(a,1).split("/").pop()==d?(d=_.D(a,2),Array.isArray(d)?new b(d):c(_.lb(a.Xa()))):null};_.t("sy1f3");
_.uac=function(a){_.O(this,a,-1,tac,null)};_.L(_.uac,_.K);var tac=[2];
_.vac=function(a){_.O(this,a,-1,null,null)};_.L(_.vac,_.K);var wac=function(){var a=new _.vac,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.vac.prototype.Mi=function(){return _.D(this,7)};
_.xac=function(a){_.O(this,a,-1,null,null)};_.L(_.xac,_.K);
var yac;_.IG=function(a){_.O(this,a,31,yac,null)};_.L(_.IG,_.K);_.JG=function(a,b){return _.A(a,8,b)};yac=[3,20,27];
var Aac=function(a){_.O(this,a,17,zac,null)};_.L(Aac,_.K);var Bac=function(a){var b=Date.now().toString();return _.A(a,4,b)},Cac=function(a,b){return _.Cb(a,3,b)},Dac=function(a,b){return _.A(a,14,b)},zac=[3,5];
var Fac=function(a){_.O(this,a,6,Eac,null)};_.L(Fac,_.K);var Eac=[5];
var Gac=function(a){_.O(this,a,-1,null,null)};_.L(Gac,_.K);
var Hac=new _.Hk(175237375,Gac);
_.KG=function(a,b,c,d,e,f,h,k,l,p,q){_.Ki.call(this);var r=this;this.Ka="";this.O=[];this.Nc="";this.Nb=this.Sb=this.ha=!1;this.Vc=this.kb=-1;this.uc=!1;this.Fa=this.V=null;this.va=0;this.te=1;this.nb=!1;_.Ki.call(this);this.Xc=a;this.Ab=b||_.Nf;this.ka=new Aac;this.Dd=d;this.Gb=q;this.Ce=_.vb(_.Mia,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Xd=!k;this.Fc=f||!1;this.le=!this.Fc&&(_.Hj.ln&&_.xb(65)||_.Hj.Qw&&_.xb(45)||_.Hj.Vv&&_.xb(12)||_.ch()&&0<=_.sg(_.mia(),12))&&!!_.qf()&&
!!_.qf().navigator&&!!_.qf().navigator.sendBeacon;a=_.A(new _.xac,1,1);f||(f=wac(),_.x(a,11,f));_.x(this.ka,1,a);_.A(this.ka,2,this.Xc);this.ma=new _.GG(1E4,3E5,.1);this.H=new _.Li(this.ma.Xa());this.Ma(this.H);_.xe(this.H,"tick",_.Tfa(Iac(this,p)),!1,this);this.Ta=new _.Li(6E5);this.Ma(this.Ta);_.xe(this.Ta,"tick",_.Tfa(Iac(this,p)),!1,this);this.Oa||this.Ta.start();this.Fc||(_.xe(_.qf(),"beforeunload",this.oa,!1,this),_.xe(_.qf(),"unload",this.oa,!1,this),_.xe(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&r.oa()}),_.xe(document,"pagehide",this.oa,!1,this))};_.L(_.KG,_.Ki);var Iac=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.KG.prototype.Ya=function(){this.oa();_.Ki.prototype.Ya.call(this)};var Jac=function(a){a.Ba||(a.Ba=.01>a.Ce()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.KG.prototype.W=function(a){a instanceof _.IG?this.log(a):(a=_.JG(new _.IG,a.$b()),this.log(a))};
_.Kac=function(a,b){b?(a.V||(a.V=new _.uac),b=b.$b(),_.A(a.V,4,b)):a.V&&_.fk(a.V,4)};_.Lac=function(a,b){a.ma=new _.GG(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Xa())};
_.KG.prototype.log=function(a){a=a.clone();var b=this.te++;_.A(a,21,b);this.Ka&&_.A(a,26,this.Ka);if(!_.D(a,1)){b=a;var c=Date.now().toString();_.A(b,1,c)}_.Q(a,15)||_.A(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.x(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Mac(a));this.Oa||this.H.enabled||this.H.start()};
_.KG.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Nac(this);else{var d=Date.now();if(this.Vc>d&&this.kb<d)b&&b("throttled");else{var e=Dac(Cac(Bac(this.ka.clone()),this.O),this.va);d={};var f=this.Ab();f&&(d.Authorization=f);var h=Jac(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.jj(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.jj(h,"pageId",this.$a));if(f&&this.Nc===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.$b(),l;this.Fa&&this.Fa.ru(k.length)&&(l=this.Fa.o8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Xd,timeoutMillis:0},q=function(y){c.ma.reset();c.H.setInterval(c.ma.Xa());if(y){var z=null;try{var C=JSON.parse(y.replace(")]}'\n",""));z=new Fac(C)}catch(G){}z&&(y=Number(_.Gma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Vc=c.kb+y),z=_.vk(z,Hac))&&(z=_.ak(z,1,-1),-1!=z&&(c.uc||_.Lac(c,z)))}a&&a()},r=function(y){var z=_.pk(e,_.IG,3);
_.HG(c.ma);c.H.setInterval(c.ma.Xa());401===y&&f&&(c.Nc=f);if(500<=y&&600>y||401===y||0===y)c.O=z.concat(c.O),c.Oa||c.H.enabled||c.H.start();b&&b("net-send-failed",y)},u=function(){c.Gb?c.Gb.send(p,q,r):c.Dd(p,q,r)};l?l.then(function(y){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=y;p.H=2;u()},function(){u()}):u()}}}};_.KG.prototype.oa=function(){this.ha||(this.Sb&&Nac(this),this.Nb&&Oac(this),this.flush())};
var Nac=function(a){Pac(a,32,10,function(b,c){b=_.jj(b,"format","json");b=_.qf().navigator.sendBeacon(b,c.$b());a.nb&&!b&&(a.nb=!1);return b})},Oac=function(a){Pac(a,6,5,function(b,c){b=_.hj(b,"format","base64json","p",_.Ij(c.$b(),3));_.Mg(new Image,b);return!0})},Pac=function(a,b,c,d){if(0!==a.O.length){var e=_.Hla(Jac(a),"format");e=_.hj(e,"auth",a.Ab(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Cac(Bac(a.ka.clone()),h);0===f&&Dac(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Mac=function(){_.xi.call(this,"event-logged",void 0)};_.L(Mac,_.xi);

_.w();

}catch(e){_._DumpException(e)}
try{
var nbc=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 u=h,y=0;64>y;y+=4)u[y/4]=r[y]<<24|r[y+1]<<16|r[y+2]<<8|r[y+3];for(y=16;80>y;y++)r=u[y-3]^u[y-8]^u[y-14]^u[y-16],u[y]=(r<<1|r>>>31)&4294967295;r=e[0];var z=e[1],C=e[2],G=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var M=G^z&(C^G);var P=1518500249}else M=z^C^G,P=1859775393;else 60>y?(M=z&C|G&(z|C),P=2400959708):(M=z^C^G,P=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+I+P+u[y]&4294967295;I=G;G=C;C=(z<<30|z>>>2)&4294967295;z=r;r=M}e[0]=e[0]+r&4294967295;e[1]=e[1]+z&4294967295;e[2]=e[2]+C&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var y=[],z=0,C=r.length;z<C;++z)y.push(r.charCodeAt(z));r=y}u||(u=r.length);y=0;if(0==p)for(;y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64;for(;y<u;)if(f[p++]=r[y++],q++,64==p)for(p=0,b(f);y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64}function d(){var r=[],
u=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var y=63;56<=y;y--)f[y]=u&255,u>>>=8;b(f);for(y=u=0;5>y;y++)for(var z=24;0<=z;z-=8)r[u++]=e[y]>>z&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(),u="",y=0;y<r.length;y++)u+="0123456789ABCDEF".charAt(Math.floor(r[y]/16))+"0123456789ABCDEF".charAt(r[y]%16);return u}}};_.t("sy1f5");
var obc=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("Ce`"+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("De`"+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 qbc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,pbc(obc(d),a,c||null)].join(" "):null},pbc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ka(d,function(k){e.push(k)}),rbc(e.join(" "));var f=[],h=[];_.Ka(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.na(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=rbc(e.join(" "));a=[c,a];_.na(h)||a.push(h.join(""));return a.join("_")},rbc=function(a){var b=
nbc();b.update(a);return b.digestString().toLowerCase()};
var sbc={};
var tbc,vbc;tbc=function(a){return!!sbc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.ubc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;tbc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.AOa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");tbc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};vbc=function(a,b,c,d){(a=_.n[a])||(a=(new _.AOa(document)).get(b));return a?qbc(a,c,d):null};
_.wbc=function(a,b){b=void 0===b?!1:b;var c=obc(String(_.n.location.href)),d=[];if(_.ubc(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 _.AOa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?qbc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&tbc(b)&&((b=vbc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=vbc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.aH=function(a,b){a.H=b;a.ka=0};_.bH=function(a,b){return _.A(a,b,_.jb([]))};_.cdc=function(a){a.Sb=a.le};_.t("sy1fa");
_.cH=function(a,b,c,d,e,f,h){_.KG.call(this,a,_.wbc,b,_.rac,c,d,e,void 0,f,h)};_.L(_.cH,_.KG);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ie");
_.yRc=function(a){_.O(this,a,-1,null,null)};_.L(_.yRc,_.K);_.g=_.yRc.prototype;_.g.getKey=function(){return _.D(this,1)};_.g.ys=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.Ei=function(){return _.fk(this,2)};_.g.kh=function(){return _.Q(this,2)};
_.wK=function(a){_.O(this,a,-1,zRc,null)};_.L(_.wK,_.K);_.wK.prototype.Lz=function(){return _.D(this,1)};_.wK.prototype.getUrl=function(){return _.D(this,3)};var zRc=[2,4,6];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1if");
_.ARc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.BRc=_.ab(_.ARc);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jz");
var CRc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};CRc.prototype.get=function(a){return DRc(this)[a]||null};CRc.prototype.set=function(a){DRc(this)[this.V(a)]=a;this.O=null};var DRc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.xK=function(a,b){this.H=a;this.dB=b};
_.xK.prototype.Gz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!ERc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.DM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.FM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&ERc(this,a[d],b[e]);d--,e--);e=a.length-1-d;var f=a.length-e;d=a.slice(c,f);f=b.length-e;e=
b.slice(c,f);var h,k=[];for(f=0;f<d.length+1;f++)k[f]=[],k[f][0]=0;for(h=0;h<e.length+1;h++)k[0][h]=0;for(f=1;f<=d.length;f++)for(h=1;h<=e.length;h++)ERc(this,d[f-1],e[h-1])?k[f][h]=k[f-1][h-1]+1:k[f][h]=Math.max(k[f-1][h],k[f][h-1]);var l=[];f=d.length;for(h=e.length;0<f||0<h;)0<f&&0<h&&ERc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.FM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.DM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.dB(this.H.iN(d[f])),void 0!==e[h]){h=e[h];l=d[h];var p=d[f];k=1==l.getType()?l:p;l=2==l.getType()?l:p;if(k=this.NE(l,k))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];p=l.Oi()||0;var q=l.oy()||0;l.setPosition((l.Oi()||0)+FRc(e,l.Oi()||0));d[f].setPosition((d[f].Oi()||0)+c);3==d[f].getType()&&(l.Py((l.oy()||0)+FRc(e,l.oy()||0)),d[f].Py((d[f].oy()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,
start:p,end:Number.MAX_VALUE};break b;case 3:l=p>q?{offset:-1,start:q,end:p}:{offset:1,start:p,end:q};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new CRc(a,this.dB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.dB(f)))&&!_.xk(h||void 0,f||void 0)&&d.push(this.H.BQ(f,e));return c.concat(d)};var FRc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};
_.xK.prototype.NE=function(a,b){var c=b.Oi()||0;c>(a.Oi()||0)&&--c;return this.H.NE(this.H.iN(b),a.Oi()||0,c)};var ERc=function(a,b,c){return a.dB(b)==a.dB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.GRc=function(a){_.O(this,a,-1,null,null)};_.L(_.GRc,_.K);_.g=_.GRc.prototype;_.g.getType=function(){return _.D(this,1)};_.g.getItem=function(){return _.E(this,_.hl,2)};_.g.setItem=function(a){return _.x(this,2,a)};_.g.oy=function(){return _.D(this,3)};_.g.Py=function(a){return _.A(this,3,a)};_.g.Oi=function(){return _.D(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.HRc=function(a){var b=new _.GRc;return _.A(b,1,a)};_.t("sy1k0");
var IRc=function(){};_.g=IRc.prototype;_.g.FM=function(a,b){return _.HRc(1).setItem(a).setPosition(b)};_.g.DM=function(a,b){return _.HRc(2).setPosition(b).setItem(a)};_.g.NE=function(a,b,c){return _.HRc(3).Py(b).setPosition(c).setItem(a)};_.g.BQ=function(a,b){return _.HRc(4).setItem(a).setPosition(b)};_.g.iN=function(a){return a.getItem()};
var KRc;_.JRc=function(){_.xK.call(this,new IRc,function(a){return a.getId()})};_.L(_.JRc,_.xK);_.LRc=function(){KRc||(KRc=new _.JRc);return KRc};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.NRc=function(){this.blockSize=-1};

_.w();

}catch(e){_._DumpException(e)}
try{
_.yK=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.$ka)(a)};_.zK=function(){return"goog_"+_.fia++};_.ORc=function(a,b,c,d,e,f){var h=new _.uj(null,void 0);a&&h.en(a);b&&h.GF(b);c&&h.an(c);d&&h.uA(d);e&&h.Ci(e);f&&_.vj(h,f);return h};_.AK=function(a){return new _.ei(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{B9:!0,value:p}:{B9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Dja(h,_.vb(e,f,!0),_.vb(e,f,!1));else b(d)})};
_.BK=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 _.pq(c,e,d-c,a-e)}return null};_.CK=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.CK.prototype.clone=function(){return new _.CK(this.start,this.end)};_.DK=function(a){return a.end-a.start};_.t("sy1kn");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.EK=function(a,b,c){_.N.call(this);this.In=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};_.L(_.EK,_.N);_.g=_.EK.prototype;_.g.xe=function(a){this.W=arguments;this.H||this.V?this.O=!0:PRc(this)};_.g.stop=function(){this.H&&(_.Ni(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,PRc(this))};_.g.Ya=function(){_.N.prototype.Ya.call(this);this.stop()};
var PRc=function(a){a.H=_.Mi(function(){a.H=null;a.O&&!a.V&&(a.O=!1,PRc(a))},a.ha);var b=a.W;a.W=null;a.In.apply(null,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
var QRc,TRc;QRc=[3,42];_.RRc=function(a){_.O(this,a,-1,QRc,null)};_.L(_.RRc,_.K);_.RRc.prototype.getMimeType=function(){return _.D(this,27)};_.SRc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};TRc=function(a,b){if(b&&a in b)return a;var c=_.TEa();return c?(c=c.toLowerCase(),a=c+_.iia(a),void 0===b||a in b?a:null):null};_.t("sy1ko");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var URc=function(a){_.xi.call(this,"visibilitychange");this.hidden=a};_.L(URc,_.xi);
_.VRc=function(a){_.Ki.call(this);this.ld=a||_.vh();if(this.Az=this.zsb())this.H=_.xe(this.ld.Wb(),this.Az,(0,_.v)(this.xab,this))};_.Sf(_.VRc,_.Ki);_.g=_.VRc.prototype;_.g.zsb=_.Kca(function(){var a=this.ru(),b="hidden"!=this.vAa();if(a){var c;b?c=((_.TEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.vAa=_.Kca(function(){return TRc("hidden",this.ld.Wb())});_.g.gub=_.Kca(function(){return TRc("visibilityState",this.ld.Wb())});_.g.ru=function(){return!!this.vAa()};
_.g.zB=function(){return!!this.ld.Wb()[this.vAa()]};_.g.xab=function(){var a=this.ru()?this.ld.Wb()[this.gub()]:null;a=new URc(this.zB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Ii(this.H);_.VRc.ub.Ya.call(this)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1kp");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var XRc;XRc=[2];_.YRc=function(a){_.O(this,a,-1,XRc,null)};_.L(_.YRc,_.K);_.YRc.prototype.Cb=function(){return _.D(this,1)};_.YRc.prototype.Dc=function(a){return _.A(this,1,a)};_.YRc.prototype.Yj=function(){return _.D(this,3)};_.t("sy1lg");
var ZRc;_.GK=function(a){_.O(this,a,-1,ZRc,null)};_.L(_.GK,_.K);_.GK.prototype.O=function(){return _.Nd(this,1)};_.GK.prototype.ve=function(){return _.E(this,_.sf,2)};_.$Rc=function(a,b){return _.x(a,2,b)};_.GK.prototype.Ni=function(){return _.ak(this,3,20)};_.GK.prototype.Bi=function(a){return _.A(this,3,a)};_.GK.prototype.Am=function(){return _.R(this,4)};_.aSc=function(a,b){return _.A(a,4,b)};ZRc=[1];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lu");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.bSc=function(a){_.N.call(this);this.O=a;this.H={};this.O.HO((0,_.v)(this.V,this))};_.Sf(_.bSc,_.N);_.dSc=function(a,b){if(-1!=b.indexOf(":"))throw Error("He`"+b);if(b in a.H)throw Error("Ie`"+b);var c=new cSc(a,b);return a.H[b]=c};_.bSc.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)}};_.bSc.prototype.Ya=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var cSc=function(a,b){_.N.call(this);this.Pg=a;this.H=b};_.Sf(cSc,_.N);_.g=cSc.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,_.v)(this.ETa,this,b),c)};_.g.HO=function(a){this.O=(0,_.v)(this.ETa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Je");this.Pg.O.send(this.H+":"+a,b)};_.g.ETa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.Pg=this.Pg.H[this.H]=null};

_.w();

}catch(e){_._DumpException(e)}
try{
var eSc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Jfa);try{delete a[_.Jfa]}catch(b){}},HK=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(_.Ca(f)){f[_.Jfa]||c.push(f);var l=_.Da(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++)eSc(c[a]);return b.join("")};_.t("sy1lv");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var fSc,JK,hSc,gSc;_.IK=function(a,b,c){if("number"===typeof a)var d={name:gSc(a)};else d=a,a=hSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Sf(_.IK,_.ea);_.IK.prototype.getName=function(){return this.O.name||""};JK={Ujb:1,gjb:2,NOT_FOUND_ERR:3,B9a:4,H9a:5,ijb:6,Pjb:7,ABORT_ERR:8,vjb:9,w6b:10,TIMEOUT_ERR:11,sjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.iSc=(_.n.BI||_.n.wL||JK).Ujb;_.jSc=(_.n.BI||_.n.wL||JK).gjb;_.kSc=(_.n.BI||_.n.wL||JK).NOT_FOUND_ERR;
_.lSc=(_.n.BI||_.n.wL||JK).B9a;_.mSc=(_.n.BI||_.n.wL||JK).H9a;_.nSc=(_.n.BI||_.n.wL||JK).ijb;_.oSc=(_.n.BI||_.n.wL||JK).Pjb;_.pSc=(_.n.BI||_.n.wL||JK).ABORT_ERR;_.qSc=(_.n.BI||_.n.wL||JK).vjb;_.rSc=(_.n.BI||_.n.wL||JK).TIMEOUT_ERR;_.sSc=(_.n.BI||_.n.wL||JK).sjb;_.tSc=(_.n.DOMException||JK).INVALID_ACCESS_ERR;_.uSc=(_.n.DOMException||JK).INVALID_STATE_ERR;
hSc=function(a){switch(a){case "UnknownError":return _.iSc;case "NotFoundError":return _.kSc;case "ConstraintError":return _.lSc;case "DataError":return _.mSc;case "TransactionInactiveError":return _.oSc;case "AbortError":return _.pSc;case "ReadOnlyError":return _.qSc;case "TimeoutError":return _.rSc;case "QuotaExceededError":return _.sSc;case "InvalidAccessError":return _.tSc;case "InvalidStateError":return _.uSc;default:return _.iSc}};
gSc=function(a){switch(a){case _.iSc:return"UnknownError";case _.kSc:return"NotFoundError";case _.lSc:return"ConstraintError";case _.mSc:return"DataError";case _.oSc:return"TransactionInactiveError";case _.pSc:return"AbortError";case _.qSc:return"ReadOnlyError";case _.rSc:return"TimeoutError";case _.sSc:return"QuotaExceededError";case _.tSc:return"InvalidAccessError";case _.uSc:return"InvalidStateError";default:return"UnknownError"}};
_.KK=function(a,b){return"error"in a?new _.IK(a.error,b):new _.IK({name:"UnknownError"},b)};_.LK=function(a,b){if("name"in a)return b=b+": "+a.message,new _.IK(a,b);if("code"in a){var c=gSc(a.code);b=b+": "+a.message;return new _.IK({name:c},b)}return new _.IK({name:"UnknownError"},b)};
_.vSc=function(a){this.H=a};_.wSc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.vSc.prototype.range=function(){return this.H};
var xSc=function(a){this.H=a};xSc.prototype.getName=function(){return this.H.name};var ySc=function(a,b,c,d){var e=new _.li;try{var f=a.H[b](d)}catch(h){return c+=" with key "+HK(d),e.Pd(_.LK(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+HK(d);e.Pd(_.KK(h.target,c))};return e};xSc.prototype.get=function(a){return ySc(this,"get","getting from index "+this.getName(),a)};
xSc.prototype.getKey=function(a){return ySc(this,"getKey","getting key from index "+this.getName(),a)};xSc.prototype.getAll=function(a,b){return _.zSc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.zSc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.vSc?d.range():(new _.vSc(_.wSc.only(d))).range();var h=new _.li;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?HK(f):"<all>"),h.Pd(_.LK(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?HK(f):"<all>");h.Pd(_.KK(l.target,c))};return h};
var ASc=function(a){this.H=a};ASc.prototype.getName=function(){return this.H.name};var BSc=function(a,b,c,d,e){var f=new _.li;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=HK(d),e&&(c+=", with key "+HK(e)),f.Pd(_.LK(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=HK(d);e&&(c+=", with key "+HK(e));f.Pd(_.KK(k.target,c))};return f};_.g=ASc.prototype;_.g.put=function(a,b){return BSc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return BSc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.li;try{var c=this.H["delete"](a instanceof _.vSc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+HK(a),b.Pd(_.LK(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+HK(a);b.Pd(_.KK(e.target,f))};return b};
_.g.get=function(a){var b=new _.li;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+HK(a),b.Pd(_.LK(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 "+HK(a);b.Pd(_.KK(e.target,f))};return b};_.g.getAll=function(a,b){return CSc(this,"getting all from index "+this.getName(),a,b)};
var CSc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.vSc?c.range():(new _.vSc(_.wSc.only(c))).range();var f=new _.li;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?HK(e):"<all>"),f.Pd(_.LK(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?HK(e):"<all>");f.Pd(_.KK(k.target,b))};return f};
ASc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.li;try{var c=this.H.clear()}catch(d){return b.Pd(_.LK(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Pd(_.KK(d.target,a))};return b};ASc.prototype.getIndex=function(a){try{return new xSc(this.H.index(a))}catch(b){throw _.LK(b,"getting index "+a);}};
ASc.prototype.count=function(a){var b=new _.li;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.Pd(_.KK(e.target,d.getName()))}}catch(e){b.Pd(_.LK(e,this.getName()))}return b};
var DSc=function(a,b){_.Ki.call(this);this.H=a;this.O=b;this.wb=new _.Le(this);this.wb.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.wb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.wb.listen(this.H,"error",this.yab)};_.Sf(DSc,_.Ki);_.g=DSc.prototype;_.g.yab=function(a){a.target instanceof _.IK?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.KK(a.target,"in transaction")})};_.g.Hh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new ASc(this.H.objectStore(a))}catch(b){throw _.LK(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.LK(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.li;_.Se(this,"complete",(0,_.v)(a.callback,a));var b=_.Se(this,"abort",function(){_.Ii(c);a.Pd(new _.IK(_.pSc,"waiting for transaction to complete"))});var c=_.Se(this,"error",function(e){_.Ii(b);a.Pd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){DSc.ub.Ya.call(this);this.wb.dispose()};
var ESc=function(a){_.Ki.call(this);this.H=a;this.wb=new _.Le(this);this.wb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.wb.listen(this.H,"error",this.zab);this.wb.listen(this.H,"versionchange",this.Opb);this.wb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.Sf(ESc,_.Ki);_.g=ESc.prototype;_.g.gta=!0;_.g.zab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Opb=function(a){this.dispatchEvent(new FSc(a.oldVersion,a.newVersion))};_.g.close=function(){this.gta&&(this.H.close(),this.gta=!1)};_.g.Jg=function(){return this.gta};_.g.getName=function(){return this.H.name};_.g.Gi=function(){return Number(this.H.version)};_.GSc=function(a,b,c){try{return new ASc(a.H.createObjectStore(b,c))}catch(d){throw _.LK(d,"creating object store "+b);}};
_.HSc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new DSc(d,a)}catch(e){throw _.LK(e,"creating transaction");}};ESc.prototype.Ya=function(){ESc.ub.Ya.call(this);this.wb.dispose()};var FSc=function(a,b){_.xi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Sf(FSc,_.xi);
_.ISc=function(){void 0==fSc&&(fSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return fSc};
_.JSc=function(a,b,c,d){var e=new _.li;b=b?_.ISc().open(a,b):_.ISc().open(a);b.onsuccess=function(f){f=new ESc(f.target.result);e.callback(f)};b.onerror=function(f){e.Pd(_.KK(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new ESc(f.target.result);c(new FSc(f.oldVersion,f.newVersion),h,new DSc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new FSc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.KSc=function(a,b){this.ma=a;this.Ba=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.oa=_.rac;this.H=""};_.LSc=function(a,b){var c=_.jr,d;if(d=a)d=_.Vm.prototype.matches.call(c,a)&&"function"===typeof a.$C&&(!b||a.$C().toString()==b.toString());return d?a:null};_.t("sy1lw");
_.KSc.prototype.build=function(){var a=new _.KG(this.ma,this.ha?this.ha:_.wbc,this.Ba,this.oa,this.V,this.W,!1,void 0,void 0,void 0,this.va?this.va:void 0);if(this.Ha){var b=this.Ha;_.D(b,1)||_.A(b,1,1);_.x(a.ka,1,b)}if(this.O){b=this.O;var c=_.E(a.ka,_.xac,1),d=_.E(c,_.vac,11);d||(d=new _.vac);_.A(d,7,b);_.x(c,11,d);_.D(c,1)||_.A(c,1,1);_.x(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.Ka=this.H);this.Fa&&_.Kac(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.uac),_.ek(a.V,2,b));this.Ka&&(b=this.Ka,
a.uc=!0,_.Lac(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.MSc=function(a,b){var c=_.E(a.H,_.Yxa,9);null==c&&(c=new _.Yxa);var d=_.D(b.H,10);d=_.A(c,5,d);b=_.D(b.H,12);_.A(d,2,b);_.x(a.H,9,c)};_.NSc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lx");
_.OSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.OSc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.JG(new _.IG,a.$b());b(a);return new _.ei(function(d){c(d,function(){d()})}.bind(this))};
_.PSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.cdc(this.O)};_.PSc.prototype.sA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.JG(new _.IG,a.$b());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var QSc=function(a){_.O(this,a,-1,null,null)};_.L(QSc,_.K);QSc.prototype.getEmail=function(){return _.F(this,3,"")};QSc.prototype.Sp=function(){return _.Q(this,3)};_.MK=function(a){return _.S(a,5,!1)};_.NK=function(a){return _.E(a,QSc,36,1)};_.RSc=function(a){var b=_.hla(a);if("undefined"==typeof b)throw Error("X");var c=new _.xj(null,void 0);a=_.gla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.ema(c,e,f):c.add(e,f)}return c};_.t("sy1li");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lh");
_.OK=function(a){_.O(this,a,-1,null,null)};_.L(_.OK,_.K);_.OK.prototype.ve=function(){return _.E(this,_.sf,1)};_.PK=function(a,b){return _.x(a,1,b)};_.OK.prototype.Ng=function(){return _.D(this,4)};_.OK.prototype.zpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var SSc=function(a){_.O(this,a,-1,null,null)},XSc;_.L(SSc,_.K);var TSc=function(a){_.O(this,a,-1,null,null)};_.L(TSc,_.K);_.QK=function(a){_.O(this,a,-1,null,null)};_.L(_.QK,_.K);_.QK.prototype.a5=function(a){_.A(this,3,a)};_.QK.prototype.Il=function(a){return _.x(this,5,a)};_.QK.prototype.getMimeType=function(){return _.D(this,7)};var USc=[2],VSc=function(a){_.O(this,a,-1,USc,null)};_.L(VSc,_.K);var WSc=function(a){_.O(this,a,-1,null,null)};_.L(WSc,_.K);XSc=function(a){this.H=a};
_.YSc=function(a){this.qd=a};_.YSc.prototype.getId=function(){return this.qd};var ZSc=function(a){_.O(this,a,-1,null,null)};_.L(ZSc,_.K);ZSc.prototype.Gi=function(){return _.D(this,1)};var $Sc=function(a){_.O(this,a,-1,null,null)};_.L($Sc,_.K);
var bTc=function(){this.H=this.W=!1;this.Lo=null;for(var a=this.V=this.O=0;a<_.nAa.length;a++){var b=_.nAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.W=!0;aTc(this,b);break}}},aTc=function(a,b){a.Lo=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.H=!0;a.Lo.onDisconnect.addListener(function(){a.H=!1});document.addEventListener("mousemove",function(c){a.O=c.clientX;a.V=c.clientY})};
bTc.prototype.sA=function(a){if(this.W&&this.H){var b=_.E(a,_.Nb,2)||new _.Nb,c=_.E(a,_.Qo,5)||new _.Qo,d=_.E(a,_.QK,3)||new _.QK;a=_.pk(a,_.uya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.Lo.postMessage({detail:{impression:e.value.$b(),session_info:b.$b(),session_invariants:c.$b(),client_info:d.$b()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.O,clientY:this.V}}))}};_.t("sy1ll");
var cTc=function(){_.Jo.call(this)};_.L(cTc,_.Jo);cTc.prototype.sv=function(){return 1==_.D(_.E(this.H,SSc,7),1)};var dTc=new _.Fo("high_frequency_builder");
var eTc=function(a,b,c){a=new _.Li(a);c.Ma(a);var d=new _.Le(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var fTc=function(){_.Jo.call(this)};_.L(fTc,_.Jo);var gTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.wo;var e=new _.Wxa;e=_.A(e,1,d);_.x(b,1,e);_.A(b,3,1);_.x(a.H,8,b);_.A(a.H,12,c);_.A(a.H,13,c);_.A(a.H,4,d);_.A(a.H,3,c)}else 1==b&&(b=new _.wo,e=new _.Xxa,d=_.A(e,1,d),_.x(b,2,d),_.A(b,3,2),_.x(a.H,8,b),_.A(a.H,12,c),_.A(a.H,3,c));return a},hTc=new _.Fo("system_builder");
var iTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.VRc(b);this.Ma(this.H);this.wb=new _.Le(this);this.Ma(this.wb);this.H.ru()&&this.wb.listen(this.H,"visibilitychange",this.V)};_.L(iTc,_.N);iTc.prototype.V=function(){if(this.O.NP()){var a=this.H.zB()?102001:102E3;a=this.O.WF(a,0);this.O.uq(a)}};
var jTc=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};_.L(jTc,_.N);_.g=jTc.prototype;_.g.uq=function(a){var b=this.H;_.A(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.lc()&&b.O.xe();return new XSc(a)};_.g.WF=function(a,b){a=gTc(kTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.JL=function(){return this.H.O};
_.g.RM=function(a){var b=this.H,c=_.Ko(a,hTc),d=b.ha++,e=_.E(_.E(c.H,_.wo,8),_.Xxa,2),f=1E3*Date.now();_.A(e,2,f);_.A(c.H,13,d);b.ka.remove(_.D(a.H,12))};_.g.h_=function(){var a=this.O;if(!a.ha||a.H.V){var b=lTc(a.H,691).build();b=mTc(a.H,[b]);a.ka.sA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.i_=function(){var a=this.H,b=lTc(a,716);nTc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.xe();this.W&&(this.V=new iTc(this))};_.g.aka=function(){this.O.W();return _.AK(Array.from(this.O.V)).then()};
_.g.NP=function(){var a=this.H;return a.va&&a.ma&&!0};
var oTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.EK(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(oTc,_.N);oTc.prototype.initialize=function(){eTc(this.ma,this.O.xe,this.O);eTc(36E5,this.va,this)};oTc.prototype.W=function(){var a=this;if(0!=this.H.H.lc()&&(!this.ha||this.H.V)){var b=pTc(this.H),c=this.oa.sA(b);c&&(_.ki(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
oTc.prototype.va=function(){var a=this.H,b=lTc(a,1153).build();a.H.add(b);this.O.xe()};
var qTc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(qTc,_.N);_.g=qTc.prototype;_.g.uq=function(a){a=this.H.uq(a);this.aka();return a};_.g.WF=function(a,b){return this.H.WF(a,b)};_.g.JL=function(){return this.H.JL()};_.g.RM=function(a){return this.H.RM(a)};_.g.h_=function(){return this.H.h_()};_.g.i_=function(){return this.H.i_()};_.g.aka=function(){return this.H.aka()};_.g.NP=function(){return this.H.NP()};
var rTc=function(){};rTc.prototype.WQ=function(){return new cTc};
var sTc=function(){this.H=[]};sTc.prototype.add=function(a){this.H.push(a)};sTc.prototype.lc=function(){return this.H.length};
var tTc=function(){this.H={}};tTc.prototype.add=function(a){var b=_.D(a.H,12);this.H[b]=a};tTc.prototype.remove=function(a){delete this.H[a]};
var uTc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new tTc;this.H=new sTc;this.ma=this.va=this.V=!1},kTc=function(a,b){a=_.Ko((new _.Jo).initialize(new _.uya,a.Ba),hTc);_.A(a.H,10,b);return a},pTc=function(a){var b=a.H,c=b.H;b.H=[];return mTc(a,c)},mTc=function(a,b){var c=new _.Dza;var d=a.O.W.clone();c=_.x(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.x(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.E(b[h],_.Do,5);if(k&&_.E(k,_.RRc,1)){k=_.E(k,_.RRc,1);_.Q(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.E(k,TSc,20);if(void 0!==k&&void 0===f){f=new $Sc;var l=_.R(k,2);void 0!==l&&_.A(f,2,l);k=_.R(k,1);void 0!==k&&_.A(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 _.QK),void 0!==e&&_.A(d,6,e),void 0!==f&&_.x(d,13,f);(e=d)&&_.x(c,3,e);a=a.O.ha.clone();_.x(c,4,a);_.Cb(c,1,b);return c},lTc=function(a,b){var c=gTc(kTc(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 WSc;k=_.A(p,1,k);l=_.D(l.H,10);l=_.A(k,2,l);f.push(l)}d=f}716!=b&&(b=a.oa,_.A(c.H,6,a.W),e=new VSc,b=_.A(e,1,b),d&&_.Cb(b,2,d),d=_.Lo(c),_.x(d,3,b));nTc(a,c);return c},nTc=function(a,b){a.W=_.D(b.H,12);a.oa=_.D(_.E(_.E(b.H,_.wo,8),_.Wxa,1),1)};
var vTc=function(){};vTc.prototype.WQ=function(){return new fTc};
var wTc=function(){this.H=this.O=null};wTc.prototype.build=function(){null==this.H&&(this.H=new _.Xya);_.No(this.H,hTc,new vTc);_.No(this.H,dTc,new rTc);var a=this.H;var b=this.O;if(!_.Q(_.xTc(b),1)){var c=_.xTc(b),d=new _.oza;_.x(c,1,d)}b=_.E(_.xTc(b),_.oza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new uTc(this.O,this.H)};
var yTc=function(){this.W=new _.Nb;this.O=null;this.ha=new ZSc;_.A(this.ha,1,6);this.H=this.V=null};yTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.zTc=function(a,b){_.A(a.W,2,b);return a};_.ATc=function(a,b){if(null==a.V){a.V=new _.Bza;var c=_.xTc(a);_.x(c,2,a.V)}_.A(a.V,1,b)};_.xTc=function(a){null==a.O&&(a.O=new _.Qo);return a.O};_.BTc=function(a){null==a.H&&(a.H=new _.QK);return a.H};
_.CTc=function(){this.H=this.ha=null;this.W=new yTc;this.V=null;this.ka=this.ma=!1;this.O=null};_.DTc=function(a,b){a.ha=b;return a};_.ETc=function(a,b){a.H=b;return a};_.FTc=function(a,b){a.V=b;return a};_.CTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.GTc=function(a,b){_.A(a.W.W,6,b);return a};
_.CTc.prototype.build=function(){var a=new wTc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new bTc;this.H=this.ha=b}b=new oTc(a,this.ha,this.H,this.ma,this.O);a=new jTc(a,b,!1);this.ka&&(a=new qTc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.RK=function(a){return a instanceof Error};_.SK=function(a){return _.S(a,84,!1)};_.t("sy1la");
_.HTc=function(a){_.O(this,a,-1,null,null)};_.L(_.HTc,_.K);
_.TK=function(a){_.O(this,a,-1,null,null)};_.L(_.TK,_.K);_.TK.prototype.getOptions=function(){return _.E(this,_.HTc,1)};_.TK.prototype.Un=function(){return _.D(this,2)};_.TK.prototype.zd=function(){return _.E(this,_.gf,3)};
_.ITc=function(a){_.O(this,a,-1,null,_.UK)};_.L(_.ITc,_.K);_.UK=[[3,4,5,6,7,8,9,10]];
var VK,KTc;VK={};_.JTc=(VK[1]="modifiedDate",VK[2]="modifiedByMeDate",VK[3]="quotaBytesUsed",VK[4]="title",VK[6]="lastViewedByMeDate",VK[10]="createdDate",VK[7]="sharedWithMeDate",VK[9]="starred",VK[11]="recency",VK[5]="relevance",VK[12]="trashedDate",VK[13]="lastViewedByMeDate",VK);KTc={};_.LTc=(KTc[1]="asc",KTc[2]="desc",KTc);
_.MTc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.NTc=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():_.Qf();this.date=new Date(a)};_.Sf(_.NTc,_.rt);_.g=_.NTc.prototype;_.g.clone=function(){var a=new _.NTc(this.date);a.IG=this.IG;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.dw))))};_.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.p$a;_.g.getMilliseconds=_.rt.prototype.o$a;_.g.getDay=_.rt.prototype.getUTCDay;_.g.setFullYear=_.rt.prototype.setUTCFullYear;_.g.setMonth=_.rt.prototype.setUTCMonth;_.g.setDate=_.rt.prototype.setUTCDate;_.g.setHours=_.rt.prototype.nMa;_.g.setMinutes=_.rt.prototype.oMa;_.g.setSeconds=_.rt.prototype.pMa;
_.g.setMilliseconds=_.rt.prototype.q$a;
var OTc,QTc;OTc={};_.PTc=(OTc[1]="0",OTc[2]="1",OTc[3]="2",OTc);QTc={};_.RTc=(QTc[1]="asc",QTc[2]="desc",QTc);
_.STc=new _.Fo("drive_dataservice_builder");
_.TTc=_.ih&&0>_.sg(_.lh,"533");
_.UTc=new _.YSc("drive_dataservice_invariants");
_.VTc=new Map([[[1],1],[[6],7],[[2],2]]);_.WTc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.XTc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.SK(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.YTc=new Map([[36,function(a){return _.S(a,11,!1)}],[34,function(a){return _.S(a,9,!1)}],[25,function(a){return _.S(a,1,!1)}],[33,function(a){return _.S(a,8,!1)}],[26,function(a){return _.S(a,2,!1)}],[27,function(a){return _.S(a,3,!1)}],[29,function(a){return _.S(a,4,!1)}],[32,function(a){return _.S(a,7,!1)}],[40,function(a){return _.S(a,15,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,function(a){return _.S(a,10,!1)}],[38,function(a){return _.S(a,13,!1)}],[39,
function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.ZTc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.$Tc=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]]);_.aUc=new Map([[[2],3],[[1],2],[[0],1]]);_.bUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.cUc=new Map([[[_.jSc],1],[[_.kSc],2],[[_.lSc],3],[[_.mSc],4],[[_.nSc],5],[[_.oSc],6],[[_.pSc],7],[[_.qSc],8],[[_.rSc],10],[[_.sSc],11],[[_.tSc],12],[[_.uSc],13]]);_.dUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lf");
_.WK=function(a){_.O(this,a,-1,eUc,null)};_.L(_.WK,_.K);_.WK.prototype.Jc=function(){return _.D(this,2)};_.XK=function(a,b){return _.A(a,2,b)};_.g=_.WK.prototype;_.g.vk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.E(this,_.hl,4)};_.g.setItem=function(a){return _.x(this,4,a)};_.g.Bc=function(){return _.D(this,7)};_.g.t$=function(){return _.D(this,13)};_.g.qIa=function(a){_.A(this,13,a)};var eUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ld");
_.XE=function(a){_.O(this,a,-1,NSb,null)};_.L(_.XE,_.K);_.XE.prototype.getId=function(){return _.D(this,1)};_.XE.prototype.Pb=function(a){return _.A(this,1,a)};_.XE.prototype.Qz=function(){return _.D(this,2)};var NSb=[5,6,9,10,12,13,15,16];
var OSb;_.YE=function(a){_.O(this,a,-1,OSb,null)};_.L(_.YE,_.K);_.YE.prototype.Vm=function(){return _.D(this,1)};_.PSb=function(a,b){return _.A(a,1,b)};OSb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var hUc;_.$K=function(a){if(a instanceof _.pc)return a;if(_.RK(a)){if(a=_.qsb(a))return a}else a="string"===typeof a?_.ODa(a):_.ODa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.YK(a,2);_.ZK(a,6);return a};_.fUc=function(a){var b=a.hk();a=a.hG();return 15===b||32===b||33===b||401===a};_.gUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.aL=function(a){_.O(this,a,-1,null,null)};_.L(_.aL,_.K);
_.bL=function(a){return _.ak(a,1,0)};_.cL=function(a){return _.E(a,_.aL,4)};_.YK=function(a,b){return _.A(a,1,b)};_.ZK=function(a,b){return _.A(a,2,b)};hUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.dL=function(a){_.O(this,a,-1,hUc,null)};_.L(_.dL,_.K);_.g=_.dL.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Te=function(){return _.D(this,3)};
_.g.nm=function(a){return _.A(this,3,a)};_.g.Cv=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Mn=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.D(this,6)};_.g.BE=function(a,b){_.nk(this,8,a,b)};_.g.Vi=function(){return _.D(this,12)};_.g.ve=function(){return _.E(this,_.sf,17)};_.g.Gi=function(){return _.D(this,20)};_.g.Bc=function(){return _.D(this,21)};_.eL=function(a,b){return _.A(a,16,b)};_.t("sy1le");
_.fL=function(a){_.O(this,a,-1,iUc,null)};_.L(_.fL,_.K);_.fL.prototype.cR=function(){return _.ak(this,2,100)};_.fL.prototype.SS=function(a){return _.A(this,2,a)};_.fL.prototype.ve=function(){return _.E(this,_.sf,6)};_.fL.prototype.Bc=function(){return _.D(this,8)};var iUc=[5];
var jUc;jUc={};_.kUc=(jUc[0]="/drive/v2internal",jUc[1]="/drive/v2internal.corp",jUc[2]="/drive/v2internal.scary",jUc[4]="/drive/v2internal.scary",jUc[5]="/drive/v2beta",jUc[6]="/drive/v2.1beta",jUc);
_.lUc=new Set([0,1,2,3]);
_.mUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.nUc=_.A(new _.dL,15,!0);_.oUc=_.eL(new _.dL,!0);_.pUc=_.eL(new _.dL,!1);
_.qUc=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."]]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lj");
_.rUc=new Set([7,4,5,9,6,10,11,12]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.sUc=function(a){for(var b in a)delete a[b]};_.tUc=function(a){a=_.Zf(a);return 0===a.length?_.sha:new _.yg(a,_.qha)};_.uUc=function(a,b){a=_.Yi(a);b=_.Yi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy1lz");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vUc=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)};_.Sf(_.vUc,_.NRc);_.vUc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.vUc.prototype.update=function(a,b){this.H.update(a,b)};
_.vUc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.wUc=function(a,b){a.reset();a.update(b);return a.digest()};
_.xUc=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()};_.Sf(_.xUc,_.NRc);_.xUc.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 yUc=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};
_.xUc.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;)yUc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){yUc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){yUc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.xUc.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;yUc(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};

_.w();

}catch(e){_._DumpException(e)}
try{
_.gL=function(a,b){return _.A(a,82,b)};_.hL=function(a){return _.A(a,3,!0)};_.zUc=function(a,b){return _.A(a,7,b)};_.t("sy1lb");
_.AUc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.BUc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.iL={R_:"Versions",t7:"Metadata",j6:"Data",CU:"Offline"};_.CUc=new Map([[_.iL.R_,"versionKey"],[_.iL.t7,"k"]]);_.DUc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var HUc;_.EUc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.FUc=function(a){return(a=a&&_.EUc(a))&&a["x-guploader-uploadid"]};_.GUc=function(a){return(a=a&&_.EUc(a))&&a["x-google-trace"]};HUc=[6];_.jL=function(a){_.O(this,a,-1,HUc,null)};_.L(_.jL,_.K);_.kL=function(a,b){return _.A(a,14,b)};_.t("sy1m1");
var IUc,KUc;
_.JUc=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=IUc(e)||new _.pc;_.A(e,8,!0);k&&(k=_.vj(new _.uj(k),void 0).toString(),_.A(e,19,k));e.hG()||_.A(e,15,a||f);e.getMessage()||_.Sp(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.D(e,4)||_.Tp(e,d);e.hk()||(5===f?_.kL(e,7):0!==a||d?403===a?_.kL(e,22):503===a||429===a?_.kL(e,24):(_.fk(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.kL(e,2));e.uda(_.FUc(c));e.gda(_.GUc(c));
return e};IUc=function(a){if(!_.Ca(a))return null;var b=new _.pc,c=a.error;if(!c)return _.Tp(b,JSON.stringify(a)),null;_.A(b,15,c.code);_.Sp(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=KUc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.Tp(b,a);return b};
KUc={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,
shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.w();

}catch(e){_._DumpException(e)}
try{
_.LUc=function(a,b){return _.A(a,1,b)};_.MUc=function(a,b){return _.x(a,1,b)};_.NUc=function(a,b){return _.A(a,2,b)};_.OUc=function(a,b){return _.x(a,3,b)};_.t("sy1m2");

_.w();

}catch(e){_._DumpException(e)}
try{
_.PUc=function(a,b,c){c&&(a=_.Vg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Tg(a));return a};_.QUc=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};_.t("sy1mc");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.RUc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.w();

}catch(e){_._DumpException(e)}
try{
var SUc,TUc,XUc,aVc,bVc,cVc,uVc,eM,vVc,wVc,DVc,ZUc,jWc,YUc,yWc,zWc,GWc,IWc,KWc,MWc,NWc,OWc,QWc,gXc,hXc,kXc,lXc,mXc,oXc,pXc,rXc,uXc,nVc,yXc,oVc,zXc,AXc,BXc,BM,DM,DXc,FXc,IXc,JXc,KXc,LXc,MXc,NXc,QXc,SXc,TXc,VXc,WXc,kYc,jYc,nYc,pYc,qYc,rYc,wYc,zYc,BYc,CYc,IYc,HYc,GYc,EYc,FYc,EVc,QYc,RYc,MYc,SYc,NYc,xVc,TYc,yVc,zVc,AVc,BVc,CVc,UYc,WYc;_.lL=function(a,b,c){var d=new _.pc,e=_.fka(_.lL);_.A(d,20,e);_.ZK(d,a);_.YK(d,b?b:2);c&&_.kL(d,c);return d};
_.mL=function(a){var b;a instanceof _.pc?b=new _.qc(null,a):_.RK(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("ob`"+a);b.stack||(b.stack=_.fka(_.mL));return b};_.nL=function(a){throw _.wA(a);};SUc=function(a){return 7===a.hk()||24===a.qp()&&(a=a.hG(),503===a||429===a)?!0:!1};TUc=function(a,b){return b?b+"("+a+")":a};
_.oL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.nBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.UUc.includes(p)){var q=_.Wab.get(p);if(q){var r=_.Zab[p];a.GG&&r&&(q=r);a.rr&&(a.GG?(p=_.Yab[p])&&(q=p):(p=_.Xab[p])&&(q=p));q.split(",").forEach(function(u){var y=_.jia(u,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={c6:f.c6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.c6=[];l.forEach(function(p){return function(q){p.c6.push(q)}}(f));"owners"==k&&b&&f.c6.push("kind");e.push(TUc(f.c6.join(","),k))}return TUc(e.join(","),c)};_.VUc=function(a){var b=new _.Mo;b.append(_.oL(a,!0));return b.toString()};_.WUc=function(a,b){return a.filter(function(c){return b.includes(c)})};XUc=function(a){a=a.filter(function(b){return!_.Wab.has(b)});if(a.length)throw Error("Nc`"+a.join(", "));};
_.$Uc=function(a){if(a){var b=a.getMimeType();b&&_.gF(a,b.toLowerCase());YUc(a,_.pk(a,ZUc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};aVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};bVc=function(a,b){b&&(_.zj(a,"openDrive",!!_.S(b,2,!1)),_.zj(a,"reason",_.D(b,1)||0),_.zj(a,"syncType",_.D(b,3)||0),_.zj(a,"errorRecovery",!!_.S(b,4,!1)))};
cVc=function(a){a=_.Sp(_.kL(_.YK(new _.pc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.wA(a);};
uVc=function(a){if(a instanceof _.pL)return"request access";if(a instanceof _.qL)return"admin migrate to TD";if(a instanceof _.rL)return"authorize app";if(a instanceof _.sL)return"copy item";if(a instanceof _.tL)return"change category links";if(a instanceof _.uL)return"create item";if(a instanceof _.vL)return"create ws";if("undefined"!=typeof _.xL&&a instanceof _.xL)return"delete app";if("undefined"!=typeof _.yL&&a instanceof _.yL)return"delete backup";if(a instanceof _.zL)return"delete item";if("undefined"!=
typeof _.AL&&a instanceof _.AL)return"delete permission";if(a instanceof _.BL)return"delete revision";if(a instanceof _.CL)return"delete TD";if(a instanceof _.DC)return"delete pref";if(a instanceof _.DL)return"delete ws";if(a instanceof _.EL)return"download item";if(a instanceof _.FL||a instanceof _.GL)return"empty trash";if(a instanceof _.HL)return"find by ID";if(a instanceof _.zz)return"find by IDs";if(a instanceof _.dVc)return"item export start";if("undefined"!=typeof _.IL&&a instanceof _.IL)return"get app";
if("undefined"!=typeof _.JL&&a instanceof _.JL)return"insert app";if("undefined"!=typeof _.KL&&a instanceof _.KL)return"insert permission";if(a instanceof _.TK)return a=a.zd(),_.LL(a)?"quick access item query":_.ML(a)?"people predict item query":_.NL(a)?"drive priority query":"item query";if("undefined"!=typeof _.OL&&a instanceof _.OL)return"list android backup items request";if(a instanceof _.PL){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 _.eVc&&a instanceof _.eVc?"list backups":a instanceof _.fL?"list changes":a instanceof _.QL?"list permissions":"undefined"!=typeof _.RL&&a instanceof _.RL?"list revisions":a instanceof _.SL?"partial download item":a instanceof _.TL?"people api":a instanceof _.ZE?"get published category":"undefined"!=typeof _.UL&&a instanceof _.UL?"get remaining changes":a instanceof _.VL?"remove item":
"undefined"!=typeof _.WL&&a instanceof _.WL?"reparent item":a instanceof _.XL?"restore item":a instanceof _.$E?"list suggested workspace items":a instanceof _.cF?"list suggested workspaces":"undefined"!=typeof _.YL&&a instanceof _.YL?"update app":a instanceof _.ZL?"update category metadata":a instanceof _.dL?"update item":a instanceof _.$L?"update revision":a instanceof _.aM?"update TD":a instanceof _.EC?"update pref":a instanceof _.bM?"update ws":a instanceof _.OK?"get account":a instanceof _.fF?
"get workspace":a instanceof _.fVc?"list activity":a instanceof _.gVc?"list category metadata":a instanceof _.hVc?"create TD":"undefined"!=typeof _.iVc&&a instanceof _.iVc?"item export cancel":"undefined"!=typeof _.jVc&&a instanceof _.jVc?"item export status":"undefined"!=typeof _.kVc&&a instanceof _.kVc?"generate cse token":"undefined"!=typeof _.lVc&&a instanceof _.lVc?"get largest change ID":a instanceof _.CC?"list prefs":a instanceof _.cM?"multipart upload":a instanceof _.mVc?"list published categories":
a instanceof nVc?"init resumable upload":a instanceof oVc?"resumable upload chunk":a instanceof _.pVc?"resumable upload":a instanceof _.dF?"get TD":"undefined"!=typeof _.qVc&&a instanceof _.qVc?"move TD preflight":a instanceof _.dM?"list TDs":"undefined"!=typeof _.rVc&&a instanceof _.rVc?"get TD stats":a instanceof _.sVc?"test connection":"undefined"!=typeof _.tVc&&a instanceof _.tVc?"list workspaces":"unknown"};
eM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};vVc=function(a){if(a instanceof _.uL||a instanceof _.cM||a instanceof _.pVc||a instanceof nVc||a instanceof oVc)return(new _.fM).Dc(8);throw Error("$e");};wVc=function(a){if(a instanceof _.dL){var b=_.gk(_.fk(a.clone(),1),17);b=_.xk(b,_.nUc)}else b=!1;b||(a instanceof _.dL?(a=_.gk(_.fk(a.clone(),1),17),b=_.xk(a,_.oUc)||_.xk(a,_.pUc)):b=!1);return b?!1:!0};
_.gM=function(a){return xVc.includes(a.constructor)?wVc(a):!1};DVc=function(a,b){if(yVc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&zVc.includes(a.constructor))return!0;var c=_.cL(b);if(c&&!_.S(c,7,!1)&&AVc.includes(a.constructor)&&!_.hM(a)||_.S(b,56,!1)&&_.hM(a)||_.S(b,57,!1)&&BVc.includes(a.constructor)||!(!_.S(b,53,!1)||zVc.includes(a.constructor)||AVc.includes(a.constructor)||_.hM(a)||BVc.includes(a.constructor)||CVc.includes(a.constructor)))return!0}return!1};
_.iM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(EVc(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)!==_.D(d,2)&&cVc(h):(a.set(h,_.D(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.qz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.FVc=function(a){var b=new _.Sk;return _.A(b,1,a)};_.GVc=function(a,b){return _.A(a,7,b)};_.HVc=function(a,b){return _.A(a,8,b)};
_.IVc=function(a,b){return _.A(a,11,b)};_.JVc=function(a,b){return _.A(a,1,b)};_.KVc=function(a,b){return _.A(a,4,b)};_.LVc=function(a,b){return _.A(a,5,b)};_.MVc=function(a,b){return _.A(a,6,b)};_.NVc=function(a,b){return _.A(a,7,b)};_.OVc=function(a,b){return _.A(a,8,b)};_.PVc=function(a,b){return _.A(a,9,b)};_.QVc=function(a,b){return _.A(a,10,b)};_.RVc=function(a,b){return _.A(a,11,b)};_.SVc=function(a,b){return _.A(a,12,b)};_.TVc=function(a,b){return _.A(a,16,b)};
_.UVc=function(a,b){return _.A(a,17,b)};_.VVc=function(a,b){return _.A(a,20,b)};_.WVc=function(a,b){return _.A(a,21,b)};_.XVc=function(a,b){return _.A(a,31,b)};_.YVc=function(a,b){return _.A(a,32,b)};_.ZVc=function(a,b){return _.A(a,33,b)};_.$Vc=function(a,b){return _.A(a,42,b)};_.aWc=function(a,b){return _.A(a,43,b)};_.bWc=function(a,b){return _.A(a,46,b)};_.cWc=function(a,b){return _.A(a,47,b)};_.dWc=function(a,b){return _.A(a,48,b)};_.jM=function(a){_.O(this,a,-1,null,null)};_.L(_.jM,_.K);
_.eWc=function(a){_.O(this,a,-1,null,null)};_.L(_.eWc,_.K);_.fWc=function(a,b){return _.A(a,2,b)};ZUc=function(a){_.O(this,a,-1,null,null)};_.L(ZUc,_.K);ZUc.prototype.getMimeType=function(){return _.D(this,1)};ZUc.prototype.getUrl=function(){return _.D(this,2)};_.kM=function(a){_.O(this,a,-1,null,null)};_.L(_.kM,_.K);_.kM.prototype.Pe=function(){return _.D(this,2)};_.kM.prototype.wh=function(a){return _.A(this,2,a)};_.kM.prototype.uh=function(a){return _.A(this,3,a)};
_.gWc=function(a,b){return _.A(a,1,b)};_.hWc=function(a,b){return _.Cb(a,2,b)};_.iWc=function(a,b){return _.Cb(a,3,b)};jWc=[2];_.lM=function(a){_.O(this,a,-1,jWc,null)};_.L(_.lM,_.K);_.lM.prototype.Te=function(){return _.D(this,1)};_.lM.prototype.nm=function(a){return _.A(this,1,a)};_.lM.prototype.Lva=function(a,b){return _.nk(this,2,a,b)};_.mM=function(a){_.O(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.Pe=function(){return _.D(this,1)};_.mM.prototype.wh=function(a){return _.A(this,1,a)};
_.mM.prototype.uh=function(a){return _.A(this,2,a)};_.nM=function(a,b){return _.ek(a,2,b)};_.kWc=function(a,b){_.A(a,8,b)};_.lWc=function(a,b){return _.Cb(a,15,b)};_.mWc=function(a,b){return _.x(a,17,b)};_.nWc=function(a,b){return _.A(a,19,b)};_.oWc=function(a,b){_.A(a,26,b)};_.pWc=function(a,b){_.A(a,31,b)};_.qWc=function(a,b){_.A(a,34,b)};_.rWc=function(a,b){return _.A(a,44,b)};_.sWc=function(a,b){return _.A(a,52,b)};YUc=function(a,b){_.Cb(a,58,b)};_.tWc=function(a,b){return _.A(a,72,b)};
_.oM=function(a,b){return _.x(a,84,b)};_.uWc=function(a,b){_.x(a,85,b)};_.vWc=function(a,b){return _.A(a,92,b)};_.wWc=function(a,b){return _.A(a,93,b)};_.xWc=function(a){_.O(this,a,-1,null,null)};_.L(_.xWc,_.K);_.pM=function(a){return _.S(a,2,!1)};yWc=[3];zWc=function(a){_.O(this,a,-1,yWc,null)};_.L(zWc,_.K);zWc.prototype.Xi=function(){var a=_.D(this,3);this.Ta||(this.Ta={});if(!this.Ta[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ta[3]=!0}_.hb(this)&&_.ib(a);return a};
var AWc=[3],BWc=function(a){_.O(this,a,-1,AWc,null)};_.L(BWc,_.K);BWc.prototype.Xi=function(){return _.Nd(this,3)};var CWc=[3],DWc=function(a){_.O(this,a,-1,CWc,null)};_.L(DWc,_.K);DWc.prototype.Xi=function(){return _.Nd(this,3)};_.qM=function(a){_.O(this,a,-1,null,null)};_.L(_.qM,_.K);_.qM.prototype.Xa=function(){return _.D(this,1)};_.qM.prototype.Jb=function(a){return _.A(this,1,a)};_.qM.prototype.Ei=function(){return _.fk(this,1)};_.qM.prototype.kh=function(){return _.Q(this,1)};
_.rM=function(a){return _.Zj(a,45,1)};_.LL=function(a){return _.S(a,47,!1)};_.ML=function(a){return _.S(a,49,!1)};_.NL=function(a){return _.S(a,52,!1)};_.sM=function(a){return _.F(a,2,"")};_.EWc=function(a,b){return _.ek(a,27,b)};_.tM=function(a){return _.Zj(a,39,0)};_.uM=function(a){return _.S(a,40,!1)};_.FWc=function(a){return _.qt.prototype.oP.call(a,!0)+"T"+_.Zg(a.getHours(),2)+":"+_.Zg(a.getMinutes(),2)+":"+_.Zg(a.getSeconds(),2)+a.M$()};
GWc=function(a,b){return _.zSc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.HWc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.LK(c,"deleting object store "+b);}};IWc=function(){var a=new _.CTc;a.O=12E4;a.ma=!0;return a};_.JWc=function(a){_.O(this,a,-1,null,null)};_.L(_.JWc,_.K);KWc=[3,4,10,18,19,28];_.uL=function(a){_.O(this,a,-1,KWc,null)};_.L(_.uL,_.K);_.g=_.uL.prototype;_.g.getMimeType=function(){return _.D(this,1)};_.g.getTitle=function(){return _.D(this,2)};
_.g.setTitle=function(a){return _.A(this,2,a)};_.g.BE=function(a,b){_.nk(this,3,a,b)};_.g.ve=function(){return _.E(this,_.sf,7)};_.g.fj=function(){return _.D(this,9)};_.g.Bc=function(){return _.D(this,14)};_.g.Fz=function(){return _.E(this,_.JWc,15)};_.g.i2=function(){return _.D(this,21)};_.g.Jc=function(){return _.D(this,23)};_.vM=function(a,b){return _.A(a,1,b)};_.wM=function(a,b){return _.ek(a,3,b)};_.LWc=function(a,b){return _.A(a,12,b)};_.zL=function(a){_.O(this,a,-1,null,null)};_.L(_.zL,_.K);
_.zL.prototype.getId=function(){return _.D(this,1)};_.zL.prototype.Pb=function(a){return _.A(this,1,a)};_.zL.prototype.ve=function(){return _.E(this,_.sf,3)};_.CL=function(a){_.O(this,a,-1,null,null)};_.L(_.CL,_.K);_.CL.prototype.getId=function(){return _.D(this,1)};_.CL.prototype.Pb=function(a){return _.A(this,1,a)};_.CL.prototype.ve=function(){return _.E(this,_.sf,2)};MWc=[7,8];_.aM=function(a){_.O(this,a,-1,MWc,null)};_.L(_.aM,_.K);_.g=_.aM.prototype;_.g.getId=function(){return _.D(this,1)};
_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.ve=function(){return _.E(this,_.sf,4)};_.g.Am=function(){return _.R(this,15)};_.dM=function(a){_.O(this,a,-1,null,null)};_.L(_.dM,_.K);_.dM.prototype.getOptions=function(){return _.E(this,_.HTc,1)};_.dM.prototype.Un=function(){return _.D(this,2)};_.dM.prototype.zd=function(){return _.E(this,_.GK,3)};NWc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};
OWc=null;_.PWc=function(a){if(_.oma)return _.n.atob(a);var b="";_.qma(a,function(c){b+=String.fromCharCode(c)});return b};QWc=function(){this.O=0;this.H=[]};_.g=QWc.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=RWc(this,a);return this.H[a]};_.g.set=function(a,b){a=RWc(this,a);this.H[a]=b};_.g.lc=function(){return this.H.length};_.g.vc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};
_.g.Hg=function(){var a=this.lc(),b=this.lc(),c=[];for(a=this.lc()-a;a<b;a++)c.push(this.get(a));return c};_.g.nf=function(){for(var a=[],b=this.lc(),c=0;c<b;c++)a[c]=c;return a};_.g.De=function(a){return a<this.lc()};_.g.Iq=function(a){for(var b=this.lc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var RWc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},SWc=function(a){_.O(this,a,-1,null,null)};_.L(SWc,_.K);_.TWc=function(a){_.O(this,a,-1,null,null)};
_.L(_.TWc,_.K);_.TWc.prototype.Ye=function(){return _.D(this,1)};_.TWc.prototype.lj=function(a){return _.A(this,1,a)};_.TWc.prototype.Cb=function(){return _.D(this,4)};_.TWc.prototype.Dc=function(a){return _.A(this,4,a)};var UWc=function(a){_.O(this,a,-1,null,null)};_.L(UWc,_.K);UWc.prototype.yo=function(){return _.D(this,5)};var VWc=function(a,b){_.A(a,6,b)},WWc=function(a){_.O(this,a,-1,null,null)};_.L(WWc,_.K);_.g=WWc.prototype;_.g.dib=function(a){_.A(this,1,a)};
_.g.BOb=function(a){_.A(this,2,a)};_.g.qy=function(){return _.R(this,3)};_.g.eib=function(a){_.A(this,3,a)};_.g.iOb=function(a){_.A(this,4,a)};var XWc=function(a){_.O(this,a,-1,null,null)};_.L(XWc,_.K);XWc.prototype.qy=function(){return _.R(this,2)};var YWc=function(a,b){return _.A(a,2,b)},ZWc=function(a,b){_.A(a,3,b)};XWc.prototype.nB=function(){return _.D(this,6)};var $Wc=function(a,b){return _.A(a,8,b)},aXc=function(a){_.O(this,a,-1,null,null)};_.L(aXc,_.K);
var bXc=function(a){_.O(this,a,-1,null,null)};_.L(bXc,_.K);bXc.prototype.qy=function(){return _.R(this,1)};bXc.prototype.yo=function(){return _.D(this,5)};bXc.prototype.Km=function(){return _.D(this,6)};bXc.prototype.Dt=function(a){return _.A(this,6,a)};var cXc=function(a){_.O(this,a,-1,null,null)};_.L(cXc,_.K);var dXc=function(a,b){_.A(a,4,b)},eXc=function(a){_.O(this,a,-1,null,null)};_.L(eXc,_.K);_.g=eXc.prototype;_.g.zd=function(){return _.E(this,_.TWc,1)};
_.g.getState=function(){return _.E(this,UWc,2)};_.g.Nd=function(a){return _.x(this,2,a)};_.g.pt=function(){return _.Q(this,2)};_.g.ZE=function(){return _.E(this,bXc,16)};var fXc=function(a){_.O(this,a,-1,null,null)};_.L(fXc,_.K);fXc.prototype.getEnvironment=function(){return _.D(this,2)};fXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.UUc=[42,1005,20,50,18,1003,1002];gXc=[73,71];_.xM=function(a){_.O(this,a,-1,null,null)};_.L(_.xM,_.K);
_.xM.prototype.getId=function(){return _.D(this,1)};_.xM.prototype.Pb=function(a){return _.A(this,1,a)};_.xM.prototype.getMimeType=function(){return _.D(this,2)};_.xM.prototype.aG=function(){return _.D(this,8)};hXc=[22];_.fM=function(a){_.O(this,a,-1,hXc,null)};_.L(_.fM,_.K);_.g=_.fM.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.getItem=function(){return _.E(this,_.hl,2)};_.g.setItem=function(a){return _.x(this,2,a)};
_.g.Yj=function(){return _.D(this,3)};_.g.Jc=function(){return _.D(this,5)};_.iXc=function(a,b){return _.A(a,5,b)};_.g=_.fM.prototype;_.g.cK=function(){return _.D(this,7)};_.g.uda=function(a){return _.A(this,7,a)};_.g.fga=function(a){_.A(this,9,a)};_.g.SMa=function(a){_.A(this,10,a)};_.g.gN=function(){return _.D(this,16)};_.g.gda=function(a){return _.A(this,16,a)};var jXc=function(a){_.xi.call(this,a);this.connectionState=_.Esb.get(a)};_.L(jXc,_.xi);
kXc=function(a){var b=new _.li;a.listen("loadend",_.vb(function(c,d){var e=d.wk(),f=d.getError();null==e||f?c.Pd(f):c.callback(e);d.dispose()},b,a));return b};_.pL=function(a){_.O(this,a,-1,null,null)};_.L(_.pL,_.K);_.pL.prototype.Jc=function(){return _.D(this,1)};_.qL=function(a){_.O(this,a,-1,null,null)};_.L(_.qL,_.K);_.qL.prototype.getId=function(){return _.D(this,1)};_.qL.prototype.Pb=function(a){return _.A(this,1,a)};_.qL.prototype.Lk=function(){return _.D(this,2)};
_.rL=function(a){_.O(this,a,-1,null,null)};_.L(_.rL,_.K);_.rL.prototype.zh=function(){return _.D(this,1)};_.rL.prototype.Jc=function(){return _.D(this,2)};_.rL.prototype.ve=function(){return _.E(this,_.sf,4)};lXc=[3,7];_.sL=function(a){_.O(this,a,-1,lXc,null)};_.L(_.sL,_.K);_.g=_.sL.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};
_.g.BE=function(a,b){_.nk(this,3,a,b)};_.g.ve=function(){return _.E(this,_.sf,5)};_.vL=function(a){_.O(this,a,-1,null,null)};_.L(_.vL,_.K);_.vL.prototype.getTitle=function(){return _.D(this,1)};_.vL.prototype.setTitle=function(a){return _.A(this,1,a)};_.vL.prototype.ve=function(){return _.E(this,_.sf,2)};_.BL=function(a){_.O(this,a,-1,null,null)};_.L(_.BL,_.K);_.BL.prototype.Jc=function(){return _.D(this,1)};_.BL.prototype.ve=function(){return _.E(this,_.sf,3)};
_.DL=function(a){_.O(this,a,-1,null,null)};_.L(_.DL,_.K);_.DL.prototype.getId=function(){return _.D(this,1)};_.DL.prototype.Pb=function(a){return _.A(this,1,a)};_.DL.prototype.ve=function(){return _.E(this,_.sf,3)};_.FL=function(a){_.O(this,a,-1,null,null)};_.L(_.FL,_.K);_.FL.prototype.ve=function(){return _.E(this,_.sf,1)};_.VL=function(a){_.O(this,a,-1,null,null)};_.L(_.VL,_.K);_.g=_.VL.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};
_.g.getParent=function(){return _.D(this,2)};_.g.Bg=function(a){return _.A(this,2,a)};_.g.ve=function(){return _.E(this,_.sf,3)};_.XL=function(a){_.O(this,a,-1,null,null)};_.L(_.XL,_.K);_.g=_.XL.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.D(this,2)};_.g.Bg=function(a){return _.A(this,2,a)};_.g.ve=function(){return _.E(this,_.sf,3)};_.$L=function(a){_.O(this,a,-1,null,null)};_.L(_.$L,_.K);
_.$L.prototype.Jc=function(){return _.D(this,1)};_.$L.prototype.ve=function(){return _.E(this,_.sf,4)};_.bM=function(a){_.O(this,a,-1,null,null)};_.L(_.bM,_.K);_.g=_.bM.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.D(this,3)};_.g.Nd=function(a){return _.A(this,3,a)};_.g.pt=function(){return _.Q(this,3)};
_.g.ve=function(){return _.E(this,_.sf,5)};mXc=[2,3];_.tL=function(a){_.O(this,a,-1,mXc,null)};_.L(_.tL,_.K);_.tL.prototype.Bc=function(){return _.D(this,1)};_.tL.prototype.ve=function(){return _.E(this,_.sf,4)};_.nXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};oXc=[3,4];_.PL=function(a){_.O(this,a,-1,oXc,null)};_.L(_.PL,_.K);_.PL.prototype.getType=function(){return _.D(this,1)};_.PL.prototype.ve=function(){return _.E(this,_.sf,2)};pXc=[1];_.TL=function(a){_.O(this,a,-1,pXc,null)};
_.L(_.TL,_.K);_.TL.prototype.Xm=function(){return _.Nd(this,1)};_.qXc=function(a){_.O(this,a,-1,null,null)};_.L(_.qXc,_.K);_.g=_.qXc.prototype;_.g.getKey=function(){return _.D(this,1)};_.g.ys=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.Ei=function(){return _.fk(this,2)};_.g.kh=function(){return _.Q(this,2)};_.g.Te=function(){return _.D(this,3)};_.g.nm=function(a){return _.A(this,3,a)};_.g.getType=function(){return _.D(this,4)};
rXc=[1];_.sXc=function(a){_.O(this,a,-1,rXc,null)};_.L(_.sXc,_.K);_.tXc=function(){var a=void 0===a?1E3:a;this.O=new _.rl;this.H=new _.rl;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.vXc=function(a){var b=a.O.Hg();a.V&&b.push(uXc("...","...","...","..."));_.za(b,a.H.Hg());return b};_.wXc=function(a){var b=[];a=_.vXc(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")};
_.tXc.prototype.info=function(a,b){_.yM(this,a,b,"info")};_.tXc.prototype.config=function(a,b){_.yM(this,a,b,"config")};_.tXc.prototype.log=function(a,b,c){if(!OWc){OWc={};for(var d=0,e;e=_.kka[d];d++)OWc[e.value]=e,OWc[e.name]=e}_.yM(this,a,b,c)};_.yM=function(a,b,c,d){a.H.lc()>=a.ha&&(a.V=!0,_.sl(a.H));var e=Date.now()-a.startTime;b=uXc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.lc()<a.W?a.O.enqueue(b):a.H.enqueue(b)};
uXc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.fVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.hVc=function(a){this.request=a;this.requestId=_.ah()};_.xXc=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};_.cM=function(a,b,c,d){this.request=a;this.file=b;this.vQ=void 0===c?null:c;this.metadata=d};
_.pVc=function(a,b,c,d){this.request=a;this.file=b;this.vQ=void 0===c?null:c;this.metadata=d};nVc=function(a,b){this.request=a;this.metadata=b};yXc=function(a,b,c){this.O=a;this.H=b;this.V=c};oVc=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};_.sVc=function(){this.H=_.uf(new _.sf,312)};zXc=function(){};_.gVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.mVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
AXc=function(a,b){this.H=a;this.O=b};BXc=function(a){_.xi.call(this,"Ab");this.H=a};_.L(BXc,_.xi);BXc.prototype.Ze=function(){return this.H};_.zM=function(a){a.supportsTeamDrives=!0};_.CXc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Nd(a,27)));this.initialize(a)};
_.CXc.prototype.initialize=function(a){var b=_.WUc(this.H,_.Nd(a,28));if(0<b.length)throw Error("Le`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.MK(_.NK(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));_.Ea(this.H);this.H.sort();XUc(this.H)};_.AM=function(a){return[].concat(_.nd(a.H))};BM=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.CM=function(a,b,c){0!==b.length&&(a.VI.length&&a.append(" "+(c||"and")+" "),a.append(b))};DM=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(BM(c));e.push("in");e.push(b);_.CM(a,e.join(" "))}};_.EM=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());_.CM(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(")");_.CM(a,d.join(""))}};
_.EXc=function(a){var b=new _.NTc;b.setTime(a);return b};FXc=function(a,b){b=_.Nd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(BM(b));_.CM(a,c.join(" "))}};_.GXc=function(a){a=_.pk(a,_.qM,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Xa());return b.join(",")};_.HXc=function(a){a=a.pB();return null==a||0==a.length?"":a.map(function(b){b=_.D(b,1);if(0==b)throw Error("Me");return _.BRc[b]}).join(",")};
IXc=function(a,b){if(a.length){var c=new _.Mo;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(BM(d.Xa()));_.CM(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 BM(e.Xa())});d.push(a.join(", "));return d.join(" ")}return""};
KXc=function(a){if(_.R(a,2))return"any";switch(a.Xa()){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!=_.D(c,2)){var d=LXc(_.D(c,1));c=BM(_.FWc(_.EXc(_.D(c,2)||0)));_.CM(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 _.Mo,c=_.pk(a,_.Gl,4),d=0;d<c.length;d++){var e=c[d],f=e.Xa();if(f){var h=_.D(e,1),k=_.S(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(BM(f));_.CM(b,l.join(" "))}}for(var p=_.pk(a,_.Fl,5),q=0;q<p.length;q++){var r=p[q],u=r.Xa();if(u){var y=[];_.S(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(BM(u));_.CM(b,y.join(" "))}}var z=_.Kl(a);if(z&&0!=z.length){for(var C=[],G=[],I=[],M=[],P=[],V=[],pa=0;pa<
z.length;pa++){var ia=z[pa];ia.Xa()&&(1===_.Zj(ia,3,0)?_.R(ia,4)?G.push(ia):C.push(ia):_.R(ia,4)?_.S(ia,2,!1)?V.push(ia):P.push(ia):_.S(ia,2,!1)?M.push(ia):I.push(ia))}var qa=IXc(C,!1),ta=IXc(G,!0),va=JXc(I,!1,!1),Ya=JXc(M,!0,!1),Ga=JXc(P,!1,!0),Pa=JXc(V,!0,!0),$b=new _.Mo;if(va||Ga||qa||ta)_.CM($b,va,"or"),_.CM($b,Ga,"or"),_.CM($b,qa,"or"),_.CM($b,ta,"or");$b.VI.length&&_.CM(b,"("+$b.toString()+")","and");var nb=new _.Mo;if(Ya||Pa)_.CM(nb,Ya,"and"),_.CM(nb,Pa,"and");nb.VI.length&&_.CM(b,"("+nb.toString()+
")","and")}for(var mc=_.pk(a,_.Dl,7),Lc=0;Lc<mc.length;Lc++)MXc(b,"modifiedDate",mc[Lc]);for(var yc=_.pk(a,_.Dl,8),be=0;be<yc.length;be++)MXc(b,"lastViewedByMeDate",yc[be]);_.EM(b,"trashed",a.Sh());_.EM(b,"explicitlyTrashed",_.R(a,17));_.EM(b,"starred",_.R(a,10));_.EM(b,"hidden",a.Am());for(var Id=_.Ll(a),Xe=0;Xe<Id.length;Xe++){var lc=Id[Xe];DM(b,"parents",lc.Xa(),_.S(lc,2,!1))}for(var rb=_.pk(a,_.jf,13),yf=0;yf<rb.length;yf++){var pg=rb[yf];DM(b,"owners",pg.Xa(),_.S(pg,2,!1))}for(var Ce=_.pk(a,
_.jf,14),Kh=0;Kh<Ce.length;Kh++){var tf=Ce[Kh];DM(b,"writers",tf.Xa(),_.S(tf,2,!1))}for(var Lh=_.pk(a,_.jf,15),Of=0;Of<Lh.length;Of++){var nj=Lh[Of];DM(b,"readers",nj.Xa(),_.S(nj,2,!1))}_.R(a,16)&&_.CM(b,"sharedWithMe");_.EM(b,"unparented",_.R(a,34));for(var De=_.pk(a,_.Al,35)||[],Ie=_.m(De),Pg=Ie.next();!Pg.done;Pg=Ie.next())DM(b,"ancestors",Pg.value.Xa(),!1);for(var Ug=_.pk(a,_.Al,38)||[],Bi=_.m(Ug),Zi=Bi.next();!Zi.done;Zi=Bi.next())DM(b,"descendants",Zi.value.Xa(),!1);for(var yl=_.pk(a,_.El,37)||
[],pm=_.m(yl),ji=pm.next();!ji.done;ji=pm.next())DM(b,"folderFeatures",ji.value.Xa(),!1);for(var zf=_.Nd(a,39),Ci=_.m(zf),ve=Ci.next();!ve.done;ve=Ci.next()){var oj=ve.value,zh=[];zh.push("templateData.description");zh.push("contains");zh.push(BM(oj));_.CM(b,zh.join(" "))}for(var Zh=_.Nd(a,40),Mh=0;Mh<Zh.length;Mh++){var Uj=[];0==Mh&&Uj.push("(");Uj.push(BM(Zh[Mh]));Uj.push("in");Uj.push("templateData.categories");Mh==Zh.length-1&&Uj.push(")");_.CM(b,Uj.join(" "),0==Mh?"and":"or")}var eh=_.D(a,41);
if(null!=eh){var sh=[];sh.push("templateData.galleryState");sh.push("=");sh.push(BM(_.PTc[eh]||""));_.CM(b,sh.join(" "))}var qg=_.D(a,42);if(null!=qg){var dg=[];dg.push("visibility");dg.push("=");dg.push(BM(NXc(qg)));_.CM(b,dg.join(" "))}for(var pi=_.pk(a,_.xl,44),Nh=0;Nh<pi.length;++Nh){var $h=pi[Nh];DM(b,"actionItems",KXc($h),_.S($h,3,!1))}if(_.Q(a,50)){var th=[];th.push("pairedDocType");var pj=_.S(a,50,!1)?"!=":"=";th.push(pj);th.push(BM("NONE"));_.CM(b,th.join(" "))}DM(b,"workspaceIds",a.Qp(),
!1);for(var Ej=_.pk(a,_.Bl,57),Vj=0;Vj<Ej.length;Vj++){var qj=[];0==Vj&&qj.push("(");qj.push(BM(Ej[Vj].Xa()));qj.push("in");qj.push("approvals");Vj==Ej.length-1&&qj.push(")");_.CM(b,qj.join(" "),0==Vj?"and":"or")}if(_.Q(a,58)){var Ee=a.Pq(),Di=Ee.Xa(),rk=_.S(Ee,2,!1);if(Di){var sk=[];rk&&sk.push("not");sk.push("creator");sk.push("=");sk.push(BM(Di));_.CM(b,sk.join(" "))}}var jc=_.E(a,_.roa,59);if(jc)for(var Ag=_.m(_.pk(jc,_.ooa,1)),we=Ag.next();!we.done;we=Ag.next()){var Ei=we.value;DM(b,"categoryMetadata",
Ei.Vm());for(var eg=_.m(_.pk(Ei,_.moa,2)),Wj=eg.next();!Wj.done;Wj=eg.next()){var fg=Wj.value,Pe=_.D(fg,1),zl=_.Xj(fg,_.Cl[0]);if(10==zl){_.E(fg,_.foa,10);var Fj=_.R(fg,15);(void 0===Fj?0:Fj)?_.CM(b,Pe+" is null"):_.CM(b,"not ("+Pe+" is null)")}else{var Af=new _.Mo,Wd=void 0;switch(zl){case 3:Wd=_.E(fg,zWc,3);for(var Fi=_.m(Wd.Xi()),Te=Fi.next();!Te.done;Te=Fi.next())_.EM(Af,Pe,Te.value,"or");break;case 14:for(var Wl=Wd=_.E(fg,_.Zna,14),Gj=new Map([[1,"="],[2,">"],[3,"<"]]),$i=_.m(Wl.Xi()),bf=$i.next();!bf.done;bf=
$i.next()){var qm=bf.value,rm=Gj.get(_.D(Wl,2));if(!rm)throw Error("Ne");var Rm=[Pe,rm,BM(qm.getYear()+"-"+qm.getMonth()+"-"+qm.getDay())];_.CM(Af,Rm.join(" "),"or")}break;case 8:for(var Cn=Wd=_.E(fg,_.eoa,8),zk=new Map([[1,"="],[2,">"],[3,"<"]]),Rh=_.m(Cn.Xi()),Lj=Rh.next();!Lj.done;Lj=Rh.next()){var Ak=Lj.value,$m=zk.get(_.D(Cn,2));if(!$m)throw Error("Ne");_.CM(Af,[Pe,$m,Ak].join(" "),"or")}break;case 9:for(var eo=Wd=_.E(fg,BWc,9),an=new Map([[1,"in"]]),$l=_.m(eo.Xi()),Dm=$l.next();!Dm.done;Dm=
$l.next()){var xr=Dm.value,aF=an.get(_.D(eo,2));if(!aF)throw Error("Ne");_.CM(Af,[xr,aF,Pe].join(" "),"or")}break;case 6:for(var EI=Wd=_.E(fg,_.joa,6),bF=new Map([[1,"="]]),lY=_.m(EI.Xi()),FI=lY.next();!FI.done;FI=lY.next()){var mY=FI.value,nY=bF.get(_.D(EI,2));if(!nY)throw Error("Ne");_.CM(Af,[Pe,nY,BM(mY)].join(" "),"or")}break;case 7:for(var Iga=Wd=_.E(fg,_.hoa,7),Pxb=new Map([[1,"in"]]),TYa=_.m(Iga.Xi()),Jga=TYa.next();!Jga.done;Jga=TYa.next()){var Qxb=Jga.value,Rxb=Pxb.get(_.D(Iga,2));if(!Rxb)throw Error("Ne");
_.CM(Af,[BM(Qxb),Rxb,Pe].join(" "),"or")}break;case 4:for(var Sxb=Wd=_.E(fg,_.loa,4),UYa=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),VYa=_.m(Sxb.Xi()),Kga=VYa.next();!Kga.done;Kga=VYa.next()){var Txb=Kga.value,Uxb=UYa.get(_.D(Sxb,2));if(!Uxb)throw Error("Ne");_.CM(Af,[Pe,Uxb,BM(Txb)].join(" "),"or")}break;case 5:for(var WYa=Wd=_.E(fg,DWc,5),Vxb=new Map([[1,"in"]]),Wxb=_.m(WYa.Xi()),XYa=Wxb.next();!XYa.done;XYa=Wxb.next()){var YYa=XYa.value,ZYa=Vxb.get(_.D(WYa,2));if(!ZYa)throw Error("Ne");
_.CM(Af,[BM(YYa),ZYa,Pe].join(" "),"or")}break;case 12:for(var vxa=Wd=_.E(fg,_.coa,12),Xxb=new Map([[1,"="]]),Yxb=_.m(vxa.Xi()),wxa=Yxb.next();!wxa.done;wxa=Yxb.next()){var Zxb=wxa.value,$Ya=Xxb.get(_.D(vxa,2));if(!$Ya)throw Error("Ne");_.CM(Af,[Pe,$Ya,BM(Zxb)].join(" "),"or")}break;case 11:for(var xxa=Wd=_.E(fg,_.aoa,11),$xb=new Map([[1,"in"]]),ayb=_.m(xxa.Xi()),aZa=ayb.next();!aZa.done;aZa=ayb.next()){var Frc=aZa.value,cy=$xb.get(_.D(xxa,2));if(!cy)throw Error("Ne");_.CM(Af,[BM(Frc),cy,Pe].join(" "),
"or")}}_.R(fg,15)?_.CM(b,"not ("+Af+")"):_.CM(b,1<Wd.Xi().length?"("+Af+")":""+Af)}}}null!=_.R(a,60)&&_.EM(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var bZa=_.R(a,65);if(null!=bZa){var n6=[];n6.push("clientEncryptionDetails.encryptionState");n6.push("=");n6.push(BM(bZa?"encrypted":"unencrypted"));_.CM(b,n6.join(" "))}var cZa=_.pk(a,_.jf,68);if(cZa.length){for(var byb=[],GI=[],cyb=_.m(cZa),dZa=cyb.next();!dZa.done;dZa=cyb.next()){var dyb=dZa.value,eyb="sharedFrom = "+BM(dyb.Xa());_.S(dyb,
2,!1)?GI.push(eyb):byb.push(eyb)}DXc(b,byb,!1);DXc(b,GI,!0)}var fyb=_.pk(a,_.jf,67);if(fyb.length){for(var gyb=[],hyb=[],iyb=_.m(fyb),yxa=iyb.next();!yxa.done;yxa=iyb.next()){var eZa=yxa.value,zxa="sharedTo = "+BM(eZa.Xa());_.S(eZa,2,!1)?hyb.push(zxa):gyb.push(zxa)}DXc(b,gyb,!1);DXc(b,hyb,!0)}null!=_.R(a,69)&&_.EM(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.EM(b,"canAcceptOwnership",_.R(a,72));1==_.rM(a)&&FXc(b,a);return b.toString()};
_.PXc=function(a){var b=new _.Mo(_.OXc(a));_.LL(a)?_.CM(b,"isQuickAccessRequest"):_.ML(a)?_.CM(b,"isPeoplePredictRequest"):_.NL(a)&&_.CM(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.JTc[c.getType()]);d.push(_.RTc[c.Ef()]);_.R(c,3)&&d.push("foldersFirst");_.CM(b,d.join(" "))}_.EM(b,"domainSearch",_.R(a,18));_.EM(b,"offline",_.R(a,19));_.pk(a,_.qM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.GXc(a)),_.CM(b,c.join(" ")));a.pB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.HXc(a)),_.CM(b,c.join(" ")));if(c=_.rM(a))d=[],d.push("corpora"),d.push("="),d.push(BM(_.nXc[c])),_.CM(b,d.join(" "));_.S(a,66,!0)||_.EM(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.rM(a)&&FXc(b,a);_.S(a,48,!1)&&_.CM(b,"cachedOnly");return b.toString()};_.hM=function(a){if(a instanceof _.TK)a=a.zd();else if(!a)return!1;return a instanceof _.cF||a instanceof _.$E||"undefined"!=typeof _.FM&&a instanceof _.FM||a instanceof _.gf&&(_.LL(a)||_.ML(a)||_.NL(a))};
QXc=function(){_.Jo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(QXc,_.Jo);_.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)};_.GM=function(a){if(!a.O){a.O=new eXc;var b=_.Lo(a);_.x(b,56,a.O)}return a.O};QXc.prototype.getState=function(){var a=_.GM(this).getState();a||(a=new UWc,_.GM(this).Nd(a));return a};
var UXc=function(a,b){var c=new SWc;_.A(c,1,b);a=_.Lo(a);_.x(a,12,c)};QXc.prototype.ZE=function(){var a=_.GM(this).ZE();if(!a){a=new bXc;var b=_.GM(this);_.x(b,16,a)}return a};QXc.prototype.ma=function(){var a=_.E(_.GM(this),WWc,4);if(!a){a=new WWc;var b=_.GM(this);_.x(b,4,a)}return a};VXc=function(a){var b=_.E(_.GM(a),XWc,8);b||(b=new XWc,a=_.GM(a),_.x(a,8,b));return b};WXc=function(a){var b=_.E(_.GM(a),cXc,19);b||(b=new cXc,a=_.GM(a),_.x(a,19,b));return b};
_.XXc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Ki.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.L(_.XXc,_.Ki);_.g=_.XXc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.$m=function(){return 1===this.connectionState||2===this.connectionState};_.g.Ze=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?_.xA.DU:_.xA.Fha;else 1===a?(b=_.xA.FL,this.O=!0):3===a&&(b=_.xA.CU);if(b)return b=new jXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var YXc=function(a,b){this.userId=a;this.H=b;this.db=null},$Xc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return ZXc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Te"))},function(d){return a.handleError(d)})},"readwrite")};YXc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.lBb=b.ie(),d)).then(null,function(e){c.handleError(e)})};
var aYc=function(a){return new _.ei(function(b){var c=new Map;ZXc(a,function(d){return GWc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Ura:f.Ura},k=h.next())k=_.m(k.value),f.Ura=k.next().value,k.next().value.then(function(l){return function(p){p&&c.set(l.Ura,new _.Dza(p.lBb))}}(f));return _.AK([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},bYc=function(a,b){return ZXc(a,function(c){return c.remove(b)},
"readwrite")},ZXc=function(a,b,c){c=void 0===c?"readonly":c;return cYc(a).then(function(d){try{var e=_.HSc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.mL(f):void 0)}},function(d){return a.handleError(d)})},cYc=function(a){return a.db?_.fi(a.db):_.JSc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.HWc(c,"OfflineImpressions");b=_.GSc(c,"OfflineImpressions",{autoIncrement:!0});try{b.H.createIndex("userId",
"userId",void 0)}catch(d){throw _.LK(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ue"))}).then(function(b){return a.db=b},function(b){return _.gi(_.mL(b))})};YXc.prototype.handleError=function(a){a||(a=Error("Ve"));_.yM(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.fi()};_.dYc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Ki.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.L(_.dYc,_.Ki);_.dYc.prototype.Ze=function(){return this.H};
_.dYc.prototype.Il=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new BXc(a)))};_.dYc.prototype.Oy=function(a){this.O=a};var fYc=function(a,b,c,d,e,f){_.Ki.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Lb=new _.Le(this);this.Lb.listen(b,"Ab",function(k){k.Ze()||eYc(h)});this.Lb.listen(c,[_.xA.FL,_.xA.DU],function(){return void eYc(h)});this.W=e;f.then(function(){return eYc(h)})};_.L(fYc,_.Ki);
fYc.prototype.sA=function(a){return(this.H.Ze()||this.connectionState.Ze())&&this.H.O?$Xc(this.O,a):this.V.sA(a)};
var eYc=function(a){return a.H.O?aYc(a.O).then(function(b){b.forEach(function(c,d){a.V.sA(c).then(function(){return gYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},gYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return bYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
fYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var hYc=function(){};hYc.prototype.WQ=function(){return new QXc};var iYc=function(){this.H=new fXc};iYc.prototype.O=function(a){_.x(a,13,this.H)};iYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
kYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.bs=d;this.O=this.H=null;this.client=_.HM(_.$Tc,_.tM(a));this.W=_.D(a,94);this.ka=_.HM(_.dUc,_.Zj(a.Zf(),8,0));this.xxa=_.HM(_.aUc,_.Zj(a.Zf(),9,2));this.ma=_.S(a,10,!1);this.lu=_.MK(_.NK(a));this.OCa=_.uM(a);this.ha=jYc(a);this.buildLabel=a.Mi()};jYc=function(a){var b=[].concat(_.nd(_.XTc.keys())),c=[].concat(_.nd(_.YTc.keys())),d=_.cL(a);return b.filter(function(e){return _.XTc.get(e)(a)}).concat(c.filter(function(e){return d&&_.YTc.get(e)(d)}))};
_.HM=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};kYc.prototype.yo=function(a){return null==a?0:a?2:1};var lYc=function(a){if(a.O)return a.O.H("aU7Ts")};
kYc.prototype.Cb=function(a){return a instanceof _.mA||"undefined"!=typeof _.IM&&a instanceof _.IM||"undefined"!=typeof _.JM&&a instanceof _.JM||"undefined"!=typeof _.KM&&a instanceof _.KM?a.Cb():"undefined"!=typeof _.LM&&a instanceof _.LM||"undefined"!=typeof _.MM&&a instanceof _.MM||"undefined"!=typeof _.NM&&a instanceof _.NM||"undefined"!=typeof _.OM&&a instanceof _.OM||"undefined"!=typeof _.PM&&a instanceof _.PM?a.response?a.response.Cb():null:null};kYc.prototype.Mi=function(){return this.buildLabel};
var mYc=function(a){return a.V.Ze()||a.connectionState.Ze()?2:1};kYc.prototype.getEnvironment=function(){return this.bs};nYc=function(a,b){this.H=a;var c=new _.iya;_.jya(c,b.ha);a=this.H.JL();var d=_.BTc(a);_.x(d,10,c);(c=b.Mi())&&_.ATc(a,c);this.H.i_();this.O=b};
_.oYc=function(a,b,c){var d=_.Ko(a.H.WF(b,c),_.STc);UXc(d,mYc(a.O));b=lYc(a.O);"boolean"===typeof b&&VWc(d.getState(),b);1===c&&SXc(d,function(){return void a.H.RM(d)});TXc(d,function(){var e=a.O;e=e.H?e.H.Md():void 0;var f=d.getState();_.A(f,1,e);a.H.uq(d)});return d};
pYc=function(a){var b=new _.Xya,c=new iYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.xxa);_.A(c.H,5,a.ma);_.A(c.H,6,a.lu);_.A(c.H,7,a.OCa);a=c.setEnvironment(a.getEnvironment());_.NSc(b,_.UTc,a);_.No(b,_.STc,new hYc);return b};
qYc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.cH(906,b,void 0,_.gUc());l.ha=!1;var p=new _.OSc(l);b=new Date;l=_.GTc(_.FTc(_.ETc(IWc(),new _.PSc(l)),pYc(c)),109).setSessionId(b.getTime()+"_"+_.ah());if(k){a=new fYc(p,d,e,new YXc(a,f),f,h);_.DTc(l,a);d=l.build();_.zTc(d.JL(),1E3*b.getTime());var q=new nYc(d,c);(new _.Le).listen(a,"Bb",function(){_.oYc(q,106008,0).Xj()});return q}_.DTc(l,p);a=l.build();_.zTc(a.JL(),1E3*b.getTime());return new nYc(a,c)};
rYc=function(a,b){this.V=a;this.W=b};rYc.prototype.O=function(a,b){this.V&&_.sYc(this)&&(a=_.oYc(this.V,a,0),b&&_.MSc(a,b),a.Xj())};_.QM=function(a,b){if(a.V&&_.sYc(a)){a=_.oYc(a.V,106018,0);var c=_.E(_.GM(a),aXc,15);if(!c){c=new aXc;var d=_.GM(a);_.x(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Xj()}};rYc.prototype.H=function(a,b){return this.V&&_.sYc(this)?(a=_.oYc(this.V,a,1),b&&_.MSc(a,b),a):null};_.sYc=function(a){return!(!a.V||!a.V.H.NP())};
_.tYc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.bL(_.NK(a)).toString(),l=_.sM(_.NK(a));f=new kYc(a,b,c,f);a=h?qYc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new rYc(a,f)};_.HL=function(a){_.O(this,a,-1,null,null)};_.L(_.HL,_.K);_.uYc=function(a){_.O(this,a,-1,null,null)};_.L(_.uYc,_.K);_.uYc.prototype.getId=function(){return _.D(this,1)};_.uYc.prototype.Pb=function(a){return _.A(this,1,a)};_.uYc.prototype.ve=function(){return _.E(this,_.sf,2)};_.QL=function(a){_.O(this,a,-1,null,null)};_.L(_.QL,_.K);
_.QL.prototype.Un=function(){return _.D(this,2)};_.QL.prototype.zd=function(){return _.E(this,_.uYc,3)};_.GL=function(a){_.O(this,a,-1,null,null)};_.L(_.GL,_.K);_.GL.prototype.zd=function(){return _.E(this,_.FL,1)};_.GL.prototype.Bda=function(a){return _.A(this,2,a)};_.EL=function(a){_.O(this,a,-1,null,null)};_.L(_.EL,_.K);_.EL.prototype.getId=function(){return _.D(this,1)};_.EL.prototype.Pb=function(a){return _.A(this,1,a)};_.vYc=function(a,b){return _.A(a,2,b)};
_.SL=function(a){_.O(this,a,-1,null,null)};_.L(_.SL,_.K);_.SL.prototype.zd=function(){return _.E(this,_.EL,1)};wYc=[2];_.ZL=function(a){_.O(this,a,-1,wYc,null)};_.L(_.ZL,_.K);_.ZL.prototype.Jc=function(){return _.D(this,1)};_.ZL.prototype.TV=function(){return _.pk(this,_.YE,2)};_.ZL.prototype.ve=function(){return _.E(this,_.sf,3)};_.xYc=function(a){_.O(this,a,-1,null,null)};_.L(_.xYc,_.K);_.xYc.prototype.uk=function(){return _.D(this,1)};_.yYc=function(a){var b=new _.xYc;return _.A(b,1,a)};zYc=[1];
_.dVc=function(a){_.O(this,a,-1,zYc,null)};_.L(_.dVc,_.K);_.AYc=function(){this.H={}};BYc=function(a,b,c){if(a.H[b])throw Error("We");a.H[b]=c};_.AYc.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)}};CYc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.DYc=function(a,b){this.H=a;this.V=b;this.O=_.kUc[_.Zj(a.Zf(),8,0)];this.W=_.kUc[_.Zj(a.Zf(),51,5)];this.nonce=_.ah()};
_.DYc.prototype.tc=function(a,b){if(b.YN)EYc(this,a,b),FYc(this,a,b);else if(11===a.Sm){if(b.vKb){var c=b.KD||_.F(this.H.Zf(),37,"");_.zj(a.uri,"key",c)}EYc(this,a,b);GYc(this,a,b)}else switch(a.uri=HYc(this,a.Sm,a.uri),a.Sm){case 1:GYc(this,a,b);EYc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.lu||_.MK(_.NK(this.H))||_.zj(a.uri,"dsNonce",this.nonce));GYc(this,a,b);FYc(this,a,b);EYc(this,a,b);break;case 2:case 3:case 4:case 5:GYc(this,a,b);FYc(this,a,b);EYc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:GYc(this,
a,b);FYc(this,a,b);break;default:throw Error("Xe`"+a.Sm);}};IYc=function(a,b){var c=HYc(a,b,new _.uj);if(!c.dH())throw Error("Ze");return(new _.uj).en(c.zo()).an(c.zj()).uA(c.ny()).Ci(_.lUc.has(b)?"/batch"+a.O:"/batch")};
HYc=function(a,b,c){var d=_.D(a.H.Zf(),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=_.F(a.H.Zf(),62,"");break;case 8:a=_.D(a.H.Zf(),53);break;case 9:a=_.D(a.H.Zf(),56);break;case 10:a=_.D(a.H.Zf(),22);break;case 13:a=_.D(a.H.Zf(),55);break;case 12:a=_.D(a.H.Zf(),43);break;default:throw Error("Xe`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.uj(a);
_.Bd(c,"/")&&(c=c.slice(1));return new _.uj(a+"/"+c)};GYc=function(a,b,c){a=_.NK(a.H);c.lu||_.MK(a)||(c=[{key:"u",value:_.sM(a)}],b.headers.authorization=_.wbc(c)||"",c=_.bL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
EYc=function(a,b,c){var d=_.NK(a.H),e=a.H.Zf(),f=c.F7a||!!_.D(e,13);c=c.G7a||_.S(e,14,!1);var h=11===b.Sm;f&&((f=_.D(e,13))&&_.Bd(f,"email:")?_.zj(b.uri,"trace",f):f&&"trace:true"===f?_.zj(b.uri,"$trace","true"):f?_.zj(b.uri,"trace","token:"+f):_.zj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.zj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Zj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
FYc=function(a,b,c){c.lu||_.MK(_.NK(a.H))?_.zj(b.uri,"key",_.F(a.H.Zf(),36,"")):(a=c.KD||_.F(a.H.Zf(),37,""),_.zj(b.uri,"key",a))};_.JYc=function(a,b){_.GG.call(this,a?a:500,b?b:6E5)};_.L(_.JYc,_.GG);_.KYc=function(a,b){this.O=b;this.H=new Map;this.kma(_.pk(a,_.Hl,91))};_.KYc.prototype.kma=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.D(c,2);if(!b||!c)break;var d=_.LYc(this,b);if(d){d!==c&&cVc(b);break}this.H.set(b,c)}};
EVc=function(a,b){return[].concat(_.nd(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,_.ol(c));return d}).filter(function(c){return _.Q(c,2)})};_.LYc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.Q(a,140)?_.ol(a):null};_.RM=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Ed=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.RM.prototype.getState=function(){return this.state};
_.RM.prototype.vM=function(a){var b=this;if(this.W)return this.W;var c=_.ii();this.W=c.promise.then(function(){return _.yYc(1)},function(d){d=_.wA(d).Sg;var e=0;2===d.qp()?e=3:_.fUc(d)&&(e=2);return _.yYc(e)});a&&this.W.then(function(d){3===d.uk()&&_.QM(b.Ed,186469046)});this.H&&(a=_.D(WXc(this.H),4)||0,dXc(WXc(this.H),a+1));setTimeout(function(){b.W=null},5E3);MYc(this,c);return this.W};_.PYc=function(a,b){NYc(a,3)&&_.OYc(a,b)};_.RM.prototype.reset=function(){this.O=null;QYc(this)};
QYc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.OYc=function(a,b){if(!a.O&&!a.V){a.H=a.Ed.H(106025);if(a.H){var c=WXc(a.H);var d=!(!a.state.isConnected()&&a.state.$m());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.JYc(5E3,6E4);RYc(a)}};RYc=function(a){QYc(a);MYc(a);a.O&&(a.timeout=setTimeout(function(){return void RYc(a)},a.O.Xa()),_.HG(a.O))};
MYc=function(a,b){_.ki((a.ha?a.ha():_.fi()).then(null,function(){return null}),function(){if(a.H){var c=_.D(WXc(a.H),3)||0,d=WXc(a.H);_.A(d,3,c+1)}SYc(a,b)})};SYc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.We(new _.sVc)}).then(null,function(d){d=_.wA(d);_.fUc(d.Sg)&&NYc(a,2);return _.gi(d)});b?b.resolve(c):c.then(null,function(){return null})};_.RM.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
NYc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.mUc.get(b)),!0):!1};xVc=[_.pL,_.rL,_.qL,_.tL,_.sL,_.uL,_.vL,_.zL,_.BL,_.CL,_.DL,_.FL,_.GL,_.VL,_.XL,_.ZL,_.dL,_.$L,_.aM,_.bM,_.hVc,_.cM];TYc=[_.fL];yVc=[_.ZE,_.mVc];zVc=[_.QL,_.OK,_.CC,_.dM];AVc=[_.TK,_.HL,_.zz,_.fL,_.gVc];BVc=[_.dM,_.dF];CVc=[_.EL,_.dVc,_.PL,_.SL,_.TL,_.fVc,_.cM,oVc,nVc];
UYc=function(a){return a instanceof _.TK||a instanceof _.dM||"undefined"!=typeof _.SM&&a instanceof _.SM||a instanceof _.aM||a instanceof _.CL||a instanceof _.uL||a instanceof _.zL||a instanceof _.dL&&_.gM(a)};_.VYc=function(a,b){this.O=b;this.H={};this.kj=new QWc;b=_.oL({fields:_.Nd(a,28),rr:_.MK(_.NK(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.VYc.prototype.Jb=function(a,b){this.H[a]=WYc(a,b)};
var XYc=function(a,b){var c=a.H[b];c||(c=WYc(b,0,2),a.H[b]=c);c.Jb(String(Number(c.Xa())+1))};_.VYc.prototype.Fz=function(a){var b=_.Sa(this.H);this.O&&b.push(WYc("CacheSize",this.O.Md()));b.push(WYc("InitialViewDataLoaded",a));a=new _.sXc;_.Cb(a,1,b);return _.oi(a)};WYc=function(a,b,c){var d=new _.qXc;_.A(d,1,a);_.A(d,4,c||1);d.Jb(String(b));d.nm(_.qUc.get(a));return d};
_.YYc=function(a,b,c){var d=new _.ITc;_.A(d,2,"Pending...");b instanceof _.TK?_.qk(d,3,_.UK[0],b):b instanceof _.dM?_.qk(d,4,_.UK[0],b):"undefined"!=typeof _.SM&&b instanceof _.SM?_.qk(d,5,_.UK[0],b):b instanceof _.aM?_.qk(d,6,_.UK[0],b):b instanceof _.CL?_.qk(d,7,_.UK[0],b):b instanceof _.uL?_.qk(d,8,_.UK[0],b):b instanceof _.zL?_.qk(d,9,_.UK[0],b):b instanceof _.dL&&_.qk(d,10,_.UK[0],b);var e=uVc(b),f=[];if(b instanceof _.qL)eM(f,"ID",b.getId()),eM(f,"Parent ID",b.Lk());else if(b instanceof _.CL)eM(f,
"TD ID",b.getId());else if(b instanceof _.TK)b=_.PXc(b.zd()),eM(f,"Query",b);else if(b instanceof _.dM)eM(f,"Query","All");else if(b instanceof _.aM)eM(f,"TD ID",b.getId()),eM(f,"Title",b.getTitle()),eM(f,"Theme Image ID",_.D(b,3));else if(b instanceof _.uL)eM(f,"MimeType",b.getMimeType()),eM(f,"Title",b.getTitle()),eM(f,"Parents",_.Nd(b,3)),eM(f,"Convert",_.R(b,8)),eM(f,"Request ID",b.fj()),eM(f,"Parent Request IDs",_.Nd(b,10)),eM(f,"Revision Item ID",_.D(b,12)),eM(f,"Pinned",_.R(b,8));else if(b instanceof
_.vL)eM(f,"Title",b.getTitle());else if(b instanceof _.zL)eM(f,"ID",b.getId());else if(b instanceof _.DL)eM(f,"WS ID",b.getId());else if(b instanceof _.dL){if(eM(f,"ID",b.getId()),eM(f,"Title",b.getTitle()),eM(f,"Description",b.Te()),eM(f,"Starred",_.R(b,4)),eM(f,"Trashed",b.Sh()),eM(f,"MimeType",b.getMimeType()),eM(f,"Parents",_.Nd(b,8)),eM(f,"Parents to add",_.Nd(b,9)),eM(f,"Parents to remove",_.Nd(b,10)),eM(f,"Restricted",_.R(b,11)),eM(f,"Folder Color",b.Vi()),eM(f,"Update Last Viewed",_.R(b,15)),
eM(f,"Subscribed",_.R(b,16)),eM(f,"Available Offline",_.R(b,18)),eM(f,"Wksp to add",_.Nd(b,31)),eM(f,"Wksp to remove",_.Nd(b,32)),b=_.E(b,_.el,25))eM(f,"Read Only",_.R(b,1)),eM(f,"Reason",_.D(b,2))}else b instanceof _.bM?(eM(f,"WS ID",b.getId()),eM(f,"Title",b.getTitle()),eM(f,"State",b.getState())):b instanceof _.hVc&&eM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.kj.add(d);return d};
_.ZYc=function(a,b){for(var c=new _.Mo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.PUc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.VYc.prototype.lR=function(){return this.kj.Hg()};_.t("sy1m5");
_.TM=function(a){_.O(this,a,-1,null,null)};_.L(_.TM,_.K);_.TM.prototype.od=function(){return _.E(this,_.mA,1)};_.$Yc=function(a,b){return _.x(a,1,b)};_.TM.prototype.Un=function(){return _.D(this,3)};
_.aZc=function(a,b,c){_.xi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.aZc,_.xi);
_.bZc=function(a,b){this.O=a;this.V=b;this.H=null};
var UM=function(a){_.Ki.call(this);this.name=a};_.L(UM,_.Ki);_.g=UM.prototype;_.g.s4=function(){};_.g.jFa=function(){};_.g.R0a=function(){};_.g.RMa=function(){};_.g.Q0a=function(){};_.g.XF=function(){this.dispatchEvent(new _.xi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var cZc=function(a,b){UM.call(this,"Online");var c=this;this.O=a;this.H=b;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.O,"Ab",function(d){d.Ze()||c.XF()});this.Oc.listen(this.H,"ib",this.XF)};_.L(cZc,UM);cZc.prototype.max=function(){var a=this.O.Ze(),b=this.H.yB();return!a&&b?Infinity:0};cZc.prototype.s4=function(){this.XF()};
var dZc=function(a){UM.call(this,"Online");var b=this;this.connectionState=a;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.connectionState,[_.xA.FL,_.xA.Fha,_.xA.DU],function(){return b.XF()})};_.L(dZc,UM);dZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};dZc.prototype.s4=function(){this.XF()};
_.eZc=function(a,b){this.H=a;this.O=b};_.fZc=function(a){return a.H instanceof _.RM?new dZc(a.H.getState()):new cZc(a.O,a.H)};_.eZc.prototype.Kj=function(){return this.H instanceof _.RM?this.H.getState():this.O};
var hZc;_.gZc=function(a,b,c){this.CK=c;this.O=!0;this.V=0;this.H=new _.GG(a,b,.5)};hZc=function(a){return a.H.O+a.V};
_.VM=function(a,b){UM.call(this,"Backoff");this.H=a;this.O=b};_.L(_.VM,UM);_.VM.prototype.max=function(){return this.H.O?Infinity:0};_.VM.prototype.RMa=function(){var a=this.H;a.V=0;a.H.reset()};_.VM.prototype.Q0a=function(a){var b=this;iZc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Xa(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.XF()},a),_.HG(this.H.H))};
var iZc=function(a){var b;return(a=null===(b=_.fa(a.PD))||void 0===b?void 0:b.response)?SUc(_.qsb(a)):!1};_.VM.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.jZc=function(a,b){UM.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.jZc,UM);_.jZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.jZc.prototype.s4=function(a){a>=this.O?this.XF():null==this.H&&kZc(this)};_.jZc.prototype.jFa=function(a,b){0<b?kZc(this):this.H=null};var kZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.XF.bind(a),a.V)};
_.WM=function(){this.kj=[]};_.g=_.WM.prototype;_.g.add=function(a,b){b?this.kj.unshift(a):this.kj.push(a);return!0};_.g.hta=function(a){return _.Ba(this.kj,0,a)};_.g.Md=function(){return this.kj.length};_.g.cancel=function(a){return _.wa(this.kj,function(b){return b.Av.config.requestId===a?(b.ne.resolve(vVc(b.Av.request)),!0):!1})};_.g.jK=function(){return _.mg(this.kj,function(a){return _.gM(a.Av.request)})};
var lZc=function(){UM.call(this,"Immediate")};_.L(lZc,UM);lZc.prototype.max=function(){return Infinity};lZc.prototype.s4=function(){this.XF()};
var mZc=function(){UM.call(this,"One Request")};_.L(mZc,UM);mZc.prototype.max=function(){return 1};
_.XM=function(a){UM.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.XM,UM);_.XM.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.XM.prototype.s4=function(){this.H<this.limit&&this.XF()};_.XM.prototype.jFa=function(a){this.H+=a.length};_.XM.prototype.R0a=function(a){this.H-=a.length;this.H<this.limit&&this.XF()};
var nZc=function(){_.Ki.apply(this,arguments)};_.L(nZc,_.Ki);var pZc=function(a,b){a.dispatchEvent(new oZc(b))};nZc.prototype.O=function(){};var oZc=function(a){_.xi.call(this,"Nb");this.request=a};_.L(oZc,_.xi);
_.YM=function(a,b,c,d,e,f){_.Ki.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.Oc=new _.Le(this);this.Ma(this.Oc);for(a=0;a<this.H.length;a++)this.Oc.listen(this.H[a],"Mb",this.N_a);for(a=0;a<this.O.length;a++)this.Oc.listen(this.O[a],"Nb",function(k){qZc(h,!0,k.request)});this.ka=_.et("drive.ds.network.queue.Queue [%s]",f)};_.L(_.YM,_.Ki);_.YM.prototype.add=function(a){return qZc(this,!1,{Av:a,ne:_.ii(),PD:[]})};
_.YM.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};_.YM.prototype.jK=function(){return this.V.jK()?!0:this.buckets.some(function(a){return a.jK()})};
var qZc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.Sp(new _.pc,"No queue bucket accepted request."),_.gi(_.wA(a));for(var d=rZc(a),e=0;e<a.H.length;e++)a.H[e].s4(d);return c.ne.promise};_.g=_.YM.prototype;
_.g.N_a=function(){var a=rZc(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].hta(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.lwb.bind(this,a[e]),this.kwb.bind(this,a[e]));e=rZc(this);for(var f=0;f<this.H.length;f++)this.H[f].jFa(a,e);_.ki(_.AK(d).then(this.jwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.N_a.bind(this),0)};
_.g.lwb=function(a,b){var c=a.Av.config;this.log(uVc(a.Av.request)+" request completed successfully. xd4: "+!(!c||!c.YN));this.H.forEach(function(d){return d.RMa()});this.O.forEach(function(d){return d.O(a)});a.ne.resolve(b)};
_.g.kwb=function(a,b){b=_.wA(b);this.log(uVc(a.Av.request)+(" request failed with error: "+b.ha+"."));a.PD.push({response:b,fRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].Q0a(a);a.Av.config.Yna||!this.O.some(function(d){return d.intercept(a)})?a.ne.reject(b):this.log(uVc(a.Av.request)+" encountered an error, but was intercepted to be retried.")};_.g.jwb=function(a){rZc(this);for(var b=0;b<this.H.length;b++)this.H[b].R0a(a)};
var rZc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Md()){b=a.buckets[c].Md();break}return b};_.YM.prototype.log=function(a){this.ha.info(this.ka,a)};
_.sZc=function(a,b,c,d){nZc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.ak(a,21,1E3);this.oa=_.ak(a,1,1);this.ma=function(){return new _.gZc(_.ak(a,63,1E3),_.ak(a,64,3E5),_.ak(a,65,10))}};_.L(_.sZc,nZc);
_.sZc.prototype.intercept=function(a){var b=a.PD.length,c=0<b&&_.fa(a.PD).response||null;if(c){c=_.$K(c);if(2===c.qp())return tZc(this,a);if(_.fUc(c))return 2>=b?(pZc(this,a),a=!0):a=!1,a;var d=c.hk();if(3===d||31===d||13===d||9===d)return uZc(this,a,b);if(SUc(c))return b=hZc(this.V),c=this.V,hZc(c)<c.CK?(this.log("Backoff number "+b+" for a User Rate Limit error."),pZc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var tZc=function(a,b){var c=vZc(a,b),d=hZc(c);if(hZc(c)<c.CK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Ze()?(d=c.H.Xa(),_.n.setTimeout(function(){return pZc(a,b)},d),_.HG(c.H)):(_.n.setTimeout(function(){return pZc(a,b)}),c.V++),!0;a.H.delete(b);return!1},vZc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},uZc=function(a,b,c){var d=a.oa;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return pZc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.sZc.prototype.O=function(a){this.H.delete(a)};_.sZc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var wZc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.gUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.dwb,d=kXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.bwb(_.mL(e),"reading data"))}},xZc=function(a){return wZc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var yZc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ka=c;this.W=d;this.Oa=e;this.request=f;this.config=h;this.O=this.oa=this.progress=0;this.Fa=this.va=this.ha=null;this.ne=_.ii();this.finished=!1;this.Ba=this.Au=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Fz();a=_.gUc()&&a?_.D(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.DO="progress_"+this.requestId;h.DO=this.DO;this.ma=!!f.metadata};
yZc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};yZc.prototype.start=function(){var a=this,b=new nVc(this.request.request,this.request.metadata),c=zZc(this);this.Ha.then(function(d){return d.We(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;AZc(a)},function(d){return void a.ne.reject(d)});return _.ki(this.ne.promise.then(function(d){BZc(a,d);return d},function(d){d=_.wA(d);BZc(a,d.Sg);return _.gi(d)}),function(){CYc(a.H,[a.DO])})};
var zZc=function(a){var b=_.$a(a.config);BYc(a.H,a.DO,NWc(function(){return void a.H.notify([a.requestId],0)}));return b};yZc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ne.resolve(vVc(this.request)),!0)};
var AZc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),CZc(a,4))},CZc=function(a,b){DZc(a).then(function(c){if(c){var d=EZc(a,c.blob.size);a.Ha.then(function(f){return f.We(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.oa+=h;a.Ba++;f.cK()&&(a.va=f.cK());f.gN()&&(a.Fa=f.gN());a.progress<a.fileSize?AZc(a):a.ne.resolve(f)},function(f){if(d.Yna)a.cancel();else{var h=_.$K(f);h.hCa()||h.Zla()||a.ma?FZc(a,b,h,!1):xZc(c.blob).then(function(k){k=k?_.ZDa.get(k)||
25:38;_.kL(h,k);k=38===h.qp();var l=38!==h.qp()&&25!==h.qp();FZc(a,b,h,k,l)},function(){})}})}else{var e=_.wA(_.kL(_.Sp(new _.pc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ne.reject(e)}})},FZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.fga(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+"."));CZc(a,b)},a.Oa*Math.pow(1.5,f))):a.ne.reject(_.wA(c))},DZc=function(a,b){return a.ma&&a.V?_.fi(a.V):GZc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return DZc(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 oVc(a.ha,c,a.oa,a.oa+c.size-1,a.finished,a.request.request.getMimeType(),_.D(a.request.request,
12)||void 0);return a.V})},GZc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.vQ?a.request.vQ(b,a.O):_.fi(_.RUc(a.request.file,b,b+a.O))},EZc=function(a,b){var c=_.$a(a.config);c.KRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;CYc(a.H,[a.DO]);BYc(a.H,a.DO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},BZc=function(a,b){b.SMa(3);b.fga(a.Au);b.cK()||b.uda(a.va);b.gN()||b.gda(a.Fa)};
_.HZc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.HZc.prototype.create=function(a,b){return new yZc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.IZc=function(a){this.O=a;this.H={}};_.IZc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Av.request instanceof _.pVc)b.push(JZc(this,a[c].Av));else{var d=_.Sp(new _.pc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.wA(d)))}return b};_.IZc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.IZc.prototype.jK=function(){return!_.Va(this.H)};
var JZc=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ki(d,function(){delete a.H[e]})};
_.KZc=function(a,b){return new _.YM(b,a,[new lZc],[new _.WM],[],"immediate")};_.LZc=function(a,b,c,d,e){return new _.YM(e,a,[_.fZc(d),new _.VM(c,e),new mZc],[new _.WM],[new _.sZc(b,c,d.Kj(),e)],"connected")};_.MZc=function(a,b,c,d,e,f,h){h=void 0===h?_.ak(b,10,50):h;return new _.YM(e,a,[_.fZc(d),new _.jZc(h,_.ak(b,12,10)),new _.XM(3*h),new _.VM(c,e)],[new _.WM],[new _.sZc(b,c,d.Kj(),e)],f)};_.NZc=function(a,b,c){b=_.ak(b,46,1);return new _.YM(c,a,[new _.XM(b)],[new _.WM],[],"resumable_upload")};
_.OZc=function(a,b,c,d,e,f,h,k){this.uI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.OZc.prototype.We=function(a,b){return PZc(this,a,b).then(null,function(c){c=_.wA(c);var d=c.Sg;wVc(a)||_.Up(d);return _.gi(c)})};
var PZc=function(a,b,c){c=void 0===c?{}:c;var d=a.uI.validate(b);if(d)return _.gi(_.wA(d));var e=a.ma.translate(b);e instanceof _.pc?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 _.fi(d).then(function(){if(e instanceof _.pc)return _.gi(_.wA(e));if(Array.isArray(e)){var f=e.map(function(h){return QZc(a,b,h,c)});return _.AK(f)}return QZc(a,b,e,c)},function(f){return _.gi(_.wA(f))})},
QZc=function(a,b,c,d){var e=RZc(a,c);if(!e)return b=_.kL(_.Sp(new _.pc,"Failed to choose a queue for server request."),18),_.gi(_.wA(b));if(e===a.H[7]||e===a.H[8])d.YN=!0;d=e.add({request:c,config:d});(_.gM(b)||_.gM(c))&&_.ki(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};_.OZc.prototype.cancel=function(a){return _.Qa(this.H,function(b){return b.cancel(a)})};
var RZc=function(a,b){var c,d=!1;b instanceof _.HL?d=!(null===(c=_.E(b,_.zz,2))||void 0===c||!_.R(c,7)):b instanceof _.zz?d=!!_.R(b,7):b instanceof _.TK&&(d=(d=b.zd())&&!!_.R(d,46));return(b instanceof _.sVc||b instanceof _.wK&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.pVc&&a.H[5]?a.H[5]:d&&DVc(b,a.O)&&a.H[7]?a.H[7]:DVc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.HL||b instanceof _.zz)&&a.H[6]?a.H[6]:(d||TYc.includes(b.constructor))&&a.H[3]?a.H[3]:xVc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var SZc=function(a){this.H=a};SZc.prototype.build=function(a,b){var c="====="+_.ah()+"=====",d=a[0].Sm,e=b.every(function(l){return l.YN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=IYc(this.H,a[0].Sm);_.zj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=TZc[d],h=UZc[d]||{},h["content-type"]=_.et('multipart/mixed; boundary="%s"',c),d=VZc[d],k=new _.uj("");a=WZc(this,a,b,c,e);return{Sm:f,body:a,headers:h,method:d,uri:k}};
var WZc=function(a,b,c,d,e){for(var f=aVc(XZc[b[0].Sm]||{}),h="",k=0;k<b.length;k++){e&&GYc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=HYc(p,q.Sm,q.uri);switch(q.Sm){case 0:case 5:FYc(p,q,r);EYc(p,q,r);break;case 2:GYc(p,q,r);FYc(p,q,r);var u=q,y=_.D(p.H.Zf(),57);u.headers.host=_.Cj(y).zj();u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;EYc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ye`"+q.Sm);default:throw Error("Xe`"+
q.Sm);}p=l;q=p.uri.clone();q.en("");q.an("");q.uA(null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+aVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},YZc={},TZc=(YZc[0]=1,YZc[2]=3,YZc),ZZc={},VZc=(ZZc[0]="POST",ZZc[2]="PUT",ZZc[12]="POST",ZZc),$Zc={},a_c={},UZc=(a_c[2]=($Zc["x-goog-upload-protocol"]="batch",$Zc),a_c),b_c={},c_c={},d_c={},e_c={},XZc=(e_c[0]=(b_c["content-type"]="application/http",b_c["content-transfer-encoding"]="binary",b_c),e_c[12]=
(c_c["content-type"]="application/http",c_c["content-transfer-encoding"]="binary",c_c),e_c[2]=(d_c["content-type"]="application/http",d_c),e_c);
var f_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,g_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var h_c=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};h_c.prototype.add=function(a,b){var c="DEFAULT";b.YN&&(c=IYc(this.V,a.Sm).toString());this.kj.has(c)||this.kj.set(c,[]);c=this.kj.get(c);if(1<=c.length&&!b.YN&&!TZc[a.Sm])return a=_.Sp(new _.pc,"Unsupported batch API: "+a.Sm),_.gi(_.wA(a));var d=_.ii();c.push({request:a,config:b,ne:d});return d.promise};
h_c.prototype.send=function(){var a=this;this.kj.forEach(function(b,c){try{i_c(a,b)}catch(f){var d=_.Tp(_.Sp(new _.pc,"Error executing XHR: "+f.message),f.stack),e=_.wA(d);b.forEach(function(h){h.ne.reject(e)});a.kj.delete(c)}})};
var i_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.LCa&&!c.config.YN){var d=!1;if(TZc[c.request.Sm]){var e={Sm:c.request.Sm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.tc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){j_c(a,c);return}}}k_c(a,b)},j_c=function(a,b){var c=b.ne;a.W.$g(b.request,b.config).then(function(d){c.resolve(d);l_c(a,b)},function(d){a.handleError(b,d);c.reject(_.wA(d))})},k_c=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),{LCa:!0,YN:d.every(function(e){return e.YN})}).then(function(e){e.headers=_.EUc(e.headers);var f=g_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.qc("Could not extract batch boundary.",_.kL(_.Tp(new _.pc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Bd(_.aia(h[0]),f)&&_.de(h[1]))h=_.aia(h[0]).substring(f.length);else throw new _.qc("Could not parse batch response; did not begin and end with boundary.",
_.kL(_.Tp(new _.pc,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 u=void 0;var y,z=e.headers,C=f[l],G=p&&p.uri,I=C.split("\r\n\r\n");if(2>I.length)u=new _.qc("Individual batch response contained too few parts.",_.kL(_.Tp(new _.pc,C),17));else{var M=I[1].split("\r\n");if(y=f_c.exec(M[0])){p=_.Db(y[1]);y=y[2];M.shift();z=_.$a(z);for(var P=Object,V=P.assign,pa={},ia=0;ia<M.length;ia++){var qa=_.jia(M[ia],":",1);qa&&2===
qa.length&&(pa[(0,_.rg)(qa[0])]=(0,_.rg)(qa[1]))}M=_.EUc(pa);V.call(P,z,M);try{u=_.de(_.$g(I[2]))?void 0:JSON.parse(I[2])}catch(ta){}u=(p=_.JUc(p,y,z,C,u,void 0,void 0,G&&G.toString()))?_.wA(p):{headers:z,text:C,json:u||void 0}}else u=new _.qc("Could not extract HTTP status code and text.",_.kL(_.Tp(new _.pc,C),16))}r.call(q,u)}return k}).then(null,function(e){e=_.wA(e);return _.MRc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ne,l=e[h];l instanceof _.pc||l instanceof
_.qc?(l=_.wA(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||l_c(a,b[0])})},l_c=function(a,b){var c=b.request.Sm;b=!b.config.lu&&_.ma(m_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=NYc(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()};
h_c.prototype.handleError=function(a,b){a=_.qsb(b);if(2===a.qp()){if(this.H)return _.PYc(this.H),!0}else if(_.fUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.OYc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var m_c=[0,2,4,7,8];
var n_c=function(){_.rj.apply(this,arguments)};_.L(n_c,_.rj);n_c.prototype.getAllResponseHeaders=function(){return _.aia(_.rj.prototype.getAllResponseHeaders.call(this))};
var o_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=o_c.prototype;_.g.$g=function(a,b){try{this.W.tc(a,b);var c=new n_c;c.tC=!0;var d=b.requestId||"",e=_.ii();c.listen("complete",this.Aab.bind(this,c,e,d,b.LCa,4===a.Sm));d&&b.DO&&!b.YN&&(this.O[d]=c,this.H[d]=b,c.Gb=!0,c.listen("uploadprogress",(0,_.v)(this.Yzb,this,b)),b.KRa||c.listen("downloadprogress",(0,_.v)(this.Vvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.gi(_.wA(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.Yna=!0,b.abort(),!0):!1};_.g.Aab=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.O[c],delete this.H[c]);c={headers:_.Vla(a),text:a.Wk()};if(!d)try{c.json=_.yK(a)}catch(f){}d=_.JUc(a.Cb(),_.Sla(a),c.headers,c.text,c.json,a.O,_.Wla(a),String(a.oa),e);a.dispose();d?b.reject(_.wA(d)):b.resolve(c)};_.g.Yzb=function(a,b){b.lengthComputable&&this.V.notify([a.DO],a.KRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Vvb=function(a,b){b.lengthComputable&&this.V.notify([a.DO],b.loaded/b.total/2+.5)};
_.p_c=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.oa=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new SZc(this.O);this.W=new o_c(this.O,this.va)};_.g=_.p_c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Av;this.V.push(e);b.push(this.Ba.ME(e,a[d].PD));c.push(UYc(e.request)?_.YYc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.wA(_.JUc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new h_c(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={Kra:e.Kra},k++){e.Kra=a[k].Av.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Kra)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].Av,l=d[e].then(this.eob.bind(this,k.request,c[e],a[e].PD)).then(null,function(p){return Promise.reject(_.wA(p))}),l.then(this.TMa.bind(this,k),this.TMa.bind(this,k)),b.push(l);return b};_.g.eob=function(a,b,c,d){a=this.oa.ME(a,d,c);b&&(c=a.Hd?a.Hd():[],_.ZYc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.jK=function(){return this.V.some(function(a){return _.gM(a.request)})};
_.g.TMa=function(a){_.ua(this.V,a)};
_.q_c=function(){};_.q_c.prototype.execute=function(){return null};
var r_c;r_c=function(a){this.H=a};_.ZM=function(a,b){if(!_.Ca(b))throw new _.qc("Expected an object, but got a "+_.Ifa(b)+".",_.lL(11,void 0,8));var c=b.kind;if(!c)throw new _.qc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.lL(11,void 0,21));if(!a.includes(c))throw new _.qc("Expected "+a.join(" or ")+" but got a "+c+".",_.lL(11,void 0,9));};_.$M=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.s_c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.JVc(new _.cl,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.SVc(_.NVc(_.TVc(_.UVc(_.VVc(_.RVc(_.QVc(_.MVc(_.LVc(_.KVc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.A(b,13,a.canRenameTeamDrive);b=_.WVc(_.PVc(_.OVc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.ZVc(_.YVc(_.XVc(_.A(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.A(b,34,a.canDeleteChildren);b=_.A(b,35,a.canTrashChildren);b=_.A(b,36,a.canRequestApproval);b=_.A(b,37,a.canReadCategoryMetadata);b=_.A(b,38,a.canEditCategoryMetadata);b=_.A(b,39,a.canChangeCategoryReferences);b=_.A(b,49,a.canSetMissingRequiredFields);
b=_.A(b,40,a.canAddMyDriveParent);b=_.A(b,41,a.canRemoveMyDriveParent);b=_.aWc(_.$Vc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.dWc(_.cWc(_.bWc(_.A(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.A(b,50,a.canChangeSecurityUpdateEnabled);b=_.A(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.A(b,52,a.canCreateDecryptedCopy);b=_.A(b,53,a.canCreateEncryptedCopy);b=_.A(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.A(b,55,a.canBlockOwner)};_.aN=function(a,b){_.ZM(["drive#user"],b);var c=_.HVc(_.IVc(_.FVc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.oo(b.picture.url);_.SK(a.H)&&_.HVc(c,b.emailAddressFromAccount||b.emailAddress);_.GVc(c,a.Of(b.id));c.an(b.domain);return c};r_c.prototype.Of=function(a){if(a)return _.sM(_.NK(this.H))==a};
var t_c,z_c,O_c,w_c,E_c,D_c,F_c,H_c,J_c,v_c,L_c,K_c,M_c,N_c,P_c,Q_c,G_c;t_c=function(a,b){this.H=a;this.O=b};
_.x_c=function(a,b,c){var d=new _.TM,e=new _.mA,f=e.Rw;_.ZM(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.u_c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.u_c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.ZM(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=h.spellCorrections;for(h=0;h<q.length;h++){k=q[h].spellFragments;a=[];for(l=0;l<k.length;l++){p=k[l];var r=(new _.Uqb).Dc(v_c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.Yqb;a=_.Cb(k,1,a);f.push(a)}q=new _.$qb;_.Cb(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.Wqb;_.ek(u,1,f)}q||u?(f=new _.arb,q&&_.x(f,1,q),u&&_.x(f,2,u),u=f):u=null;_.x(e,7,u);u=w_c(b);_.ek(e,18,u)}d=_.$Yc(d,e);c=_.GUc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
z_c=function(a,b,c,d,e){_.ZM(["drive#adminFile","drive#file","drive#revision"],b);var f=_.iXc(new _.fM,c);"drive#adminFile"==b.kind?(_.ZM(["drive#adminFile"],b),c=(new _.hl).Pb(b.id),b.parentId&&_.nM(c,[b.parentId]),_.tWc(c,b.teamDriveId),f.setItem(c),_.iXc(f,c.getId())):"drive#file"==b.kind?(b=_.u_c(a,b),f.setItem(b),c||_.iXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.y_c(a,b),_.x(f,4,b));f.uda(_.FUc(d));f.gda(_.GUc(d));(d=(d=d&&_.EUc(d))&&d["x-server-object-version"])&&e&&(e=(new _.xM).Pb(d),
_.x(f,4,e));f.Dc(1);return f};_.A_c=function(a,b){return _.iXc(new _.fM,a).Dc(1).uda(_.FUc(b)).gda(_.GUc(b))};_.C_c=function(a,b,c,d){d||_.ZM(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.B_c(a,b[c],d);f&&e.push(f)}return e};
_.B_c=function(a,b,c){c||_.ZM(["drive#permission"],b);c=_.GVc(_.IVc(_.FVc(D_c[b.type]).Pb(b.id),b.userId),a.H.Of(b.userId));c=_.A(c,4,b.withLink);c=_.HVc(c.jd(b.name).oo(b.photoLink),b.emailAddress).an(b.domain);c=_.A(c,10,b.deleted);c=_.A(c,12,b.audienceId);c=_.A(c,13,b.customerId);c.getId()||c.Pb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.SK(a.O)&&c.jd(b.nameIfNotUser);a=E_c[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.A(c,6,a);return c};
_.u_c=function(a,b){_.ZM(["drive#file"],b);var c=b.title,d=(new _.hl).Pb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.rWc(_.nWc(_.gF(_.nM(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.A(c,90,Number(b.thumbnailVersion));_.A(c,21,b.iconLink);c.nm(b.description);_.oWc(c,b.explicitlyTrashed);_.A(c,22,b.shared);null!=b.quotaBytesUsed&&_.A(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.A(c,14,Number(b.fileSize));_.A(c,
30,b.copyable);b.labels&&(d=b.labels,c.Cv(d.starred),_.A(c,6,d.hidden),c.Mn(d.trashed),_.kWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.$M(b.createdDate));_.A(c,69,_.$M(b.serverCreatedDate));_.cTb(c,_.$M(b.modifiedDate));_.A(c,12,_.$M(b.modifiedByMeDate));_.A(c,13,_.$M(b.lastViewedByMeDate));_.A(c,23,_.$M(b.sharedWithMeDate));_.A(c,62,_.$M(b.subscribedDate));_.A(c,70,_.$M(b.recency));b.recencyReason&&_.A(c,71,F_c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.aN(a.H,
e[f]))&&d.push(h);_.lWc(c,d);b.lastModifyingUser&&(d=_.aN(a.H,b.lastModifyingUser),_.mWc(c,d));b.userPermission&&_.dTb(c,E_c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.kM).wh(e.width).uh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.NTc,f.setMilliseconds(0),G_c.parse(e,f),_.A(d,1,f.getTime())),_.x(c,27,d));null!=b.folderColor&&_.qWc(c,Number(b.folderColor));_.pWc(c,b.subscribed);_.A(c,45,b.fileExtension);_.ek(c,50,b.folderFeatures);_.A(c,36,b.flaggedForAbuse);
_.A(c,53,b.gplusMedia);_.A(c,46,b.primarySyncParentId||void 0);_.A(c,35,b.hasChildFolders);b.source&&(_.A(c,42,b.source.client_service_id),_.A(c,43,b.source.value));b.sharingUser&&(d=_.aN(a.H,b.sharingUser),_.x(c,47,d));b.sources?_.ek(c,56,b.sources):b.gplusMedia&&_.ek(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.ARc[h]&&(h=_.ef(new _.df,_.ARc[h]),e.push(h));c.vA(e)}_.A(c,63,b.ownedByMe);_.A(c,29,b.shareable);b.sourceAppId&&_.A(c,61,b.sourceAppId);_.A(c,74,
b.changed);null!=b.recursiveFileSize&&_.A(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.A(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.xna).Pb(h.id);h=_.A(k,2,H_c[h.type]);e.push(h)}_.Cb(c,83,e)}b.capabilities&&_.oM(c,_.s_c(b.capabilities));b.permissionsSummary&&_.uWc(c,_.I_c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.lM).nm(d.description),
e=_.A(e,3,J_c[d.galleryState]),d=_.ek(e,2,d.category),_.x(c,86,d));_.tWc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.aN(a.H,b.creator),_.x(c,91,d));_.vWc(c,b.primaryDomainName);_.wWc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.aN(a.H,b.trashingUser),_.x(c,95,d));c.Bda(_.$M(b.trashedDate));b.version&&_.A(c,75,Number(b.version));_.A(c,98,b.hasVisitorPermissions);_.A(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.A(c,101,K_c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.mM).wh(d.width).uh(d.height),d.durationMillis&&_.A(e,3,Number(d.durationMillis)),_.x(c,103,e));_.ek(c,104,b.detectors);_.A(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=_.fWc((new _.el).bP(f.readOnly),f.reason),d.push(f);_.Cb(c,125,d)}if(d=b.publishingInfo)_.A(c,118,d.published),_.A(c,119,d.publishedUrl);_.ek(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.A(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(L_c[f.status]),d.push(f);_.Cb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Jna,e=_.A(e,1,d.targetId),e=_.A(e,3,d.targetMimeType),e=_.A(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.A(e,4,M_c[d.targetLookupStatus]||0),d.targetFile&&(d=_.u_c(a,d.targetFile),_.x(e,5,d)),_.x(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.jM,e=_.A(e,1,N_c[d.encryptionState]),d.decryptionMetadata&&(d=O_c(d.decryptionMetadata),_.x(e,2,d)),_.x(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Ana,e=_.A(e,2,d.securityUpdateEligible),e=_.A(e,3,d.securityUpdateEnabled),d=_.A(e,5,d.securityUpdateExplicitlySet),_.x(c,139,d));_.A(c,140,b.resourceKey);_.ek(c,135,b.authorizedAppIds);
_.A(c,136,b.customerId);_.$Uc(c);_.SK(a.O)&&_.sWc(c,5);return c};_.y_c=function(a,b){_.ZM(["drive#revision"],b);var c=(new _.xM).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.$M(b.modifiedDate));c=_.A(c,4,b.pinned);c=_.A(c,5,b.downloadUrl);c=_.A(c,7,b.originalFilename);null!=b.fileSize&&_.A(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.aN(a.H,b.lastModifyingUser),_.x(c,9,a));b.decryptionMetadata&&(b=O_c(b.decryptionMetadata),_.x(c,10,b));return c};
_.I_c=function(a,b){a=_.iWc(_.hWc(_.gWc(new _.Ena,b.entryCount),_.C_c(a,b,"visibility",!0)),_.C_c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};O_c=function(a){var b=a.wrappedKey;var c=new _.eWc;b=b?_.PWc(b):void 0;c=_.A(c,1,b);c=_.A(c,2,Number(a.kaclsId));c=_.A(c,5,a.kaclsName);c=_.A(c,3,P_c[a.aes256GcmChunkSize]);c=_.A(c,6,Q_c[a.keyFormat]);return _.A(c,4,a.jwt)};
w_c=function(a){_.ZM(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};E_c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};D_c={anyone:4,audience:5,domain:3,group:2,user:1};F_c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};H_c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};J_c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};v_c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
L_c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};K_c={docs:1,sheets:2,slides:3};M_c={ok:1,notFound:2,permissionDenied:3};N_c={unencrypted:1,encrypted:2};P_c={unset:0,"default":1,small:2,size16kb:3};Q_c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};G_c=new _.gVa("yyyy:MM:dd HH:mm:ss");
var U_c;_.R_c=function(a){this.V=new r_c(a);this.uF=new t_c(this.V,a)};_.R_c.prototype.ME=function(a,b,c){c=void 0===c?[]:c;try{return S_c(this,a,b,c)}catch(d){_.nL(d)}};
var S_c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.uL)return _.T_c(a,b,c);if(b instanceof _.EL)return U_c(0,c,d);if(b instanceof _.zz||b instanceof _.HL){if(!c.json)throw _.bN();return _.x_c(a.uF,c.json,c.headers)}if(b instanceof _.cM)return _.T_c(a,b,c);if("undefined"!=typeof _.kVc&&b instanceof _.kVc){if(!c.json)throw _.bN();a=c.json;return new _.xXc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.V_c&&b instanceof _.V_c){if(!c.json)throw _.bN();
return _.y_c(a.uF,c.json)}if(b instanceof _.SL)return U_c(b.zd(),c,d);if(b instanceof oVc){if(b.V){if(!c.json)throw _.bN();a=z_c(a.uF,c.json,null,c.headers,!!b.revisionId)}else a=_.A_c(null,c.headers);return a}if(b instanceof nVc){a=_.EUc(c.headers);b=a.location;if(!b)throw a=_.kL(new _.pc,10),new _.qc("No upload session URI included.",a);return new yXc(b,_.FUc(a),_.GUc(a))}if(b instanceof _.sVc)return new zXc;throw new _.qc("FromXhrConverter: Unsupported request type.",new _.pc);};
_.R_c.prototype.ha=function(){return null};U_c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new AXc(_.Daa(b.text),c.length):new AXc(new Uint8Array(_.ima(b.text)),c.length)};_.T_c=function(a,b,c){if(!c.json){if(b instanceof _.dL)return _.A_c(_.W_c(b));throw _.bN();}var d=!1;b instanceof _.cM&&(d=!!_.D(b.request,12));return z_c(a.uF,c.json,_.W_c(b),c.headers,d)};_.bN=function(){var a=_.kL(new _.pc,11);return new _.qc("FromXhrConverter: JSON required, but none found",a)};
_.W_c=function(a){return a.getId?a.getId():a.Jc?a.Jc():null};
var $_c,a0c,c0c,X_c,d0c,Y_c;
$_c=function(a,b){var c={};_.de(_.$g(a.getTitle()))||(_.D(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Jc()&&_.Iea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Ij(b.ha()),h.kaclsId=b.ka(),h.aes256GcmChunkSize=X_c[d?d.O():0],h.keyFormat=Y_c[e?e.O():0],h);c.clientEncryptionDetails=f}_.Z_c(c,_.Nd(a,3));(b=a.Jc())&&(c.id=b);_.D(a,16)&&(c.embeddingParent=_.D(a,16));a.i2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.i2());"number"===typeof _.D(a,26)&&(c.modifiedDate=_.FWc(_.EXc(_.D(a,26)||0)));return c};_.Z_c=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)}}};a0c={};_.b0c=(a0c[1]="active",a0c[2]="archived",a0c);c0c={};X_c=(c0c[0]="unset",c0c[1]="default",c0c[2]="small",c0c[3]="size16kb",c0c);d0c={};Y_c=(d0c[0]="unsetKeyFormat",d0c[1]="tinkKeyset",d0c[2]="tinkAesGcmKey",d0c);
var g0c=function(a,b,c){return(a.vQ?a.vQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return wZc(d)}).then(function(d){return e0c(a,b,d,c)},f0c)},e0c=function(a,b,c,d){var e=!!_.D(a.request,12),f="files";e&&(f+="/"+_.D(a.request,12));f=new _.uj(f);_.zj(f,"uploadType","multipart");_.zj(f,"supportsTeamDrives",!0);_.zj(f,"pinned",!!_.S(a.request,13,!1));null!=_.R(a.request,8)&&_.zj(f,"convert",_.R(a.request,8));_.zj(f,"fields",_.VUc({fields:_.AM(b).filter(function(q){return 194!=q}),rr:!1}));
bVc(f,a.request.ve());var h=$_c(a.request,a.metadata),k=_.ah();b={};b=(b["content-type"]=_.et('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());_.iM(d,_.pk(a.request,_.Hl,28),[],null,b);a="--"+k;a=a+"\r\n"+aVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+aVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Sm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},f0c=function(a){if(a instanceof _.bwb){var b=new _.pc;_.Sp(b,"fs.Error: "+a.message);a=(a=a.name)?_.ZDa.get(a)||25:38;_.kL(b,a);b=_.wA(b)}else b=_.mL(a);return Promise.reject(b)};
_.cN=function(a,b,c,d){this.H=a;this.Lg=b;this.O=c;this.Ed=d;this.ka=_.cL(a)||new _.aL};_.cN.prototype.ME=function(a,b){try{return a.request instanceof _.cM?g0c(a.request,this.Lg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.qc?a=c.Sg:(a=new _.pc,_.Sp(a,"Error converting XHR: "+c.message),_.Tp(a,c.stack),_.kL(a,4)),Promise.reject(a)}};
_.cN.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.uL){h=(e=!!_.D(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.D(a,12),k.pinned=!!_.S(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.VUc({fields:this.Ng(c),rr:_.MK(_.NK(this.H)),GG:_.SK(this.H)});e=$_c(a);f["content-type"]="application/json";var r=a.ve();p=!0;_.zM(k);_.h0c(this.H,k);_.iM(this.H,_.pk(a,_.Hl,28),_.Nd(a,3).concat([_.D(a,16),a.i2(),a.Jc()]),this.O,f)}else if(a instanceof _.EL||a instanceof
_.SL)a instanceof _.SL?(l=a.zd(),_.Q(a,2)&&(q="bytes="+_.D(a,2)+"-",_.Q(a,3)&&(q+=_.D(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.D(l,2)&&(k.revisionId=_.D(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.iM(this.H,[_.Il((new _.Hl).Pb(l.getId()),_.D(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.HL||a instanceof _.zz){if(a instanceof _.HL)q=_.D(a,1),a=_.E(a,_.zz,2);else if(a instanceof _.zz)q=0,_.QM(this.Ed,190196159);else throw Error("Wf");p=a.Xm()[q];q="files/"+
p;r=_.xa(this.Ng(c),this.Ng(c,a.O()));_.Ea(r);k.fields=_.VUc({fields:r,rr:_.MK(_.NK(this.H)),GG:_.SK(this.H)});_.zM(k);_.i0c(this.H,k);_.j0c(this.H,k);this.W(p,k);r=a.ve();p=!0;_.R(a,7)&&(b.LCa=!0);_.iM(this.H,_.pk(a,_.Hl,11),a.Xm(),this.O,f)}else if("undefined"!=typeof _.kVc&&a instanceof _.kVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.V_c&&a instanceof _.V_c)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 oVc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var u=a.H;b=a.O;f["content-range"]=a.V?_.et("bytes %d-%d/%d",u,b,b+1):_.et("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof nVc?(d=2,h=(e=!!_.D(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.D(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.R(a.request,8)&&(k.convert=_.R(a.request,8)),k.fields=_.VUc({fields:this.Ng(c).filter(function(y){return 194!=
y}),rr:_.MK(_.NK(this.H)),GG:_.SK(this.H)}),_.zM(k),e=$_c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.iM(this.H,[],_.Nd(a.request,3),this.O,f),r=a.request.ve(),p=!0):a instanceof _.sVc?(q="about",k.fields="kind",r=a.H,p=!0):_.k0c(a);p&&_.l0c(c,k);0!=d||l||r&&_.D(r,1)||_.QM(this.Ed,74438989);return _.m0c(this,d,q,k,f,h,r,e,u)};
_.m0c=function(a,b,c,d,e,f,h,k,l){c=new _.uj(c);[10,12,13].includes(b)||bVc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Mi())&&(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,_.Aj(c,a,h);return{Sm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.i0c=function(a,b){_.S(a.Zf(),23,!1)&&(b.includePermissionsForView="published")};_.cN.prototype.W=function(){};
_.j0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.h0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.l0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).fRb):b.retryCount=0};_.cN.prototype.Ng=function(a,b){b||(b=_.AM(this.Lg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return gXc.includes(c)}));return b};_.k0c=function(a){var b=_.kL(new _.pc,4);throw new _.qc("ToXhrConverter: Unsupported request type: "+uVc(a),b);};
_.dN=function(a,b,c,d,e,f){_.Ki.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.oa=f;this.kj={};this.ha={};this.Ed=null;_.ze(this,function(){h.qG()})};_.L(_.dN,_.Ki);_.dN.prototype.AQ=function(){return _.zK()};
_.dN.prototype.upload=function(a,b,c,d){XYc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.kj[e])throw new _.qc("Upload requested with a duplicate request ID.");var f=_.Nd(a,10);if(f&&f.length){if(1!==f.length)throw new _.qc("Multi-parented uploads are not supported.");var h=this.kj[f[0]];if(!h)throw new _.qc("The parent upload request must precede this request.");}!_.D(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);e||(e=this.AQ(),_.A(a,9,e));a=a.clone();f=n0c(this,e);this.kj[e]={request:a,
file:b,Kg:f,SM:!1,Au:0,success:!1,IE:!1,children:[],metadata:c,lma:void 0,vQ:d};h?o0c(this,e,h):this.ka(e);return f.vn()};
var n0c=function(a,b){var c=new _.li;c.Qf(_.vb(a.Fa,b),_.vb(a.Ha,b),a);return c},o0c=function(a,b,c,d){var e=a.kj[b];c.children.push(b);_.Ea(c.children);c.Kg.then(function(f){if(1===f.Cb()&&(f=f.Jc(),_.Nd(e.request,3).push(f),_.bH(e.request,10),!c.IE||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.Kg.Pd(_.RK(f)?f:Error(f))})};
_.dN.prototype.Fa=function(a,b){XYc(this.V,"UploadSuccessCount");a=this.kj[a];a.success=1===b.Cb();(b=a.lma)&&!a.IE&&(YWc($Wc(VXc(b),a.Au),!0),b.Xj())};_.dN.prototype.Ha=function(a,b){var c=_.E(this.O,_.jL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);XYc(this.V,"UploadFailureCount");c=this.kj[a];(a=c.lma)&&!c.IE&&(YWc($Wc(VXc(a),c.Au),!1),b=(c=b&&b.Sg)&&c.hk(),c=c&&c.qp(),b?ZWc(VXc(a),p0c.get(b)||13):c&&ZWc(VXc(a),q0c.get(c)||0),a.Xj())};
_.dN.prototype.ka=function(a){var b=this.kj[a];if(!b.SM){b.SM=!0;a=this.kj[a];var c=a.request,d=_.E(this.O,_.jL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(r0c))&&(!d[1]||a.Au<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.Nd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Fz())?_.D(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.Zf();d=_.ak(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.oa&&3!==d){var f=this.oa.H(106012);if(f){b.lma=f;f=VXc(f);f=_.A(f,1,2===d?2:1);f=_.A(f,4,!!b.metadata);
var h=!!_.D(a,12);f=_.A(f,5,h);e=_.A(f,6,e);c=_.ak(c,32,1073741824);_.A(e,7,c)}}switch(d){case 2:b.file&&s0c(this,new _.pVc(a,b.file,b.vQ,b.metadata),b.Kg,a.fj());break;case 1:b.file&&(c=b.Kg,d=b.file,e=b.metadata,b=b.vQ,f=_.E(this.O,_.xWc,2),s0c(this,new _.cM(a,d,b,f&&_.pM(f)?e:void 0),c,a.fj()));break;case 3:s0c(this,a,b.Kg,a.fj());break;default:throw new _.qc("Upload type ${uploadType} not supported.");}}};
var s0c=function(a,b,c,d){BYc(a.Ba,d,a.ma.bind(a,d));_.ki(a.W.then(function(e){return e.We(b,{requestId:d})}).then(null,function(e){return t0c(a,b,e)}),function(){CYc(a.Ba,[d])}).then(c.callback,c.Pd,c)},t0c=function(a,b,c){var d=_.wA(c),e=b instanceof _.cM&&b.request.Jc()||"";c=d.Sg;if(e&&8===c.hk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.Bz(new _.zz,[e]);return _.qi(a.W.then(function(h){return h.We(f)}).then(function(h){h=h.od().Hd()[0];var k=b.request;if(h&&!h.Sh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.iXc((new _.fM).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.gi(d)}))}return _.ri(d)};_.g=_.dN.prototype;
_.g.cancel=function(a){var b=this,c=this.kj[a];if(c&&(!c.IE||0!==c.children.length))if(c.IE=!0,c.Kg.dg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.lma;d&&(ZWc(YWc($Wc(VXc(d),c.Au),!1),2),d.Xj());var e=_.ii();c.SM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.SM=!0,d=new _.fM,d.Dc(8),c.Kg.callback(d),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.qG=function(){var a=this;_.Ma(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=(_.Nd(b.kj[f].request,10)||[])[0];if(k){var l=b.kj[k];if(l.success||!l.Kg.dg()||e[k])break;else if(!c.has(k)){e[f]=new _.qc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ha(h,function(p){var q=b.kj[p];q.Au++;if(!e[p])if(!q.Kg.dg()||q.success)e[p]=new _.qc("Unable to retry request.");else{var r=(_.Nd(q.request,10)||[])[0];e[r]instanceof _.qc?
e[p]=e[r]:(q.Kg=n0c(b,p),q.SM=!1,q.IE=!1,(r=r?b.kj[r]:null)?o0c(b,p,r,!0):d.push(p),e[p]=q.Kg.vn())}})}else e[f]=new _.qc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.li?f:_.ri(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.zd=function(a){return this.kj[a]};var r0c=/^uploadTestFailMe(\.[1-9])?$/,q0c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),p0c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.rc=function(a){_.xi.call(this,_.Cc);this.error=a};_.L(_.rc,_.xi);_.t("sy1mb");
_.u0c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var v0c;v0c=[1];_.eN=function(a){_.O(this,a,-1,v0c,null)};_.L(_.eN,_.K);_.eN.prototype.O=function(){return _.Nd(this,1)};_.t("sy1m7");
var w0c;_.fN=function(a){_.O(this,a,-1,w0c,null)};_.L(_.fN,_.K);_.fN.prototype.Cb=function(){return _.D(this,1)};_.fN.prototype.Dc=function(a){return _.A(this,1,a)};_.fN.prototype.ik=function(){return _.pk(this,_.hl,2)};_.x0c=function(a,b){return _.Cb(a,2,b)};_.fN.prototype.qr=function(a,b){return _.tk(this,2,a,_.hl,b)};_.fN.prototype.Vf=function(){return _.D(this,4)};_.y0c=function(a,b){return _.A(a,4,b)};w0c=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1m6");
_.eTb=function(a){_.O(this,a,-1,null,null)};_.L(_.eTb,_.K);_.eTb.prototype.Ni=function(){return _.D(this,3)};_.eTb.prototype.Bi=function(a){return _.A(this,3,a)};_.eTb.prototype.ve=function(){return _.E(this,_.sf,5)};_.eTb.prototype.getCustomer=function(){return _.D(this,6)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.gN=function(a,b){_.A(a,1,b)};_.t("sy1md");

_.w();

}catch(e){_._DumpException(e)}
try{
_.A0c=function(a){return _.pe(a).Ng(_.S(a.get(_.Wo),19,!1)?z0c:_.ne)};_.t("sy1mf");
var z0c=[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];

_.w();

}catch(e){_._DumpException(e)}
try{
var B0c,C0c,D0c,E0c,F0c,G0c,H0c,I0c,J0c,K0c,M0c,N0c,O0c,P0c,Q0c,iN,V0c,W0c,jN,kN,X0c,Y0c,$0c,a1c,b1c,d1c,e1c,f1c,g1c,h1c,i1c,j1c,l1c,n1c,t1c,v1c,y1c,z1c,C1c,F1c,qN,G1c,H1c,I1c,J1c,K1c,L1c,M1c,O1c,P1c,Q1c,R1c,U1c,T1c,X1c,Z1c,a2c,c2c,g2c,i2c,j2c,k2c,l2c,m2c,n2c,r2c,t2c,u2c,v2c,w2c,x2c,S0c,lN,R0c,T0c,U0c,O3c,P3c,vN,S3c,c4c,f4c,g4c,h4c,k4c,S1c,xN,H4c,I4c,J4c,K4c,M4c,N4c,O4c,P4c,Q4c,yN,R4c,S4c,T4c,U4c,V4c,W4c,X4c,Y4c,Z4c,$4c,a5c,b5c,c5c,zN,f5c,g5c,h5c,N1c,i5c,j5c,k5c,f6c,g6c,i6c,j6c,o6c,y6c,z6c,A6c,B6c,
E6c,G6c,Q6c,c7c,d7c,k7c,u7c,M7c,S7c,Z7c,a8c,f8c,l8c,C8c,E8c,F8c,L8c,M8c,f2c,N8c,I9c,q1c,J9c,M9c,Ocd,Pcd,Qcd,Rcd,Scd,Tcd,Ucd,Vcd,Wcd,Xcd;B0c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Nd(a,3),Convert:_.R(a,8),ID:a.fj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
C0c=function(a){var b=[];b.push(B0c(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.SM?a.Kg.dg()?a.Kg.Qf(function(){d="Completed successfully."},function(e){d=e instanceof _.mi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
D0c=function(a,b,c,d,e,f){var h=_.et("Drive Upload Report: %d/%d failed",_.Ra(f),_.Ra(e));a=a.Zf();d.push("Batch query interval: "+_.ak(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.ak(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.ak(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.ak(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.ak(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(C0c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.wXc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.et('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var u=p.Sg;u=u?_.D(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,kQ:k,Ad:152391,y9:c,I0:361003}};E0c=function(a){return Array.prototype.concat.apply([],arguments)};F0c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
G0c=function(a){return String.fromCharCode(10>a?48+a:87+a)};H0c=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]=G0c(d>>4);b[2*c+3]=G0c(d&15)}return b.join("")};I0c=function(a){var b=new _.Mo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.oL(a,!0,"file"));a.G7&&(b.append(",teamDriveId,teamDrive("),b.append(a.G7),b.append(")"));b.append(")");return b.toString()};
J0c=function(a){var b=new _.Mo;b.append("kind,nextPageToken,items(");b.append(_.oL(a,!0));b.append("),incompleteSearch");a.G7&&(b.append(","),b.append(a.G7));return b.toString()};
K0c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.E(d,_.jM,138),k=_.E(d,_.el,111),l=_.E(d,_.kM,27),p=_.nl(d),q=d.zf(),r=d.jh(),u=_.E(d,_.mM,103);switch(e){case 74:_.hk(d,83);break;case 188:_.fk(d,137);break;case 149:_.bH(d,128);break;case 148:_.hk(d,127);break;case 138:_.fk(d,126);break;case 184:_.bH(d,135);break;case 76:f&&_.fk(f,1);break;case 223:f&&_.fk(f,54);break;case 208:f&&_.fk(f,48);break;case 185:f&&_.fk(f,40);break;case 224:f&&_.fk(f,55);break;case 213:f&&
_.fk(f,50);break;case 156:f&&_.fk(f,39);break;case 61:f&&_.fk(f,2);break;case 216:f&&_.fk(f,52);break;case 217:f&&_.fk(f,53);break;case 77:f&&_.fk(f,4);break;case 134:f&&_.fk(f,34);break;case 147:f&&_.fk(f,38);break;case 81:f&&_.fk(f,10);break;case 82:f&&_.fk(f,11);break;case 114:f&&_.fk(f,27);break;case 133:f&&_.fk(f,33);break;case 202:f&&_.fk(f,47);break;case 132:f&&_.fk(f,32);break;case 101:f&&_.fk(f,20);break;case 201:f&&_.fk(f,46);break;case 131:f&&_.fk(f,31);break;case 200:f&&_.fk(f,45);break;
case 130:f&&_.fk(f,30);break;case 93:f&&_.fk(f,17);break;case 191:f&&_.fk(f,44);break;case 146:f&&_.fk(f,37);break;case 90:f&&_.fk(f,16);break;case 78:f&&_.fk(f,7);break;case 186:f&&_.fk(f,41);break;case 222:f&&_.fk(f,51);break;case 85:f&&_.fk(f,12);break;case 137:f&&_.fk(f,36);break;case 209:f&&_.fk(f,49);break;case 79:f&&_.fk(f,8);break;case 189:f&&_.fk(f,42);break;case 190:f&&_.fk(f,43);break;case 80:f&&_.fk(f,9);break;case 135:f&&_.fk(f,35);break;case 102:f&&_.fk(f,21);break;case 69:_.fk(d,74);
break;case 194:h&&_.gk(h,2);break;case 193:h&&_.fk(h,1);break;case 1004:_.fk(d,108);break;case 136:_.hk(d,125);break;case 115:k&&_.fk(k,1);break;case 116:k&&_.fk(k,2);break;case 34:_.fk(d,30);f&&_.fk(f,3);break;case 9:_.fk(d,10);break;case 91:_.gk(d,91);break;case 43:_.fk(d,42);_.fk(d,43);break;case 187:_.fk(d,136);break;case 26:_.fk(d,24);break;case 108:_.bH(d,104);break;case 41:_.fk(d,40);f&&_.fk(f,5);break;case 42:_.fk(d,41);break;case 1005:_.hk(d,117);break;case 59:f&&_.fk(f,6);break;case 28:_.fk(d,
26);break;case 44:_.fk(d,45);break;case 13:_.fk(d,14);break;case 48:_.fk(d,36);break;case 38:_.fk(d,34);break;case 49:_.bH(d,50);break;case 51:_.fk(d,53);break;case 104:_.fk(d,102);break;case 39:_.fk(d,35);break;case 87:_.fk(d,76);break;case 100:_.fk(d,98);break;case 72:_.fk(d,78);break;case 5:_.fk(d,6);break;case 20:_.fk(d,21);break;case 21:break;case 29:l&&_.fk(l,1);break;case 31:l&&_.fk(l,3);break;case 92:l&&_.fk(l,4);break;case 30:l&&_.fk(l,2);break;case 16:_.gk(d,17);break;case 12:_.fk(d,13);
break;case 211:p&&_.fk(p,2);break;case 212:p&&_.fk(p,3);break;case 220:p&&_.fk(p,5);break;case 157:r&&_.hk(r,8);break;case 3:_.fk(d,4);break;case 11:_.fk(d,12);break;case 10:_.fk(d,11);break;case 50:_.fk(d,49);_.fk(d,51);_.gk(d,81);break;case 18:_.fk(d,19);break;case 95:_.fk(d,93);break;case 58:_.fk(d,63);break;case 14:_.hk(d,15);break;case 103:_.fk(d,101);break;case 1:_.bH(d,2);break;case 96:_.fk(d,94);break;case 1003:_.hk(d,107);break;case 75:_.gk(d,85);break;case 94:_.fk(d,92);break;case 45:_.fk(d,
46);break;case 124:_.fk(d,118);break;case 125:_.fk(d,119);break;case 1002:_.gk(d,100);break;case 32:_.fk(d,28);break;case 67:_.fk(d,70);break;case 68:_.fk(d,71);break;case 73:_.fk(d,79);break;case 71:_.fk(d,77);break;case 221:r&&_.fk(r,9);break;case 210:_.fk(d,140);break;case 7:_.fk(d,8);break;case 122:_.gk(d,109);break;case 66:_.fk(d,69);break;case 33:_.fk(d,29);break;case 24:_.fk(d,22);break;case 25:_.fk(d,23);break;case 46:_.gk(d,47);break;case 192:q&&_.fk(q,6);break;case 159:q&&_.gk(q,5);break;
case 154:q&&_.fk(q,1);break;case 158:q&&_.fk(q,4);break;case 155:q&&_.fk(q,3);break;case 52:_.bH(d,56);break;case 56:_.fk(d,61);break;case 55:_.hk(d,60);break;case 4:_.fk(d,5);break;case 35:_.fk(d,31);break;case 57:_.fk(d,62);break;case 83:_.fk(d,72);break;case 84:_.gk(d,86);break;case 19:_.fk(d,20);_.fk(d,44);_.fk(d,90);break;case 2:_.fk(d,3);break;case 6:_.fk(d,7);break;case 98:_.fk(d,96);break;case 97:_.gk(d,95);break;case 27:_.fk(d,25);break;case 70:_.fk(d,75);break;case 107:u&&_.fk(u,3);break;
case 106:u&&_.fk(u,2);break;case 105:u&&_.fk(u,1);break;case 8:_.fk(d,9);break;case 126:_.bH(d,120);break;default:throw Error("Kc`"+e);}}};M0c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(L0c)));a=[].concat(_.nd(_.Wab.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)K0c(b[d],a)}};
N0c=function(a,b){var c=a.getCapabilities()||new _.cl,d=_.E(a,_.jM,138),e=_.E(a,_.el,111),f=_.E(a,_.kM,27),h=_.nl(a),k=a.zf(),l=a.jh(),p=_.E(a,_.mM,103);switch(b){case 74:return 0<a.gs().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Nd(a,128).length;case 148:return 0<a.ha().length;case 138:return null!=a.V();case 184:return 0<_.Nd(a,135).length;case 76:return null!=_.dl(c);case 223:return null!=_.R(c,54);case 208:return null!=_.R(c,48);case 185:return null!=_.R(c,40);case 224:return null!=
_.R(c,55);case 213:return null!=_.R(c,50);case 156:return null!=_.R(c,39);case 61:return null!=_.R(c,2);case 216:return null!=_.R(c,52);case 217:return null!=_.R(c,53);case 77:return null!=_.R(c,4);case 134:return null!=_.R(c,34);case 147:return null!=_.R(c,38);case 81:return null!=_.R(c,10);case 82:return null!=_.R(c,11);case 114:return null!=_.R(c,27);case 133:return null!=_.R(c,33);case 202:return null!=_.R(c,47);case 132:return null!=_.R(c,32);case 101:return null!=_.R(c,20);case 201:return null!=
_.R(c,46);case 131:return null!=_.R(c,31);case 200:return null!=_.R(c,45);case 130:return null!=_.R(c,30);case 93:return null!=_.R(c,17);case 191:return null!=_.R(c,44);case 146:return null!=_.R(c,37);case 90:return null!=_.ke(c);case 78:return null!=_.R(c,7);case 186:return null!=_.R(c,41);case 222:return null!=_.R(c,51);case 85:return null!=_.R(c,12);case 137:return null!=_.R(c,36);case 209:return null!=_.R(c,49);case 79:return null!=_.R(c,8);case 189:return null!=_.R(c,42);case 190:return null!=
_.R(c,43);case 80:return null!=_.R(c,9);case 135:return null!=_.R(c,35);case 102:return null!=_.R(c,21);case 69:return null!=_.R(a,74);case 194:return null!=d&&null!=_.E(d,_.eWc,2);case 193:return null!=d&&null!=_.D(d,1);case 1004:return null!=_.R(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.R(e,1);case 116:return null!=e&&null!=_.D(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.XC();case 91:return null!=a.Pq();case 43:return null!=_.D(a,42)||null!=
_.D(a,43);case 187:return null!=_.D(a,136);case 26:return null!=a.Te();case 108:return 0<_.Nd(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.D(a,41);case 1005:return 0<_.ml(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.UI();case 44:return null!=_.D(a,45);case 13:return null!=a.aG();case 48:return null!=_.R(a,36);case 38:return null!=a.Vi();case 49:return 0<_.Nd(a,50).length;case 51:return null!=_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.Oka();
case 87:return null!=_.jl(a);case 100:return null!=_.R(a,98);case 72:return null!=_.D(a,78);case 5:return null!=a.Am();case 20:return null!=a.mf();case 21:return null!=a.getId();case 29:return!(!f||null==_.D(f,1));case 31:return!(!f||null==_.D(f,3));case 92:return!(!f||null==_.D(f,4));case 30:return!(!f||null==f.Pe());case 16:return null!=a.wm();case 12:return null!=a.ez();case 211:return null!=h&&null!=_.R(h,2);case 212:return null!=h&&null!=_.R(h,3);case 220:return null!=h&&null!=_.R(h,5);case 157:return!(!l||
!_.pk(l,_.gl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.gB();case 10:return null!=a.Fq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.jk();case 18:return null!=a.Uq();case 14:return 0<_.il(a).length;case 95:return null!=a.Ym();case 58:return null!=_.R(a,63);case 103:return null!=_.D(a,101);case 1:return 0<a.rk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.ll(a).length;case 75:return null!=a.Uw();case 94:return null!=a.vN();case 45:return null!=a.tw();
case 124:return null!=_.R(a,118);case 125:return null!=_.D(a,119);case 1002:return null!=_.kl(a);case 32:return null!=a.Qu();case 67:return null!=a.aK();case 68:return null!=_.D(a,71);case 73:return null!=_.D(a,79);case 71:return null!=a.d2();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.ol(a);case 7:return null!=a.p7();case 122:return null!=_.hN(a);case 66:return null!=_.D(a,69);case 33:return null!=_.R(a,29);case 24:return null!=a.Jj();case 25:return null!=a.py();case 46:return null!=
a.Tv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Rd(k);case 154:return null!=k&&null!=_.D(k,1);case 158:return null!=k&&null!=_.Td(k);case 155:return null!=k&&null!=_.D(k,3);case 52:return 0<_.Nd(a,56).length;case 55:return 0<a.pB().length;case 56:return null!=_.D(a,61);case 4:return null!=a.QA();case 35:return null!=_.R(a,31);case 57:return null!=_.D(a,62);case 83:return null!=a.Bc();case 84:return null!=_.E(a,_.lM,86);case 2:return null!=a.getTitle();case 19:return null!=
a.Px()||null!=_.R(a,44)||null!=_.D(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Uv();case 97:return null!=a.pD();case 27:return null!=a.lp();case 70:return null!=a.Gi();case 107:return null!=p&&null!=_.D(p,3);case 106:return null!=p&&null!=_.D(p,2);case 105:return null!=p&&null!=p.Pe();case 8:return null!=_.R(a,9);case 126:return 0<_.Nd(a,120).length;default:throw Error("Lc`"+b);}};O0c=function(a,b){return b.every(function(c){return N0c(a,c)})};
P0c=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)})};Q0c=function(a,b){var c=new Set(b.concat(_.UUc));return a.filter(function(d){return!c.has(d)})};
iN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(N0c(b,e))if(_.$ab.has(e)){if(d){var f=a.getCapabilities()||new _.cl;_.oM(a,f);switch(e){case 76:_.JVc(f,_.dl(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.dWc(f,_.R(d,48));break;case 185:var k=_.R(d,40);_.A(f,40,k);break;case 224:var l=_.R(d,55);_.A(f,55,l);break;case 213:var p=_.R(d,50);_.A(f,50,p);break;case 156:var q=_.R(d,39);_.A(f,39,q);break;case 61:var r=_.R(d,2);_.A(f,2,r);break;case 216:var u=
_.R(d,52);_.A(f,52,u);break;case 217:var y=_.R(d,53);_.A(f,53,y);break;case 77:_.KVc(f,_.R(d,4));break;case 134:var z=_.R(d,34);_.A(f,34,z);break;case 147:var C=_.R(d,38);_.A(f,38,C);break;case 81:_.QVc(f,_.R(d,10));break;case 82:_.RVc(f,_.R(d,11));break;case 114:var G=_.R(d,27);_.A(f,27,G);break;case 133:_.ZVc(f,_.R(d,33));break;case 202:_.cWc(f,_.R(d,47));_.YVc(f,_.R(d,32));break;case 132:_.YVc(f,_.R(d,32));break;case 101:_.VVc(f,_.R(d,20));break;case 201:_.bWc(f,_.R(d,46));break;case 131:_.XVc(f,
_.R(d,31));break;case 200:var I=_.R(d,45);_.A(f,45,I);break;case 130:var M=_.R(d,30);_.A(f,30,M);break;case 93:_.UVc(f,_.R(d,17));break;case 191:var P=_.R(d,44);_.A(f,44,P);break;case 146:var V=_.R(d,37);_.A(f,37,V);break;case 90:_.TVc(f,_.ke(d));break;case 78:_.NVc(f,_.R(d,7));break;case 186:var pa=_.R(d,41);_.A(f,41,pa);break;case 222:var ia=_.R(d,51);_.A(f,51,ia);break;case 85:_.SVc(f,_.R(d,12));break;case 137:var qa=_.R(d,36);_.A(f,36,qa);break;case 209:var ta=_.R(d,49);_.A(f,49,ta);break;case 79:_.OVc(f,
_.R(d,8));break;case 189:_.$Vc(f,_.R(d,42));break;case 190:_.aWc(f,_.R(d,43));break;case 80:_.PVc(f,_.R(d,9));break;case 135:var va=_.R(d,35);_.A(f,35,va);break;case 102:_.WVc(f,_.R(d,21));break;case 34:var Ya=_.R(b,30);_.A(a,30,Ya);var Ga=_.R(d,3);_.A(f,3,Ga);break;case 41:var Pa=_.R(b,40);_.A(a,40,Pa);_.LVc(f,_.R(d,5));break;case 59:_.MVc(f,_.R(d,6))}}}else if(_.abb.has(e)){var $b=_.E(b,_.jM,138);if($b){var nb=_.E(a,_.jM,138)||new _.jM;_.x(a,138,nb);switch(e){case 194:var mc=_.E($b,_.eWc,2);_.x(nb,
2,mc);break;case 193:var Lc=_.D($b,1);_.A(nb,1,Lc)}}}else if(_.bbb.has(e)){var yc=_.E(b,_.el,111);if(yc){var be=_.E(a,_.el,111)||new _.el;_.x(a,111,be);switch(e){case 115:be.bP(_.R(yc,1));break;case 116:_.fWc(be,_.D(yc,2))}}}else if(_.cbb.has(e)){var Id=_.E(b,_.kM,27);if(Id){var Xe=_.E(a,_.kM,27)||new _.kM;_.x(a,27,Xe);switch(e){case 29:var lc=_.D(Id,1);_.A(Xe,1,lc);break;case 31:Xe.uh(_.D(Id,3));break;case 92:var rb=_.D(Id,4);_.A(Xe,4,rb);break;case 30:Xe.wh(Id.Pe())}}}else if(_.dbb.has(e)){var yf=
_.nl(b);if(yf){var pg=_.nl(a)||new _.Ana;_.x(a,139,pg);switch(e){case 211:var Ce=_.R(yf,2);_.A(pg,2,Ce);break;case 212:var Kh=_.R(yf,3);_.A(pg,3,Kh);break;case 220:var tf=_.R(yf,5);_.A(pg,5,tf)}}}else if(_.ebb.has(e)){var Lh=b.zf();if(Lh){var Of=a.zf()||new _.Jna;_.x(a,132,Of);switch(e){case 192:var nj=_.R(Lh,6);_.A(Of,6,nj);break;case 159:var De=_.Rd(Lh);_.x(Of,5,De);break;case 154:var Ie=_.D(Lh,1);_.A(Of,1,Ie);break;case 158:var Pg=_.Td(Lh);_.A(Of,4,Pg);break;case 155:var Ug=_.D(Lh,3);_.A(Of,3,
Ug)}}}else if(_.fbb.has(e)){var Bi=b.jh();switch(e){case 157:if(Bi){var Zi=a.jh()||new _.Hna;R0c(a,Zi);S0c(Zi,_.pk(Bi,_.gl,8))}break;case 221:if(Bi){var yl=a.jh()||new _.Hna;R0c(a,yl);var pm=_.R(Bi,9);_.A(yl,9,pm)}}}else if(_.gbb.has(e)){var ji=_.E(b,_.mM,103);if(ji){var zf=_.E(a,_.mM,103)||new _.mM;_.x(a,103,zf);switch(e){case 107:var Ci=_.D(ji,3);_.A(zf,3,Ci);break;case 106:zf.uh(_.D(ji,2));break;case 105:zf.wh(ji.Pe())}}}else switch(e){case 74:var ve=b.gs();_.Cb(a,83,ve);break;case 188:var oj=
_.R(b,137);_.A(a,137,oj);break;case 149:var zh=_.Nd(b,128);_.ek(a,128,zh);break;case 148:var Zh=b.ha();_.Cb(a,127,Zh);break;case 138:var Mh=b.V();_.A(a,126,Mh);break;case 184:var Uj=_.Nd(b,135);_.ek(a,135,Uj);break;case 69:var eh=_.R(b,74);_.A(a,74,eh);break;case 1004:var sh=_.R(b,108);_.A(a,108,sh);break;case 136:var qg=b.O();_.Cb(a,125,qg);break;case 9:var dg=b.XC();_.A(a,10,dg);break;case 91:var pi=b.Pq();_.x(a,91,pi);break;case 43:var Nh=_.D(b,42);_.A(a,42,Nh);var $h=_.D(b,43);_.A(a,43,$h);break;
case 187:var th=_.D(b,136);_.A(a,136,th);break;case 26:a.nm(b.Te());break;case 108:var pj=_.Nd(b,104);_.ek(a,104,pj);break;case 42:var Ej=_.D(b,41);_.A(a,41,Ej);break;case 1005:var Vj=_.ml(b);_.Cb(a,117,Vj);break;case 28:_.oWc(a,b.UI());break;case 44:var qj=_.D(b,45);_.A(a,45,qj);break;case 13:var Ee=b.aG();_.A(a,14,Ee);break;case 48:var Di=_.R(b,36);_.A(a,36,Di);break;case 38:_.qWc(a,b.Vi());break;case 49:var rk=_.Nd(b,50);_.ek(a,50,rk);break;case 51:var sk=_.R(b,53);_.A(a,53,sk);break;case 104:var jc=
_.R(b,102);_.A(a,102,jc);break;case 39:var Ag=b.Oka();_.A(a,35,Ag);break;case 87:var we=_.jl(b);_.A(a,76,we);break;case 100:var Ei=_.R(b,98);_.A(a,98,Ei);break;case 72:var eg=_.D(b,78);_.A(a,78,eg);break;case 5:var Wj=b.Am();_.A(a,6,Wj);break;case 20:var fg=b.mf();_.A(a,21,fg);break;case 21:a.Pb(b.getId());break;case 16:_.mWc(a,b.wm());break;case 12:var Pe=b.ez();_.A(a,13,Pe);break;case 3:_.gF(a,b.getMimeType());break;case 11:var zl=b.gB();_.A(a,12,zl);break;case 10:_.cTb(a,b.Fq());break;case 50:var Fj=
_.R(b,49);_.A(a,49,Fj);var Af=_.R(b,51);_.A(a,51,Af);var Wd=b.jk();_.x(a,81,Wd);break;case 95:_.wWc(a,b.Ym());break;case 18:_.nWc(a,b.Uq());break;case 58:var Fi=_.R(b,63);_.A(a,63,Fi);break;case 14:_.lWc(a,_.il(b));break;case 1:_.nM(a,b.rk());break;case 96:var Te=_.R(b,94);_.A(a,94,Te);break;case 103:var Wl=_.D(b,101);_.A(a,101,Wl);break;case 1003:T0c(a,_.ll(b));break;case 75:_.uWc(a,b.Uw());break;case 94:_.vWc(a,b.vN());break;case 45:var Gj=b.tw();_.A(a,46,Gj);break;case 124:var $i=_.R(b,118);_.A(a,
118,$i);break;case 125:var bf=_.D(b,119);_.A(a,119,bf);break;case 1002:var qm=_.kl(b);_.x(a,100,qm);break;case 32:var rm=b.Qu();_.A(a,28,rm);break;case 67:var Rm=b.aK();_.A(a,70,Rm);break;case 68:var Cn=_.D(b,71);_.A(a,71,Cn);break;case 73:var zk=_.D(b,79);_.A(a,79,zk);break;case 71:var Rh=b.d2();_.A(a,77,Rh);break;case 210:var Lj=_.ol(b);_.A(a,140,Lj);break;case 7:_.kWc(a,b.p7());break;case 122:U0c(a,_.hN(b));break;case 66:var Ak=_.D(b,69);_.A(a,69,Ak);break;case 33:var $m=_.R(b,29);_.A(a,29,$m);
break;case 24:var eo=b.Jj();_.A(a,22,eo);break;case 25:var an=b.py();_.A(a,23,an);break;case 46:var $l=b.Tv();_.x(a,47,$l);break;case 52:var Dm=_.Nd(b,56);_.ek(a,56,Dm);break;case 56:var xr=_.D(b,61);_.A(a,61,xr);break;case 55:a.vA(b.pB());break;case 4:a.Cv(b.QA());break;case 35:_.pWc(a,_.R(b,31));break;case 57:var aF=_.D(b,62);_.A(a,62,aF);break;case 83:_.tWc(a,b.Bc());break;case 84:var EI=_.E(b,_.lM,86);_.x(a,86,EI);break;case 98:a.Bda(b.Uv());break;case 97:var bF=b.pD();_.x(a,95,bF);break;case 19:var lY=
b.Px();_.A(a,20,lY);_.rWc(a,_.R(b,44));var FI=_.D(b,90);_.A(a,90,FI);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Mn(b.Sh());break;case 27:_.dTb(a,b.lp());break;case 70:var mY=b.Gi();_.A(a,75,mY);break;case 8:var nY=_.R(b,9);_.A(a,9,nY);break;case 126:var Iga=_.Nd(b,120);_.ek(a,120,Iga);break;default:throw Error("Mc`"+e);}})};V0c=function(a,b){var c=_.ty[a];return b.filter(function(d){return!c||!c.has(d)})};W0c=function(a,b,c){a=V0c(c,a);return P0c(b,a,_.UUc)};
jN=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};kN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&jN(a)?(a=a.zf(),!!a&&"application/vnd.google-apps.folder"===_.D(a,3)):"application/vnd.google-apps.folder"===c};X0c=function(a){var b=a&&a.getId()||null;a&&jN(a)&&(a=(a=a.zf())&&_.D(a,1))&&(b=a);return b};Y0c=function(a){return!!_.R(a,31)&&!_.R(a,94)};$0c=function(a){return Z0c.some(function(b){return N0c(a,b)})};
a1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(lN(b))})};b1c=function(a){return a1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.c1c=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};d1c=function(a,b){var c=_.EUc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};e1c=function(a,b){return 0<=b?!a||a<=b:!0};
f1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.wRc()&&4===b.getType()?"title_natural":_.JTc[b.getType()];b=_.LTc[b.Ef()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};g1c=function(a,b){var c=a.jk();c||(c=new _.Bna,b&&_.x(a,81,c));return c};h1c=function(a){if(kN(a))_.gN(g1c(a,!0),!0);else if(kN(a,!0)){var b=a.zf();if(b=b&&_.Rd(b))_.gN(g1c(b,!0),!0),_.gN(g1c(a,!0),!0)}};i1c=function(a){return!!a.jk()&&!kN(a)};
j1c=function(a){var b=[];_.Ka(a,function(c){if(3!=lN(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.jk())c=c.clone(),_.fk(c,49),_.fk(c,51),_.gk(c,81);b.push(c)}});return b};l1c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.$b():c&&c instanceof _.IM?a[b]=c.$b(function(d){return d?d.$b():null}):c&&c instanceof k1c&&(a[b]=c.$b())}};n1c=function(a){var b=a.slice(0),c=new Set(b);m1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
t1c=function(a,b,c){var d=_.E(a,o1c,66);if(d){var e=_.D(d,1),f=_.uM(a);a=_.bL(_.NK(a));e=new _.uj(e);var h=new _.uj(window.location);var k=h.zo()+"://"+h.zj();null!=h.Lo&&(k+=":"+h.ny());h=_.Ij(k,3);_.zj(e,"co",h);h=e.Oe();!f&&0<a&&(h+="u/"+a+"/");e.Ci(h+"_/dataservice/cacheproxy");f=_.D(d,5)||"";if(_.uUc(window.location.href,e.toString())&&f)return e=n1c(c),c=_.D(d,6),b="#"+b+"_",d=new _.FK,d.update(e.join(",")),b+=_.SRc(d.digest()),c&&(b+="&jobset="+c),b=_.Fx(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.wga(b),
void 0),b=new p1c(c.port),c.port.start()):b=new p1c(new Worker(_.wga(b),void 0)),new q1c(new mN(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.zK();c=_.Dh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.rha(_.tUc(_.$f("display: none;")));document.body.appendChild(c);c=_.ORc(e.zo(),void 0,e.zj(),e.ny()).toString();return new q1c(new mN(r1c(window.frames[b],c),!1,!0),0,e.toString())}b=new s1c;return new q1c(new mN(b.O,!1,!1),2,"inline",c,new mN(b.H,!1,!1))};
v1c=function(a){var b=new u1c;if(a instanceof _.pL)_.qk(b,16,nN[0],a);else if(a instanceof _.qL)_.qk(b,1,nN[0],a);else if(a instanceof _.rL)_.qk(b,2,nN[0],a);else if(a instanceof _.oN)_.qk(b,17,nN[0],a);else if(a instanceof _.uL)_.qk(b,3,nN[0],a);else if(a instanceof _.SM)_.qk(b,4,nN[0],a);else if(a instanceof _.sL)_.qk(b,5,nN[0],a);else if(a instanceof _.zL)_.qk(b,6,nN[0],a);else if(a instanceof _.BL)_.qk(b,7,nN[0],a);else if(a instanceof _.CL)_.qk(b,8,nN[0],a);else if(a instanceof _.FL)_.qk(b,9,
nN[0],a);else if(a instanceof _.VL)_.qk(b,10,nN[0],a);else if(a instanceof _.WL)_.qk(b,11,nN[0],a);else if(a instanceof _.XL)_.qk(b,12,nN[0],a);else if(a instanceof _.dL)_.qk(b,13,nN[0],a);else if(a instanceof _.$L)_.qk(b,14,nN[0],a);else if(a instanceof _.aM)_.qk(b,15,nN[0],a);else throw new _.qc("Unsupported request type");return b};
y1c=function(a){a=a.map(function(c){var d=new w1c;if(c instanceof _.pL)_.qk(d,6,pN[0],c);else if(c instanceof _.oN)_.qk(d,7,pN[0],c);else if(c instanceof _.zL)_.qk(d,1,pN[0],c);else if(c instanceof _.VL)_.qk(d,2,pN[0],c);else if(c instanceof _.WL)_.qk(d,3,pN[0],c);else if(c instanceof _.dL)_.qk(d,4,pN[0],c);else if(c instanceof _.aM)_.qk(d,5,pN[0],c);else throw new _.qc("Unsupported request type");return d});var b=new x1c;_.Cb(b,1,a);return b};
z1c=function(a){return _.pk(a,w1c,1).map(function(b){return _.E(b,_.pL,6)||_.E(b,_.zL,1)||_.E(b,_.VL,2)||_.E(b,_.WL,3)||_.E(b,_.dL,4)||_.E(b,_.aM,5)||_.E(b,_.oN,7)})};C1c=function(a){var b=new A1c;if(a instanceof _.DC)_.qk(b,1,B1c[0],a);else if(a instanceof _.EC)_.qk(b,2,B1c[0],a);else throw new _.qc("Unsupported request type");return b};
F1c=function(a){var b=new D1c;if(a instanceof _.vL)_.qk(b,1,E1c[0],a);else if(a instanceof _.DL)_.qk(b,2,E1c[0],a);else if(a instanceof _.bM)_.qk(b,3,E1c[0],a);else throw new _.qc("Unsupported request type");return b};qN=function(a,b,c){return b?new c(JSON.parse(a)):a};G1c=function(a){a={t:a.title,d:a.description,c:a.Ad,fi:a.y9,dti:a.I0,a:a.kQ?a.kQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.j9})}):void 0};return JSON.stringify(a)};
H1c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Ad:a.c,y9:a.fi,I0:a.dti,kQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,j9:b.ec}}):void 0}};I1c=function(a,b,c){a=a?1:2;a=_.dd(_.cd(new _.bd,12),a);var d=(new _.gf).Mn(!0);d=_.A(d,17,!0);a=_.hf(d,a);c&&_.Ml(a,c);c=new _.HTc;b&&_.LUc(c,b);return _.MUc(_.OUc(new _.TK,a),c)};J1c=function(a){return a.map(function(b){return b.getItem()})};
K1c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};L1c=function(a,b){var c=new _.uj(_.F(b,16,"")+"/open"),d=a.getId();jN(a)&&(d=X0c(a));_.zj(c,"id",d);_.zj(c,"authuser",_.bL(_.NK(b)));_.S(b,89,!1)&&_.Q(a,140)&&_.zj(c,"resourcekey",_.ol(a));return c.toString()};
M1c=function(a){_.Rf("drive.DebugUtil.printFindById",function(c){a.WM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Rf("drive.DebugUtil.getLogs",function(){return _.wXc(a.$f())});_.Rf("drive.DebugUtil.printLogs",function(){window.console.log(_.wXc(a.$f()))});_.Rf("drive.DebugUtil.printRequestHistory",function(){a.lR().addCallback(function(c){c.forEach(function(d){window.console.log(_.D(d,1));window.console.log(_.D(d,2))})})});_.Rf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.Rf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Rf("drive.DebugUtil.setOffline",function(c){return void a.Il(c)}))};O1c=function(a,b){var c=new _.eN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.u0c.get(lN(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}N1c(c,[].concat(_.nd(d)));return c};
P1c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Efa:c.Efa},d=a.next())if(d=d.value){c.Efa=new Map;[].concat(_.nd(_.il(d)),[d.wm(),d.Tv(),d.Pq()]).forEach(function(l){return function(p){p&&l.Efa.set(_.lF(p),p)}}(c));for(var e=[],f=_.m(c.Efa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName();e.push(_.lF(h)+"-"+((k?k.length:k)+"-")+_.Zj(h,16,0))}b.push(d.getId()+","+lN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):""};
Q1c=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.xk(d,f)||(d=_.HRc(4).setItem(f),c[e]=d):(d=_.HRc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.HRc(1).setItem(d),c[e]=d)});return c};R1c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(Q1c(a,b))};
U1c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.sf;_.uf(b,305);_.vf(b,!0);_.A(b,3,2);var c=new _.CC;_.x(c,1,b);S1c(c,[7]);a=a.then(function(d){return d.We(c)}).then(T1c);return _.qi(a)};T1c=function(a){a=_.pk(a,_.dp,3);var b=new V1c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.D(d,2))&&(c=_.Db(c.Xa()),_.A(b,3,c))});return"number"===typeof _.D(b,3)?b:null};
X1c=function(a,b){var c=W1c(a.tm,b.Jc());if(c){var d=c.getItem(),e=d.Uw();if(e){var f=e.rR(),h=_.wa(f,function(k){return k.getId()===_.D(b,2)});_.hWc(e,f);h||(f=_.pk(e,_.Sk,3),_.wa(f,function(k){return k.getId()===_.D(b,2)}),_.iWc(e,f));_.gWc(e,(_.D(e,1)||1)-1);a.ql([d],c.H)}}};
Z1c=function(a,b,c){if(b=W1c(a.tm,b.Jc())){var d=b.getItem(),e=d.Uw();if(e){if(1===c.getType()||2===c.getType()){var f=_.pk(e,_.Sk,3);f.push(c);_.Ia(f,Y1c);_.iWc(e,f)}else f=e.rR(),f.push(c),_.Ia(f,Y1c),_.hWc(e,f);_.gWc(e,(_.D(e,1)||0)+1);a.ql([d],b.H)}}};a2c=function(a){return a.map(function(b){var c=new _.ksb;c=_.A(c,3,$1c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
c2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return b2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
g2c=function(a){var b=a.json.exportJob,c=d2c[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=_.Bb(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.Bb(b.failedItemInfos||[],function(l){var p=_.gF((new _.hl).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.e2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new f2c(c,d,k,f,h,e,a,b)};
i2c=function(a){var b={},c=a.getKey(),d=c&&_.D(c,2);b.key=d;b.value=a.Xa();(a=c&&_.ep(c))&&(b.namespace=h2c[a]);return b};j2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(h2c[a[c]]);return b};k2c=function(a){return"kind,defaultAppIds,items("+a+")"};l2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};m2c=function(a,b){var c;return(null===(c=_.cL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
n2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
r2c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.cL(b),e=!!d&&_.S(d,10,!1);if(_.MK(_.NK(b))||!c&&!e)_.A(b,61,!1),_.gk(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.E(b,o1c,66);f&&_.D(f,1)||(c=!1);_.uM(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.gk(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new rN(a,b,c),new o2c(b);c=_.MK(_.NK(b))?2:1;a=new sN(a,b,c,void 0,void 0,void 0);return _.MK(_.NK(b))?new p2c(a):new q2c(a)};
t2c=function(a){return _.pe(a).Ng(_.S(a.get(_.Wo),19,!1)?s2c:_.rUa)};u2c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};v2c=function(a,b){return _.Cb(a,1,b)};w2c=[1];x2c=function(a){_.O(this,a,-1,w2c,null)};_.L(x2c,_.K);x2c.prototype.Uha=function(a){_.tk(this,1,a,_.Sk,void 0)};
var y2c=function(a){var b=new x2c;return _.Cb(b,1,a)},z2c=function(a,b){return _.x(a,1,b)},A2c=function(a,b){_.Cb(a,2,b)},B2c=function(a,b){_.x(a,6,b)},C2c=function(a,b){return _.qk(a,3,_.Vk[0],b)},D2c=function(a){_.O(this,a,-1,null,null)};_.L(D2c,_.K);var E2c=function(a){_.O(this,a,-1,null,null)};_.L(E2c,_.K);var tN=function(a){_.O(this,a,-1,null,null)};_.L(tN,_.K);var F2c=function(a){_.O(this,a,-1,null,null)};_.L(F2c,_.K);var G2c=function(a){_.O(this,a,-1,null,null)};_.L(G2c,_.K);
var H2c=function(a){_.O(this,a,-1,null,null)};_.L(H2c,_.K);var I2c=function(a){_.O(this,a,-1,null,null)};_.L(I2c,_.K);var J2c=function(a){_.O(this,a,-1,null,null)};_.L(J2c,_.K);var K2c=function(a){_.O(this,a,-1,null,null)};_.L(K2c,_.K);var L2c=function(a){_.O(this,a,-1,null,null)};_.L(L2c,_.K);var M2c=function(a){_.O(this,a,-1,null,null)};_.L(M2c,_.K);var N2c=function(a){_.O(this,a,-1,null,null)};_.L(N2c,_.K);var O2c=function(a){_.O(this,a,-1,null,null)};_.L(O2c,_.K);
var P2c=function(a){_.O(this,a,-1,null,null)};_.L(P2c,_.K);var Q2c=function(a,b){_.Cb(a,1,b)},R2c=function(a,b){return _.A(a,2,b)},S2c=function(a,b){return _.x(a,3,b)},T2c=function(a,b){return _.A(a,4,b)},U2c=[[1,2,3,4]],V2c=function(a){_.O(this,a,-1,null,U2c)};_.L(V2c,_.K);var W2c=function(a,b){_.Cb(a,1,b)},X2c=function(a,b){return _.x(a,2,b)},Y2c=[[1]],Z2c=function(a){_.O(this,a,-1,null,Y2c)};_.L(Z2c,_.K);
var $2c=function(a,b){_.Cb(a,1,b)},a3c=function(a,b){return _.x(a,4,b)},b3c=function(a,b){_.x(a,5,b)},c3c=function(a,b){_.Cb(a,2,b)},d3c=function(a,b){_.Cb(a,4,b)},e3c=function(a,b){return _.x(a,5,b)},f3c=[[1,2]],g3c=function(a){_.O(this,a,-1,null,f3c)};_.L(g3c,_.K);var h3c=function(a,b){_.Cb(a,1,b)},i3c=function(a,b){return _.x(a,2,b)},j3c=[[1]],k3c=function(a){_.O(this,a,-1,null,j3c)};_.L(k3c,_.K);
var l3c=function(a,b){_.Cb(a,2,b)},m3c=function(a){var b=new _.$k;return _.Cb(b,3,a)},n3c=[[1,2]],o3c=function(a){_.O(this,a,-1,null,n3c)};_.L(o3c,_.K);o3c.prototype.TG=function(){return _.E(this,tN,1)};o3c.prototype.xg=function(a){return _.qk(this,1,n3c[0],a)};var p3c=[1],q3c=function(a){_.O(this,a,-1,p3c,null)};_.L(q3c,_.K);q3c.prototype.Qp=function(){return _.D(this,2)};
var r3c=function(a,b){_.Cb(a,1,b)},s3c=function(a,b){return _.A(a,2,b)},t3c=function(a,b){return _.x(a,3,b)},u3c=[[1]],v3c=function(a){_.O(this,a,-1,null,u3c)};_.L(v3c,_.K);var w3c=[2],x3c=function(a){_.O(this,a,-1,w3c,null)};_.L(x3c,_.K);var y3c=function(a,b){_.Cb(a,2,b)},z3c=function(a,b){return _.x(a,3,b)},A3c=[[1]],B3c=function(a){_.O(this,a,-1,null,A3c)};_.L(B3c,_.K);B3c.prototype.TG=function(){return _.E(this,F2c,1)};B3c.prototype.xg=function(a){return _.qk(this,1,A3c[0],a)};
var C3c=function(a,b){_.Cb(a,1,b)},D3c=function(a,b){return _.Cb(a,2,b)},E3c=[[1,2]],F3c=function(a){_.O(this,a,-1,null,E3c)};_.L(F3c,_.K);var G3c=function(a,b){_.Cb(a,1,b)},H3c=function(a,b){return _.x(a,2,b)},I3c=[[1]],J3c=function(a){_.O(this,a,-1,null,I3c)};_.L(J3c,_.K);var K3c=function(a,b){return _.x(a,1,b)},L3c=function(a,b){return _.A(a,2,b)},M3c=function(a,b){return _.A(a,3,b)},N3c=function(a){_.O(this,a,-1,null,null)};_.L(N3c,_.K);S0c=function(a,b){_.Cb(a,8,b)};
lN=function(a){return _.Zj(a,52,1)};R0c=function(a,b){return _.x(a,73,b)};T0c=function(a,b){_.Cb(a,107,b)};_.hN=function(a){return _.E(a,N3c,109)};U0c=function(a,b){_.x(a,109,b)};O3c=function(a){var b=new _.yk;var c=_.D(a,1);null!=c&&_.Fk(b,1,c);c=_.D(a,2);null!=c&&_.Fk(b,2,c);return _.Ck(b)};P3c=function(a){_.O(this,a,-1,null,null)};_.L(P3c,_.K);var o1c=function(a){_.O(this,a,-1,null,null)};_.L(o1c,_.K);var Q3c=[11],R3c=function(a){_.O(this,a,-1,Q3c,null)};_.L(R3c,_.K);
var uN=function(a){_.O(this,a,-1,null,null)};_.L(uN,_.K);uN.prototype.getKey=function(){return _.D(this,2)};uN.prototype.ys=function(){return _.Q(this,2)};vN=function(a){return _.F(a,4,"en")};_.wN=function(a){return _.E(a,R3c,34,1)};S3c=function(a,b){return _.A(a,5,b)};_.T3c=function(a,b){return _.A(a,2,b)};_.U3c=function(a,b){return _.A(a,3,b)};_.V3c=function(a,b){return _.A(a,1,b)};_.W3c=function(a,b){return _.A(a,2,b)};_.X3c=function(a,b){return _.Cb(a,5,b)};
_.Y3c=function(a,b){return _.A(a,6,b)};_.Z3c=function(a,b){return _.A(a,7,b)};_.$3c=function(a,b){return _.A(a,8,b)};_.a4c=function(a,b){return _.A(a,10,b)};_.b4c=function(a,b){return _.A(a,15,b)};c4c=[2];_.d4c=function(a){_.O(this,a,-1,c4c,null)};_.L(_.d4c,_.K);_.d4c.prototype.Ph=function(){return _.D(this,1)};_.e4c=function(a,b){return _.x(a,1,b)};f4c=function(a,b){return _.A(a,2,b)};g4c=function(a,b){return _.A(a,3,b)};h4c=function(a,b){_.Cb(a,4,b)};_.i4c=function(a,b){_.x(a,8,b)};
_.j4c=function(a,b){_.x(a,9,b)};k4c=function(a){_.O(this,a,-1,null,null)};_.L(k4c,_.K);k4c.prototype.Xa=function(){return _.bk(this,1)};k4c.prototype.Jb=function(a){return _.ik(this,1,a,0)};S1c=function(a,b){_.ek(a,3,b)};xN=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.xk(b[a]||void 0,c[a]||void 0))return!0;return!1};_.l4c=function(a){_.O(this,a,-1,null,null)};_.L(_.l4c,_.K);_.l4c.prototype.getId=function(){return _.D(this,1)};
_.l4c.prototype.Pb=function(a){return _.A(this,1,a)};_.l4c.prototype.Pe=function(){return _.D(this,4)};_.l4c.prototype.wh=function(a){return _.A(this,4,a)};_.SM=function(a){_.O(this,a,-1,null,null)};_.L(_.SM,_.K);_.SM.prototype.getTitle=function(){return _.D(this,1)};_.SM.prototype.setTitle=function(a){return _.A(this,1,a)};_.SM.prototype.ve=function(){return _.E(this,_.sf,2)};
var m4c=function(a,b){return _.ek(a,9,b)},n4c=function(a,b){return _.ek(a,10,b)},o4c=function(a,b){return _.A(a,36,b)},p4c=function(a,b){return _.Cb(a,38,b)},q4c=function(a,b){return _.A(a,2,b)},r4c=function(a,b){return _.x(a,3,b)},s4c=function(a){_.O(this,a,-1,null,null)};_.L(s4c,_.K);var t4c=function(a){_.O(this,a,-1,null,null)};_.L(t4c,_.K);var u4c=function(a){_.O(this,a,-1,null,null)};_.L(u4c,_.K);var v4c=function(a){_.O(this,a,-1,null,null)};_.L(v4c,_.K);
var w4c=function(a){_.O(this,a,-1,null,null)};_.L(w4c,_.K);var x4c=function(a,b){return _.A(a,1,b)},y4c=function(a,b){return _.A(a,3,b)},z4c=function(a,b){return _.A(a,4,b)},A4c=function(a,b){_.A(a,7,b)},B4c=function(a){_.O(this,a,-1,null,null)};_.L(B4c,_.K);B4c.prototype.qy=function(){return _.R(this,2)};var C4c=function(a,b){_.A(a,1,b)},D4c=function(a){_.O(this,a,-1,null,null)};_.L(D4c,_.K);D4c.prototype.Km=function(){return _.D(this,3)};D4c.prototype.Dt=function(a){return _.A(this,3,a)};
D4c.prototype.yo=function(){return _.D(this,4)};var E4c=function(a){_.O(this,a,-1,null,null)};_.L(E4c,_.K);var F4c=[1,3,5],G4c=function(a){_.O(this,a,-1,F4c,null)};_.L(G4c,_.K);G4c.prototype.$E=function(){return _.Nd(this,1)};G4c.prototype.qy=function(){return _.R(this,2)};G4c.prototype.yo=function(){return _.D(this,7)};H4c=function(a,b){_.A(a,2,b)};I4c=function(a,b){_.nk(a,5,b,void 0)};J4c=function(a,b){_.A(a,6,b)};K4c=function(a,b){_.A(a,7,b)};_.L4c=function(a,b){_.x(a,2,b)};
M4c=function(a,b){return _.ek(a,1,b)};N4c=function(a,b,c){_.yM(a,b,c,"warning")};O4c=function(a){return[].concat(_.nd(a.O))};P4c=function(a){return a.H.concat([].concat(_.nd(a.O)))};Q4c=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(_.nd(c))};yN=function(a){var b=_.GM(a).zd();b||(b=new _.TWc,a=_.GM(a),_.x(a,1,b));return b};
R4c=function(a){var b=_.E(_.GM(a),G4c,3);b||(b=new G4c,a=_.GM(a),_.x(a,3,b));return b};S4c=function(a){var b=_.E(_.GM(a),u4c,7);b||(b=new u4c,a=_.GM(a),_.x(a,7,b));return b};T4c=function(a){var b=_.E(_.GM(a),w4c,12);b||(b=new w4c,a=_.GM(a),_.x(a,12,b));return b};U4c=function(a){var b=_.E(_.GM(a),B4c,17);b||(b=new B4c,a=_.GM(a),_.x(a,17,b));return b};
V4c=function(a){if(a instanceof _.GK)return 2;if(a instanceof _.dF)return 10;if(a instanceof _.gf)return _.LL(a)?3:_.ML(a)?7:_.NL(a)?8:1;if(a instanceof _.zz)return 9;if(a instanceof _.mF)return 11;if(a instanceof _.TL)return 15;if(a instanceof _.OK)return 6;if(a instanceof _.PL){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 _.CC)return 4;if(a instanceof _.jz)return 12;if(a instanceof _.fF)return 13}return 0};
W4c=function(a){var b=null;a instanceof _.mA||"undefined"!=typeof _.IM&&a instanceof _.IM||"undefined"!=typeof _.JM&&a instanceof _.JM?b=a.Ye()||0:"undefined"!=typeof _.LM&&a instanceof _.LM||"undefined"!=typeof _.MM&&a instanceof _.MM||"undefined"!=typeof _.NM&&a instanceof _.NM||"undefined"!=typeof _.OM&&a instanceof _.OM||"undefined"!=typeof _.PM&&a instanceof _.PM?b=a.Re:"undefined"!=typeof _.KM&&a instanceof _.KM&&(b=a.Ye());return b||0};
X4c=function(a,b,c){return a.V&&_.sYc(a)?(a=_.oYc(a.V,b,0),c&&_.MSc(a,c),a):null};Y4c=function(a){a.V&&_.sYc(a)&&(a=a.V,a.H.NP()&&a.H.h_())};Z4c=function(a){var b=new _.HL;return _.A(b,1,a)};$4c=function(a,b){return _.x(a,2,b)};a5c=function(a,b){return _.x(a,1,b)};b5c=function(a,b){a.ha=b};c5c=[2];zN=function(a){_.O(this,a,-1,c5c,null)};_.L(zN,_.K);zN.prototype.Cb=function(){return _.D(this,1)};zN.prototype.Dc=function(a){return _.A(this,1,a)};zN.prototype.Uha=function(a){_.tk(this,2,a,_.Sk,void 0)};
zN.prototype.Yj=function(){return _.D(this,3)};var d5c=[2],e5c=function(a){_.O(this,a,-1,d5c,null)};_.L(e5c,_.K);e5c.prototype.Cb=function(){return _.D(this,1)};e5c.prototype.Dc=function(a){return _.A(this,1,a)};e5c.prototype.Yj=function(){return _.D(this,3)};f5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.zn,a.H.promise):null};g5c=function(a){var b=[];a.kj.forEach(function(c){(c=c.Av.config.timestamp)&&b.push(c)});return b};
h5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.Av.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,g5c(c))});return b};N1c=function(a,b){return _.ek(a,1,b)};i5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ca");var c=_.mb(a,!0);b=_.mb(b,!0);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++)_.Jma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
j5c={SUCCESS:1,G6b:2,NYb:3,wUb:4,T6b:5,n1b:6,e1b:7,dVb:8,E5b:9,T5b:10,F6b:11,IWb:12,mWb:13,NZb:14,gYb:15,qWb:16,pWb:17,vWb:18,sWb:19,tWb:20,j6b:21,P6b:22,F1b:23,M0b:24,XUb:25,PERMISSION_DENIED:26,c0b:27,iVb:28,hVb:29,INTERRUPTED:30,d2b:31,w2b:32,XWb:33,cXb:34,L5b:35,jXb:36,hYb:37,bXb:38,d1b:39,QVb:40,Z1b:41,y2b:42,C5b:43,BVb:44,PVb:45,eYb:46,Y_b:47,c1b:48,w1b:49,$1b:50,v5b:51,nWb:52,D5b:53,B5b:54,HVb:55,EVb:56,tXb:57,w0b:58,a2b:59,x_b:60,O3b:61,C4b:62,i5b:63,b_b:64,O0b:65,W6b:66,lXb:67,iYb:68,E6b:69,
f_b:70,gVb:71,tVb:72,K4b:73,j5b:74,f5b:75,d5b:76,y4b:190,c5b:191,L4b:192,R4b:126,N4b:128,O4b:129,P4b:130,Q4b:131,S4b:132,T4b:133,X3b:127,U3b:134,V3b:135,Z3b:136,$3b:137,a4b:138,W3b:194,Y3b:195,b4b:196,T3b:197,B4b:189,N3b:139,P3b:140,c4b:141,d4b:142,p4b:143,s4b:144,t4b:145,u4b:146,v4b:147,w4b:148,x4b:149,A4b:150,G4b:151,I4b:152,J4b:153,M4b:154,U4b:155,W4b:156,X4b:157,Y4b:158,Z4b:159,$4b:160,a5b:161,e5b:162,h5b:163,k5b:164,Q3b:165,R3b:166,S3b:167,L3b:168,M3b:169,g4b:170,e4b:171,f4b:172,h4b:173,i4b:174,
j4b:175,k4b:176,l4b:177,m4b:178,n4b:179,o4b:180,q4b:181,r4b:182,z4b:106,H4b:183,V4b:184,b5b:185,D4b:186,E4b:187,F4b:188,g5b:244,Y1b:77,J6b:78,O6b:79,j0b:80,SZb:81,UZb:82,sXb:83,dYb:84,d0b:85,c6b:86,aXb:87,h_b:88,g_b:89,n5b:90,l5b:91,m5b:92,K6b:93,cWb:94,bWb:95,ZVb:96,aWb:97,$Vb:98,V6b:99,x3b:100,yWb:101,rWb:102,wWb:103,uWb:104,xWb:105,jYb:107,Q5b:108,r3b:109,y6b:110,mYb:111,lYb:112,C_b:113,D_b:114,C2b:115,IVb:116,K_b:117,CXb:118,L6b:119,j1b:120,k1b:121,OZb:193,oWb:122,RWb:123,RZb:124,I0b:125,i_b:198,
i2b:199,ZZb:200,$Tb:201,d_b:202,c_b:203,jVb:204,t7b:205,R_b:206,WVb:207,g1b:208,x2b:209,t3b:210,AUb:211,A_b:212,H_b:213,G5b:214,F5b:215,a_b:216,MZb:217,$Zb:218,nXb:219,U5b:220,oXb:221,y_b:222,N5b:223,e7b:224,S0b:225,M5b:226,TWb:227,Q_b:228,rXb:229,SVb:230,a6b:231,J0b:232,FILE_TOO_LARGE:233,e_b:234,mXb:235,aYb:236,t2b:237,P0b:238,LTb:239,TVb:240,W0b:241,D3b:242,ZWb:243,YTb:245,VZb:246,y1b:247,TZb:248,i0b:249,N0b:250,fYb:251,UYb:252,B_b:253,FVb:254,kYb:255,U6b:256,GYb:257,t0b:258,J2b:259,h2b:260,o_b:261,
DWb:262,$Wb:263,WUb:264,b0b:265,S6b:266,PTb:267,OUb:268,NUb:269};k5c=[2,6];_.JM=function(a){_.O(this,a,-1,k5c,null)};_.L(_.JM,_.K);_.g=_.JM.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Hd=function(){return _.pk(this,_.hl,2)};_.g.Rw=function(a){return _.Cb(this,2,a)};_.g.mh=function(a,b){return _.tk(this,2,a,_.hl,b)};_.g.Yj=function(){return _.D(this,3)};_.g.ll=function(){return _.S(this,4,!0)};var l5c=function(a,b){return _.Cb(a,6,b)};
_.JM.prototype.Vf=function(){return _.D(this,10)};_.JM.prototype.OP=function(a){return _.A(this,10,a)};_.JM.prototype.Ye=function(){return _.D(this,9)};_.JM.prototype.lj=function(a){return _.A(this,9,a)};var L0c=[1004,1005,1002,1003],Z0c=[1002,1003,1005],m5c=[1,2],n5c=function(a){_.O(this,a,-1,m5c,null)};_.L(n5c,_.K);var o5c=function(a){_.O(this,a,-1,null,null)};_.L(o5c,_.K);o5c.prototype.Cb=function(){return _.D(this,1)};o5c.prototype.Dc=function(a){return _.A(this,1,a)};
o5c.prototype.Zm=function(){return _.E(this,_.eF,2)};var p5c=function(a){_.xi.call(this,a)};_.L(p5c,_.xi);var q5c=[5,7,9],r5c=function(a){_.O(this,a,-1,q5c,null)};_.L(r5c,_.K);_.g=r5c.prototype;_.g.getUser=function(){return _.E(this,_.Sk,1)};_.g.MA=function(a){_.A(this,2,a)};_.g.setBooleanValue=function(a){return _.A(this,3,a)};_.g.setTextValue=function(a){return _.A(this,4,a)};_.g.Mpa=function(a){return _.ek(this,5,a)};_.g.addTextValues=function(a,b){return _.nk(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.A(this,6,a)};_.g.Ipa=function(a){return _.ek(this,7,a)};_.g.addSelectionValues=function(a,b){return _.nk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.A(this,8,a)};_.g.Apa=function(a){return _.ek(this,9,a)};_.g.addIntegerValues=function(a,b){return _.nk(this,9,a,b)};var s5c=[7,10,12,16,13,3],AN=function(a){_.O(this,a,-1,s5c,null)};_.L(AN,_.K);var BN=function(a){return _.D(a,4)};_.g=AN.prototype;_.g.MA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.R$a=function(){return _.D(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.Mpa=function(a){return _.ek(this,7,a)};_.g.addTextValues=function(a,b){return _.nk(this,7,a,b)};_.g.P$a=function(){return _.D(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.Q$a=function(){return _.D(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.EMa=function(){return _.Nd(this,10)};
_.g.Ipa=function(a){return _.ek(this,10,a)};_.g.addSelectionValues=function(a,b){return _.nk(this,10,a,b)};_.g.O$a=function(){return _.D(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.Apa=function(a){return _.ek(this,12,a)};_.g.addIntegerValues=function(a,b){return _.nk(this,12,a,b)};_.g.FMa=function(){return _.E(this,_.Sk,15)};_.g.setUserValue=function(a){return _.x(this,15,a)};_.g.wBa=function(){return _.pk(this,_.Sk,16)};var t5c=function(a,b){_.Cb(a,16,b)};
AN.prototype.addUserValues=function(a,b){return _.tk(this,16,a,_.Sk,b)};AN.prototype.O=function(){return _.D(this,17)};AN.prototype.setDateStringValue=function(a){return _.A(this,17,a)};AN.prototype.V=function(){return _.Q(this,17)};var u5c=function(a,b){_.Cb(a,13,b)};AN.prototype.getId=function(){return _.D(this,14)};AN.prototype.Pb=function(a){return _.A(this,14,a)};AN.prototype.getName=function(){return _.D(this,1)};AN.prototype.jd=function(a){return _.A(this,1,a)};
var v5c=[2],CN=function(a){_.O(this,a,-1,v5c,null)};_.L(CN,_.K);CN.prototype.getName=function(){return _.D(this,1)};CN.prototype.jd=function(a){return _.A(this,1,a)};CN.prototype.O=function(){return _.pk(this,AN,2)};var w5c=function(a,b){_.Cb(a,2,b)};CN.prototype.Jc=function(){return _.D(this,3)};var x5c=function(a,b){return _.A(a,3,b)},y5c=function(a){_.O(this,a,-1,null,null)};_.L(y5c,_.K);y5c.prototype.O=function(){return _.E(this,_.TB,1)};y5c.prototype.V=function(){return _.E(this,_.TB,2)};
y5c.prototype.ha=function(){return _.E(this,_.TB,3)};var z5c=function(a){_.O(this,a,-1,null,null)};_.L(z5c,_.K);_.g=z5c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.dk=function(a){return _.A(this,1,a)};_.g.Am=function(){return _.R(this,2)};_.g.S$a=function(){return _.R(this,3)};_.g.T$a=function(){return _.R(this,4)};var DN=[[13,19,12,11,10,15,14,9,8,18,17,16]],A5c=function(a){_.O(this,a,-1,null,null)};_.L(A5c,_.K);A5c.prototype.O=function(){return _.R(this,1)};
A5c.prototype.V=function(){return _.R(this,2)};var B5c=function(a){_.O(this,a,-1,null,null)};_.L(B5c,_.K);B5c.prototype.uVa=function(){return _.D(this,1)};B5c.prototype.O=function(){return _.D(this,4)};var C5c=function(a){_.O(this,a,-1,null,null)};_.L(C5c,_.K);C5c.prototype.V=function(){return _.D(this,1)};C5c.prototype.O=function(){return _.D(this,2)};var D5c=function(a){_.O(this,a,-1,null,null)};_.L(D5c,_.K);D5c.prototype.V=function(){return _.D(this,1)};
D5c.prototype.O=function(){return _.D(this,2)};var E5c=function(a){_.O(this,a,-1,null,null)};_.L(E5c,_.K);var F5c=[1],G5c=function(a){_.O(this,a,-1,null,null)};_.L(G5c,_.K);G5c.prototype.O=function(){return _.R(this,1)};G5c.prototype.V=function(){return _.R(this,2)};var H5c=function(a){_.O(this,a,-1,null,null)};_.L(H5c,_.K);_.g=H5c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.dk=function(a){return _.A(this,1,a)};_.g.Am=function(){return _.R(this,2)};_.g.dab=function(){return _.E(this,y5c,3)};
_.g.gab=function(){return _.Q(this,3)};_.g.fab=function(){return _.E(this,y5c,4)};_.g.iab=function(){return _.Q(this,4)};_.g.eab=function(){return _.D(this,5)};_.g.hab=function(){return _.Q(this,5)};var I5c=function(a){_.O(this,a,-1,null,null)};_.L(I5c,_.K);_.g=I5c.prototype;_.g.getLabel=function(){return _.D(this,1)};_.g.wd=function(a){return _.A(this,1,a)};_.g.Jr=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};
_.g.Ei=function(){return _.fk(this,2)};_.g.kh=function(){return _.Q(this,2)};_.g.Te=function(){return _.D(this,5)};_.g.nm=function(a){return _.A(this,5,a)};_.g.cab=function(){return _.Q(this,5)};_.g.getCapabilities=function(){return _.E(this,G5c,3)};_.g.bab=function(){return _.E(this,H5c,4)};var J5c=function(a){_.O(this,a,-1,F5c,null)};_.L(J5c,_.K);J5c.prototype.O=function(){return _.pk(this,I5c,1)};var K5c=function(a,b){_.Cb(a,1,b)},L5c=function(a){_.O(this,a,-1,null,null)};_.L(L5c,_.K);
L5c.prototype.fu=function(){return _.D(this,1)};L5c.prototype.yW=function(){return _.Q(this,1)};L5c.prototype.getOptions=function(){return _.E(this,J5c,2)};var M5c=function(a){_.O(this,a,-1,null,null)};_.L(M5c,_.K);M5c.prototype.fu=function(){return _.D(this,1)};M5c.prototype.yW=function(){return _.Q(this,1)};M5c.prototype.getOptions=function(){return _.E(this,D5c,2)};var N5c=function(a){_.O(this,a,-1,null,null)};_.L(N5c,_.K);var O5c=function(a){_.O(this,a,-1,null,null)};_.L(O5c,_.K);
O5c.prototype.fu=function(){return _.D(this,1)};O5c.prototype.yW=function(){return _.Q(this,1)};O5c.prototype.getOptions=function(){return _.E(this,N5c,2)};var EN=[[3,4,5,6,7,8,9,10,11,12]],P5c=function(a){_.O(this,a,-1,null,EN)};_.L(P5c,_.K);_.g=P5c.prototype;_.g.zda=function(a){return _.qk(this,3,EN[0],a)};_.g.f5a=function(a){return _.qk(this,4,EN[0],a)};_.g.s4a=function(a){return _.qk(this,5,EN[0],a)};_.g.r4a=function(a){return _.qk(this,6,EN[0],a)};
_.g.f4a=function(a){return _.qk(this,7,EN[0],a)};_.g.T4a=function(a){return _.qk(this,8,EN[0],a)};_.g.S4a=function(a){return _.qk(this,9,EN[0],a)};_.g.k5a=function(a){return _.qk(this,10,EN[0],a)};_.g.Qpa=function(a){return _.qk(this,11,EN[0],a)};_.g.wpa=function(a){return _.qk(this,12,EN[0],a)};var Q5c=function(a){_.O(this,a,-1,null,null)};_.L(Q5c,_.K);var R5c=function(a){_.O(this,a,-1,null,null)};_.L(R5c,_.K);R5c.prototype.fu=function(){return _.D(this,1)};
R5c.prototype.yW=function(){return _.Q(this,1)};R5c.prototype.getOptions=function(){return _.E(this,Q5c,2)};var S5c=function(a){_.O(this,a,-1,null,DN)};_.L(S5c,_.K);_.g=S5c.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.W$a=function(){return _.D(this,2)};_.g.Fe=function(){return _.D(this,4)};_.g.V$a=function(){return _.E(this,z5c,5)};_.g.getCapabilities=function(){return _.E(this,A5c,6)};_.g.aab=function(){return _.D(this,7)};
_.g.f4a=function(a){return _.qk(this,13,DN[0],a)};_.g.U$a=function(){return _.E(this,B5c,19)};_.g.wpa=function(a){return _.qk(this,19,DN[0],a)};_.g.r4a=function(a){return _.qk(this,12,DN[0],a)};_.g.s4a=function(a){return _.qk(this,11,DN[0],a)};_.g.ltb=function(){return _.E(this,C5c,10)};_.g.X$a=function(){return _.E(this,L5c,15)};_.g.S4a=function(a){return _.qk(this,15,DN[0],a)};_.g.Y$a=function(){return _.E(this,J5c,14)};_.g.T4a=function(a){return _.qk(this,14,DN[0],a)};
_.g.f5a=function(a){return _.qk(this,9,DN[0],a)};_.g.Z$a=function(){return _.E(this,D5c,8)};_.g.zda=function(a){return _.qk(this,8,DN[0],a)};_.g.$$a=function(){return _.E(this,R5c,18)};_.g.Qpa=function(a){return _.qk(this,18,DN[0],a)};_.g.k5a=function(a){return _.qk(this,17,DN[0],a)};var T5c=[5],U5c=function(a){_.O(this,a,-1,null,null)};_.L(U5c,_.K);U5c.prototype.ha=function(){return _.R(this,1)};U5c.prototype.O=function(){return _.R(this,2)};U5c.prototype.ka=function(){return _.R(this,3)};
U5c.prototype.V=function(){return _.R(this,4)};var FN=function(a){_.O(this,a,-1,T5c,null)};_.L(FN,_.K);FN.prototype.getName=function(){return _.D(this,1)};FN.prototype.jd=function(a){return _.A(this,1,a)};FN.prototype.Vm=function(){return _.D(this,2)};var V5c=function(a,b){return _.A(a,2,b)};FN.prototype.V=function(){return _.D(this,14)};var W5c=function(a,b){return _.A(a,14,b)};_.g=FN.prototype;_.g.getTitle=function(){return _.D(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};
_.g.Te=function(){return _.D(this,4)};_.g.nm=function(a){return _.A(this,4,a)};_.g.kab=function(){return _.D(this,15)};_.g.jab=function(){return _.pk(this,S5c,5)};var X5c=function(a,b){return _.Cb(a,5,b)},Y5c=function(a,b){_.x(a,6,b)},Z5c=function(a,b){_.x(a,7,b)},$5c=function(a,b){_.x(a,8,b)},a6c=function(a,b){return _.A(a,9,b)},b6c=function(a,b){return _.A(a,10,b)},c6c=function(a,b){return _.A(a,11,b)};FN.prototype.O=function(){return _.E(this,z5c,12)};var d6c=function(a,b){_.x(a,12,b)};
FN.prototype.getCapabilities=function(){return _.E(this,U5c,13)};var e6c=function(a,b){_.x(a,13,b)};FN.prototype.getCustomer=function(){return _.D(this,16)};f6c=function(a,b){return _.A(a,16,b)};g6c=[3];_.GN=function(a){_.O(this,a,-1,g6c,null)};_.L(_.GN,_.K);_.GN.prototype.getType=function(){return _.D(this,1)};_.GN.prototype.Jc=function(){return _.D(this,2)};_.oN=function(a){_.O(this,a,-1,null,null)};_.L(_.oN,_.K);_.oN.prototype.getId=function(){return _.D(this,1)};
_.oN.prototype.Pb=function(a){return _.A(this,1,a)};_.oN.prototype.ve=function(){return _.E(this,_.sf,3)};_.h6c=function(a){_.O(this,a,-1,null,null)};_.L(_.h6c,_.K);_.h6c.prototype.getFeature=function(){return _.D(this,1)};i6c=[1];_.FM=function(a){_.O(this,a,-1,i6c,null)};_.L(_.FM,_.K);j6c=[2,3,8];_.WL=function(a){_.O(this,a,-1,j6c,null)};_.L(_.WL,_.K);_.WL.prototype.getId=function(){return _.D(this,1)};_.WL.prototype.Pb=function(a){return _.A(this,1,a)};
_.WL.prototype.ve=function(){return _.E(this,_.sf,4)};_.WL.prototype.Bc=function(){return _.D(this,5)};var k6c=function(a){_.O(this,a,-1,null,null)};_.L(k6c,_.K);var l6c=[1,2,4],m6c={M6b:0,u0b:1,G1b:2,u1b:3,j_b:4,xUb:5,v0b:6,v1b:7,tZb:8,VUb:9,s1b:10},HN=function(){this.map={};this.status=6;this.Re=null};HN.prototype.Cb=function(){return this.status};HN.prototype.Dc=function(a){this.status=a};HN.prototype.Ye=function(){return this.Re};HN.prototype.lj=function(a){this.Re=a};
var n6c=function(a,b){a.map=b};HN.prototype.$b=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Re,me:b})};o6c=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.lj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.IM=function(){HN.apply(this,arguments)};_.L(_.IM,HN);var p6c=function(){HN.apply(this,arguments)};_.L(p6c,HN);var q6c=function(a){_.O(this,a,-1,null,null)};_.L(q6c,_.K);
q6c.prototype.getType=function(){return _.D(this,1)};var r6c=function(a){var b=new q6c;return _.A(b,1,a)},s6c=function(a,b){return _.x(a,2,b)};q6c.prototype.oy=function(){return _.D(this,3)};q6c.prototype.Py=function(a){return _.A(this,3,a)};q6c.prototype.Oi=function(){return _.D(this,4)};q6c.prototype.setPosition=function(a){return _.A(this,4,a)};var t6c=[2],u6c=function(a){_.O(this,a,-1,t6c,null)};_.L(u6c,_.K);u6c.prototype.Cb=function(){return _.D(this,1)};
u6c.prototype.Dc=function(a){return _.A(this,1,a)};var v6c=[2],IN=function(a){_.O(this,a,-1,v6c,null)};_.L(IN,_.K);IN.prototype.Cb=function(){return _.D(this,1)};IN.prototype.Dc=function(a){return _.A(this,1,a)};IN.prototype.O=function(){return _.pk(this,CN,2)};var w6c=function(a,b){return _.Cb(a,2,b)};IN.prototype.Yj=function(){return _.D(this,3)};var x6c=function(a){_.O(this,a,-1,null,null)};_.L(x6c,_.K);x6c.prototype.Cb=function(){return _.D(this,1)};
x6c.prototype.Dc=function(a){return _.A(this,1,a)};y6c=function(a,b){return _.x(a,2,b)};z6c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};A6c=function(a,b){return new _.vSc(_.wSc.bound(a,b,void 0,void 0))};B6c=function(){var a=new _.li,b=_.ISc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.KK(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.C6c=function(a){_.O(this,a,-1,null,null)};
_.L(_.C6c,_.K);_.C6c.prototype.Mq=function(){return _.D(this,1)};_.C6c.prototype.Md=function(){return _.D(this,2)};_.C6c.prototype.setSize=function(a){return _.A(this,2,a)};_.C6c.prototype.getUrl=function(){return _.D(this,3)};_.D6c=function(a){_.O(this,a,-1,null,null)};_.L(_.D6c,_.K);_.D6c.prototype.getType=function(){return _.D(this,1)};E6c=[2,3];_.F6c=function(a){_.O(this,a,-1,E6c,null)};_.L(_.F6c,_.K);G6c=[4,5,6,17,18,24];_.JN=function(a){_.O(this,a,-1,G6c,null)};_.L(_.JN,_.K);
_.JN.prototype.getId=function(){return _.D(this,1)};_.JN.prototype.Pb=function(a){return _.A(this,1,a)};_.JN.prototype.getName=function(){return _.D(this,2)};_.JN.prototype.jd=function(a){return _.A(this,2,a)};var H6c=function(a,b){return _.ek(a,4,b)},I6c=function(a,b){return _.ek(a,5,b)};_.JN.prototype.XQ=function(){return _.D(this,8)};_.JN.prototype.bBa=function(){return _.R(this,22)};_.JN.prototype.getType=function(){return _.D(this,23)};_.JN.prototype.Am=function(){return _.R(this,33)};
var V1c=function(a){_.O(this,a,-1,null,null)};_.L(V1c,_.K);var J6c=[3],KN=function(a){_.O(this,a,-1,J6c,null)};_.L(KN,_.K);KN.prototype.mq=function(){return _.D(this,1)};var K6c=function(a,b){return _.A(a,1,b)};KN.prototype.getTitle=function(){return _.D(this,2)};KN.prototype.setTitle=function(a){return _.A(this,2,a)};KN.prototype.Hd=function(){return _.pk(this,_.hl,3)};var L6c=function(a,b){return _.Cb(a,3,b)};KN.prototype.mh=function(a,b){return _.tk(this,3,a,_.hl,b)};
KN.prototype.V=function(){return _.D(this,4)};var M6c=function(a,b){return _.A(a,4,b)};KN.prototype.O=function(){return _.E(this,_.Uk,5)};var N6c=function(a,b){return _.x(a,5,b)},O6c=[2],LN=function(a){_.O(this,a,-1,O6c,null)};_.L(LN,_.K);LN.prototype.Cb=function(){return _.D(this,1)};LN.prototype.Dc=function(a){return _.A(this,1,a)};LN.prototype.ol=function(){return _.pk(this,KN,2)};var P6c=function(a,b){return _.Cb(a,2,b)};LN.prototype.Vf=function(){return _.D(this,4)};
Q6c=function(a,b){return _.A(a,4,b)};_.KM=function(a){_.O(this,a,-1,null,null)};_.L(_.KM,_.K);_.g=_.KM.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.dU=function(){return _.ck(this,2,_.eF)};_.g.Yj=function(){return _.D(this,3)};_.g.Ye=function(){return _.D(this,5)};_.g.lj=function(a){return _.A(this,5,a)};var R6c=[1],pN=[[1,2,3,4,5,6,7]],w1c=function(a){_.O(this,a,-1,null,pN)};_.L(w1c,_.K);var x1c=function(a){_.O(this,a,-1,R6c,null)};_.L(x1c,_.K);
var MN=function(a){_.O(this,a,-1,null,null)};_.L(MN,_.K);MN.prototype.getQuery=function(){return _.E(this,_.gf,1,1)};MN.prototype.yg=function(a){return _.x(this,1,a)};MN.prototype.kK=function(){return _.Q(this,1)};MN.prototype.Un=function(){return _.D(this,4)};var S6c=function(a,b){return _.x(a,5,b)},T6c=[1,2,5,7,9,10,12],NN=function(a){_.O(this,a,-1,T6c,null)};_.L(NN,_.K);NN.prototype.Hd=function(){return _.pk(this,_.hl,1)};var U6c=function(a,b){return _.Cb(a,1,b)};
NN.prototype.mh=function(a,b){return _.tk(this,1,a,_.hl,b)};NN.prototype.Uha=function(a){_.tk(this,2,a,_.Sk,void 0)};var V6c=function(a,b){return _.A(a,3,b)};NN.prototype.Wn=function(){return _.D(this,4)};NN.prototype.Fu=function(a){return _.A(this,4,a)};var W6c=function(a,b){return _.Cb(a,5,b)},X6c=function(a,b){return _.A(a,6,b)};NN.prototype.Fh=function(){return _.E(this,_.vA,8)};var Y6c=function(a,b){return _.ek(a,12,b)};NN.prototype.yo=function(){return _.Zj(this,13,0)};
var Z6c=function(a,b){return _.A(a,13,b)},$6c={ZUb:0,YUb:1,J_b:2,O5b:3,R5b:4},nN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],u1c=function(a){_.O(this,a,-1,null,nN)};_.L(u1c,_.K);var B1c=[[1,2]],A1c=function(a){_.O(this,a,-1,null,B1c)};_.L(A1c,_.K);var E1c=[[1,2,3]],D1c=function(a){_.O(this,a,-1,null,E1c)};_.L(D1c,_.K);var a7c=function(a){_.O(this,a,-1,null,null)};_.L(a7c,_.K);a7c.prototype.Te=function(){return _.F(this,1)};a7c.prototype.nm=function(a){return _.lk(this,1,a)};
a7c.prototype.getUrl=function(){return _.F(this,2)};_.b7c=function(a){_.O(this,a,-1,null,null)};_.L(_.b7c,_.K);_.b7c.prototype.getType=function(){return _.Zj(this,1,0)};_.b7c.prototype.getContext=function(){return _.E(this,a7c,2)};_.b7c.prototype.Yi=function(a){return _.x(this,2,a)};c7c=[1];d7c=[2,4];_.e7c=function(a){_.O(this,a,-1,d7c,null)};_.L(_.e7c,_.K);_.e7c.prototype.getLabel=function(){return _.F(this,1)};_.e7c.prototype.wd=function(a){return _.lk(this,1,a)};
_.e7c.prototype.getTitle=function(){return _.F(this,3)};_.e7c.prototype.setTitle=function(a){return _.lk(this,3,a)};_.f7c=function(a){_.O(this,a,-1,c7c,null)};_.L(_.f7c,_.K);_.g7c=[[2,3,4]];_.ON=function(a){_.O(this,a,-1,null,null)};_.L(_.ON,_.K);_.ON.prototype.Fe=function(){return _.F(this,3)};_.ON.prototype.oo=function(a){return _.lk(this,4,a)};_.h7c=function(a){_.O(this,a,-1,null,null)};_.L(_.h7c,_.K);_.i7c=function(a){_.O(this,a,-1,null,_.g7c)};_.L(_.i7c,_.K);
var j7c=function(a){_.O(this,a,-1,null,null)};_.L(j7c,_.K);k7c=[3,5];_.PN=[[8,9,10,11,12,13,14]];_.l7c=function(a){_.O(this,a,-1,null,null)};_.L(_.l7c,_.K);_.m7c=function(a){_.O(this,a,-1,k7c,_.PN)};_.L(_.m7c,_.K);_.m7c.prototype.Cb=function(){return _.Zj(this,6,0)};_.m7c.prototype.Dc=function(a){return _.mk(this,6,a)};var n7c=function(a){_.O(this,a,-1,null,null)};_.L(n7c,_.K);var o7c=function(a){_.O(this,a,-1,null,null)};_.L(o7c,_.K);var p7c=function(a){_.O(this,a,-1,null,null)};_.L(p7c,_.K);
var q7c=[1],r7c=function(a){_.O(this,a,-1,q7c,null)};_.L(r7c,_.K);var s7c=function(a){_.O(this,a,-1,null,null)};_.L(s7c,_.K);var t7c=function(a){_.O(this,a,-1,null,null)};_.L(t7c,_.K);u7c=[7];_.v7c=[[1,2,3]];_.w7c=function(a){_.O(this,a,-1,null,null)};_.L(_.w7c,_.K);_.x7c=function(a){_.O(this,a,-1,null,null)};_.L(_.x7c,_.K);_.y7c=function(a){_.O(this,a,-1,null,null)};_.L(_.y7c,_.K);_.z7c=function(a){_.O(this,a,-1,u7c,_.v7c)};_.L(_.z7c,_.K);var A7c=function(a){_.O(this,a,-1,null,null)};_.L(A7c,_.K);
A7c.prototype.getName=function(){return _.F(this,1)};A7c.prototype.jd=function(a){return _.lk(this,1,a)};var B7c=function(a){_.O(this,a,-1,null,null)};_.L(B7c,_.K);B7c.prototype.getName=function(){return _.F(this,1)};B7c.prototype.jd=function(a){return _.lk(this,1,a)};B7c.prototype.getTitle=function(){return _.F(this,2)};B7c.prototype.setTitle=function(a){return _.lk(this,2,a)};var C7c=[[1,4]],D7c=function(a){_.O(this,a,-1,null,C7c)};_.L(D7c,_.K);
D7c.prototype.getUser=function(){return _.E(this,_.i7c,1)};D7c.prototype.zj=function(){return _.E(this,A7c,3)};D7c.prototype.an=function(a){return _.x(this,3,a)};D7c.prototype.dH=function(){return _.Q(this,3)};var E7c=[[8,9,10]],F7c=function(a){_.O(this,a,-1,null,null)};_.L(F7c,_.K);var G7c=function(a){_.O(this,a,-1,null,null)};_.L(G7c,_.K);G7c.prototype.getType=function(){return _.Zj(this,6,0)};var H7c=function(a){_.O(this,a,-1,null,null)};_.L(H7c,_.K);_.I7c=function(a){_.O(this,a,-1,null,E7c)};
_.L(_.I7c,_.K);_.g=_.I7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.lk(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.lk(this,2,a)};_.g.getFile=function(){return _.E(this,F7c,3)};_.g.Dka=function(){return _.E(this,G7c,9)};_.g.jAa=function(){return _.E(this,H7c,10)};_.g.Gi=function(){return _.ak(this,5)};_.g.getMimeType=function(){return _.F(this,6)};_.g.hD=function(){return _.E(this,D7c,7)};
var J7c=function(a){_.O(this,a,-1,null,null)};_.L(J7c,_.K);var K7c=[[8,9,10]],L7c=function(a){_.O(this,a,-1,null,K7c)};_.L(L7c,_.K);_.g=L7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.lk(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.lk(this,2,a)};_.g.getFile=function(){return _.E(this,F7c,3)};_.g.Dka=function(){return _.E(this,G7c,9)};_.g.jAa=function(){return _.E(this,H7c,10)};M7c=[[1,3]];
_.QN=function(a){_.O(this,a,-1,null,M7c)};_.L(_.QN,_.K);_.QN.prototype.Fi=function(){return _.E(this,L7c,1)};_.N7c=[[1,2,3]];_.O7c=function(a){_.O(this,a,-1,null,null)};_.L(_.O7c,_.K);_.P7c=function(a){_.O(this,a,-1,null,_.N7c)};_.L(_.P7c,_.K);var Q7c=function(a){_.O(this,a,-1,null,null)};_.L(Q7c,_.K);var R7c=function(a){_.O(this,a,-1,null,null)};_.L(R7c,_.K);S7c=[2,3];_.T7c=function(a){_.O(this,a,-1,S7c,null)};_.L(_.T7c,_.K);_.T7c.prototype.getType=function(){return _.Zj(this,1,0)};
_.U7c=function(a){_.O(this,a,-1,null,null)};_.L(_.U7c,_.K);_.U7c.prototype.getType=function(){return _.Zj(this,1,0)};var V7c=function(a){_.O(this,a,-1,null,null)};_.L(V7c,_.K);V7c.prototype.getType=function(){return _.Zj(this,1,0)};var W7c=function(a){_.O(this,a,-1,null,null)};_.L(W7c,_.K);_.X7c=function(a){_.O(this,a,-1,null,null)};_.L(_.X7c,_.K);var Y7c=function(a){_.O(this,a,-1,null,null)};_.L(Y7c,_.K);Z7c=[1,2,4];_.$7c=function(a){_.O(this,a,-1,null,null)};_.L(_.$7c,_.K);a8c=[1,2];
_.b8c=function(a){_.O(this,a,-1,null,null)};_.L(_.b8c,_.K);_.b8c.prototype.getParent=function(){return _.E(this,_.QN,1)};_.b8c.prototype.Bg=function(a){return _.x(this,1,a)};_.c8c=function(a){_.O(this,a,-1,a8c,null)};_.L(_.c8c,_.K);_.d8c=function(a){_.O(this,a,-1,Z7c,null)};_.L(_.d8c,_.K);_.RN=function(a){_.O(this,a,-1,null,null)};_.L(_.RN,_.K);_.RN.prototype.getEmail=function(){return _.F(this,1)};_.RN.prototype.getTitle=function(){return _.F(this,2)};
_.RN.prototype.setTitle=function(a){return _.lk(this,2,a)};_.SN=[[2,3,4,5]];_.TN=function(a){_.O(this,a,-1,null,_.SN)};_.L(_.TN,_.K);_.g=_.TN.prototype;_.g.ag=function(){return _.Zj(this,1,0)};_.g.getUser=function(){return _.E(this,_.i7c,2)};_.g.zj=function(){return _.E(this,A7c,4)};_.g.an=function(a){return _.qk(this,4,_.SN[0],a)};_.g.dH=function(){return _.Q(this,4)};var e8c=function(a){_.O(this,a,-1,null,null)};_.L(e8c,_.K);f8c=[1,2,3,4];_.g8c=function(a){_.O(this,a,-1,f8c,null)};_.L(_.g8c,_.K);
_.h8c=function(a){_.O(this,a,-1,null,null)};_.L(_.h8c,_.K);_.i8c=function(a){_.O(this,a,-1,null,null)};_.L(_.i8c,_.K);_.j8c=function(a){_.O(this,a,-1,null,null)};_.L(_.j8c,_.K);_.k8c=function(a){_.O(this,a,-1,null,null)};_.L(_.k8c,_.K);_.k8c.prototype.getType=function(){return _.Zj(this,1,0)};l8c=[1];_.m8c=function(a){_.O(this,a,-1,null,null)};_.L(_.m8c,_.K);_.m8c.prototype.getFeature=function(){return _.Zj(this,1,0)};_.n8c=function(a){_.O(this,a,-1,l8c,null)};_.L(_.n8c,_.K);
var o8c=function(a){_.O(this,a,-1,null,null)};_.L(o8c,_.K);var p8c=function(a){_.O(this,a,-1,null,null)};_.L(p8c,_.K);var q8c=function(a){_.O(this,a,-1,null,null)};_.L(q8c,_.K);q8c.prototype.getType=function(){return _.Zj(this,1,0)};_.UN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.VN=function(a){_.O(this,a,-1,null,_.UN)};_.L(_.VN,_.K);_.VN.prototype.Rz=function(){return _.E(this,q8c,10)};_.r8c=function(a){_.O(this,a,-1,null,null)};_.L(_.r8c,_.K);var s8c=function(a){_.O(this,a,-1,null,null)};
_.L(s8c,_.K);_.t8c=function(a){_.O(this,a,-1,null,null)};_.L(_.t8c,_.K);_.u8c=function(a){_.O(this,a,-1,null,null)};_.L(_.u8c,_.K);_.u8c.prototype.getType=function(){return _.Zj(this,1,0)};_.v8c=[[1,2,3,4,5]];_.w8c=function(a){_.O(this,a,-1,null,_.v8c)};_.L(_.w8c,_.K);_.w8c.prototype.getUser=function(){return _.E(this,_.i7c,1)};var x8c=function(a){_.O(this,a,-1,null,null)};_.L(x8c,_.K);x8c.prototype.getType=function(){return _.Zj(this,2,0)};x8c.prototype.zh=function(){return _.F(this,1)};
_.y8c=function(a){_.O(this,a,-1,null,null)};_.L(_.y8c,_.K);_.g=_.y8c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.lk(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.lk(this,2,a)};_.g.Na=function(){return _.E(this,_.I7c,3)};_.z8c=function(a){_.O(this,a,-1,null,null)};_.L(_.z8c,_.K);_.z8c.prototype.getParent=function(){return _.E(this,_.I7c,4)};_.z8c.prototype.Bg=function(a){return _.x(this,4,a)};_.A8c=[[1,5,3]];
_.B8c=function(a){_.O(this,a,-1,null,_.A8c)};_.L(_.B8c,_.K);_.B8c.prototype.Fi=function(){return _.E(this,_.I7c,1)};_.WN=function(a){_.O(this,a,-1,null,null)};_.L(_.WN,_.K);_.WN.prototype.zY=function(a){_.x(this,1,a)};_.WN.prototype.Dr=function(){return _.E(this,_.dx,2)};_.WN.prototype.CF=function(a){_.x(this,2,a)};C8c=[[5,6]];_.D8c=function(a){_.O(this,a,-1,null,C8c)};_.L(_.D8c,_.K);_.D8c.prototype.Ph=function(){return _.E(this,x8c,2)};_.D8c.prototype.O=function(a){_.qk(this,5,C8c[0],a)};
E8c=[3,4,5];F8c=[[6,7]];_.G8c=function(a){_.O(this,a,-1,E8c,F8c)};_.L(_.G8c,_.K);_.G8c.prototype.O=function(a){_.qk(this,6,F8c[0],a)};var H8c=[1],I8c=function(a){_.O(this,a,-1,H8c,null)};_.L(I8c,_.K);I8c.prototype.ly=function(){return _.F(this,2)};
var J8c=function(a,b){return 1<a?2===b:a===b},K8c=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("Ke");},XN=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d;this.O=e};_.g=XN.prototype;_.g.clone=function(){return new XN(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.lc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a};_.g.WD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.lc()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.xk(this.item,a.getItem())};_.LM=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};_.iVc=function(a){this.H=a;this.type=1};L8c=function(){};M8c=function(a){this.H=a};_.jVc=function(a){this.H=a;this.type=0};
f2c=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.fA=f;this.H=h;this.W=k};_.NM=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};_.qVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.tVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.OM=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};
_.PM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};_.MM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};N8c=function(a){_.MM.call(this,a,void 0,void 0,void 0);this.c4a=new _.zn};_.L(N8c,_.MM);
var O8c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},P8c=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.MTc.get(b)}).filter(function(b){return b})))).join(",")},YN=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=P8c(b);var d=_.SK(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":
_.S(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},Q8c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+YN(a,b,!1)+")"},ZN=function(a){return a instanceof _.hl?null!=a.getId()&&a.getId()==a.Bc():null!=a.Jc()&&a.Jc()==a.Bc()},R8c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.jh();null!=e&&R0c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.cl,h=_.R(e,13);_.A(f,13,h);_.oM(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.cl,e=_.R(e,18),_.A(f,18,e),_.oM(a,f));iN(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.jh()&&iN(a,d,c)},S8c=function(a,b,c){c=void 0===c?[]:c;if(!b||!ZN(a)&&!ZN(b))return a;if(2==lN(a)){c=_.D(a,82);var d=b.clone();R8c(d,a);_.sWc(d,lN(b));_.gL(d,c);return d}a=a.clone();R8c(a,b,c);return a},T8c=function(a){return(a=a?a.jh():null)&&a.Am()||!1},U8c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},V8c=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]={}})},X8c=function(a,b,c){b.every(function(d){return ZN(d)})?W8c(b,c,a.H,a.O):b.every(function(d){return!ZN(d)})&&W8c(b,c,a.items,a.fields)},W8c=function(a,b,c,d){var e=_.WUc(b,[].concat(_.nd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&iN(f,k,[h])})})};U8c.prototype.update=function(a,b,c){b&&ZN(b)?Y8c(a,b,this.H,this.O,c):Y8c(a,b,this.items,this.fields,c)};U8c.prototype.FJ=function(a){var b=this;_.Ma(this.items,function(c,d){_.Wa(b.items[d],a)});_.Ma(this.H,function(c,d){_.Wa(b.H[d],a)})};var Y8c=function(a,b,c,d,e){_.Ma(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Wa(f,a);else if(b&&O0c(b,[h])){var k=new _.hl;k.Pb(b.getId());iN(k,b,[h]);f[a]=k}});b&&K0c(b,[].concat(_.nd(d)))};
U8c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};U8c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var Z8c=function(a,b,c){var d=this;this.vu=b;this.Cw=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=Z8c.prototype;_.g.ey=function(){return this.Od};
_.g.xk=function(a){var b=new Map;a=_.m(a.Xm());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Od.has(c)&&b.set(c,this.Od.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if($8c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,$N(this.vu,a,e.getItem())&&(void 0===b||J8c(e.H,b))&&c.push(e);this.Cw.sort(a,c)}return c};_.g.get=function(a){return this.Od.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Od.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,a9c(this,a.H)?(this.Od.delete(a.id),a.H.count--):this.Od.set(a.id,a.H)):(this.Od.delete(a.id),a.O.count--)};var a9c=function(a,b){return 1<b.lc()||J8c(b.H,2)||b.getItem().UI()||i1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
Z8c.prototype.FJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,a9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var b9c=function(a,b,c,d){this.Lg=a;this.W=b;this.O=c;this.V=d},W1c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),X8c(a.V,[b.getItem()],P4c(a.Lg)),b):null};b9c.prototype.H=function(a){return(a=W1c(this,a))?a.getItem():null};
var c9c=function(a,b){var c={};b.forEach(function(d){var e=W1c(a,d);e&&(c[d]=e)});return c},d9c=function(a,b){return _.Oa(c9c(a,b),function(c){return c.getItem()})},e9c=function(a,b){b=aO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};b9c.prototype.query=function(a){return e9c(this,a).map(function(b){return b.getItem()})};b9c.prototype.Md=function(){return this.O.ey().size};
var f9c=function(a){var b=new Set;a=_.m(a.O.ey().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.il(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.lF(e));(d=c.wm())&&b.add(d.getId()||_.lF(d));(d=c.Tv())&&b.add(d.getId()||_.lF(d));(d=c.Pq())&&b.add(d.getId()||_.lF(d));(c=c.pD())&&b.add(c.getId()||_.lF(c))}return b.size},g9c=function(a){var b=new _.Mo;_.EM(b,"hidden",a.Am());a=_.R(a,6);null!=a&&_.EM(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
h9c=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}},i9c=function(a){var b=_.wRc(),c={};b&&(c.numeric=b);this.H=_.xRc(a,c)};i9c.prototype.compare=function(a,b,c){b=j9c(b);c=j9c(c);a=a.Ac();var d=h9c(a);if(a&&d){d=k9c(this,a);var e=4===a.getType()?this.H:_.Fa;return l9c(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
i9c.prototype.sort=function(a,b,c){a=a.Ac();var d=h9c(a);a&&d&&(d=k9c(this,a),d=m9c(b,d),_.Ia(b,n9c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var j9c=function(a){return a instanceof _.hl?a:a.getItem()},k9c=function(a,b){b=h9c(b);return _.v(a.O,a,b,_.Fa)},m9c=function(a,b){var c={};a.forEach(function(d){d=j9c(d);var e=d.getId();c[e]=b(d)});return c},n9c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Fa;d=j9c(d);e=j9c(e);return l9c(b,function(h){return c[h.getId()]},f,d,e)}},l9c=function(a,b,c,d,e){var f=1===a.Ef()?1:-1;if(_.R(a,3)){a=kN(d,!0);var h=kN(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Fa(d.getId(),
e.getId()))};i9c.prototype.O=function(a,b,c){for(var d=o9c(a[0],c),e=1;e<a.length;e++){var f=o9c(a[e],c);d=1===b(f,d)?f:d}return d};
var o9c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.QA()||!1;case 12:return b.ez()||0;case 11:return b.gB()||0;case 10:return b.Fq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.py()||0;case 57:return _.D(b,62)||0;case 32:return b.Qu()||0;case 9:return b.XC()||0;case 67:return b.aK()||0;case 98:return b.Uv()||0;default:return""}},p9c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.rr=_.MK(_.NK(b));
a=_.cL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};p9c.prototype.Fu=function(a){this.rootId=a||""};
var aO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Ll(b).filter(function(d){return"root"===d.Xa()}).forEach(function(d){return d.Jb(a.rootId)});_.nf(b,_.Kl(b).map(function(d){d.Jb(d.Xa().toLowerCase());return d}));c&&_.Jl(b,a.fields);b.O().sort();return b},bO=function(a,b,c){if(b instanceof _.gf){b=aO(a,b);var d=_.PXc(b)}else if(b instanceof _.zz)d=b.Xm().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.GK)return d=g9c(b),d+"|tdList";if(b instanceof _.dF)return d=
b.Xm().sort().join(","),b.O().length&&(d+="|"+P8c(b.O())),d+"|tdMap";throw Error("Oe");}return 3===c?d:d+"|"+q9c(a,b.O(),2===c)},q9c=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(_.nd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.oL({fields:[].concat(_.nd(f)),rr:a.rr}));e.size&&(d=d+" + "+_.oL({fields:[].concat(_.nd(e)),rr:a.rr}));
return d};p9c.prototype.equals=function(a,b,c){var d;c&&(d=3);return bO(this,a,d)===bO(this,b,d)};
var r9c=function(a){if(!a.Xm().every(function(b){return!_.de(b)}))throw new _.qc("Invalid ids for FindByIdsRequest");},t9c=function(a,b,c){if(_.ML(b))throw new _.qc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");s9c(a,b,c)},s9c=function(a,b,c){var d;a.O||(d=_.lL(3));if(b.getId())throw new _.qc("Use findByIds() for find by id queries.",d?d:_.lL(3));if(!b.Ni()||0>=b.Ni())throw new _.qc("A positive limit is required on an ItemQueryRequest.",d?d:_.lL(3));
_.Nd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),u9c(a,d,b.O()));if(c=(c=b.Ac())&&h9c(c))d=b.O().length?b.O():a.fields,u9c(a,d,c);if(_.LL(b)){if(a.rr)throw new _.qc("User must be authenticated for a Quick Access request.");if(!v9c(a)&&20<b.Ni())throw new _.qc("Limit must be in the range [1, 20].");c=2===_.rM(b);d=_.Nd(b,33).length;if(c&&1!==d||d&&!c)throw new _.qc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.hk(_.fk(_.fk(_.fk(_.bH(_.fk(_.gk(_.bH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.gf;if(!_.xk(c,d))throw new _.qc("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: "+i5c(d,c));}if(_.NL(b)){if(a.rr)throw new _.qc("User must be authenticated for a DrivePriority request.");if(2===_.rM(b))throw new _.qc("Team Drive corpora is not valid for a Drive Priority request.");a=_.fk(_.fk(_.fk(_.gk(_.bH(b.clone(),1),30),32),45),52);
b=new _.gf;if(!_.xk(a,b))throw new _.qc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+i5c(b,a));}},w9c=function(a,b,c){if(!_.ML(b))throw new _.qc("Expected a PeoplePredict request.");s9c(a,b,c);if(a.rr)throw new _.qc("User must be authenticated for a People Predict request.");if(2===_.rM(b))throw new _.qc("Team Drive corpora is not valid for a People Predict request.");a=_.fk(_.fk(_.fk(_.gk(_.bH(b.clone(),
1),30),32),45),49);b=new _.gf;if(!_.xk(a,b))throw new _.qc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+i5c(b,a));},u9c=function(a,b,c){var d;a.O||(d=_.lL(3));if(!P0c(b,c,_.UUc)){var e=_.oL({fields:c,rr:a.rr}),f=_.oL({fields:b,rr:a.rr});a=_.oL({fields:Q0c(c,b),rr:a.rr});throw new _.qc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.lL(3));
}},v9c=function(a){return 200<=_.tM(a.H)&&300>_.tM(a.H)},x9c=function(a){var b=new Set;_.Kl(a).forEach(function(c){switch(_.bNa(c.Xa())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.nd(b))},y9c=function(a){switch(_.tM(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"}},z9c=function(a){_.N.call(this);this.H=a};_.Sf(z9c,_.N);_.g=z9c.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.HO=function(a){this.H.addCallback(function(b){b.HO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();z9c.ub.Ya.call(this)};var p1c=function(a){_.Lx.call(this);this.Lo=a;this.H=_.xe(this.Lo,"message",this.mpb,!1,this)};_.Sf(p1c,_.Lx);_.g=p1c.prototype;_.g.Ed=null;
_.g.send=function(a,b){var c=[];b=this.eza(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.TTc&&(a=(0,_.Pi)(a));this.Lo.postMessage(a,c)};_.g.mpb=function(a){a=a.He;var b=a.data;if(_.TTc)try{b=JSON.parse(b)}catch(e){return}if(_.Ca(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.DCa(a.ports||[],b),d.pFa),null!=b&&d.callback(b))}};
_.g.eza=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,_.v)(this.eza,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.eza(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.DCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.DCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.DCa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Ii(this.H);"[object MessagePort]"==Object.prototype.toString.call(this.Lo)?this.Lo.close():"[object Worker]"==Object.prototype.toString.call(this.Lo)&&this.Lo.terminate();delete this.Lo;p1c.ub.Ya.call(this)};
var r1c=function(a,b){if("*"==b)return new z9c(_.ri(Error("Pe")));var c=new _.Li(50),d=_.vb(_.aa,c),e=new _.li(d);_.Tja(e,d);c.start();_.xe(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new p1c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new z9c(e)},A9c=function(a){_.N.call(this);this.H=new _.bSc(a);this.V={};this.O=_.dSc(this.H,
"private");this.W=_.dSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Mmb,this),!0)};_.Sf(A9c,_.N);_.g=A9c.prototype;_.g.PFb=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.PFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Mmb=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,_.v)(this.Lmb,this,b),!0)};
_.g.Lmb=function(a,b){a=a(b.data);var c=b.signature;_.fi(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var mN=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.bSc(a);this.Ma(this.H);this.O=new A9c(_.dSc(this.H,"direct"));this.Ma(this.O);a=_.dSc(this.H,"passthrough");this.V=b?a:new A9c(a);this.Ma(this.V);this.UW=b};_.L(mN,_.N);mN.prototype.registerService=function(a,b){this.O.registerService(a,b)};
mN.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Nf)};var cO=function(a,b,c){if(a.UW)throw Error("Qe");a.V.registerService(b,c,!0)},dO=function(a,b,c,d){if(a.UW)throw Error("Re");a.V.send(b,c||{},d||_.Nf)};mN.prototype.start=function(){this.started||(this.started=!0);if(this.UW)throw Error("Se");};var m1c=[],B9c=function(){_.Lx.call(this);this.H=null};_.L(B9c,_.Lx);B9c.prototype.send=function(a,b){_.V5a(this.H,a,b)};
var s1c=function(){this.O=new B9c;this.H=new B9c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},C9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.$b=null},D9c=function(a,b){b=void 0===b?!1:b;null==a.$b&&(a.$b=b)&&l1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.$b}},E9c=function(a){var b=new C9c(a.c,a.m,a.a,a.req);b.$b=a.s;return b},F9c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.$b=null},G9c=function(a,
b){b=void 0===b?!1:b;null==a.$b&&a.data&&(a.$b=b)&&l1c(a.data);return{d:a.data,err:a.error&&b?a.error.$b():a.error,uid:a.H,s:b}},H9c=function(a){var b=a.s,c=a.err&&b?new _.pc(JSON.parse(a.err)):a.err;a=new F9c(c?void 0:a.d,c,a.uid);c||(a.$b=b);return a},k1c=function(a,b){this.H=a;this.PD=b};k1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.PD[b];return a};
k1c.prototype.$b=function(){for(var a={},b={},c=0;c<this.PD.length;c++){var d=this.PD[c],e=this.H[c];d instanceof Error?b[e]=_.$K(d).$b():a[e]=d.$b()}return JSON.stringify([a,b])};I9c=function(a){a=JSON.parse(a);var b=[],c=[];_.Ma(a[0],function(d,e){b.push(e);c.push(new _.fM(JSON.parse(d)))});_.Ma(a[1],function(d,e){b.push(e);d=new _.pc(JSON.parse(d));c.push(_.mL(d))});return new k1c(b,c)};q1c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
J9c={KTb:0,dUb:1,XZb:3,f7b:5,pjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.xL=function(a){_.O(this,a,-1,null,null)};_.L(_.xL,_.K);_.xL.prototype.zh=function(){return _.D(this,1)};_.xL.prototype.ve=function(){return _.E(this,_.sf,3)};_.AL=function(a){_.O(this,a,-1,null,null)};_.L(_.AL,_.K);_.AL.prototype.Jc=function(){return _.D(this,1)};_.AL.prototype.ve=function(){return _.E(this,_.sf,3)};_.IL=function(a){_.O(this,a,-1,null,null)};_.L(_.IL,_.K);
_.IL.prototype.zh=function(){return _.D(this,1)};_.IL.prototype.ve=function(){return _.E(this,_.sf,2)};_.JL=function(a){_.O(this,a,-1,null,null)};_.L(_.JL,_.K);_.JL.prototype.zh=function(){return _.D(this,1)};_.JL.prototype.ve=function(){return _.E(this,_.sf,2)};_.KL=function(a){_.O(this,a,-1,null,null)};_.L(_.KL,_.K);_.g=_.KL.prototype;_.g.Jc=function(){return _.D(this,1)};_.g.ag=function(){return _.D(this,2)};_.g.getType=function(){return _.D(this,3)};_.g.Xa=function(){return _.D(this,4)};
_.g.Jb=function(a){return _.A(this,4,a)};_.g.Ei=function(){return _.fk(this,4)};_.g.kh=function(){return _.Q(this,4)};_.g.ve=function(){return _.E(this,_.sf,7)};_.RL=function(a){_.O(this,a,-1,null,null)};_.L(_.RL,_.K);_.RL.prototype.Jc=function(){return _.D(this,1)};_.RL.prototype.ve=function(){return _.E(this,_.sf,2)};_.RL.prototype.Ni=function(){return _.ak(this,3,1E3)};_.RL.prototype.Bi=function(a){return _.A(this,3,a)};_.UL=function(a){_.O(this,a,-1,null,null)};_.L(_.UL,_.K);
_.UL.prototype.ve=function(){return _.E(this,_.sf,1)};var K9c=function(){var a=new _.UL,b=_.uf(new _.sf,301);return _.x(a,1,b)};_.UL.prototype.Bc=function(){return _.D(this,3)};_.rVc=function(a){_.O(this,a,-1,null,null)};_.L(_.rVc,_.K);_.rVc.prototype.Bc=function(){return _.D(this,1)};_.YL=function(a){_.O(this,a,-1,null,null)};_.L(_.YL,_.K);_.YL.prototype.zh=function(){return _.D(this,1)};_.YL.prototype.ve=function(){return _.E(this,_.sf,4)};var L9c=function(a){_.O(this,a,-1,null,null)};_.L(L9c,_.K);
M9c=function(a,b){return _.A(a,1,b)};_.yL=function(a){_.O(this,a,-1,null,null)};_.L(_.yL,_.K);_.yL.prototype.getId=function(){return _.D(this,1)};_.yL.prototype.Pb=function(a){return _.A(this,1,a)};_.OL=function(a){_.O(this,a,-1,null,null)};_.L(_.OL,_.K);_.OL.prototype.getId=function(){return _.D(this,1)};_.OL.prototype.Pb=function(a){return _.A(this,1,a)};_.eVc=function(a){_.O(this,a,-1,null,null)};_.L(_.eVc,_.K);
var N9c=function(a,b,c){_.Ki.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};_.L(N9c,_.Ki);N9c.prototype.yB=function(){return this.O};N9c.prototype.tQ=function(){var a=this;if(this.W)return this.W;var b=_.ii();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);O9c(this,b);return b.promise};N9c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,P9c(this))};
N9c.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 p5c("ib")))};
var Q9c=function(a,b){a.ha=b},P9c=function(a){a.H||(a.H=new _.JYc(5E3),a.timeout=_.n.setTimeout(function(){return R9c(a)},a.H.Xa()))},R9c=function(a){O9c(a);a.H&&(_.HG(a.H),a.timeout=_.n.setTimeout(function(){return R9c(a)},a.H.Xa()))},O9c=function(a,b){var c=_.fi();a.ha&&(c=a.ha());c.then(function(){return S9c(a,b)})},S9c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.We(new _.sVc)});b?c.then(function(){b.resolve(M9c(new L9c,1))},function(d){var e=_.wA(d).Sg;
d=0;_.fUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.Up(e),_.A(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new L9c;M9c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.wA(d);_.fUc(d.Sg)&&a.V&&(a.dispatchEvent(new p5c("jb")),a.V=!1)})};N9c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var T9c=function(a){return _.E(a,_.TK,3)||_.E(a,_.dM,4)||_.E(a,_.SM,5)||_.E(a,_.aM,6)||_.E(a,_.CL,7)||_.E(a,_.uL,8)||_.E(a,_.zL,9)||_.E(a,_.dL,10)},U9c=function(a){_.O(this,a,-1,null,null)};_.L(U9c,_.K);_.g=U9c.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Lz=function(){return _.D(this,3)};_.g.Oe=function(){return _.D(this,4)};_.g.Ci=function(a){return _.A(this,4,a)};_.g.$la=function(){return _.Q(this,4)};
var V9c=function(a){this.Ed=a;this.H=new Map;this.O=this.Ed.W};
V9c.prototype.create=function(a,b){if(0!=V4c(b)){var c=this.Ed.H(106001);if(c){var d=V4c(b),e=yN(c);_.A(e,2,d);d=yN(c);e=null;if(b instanceof _.mF||b instanceof _.zz||b instanceof _.gf||b instanceof _.PL||b instanceof _.CC||b instanceof _.dF||b instanceof _.GK||b instanceof _.OK||b instanceof _.fF||b instanceof _.jz)e=b.ve();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=yN(c);b=b instanceof _.gf?0<_.Ll(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var W9c=function(a,b,c){if(a=a.H.get(b))a=yN(a),_.A(a,5,c)},X9c=function(a,b,c){(a=a.H.get(b))&&_.R(yN(a),8)&&(a=yN(a),_.A(a,9,c))},Y9c=function(a,b,c,d,e){var f=a.H.get(b);f&&(yN(f).Dc(c),yN(f).lj(d),null!=e&&(c=yN(f),_.A(c,6,e)),f.Xj(),a.H.delete(b))},Z9c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=W4c(c);if(1==e||2==c)e=_.HM(_.WTc,c),d=yN(d),d=3==e||8==e?!_.R(d,5):0!=e?_.rUc.has(e):null,Y9c(a,b,1,e,d)}},$9c=function(a,b,c){var d=a.O.Cb(c);d=_.HM(_.VTc,d||22);var e=W4c(c);e=_.HM(_.WTc,
e);Y9c(a,b,d,e,"undefined"!=typeof _.LM&&c instanceof _.LM||"undefined"!=typeof _.NM&&c instanceof _.NM||"undefined"!=typeof _.OM&&c instanceof _.OM?c.o0:null)},eO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(yN(d).Dc(c),d.Xj(),a.H.delete(b))},fO=function(a,b){_.xi.call(this,"Gb");this.error=a;this.H=b};_.L(fO,_.xi);var a$c=[2,4],gO=function(a){_.O(this,a,-1,a$c,null)};_.L(gO,_.K);gO.prototype.Cb=function(){return _.D(this,1)};gO.prototype.Dc=function(a){return _.A(this,1,a)};
gO.prototype.Yj=function(){return _.D(this,3)};var b$c=[4,9],c$c=function(a){_.O(this,a,-1,b$c,null)};_.L(c$c,_.K);_.g=c$c.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.gWa=function(){return _.D(this,2)};_.g.OMa=function(){return _.D(this,3)};_.g.atb=function(){return _.pk(this,_.WK,4)};var d$c={N6b:0,q1b:1,t1b:2,OTHER:3,r1b:4},e$c=function(a){_.O(this,a,-1,null,null)};_.L(e$c,_.K);e$c.prototype.getUrl=function(){return _.D(this,1)};
var hO=function(a){_.O(this,a,-1,null,null)};_.L(hO,_.K);var f$c=function(a,b){return _.A(a,1,b)};hO.prototype.getName=function(){return _.D(this,2)};hO.prototype.jd=function(a){return _.A(this,2,a)};hO.prototype.getEmail=function(){return _.D(this,3)};var g$c=function(a,b){return _.A(a,3,b)};hO.prototype.Sp=function(){return _.Q(this,3)};var h$c=[1],i$c=function(a){_.O(this,a,-1,h$c,null)};_.L(i$c,_.K);var j$c=function(a,b){return _.Cb(a,1,b)},k$c=function(a){_.O(this,a,-1,null,null)};_.L(k$c,_.K);
_.g=k$c.prototype;_.g.Jc=function(){return _.D(this,1)};_.g.Cb=function(){return _.D(this,2)};_.g.Dc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.E(this,_.pc,3)};_.g.Ue=function(a){return _.x(this,3,a)};_.g.Gn=function(){return _.Q(this,3)};var l$c=[2],iO=function(a){_.O(this,a,-1,l$c,null)};_.L(iO,_.K);iO.prototype.Cb=function(){return _.D(this,1)};iO.prototype.Dc=function(a){return _.A(this,1,a)};iO.prototype.ol=function(){return _.pk(this,_.eF,2)};
var m$c=function(a,b){return _.Cb(a,2,b)};iO.prototype.Yj=function(){return _.D(this,3)};var n$c=[1],o$c=function(a){_.O(this,a,-1,n$c,null)};_.L(o$c,_.K);var p$c=function(a,b){return _.ek(a,1,b)},q$c=function(a,b){this.O=a|0;this.H=b|0};q$c.prototype.equals=function(a){return this===a?!0:a instanceof q$c?this.O===a.O&&this.H===a.H:!1};q$c.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var r$c=function(a,b){return new q$c(a,b)},s$c=function(a,b){b=~b;a?a=~a+1:b+=1;return r$c(a,b)},t$c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?s$c:r$c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},u$c=function(){this.H=this.W=this.O=this.V=null},v$c=function(a,b,c){this.id=a;this.O=b;this.H=c},w$c=function(a,b){return new v$c((a?a:b).getId(),a,b)},jO=function(a){return new v$c(a.getId(),null,a)},x$c=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},kO=function(a,b,c){if(a.started)throw Error("af");c={Ho: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)}},lO=function(a,b){if(!a.started)throw Error("bf");if(!a.enabled)throw Error("cf`"+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.Ho.delete(b);if(0===e.Ho.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.mL(f):null,f;}}}};x$c.prototype.H=function(a){return this.V.has(a)};x$c.prototype.start=function(){this.started=!0};x$c.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var y$c=function(){_.Ki.call(this);this.H=Date.now()};_.L(y$c,_.Ki);y$c.prototype.qF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var z$c=function(a,b){this.vu=a;this.Cw=b;this.RN=!0;this.v8=!1;this.Re=0},mO=function(a){a.RN=!1;a.FJ()};_.g=z$c.prototype;
_.g.Cla=function(a,b){if(5===this.GE(a))throw Error("df");for(var c=[],d=_.m(this.ey()),e=d.next();!e.done;e=d.next())e=e.value,$N(this.vu,a,e.getItem())&&c.push(e);this.Cw.sort(a,c,b);return c};_.g.Md=function(){return this.ey().length};_.g.xk=function(a){var b=this.Cla(a,void 0);b=J1c(b);var c=new _.mA;c.Rw(b);c.Dc(this.VN(a)?6:1);return c};_.g.update=function(a){var b=this.Es(a.O),c=this.Es(a.H);if(!b&&!c)return!1;b&&this.wJ(a.O);c&&this.FR(a.H);return!0};
_.g.GE=function(a){return this.RN&&this.v8?$8c(a)?1:5:5};_.g.rX=function(){this.v8=!0};_.g.Es=function(a){return!!a&&this.RN};_.g.lj=function(a){this.Re=a};_.g.Ye=function(){return this.Re};var nO=function(a,b,c,d,e,f){f=void 0===f?"":f;z$c.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=aO(c,d,!0);this.H=!e;A$c(this,e);this.V=function(k,l){return h.Cw.compare(h.request,k,l)}};_.L(nO,z$c);_.g=nO.prototype;_.g.zd=function(){return this.request};
_.g.FR=function(a){var b=this.O[a.getId()];b&&this.wJ(b);F0c(this.Od,a,this.V);this.O[a.getId()]=a;a.count++;this.Od.length>this.request.Ni()&&(this.wJ(_.fa(this.Od)),this.H=!1)};_.g.wJ=function(a){var b=this.Od,c=_.Ha(b,a,this.V);0<=c&&_.sa(b,c);_.Wa(this.O,a.getId());a.count--};_.g.FJ=function(){this.Od.forEach(function(a){a.count--});this.Od=[];this.O={}};_.g.ey=function(){return this.Od};
_.g.GE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=P0c(b,a,_.UUc);return b?this.H?1:6:5};_.g.Cla=function(a,b){if(5===this.GE(a))throw Error("df");b=b?Math.min(b,this.Od.length):this.Od.length;return _.Aa(this.Od,0,b)};_.g.Es=function(a){if(!z$c.prototype.Es.call(this,a)||!$N(this.vu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.fa(this.Od);return!!b&&0>=this.V(a,b)};_.g.VN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.ql=function(a,b){var c=this,d=_.fa(this.Od);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.wJ(d),A$c(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(jO(e))})};var A$c=function(a,b){b&&$N(a.vu,a.request,b.getItem())&&a.FR(b)};nO.prototype.ly=function(){return this.nextPageToken};var oO=function(a,b){z$c.call(this,a,b);this.Od=new Map};_.L(oO,z$c);oO.prototype.FR=function(a){this.Od.set(a.getId(),a);a.count++};
oO.prototype.wJ=function(a){this.Od.delete(a.getId());a.count--};oO.prototype.FJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Od=new Map};oO.prototype.ey=function(){return Array.from(this.Od.values())};var B$c=function(a,b){oO.call(this,a,b);this.rX()};_.L(B$c,oO);_.g=B$c.prototype;
_.g.GE=function(a){var b=this,c=oO.prototype.GE.call(this,a);if(5===c)return c;if(0<_.Nd(a,33).length)return 5;a=_.Ll(a);return 0<a.length?a.every(function(d){return(d=b.Od.get(d.Xa()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Es=function(a){return oO.prototype.Es.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.Cla=function(a,b){for(var c=[],d=_.m(this.ey()),e=d.next();!e.done;e=d.next())e=e.value,$N(this.vu,a,e.getItem())&&c.push(e);this.Cw.sort(a,c,b);return c};_.g.zd=function(){return new _.gf};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.VN=function(){return!1};var pO=function(a,b,c,d){oO.call(this,a,b);var e=this;this.H=d;kO(c,["aU7Ts","BNEDtc"],function(){return e.rX()})};_.L(pO,oO);pO.prototype.GE=function(a){var b=this,c=oO.prototype.GE.call(this,a);if(5==c)return c;if(0<_.Nd(a,33).length)return 5;a=_.Ll(a);return 0<a.length&&!a.every(function(d){d=b.Od.get(d.Xa());return null!=d&&!d.getItem().Bc()&&Y0c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
pO.prototype.Es=function(a){return oO.prototype.Es.call(this,a)&&C$c(this,a.getItem())};var C$c=function(a,b){if(_.R(b,31)||!a.v8)return!0;var c=a.H();return b.rk().some(function(d){var e=a.Od.get(d);return d==c||null!=e&&Y0c(e.getItem())})};pO.prototype.rX=function(){oO.prototype.rX.call(this);for(var a=_.m(this.Od),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;C$c(this,c.getItem())||(c.count--,this.Od.delete(b))}};pO.prototype.zd=function(){return new _.gf};
pO.prototype.getType=function(){return"SubscribedCorpusCache"};pO.prototype.VN=function(){return!1};var D$c=/^[\x00-\x7F]*$/,E$c=function(){this.rootId=""};E$c.prototype.Fu=function(a){this.rootId=a||""};
var $8c=function(a){return F$c(a)&&0==_.Nd(a,40).length&&void 0==_.D(a,41)},F$c=function(a){var b=!0;_.pk(a,_.jf,13).forEach(function(d){"me"!=d.Xa()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.pk(a,_.Fl,5).length&&0==_.pk(a,_.jf,14).length&&0==_.pk(a,_.jf,15).length&&!_.Q(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.pk(a,_.Al,35).length&&0==_.pk(a,_.Al,38).length&&c&&b&&0==_.Nd(a,39).length&&!_.D(a,42)&&0==_.pk(a,_.xl,44).length&&!_.LL(a)&&!_.ML(a)&&!_.NL(a)&&0==_.pk(a,_.Bl,57).length&&G$c(a)&&
!_.E(a,_.roa,59)&&null==_.R(a,60)&&0==_.pk(a,_.jf,68).length&&0==_.pk(a,_.jf,67).length&&null==_.R(a,69)},G$c=function(a){return _.pk(a,_.Gl,4).every(function(b){b=b.Xa();return!b||!b.includes("*")&&D$c.test(b)})};E$c.prototype.r9=function(a,b){var c=this;return b.filter(function(d){return $N(c,a,d)})};
var $N=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!ZN(c);if(d){d=!0;var e=_.pk(b,_.Gl,4);if(G$c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Xa()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Xa().toLowerCase();if(2==_.D(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.nd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.rg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Xg(q)+"($|[^\\w])|(^|[ ])"+_.Xg(q)):new RegExp(_.Xg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Kl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Xa()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.zf())&&_.D(p,3)||""),p=_.S(h,2,!1),r=h.Xa(),_.hM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Zj(h,3,0)?r===q:q.includes(r),p?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.pk(b,_.Dl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Fq(),d=d&&H$c(k,f);if(d)for(d=!0,e=_.pk(b,_.Dl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.ez(),d=d&&H$c(k,f);d&&(d=b.Sh(),e=(e=_.rM(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.lp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.QA());d&&(d=null==b.Am()||b.Am()==!!c.Am());if(d)a:{d=_.Ll(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Xa()&&(f="root"==e.Xa()&&a.rootId||e.Xa(),f=c.rk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.pk(b,_.jf,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Xa()&&(e=1==c.lp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.py():!0));a&&(a=_.R(b,17),d=(d=_.rM(b))&&(2==d||3==d),a=null==a||a==!!c.UI()&&(!a||1==c.lp()||!!d));a&&(a=g1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.fl(a));a&&(a=!0);if(a=a&&I$c(b,c)&&J$c(b,c))a=_.Nd(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&K$c(b,c))_.D(b,41)?(a=_.E(c,_.lM,86),a=null!=a&&
_.D(b,41)==_.D(a,3)):a=!0;if(a=a&&L$c(b,c))a=_.rM(b),1==a?(a=_.R(c,31),a=!!_.Ll(b).length||!!_.pk(b,_.Al,35).length||1==_.R(b,18)||_.LL(b)||_.ML(b)||_.NL(b)||!!b.Qp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.LL(b)?!!_.kl(c)&&!c.Sh():!0);a&&(a=_.ML(b)?!!_.ll(c).length&&!c.Sh():!0);a&&(a=_.NL(b)?!!_.ml(c).length&&!c.Sh():!0);a&&(a=_.Q(b,50)?_.S(b,50,!1)?_.Q(c,101)&&0!==_.D(c,101):!_.Q(c,101):!0);a&&(a=b.Qp(),a=!a||_.Nd(c,120).includes(a));a&&(c=_.E(c,_.jM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.D(c,
1),a=_.R(b,65)==c));return a},H$c=function(a,b){if(null!=_.D(b,2))switch(_.D(b,1)){case 1:return a<=_.D(b,2);case 2:return a<_.D(b,2);case 3:return a==_.D(b,2);case 4:return a>_.D(b,2);case 5:return a>=_.D(b,2);default:return!1}return!0},I$c=function(a,b){var c=_.cb(_.Nd(b,56));a=_.pk(a,_.qM,25);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},J$c=function(a,b){if(0==a.pB().length)return!0;var c=_.cb(b.pB().map(function(d){return _.D(d,1)}));a=_.cb(a.pB().map(function(d){return _.D(d,
1)}));return _.Qa(a,function(d,e){return c[e]})},K$c=function(a,b){var c=_.cb(_.Nd(b,50));a=_.pk(a,_.El,37);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},L$c=function(a,b){if(_.Nd(a,40).length){if(b=_.E(b,_.lM,86)){var c=_.cb(_.Nd(b,2));return _.Nd(a,40).some(function(d){return c[d]})}return!1}return!0},qO=function(a,b,c,d){d=void 0===d?5E3:d;oO.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(qO,oO);_.g=qO.prototype;
_.g.GE=function(a){var b=this,c=oO.prototype.GE.call(this,a);if(5==c)return c;c=_.Ll(a);var d=c.every(function(e){var f=e.Xa();return(null!=b.Od.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Nd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Es=function(a){return oO.prototype.Es.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!ZN(a.getItem())};_.g.VN=function(){return!1};_.g.zd=function(){var a=new _.gf;_.Nl(a,[this.teamDriveId]);_.Ol(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var M$c=function(a){this.ha=a;this.V=[];this.W=this.H=null;this.O=[];a=new _.gf;_.A(a,48,!0);var b=new _.bd;_.cd(b,11);_.dd(b,2);_.hf(a,b);this.ka=aO(this.ha,a,!0)};M$c.prototype.add=function(a){a instanceof pO?this.H=a:a instanceof B$c?this.W=a:a instanceof nO?this.V.push(a):a instanceof qO&&this.O.push(a)};
M$c.prototype.remove=function(a){var b=this;if(a instanceof pO)this.H&&(mO(this.H),this.H=null);else if(a instanceof B$c)this.W&&(mO(this.W),this.W=null);else if(a instanceof nO){var c=_.ja(this.V,function(d){return b.ha.equals(d.zd(),a.zd())});0<=c&&(mO(this.V[c]),_.sa(this.V,c))}else a instanceof qO&&(c=_.ja(this.O,function(d){return b.ha.equals(d.zd(),a.zd())}),0<=c&&(mO(this.O[c]),_.sa(this.O,c)))};
var N$c=function(a){var b=[];a.H&&b.push(a.H);a.W&&b.push(a.W);_.za(b,_.ya(a.V));_.za(b,_.ya(a.O));return b},O$c=function(a,b){b=void 0===b?!1:b;return a.V.filter(function(c){return a.H&&b?(c=c.zd().clone(),_.fk(c,32),_.hk(c,26),!_.xk(a.ka,c)):!0})};M$c.prototype.mW=function(){return _.ya(this.O)};
var P$c=function(a,b){return _.mg(a.O,function(c){return c.Bc()===b})},Q$c=function(a,b){return O$c(a).find(function(c){return a.ha.equals(c.zd(),aO(a.ha,b,!0))})},R$c=function(a,b){_.xi.call(this,"Ib");this.ids=a;this.error=b};_.L(R$c,_.xi);R$c.prototype.getError=function(){return this.error};R$c.prototype.H=function(){return this.ids};var S$c=function(a){_.xi.call(this,"Jb");this.people=a};_.L(S$c,_.xi);S$c.prototype.getPeople=function(){return this.people};
var T$c=function(a){_.xi.call(this,"Kb");this.people=a};_.L(T$c,_.xi);T$c.prototype.getPeople=function(){return this.people};var V$c=function(a,b,c){this.person=a;this.Re=void 0===c?0:c;this.O=this.V=null;this.H=new Set(b?[b]:[]);U$c(this)};V$c.prototype.Ye=function(){return this.Re};
var W$c=function(a,b,c){if(_.D(b,1)!==_.D(a.person.clone(),1))return!1;var d=_.AUc.get(a.Re)||1,e=a.Ye();if(4===c?0:1===e?1===c:3===e||2===e||4===e?0!==c&&e!==c:1)return b=g$c(b.clone(),a.getEmail(b)),e=!_.xk(a.person,b),a.person=b,a.Re=c,U$c(a),e||d!==(_.AUc.get(a.Re)||1);if(4===c)return a.Re=c,U$c(a),d!==(_.AUc.get(a.Re)||1);c=b;return!a.person.getEmail()&&c.getEmail()?(g$c(a.person,a.getEmail(b)),!0):!1};
V$c.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var U$c=function(a){1===a.Re?(a.V=Date.now(),a.O=null):4===a.Re&&(a.O=Date.now())},Y$c=function(a,b,c,d){_.Ki.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.EK(function(){return X$c(e)},100,this)};_.L(Y$c,_.Ki);Y$c.prototype.$g=function(a){a&&_.SK(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.xe())};
var X$c=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)}})};Y$c.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){return c.We(M4c(new _.TL,a))}).then(function(c){c=_.pk(c,hO,1);b.dispatchEvent(new S$c(c))},function(c){c=_.wA(c);b.dispatchEvent(new R$c(a,c))})};Y$c.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var rO=function(a,b,c,d,e,f){_.Ki.call(this);var h=this;this.H=new Map;this.W=new Set;this.ha=new Map;this.Oc=new _.Le(this);this.Ma(this.Oc);this.va=b;this.V=d;this.oa=e;this.O=!_.S(a,90,!1);this.ma=_.ak(_.E(a,P3c,85)||new P3c,1,864E5);this.ka=new Y$c(a,b,c,f);this.Ba=new _.UC(function(){var k,l=null===(k=h.oa)||void 0===k?void 0:X4c(k,106015);if(l){k=_.E(_.GM(l),v4c,11);if(!k){k=new v4c;var p=_.GM(l);_.x(p,11,k)}k=_.A(k,1,h.H.size);_.A(k,2,h.W.size);l.Xj()}},500,this);this.Oc.listen(this.ka,"Jb",
function(k){k=k.getPeople();Z$c(h,k,1);h.Ba.xe()});this.Oc.listen(this.ka,"Ib",function(k){$$c(h,k)})};_.L(rO,_.Ki);rO.prototype.get=function(a){var b=this.O?_.ah():"";this.O&&this.V.create(b,M4c(new _.TL,[a]));var c=this.H.get(a);if(c)return aad(this,c)?(this.O&&eO(this.V,b,this.jH(c)?6:5),bad(this,a)):this.O&&Y9c(this.V,b,1,_.HM(_.WTc,10),null),c;this.O&&eO(this.V,b,5);return null};
var bad=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ka.$g(b);var c=new _.zn;a.ha.set(b,c);return c.promise};rO.prototype.Tb=function(a){var b=this,c=this.O?_.ah():"";this.O&&this.V.create(c,M4c(new _.TL,[a]));return cad(this,a)?(this.O&&Y9c(this.V,c,1,_.HM(_.WTc,10),null),Promise.resolve(this.H.get(a))):bad(this,a).then(function(){b.O&&(cad(b,a)?Y9c(b.V,c,1,_.HM(_.WTc,1),null):eO(b.V,c,3));return b.H.get(a)})};rO.prototype.vc=function(){return 0===this.H.size};
rO.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.W.clear()};
var dad=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return[1,4,2].includes(b.Ye())&&4!==b.Ye()}).map(function(b){return b.person.clone()})},ead=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},fad=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(_.nd(e.H)).length&&(a.H.delete(d),a.W.delete(d)))}},Z$c=function(a,b,c){if(![1,2].includes(c))throw Error("ef");0!==b.length&&(a.log("Importing "+b.length+
" from "+(Object.keys(d$c)[c]+".")),gad(a,b,c))},iad=function(a,b,c,d){0!==b.length&&had(a,b,c,void 0===d?0:d)},cad=function(a,b){b=a.H.get(b);return!(!b||![1,4,2].includes(b.Ye())||aad(a,b))},had=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=_.D(f,1),k=a.H.get(h);if(k)W$c(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&&bad(k,_.D(f,1));l=new V$c(f,p,l);k.H.set(_.D(f,1),l)}e&&1===d&&(f.getName()?a.W.delete(h):a.W.add(h))}return e};
rO.prototype.jH=function(a){return 1===a.Ye()&&Date.now()-Number(a.V)>this.ma};var aad=function(a,b){switch(b.Ye()){case 1:return Date.now()-Number(b.V)>a.ma;case 4:return 1E3<Date.now()-Number(b.O);default:return!0}};rO.prototype.log=function(a,b){this.va.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var $$c=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():f$c(new hO,c)});gad(a,b,4)},gad=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.D(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),a.ha.delete(e))}had(a,b,void 0,c)&&a.dispatchEvent(new T$c(b))},jad=function(a,b,c,d,e,f){_.Ki.call(this);var h=this;this.Oc=new _.Le(this);this.Ma(this.Oc);this.H=new rO(a,b,c,d,e,f);this.O=_.cL(a)||new _.aL;this.Oc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(jad,_.Ki);jad.prototype.uP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=sO(this,[c]).map(function(e){return kad(b,e)});iad(this.H,d,a.H.getId(),this.Ye(_.D(c,82)))}a.O&&fad(this.H,a.id,lad(this,a))};jad.prototype.Ye=function(a){return _.BUc.get(a)||0};
var lad=function(a,b){var c=mad(a,b.O),d=mad(a,b.H);return c.filter(function(e){return!d.includes(e)})},mad=function(a,b){return b?sO(a,[b.getItem()]).map(function(c){return _.lF(c)}):[]},oad=function(a,b){b=b.getUser();iad(a.H,[kad(a,b)],"ACCOUNT");nad(a,b)},qad=function(a,b){var c=_.pk(b,_.xM,2).map(function(d){var e=_.E(d,_.Sk,9,1);return a.H.Tb(_.lF(e)).then(function(){return void pad(a,[e])})});return Promise.all(c).then(function(){return b})},pad=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,_.lF(c)&&nad(a,c)},rad=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.lF(f)&&(d.add(_.lF(f)),iad(a.H,[kad(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return pad(a,b)})},tad=function(a,b){return sO(a,[b]).some(function(c){return!sad(a,_.lF(c))})},sad=function(a,b){return cad(a.H,b)},sO=function(a,b){return b.map(function(c){var d=c.Uw();d=d?[].concat(_.nd(d.rR()),_.nd(_.pk(d,_.Sk,3))):[];
var e=c.zf();e=(e=e&&_.Rd(e))?sO(a,[e]):[];return[].concat(_.nd(_.il(c)),[c.wm(),c.Tv(),c.Pq(),c.pD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!_.lF(c)})};jad.prototype.getItems=function(a){return ead(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var uad=function(a,b){return b.map(function(c){c=c.clone();var d=sO(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.fk(e,3),_.fk(e,8),_.fk(e,5);return c})},wad=function(a,b){return b.some(function(c){return vad(a,c)})},vad=function(a,b){return sO(a,[b]).some(function(c){return _.Q(c,3)||c.Sp()||_.Q(c,5)})},nad=function(a,b){var c=a.H.get(_.lF(b));if(c){a=c.person.clone();var d=_.HVc(b.jd(a.getName()),a.getEmail());c=_.AUc.get(c.Re)||1;_.A(d,16,c);(a=_.E(a,e$c,4))&&b.oo(a.getUrl())}},
kad=function(a,b){var c=_.lF(b);c=g$c(f$c(new hO,c).jd(b.getName()),b.getEmail());var d=new e$c;var e=_.D(b,5);d=_.A(d,1,e);c=_.x(c,4,d);_.S(a.O,9,!1)&&(_.fk(b,3),_.fk(b,8),_.fk(b,5));return c},xad=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};xad.prototype.Vf=function(){return this.suggestionSessionId};xad.prototype.OAa=function(){return this.O};xad.prototype.vc=function(){return this.H};
var yad=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},zad=function(a,b){a=yad(a);b=yad(b);return!(!a||!b||a!==b)},Aad=function(a){return a.Jc()+"_"+yad(a.getName())},Bad=function(a,b){var c=_.Nd(a,1).map(function(d,e){return b[Number(e)].value.c4a.promise});return Promise.allSettled(c).then(function(d){return _.Nd(a,1).map(function(e,f){e=e.toString();var h=new k$c;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Ue(f.reason.Sg));return e})})},tO=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.zy=new Set;this.status=6;this.V=new Map;this.Re=0};_.L(tO,_.N);_.g=tO.prototype;_.g.$h=function(a){var b=this;this.zy.add(a);return this.resize().then(function(){return b.FO(a)})};_.g.ek=function(a){this.zy.delete(a);0===this.zy.size&&this.dispose()};_.g.Ye=function(){return this.Re};_.g.lj=function(a){this.Re=a};
_.g.wD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Ku(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.WX():_.fi([])};_.g.WX=function(){for(var a=[],b=_.m(this.zy.values()),c=b.next();!c.done;c=b.next())a.push(this.FO(c.value));return _.hi(a)};
_.g.VX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.zy.values()),e=d.next();!e.done;c={Ora:c.Ora},e=d.next())c.Ora=e.value,b.push(this.O.then(function(f){return function(h){return void h.VX(f.Ora,a)}}(c)));return _.hi(b)};_.g.hA=function(){for(var a=this,b=[],c={},d=_.m(this.zy.values()),e=d.next();!e.done;c={Pra:c.Pra},e=d.next())c.Pra=e.value,b.push(this.O.then(function(f){return function(h){return void h.hA(f.Pra)}}(c)));return _.hi(b).then(function(){a.lj(0===a.Ye()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.zy.forEach(function(d){d=b.pla(d);c=Math.max(c,d.Ni?d.Ni()||0:0)});a.ega(c)})};var Cad=function(a,b){return b?a.V.get(a.Uka(b))||null:null};_.g=tO.prototype;_.g.jI=function(a,b){var c=Cad(this,a);b=K8c(c,b);this.V.set(this.Uka(a),b)};_.g.Uka=function(a){return a};_.g.PMa=function(){return[]};_.g.FO=function(a){var b=this;return this.O.then(function(c){return void c.FO(a,b.xk())})};_.g.removeItem=function(){};
var uO=function(a,b){_.Ki.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(uO,_.Ki);var Dad=function(a){return!a.O||""!==a.pageToken};uO.prototype.$g=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Dad(this)?Ead(this):_.fi()};
var Ead=function(a){a.O=!0;a.H=!0;var b=a.Sia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Fad(a,c)},function(c){return a.handleError(c)})},Fad=function(a,b){a.H=!1;a.pageToken=a.jla(b);b=a.vka(b);b.forEach(function(c){return a.data.push(c)});a.w6(b);return a.data.length<a.limit&&Dad(a)?_.hi([_.fi(b),Ead(a)]).then(function(c){return c[0].concat(c[1])}):_.fi(b)};
uO.prototype.handleError=function(a){this.H=!1;a=_.$K(a);var b=new fO(a);this.QMa(b);this.dispatchEvent(b);return _.gi(a)};uO.prototype.w6=function(){};uO.prototype.QMa=function(){};var Gad=function(a,b,c){uO.call(this,c,function(d){return a.then(function(e){return e.We(d)}).Rg(function(e){return void _.nL(e)})});this.V=b};_.L(Gad,uO);_.g=Gad.prototype;_.g.Sia=function(a,b,c){a=a.clone();a.Bi(b);return new _.gVc(a,c)};_.g.jla=function(a){return a.pageToken||""};_.g.vka=function(a){return a.response.O()};
_.g.w6=function(a){this.V.wD(a,!1,1)};_.g.QMa=function(a){this.V.rB(this.request,a)};var Had=function(a,b,c,d){tO.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Had,tO);_.g=Had.prototype;_.g.refresh=function(){this.hA();this.H=new Gad(this.ha,this.W,this.request);return this.H.$g(this.request.Ni()||100)};_.g.Mq=function(a){return this.data.find(function(b){return zad(b.getName(),a)})};
_.g.ega=function(a){this.H&&a===this.request.Ni()||(this.request.Bi(a),this.H?this.H.$g(a):this.refresh())};_.g.xk=function(){var a=this,b=w6c((new IN).Dc(this.status),this.data.filter(function(c){return a.W.GDa(c)}).map(function(c){return c.clone()}));return new _.MM(b,void 0,void 0,this.Ye())};_.g.wD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Jc()===d.request.Jc()});return tO.prototype.wD.call(this,a,b,c)};
_.g.Ku=function(a,b){b=void 0===b?1:b;if(!e1c(Cad(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return zad(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.jI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return zad(b.getName(),a)})&&(this.V.delete(this.Uka(a)),this.WX())};_.g.Uka=function(a){return yad(a)};_.g.jI=function(a,b){this.Mq(a)&&tO.prototype.jI.call(this,a,b)};
_.g.PMa=function(a){var b=this;return a instanceof _.ZL&&a.Jc()===this.request.Jc()?a.TV().map(function(c){return b.Mq(c.Vm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var vO=function(){this.H=new Map};vO.prototype.$h=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Uia(b),this.H.set(c,d));d.$h(a);return e};var Iad=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Exa(c),a.H.set(d,e));e.$h(b);return f};
vO.prototype.ek=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.ek(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Jad=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ek(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Kad=function(a,b){return a.H.get(b)};vO.prototype.wD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.GDa(f)});this.H.forEach(function(f){f.wD(e,b,c)})};vO.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Lad=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.PMa(b)});return[].concat.apply([],_.nd(a))};vO.prototype.jI=function(a,b){this.H.forEach(function(c){c.jI(a,b)})};vO.prototype.GDa=function(){return!0};vO.prototype.rB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.VX(b)};vO.prototype.a3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Uia(b),f.lj(c),this.H.set(e,f),this.wD(a,d))};var Mad=function(){this.V=new Set;this.O=0;this.H=[]},Nad=function(a,b){a.V.add(b)};
Mad.prototype.W=function(a){this.V.delete(a)};var Oad=function(a,b){var c;if(c=b instanceof _.hl)c=b.Uv(),c=!!(b.Sh()&&c&&c<=Math.max.apply(Math,_.nd([a.O].concat(_.nd(a.H)))));if(c)return!0;b=b instanceof _.hl?b.getId():b;return a.V.has(b)},Pad=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Mad.prototype.r9=function(a){var b=this;return a.filter(function(c){return!Oad(b,c)})};var Qad=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Mad};_.L(Qad,vO);
var Rad=function(a,b){Nad(a.O,Aad(b));(a=Kad(a,b.Jc()))&&a.WX()};_.g=Qad.prototype;_.g.getKey=function(a){return a.Jc()};_.g.Uia=function(a){return new Had(this.V,this.W,this,a)};_.g.Exa=function(a){return new Had(this.V,this.W,this,a)};_.g.Vo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Kad(this,b.getId()))&&b.refresh()};_.g.GDa=function(a){return!Oad(this.O,Aad(a))};
var Sad=function(a,b){this.O=a;this.H=b},Tad=function(a,b){b=_.TTb(b);var c=new Gad(a.O,a.H,b);new Promise(function(d,e){return c.$g(100).then(d,e)})},Uad=function(){this.Od={}},wO=function(a,b){Vad(a,"subscribed");b&&Vad(a,b);return a.Od[b||"subscribed"].ne.promise},Vad=function(a,b){a.Od[b]||(a.Od[b]={count:0,NR:[],f2a:[],ne:_.ii()});a.Od[b].count++},Xad=function(a,b){b&&!Wad(a,b)||Wad(a,"subscribed")},Wad=function(a,b){if(!a.Od[b])return!1;a.Od[b].count--;0===a.Od[b].count&&(a.Od[b].ne.resolve({items:a.Od[b].NR,
kLb:a.Od[b].f2a}),_.Wa(a.Od,b));return!0};Uad.prototype.Vo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Jc()&&c.Od[f]&&c.Od[f].f2a.push(e);c.Od[d]&&c.Od[d].NR.push(e)})};var Yad=function(a,b,c){uO.call(this,a,c);this.V=b};_.L(Yad,uO);Yad.prototype.Sia=function(a,b){return a.clone().Bi(b)};Yad.prototype.jla=function(){return""};Yad.prototype.vka=function(a){return[a]};Yad.prototype.w6=function(a){this.V(a)};
var Zad=function(a,b,c,d){tO.call(this,a,d.clone());this.ha=b;this.H=this.fT=null;this.W=c};_.L(Zad,tO);Zad.prototype.refresh=function(){var a=this;this.hA();this.H=new Yad(this.request,this.W,function(b){return a.ha.then(function(c){return c.We(b)})});return this.H.$g(this.request.Ni()||0)};Zad.prototype.ega=function(a){1===this.status||this.H&&a===this.request.Ni()||(this.request.Bi(a),this.H?this.H.$g(a):this.refresh())};
Zad.prototype.xk=function(){if(this.fT)return this.fT;var a=new LN;a.Dc(this.status);return a};Zad.prototype.Ku=function(a){this.fT=a;return!0};var $ad=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L($ad,vO);_.g=$ad.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Uia=function(a){var b=this;return new Zad(this.O,this.W,function(c){b.wD(c,!1)},a)};_.g.Exa=function(){throw Error("ff");};
_.g.a3=function(a,b,c,d){var e=a[0].ol();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.mq()}).join(", "));vO.prototype.a3.call(this,a,b,c,d)};var xO=function(a,b,c,d){_.Ki.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.ne=null;this.O=new Set};_.L(xO,_.Ki);
xO.prototype.$g=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.ii();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.We(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.ne.promise};xO.prototype.va=function(a,b){this.V(b);abd(this,a)};var abd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.ne.resolve()):a.dispatchEvent("Cb")};
xO.prototype.handleError=function(a,b){b=_.wA(b);var c=b.Sg;5===c.jt()||4===c.hk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),abd(this,a)):(a=new fO(c,_.ak(this.oa.Zf(),1,1)),this.dispatchEvent(a),this.ne.reject(b))};var bbd=function(a){var b=new _.eF;b.Pb(a);return b},cbd=function(a,b,c,d,e){xO.call(this,a.clone(),c,d,e);this.H=b};_.L(cbd,xO);
cbd.prototype.W=function(a){var b=new Map;a.Xm().forEach(function(c){var d=_.bTb(a.clone(),[c]);b.set(c,d)});return b};cbd.prototype.V=function(a){var b=[];a.dU().forEach(function(c){b.push(c)});this.H(b,!0)};cbd.prototype.ha=function(){this.H([],!1)};cbd.prototype.ka=function(a){this.H([bbd(a)],!0)};var dbd=function(a,b,c,d,e,f){tO.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.$k={};this.H=null};_.L(dbd,tO);
dbd.prototype.refresh=function(){this.H=new cbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.$g()};dbd.prototype.ega=function(){this.H||this.refresh()};dbd.prototype.xk=function(){var a=new _.KM;a.Dc(this.status);_.Ma(this.$k,function(b,c){a.dU().set(c,b||new _.eF)});a.lj(this.Ye());return a};dbd.prototype.Ku=function(a){var b=a.getId();if(_.xk(a,bbd(a.getId()))){if(this.$k[b])return delete this.$k[b],!0}else if(0<=this.request.Xm().indexOf(b))return this.$k[b]=a,!0;return!1};
var ebd=function(a,b){a=a.getState();return null==a||b.getState()==a},fbd=function(a,b,c){uO.call(this,a,c);this.V=b};_.L(fbd,uO);fbd.prototype.Sia=function(a,b,c){a=a.clone();a.Bi(b);return new _.tVc(a,c)};fbd.prototype.jla=function(a){return a.pageToken||""};fbd.prototype.vka=function(a){return a.response.ol()};fbd.prototype.w6=function(a){this.V(a)};var gbd=function(a){this.H=_.xRc(a,{numeric:!0})};
gbd.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=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};gbd.prototype.V=function(a,b,c){var d=_.D(b,4),e=_.D(c,4),f;d!==e?f=_.Fa(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};var hbd=function(a,b,c,d,e){tO.call(this,a,e.clone());this.ha=b;this.$k=[];this.H=null;this.W=d;a=new gbd(c);b=(c=this.request.ww())?c.getType():0;c=c?c.Ef():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(hbd,tO);hbd.prototype.refresh=function(){var a=this;this.hA();this.H=new fbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.We(b)})});return this.H.$g(this.request.Ni()||0)};hbd.prototype.ega=function(a){1===this.status||this.H&&a===this.request.Ni()||(this.request.Bi(a),this.H?this.H.$g(a):this.refresh())};hbd.prototype.xk=function(){var a=new iO;a.Dc(this.status);m$c(a,this.$k.map(function(b){return b.clone()}));return new _.PM(a,void 0,1!==this.status&&Dad(this.H),this.Ye())};
hbd.prototype.Ku=function(a){var b=_.wa(this.$k,function(c){return c.getId()===a.getId()});return a&&ebd(this.request,a)&&!_.xk(a,bbd(a.getId()))?F0c(this.$k,a,this.ka):b};var ibd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(ibd,vO);_.g=ibd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.Uia=function(a){var b=this;return new hbd(this.V,this.ha,vN(_.NK(this.O)),function(c){return void b.wD(c,!1)},a)};_.g.Exa=function(a){var b=this;return new dbd(this.V,this.ha,this.O,this.W,function(c,d){return b.wD(c,d)},a)};_.g.a3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));vO.prototype.a3.call(this,a,b,c,d)};
var jbd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();jN(a)&&(c=(c=a.zf())?_.D(c,3):"");kN(a)&&(a.Vi()&&(c+="+"+String(a.Vi())),a.Jj()&&(c+="+shared"));return _.MSa(c,b?"32":"16")},kbd=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("&")},lbd=function(a,b){var c=_.R(a,44),d=a.zf();if(d){if(1!==_.Td(d))return null;c=(c=_.Rd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();jN(a)&&(d=X0c(a));
d=[_.F(b,65,"https://lh3.google.com"),"u",_.bL(_.NK(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.Q(a,140)&&(c.resourcekey=_.ol(a));return d=kbd(d,c)},mbd=function(a){this.H=a},obd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=jbd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.nWc(b,L1c(b,a.H));c.includes(19)&&(d=lbd(b,a.H),_.A(b,20,d));nbd(a,b,c);if(jN(b)){if(d=(d=b.zf())&&_.Rd(d)){if(c.includes(20)&&c.includes(3)){var e=jbd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.nWc(d,L1c(d,
a.H));c.includes(19)&&(e=lbd(d,a.H),_.A(d,20,e));nbd(a,d,c)}_.rWc(b,!!b.Px())}},nbd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!kN(b)&&!jN(b)&&!_.Ad(e)&&(!b.p7()||2!==b.lp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),jN(b)&&(d=X0c(b)),c=new _.uj(_.F(a,16,"")+"/uc"),_.zj(c,"id",d),_.zj(c,"authuser",_.bL(_.NK(a))),_.zj(c,"export","download"),_.S(a,89,!1)&&_.Q(b,140)&&_.zj(c,"resourcekey",_.ol(b)),_.A(b,41,c.toString())))}},pbd=function(a,b){this.cja="";
this.startTime=b||new Date;this.xea=a;this.laa=H0c(a)};pbd.prototype.clone=function(){return new pbd(this.xea,this.startTime)};var qbd=function(){this.H=null;this.NY=[]},rbd=function(a){return _.Bb(a.NY,function(b){return _.$a(b)})};qbd.prototype.AN=function(){return this.H};
qbd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new u$c;e.V=t$c(d.laa);var f=_.ah().substring(0,8);d=H0c(f);f=(new U9c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).Ci(c);this.NY.push(b);e.O=t$c(d);e.H=r$c(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.yk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.Bk(d,1,1);var k=d.O;u2c(k,f);u2c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.Bk(d,2,1),k=d.O,u2c(k,f),u2c(k,h));f=e.W;null!=f&&(_.Bk(d,3,5),u2c(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.Bk(d,4,1),h=d.O,u2c(h,f),u2c(h,e));e=_.Ck(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var sbd=function(){this.Bb=[];this.O=this.H=0};sbd.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Bb,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 tbd=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Bb,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},ubd=function(a){this.key=a;this.H=new _.xUc;this.O=new _.vUc(new _.xUc,_.ima(a))};ubd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.jma(b);c=vbd(this,a);return b.concat(c,wbd(this,b,a,!0))};
var xbd=function(a,b){var c=wbd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=vbd(a,c);if(b!==a)throw Error("gf");return c},vbd=function(a,b){a=_.wUc(a.O,_.QUc(b));return _.jma(a)},wbd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new sbd;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Bb,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=_.QUc(c.substring(8192*
e,8192*(e+1))),tbd(b,a),d+=_.jma(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;tbd(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("hf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=ybd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=ybd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=ybd(d,e++),k=ybd(d,e++),l=ybd(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=ybd(d,e++),k=ybd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},ybd=function(a,b){return a[Math.floor(b/8192)][b%8192]},zbd=function(a,b,c){this.data=a;this.NZa=b;this.H=c;this.isEncrypted=!1};zbd.prototype.getData=function(){return this.data};
zbd.prototype.Km=function(){return this.NZa};var Abd=function(a,b,c,d){this.O=a;this.H=_.ii();this.Bp=!1;this.V=_.F(b,7,"");this.W=_.ak(_.wN(b),6,2E7);this.GG=_.SK(b);this.ha=_.ak(_.wN(b),12,0);this.ka=c;this.Ed=d||null};Abd.prototype.initialize=function(){var a=this;this.Bp||(this.Bp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.qi(this.H.promise)};
Abd.prototype.$C=function(a){if(a instanceof _.vA)return 0;if(a instanceof gO)return 1;if(a instanceof n5c)return 5;if(a instanceof NN)return 3;if(a instanceof i$c)return 6;throw new _.qc("Unsupported dataShard in getDataType");};var Bbd=function(a){if(0==a)return _.vA;if(1==a)return gO;if(5==a)return n5c;if(3==a)return NN;if(6==a)return i$c;throw new _.qc("Unsupported dataType:"+a+" in getDataTypeCtor");};Abd.prototype.yo=function(a){if(a instanceof NN)return a.yo()};
Abd.prototype.Km=function(a){if(a instanceof NN)return a.Hd().length};
var Gbd=function(a,b,c,d){if(0==c.length)return _.fi();var e=a.$C(c[0]);c.forEach(function(){});var f=a.yo(c[0]),h=0;3==e&&Cbd(a,c);var k=!!b;return Dbd(a,c).then(function(l){if(k){var p=a.Ed?a.Ed.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Km()},0);var q=Ebd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.gi(Error("jf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(A4c(z4c(y4c(p.ZE(),_.HM(_.bUc,e)),_.HM(_.ZTc,f)),!0),
q.then(function(){var r=h;x4c(p.ZE(),!0).Dt(r);p.Xj()},function(){var r=h;x4c(p.ZE(),!1).Dt(r);p.Xj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Fbd(a.O,l,e,f,k,d)})})},Dbd=function(a,b){return new _.ei(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.$b();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Km(l);l instanceof NN?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new zbd(p,r,l))}}});if(e){var h=Error("kf"),k=new _.pc;_.YK(k,2);_.kL(k,23);
_.A(k,21,h.message);_.Up(k);a.ka(k);d(h)}c(f)})},Cbd=function(a,b){a.yo(b[0]);b.forEach(function(){});a.GG||Hbd(b);Ibd(a,b)},yO=function(a,b,c,d,e,f){var h=_.ii(),k;_.ki(a.H.promise.then(function(){return Jbd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.li;if(l[0]&&l[0].Z0){if(k=a.Ed?a.Ed.H(106022,f):null)A4c(z4c(y4c(k.ZE(),_.HM(_.bUc,c)),_.HM(_.ZTc,d)),!0),q.vn().then(function(r){var u=k;r=void 0!=r;x4c(u.ZE(),r);_.RXc(u)});Kbd(a,q,b,p)}else q.callback(p);return q.then()},
function(){}).then(function(l){var p=[];if(l){var q=0;l.forEach(function(r){r=new (Bbd(c))(JSON.parse(r));q+=a.Km(r);p.push(r)});3==c&&(a.GG||Lbd(p),Mbd(p));k&&k.ZE().Dt(q)}h.resolve(p)}),function(){k&&k.Xj()}).Rg(h.reject,h);return h.promise},Hbd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.pk(a[b],_.Sk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Hd()||[]).forEach(function(h){_.lWc(h,Nbd(_.il(h),c,d));_.mWc(h,Nbd([h.wm()],c,d)[0]);var k=Nbd([h.Tv()],c,d)[0];_.x(h,
47,k);k=Nbd([h.Pq()],c,d)[0];_.x(h,91,k);k=Nbd([h.pD()],c,d)[0];_.x(h,95,k);if(h=h.Uw())_.hWc(h,Nbd(h.rR(),c,d)),_.iWc(h,Nbd(_.pk(h,_.Sk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Cb(a[0],2,e)}},Nbd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.xk(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Sk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},Lbd=function(a){var b=new Map,c=new Map;a[0]&&_.pk(a[0],
_.Sk,2)&&_.pk(a[0],_.Sk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Sk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Hd()||[]).forEach(function(e){_.lWc(e,Obd(_.il(e),b,c));_.mWc(e,Obd([e.wm()],b,c)[0]);var f=Obd([e.Tv()],b,c)[0];_.x(e,47,f);f=Obd([e.Pq()],b,c)[0];_.x(e,91,f);f=Obd([e.pD()],b,c)[0];_.x(e,95,f);if(e=e.Uw())_.hWc(e,Obd(e.rR(),b,c)),_.iWc(e,Obd(_.pk(e,_.Sk,3),b,c))});_.hk(d,2)})},Obd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.xk(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Ibd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].yo()){for(var d=[],e=b[c].Hd();e.length>a;){var f=_.Ba(e,a-1,a);f=U6c(new NN,f);d.push(f)}U6c(b[c],e);d.length&&_.vb(_.Ba,b,c+1,0).apply(null,d)}}},Mbd=function(a){for(var b={},c=1;c<a.length;b={Zea:b.Zea},c++)if(!a[c].yo()){for(var d=0,e=c;e<a.length&&!a[e].yo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.Zea=e.Hd();d.forEach(function(f){return function(h){_.za(f.Zea,
h.Hd())}}(b));U6c(e,b.Zea)}},Ebd=function(a,b,c){if(!_.gUc()&&a.V){var d=new Worker(_.wga(_.Fx(a.V)),void 0),e=new _.li;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Pd(Error(String(k)))},!1);c=p$c(new o$c,c);d.postMessage({command:"encrypt",data:{request:c.$b(),key:b}});return e}try{a=[];var f=new ubd(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.oi(a)}catch(k){h=_.ri(k)}return h},Kbd=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(!_.gUc()&&a.V){var f=new Worker(_.wga(_.Fx(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 ubd(c);for(c=0;c<d.length;c++)a.push(xbd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Pbd=function(a,b,c){return[a.Qz(),
a.clientId,b?"#":zO(a)].join(":")+":"+(c||"")},Qbd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Qbd.prototype.getKey=function(){return this.key};Qbd.prototype.Xa=function(){return this.value};
var Rbd=function(a,b){a=Pbd(a,b);return A6c(a+"A",a+"z")},Sbd=function(a,b){this.H=a;this.O=b},Tbd=function(a){return a?new Sbd(a.versionKey,a.versionChangeTimestamp):null},Ubd=function(a,b){return a+":"+b},Vbd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.Z0=void 0===e?null:e},Wbd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.Z0}},Xbd=function(a,b,c,d){a=zO(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.et(":%02d",c)},Ybd=function(a,b,
c,d){c=Xbd(a,b,void 0===c?0:c,d);a=zO(a)+"_"+b;3===b&&(a+="_"+d);return A6c(c,a+":a")},Zbd=function(a){var b=zO(a)+"_";a=zO(a)+"_A";return A6c(b,a)},$bd=function(a){return a?new Vbd(a.data,a.index,a.size,a.timestamp,a.e):null},acd=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=_.ya(e);_.Ia(this.fields);_.Ea(this.fields);this.H=f};acd.prototype.Qz=function(){return this.userId};
acd.prototype.Ng=function(){return _.ya(this.fields)};
var zO=function(a){if(!a.O){var b=new _.FK;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.SRc(b.digest())}return a.O},bcd=function(a){return{versionKey:zO(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},ccd=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 acd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:zO(a)!==d&&(a=null);return a},AO=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Ed=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.Oa=a.then(function(f){e.version=f});this.Lb=new _.Le(this);this.Ma(this.Lb)};_.L(AO,_.N);AO.prototype.initialize=function(){return dcd(this)};
var dcd=function(a,b){a.V||(a.V=_.ii(),a.Oa.then(function(){b?(a.va=!1,ecd(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)"),_.JSc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Qf(a.Ka.bind(a),a.oa.bind(a)),_.Oi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.qc("Database version error",void 0,_.RK(c)?c:void 0))}));return a.V.promise},ecd=function(a,b){a.H=b;a.Lb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Lb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};AO.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.HWc(b,c)});_.Ma(_.iL,function(c){var d=_.CUc.get(c);_.GSc(b,c,d?{keyPath:d}:void 0)})};
AO.prototype.oa=function(a){var b;a&&a instanceof _.IK&&"InvalidStateError"==a.getName()&&_.Hj.Qw?b=Error("lf"):_.RK(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);fcd(this,!1)};AO.prototype.Ka=function(a){this.ka?a.dispose():(ecd(this,a),this.Ma(this.H),this.readOnly||gcd(this).Rg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),fcd(this,!0))};
var fcd=function(a,b){if(a.ma){var c=a.ma,d=_.E(_.GM(c),s4c,5);d||(d=new s4c,c=_.GM(c),_.x(c,5,d));d=_.A(d,1,2);c=a.Gi().W;d=_.A(d,2,c);c=a.Gi().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Gi().ma;_.A(b,6,d);a.ma.Xj();a.ma=null}};AO.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("mf")))};AO.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};AO.prototype.Jf=function(){return this.ka};
var hcd=function(a){return a.ka?a.O:null};AO.prototype.Gi=function(){return this.version};
var BO=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.HSc(a,[b],c)}catch(d){return null}},gcd=function(a){var b=_.iL.R_,c=BO(a,b,"readwrite");if(!c)return _.gi(Error("nf"));c.objectStore(b).put(bcd(a.Gi()));return c.wait().then(function(){})},icd=function(a){if(!a.H)return _.gi(Error("of"));if(a.Jf())return _.gi(Error(a.O));var b=_.iL.R_,c=BO(a,b,"readwrite");return c?c.objectStore(b).remove(zO(a.Gi())).then():_.gi(Error("pf"))},jcd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=$bd(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("qf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("rf")),0;var e=d[0].size;if(!e)return b.reject(Error("sf")),0;if(e>d.length)return b.reject(Error("tf`"+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("uf`"+e)),0;if(c&&a<c)return b.reject(Error("vf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},Jbd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.gi(Error("wf"));if(a.Jf())return _.gi(Error(a.O));var e=Ybd(a.Gi(),b,0,c),f=_.iL.j6,h=BO(a,f);if(!h)return _.gi(Error("xf"));e=h.objectStore(f).getAll(e);var k=_.ii();e.Qf(function(l){l=jcd(l,k,d);a.readOnly||null==l||kcd(a,b,c,l).Rg(function(){})},k.reject);return k.promise},Fbd=function(a,b,c,d,e,f){if(a.H){if(a.Jf())return _.gi(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.gi(Error("yf"))}else return _.gi(Error("zf"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:Xbd(a.Gi(),c,u,d),data:new Vbd(r.getData(),u,k,h,e),metadata:r}});var l=_.iL.j6,p=BO(a,l,"readwrite");if(!p)return _.gi(Error("Af"));var q=p.objectStore(l);b.forEach(function(r){var u=lcd(a,c,d,r.metadata,f);q.put(Wbd(r.data),r.key).then(function(){u&&(x4c(u.ZE(),!0),u.Xj())},function(y){var z=y instanceof _.IK?y.code:_.iSc;u&&a.W&&(y=x4c(u.ZE(),!1),z=_.HM(_.cUc,z),_.A(y,2,z),u.Xj())})});return p.wait().then(function(){})},lcd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=z4c(y4c(a.ZE(),_.HM(_.bUc,b)),_.HM(_.ZTc,c)),f=f.yo(d.H),f=_.A(b,5,f),A4c(f,d.isEncrypted),void 0!=d.Km()&&a.ZE().Dt(d.Km());return a}return null},kcd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Jf())return _.gi(Error(a.O));if(3==b&&void 0==c)return _.gi(Error("Bf"))}else return _.gi(Error("Cf"));b=Ybd(a.Gi(),b,d,c);c=_.iL.j6;a=BO(a,c,"readwrite");if(!a)return _.gi(Error("Df"));a.objectStore(c).remove(b);return a.wait().then(function(){})},mcd=
function(a){if(!a.H)return _.gi(Error("Ef"));if(a.Jf())return _.gi(Error(a.O));var b=Zbd(a.Gi()),c=_.iL.j6;a=BO(a,c,"readwrite");if(!a)return _.gi(Error("Ff"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
AO.prototype.getMetadata=function(a){if(this.H){if(this.Jf())return _.gi(Error(this.O));if(a&&0==a.length)return _.gi(Error("Gf"))}else return _.gi(Error("Hf"));var b=this.Gi(),c=_.iL.t7,d=BO(this,c);if(!d)return _.gi(Error("If"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(Pbd(b,k.global,k.key)).then())});a=_.hi(f)}else a=_.hi([e.getAll(Rbd(b,!1)).then(),e.getAll(Rbd(b,!0)).then()]).then(function(k){return E0c(k[0],k[1])});var h=_.ii();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==zO(b)||p[0]!==b.Qz()||p[1]!==String(b.clientId)?null:new Qbd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var ncd=function(a,b){if(a.H){if(a.Jf())return _.gi(Error(a.O));if(0==b.length)return _.gi(Error("Jf"))}else return _.gi(Error("Kf"));var c=_.iL.t7,d=BO(a,c,"readwrite");if(!d)return _.gi(Error("Lf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Gi();h={k:Pbd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.hi(f).then(function(){})},ocd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Jf())return _.gi(Error(a.O))}else return _.gi(Error("Nf"));var c=a.Gi(),
d=_.iL.t7;a=BO(a,d,"readwrite");if(!a)return _.gi(Error("Of"));d=a.objectStore(d);a=[];a.push(d.remove(Rbd(c,!1)).then());b&&a.push(d.remove(Rbd(c,!0)).then());return _.hi(a).then(function(){})},pcd=function(a){if(!a.H)return _.gi(Error("Pf"));if(a.Jf())return _.gi(Error(a.O));var b=Ubd(a.Gi().Qz(),a.Gi().clientId),c=_.iL.CU;return(a=BO(a,c))?a.objectStore(c).get(b).then(function(d){return Tbd(d)}):_.gi(Error("Qf"))},qcd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.gi(Error("Rf"));if(a.Jf())return _.gi(Error(a.O));
var c=a.Gi(),d=Ubd(c.Qz(),c.clientId);b=new Sbd(zO(c),b?Date.now():void 0);c=_.iL.CU;a=BO(a,c,"readwrite");if(!a)return _.gi(Error("Sf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
AO.prototype.Il=function(a){var b=this;return this.H?this.Jf()?_.gi(Error(this.O)):pcd(this).then(function(c){var d=zO(b.Gi());if(c)if(a){if(!c.O&&d==c.H&&d!=zO(a))return qcd(b,!0);if(c.O&&d==zO(a))return qcd(b)}else{if(d!=c.H)return qcd(b)}else if(!a)return qcd(b)}):_.gi(Error("Tf"))};var rcd=function(a){if(!a.H)return _.gi(Error("Uf"));if(a.Jf())return _.gi(Error(a.O));var b=a.Gi(),c=Ubd(b.Qz(),b.clientId);return pcd(a).then(function(d){if(d){d=_.iL.CU;var e=BO(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
AO.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.gi(Error(this.O)):pcd(this).then(function(c){var d=c&&c.H==zO(b.Gi());return d&&!a?!1:(c&&d?rcd(b):_.fi()).then(function(){return _.hi([ocd(b,a),mcd(b),icd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.gi(Error("Vf"))};AO.prototype.close=function(){this.ha("Closing database")};AO.prototype.log=function(a){this.Ed.info("drive.ds.sync.storage.VersionedDb",a)};
var scd=function(a){if(1>=a.Gi())return!1;var b=a.H.objectStoreNames;return _.Sa(_.iL).every(function(c){return b&&b.contains(c)})},tcd=function(){var a=_.ii();_.JSc("GoogleDriveDs").Qf(function(b){b?scd(b)?a.resolve(b):(b.close(),_.ki(B6c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},ucd=function(a,b,c){var d=_.ii();a?_.HSc(a,[_.iL.R_],"readonly").objectStore(_.iL.R_).getAll().Qf(function(e){e=_.Sa(e).map(function(f){return ccd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Qz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},vcd=function(a,b,c){var d=_.ii();tcd().then(function(e){if(e){var f=_.iL.CU;_.HSc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Tbd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.iL.R_,p=_.HSc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=ccd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Tja(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},wcd=function(a,b,c){var d=_.ii(),e=new AO(_.fi(a),b);dcd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},xcd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=wcd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.hi(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+zO(l)))});d.resolve(k)})},ycd=function(a,b,c){var d=Date.now()-12096E5,e=_.ii();tcd().then(function(f){f?(_.ki(e.promise,function(){f.close()}),ucd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){xcd(h,c,f,e)})):e.resolve([])});return e.promise},zcd=function(a,b,c){var d=_.ii();tcd().then(function(e){e?(_.ki(d.promise,function(){e.close()}),
ucd(e,a,b).then(function(f){xcd(f,c,e,d,!0)})):d.resolve([])});return d.promise},Acd=function(a,b,c,d){if(a.length){var e=_.iL.j6,f=a.shift(),h=Xbd(f,3,0,1);try{_.HSc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=$bd(k))&&(!k.Z0||k.Z0&&d.has(f.V))?b.resolve(f):Acd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Bcd=function(a,b,c,d,e,f,h){var k=_.ii();tcd().then(function(l){l?(_.ki(k.promise,function(){l.close()}),ucd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=zO(q))&&q.W==c&&q.H>=e&&W0c(d.filter(function(r){return!_.DUc.has(r)}),q.Ng(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Acd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Ccd={key:"rid",global:!0},Dcd={key:"ooi",global:!0},Ecd={key:"rtds",global:!1},Fcd={key:"dct",global:!1},Gcd={key:"pc",global:!1},Hcd=function(a){this.H=new _.ei(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Hcd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Jf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Xa():void 0},function(){})})};Hcd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?ncd(c,[new Qbd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Hcd.prototype.Wn=function(){return this.get(Ccd).then(function(a){return a?a:null})};Hcd.prototype.Fu=function(a){return this.set(Ccd,a)};
var Icd=function(a){return a.get(Dcd).then(function(b){return"boolean"===typeof b?b:null})};Hcd.prototype.Oy=function(a){return this.set(Dcd,a)};var Jcd=function(a){return a.get(Gcd).then(function(b){return"boolean"===typeof b?b:null})},Kcd=function(a){return a.get(Ecd).then(function(b){return Array.isArray(b)?b:null})},Lcd=function(a){return a.get(Fcd).then(function(b){return"number"===typeof b?b:null})},Mcd=function(){this.kj=[]};_.L(Mcd,_.WM);
Mcd.prototype.add=function(a,b){var c=a.Av.request;return c instanceof _.cM&&_.D(c.request,12)?_.WM.prototype.add.call(this,a,b):!1};Mcd.prototype.hta=function(a){return this.kj.splice(0,Math.min(a,1))};var Ncd=function(a,b){this.kj=[];this.H=b};_.L(Ncd,_.WM);Ncd.prototype.add=function(a,b){return a.Av.request instanceof _.cM?!1:_.WM.prototype.add.call(this,a,b)};
Ncd.prototype.hta=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.Av.request;k instanceof _.xL||k instanceof _.JL||k instanceof _.YL?k="app|"+k.zh():k instanceof _.rL||k instanceof _.sL||k instanceof _.zL||k instanceof _.dL?k="item|"+(k instanceof _.rL?k.Jc():k.getId()):k instanceof _.AL||k instanceof _.KL?k="item|"+k.Jc():k instanceof _.BL||k instanceof _.$L?k="item|"+k.Jc():k instanceof _.EC||k instanceof _.DC?(k=k instanceof _.EC?_.E(k,_.dp,1).getKey():
k.getKey(),k="pref|"+_.D(k,2)+"|"+_.ep(k)):k=k instanceof _.CL?"td|"+k.getId():null;var l=h.Av.request;if(l instanceof _.uL)l=!!_.R(l,8);else if(l instanceof _.sL){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.hbb.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};
Ocd=function(a,b,c,d,e,f,h,k,l){a=a.Zf();h=new _.HZc(k,h,d,_.ak(a,32,1073741824),_.ak(a,21,1E3));h=new _.IZc(h);k=new _.gZc(_.ak(a,59,2E3),_.ak(a,60,2E4),_.ak(a,61,6));c=new _.eZc(l?l:c,l?void 0:e);e={};e[1]=_.KZc(b,d);e[2]=_.LZc(b,a,k,c,d);e[3]=_.MZc(b,a,k,c,d,"batch");l=_.ak(a,10,50);f=new _.YM(d,b,[_.fZc(c),new _.jZc(l,_.ak(a,11,100)),new _.XM(l),new _.VM(k,d)],[new Ncd(a,f),new Mcd,new _.WM],[new _.sZc(a,k,c.Kj(),d)],"mutation");return e[4]=f,e[5]=_.NZc(h,a,d),e[6]=_.MZc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.MZc(b,a,k,c,d,"xd4_batch"),e[8]=_.MZc(b,a,k,c,d,"xd4_batch_one",1),e};Pcd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Qcd=function(a){var b={};return b.parentId=a.Lk(),b};Rcd=function(a){var b={};_.de(_.$g(a.getTitle()))||(b.title=a.getTitle());_.Z_c(b,_.Nd(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Scd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.D(a,3)&&(b.workspaceToken=_.D(a,3));return b};Tcd=function(a){var b={};b.sourceIds=_.Nd(a.request,1);b.destinationFolderId=_.D(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Ucd=function(a){var b={},c={};_.de(_.$g(a.getTitle()))||(b.title=a.getTitle());null!=a.Te()&&(b.description=a.Te());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Sh()&&(c.trashed=a.Sh());_.de(_.$g(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.D(a,7)&&(b.modifiedDate=_.FWc(_.EXc(_.D(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Ra(c)&&(b.labels=c);null!=a.Vi()&&(b.folderColor=a.Vi());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.E(a,_.el,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.D(c,2)&&(d.reason=_.D(c,2));b.contentRestrictions.push(d)}_.Z_c(b,_.Nd(a,8));return b};Vcd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
Wcd=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.D(a,3))b.backgroundImageId=_.D(a,3);else{var c=_.D(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Yg)("0",6-c.length)+c);c=_.E(a,_.l4c,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.D(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.D(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Pe())&&(a.width=c);b.backgroundImageFile=a}}return b};
Xcd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.b0c[a.getState()])&&(b.state=a);return b};_.Ycd=function(a){_.O(this,a,-1,null,null)};_.L(_.Ycd,_.K);_.Ycd.prototype.O=function(){return _.D(this,1)};var Zcd=function(a){_.O(this,a,-1,null,null)};_.L(Zcd,_.K);Zcd.prototype.O=function(){return _.R(this,1)};Zcd.prototype.V=function(){return _.D(this,2)};_.CO=function(a){_.O(this,a,-1,null,null)};_.L(_.CO,_.K);_.g=_.CO.prototype;
_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.jta=function(){return _.D(this,3)};_.g.$y=function(){return _.D(this,4)};_.g.Q$=function(){return _.E(this,Zcd,6)};_.g.vsb=function(){return _.E(this,_.Ycd,7)};_.g.FVa=function(){return _.D(this,8)};_.g.ita=function(){return _.R(this,9)};_.DO=function(a){_.O(this,a,-1,null,null)};_.L(_.DO,_.K);_.g=_.DO.prototype;
_.g.getType=function(){return _.D(this,1)};_.g.getId=function(){return _.D(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.D(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Md=function(){return _.D(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.Bab=function(){return _.D(this,6)};_.$cd=function(a,b){return _.A(a,6,b)};_.DO.prototype.Te=function(){return _.D(this,8)};_.DO.prototype.nm=function(a){return _.A(this,8,a)};
_.DO.prototype.O=function(){return _.R(this,9)};_.EO=function(a,b,c,d,e,f){_.Ki.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=N1c(new _.eN,[1]);this.limit=e.Ni();this.Re=0;_.ze(this,function(){h.O=!1;h.H=[]})};_.L(_.EO,_.Ki);_.g=_.EO.prototype;_.g.Pi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.na(this.items)&&6===this.Cb()&&this.Sj()||add(this)};_.g.zd=function(){return this.request};_.g.Ni=function(){return this.limit};_.g.Cb=function(){return this.status};_.g.Wq=function(){return this.ka};_.g.Sj=function(){return this.ha};_.g.ks=function(){var a=_.LRc().Gz(this.H,this.items),b=(new _.YRc).Dc(this.Cb());a=_.Cb(b,2,a);this.H=this.items;return a};_.g.Lr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Pi(),this.limit))};
var bdd=function(a,b){return a.Cb()!==b.Cb()||xN(_.LRc(),a.items,b.Hd())},cdd=function(a,b){a.items=b.Hd();a.status=b.Cb();_.SK(a.Ba)&&(a.ka=O1c(a.status,a.items));a.ha=b.ll();a.Re=b.Ye()};_.EO.prototype.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.EO.prototype.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};
_.EO.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+bO(this.V,this.zd());return _.qi(this.va.then(function(d){return d.oMb(a,b,c.zd(),c.Ni(),c.items)}))};
var add=function(a){a.isActive()&&(a.log("Livelist "+a.Pi()+" returning "+a.items.length+". Status: "+(_.ab(j5c)[a.Cb()]+". Datasource: ")+(_.ab(m6c)[a.Re]+". Query: ")+(bO(a.V,a.request)+" ")+P1c(a.items)),ddd(a,a.items,a.request),a.dispatchEvent(new _.xi(_.Dc,a)))},ddd=function(a,b,c){if(_.LL(c))c="quick access";else if(_.ML(c))c="people predict";else if(_.NL(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Pi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.EO.prototype.refresh=function(){};_.EO.prototype.log=function(a){this.Fa.info(this.W,a)};var s2c=[90,59,75];_.t("sy1m3");
var edd=function(a){_.O(this,a,-1,null,null)};_.L(edd,_.K);
var fdd=function(a){_.O(this,a,-1,null,null)};_.L(fdd,_.K);fdd.prototype.getType=function(){return _.D(this,1)};var gdd=function(a){var b=new fdd;return _.A(b,1,a)},hdd=function(a,b){return _.x(a,2,b)};fdd.prototype.oy=function(){return _.D(this,3)};fdd.prototype.Py=function(a){return _.A(this,3,a)};fdd.prototype.Oi=function(){return _.D(this,4)};fdd.prototype.setPosition=function(a){return _.A(this,4,a)};
var FO=function(a){_.O(this,a,-1,null,null)};_.L(FO,_.K);FO.prototype.getType=function(){return _.D(this,1)};var idd=function(a){var b=new FO;return _.A(b,1,a)};FO.prototype.Zm=function(){return _.E(this,KN,2)};var jdd=function(a,b){return _.x(a,2,b)};FO.prototype.oy=function(){return _.D(this,3)};FO.prototype.Py=function(a){return _.A(this,3,a)};FO.prototype.Oi=function(){return _.D(this,4)};FO.prototype.setPosition=function(a){return _.A(this,4,a)};
var GO=function(a){_.O(this,a,-1,null,null)};_.L(GO,_.K);GO.prototype.getType=function(){return _.D(this,1)};var kdd=function(a){var b=new GO;return _.A(b,1,a)};GO.prototype.Zm=function(){return _.E(this,_.eF,2)};var ldd=function(a,b){return _.x(a,2,b)};GO.prototype.oy=function(){return _.D(this,3)};GO.prototype.Py=function(a){return _.A(this,3,a)};GO.prototype.Oi=function(){return _.D(this,4)};GO.prototype.setPosition=function(a){return _.A(this,4,a)};
var mdd=function(a){_.O(this,a,-1,null,null)};_.L(mdd,_.K);mdd.prototype.Cb=function(){return _.D(this,1)};mdd.prototype.Dc=function(a){return _.A(this,1,a)};mdd.prototype.Ar=function(){return _.E(this,_.JN,2)};
var odd=function(a){_.O(this,a,-1,ndd,null)};_.L(odd,_.K);odd.prototype.Cb=function(){return _.D(this,1)};odd.prototype.Dc=function(a){return _.A(this,1,a)};odd.prototype.Yj=function(){return _.D(this,3)};var ndd=[2];
var pdd=function(a){_.O(this,a,-1,null,null)};_.L(pdd,_.K);pdd.prototype.od=function(){return _.E(this,zN,1)};pdd.prototype.Un=function(){return _.D(this,2)};
var qdd=function(a){_.O(this,a,-1,null,null)};_.L(qdd,_.K);_.g=qdd.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Ar=function(){return _.E(this,_.JN,2)};_.g.Yj=function(){return _.D(this,3)};_.g.zh=function(){return _.D(this,4)};
var HO=function(a){_.O(this,a,-1,null,null)};_.L(HO,_.K);HO.prototype.Cb=function(){return _.D(this,1)};HO.prototype.Dc=function(a){return _.A(this,1,a)};HO.prototype.Yj=function(){return _.D(this,3)};
var rdd=function(a){_.O(this,a,-1,null,null)};_.L(rdd,_.K);_.g=rdd.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Yj=function(){return _.D(this,2)};_.g.UMa=function(){return _.E(this,_.dp,3)};_.g.getKey=function(){return _.E(this,_.Rb,4)};_.g.ys=function(){return _.Q(this,4)};
var tdd=function(a){_.O(this,a,-1,null,sdd)};_.L(tdd,_.K);tdd.prototype.getKey=function(){return _.D(this,1)};tdd.prototype.ys=function(){return _.Q(this,1)};var vdd=function(a){_.O(this,a,-1,udd,null)};_.L(vdd,_.K);var sdd=[[2,4,6,10],[3,5,7,8,9]],udd=[1];
var wdd=function(a){_.O(this,a,-1,null,null)};_.L(wdd,_.K);
var IO=function(a){_.O(this,a,-1,xdd,null)};_.L(IO,_.K);IO.prototype.Cb=function(){return _.D(this,1)};IO.prototype.Dc=function(a){return _.A(this,1,a)};IO.prototype.O=function(){return _.pk(this,FN,2)};var ydd=function(a,b){return _.Cb(a,2,b)};IO.prototype.Yj=function(){return _.D(this,3)};var xdd=[2];
var zdd=function(a){_.O(this,a,-1,null,null)};_.L(zdd,_.K);zdd.prototype.Cb=function(){return _.D(this,1)};zdd.prototype.Dc=function(a){return _.A(this,1,a)};zdd.prototype.O=function(){return _.E(this,FN,2)};zdd.prototype.Yj=function(){return _.D(this,3)};
var Add=function(a){_.O(this,a,-1,null,null)};_.L(Add,_.K);Add.prototype.ly=function(){return _.D(this,2)};
var Cdd=function(a){_.O(this,a,-1,Bdd,null)};_.L(Cdd,_.K);Cdd.prototype.Cb=function(){return _.D(this,1)};Cdd.prototype.Dc=function(a){return _.A(this,1,a)};Cdd.prototype.ik=function(){return _.pk(this,_.GRc,2)};Cdd.prototype.qr=function(a,b){return _.tk(this,2,a,_.GRc,b)};var Bdd=[2];
var Edd=function(a){_.O(this,a,-1,Ddd,null)};_.L(Edd,_.K);Edd.prototype.Cb=function(){return _.D(this,1)};Edd.prototype.Dc=function(a){return _.A(this,1,a)};Edd.prototype.ol=function(){return _.pk(this,FO,2)};var Ddd=[2];
_.Gdd=function(a){_.O(this,a,-1,Fdd,null)};_.L(_.Gdd,_.K);var Fdd=[1];
var JO=function(a){_.O(this,a,-1,Hdd,null)},Kdd,Ldd;_.L(JO,_.K);JO.prototype.Un=function(){return _.D(this,1)};var Idd=function(a,b){return _.A(a,1,b)},Jdd=function(a,b){return _.A(a,2,b)};JO.prototype.Cb=function(){return _.D(this,3)};JO.prototype.Dc=function(a){return _.A(this,3,a)};Kdd=function(a,b){return _.A(a,4,b)};Ldd=function(a,b){return _.Cb(a,5,b)};_.Mdd=function(a){_.O(this,a,-1,null,null)};_.L(_.Mdd,_.K);_.Mdd.prototype.lc=function(){return _.D(this,2)};
_.Odd=function(a){_.O(this,a,-1,Ndd,null)};_.L(_.Odd,_.K);var Pdd=function(a,b){return _.A(a,1,b)},Qdd=function(a,b){return _.A(a,2,b)},Rdd=function(a,b){return _.Cb(a,3,b)},Hdd=[5],Ndd=[3];
_.KO=function(a){_.O(this,a,-1,Sdd,null)};_.L(_.KO,_.K);_.KO.prototype.TV=function(){return _.pk(this,_.YE,2)};_.KO.prototype.ve=function(){return _.E(this,_.sf,3)};var Sdd=[1,2];
_.LO=function(a){_.O(this,a,-1,null,null)};_.L(_.LO,_.K);_.LO.prototype.Cb=function(){return _.D(this,1)};_.LO.prototype.Dc=function(a){return _.A(this,1,a)};_.LO.prototype.Fh=function(){return _.E(this,_.vA,2)};_.Tdd=function(a,b){return _.x(a,2,b)};_.LO.prototype.Yj=function(){return _.D(this,3)};
var Udd=function(a){_.O(this,a,-1,null,null)};_.L(Udd,_.K);Udd.prototype.Cb=function(){return _.D(this,1)};Udd.prototype.Dc=function(a){return _.A(this,1,a)};
var Wdd=function(a){_.O(this,a,-1,Vdd,null)};_.L(Wdd,_.K);Wdd.prototype.Cb=function(){return _.D(this,1)};Wdd.prototype.Dc=function(a){return _.A(this,1,a)};Wdd.prototype.ol=function(){return _.pk(this,GO,2)};var Vdd=[2];
var Xdd=function(a){_.O(this,a,-1,null,null)};_.L(Xdd,_.K);Xdd.prototype.getType=function(){return _.D(this,1)};var Ydd=function(a){var b=new Xdd;return _.A(b,1,a)};Xdd.prototype.oy=function(){return _.D(this,3)};Xdd.prototype.Py=function(a){return _.A(this,3,a)};Xdd.prototype.Oi=function(){return _.D(this,4)};Xdd.prototype.setPosition=function(a){return _.A(this,4,a)};
var $dd=function(a){_.O(this,a,-1,Zdd,null)};_.L($dd,_.K);$dd.prototype.Cb=function(){return _.D(this,1)};$dd.prototype.Dc=function(a){return _.A(this,1,a)};$dd.prototype.Yj=function(){return _.D(this,3)};var Zdd=[2];
_.aed=function(a){_.O(this,a,-1,null,null)};_.L(_.aed,_.K);_.aed.prototype.getId=function(){return _.D(this,1)};_.aed.prototype.Pb=function(a){return _.A(this,1,a)};_.aed.prototype.ve=function(){return _.E(this,_.sf,4)};
var ced=function(a){_.O(this,a,-1,bed,null)};_.L(ced,_.K);ced.prototype.Cb=function(){return _.D(this,1)};ced.prototype.Dc=function(a){return _.A(this,1,a)};ced.prototype.Yj=function(){return _.D(this,3)};var bed=[2,4];
_.MO=function(a){_.O(this,a,-1,null,null)};_.L(_.MO,_.K);_.MO.prototype.getType=function(){return _.D(this,1)};var ded=function(a){var b=new _.MO;return _.A(b,1,a)},eed=function(a,b){return _.x(a,2,b)};_.MO.prototype.oy=function(){return _.D(this,3)};_.MO.prototype.Py=function(a){return _.A(this,3,a)};_.MO.prototype.Oi=function(){return _.D(this,4)};_.MO.prototype.setPosition=function(a){return _.A(this,4,a)};
_.e2c=function(a){_.O(this,a,-1,null,null)};_.L(_.e2c,_.K);_.g=_.e2c.prototype;_.g.getItem=function(){return _.E(this,_.hl,1)};_.g.setItem=function(a){return _.x(this,1,a)};_.g.getError=function(){return _.E(this,_.pc,2)};_.g.Ue=function(a){return _.x(this,2,a)};_.g.Gn=function(){return _.Q(this,2)};_.g.jt=function(){return _.D(this,4)};
var ged=function(a){_.O(this,a,-1,fed,null)};_.L(ged,_.K);var fed=[2,4];
var ied=function(a){_.O(this,a,-1,hed,null)};_.L(ied,_.K);var hed=[1];
var ked=function(a){_.O(this,a,-1,jed,null)};_.L(ked,_.K);ked.prototype.Cb=function(){return _.D(this,1)};ked.prototype.Dc=function(a){return _.A(this,1,a)};ked.prototype.Yj=function(){return _.D(this,3)};var jed=[2];
var med=function(a){_.O(this,a,-1,led,null)};_.L(med,_.K);med.prototype.Cb=function(){return _.D(this,1)};med.prototype.Dc=function(a){return _.A(this,1,a)};med.prototype.Yj=function(){return _.D(this,3)};var led=[2];
var ned=function(a){_.O(this,a,-1,null,null)};_.L(ned,_.K);
var ped=function(a){_.O(this,a,-1,oed,null)};_.L(ped,_.K);ped.prototype.O=function(){return _.D(this,2)};var qed=function(a,b){_.A(a,2,b)},oed=[1];
var red=function(a){_.xi.call(this,"Ob");this.dataType=a};_.L(red,_.xi);
var sed=function(a,b){_.xi.call(this,"Pb");this.GPa=a;this.Iua=b};_.L(sed,_.xi);
var ted=function(){};_.g=ted.prototype;_.g.FM=function(a,b){return s6c(r6c(1),a).setPosition(b)};_.g.DM=function(a,b){return s6c(r6c(2).setPosition(b),a)};_.g.NE=function(a,b,c){return s6c(r6c(3).Py(b).setPosition(c),a)};_.g.BQ=function(a,b){return s6c(r6c(4),a).setPosition(b)};_.g.iN=function(a){return _.E(a,CN,2)};
var ued=function(){_.xK.call(this,new ted,function(a){return a&&a.getName()})};_.L(ued,_.xK);
var NO=function(a,b,c){c=void 0===c?50:c;_.Ki.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=N1c(new _.eN,[1]);this.ha=this.H=!1;this.Oc=new _.Le(this);this.Ma(this.Oc);_.ze(this,function(){d.active=!1;d.Oc.removeAll()})};_.L(NO,_.Ki);_.g=NO.prototype;_.g.Pi=function(){return String(_.Da(this))};_.g.Ze=function(){return this.W.Ze()||this.connectionState.Ze()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Oc.listen(this.W,"Ab",_.vb(this.St)),this.Oc.listen(this.connectionState,[].concat(_.nd(Object.values(_.xA))),_.vb(this.St)),this.W.Ze()?this.Oc.ud(this.W,"Ab",function(b){b.Ze()||(a.$G(),a.dispatchEvent(new _.xi(_.Zp)))}):this.connectionState.Ze()?this.Oc.ud(this.connectionState,[_.xA.FL,_.xA.DU],function(){a.$G();a.dispatchEvent(new _.xi(_.Zp))}):(this.$G(),this.dispatchEvent(new _.xi(_.Zp))))};_.g.$G=function(){};
_.g.Lr=function(a){var b=this;if(this.Sj()){var c=this.limit;this.limit+=a||50;this.lc()>c&&this.St();this.W.Ze()?this.Oc.ud(this.W,"Ab",function(d){d.Ze()||b.rP()}):this.rP()}};_.g.KL=function(){this.Ze()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.Wq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.rc(a))};_.g.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};_.g.Sj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Oc.removeAll();this.activate()};_.g.rP=function(){};
var ved=function(a,b,c,d,e){NO.call(this,a,b,e.Ni()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new ued;this.ma=d};_.L(ved,NO);_.g=ved.prototype;_.g.$G=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){return w6c(new IN,this.data).Dc(this.status)};_.g.ks=function(){var a=this.V.Gz(this.O,this.data);this.O=this.data;var b=(new u6c).Dc(this.status);return _.Cb(b,2,a)};
_.g.rP=function(){this.ma(this.Pi(),this.limit)};_.g.St=function(){if(this.active){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,wed(this)}};_.g.lc=function(){return this.data.length};_.g.zd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||xN(0,this.data,b.O()))this.H=!0,this.status=b.Cb(),this.data=b.O(),this.ha=a.H,wed(this)};
var wed=function(a){a.log("Livelist "+a.Pi()+" returning "+a.data.length+" for "+(a.request.Jc()+". Status: ")+(_.ab(j5c)[a.Cb()]+"."));a.dispatchEvent(new _.xi(_.Dc,a))};ved.prototype.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};ved.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var xed=function(a,b,c,d,e,f,h){_.EO.call(this,a,b,c,e,f,d);this.Ed=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(xed,_.EO);xed.prototype.getData=function(){this.H=this.items;var a=S3c((new _.mA).Dc(this.Cb()).Rw(this.items),this.Sj());a=_.x(a,7,this.oa).OP(this.suggestionSessionId).lj(this.Re);return _.ek(a,18,this.ma)};
xed.prototype.update=function(a){if(bdd(this,a)&&(cdd(this,a),this.oa=a.v6(),this.suggestionSessionId=a.Vf(),this.ma=a.$ka(),add(this),this.suggestionSessionId&&v9c(this.V)&&(a=this.Ed.H(106027)))){var b=_.E(_.GM(a),E4c,20);if(!b){b=new E4c;var c=_.GM(a);_.x(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Xj()}};
var yed=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.xk(d,f)||(d=ldd(kdd(4),f),c[e]=d):(d=ldd(kdd(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=ldd(kdd(1),d),c[e]=d)});return c},zed=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(yed(a,b))};
var Aed=function(a,b){_.Ki.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(Aed,_.Ki);_.g=Aed.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.xi(_.Dc,this)))};_.g.Cb=function(){return this.status};_.g.Wq=function(){return new _.eN};_.g.getData=function(){this.H=this.data;var a=(new _.KM).Dc(this.status);_.Ma(this.data,function(b,c){a.dU().set(c,b||new _.eF)});return a};
_.g.ks=function(){var a=yed(this.H,this.data);this.H=this.data;var b=(new Udd).Dc(this.status);_.Ma(a,function(c,d){_.ck(b,2,GO).set(d,c)});return b};_.g.wT=function(){throw Error("Xf");};_.g.Pi=function(){return String(_.Da(this))};_.g.zd=function(){return this.request};_.g.update=function(a){var b={};a.dU().forEach(function(c,d){c||(c=bbd(d));b[d]=c});if(this.status!==a.Cb()||zed(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.xi(_.Dc,this))};
_.g.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Bed=function(a,b,c,d,e,f){_.Ki.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.oa=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=N1c(new _.eN,[1]);this.log("Creating find by ids live map: "+this.request.Xm().join(", "));_.ze(this,function(){h.O=!1;h.H=[]})};_.L(Bed,_.Ki);_.g=Bed.prototype;_.g.Pi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||Ced(this)};_.g.zd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.IM;_.SK(this.V)?a.Dc(a1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.ks=function(){var a=Q1c(this.H,this.items),b=new p6c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.Wq=function(){return this.W};_.g.wT=function(a){r9c(a);var b=this.request;this.request=a;this.oa(this.Pi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.zd().Xm(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Wa(a.map,c),a.map.root=d);Ded(b,a)}):Ded(this,a)};var Ded=function(a,b){if(a.status!==b.Cb()||R1c(a.items,b.map))a.status=b.Cb(),a.items=b.map,_.SK(a.V)&&(a.W=O1c(a.status,Object.values(a.items))),Ced(a)};Bed.prototype.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};Bed.prototype.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Ced=function(a){a.O&&(a.log("Livelist "+a.Pi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(j5c)[a.Cb()]+". Query: ")+(bO(a.ka,a.request)+" ")+P1c(Object.values(a.items))),a.dispatchEvent(new _.xi(_.Dc,a)))};Bed.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Eed=function(a,b,c,d,e,f){_.EO.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Eed,_.EO);Eed.prototype.getData=function(){this.H=this.items;var a=(new _.JM).Dc(this.Cb()).Rw(this.items);var b=this.Sj();a=_.A(a,4,b);return l5c(a,this.ma).OP(this.suggestionSessionId).lj(this.Re)};Eed.prototype.update=function(a){bdd(this,a)&&(cdd(this,a),this.ma=_.pk(a,_.Sk,6),this.suggestionSessionId=a.Vf(),add(this))};
var Fed=function(){};_.g=Fed.prototype;_.g.FM=function(a,b){return jdd(idd(1),a).setPosition(b)};_.g.DM=function(a,b){return jdd(idd(2).setPosition(b),a)};_.g.NE=function(a,b,c){return jdd(idd(3).Py(b).setPosition(c),a)};_.g.BQ=function(a,b){return jdd(idd(4),a).setPosition(b)};_.g.iN=function(a){return a.Zm()};
var Ged=function(){_.xK.call(this,new Fed,function(a){return a&&a.mq()})};_.L(Ged,_.xK);
var Hed=function(a,b,c){NO.call(this,a.Kj(),a.uk(),b.Ni()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Ged;this.suggestionSessionId=null;this.ka=c};_.L(Hed,NO);_.g=Hed.prototype;_.g.$G=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){this.O=this.data;return Q6c(P6c((new LN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ks=function(){var a=this.V.Gz(this.O,this.data);this.O=this.data;var b=(new Edd).Dc(this.status);return _.Cb(b,2,a)};_.g.rP=function(){};_.g.St=function(){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))};_.g.lc=function(){return this.data.length};_.g.zd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Cb()||xN(0,this.data,a.ol())){this.changed=this.H=!0;this.data=a.ol();if(a=a.Vf())this.suggestionSessionId=a;this.St()}};_.g.refresh=function(){this.ka()};_.g.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Ied=function(a,b,c){_.Ki.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=N1c(new _.eN,[1]);this.O=!0;this.limit=a.Ni();_.ze(this,function(){d.H=!1;d.V=[]})};_.L(Ied,_.Ki);_.g=Ied.prototype;_.g.Pi=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.na(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.xi(_.Dc,this))};_.g.zd=function(){return this.request};_.g.Cb=function(){return this.status};
_.g.Wq=function(){return this.W};_.g.Sj=function(){return this.O};_.g.getData=function(){this.V=this.items;return S3c((new _.mA).Dc(this.status).Rw(this.items),this.O)};_.g.ks=function(){var a=_.LRc().Gz(this.V,this.items),b=(new _.YRc).Dc(this.status);a=_.Cb(b,2,a);this.V=this.items;return a};_.g.Lr=function(a){this.H&&(this.limit+=a||20,this.ka.MF(this.Pi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||xN(_.LRc(),this.items,a.Hd()))this.items=a.Hd(),this.status=a.Cb(),_.SK(this.ha)&&(this.W=O1c(this.status,this.items)),this.O=a.ll(),this.H&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};_.g.zu=function(){throw Error("Yf");};_.g.refresh=function(){};
var Jed=function(a,b,c){_.Ki.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=N1c(new _.eN,[1]);this.context.$f().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.Xm().join(", "));_.ze(this,function(){d.V=!1;d.O=[]})};_.L(Jed,_.Ki);_.g=Jed.prototype;_.g.Pi=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.zd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.IM;a.Dc(this.status);a.map=this.H;return a};_.g.ks=function(){var a=Q1c(this.O,this.H),b=new p6c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.Wq=function(){return this.W};
_.g.wT=function(a){var b=this.request;this.request=a;this.ha.pZ(this.Pi(),b,a)};_.g.update=function(a){if(this.status!==a.Cb()||R1c(this.H,a.map))this.status=a.Cb(),this.H=a.map,_.SK(this.context.Pc)&&(this.W=O1c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.wW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Ked=function(){};_.g=Ked.prototype;_.g.FM=function(a,b){return ldd(kdd(1),a).setPosition(b)};_.g.DM=function(a,b){return ldd(kdd(2).setPosition(b),a)};_.g.NE=function(a,b,c){return ldd(kdd(3).Py(b).setPosition(c),a)};_.g.BQ=function(a,b){return ldd(kdd(4),a).setPosition(b)};_.g.iN=function(a){return a.Zm()};
var Led=function(){_.xK.call(this,new Ked,function(a){return a&&a.getId()})};_.L(Led,_.xK);
var Med=function(a,b,c){NO.call(this,a.Kj(),a.uk(),b.Ni()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Led};_.L(Med,NO);_.g=Med.prototype;_.g.$G=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){this.O=this.data;return m$c((new iO).Dc(this.status),this.data.slice(0))};_.g.ks=function(){var a=this.V.Gz(this.O,this.data);this.O=this.data;var b=(new Wdd).Dc(this.status);return _.Cb(b,2,a)};
_.g.rP=function(){this.ka.MF(this.Pi(),this.limit)};_.g.St=function(){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))};_.g.lc=function(){return this.data.length};_.g.zd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||xN(0,this.data,b.ol()))this.H=!0,this.status=b.Cb(),this.data=b.ol(),this.ha=a.H,this.dispatchEvent(new _.xi(_.Dc,this))};
_.g.rB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var Ned=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.yf;this.O=this.context.jga;this.oa=this.context.x6};_.g=Ned.prototype;_.g.Fxa=function(a){var b=this,c=new xed(this.context.rn,this.context.pQ,this.context.$f(),this.context.Pc,function(d,e){b.MF(d,e)},a,this.context.Vk());this.$h(c);_.ze(c,function(){b.ek(c)});return c};
_.g.Ixa=function(a){var b=this,c=new Eed(this.context.rn,this.context.pQ,this.context.$f(),function(d,e){b.MF(d,e)},a,this.context.Pc);this.$h(c);_.ze(c,function(){b.ek(c)});return c};_.g.Cxa=function(a){var b=this,c=new Bed(this.context.Pc,this.context.rn,this.context.$f(),this.context.j_,this.pZ.bind(this),a);this.$h(c);_.ze(c,function(){b.ek(c)});return c};_.g.Lxa=function(a){var b=this,c=new Ied(a,this,this.context.Pc);this.$h(c);_.ze(c,function(){b.ek(c)});return c};
_.g.Mxa=function(a){var b=this,c=new Jed(this.context,this,a);this.$h(c);_.ze(c,function(){b.ek(c)});return c};_.g.Pxa=function(a){var b=this,c=new Med(this.context,a,this);this.$h(c);_.ze(c,function(){b.ek(c)});return c};_.g.Jxa=function(a){var b=this,c=new Hed(this.context,a,function(){if(a instanceof _.cF){var d=Oed(b.context);Kad(d,d.getKey(a)).refresh()}});this.$h(c);_.ze(c,function(){b.ek(c)});return c};
_.g.Qxa=function(a){var b=this,c=new Aed(this.context,a);this.$h(c);_.ze(c,function(){b.ek(c)});return c};_.g.zxa=function(a){var b=this,c=new ved(this.context.Kj(),this.context.uk(),this.context.$f(),function(d,e){b.MF(d,e)},a);this.$h(c);_.ze(c,function(){b.ek(c)});return c};
_.g.$h=function(a){var b=a.Pi();this.H[b]=a;this.ha.create(b,a.zd());a=a.zd()instanceof _.jz?this.O.$h(b,a.zd()):a.zd()instanceof _.fF?Iad(this.O,b,a.zd()):a.zd()instanceof _.cF?Oed(this.context).$h(b,a.zd()):a.zd()instanceof _.mF?this.oa.$h(b,a.zd()):this.W.$h(b,a.zd());"boolean"===typeof a&&W9c(this.ha,b,a)};
_.g.ek=function(a){a.zd()instanceof _.jz?this.O.ek(a.Pi(),a.zd()):a.zd()instanceof _.fF?Jad(this.O,a.Pi(),a.zd()):a.zd()instanceof _.cF?Oed(this.context).ek(a.Pi(),a.zd()):a.zd()instanceof _.mF?this.oa.ek(a.Pi(),a.zd()):this.W.ek(a.Pi(),a.zd());eO(this.ha,a.Pi(),4);delete this.H[a.Pi()]};_.g.pZ=function(a,b,c){this.W.ek(a,b);this.W.$h(a,c)};
_.g.MF=function(a,b){var c=Ped(this,a).zd();c.Bi(b);c instanceof _.jz?this.O.$h(a,c):c instanceof _.fF?Iad(this.O,a,c):c instanceof _.mF?this.oa.$h(a,c):this.W.$h(a,c)};_.g.FO=function(a,b){var c=this.H[a]&&this.H[a].zd();c&&(c instanceof _.gf?M0c(c.O(),b.Hd().filter(function(d){return!ZN(d)})):c instanceof _.zz&&M0c(c.O(),Object.values(b.map).filter(function(d){return d&&!ZN(d)})));this.ka[a]=b;this.V||(this.V=_.Mi(this.v9,50,this))};
_.g.VX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Mi(this.v9,50,this))};_.g.hA=function(a){(a=this.H[a])&&a.wW()};_.g.v9=function(){_.Ni(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&&(Z9c(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])eO(this.ha,a,3),d.rB(c)};
_.g.pla=function(a){return Ped(this,a).zd()};var Ped=function(a,b){if(!a.H[b])throw Error("Zf`"+b);return a.H[b]};
var OO=function(a,b){_.Ki.call(this);this.O=a;this.request=b;this.ne=_.ii();this.complete=!1;this.H=""};_.L(OO,_.Ki);OO.prototype.start=function(){var a=this;this.O.then(function(b){return b.We(a.request)}).then(this.W.bind(this)).Rg(this.handleError.bind(this));return this.ne.promise};OO.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new sed(0,this.H));Qed(this)};
var Qed=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.We(new _.jVc(a.H))}).then(function(b){if(1===b.status||3===b.status||2===b.status)a.dispatchEvent(new sed(b.O,a.H)),Qed(a);else{a.complete=!0;if(4===b.status){var c=new ged;c=_.ek(c,2,b.V);c=_.A(c,3,a.H);c=_.A(c,5,b.ka);c=_.A(c,6,b.ha);c=_.A(c,7,b.fA);c=_.A(c,8,b.H);b=_.Cb(c,4,b.W);a.ne.resolve(b)}else b=_.ZK(_.Tp(_.Sp(new _.pc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}}).Rg(function(b){a.handleError(b)})},
5E3)};OO.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.We(new _.iVc(a.H))}).then(this.V.bind(this)).Rg(this.handleError.bind(this))};OO.prototype.V=function(){if(!this.complete){var a=new ged;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.ne.resolve(a);this.complete=!0;this.dispose()}};OO.prototype.handleError=function(a){this.complete=!0;this.ne.reject(_.mL(a));this.dispose()};
var Red=function(){_.xi.call(this,"VbxEwf")};_.L(Red,_.xi);
var Sed=function(a,b){this.context=a;this.H=null;this.wc=b||null};_.g=Sed.prototype;_.g.La=function(){return _.E(this.context.Pc,_.jL,58)};_.g.getContext=function(){return this.context};_.g.Fz=function(){return this.context.NA.Fz(this.H)};_.g.$f=function(){return this.context.$f()};_.g.WM=function(a){return _.oi(this.context.yf.tm.H(a))};_.g.lR=function(){return _.oi(this.context.NA.lR())};
_.g.u5=function(a,b,c){var d=new _.li;if(_.E(a,_.TK,3)||_.E(a,_.dM,4)||_.E(a,_.SM,5)||_.E(a,_.aM,6)||_.E(a,_.CL,7)||_.E(a,_.uL,8)||_.E(a,_.zL,9)||_.E(a,_.dL,10)){var e=T9c(a);this.context.Lm().then(function(f){return f.We(e,{F7a:b,G7a:c})}).then(this.Cab.bind(this,d),d.Pd,d);return d}throw Error("$f");};
_.g.Cab=function(a,b){var c=[],d="";if(b instanceof _.TM){c=b.od().Hd();var e=_.D(b,2);d=b.Un()}else if(b instanceof _.fM)b.getItem()&&c.push(b.getItem()),e=b.gN();else throw Error("ag");a.callback({items:c,cja:e,pageToken:d})};_.g.Nqa=function(){var a=this.context.Pc,b=a.Zf();a="email:"+_.NK(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.Cia=function(){this.context.Us.rS();var a=this.context.Pc;zcd(_.sM(_.NK(a)),_.tM(a),this.context.$f()).Rg(function(){})};
_.g.I9=function(){return _.kUc[_.Zj(this.context.Pc.Zf(),8,0)]};_.g.Vda=function(){this.context.YF.H=new pbd(_.ah().substring(0,8))};_.g.dT=function(){var a=this.context.YF.AN(),b=null;a&&(b=rbd(this.context.YF),b={traceId:a,spanRecs:b});a=this.context.YF;a.H=null;a.NY=[];return _.oi(b)};_.g.AN=function(){return _.oi(this.context.YF.AN())};
_.g.getState=function(a){var b=this.context.Ij,c=b.H.bind(b);b={};b.b=this.context.Pc.Mi();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.yf.tm.Md();c=this.context.yf.cw;var d=c.H;d&&(b.cs_sutd=d.v8,b.cs_ss=d.Md());b.cs_ch=O$c(c).length;b.cs_td=c.mW().length;(c=this.context.y6)&&(b.t_cps=c.Vtb().join(","));b.t_id=Ted(this.context);var e=
[];Ued(this.context.kR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.az?this.context.uk().isConnected():this.context.HI.yB();b.n_o=this.context.az?this.context.uk().Ze():this.context.Kj().Ze();b.n_csm=!!this.context.az;a&&(b.csw_cc=_.Ra(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.oi(JSON.stringify(b))};_.g.bqa=function(){this.wc&&(this.wc.dispatchEvent(new Red),this.wc.Hu())};
_.g.Il=function(a){var b=this.context.az;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.OYc(b))};
var Xed=function(a,b){this.context=a;this.Lg=b;this.H=_.WUc(_.AM(this.Lg),Ved);this.O=_.WUc(_.AM(this.Lg),Wed)};
Xed.prototype.ql=function(a){var b=this,c=this.context.gQ.Fh().Fh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.$Uc(h);var k=h.getId(),l=b.context.Wn();_.sWc(h,3);_.gL(h,5);var p=g1c(h,!0);h.getCapabilities()||_.oM(h,new _.cl);_.R(p,2)&&((p=h.rk())&&p.length?_.A(h,46,p[0]):(_.nM(h,[l]),_.A(h,46,l)),l=h.Fq(),_.A(h,12,l),l=new _.Sk,l.Pb(d),_.A(l,6,1),_.GVc(l,!0),_.mWc(h,l),_.lWc(h,[l]),_.dTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.yf;var f=c9c(c.tm,a);_.Ma(f,function(h,
k){iN(h.getItem(),e[k],b.H);(b.context.Kj().Ze()||b.context.uk().Ze()||3===lN(h.getItem()))&&iN(h.getItem(),e[k],b.O);_.Wa(e,k)});_.Ma(e,function(h){_.fl(h.jk())&&(f[h.getId()]=new XN(h))});Yed(c,Object.values(f))};
var Zed=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ql(c)},$ed=function(a){a=a.context.yf;var b=new _.gf;b.Il(!0);b=e9c(a.tm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===lN(f)){var h=new _.WK;_.XK(h,f.getId());_.hL(h);d.push(h)}else h=new _.Bna,_.gN(h,!1),_.A(h,2,!1),_.x(f,81,h),c.push(b[e])}Yed(a,c);a.Vo(d)},Ved=[50],Wed=[12,11,10,67,68];
var afd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Xed(a,a.Lg)};_.g=afd.prototype;_.g.tY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Eab.bind(this);var b=this.Dab.bind(this);this.log("Querying all offline items.");this.H.KV().Qf(a,b);this.V||(this.H.$_((0,_.v)(this.Ixb,this)),this.V=!0)}}else $ed(this.O)};_.g.Eab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ql(a);lO(this.context.Ij,"GZTDpc")};_.g.Dab=function(){this.log("Error fetching offline items.")};
_.g.Ixb=function(a){this.log("Handling offline change(s): "+a.length);Zed(this.O,a)};_.g.log=function(a){this.context.$f().info("drive.ds.sync.offline.LocalDataService",a)};
var PO=function(a){_.Ki.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Oc=new _.Le(this);this.ma=null;this.Ta=this.va=!1;var b=new afd(a);this.context.ha=b;this.Fa=new Sed(a,this);M1c(this.Fa);(b=_.E(a.Pc,_.jL,58))&&_.S(b,1,!1);this.Ma(this.Oc);this.O=this.context.Ij;this.W=a.hga;this.V=new Ned(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.wSa()};_.L(PO,_.Ki);_.g=PO.prototype;_.g.wSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.ii();var b=this.context.Vk().H(106E3);this.ma.promise.then(function(){b&&b.Xj()},function(){_.QM(a.context.Vk(),181008852)});var c=_.uM(this.context.Pc)?"(coldstart) ":"";this.context.$f().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Pc.Mi());this.Oc.listen(this.context,_.Cc,this.lvb);this.Oc.listen(this.context.HI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Oc.listen(this.context.uk(),[].concat(_.nd(Object.values(_.xA))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();lO(this.O,"NSockf")}return this.ma.promise};_.g.hXa=function(){this.context.$f().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.lvb=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.cZ=function(){throw QO("teamDriveQuery");};_.g.Dqa=function(){throw QO("teamDriveFindByIds");};
_.g.Eqa=function(){throw QO("teamDriveMovePreflight");};_.g.nGa=function(){throw QO("peoplePredictQuery");};_.g.query=function(a){t9c(this.context.rn,a,O4c(this.context.Lg));this.qF();var b=a.clone();b=this.V.Fxa(b);this.Ta||(a=a.ve(),a&&121===_.D(a,1)||(this.Ta=!0,this.Oc.listen(b,_.Dc,this.VMa)));return b};_.g.VMa=function(a){a=a.currentTarget;if(1===a.Cb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Oc.Wc(a,_.Dc,this.VMa)}};_.g.wr=function(a){this.qF();r9c(a);return this.V.Cxa(a.clone())};
_.g.Jva=function(){throw QO("activityQuery");};_.g.xwa=function(){throw QO("backupsQuery");};_.g.YGa=function(){throw QO("refreshBackups");};_.g.LV=function(){throw QO("getAndroidBackupItems");};_.g.N8=function(){throw QO("deleteBackup");};_.g.qGa=function(){throw QO("permissionQuery");};_.g.yaa=function(){throw QO("insertPermission");};_.g.O8=function(){throw QO("deletePermission");};_.g.xd=function(){throw QO("mutate");};_.g.hO=function(){throw QO("mutateWorkspace");};
_.g.pz=function(){throw QO("bulkMutate");};_.g.Bxa=function(){throw QO("createFileUploader");};_.g.KSa=function(a){return new OO(this.context.Lm(),a)};_.g.Lq=function(a){if(3===a.getType())return _.qi(this.context.Lm().then(function(b){return b.We(a)}).then(null,_.nL));throw QO("getApps with type "+a.getType());};_.g.Ar=function(){throw QO("getApp");};_.g.Aaa=function(){throw QO("installApp");};_.g.M8=function(){throw QO("deleteApp");};_.g.sT=function(){throw QO("updateApp");};
_.g.FN=function(){throw QO("getUserAccount");};_.g.YG=function(){throw QO("getUserPrefs");};_.g.gS=function(){throw QO("mutateUserPref");};_.g.hu=function(){throw QO("getRevisions");};_.g.kCa=function(){return!1};_.g.Il=function(a){this.context.az?a?_.PYc(this.context.az,!0):this.context.uk().Ze()&&this.context.az.vM(!0).then(null,function(){}):this.context.Kj().Il(a)};_.g.Oy=function(){throw QO("setOfflineOptIn");};_.g.tY=function(){throw QO("setLocalItemService");};_.g.qF=function(){};
_.g.iS=function(){this.context.iS();this.context.Vk().O(106006)};_.g.a$=function(){return this.Fa};_.g.qY=function(){};_.g.yB=function(){return this.context.HI.yB()};_.g.tQ=function(){return _.S(this.context.Pc.Zf(),52,!1)?_.fi(M9c(new L9c,0)):this.context.HI.tQ()};_.g.isConnected=function(){return 1===this.context.uk().get()};_.g.h8=function(){var a=this.context.az;return a?a.vM():_.fi(_.yYc(0))};_.g.sync=function(){throw QO("sync");};_.g.Hu=function(){return this.context.Hu()};
_.g.Sba=function(){throw QO("offlineDataLoaded");};_.g.Eoa=function(a){return this.context.Lm().then(function(b){return b.We(a)}).then(function(b){return b})};_.g.Xwa=function(){throw QO("categoryMetadataQuery");};_.g.g8=function(){throw QO("changeCategoryLinks");};_.g.tP=function(){throw QO("updateCategoryMetadata");};_.g.JGa=function(){throw QO("publishedCategoriesQuery");};_.g.Qoa=function(){throw QO("publishedCategoryQuery");};_.g.yLa=function(){throw QO("workspaceFindByIdsRequest");};
_.g.Ara=function(){throw QO("workspaceQueryRequest");};_.g.RJa=function(){throw QO("suggestedWorkspaceItemQueryRequest");};_.g.SJa=function(){throw QO("suggestedWorkspaceQueryRequest");};_.g.X_=function(){throw QO("addCacheHint");};_.g.D0=function(){throw QO("createUserFeedback");};_.g.Vo=function(){throw QO("handleChanges");};var QO=function(a){return new _.qc(a+" is unsupported",_.lL(3))};
var p2c=function(a){PO.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Fu("")};_.L(p2c,PO);p2c.prototype.$a=function(){kO(this.O,["NSockf"],this.hXa.bind(this))};
var bfd=new Set([1,2,4,5,6]),cfd=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.Re=0};cfd.prototype.Fh=function(){var a=new _.LO;a.Dc(this.status);this.H&&_.Tdd(a,this.H?this.H.clone():null);return a};
var dfd=function(a,b,c,d){d=void 0===d?!1:d;var e=bfd.has(c);if(1===a.status&&!e)return!1;a.Re=c;var f=a.status;c=!a.H;if(_.SK(a.O)){var h=(h=b&&b.getUser())&&_.lF(h);h=!(!h||!sad(a.ka,h));a.status=h&&e||d?1:6}f=!_.xk(a.H,b)||(_.SK(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.SK(a.O)||(a.status=e||d?1:6);c&&(lO(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};cfd.prototype.Ye=function(){return this.Re};
var efd=function(a){_.Ki.call(this);this.ha=a;this.Re=0};_.L(efd,_.Ki);var ffd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};H6c(a,_.Nd(a,4).map(b));I6c(a,_.Nd(a,5).map(b));return a};_.g=efd.prototype;_.g.Lq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.qQ=function(){};_.g.uD=function(){return 0!==this.Re};_.g.Ye=function(){return this.Re};
var gfd=new Set([1,2,4,5,6]),hfd=function(a,b,c){efd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Bp=!1};_.L(hfd,efd);hfd.prototype.Lq=function(){var a=new gO;if(!_.Va(this.H)){_.ek(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Cb(a,2,b)}a.Dc(this.status);return a};hfd.prototype.put=function(a){this.H[a.getId()]=ffd(a);this.V.update(1);this.dispatchEvent(new _.xi("Qb",this))};hfd.prototype.remove=function(a){_.Wa(this.H,a)&&this.V.update(1)};
hfd.prototype.qQ=function(a,b,c){c=void 0===c?!1:c;var d=!gfd.has(b);1===this.status&&d||(this.Re=b,ifd(this,a,!d||c),d||this.V.update(1),this.Bp||(this.Bp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),lO(this.ha,"nVUlO")))};
var ifd=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Nd(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Ea(f);d=f.length!==a.O.length}a.O=e;var h=_.$a(a.H);_.sUc(a.H);b=_.pk(b,_.JN,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=ffd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.xk(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.xi("Qb",a))};
var RO=function(a){_.N.call(this);this.context=a;this.zy=new Set;this.Lp=6;this.$Ca=!0;this.Re=0;this.Oc=new _.Le(this);this.Ma(this.Oc)};_.L(RO,_.N);_.g=RO.prototype;_.g.$h=function(a){this.JRa(a);this.zy.add(a);this.resize(!0);this.FO(a)};_.g.JRa=function(){};_.g.ek=function(a){this.zy.delete(a);0!=this.zy.size||this.sZa()?this.resize(!1):this.dispose()};_.g.Ye=function(){return this.Re};_.g.lj=function(a){this.Re=a};_.g.WB=function(a){this.$Ca=!1;this.Lp=a};_.g.MJ=function(){return this.Lp};
_.g.refresh=function(){};_.g.xk=function(){};
var kfd=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)}}jfd(a.context.yf,d,b);d.forEach(function(k){obd(a.context.ZMa,k,b);if(k.Bc()){var l=k.getCapabilities();ZN(k)?l&&(_.SVc(l,_.R(l,13)),_.PVc(l,!1),_.WVc(l,!1)):kN(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.$Vc(l,!1),_.aWc(l,!1))}k.getCapabilities()||_.oM(k,
new _.cl)})};RO.prototype.resize=function(){};RO.prototype.zd=function(){};RO.prototype.ql=function(a,b){var c=this,d=!1;a.forEach(function(e){e=jO(e);d=c.Ku(e,!0)||d});b||(1!=this.MJ()&&(d=!0),this.WB(1));d&&this.WX()};var lfd=function(a,b){var c=!1;b.forEach(function(d){c=a.Ku(d)||c});c&&a.WX();return c};_.g=RO.prototype;_.g.update=function(a){return lfd(this,[a])};_.g.Ku=function(){};_.g.WX=function(){var a=this;this.IRa();this.zy.forEach(function(b){a.FO(b)})};_.g.IRa=function(){};
_.g.FO=function(a){var b=mfd(this.context).pla(a);this.FYa(b)||(b=this.xk(b),mfd(this.context).FO(a,b))};_.g.VX=function(a){var b=this;this.WB(3);this.zy.forEach(function(c){mfd(b.context).VX(c,a)})};_.g.hA=function(){var a=this;this.zy.forEach(function(b){mfd(a.context).hA(b)});this.lj(0==this.Ye()?1:6)};_.g.sZa=function(){return!1};_.g.FYa=function(){return!1};
var nfd=function(a){_.xi.call(this,"Db");this.id=a};_.L(nfd,_.xi);
var ofd=function(a,b,c,d){d=void 0===d?!1:d;_.Ki.call(this);this.request=a;this.context=b;this.qLa=d;this.ne=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(ofd,_.Ki);
ofd.prototype.$g=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.ii();for(var b={},c=_.m(this.request.Xm().entries()),d=c.next();!d.done;b={bsa:b.bsa,hfa:b.hfa,Qra:b.Qra},d=c.next()){d=_.m(d.value);var e=d.next().value;b.Qra=d.next().value;b.bsa=$4c(Z4c(e),this.request);b.hfa=void 0;this.qLa&&(b.hfa={qLa:!0});this.context.Lm().then(function(f){return function(h){return h.We(f.bsa,f.hfa)}}(b)).then(function(f){return void pfd(a,f)},function(f){return function(h){var k=f.Qra;h=_.wA(h);
5===h.Sg.jt()||4===h.Sg.hk()?(a.context.$f().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),qfd(a)):a.handleError(h)}}(b))}return this.ne.promise};var pfd=function(a,b){b.od().Hd().forEach(function(c){_.gL(c,1);a.W.push(c)});qfd(a)},qfd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
ofd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;rfd(this);sfd(this);this.O.size===this.request.Xm().length?(this.context.yf.ql([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.ne.resolve(this.items)):this.dispatchEvent("Cb")};
var rfd=function(a){var b=a.W;a.W=[];b=a.context.iga.r9(b);if(_.MK(_.NK(a.context.Pc))){var c=a.context.yf.tm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.nM(d,e.rk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.yf.ql(b,1,a.originalRequest,!0)},sfd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.hL(_.XK(new _.WK,c));a.context.yf.Vo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new nfd(c))})};
ofd.prototype.handleError=function(a){var b=new fO(a.Sg,_.ak(this.context.Pc.Zf(),1,1));this.context.yf.rB(this.request,b);this.dispatchEvent(b);this.ne.reject(a)};
var tfd=function(a,b,c,d){RO.call(this,a);this.Lg=b;this.request=c;this.Od={};this.H=null;this.O=_.cL(a.Pc)||new _.aL;d&&this.ql(d,!0)};_.L(tfd,RO);
tfd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Lp=6;if(_.S(this.request,5,!1))return this.WB(1),_.fi();var b=!this.$Ca&&_.S(this.O,3,!1)?!1:!P0c(_.AM(this.Lg),this.request.O()),c=[],d=this.context.Wn();this.request.Xm().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==lN(l)||b)l=l&&l.jk(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.ql([],!1),_.fi();this.H=_.ii();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.Bz(e,c);var f=new ofd(e,this.context,this.request);this.context.Kj().Ze()?(this.Oc.listen(this.context.Kj(),"Ab",function(h){h.Ze()||(a.Oc.Wc(a.context.Kj(),"Ab"),ufd(a,f,a.H))}),this.Lp=0<Object.values(this.Od).length?1:2):(this.context.uk().Ze()&&(this.Lp=0<Object.values(this.Od).length?1:2),ufd(this,f,this.H));return this.H.promise};var ufd=function(a,b,c){a.Oc.listen(b,"Db",function(d){a.Od[d.id]=null});a.hA();b.$g().then(function(){c.resolve()},c.reject)};
_.g=tfd.prototype;_.g.yia=function(a){var b=this;if(this.context.rn.equals(a,this.request,!0)){if(P0c(_.AM(this.Lg),a.O()))return!0;if(P0c(this.request.O(),a.O(),_.AM(this.Lg))){if(this.$Ca)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.Xm().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.xk=function(a){var b=new _.IM;_.SK(this.context.Pc)?b.Dc(b1c(Object.values(this.Od))?6:this.Lp):b.Dc(this.Lp);b.lj(this.Ye());n6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));kfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.zd=function(){return this.request};_.g.Ku=function(a){var b=this.Es(a.O),c=this.Es(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Es=function(a){return!!a&&_.ma(this.request.Xm(),a.getId())};
var vfd=function(a,b){_.xi.call(this,a);this.changes=b};_.L(vfd,_.xi);
var wfd=function(a){var b=new xad;if(a.Vf()){var c=a.Vf();b.H=!1;b.suggestionSessionId=c}a instanceof _.JM&&_.pk(a,_.Sk,6).length?(a=_.pk(a,_.Sk,6),b.H=!1,b.V=a):a instanceof _.mA&&(a.v6()||a.Usa()||a.$ka().length)&&(c=a.v6(),b.H=!1,b.W=c,c=a.Usa()||!1,b.H=!1,b.incompleteSearch=c,a=a.$ka(),b.H=!1,b.O=a);return b};
var SO=function(a,b,c,d,e){e=void 0===e?"":e;_.Ki.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.$f();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.GGa(b);this.ha=new xad};_.L(SO,_.Ki);var xfd=function(a){return!a.va||""!==a.nextPageToken},zfd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&xfd(a)?yfd(a):_.oi()};SO.prototype.lc=function(){return this.V.length};SO.prototype.H=function(){return this.V.slice()};
var yfd=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 _.li;d.addCallback(function(f){return void Afd(a,c,f)});var e=_.NUc(_.OUc(new _.TK,a.Fa),c);b=_.LUc(new _.HTc,b);a.Ha&&_.A(b,10,!0);_.MUc(e,b);a.va=!0;a.O=!0;a.context.Lm().then(function(f){return f.We(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
SO.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.JM)var c=b;else c=b.od(),this.nextPageToken=b.Un()||"";this.ha=wfd(c);this.ha.vc()||this.dispatchEvent("Eb");a.callback(c.Hd())};
SO.prototype.handleError=function(a,b,c){c=_.wA(c);this.O=!1;if(5===c.Sg.jt())a.callback([]);else{if(10===c.Sg.jt()&&(_.LUc(b,Math.ceil(_.ak(b,1,1E3)/2-2E-15)),1<_.ak(b,1,1E3))){var d=_.MUc(_.NUc(_.OUc(new _.TK,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Lm().then(function(e){return e.We(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new fO(c.Sg,_.ak(this.context.Pc.Zf(),1,1));this.WMa(b);this.dispatchEvent(b);a.Pd(c)}};
var Afd=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=_.Up(_.Sp(_.ZK(_.YK(new _.pc,2),9),f));a.context.dispatchEvent(new _.rc(new _.qc(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())_.gL(b.value,
a.ma?2:1);c=[];b=_.m(a.e2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.XK(new _.WK,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new vfd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return yfd(a);a.dispatchEvent("Fb")};_.g=SO.prototype;_.g.e2a=function(a){return a};_.g.WMa=function(){};_.g.zd=function(){return this.request};_.g.GGa=function(a){a=a.clone();this.ma&&_.A(a,46,!0);return a};_.g.log=function(a){this.Ka.info("drive.ds.sync.query.QueryRunner",a)};
var Bfd=function(a,b,c,d){SO.call(this,a,b,void 0,c,d)};_.L(Bfd,SO);Bfd.prototype.e2a=function(a){a=this.context.iga.r9(a);this.context.yf.ql(a,1,this.request,xfd(this));return a};Bfd.prototype.WMa=function(a){this.context.yf.rB(this.request,a)};Bfd.prototype.GGa=function(a){var b=a=SO.prototype.GGa.call(this,a),c=_.Ll(b);0===_.Nd(b,33).length&&1===c.length&&(c=this.context.yf.tm.H(c[0].Xa()))&&(c=c.Bc())&&(_.Nl(b,[c]),_.Ol(b,2));Cfd(this,a);return a};
var Cfd=function(a,b){if(_.Ll(b).some(function(d){return(d=a.context.yf.tm.H(d.Xa()))&&_.R(d,108)})){var c=b.ve();c||(c=new _.sf,_.Ml(b,c));_.uf(c,937)}};
var Dfd=function(a,b,c,d){this.context=a;this.Lg=b;this.W=d;this.Goa=0;this.H=c},Hfd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Ol(_.Jl(_.Nl(new _.gf,[b]),_.AM(a.Lg)),1),d=_.uf(new _.sf,306);_.Ml(c,d);Efd(a);c=new Bfd(a.context,c);zfd(c,5E3).addCallback(a.V.bind(a,c));Ffd(a);Gfd(a,b)}},Ffd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof tfd});var c=new Set;b.forEach(function(d){d.zd().Xm().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.uf(new _.sf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.zS([].concat(_.nd(c)),b)},Gfd=function(a,b){var c=[];(a.context.yf.OGa.zQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.xk(e.zd(),d)&&c.push(e)})});_.Ea(c);0<c.length&&(Efd(a),c.forEach(function(d){d=bO(a.context.rn,d.zd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.ki(_.hi(c.map(function(d){return d.refresh().Rg(_.Nf)})),a.O.bind(a)))};
Dfd.prototype.zS=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.de(f)});if(0===a.length)return _.fi({});a=_.A(_.Az(_.Bz(new _.zz,a),d||_.AM(this.Lg)),7,!0);_.Cz(a,b);e&&e.length&&_.Cb(a,11,e);Efd(this);b=new ofd(a,this.context,void 0,c);return _.ki(b.$g(),this.V.bind(this,b))};Dfd.prototype.V=function(a){a.dispose();this.O()};var Efd=function(a){a.Goa++;a.context.Us.setActive(!1)};Dfd.prototype.O=function(){this.Goa--;0===this.Goa&&this.context.Us.setActive(!0)};
Dfd.prototype.log=function(a){this.context.$f().info("drive.ds.sync.cache.CacheRefresher",a)};
var Ifd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ne=null;a=new _.sf;_.vf(a,!1);_.uf(a,305);_.Ml(this.request,a);this.Oc=new _.Le(this);this.Ma(this.Oc)};_.L(Ifd,_.N);
Ifd.prototype.$g=function(){if(!this.ne){this.ne=_.ii();if(_.S(this.request,48,!1))return this.H.lj(9),this.ne.resolve(this.H),this.ne.promise;this.O=new SO(this.context,this.request,!0);this.Oc.listen(this.O,"Cb",this.W);this.Oc.listen(this.O,"Fb",this.V.bind(this));this.Oc.listen(this.O,"Gb",this.ne.reject.bind(this.ne));zfd(this.O,this.request.Ni())}return this.ne.promise};Ifd.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(jO(new XN(b)))};
Ifd.prototype.V=function(){this.H instanceof nO?this.H.H=!xfd(this.O):xfd(this.O)&&mO(this.H);this.H.lj(5);this.ne.resolve(this.H)};
var Kfd=function(a,b){_.xi.call(this,Jfd);this.cache=a;this.changes=b};_.L(Kfd,_.xi);var Jfd="Rb";
var Lfd=function(a,b){return new _.ei(function(c,d){b.then(function(e){var f={};a.ey().forEach(function(h){var k=h.getId();h1c(h.getItem());f[k]=new XN(h.getItem())});e.items.forEach(function(h){var k=h.Jc();k=f[k];h.vk()?k&&a.update(new v$c(k.getId(),k,null)):(h=h.getItem(),h1c(h),a.update(w$c(k,new XN(h))))});a.rX();c(e.kLb)},d)})};
var Mfd=function(a,b){_.N.call(this);this.context=a;this.Lg=b};_.L(Mfd,_.N);
Mfd.prototype.$g=function(a){this.log("Running initial view populator (IVDP).");try{var b=new NN(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.mL(q));return}a=_.NK(this.context.Pc);if(!_.MK(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.F(a,6,"")&&dfd(this.context.gQ,c,4)}(a=b.Wn())&&this.context.Fu(a,6)}var e=_.D(b,3)||void 0;e&&Nfd(this.context,e,!0);if((a=_.pk(b,_.dp,9))&&a.length){c=(c=this.context.Pc.Zf())&&_.Nd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.ep(q))&&f.add(q)});this.context.pE.qQ(a,4,[].concat(_.nd(f.values())))}a=b.Hd();a.forEach(function(q){_.$Uc(q);_.gL(q,6)});if(c=_.pk(b,MN,5)[0])if(b=this.context.rn,W0c(_.AM(this.Lg),c.getQuery().O(),_.tM(this.context.Pc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.wRc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=aO(b,c.getQuery());var h=_.D(c,2)||void 0;d.Bi(h);h=a.map(function(q){return new XN(q,void 0,1,e)});var k=_.E(c,_.hl,
3);if(k&&_.D(c,2)){var l=h[h.length-1];_.gL(k,6);if(!_.xk(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.cL(this.context.Pc))&&_.S(k,2,!1)&&c.Un()||"";var p=new nO(this.context.vu,this.context.Cw,this.context.rn,d,l,c);p.lj(4);h.forEach(function(q){p.update(jO(q))});Ofd(this.context.yf,p);l=p.zd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+bO(b,l));b=new _.TK;_.OUc(b,l);l=_.YYc(this.context.NA,
b,"IVDP");_.ZYc(l,a);lO(this.context.Ij,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+q9c(b,c.getQuery().O()));else this.handleError("No initial query found")};Mfd.prototype.handleError=function(a,b){var c=b?void 0:_.Up(_.ZK(_.YK(new _.pc,2),6));b=new _.qc(a,c,b);this.context.AJ(b.Sg);this.log("Initial view dump population failed. Message: "+a);lO(this.context.Ij,"DEJoH")};Mfd.prototype.log=function(a){this.context.$f().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var Pfd=function(a){_.Ki.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new pO(a.vu,a.Cw,a.Ij,function(){return a.Wn()})};_.L(Pfd,_.Ki);var Qfd=function(a,b){var c=_.ak(a.context.Pc,31,2E4);("number"===typeof _.D(b,3)?_.D(b,3):c+1)>c?(mO(a.O),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.NA.Jb("CachedCorpusType",b)};
Pfd.prototype.log=function(a,b){this.context.$f().log(this.W,a,b||"info")};var Rfd=function(a,b){0===a.V&&(a.V=b)};
var Sfd=function(a,b){var c;if(c=!!b&&!!b.jh())a=a.Am(),c=null==a||!!b.jh().Am()==a;return c};
var Tfd=function(a,b){_.Ki.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(Tfd,_.Ki);Tfd.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?_.oi():Ufd(this)};Tfd.prototype.lc=function(){return this.V.length};
var Ufd=function(a){a.O=!0;a.H=!0;var b=q4c(r4c(new _.dM,a.request),a.nextPageToken),c=_.YYc(a.context.NA,b);return _.qi(a.context.Lm().then(function(d){return d.We(b)}).then(function(d){var e=d.od().Hd();a.nextPageToken=d.Un()||"";Vfd(a,c,e)},function(d){return void a.handleError(d)}))},Vfd=function(a,b,c){_.ZYc(b,c);for(b=0;b<c.length;b++)_.gL(c[b],1);a.context.yf.ql(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.XK(new _.WK,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new vfd("Cb",d));a.nextPageToken?Ufd(a):(a.H=!1,a.dispatchEvent("Fb"))};Tfd.prototype.handleError=function(a){this.H=!1;a=new fO(_.$K(a),_.ak(this.context.Pc.Zf(),1,1));this.dispatchEvent(a)};Tfd.prototype.zd=function(){return this.request};
var Wfd=function(a){this.H=_.xRc(a,{numeric:!0})};Wfd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Wfd.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Fa(a.getId(),b.getId()):c};
var Xfd=function(a,b,c,d){d=void 0===d?!1:d;RO.call(this,a);this.Lg=b;this.Od=[];this.ne=null;this.request=c.clone();this.yv=new Tfd(a,this.request);this.VPb=new Wfd(vN(_.NK(a.Pc)));this.UW=null!=_.R(this.request,6);_.ze(this,this.rnb,this);d&&(this.ne=_.ii(),this.ne.resolve())};_.L(Xfd,RO);_.g=Xfd.prototype;_.g.refresh=function(){3===this.Lp&&(this.Lp=6,this.ne=null);return this.Uca()};_.g.isInitialized=function(){return!!this.ne};
_.g.Uca=function(){var a=this;if(this.isInitialized())return this.ne.promise;this.ne=_.ii();this.context.Kj().Ze()?this.Oc.listen(this.context.Kj(),"Ab",function(b){b.Ze()||(a.Oc.Wc(a.context.Kj(),"Ab"),a.hA(),a.yv.$g().Qf(a.ne.resolve,a.ne.reject,a.ne))}):this.context.uk().Ze()?this.Oc.ud(this.context.uk(),[_.xA.FL,_.xA.DU],function(){a.hA();a.yv.$g().Qf(a.ne.resolve,a.ne.reject,a.ne)}):(this.hA(),this.yv.$g().Qf(this.ne.resolve,this.ne.reject,this.ne));return this.ne.promise};_.g.resize=function(){};
_.g.zd=function(){return this.request};_.g.ey=function(){return this.Od};_.g.yia=function(a){return this.context.rn.equals(a,this.request)};_.g.xk=function(a){a=a.Ni();this.VPb.sort(this.Od);var b=J1c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));kfd(this,P4c(this.Lg),b);var c=new _.mA;c.Rw(b);c.Dc(this.lxa(a));c.lj(this.Ye());S3c(c,a<this.Od.length||!(this.context.Kj().Ze()||this.context.uk().Ze())&&1!==this.Lp);return c};
_.g.lxa=function(a){return 1===this.Lp||a<=this.Od.length?1:this.context.Kj().Ze()||this.context.uk().Ze()?0<this.Od.length?1:2:6};_.g.ql=function(a,b){this.isInitialized()&&RO.prototype.ql.call(this,a,b)};_.g.Ku=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Od,function(h){return h.getId()===c}),e=!!d;b=this.Es(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.$Ka(f,a.H):this.wJ(f):this.FR(a.H);else return!1;return!0};_.g.FR=function(a){this.Od.push(a);a.count++};
_.g.wJ=function(a){_.ua(this.Od,a);a.count--};_.g.mza=function(a){return _.la(this.Od,a)};_.g.$Ka=function(a,b){this.Od[this.mza(a)]=b;b.count++;a.count--};_.g.Es=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.UW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Od.find(function(d){return c===d.getId()},this);a=ZN(a.getItem())&&Sfd(this.request,a.getItem());return b&&a}return ZN(a.getItem())&&Sfd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.sZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Md=function(){return this.Od.length};_.g.rX=function(){this.Lp=1};
var Yfd=function(a){this.H=a},Zfd=function(a,b,c,d,e){if(0===e||null===b){var f=new Add;_.A(f,2,b);_.A(f,1,d);return _.fi(f)}var h=K9c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.We(h)}).then(function(k){var l,p=null!==(l=k.ly())&&void 0!==l?l:null;k=d+_.D(k,1);return Zfd(a,p,c,k,e-1)})};
var $fd=function(a,b){Pfd.call(this,a);this.Lg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.LD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Pc};_.L($fd,Pfd);$fd.prototype.handleError=function(){this.log("Local dump population failed.");lO(this.context.Ij,"mrK8ic")};
$fd.prototype.$g=function(){var a=this;if(this.ka)return this.ka;if(this.context.IQ){var b=new _.li;this.ka=b;this.initialize().then(function(){var c=_.pk(_.wN(a.H),uN,11);c=c[0]&&c[0].getKey()||"";return agd(a,a.context.IQ,c,4)}).Rg(function(c){if(_.S(a.H,8,!0))return bgd(a);throw c;}).then(function(){_.SK(a.H)||a.context.yf.nr.H.clear();lO(a.context.Ij,"zaOY7");b.callback()},function(c){Rfd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ri(Error("bg"))};
$fd.prototype.initialize=function(){var a=this;return this.context.IQ.initialize().then(function(){if(!_.uM(a.H)){var b=_.ak(_.wN(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.ei(function(c,d){Jcd(a.context.ED).then(function(e){e?c():d(Error("cg"))})})}})};
var agd=function(a,b,c,d){var e=a.ha;cgd(a,b,c,e);dgd(a,b,c,e);egd(a,b,c,e);return fgd(a,b,c,e).then(function(){return Promise.all([ggd(a,b,c,d,e),hgd(a,b,c,d,e),igd(a,b,c,d,e),jgd(a,b,c,d,e)])})},cgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};yO(b,c,0,void 0,d,a.LD).then(function(f){f[0]?dfd(a.context.gQ,f[0],a.Ye(),_.uM(a.H)):e()},function(){return e()})},dgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};yO(b,
c,1,void 0,d,a.LD).then(function(f){f[0]?a.context.k_.qQ(f[0],a.Ye(),_.uM(a.H)):e()},function(){return e()})},egd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};yO(b,c,5,void 0,d,a.LD).then(function(f){if(f[0]){f=f[0];var h=_.pk(f,_.dp,1);h.length&&a.context.pE.qQ(h,a.Ye(),_.Nd(f,2),_.uM(a.H))}else e()},function(){return e()})},ggd=function(a,b,c,d,e){var f=new _.zn;yO(b,c,3,1,e,a.LD).then(function(h){return kgd(a,h[0])}).then(function(h){if(h){b!==a.context.IQ||
W0c(_.Nd(h,12),_.AM(a.Lg),_.tM(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Us.rS());var k=_.D(h,3);if(!k||0>k)throw Error("fg");a.context.Fu(h.Wn(),d);k=_.D(h,3);"number"===typeof k&&Nfd(a.context,Number(k));_.uM(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.sEa());a.ql(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},hgd=function(a,b,c,d,e){var f=new _.zn;yO(b,c,3,2,e,a.LD).then(function(h){h[0]?
(a.ql(h[0],d),f.resolve()):f.reject(Error("dg"))},f.reject,f);return f.promise},igd=function(a,b,c,d,e){var f=new _.zn;yO(b,c,3,4,e,a.LD).then(function(h){h.forEach(function(k){a.ql(k,d)});f.resolve()},f.reject,f);return f.promise},jgd=function(a,b,c,d,e){var f=new _.zn;yO(b,c,3,3,e,a.LD).then(function(h){h.length?h.forEach(function(k){a.ql(k,d)}):lO(a.context.Ij,"rVezo");f.resolve()},f.reject,f);return f.promise},fgd=function(a,b,c,d){var e=new _.zn;yO(b,c,6,void 0,d,a.LD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.pk(h,hO,1).length&&(a.log("Importing "+_.pk(h,hO,1).length+" people into the PeopleCache."),h=_.pk(h,hO,1),Z$c(a.context.yf.nr.H,h,2));e.resolve()},e.reject,e);return e.promise},kgd=function(a,b){var c=_.D(b,3);if(c&&!_.uM(a.H)){var d=new Yfd(a.context.Lm()),e=_.ak(_.wN(a.context.Pc),13,5);return Zfd(d,c,null,0,e).then(function(f){return _.Q(f,2)?(a.log("Encrypted dump too stale."),a.context.Vk().O(106007),Rfd(a,9),null):b},function(){return b})}return _.fi(b)},
bgd=function(a){var b=zO(a.context.ML.Gi()),c=_.pk(_.wN(a.H),uN,11).filter(function(d){return d.ys()});return Bcd(_.sM(_.NK(a.H)),_.tM(a.H),_.ak(_.wN(a.H),10,0)||0,_.AM(a.Lg),a.ha||0,c.map(function(d){return _.D(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.D(k,1)}),f=new AO(_.fi(d),a.context.$f(),null,!0),h=new Abd(f,a.H,function(k){a.context.AJ(k)});h.initialize();a.ma=!0;return agd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Gcd])}).then(function(k){if(k[0])return k=
k[0].Xa(),a.context.ED.set(Gcd,k)}).then(function(){f.close()})}return _.gi(Error("eg"))})},ogd=function(a,b,c){switch(b.yo()){case 1:return lgd(a,b,c);case 2:b=_.E(b,V1c,11);if(!b)throw Error("gg");Qfd(a,b);a.O.RN?(a.O.lj(a.Ye()),a=[{cache:a.O,changes:wO(a.context.qz,null)}]):a=[];return a;case 3:return mgd(a,b);case 4:return ngd(a,b);default:return null}},lgd=function(a,b,c){var d=[];_.pk(b,MN,5).forEach(function(e){var f=void 0,h=_.E(e,_.hl,3);h&&(_.$Uc(h),_.R(a.H,67)&&K0c(h,Z0c),_.gL(h,c),f=new XN(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.pk(a.H,_.gf,44).some(function(l){if(!_.S(l,48,!1))return!1;l=aO(a.context.rn,l,!0);return _.xk(l,k)}))e=new nO(a.context.vu,a.context.Cw,a.context.rn,k,f),e.lj(a.Ye()),d.push({cache:e,changes:wO(a.context.qz,null)})});return d},ngd=function(a,b){return _.pk(b,MN,5).map(function(c){c=new Xfd(a.context,a.Lg,_.E(c,_.GK,5),!0);c.lj(a.Ye());return{cache:c,changes:wO(a.context.qz,null)}})},mgd=function(a,b){var c=_.Nd(_.pk(b,MN,5)[0].getQuery(),33)[0],d=_.D(b,3)||
void 0;b=wO(a.context.qz,c);TO(a.context).addCallback(function(f){f.Sva(c,d)});var e=new qO(a.context.vu,a.context.Cw,c);e.lj(a.Ye());return[{cache:e,changes:b}]};
$fd.prototype.ql=function(a,b){var c=this,d=ogd(this,a,b);d&&0!==d.length?(a.Hd().forEach(function(e){_.$Uc(e);_.R(c.H,67)&&K0c(e,Z0c);_.gL(e,b);if(!_.SK(c.H)&&!c.context.yf.nr.H.vc()){var f=c.context.yf.nr;pad(f,sO(f,[e]))}e=new XN(e);for(f=0;f<d.length;f++)d[f].cache.update(jO(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Kfd(f,e.changes));c.log("Imported "+f.Md()+" items into the "+f.getType());var h=null;f instanceof qO&&(h=f.Bc());c.context.waa.promise.then(function(){Xad(c.context.qz,
h)})}),1===a.yo()&&lO(this.context.Ij,"ZA9qG")):this.log("Ignoring corpus cache for "+a.yo()+".")};$fd.prototype.Ye=function(){return this.ma?7:3};
var pgd=function(a){_.N.call(this);this.context=a};_.L(pgd,_.N);pgd.prototype.$g=function(a){try{qgd(this,new tdd(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var qgd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:rgd(a,b);break;case 4:sgd(a,b);break;case 6:tgd(a,b);break;case 2:ugd(a,b);break;case 7:vgd(a,b);break;case 5:_.pk(_.E(b,vdd,7),tdd,1).forEach(function(c){qgd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},rgd=function(a,b){var c=_.E(b,_.gf,2);b=JSON.parse(_.D(b,3)||"{}");var d=new _.TK;_.OUc(d,c);b=a.context.kR().lta.ME(d,{headers:{},text:"",json:b}).od();
wgd(a,c,b)},tgd=function(a,b){wgd(a,_.E(b,_.gf,2),_.E(b,_.mA,9))},wgd=function(a,b,c){for(var d=c.Hd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.gL(f.value,7);c=wfd(c);a=a.context.yf;b=aO(a.context.rn,b);e=UO(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new VO(a.context,b),f.lj(2),a.O[e]=f);c.vc()||f.kta(c);a.ql(d,1,b)},ugd=function(a,b){b=_.E(b,_.Ty,5);var c=a.context.Pc.Zf();c=c&&_.Nd(c,30)||[];var d=new Set(c);_.pk(b,_.dp,3).forEach(function(e){(e=(e=e.getKey())&&
_.ep(e))&&d.add(e)});a.context.pE.qQ(_.pk(b,_.dp,3),2,[].concat(_.nd(d.values())))},sgd=function(a,b){a.context.jga.a3(_.E(b,iO,8).ol(),_.E(b,_.jz,6),2,!1)},vgd=function(a,b){var c=_.E(b,_.cF,10);b=JSON.parse(_.D(b,3)||"{}");b=a.context.kR().lta.ME(c,{headers:{},text:"",json:b});Oed(a.context).a3([b],c,2,!1)};pgd.prototype.handleError=function(a,b){var c=b?void 0:_.Up(_.ZK(_.YK(new _.pc,2),6));this.context.dispatchEvent(new _.rc(new _.qc(a,c,b)));this.log("Prefetched request population failed.")};
pgd.prototype.log=function(a){this.context.$f().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var WO=function(a){Pfd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.ak(a.Pc,31,2E4))};_.L(WO,Pfd);WO.prototype.$g=function(){if(!_.S(this.context.Pc,45,!1))return Rfd(this,5),this.handleError(),_.ri(Error("hg"));this.log("Drive SDK cache population initiated.");return this.context.OVa().addCallback(this.va,this).addCallback(this.oa,this).Ig(this.handleError,this)};
WO.prototype.va=function(){var a=this;lO(this.context.Ij,"L6uQWd");TO(this.context).addCallback(function(b){b.Dea()});if(_.S(this.context.Pc,46,!1))return U1c(this.context.Lm(),this.context.$f()).addCallback(function(b){if(!b)throw Rfd(a,4),Error("ig");Qfd(a,b)});this.log("Subscribed corpus cache population disabled.");mO(this.O);return _.oi()};
WO.prototype.oa=function(){this.context.sEa();var a=new _.li;if(this.O.RN){this.log("Starting subscribed corpus cache population.");var b=this.O.zd();b.Bi(this.ma);this.O.lj(5);xgd(this,this.O,b)}b=_.pk(this.context.Pc,_.gf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new nO(this.context.vu,this.context.Cw,this.context.rn,c.value),c.lj(5),xgd(this,c,c.zd()),c=bO(this.context.rn,c.zd()),this.log("Starting "+c+" cache hint corpus cache population.");_.hi(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var xgd=function(a,b,c){var d=wO(a.context.qz,null);b=new Ifd(a.context,b,c);a.H.push(b);b=_.ki(b.$g().then(function(e){!e.RN&&e instanceof pO&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.NA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Kfd(e,d))}),function(){a.context.waa.promise.then(function(){Xad(a.context.qz,null)})});a.ha.push(b)};
WO.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();Rfd(this,7);c=b;b instanceof fO?c=_.mL(b.error):_.RK(b)||(c=Error("jg`"+b));a.Pd(c)};WO.prototype.handleError=function(){this.log("Drive SDK cache population failed.");lO(this.context.Ij,"Gv4zef")};WO.prototype.Ye=function(){return 5};
var ygd=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Oc=new _.Le(this);this.impression=null;this.W=[];this.Ma(this.Oc);this.H=new $fd(this.context,this.context.Lg);this.Ma(this.H);this.O=new WO(this.context);this.Ma(this.O)};_.L(ygd,_.N);
ygd.prototype.$g=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Vk().H(106002);_.n._DRIVE_dsp&&zgd(this);_.n._DRIVE_dspc=function(c){zgd(a,c)};wO(this.context.qz,null);_.S(this.context.Pc,24,!1)&&!_.uM(this.context.Pc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?Agd(this):_.n._DRIVE_ivdc=function(){Agd(a)});var b=this.context.IQ;if(b)return this.Oc.listen(this.H,Jfd,this.ha),this.Oc.listen(this.O,Jfd,this.ha),(!_.S(this.context.Pc,10,!1)&&_.R(this.context.Pc,
69)?this.context.LX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.LD=a.impression);return a.H.$g().Qf(function(){return Bgd(a,a.H.Ye())},function(){Cgd(a,a.H.Ye(),a.H.V);return _.uM(a.context.Pc)?a.handleError(Error("kg")):a.O.$g().then(function(){return Bgd(a,a.O.Ye())},function(c){Cgd(a,a.O.Ye(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.RK(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var zgd=function(a,b){var c=new pgd(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()};ygd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(Dgd(this,b,a.changes))};
var Bgd=function(a,b){Xad(a.context.qz,null);lO(a.context.Ij,"L6uQWd");TO(a.context).addCallback(function(c){c.Dea()});return Promise.all(a.W).then(function(){Egd(a,b)})},Egd=function(a,b){if(!a.isDisposed()){_.uM(a.context.Pc)||Fgd(a.V,_.pk(a.context.Pc,_.gf,44));a.log("Corpus cache population complete.");var c=a.context.Ij;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Us.tEa():Jcd(a.context.ED).then(function(d){d&&a.context.Us.tEa()},function(){});lO(c,"rVezo");lO(c,"BNEDtc");a.impression&&(b=_.HM(_.WTc,
b),I4c(R4c(a.impression),b),H4c(R4c(a.impression),!0),J4c(R4c(a.impression),f9c(a.V.tm)),K4c(R4c(a.impression),a.context.yf.yo()),a.impression.Xj());a.dispose()}},Cgd=function(a,b,c){a.impression&&(b=_.HM(_.WTc,b),I4c(R4c(a.impression),b),a=R4c(a.impression),_.nk(a,3,c,void 0))};
ygd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Xad(this.context.qz,null);var c=this.context.Ij;lO(c,"L6uQWd");TO(this.context).addCallback(function(d){d.Dea()});lO(c,"mrK8ic");lO(c,"Gv4zef");lO(c,"rVezo");lO(c,"BNEDtc");this.context.NA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.IQ||_.S(this.O.context.Pc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.RK(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.qc(b,void 0,c),c=a.Sg,_.YK(c,_.uM(this.context.Pc)?3:
1),_.ZK(c,6),_.Sp(c,b),_.Up(c),this.context.dispatchEvent(new _.rc(a))):this.log("Corpus population skipped");this.impression&&(H4c(R4c(this.impression),!1),this.impression.Xj());this.dispose()};
var Dgd=function(a,b,c){return Lfd(b,c).then(function(d){d.some(function(e){return b instanceof qO&&e.vk()&&e.Jc()===b.Bc()})||Ofd(a.V,b,d)},function(){return a.handleError(Error("lg"))})},Agd=function(a){if(_.n._DRIVE_ivd){var b=new Mfd(a.context,a.context.Lg);a.Ma(b);b.$g(_.n._DRIVE_ivd)}else lO(a.context.Ij,"DEJoH")};ygd.prototype.log=function(a){this.context.$f().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Ggd=function(){oO.apply(this,arguments)};_.L(Ggd,oO);Ggd.prototype.Es=function(a){var b;if(b=oO.prototype.Es.call(this,a))a=a&&a.getItem()&&a.getItem().jk(),b=!(!a||!_.R(a,3));return b};Ggd.prototype.zd=function(){};Ggd.prototype.getType=function(){};Ggd.prototype.VN=function(){};
var Hgd=function(a,b){this.context=a;this.H=b;this.zQ={}},Jgd=function(a,b){if(!_.LL(b)){var c=_.Nd(b,33);if(1===c.length)Igd(a,c[0],b);else{c=_.Ll(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Xa();c=a.H.get(d);if(!c){c=a.context.yf.LL;var e=_.uf(new _.sf,310);c.zS([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.ke(h)&&(f=f.Bc(),Igd(a,f,b))}else Igd(a,null,b)});return}if(c.getItem().Bc()&&_.ke(c.getItem().getCapabilities())){c=c.getItem().Bc();Igd(a,c,b);return}}Igd(a,
null,b)}}},Igd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!ZN(d.getItem()))return}d=b||"subscribed";a.zQ[d]||(a.zQ[d]=[]);a.zQ[d].push(c);b&&(TO(a.context).addCallback(function(e){e.Sva(b)}),Kgd(a.context.cKa,b))},Lgd=function(a,b){if(!_.LL(b)){var c={},d;for(d in a.zQ){c.PT=d;for(var e=0;e<a.zQ[c.PT].length;e++)if(_.xk(b,a.zQ[c.PT][e])){_.sa(a.zQ[c.PT],e);"subscribed"!==c.PT&&TO(a.context).addCallback(function(f){return function(h){h.rHa(f.PT,!1)}}(c));return}c={PT:c.PT}}}};
var Mgd=function(){this.H=new Map;this.O=[];this.V=[]};
Mgd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();jN(e)&&(a?(e=a.getItem().zf())&&_.D(e,1)&&(1===_.Td(e)||3===_.Td(e))&&(e=_.D(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&&!_.xk(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var Ngd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},Ogd=function(a){a.O=[];a.V=[]};
var Pgd=function(a,b){xO.call(this,a.clone(),b.Lm(),b.Pc,b.$f());this.context=b};_.L(Pgd,xO);Pgd.prototype.W=function(a){var b=new Map;a.Xm().forEach(function(c){var d=a.clone();d=_.ek(d,2,[c]);b.set(c,d)});return b};Pgd.prototype.V=function(a){a=a.Hd()[0];this.context.yf.ql([a],1,void 0,!0,this.request.O())};Pgd.prototype.ha=function(a){this.context.yf.ql([],1,a,!1,this.request.O())};Pgd.prototype.ka=function(a){a=_.hL(_.XK(new _.WK,a));this.context.yf.Vo([a])};
var Qgd=function(a,b,c,d){RO.call(this,a);this.Lg=b;this.request=c;this.Od={};d&&this.ql(d,!0)};_.L(Qgd,RO);_.g=Qgd.prototype;
_.g.refresh=function(){var a=this;this.Lp=6;var b=YN(this.context.Pc)!==YN(this.context.Pc,this.request.O()),c=[];this.request.Xm().forEach(function(h){var k=a.Od[h];k&&k.getItem().jh()&&!b||c.push(h)});if(0===c.length)return this.ql([],!1),_.fi();var d=this.request.clone();_.ek(d,2,c);var e=new Pgd(d,this.context),f=_.ii();this.context.Kj().Ze()?(this.Oc.listen(this.context.Kj(),"Ab",function(h){h.Ze()||(a.Oc.Wc(a.context.Kj(),"Ab"),a.hA(),e.$g().then(f.resolve,f.reject,f))}),this.Lp=0<_.Ra(this.Od)?
1:2):(this.context.uk().Ze()&&(this.Lp=0<_.Ra(this.Od)?1:2),this.hA(),e.$g().then(f.resolve,f.reject,f));return f.promise};_.g.yia=function(a){return this.context.rn.equals(a,this.request)&&P0c(_.AM(this.Lg),a.O())};_.g.xk=function(a){var b=new _.IM;b.Dc(this.Lp);b.lj(this.Ye());n6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));kfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.zd=function(){return this.request};
_.g.Ku=function(a){var b=this.Es(a.O),c=this.Es(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};_.g.Es=function(a){return!!a&&this.request.Xm().includes(a.getId())};
var VO=function(a,b,c,d,e){RO.call(this,a);var f=this;this.V=0;this.Od=[];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.oa=Date.now();this.request=b.clone();this.yv=new Bfd(this.context,this.request,!1,e);b=this.request.Ac()&&h9c(this.request.Ac());var h=this.context.Cw;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.UW=!b||!$8c(this.request)||_.MK(_.NK(a.Pc));this.Fa=F$c(this.request);
c&&this.ql(c,!d);this.va=_.ak(a.Pc.Zf(),16,36E5);_.hM(this.request)&&this.Oc.listen(this.context.Oha,"Hb",this.Ha);_.ze(this,function(){_.aa(f.yv);f.clear()})};_.L(VO,RO);VO.prototype.refresh=function(){return Rgd(this,!1)};var Rgd=function(a,b){a.Lp=6;if(_.S(a.request,48,!1))return a.Lp=1,_.fi();if(_.hM(a.request)){var c=Sgd,d=a.context.Oha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return Tgd(a,b)};
VO.prototype.initialize=function(){return this.count>=this.request.Ni()||1===this.Lp?_.fi():this.refresh()};VO.prototype.clear=function(){Ugd(this)};var Ugd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},Sgd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return Rgd(a,!0)},b)};VO.prototype.Ha=function(){Date.now()-this.oa>this.va&&Sgd(this,0)};
var Tgd=function(a,b){a.yv&&(a.Oc.Wc(a.yv,"Eb",a.kta),a.Oc.Wc(a.yv,"Fb",a.XMa),a.yv.dispose());var c=a.request.ve();c&&_.vf(c,!1);a.yv=new Bfd(a.context,a.request,b);a.V=0;a.Oc.listen(a.yv,"Eb",function(){return a.kta(a.yv.ha)});a.Oc.listen(a.yv,"Fb",a.XMa);return a.Uca()};
VO.prototype.Uca=function(){var a=this,b=_.ii();this.context.Kj().Ze()?this.Oc.listen(this.context.Kj(),"Ab",function(c){c.Ze()||(a.Oc.Wc(a.context.Kj(),"Ab"),Vgd(a,b))}):this.context.uk().Ze()?this.Oc.ud(this.context.uk(),[_.xA.FL,_.xA.DU],function(){Vgd(a,b)}):Vgd(this,b);return b.promise};var Vgd=function(a,b){a.hA();var c=a.request.Ni()+a.V;_.Uja(zfd(a.yv,c).Qf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=VO.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.nd(this.zy)))),d=c.next();!d.done;d=c.next())d=d.value,d=mfd(this.context).pla(d),b=Math.max(b,d.Ni());_.hM(this.request)?(this.request.Bi(b),2!==this.Ye()&&!this.yv.O&&(b>this.count||a)?this.refresh():this.FJ()):this.request.Ni()!==b&&(this.request.Bi(b),b>this.count?this.Uca():this.FJ())};_.g.zd=function(){return this.request};_.g.yia=function(a){return this.context.rn.equals(a,this.request)};
_.g.xk=function(a){var b=a.Ni(),c,d=!1;if(_.ML(this.request)){var e=this.Od.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=_.ll(k.getItem()).filter(function(l){return h.includes(_.E(l,_.Sk,1).getId())});k=k.clone();T0c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.ll(l.getItem()).length})}d=b1c(e);c=new _.JM;_.A(c,4,!1);l5c(c,f)}else e=this.Od.slice(0,b),c=new _.mA,S3c(c,b<this.Od.length||!(this.context.Kj().Ze()||
this.context.uk().Ze())&&1!==this.Lp),_.x(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.ek(c,18,this.ha),d=b1c(e);e=J1c(e);kfd(this,a.O(),e);c.Rw(e);c.Dc(d?6:this.lxa(b));c.lj(this.Ye());c.OP(this.suggestionSessionId);return c};_.g.lxa=function(a){return 1===this.Lp||a<=this.count?1:this.context.Kj().Ze()||this.context.uk().Ze()?0<this.Od.length?1:2:6};_.g.kta=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.OAa();this.W=a.V;this.suggestionSessionId=a.Vf()};
_.g.XMa=function(){var a=this.request.Ni()-this.count;0<a&&xfd(this.yv)&&(this.V+=a,this.Uca())};_.g.ql=function(a,b){_.hM(this.request)&&Ugd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=jO(d.value),c=this.Ku(d,!0)||c;b||(1!==this.Lp&&(c=!0),this.Lp=1);if(a=this.H){a:{a=this.Od;d=this.H||_.Fa;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.Jn("ViewCache unsorted after import"),this.context.Cw.sort(this.request,this.Od));c&&(this.WX(),Wgd(this,b))};
var Wgd=function(a,b){_.Ll(a.request).length&&a.Od.length&&a.context.j_.then(function(c){var d=X4c(a.context.Vk(),106024,a.ma);if(d){var e=_.Ll(a.request)[0].Xa(),f=_.E(_.GM(d),D4c,18);if(!f){f=new D4c;var h=_.GM(d);_.x(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Dt(a.Od.length);e=a.context.yf.yo();_.A(c,4,e);a.ma=d;d.Xj()}})};_.g=VO.prototype;
_.g.Ku=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Es(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Jn("Updating different wrapper from the existing one"):this.Jn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.$Ka(f,a.H):(this.wJ(f),_.hM(this.request)&&Sgd(this,0));else{if(_.hM(this.request)&&!b)return!1;this.FR(a.H)}else return!1;return!0};_.g.FR=function(a){this.H?F0c(this.Od,a,this.H):this.Od.push(a);a.count++;Xgd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.wJ=function(a){if(this.H){var b=this.Od,c=_.Ha(b,a,this.H);0<=c&&_.sa(b,c)}else _.ua(this.Od,a);a.count--;Xgd(a)&&this.count--;this.O.delete(a.getId())};_.g.mza=function(a){return this.H?_.Ha(this.Od,a,this.H):_.la(this.Od,a)};_.g.$Ka=function(a,b){this.H&&0!==this.H(a,b)?(this.wJ(a),this.FR(b)):(this.Od[this.mza(a)]=b,b.count++,Xgd(b)&&this.count++,a.count--,Xgd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Es=function(a,b){if(!a)return!1;if(this.UW&&!_.hM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Od.find(function(e){return c===e.getId()},this);a=$N(this.context.vu,this.request,a.getItem());return b&&a}}if(!$N(this.context.vu,this.request,a.getItem()))return!1;var d=1.2*this.request.Ni();if(1===this.Lp||!this.H||J8c(a.H,2)||this.count<d||b||i1c(a.getItem()))return!0;b=0===this.Od.length?null:this.Od[this.Od.length-1];return!!b&&0>=this.H(a,b)};
_.g.FJ=function(){if(1!==this.Lp&&!this.context.Kj().Ze()&&!this.context.uk().Ze()){var a=1.2*this.request.Ni();if(!(a>=this.count||this.yv&&a>=this.yv.lc())){a=this.count-this.request.Ni();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];J8c(c.H,2)||i1c(c.getItem())||(c.count--,Xgd(c)&&this.count--,this.O.delete(c.getId()),_.sa(this.Od,b),a--)}Tgd(this,!1)}}};_.g.Jn=function(a){var b=new _.pc;_.YK(b,2);_.ZK(b,6);_.Up(b);this.context.dispatchEvent(new _.rc(new _.qc(a,b)))};
var Xgd=function(a){return!J8c(a.H,2)&&3!==lN(a.getItem())};VO.prototype.JRa=function(a){var b=this,c=_.Ll(this.request);c.length&&(c=c.some(function(d){return(d=b.context.yf.tm.H(d.Xa()))&&_.R(d,108)}),X9c(this.context.hga,a,c))};VO.prototype.IRa=function(){this.FJ()};VO.prototype.FYa=function(a){return 1!==this.Lp&&a.Ni()>this.count&&this.yv.O};
var XO=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Mgd;this.Oc=new _.Le(this);this.Ma(this.Oc);this.context=a;this.Lg=b;this.ma=_.cL(this.context.Pc)||new _.aL;this.cw=new M$c(a.rn);if(null===(c=_.cL(this.context.Pc))||void 0===c?0:_.S(c,15,!1))b=new B$c(a.vu,a.Cw),this.cw.add(b);this.H=new Z8c(a.j_,a.vu,a.Cw);_.R(a.Pc,60)&&(this.Ba=new Ggd(a.vu,a.Cw));this.V=new U8c(a.$f(),_.AM(this.Lg));Ygd(this,_.Nd(this.context.Pc,28));this.tm=new b9c(this.Lg,this.context.rn,this.H,this.V);
this.context.Vk().W.H=this.tm;this.LL=new Dfd(this.context,this.Lg,this.O,this.H);this.OGa=new Hgd(this.context,this.H);this.ka=new ygd(this.context,this);_.ze(this.ka,function(){d.ka=null});this.va=_.WUc(_.AM(this.Lg),Zgd);kO(this.context.Ij,["NSockf"],function(){return d.initialize()});kO(this.context.Ij,["NSockf","jroI5d"],function(){var e=d.context.Pc;if(_.E(e,_.hl,12))e=_.E(e,_.hl,12);else{var f=_.GVc(_.IVc(new _.Sk,_.sM(_.NK(e))),!0);f=_.A(f,6,1);var h=_.F(_.NK(e),6,"");h&&f.Pb(h);f=_.dTb(_.lWc(_.mWc(_.gF((new _.hl).Pb(d.context.Wn()).setTitle(_.F(e,
38,"My Drive")),"application/vnd.google-apps.folder").Mn(!1),f),[f]),1);f=_.A(f,29,!0);f=_.A(f,63,!0);e=_.JVc(new _.cl,_.S(e,6,!0));e=_.A(e,2,!1);e=_.oM(f,_.WVc(_.PVc(_.OVc(_.SVc(_.TVc(_.RVc(_.QVc(_.NVc(_.MVc(_.LVc(_.KVc(_.A(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ql([e],1);lO(d.context.Ij,"hVFf7")});this.ha=_.ii();kO(this.context.Ij,["BNEDtc"],function(){d.ha.resolve()});this.nr=new jad(this.context.Pc,this.context.$f(),a.Lm(),a.hga,this.context.Vk(),this.context.LX.promise);_.SK(this.context.Pc)&&
this.Oc.listen(this.nr,"Kb",this.oa);this.YMa=new _.KYc(this.context.Pc,this.tm)};_.L(XO,_.N);
XO.prototype.oa=function(a){a=a.getPeople();this.log("Handling PeopleCache updated with "+a.length+".");var b=new Set;a=_.m(a);for(var c=a.next();!c.done;c=a.next())this.nr.getItems(_.D(c.value,1)).forEach(function(f){return b.add(f)});a=[];c=_.m(b);for(var d=c.next();!d.done;d=c.next()){var e=d.value;(d=this.H.get(e))?(e=d.getItem().clone(),$gd(this,e),a.push(w$c(d,new XN(e,void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+e+".","warning")}ahd(this,a,[]);this.context.Us.update(6)};
XO.prototype.initialize=function(){this.ka.$g()};
XO.prototype.$h=function(a,b){if(b instanceof _.gf)b=aO(this.context.rn,b),bhd(this,b.O()),Jgd(this.OGa,b),b=chd(this,b),b.cache.$h(a);else if(b instanceof _.zz)b=dhd(this,b),bhd(this,b.O()),b=ehd(this,b),b.cache.$h(a);else if(b instanceof _.GK){var c=UO(this,b),d=this.O[c];d?(3==d.MJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,sv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new Xfd(this.context,this.Lg,b),d.refresh().Rg(_.Nf),this.O[c]=d,b={cache:d,sv:!0});b.cache.$h(a)}else if(b instanceof _.dF)c=b.O(),d=this.V,V8c(d,d.H,d.O,c),b=ehd(this,b),b.cache.$h(a);else throw Error("mg");return b.sv};
XO.prototype.ek=function(a,b){if(b instanceof _.gf)b=aO(this.context.rn,b),Lgd(this.OGa,b);else if(b instanceof _.zz)b=dhd(this,b);else if(!(b instanceof _.GK||b instanceof _.dF))throw Error("mg");b=UO(this,b);var c=this.O[b];c&&(c.ek(a),this.log("Unregistering live request: "+b),c.isDisposed()&&delete this.O[b])};
var UO=function(a,b){return bO(a.context.rn,b,2)},chd=function(a,b){var c=UO(a,b),d=a.O[c];if(d)return 3==d.MJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,sv:!1};d=[];for(var e=5,f,h,k=N$c(a.cw),l=0;l<k.length;l++){var p=k[l];e=p.GE(b);if(5!=e){f=1==e?void 0:b.Ni();d=p.Cla(b,f);f=p.Ye();h=p instanceof nO?p.ly():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Md()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Kj().Ze()||a.context.uk().Ze())d=d.concat(a.H.query(b,1)),_.Ea(d,void 0,function(q){return q.getId()}),e=(e=a.cw.H)&&e.v8&&5!=e.GE(b)?e.GE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new VO(a.context,b,d,1==e,h);f&&d.lj(f);d.ql(a.H.query(b,2),1!=e);d.initialize().Rg(function(q){q=_.$K(q);_.Up(q);a.context.dispatchEvent(new _.rc(new _.qc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
sv:!0}},ehd=function(a,b){var c=UO(a,b),d=!1,e=a.O[c];if(e&&e.yia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.Xm()),h;b instanceof _.zz?h=new tfd(a.context,a.Lg,b,f):h=new Qgd(a.context,a.Lg,b,f);f.length&&h.lj(8);h.refresh().Rg(_.Nf);b=h;d=!0;a.O[c]=b;e?(fhd(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,sv:d}};
XO.prototype.mW=function(){return Object.values(this.O).filter(function(a){return a.zd()instanceof _.GK})};
XO.prototype.w2a=function(a){for(var b=_.uf(new _.sf,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=q9c(this.context.rn,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.LL.zS([a],b,!1,c))};
var jfd=function(a,b,c){c&&c.length&&X8c(a.V,b,c);_.SK(a.context.Pc)&&(a=a.nr,pad(a,sO(a,b)))},Ofd=function(a,b,c){if(b instanceof Xfd){var d=UO(a,b.zd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof z$c&&a.cw.remove(b);var e={},f=new Map;d=a.H.ey();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.ey().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=lN(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new v$c(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=jO(q),a.H.update(r),a.W.update(r),_.SK(a.context.Pc)&&a.nr.uP(r);_.SK(a.context.Pc)&&$gd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(jO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Xfd?(d=UO(a,b.zd()),a.O[d]=b):a.cw.add(b);var p=[];_.Ma(e,function(q){var r=new _.WK;_.XK(r,q.getId());r.setItem(q);p.push(r)});a.Vo(p);a.log("Merged cache: "+b.getType());b instanceof
qO&&c.forEach(function(q){ghd(a.context.mta,q)});a.context.Us.update(3)},fhd=function(a,b){(new Set([].concat(_.nd(a.zy)))).forEach(function(c){b.$h(c);a.ek(c)})};
XO.prototype.ql=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.nd(c.O().filter(function(C){return!_.AM(f.Lg).includes(C)}))):[]);c&&c instanceof _.gf&&_.hM(c)&&hhd(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new XN(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=ihd(this,u,r);if(null!=z)r.WD(z),jhd(this,y,q),h1c(q),q=S8c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.SK(this.context.Pc)&&$gd(this,q);!u||khd(this,y,q,e)?(l.push(w$c(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.gf){if(null===(h=_.cL(this.context.Pc))||void 0===h?0:_.S(h,15,!1))a=_.Ll(c),1==a.length&&(a=a[0].Xa(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=Q$c(this.cw,c))&&a.ql(k,!!d)}c=UO(this,c);(a=this.O[c])&&a.ql(k,!!d)}0<l.length&&(_.SK(this.context.Pc)&&l.forEach(function(C){return f.nr.uP(C)}),ahd(this,l,e,a?[a]:[]),lhd(this,k));mfd(this.context).v9()};
var $gd=function(a,b){tad(a.nr,b)||5!=lN(b)||_.sWc(b,1)},khd=function(a,b,c,d){(b=b?_.fk(b.clone(),82):null)&&jfd(a,[b],d);c=_.fk(c.clone(),82);jfd(a,[c],[]);return!_.xk(b,c)},hhd=function(a,b,c){mhd(a,b,c);b.forEach(function(d,e){var f=a.tm.H(d.getId());f&&(iN(f,d,[1002]),iN(f,d,[1003]),iN(f,d,[1005]),b[e]=f);_.LL(c)&&0<_.Nd(c,33).length&&_.tWc(d,_.Nd(c,33)[0])})},mhd=function(a,b,c){var d;_.LL(c)?d="quick access":_.ML(c)?d="people predict":_.NL(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Yed=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Ma(c,function(d,e){e=Number(e);a.ql(J1c(d),e)})};XO.prototype.kma=function(a){this.YMa.kma(a)};
XO.prototype.Vo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.vk()?null:e.getItem(),h=e.Jc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new XN(f,void 0,void 0,_.D(e,1)||void 0);var p=ihd(this,h,l);if(null==p)continue;l.WD(p);jhd(this,k,f);_.S(e,5,!1)&&K0c(f,Z0c);h1c(f);f=S8c(f,k);l.setItem(f);_.SK(this.context.Pc)&&$gd(this,f)}if(k&&!f||f&&khd(this,k,f,[]))this.context.cKa.sy(e),c.push(w$c(h,l))}_.SK(this.context.Pc)&&c.forEach(function(q){return b.nr.uP(q)});ahd(this,
c,[])};var jhd=function(a,b,c){b&&!c.jk()&&iN(c,b,a.va);var d=b?b.zf():null,e=c.zf();e=e?_.Rd(e):null;d&&e&&jhd(a,_.Rd(d),e);b&&!_.kl(c)&&iN(c,b,[1002]);b&&!_.ll(c).length&&iN(c,b,[1003]);b&&!_.ml(c).length&&iN(c,b,[1005]);b&&null==c.d2()&&iN(c,b,[71]);b&&null==_.D(c,79)&&iN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(K0c(c,Z0c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
XO.prototype.rB=function(a,b){if(a instanceof _.gf||a instanceof _.zz||a instanceof _.GK)a=UO(this,a),(a=this.O[a])&&a.VX(b);else throw Error("mg");};var ihd=function(a,b,c){var d=c.getItem();if(Oad(a.context.iga,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=lN(a)&&!ZN(a)&&!ZN(d)&&a.Bc()==d.Bc())if(a.Gi()&&d.Gi()){if(a.Gi()>d.Gi())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Fq()>d.Fq())return null}return K8c(b&&b.H,c.H)};
XO.prototype.jI=function(a,b){(a=this.H.get(a))&&a.WD(K8c(a.H,b))};
var ahd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.cL(a.context.Pc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&(h.H.O=h.O.O);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=_.Sa(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())lfd(h.value,b);h=N$c(a.cw);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 qO&&f.Md()>=1.2*f.limit&&nhd(a.context.cKa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Pc,60)&&a.Ba.update(h),a.H.update(h),a.H.get(h.id)||a.V.FJ(h.id),a.W.update(h);0<d&&a.context.Us.aoa(d);ohd(a)},ohd=function(a){var b=a.W.O.slice(0),c=Ngd(a.W);Ogd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.sf;_.uf(d,308);a.LL.zS(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=c9c(a.tm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().zf(),k=_.D(h,1);if(k=a.tm.H(k))_.x(h,5,k),_.A(h,4,1),e.push(f)});Yed(a,e)}},phd=function(a){mfd(a.context).v9();a.H.FJ()},dhd=function(a,b){_.Ia(b.O());var c=_.la(b.Xm(),"root");if(0>c)return b;b=b.clone();b.Xm()[c]=a.context.Wn();return b},Ygd=function(a,b){_.S(a.ma,1,!1)||(b=Q4c(a.Lg,b),a=a.V,V8c(a,a.items,a.fields,b))},bhd=function(a,b){_.S(a.ma,1,!1)&&(b=Q4c(a.Lg,b),a=a.V,V8c(a,a.items,a.fields,b))},lhd=
function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==lN(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.uf(new _.sf,311);a.LL.zS(c,d)}})},Fgd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Q$c(a.cw,c)){a.log("Adding new cache hint for "+UO(a,c));var d=new nO(a.context.vu,a.context.Cw,a.context.rn,c);c=new Ifd(a.context,d,c);var e=wO(a.context.qz,null);_.ki(c.$g().then(function(){Lfd(d,
e).then(function(f){Ofd(a,d,f)})}),function(){Xad(a.context.qz,null)})}})})};XO.prototype.yo=function(){var a=this.cw.H;return a&&a.RN?1:2};XO.prototype.log=function(a,b){this.context.$f().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Zgd=[50];
var rhd=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.rl;this.O=new Map;this.ka=-1;this.ha=0;var c=_.ii();this.va=c.promise;Kcd(this.context.ED).then(function(d){b.H=d||[];c.resolve();qhd(b)},function(){return c.resolve()});kO(this.context.Ij,["rVezo"],(0,_.v)(this.W,this))};_.L(rhd,_.N);
var Kgd=function(a,b){_.S(a.context.Pc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(T8c(a.context.yf.tm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.ak(a.context.Pc,47,5);)a.H.pop();a.context.ED.set(Ecd,a.H)}a.context.yf.cw.mW().length+a.O.size<_.ak(a.context.Pc,47,5)&&(qhd(a),a.W())})},shd=function(a,b){_.ua(a.H,b)&&a.context.ED.set(Ecd,a.H)};
rhd.prototype.sy=function(a){ghd(this.context.mta,a);if(ZN(a)){var b=a.Bc();a.vk()?nhd(this,b,!0):(a=a.getItem(),T8c(a)&&shd(this,b))}};var nhd=function(a,b,c){shd(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.yf.cw;for(var e=d.mW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Us.update(3);break}}TO(a.context).addCallback(function(k){k.rHa(b,c)});a.W()};
rhd.prototype.W=function(){if(this.context.Ij.H("rVezo")){var a=this.context.yf.cw;thd(this);for(var b={};this.V.lc()&&!(this.ha>=_.ak(this.context.Pc,47,5));){var c=_.sl(this.V);this.ha++;P$c(a,c)||this.O.has(c)||(this.O.set(c,null),b.Dfa=new _.rVc,_.A(b.Dfa,1,c),this.context.Lm().then(function(d){return function(e){return e.We(d.Dfa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={Dfa:b.Dfa}}}};
var qhd=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},thd=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){qhd(a);a.W()},36E5)};rhd.prototype.oa=function(a,b){var c=_.D(b,1);c&&c>_.ak(this.context.Pc,48,1E3)?(this.log(a,"Too large to backfill: "+_.D(b,1)),uhd(this,a,!1)):vhd(this,a)};
rhd.prototype.ma=function(a,b){(b=_.$K(b).hk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.hL(_.zUc(_.XK(new _.WK,a),a)),this.context.yf.Vo([a])):vhd(this,a)};
var vhd=function(a,b){var c=new qO(a.context.vu,a.context.Cw,b),d=c.zd().clone();d.Bi(_.ak(a.context.Pc,48,1E3));d=new Ifd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=wO(a.context.qz,b);TO(a.context).addCallback(function(f){f.Sva(b)});_.ki(d.$g().then(function(){whd(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;uhd(a,b,!0)}),function(){Xad(a.context.qz,b)})},whd=function(a,b,c,d){c.RN?(c.rX(),Lfd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Md());Ofd(a.context.yf,
c,e);uhd(a,b,!1)},function(){a.log(b,"Backfill changes failed");uhd(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),uhd(a,b,!0))},uhd=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&TO(a.context).addCallback(function(e){e.rHa(b,!1)});a.W();0<a.O.size||a.context.yf.cw.mW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){nhd(a,e,!0)})};
rhd.prototype.log=function(a,b){this.context.$f().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var xhd=function(){_.N.apply(this,arguments)};_.L(xhd,_.N);
var Ahd=function(a,b){b=yhd(b);var c=a.getItem(),d=zhd(c.getCapabilities());b.q4.forEach(function(e){_.dTb(e.getItem(),c.lp());_.oM(e.getItem(),d.clone())});return b},Dhd=function(a,b,c){var d=Bhd(c);c=c.find(function(e){return e.getId()===b.getId()});c={tK:c?c:new XN(b),children:[]};Chd(a,d,c);return c},Bhd=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().rk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},Chd=
function(a,b,c){var d=c.tK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(Chd(a,b,{tK:e,parent:c,children:[]}))});return c},Fhd=function(a,b){b=b.children.filter(function(l){return!_.jl(l.tK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.tK.getItem();if(!c.has(f.getId())){_.dTb(f,a.lp());Ehd(a,f,e.parent?e.parent.tK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.jl(k.tK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.tK)}}return d},
Ghd=function(a){a=a.children.filter(function(h){return!_.jl(h.tK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.tK.getItem();if(!b.has(e.getId())){c.push(_.hL(_.XK(new _.WK,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.jl(f.tK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},yhd=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();_.jl(e)||_.R(e,137)?c.push(e):b.push(d)}return{EQ:c,q4:b}},zhd=
function(a){a=a.clone();var b=null!=_.R(a,34)?_.R(a,34):_.R(a,7),c=null!=_.R(a,35)?_.R(a,35):_.R(a,7);_.A(a,45,c);_.bWc(a,b);_.A(a,30,c);_.XVc(a,b);_.cWc(a,c);_.YVc(a,c);_.ZVc(a,b);_.KVc(a,b);_.PVc(a,c);_.VVc(a,b);_.UVc(a,_.R(a,7));_.OVc(a,_.R(a,10)||_.R(a,11));_.WVc(a,_.dl(a));_.fk(a,18);_.fk(a,13);_.fk(a,10);_.$Vc(a,_.R(a,42));_.aWc(a,_.R(a,43));_.dWc(a,_.R(a,48));return a},Ehd=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.XVc(e,_.R(d,31));_.cWc(e,_.R(d,
47));_.YVc(e,_.R(d,32));_.ZVc(e,_.R(d,33));_.KVc(e,_.R(d,4));_.PVc(e,_.R(d,9));_.WVc(e,_.R(d,21));_.VVc(e,_.R(d,20));_.UVc(e,_.R(d,17));_.JVc(e,_.dl(d));_.NVc(e,_.R(d,7));_.QVc(e,_.R(d,10));_.RVc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.bWc(e,_.R(d,46));_.dWc(e,_.R(d,48));a=_.jl(a);_.A(b,137,a);c&&(c=c.getCapabilities(),kN(b)?(_.OVc(e,_.R(c,43)),_.aWc(e,_.R(c,43)),_.$Vc(e,_.R(c,42))):_.OVc(e,_.R(c,42)))};
var Hhd=function(a){this.context=a;this.V=new xhd;this.O=_.uf(new _.sf,306);this.H=a.yf},ghd=function(a,b){if(ZN(b))b.vk()?Ihd(a,b):Jhd(a,b);else if(_.S(a.context.Pc,86,!1)){var c=b.Jc(),d=a.H.tm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!kN(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.jl(d),!b.vk()){var h=b.getItem();f=_.jl(d)!==_.jl(h);h=h.lp()!==d.lp();e=f||e&&h}if(e)if(b.vk()){if(b=Khd(a,d.Bc()),d=a.V,e=(new _.hl).Pb(c),b=(b=Dhd(d,e,b))?Ghd(b):[],a.context.yf.Vo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=X4c(a.context.Vk(),106009))c=S4c(a),_.A(c,2,b.length),a.Xj()}else if(c=b.getItem(),d=Khd(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=Dhd(e,c,d))?Fhd(c,d):[],Yed(a.context.yf,c),a.log(b.Jc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=X4c(a.context.Vk(),106010))b=S4c(a),_.A(b,1,c.length),a.Xj()}},Ihd=function(a,b){var c=b.Jc();b=Khd(a,c);b=yhd(b);var d=_.Bb(b.q4,function(e){return _.hL(_.XK(new _.WK,e.getId()))});a.context.yf.Vo(d);
a.H.LL.zS(b.EQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.EQ.map(function(e){return _.Il((new _.Hl).Pb(e.getId()),_.ol(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.EQ.length+" divergent items"));if(a=X4c(a.context.Vk(),106016))c=T4c(a),_.A(c,1,b.EQ.length),_.A(c,2,b.q4.length),a.Xj()},Jhd=function(a,b){var c=b.Jc(),d=Khd(a,c),e=a.H.tm.H(c);b=Ahd(b,d);Yed(a.context.yf,b.q4);a.H.LL.zS(b.EQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.EQ.map(function(h){return _.Il((new _.Hl).Pb(h.getId()),
_.ol(h))}));a.log(c,"SD update | Update "+b.q4.length+" item(s), "+(b.EQ.length+" divergent items"));if(d=X4c(a.context.Vk(),106017)){var f=T4c(d);_.A(f,1,b.EQ.length);_.A(f,2,b.q4.length);d.Xj()}e||Hfd(a.H.LL,c)},Khd=function(a,b){var c=new _.gf;_.Nl(c,[b]);_.Ol(c,2);return e9c(a.H.tm,c)};Hhd.prototype.log=function(a,b){this.context.$f().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Lhd=function(a,b,c){this.H=a;this.V=b;this.AJ=c};
Lhd.prototype.Ww=function(a,b){var c=this;if(a.TV().length){var d=Kad(this.H,a.Jc());if(d){var e=d?Lad(this.H,a):[];for(var f={},h=_.m(a.TV()),k=h.next();!k.done;f={AL:f.AL},k=h.next())if(k=k.value,f.AL=Mhd(e,k.Vm(),a.Jc()),_.R(k,3))Rad(this.H,f.AL),_.ki(b,function(r){return function(){c.H.O.W(Aad(r.AL))}}(f));else{for(var l=_.m(_.pk(k,_.XE,2)),p=l.next();!p.done;p=l.next())Nhd(this,f.AL,p.value);k=_.m(_.Nd(k,4));for(l=k.next();!l.done;l=k.next())Ohd(f.AL,l.value);this.H.wD([f.AL],!1,-1);b.then(function(r){return function(){return void c.H.jI(r.AL.getName(),
-2)}}(f),function(r){return function(){c.H.jI(r.AL.getName(),-2)}}(f))}e=this.od(d.xk().response)}}e=e?e:this.od();var q=e.c4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.wA(r));c.handleError(a.Jc(),r)});return e};Lhd.prototype.od=function(a){a=void 0===a?new IN:a;return new N8c(a.Dc(1))};var Mhd=function(a,b,c){var d=a.find(function(e){return zad(e.getName(),b)});d||(d=x5c((new CN).jd(b),c),a.push(d));return d};
Lhd.prototype.handleError=function(a,b){Tad(this.V,a);a=_.$K(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.AJ(a)};
var Nhd=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new AN,d.Pb(c.getId()),w5c(b,b.O().concat([d])),Phd(d,c));if(1===BN(d))d.setBooleanValue(_.R(c,3));else if(12===BN(d))d.setDateStringValue(_.D(c,17));else if(2===BN(d))d.setTextValue(_.D(c,4));else if(3===BN(d))_.Nd(c,6).length?d.Mpa(_.Nd(c,6)):_.Nd(c,5).length&&(a=_.Nd(d,7).concat(_.Nd(c,5)),d.Mpa(a));else if(4===BN(d))d.setLongTextValue(_.D(c,7));else if(5===BN(d))d.setSelectionValue(_.D(c,8));else if(6===
BN(d))_.Nd(c,10).length?d.Ipa(_.Nd(c,10)):_.Nd(c,9).length&&(a=d.EMa().concat(_.Nd(c,9)),d.Ipa(a));else if(7===BN(d))d.setIntegerValue(_.D(c,11));else if(8===BN(d))_.Nd(c,13).length?d.Apa(_.Nd(c,13)):_.Nd(c,12).length&&(a=_.Nd(d,12).concat(_.Nd(c,12)),d.Apa(a));else if(10===BN(d))d.setUserValue(a.O(_.D(c,14)));else if(11===BN(d))_.Nd(c,16).length?t5c(d,_.Nd(c,16).map(a.O)):_.Nd(c,15).length&&t5c(d,d.wBa().concat(_.Nd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(BN(d)+
"."),new _.qc(d,new _.pc);},Ohd=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===BN(a))_.fk(a,5);else if(12===BN(a))_.fk(a,17);else if(2===BN(a))_.fk(a,6);else if(3===BN(a))_.bH(a,7);else if(4===BN(a))_.fk(a,8);else if(5===BN(a))_.fk(a,9);else if(6===BN(a))_.bH(a,10);else if(7===BN(a))_.fk(a,11);else if(8===BN(a))_.bH(a,12);else if(10===BN(a))_.gk(a,15);else if(11===BN(a))_.hk(a,16);else throw a="Optimistic Applier: Unsupported value type "+(BN(a)+"."),new _.qc(a,new _.pc);
},Phd=function(a,b){_.Q(b,3)?a.MA(1):_.Q(b,17)?a.MA(12):_.Q(b,4)?a.MA(2):_.Nd(b,6).length||_.Nd(b,5).length?a.MA(3):_.Q(b,7)?a.MA(4):_.Q(b,8)?a.MA(5):_.Nd(b,10).length||_.Nd(b,9).length?a.MA(6):_.Q(b,11)?a.MA(7):_.Nd(b,13).length||_.Nd(b,12).length?a.MA(8):_.Q(b,14)?a.MA(10):(_.Nd(b,16).length||_.Nd(b,15).length)&&a.MA(11)};Lhd.prototype.O=function(a){return _.HVc(_.FVc(1),a)};
var Qhd=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};Qhd.prototype.apply=function(a,b){var c=this;if(!_.gM(a))return b;var d=null;a instanceof _.zL?d=Rhd(this,a,b):a instanceof _.GL?d=Shd(this,a,b):a instanceof _.dL?d=this.Ww(a,b):a instanceof _.tL?d=Thd(this,a,b):a instanceof _.ZL&&(d=this.va.Ww(a,b));d&&(this.W++,this.ha.setActive(!1),_.ki(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.fi(d):b};
var Rhd=function(a,b,c){Nad(a.O,b.getId());var d=a.H.tm.H(b.getId());_.ki(c.then(function(){return void a.ma("VMiG2e")},a.oa.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.$K(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.fM).Dc(1)},Shd=function(a,b,c){var d=_.D(b,2);d&&a.O.H.push(d);c.then(function(){d&&Pad(a.O,d)&&_.ki(Uhd(a,d,new _.JYc(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=_.$K(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.fM).Dc(1)},Uhd=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.fi();var f=_.ii(),h=c.Xa();_.HG(c);setTimeout(function(){a.ka.then(function(k){var l=_.uf(new _.sf,1425);l=I1c(!0,1,l);return k.We(l).then(function(p){if(p=p.od())if(p=p.Hd()[0],!p||(p.Uv()||0)>b){f.resolve();return}_.ki(Uhd(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ki(Uhd(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},Thd=function(a,b,c){var d=b.Bc(),e=a.H.tm.H(d);if(!e)return null;e=e.clone();jfd(a.H,[e],[157]);var f=e.jh();Vhd(f,_.pk(b,_.gl,2));Whd(f,_.pk(b,_.gl,3));a.H.ql([e],-1,void 0,void 0,[157]);_.ki(c,function(){a.H.jI(d,-2)}).then(function(h){a.H.ql([_.E(h,_.hl,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.$K(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return y6c(new x6c,e).Dc(1)},
Vhd=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={ufa:c.ufa},d=b.next())c.ufa=d.value,_.pk(a,_.gl,8).some(function(e){return function(f){return f.Vm()==e.ufa.Vm()}}(c))||_.tk(a,8,c.ufa,_.gl,void 0)},Whd=function(a,b){var c=b.map(function(d){return d.Vm()});b=_.pk(a,_.gl,8).filter(function(d){return!c.includes(d.Vm())});S0c(a,b)};
Qhd.prototype.Ww=function(a,b){var c=this,d=this.H.tm.H(a.getId());if(!d||d.Bc()&&0==a.Sh()||null!=_.R(a,40))return null;var e=_.Nd(a,10),f=_.Nd(a,9);if(0<e.length&&0<f.length&&(e=Object.values(d9c(this.H.tm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Ea(e),1<e.length))return null;var h=d.clone();Xhd(this,a,h);this.H.ql([h],-1,void 0,void 0,O4c(this.Lg));b.then(function(){return c.H.jI(a.getId(),-2)},function(){c.H.jI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.$K(k);
if(63==k.hk()){var l=h.getId();_.A(k,22,l);_.A(k,23,f[0])}_.A(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.iXc((new _.fM).setItem(h),h.getId()).Dc(1)};
var Xhd=function(a,b,c){null!=b.Te()&&c.nm(b.Te());null!=b.Vi()&&_.qWc(c,b.Vi());null!=b.getMimeType()&&_.gF(c,b.getMimeType());null!=_.D(b,7)&&_.cTb(c,_.D(b,7));null!=_.R(b,11)&&_.kWc(c,_.R(b,11));null!=_.R(b,4)&&c.Cv(_.R(b,4));null!=_.R(b,16)&&_.pWc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Mn(b.Sh()),_.oWc(c,b.Sh()));null!=_.R(b,18)&&_.gN(g1c(c,!0),_.R(b,18));_.Nd(b,8).length&&_.nM(c,_.Nd(b,8));if(_.Nd(b,9).length){var d=new Set(c.rk());_.Nd(b,9).forEach(function(p){return d.add(p)});
_.nM(c,[].concat(_.nd(d)))}if(_.Nd(b,10).length){var e=new Set(c.rk());_.Nd(b,10).forEach(function(p){return e.delete(p)});_.nM(c,[].concat(_.nd(e)));var f=c.tw();f&&_.Nd(b,10).includes(f)&&_.fk(c,46)}if(!c.tw()){var h=a.Ba();f=c.rk().find(function(p){var q=a.H.tm.H(p);return q&&!!q.tw()||p==h});_.A(c,46,f||void 0)}c.rk().length&&(f=a.H.tm.H(c.rk()[0]))&&_.tWc(c,f.Bc());if(f=_.E(b,_.el,25)){var k=_.E(c,_.el,111)||new _.el;null!=_.R(f,1)&&k.bP(_.R(f,1));null!=_.D(f,2)&&_.fWc(k,_.D(f,2));_.x(c,111,
k)}var l=_.Nd(c,120);_.Nd(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Nd(b,32).forEach(function(p){_.ua(l,p)});_.ek(c,120,l)};Qhd.prototype.oa=function(a,b){var c=this,d=_.Bz(new _.zz,[a]);this.ka.then(function(e){return e.We(d)}).then(function(e){e=e.od().Hd()[0];c.H.ql([e.clone()],1)},function(){b&&c.H.ql([b.clone()],1)})};
var Yhd=function(a){this.H=a};_.L(Yhd,_.q_c);Yhd.prototype.execute=function(a,b,c){var d=_.q_c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.qLa||b instanceof _.TK&&_.hM(b.zd()))if(c=f5c(this.H))return c;return b instanceof _.GL?(c=_.uf(new _.sf,1424),a.We(I1c(!1,1,c)).then(function(e){(e=e.od())&&(e=e.Hd()[0])&&_.Q(e,96)&&b.Bda(e.Uv())},function(){})):null};
var Y1c=function(a,b){return[Zhd,$hd,aid,bid].reduce(function(c,d){var e;0!==c?e=c:e=_.Fa(d(a),d(b));return e},0)},Zhd=function(a){return cid[a.ag()]},$hd=function(a){return did[a.getType()]},aid=function(a){return a.getName()||""},bid=function(a){return a.getId()||""},YO={},cid=(YO[5]=0,YO[7]=1,YO[1]=2,YO[3]=3,YO[4]=4,YO[2]=5,YO[6]=6,YO),eid={},did=(eid[1]=0,eid[2]=1,eid[3]=2,eid[4]=3,eid);
var fid=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.oa=k;this.Lg=l};
fid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.fM&&8===b.Cb()))if(a instanceof _.sL||a instanceof _.uL||a instanceof _.hVc||a instanceof _.dL||a instanceof _.aM||a instanceof _.pVc||a instanceof _.cM||a instanceof _.oN){var d=_.gL(b.getItem().clone(),9);this.H.ql([d],1);obd(this.oa,b.getItem(),_.AM(this.Lg))}else a instanceof _.zL?(b=_.hL(_.XK(new _.WK,a.getId())),this.H.Vo([b])):a instanceof _.CL?(b=_.hL(_.zUc(_.XK(new _.WK,a.getId()),a.getId())),this.H.Vo([b]),ghd(this.ma,b)):
a instanceof _.GL?(b=I1c(!0).zd(),b=this.H.tm.query(b).map(function(e){return _.hL(_.XK(new _.WK,e.getId()))}),this.H.Vo(b)):a instanceof _.xL?this.O.remove(a.zh()):a instanceof _.JL||a instanceof _.YL?this.O.put(b.Ar()):a instanceof _.AL?X1c(this.H,a):a instanceof _.DC?this.W.remove(a.getKey()):a instanceof _.KL?Z1c(this.H,a,_.E(b,_.Sk,2)):a instanceof _.EC?this.W.put(b.UMa()):a instanceof _.vL||a instanceof _.bM?this.ha.wD([b.Zm()],!1):a instanceof _.DL?this.ha.wD([bbd(a.getId())],!1):a instanceof
_.gVc?this.V.wD(b.response.O(),!1,1):a instanceof _.ZL?(a.TV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.Vm()||"",a.Jc())}),Tad(this.ka,a.Jc()),this.H.w2a(a.Jc())):a instanceof _.FM&&_.pk(a,_.h6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.E(e,_.GN,2),e.getType()){case 1:case 2:if(e=c.H.tm.H(e.Jc())){var f=new _.WK;f=_.A(f,5,!0);e=_.XK(f,e.getId()).setItem(e.clone());c.H.Vo([e])}}}})};
var gid=function(a){this.H=a};
gid.prototype.translate=function(a){if(a instanceof _.VL){var b=this.H.H(a.getId());if(!b)return new _.pc;var c=(new _.dL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.ke(d)||_.R(d,9)?c.Mn(!0):_.eL(c,!1)}else d=a.getParent(),1===b.lp()?c.Mn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?n4c(c,[d]):_.eL(c,!1)):_.eL(c,!1);return c}if(a instanceof _.WL)return p4c(o4c(n4c(m4c((new _.dL).Pb(a.getId()),_.Nd(a,2)),_.Nd(a,3)),_.R(a,6)),_.pk(a,_.Hl,8));if(a instanceof _.XL){b=this.H.H(a.getId());
if(!b)return new _.pc;c=(new _.dL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.ke(d)||_.R(d,9)?c.Mn(!1):_.eL(c,!0)):(d=a.getParent(),1===b.lp()?c.Mn(!1):d?(b=this.H.H(d),!b||_.dl(b.getCapabilities())?m4c(c,[d]):_.eL(c,!0)):_.eL(c,!0));return c}if(a instanceof _.SM)return new _.hVc(a);if(a instanceof _.KO)return _.Nd(a,1).map(function(f){var h=new _.ZL;f=_.A(h,1,f);h=a.TV();f=_.Cb(f,2,h);h=a.ve();return _.x(f,3,h)});if(a instanceof _.FL){c=I1c(!1,1).zd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Uv())&&(e=Math.max(e,f))});return a5c(new _.GL,a).Bda(e)}return a};
var hid=function(){};hid.prototype.validate=function(a){var b=null;a instanceof _.OL?(a=a.getId()||"",_.de(a)&&(b="Tried to request backup with no id.")):a instanceof _.yL&&(a=a.getId()||"",_.de(a)&&(b="Tried to delete backup with no id."));return b?_.$K(b):null};
var iid=function(a,b){this.O=a;this.H=b},mid=function(a,b){_.ZM(["drive#about"],b);var c=new _.LO,d=new _.vA;if(b.user){var e=_.aN(a.O,b.user);_.x(d,1,e)}a=jid(a,b);a=g4c(f4c(_.e4c(new _.osb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.i4c(a,_.U3c(_.T3c((new _.uA).Dc(kid[e.status]),Number(e.trialMillisRemaining)),_.$M(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.j4c(a,_.W3c(_.V3c(new _.jsb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&h4c(a,b.importFormats.map(function(f){var h=new _.d4c;h=_.A(h,1,f.source);return _.ek(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,lid[b.adminSecureLinkSetting]);_.x(d,3,a);_.Tdd(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},jid=function(a,b){var c;var d=new _.nsb;d=_.A(d,1,Number(b.quotaBytesTotal));d=_.A(d,2,Number(b.quotaBytesUsed));d=_.A(d,3,Number(b.quotaBytesUsedAggregate));d=_.A(d,4,Number(b.quotaBytesUsedInTrash));d=_.$3c(_.Z3c(_.Y3c(_.X3c(d,
a2c(b.quotaBytesByService||[])),nid[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-c2c(b);d=_.A(d,9,e);d=_.a4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.c1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.b4c(d,oid[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.msb;var f=
_.e2a(new Date(b.graceQuotaInfo.endDate));e=_.x(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.x(d,12,e)}(null===(c=_.cL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.c1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},oid={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},b2c=new Set(["POOLED_STORAGE","FAMILY"]),kid={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},$1c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},nid={LIMITED:1,UNLIMITED:2,POOLED:3},lid={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var pid={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},qid={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},rid={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},sid={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},tid={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},uid={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},vid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},wid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},xid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},yid={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},zid={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},Aid={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},Bid={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},Cid={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Did={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Eid={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Fid={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Gid={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Hid={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Iid={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Jid={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Kid={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},Rid=function(a){return a.map(function(b){var c=new _.G8c;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=Lid(e);_.x(c,2,d);break;case "actors":d=Mid(e);_.Cb(c,3,d);break;case "actions":d=Nid(e);_.Cb(c,
4,d);break;case "targets":d=Oid(e);_.Cb(c,5,d);break;case "timestamp":c.O(Pid(e));break;case "timeRange":d=Qid(e),_.qk(c,7,F8c[0],d)}}return c})},Nid=function(a){return a.map(function(b){var c=new _.D8c;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=Lid(e);_.x(c,1,d);break;case "source":d=new x8c;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":_.mk(d,2,pid[h]);break;case "appId":_.lk(d,1,h)}}_.x(c,2,d);break;case "actor":d=Sid(e);_.x(c,3,d);break;case "target":d=Tid(e);_.x(c,4,d);break;case "timestamp":c.O(Pid(e));break;case "timeRange":d=Qid(e),_.qk(c,6,C8c[0],d)}}return c})},Oid=function(a){return a.map(function(b){return Tid(b)})},Vid=function(a){return a.map(function(b){return Uid(b)})},Wid=function(a){return a.map(function(b){var c=new _.b8c;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(Uid(e));break;case "shortcut":d=Uid(e),_.x(c,2,d)}}return c})},Tid=function(a){var b=new _.B8c;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=Xid(d);_.qk(b,1,_.A8c[0],c);break;case "drive":c=new _.y8c;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.jd(f);
break;case "title":c.setTitle(f);break;case "root":e=Xid(f),_.x(c,3,e)}}_.qk(b,5,_.A8c[0],c);break;case "fileComment":c=new _.z8c;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":_.lk(c,1,f);break;case "legacyDiscussionId":_.lk(c,2,f);break;case "linkToDiscussion":_.lk(c,3,f);break;case "parent":c.Bg(Xid(f))}_.qk(b,3,_.A8c[0],c)}}return b},Uid=function(a){var b=new _.QN;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 L7c;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.jd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new J7c;_.qk(e,8,K7c[0],f);break;case "driveFolder":e=Yid(f);_.qk(c,9,K7c[0],e);break;case "driveShortcut":e=Zid(f),_.qk(c,10,K7c[0],e)}}_.qk(b,1,M7c[0],c);break;case "drive":c=$id(d),_.qk(b,3,
M7c[0],c)}}return b},Xid=function(a){var b=new _.I7c;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.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.lk(b,6,d);break;case "version":_.jk(b,5,d);break;case "owner":c=new D7c;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":c.an(ajd(f));break;case "user":e=
ZO(f);_.qk(c,1,C7c[0],e);break;case "drive":e=$id(f),_.qk(c,4,C7c[0],e)}}_.x(b,7,c);break;case "driveFile":c=new J7c;_.qk(b,8,E7c[0],c);break;case "driveFolder":c=Yid(d);_.qk(b,9,E7c[0],c);break;case "driveShortcut":c=Zid(d),_.qk(b,10,E7c[0],c)}}return b},$id=function(a){var b=new B7c;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.jd(d);break;case "title":b.setTitle(d)}}return b},Yid=function(a){var b=new G7c;
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":_.mk(b,6,qid[d])}}return b},Zid=function(a){var b=new H7c;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":_.lk(b,1,d);break;case "targetMimeType":_.lk(b,2,d)}}return b},Mid=function(a){return a.map(function(b){return Sid(b)})},Sid=function(a){var b=new _.w8c;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=ZO(d);_.qk(b,1,_.v8c[0],c);break;case "anonymous":c=new s8c;_.qk(b,2,_.v8c[0],c);break;case "impersonation":c=new _.t8c;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=ZO(f),_.x(c,1,e)}}_.qk(b,3,_.v8c[0],c);break;case "system":c=new _.u8c;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":_.mk(c,1,rid[f])}_.qk(b,4,_.v8c[0],c);break;case "administrator":c=new _.r8c,_.qk(b,5,_.v8c[0],c)}}return b},bjd=function(a){return a.map(function(b){return ZO(b)})},ZO=function(a){var b=new _.i7c;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 _.ON;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":_.lk(c,1,f);break;case "isCurrentUser":_.kk(c,2,f);break;case "displayName":_.lk(c,3,f);break;case "photoUrl":c.oo(f)}}_.qk(b,2,_.g7c[0],c);break;case "unknownUser":c=new j7c;_.qk(b,4,_.g7c[0],c);break;case "deletedUser":c=new _.h7c,_.qk(b,3,_.g7c[0],c)}}return b},Pid=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.d2a((new _.dx).setSeconds(a),b)},Qid=function(a){var b=new _.WN;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.zY(Pid(d));break;case "endTime":b.CF(Pid(d))}}return b},ajd=function(a){var b=new A7c;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.jd(d);break;case "legacyId":_.lk(b,3,d);break;case "audienceDisplayName":_.lk(b,4,d)}}return b},Lid=function(a){for(var b=new _.VN,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 _.P7c,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,u=q.next().value;switch(r){case "new":var y=k,z=new Q7c;_.qk(y,1,_.N7c[0],z);break;case "upload":var C=k,G=new R7c;_.qk(C,2,_.N7c[0],G);break;case "copy":for(var I=u,M=new _.O7c,P=_.m(Object.entries(I)),V=P.next();!V.done;V=P.next()){var pa=_.m(V.value),ia=pa.next().value,qa=pa.next().value;
switch(ia){case "originalObject":var ta=Uid(qa);_.x(M,1,ta)}}_.qk(k,3,_.N7c[0],M)}}_.qk(b,1,_.UN[0],k);break;case "edit":var va=new W7c;_.qk(b,2,_.UN[0],va);break;case "move":for(var Ya=new _.d8c,Ga=_.m(Object.entries(h)),Pa=Ga.next();!Pa.done;Pa=Ga.next()){var $b=_.m(Pa.value),nb=$b.next().value,mc=$b.next().value;switch(nb){case "addedParents":var Lc=Vid(mc);_.Cb(Ya,1,Lc);break;case "removedParents":var yc=Vid(mc);_.Cb(Ya,2,yc);break;case "fromOwnershipTransfer":_.kk(Ya,3,mc);break;case "reparents":var be=
mc.map(cjd);_.Cb(Ya,4,be);break;case "multiparentingMigration":for(var Id=mc,Xe=new _.c8c,lc=_.m(Object.entries(Id)),rb=lc.next();!rb.done;rb=lc.next()){var yf=_.m(rb.value),pg=yf.next().value,Ce=yf.next().value;switch(pg){case "removedParents":var Kh=Vid(Ce);_.Cb(Xe,2,Kh);break;case "migratedParents":var tf=Wid(Ce);_.Cb(Xe,1,tf)}}_.x(Ya,5,Xe)}}_.qk(b,3,_.UN[0],Ya);break;case "rename":for(var Lh=new _.j8c,Of=_.m(Object.entries(h)),nj=Of.next();!nj.done;nj=Of.next()){var De=_.m(nj.value),Ie=De.next().value,
Pg=De.next().value;switch(Ie){case "oldTitle":_.lk(Lh,1,Pg);break;case "newTitle":_.lk(Lh,2,Pg)}}_.qk(b,4,_.UN[0],Lh);break;case "delete":for(var Ug=new _.U7c,Bi=_.m(Object.entries(h)),Zi=Bi.next();!Zi.done;Zi=Bi.next()){var yl=_.m(Zi.value),pm=yl.next().value,ji=yl.next().value;switch(pm){case "type":_.mk(Ug,1,sid[ji])}}_.qk(b,5,_.UN[0],Ug);break;case "restore":for(var zf=new _.k8c,Ci=_.m(Object.entries(h)),ve=Ci.next();!ve.done;ve=Ci.next()){var oj=_.m(ve.value),zh=oj.next().value,Zh=oj.next().value;
switch(zh){case "type":_.mk(zf,1,tid[Zh])}}_.qk(b,6,_.UN[0],zf);break;case "permissionChange":for(var Mh=new _.g8c,Uj=_.m(Object.entries(h)),eh=Uj.next();!eh.done;eh=Uj.next()){var sh=_.m(eh.value),qg=sh.next().value,dg=sh.next().value;switch(qg){case "addedPermissions":var pi=djd(dg);_.Cb(Mh,1,pi);break;case "removedPermissions":var Nh=djd(dg);_.Cb(Mh,2,Nh);break;case "resharedPermissions":var $h=djd(dg);_.Cb(Mh,3,$h);break;case "otherActivePermissions":var th=djd(dg);_.Cb(Mh,4,th)}}_.qk(b,7,_.UN[0],
Mh);break;case "comment":for(var pj=new _.z7c,Ej=_.m(Object.entries(h)),Vj=Ej.next();!Vj.done;Vj=Ej.next()){var qj=_.m(Vj.value),Ee=qj.next().value,Di=qj.next().value;switch(Ee){case "post":for(var rk=Di,sk=new _.w7c,jc=_.m(Object.entries(rk)),Ag=jc.next();!Ag.done;Ag=jc.next()){var we=_.m(Ag.value),Ei=we.next().value,eg=we.next().value;switch(Ei){case "subtype":_.mk(sk,1,vid[eg])}}_.qk(pj,1,_.v7c[0],sk);break;case "assignment":for(var Wj=Di,fg=new _.x7c,Pe=_.m(Object.entries(Wj)),zl=Pe.next();!zl.done;zl=
Pe.next()){var Fj=_.m(zl.value),Af=Fj.next().value,Wd=Fj.next().value;switch(Af){case "subtype":_.mk(fg,1,wid[Wd]);break;case "assignedUser":var Fi=ZO(Wd);_.x(fg,7,Fi)}}_.qk(pj,2,_.v7c[0],fg);break;case "suggestion":for(var Te=Di,Wl=new _.y7c,Gj=_.m(Object.entries(Te)),$i=Gj.next();!$i.done;$i=Gj.next()){var bf=_.m($i.value),qm=bf.next().value,rm=bf.next().value;switch(qm){case "subtype":_.mk(Wl,1,xid[rm])}}_.qk(pj,3,_.v7c[0],Wl);break;case "mentionedUsers":var Rm=bjd(Di);_.Cb(pj,7,Rm)}}_.qk(b,8,
_.UN[0],pj);break;case "dlpChange":for(var Cn=new _.T7c,zk=_.m(Object.entries(h)),Rh=zk.next();!Rh.done;Rh=zk.next()){var Lj=_.m(Rh.value),Ak=Lj.next().value,$m=Lj.next().value;switch(Ak){case "type":_.mk(Cn,1,yid[$m])}}_.qk(b,9,_.UN[0],Cn);break;case "view":for(var eo=new q8c,an=_.m(Object.entries(h)),$l=an.next();!$l.done;$l=an.next()){var Dm=_.m($l.value),xr=Dm.next().value,aF=Dm.next().value;switch(xr){case "type":_.mk(eo,1,zid[aF]);break;case "viewHistoryVisibility":for(var EI=aF,bF=new p8c,
lY=_.m(Object.entries(EI)),FI=lY.next();!FI.done;FI=lY.next()){var mY=_.m(FI.value),nY=mY.next().value,Iga=mY.next().value;switch(nY){case "domainPolicyVisibilityState":_.mk(bF,1,Aid[Iga]);break;case "namedPartyState":_.mk(bF,2,Bid[Iga])}}_.x(eo,2,bF)}}_.qk(b,10,_.UN[0],eo);break;case "download":for(var Pxb=new V7c,TYa=_.m(Object.entries(h)),Jga=TYa.next();!Jga.done;Jga=TYa.next()){var Qxb=_.m(Jga.value),Rxb=Qxb.next().value,Sxb=Qxb.next().value;switch(Rxb){case "type":_.mk(Pxb,1,Cid[Sxb])}}_.qk(b,
11,_.UN[0],Pxb);break;case "reference":for(var UYa=new _.b7c,VYa=_.m(Object.entries(h)),Kga=VYa.next();!Kga.done;Kga=VYa.next()){var Txb=_.m(Kga.value),Uxb=Txb.next().value,WYa=Txb.next().value;switch(Uxb){case "type":_.mk(UYa,1,Did[WYa]);break;case "context":for(var Vxb=UYa,Wxb=Vxb.Yi,XYa=WYa,YYa=new a7c,ZYa=_.m(Object.entries(XYa)),vxa=ZYa.next();!vxa.done;vxa=ZYa.next()){var Xxb=_.m(vxa.value),Yxb=Xxb.next().value,wxa=Xxb.next().value;switch(Yxb){case "description":YYa.nm(wxa);break;case "url":_.lk(YYa,
2,wxa)}}Wxb.call(Vxb,YYa)}}_.qk(b,12,_.UN[0],UYa);break;case "settingsChange":for(var Zxb=new _.n8c,$Ya=_.m(Object.entries(h)),xxa=$Ya.next();!xxa.done;xxa=$Ya.next()){var $xb=_.m(xxa.value),ayb=$xb.next().value,aZa=$xb.next().value;switch(ayb){case "restrictionChanges":var Frc=ejd(aZa);_.Cb(Zxb,1,Frc)}}_.qk(b,13,_.UN[0],Zxb);break;case "approvalChange":for(var cy=new _.m7c,bZa=_.m(Object.entries(h)),n6=bZa.next();!n6.done;n6=bZa.next()){var cZa=_.m(n6.value),byb=cZa.next().value,GI=cZa.next().value;
switch(byb){case "approvalName":_.lk(cy,2,GI);break;case "approvalEventNames":_.ek(cy,3,GI);break;case "initiator":var cyb=ZO(GI);_.x(cy,4,cyb);break;case "reviewers":var dZa=bjd(GI);_.Cb(cy,5,dZa);break;case "status":cy.Dc(Gid[GI]);break;case "dueTime":var dyb=Pid(GI);_.x(cy,7,dyb);break;case "approvalRequested":var eyb=cy,fyb=new n7c;_.qk(eyb,8,_.PN[0],fyb);break;case "approvalCancelled":var gyb=cy,hyb=new o7c;_.qk(gyb,9,_.PN[0],hyb);break;case "reviewerResponded":for(var iyb=GI,yxa=new _.l7c,eZa=
_.m(Object.entries(iyb)),zxa=eZa.next();!zxa.done;zxa=eZa.next()){var wbe=_.m(zxa.value),XHg=wbe.next().value,YHg=wbe.next().value;switch(XHg){case "reviewerDecision":_.mk(yxa,1,Hid[YHg])}}_.qk(cy,10,_.PN[0],yxa);break;case "commentAdded":var ZHg=cy,$Hg=new p7c;_.qk(ZHg,11,_.PN[0],$Hg);break;case "reviewersChanged":for(var aIg=GI,xbe=new r7c,ybe=_.m(Object.entries(aIg)),ivc=ybe.next();!ivc.done;ivc=ybe.next()){var zbe=_.m(ivc.value),bIg=zbe.next().value,cIg=zbe.next().value;switch(bIg){case "reviewerChanges":var eIg=
fjd(cIg);_.Cb(xbe,1,eIg)}}_.qk(cy,12,_.PN[0],xbe);break;case "dueTimeChanged":for(var fIg=GI,Abe=new t7c,Bbe=_.m(Object.entries(fIg)),jvc=Bbe.next();!jvc.done;jvc=Bbe.next()){var Cbe=_.m(jvc.value),gIg=Cbe.next().value,hIg=Cbe.next().value;switch(gIg){case "oldDueTime":var iIg=Pid(hIg);_.x(Abe,1,iIg)}}_.qk(cy,13,_.PN[0],Abe)}}_.qk(b,18,_.UN[0],cy);break;case "lock":var jIg=new Y7c;_.qk(b,15,_.UN[0],jIg);break;case "unlock":var kIg=new o8c;_.qk(b,16,_.UN[0],kIg);break;case "appliedLabelChange":for(var Dbe=
new _.f7c,Ebe=_.m(Object.entries(h)),kvc=Ebe.next();!kvc.done;kvc=Ebe.next()){var Fbe=_.m(kvc.value),lIg=Fbe.next().value,mIg=Fbe.next().value;switch(lIg){case "changes":var oIg=gjd(mIg);_.Cb(Dbe,1,oIg)}}_.qk(b,19,_.UN[0],Dbe);break;case "publishChange":for(var lvc=new _.i8c,Gbe=_.m(Object.entries(h)),mvc=Gbe.next();!mvc.done;mvc=Gbe.next()){var Hbe=_.m(mvc.value),pIg=Hbe.next().value,Ibe=Hbe.next().value;switch(pIg){case "oldPublishState":var qIg=hjd(Ibe);_.x(lvc,1,qIg);break;case "newPublishState":var rIg=
hjd(Ibe);_.x(lvc,2,rIg)}}_.qk(b,20,_.UN[0],lvc);break;case "linkShareMetadataChange":for(var Kbe=new _.X7c,Lbe=_.m(Object.entries(h)),nvc=Lbe.next();!nvc.done;nvc=Lbe.next()){var Mbe=_.m(nvc.value),sIg=Mbe.next().value,tIg=Mbe.next().value;switch(sIg){case "securityUpdateEnabled":_.kk(Kbe,1,tIg)}}_.qk(b,21,_.UN[0],Kbe)}}return b},cjd=function(a){var b=new _.$7c;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":_.mk(b,
1,Kid[d])}}return b},djd=function(a){return a.map(function(b){var c=new _.TN;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":_.mk(c,1,uid[e]);break;case "user":d=ZO(e);_.qk(c,2,_.SN[0],d);break;case "group":d=new _.RN;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":_.lk(d,1,h);break;case "title":d.setTitle(h)}}_.qk(c,
3,_.SN[0],d);break;case "domain":c.an(ajd(e));break;case "anyone":d=new e8c;_.qk(c,5,_.SN[0],d);break;case "allowDiscovery":_.kk(c,6,e)}}return c})},ejd=function(a){return a.map(function(b){var c=new _.m8c;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":_.mk(c,1,Eid[e]);break;case "newRestriction":_.mk(c,2,Fid[e])}}return c})},fjd=function(a){return a.map(function(b){var c=new s7c;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=ZO(e);_.x(c,3,d);break;case "addedReviewer":d=ZO(e),_.x(c,4,d)}}return c})},gjd=function(a){return a.map(function(b){var c=new _.e7c;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":c.wd(e);break;case "types":d=ijd(e),_.ek(c,2,d)}}return c})},ijd=function(a){return a.map(function(b){return Iid[b]})},
hjd=function(a){var b=new _.h8c;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":_.mk(b,1,Jid[d]);break;case "signinRequired":_.kk(b,2,d);break;case "publishedTime":c=Pid(d),_.x(b,3,c)}}return b};
var kjd=function(a,b){var c=new qdd;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=jjd(a),_.x(b,2,a));return b},jjd=function(a){_.ZM(["drive#app"],a);var b=(new _.JN).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=I6c(H6c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.A(b,8,a.createUrl);b=_.A(b,9,a.createInFolderTemplate);b=_.A(b,10,a.objectType);b=_.A(b,11,a.supportsCreate);b=_.A(b,12,a.supportsImport);b=_.A(b,13,a.supportsMultiOpen);b=_.A(b,27,a.supportsOfflineCreate);b=
_.A(b,14,a.installed);b=_.A(b,15,a.authorized);b=_.A(b,16,a.productUrl);b=_.ek(b,17,a.primaryFileExtensions);b=_.ek(b,18,a.secondaryFileExtensions);b=_.A(b,19,a.shortDescription);b=_.A(b,20,a.longDescription);b=_.A(b,21,a.productId);b=_.A(b,22,a.removable);b=_.A(b,23,ljd[a.type]);b=_.A(b,25,a.hasAppData);b=_.A(b,26,a.appDataQuotaBytesUsed);b=_.A(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.A(b,30,a.hasDriveWideScope);b=_.A(b,31,a.driveSource);b=_.A(b,32,a.driveBranded);b=_.A(b,33,a.hidden);b=_.A(b,
34,a.supportsMobileBrowser);b=_.A(b,35,a.supportsTeamDrives);b=_.A(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.C6c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,mjd[k.category]);h.call(f,l)}_.Cb(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.ek(b,24,d);c=a.rankingInfo||{};a=new _.F6c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=njd(c.mimeTypeScores||[]);_.Cb(a,2,d);c=njd(c.fileExtensionScores||[]);
_.Cb(a,3,c);_.x(b,29,a);return b},njd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.D6c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},ljd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},mjd={application:1,document:2,documentShared:3};
var pjd=function(a){var b=new med;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.CO).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.$M(c.updateTime));d=_.A(d,4,ojd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.$M(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.$y()){var e=new Zcd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.x(d,6,c)}else 2===d.$y()&&(e=new _.Ycd,e=_.A(e,1,c.deviceName),e=_.A(e,2,c.deviceModelName),
e=_.A(e,3,c.shouldIncludeSpecialSyncItems),c=_.A(e,4,c.deviceAndroidId),_.x(d,7,c));return d});_.Cb(b,2,a);return b},rjd=function(a){var b=new ied;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.DO).Pb(c.id);d=_.A(d,1,qjd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.$cd(d.setSize(c.size),_.$M(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).nm(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Cb(b,1,a);return b},ojd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},qjd={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 sjd=function(a,b){this.H=a;this.O=b};
var tjd={read:2,write:3,comment:4},ujd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.gF((new _.hl).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.oM(d,_.s_c(c.userCapabilities));_.AM(b).includes(19)&&_.rWc(d,!0);obd(a,d,_.AM(b));_.sWc(d,4);return d},wjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Fna;f=_.A(f,2,vjd(e));e=ujd(a,b,e);e=_.x(e,100,f);d.push(e)}});c=(new _.mA).Rw(d).OP(c.suggestionSessionId);return _.$Yc(new _.TM,c)},yjd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=xjd(f.person).Pb(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()===h})||e.push(k);var p=l.itemId,q=d.find(function(r){return r.getId()===p});q||(q=ujd(a,b,l),d.push(q));l=M3c(L3c(K3c(new _.Cna,k.clone()),vjd(l)),l.url);_.tk(q,107,l,_.Cna,void 0)})}});return l5c((new _.JM).Rw(d),e).OP(c.suggestionSessionId)},xjd=function(a){return _.HVc((new _.Sk).Pb(a.id).jd(a.displayName),a.emailAddress).oo(a.photoUrl)},
Ajd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=ujd(a,b,e);e=zjd(e);f=_.Cb(f,117,e);d.push(f)}});c=(new _.mA).Rw(d).OP(c.suggestionSessionId);return _.$Yc(new _.TM,c)},zjd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.jna,e=Bjd(c);e&&_.qk(d,2,_.Vk[0],e);(e=Cjd(c))&&C2c(d,e);(e=Djd(c))&&_.qk(d,4,_.Vk[0],e);(e=Ejd(c))&&_.qk(d,5,_.Vk[0],e);(e=Fjd(c))&&_.qk(d,6,_.Vk[0],e);(e=Gjd(c))&&_.qk(d,7,_.Vk[0],e);(e=Hjd(c))&&_.qk(d,8,_.Vk[0],e);(e=Ijd(c))&&
_.qk(d,9,_.Vk[0],e);(e=Jjd(c))&&_.qk(d,10,_.Vk[0],e);(c=Kjd(c))&&_.qk(d,11,_.Vk[0],c);return d}):(a=$O(a),a=m3c([a]),[C2c(new _.jna,a)])},Mjd=function(a){return(a.justification||[]).map(function(b){return Ljd(b)})},$O=function(a){return(a=a.justification)?Ljd(a):null},Ljd=function(a){var b=z2c(new _.Uk,Njd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=xjd(c),_.qk(b,3,_.ina[0],c),A2c(b,[c])):d?(c=(d.person||[]).map(function(e){return xjd(e)}),d=y2c(c),_.qk(b,4,_.ina[0],d),A2c(b,c)):(c=(a.person||
[]).map(function(e){return xjd(e)}),c.length&&(d=y2c(c),_.qk(b,4,_.ina[0],d),A2c(b,c)));_.A(b,5,_.$M(a.eventTime));B2c(b,Njd(a.justificationDescription));return b},Njd=function(a){if(!a)return null;a=a.textSegment||[];return v2c(new _.gna,a.map(function(b){var c=(new _.Qk).lh(b.text),d=b.link;if(d){var e=new _.Rk;d=_.A(e,1,d.url)}else d=null;c=_.x(c,2,d);c=_.A(c,3,b.bold);return _.A(c,4,b.italic)}))},Bjd=function(a){a=a.documentDocosAction;if(!a)return null;var b=a3c(new _.pna,$O(a));$2c(b,(a.subAction||
[]).map(function(c){var d=new _.rna;c.reply?(c=new _.lna,_.qk(d,1,_.qna[0],c)):c.resolve?(c=new J2c,_.qk(d,2,_.qna[0],c)):c.reassign?(c=new H2c,_.qk(d,3,_.qna[0],c)):c.acceptSuggestion?(c=new D2c,_.qk(d,4,_.qna[0],c)):c.rejectSuggestion?(c=new I2c,_.qk(d,5,_.qna[0],c)):c.openThread&&(c=new _.kna,_.qk(d,6,_.qna[0],c));return d}));_.A(b,2,a.discussionId);_.A(b,3,a.postId);b3c(b,Njd(a.anchorText));return b},Djd=function(a){a=a.documentShareAction;if(!a)return null;var b=e3c(new _.Yk,$O(a));d3c(b,(a.subAction||
[]).map(function(c){var d=new g3c;c.suggestedShare?(c=new N2c,_.qk(d,1,f3c[0],c)):c.responseToRequest&&(c=new K2c,_.qk(d,2,f3c[0],c));return d}));c3c(b,(a.sharee||[]).map(function(c){return xjd(c)}));_.A(b,3,tjd[a.shareeRole]);return b},Cjd=function(a){a=a.documentViewAction;if(!a)return null;var b=m3c(Mjd(a));l3c(b,(a.subAction||[]).map(function(c){var d=new o3c;c.open?d.xg(new tN):c.reviewEdits&&(c=new L2c,_.qk(d,2,n3c[0],c));return d}));return b},Ejd=function(a){a=a.emailViewAction;if(!a)return null;
var b=z3c(new x3c,$O(a));y3c(b,(a.subAction||[]).map(function(c){var d=new B3c;c.openEmail&&d.xg(new F2c);return d}));return b},Fjd=function(a){a=a.calendarEventAction;if(!a)return null;var b=T2c(S2c(R2c(new _.Wk,a.eventId),$O(a)),a.guestCount);Q2c(b,(a.subAction||[]).map(function(c){var d=new V2c;if(c.viewCalendarEvent){var e=new O2c;_.qk(d,1,U2c[0],e)}c.shareWithAttendees&&(e=new M2c,_.qk(d,2,U2c[0],e));c.present&&(e=new G2c,_.qk(d,3,U2c[0],e));c.openDocument&&(c=new tN,_.qk(d,4,U2c[0],c));return d}));
return b},Gjd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=t3c(s3c(new q3c,a.workspaceId),$O(a));r3c(b,(a.subAction||[]).map(function(c){var d=new v3c;c.addToWorkspace&&(c=new E2c,_.qk(d,1,u3c[0],c));return d}));return b},Hjd=function(a){a=a.documentTopicAction;if(!a)return null;var b=i3c(new _.Zk,$O(a));h3c(b,(a.subAction||[]).map(function(c){var d=new k3c;c.openDocument&&(c=new tN,_.qk(d,1,j3c[0],c));return d}));return b},Ijd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=H3c(new _.bl,$O(a));G3c(b,(a.subAction||[]).map(function(c){var d=new J3c;c.openDocument&&(c=new tN,_.qk(d,1,I3c[0],c));return d}));return b},Jjd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=X2c(new _.Xk,$O(a));W2c(b,(a.subAction||[]).map(function(c){var d=new Z2c;c.openDocument&&(c=new tN,_.qk(d,1,Y2c[0],c));return d}));return b},Kjd=function(a){a=a.formResponseAction;if(!a)return null;var b=D3c(new _.al,Mjd(a));C3c(b,(a.subAction||[]).map(function(c){var d=new F3c;c.openDocument?
(c=new tN,_.qk(d,1,E3c[0],c)):c.viewResponses&&(c=new P2c,_.qk(d,2,E3c[0],c));return d}));return b},vjd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var Ojd=function(a,b){this.H=a;this.O=b},Qjd=function(a,b,c){_.ZM(["drive#categoryMetadataList"],c);var d=new IN,e=Object.values(c.categoryMetadata||{});w6c(d,e.map(function(f){return Pjd(a,f,b.Jc())}));d.Dc(1);return new _.MM(d,Pcd(c))},Sjd=function(a,b){var c=new IO;ydd(c,(b.categories||[]).map(function(d){return Rjd(a,d)}));c.Dc(1);return new O8c(c,Pcd(b))},Pjd=function(a,b,c){_.ZM(["drive#categoryMetadata"],b);c=x5c((new CN).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);w5c(c,b.map(function(d){return Tjd(a,
d)}).filter(function(d){return d}));return c},Rjd=function(a,b){var c,d=f6c(X5c(c6c(b6c(a6c(W5c(V5c((new FN).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).nm(b.description),_.$M(b.createTime)),_.$M(b.updateTime)),_.$M(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new S5c).Pb(e.id);h=_.A(h,2,e.queryGuid);h=_.A(h,3,e.helpText);h=_.A(h,4,e.displayName);if(e.attributeDisplayHints){var k=Ujd(e.attributeDisplayHints);_.x(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new A5c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.x(h,6,k)}_.A(h,7,Vjd[f]);e=e[Wjd(f)+"Options"];return Xjd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&Y5c(d,Yjd(b.createdBy));b.updatedBy&&Z5c(d,Yjd(b.updatedBy));b.publishedBy&&$5c(d,Yjd(b.publishedBy));b.displayHints&&d6c(d,Ujd(b.displayHints));b.capabilities&&e6c(d,Zjd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},Tjd=function(a,b){_.ZM(["drive#categoryAttributeValue"],
b);var c=(new AN).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),u5c(c,b.map(function(d){_.ZM(["drive#userScopedAttributeValue"],d);var e=new r5c,f=_.aN(a.H,d.scopedUser);e=_.x(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.MA(9);else if(!a.Jb(c,b))return null;return c},Ujd=function(a){var b=(new z5c).dk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},Zjd=function(a){var b=new U5c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},Xjd=function(a,b,c,d){return $jd(a,function(){akd(a)[c](b,d)},c,b)},bkd=function(a){a=void 0===a?{}:a;var b=new D5c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},dkd=function(a){var b=new J5c;K5c(b,(a.choices||[]).map(function(c){var d=(new I5c).wd(c.label).Jb(c.value);c.description&&d.nm(c.description);if(c.capabilities){var e=c.capabilities;var f=new G5c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.x(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new H5c).dk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=ckd(c.badgeColors),_.x(e,3,f)),c.darkBadgeColors&&(c=ckd(c.darkBadgeColors),_.x(e,4,c)),_.x(d,4,e));return d}));return b},ckd=function(a){var b=new y5c;var c=ekd(a.backgroundColor);b=_.x(b,1,c);c=ekd(a.foregroundColor);b=_.x(b,2,c);a=ekd(a.soloColor);return _.x(b,3,a)},ekd=function(a){var b=new _.TB;b=_.ik(b,1,a.red,0);b=_.ik(b,2,a.green,0);b=_.ik(b,3,a.blue,0);a.alpha&&(a=
(new k4c).Jb(a.alpha),_.x(b,4,a));return b},fkd=function(a){var b=new N5c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},gkd=function(a){var b=(new _.Xna).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};Ojd.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.MA(Vjd[d]);return $jd(this,function(){hkd(c)[d](a,b[b.valueType])},b.valueType)};
var $jd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof P5c))return N4c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Yjd=function(a){return _.FVc(1).Pb(a.personName.split("/")[1])},Wjd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},akd=function(a){return{BOOLEAN:function(b,c){var d=b.f4a;var e=new E5c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.zda(bkd(c))},TEXT_LIST:function(b,c){var d=b.f5a;var e=new M5c;e=_.A(e,1,c.maxEntries);c=bkd(c.options);c=_.x(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new C5c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.qk(b,10,DN[0],c)},SELECTION:function(b,c){return b.T4a(dkd(c))},SELECTION_LIST:function(b,c){var d=b.S4a;var e=new L5c;e=_.A(e,1,c.maxEntries);c=dkd(c.options);c=_.x(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.s4a(fkd(c))},INTEGER_LIST:function(b,
c){var d=b.r4a;var e=new O5c;e=_.A(e,1,c.maxEntries);c=fkd(c.options);c=_.x(e,2,c);return d.call(b,c)},USER:function(b){return b.k5a(new Q5c)},USER_LIST:function(b,c){var d=b.Qpa,e=new R5c;c=_.A(e,1,c.maxEntries);e=new Q5c;c=_.x(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.wpa;var e=new B5c;e=_.A(e,4,c.dateFormat);var f=gkd(c.minValue);e=_.x(e,2,f);c=gkd(c.maxValue);c=_.x(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new P5c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,Vjd[e]);c=c[Wjd(e)+"Options"];Xjd(a,d,e,c);return _.qk(b,16,DN[0],d)}}},hkd=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.Mpa(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.Ipa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Apa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.aN(a.H,c))},USER_LIST:function(b,c){t5c(b,c.map(function(d){return _.aN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Vjd={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 ikd=function(a){a=a.personResponse;return j$c(new i$c,a.map(function(b){var c=b.person;b=f$c(new hO,b.personId);var d=b.jd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=g$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new e$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.x(b,4,c)}))};
var jkd=function(a){this.H=a},lkd=function(a,b){_.ZM(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return kkd(a,c)})},kkd=function(a,b){_.ZM(["drive#teamDrive","drive#drive"],b);var c=new _.Hna,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.A(c,2,d);_.A(c,1,b.backgroundImageLink);_.A(c,3,b.trusted);_.A(c,5,b.backgroundImageGridViewLink);_.A(c,6,b.backgroundImageListViewLink);_.A(c,7,b.hidden);_.A(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
S0c(c,d.map(function(e){_.ZM(["drive#driveCategoryReference"],e);var f=new _.gl;return _.A(f,1,e.category)}));c=_.wWc(_.vWc(_.sWc(_.tWc(R0c(_.gF((new _.hl).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.TVc(_.s_c(b.capabilities),!0),_.oM(c,d));b.permissionsSummary&&_.uWc(c,_.I_c(a.H,b.permissionsSummary));b.restrictions&&U0c(c,mkd(b.restrictions));return c},mkd=function(a){var b=new N3c;b=_.A(b,1,a.copyRequiresWriterPermission);
b=_.A(b,2,a.disallowDriveFileStream);b=_.A(b,3,a.domainUsersOnly);return _.A(b,4,a.teamMembersOnly)};
var nkd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},h2c=_.ab(nkd);
var okd=function(a){_.ZM(["drive#setting"],a);var b=new _.Rb;b=_.A(b,2,a.key);b=_.A(b,1,nkd[a.namespace]);return _.IAa(new _.dp,b).Jb(a.value)};
var qkd=function(a){_.ZM(["drive#workspaceList"],a);var b=a.items||[];b=m$c(new iO,b.map(function(c){return pkd(c)}));return new _.PM(b,Pcd(a))},pkd=function(a){_.ZM(["drive#workspace"],a);var b=(new _.eF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.$M(a.createdDate));return _.A(b,4,_.$M(a.modifiedDate)).Nd(rkd[a.state])},skd=function(a,b,c){var d=c.item||[];return _.y0c(_.x0c(new _.fN,d.map(function(e){return ujd(a,b,e)})),c.suggestionSessionId)},ukd=function(a,b,c){var d=c.item||[];return Q6c(P6c(new LN,
d.map(function(e){return tkd(a,b,e)})),c.suggestionSessionId)},tkd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return N6c(L6c(M6c(K6c(new KN,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return ujd(a,b,f)})),$O(c))},vkd=function(a){var b=new o5c;a.kind&&(a=pkd(a),_.x(b,2,a));b.Dc(1);return b},rkd={active:1,archived:2};
var d2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var wkd=function(a,b,c,d){_.R_c.call(this,b);this.Lg=a;this.ka=c;this.O=d;this.W=null;this.ma=new iid(this.V,b);this.H=new jkd(this.uF);this.oa=new sjd(this.uF,this.H)};_.L(wkd,_.R_c);var xkd=function(a){a.W||(a.W=new Ojd(a.V,a.ka));return a.W};
wkd.prototype.ha=function(a,b){if(a instanceof _.pL)var c=_.A_c(_.W_c(a));else{if(a instanceof _.qL)var d=_.T_c(this,a,b);else{if(a instanceof _.gVc)var e=ykd(this,a.request,b);else{if(a instanceof _.rL)var f=_.T_c(this,a,b);else{if(a instanceof _.tL){if(!b.json)throw _.bN();var h=y6c((new x6c).Dc(1),kkd(this.H,b.json))}else{if(a instanceof _.sL)var k=_.T_c(this,a,b);else{if(a instanceof _.FM)var l=new k6c;else{if(a instanceof _.vL)var p=zkd(a,b);else{if(a instanceof _.xL)var q=kjd(void 0,a.zh());
else{if(a instanceof _.yL)var r=new ned;else{if(a instanceof _.zL)var u=_.A_c(_.W_c(a));else{if(a instanceof _.AL)var y=new HO;else{if(a instanceof _.BL)var z=_.A_c(_.W_c(a));else{if(a instanceof _.CL)var C=_.A_c(_.W_c(a));else{if(a instanceof _.DC){var G=new rdd,I=a.getKey();var M=_.x(G,4,I)}else{if(a instanceof _.DL)var P=zkd(a,b);else{if(a instanceof _.GL)var V=_.A_c(_.W_c(a));else{if(a instanceof _.dVc){if(!b.json)throw _.bN();var pa=new M8c(b.json.exportJob.id)}else{if(a instanceof _.IL){if(!b.json)throw _.bN();
var ia=b.json,qa=new mdd,ta=jjd(ia);var va=_.x(qa,2,ta).Dc(1)}else{if(a instanceof _.JL)var Ya=Akd(a,b);else{if(a instanceof _.KL){if(!b.json)throw _.bN();var Ga=(new HO).Dc(1),Pa=_.B_c(this.uF,b.json);var $b=_.x(Ga,2,Pa)}else{if(a instanceof _.TK)a:{if(!b.json)throw _.bN();if(a instanceof _.TK){var nb=a.zd();if(nb&&_.LL(nb)){var mc=wjd(this.O,this.Lg,b.json);break a}if(nb&&_.ML(nb)){mc=yjd(this.O,this.Lg,b.json);break a}if(nb&&_.NL(nb)){mc=Ajd(this.O,this.Lg,b.json);break a}}mc=_.x_c(this.uF,b.json,
b.headers)}else{if(a instanceof _.OL){if(!b.json)throw _.bN();var Lc=rjd(b.json)}else{if(a instanceof _.PL){if(!b.json)throw _.bN();var yc=b.json;_.ZM(["drive#appList"],yc);for(var be=new gO,Id=[],Xe=yc.items||[],lc=0;lc<Xe.length;lc++)Id.push(jjd(Xe[lc]));var rb=_.Cb(be,2,Id);var yf=_.ek(rb,4,yc.defaultAppIds).Dc(1)}else{if(a instanceof _.eVc){if(!b.json)throw _.bN();var pg=pjd(b.json)}else{if(a instanceof _.fL)var Ce=Bkd(this,b);else{if(a instanceof _.QL){if(!b.json)throw _.bN();var Kh=new pdd,
tf=this.uF,Lh=b.json,Of=new zN,nj=_.C_c(tf,Lh,"items");var De=_.Cb(Of,2,nj);var Ie=_.x(Kh,1,De);var Pg=_.A(Ie,2,Pcd(b.json))}else{if(a instanceof _.RL){if(!b.json)throw _.bN();var Ug=this.uF,Bi=b.json,Zi=new e5c;_.ZM(["drive#revisionList"],Bi);for(var yl=[],pm=Bi.items||[],ji=0;ji<pm.length;ji++){var zf=_.y_c(Ug,pm[ji]);yl.push(zf)}var Ci=_.Cb(Zi,2,yl)}else{if(a instanceof _.wK)var ve=Ckd(a,b);else{if(a instanceof _.TL){if(!b.json)throw _.bN();var oj=ikd(b.json)}else{if(a instanceof _.mVc){if(!b.json)throw _.bN();
var zh=Sjd(xkd(this),b.json)}else{if(a instanceof _.ZE){if(!b.json)throw _.bN();var Zh=xkd(this),Mh=b.json,Uj=new zdd,eh=Rjd(Zh,Mh);var sh=_.x(Uj,2,eh).Dc(1)}else{if(a instanceof _.UL){if(!b.json)throw _.bN();var qg=b.json;_.ZM(["drive#remainingCount"],qg);var dg=new Add,pi=qg.nextPageToken;null!=pi&&_.A(dg,2,Number(pi));_.A(dg,1,Number(qg.remainingCount));var Nh=dg}else{if(a instanceof _.dF){if(!b.json)throw _.bN();var $h=(new _.mA).Rw([kkd(this.H,b.json)])}else{if(a instanceof _.dM){if(!b.json)throw _.bN();
var th=(new _.mA).Rw(lkd(this.H,b.json)),pj=_.$Yc(new _.TM,th);var Ej=_.A(pj,3,Pcd(b.json))}else{if(a instanceof _.YL)var Vj=Akd(a,b);else{if(a instanceof _.ZL)var qj=ykd(this,a,b);else{if(a instanceof _.dL)var Ee=_.T_c(this,a,b);else{if(a instanceof _.$L)var Di=_.T_c(this,a,b);else{if(a instanceof _.aM)var rk=Dkd(this,b);else{if(a instanceof _.EC){if(!b.json)throw _.bN();var sk=okd(b.json),jc=new rdd;var Ag=_.x(jc,3,sk);var we=sk.getKey();var Ei=_.x(Ag,4,we)}else{if(a instanceof _.bM)var eg=zkd(a,
b);else{if(a instanceof _.OK){if(!b.json)throw _.bN();var Wj=mid(this.ma,b.json)}else{if(a instanceof _.fF){if(!b.json)throw _.bN();var fg=pkd(b.json),Pe=new _.KM;Pe.dU().set(fg.getId(),fg);var zl=Pe}else{if(a instanceof _.fVc){if(!b.json)throw _.bN();for(var Fj=b.json,Af=new I8c,Wd=_.m(Object.entries(Fj)),Fi=Wd.next();!Fi.done;Fi=Wd.next()){var Te=_.m(Fi.value),Wl=Te.next().value,Gj=Te.next().value;switch(Wl){case "nextPageToken":_.lk(Af,2,Gj);break;case "activities":var $i=Rid(Gj);_.Cb(Af,1,$i)}}var bf=
Af}else{if(a instanceof _.hVc)var qm=Dkd(this,b);else{if("undefined"!=typeof _.lVc&&a instanceof _.lVc)var rm=Bkd(this,b);else{if(a instanceof _.iVc){if(!b.json)throw _.bN();var Rm=new L8c}else{if(a instanceof _.jVc){if(!b.json)throw _.bN();var Cn=g2c(b)}else{if(a instanceof _.CC){if(!b.json)throw _.bN();var zk=b.json,Rh=new _.Ty;_.ZM(["drive#settingList"],zk);for(var Lj=[],Ak=zk.items||[],$m=0;$m<Ak.length;$m++){var eo=okd(Ak[$m]);eo&&Lj.push(eo)}var an=_.nhb(Rh,Lj)}else{if(a instanceof _.cF){if(!b.json)throw _.bN();
var $l=ukd(this.O,this.Lg,b.json).Dc(1)}else{if(a instanceof _.$E){if(!b.json)throw _.bN();var Dm=skd(this.O,this.Lg,b.json)}else{if(a instanceof _.rVc){if(!b.json)throw _.bN();var xr=b.json;_.ZM(["drive#teamDrive"],xr);var aF=xr.recursiveFolderCount,EI=xr.recursiveFileCount,bF=new edd;var lY=_.A(bF,1,EI);var FI=_.A(lY,2,aF)}else{if(a instanceof _.qVc)var mY=Ekd(b);else{if(a instanceof _.tVc){if(!b.json)throw _.bN();var nY=qkd(b.json)}else nY=a instanceof _.oN?Dkd(this,b):null;mY=nY}FI=mY}Dm=FI}$l=
Dm}an=$l}Cn=an}Rm=Cn}rm=Rm}qm=rm}bf=qm}zl=bf}Wj=zl}eg=Wj}Ei=eg}rk=Ei}Di=rk}Ee=Di}qj=Ee}Vj=qj}Ej=Vj}$h=Ej}Nh=$h}sh=Nh}zh=sh}oj=zh}ve=oj}Ci=ve}Pg=Ci}Ce=Pg}pg=Ce}yf=pg}Lc=yf}mc=Lc}$b=mc}Ya=$b}va=Ya}pa=va}V=pa}P=V}M=P}C=M}z=C}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var zkd=function(a,b){if(!b.json){if(a instanceof _.DL)return vkd({});throw _.bN();}return vkd(b.json)},Dkd=function(a,b){if(!b.json)throw _.bN();a=kkd(a.H,b.json);return(new _.fM).Dc(1).setItem(a)},ykd=function(a,b,c){if(!c.json)throw _.bN();return Qjd(xkd(a),b,c.json)},Akd=function(a,b){if(!b.json)throw _.bN();return kjd(b.json,a.zh())},Bkd=function(a,b){if(!b.json)throw _.bN();a=a.oa;var c=b.json;_.ZM(["drive#about","drive#changeList"],c);b=new c$c;var d=c.nextPageToken;null!=d&&_.A(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.A(b,3,Number(d));if("drive#changeList"==c.kind){_.ZM(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.ZM(["drive#change"],h);var k=new _.WK;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.zUc(k,h.teamDriveId),_.XK(k,h.teamDriveId)):_.XK(k,h.fileId);h.file?k.setItem(_.u_c(f.H,h.file)):h.teamDrive&&k.setItem(kkd(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.hL(k);d.push(k)}_.Cb(b,4,d)}return b},Ekd=function(a){var b,c;if(!a.json)throw _.bN();
a=a.json;var d=a.result&&a.result.status;d=d&&Fkd[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 Rdd(Qdd(Pdd(new _.Odd,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Mdd;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Ldd(Kdd(Jdd(Idd(new JO,Pcd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},Ckd=function(a,b){var c=new ped;if(_.Nd(a,6).length){var d=[];d1c(_.Nd(a,6),b.headers).forEach(function(e,f){var h=new _.yRc;e=_.A(h,1,f).Jb(e);d.push(e)});_.Cb(c,1,d)}qed(c,b.json?JSON.stringify(b.json):b.text);return c},Fkd={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Hkd=function(a){var b=new _.Mo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Gkd[a]);_.CM(b,c.join(" "))}return b.toString()},Ikd={},Gkd=(Ikd[1]="active",Ikd[2]="archived",Ikd);
var Jkd=function(a,b,c,d){_.cN.call(this,b,c,a.YMa,d);this.ma=a;this.ha=new p9c(_.AM(c),b)};_.L(Jkd,_.cN);
Jkd.prototype.V=function(a,b,c){var d=this;try{return _.cN.prototype.V.call(this,a,b,c)}catch(P){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.qL){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.R(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.Q(a,4)&&(k.preflightValidationToken=_.D(a,4));var r=Qcd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.rL){h="POST";q="files/"+a.Jc()+"/authorize";k.appId=a.zh();
_.R(a,3)&&(k.propagate=!0);var u=a.ve();p=!0;_.zM(k);_.iM(this.H,[],[a.Jc()],this.O,f)}else if(a instanceof _.oN)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=YN(this.H,[],!0),u=a.ve(),p=!0;else if(a instanceof _.hVc)h="POST",q="teamdrives/"+a.requestId,k.fields=YN(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.ve(),p=!0;else if(a instanceof _.vL)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Scd(a),f["content-type"]="application/json",u=a.ve(),p=!0;else if(a instanceof _.sL)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.VUc({fields:this.Ng(c),rr:_.MK(_.NK(this.H)),GG:_.SK(this.H)}),k.convert=_.S(a,4,!1),r=Rcd(a),f["content-type"]="application/json",u=a.ve(),a=_.Nd(a,3).concat([a.getId()]),_.iM(this.H,[],a,this.O,f),p=!0,_.zM(k),_.h0c(this.H,k);else if(a instanceof _.xL)h="DELETE",q="apps/"+a.zh(),k.appId=a.zh(),k.deleteAppData=
!!_.R(a,2),u=a.ve(),p=!0;else if(a instanceof _.yL)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.zL)h="DELETE",q="files/"+a.getId(),u=a.ve(),p=!0,_.zM(k),_.h0c(this.H,k),_.iM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.AL)h="DELETE",q="files/"+a.Jc()+"/permissions/"+_.D(a,2),u=a.ve(),p=!0,_.zM(k);else if(a instanceof _.BL)h="DELETE",q="files/"+a.Jc()+"/revisions/"+_.D(a,2),u=a.ve(),p=!0,_.iM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.CL)h="DELETE",q="teamdrives/"+
a.getId(),u=a.ve(),p=!0;else if(a instanceof _.DC)h="DELETE",u=a.getKey(),q="settings/"+_.D(u,2),_.ep(u)&&(k.namespace=h2c[_.ep(u)]),u=a.ve(),p=!0;else if(a instanceof _.DL)h="DELETE",q="workspaces/"+a.getId(),u=a.ve(),p=!0;else if(a instanceof _.GL)h="DELETE",q="files/trash",u=a.zd().ve(),p=!0,_.h0c(this.H,k);else if(a instanceof _.IL)q="apps/"+a.zh(),u=a.ve(),p=!0,k.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 _.OL)q="backups/"+a.getId()+"/items",e=9,k.languageCode=vN(_.NK(this.H));else if(a instanceof _.JL)h="POST",q="apps",k.appId=a.zh(),u=a.ve(),p=!0;else if(a instanceof _.KL)h="POST",q="files/"+a.Jc()+"/permissions",k.fields=_.SK(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",k.emailMessage=
_.D(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.ag()?r.role="owner":3==a.ag()?r.role="writer":4==a.ag()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.ag()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Xa()&&(r.value=a.Xa()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.ve(),p=!0,_.zM(k);else if(a instanceof _.dVc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Nd(a,1).map(function(P){if(_.S(d.H,89,!1)){var V=_.LYc(d.O,P);if(null!==V)return{id:P,resource_key:{resource_key:V}}}return{id:P}}),r={archiveFormat:null,archivePrefix:_.D(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.TK||a instanceof _.FM||a instanceof _.cF||a instanceof _.$E)if(b=a instanceof _.TK?a.zd():a,_.hM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.tM(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=y9c(this.H);z.platformType=y;z.languageCode=vN(_.NK(this.H));z.timeZone=(new _.qt).M$();z.requestType="LIVE_REQUEST";a instanceof _.TK&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.gf?_.LL(b)?(v9c(this.ha)?(z.scenarioType="ONE_PICK",this.Ed.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.rM(b)&&(v9c(this.ha)||(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Nd(b,33)[0]}),_.Kl(b).length&&
(r.itemType=x9c(b))):_.ML(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.NL(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.FM?(q="/v1/userfeedback",r.userFeedback=_.pk(b,_.h6c,1).map(function(P){var V=_.E(P,_.GN,2),pa={},ia={};ia.feedbackType=z6c[V.getType()];pa.item=ia;pa.clientInfo=z;switch(P.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ia.itemId=V.Jc();break;case 3:z.scenarioType="QUICK_ACCESS";ia.itemId=V.Jc();break;case 2:z.scenarioType="DRIVE_WORKSPACES",ia.itemId=V.Jc(),ia.childItem=
_.pk(V,_.GN,3).map(function(qa){var ta={};ta.itemId=qa.Jc();return ta})}return pa})):b instanceof _.cF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.$E?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Qp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.k0c(a);b instanceof _.FM||(r.maxSuggestions=b.Ni(),r.clientInfo=z)}else{u=b.ve();p=!0;q="files";k.q=_.OXc(b);y=[];var C;(C=_.cL(this.H))&&
_.S(C,4,!1)?(C=_.xa(this.Ng(c),this.Ng(c,b.O())),_.Ea(C)):C=_.ya(this.Ng(c));var G=void 0,I=!1;0<_.pk(b,_.Fl,5).length&&(G=_.D(this.H.Zf(),50),I=!0);k.fields=J0c({fields:C,rr:_.MK(_.NK(this.H)),G7:G||void 0,GG:_.SK(this.H),nBb:I});k.appDataFilter="NO_APP_DATA";0<_.pk(b,_.qM,25).length&&(k.sources=_.GXc(b));0<b.pB().length&&(k.spaces=_.HXc(b));a.Un()&&(k.pageToken=a.Un());(a=a.getOptions())&&_.ak(a,1,1E3)&&(k.maxResults=_.ak(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.D(b,43)&&(k.rawUserQuery=
_.D(b,43));_.zM(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Nd(b,33).length&&2==_.rM(b)&&(a=_.Nd(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.nXc[_.rM(b)];_.R(b,18)&&(_.Wa(k,"corpora"),k.corpus="DOMAIN");a=_.Ll(b);C=_.pk(b,_.Al,35);G=_.pk(b,_.Al,38);y=y.concat(a.filter(function(P){return!_.S(P,2,!1)}).map(function(P){return P.Xa()})).concat(C.map(function(P){return P.Xa()})).concat(G.map(function(P){return P.Xa()}));_.iM(this.H,_.pk(b,_.Hl,63),y,this.O,f);f1c(k,b.Ac());_.i0c(this.H,k);_.j0c(this.H,
k);_.E(b,_.aea,64)&&(a=O3c(_.E(b,_.aea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.PL){q="apps";switch(a.getType()){case 1:k.fields=Kkd;break;case 2:k.fields=Lkd;break;case 4:k.fields=Mkd;break;case 3:e=5,q="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",k.appQueryScope="all_webstore",b.lu=!0}k.languageCode=vN(_.NK(this.H));
0<_.Nd(a,3).length&&(k.appFilterExtensions=_.Nd(a,3).join(","));0<_.Nd(a,4).length&&(k.appFilterMimeTypes=_.Nd(a,4).join(","));u=a.ve();p=!0}else if(a instanceof _.eVc)q="backups",e=9,k.languageCode=vN(_.NK(this.H));else if(a instanceof _.fL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.cR(),k.startChangeId=_.D(a,1),k.fields=I0c({fields:this.Ng(c),G7:YN(this.H,_.Nd(a,5)),rr:_.MK(_.NK(this.H)),GG:_.SK(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Nd(this.H.Zf(),31),u.length&&(k.spaces=_.Bb(u,function(P){return _.BRc[P]}).join(",")),_.zM(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.ve(),p=!0;else if(a instanceof _.QL)b=a.zd(),q="files/"+b.getId()+"/permissions",k.fields=_.SK(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.Un()&&(k.pageToken=a.Un()),_.D(a,1)&&(k.maxResults=_.D(a,1)),u=b.ve(),p=!0,_.zM(k),_.i0c(this.H,k),_.j0c(this.H,k),_.iM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.RL)k.fields=_.SK(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))",
k.maxResults=a.Ni(),q="files/"+a.Jc()+"/revisions",u=a.ve(),p=!0,_.iM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.dF)q="teamdrives/"+a.Xm()[0],k.fields=YN(this.H,a.O()),u=a.ve(),p=!0;else if(a instanceof _.qVc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=Tcd(a),f["content-type"]="application/json",p=l=!0,_.iM(this.H,[],_.Nd(a.request,1),this.O,f);else if(a instanceof _.dM)u=a.zd(),q="teamdrives",k.fields=Q8c(this.H,u.O()),k.q=g9c(u),
a.Un()&&(k.pageToken=a.Un()),(u=(u=a.getOptions())&&_.ak(u,1,1E3))&&(k.maxResults=u),u=a.zd().ve(),p=!0;else if(a instanceof _.rVc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.YL)h="PUT",q="apps/"+a.zh(),k.appId=a.zh(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.ve(),p=!0;else if(a instanceof _.dL)h="PUT",q="files/"+a.getId(),k.fields=_.VUc({fields:this.Ng(c),rr:_.MK(_.NK(this.H)),
GG:_.SK(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Nd(a,9).length&&(k.addParents=_.Nd(a,9).join(",")),_.Nd(a,10).length&&(k.removeParents=_.Nd(a,10).join(",")),_.Nd(a,31).length&&(k.addWorkspaces=_.Nd(a,31).join(",")),_.Nd(a,32).length&&(k.removeWorkspaces=_.Nd(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=vN(_.NK(this.H)),r=Ucd(a),f["content-type"]="application/json",u=a.ve(),p=!0,_.zM(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.h0c(this.H,k),b=_.Nd(a,9).concat(_.Nd(a,10)),b.push(a.getId()),_.iM(this.H,_.pk(a,_.Hl,38),b,this.O,f);else if(a instanceof _.$L)h="PUT",q="files/"+a.Jc()+"/revisions/"+_.D(a,2),r=Vcd(a),f["content-type"]="application/json",u=a.ve(),_.iM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.aM)q="teamdrives/"+a.getId(),null!=a.Am()?(h="POST",q+="/"+(a.Am()?"hide":"unhide")):(h="PUT",r=Wcd(a),f["content-type"]="application/json"),k.fields=YN(this.H),u=a.ve(),p=!0;else if(a instanceof
_.bM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Xcd(a),f["content-type"]="application/json",u=a.ve(),p=!0;else if(a instanceof _.EC)h="PUT",r=_.E(a,_.dp,1),u=r.getKey(),q="settings/"+_.D(u,2),(u=_.ep(u))&&(k.namespace=h2c[u]),r=i2c(r),f["content-type"]="application/json",u=a.ve(),p=!0;else if(a instanceof _.OK)q="about",k.fields=_.SK(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",k.fields=l2c(k.fields,this.H),k.fields=m2c(k.fields,this.H),u=a.ve(),p=!0;else if(a instanceof _.wK){e=11;h=a.Lz();q=a.getUrl();var M=_.D(a,5)||"";_.pk(a,_.yRc,2).forEach(function(P){f[P.getKey()]=
P.Xa()});_.pk(a,_.yRc,4).forEach(function(P){k[P.getKey()]=P.Xa()});_.R(a,7)&&(b.vKb=!0);_.R(a,8)&&(b.lu=!0);_.R(a,9)&&(b.Yna=!0)}else a instanceof _.gVc?(b=a.request.Jc(),q="files/"+b+"/listCategoryMetadata",u=a.request.ve(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Ni()&&(k.maxResults=a.request.Ni()),k.fields="kind,nextPageToken,categoryMetadata",_.iM(this.H,[],[b],this.O,f)):a instanceof _.ZL?(f["content-type"]="application/json",h="POST",b=a.Jc(),q="files/"+b+"/updateCategoryMetadata",
u=a.ve(),r={categoryMetadata:a.TV().map(function(P){var V=_.pk(P,_.XE,2).map(function(ia){return{id:ia.getId(),userId:ia.Qz(),setBooleanValue:_.R(ia,3),setTextValue:_.D(ia,4),setTextValues:_.Nd(ia,6),addTextValues:_.Nd(ia,5),setLongTextValue:_.D(ia,7),setSelectionValue:_.D(ia,8),setSelectionValues:_.Nd(ia,10),addSelectionValues:_.Nd(ia,9),setIntegerValue:_.D(ia,11),setIntegerValues:_.Nd(ia,13),addIntegerValues:_.Nd(ia,12),setUserValue:_.D(ia,14),setUserValues:_.Nd(ia,16),addUserValues:_.Nd(ia,15),
setDateStringValue:_.D(ia,17)}}),pa={categoryName:P.Vm()};V.length?pa.categoryAttributeValueDeltas=V:_.Nd(P,4).length?pa.revertAttributeIds=_.Nd(P,4):_.R(P,3)&&(pa.removeCategory=_.R(P,3));return pa})},_.iM(this.H,[],[b],this.O,f)):a instanceof _.TL?(e=13,q=_.MK(_.NK(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.Xm(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=
["DASHER_ADMIN_DISABLED"],_.MK(_.NK(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.mVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Ni()&&(k.maxResults=a.request.Ni()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=vN(_.NK(this.H))):a instanceof _.ZE?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
vN(_.NK(this.H))):a instanceof _.tL?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.ve(),p=!0,k.fields=YN(this.H,[157],!0),r={},b=_.pk(a,_.gl,2),b.length&&(r.addCategoryReferences=b.map(function(P){return{category:P.Vm()}})),a=_.pk(a,_.gl,3),a.length&&(r.removeCategoryReferences=a.map(function(P){return P.Vm()}))):a instanceof _.fF?(q="workspaces/"+a.Xm()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.ve(),p=!0):a instanceof _.fVc?
(e=7,h="POST",q="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.cL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.iVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.jVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.lVc&&a instanceof _.lVc?(q="changes",k.fields="kind,largestChangeId",_.zM(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.CC?(q="settings",u=_.Nd(a,3),k.namespace=j2c(u),u=a.ve(),p=!0):a instanceof _.tVc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Ni()&&(k.maxResults=a.request.Ni()),k.q=Hkd(a.request),(u=a.request.ww())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.ve(),p=!0):a instanceof _.UL?(q="changes/getRemainingCount",k.pageToken=_.D(a,2),_.Q(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.ve()):a instanceof _.pL?(f["content-type"]="application/json",h="POST",q="files/"+a.Jc()+"/sendAccessRequest",r={},l=!0):_.k0c(a);p&&_.l0c(c,k);0!=e||l||u&&_.D(u,1)||_.QM(this.Ed,74438989);return _.m0c(this,e,q,k,f,h,u,r,M)};
Jkd.prototype.W=function(a,b){a=this.ma.tm.H(a);b.expectedParentIds=a?a.rk().join(","):[]};
var Kkd=k2c("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"),Lkd=
k2c("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"),
Mkd=k2c("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 Nkd=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,C,G,I,M,P,V,pa,ia){this.kpa=_.ii();this.gga=new _.AYc;var qa=new _.bZc(this.jK.bind(this),function(){return V("w8KrJc")}),ta=new gid(b.tm),va=new Yhd(qa);c=new Qhd(b,f,new Lhd(d,e,c),h,this.kpa.promise,k,l,c,V);d=new fid(b,p,q,r,u,d,e,C,k);this.O=new _.DYc(a,y);y=new Jkd(b,a,k,pa);this.lta=new wkd(k,a,z,C);this.H=Ocd(a,new _.p_c(this.O,this.gga,y,this.lta,G,I,M),I,z,P,b.tm,this.gga,this.kpa.promise,M||void 0);this.kpa.resolve(ia?ia:new _.OZc(new hid,
ta,va,this.H,qa,c,d,a))};Nkd.prototype.jK=function(){return _.Qa(this.H,function(a){return a.jK()})};var Ued=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=h5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var Okd=function(a,b){var c=this;this.context=a;this.Lg=b;this.ha=null;this.NR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Ed=a.Vk();this.W=new _.zn;this.O=a.Pc;this.Ha=_.cL(this.O)||new _.aL;b=_.wN(this.O);this.va=new _.JYc(_.ak(b,2,37500),_.ak(b,3,6E5));this.ma=a.IQ;_.Ma(J9c,function(d){c.V[d]=[]});kO(a.Ij,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});kO(a.Ij,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});kO(a.Ij,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.oL().catch(_.Nf)})};_.g=Okd.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,TO(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&N4c(a.context.$f(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.mL(c));a.log("Error initializing dump storage");a.rS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.aoa=function(a){this.active&&(this.NR+=a,this.NR>_.ak(_.wN(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.kR().jK()||0<b.yf.LL.Goa||b.Kj().Ze()||b.uk().Ze())||((this.active=a)?(this.W.resolve(),this.H||this.oL().catch(_.Nf)):(this.W=new _.zn,_.n.clearTimeout(this.oa)))}};_.g.rS=function(){this.ka=!0};_.g.PWa=function(){return this.H?this.H.promise:(new _.zn).resolve()};
_.g.oL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.zn;this.H.promise.finally(function(){a.H=null});var b=this.Ed.H(106021)||void 0;this.W.promise.then(function(){return Icd(a.context.ED)}).then(function(c){var d=!c;return a.ka?d:Promise.all([Pkd(a,3,d,void 0,void 0,b),Pkd(a,0,d,void 0,!0,b),Pkd(a,1,d,void 0,!0,b),Pkd(a,5,d,void 0,!0,b),Pkd(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.qc("Failed to update dump",void 0,_.mL(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("ng"))}).then(function(c){a.H.resolve(c);b&&(c=U4c(b),_.A(c,2,!0),b.Xj())},function(c){a.H.reject(c);b&&(c=U4c(b),_.A(c,2,!1),b.Xj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.zn,e=this.Ed.H(106021)||void 0;e&&(C4c(U4c(e),_.HM(_.bUc,a)),d.promise.then(function(){var f=U4c(e);_.A(f,2,!0);e.Xj()},function(){var f=U4c(e);_.A(f,2,!1);e.Xj()}));this.W.promise.then(function(){return Icd(c.context.ED)}).then(function(f){f=!f;c.ka?d.resolve():Pkd(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var Pkd=function(a,b,c,d,e,f){var h=_.fa(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.zn;h.promise.finally(function(){a.Ku(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Ku(b,c,d,e,f);var l={encrypt:c,promise:k.promise};a.V[b].push(l);return k.promise.catch(function(p){a.ma.O.Jf()?a.rS():p instanceof _.qc&&(p=p.O||null,p instanceof _.IK&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.rS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
Okd.prototype.Ku=function(a,b,c,d,e){var f=this,h=new _.zn;this.W.promise.then(function(){if(3===a)Qkd(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.gQ;k=k.H?k.H.clone():null;break;case 1:k=f.context.k_.Lq();break;case 5:k=Rkd(f.context.pE);break;case 6:k=f.context.yf.nr;k=j$c(new i$c,dad(k.H));break;default:h.reject(Error("og"));return}if(k){var l=_.pk(_.wN(f.O),uN,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Gbd(f.ma,b?l:null,
[k],e).then(h.resolve,h.reject)}else d?(f.log("Skipping dump update: "+a),h.resolve()):h.reject(Error("pg"))}});return h};
var Qkd=function(a,b,c,d){_.n.clearTimeout(a.oa);a.oa=_.n.setTimeout((0,_.v)(a.Ka,a),a.va.Xa());if(b&&0===a.NR)return Promise.resolve();a.NR=0;var e=_.pk(_.wN(a.O),uN,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma($6c,function(k){0<k&&(k=Skd(a,k),k.length&&f.push(Gbd(a.ma,c?e:null,k,d)))});var h=new _.zn;Promise.all(f).then(function(){a.Fa&&a.context.ED.set(Gcd,!0);h.resolve()},h.reject);return h.promise};
Okd.prototype.Ka=function(){_.HG(this.va);this.update(3,!0)};
var Skd=function(a,b){switch(b){case 1:return[Tkd(a)];case 2:var c=(b=a.context.yf.cw.H)?b.ey():[];c=Ukd(a,_.Sa(K1c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.ak(_.wN(a.O),5,2E4)&&(b&&mO(b),c=[]);c=U6c(new NN,Vkd(c));var d=a.context.yf.cw;a=new V1c;(d=d.H)&&d.RN&&(d=d.ey(),_.A(a,3,d.length));c=_.x(c,11,a);c=Z6c(c,2);b&&X6c(c,b.VN());return[c];case 3:return Wkd(a);case 4:return Xkd(a);default:throw new _.qc("Unsupported CacheType");}},Tkd=function(a){for(var b={},c=[],d=
O$c(a.context.yf.cw,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.ey(),l=Ukd(a,J1c(k));k=l.length;var p=0<k?l[k-1]:null;_.Ka(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=(new MN).yg(h.zd()),h.H||(_.A(l,2,k),_.x(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return X6c(Z6c(W6c(U6c(V6c(Y6c((new NN).Fu(a.context.Wn()),_.AM(a.Lg)),a.ha.gW(null)),Vkd(d)),c),1),!e)},Wkd=function(a){var b=[],c=a.ha;a.context.yf.cw.mW().forEach(function(d){var e=c.gW(d.Bc());if(e){var f=
Ukd(a,J1c(d.ey()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=X6c(Z6c(V6c(U6c(new NN,Vkd(f)),e),3),d.VN(d.zd()));d=(new MN).yg(d.zd());W6c(e,[d]);b.push(e)}});return b},Xkd=function(a){var b={},c=[];a.context.yf.mW().forEach(function(d){1===d.MJ()&&null==_.R(d.zd(),6)&&(J1c(d.ey()).forEach(function(e){b[e.getId()]=e}),d=S6c((new MN).yg(new _.gf),d.zd()),c.push(d))});return[X6c(Z6c(W6c(U6c(new NN,Vkd(Object.values(b))),c),4),!1)]},Ukd=function(a,b){b=j1c(b);_.R(a.O,67)&&(b=Ykd(b));
_.SK(a.O)&&(_.S(a.Ha,9,!1)?wad(a.context.yf.nr,b)&&(_.QM(a.Ed,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=uad(a.context.yf.nr,b)):b=uad(a.context.yf.nr,b));return b.filter(function(c){return 4!==lN(c)})},Ykd=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,$0c(c)?(c=c.clone(),K0c(c,Z0c),b.push(c)):b.push(c);return b},Vkd=function(a){return a.map(function(b){return b.clone()})};
Okd.prototype.log=function(a,b){this.context.$f().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};Okd.prototype.tEa=function(){this.Fa=!0};
var Zkd=function(){};_.g=Zkd.prototype;_.g.setActive=function(){};_.g.rS=function(){};_.g.update=function(){return Promise.resolve()};_.g.PWa=function(){return Promise.resolve()};_.g.oL=function(){return Promise.resolve()};_.g.aoa=function(){};_.g.tEa=function(){};
var rN=function(a,b,c,d){_.Ki.call(this);var e=this;this.Aa=a;this.bs=c;this.rootId=null;this.Ha=!0;this.ha=null;this.oa=[];this.Ba=d||new _.tXc;this.Pc=b.clone();(a=_.cL(this.Pc))&&_.S(a,1,!1)&&_.bH(this.Pc,28);this.Lg=new _.CXc(this.Pc);this.rn=new p9c(_.AM(this.Lg),this.Pc);$kd(this);this.LX=new _.zn;this.Ab=_.n.setTimeout(function(){e.$f().info("drive.ds.sync.ThinContext","Page stable timed out.");e.LX.resolve();e.Vk().O(106020)},1E4);this.j_=new _.li;this.Fa=new _.dYc(_.uM(this.Pc),_.S(this.Pc.Zf(),
52,!1));this.connectionState=new _.XXc(_.uM(this.Pc)?3:1,!_.S(this.Pc.Zf(),52,!1));this.Ed=_.tYc(this.Pc,this.Fa,this.connectionState,this.Ba,this.LX.promise,this.bs);this.hga=new V9c(this.Ed);this.pQ=new _.li;ald(this)};_.L(rN,_.Ki);rN.prototype.getEnvironment=function(){return this.bs};rN.prototype.iS=function(){this.$f().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.Ab);this.LX.resolve()};
var ald=function(a){var b=function(){a.Hu().Rg(_.Nf)},c=a.Aa;(c=c&&_.kc(c,_.em))?_.Se(c,"w",b):_.gUc()||_.Se(_.n,"unload",b)};rN.prototype.Hu=function(){this.Ed.O(106005);Y4c(this.Ed);var a=this.oa.map(function(b){return b()});_.oa(this.oa);return _.AK(a).then()};var bld=function(a,b){a.oa.push(b)};_.g=rN.prototype;_.g.$f=function(){return this.Ba};_.g.Fu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.j_.callback(a),a.length&&this.O4a(a,b||null))};_.g.O4a=function(){};
_.g.Wn=function(){return this.rootId};_.g.Vk=function(){return this.Ed};var cld=function(a){if(!a.ha)throw Error("qg");return a.ha},dld=function(a,b){a.ha=b};rN.prototype.yB=function(){return this.Ha||this.connectionState.isConnected()};rN.prototype.Kj=function(){return this.Fa};rN.prototype.uk=function(){return this.connectionState};rN.prototype.KNb=function(a){this.pQ.callback(a)};
var $kd=function(a){var b=a.Pc.Zf();0===_.Nd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.F(b,37,""))throw Error("rg");_.D(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.wN(a.Pc),9,!1))if(b=_.pk(_.wN(a.Pc),uN,11),0<b.length){if(!_.D(b[0],1)||!b[0].getKey()&&!_.uM(a.Pc)&&!_.S(a.Pc,10,!1))throw Error("sg");}else _.A(_.wN(a.Pc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.wN(a.Pc),9,!1)&&(_.uM(a.Pc)||_.S(a.Pc,10,!1)))throw Error("tg");var c=_.NK(a.Pc);b=!(!c||!_.MK(c));c=c&&_.sM(c)||"";if(!b&&!c)throw Error("ug");b&&_.hk(a.Pc,44);_.pk(a.Pc,_.gf,44).forEach(function(d){try{t9c(a.rn,d)}catch(e){if(e instanceof _.qc&&(d=e.Sg)&&3===d.jt())throw Error("vg");throw e;}})};rN.prototype.AJ=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,a)))};rN.prototype.log=function(a){this.$f().info("drive.ds.sync.ThinContext",a)};
var eld=function(a,b){this.H=a;this.Re=b};
var fld=new Set([5,4,1,6,2]),gld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),hld=function(a,b,c){_.Ki.call(this);this.ha=a;this.V=b;this.W=c;this.OF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(hld,_.Ki);
hld.prototype.qQ=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())&&_.ep(q))&&f.add(q)});[].concat(_.nd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=fld.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&_.ep(r);r=r&&_.D(r,2);u=k.get(u);r&&u&&u.set(r,ild(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),u=e.OF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.D(z,2)))&&_.xk(y,z)||l++}),[].concat(_.nd(u.values())).forEach(function(y){y=y.getKey();r.has(_.D(y,2))||p++}),e.OF.set(q,r),e.O.set(q,b)):(l+=r.size,e.OF.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,lO(this.V,"px2C2c");lO(this.V,"rkYxSd")}(l||p)&&jld(this,!h)}};
hld.prototype.uD=function(){return 0<this.OF.size};var jld=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 _.xi("WPi0i"))};hld.prototype.put=function(a){var b=a.getKey(),c=b&&_.ep(b);b=b&&_.D(b,2);if(c&&b&&(c=this.OF.get(c))){var d=c.get(b);a=ild(a);d&&_.xk(a,d)||(c.set(b,a),jld(this))}};hld.prototype.remove=function(a){var b=a&&_.ep(a);a=a&&_.D(a,2);b&&a&&(b=this.OF.get(b))&&b.delete(a)&&jld(this)};
var Rkd=function(a,b){var c=[];(b||[].concat(_.nd(a.OF.keys()))).forEach(function(e){(e=a.OF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.OF.has(e)}):[].concat(_.nd(a.OF.keys()));var d=new n5c;_.Cb(d,1,c);_.ek(d,2,b);return d};
hld.prototype.YG=function(a){var b=this,c=Rkd(this,a),d=new _.Ty;d.Dc(this.status);_.nhb(d,_.pk(c,_.dp,1));_.x(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);gld.has(f)&&Infinity>gld.get(f)&&(e=f)});return new eld(d,e)};var ild=function(a){a=a.clone();a.kh()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var kld=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},mld=function(a,b){return lld(a[b])+(lld(a[b+1])<<8)+(lld(a[b+2])<<16)+(lld(a[b+3])<<24)},lld=function(a){return 127<a?a-256:a};
var sN=function(a,b,c,d,e,f){rN.call(this,a,b,c,d);var h=this;this.$a=_.ii();this.vu=new E$c;this.W=null;this.O=_.ii();this.Ka=new _.li;this.y6=null;this.iga=new Mad;this.V=null;this.kb=_.ii();this.va=new _.li;this.YF=new qbd;this.qz=new Uad;this.Oha=new y$c;this.waa=_.ii();this.Oa=!1;this.ka=_.ii();this.H={};this.ma=null;this.Lb=new _.Le;this.Ma(this.Lb);this.Ij=e?e:new x$c(this.$f());this.Vk().W.O=this.Ij;this.ML=_.S(_.wN(b),9,!1)&&n2c()?nld(this,b):null;this.Cw=new i9c(vN(_.NK(b)));this.ED=old(this,
this.ML);this.IQ=pld(this,this.ML,b);this.Us=qld(this);this.yf=new XO(this,this.Lg);(a=(a=_.E(this.Pc,_.hl,12))&&a.getId())&&this.Fu(a,6);this.gQ=new cfd(this.Pc,this.yf.nr,this.Ij,this.$f(),this.Us);this.k_=new hfd(this.$f(),this.Ij,this.Us);this.pE=new hld(this.$f(),this.Ij,this.Us);this.HI=new N9c(this.Lm(),this.$f(),function(k){return void h.AJ(k)});this.az=_.S(this.Pc.Zf(),52,!1)?new _.RM(this.uk(),this.Lm(),this.$f(),this.Vk()):null;kO(this.Ij,["mrK8ic"],function(){h.kb.promise.then(function(){Nfd(h,
h.V)})});this.ZMa=new mbd(this.Pc);this.NA=new _.VYc(this.Pc,this.yf.tm);this.mta=new Hhd(this);this.x6=new Qad(this.O.promise,this.Lm());this.nb=new Sad(this.Lm(),this.x6);this.jga=new ibd(this.O.promise,this.Lm(),this.$f(),this.Pc);this.Ta=new Nkd(this.Pc,this.yf,this.AJ.bind(this),this.x6,this.nb,this.Us,this.iga,this.Lg,this.Wn.bind(this),this.mta,this.k_,this.pE,this.jga,this.YF,this.$f(),this.ZMa,this.NA,this.HI,this.az,this.Kj(),this.Npb.bind(this),this.Vk(),f);this.$a.resolve(this.Ta);this.cKa=
new rhd(this);kO(this.Ij,["BNEDtc"],function(){return h.ka.resolve()});bld(this,function(){h.Us.rS();return _.fi()})};_.L(sN,rN);
var nld=function(a,b){var c=_.sM(_.NK(b)),d=_.tM(b),e=function(){},f=_.pk(_.wN(b),uN,11);f=f[0]&&_.D(f[0],1);var h=new acd(c,d,_.ak(_.wN(b),10,0)||0,f||"",_.AM(a.Lg));_.uM(b)?c=vcd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.ak(_.wN(b),8,432E6)?(b=rld(a,c),c=vcd(c,d,b).then(function(l){return l&&(e=function(p){return p.Il(h).Rg(function(){return null})},!l.ha)?l:h})):c=_.fi(h);var k=new AO(c,a.$f(),a.Vk());k.initialize().then(function(){return e(k)},function(){return null});return k},rld=
function(a,b){var c=_.ak(_.wN(a.Pc),8,432E6);if(!_.uM(a.Pc)&&0<c){a=Math;var d=a.abs;b=_.ima(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+=mld(b,e),h.b+=mld(b,e+4),h.c+=mld(b,e+8),kld(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+=mld(b,e+4);h.a+=mld(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+=mld(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=kld(h);return d.call(a,b)%c}};sN.prototype.Oy=function(a){var b=this;return this.ML?this.ML.Jf()?_.gi(Error("wg`"+hcd(this.ML))):Icd(this.ED).then(function(c){var d=b.ML,e=[];e.push(b.Us.PWa());e.push(a?d.Il():rcd(d));if(a===c)return _.hi(e).then(function(){return!1});!1===a&&(e.push(gcd(d)),(c=b.Wn())&&e.push(b.ED.Fu(c)));return _.hi(e).then(function(){return b.ED.Oy(a)},function(){return!1})}):_.gi(Error("xg"))};
var pld=function(a,b,c){var d=null;b&&(d=new Abd(b,c,function(e){a.AJ(e)},a.Vk()),d.initialize());return d},old=function(a,b){var c=new Hcd(b||void 0);c.Wn().then(function(d){d&&a.Fu(d,5)});b&&(Icd(c).then(function(d){a.Kj().Oy(d)}),_.hi([b.initialize(),a.LX.promise]).then(function(){sld(a,c)},function(){}));return c},sld=function(a,b){Lcd(b).then(function(c){(!c||c<Date.now()-864E5)&&ycd(_.sM(_.NK(a.Pc)),_.tM(a.Pc),a.$f()).then(function(d){d&&(d=Date.now(),b.set(Fcd,d))},function(){})})},qld=function(a){if(!a.IQ)return new Zkd;
var b=new Okd(a,a.Lg);a.Lb.listen(a.Kj(),"Ab",function(c){return void b.setActive(!c.Ze())});a.Lb.listen(a.uk(),[].concat(_.nd(Object.values(_.xA))),function(){return void b.setActive(a.uk().isConnected())});return b};sN.prototype.qY=function(a){this.y6=a;this.Ka.callback(a)};var TO=function(a){return a.Ka.vn()},Ted=function(a){return a.ML?a.ML.Jf():null},tld=function(a,b){a.Ij.H("NSockf")?lO(a.Ij,b):kO(a.Ij,["NSockf"],function(){lO(a.Ij,b)})};
sN.prototype.O4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.vu.Fu(a),this.rn.Fu(a),6!==b&&1!==b||this.ED.Fu(a),tld(this,"jroI5d"))};sN.prototype.OVa=function(){return this.va.vn()};var Nfd=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.kb.resolve()):a.va.dg()||(a.va.callback(b),tld(a,"T8oKm")))},mfd=function(a){if(!a.W)throw Error("yg");return a.W};_.g=sN.prototype;_.g.kR=function(){return this.Ta};_.g.Lm=function(){return this.$a.promise.then(function(a){return a.kpa.promise})};
_.g.sEa=function(){this.Oa||(this.Oa=!0,this.waa.resolve(),lO(this.Ij,"aU7Ts"))};_.g.yB=function(){throw Error("zg");};_.g.Npb=function(a){this.dispatchEvent(a)};var uld=function(a,b){Ygd(a.yf,b)},vld=function(a,b,c){a.H[b]=c},Oed=function(a){a.ma||(a.ma=new $ad(a.O.promise,a.Lm(),a.$f()));return a.ma};
var aP=function(a,b,c){_.Ki.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.li;this.va=this.channel=this.clientId=null;c.then(function(e){return wld(d,e)})};_.L(aP,_.Ki);var wld=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;cO(a.channel,a.Ba,function(c){c=H9c(c);a.baa(c.H,!(!c.data||!c.$b),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};aP.prototype.baa=function(){};
aP.prototype.send=function(a,b,c,d){var e=this,f=new _.li;this.oa.addCallback(function(){var h=e.channel;dO(h,e.Ba,D9c(new C9c(e.clientId,a,b,d),h.W),function(k){return void xld(k,a,f,c||function(){})})});return f};var xld=function(a,b,c,d){a=H9c(a);a.data?c.callback(d(a.data,a.$b)):(a.error?d=a.error:(d=new _.pc,_.YK(d,2),_.ZK(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.qc(void 0,d)))};aP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var yld=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var bP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ka=this.jV()};_.L(bP,_.N);bP.prototype.registerService=function(a){cO(a,this.V,(0,_.v)(this.yw,this))};
bP.prototype.yw=function(a){var b=this;a=E9c(a);var c=a.$b,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof F9c)return G9c(f,c);if(f.then)return f.then(function(h){return G9c(h,c)},function(h){h=_.$K(h);return G9c(b.od(void 0,h),c)})}catch(h){e=_.mL(h)}f=new _.pc;_.YK(f,2);_.ZK(f,3);_.Sp(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return G9c(this.od(void 0,f),c)};
bP.prototype.od=function(a,b,c){if(a&&!b)return new F9c(a,void 0,c);a=_.$K(b);return new F9c(void 0,a,c)};bP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&dO(a,this.V,G9c(this.od(c,d,b),a.W))};
var zld=function(){this.channels={};this.H=this.O=this.V=0},Ald=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},Bld=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var Cld=function(a,b){bP.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.yf;this.O=this.context.jga;this.W=Oed(this.context);this.ka=this.context.x6};_.L(Cld,bP);
Cld.prototype.jV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.gf);return a.$h(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.GK);return a.$h(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.zz);return a.$h(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.dF);return a.$h(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=qN(c.args[0],!!c.$b,_.gf);return a.ek(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.GK);return a.ek(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.zz);return a.ek(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.dF);return a.ek(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=qN(c.args[0],!!c.$b,_.zz);c=qN(c.args[1],!!c.$b,_.zz);return a.pZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=qN(c.args[0],!!c.$b,_.dF);c=qN(c.args[1],!!c.$b,_.dF);return a.pZ(d,e,c)},b["4.7"]=function(c){return a.MF(c)},b["4.8"]=function(c){return a.MF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.jz);return a.$h(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.fF);return a.$h(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.jz);return a.ek(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.fF);return a.ek(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.mF);return a.$h(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.mF);return a.ek(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.cF);return a.$h(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=qN(c.args[0],!!c.$b,_.cF);return a.ek(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.cF){var d=a.W;Kad(d,d.getKey(c)).refresh()}return a.od([])},b};Cld.prototype.$h=function(a,b){var c=this,d=new _.zn;this.H[a]={query:b,VSb:d.promise};b instanceof _.jz?d.resolve(this.O.$h(a,b)):b instanceof _.fF?d.resolve(Iad(this.O,a,b)):b instanceof _.cF?d.resolve(this.W.$h(a,b)):b instanceof _.mF?d.resolve(this.ka.$h(a,b)):d.resolve(this.ha.$h(a,b));return d.promise.then(function(){return c.od([])})};
Cld.prototype.ek=function(a,b){Dld(this,a,b);return this.od([])};var Dld=function(a,b,c){delete a.H[b];c instanceof _.jz?a.O.ek(b,c):c instanceof _.fF?Jad(a.O,b,c):c instanceof _.cF?a.W.ek(b,c):c instanceof _.mF?a.ka.ek(b,c):a.ha.ek(b,c)};_.g=Cld.prototype;_.g.pZ=function(a,b,c){Dld(this,a,b);return this.$h(a,c)};
_.g.MF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.Bi(a.args[0]);c instanceof _.jz?this.O.$h(b,c):c instanceof _.fF?Iad(this.O,b,c):c instanceof _.cF?this.W.$h(b,c):c instanceof _.mF?this.ka.$h(b,c):this.ha.$h(b,c);return this.od([])};
_.g.FO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.bh(a[0]),f=a[1];d.VSb.then(function(h){b instanceof _.PM||b instanceof _.MM?c.update(e,f,[b.response,b.pageToken,b.H,b.Re,h]):(d.query instanceof _.gf?M0c(d.query.O(),b.Hd().filter(function(k){return!ZN(k)})):d.query instanceof _.zz&&M0c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!ZN(k)})),c.update(e,f,[b,h]))})}};
_.g.VX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.bh(c[0]);c=c[1];var d=b.error;d.fga(b.H);this.update(a,c,void 0,d)}};_.g.hA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.bh(a[0]),a[1],["cacheRefresh"]))};_.g.v9=function(){};_.g.pla=function(a){if(!this.H[a])throw Error("Zf`"+a);return this.H[a].query};var Eld=function(a,b){_.Ma(a.H,function(c,d){_.bh(d.split(":")[0])===b&&Dld(a,d,c.query)})};
var Fld=function(a,b,c){aP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Fld,aP);Fld.prototype.Fxa=function(a){var b=this;a=new xed(this.context.rn,this.context.pQ,this.context.$f(),this.context.Pc,function(c,d){return b.MF(c,d)},a,this.context.Vk());Gld(this,a);return a};Fld.prototype.Ixa=function(a){var b=this;a=new Eed(this.context.rn,this.context.pQ,this.context.$f(),function(c,d){return b.MF(c,d)},a,this.context.Pc);Gld(this,a);return a};
var Gld=function(a,b){a.$h(b);_.ze(b,function(){a.ek(b);a.send("4.3",[b.zd()],void 0,b.Pi())});a.send("4.1",[b.zd()],void 0,b.Pi())};_.g=Fld.prototype;_.g.Cxa=function(a){var b=this,c=new Bed(this.context.Pc,this.context.rn,this.context.$f(),this.context.j_,this.pZ.bind(this),a);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.4",[c.zd()],void 0,c.Pi())});this.send("4.2",[c.zd()],void 0,c.Pi());return c};
_.g.Lxa=function(a){var b=this,c=new Ied(a,this,this.context.Pc);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.11",[c.zd()],void 0,c.Pi())});this.send("4.9",[c.zd()],void 0,c.Pi());return c};_.g.Mxa=function(a){var b=this,c=new Jed(this.context,this,a);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.12",[c.zd()],void 0,c.Pi())});this.send("4.10",[c.zd()],void 0,c.Pi());return c};
_.g.Pxa=function(a){var b=this,c=new Med(this.context,a,this);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.15",[c.zd()],void 0,c.Pi())});this.send("4.13",[c.zd()],void 0,c.Pi());return c};_.g.Qxa=function(a){var b=this,c=new Aed(this.context,a);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.16",[c.zd()],void 0,c.Pi())});this.send("4.14",[c.zd()],void 0,c.Pi());return c};
_.g.Jxa=function(a){var b=this,c=new Hed(this.context,a,function(){b.send("4.21",[],void 0,c.Pi())});this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.23",[c.zd()],void 0,c.Pi())});this.send("4.22",[c.zd()],void 0,c.Pi());return c};_.g.zxa=function(a){var b=this,c=new ved(this.context.Kj(),this.context.uk(),this.context.$f(),function(d,e){return b.MF(d,e)},a);this.$h(c);_.ze(c,function(){b.ek(c);b.send("4.19",[c.zd()],void 0,c.Pi())});this.send("4.18",[c.zd()],void 0,c.Pi());return c};
_.g.$h=function(a){this.H.create(a.Pi(),a.zd());this.O[a.Pi()]=a};_.g.ek=function(a){eO(this.H,a.Pi(),4);delete this.O[a.Pi()]};_.g.pZ=function(a,b,c){if(b instanceof _.zz&&c instanceof _.zz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.dF&&c instanceof _.dF)this.send("4.6",[b,c],void 0,a);else throw Error("Ag");};
_.g.MF=function(a,b){if(!this.O[a])throw Error("Zf`"+a);var c=this.O[a];if(c.zd()instanceof _.gf)var d="4.7";else if(c.zd()instanceof _.GK)d="4.8";else if(c.zd()instanceof _.mF)d="4.20";else if(c.zd()instanceof _.jz)d="4.17";else throw Error("Bg");c.zd().Bi(b);this.send(d,[b],void 0,a)};
_.g.baa=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new fO(d,d.r7()),a.rB(b),eO(this.H,a.Pi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.wW();return}var h=a.zd();if(h instanceof _.gf||h instanceof _.GK)h instanceof _.gf&&_.ML(h)?e=qN(d,b,_.JM):e=qN(d,b,_.mA);else if(h instanceof _.zz||h instanceof _.dF)b?(e=new _.IM,o6c(e,function(k){return new _.hl(JSON.parse(k))},d)):e=d;else if(h instanceof _.mF)e=new _.MM(qN(d,b,IN),c[f++],c[f++],c[f++]);else if(h instanceof _.jz)e=new _.PM(qN(d,
b,iO),c[f++],c[f++],c[f++]);else if(h instanceof _.fF)e=qN(d,b,_.KM);else if(h instanceof _.cF)e=qN(d,b,LN);else throw Error("Cg");}e&&(b=f,c&&"boolean"===typeof c[b]&&W9c(this.H,a.Pi(),!!c[b]),Z9c(this.H,a.Pi(),e),a.update(e))}};
var cP=function(){_.Ki.apply(this,arguments);this.commands=new _.rl;this.ha=this.active=this.Bp=!1};_.L(cP,_.Ki);cP.prototype.initialize=function(){this.Bp||(this.Bp=!0,this.V(),this.setActive(!0))};cP.prototype.V=function(){};cP.prototype.setActive=function(a){this.active=a;Hld(this)};var Hld=function(a){if(a.active&&!a.ha){var b=_.sl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.sl(a.commands))}else a.ha=!0,_.ki(a.Ba(b),function(){a.ha=!1;Hld(a)})}};cP.prototype.ka=function(){};
cP.prototype.Ba=function(){};cP.prototype.va=function(){return!0};cP.prototype.enqueue=function(a){try{var b=new _.li;this.commands.enqueue(new Ild(a,b));Hld(this);return b}catch(c){return _.ri(_.mL(c))}};var Ild=function(a,b){this.H=a;this.Kg=b};Ild.prototype.getCommand=function(){return this.H};Ild.prototype.MG=function(){return this.Kg};
var Lld=function(a){cP.call(this);var b=this;this.context=a;this.O=null;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.context,"VMiG2e",function(){return void Jld(b)});this.H=this.context.yf.nr;_.SK(this.context.Pc)&&this.Oc.listen(this.H,"Kb",this.W);var c=a.Ij;kO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Zj(a.Pc.Zf(),17,1)&&(d.push("iuEtc"),kO(c,["mrK8ic"],function(){lO(c,"iuEtc")}));kO(c,d,function(){Kld(b)})};_.L(Lld,cP);Lld.prototype.V=function(){Mld(this)};
var Kld=function(a){if(1===a.context.gQ.Fh().Cb())Promise.resolve();else{var b=_.uf(_.vf(new _.sf,!0),301);b=_.PK(new _.OK,b);a.refresh(b).then(null,function(c){c=_.$K(c);_.A(c,21,"Initial account request failed.");a.context.AJ(c)})}},Jld=function(a){var b=_.uf(new _.sf,304);b=_.PK(new _.OK,b);a.refresh(b).then(null,function(){})};
Lld.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.ki(this.context.Lm().then(function(d){return d.We(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Tk(f))d=_.bL(_.NK(c.context.Pc)),d=Error("Dg`"+d+"`"+_.lF(f)),_.sb(d),_.QM(c.context.Vk(),73301807),d=Promise.reject(d);else{f=c.context.gQ;var h=0===f.Ye()?1:6;_.SK(c.context.Pc)&&oad(c.H,e);h=dfd(f,e,h);(e=e.getMetadata())&&c.context.Fu(_.D(e,2),1);(d=_.D(d,4))&&Nfd(c.context,d,!0);h&&c.dispatchEvent(new _.xi("WPi0i"));
d=Promise.resolve(new _.OM(f.Fh(),f.Ye(),!1))}return d}).then(function(d){return d},function(d){d=_.$K(d);_.A(d,5,1);return Promise.reject(new _.qc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Lld.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.KD&&(c.KD=b.KD);this.refresh(b.request,c).then(function(e){return a.MG().callback(e)},function(e){return void a.MG().Pd(e)})}else if(b=this.context.gQ,c=b.Fh(),_.SK(this.context.Pc)){c=c.Fh();var d=c.getUser();d=sad(this.H,_.lF(d));oad(this.H,c);dfd(b,c,b.Ye())&&this.dispatchEvent(new _.xi("WPi0i"));a.MG().callback(new _.OM(b.Fh(),b.Ye(),d))}else c.Cb(),b=new _.OM(c,b.Ye(),!0),a.MG().callback(b)};
var Mld=function(a){var b=a.context.Pc.Zf();_.n.setTimeout(function(){var c=_.uf(new _.sf,306);c=_.PK(new _.OK,c);a.refresh(c).then(function(){Mld(a)},function(){Mld(a)})},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,3,72E5))};Lld.prototype.W=function(a){var b=this.context.gQ,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.D(d,1)===_.lF(c.getUser())})&&(oad(this.H,c),dfd(b,c,b.Ye())&&this.dispatchEvent(new _.xi("WPi0i")))};var Nld=function(a,b,c){this.request=a;this.H=!!b;this.KD=c||null};
var Pld=function(a){cP.call(this);this.context=a;this.oa=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.context.k_,"Qb",_.vb(this.dispatchEvent,new _.xi("Qb",this)));Old(this)};_.L(Pld,cP);
var Old=function(a){var b=a.context.Ij;kO(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.uM(a.context.Pc)){var c=_.Zj(a.context.Pc.Zf(),18,1);kO(b,["NSockf"],function(){1===c?Qld(a):a.setActive(!0)});2===c&&kO(b,["mrK8ic"],function(){a.W||Qld(a)})}},Qld=function(a){var b=new _.sf;_.vf(b,!0);_.uf(b,301);var c=new _.PL;_.L4c(c,b);_.A(c,1,1);a.refresh(c).Rg(function(){return null})};
Pld.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.ii();this.O=d.promise;_.ki(this.O,function(){c.O=null;Rld(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.PL;_.A(h,1,this.H);_.L4c(h,a.ve());this.context.Lm().then(function(k){return k.We(h,b)}).then(function(k){c.error=null;var l=c.context.k_;l.qQ(k,l.uD()?6:1);d.resolve()},function(k){c.H=e;k=_.wA(k);var l=k.Sg;_.A(l,5,2);f?(_.YK(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Sg,21,"Initial app settings refresh failed."),c.context.AJ(l),c.setActive(!0)):(_.YK(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Sg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};Pld.prototype.va=function(){return!1};
Pld.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.bka,f=c.KD?{KD:c.KD}:void 0;if(!Sld(d))return this.context.Lm().then(function(l){return l.We(d,f)}).then(function(l){a.MG().callback(new _.LM(l,1,!1))},function(l){a.MG().Pd(_.mL(l))}),_.fi();c=_.fi();var h=!1;this.O?Tld(this,d.getType())?e=this.O:c=e=new _.ei(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.oa&&Tld(this,d.getType())&&!this.error?(h=!0,e=_.fi()):e=this.refresh(d,f);
var k=a.MG();e.then(function(){var l=b.context.k_;k.callback(new _.LM(l.Lq(),l.Ye(),h))},function(l){k.Pd(l)});return c.then()};
var Sld=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Nd(a,4),a=_.Nd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Tld=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},Rld=function(a){var b=a.context.Pc.Zf(),c=new _.sf;_.uf(c,306);var d=new _.PL;_.A(d,1,1);_.L4c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,4,72E5))},Uld=function(a,b,c){this.request=a;this.bka=!!b;this.KD=c||null};
var Wld=function(a){cP.call(this);var b=this;this.context=a;this.error=null;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.context.pE,"WPi0i",function(){return b.dispatchEvent(new _.xi("WPi0i"))});this.H=_.ii();this.O=_.Nd(this.context.Pc.Zf(),30);Vld(this)};_.L(Wld,cP);
var Vld=function(a){var b=a.context.Ij;kO(b,["rkYxSd"],function(){return a.initialize()});kO(b,["px2C2c"],function(){a.context.$f().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Zj(a.context.Pc.Zf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&kO(b,["mrK8ic"],function(){lO(b,"OZvrNc")}));!_.S(a.context.Pc,11,!1)&&_.S(a.context.Pc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.pk(Rkd(a.context.pE),_.dp,1).length||(b.H("NSockf")?
lO(b,"DEJoH"):kO(b,["NSockf"],function(){lO(b,"DEJoH")}))},12E3));kO(b,c,function(){if(!b.H("px2C2c")){var e=new _.sf;_.vf(e,!0);_.uf(e,301);var f=new _.CC;_.x(f,1,e);S1c(f,Xld(a));a.query(f).Rg(function(){a.initialize()})}})};Wld.prototype.V=function(){var a="User prefs detected: "+_.pk(Rkd(this.context.pE),_.dp,1).length;this.context.$f().info("drive.ds.sync.userprefs.UserPrefsManager",a);Yld(this)};
Wld.prototype.query=function(a,b){var c=this,d=b?{KD:b}:void 0;return this.context.Lm().then(function(e){return e.We(a,d)}).then(function(e){c.error=null;var f=c.context.pE;f.qQ(_.pk(e,_.dp,3),f.uD()?6:1,_.Nd(a,3))}).then(null,function(e){e=_.wA(e);_.A(e.Sg,5,4);0<c.commands.lc()||c.context.AJ(e.Sg);c.error=e;throw e;})};
Wld.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.MG(),e=new Set([].concat(_.nd(this.context.pE.OF.keys()))),f=_.Nd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.bka=!0);this.error?d.Pd(this.error):c.bka?(S1c(c.request,Xld(this,f)),_.ki(this.H?this.H.promise:this.query(c.request,c.KD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var Xld=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.pE.OF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
Wld.prototype.getData=function(a,b,c){b=this.context.pE.YG(b);a.callback(new _.NM(b.H,b.Re,c))};var Yld=function(a){var b=a.context.Pc.Zf();_.n.setTimeout(function(){var c=new _.CC,d=new _.sf;_.uf(d,306);_.x(c,1,d);S1c(c,Xld(a));_.ki(a.query(c).Rg(_.Nf),function(){Yld(a)})},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,5,72E5))},Zld=function(a,b,c){this.request=a;this.bka=!!b;this.KD=c||null};
var $ld=function(a,b,c,d){bP.call(this,"IS",b);this.context=a;this.Oc=new _.Le(this);this.Ba=_.ii();this.O=null;this.ha=!1;this.W=null;this.Fa=new Sed(a);M1c(this.Fa);this.Ma(this.Oc);this.ka=new Lld(a);this.Ma(this.ka);this.Oc.listen(this.ka,"WPi0i",function(){return c(new red(1))});this.ma=new Pld(a);this.Ma(this.ma);this.Oc.listen(this.ma,"Qb",function(){return c(new red(2))});this.oa=new Wld(a);this.Ma(this.oa);this.Oc.listen(this.oa,"WPi0i",function(){return c(new red(4))});this.Ha=d;this.H=
this.context.Lm()};_.L($ld,bP);_.g=$ld.prototype;
_.g.jV=function(){var a={};return a["3.43"]=this.X_.bind(this),a["3.42"]=this.g8.bind(this),a["3.1"]=this.FN.bind(this),a["3.2"]=this.YG.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.hO.bind(this),a["3.4"]=this.pz.bind(this),a["3.5"]=this.Lq.bind(this),a["3.6"]=this.gS.bind(this),a["3.8"]=this.Il.bind(this),a["3.36"]=this.Oy.bind(this),a["3.9"]=this.qF.bind(this),a["3.10"]=this.Ar.bind(this),a["3.11"]=this.Aaa.bind(this),a["3.12"]=this.M8.bind(this),a["3.13"]=this.sT.bind(this),a["3.14"]=
this.yaa.bind(this),a["3.15"]=this.O8.bind(this),a["3.16"]=this.hu.bind(this),a["3.17"]=this.QDb.bind(this),a["3.18"]=this.UDb.bind(this),a["3.19"]=this.tQ.bind(this),a["3.20"]=this.SDb.bind(this),a["3.25"]=this.RDb.bind(this),a["3.22"]=this.N8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Eoa.bind(this),a["3.29"]=this.byb.bind(this),a["3.40"]=this.WDb.bind(this),a["3.33"]=this.XDb.bind(this),a["3.39"]=this.tP.bind(this),a["3.37"]=this.VDb.bind(this),a["3.38"]=this.Fab.bind(this),a["3.41"]=
this.iS.bind(this),a["3.44"]=this.D0.bind(this),a["3.45"]=this.Vo.bind(this),a["3.46"]=this.h8.bind(this),a};_.g.FN=function(a){var b=this,c=new _.OK(JSON.parse(a.args[0]));a=new Nld(c,a.args[1],this.context.H[a.clientId]);lO(this.context.Ij,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.od([d.response.$b(),d.Re,d.o0])},function(d){return b.od(void 0,d)})};
_.g.YG=function(a){var b=this,c=new _.CC(JSON.parse(a.args[0]));a=new Zld(c,a.args[1],this.context.H[a.clientId]);lO(this.context.Ij,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.od([d.response.$b(),d.Re,d.o0])},function(d){return b.od(void 0,d)})};
_.g.xd=function(a){var b=this,c=new u1c(JSON.parse(a.args[0])),d=_.E(c,_.pL,16)||_.E(c,_.qL,1)||_.E(c,_.rL,2)||_.E(c,_.uL,3)||_.E(c,_.SM,4)||_.E(c,_.sL,5)||_.E(c,_.zL,6)||_.E(c,_.BL,7)||_.E(c,_.CL,8)||_.E(c,_.FL,9)||_.E(c,_.VL,10)||_.E(c,_.WL,11)||_.E(c,_.XL,12)||_.E(c,_.dL,13)||_.E(c,_.$L,14)||_.E(c,_.aM,15)||_.E(c,_.oN,17),e=dP(this,a);return this.H.then(function(f){return f.We(d,e)}).then(function(f){return b.od([f.$b()])},function(f){return b.od(void 0,f)})};
_.g.hO=function(a){var b=this,c=new D1c(JSON.parse(a.args[0])),d=_.E(c,_.vL,1)||_.E(c,_.DL,2)||_.E(c,_.bM,3),e=dP(this,a);return this.H.then(function(f){return f.We(d,e)}).then(function(f){return b.od([f.$b()])},function(f){return b.od(void 0,f)})};
_.g.pz=function(a){var b=this,c=new x1c(JSON.parse(a.args[0])),d=dP(this,a),e=[],f=[];z1c(c).forEach(function(h){h instanceof _.pL?e.push(String(h.Jc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.We(h,d)}))});a=_.AK(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.ki(a,function(){return void phd(b.context.yf)});return a.then(function(h){return b.od([(new k1c(e,h)).$b()])})};
_.g.Lq=function(a){var b=this,c=new _.PL(JSON.parse(a.args[0])),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=dP(this,a);a=this.H.then(function(f){return f.We(c,e)}).then(function(f){return new _.LM(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.LM(f.response,f.Re,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Uld(c,d,this.context.H[a.clientId]),lO(this.context.Ij,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.od([f.response.$b(),f.Re,f.o0])},
function(f){return b.od(void 0,f)})};_.g.gS=function(a){var b=this,c=new A1c(JSON.parse(a.args[0])),d=_.E(c,_.DC,1)||_.E(c,_.EC,2),e=dP(this,a);return this.H.then(function(f){return f.We(d,e)}).then(function(f){return b.od([f.$b()])},function(f){return b.od(void 0,f)})};_.g.Il=function(a){a=a.args[0];if(this.context.az)a?_.PYc(this.context.az,!0):this.context.uk().Ze()&&this.context.az.vM(!0).then(null,function(){});else try{this.context.Kj().Il(a)}catch(b){return this.od(void 0,b)}return this.od([])};
_.g.Oy=function(a){var b=this,c=a.args[0];return this.context.Oy(c).then(function(d){return d?(b.context.Kj().Oy(c),b.Ha(c),b.context.Us.oL().catch(function(){return!c})):_.fi(!c)}).then(function(d){return b.od([d])},function(d){return b.od(void 0,d)})};_.g.sync=function(){var a=this;return _.hi([this.context.waa.promise,this.context.ka.promise]).then(function(){return a.context.Us.oL()}).then(function(){return a.od([])},function(b){return a.od(void 0,b)})};
_.g.qF=function(){try{var a=this.context.y6;a&&a.T4();this.context.Oha.qF();return this.od([])}catch(b){return this.od(void 0,b)}};_.g.iS=function(){this.context.iS();return this.od([])};_.g.Ar=function(a){var b=this,c=new _.IL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.Aaa=function(a){var b=this,c=new _.JL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.M8=function(a){var b=this,c=new _.xL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.sT=function(a){var b=this,c=new _.YL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.yaa=function(a){var b=this,c=new _.KL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return _.SK(b.context.Pc)?rad(b.context.yf.nr,[_.E(e,_.Sk,2)],c.Jc()).then(function(){return e}):e}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.O8=function(a){var b=this,c=new _.AL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.hu=function(a){var b=this,c=new _.RL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d).then(function(f){return _.SK(b.context.Pc)?qad(b.context.yf.nr,f):f})}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.QDb=function(a){var b=this,c=new _.aed(JSON.parse(a.args[0])),d=new _.fVc(c,a.args[1],a.args[2]||void 0),e=dP(this,a);return this.H.then(function(f){return f.We(d,e)}).then(function(f){return b.od([f.$b()])},function(f){return b.od(void 0,f)})};
_.g.UDb=function(a){var b=this,c=new _.QL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d).then(function(f){return _.SK(b.context.Pc)?rad(b.context.yf.nr,_.pk(f.od(),_.Sk,2),c.zd().getId()).then(function(){return f}):f})}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.tQ=function(){var a=this;return(_.S(this.context.Pc.Zf(),52,!1)?_.fi(M9c(new L9c,0)):this.context.HI.tQ()).then(function(b){return a.od([b.$b()])},function(b){return a.od(void 0,b)})};_.g.SDb=function(a){var b=this,c=new _.eVc(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.RDb=function(a){var b=this,c=new _.OL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.N8=function(a){var b=this,c=new _.yL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.Eoa=function(a){var b=this,c=new _.wK(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b(),null])},function(e){return b.od([null,_.$K(e).$b()])})};_.g.byb=function(){return this.od([!0])};_.g.WDb=function(a){var b=this,c=new _.$E(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.XDb=function(a){var b=this,c=new _.cF(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.X_=function(a){a=new _.gf(JSON.parse(a.args[0]));Fgd(this.context.yf,[a]);return this.od([])};
_.g.g8=function(a){var b=this,c=new _.tL(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.tP=function(a){var b=this,c=new _.KO(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return Bad(c,e)}).then(function(e){return b.od(e.map(function(f){return f.$b()}))},function(e){return b.od(void 0,e)})};
_.g.VDb=function(a){var b=this,c=new _.mVc(new _.eTb(JSON.parse(a.args[0])),a.args[1]),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.response.$b(),e.pageToken])},function(e){return b.od(void 0,e)})};_.g.Fab=function(a){var b=this,c=new _.ZE(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.D0=function(a){var b=this,c=new _.FM(JSON.parse(a.args[0])),d=dP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};_.g.Vo=function(a){a=a.args.map(function(b){return new _.WK(JSON.parse(b))});this.context.yf.Vo(a);phd(this.context.yf);return this.od([])};_.g.h8=function(){var a=this,b=this.context.az;return(b?b.vM():_.fi(_.yYc(0))).then(function(c){return a.od([c.$b()])},function(c){return a.od(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.ii();this.context.$f().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Pc.Mi());this.Oc.listen(this.context,_.Cc,function(e){e=e.error;var f=e.Sg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):N4c(a.context.$f(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Ij,c=["hVFf7"];_.uM(this.context.Pc)&&c.push("BNEDtc");kO(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});kO(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){TO(a.context).then(function(e){return void e.start()})};kO(b,["T8oKm","ZA9qG"],function(){return void d()});kO(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();lO(b,"NSockf")}return this.O.promise};_.g.Sba=function(){return this.Ba.promise};_.g.Hu=function(){var a=this.context.y6;a&&a.dispose();return this.context.Hu()};
var dP=function(a,b){return(a=a.context.H[b.clientId])?{KD:a}:{}};
var amd=function(a,b,c){bP.call(this,"DU",b);this.context=a;this.O=c;this.H=new Sed(a)};_.L(amd,bP);_.g=amd.prototype;
_.g.jV=function(){var a=this,b={};return b["5.1"]=function(){return a.Cia()},b["5.2"]=function(c){return a.WM(c)},b["5.4"]=function(c){return a.Fz(c)},b["5.5"]=function(){return a.lR()},b["5.10"]=function(){return a.AN()},b["5.6"]=function(){return a.Vda()},b["5.7"]=function(){return a.dT()},b["5.9"]=function(c){return a.Nqa(c)},b["5.8"]=function(c){return a.u5(c)},b["5.11"]=function(){return a.bqa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Il(c)},b};
_.g.Cia=function(){var a=this;this.context.Us.rS();var b=this.context.Pc;return zcd(_.sM(_.NK(b)),_.tM(b),this.context.$f()).Rg(function(){}).then(function(){return a.od([])})};_.g.WM=function(a){a=this.context.yf.tm.H(a.args[0]);return this.od([a?a.$b():JSON.stringify(null)])};_.g.Fz=function(a){var b=this;return this.context.NA.Fz(a.args[0]).then(function(c){return b.od([c.$b()])})};_.g.lR=function(){for(var a=this.context.NA.lR(),b=[],c=0;c<a.length;c++)b.push(a[c].ie());return this.od([JSON.stringify(b)])};
_.g.u5=function(a){var b=this,c=new _.ITc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.E(c,_.TK,3)||_.E(c,_.dM,4)||_.E(c,_.SM,5)||_.E(c,_.aM,6)||_.E(c,_.CL,7)||_.E(c,_.uL,8)||_.E(c,_.zL,9)||_.E(c,_.dL,10)){var f=T9c(c);return this.context.Lm().then(function(h){return h.We(f,{F7a:d,G7a:e})}).then(this.Gab.bind(this,a),function(h){return b.od(void 0,h)})}return _.fi(this.od(void 0,Error("$f")))};
_.g.Gab=function(a,b){a=[];var c="";if(b instanceof _.TM){a=b.od().Hd();var d=_.D(b,2);c=b.Un()}else if(b instanceof _.fM)b.getItem()&&a.push(b.getItem()),d=b.gN();else return this.od(void 0,Error("ag"));b=[];for(var e=0;e<a.length;e++)b.push(a[e].ie());return this.od([JSON.stringify(b),d,c])};_.g.Nqa=function(){var a=this.context.Pc,b=a.Zf();a="email:"+_.NK(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.od([])};_.g.Vda=function(){this.context.YF.H=new pbd(_.ah().substring(0,8));return this.od([])};
_.g.dT=function(){var a=this.context.YF.AN();if(a){for(var b=[],c=rbd(this.context.YF),d=0;d<c.length;d++)b.push(c[d].ie());a=[a.xea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.YF;b.H=null;b.NY=[];return this.od(a)};_.g.AN=function(){var a=this.context.YF.AN();return this.od(a?[a.xea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.od([b])})};
_.g.bqa=function(){var a=[this.O.Hu(),_.Oi(3E4)];_.ki(_.Eja(a),function(){_.n.setTimeout(function(){self.close()})});return this.od([])};_.g.Il=function(a){this.H.Il(a.args[0]);return this.od([])};
var bmd=function(a,b,c,d,e,f,h){_.dN.call(this,a,b,c,d,f,h);this.H=e;this.Ed=null};_.L(bmd,_.dN);bmd.prototype.CM=function(a,b){var c=this;return _.qi(this.H.then(function(d){return d.b3a(D0c(c.O,c.va,a,b,c.kj,c.ha))},null))};bmd.prototype.ma=function(a,b){var c=this.zd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Fz();e&&(d=_.D(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.aZc(a,b,d))}};
var cmd=function(a,b,c,d,e,f,h,k){bP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Ed=h;this.H={};this.O={};this.Oc=new _.Le(this);this.Ma(this.Oc)};_.L(cmd,bP);_.g=cmd.prototype;
_.g.jV=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.qG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.CM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.od([])},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.od([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=new _.uL(JSON.parse(a.args[0])),e=a.args[1];if(!this.H[c]){var f=new bmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Ed);this.Oc.listen(f,"Lb",_.vb(this.Hab,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.fj(),r=_.ii();b.O[q]=r;b.update(l,p,dmd(3,q,[h,k]));return r.promise}).then(function(h){return b.od([h.$b()])},function(h){return b.od(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.od([])};_.g.qG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].qG();return this.od([])};
_.g.retry=function(a){var b=this,c=a.clientId+":"+a.requestId;if(this.H[c]){var d=a.args[0],e=a.args[1],f=this.H[c].retry(e),h={},k=0;_.Ka(e,function(l){h[l]=f[k++]});_.Ma(h,function(l,p){l.Qf(function(q){b.update(a.clientId,c,dmd(0,d,[p,q.$b()]))},function(q){b.update(a.clientId,c,dmd(1,d,[p,q.Sg.$b()]))})});return this.od([])}return this.od(void 0,_.$K("Could not retry upload."))};
_.g.CM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args[1];return this.H[b]?(b=this.H[b],c=D0c(b.O,b.va,c,a,b.kj,b.ha),this.od([G1c(c)])):this.od(void 0,_.$K("FileUploader not found."))};_.g.Hab=function(a,b,c){this.update(a,b,dmd(2,c.requestId,[c.progress,c.totalBytes]))};var dmd=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var emd=function(a,b){bP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(emd,bP);emd.prototype.jV=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};
emd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=new _.dVc(JSON.parse(a.args[0]));e=new OO(this.O,e);var f=_.xe(e,"Pb",function(h){b.update(a.clientId,c,[h.GPa,h.Iua])});_.ze(e,function(){_.Ii(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.od([h.$b()])},function(h){return b.od(void 0,h)})};emd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.od([])};
var fmd=function(a,b){bP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.ii();this.O=new Xed(a,a.Lg)};_.L(fmd,bP);fmd.prototype.jV=function(){var a=this,b={};return b["6.1"]=function(c){return gmd(a,c)},b["6.2"]=function(c){return hmd(a,c)},b["6.3"]=function(){a.H&&($ed(a.O),a.H=!1,a.W=_.ii());return a.od([])},b};
var gmd=function(a,b){if(!a.H){a.H=!0;var c=[];_.Ka(b.args,function(d){d=new _.hl(JSON.parse(d));c.push(d)});a.O.ql(c);lO(a.context.Ij,"GZTDpc");a.W.resolve()}return a.od([])},hmd=function(a,b){return a.W.promise.then(function(){var c=[];_.Ka(b.args,function(d){d=new _.WK(JSON.parse(d));c.push(d)});Zed(a.O,c);return a.od([])})};
var imd=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("Eg`"+b);a.services.set(b,new _.li)})};imd.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.dg())b.callback(a);else throw Error("Fg`"+a.V);};var jmd=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)})};imd.prototype.Fo=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.dg()})};
var kmd=function(){},lmd={0:2E3,1:3E3,2:5E3},mmd=function(a,b){this.request=a;this.ha=b;this.O=_.ii();this.continuationToken="";this.V=0;this.IE=this.W=!1;this.H=kmd};mmd.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=kmd;b.V=0;return c},function(c){b.H=kmd;b.V=0;return Promise.reject(c)})};
mmd.prototype.sendRequest=function(){var a=this;if(this.IE)this.O.resolve((new JO).Dc(8));else{var b=new _.qVc(this.request,this.continuationToken);this.ha.then(function(c){return c.We(b)}).then(function(c){nmd(a,c)},function(c){a.handleError(c)})}};var nmd=function(a,b){var c;a.continuationToken=null!==(c=b.Un())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},omd(a.V++,a.ka)):a.O.resolve(b)};mmd.prototype.handleError=function(a){a=_.wA(a);this.O.reject(a)};
mmd.prototype.cancel=function(){this.IE=!0};var omd=function(a,b){return b?b:(a=lmd[a])?a:1E4};
var pmd=function(a,b){bP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(pmd,bP);pmd.prototype.jV=function(){var a=this,b={};return b["10.1"]=function(c){return qmd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var qmd=function(a,b){var c=b.clientId+":"+b.requestId,d=new _.Gdd(JSON.parse(b.args[0]));d=new mmd(d,a.O);a.H.set(c,d);return _.ki(d.$g(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.od([e])},function(e){return a.od(void 0,e)}),function(){a.H.delete(c)})};pmd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.od([])};
var eP=function(a,b,c){_.N.call(this);this.H=a;this.bs=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ka=_.ii();this.W=!1;this.Ba=_.ii();this.O=_.ii();this.oa=null;this.va=this.Ta=!1;this.Ab=_.ii();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.YB=Date.now();this.services=new imd;this.Lb=new _.Le(this);this.Ma(this.Lb)};_.L(eP,_.N);eP.prototype.qY=function(a){this.O.promise.then(function(b){b.y6||a.Yi(b)})};
var umd=function(a,b){var c=Ald(a.H,b),d=a.Sb.bind(a,c);cO(b,"8.1",d);b.registerService("8.1",d);cO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return rmd(a,c,f)});cO(b,"8.2",a.Gb.bind(a,c));cO(b,"8.3",a.Nb.bind(a,c));jmd(a.services,b);b.start();smd(a,c,b);a.ka(c,b);var e=[];a.oa||(a.oa=_.hi([a.Ka.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.oa);_.hi(e).then(function(){return void tmd(a,c,b)},function(f){a.Ta=!0;dO(b,"2.2",{err:_.$K(f).$b()},d)})},vmd=function(a){return Math.floor((Date.now()-
a.YB)/1E3)},wmd=function(a,b,c){var d=function(e){dO(b,"2.8",{au:"ib"===e.type})};a.Lb.listen(c.HI,["ib","jb"],d);_.ze(b,a.Lb.Wc.bind(a.Lb,c.HI,["ib","jb"],d))},xmd=function(a,b,c){var d=c.uk(),e=[].concat(_.nd(Object.values(_.xA))),f=function(h){dO(b,"2.19",{cs:h.connectionState})};a.Lb.listen(d,e,f);_.ze(b,function(){a.Lb.Wc(d,e,f)})};
eP.prototype.Sb=function(a){var b=Bld(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Eld(d,a)}),b.dispose(),this.log(_.et("Client %d disconnected (num clients remaining: %d)",a,_.Ra(this.H.channels))),0===_.Ra(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.ki(d.Hu(),c)})}};
eP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.fi();var c=new _.Vb(JSON.parse(b.dsc));_.A(c,24,!1);this.Ha||(this.Ha=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){vld(d,a,_.F(c.Zf(),37,""));uld(d,_.Nd(c,28));d.yf.kma(_.pk(c,_.Hl,91));return d.LX.promise.then(function(){Fgd(d.yf,_.pk(c,_.gf,44))})},function(){})};
eP.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 Mfd(e,e.Lg);e.$g(d);e.dispose();(e=c.H.channels[a]||null)&&dO(e,"2.16")})}};eP.prototype.Nb=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){ymd(new pgd(h),e);(h=c.H.channels[a]||null)&&dO(h,"2.17",{t:f})})}};
var ymd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.$g(c)});a.dispose()};eP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={bfa:b.bfa,Bfa:b.Bfa},d=c.next())b.bfa=d.value,b.Bfa=_.ii(),dO(b.bfa,"2.12",void 0,function(e){return function(){e.bfa.dispose();e.Bfa.resolve()}}(b)),a.push(b.Bfa.promise);return _.hi(a).then()};
eP.prototype.initialize=function(a){var b=this;a=a[0];_.EWc(a,this.fields);var c=_.E(a,_.jL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new sN(null,a,this.bs,c,void 0,void 0),e=d.Vk().H(106E3);bld(d,this.$a.bind(this));this.Lb.listen(d.Kj(),"Ab",function(k){k={os:k.Ze()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())dO(p.value,"2.6",k)});this.Lb.listen(d,_.Cc,this.nb);this.Lb.listen(d,"w8KrJc",this.Nc);Q9c(d.HI,this.ka.bind(this));var f=d.az;f&&b5c(f,function(){return b.ka()});
this.O.resolve(d);var h=zmd(this,d,new $ld(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Fc,this)));e&&h.then(function(){return e&&e.Xj()});return h}catch(k){return _.gi(k)}};
var zmd=function(a,b,c){a.services.activate(c);a.services.activate(new Cld(b,a.H));a.services.activate(new amd(b,a.H,c));a.services.activate(new fmd(b,a.H));a.services.activate(new cmd(b.Pc,b.NA,b.kR().gga,b.Lm(),b.pQ,b.$f(),b.Vk(),a.H));a.services.activate(new emd(b.Lm(),a.H));a.services.activate(new pmd(b.Lm(),a.H));return c.initialize()},tmd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.et("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));dO(c,"2.2",{id:b,
clients:d,uptimeSec:vmd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.j_.addCallback(function(f){c.isDisposed()||dO(c,"2.5",{id:f})});1<d&&TO(e).addCallback(function(f){return f.axa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Sba().then(function(){c.isDisposed()||dO(c,"2.14")})});wmd(a,c,e);xmd(a,c,e)})};eP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())dO(c.value,"2.15",a)};
eP.prototype.Fc=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){dO(c,"2.18",b)})};eP.prototype.nb=function(a){a={p:a.error.Sg.$b()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())dO(c.value,"2.10",a)};eP.prototype.Nc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())dO(b.value,"2.7")};var smd=function(a,b,c){a.ha.has(b)?_.fi():new _.ei(function(d){dO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
eP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.gi(Error("Gg"));if(this.W&&this.Fa.has(a))return _.fi()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.gi(Error("Hg"));var d=_.ii();b.send("1.1",void 0,function(e){rmd(c,a,e);d.resolve()});return d.promise};var rmd=function(a,b,c){_.Ma(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())};
eP.prototype.log=function(a){this.O.promise.then(function(b){return b.$f().info("drive.ds.sync.cacheproxy.Worker",a)})};
var Amd=function(a,b){aP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(Amd,aP);_.g=Amd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.jL,58)};_.g.getContext=function(){return this.context};_.g.Fz=function(){return this.send("5.4",[this.H],function(a){return new _.sXc(JSON.parse(a[0]))})};_.g.$f=function(){return this.context.$f()};_.g.WM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.hl(b)})};
_.g.lR=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.ITc(a[c]));return b})};_.g.u5=function(a,b,c){return this.send("5.8",[a.$b(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.hl(e[k]));return{items:h,cja:f,pageToken:d}})};_.g.Nqa=function(){this.send("5.9",[])};_.g.Cia=function(){this.send("5.1",[])};_.g.I9=function(){return _.kUc[_.Zj(this.context.Pc.Zf(),8,0)]};
_.g.Vda=function(){this.send("5.6",[])};_.g.dT=function(){return this.send("5.7",[],function(a){if(0===a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new U9c(a[e]));return{traceId:new pbd(b,c),spanRecs:d}})};_.g.AN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new pbd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.bqa=function(){this.send("5.11",[])};
_.g.Il=function(a){this.send("5.13",[a])};
var Bmd=function(a,b){aP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(Bmd,aP);Bmd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request.$b()],function(b){return new ged(JSON.parse(b[0]))},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};
Bmd.prototype.cancel=function(){this.send("9.2",[this.request.$b()],void 0,this.id)};Bmd.prototype.baa=function(a,b,c){this.dispatchEvent(new sed(c[0],c[1]))};
var Cmd=function(a){aP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(Cmd,aP);Cmd.prototype.tY=function(a){if(this.H=a){a=this.V.bind(this);var b=this.O.bind(this);this.log("Querying all offline items.");this.H.KV().Qf(a,b);this.H.$_((0,_.v)(this.W,this))}else this.send("6.3",[])};Cmd.prototype.V=function(a){var b=[];_.Ka(a,function(c){b.push(c.$b())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};Cmd.prototype.O=function(){this.log("Error fetching offline items.")};
Cmd.prototype.W=function(a){var b=[];_.Ka(a,function(c){b.push(c.$b())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var Dmd=function(a,b){uO.call(this,a,b)};_.L(Dmd,uO);Dmd.prototype.Sia=function(a,b,c){return new _.mVc(a,c)};Dmd.prototype.jla=function(a){return a.pageToken||""};Dmd.prototype.vka=function(a){return a.response.O()};Dmd.prototype.w6=function(){};
var Emd=function(a,b,c){NO.call(this,a.Kj(),a.uk(),b.Ni()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new Dmd(this.request,this.ka)};_.L(Emd,NO);_.g=Emd.prototype;_.g.$G=function(){this.V.$g().then(this.Iab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return ydd(new IO,this.O).Dc(this.status)};_.g.ks=function(){return new wdd};_.g.Sj=function(){return!this.Ze()&&(!this.H||Dad(this.V))};_.g.Iab=function(a){this.changed=this.H=!0;this.O=a;this.St()};
_.g.St=function(){if(this.active){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};_.g.lc=function(){return this.O.length};
var Fmd=function(a,b,c){NO.call(this,a.Kj(),a.uk(),b.Ni()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.JRc;this.suggestionSessionId=null;this.ka=c};_.L(Fmd,NO);_.g=Fmd.prototype;_.g.$G=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.ik();a.suggestionSessionId=b.Vf();a.St()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.y0c(_.x0c((new _.fN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ks=function(){var a=this.V.Gz(this.O,this.data);this.O=this.data;var b=(new Cdd).Dc(this.status);return _.Cb(b,2,a)};_.g.rP=function(){};_.g.St=function(){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))};_.g.lc=function(){return this.data.length};
var Gmd=function(){};_.g=Gmd.prototype;_.g.FM=function(a,b){b=Ydd(1).setPosition(b);_.x(b,2,a);return b};_.g.DM=function(a,b){b=Ydd(2).setPosition(b);_.x(b,2,a);return b};_.g.NE=function(a,b,c){b=Ydd(3).Py(b).setPosition(c);_.x(b,2,a);return b};_.g.BQ=function(a,b){b=Ydd(4).setPosition(b);_.x(b,2,a);return b};_.g.iN=function(a){return _.E(a,_.G8c,2)};
var Imd=function(){_.xK.call(this,new Gmd,function(a){return Hmd(a)})};_.L(Imd,_.xK);var Hmd=function(a){switch(_.Xj(a,F8c[0])){case 6:return _.ex(_.E(a,_.dx,6)).getTime().toString();case 7:var b=_.E(a,_.WN,7);a=_.E(b,_.dx,1);b=b.Dr();return a&&b?(a=_.ex(a).getTime(),_.ex(b).getTime()+"--"+a):"";default:return""}},Kmd=function(){Jmd||(Jmd=new Imd);return Jmd},Jmd;
var Lmd=function(a,b,c,d){NO.call(this,b.Kj(),b.uk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.JYc(_.ak(b.Pc.Zf(),6,1E3));this.oa=c};_.L(Lmd,NO);_.g=Lmd.prototype;_.g.activate=function(){NO.prototype.activate.call(this);this.St()};_.g.$G=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Lr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;NO.prototype.Lr.call(this,a)};
_.g.getData=function(){var a=(new ced).Dc(this.status);_.Cb(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ks=function(){var a=Kmd().Gz(this.ka,this.O),b=new $dd;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.Sj=function(){return!this.Ze()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.zd=function(){return this.request};_.g.$Ma=function(a){this.dispatchEvent(new _.rc(a));this.V=!1};
_.g.Qxb=function(a,b){this.H=!0;var c=_.pk(b,_.G8c,1);this.O=this.O.concat(c);this.token=b.ly()||"";0<c.length&&(this.changed=!0);this.St();this.page(a)};_.g.iyb=function(a){Kmd();this.H=!0;var b=_.pk(a,_.G8c,1);xN(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ly()||"",this.changed=!0,this.St(),this.page()):(this.V=!1,Mmd(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Sj()&&this.O.length<this.limit?this.oa(this.request,this.limit-this.O.length,this.token).Qf(_.vb(this.Qxb,a),this.$Ma,this):(this.V=!1,a&&a.callback(),Mmd(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Qf(this.iyb,this.$Ma,this))};_.g.St=function(){if(this.active){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};
_.g.KL=function(){this.Ze()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.rP=function(){this.active&&this.Sj()&&!this.V&&this.page(new _.li)};var Mmd=function(a){_.R(a.request,3)||(_.HG(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Xa()))};Lmd.prototype.lc=function(){return this.O.length};
var Nmd=function(){};_.g=Nmd.prototype;_.g.FM=function(a,b){return eed(ded(1),a).setPosition(b)};_.g.DM=function(a,b){return eed(ded(2).setPosition(b),a)};_.g.NE=function(a,b,c){return eed(ded(3).Py(b).setPosition(c),a)};_.g.BQ=function(a,b){return eed(ded(4),a).setPosition(b)};_.g.iN=function(a){return _.E(a,_.CO,2)};
var Omd=function(){_.xK.call(this,new Nmd,function(a){return a.getId()})};_.L(Omd,_.xK);var Qmd=function(){Pmd||(Pmd=new Omd);return Pmd},Pmd;
var Rmd=function(a,b,c){NO.call(this,b.Kj(),b.uk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.JYc(_.ak(b.Pc.Zf(),54,1E3));this.ma=c};_.L(Rmd,NO);_.g=Rmd.prototype;_.g.activate=function(){NO.prototype.activate.call(this);this.St()};_.g.$G=function(){this.poll()};_.g.getData=function(){var a=new med;a=_.Cb(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.ks=function(){var a=Qmd().Gz(this.ka,this.O),b=new ked;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};
_.g.Sj=function(){return!this.Ze()&&!this.H};_.g.poll=function(){var a=new _.li;this.ma(this.request).Qf(_.vb(this.Kab,a),_.vb(this.Jab,a),this);return a};_.g.Jab=function(a,b){this.dispatchEvent(new _.rc(b));a.Pd(b);Smd(this)};_.g.Kab=function(a,b){this.H=!0;b=_.pk(b,_.CO,2);xN(Qmd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.St();a.callback();Smd(this)};
_.g.St=function(){if(this.active){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};_.g.rP=function(){};var Smd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Xa()),_.HG(a.V))};Rmd.prototype.lc=function(){return this.O.length};
var Tmd=function(){};_.g=Tmd.prototype;_.g.FM=function(a,b){return hdd(gdd(1),a).setPosition(b)};_.g.DM=function(a,b){return hdd(gdd(2).setPosition(b),a)};_.g.NE=function(a,b,c){return hdd(gdd(3).Py(b).setPosition(c),a)};_.g.BQ=function(a,b){return hdd(gdd(4),a).setPosition(b)};_.g.iN=function(a){return _.E(a,_.Sk,2)};
var Umd=function(){_.xK.call(this,new Tmd,function(a){return a.getId()})};_.L(Umd,_.xK);_.Pf(Umd);
var fP=function(a,b,c){_.Ki.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(fP,_.Ki);fP.prototype.Bi=function(a){this.limit=a};fP.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Vmd(this)};fP.prototype.lla=function(){return this.permissions};
var Vmd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.QL;c=_.x(c,3,a.request);c=_.A(c,2,a.nextPageToken);b=_.A(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};fP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Un()||"";a=_.pk(a.od(),_.Sk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return Vmd(this);this.dispatchEvent("Fb")};
fP.prototype.handleError=function(a){this.H=!1;a=new fO(_.$K(a),_.ak(this.context.Pc.Zf(),1,1));this.dispatchEvent(a)};
var Wmd=function(a,b,c,d){NO.call(this,b.Kj(),b.uk(),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 fP(b,this.request,this.ma);_.ze(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(Wmd,NO);_.g=Wmd.prototype;_.g.activate=function(){NO.prototype.activate.call(this);this.St()};_.g.$G=function(){this.query()};_.g.Lr=function(a){NO.prototype.Lr.call(this,a||100)};
_.g.getData=function(){var a=new zN;a=_.Cb(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ks=function(){var a=Umd.Fb().Gz(this.ka,this.permissions),b=new odd;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Sj=function(){var a;(a=!this.Ze())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.zd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new fP(this.context,this.request,this.ma);this.O.Bi(this.limit);return this.O.$g().then(function(){return Xmd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){NO.prototype.handleError.call(this,a);Ymd(this)};var Xmd=function(a){a.H=!0;var b=a.O.lla();xN(Umd.Fb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.St();Ymd(a)};
Wmd.prototype.St=function(){if(this.active){var a=this.status;this.KL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};Wmd.prototype.rP=function(){var a=this;this.O.Bi(this.limit);this.O.$g().then(function(){return Xmd(a)},function(b){return a.handleError(b)})};var Ymd=function(a){if(a.active){var b=a.context.Pc.Zf();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,15,36E5))}};Wmd.prototype.lc=function(){return this.permissions.length};
var Zmd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.xi(_.Dc,a))},0)};
var $md=function(){},and=function(a,b){aP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=$md;this.H=null;this.id=String(_.Da(this))};_.L(and,aP);and.prototype.baa=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(qN(a,b,JO)))};and.prototype.$g=function(a){var b=this;a=void 0===a?$md:a;this.H||(this.O=a,this.H=_.ii(),this.send("10.1",[this.request.$b()],function(c,d){c=qN(c[0],d,JO);b.H.resolve(c)},this.id).Ig(function(c){b.H.reject(c)}));return this.H.promise};
and.prototype.cancel=function(){this.send("10.2",[this.request.$b()],void 0,this.id)};
var bnd=function(a,b,c){_.Ki.call(this);this.instanceId=a;this.H=b;this.V=c;this.Au={};this.O={};_.ze(this,(0,_.v)(this.Lab,this))};_.L(bnd,_.Ki);_.g=bnd.prototype;_.g.getId=function(){return this.instanceId};_.g.AQ=function(){return _.zK()};_.g.upload=function(a,b){!_.D(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.JWc;_.A(d,1,b.size);_.x(a,15,d);this.O[a.fj()]=b}return this.H("7.1",[a.$b(),c],function(e){return new _.fM(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.H("7.2",[a])};_.g.qG=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 _.li;c=this.AQ();this.Au[c]=b;this.H("7.4",[c].concat(_.nd(a)));return _.Sa(b)};_.g.CM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.nd(b)),function(d){return H1c(d[0])}).addCallback(function(d){return _.qi(c.V.then(function(e){return e.b3a(d)}))})};_.g.Lab=function(){this.H("7.6",[])};
var cnd=function(a,b,c,d){if(a.Au[b]&&a.Au[b][c]){var e=a.Au[b][c];d instanceof _.fM?e.callback(d):e.Pd(d);delete a.Au[b][c];_.Va(a.Au[b])&&delete a.Au[b]}};
var dnd=function(a,b){aP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(dnd,aP);var end=function(a){var b=_.zK(),c=new bnd(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.ze(c,function(){return void a.H.delete(b)});return c};
dnd.prototype.baa=function(a,b,c){if((a=this.H.get(a))&&c){b=c[1];var d=c.slice(2);switch(c[0]){case 3:c=d[0];d=d[1];d=Math.min(d,1073741824);var e=a.O[b];a.H("7.7",[b,_.RUc(e,c,Math.min(e.size,c+d))]);break;case 0:c=new _.fM(JSON.parse(d[1]));cnd(a,b,d[0],c);break;case 1:c=new _.qc(void 0,new _.pc(JSON.parse(d[1])));cnd(a,b,d[0],c);break;case 2:a.dispatchEvent(new _.aZc(b,d[0],d[1]));break;default:throw Error("Ig");}}};
var fnd=function(a,b){if(0===a.length)throw new _.qc("mutateUserPref requires a namespace.",_.lL(3));var c=null;b instanceof _.EC?c=(b=(b=_.E(b,_.dp,1))&&b.getKey())&&_.ep(b)||null:b instanceof _.DC&&(c=(b=b.getKey())&&_.ep(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.qc("mutateUserPref unsupported for namespace: "+c,_.lL(3));};
var gnd=function(a){this.H=a};
var o2c=function(a){aP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(hnd=_.ii()).promise);var b=this;this.Zn=null;this.Ka=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.zn;this.Ha=new _.zn;this.V=hnd;hnd=void 0;this.context=a;dld(this.context,new Cmd(this.V.promise));Q4c(this.context.Lg,_.Nd(this.context.Pc,28));this.H=this.context.hga;this.O=new Fld(this.V.promise,this.context,this.H);this.nb=new dnd(this.V.promise,this.context.pQ);this.Fa=new Amd(this.V.promise,this.context);
this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.context.uk(),[].concat(_.nd(Object.values(_.xA))),function(c){return void b.dispatchEvent(c)})},hnd;_.L(o2c,aP);
o2c.prototype.initialize=function(){var a=this;if(!this.Zn){this.Zn=_.fi(this.oa);var b=this.context.Vk().H(106E3);this.Zn.then(function(){b&&b.Xj();a.T1a()},function(){_.QM(a.context.Vk(),181008852)});var c=_.uM(this.context.Pc)?"(coldstart) ":"";this.context.$f().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Pc.Mi());var d=t1c(this.context.Pc,this.Pi(),_.AM(this.context.Lg));ind(this,d);2===d.H?(c=new eP(new zld,6,this.context.$f()),umd(c,d.O),this.Ha.resolve(c)):
M1c(this.Fa);this.context.$f().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();bld(this.context,function(){return jnd(d.channel)})}return this.Zn};
var jnd=function(a){return _.Eja([new _.ei(function(b){a.isDisposed()||dO(a,"8.1",void 0,function(){a.dispose();b()})}),_.Oi(1E4)])},ind=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",(0,_.v)(a.Ab,a)):c.registerService("1.1",function(){return knd(a,b)});2===b.H?a.Ha.promise.then(function(){return void lnd(a,b)}):lnd(a,b);cO(c,"2.1",function(){return{dsc:a.context.Pc.$b()}});cO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new yld(d.id,c,a.context.$f(),d.clients)),d.dsp&&mnd(c),
d.ivd&&nnd(a,c)):(d=new _.pc(JSON.parse(d.err)),a.oa.Pd(new _.qc("Unable to initialize dataservice.",d)))});cO(c,"2.15",function(d){a.dispatchEvent(new red(d.dt))});cO(c,"2.5",function(d){a.context.Fu(d.id)});cO(c,"2.6",function(d){a.context.Kj().Il(d.os)});cO(c,"2.18",function(d){a.context.Kj().Oy(d.oois)});cO(c,"2.7",function(){a.ma=!1});cO(c,"2.8",function(d){a.context.Ha=d.au;a.dispatchEvent(new p5c(d.au?"ib":"jb"))});cO(c,"2.19",function(d){a.context.uk().update(d.cs)});cO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.et("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.$f().config(e,d);break;case "fine":_.yM(a.context.$f(),e,d,"fine");break;case "finer":_.yM(a.context.$f(),e,d,"finer");break;case "finest":_.yM(a.context.$f(),e,d,"finest");break;case "info":a.context.$f().info(e,d);break;case "warning":case "severe":N4c(a.context.$f(),e,d);break;default:N4c(a.context.$f(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),N4c(a.context.$f(),e,d)}});cO(c,"2.10",
function(d){return void a.$$(d)});cO(c,"2.12",function(){a.Ka=!0;gP(a)});cO(c,"2.14",function(){return a.$a.resolve()});cO(c,"2.16",function(){return a.Ta=!0});cO(c,"2.17",function(d){a.context.$f().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},lnd=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",knd(a,b));dO(b.channel,"8.4",{dsc:a.context.Pc.$b()});mnd(b.channel);nnd(a,b.channel)},mnd=function(a){_.n._DRIVE_dsp&&dO(a,"8.3",{dsp:ond(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];dO(a,"8.3",{dsp:ond(c)})}}},nnd=function(a,b){_.S(a.context.Pc,24,!1)&&(_.n._DRIVE_ivd?dO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&dO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},knd=function(a,b){var c={};if(1===b.H){var d=new _.AOa(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.Pc.Mi(),
ufds:b.V}};o2c.prototype.Ab=function(){return{uid:this.Pi(),fds:_.AM(this.context.Lg)}};o2c.prototype.Pi=function(){var a=_.hk(_.hk(_.bH(this.context.Pc.clone(),28),44),91),b=new _.FK;b.update(_.sM(_.NK(a)));b.update(String(_.bL(_.NK(a))));b.update(a.$b());return _.SRc(b.digest())};var ond=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=o2c.prototype;_.g.$$=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,new _.pc(JSON.parse(a.p)))))};
_.g.query=function(a){gP(this);t9c(this.context.rn,a,O4c(this.context.Lg));this.qF();var b=this.O.Fxa(a);this.Oa||(a=a.ve(),a&&121===_.D(a,1)||(this.Oa=!0,this.Oc.listen(b,_.Dc,this.aNa)));return b};_.g.aNa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Fa.H=this.Ta,this.Oc.Wc(a,_.Dc,this.aNa))};_.g.wr=function(a){gP(this);r9c(a);this.qF();return this.O.Cxa(a)};
_.g.Jva=function(a,b){var c=this;gP(this);if(this.ka&&_.xk(this.ka.zd(),a))return this.ka;this.ka=new Lmd(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return qN(h[0],k,I8c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.qGa=function(a,b){var c=this;gP(this);if(this.ha&&_.xk(this.ha.zd(),a))return Zmd(this.ha),this.ha;this.ha=new Wmd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return qN(e[0],f,pdd)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.yaa=function(a){gP(this);return this.send("3.14",[a],function(b,c){return qN(b[0],c,HO)})};_.g.O8=function(a){gP(this);return this.send("3.15",[a],function(b,c){return qN(b[0],c,HO)})};
_.g.xd=function(a){gP(this);!this.ma&&_.gM(a)&&(this.ma=!0);a=v1c(a);return this.send("3.3",[a],function(b,c){return qN(b[0],c,_.fM)})};_.g.hO=function(a){gP(this);a=F1c(a);return this.send("3.35",[a],function(b,c){return qN(b[0],c,o5c)}).then()};_.g.pz=function(a){gP(this);for(var b=0;b<a.length;b++)!this.ma&&_.gM(a[b])&&(this.ma=!0);a=y1c(a);return this.send("3.4",[a],function(c,d){return(d?I9c(c[0]):c[0]).get()})};_.g.Bxa=function(){gP(this);return end(this.nb)};
_.g.KSa=function(a){gP(this);return new Bmd(this.V.promise,a)};_.g.Lq=function(a,b){var c=this;gP(this);var d=_.ah();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=qN(e[0],f,gO);return new _.LM(f,e[1],e[2])}).addCallback(function(e){$9c(c.H,d,e);return e.response}).Ig(function(e){eO(c.H,d);return e})};_.g.Ar=function(a){gP(this);return this.send("3.10",[a],function(b,c){return qN(b[0],c,mdd)})};
_.g.Aaa=function(a){gP(this);return this.send("3.11",[a],function(b,c){return qN(b[0],c,qdd)})};_.g.M8=function(a){gP(this);return this.send("3.12",[a],function(b,c){return qN(b[0],c,qdd)})};_.g.sT=function(a){gP(this);return this.send("3.13",[a],function(b,c){return qN(b[0],c,qdd)})};
_.g.FN=function(a,b){var c=this;gP(this);var d=_.ah();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=qN(e[0],f,_.LO);return new _.OM(f,e[1],e[2])}).addCallback(function(e){$9c(c.H,d,e);return e.response}).Ig(function(e){eO(c.H,d);return e})};
_.g.YG=function(a,b){var c=this,d=_.Nd(this.context.Pc.Zf(),30);if(!d||0===d.length)return _.ri(new _.qc("getUserPrefs requires a namespace.",_.lL(3)));0===_.Nd(a,3).length&&S1c(a,d);gP(this);var e=_.ah();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=qN(f[0],h,_.Ty);return new _.NM(h,f[1],f[2])}).addCallback(function(f){$9c(c.H,e,f);return f.response}).Ig(function(f){eO(c.H,e);return f})};
_.g.gS=function(a){gP(this);fnd(_.Nd(this.context.Pc.Zf(),30),a);a=C1c(a);return this.send("3.6",[a],function(b,c){return qN(b[0],c,rdd)})};_.g.hu=function(a){gP(this);return this.send("3.16",[a],function(b,c){return qN(b[0],c,e5c)})};_.g.kCa=function(){return this.ma};_.g.Il=function(a){gP(this);this.send("3.8",[a])};_.g.Oy=function(a){gP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.tY=function(a){gP(this);cld(this.context).tY(a);this.Oy(!!a)};
_.g.qF=function(){gP(this);this.send("3.9",[])};_.g.iS=function(){gP(this);this.send("3.41",[]);this.context.iS();var a=X4c(this.context.Vk(),106006);a&&this.V.promise.then(function(b){var c=_.E(_.GM(a),t4c,6);if(!c){c=new t4c;var d=_.GM(a);_.x(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Xj()},function(){})};_.g.yB=function(){gP(this);return this.context.yB()};_.g.tQ=function(){gP(this);return _.fi(this.send("3.19",[],function(a,b){return qN(a[0],b,L9c)}))};_.g.isConnected=function(){return this.context.uk().isConnected()};
_.g.h8=function(){return this.send("3.46",[],function(a,b){return qN(a[0],b,_.xYc)}).then()};_.g.a$=function(){return this.Fa};_.g.sync=function(){gP(this);return this.send("3.28",[]).then()};_.g.Hu=function(){return this.context.Hu()};_.g.qY=function(a){this.Ha.promise.then(function(b){return void b.qY(a)})};_.g.Dqa=function(a){gP(this);return this.O.Mxa(a)};_.g.cZ=function(a){gP(this);return this.O.Lxa(a)};_.g.nGa=function(a){gP(this);w9c(this.context.rn,a,O4c(this.context.Lg));return this.O.Ixa(a)};
_.g.Eqa=function(a){gP(this);return new and(this.V.promise,a)};_.g.xwa=function(a){var b=this;gP(this);if(!this.W||this.W.isDisposed())this.W=new Rmd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return qN(d[0],e,med)})});return this.W};_.g.YGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.fi()};_.g.N8=function(a){gP(this);return this.send("3.22",[a],function(b,c){return qN(b[0],c,ned)})};
_.g.LV=function(a){gP(this);return this.send("3.25",[a],function(b,c){return qN(b[0],c,ied)})};_.g.Sba=function(){return this.$a.promise};_.g.Eoa=function(a){var b=_.ii();this.send("3.30",[a],function(c,d){c[0]?b.resolve(qN(c[0],d,ped)):b.reject(new _.qc(void 0,qN(c[1],d,_.pc)))}).Ig(function(c){return void b.reject(c)});return b.promise};_.g.Xwa=function(a){gP(this);return this.O.zxa(a)};_.g.g8=function(a){gP(this);return this.send("3.42",[a],function(b,c){return qN(b[0],c,x6c)}).then()};
_.g.tP=function(a){gP(this);var b=new _.zn;this.send("3.39",[a],function(c,d){return c.map(function(e){return qN(e,d,k$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new gnd(b.promise))};_.g.JGa=function(a){var b=this;gP(this);return new Emd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new O8c(qN(d[0],e,IO),d[1])}).then()})};
_.g.Qoa=function(a){gP(this);return this.send("3.38",[a],function(b,c){return qN(b[0],c,zdd)}).then()};_.g.yLa=function(a){gP(this);return this.O.Qxa(a)};_.g.Ara=function(a){gP(this);return this.O.Pxa(a)};_.g.RJa=function(a){var b=this;gP(this);return new Fmd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return qN(c[0],d,_.fN)}).then()})};_.g.SJa=function(a){gP(this);return this.O.Jxa(a)};_.g.X_=function(a){gP(this);this.send("3.43",[a])};
_.g.D0=function(a){gP(this);return this.send("3.44",[a],function(b,c){return qN(b[0],c,k6c)}).then()};_.g.Vo=function(a){gP(this);if(1!==_.tM(this.context.Pc))return Promise.reject(Error("Jg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Jc())return Promise.reject(Error("Kg"));if(!c.vk()&&!c.getItem())return Promise.reject(Error("Lg"))}return Promise.resolve(this.send("3.45",a))};
_.g.T1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Oi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Eja(b).then(function(c){c?_.Mi(a.T1a.bind(a),6E4):(a.Ka=!0,gP(a))})}};var gP=function(a){a.Ka&&a.dispatchEvent(new Red)};
var q2c=function(a){PO.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.ii();this.H=a.Lm()};_.L(q2c,PO);q2c.prototype.wSa=function(){this.Ha=new Lld(this.context);this.Ma(this.Ha);this.Ka=new Pld(this.context);this.Ma(this.Ka);this.Oa=new Wld(this.context);this.Ma(this.Oa)};
q2c.prototype.$a=function(){var a=this,b=["hVFf7"];_.uM(this.context.Pc)&&b.push("BNEDtc");kO(this.O,b,function(){return void a.hXa()});kO(this.O,["T8oKm","ZA9qG"],function(){return void pnd(a)});kO(this.O,["T8oKm","mrK8ic"],function(){return void pnd(a)});this.Oc.listen(this.Ha,"WPi0i",this.nta.bind(this,1));this.Oc.listen(this.Ka,"Qb",this.nta.bind(this,2));this.Oc.listen(this.Oa,"WPi0i",this.nta.bind(this,4));kO(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var pnd=function(a){TO(a.context).addCallback(function(b){b.start()})};
_.g=q2c.prototype;_.g.nta=function(a){_.ma(l6c,a)&&this.dispatchEvent(new red(a))};_.g.cZ=function(a){return this.V.Lxa(a.clone())};_.g.nGa=function(a){w9c(this.context.rn,a,O4c(this.context.Lg));return this.V.Ixa(a.clone())};_.g.Dqa=function(a){return this.V.Mxa(a.clone())};_.g.Eqa=function(a){return new mmd(a,this.context.Lm())};
_.g.Jva=function(a,b){var c=this;if(this.oa&&_.xk(this.oa.zd(),a))return this.oa;this.oa=new Lmd(a.clone(),this.context,this.Dkb.bind(this),b);_.n.setTimeout(function(){c.oa=null},3E3);return this.oa};_.g.Dkb=function(a,b,c){var d=new _.fVc(a,b,c);return _.qi(this.H.then(function(e){return e.We(d)}).Rg(function(e){return _.nL(e)}))};_.g.xwa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new Rmd(a,this.context,function(c){return qnd(b,c)});return this.ha};var qnd=function(a,b){return _.qi(a.H.then(function(c){return c.We(b)}).Rg(function(c){return _.nL(c)}))};
_.g=q2c.prototype;_.g.YGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.fi()};_.g.LV=function(a){return _.qi(this.H.then(function(b){return b.We(a)}))};_.g.N8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}))};_.g.qGa=function(a,b){var c=this;if(this.ka&&_.xk(this.ka.zd(),a))return Zmd(this.ka),this.ka;this.ka=new Wmd(a.clone(),this.context,this.JKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.JKb=function(a){var b=this;return this.H.then(function(c){return c.We(a)}).then(function(c){return _.SK(b.context.Pc)?rad(b.context.yf.nr,_.pk(c.od(),_.Sk,2),a.zd().getId()).then(function(){return c}):c},_.nL)};_.g.yaa=function(a){var b=this;return _.qi(this.H.then(function(c){return c.We(a)}).then(function(c){return _.SK(b.context.Pc)?rad(b.context.yf.nr,[_.E(c,_.Sk,2)],a.Jc()).then(function(){return c}):c},_.nL))};
_.g.O8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};_.g.Xwa=function(a){return this.V.zxa(a.clone())};_.g.g8=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.nL)};_.g.tP=function(a){return this.H.then(function(b){return b.We(a)}).then(function(b){var c=new _.zn;Bad(a,b).then(function(d){return c.resolve(d)});return new gnd(c.promise)},function(b){return void _.nL(b)})};_.g.JGa=function(a){var b=this;return new Emd(this.context,a,function(c){return b.H.then(function(d){return d.We(c)}).Rg(function(d){return _.nL(d)})})};
_.g.Qoa=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.nL)};_.g.xd=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};_.g.hO=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.nL)};_.g.pz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.pL?c.push(String(f.Jc())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.mo(d);var e=new _.li;a.addCallback(this.$mb.bind(this,e,c));return e};
_.g.Bxa=function(){return new bmd(this.context.Pc,this.context.NA,this.context.kR().gga,this.context.Lm(),this.context.pQ,this.context.$f(),this.context.Vk())};_.g.Lq=function(a,b){var c=this,d=_.ah();this.W.create(d,a);3===a.getType()?a=PO.prototype.Lq.call(this,a).addCallback(function(e){return new _.LM(e,1,!1)}):(lO(this.O,"Qubz4b"),a=this.Ka.enqueue(new Uld(a,b)));return a.addCallback(function(e){$9c(c.W,d,e);return e.response}).Ig(function(){eO(c.W,d)})};
_.g.Ar=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};_.g.Aaa=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};_.g.M8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};_.g.sT=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};
_.g.FN=function(a,b){var c=this;lO(this.O,"iuEtc");var d=_.ah();this.W.create(d,a);return this.Ha.enqueue(new Nld(a,b)).addCallback(function(e){$9c(c.W,d,e);return e.response}).Ig(function(){eO(c.W,d)})};
_.g.YG=function(a,b){var c=this,d=_.Nd(this.context.Pc.Zf(),30);if(!d||0===d.length)return _.ri(new _.qc("getUserPrefs requires a namespace.",_.lL(3)));0===_.Nd(a,3).length&&S1c(a,d);var e=_.ah();this.W.create(e,a);lO(this.O,"OZvrNc");return this.Oa.enqueue(new Zld(a,b)).addCallback(function(f){$9c(c.W,e,f);return f.response}).Ig(function(){eO(c.W,e)})};_.g.gS=function(a){fnd(_.Nd(this.context.Pc.Zf(),30),a);return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.nL))};
_.g.hu=function(a){var b=this;return _.qi(this.H.then(function(c){return c.We(a)}).then(function(c){return _.SK(b.context.Pc)?qad(b.context.yf.nr,c):c},_.nL))};_.g.yLa=function(a){return this.V.Qxa(a.clone())};_.g.Ara=function(a){return this.V.Pxa(a.clone())};_.g.RJa=function(a){var b=this;return new Fmd(this.context,a,function(c){return b.H.then(function(d){return d.We(c)}).Rg(function(d){return _.nL(d)})})};_.g.SJa=function(a){return this.V.Jxa(a.clone())};
_.g.X_=function(a){Fgd(this.context.yf,[a])};_.g.D0=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.nL)};_.g.Vo=function(a){if(1!==_.tM(this.context.Pc))return Promise.reject(Error("Jg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Jc())return Promise.reject(Error("Kg"));if(!c.vk()&&!c.getItem())return Promise.reject(Error("Lg"))}this.context.yf.Vo(a);phd(this.context.yf);return Promise.resolve()};_.g.kCa=function(){return this.context.kR().jK()};
_.g.Oy=function(a){var b=this;return this.context.Oy(a).then(function(c){return c?(b.context.Kj().Oy(a),b.context.Us.oL()):_.fi(!a)})};_.g.tY=function(a){cld(this.context).tY(a);this.Oy(!!a)};_.g.qF=function(){TO(this.context).addCallback(function(a){a&&a.T4()});this.context.Oha.qF()};_.g.qY=function(a){a.Yi(this.context)};_.g.$mb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];phd(this.context.yf);a.callback(d)};
_.g.sync=function(){var a=this;return _.hi([this.context.waa.promise,this.context.ka.promise]).then(function(){return a.context.Us.oL()}).then()};_.g.Hu=function(){TO(this.context).addCallback(function(a){a&&a.dispose()});return PO.prototype.Hu.call(this)};_.g.Sba=function(){return this.kb.promise};
var rnd=function(){var a='<div class="'+_.H("la-r")+'">';a=a+'Jotain meni pieleen.. P\u00e4ivit\u00e4 sivu.</div><button class="'+(_.H("la-Y-A")+" "+_.H("kc-A")+'" data-target="reload">');return(0,_.J)(a+"P\u00e4ivit\u00e4 sivu</button>")};
_.xn({id:_.fm,callback:function(a){var b=_.A0c(a),c=t2c(a),d=_.E(a.get(_.Yc),_.Vb,10);_.EWc(d,b);_.ek(d,28,c);b=r2c(a,d);a.registerService(_.gm,b.a$());_.Se(b,"VbxEwf",function(){var e={};_.Ac(_.wt.getService(a),new _.bq(new _.aq(rnd,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.snd=function(a,b){return _.x(a,17,b)};_.tnd=function(a,b){return _.A(a,2,b)};_.und=function(a,b){return _.A(a,1,b)};_.vnd=function(a,b){return _.x(a,2,b)};_.wnd=function(a,b){return _.Cb(a,1,b)};_.xnd=function(a,b){return _.ek(a,1,b)};_.ynd=function(a,b){return _.Cb(a,2,b)};_.znd=function(a,b){return _.x(a,3,b)};_.t("RsR2Mc");


_.w();

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