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{
_.Fsb=function(a){a=parseInt(_.D(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.Hsb=function(a,b,c,d){var e=_.Ne.getService(a);a=e.lg(a,c);_.Gsb(a.H.Vk,b,d);e.Zf(a)};_.Gsb=function(a,b,c){var d=new _.Isb;b.cV&&_.A(d,2,b.cV);b.rG&&0<=b.rG&&_.A(d,1,b.rG);b.quotaType&&_.A(d,3,b.quotaType);_.Jsb(a,d);c&&(b=new _.Ksb,_.A(b,1,c),_.Lsb(a,b))};_.Msb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.Nsb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.Jsb=function(a,b){b&&(a=a.$c(),_.x(a,29,b))};_.Lsb=function(a,b){b&&(a=a.$c(),_.x(a,38,b))};_.Isb=function(a){_.O(this,a,-1,null,null)};_.L(_.Isb,_.K);_.Ksb=function(a){_.O(this,a,-1,null,null)};_.L(_.Ksb,_.K);_.Ksb.prototype.Qh=function(){return _.D(this,1)};_.Osb=function(a,b,c,d,e,f,h){return(0,_.J)(_.Nn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Is:e,size:f,Wd:h},a))};_.t("sy11n");
_.Qsb=function(a,b,c){var d=_.F(a.get(_.NCa),1,""),e=_.Fsb(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",_.Psb(a,e,c)),-1!=parseInt(String(_.E(b,_.ix,2)),10)?"upgrade":"")};
_.Psb=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"}}};
_.Rsb=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 Vzb=_.Psb,Wzb=_.Qsb,Xzb=_.Rsb;_.Psb=function(a,b,c){return"over"==b&&_.S(a.get(_.ac),18,!1)?"widget_trial":Vzb(a,b,c)};_.Qsb=function(a,b,c){c=Wzb(a,b,c);"over"===_.Fsb(b)&&_.S(a.get(_.ac),18,!1)&&_.zj(c,"eft","1");return c};_.Rsb=function(a,b,c){b=Xzb(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 wsb,zsb;wsb=[4,5,6,7];_.xA=function(a){_.O(this,a,-1,null,null)};_.L(_.xA,_.K);_.xA.prototype.Cb=function(){return _.D(this,1)};_.xA.prototype.Dc=function(a){return _.A(this,1,a)};_.xA.prototype.R$=function(){return _.D(this,2)};_.xA.prototype.Yb="JmcaR";_.xsb=function(a){_.O(this,a,-1,null,null)};_.L(_.xsb,_.K);_.xsb.prototype.O=function(){return _.R(this,1)};_.xsb.prototype.Yb="dvhrqe";_.ysb=function(a){_.O(this,a,-1,null,null)};_.L(_.ysb,_.K);_.ysb.prototype.bu=function(){return _.D(this,2)};
_.ysb.prototype.HWa=function(){return _.D(this,3)};zsb=[5];_.Asb=function(a){_.O(this,a,-1,null,null)};_.L(_.Asb,_.K);_.Bsb=function(a){_.O(this,a,-1,zsb,null)};_.L(_.Bsb,_.K);_.g=_.Bsb.prototype;_.g.j_=function(){return _.D(this,1)};_.g.fU=function(){return _.D(this,3)};_.g.qR=function(){return _.pk(this,_.ysb,5)};_.g.rn=function(){return _.D(this,6)};_.g.kv=function(){return _.D(this,7)};_.g.iy=function(){return _.D(this,10)};_.g.yAb=function(){return _.Q(this,16)};_.g.Yb="dzR11e";
_.Csb=function(a){_.O(this,a,-1,wsb,null)};_.L(_.Csb,_.K);_.Csb.prototype.O=function(){return _.E(this,_.Bsb,1)};_.Csb.prototype.rN=function(){return _.E(this,_.xA,8)};_.Csb.prototype.V=function(){return _.E(this,_.xsb,9)};_.t("sy11j");
_.yA=function(a){_.O(this,a,-1,Dsb,null)};_.L(_.yA,_.K);_.yA.prototype.getUser=function(){return _.E(this,_.Sk,1)};_.yA.prototype.getMetadata=function(){return _.E(this,_.Csb,3)};_.yA.prototype.Yo=function(){return _.Q(this,3)};var Dsb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11k");
var klb;_.Cz=function(a){_.O(this,a,-1,klb,null)};_.L(_.Cz,_.K);_.Cz.prototype.O=function(){return _.Nd(this,1)};_.Dz=function(a,b){return _.ek(a,1,b)};_.Cz.prototype.Zm=function(){return _.Nd(this,2)};_.Ez=function(a,b){return _.ek(a,2,b)};_.Cz.prototype.we=function(){return _.E(this,_.sf,3)};_.Fz=function(a,b){return _.x(a,3,b)};_.llb=function(a,b){return _.A(a,5,b)};klb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.zA=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)))};_.Esb=function(a){return a instanceof Error?_.zA(a).Tg:a instanceof _.qc?a.Tg:a};_.t("sy11m");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11o");
_.AA={IL:"eb",Iha:"fb",GU:"gb",FU:"hb"};_.Ssb=new Map([[_.AA.IL,1],[_.AA.Iha,2],[_.AA.GU,2],[_.AA.FU,3]]);

_.w();

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

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy164");
_.WB=function(a){_.O(this,a,-1,null,null)};_.L(_.WB,_.K);_.WB.prototype.ha=function(){return _.bk(this,1)};_.WB.prototype.V=function(){return _.bk(this,2)};_.WB.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{
_.hrb=function(a){_.O(this,a,-1,null,null)};_.L(_.hrb,_.K);_.hrb.prototype.O=function(){return _.D(this,1)};_.hrb.prototype.Cb=function(){return _.D(this,2)};_.hrb.prototype.Dc=function(a){return _.A(this,2,a)};_.hrb.prototype.V=function(){return _.D(this,3)};_.t("sy17p");
_.jrb=function(a){_.O(this,a,-1,irb,null)};_.L(_.jrb,_.K);_.jrb.prototype.O=function(){return _.Nd(this,1)};var irb=[1];
_.lrb=function(a){_.O(this,a,-1,krb,null)};_.L(_.lrb,_.K);_.lrb.prototype.O=function(){return _.pk(this,_.hrb,1)};var krb=[1];
_.nrb=function(a){_.O(this,a,-1,mrb,null)};_.L(_.nrb,_.K);_.nrb.prototype.O=function(){return _.pk(this,_.lrb,1)};var mrb=[1];
_.orb=function(a){_.O(this,a,-1,null,null)};_.L(_.orb,_.K);_.orb.prototype.V=function(){return _.E(this,_.nrb,1)};_.orb.prototype.O=function(){return _.E(this,_.jrb,2)};
_.pA=function(a){_.O(this,a,-1,prb,null)};_.L(_.pA,_.K);_.g=_.pA.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.Tw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.tk(this,2,a,_.hl,b)};_.g.Zj=function(){return _.D(this,3)};_.g.nl=function(){return _.S(this,5,!0)};_.g.y6=function(){return _.E(this,_.orb,7)};_.g.Xsa=function(){return _.R(this,8)};_.g.Wf=function(){return _.D(this,17)};
_.g.RP=function(a){return _.A(this,17,a)};_.g.Ze=function(){return _.D(this,12)};_.g.mj=function(a){return _.A(this,12,a)};_.g.Wn=function(){return _.D(this,15)};_.g.cla=function(){return _.Nd(this,18)};var prb=[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");
_.GC=function(a){_.O(this,a,-1,null,null)};_.L(_.GC,_.K);_.GC.prototype.getKey=function(){return _.E(this,_.Rb,1)};_.GC.prototype.As=function(){return _.Q(this,1)};_.GC.prototype.we=function(){return _.E(this,_.sf,2)};
_.HC=function(a){_.O(this,a,-1,null,null)};_.L(_.HC,_.K);_.HC.prototype.we=function(){return _.E(this,_.sf,2)};

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.XC=function(a,b,c){_.N.call(this);this.Kn=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Vg=(0,_.v)(this.J$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Sf(_.XC,_.N);_.g=_.XC.prototype;_.g.ye=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Qf()+this.ka:this.H=_.Mi(this.Vg,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.Kn.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.XC.ub.Ya.call(this)};_.g.J$a=function(){this.H&&(_.Ni(this.H),this.H=null);this.W?(this.H=_.Mi(this.Vg,this.W-_.Qf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Kn.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");
_.bF=function(a){_.O(this,a,-1,null,null)};_.L(_.bF,_.K);_.bF.prototype.getName=function(){return _.D(this,1)};_.bF.prototype.jd=function(a){return _.A(this,1,a)};_.bF.prototype.we=function(){return _.E(this,_.sf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bg");
_.eF=function(a){_.O(this,a,-1,null,null)};_.L(_.eF,_.K);_.g=_.eF.prototype;_.g.Oi=function(){return _.D(this,1)};_.g.Ci=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.sf,3)};_.g.Sp=function(){return _.D(this,4)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bi");
_.gF=function(a){_.O(this,a,-1,nTb,null)};_.L(_.gF,_.K);_.gF.prototype.O=function(){return _.Nd(this,1)};_.gF.prototype.Zm=function(){return _.Nd(this,2)};_.gF.prototype.we=function(){return _.E(this,_.sf,3)};var nTb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.hF=function(a){_.O(this,a,-1,null,null)};_.L(_.hF,_.K);_.g=_.hF.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.Od=function(a){return _.A(this,5,a)};_.g.st=function(){return _.Q(this,5)};_.t("sy1bj");
_.iF=function(a){_.O(this,a,-1,oTb,null)};_.L(_.iF,_.K);_.iF.prototype.Zm=function(){return _.Nd(this,1)};_.pTb=function(a,b){return _.ek(a,1,b)};_.iF.prototype.we=function(){return _.E(this,_.sf,2)};var oTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.jF=function(a,b){return _.A(a,4,b)};_.qTb=function(a,b){_.A(a,11,b)};_.rTb=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{
_.oF=function(a){return _.D(a,11)};_.t("sy1bm");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bn");
_.pF=function(a){_.O(this,a,-1,null,null)};_.L(_.pF,_.K);_.pF.prototype.Jc=function(){return _.D(this,1)};_.gUb=function(a){var b=new _.pF;return _.A(b,1,a)};_.pF.prototype.Oi=function(){return _.D(this,2)};_.pF.prototype.Ci=function(a){return _.A(this,2,a)};_.pF.prototype.we=function(){return _.E(this,_.sf,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.GTb=function(a){_.O(this,a,-1,null,null)};_.L(_.GTb,_.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
*/
_.JG=function(a,b,c,d){this.ha=a;this.W=b;this.H=this.V=a;this.ka=c||0;this.ma=d||2};_.JG.prototype.O=0;_.JG.prototype.reset=function(){this.H=this.V=this.ha;this.O=0};_.JG.prototype.Xa=function(){return this.V};_.KG=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{
_.Fac=function(a,b,c){_.sj(a.url,function(d){d=d.target;d.uu()?b(d.Xk()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.Gac=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");
_.Iac=function(a){_.O(this,a,-1,Hac,null)};_.L(_.Iac,_.K);var Hac=[2];
_.Jac=function(a){_.O(this,a,-1,null,null)};_.L(_.Jac,_.K);var Kac=function(){var a=new _.Jac,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.Jac.prototype.Ni=function(){return _.D(this,7)};
_.Lac=function(a){_.O(this,a,-1,null,null)};_.L(_.Lac,_.K);
var Mac;_.LG=function(a){_.O(this,a,31,Mac,null)};_.L(_.LG,_.K);_.MG=function(a,b){return _.A(a,8,b)};Mac=[3,20,27];
var Oac=function(a){_.O(this,a,17,Nac,null)};_.L(Oac,_.K);var Pac=function(a){var b=Date.now().toString();return _.A(a,4,b)},Qac=function(a,b){return _.Cb(a,3,b)},Rac=function(a,b){return _.A(a,14,b)},Nac=[3,5];
var Tac=function(a){_.O(this,a,6,Sac,null)};_.L(Tac,_.K);var Sac=[5];
var Uac=function(a){_.O(this,a,-1,null,null)};_.L(Uac,_.K);
var Vac=new _.Hk(175237375,Uac);
_.NG=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.ue=1;this.nb=!1;_.Ki.call(this);this.Xc=a;this.Ab=b||_.Nf;this.ka=new Oac;this.Dd=d;this.Gb=q;this.De=_.vb(_.Mia,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Yd=!k;this.Fc=f||!1;this.ne=!this.Fc&&(_.Hj.nn&&_.xb(65)||_.Hj.Sw&&_.xb(45)||_.Hj.Xv&&_.xb(12)||_.ch()&&0<=_.sg(_.mia(),12))&&!!_.qf()&&
!!_.qf().navigator&&!!_.qf().navigator.sendBeacon;a=_.A(new _.Lac,1,1);f||(f=Kac(),_.x(a,11,f));_.x(this.ka,1,a);_.A(this.ka,2,this.Xc);this.ma=new _.JG(1E4,3E5,.1);this.H=new _.Li(this.ma.Xa());this.Ma(this.H);_.xe(this.H,"tick",_.Tfa(Wac(this,p)),!1,this);this.Ta=new _.Li(6E5);this.Ma(this.Ta);_.xe(this.Ta,"tick",_.Tfa(Wac(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(_.NG,_.Ki);var Wac=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.NG.prototype.Ya=function(){this.oa();_.Ki.prototype.Ya.call(this)};var Xac=function(a){a.Ba||(a.Ba=.01>a.De()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.NG.prototype.W=function(a){a instanceof _.LG?this.log(a):(a=_.MG(new _.LG,a.$b()),this.log(a))};
_.Yac=function(a,b){b?(a.V||(a.V=new _.Iac),b=b.$b(),_.A(a.V,4,b)):a.V&&_.fk(a.V,4)};_.Zac=function(a,b){a.ma=new _.JG(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Xa())};
_.NG.prototype.log=function(a){a=a.clone();var b=this.ue++;_.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 $ac(a));this.Oa||this.H.enabled||this.H.start()};
_.NG.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)abc(this);else{var d=Date.now();if(this.Vc>d&&this.kb<d)b&&b("throttled");else{var e=Rac(Qac(Pac(this.ka.clone()),this.O),this.va);d={};var f=this.Ab();f&&(d.Authorization=f);var h=Xac(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.vu(k.length)&&(l=this.Fa.q8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Yd,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 Tac(C)}catch(G){}z&&(y=Number(_.Gma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Vc=c.kb+y),z=_.vk(z,Vac))&&(z=_.ak(z,1,-1),-1!=z&&(c.uc||_.Zac(c,z)))}a&&a()},r=function(y){var z=_.pk(e,_.LG,3);
_.KG(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()}}}};_.NG.prototype.oa=function(){this.ha||(this.Sb&&abc(this),this.Nb&&bbc(this),this.flush())};
var abc=function(a){cbc(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})},bbc=function(a){cbc(a,6,5,function(b,c){b=_.hj(b,"format","base64json","p",_.Ij(c.$b(),3));_.Mg(new Image,b);return!0})},cbc=function(a,b,c,d){if(0!==a.O.length){var e=_.Hla(Xac(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=Qac(Pac(a.ka.clone()),h);0===f&&Rac(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},$ac=function(){_.xi.call(this,"event-logged",void 0)};_.L($ac,_.xi);

_.w();

}catch(e){_._DumpException(e)}
try{
var Bbc=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 Cbc=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 Ebc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Dbc(Cbc(d),a,c||null)].join(" "):null},Dbc=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)}),Fbc(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=Fbc(e.join(" "));a=[c,a];_.na(h)||a.push(h.join(""));return a.join("_")},Fbc=function(a){var b=
Bbc();b.update(a);return b.digestString().toLowerCase()};
var Gbc={};
var Hbc,Jbc;Hbc=function(a){return!!Gbc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Ibc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Hbc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.OOa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Hbc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Jbc=function(a,b,c,d){(a=_.n[a])||(a=(new _.OOa(document)).get(b));return a?Ebc(a,c,d):null};
_.Kbc=function(a,b){b=void 0===b?!1:b;var c=Cbc(String(_.n.location.href)),d=[];if(_.Ibc(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 _.OOa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Ebc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Hbc(b)&&((b=Jbc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Jbc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.dH=function(a,b){a.H=b;a.ka=0};_.eH=function(a,b){return _.A(a,b,_.jb([]))};_.qdc=function(a){a.Sb=a.ne};_.t("sy1fa");
_.fH=function(a,b,c,d,e,f,h){_.NG.call(this,a,_.Kbc,b,_.Fac,c,d,e,void 0,f,h)};_.L(_.fH,_.NG);

_.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
*/
_.LRc=function(a,b){return _.KRc()?(new _.n.Intl.Collator([a||"zh-TW"],b||{})).compare:function(c,d){return c.localeCompare(d)}};_.KRc=function(){var a=_.n.Intl;return!(!a||!a.Collator)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ie");
_.MRc=function(a){_.O(this,a,-1,null,null)};_.L(_.MRc,_.K);_.g=_.MRc.prototype;_.g.getKey=function(){return _.D(this,1)};_.g.As=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.Fi=function(){return _.fk(this,2)};_.g.lh=function(){return _.Q(this,2)};
_.zK=function(a){_.O(this,a,-1,NRc,null)};_.L(_.zK,_.K);_.zK.prototype.Oz=function(){return _.D(this,1)};_.zK.prototype.getUrl=function(){return _.D(this,3)};var NRc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jz");
var QRc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};QRc.prototype.get=function(a){return RRc(this)[a]||null};QRc.prototype.set=function(a){RRc(this)[this.V(a)]=a;this.O=null};var RRc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.AK=function(a,b){this.H=a;this.gB=b};
_.AK.prototype.Jz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!SRc(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.HM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.IM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&SRc(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++)SRc(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&&SRc(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.IM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.HM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.gB(this.H.lN(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.QE(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.Pi()||0;var q=l.qy()||0;l.setPosition((l.Pi()||0)+TRc(e,l.Pi()||0));d[f].setPosition((d[f].Pi()||0)+c);3==d[f].getType()&&(l.Sy((l.qy()||0)+TRc(e,l.qy()||0)),d[f].Sy((d[f].qy()||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 QRc(a,this.gB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.gB(f)))&&!_.xk(h||void 0,f||void 0)&&d.push(this.H.EQ(f,e));return c.concat(d)};var TRc=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};
_.AK.prototype.QE=function(a,b){var c=b.Pi()||0;c>(a.Pi()||0)&&--c;return this.H.QE(this.H.lN(b),a.Pi()||0,c)};var SRc=function(a,b,c){return a.gB(b)==a.gB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.URc=function(a){_.O(this,a,-1,null,null)};_.L(_.URc,_.K);_.g=_.URc.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.qy=function(){return _.D(this,3)};_.g.Sy=function(a){return _.A(this,3,a)};_.g.Pi=function(){return _.D(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.VRc=function(a){var b=new _.URc;return _.A(b,1,a)};_.t("sy1k0");
var WRc=function(){};_.g=WRc.prototype;_.g.IM=function(a,b){return _.VRc(1).setItem(a).setPosition(b)};_.g.HM=function(a,b){return _.VRc(2).setPosition(b).setItem(a)};_.g.QE=function(a,b,c){return _.VRc(3).Sy(b).setPosition(c).setItem(a)};_.g.EQ=function(a,b){return _.VRc(4).setItem(a).setPosition(b)};_.g.lN=function(a){return a.getItem()};
var YRc;_.XRc=function(){_.AK.call(this,new WRc,function(a){return a.getId()})};_.L(_.XRc,_.AK);_.ZRc=function(){YRc||(YRc=new _.XRc);return YRc};

_.w();

}catch(e){_._DumpException(e)}
try{
_.$Rc=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
*/
_.aSc=function(){this.blockSize=-1};

_.w();

}catch(e){_._DumpException(e)}
try{
_.BK=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.$ka)(a)};_.CK=function(){return"goog_"+_.fia++};_.bSc=function(a,b,c,d,e,f){var h=new _.uj(null,void 0);a&&h.jn(a);b&&h.JF(b);c&&h.hn(c);d&&h.xA(d);e&&h.Di(e);f&&_.vj(h,f);return h};_.DK=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?{E9:!0,value:p}:{E9:!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)})};
_.EK=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};_.FK=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.FK.prototype.clone=function(){return new _.FK(this.start,this.end)};_.GK=function(a){return a.end-a.start};_.t("sy1kn");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var dSc,gSc;dSc=[3,42];_.eSc=function(a){_.O(this,a,-1,dSc,null)};_.L(_.eSc,_.K);_.eSc.prototype.getMimeType=function(){return _.D(this,27)};_.fSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};gSc=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 hSc=function(a){_.xi.call(this,"visibilitychange");this.hidden=a};_.L(hSc,_.xi);
_.iSc=function(a){_.Ki.call(this);this.ld=a||_.vh();if(this.Dz=this.Csb())this.H=_.xe(this.ld.Wb(),this.Dz,(0,_.v)(this.Aab,this))};_.Sf(_.iSc,_.Ki);_.g=_.iSc.prototype;_.g.Csb=_.Kca(function(){var a=this.vu(),b="hidden"!=this.yAa();if(a){var c;b?c=((_.TEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.yAa=_.Kca(function(){return gSc("hidden",this.ld.Wb())});_.g.jub=_.Kca(function(){return gSc("visibilityState",this.ld.Wb())});_.g.vu=function(){return!!this.yAa()};
_.g.CB=function(){return!!this.ld.Wb()[this.yAa()]};_.g.Aab=function(){var a=this.vu()?this.ld.Wb()[this.jub()]:null;a=new hSc(this.CB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Ii(this.H);_.iSc.ub.Ya.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.IK=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Sf(_.IK,_.aSc);_.IK.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 jSc=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};
_.IK.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;)jSc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){jSc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){jSc(this,d);e=0;break}}this.O=e;this.V+=b};
_.IK.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 kSc;kSc=[2];_.lSc=function(a){_.O(this,a,-1,kSc,null)};_.L(_.lSc,_.K);_.lSc.prototype.Cb=function(){return _.D(this,1)};_.lSc.prototype.Dc=function(a){return _.A(this,1,a)};_.lSc.prototype.Zj=function(){return _.D(this,3)};_.t("sy1lg");
var mSc;_.JK=function(a){_.O(this,a,-1,mSc,null)};_.L(_.JK,_.K);_.JK.prototype.O=function(){return _.Nd(this,1)};_.JK.prototype.we=function(){return _.E(this,_.sf,2)};_.nSc=function(a,b){return _.x(a,2,b)};_.JK.prototype.Oi=function(){return _.ak(this,3,20)};_.JK.prototype.Ci=function(a){return _.A(this,3,a)};_.JK.prototype.Cm=function(){return _.R(this,4)};_.oSc=function(a,b){return _.A(a,4,b)};mSc=[1];

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var tSc,MK,vSc,uSc;_.LK=function(a,b,c){if("number"===typeof a)var d={name:uSc(a)};else d=a,a=vSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Sf(_.LK,_.ea);_.LK.prototype.getName=function(){return this.O.name||""};MK={Xjb:1,jjb:2,NOT_FOUND_ERR:3,E9a:4,K9a:5,ljb:6,Sjb:7,ABORT_ERR:8,yjb:9,y6b:10,TIMEOUT_ERR:11,vjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.wSc=(_.n.EI||_.n.zL||MK).Xjb;_.xSc=(_.n.EI||_.n.zL||MK).jjb;_.ySc=(_.n.EI||_.n.zL||MK).NOT_FOUND_ERR;
_.zSc=(_.n.EI||_.n.zL||MK).E9a;_.ASc=(_.n.EI||_.n.zL||MK).K9a;_.BSc=(_.n.EI||_.n.zL||MK).ljb;_.CSc=(_.n.EI||_.n.zL||MK).Sjb;_.DSc=(_.n.EI||_.n.zL||MK).ABORT_ERR;_.ESc=(_.n.EI||_.n.zL||MK).yjb;_.FSc=(_.n.EI||_.n.zL||MK).TIMEOUT_ERR;_.GSc=(_.n.EI||_.n.zL||MK).vjb;_.HSc=(_.n.DOMException||MK).INVALID_ACCESS_ERR;_.ISc=(_.n.DOMException||MK).INVALID_STATE_ERR;
vSc=function(a){switch(a){case "UnknownError":return _.wSc;case "NotFoundError":return _.ySc;case "ConstraintError":return _.zSc;case "DataError":return _.ASc;case "TransactionInactiveError":return _.CSc;case "AbortError":return _.DSc;case "ReadOnlyError":return _.ESc;case "TimeoutError":return _.FSc;case "QuotaExceededError":return _.GSc;case "InvalidAccessError":return _.HSc;case "InvalidStateError":return _.ISc;default:return _.wSc}};
uSc=function(a){switch(a){case _.wSc:return"UnknownError";case _.ySc:return"NotFoundError";case _.zSc:return"ConstraintError";case _.ASc:return"DataError";case _.CSc:return"TransactionInactiveError";case _.DSc:return"AbortError";case _.ESc:return"ReadOnlyError";case _.FSc:return"TimeoutError";case _.GSc:return"QuotaExceededError";case _.HSc:return"InvalidAccessError";case _.ISc:return"InvalidStateError";default:return"UnknownError"}};
_.NK=function(a,b){return"error"in a?new _.LK(a.error,b):new _.LK({name:"UnknownError"},b)};_.OK=function(a,b){if("name"in a)return b=b+": "+a.message,new _.LK(a,b);if("code"in a){var c=uSc(a.code);b=b+": "+a.message;return new _.LK({name:c},b)}return new _.LK({name:"UnknownError"},b)};
_.JSc=function(a){this.H=a};_.KSc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.JSc.prototype.range=function(){return this.H};
var LSc=function(a){this.H=a};LSc.prototype.getName=function(){return this.H.name};var MSc=function(a,b,c,d){var e=new _.li;try{var f=a.H[b](d)}catch(h){return c+=" with key "+KK(d),e.Qd(_.OK(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+KK(d);e.Qd(_.NK(h.target,c))};return e};LSc.prototype.get=function(a){return MSc(this,"get","getting from index "+this.getName(),a)};
LSc.prototype.getKey=function(a){return MSc(this,"getKey","getting key from index "+this.getName(),a)};LSc.prototype.getAll=function(a,b){return _.NSc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.NSc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.JSc?d.range():(new _.JSc(_.KSc.only(d))).range();var h=new _.li;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?KK(f):"<all>"),h.Qd(_.OK(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?KK(f):"<all>");h.Qd(_.NK(l.target,c))};return h};
var OSc=function(a){this.H=a};OSc.prototype.getName=function(){return this.H.name};var PSc=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+=KK(d),e&&(c+=", with key "+KK(e)),f.Qd(_.OK(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=KK(d);e&&(c+=", with key "+KK(e));f.Qd(_.NK(k.target,c))};return f};_.g=OSc.prototype;_.g.put=function(a,b){return PSc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return PSc(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 _.JSc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+KK(a),b.Qd(_.OK(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+KK(a);b.Qd(_.NK(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 "+KK(a),b.Qd(_.OK(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 "+KK(a);b.Qd(_.NK(e.target,f))};return b};_.g.getAll=function(a,b){return QSc(this,"getting all from index "+this.getName(),a,b)};
var QSc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.JSc?c.range():(new _.JSc(_.KSc.only(c))).range();var f=new _.li;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?KK(e):"<all>"),f.Qd(_.OK(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?KK(e):"<all>");f.Qd(_.NK(k.target,b))};return f};
OSc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.li;try{var c=this.H.clear()}catch(d){return b.Qd(_.OK(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Qd(_.NK(d.target,a))};return b};OSc.prototype.getIndex=function(a){try{return new LSc(this.H.index(a))}catch(b){throw _.OK(b,"getting index "+a);}};
OSc.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.Qd(_.NK(e.target,d.getName()))}}catch(e){b.Qd(_.OK(e,this.getName()))}return b};
var RSc=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.Bab)};_.Sf(RSc,_.Ki);_.g=RSc.prototype;_.g.Bab=function(a){a.target instanceof _.LK?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.NK(a.target,"in transaction")})};_.g.Ih=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new OSc(this.H.objectStore(a))}catch(b){throw _.OK(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.OK(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.Qd(new _.LK(_.DSc,"waiting for transaction to complete"))});var c=_.Se(this,"error",function(e){_.Ii(b);a.Qd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){RSc.ub.Ya.call(this);this.wb.dispose()};
var SSc=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.Cab);this.wb.listen(this.H,"versionchange",this.Rpb);this.wb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.Sf(SSc,_.Ki);_.g=SSc.prototype;_.g.jta=!0;_.g.Cab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Rpb=function(a){this.dispatchEvent(new TSc(a.oldVersion,a.newVersion))};_.g.close=function(){this.jta&&(this.H.close(),this.jta=!1)};_.g.Kg=function(){return this.jta};_.g.getName=function(){return this.H.name};_.g.Hi=function(){return Number(this.H.version)};_.USc=function(a,b,c){try{return new OSc(a.H.createObjectStore(b,c))}catch(d){throw _.OK(d,"creating object store "+b);}};
_.VSc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new RSc(d,a)}catch(e){throw _.OK(e,"creating transaction");}};SSc.prototype.Ya=function(){SSc.ub.Ya.call(this);this.wb.dispose()};var TSc=function(a,b){_.xi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Sf(TSc,_.xi);
_.WSc=function(){void 0==tSc&&(tSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return tSc};
_.XSc=function(a,b,c,d){var e=new _.li;b=b?_.WSc().open(a,b):_.WSc().open(a);b.onsuccess=function(f){f=new SSc(f.target.result);e.callback(f)};b.onerror=function(f){e.Qd(_.NK(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new SSc(f.target.result);c(new TSc(f.oldVersion,f.newVersion),h,new RSc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new TSc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.YSc=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=_.Fac;this.H=""};_.ZSc=function(a,b){var c=_.jr,d;if(d=a)d=_.Vm.prototype.matches.call(c,a)&&"function"===typeof a.cD&&(!b||a.cD().toString()==b.toString());return d?a:null};_.t("sy1lw");
_.YSc.prototype.build=function(){var a=new _.NG(this.ma,this.ha?this.ha:_.Kbc,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,_.Lac,1),d=_.E(c,_.Jac,11);d||(d=new _.Jac);_.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&&_.Yac(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.Iac),_.ek(a.V,2,b));this.Ka&&(b=this.Ka,
a.uc=!0,_.Zac(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.$Sc=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)};_.aTc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lx");
_.bTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.bTc.prototype.vA=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=_.MG(new _.LG,a.$b());b(a);return new _.ei(function(d){c(d,function(){d()})}.bind(this))};
_.cTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.qdc(this.O)};_.cTc.prototype.vA=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=_.MG(new _.LG,a.$b());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var dTc=function(a){_.O(this,a,-1,null,null)};_.L(dTc,_.K);dTc.prototype.getEmail=function(){return _.F(this,3,"")};dTc.prototype.Vp=function(){return _.Q(this,3)};_.PK=function(a){return _.S(a,5,!1)};_.QK=function(a){return _.E(a,dTc,36,1)};_.eTc=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");
_.RK=function(a){_.O(this,a,-1,null,null)};_.L(_.RK,_.K);_.RK.prototype.we=function(){return _.E(this,_.sf,1)};_.SK=function(a,b){return _.x(a,1,b)};_.RK.prototype.Og=function(){return _.D(this,4)};_.RK.prototype.Cpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var fTc=function(a){_.O(this,a,-1,null,null)},kTc;_.L(fTc,_.K);var gTc=function(a){_.O(this,a,-1,null,null)};_.L(gTc,_.K);_.TK=function(a){_.O(this,a,-1,null,null)};_.L(_.TK,_.K);_.TK.prototype.d5=function(a){_.A(this,3,a)};_.TK.prototype.Jl=function(a){return _.x(this,5,a)};_.TK.prototype.getMimeType=function(){return _.D(this,7)};var hTc=[2],iTc=function(a){_.O(this,a,-1,hTc,null)};_.L(iTc,_.K);var jTc=function(a){_.O(this,a,-1,null,null)};_.L(jTc,_.K);kTc=function(a){this.H=a};
_.lTc=function(a){this.qd=a};_.lTc.prototype.getId=function(){return this.qd};var mTc=function(a){_.O(this,a,-1,null,null)};_.L(mTc,_.K);mTc.prototype.Hi=function(){return _.D(this,1)};var nTc=function(a){_.O(this,a,-1,null,null)};_.L(nTc,_.K);
var pTc=function(){this.H=this.W=!1;this.No=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;oTc(this,b);break}}},oTc=function(a,b){a.No=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.H=!0;a.No.onDisconnect.addListener(function(){a.H=!1});document.addEventListener("mousemove",function(c){a.O=c.clientX;a.V=c.clientY})};
pTc.prototype.vA=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,_.TK,3)||new _.TK;a=_.pk(a,_.uya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.No.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 qTc=function(){_.Jo.call(this)};_.L(qTc,_.Jo);qTc.prototype.uv=function(){return 1==_.D(_.E(this.H,fTc,7),1)};var rTc=new _.Fo("high_frequency_builder");
var sTc=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 tTc=function(){_.Jo.call(this)};_.L(tTc,_.Jo);var uTc=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},vTc=new _.Fo("system_builder");
var wTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.iSc(b);this.Ma(this.H);this.wb=new _.Le(this);this.Ma(this.wb);this.H.vu()&&this.wb.listen(this.H,"visibilitychange",this.V)};_.L(wTc,_.N);wTc.prototype.V=function(){if(this.O.QP()){var a=this.H.CB()?102001:102E3;a=this.O.ZF(a,0);this.O.wq(a)}};
var xTc=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(xTc,_.N);_.g=xTc.prototype;_.g.wq=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.ye();return new kTc(a)};_.g.ZF=function(a,b){a=uTc(yTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.ML=function(){return this.H.O};
_.g.UM=function(a){var b=this.H,c=_.Ko(a,vTc),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.k_=function(){var a=this.O;if(!a.ha||a.H.V){var b=zTc(a.H,691).build();b=ATc(a.H,[b]);a.ka.vA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.l_=function(){var a=this.H,b=zTc(a,716);BTc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.ye();this.W&&(this.V=new wTc(this))};_.g.dka=function(){this.O.W();return _.DK(Array.from(this.O.V)).then()};
_.g.QP=function(){var a=this.H;return a.va&&a.ma&&!0};
var CTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.HK(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(CTc,_.N);CTc.prototype.initialize=function(){sTc(this.ma,this.O.ye,this.O);sTc(36E5,this.va,this)};CTc.prototype.W=function(){var a=this;if(0!=this.H.H.lc()&&(!this.ha||this.H.V)){var b=DTc(this.H),c=this.oa.vA(b);c&&(_.ki(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
CTc.prototype.va=function(){var a=this.H,b=zTc(a,1153).build();a.H.add(b);this.O.ye()};
var ETc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(ETc,_.N);_.g=ETc.prototype;_.g.wq=function(a){a=this.H.wq(a);this.dka();return a};_.g.ZF=function(a,b){return this.H.ZF(a,b)};_.g.ML=function(){return this.H.ML()};_.g.UM=function(a){return this.H.UM(a)};_.g.k_=function(){return this.H.k_()};_.g.l_=function(){return this.H.l_()};_.g.dka=function(){return this.H.dka()};_.g.QP=function(){return this.H.QP()};
var FTc=function(){};FTc.prototype.ZQ=function(){return new qTc};
var GTc=function(){this.H=[]};GTc.prototype.add=function(a){this.H.push(a)};GTc.prototype.lc=function(){return this.H.length};
var HTc=function(){this.H={}};HTc.prototype.add=function(a){var b=_.D(a.H,12);this.H[b]=a};HTc.prototype.remove=function(a){delete this.H[a]};
var ITc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new HTc;this.H=new GTc;this.ma=this.va=this.V=!1},yTc=function(a,b){a=_.Ko((new _.Jo).initialize(new _.uya,a.Ba),vTc);_.A(a.H,10,b);return a},DTc=function(a){var b=a.H,c=b.H;b.H=[];return ATc(a,c)},ATc=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,_.eSc,1)){k=_.E(k,_.eSc,1);_.Q(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.E(k,gTc,20);if(void 0!==k&&void 0===f){f=new nTc;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 _.TK),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},zTc=function(a,b){var c=uTc(yTc(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 jTc;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 iTc,b=_.A(e,1,b),d&&_.Cb(b,2,d),d=_.Lo(c),_.x(d,3,b));BTc(a,c);return c},BTc=function(a,b){a.W=_.D(b.H,12);a.oa=_.D(_.E(_.E(b.H,_.wo,8),_.Wxa,1),1)};
var JTc=function(){};JTc.prototype.ZQ=function(){return new tTc};
var KTc=function(){this.H=this.O=null};KTc.prototype.build=function(){null==this.H&&(this.H=new _.Xya);_.No(this.H,vTc,new JTc);_.No(this.H,rTc,new FTc);var a=this.H;var b=this.O;if(!_.Q(_.LTc(b),1)){var c=_.LTc(b),d=new _.oza;_.x(c,1,d)}b=_.E(_.LTc(b),_.oza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new ITc(this.O,this.H)};
var MTc=function(){this.W=new _.Nb;this.O=null;this.ha=new mTc;_.A(this.ha,1,6);this.H=this.V=null};MTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.NTc=function(a,b){_.A(a.W,2,b);return a};_.OTc=function(a,b){if(null==a.V){a.V=new _.Bza;var c=_.LTc(a);_.x(c,2,a.V)}_.A(a.V,1,b)};_.LTc=function(a){null==a.O&&(a.O=new _.Qo);return a.O};_.PTc=function(a){null==a.H&&(a.H=new _.TK);return a.H};
_.QTc=function(){this.H=this.ha=null;this.W=new MTc;this.V=null;this.ka=this.ma=!1;this.O=null};_.RTc=function(a,b){a.ha=b;return a};_.STc=function(a,b){a.H=b;return a};_.TTc=function(a,b){a.V=b;return a};_.QTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.UTc=function(a,b){_.A(a.W.W,6,b);return a};
_.QTc.prototype.build=function(){var a=new KTc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new pTc;this.H=this.ha=b}b=new CTc(a,this.ha,this.H,this.ma,this.O);a=new xTc(a,b,!1);this.ka&&(a=new ETc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.UK=function(a){return a instanceof Error};_.VK=function(a){return _.S(a,84,!1)};_.t("sy1la");
_.VTc=function(a){_.O(this,a,-1,null,null)};_.L(_.VTc,_.K);
_.WK=function(a){_.O(this,a,-1,null,null)};_.L(_.WK,_.K);_.WK.prototype.getOptions=function(){return _.E(this,_.VTc,1)};_.WK.prototype.Wn=function(){return _.D(this,2)};_.WK.prototype.zd=function(){return _.E(this,_.gf,3)};
_.WTc=function(a){_.O(this,a,-1,null,_.XK)};_.L(_.WTc,_.K);_.XK=[[3,4,5,6,7,8,9,10]];
var YK,YTc;YK={};_.XTc=(YK[1]="modifiedDate",YK[2]="modifiedByMeDate",YK[3]="quotaBytesUsed",YK[4]="title",YK[6]="lastViewedByMeDate",YK[10]="createdDate",YK[7]="sharedWithMeDate",YK[9]="starred",YK[11]="recency",YK[5]="relevance",YK[12]="trashedDate",YK[13]="lastViewedByMeDate",YK);YTc={};_.ZTc=(YTc[1]="asc",YTc[2]="desc",YTc);
_.$Tc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.aUc=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(_.aUc,_.ut);_.g=_.aUc.prototype;_.g.clone=function(){var a=new _.aUc(this.date);a.LG=this.LG;a.GV=this.GV;return a};_.g.add=function(a){(a.W||a.V)&&_.tt.prototype.add.call(this,new _.st(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.fw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.ut.prototype.getUTCFullYear;
_.g.getMonth=_.ut.prototype.getUTCMonth;_.g.getDate=_.ut.prototype.getUTCDate;_.g.getHours=_.ut.prototype.getUTCHours;_.g.getMinutes=_.ut.prototype.getUTCMinutes;_.g.getSeconds=_.ut.prototype.s$a;_.g.getMilliseconds=_.ut.prototype.r$a;_.g.getDay=_.ut.prototype.getUTCDay;_.g.setFullYear=_.ut.prototype.setUTCFullYear;_.g.setMonth=_.ut.prototype.setUTCMonth;_.g.setDate=_.ut.prototype.setUTCDate;_.g.setHours=_.ut.prototype.qMa;_.g.setMinutes=_.ut.prototype.rMa;_.g.setSeconds=_.ut.prototype.sMa;
_.g.setMilliseconds=_.ut.prototype.t$a;
var bUc,dUc;bUc={};_.cUc=(bUc[1]="0",bUc[2]="1",bUc[3]="2",bUc);dUc={};_.eUc=(dUc[1]="asc",dUc[2]="desc",dUc);
_.fUc=new _.Fo("drive_dataservice_builder");
_.gUc=_.ih&&0>_.sg(_.lh,"533");
_.hUc=new _.lTc("drive_dataservice_invariants");
_.iUc=new Map([[[1],1],[[6],7],[[2],2]]);_.jUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.kUc=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 _.VK(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}]]);
_.lUc=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)}]]);_.mUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.nUc=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]]);_.oUc=new Map([[[2],3],[[1],2],[[0],1]]);_.pUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.qUc=new Map([[[_.xSc],1],[[_.ySc],2],[[_.zSc],3],[[_.ASc],4],[[_.BSc],5],[[_.CSc],6],[[_.DSc],7],[[_.ESc],8],[[_.FSc],10],[[_.GSc],11],[[_.HSc],12],[[_.ISc],13]]);_.rUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lf");
_.ZK=function(a){_.O(this,a,-1,sUc,null)};_.L(_.ZK,_.K);_.ZK.prototype.Jc=function(){return _.D(this,2)};_.$K=function(a,b){return _.A(a,2,b)};_.g=_.ZK.prototype;_.g.wk=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.w$=function(){return _.D(this,13)};_.g.tIa=function(a){_.A(this,13,a)};var sUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ld");
_.$E=function(a){_.O(this,a,-1,aTb,null)};_.L(_.$E,_.K);_.$E.prototype.getId=function(){return _.D(this,1)};_.$E.prototype.Pb=function(a){return _.A(this,1,a)};_.$E.prototype.Tz=function(){return _.D(this,2)};var aTb=[5,6,9,10,12,13,15,16];
var bTb;_.aF=function(a){_.O(this,a,-1,bTb,null)};_.L(_.aF,_.K);_.aF.prototype.Xm=function(){return _.D(this,1)};_.cTb=function(a,b){return _.A(a,1,b)};bTb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var vUc;_.cL=function(a){if(a instanceof _.pc)return a;if(_.UK(a)){if(a=_.Esb(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);_.aL(a,2);_.bL(a,6);return a};_.tUc=function(a){var b=a.ik();a=a.kG();return 15===b||32===b||33===b||401===a};_.uUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.dL=function(a){_.O(this,a,-1,null,null)};_.L(_.dL,_.K);
_.eL=function(a){return _.ak(a,1,0)};_.fL=function(a){return _.E(a,_.dL,4)};_.aL=function(a,b){return _.A(a,1,b)};_.bL=function(a,b){return _.A(a,2,b)};vUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.gL=function(a){_.O(this,a,-1,vUc,null)};_.L(_.gL,_.K);_.g=_.gL.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.Ue=function(){return _.D(this,3)};
_.g.rm=function(a){return _.A(this,3,a)};_.g.Ev=function(a){return _.A(this,4,a)};_.g.Th=function(){return _.R(this,5)};_.g.On=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.D(this,6)};_.g.EE=function(a,b){_.nk(this,8,a,b)};_.g.Wi=function(){return _.D(this,12)};_.g.we=function(){return _.E(this,_.sf,17)};_.g.Hi=function(){return _.D(this,20)};_.g.Bc=function(){return _.D(this,21)};_.hL=function(a,b){return _.A(a,16,b)};_.t("sy1le");
_.iL=function(a){_.O(this,a,-1,wUc,null)};_.L(_.iL,_.K);_.iL.prototype.fR=function(){return _.ak(this,2,100)};_.iL.prototype.VS=function(a){return _.A(this,2,a)};_.iL.prototype.we=function(){return _.E(this,_.sf,6)};_.iL.prototype.Bc=function(){return _.D(this,8)};var wUc=[5];
var xUc;xUc={};_.yUc=(xUc[0]="/drive/v2internal",xUc[1]="/drive/v2internal.corp",xUc[2]="/drive/v2internal.scary",xUc[4]="/drive/v2internal.scary",xUc[5]="/drive/v2beta",xUc[6]="/drive/v2.1beta",xUc);
_.zUc=new Set([0,1,2,3]);
_.AUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.BUc=_.A(new _.gL,15,!0);_.CUc=_.hL(new _.gL,!0);_.DUc=_.hL(new _.gL,!1);
_.EUc=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");
_.FUc=new Set([7,4,5,9,6,10,11,12]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.GUc=function(a){for(var b in a)delete a[b]};_.HUc=function(a){a=_.Zf(a);return 0===a.length?_.sha:new _.yg(a,_.qha)};_.IUc=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
*/
_.JUc=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(_.JUc,_.aSc);_.JUc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.JUc.prototype.update=function(a,b){this.H.update(a,b)};
_.JUc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.KUc=function(a,b){a.reset();a.update(b);return a.digest()};
_.LUc=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(_.LUc,_.aSc);_.LUc.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 MUc=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};
_.LUc.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;)MUc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){MUc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){MUc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.LUc.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;MUc(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{
_.jL=function(a,b){return _.A(a,82,b)};_.kL=function(a){return _.A(a,3,!0)};_.NUc=function(a,b){return _.A(a,7,b)};_.t("sy1lb");
_.OUc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.PUc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.lL={U_:"Versions",w7:"Metadata",m6:"Data",FU:"Offline"};_.QUc=new Map([[_.lL.U_,"versionKey"],[_.lL.w7,"k"]]);_.RUc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var VUc;_.SUc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.TUc=function(a){return(a=a&&_.SUc(a))&&a["x-guploader-uploadid"]};_.UUc=function(a){return(a=a&&_.SUc(a))&&a["x-google-trace"]};VUc=[6];_.mL=function(a){_.O(this,a,-1,VUc,null)};_.L(_.mL,_.K);_.nL=function(a,b){return _.A(a,14,b)};_.t("sy1m1");
var WUc,YUc;
_.XUc=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=WUc(e)||new _.pc;_.A(e,8,!0);k&&(k=_.vj(new _.uj(k),void 0).toString(),_.A(e,19,k));e.kG()||_.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.ik()||(5===f?_.nL(e,7):0!==a||d?403===a?_.nL(e,22):503===a||429===a?_.nL(e,24):(_.fk(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.nL(e,2));e.xda(_.TUc(c));e.jda(_.UUc(c));
return e};WUc=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=YUc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.Tp(b,a);return b};
YUc={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{
_.ZUc=function(a,b){return _.A(a,1,b)};_.$Uc=function(a,b){return _.x(a,1,b)};_.aVc=function(a,b){return _.A(a,2,b)};_.bVc=function(a,b){return _.x(a,3,b)};_.t("sy1m2");

_.w();

}catch(e){_._DumpException(e)}
try{
_.cVc=function(a,b,c){c&&(a=_.Vg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Tg(a));return a};_.dVc=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
*/
_.eVc=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 fVc,gVc,kVc,oVc,pVc,qVc,IVc,hM,JVc,KVc,RVc,mVc,xWc,lVc,MWc,NWc,UWc,WWc,YWc,$Wc,aXc,bXc,dXc,uXc,vXc,yXc,zXc,AXc,CXc,DXc,FXc,IXc,BVc,MXc,CVc,NXc,OXc,PXc,EM,GM,RXc,TXc,WXc,XXc,YXc,ZXc,$Xc,aYc,dYc,fYc,gYc,iYc,jYc,yYc,xYc,BYc,DYc,EYc,FYc,KYc,NYc,PYc,QYc,WYc,VYc,UYc,SYc,TYc,SVc,dZc,eZc,$Yc,fZc,aZc,LVc,gZc,MVc,NVc,OVc,PVc,QVc,hZc,jZc;_.oL=function(a,b,c){var d=new _.pc,e=_.fka(_.oL);_.A(d,20,e);_.bL(d,a);_.aL(d,b?b:2);c&&_.nL(d,c);return d};
_.pL=function(a){var b;a instanceof _.pc?b=new _.qc(null,a):_.UK(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(_.pL));return b};_.qL=function(a){throw _.zA(a);};fVc=function(a){return 7===a.ik()||24===a.wp()&&(a=a.kG(),503===a||429===a)?!0:!1};gVc=function(a,b){return b?b+"("+a+")":a};
_.rL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.qBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.hVc.includes(p)){var q=_.ibb.get(p);if(q){var r=_.lbb[p];a.JG&&r&&(q=r);a.tr&&(a.JG?(p=_.kbb[p])&&(q=p):(p=_.jbb[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={f6:f.f6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.f6=[];l.forEach(function(p){return function(q){p.f6.push(q)}}(f));"owners"==k&&b&&f.f6.push("kind");e.push(gVc(f.f6.join(","),k))}return gVc(e.join(","),c)};_.iVc=function(a){var b=new _.Mo;b.append(_.rL(a,!0));return b.toString()};_.jVc=function(a,b){return a.filter(function(c){return b.includes(c)})};kVc=function(a){a=a.filter(function(b){return!_.ibb.has(b)});if(a.length)throw Error("Nc`"+a.join(", "));};
_.nVc=function(a){if(a){var b=a.getMimeType();b&&_.jF(a,b.toLowerCase());lVc(a,_.pk(a,mVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};oVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};pVc=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)))};
qVc=function(a){a=_.Sp(_.nL(_.aL(new _.pc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.zA(a);};
IVc=function(a){if(a instanceof _.sL)return"request access";if(a instanceof _.tL)return"admin migrate to TD";if(a instanceof _.uL)return"authorize app";if(a instanceof _.vL)return"copy item";if(a instanceof _.wL)return"change category links";if(a instanceof _.xL)return"create item";if(a instanceof _.yL)return"create ws";if("undefined"!=typeof _.AL&&a instanceof _.AL)return"delete app";if("undefined"!=typeof _.BL&&a instanceof _.BL)return"delete backup";if(a instanceof _.CL)return"delete item";if("undefined"!=
typeof _.DL&&a instanceof _.DL)return"delete permission";if(a instanceof _.EL)return"delete revision";if(a instanceof _.FL)return"delete TD";if(a instanceof _.GC)return"delete pref";if(a instanceof _.GL)return"delete ws";if(a instanceof _.HL)return"download item";if(a instanceof _.IL||a instanceof _.JL)return"empty trash";if(a instanceof _.KL)return"find by ID";if(a instanceof _.Cz)return"find by IDs";if(a instanceof _.rVc)return"item export start";if("undefined"!=typeof _.LL&&a instanceof _.LL)return"get app";
if("undefined"!=typeof _.ML&&a instanceof _.ML)return"insert app";if("undefined"!=typeof _.NL&&a instanceof _.NL)return"insert permission";if(a instanceof _.WK)return a=a.zd(),_.OL(a)?"quick access item query":_.PL(a)?"people predict item query":_.QL(a)?"drive priority query":"item query";if("undefined"!=typeof _.RL&&a instanceof _.RL)return"list android backup items request";if(a instanceof _.SL){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 _.sVc&&a instanceof _.sVc?"list backups":a instanceof _.iL?"list changes":a instanceof _.TL?"list permissions":"undefined"!=typeof _.UL&&a instanceof _.UL?"list revisions":a instanceof _.VL?"partial download item":a instanceof _.WL?"people api":a instanceof _.bF?"get published category":"undefined"!=typeof _.XL&&a instanceof _.XL?"get remaining changes":a instanceof _.YL?"remove item":
"undefined"!=typeof _.ZL&&a instanceof _.ZL?"reparent item":a instanceof _.$L?"restore item":a instanceof _.eF?"list suggested workspace items":a instanceof _.fF?"list suggested workspaces":"undefined"!=typeof _.aM&&a instanceof _.aM?"update app":a instanceof _.bM?"update category metadata":a instanceof _.gL?"update item":a instanceof _.cM?"update revision":a instanceof _.dM?"update TD":a instanceof _.HC?"update pref":a instanceof _.eM?"update ws":a instanceof _.RK?"get account":a instanceof _.iF?
"get workspace":a instanceof _.tVc?"list activity":a instanceof _.uVc?"list category metadata":a instanceof _.vVc?"create TD":"undefined"!=typeof _.wVc&&a instanceof _.wVc?"item export cancel":"undefined"!=typeof _.xVc&&a instanceof _.xVc?"item export status":"undefined"!=typeof _.yVc&&a instanceof _.yVc?"generate cse token":"undefined"!=typeof _.zVc&&a instanceof _.zVc?"get largest change ID":a instanceof _.FC?"list prefs":a instanceof _.fM?"multipart upload":a instanceof _.AVc?"list published categories":
a instanceof BVc?"init resumable upload":a instanceof CVc?"resumable upload chunk":a instanceof _.DVc?"resumable upload":a instanceof _.gF?"get TD":"undefined"!=typeof _.EVc&&a instanceof _.EVc?"move TD preflight":a instanceof _.gM?"list TDs":"undefined"!=typeof _.FVc&&a instanceof _.FVc?"get TD stats":a instanceof _.GVc?"test connection":"undefined"!=typeof _.HVc&&a instanceof _.HVc?"list workspaces":"unknown"};
hM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};JVc=function(a){if(a instanceof _.xL||a instanceof _.fM||a instanceof _.DVc||a instanceof BVc||a instanceof CVc)return(new _.iM).Dc(8);throw Error("$e");};KVc=function(a){if(a instanceof _.gL){var b=_.gk(_.fk(a.clone(),1),17);b=_.xk(b,_.BUc)}else b=!1;b||(a instanceof _.gL?(a=_.gk(_.fk(a.clone(),1),17),b=_.xk(a,_.CUc)||_.xk(a,_.DUc)):b=!1);return b?!1:!0};
_.jM=function(a){return LVc.includes(a.constructor)?KVc(a):!1};RVc=function(a,b){if(MVc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&NVc.includes(a.constructor))return!0;var c=_.fL(b);if(c&&!_.S(c,7,!1)&&OVc.includes(a.constructor)&&!_.kM(a)||_.S(b,56,!1)&&_.kM(a)||_.S(b,57,!1)&&PVc.includes(a.constructor)||!(!_.S(b,53,!1)||NVc.includes(a.constructor)||OVc.includes(a.constructor)||_.kM(a)||PVc.includes(a.constructor)||QVc.includes(a.constructor)))return!0}return!1};
_.lM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(SVc(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)&&qVc(h):(a.set(h,_.D(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.tz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.TVc=function(a){var b=new _.Sk;return _.A(b,1,a)};_.UVc=function(a,b){return _.A(a,7,b)};_.VVc=function(a,b){return _.A(a,8,b)};
_.WVc=function(a,b){return _.A(a,11,b)};_.XVc=function(a,b){return _.A(a,1,b)};_.YVc=function(a,b){return _.A(a,4,b)};_.ZVc=function(a,b){return _.A(a,5,b)};_.$Vc=function(a,b){return _.A(a,6,b)};_.aWc=function(a,b){return _.A(a,7,b)};_.bWc=function(a,b){return _.A(a,8,b)};_.cWc=function(a,b){return _.A(a,9,b)};_.dWc=function(a,b){return _.A(a,10,b)};_.eWc=function(a,b){return _.A(a,11,b)};_.fWc=function(a,b){return _.A(a,12,b)};_.gWc=function(a,b){return _.A(a,16,b)};
_.hWc=function(a,b){return _.A(a,17,b)};_.iWc=function(a,b){return _.A(a,20,b)};_.jWc=function(a,b){return _.A(a,21,b)};_.kWc=function(a,b){return _.A(a,31,b)};_.lWc=function(a,b){return _.A(a,32,b)};_.mWc=function(a,b){return _.A(a,33,b)};_.nWc=function(a,b){return _.A(a,42,b)};_.oWc=function(a,b){return _.A(a,43,b)};_.pWc=function(a,b){return _.A(a,46,b)};_.qWc=function(a,b){return _.A(a,47,b)};_.rWc=function(a,b){return _.A(a,48,b)};_.mM=function(a){_.O(this,a,-1,null,null)};_.L(_.mM,_.K);
_.sWc=function(a){_.O(this,a,-1,null,null)};_.L(_.sWc,_.K);_.tWc=function(a,b){return _.A(a,2,b)};mVc=function(a){_.O(this,a,-1,null,null)};_.L(mVc,_.K);mVc.prototype.getMimeType=function(){return _.D(this,1)};mVc.prototype.getUrl=function(){return _.D(this,2)};_.nM=function(a){_.O(this,a,-1,null,null)};_.L(_.nM,_.K);_.nM.prototype.Qe=function(){return _.D(this,2)};_.nM.prototype.xh=function(a){return _.A(this,2,a)};_.nM.prototype.wh=function(a){return _.A(this,3,a)};
_.uWc=function(a,b){return _.A(a,1,b)};_.vWc=function(a,b){return _.Cb(a,2,b)};_.wWc=function(a,b){return _.Cb(a,3,b)};xWc=[2];_.oM=function(a){_.O(this,a,-1,xWc,null)};_.L(_.oM,_.K);_.oM.prototype.Ue=function(){return _.D(this,1)};_.oM.prototype.rm=function(a){return _.A(this,1,a)};_.oM.prototype.Ova=function(a,b){return _.nk(this,2,a,b)};_.pM=function(a){_.O(this,a,-1,null,null)};_.L(_.pM,_.K);_.pM.prototype.Qe=function(){return _.D(this,1)};_.pM.prototype.xh=function(a){return _.A(this,1,a)};
_.pM.prototype.wh=function(a){return _.A(this,2,a)};_.qM=function(a,b){return _.ek(a,2,b)};_.yWc=function(a,b){_.A(a,8,b)};_.zWc=function(a,b){return _.Cb(a,15,b)};_.AWc=function(a,b){return _.x(a,17,b)};_.BWc=function(a,b){return _.A(a,19,b)};_.CWc=function(a,b){_.A(a,26,b)};_.DWc=function(a,b){_.A(a,31,b)};_.EWc=function(a,b){_.A(a,34,b)};_.FWc=function(a,b){return _.A(a,44,b)};_.GWc=function(a,b){return _.A(a,52,b)};lVc=function(a,b){_.Cb(a,58,b)};_.HWc=function(a,b){return _.A(a,72,b)};
_.rM=function(a,b){return _.x(a,84,b)};_.IWc=function(a,b){_.x(a,85,b)};_.JWc=function(a,b){return _.A(a,92,b)};_.KWc=function(a,b){return _.A(a,93,b)};_.LWc=function(a){_.O(this,a,-1,null,null)};_.L(_.LWc,_.K);_.sM=function(a){return _.S(a,2,!1)};MWc=[3];NWc=function(a){_.O(this,a,-1,MWc,null)};_.L(NWc,_.K);NWc.prototype.Yi=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 OWc=[3],PWc=function(a){_.O(this,a,-1,OWc,null)};_.L(PWc,_.K);PWc.prototype.Yi=function(){return _.Nd(this,3)};var QWc=[3],RWc=function(a){_.O(this,a,-1,QWc,null)};_.L(RWc,_.K);RWc.prototype.Yi=function(){return _.Nd(this,3)};_.tM=function(a){_.O(this,a,-1,null,null)};_.L(_.tM,_.K);_.tM.prototype.Xa=function(){return _.D(this,1)};_.tM.prototype.Jb=function(a){return _.A(this,1,a)};_.tM.prototype.Fi=function(){return _.fk(this,1)};_.tM.prototype.lh=function(){return _.Q(this,1)};
_.uM=function(a){return _.Zj(a,45,1)};_.OL=function(a){return _.S(a,47,!1)};_.PL=function(a){return _.S(a,49,!1)};_.QL=function(a){return _.S(a,52,!1)};_.vM=function(a){return _.F(a,2,"")};_.SWc=function(a,b){return _.ek(a,27,b)};_.wM=function(a){return _.Zj(a,39,0)};_.xM=function(a){return _.S(a,40,!1)};_.TWc=function(a){return _.tt.prototype.rP.call(a,!0)+"T"+_.Zg(a.getHours(),2)+":"+_.Zg(a.getMinutes(),2)+":"+_.Zg(a.getSeconds(),2)+a.P$()};
UWc=function(a,b){return _.NSc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.VWc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.OK(c,"deleting object store "+b);}};WWc=function(){var a=new _.QTc;a.O=12E4;a.ma=!0;return a};_.XWc=function(a){_.O(this,a,-1,null,null)};_.L(_.XWc,_.K);YWc=[3,4,10,18,19,28];_.xL=function(a){_.O(this,a,-1,YWc,null)};_.L(_.xL,_.K);_.g=_.xL.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.EE=function(a,b){_.nk(this,3,a,b)};_.g.we=function(){return _.E(this,_.sf,7)};_.g.hj=function(){return _.D(this,9)};_.g.Bc=function(){return _.D(this,14)};_.g.Iz=function(){return _.E(this,_.XWc,15)};_.g.m2=function(){return _.D(this,21)};_.g.Jc=function(){return _.D(this,23)};_.yM=function(a,b){return _.A(a,1,b)};_.zM=function(a,b){return _.ek(a,3,b)};_.ZWc=function(a,b){return _.A(a,12,b)};_.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.we=function(){return _.E(this,_.sf,3)};_.FL=function(a){_.O(this,a,-1,null,null)};_.L(_.FL,_.K);_.FL.prototype.getId=function(){return _.D(this,1)};_.FL.prototype.Pb=function(a){return _.A(this,1,a)};_.FL.prototype.we=function(){return _.E(this,_.sf,2)};$Wc=[7,8];_.dM=function(a){_.O(this,a,-1,$Wc,null)};_.L(_.dM,_.K);_.g=_.dM.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.we=function(){return _.E(this,_.sf,4)};_.g.Cm=function(){return _.R(this,15)};_.gM=function(a){_.O(this,a,-1,null,null)};_.L(_.gM,_.K);_.gM.prototype.getOptions=function(){return _.E(this,_.VTc,1)};_.gM.prototype.Wn=function(){return _.D(this,2)};_.gM.prototype.zd=function(){return _.E(this,_.JK,3)};aXc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};
bXc=null;_.cXc=function(a){if(_.oma)return _.n.atob(a);var b="";_.qma(a,function(c){b+=String.fromCharCode(c)});return b};dXc=function(){this.O=0;this.H=[]};_.g=dXc.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=eXc(this,a);return this.H[a]};_.g.set=function(a,b){a=eXc(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.Ig=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.qf=function(){for(var a=[],b=this.lc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ee=function(a){return a<this.lc()};_.g.Kq=function(a){for(var b=this.lc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var eXc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},fXc=function(a){_.O(this,a,-1,null,null)};_.L(fXc,_.K);_.gXc=function(a){_.O(this,a,-1,null,null)};
_.L(_.gXc,_.K);_.gXc.prototype.Ze=function(){return _.D(this,1)};_.gXc.prototype.mj=function(a){return _.A(this,1,a)};_.gXc.prototype.Cb=function(){return _.D(this,4)};_.gXc.prototype.Dc=function(a){return _.A(this,4,a)};var hXc=function(a){_.O(this,a,-1,null,null)};_.L(hXc,_.K);hXc.prototype.Ao=function(){return _.D(this,5)};var iXc=function(a,b){_.A(a,6,b)},jXc=function(a){_.O(this,a,-1,null,null)};_.L(jXc,_.K);_.g=jXc.prototype;_.g.gib=function(a){_.A(this,1,a)};
_.g.EOb=function(a){_.A(this,2,a)};_.g.ty=function(){return _.R(this,3)};_.g.hib=function(a){_.A(this,3,a)};_.g.lOb=function(a){_.A(this,4,a)};var kXc=function(a){_.O(this,a,-1,null,null)};_.L(kXc,_.K);kXc.prototype.ty=function(){return _.R(this,2)};var lXc=function(a,b){return _.A(a,2,b)},mXc=function(a,b){_.A(a,3,b)};kXc.prototype.qB=function(){return _.D(this,6)};var nXc=function(a,b){return _.A(a,8,b)},oXc=function(a){_.O(this,a,-1,null,null)};_.L(oXc,_.K);
var pXc=function(a){_.O(this,a,-1,null,null)};_.L(pXc,_.K);pXc.prototype.ty=function(){return _.R(this,1)};pXc.prototype.Ao=function(){return _.D(this,5)};pXc.prototype.Mm=function(){return _.D(this,6)};pXc.prototype.Ft=function(a){return _.A(this,6,a)};var qXc=function(a){_.O(this,a,-1,null,null)};_.L(qXc,_.K);var rXc=function(a,b){_.A(a,4,b)},sXc=function(a){_.O(this,a,-1,null,null)};_.L(sXc,_.K);_.g=sXc.prototype;_.g.zd=function(){return _.E(this,_.gXc,1)};
_.g.getState=function(){return _.E(this,hXc,2)};_.g.Od=function(a){return _.x(this,2,a)};_.g.st=function(){return _.Q(this,2)};_.g.bF=function(){return _.E(this,pXc,16)};var tXc=function(a){_.O(this,a,-1,null,null)};_.L(tXc,_.K);tXc.prototype.getEnvironment=function(){return _.D(this,2)};tXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.hVc=[42,1005,20,50,18,1003,1002];uXc=[73,71];_.AM=function(a){_.O(this,a,-1,null,null)};_.L(_.AM,_.K);
_.AM.prototype.getId=function(){return _.D(this,1)};_.AM.prototype.Pb=function(a){return _.A(this,1,a)};_.AM.prototype.getMimeType=function(){return _.D(this,2)};_.AM.prototype.dG=function(){return _.D(this,8)};vXc=[22];_.iM=function(a){_.O(this,a,-1,vXc,null)};_.L(_.iM,_.K);_.g=_.iM.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.Zj=function(){return _.D(this,3)};_.g.Jc=function(){return _.D(this,5)};_.wXc=function(a,b){return _.A(a,5,b)};_.g=_.iM.prototype;_.g.fK=function(){return _.D(this,7)};_.g.xda=function(a){return _.A(this,7,a)};_.g.iga=function(a){_.A(this,9,a)};_.g.VMa=function(a){_.A(this,10,a)};_.g.jN=function(){return _.D(this,16)};_.g.jda=function(a){return _.A(this,16,a)};var xXc=function(a){_.xi.call(this,a);this.connectionState=_.Ssb.get(a)};_.L(xXc,_.xi);
yXc=function(a){var b=new _.li;a.listen("loadend",_.vb(function(c,d){var e=d.xk(),f=d.getError();null==e||f?c.Qd(f):c.callback(e);d.dispose()},b,a));return b};_.sL=function(a){_.O(this,a,-1,null,null)};_.L(_.sL,_.K);_.sL.prototype.Jc=function(){return _.D(this,1)};_.tL=function(a){_.O(this,a,-1,null,null)};_.L(_.tL,_.K);_.tL.prototype.getId=function(){return _.D(this,1)};_.tL.prototype.Pb=function(a){return _.A(this,1,a)};_.tL.prototype.Mk=function(){return _.D(this,2)};
_.uL=function(a){_.O(this,a,-1,null,null)};_.L(_.uL,_.K);_.uL.prototype.Ah=function(){return _.D(this,1)};_.uL.prototype.Jc=function(){return _.D(this,2)};_.uL.prototype.we=function(){return _.E(this,_.sf,4)};zXc=[3,7];_.vL=function(a){_.O(this,a,-1,zXc,null)};_.L(_.vL,_.K);_.g=_.vL.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.EE=function(a,b){_.nk(this,3,a,b)};_.g.we=function(){return _.E(this,_.sf,5)};_.yL=function(a){_.O(this,a,-1,null,null)};_.L(_.yL,_.K);_.yL.prototype.getTitle=function(){return _.D(this,1)};_.yL.prototype.setTitle=function(a){return _.A(this,1,a)};_.yL.prototype.we=function(){return _.E(this,_.sf,2)};_.EL=function(a){_.O(this,a,-1,null,null)};_.L(_.EL,_.K);_.EL.prototype.Jc=function(){return _.D(this,1)};_.EL.prototype.we=function(){return _.E(this,_.sf,3)};
_.GL=function(a){_.O(this,a,-1,null,null)};_.L(_.GL,_.K);_.GL.prototype.getId=function(){return _.D(this,1)};_.GL.prototype.Pb=function(a){return _.A(this,1,a)};_.GL.prototype.we=function(){return _.E(this,_.sf,3)};_.IL=function(a){_.O(this,a,-1,null,null)};_.L(_.IL,_.K);_.IL.prototype.we=function(){return _.E(this,_.sf,1)};_.YL=function(a){_.O(this,a,-1,null,null)};_.L(_.YL,_.K);_.g=_.YL.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.Cg=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.sf,3)};_.$L=function(a){_.O(this,a,-1,null,null)};_.L(_.$L,_.K);_.g=_.$L.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.Cg=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.sf,3)};_.cM=function(a){_.O(this,a,-1,null,null)};_.L(_.cM,_.K);
_.cM.prototype.Jc=function(){return _.D(this,1)};_.cM.prototype.we=function(){return _.E(this,_.sf,4)};_.eM=function(a){_.O(this,a,-1,null,null)};_.L(_.eM,_.K);_.g=_.eM.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.Od=function(a){return _.A(this,3,a)};_.g.st=function(){return _.Q(this,3)};
_.g.we=function(){return _.E(this,_.sf,5)};AXc=[2,3];_.wL=function(a){_.O(this,a,-1,AXc,null)};_.L(_.wL,_.K);_.wL.prototype.Bc=function(){return _.D(this,1)};_.wL.prototype.we=function(){return _.E(this,_.sf,4)};_.BXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};CXc=[3,4];_.SL=function(a){_.O(this,a,-1,CXc,null)};_.L(_.SL,_.K);_.SL.prototype.getType=function(){return _.D(this,1)};_.SL.prototype.we=function(){return _.E(this,_.sf,2)};DXc=[1];_.WL=function(a){_.O(this,a,-1,DXc,null)};
_.L(_.WL,_.K);_.WL.prototype.Zm=function(){return _.Nd(this,1)};_.EXc=function(a){_.O(this,a,-1,null,null)};_.L(_.EXc,_.K);_.g=_.EXc.prototype;_.g.getKey=function(){return _.D(this,1)};_.g.As=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.Fi=function(){return _.fk(this,2)};_.g.lh=function(){return _.Q(this,2)};_.g.Ue=function(){return _.D(this,3)};_.g.rm=function(a){return _.A(this,3,a)};_.g.getType=function(){return _.D(this,4)};
FXc=[1];_.GXc=function(a){_.O(this,a,-1,FXc,null)};_.L(_.GXc,_.K);_.HXc=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)};_.JXc=function(a){var b=a.O.Ig();a.V&&b.push(IXc("...","...","...","..."));_.za(b,a.H.Ig());return b};_.KXc=function(a){var b=[];a=_.JXc(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")};
_.HXc.prototype.info=function(a,b){_.BM(this,a,b,"info")};_.HXc.prototype.config=function(a,b){_.BM(this,a,b,"config")};_.HXc.prototype.log=function(a,b,c){if(!bXc){bXc={};for(var d=0,e;e=_.kka[d];d++)bXc[e.value]=e,bXc[e.name]=e}_.BM(this,a,b,c)};_.BM=function(a,b,c,d){a.H.lc()>=a.ha&&(a.V=!0,_.sl(a.H));var e=Date.now()-a.startTime;b=IXc(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)};
IXc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.tVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.vVc=function(a){this.request=a;this.requestId=_.ah()};_.LXc=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};_.fM=function(a,b,c,d){this.request=a;this.file=b;this.yQ=void 0===c?null:c;this.metadata=d};
_.DVc=function(a,b,c,d){this.request=a;this.file=b;this.yQ=void 0===c?null:c;this.metadata=d};BVc=function(a,b){this.request=a;this.metadata=b};MXc=function(a,b,c){this.O=a;this.H=b;this.V=c};CVc=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};_.GVc=function(){this.H=_.uf(new _.sf,312)};NXc=function(){};_.uVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.AVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
OXc=function(a,b){this.H=a;this.O=b};PXc=function(a){_.xi.call(this,"Ab");this.H=a};_.L(PXc,_.xi);PXc.prototype.$e=function(){return this.H};_.CM=function(a){a.supportsTeamDrives=!0};_.QXc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Nd(a,27)));this.initialize(a)};
_.QXc.prototype.initialize=function(a){var b=_.jVc(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);_.PK(_.QK(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();kVc(this.H)};_.DM=function(a){return[].concat(_.nd(a.H))};EM=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.FM=function(a,b,c){0!==b.length&&(a.YI.length&&a.append(" "+(c||"and")+" "),a.append(b))};GM=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(EM(c));e.push("in");e.push(b);_.FM(a,e.join(" "))}};_.HM=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());_.FM(a,e.join(" "),d)}};RXc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.FM(a,d.join(""))}};
_.SXc=function(a){var b=new _.aUc;b.setTime(a);return b};TXc=function(a,b){b=_.Nd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(EM(b));_.FM(a,c.join(" "))}};_.UXc=function(a){a=_.pk(a,_.tM,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(",")};_.VXc=function(a){a=a.sB();return null==a||0==a.length?"":a.map(function(b){b=_.D(b,1);if(0==b)throw Error("Me");return _.PRc[b]}).join(",")};
WXc=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(EM(d.Xa()));_.FM(c,e.join(" "),"or")}return c.toString()}return""};XXc=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 EM(e.Xa())});d.push(a.join(", "));return d.join(" ")}return""};
YXc=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""}};ZXc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};$Xc=function(a,b,c){if(null!=_.D(c,2)){var d=ZXc(_.D(c,1));c=EM(_.TWc(_.SXc(_.D(c,2)||0)));_.FM(a,[b,d,c].join(" "))}};
aYc=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""};
_.bYc=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(EM(f));_.FM(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(EM(u));_.FM(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=WXc(C,!1),ta=WXc(G,!0),va=XXc(I,!1,!1),Ya=XXc(M,!0,!1),Ga=XXc(P,!1,!0),Pa=XXc(V,!0,!0),$b=new _.Mo;if(va||Ga||qa||ta)_.FM($b,va,"or"),_.FM($b,Ga,"or"),_.FM($b,qa,"or"),_.FM($b,ta,"or");$b.YI.length&&_.FM(b,"("+$b.toString()+")","and");var nb=new _.Mo;if(Ya||Pa)_.FM(nb,Ya,"and"),_.FM(nb,Pa,"and");nb.YI.length&&_.FM(b,"("+nb.toString()+
")","and")}for(var mc=_.pk(a,_.Dl,7),Lc=0;Lc<mc.length;Lc++)$Xc(b,"modifiedDate",mc[Lc]);for(var yc=_.pk(a,_.Dl,8),be=0;be<yc.length;be++)$Xc(b,"lastViewedByMeDate",yc[be]);_.HM(b,"trashed",a.Th());_.HM(b,"explicitlyTrashed",_.R(a,17));_.HM(b,"starred",_.R(a,10));_.HM(b,"hidden",a.Cm());for(var Id=_.Ll(a),Xe=0;Xe<Id.length;Xe++){var lc=Id[Xe];GM(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];GM(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];GM(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];GM(b,"readers",nj.Xa(),_.S(nj,2,!1))}_.R(a,16)&&_.FM(b,"sharedWithMe");_.HM(b,"unparented",_.R(a,34));for(var De=_.pk(a,_.Al,35)||[],Ie=_.m(De),Pg=Ie.next();!Pg.done;Pg=Ie.next())GM(b,"ancestors",Pg.value.Xa(),!1);for(var Ug=_.pk(a,_.Al,38)||[],Bi=_.m(Ug),Zi=Bi.next();!Zi.done;Zi=Bi.next())GM(b,"descendants",Zi.value.Xa(),!1);for(var yl=_.pk(a,_.El,37)||
[],pm=_.m(yl),ji=pm.next();!ji.done;ji=pm.next())GM(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(EM(oj));_.FM(b,zh.join(" "))}for(var Zh=_.Nd(a,40),Mh=0;Mh<Zh.length;Mh++){var Uj=[];0==Mh&&Uj.push("(");Uj.push(EM(Zh[Mh]));Uj.push("in");Uj.push("templateData.categories");Mh==Zh.length-1&&Uj.push(")");_.FM(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(EM(_.cUc[eh]||""));_.FM(b,sh.join(" "))}var qg=_.D(a,42);if(null!=qg){var dg=[];dg.push("visibility");dg.push("=");dg.push(EM(aYc(qg)));_.FM(b,dg.join(" "))}for(var pi=_.pk(a,_.xl,44),Nh=0;Nh<pi.length;++Nh){var $h=pi[Nh];GM(b,"actionItems",YXc($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(EM("NONE"));_.FM(b,th.join(" "))}GM(b,"workspaceIds",a.Sp(),
!1);for(var Ej=_.pk(a,_.Bl,57),Vj=0;Vj<Ej.length;Vj++){var qj=[];0==Vj&&qj.push("(");qj.push(EM(Ej[Vj].Xa()));qj.push("in");qj.push("approvals");Vj==Ej.length-1&&qj.push(")");_.FM(b,qj.join(" "),0==Vj?"and":"or")}if(_.Q(a,58)){var Ee=a.Rq(),Di=Ee.Xa(),rk=_.S(Ee,2,!1);if(Di){var sk=[];rk&&sk.push("not");sk.push("creator");sk.push("=");sk.push(EM(Di));_.FM(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;GM(b,"categoryMetadata",
Ei.Xm());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)?_.FM(b,Pe+" is null"):_.FM(b,"not ("+Pe+" is null)")}else{var Af=new _.Mo,Wd=void 0;switch(zl){case 3:Wd=_.E(fg,NWc,3);for(var Fi=_.m(Wd.Yi()),Te=Fi.next();!Te.done;Te=Fi.next())_.HM(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.Yi()),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,EM(qm.getYear()+"-"+qm.getMonth()+"-"+qm.getDay())];_.FM(Af,Rm.join(" "),"or")}break;case 8:for(var Cn=Wd=_.E(fg,_.eoa,8),zk=new Map([[1,"="],[2,">"],[3,"<"]]),Rh=_.m(Cn.Yi()),Lj=Rh.next();!Lj.done;Lj=Rh.next()){var Ak=Lj.value,$m=zk.get(_.D(Cn,2));if(!$m)throw Error("Ne");_.FM(Af,[Pe,$m,Ak].join(" "),"or")}break;case 9:for(var eo=Wd=_.E(fg,PWc,9),an=new Map([[1,"in"]]),$l=_.m(eo.Yi()),Dm=$l.next();!Dm.done;Dm=
$l.next()){var xr=Dm.value,cF=an.get(_.D(eo,2));if(!cF)throw Error("Ne");_.FM(Af,[xr,cF,Pe].join(" "),"or")}break;case 6:for(var GI=Wd=_.E(fg,_.joa,6),dF=new Map([[1,"="]]),oY=_.m(GI.Yi()),HI=oY.next();!HI.done;HI=oY.next()){var pY=HI.value,qY=dF.get(_.D(GI,2));if(!qY)throw Error("Ne");_.FM(Af,[Pe,qY,EM(pY)].join(" "),"or")}break;case 7:for(var Lga=Wd=_.E(fg,_.hoa,7),Txb=new Map([[1,"in"]]),WYa=_.m(Lga.Yi()),Mga=WYa.next();!Mga.done;Mga=WYa.next()){var Uxb=Mga.value,Vxb=Txb.get(_.D(Lga,2));if(!Vxb)throw Error("Ne");
_.FM(Af,[EM(Uxb),Vxb,Pe].join(" "),"or")}break;case 4:for(var Wxb=Wd=_.E(fg,_.loa,4),XYa=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),YYa=_.m(Wxb.Yi()),Nga=YYa.next();!Nga.done;Nga=YYa.next()){var Xxb=Nga.value,Yxb=XYa.get(_.D(Wxb,2));if(!Yxb)throw Error("Ne");_.FM(Af,[Pe,Yxb,EM(Xxb)].join(" "),"or")}break;case 5:for(var ZYa=Wd=_.E(fg,RWc,5),Zxb=new Map([[1,"in"]]),$xb=_.m(ZYa.Yi()),$Ya=$xb.next();!$Ya.done;$Ya=$xb.next()){var aZa=$Ya.value,bZa=Zxb.get(_.D(ZYa,2));if(!bZa)throw Error("Ne");
_.FM(Af,[EM(aZa),bZa,Pe].join(" "),"or")}break;case 12:for(var yxa=Wd=_.E(fg,_.coa,12),ayb=new Map([[1,"="]]),byb=_.m(yxa.Yi()),zxa=byb.next();!zxa.done;zxa=byb.next()){var cyb=zxa.value,cZa=ayb.get(_.D(yxa,2));if(!cZa)throw Error("Ne");_.FM(Af,[Pe,cZa,EM(cyb)].join(" "),"or")}break;case 11:for(var Axa=Wd=_.E(fg,_.aoa,11),dyb=new Map([[1,"in"]]),eyb=_.m(Axa.Yi()),dZa=eyb.next();!dZa.done;dZa=eyb.next()){var Prc=dZa.value,ey=dyb.get(_.D(Axa,2));if(!ey)throw Error("Ne");_.FM(Af,[EM(Prc),ey,Pe].join(" "),
"or")}}_.R(fg,15)?_.FM(b,"not ("+Af+")"):_.FM(b,1<Wd.Yi().length?"("+Af+")":""+Af)}}}null!=_.R(a,60)&&_.HM(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var eZa=_.R(a,65);if(null!=eZa){var q6=[];q6.push("clientEncryptionDetails.encryptionState");q6.push("=");q6.push(EM(eZa?"encrypted":"unencrypted"));_.FM(b,q6.join(" "))}var fZa=_.pk(a,_.jf,68);if(fZa.length){for(var fyb=[],II=[],gyb=_.m(fZa),gZa=gyb.next();!gZa.done;gZa=gyb.next()){var hyb=gZa.value,iyb="sharedFrom = "+EM(hyb.Xa());_.S(hyb,
2,!1)?II.push(iyb):fyb.push(iyb)}RXc(b,fyb,!1);RXc(b,II,!0)}var jyb=_.pk(a,_.jf,67);if(jyb.length){for(var kyb=[],lyb=[],myb=_.m(jyb),Bxa=myb.next();!Bxa.done;Bxa=myb.next()){var hZa=Bxa.value,Cxa="sharedTo = "+EM(hZa.Xa());_.S(hZa,2,!1)?lyb.push(Cxa):kyb.push(Cxa)}RXc(b,kyb,!1);RXc(b,lyb,!0)}null!=_.R(a,69)&&_.HM(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.HM(b,"canAcceptOwnership",_.R(a,72));1==_.uM(a)&&TXc(b,a);return b.toString()};
_.cYc=function(a){var b=new _.Mo(_.bYc(a));_.OL(a)?_.FM(b,"isQuickAccessRequest"):_.PL(a)?_.FM(b,"isPeoplePredictRequest"):_.QL(a)&&_.FM(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.XTc[c.getType()]);d.push(_.eUc[c.Ff()]);_.R(c,3)&&d.push("foldersFirst");_.FM(b,d.join(" "))}_.HM(b,"domainSearch",_.R(a,18));_.HM(b,"offline",_.R(a,19));_.pk(a,_.tM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.UXc(a)),_.FM(b,c.join(" ")));a.sB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.VXc(a)),_.FM(b,c.join(" ")));if(c=_.uM(a))d=[],d.push("corpora"),d.push("="),d.push(EM(_.BXc[c])),_.FM(b,d.join(" "));_.S(a,66,!0)||_.HM(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.uM(a)&&TXc(b,a);_.S(a,48,!1)&&_.FM(b,"cachedOnly");return b.toString()};_.kM=function(a){if(a instanceof _.WK)a=a.zd();else if(!a)return!1;return a instanceof _.fF||a instanceof _.eF||"undefined"!=typeof _.IM&&a instanceof _.IM||a instanceof _.gf&&(_.OL(a)||_.PL(a)||_.QL(a))};
dYc=function(){_.Jo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(dYc,_.Jo);_.eYc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};fYc=function(a,b){a.V||(a.V=b)};dYc.prototype.Yj=function(){_.eYc(this);(0,this.ha)()};gYc=function(a,b){a.ha||(a.ha=b)};_.JM=function(a){if(!a.O){a.O=new sXc;var b=_.Lo(a);_.x(b,56,a.O)}return a.O};dYc.prototype.getState=function(){var a=_.JM(this).getState();a||(a=new hXc,_.JM(this).Od(a));return a};
var hYc=function(a,b){var c=new fXc;_.A(c,1,b);a=_.Lo(a);_.x(a,12,c)};dYc.prototype.bF=function(){var a=_.JM(this).bF();if(!a){a=new pXc;var b=_.JM(this);_.x(b,16,a)}return a};dYc.prototype.ma=function(){var a=_.E(_.JM(this),jXc,4);if(!a){a=new jXc;var b=_.JM(this);_.x(b,4,a)}return a};iYc=function(a){var b=_.E(_.JM(a),kXc,8);b||(b=new kXc,a=_.JM(a),_.x(a,8,b));return b};jYc=function(a){var b=_.E(_.JM(a),qXc,19);b||(b=new qXc,a=_.JM(a),_.x(a,19,b));return b};
_.kYc=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(_.kYc,_.Ki);_.g=_.kYc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.en=function(){return 1===this.connectionState||2===this.connectionState};_.g.$e=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?_.AA.GU:_.AA.Iha;else 1===a?(b=_.AA.IL,this.O=!0):3===a&&(b=_.AA.FU);if(b)return b=new xXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var lYc=function(a,b){this.userId=a;this.H=b;this.db=null},nYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return mYc(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")};lYc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.oBb=b.je(),d)).then(null,function(e){c.handleError(e)})};
var oYc=function(a){return new _.ei(function(b){var c=new Map;mYc(a,function(d){return UWc(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={Xra:f.Xra},k=h.next())k=_.m(k.value),f.Xra=k.next().value,k.next().value.then(function(l){return function(p){p&&c.set(l.Xra,new _.Dza(p.oBb))}}(f));return _.DK([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},pYc=function(a,b){return mYc(a,function(c){return c.remove(b)},
"readwrite")},mYc=function(a,b,c){c=void 0===c?"readonly":c;return qYc(a).then(function(d){try{var e=_.VSc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.pL(f):void 0)}},function(d){return a.handleError(d)})},qYc=function(a){return a.db?_.fi(a.db):_.XSc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.VWc(c,"OfflineImpressions");b=_.USc(c,"OfflineImpressions",{autoIncrement:!0});try{b.H.createIndex("userId",
"userId",void 0)}catch(d){throw _.OK(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(_.pL(b))})};lYc.prototype.handleError=function(a){a||(a=Error("Ve"));_.BM(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.fi()};_.rYc=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(_.rYc,_.Ki);_.rYc.prototype.$e=function(){return this.H};
_.rYc.prototype.Jl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new PXc(a)))};_.rYc.prototype.Ry=function(a){this.O=a};var tYc=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.$e()||sYc(h)});this.Lb.listen(c,[_.AA.IL,_.AA.GU],function(){return void sYc(h)});this.W=e;f.then(function(){return sYc(h)})};_.L(tYc,_.Ki);
tYc.prototype.vA=function(a){return(this.H.$e()||this.connectionState.$e())&&this.H.O?nYc(this.O,a):this.V.vA(a)};
var sYc=function(a){return a.H.O?oYc(a.O).then(function(b){b.forEach(function(c,d){a.V.vA(c).then(function(){return uYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},uYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return pYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
tYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var vYc=function(){};vYc.prototype.ZQ=function(){return new dYc};var wYc=function(){this.H=new tXc};wYc.prototype.O=function(a){_.x(a,13,this.H)};wYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
yYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.gs=d;this.O=this.H=null;this.client=_.KM(_.nUc,_.wM(a));this.W=_.D(a,94);this.ka=_.KM(_.rUc,_.Zj(a.$f(),8,0));this.Axa=_.KM(_.oUc,_.Zj(a.$f(),9,2));this.ma=_.S(a,10,!1);this.ou=_.PK(_.QK(a));this.RCa=_.xM(a);this.ha=xYc(a);this.buildLabel=a.Ni()};xYc=function(a){var b=[].concat(_.nd(_.kUc.keys())),c=[].concat(_.nd(_.lUc.keys())),d=_.fL(a);return b.filter(function(e){return _.kUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.lUc.get(e)(d)}))};
_.KM=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};yYc.prototype.Ao=function(a){return null==a?0:a?2:1};var zYc=function(a){if(a.O)return a.O.H("aU7Ts")};
yYc.prototype.Cb=function(a){return a instanceof _.pA||"undefined"!=typeof _.LM&&a instanceof _.LM||"undefined"!=typeof _.MM&&a instanceof _.MM||"undefined"!=typeof _.NM&&a instanceof _.NM?a.Cb():"undefined"!=typeof _.OM&&a instanceof _.OM||"undefined"!=typeof _.PM&&a instanceof _.PM||"undefined"!=typeof _.QM&&a instanceof _.QM||"undefined"!=typeof _.RM&&a instanceof _.RM||"undefined"!=typeof _.SM&&a instanceof _.SM?a.response?a.response.Cb():null:null};yYc.prototype.Ni=function(){return this.buildLabel};
var AYc=function(a){return a.V.$e()||a.connectionState.$e()?2:1};yYc.prototype.getEnvironment=function(){return this.gs};BYc=function(a,b){this.H=a;var c=new _.iya;_.jya(c,b.ha);a=this.H.ML();var d=_.PTc(a);_.x(d,10,c);(c=b.Ni())&&_.OTc(a,c);this.H.l_();this.O=b};
_.CYc=function(a,b,c){var d=_.Ko(a.H.ZF(b,c),_.fUc);hYc(d,AYc(a.O));b=zYc(a.O);"boolean"===typeof b&&iXc(d.getState(),b);1===c&&fYc(d,function(){return void a.H.UM(d)});gYc(d,function(){var e=a.O;e=e.H?e.H.Nd():void 0;var f=d.getState();_.A(f,1,e);a.H.wq(d)});return d};
DYc=function(a){var b=new _.Xya,c=new wYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.Axa);_.A(c.H,5,a.ma);_.A(c.H,6,a.ou);_.A(c.H,7,a.RCa);a=c.setEnvironment(a.getEnvironment());_.aTc(b,_.hUc,a);_.No(b,_.fUc,new vYc);return b};
EYc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.fH(906,b,void 0,_.uUc());l.ha=!1;var p=new _.bTc(l);b=new Date;l=_.UTc(_.TTc(_.STc(WWc(),new _.cTc(l)),DYc(c)),109).setSessionId(b.getTime()+"_"+_.ah());if(k){a=new tYc(p,d,e,new lYc(a,f),f,h);_.RTc(l,a);d=l.build();_.NTc(d.ML(),1E3*b.getTime());var q=new BYc(d,c);(new _.Le).listen(a,"Bb",function(){_.CYc(q,106008,0).Yj()});return q}_.RTc(l,p);a=l.build();_.NTc(a.ML(),1E3*b.getTime());return new BYc(a,c)};
FYc=function(a,b){this.V=a;this.W=b};FYc.prototype.O=function(a,b){this.V&&_.GYc(this)&&(a=_.CYc(this.V,a,0),b&&_.$Sc(a,b),a.Yj())};_.TM=function(a,b){if(a.V&&_.GYc(a)){a=_.CYc(a.V,106018,0);var c=_.E(_.JM(a),oXc,15);if(!c){c=new oXc;var d=_.JM(a);_.x(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Yj()}};FYc.prototype.H=function(a,b){return this.V&&_.GYc(this)?(a=_.CYc(this.V,a,1),b&&_.$Sc(a,b),a):null};_.GYc=function(a){return!(!a.V||!a.V.H.QP())};
_.HYc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.eL(_.QK(a)).toString(),l=_.vM(_.QK(a));f=new yYc(a,b,c,f);a=h?EYc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new FYc(a,f)};_.KL=function(a){_.O(this,a,-1,null,null)};_.L(_.KL,_.K);_.IYc=function(a){_.O(this,a,-1,null,null)};_.L(_.IYc,_.K);_.IYc.prototype.getId=function(){return _.D(this,1)};_.IYc.prototype.Pb=function(a){return _.A(this,1,a)};_.IYc.prototype.we=function(){return _.E(this,_.sf,2)};_.TL=function(a){_.O(this,a,-1,null,null)};_.L(_.TL,_.K);
_.TL.prototype.Wn=function(){return _.D(this,2)};_.TL.prototype.zd=function(){return _.E(this,_.IYc,3)};_.JL=function(a){_.O(this,a,-1,null,null)};_.L(_.JL,_.K);_.JL.prototype.zd=function(){return _.E(this,_.IL,1)};_.JL.prototype.Eda=function(a){return _.A(this,2,a)};_.HL=function(a){_.O(this,a,-1,null,null)};_.L(_.HL,_.K);_.HL.prototype.getId=function(){return _.D(this,1)};_.HL.prototype.Pb=function(a){return _.A(this,1,a)};_.JYc=function(a,b){return _.A(a,2,b)};
_.VL=function(a){_.O(this,a,-1,null,null)};_.L(_.VL,_.K);_.VL.prototype.zd=function(){return _.E(this,_.HL,1)};KYc=[2];_.bM=function(a){_.O(this,a,-1,KYc,null)};_.L(_.bM,_.K);_.bM.prototype.Jc=function(){return _.D(this,1)};_.bM.prototype.WV=function(){return _.pk(this,_.aF,2)};_.bM.prototype.we=function(){return _.E(this,_.sf,3)};_.LYc=function(a){_.O(this,a,-1,null,null)};_.L(_.LYc,_.K);_.LYc.prototype.vk=function(){return _.D(this,1)};_.MYc=function(a){var b=new _.LYc;return _.A(b,1,a)};NYc=[1];
_.rVc=function(a){_.O(this,a,-1,NYc,null)};_.L(_.rVc,_.K);_.OYc=function(){this.H={}};PYc=function(a,b,c){if(a.H[b])throw Error("We");a.H[b]=c};_.OYc.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)}};QYc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.RYc=function(a,b){this.H=a;this.V=b;this.O=_.yUc[_.Zj(a.$f(),8,0)];this.W=_.yUc[_.Zj(a.$f(),51,5)];this.nonce=_.ah()};
_.RYc.prototype.tc=function(a,b){if(b.aO)SYc(this,a,b),TYc(this,a,b);else if(11===a.Um){if(b.yKb){var c=b.ND||_.F(this.H.$f(),37,"");_.zj(a.uri,"key",c)}SYc(this,a,b);UYc(this,a,b)}else switch(a.uri=VYc(this,a.Um,a.uri),a.Um){case 1:UYc(this,a,b);SYc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.ou||_.PK(_.QK(this.H))||_.zj(a.uri,"dsNonce",this.nonce));UYc(this,a,b);TYc(this,a,b);SYc(this,a,b);break;case 2:case 3:case 4:case 5:UYc(this,a,b);TYc(this,a,b);SYc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:UYc(this,
a,b);TYc(this,a,b);break;default:throw Error("Xe`"+a.Um);}};WYc=function(a,b){var c=VYc(a,b,new _.uj);if(!c.gH())throw Error("Ze");return(new _.uj).jn(c.Bo()).hn(c.Aj()).xA(c.py()).Di(_.zUc.has(b)?"/batch"+a.O:"/batch")};
VYc=function(a,b,c){var d=_.D(a.H.$f(),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.$f(),62,"");break;case 8:a=_.D(a.H.$f(),53);break;case 9:a=_.D(a.H.$f(),56);break;case 10:a=_.D(a.H.$f(),22);break;case 13:a=_.D(a.H.$f(),55);break;case 12:a=_.D(a.H.$f(),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)};UYc=function(a,b,c){a=_.QK(a.H);c.ou||_.PK(a)||(c=[{key:"u",value:_.vM(a)}],b.headers.authorization=_.Kbc(c)||"",c=_.eL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
SYc=function(a,b,c){var d=_.QK(a.H),e=a.H.$f(),f=c.I7a||!!_.D(e,13);c=c.J7a||_.S(e,14,!1);var h=11===b.Um;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())};
TYc=function(a,b,c){c.ou||_.PK(_.QK(a.H))?_.zj(b.uri,"key",_.F(a.H.$f(),36,"")):(a=c.ND||_.F(a.H.$f(),37,""),_.zj(b.uri,"key",a))};_.XYc=function(a,b){_.JG.call(this,a?a:500,b?b:6E5)};_.L(_.XYc,_.JG);_.YYc=function(a,b){this.O=b;this.H=new Map;this.nma(_.pk(a,_.Hl,91))};_.YYc.prototype.nma=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=_.ZYc(this,b);if(d){d!==c&&qVc(b);break}this.H.set(b,c)}};
SVc=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)})};_.ZYc=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};_.UM=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};_.UM.prototype.getState=function(){return this.state};
_.UM.prototype.yM=function(a){var b=this;if(this.W)return this.W;var c=_.ii();this.W=c.promise.then(function(){return _.MYc(1)},function(d){d=_.zA(d).Tg;var e=0;2===d.wp()?e=3:_.tUc(d)&&(e=2);return _.MYc(e)});a&&this.W.then(function(d){3===d.vk()&&_.TM(b.Ed,186469046)});this.H&&(a=_.D(jYc(this.H),4)||0,rXc(jYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);$Yc(this,c);return this.W};_.cZc=function(a,b){aZc(a,3)&&_.bZc(a,b)};_.UM.prototype.reset=function(){this.O=null;dZc(this)};
dZc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.bZc=function(a,b){if(!a.O&&!a.V){a.H=a.Ed.H(106025);if(a.H){var c=jYc(a.H);var d=!(!a.state.isConnected()&&a.state.en());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.XYc(5E3,6E4);eZc(a)}};eZc=function(a){dZc(a);$Yc(a);a.O&&(a.timeout=setTimeout(function(){return void eZc(a)},a.O.Xa()),_.KG(a.O))};
$Yc=function(a,b){_.ki((a.ha?a.ha():_.fi()).then(null,function(){return null}),function(){if(a.H){var c=_.D(jYc(a.H),3)||0,d=jYc(a.H);_.A(d,3,c+1)}fZc(a,b)})};fZc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.We(new _.GVc)}).then(null,function(d){d=_.zA(d);_.tUc(d.Tg)&&aZc(a,2);return _.gi(d)});b?b.resolve(c):c.then(null,function(){return null})};_.UM.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
aZc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.AUc.get(b)),!0):!1};LVc=[_.sL,_.uL,_.tL,_.wL,_.vL,_.xL,_.yL,_.CL,_.EL,_.FL,_.GL,_.IL,_.JL,_.YL,_.$L,_.bM,_.gL,_.cM,_.dM,_.eM,_.vVc,_.fM];gZc=[_.iL];MVc=[_.bF,_.AVc];NVc=[_.TL,_.RK,_.FC,_.gM];OVc=[_.WK,_.KL,_.Cz,_.iL,_.uVc];PVc=[_.gM,_.gF];QVc=[_.HL,_.rVc,_.SL,_.VL,_.WL,_.tVc,_.fM,CVc,BVc];
hZc=function(a){return a instanceof _.WK||a instanceof _.gM||"undefined"!=typeof _.VM&&a instanceof _.VM||a instanceof _.dM||a instanceof _.FL||a instanceof _.xL||a instanceof _.CL||a instanceof _.gL&&_.jM(a)};_.iZc=function(a,b){this.O=b;this.H={};this.lj=new dXc;b=_.rL({fields:_.Nd(a,28),tr:_.PK(_.QK(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.iZc.prototype.Jb=function(a,b){this.H[a]=jZc(a,b)};
var kZc=function(a,b){var c=a.H[b];c||(c=jZc(b,0,2),a.H[b]=c);c.Jb(String(Number(c.Xa())+1))};_.iZc.prototype.Iz=function(a){var b=_.Sa(this.H);this.O&&b.push(jZc("CacheSize",this.O.Nd()));b.push(jZc("InitialViewDataLoaded",a));a=new _.GXc;_.Cb(a,1,b);return _.oi(a)};jZc=function(a,b,c){var d=new _.EXc;_.A(d,1,a);_.A(d,4,c||1);d.Jb(String(b));d.rm(_.EUc.get(a));return d};
_.lZc=function(a,b,c){var d=new _.WTc;_.A(d,2,"Pending...");b instanceof _.WK?_.qk(d,3,_.XK[0],b):b instanceof _.gM?_.qk(d,4,_.XK[0],b):"undefined"!=typeof _.VM&&b instanceof _.VM?_.qk(d,5,_.XK[0],b):b instanceof _.dM?_.qk(d,6,_.XK[0],b):b instanceof _.FL?_.qk(d,7,_.XK[0],b):b instanceof _.xL?_.qk(d,8,_.XK[0],b):b instanceof _.CL?_.qk(d,9,_.XK[0],b):b instanceof _.gL&&_.qk(d,10,_.XK[0],b);var e=IVc(b),f=[];if(b instanceof _.tL)hM(f,"ID",b.getId()),hM(f,"Parent ID",b.Mk());else if(b instanceof _.FL)hM(f,
"TD ID",b.getId());else if(b instanceof _.WK)b=_.cYc(b.zd()),hM(f,"Query",b);else if(b instanceof _.gM)hM(f,"Query","All");else if(b instanceof _.dM)hM(f,"TD ID",b.getId()),hM(f,"Title",b.getTitle()),hM(f,"Theme Image ID",_.D(b,3));else if(b instanceof _.xL)hM(f,"MimeType",b.getMimeType()),hM(f,"Title",b.getTitle()),hM(f,"Parents",_.Nd(b,3)),hM(f,"Convert",_.R(b,8)),hM(f,"Request ID",b.hj()),hM(f,"Parent Request IDs",_.Nd(b,10)),hM(f,"Revision Item ID",_.D(b,12)),hM(f,"Pinned",_.R(b,8));else if(b instanceof
_.yL)hM(f,"Title",b.getTitle());else if(b instanceof _.CL)hM(f,"ID",b.getId());else if(b instanceof _.GL)hM(f,"WS ID",b.getId());else if(b instanceof _.gL){if(hM(f,"ID",b.getId()),hM(f,"Title",b.getTitle()),hM(f,"Description",b.Ue()),hM(f,"Starred",_.R(b,4)),hM(f,"Trashed",b.Th()),hM(f,"MimeType",b.getMimeType()),hM(f,"Parents",_.Nd(b,8)),hM(f,"Parents to add",_.Nd(b,9)),hM(f,"Parents to remove",_.Nd(b,10)),hM(f,"Restricted",_.R(b,11)),hM(f,"Folder Color",b.Wi()),hM(f,"Update Last Viewed",_.R(b,15)),
hM(f,"Subscribed",_.R(b,16)),hM(f,"Available Offline",_.R(b,18)),hM(f,"Wksp to add",_.Nd(b,31)),hM(f,"Wksp to remove",_.Nd(b,32)),b=_.E(b,_.el,25))hM(f,"Read Only",_.R(b,1)),hM(f,"Reason",_.D(b,2))}else b instanceof _.eM?(hM(f,"WS ID",b.getId()),hM(f,"Title",b.getTitle()),hM(f,"State",b.getState())):b instanceof _.vVc&&hM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.lj.add(d);return d};
_.mZc=function(a,b){for(var c=new _.Mo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.cVc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.iZc.prototype.oR=function(){return this.lj.Ig()};_.t("sy1m5");
_.WM=function(a){_.O(this,a,-1,null,null)};_.L(_.WM,_.K);_.WM.prototype.od=function(){return _.E(this,_.pA,1)};_.nZc=function(a,b){return _.x(a,1,b)};_.WM.prototype.Wn=function(){return _.D(this,3)};
_.oZc=function(a,b,c){_.xi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.oZc,_.xi);
_.pZc=function(a,b){this.O=a;this.V=b;this.H=null};
var XM=function(a){_.Ki.call(this);this.name=a};_.L(XM,_.Ki);_.g=XM.prototype;_.g.v4=function(){};_.g.mFa=function(){};_.g.U0a=function(){};_.g.UMa=function(){};_.g.T0a=function(){};_.g.$F=function(){this.dispatchEvent(new _.xi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var qZc=function(a,b){XM.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.$e()||c.$F()});this.Oc.listen(this.H,"ib",this.$F)};_.L(qZc,XM);qZc.prototype.max=function(){var a=this.O.$e(),b=this.H.BB();return!a&&b?Infinity:0};qZc.prototype.v4=function(){this.$F()};
var rZc=function(a){XM.call(this,"Online");var b=this;this.connectionState=a;this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.connectionState,[_.AA.IL,_.AA.Iha,_.AA.GU],function(){return b.$F()})};_.L(rZc,XM);rZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};rZc.prototype.v4=function(){this.$F()};
_.sZc=function(a,b){this.H=a;this.O=b};_.tZc=function(a){return a.H instanceof _.UM?new rZc(a.H.getState()):new qZc(a.O,a.H)};_.sZc.prototype.Lj=function(){return this.H instanceof _.UM?this.H.getState():this.O};
var vZc;_.uZc=function(a,b,c){this.FK=c;this.O=!0;this.V=0;this.H=new _.JG(a,b,.5)};vZc=function(a){return a.H.O+a.V};
_.YM=function(a,b){XM.call(this,"Backoff");this.H=a;this.O=b};_.L(_.YM,XM);_.YM.prototype.max=function(){return this.H.O?Infinity:0};_.YM.prototype.UMa=function(){var a=this.H;a.V=0;a.H.reset()};_.YM.prototype.T0a=function(a){var b=this;wZc(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.$F()},a),_.KG(this.H.H))};
var wZc=function(a){var b;return(a=null===(b=_.fa(a.SD))||void 0===b?void 0:b.response)?fVc(_.Esb(a)):!1};_.YM.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.xZc=function(a,b){XM.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.xZc,XM);_.xZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.xZc.prototype.v4=function(a){a>=this.O?this.$F():null==this.H&&yZc(this)};_.xZc.prototype.mFa=function(a,b){0<b?yZc(this):this.H=null};var yZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.$F.bind(a),a.V)};
_.ZM=function(){this.lj=[]};_.g=_.ZM.prototype;_.g.add=function(a,b){b?this.lj.unshift(a):this.lj.push(a);return!0};_.g.kta=function(a){return _.Ba(this.lj,0,a)};_.g.Nd=function(){return this.lj.length};_.g.cancel=function(a){return _.wa(this.lj,function(b){return b.Cv.config.requestId===a?(b.oe.resolve(JVc(b.Cv.request)),!0):!1})};_.g.mK=function(){return _.mg(this.lj,function(a){return _.jM(a.Cv.request)})};
var zZc=function(){XM.call(this,"Immediate")};_.L(zZc,XM);zZc.prototype.max=function(){return Infinity};zZc.prototype.v4=function(){this.$F()};
var AZc=function(){XM.call(this,"One Request")};_.L(AZc,XM);AZc.prototype.max=function(){return 1};
_.$M=function(a){XM.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.$M,XM);_.$M.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.$M.prototype.v4=function(){this.H<this.limit&&this.$F()};_.$M.prototype.mFa=function(a){this.H+=a.length};_.$M.prototype.U0a=function(a){this.H-=a.length;this.H<this.limit&&this.$F()};
var BZc=function(){_.Ki.apply(this,arguments)};_.L(BZc,_.Ki);var DZc=function(a,b){a.dispatchEvent(new CZc(b))};BZc.prototype.O=function(){};var CZc=function(a){_.xi.call(this,"Nb");this.request=a};_.L(CZc,_.xi);
_.aN=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.Q_a);for(a=0;a<this.O.length;a++)this.Oc.listen(this.O[a],"Nb",function(k){EZc(h,!0,k.request)});this.ka=_.ht("drive.ds.network.queue.Queue [%s]",f)};_.L(_.aN,_.Ki);_.aN.prototype.add=function(a){return EZc(this,!1,{Cv:a,oe:_.ii(),SD:[]})};
_.aN.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};_.aN.prototype.mK=function(){return this.V.mK()?!0:this.buckets.some(function(a){return a.mK()})};
var EZc=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(_.zA(a));for(var d=FZc(a),e=0;e<a.H.length;e++)a.H[e].v4(d);return c.oe.promise};_.g=_.aN.prototype;
_.g.Q_a=function(){var a=FZc(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].kta(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.owb.bind(this,a[e]),this.nwb.bind(this,a[e]));e=FZc(this);for(var f=0;f<this.H.length;f++)this.H[f].mFa(a,e);_.ki(_.DK(d).then(this.mwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.Q_a.bind(this),0)};
_.g.owb=function(a,b){var c=a.Cv.config;this.log(IVc(a.Cv.request)+" request completed successfully. xd4: "+!(!c||!c.aO));this.H.forEach(function(d){return d.UMa()});this.O.forEach(function(d){return d.O(a)});a.oe.resolve(b)};
_.g.nwb=function(a,b){b=_.zA(b);this.log(IVc(a.Cv.request)+(" request failed with error: "+b.ha+"."));a.SD.push({response:b,iRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].T0a(a);a.Cv.config.aoa||!this.O.some(function(d){return d.intercept(a)})?a.oe.reject(b):this.log(IVc(a.Cv.request)+" encountered an error, but was intercepted to be retried.")};_.g.mwb=function(a){FZc(this);for(var b=0;b<this.H.length;b++)this.H[b].U0a(a)};
var FZc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Nd()){b=a.buckets[c].Nd();break}return b};_.aN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.GZc=function(a,b,c,d){BZc.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 _.uZc(_.ak(a,63,1E3),_.ak(a,64,3E5),_.ak(a,65,10))}};_.L(_.GZc,BZc);
_.GZc.prototype.intercept=function(a){var b=a.SD.length,c=0<b&&_.fa(a.SD).response||null;if(c){c=_.cL(c);if(2===c.wp())return HZc(this,a);if(_.tUc(c))return 2>=b?(DZc(this,a),a=!0):a=!1,a;var d=c.ik();if(3===d||31===d||13===d||9===d)return IZc(this,a,b);if(fVc(c))return b=vZc(this.V),c=this.V,vZc(c)<c.FK?(this.log("Backoff number "+b+" for a User Rate Limit error."),DZc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var HZc=function(a,b){var c=JZc(a,b),d=vZc(c);if(vZc(c)<c.FK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.$e()?(d=c.H.Xa(),_.n.setTimeout(function(){return DZc(a,b)},d),_.KG(c.H)):(_.n.setTimeout(function(){return DZc(a,b)}),c.V++),!0;a.H.delete(b);return!1},JZc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},IZc=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 DZc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.GZc.prototype.O=function(a){this.H.delete(a)};_.GZc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var KZc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.uUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.rwb,d=yXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.pwb(_.pL(e),"reading data"))}},LZc=function(a){return KZc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var MZc=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.oe=_.ii();this.finished=!1;this.Ba=this.Cu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Iz();a=_.uUc()&&a?_.D(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.GO="progress_"+this.requestId;h.GO=this.GO;this.ma=!!f.metadata};
MZc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};MZc.prototype.start=function(){var a=this,b=new BVc(this.request.request,this.request.metadata),c=NZc(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;OZc(a)},function(d){return void a.oe.reject(d)});return _.ki(this.oe.promise.then(function(d){PZc(a,d);return d},function(d){d=_.zA(d);PZc(a,d.Tg);return _.gi(d)}),function(){QYc(a.H,[a.GO])})};
var NZc=function(a){var b=_.$a(a.config);PYc(a.H,a.GO,aXc(function(){return void a.H.notify([a.requestId],0)}));return b};MZc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.oe.resolve(JVc(this.request)),!0)};
var OZc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),QZc(a,4))},QZc=function(a,b){RZc(a).then(function(c){if(c){var d=SZc(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.fK()&&(a.va=f.fK());f.jN()&&(a.Fa=f.jN());a.progress<a.fileSize?OZc(a):a.oe.resolve(f)},function(f){if(d.aoa)a.cancel();else{var h=_.cL(f);h.kCa()||h.bma()||a.ma?TZc(a,b,h,!1):LZc(c.blob).then(function(k){k=k?_.ZDa.get(k)||
25:38;_.nL(h,k);k=38===h.wp();var l=38!==h.wp()&&25!==h.wp();TZc(a,b,h,k,l)},function(){})}})}else{var e=_.zA(_.nL(_.Sp(new _.pc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.oe.reject(e)}})},TZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.iga(f);!e&&0<b?(a.Cu++,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+"."));QZc(a,b)},a.Oa*Math.pow(1.5,f))):a.oe.reject(_.zA(c))},RZc=function(a,b){return a.ma&&a.V?_.fi(a.V):UZc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return RZc(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 CVc(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})},UZc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.yQ?a.request.yQ(b,a.O):_.fi(_.eVc(a.request.file,b,b+a.O))},SZc=function(a,b){var c=_.$a(a.config);c.NRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;QYc(a.H,[a.GO]);PYc(a.H,a.GO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},PZc=function(a,b){b.VMa(3);b.iga(a.Cu);b.fK()||b.xda(a.va);b.jN()||b.jda(a.Fa)};
_.VZc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.VZc.prototype.create=function(a,b){return new MZc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.WZc=function(a){this.O=a;this.H={}};_.WZc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Cv.request instanceof _.DVc)b.push(XZc(this,a[c].Cv));else{var d=_.Sp(new _.pc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.zA(d)))}return b};_.WZc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.WZc.prototype.mK=function(){return!_.Va(this.H)};
var XZc=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]})};
_.YZc=function(a,b){return new _.aN(b,a,[new zZc],[new _.ZM],[],"immediate")};_.ZZc=function(a,b,c,d,e){return new _.aN(e,a,[_.tZc(d),new _.YM(c,e),new AZc],[new _.ZM],[new _.GZc(b,c,d.Lj(),e)],"connected")};_.$Zc=function(a,b,c,d,e,f,h){h=void 0===h?_.ak(b,10,50):h;return new _.aN(e,a,[_.tZc(d),new _.xZc(h,_.ak(b,12,10)),new _.$M(3*h),new _.YM(c,e)],[new _.ZM],[new _.GZc(b,c,d.Lj(),e)],f)};_.a_c=function(a,b,c){b=_.ak(b,46,1);return new _.aN(c,a,[new _.$M(b)],[new _.ZM],[],"resumable_upload")};
_.b_c=function(a,b,c,d,e,f,h,k){this.xI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.b_c.prototype.We=function(a,b){return c_c(this,a,b).then(null,function(c){c=_.zA(c);var d=c.Tg;KVc(a)||_.Up(d);return _.gi(c)})};
var c_c=function(a,b,c){c=void 0===c?{}:c;var d=a.xI.validate(b);if(d)return _.gi(_.zA(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(_.zA(e));if(Array.isArray(e)){var f=e.map(function(h){return d_c(a,b,h,c)});return _.DK(f)}return d_c(a,b,e,c)},function(f){return _.gi(_.zA(f))})},
d_c=function(a,b,c,d){var e=e_c(a,c);if(!e)return b=_.nL(_.Sp(new _.pc,"Failed to choose a queue for server request."),18),_.gi(_.zA(b));if(e===a.H[7]||e===a.H[8])d.aO=!0;d=e.add({request:c,config:d});(_.jM(b)||_.jM(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};_.b_c.prototype.cancel=function(a){return _.Qa(this.H,function(b){return b.cancel(a)})};
var e_c=function(a,b){var c,d=!1;b instanceof _.KL?d=!(null===(c=_.E(b,_.Cz,2))||void 0===c||!_.R(c,7)):b instanceof _.Cz?d=!!_.R(b,7):b instanceof _.WK&&(d=(d=b.zd())&&!!_.R(d,46));return(b instanceof _.GVc||b instanceof _.zK&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.DVc&&a.H[5]?a.H[5]:d&&RVc(b,a.O)&&a.H[7]?a.H[7]:RVc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.KL||b instanceof _.Cz)&&a.H[6]?a.H[6]:(d||gZc.includes(b.constructor))&&a.H[3]?a.H[3]:LVc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var f_c=function(a){this.H=a};f_c.prototype.build=function(a,b){var c="====="+_.ah()+"=====",d=a[0].Um,e=b.every(function(l){return l.aO});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=WYc(this.H,a[0].Um);_.zj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=g_c[d],h=h_c[d]||{},h["content-type"]=_.ht('multipart/mixed; boundary="%s"',c),d=i_c[d],k=new _.uj("");a=j_c(this,a,b,c,e);return{Um:f,body:a,headers:h,method:d,uri:k}};
var j_c=function(a,b,c,d,e){for(var f=oVc(k_c[b[0].Um]||{}),h="",k=0;k<b.length;k++){e&&UYc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=VYc(p,q.Um,q.uri);switch(q.Um){case 0:case 5:TYc(p,q,r);SYc(p,q,r);break;case 2:UYc(p,q,r);TYc(p,q,r);var u=q,y=_.D(p.H.$f(),57);u.headers.host=_.Cj(y).Aj();u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;SYc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ye`"+q.Um);default:throw Error("Xe`"+
q.Um);}p=l;q=p.uri.clone();q.jn("");q.hn("");q.xA(null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+oVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},l_c={},g_c=(l_c[0]=1,l_c[2]=3,l_c),m_c={},i_c=(m_c[0]="POST",m_c[2]="PUT",m_c[12]="POST",m_c),n_c={},o_c={},h_c=(o_c[2]=(n_c["x-goog-upload-protocol"]="batch",n_c),o_c),p_c={},q_c={},r_c={},s_c={},k_c=(s_c[0]=(p_c["content-type"]="application/http",p_c["content-transfer-encoding"]="binary",p_c),s_c[12]=
(q_c["content-type"]="application/http",q_c["content-transfer-encoding"]="binary",q_c),s_c[2]=(r_c["content-type"]="application/http",r_c),s_c);
var t_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,u_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var v_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.lj=new Map};v_c.prototype.add=function(a,b){var c="DEFAULT";b.aO&&(c=WYc(this.V,a.Um).toString());this.lj.has(c)||this.lj.set(c,[]);c=this.lj.get(c);if(1<=c.length&&!b.aO&&!g_c[a.Um])return a=_.Sp(new _.pc,"Unsupported batch API: "+a.Um),_.gi(_.zA(a));var d=_.ii();c.push({request:a,config:b,oe:d});return d.promise};
v_c.prototype.send=function(){var a=this;this.lj.forEach(function(b,c){try{w_c(a,b)}catch(f){var d=_.Tp(_.Sp(new _.pc,"Error executing XHR: "+f.message),f.stack),e=_.zA(d);b.forEach(function(h){h.oe.reject(e)});a.lj.delete(c)}})};
var w_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.OCa&&!c.config.aO){var d=!1;if(g_c[c.request.Um]){var e={Um:c.request.Um,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){x_c(a,c);return}}}y_c(a,b)},x_c=function(a,b){var c=b.oe;a.W.ah(b.request,b.config).then(function(d){c.resolve(d);z_c(a,b)},function(d){a.handleError(b,d);c.reject(_.zA(d))})},y_c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.ah(a.ha.build(c,d),{OCa:!0,aO:d.every(function(e){return e.aO})}).then(function(e){e.headers=_.SUc(e.headers);var f=u_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.qc("Could not extract batch boundary.",_.nL(_.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.",
_.nL(_.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.",_.nL(_.Tp(new _.pc,C),17));else{var M=I[1].split("\r\n");if(y=t_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=_.SUc(pa);V.call(P,z,M);try{u=_.de(_.$g(I[2]))?void 0:JSON.parse(I[2])}catch(ta){}u=(p=_.XUc(p,y,z,C,u,void 0,void 0,G&&G.toString()))?_.zA(p):{headers:z,text:C,json:u||void 0}}else u=new _.qc("Could not extract HTTP status code and text.",_.nL(_.Tp(new _.pc,C),16))}r.call(q,u)}return k}).then(null,function(e){e=_.zA(e);return _.$Rc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].oe,l=e[h];l instanceof _.pc||l instanceof
_.qc?(l=_.zA(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||z_c(a,b[0])})},z_c=function(a,b){var c=b.request.Um;b=!b.config.ou&&_.ma(A_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=aZc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.Yj(),a.H=null)}else a.O&&b&&a.O.va()};
v_c.prototype.handleError=function(a,b){a=_.Esb(b);if(2===a.wp()){if(this.H)return _.cZc(this.H),!0}else if(_.tUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.bZc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var A_c=[0,2,4,7,8];
var B_c=function(){_.rj.apply(this,arguments)};_.L(B_c,_.rj);B_c.prototype.getAllResponseHeaders=function(){return _.aia(_.rj.prototype.getAllResponseHeaders.call(this))};
var C_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=C_c.prototype;_.g.ah=function(a,b){try{this.W.tc(a,b);var c=new B_c;c.wC=!0;var d=b.requestId||"",e=_.ii();c.listen("complete",this.Dab.bind(this,c,e,d,b.OCa,4===a.Um));d&&b.GO&&!b.aO&&(this.O[d]=c,this.H[d]=b,c.Gb=!0,c.listen("uploadprogress",(0,_.v)(this.aAb,this,b)),b.NRa||c.listen("downloadprogress",(0,_.v)(this.Yvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.gi(_.zA(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.aoa=!0,b.abort(),!0):!1};_.g.Dab=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.Xk()};if(!d)try{c.json=_.BK(a)}catch(f){}d=_.XUc(a.Cb(),_.Sla(a),c.headers,c.text,c.json,a.O,_.Wla(a),String(a.oa),e);a.dispose();d?b.reject(_.zA(d)):b.resolve(c)};_.g.aAb=function(a,b){b.lengthComputable&&this.V.notify([a.GO],a.NRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Yvb=function(a,b){b.lengthComputable&&this.V.notify([a.GO],b.loaded/b.total/2+.5)};
_.D_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 f_c(this.O);this.W=new C_c(this.O,this.va)};_.g=_.D_c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Cv;this.V.push(e);b.push(this.Ba.PE(e,a[d].SD));c.push(hZc(e.request)?_.lZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.zA(_.XUc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new v_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={Nra:e.Nra},k++){e.Nra=a[k].Cv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Nra)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].Cv,l=d[e].then(this.hob.bind(this,k.request,c[e],a[e].SD)).then(null,function(p){return Promise.reject(_.zA(p))}),l.then(this.WMa.bind(this,k),this.WMa.bind(this,k)),b.push(l);return b};_.g.hob=function(a,b,c,d){a=this.oa.PE(a,d,c);b&&(c=a.Hd?a.Hd():[],_.mZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.mK=function(){return this.V.some(function(a){return _.jM(a.request)})};
_.g.WMa=function(a){_.ua(this.V,a)};
_.E_c=function(){};_.E_c.prototype.execute=function(){return null};
var F_c;F_c=function(a){this.H=a};_.bN=function(a,b){if(!_.Ca(b))throw new _.qc("Expected an object, but got a "+_.Ifa(b)+".",_.oL(11,void 0,8));var c=b.kind;if(!c)throw new _.qc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.oL(11,void 0,21));if(!a.includes(c))throw new _.qc("Expected "+a.join(" or ")+" but got a "+c+".",_.oL(11,void 0,9));};_.cN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.G_c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.XVc(new _.cl,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.fWc(_.aWc(_.gWc(_.hWc(_.iWc(_.eWc(_.dWc(_.$Vc(_.ZVc(_.YVc(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=_.jWc(_.cWc(_.bWc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.mWc(_.lWc(_.kWc(_.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=_.oWc(_.nWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.rWc(_.qWc(_.pWc(_.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)};_.dN=function(a,b){_.bN(["drive#user"],b);var c=_.VVc(_.WVc(_.TVc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.to(b.picture.url);_.VK(a.H)&&_.VVc(c,b.emailAddressFromAccount||b.emailAddress);_.UVc(c,a.Pf(b.id));c.hn(b.domain);return c};F_c.prototype.Pf=function(a){if(a)return _.vM(_.QK(this.H))==a};
var H_c,N_c,b0c,K_c,S_c,R_c,T_c,V_c,X_c,J_c,Z_c,Y_c,$_c,a0c,c0c,d0c,U_c;H_c=function(a,b){this.H=a;this.O=b};
_.L_c=function(a,b,c){var d=new _.WM,e=new _.pA,f=e.Tw;_.bN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.I_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=_.I_c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.bN(["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 _.hrb).Dc(J_c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.lrb;a=_.Cb(k,1,a);f.push(a)}q=new _.nrb;_.Cb(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.jrb;_.ek(u,1,f)}q||u?(f=new _.orb,q&&_.x(f,1,q),u&&_.x(f,2,u),u=f):u=null;_.x(e,7,u);u=K_c(b);_.ek(e,18,u)}d=_.nZc(d,e);c=_.UUc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
N_c=function(a,b,c,d,e){_.bN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.wXc(new _.iM,c);"drive#adminFile"==b.kind?(_.bN(["drive#adminFile"],b),c=(new _.hl).Pb(b.id),b.parentId&&_.qM(c,[b.parentId]),_.HWc(c,b.teamDriveId),f.setItem(c),_.wXc(f,c.getId())):"drive#file"==b.kind?(b=_.I_c(a,b),f.setItem(b),c||_.wXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.M_c(a,b),_.x(f,4,b));f.xda(_.TUc(d));f.jda(_.UUc(d));(d=(d=d&&_.SUc(d))&&d["x-server-object-version"])&&e&&(e=(new _.AM).Pb(d),
_.x(f,4,e));f.Dc(1);return f};_.O_c=function(a,b){return _.wXc(new _.iM,a).Dc(1).xda(_.TUc(b)).jda(_.UUc(b))};_.Q_c=function(a,b,c,d){d||_.bN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.P_c(a,b[c],d);f&&e.push(f)}return e};
_.P_c=function(a,b,c){c||_.bN(["drive#permission"],b);c=_.UVc(_.WVc(_.TVc(R_c[b.type]).Pb(b.id),b.userId),a.H.Pf(b.userId));c=_.A(c,4,b.withLink);c=_.VVc(c.jd(b.name).to(b.photoLink),b.emailAddress).hn(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);_.VK(a.O)&&c.jd(b.nameIfNotUser);a=S_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};
_.I_c=function(a,b){_.bN(["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=_.FWc(_.BWc(_.jF(_.qM(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.rm(b.description);_.CWc(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.Ev(d.starred),_.A(c,6,d.hidden),c.On(d.trashed),_.yWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.cN(b.createdDate));_.A(c,69,_.cN(b.serverCreatedDate));_.qTb(c,_.cN(b.modifiedDate));_.A(c,12,_.cN(b.modifiedByMeDate));_.A(c,13,_.cN(b.lastViewedByMeDate));_.A(c,23,_.cN(b.sharedWithMeDate));_.A(c,62,_.cN(b.subscribedDate));_.A(c,70,_.cN(b.recency));b.recencyReason&&_.A(c,71,T_c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.dN(a.H,
e[f]))&&d.push(h);_.zWc(c,d);b.lastModifyingUser&&(d=_.dN(a.H,b.lastModifyingUser),_.AWc(c,d));b.userPermission&&_.rTb(c,S_c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.nM).xh(e.width).wh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.aUc,f.setMilliseconds(0),U_c.parse(e,f),_.A(d,1,f.getTime())),_.x(c,27,d));null!=b.folderColor&&_.EWc(c,Number(b.folderColor));_.DWc(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=_.dN(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],_.ORc[h]&&(h=_.ef(new _.df,_.ORc[h]),e.push(h));c.yA(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,V_c[h.type]);e.push(h)}_.Cb(c,83,e)}b.capabilities&&_.rM(c,_.G_c(b.capabilities));b.permissionsSummary&&_.IWc(c,_.W_c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.oM).rm(d.description),
e=_.A(e,3,X_c[d.galleryState]),d=_.ek(e,2,d.category),_.x(c,86,d));_.HWc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.dN(a.H,b.creator),_.x(c,91,d));_.JWc(c,b.primaryDomainName);_.KWc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.dN(a.H,b.trashingUser),_.x(c,95,d));c.Eda(_.cN(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,Y_c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.pM).xh(d.width).wh(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=_.tWc((new _.el).eP(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(Z_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,$_c[d.targetLookupStatus]||0),d.targetFile&&(d=_.I_c(a,d.targetFile),_.x(e,5,d)),_.x(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.mM,e=_.A(e,1,a0c[d.encryptionState]),d.decryptionMetadata&&(d=b0c(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);_.nVc(c);_.VK(a.O)&&_.GWc(c,5);return c};_.M_c=function(a,b){_.bN(["drive#revision"],b);var c=(new _.AM).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.cN(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=_.dN(a.H,b.lastModifyingUser),_.x(c,9,a));b.decryptionMetadata&&(b=b0c(b.decryptionMetadata),_.x(c,10,b));return c};
_.W_c=function(a,b){a=_.wWc(_.vWc(_.uWc(new _.Ena,b.entryCount),_.Q_c(a,b,"visibility",!0)),_.Q_c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};b0c=function(a){var b=a.wrappedKey;var c=new _.sWc;b=b?_.cXc(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,c0c[a.aes256GcmChunkSize]);c=_.A(c,6,d0c[a.keyFormat]);return _.A(c,4,a.jwt)};
K_c=function(a){_.bN(["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};S_c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};R_c={anyone:4,audience:5,domain:3,group:2,user:1};T_c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};V_c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};X_c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};J_c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
Z_c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};Y_c={docs:1,sheets:2,slides:3};$_c={ok:1,notFound:2,permissionDenied:3};a0c={unencrypted:1,encrypted:2};c0c={unset:0,"default":1,small:2,size16kb:3};d0c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};U_c=new _.uVa("yyyy:MM:dd HH:mm:ss");
var h0c;_.e0c=function(a){this.V=new F_c(a);this.xF=new H_c(this.V,a)};_.e0c.prototype.PE=function(a,b,c){c=void 0===c?[]:c;try{return f0c(this,a,b,c)}catch(d){_.qL(d)}};
var f0c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.xL)return _.g0c(a,b,c);if(b instanceof _.HL)return h0c(0,c,d);if(b instanceof _.Cz||b instanceof _.KL){if(!c.json)throw _.eN();return _.L_c(a.xF,c.json,c.headers)}if(b instanceof _.fM)return _.g0c(a,b,c);if("undefined"!=typeof _.yVc&&b instanceof _.yVc){if(!c.json)throw _.eN();a=c.json;return new _.LXc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.i0c&&b instanceof _.i0c){if(!c.json)throw _.eN();
return _.M_c(a.xF,c.json)}if(b instanceof _.VL)return h0c(b.zd(),c,d);if(b instanceof CVc){if(b.V){if(!c.json)throw _.eN();a=N_c(a.xF,c.json,null,c.headers,!!b.revisionId)}else a=_.O_c(null,c.headers);return a}if(b instanceof BVc){a=_.SUc(c.headers);b=a.location;if(!b)throw a=_.nL(new _.pc,10),new _.qc("No upload session URI included.",a);return new MXc(b,_.TUc(a),_.UUc(a))}if(b instanceof _.GVc)return new NXc;throw new _.qc("FromXhrConverter: Unsupported request type.",new _.pc);};
_.e0c.prototype.ha=function(){return null};h0c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new OXc(_.Daa(b.text),c.length):new OXc(new Uint8Array(_.ima(b.text)),c.length)};_.g0c=function(a,b,c){if(!c.json){if(b instanceof _.gL)return _.O_c(_.j0c(b));throw _.eN();}var d=!1;b instanceof _.fM&&(d=!!_.D(b.request,12));return N_c(a.xF,c.json,_.j0c(b),c.headers,d)};_.eN=function(){var a=_.nL(new _.pc,11);return new _.qc("FromXhrConverter: JSON required, but none found",a)};
_.j0c=function(a){return a.getId?a.getId():a.Jc?a.Jc():null};
var n0c,o0c,q0c,k0c,r0c,l0c;
n0c=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=k0c[d?d.O():0],h.keyFormat=l0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.m0c(c,_.Nd(a,3));(b=a.Jc())&&(c.id=b);_.D(a,16)&&(c.embeddingParent=_.D(a,16));a.m2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.m2());"number"===typeof _.D(a,26)&&(c.modifiedDate=_.TWc(_.SXc(_.D(a,26)||0)));return c};_.m0c=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)}}};o0c={};_.p0c=(o0c[1]="active",o0c[2]="archived",o0c);q0c={};k0c=(q0c[0]="unset",q0c[1]="default",q0c[2]="small",q0c[3]="size16kb",q0c);r0c={};l0c=(r0c[0]="unsetKeyFormat",r0c[1]="tinkKeyset",r0c[2]="tinkAesGcmKey",r0c);
var u0c=function(a,b,c){return(a.yQ?a.yQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return KZc(d)}).then(function(d){return s0c(a,b,d,c)},t0c)},s0c=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",_.iVc({fields:_.DM(b).filter(function(q){return 194!=q}),tr:!1}));
pVc(f,a.request.we());var h=n0c(a.request,a.metadata),k=_.ah();b={};b=(b["content-type"]=_.ht('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());_.lM(d,_.pk(a.request,_.Hl,28),[],null,b);a="--"+k;a=a+"\r\n"+oVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+oVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Um:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},t0c=function(a){if(a instanceof _.pwb){var b=new _.pc;_.Sp(b,"fs.Error: "+a.message);a=(a=a.name)?_.ZDa.get(a)||25:38;_.nL(b,a);b=_.zA(b)}else b=_.pL(a);return Promise.reject(b)};
_.fN=function(a,b,c,d){this.H=a;this.Mg=b;this.O=c;this.Ed=d;this.ka=_.fL(a)||new _.dL};_.fN.prototype.PE=function(a,b){try{return a.request instanceof _.fM?u0c(a.request,this.Mg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.qc?a=c.Tg:(a=new _.pc,_.Sp(a,"Error converting XHR: "+c.message),_.Tp(a,c.stack),_.nL(a,4)),Promise.reject(a)}};
_.fN.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.xL){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=_.iVc({fields:this.Og(c),tr:_.PK(_.QK(this.H)),JG:_.VK(this.H)});e=n0c(a);f["content-type"]="application/json";var r=a.we();p=!0;_.CM(k);_.v0c(this.H,k);_.lM(this.H,_.pk(a,_.Hl,28),_.Nd(a,3).concat([_.D(a,16),a.m2(),a.Jc()]),this.O,f)}else if(a instanceof _.HL||a instanceof
_.VL)a instanceof _.VL?(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",_.lM(this.H,[_.Il((new _.Hl).Pb(l.getId()),_.D(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.KL||a instanceof _.Cz){if(a instanceof _.KL)q=_.D(a,1),a=_.E(a,_.Cz,2);else if(a instanceof _.Cz)q=0,_.TM(this.Ed,190196159);else throw Error("Wf");p=a.Zm()[q];q="files/"+
p;r=_.xa(this.Og(c),this.Og(c,a.O()));_.Ea(r);k.fields=_.iVc({fields:r,tr:_.PK(_.QK(this.H)),JG:_.VK(this.H)});_.CM(k);_.w0c(this.H,k);_.x0c(this.H,k);this.W(p,k);r=a.we();p=!0;_.R(a,7)&&(b.OCa=!0);_.lM(this.H,_.pk(a,_.Hl,11),a.Zm(),this.O,f)}else if("undefined"!=typeof _.yVc&&a instanceof _.yVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.i0c&&a instanceof _.i0c)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 CVc){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?_.ht("bytes %d-%d/%d",u,b,b+1):_.ht("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof BVc?(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=_.iVc({fields:this.Og(c).filter(function(y){return 194!=
y}),tr:_.PK(_.QK(this.H)),JG:_.VK(this.H)}),_.CM(k),e=n0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.lM(this.H,[],_.Nd(a.request,3),this.O,f),r=a.request.we(),p=!0):a instanceof _.GVc?(q="about",k.fields="kind",r=a.H,p=!0):_.y0c(a);p&&_.z0c(c,k);0!=d||l||r&&_.D(r,1)||_.TM(this.Ed,74438989);return _.A0c(this,d,q,k,f,h,r,e,u)};
_.A0c=function(a,b,c,d,e,f,h,k,l){c=new _.uj(c);[10,12,13].includes(b)||pVc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Ni())&&(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{Um:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.w0c=function(a,b){_.S(a.$f(),23,!1)&&(b.includePermissionsForView="published")};_.fN.prototype.W=function(){};
_.x0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.v0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.z0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).iRb):b.retryCount=0};_.fN.prototype.Og=function(a,b){b||(b=_.DM(this.Mg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return uXc.includes(c)}));return b};_.y0c=function(a){var b=_.nL(new _.pc,4);throw new _.qc("ToXhrConverter: Unsupported request type: "+IVc(a),b);};
_.gN=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.lj={};this.ha={};this.Ed=null;_.ze(this,function(){h.tG()})};_.L(_.gN,_.Ki);_.gN.prototype.DQ=function(){return _.CK()};
_.gN.prototype.upload=function(a,b,c,d){kZc(this.V,"UploadTotalCount");var e=a.hj();if(e&&this.lj[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.lj[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.DQ(),_.A(a,9,e));a=a.clone();f=B0c(this,e);this.lj[e]={request:a,
file:b,Lg:f,VM:!1,Cu:0,success:!1,ME:!1,children:[],metadata:c,oma:void 0,yQ:d};h?C0c(this,e,h):this.ka(e);return f.xn()};
var B0c=function(a,b){var c=new _.li;c.Rf(_.vb(a.Fa,b),_.vb(a.Ha,b),a);return c},C0c=function(a,b,c,d){var e=a.lj[b];c.children.push(b);_.Ea(c.children);c.Lg.then(function(f){if(1===f.Cb()&&(f=f.Jc(),_.Nd(e.request,3).push(f),_.eH(e.request,10),!c.ME||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.Lg.Qd(_.UK(f)?f:Error(f))})};
_.gN.prototype.Fa=function(a,b){kZc(this.V,"UploadSuccessCount");a=this.lj[a];a.success=1===b.Cb();(b=a.oma)&&!a.ME&&(lXc(nXc(iYc(b),a.Cu),!0),b.Yj())};_.gN.prototype.Ha=function(a,b){var c=_.E(this.O,_.mL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);kZc(this.V,"UploadFailureCount");c=this.lj[a];(a=c.oma)&&!c.ME&&(lXc(nXc(iYc(a),c.Cu),!1),b=(c=b&&b.Tg)&&c.ik(),c=c&&c.wp(),b?mXc(iYc(a),D0c.get(b)||13):c&&mXc(iYc(a),E0c.get(c)||0),a.Yj())};
_.gN.prototype.ka=function(a){var b=this.lj[a];if(!b.VM){b.VM=!0;a=this.lj[a];var c=a.request,d=_.E(this.O,_.mL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(F0c))&&(!d[1]||a.Cu<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.Nd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Iz())?_.D(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.$f();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.oma=f;f=iYc(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&&G0c(this,new _.DVc(a,b.file,b.yQ,b.metadata),b.Lg,a.hj());break;case 1:b.file&&(c=b.Lg,d=b.file,e=b.metadata,b=b.yQ,f=_.E(this.O,_.LWc,2),G0c(this,new _.fM(a,d,b,f&&_.sM(f)?e:void 0),c,a.hj()));break;case 3:G0c(this,a,b.Lg,a.hj());break;default:throw new _.qc("Upload type ${uploadType} not supported.");}}};
var G0c=function(a,b,c,d){PYc(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 H0c(a,b,e)}),function(){QYc(a.Ba,[d])}).then(c.callback,c.Qd,c)},H0c=function(a,b,c){var d=_.zA(c),e=b instanceof _.fM&&b.request.Jc()||"";c=d.Tg;if(e&&8===c.ik()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.Ez(new _.Cz,[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.Th()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.wXc((new _.iM).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.gi(d)}))}return _.ri(d)};_.g=_.gN.prototype;
_.g.cancel=function(a){var b=this,c=this.lj[a];if(c&&(!c.ME||0!==c.children.length))if(c.ME=!0,c.Lg.eg())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.oma;d&&(mXc(lXc(nXc(iYc(d),c.Cu),!1),2),d.Yj());var e=_.ii();c.VM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.VM=!0,d=new _.iM,d.Dc(8),c.Lg.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.tG=function(){var a=this;_.Ma(this.lj,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.lj[f]){var h=[];do{h.push(f);var k=(_.Nd(b.lj[f].request,10)||[])[0];if(k){var l=b.lj[k];if(l.success||!l.Lg.eg()||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.lj[p];q.Cu++;if(!e[p])if(!q.Lg.eg()||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.Lg=B0c(b,p),q.VM=!1,q.ME=!1,(r=r?b.lj[r]:null)?C0c(b,p,r,!0):d.push(p),e[p]=q.Lg.xn())}})}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.lj[a]};var F0c=/^uploadTestFailMe(\.[1-9])?$/,E0c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),D0c=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");
_.I0c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var J0c;J0c=[1];_.hN=function(a){_.O(this,a,-1,J0c,null)};_.L(_.hN,_.K);_.hN.prototype.O=function(){return _.Nd(this,1)};_.t("sy1m7");
var K0c;_.iN=function(a){_.O(this,a,-1,K0c,null)};_.L(_.iN,_.K);_.iN.prototype.Cb=function(){return _.D(this,1)};_.iN.prototype.Dc=function(a){return _.A(this,1,a)};_.iN.prototype.jk=function(){return _.pk(this,_.hl,2)};_.L0c=function(a,b){return _.Cb(a,2,b)};_.iN.prototype.sr=function(a,b){return _.tk(this,2,a,_.hl,b)};_.iN.prototype.Wf=function(){return _.D(this,4)};_.M0c=function(a,b){return _.A(a,4,b)};K0c=[2];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.O0c=function(a){return _.pe(a).Og(_.S(a.get(_.Wo),19,!1)?N0c:_.ne)};_.t("sy1mf");
var N0c=[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 P0c,Q0c,R0c,S0c,T0c,U0c,V0c,W0c,X0c,Y0c,$0c,a1c,b1c,c1c,d1c,lN,i1c,j1c,mN,nN,k1c,l1c,n1c,o1c,p1c,r1c,s1c,t1c,u1c,v1c,w1c,x1c,z1c,B1c,H1c,J1c,M1c,N1c,Q1c,T1c,tN,U1c,V1c,W1c,X1c,Y1c,Z1c,$1c,b2c,c2c,d2c,e2c,h2c,g2c,k2c,m2c,o2c,q2c,u2c,w2c,x2c,y2c,z2c,A2c,B2c,F2c,H2c,I2c,J2c,K2c,L2c,f1c,oN,e1c,g1c,h1c,b4c,c4c,yN,f4c,q4c,t4c,u4c,v4c,y4c,f2c,AN,V4c,W4c,X4c,Y4c,$4c,a5c,b5c,c5c,d5c,BN,e5c,f5c,g5c,h5c,i5c,j5c,k5c,l5c,m5c,n5c,o5c,p5c,q5c,CN,t5c,u5c,v5c,a2c,w5c,x5c,y5c,t6c,u6c,w6c,x6c,C6c,M6c,N6c,O6c,P6c,
S6c,U6c,d7c,q7c,r7c,y7c,I7c,$7c,f8c,m8c,o8c,t8c,z8c,Q8c,S8c,T8c,Z8c,$8c,t2c,a9c,W9c,E1c,X9c,$9c,bdd,cdd,ddd,edd,fdd,gdd,hdd,idd,jdd,kdd;P0c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Nd(a,3),Convert:_.R(a,8),ID:a.hj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
Q0c=function(a){var b=[];b.push(P0c(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.Cu&&b.push("# of retries by client: "+a.Cu);var d="";a.VM?a.Lg.eg()?a.Lg.Rf(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")};
R0c=function(a,b,c,d,e,f){var h=_.ht("Drive Upload Report: %d/%d failed",_.Ra(f),_.Ra(e));a=a.$f();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(Q0c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.KXc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.ht('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.hj()||"");var u=p.Tg;u=u?_.D(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,nQ:k,Ad:152391,B9:c,L0:361003}};S0c=function(a){return Array.prototype.concat.apply([],arguments)};T0c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
U0c=function(a){return String.fromCharCode(10>a?48+a:87+a)};V0c=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]=U0c(d>>4);b[2*c+3]=U0c(d&15)}return b.join("")};W0c=function(a){var b=new _.Mo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.rL(a,!0,"file"));a.J7&&(b.append(",teamDriveId,teamDrive("),b.append(a.J7),b.append(")"));b.append(")");return b.toString()};
X0c=function(a){var b=new _.Mo;b.append("kind,nextPageToken,items(");b.append(_.rL(a,!0));b.append("),incompleteSearch");a.J7&&(b.append(","),b.append(a.J7));return b.toString()};
Y0c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.E(d,_.mM,138),k=_.E(d,_.el,111),l=_.E(d,_.nM,27),p=_.nl(d),q=d.Af(),r=d.kh(),u=_.E(d,_.pM,103);switch(e){case 74:_.hk(d,83);break;case 188:_.fk(d,137);break;case 149:_.eH(d,128);break;case 148:_.hk(d,127);break;case 138:_.fk(d,126);break;case 184:_.eH(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:_.eH(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:_.eH(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:_.eH(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:_.eH(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:_.eH(d,120);break;default:throw Error("Kc`"+e);}}};$0c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(Z0c)));a=[].concat(_.nd(_.ibb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Y0c(b[d],a)}};
a1c=function(a,b){var c=a.getCapabilities()||new _.cl,d=_.E(a,_.mM,138),e=_.E(a,_.el,111),f=_.E(a,_.nM,27),h=_.nl(a),k=a.Af(),l=a.kh(),p=_.E(a,_.pM,103);switch(b){case 74:return 0<a.ks().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,_.sWc,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.$C();case 91:return null!=a.Rq();case 43:return null!=_.D(a,42)||null!=
_.D(a,43);case 187:return null!=_.D(a,136);case 26:return null!=a.Ue();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.XI();case 44:return null!=_.D(a,45);case 13:return null!=a.dG();case 48:return null!=_.R(a,36);case 38:return null!=a.Wi();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.Rka();
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.Cm();case 20:return null!=a.nf();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.Qe());case 16:return null!=a.ym();case 12:return null!=a.hz();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.jB();case 10:return null!=a.Hq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.kk();case 18:return null!=a.Wq();case 14:return 0<_.il(a).length;case 95:return null!=a.$m();case 58:return null!=_.R(a,63);case 103:return null!=_.D(a,101);case 1:return 0<a.tk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.ll(a).length;case 75:return null!=a.Ww();case 94:return null!=a.yN();case 45:return null!=a.ww();
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.Tu();case 67:return null!=a.dK();case 68:return null!=_.D(a,71);case 73:return null!=_.D(a,79);case 71:return null!=a.g2();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.ol(a);case 7:return null!=a.s7();case 122:return null!=_.kN(a);case 66:return null!=_.D(a,69);case 33:return null!=_.R(a,29);case 24:return null!=a.Kj();case 25:return null!=a.sy();case 46:return null!=
a.Vv();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.sB().length;case 56:return null!=_.D(a,61);case 4:return null!=a.TA();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,_.oM,86);case 2:return null!=a.getTitle();case 19:return null!=
a.Rx()||null!=_.R(a,44)||null!=_.D(a,90);case 6:return null!=a.Th();case 98:return null!=a.Wv();case 97:return null!=a.sD();case 27:return null!=a.np();case 70:return null!=a.Hi();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.Qe();case 8:return null!=_.R(a,9);case 126:return 0<_.Nd(a,120).length;default:throw Error("Lc`"+b);}};b1c=function(a,b){return b.every(function(c){return a1c(a,c)})};
c1c=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)})};d1c=function(a,b){var c=new Set(b.concat(_.hVc));return a.filter(function(d){return!c.has(d)})};
lN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(a1c(b,e))if(_.mbb.has(e)){if(d){var f=a.getCapabilities()||new _.cl;_.rM(a,f);switch(e){case 76:_.XVc(f,_.dl(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.rWc(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:_.YVc(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:_.dWc(f,_.R(d,10));break;case 82:_.eWc(f,_.R(d,11));break;case 114:var G=_.R(d,27);_.A(f,27,G);break;case 133:_.mWc(f,_.R(d,33));break;case 202:_.qWc(f,_.R(d,47));_.lWc(f,_.R(d,32));break;case 132:_.lWc(f,_.R(d,32));break;case 101:_.iWc(f,_.R(d,20));break;case 201:_.pWc(f,_.R(d,46));break;case 131:_.kWc(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:_.hWc(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:_.gWc(f,_.ke(d));break;case 78:_.aWc(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:_.fWc(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:_.bWc(f,
_.R(d,8));break;case 189:_.nWc(f,_.R(d,42));break;case 190:_.oWc(f,_.R(d,43));break;case 80:_.cWc(f,_.R(d,9));break;case 135:var va=_.R(d,35);_.A(f,35,va);break;case 102:_.jWc(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);_.ZVc(f,_.R(d,5));break;case 59:_.$Vc(f,_.R(d,6))}}}else if(_.nbb.has(e)){var $b=_.E(b,_.mM,138);if($b){var nb=_.E(a,_.mM,138)||new _.mM;_.x(a,138,nb);switch(e){case 194:var mc=_.E($b,_.sWc,2);_.x(nb,
2,mc);break;case 193:var Lc=_.D($b,1);_.A(nb,1,Lc)}}}else if(_.obb.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.eP(_.R(yc,1));break;case 116:_.tWc(be,_.D(yc,2))}}}else if(_.pbb.has(e)){var Id=_.E(b,_.nM,27);if(Id){var Xe=_.E(a,_.nM,27)||new _.nM;_.x(a,27,Xe);switch(e){case 29:var lc=_.D(Id,1);_.A(Xe,1,lc);break;case 31:Xe.wh(_.D(Id,3));break;case 92:var rb=_.D(Id,4);_.A(Xe,4,rb);break;case 30:Xe.xh(Id.Qe())}}}else if(_.qbb.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(_.rbb.has(e)){var Lh=b.Af();if(Lh){var Of=a.Af()||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(_.sbb.has(e)){var Bi=b.kh();switch(e){case 157:if(Bi){var Zi=a.kh()||new _.Hna;e1c(a,Zi);f1c(Zi,_.pk(Bi,_.gl,8))}break;case 221:if(Bi){var yl=a.kh()||new _.Hna;e1c(a,yl);var pm=_.R(Bi,9);_.A(yl,9,pm)}}}else if(_.tbb.has(e)){var ji=_.E(b,_.pM,103);if(ji){var zf=_.E(a,_.pM,103)||new _.pM;_.x(a,103,zf);switch(e){case 107:var Ci=_.D(ji,3);_.A(zf,3,Ci);break;case 106:zf.wh(_.D(ji,2));break;case 105:zf.xh(ji.Qe())}}}else switch(e){case 74:var ve=b.ks();_.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.$C();_.A(a,10,dg);break;case 91:var pi=b.Rq();_.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.rm(b.Ue());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:_.CWc(a,b.XI());break;case 44:var qj=_.D(b,45);_.A(a,45,qj);break;case 13:var Ee=b.dG();_.A(a,14,Ee);break;case 48:var Di=_.R(b,36);_.A(a,36,Di);break;case 38:_.EWc(a,b.Wi());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.Rka();_.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.Cm();_.A(a,6,Wj);break;case 20:var fg=b.nf();_.A(a,21,fg);break;case 21:a.Pb(b.getId());break;case 16:_.AWc(a,b.ym());break;case 12:var Pe=b.hz();_.A(a,13,Pe);break;case 3:_.jF(a,b.getMimeType());break;case 11:var zl=b.jB();_.A(a,12,zl);break;case 10:_.qTb(a,b.Hq());break;case 50:var Fj=
_.R(b,49);_.A(a,49,Fj);var Af=_.R(b,51);_.A(a,51,Af);var Wd=b.kk();_.x(a,81,Wd);break;case 95:_.KWc(a,b.$m());break;case 18:_.BWc(a,b.Wq());break;case 58:var Fi=_.R(b,63);_.A(a,63,Fi);break;case 14:_.zWc(a,_.il(b));break;case 1:_.qM(a,b.tk());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:g1c(a,_.ll(b));break;case 75:_.IWc(a,b.Ww());break;case 94:_.JWc(a,b.yN());break;case 45:var Gj=b.ww();_.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.Tu();_.A(a,28,rm);break;case 67:var Rm=b.dK();_.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.g2();_.A(a,77,Rh);break;case 210:var Lj=_.ol(b);_.A(a,140,Lj);break;case 7:_.yWc(a,b.s7());break;case 122:h1c(a,_.kN(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.Kj();_.A(a,22,eo);break;case 25:var an=b.sy();_.A(a,23,an);break;case 46:var $l=b.Vv();_.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.yA(b.sB());break;case 4:a.Ev(b.TA());break;case 35:_.DWc(a,_.R(b,31));break;case 57:var cF=_.D(b,62);_.A(a,62,cF);break;case 83:_.HWc(a,b.Bc());break;case 84:var GI=_.E(b,_.oM,86);_.x(a,86,GI);break;case 98:a.Eda(b.Wv());break;case 97:var dF=b.sD();_.x(a,95,dF);break;case 19:var oY=
b.Rx();_.A(a,20,oY);_.FWc(a,_.R(b,44));var HI=_.D(b,90);_.A(a,90,HI);break;case 2:a.setTitle(b.getTitle());break;case 6:a.On(b.Th());break;case 27:_.rTb(a,b.np());break;case 70:var pY=b.Hi();_.A(a,75,pY);break;case 8:var qY=_.R(b,9);_.A(a,9,qY);break;case 126:var Lga=_.Nd(b,120);_.ek(a,120,Lga);break;default:throw Error("Mc`"+e);}})};i1c=function(a,b){var c=_.wy[a];return b.filter(function(d){return!c||!c.has(d)})};j1c=function(a,b,c){a=i1c(c,a);return c1c(b,a,_.hVc)};
mN=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};nN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&mN(a)?(a=a.Af(),!!a&&"application/vnd.google-apps.folder"===_.D(a,3)):"application/vnd.google-apps.folder"===c};k1c=function(a){var b=a&&a.getId()||null;a&&mN(a)&&(a=(a=a.Af())&&_.D(a,1))&&(b=a);return b};l1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};n1c=function(a){return m1c.some(function(b){return a1c(a,b)})};
o1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(oN(b))})};p1c=function(a){return o1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.q1c=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};r1c=function(a,b){var c=_.SUc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};s1c=function(a,b){return 0<=b?!a||a<=b:!0};
t1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.KRc()&&4===b.getType()?"title_natural":_.XTc[b.getType()];b=_.ZTc[b.Ff()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};u1c=function(a,b){var c=a.kk();c||(c=new _.Bna,b&&_.x(a,81,c));return c};v1c=function(a){if(nN(a))_.jN(u1c(a,!0),!0);else if(nN(a,!0)){var b=a.Af();if(b=b&&_.Rd(b))_.jN(u1c(b,!0),!0),_.jN(u1c(a,!0),!0)}};w1c=function(a){return!!a.kk()&&!nN(a)};
x1c=function(a){var b=[];_.Ka(a,function(c){if(3!=oN(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.kk())c=c.clone(),_.fk(c,49),_.fk(c,51),_.gk(c,81);b.push(c)}});return b};z1c=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 _.LM?a[b]=c.$b(function(d){return d?d.$b():null}):c&&c instanceof y1c&&(a[b]=c.$b())}};B1c=function(a){var b=a.slice(0),c=new Set(b);A1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
H1c=function(a,b,c){var d=_.E(a,C1c,66);if(d){var e=_.D(d,1),f=_.xM(a);a=_.eL(_.QK(a));e=new _.uj(e);var h=new _.uj(window.location);var k=h.Bo()+"://"+h.Aj();null!=h.No&&(k+=":"+h.py());h=_.Ij(k,3);_.zj(e,"co",h);h=e.Pe();!f&&0<a&&(h+="u/"+a+"/");e.Di(h+"_/dataservice/cacheproxy");f=_.D(d,5)||"";if(_.IUc(window.location.href,e.toString())&&f)return e=B1c(c),c=_.D(d,6),b="#"+b+"_",d=new _.IK,d.update(e.join(",")),b+=_.fSc(d.digest()),c&&(b+="&jobset="+c),b=_.Ix(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.wga(b),
void 0),b=new D1c(c.port),c.port.start()):b=new D1c(new Worker(_.wga(b),void 0)),new E1c(new pN(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.CK();c=_.Dh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.rha(_.HUc(_.$f("display: none;")));document.body.appendChild(c);c=_.bSc(e.Bo(),void 0,e.Aj(),e.py()).toString();return new E1c(new pN(F1c(window.frames[b],c),!1,!0),0,e.toString())}b=new G1c;return new E1c(new pN(b.O,!1,!1),2,"inline",c,new pN(b.H,!1,!1))};
J1c=function(a){var b=new I1c;if(a instanceof _.sL)_.qk(b,16,qN[0],a);else if(a instanceof _.tL)_.qk(b,1,qN[0],a);else if(a instanceof _.uL)_.qk(b,2,qN[0],a);else if(a instanceof _.rN)_.qk(b,17,qN[0],a);else if(a instanceof _.xL)_.qk(b,3,qN[0],a);else if(a instanceof _.VM)_.qk(b,4,qN[0],a);else if(a instanceof _.vL)_.qk(b,5,qN[0],a);else if(a instanceof _.CL)_.qk(b,6,qN[0],a);else if(a instanceof _.EL)_.qk(b,7,qN[0],a);else if(a instanceof _.FL)_.qk(b,8,qN[0],a);else if(a instanceof _.IL)_.qk(b,9,
qN[0],a);else if(a instanceof _.YL)_.qk(b,10,qN[0],a);else if(a instanceof _.ZL)_.qk(b,11,qN[0],a);else if(a instanceof _.$L)_.qk(b,12,qN[0],a);else if(a instanceof _.gL)_.qk(b,13,qN[0],a);else if(a instanceof _.cM)_.qk(b,14,qN[0],a);else if(a instanceof _.dM)_.qk(b,15,qN[0],a);else throw new _.qc("Unsupported request type");return b};
M1c=function(a){a=a.map(function(c){var d=new K1c;if(c instanceof _.sL)_.qk(d,6,sN[0],c);else if(c instanceof _.rN)_.qk(d,7,sN[0],c);else if(c instanceof _.CL)_.qk(d,1,sN[0],c);else if(c instanceof _.YL)_.qk(d,2,sN[0],c);else if(c instanceof _.ZL)_.qk(d,3,sN[0],c);else if(c instanceof _.gL)_.qk(d,4,sN[0],c);else if(c instanceof _.dM)_.qk(d,5,sN[0],c);else throw new _.qc("Unsupported request type");return d});var b=new L1c;_.Cb(b,1,a);return b};
N1c=function(a){return _.pk(a,K1c,1).map(function(b){return _.E(b,_.sL,6)||_.E(b,_.CL,1)||_.E(b,_.YL,2)||_.E(b,_.ZL,3)||_.E(b,_.gL,4)||_.E(b,_.dM,5)||_.E(b,_.rN,7)})};Q1c=function(a){var b=new O1c;if(a instanceof _.GC)_.qk(b,1,P1c[0],a);else if(a instanceof _.HC)_.qk(b,2,P1c[0],a);else throw new _.qc("Unsupported request type");return b};
T1c=function(a){var b=new R1c;if(a instanceof _.yL)_.qk(b,1,S1c[0],a);else if(a instanceof _.GL)_.qk(b,2,S1c[0],a);else if(a instanceof _.eM)_.qk(b,3,S1c[0],a);else throw new _.qc("Unsupported request type");return b};tN=function(a,b,c){return b?new c(JSON.parse(a)):a};U1c=function(a){a={t:a.title,d:a.description,c:a.Ad,fi:a.B9,dti:a.L0,a:a.nQ?a.nQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.m9})}):void 0};return JSON.stringify(a)};
V1c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Ad:a.c,B9:a.fi,L0:a.dti,nQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,m9:b.ec}}):void 0}};W1c=function(a,b,c){a=a?1:2;a=_.dd(_.cd(new _.bd,12),a);var d=(new _.gf).On(!0);d=_.A(d,17,!0);a=_.hf(d,a);c&&_.Ml(a,c);c=new _.VTc;b&&_.ZUc(c,b);return _.$Uc(_.bVc(new _.WK,a),c)};X1c=function(a){return a.map(function(b){return b.getItem()})};
Y1c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};Z1c=function(a,b){var c=new _.uj(_.F(b,16,"")+"/open"),d=a.getId();mN(a)&&(d=k1c(a));_.zj(c,"id",d);_.zj(c,"authuser",_.eL(_.QK(b)));_.S(b,89,!1)&&_.Q(a,140)&&_.zj(c,"resourcekey",_.ol(a));return c.toString()};
$1c=function(a){_.Rf("drive.DebugUtil.printFindById",function(c){a.ZM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Rf("drive.DebugUtil.getLogs",function(){return _.KXc(a.ag())});_.Rf("drive.DebugUtil.printLogs",function(){window.console.log(_.KXc(a.ag()))});_.Rf("drive.DebugUtil.printRequestHistory",function(){a.oR().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.Jl(c)}))};b2c=function(a,b){var c=new _.hN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.I0c.get(oN(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}a2c(c,[].concat(_.nd(d)));return c};
c2c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Hfa:c.Hfa},d=a.next())if(d=d.value){c.Hfa=new Map;[].concat(_.nd(_.il(d)),[d.ym(),d.Vv(),d.Rq()]).forEach(function(l){return function(p){p&&l.Hfa.set(_.oF(p),p)}}(c));for(var e=[],f=_.m(c.Hfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName();e.push(_.oF(h)+"-"+((k?k.length:k)+"-")+_.Zj(h,16,0))}b.push(d.getId()+","+oN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):""};
d2c=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=_.VRc(4).setItem(f),c[e]=d):(d=_.VRc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.VRc(1).setItem(d),c[e]=d)});return c};e2c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(d2c(a,b))};
h2c=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 _.FC;_.x(c,1,b);f2c(c,[7]);a=a.then(function(d){return d.We(c)}).then(g2c);return _.qi(a)};g2c=function(a){a=_.pk(a,_.dp,3);var b=new i2c;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};
k2c=function(a,b){var c=j2c(a.wm,b.Jc());if(c){var d=c.getItem(),e=d.Ww();if(e){var f=e.uR(),h=_.wa(f,function(k){return k.getId()===_.D(b,2)});_.vWc(e,f);h||(f=_.pk(e,_.Sk,3),_.wa(f,function(k){return k.getId()===_.D(b,2)}),_.wWc(e,f));_.uWc(e,(_.D(e,1)||1)-1);a.rl([d],c.H)}}};
m2c=function(a,b,c){if(b=j2c(a.wm,b.Jc())){var d=b.getItem(),e=d.Ww();if(e){if(1===c.getType()||2===c.getType()){var f=_.pk(e,_.Sk,3);f.push(c);_.Ia(f,l2c);_.wWc(e,f)}else f=e.uR(),f.push(c),_.Ia(f,l2c),_.vWc(e,f);_.uWc(e,(_.D(e,1)||0)+1);a.rl([d],b.H)}}};o2c=function(a){return a.map(function(b){var c=new _.ysb;c=_.A(c,3,n2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
q2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return p2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
u2c=function(a){var b=a.json.exportJob,c=r2c[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=_.jF((new _.hl).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.s2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new t2c(c,d,k,f,h,e,a,b)};
w2c=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=v2c[a]);return b};x2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(v2c[a[c]]);return b};y2c=function(a){return"kind,defaultAppIds,items("+a+")"};z2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};A2c=function(a,b){var c;return(null===(c=_.fL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
B2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
F2c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.fL(b),e=!!d&&_.S(d,10,!1);if(_.PK(_.QK(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,C1c,66);f&&_.D(f,1)||(c=!1);_.xM(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 uN(a,b,c),new C2c(b);c=_.PK(_.QK(b))?2:1;a=new vN(a,b,c,void 0,void 0,void 0);return _.PK(_.QK(b))?new D2c(a):new E2c(a)};
H2c=function(a){return _.pe(a).Og(_.S(a.get(_.Wo),19,!1)?G2c:_.FUa)};I2c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};J2c=function(a,b){return _.Cb(a,1,b)};K2c=[1];L2c=function(a){_.O(this,a,-1,K2c,null)};_.L(L2c,_.K);L2c.prototype.Xha=function(a){_.tk(this,1,a,_.Sk,void 0)};
var M2c=function(a){var b=new L2c;return _.Cb(b,1,a)},N2c=function(a,b){return _.x(a,1,b)},O2c=function(a,b){_.Cb(a,2,b)},P2c=function(a,b){_.x(a,6,b)},Q2c=function(a,b){return _.qk(a,3,_.Vk[0],b)},R2c=function(a){_.O(this,a,-1,null,null)};_.L(R2c,_.K);var S2c=function(a){_.O(this,a,-1,null,null)};_.L(S2c,_.K);var wN=function(a){_.O(this,a,-1,null,null)};_.L(wN,_.K);var T2c=function(a){_.O(this,a,-1,null,null)};_.L(T2c,_.K);var U2c=function(a){_.O(this,a,-1,null,null)};_.L(U2c,_.K);
var V2c=function(a){_.O(this,a,-1,null,null)};_.L(V2c,_.K);var W2c=function(a){_.O(this,a,-1,null,null)};_.L(W2c,_.K);var X2c=function(a){_.O(this,a,-1,null,null)};_.L(X2c,_.K);var Y2c=function(a){_.O(this,a,-1,null,null)};_.L(Y2c,_.K);var Z2c=function(a){_.O(this,a,-1,null,null)};_.L(Z2c,_.K);var $2c=function(a){_.O(this,a,-1,null,null)};_.L($2c,_.K);var a3c=function(a){_.O(this,a,-1,null,null)};_.L(a3c,_.K);var b3c=function(a){_.O(this,a,-1,null,null)};_.L(b3c,_.K);
var c3c=function(a){_.O(this,a,-1,null,null)};_.L(c3c,_.K);var d3c=function(a,b){_.Cb(a,1,b)},e3c=function(a,b){return _.A(a,2,b)},f3c=function(a,b){return _.x(a,3,b)},g3c=function(a,b){return _.A(a,4,b)},h3c=[[1,2,3,4]],i3c=function(a){_.O(this,a,-1,null,h3c)};_.L(i3c,_.K);var j3c=function(a,b){_.Cb(a,1,b)},k3c=function(a,b){return _.x(a,2,b)},l3c=[[1]],m3c=function(a){_.O(this,a,-1,null,l3c)};_.L(m3c,_.K);
var n3c=function(a,b){_.Cb(a,1,b)},o3c=function(a,b){return _.x(a,4,b)},p3c=function(a,b){_.x(a,5,b)},q3c=function(a,b){_.Cb(a,2,b)},r3c=function(a,b){_.Cb(a,4,b)},s3c=function(a,b){return _.x(a,5,b)},t3c=[[1,2]],u3c=function(a){_.O(this,a,-1,null,t3c)};_.L(u3c,_.K);var v3c=function(a,b){_.Cb(a,1,b)},w3c=function(a,b){return _.x(a,2,b)},x3c=[[1]],y3c=function(a){_.O(this,a,-1,null,x3c)};_.L(y3c,_.K);
var z3c=function(a,b){_.Cb(a,2,b)},A3c=function(a){var b=new _.$k;return _.Cb(b,3,a)},B3c=[[1,2]],C3c=function(a){_.O(this,a,-1,null,B3c)};_.L(C3c,_.K);C3c.prototype.WG=function(){return _.E(this,wN,1)};C3c.prototype.yg=function(a){return _.qk(this,1,B3c[0],a)};var D3c=[1],E3c=function(a){_.O(this,a,-1,D3c,null)};_.L(E3c,_.K);E3c.prototype.Sp=function(){return _.D(this,2)};
var F3c=function(a,b){_.Cb(a,1,b)},G3c=function(a,b){return _.A(a,2,b)},H3c=function(a,b){return _.x(a,3,b)},I3c=[[1]],J3c=function(a){_.O(this,a,-1,null,I3c)};_.L(J3c,_.K);var K3c=[2],L3c=function(a){_.O(this,a,-1,K3c,null)};_.L(L3c,_.K);var M3c=function(a,b){_.Cb(a,2,b)},N3c=function(a,b){return _.x(a,3,b)},O3c=[[1]],P3c=function(a){_.O(this,a,-1,null,O3c)};_.L(P3c,_.K);P3c.prototype.WG=function(){return _.E(this,T2c,1)};P3c.prototype.yg=function(a){return _.qk(this,1,O3c[0],a)};
var Q3c=function(a,b){_.Cb(a,1,b)},R3c=function(a,b){return _.Cb(a,2,b)},S3c=[[1,2]],T3c=function(a){_.O(this,a,-1,null,S3c)};_.L(T3c,_.K);var U3c=function(a,b){_.Cb(a,1,b)},V3c=function(a,b){return _.x(a,2,b)},W3c=[[1]],X3c=function(a){_.O(this,a,-1,null,W3c)};_.L(X3c,_.K);var Y3c=function(a,b){return _.x(a,1,b)},Z3c=function(a,b){return _.A(a,2,b)},$3c=function(a,b){return _.A(a,3,b)},a4c=function(a){_.O(this,a,-1,null,null)};_.L(a4c,_.K);f1c=function(a,b){_.Cb(a,8,b)};
oN=function(a){return _.Zj(a,52,1)};e1c=function(a,b){return _.x(a,73,b)};g1c=function(a,b){_.Cb(a,107,b)};_.kN=function(a){return _.E(a,a4c,109)};h1c=function(a,b){_.x(a,109,b)};b4c=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)};c4c=function(a){_.O(this,a,-1,null,null)};_.L(c4c,_.K);var C1c=function(a){_.O(this,a,-1,null,null)};_.L(C1c,_.K);var d4c=[11],e4c=function(a){_.O(this,a,-1,d4c,null)};_.L(e4c,_.K);
var xN=function(a){_.O(this,a,-1,null,null)};_.L(xN,_.K);xN.prototype.getKey=function(){return _.D(this,2)};xN.prototype.As=function(){return _.Q(this,2)};yN=function(a){return _.F(a,4,"en")};_.zN=function(a){return _.E(a,e4c,34,1)};f4c=function(a,b){return _.A(a,5,b)};_.g4c=function(a,b){return _.A(a,2,b)};_.h4c=function(a,b){return _.A(a,3,b)};_.i4c=function(a,b){return _.A(a,1,b)};_.j4c=function(a,b){return _.A(a,2,b)};_.k4c=function(a,b){return _.Cb(a,5,b)};
_.l4c=function(a,b){return _.A(a,6,b)};_.m4c=function(a,b){return _.A(a,7,b)};_.n4c=function(a,b){return _.A(a,8,b)};_.o4c=function(a,b){return _.A(a,10,b)};_.p4c=function(a,b){return _.A(a,15,b)};q4c=[2];_.r4c=function(a){_.O(this,a,-1,q4c,null)};_.L(_.r4c,_.K);_.r4c.prototype.Qh=function(){return _.D(this,1)};_.s4c=function(a,b){return _.x(a,1,b)};t4c=function(a,b){return _.A(a,2,b)};u4c=function(a,b){return _.A(a,3,b)};v4c=function(a,b){_.Cb(a,4,b)};_.w4c=function(a,b){_.x(a,8,b)};
_.x4c=function(a,b){_.x(a,9,b)};y4c=function(a){_.O(this,a,-1,null,null)};_.L(y4c,_.K);y4c.prototype.Xa=function(){return _.bk(this,1)};y4c.prototype.Jb=function(a){return _.ik(this,1,a,0)};f2c=function(a,b){_.ek(a,3,b)};AN=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};_.z4c=function(a){_.O(this,a,-1,null,null)};_.L(_.z4c,_.K);_.z4c.prototype.getId=function(){return _.D(this,1)};
_.z4c.prototype.Pb=function(a){return _.A(this,1,a)};_.z4c.prototype.Qe=function(){return _.D(this,4)};_.z4c.prototype.xh=function(a){return _.A(this,4,a)};_.VM=function(a){_.O(this,a,-1,null,null)};_.L(_.VM,_.K);_.VM.prototype.getTitle=function(){return _.D(this,1)};_.VM.prototype.setTitle=function(a){return _.A(this,1,a)};_.VM.prototype.we=function(){return _.E(this,_.sf,2)};
var A4c=function(a,b){return _.ek(a,9,b)},B4c=function(a,b){return _.ek(a,10,b)},C4c=function(a,b){return _.A(a,36,b)},D4c=function(a,b){return _.Cb(a,38,b)},E4c=function(a,b){return _.A(a,2,b)},F4c=function(a,b){return _.x(a,3,b)},G4c=function(a){_.O(this,a,-1,null,null)};_.L(G4c,_.K);var H4c=function(a){_.O(this,a,-1,null,null)};_.L(H4c,_.K);var I4c=function(a){_.O(this,a,-1,null,null)};_.L(I4c,_.K);var J4c=function(a){_.O(this,a,-1,null,null)};_.L(J4c,_.K);
var K4c=function(a){_.O(this,a,-1,null,null)};_.L(K4c,_.K);var L4c=function(a,b){return _.A(a,1,b)},M4c=function(a,b){return _.A(a,3,b)},N4c=function(a,b){return _.A(a,4,b)},O4c=function(a,b){_.A(a,7,b)},P4c=function(a){_.O(this,a,-1,null,null)};_.L(P4c,_.K);P4c.prototype.ty=function(){return _.R(this,2)};var Q4c=function(a,b){_.A(a,1,b)},R4c=function(a){_.O(this,a,-1,null,null)};_.L(R4c,_.K);R4c.prototype.Mm=function(){return _.D(this,3)};R4c.prototype.Ft=function(a){return _.A(this,3,a)};
R4c.prototype.Ao=function(){return _.D(this,4)};var S4c=function(a){_.O(this,a,-1,null,null)};_.L(S4c,_.K);var T4c=[1,3,5],U4c=function(a){_.O(this,a,-1,T4c,null)};_.L(U4c,_.K);U4c.prototype.cF=function(){return _.Nd(this,1)};U4c.prototype.ty=function(){return _.R(this,2)};U4c.prototype.Ao=function(){return _.D(this,7)};V4c=function(a,b){_.A(a,2,b)};W4c=function(a,b){_.nk(a,5,b,void 0)};X4c=function(a,b){_.A(a,6,b)};Y4c=function(a,b){_.A(a,7,b)};_.Z4c=function(a,b){_.x(a,2,b)};
$4c=function(a,b){return _.ek(a,1,b)};a5c=function(a,b,c){_.BM(a,b,c,"warning")};b5c=function(a){return[].concat(_.nd(a.O))};c5c=function(a){return a.H.concat([].concat(_.nd(a.O)))};d5c=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))};BN=function(a){var b=_.JM(a).zd();b||(b=new _.gXc,a=_.JM(a),_.x(a,1,b));return b};
e5c=function(a){var b=_.E(_.JM(a),U4c,3);b||(b=new U4c,a=_.JM(a),_.x(a,3,b));return b};f5c=function(a){var b=_.E(_.JM(a),I4c,7);b||(b=new I4c,a=_.JM(a),_.x(a,7,b));return b};g5c=function(a){var b=_.E(_.JM(a),K4c,12);b||(b=new K4c,a=_.JM(a),_.x(a,12,b));return b};h5c=function(a){var b=_.E(_.JM(a),P4c,17);b||(b=new P4c,a=_.JM(a),_.x(a,17,b));return b};
i5c=function(a){if(a instanceof _.JK)return 2;if(a instanceof _.gF)return 10;if(a instanceof _.gf)return _.OL(a)?3:_.PL(a)?7:_.QL(a)?8:1;if(a instanceof _.Cz)return 9;if(a instanceof _.pF)return 11;if(a instanceof _.WL)return 15;if(a instanceof _.RK)return 6;if(a instanceof _.SL){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 _.FC)return 4;if(a instanceof _.mz)return 12;if(a instanceof _.iF)return 13}return 0};
j5c=function(a){var b=null;a instanceof _.pA||"undefined"!=typeof _.LM&&a instanceof _.LM||"undefined"!=typeof _.MM&&a instanceof _.MM?b=a.Ze()||0:"undefined"!=typeof _.OM&&a instanceof _.OM||"undefined"!=typeof _.PM&&a instanceof _.PM||"undefined"!=typeof _.QM&&a instanceof _.QM||"undefined"!=typeof _.RM&&a instanceof _.RM||"undefined"!=typeof _.SM&&a instanceof _.SM?b=a.Se:"undefined"!=typeof _.NM&&a instanceof _.NM&&(b=a.Ze());return b||0};
k5c=function(a,b,c){return a.V&&_.GYc(a)?(a=_.CYc(a.V,b,0),c&&_.$Sc(a,c),a):null};l5c=function(a){a.V&&_.GYc(a)&&(a=a.V,a.H.QP()&&a.H.k_())};m5c=function(a){var b=new _.KL;return _.A(b,1,a)};n5c=function(a,b){return _.x(a,2,b)};o5c=function(a,b){return _.x(a,1,b)};p5c=function(a,b){a.ha=b};q5c=[2];CN=function(a){_.O(this,a,-1,q5c,null)};_.L(CN,_.K);CN.prototype.Cb=function(){return _.D(this,1)};CN.prototype.Dc=function(a){return _.A(this,1,a)};CN.prototype.Xha=function(a){_.tk(this,2,a,_.Sk,void 0)};
CN.prototype.Zj=function(){return _.D(this,3)};var r5c=[2],s5c=function(a){_.O(this,a,-1,r5c,null)};_.L(s5c,_.K);s5c.prototype.Cb=function(){return _.D(this,1)};s5c.prototype.Dc=function(a){return _.A(this,1,a)};s5c.prototype.Zj=function(){return _.D(this,3)};t5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.zn,a.H.promise):null};u5c=function(a){var b=[];a.lj.forEach(function(c){(c=c.Cv.config.timestamp)&&b.push(c)});return b};
v5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.Cv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,u5c(c))});return b};a2c=function(a,b){return _.ek(a,1,b)};w5c=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)};
x5c={SUCCESS:1,I6b:2,QYb:3,zUb:4,V6b:5,p1b:6,g1b:7,gVb:8,G5b:9,V5b:10,H6b:11,LWb:12,pWb:13,QZb:14,jYb:15,tWb:16,sWb:17,yWb:18,vWb:19,wWb:20,l6b:21,R6b:22,H1b:23,O0b:24,$Ub:25,PERMISSION_DENIED:26,f0b:27,lVb:28,kVb:29,INTERRUPTED:30,f2b:31,y2b:32,$Wb:33,fXb:34,N5b:35,mXb:36,kYb:37,eXb:38,f1b:39,TVb:40,a2b:41,A2b:42,E5b:43,EVb:44,SVb:45,hYb:46,a0b:47,e1b:48,y1b:49,b2b:50,x5b:51,qWb:52,F5b:53,D5b:54,KVb:55,HVb:56,wXb:57,y0b:58,c2b:59,A_b:60,Q3b:61,E4b:62,k5b:63,e_b:64,Q0b:65,Y6b:66,oXb:67,lYb:68,G6b:69,
i_b:70,jVb:71,wVb:72,M4b:73,l5b:74,h5b:75,f5b:76,A4b:190,e5b:191,N4b:192,T4b:126,P4b:128,Q4b:129,R4b:130,S4b:131,U4b:132,V4b:133,Z3b:127,W3b:134,X3b:135,a4b:136,b4b:137,c4b:138,Y3b:194,$3b:195,d4b:196,V3b:197,D4b:189,P3b:139,R3b:140,e4b:141,f4b:142,r4b:143,u4b:144,v4b:145,w4b:146,x4b:147,y4b:148,z4b:149,C4b:150,I4b:151,K4b:152,L4b:153,O4b:154,W4b:155,Y4b:156,Z4b:157,$4b:158,a5b:159,b5b:160,c5b:161,g5b:162,j5b:163,m5b:164,S3b:165,T3b:166,U3b:167,N3b:168,O3b:169,i4b:170,g4b:171,h4b:172,j4b:173,k4b:174,
l4b:175,m4b:176,n4b:177,o4b:178,p4b:179,q4b:180,s4b:181,t4b:182,B4b:106,J4b:183,X4b:184,d5b:185,F4b:186,G4b:187,H4b:188,i5b:244,$1b:77,L6b:78,Q6b:79,m0b:80,VZb:81,XZb:82,vXb:83,gYb:84,g0b:85,e6b:86,dXb:87,k_b:88,j_b:89,p5b:90,n5b:91,o5b:92,M6b:93,fWb:94,eWb:95,bWb:96,dWb:97,cWb:98,X6b:99,z3b:100,BWb:101,uWb:102,zWb:103,xWb:104,AWb:105,mYb:107,S5b:108,t3b:109,A6b:110,pYb:111,oYb:112,F_b:113,G_b:114,E2b:115,LVb:116,N_b:117,FXb:118,N6b:119,l1b:120,m1b:121,RZb:193,rWb:122,UWb:123,UZb:124,K0b:125,l_b:198,
k2b:199,b_b:200,cUb:201,g_b:202,f_b:203,mVb:204,v7b:205,U_b:206,ZVb:207,i1b:208,z2b:209,v3b:210,DUb:211,D_b:212,K_b:213,I5b:214,H5b:215,d_b:216,PZb:217,c_b:218,qXb:219,W5b:220,rXb:221,B_b:222,P5b:223,g7b:224,U0b:225,O5b:226,WWb:227,T_b:228,uXb:229,VVb:230,c6b:231,L0b:232,FILE_TOO_LARGE:233,h_b:234,pXb:235,dYb:236,v2b:237,R0b:238,OTb:239,WVb:240,Y0b:241,F3b:242,bXb:243,aUb:245,YZb:246,A1b:247,WZb:248,l0b:249,P0b:250,iYb:251,XYb:252,E_b:253,IVb:254,nYb:255,W6b:256,JYb:257,v0b:258,L2b:259,j2b:260,r_b:261,
GWb:262,cXb:263,ZUb:264,e0b:265,U6b:266,STb:267,RUb:268,QUb:269};y5c=[2,6];_.MM=function(a){_.O(this,a,-1,y5c,null)};_.L(_.MM,_.K);_.g=_.MM.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.Tw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.tk(this,2,a,_.hl,b)};_.g.Zj=function(){return _.D(this,3)};_.g.nl=function(){return _.S(this,4,!0)};var z5c=function(a,b){return _.Cb(a,6,b)};
_.MM.prototype.Wf=function(){return _.D(this,10)};_.MM.prototype.RP=function(a){return _.A(this,10,a)};_.MM.prototype.Ze=function(){return _.D(this,9)};_.MM.prototype.mj=function(a){return _.A(this,9,a)};var Z0c=[1004,1005,1002,1003],m1c=[1002,1003,1005],A5c=[1,2],B5c=function(a){_.O(this,a,-1,A5c,null)};_.L(B5c,_.K);var C5c=function(a){_.O(this,a,-1,null,null)};_.L(C5c,_.K);C5c.prototype.Cb=function(){return _.D(this,1)};C5c.prototype.Dc=function(a){return _.A(this,1,a)};
C5c.prototype.an=function(){return _.E(this,_.hF,2)};var D5c=function(a){_.xi.call(this,a)};_.L(D5c,_.xi);var E5c=[5,7,9],F5c=function(a){_.O(this,a,-1,E5c,null)};_.L(F5c,_.K);_.g=F5c.prototype;_.g.getUser=function(){return _.E(this,_.Sk,1)};_.g.PA=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.Ppa=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.Lpa=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.Dpa=function(a){return _.ek(this,9,a)};_.g.addIntegerValues=function(a,b){return _.nk(this,9,a,b)};var G5c=[7,10,12,16,13,3],DN=function(a){_.O(this,a,-1,G5c,null)};_.L(DN,_.K);var EN=function(a){return _.D(a,4)};_.g=DN.prototype;_.g.PA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.U$a=function(){return _.D(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.Ppa=function(a){return _.ek(this,7,a)};_.g.addTextValues=function(a,b){return _.nk(this,7,a,b)};_.g.S$a=function(){return _.D(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.T$a=function(){return _.D(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.HMa=function(){return _.Nd(this,10)};
_.g.Lpa=function(a){return _.ek(this,10,a)};_.g.addSelectionValues=function(a,b){return _.nk(this,10,a,b)};_.g.R$a=function(){return _.D(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.Dpa=function(a){return _.ek(this,12,a)};_.g.addIntegerValues=function(a,b){return _.nk(this,12,a,b)};_.g.IMa=function(){return _.E(this,_.Sk,15)};_.g.setUserValue=function(a){return _.x(this,15,a)};_.g.zBa=function(){return _.pk(this,_.Sk,16)};var H5c=function(a,b){_.Cb(a,16,b)};
DN.prototype.addUserValues=function(a,b){return _.tk(this,16,a,_.Sk,b)};DN.prototype.O=function(){return _.D(this,17)};DN.prototype.setDateStringValue=function(a){return _.A(this,17,a)};DN.prototype.V=function(){return _.Q(this,17)};var I5c=function(a,b){_.Cb(a,13,b)};DN.prototype.getId=function(){return _.D(this,14)};DN.prototype.Pb=function(a){return _.A(this,14,a)};DN.prototype.getName=function(){return _.D(this,1)};DN.prototype.jd=function(a){return _.A(this,1,a)};
var J5c=[2],FN=function(a){_.O(this,a,-1,J5c,null)};_.L(FN,_.K);FN.prototype.getName=function(){return _.D(this,1)};FN.prototype.jd=function(a){return _.A(this,1,a)};FN.prototype.O=function(){return _.pk(this,DN,2)};var K5c=function(a,b){_.Cb(a,2,b)};FN.prototype.Jc=function(){return _.D(this,3)};var L5c=function(a,b){return _.A(a,3,b)},M5c=function(a){_.O(this,a,-1,null,null)};_.L(M5c,_.K);M5c.prototype.O=function(){return _.E(this,_.WB,1)};M5c.prototype.V=function(){return _.E(this,_.WB,2)};
M5c.prototype.ha=function(){return _.E(this,_.WB,3)};var N5c=function(a){_.O(this,a,-1,null,null)};_.L(N5c,_.K);_.g=N5c.prototype;_.g.Xn=function(){return _.R(this,1)};_.g.ek=function(a){return _.A(this,1,a)};_.g.Cm=function(){return _.R(this,2)};_.g.V$a=function(){return _.R(this,3)};_.g.W$a=function(){return _.R(this,4)};var GN=[[13,19,12,11,10,15,14,9,8,18,17,16]],O5c=function(a){_.O(this,a,-1,null,null)};_.L(O5c,_.K);O5c.prototype.O=function(){return _.R(this,1)};
O5c.prototype.V=function(){return _.R(this,2)};var P5c=function(a){_.O(this,a,-1,null,null)};_.L(P5c,_.K);P5c.prototype.xVa=function(){return _.D(this,1)};P5c.prototype.O=function(){return _.D(this,4)};var Q5c=function(a){_.O(this,a,-1,null,null)};_.L(Q5c,_.K);Q5c.prototype.V=function(){return _.D(this,1)};Q5c.prototype.O=function(){return _.D(this,2)};var R5c=function(a){_.O(this,a,-1,null,null)};_.L(R5c,_.K);R5c.prototype.V=function(){return _.D(this,1)};
R5c.prototype.O=function(){return _.D(this,2)};var S5c=function(a){_.O(this,a,-1,null,null)};_.L(S5c,_.K);var T5c=[1],U5c=function(a){_.O(this,a,-1,null,null)};_.L(U5c,_.K);U5c.prototype.O=function(){return _.R(this,1)};U5c.prototype.V=function(){return _.R(this,2)};var V5c=function(a){_.O(this,a,-1,null,null)};_.L(V5c,_.K);_.g=V5c.prototype;_.g.Xn=function(){return _.R(this,1)};_.g.ek=function(a){return _.A(this,1,a)};_.g.Cm=function(){return _.R(this,2)};_.g.gab=function(){return _.E(this,M5c,3)};
_.g.jab=function(){return _.Q(this,3)};_.g.iab=function(){return _.E(this,M5c,4)};_.g.lab=function(){return _.Q(this,4)};_.g.hab=function(){return _.D(this,5)};_.g.kab=function(){return _.Q(this,5)};var W5c=function(a){_.O(this,a,-1,null,null)};_.L(W5c,_.K);_.g=W5c.prototype;_.g.getLabel=function(){return _.D(this,1)};_.g.wd=function(a){return _.A(this,1,a)};_.g.Lr=function(){return _.Q(this,1)};_.g.Xa=function(){return _.D(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};
_.g.Fi=function(){return _.fk(this,2)};_.g.lh=function(){return _.Q(this,2)};_.g.Ue=function(){return _.D(this,5)};_.g.rm=function(a){return _.A(this,5,a)};_.g.fab=function(){return _.Q(this,5)};_.g.getCapabilities=function(){return _.E(this,U5c,3)};_.g.eab=function(){return _.E(this,V5c,4)};var X5c=function(a){_.O(this,a,-1,T5c,null)};_.L(X5c,_.K);X5c.prototype.O=function(){return _.pk(this,W5c,1)};var Y5c=function(a,b){_.Cb(a,1,b)},Z5c=function(a){_.O(this,a,-1,null,null)};_.L(Z5c,_.K);
Z5c.prototype.hu=function(){return _.D(this,1)};Z5c.prototype.BW=function(){return _.Q(this,1)};Z5c.prototype.getOptions=function(){return _.E(this,X5c,2)};var $5c=function(a){_.O(this,a,-1,null,null)};_.L($5c,_.K);$5c.prototype.hu=function(){return _.D(this,1)};$5c.prototype.BW=function(){return _.Q(this,1)};$5c.prototype.getOptions=function(){return _.E(this,R5c,2)};var a6c=function(a){_.O(this,a,-1,null,null)};_.L(a6c,_.K);var b6c=function(a){_.O(this,a,-1,null,null)};_.L(b6c,_.K);
b6c.prototype.hu=function(){return _.D(this,1)};b6c.prototype.BW=function(){return _.Q(this,1)};b6c.prototype.getOptions=function(){return _.E(this,a6c,2)};var HN=[[3,4,5,6,7,8,9,10,11,12]],c6c=function(a){_.O(this,a,-1,null,HN)};_.L(c6c,_.K);_.g=c6c.prototype;_.g.Cda=function(a){return _.qk(this,3,HN[0],a)};_.g.i5a=function(a){return _.qk(this,4,HN[0],a)};_.g.v4a=function(a){return _.qk(this,5,HN[0],a)};_.g.u4a=function(a){return _.qk(this,6,HN[0],a)};
_.g.i4a=function(a){return _.qk(this,7,HN[0],a)};_.g.W4a=function(a){return _.qk(this,8,HN[0],a)};_.g.V4a=function(a){return _.qk(this,9,HN[0],a)};_.g.n5a=function(a){return _.qk(this,10,HN[0],a)};_.g.Tpa=function(a){return _.qk(this,11,HN[0],a)};_.g.zpa=function(a){return _.qk(this,12,HN[0],a)};var d6c=function(a){_.O(this,a,-1,null,null)};_.L(d6c,_.K);var e6c=function(a){_.O(this,a,-1,null,null)};_.L(e6c,_.K);e6c.prototype.hu=function(){return _.D(this,1)};
e6c.prototype.BW=function(){return _.Q(this,1)};e6c.prototype.getOptions=function(){return _.E(this,d6c,2)};var f6c=function(a){_.O(this,a,-1,null,GN)};_.L(f6c,_.K);_.g=f6c.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Z$a=function(){return _.D(this,2)};_.g.Ge=function(){return _.D(this,4)};_.g.Y$a=function(){return _.E(this,N5c,5)};_.g.getCapabilities=function(){return _.E(this,O5c,6)};_.g.dab=function(){return _.D(this,7)};
_.g.i4a=function(a){return _.qk(this,13,GN[0],a)};_.g.X$a=function(){return _.E(this,P5c,19)};_.g.zpa=function(a){return _.qk(this,19,GN[0],a)};_.g.u4a=function(a){return _.qk(this,12,GN[0],a)};_.g.v4a=function(a){return _.qk(this,11,GN[0],a)};_.g.otb=function(){return _.E(this,Q5c,10)};_.g.$$a=function(){return _.E(this,Z5c,15)};_.g.V4a=function(a){return _.qk(this,15,GN[0],a)};_.g.aab=function(){return _.E(this,X5c,14)};_.g.W4a=function(a){return _.qk(this,14,GN[0],a)};
_.g.i5a=function(a){return _.qk(this,9,GN[0],a)};_.g.bab=function(){return _.E(this,R5c,8)};_.g.Cda=function(a){return _.qk(this,8,GN[0],a)};_.g.cab=function(){return _.E(this,e6c,18)};_.g.Tpa=function(a){return _.qk(this,18,GN[0],a)};_.g.n5a=function(a){return _.qk(this,17,GN[0],a)};var g6c=[5],h6c=function(a){_.O(this,a,-1,null,null)};_.L(h6c,_.K);h6c.prototype.ha=function(){return _.R(this,1)};h6c.prototype.O=function(){return _.R(this,2)};h6c.prototype.ka=function(){return _.R(this,3)};
h6c.prototype.V=function(){return _.R(this,4)};var IN=function(a){_.O(this,a,-1,g6c,null)};_.L(IN,_.K);IN.prototype.getName=function(){return _.D(this,1)};IN.prototype.jd=function(a){return _.A(this,1,a)};IN.prototype.Xm=function(){return _.D(this,2)};var i6c=function(a,b){return _.A(a,2,b)};IN.prototype.V=function(){return _.D(this,14)};var j6c=function(a,b){return _.A(a,14,b)};_.g=IN.prototype;_.g.getTitle=function(){return _.D(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};
_.g.Ue=function(){return _.D(this,4)};_.g.rm=function(a){return _.A(this,4,a)};_.g.nab=function(){return _.D(this,15)};_.g.mab=function(){return _.pk(this,f6c,5)};var k6c=function(a,b){return _.Cb(a,5,b)},l6c=function(a,b){_.x(a,6,b)},m6c=function(a,b){_.x(a,7,b)},n6c=function(a,b){_.x(a,8,b)},o6c=function(a,b){return _.A(a,9,b)},p6c=function(a,b){return _.A(a,10,b)},q6c=function(a,b){return _.A(a,11,b)};IN.prototype.O=function(){return _.E(this,N5c,12)};var r6c=function(a,b){_.x(a,12,b)};
IN.prototype.getCapabilities=function(){return _.E(this,h6c,13)};var s6c=function(a,b){_.x(a,13,b)};IN.prototype.getCustomer=function(){return _.D(this,16)};t6c=function(a,b){return _.A(a,16,b)};u6c=[3];_.JN=function(a){_.O(this,a,-1,u6c,null)};_.L(_.JN,_.K);_.JN.prototype.getType=function(){return _.D(this,1)};_.JN.prototype.Jc=function(){return _.D(this,2)};_.rN=function(a){_.O(this,a,-1,null,null)};_.L(_.rN,_.K);_.rN.prototype.getId=function(){return _.D(this,1)};
_.rN.prototype.Pb=function(a){return _.A(this,1,a)};_.rN.prototype.we=function(){return _.E(this,_.sf,3)};_.v6c=function(a){_.O(this,a,-1,null,null)};_.L(_.v6c,_.K);_.v6c.prototype.getFeature=function(){return _.D(this,1)};w6c=[1];_.IM=function(a){_.O(this,a,-1,w6c,null)};_.L(_.IM,_.K);x6c=[2,3,8];_.ZL=function(a){_.O(this,a,-1,x6c,null)};_.L(_.ZL,_.K);_.ZL.prototype.getId=function(){return _.D(this,1)};_.ZL.prototype.Pb=function(a){return _.A(this,1,a)};
_.ZL.prototype.we=function(){return _.E(this,_.sf,4)};_.ZL.prototype.Bc=function(){return _.D(this,5)};var y6c=function(a){_.O(this,a,-1,null,null)};_.L(y6c,_.K);var z6c=[1,2,4],A6c={O6b:0,w0b:1,I1b:2,w1b:3,m_b:4,AUb:5,x0b:6,x1b:7,wZb:8,YUb:9,u1b:10},KN=function(){this.map={};this.status=6;this.Se=null};KN.prototype.Cb=function(){return this.status};KN.prototype.Dc=function(a){this.status=a};KN.prototype.Ze=function(){return this.Se};KN.prototype.mj=function(a){this.Se=a};
var B6c=function(a,b){a.map=b};KN.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.Se,me:b})};C6c=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.mj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.LM=function(){KN.apply(this,arguments)};_.L(_.LM,KN);var D6c=function(){KN.apply(this,arguments)};_.L(D6c,KN);var E6c=function(a){_.O(this,a,-1,null,null)};_.L(E6c,_.K);
E6c.prototype.getType=function(){return _.D(this,1)};var F6c=function(a){var b=new E6c;return _.A(b,1,a)},G6c=function(a,b){return _.x(a,2,b)};E6c.prototype.qy=function(){return _.D(this,3)};E6c.prototype.Sy=function(a){return _.A(this,3,a)};E6c.prototype.Pi=function(){return _.D(this,4)};E6c.prototype.setPosition=function(a){return _.A(this,4,a)};var H6c=[2],I6c=function(a){_.O(this,a,-1,H6c,null)};_.L(I6c,_.K);I6c.prototype.Cb=function(){return _.D(this,1)};
I6c.prototype.Dc=function(a){return _.A(this,1,a)};var J6c=[2],LN=function(a){_.O(this,a,-1,J6c,null)};_.L(LN,_.K);LN.prototype.Cb=function(){return _.D(this,1)};LN.prototype.Dc=function(a){return _.A(this,1,a)};LN.prototype.O=function(){return _.pk(this,FN,2)};var K6c=function(a,b){return _.Cb(a,2,b)};LN.prototype.Zj=function(){return _.D(this,3)};var L6c=function(a){_.O(this,a,-1,null,null)};_.L(L6c,_.K);L6c.prototype.Cb=function(){return _.D(this,1)};
L6c.prototype.Dc=function(a){return _.A(this,1,a)};M6c=function(a,b){return _.x(a,2,b)};N6c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};O6c=function(a,b){return new _.JSc(_.KSc.bound(a,b,void 0,void 0))};P6c=function(){var a=new _.li,b=_.WSc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Qd(_.NK(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.Q6c=function(a){_.O(this,a,-1,null,null)};
_.L(_.Q6c,_.K);_.Q6c.prototype.Oq=function(){return _.D(this,1)};_.Q6c.prototype.Nd=function(){return _.D(this,2)};_.Q6c.prototype.setSize=function(a){return _.A(this,2,a)};_.Q6c.prototype.getUrl=function(){return _.D(this,3)};_.R6c=function(a){_.O(this,a,-1,null,null)};_.L(_.R6c,_.K);_.R6c.prototype.getType=function(){return _.D(this,1)};S6c=[2,3];_.T6c=function(a){_.O(this,a,-1,S6c,null)};_.L(_.T6c,_.K);U6c=[4,5,6,17,18,24];_.MN=function(a){_.O(this,a,-1,U6c,null)};_.L(_.MN,_.K);
_.MN.prototype.getId=function(){return _.D(this,1)};_.MN.prototype.Pb=function(a){return _.A(this,1,a)};_.MN.prototype.getName=function(){return _.D(this,2)};_.MN.prototype.jd=function(a){return _.A(this,2,a)};var V6c=function(a,b){return _.ek(a,4,b)},W6c=function(a,b){return _.ek(a,5,b)};_.MN.prototype.$Q=function(){return _.D(this,8)};_.MN.prototype.eBa=function(){return _.R(this,22)};_.MN.prototype.getType=function(){return _.D(this,23)};_.MN.prototype.Cm=function(){return _.R(this,33)};
var i2c=function(a){_.O(this,a,-1,null,null)};_.L(i2c,_.K);var X6c=[3],NN=function(a){_.O(this,a,-1,X6c,null)};_.L(NN,_.K);NN.prototype.oq=function(){return _.D(this,1)};var Y6c=function(a,b){return _.A(a,1,b)};NN.prototype.getTitle=function(){return _.D(this,2)};NN.prototype.setTitle=function(a){return _.A(this,2,a)};NN.prototype.Hd=function(){return _.pk(this,_.hl,3)};var Z6c=function(a,b){return _.Cb(a,3,b)};NN.prototype.nh=function(a,b){return _.tk(this,3,a,_.hl,b)};
NN.prototype.V=function(){return _.D(this,4)};var $6c=function(a,b){return _.A(a,4,b)};NN.prototype.O=function(){return _.E(this,_.Uk,5)};var a7c=function(a,b){return _.x(a,5,b)},b7c=[2],ON=function(a){_.O(this,a,-1,b7c,null)};_.L(ON,_.K);ON.prototype.Cb=function(){return _.D(this,1)};ON.prototype.Dc=function(a){return _.A(this,1,a)};ON.prototype.ql=function(){return _.pk(this,NN,2)};var c7c=function(a,b){return _.Cb(a,2,b)};ON.prototype.Wf=function(){return _.D(this,4)};
d7c=function(a,b){return _.A(a,4,b)};_.NM=function(a){_.O(this,a,-1,null,null)};_.L(_.NM,_.K);_.g=_.NM.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.gU=function(){return _.ck(this,2,_.hF)};_.g.Zj=function(){return _.D(this,3)};_.g.Ze=function(){return _.D(this,5)};_.g.mj=function(a){return _.A(this,5,a)};var e7c=[1],sN=[[1,2,3,4,5,6,7]],K1c=function(a){_.O(this,a,-1,null,sN)};_.L(K1c,_.K);var L1c=function(a){_.O(this,a,-1,e7c,null)};_.L(L1c,_.K);
var PN=function(a){_.O(this,a,-1,null,null)};_.L(PN,_.K);PN.prototype.getQuery=function(){return _.E(this,_.gf,1,1)};PN.prototype.zg=function(a){return _.x(this,1,a)};PN.prototype.nK=function(){return _.Q(this,1)};PN.prototype.Wn=function(){return _.D(this,4)};var f7c=function(a,b){return _.x(a,5,b)},g7c=[1,2,5,7,9,10,12],QN=function(a){_.O(this,a,-1,g7c,null)};_.L(QN,_.K);QN.prototype.Hd=function(){return _.pk(this,_.hl,1)};var h7c=function(a,b){return _.Cb(a,1,b)};
QN.prototype.nh=function(a,b){return _.tk(this,1,a,_.hl,b)};QN.prototype.Xha=function(a){_.tk(this,2,a,_.Sk,void 0)};var i7c=function(a,b){return _.A(a,3,b)};QN.prototype.Yn=function(){return _.D(this,4)};QN.prototype.Hu=function(a){return _.A(this,4,a)};var j7c=function(a,b){return _.Cb(a,5,b)},k7c=function(a,b){return _.A(a,6,b)};QN.prototype.Gh=function(){return _.E(this,_.yA,8)};var l7c=function(a,b){return _.ek(a,12,b)};QN.prototype.Ao=function(){return _.Zj(this,13,0)};
var m7c=function(a,b){return _.A(a,13,b)},n7c={bVb:0,aVb:1,M_b:2,Q5b:3,T5b:4},qN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],I1c=function(a){_.O(this,a,-1,null,qN)};_.L(I1c,_.K);var P1c=[[1,2]],O1c=function(a){_.O(this,a,-1,null,P1c)};_.L(O1c,_.K);var S1c=[[1,2,3]],R1c=function(a){_.O(this,a,-1,null,S1c)};_.L(R1c,_.K);var o7c=function(a){_.O(this,a,-1,null,null)};_.L(o7c,_.K);o7c.prototype.Ue=function(){return _.F(this,1)};o7c.prototype.rm=function(a){return _.lk(this,1,a)};
o7c.prototype.getUrl=function(){return _.F(this,2)};_.p7c=function(a){_.O(this,a,-1,null,null)};_.L(_.p7c,_.K);_.p7c.prototype.getType=function(){return _.Zj(this,1,0)};_.p7c.prototype.getContext=function(){return _.E(this,o7c,2)};_.p7c.prototype.Zi=function(a){return _.x(this,2,a)};q7c=[1];r7c=[2,4];_.s7c=function(a){_.O(this,a,-1,r7c,null)};_.L(_.s7c,_.K);_.s7c.prototype.getLabel=function(){return _.F(this,1)};_.s7c.prototype.wd=function(a){return _.lk(this,1,a)};
_.s7c.prototype.getTitle=function(){return _.F(this,3)};_.s7c.prototype.setTitle=function(a){return _.lk(this,3,a)};_.t7c=function(a){_.O(this,a,-1,q7c,null)};_.L(_.t7c,_.K);_.u7c=[[2,3,4]];_.RN=function(a){_.O(this,a,-1,null,null)};_.L(_.RN,_.K);_.RN.prototype.Ge=function(){return _.F(this,3)};_.RN.prototype.to=function(a){return _.lk(this,4,a)};_.v7c=function(a){_.O(this,a,-1,null,null)};_.L(_.v7c,_.K);_.w7c=function(a){_.O(this,a,-1,null,_.u7c)};_.L(_.w7c,_.K);
var x7c=function(a){_.O(this,a,-1,null,null)};_.L(x7c,_.K);y7c=[3,5];_.SN=[[8,9,10,11,12,13,14]];_.z7c=function(a){_.O(this,a,-1,null,null)};_.L(_.z7c,_.K);_.A7c=function(a){_.O(this,a,-1,y7c,_.SN)};_.L(_.A7c,_.K);_.A7c.prototype.Cb=function(){return _.Zj(this,6,0)};_.A7c.prototype.Dc=function(a){return _.mk(this,6,a)};var B7c=function(a){_.O(this,a,-1,null,null)};_.L(B7c,_.K);var C7c=function(a){_.O(this,a,-1,null,null)};_.L(C7c,_.K);var D7c=function(a){_.O(this,a,-1,null,null)};_.L(D7c,_.K);
var E7c=[1],F7c=function(a){_.O(this,a,-1,E7c,null)};_.L(F7c,_.K);var G7c=function(a){_.O(this,a,-1,null,null)};_.L(G7c,_.K);var H7c=function(a){_.O(this,a,-1,null,null)};_.L(H7c,_.K);I7c=[7];_.J7c=[[1,2,3]];_.K7c=function(a){_.O(this,a,-1,null,null)};_.L(_.K7c,_.K);_.L7c=function(a){_.O(this,a,-1,null,null)};_.L(_.L7c,_.K);_.M7c=function(a){_.O(this,a,-1,null,null)};_.L(_.M7c,_.K);_.N7c=function(a){_.O(this,a,-1,I7c,_.J7c)};_.L(_.N7c,_.K);var O7c=function(a){_.O(this,a,-1,null,null)};_.L(O7c,_.K);
O7c.prototype.getName=function(){return _.F(this,1)};O7c.prototype.jd=function(a){return _.lk(this,1,a)};var P7c=function(a){_.O(this,a,-1,null,null)};_.L(P7c,_.K);P7c.prototype.getName=function(){return _.F(this,1)};P7c.prototype.jd=function(a){return _.lk(this,1,a)};P7c.prototype.getTitle=function(){return _.F(this,2)};P7c.prototype.setTitle=function(a){return _.lk(this,2,a)};var Q7c=[[1,4]],R7c=function(a){_.O(this,a,-1,null,Q7c)};_.L(R7c,_.K);
R7c.prototype.getUser=function(){return _.E(this,_.w7c,1)};R7c.prototype.Aj=function(){return _.E(this,O7c,3)};R7c.prototype.hn=function(a){return _.x(this,3,a)};R7c.prototype.gH=function(){return _.Q(this,3)};var S7c=[[8,9,10]],T7c=function(a){_.O(this,a,-1,null,null)};_.L(T7c,_.K);var U7c=function(a){_.O(this,a,-1,null,null)};_.L(U7c,_.K);U7c.prototype.getType=function(){return _.Zj(this,6,0)};var V7c=function(a){_.O(this,a,-1,null,null)};_.L(V7c,_.K);_.W7c=function(a){_.O(this,a,-1,null,S7c)};
_.L(_.W7c,_.K);_.g=_.W7c.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,T7c,3)};_.g.Gka=function(){return _.E(this,U7c,9)};_.g.mAa=function(){return _.E(this,V7c,10)};_.g.Hi=function(){return _.ak(this,5)};_.g.getMimeType=function(){return _.F(this,6)};_.g.kD=function(){return _.E(this,R7c,7)};
var X7c=function(a){_.O(this,a,-1,null,null)};_.L(X7c,_.K);var Y7c=[[8,9,10]],Z7c=function(a){_.O(this,a,-1,null,Y7c)};_.L(Z7c,_.K);_.g=Z7c.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,T7c,3)};_.g.Gka=function(){return _.E(this,U7c,9)};_.g.mAa=function(){return _.E(this,V7c,10)};$7c=[[1,3]];
_.TN=function(a){_.O(this,a,-1,null,$7c)};_.L(_.TN,_.K);_.TN.prototype.Gi=function(){return _.E(this,Z7c,1)};_.a8c=[[1,2,3]];_.b8c=function(a){_.O(this,a,-1,null,null)};_.L(_.b8c,_.K);_.c8c=function(a){_.O(this,a,-1,null,_.a8c)};_.L(_.c8c,_.K);var d8c=function(a){_.O(this,a,-1,null,null)};_.L(d8c,_.K);var e8c=function(a){_.O(this,a,-1,null,null)};_.L(e8c,_.K);f8c=[2,3];_.g8c=function(a){_.O(this,a,-1,f8c,null)};_.L(_.g8c,_.K);_.g8c.prototype.getType=function(){return _.Zj(this,1,0)};
_.h8c=function(a){_.O(this,a,-1,null,null)};_.L(_.h8c,_.K);_.h8c.prototype.getType=function(){return _.Zj(this,1,0)};var i8c=function(a){_.O(this,a,-1,null,null)};_.L(i8c,_.K);i8c.prototype.getType=function(){return _.Zj(this,1,0)};var j8c=function(a){_.O(this,a,-1,null,null)};_.L(j8c,_.K);_.k8c=function(a){_.O(this,a,-1,null,null)};_.L(_.k8c,_.K);var l8c=function(a){_.O(this,a,-1,null,null)};_.L(l8c,_.K);m8c=[1,2,4];_.n8c=function(a){_.O(this,a,-1,null,null)};_.L(_.n8c,_.K);o8c=[1,2];
_.p8c=function(a){_.O(this,a,-1,null,null)};_.L(_.p8c,_.K);_.p8c.prototype.getParent=function(){return _.E(this,_.TN,1)};_.p8c.prototype.Cg=function(a){return _.x(this,1,a)};_.q8c=function(a){_.O(this,a,-1,o8c,null)};_.L(_.q8c,_.K);_.r8c=function(a){_.O(this,a,-1,m8c,null)};_.L(_.r8c,_.K);_.UN=function(a){_.O(this,a,-1,null,null)};_.L(_.UN,_.K);_.UN.prototype.getEmail=function(){return _.F(this,1)};_.UN.prototype.getTitle=function(){return _.F(this,2)};
_.UN.prototype.setTitle=function(a){return _.lk(this,2,a)};_.VN=[[2,3,4,5]];_.WN=function(a){_.O(this,a,-1,null,_.VN)};_.L(_.WN,_.K);_.g=_.WN.prototype;_.g.dg=function(){return _.Zj(this,1,0)};_.g.getUser=function(){return _.E(this,_.w7c,2)};_.g.Aj=function(){return _.E(this,O7c,4)};_.g.hn=function(a){return _.qk(this,4,_.VN[0],a)};_.g.gH=function(){return _.Q(this,4)};var s8c=function(a){_.O(this,a,-1,null,null)};_.L(s8c,_.K);t8c=[1,2,3,4];_.u8c=function(a){_.O(this,a,-1,t8c,null)};_.L(_.u8c,_.K);
_.v8c=function(a){_.O(this,a,-1,null,null)};_.L(_.v8c,_.K);_.w8c=function(a){_.O(this,a,-1,null,null)};_.L(_.w8c,_.K);_.x8c=function(a){_.O(this,a,-1,null,null)};_.L(_.x8c,_.K);_.y8c=function(a){_.O(this,a,-1,null,null)};_.L(_.y8c,_.K);_.y8c.prototype.getType=function(){return _.Zj(this,1,0)};z8c=[1];_.A8c=function(a){_.O(this,a,-1,null,null)};_.L(_.A8c,_.K);_.A8c.prototype.getFeature=function(){return _.Zj(this,1,0)};_.B8c=function(a){_.O(this,a,-1,z8c,null)};_.L(_.B8c,_.K);
var C8c=function(a){_.O(this,a,-1,null,null)};_.L(C8c,_.K);var D8c=function(a){_.O(this,a,-1,null,null)};_.L(D8c,_.K);var E8c=function(a){_.O(this,a,-1,null,null)};_.L(E8c,_.K);E8c.prototype.getType=function(){return _.Zj(this,1,0)};_.XN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.YN=function(a){_.O(this,a,-1,null,_.XN)};_.L(_.YN,_.K);_.YN.prototype.Uz=function(){return _.E(this,E8c,10)};_.F8c=function(a){_.O(this,a,-1,null,null)};_.L(_.F8c,_.K);var G8c=function(a){_.O(this,a,-1,null,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);_.I8c.prototype.getType=function(){return _.Zj(this,1,0)};_.J8c=[[1,2,3,4,5]];_.K8c=function(a){_.O(this,a,-1,null,_.J8c)};_.L(_.K8c,_.K);_.K8c.prototype.getUser=function(){return _.E(this,_.w7c,1)};var L8c=function(a){_.O(this,a,-1,null,null)};_.L(L8c,_.K);L8c.prototype.getType=function(){return _.Zj(this,2,0)};L8c.prototype.Ah=function(){return _.F(this,1)};
_.M8c=function(a){_.O(this,a,-1,null,null)};_.L(_.M8c,_.K);_.g=_.M8c.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,_.W7c,3)};_.N8c=function(a){_.O(this,a,-1,null,null)};_.L(_.N8c,_.K);_.N8c.prototype.getParent=function(){return _.E(this,_.W7c,4)};_.N8c.prototype.Cg=function(a){return _.x(this,4,a)};_.O8c=[[1,5,3]];
_.P8c=function(a){_.O(this,a,-1,null,_.O8c)};_.L(_.P8c,_.K);_.P8c.prototype.Gi=function(){return _.E(this,_.W7c,1)};_.ZN=function(a){_.O(this,a,-1,null,null)};_.L(_.ZN,_.K);_.ZN.prototype.CY=function(a){_.x(this,1,a)};_.ZN.prototype.Fr=function(){return _.E(this,_.gx,2)};_.ZN.prototype.FF=function(a){_.x(this,2,a)};Q8c=[[5,6]];_.R8c=function(a){_.O(this,a,-1,null,Q8c)};_.L(_.R8c,_.K);_.R8c.prototype.Qh=function(){return _.E(this,L8c,2)};_.R8c.prototype.O=function(a){_.qk(this,5,Q8c[0],a)};
S8c=[3,4,5];T8c=[[6,7]];_.U8c=function(a){_.O(this,a,-1,S8c,T8c)};_.L(_.U8c,_.K);_.U8c.prototype.O=function(a){_.qk(this,6,T8c[0],a)};var V8c=[1],W8c=function(a){_.O(this,a,-1,V8c,null)};_.L(W8c,_.K);W8c.prototype.ny=function(){return _.F(this,2)};
var X8c=function(a,b){return 1<a?2===b:a===b},Y8c=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");},$N=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=$N.prototype;_.g.clone=function(){return new $N(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.ZD=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())};_.OM=function(a,b,c){this.response=a;this.Se=void 0===b?0:b;this.r0=void 0===c?null:c};_.wVc=function(a){this.H=a;this.type=1};Z8c=function(){};$8c=function(a){this.H=a};_.xVc=function(a){this.H=a;this.type=0};
t2c=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.iA=f;this.H=h;this.W=k};_.QM=function(a,b,c){this.response=a;this.Se=void 0===b?0:b;this.r0=void 0===c?null:c};_.EVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.HVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.RM=function(a,b,c){this.response=a;this.Se=void 0===b?0:b;this.r0=void 0===c?null:c};
_.SM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Se=void 0===d?0:d};_.PM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Se=void 0===d?0:d};a9c=function(a){_.PM.call(this,a,void 0,void 0,void 0);this.f4a=new _.zn};_.L(a9c,_.PM);
var b9c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},c9c=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.$Tc.get(b)}).filter(function(b){return b})))).join(",")},aO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=c9c(b);var d=_.VK(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+")"},d9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+aO(a,b,!1)+")"},bO=function(a){return a instanceof _.hl?null!=a.getId()&&a.getId()==a.Bc():null!=a.Jc()&&a.Jc()==a.Bc()},e9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.kh();null!=e&&e1c(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);_.rM(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.cl,e=_.R(e,18),_.A(f,18,e),_.rM(a,f));lN(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.kh()&&lN(a,d,c)},f9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!bO(a)&&!bO(b))return a;if(2==oN(a)){c=_.D(a,82);var d=b.clone();e9c(d,a);_.GWc(d,oN(b));_.jL(d,c);return d}a=a.clone();e9c(a,b,c);return a},g9c=function(a){return(a=a?a.kh():null)&&a.Cm()||!1},h9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},i9c=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]={}})},k9c=function(a,b,c){b.every(function(d){return bO(d)})?j9c(b,c,a.H,a.O):b.every(function(d){return!bO(d)})&&j9c(b,c,a.items,a.fields)},j9c=function(a,b,c,d){var e=_.jVc(b,[].concat(_.nd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&lN(f,k,[h])})})};h9c.prototype.update=function(a,b,c){b&&bO(b)?l9c(a,b,this.H,this.O,c):l9c(a,b,this.items,this.fields,c)};h9c.prototype.IJ=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 l9c=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&&b1c(b,[h])){var k=new _.hl;k.Pb(b.getId());lN(k,b,[h]);f[a]=k}});b&&Y0c(b,[].concat(_.nd(d)))};
h9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};h9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var m9c=function(a,b,c){var d=this;this.xu=b;this.Ew=c;this.Pd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=m9c.prototype;_.g.hy=function(){return this.Pd};
_.g.yk=function(a){var b=new Map;a=_.m(a.Zm());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Pd.has(c)&&b.set(c,this.Pd.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(n9c(a)){for(var d=_.m(this.Pd.values()),e=d.next();!e.done;e=d.next())e=e.value,cO(this.xu,a,e.getItem())&&(void 0===b||X8c(e.H,b))&&c.push(e);this.Ew.sort(a,c)}return c};_.g.get=function(a){return this.Pd.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Pd.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,o9c(this,a.H)?(this.Pd.delete(a.id),a.H.count--):this.Pd.set(a.id,a.H)):(this.Pd.delete(a.id),a.O.count--)};var o9c=function(a,b){return 1<b.lc()||X8c(b.H,2)||b.getItem().XI()||w1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
m9c.prototype.IJ=function(){for(var a=_.m(this.Pd.values()),b=a.next();!b.done;b=a.next())b=b.value,o9c(this,b)&&(this.Pd.delete(b.getId()),b.count--)};var p9c=function(a,b,c,d){this.Mg=a;this.W=b;this.O=c;this.V=d},j2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),k9c(a.V,[b.getItem()],c5c(a.Mg)),b):null};p9c.prototype.H=function(a){return(a=j2c(this,a))?a.getItem():null};
var q9c=function(a,b){var c={};b.forEach(function(d){var e=j2c(a,d);e&&(c[d]=e)});return c},r9c=function(a,b){return _.Oa(q9c(a,b),function(c){return c.getItem()})},s9c=function(a,b){b=dO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};p9c.prototype.query=function(a){return s9c(this,a).map(function(b){return b.getItem()})};p9c.prototype.Nd=function(){return this.O.hy().size};
var t9c=function(a){var b=new Set;a=_.m(a.O.hy().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()||_.oF(e));(d=c.ym())&&b.add(d.getId()||_.oF(d));(d=c.Vv())&&b.add(d.getId()||_.oF(d));(d=c.Rq())&&b.add(d.getId()||_.oF(d));(c=c.sD())&&b.add(c.getId()||_.oF(c))}return b.size},u9c=function(a){var b=new _.Mo;_.HM(b,"hidden",a.Cm());a=_.R(a,6);null!=a&&_.HM(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
v9c=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}},w9c=function(a){var b=_.KRc(),c={};b&&(c.numeric=b);this.H=_.LRc(a,c)};w9c.prototype.compare=function(a,b,c){b=x9c(b);c=x9c(c);a=a.Ac();var d=v9c(a);if(a&&d){d=y9c(this,a);var e=4===a.getType()?this.H:_.Fa;return z9c(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
w9c.prototype.sort=function(a,b,c){a=a.Ac();var d=v9c(a);a&&d&&(d=y9c(this,a),d=A9c(b,d),_.Ia(b,B9c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var x9c=function(a){return a instanceof _.hl?a:a.getItem()},y9c=function(a,b){b=v9c(b);return _.v(a.O,a,b,_.Fa)},A9c=function(a,b){var c={};a.forEach(function(d){d=x9c(d);var e=d.getId();c[e]=b(d)});return c},B9c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Fa;d=x9c(d);e=x9c(e);return z9c(b,function(h){return c[h.getId()]},f,d,e)}},z9c=function(a,b,c,d,e){var f=1===a.Ff()?1:-1;if(_.R(a,3)){a=nN(d,!0);var h=nN(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()))};w9c.prototype.O=function(a,b,c){for(var d=C9c(a[0],c),e=1;e<a.length;e++){var f=C9c(a[e],c);d=1===b(f,d)?f:d}return d};
var C9c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.TA()||!1;case 12:return b.hz()||0;case 11:return b.jB()||0;case 10:return b.Hq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.sy()||0;case 57:return _.D(b,62)||0;case 32:return b.Tu()||0;case 9:return b.$C()||0;case 67:return b.dK()||0;case 98:return b.Wv()||0;default:return""}},D9c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.tr=_.PK(_.QK(b));
a=_.fL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};D9c.prototype.Hu=function(a){this.rootId=a||""};
var dO=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},eO=function(a,b,c){if(b instanceof _.gf){b=dO(a,b);var d=_.cYc(b)}else if(b instanceof _.Cz)d=b.Zm().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.JK)return d=u9c(b),d+"|tdList";if(b instanceof _.gF)return d=
b.Zm().sort().join(","),b.O().length&&(d+="|"+c9c(b.O())),d+"|tdMap";throw Error("Oe");}return 3===c?d:d+"|"+E9c(a,b.O(),2===c)},E9c=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+" - "+_.rL({fields:[].concat(_.nd(f)),tr:a.tr}));e.size&&(d=d+" + "+_.rL({fields:[].concat(_.nd(e)),tr:a.tr}));
return d};D9c.prototype.equals=function(a,b,c){var d;c&&(d=3);return eO(this,a,d)===eO(this,b,d)};
var F9c=function(a){if(!a.Zm().every(function(b){return!_.de(b)}))throw new _.qc("Invalid ids for FindByIdsRequest");},H9c=function(a,b,c){if(_.PL(b))throw new _.qc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");G9c(a,b,c)},G9c=function(a,b,c){var d;a.O||(d=_.oL(3));if(b.getId())throw new _.qc("Use findByIds() for find by id queries.",d?d:_.oL(3));if(!b.Oi()||0>=b.Oi())throw new _.qc("A positive limit is required on an ItemQueryRequest.",d?d:_.oL(3));
_.Nd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),I9c(a,d,b.O()));if(c=(c=b.Ac())&&v9c(c))d=b.O().length?b.O():a.fields,I9c(a,d,c);if(_.OL(b)){if(a.tr)throw new _.qc("User must be authenticated for a Quick Access request.");if(!J9c(a)&&20<b.Oi())throw new _.qc("Limit must be in the range [1, 20].");c=2===_.uM(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(_.eH(_.fk(_.gk(_.eH(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: "+w5c(d,c));}if(_.QL(b)){if(a.tr)throw new _.qc("User must be authenticated for a DrivePriority request.");if(2===_.uM(b))throw new _.qc("Team Drive corpora is not valid for a Drive Priority request.");a=_.fk(_.fk(_.fk(_.gk(_.eH(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: "+w5c(b,a));}},K9c=function(a,b,c){if(!_.PL(b))throw new _.qc("Expected a PeoplePredict request.");G9c(a,b,c);if(a.tr)throw new _.qc("User must be authenticated for a People Predict request.");if(2===_.uM(b))throw new _.qc("Team Drive corpora is not valid for a People Predict request.");a=_.fk(_.fk(_.fk(_.gk(_.eH(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: "+w5c(b,a));},I9c=function(a,b,c){var d;a.O||(d=_.oL(3));if(!c1c(b,c,_.hVc)){var e=_.rL({fields:c,tr:a.tr}),f=_.rL({fields:b,tr:a.tr});a=_.rL({fields:d1c(c,b),tr:a.tr});throw new _.qc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.oL(3));
}},J9c=function(a){return 200<=_.wM(a.H)&&300>_.wM(a.H)},L9c=function(a){var b=new Set;_.Kl(a).forEach(function(c){switch(_.pNa(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))},M9c=function(a){switch(_.wM(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"}},N9c=function(a){_.N.call(this);this.H=a};_.Sf(N9c,_.N);_.g=N9c.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.LO=function(a){this.H.addCallback(function(b){b.LO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();N9c.ub.Ya.call(this)};var D1c=function(a){_.Ox.call(this);this.No=a;this.H=_.xe(this.No,"message",this.ppb,!1,this)};_.Sf(D1c,_.Ox);_.g=D1c.prototype;_.g.Ed=null;
_.g.send=function(a,b){var c=[];b=this.hza(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.gUc&&(a=(0,_.Pi)(a));this.No.postMessage(a,c)};_.g.ppb=function(a){a=a.Ie;var b=a.data;if(_.gUc)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.GCa(a.ports||[],b),d.sFa),null!=b&&d.callback(b))}};
_.g.hza=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.hza,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.hza(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.GCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.GCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.GCa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Ii(this.H);"[object MessagePort]"==Object.prototype.toString.call(this.No)?this.No.close():"[object Worker]"==Object.prototype.toString.call(this.No)&&this.No.terminate();delete this.No;D1c.ub.Ya.call(this)};
var F1c=function(a,b){if("*"==b)return new N9c(_.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 D1c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new N9c(e)},O9c=function(a){_.N.call(this);this.H=new _.pSc(a);this.V={};this.O=_.rSc(this.H,
"private");this.W=_.rSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Pmb,this),!0)};_.Sf(O9c,_.N);_.g=O9c.prototype;_.g.SFb=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.SFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Pmb=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.Omb,this,b),!0)};
_.g.Omb=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 pN=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.pSc(a);this.Ma(this.H);this.O=new O9c(_.rSc(this.H,"direct"));this.Ma(this.O);a=_.rSc(this.H,"passthrough");this.V=b?a:new O9c(a);this.Ma(this.V);this.XW=b};_.L(pN,_.N);pN.prototype.registerService=function(a,b){this.O.registerService(a,b)};
pN.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Nf)};var fO=function(a,b,c){if(a.XW)throw Error("Qe");a.V.registerService(b,c,!0)},gO=function(a,b,c,d){if(a.XW)throw Error("Re");a.V.send(b,c||{},d||_.Nf)};pN.prototype.start=function(){this.started||(this.started=!0);if(this.XW)throw Error("Se");};var A1c=[],P9c=function(){_.Ox.call(this);this.H=null};_.L(P9c,_.Ox);P9c.prototype.send=function(a,b){_.h6a(this.H,a,b)};
var G1c=function(){this.O=new P9c;this.H=new P9c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},Q9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.$b=null},R9c=function(a,b){b=void 0===b?!1:b;null==a.$b&&(a.$b=b)&&z1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.$b}},S9c=function(a){var b=new Q9c(a.c,a.m,a.a,a.req);b.$b=a.s;return b},T9c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.$b=null},U9c=function(a,
b){b=void 0===b?!1:b;null==a.$b&&a.data&&(a.$b=b)&&z1c(a.data);return{d:a.data,err:a.error&&b?a.error.$b():a.error,uid:a.H,s:b}},V9c=function(a){var b=a.s,c=a.err&&b?new _.pc(JSON.parse(a.err)):a.err;a=new T9c(c?void 0:a.d,c,a.uid);c||(a.$b=b);return a},y1c=function(a,b){this.H=a;this.SD=b};y1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.SD[b];return a};
y1c.prototype.$b=function(){for(var a={},b={},c=0;c<this.SD.length;c++){var d=this.SD[c],e=this.H[c];d instanceof Error?b[e]=_.cL(d).$b():a[e]=d.$b()}return JSON.stringify([a,b])};W9c=function(a){a=JSON.parse(a);var b=[],c=[];_.Ma(a[0],function(d,e){b.push(e);c.push(new _.iM(JSON.parse(d)))});_.Ma(a[1],function(d,e){b.push(e);d=new _.pc(JSON.parse(d));c.push(_.pL(d))});return new y1c(b,c)};E1c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
X9c={NTb:0,gUb:1,$Zb:3,h7b:5,sjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.AL=function(a){_.O(this,a,-1,null,null)};_.L(_.AL,_.K);_.AL.prototype.Ah=function(){return _.D(this,1)};_.AL.prototype.we=function(){return _.E(this,_.sf,3)};_.DL=function(a){_.O(this,a,-1,null,null)};_.L(_.DL,_.K);_.DL.prototype.Jc=function(){return _.D(this,1)};_.DL.prototype.we=function(){return _.E(this,_.sf,3)};_.LL=function(a){_.O(this,a,-1,null,null)};_.L(_.LL,_.K);
_.LL.prototype.Ah=function(){return _.D(this,1)};_.LL.prototype.we=function(){return _.E(this,_.sf,2)};_.ML=function(a){_.O(this,a,-1,null,null)};_.L(_.ML,_.K);_.ML.prototype.Ah=function(){return _.D(this,1)};_.ML.prototype.we=function(){return _.E(this,_.sf,2)};_.NL=function(a){_.O(this,a,-1,null,null)};_.L(_.NL,_.K);_.g=_.NL.prototype;_.g.Jc=function(){return _.D(this,1)};_.g.dg=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.Fi=function(){return _.fk(this,4)};_.g.lh=function(){return _.Q(this,4)};_.g.we=function(){return _.E(this,_.sf,7)};_.UL=function(a){_.O(this,a,-1,null,null)};_.L(_.UL,_.K);_.UL.prototype.Jc=function(){return _.D(this,1)};_.UL.prototype.we=function(){return _.E(this,_.sf,2)};_.UL.prototype.Oi=function(){return _.ak(this,3,1E3)};_.UL.prototype.Ci=function(a){return _.A(this,3,a)};_.XL=function(a){_.O(this,a,-1,null,null)};_.L(_.XL,_.K);
_.XL.prototype.we=function(){return _.E(this,_.sf,1)};var Y9c=function(){var a=new _.XL,b=_.uf(new _.sf,301);return _.x(a,1,b)};_.XL.prototype.Bc=function(){return _.D(this,3)};_.FVc=function(a){_.O(this,a,-1,null,null)};_.L(_.FVc,_.K);_.FVc.prototype.Bc=function(){return _.D(this,1)};_.aM=function(a){_.O(this,a,-1,null,null)};_.L(_.aM,_.K);_.aM.prototype.Ah=function(){return _.D(this,1)};_.aM.prototype.we=function(){return _.E(this,_.sf,4)};var Z9c=function(a){_.O(this,a,-1,null,null)};_.L(Z9c,_.K);
$9c=function(a,b){return _.A(a,1,b)};_.BL=function(a){_.O(this,a,-1,null,null)};_.L(_.BL,_.K);_.BL.prototype.getId=function(){return _.D(this,1)};_.BL.prototype.Pb=function(a){return _.A(this,1,a)};_.RL=function(a){_.O(this,a,-1,null,null)};_.L(_.RL,_.K);_.RL.prototype.getId=function(){return _.D(this,1)};_.RL.prototype.Pb=function(a){return _.A(this,1,a)};_.sVc=function(a){_.O(this,a,-1,null,null)};_.L(_.sVc,_.K);
var a$c=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(a$c,_.Ki);a$c.prototype.BB=function(){return this.O};a$c.prototype.wQ=function(){var a=this;if(this.W)return this.W;var b=_.ii();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);b$c(this,b);return b.promise};a$c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,c$c(this))};
a$c.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 D5c("ib")))};
var d$c=function(a,b){a.ha=b},c$c=function(a){a.H||(a.H=new _.XYc(5E3),a.timeout=_.n.setTimeout(function(){return e$c(a)},a.H.Xa()))},e$c=function(a){b$c(a);a.H&&(_.KG(a.H),a.timeout=_.n.setTimeout(function(){return e$c(a)},a.H.Xa()))},b$c=function(a,b){var c=_.fi();a.ha&&(c=a.ha());c.then(function(){return f$c(a,b)})},f$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.We(new _.GVc)});b?c.then(function(){b.resolve($9c(new Z9c,1))},function(d){var e=_.zA(d).Tg;
d=0;_.tUc(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 Z9c;$9c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.zA(d);_.tUc(d.Tg)&&a.V&&(a.dispatchEvent(new D5c("jb")),a.V=!1)})};a$c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var g$c=function(a){return _.E(a,_.WK,3)||_.E(a,_.gM,4)||_.E(a,_.VM,5)||_.E(a,_.dM,6)||_.E(a,_.FL,7)||_.E(a,_.xL,8)||_.E(a,_.CL,9)||_.E(a,_.gL,10)},h$c=function(a){_.O(this,a,-1,null,null)};_.L(h$c,_.K);_.g=h$c.prototype;_.g.getId=function(){return _.D(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Oz=function(){return _.D(this,3)};_.g.Pe=function(){return _.D(this,4)};_.g.Di=function(a){return _.A(this,4,a)};_.g.cma=function(){return _.Q(this,4)};
var i$c=function(a){this.Ed=a;this.H=new Map;this.O=this.Ed.W};
i$c.prototype.create=function(a,b){if(0!=i5c(b)){var c=this.Ed.H(106001);if(c){var d=i5c(b),e=BN(c);_.A(e,2,d);d=BN(c);e=null;if(b instanceof _.pF||b instanceof _.Cz||b instanceof _.gf||b instanceof _.SL||b instanceof _.FC||b instanceof _.gF||b instanceof _.JK||b instanceof _.RK||b instanceof _.iF||b instanceof _.mz)e=b.we();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=BN(c);b=b instanceof _.gf?0<_.Ll(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var j$c=function(a,b,c){if(a=a.H.get(b))a=BN(a),_.A(a,5,c)},k$c=function(a,b,c){(a=a.H.get(b))&&_.R(BN(a),8)&&(a=BN(a),_.A(a,9,c))},l$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(BN(f).Dc(c),BN(f).mj(d),null!=e&&(c=BN(f),_.A(c,6,e)),f.Yj(),a.H.delete(b))},m$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=j5c(c);if(1==e||2==c)e=_.KM(_.jUc,c),d=BN(d),d=3==e||8==e?!_.R(d,5):0!=e?_.FUc.has(e):null,l$c(a,b,1,e,d)}},n$c=function(a,b,c){var d=a.O.Cb(c);d=_.KM(_.iUc,d||22);var e=j5c(c);e=_.KM(_.jUc,
e);l$c(a,b,d,e,"undefined"!=typeof _.OM&&c instanceof _.OM||"undefined"!=typeof _.QM&&c instanceof _.QM||"undefined"!=typeof _.RM&&c instanceof _.RM?c.r0:null)},hO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(BN(d).Dc(c),d.Yj(),a.H.delete(b))},iO=function(a,b){_.xi.call(this,"Gb");this.error=a;this.H=b};_.L(iO,_.xi);var o$c=[2,4],jO=function(a){_.O(this,a,-1,o$c,null)};_.L(jO,_.K);jO.prototype.Cb=function(){return _.D(this,1)};jO.prototype.Dc=function(a){return _.A(this,1,a)};
jO.prototype.Zj=function(){return _.D(this,3)};var p$c=[4,9],q$c=function(a){_.O(this,a,-1,p$c,null)};_.L(q$c,_.K);_.g=q$c.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.jWa=function(){return _.D(this,2)};_.g.RMa=function(){return _.D(this,3)};_.g.dtb=function(){return _.pk(this,_.ZK,4)};var r$c={P6b:0,s1b:1,v1b:2,OTHER:3,t1b:4},s$c=function(a){_.O(this,a,-1,null,null)};_.L(s$c,_.K);s$c.prototype.getUrl=function(){return _.D(this,1)};
var kO=function(a){_.O(this,a,-1,null,null)};_.L(kO,_.K);var t$c=function(a,b){return _.A(a,1,b)};kO.prototype.getName=function(){return _.D(this,2)};kO.prototype.jd=function(a){return _.A(this,2,a)};kO.prototype.getEmail=function(){return _.D(this,3)};var u$c=function(a,b){return _.A(a,3,b)};kO.prototype.Vp=function(){return _.Q(this,3)};var v$c=[1],w$c=function(a){_.O(this,a,-1,v$c,null)};_.L(w$c,_.K);var x$c=function(a,b){return _.Cb(a,1,b)},y$c=function(a){_.O(this,a,-1,null,null)};_.L(y$c,_.K);
_.g=y$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.Ve=function(a){return _.x(this,3,a)};_.g.In=function(){return _.Q(this,3)};var z$c=[2],lO=function(a){_.O(this,a,-1,z$c,null)};_.L(lO,_.K);lO.prototype.Cb=function(){return _.D(this,1)};lO.prototype.Dc=function(a){return _.A(this,1,a)};lO.prototype.ql=function(){return _.pk(this,_.hF,2)};
var A$c=function(a,b){return _.Cb(a,2,b)};lO.prototype.Zj=function(){return _.D(this,3)};var B$c=[1],C$c=function(a){_.O(this,a,-1,B$c,null)};_.L(C$c,_.K);var D$c=function(a,b){return _.ek(a,1,b)},E$c=function(a,b){this.O=a|0;this.H=b|0};E$c.prototype.equals=function(a){return this===a?!0:a instanceof E$c?this.O===a.O&&this.H===a.H:!1};E$c.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var F$c=function(a,b){return new E$c(a,b)},G$c=function(a,b){b=~b;a?a=~a+1:b+=1;return F$c(a,b)},H$c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?G$c:F$c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},I$c=function(){this.H=this.W=this.O=this.V=null},J$c=function(a,b,c){this.id=a;this.O=b;this.H=c},K$c=function(a,b){return new J$c((a?a:b).getId(),a,b)},mO=function(a){return new J$c(a.getId(),null,a)},L$c=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},nO=function(a,b,c){if(a.started)throw Error("af");c={Jo: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)}},oO=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.Jo.delete(b);if(0===e.Jo.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.pL(f):null,f;}}}};L$c.prototype.H=function(a){return this.V.has(a)};L$c.prototype.start=function(){this.started=!0};L$c.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var M$c=function(){_.Ki.call(this);this.H=Date.now()};_.L(M$c,_.Ki);M$c.prototype.tF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var N$c=function(a,b){this.xu=a;this.Ew=b;this.UN=!0;this.y8=!1;this.Se=0},pO=function(a){a.UN=!1;a.IJ()};_.g=N$c.prototype;
_.g.Fla=function(a,b){if(5===this.JE(a))throw Error("df");for(var c=[],d=_.m(this.hy()),e=d.next();!e.done;e=d.next())e=e.value,cO(this.xu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.Nd=function(){return this.hy().length};_.g.yk=function(a){var b=this.Fla(a,void 0);b=X1c(b);var c=new _.pA;c.Tw(b);c.Dc(this.YN(a)?6:1);return c};_.g.update=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(!b&&!c)return!1;b&&this.zJ(a.O);c&&this.JR(a.H);return!0};
_.g.JE=function(a){return this.UN&&this.y8?n9c(a)?1:5:5};_.g.uX=function(){this.y8=!0};_.g.Gs=function(a){return!!a&&this.UN};_.g.mj=function(a){this.Se=a};_.g.Ze=function(){return this.Se};var qO=function(a,b,c,d,e,f){f=void 0===f?"":f;N$c.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Pd=[];this.O={};this.request=dO(c,d,!0);this.H=!e;O$c(this,e);this.V=function(k,l){return h.Ew.compare(h.request,k,l)}};_.L(qO,N$c);_.g=qO.prototype;_.g.zd=function(){return this.request};
_.g.JR=function(a){var b=this.O[a.getId()];b&&this.zJ(b);T0c(this.Pd,a,this.V);this.O[a.getId()]=a;a.count++;this.Pd.length>this.request.Oi()&&(this.zJ(_.fa(this.Pd)),this.H=!1)};_.g.zJ=function(a){var b=this.Pd,c=_.Ha(b,a,this.V);0<=c&&_.sa(b,c);_.Wa(this.O,a.getId());a.count--};_.g.IJ=function(){this.Pd.forEach(function(a){a.count--});this.Pd=[];this.O={}};_.g.hy=function(){return this.Pd};
_.g.JE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=c1c(b,a,_.hVc);return b?this.H?1:6:5};_.g.Fla=function(a,b){if(5===this.JE(a))throw Error("df");b=b?Math.min(b,this.Pd.length):this.Pd.length;return _.Aa(this.Pd,0,b)};_.g.Gs=function(a){if(!N$c.prototype.Gs.call(this,a)||!cO(this.xu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.fa(this.Pd);return!!b&&0>=this.V(a,b)};_.g.YN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.rl=function(a,b){var c=this,d=_.fa(this.Pd);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.zJ(d),O$c(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(mO(e))})};var O$c=function(a,b){b&&cO(a.xu,a.request,b.getItem())&&a.JR(b)};qO.prototype.ny=function(){return this.nextPageToken};var rO=function(a,b){N$c.call(this,a,b);this.Pd=new Map};_.L(rO,N$c);rO.prototype.JR=function(a){this.Pd.set(a.getId(),a);a.count++};
rO.prototype.zJ=function(a){this.Pd.delete(a.getId());a.count--};rO.prototype.IJ=function(){for(var a=_.m(this.Pd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Pd=new Map};rO.prototype.hy=function(){return Array.from(this.Pd.values())};var P$c=function(a,b){rO.call(this,a,b);this.uX()};_.L(P$c,rO);_.g=P$c.prototype;
_.g.JE=function(a){var b=this,c=rO.prototype.JE.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.Pd.get(d.Xa()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Gs=function(a){return rO.prototype.Gs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.Fla=function(a,b){for(var c=[],d=_.m(this.hy()),e=d.next();!e.done;e=d.next())e=e.value,cO(this.xu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.zd=function(){return new _.gf};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.YN=function(){return!1};var sO=function(a,b,c,d){rO.call(this,a,b);var e=this;this.H=d;nO(c,["aU7Ts","BNEDtc"],function(){return e.uX()})};_.L(sO,rO);sO.prototype.JE=function(a){var b=this,c=rO.prototype.JE.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.Pd.get(d.Xa());return null!=d&&!d.getItem().Bc()&&l1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
sO.prototype.Gs=function(a){return rO.prototype.Gs.call(this,a)&&Q$c(this,a.getItem())};var Q$c=function(a,b){if(_.R(b,31)||!a.y8)return!0;var c=a.H();return b.tk().some(function(d){var e=a.Pd.get(d);return d==c||null!=e&&l1c(e.getItem())})};sO.prototype.uX=function(){rO.prototype.uX.call(this);for(var a=_.m(this.Pd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;Q$c(this,c.getItem())||(c.count--,this.Pd.delete(b))}};sO.prototype.zd=function(){return new _.gf};
sO.prototype.getType=function(){return"SubscribedCorpusCache"};sO.prototype.YN=function(){return!1};var R$c=/^[\x00-\x7F]*$/,S$c=function(){this.rootId=""};S$c.prototype.Hu=function(a){this.rootId=a||""};
var n9c=function(a){return T$c(a)&&0==_.Nd(a,40).length&&void 0==_.D(a,41)},T$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&&!_.OL(a)&&!_.PL(a)&&!_.QL(a)&&0==_.pk(a,_.Bl,57).length&&U$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)},U$c=function(a){return _.pk(a,_.Gl,4).every(function(b){b=b.Xa();return!b||!b.includes("*")&&R$c.test(b)})};S$c.prototype.u9=function(a,b){var c=this;return b.filter(function(d){return cO(c,a,d)})};
var cO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!bO(c);if(d){d=!0;var e=_.pk(b,_.Gl,4);if(U$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.Af())&&_.D(p,3)||""),p=_.S(h,2,!1),r=h.Xa(),_.kM(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.Hq(),d=d&&V$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.hz(),d=d&&V$c(k,f);d&&(d=b.Th(),e=(e=_.uM(b))&&(2==e||3==e),d=null==d||d==!!c.Th()&&(!d||1==c.np()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.TA());d&&(d=null==b.Cm()||b.Cm()==!!c.Cm());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.tk().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.np(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.sy():!0));a&&(a=_.R(b,17),d=(d=_.uM(b))&&(2==d||3==d),a=null==a||a==!!c.XI()&&(!a||1==c.np()||!!d));a&&(a=u1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.fl(a));a&&(a=!0);if(a=a&&W$c(b,c)&&X$c(b,c))a=_.Nd(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&Y$c(b,c))_.D(b,41)?(a=_.E(c,_.oM,86),a=null!=a&&
_.D(b,41)==_.D(a,3)):a=!0;if(a=a&&Z$c(b,c))a=_.uM(b),1==a?(a=_.R(c,31),a=!!_.Ll(b).length||!!_.pk(b,_.Al,35).length||1==_.R(b,18)||_.OL(b)||_.PL(b)||_.QL(b)||!!b.Sp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.OL(b)?!!_.kl(c)&&!c.Th():!0);a&&(a=_.PL(b)?!!_.ll(c).length&&!c.Th():!0);a&&(a=_.QL(b)?!!_.ml(c).length&&!c.Th():!0);a&&(a=_.Q(b,50)?_.S(b,50,!1)?_.Q(c,101)&&0!==_.D(c,101):!_.Q(c,101):!0);a&&(a=b.Sp(),a=!a||_.Nd(c,120).includes(a));a&&(c=_.E(c,_.mM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.D(c,
1),a=_.R(b,65)==c));return a},V$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},W$c=function(a,b){var c=_.cb(_.Nd(b,56));a=_.pk(a,_.tM,25);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},X$c=function(a,b){if(0==a.sB().length)return!0;var c=_.cb(b.sB().map(function(d){return _.D(d,1)}));a=_.cb(a.sB().map(function(d){return _.D(d,
1)}));return _.Qa(a,function(d,e){return c[e]})},Y$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()]})},Z$c=function(a,b){if(_.Nd(a,40).length){if(b=_.E(b,_.oM,86)){var c=_.cb(_.Nd(b,2));return _.Nd(a,40).some(function(d){return c[d]})}return!1}return!0},tO=function(a,b,c,d){d=void 0===d?5E3:d;rO.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(tO,rO);_.g=tO.prototype;
_.g.JE=function(a){var b=this,c=rO.prototype.JE.call(this,a);if(5==c)return c;c=_.Ll(a);var d=c.every(function(e){var f=e.Xa();return(null!=b.Pd.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.Gs=function(a){return rO.prototype.Gs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!bO(a.getItem())};_.g.YN=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 $$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=dO(this.ha,a,!0)};$$c.prototype.add=function(a){a instanceof sO?this.H=a:a instanceof P$c?this.W=a:a instanceof qO?this.V.push(a):a instanceof tO&&this.O.push(a)};
$$c.prototype.remove=function(a){var b=this;if(a instanceof sO)this.H&&(pO(this.H),this.H=null);else if(a instanceof P$c)this.W&&(pO(this.W),this.W=null);else if(a instanceof qO){var c=_.ja(this.V,function(d){return b.ha.equals(d.zd(),a.zd())});0<=c&&(pO(this.V[c]),_.sa(this.V,c))}else a instanceof tO&&(c=_.ja(this.O,function(d){return b.ha.equals(d.zd(),a.zd())}),0<=c&&(pO(this.O[c]),_.sa(this.O,c)))};
var aad=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},bad=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})};$$c.prototype.pW=function(){return _.ya(this.O)};
var cad=function(a,b){return _.mg(a.O,function(c){return c.Bc()===b})},dad=function(a,b){return bad(a).find(function(c){return a.ha.equals(c.zd(),dO(a.ha,b,!0))})},ead=function(a,b){_.xi.call(this,"Ib");this.ids=a;this.error=b};_.L(ead,_.xi);ead.prototype.getError=function(){return this.error};ead.prototype.H=function(){return this.ids};var fad=function(a){_.xi.call(this,"Jb");this.people=a};_.L(fad,_.xi);fad.prototype.getPeople=function(){return this.people};
var gad=function(a){_.xi.call(this,"Kb");this.people=a};_.L(gad,_.xi);gad.prototype.getPeople=function(){return this.people};var iad=function(a,b,c){this.person=a;this.Se=void 0===c?0:c;this.O=this.V=null;this.H=new Set(b?[b]:[]);had(this)};iad.prototype.Ze=function(){return this.Se};
var jad=function(a,b,c){if(_.D(b,1)!==_.D(a.person.clone(),1))return!1;var d=_.OUc.get(a.Se)||1,e=a.Ze();if(4===c?0:1===e?1===c:3===e||2===e||4===e?0!==c&&e!==c:1)return b=u$c(b.clone(),a.getEmail(b)),e=!_.xk(a.person,b),a.person=b,a.Se=c,had(a),e||d!==(_.OUc.get(a.Se)||1);if(4===c)return a.Se=c,had(a),d!==(_.OUc.get(a.Se)||1);c=b;return!a.person.getEmail()&&c.getEmail()?(u$c(a.person,a.getEmail(b)),!0):!1};
iad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var had=function(a){1===a.Se?(a.V=Date.now(),a.O=null):4===a.Se&&(a.O=Date.now())},lad=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 _.HK(function(){return kad(e)},100,this)};_.L(lad,_.Ki);lad.prototype.ah=function(a){a&&_.VK(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ye())};
var kad=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)}})};lad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){return c.We($4c(new _.WL,a))}).then(function(c){c=_.pk(c,kO,1);b.dispatchEvent(new fad(c))},function(c){c=_.zA(c);b.dispatchEvent(new ead(a,c))})};lad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var uO=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,c4c,85)||new c4c,1,864E5);this.ka=new lad(a,b,c,f);this.Ba=new _.XC(function(){var k,l=null===(k=h.oa)||void 0===k?void 0:k5c(k,106015);if(l){k=_.E(_.JM(l),J4c,11);if(!k){k=new J4c;var p=_.JM(l);_.x(p,11,k)}k=_.A(k,1,h.H.size);_.A(k,2,h.W.size);l.Yj()}},500,this);this.Oc.listen(this.ka,"Jb",
function(k){k=k.getPeople();mad(h,k,1);h.Ba.ye()});this.Oc.listen(this.ka,"Ib",function(k){nad(h,k)})};_.L(uO,_.Ki);uO.prototype.get=function(a){var b=this.O?_.ah():"";this.O&&this.V.create(b,$4c(new _.WL,[a]));var c=this.H.get(a);if(c)return oad(this,c)?(this.O&&hO(this.V,b,this.mH(c)?6:5),pad(this,a)):this.O&&l$c(this.V,b,1,_.KM(_.jUc,10),null),c;this.O&&hO(this.V,b,5);return null};
var pad=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ka.ah(b);var c=new _.zn;a.ha.set(b,c);return c.promise};uO.prototype.Tb=function(a){var b=this,c=this.O?_.ah():"";this.O&&this.V.create(c,$4c(new _.WL,[a]));return qad(this,a)?(this.O&&l$c(this.V,c,1,_.KM(_.jUc,10),null),Promise.resolve(this.H.get(a))):pad(this,a).then(function(){b.O&&(qad(b,a)?l$c(b.V,c,1,_.KM(_.jUc,1),null):hO(b.V,c,3));return b.H.get(a)})};uO.prototype.vc=function(){return 0===this.H.size};
uO.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.W.clear()};
var rad=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return[1,4,2].includes(b.Ze())&&4!==b.Ze()}).map(function(b){return b.person.clone()})},sad=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},tad=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)))}},mad=function(a,b,c){if(![1,2].includes(c))throw Error("ef");0!==b.length&&(a.log("Importing "+b.length+
" from "+(Object.keys(r$c)[c]+".")),uad(a,b,c))},wad=function(a,b,c,d){0!==b.length&&vad(a,b,c,void 0===d?0:d)},qad=function(a,b){b=a.H.get(b);return!(!b||![1,4,2].includes(b.Ze())||oad(a,b))},vad=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)jad(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&&pad(k,_.D(f,1));l=new iad(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};
uO.prototype.mH=function(a){return 1===a.Ze()&&Date.now()-Number(a.V)>this.ma};var oad=function(a,b){switch(b.Ze()){case 1:return Date.now()-Number(b.V)>a.ma;case 4:return 1E3<Date.now()-Number(b.O);default:return!0}};uO.prototype.log=function(a,b){this.va.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var nad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():t$c(new kO,c)});uad(a,b,4)},uad=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))}vad(a,b,void 0,c)&&a.dispatchEvent(new gad(b))},xad=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 uO(a,b,c,d,e,f);this.O=_.fL(a)||new _.dL;this.Oc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(xad,_.Ki);xad.prototype.xP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=vO(this,[c]).map(function(e){return yad(b,e)});wad(this.H,d,a.H.getId(),this.Ze(_.D(c,82)))}a.O&&tad(this.H,a.id,zad(this,a))};xad.prototype.Ze=function(a){return _.PUc.get(a)||0};
var zad=function(a,b){var c=Aad(a,b.O),d=Aad(a,b.H);return c.filter(function(e){return!d.includes(e)})},Aad=function(a,b){return b?vO(a,[b.getItem()]).map(function(c){return _.oF(c)}):[]},Cad=function(a,b){b=b.getUser();wad(a.H,[yad(a,b)],"ACCOUNT");Bad(a,b)},Ead=function(a,b){var c=_.pk(b,_.AM,2).map(function(d){var e=_.E(d,_.Sk,9,1);return a.H.Tb(_.oF(e)).then(function(){return void Dad(a,[e])})});return Promise.all(c).then(function(){return b})},Dad=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,_.oF(c)&&Bad(a,c)},Fad=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.oF(f)&&(d.add(_.oF(f)),wad(a.H,[yad(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return Dad(a,b)})},Had=function(a,b){return vO(a,[b]).some(function(c){return!Gad(a,_.oF(c))})},Gad=function(a,b){return qad(a.H,b)},vO=function(a,b){return b.map(function(c){var d=c.Ww();d=d?[].concat(_.nd(d.uR()),_.nd(_.pk(d,_.Sk,3))):[];
var e=c.Af();e=(e=e&&_.Rd(e))?vO(a,[e]):[];return[].concat(_.nd(_.il(c)),[c.ym(),c.Vv(),c.Rq(),c.sD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!_.oF(c)})};xad.prototype.getItems=function(a){return sad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Iad=function(a,b){return b.map(function(c){c=c.clone();var d=vO(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})},Kad=function(a,b){return b.some(function(c){return Jad(a,c)})},Jad=function(a,b){return vO(a,[b]).some(function(c){return _.Q(c,3)||c.Vp()||_.Q(c,5)})},Bad=function(a,b){var c=a.H.get(_.oF(b));if(c){a=c.person.clone();var d=_.VVc(b.jd(a.getName()),a.getEmail());c=_.OUc.get(c.Se)||1;_.A(d,16,c);(a=_.E(a,s$c,4))&&b.to(a.getUrl())}},
yad=function(a,b){var c=_.oF(b);c=u$c(t$c(new kO,c).jd(b.getName()),b.getEmail());var d=new s$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},Lad=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Lad.prototype.Wf=function(){return this.suggestionSessionId};Lad.prototype.RAa=function(){return this.O};Lad.prototype.vc=function(){return this.H};
var Mad=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Nad=function(a,b){a=Mad(a);b=Mad(b);return!(!a||!b||a!==b)},Oad=function(a){return a.Jc()+"_"+Mad(a.getName())},Pad=function(a,b){var c=_.Nd(a,1).map(function(d,e){return b[Number(e)].value.f4a.promise});return Promise.allSettled(c).then(function(d){return _.Nd(a,1).map(function(e,f){e=e.toString();var h=new y$c;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Ve(f.reason.Tg));return e})})},wO=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.By=new Set;this.status=6;this.V=new Map;this.Se=0};_.L(wO,_.N);_.g=wO.prototype;_.g.ai=function(a){var b=this;this.By.add(a);return this.resize().then(function(){return b.JO(a)})};_.g.fk=function(a){this.By.delete(a);0===this.By.size&&this.dispose()};_.g.Ze=function(){return this.Se};_.g.mj=function(a){this.Se=a};
_.g.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Mu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.ZX():_.fi([])};_.g.ZX=function(){for(var a=[],b=_.m(this.By.values()),c=b.next();!c.done;c=b.next())a.push(this.JO(c.value));return _.hi(a)};
_.g.YX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.By.values()),e=d.next();!e.done;c={Rra:c.Rra},e=d.next())c.Rra=e.value,b.push(this.O.then(function(f){return function(h){return void h.YX(f.Rra,a)}}(c)));return _.hi(b)};_.g.kA=function(){for(var a=this,b=[],c={},d=_.m(this.By.values()),e=d.next();!e.done;c={Sra:c.Sra},e=d.next())c.Sra=e.value,b.push(this.O.then(function(f){return function(h){return void h.kA(f.Sra)}}(c)));return _.hi(b).then(function(){a.mj(0===a.Ze()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.By.forEach(function(d){d=b.sla(d);c=Math.max(c,d.Oi?d.Oi()||0:0)});a.hga(c)})};var Qad=function(a,b){return b?a.V.get(a.Xka(b))||null:null};_.g=wO.prototype;_.g.mI=function(a,b){var c=Qad(this,a);b=Y8c(c,b);this.V.set(this.Xka(a),b)};_.g.Xka=function(a){return a};_.g.SMa=function(){return[]};_.g.JO=function(a){var b=this;return this.O.then(function(c){return void c.JO(a,b.yk())})};_.g.removeItem=function(){};
var xO=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(xO,_.Ki);var Rad=function(a){return!a.O||""!==a.pageToken};xO.prototype.ah=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Rad(this)?Sad(this):_.fi()};
var Sad=function(a){a.O=!0;a.H=!0;var b=a.Via(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Tad(a,c)},function(c){return a.handleError(c)})},Tad=function(a,b){a.H=!1;a.pageToken=a.mla(b);b=a.yka(b);b.forEach(function(c){return a.data.push(c)});a.z6(b);return a.data.length<a.limit&&Rad(a)?_.hi([_.fi(b),Sad(a)]).then(function(c){return c[0].concat(c[1])}):_.fi(b)};
xO.prototype.handleError=function(a){this.H=!1;a=_.cL(a);var b=new iO(a);this.TMa(b);this.dispatchEvent(b);return _.gi(a)};xO.prototype.z6=function(){};xO.prototype.TMa=function(){};var Uad=function(a,b,c){xO.call(this,c,function(d){return a.then(function(e){return e.We(d)}).Sg(function(e){return void _.qL(e)})});this.V=b};_.L(Uad,xO);_.g=Uad.prototype;_.g.Via=function(a,b,c){a=a.clone();a.Ci(b);return new _.uVc(a,c)};_.g.mla=function(a){return a.pageToken||""};_.g.yka=function(a){return a.response.O()};
_.g.z6=function(a){this.V.zD(a,!1,1)};_.g.TMa=function(a){this.V.uB(this.request,a)};var Vad=function(a,b,c,d){wO.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Vad,wO);_.g=Vad.prototype;_.g.refresh=function(){this.kA();this.H=new Uad(this.ha,this.W,this.request);return this.H.ah(this.request.Oi()||100)};_.g.Oq=function(a){return this.data.find(function(b){return Nad(b.getName(),a)})};
_.g.hga=function(a){this.H&&a===this.request.Oi()||(this.request.Ci(a),this.H?this.H.ah(a):this.refresh())};_.g.yk=function(){var a=this,b=K6c((new LN).Dc(this.status),this.data.filter(function(c){return a.W.JDa(c)}).map(function(c){return c.clone()}));return new _.PM(b,void 0,void 0,this.Ze())};_.g.zD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Jc()===d.request.Jc()});return wO.prototype.zD.call(this,a,b,c)};
_.g.Mu=function(a,b){b=void 0===b?1:b;if(!s1c(Qad(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Nad(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.mI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return Nad(b.getName(),a)})&&(this.V.delete(this.Xka(a)),this.ZX())};_.g.Xka=function(a){return Mad(a)};_.g.mI=function(a,b){this.Oq(a)&&wO.prototype.mI.call(this,a,b)};
_.g.SMa=function(a){var b=this;return a instanceof _.bM&&a.Jc()===this.request.Jc()?a.WV().map(function(c){return b.Oq(c.Xm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var yO=function(){this.H=new Map};yO.prototype.ai=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Xia(b),this.H.set(c,d));d.ai(a);return e};var Wad=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Hxa(c),a.H.set(d,e));e.ai(b);return f};
yO.prototype.fk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.fk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Xad=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.fk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Yad=function(a,b){return a.H.get(b)};yO.prototype.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.JDa(f)});this.H.forEach(function(f){f.zD(e,b,c)})};yO.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Zad=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.SMa(b)});return[].concat.apply([],_.nd(a))};yO.prototype.mI=function(a,b){this.H.forEach(function(c){c.mI(a,b)})};yO.prototype.JDa=function(){return!0};yO.prototype.uB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.YX(b)};yO.prototype.d3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Xia(b),f.mj(c),this.H.set(e,f),this.zD(a,d))};var $ad=function(){this.V=new Set;this.O=0;this.H=[]},abd=function(a,b){a.V.add(b)};
$ad.prototype.W=function(a){this.V.delete(a)};var bbd=function(a,b){var c;if(c=b instanceof _.hl)c=b.Wv(),c=!!(b.Th()&&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)},cbd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};$ad.prototype.u9=function(a){var b=this;return a.filter(function(c){return!bbd(b,c)})};var dbd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new $ad};_.L(dbd,yO);
var ebd=function(a,b){abd(a.O,Oad(b));(a=Yad(a,b.Jc()))&&a.ZX()};_.g=dbd.prototype;_.g.getKey=function(a){return a.Jc()};_.g.Xia=function(a){return new Vad(this.V,this.W,this,a)};_.g.Hxa=function(a){return new Vad(this.V,this.W,this,a)};_.g.Xo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Yad(this,b.getId()))&&b.refresh()};_.g.JDa=function(a){return!bbd(this.O,Oad(a))};
var fbd=function(a,b){this.O=a;this.H=b},gbd=function(a,b){b=_.gUb(b);var c=new Uad(a.O,a.H,b);new Promise(function(d,e){return c.ah(100).then(d,e)})},hbd=function(){this.Pd={}},zO=function(a,b){ibd(a,"subscribed");b&&ibd(a,b);return a.Pd[b||"subscribed"].oe.promise},ibd=function(a,b){a.Pd[b]||(a.Pd[b]={count:0,QR:[],i2a:[],oe:_.ii()});a.Pd[b].count++},kbd=function(a,b){b&&!jbd(a,b)||jbd(a,"subscribed")},jbd=function(a,b){if(!a.Pd[b])return!1;a.Pd[b].count--;0===a.Pd[b].count&&(a.Pd[b].oe.resolve({items:a.Pd[b].QR,
nLb:a.Pd[b].i2a}),_.Wa(a.Pd,b));return!0};hbd.prototype.Xo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Jc()&&c.Pd[f]&&c.Pd[f].i2a.push(e);c.Pd[d]&&c.Pd[d].QR.push(e)})};var lbd=function(a,b,c){xO.call(this,a,c);this.V=b};_.L(lbd,xO);lbd.prototype.Via=function(a,b){return a.clone().Ci(b)};lbd.prototype.mla=function(){return""};lbd.prototype.yka=function(a){return[a]};lbd.prototype.z6=function(a){this.V(a)};
var mbd=function(a,b,c,d){wO.call(this,a,d.clone());this.ha=b;this.H=this.iT=null;this.W=c};_.L(mbd,wO);mbd.prototype.refresh=function(){var a=this;this.kA();this.H=new lbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.We(b)})});return this.H.ah(this.request.Oi()||0)};mbd.prototype.hga=function(a){1===this.status||this.H&&a===this.request.Oi()||(this.request.Ci(a),this.H?this.H.ah(a):this.refresh())};
mbd.prototype.yk=function(){if(this.iT)return this.iT;var a=new ON;a.Dc(this.status);return a};mbd.prototype.Mu=function(a){this.iT=a;return!0};var nbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(nbd,yO);_.g=nbd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Xia=function(a){var b=this;return new mbd(this.O,this.W,function(c){b.zD(c,!1)},a)};_.g.Hxa=function(){throw Error("ff");};
_.g.d3=function(a,b,c,d){var e=a[0].ql();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.oq()}).join(", "));yO.prototype.d3.call(this,a,b,c,d)};var AO=function(a,b,c,d){_.Ki.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.oe=null;this.O=new Set};_.L(AO,_.Ki);
AO.prototype.ah=function(){var a=this;if(this.oe)return this.oe.promise;this.oe=_.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.oe.promise};AO.prototype.va=function(a,b){this.V(b);obd(this,a)};var obd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.oe.resolve()):a.dispatchEvent("Cb")};
AO.prototype.handleError=function(a,b){b=_.zA(b);var c=b.Tg;5===c.lt()||4===c.ik()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),obd(this,a)):(a=new iO(c,_.ak(this.oa.$f(),1,1)),this.dispatchEvent(a),this.oe.reject(b))};var pbd=function(a){var b=new _.hF;b.Pb(a);return b},qbd=function(a,b,c,d,e){AO.call(this,a.clone(),c,d,e);this.H=b};_.L(qbd,AO);
qbd.prototype.W=function(a){var b=new Map;a.Zm().forEach(function(c){var d=_.pTb(a.clone(),[c]);b.set(c,d)});return b};qbd.prototype.V=function(a){var b=[];a.gU().forEach(function(c){b.push(c)});this.H(b,!0)};qbd.prototype.ha=function(){this.H([],!1)};qbd.prototype.ka=function(a){this.H([pbd(a)],!0)};var rbd=function(a,b,c,d,e,f){wO.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.fl={};this.H=null};_.L(rbd,wO);
rbd.prototype.refresh=function(){this.H=new qbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.ah()};rbd.prototype.hga=function(){this.H||this.refresh()};rbd.prototype.yk=function(){var a=new _.NM;a.Dc(this.status);_.Ma(this.fl,function(b,c){a.gU().set(c,b||new _.hF)});a.mj(this.Ze());return a};rbd.prototype.Mu=function(a){var b=a.getId();if(_.xk(a,pbd(a.getId()))){if(this.fl[b])return delete this.fl[b],!0}else if(0<=this.request.Zm().indexOf(b))return this.fl[b]=a,!0;return!1};
var sbd=function(a,b){a=a.getState();return null==a||b.getState()==a},tbd=function(a,b,c){xO.call(this,a,c);this.V=b};_.L(tbd,xO);tbd.prototype.Via=function(a,b,c){a=a.clone();a.Ci(b);return new _.HVc(a,c)};tbd.prototype.mla=function(a){return a.pageToken||""};tbd.prototype.yka=function(a){return a.response.ql()};tbd.prototype.z6=function(a){this.V(a)};var ubd=function(a){this.H=_.LRc(a,{numeric:!0})};
ubd.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};ubd.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 vbd=function(a,b,c,d,e){wO.call(this,a,e.clone());this.ha=b;this.fl=[];this.H=null;this.W=d;a=new ubd(c);b=(c=this.request.yw())?c.getType():0;c=c?c.Ff():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(vbd,wO);vbd.prototype.refresh=function(){var a=this;this.kA();this.H=new tbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.We(b)})});return this.H.ah(this.request.Oi()||0)};vbd.prototype.hga=function(a){1===this.status||this.H&&a===this.request.Oi()||(this.request.Ci(a),this.H?this.H.ah(a):this.refresh())};vbd.prototype.yk=function(){var a=new lO;a.Dc(this.status);A$c(a,this.fl.map(function(b){return b.clone()}));return new _.SM(a,void 0,1!==this.status&&Rad(this.H),this.Ze())};
vbd.prototype.Mu=function(a){var b=_.wa(this.fl,function(c){return c.getId()===a.getId()});return a&&sbd(this.request,a)&&!_.xk(a,pbd(a.getId()))?T0c(this.fl,a,this.ka):b};var wbd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(wbd,yO);_.g=wbd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.Xia=function(a){var b=this;return new vbd(this.V,this.ha,yN(_.QK(this.O)),function(c){return void b.zD(c,!1)},a)};_.g.Hxa=function(a){var b=this;return new rbd(this.V,this.ha,this.O,this.W,function(c,d){return b.zD(c,d)},a)};_.g.d3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));yO.prototype.d3.call(this,a,b,c,d)};
var xbd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();mN(a)&&(c=(c=a.Af())?_.D(c,3):"");nN(a)&&(a.Wi()&&(c+="+"+String(a.Wi())),a.Kj()&&(c+="+shared"));return _.$Sa(c,b?"32":"16")},ybd=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("&")},zbd=function(a,b){var c=_.R(a,44),d=a.Af();if(d){if(1!==_.Td(d))return null;c=(c=_.Rd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();mN(a)&&(d=k1c(a));
d=[_.F(b,65,"https://lh3.google.com"),"u",_.eL(_.QK(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.Q(a,140)&&(c.resourcekey=_.ol(a));return d=ybd(d,c)},Abd=function(a){this.H=a},Cbd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=xbd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.BWc(b,Z1c(b,a.H));c.includes(19)&&(d=zbd(b,a.H),_.A(b,20,d));Bbd(a,b,c);if(mN(b)){if(d=(d=b.Af())&&_.Rd(d)){if(c.includes(20)&&c.includes(3)){var e=xbd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.BWc(d,Z1c(d,
a.H));c.includes(19)&&(e=zbd(d,a.H),_.A(d,20,e));Bbd(a,d,c)}_.FWc(b,!!b.Rx())}},Bbd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!nN(b)&&!mN(b)&&!_.Ad(e)&&(!b.s7()||2!==b.np()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),mN(b)&&(d=k1c(b)),c=new _.uj(_.F(a,16,"")+"/uc"),_.zj(c,"id",d),_.zj(c,"authuser",_.eL(_.QK(a))),_.zj(c,"export","download"),_.S(a,89,!1)&&_.Q(b,140)&&_.zj(c,"resourcekey",_.ol(b)),_.A(b,41,c.toString())))}},Dbd=function(a,b){this.fja="";
this.startTime=b||new Date;this.Aea=a;this.oaa=V0c(a)};Dbd.prototype.clone=function(){return new Dbd(this.Aea,this.startTime)};var Ebd=function(){this.H=null;this.QY=[]},Fbd=function(a){return _.Bb(a.QY,function(b){return _.$a(b)})};Ebd.prototype.DN=function(){return this.H};
Ebd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new I$c;e.V=H$c(d.oaa);var f=_.ah().substring(0,8);d=V0c(f);f=(new h$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).Di(c);this.QY.push(b);e.O=H$c(d);e.H=F$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;I2c(k,f);I2c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.Bk(d,2,1),k=d.O,I2c(k,f),I2c(k,h));f=e.W;null!=f&&(_.Bk(d,3,5),I2c(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.Bk(d,4,1),h=d.O,I2c(h,f),I2c(h,e));e=_.Ck(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Gbd=function(){this.Bb=[];this.O=this.H=0};Gbd.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 Hbd=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},Ibd=function(a){this.key=a;this.H=new _.LUc;this.O=new _.JUc(new _.LUc,_.ima(a))};Ibd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.jma(b);c=Jbd(this,a);return b.concat(c,Kbd(this,b,a,!0))};
var Lbd=function(a,b){var c=Kbd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Jbd(a,c);if(b!==a)throw Error("gf");return c},Jbd=function(a,b){a=_.KUc(a.O,_.dVc(b));return _.jma(a)},Kbd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Gbd;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=_.dVc(c.substring(8192*
e,8192*(e+1))),Hbd(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;Hbd(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=Mbd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Mbd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=Mbd(d,e++),k=Mbd(d,e++),l=Mbd(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=Mbd(d,e++),k=Mbd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Mbd=function(a,b){return a[Math.floor(b/8192)][b%8192]},Nbd=function(a,b,c){this.data=a;this.QZa=b;this.H=c;this.isEncrypted=!1};Nbd.prototype.getData=function(){return this.data};
Nbd.prototype.Mm=function(){return this.QZa};var Obd=function(a,b,c,d){this.O=a;this.H=_.ii();this.Dp=!1;this.V=_.F(b,7,"");this.W=_.ak(_.zN(b),6,2E7);this.JG=_.VK(b);this.ha=_.ak(_.zN(b),12,0);this.ka=c;this.Ed=d||null};Obd.prototype.initialize=function(){var a=this;this.Dp||(this.Dp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.qi(this.H.promise)};
Obd.prototype.cD=function(a){if(a instanceof _.yA)return 0;if(a instanceof jO)return 1;if(a instanceof B5c)return 5;if(a instanceof QN)return 3;if(a instanceof w$c)return 6;throw new _.qc("Unsupported dataShard in getDataType");};var Pbd=function(a){if(0==a)return _.yA;if(1==a)return jO;if(5==a)return B5c;if(3==a)return QN;if(6==a)return w$c;throw new _.qc("Unsupported dataType:"+a+" in getDataTypeCtor");};Obd.prototype.Ao=function(a){if(a instanceof QN)return a.Ao()};
Obd.prototype.Mm=function(a){if(a instanceof QN)return a.Hd().length};
var Ubd=function(a,b,c,d){if(0==c.length)return _.fi();var e=a.cD(c[0]);c.forEach(function(){});var f=a.Ao(c[0]),h=0;3==e&&Qbd(a,c);var k=!!b;return Rbd(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.Mm()},0);var q=Sbd(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&&(O4c(N4c(M4c(p.bF(),_.KM(_.pUc,e)),_.KM(_.mUc,f)),!0),
q.then(function(){var r=h;L4c(p.bF(),!0).Ft(r);p.Yj()},function(){var r=h;L4c(p.bF(),!1).Ft(r);p.Yj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Tbd(a.O,l,e,f,k,d)})})},Rbd=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.Mm(l);l instanceof QN?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new Nbd(p,r,l))}}});if(e){var h=Error("kf"),k=new _.pc;_.aL(k,2);_.nL(k,23);
_.A(k,21,h.message);_.Up(k);a.ka(k);d(h)}c(f)})},Qbd=function(a,b){a.Ao(b[0]);b.forEach(function(){});a.JG||Vbd(b);Wbd(a,b)},BO=function(a,b,c,d,e,f){var h=_.ii(),k;_.ki(a.H.promise.then(function(){return Xbd(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].b1){if(k=a.Ed?a.Ed.H(106022,f):null)O4c(N4c(M4c(k.bF(),_.KM(_.pUc,c)),_.KM(_.mUc,d)),!0),q.xn().then(function(r){var u=k;r=void 0!=r;L4c(u.bF(),r);_.eYc(u)});Ybd(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 (Pbd(c))(JSON.parse(r));q+=a.Mm(r);p.push(r)});3==c&&(a.JG||Zbd(p),$bd(p));k&&k.bF().Ft(q)}h.resolve(p)}),function(){k&&k.Yj()}).Sg(h.reject,h);return h.promise},Vbd=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){_.zWc(h,acd(_.il(h),c,d));_.AWc(h,acd([h.ym()],c,d)[0]);var k=acd([h.Vv()],c,d)[0];_.x(h,
47,k);k=acd([h.Rq()],c,d)[0];_.x(h,91,k);k=acd([h.sD()],c,d)[0];_.x(h,95,k);if(h=h.Ww())_.vWc(h,acd(h.uR(),c,d)),_.wWc(h,acd(_.pk(h,_.Sk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Cb(a[0],2,e)}},acd=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},Zbd=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){_.zWc(e,bcd(_.il(e),b,c));_.AWc(e,bcd([e.ym()],b,c)[0]);var f=bcd([e.Vv()],b,c)[0];_.x(e,47,f);f=bcd([e.Rq()],b,c)[0];_.x(e,91,f);f=bcd([e.sD()],b,c)[0];_.x(e,95,f);if(e=e.Ww())_.vWc(e,bcd(e.uR(),b,c)),_.wWc(e,bcd(_.pk(e,_.Sk,3),b,c))});_.hk(d,2)})},bcd=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},Wbd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].Ao()){for(var d=[],e=b[c].Hd();e.length>a;){var f=_.Ba(e,a-1,a);f=h7c(new QN,f);d.push(f)}h7c(b[c],e);d.length&&_.vb(_.Ba,b,c+1,0).apply(null,d)}}},$bd=function(a){for(var b={},c=1;c<a.length;b={bfa:b.bfa},c++)if(!a[c].Ao()){for(var d=0,e=c;e<a.length&&!a[e].Ao();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.bfa=e.Hd();d.forEach(function(f){return function(h){_.za(f.bfa,
h.Hd())}}(b));h7c(e,b.bfa)}},Sbd=function(a,b,c){if(!_.uUc()&&a.V){var d=new Worker(_.wga(_.Ix(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.Qd(Error(String(k)))},!1);c=D$c(new C$c,c);d.postMessage({command:"encrypt",data:{request:c.$b(),key:b}});return e}try{a=[];var f=new Ibd(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},Ybd=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(!_.uUc()&&a.V){var f=new Worker(_.wga(_.Ix(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 Ibd(c);for(c=0;c<d.length;c++)a.push(Lbd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},ccd=function(a,b,c){return[a.Tz(),
a.clientId,b?"#":CO(a)].join(":")+":"+(c||"")},dcd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};dcd.prototype.getKey=function(){return this.key};dcd.prototype.Xa=function(){return this.value};
var ecd=function(a,b){a=ccd(a,b);return O6c(a+"A",a+"z")},fcd=function(a,b){this.H=a;this.O=b},gcd=function(a){return a?new fcd(a.versionKey,a.versionChangeTimestamp):null},hcd=function(a,b){return a+":"+b},icd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.b1=void 0===e?null:e},jcd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.b1}},kcd=function(a,b,c,d){a=CO(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.ht(":%02d",c)},lcd=function(a,b,
c,d){c=kcd(a,b,void 0===c?0:c,d);a=CO(a)+"_"+b;3===b&&(a+="_"+d);return O6c(c,a+":a")},mcd=function(a){var b=CO(a)+"_";a=CO(a)+"_A";return O6c(b,a)},ncd=function(a){return a?new icd(a.data,a.index,a.size,a.timestamp,a.e):null},ocd=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};ocd.prototype.Tz=function(){return this.userId};
ocd.prototype.Og=function(){return _.ya(this.fields)};
var CO=function(a){if(!a.O){var b=new _.IK;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.fSc(b.digest())}return a.O},pcd=function(a){return{versionKey:CO(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},qcd=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 ocd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:CO(a)!==d&&(a=null);return a},DO=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(DO,_.N);DO.prototype.initialize=function(){return rcd(this)};
var rcd=function(a,b){a.V||(a.V=_.ii(),a.Oa.then(function(){b?(a.va=!1,scd(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)"),_.XSc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Rf(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,_.UK(c)?c:void 0))}));return a.V.promise},scd=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"))};DO.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.VWc(b,c)});_.Ma(_.lL,function(c){var d=_.QUc.get(c);_.USc(b,c,d?{keyPath:d}:void 0)})};
DO.prototype.oa=function(a){var b;a&&a instanceof _.LK&&"InvalidStateError"==a.getName()&&_.Hj.Sw?b=Error("lf"):_.UK(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);tcd(this,!1)};DO.prototype.Ka=function(a){this.ka?a.dispose():(scd(this,a),this.Ma(this.H),this.readOnly||ucd(this).Sg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),tcd(this,!0))};
var tcd=function(a,b){if(a.ma){var c=a.ma,d=_.E(_.JM(c),G4c,5);d||(d=new G4c,c=_.JM(c),_.x(c,5,d));d=_.A(d,1,2);c=a.Hi().W;d=_.A(d,2,c);c=a.Hi().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Hi().ma;_.A(b,6,d);a.ma.Yj();a.ma=null}};DO.prototype.Ha=function(){this.H||this.Kf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("mf")))};DO.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};DO.prototype.Kf=function(){return this.ka};
var vcd=function(a){return a.ka?a.O:null};DO.prototype.Hi=function(){return this.version};
var EO=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.VSc(a,[b],c)}catch(d){return null}},ucd=function(a){var b=_.lL.U_,c=EO(a,b,"readwrite");if(!c)return _.gi(Error("nf"));c.objectStore(b).put(pcd(a.Hi()));return c.wait().then(function(){})},wcd=function(a){if(!a.H)return _.gi(Error("of"));if(a.Kf())return _.gi(Error(a.O));var b=_.lL.U_,c=EO(a,b,"readwrite");return c?c.objectStore(b).remove(CO(a.Hi())).then():_.gi(Error("pf"))},xcd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=ncd(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},Xbd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.gi(Error("wf"));if(a.Kf())return _.gi(Error(a.O));var e=lcd(a.Hi(),b,0,c),f=_.lL.m6,h=EO(a,f);if(!h)return _.gi(Error("xf"));e=h.objectStore(f).getAll(e);var k=_.ii();e.Rf(function(l){l=xcd(l,k,d);a.readOnly||null==l||ycd(a,b,c,l).Sg(function(){})},k.reject);return k.promise},Tbd=function(a,b,c,d,e,f){if(a.H){if(a.Kf())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:kcd(a.Hi(),c,u,d),data:new icd(r.getData(),u,k,h,e),metadata:r}});var l=_.lL.m6,p=EO(a,l,"readwrite");if(!p)return _.gi(Error("Af"));var q=p.objectStore(l);b.forEach(function(r){var u=zcd(a,c,d,r.metadata,f);q.put(jcd(r.data),r.key).then(function(){u&&(L4c(u.bF(),!0),u.Yj())},function(y){var z=y instanceof _.LK?y.code:_.wSc;u&&a.W&&(y=L4c(u.bF(),!1),z=_.KM(_.qUc,z),_.A(y,2,z),u.Yj())})});return p.wait().then(function(){})},zcd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=N4c(M4c(a.bF(),_.KM(_.pUc,b)),_.KM(_.mUc,c)),f=f.Ao(d.H),f=_.A(b,5,f),O4c(f,d.isEncrypted),void 0!=d.Mm()&&a.bF().Ft(d.Mm());return a}return null},ycd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Kf())return _.gi(Error(a.O));if(3==b&&void 0==c)return _.gi(Error("Bf"))}else return _.gi(Error("Cf"));b=lcd(a.Hi(),b,d,c);c=_.lL.m6;a=EO(a,c,"readwrite");if(!a)return _.gi(Error("Df"));a.objectStore(c).remove(b);return a.wait().then(function(){})},Acd=
function(a){if(!a.H)return _.gi(Error("Ef"));if(a.Kf())return _.gi(Error(a.O));var b=mcd(a.Hi()),c=_.lL.m6;a=EO(a,c,"readwrite");if(!a)return _.gi(Error("Ff"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
DO.prototype.getMetadata=function(a){if(this.H){if(this.Kf())return _.gi(Error(this.O));if(a&&0==a.length)return _.gi(Error("Gf"))}else return _.gi(Error("Hf"));var b=this.Hi(),c=_.lL.w7,d=EO(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(ccd(b,k.global,k.key)).then())});a=_.hi(f)}else a=_.hi([e.getAll(ecd(b,!1)).then(),e.getAll(ecd(b,!0)).then()]).then(function(k){return S0c(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]!==CO(b)||p[0]!==b.Tz()||p[1]!==String(b.clientId)?null:new dcd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var Bcd=function(a,b){if(a.H){if(a.Kf())return _.gi(Error(a.O));if(0==b.length)return _.gi(Error("Jf"))}else return _.gi(Error("Kf"));var c=_.lL.w7,d=EO(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.Hi();h={k:ccd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.hi(f).then(function(){})},Ccd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Kf())return _.gi(Error(a.O))}else return _.gi(Error("Nf"));var c=a.Hi(),
d=_.lL.w7;a=EO(a,d,"readwrite");if(!a)return _.gi(Error("Of"));d=a.objectStore(d);a=[];a.push(d.remove(ecd(c,!1)).then());b&&a.push(d.remove(ecd(c,!0)).then());return _.hi(a).then(function(){})},Dcd=function(a){if(!a.H)return _.gi(Error("Pf"));if(a.Kf())return _.gi(Error(a.O));var b=hcd(a.Hi().Tz(),a.Hi().clientId),c=_.lL.FU;return(a=EO(a,c))?a.objectStore(c).get(b).then(function(d){return gcd(d)}):_.gi(Error("Qf"))},Ecd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.gi(Error("Rf"));if(a.Kf())return _.gi(Error(a.O));
var c=a.Hi(),d=hcd(c.Tz(),c.clientId);b=new fcd(CO(c),b?Date.now():void 0);c=_.lL.FU;a=EO(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(){})};
DO.prototype.Jl=function(a){var b=this;return this.H?this.Kf()?_.gi(Error(this.O)):Dcd(this).then(function(c){var d=CO(b.Hi());if(c)if(a){if(!c.O&&d==c.H&&d!=CO(a))return Ecd(b,!0);if(c.O&&d==CO(a))return Ecd(b)}else{if(d!=c.H)return Ecd(b)}else if(!a)return Ecd(b)}):_.gi(Error("Tf"))};var Fcd=function(a){if(!a.H)return _.gi(Error("Uf"));if(a.Kf())return _.gi(Error(a.O));var b=a.Hi(),c=hcd(b.Tz(),b.clientId);return Dcd(a).then(function(d){if(d){d=_.lL.FU;var e=EO(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
DO.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Kf()?_.gi(Error(this.O)):Dcd(this).then(function(c){var d=c&&c.H==CO(b.Hi());return d&&!a?!1:(c&&d?Fcd(b):_.fi()).then(function(){return _.hi([Ccd(b,a),Acd(b),wcd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.gi(Error("Vf"))};DO.prototype.close=function(){this.ha("Closing database")};DO.prototype.log=function(a){this.Ed.info("drive.ds.sync.storage.VersionedDb",a)};
var Gcd=function(a){if(1>=a.Hi())return!1;var b=a.H.objectStoreNames;return _.Sa(_.lL).every(function(c){return b&&b.contains(c)})},Hcd=function(){var a=_.ii();_.XSc("GoogleDriveDs").Rf(function(b){b?Gcd(b)?a.resolve(b):(b.close(),_.ki(P6c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},Icd=function(a,b,c){var d=_.ii();a?_.VSc(a,[_.lL.U_],"readonly").objectStore(_.lL.U_).getAll().Rf(function(e){e=_.Sa(e).map(function(f){return qcd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Tz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Jcd=function(a,b,c){var d=_.ii();Hcd().then(function(e){if(e){var f=_.lL.FU;_.VSc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return gcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.lL.U_,p=_.VSc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=qcd(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},Kcd=function(a,b,c){var d=_.ii(),e=new DO(_.fi(a),b);rcd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Lcd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Kcd(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: "+CO(l)))});d.resolve(k)})},Mcd=function(a,b,c){var d=Date.now()-12096E5,e=_.ii();Hcd().then(function(f){f?(_.ki(e.promise,function(){f.close()}),Icd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Lcd(h,c,f,e)})):e.resolve([])});return e.promise},Ncd=function(a,b,c){var d=_.ii();Hcd().then(function(e){e?(_.ki(d.promise,function(){e.close()}),
Icd(e,a,b).then(function(f){Lcd(f,c,e,d,!0)})):d.resolve([])});return d.promise},Ocd=function(a,b,c,d){if(a.length){var e=_.lL.m6,f=a.shift(),h=kcd(f,3,0,1);try{_.VSc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=ncd(k))&&(!k.b1||k.b1&&d.has(f.V))?b.resolve(f):Ocd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Pcd=function(a,b,c,d,e,f,h){var k=_.ii();Hcd().then(function(l){l?(_.ki(k.promise,function(){l.close()}),Icd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=CO(q))&&q.W==c&&q.H>=e&&j1c(d.filter(function(r){return!_.RUc.has(r)}),q.Og(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Ocd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Qcd={key:"rid",global:!0},Rcd={key:"ooi",global:!0},Scd={key:"rtds",global:!1},Tcd={key:"dct",global:!1},Ucd={key:"pc",global:!1},Vcd=function(a){this.H=new _.ei(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Vcd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Kf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Xa():void 0},function(){})})};Vcd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Kf()?Bcd(c,[new dcd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Vcd.prototype.Yn=function(){return this.get(Qcd).then(function(a){return a?a:null})};Vcd.prototype.Hu=function(a){return this.set(Qcd,a)};
var Wcd=function(a){return a.get(Rcd).then(function(b){return"boolean"===typeof b?b:null})};Vcd.prototype.Ry=function(a){return this.set(Rcd,a)};var Xcd=function(a){return a.get(Ucd).then(function(b){return"boolean"===typeof b?b:null})},Ycd=function(a){return a.get(Scd).then(function(b){return Array.isArray(b)?b:null})},Zcd=function(a){return a.get(Tcd).then(function(b){return"number"===typeof b?b:null})},$cd=function(){this.lj=[]};_.L($cd,_.ZM);
$cd.prototype.add=function(a,b){var c=a.Cv.request;return c instanceof _.fM&&_.D(c.request,12)?_.ZM.prototype.add.call(this,a,b):!1};$cd.prototype.kta=function(a){return this.lj.splice(0,Math.min(a,1))};var add=function(a,b){this.lj=[];this.H=b};_.L(add,_.ZM);add.prototype.add=function(a,b){return a.Cv.request instanceof _.fM?!1:_.ZM.prototype.add.call(this,a,b)};
add.prototype.kta=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.lj.length&&b.length<a;f++){var h=this.lj[f],k=h.Cv.request;k instanceof _.AL||k instanceof _.ML||k instanceof _.aM?k="app|"+k.Ah():k instanceof _.uL||k instanceof _.vL||k instanceof _.CL||k instanceof _.gL?k="item|"+(k instanceof _.uL?k.Jc():k.getId()):k instanceof _.DL||k instanceof _.NL?k="item|"+k.Jc():k instanceof _.EL||k instanceof _.cM?k="item|"+k.Jc():k instanceof _.HC||k instanceof _.GC?(k=k instanceof _.HC?_.E(k,_.dp,1).getKey():
k.getKey(),k="pref|"+_.D(k,2)+"|"+_.ep(k)):k=k instanceof _.FL?"td|"+k.getId():null;var l=h.Cv.request;if(l instanceof _.xL)l=!!_.R(l,8);else if(l instanceof _.vL){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.ubb.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.lj,c[a]);return b};
bdd=function(a,b,c,d,e,f,h,k,l){a=a.$f();h=new _.VZc(k,h,d,_.ak(a,32,1073741824),_.ak(a,21,1E3));h=new _.WZc(h);k=new _.uZc(_.ak(a,59,2E3),_.ak(a,60,2E4),_.ak(a,61,6));c=new _.sZc(l?l:c,l?void 0:e);e={};e[1]=_.YZc(b,d);e[2]=_.ZZc(b,a,k,c,d);e[3]=_.$Zc(b,a,k,c,d,"batch");l=_.ak(a,10,50);f=new _.aN(d,b,[_.tZc(c),new _.xZc(l,_.ak(a,11,100)),new _.$M(l),new _.YM(k,d)],[new add(a,f),new $cd,new _.ZM],[new _.GZc(a,k,c.Lj(),d)],"mutation");return e[4]=f,e[5]=_.a_c(h,a,d),e[6]=_.$Zc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.$Zc(b,a,k,c,d,"xd4_batch"),e[8]=_.$Zc(b,a,k,c,d,"xd4_batch_one",1),e};cdd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};ddd=function(a){var b={};return b.parentId=a.Mk(),b};edd=function(a){var b={};_.de(_.$g(a.getTitle()))||(b.title=a.getTitle());_.m0c(b,_.Nd(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
fdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.D(a,3)&&(b.workspaceToken=_.D(a,3));return b};gdd=function(a){var b={};b.sourceIds=_.Nd(a.request,1);b.destinationFolderId=_.D(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
hdd=function(a){var b={},c={};_.de(_.$g(a.getTitle()))||(b.title=a.getTitle());null!=a.Ue()&&(b.description=a.Ue());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Th()&&(c.trashed=a.Th());_.de(_.$g(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.D(a,7)&&(b.modifiedDate=_.TWc(_.SXc(_.D(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Ra(c)&&(b.labels=c);null!=a.Wi()&&(b.folderColor=a.Wi());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)}_.m0c(b,_.Nd(a,8));return b};idd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
jdd=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,_.z4c,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.Qe())&&(a.width=c);b.backgroundImageFile=a}}return b};
kdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.p0c[a.getState()])&&(b.state=a);return b};_.ldd=function(a){_.O(this,a,-1,null,null)};_.L(_.ldd,_.K);_.ldd.prototype.O=function(){return _.D(this,1)};var mdd=function(a){_.O(this,a,-1,null,null)};_.L(mdd,_.K);mdd.prototype.O=function(){return _.R(this,1)};mdd.prototype.V=function(){return _.D(this,2)};_.FO=function(a){_.O(this,a,-1,null,null)};_.L(_.FO,_.K);_.g=_.FO.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.mta=function(){return _.D(this,3)};_.g.cz=function(){return _.D(this,4)};_.g.T$=function(){return _.E(this,mdd,6)};_.g.ysb=function(){return _.E(this,_.ldd,7)};_.g.IVa=function(){return _.D(this,8)};_.g.lta=function(){return _.R(this,9)};_.GO=function(a){_.O(this,a,-1,null,null)};_.L(_.GO,_.K);_.g=_.GO.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.Nd=function(){return _.D(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.Eab=function(){return _.D(this,6)};_.ndd=function(a,b){return _.A(a,6,b)};_.GO.prototype.Ue=function(){return _.D(this,8)};_.GO.prototype.rm=function(a){return _.A(this,8,a)};
_.GO.prototype.O=function(){return _.R(this,9)};_.HO=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=a2c(new _.hN,[1]);this.limit=e.Oi();this.Se=0;_.ze(this,function(){h.O=!1;h.H=[]})};_.L(_.HO,_.Ki);_.g=_.HO.prototype;_.g.Qi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.na(this.items)&&6===this.Cb()&&this.Tj()||odd(this)};_.g.zd=function(){return this.request};_.g.Oi=function(){return this.limit};_.g.Cb=function(){return this.status};_.g.Yq=function(){return this.ka};_.g.Tj=function(){return this.ha};_.g.ms=function(){var a=_.ZRc().Jz(this.H,this.items),b=(new _.lSc).Dc(this.Cb());a=_.Cb(b,2,a);this.H=this.items;return a};_.g.Nr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Qi(),this.limit))};
var pdd=function(a,b){return a.Cb()!==b.Cb()||AN(_.ZRc(),a.items,b.Hd())},qdd=function(a,b){a.items=b.Hd();a.status=b.Cb();_.VK(a.Ba)&&(a.ka=b2c(a.status,a.items));a.ha=b.nl();a.Se=b.Ze()};_.HO.prototype.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.HO.prototype.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};
_.HO.prototype.Bu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+eO(this.V,this.zd());return _.qi(this.va.then(function(d){return d.rMb(a,b,c.zd(),c.Oi(),c.items)}))};
var odd=function(a){a.isActive()&&(a.log("Livelist "+a.Qi()+" returning "+a.items.length+". Status: "+(_.ab(x5c)[a.Cb()]+". Datasource: ")+(_.ab(A6c)[a.Se]+". Query: ")+(eO(a.V,a.request)+" ")+c2c(a.items)),rdd(a,a.items,a.request),a.dispatchEvent(new _.xi(_.Dc,a)))},rdd=function(a,b,c){if(_.OL(c))c="quick access";else if(_.PL(c))c="people predict";else if(_.QL(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Qi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.HO.prototype.refresh=function(){};_.HO.prototype.log=function(a){this.Fa.info(this.W,a)};var G2c=[90,59,75];_.t("sy1m3");
var sdd=function(a){_.O(this,a,-1,null,null)};_.L(sdd,_.K);
var tdd=function(a){_.O(this,a,-1,null,null)};_.L(tdd,_.K);tdd.prototype.getType=function(){return _.D(this,1)};var udd=function(a){var b=new tdd;return _.A(b,1,a)},vdd=function(a,b){return _.x(a,2,b)};tdd.prototype.qy=function(){return _.D(this,3)};tdd.prototype.Sy=function(a){return _.A(this,3,a)};tdd.prototype.Pi=function(){return _.D(this,4)};tdd.prototype.setPosition=function(a){return _.A(this,4,a)};
var IO=function(a){_.O(this,a,-1,null,null)};_.L(IO,_.K);IO.prototype.getType=function(){return _.D(this,1)};var wdd=function(a){var b=new IO;return _.A(b,1,a)};IO.prototype.an=function(){return _.E(this,NN,2)};var xdd=function(a,b){return _.x(a,2,b)};IO.prototype.qy=function(){return _.D(this,3)};IO.prototype.Sy=function(a){return _.A(this,3,a)};IO.prototype.Pi=function(){return _.D(this,4)};IO.prototype.setPosition=function(a){return _.A(this,4,a)};
var JO=function(a){_.O(this,a,-1,null,null)};_.L(JO,_.K);JO.prototype.getType=function(){return _.D(this,1)};var ydd=function(a){var b=new JO;return _.A(b,1,a)};JO.prototype.an=function(){return _.E(this,_.hF,2)};var zdd=function(a,b){return _.x(a,2,b)};JO.prototype.qy=function(){return _.D(this,3)};JO.prototype.Sy=function(a){return _.A(this,3,a)};JO.prototype.Pi=function(){return _.D(this,4)};JO.prototype.setPosition=function(a){return _.A(this,4,a)};
var Add=function(a){_.O(this,a,-1,null,null)};_.L(Add,_.K);Add.prototype.Cb=function(){return _.D(this,1)};Add.prototype.Dc=function(a){return _.A(this,1,a)};Add.prototype.Cr=function(){return _.E(this,_.MN,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.Zj=function(){return _.D(this,3)};var Bdd=[2];
var Ddd=function(a){_.O(this,a,-1,null,null)};_.L(Ddd,_.K);Ddd.prototype.od=function(){return _.E(this,CN,1)};Ddd.prototype.Wn=function(){return _.D(this,2)};
var Edd=function(a){_.O(this,a,-1,null,null)};_.L(Edd,_.K);_.g=Edd.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Cr=function(){return _.E(this,_.MN,2)};_.g.Zj=function(){return _.D(this,3)};_.g.Ah=function(){return _.D(this,4)};
var KO=function(a){_.O(this,a,-1,null,null)};_.L(KO,_.K);KO.prototype.Cb=function(){return _.D(this,1)};KO.prototype.Dc=function(a){return _.A(this,1,a)};KO.prototype.Zj=function(){return _.D(this,3)};
var Fdd=function(a){_.O(this,a,-1,null,null)};_.L(Fdd,_.K);_.g=Fdd.prototype;_.g.Cb=function(){return _.D(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Zj=function(){return _.D(this,2)};_.g.XMa=function(){return _.E(this,_.dp,3)};_.g.getKey=function(){return _.E(this,_.Rb,4)};_.g.As=function(){return _.Q(this,4)};
var Hdd=function(a){_.O(this,a,-1,null,Gdd)};_.L(Hdd,_.K);Hdd.prototype.getKey=function(){return _.D(this,1)};Hdd.prototype.As=function(){return _.Q(this,1)};var Jdd=function(a){_.O(this,a,-1,Idd,null)};_.L(Jdd,_.K);var Gdd=[[2,4,6,10],[3,5,7,8,9]],Idd=[1];
var Kdd=function(a){_.O(this,a,-1,null,null)};_.L(Kdd,_.K);
var LO=function(a){_.O(this,a,-1,Ldd,null)};_.L(LO,_.K);LO.prototype.Cb=function(){return _.D(this,1)};LO.prototype.Dc=function(a){return _.A(this,1,a)};LO.prototype.O=function(){return _.pk(this,IN,2)};var Mdd=function(a,b){return _.Cb(a,2,b)};LO.prototype.Zj=function(){return _.D(this,3)};var Ldd=[2];
var Ndd=function(a){_.O(this,a,-1,null,null)};_.L(Ndd,_.K);Ndd.prototype.Cb=function(){return _.D(this,1)};Ndd.prototype.Dc=function(a){return _.A(this,1,a)};Ndd.prototype.O=function(){return _.E(this,IN,2)};Ndd.prototype.Zj=function(){return _.D(this,3)};
var Odd=function(a){_.O(this,a,-1,null,null)};_.L(Odd,_.K);Odd.prototype.ny=function(){return _.D(this,2)};
var Qdd=function(a){_.O(this,a,-1,Pdd,null)};_.L(Qdd,_.K);Qdd.prototype.Cb=function(){return _.D(this,1)};Qdd.prototype.Dc=function(a){return _.A(this,1,a)};Qdd.prototype.jk=function(){return _.pk(this,_.URc,2)};Qdd.prototype.sr=function(a,b){return _.tk(this,2,a,_.URc,b)};var Pdd=[2];
var Sdd=function(a){_.O(this,a,-1,Rdd,null)};_.L(Sdd,_.K);Sdd.prototype.Cb=function(){return _.D(this,1)};Sdd.prototype.Dc=function(a){return _.A(this,1,a)};Sdd.prototype.ql=function(){return _.pk(this,IO,2)};var Rdd=[2];
_.Udd=function(a){_.O(this,a,-1,Tdd,null)};_.L(_.Udd,_.K);var Tdd=[1];
var MO=function(a){_.O(this,a,-1,Vdd,null)},Ydd,Zdd;_.L(MO,_.K);MO.prototype.Wn=function(){return _.D(this,1)};var Wdd=function(a,b){return _.A(a,1,b)},Xdd=function(a,b){return _.A(a,2,b)};MO.prototype.Cb=function(){return _.D(this,3)};MO.prototype.Dc=function(a){return _.A(this,3,a)};Ydd=function(a,b){return _.A(a,4,b)};Zdd=function(a,b){return _.Cb(a,5,b)};_.$dd=function(a){_.O(this,a,-1,null,null)};_.L(_.$dd,_.K);_.$dd.prototype.lc=function(){return _.D(this,2)};
_.bed=function(a){_.O(this,a,-1,aed,null)};_.L(_.bed,_.K);var ced=function(a,b){return _.A(a,1,b)},ded=function(a,b){return _.A(a,2,b)},eed=function(a,b){return _.Cb(a,3,b)},Vdd=[5],aed=[3];
_.NO=function(a){_.O(this,a,-1,fed,null)};_.L(_.NO,_.K);_.NO.prototype.WV=function(){return _.pk(this,_.aF,2)};_.NO.prototype.we=function(){return _.E(this,_.sf,3)};var fed=[1,2];
_.OO=function(a){_.O(this,a,-1,null,null)};_.L(_.OO,_.K);_.OO.prototype.Cb=function(){return _.D(this,1)};_.OO.prototype.Dc=function(a){return _.A(this,1,a)};_.OO.prototype.Gh=function(){return _.E(this,_.yA,2)};_.ged=function(a,b){return _.x(a,2,b)};_.OO.prototype.Zj=function(){return _.D(this,3)};
var hed=function(a){_.O(this,a,-1,null,null)};_.L(hed,_.K);hed.prototype.Cb=function(){return _.D(this,1)};hed.prototype.Dc=function(a){return _.A(this,1,a)};
var jed=function(a){_.O(this,a,-1,ied,null)};_.L(jed,_.K);jed.prototype.Cb=function(){return _.D(this,1)};jed.prototype.Dc=function(a){return _.A(this,1,a)};jed.prototype.ql=function(){return _.pk(this,JO,2)};var ied=[2];
var ked=function(a){_.O(this,a,-1,null,null)};_.L(ked,_.K);ked.prototype.getType=function(){return _.D(this,1)};var led=function(a){var b=new ked;return _.A(b,1,a)};ked.prototype.qy=function(){return _.D(this,3)};ked.prototype.Sy=function(a){return _.A(this,3,a)};ked.prototype.Pi=function(){return _.D(this,4)};ked.prototype.setPosition=function(a){return _.A(this,4,a)};
var ned=function(a){_.O(this,a,-1,med,null)};_.L(ned,_.K);ned.prototype.Cb=function(){return _.D(this,1)};ned.prototype.Dc=function(a){return _.A(this,1,a)};ned.prototype.Zj=function(){return _.D(this,3)};var med=[2];
_.oed=function(a){_.O(this,a,-1,null,null)};_.L(_.oed,_.K);_.oed.prototype.getId=function(){return _.D(this,1)};_.oed.prototype.Pb=function(a){return _.A(this,1,a)};_.oed.prototype.we=function(){return _.E(this,_.sf,4)};
var qed=function(a){_.O(this,a,-1,ped,null)};_.L(qed,_.K);qed.prototype.Cb=function(){return _.D(this,1)};qed.prototype.Dc=function(a){return _.A(this,1,a)};qed.prototype.Zj=function(){return _.D(this,3)};var ped=[2,4];
_.PO=function(a){_.O(this,a,-1,null,null)};_.L(_.PO,_.K);_.PO.prototype.getType=function(){return _.D(this,1)};var red=function(a){var b=new _.PO;return _.A(b,1,a)},sed=function(a,b){return _.x(a,2,b)};_.PO.prototype.qy=function(){return _.D(this,3)};_.PO.prototype.Sy=function(a){return _.A(this,3,a)};_.PO.prototype.Pi=function(){return _.D(this,4)};_.PO.prototype.setPosition=function(a){return _.A(this,4,a)};
_.s2c=function(a){_.O(this,a,-1,null,null)};_.L(_.s2c,_.K);_.g=_.s2c.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.Ve=function(a){return _.x(this,2,a)};_.g.In=function(){return _.Q(this,2)};_.g.lt=function(){return _.D(this,4)};
var ued=function(a){_.O(this,a,-1,ted,null)};_.L(ued,_.K);var ted=[2,4];
var wed=function(a){_.O(this,a,-1,ved,null)};_.L(wed,_.K);var ved=[1];
var yed=function(a){_.O(this,a,-1,xed,null)};_.L(yed,_.K);yed.prototype.Cb=function(){return _.D(this,1)};yed.prototype.Dc=function(a){return _.A(this,1,a)};yed.prototype.Zj=function(){return _.D(this,3)};var xed=[2];
var Aed=function(a){_.O(this,a,-1,zed,null)};_.L(Aed,_.K);Aed.prototype.Cb=function(){return _.D(this,1)};Aed.prototype.Dc=function(a){return _.A(this,1,a)};Aed.prototype.Zj=function(){return _.D(this,3)};var zed=[2];
var Bed=function(a){_.O(this,a,-1,null,null)};_.L(Bed,_.K);
var Ded=function(a){_.O(this,a,-1,Ced,null)};_.L(Ded,_.K);Ded.prototype.O=function(){return _.D(this,2)};var Eed=function(a,b){_.A(a,2,b)},Ced=[1];
var Fed=function(a){_.xi.call(this,"Ob");this.dataType=a};_.L(Fed,_.xi);
var Ged=function(a,b){_.xi.call(this,"Pb");this.JPa=a;this.Lua=b};_.L(Ged,_.xi);
var Hed=function(){};_.g=Hed.prototype;_.g.IM=function(a,b){return G6c(F6c(1),a).setPosition(b)};_.g.HM=function(a,b){return G6c(F6c(2).setPosition(b),a)};_.g.QE=function(a,b,c){return G6c(F6c(3).Sy(b).setPosition(c),a)};_.g.EQ=function(a,b){return G6c(F6c(4),a).setPosition(b)};_.g.lN=function(a){return _.E(a,FN,2)};
var Ied=function(){_.AK.call(this,new Hed,function(a){return a&&a.getName()})};_.L(Ied,_.AK);
var QO=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=a2c(new _.hN,[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(QO,_.Ki);_.g=QO.prototype;_.g.Qi=function(){return String(_.Da(this))};_.g.$e=function(){return this.W.$e()||this.connectionState.$e()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Oc.listen(this.W,"Ab",_.vb(this.Ut)),this.Oc.listen(this.connectionState,[].concat(_.nd(Object.values(_.AA))),_.vb(this.Ut)),this.W.$e()?this.Oc.ud(this.W,"Ab",function(b){b.$e()||(a.cH(),a.dispatchEvent(new _.xi(_.Zp)))}):this.connectionState.$e()?this.Oc.ud(this.connectionState,[_.AA.IL,_.AA.GU],function(){a.cH();a.dispatchEvent(new _.xi(_.Zp))}):(this.cH(),this.dispatchEvent(new _.xi(_.Zp))))};_.g.cH=function(){};
_.g.Nr=function(a){var b=this;if(this.Tj()){var c=this.limit;this.limit+=a||50;this.lc()>c&&this.Ut();this.W.$e()?this.Oc.ud(this.W,"Ab",function(d){d.$e()||b.uP()}):this.uP()}};_.g.NL=function(){this.$e()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.Yq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.rc(a))};_.g.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};_.g.Tj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Oc.removeAll();this.activate()};_.g.uP=function(){};
var Jed=function(a,b,c,d,e){QO.call(this,a,b,e.Oi()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new Ied;this.ma=d};_.L(Jed,QO);_.g=Jed.prototype;_.g.cH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){return K6c(new LN,this.data).Dc(this.status)};_.g.ms=function(){var a=this.V.Jz(this.O,this.data);this.O=this.data;var b=(new I6c).Dc(this.status);return _.Cb(b,2,a)};
_.g.uP=function(){this.ma(this.Qi(),this.limit)};_.g.Ut=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,Ked(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()||AN(0,this.data,b.O()))this.H=!0,this.status=b.Cb(),this.data=b.O(),this.ha=a.H,Ked(this)};
var Ked=function(a){a.log("Livelist "+a.Qi()+" returning "+a.data.length+" for "+(a.request.Jc()+". Status: ")+(_.ab(x5c)[a.Cb()]+"."));a.dispatchEvent(new _.xi(_.Dc,a))};Jed.prototype.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};Jed.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var Led=function(a,b,c,d,e,f,h){_.HO.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(Led,_.HO);Led.prototype.getData=function(){this.H=this.items;var a=f4c((new _.pA).Dc(this.Cb()).Tw(this.items),this.Tj());a=_.x(a,7,this.oa).RP(this.suggestionSessionId).mj(this.Se);return _.ek(a,18,this.ma)};
Led.prototype.update=function(a){if(pdd(this,a)&&(qdd(this,a),this.oa=a.y6(),this.suggestionSessionId=a.Wf(),this.ma=a.cla(),odd(this),this.suggestionSessionId&&J9c(this.V)&&(a=this.Ed.H(106027)))){var b=_.E(_.JM(a),S4c,20);if(!b){b=new S4c;var c=_.JM(a);_.x(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Yj()}};
var Med=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=zdd(ydd(4),f),c[e]=d):(d=zdd(ydd(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=zdd(ydd(1),d),c[e]=d)});return c},Ned=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(Med(a,b))};
var Oed=function(a,b){_.Ki.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(Oed,_.Ki);_.g=Oed.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.Yq=function(){return new _.hN};_.g.getData=function(){this.H=this.data;var a=(new _.NM).Dc(this.status);_.Ma(this.data,function(b,c){a.gU().set(c,b||new _.hF)});return a};
_.g.ms=function(){var a=Med(this.H,this.data);this.H=this.data;var b=(new hed).Dc(this.status);_.Ma(a,function(c,d){_.ck(b,2,JO).set(d,c)});return b};_.g.zT=function(){throw Error("Xf");};_.g.Qi=function(){return String(_.Da(this))};_.g.zd=function(){return this.request};_.g.update=function(a){var b={};a.gU().forEach(function(c,d){c||(c=pbd(d));b[d]=c});if(this.status!==a.Cb()||Ned(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.xi(_.Dc,this))};
_.g.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Ped=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=a2c(new _.hN,[1]);this.log("Creating find by ids live map: "+this.request.Zm().join(", "));_.ze(this,function(){h.O=!1;h.H=[]})};_.L(Ped,_.Ki);_.g=Ped.prototype;_.g.Qi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||Qed(this)};_.g.zd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.LM;_.VK(this.V)?a.Dc(o1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.ms=function(){var a=d2c(this.H,this.items),b=new D6c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.Yq=function(){return this.W};_.g.zT=function(a){F9c(a);var b=this.request;this.request=a;this.oa(this.Qi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.zd().Zm(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Wa(a.map,c),a.map.root=d);Red(b,a)}):Red(this,a)};var Red=function(a,b){if(a.status!==b.Cb()||e2c(a.items,b.map))a.status=b.Cb(),a.items=b.map,_.VK(a.V)&&(a.W=b2c(a.status,Object.values(a.items))),Qed(a)};Ped.prototype.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};Ped.prototype.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Qed=function(a){a.O&&(a.log("Livelist "+a.Qi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(x5c)[a.Cb()]+". Query: ")+(eO(a.ka,a.request)+" ")+c2c(Object.values(a.items))),a.dispatchEvent(new _.xi(_.Dc,a)))};Ped.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Sed=function(a,b,c,d,e,f){_.HO.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Sed,_.HO);Sed.prototype.getData=function(){this.H=this.items;var a=(new _.MM).Dc(this.Cb()).Tw(this.items);var b=this.Tj();a=_.A(a,4,b);return z5c(a,this.ma).RP(this.suggestionSessionId).mj(this.Se)};Sed.prototype.update=function(a){pdd(this,a)&&(qdd(this,a),this.ma=_.pk(a,_.Sk,6),this.suggestionSessionId=a.Wf(),odd(this))};
var Ted=function(){};_.g=Ted.prototype;_.g.IM=function(a,b){return xdd(wdd(1),a).setPosition(b)};_.g.HM=function(a,b){return xdd(wdd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return xdd(wdd(3).Sy(b).setPosition(c),a)};_.g.EQ=function(a,b){return xdd(wdd(4),a).setPosition(b)};_.g.lN=function(a){return a.an()};
var Ued=function(){_.AK.call(this,new Ted,function(a){return a&&a.oq()})};_.L(Ued,_.AK);
var Ved=function(a,b,c){QO.call(this,a.Lj(),a.vk(),b.Oi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Ued;this.suggestionSessionId=null;this.ka=c};_.L(Ved,QO);_.g=Ved.prototype;_.g.cH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){this.O=this.data;return d7c(c7c((new ON).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Jz(this.O,this.data);this.O=this.data;var b=(new Sdd).Dc(this.status);return _.Cb(b,2,a)};_.g.uP=function(){};_.g.Ut=function(){var a=this.status;this.NL();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()||AN(0,this.data,a.ql())){this.changed=this.H=!0;this.data=a.ql();if(a=a.Wf())this.suggestionSessionId=a;this.Ut()}};_.g.refresh=function(){this.ka()};_.g.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Wed=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=a2c(new _.hN,[1]);this.O=!0;this.limit=a.Oi();_.ze(this,function(){d.H=!1;d.V=[]})};_.L(Wed,_.Ki);_.g=Wed.prototype;_.g.Qi=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.Yq=function(){return this.W};_.g.Tj=function(){return this.O};_.g.getData=function(){this.V=this.items;return f4c((new _.pA).Dc(this.status).Tw(this.items),this.O)};_.g.ms=function(){var a=_.ZRc().Jz(this.V,this.items),b=(new _.lSc).Dc(this.status);a=_.Cb(b,2,a);this.V=this.items;return a};_.g.Nr=function(a){this.H&&(this.limit+=a||20,this.ka.PF(this.Qi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||AN(_.ZRc(),this.items,a.Hd()))this.items=a.Hd(),this.status=a.Cb(),_.VK(this.ha)&&(this.W=b2c(this.status,this.items)),this.O=a.nl(),this.H&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};_.g.Bu=function(){throw Error("Yf");};_.g.refresh=function(){};
var Xed=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=a2c(new _.hN,[1]);this.context.ag().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.Zm().join(", "));_.ze(this,function(){d.V=!1;d.O=[]})};_.L(Xed,_.Ki);_.g=Xed.prototype;_.g.Qi=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 _.LM;a.Dc(this.status);a.map=this.H;return a};_.g.ms=function(){var a=d2c(this.O,this.H),b=new D6c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.Yq=function(){return this.W};
_.g.zT=function(a){var b=this.request;this.request=a;this.ha.sZ(this.Qi(),b,a)};_.g.update=function(a){if(this.status!==a.Cb()||e2c(this.H,a.map))this.status=a.Cb(),this.H=a.map,_.VK(this.context.Pc)&&(this.W=b2c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.uB=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.zW=function(){this.dispatchEvent(new _.xi(_.XDa))};
var Yed=function(){};_.g=Yed.prototype;_.g.IM=function(a,b){return zdd(ydd(1),a).setPosition(b)};_.g.HM=function(a,b){return zdd(ydd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return zdd(ydd(3).Sy(b).setPosition(c),a)};_.g.EQ=function(a,b){return zdd(ydd(4),a).setPosition(b)};_.g.lN=function(a){return a.an()};
var Zed=function(){_.AK.call(this,new Yed,function(a){return a&&a.getId()})};_.L(Zed,_.AK);
var $ed=function(a,b,c){QO.call(this,a.Lj(),a.vk(),b.Oi()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Zed};_.L($ed,QO);_.g=$ed.prototype;_.g.cH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.Dc,this))};_.g.getData=function(){this.O=this.data;return A$c((new lO).Dc(this.status),this.data.slice(0))};_.g.ms=function(){var a=this.V.Jz(this.O,this.data);this.O=this.data;var b=(new jed).Dc(this.status);return _.Cb(b,2,a)};
_.g.uP=function(){this.ka.PF(this.Qi(),this.limit)};_.g.Ut=function(){var a=this.status;this.NL();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()||AN(0,this.data,b.ql()))this.H=!0,this.status=b.Cb(),this.data=b.ql(),this.ha=a.H,this.dispatchEvent(new _.xi(_.Dc,this))};
_.g.uB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var afd=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.zf;this.O=this.context.mga;this.oa=this.context.A6};_.g=afd.prototype;_.g.Ixa=function(a){var b=this,c=new Led(this.context.un,this.context.sQ,this.context.ag(),this.context.Pc,function(d,e){b.PF(d,e)},a,this.context.Wk());this.ai(c);_.ze(c,function(){b.fk(c)});return c};
_.g.Lxa=function(a){var b=this,c=new Sed(this.context.un,this.context.sQ,this.context.ag(),function(d,e){b.PF(d,e)},a,this.context.Pc);this.ai(c);_.ze(c,function(){b.fk(c)});return c};_.g.Fxa=function(a){var b=this,c=new Ped(this.context.Pc,this.context.un,this.context.ag(),this.context.m_,this.sZ.bind(this),a);this.ai(c);_.ze(c,function(){b.fk(c)});return c};_.g.Oxa=function(a){var b=this,c=new Wed(a,this,this.context.Pc);this.ai(c);_.ze(c,function(){b.fk(c)});return c};
_.g.Pxa=function(a){var b=this,c=new Xed(this.context,this,a);this.ai(c);_.ze(c,function(){b.fk(c)});return c};_.g.Sxa=function(a){var b=this,c=new $ed(this.context,a,this);this.ai(c);_.ze(c,function(){b.fk(c)});return c};_.g.Mxa=function(a){var b=this,c=new Ved(this.context,a,function(){if(a instanceof _.fF){var d=bfd(b.context);Yad(d,d.getKey(a)).refresh()}});this.ai(c);_.ze(c,function(){b.fk(c)});return c};
_.g.Txa=function(a){var b=this,c=new Oed(this.context,a);this.ai(c);_.ze(c,function(){b.fk(c)});return c};_.g.Cxa=function(a){var b=this,c=new Jed(this.context.Lj(),this.context.vk(),this.context.ag(),function(d,e){b.PF(d,e)},a);this.ai(c);_.ze(c,function(){b.fk(c)});return c};
_.g.ai=function(a){var b=a.Qi();this.H[b]=a;this.ha.create(b,a.zd());a=a.zd()instanceof _.mz?this.O.ai(b,a.zd()):a.zd()instanceof _.iF?Wad(this.O,b,a.zd()):a.zd()instanceof _.fF?bfd(this.context).ai(b,a.zd()):a.zd()instanceof _.pF?this.oa.ai(b,a.zd()):this.W.ai(b,a.zd());"boolean"===typeof a&&j$c(this.ha,b,a)};
_.g.fk=function(a){a.zd()instanceof _.mz?this.O.fk(a.Qi(),a.zd()):a.zd()instanceof _.iF?Xad(this.O,a.Qi(),a.zd()):a.zd()instanceof _.fF?bfd(this.context).fk(a.Qi(),a.zd()):a.zd()instanceof _.pF?this.oa.fk(a.Qi(),a.zd()):this.W.fk(a.Qi(),a.zd());hO(this.ha,a.Qi(),4);delete this.H[a.Qi()]};_.g.sZ=function(a,b,c){this.W.fk(a,b);this.W.ai(a,c)};
_.g.PF=function(a,b){var c=cfd(this,a).zd();c.Ci(b);c instanceof _.mz?this.O.ai(a,c):c instanceof _.iF?Wad(this.O,a,c):c instanceof _.pF?this.oa.ai(a,c):this.W.ai(a,c)};_.g.JO=function(a,b){var c=this.H[a]&&this.H[a].zd();c&&(c instanceof _.gf?$0c(c.O(),b.Hd().filter(function(d){return!bO(d)})):c instanceof _.Cz&&$0c(c.O(),Object.values(b.map).filter(function(d){return d&&!bO(d)})));this.ka[a]=b;this.V||(this.V=_.Mi(this.y9,50,this))};
_.g.YX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Mi(this.y9,50,this))};_.g.kA=function(a){(a=this.H[a])&&a.zW()};_.g.y9=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&&(m$c(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])hO(this.ha,a,3),d.uB(c)};
_.g.sla=function(a){return cfd(this,a).zd()};var cfd=function(a,b){if(!a.H[b])throw Error("Zf`"+b);return a.H[b]};
var RO=function(a,b){_.Ki.call(this);this.O=a;this.request=b;this.oe=_.ii();this.complete=!1;this.H=""};_.L(RO,_.Ki);RO.prototype.start=function(){var a=this;this.O.then(function(b){return b.We(a.request)}).then(this.W.bind(this)).Sg(this.handleError.bind(this));return this.oe.promise};RO.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new Ged(0,this.H));dfd(this)};
var dfd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.We(new _.xVc(a.H))}).then(function(b){if(1===b.status||3===b.status||2===b.status)a.dispatchEvent(new Ged(b.O,a.H)),dfd(a);else{a.complete=!0;if(4===b.status){var c=new ued;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.iA);c=_.A(c,8,b.H);b=_.Cb(c,4,b.W);a.oe.resolve(b)}else b=_.bL(_.Tp(_.Sp(new _.pc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}}).Sg(function(b){a.handleError(b)})},
5E3)};RO.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.We(new _.wVc(a.H))}).then(this.V.bind(this)).Sg(this.handleError.bind(this))};RO.prototype.V=function(){if(!this.complete){var a=new ued;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.oe.resolve(a);this.complete=!0;this.dispose()}};RO.prototype.handleError=function(a){this.complete=!0;this.oe.reject(_.pL(a));this.dispose()};
var efd=function(){_.xi.call(this,"VbxEwf")};_.L(efd,_.xi);
var ffd=function(a,b){this.context=a;this.H=null;this.wc=b||null};_.g=ffd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.mL,58)};_.g.getContext=function(){return this.context};_.g.Iz=function(){return this.context.QA.Iz(this.H)};_.g.ag=function(){return this.context.ag()};_.g.ZM=function(a){return _.oi(this.context.zf.wm.H(a))};_.g.oR=function(){return _.oi(this.context.QA.oR())};
_.g.x5=function(a,b,c){var d=new _.li;if(_.E(a,_.WK,3)||_.E(a,_.gM,4)||_.E(a,_.VM,5)||_.E(a,_.dM,6)||_.E(a,_.FL,7)||_.E(a,_.xL,8)||_.E(a,_.CL,9)||_.E(a,_.gL,10)){var e=g$c(a);this.context.Nm().then(function(f){return f.We(e,{I7a:b,J7a:c})}).then(this.Fab.bind(this,d),d.Qd,d);return d}throw Error("$f");};
_.g.Fab=function(a,b){var c=[],d="";if(b instanceof _.WM){c=b.od().Hd();var e=_.D(b,2);d=b.Wn()}else if(b instanceof _.iM)b.getItem()&&c.push(b.getItem()),e=b.jN();else throw Error("ag");a.callback({items:c,fja:e,pageToken:d})};_.g.Qqa=function(){var a=this.context.Pc,b=a.$f();a="email:"+_.QK(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.Fia=function(){this.context.Ws.uS();var a=this.context.Pc;Ncd(_.vM(_.QK(a)),_.wM(a),this.context.ag()).Sg(function(){})};
_.g.L9=function(){return _.yUc[_.Zj(this.context.Pc.$f(),8,0)]};_.g.Yda=function(){this.context.aG.H=new Dbd(_.ah().substring(0,8))};_.g.gT=function(){var a=this.context.aG.DN(),b=null;a&&(b=Fbd(this.context.aG),b={traceId:a,spanRecs:b});a=this.context.aG;a.H=null;a.QY=[];return _.oi(b)};_.g.DN=function(){return _.oi(this.context.aG.DN())};
_.g.getState=function(a){var b=this.context.Jj,c=b.H.bind(b);b={};b.b=this.context.Pc.Ni();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.zf.wm.Nd();c=this.context.zf.ew;var d=c.H;d&&(b.cs_sutd=d.y8,b.cs_ss=d.Nd());b.cs_ch=bad(c).length;b.cs_td=c.pW().length;(c=this.context.B6)&&(b.t_cps=c.Ytb().join(","));b.t_id=gfd(this.context);var e=
[];hfd(this.context.nR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.dz?this.context.vk().isConnected():this.context.KI.BB();b.n_o=this.context.dz?this.context.vk().$e():this.context.Lj().$e();b.n_csm=!!this.context.dz;a&&(b.csw_cc=_.Ra(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.oi(JSON.stringify(b))};_.g.eqa=function(){this.wc&&(this.wc.dispatchEvent(new efd),this.wc.Ju())};
_.g.Jl=function(a){var b=this.context.dz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.bZc(b))};
var kfd=function(a,b){this.context=a;this.Mg=b;this.H=_.jVc(_.DM(this.Mg),ifd);this.O=_.jVc(_.DM(this.Mg),jfd)};
kfd.prototype.rl=function(a){var b=this,c=this.context.jQ.Gh().Gh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.nVc(h);var k=h.getId(),l=b.context.Yn();_.GWc(h,3);_.jL(h,5);var p=u1c(h,!0);h.getCapabilities()||_.rM(h,new _.cl);_.R(p,2)&&((p=h.tk())&&p.length?_.A(h,46,p[0]):(_.qM(h,[l]),_.A(h,46,l)),l=h.Hq(),_.A(h,12,l),l=new _.Sk,l.Pb(d),_.A(l,6,1),_.UVc(l,!0),_.AWc(h,l),_.zWc(h,[l]),_.rTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.zf;var f=q9c(c.wm,a);_.Ma(f,function(h,
k){lN(h.getItem(),e[k],b.H);(b.context.Lj().$e()||b.context.vk().$e()||3===oN(h.getItem()))&&lN(h.getItem(),e[k],b.O);_.Wa(e,k)});_.Ma(e,function(h){_.fl(h.kk())&&(f[h.getId()]=new $N(h))});lfd(c,Object.values(f))};
var mfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.rl(c)},nfd=function(a){a=a.context.zf;var b=new _.gf;b.Jl(!0);b=s9c(a.wm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===oN(f)){var h=new _.ZK;_.$K(h,f.getId());_.kL(h);d.push(h)}else h=new _.Bna,_.jN(h,!1),_.A(h,2,!1),_.x(f,81,h),c.push(b[e])}lfd(a,c);a.Xo(d)},ifd=[50],jfd=[12,11,10,67,68];
var ofd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new kfd(a,a.Mg)};_.g=ofd.prototype;_.g.wY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Hab.bind(this);var b=this.Gab.bind(this);this.log("Querying all offline items.");this.H.NV().Rf(a,b);this.V||(this.H.c0((0,_.v)(this.Lxb,this)),this.V=!0)}}else nfd(this.O)};_.g.Hab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.rl(a);oO(this.context.Jj,"GZTDpc")};_.g.Gab=function(){this.log("Error fetching offline items.")};
_.g.Lxb=function(a){this.log("Handling offline change(s): "+a.length);mfd(this.O,a)};_.g.log=function(a){this.context.ag().info("drive.ds.sync.offline.LocalDataService",a)};
var SO=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 ofd(a);this.context.ha=b;this.Fa=new ffd(a,this);$1c(this.Fa);(b=_.E(a.Pc,_.mL,58))&&_.S(b,1,!1);this.Ma(this.Oc);this.O=this.context.Jj;this.W=a.kga;this.V=new afd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.zSa()};_.L(SO,_.Ki);_.g=SO.prototype;_.g.zSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.ii();var b=this.context.Wk().H(106E3);this.ma.promise.then(function(){b&&b.Yj()},function(){_.TM(a.context.Wk(),181008852)});var c=_.xM(this.context.Pc)?"(coldstart) ":"";this.context.ag().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Pc.Ni());this.Oc.listen(this.context,_.Cc,this.ovb);this.Oc.listen(this.context.KI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Oc.listen(this.context.vk(),[].concat(_.nd(Object.values(_.AA))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();oO(this.O,"NSockf")}return this.ma.promise};_.g.kXa=function(){this.context.ag().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.ovb=function(a){var b=a.error,c=b.Tg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.fZ=function(){throw TO("teamDriveQuery");};_.g.Gqa=function(){throw TO("teamDriveFindByIds");};
_.g.Hqa=function(){throw TO("teamDriveMovePreflight");};_.g.qGa=function(){throw TO("peoplePredictQuery");};_.g.query=function(a){H9c(this.context.un,a,b5c(this.context.Mg));this.tF();var b=a.clone();b=this.V.Ixa(b);this.Ta||(a=a.we(),a&&121===_.D(a,1)||(this.Ta=!0,this.Oc.listen(b,_.Dc,this.YMa)));return b};_.g.YMa=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.YMa)}};_.g.yr=function(a){this.tF();F9c(a);return this.V.Fxa(a.clone())};
_.g.Mva=function(){throw TO("activityQuery");};_.g.Awa=function(){throw TO("backupsQuery");};_.g.aHa=function(){throw TO("refreshBackups");};_.g.OV=function(){throw TO("getAndroidBackupItems");};_.g.Q8=function(){throw TO("deleteBackup");};_.g.tGa=function(){throw TO("permissionQuery");};_.g.Baa=function(){throw TO("insertPermission");};_.g.S8=function(){throw TO("deletePermission");};_.g.xd=function(){throw TO("mutate");};_.g.kO=function(){throw TO("mutateWorkspace");};
_.g.sz=function(){throw TO("bulkMutate");};_.g.Exa=function(){throw TO("createFileUploader");};_.g.NSa=function(a){return new RO(this.context.Nm(),a)};_.g.Nq=function(a){if(3===a.getType())return _.qi(this.context.Nm().then(function(b){return b.We(a)}).then(null,_.qL));throw TO("getApps with type "+a.getType());};_.g.Cr=function(){throw TO("getApp");};_.g.Daa=function(){throw TO("installApp");};_.g.P8=function(){throw TO("deleteApp");};_.g.vT=function(){throw TO("updateApp");};
_.g.IN=function(){throw TO("getUserAccount");};_.g.aH=function(){throw TO("getUserPrefs");};_.g.jS=function(){throw TO("mutateUserPref");};_.g.ju=function(){throw TO("getRevisions");};_.g.nCa=function(){return!1};_.g.Jl=function(a){this.context.dz?a?_.cZc(this.context.dz,!0):this.context.vk().$e()&&this.context.dz.yM(!0).then(null,function(){}):this.context.Lj().Jl(a)};_.g.Ry=function(){throw TO("setOfflineOptIn");};_.g.wY=function(){throw TO("setLocalItemService");};_.g.tF=function(){};
_.g.lS=function(){this.context.lS();this.context.Wk().O(106006)};_.g.d$=function(){return this.Fa};_.g.tY=function(){};_.g.BB=function(){return this.context.KI.BB()};_.g.wQ=function(){return _.S(this.context.Pc.$f(),52,!1)?_.fi($9c(new Z9c,0)):this.context.KI.wQ()};_.g.isConnected=function(){return 1===this.context.vk().get()};_.g.k8=function(){var a=this.context.dz;return a?a.yM():_.fi(_.MYc(0))};_.g.sync=function(){throw TO("sync");};_.g.Ju=function(){return this.context.Ju()};
_.g.Vba=function(){throw TO("offlineDataLoaded");};_.g.Hoa=function(a){return this.context.Nm().then(function(b){return b.We(a)}).then(function(b){return b})};_.g.$wa=function(){throw TO("categoryMetadataQuery");};_.g.j8=function(){throw TO("changeCategoryLinks");};_.g.wP=function(){throw TO("updateCategoryMetadata");};_.g.MGa=function(){throw TO("publishedCategoriesQuery");};_.g.Toa=function(){throw TO("publishedCategoryQuery");};_.g.BLa=function(){throw TO("workspaceFindByIdsRequest");};
_.g.Dra=function(){throw TO("workspaceQueryRequest");};_.g.UJa=function(){throw TO("suggestedWorkspaceItemQueryRequest");};_.g.VJa=function(){throw TO("suggestedWorkspaceQueryRequest");};_.g.$_=function(){throw TO("addCacheHint");};_.g.G0=function(){throw TO("createUserFeedback");};_.g.Xo=function(){throw TO("handleChanges");};var TO=function(a){return new _.qc(a+" is unsupported",_.oL(3))};
var D2c=function(a){SO.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Hu("")};_.L(D2c,SO);D2c.prototype.$a=function(){nO(this.O,["NSockf"],this.kXa.bind(this))};
var pfd=new Set([1,2,4,5,6]),qfd=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.Se=0};qfd.prototype.Gh=function(){var a=new _.OO;a.Dc(this.status);this.H&&_.ged(a,this.H?this.H.clone():null);return a};
var rfd=function(a,b,c,d){d=void 0===d?!1:d;var e=pfd.has(c);if(1===a.status&&!e)return!1;a.Se=c;var f=a.status;c=!a.H;if(_.VK(a.O)){var h=(h=b&&b.getUser())&&_.oF(h);h=!(!h||!Gad(a.ka,h));a.status=h&&e||d?1:6}f=!_.xk(a.H,b)||(_.VK(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.VK(a.O)||(a.status=e||d?1:6);c&&(oO(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};qfd.prototype.Ze=function(){return this.Se};
var sfd=function(a){_.Ki.call(this);this.ha=a;this.Se=0};_.L(sfd,_.Ki);var tfd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};V6c(a,_.Nd(a,4).map(b));W6c(a,_.Nd(a,5).map(b));return a};_.g=sfd.prototype;_.g.Nq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.tQ=function(){};_.g.xD=function(){return 0!==this.Se};_.g.Ze=function(){return this.Se};
var ufd=new Set([1,2,4,5,6]),vfd=function(a,b,c){sfd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Dp=!1};_.L(vfd,sfd);vfd.prototype.Nq=function(){var a=new jO;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};vfd.prototype.put=function(a){this.H[a.getId()]=tfd(a);this.V.update(1);this.dispatchEvent(new _.xi("Qb",this))};vfd.prototype.remove=function(a){_.Wa(this.H,a)&&this.V.update(1)};
vfd.prototype.tQ=function(a,b,c){c=void 0===c?!1:c;var d=!ufd.has(b);1===this.status&&d||(this.Se=b,wfd(this,a,!d||c),d||this.V.update(1),this.Dp||(this.Dp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),oO(this.ha,"nVUlO")))};
var wfd=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);_.GUc(a.H);b=_.pk(b,_.MN,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=tfd(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 UO=function(a){_.N.call(this);this.context=a;this.By=new Set;this.Np=6;this.cDa=!0;this.Se=0;this.Oc=new _.Le(this);this.Ma(this.Oc)};_.L(UO,_.N);_.g=UO.prototype;_.g.ai=function(a){this.MRa(a);this.By.add(a);this.resize(!0);this.JO(a)};_.g.MRa=function(){};_.g.fk=function(a){this.By.delete(a);0!=this.By.size||this.vZa()?this.resize(!1):this.dispose()};_.g.Ze=function(){return this.Se};_.g.mj=function(a){this.Se=a};_.g.ZB=function(a){this.cDa=!1;this.Np=a};_.g.PJ=function(){return this.Np};
_.g.refresh=function(){};_.g.yk=function(){};
var yfd=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)}}xfd(a.context.zf,d,b);d.forEach(function(k){Cbd(a.context.bNa,k,b);if(k.Bc()){var l=k.getCapabilities();bO(k)?l&&(_.fWc(l,_.R(l,13)),_.cWc(l,!1),_.jWc(l,!1)):nN(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.nWc(l,!1),_.oWc(l,!1))}k.getCapabilities()||_.rM(k,
new _.cl)})};UO.prototype.resize=function(){};UO.prototype.zd=function(){};UO.prototype.rl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=mO(e);d=c.Mu(e,!0)||d});b||(1!=this.PJ()&&(d=!0),this.ZB(1));d&&this.ZX()};var zfd=function(a,b){var c=!1;b.forEach(function(d){c=a.Mu(d)||c});c&&a.ZX();return c};_.g=UO.prototype;_.g.update=function(a){return zfd(this,[a])};_.g.Mu=function(){};_.g.ZX=function(){var a=this;this.LRa();this.By.forEach(function(b){a.JO(b)})};_.g.LRa=function(){};
_.g.JO=function(a){var b=Afd(this.context).sla(a);this.IYa(b)||(b=this.yk(b),Afd(this.context).JO(a,b))};_.g.YX=function(a){var b=this;this.ZB(3);this.By.forEach(function(c){Afd(b.context).YX(c,a)})};_.g.kA=function(){var a=this;this.By.forEach(function(b){Afd(a.context).kA(b)});this.mj(0==this.Ze()?1:6)};_.g.vZa=function(){return!1};_.g.IYa=function(){return!1};
var Bfd=function(a){_.xi.call(this,"Db");this.id=a};_.L(Bfd,_.xi);
var Cfd=function(a,b,c,d){d=void 0===d?!1:d;_.Ki.call(this);this.request=a;this.context=b;this.tLa=d;this.oe=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(Cfd,_.Ki);
Cfd.prototype.ah=function(){var a=this;if(this.oe)return this.oe.promise;this.oe=_.ii();for(var b={},c=_.m(this.request.Zm().entries()),d=c.next();!d.done;b={esa:b.esa,kfa:b.kfa,Tra:b.Tra},d=c.next()){d=_.m(d.value);var e=d.next().value;b.Tra=d.next().value;b.esa=n5c(m5c(e),this.request);b.kfa=void 0;this.tLa&&(b.kfa={tLa:!0});this.context.Nm().then(function(f){return function(h){return h.We(f.esa,f.kfa)}}(b)).then(function(f){return void Dfd(a,f)},function(f){return function(h){var k=f.Tra;h=_.zA(h);
5===h.Tg.lt()||4===h.Tg.ik()?(a.context.ag().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),Efd(a)):a.handleError(h)}}(b))}return this.oe.promise};var Dfd=function(a,b){b.od().Hd().forEach(function(c){_.jL(c,1);a.W.push(c)});Efd(a)},Efd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
Cfd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;Ffd(this);Gfd(this);this.O.size===this.request.Zm().length?(this.context.zf.rl([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.oe.resolve(this.items)):this.dispatchEvent("Cb")};
var Ffd=function(a){var b=a.W;a.W=[];b=a.context.lga.u9(b);if(_.PK(_.QK(a.context.Pc))){var c=a.context.zf.wm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.qM(d,e.tk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.zf.rl(b,1,a.originalRequest,!0)},Gfd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.kL(_.$K(new _.ZK,c));a.context.zf.Xo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new Bfd(c))})};
Cfd.prototype.handleError=function(a){var b=new iO(a.Tg,_.ak(this.context.Pc.$f(),1,1));this.context.zf.uB(this.request,b);this.dispatchEvent(b);this.oe.reject(a)};
var Hfd=function(a,b,c,d){UO.call(this,a);this.Mg=b;this.request=c;this.Pd={};this.H=null;this.O=_.fL(a.Pc)||new _.dL;d&&this.rl(d,!0)};_.L(Hfd,UO);
Hfd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Np=6;if(_.S(this.request,5,!1))return this.ZB(1),_.fi();var b=!this.cDa&&_.S(this.O,3,!1)?!1:!c1c(_.DM(this.Mg),this.request.O()),c=[],d=this.context.Yn();this.request.Zm().forEach(function(h){if("root"!==h&&h!==d){var k=a.Pd[h],l=k&&k.getItem();if(k=!k||l&&1!==oN(l)||b)l=l&&l.kk(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.rl([],!1),_.fi();this.H=_.ii();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.Ez(e,c);var f=new Cfd(e,this.context,this.request);this.context.Lj().$e()?(this.Oc.listen(this.context.Lj(),"Ab",function(h){h.$e()||(a.Oc.Wc(a.context.Lj(),"Ab"),Ifd(a,f,a.H))}),this.Np=0<Object.values(this.Pd).length?1:2):(this.context.vk().$e()&&(this.Np=0<Object.values(this.Pd).length?1:2),Ifd(this,f,this.H));return this.H.promise};var Ifd=function(a,b,c){a.Oc.listen(b,"Db",function(d){a.Pd[d.id]=null});a.kA();b.ah().then(function(){c.resolve()},c.reject)};
_.g=Hfd.prototype;_.g.Bia=function(a){var b=this;if(this.context.un.equals(a,this.request,!0)){if(c1c(_.DM(this.Mg),a.O()))return!0;if(c1c(this.request.O(),a.O(),_.DM(this.Mg))){if(this.cDa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.Zm().every(function(c){return(c=b.Pd[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.yk=function(a){var b=new _.LM;_.VK(this.context.Pc)?b.Dc(p1c(Object.values(this.Pd))?6:this.Np):b.Dc(this.Np);b.mj(this.Ze());B6c(b,_.Oa(this.Pd,function(c){return c?c.getItem():null}));yfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.zd=function(){return this.request};_.g.Mu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Pd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Pd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Gs=function(a){return!!a&&_.ma(this.request.Zm(),a.getId())};
var Jfd=function(a,b){_.xi.call(this,a);this.changes=b};_.L(Jfd,_.xi);
var Kfd=function(a){var b=new Lad;if(a.Wf()){var c=a.Wf();b.H=!1;b.suggestionSessionId=c}a instanceof _.MM&&_.pk(a,_.Sk,6).length?(a=_.pk(a,_.Sk,6),b.H=!1,b.V=a):a instanceof _.pA&&(a.y6()||a.Xsa()||a.cla().length)&&(c=a.y6(),b.H=!1,b.W=c,c=a.Xsa()||!1,b.H=!1,b.incompleteSearch=c,a=a.cla(),b.H=!1,b.O=a);return b};
var VO=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.ag();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.JGa(b);this.ha=new Lad};_.L(VO,_.Ki);var Lfd=function(a){return!a.va||""!==a.nextPageToken},Nfd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&Lfd(a)?Mfd(a):_.oi()};VO.prototype.lc=function(){return this.V.length};VO.prototype.H=function(){return this.V.slice()};
var Mfd=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 Ofd(a,c,f)});var e=_.aVc(_.bVc(new _.WK,a.Fa),c);b=_.ZUc(new _.VTc,b);a.Ha&&_.A(b,10,!0);_.$Uc(e,b);a.va=!0;a.O=!0;a.context.Nm().then(function(f){return f.We(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
VO.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.MM)var c=b;else c=b.od(),this.nextPageToken=b.Wn()||"";this.ha=Kfd(c);this.ha.vc()||this.dispatchEvent("Eb");a.callback(c.Hd())};
VO.prototype.handleError=function(a,b,c){c=_.zA(c);this.O=!1;if(5===c.Tg.lt())a.callback([]);else{if(10===c.Tg.lt()&&(_.ZUc(b,Math.ceil(_.ak(b,1,1E3)/2-2E-15)),1<_.ak(b,1,1E3))){var d=_.$Uc(_.aVc(_.bVc(new _.WK,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Nm().then(function(e){return e.We(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new iO(c.Tg,_.ak(this.context.Pc.$f(),1,1));this.ZMa(b);this.dispatchEvent(b);a.Qd(c)}};
var Ofd=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: ")+(_.cYc(a.request)+" paginationToken: ")+b;b=_.Up(_.Sp(_.bL(_.aL(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())_.jL(b.value,
a.ma?2:1);c=[];b=_.m(a.h2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.$K(new _.ZK,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new Jfd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return Mfd(a);a.dispatchEvent("Fb")};_.g=VO.prototype;_.g.h2a=function(a){return a};_.g.ZMa=function(){};_.g.zd=function(){return this.request};_.g.JGa=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 Pfd=function(a,b,c,d){VO.call(this,a,b,void 0,c,d)};_.L(Pfd,VO);Pfd.prototype.h2a=function(a){a=this.context.lga.u9(a);this.context.zf.rl(a,1,this.request,Lfd(this));return a};Pfd.prototype.ZMa=function(a){this.context.zf.uB(this.request,a)};Pfd.prototype.JGa=function(a){var b=a=VO.prototype.JGa.call(this,a),c=_.Ll(b);0===_.Nd(b,33).length&&1===c.length&&(c=this.context.zf.wm.H(c[0].Xa()))&&(c=c.Bc())&&(_.Nl(b,[c]),_.Ol(b,2));Qfd(this,a);return a};
var Qfd=function(a,b){if(_.Ll(b).some(function(d){return(d=a.context.zf.wm.H(d.Xa()))&&_.R(d,108)})){var c=b.we();c||(c=new _.sf,_.Ml(b,c));_.uf(c,937)}};
var Rfd=function(a,b,c,d){this.context=a;this.Mg=b;this.W=d;this.Joa=0;this.H=c},Vfd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Ol(_.Jl(_.Nl(new _.gf,[b]),_.DM(a.Mg)),1),d=_.uf(new _.sf,306);_.Ml(c,d);Sfd(a);c=new Pfd(a.context,c);Nfd(c,5E3).addCallback(a.V.bind(a,c));Tfd(a);Ufd(a,b)}},Tfd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof Hfd});var c=new Set;b.forEach(function(d){d.zd().Zm().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.CS([].concat(_.nd(c)),b)},Ufd=function(a,b){var c=[];(a.context.zf.RGa.CQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.xk(e.zd(),d)&&c.push(e)})});_.Ea(c);0<c.length&&(Sfd(a),c.forEach(function(d){d=eO(a.context.un,d.zd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.ki(_.hi(c.map(function(d){return d.refresh().Sg(_.Nf)})),a.O.bind(a)))};
Rfd.prototype.CS=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(_.Dz(_.Ez(new _.Cz,a),d||_.DM(this.Mg)),7,!0);_.Fz(a,b);e&&e.length&&_.Cb(a,11,e);Sfd(this);b=new Cfd(a,this.context,void 0,c);return _.ki(b.ah(),this.V.bind(this,b))};Rfd.prototype.V=function(a){a.dispose();this.O()};var Sfd=function(a){a.Joa++;a.context.Ws.setActive(!1)};Rfd.prototype.O=function(){this.Joa--;0===this.Joa&&this.context.Ws.setActive(!0)};
Rfd.prototype.log=function(a){this.context.ag().info("drive.ds.sync.cache.CacheRefresher",a)};
var Wfd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.oe=null;a=new _.sf;_.vf(a,!1);_.uf(a,305);_.Ml(this.request,a);this.Oc=new _.Le(this);this.Ma(this.Oc)};_.L(Wfd,_.N);
Wfd.prototype.ah=function(){if(!this.oe){this.oe=_.ii();if(_.S(this.request,48,!1))return this.H.mj(9),this.oe.resolve(this.H),this.oe.promise;this.O=new VO(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.oe.reject.bind(this.oe));Nfd(this.O,this.request.Oi())}return this.oe.promise};Wfd.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(mO(new $N(b)))};
Wfd.prototype.V=function(){this.H instanceof qO?this.H.H=!Lfd(this.O):Lfd(this.O)&&pO(this.H);this.H.mj(5);this.oe.resolve(this.H)};
var Yfd=function(a,b){_.xi.call(this,Xfd);this.cache=a;this.changes=b};_.L(Yfd,_.xi);var Xfd="Rb";
var Zfd=function(a,b){return new _.ei(function(c,d){b.then(function(e){var f={};a.hy().forEach(function(h){var k=h.getId();v1c(h.getItem());f[k]=new $N(h.getItem())});e.items.forEach(function(h){var k=h.Jc();k=f[k];h.wk()?k&&a.update(new J$c(k.getId(),k,null)):(h=h.getItem(),v1c(h),a.update(K$c(k,new $N(h))))});a.uX();c(e.nLb)},d)})};
var $fd=function(a,b){_.N.call(this);this.context=a;this.Mg=b};_.L($fd,_.N);
$fd.prototype.ah=function(a){this.log("Running initial view populator (IVDP).");try{var b=new QN(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.pL(q));return}a=_.QK(this.context.Pc);if(!_.PK(a)){var c=b.Gh();if(c){var d=c.getUser();d&&d.getId()===_.F(a,6,"")&&rfd(this.context.jQ,c,4)}(a=b.Yn())&&this.context.Hu(a,6)}var e=_.D(b,3)||void 0;e&&agd(this.context,e,!0);if((a=_.pk(b,_.dp,9))&&a.length){c=(c=this.context.Pc.$f())&&_.Nd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.ep(q))&&f.add(q)});this.context.sE.tQ(a,4,[].concat(_.nd(f.values())))}a=b.Hd();a.forEach(function(q){_.nVc(q);_.jL(q,6)});if(c=_.pk(b,PN,5)[0])if(b=this.context.un,j1c(_.DM(this.Mg),c.getQuery().O(),_.wM(this.context.Pc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.KRc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=dO(b,c.getQuery());var h=_.D(c,2)||void 0;d.Ci(h);h=a.map(function(q){return new $N(q,void 0,1,e)});var k=_.E(c,_.hl,
3);if(k&&_.D(c,2)){var l=h[h.length-1];_.jL(k,6);if(!_.xk(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.fL(this.context.Pc))&&_.S(k,2,!1)&&c.Wn()||"";var p=new qO(this.context.xu,this.context.Ew,this.context.un,d,l,c);p.mj(4);h.forEach(function(q){p.update(mO(q))});bgd(this.context.zf,p);l=p.zd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+eO(b,l));b=new _.WK;_.bVc(b,l);l=_.lZc(this.context.QA,
b,"IVDP");_.mZc(l,a);oO(this.context.Jj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+E9c(b,c.getQuery().O()));else this.handleError("No initial query found")};$fd.prototype.handleError=function(a,b){var c=b?void 0:_.Up(_.bL(_.aL(new _.pc,2),6));b=new _.qc(a,c,b);this.context.DJ(b.Tg);this.log("Initial view dump population failed. Message: "+a);oO(this.context.Jj,"DEJoH")};$fd.prototype.log=function(a){this.context.ag().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var cgd=function(a){_.Ki.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new sO(a.xu,a.Ew,a.Jj,function(){return a.Yn()})};_.L(cgd,_.Ki);var dgd=function(a,b){var c=_.ak(a.context.Pc,31,2E4);("number"===typeof _.D(b,3)?_.D(b,3):c+1)>c?(pO(a.O),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.QA.Jb("CachedCorpusType",b)};
cgd.prototype.log=function(a,b){this.context.ag().log(this.W,a,b||"info")};var egd=function(a,b){0===a.V&&(a.V=b)};
var fgd=function(a,b){var c;if(c=!!b&&!!b.kh())a=a.Cm(),c=null==a||!!b.kh().Cm()==a;return c};
var ggd=function(a,b){_.Ki.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(ggd,_.Ki);ggd.prototype.ah=function(){return this.H||this.O&&""===this.nextPageToken?_.oi():hgd(this)};ggd.prototype.lc=function(){return this.V.length};
var hgd=function(a){a.O=!0;a.H=!0;var b=E4c(F4c(new _.gM,a.request),a.nextPageToken),c=_.lZc(a.context.QA,b);return _.qi(a.context.Nm().then(function(d){return d.We(b)}).then(function(d){var e=d.od().Hd();a.nextPageToken=d.Wn()||"";igd(a,c,e)},function(d){return void a.handleError(d)}))},igd=function(a,b,c){_.mZc(b,c);for(b=0;b<c.length;b++)_.jL(c[b],1);a.context.zf.rl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.$K(new _.ZK,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new Jfd("Cb",d));a.nextPageToken?hgd(a):(a.H=!1,a.dispatchEvent("Fb"))};ggd.prototype.handleError=function(a){this.H=!1;a=new iO(_.cL(a),_.ak(this.context.Pc.$f(),1,1));this.dispatchEvent(a)};ggd.prototype.zd=function(){return this.request};
var jgd=function(a){this.H=_.LRc(a,{numeric:!0})};jgd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};jgd.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 kgd=function(a,b,c,d){d=void 0===d?!1:d;UO.call(this,a);this.Mg=b;this.Pd=[];this.oe=null;this.request=c.clone();this.Av=new ggd(a,this.request);this.YPb=new jgd(yN(_.QK(a.Pc)));this.XW=null!=_.R(this.request,6);_.ze(this,this.unb,this);d&&(this.oe=_.ii(),this.oe.resolve())};_.L(kgd,UO);_.g=kgd.prototype;_.g.refresh=function(){3===this.Np&&(this.Np=6,this.oe=null);return this.Xca()};_.g.isInitialized=function(){return!!this.oe};
_.g.Xca=function(){var a=this;if(this.isInitialized())return this.oe.promise;this.oe=_.ii();this.context.Lj().$e()?this.Oc.listen(this.context.Lj(),"Ab",function(b){b.$e()||(a.Oc.Wc(a.context.Lj(),"Ab"),a.kA(),a.Av.ah().Rf(a.oe.resolve,a.oe.reject,a.oe))}):this.context.vk().$e()?this.Oc.ud(this.context.vk(),[_.AA.IL,_.AA.GU],function(){a.kA();a.Av.ah().Rf(a.oe.resolve,a.oe.reject,a.oe)}):(this.kA(),this.Av.ah().Rf(this.oe.resolve,this.oe.reject,this.oe));return this.oe.promise};_.g.resize=function(){};
_.g.zd=function(){return this.request};_.g.hy=function(){return this.Pd};_.g.Bia=function(a){return this.context.un.equals(a,this.request)};_.g.yk=function(a){a=a.Oi();this.YPb.sort(this.Pd);var b=X1c(_.Aa(this.Pd,0,Math.min(a,this.Pd.length)));yfd(this,c5c(this.Mg),b);var c=new _.pA;c.Tw(b);c.Dc(this.oxa(a));c.mj(this.Ze());f4c(c,a<this.Pd.length||!(this.context.Lj().$e()||this.context.vk().$e())&&1!==this.Np);return c};
_.g.oxa=function(a){return 1===this.Np||a<=this.Pd.length?1:this.context.Lj().$e()||this.context.vk().$e()?0<this.Pd.length?1:2:6};_.g.rl=function(a,b){this.isInitialized()&&UO.prototype.rl.call(this,a,b)};_.g.Mu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Pd,function(h){return h.getId()===c}),e=!!d;b=this.Gs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.cLa(f,a.H):this.zJ(f):this.JR(a.H);else return!1;return!0};_.g.JR=function(a){this.Pd.push(a);a.count++};
_.g.zJ=function(a){_.ua(this.Pd,a);a.count--};_.g.pza=function(a){return _.la(this.Pd,a)};_.g.cLa=function(a,b){this.Pd[this.pza(a)]=b;b.count++;a.count--};_.g.Gs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.XW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Pd.find(function(d){return c===d.getId()},this);a=bO(a.getItem())&&fgd(this.request,a.getItem());return b&&a}return bO(a.getItem())&&fgd(this.request,a.getItem())};_.g.unb=function(){this.Pd.forEach(function(a){a.count--})};
_.g.vZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Nd=function(){return this.Pd.length};_.g.uX=function(){this.Np=1};
var lgd=function(a){this.H=a},mgd=function(a,b,c,d,e){if(0===e||null===b){var f=new Odd;_.A(f,2,b);_.A(f,1,d);return _.fi(f)}var h=Y9c();_.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.ny())&&void 0!==l?l:null;k=d+_.D(k,1);return mgd(a,p,c,k,e-1)})};
var ngd=function(a,b){cgd.call(this,a);this.Mg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.OD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Pc};_.L(ngd,cgd);ngd.prototype.handleError=function(){this.log("Local dump population failed.");oO(this.context.Jj,"mrK8ic")};
ngd.prototype.ah=function(){var a=this;if(this.ka)return this.ka;if(this.context.LQ){var b=new _.li;this.ka=b;this.initialize().then(function(){var c=_.pk(_.zN(a.H),xN,11);c=c[0]&&c[0].getKey()||"";return ogd(a,a.context.LQ,c,4)}).Sg(function(c){if(_.S(a.H,8,!0))return pgd(a);throw c;}).then(function(){_.VK(a.H)||a.context.zf.qr.H.clear();oO(a.context.Jj,"zaOY7");b.callback()},function(c){egd(a,8);a.handleError();b.Qd(c)});return b}this.handleError();return _.ri(Error("bg"))};
ngd.prototype.initialize=function(){var a=this;return this.context.LQ.initialize().then(function(){if(!_.xM(a.H)){var b=_.ak(_.zN(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.ei(function(c,d){Xcd(a.context.HD).then(function(e){e?c():d(Error("cg"))})})}})};
var ogd=function(a,b,c,d){var e=a.ha;qgd(a,b,c,e);rgd(a,b,c,e);sgd(a,b,c,e);return tgd(a,b,c,e).then(function(){return Promise.all([ugd(a,b,c,d,e),vgd(a,b,c,d,e),wgd(a,b,c,d,e),xgd(a,b,c,d,e)])})},qgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};BO(b,c,0,void 0,d,a.OD).then(function(f){f[0]?rfd(a.context.jQ,f[0],a.Ze(),_.xM(a.H)):e()},function(){return e()})},rgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};BO(b,
c,1,void 0,d,a.OD).then(function(f){f[0]?a.context.n_.tQ(f[0],a.Ze(),_.xM(a.H)):e()},function(){return e()})},sgd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};BO(b,c,5,void 0,d,a.OD).then(function(f){if(f[0]){f=f[0];var h=_.pk(f,_.dp,1);h.length&&a.context.sE.tQ(h,a.Ze(),_.Nd(f,2),_.xM(a.H))}else e()},function(){return e()})},ugd=function(a,b,c,d,e){var f=new _.zn;BO(b,c,3,1,e,a.OD).then(function(h){return ygd(a,h[0])}).then(function(h){if(h){b!==a.context.LQ||
j1c(_.Nd(h,12),_.DM(a.Mg),_.wM(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ws.uS());var k=_.D(h,3);if(!k||0>k)throw Error("fg");a.context.Hu(h.Yn(),d);k=_.D(h,3);"number"===typeof k&&agd(a.context,Number(k));_.xM(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.vEa());a.rl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},vgd=function(a,b,c,d,e){var f=new _.zn;BO(b,c,3,2,e,a.OD).then(function(h){h[0]?
(a.rl(h[0],d),f.resolve()):f.reject(Error("dg"))},f.reject,f);return f.promise},wgd=function(a,b,c,d,e){var f=new _.zn;BO(b,c,3,4,e,a.OD).then(function(h){h.forEach(function(k){a.rl(k,d)});f.resolve()},f.reject,f);return f.promise},xgd=function(a,b,c,d,e){var f=new _.zn;BO(b,c,3,3,e,a.OD).then(function(h){h.length?h.forEach(function(k){a.rl(k,d)}):oO(a.context.Jj,"rVezo");f.resolve()},f.reject,f);return f.promise},tgd=function(a,b,c,d){var e=new _.zn;BO(b,c,6,void 0,d,a.OD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.pk(h,kO,1).length&&(a.log("Importing "+_.pk(h,kO,1).length+" people into the PeopleCache."),h=_.pk(h,kO,1),mad(a.context.zf.qr.H,h,2));e.resolve()},e.reject,e);return e.promise},ygd=function(a,b){var c=_.D(b,3);if(c&&!_.xM(a.H)){var d=new lgd(a.context.Nm()),e=_.ak(_.zN(a.context.Pc),13,5);return mgd(d,c,null,0,e).then(function(f){return _.Q(f,2)?(a.log("Encrypted dump too stale."),a.context.Wk().O(106007),egd(a,9),null):b},function(){return b})}return _.fi(b)},
pgd=function(a){var b=CO(a.context.QL.Hi()),c=_.pk(_.zN(a.H),xN,11).filter(function(d){return d.As()});return Pcd(_.vM(_.QK(a.H)),_.wM(a.H),_.ak(_.zN(a.H),10,0)||0,_.DM(a.Mg),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 DO(_.fi(d),a.context.ag(),null,!0),h=new Obd(f,a.H,function(k){a.context.DJ(k)});h.initialize();a.ma=!0;return ogd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Ucd])}).then(function(k){if(k[0])return k=
k[0].Xa(),a.context.HD.set(Ucd,k)}).then(function(){f.close()})}return _.gi(Error("eg"))})},Cgd=function(a,b,c){switch(b.Ao()){case 1:return zgd(a,b,c);case 2:b=_.E(b,i2c,11);if(!b)throw Error("gg");dgd(a,b);a.O.UN?(a.O.mj(a.Ze()),a=[{cache:a.O,changes:zO(a.context.uz,null)}]):a=[];return a;case 3:return Agd(a,b);case 4:return Bgd(a,b);default:return null}},zgd=function(a,b,c){var d=[];_.pk(b,PN,5).forEach(function(e){var f=void 0,h=_.E(e,_.hl,3);h&&(_.nVc(h),_.R(a.H,67)&&Y0c(h,m1c),_.jL(h,c),f=new $N(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=dO(a.context.un,l,!0);return _.xk(l,k)}))e=new qO(a.context.xu,a.context.Ew,a.context.un,k,f),e.mj(a.Ze()),d.push({cache:e,changes:zO(a.context.uz,null)})});return d},Bgd=function(a,b){return _.pk(b,PN,5).map(function(c){c=new kgd(a.context,a.Mg,_.E(c,_.JK,5),!0);c.mj(a.Ze());return{cache:c,changes:zO(a.context.uz,null)}})},Agd=function(a,b){var c=_.Nd(_.pk(b,PN,5)[0].getQuery(),33)[0],d=_.D(b,3)||
void 0;b=zO(a.context.uz,c);WO(a.context).addCallback(function(f){f.Vva(c,d)});var e=new tO(a.context.xu,a.context.Ew,c);e.mj(a.Ze());return[{cache:e,changes:b}]};
ngd.prototype.rl=function(a,b){var c=this,d=Cgd(this,a,b);d&&0!==d.length?(a.Hd().forEach(function(e){_.nVc(e);_.R(c.H,67)&&Y0c(e,m1c);_.jL(e,b);if(!_.VK(c.H)&&!c.context.zf.qr.H.vc()){var f=c.context.zf.qr;Dad(f,vO(f,[e]))}e=new $N(e);for(f=0;f<d.length;f++)d[f].cache.update(mO(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Yfd(f,e.changes));c.log("Imported "+f.Nd()+" items into the "+f.getType());var h=null;f instanceof tO&&(h=f.Bc());c.context.zaa.promise.then(function(){kbd(c.context.uz,
h)})}),1===a.Ao()&&oO(this.context.Jj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.Ao()+".")};ngd.prototype.Ze=function(){return this.ma?7:3};
var Dgd=function(a){_.N.call(this);this.context=a};_.L(Dgd,_.N);Dgd.prototype.ah=function(a){try{Egd(this,new Hdd(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var Egd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:Fgd(a,b);break;case 4:Ggd(a,b);break;case 6:Hgd(a,b);break;case 2:Igd(a,b);break;case 7:Jgd(a,b);break;case 5:_.pk(_.E(b,Jdd,7),Hdd,1).forEach(function(c){Egd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},Fgd=function(a,b){var c=_.E(b,_.gf,2);b=JSON.parse(_.D(b,3)||"{}");var d=new _.WK;_.bVc(d,c);b=a.context.nR().ota.PE(d,{headers:{},text:"",json:b}).od();
Kgd(a,c,b)},Hgd=function(a,b){Kgd(a,_.E(b,_.gf,2),_.E(b,_.pA,9))},Kgd=function(a,b,c){for(var d=c.Hd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.jL(f.value,7);c=Kfd(c);a=a.context.zf;b=dO(a.context.un,b);e=XO(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new YO(a.context,b),f.mj(2),a.O[e]=f);c.vc()||f.nta(c);a.rl(d,1,b)},Igd=function(a,b){b=_.E(b,_.Wy,5);var c=a.context.Pc.$f();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.sE.tQ(_.pk(b,_.dp,3),2,[].concat(_.nd(d.values())))},Ggd=function(a,b){a.context.mga.d3(_.E(b,lO,8).ql(),_.E(b,_.mz,6),2,!1)},Jgd=function(a,b){var c=_.E(b,_.fF,10);b=JSON.parse(_.D(b,3)||"{}");b=a.context.nR().ota.PE(c,{headers:{},text:"",json:b});bfd(a.context).d3([b],c,2,!1)};Dgd.prototype.handleError=function(a,b){var c=b?void 0:_.Up(_.bL(_.aL(new _.pc,2),6));this.context.dispatchEvent(new _.rc(new _.qc(a,c,b)));this.log("Prefetched request population failed.")};
Dgd.prototype.log=function(a){this.context.ag().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var ZO=function(a){cgd.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(ZO,cgd);ZO.prototype.ah=function(){if(!_.S(this.context.Pc,45,!1))return egd(this,5),this.handleError(),_.ri(Error("hg"));this.log("Drive SDK cache population initiated.");return this.context.RVa().addCallback(this.va,this).addCallback(this.oa,this).Jg(this.handleError,this)};
ZO.prototype.va=function(){var a=this;oO(this.context.Jj,"L6uQWd");WO(this.context).addCallback(function(b){b.Gea()});if(_.S(this.context.Pc,46,!1))return h2c(this.context.Nm(),this.context.ag()).addCallback(function(b){if(!b)throw egd(a,4),Error("ig");dgd(a,b)});this.log("Subscribed corpus cache population disabled.");pO(this.O);return _.oi()};
ZO.prototype.oa=function(){this.context.vEa();var a=new _.li;if(this.O.UN){this.log("Starting subscribed corpus cache population.");var b=this.O.zd();b.Ci(this.ma);this.O.mj(5);Lgd(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 qO(this.context.xu,this.context.Ew,this.context.un,c.value),c.mj(5),Lgd(this,c,c.zd()),c=eO(this.context.un,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 Lgd=function(a,b,c){var d=zO(a.context.uz,null);b=new Wfd(a.context,b,c);a.H.push(b);b=_.ki(b.ah().then(function(e){!e.UN&&e instanceof sO&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.QA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Yfd(e,d))}),function(){a.context.zaa.promise.then(function(){kbd(a.context.uz,null)})});a.ha.push(b)};
ZO.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();egd(this,7);c=b;b instanceof iO?c=_.pL(b.error):_.UK(b)||(c=Error("jg`"+b));a.Qd(c)};ZO.prototype.handleError=function(){this.log("Drive SDK cache population failed.");oO(this.context.Jj,"Gv4zef")};ZO.prototype.Ze=function(){return 5};
var Mgd=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 ngd(this.context,this.context.Mg);this.Ma(this.H);this.O=new ZO(this.context);this.Ma(this.O)};_.L(Mgd,_.N);
Mgd.prototype.ah=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Wk().H(106002);_.n._DRIVE_dsp&&Ngd(this);_.n._DRIVE_dspc=function(c){Ngd(a,c)};zO(this.context.uz,null);_.S(this.context.Pc,24,!1)&&!_.xM(this.context.Pc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?Ogd(this):_.n._DRIVE_ivdc=function(){Ogd(a)});var b=this.context.LQ;if(b)return this.Oc.listen(this.H,Xfd,this.ha),this.Oc.listen(this.O,Xfd,this.ha),(!_.S(this.context.Pc,10,!1)&&_.R(this.context.Pc,
69)?this.context.OX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.OD=a.impression);return a.H.ah().Rf(function(){return Pgd(a,a.H.Ze())},function(){Qgd(a,a.H.Ze(),a.H.V);return _.xM(a.context.Pc)?a.handleError(Error("kg")):a.O.ah().then(function(){return Pgd(a,a.O.Ze())},function(c){Qgd(a,a.O.Ze(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.UK(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var Ngd=function(a,b){var c=new Dgd(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.ah(d)});c.dispose()};Mgd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(Rgd(this,b,a.changes))};
var Pgd=function(a,b){kbd(a.context.uz,null);oO(a.context.Jj,"L6uQWd");WO(a.context).addCallback(function(c){c.Gea()});return Promise.all(a.W).then(function(){Sgd(a,b)})},Sgd=function(a,b){if(!a.isDisposed()){_.xM(a.context.Pc)||Tgd(a.V,_.pk(a.context.Pc,_.gf,44));a.log("Corpus cache population complete.");var c=a.context.Jj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ws.wEa():Xcd(a.context.HD).then(function(d){d&&a.context.Ws.wEa()},function(){});oO(c,"rVezo");oO(c,"BNEDtc");a.impression&&(b=_.KM(_.jUc,
b),W4c(e5c(a.impression),b),V4c(e5c(a.impression),!0),X4c(e5c(a.impression),t9c(a.V.wm)),Y4c(e5c(a.impression),a.context.zf.Ao()),a.impression.Yj());a.dispose()}},Qgd=function(a,b,c){a.impression&&(b=_.KM(_.jUc,b),W4c(e5c(a.impression),b),a=e5c(a.impression),_.nk(a,3,c,void 0))};
Mgd.prototype.handleError=function(a,b){b=void 0===b?!1:b;kbd(this.context.uz,null);var c=this.context.Jj;oO(c,"L6uQWd");WO(this.context).addCallback(function(d){d.Gea()});oO(c,"mrK8ic");oO(c,"Gv4zef");oO(c,"rVezo");oO(c,"BNEDtc");this.context.QA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.LQ||_.S(this.O.context.Pc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.UK(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.qc(b,void 0,c),c=a.Tg,_.aL(c,_.xM(this.context.Pc)?3:
1),_.bL(c,6),_.Sp(c,b),_.Up(c),this.context.dispatchEvent(new _.rc(a))):this.log("Corpus population skipped");this.impression&&(V4c(e5c(this.impression),!1),this.impression.Yj());this.dispose()};
var Rgd=function(a,b,c){return Zfd(b,c).then(function(d){d.some(function(e){return b instanceof tO&&e.wk()&&e.Jc()===b.Bc()})||bgd(a.V,b,d)},function(){return a.handleError(Error("lg"))})},Ogd=function(a){if(_.n._DRIVE_ivd){var b=new $fd(a.context,a.context.Mg);a.Ma(b);b.ah(_.n._DRIVE_ivd)}else oO(a.context.Jj,"DEJoH")};Mgd.prototype.log=function(a){this.context.ag().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Ugd=function(){rO.apply(this,arguments)};_.L(Ugd,rO);Ugd.prototype.Gs=function(a){var b;if(b=rO.prototype.Gs.call(this,a))a=a&&a.getItem()&&a.getItem().kk(),b=!(!a||!_.R(a,3));return b};Ugd.prototype.zd=function(){};Ugd.prototype.getType=function(){};Ugd.prototype.YN=function(){};
var Vgd=function(a,b){this.context=a;this.H=b;this.CQ={}},Xgd=function(a,b){if(!_.OL(b)){var c=_.Nd(b,33);if(1===c.length)Wgd(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.zf.PL;var e=_.uf(new _.sf,310);c.CS([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.ke(h)&&(f=f.Bc(),Wgd(a,f,b))}else Wgd(a,null,b)});return}if(c.getItem().Bc()&&_.ke(c.getItem().getCapabilities())){c=c.getItem().Bc();Wgd(a,c,b);return}}Wgd(a,
null,b)}}},Wgd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!bO(d.getItem()))return}d=b||"subscribed";a.CQ[d]||(a.CQ[d]=[]);a.CQ[d].push(c);b&&(WO(a.context).addCallback(function(e){e.Vva(b)}),Ygd(a.context.fKa,b))},Zgd=function(a,b){if(!_.OL(b)){var c={},d;for(d in a.CQ){c.ST=d;for(var e=0;e<a.CQ[c.ST].length;e++)if(_.xk(b,a.CQ[c.ST][e])){_.sa(a.CQ[c.ST],e);"subscribed"!==c.ST&&WO(a.context).addCallback(function(f){return function(h){h.uHa(f.ST,!1)}}(c));return}c={ST:c.ST}}}};
var $gd=function(){this.H=new Map;this.O=[];this.V=[]};
$gd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();mN(e)&&(a?(e=a.getItem().Af())&&_.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 ahd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},bhd=function(a){a.O=[];a.V=[]};
var chd=function(a,b){AO.call(this,a.clone(),b.Nm(),b.Pc,b.ag());this.context=b};_.L(chd,AO);chd.prototype.W=function(a){var b=new Map;a.Zm().forEach(function(c){var d=a.clone();d=_.ek(d,2,[c]);b.set(c,d)});return b};chd.prototype.V=function(a){a=a.Hd()[0];this.context.zf.rl([a],1,void 0,!0,this.request.O())};chd.prototype.ha=function(a){this.context.zf.rl([],1,a,!1,this.request.O())};chd.prototype.ka=function(a){a=_.kL(_.$K(new _.ZK,a));this.context.zf.Xo([a])};
var dhd=function(a,b,c,d){UO.call(this,a);this.Mg=b;this.request=c;this.Pd={};d&&this.rl(d,!0)};_.L(dhd,UO);_.g=dhd.prototype;
_.g.refresh=function(){var a=this;this.Np=6;var b=aO(this.context.Pc)!==aO(this.context.Pc,this.request.O()),c=[];this.request.Zm().forEach(function(h){var k=a.Pd[h];k&&k.getItem().kh()&&!b||c.push(h)});if(0===c.length)return this.rl([],!1),_.fi();var d=this.request.clone();_.ek(d,2,c);var e=new chd(d,this.context),f=_.ii();this.context.Lj().$e()?(this.Oc.listen(this.context.Lj(),"Ab",function(h){h.$e()||(a.Oc.Wc(a.context.Lj(),"Ab"),a.kA(),e.ah().then(f.resolve,f.reject,f))}),this.Np=0<_.Ra(this.Pd)?
1:2):(this.context.vk().$e()&&(this.Np=0<_.Ra(this.Pd)?1:2),this.kA(),e.ah().then(f.resolve,f.reject,f));return f.promise};_.g.Bia=function(a){return this.context.un.equals(a,this.request)&&c1c(_.DM(this.Mg),a.O())};_.g.yk=function(a){var b=new _.LM;b.Dc(this.Np);b.mj(this.Ze());B6c(b,_.Oa(this.Pd,function(c){return c?c.getItem():null}));yfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.zd=function(){return this.request};
_.g.Mu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Pd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Pd[a.id]=null,a.O.count--);else return!1;return!0};_.g.Gs=function(a){return!!a&&this.request.Zm().includes(a.getId())};
var YO=function(a,b,c,d,e){UO.call(this,a);var f=this;this.V=0;this.Pd=[];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.Av=new Pfd(this.context,this.request,!1,e);b=this.request.Ac()&&v9c(this.request.Ac());var h=this.context.Ew;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.XW=!b||!n9c(this.request)||_.PK(_.QK(a.Pc));this.Fa=T$c(this.request);
c&&this.rl(c,!d);this.va=_.ak(a.Pc.$f(),16,36E5);_.kM(this.request)&&this.Oc.listen(this.context.Rha,"Hb",this.Ha);_.ze(this,function(){_.aa(f.Av);f.clear()})};_.L(YO,UO);YO.prototype.refresh=function(){return ehd(this,!1)};var ehd=function(a,b){a.Np=6;if(_.S(a.request,48,!1))return a.Np=1,_.fi();if(_.kM(a.request)){var c=fhd,d=a.context.Rha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return ghd(a,b)};
YO.prototype.initialize=function(){return this.count>=this.request.Oi()||1===this.Np?_.fi():this.refresh()};YO.prototype.clear=function(){hhd(this)};var hhd=function(a){a.Pd.forEach(function(b){b.count--});a.count=0;a.Pd=[];a.O.clear()},fhd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return ehd(a,!0)},b)};YO.prototype.Ha=function(){Date.now()-this.oa>this.va&&fhd(this,0)};
var ghd=function(a,b){a.Av&&(a.Oc.Wc(a.Av,"Eb",a.nta),a.Oc.Wc(a.Av,"Fb",a.$Ma),a.Av.dispose());var c=a.request.we();c&&_.vf(c,!1);a.Av=new Pfd(a.context,a.request,b);a.V=0;a.Oc.listen(a.Av,"Eb",function(){return a.nta(a.Av.ha)});a.Oc.listen(a.Av,"Fb",a.$Ma);return a.Xca()};
YO.prototype.Xca=function(){var a=this,b=_.ii();this.context.Lj().$e()?this.Oc.listen(this.context.Lj(),"Ab",function(c){c.$e()||(a.Oc.Wc(a.context.Lj(),"Ab"),ihd(a,b))}):this.context.vk().$e()?this.Oc.ud(this.context.vk(),[_.AA.IL,_.AA.GU],function(){ihd(a,b)}):ihd(this,b);return b.promise};var ihd=function(a,b){a.kA();var c=a.request.Oi()+a.V;_.Uja(Nfd(a.Av,c).Rf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=YO.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.nd(this.By)))),d=c.next();!d.done;d=c.next())d=d.value,d=Afd(this.context).sla(d),b=Math.max(b,d.Oi());_.kM(this.request)?(this.request.Ci(b),2!==this.Ze()&&!this.Av.O&&(b>this.count||a)?this.refresh():this.IJ()):this.request.Oi()!==b&&(this.request.Ci(b),b>this.count?this.Xca():this.IJ())};_.g.zd=function(){return this.request};_.g.Bia=function(a){return this.context.un.equals(a,this.request)};
_.g.yk=function(a){var b=a.Oi(),c,d=!1;if(_.PL(this.request)){var e=this.Pd.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();g1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.ll(l.getItem()).length})}d=p1c(e);c=new _.MM;_.A(c,4,!1);z5c(c,f)}else e=this.Pd.slice(0,b),c=new _.pA,f4c(c,b<this.Pd.length||!(this.context.Lj().$e()||
this.context.vk().$e())&&1!==this.Np),_.x(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.ek(c,18,this.ha),d=p1c(e);e=X1c(e);yfd(this,a.O(),e);c.Tw(e);c.Dc(d?6:this.oxa(b));c.mj(this.Ze());c.RP(this.suggestionSessionId);return c};_.g.oxa=function(a){return 1===this.Np||a<=this.count?1:this.context.Lj().$e()||this.context.vk().$e()?0<this.Pd.length?1:2:6};_.g.nta=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.RAa();this.W=a.V;this.suggestionSessionId=a.Wf()};
_.g.$Ma=function(){var a=this.request.Oi()-this.count;0<a&&Lfd(this.Av)&&(this.V+=a,this.Xca())};_.g.rl=function(a,b){_.kM(this.request)&&hhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=mO(d.value),c=this.Mu(d,!0)||c;b||(1!==this.Np&&(c=!0),this.Np=1);if(a=this.H){a:{a=this.Pd;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.Ln("ViewCache unsorted after import"),this.context.Ew.sort(this.request,this.Pd));c&&(this.ZX(),jhd(this,b))};
var jhd=function(a,b){_.Ll(a.request).length&&a.Pd.length&&a.context.m_.then(function(c){var d=k5c(a.context.Wk(),106024,a.ma);if(d){var e=_.Ll(a.request)[0].Xa(),f=_.E(_.JM(d),R4c,18);if(!f){f=new R4c;var h=_.JM(d);_.x(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Ft(a.Pd.length);e=a.context.zf.Ao();_.A(c,4,e);a.ma=d;d.Yj()}})};_.g=YO.prototype;
_.g.Mu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Gs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Ln("Updating different wrapper from the existing one"):this.Ln("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.cLa(f,a.H):(this.zJ(f),_.kM(this.request)&&fhd(this,0));else{if(_.kM(this.request)&&!b)return!1;this.JR(a.H)}else return!1;return!0};_.g.JR=function(a){this.H?T0c(this.Pd,a,this.H):this.Pd.push(a);a.count++;khd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.zJ=function(a){if(this.H){var b=this.Pd,c=_.Ha(b,a,this.H);0<=c&&_.sa(b,c)}else _.ua(this.Pd,a);a.count--;khd(a)&&this.count--;this.O.delete(a.getId())};_.g.pza=function(a){return this.H?_.Ha(this.Pd,a,this.H):_.la(this.Pd,a)};_.g.cLa=function(a,b){this.H&&0!==this.H(a,b)?(this.zJ(a),this.JR(b)):(this.Pd[this.pza(a)]=b,b.count++,khd(b)&&this.count++,a.count--,khd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Gs=function(a,b){if(!a)return!1;if(this.XW&&!_.kM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Pd.find(function(e){return c===e.getId()},this);a=cO(this.context.xu,this.request,a.getItem());return b&&a}}if(!cO(this.context.xu,this.request,a.getItem()))return!1;var d=1.2*this.request.Oi();if(1===this.Np||!this.H||X8c(a.H,2)||this.count<d||b||w1c(a.getItem()))return!0;b=0===this.Pd.length?null:this.Pd[this.Pd.length-1];return!!b&&0>=this.H(a,b)};
_.g.IJ=function(){if(1!==this.Np&&!this.context.Lj().$e()&&!this.context.vk().$e()){var a=1.2*this.request.Oi();if(!(a>=this.count||this.Av&&a>=this.Av.lc())){a=this.count-this.request.Oi();for(var b=this.Pd.length-1;0<=b&&0<a;b--){var c=this.Pd[b];X8c(c.H,2)||w1c(c.getItem())||(c.count--,khd(c)&&this.count--,this.O.delete(c.getId()),_.sa(this.Pd,b),a--)}ghd(this,!1)}}};_.g.Ln=function(a){var b=new _.pc;_.aL(b,2);_.bL(b,6);_.Up(b);this.context.dispatchEvent(new _.rc(new _.qc(a,b)))};
var khd=function(a){return!X8c(a.H,2)&&3!==oN(a.getItem())};YO.prototype.MRa=function(a){var b=this,c=_.Ll(this.request);c.length&&(c=c.some(function(d){return(d=b.context.zf.wm.H(d.Xa()))&&_.R(d,108)}),k$c(this.context.kga,a,c))};YO.prototype.LRa=function(){this.IJ()};YO.prototype.IYa=function(a){return 1!==this.Np&&a.Oi()>this.count&&this.Av.O};
var $O=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new $gd;this.Oc=new _.Le(this);this.Ma(this.Oc);this.context=a;this.Mg=b;this.ma=_.fL(this.context.Pc)||new _.dL;this.ew=new $$c(a.un);if(null===(c=_.fL(this.context.Pc))||void 0===c?0:_.S(c,15,!1))b=new P$c(a.xu,a.Ew),this.ew.add(b);this.H=new m9c(a.m_,a.xu,a.Ew);_.R(a.Pc,60)&&(this.Ba=new Ugd(a.xu,a.Ew));this.V=new h9c(a.ag(),_.DM(this.Mg));lhd(this,_.Nd(this.context.Pc,28));this.wm=new p9c(this.Mg,this.context.un,this.H,this.V);
this.context.Wk().W.H=this.wm;this.PL=new Rfd(this.context,this.Mg,this.O,this.H);this.RGa=new Vgd(this.context,this.H);this.ka=new Mgd(this.context,this);_.ze(this.ka,function(){d.ka=null});this.va=_.jVc(_.DM(this.Mg),mhd);nO(this.context.Jj,["NSockf"],function(){return d.initialize()});nO(this.context.Jj,["NSockf","jroI5d"],function(){var e=d.context.Pc;if(_.E(e,_.hl,12))e=_.E(e,_.hl,12);else{var f=_.UVc(_.WVc(new _.Sk,_.vM(_.QK(e))),!0);f=_.A(f,6,1);var h=_.F(_.QK(e),6,"");h&&f.Pb(h);f=_.rTb(_.zWc(_.AWc(_.jF((new _.hl).Pb(d.context.Yn()).setTitle(_.F(e,
38,"My Drive")),"application/vnd.google-apps.folder").On(!1),f),[f]),1);f=_.A(f,29,!0);f=_.A(f,63,!0);e=_.XVc(new _.cl,_.S(e,6,!0));e=_.A(e,2,!1);e=_.rM(f,_.jWc(_.cWc(_.bWc(_.fWc(_.gWc(_.eWc(_.dWc(_.aWc(_.$Vc(_.ZVc(_.YVc(_.A(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.rl([e],1);oO(d.context.Jj,"hVFf7")});this.ha=_.ii();nO(this.context.Jj,["BNEDtc"],function(){d.ha.resolve()});this.qr=new xad(this.context.Pc,this.context.ag(),a.Nm(),a.kga,this.context.Wk(),this.context.OX.promise);_.VK(this.context.Pc)&&
this.Oc.listen(this.qr,"Kb",this.oa);this.aNa=new _.YYc(this.context.Pc,this.wm)};_.L($O,_.N);
$O.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.qr.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(),nhd(this,e),a.push(K$c(d,new $N(e,void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+e+".","warning")}ohd(this,a,[]);this.context.Ws.update(6)};
$O.prototype.initialize=function(){this.ka.ah()};
$O.prototype.ai=function(a,b){if(b instanceof _.gf)b=dO(this.context.un,b),phd(this,b.O()),Xgd(this.RGa,b),b=qhd(this,b),b.cache.ai(a);else if(b instanceof _.Cz)b=rhd(this,b),phd(this,b.O()),b=shd(this,b),b.cache.ai(a);else if(b instanceof _.JK){var c=XO(this,b),d=this.O[c];d?(3==d.PJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,uv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new kgd(this.context,this.Mg,b),d.refresh().Sg(_.Nf),this.O[c]=d,b={cache:d,uv:!0});b.cache.ai(a)}else if(b instanceof _.gF)c=b.O(),d=this.V,i9c(d,d.H,d.O,c),b=shd(this,b),b.cache.ai(a);else throw Error("mg");return b.uv};
$O.prototype.fk=function(a,b){if(b instanceof _.gf)b=dO(this.context.un,b),Zgd(this.RGa,b);else if(b instanceof _.Cz)b=rhd(this,b);else if(!(b instanceof _.JK||b instanceof _.gF))throw Error("mg");b=XO(this,b);var c=this.O[b];c&&(c.fk(a),this.log("Unregistering live request: "+b),c.isDisposed()&&delete this.O[b])};
var XO=function(a,b){return eO(a.context.un,b,2)},qhd=function(a,b){var c=XO(a,b),d=a.O[c];if(d)return 3==d.PJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,uv:!1};d=[];for(var e=5,f,h,k=aad(a.ew),l=0;l<k.length;l++){var p=k[l];e=p.JE(b);if(5!=e){f=1==e?void 0:b.Oi();d=p.Fla(b,f);f=p.Ze();h=p instanceof qO?p.ny():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Nd()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Lj().$e()||a.context.vk().$e())d=d.concat(a.H.query(b,1)),_.Ea(d,void 0,function(q){return q.getId()}),e=(e=a.ew.H)&&e.y8&&5!=e.JE(b)?e.JE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new YO(a.context,b,d,1==e,h);f&&d.mj(f);d.rl(a.H.query(b,2),1!=e);d.initialize().Sg(function(q){q=_.cL(q);_.Up(q);a.context.dispatchEvent(new _.rc(new _.qc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
uv:!0}},shd=function(a,b){var c=XO(a,b),d=!1,e=a.O[c];if(e&&e.Bia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.Zm()),h;b instanceof _.Cz?h=new Hfd(a.context,a.Mg,b,f):h=new dhd(a.context,a.Mg,b,f);f.length&&h.mj(8);h.refresh().Sg(_.Nf);b=h;d=!0;a.O[c]=b;e?(thd(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,uv:d}};
$O.prototype.pW=function(){return Object.values(this.O).filter(function(a){return a.zd()instanceof _.JK})};
$O.prototype.z2a=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=E9c(this.context.un,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.PL.CS([a],b,!1,c))};
var xfd=function(a,b,c){c&&c.length&&k9c(a.V,b,c);_.VK(a.context.Pc)&&(a=a.qr,Dad(a,vO(a,b)))},bgd=function(a,b,c){if(b instanceof kgd){var d=XO(a,b.zd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof N$c&&a.ew.remove(b);var e={},f=new Map;d=a.H.hy();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.hy().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=oN(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new J$c(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=mO(q),a.H.update(r),a.W.update(r),_.VK(a.context.Pc)&&a.qr.xP(r);_.VK(a.context.Pc)&&nhd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(mO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof kgd?(d=XO(a,b.zd()),a.O[d]=b):a.ew.add(b);var p=[];_.Ma(e,function(q){var r=new _.ZK;_.$K(r,q.getId());r.setItem(q);p.push(r)});a.Xo(p);a.log("Merged cache: "+b.getType());b instanceof
tO&&c.forEach(function(q){uhd(a.context.pta,q)});a.context.Ws.update(3)},thd=function(a,b){(new Set([].concat(_.nd(a.By)))).forEach(function(c){b.ai(c);a.fk(c)})};
$O.prototype.rl=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.nd(c.O().filter(function(C){return!_.DM(f.Mg).includes(C)}))):[]);c&&c instanceof _.gf&&_.kM(c)&&vhd(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new $N(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=whd(this,u,r);if(null!=z)r.ZD(z),xhd(this,y,q),v1c(q),q=f9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.VK(this.context.Pc)&&nhd(this,q);!u||yhd(this,y,q,e)?(l.push(K$c(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.gf){if(null===(h=_.fL(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=dad(this.ew,c))&&a.rl(k,!!d)}c=XO(this,c);(a=this.O[c])&&a.rl(k,!!d)}0<l.length&&(_.VK(this.context.Pc)&&l.forEach(function(C){return f.qr.xP(C)}),ohd(this,l,e,a?[a]:[]),zhd(this,k));Afd(this.context).y9()};
var nhd=function(a,b){Had(a.qr,b)||5!=oN(b)||_.GWc(b,1)},yhd=function(a,b,c,d){(b=b?_.fk(b.clone(),82):null)&&xfd(a,[b],d);c=_.fk(c.clone(),82);xfd(a,[c],[]);return!_.xk(b,c)},vhd=function(a,b,c){Ahd(a,b,c);b.forEach(function(d,e){var f=a.wm.H(d.getId());f&&(lN(f,d,[1002]),lN(f,d,[1003]),lN(f,d,[1005]),b[e]=f);_.OL(c)&&0<_.Nd(c,33).length&&_.HWc(d,_.Nd(c,33)[0])})},Ahd=function(a,b,c){var d;_.OL(c)?d="quick access":_.PL(c)?d="people predict":_.QL(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},lfd=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.rl(X1c(d),e)})};$O.prototype.nma=function(a){this.aNa.nma(a)};
$O.prototype.Xo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.wk()?null:e.getItem(),h=e.Jc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new $N(f,void 0,void 0,_.D(e,1)||void 0);var p=whd(this,h,l);if(null==p)continue;l.ZD(p);xhd(this,k,f);_.S(e,5,!1)&&Y0c(f,m1c);v1c(f);f=f9c(f,k);l.setItem(f);_.VK(this.context.Pc)&&nhd(this,f)}if(k&&!f||f&&yhd(this,k,f,[]))this.context.fKa.uy(e),c.push(K$c(h,l))}_.VK(this.context.Pc)&&c.forEach(function(q){return b.qr.xP(q)});ohd(this,
c,[])};var xhd=function(a,b,c){b&&!c.kk()&&lN(c,b,a.va);var d=b?b.Af():null,e=c.Af();e=e?_.Rd(e):null;d&&e&&xhd(a,_.Rd(d),e);b&&!_.kl(c)&&lN(c,b,[1002]);b&&!_.ll(c).length&&lN(c,b,[1003]);b&&!_.ml(c).length&&lN(c,b,[1005]);b&&null==c.g2()&&lN(c,b,[71]);b&&null==_.D(c,79)&&lN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(Y0c(c,m1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
$O.prototype.uB=function(a,b){if(a instanceof _.gf||a instanceof _.Cz||a instanceof _.JK)a=XO(this,a),(a=this.O[a])&&a.YX(b);else throw Error("mg");};var whd=function(a,b,c){var d=c.getItem();if(bbd(a.context.lga,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!=oN(a)&&!bO(a)&&!bO(d)&&a.Bc()==d.Bc())if(a.Hi()&&d.Hi()){if(a.Hi()>d.Hi())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Hq()>d.Hq())return null}return Y8c(b&&b.H,c.H)};
$O.prototype.mI=function(a,b){(a=this.H.get(a))&&a.ZD(Y8c(a.H,b))};
var ohd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.fL(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())zfd(h.value,b);h=aad(a.ew);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 tO&&f.Nd()>=1.2*f.limit&&Bhd(a.context.fKa,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.IJ(h.id),a.W.update(h);0<d&&a.context.Ws.doa(d);Chd(a)},Chd=function(a){var b=a.W.O.slice(0),c=ahd(a.W);bhd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.sf;_.uf(d,308);a.PL.CS(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=q9c(a.wm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Af(),k=_.D(h,1);if(k=a.wm.H(k))_.x(h,5,k),_.A(h,4,1),e.push(f)});lfd(a,e)}},Dhd=function(a){Afd(a.context).y9();a.H.IJ()},rhd=function(a,b){_.Ia(b.O());var c=_.la(b.Zm(),"root");if(0>c)return b;b=b.clone();b.Zm()[c]=a.context.Yn();return b},lhd=function(a,b){_.S(a.ma,1,!1)||(b=d5c(a.Mg,b),a=a.V,i9c(a,a.items,a.fields,b))},phd=function(a,b){_.S(a.ma,1,!1)&&(b=d5c(a.Mg,b),a=a.V,i9c(a,a.items,a.fields,b))},zhd=
function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==oN(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.PL.CS(c,d)}})},Tgd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!dad(a.ew,c)){a.log("Adding new cache hint for "+XO(a,c));var d=new qO(a.context.xu,a.context.Ew,a.context.un,c);c=new Wfd(a.context,d,c);var e=zO(a.context.uz,null);_.ki(c.ah().then(function(){Zfd(d,
e).then(function(f){bgd(a,d,f)})}),function(){kbd(a.context.uz,null)})}})})};$O.prototype.Ao=function(){var a=this.ew.H;return a&&a.UN?1:2};$O.prototype.log=function(a,b){this.context.ag().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var mhd=[50];
var Fhd=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;Ycd(this.context.HD).then(function(d){b.H=d||[];c.resolve();Ehd(b)},function(){return c.resolve()});nO(this.context.Jj,["rVezo"],(0,_.v)(this.W,this))};_.L(Fhd,_.N);
var Ygd=function(a,b){_.S(a.context.Pc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(g9c(a.context.zf.wm.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.HD.set(Scd,a.H)}a.context.zf.ew.pW().length+a.O.size<_.ak(a.context.Pc,47,5)&&(Ehd(a),a.W())})},Ghd=function(a,b){_.ua(a.H,b)&&a.context.HD.set(Scd,a.H)};
Fhd.prototype.uy=function(a){uhd(this.context.pta,a);if(bO(a)){var b=a.Bc();a.wk()?Bhd(this,b,!0):(a=a.getItem(),g9c(a)&&Ghd(this,b))}};var Bhd=function(a,b,c){Ghd(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.zf.ew;for(var e=d.pW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ws.update(3);break}}WO(a.context).addCallback(function(k){k.uHa(b,c)});a.W()};
Fhd.prototype.W=function(){if(this.context.Jj.H("rVezo")){var a=this.context.zf.ew;Hhd(this);for(var b={};this.V.lc()&&!(this.ha>=_.ak(this.context.Pc,47,5));){var c=_.sl(this.V);this.ha++;cad(a,c)||this.O.has(c)||(this.O.set(c,null),b.Gfa=new _.FVc,_.A(b.Gfa,1,c),this.context.Nm().then(function(d){return function(e){return e.We(d.Gfa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={Gfa:b.Gfa}}}};
var Ehd=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},Hhd=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){Ehd(a);a.W()},36E5)};Fhd.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)),Ihd(this,a,!1)):Jhd(this,a)};
Fhd.prototype.ma=function(a,b){(b=_.cL(b).ik())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.kL(_.NUc(_.$K(new _.ZK,a),a)),this.context.zf.Xo([a])):Jhd(this,a)};
var Jhd=function(a,b){var c=new tO(a.context.xu,a.context.Ew,b),d=c.zd().clone();d.Ci(_.ak(a.context.Pc,48,1E3));d=new Wfd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=zO(a.context.uz,b);WO(a.context).addCallback(function(f){f.Vva(b)});_.ki(d.ah().then(function(){Khd(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;Ihd(a,b,!0)}),function(){kbd(a.context.uz,b)})},Khd=function(a,b,c,d){c.UN?(c.uX(),Zfd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Nd());bgd(a.context.zf,
c,e);Ihd(a,b,!1)},function(){a.log(b,"Backfill changes failed");Ihd(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),Ihd(a,b,!0))},Ihd=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&WO(a.context).addCallback(function(e){e.uHa(b,!1)});a.W();0<a.O.size||a.context.zf.ew.pW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){Bhd(a,e,!0)})};
Fhd.prototype.log=function(a,b){this.context.ag().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var Lhd=function(){_.N.apply(this,arguments)};_.L(Lhd,_.N);
var Ohd=function(a,b){b=Mhd(b);var c=a.getItem(),d=Nhd(c.getCapabilities());b.t4.forEach(function(e){_.rTb(e.getItem(),c.np());_.rM(e.getItem(),d.clone())});return b},Rhd=function(a,b,c){var d=Phd(c);c=c.find(function(e){return e.getId()===b.getId()});c={wK:c?c:new $N(b),children:[]};Qhd(a,d,c);return c},Phd=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().tk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},Qhd=
function(a,b,c){var d=c.wK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(Qhd(a,b,{wK:e,parent:c,children:[]}))});return c},Thd=function(a,b){b=b.children.filter(function(l){return!_.jl(l.wK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.wK.getItem();if(!c.has(f.getId())){_.rTb(f,a.np());Shd(a,f,e.parent?e.parent.wK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.jl(k.wK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.wK)}}return d},
Uhd=function(a){a=a.children.filter(function(h){return!_.jl(h.wK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.wK.getItem();if(!b.has(e.getId())){c.push(_.kL(_.$K(new _.ZK,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.jl(f.wK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},Mhd=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{HQ:c,t4:b}},Nhd=
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);_.pWc(a,b);_.A(a,30,c);_.kWc(a,b);_.qWc(a,c);_.lWc(a,c);_.mWc(a,b);_.YVc(a,b);_.cWc(a,c);_.iWc(a,b);_.hWc(a,_.R(a,7));_.bWc(a,_.R(a,10)||_.R(a,11));_.jWc(a,_.dl(a));_.fk(a,18);_.fk(a,13);_.fk(a,10);_.nWc(a,_.R(a,42));_.oWc(a,_.R(a,43));_.rWc(a,_.R(a,48));return a},Shd=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.kWc(e,_.R(d,31));_.qWc(e,_.R(d,
47));_.lWc(e,_.R(d,32));_.mWc(e,_.R(d,33));_.YVc(e,_.R(d,4));_.cWc(e,_.R(d,9));_.jWc(e,_.R(d,21));_.iWc(e,_.R(d,20));_.hWc(e,_.R(d,17));_.XVc(e,_.dl(d));_.aWc(e,_.R(d,7));_.dWc(e,_.R(d,10));_.eWc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.pWc(e,_.R(d,46));_.rWc(e,_.R(d,48));a=_.jl(a);_.A(b,137,a);c&&(c=c.getCapabilities(),nN(b)?(_.bWc(e,_.R(c,43)),_.oWc(e,_.R(c,43)),_.nWc(e,_.R(c,42))):_.bWc(e,_.R(c,42)))};
var Vhd=function(a){this.context=a;this.V=new Lhd;this.O=_.uf(new _.sf,306);this.H=a.zf},uhd=function(a,b){if(bO(b))b.wk()?Whd(a,b):Xhd(a,b);else if(_.S(a.context.Pc,86,!1)){var c=b.Jc(),d=a.H.wm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!nN(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.jl(d),!b.wk()){var h=b.getItem();f=_.jl(d)!==_.jl(h);h=h.np()!==d.np();e=f||e&&h}if(e)if(b.wk()){if(b=Yhd(a,d.Bc()),d=a.V,e=(new _.hl).Pb(c),b=(b=Rhd(d,e,b))?Uhd(b):[],a.context.zf.Xo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=k5c(a.context.Wk(),106009))c=f5c(a),_.A(c,2,b.length),a.Yj()}else if(c=b.getItem(),d=Yhd(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=Rhd(e,c,d))?Thd(c,d):[],lfd(a.context.zf,c),a.log(b.Jc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=k5c(a.context.Wk(),106010))b=f5c(a),_.A(b,1,c.length),a.Yj()}},Whd=function(a,b){var c=b.Jc();b=Yhd(a,c);b=Mhd(b);var d=_.Bb(b.t4,function(e){return _.kL(_.$K(new _.ZK,e.getId()))});a.context.zf.Xo(d);
a.H.PL.CS(b.HQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.HQ.map(function(e){return _.Il((new _.Hl).Pb(e.getId()),_.ol(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.HQ.length+" divergent items"));if(a=k5c(a.context.Wk(),106016))c=g5c(a),_.A(c,1,b.HQ.length),_.A(c,2,b.t4.length),a.Yj()},Xhd=function(a,b){var c=b.Jc(),d=Yhd(a,c),e=a.H.wm.H(c);b=Ohd(b,d);lfd(a.context.zf,b.t4);a.H.PL.CS(b.HQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.HQ.map(function(h){return _.Il((new _.Hl).Pb(h.getId()),
_.ol(h))}));a.log(c,"SD update | Update "+b.t4.length+" item(s), "+(b.HQ.length+" divergent items"));if(d=k5c(a.context.Wk(),106017)){var f=g5c(d);_.A(f,1,b.HQ.length);_.A(f,2,b.t4.length);d.Yj()}e||Vfd(a.H.PL,c)},Yhd=function(a,b){var c=new _.gf;_.Nl(c,[b]);_.Ol(c,2);return s9c(a.H.wm,c)};Vhd.prototype.log=function(a,b){this.context.ag().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Zhd=function(a,b,c){this.H=a;this.V=b;this.DJ=c};
Zhd.prototype.Yw=function(a,b){var c=this;if(a.WV().length){var d=Yad(this.H,a.Jc());if(d){var e=d?Zad(this.H,a):[];for(var f={},h=_.m(a.WV()),k=h.next();!k.done;f={EL:f.EL},k=h.next())if(k=k.value,f.EL=$hd(e,k.Xm(),a.Jc()),_.R(k,3))ebd(this.H,f.EL),_.ki(b,function(r){return function(){c.H.O.W(Oad(r.EL))}}(f));else{for(var l=_.m(_.pk(k,_.$E,2)),p=l.next();!p.done;p=l.next())aid(this,f.EL,p.value);k=_.m(_.Nd(k,4));for(l=k.next();!l.done;l=k.next())bid(f.EL,l.value);this.H.zD([f.EL],!1,-1);b.then(function(r){return function(){return void c.H.mI(r.EL.getName(),
-2)}}(f),function(r){return function(){c.H.mI(r.EL.getName(),-2)}}(f))}e=this.od(d.yk().response)}}e=e?e:this.od();var q=e.f4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.zA(r));c.handleError(a.Jc(),r)});return e};Zhd.prototype.od=function(a){a=void 0===a?new LN:a;return new a9c(a.Dc(1))};var $hd=function(a,b,c){var d=a.find(function(e){return Nad(e.getName(),b)});d||(d=L5c((new FN).jd(b),c),a.push(d));return d};
Zhd.prototype.handleError=function(a,b){gbd(this.V,a);a=_.cL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.DJ(a)};
var aid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new DN,d.Pb(c.getId()),K5c(b,b.O().concat([d])),cid(d,c));if(1===EN(d))d.setBooleanValue(_.R(c,3));else if(12===EN(d))d.setDateStringValue(_.D(c,17));else if(2===EN(d))d.setTextValue(_.D(c,4));else if(3===EN(d))_.Nd(c,6).length?d.Ppa(_.Nd(c,6)):_.Nd(c,5).length&&(a=_.Nd(d,7).concat(_.Nd(c,5)),d.Ppa(a));else if(4===EN(d))d.setLongTextValue(_.D(c,7));else if(5===EN(d))d.setSelectionValue(_.D(c,8));else if(6===
EN(d))_.Nd(c,10).length?d.Lpa(_.Nd(c,10)):_.Nd(c,9).length&&(a=d.HMa().concat(_.Nd(c,9)),d.Lpa(a));else if(7===EN(d))d.setIntegerValue(_.D(c,11));else if(8===EN(d))_.Nd(c,13).length?d.Dpa(_.Nd(c,13)):_.Nd(c,12).length&&(a=_.Nd(d,12).concat(_.Nd(c,12)),d.Dpa(a));else if(10===EN(d))d.setUserValue(a.O(_.D(c,14)));else if(11===EN(d))_.Nd(c,16).length?H5c(d,_.Nd(c,16).map(a.O)):_.Nd(c,15).length&&H5c(d,d.zBa().concat(_.Nd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(EN(d)+
"."),new _.qc(d,new _.pc);},bid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===EN(a))_.fk(a,5);else if(12===EN(a))_.fk(a,17);else if(2===EN(a))_.fk(a,6);else if(3===EN(a))_.eH(a,7);else if(4===EN(a))_.fk(a,8);else if(5===EN(a))_.fk(a,9);else if(6===EN(a))_.eH(a,10);else if(7===EN(a))_.fk(a,11);else if(8===EN(a))_.eH(a,12);else if(10===EN(a))_.gk(a,15);else if(11===EN(a))_.hk(a,16);else throw a="Optimistic Applier: Unsupported value type "+(EN(a)+"."),new _.qc(a,new _.pc);
},cid=function(a,b){_.Q(b,3)?a.PA(1):_.Q(b,17)?a.PA(12):_.Q(b,4)?a.PA(2):_.Nd(b,6).length||_.Nd(b,5).length?a.PA(3):_.Q(b,7)?a.PA(4):_.Q(b,8)?a.PA(5):_.Nd(b,10).length||_.Nd(b,9).length?a.PA(6):_.Q(b,11)?a.PA(7):_.Nd(b,13).length||_.Nd(b,12).length?a.PA(8):_.Q(b,14)?a.PA(10):(_.Nd(b,16).length||_.Nd(b,15).length)&&a.PA(11)};Zhd.prototype.O=function(a){return _.VVc(_.TVc(1),a)};
var did=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.Mg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};did.prototype.apply=function(a,b){var c=this;if(!_.jM(a))return b;var d=null;a instanceof _.CL?d=eid(this,a,b):a instanceof _.JL?d=fid(this,a,b):a instanceof _.gL?d=this.Yw(a,b):a instanceof _.wL?d=gid(this,a,b):a instanceof _.bM&&(d=this.va.Yw(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 eid=function(a,b,c){abd(a.O,b.getId());var d=a.H.wm.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=_.cL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.iM).Dc(1)},fid=function(a,b,c){var d=_.D(b,2);d&&a.O.H.push(d);c.then(function(){d&&cbd(a.O,d)&&_.ki(hid(a,d,new _.XYc(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=_.cL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.iM).Dc(1)},hid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.fi();var f=_.ii(),h=c.Xa();_.KG(c);setTimeout(function(){a.ka.then(function(k){var l=_.uf(new _.sf,1425);l=W1c(!0,1,l);return k.We(l).then(function(p){if(p=p.od())if(p=p.Hd()[0],!p||(p.Wv()||0)>b){f.resolve();return}_.ki(hid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ki(hid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},gid=function(a,b,c){var d=b.Bc(),e=a.H.wm.H(d);if(!e)return null;e=e.clone();xfd(a.H,[e],[157]);var f=e.kh();iid(f,_.pk(b,_.gl,2));jid(f,_.pk(b,_.gl,3));a.H.rl([e],-1,void 0,void 0,[157]);_.ki(c,function(){a.H.mI(d,-2)}).then(function(h){a.H.rl([_.E(h,_.hl,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.cL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return M6c(new L6c,e).Dc(1)},
iid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={xfa:c.xfa},d=b.next())c.xfa=d.value,_.pk(a,_.gl,8).some(function(e){return function(f){return f.Xm()==e.xfa.Xm()}}(c))||_.tk(a,8,c.xfa,_.gl,void 0)},jid=function(a,b){var c=b.map(function(d){return d.Xm()});b=_.pk(a,_.gl,8).filter(function(d){return!c.includes(d.Xm())});f1c(a,b)};
did.prototype.Yw=function(a,b){var c=this,d=this.H.wm.H(a.getId());if(!d||d.Bc()&&0==a.Th()||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(r9c(this.H.wm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Ea(e),1<e.length))return null;var h=d.clone();kid(this,a,h);this.H.rl([h],-1,void 0,void 0,b5c(this.Mg));b.then(function(){return c.H.mI(a.getId(),-2)},function(){c.H.mI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.cL(k);
if(63==k.ik()){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 _.wXc((new _.iM).setItem(h),h.getId()).Dc(1)};
var kid=function(a,b,c){null!=b.Ue()&&c.rm(b.Ue());null!=b.Wi()&&_.EWc(c,b.Wi());null!=b.getMimeType()&&_.jF(c,b.getMimeType());null!=_.D(b,7)&&_.qTb(c,_.D(b,7));null!=_.R(b,11)&&_.yWc(c,_.R(b,11));null!=_.R(b,4)&&c.Ev(_.R(b,4));null!=_.R(b,16)&&_.DWc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Th()&&(c.On(b.Th()),_.CWc(c,b.Th()));null!=_.R(b,18)&&_.jN(u1c(c,!0),_.R(b,18));_.Nd(b,8).length&&_.qM(c,_.Nd(b,8));if(_.Nd(b,9).length){var d=new Set(c.tk());_.Nd(b,9).forEach(function(p){return d.add(p)});
_.qM(c,[].concat(_.nd(d)))}if(_.Nd(b,10).length){var e=new Set(c.tk());_.Nd(b,10).forEach(function(p){return e.delete(p)});_.qM(c,[].concat(_.nd(e)));var f=c.ww();f&&_.Nd(b,10).includes(f)&&_.fk(c,46)}if(!c.ww()){var h=a.Ba();f=c.tk().find(function(p){var q=a.H.wm.H(p);return q&&!!q.ww()||p==h});_.A(c,46,f||void 0)}c.tk().length&&(f=a.H.wm.H(c.tk()[0]))&&_.HWc(c,f.Bc());if(f=_.E(b,_.el,25)){var k=_.E(c,_.el,111)||new _.el;null!=_.R(f,1)&&k.eP(_.R(f,1));null!=_.D(f,2)&&_.tWc(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)};did.prototype.oa=function(a,b){var c=this,d=_.Ez(new _.Cz,[a]);this.ka.then(function(e){return e.We(d)}).then(function(e){e=e.od().Hd()[0];c.H.rl([e.clone()],1)},function(){b&&c.H.rl([b.clone()],1)})};
var lid=function(a){this.H=a};_.L(lid,_.E_c);lid.prototype.execute=function(a,b,c){var d=_.E_c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.tLa||b instanceof _.WK&&_.kM(b.zd()))if(c=t5c(this.H))return c;return b instanceof _.JL?(c=_.uf(new _.sf,1424),a.We(W1c(!1,1,c)).then(function(e){(e=e.od())&&(e=e.Hd()[0])&&_.Q(e,96)&&b.Eda(e.Wv())},function(){})):null};
var l2c=function(a,b){return[mid,nid,oid,pid].reduce(function(c,d){var e;0!==c?e=c:e=_.Fa(d(a),d(b));return e},0)},mid=function(a){return qid[a.dg()]},nid=function(a){return rid[a.getType()]},oid=function(a){return a.getName()||""},pid=function(a){return a.getId()||""},aP={},qid=(aP[5]=0,aP[7]=1,aP[1]=2,aP[3]=3,aP[4]=4,aP[2]=5,aP[6]=6,aP),sid={},rid=(sid[1]=0,sid[2]=1,sid[3]=2,sid[4]=3,sid);
var tid=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.Mg=l};
tid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.iM&&8===b.Cb()))if(a instanceof _.vL||a instanceof _.xL||a instanceof _.vVc||a instanceof _.gL||a instanceof _.dM||a instanceof _.DVc||a instanceof _.fM||a instanceof _.rN){var d=_.jL(b.getItem().clone(),9);this.H.rl([d],1);Cbd(this.oa,b.getItem(),_.DM(this.Mg))}else a instanceof _.CL?(b=_.kL(_.$K(new _.ZK,a.getId())),this.H.Xo([b])):a instanceof _.FL?(b=_.kL(_.NUc(_.$K(new _.ZK,a.getId()),a.getId())),this.H.Xo([b]),uhd(this.ma,b)):
a instanceof _.JL?(b=W1c(!0).zd(),b=this.H.wm.query(b).map(function(e){return _.kL(_.$K(new _.ZK,e.getId()))}),this.H.Xo(b)):a instanceof _.AL?this.O.remove(a.Ah()):a instanceof _.ML||a instanceof _.aM?this.O.put(b.Cr()):a instanceof _.DL?k2c(this.H,a):a instanceof _.GC?this.W.remove(a.getKey()):a instanceof _.NL?m2c(this.H,a,_.E(b,_.Sk,2)):a instanceof _.HC?this.W.put(b.XMa()):a instanceof _.yL||a instanceof _.eM?this.ha.zD([b.an()],!1):a instanceof _.GL?this.ha.zD([pbd(a.getId())],!1):a instanceof
_.uVc?this.V.zD(b.response.O(),!1,1):a instanceof _.bM?(a.WV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.Xm()||"",a.Jc())}),gbd(this.ka,a.Jc()),this.H.z2a(a.Jc())):a instanceof _.IM&&_.pk(a,_.v6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.E(e,_.JN,2),e.getType()){case 1:case 2:if(e=c.H.wm.H(e.Jc())){var f=new _.ZK;f=_.A(f,5,!0);e=_.$K(f,e.getId()).setItem(e.clone());c.H.Xo([e])}}}})};
var uid=function(a){this.H=a};
uid.prototype.translate=function(a){if(a instanceof _.YL){var b=this.H.H(a.getId());if(!b)return new _.pc;var c=(new _.gL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.ke(d)||_.R(d,9)?c.On(!0):_.hL(c,!1)}else d=a.getParent(),1===b.np()?c.On(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?B4c(c,[d]):_.hL(c,!1)):_.hL(c,!1);return c}if(a instanceof _.ZL)return D4c(C4c(B4c(A4c((new _.gL).Pb(a.getId()),_.Nd(a,2)),_.Nd(a,3)),_.R(a,6)),_.pk(a,_.Hl,8));if(a instanceof _.$L){b=this.H.H(a.getId());
if(!b)return new _.pc;c=(new _.gL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.ke(d)||_.R(d,9)?c.On(!1):_.hL(c,!0)):(d=a.getParent(),1===b.np()?c.On(!1):d?(b=this.H.H(d),!b||_.dl(b.getCapabilities())?A4c(c,[d]):_.hL(c,!0)):_.hL(c,!0));return c}if(a instanceof _.VM)return new _.vVc(a);if(a instanceof _.NO)return _.Nd(a,1).map(function(f){var h=new _.bM;f=_.A(h,1,f);h=a.WV();f=_.Cb(f,2,h);h=a.we();return _.x(f,3,h)});if(a instanceof _.IL){c=W1c(!1,1).zd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Wv())&&(e=Math.max(e,f))});return o5c(new _.JL,a).Eda(e)}return a};
var vid=function(){};vid.prototype.validate=function(a){var b=null;a instanceof _.RL?(a=a.getId()||"",_.de(a)&&(b="Tried to request backup with no id.")):a instanceof _.BL&&(a=a.getId()||"",_.de(a)&&(b="Tried to delete backup with no id."));return b?_.cL(b):null};
var wid=function(a,b){this.O=a;this.H=b},Aid=function(a,b){_.bN(["drive#about"],b);var c=new _.OO,d=new _.yA;if(b.user){var e=_.dN(a.O,b.user);_.x(d,1,e)}a=xid(a,b);a=u4c(t4c(_.s4c(new _.Csb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.w4c(a,_.h4c(_.g4c((new _.xA).Dc(yid[e.status]),Number(e.trialMillisRemaining)),_.cN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.x4c(a,_.j4c(_.i4c(new _.xsb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&v4c(a,b.importFormats.map(function(f){var h=new _.r4c;h=_.A(h,1,f.source);return _.ek(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,zid[b.adminSecureLinkSetting]);_.x(d,3,a);_.ged(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},xid=function(a,b){var c;var d=new _.Bsb;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=_.n4c(_.m4c(_.l4c(_.k4c(d,
o2c(b.quotaBytesByService||[])),Bid[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-q2c(b);d=_.A(d,9,e);d=_.o4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.q1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.p4c(d,Cid[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Asb;var f=
_.r2a(new Date(b.graceQuotaInfo.endDate));e=_.x(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.x(d,12,e)}(null===(c=_.fL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.q1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},Cid={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},p2c=new Set(["POOLED_STORAGE","FAMILY"]),yid={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},n2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},Bid={LIMITED:1,UNLIMITED:2,POOLED:3},zid={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var Did={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},Eid={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},Fid={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},Gid={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},Hid={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},Iid={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},Jid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},Kid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},Lid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},Mid={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},Nid={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},Oid={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},Pid={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},Qid={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Rid={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Sid={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Tid={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Uid={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Vid={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Wid={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Xid={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Yid={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},ejd=function(a){return a.map(function(b){var c=new _.U8c;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=Zid(e);_.x(c,2,d);break;case "actors":d=$id(e);_.Cb(c,3,d);break;case "actions":d=ajd(e);_.Cb(c,
4,d);break;case "targets":d=bjd(e);_.Cb(c,5,d);break;case "timestamp":c.O(cjd(e));break;case "timeRange":d=djd(e),_.qk(c,7,T8c[0],d)}}return c})},ajd=function(a){return a.map(function(b){var c=new _.R8c;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=Zid(e);_.x(c,1,d);break;case "source":d=new L8c;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,Did[h]);break;case "appId":_.lk(d,1,h)}}_.x(c,2,d);break;case "actor":d=fjd(e);_.x(c,3,d);break;case "target":d=gjd(e);_.x(c,4,d);break;case "timestamp":c.O(cjd(e));break;case "timeRange":d=djd(e),_.qk(c,6,Q8c[0],d)}}return c})},bjd=function(a){return a.map(function(b){return gjd(b)})},ijd=function(a){return a.map(function(b){return hjd(b)})},jjd=function(a){return a.map(function(b){var c=new _.p8c;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.Cg(hjd(e));break;case "shortcut":d=hjd(e),_.x(c,2,d)}}return c})},gjd=function(a){var b=new _.P8c;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=kjd(d);_.qk(b,1,_.O8c[0],c);break;case "drive":c=new _.M8c;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=kjd(f),_.x(c,3,e)}}_.qk(b,5,_.O8c[0],c);break;case "fileComment":c=new _.N8c;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.Cg(kjd(f))}_.qk(b,3,_.O8c[0],c)}}return b},hjd=function(a){var b=new _.TN;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 Z7c;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 X7c;_.qk(e,8,Y7c[0],f);break;case "driveFolder":e=ljd(f);_.qk(c,9,Y7c[0],e);break;case "driveShortcut":e=mjd(f),_.qk(c,10,Y7c[0],e)}}_.qk(b,1,$7c[0],c);break;case "drive":c=njd(d),_.qk(b,3,
$7c[0],c)}}return b},kjd=function(a){var b=new _.W7c;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 R7c;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.hn(ojd(f));break;case "user":e=
bP(f);_.qk(c,1,Q7c[0],e);break;case "drive":e=njd(f),_.qk(c,4,Q7c[0],e)}}_.x(b,7,c);break;case "driveFile":c=new X7c;_.qk(b,8,S7c[0],c);break;case "driveFolder":c=ljd(d);_.qk(b,9,S7c[0],c);break;case "driveShortcut":c=mjd(d),_.qk(b,10,S7c[0],c)}}return b},njd=function(a){var b=new P7c;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},ljd=function(a){var b=new U7c;
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,Eid[d])}}return b},mjd=function(a){var b=new V7c;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},$id=function(a){return a.map(function(b){return fjd(b)})},fjd=function(a){var b=new _.K8c;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=bP(d);_.qk(b,1,_.J8c[0],c);break;case "anonymous":c=new G8c;_.qk(b,2,_.J8c[0],c);break;case "impersonation":c=new _.H8c;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=bP(f),_.x(c,1,e)}}_.qk(b,3,_.J8c[0],c);break;case "system":c=new _.I8c;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,Fid[f])}_.qk(b,4,_.J8c[0],c);break;case "administrator":c=new _.F8c,_.qk(b,5,_.J8c[0],c)}}return b},pjd=function(a){return a.map(function(b){return bP(b)})},bP=function(a){var b=new _.w7c;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 _.RN;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.to(f)}}_.qk(b,2,_.u7c[0],c);break;case "unknownUser":c=new x7c;_.qk(b,4,_.u7c[0],c);break;case "deletedUser":c=new _.v7c,_.qk(b,3,_.u7c[0],c)}}return b},cjd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.q2a((new _.gx).setSeconds(a),b)},djd=function(a){var b=new _.ZN;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.CY(cjd(d));break;case "endTime":b.FF(cjd(d))}}return b},ojd=function(a){var b=new O7c;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},Zid=function(a){for(var b=new _.YN,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 _.c8c,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 d8c;_.qk(y,1,_.a8c[0],z);break;case "upload":var C=k,G=new e8c;_.qk(C,2,_.a8c[0],G);break;case "copy":for(var I=u,M=new _.b8c,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=hjd(qa);_.x(M,1,ta)}}_.qk(k,3,_.a8c[0],M)}}_.qk(b,1,_.XN[0],k);break;case "edit":var va=new j8c;_.qk(b,2,_.XN[0],va);break;case "move":for(var Ya=new _.r8c,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=ijd(mc);_.Cb(Ya,1,Lc);break;case "removedParents":var yc=ijd(mc);_.Cb(Ya,2,yc);break;case "fromOwnershipTransfer":_.kk(Ya,3,mc);break;case "reparents":var be=
mc.map(qjd);_.Cb(Ya,4,be);break;case "multiparentingMigration":for(var Id=mc,Xe=new _.q8c,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=ijd(Ce);_.Cb(Xe,2,Kh);break;case "migratedParents":var tf=jjd(Ce);_.Cb(Xe,1,tf)}}_.x(Ya,5,Xe)}}_.qk(b,3,_.XN[0],Ya);break;case "rename":for(var Lh=new _.x8c,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,_.XN[0],Lh);break;case "delete":for(var Ug=new _.h8c,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,Gid[ji])}}_.qk(b,5,_.XN[0],Ug);break;case "restore":for(var zf=new _.y8c,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,Hid[Zh])}}_.qk(b,6,_.XN[0],zf);break;case "permissionChange":for(var Mh=new _.u8c,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=rjd(dg);_.Cb(Mh,1,pi);break;case "removedPermissions":var Nh=rjd(dg);_.Cb(Mh,2,Nh);break;case "resharedPermissions":var $h=rjd(dg);_.Cb(Mh,3,$h);break;case "otherActivePermissions":var th=rjd(dg);_.Cb(Mh,4,th)}}_.qk(b,7,_.XN[0],
Mh);break;case "comment":for(var pj=new _.N7c,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 _.K7c,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,Jid[eg])}}_.qk(pj,1,_.J7c[0],sk);break;case "assignment":for(var Wj=Di,fg=new _.L7c,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,Kid[Wd]);break;case "assignedUser":var Fi=bP(Wd);_.x(fg,7,Fi)}}_.qk(pj,2,_.J7c[0],fg);break;case "suggestion":for(var Te=Di,Wl=new _.M7c,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,Lid[rm])}}_.qk(pj,3,_.J7c[0],Wl);break;case "mentionedUsers":var Rm=pjd(Di);_.Cb(pj,7,Rm)}}_.qk(b,8,
_.XN[0],pj);break;case "dlpChange":for(var Cn=new _.g8c,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,Mid[$m])}}_.qk(b,9,_.XN[0],Cn);break;case "view":for(var eo=new E8c,an=_.m(Object.entries(h)),$l=an.next();!$l.done;$l=an.next()){var Dm=_.m($l.value),xr=Dm.next().value,cF=Dm.next().value;switch(xr){case "type":_.mk(eo,1,Nid[cF]);break;case "viewHistoryVisibility":for(var GI=cF,dF=new D8c,
oY=_.m(Object.entries(GI)),HI=oY.next();!HI.done;HI=oY.next()){var pY=_.m(HI.value),qY=pY.next().value,Lga=pY.next().value;switch(qY){case "domainPolicyVisibilityState":_.mk(dF,1,Oid[Lga]);break;case "namedPartyState":_.mk(dF,2,Pid[Lga])}}_.x(eo,2,dF)}}_.qk(b,10,_.XN[0],eo);break;case "download":for(var Txb=new i8c,WYa=_.m(Object.entries(h)),Mga=WYa.next();!Mga.done;Mga=WYa.next()){var Uxb=_.m(Mga.value),Vxb=Uxb.next().value,Wxb=Uxb.next().value;switch(Vxb){case "type":_.mk(Txb,1,Qid[Wxb])}}_.qk(b,
11,_.XN[0],Txb);break;case "reference":for(var XYa=new _.p7c,YYa=_.m(Object.entries(h)),Nga=YYa.next();!Nga.done;Nga=YYa.next()){var Xxb=_.m(Nga.value),Yxb=Xxb.next().value,ZYa=Xxb.next().value;switch(Yxb){case "type":_.mk(XYa,1,Rid[ZYa]);break;case "context":for(var Zxb=XYa,$xb=Zxb.Zi,$Ya=ZYa,aZa=new o7c,bZa=_.m(Object.entries($Ya)),yxa=bZa.next();!yxa.done;yxa=bZa.next()){var ayb=_.m(yxa.value),byb=ayb.next().value,zxa=ayb.next().value;switch(byb){case "description":aZa.rm(zxa);break;case "url":_.lk(aZa,
2,zxa)}}$xb.call(Zxb,aZa)}}_.qk(b,12,_.XN[0],XYa);break;case "settingsChange":for(var cyb=new _.B8c,cZa=_.m(Object.entries(h)),Axa=cZa.next();!Axa.done;Axa=cZa.next()){var dyb=_.m(Axa.value),eyb=dyb.next().value,dZa=dyb.next().value;switch(eyb){case "restrictionChanges":var Prc=sjd(dZa);_.Cb(cyb,1,Prc)}}_.qk(b,13,_.XN[0],cyb);break;case "approvalChange":for(var ey=new _.A7c,eZa=_.m(Object.entries(h)),q6=eZa.next();!q6.done;q6=eZa.next()){var fZa=_.m(q6.value),fyb=fZa.next().value,II=fZa.next().value;
switch(fyb){case "approvalName":_.lk(ey,2,II);break;case "approvalEventNames":_.ek(ey,3,II);break;case "initiator":var gyb=bP(II);_.x(ey,4,gyb);break;case "reviewers":var gZa=pjd(II);_.Cb(ey,5,gZa);break;case "status":ey.Dc(Uid[II]);break;case "dueTime":var hyb=cjd(II);_.x(ey,7,hyb);break;case "approvalRequested":var iyb=ey,jyb=new B7c;_.qk(iyb,8,_.SN[0],jyb);break;case "approvalCancelled":var kyb=ey,lyb=new C7c;_.qk(kyb,9,_.SN[0],lyb);break;case "reviewerResponded":for(var myb=II,Bxa=new _.z7c,hZa=
_.m(Object.entries(myb)),Cxa=hZa.next();!Cxa.done;Cxa=hZa.next()){var Nbe=_.m(Cxa.value),CIg=Nbe.next().value,DIg=Nbe.next().value;switch(CIg){case "reviewerDecision":_.mk(Bxa,1,Vid[DIg])}}_.qk(ey,10,_.SN[0],Bxa);break;case "commentAdded":var EIg=ey,FIg=new D7c;_.qk(EIg,11,_.SN[0],FIg);break;case "reviewersChanged":for(var GIg=II,Obe=new F7c,Pbe=_.m(Object.entries(GIg)),svc=Pbe.next();!svc.done;svc=Pbe.next()){var Qbe=_.m(svc.value),HIg=Qbe.next().value,IIg=Qbe.next().value;switch(HIg){case "reviewerChanges":var KIg=
tjd(IIg);_.Cb(Obe,1,KIg)}}_.qk(ey,12,_.SN[0],Obe);break;case "dueTimeChanged":for(var LIg=II,Rbe=new H7c,Sbe=_.m(Object.entries(LIg)),tvc=Sbe.next();!tvc.done;tvc=Sbe.next()){var Tbe=_.m(tvc.value),MIg=Tbe.next().value,NIg=Tbe.next().value;switch(MIg){case "oldDueTime":var OIg=cjd(NIg);_.x(Rbe,1,OIg)}}_.qk(ey,13,_.SN[0],Rbe)}}_.qk(b,18,_.XN[0],ey);break;case "lock":var PIg=new l8c;_.qk(b,15,_.XN[0],PIg);break;case "unlock":var QIg=new C8c;_.qk(b,16,_.XN[0],QIg);break;case "appliedLabelChange":for(var Ube=
new _.t7c,Vbe=_.m(Object.entries(h)),uvc=Vbe.next();!uvc.done;uvc=Vbe.next()){var Wbe=_.m(uvc.value),RIg=Wbe.next().value,SIg=Wbe.next().value;switch(RIg){case "changes":var UIg=ujd(SIg);_.Cb(Ube,1,UIg)}}_.qk(b,19,_.XN[0],Ube);break;case "publishChange":for(var vvc=new _.w8c,Xbe=_.m(Object.entries(h)),wvc=Xbe.next();!wvc.done;wvc=Xbe.next()){var Ybe=_.m(wvc.value),VIg=Ybe.next().value,Zbe=Ybe.next().value;switch(VIg){case "oldPublishState":var WIg=vjd(Zbe);_.x(vvc,1,WIg);break;case "newPublishState":var XIg=
vjd(Zbe);_.x(vvc,2,XIg)}}_.qk(b,20,_.XN[0],vvc);break;case "linkShareMetadataChange":for(var ace=new _.k8c,bce=_.m(Object.entries(h)),xvc=bce.next();!xvc.done;xvc=bce.next()){var cce=_.m(xvc.value),YIg=cce.next().value,ZIg=cce.next().value;switch(YIg){case "securityUpdateEnabled":_.kk(ace,1,ZIg)}}_.qk(b,21,_.XN[0],ace)}}return b},qjd=function(a){var b=new _.n8c;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,Yid[d])}}return b},rjd=function(a){return a.map(function(b){var c=new _.WN;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,Iid[e]);break;case "user":d=bP(e);_.qk(c,2,_.VN[0],d);break;case "group":d=new _.UN;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,_.VN[0],d);break;case "domain":c.hn(ojd(e));break;case "anyone":d=new s8c;_.qk(c,5,_.VN[0],d);break;case "allowDiscovery":_.kk(c,6,e)}}return c})},sjd=function(a){return a.map(function(b){var c=new _.A8c;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,Sid[e]);break;case "newRestriction":_.mk(c,2,Tid[e])}}return c})},tjd=function(a){return a.map(function(b){var c=new G7c;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=bP(e);_.x(c,3,d);break;case "addedReviewer":d=bP(e),_.x(c,4,d)}}return c})},ujd=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 "label":c.wd(e);break;case "types":d=wjd(e),_.ek(c,2,d)}}return c})},wjd=function(a){return a.map(function(b){return Wid[b]})},
vjd=function(a){var b=new _.v8c;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,Xid[d]);break;case "signinRequired":_.kk(b,2,d);break;case "publishedTime":c=cjd(d),_.x(b,3,c)}}return b};
var yjd=function(a,b){var c=new Edd;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=xjd(a),_.x(b,2,a));return b},xjd=function(a){_.bN(["drive#app"],a);var b=(new _.MN).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=W6c(V6c(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,zjd[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 _.Q6c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,Ajd[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 _.T6c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=Bjd(c.mimeTypeScores||[]);_.Cb(a,2,d);c=Bjd(c.fileExtensionScores||[]);
_.Cb(a,3,c);_.x(b,29,a);return b},Bjd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.R6c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},zjd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},Ajd={application:1,document:2,documentShared:3};
var Djd=function(a){var b=new Aed;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.FO).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.cN(c.updateTime));d=_.A(d,4,Cjd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.cN(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.cz()){var e=new mdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.x(d,6,c)}else 2===d.cz()&&(e=new _.ldd,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},Fjd=function(a){var b=new wed;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.GO).Pb(c.id);d=_.A(d,1,Ejd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.ndd(d.setSize(c.size),_.cN(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).rm(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Cb(b,1,a);return b},Cjd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Ejd={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 Gjd=function(a,b){this.H=a;this.O=b};
var Hjd={read:2,write:3,comment:4},Ijd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.jF((new _.hl).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.rM(d,_.G_c(c.userCapabilities));_.DM(b).includes(19)&&_.FWc(d,!0);Cbd(a,d,_.DM(b));_.GWc(d,4);return d},Kjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Fna;f=_.A(f,2,Jjd(e));e=Ijd(a,b,e);e=_.x(e,100,f);d.push(e)}});c=(new _.pA).Tw(d).RP(c.suggestionSessionId);return _.nZc(new _.WM,c)},Mjd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=Ljd(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=Ijd(a,b,l),d.push(q));l=$3c(Z3c(Y3c(new _.Cna,k.clone()),Jjd(l)),l.url);_.tk(q,107,l,_.Cna,void 0)})}});return z5c((new _.MM).Tw(d),e).RP(c.suggestionSessionId)},Ljd=function(a){return _.VVc((new _.Sk).Pb(a.id).jd(a.displayName),a.emailAddress).to(a.photoUrl)},
Ojd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=Ijd(a,b,e);e=Njd(e);f=_.Cb(f,117,e);d.push(f)}});c=(new _.pA).Tw(d).RP(c.suggestionSessionId);return _.nZc(new _.WM,c)},Njd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.jna,e=Pjd(c);e&&_.qk(d,2,_.Vk[0],e);(e=Qjd(c))&&Q2c(d,e);(e=Rjd(c))&&_.qk(d,4,_.Vk[0],e);(e=Sjd(c))&&_.qk(d,5,_.Vk[0],e);(e=Tjd(c))&&_.qk(d,6,_.Vk[0],e);(e=Ujd(c))&&_.qk(d,7,_.Vk[0],e);(e=Vjd(c))&&_.qk(d,8,_.Vk[0],e);(e=Wjd(c))&&
_.qk(d,9,_.Vk[0],e);(e=Xjd(c))&&_.qk(d,10,_.Vk[0],e);(c=Yjd(c))&&_.qk(d,11,_.Vk[0],c);return d}):(a=cP(a),a=A3c([a]),[Q2c(new _.jna,a)])},$jd=function(a){return(a.justification||[]).map(function(b){return Zjd(b)})},cP=function(a){return(a=a.justification)?Zjd(a):null},Zjd=function(a){var b=N2c(new _.Uk,akd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=Ljd(c),_.qk(b,3,_.ina[0],c),O2c(b,[c])):d?(c=(d.person||[]).map(function(e){return Ljd(e)}),d=M2c(c),_.qk(b,4,_.ina[0],d),O2c(b,c)):(c=(a.person||
[]).map(function(e){return Ljd(e)}),c.length&&(d=M2c(c),_.qk(b,4,_.ina[0],d),O2c(b,c)));_.A(b,5,_.cN(a.eventTime));P2c(b,akd(a.justificationDescription));return b},akd=function(a){if(!a)return null;a=a.textSegment||[];return J2c(new _.gna,a.map(function(b){var c=(new _.Qk).mh(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)}))},Pjd=function(a){a=a.documentDocosAction;if(!a)return null;var b=o3c(new _.pna,cP(a));n3c(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 X2c,_.qk(d,2,_.qna[0],c)):c.reassign?(c=new V2c,_.qk(d,3,_.qna[0],c)):c.acceptSuggestion?(c=new R2c,_.qk(d,4,_.qna[0],c)):c.rejectSuggestion?(c=new W2c,_.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);p3c(b,akd(a.anchorText));return b},Rjd=function(a){a=a.documentShareAction;if(!a)return null;var b=s3c(new _.Yk,cP(a));r3c(b,(a.subAction||
[]).map(function(c){var d=new u3c;c.suggestedShare?(c=new a3c,_.qk(d,1,t3c[0],c)):c.responseToRequest&&(c=new Y2c,_.qk(d,2,t3c[0],c));return d}));q3c(b,(a.sharee||[]).map(function(c){return Ljd(c)}));_.A(b,3,Hjd[a.shareeRole]);return b},Qjd=function(a){a=a.documentViewAction;if(!a)return null;var b=A3c($jd(a));z3c(b,(a.subAction||[]).map(function(c){var d=new C3c;c.open?d.yg(new wN):c.reviewEdits&&(c=new Z2c,_.qk(d,2,B3c[0],c));return d}));return b},Sjd=function(a){a=a.emailViewAction;if(!a)return null;
var b=N3c(new L3c,cP(a));M3c(b,(a.subAction||[]).map(function(c){var d=new P3c;c.openEmail&&d.yg(new T2c);return d}));return b},Tjd=function(a){a=a.calendarEventAction;if(!a)return null;var b=g3c(f3c(e3c(new _.Wk,a.eventId),cP(a)),a.guestCount);d3c(b,(a.subAction||[]).map(function(c){var d=new i3c;if(c.viewCalendarEvent){var e=new b3c;_.qk(d,1,h3c[0],e)}c.shareWithAttendees&&(e=new $2c,_.qk(d,2,h3c[0],e));c.present&&(e=new U2c,_.qk(d,3,h3c[0],e));c.openDocument&&(c=new wN,_.qk(d,4,h3c[0],c));return d}));
return b},Ujd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=H3c(G3c(new E3c,a.workspaceId),cP(a));F3c(b,(a.subAction||[]).map(function(c){var d=new J3c;c.addToWorkspace&&(c=new S2c,_.qk(d,1,I3c[0],c));return d}));return b},Vjd=function(a){a=a.documentTopicAction;if(!a)return null;var b=w3c(new _.Zk,cP(a));v3c(b,(a.subAction||[]).map(function(c){var d=new y3c;c.openDocument&&(c=new wN,_.qk(d,1,x3c[0],c));return d}));return b},Wjd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=V3c(new _.bl,cP(a));U3c(b,(a.subAction||[]).map(function(c){var d=new X3c;c.openDocument&&(c=new wN,_.qk(d,1,W3c[0],c));return d}));return b},Xjd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=k3c(new _.Xk,cP(a));j3c(b,(a.subAction||[]).map(function(c){var d=new m3c;c.openDocument&&(c=new wN,_.qk(d,1,l3c[0],c));return d}));return b},Yjd=function(a){a=a.formResponseAction;if(!a)return null;var b=R3c(new _.al,$jd(a));Q3c(b,(a.subAction||[]).map(function(c){var d=new T3c;c.openDocument?
(c=new wN,_.qk(d,1,S3c[0],c)):c.viewResponses&&(c=new c3c,_.qk(d,2,S3c[0],c));return d}));return b},Jjd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var bkd=function(a,b){this.H=a;this.O=b},dkd=function(a,b,c){_.bN(["drive#categoryMetadataList"],c);var d=new LN,e=Object.values(c.categoryMetadata||{});K6c(d,e.map(function(f){return ckd(a,f,b.Jc())}));d.Dc(1);return new _.PM(d,cdd(c))},fkd=function(a,b){var c=new LO;Mdd(c,(b.categories||[]).map(function(d){return ekd(a,d)}));c.Dc(1);return new b9c(c,cdd(b))},ckd=function(a,b,c){_.bN(["drive#categoryMetadata"],b);c=L5c((new FN).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);K5c(c,b.map(function(d){return gkd(a,
d)}).filter(function(d){return d}));return c},ekd=function(a,b){var c,d=t6c(k6c(q6c(p6c(o6c(j6c(i6c((new IN).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).rm(b.description),_.cN(b.createTime)),_.cN(b.updateTime)),_.cN(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new f6c).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=hkd(e.attributeDisplayHints);_.x(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new O5c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.x(h,6,k)}_.A(h,7,ikd[f]);e=e[jkd(f)+"Options"];return kkd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&l6c(d,lkd(b.createdBy));b.updatedBy&&m6c(d,lkd(b.updatedBy));b.publishedBy&&n6c(d,lkd(b.publishedBy));b.displayHints&&r6c(d,hkd(b.displayHints));b.capabilities&&s6c(d,mkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},gkd=function(a,b){_.bN(["drive#categoryAttributeValue"],
b);var c=(new DN).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),I5c(c,b.map(function(d){_.bN(["drive#userScopedAttributeValue"],d);var e=new F5c,f=_.dN(a.H,d.scopedUser);e=_.x(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.PA(9);else if(!a.Jb(c,b))return null;return c},hkd=function(a){var b=(new N5c).ek(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},mkd=function(a){var b=new h6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},kkd=function(a,b,c,d){return nkd(a,function(){okd(a)[c](b,d)},c,b)},pkd=function(a){a=void 0===a?{}:a;var b=new R5c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},rkd=function(a){var b=new X5c;Y5c(b,(a.choices||[]).map(function(c){var d=(new W5c).wd(c.label).Jb(c.value);c.description&&d.rm(c.description);if(c.capabilities){var e=c.capabilities;var f=new U5c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.x(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new V5c).ek(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=qkd(c.badgeColors),_.x(e,3,f)),c.darkBadgeColors&&(c=qkd(c.darkBadgeColors),_.x(e,4,c)),_.x(d,4,e));return d}));return b},qkd=function(a){var b=new M5c;var c=skd(a.backgroundColor);b=_.x(b,1,c);c=skd(a.foregroundColor);b=_.x(b,2,c);a=skd(a.soloColor);return _.x(b,3,a)},skd=function(a){var b=new _.WB;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 y4c).Jb(a.alpha),_.x(b,4,a));return b},tkd=function(a){var b=new a6c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},ukd=function(a){var b=(new _.Xna).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};bkd.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.PA(ikd[d]);return nkd(this,function(){vkd(c)[d](a,b[b.valueType])},b.valueType)};
var nkd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof c6c))return a5c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},lkd=function(a){return _.TVc(1).Pb(a.personName.split("/")[1])},jkd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},okd=function(a){return{BOOLEAN:function(b,c){var d=b.i4a;var e=new S5c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.Cda(pkd(c))},TEXT_LIST:function(b,c){var d=b.i5a;var e=new $5c;e=_.A(e,1,c.maxEntries);c=pkd(c.options);c=_.x(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new Q5c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.qk(b,10,GN[0],c)},SELECTION:function(b,c){return b.W4a(rkd(c))},SELECTION_LIST:function(b,c){var d=b.V4a;var e=new Z5c;e=_.A(e,1,c.maxEntries);c=rkd(c.options);c=_.x(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.v4a(tkd(c))},INTEGER_LIST:function(b,
c){var d=b.u4a;var e=new b6c;e=_.A(e,1,c.maxEntries);c=tkd(c.options);c=_.x(e,2,c);return d.call(b,c)},USER:function(b){return b.n5a(new d6c)},USER_LIST:function(b,c){var d=b.Tpa,e=new e6c;c=_.A(e,1,c.maxEntries);e=new d6c;c=_.x(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.zpa;var e=new P5c;e=_.A(e,4,c.dateFormat);var f=ukd(c.minValue);e=_.x(e,2,f);c=ukd(c.maxValue);c=_.x(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new c6c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,ikd[e]);c=c[jkd(e)+"Options"];kkd(a,d,e,c);return _.qk(b,16,GN[0],d)}}},vkd=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.Ppa(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.Lpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Dpa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.dN(a.H,c))},USER_LIST:function(b,c){H5c(b,c.map(function(d){return _.dN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},ikd={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 wkd=function(a){a=a.personResponse;return x$c(new w$c,a.map(function(b){var c=b.person;b=t$c(new kO,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=u$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new s$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.x(b,4,c)}))};
var xkd=function(a){this.H=a},zkd=function(a,b){_.bN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return ykd(a,c)})},ykd=function(a,b){_.bN(["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)&&
f1c(c,d.map(function(e){_.bN(["drive#driveCategoryReference"],e);var f=new _.gl;return _.A(f,1,e.category)}));c=_.KWc(_.JWc(_.GWc(_.HWc(e1c(_.jF((new _.hl).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.gWc(_.G_c(b.capabilities),!0),_.rM(c,d));b.permissionsSummary&&_.IWc(c,_.W_c(a.H,b.permissionsSummary));b.restrictions&&h1c(c,Akd(b.restrictions));return c},Akd=function(a){var b=new a4c;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 Bkd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},v2c=_.ab(Bkd);
var Ckd=function(a){_.bN(["drive#setting"],a);var b=new _.Rb;b=_.A(b,2,a.key);b=_.A(b,1,Bkd[a.namespace]);return _.IAa(new _.dp,b).Jb(a.value)};
var Ekd=function(a){_.bN(["drive#workspaceList"],a);var b=a.items||[];b=A$c(new lO,b.map(function(c){return Dkd(c)}));return new _.SM(b,cdd(a))},Dkd=function(a){_.bN(["drive#workspace"],a);var b=(new _.hF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.cN(a.createdDate));return _.A(b,4,_.cN(a.modifiedDate)).Od(Fkd[a.state])},Gkd=function(a,b,c){var d=c.item||[];return _.M0c(_.L0c(new _.iN,d.map(function(e){return Ijd(a,b,e)})),c.suggestionSessionId)},Ikd=function(a,b,c){var d=c.item||[];return d7c(c7c(new ON,
d.map(function(e){return Hkd(a,b,e)})),c.suggestionSessionId)},Hkd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return a7c(Z6c($6c(Y6c(new NN,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Ijd(a,b,f)})),cP(c))},Jkd=function(a){var b=new C5c;a.kind&&(a=Dkd(a),_.x(b,2,a));b.Dc(1);return b},Fkd={active:1,archived:2};
var r2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var Kkd=function(a,b,c,d){_.e0c.call(this,b);this.Mg=a;this.ka=c;this.O=d;this.W=null;this.ma=new wid(this.V,b);this.H=new xkd(this.xF);this.oa=new Gjd(this.xF,this.H)};_.L(Kkd,_.e0c);var Lkd=function(a){a.W||(a.W=new bkd(a.V,a.ka));return a.W};
Kkd.prototype.ha=function(a,b){if(a instanceof _.sL)var c=_.O_c(_.j0c(a));else{if(a instanceof _.tL)var d=_.g0c(this,a,b);else{if(a instanceof _.uVc)var e=Mkd(this,a.request,b);else{if(a instanceof _.uL)var f=_.g0c(this,a,b);else{if(a instanceof _.wL){if(!b.json)throw _.eN();var h=M6c((new L6c).Dc(1),ykd(this.H,b.json))}else{if(a instanceof _.vL)var k=_.g0c(this,a,b);else{if(a instanceof _.IM)var l=new y6c;else{if(a instanceof _.yL)var p=Nkd(a,b);else{if(a instanceof _.AL)var q=yjd(void 0,a.Ah());
else{if(a instanceof _.BL)var r=new Bed;else{if(a instanceof _.CL)var u=_.O_c(_.j0c(a));else{if(a instanceof _.DL)var y=new KO;else{if(a instanceof _.EL)var z=_.O_c(_.j0c(a));else{if(a instanceof _.FL)var C=_.O_c(_.j0c(a));else{if(a instanceof _.GC){var G=new Fdd,I=a.getKey();var M=_.x(G,4,I)}else{if(a instanceof _.GL)var P=Nkd(a,b);else{if(a instanceof _.JL)var V=_.O_c(_.j0c(a));else{if(a instanceof _.rVc){if(!b.json)throw _.eN();var pa=new $8c(b.json.exportJob.id)}else{if(a instanceof _.LL){if(!b.json)throw _.eN();
var ia=b.json,qa=new Add,ta=xjd(ia);var va=_.x(qa,2,ta).Dc(1)}else{if(a instanceof _.ML)var Ya=Okd(a,b);else{if(a instanceof _.NL){if(!b.json)throw _.eN();var Ga=(new KO).Dc(1),Pa=_.P_c(this.xF,b.json);var $b=_.x(Ga,2,Pa)}else{if(a instanceof _.WK)a:{if(!b.json)throw _.eN();if(a instanceof _.WK){var nb=a.zd();if(nb&&_.OL(nb)){var mc=Kjd(this.O,this.Mg,b.json);break a}if(nb&&_.PL(nb)){mc=Mjd(this.O,this.Mg,b.json);break a}if(nb&&_.QL(nb)){mc=Ojd(this.O,this.Mg,b.json);break a}}mc=_.L_c(this.xF,b.json,
b.headers)}else{if(a instanceof _.RL){if(!b.json)throw _.eN();var Lc=Fjd(b.json)}else{if(a instanceof _.SL){if(!b.json)throw _.eN();var yc=b.json;_.bN(["drive#appList"],yc);for(var be=new jO,Id=[],Xe=yc.items||[],lc=0;lc<Xe.length;lc++)Id.push(xjd(Xe[lc]));var rb=_.Cb(be,2,Id);var yf=_.ek(rb,4,yc.defaultAppIds).Dc(1)}else{if(a instanceof _.sVc){if(!b.json)throw _.eN();var pg=Djd(b.json)}else{if(a instanceof _.iL)var Ce=Pkd(this,b);else{if(a instanceof _.TL){if(!b.json)throw _.eN();var Kh=new Ddd,
tf=this.xF,Lh=b.json,Of=new CN,nj=_.Q_c(tf,Lh,"items");var De=_.Cb(Of,2,nj);var Ie=_.x(Kh,1,De);var Pg=_.A(Ie,2,cdd(b.json))}else{if(a instanceof _.UL){if(!b.json)throw _.eN();var Ug=this.xF,Bi=b.json,Zi=new s5c;_.bN(["drive#revisionList"],Bi);for(var yl=[],pm=Bi.items||[],ji=0;ji<pm.length;ji++){var zf=_.M_c(Ug,pm[ji]);yl.push(zf)}var Ci=_.Cb(Zi,2,yl)}else{if(a instanceof _.zK)var ve=Qkd(a,b);else{if(a instanceof _.WL){if(!b.json)throw _.eN();var oj=wkd(b.json)}else{if(a instanceof _.AVc){if(!b.json)throw _.eN();
var zh=fkd(Lkd(this),b.json)}else{if(a instanceof _.bF){if(!b.json)throw _.eN();var Zh=Lkd(this),Mh=b.json,Uj=new Ndd,eh=ekd(Zh,Mh);var sh=_.x(Uj,2,eh).Dc(1)}else{if(a instanceof _.XL){if(!b.json)throw _.eN();var qg=b.json;_.bN(["drive#remainingCount"],qg);var dg=new Odd,pi=qg.nextPageToken;null!=pi&&_.A(dg,2,Number(pi));_.A(dg,1,Number(qg.remainingCount));var Nh=dg}else{if(a instanceof _.gF){if(!b.json)throw _.eN();var $h=(new _.pA).Tw([ykd(this.H,b.json)])}else{if(a instanceof _.gM){if(!b.json)throw _.eN();
var th=(new _.pA).Tw(zkd(this.H,b.json)),pj=_.nZc(new _.WM,th);var Ej=_.A(pj,3,cdd(b.json))}else{if(a instanceof _.aM)var Vj=Okd(a,b);else{if(a instanceof _.bM)var qj=Mkd(this,a,b);else{if(a instanceof _.gL)var Ee=_.g0c(this,a,b);else{if(a instanceof _.cM)var Di=_.g0c(this,a,b);else{if(a instanceof _.dM)var rk=Rkd(this,b);else{if(a instanceof _.HC){if(!b.json)throw _.eN();var sk=Ckd(b.json),jc=new Fdd;var Ag=_.x(jc,3,sk);var we=sk.getKey();var Ei=_.x(Ag,4,we)}else{if(a instanceof _.eM)var eg=Nkd(a,
b);else{if(a instanceof _.RK){if(!b.json)throw _.eN();var Wj=Aid(this.ma,b.json)}else{if(a instanceof _.iF){if(!b.json)throw _.eN();var fg=Dkd(b.json),Pe=new _.NM;Pe.gU().set(fg.getId(),fg);var zl=Pe}else{if(a instanceof _.tVc){if(!b.json)throw _.eN();for(var Fj=b.json,Af=new W8c,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=ejd(Gj);_.Cb(Af,1,$i)}}var bf=
Af}else{if(a instanceof _.vVc)var qm=Rkd(this,b);else{if("undefined"!=typeof _.zVc&&a instanceof _.zVc)var rm=Pkd(this,b);else{if(a instanceof _.wVc){if(!b.json)throw _.eN();var Rm=new Z8c}else{if(a instanceof _.xVc){if(!b.json)throw _.eN();var Cn=u2c(b)}else{if(a instanceof _.FC){if(!b.json)throw _.eN();var zk=b.json,Rh=new _.Wy;_.bN(["drive#settingList"],zk);for(var Lj=[],Ak=zk.items||[],$m=0;$m<Ak.length;$m++){var eo=Ckd(Ak[$m]);eo&&Lj.push(eo)}var an=_.Ahb(Rh,Lj)}else{if(a instanceof _.fF){if(!b.json)throw _.eN();
var $l=Ikd(this.O,this.Mg,b.json).Dc(1)}else{if(a instanceof _.eF){if(!b.json)throw _.eN();var Dm=Gkd(this.O,this.Mg,b.json)}else{if(a instanceof _.FVc){if(!b.json)throw _.eN();var xr=b.json;_.bN(["drive#teamDrive"],xr);var cF=xr.recursiveFolderCount,GI=xr.recursiveFileCount,dF=new sdd;var oY=_.A(dF,1,GI);var HI=_.A(oY,2,cF)}else{if(a instanceof _.EVc)var pY=Skd(b);else{if(a instanceof _.HVc){if(!b.json)throw _.eN();var qY=Ekd(b.json)}else qY=a instanceof _.rN?Rkd(this,b):null;pY=qY}HI=pY}Dm=HI}$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 Nkd=function(a,b){if(!b.json){if(a instanceof _.GL)return Jkd({});throw _.eN();}return Jkd(b.json)},Rkd=function(a,b){if(!b.json)throw _.eN();a=ykd(a.H,b.json);return(new _.iM).Dc(1).setItem(a)},Mkd=function(a,b,c){if(!c.json)throw _.eN();return dkd(Lkd(a),b,c.json)},Okd=function(a,b){if(!b.json)throw _.eN();return yjd(b.json,a.Ah())},Pkd=function(a,b){if(!b.json)throw _.eN();a=a.oa;var c=b.json;_.bN(["drive#about","drive#changeList"],c);b=new q$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){_.bN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.bN(["drive#change"],h);var k=new _.ZK;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.NUc(k,h.teamDriveId),_.$K(k,h.teamDriveId)):_.$K(k,h.fileId);h.file?k.setItem(_.I_c(f.H,h.file)):h.teamDrive&&k.setItem(ykd(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.kL(k);d.push(k)}_.Cb(b,4,d)}return b},Skd=function(a){var b,c;if(!a.json)throw _.eN();
a=a.json;var d=a.result&&a.result.status;d=d&&Tkd[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 eed(ded(ced(new _.bed,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.$dd;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Zdd(Ydd(Xdd(Wdd(new MO,cdd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},Qkd=function(a,b){var c=new Ded;if(_.Nd(a,6).length){var d=[];r1c(_.Nd(a,6),b.headers).forEach(function(e,f){var h=new _.MRc;e=_.A(h,1,f).Jb(e);d.push(e)});_.Cb(c,1,d)}Eed(c,b.json?JSON.stringify(b.json):b.text);return c},Tkd={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Vkd=function(a){var b=new _.Mo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Ukd[a]);_.FM(b,c.join(" "))}return b.toString()},Wkd={},Ukd=(Wkd[1]="active",Wkd[2]="archived",Wkd);
var Xkd=function(a,b,c,d){_.fN.call(this,b,c,a.aNa,d);this.ma=a;this.ha=new D9c(_.DM(c),b)};_.L(Xkd,_.fN);
Xkd.prototype.V=function(a,b,c){var d=this;try{return _.fN.prototype.V.call(this,a,b,c)}catch(P){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.tL){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=ddd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.uL){h="POST";q="files/"+a.Jc()+"/authorize";k.appId=a.Ah();
_.R(a,3)&&(k.propagate=!0);var u=a.we();p=!0;_.CM(k);_.lM(this.H,[],[a.Jc()],this.O,f)}else if(a instanceof _.rN)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=aO(this.H,[],!0),u=a.we(),p=!0;else if(a instanceof _.vVc)h="POST",q="teamdrives/"+a.requestId,k.fields=aO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.we(),p=!0;else if(a instanceof _.yL)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=fdd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.vL)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.iVc({fields:this.Og(c),tr:_.PK(_.QK(this.H)),JG:_.VK(this.H)}),k.convert=_.S(a,4,!1),r=edd(a),f["content-type"]="application/json",u=a.we(),a=_.Nd(a,3).concat([a.getId()]),_.lM(this.H,[],a,this.O,f),p=!0,_.CM(k),_.v0c(this.H,k);else if(a instanceof _.AL)h="DELETE",q="apps/"+a.Ah(),k.appId=a.Ah(),k.deleteAppData=
!!_.R(a,2),u=a.we(),p=!0;else if(a instanceof _.BL)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.CL)h="DELETE",q="files/"+a.getId(),u=a.we(),p=!0,_.CM(k),_.v0c(this.H,k),_.lM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.DL)h="DELETE",q="files/"+a.Jc()+"/permissions/"+_.D(a,2),u=a.we(),p=!0,_.CM(k);else if(a instanceof _.EL)h="DELETE",q="files/"+a.Jc()+"/revisions/"+_.D(a,2),u=a.we(),p=!0,_.lM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.FL)h="DELETE",q="teamdrives/"+
a.getId(),u=a.we(),p=!0;else if(a instanceof _.GC)h="DELETE",u=a.getKey(),q="settings/"+_.D(u,2),_.ep(u)&&(k.namespace=v2c[_.ep(u)]),u=a.we(),p=!0;else if(a instanceof _.GL)h="DELETE",q="workspaces/"+a.getId(),u=a.we(),p=!0;else if(a instanceof _.JL)h="DELETE",q="files/trash",u=a.zd().we(),p=!0,_.v0c(this.H,k);else if(a instanceof _.LL)q="apps/"+a.Ah(),u=a.we(),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 _.RL)q="backups/"+a.getId()+"/items",e=9,k.languageCode=yN(_.QK(this.H));else if(a instanceof _.ML)h="POST",q="apps",k.appId=a.Ah(),u=a.we(),p=!0;else if(a instanceof _.NL)h="POST",q="files/"+a.Jc()+"/permissions",k.fields=_.VK(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.dg()?r.role="owner":3==a.dg()?r.role="writer":4==a.dg()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.dg()&&(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.we(),p=!0,_.CM(k);else if(a instanceof _.rVc)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=_.ZYc(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 _.WK||a instanceof _.IM||a instanceof _.fF||a instanceof _.eF)if(b=a instanceof _.WK?a.zd():a,_.kM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.wM(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=M9c(this.H);z.platformType=y;z.languageCode=yN(_.QK(this.H));z.timeZone=(new _.tt).P$();z.requestType="LIVE_REQUEST";a instanceof _.WK&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.gf?_.OL(b)?(J9c(this.ha)?(z.scenarioType="ONE_PICK",this.Ed.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.uM(b)&&(J9c(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=L9c(b))):_.PL(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.QL(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.IM?(q="/v1/userfeedback",r.userFeedback=_.pk(b,_.v6c,1).map(function(P){var V=_.E(P,_.JN,2),pa={},ia={};ia.feedbackType=N6c[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,_.JN,3).map(function(qa){var ta={};ta.itemId=qa.Jc();return ta})}return pa})):b instanceof _.fF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.eF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Sp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.y0c(a);b instanceof _.IM||(r.maxSuggestions=b.Oi(),r.clientInfo=z)}else{u=b.we();p=!0;q="files";k.q=_.bYc(b);y=[];var C;(C=_.fL(this.H))&&
_.S(C,4,!1)?(C=_.xa(this.Og(c),this.Og(c,b.O())),_.Ea(C)):C=_.ya(this.Og(c));var G=void 0,I=!1;0<_.pk(b,_.Fl,5).length&&(G=_.D(this.H.$f(),50),I=!0);k.fields=X0c({fields:C,tr:_.PK(_.QK(this.H)),J7:G||void 0,JG:_.VK(this.H),qBb:I});k.appDataFilter="NO_APP_DATA";0<_.pk(b,_.tM,25).length&&(k.sources=_.UXc(b));0<b.sB().length&&(k.spaces=_.VXc(b));a.Wn()&&(k.pageToken=a.Wn());(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));_.CM(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Nd(b,33).length&&2==_.uM(b)&&(a=_.Nd(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.BXc[_.uM(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()}));_.lM(this.H,_.pk(b,_.Hl,63),y,this.O,f);t1c(k,b.Ac());_.w0c(this.H,k);_.x0c(this.H,
k);_.E(b,_.aea,64)&&(a=b4c(_.E(b,_.aea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.SL){q="apps";switch(a.getType()){case 1:k.fields=Ykd;break;case 2:k.fields=Zkd;break;case 4:k.fields=$kd;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.ou=!0}k.languageCode=yN(_.QK(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.we();p=!0}else if(a instanceof _.sVc)q="backups",e=9,k.languageCode=yN(_.QK(this.H));else if(a instanceof _.iL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.fR(),k.startChangeId=_.D(a,1),k.fields=W0c({fields:this.Og(c),J7:aO(this.H,_.Nd(a,5)),tr:_.PK(_.QK(this.H)),JG:_.VK(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Nd(this.H.$f(),31),u.length&&(k.spaces=_.Bb(u,function(P){return _.PRc[P]}).join(",")),_.CM(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.we(),p=!0;else if(a instanceof _.TL)b=a.zd(),q="files/"+b.getId()+"/permissions",k.fields=_.VK(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.Wn()&&(k.pageToken=a.Wn()),_.D(a,1)&&(k.maxResults=_.D(a,1)),u=b.we(),p=!0,_.CM(k),_.w0c(this.H,k),_.x0c(this.H,k),_.lM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.UL)k.fields=_.VK(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.Oi(),q="files/"+a.Jc()+"/revisions",u=a.we(),p=!0,_.lM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.gF)q="teamdrives/"+a.Zm()[0],k.fields=aO(this.H,a.O()),u=a.we(),p=!0;else if(a instanceof _.EVc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=gdd(a),f["content-type"]="application/json",p=l=!0,_.lM(this.H,[],_.Nd(a.request,1),this.O,f);else if(a instanceof _.gM)u=a.zd(),q="teamdrives",k.fields=d9c(this.H,u.O()),k.q=u9c(u),
a.Wn()&&(k.pageToken=a.Wn()),(u=(u=a.getOptions())&&_.ak(u,1,1E3))&&(k.maxResults=u),u=a.zd().we(),p=!0;else if(a instanceof _.FVc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.aM)h="PUT",q="apps/"+a.Ah(),k.appId=a.Ah(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.gL)h="PUT",q="files/"+a.getId(),k.fields=_.iVc({fields:this.Og(c),tr:_.PK(_.QK(this.H)),
JG:_.VK(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=yN(_.QK(this.H)),r=hdd(a),f["content-type"]="application/json",u=a.we(),p=!0,_.CM(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.v0c(this.H,k),b=_.Nd(a,9).concat(_.Nd(a,10)),b.push(a.getId()),_.lM(this.H,_.pk(a,_.Hl,38),b,this.O,f);else if(a instanceof _.cM)h="PUT",q="files/"+a.Jc()+"/revisions/"+_.D(a,2),r=idd(a),f["content-type"]="application/json",u=a.we(),_.lM(this.H,[],[a.Jc()],this.O,f);else if(a instanceof _.dM)q="teamdrives/"+a.getId(),null!=a.Cm()?(h="POST",q+="/"+(a.Cm()?"hide":"unhide")):(h="PUT",r=jdd(a),f["content-type"]="application/json"),k.fields=aO(this.H),u=a.we(),p=!0;else if(a instanceof
_.eM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=kdd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.HC)h="PUT",r=_.E(a,_.dp,1),u=r.getKey(),q="settings/"+_.D(u,2),(u=_.ep(u))&&(k.namespace=v2c[u]),r=w2c(r),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.RK)q="about",k.fields=_.VK(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=z2c(k.fields,this.H),k.fields=A2c(k.fields,this.H),u=a.we(),p=!0;else if(a instanceof _.zK){e=11;h=a.Oz();q=a.getUrl();var M=_.D(a,5)||"";_.pk(a,_.MRc,2).forEach(function(P){f[P.getKey()]=
P.Xa()});_.pk(a,_.MRc,4).forEach(function(P){k[P.getKey()]=P.Xa()});_.R(a,7)&&(b.yKb=!0);_.R(a,8)&&(b.ou=!0);_.R(a,9)&&(b.aoa=!0)}else a instanceof _.uVc?(b=a.request.Jc(),q="files/"+b+"/listCategoryMetadata",u=a.request.we(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Oi()&&(k.maxResults=a.request.Oi()),k.fields="kind,nextPageToken,categoryMetadata",_.lM(this.H,[],[b],this.O,f)):a instanceof _.bM?(f["content-type"]="application/json",h="POST",b=a.Jc(),q="files/"+b+"/updateCategoryMetadata",
u=a.we(),r={categoryMetadata:a.WV().map(function(P){var V=_.pk(P,_.$E,2).map(function(ia){return{id:ia.getId(),userId:ia.Tz(),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.Xm()};V.length?pa.categoryAttributeValueDeltas=V:_.Nd(P,4).length?pa.revertAttributeIds=_.Nd(P,4):_.R(P,3)&&(pa.removeCategory=_.R(P,3));return pa})},_.lM(this.H,[],[b],this.O,f)):a instanceof _.WL?(e=13,q=_.PK(_.QK(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.Zm(),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"],_.PK(_.QK(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.AVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Oi()&&(k.maxResults=a.request.Oi()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=yN(_.QK(this.H))):a instanceof _.bF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
yN(_.QK(this.H))):a instanceof _.wL?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.we(),p=!0,k.fields=aO(this.H,[157],!0),r={},b=_.pk(a,_.gl,2),b.length&&(r.addCategoryReferences=b.map(function(P){return{category:P.Xm()}})),a=_.pk(a,_.gl,3),a.length&&(r.removeCategoryReferences=a.map(function(P){return P.Xm()}))):a instanceof _.iF?(q="workspaces/"+a.Zm()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.we(),p=!0):a instanceof _.tVc?
(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=_.fL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.wVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.xVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.zVc&&a instanceof _.zVc?(q="changes",k.fields="kind,largestChangeId",_.CM(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.FC?(q="settings",u=_.Nd(a,3),k.namespace=x2c(u),u=a.we(),p=!0):a instanceof _.HVc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Oi()&&(k.maxResults=a.request.Oi()),k.q=Vkd(a.request),(u=a.request.yw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.we(),p=!0):a instanceof _.XL?(q="changes/getRemainingCount",k.pageToken=_.D(a,2),_.Q(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.we()):a instanceof _.sL?(f["content-type"]="application/json",h="POST",q="files/"+a.Jc()+"/sendAccessRequest",r={},l=!0):_.y0c(a);p&&_.z0c(c,k);0!=e||l||u&&_.D(u,1)||_.TM(this.Ed,74438989);return _.A0c(this,e,q,k,f,h,u,r,M)};
Xkd.prototype.W=function(a,b){a=this.ma.wm.H(a);b.expectedParentIds=a?a.tk().join(","):[]};
var Ykd=y2c("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"),Zkd=
y2c("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"),
$kd=y2c("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 ald=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.npa=_.ii();this.jga=new _.OYc;var qa=new _.pZc(this.mK.bind(this),function(){return V("w8KrJc")}),ta=new uid(b.wm),va=new lid(qa);c=new did(b,f,new Zhd(d,e,c),h,this.npa.promise,k,l,c,V);d=new tid(b,p,q,r,u,d,e,C,k);this.O=new _.RYc(a,y);y=new Xkd(b,a,k,pa);this.ota=new Kkd(k,a,z,C);this.H=bdd(a,new _.D_c(this.O,this.jga,y,this.ota,G,I,M),I,z,P,b.wm,this.jga,this.npa.promise,M||void 0);this.npa.resolve(ia?ia:new _.b_c(new vid,
ta,va,this.H,qa,c,d,a))};ald.prototype.mK=function(){return _.Qa(this.H,function(a){return a.mK()})};var hfd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=v5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var bld=function(a,b){var c=this;this.context=a;this.Mg=b;this.ha=null;this.QR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Ed=a.Wk();this.W=new _.zn;this.O=a.Pc;this.Ha=_.fL(this.O)||new _.dL;b=_.zN(this.O);this.va=new _.XYc(_.ak(b,2,37500),_.ak(b,3,6E5));this.ma=a.LQ;_.Ma(X9c,function(d){c.V[d]=[]});nO(a.Jj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});nO(a.Jj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});nO(a.Jj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.rL().catch(_.Nf)})};_.g=bld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,WO(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&a5c(a.context.ag(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.pL(c));a.log("Error initializing dump storage");a.uS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.doa=function(a){this.active&&(this.QR+=a,this.QR>_.ak(_.zN(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.nR().mK()||0<b.zf.PL.Joa||b.Lj().$e()||b.vk().$e())||((this.active=a)?(this.W.resolve(),this.H||this.rL().catch(_.Nf)):(this.W=new _.zn,_.n.clearTimeout(this.oa)))}};_.g.uS=function(){this.ka=!0};_.g.SWa=function(){return this.H?this.H.promise:(new _.zn).resolve()};
_.g.rL=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 Wcd(a.context.HD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([cld(a,3,d,void 0,void 0,b),cld(a,0,d,void 0,!0,b),cld(a,1,d,void 0,!0,b),cld(a,5,d,void 0,!0,b),cld(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.qc("Failed to update dump",void 0,_.pL(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("ng"))}).then(function(c){a.H.resolve(c);b&&(c=h5c(b),_.A(c,2,!0),b.Yj())},function(c){a.H.reject(c);b&&(c=h5c(b),_.A(c,2,!1),b.Yj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.zn,e=this.Ed.H(106021)||void 0;e&&(Q4c(h5c(e),_.KM(_.pUc,a)),d.promise.then(function(){var f=h5c(e);_.A(f,2,!0);e.Yj()},function(){var f=h5c(e);_.A(f,2,!1);e.Yj()}));this.W.promise.then(function(){return Wcd(c.context.HD)}).then(function(f){f=!f;c.ka?d.resolve():cld(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var cld=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.Mu(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Mu(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.Kf()?a.uS():p instanceof _.qc&&(p=p.O||null,p instanceof _.LK&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.uS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
bld.prototype.Mu=function(a,b,c,d,e){var f=this,h=new _.zn;this.W.promise.then(function(){if(3===a)dld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.jQ;k=k.H?k.H.clone():null;break;case 1:k=f.context.n_.Nq();break;case 5:k=eld(f.context.sE);break;case 6:k=f.context.zf.qr;k=x$c(new w$c,rad(k.H));break;default:h.reject(Error("og"));return}if(k){var l=_.pk(_.zN(f.O),xN,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Ubd(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 dld=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.QR)return Promise.resolve();a.QR=0;var e=_.pk(_.zN(a.O),xN,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(n7c,function(k){0<k&&(k=fld(a,k),k.length&&f.push(Ubd(a.ma,c?e:null,k,d)))});var h=new _.zn;Promise.all(f).then(function(){a.Fa&&a.context.HD.set(Ucd,!0);h.resolve()},h.reject);return h.promise};
bld.prototype.Ka=function(){_.KG(this.va);this.update(3,!0)};
var fld=function(a,b){switch(b){case 1:return[gld(a)];case 2:var c=(b=a.context.zf.ew.H)?b.hy():[];c=hld(a,_.Sa(Y1c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.ak(_.zN(a.O),5,2E4)&&(b&&pO(b),c=[]);c=h7c(new QN,ild(c));var d=a.context.zf.ew;a=new i2c;(d=d.H)&&d.UN&&(d=d.hy(),_.A(a,3,d.length));c=_.x(c,11,a);c=m7c(c,2);b&&k7c(c,b.YN());return[c];case 3:return jld(a);case 4:return kld(a);default:throw new _.qc("Unsupported CacheType");}},gld=function(a){for(var b={},c=[],d=
bad(a.context.zf.ew,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.hy(),l=hld(a,X1c(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 PN).zg(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 k7c(m7c(j7c(h7c(i7c(l7c((new QN).Hu(a.context.Yn()),_.DM(a.Mg)),a.ha.jW(null)),ild(d)),c),1),!e)},jld=function(a){var b=[],c=a.ha;a.context.zf.ew.pW().forEach(function(d){var e=c.jW(d.Bc());if(e){var f=
hld(a,X1c(d.hy()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=k7c(m7c(i7c(h7c(new QN,ild(f)),e),3),d.YN(d.zd()));d=(new PN).zg(d.zd());j7c(e,[d]);b.push(e)}});return b},kld=function(a){var b={},c=[];a.context.zf.pW().forEach(function(d){1===d.PJ()&&null==_.R(d.zd(),6)&&(X1c(d.hy()).forEach(function(e){b[e.getId()]=e}),d=f7c((new PN).zg(new _.gf),d.zd()),c.push(d))});return[k7c(m7c(j7c(h7c(new QN,ild(Object.values(b))),c),4),!1)]},hld=function(a,b){b=x1c(b);_.R(a.O,67)&&(b=lld(b));
_.VK(a.O)&&(_.S(a.Ha,9,!1)?Kad(a.context.zf.qr,b)&&(_.TM(a.Ed,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Iad(a.context.zf.qr,b)):b=Iad(a.context.zf.qr,b));return b.filter(function(c){return 4!==oN(c)})},lld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,n1c(c)?(c=c.clone(),Y0c(c,m1c),b.push(c)):b.push(c);return b},ild=function(a){return a.map(function(b){return b.clone()})};
bld.prototype.log=function(a,b){this.context.ag().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};bld.prototype.wEa=function(){this.Fa=!0};
var mld=function(){};_.g=mld.prototype;_.g.setActive=function(){};_.g.uS=function(){};_.g.update=function(){return Promise.resolve()};_.g.SWa=function(){return Promise.resolve()};_.g.rL=function(){return Promise.resolve()};_.g.doa=function(){};_.g.wEa=function(){};
var uN=function(a,b,c,d){_.Ki.call(this);var e=this;this.Aa=a;this.gs=c;this.rootId=null;this.Ha=!0;this.ha=null;this.oa=[];this.Ba=d||new _.HXc;this.Pc=b.clone();(a=_.fL(this.Pc))&&_.S(a,1,!1)&&_.eH(this.Pc,28);this.Mg=new _.QXc(this.Pc);this.un=new D9c(_.DM(this.Mg),this.Pc);nld(this);this.OX=new _.zn;this.Ab=_.n.setTimeout(function(){e.ag().info("drive.ds.sync.ThinContext","Page stable timed out.");e.OX.resolve();e.Wk().O(106020)},1E4);this.m_=new _.li;this.Fa=new _.rYc(_.xM(this.Pc),_.S(this.Pc.$f(),
52,!1));this.connectionState=new _.kYc(_.xM(this.Pc)?3:1,!_.S(this.Pc.$f(),52,!1));this.Ed=_.HYc(this.Pc,this.Fa,this.connectionState,this.Ba,this.OX.promise,this.gs);this.kga=new i$c(this.Ed);this.sQ=new _.li;old(this)};_.L(uN,_.Ki);uN.prototype.getEnvironment=function(){return this.gs};uN.prototype.lS=function(){this.ag().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.Ab);this.OX.resolve()};
var old=function(a){var b=function(){a.Ju().Sg(_.Nf)},c=a.Aa;(c=c&&_.kc(c,_.em))?_.Se(c,"w",b):_.uUc()||_.Se(_.n,"unload",b)};uN.prototype.Ju=function(){this.Ed.O(106005);l5c(this.Ed);var a=this.oa.map(function(b){return b()});_.oa(this.oa);return _.DK(a).then()};var pld=function(a,b){a.oa.push(b)};_.g=uN.prototype;_.g.ag=function(){return this.Ba};_.g.Hu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.m_.callback(a),a.length&&this.R4a(a,b||null))};_.g.R4a=function(){};
_.g.Yn=function(){return this.rootId};_.g.Wk=function(){return this.Ed};var qld=function(a){if(!a.ha)throw Error("qg");return a.ha},rld=function(a,b){a.ha=b};uN.prototype.BB=function(){return this.Ha||this.connectionState.isConnected()};uN.prototype.Lj=function(){return this.Fa};uN.prototype.vk=function(){return this.connectionState};uN.prototype.NNb=function(a){this.sQ.callback(a)};
var nld=function(a){var b=a.Pc.$f();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(_.zN(a.Pc),9,!1))if(b=_.pk(_.zN(a.Pc),xN,11),0<b.length){if(!_.D(b[0],1)||!b[0].getKey()&&!_.xM(a.Pc)&&!_.S(a.Pc,10,!1))throw Error("sg");}else _.A(_.zN(a.Pc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.zN(a.Pc),9,!1)&&(_.xM(a.Pc)||_.S(a.Pc,10,!1)))throw Error("tg");var c=_.QK(a.Pc);b=!(!c||!_.PK(c));c=c&&_.vM(c)||"";if(!b&&!c)throw Error("ug");b&&_.hk(a.Pc,44);_.pk(a.Pc,_.gf,44).forEach(function(d){try{H9c(a.un,d)}catch(e){if(e instanceof _.qc&&(d=e.Tg)&&3===d.lt())throw Error("vg");throw e;}})};uN.prototype.DJ=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,a)))};uN.prototype.log=function(a){this.ag().info("drive.ds.sync.ThinContext",a)};
var sld=function(a,b){this.H=a;this.Se=b};
var tld=new Set([5,4,1,6,2]),uld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),vld=function(a,b,c){_.Ki.call(this);this.ha=a;this.V=b;this.W=c;this.RF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(vld,_.Ki);
vld.prototype.tQ=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=tld.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,wld(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),u=e.RF.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.RF.set(q,r),e.O.set(q,b)):(l+=r.size,e.RF.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,oO(this.V,"px2C2c");oO(this.V,"rkYxSd")}(l||p)&&xld(this,!h)}};
vld.prototype.xD=function(){return 0<this.RF.size};var xld=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"))};vld.prototype.put=function(a){var b=a.getKey(),c=b&&_.ep(b);b=b&&_.D(b,2);if(c&&b&&(c=this.RF.get(c))){var d=c.get(b);a=wld(a);d&&_.xk(a,d)||(c.set(b,a),xld(this))}};vld.prototype.remove=function(a){var b=a&&_.ep(a);a=a&&_.D(a,2);b&&a&&(b=this.RF.get(b))&&b.delete(a)&&xld(this)};
var eld=function(a,b){var c=[];(b||[].concat(_.nd(a.RF.keys()))).forEach(function(e){(e=a.RF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.RF.has(e)}):[].concat(_.nd(a.RF.keys()));var d=new B5c;_.Cb(d,1,c);_.ek(d,2,b);return d};
vld.prototype.aH=function(a){var b=this,c=eld(this,a),d=new _.Wy;d.Dc(this.status);_.Ahb(d,_.pk(c,_.dp,1));_.x(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);uld.has(f)&&Infinity>uld.get(f)&&(e=f)});return new sld(d,e)};var wld=function(a){a=a.clone();a.lh()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var yld=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},Ald=function(a,b){return zld(a[b])+(zld(a[b+1])<<8)+(zld(a[b+2])<<16)+(zld(a[b+3])<<24)},zld=function(a){return 127<a?a-256:a};
var vN=function(a,b,c,d,e,f){uN.call(this,a,b,c,d);var h=this;this.$a=_.ii();this.xu=new S$c;this.W=null;this.O=_.ii();this.Ka=new _.li;this.B6=null;this.lga=new $ad;this.V=null;this.kb=_.ii();this.va=new _.li;this.aG=new Ebd;this.uz=new hbd;this.Rha=new M$c;this.zaa=_.ii();this.Oa=!1;this.ka=_.ii();this.H={};this.ma=null;this.Lb=new _.Le;this.Ma(this.Lb);this.Jj=e?e:new L$c(this.ag());this.Wk().W.O=this.Jj;this.QL=_.S(_.zN(b),9,!1)&&B2c()?Bld(this,b):null;this.Ew=new w9c(yN(_.QK(b)));this.HD=Cld(this,
this.QL);this.LQ=Dld(this,this.QL,b);this.Ws=Eld(this);this.zf=new $O(this,this.Mg);(a=(a=_.E(this.Pc,_.hl,12))&&a.getId())&&this.Hu(a,6);this.jQ=new qfd(this.Pc,this.zf.qr,this.Jj,this.ag(),this.Ws);this.n_=new vfd(this.ag(),this.Jj,this.Ws);this.sE=new vld(this.ag(),this.Jj,this.Ws);this.KI=new a$c(this.Nm(),this.ag(),function(k){return void h.DJ(k)});this.dz=_.S(this.Pc.$f(),52,!1)?new _.UM(this.vk(),this.Nm(),this.ag(),this.Wk()):null;nO(this.Jj,["mrK8ic"],function(){h.kb.promise.then(function(){agd(h,
h.V)})});this.bNa=new Abd(this.Pc);this.QA=new _.iZc(this.Pc,this.zf.wm);this.pta=new Vhd(this);this.A6=new dbd(this.O.promise,this.Nm());this.nb=new fbd(this.Nm(),this.A6);this.mga=new wbd(this.O.promise,this.Nm(),this.ag(),this.Pc);this.Ta=new ald(this.Pc,this.zf,this.DJ.bind(this),this.A6,this.nb,this.Ws,this.lga,this.Mg,this.Yn.bind(this),this.pta,this.n_,this.sE,this.mga,this.aG,this.ag(),this.bNa,this.QA,this.KI,this.dz,this.Lj(),this.Qpb.bind(this),this.Wk(),f);this.$a.resolve(this.Ta);this.fKa=
new Fhd(this);nO(this.Jj,["BNEDtc"],function(){return h.ka.resolve()});pld(this,function(){h.Ws.uS();return _.fi()})};_.L(vN,uN);
var Bld=function(a,b){var c=_.vM(_.QK(b)),d=_.wM(b),e=function(){},f=_.pk(_.zN(b),xN,11);f=f[0]&&_.D(f[0],1);var h=new ocd(c,d,_.ak(_.zN(b),10,0)||0,f||"",_.DM(a.Mg));_.xM(b)?c=Jcd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.ak(_.zN(b),8,432E6)?(b=Fld(a,c),c=Jcd(c,d,b).then(function(l){return l&&(e=function(p){return p.Jl(h).Sg(function(){return null})},!l.ha)?l:h})):c=_.fi(h);var k=new DO(c,a.ag(),a.Wk());k.initialize().then(function(){return e(k)},function(){return null});return k},Fld=
function(a,b){var c=_.ak(_.zN(a.Pc),8,432E6);if(!_.xM(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+=Ald(b,e),h.b+=Ald(b,e+4),h.c+=Ald(b,e+8),yld(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+=Ald(b,e+4);h.a+=Ald(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+=Ald(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=yld(h);return d.call(a,b)%c}};vN.prototype.Ry=function(a){var b=this;return this.QL?this.QL.Kf()?_.gi(Error("wg`"+vcd(this.QL))):Wcd(this.HD).then(function(c){var d=b.QL,e=[];e.push(b.Ws.SWa());e.push(a?d.Jl():Fcd(d));if(a===c)return _.hi(e).then(function(){return!1});!1===a&&(e.push(ucd(d)),(c=b.Yn())&&e.push(b.HD.Hu(c)));return _.hi(e).then(function(){return b.HD.Ry(a)},function(){return!1})}):_.gi(Error("xg"))};
var Dld=function(a,b,c){var d=null;b&&(d=new Obd(b,c,function(e){a.DJ(e)},a.Wk()),d.initialize());return d},Cld=function(a,b){var c=new Vcd(b||void 0);c.Yn().then(function(d){d&&a.Hu(d,5)});b&&(Wcd(c).then(function(d){a.Lj().Ry(d)}),_.hi([b.initialize(),a.OX.promise]).then(function(){Gld(a,c)},function(){}));return c},Gld=function(a,b){Zcd(b).then(function(c){(!c||c<Date.now()-864E5)&&Mcd(_.vM(_.QK(a.Pc)),_.wM(a.Pc),a.ag()).then(function(d){d&&(d=Date.now(),b.set(Tcd,d))},function(){})})},Eld=function(a){if(!a.LQ)return new mld;
var b=new bld(a,a.Mg);a.Lb.listen(a.Lj(),"Ab",function(c){return void b.setActive(!c.$e())});a.Lb.listen(a.vk(),[].concat(_.nd(Object.values(_.AA))),function(){return void b.setActive(a.vk().isConnected())});return b};vN.prototype.tY=function(a){this.B6=a;this.Ka.callback(a)};var WO=function(a){return a.Ka.xn()},gfd=function(a){return a.QL?a.QL.Kf():null},Hld=function(a,b){a.Jj.H("NSockf")?oO(a.Jj,b):nO(a.Jj,["NSockf"],function(){oO(a.Jj,b)})};
vN.prototype.R4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.xu.Hu(a),this.un.Hu(a),6!==b&&1!==b||this.HD.Hu(a),Hld(this,"jroI5d"))};vN.prototype.RVa=function(){return this.va.xn()};var agd=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.eg()||(a.va.callback(b),Hld(a,"T8oKm")))},Afd=function(a){if(!a.W)throw Error("yg");return a.W};_.g=vN.prototype;_.g.nR=function(){return this.Ta};_.g.Nm=function(){return this.$a.promise.then(function(a){return a.npa.promise})};
_.g.vEa=function(){this.Oa||(this.Oa=!0,this.zaa.resolve(),oO(this.Jj,"aU7Ts"))};_.g.BB=function(){throw Error("zg");};_.g.Qpb=function(a){this.dispatchEvent(a)};var Ild=function(a,b){lhd(a.zf,b)},Jld=function(a,b,c){a.H[b]=c},bfd=function(a){a.ma||(a.ma=new nbd(a.O.promise,a.Nm(),a.ag()));return a.ma};
var dP=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 Kld(d,e)})};_.L(dP,_.Ki);var Kld=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;fO(a.channel,a.Ba,function(c){c=V9c(c);a.eaa(c.H,!(!c.data||!c.$b),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};dP.prototype.eaa=function(){};
dP.prototype.send=function(a,b,c,d){var e=this,f=new _.li;this.oa.addCallback(function(){var h=e.channel;gO(h,e.Ba,R9c(new Q9c(e.clientId,a,b,d),h.W),function(k){return void Lld(k,a,f,c||function(){})})});return f};var Lld=function(a,b,c,d){a=V9c(a);a.data?c.callback(d(a.data,a.$b)):(a.error?d=a.error:(d=new _.pc,_.aL(d,2),_.bL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Qd(new _.qc(void 0,d)))};dP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var Mld=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var eP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ka=this.mV()};_.L(eP,_.N);eP.prototype.registerService=function(a){fO(a,this.V,(0,_.v)(this.Aw,this))};
eP.prototype.Aw=function(a){var b=this;a=S9c(a);var c=a.$b,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof T9c)return U9c(f,c);if(f.then)return f.then(function(h){return U9c(h,c)},function(h){h=_.cL(h);return U9c(b.od(void 0,h),c)})}catch(h){e=_.pL(h)}f=new _.pc;_.aL(f,2);_.bL(f,3);_.Sp(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return U9c(this.od(void 0,f),c)};
eP.prototype.od=function(a,b,c){if(a&&!b)return new T9c(a,void 0,c);a=_.cL(b);return new T9c(void 0,a,c)};eP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&gO(a,this.V,U9c(this.od(c,d,b),a.W))};
var Nld=function(){this.channels={};this.H=this.O=this.V=0},Old=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},Pld=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var Qld=function(a,b){eP.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.zf;this.O=this.context.mga;this.W=bfd(this.context);this.ka=this.context.A6};_.L(Qld,eP);
Qld.prototype.mV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.gf);return a.ai(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.JK);return a.ai(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.Cz);return a.ai(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.gF);return a.ai(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=tN(c.args[0],!!c.$b,_.gf);return a.fk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.JK);return a.fk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.Cz);return a.fk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.gF);return a.fk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=tN(c.args[0],!!c.$b,_.Cz);c=tN(c.args[1],!!c.$b,_.Cz);return a.sZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=tN(c.args[0],!!c.$b,_.gF);c=tN(c.args[1],!!c.$b,_.gF);return a.sZ(d,e,c)},b["4.7"]=function(c){return a.PF(c)},b["4.8"]=function(c){return a.PF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.mz);return a.ai(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.iF);return a.ai(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.mz);return a.fk(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.iF);return a.fk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.pF);return a.ai(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.pF);return a.fk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.fF);return a.ai(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=tN(c.args[0],!!c.$b,_.fF);return a.fk(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.fF){var d=a.W;Yad(d,d.getKey(c)).refresh()}return a.od([])},b};Qld.prototype.ai=function(a,b){var c=this,d=new _.zn;this.H[a]={query:b,YSb:d.promise};b instanceof _.mz?d.resolve(this.O.ai(a,b)):b instanceof _.iF?d.resolve(Wad(this.O,a,b)):b instanceof _.fF?d.resolve(this.W.ai(a,b)):b instanceof _.pF?d.resolve(this.ka.ai(a,b)):d.resolve(this.ha.ai(a,b));return d.promise.then(function(){return c.od([])})};
Qld.prototype.fk=function(a,b){Rld(this,a,b);return this.od([])};var Rld=function(a,b,c){delete a.H[b];c instanceof _.mz?a.O.fk(b,c):c instanceof _.iF?Xad(a.O,b,c):c instanceof _.fF?a.W.fk(b,c):c instanceof _.pF?a.ka.fk(b,c):a.ha.fk(b,c)};_.g=Qld.prototype;_.g.sZ=function(a,b,c){Rld(this,a,b);return this.ai(a,c)};
_.g.PF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.Ci(a.args[0]);c instanceof _.mz?this.O.ai(b,c):c instanceof _.iF?Wad(this.O,b,c):c instanceof _.fF?this.W.ai(b,c):c instanceof _.pF?this.ka.ai(b,c):this.ha.ai(b,c);return this.od([])};
_.g.JO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.bh(a[0]),f=a[1];d.YSb.then(function(h){b instanceof _.SM||b instanceof _.PM?c.update(e,f,[b.response,b.pageToken,b.H,b.Se,h]):(d.query instanceof _.gf?$0c(d.query.O(),b.Hd().filter(function(k){return!bO(k)})):d.query instanceof _.Cz&&$0c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!bO(k)})),c.update(e,f,[b,h]))})}};
_.g.YX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.bh(c[0]);c=c[1];var d=b.error;d.iga(b.H);this.update(a,c,void 0,d)}};_.g.kA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.bh(a[0]),a[1],["cacheRefresh"]))};_.g.y9=function(){};_.g.sla=function(a){if(!this.H[a])throw Error("Zf`"+a);return this.H[a].query};var Sld=function(a,b){_.Ma(a.H,function(c,d){_.bh(d.split(":")[0])===b&&Rld(a,d,c.query)})};
var Tld=function(a,b,c){dP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Tld,dP);Tld.prototype.Ixa=function(a){var b=this;a=new Led(this.context.un,this.context.sQ,this.context.ag(),this.context.Pc,function(c,d){return b.PF(c,d)},a,this.context.Wk());Uld(this,a);return a};Tld.prototype.Lxa=function(a){var b=this;a=new Sed(this.context.un,this.context.sQ,this.context.ag(),function(c,d){return b.PF(c,d)},a,this.context.Pc);Uld(this,a);return a};
var Uld=function(a,b){a.ai(b);_.ze(b,function(){a.fk(b);a.send("4.3",[b.zd()],void 0,b.Qi())});a.send("4.1",[b.zd()],void 0,b.Qi())};_.g=Tld.prototype;_.g.Fxa=function(a){var b=this,c=new Ped(this.context.Pc,this.context.un,this.context.ag(),this.context.m_,this.sZ.bind(this),a);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.4",[c.zd()],void 0,c.Qi())});this.send("4.2",[c.zd()],void 0,c.Qi());return c};
_.g.Oxa=function(a){var b=this,c=new Wed(a,this,this.context.Pc);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.11",[c.zd()],void 0,c.Qi())});this.send("4.9",[c.zd()],void 0,c.Qi());return c};_.g.Pxa=function(a){var b=this,c=new Xed(this.context,this,a);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.12",[c.zd()],void 0,c.Qi())});this.send("4.10",[c.zd()],void 0,c.Qi());return c};
_.g.Sxa=function(a){var b=this,c=new $ed(this.context,a,this);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.15",[c.zd()],void 0,c.Qi())});this.send("4.13",[c.zd()],void 0,c.Qi());return c};_.g.Txa=function(a){var b=this,c=new Oed(this.context,a);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.16",[c.zd()],void 0,c.Qi())});this.send("4.14",[c.zd()],void 0,c.Qi());return c};
_.g.Mxa=function(a){var b=this,c=new Ved(this.context,a,function(){b.send("4.21",[],void 0,c.Qi())});this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.23",[c.zd()],void 0,c.Qi())});this.send("4.22",[c.zd()],void 0,c.Qi());return c};_.g.Cxa=function(a){var b=this,c=new Jed(this.context.Lj(),this.context.vk(),this.context.ag(),function(d,e){return b.PF(d,e)},a);this.ai(c);_.ze(c,function(){b.fk(c);b.send("4.19",[c.zd()],void 0,c.Qi())});this.send("4.18",[c.zd()],void 0,c.Qi());return c};
_.g.ai=function(a){this.H.create(a.Qi(),a.zd());this.O[a.Qi()]=a};_.g.fk=function(a){hO(this.H,a.Qi(),4);delete this.O[a.Qi()]};_.g.sZ=function(a,b,c){if(b instanceof _.Cz&&c instanceof _.Cz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.gF&&c instanceof _.gF)this.send("4.6",[b,c],void 0,a);else throw Error("Ag");};
_.g.PF=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 _.JK)d="4.8";else if(c.zd()instanceof _.pF)d="4.20";else if(c.zd()instanceof _.mz)d="4.17";else throw Error("Bg");c.zd().Ci(b);this.send(d,[b],void 0,a)};
_.g.eaa=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new iO(d,d.u7()),a.uB(b),hO(this.H,a.Qi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.zW();return}var h=a.zd();if(h instanceof _.gf||h instanceof _.JK)h instanceof _.gf&&_.PL(h)?e=tN(d,b,_.MM):e=tN(d,b,_.pA);else if(h instanceof _.Cz||h instanceof _.gF)b?(e=new _.LM,C6c(e,function(k){return new _.hl(JSON.parse(k))},d)):e=d;else if(h instanceof _.pF)e=new _.PM(tN(d,b,LN),c[f++],c[f++],c[f++]);else if(h instanceof _.mz)e=new _.SM(tN(d,
b,lO),c[f++],c[f++],c[f++]);else if(h instanceof _.iF)e=tN(d,b,_.NM);else if(h instanceof _.fF)e=tN(d,b,ON);else throw Error("Cg");}e&&(b=f,c&&"boolean"===typeof c[b]&&j$c(this.H,a.Qi(),!!c[b]),m$c(this.H,a.Qi(),e),a.update(e))}};
var fP=function(){_.Ki.apply(this,arguments);this.commands=new _.rl;this.ha=this.active=this.Dp=!1};_.L(fP,_.Ki);fP.prototype.initialize=function(){this.Dp||(this.Dp=!0,this.V(),this.setActive(!0))};fP.prototype.V=function(){};fP.prototype.setActive=function(a){this.active=a;Vld(this)};var Vld=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;Vld(a)})}};fP.prototype.ka=function(){};
fP.prototype.Ba=function(){};fP.prototype.va=function(){return!0};fP.prototype.enqueue=function(a){try{var b=new _.li;this.commands.enqueue(new Wld(a,b));Vld(this);return b}catch(c){return _.ri(_.pL(c))}};var Wld=function(a,b){this.H=a;this.Lg=b};Wld.prototype.getCommand=function(){return this.H};Wld.prototype.PG=function(){return this.Lg};
var Zld=function(a){fP.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 Xld(b)});this.H=this.context.zf.qr;_.VK(this.context.Pc)&&this.Oc.listen(this.H,"Kb",this.W);var c=a.Jj;nO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Zj(a.Pc.$f(),17,1)&&(d.push("iuEtc"),nO(c,["mrK8ic"],function(){oO(c,"iuEtc")}));nO(c,d,function(){Yld(b)})};_.L(Zld,fP);Zld.prototype.V=function(){$ld(this)};
var Yld=function(a){if(1===a.context.jQ.Gh().Cb())Promise.resolve();else{var b=_.uf(_.vf(new _.sf,!0),301);b=_.SK(new _.RK,b);a.refresh(b).then(null,function(c){c=_.cL(c);_.A(c,21,"Initial account request failed.");a.context.DJ(c)})}},Xld=function(a){var b=_.uf(new _.sf,304);b=_.SK(new _.RK,b);a.refresh(b).then(null,function(){})};
Zld.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.ki(this.context.Nm().then(function(d){return d.We(a,b)}).then(function(d){var e=d.Gh(),f=e.getUser();if(f&&!1===_.Tk(f))d=_.eL(_.QK(c.context.Pc)),d=Error("Dg`"+d+"`"+_.oF(f)),_.sb(d),_.TM(c.context.Wk(),73301807),d=Promise.reject(d);else{f=c.context.jQ;var h=0===f.Ze()?1:6;_.VK(c.context.Pc)&&Cad(c.H,e);h=rfd(f,e,h);(e=e.getMetadata())&&c.context.Hu(_.D(e,2),1);(d=_.D(d,4))&&agd(c.context,d,!0);h&&c.dispatchEvent(new _.xi("WPi0i"));
d=Promise.resolve(new _.RM(f.Gh(),f.Ze(),!1))}return d}).then(function(d){return d},function(d){d=_.cL(d);_.A(d,5,1);return Promise.reject(new _.qc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Zld.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.ND&&(c.ND=b.ND);this.refresh(b.request,c).then(function(e){return a.PG().callback(e)},function(e){return void a.PG().Qd(e)})}else if(b=this.context.jQ,c=b.Gh(),_.VK(this.context.Pc)){c=c.Gh();var d=c.getUser();d=Gad(this.H,_.oF(d));Cad(this.H,c);rfd(b,c,b.Ze())&&this.dispatchEvent(new _.xi("WPi0i"));a.PG().callback(new _.RM(b.Gh(),b.Ze(),d))}else c.Cb(),b=new _.RM(c,b.Ze(),!0),a.PG().callback(b)};
var $ld=function(a){var b=a.context.Pc.$f();_.n.setTimeout(function(){var c=_.uf(new _.sf,306);c=_.SK(new _.RK,c);a.refresh(c).then(function(){$ld(a)},function(){$ld(a)})},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,3,72E5))};Zld.prototype.W=function(a){var b=this.context.jQ,c=b.Gh().Gh();c&&a.getPeople().find(function(d){return _.D(d,1)===_.oF(c.getUser())})&&(Cad(this.H,c),rfd(b,c,b.Ze())&&this.dispatchEvent(new _.xi("WPi0i")))};var amd=function(a,b,c){this.request=a;this.H=!!b;this.ND=c||null};
var cmd=function(a){fP.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.n_,"Qb",_.vb(this.dispatchEvent,new _.xi("Qb",this)));bmd(this)};_.L(cmd,fP);
var bmd=function(a){var b=a.context.Jj;nO(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.xM(a.context.Pc)){var c=_.Zj(a.context.Pc.$f(),18,1);nO(b,["NSockf"],function(){1===c?dmd(a):a.setActive(!0)});2===c&&nO(b,["mrK8ic"],function(){a.W||dmd(a)})}},dmd=function(a){var b=new _.sf;_.vf(b,!0);_.uf(b,301);var c=new _.SL;_.Z4c(c,b);_.A(c,1,1);a.refresh(c).Sg(function(){return null})};
cmd.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;emd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.SL;_.A(h,1,this.H);_.Z4c(h,a.we());this.context.Nm().then(function(k){return k.We(h,b)}).then(function(k){c.error=null;var l=c.context.n_;l.tQ(k,l.xD()?6:1);d.resolve()},function(k){c.H=e;k=_.zA(k);var l=k.Tg;_.A(l,5,2);f?(_.aL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Tg,21,"Initial app settings refresh failed."),c.context.DJ(l),c.setActive(!0)):(_.aL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Tg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};cmd.prototype.va=function(){return!1};
cmd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.eka,f=c.ND?{ND:c.ND}:void 0;if(!fmd(d))return this.context.Nm().then(function(l){return l.We(d,f)}).then(function(l){a.PG().callback(new _.OM(l,1,!1))},function(l){a.PG().Qd(_.pL(l))}),_.fi();c=_.fi();var h=!1;this.O?gmd(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&&gmd(this,d.getType())&&!this.error?(h=!0,e=_.fi()):e=this.refresh(d,f);
var k=a.PG();e.then(function(){var l=b.context.n_;k.callback(new _.OM(l.Nq(),l.Ze(),h))},function(l){k.Qd(l)});return c.then()};
var fmd=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},gmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},emd=function(a){var b=a.context.Pc.$f(),c=new _.sf;_.uf(c,306);var d=new _.SL;_.A(d,1,1);_.Z4c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,4,72E5))},hmd=function(a,b,c){this.request=a;this.eka=!!b;this.ND=c||null};
var jmd=function(a){fP.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.sE,"WPi0i",function(){return b.dispatchEvent(new _.xi("WPi0i"))});this.H=_.ii();this.O=_.Nd(this.context.Pc.$f(),30);imd(this)};_.L(jmd,fP);
var imd=function(a){var b=a.context.Jj;nO(b,["rkYxSd"],function(){return a.initialize()});nO(b,["px2C2c"],function(){a.context.ag().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Zj(a.context.Pc.$f(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&nO(b,["mrK8ic"],function(){oO(b,"OZvrNc")}));!_.S(a.context.Pc,11,!1)&&_.S(a.context.Pc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.pk(eld(a.context.sE),_.dp,1).length||(b.H("NSockf")?
oO(b,"DEJoH"):nO(b,["NSockf"],function(){oO(b,"DEJoH")}))},12E3));nO(b,c,function(){if(!b.H("px2C2c")){var e=new _.sf;_.vf(e,!0);_.uf(e,301);var f=new _.FC;_.x(f,1,e);f2c(f,kmd(a));a.query(f).Sg(function(){a.initialize()})}})};jmd.prototype.V=function(){var a="User prefs detected: "+_.pk(eld(this.context.sE),_.dp,1).length;this.context.ag().info("drive.ds.sync.userprefs.UserPrefsManager",a);lmd(this)};
jmd.prototype.query=function(a,b){var c=this,d=b?{ND:b}:void 0;return this.context.Nm().then(function(e){return e.We(a,d)}).then(function(e){c.error=null;var f=c.context.sE;f.tQ(_.pk(e,_.dp,3),f.xD()?6:1,_.Nd(a,3))}).then(null,function(e){e=_.zA(e);_.A(e.Tg,5,4);0<c.commands.lc()||c.context.DJ(e.Tg);c.error=e;throw e;})};
jmd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.PG(),e=new Set([].concat(_.nd(this.context.sE.RF.keys()))),f=_.Nd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.eka=!0);this.error?d.Qd(this.error):c.eka?(f2c(c.request,kmd(this,f)),_.ki(this.H?this.H.promise:this.query(c.request,c.ND||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var kmd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.sE.RF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
jmd.prototype.getData=function(a,b,c){b=this.context.sE.aH(b);a.callback(new _.QM(b.H,b.Se,c))};var lmd=function(a){var b=a.context.Pc.$f();_.n.setTimeout(function(){var c=new _.FC,d=new _.sf;_.uf(d,306);_.x(c,1,d);f2c(c,kmd(a));_.ki(a.query(c).Sg(_.Nf),function(){lmd(a)})},Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,5,72E5))},mmd=function(a,b,c){this.request=a;this.eka=!!b;this.ND=c||null};
var nmd=function(a,b,c,d){eP.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 ffd(a);$1c(this.Fa);this.Ma(this.Oc);this.ka=new Zld(a);this.Ma(this.ka);this.Oc.listen(this.ka,"WPi0i",function(){return c(new Fed(1))});this.ma=new cmd(a);this.Ma(this.ma);this.Oc.listen(this.ma,"Qb",function(){return c(new Fed(2))});this.oa=new jmd(a);this.Ma(this.oa);this.Oc.listen(this.oa,"WPi0i",function(){return c(new Fed(4))});this.Ha=d;this.H=
this.context.Nm()};_.L(nmd,eP);_.g=nmd.prototype;
_.g.mV=function(){var a={};return a["3.43"]=this.$_.bind(this),a["3.42"]=this.j8.bind(this),a["3.1"]=this.IN.bind(this),a["3.2"]=this.aH.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.kO.bind(this),a["3.4"]=this.sz.bind(this),a["3.5"]=this.Nq.bind(this),a["3.6"]=this.jS.bind(this),a["3.8"]=this.Jl.bind(this),a["3.36"]=this.Ry.bind(this),a["3.9"]=this.tF.bind(this),a["3.10"]=this.Cr.bind(this),a["3.11"]=this.Daa.bind(this),a["3.12"]=this.P8.bind(this),a["3.13"]=this.vT.bind(this),a["3.14"]=
this.Baa.bind(this),a["3.15"]=this.S8.bind(this),a["3.16"]=this.ju.bind(this),a["3.17"]=this.TDb.bind(this),a["3.18"]=this.XDb.bind(this),a["3.19"]=this.wQ.bind(this),a["3.20"]=this.VDb.bind(this),a["3.25"]=this.UDb.bind(this),a["3.22"]=this.Q8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Hoa.bind(this),a["3.29"]=this.eyb.bind(this),a["3.40"]=this.ZDb.bind(this),a["3.33"]=this.$Db.bind(this),a["3.39"]=this.wP.bind(this),a["3.37"]=this.YDb.bind(this),a["3.38"]=this.Iab.bind(this),a["3.41"]=
this.lS.bind(this),a["3.44"]=this.G0.bind(this),a["3.45"]=this.Xo.bind(this),a["3.46"]=this.k8.bind(this),a};_.g.IN=function(a){var b=this,c=new _.RK(JSON.parse(a.args[0]));a=new amd(c,a.args[1],this.context.H[a.clientId]);oO(this.context.Jj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.od([d.response.$b(),d.Se,d.r0])},function(d){return b.od(void 0,d)})};
_.g.aH=function(a){var b=this,c=new _.FC(JSON.parse(a.args[0]));a=new mmd(c,a.args[1],this.context.H[a.clientId]);oO(this.context.Jj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.od([d.response.$b(),d.Se,d.r0])},function(d){return b.od(void 0,d)})};
_.g.xd=function(a){var b=this,c=new I1c(JSON.parse(a.args[0])),d=_.E(c,_.sL,16)||_.E(c,_.tL,1)||_.E(c,_.uL,2)||_.E(c,_.xL,3)||_.E(c,_.VM,4)||_.E(c,_.vL,5)||_.E(c,_.CL,6)||_.E(c,_.EL,7)||_.E(c,_.FL,8)||_.E(c,_.IL,9)||_.E(c,_.YL,10)||_.E(c,_.ZL,11)||_.E(c,_.$L,12)||_.E(c,_.gL,13)||_.E(c,_.cM,14)||_.E(c,_.dM,15)||_.E(c,_.rN,17),e=gP(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.kO=function(a){var b=this,c=new R1c(JSON.parse(a.args[0])),d=_.E(c,_.yL,1)||_.E(c,_.GL,2)||_.E(c,_.eM,3),e=gP(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.sz=function(a){var b=this,c=new L1c(JSON.parse(a.args[0])),d=gP(this,a),e=[],f=[];N1c(c).forEach(function(h){h instanceof _.sL?e.push(String(h.Jc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.We(h,d)}))});a=_.DK(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.ki(a,function(){return void Dhd(b.context.zf)});return a.then(function(h){return b.od([(new y1c(e,h)).$b()])})};
_.g.Nq=function(a){var b=this,c=new _.SL(JSON.parse(a.args[0])),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=gP(this,a);a=this.H.then(function(f){return f.We(c,e)}).then(function(f){return new _.OM(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.OM(f.response,f.Se,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new hmd(c,d,this.context.H[a.clientId]),oO(this.context.Jj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.od([f.response.$b(),f.Se,f.r0])},
function(f){return b.od(void 0,f)})};_.g.jS=function(a){var b=this,c=new O1c(JSON.parse(a.args[0])),d=_.E(c,_.GC,1)||_.E(c,_.HC,2),e=gP(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.Jl=function(a){a=a.args[0];if(this.context.dz)a?_.cZc(this.context.dz,!0):this.context.vk().$e()&&this.context.dz.yM(!0).then(null,function(){});else try{this.context.Lj().Jl(a)}catch(b){return this.od(void 0,b)}return this.od([])};
_.g.Ry=function(a){var b=this,c=a.args[0];return this.context.Ry(c).then(function(d){return d?(b.context.Lj().Ry(c),b.Ha(c),b.context.Ws.rL().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.zaa.promise,this.context.ka.promise]).then(function(){return a.context.Ws.rL()}).then(function(){return a.od([])},function(b){return a.od(void 0,b)})};
_.g.tF=function(){try{var a=this.context.B6;a&&a.W4();this.context.Rha.tF();return this.od([])}catch(b){return this.od(void 0,b)}};_.g.lS=function(){this.context.lS();return this.od([])};_.g.Cr=function(a){var b=this,c=new _.LL(JSON.parse(a.args[0])),d=gP(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.Daa=function(a){var b=this,c=new _.ML(JSON.parse(a.args[0])),d=gP(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.P8=function(a){var b=this,c=new _.AL(JSON.parse(a.args[0])),d=gP(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.vT=function(a){var b=this,c=new _.aM(JSON.parse(a.args[0])),d=gP(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.Baa=function(a){var b=this,c=new _.NL(JSON.parse(a.args[0])),d=gP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return _.VK(b.context.Pc)?Fad(b.context.zf.qr,[_.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.S8=function(a){var b=this,c=new _.DL(JSON.parse(a.args[0])),d=gP(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.ju=function(a){var b=this,c=new _.UL(JSON.parse(a.args[0])),d=gP(this,a);return this.H.then(function(e){return e.We(c,d).then(function(f){return _.VK(b.context.Pc)?Ead(b.context.zf.qr,f):f})}).then(function(e){return b.od([e.$b()])},function(e){return b.od(void 0,e)})};
_.g.TDb=function(a){var b=this,c=new _.oed(JSON.parse(a.args[0])),d=new _.tVc(c,a.args[1],a.args[2]||void 0),e=gP(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.XDb=function(a){var b=this,c=new _.TL(JSON.parse(a.args[0])),d=gP(this,a);return this.H.then(function(e){return e.We(c,d).then(function(f){return _.VK(b.context.Pc)?Fad(b.context.zf.qr,_.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.wQ=function(){var a=this;return(_.S(this.context.Pc.$f(),52,!1)?_.fi($9c(new Z9c,0)):this.context.KI.wQ()).then(function(b){return a.od([b.$b()])},function(b){return a.od(void 0,b)})};_.g.VDb=function(a){var b=this,c=new _.sVc(JSON.parse(a.args[0])),d=gP(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.UDb=function(a){var b=this,c=new _.RL(JSON.parse(a.args[0])),d=gP(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.Q8=function(a){var b=this,c=new _.BL(JSON.parse(a.args[0])),d=gP(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.Hoa=function(a){var b=this,c=new _.zK(JSON.parse(a.args[0])),d=gP(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,_.cL(e).$b()])})};_.g.eyb=function(){return this.od([!0])};_.g.ZDb=function(a){var b=this,c=new _.eF(JSON.parse(a.args[0])),d=gP(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.$Db=function(a){var b=this,c=new _.fF(JSON.parse(a.args[0])),d=gP(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.$_=function(a){a=new _.gf(JSON.parse(a.args[0]));Tgd(this.context.zf,[a]);return this.od([])};
_.g.j8=function(a){var b=this,c=new _.wL(JSON.parse(a.args[0])),d=gP(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.wP=function(a){var b=this,c=new _.NO(JSON.parse(a.args[0])),d=gP(this,a);return this.H.then(function(e){return e.We(c,d)}).then(function(e){return Pad(c,e)}).then(function(e){return b.od(e.map(function(f){return f.$b()}))},function(e){return b.od(void 0,e)})};
_.g.YDb=function(a){var b=this,c=new _.AVc(new _.sTb(JSON.parse(a.args[0])),a.args[1]),d=gP(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.Iab=function(a){var b=this,c=new _.bF(JSON.parse(a.args[0])),d=gP(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.G0=function(a){var b=this,c=new _.IM(JSON.parse(a.args[0])),d=gP(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.Xo=function(a){a=a.args.map(function(b){return new _.ZK(JSON.parse(b))});this.context.zf.Xo(a);Dhd(this.context.zf);return this.od([])};_.g.k8=function(){var a=this,b=this.context.dz;return(b?b.yM():_.fi(_.MYc(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.ag().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Pc.Ni());this.Oc.listen(this.context,_.Cc,function(e){e=e.error;var f=e.Tg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):a5c(a.context.ag(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Jj,c=["hVFf7"];_.xM(this.context.Pc)&&c.push("BNEDtc");nO(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});nO(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){WO(a.context).then(function(e){return void e.start()})};nO(b,["T8oKm","ZA9qG"],function(){return void d()});nO(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();oO(b,"NSockf")}return this.O.promise};_.g.Vba=function(){return this.Ba.promise};_.g.Ju=function(){var a=this.context.B6;a&&a.dispose();return this.context.Ju()};
var gP=function(a,b){return(a=a.context.H[b.clientId])?{ND:a}:{}};
var omd=function(a,b,c){eP.call(this,"DU",b);this.context=a;this.O=c;this.H=new ffd(a)};_.L(omd,eP);_.g=omd.prototype;
_.g.mV=function(){var a=this,b={};return b["5.1"]=function(){return a.Fia()},b["5.2"]=function(c){return a.ZM(c)},b["5.4"]=function(c){return a.Iz(c)},b["5.5"]=function(){return a.oR()},b["5.10"]=function(){return a.DN()},b["5.6"]=function(){return a.Yda()},b["5.7"]=function(){return a.gT()},b["5.9"]=function(c){return a.Qqa(c)},b["5.8"]=function(c){return a.x5(c)},b["5.11"]=function(){return a.eqa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Jl(c)},b};
_.g.Fia=function(){var a=this;this.context.Ws.uS();var b=this.context.Pc;return Ncd(_.vM(_.QK(b)),_.wM(b),this.context.ag()).Sg(function(){}).then(function(){return a.od([])})};_.g.ZM=function(a){a=this.context.zf.wm.H(a.args[0]);return this.od([a?a.$b():JSON.stringify(null)])};_.g.Iz=function(a){var b=this;return this.context.QA.Iz(a.args[0]).then(function(c){return b.od([c.$b()])})};_.g.oR=function(){for(var a=this.context.QA.oR(),b=[],c=0;c<a.length;c++)b.push(a[c].je());return this.od([JSON.stringify(b)])};
_.g.x5=function(a){var b=this,c=new _.WTc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.E(c,_.WK,3)||_.E(c,_.gM,4)||_.E(c,_.VM,5)||_.E(c,_.dM,6)||_.E(c,_.FL,7)||_.E(c,_.xL,8)||_.E(c,_.CL,9)||_.E(c,_.gL,10)){var f=g$c(c);return this.context.Nm().then(function(h){return h.We(f,{I7a:d,J7a:e})}).then(this.Jab.bind(this,a),function(h){return b.od(void 0,h)})}return _.fi(this.od(void 0,Error("$f")))};
_.g.Jab=function(a,b){a=[];var c="";if(b instanceof _.WM){a=b.od().Hd();var d=_.D(b,2);c=b.Wn()}else if(b instanceof _.iM)b.getItem()&&a.push(b.getItem()),d=b.jN();else return this.od(void 0,Error("ag"));b=[];for(var e=0;e<a.length;e++)b.push(a[e].je());return this.od([JSON.stringify(b),d,c])};_.g.Qqa=function(){var a=this.context.Pc,b=a.$f();a="email:"+_.QK(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.od([])};_.g.Yda=function(){this.context.aG.H=new Dbd(_.ah().substring(0,8));return this.od([])};
_.g.gT=function(){var a=this.context.aG.DN();if(a){for(var b=[],c=Fbd(this.context.aG),d=0;d<c.length;d++)b.push(c[d].je());a=[a.Aea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.aG;b.H=null;b.QY=[];return this.od(a)};_.g.DN=function(){var a=this.context.aG.DN();return this.od(a?[a.Aea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.od([b])})};
_.g.eqa=function(){var a=[this.O.Ju(),_.Oi(3E4)];_.ki(_.Eja(a),function(){_.n.setTimeout(function(){self.close()})});return this.od([])};_.g.Jl=function(a){this.H.Jl(a.args[0]);return this.od([])};
var pmd=function(a,b,c,d,e,f,h){_.gN.call(this,a,b,c,d,f,h);this.H=e;this.Ed=null};_.L(pmd,_.gN);pmd.prototype.GM=function(a,b){var c=this;return _.qi(this.H.then(function(d){return d.e3a(R0c(c.O,c.va,a,b,c.lj,c.ha))},null))};pmd.prototype.ma=function(a,b){var c=this.zd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Iz();e&&(d=_.D(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.oZc(a,b,d))}};
var qmd=function(a,b,c,d,e,f,h,k){eP.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(qmd,eP);_.g=qmd.prototype;
_.g.mV=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.tG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.GM(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 _.xL(JSON.parse(a.args[0])),e=a.args[1];if(!this.H[c]){var f=new pmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Ed);this.Oc.listen(f,"Lb",_.vb(this.Kab,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.hj(),r=_.ii();b.O[q]=r;b.update(l,p,rmd(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.tG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].tG();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.Rf(function(q){b.update(a.clientId,c,rmd(0,d,[p,q.$b()]))},function(q){b.update(a.clientId,c,rmd(1,d,[p,q.Tg.$b()]))})});return this.od([])}return this.od(void 0,_.cL("Could not retry upload."))};
_.g.GM=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=R0c(b.O,b.va,c,a,b.lj,b.ha),this.od([U1c(c)])):this.od(void 0,_.cL("FileUploader not found."))};_.g.Kab=function(a,b,c){this.update(a,b,rmd(2,c.requestId,[c.progress,c.totalBytes]))};var rmd=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var smd=function(a,b){eP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(smd,eP);smd.prototype.mV=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};
smd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=new _.rVc(JSON.parse(a.args[0]));e=new RO(this.O,e);var f=_.xe(e,"Pb",function(h){b.update(a.clientId,c,[h.JPa,h.Lua])});_.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)})};smd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.od([])};
var tmd=function(a,b){eP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.ii();this.O=new kfd(a,a.Mg)};_.L(tmd,eP);tmd.prototype.mV=function(){var a=this,b={};return b["6.1"]=function(c){return umd(a,c)},b["6.2"]=function(c){return vmd(a,c)},b["6.3"]=function(){a.H&&(nfd(a.O),a.H=!1,a.W=_.ii());return a.od([])},b};
var umd=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.rl(c);oO(a.context.Jj,"GZTDpc");a.W.resolve()}return a.od([])},vmd=function(a,b){return a.W.promise.then(function(){var c=[];_.Ka(b.args,function(d){d=new _.ZK(JSON.parse(d));c.push(d)});mfd(a.O,c);return a.od([])})};
var wmd=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)})};wmd.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.eg())b.callback(a);else throw Error("Fg`"+a.V);};var xmd=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)})};wmd.prototype.Ho=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.eg()})};
var ymd=function(){},zmd={0:2E3,1:3E3,2:5E3},Amd=function(a,b){this.request=a;this.ha=b;this.O=_.ii();this.continuationToken="";this.V=0;this.ME=this.W=!1;this.H=ymd};Amd.prototype.ah=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=ymd;b.V=0;return c},function(c){b.H=ymd;b.V=0;return Promise.reject(c)})};
Amd.prototype.sendRequest=function(){var a=this;if(this.ME)this.O.resolve((new MO).Dc(8));else{var b=new _.EVc(this.request,this.continuationToken);this.ha.then(function(c){return c.We(b)}).then(function(c){Bmd(a,c)},function(c){a.handleError(c)})}};var Bmd=function(a,b){var c;a.continuationToken=null!==(c=b.Wn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},Cmd(a.V++,a.ka)):a.O.resolve(b)};Amd.prototype.handleError=function(a){a=_.zA(a);this.O.reject(a)};
Amd.prototype.cancel=function(){this.ME=!0};var Cmd=function(a,b){return b?b:(a=zmd[a])?a:1E4};
var Dmd=function(a,b){eP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(Dmd,eP);Dmd.prototype.mV=function(){var a=this,b={};return b["10.1"]=function(c){return Emd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var Emd=function(a,b){var c=b.clientId+":"+b.requestId,d=new _.Udd(JSON.parse(b.args[0]));d=new Amd(d,a.O);a.H.set(c,d);return _.ki(d.ah(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)})};Dmd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.od([])};
var hP=function(a,b,c){_.N.call(this);this.H=a;this.gs=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.aC=Date.now();this.services=new wmd;this.Lb=new _.Le(this);this.Ma(this.Lb)};_.L(hP,_.N);hP.prototype.tY=function(a){this.O.promise.then(function(b){b.B6||a.Zi(b)})};
var Imd=function(a,b){var c=Old(a.H,b),d=a.Sb.bind(a,c);fO(b,"8.1",d);b.registerService("8.1",d);fO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return Fmd(a,c,f)});fO(b,"8.2",a.Gb.bind(a,c));fO(b,"8.3",a.Nb.bind(a,c));xmd(a.services,b);b.start();Gmd(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 Hmd(a,c,b)},function(f){a.Ta=!0;gO(b,"2.2",{err:_.cL(f).$b()},d)})},Jmd=function(a){return Math.floor((Date.now()-
a.aC)/1E3)},Kmd=function(a,b,c){var d=function(e){gO(b,"2.8",{au:"ib"===e.type})};a.Lb.listen(c.KI,["ib","jb"],d);_.ze(b,a.Lb.Wc.bind(a.Lb,c.KI,["ib","jb"],d))},Lmd=function(a,b,c){var d=c.vk(),e=[].concat(_.nd(Object.values(_.AA))),f=function(h){gO(b,"2.19",{cs:h.connectionState})};a.Lb.listen(d,e,f);_.ze(b,function(){a.Lb.Wc(d,e,f)})};
hP.prototype.Sb=function(a){var b=Pld(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Sld(d,a)}),b.dispose(),this.log(_.ht("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.Ju(),c)})}};
hP.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){Jld(d,a,_.F(c.$f(),37,""));Ild(d,_.Nd(c,28));d.zf.nma(_.pk(c,_.Hl,91));return d.OX.promise.then(function(){Tgd(d.zf,_.pk(c,_.gf,44))})},function(){})};
hP.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 $fd(e,e.Mg);e.ah(d);e.dispose();(e=c.H.channels[a]||null)&&gO(e,"2.16")})}};hP.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){Mmd(new Dgd(h),e);(h=c.H.channels[a]||null)&&gO(h,"2.17",{t:f})})}};
var Mmd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.ah(c)});a.dispose()};hP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={efa:b.efa,Efa:b.Efa},d=c.next())b.efa=d.value,b.Efa=_.ii(),gO(b.efa,"2.12",void 0,function(e){return function(){e.efa.dispose();e.Efa.resolve()}}(b)),a.push(b.Efa.promise);return _.hi(a).then()};
hP.prototype.initialize=function(a){var b=this;a=a[0];_.SWc(a,this.fields);var c=_.E(a,_.mL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new vN(null,a,this.gs,c,void 0,void 0),e=d.Wk().H(106E3);pld(d,this.$a.bind(this));this.Lb.listen(d.Lj(),"Ab",function(k){k={os:k.$e()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())gO(p.value,"2.6",k)});this.Lb.listen(d,_.Cc,this.nb);this.Lb.listen(d,"w8KrJc",this.Nc);d$c(d.KI,this.ka.bind(this));var f=d.dz;f&&p5c(f,function(){return b.ka()});
this.O.resolve(d);var h=Nmd(this,d,new nmd(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Fc,this)));e&&h.then(function(){return e&&e.Yj()});return h}catch(k){return _.gi(k)}};
var Nmd=function(a,b,c){a.services.activate(c);a.services.activate(new Qld(b,a.H));a.services.activate(new omd(b,a.H,c));a.services.activate(new tmd(b,a.H));a.services.activate(new qmd(b.Pc,b.QA,b.nR().jga,b.Nm(),b.sQ,b.ag(),b.Wk(),a.H));a.services.activate(new smd(b.Nm(),a.H));a.services.activate(new Dmd(b.Nm(),a.H));return c.initialize()},Hmd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.ht("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));gO(c,"2.2",{id:b,
clients:d,uptimeSec:Jmd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.m_.addCallback(function(f){c.isDisposed()||gO(c,"2.5",{id:f})});1<d&&WO(e).addCallback(function(f){return f.dxa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Vba().then(function(){c.isDisposed()||gO(c,"2.14")})});Kmd(a,c,e);Lmd(a,c,e)})};hP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())gO(c.value,"2.15",a)};
hP.prototype.Fc=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){gO(c,"2.18",b)})};hP.prototype.nb=function(a){a={p:a.error.Tg.$b()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())gO(c.value,"2.10",a)};hP.prototype.Nc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())gO(b.value,"2.7")};var Gmd=function(a,b,c){a.ha.has(b)?_.fi():new _.ei(function(d){gO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
hP.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){Fmd(c,a,e);d.resolve()});return d.promise};var Fmd=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())};
hP.prototype.log=function(a){this.O.promise.then(function(b){return b.ag().info("drive.ds.sync.cacheproxy.Worker",a)})};
var Omd=function(a,b){dP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(Omd,dP);_.g=Omd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.mL,58)};_.g.getContext=function(){return this.context};_.g.Iz=function(){return this.send("5.4",[this.H],function(a){return new _.GXc(JSON.parse(a[0]))})};_.g.ag=function(){return this.context.ag()};_.g.ZM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.hl(b)})};
_.g.oR=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 _.WTc(a[c]));return b})};_.g.x5=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,fja:f,pageToken:d}})};_.g.Qqa=function(){this.send("5.9",[])};_.g.Fia=function(){this.send("5.1",[])};_.g.L9=function(){return _.yUc[_.Zj(this.context.Pc.$f(),8,0)]};
_.g.Yda=function(){this.send("5.6",[])};_.g.gT=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 h$c(a[e]));return{traceId:new Dbd(b,c),spanRecs:d}})};_.g.DN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new Dbd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.eqa=function(){this.send("5.11",[])};
_.g.Jl=function(a){this.send("5.13",[a])};
var Pmd=function(a,b){dP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(Pmd,dP);Pmd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request.$b()],function(b){return new ued(JSON.parse(b[0]))},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};
Pmd.prototype.cancel=function(){this.send("9.2",[this.request.$b()],void 0,this.id)};Pmd.prototype.eaa=function(a,b,c){this.dispatchEvent(new Ged(c[0],c[1]))};
var Qmd=function(a){dP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(Qmd,dP);Qmd.prototype.wY=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.NV().Rf(a,b);this.H.c0((0,_.v)(this.W,this))}else this.send("6.3",[])};Qmd.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)};Qmd.prototype.O=function(){this.log("Error fetching offline items.")};
Qmd.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 Rmd=function(a,b){xO.call(this,a,b)};_.L(Rmd,xO);Rmd.prototype.Via=function(a,b,c){return new _.AVc(a,c)};Rmd.prototype.mla=function(a){return a.pageToken||""};Rmd.prototype.yka=function(a){return a.response.O()};Rmd.prototype.z6=function(){};
var Smd=function(a,b,c){QO.call(this,a.Lj(),a.vk(),b.Oi()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new Rmd(this.request,this.ka)};_.L(Smd,QO);_.g=Smd.prototype;_.g.cH=function(){this.V.ah().then(this.Lab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return Mdd(new LO,this.O).Dc(this.status)};_.g.ms=function(){return new Kdd};_.g.Tj=function(){return!this.$e()&&(!this.H||Rad(this.V))};_.g.Lab=function(a){this.changed=this.H=!0;this.O=a;this.Ut()};
_.g.Ut=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};_.g.lc=function(){return this.O.length};
var Tmd=function(a,b,c){QO.call(this,a.Lj(),a.vk(),b.Oi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.XRc;this.suggestionSessionId=null;this.ka=c};_.L(Tmd,QO);_.g=Tmd.prototype;_.g.cH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.jk();a.suggestionSessionId=b.Wf();a.Ut()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.M0c(_.L0c((new _.iN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Jz(this.O,this.data);this.O=this.data;var b=(new Qdd).Dc(this.status);return _.Cb(b,2,a)};_.g.uP=function(){};_.g.Ut=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))};_.g.lc=function(){return this.data.length};
var Umd=function(){};_.g=Umd.prototype;_.g.IM=function(a,b){b=led(1).setPosition(b);_.x(b,2,a);return b};_.g.HM=function(a,b){b=led(2).setPosition(b);_.x(b,2,a);return b};_.g.QE=function(a,b,c){b=led(3).Sy(b).setPosition(c);_.x(b,2,a);return b};_.g.EQ=function(a,b){b=led(4).setPosition(b);_.x(b,2,a);return b};_.g.lN=function(a){return _.E(a,_.U8c,2)};
var Wmd=function(){_.AK.call(this,new Umd,function(a){return Vmd(a)})};_.L(Wmd,_.AK);var Vmd=function(a){switch(_.Xj(a,T8c[0])){case 6:return _.hx(_.E(a,_.gx,6)).getTime().toString();case 7:var b=_.E(a,_.ZN,7);a=_.E(b,_.gx,1);b=b.Fr();return a&&b?(a=_.hx(a).getTime(),_.hx(b).getTime()+"--"+a):"";default:return""}},Ymd=function(){Xmd||(Xmd=new Wmd);return Xmd},Xmd;
var Zmd=function(a,b,c,d){QO.call(this,b.Lj(),b.vk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.XYc(_.ak(b.Pc.$f(),6,1E3));this.oa=c};_.L(Zmd,QO);_.g=Zmd.prototype;_.g.activate=function(){QO.prototype.activate.call(this);this.Ut()};_.g.cH=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Nr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;QO.prototype.Nr.call(this,a)};
_.g.getData=function(){var a=(new qed).Dc(this.status);_.Cb(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=Ymd().Jz(this.ka,this.O),b=new ned;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.Tj=function(){return!this.$e()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.zd=function(){return this.request};_.g.cNa=function(a){this.dispatchEvent(new _.rc(a));this.V=!1};
_.g.Txb=function(a,b){this.H=!0;var c=_.pk(b,_.U8c,1);this.O=this.O.concat(c);this.token=b.ny()||"";0<c.length&&(this.changed=!0);this.Ut();this.page(a)};_.g.lyb=function(a){Ymd();this.H=!0;var b=_.pk(a,_.U8c,1);AN(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ny()||"",this.changed=!0,this.Ut(),this.page()):(this.V=!1,$md(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Tj()&&this.O.length<this.limit?this.oa(this.request,this.limit-this.O.length,this.token).Rf(_.vb(this.Txb,a),this.cNa,this):(this.V=!1,a&&a.callback(),$md(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Rf(this.lyb,this.cNa,this))};_.g.Ut=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};
_.g.NL=function(){this.$e()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.uP=function(){this.active&&this.Tj()&&!this.V&&this.page(new _.li)};var $md=function(a){_.R(a.request,3)||(_.KG(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Xa()))};Zmd.prototype.lc=function(){return this.O.length};
var and=function(){};_.g=and.prototype;_.g.IM=function(a,b){return sed(red(1),a).setPosition(b)};_.g.HM=function(a,b){return sed(red(2).setPosition(b),a)};_.g.QE=function(a,b,c){return sed(red(3).Sy(b).setPosition(c),a)};_.g.EQ=function(a,b){return sed(red(4),a).setPosition(b)};_.g.lN=function(a){return _.E(a,_.FO,2)};
var bnd=function(){_.AK.call(this,new and,function(a){return a.getId()})};_.L(bnd,_.AK);var dnd=function(){cnd||(cnd=new bnd);return cnd},cnd;
var end=function(a,b,c){QO.call(this,b.Lj(),b.vk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.XYc(_.ak(b.Pc.$f(),54,1E3));this.ma=c};_.L(end,QO);_.g=end.prototype;_.g.activate=function(){QO.prototype.activate.call(this);this.Ut()};_.g.cH=function(){this.poll()};_.g.getData=function(){var a=new Aed;a=_.Cb(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=dnd().Jz(this.ka,this.O),b=new yed;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};
_.g.Tj=function(){return!this.$e()&&!this.H};_.g.poll=function(){var a=new _.li;this.ma(this.request).Rf(_.vb(this.Nab,a),_.vb(this.Mab,a),this);return a};_.g.Mab=function(a,b){this.dispatchEvent(new _.rc(b));a.Qd(b);fnd(this)};_.g.Nab=function(a,b){this.H=!0;b=_.pk(b,_.FO,2);AN(dnd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Ut();a.callback();fnd(this)};
_.g.Ut=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};_.g.uP=function(){};var fnd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Xa()),_.KG(a.V))};end.prototype.lc=function(){return this.O.length};
var gnd=function(){};_.g=gnd.prototype;_.g.IM=function(a,b){return vdd(udd(1),a).setPosition(b)};_.g.HM=function(a,b){return vdd(udd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return vdd(udd(3).Sy(b).setPosition(c),a)};_.g.EQ=function(a,b){return vdd(udd(4),a).setPosition(b)};_.g.lN=function(a){return _.E(a,_.Sk,2)};
var hnd=function(){_.AK.call(this,new gnd,function(a){return a.getId()})};_.L(hnd,_.AK);_.Pf(hnd);
var iP=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(iP,_.Ki);iP.prototype.Ci=function(a){this.limit=a};iP.prototype.ah=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():ind(this)};iP.prototype.ola=function(){return this.permissions};
var ind=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.TL;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))};iP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Wn()||"";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 ind(this);this.dispatchEvent("Fb")};
iP.prototype.handleError=function(a){this.H=!1;a=new iO(_.cL(a),_.ak(this.context.Pc.$f(),1,1));this.dispatchEvent(a)};
var jnd=function(a,b,c,d){QO.call(this,b.Lj(),b.vk(),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 iP(b,this.request,this.ma);_.ze(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(jnd,QO);_.g=jnd.prototype;_.g.activate=function(){QO.prototype.activate.call(this);this.Ut()};_.g.cH=function(){this.query()};_.g.Nr=function(a){QO.prototype.Nr.call(this,a||100)};
_.g.getData=function(){var a=new CN;a=_.Cb(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ms=function(){var a=hnd.Fb().Jz(this.ka,this.permissions),b=new Cdd;a=_.Cb(b,2,a).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Tj=function(){var a;(a=!this.$e())&&!(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 iP(this.context,this.request,this.ma);this.O.Ci(this.limit);return this.O.ah().then(function(){return knd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){QO.prototype.handleError.call(this,a);lnd(this)};var knd=function(a){a.H=!0;var b=a.O.ola();AN(hnd.Fb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Ut();lnd(a)};
jnd.prototype.Ut=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.Dc,this))}};jnd.prototype.uP=function(){var a=this;this.O.Ci(this.limit);this.O.ah().then(function(){return knd(a)},function(b){return a.handleError(b)})};var lnd=function(a){if(a.active){var b=a.context.Pc.$f();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.ak(b,7,9E5)*Math.random())+_.ak(b,15,36E5))}};jnd.prototype.lc=function(){return this.permissions.length};
var mnd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.xi(_.Dc,a))},0)};
var nnd=function(){},ond=function(a,b){dP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=nnd;this.H=null;this.id=String(_.Da(this))};_.L(ond,dP);ond.prototype.eaa=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(tN(a,b,MO)))};ond.prototype.ah=function(a){var b=this;a=void 0===a?nnd:a;this.H||(this.O=a,this.H=_.ii(),this.send("10.1",[this.request.$b()],function(c,d){c=tN(c[0],d,MO);b.H.resolve(c)},this.id).Jg(function(c){b.H.reject(c)}));return this.H.promise};
ond.prototype.cancel=function(){this.send("10.2",[this.request.$b()],void 0,this.id)};
var pnd=function(a,b,c){_.Ki.call(this);this.instanceId=a;this.H=b;this.V=c;this.Cu={};this.O={};_.ze(this,(0,_.v)(this.Oab,this))};_.L(pnd,_.Ki);_.g=pnd.prototype;_.g.getId=function(){return this.instanceId};_.g.DQ=function(){return _.CK()};_.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 _.XWc;_.A(d,1,b.size);_.x(a,15,d);this.O[a.hj()]=b}return this.H("7.1",[a.$b(),c],function(e){return new _.iM(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.H("7.2",[a])};_.g.tG=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.DQ();this.Cu[c]=b;this.H("7.4",[c].concat(_.nd(a)));return _.Sa(b)};_.g.GM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.nd(b)),function(d){return V1c(d[0])}).addCallback(function(d){return _.qi(c.V.then(function(e){return e.e3a(d)}))})};_.g.Oab=function(){this.H("7.6",[])};
var qnd=function(a,b,c,d){if(a.Cu[b]&&a.Cu[b][c]){var e=a.Cu[b][c];d instanceof _.iM?e.callback(d):e.Qd(d);delete a.Cu[b][c];_.Va(a.Cu[b])&&delete a.Cu[b]}};
var rnd=function(a,b){dP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(rnd,dP);var snd=function(a){var b=_.CK(),c=new pnd(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};
rnd.prototype.eaa=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,_.eVc(e,c,Math.min(e.size,c+d))]);break;case 0:c=new _.iM(JSON.parse(d[1]));qnd(a,b,d[0],c);break;case 1:c=new _.qc(void 0,new _.pc(JSON.parse(d[1])));qnd(a,b,d[0],c);break;case 2:a.dispatchEvent(new _.oZc(b,d[0],d[1]));break;default:throw Error("Ig");}}};
var tnd=function(a,b){if(0===a.length)throw new _.qc("mutateUserPref requires a namespace.",_.oL(3));var c=null;b instanceof _.HC?c=(b=(b=_.E(b,_.dp,1))&&b.getKey())&&_.ep(b)||null:b instanceof _.GC&&(c=(b=b.getKey())&&_.ep(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.qc("mutateUserPref unsupported for namespace: "+c,_.oL(3));};
var und=function(a){this.H=a};
var C2c=function(a){dP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(vnd=_.ii()).promise);var b=this;this.ao=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=vnd;vnd=void 0;this.context=a;rld(this.context,new Qmd(this.V.promise));d5c(this.context.Mg,_.Nd(this.context.Pc,28));this.H=this.context.kga;this.O=new Tld(this.V.promise,this.context,this.H);this.nb=new rnd(this.V.promise,this.context.sQ);this.Fa=new Omd(this.V.promise,this.context);
this.Oc=new _.Le(this);this.Ma(this.Oc);this.Oc.listen(this.context.vk(),[].concat(_.nd(Object.values(_.AA))),function(c){return void b.dispatchEvent(c)})},vnd;_.L(C2c,dP);
C2c.prototype.initialize=function(){var a=this;if(!this.ao){this.ao=_.fi(this.oa);var b=this.context.Wk().H(106E3);this.ao.then(function(){b&&b.Yj();a.W1a()},function(){_.TM(a.context.Wk(),181008852)});var c=_.xM(this.context.Pc)?"(coldstart) ":"";this.context.ag().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Pc.Ni());var d=H1c(this.context.Pc,this.Qi(),_.DM(this.context.Mg));wnd(this,d);2===d.H?(c=new hP(new Nld,6,this.context.ag()),Imd(c,d.O),this.Ha.resolve(c)):
$1c(this.Fa);this.context.ag().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();pld(this.context,function(){return xnd(d.channel)})}return this.ao};
var xnd=function(a){return _.Eja([new _.ei(function(b){a.isDisposed()||gO(a,"8.1",void 0,function(){a.dispose();b()})}),_.Oi(1E4)])},wnd=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 ynd(a,b)});2===b.H?a.Ha.promise.then(function(){return void znd(a,b)}):znd(a,b);fO(c,"2.1",function(){return{dsc:a.context.Pc.$b()}});fO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new Mld(d.id,c,a.context.ag(),d.clients)),d.dsp&&And(c),
d.ivd&&Bnd(a,c)):(d=new _.pc(JSON.parse(d.err)),a.oa.Qd(new _.qc("Unable to initialize dataservice.",d)))});fO(c,"2.15",function(d){a.dispatchEvent(new Fed(d.dt))});fO(c,"2.5",function(d){a.context.Hu(d.id)});fO(c,"2.6",function(d){a.context.Lj().Jl(d.os)});fO(c,"2.18",function(d){a.context.Lj().Ry(d.oois)});fO(c,"2.7",function(){a.ma=!1});fO(c,"2.8",function(d){a.context.Ha=d.au;a.dispatchEvent(new D5c(d.au?"ib":"jb"))});fO(c,"2.19",function(d){a.context.vk().update(d.cs)});fO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.ht("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.ag().config(e,d);break;case "fine":_.BM(a.context.ag(),e,d,"fine");break;case "finer":_.BM(a.context.ag(),e,d,"finer");break;case "finest":_.BM(a.context.ag(),e,d,"finest");break;case "info":a.context.ag().info(e,d);break;case "warning":case "severe":a5c(a.context.ag(),e,d);break;default:a5c(a.context.ag(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),a5c(a.context.ag(),e,d)}});fO(c,"2.10",
function(d){return void a.caa(d)});fO(c,"2.12",function(){a.Ka=!0;jP(a)});fO(c,"2.14",function(){return a.$a.resolve()});fO(c,"2.16",function(){return a.Ta=!0});fO(c,"2.17",function(d){a.context.ag().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},znd=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",ynd(a,b));gO(b.channel,"8.4",{dsc:a.context.Pc.$b()});And(b.channel);Bnd(a,b.channel)},And=function(a){_.n._DRIVE_dsp&&gO(a,"8.3",{dsp:Cnd(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];gO(a,"8.3",{dsp:Cnd(c)})}}},Bnd=function(a,b){_.S(a.context.Pc,24,!1)&&(_.n._DRIVE_ivd?gO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&gO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},ynd=function(a,b){var c={};if(1===b.H){var d=new _.OOa(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.Ni(),
ufds:b.V}};C2c.prototype.Ab=function(){return{uid:this.Qi(),fds:_.DM(this.context.Mg)}};C2c.prototype.Qi=function(){var a=_.hk(_.hk(_.eH(this.context.Pc.clone(),28),44),91),b=new _.IK;b.update(_.vM(_.QK(a)));b.update(String(_.eL(_.QK(a))));b.update(a.$b());return _.fSc(b.digest())};var Cnd=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=C2c.prototype;_.g.caa=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,new _.pc(JSON.parse(a.p)))))};
_.g.query=function(a){jP(this);H9c(this.context.un,a,b5c(this.context.Mg));this.tF();var b=this.O.Ixa(a);this.Oa||(a=a.we(),a&&121===_.D(a,1)||(this.Oa=!0,this.Oc.listen(b,_.Dc,this.dNa)));return b};_.g.dNa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Fa.H=this.Ta,this.Oc.Wc(a,_.Dc,this.dNa))};_.g.yr=function(a){jP(this);F9c(a);this.tF();return this.O.Fxa(a)};
_.g.Mva=function(a,b){var c=this;jP(this);if(this.ka&&_.xk(this.ka.zd(),a))return this.ka;this.ka=new Zmd(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return tN(h[0],k,W8c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.tGa=function(a,b){var c=this;jP(this);if(this.ha&&_.xk(this.ha.zd(),a))return mnd(this.ha),this.ha;this.ha=new jnd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return tN(e[0],f,Ddd)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.Baa=function(a){jP(this);return this.send("3.14",[a],function(b,c){return tN(b[0],c,KO)})};_.g.S8=function(a){jP(this);return this.send("3.15",[a],function(b,c){return tN(b[0],c,KO)})};
_.g.xd=function(a){jP(this);!this.ma&&_.jM(a)&&(this.ma=!0);a=J1c(a);return this.send("3.3",[a],function(b,c){return tN(b[0],c,_.iM)})};_.g.kO=function(a){jP(this);a=T1c(a);return this.send("3.35",[a],function(b,c){return tN(b[0],c,C5c)}).then()};_.g.sz=function(a){jP(this);for(var b=0;b<a.length;b++)!this.ma&&_.jM(a[b])&&(this.ma=!0);a=M1c(a);return this.send("3.4",[a],function(c,d){return(d?W9c(c[0]):c[0]).get()})};_.g.Exa=function(){jP(this);return snd(this.nb)};
_.g.NSa=function(a){jP(this);return new Pmd(this.V.promise,a)};_.g.Nq=function(a,b){var c=this;jP(this);var d=_.ah();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=tN(e[0],f,jO);return new _.OM(f,e[1],e[2])}).addCallback(function(e){n$c(c.H,d,e);return e.response}).Jg(function(e){hO(c.H,d);return e})};_.g.Cr=function(a){jP(this);return this.send("3.10",[a],function(b,c){return tN(b[0],c,Add)})};
_.g.Daa=function(a){jP(this);return this.send("3.11",[a],function(b,c){return tN(b[0],c,Edd)})};_.g.P8=function(a){jP(this);return this.send("3.12",[a],function(b,c){return tN(b[0],c,Edd)})};_.g.vT=function(a){jP(this);return this.send("3.13",[a],function(b,c){return tN(b[0],c,Edd)})};
_.g.IN=function(a,b){var c=this;jP(this);var d=_.ah();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=tN(e[0],f,_.OO);return new _.RM(f,e[1],e[2])}).addCallback(function(e){n$c(c.H,d,e);return e.response}).Jg(function(e){hO(c.H,d);return e})};
_.g.aH=function(a,b){var c=this,d=_.Nd(this.context.Pc.$f(),30);if(!d||0===d.length)return _.ri(new _.qc("getUserPrefs requires a namespace.",_.oL(3)));0===_.Nd(a,3).length&&f2c(a,d);jP(this);var e=_.ah();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=tN(f[0],h,_.Wy);return new _.QM(h,f[1],f[2])}).addCallback(function(f){n$c(c.H,e,f);return f.response}).Jg(function(f){hO(c.H,e);return f})};
_.g.jS=function(a){jP(this);tnd(_.Nd(this.context.Pc.$f(),30),a);a=Q1c(a);return this.send("3.6",[a],function(b,c){return tN(b[0],c,Fdd)})};_.g.ju=function(a){jP(this);return this.send("3.16",[a],function(b,c){return tN(b[0],c,s5c)})};_.g.nCa=function(){return this.ma};_.g.Jl=function(a){jP(this);this.send("3.8",[a])};_.g.Ry=function(a){jP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.wY=function(a){jP(this);qld(this.context).wY(a);this.Ry(!!a)};
_.g.tF=function(){jP(this);this.send("3.9",[])};_.g.lS=function(){jP(this);this.send("3.41",[]);this.context.lS();var a=k5c(this.context.Wk(),106006);a&&this.V.promise.then(function(b){var c=_.E(_.JM(a),H4c,6);if(!c){c=new H4c;var d=_.JM(a);_.x(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Yj()},function(){})};_.g.BB=function(){jP(this);return this.context.BB()};_.g.wQ=function(){jP(this);return _.fi(this.send("3.19",[],function(a,b){return tN(a[0],b,Z9c)}))};_.g.isConnected=function(){return this.context.vk().isConnected()};
_.g.k8=function(){return this.send("3.46",[],function(a,b){return tN(a[0],b,_.LYc)}).then()};_.g.d$=function(){return this.Fa};_.g.sync=function(){jP(this);return this.send("3.28",[]).then()};_.g.Ju=function(){return this.context.Ju()};_.g.tY=function(a){this.Ha.promise.then(function(b){return void b.tY(a)})};_.g.Gqa=function(a){jP(this);return this.O.Pxa(a)};_.g.fZ=function(a){jP(this);return this.O.Oxa(a)};_.g.qGa=function(a){jP(this);K9c(this.context.un,a,b5c(this.context.Mg));return this.O.Lxa(a)};
_.g.Hqa=function(a){jP(this);return new ond(this.V.promise,a)};_.g.Awa=function(a){var b=this;jP(this);if(!this.W||this.W.isDisposed())this.W=new end(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return tN(d[0],e,Aed)})});return this.W};_.g.aHa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.fi()};_.g.Q8=function(a){jP(this);return this.send("3.22",[a],function(b,c){return tN(b[0],c,Bed)})};
_.g.OV=function(a){jP(this);return this.send("3.25",[a],function(b,c){return tN(b[0],c,wed)})};_.g.Vba=function(){return this.$a.promise};_.g.Hoa=function(a){var b=_.ii();this.send("3.30",[a],function(c,d){c[0]?b.resolve(tN(c[0],d,Ded)):b.reject(new _.qc(void 0,tN(c[1],d,_.pc)))}).Jg(function(c){return void b.reject(c)});return b.promise};_.g.$wa=function(a){jP(this);return this.O.Cxa(a)};_.g.j8=function(a){jP(this);return this.send("3.42",[a],function(b,c){return tN(b[0],c,L6c)}).then()};
_.g.wP=function(a){jP(this);var b=new _.zn;this.send("3.39",[a],function(c,d){return c.map(function(e){return tN(e,d,y$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new und(b.promise))};_.g.MGa=function(a){var b=this;jP(this);return new Smd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new b9c(tN(d[0],e,LO),d[1])}).then()})};
_.g.Toa=function(a){jP(this);return this.send("3.38",[a],function(b,c){return tN(b[0],c,Ndd)}).then()};_.g.BLa=function(a){jP(this);return this.O.Txa(a)};_.g.Dra=function(a){jP(this);return this.O.Sxa(a)};_.g.UJa=function(a){var b=this;jP(this);return new Tmd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return tN(c[0],d,_.iN)}).then()})};_.g.VJa=function(a){jP(this);return this.O.Mxa(a)};_.g.$_=function(a){jP(this);this.send("3.43",[a])};
_.g.G0=function(a){jP(this);return this.send("3.44",[a],function(b,c){return tN(b[0],c,y6c)}).then()};_.g.Xo=function(a){jP(this);if(1!==_.wM(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.wk()&&!c.getItem())return Promise.reject(Error("Lg"))}return Promise.resolve(this.send("3.45",a))};
_.g.W1a=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.W1a.bind(a),6E4):(a.Ka=!0,jP(a))})}};var jP=function(a){a.Ka&&a.dispatchEvent(new efd)};
var E2c=function(a){SO.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.ii();this.H=a.Nm()};_.L(E2c,SO);E2c.prototype.zSa=function(){this.Ha=new Zld(this.context);this.Ma(this.Ha);this.Ka=new cmd(this.context);this.Ma(this.Ka);this.Oa=new jmd(this.context);this.Ma(this.Oa)};
E2c.prototype.$a=function(){var a=this,b=["hVFf7"];_.xM(this.context.Pc)&&b.push("BNEDtc");nO(this.O,b,function(){return void a.kXa()});nO(this.O,["T8oKm","ZA9qG"],function(){return void Dnd(a)});nO(this.O,["T8oKm","mrK8ic"],function(){return void Dnd(a)});this.Oc.listen(this.Ha,"WPi0i",this.qta.bind(this,1));this.Oc.listen(this.Ka,"Qb",this.qta.bind(this,2));this.Oc.listen(this.Oa,"WPi0i",this.qta.bind(this,4));nO(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var Dnd=function(a){WO(a.context).addCallback(function(b){b.start()})};
_.g=E2c.prototype;_.g.qta=function(a){_.ma(z6c,a)&&this.dispatchEvent(new Fed(a))};_.g.fZ=function(a){return this.V.Oxa(a.clone())};_.g.qGa=function(a){K9c(this.context.un,a,b5c(this.context.Mg));return this.V.Lxa(a.clone())};_.g.Gqa=function(a){return this.V.Pxa(a.clone())};_.g.Hqa=function(a){return new Amd(a,this.context.Nm())};
_.g.Mva=function(a,b){var c=this;if(this.oa&&_.xk(this.oa.zd(),a))return this.oa;this.oa=new Zmd(a.clone(),this.context,this.Gkb.bind(this),b);_.n.setTimeout(function(){c.oa=null},3E3);return this.oa};_.g.Gkb=function(a,b,c){var d=new _.tVc(a,b,c);return _.qi(this.H.then(function(e){return e.We(d)}).Sg(function(e){return _.qL(e)}))};_.g.Awa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new end(a,this.context,function(c){return End(b,c)});return this.ha};var End=function(a,b){return _.qi(a.H.then(function(c){return c.We(b)}).Sg(function(c){return _.qL(c)}))};
_.g=E2c.prototype;_.g.aHa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.fi()};_.g.OV=function(a){return _.qi(this.H.then(function(b){return b.We(a)}))};_.g.Q8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}))};_.g.tGa=function(a,b){var c=this;if(this.ka&&_.xk(this.ka.zd(),a))return mnd(this.ka),this.ka;this.ka=new jnd(a.clone(),this.context,this.MKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.MKb=function(a){var b=this;return this.H.then(function(c){return c.We(a)}).then(function(c){return _.VK(b.context.Pc)?Fad(b.context.zf.qr,_.pk(c.od(),_.Sk,2),a.zd().getId()).then(function(){return c}):c},_.qL)};_.g.Baa=function(a){var b=this;return _.qi(this.H.then(function(c){return c.We(a)}).then(function(c){return _.VK(b.context.Pc)?Fad(b.context.zf.qr,[_.E(c,_.Sk,2)],a.Jc()).then(function(){return c}):c},_.qL))};
_.g.S8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};_.g.$wa=function(a){return this.V.Cxa(a.clone())};_.g.j8=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.qL)};_.g.wP=function(a){return this.H.then(function(b){return b.We(a)}).then(function(b){var c=new _.zn;Pad(a,b).then(function(d){return c.resolve(d)});return new und(c.promise)},function(b){return void _.qL(b)})};_.g.MGa=function(a){var b=this;return new Smd(this.context,a,function(c){return b.H.then(function(d){return d.We(c)}).Sg(function(d){return _.qL(d)})})};
_.g.Toa=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.qL)};_.g.xd=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};_.g.kO=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.qL)};_.g.sz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.sL?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.cnb.bind(this,e,c));return e};
_.g.Exa=function(){return new pmd(this.context.Pc,this.context.QA,this.context.nR().jga,this.context.Nm(),this.context.sQ,this.context.ag(),this.context.Wk())};_.g.Nq=function(a,b){var c=this,d=_.ah();this.W.create(d,a);3===a.getType()?a=SO.prototype.Nq.call(this,a).addCallback(function(e){return new _.OM(e,1,!1)}):(oO(this.O,"Qubz4b"),a=this.Ka.enqueue(new hmd(a,b)));return a.addCallback(function(e){n$c(c.W,d,e);return e.response}).Jg(function(){hO(c.W,d)})};
_.g.Cr=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};_.g.Daa=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};_.g.P8=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};_.g.vT=function(a){return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};
_.g.IN=function(a,b){var c=this;oO(this.O,"iuEtc");var d=_.ah();this.W.create(d,a);return this.Ha.enqueue(new amd(a,b)).addCallback(function(e){n$c(c.W,d,e);return e.response}).Jg(function(){hO(c.W,d)})};
_.g.aH=function(a,b){var c=this,d=_.Nd(this.context.Pc.$f(),30);if(!d||0===d.length)return _.ri(new _.qc("getUserPrefs requires a namespace.",_.oL(3)));0===_.Nd(a,3).length&&f2c(a,d);var e=_.ah();this.W.create(e,a);oO(this.O,"OZvrNc");return this.Oa.enqueue(new mmd(a,b)).addCallback(function(f){n$c(c.W,e,f);return f.response}).Jg(function(){hO(c.W,e)})};_.g.jS=function(a){tnd(_.Nd(this.context.Pc.$f(),30),a);return _.qi(this.H.then(function(b){return b.We(a)}).then(null,_.qL))};
_.g.ju=function(a){var b=this;return _.qi(this.H.then(function(c){return c.We(a)}).then(function(c){return _.VK(b.context.Pc)?Ead(b.context.zf.qr,c):c},_.qL))};_.g.BLa=function(a){return this.V.Txa(a.clone())};_.g.Dra=function(a){return this.V.Sxa(a.clone())};_.g.UJa=function(a){var b=this;return new Tmd(this.context,a,function(c){return b.H.then(function(d){return d.We(c)}).Sg(function(d){return _.qL(d)})})};_.g.VJa=function(a){return this.V.Mxa(a.clone())};
_.g.$_=function(a){Tgd(this.context.zf,[a])};_.g.G0=function(a){return this.H.then(function(b){return b.We(a)}).then(null,_.qL)};_.g.Xo=function(a){if(1!==_.wM(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.wk()&&!c.getItem())return Promise.reject(Error("Lg"))}this.context.zf.Xo(a);Dhd(this.context.zf);return Promise.resolve()};_.g.nCa=function(){return this.context.nR().mK()};
_.g.Ry=function(a){var b=this;return this.context.Ry(a).then(function(c){return c?(b.context.Lj().Ry(a),b.context.Ws.rL()):_.fi(!a)})};_.g.wY=function(a){qld(this.context).wY(a);this.Ry(!!a)};_.g.tF=function(){WO(this.context).addCallback(function(a){a&&a.W4()});this.context.Rha.tF()};_.g.tY=function(a){a.Zi(this.context)};_.g.cnb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];Dhd(this.context.zf);a.callback(d)};
_.g.sync=function(){var a=this;return _.hi([this.context.zaa.promise,this.context.ka.promise]).then(function(){return a.context.Ws.rL()}).then()};_.g.Ju=function(){WO(this.context).addCallback(function(a){a&&a.dispose()});return SO.prototype.Ju.call(this)};_.g.Vba=function(){return this.kb.promise};
var Fnd=function(){var a='<div class="'+_.H("la-r")+'">';a=a+'\u767c\u751f\u932f\u8aa4\uff0c\u8acb\u91cd\u65b0\u8f09\u5165\u3002</div><button class="'+(_.H("la-Y-A")+" "+_.H("kc-A")+'" data-target="reload">');return(0,_.J)(a+"\u91cd\u65b0\u8f09\u5165</button>")};
_.xn({id:_.fm,callback:function(a){var b=_.O0c(a),c=H2c(a),d=_.E(a.get(_.Yc),_.Vb,10);_.SWc(d,b);_.ek(d,28,c);b=F2c(a,d);a.registerService(_.gm,b.d$());_.Se(b,"VbxEwf",function(){var e={};_.Ac(_.zt.getService(a),new _.bq(new _.aq(Fnd,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.Gnd=function(a,b){return _.x(a,17,b)};_.Hnd=function(a,b){return _.A(a,2,b)};_.Ind=function(a,b){return _.A(a,1,b)};_.Jnd=function(a,b){return _.x(a,2,b)};_.Knd=function(a,b){return _.Cb(a,1,b)};_.Lnd=function(a,b){return _.ek(a,1,b)};_.Mnd=function(a,b){return _.Cb(a,2,b)};_.Nnd=function(a,b){return _.x(a,3,b)};_.t("RsR2Mc");


_.w();

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