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

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

_.u();

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


_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var yvb,Bvb;yvb=[4,5,6,7];_.BB=function(a){_.J.call(this,a)};_.K(_.BB,_.J);_.BB.prototype.Bb=function(){return _.y(this,1)};_.BB.prototype.Dc=function(a){return _.w(this,1,a)};_.BB.prototype.f$=function(){return _.y(this,2)};_.BB.prototype.Wb="JmcaR";_.zvb=function(a){_.J.call(this,a)};_.K(_.zvb,_.J);_.zvb.prototype.O=function(){return _.Q(this,1)};_.zvb.prototype.Wb="dvhrqe";_.Avb=function(a){_.J.call(this,a)};_.K(_.Avb,_.J);_.Avb.prototype.bp=function(){return _.y(this,2)};
_.Avb.prototype.B1=function(){return _.y(this,3)};Bvb=[5];_.Cvb=function(a){_.J.call(this,a)};_.K(_.Cvb,_.J);_.Cvb.prototype.O=function(){return _.Q(this,4)};_.Cvb.prototype.setActive=function(a){return _.w(this,4,a)};_.Dvb=function(a){_.J.call(this,a,-1,Bvb)};_.K(_.Dvb,_.J);_.g=_.Dvb.prototype;_.g.AZ=function(){return _.y(this,1)};_.g.HT=function(){return _.y(this,3)};_.g.XJ=function(){return _.Qj(this,_.Avb,5)};_.g.Gl=function(){return _.y(this,6)};_.g.Cq=function(){return _.y(this,7)};
_.g.PM=function(){return _.y(this,9)};_.g.Zs=function(){return _.y(this,10)};_.g.HJ=function(){return _.B(this,_.Cvb,12)};_.g.Sk=function(){return _.y(this,13)};_.g.Rz=function(){return _.y(this,16)};_.g.hzb=function(){return _.P(this,16)};_.g.Sz=function(){return _.y(this,17)};_.g.Wb="dzR11e";_.Evb=function(a){_.J.call(this,a,-1,yvb)};_.K(_.Evb,_.J);_.Evb.prototype.O=function(){return _.B(this,_.Dvb,1)};_.Evb.prototype.aN=function(){return _.B(this,_.BB,8)};
_.Evb.prototype.V=function(){return _.B(this,_.zvb,9)};_.t("sy139");
_.CB=function(a){_.J.call(this,a,-1,Fvb)};_.K(_.CB,_.J);_.CB.prototype.getUser=function(){return _.B(this,_.Kk,1)};_.CB.prototype.getMetadata=function(){return _.B(this,_.Evb,3)};_.CB.prototype.xo=function(){return _.P(this,3)};var Fvb=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.rc=function(a){_.ri.call(this,_.Bc);this.error=a};_.K(_.rc,_.ri);_.t("sy13a");
var job;_.yA=function(a){_.J.call(this,a,-1,job)};_.K(_.yA,_.J);_.yA.prototype.O=function(){return _.Td(this,1)};_.zA=function(a,b){return _.Kj(a,1,b)};_.yA.prototype.jn=function(){return _.Td(this,2)};_.AA=function(a,b){return _.Kj(a,2,b)};_.yA.prototype.ve=function(){return _.B(this,_.wf,3)};_.BA=function(a,b){return _.I(a,3,b)};_.kob=function(a,b){return _.w(a,5,b)};job=[1,2,6,11];

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.DB=function(a){return a instanceof _.qc?a:a instanceof _.oc?new _.qc(void 0,a):a instanceof Error?new _.qc(a.message,void 0,a):new _.qc("Not an Error",void 0,Error("sb`"+JSON.stringify(a)))};_.Gvb=function(a){return a instanceof Error?_.DB(a).Qg:a instanceof _.qc?a.Qg:a};_.t("sy13c");

_.u();

}catch(e){_._DumpException(e)}
try{
_.Hvb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Un("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Nr:e,size:f,Xd:h},a))};_.t("sy13d");

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy13e");
_.EB={CL:"jb",zga:"kb",iU:"lb",hU:"mb"};_.Ivb=new Map([[_.EB.CL,1],[_.EB.zga,2],[_.EB.iU,2],[_.EB.hU,3]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.oA=function(a){if(Array.isArray(a))return a.map(_.oA).join("");if(_.y(a,2)){if(!a.getId())throw Error("sd");return a.getId()+"/"+_.y(a,2)+","}return""};_.t("sy14o");

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.mzb=function(a){a=parseInt(_.y(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.ozb=function(a,b,c,d){var e=_.Pe.getService(a);a=e.qg(a,c);_.nzb(a.H.qk,b,d);e.dg(a)};_.nzb=function(a,b,c){var d=new _.pzb;b.CU&&_.w(d,2,b.CU);b.gG&&0<=b.gG&&_.w(d,1,b.gG);b.quotaType&&_.w(d,3,b.quotaType);_.qzb(a,d);c&&(b=new _.rzb,_.w(b,1,c),_.szb(a,b))};_.tzb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.uzb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.qzb=function(a,b){b&&(a=a.Vc(),_.I(a,29,b))};_.szb=function(a,b){b&&(a=a.Vc(),_.I(a,38,b))};_.pzb=function(a){_.J.call(this,a)};_.K(_.pzb,_.J);_.rzb=function(a){_.J.call(this,a)};_.K(_.rzb,_.J);_.rzb.prototype.Th=function(){return _.y(this,1)};_.t("sy16u");
_.wzb=function(a,b,c){var d=_.C(a.get(_.JDa),1,""),e=_.mzb(b);d=new _.ij(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.rj(_.tj(_.tj(_.tj(_.tj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.vzb(a,e,c)),-1!=parseInt(String(_.B(b,_.fy,2)),10)?"upgrade":"")};
_.vzb=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"}}};
_.xzb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.y(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
var oAb;_.nAb=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")};oAb=function(a){var b=_.paa(_.TEa,function(c){return a==c});if(void 0===b)throw Error("qb`"+a);return b};_.pAb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.TEa[a.name]):(this.code=a=a.code,this.name=oAb(a));_.fa.call(this,_.nAb("%s %s",this.name,b))};_.Sf(_.pAb,_.fa);var qAb=function(a,b){_.ri.call(this,a.type,b)};
_.Sf(qAb,_.ri);_.t("sy175");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rAb=function(){_.zi.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.M)(this.f0,this);this.H.onprogress=(0,_.M)(this.f0,this);this.H.onload=(0,_.M)(this.f0,this);this.H.onabort=(0,_.M)(this.f0,this);this.H.onerror=(0,_.M)(this.f0,this);this.H.onloadend=(0,_.M)(this.f0,this)};_.Sf(_.rAb,_.zi);_.g=_.rAb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.pAb(a,"aborting read");}};_.g.Yj=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.pAb(this.H.error,"reading file")};_.g.f0=function(a){this.dispatchEvent(new qAb(a,this))};_.g.Ya=function(){_.rAb.wb.Ya.call(this);delete this.H};

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy18l");
_.aD=function(a){_.J.call(this,a)};_.K(_.aD,_.J);_.aD.prototype.ha=function(){return _.Ej(this,1)};_.aD.prototype.V=function(){return _.Ej(this,2)};_.aD.prototype.O=function(){return _.Ej(this,3)};

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.fub=function(a){_.J.call(this,a)};_.K(_.fub,_.J);_.fub.prototype.O=function(){return _.y(this,1)};_.fub.prototype.Bb=function(){return _.y(this,2)};_.fub.prototype.Dc=function(a){return _.w(this,2,a)};_.fub.prototype.V=function(){return _.y(this,3)};_.t("sy19e");
_.hub=function(a){_.J.call(this,a,-1,gub)};_.K(_.hub,_.J);_.hub.prototype.O=function(){return _.Td(this,1)};var gub=[1];
_.jub=function(a){_.J.call(this,a,-1,iub)};_.K(_.jub,_.J);_.jub.prototype.O=function(){return _.Qj(this,_.fub,1)};var iub=[1];
_.lub=function(a){_.J.call(this,a,-1,kub)};_.K(_.lub,_.J);_.lub.prototype.O=function(){return _.Qj(this,_.jub,1)};var kub=[1];
_.mub=function(a){_.J.call(this,a)};_.K(_.mub,_.J);_.mub.prototype.V=function(){return _.B(this,_.lub,1)};_.mub.prototype.O=function(){return _.B(this,_.hub,2)};
_.rB=function(a){_.J.call(this,a,-1,nub)};_.K(_.rB,_.J);_.g=_.rB.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Qj(this,_.el,2)};_.g.Uw=function(a){return _.Mj(this,2,a)};_.g.oh=function(a,b){return _.Sj(this,2,a,_.el,b)};_.g.Xj=function(){return _.y(this,3)};_.g.ol=function(){return _.S(this,5,!0)};_.g.O5=function(){return _.B(this,_.mub,7)};_.g.Ora=function(){return _.Q(this,8)};_.g.Zf=function(){return _.y(this,17)};
_.g.sP=function(a){return _.w(this,17,a)};_.g.Ze=function(){return _.y(this,12)};_.g.Li=function(a){return _.w(this,12,a)};_.g.Xn=function(){return _.y(this,15)};_.g.Sja=function(){return _.Td(this,18)};var nub=[2,14,18];

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ak");
_.KD=function(a){_.J.call(this,a)};_.K(_.KD,_.J);_.KD.prototype.getKey=function(){return _.B(this,_.Tb,1)};_.KD.prototype.lt=function(){return _.P(this,1)};_.KD.prototype.ve=function(){return _.B(this,_.wf,2)};
_.LD=function(a){_.J.call(this,a)};_.K(_.LD,_.J);_.LD.prototype.ve=function(){return _.B(this,_.wf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1al");
_.JD=function(a){_.J.call(this,a,-1,iEb)};_.K(_.JD,_.J);_.JD.prototype.ve=function(){return _.B(this,_.wf,1)};var iEb=[3];

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.$D=function(a,b,c){_.N.call(this);this.Hn=null!=c?(0,_.M)(a,c):a;this.ka=b;this.Jg=(0,_.M)(this.U8a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Sf(_.$D,_.N);_.g=_.$D.prototype;_.g.qe=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Qf()+this.ka:this.H=_.Ci(this.Jg,this.ka)};_.g.stop=function(){this.H&&(_.Di(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.Hn.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.$D.wb.Ya.call(this)};_.g.U8a=function(){this.H&&(_.Di(this.H),this.H=null);this.W?(this.H=_.Ci(this.Jg,this.W-_.Qf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Hn.apply(null,this.ha))};

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1d8");
_.oG=function(a){_.J.call(this,a)};_.K(_.oG,_.J);_.oG.prototype.getName=function(){return _.y(this,1)};_.oG.prototype.hd=function(a){return _.w(this,1,a)};_.oG.prototype.ve=function(){return _.B(this,_.wf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1db");
_.pG=function(a){_.J.call(this,a)};_.K(_.pG,_.J);_.g=_.pG.prototype;_.g.Ei=function(){return _.y(this,1)};_.g.ui=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.g.Jp=function(){return _.y(this,4)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1dc");
var FWb;_.qG=function(a){_.J.call(this,a,-1,FWb)};_.K(_.qG,_.J);_.qG.prototype.O=function(){return _.Td(this,1)};_.qG.prototype.jn=function(){return _.Td(this,2)};_.GWb=function(a,b){return _.Kj(a,2,b)};_.qG.prototype.ve=function(){return _.B(this,_.wf,3)};_.HWb=function(a,b){return _.I(a,3,b)};FWb=[1,2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.rG=function(a){_.J.call(this,a)};_.K(_.rG,_.J);_.g=_.rG.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,5)};_.g.Kd=function(a){return _.w(this,5,a)};_.g.nt=function(){return _.P(this,5)};_.t("sy1dd");
_.sG=function(a){_.J.call(this,a,-1,IWb)};_.K(_.sG,_.J);_.sG.prototype.jn=function(){return _.Td(this,1)};_.JWb=function(a,b){return _.Kj(a,1,b)};_.sG.prototype.ve=function(){return _.B(this,_.wf,2)};var IWb=[1,3];

_.u();

}catch(e){_._DumpException(e)}
try{
_.tG=function(a,b){return _.w(a,4,b)};_.KWb=function(a,b){_.w(a,11,b)};_.LWb=function(a,b){return _.w(a,25,b)};_.t("sy1de");

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1di");
_.AG=function(a){_.J.call(this,a)};_.K(_.AG,_.J);_.AG.prototype.Cc=function(){return _.y(this,1)};_.IXb=function(a){var b=new _.AG;return _.w(b,1,a)};_.AG.prototype.Ei=function(){return _.y(this,2)};_.AG.prototype.ui=function(a){return _.w(this,2,a)};_.AG.prototype.ve=function(){return _.B(this,_.wf,3)};

_.u();

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

_.u();

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

_.u();

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

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

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.wdc=function(a,b,c){_.gj(a.url,function(d){d=d.target;d.wv()?b(d.Fl()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.xdc=function(a,b,c,d){return _.C(a,1).split("/").pop()==d?(d=_.y(a,2),Array.isArray(d)?new b(d):c(_.ob(a.Za()))):null};_.t("sy1j4");
_.zdc=function(a){_.J.call(this,a,-1,ydc)};_.K(_.zdc,_.J);var ydc=[2];
_.Adc=function(a){_.J.call(this,a)};_.K(_.Adc,_.J);var Bdc=function(){var a=new _.Adc,b=document.documentElement.getAttribute("lang");return _.w(a,5,b)};_.Adc.prototype.Wi=function(){return _.y(this,7)};
_.Cdc=function(a){_.J.call(this,a)};_.K(_.Cdc,_.J);
var Ddc;_.dI=function(a){_.J.call(this,a,31,Ddc)};_.K(_.dI,_.J);_.eI=function(a,b){return _.w(a,8,b)};Ddc=[3,20,27];
var Fdc=function(a){_.J.call(this,a,17,Edc)};_.K(Fdc,_.J);var Gdc=function(a){var b=Date.now().toString();return _.w(a,4,b)},Hdc=function(a,b){return _.Mj(a,3,b)},Idc=function(a,b){return _.w(a,14,b)},Edc=[3,5];
var Kdc=function(a){_.J.call(this,a,6,Jdc)};_.K(Kdc,_.J);var Jdc=[5];
var Ldc=function(a){_.J.call(this,a)};_.K(Ldc,_.J);
var Mdc=new _.xk(175237375,Ldc);
_.fI=function(a,b,c,d,e,f,h,k,l,p,q){_.zi.call(this);var r=this;this.Ka="";this.O=[];this.Ic="";this.Gb=this.Nb=this.ha=!1;this.Qc=this.rb=-1;this.Rb=!1;this.Fa=this.V=null;this.va=0;this.le=1;this.timeoutMillis=0;this.kb=!1;_.zi.call(this);this.Tc=a;this.oc=b||_.Of;this.ka=new Fdc;this.Bd=d;this.Ab=q;this.ne=_.Db(_.bja,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Od=null;this.withCredentials=!k;this.zc=f||!1;this.Qd=!this.zc&&(_.zj.Nn&&_.Fb(65)||_.zj.Mu&&_.Fb(45)||_.zj.Vx&&
_.Fb(12)||_.Xg()&&0<=_.ng(_.Fia(),12))&&!!_.uf()&&!!_.uf().navigator&&!!_.uf().navigator.sendBeacon;a=_.w(new _.Cdc,1,1);f||(f=Bdc(),_.I(a,11,f));_.I(this.ka,1,a);_.w(this.ka,2,this.Tc);this.ma=new _.bI(1E4,3E5,.1);this.H=new _.Bi(this.ma.Za());this.Ma(this.H);_.Ce(this.H,"tick",_.sga(Ndc(this,p)),!1,this);this.Qa=new _.Bi(6E5);this.Ma(this.Qa);_.Ce(this.Qa,"tick",_.sga(Ndc(this,p)),!1,this);this.Ta||this.Qa.start();this.zc||(_.Ce(_.uf(),"beforeunload",this.ta,!1,this),_.Ce(_.uf(),"unload",this.ta,
!1,this),_.Ce(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.Ce(document,"pagehide",this.ta,!1,this))};_.K(_.fI,_.zi);var Ndc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.fI.prototype.Ya=function(){this.ta();_.zi.prototype.Ya.call(this)};var Odc=function(a){a.Ba||(a.Ba=.01>a.ne()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.fI.prototype.W=function(a){a instanceof _.dI?this.log(a):(a=_.eI(new _.dI,a.Lc()),this.log(a))};_.Pdc=function(a,b){b?(a.V||(a.V=new _.zdc),b=b.Lc(),_.w(a.V,4,b)):a.V&&_.qb(a.V,4)};_.Qdc=function(a){a.Nb=a.Qd};_.Rdc=function(a,b){a.ma=new _.bI(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Za())};
_.fI.prototype.log=function(a){a=a.clone();var b=this.le++;_.w(a,21,b);this.Ka&&_.w(a,26,this.Ka);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.P(a,15)||_.w(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.I(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Sdc(a));this.Ta||this.H.enabled||this.H.start()};
_.fI.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.kb)Tdc(this);else{var d=Date.now();if(this.Qc>d&&this.rb<d)b&&b("throttled");else{var e=Idc(Hdc(Gdc(this.ka.clone()),this.O),this.va);d={};var f=this.oc();f&&(d.Authorization=f);var h=Odc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.aj(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.aj(h,"pageId",this.$a));if(f&&this.Ic===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.Lc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.N7b(k));var p={url:h,body:k,Skb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Za());if(z){var A=null;try{var D=JSON.parse(z.replace(")]}'\n",""));A=new Kdc(D)}catch(F){}A&&(z=Number(_.Rma(A,1,"-1")),0<z&&(c.rb=Date.now(),c.Qc=c.rb+z),A=_.sb(A,Mdc))&&(A=_.Vj(A,1,-1),-1!=A&&(c.Rb||_.Rdc(c,A)))}a&&a()},r=
function(z){var A=_.Qj(e,_.dI,3);_.cI(c.ma);c.H.setInterval(c.ma.Za());401===z&&f&&(c.Ic=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Ta||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.Ab?c.Ab.send(p,q,r):c.Bd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Skb=2;v()},function(){v()}):v()}}}};_.fI.prototype.ta=function(){this.ha||(this.Nb&&Tdc(this),this.Gb&&Udc(this),this.flush())};
var Tdc=function(a){Vdc(a,32,10,function(b,c){b=_.aj(b,"format","json");b=_.uf().navigator.sendBeacon(b,c.Lc());a.kb&&!b&&(a.kb=!1);return b})},Udc=function(a){Vdc(a,6,5,function(b,c){b=_.Xi(b,"format","base64json","p",_.Aj(c.Lc(),3));_.Fg(new Image,b);return!0})},Vdc=function(a,b,c,d){if(0!==a.O.length){var e=_.Vla(Odc(a),"format");e=_.Xi(e,"auth",a.oc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Hdc(Gdc(a.ka.clone()),h);0===f&&Idc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Sdc=function(){_.ri.call(this,"event-logged",void 0)};_.K(Sdc,_.ri);

_.u();

}catch(e){_._DumpException(e)}
try{
var Wdc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],D=e[2],F=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=F^A&(D^F);var O=1518500249}else L=A^D^F,O=1859775393;else 60>z?(L=A&D|F&(A|D),O=2400959708):(L=A^D^F,O=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+O+v[z]&4294967295;H=F;F=D;D=(A<<30|A>>>2)&4294967295;A=r;r=L}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+F&4294967295;e[4]=e[4]+H&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,D=r.length;A<D;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}};_.t("sy1jb");
var Xdc=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("Ne`"+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("Oe`"+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 Zdc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Ydc(Xdc(d),a,c||null)].join(" "):null},Ydc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ia(d,function(k){e.push(k)}),$dc(e.join(" "));var f=[],h=[];_.Ia(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.pa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ia(d,function(k){e.push(k)});a=$dc(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},$dc=function(a){var b=
Wdc();b.update(a);return b.digestString().toLowerCase()};
var aec={};
var bec,dec;bec=function(a){return!!aec.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.cec=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;bec(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.bQa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");bec(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};dec=function(a,b,c,d){(a=_.n[a])||(a=(new _.bQa(document)).get(b));return a?Zdc(a,c,d):null};
_.eec=function(a,b){b=void 0===b?!1:b;var c=Xdc(String(_.n.location.href)),d=[];if(_.cec(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 _.bQa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Zdc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&bec(b)&&((b=dec("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=dec("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.u();

}catch(e){_._DumpException(e)}
try{
_.gI=function(a,b){a.H=b;a.ka=0};_.hI=function(a,b){return _.w(a,b,_.lb([]))};_.t("sy1je");
_.iI=function(a,b,c,d,e,f,h){_.fI.call(this,a,_.eec,b,_.wdc,c,d,e,void 0,f,h)};_.K(_.iI,_.fI);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k7");
_.fec=function(a){_.J.call(this,a)};_.K(_.fec,_.J);_.g=_.fec.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.lt=function(){return _.P(this,1)};_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};
_.jI=function(a){_.J.call(this,a,-1,gec)};_.K(_.jI,_.J);_.jI.prototype.Xz=function(){return _.y(this,1)};_.jI.prototype.getUrl=function(){return _.y(this,3)};var gec=[2,4,6];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k8");
_.hec={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.iec=_.Za(_.hec);

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.kI=function(a,b){a.V.remove(b);return a};_.lI=function(){return"goog_"+_.wia++};_.lec=function(a,b,c,d,e,f){var h=new _.ij(null,void 0);a&&_.jj(h,a);b&&_.lma(h,b);c&&_.oj(h,c);d&&_.pj(h,d);e&&h.Mi(e);f&&_.qj(h,f);return h};_.mI=function(a){return new _.Vh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{V8:!0,value:p}:{V8:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Rja(h,_.Db(e,f,!0),_.Db(e,f,!1));else b(d)})};
_.nI=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 _.Dq(c,e,d-c,a-e)}return null};_.pI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.pI.prototype.clone=function(){return new _.pI(this.start,this.end)};_.qI=function(a){return a.end-a.start};_.t("sy1mn");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
var nec,qec;nec=[3,42];_.oec=function(a){_.J.call(this,a,-1,nec)};_.K(_.oec,_.J);_.oec.prototype.getMimeType=function(){return _.y(this,27)};_.pec=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};qec=function(a,b){if(b&&a in b)return a;var c=_.OFa();return c?(c=c.toLowerCase(),a=c+_.Aia(a),void 0===b||a in b?a:null):null};_.t("sy1mo");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var rec=function(a){_.ri.call(this,"visibilitychange");this.hidden=a};_.K(rec,_.ri);
_.sec=function(a){_.zi.call(this);this.Zc=a||_.mh();if(this.Kz=this.wrb())this.H=_.Ce(this.Zc.Vb(),this.Kz,(0,_.M)(this.H9a,this))};_.Sf(_.sec,_.zi);_.g=_.sec.prototype;_.g.wrb=_.kda(function(){var a=this.uu(),b="hidden"!=this.wza();if(a){var c;b?c=((_.OFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.wza=_.kda(function(){return qec("hidden",this.Zc.Vb())});_.g.atb=_.kda(function(){return qec("visibilityState",this.Zc.Vb())});_.g.uu=function(){return!!this.wza()};
_.g.JB=function(){return!!this.Zc.Vb()[this.wza()]};_.g.H9a=function(){var a=this.uu()?this.Zc.Vb()[this.atb()]:null;a=new rec(this.JB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.xi(this.H);_.sec.wb.Ya.call(this)};

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sI=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Sf(_.sI,_.kec);_.sI.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 tec=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};
_.sI.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;)tec(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){tec(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){tec(this,d);e=0;break}}this.O=e;this.V+=b};
_.sI.prototype.digest=function(){var a=Array((56>this.O?this.blockSize:2*this.blockSize)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.V;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.H[b]>>>d&255;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var uec;uec=[2];_.tI=function(a){_.J.call(this,a,-1,uec)};_.K(_.tI,_.J);_.tI.prototype.Bb=function(){return _.y(this,1)};_.tI.prototype.Dc=function(a){return _.w(this,1,a)};_.tI.prototype.DUa=function(){return _.Qj(this,_.P7a,2)};_.tI.prototype.Xj=function(){return _.y(this,3)};_.t("sy1nj");
var vec;_.uI=function(a){_.J.call(this,a,-1,vec)};_.K(_.uI,_.J);_.uI.prototype.O=function(){return _.Td(this,1)};_.uI.prototype.ve=function(){return _.B(this,_.wf,2)};_.wec=function(a,b){return _.I(a,2,b)};_.uI.prototype.Ei=function(){return _.Vj(this,3,20)};_.uI.prototype.ui=function(a){return _.w(this,3,a)};_.xec=function(a,b){return _.w(a,4,b)};vec=[1];

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
var Bec=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.jga);try{delete a[_.jga]}catch(b){}},vI=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.Ba(f)){f[_.jga]||c.push(f);var l=_.Ca(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var p in f)"function"!==typeof f[p]&&(b.push("\n"),b.push(k),b.push(p+" = "),e(f[p],k));b.push("\n"+h+"}");delete d[l]}}else b.push(f)}catch(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)Bec(c[a]);return b.join("")};_.t("sy1nx");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Cec,xI,Eec,Dec;_.wI=function(a,b,c){if("number"===typeof a)var d={name:Dec(a)};else d=a,a=Eec(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.fa.call(this,b)};_.Sf(_.wI,_.fa);_.wI.prototype.getName=function(){return this.O.name||""};xI={Bib:1,Fhb:2,NOT_FOUND_ERR:3,K7a:4,Q7a:5,Hhb:6,wib:7,ABORT_ERR:8,Whb:9,X5b:10,TIMEOUT_ERR:11,Thb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.Fec=(_.n.oI||_.n.rL||xI).Bib;_.Gec=(_.n.oI||_.n.rL||xI).Fhb;_.Hec=(_.n.oI||_.n.rL||xI).NOT_FOUND_ERR;
_.Iec=(_.n.oI||_.n.rL||xI).K7a;_.Jec=(_.n.oI||_.n.rL||xI).Q7a;_.Kec=(_.n.oI||_.n.rL||xI).Hhb;_.Lec=(_.n.oI||_.n.rL||xI).wib;_.Mec=(_.n.oI||_.n.rL||xI).ABORT_ERR;_.Nec=(_.n.oI||_.n.rL||xI).Whb;_.Oec=(_.n.oI||_.n.rL||xI).TIMEOUT_ERR;_.Pec=(_.n.oI||_.n.rL||xI).Thb;_.Qec=(_.n.DOMException||xI).INVALID_ACCESS_ERR;_.Rec=(_.n.DOMException||xI).INVALID_STATE_ERR;
Eec=function(a){switch(a){case "UnknownError":return _.Fec;case "NotFoundError":return _.Hec;case "ConstraintError":return _.Iec;case "DataError":return _.Jec;case "TransactionInactiveError":return _.Lec;case "AbortError":return _.Mec;case "ReadOnlyError":return _.Nec;case "TimeoutError":return _.Oec;case "QuotaExceededError":return _.Pec;case "InvalidAccessError":return _.Qec;case "InvalidStateError":return _.Rec;default:return _.Fec}};
Dec=function(a){switch(a){case _.Fec:return"UnknownError";case _.Hec:return"NotFoundError";case _.Iec:return"ConstraintError";case _.Jec:return"DataError";case _.Lec:return"TransactionInactiveError";case _.Mec:return"AbortError";case _.Nec:return"ReadOnlyError";case _.Oec:return"TimeoutError";case _.Pec:return"QuotaExceededError";case _.Qec:return"InvalidAccessError";case _.Rec:return"InvalidStateError";default:return"UnknownError"}};
_.yI=function(a,b){return"error"in a?new _.wI(a.error,b):new _.wI({name:"UnknownError"},b)};_.zI=function(a,b){if("name"in a)return b=b+": "+a.message,new _.wI(a,b);if("code"in a){var c=Dec(a.code);b=b+": "+a.message;return new _.wI({name:c},b)}return new _.wI({name:"UnknownError"},b)};
_.Sec=function(a){this.H=a};_.Tec=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.Sec.prototype.range=function(){return this.H};
var Uec=function(a){this.H=a};Uec.prototype.getName=function(){return this.H.name};var Vec=function(a,b,c,d){var e=new _.ai;try{var f=a.H[b](d)}catch(h){return c+=" with key "+vI(d),e.Id(_.zI(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+vI(d);e.Id(_.yI(h.target,c))};return e};Uec.prototype.get=function(a){return Vec(this,"get","getting from index "+this.getName(),a)};
Uec.prototype.getKey=function(a){return Vec(this,"getKey","getting key from index "+this.getName(),a)};Uec.prototype.getAll=function(a,b){return _.Wec(this,"getAll","getting all from index "+this.getName(),a,b)};
_.Wec=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.Sec?d.range():(new _.Sec(_.Tec.only(d))).range();var h=new _.ai;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?vI(f):"<all>"),h.Id(_.zI(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?vI(f):"<all>");h.Id(_.yI(l.target,c))};return h};
var Xec=function(a){this.H=a};Xec.prototype.getName=function(){return this.H.name};var Yec=function(a,b,c,d,e){var f=new _.ai;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=vI(d),e&&(c+=", with key "+vI(e)),f.Id(_.zI(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=vI(d);e&&(c+=", with key "+vI(e));f.Id(_.yI(k.target,c))};return f};_.g=Xec.prototype;_.g.put=function(a,b){return Yec(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return Yec(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.ai;try{var c=this.H["delete"](a instanceof _.Sec?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+vI(a),b.Id(_.zI(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+vI(a);b.Id(_.yI(e.target,f))};return b};
_.g.get=function(a){var b=new _.ai;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+vI(a),b.Id(_.zI(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 "+vI(a);b.Id(_.yI(e.target,f))};return b};_.g.getAll=function(a,b){return Zec(this,"getting all from index "+this.getName(),a,b)};
var Zec=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.Sec?c.range():(new _.Sec(_.Tec.only(c))).range();var f=new _.ai;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?vI(e):"<all>"),f.Id(_.zI(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?vI(e):"<all>");f.Id(_.yI(k.target,b))};return f};
Xec.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.ai;try{var c=this.H.clear()}catch(d){return b.Id(_.zI(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Id(_.yI(d.target,a))};return b};Xec.prototype.getIndex=function(a){try{return new Uec(this.H.index(a))}catch(b){throw _.zI(b,"getting index "+a);}};
Xec.prototype.count=function(a){var b=new _.ai;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Id(_.yI(e.target,d.getName()))}}catch(e){b.Id(_.zI(e,this.getName()))}return b};
var $ec=function(a,b){_.zi.call(this);this.H=a;this.O=b;this.Eb=new _.Ne(this);this.Eb.listen(this.H,"complete",(0,_.M)(this.dispatchEvent,this,"complete"));this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.I9a)};_.Sf($ec,_.zi);_.g=$ec.prototype;_.g.I9a=function(a){a.target instanceof _.wI?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.yI(a.target,"in transaction")})};_.g.Rg=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new Xec(this.H.objectStore(a))}catch(b){throw _.zI(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.zI(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.ai;_.Te(this,"complete",(0,_.M)(a.callback,a));var b=_.Te(this,"abort",function(){_.xi(c);a.Id(new _.wI(_.Mec,"waiting for transaction to complete"))});var c=_.Te(this,"error",function(e){_.xi(b);a.Id(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){$ec.wb.Ya.call(this);this.Eb.dispose()};
var afc=function(a){_.zi.call(this);this.H=a;this.Eb=new _.Ne(this);this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.J9a);this.Eb.listen(this.H,"versionchange",this.Lob);this.Eb.listen(this.H,"close",(0,_.M)(this.dispatchEvent,this,"close"))};_.Sf(afc,_.zi);_.g=afc.prototype;_.g.Yra=!0;_.g.J9a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Lob=function(a){this.dispatchEvent(new bfc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Yra&&(this.H.close(),this.Yra=!1)};_.g.kh=function(){return this.Yra};_.g.getName=function(){return this.H.name};_.g.hj=function(){return Number(this.H.version)};_.cfc=function(a,b,c){try{return new Xec(a.H.createObjectStore(b,c))}catch(d){throw _.zI(d,"creating object store "+b);}};
_.dfc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new $ec(d,a)}catch(e){throw _.zI(e,"creating transaction");}};afc.prototype.Ya=function(){afc.wb.Ya.call(this);this.Eb.dispose()};var bfc=function(a,b){_.ri.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Sf(bfc,_.ri);
_.efc=function(){void 0==Cec&&(Cec=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return Cec};
_.ffc=function(a,b,c,d){var e=new _.ai;b=b?_.efc().open(a,b):_.efc().open(a);b.onsuccess=function(f){f=new afc(f.target.result);e.callback(f)};b.onerror=function(f){e.Id(_.yI(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new afc(f.target.result);c(new bfc(f.oldVersion,f.newVersion),h,new $ec(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new bfc(f.oldVersion,f.newVersion))};return e};

_.u();

}catch(e){_._DumpException(e)}
try{
_.gfc=function(a,b){this.ka=a;this.va=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.wdc;this.H=""};_.t("sy1ny");
_.gfc.prototype.build=function(){var a=new _.fI(this.ka,this.Ka?this.Ka:_.eec,this.va,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.y(b,1)||_.w(b,1,1);_.I(a.ka,1,b)}if(this.O){b=this.O;var c=_.B(a.ka,_.Cdc,1),d=_.B(c,_.Adc,11);d||(d=new _.Adc);_.w(d,7,b);_.I(c,11,d);_.y(c,1)||_.w(c,1,1);_.I(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ka=this.H);this.Ba&&_.Pdc(a,this.Ba);this.Qa&&(b=this.Qa,a.V||(a.V=new _.zdc),_.Kj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Rb=!0,_.Rdc(a,b));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.hfc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1nz");
_.ifc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.ifc.prototype.CA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.eI(new _.dI,a.Lc());b(a);return new _.Vh(function(d){c(d,function(){d()})}.bind(this))};
_.jfc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Qdc(this.O)};_.jfc.prototype.CA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.eI(new _.dI,a.Lc());b(a);c()};

_.u();

}catch(e){_._DumpException(e)}
try{
var kfc=function(a){_.J.call(this,a)};_.K(kfc,_.J);kfc.prototype.getEmail=function(){return _.C(this,3,"")};kfc.prototype.lp=function(){return _.P(this,3)};_.AI=function(a){return _.B(a,kfc,36,1)};_.t("sy1nl");

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1nk");
_.BI=function(a){_.J.call(this,a)};_.K(_.BI,_.J);_.BI.prototype.ve=function(){return _.B(this,_.wf,1)};_.CI=function(a,b){return _.I(a,1,b)};_.BI.prototype.Lg=function(){return _.y(this,4)};_.BI.prototype.qoa=function(a){return _.w(this,4,a)};

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var lfc=function(a){_.J.call(this,a)},qfc;_.K(lfc,_.J);var mfc=function(a){_.J.call(this,a)};_.K(mfc,_.J);_.DI=function(a){_.J.call(this,a)};_.K(_.DI,_.J);_.DI.prototype.r4=function(a){_.w(this,3,a)};_.DI.prototype.Ml=function(a){return _.I(this,5,a)};_.DI.prototype.getMimeType=function(){return _.y(this,7)};var nfc=[2],ofc=function(a){_.J.call(this,a,-1,nfc)};_.K(ofc,_.J);var pfc=function(a){_.J.call(this,a)};_.K(pfc,_.J);qfc=function(a){this.H=a};_.rfc=function(a){this.Cd=a};
_.rfc.prototype.getId=function(){return this.Cd};var sfc=function(a){_.J.call(this,a)};_.K(sfc,_.J);sfc.prototype.hj=function(){return _.y(this,1)};var tfc=function(a){_.J.call(this,a)};_.K(tfc,_.J);
var vfc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.$Aa.length;a++){var b=_.$Aa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;ufc(this,b);break}}},ufc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.O=!0;a.H.onDisconnect.addListener(function(){a.O=!1});document.addEventListener("mousemove",function(c){a.V=c.clientX;a.W=c.clientY})};
vfc.prototype.CA=function(a){if(this.ha&&this.O){var b=_.B(a,_.Pb,2)||new _.Pb,c=_.B(a,_.$o,5)||new _.$o,d=_.B(a,_.DI,3)||new _.DI;a=_.Qj(a,_.Zya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Lc(),session_info:b.Lc(),session_invariants:c.Lc(),client_info:d.Lc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy1np");
var wfc=function(){_.So.call(this)};_.K(wfc,_.So);wfc.prototype.vv=function(){return 1==_.y(_.B(this.H,lfc,7),1)};var xfc=new _.Oo("high_frequency_builder");
var yfc=function(a,b,c){a=new _.Bi(a);c.Ma(a);var d=new _.Ne(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var zfc=function(){_.So.call(this)};_.K(zfc,_.So);var Afc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.Do;var e=new _.yya;e=_.w(e,1,d);_.I(b,1,e);_.w(b,3,1);_.I(a.H,8,b);_.w(a.H,12,c);_.w(a.H,13,c);_.w(a.H,4,d);_.w(a.H,3,c)}else 1==b&&(b=new _.Do,e=new _.zya,d=_.w(e,1,d),_.I(b,2,d),_.w(b,3,2),_.I(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},Bfc=new _.Oo("system_builder");
var Cfc=function(a,b){_.N.call(this);this.O=a;this.H=new _.sec(b);this.Ma(this.H);this.Eb=new _.Ne(this);this.Ma(this.Eb);this.H.uu()&&this.Eb.listen(this.H,"visibilitychange",this.V)};_.K(Cfc,_.N);Cfc.prototype.V=function(){if(this.O.vP()){var a=this.H.JB()?102001:102E3;a=this.O.PF(a,0);this.O.Qp(a)}};
var Dfc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.K(Dfc,_.N);_.g=Dfc.prototype;_.g.Qp=function(a){var b=this.H;_.w(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.$b()&&b.O.qe();return new qfc(a)};_.g.PF=function(a,b){a=Afc(Efc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.GL=function(){return this.H.O};
_.g.iw=function(a){var b=this.H,c=_.To(a,Bfc),d=b.ha++,e=_.B(_.B(c.H,_.Do,8),_.zya,2),f=1E3*Date.now();_.w(e,2,f);_.w(c.H,13,d);b.ka.remove(_.y(a.H,12))};_.g.BZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=Ffc(a.H,691).build();b=Gfc(a.H,[b]);a.ka.CA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.CZ=function(){var a=this.H,b=Ffc(a,716);Hfc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.qe();this.W&&(this.V=new Cfc(this))};_.g.Uia=function(){this.O.W();return _.mI(Array.from(this.O.V)).then()};
_.g.vP=function(){var a=this.H;return a.va&&a.ma&&!0};
var Ifc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.rI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.K(Ifc,_.N);Ifc.prototype.initialize=function(){yfc(this.ma,this.O.qe,this.O);yfc(36E5,this.va,this)};Ifc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=Jfc(this.H),c=this.ta.CA(b);c&&(_.$h(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
Ifc.prototype.va=function(){var a=this.H,b=Ffc(a,1153).build();a.H.add(b);this.O.qe()};
var Kfc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.K(Kfc,_.N);_.g=Kfc.prototype;_.g.Qp=function(a){a=this.H.Qp(a);this.Uia();return a};_.g.PF=function(a,b){return this.H.PF(a,b)};_.g.GL=function(){return this.H.GL()};_.g.iw=function(a){return this.H.iw(a)};_.g.BZ=function(){return this.H.BZ()};_.g.CZ=function(){return this.H.CZ()};_.g.Uia=function(){return this.H.Uia()};_.g.vP=function(){return this.H.vP()};
var Lfc=function(){};Lfc.prototype.LQ=function(){return new wfc};
var Mfc=function(){this.H=[]};Mfc.prototype.add=function(a){this.H.push(a)};Mfc.prototype.$b=function(){return this.H.length};
var Nfc=function(){this.H={}};Nfc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};Nfc.prototype.remove=function(a){delete this.H[a]};
var Ofc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new Nfc;this.H=new Mfc;this.ma=this.va=this.V=!1},Efc=function(a,b){a=_.To((new _.So).initialize(new _.Zya,a.Ba),Bfc);_.w(a.H,10,b);return a},Jfc=function(a){var b=a.H,c=b.H;b.H=[];return Gfc(a,c)},Gfc=function(a,b){var c=new _.oAa;var d=a.O.W.clone();c=_.I(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.I(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.B(b[h],_.Mo,5);if(k&&_.B(k,_.oec,1)){k=_.B(k,_.oec,1);_.P(k,12)&&
void 0===e&&(e=_.Q(k,12));k=_.B(k,mfc,20);if(void 0!==k&&void 0===f){f=new tfc;var l=_.Q(k,2);void 0!==l&&_.w(f,2,l);k=_.Q(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.DI),void 0!==e&&_.w(d,6,e),void 0!==f&&_.I(d,13,f);(e=d)&&_.I(c,3,e);a=a.O.ha.clone();_.I(c,4,a);_.Mj(c,1,b);return c},Ffc=function(a,b){var c=Afc(Efc(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 pfc;k=_.w(p,1,k);l=_.y(l.H,10);l=_.w(k,2,l);f.push(l)}d=f}716!=b&&(b=a.ta,_.w(c.H,6,a.W),e=new ofc,b=_.w(e,1,b),d&&_.Mj(b,2,d),d=_.Uo(c),_.I(d,3,b));Hfc(a,c);return c},Hfc=function(a,b){a.W=_.y(b.H,12);a.ta=_.y(_.B(_.B(b.H,_.Do,8),_.yya,1),1)};
var Pfc=function(){};Pfc.prototype.LQ=function(){return new zfc};
var Qfc=function(){this.H=this.O=null};Qfc.prototype.build=function(){null==this.H&&(this.H=new _.Iza);_.Xo(this.H,Bfc,new Pfc);_.Xo(this.H,xfc,new Lfc);var a=this.H;var b=this.O;if(!_.P(_.Rfc(b),1)){var c=_.Rfc(b),d=new _.$za;_.I(c,1,d)}b=_.B(_.Rfc(b),_.$za,1);a.H=b;b=_.Qa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new Ofc(this.O,this.H)};
var Sfc=function(){this.W=new _.Pb;this.O=null;this.ha=new sfc;_.w(this.ha,1,6);this.H=this.V=null};Sfc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Tfc=function(a,b){_.w(a.W,2,b);return a};_.Ufc=function(a,b){if(null==a.V){a.V=new _.mAa;var c=_.Rfc(a);_.I(c,2,a.V)}_.w(a.V,1,b)};_.Rfc=function(a){null==a.O&&(a.O=new _.$o);return a.O};_.Vfc=function(a){null==a.H&&(a.H=new _.DI);return a.H};
_.Wfc=function(){this.H=this.ha=null;this.W=new Sfc;this.V=null;this.ka=this.ma=!1;this.O=null};_.Xfc=function(a,b){a.ha=b;return a};_.Yfc=function(a,b){a.H=b;return a};_.Zfc=function(a,b){a.V=b;return a};_.Wfc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.$fc=function(a,b){_.w(a.W.W,6,b);return a};
_.Wfc.prototype.build=function(){var a=new Qfc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new vfc;this.H=this.ha=b}b=new Ifc(a,this.ha,this.H,this.ma,this.O);a=new Dfc(a,b,!1);this.ka&&(a=new Kfc(a));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.EI=function(a){return a instanceof Error};_.FI=function(a){return _.S(a,84,!1)};_.t("sy1nd");
_.agc=function(a){_.J.call(this,a)};_.K(_.agc,_.J);
_.GI=function(a){_.J.call(this,a)};_.K(_.GI,_.J);_.GI.prototype.getOptions=function(){return _.B(this,_.agc,1)};_.GI.prototype.Xn=function(){return _.y(this,2)};_.GI.prototype.qd=function(){return _.B(this,_.hf,3)};
_.bgc=function(a){_.J.call(this,a,-1,void 0,_.HI)};_.K(_.bgc,_.J);_.HI=[[3,4,5,6,7,8,9,10]];
var II,dgc;II={};_.cgc=(II[1]="modifiedDate",II[2]="modifiedByMeDate",II[3]="quotaBytesUsed",II[4]="title",II[6]="lastViewedByMeDate",II[10]="createdDate",II[7]="sharedWithMeDate",II[9]="starred",II[11]="recency",II[5]="relevance",II[12]="trashedDate",II[13]="lastViewedByMeDate",II);dgc={};_.egc=(dgc[1]="asc",dgc[2]="desc",dgc);
_.fgc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ggc=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(_.ggc,_.Lt);_.g=_.ggc.prototype;_.g.clone=function(){var a=new _.ggc(this.date);a.zG=this.zG;a.hV=this.hV;return a};_.g.add=function(a){(a.W||a.V)&&_.Kt.prototype.add.call(this,new _.Jt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.ew))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Lt.prototype.getUTCFullYear;
_.g.getMonth=_.Lt.prototype.getUTCMonth;_.g.getDate=_.Lt.prototype.getUTCDate;_.g.getHours=_.Lt.prototype.getUTCHours;_.g.getMinutes=_.Lt.prototype.getUTCMinutes;_.g.getSeconds=_.Lt.prototype.C8a;_.g.getMilliseconds=_.Lt.prototype.B8a;_.g.getDay=_.Lt.prototype.getUTCDay;_.g.setFullYear=_.Lt.prototype.setUTCFullYear;_.g.setMonth=_.Lt.prototype.setUTCMonth;_.g.setDate=_.Lt.prototype.setUTCDate;_.g.setHours=_.Lt.prototype.kLa;_.g.setMinutes=_.Lt.prototype.lLa;_.g.setSeconds=_.Lt.prototype.mLa;
_.g.setMilliseconds=_.Lt.prototype.D8a;
var hgc,jgc;hgc={};_.igc=(hgc[1]="0",hgc[2]="1",hgc[3]="2",hgc);jgc={};_.kgc=(jgc[1]="asc",jgc[2]="desc",jgc);
_.lgc=new _.Oo("drive_dataservice_builder");
_.mgc=_.bh&&0>_.ng(_.eh,"533");
_.ngc=new _.rfc("drive_dataservice_invariants");
_.ogc=new Map([[[1],1],[[6],7],[[2],2]]);_.pgc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.qgc=new Map([[12,function(a){return _.Q(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.FI(a)}],[13,function(a){return _.Q(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}]]);
_.rgc=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)}],[43,function(a){return _.S(a,18,!1)}],[42,function(a){return _.S(a,17,!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)}]]);_.sgc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.tgc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252],[[253],253],[[254],254]]);_.ugc=new Map([[[2],3],[[1],2],[[0],1]]);_.vgc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.wgc=new Map([[[_.Gec],1],[[_.Hec],2],[[_.Iec],3],[[_.Jec],4],[[_.Kec],5],[[_.Lec],6],[[_.Mec],7],[[_.Nec],8],[[_.Oec],10],[[_.Pec],11],[[_.Qec],12],[[_.Rec],13]]);_.xgc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ni");
_.JI=function(a){_.J.call(this,a,-1,ygc)};_.K(_.JI,_.J);_.JI.prototype.Cc=function(){return _.y(this,2)};_.KI=function(a,b){return _.w(a,2,b)};_.g=_.JI.prototype;_.g.uk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.B(this,_.el,4)};_.g.setItem=function(a){return _.I(this,4,a)};_.g.yc=function(){return _.y(this,7)};_.g.L9=function(){return _.y(this,13)};_.g.xHa=function(a){_.w(this,13,a)};var ygc=[8,17];

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ng");
_.mG=function(a){_.J.call(this,a,-1,yWb)};_.K(_.mG,_.J);_.mG.prototype.getId=function(){return _.y(this,1)};_.mG.prototype.Pb=function(a){return _.w(this,1,a)};_.mG.prototype.ts=function(){return _.y(this,2)};_.mG.prototype.dK=function(){return _.P(this,2)};var yWb=[5,6,9,10,12,13,15,16];
var zWb;_.nG=function(a){_.J.call(this,a,-1,zWb)};_.K(_.nG,_.J);_.nG.prototype.Lm=function(){return _.y(this,1)};_.AWb=function(a,b){return _.w(a,1,b)};zWb=[2,4];

_.u();

}catch(e){_._DumpException(e)}
try{
var Cgc;_.NI=function(a){if(a instanceof _.oc)return a;if(_.EI(a)){if(a=_.Gvb(a))return a}else a="string"===typeof a?_.JEa(a):_.JEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.LI(a,2);_.MI(a,6);return a};_.zgc=function(a){var b=a.rk();a=a.ZF();return 15===b||32===b||33===b||401===a};_.Agc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.Bgc=function(a){_.J.call(this,a)};_.K(_.Bgc,_.J);
_.OI=function(a){return _.Vj(a,1,0)};_.PI=function(a){return _.B(a,_.Bgc,4)};_.LI=function(a,b){return _.w(a,1,b)};_.MI=function(a,b){return _.w(a,2,b)};Cgc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.QI=function(a){_.J.call(this,a,-1,Cgc)};_.K(_.QI,_.J);_.g=_.QI.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Te=function(){return _.y(this,3)};
_.g.Wl=function(a){return _.w(this,3,a)};_.g.Hv=function(a){return _.w(this,4,a)};_.g.Xh=function(){return _.Q(this,5)};_.g.Kn=function(a){return _.w(this,5,a)};_.g.getMimeType=function(){return _.y(this,6)};_.g.zE=function(a,b){_.Oj(this,8,a,b)};_.g.Yi=function(){return _.y(this,12)};_.g.ve=function(){return _.B(this,_.wf,17)};_.g.hj=function(){return _.y(this,20)};_.g.yc=function(){return _.y(this,21)};_.RI=function(a,b){return _.w(a,16,b)};_.t("sy1nh");
_.SI=function(a){_.J.call(this,a,-1,Dgc)};_.K(_.SI,_.J);_.SI.prototype.SQ=function(){return _.Vj(this,2,100)};_.SI.prototype.KO=function(a){return _.w(this,2,a)};_.SI.prototype.ve=function(){return _.B(this,_.wf,6)};_.SI.prototype.yc=function(){return _.y(this,8)};var Dgc=[5];
var Egc;Egc={};_.Fgc=(Egc[0]="/drive/v2internal",Egc[1]="/drive/v2internal.corp",Egc[2]="/drive/v2internal.scary",Egc[4]="/drive/v2internal.scary",Egc[5]="/drive/v2beta",Egc[6]="/drive/v2.1beta",Egc);
_.Ggc=new Set([0,1,2,3]);
_.Hgc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.Igc=_.w(new _.QI,15,!0);_.Jgc=_.RI(new _.QI,!0);_.Kgc=_.RI(new _.QI,!1);
_.Lgc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (full, partial)."],["InitialChanges","Status of initial catchup changelog requests."],["SdkBackfillEnabled","Whether backfill via Drive SDK is enabled."],["UploadFailureCount","Number of failed uploads."],["UploadSuccessCount","Number of successful uploads."],["UploadTotalCount","Number of initiated uploads."],["InitialViewDataLoaded",
"Whether initial view data was loaded before the initial query."]]);

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.Ngc=function(a){a=_.fb(a);return 0===a.length?_.Rha:new _.rg(a,_.Pha)};_.t("sy1o0");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ogc=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(_.Ogc,_.kec);_.Ogc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.Ogc.prototype.update=function(a,b){this.H.update(a,b)};
_.Ogc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.Pgc=function(a,b){a.reset();a.update(b);return a.digest()};
_.Qgc=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(_.Qgc,_.kec);_.Qgc.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 Rgc=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};
_.Qgc.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;)Rgc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){Rgc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){Rgc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.Qgc.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;Rgc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.TI=function(a,b){return _.w(a,82,b)};_.UI=function(a){return _.w(a,3,!0)};_.Sgc=function(a,b){return _.w(a,7,b)};_.t("sy1ne");
_.Tgc=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VI={h_:"Versions",M6:"Metadata",A5:"Data",hU:"Offline"};_.Ugc=new Map([[_.VI.h_,"versionKey"],[_.VI.M6,"k"]]);_.Vgc=new Set([1004]);

_.u();

}catch(e){_._DumpException(e)}
try{
var Zgc;_.Wgc=function(a){var b={};_.La(a,function(c,d){b[d.toLowerCase()]=c});return b};_.Xgc=function(a){return(a=a&&_.Wgc(a))&&a["x-guploader-uploadid"]};_.Ygc=function(a){return(a=a&&_.Wgc(a))&&a["x-google-trace"]};Zgc=[6];_.WI=function(a){_.J.call(this,a,-1,Zgc)};_.K(_.WI,_.J);_.XI=function(a,b){return _.w(a,14,b)};_.t("sy1o2");
var $gc,bhc;
_.ahc=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=$gc(e)||new _.oc;_.w(e,8,!0);k&&(k=_.qj(new _.ij(k),void 0).toString(),_.w(e,19,k));e.ZF()||_.w(e,15,a||f);e.getMessage()||_.gq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.hq(e,d);e.rk()||(5===f?_.XI(e,7):0!==a||d?403===a?_.XI(e,22):503===a||429===a?_.XI(e,24):(_.qb(e,14),_.w(e,10,1),_.w(e,8,!0)):l||_.XI(e,2));e.zca(_.Xgc(c));e.qca(_.Ygc(c));
return e};$gc=function(a){if(!_.Ba(a))return null;var b=new _.oc,c=a.error;if(!c)return _.hq(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.gq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=bhc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.hq(b,a);return b};
bhc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,expiredMoveValidationToken:66,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,
teamDriveFileLimitExceeded:40,teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69};

_.u();

}catch(e){_._DumpException(e)}
try{
_.chc=function(a,b){return _.w(a,1,b)};_.dhc=function(a,b){return _.I(a,1,b)};_.ehc=function(a,b){return _.w(a,2,b)};_.fhc=function(a,b){return _.I(a,3,b)};_.t("sy1o3");

_.u();

}catch(e){_._DumpException(e)}
try{
_.ghc=function(a){for(var b in a)delete a[b]};_.YI=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ola)(a)};_.ZI=function(a){return _.S(a,5,!1)};_.hhc=function(a,b){var c=_.B(a.H,_.Aya,9);null==c&&(c=new _.Aya);var d=_.y(b.H,10);d=_.w(c,5,d);b=_.y(b.H,12);_.w(d,2,b);_.I(a.H,9,c)};_.ihc=function(a,b){a=_.Oi(a);b=_.Oi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.jhc=function(a){var b=_.wla(a);if("undefined"==typeof b)throw Error("X");var c=new _.sj(null,void 0);a=_.vla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.uma(c,e,f):c.add(e,f)}return c};_.t("sy1o4");

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.khc=function(a,b,c){c&&(a=_.Ng(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Mg(a));return a};_.lhc=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("sy1od");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
var nhc,ohc,shc,whc,xhc,yhc,Qhc,WJ,Rhc,Shc,Zhc,uhc,Gic,thc,Zic,$ic,gjc,ijc,kjc,mjc,njc,ojc,qjc,Gjc,Hjc,Kjc,Ljc,Mjc,Ojc,Pjc,Rjc,Ujc,Xjc,uK,wK,Zjc,akc,dkc,ekc,fkc,gkc,hkc,ikc,lkc,nkc,okc,qkc,rkc,Gkc,Fkc,Jkc,Lkc,Mkc,Nkc,Skc,Vkc,Xkc,Ykc,dlc,clc,blc,$kc,alc,Jhc,Khc,$hc,llc,mlc,hlc,nlc,ilc,Thc,olc,Uhc,Vhc,Whc,Xhc,Yhc,plc,rlc;_.$I=function(a,b,c){var d=new _.oc,e=_.rka(_.$I);_.w(d,20,e);_.MI(d,a);_.LI(d,b?b:2);c&&_.XI(d,c);return d};
_.aJ=function(a){var b;a instanceof _.oc?b=new _.qc(null,a):_.EI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("rb`"+a);b.stack||(b.stack=_.rka(_.aJ));return b};_.bJ=function(a){throw _.DB(a);};nhc=function(a){return 7===a.rk()||24===a.Ep()&&(a=a.ZF(),503===a||429===a)?!0:!1};ohc=function(a,b){return b?b+"("+a+")":a};
_.cJ=function(a,b,c){var d={},e=[];b&&e.push("kind");a.cAb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.phc.includes(p)){var q=_.neb.get(p);if(q){var r=_.qeb[p];a.ME&&r&&(q=r);a.xq&&(a.ME?(p=_.peb[p])&&(q=p):(p=_.oeb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.Bia(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={t5:f.t5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.t5=[];l.forEach(function(p){return function(q){p.t5.push(q)}}(f));"owners"==k&&b&&f.t5.push("kind");e.push(ohc(f.t5.join(","),k))}return ohc(e.join(","),c)};_.qhc=function(a){var b=new _.Wo;b.append(_.cJ(a,!0));return b.toString()};_.rhc=function(a,b){return a.filter(function(c){return b.includes(c)})};shc=function(a){a=a.filter(function(b){return!_.neb.has(b)});if(a.length)throw Error("Tc`"+a.join(", "));};
_.vhc=function(a){if(a){var b=a.getMimeType();b&&_.tG(a,b.toLowerCase());thc(a,_.Qj(a,uhc,58).map(function(c){var d=c.getMimeType();d&&_.w(c,1,d.toLowerCase());return c}))}};whc=function(a){if(_.Ta(a))return"\r\n";var b="";_.La(a,function(c,d){b+=d+": "+c+"\r\n"});return b};xhc=function(a,b){b&&(_.tj(a,"openDrive",!!_.S(b,2,!1)),_.tj(a,"reason",_.y(b,1)||0),_.tj(a,"syncType",_.y(b,3)||0),_.tj(a,"errorRecovery",!!_.S(b,4,!1)))};
yhc=function(a){a=_.gq(_.XI(_.LI(new _.oc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.DB(a);};
Qhc=function(a){if(a instanceof _.dJ)return"request access";if(a instanceof _.eJ)return"admin migrate to TD";if(a instanceof _.fJ)return"authorize app";if(a instanceof _.gJ)return"copy item";if(a instanceof _.hJ)return"change category links";if(a instanceof _.iJ)return"create item";if(a instanceof _.jJ)return"create ws";if("undefined"!=typeof _.kJ&&a instanceof _.kJ)return"delete app";if("undefined"!=typeof _.lJ&&a instanceof _.lJ)return"delete backup";if(a instanceof _.mJ)return"delete item";if("undefined"!=
typeof _.nJ&&a instanceof _.nJ)return"delete permission";if(a instanceof _.oJ)return"delete revision";if(a instanceof _.pJ)return"delete TD";if(a instanceof _.KD)return"delete pref";if(a instanceof _.qJ)return"delete ws";if(a instanceof _.rJ)return"download item";if(a instanceof _.sJ||a instanceof _.tJ)return"empty trash";if(a instanceof _.uJ)return"find by ID";if(a instanceof _.yA)return"find by IDs";if(a instanceof _.zhc)return"item export start";if("undefined"!=typeof _.vJ&&a instanceof _.vJ)return"get app";
if("undefined"!=typeof _.wJ&&a instanceof _.wJ)return"insert app";if("undefined"!=typeof _.xJ&&a instanceof _.xJ)return"insert permission";if(a instanceof _.GI)return a=a.qd(),_.yJ(a)?"quick access item query":_.zJ(a)?"people predict item query":_.AJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.BJ&&a instanceof _.BJ)return"list android backup items request";if(a instanceof _.CJ){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 _.Ahc&&a instanceof _.Ahc?"list backups":a instanceof _.SI?"list changes":a instanceof _.DJ?"list permissions":"undefined"!=typeof _.EJ&&a instanceof _.EJ?"list revisions":a instanceof _.FJ?"migrate to shared drive":a instanceof _.GJ?"partial download item":a instanceof _.HJ?"people api":a instanceof _.oG?"get published category":"undefined"!=typeof _.IJ&&a instanceof _.IJ?"get remaining changes":
a instanceof _.JJ?"remove item":"undefined"!=typeof _.KJ&&a instanceof _.KJ?"reparent item":a instanceof _.LJ?"restore item":a instanceof _.pG?"list suggested workspace items":a instanceof _.dA?"list suggested workspaces":"undefined"!=typeof _.MJ&&a instanceof _.MJ?"update app":a instanceof _.NJ?"update category metadata":a instanceof _.QI?"update item":a instanceof _.OJ?"update revision":a instanceof _.PJ?"update TD":a instanceof _.LD?"update pref":a instanceof _.QJ?"update ws":a instanceof _.BI?
"get account":a instanceof _.sG?"get workspace":a instanceof _.Bhc?"list activity":a instanceof _.Chc?"list category metadata":a instanceof _.Dhc?"create TD":"undefined"!=typeof _.Ehc&&a instanceof _.Ehc?"item export cancel":"undefined"!=typeof _.Fhc&&a instanceof _.Fhc?"item export status":"undefined"!=typeof _.Ghc&&a instanceof _.Ghc?"generate cse token":"undefined"!=typeof _.Hhc&&a instanceof _.Hhc?"get largest change ID":a instanceof _.JD?"list prefs":a instanceof _.UJ?"multipart upload":a instanceof
_.Ihc?"list published categories":a instanceof Jhc?"init resumable upload":a instanceof Khc?"resumable upload chunk":a instanceof _.Lhc?"resumable upload":a instanceof _.qG?"get TD":"undefined"!=typeof _.Mhc&&a instanceof _.Mhc?"move TD preflight":a instanceof _.VJ?"list TDs":"undefined"!=typeof _.Nhc&&a instanceof _.Nhc?"get TD stats":a instanceof _.Ohc?"test connection":"undefined"!=typeof _.Phc&&a instanceof _.Phc?"list workspaces":"unknown"};
WJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};Rhc=function(a){if(a instanceof _.iJ||a instanceof _.UJ||a instanceof _.Lhc||a instanceof Jhc||a instanceof Khc)return(new _.XJ).Dc(8);throw Error("ef");};Shc=function(a){if(a instanceof _.QI){var b=_.Lj(_.qb(a.clone(),1),17);b=_.Uj(b,_.Igc)}else b=!1;b||(a instanceof _.QI?(a=_.Lj(_.qb(a.clone(),1),17),b=_.Uj(a,_.Jgc)||_.Uj(a,_.Kgc)):b=!1);return b?!1:!0};
_.YJ=function(a){return Thc.includes(a.constructor)?Shc(a):!1};Zhc=function(a,b){if(Uhc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&Vhc.includes(a.constructor))return!0;var c=_.PI(b);if(c&&!_.S(c,7,!1)&&Whc.includes(a.constructor)&&!_.ZJ(a)||_.S(b,56,!1)&&_.ZJ(a)||_.S(b,57,!1)&&Xhc.includes(a.constructor)||!(!_.S(b,53,!1)||Vhc.includes(a.constructor)||Whc.includes(a.constructor)||_.ZJ(a)||Xhc.includes(a.constructor)||Yhc.includes(a.constructor)))return!0}return!1};
_.bK=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat($hc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.y(d,2)&&yhc(h):(a.set(h,_.y(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.oA(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.aic=function(a){var b=new _.Kk;return _.w(b,1,a)};_.bic=function(a,b){return _.w(a,7,b)};_.cic=function(a,b){return _.w(a,8,b)};
_.dic=function(a,b){return _.w(a,11,b)};_.eic=function(a,b){return _.w(a,1,b)};_.fic=function(a,b){return _.w(a,4,b)};_.gic=function(a,b){return _.w(a,5,b)};_.hic=function(a,b){return _.w(a,6,b)};_.iic=function(a,b){return _.w(a,7,b)};_.jic=function(a,b){return _.w(a,8,b)};_.kic=function(a,b){return _.w(a,9,b)};_.lic=function(a,b){return _.w(a,10,b)};_.mic=function(a,b){return _.w(a,11,b)};_.nic=function(a,b){return _.w(a,12,b)};_.oic=function(a,b){return _.w(a,16,b)};
_.pic=function(a,b){return _.w(a,17,b)};_.qic=function(a,b){return _.w(a,20,b)};_.ric=function(a,b){return _.w(a,21,b)};_.sic=function(a,b){return _.w(a,31,b)};_.tic=function(a,b){return _.w(a,32,b)};_.uic=function(a,b){return _.w(a,33,b)};_.vic=function(a,b){return _.w(a,42,b)};_.wic=function(a,b){return _.w(a,43,b)};_.xic=function(a,b){return _.w(a,46,b)};_.yic=function(a,b){return _.w(a,47,b)};_.zic=function(a,b){return _.w(a,48,b)};_.cK=function(a){_.J.call(this,a)};_.K(_.cK,_.J);
_.Aic=function(a){_.J.call(this,a)};_.K(_.Aic,_.J);_.Bic=function(a,b){return _.w(a,1,b)};_.Cic=function(a,b){return _.w(a,2,b)};uhc=function(a){_.J.call(this,a)};_.K(uhc,_.J);uhc.prototype.getMimeType=function(){return _.y(this,1)};uhc.prototype.getUrl=function(){return _.y(this,2)};_.dK=function(a){_.J.call(this,a)};_.K(_.dK,_.J);_.dK.prototype.Fe=function(){return _.y(this,2)};_.dK.prototype.zh=function(a){return _.w(this,2,a)};_.dK.prototype.yh=function(a){return _.w(this,3,a)};
_.Dic=function(a,b){return _.w(a,1,b)};_.Eic=function(a,b){return _.Mj(a,2,b)};_.Fic=function(a,b){return _.Mj(a,3,b)};Gic=[2];_.eK=function(a){_.J.call(this,a,-1,Gic)};_.K(_.eK,_.J);_.eK.prototype.Te=function(){return _.y(this,1)};_.eK.prototype.Wl=function(a){return _.w(this,1,a)};_.eK.prototype.Bua=function(a,b){return _.Oj(this,2,a,b)};_.fK=function(a){_.J.call(this,a)};_.K(_.fK,_.J);_.fK.prototype.Fe=function(){return _.y(this,1)};_.fK.prototype.zh=function(a){return _.w(this,1,a)};
_.fK.prototype.yh=function(a){return _.w(this,2,a)};_.gK=function(a,b){return _.Kj(a,2,b)};_.Hic=function(a,b){_.w(a,8,b)};_.Iic=function(a,b){return _.Mj(a,15,b)};_.Jic=function(a,b){return _.I(a,17,b)};_.Kic=function(a,b){return _.w(a,19,b)};_.Lic=function(a,b){_.w(a,26,b)};_.Mic=function(a,b){_.w(a,31,b)};_.Nic=function(a,b){_.w(a,34,b)};_.Oic=function(a,b){return _.w(a,44,b)};_.Pic=function(a,b){_.I(a,47,b)};_.Qic=function(a,b){return _.w(a,52,b)};thc=function(a,b){_.Mj(a,58,b)};
_.Ric=function(a,b){return _.w(a,72,b)};_.hK=function(a,b){return _.I(a,84,b)};_.Sic=function(a,b){_.I(a,85,b)};_.Tic=function(a,b){_.I(a,91,b)};_.Uic=function(a,b){return _.w(a,92,b)};_.Vic=function(a,b){return _.w(a,93,b)};_.Wic=function(a,b){_.I(a,95,b)};_.Xic=function(a,b){return _.w(a,136,b)};_.Yic=function(a){_.J.call(this,a)};_.K(_.Yic,_.J);_.iK=function(a){return _.S(a,2,!1)};Zic=[3];$ic=function(a){_.J.call(this,a,-1,Zic)};_.K($ic,_.J);
$ic.prototype.Fi=function(){var a=_.y(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}_.jb(this)&&_.kb(a);return a};var ajc=[3],bjc=function(a){_.J.call(this,a,-1,ajc)};_.K(bjc,_.J);bjc.prototype.Fi=function(){return _.Td(this,3)};var cjc=[3],djc=function(a){_.J.call(this,a,-1,cjc)};_.K(djc,_.J);djc.prototype.Fi=function(){return _.Td(this,3)};_.jK=function(a){_.J.call(this,a)};_.K(_.jK,_.J);_.jK.prototype.Za=function(){return _.y(this,1)};
_.jK.prototype.Jb=function(a){return _.w(this,1,a)};_.jK.prototype.Ti=function(){return _.qb(this,1)};_.jK.prototype.jh=function(){return _.P(this,1)};_.kK=function(a){return _.Dj(a,45,1)};_.yJ=function(a){return _.S(a,47,!1)};_.zJ=function(a){return _.S(a,49,!1)};_.AJ=function(a){return _.S(a,52,!1)};_.lK=function(a){return _.C(a,2,"")};_.ejc=function(a,b){return _.Kj(a,27,b)};_.mK=function(a){return _.Dj(a,39,0)};_.nK=function(a){return _.S(a,40,!1)};
_.fjc=function(a){return _.Kt.prototype.UO.call(a,!0)+"T"+_.Rg(a.getHours(),2)+":"+_.Rg(a.getMinutes(),2)+":"+_.Rg(a.getSeconds(),2)+a.c$()};gjc=function(a,b){return _.Wec(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.hjc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.zI(c,"deleting object store "+b);}};ijc=function(){var a=new _.Wfc;a.O=12E4;a.ma=!0;return a};_.jjc=function(a){_.J.call(this,a)};_.K(_.jjc,_.J);kjc=[3,4,10,18,19,28];
_.iJ=function(a){_.J.call(this,a,-1,kjc)};_.K(_.iJ,_.J);_.g=_.iJ.prototype;_.g.getMimeType=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.zE=function(a,b){_.Oj(this,3,a,b)};_.g.ve=function(){return _.B(this,_.wf,7)};_.g.fj=function(){return _.y(this,9)};_.g.yc=function(){return _.y(this,14)};_.g.Oz=function(){return _.B(this,_.jjc,15)};_.g.D1=function(){return _.y(this,21)};_.g.Cc=function(){return _.y(this,23)};
_.g.nl=function(){return _.y(this,33)};_.oK=function(a,b){return _.w(a,1,b)};_.pK=function(a,b){return _.Kj(a,3,b)};_.ljc=function(a,b){return _.w(a,12,b)};_.mJ=function(a){_.J.call(this,a)};_.K(_.mJ,_.J);_.mJ.prototype.getId=function(){return _.y(this,1)};_.mJ.prototype.Pb=function(a){return _.w(this,1,a)};_.mJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.pJ=function(a){_.J.call(this,a)};_.K(_.pJ,_.J);_.pJ.prototype.getId=function(){return _.y(this,1)};
_.pJ.prototype.Pb=function(a){return _.w(this,1,a)};_.pJ.prototype.ve=function(){return _.B(this,_.wf,2)};mjc=[7,8];_.PJ=function(a){_.J.call(this,a,-1,mjc)};_.K(_.PJ,_.J);_.g=_.PJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,4)};_.VJ=function(a){_.J.call(this,a)};_.K(_.VJ,_.J);
_.VJ.prototype.getOptions=function(){return _.B(this,_.agc,1)};_.VJ.prototype.Xn=function(){return _.y(this,2)};_.VJ.prototype.qd=function(){return _.B(this,_.uI,3)};njc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};ojc=null;_.pjc=function(a){if(_.Dma)return _.n.atob(a);var b="";_.Fma(a,function(c){b+=String.fromCharCode(c)});return b};qjc=function(){this.O=0;this.H=[]};_.g=qjc.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=rjc(this,a);return this.H[a]};_.g.set=function(a,b){a=rjc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};_.g.vc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.ih=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.Lf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.jf=function(a){return a<this.$b()};
_.g.zq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var rjc=function(a,b){if(b>=a.H.length)throw Error("ha");return 40>a.H.length?b:(a.O+Number(b))%40},sjc=function(a){_.J.call(this,a)};_.K(sjc,_.J);_.tjc=function(a){_.J.call(this,a)};_.K(_.tjc,_.J);_.tjc.prototype.Ze=function(){return _.y(this,1)};_.tjc.prototype.Li=function(a){return _.w(this,1,a)};_.tjc.prototype.Bb=function(){return _.y(this,4)};_.tjc.prototype.Dc=function(a){return _.w(this,4,a)};
var ujc=function(a){_.J.call(this,a)};_.K(ujc,_.J);ujc.prototype.Wn=function(){return _.y(this,5)};var vjc=function(a,b){_.w(a,6,b)},wjc=function(a){_.J.call(this,a)};_.K(wjc,_.J);_.g=wjc.prototype;_.g.Agb=function(a){_.w(this,1,a)};_.g.YNb=function(a){_.w(this,2,a)};_.g.wy=function(){return _.Q(this,3)};_.g.Bgb=function(a){_.w(this,3,a)};_.g.ENb=function(a){_.w(this,4,a)};var xjc=function(a){_.J.call(this,a)};_.K(xjc,_.J);xjc.prototype.wy=function(){return _.Q(this,2)};
var yjc=function(a,b){return _.w(a,2,b)},zjc=function(a,b){_.w(a,3,b)};xjc.prototype.yB=function(){return _.y(this,6)};var Ajc=function(a,b){return _.w(a,8,b)},Bjc=function(a){_.J.call(this,a)};_.K(Bjc,_.J);var Cjc=function(a){_.J.call(this,a)};_.K(Cjc,_.J);var Djc=function(a,b){_.w(a,4,b)},Ejc=function(a){_.J.call(this,a)};_.K(Ejc,_.J);Ejc.prototype.qd=function(){return _.B(this,_.tjc,1)};Ejc.prototype.getState=function(){return _.B(this,ujc,2)};Ejc.prototype.Kd=function(a){return _.I(this,2,a)};
Ejc.prototype.nt=function(){return _.P(this,2)};var Fjc=function(a){_.J.call(this,a)};_.K(Fjc,_.J);Fjc.prototype.getEnvironment=function(){return _.y(this,2)};Fjc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.phc=[42,1005,20,50,18,1003,1002];Gjc=[73,71];_.qK=function(a){_.J.call(this,a)};_.K(_.qK,_.J);_.qK.prototype.getId=function(){return _.y(this,1)};_.qK.prototype.Pb=function(a){return _.w(this,1,a)};_.qK.prototype.getMimeType=function(){return _.y(this,2)};
_.qK.prototype.UF=function(){return _.y(this,8)};Hjc=[22];_.XJ=function(a){_.J.call(this,a,-1,Hjc)};_.K(_.XJ,_.J);_.g=_.XJ.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.B(this,_.el,2)};_.g.setItem=function(a){return _.I(this,2,a)};_.g.Xj=function(){return _.y(this,3)};_.g.Cc=function(){return _.y(this,5)};_.Ijc=function(a,b){return _.w(a,5,b)};_.g=_.XJ.prototype;_.g.UJ=function(){return _.y(this,7)};
_.g.zca=function(a){return _.w(this,7,a)};_.g.Zea=function(a){_.w(this,9,a)};_.g.JLa=function(a){_.w(this,10,a)};_.g.UM=function(){return _.y(this,16)};_.g.qca=function(a){return _.w(this,16,a)};var Jjc=function(a){_.ri.call(this,a);this.connectionState=_.Ivb.get(a)};_.K(Jjc,_.ri);Kjc=function(a){var b=new _.ai;a.listen("loadend",_.Db(function(c,d){var e=d.Yj(),f=d.getError();null==e||f?c.Id(f):c.callback(e);d.dispose()},b,a));return b};_.dJ=function(a){_.J.call(this,a)};_.K(_.dJ,_.J);
_.dJ.prototype.Cc=function(){return _.y(this,1)};_.eJ=function(a){_.J.call(this,a)};_.K(_.eJ,_.J);_.eJ.prototype.getId=function(){return _.y(this,1)};_.eJ.prototype.Pb=function(a){return _.w(this,1,a)};_.eJ.prototype.wk=function(){return _.y(this,2)};_.eJ.prototype.O=function(a){_.w(this,4,a)};_.fJ=function(a){_.J.call(this,a)};_.K(_.fJ,_.J);_.fJ.prototype.Bh=function(){return _.y(this,1)};_.fJ.prototype.Cc=function(){return _.y(this,2)};_.fJ.prototype.ve=function(){return _.B(this,_.wf,4)};
Ljc=[3,7];_.gJ=function(a){_.J.call(this,a,-1,Ljc)};_.K(_.gJ,_.J);_.g=_.gJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.zE=function(a,b){_.Oj(this,3,a,b)};_.g.ve=function(){return _.B(this,_.wf,5)};_.jJ=function(a){_.J.call(this,a)};_.K(_.jJ,_.J);_.jJ.prototype.getTitle=function(){return _.y(this,1)};_.jJ.prototype.setTitle=function(a){return _.w(this,1,a)};
_.jJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.oJ=function(a){_.J.call(this,a)};_.K(_.oJ,_.J);_.oJ.prototype.Cc=function(){return _.y(this,1)};_.oJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.qJ=function(a){_.J.call(this,a)};_.K(_.qJ,_.J);_.qJ.prototype.getId=function(){return _.y(this,1)};_.qJ.prototype.Pb=function(a){return _.w(this,1,a)};_.qJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.sJ=function(a){_.J.call(this,a)};_.K(_.sJ,_.J);
_.sJ.prototype.ve=function(){return _.B(this,_.wf,1)};_.JJ=function(a){_.J.call(this,a)};_.K(_.JJ,_.J);_.g=_.JJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Dg=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.LJ=function(a){_.J.call(this,a)};_.K(_.LJ,_.J);_.g=_.LJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};
_.g.getParent=function(){return _.y(this,2)};_.g.Dg=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.OJ=function(a){_.J.call(this,a)};_.K(_.OJ,_.J);_.OJ.prototype.Cc=function(){return _.y(this,1)};_.OJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.QJ=function(a){_.J.call(this,a)};_.K(_.QJ,_.J);_.g=_.QJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,3)};_.g.Kd=function(a){return _.w(this,3,a)};_.g.nt=function(){return _.P(this,3)};_.g.ve=function(){return _.B(this,_.wf,5)};Mjc=[2,3];_.hJ=function(a){_.J.call(this,a,-1,Mjc)};_.K(_.hJ,_.J);_.hJ.prototype.yc=function(){return _.y(this,1)};_.hJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.Njc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};Ojc=[3,4];_.CJ=function(a){_.J.call(this,a,-1,Ojc)};
_.K(_.CJ,_.J);_.CJ.prototype.getType=function(){return _.y(this,1)};_.CJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.FJ=function(a){_.J.call(this,a)};_.K(_.FJ,_.J);_.FJ.prototype.O=function(a){_.w(this,4,a)};Pjc=[1];_.HJ=function(a){_.J.call(this,a,-1,Pjc)};_.K(_.HJ,_.J);_.HJ.prototype.jn=function(){return _.Td(this,1)};_.Qjc=function(a){_.J.call(this,a)};_.K(_.Qjc,_.J);_.g=_.Qjc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.lt=function(){return _.P(this,1)};
_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};_.g.Te=function(){return _.y(this,3)};_.g.Wl=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.y(this,4)};Rjc=[1];_.Sjc=function(a){_.J.call(this,a,-1,Rjc)};_.K(_.Sjc,_.J);_.Tjc=function(){var a=void 0===a?1E3:a;this.O=new _.ol;this.H=new _.ol;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};
_.Vjc=function(a){var b=a.O.ih();a.V&&b.push(Ujc("...","...","...","..."));_.ya(b,a.H.ih());return b};_.Wjc=function(a){var b=[];a=_.Vjc(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")};_.Tjc.prototype.info=function(a,b){_.rK(this,a,b,"info")};_.Tjc.prototype.config=function(a,b){_.rK(this,a,b,"config")};
_.Tjc.prototype.log=function(a,b,c){if(!ojc){ojc={};for(var d=0,e;e=_.wka[d];d++)ojc[e.value]=e,ojc[e.name]=e}_.rK(this,a,b,c)};_.rK=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=Ujc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};Ujc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};Xjc=function(a){_.ri.call(this,"Fb");this.H=a};_.K(Xjc,_.ri);Xjc.prototype.Ue=function(){return this.H};
_.sK=function(a){a.supportsTeamDrives=!0};_.Yjc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Td(a,27)));this.initialize(a)};_.Yjc.prototype.initialize=function(a){var b=_.rhc(this.H,_.Td(a,28));if(0<b.length)throw Error("Te`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.ZI(_.AI(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Da(this.H);this.H.sort();shc(this.H)};
_.tK=function(a){return[].concat(_.nd(a.H))};uK=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.vK=function(a,b,c){0!==b.length&&(a.II.length&&a.append(" "+(c||"and")+" "),a.append(b))};wK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(uK(c));e.push("in");e.push(b);_.vK(a,e.join(" "))}};_.xK=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());_.vK(a,e.join(" "),d)}};
Zjc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.vK(a,d.join(""))}};_.$jc=function(a){var b=new _.ggc;b.setTime(a);return b};akc=function(a,b){b=_.Td(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(uK(b));_.vK(a,c.join(" "))}};_.bkc=function(a){a=_.Qj(a,_.jK,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Za());return b.join(",")};
_.ckc=function(a){a=a.AB();return null==a||0==a.length?"":a.map(function(b){b=_.y(b,1);if(0==b)throw Error("Ue");return _.iec[b]}).join(",")};dkc=function(a,b){if(a.length){var c=new _.Wo;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(uK(d.Za()));_.vK(c,e.join(" "),"or")}return c.toString()}return""};
ekc=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 uK(e.Za())});d.push(a.join(", "));return d.join(" ")}return""};fkc=function(a){if(_.Q(a,2))return"any";switch(a.Za()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};gkc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
hkc=function(a,b,c){if(null!=_.y(c,2)){var d=gkc(_.y(c,1));c=uK(_.fjc(_.$jc(_.y(c,2)||0)));_.vK(a,[b,d,c].join(" "))}};ikc=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""};
_.jkc=function(a){for(var b=new _.Wo,c=_.Qj(a,_.Bl,4),d=0;d<c.length;d++){var e=c[d],f=e.Za();if(f){var h=_.y(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(uK(f));_.vK(b,l.join(" "))}}for(var p=_.Qj(a,_.Al,5),q=0;q<p.length;q++){var r=p[q],v=r.Za();if(v){var z=[];_.S(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(uK(v));_.vK(b,z.join(" "))}}var A=_.Fl(a);if(A&&0!=A.length){for(var D=[],F=[],H=[],L=[],O=[],R=[],X=0;X<A.length;X++){var la=
A[X];la.Za()&&(1===_.Dj(la,3,0)?_.Q(la,4)?F.push(la):D.push(la):_.Q(la,4)?_.S(la,2,!1)?R.push(la):O.push(la):_.S(la,2,!1)?L.push(la):H.push(la))}var ha=dkc(D,!1),ta=dkc(F,!0),ea=ekc(H,!1,!1),Ua=ekc(L,!0,!1),Ja=ekc(O,!1,!0),nb=ekc(R,!0,!0),$a=new _.Wo;if(ea||Ja||ha||ta)_.vK($a,ea,"or"),_.vK($a,Ja,"or"),_.vK($a,ha,"or"),_.vK($a,ta,"or");$a.II.length&&_.vK(b,"("+$a.toString()+")","and");var yb=new _.Wo;if(Ua||nb)_.vK(yb,Ua,"and"),_.vK(yb,nb,"and");yb.II.length&&_.vK(b,"("+yb.toString()+")","and")}for(var Zb=
_.Qj(a,_.yl,7),Gc=0;Gc<Zb.length;Gc++)hkc(b,"modifiedDate",Zb[Gc]);for(var ke=_.Qj(a,_.yl,8),Rd=0;Rd<ke.length;Rd++)hkc(b,"lastViewedByMeDate",ke[Rd]);_.xK(b,"trashed",a.Xh());_.xK(b,"explicitlyTrashed",_.Q(a,17));_.xK(b,"starred",_.Q(a,10));_.xK(b,"hidden",_.Q(a,11));for(var Gd=_.Gl(a),sf=0;sf<Gd.length;sf++){var pd=Gd[sf];wK(b,"parents",pd.Za(),_.S(pd,2,!1))}for(var Bb=_.Qj(a,_.kf,13),le=0;le<Bb.length;le++){var lg=Bb[le];wK(b,"owners",lg.Za(),_.S(lg,2,!1))}for(var Ee=_.Qj(a,_.kf,14),ei=0;ei<Ee.length;ei++){var $e=
Ee[ei];wK(b,"writers",$e.Za(),_.S($e,2,!1))}for(var Ai=_.Qj(a,_.kf,15),ah=0;ah<Ai.length;ah++){var pm=Ai[ah];wK(b,"readers",pm.Za(),_.S(pm,2,!1))}_.Q(a,16)&&_.vK(b,"sharedWithMe");_.xK(b,"unparented",_.Q(a,34));for(var gf=_.Qj(a,_.vl,35)||[],ve=_.m(gf),Tf=ve.next();!Tf.done;Tf=ve.next())wK(b,"ancestors",Tf.value.Za(),!1);for(var qi=_.Qj(a,_.vl,38)||[],Wj=_.m(qi),qm=Wj.next();!qm.done;qm=Wj.next())wK(b,"descendants",qm.value.Za(),!1);for(var Fo=_.Qj(a,_.zl,37)||[],rm=_.m(Fo),Fh=rm.next();!Fh.done;Fh=
rm.next())wK(b,"folderFeatures",Fh.value.Za(),!1);for(var Pl=_.Td(a,39),Gj=_.m(Pl),Tg=Gj.next();!Tg.done;Tg=Gj.next()){var kj=Tg.value,Hj=[];Hj.push("templateData.description");Hj.push("contains");Hj.push(uK(kj));_.vK(b,Hj.join(" "))}for(var Xj=_.Td(a,40),Ph=0;Ph<Xj.length;Ph++){var Zi=[];0==Ph&&Zi.push("(");Zi.push(uK(Xj[Ph]));Zi.push("in");Zi.push("templateData.categories");Ph==Xj.length-1&&Zi.push(")");_.vK(b,Zi.join(" "),0==Ph?"and":"or")}var Ij=_.y(a,41);if(null!=Ij){var $i=[];$i.push("templateData.galleryState");
$i.push("=");$i.push(uK(_.igc[Ij]||""));_.vK(b,$i.join(" "))}var Yj=_.y(a,42);if(null!=Yj){var Qh=[];Qh.push("visibility");Qh.push("=");Qh.push(uK(ikc(Yj)));_.vK(b,Qh.join(" "))}for(var sm=_.Qj(a,_.ul,44),lj=0;lj<sm.length;++lj){var ok=sm[lj];wK(b,"actionItems",fkc(ok),_.S(ok,3,!1))}if(_.P(a,50)){var Ql=[];Ql.push("pairedDocType");var pk=_.S(a,50,!1)?"!=":"=";Ql.push(pk);Ql.push(uK("NONE"));_.vK(b,Ql.join(" "))}wK(b,"workspaceIds",a.Jp(),!1);for(var nn=_.Qj(a,_.wl,57),Ok=0;Ok<nn.length;Ok++){var qk=
[];0==Ok&&qk.push("(");qk.push(uK(nn[Ok].Za()));qk.push("in");qk.push("approvals");Ok==nn.length-1&&qk.push(")");_.vK(b,qk.join(" "),0==Ok?"and":"or")}if(_.P(a,58)){var tf=a.Fq(),Jj=tf.Za(),Rl=_.S(tf,2,!1);if(Jj){var Pk=[];Rl&&Pk.push("not");Pk.push("creator");Pk.push("=");Pk.push(uK(Jj));_.vK(b,Pk.join(" "))}}var Sl=_.B(a,_.Hoa,59);if(Sl)for(var pc=_.m(_.Qj(Sl,_.Eoa,1)),mj=pc.next();!mj.done;mj=pc.next()){var Gh=mj.value;wK(b,"categoryMetadata",Gh.Lm());for(var rk=_.m(Gh.Hk()),Rh=rk.next();!Rh.done;Rh=
rk.next()){var fi=Rh.value,bg=_.y(fi,1),sk=_.Bj(fi,_.xl[0]);if(10==sk){_.B(fi,_.voa,10);var xp=_.Q(fi,15);(void 0===xp?0:xp)?_.vK(b,bg+" is null"):_.vK(b,"not ("+bg+" is null)")}else{var Hh=new _.Wo,Ih=void 0;switch(sk){case 3:Ih=_.B(fi,$ic,3);for(var on=_.m(Ih.Fi()),nj=on.next();!nj.done;nj=on.next())_.xK(Hh,bg,nj.value,"or");break;case 14:for(var pn=Ih=_.B(fi,_.ooa,14),Tl=new Map([[1,"="],[2,">"],[3,"<"]]),tk=_.m(pn.Fi()),tm=tk.next();!tm.done;tm=tk.next()){var Go=tm.value,Pn=Tl.get(_.y(pn,2));
if(!Pn)throw Error("Ve");var nq=[bg,Pn,uK(Go.getYear()+"-"+Go.getMonth()+"-"+Go.getDay())];_.vK(Hh,nq.join(" "),"or")}break;case 8:for(var $l=Ih=_.B(fi,_.uoa,8),am=new Map([[1,"="],[2,">"],[3,"<"]]),Ck=_.m($l.Fi()),Vo=Ck.next();!Vo.done;Vo=Ck.next()){var Gq=Vo.value,Hq=am.get(_.y($l,2));if(!Hq)throw Error("Ve");_.vK(Hh,[bg,Hq,Gq].join(" "),"or")}break;case 9:for(var Iq=Ih=_.B(fi,bjc,9),Cv=new Map([[1,"in"]]),Cr=_.m(Iq.Fi()),bu=Cr.next();!bu.done;bu=Cr.next()){var bB=bu.value,cB=Cv.get(_.y(Iq,2));
if(!cB)throw Error("Ve");_.vK(Hh,[bB,cB,bg].join(" "),"or")}break;case 6:for(var Cy=Ih=_.B(fi,_.zoa,6),Ns=new Map([[1,"="]]),Jp=_.m(Cy.Fi()),Jq=Jp.next();!Jq.done;Jq=Jp.next()){var dB=Jq.value,BD=Ns.get(_.y(Cy,2));if(!BD)throw Error("Ve");_.vK(Hh,[bg,BD,uK(dB)].join(" "),"or")}break;case 7:for(var bx=Ih=_.B(fi,_.xoa,7),cx=new Map([[1,"in"]]),dx=_.m(bx.Fi()),Dy=dx.next();!Dy.done;Dy=dx.next()){var Ey=Dy.value,Dv=cx.get(_.y(bx,2));if(!Dv)throw Error("Ve");_.vK(Hh,[uK(Ey),Dv,bg].join(" "),"or")}break;
case 4:for(var Os=Ih=_.B(fi,_.Boa,4),Vk=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Dr=_.m(Os.Fi()),Xm=Dr.next();!Xm.done;Xm=Dr.next()){var lO=Xm.value,RJ=Vk.get(_.y(Os,2));if(!RJ)throw Error("Ve");_.vK(Hh,[bg,RJ,uK(lO)].join(" "),"or")}break;case 5:for(var CD=Ih=_.B(fi,djc,5),cj=new Map([[1,"in"]]),DD=_.m(CD.Fi()),cu=DD.next();!cu.done;cu=DD.next()){var Ps=cu.value,SS=cj.get(_.y(CD,2));if(!SS)throw Error("Ve");_.vK(Hh,[uK(Ps),SS,bg].join(" "),"or")}break;case 12:for(var E7=Ih=_.B(fi,_.soa,
12),SJ=new Map([[1,"="]]),Jg=_.m(E7.Fi()),TS=Jg.next();!TS.done;TS=Jg.next()){var ex=TS.value,bm=SJ.get(_.y(E7,2));if(!bm)throw Error("Ve");_.vK(Hh,[bg,bm,uK(ex)].join(" "),"or")}break;case 11:for(var eB=Ih=_.B(fi,_.qoa,11),US=new Map([[1,"in"]]),mO=_.m(eB.Fi()),co=mO.next();!co.done;co=mO.next()){var PZ=co.value,nO=US.get(_.y(eB,2));if(!nO)throw Error("Ve");_.vK(Hh,[uK(PZ),nO,bg].join(" "),"or")}}_.Q(fi,15)?_.vK(b,"not ("+Hh+")"):_.vK(b,1<Ih.Fi().length?"("+Hh+")":""+Hh)}}}null!=_.Q(a,60)&&_.xK(b,
"linkShareMetadata.securityUpdateEligible",_.Q(a,60));var du=_.Q(a,65);if(null!=du){var ED=[];ED.push("clientEncryptionDetails.encryptionState");ED.push("=");ED.push(uK(du?"encrypted":"unencrypted"));_.vK(b,ED.join(" "))}var Fy=_.Qj(a,_.kf,68);if(Fy.length){for(var VS=[],F7=[],QZ=_.m(Fy),Gy=QZ.next();!Gy.done;Gy=QZ.next()){var fx=Gy.value,TJ="sharedFrom = "+uK(fx.Za());_.S(fx,2,!1)?F7.push(TJ):VS.push(TJ)}Zjc(b,VS,!1);Zjc(b,F7,!0)}var G7=_.Qj(a,_.kf,67);if(G7.length){for(var WS=[],oO=[],RZ=_.m(G7),
fB=RZ.next();!fB.done;fB=RZ.next()){var SZ=fB.value,TZ="sharedTo = "+uK(SZ.Za());_.S(SZ,2,!1)?oO.push(TZ):WS.push(TZ)}Zjc(b,WS,!1);Zjc(b,oO,!0)}null!=_.Q(a,69)&&_.xK(b,"linkShareMetadata.securityUpdateEnabled",_.Q(a,69));null!=_.Q(a,72)&&_.xK(b,"canAcceptOwnership",_.Q(a,72));if(_.Q(a,73)){var UZ=(new _.mf).Jb("application/vnd.google-apps.shortcut");_.xK(b,"impactedByMultiparentingMigration",!0);_.vK(b,ekc([UZ],!1,!1))}1==_.kK(a)&&akc(b,a);return b.toString()};
_.kkc=function(a){var b=new _.Wo(_.jkc(a));_.S(a,74,!1)?_.vK(b,"isQuickAccessForSharedFilesRequest"):_.yJ(a)?_.vK(b,"isQuickAccessRequest"):_.zJ(a)?_.vK(b,"isPeoplePredictRequest"):_.AJ(a)&&_.vK(b,"isDrivePriorityRequest");var c=a.wc();if(c){var d=[];d.push("sortBy");d.push(_.cgc[c.getType()]);d.push(_.kgc[c.qf()]);_.Q(c,3)&&d.push("foldersFirst");_.vK(b,d.join(" "))}_.xK(b,"domainSearch",_.Q(a,18));_.xK(b,"offline",_.Q(a,19));_.Qj(a,_.jK,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.bkc(a)),
_.vK(b,c.join(" ")));a.AB().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.ckc(a)),_.vK(b,c.join(" ")));if(c=_.kK(a))d=[],d.push("corpora"),d.push("="),d.push(uK(_.Njc[c])),_.vK(b,d.join(" "));_.S(a,66,!0)||_.xK(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.kK(a)&&akc(b,a);_.S(a,48,!1)&&_.vK(b,"cachedOnly");return b.toString()};
_.ZJ=function(a){if(a instanceof _.GI)a=a.qd();else if(!a)return!1;return a instanceof _.dA||a instanceof _.pG||"undefined"!=typeof _.yK&&a instanceof _.yK||a instanceof _.hf&&(_.yJ(a)||_.zJ(a)||_.AJ(a))};lkc=function(){_.So.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.K(lkc,_.So);_.mkc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};nkc=function(a,b){a.V||(a.V=b)};lkc.prototype.yj=function(){_.mkc(this);(0,this.ha)()};okc=function(a,b){a.ha||(a.ha=b)};
_.zK=function(a){if(!a.O){a.O=new Ejc;var b=_.Uo(a);_.I(b,56,a.O)}return a.O};lkc.prototype.getState=function(){var a=_.zK(this).getState();a||(a=new ujc,_.zK(this).Kd(a));return a};var pkc=function(a,b){var c=new sjc;_.w(c,1,b);a=_.Uo(a);_.I(a,12,c)};lkc.prototype.ma=function(){var a=_.B(_.zK(this),wjc,4);if(!a){a=new wjc;var b=_.zK(this);_.I(b,4,a)}return a};qkc=function(a){var b=_.B(_.zK(a),xjc,8);b||(b=new xjc,a=_.zK(a),_.I(a,8,b));return b};
rkc=function(a){var b=_.B(_.zK(a),Cjc,19);b||(b=new Cjc,a=_.zK(a),_.I(a,19,b));return b};_.skc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.zi.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.K(_.skc,_.zi);_.g=_.skc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Xk=function(){return 1===this.connectionState||2===this.connectionState};_.g.Ue=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?_.EB.iU:_.EB.zga;else 1===a?(b=_.EB.CL,this.O=!0):3===a&&(b=_.EB.hU);if(b)return b=new Jjc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var tkc=function(a,b){this.userId=a;this.H=b;this.db=null},vkc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return ukc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ye"))},function(d){return a.handleError(d)})},"readwrite")};tkc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.aAb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var wkc=function(a){return new _.Vh(function(b){var c=new Map;ukc(a,function(d){return gjc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Gqa:f.Gqa},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Gqa=k;l.then(function(p){return function(q){q&&c.set(p.Gqa,new _.oAa(q.aAb))}}(f))}return _.mI([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},xkc=function(a,b){return ukc(a,
function(c){return c.remove(b)},"readwrite")},ukc=function(a,b,c){c=void 0===c?"readonly":c;return ykc(a).then(function(d){try{var e=_.dfc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.aJ(f):void 0)}},function(d){return a.handleError(d)})},ykc=function(a){return a.db?_.Wh(a.db):_.ffc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.hjc(c,"OfflineImpressions");b=_.cfc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.zI(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ze"))}).then(function(b){return a.db=b},function(b){return _.Xh(_.aJ(b))})};tkc.prototype.handleError=function(a){a||(a=Error("$e"));_.rK(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Wh()};
_.zkc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.zi.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.K(_.zkc,_.zi);_.zkc.prototype.Ue=function(){return this.H};_.zkc.prototype.Ml=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new Xjc(a)))};_.zkc.prototype.Xy=function(a){this.O=a};
var Bkc=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.Ne(this);this.Ib.listen(b,"Fb",function(k){k.Ue()||Akc(h)});this.Ib.listen(c,[_.EB.CL,_.EB.iU],function(){return void Akc(h)});this.W=e;f.then(function(){return Akc(h)})};_.K(Bkc,_.zi);Bkc.prototype.CA=function(a){return(this.H.Ue()||this.connectionState.Ue())&&this.H.O?vkc(this.O,a):this.V.CA(a)};
var Akc=function(a){return a.H.O?wkc(a.O).then(function(b){b.forEach(function(c,d){a.V.CA(c).then(function(){return Ckc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},Ckc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Gb");return xkc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
Bkc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var Dkc=function(){};Dkc.prototype.LQ=function(){return new lkc};var Ekc=function(){this.H=new Fjc};Ekc.prototype.O=function(a){_.I(a,13,this.H)};Ekc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
Gkc=function(a,b,c,d){this.W=b;this.connectionState=c;this.jw=d;this.O=this.H=this.V=null;this.client=_.AK(_.tgc,_.mK(a));this.ha=_.y(a,94);this.ma=_.AK(_.xgc,_.Dj(a.eg(),8,0));this.twa=_.AK(_.ugc,_.Dj(a.eg(),9,2));this.ta=_.S(a,10,!1);this.ru=_.ZI(_.AI(a));this.IBa=_.nK(a);this.ka=Fkc(a);this.buildLabel=a.Wi()};Fkc=function(a){var b=[].concat(_.nd(_.qgc.keys())),c=[].concat(_.nd(_.rgc.keys())),d=_.PI(a);return b.filter(function(e){return _.qgc.get(e)(a)}).concat(c.filter(function(e){return d&&_.rgc.get(e)(d)}))};
_.AK=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};Gkc.prototype.Wn=function(a){return null==a?0:a?2:1};var Hkc=function(a){if(a.O)return a.O.H("aU7Ts")};
Gkc.prototype.Bb=function(a){return a instanceof _.rB||"undefined"!=typeof _.BK&&a instanceof _.BK||"undefined"!=typeof _.CK&&a instanceof _.CK||"undefined"!=typeof _.DK&&a instanceof _.DK?a.Bb():"undefined"!=typeof _.EK&&a instanceof _.EK||"undefined"!=typeof _.FK&&a instanceof _.FK||"undefined"!=typeof _.GK&&a instanceof _.GK||"undefined"!=typeof _.HK&&a instanceof _.HK||"undefined"!=typeof _.IK&&a instanceof _.IK?a.response?a.response.Bb():null:null};Gkc.prototype.Wi=function(){return this.buildLabel};
var Ikc=function(a){return a.W.Ue()||a.connectionState.Ue()?2:1};Gkc.prototype.getEnvironment=function(){return this.jw};Jkc=function(a,b){this.H=a;var c=new _.Nya;_.Oya(c,b.ka);a=this.H.GL();var d=_.Vfc(a);_.I(d,10,c);(c=b.Wi())&&_.Ufc(a,c);this.H.CZ();this.O=b};
_.Kkc=function(a,b,c){var d=_.To(a.H.PF(b,c),_.lgc);pkc(d,Ikc(a.O));b=Hkc(a.O);"boolean"===typeof b&&vjc(d.getState(),b);1===c&&nkc(d,function(){return void a.H.iw(d)});okc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.Ed();e=d.getState();_.w(e,1,f);var h,k;f=null===(k=null===(h=a.O.H)||void 0===h?void 0:h.H)||void 0===k?void 0:k.Ed();h=d.getState();_.w(h,2,f);var l,p;h=null===(p=null===(l=a.O.H)||void 0===l?void 0:l.O)||void 0===p?void 0:p.Ed();l=d.getState();_.w(l,7,h);a.H.Qp(d)});
return d};Lkc=function(a){var b=new _.Iza,c=new Ekc;_.w(c.H,1,a.client);_.w(c.H,8,a.ha);_.w(c.H,3,a.ma);_.w(c.H,4,a.twa);_.w(c.H,5,a.ta);_.w(c.H,6,a.ru);_.w(c.H,7,a.IBa);a=c.setEnvironment(a.getEnvironment());_.hfc(b,_.ngc,a);_.Xo(b,_.lgc,new Dkc);return b};
Mkc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.iI(906,b,void 0,_.Agc());l.ha=!1;var p=new _.ifc(l);b=new Date;l=_.$fc(_.Zfc(_.Yfc(ijc(),new _.jfc(l)),Lkc(c)),109).setSessionId(b.getTime()+"_"+_.Ug());if(k){a=new Bkc(p,d,e,new tkc(a,f),f,h);_.Xfc(l,a);d=l.build();_.Tfc(d.GL(),1E3*b.getTime());var q=new Jkc(d,c);(new _.Ne).listen(a,"Gb",function(){_.Kkc(q,106008,0).yj()});return q}_.Xfc(l,p);a=l.build();_.Tfc(a.GL(),1E3*b.getTime());return new Jkc(a,c)};
Nkc=function(a,b){this.V=a;this.W=b};Nkc.prototype.O=function(a,b){this.V&&_.Okc(this)&&(a=_.Kkc(this.V,a,0),b&&_.hhc(a,b),a.yj())};_.JK=function(a,b){if(a.V&&_.Okc(a)){a=_.Kkc(a.V,106018,0);var c=_.B(_.zK(a),Bjc,15);if(!c){c=new Bjc;var d=_.zK(a);_.I(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.yj()}};Nkc.prototype.H=function(a,b){return this.V&&_.Okc(this)?(a=_.Kkc(this.V,a,1),b&&_.hhc(a,b),a):null};_.Okc=function(a){return!(!a.V||!a.V.H.vP())};
_.Pkc=function(a,b,c,d,e,f){var h=_.Q(a,59),k=_.OI(_.AI(a)).toString(),l=_.lK(_.AI(a));f=new Gkc(a,b,c,f);a=h?Mkc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new Nkc(a,f)};_.uJ=function(a){_.J.call(this,a)};_.K(_.uJ,_.J);_.Qkc=function(a){_.J.call(this,a)};_.K(_.Qkc,_.J);_.Qkc.prototype.getId=function(){return _.y(this,1)};_.Qkc.prototype.Pb=function(a){return _.w(this,1,a)};_.Qkc.prototype.ve=function(){return _.B(this,_.wf,2)};_.DJ=function(a){_.J.call(this,a)};_.K(_.DJ,_.J);
_.DJ.prototype.Xn=function(){return _.y(this,2)};_.DJ.prototype.qd=function(){return _.B(this,_.Qkc,3)};_.tJ=function(a){_.J.call(this,a)};_.K(_.tJ,_.J);_.tJ.prototype.qd=function(){return _.B(this,_.sJ,1)};_.tJ.prototype.Fca=function(a){return _.w(this,2,a)};_.rJ=function(a){_.J.call(this,a)};_.K(_.rJ,_.J);_.rJ.prototype.getId=function(){return _.y(this,1)};_.rJ.prototype.Pb=function(a){return _.w(this,1,a)};_.Rkc=function(a,b){return _.w(a,2,b)};_.GJ=function(a){_.J.call(this,a)};_.K(_.GJ,_.J);
_.GJ.prototype.qd=function(){return _.B(this,_.rJ,1)};Skc=[2];_.NJ=function(a){_.J.call(this,a,-1,Skc)};_.K(_.NJ,_.J);_.NJ.prototype.Cc=function(){return _.y(this,1)};_.NJ.prototype.zV=function(){return _.Qj(this,_.nG,2)};_.NJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.Tkc=function(a){_.J.call(this,a)};_.K(_.Tkc,_.J);_.Tkc.prototype.tk=function(){return _.y(this,1)};_.Ukc=function(a){var b=new _.Tkc;return _.w(b,1,a)};Vkc=[1];_.zhc=function(a){_.J.call(this,a,-1,Vkc)};_.K(_.zhc,_.J);
_.Wkc=function(){this.H={}};Xkc=function(a,b,c){if(a.H[b])throw Error("af");a.H[b]=c};_.Wkc.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)}};Ykc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.Zkc=function(a,b){this.H=a;this.V=b;this.O=_.Fgc[_.Dj(a.eg(),8,0)];this.W=_.Fgc[_.Dj(a.eg(),51,5)];this.nonce=_.Ug()};
_.Zkc.prototype.lc=function(a,b){if(b.HN)$kc(this,a,b),alc(this,a,b);else if(11===a.Xm){if(b.MJb){var c=b.GD||_.C(this.H.eg(),37,"");_.tj(a.uri,"key",c)}$kc(this,a,b);blc(this,a,b)}else switch(a.uri=clc(this,a.Xm,a.uri),a.Xm){case 1:blc(this,a,b);$kc(this,a,b);break;case 0:b.ru||_.ZI(_.AI(this.H))||(b.vjb?_.tj(a.uri,"dsNonce",_.Ug()):_.S(this.H,83,!1)&&_.tj(a.uri,"dsNonce",this.nonce));blc(this,a,b);alc(this,a,b);$kc(this,a,b);break;case 2:case 3:case 4:case 5:blc(this,a,b);alc(this,a,b);$kc(this,
a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:blc(this,a,b);alc(this,a,b);break;default:throw Error("bf`"+a.Xm);}};dlc=function(a,b){var c=clc(a,b,new _.ij);if(!c.H)throw Error("df");return _.pj(_.oj(_.jj(new _.ij,c.O),c.H),c.W).Mi(_.Ggc.has(b)?"/batch"+a.O:"/batch")};
clc=function(a,b,c){var d=_.y(a.H.eg(),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=_.C(a.H.eg(),62,"");break;case 8:a=_.y(a.H.eg(),53);break;case 9:a=_.y(a.H.eg(),56);break;case 10:a=_.y(a.H.eg(),22);break;case 13:a=_.y(a.H.eg(),55);break;case 12:a=_.y(a.H.eg(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.ij(a);
_.Hd(c,"/")&&(c=c.slice(1));return new _.ij(a+"/"+c)};blc=function(a,b,c){a=_.AI(a.H);c.ru||_.ZI(a)||(c=[{key:"u",value:_.lK(a)}],b.headers.authorization=_.eec(c)||"",c=_.OI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
$kc=function(a,b,c){var d=_.AI(a.H),e=a.H.eg(),f=c.V5a||!!_.y(e,13);c=c.W5a||_.S(e,14,!1);var h=11===b.Xm;f&&((f=_.y(e,13))&&_.Hd(f,"email:")?_.tj(b.uri,"trace",f):f&&"trace:true"===f?_.tj(b.uri,"$trace","true"):f?_.tj(b.uri,"trace","token:"+f):_.tj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.tj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Dj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
alc=function(a,b,c){c.ru||_.ZI(_.AI(a.H))?_.tj(b.uri,"key",_.C(a.H.eg(),36,"")):(a=c.GD||_.C(a.H.eg(),37,""),_.tj(b.uri,"key",a))};_.Bhc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.Chc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Ihc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Ohc=function(){this.H=_.xf(new _.wf,312)};_.Dhc=function(a){this.request=a;this.requestId=_.Ug()};
_.Lhc=function(a,b,c,d){this.request=a;this.file=b;this.kQ=void 0===c?null:c;this.metadata=d};Jhc=function(a,b){this.request=a;this.metadata=b};Khc=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};_.UJ=function(a,b,c,d){this.request=a;this.file=b;this.kQ=void 0===c?null:c;this.metadata=d};_.elc=function(a,b){_.bI.call(this,a?a:500,b?b:6E5)};_.K(_.elc,_.bI);_.flc=function(a,b){this.O=b;this.H=new Map;this.ala(_.Qj(a,_.Cl,91))};
_.flc.prototype.ala=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.y(c,2);if(!b||!c)break;var d=_.glc(this,b);if(d){d!==c&&yhc(b);break}this.H.set(b,c)}};$hc=function(a,b){return[].concat(_.nd(new Set(b))).map(function(c){var d=(new _.Cl).Pb(c);a.H.has(c)?_.Dl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Dl(d,_.ll(c));return d}).filter(function(c){return _.P(c,2)})};_.glc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.P(a,140)?_.ll(a):null};
_.KK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Od=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.KK.prototype.getState=function(){return this.state};
_.KK.prototype.oM=function(a){var b=this;if(this.W)return this.W;var c=_.Zh();this.W=c.promise.then(function(){return _.Ukc(1)},function(d){d=_.DB(d).Qg;var e=0;2===d.Ep()?e=3:_.zgc(d)&&(e=2);return _.Ukc(e)});a&&this.W.then(function(d){3===d.tk()&&_.JK(b.Od,186469046)});this.H&&(a=_.y(rkc(this.H),4)||0,Djc(rkc(this.H),a+1));setTimeout(function(){b.W=null},5E3);hlc(this,c);return this.W};_.klc=function(a,b){ilc(a,3)&&_.jlc(a,b)};_.KK.prototype.reset=function(){this.O=null;llc(this)};
llc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.jlc=function(a,b){if(!a.O&&!a.V){a.H=a.Od.H(106025);if(a.H){var c=rkc(a.H);var d=!(!a.state.isConnected()&&a.state.Xk());c=_.w(c,1,d);c=_.w(c,2,a.state.O);_.w(c,5,!!b)}a.O=new _.elc(5E3,6E4);mlc(a)}};mlc=function(a){llc(a);hlc(a);a.O&&(a.timeout=setTimeout(function(){return void mlc(a)},a.O.Za()),_.cI(a.O))};
hlc=function(a,b){_.$h((a.ha?a.ha():_.Wh()).then(null,function(){return null}),function(){if(a.H){var c=_.y(rkc(a.H),3)||0,d=rkc(a.H);_.w(d,3,c+1)}nlc(a,b)})};nlc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Re(new _.Ohc)}).then(null,function(d){d=_.DB(d);_.zgc(d.Qg)&&ilc(a,2);return _.Xh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.KK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
ilc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.Hgc.get(b)),!0):!1};Thc=[_.dJ,_.fJ,_.eJ,_.hJ,_.gJ,_.iJ,_.jJ,_.mJ,_.oJ,_.pJ,_.qJ,_.sJ,_.tJ,_.FJ,_.JJ,_.LJ,_.NJ,_.QI,_.OJ,_.PJ,_.QJ,_.Dhc,_.UJ];olc=[_.SI];Uhc=[_.oG,_.Ihc];Vhc=[_.DJ,_.BI,_.JD,_.VJ];Whc=[_.GI,_.uJ,_.yA,_.SI,_.Chc];Xhc=[_.VJ,_.qG];Yhc=[_.rJ,_.zhc,_.CJ,_.GJ,_.HJ,_.Bhc,_.UJ,Khc,Jhc];
plc=function(a){return a instanceof _.GI||a instanceof _.VJ||"undefined"!=typeof _.LK&&a instanceof _.LK||a instanceof _.PJ||a instanceof _.pJ||a instanceof _.iJ||a instanceof _.mJ||a instanceof _.QI&&_.YJ(a)};_.qlc=function(a,b){this.H=b;this.W3={};this.kj=new qjc;b=_.cJ({fields:_.Td(a,28),xq:_.ZI(_.AI(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.qlc.prototype.Jb=function(a,b){this.W3[a]=rlc(a,b)};
var slc=function(a,b){var c=a.W3[b];c||(c=rlc(b,0,2),a.W3[b]=c);c.Jb(String(Number(c.Za())+1))};_.qlc.prototype.Oz=function(a){var b=_.Qa(this.W3);this.H&&b.push(rlc("CacheSize",this.H.Ed()));b.push(rlc("InitialViewDataLoaded",a));a=new _.Sjc;_.Mj(a,1,b);return _.hi(a)};rlc=function(a,b,c){var d=new _.Qjc;_.w(d,1,a);_.w(d,4,c||1);d.Jb(String(b));d.Wl(_.Lgc.get(a));return d};
_.tlc=function(a,b,c){var d=new _.bgc;_.w(d,2,"Pending...");b instanceof _.GI?_.Rj(d,3,_.HI[0],b):b instanceof _.VJ?_.Rj(d,4,_.HI[0],b):"undefined"!=typeof _.LK&&b instanceof _.LK?_.Rj(d,5,_.HI[0],b):b instanceof _.PJ?_.Rj(d,6,_.HI[0],b):b instanceof _.pJ?_.Rj(d,7,_.HI[0],b):b instanceof _.iJ?_.Rj(d,8,_.HI[0],b):b instanceof _.mJ?_.Rj(d,9,_.HI[0],b):b instanceof _.QI&&_.Rj(d,10,_.HI[0],b);var e=Qhc(b),f=[];if(b instanceof _.eJ)WJ(f,"ID",b.getId()),WJ(f,"Parent ID",b.wk());else if(b instanceof _.pJ)WJ(f,
"TD ID",b.getId());else if(b instanceof _.GI)b=_.kkc(b.qd()),WJ(f,"Query",b);else if(b instanceof _.VJ)WJ(f,"Query","All");else if(b instanceof _.PJ)WJ(f,"TD ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.iJ)WJ(f,"MimeType",b.getMimeType()),WJ(f,"Title",b.getTitle()),WJ(f,"Parents",_.Td(b,3)),WJ(f,"Convert",_.Q(b,8)),WJ(f,"Request ID",b.fj()),WJ(f,"Parent Request IDs",_.Td(b,10)),WJ(f,"Revision Item ID",_.y(b,12)),WJ(f,"Pinned",_.Q(b,8));else if(b instanceof
_.jJ)WJ(f,"Title",b.getTitle());else if(b instanceof _.mJ)WJ(f,"ID",b.getId());else if(b instanceof _.qJ)WJ(f,"WS ID",b.getId());else if(b instanceof _.FJ)WJ(f,"Source ID",_.y(b,1)),WJ(f,"Destination Parent ID",_.y(b,2)),WJ(f,"validation token",_.y(b,4));else if(b instanceof _.QI){if(WJ(f,"ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"Description",b.Te()),WJ(f,"Starred",_.Q(b,4)),WJ(f,"Trashed",b.Xh()),WJ(f,"MimeType",b.getMimeType()),WJ(f,"Parents",_.Td(b,8)),WJ(f,"Parents to add",_.Td(b,9)),WJ(f,
"Parents to remove",_.Td(b,10)),WJ(f,"Restricted",_.Q(b,11)),WJ(f,"Folder Color",b.Yi()),WJ(f,"Update Last Viewed",_.Q(b,15)),WJ(f,"Subscribed",_.Q(b,16)),WJ(f,"Available Offline",_.Q(b,18)),WJ(f,"Wksp to add",_.Td(b,31)),WJ(f,"Wksp to remove",_.Td(b,32)),b=_.B(b,_.al,25))WJ(f,"Read Only",_.Q(b,1)),WJ(f,"Reason",_.y(b,2))}else b instanceof _.QJ?(WJ(f,"WS ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"State",b.getState())):b instanceof _.Dhc&&WJ(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+
e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.kj.add(d);return d};_.ulc=function(a,b){for(var c=new _.Wo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.khc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};_.qlc.prototype.cR=function(){return this.kj.ih()};_.t("sy1o7");
_.MK=function(a){_.J.call(this,a)};_.K(_.MK,_.J);_.MK.prototype.jd=function(){return _.B(this,_.rB,1)};_.vlc=function(a,b){return _.I(a,1,b)};_.MK.prototype.Xn=function(){return _.y(this,3)};
_.wlc=function(a,b,c){_.ri.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.wlc,_.ri);
_.xlc=function(a,b){this.O=a;this.V=b;this.H=null};
var NK=function(a){_.zi.call(this);this.name=a};_.K(NK,_.zi);_.g=NK.prototype;_.g.L3=function(){};_.g.iEa=function(){};_.g.c0a=function(){};_.g.ILa=function(){};_.g.b0a=function(){};_.g.QF=function(){this.dispatchEvent(new _.ri("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var ylc=function(a,b){NK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.O,"Fb",function(d){d.Ue()||c.QF()});this.Sc.listen(this.H,"nb",this.QF)};_.K(ylc,NK);ylc.prototype.max=function(){var a=this.O.Ue(),b=this.H.IB();return!a&&b?Infinity:0};ylc.prototype.L3=function(){this.QF()};
var zlc=function(a){NK.call(this,"Online");var b=this;this.connectionState=a;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.connectionState,[_.EB.CL,_.EB.zga,_.EB.iU],function(){return b.QF()})};_.K(zlc,NK);zlc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};zlc.prototype.L3=function(){this.QF()};
_.Alc=function(a,b){this.H=a;this.O=b};_.Blc=function(a){return a.H instanceof _.KK?new zlc(a.H.getState()):new ylc(a.O,a.H)};_.Alc.prototype.Jj=function(){return this.H instanceof _.KK?this.H.getState():this.O};
var Dlc;_.Clc=function(a,b,c){this.yK=c;this.O=!0;this.V=0;this.H=new _.bI(a,b,.5)};Dlc=function(a){return a.H.O+a.V};
_.OK=function(a,b){NK.call(this,"Backoff");this.H=a;this.O=b};_.K(_.OK,NK);_.OK.prototype.max=function(){return this.H.O?Infinity:0};_.OK.prototype.ILa=function(){var a=this.H;a.V=0;a.H.reset()};_.OK.prototype.b0a=function(a){var b=this;Elc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Za(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.QF()},a),_.cI(this.H.H))};
var Elc=function(a){var b;return(a=null===(b=_.ia(a.LD))||void 0===b?void 0:b.response)?nhc(_.Gvb(a)):!1};_.OK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.Flc=function(a,b){NK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.K(_.Flc,NK);_.Flc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.Flc.prototype.L3=function(a){a>=this.O?this.QF():null==this.H&&Glc(this)};_.Flc.prototype.iEa=function(a,b){0<b?Glc(this):this.H=null};var Glc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.QF.bind(a),a.V)};
_.PK=function(){this.kj=[]};_.g=_.PK.prototype;_.g.add=function(a,b){b?this.kj.unshift(a):this.kj.push(a);return!0};_.g.Zra=function(a){return _.Aa(this.kj,0,a)};_.g.Ed=function(){return this.kj.length};_.g.cancel=function(a){return _.va(this.kj,function(b){return b.Bv.config.requestId===a?(b.ke.resolve(Rhc(b.Bv.Kw)),!0):!1})};_.g.cK=function(){return _.jg(this.kj,function(a){return _.YJ(a.Bv.Kw)})};
var Hlc=function(){NK.call(this,"Immediate")};_.K(Hlc,NK);Hlc.prototype.max=function(){return Infinity};Hlc.prototype.L3=function(){this.QF()};
var Ilc=function(){NK.call(this,"One Request")};_.K(Ilc,NK);Ilc.prototype.max=function(){return 1};
_.QK=function(a){NK.call(this,"Parallel");this.limit=a;this.H=0};_.K(_.QK,NK);_.QK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.QK.prototype.L3=function(){this.H<this.limit&&this.QF()};_.QK.prototype.iEa=function(a){this.H+=a.length};_.QK.prototype.c0a=function(a){this.H-=a.length;this.H<this.limit&&this.QF()};
var Jlc=function(){_.zi.apply(this,arguments)};_.K(Jlc,_.zi);var Llc=function(a,b){a.dispatchEvent(new Klc(b))};Jlc.prototype.O=function(){};var Klc=function(a){_.ri.call(this,"Nb");this.request=a};_.K(Klc,_.ri);
_.RK=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ma=0;this.W=new Map;this.Sc=new _.Ne(this);this.Ma(this.Sc);for(a=0;a<this.H.length;a++)this.Sc.listen(this.H[a],"Mb",this.a_a);for(a=0;a<this.O.length;a++)this.Sc.listen(this.O[a],"Nb",function(k){Mlc(h,!0,k.request)});this.ka=_.zt("drive.ds.network.queue.Queue [%s]",f)};_.K(_.RK,_.zi);_.RK.prototype.add=function(a){return Mlc(this,!1,{Bv:a,ke:_.Zh(),LD:[]})};
_.RK.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};_.RK.prototype.cK=function(){return this.V.cK()?!0:this.buckets.some(function(a){return a.cK()})};
var Mlc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.gq(new _.oc,"No queue bucket accepted request."),_.Xh(_.DB(a));for(var d=Nlc(a),e=0;e<a.H.length;e++)a.H[e].L3(d);return c.ke.promise};_.g=_.RK.prototype;
_.g.a_a=function(){var a=Nlc(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].Zra(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.cvb.bind(this,a[e]),this.bvb.bind(this,a[e]));e=Nlc(this);for(var f=0;f<this.H.length;f++)this.H[f].iEa(a,e);_.$h(_.mI(d).then(this.avb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.a_a.bind(this),0)};
_.g.cvb=function(a,b){var c=a.Bv.config;this.log(Qhc(a.Bv.Kw)+" request completed successfully. xd4: "+!(!c||!c.HN));this.H.forEach(function(d){return d.ILa()});this.O.forEach(function(d){return d.O(a)});a.ke.resolve(b)};
_.g.bvb=function(a,b){b=_.DB(b);this.log(Qhc(a.Bv.Kw)+(" request failed with error: "+b.ha+"."));a.LD.push({response:b,CQb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].b0a(a);a.Bv.config.eEa||!this.O.some(function(d){return d.intercept(a)})?a.ke.reject(b):this.log(Qhc(a.Bv.Kw)+" encountered an error, but was intercepted to be retried.")};_.g.avb=function(a){Nlc(this);for(var b=0;b<this.H.length;b++)this.H[b].c0a(a)};
var Nlc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ed()){b=a.buckets[c].Ed();break}return b};_.RK.prototype.log=function(a){this.ha.info(this.ka,a)};
_.Olc=function(a,b,c,d){Jlc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Vj(a,21,1E3);this.ta=_.Vj(a,1,1);this.ma=function(){return new _.Clc(_.Vj(a,63,1E3),_.Vj(a,64,3E5),_.Vj(a,65,10))}};_.K(_.Olc,Jlc);
_.Olc.prototype.intercept=function(a){var b=a.LD.length,c=0<b&&_.ia(a.LD).response||null;if(c){c=_.NI(c);if(2===c.Ep())return Plc(this,a);if(_.zgc(c))return 2>=b?(Llc(this,a),a=!0):a=!1,a;var d=c.rk();if(3===d||31===d||13===d||9===d)return Qlc(this,a,b);if(nhc(c))return b=Dlc(this.V),c=this.V,Dlc(c)<c.yK?(this.log("Backoff number "+b+" for a User Rate Limit error."),Llc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var Plc=function(a,b){var c=Rlc(a,b),d=Dlc(c);if(Dlc(c)<c.yK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Ue()?(d=c.H.Za(),_.n.setTimeout(function(){return Llc(a,b)},d),_.cI(c.H)):(_.n.setTimeout(function(){return Llc(a,b)}),c.V++),!0;a.H.delete(b);return!1},Rlc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},Qlc=function(a,b,c){var d=a.ta;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return Llc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.Olc.prototype.O=function(a){this.H.delete(a)};_.Olc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var Slc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.Agc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.rAb,d=Kjc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.pAb(_.aJ(e),"reading data"))}},Tlc=function(a){return Slc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var Ulc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ka=c;this.W=d;this.Qa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.va=this.ha=null;this.ke=_.Zh();this.finished=!1;this.Ba=this.Au=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Oz();a=_.Agc()&&a?_.y(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.mO="progress_"+this.requestId;h.mO=this.mO;this.ma=!!f.metadata};
Ulc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};Ulc.prototype.start=function(){var a=this,b=new Jhc(this.request.request,this.request.metadata),c=Vlc(this);this.Ha.then(function(d){return d.Re(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;Wlc(a)},function(d){return void a.ke.reject(d)});return _.$h(this.ke.promise.then(function(d){Xlc(a,d);return d},function(d){d=_.DB(d);Xlc(a,d.Qg);return _.Xh(d)}),function(){Ykc(a.H,[a.mO])})};
var Vlc=function(a){var b=_.Ya(a.config);Xkc(a.H,a.mO,njc(function(){return void a.H.notify([a.requestId],0)}));return b};Ulc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ke.resolve(Rhc(this.request)),!0)};
var Wlc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),Ylc(a,4))},Ylc=function(a,b){Zlc(a).then(function(c){if(c){var d=$lc(a,c.blob.size);a.Ha.then(function(f){return f.Re(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.UJ()&&(a.va=f.UJ());f.UM()&&(a.Fa=f.UM());a.progress<a.fileSize?Wlc(a):a.ke.resolve(f)},function(f){if(d.eEa)a.cancel();else{var h=_.NI(f);h.cBa()||h.Ska()||a.ma?amc(a,b,h,!1):Tlc(c.blob).then(function(k){k=k?_.UEa.get(k)||
25:38;_.XI(h,k);k=38===h.Ep();var l=38!==h.Ep()&&25!==h.Ep();amc(a,b,h,k,l)},function(){})}})}else{var e=_.DB(_.XI(_.gq(new _.oc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ke.reject(e)}})},amc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Zea(f);!e&&0<b?(a.Au++,d&&(a.W=Math.max(262144*Math.floor(a.W/262144/2),8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.W+" bytes "):
"")+"for ")+(a.ha+"."));Ylc(a,b)},a.Qa*Math.pow(1.5,f))):a.ke.reject(_.DB(c))},Zlc=function(a,b){return a.ma&&a.V?_.Wh(a.V):bmc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return Zlc(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 Khc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.y(a.request.request,
12)||void 0);return a.V})},bmc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.kQ?a.request.kQ(b,a.O):_.Wh(_.mhc(a.request.file,b,b+a.O))},$lc=function(a,b){var c=_.Ya(a.config);c.LQa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;Ykc(a.H,[a.mO]);Xkc(a.H,a.mO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},Xlc=function(a,b){b.JLa(3);b.Zea(a.Au);b.UJ()||b.zca(a.va);b.UM()||b.qca(a.Fa)};
_.cmc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.cmc.prototype.create=function(a,b){return new Ulc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.dmc=function(a){this.O=a;this.H={}};_.dmc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Bv.Kw instanceof _.Lhc)b.push(emc(this,a[c].Bv));else{var d=_.gq(new _.oc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.DB(d)))}return b};_.dmc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.dmc.prototype.cK=function(){return!_.Ta(this.H)};
var emc=function(a,b){var c=a.O.create(b.Kw,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.$h(d,function(){delete a.H[e]})};
_.fmc=function(a,b){return new _.RK(b,a,[new Hlc],[new _.PK],[],"immediate")};_.gmc=function(a,b,c,d,e){return new _.RK(e,a,[_.Blc(d),new _.OK(c,e),new Ilc],[new _.PK],[new _.Olc(b,c,d.Jj(),e)],"connected")};_.hmc=function(a,b,c,d,e,f,h){h=void 0===h?_.Vj(b,10,50):h;return new _.RK(e,a,[_.Blc(d),new _.Flc(h,_.Vj(b,12,10)),new _.QK(3*h),new _.OK(c,e)],[new _.PK],[new _.Olc(b,c,d.Jj(),e)],f)};_.imc=function(a,b,c){b=_.Vj(b,46,1);return new _.RK(c,a,[new _.QK(b)],[new _.PK],[],"resumable_upload")};
_.jmc=function(a,b,c,d,e,f,h,k){this.eI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.jmc.prototype.Re=function(a,b){return kmc(this,a,b).then(null,function(c){c=_.DB(c);var d=c.Qg;Shc(a)||_.iq(d);return _.Xh(c)})};
var kmc=function(a,b,c){c=void 0===c?{}:c;var d=a.eI.validate(b);if(d)return _.Xh(_.DB(d));var e=a.ma.translate(b);e instanceof _.oc?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 _.Wh(d).then(function(){if(e instanceof _.oc)return _.Xh(_.DB(e));if(Array.isArray(e)){var f=e.map(function(h){return lmc(a,b,h,c)});return _.mI(f)}return lmc(a,b,e,c)},function(f){return _.Xh(_.DB(f))})},
lmc=function(a,b,c,d){var e=mmc(a,c);if(!e)return b=_.XI(_.gq(new _.oc,"Failed to choose a queue for server request."),18),_.Xh(_.DB(b));if(b instanceof _.rJ||b instanceof _.GJ)d.vjb=!0;if(e===a.H[7]||e===a.H[8])d.HN=!0;d=e.add({Kw:c,config:d});(_.YJ(b)||_.YJ(c))&&_.$h(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};_.jmc.prototype.cancel=function(a){return _.Oa(this.H,function(b){return b.cancel(a)})};
var mmc=function(a,b){var c,d=!1;b instanceof _.uJ?d=!(null===(c=_.B(b,_.yA,2))||void 0===c||!_.Q(c,7)):b instanceof _.yA?d=!!_.Q(b,7):b instanceof _.GI&&(d=(d=b.qd())&&!!_.Q(d,46));return(b instanceof _.Ohc||b instanceof _.jI&&_.Q(b,9))&&a.H[1]?a.H[1]:b instanceof _.Lhc&&a.H[5]?a.H[5]:d&&Zhc(b,a.O)&&a.H[7]?a.H[7]:Zhc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.uJ||b instanceof _.yA)&&a.H[6]?a.H[6]:(d||olc.includes(b.constructor))&&a.H[3]?a.H[3]:Thc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var nmc=function(a){this.H=a};nmc.prototype.build=function(a,b){var c="====="+_.Ug()+"=====",d=a[0].Xm,e=b.every(function(l){return l.HN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=dlc(this.H,a[0].Xm);_.tj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=omc[d],h=pmc[d]||{},h["content-type"]=_.zt('multipart/mixed; boundary="%s"',c),d=qmc[d],k=new _.ij("");a=rmc(this,a,b,c,e);return{Xm:f,body:a,headers:h,method:d,uri:k}};
var rmc=function(a,b,c,d,e){for(var f=whc(smc[b[0].Xm]||{}),h="",k=0;k<b.length;k++){e&&blc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=clc(p,q.Xm,q.uri);switch(q.Xm){case 0:case 5:alc(p,q,r);$kc(p,q,r);break;case 2:blc(p,q,r);alc(p,q,r);var v=q,z=_.y(p.H.eg(),57);v.headers.host=_.xj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;$kc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.Xm);default:throw Error("bf`"+
q.Xm);}p=l;q=p.uri.clone();_.jj(q,"");_.oj(q,"");_.pj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+whc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},tmc={},omc=(tmc[0]=1,tmc[2]=3,tmc),umc={},qmc=(umc[0]="POST",umc[2]="PUT",umc[12]="POST",umc),vmc={},wmc={},pmc=(wmc[2]=(vmc["x-goog-upload-protocol"]="batch",vmc),wmc),xmc={},ymc={},zmc={},Amc={},smc=(Amc[0]=(xmc["content-type"]="application/http",xmc["content-transfer-encoding"]="binary",xmc),Amc[12]=
(ymc["content-type"]="application/http",ymc["content-transfer-encoding"]="binary",ymc),Amc[2]=(zmc["content-type"]="application/http",zmc),Amc);
var Bmc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,Cmc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Dmc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.kj=new Map};Dmc.prototype.add=function(a,b){var c="DEFAULT";b.HN&&(c=dlc(this.V,a.Xm).toString());this.kj.has(c)||this.kj.set(c,[]);c=this.kj.get(c);if(1<=c.length&&!b.HN&&!omc[a.Xm])return a=_.gq(new _.oc,"Unsupported batch API: "+a.Xm),_.Xh(_.DB(a));var d=_.Zh();c.push({request:a,config:b,ke:d});return d.promise};
Dmc.prototype.send=function(){for(var a={},b=_.m(this.kj.entries()),c=b.next();!c.done;a={Pqa:a.Pqa},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{Emc(this,d)}catch(f){var e=_.aJ(f);e=_.hq(_.gq(new _.oc,"Error executing XHR: "+e.message),e.stack);a.Pqa=_.DB(e);d.forEach(function(h){return function(k){k.ke.reject(h.Pqa)}}(a));this.kj.delete(c)}}};
var Emc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.FBa&&!c.config.HN){var d=!1;if(omc[c.request.Xm]){var e={Xm:c.request.Xm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.lc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){Fmc(a,c);return}}}Gmc(a,b)},Fmc=function(a,b){var c=b.ke;a.W.$g(b.request,b.config).then(function(d){c.resolve(d);Hmc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},Gmc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.$g(a.ha.build(c,d),{FBa:!0,HN:d.every(function(e){return e.HN})}).then(function(e){e.headers=_.Wgc(e.headers);var f=Cmc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.qc("Could not extract batch boundary.",_.XI(_.hq(new _.oc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Hd(_.ria(h[0]),f)&&_.ie(h[1]))h=_.ria(h[0]).substring(f.length);else throw new _.qc("Could not parse batch response; did not begin and end with boundary.",
_.XI(_.hq(new _.oc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,D=f[l],F=p&&p.uri,H=D.split("\r\n\r\n");if(2>H.length)v=new _.qc("Individual batch response contained too few parts.",_.XI(_.hq(new _.oc,D),17));else{var L=H[1].split("\r\n");if(z=Bmc.exec(L[0])){p=_.Wg(z[1]);z=z[2];L.shift();A=_.Ya(A);for(var O=Object,R=O.assign,X={},la=0;la<L.length;la++){var ha=_.Bia(L[la],":",1);ha&&2===
ha.length&&(X[(0,_.mg)(ha[0])]=(0,_.mg)(ha[1]))}L=_.Wgc(X);R.call(O,A,L);try{v=_.ie(_.Sg(H[2]))?void 0:JSON.parse(H[2])}catch(ta){}v=(p=_.ahc(p,z,A,D,v,void 0,void 0,F&&F.toString()))?_.DB(p):{headers:A,text:D,json:v||void 0}}else v=new _.qc("Could not extract HTTP status code and text.",_.XI(_.hq(new _.oc,D),16))}r.call(q,v)}return k}).then(null,function(e){e=_.DB(e);return _.jec(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ke,l=e[h];l instanceof _.oc||l instanceof _.qc?
(l=_.DB(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Hmc(a,b[0])})},Hmc=function(a,b){var c=b.request.Xm;b=!b.config.ru&&_.oa(Imc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=ilc(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()};
Dmc.prototype.handleError=function(a,b){a=_.Gvb(b);if(2===a.Ep()){if(this.H)return _.klc(this.H),!0}else if(_.zgc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.jlc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var Imc=[0,2,4,7,8];
var Jmc=function(){_.fj.apply(this,arguments)};_.K(Jmc,_.fj);Jmc.prototype.getAllResponseHeaders=function(){return _.ria(_.fj.prototype.getAllResponseHeaders.call(this))};
var Kmc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
Kmc.prototype.$g=function(a,b){var c=this;try{this.W.lc(a,b);var d=new Jmc;d.xC=!0;var e=b.requestId||"",f=_.Zh();d.listen("complete",function(){var h=b.FBa,k=4===a.Xm;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.ima(d),text:d.Fl()};if(!h)try{l.json=_.YI(d)}catch(p){}h=_.ahc(d.Bb(),_.fma(d),l.headers,l.text,l.json,d.O,_.jma(d),String(d.ta),k);d.dispose();h?f.reject(_.DB(h)):f.resolve(l)});e&&b.mO&&!b.HN&&(this.O[e]=d,this.H[e]=b,d.Gb=!0,d.listen("uploadprogress",
function(h){h.lengthComputable&&c.V.notify([b.mO],b.LQa?h.loaded/h.total:h.loaded/h.total/2)}),b.LQa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.mO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Xh(_.DB(h))}};Kmc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.eEa=!0,b.abort(),!0):!1};
_.Lmc=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new nmc(this.O);this.W=new Kmc(this.O,this.va)};_.g=_.Lmc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Bv;this.V.push(e);b.push(this.Ba.FE(e,a[d].LD));c.push(plc(e.Kw)?_.tlc(this.ma,e.Kw):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.DB(_.ahc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Dmc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={wqa:e.wqa},k++){e.wqa=a[k].Bv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.wqa)}}(e));d.push(l)}Promise.allSettled(b).then(function(){h.send()});
b=[];for(e=0;e<a.length;e++)k=a[e].Bv,l=d[e].then(this.bnb.bind(this,k.Kw,c[e],a[e].LD)).then(null,function(p){return Promise.reject(_.DB(p))}),l.then(this.KLa.bind(this,k),this.KLa.bind(this,k)),b.push(l);return b};_.g.bnb=function(a,b,c,d){a=this.ta.FE(a,d,c);b&&(c=a.wd?a.wd():[],_.ulc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.cK=function(){return this.V.some(function(a){return _.YJ(a.Kw)})};_.g.KLa=function(a){_.ua(this.V,a)};
_.Mmc=function(){};_.Mmc.prototype.execute=function(){return null};
var Nmc=function(){};
var Omc=function(a,b){this.H=a;this.O=b};
_.Pmc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};
var Qmc=function(a){return"drive#fileList"===a.kind};
var Rmc;Rmc=function(a){this.H=a};_.SK=function(a,b){if(!_.Ba(b))throw new _.qc("Expected an object, but got a "+_.iga(b)+".",_.$I(11,void 0,8));var c=b.kind;if(!c)throw new _.qc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.$I(11,void 0,21));if(!a.includes(c))throw new _.qc("Expected "+a.join(" or ")+" but got a "+c+".",_.$I(11,void 0,9));};_.TK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.Smc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.eic(new _.Zk,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);c=_.w(c,2,a.canComment);c=_.w(c,3,a.canCopy);b=_.nic(_.iic(_.oic(_.pic(_.qic(_.mic(_.lic(_.hic(_.gic(_.fic(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.w(b,13,a.canRenameTeamDrive);b=_.ric(_.kic(_.jic(b,a.canShare),
a.canTrash),a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.uic(_.tic(_.sic(_.w(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);b=_.w(b,49,a.canSetMissingRequiredFields);
b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.wic(_.vic(b,a.canShareChildFiles),a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.zic(_.yic(_.xic(_.w(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);b=_.w(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.w(b,52,a.canCreateDecryptedCopy);b=_.w(b,53,a.canCreateEncryptedCopy);b=_.w(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.w(b,55,a.canBlockOwner)};_.UK=function(a,b){_.SK(["drive#user"],b);var c=_.cic(_.dic(_.aic(1).Pb(b.permissionId),b.id).hd(b.displayName),b.emailAddress);b.picture&&c.Jn(b.picture.url);_.FI(a.H)&&_.cic(c,b.emailAddressFromAccount||b.emailAddress);_.bic(c,a.Tf(b.id));_.w(c,9,b.domain);return c};Rmc.prototype.Tf=function(a){if(a)return _.lK(_.AI(this.H))==a};
var Tmc,Ymc,fnc,lnc,anc,$mc,cnc,enc,gnc,Vmc,inc,hnc,jnc,knc,nnc,onc,mnc,dnc;Tmc=function(a,b){this.H=a;this.O=b};
_.Wmc=function(a,b,c){var d=new _.MK,e=new _.rB,f=e.Uw;_.SK(["drive#fileList","drive#file"],b);var h=[];if("drive#file"===b.kind)(a=_.Umc(a,b))&&h.push(a);else if(Qmc(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.Umc(a,k[l]);h.push(p)}e=f.call(e,h);if(Qmc(b)){_.w(e,8,b.incompleteSearch);_.SK(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=_.m(h.spellCorrections);for(a=q.next();!a.done;a=q.next()){h=[];a=_.m(a.value.spellFragments);for(k=a.next();!k.done;k=a.next())k=k.value,l=(new _.fub).Dc(Vmc.get(k.status)),
l=_.w(l,1,k.original),k=_.w(l,3,k.correction),h.push(k);a=new _.jub;h=_.Mj(a,1,h);f.push(h)}q=new _.lub;_.Mj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.hub;_.Kj(r,1,f)}q||r?(f=new _.mub,q&&_.I(f,1,q),r&&_.I(f,2,r),r=f):r=null;_.I(e,7,r);_.SK(["drive#fileList"],b);r=[];f=_.m(b.items||[]);for(q=f.next();!q.done;q=f.next())q=q.value,h=q.id,!h||"1"!=q.searchResultSource&&"3"!=q.searchResultSource||r.push(h);_.Kj(e,18,r)}d=_.vlc(d,e);c=_.Ygc(c);c=_.w(d,2,c);Qmc(b)&&b.nextPageToken&&_.w(c,
3,b.nextPageToken);return c};
Ymc=function(a,b,c,d,e){_.SK(["drive#adminFile","drive#file","drive#revision"],b);var f=_.Ijc(new _.XJ,c);"drive#adminFile"===b.kind?(_.SK(["drive#adminFile"],b),c=(new _.el).Pb(b.id),b.parentId&&_.gK(c,[b.parentId]),_.Ric(c,b.teamDriveId),f.setItem(c),_.Ijc(f,c.getId())):"drive#file"===b.kind?(b=_.Umc(a,b),f.setItem(b),c||_.Ijc(f,b.getId())):"drive#revision"===b.kind&&(b=_.Xmc(a,b),_.I(f,4,b));f.zca(_.Xgc(d));f.qca(_.Ygc(d));(d=(d=d&&_.Wgc(d))&&d["x-server-object-version"])&&e&&(e=(new _.qK).Pb(d),
_.I(f,4,e));f.Dc(1);return f};_.Zmc=function(a,b){return _.Ijc(new _.XJ,a).Dc(1).zca(_.Xgc(b)).qca(_.Ygc(b))};
_.bnc=function(a,b){_.SK(["drive#permission"],b);var c=_.bic(_.dic(_.aic($mc.get(b.type)).Pb(b.id),b.userId),a.H.Tf(b.userId));c=_.w(c,4,b.withLink);c=_.cic(c.hd(b.name).Jn(b.photoLink),b.emailAddress);c=_.w(c,9,b.domain);c=_.w(c,10,b.deleted);c=_.w(c,12,b.audienceId);c=_.w(c,13,b.customerId);_.FI(a.O)&&c.hd(b.nameIfNotUser);b.role&&(a=anc.get(b.role),2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6),_.w(c,6,a));return c};
_.Umc=function(a,b){_.SK(["drive#file"],b);var c=b.title,d=(new _.el).Pb(b.id),e=[];if(b&&b.parents)for(var f=_.m(b.parents),h=f.next();!h.done;h=f.next())e.push(h.value.id);c=_.Oic(_.Kic(_.tG(_.gK(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.Wl(b.description);_.Lic(c,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,14,Number(b.fileSize));
_.w(c,30,b.copyable);b.labels&&(d=b.labels,c.Hv(d.starred),_.w(c,6,d.hidden),c.Kn(d.trashed),_.Hic(c,d.restricted),_.w(c,9,d.viewed));_.w(c,10,_.TK(b.createdDate));_.w(c,69,_.TK(b.serverCreatedDate));_.KWb(c,_.TK(b.modifiedDate));_.w(c,12,_.TK(b.modifiedByMeDate));_.w(c,13,_.TK(b.lastViewedByMeDate));_.w(c,23,_.TK(b.sharedWithMeDate));_.w(c,62,_.TK(b.J$b));_.w(c,70,_.TK(b.recency));b.recencyReason&&(d=cnc.get(b.recencyReason)||0,_.w(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=
_.UK(a.H,e[f]))&&d.push(h);_.Iic(c,d);b.lastModifyingUser&&(d=_.UK(a.H,b.lastModifyingUser),_.Jic(c,d));b.userPermission&&(d=anc.get(b.userPermission.role),_.LWb(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.dK).zh(e.width).yh(e.height),d=_.w(d,4,e.rotation),e.date&&(e=e.date,f=new _.ggc,f.setMilliseconds(0),dnc.parse(e,f),_.w(d,1,f.getTime())),_.I(c,27,d));null!=b.folderColor&&_.Nic(c,Number(b.folderColor));_.Mic(c,b.subscribed);_.w(c,45,b.fileExtension);_.Kj(c,50,b.folderFeatures);
_.w(c,36,b.flaggedForAbuse);_.w(c,53,b.gplusMedia);_.w(c,46,b.primarySyncParentId||void 0);_.w(c,35,b.hasChildFolders);b.source&&(_.w(c,42,b.source.client_service_id),_.w(c,43,b.source.value));b.sharingUser&&(d=_.UK(a.H,b.sharingUser),_.Pic(c,d));b.sources?_.Kj(c,56,b.sources):b.gplusMedia&&_.Kj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.hec[h]&&(h=_.df(new _.cf,_.hec[h]),e.push(h));c.HA(e)}_.w(c,63,b.ownedByMe);_.w(c,29,b.shareable);b.sourceAppId&&_.w(c,
61,b.sourceAppId);_.w(c,74,b.changed);null!=b.recursiveFileSize&&_.w(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.w(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++){var k=d[f];k.id&&k.type&&(h=(new _.Nna).Pb(k.id),k=enc.get(k.type),h=_.w(h,2,k),e.push(h))}_.Mj(c,83,e)}b.capabilities&&_.hK(c,_.Smc(b.capabilities));b.permissionsSummary&&_.Sic(c,fnc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);b.templateData&&
(d=b.templateData,e=(new _.eK).Wl(d.description),f=gnc.get(d.galleryState),e=_.w(e,3,f),d=_.Kj(e,2,d.category),_.I(c,86,d));_.Ric(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.UK(a.H,b.creator),_.Tic(c,d));_.Uic(c,b.primaryDomainName);_.Vic(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&_.Wic(c,_.UK(a.H,b.trashingUser));c.Fca(_.TK(b.trashedDate));b.version&&_.w(c,75,Number(b.version));_.w(c,98,b.hasVisitorPermissions);
_.w(c,102,b.hasAppsScriptAddOn);if(d=b.pairedDocType)d=hnc.get(d),_.w(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.fK).zh(d.width).yh(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.I(c,103,e));_.Kj(c,104,b.detectors);_.w(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.Cic(_.Bic(new _.al,f.readOnly),f.reason),d.push(f);_.Mj(c,125,d)}if(d=b.publishingInfo)_.w(c,118,d.published),
_.w(c,119,d.publishedUrl);_.Kj(c,120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.w(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Pna).Pb(f.approvalId).Dc(inc.get(f.status)),d.push(f);_.Mj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Zna,e=_.w(e,1,d.targetId),e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),
d.targetLookupStatus&&(f=jnc.get(d.targetLookupStatus)||0,_.w(e,4,f)),d.targetFile&&(d=_.Umc(a,d.targetFile),_.I(e,5,d)),_.I(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.cK,f=knc.get(d.encryptionState),e=_.w(e,1,f),d.decryptionMetadata&&(d=lnc(d.decryptionMetadata),_.I(e,2,d)),_.I(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Qna,e=_.w(e,2,d.securityUpdateEligible),e=_.w(e,3,d.securityUpdateEnabled),d=_.w(e,5,d.securityUpdateExplicitlySet),_.I(c,139,d));
_.w(c,140,b.resourceKey);_.Kj(c,135,b.authorizedAppIds);_.Xic(c,b.customerId);_.w(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=mnc.get(b.abuseNoticeReason),_.w(c,145,b));_.vhc(c);_.FI(a.O)&&_.Qic(c,5);return c};
_.Xmc=function(a,b){_.SK(["drive#revision"],b);var c=(new _.qK).Pb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.TK(b.modifiedDate));c=_.w(c,4,b.pinned);c=_.w(c,5,b.downloadUrl);c=_.w(c,7,b.originalFilename);null!=b.fileSize&&_.w(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.UK(a.H,b.lastModifyingUser),_.I(c,9,a));b.decryptionMetadata&&(b=lnc(b.decryptionMetadata),_.I(c,10,b));return c};
fnc=function(a,b){return _.Fic(_.Eic(_.Dic(new _.Una,b.entryCount),(b.visibility||[]).map(function(c){var d=_.aic($mc.get(c.type));d=_.w(d,9,c.domain);d=_.w(d,4,c.withLink).Pb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=anc.get(c.role);2==e&&c.additionalRoles&&"commenter"==c.additionalRoles[0]&&(e=4);_.w(d,6,e)}return d})),(b.selectPermissions||[]).map(function(c){return _.bnc(a,c)}))};
lnc=function(a){var b=a.wrappedKey;var c=new _.Aic;b=b?_.pjc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);b=nnc.get(a.aes256GcmChunkSize);c=_.w(c,3,b);b=onc.get(a.keyFormat);c=_.w(c,6,b);return _.w(c,4,a.jwt)};anc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);$mc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);cnc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
enc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);gnc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);Vmc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);inc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);hnc=new Map([["docs",1],["sheets",2],["slides",3]]);jnc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);knc=new Map([["unencrypted",1],["encrypted",2]]);nnc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
onc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);mnc=new Map([["REASON_UNSPECIFIED",0],["ACCESSIBLE_ONLY_TO_OWNER",1],["ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER",2],["SUSPICIOUS_OTHER",3],["SUSPICIOUS_PHISHING",4],["SUSPICIOUS_MALWARE",5]]);dnc=new _.wWa("yyyy:MM:dd HH:mm:ss");
var pnc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var snc;_.qnc=function(a){this.V=new Rmc(a);this.rF=new Tmc(this.V,a)};_.qnc.prototype.FE=function(a,b,c){c=void 0===c?[]:c;try{return rnc(this,a,b,c)}catch(d){_.bJ(d)}};
var rnc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.iJ)return _.VK(a,b,c);if(b instanceof _.rJ)return snc(0,c,d);if(b instanceof _.yA||b instanceof _.uJ){if(!c.json)throw _.WK();return _.Wmc(a.rF,c.json,c.headers)}if(b instanceof _.UJ)return _.VK(a,b,c);if("undefined"!=typeof _.Ghc&&b instanceof _.Ghc){if(!c.json)throw _.WK();a=c.json;return new _.Pmc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.tnc&&b instanceof _.tnc){if(!c.json)throw _.WK();
return _.Xmc(a.rF,c.json)}if(b instanceof _.GJ)return snc(b.qd(),c,d);if(b instanceof Khc){if(b.V){if(!c.json)throw _.WK();a=Ymc(a.rF,c.json,null,c.headers,!!b.revisionId)}else a=_.Zmc(null,c.headers);return a}if(b instanceof Jhc){a=_.Wgc(c.headers);b=a.location;if(!b)throw a=_.XI(new _.oc,10),new _.qc("No upload session URI included.",a);return new pnc(b,_.Xgc(a),_.Ygc(a))}if(b instanceof _.Ohc)return new Nmc;throw new _.qc("FromXhrConverter: Unsupported request type.",new _.oc);};
_.qnc.prototype.ha=function(){return null};snc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new Omc(_.Naa(b.text),c.length):new Omc(new Uint8Array(_.yma(b.text)),c.length)};_.VK=function(a,b,c){if(!c.json){if(b instanceof _.QI)return _.Zmc(_.unc(b));throw _.WK();}var d=!1;b instanceof _.UJ&&(d=!!_.y(b.request,12));return Ymc(a.rF,c.json,_.unc(b),c.headers,d)};_.WK=function(){var a=_.XI(new _.oc,11);return new _.qc("FromXhrConverter: JSON required, but none found",a)};
_.unc=function(a){return a.getId?a.getId():a.Cc?a.Cc():null};
var ync,znc,Bnc,vnc,Cnc,wnc;
ync=function(a,b){var c={};_.ie(_.Sg(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Cc()&&_.jfa(a.getMimeType())&&b)){var d=b.d$(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Aj(b.V()),h.kaclsId=b.ha(),h.aes256GcmChunkSize=vnc[d?d.O():0],h.keyFormat=wnc[e?e.O():0],h);c.clientEncryptionDetails=f}_.xnc(c,_.Td(a,3));(b=a.Cc())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));a.D1()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.D1());"number"===typeof _.y(a,26)&&(c.modifiedDate=_.fjc(_.$jc(_.y(a,26)||0)));return c};_.xnc=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)}}};znc={};_.Anc=(znc[1]="active",znc[2]="archived",znc);Bnc={};vnc=(Bnc[0]="unset",Bnc[1]="default",Bnc[2]="small",Bnc[3]="size16kb",Bnc);Cnc={};wnc=(Cnc[0]="unsetKeyFormat",Cnc[1]="tinkKeyset",Cnc[2]="tinkAesGcmKey",Cnc);
var Fnc=function(a,b,c){return(a.kQ?a.kQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return Slc(d)}).then(function(d){return Dnc(a,b,d,c)},Enc)},Dnc=function(a,b,c,d){var e=!!_.y(a.request,12),f="files";e&&(f+="/"+_.y(a.request,12));f=new _.ij(f);_.tj(f,"uploadType","multipart");_.tj(f,"supportsTeamDrives",!0);_.tj(f,"pinned",!!_.S(a.request,13,!1));null!=_.Q(a.request,8)&&_.tj(f,"convert",_.Q(a.request,8));_.tj(f,"fields",_.qhc({fields:_.tK(b).filter(function(q){return 194!=q}),xq:!1}));
xhc(f,a.request.ve());var h=ync(a.request,a.metadata),k=_.Ug();b={};b=(b["content-type"]=_.zt('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());_.bK(d,_.Qj(a.request,_.Cl,28),[],null,b);a="--"+k;a=a+"\r\n"+whc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+whc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Xm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},Enc=function(a){if(a instanceof _.pAb){var b=new _.oc;_.gq(b,"fs.Error: "+a.message);a=(a=a.name)?_.UEa.get(a)||25:38;_.XI(b,a);b=_.DB(b)}else b=_.aJ(a);return Promise.reject(b)};
_.XK=function(a,b,c,d){this.H=a;this.Kg=b;this.O=c;this.Od=d;this.ka=_.PI(a)||new _.Bgc};_.XK.prototype.FE=function(a,b){try{return a.Kw instanceof _.UJ?Fnc(a.Kw,this.Kg,this.H):Promise.resolve(this.V(a.Kw,a.config,b))}catch(c){return c instanceof _.qc?a=c.Qg:(a=new _.oc,_.gq(a,"Error converting XHR: "+c.message),_.hq(a,c.stack),_.XI(a,4)),Promise.reject(a)}};
_.XK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.iJ){h=(e=!!_.y(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.y(a,12),k.pinned=!!_.S(a,13,!1));null!=_.Q(a,8)&&(k.convert=_.Q(a,8));k.fields=_.qhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)});e=ync(a);f["content-type"]="application/json";var r=a.ve();p=!0;_.sK(k);_.Gnc(this.H,k);_.bK(this.H,_.Qj(a,_.Cl,28),_.Td(a,3).concat([_.y(a,16),a.D1(),a.Cc()]),this.O,f)}else if(a instanceof _.rJ||a instanceof
_.GJ)a instanceof _.GJ?(l=a.qd(),_.P(a,2)&&(q="bytes="+_.y(a,2)+"-",_.P(a,3)&&(q+=_.y(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.y(l,2)&&(k.revisionId=_.y(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.bK(this.H,[_.Dl((new _.Cl).Pb(l.getId()),_.y(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.uJ||a instanceof _.yA){if(a instanceof _.uJ)q=_.y(a,1),a=_.B(a,_.yA,2);else if(a instanceof _.yA)q=0,_.JK(this.Od,190196159);else throw Error("ag");p=a.jn()[q];q="files/"+
p;r=_.wa(this.Lg(c),this.Lg(c,a.O()));_.Da(r);k.fields=_.qhc({fields:r,xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)});_.sK(k);_.Hnc(this.H,k);_.Inc(this.H,k);this.W(p,k);r=a.ve();p=!0;_.Q(a,7)&&(b.FBa=!0);_.bK(this.H,_.Qj(a,_.Cl,11),a.jn(),this.O,f)}else if("undefined"!=typeof _.Ghc&&a instanceof _.Ghc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.tnc&&a instanceof _.tnc)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 Khc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var v=a.H;b=a.O;f["content-range"]=a.V?_.zt("bytes %d-%d/%d",v,b,b+1):_.zt("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof Jhc?(d=2,h=(e=!!_.y(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.y(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.Q(a.request,8)&&(k.convert=_.Q(a.request,8)),k.fields=_.qhc({fields:this.Lg(c).filter(function(z){return 194!=
z}),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)}),_.sK(k),e=ync(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.bK(this.H,[],_.Td(a.request,3),this.O,f),r=a.request.ve(),p=!0):a instanceof _.Ohc?(q="about",k.fields="kind",r=a.H,p=!0):_.Jnc(a);p&&_.Knc(c,k);0!=d||l||r&&_.y(r,1)||_.JK(this.Od,74438989);return _.Lnc(this,d,q,k,f,h,r,e,v)};
_.Lnc=function(a,b,c,d,e,f,h,k,l){c=new _.ij(c);[10,12,13].includes(b)||xhc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Wi())&&(e["X-Goog-Drive-Client-Version"]=a);d=_.m(Object.entries(d));for(a=d.next();!a.done;a=d.next())h=_.m(a.value),a=h.next().value,h=h.next().value,_.uj(c,a,h);return{Xm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.Hnc=function(a,b){_.S(a.eg(),23,!1)&&(b.includePermissionsForView="published")};_.XK.prototype.W=function(){};
_.Inc=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.Gnc=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.Knc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).CQb):b.retryCount=0};_.XK.prototype.Lg=function(a,b){b||(b=_.tK(this.Kg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return Gjc.includes(c)}));return b};_.Jnc=function(a){var b=_.XI(new _.oc,4);throw new _.qc("ToXhrConverter: Unsupported request type: "+Qhc(a),b);};
_.YK=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.ta=f;this.kj={};this.ha={};this.Od=null;_.Fe(this,function(){h.hG()})};_.K(_.YK,_.zi);_.YK.prototype.pQ=function(){return _.lI()};
_.YK.prototype.upload=function(a,b,c,d){slc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.kj[e])throw new _.qc("Upload requested with a duplicate request ID.");var f=_.Td(a,10);if(f&&f.length){if(1!==f.length)throw new _.qc("Multi-parented uploads are not supported.");var h=this.kj[f[0]];if(!h)throw new _.qc("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);e||(e=this.pQ(),_.w(a,9,e));a=a.clone();f=Mnc(this,e);this.kj[e]={request:a,
file:b,If:f,GM:!1,Au:0,success:!1,EE:!1,children:[],metadata:c,bla:void 0,kQ:d};h?Nnc(this,e,h):this.ka(e);return f.Ym()};
var Mnc=function(a,b){var c=new _.ai;c.jg(_.Db(a.Fa,b),_.Db(a.Ha,b),a);return c},Nnc=function(a,b,c,d){var e=a.kj[b];c.children.push(b);_.Da(c.children);c.If.then(function(f){if(1===f.Bb()&&(f=f.Cc(),_.Td(e.request,3).push(f),_.hI(e.request,10),!c.EE||d)){a.ka(b);return}a.log('[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.If.Id(_.EI(f)?f:Error(f))})};
_.YK.prototype.Fa=function(a,b){slc(this.V,"UploadSuccessCount");a=this.kj[a];a.success=1===b.Bb();(b=a.bla)&&!a.EE&&(yjc(Ajc(qkc(b),a.Au),!0),b.yj())};_.YK.prototype.Ha=function(a,b){var c=_.B(this.O,_.WI,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);slc(this.V,"UploadFailureCount");c=this.kj[a];(a=c.bla)&&!c.EE&&(yjc(Ajc(qkc(a),c.Au),!1),b=(c=b&&b.Qg)&&c.rk(),c=c&&c.Ep(),b?zjc(qkc(a),Onc.get(b)||13):c&&zjc(qkc(a),Pnc.get(c)||0),a.yj())};
_.YK.prototype.ka=function(a){var b=this.kj[a];if(!b.GM){b.GM=!0;a=this.kj[a];var c=a.request,d=_.B(this.O,_.WI,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(Qnc))&&(!d[1]||a.Au<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.Td(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Oz())?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.eg();d=_.Vj(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.ta&&3!==d){var f=this.ta.H(106012);if(f){b.bla=f;f=qkc(f);f=_.w(f,1,2===d?2:1);f=_.w(f,4,!!b.metadata);
var h=!!_.y(a,12);f=_.w(f,5,h);e=_.w(f,6,e);c=_.Vj(c,32,1073741824);_.w(e,7,c)}}switch(d){case 2:b.file&&Rnc(this,new _.Lhc(a,b.file,b.kQ,b.metadata),b.If,a.fj());break;case 1:b.file&&(c=b.If,d=b.file,e=b.metadata,b=b.kQ,f=_.B(this.O,_.Yic,2),Rnc(this,new _.UJ(a,d,b,f&&_.iK(f)?e:void 0),c,a.fj()));break;case 3:Rnc(this,a,b.If,a.fj());break;default:throw new _.qc("Upload type ${uploadType} not supported.");}}};
var Rnc=function(a,b,c,d){Xkc(a.Ba,d,a.ma.bind(a,d));_.$h(a.W.then(function(e){return e.Re(b,{requestId:d})}).then(null,function(e){return Snc(a,b,e)}),function(){Ykc(a.Ba,[d])}).then(c.callback,c.Id,c)},Snc=function(a,b,c){var d=_.DB(c),e=b instanceof _.UJ&&b.request.Cc()||"";c=d.Qg;if(e&&8===c.rk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.AA(new _.yA,[e]);return _.ii(a.W.then(function(h){return h.Re(f)}).then(function(h){h=h.jd().wd()[0];var k=b.request;if(h&&!h.Xh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.Ijc((new _.XJ).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Xh(d)}))}return _.ji(d)};_.g=_.YK.prototype;
_.g.cancel=function(a){var b=this,c=this.kj[a];if(c&&(!c.EE||0!==c.children.length))if(c.EE=!0,c.If.hg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ia(c.children,this.cancel,this);else{var d=c.bla;d&&(zjc(yjc(Ajc(qkc(d),c.Au),!1),2),d.yj());var e=_.Zh();c.GM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.GM=!0,c.If.callback(Rhc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.hG=function(){var a=this;_.La(this.kj,function(b,c){a.cancel(c)})};
_.g.retry=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.kj[f]){var h=[];do{h.push(f);var k=(_.Td(b.kj[f].request,10)||[])[0];if(k){var l=b.kj[k];if(l.success||!l.If.hg()||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);_.ja(h,function(p){var q=b.kj[p];q.Au++;if(!e[p])if(!q.If.hg()||q.success)e[p]=new _.qc("Unable to retry request.");else{var r=(_.Td(q.request,10)||[])[0];e[r]instanceof _.qc?
e[p]=e[r]:(q.If=Mnc(b,p),q.GM=!1,q.EE=!1,(r=r?b.kj[r]:null)?Nnc(b,p,r,!0):d.push(p),e[p]=q.If.Ym())}})}else e[f]=new _.qc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.ai?f:_.ji(f)});_.Ia(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.qd=function(a){return this.kj[a]};var Qnc=/^uploadTestFailMe(\.[1-9])?$/,Pnc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),Onc=new Map([[3,14]]);

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var Tnc;Tnc=[1];_.ZK=function(a){_.J.call(this,a,-1,Tnc)};_.K(_.ZK,_.J);_.ZK.prototype.O=function(){return _.Td(this,1)};_.t("sy1o9");
var Unc;_.$K=function(a){_.J.call(this,a,-1,Unc)};_.K(_.$K,_.J);_.$K.prototype.Bb=function(){return _.y(this,1)};_.$K.prototype.Dc=function(a){return _.w(this,1,a)};_.$K.prototype.Di=function(){return _.Qj(this,_.el,2)};_.Vnc=function(a,b){return _.Mj(a,2,b)};_.$K.prototype.wq=function(a,b){return _.Sj(this,2,a,_.el,b)};_.$K.prototype.Zf=function(){return _.y(this,4)};_.Wnc=function(a,b){return _.w(a,4,b)};Unc=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1o8");
_.MWb=function(a){_.J.call(this,a)};_.K(_.MWb,_.J);_.MWb.prototype.Ei=function(){return _.y(this,3)};_.MWb.prototype.ui=function(a){return _.w(this,3,a)};_.MWb.prototype.ve=function(){return _.B(this,_.wf,5)};_.MWb.prototype.getCustomer=function(){return _.y(this,6)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.aL=function(a,b){_.w(a,1,b)};_.t("sy1oe");

_.u();

}catch(e){_._DumpException(e)}
try{
_.Ync=function(a){return _.we(a).Lg(_.S(a.get(_.fp),19,!1)?Xnc:_.te)};_.t("sy1og");
var Xnc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,210,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

}catch(e){_._DumpException(e)}
try{
var Znc,$nc,aoc,boc,coc,eoc,foc,goc,hoc,ioc,koc,loc,moc,noc,ooc,dL,toc,uoc,eL,fL,voc,woc,yoc,zoc,Aoc,Boc,Coc,Eoc,Foc,Goc,Hoc,Ioc,Joc,Koc,Moc,Ooc,Voc,Xoc,$oc,apc,dpc,gpc,jL,hpc,ipc,jpc,kpc,lpc,mpc,npc,opc,ppc,spc,rpc,vpc,xpc,zpc,Bpc,Fpc,Hpc,Ipc,Jpc,Kpc,Lpc,Mpc,Qpc,Spc,Tpc,Upc,bL,Vpc,Zpc,qoc,poc,roc,soc,urc,nL,pL,Arc,Lrc,Orc,Prc,Qrc,Trc,qpc,vsc,wsc,xsc,ysc,Asc,Bsc,Csc,Dsc,qL,Esc,sL,Fsc,Gsc,Hsc,Isc,Jsc,Ksc,tL,Lsc,Msc,Nsc,Osc,Psc,Qsc,uL,atc,jtc,huc,iuc,kuc,luc,wuc,xuc,yuc,zuc,Cuc,Euc,Ouc,bvc,cvc,dvc,
evc,OL,fvc,PL,gvc,hvc,ivc,jvc,kvc,mvc,lvc,Zvc,Roc,$vc,cwc,dwc,vAc,wAc,DAc,NAc,dBc,jBc,qBc,sBc,xBc,DBc;Znc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Td(a,3),Convert:_.Q(a,8),ID:a.fj()};var b=[];_.La(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
$nc=function(a){var b=[];b.push(Znc(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.Au&&b.push("# of retries by client: "+a.Au);var d="";a.GM?a.If.hg()?a.If.jg(function(){d="Completed successfully."},function(e){d=e instanceof _.bi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
aoc=function(a,b,c,d,e,f){var h=_.zt("Drive Upload Report: %d/%d failed",_.Pa(f),_.Pa(e));a=a.eg();d.push("Batch query interval: "+_.Vj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Vj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Vj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Vj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Vj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.La(e,function(p){l.push($nc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.Wjc(b)});_.La(f,function(p,q){var r=k.push;q=e[q].request;q=_.zt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var v=p.Qg;v=v?_.y(v,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+v})});return{title:h,description:d,YP:k,od:152391,S8:c,$_:361003}};boc=function(a){return Array.prototype.concat.apply([],arguments)};coc=function(a,b,c){c=_.Fa(a,b,c);return 0>c?(_.Aa(a,-(c+1),0,b),!0):!1};
eoc=function(a,b){var c=new _.ZK,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.O7a.get(b.qv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}doc(c,[].concat(_.nd(d)));return c};
foc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={xea:c.xea},d=a.next())if(d=d.value){c.xea=new Map;[].concat(_.nd(_.fl(d)),[d.wm(),d.Tt(),d.Fq()]).forEach(function(p){return function(q){q&&p.xea.set(bL(q),q)}}(c));for(var e=[],f=_.m(c.xea.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(bL(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Mk(h))}b.push(d.getId()+","+d.qv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};goc=function(a){var b=new _.Wo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.cJ(a,!0,"file"));a.X6&&(b.append(",teamDriveId,teamDrive("),b.append(a.X6),b.append(")"));b.append(")");return b.toString()};hoc=function(a){var b=new _.Wo;b.append("kind,nextPageToken,items(");b.append(_.cJ(a,!0));b.append("),incompleteSearch");a.X6&&(b.append(","),b.append(a.X6));return b.toString()};
ioc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.B(d,_.cK,138),k=_.B(d,_.al,111),l=_.B(d,_.dK,27),p=_.kl(d),q=d.Hf(),r=d.wg(),v=_.B(d,_.fK,103);switch(e){case 227:_.qb(d,144);break;case 228:_.qb(d,145);break;case 74:_.Nj(d,83);break;case 188:_.qb(d,137);break;case 149:_.hI(d,128);break;case 148:_.Nj(d,127);break;case 138:_.qb(d,126);break;case 184:_.hI(d,135);break;case 76:f&&_.qb(f,1);break;case 223:f&&_.qb(f,54);break;case 208:f&&_.qb(f,48);break;case 185:f&&
_.qb(f,40);break;case 224:f&&_.qb(f,55);break;case 213:f&&_.qb(f,50);break;case 156:f&&_.qb(f,39);break;case 61:f&&_.qb(f,2);break;case 216:f&&_.qb(f,52);break;case 217:f&&_.qb(f,53);break;case 77:f&&_.qb(f,4);break;case 134:f&&_.qb(f,34);break;case 147:f&&_.qb(f,38);break;case 81:f&&_.qb(f,10);break;case 82:f&&_.qb(f,11);break;case 114:f&&_.qb(f,27);break;case 133:f&&_.qb(f,33);break;case 202:f&&_.qb(f,47);break;case 132:f&&_.qb(f,32);break;case 101:f&&_.qb(f,20);break;case 201:f&&_.qb(f,46);break;
case 131:f&&_.qb(f,31);break;case 200:f&&_.qb(f,45);break;case 130:f&&_.qb(f,30);break;case 93:f&&_.qb(f,17);break;case 191:f&&_.qb(f,44);break;case 146:f&&_.qb(f,37);break;case 90:f&&_.qb(f,16);break;case 78:f&&_.qb(f,7);break;case 186:f&&_.qb(f,41);break;case 222:f&&_.qb(f,51);break;case 85:f&&_.qb(f,12);break;case 137:f&&_.qb(f,36);break;case 209:f&&_.qb(f,49);break;case 79:f&&_.qb(f,8);break;case 189:f&&_.qb(f,42);break;case 190:f&&_.qb(f,43);break;case 80:f&&_.qb(f,9);break;case 135:f&&_.qb(f,
35);break;case 102:f&&_.qb(f,21);break;case 69:_.qb(d,74);break;case 194:h&&_.Lj(h,2);break;case 193:h&&_.qb(h,1);break;case 1004:_.qb(d,108);break;case 136:_.Nj(d,125);break;case 115:k&&_.qb(k,1);break;case 116:k&&_.qb(k,2);break;case 34:_.qb(d,30);f&&_.qb(f,3);break;case 9:_.qb(d,10);break;case 91:_.Lj(d,91);break;case 43:_.qb(d,42);_.qb(d,43);break;case 187:_.qb(d,136);break;case 26:_.qb(d,24);break;case 108:_.hI(d,104);break;case 41:_.qb(d,40);f&&_.qb(f,5);break;case 42:_.qb(d,41);break;case 1005:_.Nj(d,
117);break;case 59:f&&_.qb(f,6);break;case 28:_.qb(d,26);break;case 44:_.qb(d,45);break;case 13:_.qb(d,14);break;case 48:_.qb(d,36);break;case 38:_.qb(d,34);break;case 49:_.hI(d,50);break;case 51:_.qb(d,53);break;case 104:_.qb(d,102);break;case 39:_.qb(d,35);break;case 87:_.qb(d,76);break;case 100:_.qb(d,98);break;case 72:_.qb(d,78);break;case 5:_.qb(d,6);break;case 20:_.qb(d,21);break;case 21:break;case 29:l&&_.qb(l,1);break;case 31:l&&_.qb(l,3);break;case 92:l&&_.qb(l,4);break;case 30:l&&_.qb(l,
2);break;case 16:_.Lj(d,17);break;case 12:_.qb(d,13);break;case 211:p&&_.qb(p,2);break;case 212:p&&_.qb(p,3);break;case 220:p&&_.qb(p,5);break;case 157:r&&_.Nj(r,8);break;case 3:_.qb(d,4);break;case 11:_.qb(d,12);break;case 10:_.qb(d,11);break;case 50:_.qb(d,49);_.qb(d,51);_.Lj(d,81);break;case 18:_.qb(d,19);break;case 95:_.qb(d,93);break;case 58:_.qb(d,63);break;case 14:_.Nj(d,15);break;case 103:_.qb(d,101);break;case 1:_.hI(d,2);break;case 96:_.qb(d,94);break;case 1003:_.Nj(d,107);break;case 75:_.Lj(d,
85);break;case 94:_.qb(d,92);break;case 45:_.qb(d,46);break;case 124:_.qb(d,118);break;case 125:_.qb(d,119);break;case 1002:_.Lj(d,100);break;case 32:_.qb(d,28);break;case 67:_.qb(d,70);break;case 68:_.qb(d,71);break;case 73:_.qb(d,79);break;case 71:_.qb(d,77);break;case 221:r&&_.qb(r,9);break;case 210:_.qb(d,140);break;case 7:_.qb(d,8);break;case 122:_.Lj(d,109);break;case 66:_.qb(d,69);break;case 33:_.qb(d,29);break;case 24:_.qb(d,22);break;case 25:_.qb(d,23);break;case 46:_.Lj(d,47);break;case 192:q&&
_.qb(q,6);break;case 159:q&&_.Lj(q,5);break;case 154:q&&_.qb(q,1);break;case 158:q&&_.qb(q,4);break;case 155:q&&_.qb(q,3);break;case 52:_.hI(d,56);break;case 56:_.qb(d,61);break;case 55:_.Nj(d,60);break;case 4:_.qb(d,5);break;case 35:_.qb(d,31);break;case 57:_.qb(d,62);break;case 83:_.qb(d,72);break;case 84:_.Lj(d,86);break;case 19:_.qb(d,20);_.qb(d,44);_.qb(d,90);break;case 2:_.qb(d,3);break;case 6:_.qb(d,7);break;case 98:_.qb(d,96);break;case 97:_.Lj(d,95);break;case 27:_.qb(d,25);break;case 70:_.qb(d,
75);break;case 107:v&&_.qb(v,3);break;case 106:v&&_.qb(v,2);break;case 105:v&&_.qb(v,1);break;case 8:_.qb(d,9);break;case 126:_.hI(d,120);break;default:throw Error("Qc`"+e);}}};koc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(joc)));a=[].concat(_.nd(_.neb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)ioc(b[d],a)}};
loc=function(a,b){var c=a.getCapabilities()||new _.Zk,d=_.B(a,_.cK,138),e=_.B(a,_.al,111),f=_.B(a,_.dK,27),h=_.kl(a),k=a.Hf(),l=a.wg(),p=_.B(a,_.fK,103);switch(b){case 227:return null!=_.Q(a,144);case 228:return null!=_.y(a,145);case 74:return 0<a.eu().length;case 188:return null!=_.Q(a,137);case 149:return 0<_.Td(a,128).length;case 148:return 0<a.Mya().length;case 138:return null!=a.a9();case 184:return 0<_.Td(a,135).length;case 76:return null!=_.$k(c);case 223:return null!=_.Q(c,54);case 208:return null!=
_.Q(c,48);case 185:return null!=_.Q(c,40);case 224:return null!=_.Q(c,55);case 213:return null!=_.Q(c,50);case 156:return null!=_.Q(c,39);case 61:return null!=_.Q(c,2);case 216:return null!=_.Q(c,52);case 217:return null!=_.Q(c,53);case 77:return null!=_.Q(c,4);case 134:return null!=_.Q(c,34);case 147:return null!=_.Q(c,38);case 81:return null!=_.Q(c,10);case 82:return null!=_.Q(c,11);case 114:return null!=_.Q(c,27);case 133:return null!=_.Q(c,33);case 202:return null!=_.Q(c,47);case 132:return null!=
_.Q(c,32);case 101:return null!=_.Q(c,20);case 201:return null!=_.Q(c,46);case 131:return null!=_.Q(c,31);case 200:return null!=_.Q(c,45);case 130:return null!=_.Q(c,30);case 93:return null!=_.Q(c,17);case 191:return null!=_.Q(c,44);case 146:return null!=_.Q(c,37);case 90:return null!=_.re(c);case 78:return null!=_.Q(c,7);case 186:return null!=_.Q(c,41);case 222:return null!=_.Q(c,51);case 85:return null!=_.Q(c,12);case 137:return null!=_.Q(c,36);case 209:return null!=_.Q(c,49);case 79:return null!=
_.Q(c,8);case 189:return null!=_.Q(c,42);case 190:return null!=_.Q(c,43);case 80:return null!=_.Q(c,9);case 135:return null!=_.Q(c,35);case 102:return null!=_.Q(c,21);case 69:return null!=_.Q(a,74);case 194:return null!=d&&null!=_.B(d,_.Aic,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.Q(a,108);case 136:return 0<a.R0().length;case 115:return null!=e&&null!=_.Q(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.Q(a,30)||null!=_.Q(c,3);case 9:return null!=a.ZC();
case 91:return null!=a.Fq();case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=a.nl();case 26:return null!=a.Te();case 108:return 0<_.Td(a,104).length;case 41:return null!=_.Q(c,5);case 42:return null!=_.y(a,41);case 1005:return 0<_.jl(a).length;case 59:return null!=_.Q(c,6);case 28:return null!=a.HI();case 44:return null!=_.y(a,45);case 13:return null!=a.UF();case 48:return null!=_.Q(a,36);case 38:return null!=a.Yi();case 49:return 0<_.Td(a,50).length;case 51:return null!=_.Q(a,
53);case 104:return null!=_.Q(a,102);case 39:return null!=a.Ija();case 87:return null!=_.gl(a);case 100:return null!=_.Q(a,98);case 72:return null!=_.y(a,78);case 5:return null!=_.Q(a,6);case 20:return null!=a.sf();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==_.y(f,3));case 92:return!(!f||null==_.y(f,4));case 30:return!(!f||null==f.Fe());case 16:return null!=a.wm();case 12:return null!=a.oz();case 211:return null!=h&&null!=_.Q(h,2);case 212:return null!=
h&&null!=_.Q(h,3);case 220:return null!=h&&null!=_.Q(h,5);case 157:return!(!l||!_.Qj(l,_.dl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.sB();case 10:return null!=a.vq();case 50:return null!=_.Q(a,49)||null!=_.Q(a,51)||null!=a.Om();case 18:return null!=a.Gp();case 14:return 0<_.fl(a).length;case 95:return null!=a.Sl();case 58:return null!=_.Q(a,63);case 103:return null!=_.y(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.Q(a,94);case 1003:return 0<_.il(a).length;case 75:return null!=
a.Yv();case 94:return null!=a.hN();case 45:return null!=a.Cw();case 124:return null!=_.Q(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.hl(a);case 32:return null!=a.Su();case 67:return null!=a.RJ();case 68:return null!=_.y(a,71);case 73:return null!=_.y(a,79);case 71:return null!=a.u1();case 221:return null!=l&&null!=_.Q(l,9);case 210:return null!=_.ll(a);case 7:return null!=a.I6();case 122:return null!=_.cL(a);case 66:return null!=_.y(a,69);case 33:return null!=_.Q(a,29);case 24:return null!=
a.Gj();case 25:return null!=a.vy();case 46:return null!=a.Tt();case 192:return null!=k&&null!=_.Q(k,6);case 159:return null!=k&&null!=_.Yd(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.$d(k);case 155:return null!=k&&null!=_.y(k,3);case 52:return 0<_.Td(a,56).length;case 55:return 0<a.AB().length;case 56:return null!=_.y(a,61);case 4:return null!=a.cB();case 35:return null!=_.Q(a,31);case 57:return null!=_.y(a,62);case 83:return null!=a.yc();case 84:return null!=_.B(a,
_.eK,86);case 2:return null!=a.getTitle();case 19:return null!=a.Sx()||null!=_.Q(a,44)||null!=_.y(a,90);case 6:return null!=a.Xh();case 98:return null!=a.Zv();case 97:return null!=a.mD();case 27:return null!=a.Yo();case 70:return null!=a.hj();case 107:return null!=p&&null!=_.y(p,3);case 106:return null!=p&&null!=_.y(p,2);case 105:return null!=p&&null!=p.Fe();case 8:return null!=_.Q(a,9);case 126:return 0<_.Td(a,120).length;default:throw Error("Rc`"+b);}};
moc=function(a,b){return b.every(function(c){return loc(a,c)})};noc=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)})};ooc=function(a,b){var c=new Set(b.concat(_.phc));return a.filter(function(d){return!c.has(d)})};
dL=function(a,b,c){var d,e;b=b.clone();for(var f=b.getCapabilities(),h=_.m(c),k=h.next();!k.done;k=h.next()){var l=k.value;if(loc(b,l))if(_.reb.has(l)){if(f){var p=a.getCapabilities()||new _.Zk;_.hK(a,p);switch(l){case 76:_.eic(p,_.$k(f));break;case 223:var q=_.Q(f,54);_.w(p,54,q);break;case 208:_.zic(p,_.Q(f,48));break;case 185:var r=_.Q(f,40);_.w(p,40,r);break;case 224:var v=_.Q(f,55);_.w(p,55,v);break;case 213:var z=_.Q(f,50);_.w(p,50,z);break;case 156:var A=_.Q(f,39);_.w(p,39,A);break;case 61:var D=
_.Q(f,2);_.w(p,2,D);break;case 216:var F=_.Q(f,52);_.w(p,52,F);break;case 217:var H=_.Q(f,53);_.w(p,53,H);break;case 77:_.fic(p,_.Q(f,4));break;case 134:var L=_.Q(f,34);_.w(p,34,L);break;case 147:var O=_.Q(f,38);_.w(p,38,O);break;case 81:_.lic(p,_.Q(f,10));break;case 82:_.mic(p,_.Q(f,11));break;case 114:var R=_.Q(f,27);_.w(p,27,R);break;case 133:_.uic(p,_.Q(f,33));break;case 202:_.yic(p,_.Q(f,47));_.tic(p,_.Q(f,32));break;case 132:_.tic(p,_.Q(f,32));break;case 101:_.qic(p,_.Q(f,20));break;case 201:_.xic(p,
_.Q(f,46));break;case 131:_.sic(p,_.Q(f,31));break;case 200:var X=_.Q(f,45);_.w(p,45,X);break;case 130:var la=_.Q(f,30);_.w(p,30,la);break;case 93:_.pic(p,_.Q(f,17));break;case 191:var ha=_.Q(f,44);_.w(p,44,ha);break;case 146:var ta=_.Q(f,37);_.w(p,37,ta);break;case 90:_.oic(p,_.re(f));break;case 78:_.iic(p,_.Q(f,7));break;case 186:var ea=_.Q(f,41);_.w(p,41,ea);break;case 222:var Ua=_.Q(f,51);_.w(p,51,Ua);break;case 85:_.nic(p,_.Q(f,12));break;case 137:var Ja=_.Q(f,36);_.w(p,36,Ja);break;case 209:var nb=
_.Q(f,49);_.w(p,49,nb);break;case 79:_.jic(p,_.Q(f,8));break;case 189:_.vic(p,_.Q(f,42));break;case 190:_.wic(p,_.Q(f,43));break;case 80:_.kic(p,_.Q(f,9));break;case 135:var $a=_.Q(f,35);_.w(p,35,$a);break;case 102:_.ric(p,_.Q(f,21));break;case 34:var yb=_.Q(b,30);_.w(a,30,yb);var Zb=_.Q(f,3);_.w(p,3,Zb);break;case 41:var Gc=_.Q(b,40);_.w(a,40,Gc);_.gic(p,_.Q(f,5));break;case 59:_.hic(p,_.Q(f,6))}}}else if(_.seb.has(l)){var ke=_.B(b,_.cK,138);if(ke){var Rd=_.B(a,_.cK,138)||new _.cK;_.I(a,138,Rd);
switch(l){case 194:var Gd=_.B(ke,_.Aic,2);_.I(Rd,2,Gd);break;case 193:var sf=_.y(ke,1);_.w(Rd,1,sf)}}}else if(_.teb.has(l)){var pd=_.B(b,_.al,111);if(pd){var Bb=_.B(a,_.al,111)||new _.al;_.I(a,111,Bb);switch(l){case 115:_.Bic(Bb,_.Q(pd,1));break;case 116:_.Cic(Bb,_.y(pd,2))}}}else if(_.ueb.has(l)){var le=_.B(b,_.dK,27);if(le){var lg=_.B(a,_.dK,27)||new _.dK;_.I(a,27,lg);switch(l){case 29:var Ee=_.y(le,1);_.w(lg,1,Ee);break;case 31:lg.yh(_.y(le,3));break;case 92:var ei=_.y(le,4);_.w(lg,4,ei);break;
case 30:lg.zh(le.Fe())}}}else if(_.veb.has(l)){var $e=_.kl(b);if($e){var Ai=_.kl(a)||new _.Qna;_.I(a,139,Ai);switch(l){case 211:var ah=_.Q($e,2);_.w(Ai,2,ah);break;case 212:var pm=_.Q($e,3);_.w(Ai,3,pm);break;case 220:var gf=_.Q($e,5);_.w(Ai,5,gf)}}}else if(_.web.has(l)){var ve=b.Hf();if(ve){var Tf=a.Hf()||new _.Zna;_.I(a,132,Tf);switch(l){case 192:var qi=_.Q(ve,6);_.w(Tf,6,qi);break;case 159:var Wj=_.Yd(ve);_.I(Tf,5,Wj);break;case 154:var qm=_.y(ve,1);_.w(Tf,1,qm);break;case 158:var Fo=_.$d(ve);
_.w(Tf,4,Fo);break;case 155:var rm=_.y(ve,3);_.w(Tf,3,rm)}}}else if(_.xeb.has(l)){var Fh=b.wg();switch(l){case 157:if(Fh){var Pl=a.wg()||new _.Xna;poc(a,Pl);qoc(Pl,_.Qj(Fh,_.dl,8))}break;case 221:if(Fh){var Gj=a.wg()||new _.Xna;poc(a,Gj);var Tg=_.Q(Fh,9);_.w(Gj,9,Tg)}}}else if(_.yeb.has(l)){var kj=_.B(b,_.fK,103);if(kj){var Hj=_.B(a,_.fK,103)||new _.fK;_.I(a,103,Hj);switch(l){case 107:var Xj=_.y(kj,3);_.w(Hj,3,Xj);break;case 106:Hj.yh(_.y(kj,2));break;case 105:Hj.zh(kj.Fe())}}}else switch(l){case 227:var Ph=
_.Q(b,144);_.w(a,144,Ph);break;case 228:var Zi=_.y(b,145);_.w(a,145,Zi);break;case 74:var Ij=b.eu();_.Mj(a,83,Ij);break;case 188:var $i=_.Q(b,137);_.w(a,137,$i);break;case 149:var Yj=_.Td(b,128);_.Kj(a,128,Yj);break;case 148:var Qh=b.Mya();_.Mj(a,127,Qh);break;case 138:var sm=b.a9();_.w(a,126,sm);break;case 184:var lj=_.Td(b,135);_.Kj(a,135,lj);break;case 69:var ok=_.Q(b,74);_.w(a,74,ok);break;case 1004:var Ql=_.Q(b,108);_.w(a,108,Ql);break;case 136:var pk=b.R0();_.Mj(a,125,pk);break;case 9:var nn=
b.ZC();_.w(a,10,nn);break;case 91:_.Tic(a,b.Fq());break;case 43:var Ok=_.y(b,42);_.w(a,42,Ok);var qk=_.y(b,43);_.w(a,43,qk);break;case 187:_.Xic(a,b.nl());break;case 26:a.Wl(b.Te());break;case 108:var tf=_.Td(b,104);_.Kj(a,104,tf);break;case 42:var Jj=_.y(b,41);_.w(a,41,Jj);break;case 1005:var Rl=_.jl(b);_.Mj(a,117,Rl);break;case 28:_.Lic(a,b.HI());break;case 44:var Pk=_.y(b,45);_.w(a,45,Pk);break;case 13:var Sl=b.UF();_.w(a,14,Sl);break;case 48:var pc=_.Q(b,36);_.w(a,36,pc);break;case 38:_.Nic(a,
b.Yi());break;case 49:var mj=_.Td(b,50);_.Kj(a,50,mj);break;case 51:var Gh=_.Q(b,53);_.w(a,53,Gh);break;case 104:var rk=_.Q(b,102);_.w(a,102,rk);break;case 39:var Rh=b.Ija();_.w(a,35,Rh);break;case 87:var fi=_.gl(b);_.w(a,76,fi);break;case 100:var bg=_.Q(b,98);_.w(a,98,bg);break;case 72:var sk=_.y(b,78);_.w(a,78,sk);break;case 5:var xp=_.Q(b,6);_.w(a,6,xp);break;case 20:var Hh=b.sf();_.w(a,21,Hh);break;case 21:a.Pb(b.getId());break;case 16:_.Jic(a,b.wm());break;case 12:var Ih=b.oz();_.w(a,13,Ih);
break;case 3:_.tG(a,b.getMimeType());break;case 11:var on=b.sB();_.w(a,12,on);break;case 10:_.KWb(a,b.vq());break;case 50:var nj=_.Q(b,49);_.w(a,49,nj);var pn=_.Q(b,51);_.w(a,51,pn);var Tl=b.Om();_.I(a,81,Tl);break;case 95:_.Vic(a,b.Sl());break;case 18:_.Kic(a,b.Gp());break;case 58:var tk=_.Q(b,63);_.w(a,63,tk);break;case 14:_.Iic(a,_.fl(b));break;case 1:_.gK(a,b.mk());break;case 96:var tm=_.Q(b,94);_.w(a,94,tm);break;case 103:var Go=_.y(b,101);_.w(a,101,Go);break;case 1003:roc(a,_.il(b));break;case 75:_.Sic(a,
b.Yv());break;case 94:_.Uic(a,b.hN());break;case 45:var Pn=b.Cw();_.w(a,46,Pn);break;case 124:var nq=_.Q(b,118);_.w(a,118,nq);break;case 125:var $l=_.y(b,119);_.w(a,119,$l);break;case 1002:var am=_.hl(b).clone();(null===(d=_.hl(a))||void 0===d?0:_.Q(d,3))&&_.w(am,3,!0);(null===(e=_.hl(a))||void 0===e?0:_.Q(e,4))&&_.w(am,4,!0);_.I(a,100,am);break;case 32:var Ck=b.Su();_.w(a,28,Ck);break;case 67:var Vo=b.RJ();_.w(a,70,Vo);break;case 68:var Gq=_.y(b,71);_.w(a,71,Gq);break;case 73:var Hq=_.y(b,79);_.w(a,
79,Hq);break;case 71:var Iq=b.u1();_.w(a,77,Iq);break;case 210:var Cv=_.ll(b);_.w(a,140,Cv);break;case 7:_.Hic(a,b.I6());break;case 122:soc(a,_.cL(b));break;case 66:var Cr=_.y(b,69);_.w(a,69,Cr);break;case 33:var bu=_.Q(b,29);_.w(a,29,bu);break;case 24:var bB=b.Gj();_.w(a,22,bB);break;case 25:var cB=b.vy();_.w(a,23,cB);break;case 46:_.Pic(a,b.Tt());break;case 52:var Cy=_.Td(b,56);_.Kj(a,56,Cy);break;case 56:var Ns=_.y(b,61);_.w(a,61,Ns);break;case 55:a.HA(b.AB());break;case 4:a.Hv(b.cB());break;case 35:_.Mic(a,
_.Q(b,31));break;case 57:var Jp=_.y(b,62);_.w(a,62,Jp);break;case 83:_.Ric(a,b.yc());break;case 84:var Jq=_.B(b,_.eK,86);_.I(a,86,Jq);break;case 98:a.Fca(b.Zv());break;case 97:_.Wic(a,b.mD());break;case 19:var dB=b.Sx();_.w(a,20,dB);_.Oic(a,_.Q(b,44));var BD=_.y(b,90);_.w(a,90,BD);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Kn(b.Xh());break;case 27:_.LWb(a,b.Yo());break;case 70:var bx=b.hj();_.w(a,75,bx);break;case 8:var cx=_.Q(b,9);_.w(a,9,cx);break;case 126:var dx=_.Td(b,120);_.Kj(a,120,
dx);break;default:throw Error("Sc`"+l);}}};toc=function(a,b){var c=_.Cz[a];return b.filter(function(d){return!c||!c.has(d)})};uoc=function(a,b,c){a=toc(c,a);return noc(b,a,_.phc)};eL=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};fL=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&eL(a)?(a=a.Hf(),!!a&&"application/vnd.google-apps.folder"===_.y(a,3)):"application/vnd.google-apps.folder"===c};
voc=function(a){var b=a&&a.getId()||null;a&&eL(a)&&(a=(a=a.Hf())&&_.y(a,1))&&(b=a);return b};woc=function(a){return!!_.Q(a,31)&&!_.Q(a,94)};yoc=function(a){return xoc.some(function(b){return loc(a,b)})};zoc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(b.qv())})};Aoc=function(a){return zoc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
Boc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=_.Q7a(4).setItem(f),c[e]=d):(d=_.Q7a(2).setItem(d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=_.Q7a(1).setItem(d),c[e]=d)});return c};Coc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ta(Boc(a,b))};_.Doc=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};
Eoc=function(a,b){var c=_.Wgc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};Foc=function(a,b){return 0<=b?!a||a<=b:!0};Goc=function(a,b){if(b){var c=[];_.Q(b,3)&&c.push("folder");var d=_.udc()&&4===b.getType()?"title_natural":_.cgc[b.getType()];b=_.egc[b.qf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};Hoc=function(a,b){var c=a.Om();c||(c=new _.Rna,b&&_.I(a,81,c));return c};
Ioc=function(a){if(fL(a))_.aL(Hoc(a,!0),!0);else if(fL(a,!0)){var b=a.Hf();if(b=b&&_.Yd(b))_.aL(Hoc(b,!0),!0),_.aL(Hoc(a,!0),!0)}};Joc=function(a){return!!a.Om()&&!fL(a)};Koc=function(a){var b=[];_.Ia(a,function(c){if(3!=c.qv()){var d=c;if(null!=_.Q(d,49)||null!=_.Q(d,51)||null!=d.Om())c=c.clone(),_.qb(c,49),_.qb(c,51),_.Lj(c,81);b.push(c)}});return b};
Moc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.J?a[b]=c.Lc():c&&c instanceof _.BK?a[b]=c.Lc(function(d){return d?d.Lc():null}):c&&c instanceof Loc&&(a[b]=c.Lc())}};Ooc=function(a){var b=a.slice(0),c=new Set(b);Noc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
Voc=function(a,b,c){var d=_.B(a,Poc,66);if(d){var e=_.y(d,1),f=_.nK(a);a=_.OI(_.AI(a));e=new _.ij(e);var h=new _.ij(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.Aj(k,3);_.tj(e,"co",h);h=e.Le();!f&&0<a&&(h+="u/"+a+"/");e.Mi(h+"_/dataservice/cacheproxy");f=_.y(d,5)||"";if(_.ihc(window.location.href,e.toString())&&f)return e=Ooc(c),c=_.y(d,6),b="#"+b+"_",d=new _.sI,d.update(e.join(",")),b+=_.pec(d.digest()),c&&(b+="&jobset="+c),b=_.Py(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.Xga(b),
void 0),b=new Qoc(c.port),c.port.start()):b=new Qoc(new Worker(_.Xga(b),void 0)),new Roc(new Soc(b,!0),1,f,e);c=e.toString();b="cpiframe_"+_.lI();c=_.th("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Qha(_.Ngc(_.Zf("display: none;")));document.body.appendChild(c);c=_.lec(e.O,void 0,e.H,e.W).toString();return new Roc(new Soc(Toc(window.frames[b],c),!0),0,e.toString())}b=new Uoc;return new Roc(new Soc(b.O,!1),2,"inline",c,new Soc(b.H,!1))};
Xoc=function(a){var b=new Woc;if(a instanceof _.dJ)_.Rj(b,16,gL[0],a);else if(a instanceof _.eJ)_.Rj(b,1,gL[0],a);else if(a instanceof _.fJ)_.Rj(b,2,gL[0],a);else if(a instanceof _.hL)_.Rj(b,17,gL[0],a);else if(a instanceof _.iJ)_.Rj(b,3,gL[0],a);else if(a instanceof _.LK)_.Rj(b,4,gL[0],a);else if(a instanceof _.gJ)_.Rj(b,5,gL[0],a);else if(a instanceof _.mJ)_.Rj(b,6,gL[0],a);else if(a instanceof _.oJ)_.Rj(b,7,gL[0],a);else if(a instanceof _.pJ)_.Rj(b,8,gL[0],a);else if(a instanceof _.sJ)_.Rj(b,9,
gL[0],a);else if(a instanceof _.FJ)_.Rj(b,18,gL[0],a);else if(a instanceof _.JJ)_.Rj(b,10,gL[0],a);else if(a instanceof _.KJ)_.Rj(b,11,gL[0],a);else if(a instanceof _.LJ)_.Rj(b,12,gL[0],a);else if(a instanceof _.QI)_.Rj(b,13,gL[0],a);else if(a instanceof _.OJ)_.Rj(b,14,gL[0],a);else if(a instanceof _.PJ)_.Rj(b,15,gL[0],a);else throw new _.qc("Unsupported request type");return b};
$oc=function(a){a=a.map(function(c){var d=new Yoc;if(c instanceof _.dJ)_.Rj(d,6,iL[0],c);else if(c instanceof _.hL)_.Rj(d,7,iL[0],c);else if(c instanceof _.mJ)_.Rj(d,1,iL[0],c);else if(c instanceof _.JJ)_.Rj(d,2,iL[0],c);else if(c instanceof _.KJ)_.Rj(d,3,iL[0],c);else if(c instanceof _.QI)_.Rj(d,4,iL[0],c);else if(c instanceof _.PJ)_.Rj(d,5,iL[0],c);else throw new _.qc("Unsupported request type");return d});var b=new Zoc;_.Mj(b,1,a);return b};
apc=function(a){return _.Qj(a,Yoc,1).map(function(b){return _.B(b,_.dJ,6)||_.B(b,_.mJ,1)||_.B(b,_.JJ,2)||_.B(b,_.KJ,3)||_.B(b,_.QI,4)||_.B(b,_.PJ,5)||_.B(b,_.hL,7)})};dpc=function(a){var b=new bpc;if(a instanceof _.KD)_.Rj(b,1,cpc[0],a);else if(a instanceof _.LD)_.Rj(b,2,cpc[0],a);else throw new _.qc("Unsupported request type");return b};
gpc=function(a){var b=new epc;if(a instanceof _.jJ)_.Rj(b,1,fpc[0],a);else if(a instanceof _.qJ)_.Rj(b,2,fpc[0],a);else if(a instanceof _.QJ)_.Rj(b,3,fpc[0],a);else throw new _.qc("Unsupported request type");return b};jL=function(a,b,c){return b?new c(JSON.parse(a)):a};hpc=function(a){a={t:a.title,d:a.description,c:a.od,fi:a.S8,dti:a.$_,a:a.YP?a.YP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.A8})}):void 0};return JSON.stringify(a)};
ipc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,od:a.c,S8:a.fi,$_:a.dti,YP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,A8:b.ec}}):void 0}};jpc=function(a,b,c){a=a?1:2;a=_.dd(_.cd(new _.bd,12),a);var d=(new _.hf).Kn(!0);d=_.w(d,17,!0);a=_.jf(d,a);c&&_.Hl(a,c);c=new _.agc;b&&_.chc(c,b);return _.dhc(_.fhc(new _.GI,a),c)};kpc=function(a){return a.map(function(b){return b.getItem()})};
lpc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};mpc=function(a,b){var c=new _.ij(_.C(b,16,"")+"/open"),d=a.getId();eL(a)&&(d=voc(a));_.tj(c,"id",d);_.tj(c,"authuser",_.OI(_.AI(b)));_.S(b,89,!1)&&_.P(a,140)&&_.tj(c,"resourcekey",_.ll(a));return c.toString()};npc=function(a){return String.fromCharCode(10>a?48+a:87+a)};opc=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]=npc(d>>4);b[2*c+3]=npc(d&15)}return b.join("")};
ppc=function(a){_.Rf("drive.DebugUtil.printFindById",function(c){a.KM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.Rf("drive.DebugUtil.getLogs",function(){return _.Wjc(a.Rf())});_.Rf("drive.DebugUtil.printLogs",function(){window.console.log(_.Wjc(a.Rf()))});_.Rf("drive.DebugUtil.printRequestHistory",function(){a.cR().then(function(c){c.forEach(function(d){window.console.log(_.y(d,1));window.console.log(_.y(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.Ml(c)}))};spc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.wf;_.xf(b,305);_.yf(b,!0);_.w(b,3,2);var c=new _.JD;_.I(c,1,b);qpc(c,[7]);a=a.then(function(d){return d.Re(c)}).then(rpc);return _.ii(a)};
rpc=function(a){a=_.Qj(a,_.np,3);var b=new tpc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.y(d,2))&&(c=_.Wg(c.Za()),_.w(b,3,c))});return"number"===typeof _.y(b,3)?b:null};vpc=function(a,b){var c=upc(a.rm,b.Cc());if(c){var d=c.getItem(),e=d.Yv();if(e){var f=e.fR(),h=_.va(f,function(k){return k.getId()===_.y(b,2)});_.Eic(e,f);h||(f=_.Qj(e,_.Kk,3),_.va(f,function(k){return k.getId()===_.y(b,2)}),_.Fic(e,f));_.Dic(e,(_.y(e,1)||1)-1);a.tl([d],c.V)}}};
xpc=function(a,b,c){if(b=upc(a.rm,b.Cc())){var d=b.getItem(),e=d.Yv();if(e){if(1===c.getType()||2===c.getType()){var f=_.Qj(e,_.Kk,3);f.push(c);_.Ga(f,wpc);_.Fic(e,f)}else f=e.fR(),f.push(c),_.Ga(f,wpc),_.Eic(e,f);_.Dic(e,(_.y(e,1)||0)+1);a.tl([d],b.V)}}};zpc=function(a){return a.map(function(b){var c=new _.Avb;c=_.w(c,3,ypc[b.serviceName]);return _.w(c,2,Number(b.bytesUsed))})};
Bpc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return Apc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
Fpc=function(a){var b=a.json.exportJob,c=Cpc[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=_.ef(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.ef(b.failedItemInfos||[],function(l){var p=_.tG((new _.el).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.Dpc).setItem(p);p=_.w(p,3,l.relativePath);return _.w(p,4,l.cause)});return new Epc(c,d,k,f,h,e,a,b)};
Hpc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.Za();(a=c&&_.op(c))&&(b.namespace=Gpc[a]);return b};Ipc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Gpc[a[c]]);return b};Jpc=function(a){return"kind,defaultAppIds,items("+a+")"};Kpc=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};Lpc=function(a,b){var c;return(null===(c=_.PI(b))||void 0===c?0:_.S(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
Mpc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
Qpc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.PI(b))||void 0===c?0:_.S(c,18,!1))||(null===(d=_.PI(b))||void 0===d?0:_.S(d,17,!1)))null===(e=_.PI(b))||void 0===e?void 0:_.w(e,15,!0);_.w(b,75,1<_.n.devicePixelRatio);var f=b;var h=_.S(f,61,!1),k=_.PI(f),l=!!k&&_.S(k,10,!1);if(_.ZI(_.AI(f))||!h&&!l)_.w(f,61,!1),_.Lj(f,66),k&&_.w(k,10,!1),f=!1;else{if(h){_.n.SharedWorker||(h=!1);var p=_.B(f,Poc,66);p&&_.y(p,1)||(h=!1);_.nK(f)&&!_.S(f,52,!1)&&(h=!1)}h?k&&_.w(k,10,!1):(_.w(f,61,!1),_.Lj(f,66));
f=h||l}if(f)return f=_.S(b,61,!1)?3:5,a=new kL(a,b,f),new Npc(a);f=_.ZI(_.AI(b))?2:1;a=new lL(a,b,f,void 0,void 0,void 0);return _.ZI(_.AI(b))?new Opc(a):new Ppc(a)};Spc=function(a){return _.we(a).Lg(_.S(a.get(_.fp),19,!1)?Rpc:_.HVa)};Tpc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};Upc=function(a,b){return _.Mj(a,1,b)};bL=function(a){return _.y(a,11)};Vpc=[1];Zpc=function(a){_.J.call(this,a,-1,Vpc)};_.K(Zpc,_.J);
Zpc.prototype.Pga=function(a){_.Sj(this,1,a,_.Kk,void 0)};var $pc=function(a){var b=new Zpc;return _.Mj(b,1,a)},aqc=function(a,b){return _.I(a,1,b)},bqc=function(a,b){_.Mj(a,2,b)},cqc=function(a,b){_.I(a,6,b)},dqc=function(a,b){_.I(a,7,b)},eqc=function(a,b){return _.Rj(a,3,_.Qk[0],b)},fqc=function(a){_.J.call(this,a)};_.K(fqc,_.J);var gqc=function(a){_.J.call(this,a)};_.K(gqc,_.J);var hqc=function(a){_.J.call(this,a)};_.K(hqc,_.J);var iqc=function(a){_.J.call(this,a)};_.K(iqc,_.J);
var jqc=function(a){_.J.call(this,a)};_.K(jqc,_.J);var kqc=function(a){_.J.call(this,a)};_.K(kqc,_.J);var lqc=function(a){_.J.call(this,a)};_.K(lqc,_.J);var mqc=function(a){_.J.call(this,a)};_.K(mqc,_.J);var nqc=function(a){_.J.call(this,a)};_.K(nqc,_.J);var oqc=function(a){_.J.call(this,a)};_.K(oqc,_.J);var pqc=function(a){_.J.call(this,a)};_.K(pqc,_.J);var qqc=function(a){_.J.call(this,a)};_.K(qqc,_.J);var rqc=function(a){_.J.call(this,a)};_.K(rqc,_.J);var sqc=function(a){_.J.call(this,a)};
_.K(sqc,_.J);var tqc=function(a,b){_.Mj(a,1,b)},uqc=function(a,b){return _.w(a,2,b)},vqc=function(a,b){return _.I(a,3,b)},wqc=function(a,b){return _.w(a,4,b)},xqc=[[1,2,3,4]],yqc=function(a){_.J.call(this,a,-1,void 0,xqc)};_.K(yqc,_.J);var zqc=function(a,b){_.Mj(a,1,b)},Aqc=function(a,b){return _.I(a,2,b)},Bqc=[[1]],Cqc=function(a){_.J.call(this,a,-1,void 0,Bqc)};_.K(Cqc,_.J);
var Dqc=function(a,b){_.Mj(a,1,b)},Eqc=function(a,b){return _.I(a,4,b)},Fqc=function(a,b){_.I(a,5,b)},Gqc=function(a,b){_.Mj(a,2,b)},Hqc=function(a,b){_.Mj(a,4,b)},Iqc=function(a,b){return _.I(a,5,b)},Jqc=[[1,2]],Kqc=function(a){_.J.call(this,a,-1,void 0,Jqc)};_.K(Kqc,_.J);var Lqc=function(a,b){_.Mj(a,1,b)},Mqc=function(a,b){return _.I(a,2,b)},Nqc=[[1]],Oqc=function(a){_.J.call(this,a,-1,void 0,Nqc)};_.K(Oqc,_.J);
var Pqc=function(a,b){_.Mj(a,2,b)},Qqc=function(a){var b=new _.Wk;return _.Mj(b,3,a)},Rqc=[[1,2]],Sqc=function(a){_.J.call(this,a,-1,void 0,Rqc)};_.K(Sqc,_.J);Sqc.prototype.Ag=function(a){return _.Rj(this,1,Rqc[0],a)};var Tqc=[1],Uqc=function(a){_.J.call(this,a,-1,Tqc)};_.K(Uqc,_.J);Uqc.prototype.Jp=function(){return _.y(this,2)};var Vqc=function(a,b){_.Mj(a,1,b)},Wqc=function(a,b){return _.w(a,2,b)},Xqc=function(a,b){return _.I(a,3,b)},Yqc=[[1]],Zqc=function(a){_.J.call(this,a,-1,void 0,Yqc)};
_.K(Zqc,_.J);var $qc=[2],arc=function(a){_.J.call(this,a,-1,$qc)};_.K(arc,_.J);var brc=function(a,b){_.Mj(a,2,b)},crc=function(a,b){return _.I(a,3,b)},drc=[[1]],erc=function(a){_.J.call(this,a,-1,void 0,drc)};_.K(erc,_.J);erc.prototype.Ag=function(a){return _.Rj(this,1,drc[0],a)};var frc=function(a,b){_.Mj(a,1,b)},grc=function(a,b){return _.Mj(a,2,b)},hrc=[[1,2]],irc=function(a){_.J.call(this,a,-1,void 0,hrc)};_.K(irc,_.J);
var jrc=function(a,b){_.Mj(a,1,b)},krc=function(a,b){return _.I(a,2,b)},lrc=[[1]],mrc=function(a){_.J.call(this,a,-1,void 0,lrc)};_.K(mrc,_.J);var nrc=function(a,b){return _.I(a,1,b)},orc=function(a,b){return _.w(a,2,b)},prc=function(a,b){return _.w(a,3,b)},qrc=function(a,b){return _.w(a,4,b)},rrc=function(a,b){return _.w(a,5,b)},src=function(a,b){return _.w(a,6,b)},trc=function(a){_.J.call(this,a)};_.K(trc,_.J);qoc=function(a,b){_.Mj(a,8,b)};poc=function(a,b){return _.I(a,73,b)};
roc=function(a,b){_.Mj(a,107,b)};_.cL=function(a){return _.B(a,trc,109)};soc=function(a,b){_.I(a,109,b)};urc=function(a){_.J.call(this,a)};_.K(urc,_.J);var vrc=function(a){_.J.call(this,a)};_.K(vrc,_.J);var wrc=function(a){var b=new _.kk;_.vk(b,1,_.y(a,1));_.vk(b,2,_.y(a,2));return _.mk(b)},xrc=function(a){_.J.call(this,a)};_.K(xrc,_.J);var Poc=function(a){_.J.call(this,a)};_.K(Poc,_.J);var yrc=[11],zrc=function(a){_.J.call(this,a,-1,yrc)};_.K(zrc,_.J);var mL=function(a){_.J.call(this,a)};
_.K(mL,_.J);mL.prototype.getKey=function(){return _.y(this,2)};mL.prototype.lt=function(){return _.P(this,2)};nL=function(a){return _.C(a,4,"en")};_.oL=function(a){return _.B(a,zrc,34,1)};pL=function(a,b,c){if(b.length!=c.length)return!0;for(var d=0;d<b.length;d++)if(!a.O(b[d]||void 0,c[d]||void 0))return!0;return!1};Arc=function(a,b){return _.w(a,5,b)};_.Brc=function(a,b){return _.w(a,2,b)};_.Crc=function(a,b){return _.w(a,3,b)};_.Drc=function(a,b){return _.w(a,1,b)};
_.Erc=function(a,b){return _.w(a,2,b)};_.Frc=function(a,b){return _.Mj(a,5,b)};_.Grc=function(a,b){return _.w(a,6,b)};_.Hrc=function(a,b){return _.w(a,7,b)};_.Irc=function(a,b){return _.w(a,8,b)};_.Jrc=function(a,b){return _.w(a,10,b)};_.Krc=function(a,b){return _.w(a,15,b)};Lrc=[2];_.Mrc=function(a){_.J.call(this,a,-1,Lrc)};_.K(_.Mrc,_.J);_.Mrc.prototype.Th=function(){return _.y(this,1)};_.Nrc=function(a,b){return _.I(a,1,b)};Orc=function(a,b){return _.w(a,2,b)};
Prc=function(a,b){return _.w(a,3,b)};Qrc=function(a,b){_.Mj(a,4,b)};_.Rrc=function(a,b){_.I(a,8,b)};_.Src=function(a,b){_.I(a,9,b)};Trc=function(a){_.J.call(this,a)};_.K(Trc,_.J);Trc.prototype.Za=function(){return _.Ej(this,1)};Trc.prototype.Jb=function(a){return _.rb(this,1,a,0)};qpc=function(a,b){_.Kj(a,3,b)};_.Urc=function(a){_.J.call(this,a)};_.K(_.Urc,_.J);_.Urc.prototype.getId=function(){return _.y(this,1)};_.Urc.prototype.Pb=function(a){return _.w(this,1,a)};
_.Urc.prototype.Fe=function(){return _.y(this,4)};_.Urc.prototype.zh=function(a){return _.w(this,4,a)};_.LK=function(a){_.J.call(this,a)};_.K(_.LK,_.J);_.LK.prototype.getTitle=function(){return _.y(this,1)};_.LK.prototype.setTitle=function(a){return _.w(this,1,a)};_.LK.prototype.ve=function(){return _.B(this,_.wf,2)};
var Vrc=function(a,b){return _.Kj(a,9,b)},Wrc=function(a,b){return _.Kj(a,10,b)},Xrc=function(a,b){return _.w(a,36,b)},Yrc=function(a,b){return _.Mj(a,38,b)},Zrc=function(a,b){return _.w(a,2,b)},$rc=function(a,b){return _.I(a,3,b)},asc=function(){var a=new _.JI;return _.w(a,5,!0)},bsc=function(a){_.J.call(this,a)};_.K(bsc,_.J);var csc=function(a){_.J.call(this,a)};_.K(csc,_.J);var dsc=function(a){_.J.call(this,a)};_.K(dsc,_.J);var esc=function(a){_.J.call(this,a)};_.K(esc,_.J);
var fsc=function(a){_.J.call(this,a)};_.K(fsc,_.J);var gsc=function(a){_.J.call(this,a)};_.K(gsc,_.J);gsc.prototype.wy=function(){return _.Q(this,1)};gsc.prototype.Wn=function(){return _.y(this,5)};gsc.prototype.Nm=function(){return _.y(this,6)};gsc.prototype.Dt=function(a){return _.w(this,6,a)};var hsc=function(a,b){return _.w(a,1,b)},isc=function(a,b){return _.w(a,3,b)},jsc=function(a,b){return _.w(a,4,b)},ksc=function(a,b){_.w(a,7,b)},lsc=function(a){_.J.call(this,a)};_.K(lsc,_.J);
lsc.prototype.wy=function(){return _.Q(this,2)};var msc=function(a,b){_.w(a,1,b)},nsc=function(a){_.J.call(this,a)};_.K(nsc,_.J);nsc.prototype.Nm=function(){return _.y(this,3)};nsc.prototype.Dt=function(a){return _.w(this,3,a)};nsc.prototype.Wn=function(){return _.y(this,4)};var osc=function(a){_.J.call(this,a)};_.K(osc,_.J);var psc=function(a){_.J.call(this,a)};_.K(psc,_.J);
var qsc=function(a,b){return _.w(a,1,b)},rsc=function(a,b){return _.w(a,2,b)},ssc=function(a,b){_.w(a,3,b)},tsc=[1,3,5],usc=function(a){_.J.call(this,a,-1,tsc)};_.K(usc,_.J);usc.prototype.VE=function(){return _.Td(this,1)};usc.prototype.wy=function(){return _.Q(this,2)};usc.prototype.Wn=function(){return _.y(this,7)};vsc=function(a,b){_.w(a,2,b)};wsc=function(a,b){_.Oj(a,5,b,void 0)};xsc=function(a,b){_.w(a,6,b)};ysc=function(a,b){_.w(a,7,b)};_.zsc=function(a,b){_.I(a,2,b)};
Asc=function(a,b,c){_.rK(a,b,c,"warning")};Bsc=function(a){return[].concat(_.nd(a.O))};Csc=function(a){return a.H.concat([].concat(_.nd(a.O)))};Dsc=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))};qL=function(a){var b=_.zK(a).qd();b||(b=new _.tjc,a=_.zK(a),_.I(a,1,b));return b};Esc=function(a){var b=_.B(_.zK(a),usc,3);b||(b=new usc,a=_.zK(a),_.I(a,3,b));return b};
sL=function(a){var b=_.B(_.zK(a),gsc,16);b||(b=new gsc,a=_.zK(a),_.I(a,16,b));return b};Fsc=function(a){var b=_.B(_.zK(a),dsc,7);b||(b=new dsc,a=_.zK(a),_.I(a,7,b));return b};Gsc=function(a){var b=_.B(_.zK(a),fsc,12);b||(b=new fsc,a=_.zK(a),_.I(a,12,b));return b};Hsc=function(a){var b=_.B(_.zK(a),lsc,17);b||(b=new lsc,a=_.zK(a),_.I(a,17,b));return b};Isc=function(a){var b=_.B(_.zK(a),psc,21);b||(b=new psc,a=_.zK(a),_.I(a,21,b));return b};
Jsc=function(a){if(a instanceof _.uI)return 2;if(a instanceof _.qG)return 10;if(a instanceof _.hf)return _.yJ(a)?3:_.zJ(a)?7:_.AJ(a)?8:1;if(a instanceof _.yA)return 9;if(a instanceof _.AG)return 11;if(a instanceof _.HJ)return 15;if(a instanceof _.BI)return 6;if(a instanceof _.CJ){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 _.JD)return 4;if(a instanceof _.fA)return 12;if(a instanceof _.sG)return 13}return 0};
Ksc=function(a){var b=null;a instanceof _.rB||"undefined"!=typeof _.BK&&a instanceof _.BK||"undefined"!=typeof _.CK&&a instanceof _.CK?b=a.Ze()||0:"undefined"!=typeof _.EK&&a instanceof _.EK||"undefined"!=typeof _.FK&&a instanceof _.FK||"undefined"!=typeof _.GK&&a instanceof _.GK||"undefined"!=typeof _.HK&&a instanceof _.HK||"undefined"!=typeof _.IK&&a instanceof _.IK?b=a.Ke:"undefined"!=typeof _.DK&&a instanceof _.DK&&(b=a.Ze());return b||0};
tL=function(a,b,c){return a.V&&_.Okc(a)?(a=_.Kkc(a.V,b,0),c&&_.hhc(a,c),a):null};Lsc=function(a){a.V&&_.Okc(a)&&(a=a.V,a.H.vP()&&a.H.BZ())};Msc=function(a){var b=new _.uJ;return _.w(b,1,a)};Nsc=function(a,b){return _.I(a,2,b)};Osc=function(a,b){return _.I(a,1,b)};Psc=function(a,b){a.ha=b};Qsc=[2];uL=function(a){_.J.call(this,a,-1,Qsc)};_.K(uL,_.J);uL.prototype.Bb=function(){return _.y(this,1)};uL.prototype.Dc=function(a){return _.w(this,1,a)};uL.prototype.Pga=function(a){_.Sj(this,2,a,_.Kk,void 0)};
uL.prototype.Xj=function(){return _.y(this,3)};var Rsc=function(a,b){return _.Mj(a,2,b)},Ssc=[2],Tsc=function(a){_.J.call(this,a,-1,Ssc)};_.K(Tsc,_.J);Tsc.prototype.Bb=function(){return _.y(this,1)};Tsc.prototype.Dc=function(a){return _.w(this,1,a)};Tsc.prototype.Xj=function(){return _.y(this,3)};
var Usc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.En,a.H.promise):null},Vsc=function(a){for(var b=[],c=_.m(a.W),d=c.next();!d.done;d=c.next()){d=_.m(d.value);d.next();d=d.next().value;d=_.m(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Bv.config.timestamp)&&b.push(e)}a=_.m(a.buckets);for(d=a.next();!d.done;d=a.next()){c=[];d=_.m(d.value.kj);for(e=d.next();!e.done;e=d.next())(e=e.value.Bv.config.timestamp)&&c.push(e);_.ya(b,c)}return b},Wsc=function(a,b){_.SK(["drive#permissionList"],
b);return Rsc(new uL,(b.items||[]).map(function(c){return _.bnc(a,c)}))},Xsc=function(a,b){return src(rrc(qrc(_.Fic(_.Dic(new _.Una,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.bnc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},doc=function(a,b){return _.Kj(a,1,b)},Ysc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},Zsc=function(a,
b){if(!(a instanceof b.constructor))throw Error("aa");var c=a.fr(!1);b=b.fr(!1);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.Oaa(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)},$sc={SUCCESS:1,g6b:2,jYb:3,STb:4,t6b:5,M0b:6,C0b:7,CUb:8,e5b:9,t5b:10,f6b:11,dWb:12,IVb:13,iZb:14,DXb:15,MVb:16,LVb:17,RVb:18,OVb:19,PVb:20,K5b:21,p6b:22,e1b:23,l0b:24,uUb:25,PERMISSION_DENIED:26,A_b:27,HUb:28,GUb:29,INTERRUPTED:30,E1b:31,
Y1b:32,sWb:33,yWb:34,l5b:35,FWb:36,EXb:37,xWb:38,B0b:39,kVb:40,z1b:41,$1b:42,c5b:43,XUb:44,jVb:45,BXb:46,v_b:47,z0b:48,W0b:49,A1b:50,W4b:51,JVb:52,d5b:53,b5b:54,cVb:55,$Ub:56,QWb:57,U_b:58,B1b:59,VZb:60,p3b:61,d4b:62,K4b:63,xZb:64,n0b:65,w6b:66,HWb:67,FXb:68,e6b:69,CZb:70,FUb:71,SUb:72,l4b:73,L4b:74,H4b:75,F4b:76,$3b:190,E4b:191,m4b:192,s4b:126,o4b:128,p4b:129,q4b:130,r4b:131,t4b:132,u4b:133,y3b:127,v3b:134,w3b:135,A3b:136,B3b:137,C3b:138,x3b:194,z3b:195,D3b:196,u3b:197,c4b:189,o3b:139,q3b:140,E3b:141,
F3b:142,R3b:143,U3b:144,V3b:145,W3b:146,X3b:147,Y3b:148,Z3b:149,b4b:150,h4b:151,j4b:152,k4b:153,n4b:154,v4b:155,x4b:156,y4b:157,z4b:158,A4b:159,B4b:160,C4b:161,G4b:162,J4b:163,M4b:164,r3b:165,s3b:166,t3b:167,m3b:168,n3b:169,I3b:170,G3b:171,H3b:172,J3b:173,K3b:174,L3b:175,M3b:176,N3b:177,O3b:178,P3b:179,Q3b:180,S3b:181,T3b:182,a4b:106,i4b:183,w4b:184,D4b:185,e4b:186,f4b:187,g4b:188,I4b:244,y1b:77,j6b:78,o6b:79,I_b:80,nZb:81,pZb:82,PWb:83,AXb:84,B_b:85,D5b:86,wWb:87,EZb:88,DZb:89,P4b:90,N4b:91,O4b:92,
k6b:93,yVb:94,xVb:95,uVb:96,wVb:97,vVb:98,v6b:99,Y2b:100,UVb:101,NVb:102,SVb:103,QVb:104,TVb:105,GXb:107,q5b:108,S2b:109,Z5b:110,JXb:111,IXb:112,$Zb:113,a_b:114,d2b:115,dVb:116,h_b:117,ZWb:118,l6b:119,H0b:120,I0b:121,jZb:193,KVb:122,mWb:123,mZb:124,g0b:125,FZb:198,J1b:199,uZb:200,vTb:201,AZb:202,yZb:203,IUb:204,U6b:205,o_b:206,rVb:207,E0b:208,Z1b:209,U2b:210,WTb:211,YZb:212,e_b:213,g5b:214,f5b:215,wZb:216,hZb:217,vZb:218,JWb:219,u5b:220,KWb:221,WZb:222,n5b:223,F6b:224,r0b:225,m5b:226,oWb:227,n_b:228,
OWb:229,mVb:230,B5b:231,i0b:232,FILE_TOO_LARGE:233,BZb:234,IWb:235,xXb:236,V1b:237,o0b:238,gTb:239,nVb:240,v0b:241,e3b:242,uWb:243,tTb:245,qZb:246,Y0b:247,oZb:248,H_b:249,m0b:250,CXb:251,qYb:252,ZZb:253,aVb:254,HXb:255,u6b:256,cYb:257,R_b:258,k2b:259,I1b:260,MZb:261,ZVb:262,vWb:263,tUb:264,z_b:265,s6b:266,kTb:267,jUb:268,iUb:269,A0b:270,eTb:271,fTb:272,wUb:273,qVb:274,lUb:275,kUb:276},vL=function(a,b){_.ri.call(this,"Ea");this.error=a;this.H=b};_.K(vL,_.ri);
atc={m6b:0,S_b:1,g1b:2,U0b:3,HZb:4,TTb:5,T_b:6,V0b:7,PYb:8,sUb:9,S0b:10};_.wL=function(a,b,c,d,e,f){_.zi.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=doc(new _.ZK,[1]);this.limit=e.Ei();this.Ke=0;_.Fe(this,function(){h.O=!1;h.H=[]});_.Z7a++};_.K(_.wL,_.zi);_.g=_.wL.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.pa(this.items)&&6===this.Bb()&&this.Rj()||btc(this)};_.g.qd=function(){return this.request};_.g.Ei=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.ka};_.g.Rj=function(){return this.ha};_.g.zr=function(){var a=_.Y7a().my(this.H,this.items),b=(new _.tI).Dc(this.Bb());a=_.Mj(b,2,a);this.H=this.items;return a};_.g.Ir=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Ai(),this.limit))};
var ctc=function(a,b){return a.Bb()!==b.Bb()||pL(_.Y7a(),a.items,b.wd())},dtc=function(a,b){a.items=b.wd();a.status=b.Bb();_.FI(a.Ba)&&(a.ka=eoc(a.status,a.items));a.ha=b.ol();a.Ke=b.Ze()};_.wL.prototype.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.wL.prototype.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
_.wL.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+xL(this.V,this.qd());return _.ii(this.va.then(function(d){return d.ILb(a,b,c.qd(),c.Ei(),c.items)}))};
var btc=function(a){a.isActive()&&(a.log("Livelist "+a.Ai()+" returning "+a.items.length+". Status: "+(_.Za($sc)[a.Bb()]+". Datasource: ")+(_.Za(atc)[a.Ke]+". Query: ")+(xL(a.V,a.request)+" ")+foc(a.items)),etc(a,a.items,a.request),a.dispatchEvent(new _.ri(_.Cc,a)))},etc=function(a,b,c){if(_.yJ(c))c="quick access";else if(_.zJ(c))c="people predict";else if(_.AJ(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Ai()+" returning "+a.items.length+
" for "+(c+": "+b))};_.wL.prototype.refresh=function(){};_.wL.prototype.log=function(a){this.Fa.info(this.W,a)};_.wL.prototype.Ya=function(){_.$7a++;_.zi.prototype.Ya.call(this)};var ftc=function(){this.map={};this.status=6;this.Ke=null};_.g=ftc.prototype;_.g.Bb=function(){return this.status};_.g.Dc=function(a){this.status=a};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};_.g.eq=function(){return this.map};var gtc=function(a,b){a.map=b};
ftc.prototype.Lc=function(a){var b=[];_.La(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Ke,me:b})};var htc=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.Li(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},itc=function(){ftc.apply(this,arguments)};_.K(itc,ftc);_.BK=function(){ftc.apply(this,arguments)};_.K(_.BK,ftc);jtc=[2,6];_.CK=function(a){_.J.call(this,a,-1,jtc)};_.K(_.CK,_.J);_.g=_.CK.prototype;
_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Qj(this,_.el,2)};_.g.Uw=function(a){return _.Mj(this,2,a)};_.g.oh=function(a,b){return _.Sj(this,2,a,_.el,b)};_.g.Xj=function(){return _.y(this,3)};_.g.ol=function(){return _.S(this,4,!0)};var ktc=function(a,b){return _.Mj(a,6,b)};_.CK.prototype.Zf=function(){return _.y(this,10)};_.CK.prototype.sP=function(a){return _.w(this,10,a)};_.CK.prototype.Ze=function(){return _.y(this,9)};
_.CK.prototype.Li=function(a){return _.w(this,9,a)};var joc=[1004,1005,1002,1003],xoc=[1002,1003,1005],yL=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.ta=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=doc(new _.ZK,[1]);this.log("Creating find by ids live map: "+this.request.jn().join(", "));_.Fe(this,function(){h.O=!1;h.H=[]});_.alb++};_.K(yL,_.zi);_.g=yL.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.O=!0;_.Ta(this.items)&&6===this.status||ltc(this)};_.g.qd=function(){return this.request};_.g.getData=function(){this.H=this.items;var a=new _.BK;_.FI(this.V)?a.Dc(zoc(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.zr=function(){var a=Boc(this.H,this.items),b=new itc;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.W};
_.g.dT=function(a){mtc(a);var b=this.request;this.request=a;this.ta(this.Ai(),b,a)};_.g.update=function(a){var b=this;0<=_.na(this.qd().jn(),"root")?this.ma.addCallback(function(c){var d=a.eq()[c];d&&(_.Va(a.map,c),a.map.root=d);ntc(b,a)}):ntc(this,a)};var ntc=function(a,b){if(a.status!==b.Bb()||Coc(a.items,b.eq()))a.status=b.Bb(),a.items=b.eq(),_.FI(a.V)&&(a.W=eoc(a.status,Object.values(a.items))),ltc(a)};
yL.prototype.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};yL.prototype.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};var ltc=function(a){a.O&&(a.log("Livelist "+a.Ai()+" returning "+(Object.values(a.items).length+". Status: ")+(_.Za($sc)[a.Bb()]+". Query: ")+(xL(a.ka,a.request)+" ")+foc(Object.values(a.items))),a.dispatchEvent(new _.ri(_.Cc,a)))};
yL.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};yL.prototype.Ya=function(){_.blb++;_.zi.prototype.Ya.call(this)};var otc=[1,2],ptc=function(a){_.J.call(this,a,-1,otc)};_.K(ptc,_.J);_.qtc=function(a){_.J.call(this,a)};_.K(_.qtc,_.J);_.qtc.prototype.Bb=function(){return _.y(this,1)};_.qtc.prototype.Dc=function(a){return _.w(this,1,a)};_.qtc.prototype.ln=function(){return _.B(this,_.rG,2)};var rtc=function(a){_.ri.call(this,a)};_.K(rtc,_.ri);
var stc=[5,7,9],ttc=function(a){_.J.call(this,a,-1,stc)};_.K(ttc,_.J);_.g=ttc.prototype;_.g.getUser=function(){return _.B(this,_.Kk,1)};_.g.WA=function(a){_.w(this,2,a)};_.g.setBooleanValue=function(a){return _.w(this,3,a)};_.g.setTextValue=function(a){return _.w(this,4,a)};_.g.Doa=function(a){return _.Kj(this,5,a)};_.g.addTextValues=function(a,b){return _.Oj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.w(this,6,a)};_.g.zoa=function(a){return _.Kj(this,7,a)};
_.g.addSelectionValues=function(a,b){return _.Oj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.roa=function(a){return _.Kj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Oj(this,9,a,b)};var utc=[7,10,12,16,13,3],zL=function(a){_.J.call(this,a,-1,utc)};_.K(zL,_.J);var AL=function(a){return _.y(a,4)};_.g=zL.prototype;_.g.WA=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};_.g.e9a=function(){return _.y(this,6)};
_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.Doa=function(a){return _.Kj(this,7,a)};_.g.addTextValues=function(a,b){return _.Oj(this,7,a,b)};_.g.c9a=function(){return _.y(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.d9a=function(){return _.y(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};_.g.CLa=function(){return _.Td(this,10)};_.g.zoa=function(a){return _.Kj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Oj(this,10,a,b)};
_.g.b9a=function(){return _.y(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.roa=function(a){return _.Kj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Oj(this,12,a,b)};_.g.f9a=function(){return _.B(this,_.Kk,15)};_.g.setUserValue=function(a){return _.I(this,15,a)};_.g.bWa=function(){return _.Qj(this,_.Kk,16)};var vtc=function(a,b){_.Mj(a,16,b)};zL.prototype.addUserValues=function(a,b){return _.Sj(this,16,a,_.Kk,b)};zL.prototype.O=function(){return _.y(this,17)};
zL.prototype.setDateStringValue=function(a){return _.w(this,17,a)};zL.prototype.V=function(){return _.P(this,17)};var wtc=function(a,b){_.Mj(a,13,b)};zL.prototype.getId=function(){return _.y(this,14)};zL.prototype.Pb=function(a){return _.w(this,14,a)};zL.prototype.getName=function(){return _.y(this,1)};zL.prototype.hd=function(a){return _.w(this,1,a)};var xtc=[2],BL=function(a){_.J.call(this,a,-1,xtc)};_.K(BL,_.J);BL.prototype.getName=function(){return _.y(this,1)};
BL.prototype.hd=function(a){return _.w(this,1,a)};BL.prototype.O=function(){return _.Qj(this,zL,2)};var ytc=function(a,b){_.Mj(a,2,b)};BL.prototype.Cc=function(){return _.y(this,3)};var ztc=function(a,b){return _.w(a,3,b)},Atc=function(a){_.J.call(this,a)};_.K(Atc,_.J);Atc.prototype.O=function(){return _.B(this,_.aD,1)};Atc.prototype.V=function(){return _.B(this,_.aD,2)};Atc.prototype.ha=function(){return _.B(this,_.aD,3)};var Btc=function(a){_.J.call(this,a)};_.K(Btc,_.J);
Btc.prototype.V=function(){return _.Q(this,1)};Btc.prototype.O=function(){return _.Q(this,3)};Btc.prototype.ha=function(){return _.Q(this,4)};var CL=[[13,19,12,11,10,15,14,9,8,18,17,16]],Ctc=function(a){_.J.call(this,a)};_.K(Ctc,_.J);Ctc.prototype.O=function(){return _.Q(this,1)};Ctc.prototype.V=function(){return _.Q(this,2)};var Dtc=function(a){_.J.call(this,a)};_.K(Dtc,_.J);Dtc.prototype.O=function(){return _.y(this,4)};var Etc=function(a){_.J.call(this,a)};_.K(Etc,_.J);
Etc.prototype.V=function(){return _.y(this,1)};Etc.prototype.O=function(){return _.y(this,2)};var Ftc=function(a){_.J.call(this,a)};_.K(Ftc,_.J);Ftc.prototype.V=function(){return _.y(this,1)};Ftc.prototype.O=function(){return _.y(this,2)};var Gtc=function(a){_.J.call(this,a)};_.K(Gtc,_.J);var Htc=[1],Itc=function(a){_.J.call(this,a)};_.K(Itc,_.J);Itc.prototype.O=function(){return _.Q(this,1)};Itc.prototype.V=function(){return _.Q(this,2)};var Jtc=function(a){_.J.call(this,a)};_.K(Jtc,_.J);_.g=Jtc.prototype;
_.g.t9a=function(){return _.Q(this,1)};_.g.u9a=function(){return _.Q(this,2)};_.g.q9a=function(){return _.B(this,Atc,3)};_.g.v9a=function(){return _.P(this,3)};_.g.s9a=function(){return _.B(this,Atc,4)};_.g.x9a=function(){return _.P(this,4)};_.g.r9a=function(){return _.y(this,5)};_.g.w9a=function(){return _.P(this,5)};var Ktc=function(a){_.J.call(this,a)};_.K(Ktc,_.J);_.g=Ktc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Mp=function(){return _.P(this,1)};
_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};_.g.Te=function(){return _.y(this,5)};_.g.Wl=function(a){return _.w(this,5,a)};_.g.p9a=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.B(this,Itc,3)};_.g.o9a=function(){return _.B(this,Jtc,4)};var Ltc=function(a){_.J.call(this,a,-1,Htc)};_.K(Ltc,_.J);Ltc.prototype.O=function(){return _.Qj(this,Ktc,1)};
var Mtc=function(a,b){_.Mj(a,1,b)},Ntc=function(a){_.J.call(this,a)};_.K(Ntc,_.J);Ntc.prototype.O=function(){return _.y(this,1)};Ntc.prototype.fW=function(){return _.P(this,1)};Ntc.prototype.getOptions=function(){return _.B(this,Ltc,2)};var Otc=function(a){_.J.call(this,a)};_.K(Otc,_.J);Otc.prototype.fW=function(){return _.P(this,1)};Otc.prototype.getOptions=function(){return _.B(this,Ftc,2)};var Ptc=function(a){_.J.call(this,a)};_.K(Ptc,_.J);var Qtc=function(a){_.J.call(this,a)};_.K(Qtc,_.J);
Qtc.prototype.fW=function(){return _.P(this,1)};Qtc.prototype.getOptions=function(){return _.B(this,Ptc,2)};var DL=[[3,4,5,6,7,8,9,10,11,12]],Rtc=function(a){_.J.call(this,a,-1,void 0,DL)};_.K(Rtc,_.J);_.g=Rtc.prototype;_.g.Dca=function(a){return _.Rj(this,3,DL[0],a)};_.g.i4a=function(a){return _.Rj(this,4,DL[0],a)};_.g.x3a=function(a){return _.Rj(this,5,DL[0],a)};_.g.w3a=function(a){return _.Rj(this,6,DL[0],a)};_.g.k3a=function(a){return _.Rj(this,7,DL[0],a)};
_.g.W3a=function(a){return _.Rj(this,8,DL[0],a)};_.g.V3a=function(a){return _.Rj(this,9,DL[0],a)};_.g.n4a=function(a){return _.Rj(this,10,DL[0],a)};_.g.Foa=function(a){return _.Rj(this,11,DL[0],a)};_.g.noa=function(a){return _.Rj(this,12,DL[0],a)};var Stc=function(a){_.J.call(this,a)};_.K(Stc,_.J);var Ttc=function(a){_.J.call(this,a)};_.K(Ttc,_.J);Ttc.prototype.O=function(){return _.y(this,1)};Ttc.prototype.fW=function(){return _.P(this,1)};
Ttc.prototype.getOptions=function(){return _.B(this,Stc,2)};var Utc=function(a){_.J.call(this,a,-1,void 0,CL)};_.K(Utc,_.J);_.g=Utc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.i9a=function(){return _.y(this,2)};_.g.se=function(){return _.y(this,4)};_.g.h9a=function(){return _.B(this,Btc,5)};_.g.getCapabilities=function(){return _.B(this,Ctc,6)};_.g.n9a=function(){return _.y(this,7)};_.g.k3a=function(a){return _.Rj(this,13,CL[0],a)};
_.g.g9a=function(){return _.B(this,Dtc,19)};_.g.noa=function(a){return _.Rj(this,19,CL[0],a)};_.g.w3a=function(a){return _.Rj(this,12,CL[0],a)};_.g.x3a=function(a){return _.Rj(this,11,CL[0],a)};_.g.ksb=function(){return _.B(this,Etc,10)};_.g.j9a=function(){return _.B(this,Ntc,15)};_.g.V3a=function(a){return _.Rj(this,15,CL[0],a)};_.g.k9a=function(){return _.B(this,Ltc,14)};_.g.W3a=function(a){return _.Rj(this,14,CL[0],a)};_.g.i4a=function(a){return _.Rj(this,9,CL[0],a)};
_.g.l9a=function(){return _.B(this,Ftc,8)};_.g.Dca=function(a){return _.Rj(this,8,CL[0],a)};_.g.m9a=function(){return _.B(this,Ttc,18)};_.g.Foa=function(a){return _.Rj(this,18,CL[0],a)};_.g.n4a=function(a){return _.Rj(this,17,CL[0],a)};var Vtc=[5],Wtc=function(a){_.J.call(this,a)};_.K(Wtc,_.J);Wtc.prototype.ha=function(){return _.Q(this,1)};Wtc.prototype.O=function(){return _.Q(this,2)};Wtc.prototype.ka=function(){return _.Q(this,3)};Wtc.prototype.V=function(){return _.Q(this,4)};
var EL=function(a){_.J.call(this,a,-1,Vtc)};_.K(EL,_.J);EL.prototype.getName=function(){return _.y(this,1)};EL.prototype.hd=function(a){return _.w(this,1,a)};EL.prototype.Lm=function(){return _.y(this,2)};var Xtc=function(a,b){return _.w(a,2,b)};EL.prototype.V=function(){return _.y(this,14)};var Ytc=function(a,b){return _.w(a,14,b)};_.g=EL.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Te=function(){return _.y(this,4)};
_.g.Wl=function(a){return _.w(this,4,a)};_.g.y9a=function(){return _.y(this,15)};_.g.Hk=function(){return _.Qj(this,Utc,5)};var Ztc=function(a,b){return _.Mj(a,5,b)},$tc=function(a,b){_.I(a,6,b)},auc=function(a,b){_.I(a,7,b)},buc=function(a,b){_.I(a,8,b)},cuc=function(a,b){return _.w(a,9,b)},duc=function(a,b){return _.w(a,10,b)},euc=function(a,b){return _.w(a,11,b)};EL.prototype.O=function(){return _.B(this,Btc,12)};var fuc=function(a,b){_.I(a,12,b)};
EL.prototype.getCapabilities=function(){return _.B(this,Wtc,13)};var guc=function(a,b){_.I(a,13,b)};EL.prototype.getCustomer=function(){return _.y(this,16)};huc=function(a,b){return _.w(a,16,b)};iuc=[3];_.FL=function(a){_.J.call(this,a,-1,iuc)};_.K(_.FL,_.J);_.FL.prototype.getType=function(){return _.y(this,1)};_.FL.prototype.Cc=function(){return _.y(this,2)};_.hL=function(a){_.J.call(this,a)};_.K(_.hL,_.J);_.hL.prototype.getId=function(){return _.y(this,1)};
_.hL.prototype.Pb=function(a){return _.w(this,1,a)};_.hL.prototype.ve=function(){return _.B(this,_.wf,3)};_.juc=function(a){_.J.call(this,a)};_.K(_.juc,_.J);_.juc.prototype.getFeature=function(){return _.y(this,1)};kuc=[1];_.yK=function(a){_.J.call(this,a,-1,kuc)};_.K(_.yK,_.J);luc=[2,3,8];_.KJ=function(a){_.J.call(this,a,-1,luc)};_.K(_.KJ,_.J);_.KJ.prototype.getId=function(){return _.y(this,1)};_.KJ.prototype.Pb=function(a){return _.w(this,1,a)};
_.KJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.KJ.prototype.yc=function(){return _.y(this,5)};var muc=function(a){_.J.call(this,a)};_.K(muc,_.J);var nuc=[1,2,4],ouc=function(a){_.J.call(this,a)};_.K(ouc,_.J);ouc.prototype.getType=function(){return _.y(this,1)};var puc=function(a){var b=new ouc;return _.w(b,1,a)},quc=function(a,b){return _.I(a,2,b)};ouc.prototype.sy=function(){return _.y(this,3)};ouc.prototype.Yy=function(a){return _.w(this,3,a)};
ouc.prototype.Pi=function(){return _.y(this,4)};ouc.prototype.setPosition=function(a){return _.w(this,4,a)};var ruc=[2],suc=function(a){_.J.call(this,a,-1,ruc)};_.K(suc,_.J);suc.prototype.Bb=function(){return _.y(this,1)};suc.prototype.Dc=function(a){return _.w(this,1,a)};var tuc=[2],GL=function(a){_.J.call(this,a,-1,tuc)};_.K(GL,_.J);GL.prototype.Bb=function(){return _.y(this,1)};GL.prototype.Dc=function(a){return _.w(this,1,a)};GL.prototype.O=function(){return _.Qj(this,BL,2)};
var uuc=function(a,b){return _.Mj(a,2,b)};GL.prototype.Xj=function(){return _.y(this,3)};var vuc=function(a){_.J.call(this,a)};_.K(vuc,_.J);vuc.prototype.Bb=function(){return _.y(this,1)};vuc.prototype.Dc=function(a){return _.w(this,1,a)};wuc=function(a,b){return _.I(a,2,b)};xuc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};yuc=function(a,b){return new _.Sec(_.Tec.bound(a,b,void 0,void 0))};
zuc=function(){var a=new _.ai,b=_.efc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Id(_.yI(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.Auc=function(a){_.J.call(this,a)};_.K(_.Auc,_.J);_.Auc.prototype.Dp=function(){return _.y(this,1)};_.Auc.prototype.Ed=function(){return _.y(this,2)};_.Auc.prototype.setSize=function(a){return _.w(this,2,a)};_.Auc.prototype.getUrl=function(){return _.y(this,3)};
_.Buc=function(a){_.J.call(this,a)};_.K(_.Buc,_.J);_.Buc.prototype.getType=function(){return _.y(this,1)};Cuc=[2,3];_.Duc=function(a){_.J.call(this,a,-1,Cuc)};_.K(_.Duc,_.J);Euc=[4,5,6,17,18,24];_.HL=function(a){_.J.call(this,a,-1,Euc)};_.K(_.HL,_.J);_.HL.prototype.getId=function(){return _.y(this,1)};_.HL.prototype.Pb=function(a){return _.w(this,1,a)};_.HL.prototype.getName=function(){return _.y(this,2)};_.HL.prototype.hd=function(a){return _.w(this,2,a)};
var Fuc=function(a,b){return _.Kj(a,4,b)},Guc=function(a,b){return _.Kj(a,5,b)};_.HL.prototype.NQ=function(){return _.y(this,8)};_.HL.prototype.getType=function(){return _.y(this,23)};var tpc=function(a){_.J.call(this,a)};_.K(tpc,_.J);var Huc=[3],IL=function(a){_.J.call(this,a,-1,Huc)};_.K(IL,_.J);IL.prototype.fq=function(){return _.y(this,1)};var Iuc=function(a,b){return _.w(a,1,b)};IL.prototype.getTitle=function(){return _.y(this,2)};IL.prototype.setTitle=function(a){return _.w(this,2,a)};
IL.prototype.wd=function(){return _.Qj(this,_.el,3)};var Juc=function(a,b){return _.Mj(a,3,b)};IL.prototype.oh=function(a,b){return _.Sj(this,3,a,_.el,b)};IL.prototype.V=function(){return _.y(this,4)};var Kuc=function(a,b){return _.w(a,4,b)};IL.prototype.O=function(){return _.B(this,_.Nk,5)};var Luc=function(a,b){return _.I(a,5,b)},Muc=[2],JL=function(a){_.J.call(this,a,-1,Muc)};_.K(JL,_.J);JL.prototype.Bb=function(){return _.y(this,1)};JL.prototype.Dc=function(a){return _.w(this,1,a)};
JL.prototype.ql=function(){return _.Qj(this,IL,2)};var Nuc=function(a,b){return _.Mj(a,2,b)};JL.prototype.Zf=function(){return _.y(this,4)};Ouc=function(a,b){return _.w(a,4,b)};_.DK=function(a){_.J.call(this,a)};_.K(_.DK,_.J);_.g=_.DK.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.IT=function(){return _.Fj(this,2,void 0,_.rG)};_.g.Xj=function(){return _.y(this,3)};_.g.Ze=function(){return _.y(this,5)};_.g.Li=function(a){return _.w(this,5,a)};
var Puc=[1],iL=[[1,2,3,4,5,6,7]],Yoc=function(a){_.J.call(this,a,-1,void 0,iL)};_.K(Yoc,_.J);var Zoc=function(a){_.J.call(this,a,-1,Puc)};_.K(Zoc,_.J);var KL=function(a){_.J.call(this,a)};_.K(KL,_.J);KL.prototype.getQuery=function(){return _.B(this,_.hf,1,1)};var Quc=function(a,b){return _.I(a,1,b)};KL.prototype.Xn=function(){return _.y(this,4)};var Ruc=function(a,b){return _.I(a,5,b)},Suc=[1,2,5,7,9,10,12,14],LL=function(a){_.J.call(this,a,-1,Suc)};_.K(LL,_.J);
LL.prototype.wd=function(){return _.Qj(this,_.el,1)};var Tuc=function(a,b){return _.Mj(a,1,b)};LL.prototype.oh=function(a,b){return _.Sj(this,1,a,_.el,b)};LL.prototype.Pga=function(a){_.Sj(this,2,a,_.Kk,void 0)};var Uuc=function(a,b){return _.w(a,3,b)};LL.prototype.Zn=function(){return _.y(this,4)};LL.prototype.Eu=function(a){return _.w(this,4,a)};var Vuc=function(a,b){return _.Mj(a,5,b)};LL.prototype.qv=function(){return _.Q(this,6)};var Wuc=function(a,b){return _.w(a,6,b)};
LL.prototype.kf=function(){return _.B(this,_.CB,8)};var Xuc=function(a,b){return _.Kj(a,12,b)};LL.prototype.Wn=function(){return _.Dj(this,13,0)};var Yuc=function(a,b){return _.w(a,13,b)},Zuc={xUb:0,vUb:1,g_b:2,o5b:3,r5b:4},gL=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],Woc=function(a){_.J.call(this,a,-1,void 0,gL)};_.K(Woc,_.J);var cpc=[[1,2]],bpc=function(a){_.J.call(this,a,-1,void 0,cpc)};_.K(bpc,_.J);var fpc=[[1,2,3]],epc=function(a){_.J.call(this,a,-1,void 0,fpc)};_.K(epc,_.J);
var $uc=function(a,b){return 1<a?2===b:a===b},avc=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1===b)return!a||1>=a?2:a+1;if(-2===b)return!a||2>=a?1:a-1;throw Error("Se");},NL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.V=void 0===c?1:c;this.O=d;this.H=e};_.g=NL.prototype;_.g.clone=function(){return new NL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.$y=function(a){this.V=a};_.g.equals=function(a){return this.count===a.$b()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Uj(this.item,a.getItem())};bvc=function(a,b){a.H=b;return a};_.EK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.G_=void 0===c?null:c};_.FK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};
cvc=function(a){_.FK.call(this,a,void 0,void 0,void 0);this.g3a=new _.En};_.K(cvc,_.FK);dvc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.HK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.G_=void 0===c?null:c};_.GK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.G_=void 0===c?null:c};_.IK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};evc=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.fgc.get(b)}).filter(function(b){return b})))).join(",")};
OL=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=evc(b);var d=_.FI(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.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,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"};fvc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+OL(a,b,!1)+")"};PL=function(a){return a instanceof _.el?null!=a.getId()&&a.getId()==a.yc():null!=a.Cc()&&a.Cc()==a.yc()};
gvc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.wg();null!=e&&poc(a,e.clone());if((e=b.getCapabilities())&&null!=_.Q(e,13)){var f=a.getCapabilities()||new _.Zk,h=_.Q(e,13);_.w(f,13,h);_.hK(a,f)}e&&null!=_.Q(e,18)&&(f=a.getCapabilities()||new _.Zk,e=_.Q(e,18),_.w(f,18,e),_.hK(a,f));dL(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.wg()&&dL(a,d,c)};
hvc=function(a,b,c){c=void 0===c?[]:c;if(!b||!PL(a)&&!PL(b))return a;if(2==a.qv()){c=_.y(a,82);var d=b.clone();gvc(d,a);_.Qic(d,b.qv());_.TI(d,c);return d}a=a.clone();gvc(a,b,c);return a};ivc=function(a){return(a=a?a.wg():null)&&_.Q(a,7)||!1};jvc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)};
kvc=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]={}})};mvc=function(a,b,c){b.every(function(d){return PL(d)})?lvc(b,c,a.H,a.O):b.every(function(d){return!PL(d)})&&lvc(b,c,a.items,a.fields)};
lvc=function(a,b,c,d){b=_.rhc(b,[].concat(_.nd(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Hf();e=e?_.Yd(e):null;for(var f=_.m(b),h=f.next();!h.done;h=f.next()){h=h.value;var k=c[h][d.getId()];k&&dL(d,k,[h]);e&&(k=c[h][e.getId()])&&dL(e,k,[h])}}};jvc.prototype.update=function(a,b,c){b&&PL(b)?nvc(a,b,this.H,this.O,c):nvc(a,b,this.items,this.fields,c)};
jvc.prototype.rJ=function(a){var b=this;_.La(this.items,function(c,d){_.Va(b.items[d],a)});_.La(this.H,function(c,d){_.Va(b.H[d],a)})};var nvc=function(a,b,c,d,e){_.La(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.Va(f,a):b&&moc(b,[h])&&(f[a]=ovc(b,h)),b)){var k=b.Hf();(k=k?_.Yd(k):null)&&moc(k,[h])&&(f[k.getId()]=ovc(k,h))}});b&&ioc(b,[].concat(_.nd(d)))},ovc=function(a,b){var c=new _.el;c.Pb(a.getId());dL(c,a,[b]);return c};
jvc.prototype.clear=function(){var a=this;_.La(this.items,function(b,c){a.items[c]={}});_.La(this.H,function(b,c){a.H[c]={}})};jvc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var pvc=function(a,b,c){var d=this;this.vt=b;this.xv=c;this.Hd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=pvc.prototype;_.g.ly=function(){return this.Hd};
_.g.Zj=function(a){var b=new Map;a=_.m(a.jn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Hd.has(c)&&b.set(c,this.Hd.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(qvc(a)){for(var d=_.m(this.Hd.values()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&(void 0===b||$uc(e.V,b))&&c.push(e);this.xv.sort(a,c)}return c};_.g.get=function(a){return this.Hd.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Hd.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,rvc(this,a.H)?(this.Hd.delete(a.id),a.H.count--):this.Hd.set(a.id,a.H)):(this.Hd.delete(a.id),a.O.count--)};var rvc=function(a,b){return 1<b.$b()||$uc(b.V,2)||b.getItem().HI()||Joc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
pvc.prototype.rJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b=b.value,rvc(this,b)&&(this.Hd.delete(b.getId()),b.count--)};var svc=function(a,b,c,d){this.Kg=a;this.W=b;this.O=c;this.V=d},upc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),mvc(a.V,[b.getItem()],Csc(a.Kg)),b):null};svc.prototype.H=function(a){return(a=upc(this,a))?a.getItem():null};
var tvc=function(a,b){var c={};b.forEach(function(d){var e=upc(a,d);e&&(c[d]=e)});return c},uvc=function(a,b){return _.Na(tvc(a,b),function(c){return c.getItem()})},vvc=function(a,b){b=RL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};svc.prototype.query=function(a){return vvc(this,a).map(function(b){return b.getItem()})};svc.prototype.Ed=function(){return this.O.ly().size};
var wvc=function(a){var b=new Set;a=_.m(a.O.ly().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.fl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||bL(e));(d=c.wm())&&b.add(d.getId()||bL(d));(d=c.Tt())&&b.add(d.getId()||bL(d));(d=c.Fq())&&b.add(d.getId()||bL(d));(c=c.mD())&&b.add(c.getId()||bL(c))}return b.size},xvc=function(a){var b=new _.Wo;_.xK(b,"hidden",_.Q(a,4));a=_.Q(a,6);null!=a&&_.xK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
yvc=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}},zvc=function(a){var b=_.udc(),c={};b&&(c.numeric=b);this.H=_.vdc(a,c)};zvc.prototype.compare=function(a,b,c){b=Avc(b);c=Avc(c);a=a.wc();var d=yvc(a);if(a&&d){d=Bvc(this,a);var e=4===a.getType()?this.H:_.Ea;return Cvc(a,d,e,b,c)}return _.Ea(b.getId(),c.getId())};
zvc.prototype.sort=function(a,b,c){a=a.wc();var d=yvc(a);a&&d&&(d=Bvc(this,a),d=Dvc(b,d),_.Ga(b,Evc(this,a,d)));c&&0<c&&_.Aa(b,c,b.length-c)};
var Avc=function(a){return a instanceof _.el?a:a.getItem()},Bvc=function(a,b){b=yvc(b);return _.M(a.O,a,b,_.Ea)},Dvc=function(a,b){var c={};a.forEach(function(d){d=Avc(d);var e=d.getId();c[e]=b(d)});return c},Evc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ea;d=Avc(d);e=Avc(e);return Cvc(b,function(h){return c[h.getId()]},f,d,e)}},Cvc=function(a,b,c,d,e){var f=1===a.qf()?1:-1;if(_.Q(a,3)){a=fL(d,!0);var h=fL(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ea(d.getId(),
e.getId()))};zvc.prototype.O=function(a,b,c){for(var d=Fvc(a[0],c),e=1;e<a.length;e++){var f=Fvc(a[e],c);d=1===b(f,d)?f:d}return d};
var Fvc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.cB()||!1;case 12:return b.oz()||0;case 11:return b.sB()||0;case 10:return b.vq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.vy()||0;case 57:return _.y(b,62)||0;case 32:return b.Su()||0;case 9:return b.ZC()||0;case 67:return b.RJ()||0;case 98:return b.Zv()||0;default:return""}},Gvc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.xq=_.ZI(_.AI(b));
a=_.PI(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};Gvc.prototype.Eu=function(a){this.rootId=a||""};
var RL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Gl(b).filter(function(d){return"root"===d.Za()}).forEach(function(d){return d.Jb(a.rootId)});_.of(b,_.Fl(b).map(function(d){d.Jb(d.Za().toLowerCase());return d}));c&&_.El(b,a.fields);b.O().sort();return b},xL=function(a,b,c){if(b instanceof _.hf){b=RL(a,b);var d=_.kkc(b)}else if(b instanceof _.yA)d=b.jn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.uI)return d=xvc(b),d+"|tdList";if(b instanceof _.qG)return d=
b.jn().sort().join(","),b.O().length&&(d+="|"+evc(b.O())),d+"|tdMap";throw Error("We");}return 3===c?d:d+"|"+Hvc(a,b.O(),2===c)},Hvc=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+" - "+_.cJ({fields:[].concat(_.nd(f)),xq:a.xq}));e.size&&(d=d+" + "+_.cJ({fields:[].concat(_.nd(e)),xq:a.xq}));
return d};Gvc.prototype.equals=function(a,b,c){var d;c&&(d=3);return xL(this,a,d)===xL(this,b,d)};
var mtc=function(a){if(!a.jn().every(function(b){return!_.ie(b)}))throw new _.qc("Invalid ids for FindByIdsRequest");},Jvc=function(a,b,c){if(_.zJ(b))throw new _.qc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");Ivc(a,b,c)},Ivc=function(a,b,c){var d;a.O||(d=_.$I(3));if(b.getId())throw new _.qc("Use findByIds() for find by id queries.",d?d:_.$I(3));if(!b.Ei()||0>=b.Ei())throw new _.qc("A positive limit is required on an ItemQueryRequest.",d?d:_.$I(3));
_.Td(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),Kvc(a,d,b.O()));if(c=(c=b.wc())&&yvc(c))d=b.O().length?b.O():a.fields,Kvc(a,d,c);if(_.yJ(b)){if(a.xq)throw new _.qc("User must be authenticated for a Quick Access request.");if(!Lvc(a)&&20<b.Ei())throw new _.qc("Limit must be in the range [1, 20].");c=2===_.kK(b);d=_.Td(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=_.Nj(_.qb(_.Lj(_.qb(_.qb(_.qb(_.hI(_.qb(_.Lj(_.hI(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.hf;if(!_.Uj(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: "+Zsc(d,c));}else if(_.S(b,74,!1))throw new _.qc("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.AJ(b)){if(a.xq)throw new _.qc("User must be authenticated for a DrivePriority request.");if(2===
_.kK(b))throw new _.qc("Team Drive corpora is not valid for a Drive Priority request.");a=_.qb(_.qb(_.qb(_.Lj(_.hI(b.clone(),1),30),32),45),52);b=new _.hf;if(!_.Uj(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: "+Zsc(b,a));}},Mvc=function(a,b,c){if(!_.zJ(b))throw new _.qc("Expected a PeoplePredict request.");Ivc(a,b,c);if(a.xq)throw new _.qc("User must be authenticated for a People Predict request.");
if(2===_.kK(b))throw new _.qc("Team Drive corpora is not valid for a People Predict request.");a=_.qb(_.qb(_.qb(_.Lj(_.hI(b.clone(),1),30),32),45),49);b=new _.hf;if(!_.Uj(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: "+Zsc(b,a));},Kvc=function(a,b,c){var d;a.O||(d=_.$I(3));if(!noc(b,c,_.phc)){var e=_.cJ({fields:c,xq:a.xq}),f=_.cJ({fields:b,xq:a.xq});a=_.cJ({fields:ooc(c,
b),xq:a.xq});throw new _.qc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.$I(3));}},Lvc=function(a){return 200<=_.mK(a.H)&&300>_.mK(a.H)},Nvc=function(a){var b=new Set;a=_.m(_.Fl(a));for(var c=a.next();!c.done;c=a.next())switch(_.BOa(c.value.Za())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");
break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("DRIVE_FORM")}return[].concat(_.nd(b))},Ovc=function(a){switch(_.mK(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"}},Pvc=function(a){_.N.call(this);this.H=a};_.Sf(Pvc,_.N);_.g=Pvc.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.rO=function(a){this.H.addCallback(function(b){b.rO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();Pvc.wb.Ya.call(this)};
var Qoc=function(a){_.Wy.call(this);this.H=a;this.V=_.Ce(this.H,"message",this.job,!1,this)};_.Sf(Qoc,_.Wy);_.g=Qoc.prototype;_.g.Od=null;_.g.send=function(a,b){var c=[];b=this.gya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.mgc&&(a=(0,_.Fi)(a));this.H.postMessage(a,c)};
_.g.job=function(a){a=a.Be;var b=a.data;if(_.mgc)try{b=JSON.parse(b)}catch(e){return}if(_.Ba(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.zBa(a.ports||[],b),d.oEa),null!=b&&d.callback(b))}};
_.g.gya=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.M)(this.gya,this,a)):b&&b.constructor==Object?_.Na(b,function(c,d){c=this.gya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.zBa=function(a,b){return Array.isArray(b)?b.map((0,_.M)(this.zBa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Na(b,function(c,d){return this.zBa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.xi(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;Qoc.wb.Ya.call(this)};
var Toc=function(a,b){if("*"==b)return new Pvc(_.ji(Error("Xe")));var c=new _.Bi(50),d=_.Db(_.aa,c),e=new _.ai(d);_.ci(e,d);c.start();_.Ce(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new Qoc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new Pvc(e)},Qvc=function(a){_.N.call(this);this.H=new _.yec(a);this.V={};this.O=_.Aec(this.H,
"private");this.W=_.Aec(this.H,"public");this.O.registerService("mics",(0,_.M)(this.Dlb,this),!0)};_.Sf(Qvc,_.N);_.g=Qvc.prototype;_.g.bFb=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.bFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Dlb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.M)(this.Clb,this,b),!0)};
_.g.Clb=function(a,b){a=a(b.data);var c=b.signature;_.Wh(a).then((0,_.M)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var Rvc=function(a,b){_.N.call(this);this.W=b;this.started=!1;this.V=new _.yec(a);this.Ma(this.V);this.H=new Qvc(_.Aec(this.V,"direct"));this.Ma(this.H)};_.K(Rvc,_.N);Rvc.prototype.registerService=function(a,b){this.H.registerService(a,b)};Rvc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.Of)(d)})};
var Soc=function(a,b){Rvc.call(this,a,b);this.O=new Qvc(_.Aec(this.V,"passthrough"));this.Ma(this.O)};_.K(Soc,Rvc);var SL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},TL=function(a,b,c,d){a.O.send(b,c||{},d||_.Of)};Soc.prototype.start=function(){this.started||(this.started=!0)};var Noc=[],Svc=function(){_.Wy.call(this);this.H=null};_.K(Svc,_.Wy);Svc.prototype.send=function(a,b){_.V8a(this.H,a,b)};
var Uoc=function(){this.O=new Svc;this.H=new Svc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},Tvc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},Uvc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&Moc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},Vvc=function(a){var b=new Tvc(a.c,a.m,a.a,a.req);b.H=a.s;return b},Wvc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},Xvc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&Moc(a.data);return{d:a.data,err:a.error&&b?a.error.Lc():a.error,uid:a.O,s:b}},Yvc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.oc(JSON.parse(a.err)):c;a=new Wvc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},Loc=function(a,b){this.H=a;this.LD=b};Loc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.LD[b];return a};
Loc.prototype.Lc=function(){for(var a={},b={},c=0;c<this.LD.length;c++){var d=this.LD[c],e=this.H[c];d instanceof Error?b[e]=_.NI(d).Lc():a[e]=d.Lc()}return{r:a,e:b}};Zvc=function(a,b){if(b){var c=[],d=[];_.La(a.r,function(e,f){c.push(f);d.push(new _.XJ(JSON.parse(e)))});_.La(a.e,function(e,f){c.push(f);e=new _.oc(JSON.parse(e));d.push(_.aJ(e))});return new Loc(c,d)}return a};Roc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
$vc={dTb:0,zTb:1,sZb:3,G6b:5,Ohb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.kJ=function(a){_.J.call(this,a)};_.K(_.kJ,_.J);_.kJ.prototype.Bh=function(){return _.y(this,1)};_.kJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.nJ=function(a){_.J.call(this,a)};_.K(_.nJ,_.J);_.nJ.prototype.Cc=function(){return _.y(this,1)};_.nJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.vJ=function(a){_.J.call(this,a)};_.K(_.vJ,_.J);_.vJ.prototype.Bh=function(){return _.y(this,1)};
_.vJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.wJ=function(a){_.J.call(this,a)};_.K(_.wJ,_.J);_.wJ.prototype.Bh=function(){return _.y(this,1)};_.wJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.xJ=function(a){_.J.call(this,a)};_.K(_.xJ,_.J);_.g=_.xJ.prototype;_.g.Cc=function(){return _.y(this,1)};_.g.zf=function(){return _.y(this,2)};_.g.getType=function(){return _.y(this,3)};_.g.Za=function(){return _.y(this,4)};_.g.Jb=function(a){return _.w(this,4,a)};
_.g.Ti=function(){return _.qb(this,4)};_.g.jh=function(){return _.P(this,4)};_.g.ve=function(){return _.B(this,_.wf,7)};_.EJ=function(a){_.J.call(this,a)};_.K(_.EJ,_.J);_.EJ.prototype.Cc=function(){return _.y(this,1)};_.EJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.EJ.prototype.Ei=function(){return _.Vj(this,3,1E3)};_.EJ.prototype.ui=function(a){return _.w(this,3,a)};_.IJ=function(a){_.J.call(this,a)};_.K(_.IJ,_.J);_.IJ.prototype.ve=function(){return _.B(this,_.wf,1)};
var awc=function(){var a=new _.IJ,b=_.xf(new _.wf,301);return _.I(a,1,b)};_.IJ.prototype.yc=function(){return _.y(this,3)};_.Nhc=function(a){_.J.call(this,a)};_.K(_.Nhc,_.J);_.Nhc.prototype.yc=function(){return _.y(this,1)};_.MJ=function(a){_.J.call(this,a)};_.K(_.MJ,_.J);_.MJ.prototype.Bh=function(){return _.y(this,1)};_.MJ.prototype.ve=function(){return _.B(this,_.wf,4)};var bwc=function(a){_.J.call(this,a)};_.K(bwc,_.J);cwc=function(a,b){return _.w(a,1,b)};_.lJ=function(a){_.J.call(this,a)};
_.K(_.lJ,_.J);_.lJ.prototype.getId=function(){return _.y(this,1)};_.lJ.prototype.Pb=function(a){return _.w(this,1,a)};_.BJ=function(a){_.J.call(this,a)};_.K(_.BJ,_.J);_.BJ.prototype.getId=function(){return _.y(this,1)};_.BJ.prototype.Pb=function(a){return _.w(this,1,a)};_.Ahc=function(a){_.J.call(this,a)};_.K(_.Ahc,_.J);_.Ehc=function(a){this.H=a;this.type=1};_.Fhc=function(a){this.H=a;this.type=0};_.Mhc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.Phc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};dwc=function(a,b,c){_.zi.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.K(dwc,_.zi);dwc.prototype.IB=function(){return this.O};dwc.prototype.iQ=function(){var a=this;if(this.W)return this.W;var b=_.Zh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);ewc(this,b);return b.promise};
dwc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,fwc(this))};dwc.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 rtc("nb")))};
var gwc=function(a,b){a.ha=b},fwc=function(a){a.H||(a.H=new _.elc(5E3),a.timeout=_.n.setTimeout(function(){return hwc(a)},a.H.Za()))},hwc=function(a){ewc(a);a.H&&(_.cI(a.H),a.timeout=_.n.setTimeout(function(){return hwc(a)},a.H.Za()))},ewc=function(a,b){var c=_.Wh();a.ha&&(c=a.ha());c.then(function(){return iwc(a,b)})},iwc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Re(new _.Ohc)});b?c.then(function(){b.resolve(cwc(new bwc,1))},function(d){var e=_.DB(d).Qg;
d=0;_.zgc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.iq(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new bwc;cwc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.DB(d);_.zgc(d.Qg)&&a.V&&(a.dispatchEvent(new rtc("ob")),a.V=!1)})};dwc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var jwc=function(a){return _.B(a,_.GI,3)||_.B(a,_.VJ,4)||_.B(a,_.LK,5)||_.B(a,_.PJ,6)||_.B(a,_.pJ,7)||_.B(a,_.iJ,8)||_.B(a,_.mJ,9)||_.B(a,_.QI,10)},kwc=function(a){_.J.call(this,a)};_.K(kwc,_.J);_.g=kwc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.Xz=function(){return _.y(this,3)};_.g.Le=function(){return _.y(this,4)};_.g.Mi=function(a){return _.w(this,4,a)};var lwc=function(a){this.Od=a;this.H=new Map;this.O=this.Od.W};
lwc.prototype.create=function(a,b){if(0!=Jsc(b)){var c=this.Od.H(106001);if(c){var d=Jsc(b),e=qL(c);_.w(e,2,d);d=qL(c);e=null;if(b instanceof _.AG||b instanceof _.yA||b instanceof _.hf||b instanceof _.CJ||b instanceof _.JD||b instanceof _.qG||b instanceof _.uI||b instanceof _.BI||b instanceof _.sG||b instanceof _.fA)e=b.ve();e=e&&_.S(e,2,!1);_.w(d,7,"boolean"==typeof e?e:void 0);d=qL(c);b=b instanceof _.hf?0<_.Gl(b).length:void 0;_.w(d,8,b);this.H.set(a,c)}}};
var mwc=function(a,b,c){if(a=a.H.get(b))a=qL(a),_.w(a,5,c)},nwc=function(a,b,c){(a=a.H.get(b))&&_.Q(qL(a),8)&&(a=qL(a),_.w(a,9,c))},owc=function(a,b,c,d,e){var f=a.H.get(b);f&&(qL(f).Dc(c),qL(f).Li(d),null!=e&&(c=qL(f),_.w(c,6,e)),f.yj(),a.H.delete(b))},pwc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=Ksc(c);if(1==e||2==c)e=_.AK(_.pgc,c),d=qL(d),d=3==e||8==e?!_.Q(d,5):0!=e?_.Mgc.has(e):null,owc(a,b,1,e,d)}},qwc=function(a,b,c){var d=a.O.Bb(c);d=_.AK(_.ogc,d||22);var e=Ksc(c);e=_.AK(_.pgc,
e);owc(a,b,d,e,"undefined"!=typeof _.EK&&c instanceof _.EK||"undefined"!=typeof _.GK&&c instanceof _.GK||"undefined"!=typeof _.HK&&c instanceof _.HK?c.G_:null)},UL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(qL(d).Dc(c),d.yj(),a.H.delete(b))},rwc=[2,4],VL=function(a){_.J.call(this,a,-1,rwc)};_.K(VL,_.J);VL.prototype.Bb=function(){return _.y(this,1)};VL.prototype.Dc=function(a){return _.w(this,1,a)};VL.prototype.Xj=function(){return _.y(this,3)};
var swc=[4,9],twc=function(a){_.J.call(this,a,-1,swc)};_.K(twc,_.J);_.g=twc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.sVa=function(){return _.y(this,2)};_.g.FLa=function(){return _.y(this,3)};_.g.$rb=function(){return _.Qj(this,_.JI,4)};var uwc={n6b:0,Q0b:1,T0b:2,R0b:4,zZb:5,NWb:6,GZb:7,f1b:8},vwc=function(a){_.J.call(this,a)};_.K(vwc,_.J);vwc.prototype.getUrl=function(){return _.y(this,1)};var WL=function(a){_.J.call(this,a)};_.K(WL,_.J);
var wwc=function(a,b){return _.w(a,1,b)};WL.prototype.getName=function(){return _.y(this,2)};WL.prototype.hd=function(a){return _.w(this,2,a)};WL.prototype.getEmail=function(){return _.y(this,3)};var xwc=function(a,b){return _.w(a,3,b)};WL.prototype.lp=function(){return _.P(this,3)};var ywc=[1],zwc=function(a){_.J.call(this,a,-1,ywc)};_.K(zwc,_.J);var Awc=function(a,b){return _.Mj(a,1,b)},Bwc=function(a){_.J.call(this,a)};_.K(Bwc,_.J);_.g=Bwc.prototype;_.g.Cc=function(){return _.y(this,1)};
_.g.Bb=function(){return _.y(this,2)};_.g.Dc=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.B(this,_.oc,3)};_.g.Je=function(a){return _.I(this,3,a)};_.g.ao=function(){return _.P(this,3)};var Cwc=[2],XL=function(a){_.J.call(this,a,-1,Cwc)};_.K(XL,_.J);XL.prototype.Bb=function(){return _.y(this,1)};XL.prototype.Dc=function(a){return _.w(this,1,a)};XL.prototype.ql=function(){return _.Qj(this,_.rG,2)};var Dwc=function(a,b){return _.Mj(a,2,b)};
XL.prototype.Xj=function(){return _.y(this,3)};var Ewc=[1],Fwc=function(a){_.J.call(this,a,-1,Ewc)};_.K(Fwc,_.J);var Gwc=function(a,b){return _.Kj(a,1,b)},Hwc=function(a,b){this.O=a|0;this.H=b|0};Hwc.prototype.equals=function(a){return this===a?!0:a instanceof Hwc?this.O===a.O&&this.H===a.H:!1};Hwc.prototype.Ec=function(){return 31*this.O+17*this.H|0};
var Iwc=function(a,b){return new Hwc(a,b)},Jwc=function(a,b){b=~b;a?a=~a+1:b+=1;return Iwc(a,b)},Kwc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?Jwc:Iwc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},Lwc=function(){this.H=this.W=this.O=this.V=null},Mwc=function(a,b,c){this.id=a;this.O=b;this.H=c},Nwc=function(a,b){return new Mwc((a?a:b).getId(),a,b)},YL=function(a){return new Mwc(a.getId(),null,a)},Owc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},ZL=function(a,b,c){if(a.started)throw Error("ff");c={Do: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)}},$L=function(a,b){if(!a.started)throw Error("gf");if(!a.enabled)throw Error("hf`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.Do.delete(b);if(0===e.Do.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.aJ(f):null,f;}}}};Owc.prototype.H=function(a){return this.V.has(a)};Owc.prototype.start=function(){this.started=!0};Owc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var Pwc=function(){_.zi.call(this);this.H=Date.now()};_.K(Pwc,_.zi);Pwc.prototype.mF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var Qwc=function(a,b){this.vt=a;this.xv=b;this.XG=!0;this.S7=!1;this.Ke=0},aM=function(a,b){(a.XG=b)||a.rJ()};_.g=Qwc.prototype;
_.g.vka=function(a,b){if(5===this.CE(a))throw Error("jf");for(var c=[],d=_.m(this.ly()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&c.push(e);this.xv.sort(a,c,b);return c};_.g.Ed=function(){return this.ly().length};_.g.Zj=function(a,b){b=this.vka(a,b);b=kpc(b);var c=new _.rB;c.Uw(b);c.Dc(this.FN(a)?6:1);return c};_.g.update=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(!b&&!c)return!1;b&&this.iJ(a.O);c&&this.sR(a.H);return!0};
_.g.CE=function(a){return this.XG&&this.S7?qvc(a)?1:5:5};_.g.WW=function(){this.S7=!0};_.g.xs=function(a){return!!a&&this.XG};_.g.Li=function(a){this.Ke=a};_.g.Ze=function(){return this.Ke};var bM=function(a,b,c,d,e,f){f=void 0===f?"":f;Qwc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Hd=[];this.O={};this.request=RL(c,d,!0);this.W=xL(c,d);this.H=!e;Rwc(this,e);this.V=function(k,l){return h.xv.compare(h.request,k,l)}};_.K(bM,Qwc);_.g=bM.prototype;_.g.qd=function(){return this.request};
_.g.QM=function(){return this.W};_.g.sR=function(a){var b=this.O[a.getId()];b&&this.iJ(b);coc(this.Hd,a,this.V);this.O[a.getId()]=a;a.count++;this.Hd.length>this.request.Ei()&&(this.iJ(_.ia(this.Hd)),this.H=!1)};_.g.iJ=function(a){var b=this.Hd,c=_.Fa(b,a,this.V);0<=c&&_.sa(b,c);_.Va(this.O,a.getId());a.count--};_.g.rJ=function(){this.Hd.forEach(function(a){a.count--});this.Hd=[];this.O={}};_.g.ly=function(){return this.Hd};
_.g.CE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=noc(b,a,_.phc);return b?this.H?1:6:5};_.g.vka=function(a,b){if(5===this.CE(a))throw Error("jf");b=b?Math.min(b,this.Hd.length):this.Hd.length;return _.za(this.Hd,0,b)};_.g.xs=function(a){if(!Qwc.prototype.xs.call(this,a)||!QL(this.vt,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.ia(this.Hd);return!!b&&0>=this.V(a,b)};_.g.FN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.tl=function(a,b){var c=this,d=_.ia(this.Hd);!this.H&&d&&_.ma(a,function(e){return e.getId()===d.getId()})&&(b?(this.iJ(d),Rwc(this,_.ia(a))):this.H=!0);_.Ia(a,function(e){c.update(YL(e))})};var Rwc=function(a,b){b&&QL(a.vt,a.request,b.getItem())&&a.sR(b)};bM.prototype.qy=function(){return this.nextPageToken};var cM=function(a,b){Qwc.call(this,a,b);this.Hd=new Map};_.K(cM,Qwc);cM.prototype.sR=function(a){this.Hd.set(a.getId(),a);a.count++};
cM.prototype.iJ=function(a){this.Hd.delete(a.getId());a.count--};cM.prototype.rJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Hd=new Map};cM.prototype.ly=function(){return Array.from(this.Hd.values())};var dM=function(a,b){cM.call(this,a,b);this.WW()};_.K(dM,cM);_.g=dM.prototype;
_.g.CE=function(a){var b=this,c=cM.prototype.CE.call(this,a);if(5===c)return c;if(0<_.Td(a,33).length)return 5;a=_.Gl(a);return 0<a.length?a.every(function(d){return(d=b.Hd.get(d.Za()))&&!d.getItem().yc()&&d.H})?1:5:5};_.g.xs=function(a){return cM.prototype.xs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().yc())};_.g.vka=function(a,b){for(var c=[],d=_.m(this.ly()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&c.push(e);this.xv.sort(a,c,b);return c};_.g.qd=function(){return new _.hf};
_.g.QM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.FN=function(){return!1};var Swc=function(a){return[].concat(_.nd(a.Hd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},eM=function(a,b,c,d){cM.call(this,a,b);var e=this;this.H=d;ZL(c,["aU7Ts","BNEDtc"],function(){return e.WW()})};_.K(eM,cM);
eM.prototype.CE=function(a){var b=this,c=cM.prototype.CE.call(this,a);if(5==c)return c;if(0<_.Td(a,33).length)return 5;a=_.Gl(a);return 0<a.length&&!a.every(function(d){d=b.Hd.get(d.Za());return null!=d&&!d.getItem().yc()&&woc(d.getItem())&&!_.Q(d.getItem(),108)})?5:1};eM.prototype.xs=function(a){return cM.prototype.xs.call(this,a)&&Twc(this,a.getItem())};var Twc=function(a,b){if(_.Q(b,31)||!a.S7)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Hd.get(d);return d==c||null!=e&&woc(e.getItem())})};
_.g=eM.prototype;_.g.WW=function(){cM.prototype.WW.call(this);for(var a=_.m(this.Hd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;Twc(this,c.getItem())||(c.count--,this.Hd.delete(b))}};_.g.qd=function(){return new _.hf};_.g.QM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.FN=function(){return!1};
var Uwc=/^[\x00-\x7F]*$/,fM=function(){this.H=[this.W,this.O,this.V,this.ha,this.cEb,this.ZDb,this.PDb,this.SDb,this.RDb,this.WDb,this.NDb,this.QDb,this.XDb,this.YDb,this.$Db,this.ODb,this.bEb,this.aEb,this.KDb,this.UDb,this.TDb,this.LDb,this.VDb,this.dEb,this.MDb];this.rootId=""};fM.prototype.Eu=function(a){this.rootId=a||""};
var qvc=function(a){return Vwc(a)&&0==_.Td(a,40).length&&void 0==_.y(a,41)},Vwc=function(a){var b=!0;_.Qj(a,_.kf,13).forEach(function(d){"me"!=d.Za()&&(b=!1)});var c=a.wc();c=!c||5!=c.getType();return 0==_.Qj(a,_.Al,5).length&&0==_.Qj(a,_.kf,14).length&&0==_.Qj(a,_.kf,15).length&&!_.P(a,58)&&!_.Q(a,18)&&!_.Q(a,34)&&0==_.Qj(a,_.vl,35).length&&0==_.Qj(a,_.vl,38).length&&c&&b&&0==_.Td(a,39).length&&!_.y(a,42)&&0==_.Qj(a,_.ul,44).length&&!_.yJ(a)&&!_.zJ(a)&&!_.AJ(a)&&0==_.Qj(a,_.wl,57).length&&Wwc(a)&&
!_.B(a,_.Hoa,59)&&null==_.Q(a,60)&&0==_.Qj(a,_.kf,68).length&&0==_.Qj(a,_.kf,67).length&&null==_.Q(a,69)&&!_.Q(a,73)},Wwc=function(a){return _.Qj(a,_.Bl,4).every(function(b){b=b.Za();return!b||!b.includes("*")&&Uwc.test(b)})};fM.prototype.K8=function(a,b){var c=this;return b.filter(function(d){return QL(c,a,d)})};var QL=function(a,b,c){return!!c&&Xwc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},Xwc=function(a,b){return b.getId()!=a.rootId&&!PL(b)};
fM.prototype.W=function(a,b){var c=!0,d=_.Qj(a,_.Bl,4);if(!Wwc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Za()){var f=_.S(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Za().toLowerCase();if(2==_.y(e,1))h=k==h,c=c&&(f?!h:h);else{e=[];if(0<=k.indexOf("-"))for(var l=RegExp("\\w*-[\\w-]*"),p=_.m(k.match(l)||[]),q=p.next();!q.done;q=p.next())e.push(q.value),k=k.replace(l,"");e.push.apply(e,_.nd(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.mg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.Pg(l)+"($|[^\\w])|(^|[ ])"+_.Pg(l)):new RegExp(_.Pg(l))),c=c&&(f?!l:l))}}}return c};
fM.prototype.O=function(a,b){var c=_.Fl(a),d=0,e=0,f=!1,h=!1;c=_.m(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.Za()){var l=b.getMimeType()||"";if(_.Q(k,4)){var p=b.Hf();l=p&&_.y(p,3)||""}p=_.S(k,2,!1);var q=k.Za();_.ZJ(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.Dj(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
fM.prototype.V=function(a,b){var c=!0;a=_.Qj(a,_.yl,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.vq();c=c&&Ywc(e,d)}return c};fM.prototype.ha=function(a,b){var c=!0;a=_.Qj(a,_.yl,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.oz();c=c&&Ywc(e,d)}return c};var Ywc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0};
_.g=fM.prototype;_.g.cEb=function(a,b){var c=a.Xh();a=(a=_.kK(a))&&(2==a||3==a);return null==c||c==!!b.Xh()&&(!c||1==b.Yo()||!!a)};_.g.ZDb=function(a,b){return null==_.Q(a,10)||_.Q(a,10)==!!b.cB()};_.g.PDb=function(a,b){return null==_.Q(a,11)||_.Q(a,11)==!!_.Q(b,6)};_.g.SDb=function(a,b){a=_.Gl(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Za()){var d="root"==c.Za()&&this.rootId||c.Za();d=b.mk().includes(d);if(_.S(c,2,!1)?d:!d)return!1}return!0};
_.g.RDb=function(a,b){a=_.Qj(a,_.kf,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Za()){var d=1==b.Yo();if(_.S(c,2,!1)?d:!d)return!1}return!0};_.g.WDb=function(a,b){return null==_.Q(a,16)||(_.Q(a,16)?null!=b.vy():!0)};_.g.NDb=function(a,b){var c=_.Q(a,17);a=(a=_.kK(a))&&(2==a||3==a);return null==c||c==!!b.HI()&&(!c||1==b.Yo()||!!a)};_.g.QDb=function(a,b){b=Hoc(b);return null==_.Q(a,19)||_.Q(a,19)==!!_.bl(b)};
_.g.XDb=function(a,b){var c=_.bb(_.Td(b,56));a=_.Qj(a,_.jK,25);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};_.g.YDb=function(a,b){if(0==a.AB().length)return!0;var c=_.bb(b.AB().map(function(d){return _.y(d,1)}));a=_.bb(a.AB().map(function(d){return _.y(d,1)}));return _.Oa(a,function(d,e){return c[e]})};_.g.$Db=function(a,b){a=_.Td(a,33);return!a.length||a.includes(b.yc()||"")};_.g.ODb=function(a,b){var c=_.bb(_.Td(b,50));a=_.Qj(a,_.zl,37);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};
_.g.bEb=function(a,b){return _.y(a,41)?(b=_.B(b,_.eK,86),null!=b&&_.y(a,41)==_.y(b,3)):!0};_.g.aEb=function(a,b){if(_.Td(a,40).length){if(b=_.B(b,_.eK,86)){var c=_.bb(_.Td(b,2));return _.Td(a,40).some(function(d){return c[d]})}return!1}return!0};_.g.KDb=function(a,b){var c=_.kK(a);return 1==c?(b=_.Q(b,31),!!_.Gl(a).length||!!_.Qj(a,_.vl,35).length||1==_.Q(a,18)||_.yJ(a)||_.zJ(a)||_.AJ(a)||!!a.Jp()||null==b||b):2==c?!!b.yc():!0};
_.g.UDb=function(a,b){return _.yJ(a)?!_.P(b,100)||b.Xh()?!1:_.S(a,74,!1)?!!_.Q(_.hl(b),4):!!_.Q(_.hl(b),3):!0};_.g.TDb=function(a,b){return _.zJ(a)?!!_.il(b).length&&!b.Xh():!0};_.g.LDb=function(a,b){return _.AJ(a)?!!_.jl(b).length&&!b.Xh():!0};_.g.VDb=function(a,b){return _.P(a,50)?_.S(a,50,!1)?_.P(b,101)&&0!==_.y(b,101):!_.P(b,101):!0};_.g.dEb=function(a,b){a=a.Jp();return!a||_.Td(b,120).includes(a)};
_.g.MDb=function(a,b){b=_.B(b,_.cK,138);if(null==_.Q(a,65)||null==b)return!0;b=2==_.y(b,1);return _.Q(a,65)==b};var gM=function(a,b,c,d){d=void 0===d?5E3:d;cM.call(this,a,b);this.teamDriveId=c;this.limit=d};_.K(gM,cM);_.g=gM.prototype;
_.g.CE=function(a){var b=this,c=cM.prototype.CE.call(this,a);if(5==c)return c;c=_.Gl(a);var d=c.every(function(e){var f=e.Za();return(null!=b.Hd.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Td(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.xs=function(a){return cM.prototype.xs.call(this,a)&&!!a&&a.getItem().yc()==this.teamDriveId&&!PL(a.getItem())};_.g.FN=function(){return!1};_.g.qd=function(){var a=new _.hf;_.Il(a,[this.teamDriveId]);_.Jl(a,2);return a};
_.g.QM=function(){return null};_.g.yc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Zwc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.hf;_.w(a,48,!0);b=new _.bd;_.cd(b,11);_.dd(b,2);_.jf(a,b);this.ma=RL(this.W,a,!0)};
Zwc.prototype.add=function(a){a instanceof eM?this.H=a:a instanceof dM?this.O=a:a instanceof bM?(this.log("Adding new cache hint for "+xL(this.W,a.qd(),2)),this.ha.push(a)):a instanceof gM&&this.V.push(a)};
Zwc.prototype.remove=function(a){var b=this;if(a instanceof eM)this.H&&(aM(this.H,!1),this.H=null);else if(a instanceof dM)this.O&&(aM(this.O,!1),this.O=null);else if(a instanceof bM){var c=_.ka(this.ha,function(d){return b.W.equals(d.qd(),a.qd())});0<=c&&(aM(this.ha[c],!1),_.sa(this.ha,c))}else a instanceof gM&&(c=_.ka(this.V,function(d){return b.W.equals(d.qd(),a.qd())}),0<=c&&(aM(this.V[c],!1),_.sa(this.V,c)))};
var $wc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.ya(b,_.xa(a.ha));_.ya(b,_.xa(a.V));return b},axc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.qd().clone(),_.qb(c,32),_.Nj(c,26),!_.Uj(a.ma,c)):!0})};Zwc.prototype.VV=function(){return _.xa(this.V)};var bxc=function(a,b){return _.jg(a.V,function(c){return c.yc()===b})},cxc=function(a,b){return axc(a).find(function(c){return a.W.equals(c.qd(),RL(a.W,b,!0))})};
Zwc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var dxc=function(a,b){_.ri.call(this,"Ib");this.ids=a;this.error=b};_.K(dxc,_.ri);dxc.prototype.getError=function(){return this.error};dxc.prototype.H=function(){return this.ids};var exc=function(a){_.ri.call(this,"Jb");this.people=a};_.K(exc,_.ri);exc.prototype.getPeople=function(){return this.people};var fxc=function(a){_.ri.call(this,"Kb");this.people=a};_.K(fxc,_.ri);
fxc.prototype.getPeople=function(){return this.people};var hxc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Ke=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);gxc(this)};hxc.prototype.Ze=function(){return this.Ke};
var ixc=function(a){return 0===a.Ke?1:2===a.Ke||(1===a.Ke||4===a.Ke)&&(a.person.lp()||a.O)?3:2},jxc=function(a,b,c){if(_.y(b,1)!==_.y(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=ixc(a),e=a.Ze();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=xwc(b.clone(),a.getEmail(b)),e=!_.Uj(a.person,b),a.person=b,a.Ke=c,gxc(a),e||d!==ixc(a);if(4===c)return a.Ke=c,gxc(a),d!==ixc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(xwc(a.person,a.getEmail(b)),!0):!1};
hxc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var gxc=function(a){1===a.Ke?(a.W=Date.now(),a.V=null):4===a.Ke&&(a.V=Date.now())},lxc=function(a,b,c,d){_.zi.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.rI(function(){return kxc(e)},100,this)};_.K(lxc,_.zi);lxc.prototype.$g=function(a){a&&_.FI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.qe())};
var kxc=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)}})};lxc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Re;var e=new _.HJ;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Qj(c,WL,1);b.dispatchEvent(new exc(c))},function(c){c=_.DB(c);b.dispatchEvent(new dxc(a,c))})};
lxc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var oxc=function(a,b,c,d,e){_.zi.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.ka=b;this.ha=d;this.ta=_.Vj(_.B(a,xrc,85)||new xrc,1,864E5);this.W=new lxc(a,b,c,e);this.ma=new _.$D(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:tL(h,106015);if(k){h=_.B(_.zK(k),esc,11);if(!h){h=new esc;var l=_.zK(k);_.I(l,11,h)}h=_.w(h,1,f.H.size);_.w(h,2,f.O.size);k.yj()}},500,this);this.Sc.listen(this.W,"Jb",function(h){h=h.getPeople();mxc(f,
h,1);f.ma.qe()});this.Sc.listen(this.W,"Ib",function(h){nxc(f,h)})};_.K(oxc,_.zi);oxc.prototype.get=function(a){var b=this.H.get(a);return b?(pxc(this,b)&&qxc(this,a),b):null};var qxc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.$g(b);var c=new _.En;a.V.set(b,c);return c.promise};oxc.prototype.Sb=function(a){var b=this;return rxc(this,a)?Promise.resolve(this.H.get(a)):qxc(this,a).then(function(){return b.H.get(a)})};
oxc.prototype.vc=function(){return 0===this.H.size};oxc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var sxc=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return 3===ixc(b)&&4!==b.Ze()}).map(function(b){return b.person.clone()})},txc=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},uxc=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.O.delete(d)))}},mxc=function(a,b,c){if(![1,2].includes(c))throw Error("kf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(uwc)[c]+".")),vxc(a,b,c))},xxc=function(a,b,c,d){0!==b.length&&wxc(a,b,c,void 0===d?0:d)},rxc=function(a,b){b=a.H.get(b);return!(!b||3!==ixc(b)||pxc(a,b))},wxc=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.y(f,1),k=a.H.get(h);if(k)jxc(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&&qxc(k,_.y(f,1));l=new hxc(f,p,l);k.H.set(_.y(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},pxc=function(a,
b){switch(b.Ze()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};oxc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var nxc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():wwc(new WL,c)});vxc(a,b,4)},vxc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}wxc(a,b,void 0,c)&&a.dispatchEvent(new fxc(b))},yxc=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.H=new oxc(a,b,c,e,f);this.O=_.PI(a)||new _.Bgc;this.Sc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.K(yxc,_.zi);yxc.prototype.$O=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=zxc(this,[c]).map(function(e){return Axc(b,e)});xxc(this.H,d,a.H.getId(),this.Ze(_.y(c,82)))}a.O&&uxc(this.H,a.id,Bxc(this,a))};yxc.prototype.Ze=function(a){return _.Tgc.get(a)||0};
var Bxc=function(a,b){var c=Cxc(a,b.O),d=Cxc(a,b.H);return c.filter(function(e){return!d.includes(e)})},Cxc=function(a,b){return b?Dxc(a,[b.getItem()]):[]},Fxc=function(a,b){b=b.getUser();xxc(a.H,[Axc(a,b)],"ACCOUNT");Exc(a,b)},Hxc=function(a,b){var c=_.Qj(b,_.qK,2).map(function(d){var e=_.B(d,_.Kk,9,1);return a.H.Sb(bL(e)).then(function(){return void Gxc(a,[e])})});return Promise.all(c).then(function(){return b})},Ixc=function(a,b){Gxc(a,zxc(a,b))},Gxc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,bL(c)&&Exc(a,c)},Jxc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,bL(f)&&(d.add(bL(f)),xxc(a.H,[Axc(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Sb(h)})).then(function(){return Gxc(a,b)})},Lxc=function(a,b){return Dxc(a,[b]).some(function(c){return!Kxc(a,c)})},Kxc=function(a,b){return rxc(a.H,b)},Dxc=function(a,b){var c=new Set;a=zxc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=bL(b.value))&&c.add(b);return[].concat(_.nd(c))},
zxc=function(a,b){return b.map(function(c){var d=c.Yv();d=d?[].concat(_.nd(d.fR()),_.nd(_.Qj(d,_.Kk,3))):[];var e=c.Hf();e=(e=e&&_.Yd(e))?zxc(a,[e]):[];return[].concat(_.nd(_.fl(c)),[c.wm(),c.Tt(),c.Fq(),c.mD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!bL(c)})};yxc.prototype.Gd=function(a){return txc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Mxc=function(a){return Awc(new zwc,sxc(a.H))},Nxc=function(a,b){return b.map(function(c){c=c.clone();var d=zxc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.qb(e,3),_.qb(e,8),_.qb(e,5);return c})},Pxc=function(a,b){return b.some(function(c){return Oxc(a,c)})},Oxc=function(a,b){return zxc(a,[b]).some(function(c){return _.P(c,3)||c.lp()||_.P(c,5)})},Exc=function(a,b){var c=a.H.get(bL(b));if(c){a=c.person.clone();var d=_.cic(b.hd(a.getName()),a.getEmail());c=ixc(c);_.w(d,16,c);
(a=_.B(a,vwc,4))&&b.Jn(a.getUrl())}},Axc=function(a,b){var c=bL(b);c=xwc(wwc(new WL,c).hd(b.getName()),b.getEmail());var d=new vwc;var e=_.y(b,5);d=_.w(d,1,e);c=_.I(c,4,d);_.S(a.O,9,!1)&&(_.qb(b,3),_.qb(b,8),_.qb(b,5));return c},Qxc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Qxc.prototype.Zf=function(){return this.suggestionSessionId};Qxc.prototype.Iza=function(){return this.O};Qxc.prototype.vc=function(){return this.H};
var Rxc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Sxc=function(a,b){a=Rxc(a);b=Rxc(b);return!(!a||!b||a!==b)},Txc=function(a){return a.Cc()+"_"+Rxc(a.getName())},Uxc=function(a,b){var c=_.Td(a,1).map(function(d,e){return b[Number(e)].value.g3a.promise});return Promise.allSettled(c).then(function(d){return _.Td(a,1).map(function(e,f){e=e.toString();var h=new Bwc;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Je(f.reason.Qg));return e})})},hM=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Gy=new Set;this.status=6;this.V=new Map;this.Ke=0};_.K(hM,_.N);_.g=hM.prototype;_.g.ki=function(a){var b=this;this.Gy.add(a);return this.resize().then(function(){return b.oO(a)})};_.g.fk=function(a){this.Gy.delete(a);0===this.Gy.size&&this.dispose()};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};
_.g.rD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Lu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.EX():_.Wh([])};_.g.EX=function(){for(var a=[],b=_.m(this.Gy.values()),c=b.next();!c.done;c=b.next())a.push(this.oO(c.value));return _.Yh(a)};
_.g.DX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Aqa:c.Aqa},e=d.next())c.Aqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.DX(f.Aqa,a)}}(c)));return _.Yh(b)};_.g.sA=function(){for(var a=this,b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Bqa:c.Bqa},e=d.next())c.Bqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.sA(f.Bqa)}}(c)));return _.Yh(b).then(function(){a.Li(0===a.Ze()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Gy.forEach(function(d){d=b.gka(d);c=Math.max(c,d.Ei?d.Ei()||0:0)});a.Yea(c)})};var Vxc=function(a,b){return b?a.V.get(a.Mja(b))||null:null};_.g=hM.prototype;_.g.VH=function(a,b){var c=Vxc(this,a);b=avc(c,b);this.V.set(this.Mja(a),b)};_.g.Mja=function(a){return a};_.g.GLa=function(){return[]};_.g.oO=function(a){var b=this;return this.O.then(function(c){return void c.oO(a,b.Zj())})};_.g.removeItem=function(){};
var iM=function(a,b){_.zi.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.K(iM,_.zi);var Wxc=function(a){return!a.O||""!==a.pageToken};iM.prototype.$g=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Wxc(this)?Xxc(this):_.Wh()};
var Xxc=function(a){a.O=!0;a.H=!0;var b=a.Nha(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Yxc(a,c)},function(c){return a.handleError(c)})},Yxc=function(a,b){a.H=!1;a.pageToken=a.aka(b);b=a.pja(b);b.forEach(function(c){return a.data.push(c)});a.Q5(b);return a.data.length<a.limit&&Wxc(a)?_.Yh([_.Wh(b),Xxc(a)]).then(function(c){return c[0].concat(c[1])}):_.Wh(b)};
iM.prototype.handleError=function(a){this.H=!1;a=_.NI(a);var b=new vL(a);this.HLa(b);this.dispatchEvent(b);return _.Xh(a)};iM.prototype.Q5=function(){};iM.prototype.HLa=function(){};var Zxc=function(a,b,c){iM.call(this,c,function(d){return a.then(function(e){return e.Re(d)}).Gg(function(e){return void _.bJ(e)})});this.V=b};_.K(Zxc,iM);_.g=Zxc.prototype;_.g.Nha=function(a,b,c){a=a.clone();a.ui(b);return new _.Chc(a,c)};_.g.aka=function(a){return a.pageToken||""};_.g.pja=function(a){return a.response.O()};
_.g.Q5=function(a){this.V.rD(a,!1,1)};_.g.HLa=function(a){this.V.CB(this.request,a)};var $xc=function(a,b,c,d){hM.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.K($xc,hM);_.g=$xc.prototype;_.g.refresh=function(){this.sA();this.H=new Zxc(this.ha,this.W,this.request);return this.H.$g(this.request.Ei()||100)};_.g.Dp=function(a){return this.data.find(function(b){return Sxc(b.getName(),a)})};
_.g.Yea=function(a){this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};_.g.Zj=function(){var a=this,b=uuc((new GL).Dc(this.status),this.data.filter(function(c){return a.W.ACa(c)}).map(function(c){return c.clone()}));return new _.FK(b,void 0,void 0,this.Ze())};_.g.rD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Cc()===d.request.Cc()});return hM.prototype.rD.call(this,a,b,c)};
_.g.Lu=function(a,b){b=void 0===b?1:b;if(!Foc(Vxc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Sxc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.VH(a.getName(),b);return!0};_.g.removeItem=function(a){_.va(this.data,function(b){return Sxc(b.getName(),a)})&&(this.V.delete(this.Mja(a)),this.EX())};_.g.Mja=function(a){return Rxc(a)};_.g.VH=function(a,b){this.Dp(a)&&hM.prototype.VH.call(this,a,b)};
_.g.GLa=function(a){var b=this;return a instanceof _.NJ&&a.Cc()===this.request.Cc()?a.zV().map(function(c){return b.Dp(c.Lm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var jM=function(){this.H=new Map};jM.prototype.ki=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Pha(b),this.H.set(c,d));d.ki(a);return e};var ayc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Cwa(c),a.H.set(d,e));e.ki(b);return f};
jM.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 byc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.fk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},cyc=function(a,b){return a.H.get(b)};jM.prototype.rD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.ACa(f)});this.H.forEach(function(f){f.rD(e,b,c)})};jM.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var dyc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.GLa(b)});return[].concat.apply([],_.nd(a))};jM.prototype.VH=function(a,b){this.H.forEach(function(c){c.VH(a,b)})};jM.prototype.ACa=function(){return!0};jM.prototype.CB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.DX(b)};jM.prototype.s2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Pha(b),f.Li(c),this.H.set(e,f),this.rD(a,d))};var eyc=function(){this.V=new Set;this.O=0;this.H=[]},fyc=function(a,b){a.V.add(b)};
eyc.prototype.W=function(a){this.V.delete(a)};var gyc=function(a,b){var c;if(c=b instanceof _.el)c=b.Zv(),c=!!(b.Xh()&&c&&c<=Math.max.apply(Math,_.nd([a.O].concat(_.nd(a.H)))));if(c)return!0;b=b instanceof _.el?b.getId():b;return a.V.has(b)},hyc=function(a,b){return _.va(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};eyc.prototype.K8=function(a){var b=this;return a.filter(function(c){return!gyc(b,c)})};var iyc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new eyc};_.K(iyc,jM);
var jyc=function(a,b){fyc(a.O,Txc(b));(a=cyc(a,b.Cc()))&&a.EX()};_.g=iyc.prototype;_.g.getKey=function(a){return a.Cc()};_.g.Pha=function(a){return new $xc(this.V,this.W,this,a)};_.g.Cwa=function(a){return new $xc(this.V,this.W,this,a)};_.g.Po=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=cyc(this,b.getId()))&&b.refresh()};_.g.ACa=function(a){return!gyc(this.O,Txc(a))};
var kyc=function(a,b){this.O=a;this.H=b},lyc=function(a,b){b=_.IXb(b);var c=new Zxc(a.O,a.H,b);new Promise(function(d,e){return c.$g(100).then(d,e)})},myc=function(){this.Hd={}},kM=function(a,b){nyc(a,"subscribed");b&&nyc(a,b);return a.Hd[b||"subscribed"].ke.promise},nyc=function(a,b){a.Hd[b]||(a.Hd[b]={count:0,zR:[],l1a:[],ke:_.Zh()});a.Hd[b].count++},pyc=function(a,b){b&&!oyc(a,b)||oyc(a,"subscribed")},oyc=function(a,b){if(!a.Hd[b])return!1;a.Hd[b].count--;0===a.Hd[b].count&&(a.Hd[b].ke.resolve({items:a.Hd[b].zR,
FKb:a.Hd[b].l1a}),_.Va(a.Hd,b));return!0};myc.prototype.Po=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.yc();f&&f===e.Cc()&&c.Hd[f]&&c.Hd[f].l1a.push(e);c.Hd[d]&&c.Hd[d].zR.push(e)})};var qyc=function(a,b,c){iM.call(this,a,c);this.V=b};_.K(qyc,iM);qyc.prototype.Nha=function(a,b){return a.clone().ui(b)};qyc.prototype.aka=function(){return""};qyc.prototype.pja=function(a){return[a]};qyc.prototype.Q5=function(a){this.V(a)};
var ryc=function(a,b,c,d){hM.call(this,a,d.clone());this.ha=b;this.H=this.PS=null;this.W=c};_.K(ryc,hM);ryc.prototype.refresh=function(){var a=this;this.sA();this.H=new qyc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Ei()||0)};ryc.prototype.Yea=function(a){1===this.status||this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};
ryc.prototype.Zj=function(){if(this.PS)return this.PS;var a=new JL;a.Dc(this.status);return a};ryc.prototype.Lu=function(a){this.PS=a;return!0};var syc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.K(syc,jM);_.g=syc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Pha=function(a){var b=this;return new ryc(this.O,this.W,function(c){b.rD(c,!1)},a)};_.g.Cwa=function(){throw Error("lf");};
_.g.s2=function(a,b,c,d){var e=a[0].ql();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.fq()}).join(", "));jM.prototype.s2.call(this,a,b,c,d)};var tyc=function(a,b,c,d){_.zi.call(this);this.request=a;this.Ba=b;this.ta=c;this.va=d;this.ma=0;this.ke=null;this.O=new Set};_.K(tyc,_.zi);
tyc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Zh();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={Qqa:b.Qqa,fea:b.fea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.fea=d;b.Qqa=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Re(f.Qqa)}}(b)).then(function(f){return function(h){var k=f.fea;a.V(h);uyc(a,k)}}(b),function(f){return function(h){return void a.handleError(f.fea,h)}}(b))}return this.ke.promise};
var uyc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Da"),a.ke.resolve()):a.dispatchEvent("Aa")};tyc.prototype.handleError=function(a,b){b=_.DB(b);var c=b.Qg;5===c.$s()||4===c.rk()?(this.va.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),uyc(this,a)):(a=new vL(c,_.Vj(this.ta.eg(),1,1)),this.dispatchEvent(a),this.ke.reject(b))};
var vyc=function(a){var b=new _.rG;b.Pb(a);return b},wyc=function(a,b,c,d,e){tyc.call(this,a.clone(),c,d,e);this.H=b};_.K(wyc,tyc);wyc.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.JWb(a.clone(),[c]);b.set(c,d)});return b};wyc.prototype.V=function(a){var b=[];a.IT().forEach(function(c){b.push(c)});this.H(b,!0)};wyc.prototype.ha=function(){this.H([],!1)};wyc.prototype.ka=function(a){this.H([vyc(a)],!0)};
var xyc=function(a,b,c,d,e,f){hM.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.$k={};this.H=null};_.K(xyc,hM);xyc.prototype.refresh=function(){this.H=new wyc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.$g()};xyc.prototype.Yea=function(){this.H||this.refresh()};xyc.prototype.Zj=function(){var a=new _.DK;a.Dc(this.status);_.La(this.$k,function(b,c){a.IT().set(c,b||new _.rG)});a.Li(this.Ze());return a};
xyc.prototype.Lu=function(a){var b=a.getId();if(_.Uj(a,vyc(a.getId()))){if(this.$k[b])return delete this.$k[b],!0}else if(0<=this.request.jn().indexOf(b))return this.$k[b]=a,!0;return!1};var yyc=function(a,b){a=a.getState();return null==a||b.getState()==a},zyc=function(a,b,c){iM.call(this,a,c);this.V=b};_.K(zyc,iM);zyc.prototype.Nha=function(a,b,c){a=a.clone();a.ui(b);return new _.Phc(a,c)};zyc.prototype.aka=function(a){return a.pageToken||""};zyc.prototype.pja=function(a){return a.response.ql()};
zyc.prototype.Q5=function(a){this.V(a)};var Ayc=function(a){this.H=_.vdc(a,{numeric:!0})};Ayc.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};Ayc.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!==e?f=_.Ea(d,e)*(a?1:-1):f=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};
var Byc=function(a,b,c,d,e){hM.call(this,a,e.clone());this.ha=b;this.$k=[];this.H=null;this.W=d;a=new Ayc(c);b=(c=this.request.Dw())?c.getType():0;c=c?c.qf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};_.K(Byc,hM);Byc.prototype.refresh=function(){var a=this;this.sA();this.H=new zyc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Ei()||0)};
Byc.prototype.Yea=function(a){1===this.status||this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};Byc.prototype.Zj=function(){var a=new XL;a.Dc(this.status);Dwc(a,this.$k.map(function(b){return b.clone()}));return new _.IK(a,void 0,1!==this.status&&Wxc(this.H),this.Ze())};Byc.prototype.Lu=function(a){var b=_.va(this.$k,function(c){return c.getId()===a.getId()});return a&&yyc(this.request,a)&&!_.Uj(a,vyc(a.getId()))?coc(this.$k,a,this.ka):b};
var Cyc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.K(Cyc,jM);_.g=Cyc.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Pha=function(a){var b=this;return new Byc(this.V,this.ha,nL(_.AI(this.O)),function(c){return void b.rD(c,!1)},a)};_.g.Cwa=function(a){var b=this;return new xyc(this.V,this.ha,this.O,this.W,function(c,d){return b.rD(c,d)},a)};
_.g.s2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));jM.prototype.s2.call(this,a,b,c,d)};
var Dyc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();eL(a)&&(c=(c=a.Hf())?_.y(c,3):"");fL(a)&&(a.Yi()&&(c+="+"+String(a.Yi())),a.Gj()&&(c+="+shared"));return _.XTa(c,b?"32":"16")},Eyc=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("&")},Fyc=function(a,b){var c=_.Q(a,44),d=a.Hf();if(d){if(1!==_.$d(d))return null;c=(c=_.Yd(d))?_.Q(c,44):!0}if(!c)return null;c={};d=a.getId();eL(a)&&(d=voc(a));
d=[_.C(b,65,"https://lh3.google.com"),"u",_.OI(_.AI(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.ll(a));return d=Eyc(d,c)},Gyc=function(a){this.H=a},Iyc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=Dyc(b,_.S(a.H,75,!1));_.w(b,21,d)}c.includes(18)&&_.Kic(b,mpc(b,a.H));c.includes(19)&&(d=Fyc(b,a.H),_.w(b,20,d));Hyc(a,b,c);if(eL(b)){if(d=(d=b.Hf())&&_.Yd(d)){if(c.includes(20)&&c.includes(3)){var e=Dyc(d,_.S(a.H,75,!1));_.w(d,21,e)}c.includes(18)&&_.Kic(d,mpc(d,
a.H));c.includes(19)&&(e=Fyc(d,a.H),_.w(d,20,e));Hyc(a,d,c)}_.Oic(b,!!b.Sx())}},Hyc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!fL(b)&&!eL(b)&&!_.Fd(e)&&(!b.I6()||2!==b.Yo()),d&&_.w(b,40,e),e&&c&&(a=a.H,d=b.getId(),eL(b)&&(d=voc(b)),c=new _.ij(_.C(a,16,"")+"/uc"),_.tj(c,"id",d),_.tj(c,"authuser",_.OI(_.AI(a))),_.tj(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.tj(c,"resourcekey",_.ll(b)),_.w(b,41,c.toString())))}},Jyc=function(a,b){this.Yha="";
this.startTime=b||new Date;this.H=a;this.E$=opc(a)};Jyc.prototype.clone=function(){return new Jyc(this.H,this.startTime)};var Kyc=function(){this.H=null;this.wY=[]},Lyc=function(a){return _.ef(a.wY,function(b){return _.Ya(b)})};Kyc.prototype.lN=function(){return this.H};
Kyc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new Lwc;e.V=Kwc(d.E$);var f=_.Ug().substring(0,8);d=opc(f);f=(new kwc).Pb(f);f=_.w(f,2,d);b=_.w(f,3,b).Mi(c);this.wY.push(b);e.O=Kwc(d);e.H=Iwc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.kk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.lk(d,1,1);var k=d.O;Tpc(k,f);Tpc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.lk(d,2,1),k=d.O,Tpc(k,f),Tpc(k,h));f=e.W;null!=f&&(_.lk(d,3,5),Tpc(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.lk(d,4,1),h=d.O,Tpc(h,f),Tpc(h,e));e=_.mk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Myc=function(){this.Db=[];this.O=this.H=0};Myc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Db,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 Nyc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Db,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},Oyc=function(a){this.key=a;this.H=new _.Qgc;this.O=new _.Ogc(new _.Qgc,_.yma(a))};Oyc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=Ysc(b);c=Pyc(this,a);return b.concat(c,Qyc(this,b,a,!0))};
var Ryc=function(a,b){var c=Qyc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Pyc(a,c);if(b!==a)throw Error("mf");return c},Pyc=function(a,b){a=_.Pgc(a.O,_.lhc(b));return Ysc(a)},Qyc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Myc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Db,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=_.lhc(c.substring(8192*
e,8192*(e+1))),Nyc(b,a),d+=Ysc(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;Nyc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("nf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=Syc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Syc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=Syc(d,e++),k=Syc(d,e++),l=Syc(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=Syc(d,e++),k=Syc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Syc=function(a,b){return a[Math.floor(b/8192)][b%8192]},Tyc=function(a,b,c){this.data=a;this.cZa=b;this.H=c;this.isEncrypted=!1};Tyc.prototype.getData=function(){return this.data};
Tyc.prototype.Nm=function(){return this.cZa};var Uyc=function(a,b,c,d){this.O=a;this.H=_.Zh();this.np=!1;this.V=_.C(b,7,"");this.W=_.Vj(_.oL(b),6,2E7);this.ME=_.FI(b);this.ha=_.Vj(_.oL(b),12,0);this.ka=c;this.Od=d||null};Uyc.prototype.initialize=function(){var a=this;this.np||(this.np=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.ii(this.H.promise)};
Uyc.prototype.oB=function(a){if(a instanceof _.CB)return 0;if(a instanceof VL)return 1;if(a instanceof ptc)return 5;if(a instanceof LL)return 3;if(a instanceof zwc)return 6;throw new _.qc("Unsupported dataShard in getDataType");};var Vyc=function(a){if(0==a)return _.CB;if(1==a)return VL;if(5==a)return ptc;if(3==a)return LL;if(6==a)return zwc;throw new _.qc("Unsupported dataType:"+a+" in getDataTypeCtor");};Uyc.prototype.Wn=function(a){if(a instanceof LL)return a.Wn()};
Uyc.prototype.Nm=function(a){if(a instanceof LL)return a.wd().length};Uyc.prototype.qv=function(a){if(a instanceof LL)return a=a.qv(),null!=a?a:void 0};
var $yc=function(a,b,c,d){if(0==c.length)return _.Wh();for(var e=a.oB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.oB(h.value);var k=a.Wn(c[0]),l=0;3==e&&Wyc(a,c);var p=!!b;return Xyc(a,c).then(function(q){if(p){var r=a.Od?a.Od.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Nm())&&(z+=A);return z},0);var v=Yyc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Xh(Error("of"));z=_.m(z.entries());for(var A=z.next();!A.done;A=z.next()){var D=_.m(A.value);A=
D.next().value;D=D.next().value;A=q[A];A.data=D;A.isEncrypted=!0}return q});r&&(ksc(jsc(isc(sL(r),_.AK(_.vgc,e)),_.AK(_.sgc,k)),!0),v.then(function(){var z=l;hsc(sL(r),!0).Dt(z);r.yj()},function(){var z=l;hsc(sL(r),!1).Dt(z);r.yj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return Zyc(a.O,q,e,k,p,d)})})},Xyc=function(a,b){return new _.Vh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Lc();p.length>a.W?e=!0:f.push(new Tyc(p,a.Nm(l),a.qv(l)))}});if(e){var h=
Error("pf"),k=new _.oc;_.LI(k,2);_.XI(k,23);_.w(k,21,h.message);_.iq(k);a.ka(k);d(h)}c(f)})},Wyc=function(a,b){a.Wn(b[0]);for(var c=_.m(b),d=c.next();!d.done;d=c.next())a.Wn(d.value);a.ME||azc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Wn()){d=[];for(var e=b[c].wd();e.length>a;){var f=_.Aa(e,a-1,a);f=Tuc(new LL,f);d.push(f)}Tuc(b[c],e);d.length&&_.Db(_.Aa,b,c+1,0).apply(null,d)}},lM=function(a,b,c,d,e,f){var h=_.Zh(),k;_.$h(a.H.promise.then(function(){return bzc(a.O,c,d,e)}).then(function(l){var p=
l.map(function(r){return r.data}),q=new _.ai;if(l[0]&&l[0].v0){if(k=a.Od?a.Od.H(106022,f):null)ksc(jsc(isc(sL(k),_.AK(_.vgc,c)),_.AK(_.sgc,d)),!0),q.Ym().then(function(r){var v=k;r=void 0!=r;hsc(sL(v),r);_.mkc(v)});czc(a,q,b,p)}else q.callback(p);return _.Wh(q)},function(){}).then(function(l){var p=[];if(l){var q=0;l=_.m(l);for(var r=l.next();!r.done;r=l.next())r=r.value,r=new (Vyc(c))(JSON.parse(r)),q+=a.Nm(r),p.push(r);3==c&&(a.ME||dzc(p),ezc(p));k&&sL(k).Dt(q)}h.resolve(p)}),function(){k&&k.yj()}).Gg(h.reject,
h);return h.promise},azc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Qj(a[b],_.Kk,2).length)return;b=new Map;for(var c=new Map,d=_.m(a),e=d.next();!e.done;e=d.next()){e=e.value.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Iic(f,fzc(_.fl(f),b,c)),_.Jic(f,fzc([f.wm()],b,c)[0]),_.Pic(f,fzc([f.Tt()],b,c)[0]),_.Tic(f,fzc([f.Fq()],b,c)[0]),_.Wic(f,fzc([f.mD()],b,c)[0]),f=f.Yv())_.Eic(f,fzc(f.fR(),b,c)),_.Fic(f,fzc(_.Qj(f,_.Kk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});
_.Mj(a[0],2,h)}},fzc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;f&&f.getId()?(e=f.getId(),b.has(e)?_.Uj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.Kk,f.Pb(e),c.set(e,f),d.push(f))):d.push(f)}return d},dzc=function(a){var b=new Map,c=new Map;a[0]&&_.Qj(a[0],_.Kk,2)&&_.Qj(a[0],_.Kk,2).forEach(function(h){b.set(h.getId(),h);h=(new _.Kk).Pb(h.getId());c.set(h.getId(),h)});if(b.size){a=_.m(a);for(var d=a.next();!d.done;d=
a.next()){d=d.value;var e=d.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Iic(f,gzc(_.fl(f),b,c)),_.Jic(f,gzc([f.wm()],b,c)[0]),_.Pic(f,gzc([f.Tt()],b,c)[0]),_.Tic(f,gzc([f.Fq()],b,c)[0]),_.Wic(f,gzc([f.mD()],b,c)[0]),f=f.Yv())_.Eic(f,gzc(f.fR(),b,c)),_.Fic(f,gzc(_.Qj(f,_.Kk,3),b,c));_.Nj(d,2)}}},gzc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&e.getId()){var f=e.getId();_.Uj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);
return d},ezc=function(a){for(var b={},c=1;c<a.length;b={Oda:b.Oda},c++)if(!a[c].Wn()){for(var d=0,e=c;e<a.length&&!a[e].Wn();e++)d++;e=a[c-1];d=_.Aa(a,c,d);b.Oda=e.wd();d.forEach(function(f){return function(h){_.ya(f.Oda,h.wd())}}(b));Tuc(e,b.Oda)}},Yyc=function(a,b,c){if(!_.Agc()&&a.V){var d=new Worker(_.Xga(_.Py(a.V)),void 0),e=new _.ai;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Id(Error(String(k)))},!1);
c=Gwc(new Fwc,c);d.postMessage({command:"encrypt",data:{request:c.Lc(),key:b}});return e}try{a=[];var f=new Oyc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.hi(a)}catch(k){h=_.ji(k)}return h},czc=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(!_.Agc()&&a.V){var f=new Worker(_.Xga(_.Py(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 Oyc(c);for(c=0;c<d.length;c++)a.push(Ryc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},hzc=/^[\w]+$/,izc=function(a,b,c){return[a.ts(),a.clientId,b?"#":mM(a)].join(":")+":"+(c||"")},jzc=function(a,b,c){this.global=void 0===c?!1:c;a.match(hzc);this.key=a;this.value=b};jzc.prototype.getKey=function(){return this.key};jzc.prototype.Za=function(){return this.value};
var kzc=function(a,b){return{k:izc(b,a.global,a.key),v:a.value}},lzc=function(a,b){a=izc(a,b);return yuc(a+"A",a+"z")},mzc=function(a,b){this.H=a;this.O=b},nzc=function(a){return a?new mzc(a.versionKey,a.versionChangeTimestamp):null},ozc=function(a,b){return a+":"+b},pzc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.v0=void 0===e?null:e},qzc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.v0}},rzc=function(a,b,c,d){a=mM(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.zt(":%02d",c)},szc=function(a,b,c,d){c=rzc(a,b,void 0===c?0:c,d);a=mM(a)+"_"+b;3===b&&(a+="_"+d);return yuc(c,a+":a")},tzc=function(a){var b=mM(a)+"_";a=mM(a)+"_A";return yuc(b,a)},uzc=function(a){return a?new pzc(a.data,a.index,a.size,a.timestamp,a.e):null},vzc=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.xa(e);_.Ga(this.fields);_.Da(this.fields);this.H=f};
vzc.prototype.ts=function(){return this.userId};vzc.prototype.Lg=function(){return _.xa(this.fields)};
var mM=function(a){if(!a.O){var b=new _.sI;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.pec(b.digest())}return a.O},wzc=function(a){return{versionKey:mM(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},xzc=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 vzc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:mM(a)!==d&&(a=null);return a},nM=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Od=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Qa=a.then(function(f){e.version=f});this.Ib=new _.Ne(this);this.Ma(this.Ib)};_.K(nM,_.N);nM.prototype.initialize=function(){return yzc(this)};
var yzc=function(a,b){a.V||(a.V=_.Zh(),a.Qa.then(function(){b?(a.va=!1,zzc(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)"),_.ffc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).jg(a.Ka.bind(a),a.ta.bind(a)),_.Ei(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.qc("Database version error",void 0,_.EI(c)?c:void 0))}));return a.V.promise},zzc=function(a,b){a.H=b;a.Ib.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Ib.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};nM.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ia(b.H.objectStoreNames,function(c){return _.hjc(b,c)});_.La(_.VI,function(c){var d=_.Ugc.get(c);_.cfc(b,c,d?{keyPath:d}:void 0)})};
nM.prototype.ta=function(a){var b;a&&a instanceof _.wI&&"InvalidStateError"==a.getName()&&_.zj.Mu?b=Error("qf"):_.EI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);Azc(this,!1)};nM.prototype.Ka=function(a){this.ka?a.dispose():(zzc(this,a),this.Ma(this.H),this.readOnly||Bzc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),Azc(this,!0))};
var Azc=function(a,b){if(a.ma){var c=a.ma,d=_.B(_.zK(c),bsc,5);d||(d=new bsc,c=_.zK(c),_.I(c,5,d));d=_.w(d,1,2);c=a.hj().W;d=_.w(d,2,c);c=a.hj().ka;d=_.w(d,5,c);b=_.w(d,3,b);b=_.w(b,4,a.Ba);d=a.hj().ma;_.w(b,6,d);a.ma.yj();a.ma=null}};nM.prototype.Ha=function(){this.H||this.Sf()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("rf")))};nM.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};nM.prototype.Sf=function(){return this.ka};
var Czc=function(a){return a.ka?a.O:null};nM.prototype.hj=function(){return this.version};
var oM=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.dfc(a,[b],c)}catch(d){return null}},Bzc=function(a){var b=_.VI.h_,c=oM(a,b,"readwrite");if(!c)return _.Xh(Error("sf"));c.objectStore(b).put(wzc(a.hj()));return _.Wh(c.wait()).then(function(){})},Dzc=function(a){if(!a.H)return _.Xh(Error("tf"));if(a.Sf())return _.Xh(Error(a.O));var b=_.VI.h_,c=oM(a,b,"readwrite");if(!c)return _.Xh(Error("uf"));b=c.objectStore(b);return _.Wh(b.remove(mM(a.hj())))},
Ezc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())(e=uzc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("vf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("wf")),0;e=d[0].size;if(!e)return b.reject(Error("xf")),0;if(e>d.length)return b.reject(Error("yf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("zf`"+e)),0;if(c&&a<c)return b.reject(Error("Af`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},bzc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Xh(Error("Bf"));if(a.Sf())return _.Xh(Error(a.O));var e=szc(a.hj(),b,0,c),f=_.VI.A5,h=oM(a,f);if(!h)return _.Xh(Error("Cf"));e=h.objectStore(f).getAll(e);var k=_.Zh();e.jg(function(l){l=Ezc(l,k,d);a.readOnly||null==l||Fzc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},Zyc=function(a,b,c,d,e,f){if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Xh(Error("Df"))}else return _.Xh(Error("Ef"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:rzc(a.hj(),c,z,d),data:new pzc(v.getData(),z,k,h,e),metadata:v}}),p=_.VI.A5;b=oM(a,p,"readwrite");if(!b)return _.Xh(Error("Ff"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={gea:q.gea},r=l.next())r=r.value,q.gea=Gzc(a,c,d,r.metadata,f),p.put(qzc(r.data),r.key).then(function(v){return function(){var z=v.gea;z&&(hsc(sL(z),!0),z.yj())}}(q),function(v){return function(z){var A=
v.gea,D=z instanceof _.wI?z.code:_.Fec;A&&a.W&&(z=hsc(sL(A),!1),D=_.AK(_.wgc,D),_.w(z,2,D),A.yj())}}(q));return _.Wh(b.wait()).then(function(){})},Gzc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=jsc(isc(sL(a),_.AK(_.vgc,b)),_.AK(_.sgc,c)),f=f.Wn(d.H),f=_.w(b,5,f),ksc(f,d.isEncrypted),void 0!=d.Nm()&&sL(a).Dt(d.Nm());return a}return null},Fzc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(3==b&&void 0==c)return _.Xh(Error("Gf"))}else return _.Xh(Error("Hf"));
b=szc(a.hj(),b,d,c);c=_.VI.A5;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("If"));a.objectStore(c).remove(b);return _.Wh(a.wait()).then(function(){})},Hzc=function(a){if(!a.H)return _.Xh(Error("Jf"));if(a.Sf())return _.Xh(Error(a.O));var b=tzc(a.hj()),c=_.VI.A5;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("Kf"));a.objectStore(c).remove(b);return _.Wh(a.wait()).then(function(){})};
nM.prototype.getMetadata=function(a){if(this.H){if(this.Sf())return _.Xh(Error(this.O));if(a&&0==a.length)return _.Xh(Error("Lf"))}else return _.Xh(Error("Mf"));var b=this.hj(),c=_.VI.M6,d=oM(this,c);if(!d)return _.Xh(Error("Nf"));c=d.objectStore(c);if(a){d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.Wh(c.get(izc(b,e.global,e.key))));c=_.Yh(d)}else c=_.Yh([c.getAll(lzc(b,!1)).then(),c.getAll(lzc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return boc(f,h)});return c.then(function(f){return f.map(function(h){a:{if(h){var k=h.k.split(":"),l="#"===k[2];if(4===k.length&&(l||k[2]===mM(b))){h=k[0]!==b.ts()||k[1]!==String(b.clientId)?void 0:new jzc(k[3],h.v,l);break a}}h=void 0}return h})})};
var Izc=function(a,b){if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(0==b.length)return _.Xh(Error("Of"))}else return _.Xh(Error("Pf"));var c=_.VI.M6,d=oM(a,c,"readwrite");if(!d)return _.Xh(Error("Qf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(kzc(e.value,a.hj())).then());return _.Yh(d).then(function(){})},Jzc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Sf())return _.Xh(Error(a.O))}else return _.Xh(Error("Sf"));var c=a.hj(),d=_.VI.M6;a=oM(a,d,"readwrite");
if(!a)return _.Xh(Error("Tf"));d=a.objectStore(d);a=[];a.push(d.remove(lzc(c,!1)).then());b&&a.push(d.remove(lzc(c,!0)).then());return _.Yh(a).then(function(){})},Kzc=function(a){if(!a.H)return _.Xh(Error("Uf"));if(a.Sf())return _.Xh(Error(a.O));var b=ozc(a.hj().ts(),a.hj().clientId),c=_.VI.hU;a=oM(a,c);if(!a)return _.Xh(Error("Vf"));c=a.objectStore(c);return _.Wh(c.get(b)).then(function(d){return nzc(d)})},Lzc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Xh(Error("Wf"));if(a.Sf())return _.Xh(Error(a.O));
var c=a.hj(),d=ozc(c.ts(),c.clientId);b=new mzc(mM(c),b?Date.now():void 0);c=_.VI.hU;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("Xf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Wh(a.wait())};nM.prototype.Ml=function(a){var b=this;return this.H?this.Sf()?_.Xh(Error(this.O)):Kzc(this).then(function(c){var d=mM(b.hj());if(c)if(a){if(!c.O&&d==c.H&&d!=mM(a))return Lzc(b,!0);if(c.O&&d==mM(a))return Lzc(b)}else{if(d!=c.H)return Lzc(b)}else if(!a)return Lzc(b)}):_.Xh(Error("Yf"))};
var Mzc=function(a){if(!a.H)return _.Xh(Error("Zf"));if(a.Sf())return _.Xh(Error(a.O));var b=a.hj(),c=ozc(b.ts(),b.clientId);return Kzc(a).then(function(d){if(d){d=_.VI.hU;var e=oM(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
nM.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Sf()?_.Xh(Error(this.O)):Kzc(this).then(function(c){var d=c&&c.H==mM(b.hj());return d&&!a?!1:(c&&d?Mzc(b):_.Wh()).then(function(){return _.Yh([Jzc(b,a),Hzc(b),Dzc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Xh(Error("$f"))};nM.prototype.close=function(){this.ha("Closing database")};nM.prototype.log=function(a){this.Od.info("drive.ds.sync.storage.VersionedDb",a)};
var Nzc=function(a){if(1>=a.hj())return!1;var b=a.H.objectStoreNames;return _.Qa(_.VI).every(function(c){return b&&b.contains(c)})},Ozc=function(){var a=_.Zh();_.ffc("GoogleDriveDs").jg(function(b){b?Nzc(b)?a.resolve(b):(b.close(),_.Wh(zuc()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},Pzc=function(a,b,c){var d=_.Zh();a?_.dfc(a,[_.VI.h_],"readonly").objectStore(_.VI.h_).getAll().jg(function(e){e=
_.Qa(e).map(function(f){return xzc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ts()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Qzc=function(a,b,c){var d=_.Zh();Ozc().then(function(e){if(e){var f=_.VI.hU;_.dfc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return nzc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.VI.h_,p=_.dfc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
xzc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.ci(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},Rzc=function(a,b,c){var d=_.Zh(),e=new nM(_.Wh(a),b);yzc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Szc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Rzc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Yh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+mM(l)))});d.resolve(k)})},Tzc=function(a,b,c){var d=Date.now()-12096E5,e=_.Zh();Ozc().then(function(f){f?(_.$h(e.promise,function(){f.close()}),Pzc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Szc(h,c,f,e)})):e.resolve([])});return e.promise},Uzc=function(a,b,c){var d=_.Zh();Ozc().then(function(e){e?
(_.$h(d.promise,function(){e.close()}),Pzc(e,a,b).then(function(f){Szc(f,c,e,d,!0)})):d.resolve([])});return d.promise},Vzc=function(a,b,c,d){if(a.length){var e=_.VI.A5,f=a.shift(),h=rzc(f,3,0,1);try{_.dfc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=uzc(k))&&(!k.v0||k.v0&&d.has(f.V))?b.resolve(f):Vzc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Wzc=function(a,b,c,d,e,f,h){var k=_.Zh();Ozc().then(function(l){l?(_.$h(k.promise,function(){l.close()}),
Pzc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=mM(q))&&q.W==c&&q.H>=e&&uoc(d.filter(function(r){return!_.Vgc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Vzc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Xzc={key:"rid",global:!0},Yzc={key:"ooi",global:!0},Zzc={key:"rtds",global:!1},$zc={key:"dct",global:!1},aAc={key:"pc",global:!1},bAc=function(a){this.H=new _.Vh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};bAc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Sf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Za():void 0},function(){})})};bAc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Sf()?Izc(c,[new jzc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};bAc.prototype.Zn=function(){return this.get(Xzc).then(function(a){return a?a:null})};
bAc.prototype.Eu=function(a){return this.set(Xzc,a)};var cAc=function(a){return a.get(Yzc).then(function(b){return"boolean"===typeof b?b:null})};bAc.prototype.Xy=function(a){return this.set(Yzc,a)};var dAc=function(a){return a.get(aAc).then(function(b){return"boolean"===typeof b?b:null})},eAc=function(a){return a.get(Zzc).then(function(b){return Array.isArray(b)?b:null})},fAc=function(a){return a.get($zc).then(function(b){return"number"===typeof b?b:null})},gAc=function(){this.kj=[]};_.K(gAc,_.PK);
gAc.prototype.add=function(a,b){var c=a.Bv.Kw;return c instanceof _.UJ&&_.y(c.request,12)?_.PK.prototype.add.call(this,a,b):!1};gAc.prototype.Zra=function(a){return this.kj.splice(0,Math.min(a,1))};var hAc=function(a,b){this.kj=[];this.H=b};_.K(hAc,_.PK);hAc.prototype.add=function(a,b){return a.Bv.Kw instanceof _.UJ?!1:_.PK.prototype.add.call(this,a,b)};
hAc.prototype.Zra=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.kj.length&&b.length<a;f++){var h=this.kj[f],k=h.Bv.Kw;k instanceof _.kJ||k instanceof _.wJ||k instanceof _.MJ?k="app|"+k.Bh():k instanceof _.fJ||k instanceof _.gJ||k instanceof _.mJ||k instanceof _.QI?k="item|"+(k instanceof _.fJ?k.Cc():k.getId()):k instanceof _.nJ||k instanceof _.xJ?k="item|"+k.Cc():k instanceof _.oJ||k instanceof _.OJ?k="item|"+k.Cc():k instanceof _.LD||k instanceof _.KD?(k=k instanceof _.LD?_.B(k,_.np,1).getKey():
k.getKey(),k="pref|"+_.y(k,2)+"|"+_.op(k)):k=k instanceof _.pJ?"td|"+k.getId():null;var l=h.Bv.Kw;if(l instanceof _.iJ)l=!!_.Q(l,8);else if(l instanceof _.gJ){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.zeb.has(l.getMimeType()));l=p}else l=!1;if(k&&d[k]||l&&5===e)break;b.push(h);c.unshift(f);k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.sa(this.kj,c[a]);return b};
var iAc=function(a,b,c,d,e,f,h,k,l){a=a.eg();h=new _.cmc(k,h,d,_.Vj(a,32,1073741824),_.Vj(a,21,1E3));h=new _.dmc(h);k=new _.Clc(_.Vj(a,59,2E3),_.Vj(a,60,2E4),_.Vj(a,61,6));c=new _.Alc(l?l:c,l?void 0:e);e={};e[1]=_.fmc(b,d);e[2]=_.gmc(b,a,k,c,d);e[3]=_.hmc(b,a,k,c,d,"batch");l=_.Vj(a,10,50);f=new _.RK(d,b,[_.Blc(c),new _.Flc(l,_.Vj(a,11,100)),new _.QK(l),new _.OK(k,d)],[new hAc(a,f),new gAc,new _.PK],[new _.Olc(a,k,c.Jj(),d)],"mutation");return e[4]=f,e[5]=_.imc(h,a,d),e[6]=_.hmc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.hmc(b,a,k,c,d,"xd4_batch"),e[8]=_.hmc(b,a,k,c,d,"xd4_batch_one",1),e},jAc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},kAc=function(a){var b={};return b.parentId=a.wk(),b},lAc=function(a){var b={};_.xnc(b,[_.y(a,2)||""]);return b},mAc=function(a){var b={};_.ie(_.Sg(a.getTitle()))||(b.title=a.getTitle());_.xnc(b,_.Td(a,3));_.Q(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b},nAc=function(a){var b={};null!=a.getTitle()&&(b.title=
a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b},oAc=function(a){var b={};b.sourceIds=_.Td(a.request,1);b.destinationFolderId=_.y(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b},pAc=function(a){var b={},c={};_.ie(_.Sg(a.getTitle()))||(b.title=a.getTitle());null!=a.Te()&&(b.description=a.Te());null!=_.Q(a,4)&&(c.starred=_.Q(a,4));null!=a.Xh()&&(c.trashed=a.Xh());_.ie(_.Sg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.y(a,7)&&(b.modifiedDate=
_.fjc(_.$jc(_.y(a,7)||0)));null!=_.Q(a,11)&&(c.restricted=_.Q(a,11));_.Pa(c)&&(b.labels=c);null!=a.Yi()&&(b.folderColor=a.Yi());null!=_.Q(a,16)&&(b.subscribed=_.Q(a,16));null!=_.Q(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=_.Q(a,40),c));if(c=_.B(a,_.al,25)){b.contentRestrictions=[];var d={};null!=_.Q(c,1)&&(d.readOnly=_.Q(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.xnc(b,_.Td(a,8));return b},qAc=function(a){var b={};null!=_.Q(a,3)&&(b.pinned=_.Q(a,3));
return b},rAc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Qg)("0",6-c.length)+c);c=_.B(a,_.Urc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Fe())&&(a.width=c);b.backgroundImageFile=a}}return b},sAc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());
null!=a.getState()&&(a=_.Anc[a.getState()])&&(b.state=a);return b},tAc=function(a){_.J.call(this,a)};_.K(tAc,_.J);tAc.prototype.Te=function(){return _.C(this,1)};tAc.prototype.Wl=function(a){return _.bk(this,1,a)};tAc.prototype.getUrl=function(){return _.C(this,2)};_.uAc=function(a){_.J.call(this,a)};_.K(_.uAc,_.J);_.uAc.prototype.getType=function(){return _.Dj(this,1,0)};_.uAc.prototype.getContext=function(){return _.B(this,tAc,2)};vAc=[1];wAc=[2,4];_.xAc=function(a){_.J.call(this,a,-1,wAc)};
_.K(_.xAc,_.J);_.xAc.prototype.getLabel=function(){return _.C(this,1)};_.xAc.prototype.getTitle=function(){return _.C(this,3)};_.xAc.prototype.setTitle=function(a){return _.bk(this,3,a)};_.yAc=function(a){_.J.call(this,a,-1,vAc)};_.K(_.yAc,_.J);_.zAc=[[2,3,4]];_.pM=function(a){_.J.call(this,a)};_.K(_.pM,_.J);_.pM.prototype.se=function(){return _.C(this,3)};_.pM.prototype.Jn=function(a){return _.bk(this,4,a)};_.AAc=function(a){_.J.call(this,a)};_.K(_.AAc,_.J);
_.BAc=function(a){_.J.call(this,a,-1,void 0,_.zAc)};_.K(_.BAc,_.J);var CAc=function(a){_.J.call(this,a)};_.K(CAc,_.J);DAc=[3,5];_.qM=[[8,9,10,11,12,13,14]];_.EAc=function(a){_.J.call(this,a)};_.K(_.EAc,_.J);_.FAc=function(a){_.J.call(this,a,-1,DAc,_.qM)};_.K(_.FAc,_.J);_.FAc.prototype.Bb=function(){return _.Dj(this,6,0)};_.FAc.prototype.Dc=function(a){return _.ck(this,6,a)};var GAc=function(a){_.J.call(this,a)};_.K(GAc,_.J);var HAc=function(a){_.J.call(this,a)};_.K(HAc,_.J);
var IAc=function(a){_.J.call(this,a)};_.K(IAc,_.J);var JAc=[1],KAc=function(a){_.J.call(this,a,-1,JAc)};_.K(KAc,_.J);var LAc=function(a){_.J.call(this,a)};_.K(LAc,_.J);var MAc=function(a){_.J.call(this,a)};_.K(MAc,_.J);NAc=[7];_.OAc=[[1,2,3]];_.PAc=function(a){_.J.call(this,a)};_.K(_.PAc,_.J);_.QAc=function(a){_.J.call(this,a)};_.K(_.QAc,_.J);_.RAc=function(a){_.J.call(this,a)};_.K(_.RAc,_.J);_.SAc=function(a){_.J.call(this,a,-1,NAc,_.OAc)};_.K(_.SAc,_.J);_.TAc=function(a){_.J.call(this,a)};
_.K(_.TAc,_.J);_.TAc.prototype.getName=function(){return _.C(this,1)};_.TAc.prototype.hd=function(a){return _.bk(this,1,a)};var UAc=function(a){_.J.call(this,a)};_.K(UAc,_.J);UAc.prototype.getName=function(){return _.C(this,1)};UAc.prototype.hd=function(a){return _.bk(this,1,a)};UAc.prototype.getTitle=function(){return _.C(this,2)};UAc.prototype.setTitle=function(a){return _.bk(this,2,a)};var VAc=[[1,4]],WAc=function(a){_.J.call(this,a,-1,void 0,VAc)};_.K(WAc,_.J);
WAc.prototype.getUser=function(){return _.B(this,_.BAc,1)};var XAc=[[8,9,10]],YAc=function(a){_.J.call(this,a)};_.K(YAc,_.J);YAc.prototype.getType=function(){return _.Dj(this,6,0)};var ZAc=function(a){_.J.call(this,a)};_.K(ZAc,_.J);_.$Ac=function(a){_.J.call(this,a,-1,void 0,XAc)};_.K(_.$Ac,_.J);_.g=_.$Ac.prototype;_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.bk(this,2,a)};
_.g.xja=function(){return _.B(this,YAc,9)};_.g.KUa=function(){return _.B(this,ZAc,10)};_.g.hj=function(){return _.Vj(this,5)};_.g.getMimeType=function(){return _.C(this,6)};_.g.eD=function(){return _.B(this,WAc,7)};var aBc=function(a){_.J.call(this,a)};_.K(aBc,_.J);var bBc=[[8,9,10]],cBc=function(a){_.J.call(this,a,-1,void 0,bBc)};_.K(cBc,_.J);_.g=cBc.prototype;_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.bk(this,2,a)};_.g.xja=function(){return _.B(this,YAc,9)};_.g.KUa=function(){return _.B(this,ZAc,10)};dBc=[[1,3]];_.rM=function(a){_.J.call(this,a,-1,void 0,dBc)};_.K(_.rM,_.J);_.rM.prototype.Gh=function(){return _.B(this,cBc,1)};_.eBc=[[1,2,3]];_.fBc=function(a){_.J.call(this,a)};_.K(_.fBc,_.J);_.gBc=function(a){_.J.call(this,a,-1,void 0,_.eBc)};_.K(_.gBc,_.J);var hBc=function(a){_.J.call(this,a)};_.K(hBc,_.J);var iBc=function(a){_.J.call(this,a)};_.K(iBc,_.J);
jBc=[2,3];_.kBc=function(a){_.J.call(this,a,-1,jBc)};_.K(_.kBc,_.J);_.kBc.prototype.getType=function(){return _.Dj(this,1,0)};_.lBc=function(a){_.J.call(this,a)};_.K(_.lBc,_.J);_.lBc.prototype.getType=function(){return _.Dj(this,1,0)};var mBc=function(a){_.J.call(this,a)};_.K(mBc,_.J);mBc.prototype.getType=function(){return _.Dj(this,1,0)};var nBc=function(a){_.J.call(this,a)};_.K(nBc,_.J);_.oBc=function(a){_.J.call(this,a)};_.K(_.oBc,_.J);_.oBc.prototype.O=function(){return _.S(this,1)};
var pBc=function(a){_.J.call(this,a)};_.K(pBc,_.J);qBc=[1,2,4];_.rBc=function(a){_.J.call(this,a)};_.K(_.rBc,_.J);sBc=[1,2];_.tBc=function(a){_.J.call(this,a)};_.K(_.tBc,_.J);_.tBc.prototype.getParent=function(){return _.B(this,_.rM,1)};_.tBc.prototype.Dg=function(a){return _.I(this,1,a)};_.uBc=function(a){_.J.call(this,a,-1,sBc)};_.K(_.uBc,_.J);_.vBc=function(a){_.J.call(this,a,-1,qBc)};_.K(_.vBc,_.J);_.sM=function(a){_.J.call(this,a)};_.K(_.sM,_.J);
_.sM.prototype.getEmail=function(){return _.C(this,1)};_.sM.prototype.getTitle=function(){return _.C(this,2)};_.sM.prototype.setTitle=function(a){return _.bk(this,2,a)};_.tM=[[2,3,4,5]];_.uM=function(a){_.J.call(this,a,-1,void 0,_.tM)};_.K(_.uM,_.J);_.uM.prototype.zf=function(){return _.Dj(this,1,0)};_.uM.prototype.getUser=function(){return _.B(this,_.BAc,2)};var wBc=function(a){_.J.call(this,a)};_.K(wBc,_.J);xBc=[1,2,3,4];_.yBc=function(a){_.J.call(this,a,-1,xBc)};_.K(_.yBc,_.J);
_.zBc=function(a){_.J.call(this,a)};_.K(_.zBc,_.J);_.ABc=function(a){_.J.call(this,a)};_.K(_.ABc,_.J);_.BBc=function(a){_.J.call(this,a)};_.K(_.BBc,_.J);_.CBc=function(a){_.J.call(this,a)};_.K(_.CBc,_.J);_.CBc.prototype.getType=function(){return _.Dj(this,1,0)};DBc=[1];_.EBc=function(a){_.J.call(this,a)};_.K(_.EBc,_.J);_.EBc.prototype.getFeature=function(){return _.Dj(this,1,0)};_.FBc=function(a){_.J.call(this,a,-1,DBc)};_.K(_.FBc,_.J);var GBc=function(a){_.J.call(this,a)};_.K(GBc,_.J);
var HBc=function(a){_.J.call(this,a)};_.K(HBc,_.J);var IBc=function(a){_.J.call(this,a)};_.K(IBc,_.J);IBc.prototype.getType=function(){return _.Dj(this,1,0)};_.vM=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.wM=function(a){_.J.call(this,a,-1,void 0,_.vM)};_.K(_.wM,_.J);_.wM.prototype.aA=function(){return _.B(this,IBc,10)};_.JBc=function(a){_.J.call(this,a)};_.K(_.JBc,_.J);var KBc=function(a){_.J.call(this,a)};_.K(KBc,_.J);_.LBc=function(a){_.J.call(this,a)};_.K(_.LBc,_.J);
_.MBc=function(a){_.J.call(this,a)};_.K(_.MBc,_.J);_.MBc.prototype.getType=function(){return _.Dj(this,1,0)};_.NBc=[[1,2,3,4,5]];_.OBc=function(a){_.J.call(this,a,-1,void 0,_.NBc)};_.K(_.OBc,_.J);_.OBc.prototype.getUser=function(){return _.B(this,_.BAc,1)};var PBc=function(a){_.J.call(this,a)};_.K(PBc,_.J);PBc.prototype.getType=function(){return _.Dj(this,2,0)};PBc.prototype.Bh=function(){return _.C(this,1)};_.QBc=function(a){_.J.call(this,a)};_.K(_.QBc,_.J);_.g=_.QBc.prototype;
_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.bk(this,2,a)};_.g.Na=function(){return _.B(this,_.$Ac,3)};_.RBc=function(a){_.J.call(this,a)};_.K(_.RBc,_.J);_.RBc.prototype.getParent=function(){return _.B(this,_.$Ac,4)};_.RBc.prototype.Dg=function(a){return _.I(this,4,a)};_.SBc=[[1,5,3]];_.TBc=function(a){_.J.call(this,a,-1,void 0,_.SBc)};_.K(_.TBc,_.J);
_.TBc.prototype.Gh=function(){return _.B(this,_.$Ac,1)};_.UBc=function(a){_.J.call(this,a)};_.K(_.UBc,_.J);_.UBc.prototype.O=function(){return _.y(this,1)};var VBc=function(a){_.J.call(this,a)};_.K(VBc,_.J);VBc.prototype.O=function(){return _.Q(this,1)};VBc.prototype.V=function(){return _.y(this,2)};_.xM=function(a){_.J.call(this,a)};_.K(_.xM,_.J);_.g=_.xM.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.asa=function(){return _.y(this,3)};_.g.jz=function(){return _.y(this,4)};_.g.i$=function(){return _.B(this,VBc,6)};_.g.srb=function(){return _.B(this,_.UBc,7)};_.g.PUa=function(){return _.y(this,8)};_.g.$ra=function(){return _.Q(this,9)};_.yM=function(a){_.J.call(this,a)};_.K(_.yM,_.J);_.g=_.yM.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.Pb=function(a){return _.w(this,2,a)};
_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Ed=function(){return _.y(this,5)};_.g.setSize=function(a){return _.w(this,5,a)};_.g.K9a=function(){return _.y(this,6)};_.WBc=function(a,b){return _.w(a,6,b)};_.yM.prototype.Te=function(){return _.y(this,8)};_.yM.prototype.Wl=function(a){return _.w(this,8,a)};_.yM.prototype.O=function(){return _.Q(this,9)};var Rpc=[90,59,75];_.t("sy1o6");
var XBc=function(a){_.J.call(this,a)};_.K(XBc,_.J);
var YBc=function(a){_.J.call(this,a)};_.K(YBc,_.J);YBc.prototype.getType=function(){return _.y(this,1)};var ZBc=function(a){var b=new YBc;return _.w(b,1,a)},$Bc=function(a,b){return _.I(a,2,b)};YBc.prototype.sy=function(){return _.y(this,3)};YBc.prototype.Yy=function(a){return _.w(this,3,a)};YBc.prototype.Pi=function(){return _.y(this,4)};YBc.prototype.setPosition=function(a){return _.w(this,4,a)};
var zM=function(a){_.J.call(this,a)};_.K(zM,_.J);zM.prototype.getType=function(){return _.y(this,1)};var aCc=function(a){var b=new zM;return _.w(b,1,a)};zM.prototype.ln=function(){return _.B(this,IL,2)};var bCc=function(a,b){return _.I(a,2,b)};zM.prototype.sy=function(){return _.y(this,3)};zM.prototype.Yy=function(a){return _.w(this,3,a)};zM.prototype.Pi=function(){return _.y(this,4)};zM.prototype.setPosition=function(a){return _.w(this,4,a)};
var AM=function(a){_.J.call(this,a)};_.K(AM,_.J);AM.prototype.getType=function(){return _.y(this,1)};var cCc=function(a){var b=new AM;return _.w(b,1,a)};AM.prototype.ln=function(){return _.B(this,_.rG,2)};var dCc=function(a,b){return _.I(a,2,b)};AM.prototype.sy=function(){return _.y(this,3)};AM.prototype.Yy=function(a){return _.w(this,3,a)};AM.prototype.Pi=function(){return _.y(this,4)};AM.prototype.setPosition=function(a){return _.w(this,4,a)};
var eCc=function(a){_.J.call(this,a)};_.K(eCc,_.J);eCc.prototype.Bb=function(){return _.y(this,1)};eCc.prototype.Dc=function(a){return _.w(this,1,a)};eCc.prototype.xr=function(){return _.B(this,_.HL,2)};
var gCc=function(a){_.J.call(this,a,-1,fCc)};_.K(gCc,_.J);gCc.prototype.Bb=function(){return _.y(this,1)};gCc.prototype.Dc=function(a){return _.w(this,1,a)};gCc.prototype.Xj=function(){return _.y(this,3)};var fCc=[2];
var hCc=function(a){_.J.call(this,a)};_.K(hCc,_.J);hCc.prototype.jd=function(){return _.B(this,uL,1)};hCc.prototype.Xn=function(){return _.y(this,2)};
var iCc=function(a){_.J.call(this,a)};_.K(iCc,_.J);_.g=iCc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.xr=function(){return _.B(this,_.HL,2)};_.g.Xj=function(){return _.y(this,3)};_.g.Bh=function(){return _.y(this,4)};
var BM=function(a){_.J.call(this,a)};_.K(BM,_.J);BM.prototype.Bb=function(){return _.y(this,1)};BM.prototype.Dc=function(a){return _.w(this,1,a)};BM.prototype.Xj=function(){return _.y(this,3)};
var jCc=function(a){_.J.call(this,a)};_.K(jCc,_.J);_.g=jCc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Xj=function(){return _.y(this,2)};_.g.LLa=function(){return _.B(this,_.np,3)};_.g.getKey=function(){return _.B(this,_.Tb,4)};_.g.lt=function(){return _.P(this,4)};
var lCc=function(a){_.J.call(this,a,-1,void 0,kCc)};_.K(lCc,_.J);lCc.prototype.getKey=function(){return _.y(this,1)};lCc.prototype.lt=function(){return _.P(this,1)};var nCc=function(a){_.J.call(this,a,-1,mCc)};_.K(nCc,_.J);var kCc=[[2,4,6,10],[3,5,7,8,9]],mCc=[1];
var oCc=function(a){_.J.call(this,a)};_.K(oCc,_.J);
var CM=function(a){_.J.call(this,a,-1,pCc)};_.K(CM,_.J);CM.prototype.Bb=function(){return _.y(this,1)};CM.prototype.Dc=function(a){return _.w(this,1,a)};CM.prototype.O=function(){return _.Qj(this,EL,2)};var qCc=function(a,b){return _.Mj(a,2,b)};CM.prototype.Xj=function(){return _.y(this,3)};var pCc=[2];
var rCc=function(a){_.J.call(this,a)};_.K(rCc,_.J);rCc.prototype.Bb=function(){return _.y(this,1)};rCc.prototype.Dc=function(a){return _.w(this,1,a)};rCc.prototype.O=function(){return _.B(this,EL,2)};rCc.prototype.Xj=function(){return _.y(this,3)};
var sCc=function(a){_.J.call(this,a)};_.K(sCc,_.J);sCc.prototype.qy=function(){return _.y(this,2)};
var uCc=function(a){_.J.call(this,a,-1,tCc)};_.K(uCc,_.J);uCc.prototype.Bb=function(){return _.y(this,1)};uCc.prototype.Dc=function(a){return _.w(this,1,a)};uCc.prototype.Di=function(){return _.Qj(this,_.P7a,2)};uCc.prototype.wq=function(a,b){return _.Sj(this,2,a,_.P7a,b)};var tCc=[2];
var wCc=function(a){_.J.call(this,a,-1,vCc)};_.K(wCc,_.J);wCc.prototype.Bb=function(){return _.y(this,1)};wCc.prototype.Dc=function(a){return _.w(this,1,a)};wCc.prototype.ql=function(){return _.Qj(this,zM,2)};var vCc=[2];
_.yCc=function(a){_.J.call(this,a,-1,xCc)};_.K(_.yCc,_.J);var xCc=[1];
var DM=function(a){_.J.call(this,a,-1,zCc)},CCc,DCc;_.K(DM,_.J);DM.prototype.Xn=function(){return _.y(this,1)};var ACc=function(a,b){return _.w(a,1,b)},BCc=function(a,b){return _.w(a,2,b)};DM.prototype.Bb=function(){return _.y(this,3)};DM.prototype.Dc=function(a){return _.w(this,3,a)};CCc=function(a,b){return _.w(a,4,b)};DCc=function(a,b){return _.Mj(a,5,b)};_.ECc=function(a){_.J.call(this,a)};_.K(_.ECc,_.J);_.ECc.prototype.$b=function(){return _.y(this,2)};_.GCc=function(a){_.J.call(this,a,-1,FCc)};
_.K(_.GCc,_.J);var HCc=function(a,b){return _.w(a,1,b)},ICc=function(a,b){return _.w(a,2,b)},JCc=function(a,b){return _.Mj(a,3,b)},zCc=[5],FCc=[3];
_.EM=function(a){_.J.call(this,a,-1,KCc)};_.K(_.EM,_.J);_.EM.prototype.zV=function(){return _.Qj(this,_.nG,2)};_.EM.prototype.ve=function(){return _.B(this,_.wf,3)};var KCc=[1,2];
_.FM=function(a){_.J.call(this,a)};_.K(_.FM,_.J);_.FM.prototype.Bb=function(){return _.y(this,1)};_.FM.prototype.Dc=function(a){return _.w(this,1,a)};_.FM.prototype.kf=function(){return _.B(this,_.CB,2)};_.LCc=function(a,b){return _.I(a,2,b)};_.FM.prototype.Xj=function(){return _.y(this,3)};
var MCc=function(a){_.J.call(this,a)};_.K(MCc,_.J);MCc.prototype.Bb=function(){return _.y(this,1)};MCc.prototype.Dc=function(a){return _.w(this,1,a)};
var OCc=function(a){_.J.call(this,a,-1,NCc)};_.K(OCc,_.J);OCc.prototype.Bb=function(){return _.y(this,1)};OCc.prototype.Dc=function(a){return _.w(this,1,a)};OCc.prototype.ql=function(){return _.Qj(this,AM,2)};var NCc=[2];
_.GM=function(a){_.J.call(this,a)};_.K(_.GM,_.J);_.GM.prototype.kY=function(a){_.I(this,1,a)};_.GM.prototype.kv=function(){return _.B(this,_.dy,2)};_.GM.prototype.GO=function(a){_.I(this,2,a)};
_.QCc=function(a){_.J.call(this,a,-1,void 0,PCc)};_.K(_.QCc,_.J);_.QCc.prototype.Th=function(){return _.B(this,PBc,2)};_.QCc.prototype.O=function(a){_.Rj(this,5,PCc[0],a)};var PCc=[[5,6]];
_.TCc=function(a){_.J.call(this,a,-1,RCc,SCc)};_.K(_.TCc,_.J);_.TCc.prototype.O=function(a){_.Rj(this,6,SCc[0],a)};var RCc=[3,4,5],SCc=[[6,7]];
var UCc=function(a){_.J.call(this,a)};_.K(UCc,_.J);UCc.prototype.getType=function(){return _.y(this,1)};var VCc=function(a){var b=new UCc;return _.w(b,1,a)};UCc.prototype.sy=function(){return _.y(this,3)};UCc.prototype.Yy=function(a){return _.w(this,3,a)};UCc.prototype.Pi=function(){return _.y(this,4)};UCc.prototype.setPosition=function(a){return _.w(this,4,a)};
var XCc=function(a){_.J.call(this,a,-1,WCc)};_.K(XCc,_.J);XCc.prototype.Bb=function(){return _.y(this,1)};XCc.prototype.Dc=function(a){return _.w(this,1,a)};XCc.prototype.Xj=function(){return _.y(this,3)};var WCc=[2];
_.YCc=function(a){_.J.call(this,a)};_.K(_.YCc,_.J);_.YCc.prototype.getId=function(){return _.y(this,1)};_.YCc.prototype.Pb=function(a){return _.w(this,1,a)};_.YCc.prototype.ve=function(){return _.B(this,_.wf,4)};
var $Cc=function(a){_.J.call(this,a,-1,ZCc)};_.K($Cc,_.J);$Cc.prototype.Bb=function(){return _.y(this,1)};$Cc.prototype.Dc=function(a){return _.w(this,1,a)};$Cc.prototype.Xj=function(){return _.y(this,3)};var ZCc=[2];
_.HM=function(a){_.J.call(this,a)};_.K(_.HM,_.J);_.HM.prototype.getType=function(){return _.y(this,1)};var aDc=function(a){var b=new _.HM;return _.w(b,1,a)},bDc=function(a,b){return _.I(a,2,b)};_.HM.prototype.sy=function(){return _.y(this,3)};_.HM.prototype.Yy=function(a){return _.w(this,3,a)};_.HM.prototype.Pi=function(){return _.y(this,4)};_.HM.prototype.setPosition=function(a){return _.w(this,4,a)};
_.Dpc=function(a){_.J.call(this,a)};_.K(_.Dpc,_.J);_.g=_.Dpc.prototype;_.g.getItem=function(){return _.B(this,_.el,1)};_.g.setItem=function(a){return _.I(this,1,a)};_.g.getError=function(){return _.B(this,_.oc,2)};_.g.Je=function(a){return _.I(this,2,a)};_.g.ao=function(){return _.P(this,2)};_.g.$s=function(){return _.y(this,4)};
var dDc=function(a){_.J.call(this,a,-1,cDc)};_.K(dDc,_.J);var cDc=[2,4];
var fDc=function(a){_.J.call(this,a,-1,eDc)};_.K(fDc,_.J);var eDc=[1];
var hDc=function(a){_.J.call(this,a,-1,gDc)};_.K(hDc,_.J);hDc.prototype.Bb=function(){return _.y(this,1)};hDc.prototype.Dc=function(a){return _.w(this,1,a)};hDc.prototype.Xj=function(){return _.y(this,3)};var gDc=[2];
var jDc=function(a){_.J.call(this,a,-1,iDc)};_.K(jDc,_.J);jDc.prototype.Bb=function(){return _.y(this,1)};jDc.prototype.Dc=function(a){return _.w(this,1,a)};jDc.prototype.Xj=function(){return _.y(this,3)};var iDc=[2];
var kDc=function(a){_.J.call(this,a)};_.K(kDc,_.J);
var mDc=function(a){_.J.call(this,a,-1,lDc)};_.K(mDc,_.J);mDc.prototype.O=function(){return _.y(this,2)};var nDc=function(a,b){_.w(a,2,b)},lDc=[1];
var pDc=function(a){_.J.call(this,a,-1,oDc)};_.K(pDc,_.J);pDc.prototype.qy=function(){return _.C(this,2)};var oDc=[1];
var qDc=function(a){_.ri.call(this,"Ob");this.dataType=a};_.K(qDc,_.ri);
var rDc=function(a,b){_.ri.call(this,"Pb");this.zOa=a;this.Dta=b};_.K(rDc,_.ri);
var sDc=function(){};_.g=sDc.prototype;_.g.xM=function(a,b){return quc(puc(1),a).setPosition(b)};_.g.wM=function(a,b){return quc(puc(2).setPosition(b),a)};_.g.GE=function(a,b,c){return quc(puc(3).Yy(b).setPosition(c),a)};_.g.qQ=function(a,b){return quc(puc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,BL,2)};
var tDc=function(){_.Ky.call(this,new sDc,function(a){return a&&a.getName()})};_.K(tDc,_.Ky);
var IM=function(a,b,c){c=void 0===c?50:c;_.zi.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=doc(new _.ZK,[1]);this.ha=this.H=!1;this.Sc=new _.Ne(this);this.Ma(this.Sc);_.Fe(this,function(){d.active=!1;d.Sc.removeAll()})};_.K(IM,_.zi);_.g=IM.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.Ue=function(){return this.W.Ue()||this.connectionState.Ue()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Sc.listen(this.W,"Fb",function(){return void a.Xt()}),this.Sc.listen(this.connectionState,[].concat(_.nd(Object.values(_.EB))),function(){return void a.Xt()}),this.W.Ue()?this.Sc.$c(this.W,"Fb",function(b){b.Ue()||(a.MG(),a.dispatchEvent(new _.ri(_.oq)))}):this.connectionState.Ue()?this.Sc.$c(this.connectionState,[_.EB.CL,_.EB.iU],function(){a.MG();a.dispatchEvent(new _.ri(_.oq))}):(this.MG(),this.dispatchEvent(new _.ri(_.oq))))};
_.g.MG=function(){};_.g.Ir=function(a){var b=this;if(this.Rj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Xt();this.W.Ue()?this.Sc.$c(this.W,"Fb",function(d){d.Ue()||b.XO()}):this.XO()}};_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.rc(a))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};_.g.Rj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Sc.removeAll();this.activate()};_.g.XO=function(){};
var uDc=function(a,b,c,d,e){IM.call(this,a,b,e.Ei()||void 0);this.ka=c;this.request=e;this.V=[];this.data=[];this.changed=!1;this.O=new tDc;this.ma=d};_.K(uDc,IM);_.g=uDc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){return uuc(new GL,this.data).Dc(this.status)};_.g.zr=function(){var a=this.O.my(this.V,this.data);this.V=this.data;var b=(new suc).Dc(this.status);return _.Mj(b,2,a)};
_.g.XO=function(){this.ma(this.Ai(),this.limit)};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,vDc(this)}};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||pL(this.O,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,vDc(this)};
var vDc=function(a){a.log("Livelist "+a.Ai()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.Za($sc)[a.Bb()]+"."));a.dispatchEvent(new _.ri(_.Cc,a))};uDc.prototype.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};uDc.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var wDc=function(a,b,c,d,e,f,h){_.wL.call(this,a,b,c,e,f,d);this.Od=h;this.W="drive.ds.sync.ViewCacheLiveList";this.ta=null;this.ma=void 0};_.K(wDc,_.wL);wDc.prototype.getData=function(){this.H=this.items;var a=Arc((new _.rB).Dc(this.Bb()).Uw(this.items),this.Rj());a=_.I(a,7,this.ta).sP(this.suggestionSessionId).Li(this.Ke);return _.Kj(a,18,this.ma)};
wDc.prototype.update=function(a){if(ctc(this,a)&&(dtc(this,a),this.ta=a.O5(),this.suggestionSessionId=a.Zf(),this.ma=a.Sja(),btc(this),this.suggestionSessionId&&Lvc(this.V)&&(a=this.Od.H(106027)))){var b=_.B(_.zK(a),osc,20);if(!b){b=new osc;var c=_.zK(a);_.I(c,20,b)}_.w(b,1,this.suggestionSessionId);a.yj()}};
var xDc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=dCc(cCc(4),f),c[e]=d):(d=dCc(cCc(2),d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=dCc(cCc(1),d),c[e]=d)});return c},yDc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ta(xDc(a,b))};
var zDc=function(a,b){_.zi.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.K(zDc,_.zi);_.g=zDc.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Ta(this.data)&&6===this.status||this.dispatchEvent(new _.ri(_.Cc,this)))};_.g.Bb=function(){return this.status};_.g.Mq=function(){return new _.ZK};_.g.getData=function(){this.H=this.data;var a=(new _.DK).Dc(this.status);_.La(this.data,function(b,c){a.IT().set(c,b||new _.rG)});return a};
_.g.zr=function(){var a=xDc(this.H,this.data);this.H=this.data;var b=(new MCc).Dc(this.status);_.La(a,function(c,d){_.Fj(b,2,void 0,AM).set(d,c)});return b};_.g.dT=function(){throw Error("bg");};_.g.Ai=function(){return String(_.Ca(this))};_.g.qd=function(){return this.request};_.g.update=function(a){var b={};a.IT().forEach(function(c,d){c||(c=vyc(d));b[d]=c});if(this.status!==a.Bb()||yDc(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.ri(_.Cc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
var ADc=function(a,b,c,d,e,f){_.wL.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.K(ADc,_.wL);ADc.prototype.getData=function(){this.H=this.items;var a=(new _.CK).Dc(this.Bb()).Uw(this.items);var b=this.Rj();a=_.w(a,4,b);return ktc(a,this.ma).sP(this.suggestionSessionId).Li(this.Ke)};ADc.prototype.update=function(a){ctc(this,a)&&(dtc(this,a),this.ma=_.Qj(a,_.Kk,6),this.suggestionSessionId=a.Zf(),btc(this))};
var BDc=function(){};_.g=BDc.prototype;_.g.xM=function(a,b){return bCc(aCc(1),a).setPosition(b)};_.g.wM=function(a,b){return bCc(aCc(2).setPosition(b),a)};_.g.GE=function(a,b,c){return bCc(aCc(3).Yy(b).setPosition(c),a)};_.g.qQ=function(a,b){return bCc(aCc(4),a).setPosition(b)};_.g.WM=function(a){return a.ln()};
var CDc=function(){_.Ky.call(this,new BDc,function(a){return a&&a.fq()})};_.K(CDc,_.Ky);
var DDc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new CDc;this.suggestionSessionId=null;this.ka=c};_.K(DDc,IM);_.g=DDc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){this.O=this.data;return Ouc(Nuc((new JL).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new wCc).Dc(this.status);return _.Mj(b,2,a)};_.g.XO=function(){};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||pL(this.V,this.data,a.ql())){this.changed=this.H=!0;this.data=a.ql();if(a=a.Zf())this.suggestionSessionId=a;this.Xt()}};_.g.refresh=function(){this.ka()};_.g.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var EDc=function(a,b,c){_.zi.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=doc(new _.ZK,[1]);this.O=!0;this.limit=a.Ei();_.Fe(this,function(){d.H=!1;d.V=[]})};_.K(EDc,_.zi);_.g=EDc.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.activate=function(){this.H=!0;_.pa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.ri(_.Cc,this))};_.g.qd=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Mq=function(){return this.W};_.g.Rj=function(){return this.O};_.g.getData=function(){this.V=this.items;return Arc((new _.rB).Dc(this.status).Uw(this.items),this.O)};_.g.zr=function(){var a=_.Y7a().my(this.V,this.items),b=(new _.tI).Dc(this.status);a=_.Mj(b,2,a);this.V=this.items;return a};_.g.Ir=function(a){this.H&&(this.limit+=a||20,this.ka.HF(this.Ai(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||pL(_.Y7a(),this.items,a.wd()))this.items=a.wd(),this.status=a.Bb(),_.FI(this.ha)&&(this.W=eoc(this.status,this.items)),this.O=a.ol(),this.H&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};_.g.zu=function(){throw Error("cg");};_.g.refresh=function(){};
var FDc=function(a,b,c){_.zi.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=doc(new _.ZK,[1]);this.context.Rf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.jn().join(", "));_.Fe(this,function(){d.V=!1;d.O=[]})};_.K(FDc,_.zi);_.g=FDc.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.qd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.BK;a.Dc(this.status);a.map=this.H;return a};_.g.zr=function(){var a=Boc(this.O,this.H),b=new itc;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.W};
_.g.dT=function(a){var b=this.request;this.request=a;this.ha.PY(this.Ai(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||Coc(this.H,a.eq()))this.status=a.Bb(),this.H=a.eq(),_.FI(this.context.Mc)&&(this.W=eoc(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.CB=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.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
var GDc=function(){};_.g=GDc.prototype;_.g.xM=function(a,b){return dCc(cCc(1),a).setPosition(b)};_.g.wM=function(a,b){return dCc(cCc(2).setPosition(b),a)};_.g.GE=function(a,b,c){return dCc(cCc(3).Yy(b).setPosition(c),a)};_.g.qQ=function(a,b){return dCc(cCc(4),a).setPosition(b)};_.g.WM=function(a){return a.ln()};
var HDc=function(){_.Ky.call(this,new GDc,function(a){return a&&a.getId()})};_.K(HDc,_.Ky);
var IDc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new HDc};_.K(IDc,IM);_.g=IDc.prototype;_.g.MG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){this.O=this.data;return Dwc((new XL).Dc(this.status),this.data.slice(0))};_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new OCc).Dc(this.status);return _.Mj(b,2,a)};
_.g.XO=function(){this.ka.HF(this.Ai(),this.limit)};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||pL(this.V,this.data,b.ql()))this.H=!0,this.status=b.Bb(),this.data=b.ql(),this.ha=a.H,this.dispatchEvent(new _.ri(_.Cc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var JDc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.wf;this.O=this.context.dfa;this.ta=this.context.R5};_.g=JDc.prototype;_.g.Dwa=function(a){var b=this,c=new wDc(this.context.tm,this.context.cQ,this.context.Rf(),this.context.Mc,function(d,e){b.HF(d,e)},a,this.context.vk());this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.Gwa=function(a){var b=this,c=new ADc(this.context.tm,this.context.cQ,this.context.Rf(),function(d,e){b.HF(d,e)},a,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Awa=function(a){var b=this,c=new yL(this.context.Mc,this.context.tm,this.context.Rf(),this.context.DZ,this.PY.bind(this),a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Jwa=function(a){var b=this,c=new EDc(a,this,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.Kwa=function(a){var b=this,c=new FDc(this.context,this,a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Nwa=function(a){var b=this,c=new IDc(this.context,a,this);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Hwa=function(a){var b=this,c=new DDc(this.context,a,function(){if(a instanceof _.dA){var d=KDc(b.context);cyc(d,d.getKey(a)).refresh()}});this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.Owa=function(a){var b=this,c=new zDc(this.context,a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.wwa=function(a){var b=this,c=new uDc(this.context.Jj(),this.context.tk(),this.context.Rf(),function(d,e){b.HF(d,e)},a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.ki=function(a){var b=a.Ai();this.H[b]=a;this.ha.create(b,a.qd());if(a.qd()instanceof _.fA)a=this.O.ki(b,a.qd());else if(a.qd()instanceof _.sG)a=ayc(this.O,b,a.qd());else if(a.qd()instanceof _.dA)a=KDc(this.context).ki(b,a.qd());else if(a.qd()instanceof _.AG)a=this.ta.ki(b,a.qd());else{var c=a.qd(),d=xL(this.context.tm,c,2);this.log("Registering LiveList "+a.Ai()+" "+d);a=this.W.ki(b,c)}"boolean"===typeof a&&mwc(this.ha,b,a)};
_.g.fk=function(a){if(a.qd()instanceof _.fA)this.O.fk(a.Ai(),a.qd());else if(a.qd()instanceof _.sG)byc(this.O,a.Ai(),a.qd());else if(a.qd()instanceof _.dA)KDc(this.context).fk(a.Ai(),a.qd());else if(a.qd()instanceof _.AG)this.ta.fk(a.Ai(),a.qd());else{var b=a.qd(),c=xL(this.context.tm,b,2);this.log("Unregistering LiveList "+a.Ai()+" "+c);this.W.fk(a.Ai(),b)}UL(this.ha,a.Ai(),4);delete this.H[a.Ai()]};_.g.PY=function(a,b,c){this.W.fk(a,b);this.W.ki(a,c)};
_.g.HF=function(a,b){var c=LDc(this,a).qd();c.ui(b);c instanceof _.fA?this.O.ki(a,c):c instanceof _.sG?ayc(this.O,a,c):c instanceof _.AG?this.ta.ki(a,c):this.W.ki(a,c)};_.g.oO=function(a,b){var c=this.H[a]&&this.H[a].qd();c&&(c instanceof _.hf?koc(c.O(),b.wd().filter(function(d){return!PL(d)})):c instanceof _.yA&&koc(c.O(),Object.values(b.eq()).filter(function(d){return d&&!PL(d)})));this.ka[a]=b;this.V||(this.V=_.Ci(this.O8,50,this))};
_.g.DX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ci(this.O8,50,this))};_.g.sA=function(a){(a=this.H[a])&&a.dW()};_.g.O8=function(){_.Di(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&&(pwc(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])UL(this.ha,a,3),d.CB(c)};
_.g.gka=function(a){return LDc(this,a).qd()};var LDc=function(a,b){if(!a.H[b])throw Error("dg`"+b);return a.H[b]};JDc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var MDc=function(){},NDc=function(a){this.H=a},Epc=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.pA=f;this.H=h;this.W=k};
var JM=function(a,b){_.zi.call(this);this.O=a;this.request=b;this.ke=_.Zh();this.complete=!1;this.H=""};_.K(JM,_.zi);JM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Re(a.request)}).then(this.W.bind(this)).Gg(this.handleError.bind(this));return this.ke.promise};JM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new rDc(0,this.H));ODc(this)};
var ODc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Re(new _.Fhc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new dDc;c=_.Kj(c,2,b.V);c=_.w(c,3,a.H);c=_.w(c,5,b.ka);c=_.w(c,6,b.ha);c=_.w(c,7,b.pA);c=_.w(c,8,b.H);b=_.Mj(c,4,b.W);a.ke.resolve(b)}else b=_.MI(_.hq(_.gq(new _.oc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new rDc(b.O,
a.H)),ODc(a)}).Gg(function(b){a.handleError(b)})},5E3)};JM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Re(new _.Ehc(a.H))}).then(this.V.bind(this)).Gg(this.handleError.bind(this))};JM.prototype.V=function(){if(!this.complete){var a=new dDc;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.ke.resolve(a);this.complete=!0;this.dispose()}};JM.prototype.handleError=function(a){this.complete=!0;this.ke.reject(_.aJ(a));this.dispose()};
var PDc=function(){_.ri.call(this,"VbxEwf")};_.K(PDc,_.ri);
var QDc=function(a,b){this.context=a;this.H=null;this.qc=b||null};_.g=QDc.prototype;_.g.La=function(){return _.B(this.context.Mc,_.WI,58)};_.g.getContext=function(){return this.context};_.g.Oz=function(){return this.context.XA.Oz(this.H)};_.g.Rf=function(){return this.context.Rf()};_.g.KM=function(a){return _.hi(this.context.wf.rm.H(a))};_.g.cR=function(){return _.hi(this.context.XA.cR())};
_.g.N4=function(a,b,c){var d=new _.ai;if(_.B(a,_.GI,3)||_.B(a,_.VJ,4)||_.B(a,_.LK,5)||_.B(a,_.PJ,6)||_.B(a,_.pJ,7)||_.B(a,_.iJ,8)||_.B(a,_.mJ,9)||_.B(a,_.QI,10)){var e=jwc(a);this.context.Qm().then(function(f){return f.Re(e,{V5a:b,W5a:c})}).then(this.L9a.bind(this,d),d.Id,d);return d}throw Error("eg");};
_.g.L9a=function(a,b){var c=[],d="";if(b instanceof _.MK){c=b.jd().wd();var e=_.y(b,2);d=b.Xn()}else if(b instanceof _.XJ)b.getItem()&&c.push(b.getItem()),e=b.UM();else throw Error("fg");a.callback({items:c,Yha:e,pageToken:d})};_.g.ypa=function(){var a=this.context.Mc,b=a.eg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.zha=function(){this.context.Ns.iS();var a=this.context.Mc;Uzc(_.lK(_.AI(a)),_.mK(a),this.context.Rf()).Gg(function(){})};
_.g.Z8=function(){return _.Fgc[_.Dj(this.context.Mc.eg(),8,0)]};_.g.Xca=function(){this.context.RF.H=new Jyc(_.Ug().substring(0,8))};_.g.OS=function(){var a=this.context.RF.lN(),b=null;a&&(b=Lyc(this.context.RF),b={traceId:a,spanRecs:b});a=this.context.RF;a.H=null;a.wY=[];return _.hi(b)};_.g.lN=function(){return _.hi(this.context.RF.lN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Mc.Wi();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.wf.rm.Ed();c=this.context.wf.mr;var d=c.H;d&&(b.cs_sutd=d.S7,b.cs_ss=d.Ed());b.cs_ch=axc(c).length;b.cs_td=c.VV().length;(c=this.context.S5)&&(b.t_cps=c.SVa().getStats().join(","));b.t_id=RDc(this.context);
var e=[];SDc(this.context.bR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.kz?this.context.tk().isConnected():this.context.wI.IB();b.n_o=this.context.kz?this.context.tk().Ue():this.context.Jj().Ue();b.n_csm=!!this.context.kz;a&&(b.csw_cc=_.Pa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.hi(JSON.stringify(b))};_.g.Voa=function(){this.qc&&(this.qc.dispatchEvent(new PDc),this.qc.Gu())};
_.g.Ml=function(a){var b=this.context.kz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.jlc(b))};
var VDc=function(a,b){this.context=a;this.Kg=b;this.H=_.rhc(_.tK(this.Kg),TDc);this.O=_.rhc(_.tK(this.Kg),UDc)};
VDc.prototype.tl=function(a){var b=this,c=this.context.UP.kf().kf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.vhc(h);var k=h.getId(),l=b.context.Zn();_.Qic(h,3);_.TI(h,5);var p=Hoc(h,!0);h.getCapabilities()||_.hK(h,new _.Zk);_.Q(p,2)&&((p=h.mk())&&p.length?_.w(h,46,p[0]):(_.gK(h,[l]),_.w(h,46,l)),l=h.vq(),_.w(h,12,l),l=new _.Kk,l.Pb(d),_.w(l,6,1),_.bic(l,!0),_.Jic(h,l),_.Iic(h,[l]),_.LWb(h,1));e[k]=h});a=Object.keys(e);c=this.context.wf;var f=tvc(c.rm,a);_.La(f,function(h,
k){dL(h.getItem(),e[k],b.H);(b.context.Jj().Ue()||b.context.tk().Ue()||3===h.getItem().qv())&&dL(h.getItem(),e[k],b.O);_.Va(e,k)});_.La(e,function(h){_.bl(h.Om())&&(f[h.getId()]=new NL(h))});WDc(c,Object.values(f))};
var XDc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.tl(c)},YDc=function(a){a=a.context.wf;var b=new _.hf;b.Ml(!0);b=vvc(a.rm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.qv()){var h=new _.JI;_.KI(h,f.getId());_.UI(h);d.push(h)}else h=new _.Rna,_.aL(h,!1),_.w(h,2,!1),_.I(f,81,h),c.push(b[e])}WDc(a,c);a.Po(d)},TDc=[50],UDc=[12,11,10,67,68];
var ZDc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new VDc(a,a.Kg)};_.g=ZDc.prototype;_.g.fY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.N9a.bind(this);var b=this.M9a.bind(this);this.log("Querying all offline items.");this.H.pV().jg(a,b);this.V||(this.H.q_((0,_.M)(this.zwb,this)),this.V=!0)}}else YDc(this.O)};_.g.N9a=function(a){this.log("Processing all offline item(s): "+a.length);this.O.tl(a);$L(this.context.Oj,"GZTDpc")};_.g.M9a=function(){this.log("Error fetching offline items.")};
_.g.zwb=function(a){this.log("Handling offline change(s): "+a.length);XDc(this.O,a)};_.g.log=function(a){this.context.Rf().info("drive.ds.sync.offline.LocalDataService",a)};
var KM=function(a){_.zi.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Sc=new _.Ne(this);this.ma=null;this.Ta=this.va=!1;var b=new ZDc(a);this.context.ha=b;this.Fa=new QDc(a,this);ppc(this.Fa);(b=_.B(a.Mc,_.WI,58))&&_.S(b,1,!1);this.Ma(this.Sc);this.O=this.context.Oj;this.W=a.afa;this.V=new JDc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.xRa()};_.K(KM,_.zi);_.g=KM.prototype;_.g.xRa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Zh();var b=this.context.vk().H(106E3);this.ma.promise.then(function(){b&&b.yj()},function(){_.JK(a.context.vk(),181008852)});var c=_.nK(this.context.Mc)?"(coldstart) ":"";this.context.Rf().info(this.Ba,"Initializing "+c+" with client build: "+this.context.Mc.Wi());this.Sc.listen(this.context,_.Bc,this.cub);this.Sc.listen(this.context.wI,["nb","ob"],function(d){return void a.dispatchEvent(d)});this.Sc.listen(this.context.tk(),[].concat(_.nd(Object.values(_.EB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();$L(this.O,"NSockf")}return this.ma.promise};_.g.tWa=function(){this.context.Rf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.cub=function(a){var b=a.error,c=b.Qg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.DY=function(){throw LM("teamDriveQuery");};_.g.eda=function(){throw LM("teamDriveFindByIds");};
_.g.qpa=function(){throw LM("teamDriveMovePreflight");};_.g.rFa=function(){throw LM("peoplePredictQuery");};_.g.query=function(a){Jvc(this.context.tm,a,Bsc(this.context.Kg));this.mF();var b=a.clone();b=this.V.Dwa(b);this.Ta||(a=a.ve(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Cc,this.MLa)));return b};_.g.MLa=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Sc.Yc(a,_.Cc,this.MLa)}};_.g.Bq=function(a){this.mF();mtc(a);return this.V.Awa(a.clone())};
_.g.zua=function(){throw LM("activityQuery");};_.g.lva=function(){throw LM("backupsQuery");};_.g.cGa=function(){throw LM("refreshBackups");};_.g.qV=function(){throw LM("getAndroidBackupItems");};_.g.g8=function(){throw LM("deleteBackup");};_.g.uFa=function(){throw LM("permissionQuery");};_.g.Q$=function(){throw LM("insertPermission");};_.g.h8=function(){throw LM("deletePermission");};_.g.ld=function(){throw LM("mutate");};_.g.RN=function(){throw LM("mutateWorkspace");};
_.g.Bz=function(){throw LM("bulkMutate");};_.g.zwa=function(){throw LM("createFileUploader");};_.g.LRa=function(a){return new JM(this.context.Qm(),a)};_.g.yr=function(a){if(3===a.getType())return _.ii(this.context.Qm().then(function(b){return b.Re(a)}).then(null,_.bJ));throw LM("getApps with type "+a.getType());};_.g.xr=function(){throw LM("getApp");};_.g.S$=function(){throw LM("installApp");};_.g.f8=function(){throw LM("deleteApp");};_.g.aT=function(){throw LM("updateApp");};
_.g.qN=function(){throw LM("getUserAccount");};_.g.KG=function(){throw LM("getUserPrefs");};_.g.YR=function(){throw LM("mutateUserPref");};_.g.lu=function(){throw LM("getRevisions");};_.g.eBa=function(){return!1};_.g.Ml=function(a){this.context.kz?a?_.klc(this.context.kz,!0):this.context.tk().Ue()&&this.context.kz.oM(!0).then(null,function(){}):this.context.Jj().Ml(a)};_.g.Xy=function(){throw LM("setOfflineOptIn");};_.g.fY=function(){throw LM("setLocalItemService");};_.g.mF=function(){};
_.g.$R=function(){this.context.$R();this.context.vk().O(106006)};_.g.q9=function(){return this.Fa};_.g.cY=function(){};_.g.IB=function(){return this.context.wI.IB()};_.g.iQ=function(){return _.S(this.context.Mc.eg(),52,!1)?_.Wh(cwc(new bwc,0)):this.context.wI.iQ()};_.g.isConnected=function(){return 1===this.context.tk().get()};_.g.A7=function(){var a=this.context.kz;return a?a.oM():_.Wh(_.Ukc(0))};_.g.sync=function(){throw LM("sync");};_.g.Gu=function(){return this.context.Gu()};
_.g.iba=function(){throw LM("offlineDataLoaded");};_.g.tna=function(a){return this.context.Qm().then(function(b){return b.Re(a)}).then(function(b){return b})};_.g.Nva=function(){throw LM("categoryMetadataQuery");};_.g.v7=function(){throw LM("changeCategoryLinks");};_.g.ZO=function(){throw LM("updateCategoryMetadata");};_.g.NFa=function(){throw LM("publishedCategoriesQuery");};_.g.OFa=function(){throw LM("publishedCategoryQuery");};_.g.pKa=function(){throw LM("workspaceFindByIdsRequest");};
_.g.lqa=function(){throw LM("workspaceQueryRequest");};_.g.GIa=function(){throw LM("suggestedWorkspaceItemQueryRequest");};_.g.HIa=function(){throw LM("suggestedWorkspaceQueryRequest");};_.g.o_=function(){throw LM("addCacheHint");};_.g.U_=function(){throw LM("createUserFeedback");};_.g.Po=function(){throw LM("handleChanges");};var LM=function(a){return new _.qc(a+" is unsupported",_.$I(3))};
var Opc=function(a){KM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Eu("")};_.K(Opc,KM);Opc.prototype.$a=function(){ZL(this.O,["NSockf"],this.tWa.bind(this))};
var $Dc=new Set([1,2,4,5,6]),aEc=function(a,b,c,d,e){this.O=a;this.ka=b;this.ha=c;this.W=d;this.V=e;this.H=null;this.status=3;this.Ke=0};aEc.prototype.kf=function(){var a=new _.FM;a.Dc(this.status);this.H&&_.LCc(a,bEc(this));return a};
var cEc=function(a,b,c,d){d=void 0===d?!1:d;var e=$Dc.has(c);if(1===a.status&&!e)return!1;a.Ke=c;var f=a.status;c=!a.H;if(_.FI(a.O)){var h=(h=b&&b.getUser())&&bL(h);h=!(!h||!Kxc(a.ka,h));a.status=h&&e||d?1:6}f=!_.Uj(a.H,b)||(_.FI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.FI(a.O)||(a.status=e||d?1:6);c&&($L(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};aEc.prototype.Ze=function(){return this.Ke};
var bEc=function(a){return a.H?a.H.clone():null};
var dEc=function(a){_.zi.call(this);this.ha=a;this.Ke=0};_.K(dEc,_.zi);var eEc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};Fuc(a,_.Td(a,4).map(b));Guc(a,_.Td(a,5).map(b));return a};_.g=dEc.prototype;_.g.yr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.dQ=function(){};_.g.QG=function(){return 0!==this.Ke};_.g.Ze=function(){return this.Ke};
var fEc=new Set([1,2,4,5,6]),gEc=function(a,b,c){dEc.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.np=!1};_.K(gEc,dEc);gEc.prototype.yr=function(){var a=new VL;if(!_.Ta(this.H)){_.Kj(a,4,this.O);var b=[];_.La(this.H,function(c){b.push(c.clone())});_.Mj(a,2,b)}a.Dc(this.status);return a};gEc.prototype.put=function(a){this.H[a.getId()]=eEc(a);this.V.update(1);this.dispatchEvent(new _.ri("Qb",this))};gEc.prototype.remove=function(a){_.Va(this.H,a)&&this.V.update(1)};
gEc.prototype.dQ=function(a,b,c){c=void 0===c?!1:c;var d=!fEc.has(b);1===this.status&&d||(this.Ke=b,hEc(this,a,!d||c),d||this.V.update(1),this.np||(this.np=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),$L(this.ha,"nVUlO")))};
var hEc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Td(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Da(f);d=f.length!==a.O.length}a.O=e;var h=_.Ya(a.H);_.ghc(a.H);b=_.Qj(b,_.HL,2);d||(d=b.length!==_.Pa(h));b.forEach(function(k){var l=eEc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Uj(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ri("Qb",a))};
var MM=function(a){_.N.call(this);this.context=a;this.Gy=new Set;this.Ap=6;this.VBa=!0;this.Ke=0;this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K(MM,_.N);_.g=MM.prototype;_.g.ki=function(a){this.KQa(a);this.Gy.add(a);this.resize(!0);this.oO(a)};_.g.KQa=function(){};_.g.fk=function(a){this.Gy.delete(a);0!=this.Gy.size||this.GYa()?this.resize(!1):this.dispose()};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};_.g.dC=function(a){this.VBa=!1;this.Ap=a};_.g.BJ=function(){return this.Ap};
_.g.refresh=function(){};_.g.Zj=function(){};
var jEc=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)}}iEc(a.context.wf,d,b);d.forEach(function(k){Iyc(a.context.QLa,k,b);if(k.yc()){var l=k.getCapabilities();PL(k)?l&&(_.nic(l,_.Q(l,13)),_.kic(l,!1),_.ric(l,!1)):fL(k)?(l&&_.w(l,3,!1),_.w(k,30,!1)):l&&(_.vic(l,!1),_.wic(l,!1))}k.getCapabilities()||_.hK(k,
new _.Zk)})};MM.prototype.resize=function(){};MM.prototype.qd=function(){};MM.prototype.tl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=YL(e);d=c.Lu(e,!0)||d});b||(1!=this.BJ()&&(d=!0),this.dC(1));d&&this.EX()};var kEc=function(a,b){var c=!1;b.forEach(function(d){c=a.Lu(d)||c});c&&a.EX();return c};_.g=MM.prototype;_.g.update=function(a){return kEc(this,[a])};_.g.Lu=function(){};_.g.EX=function(){var a=this;this.JQa();this.Gy.forEach(function(b){a.oO(b)})};_.g.JQa=function(){};
_.g.oO=function(a){var b=lEc(this.context).gka(a);this.TXa(b)||(b=this.Zj(b),lEc(this.context).oO(a,b))};_.g.DX=function(a){var b=this;this.dC(3);this.Gy.forEach(function(c){lEc(b.context).DX(c,a)})};_.g.sA=function(){var a=this;this.Gy.forEach(function(b){lEc(a.context).sA(b)});this.Li(0==this.Ze()?1:6)};_.g.GYa=function(){return!1};_.g.TXa=function(){return!1};
var mEc=function(a){_.ri.call(this,"Ba");this.id=a};_.K(mEc,_.ri);
var nEc=function(a,b,c,d){d=void 0===d?!1:d;_.zi.call(this);this.request=a;this.context=b;this.fKa=d;this.ke=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.K(nEc,_.zi);
nEc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Zh();for(var b={},c=_.m(this.request.jn().entries()),d=c.next();!d.done;b={Rqa:b.Rqa,Yda:b.Yda,Cqa:b.Cqa},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Cqa=e;b.Rqa=Nsc(Msc(d),this.request);b.Yda=void 0;this.fKa&&(b.Yda={fKa:!0});this.context.Qm().then(function(f){return function(h){return h.Re(f.Rqa,f.Yda)}}(b)).then(function(f){return void oEc(a,f)},function(f){return function(h){var k=f.Cqa;h=
_.DB(h);5===h.Qg.$s()||4===h.Qg.rk()?(a.context.Rf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),pEc(a)):a.handleError(h)}}(b))}return this.ke.promise};var oEc=function(a,b){b.jd().wd().forEach(function(c){_.TI(c,1);a.W.push(c)});pEc(a)},pEc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
nEc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;qEc(this);rEc(this);this.O.size===this.request.jn().length?(this.context.wf.tl([],1,this.originalRequest,!1),this.dispatchEvent("Da"),this.ke.resolve(this.items)):this.dispatchEvent("Aa")};
var qEc=function(a){var b=a.W;a.W=[];b=a.context.cfa.K8(b);if(_.ZI(_.AI(a.context.Mc))){var c=a.context.wf.rm;_.Ia(b,function(d){var e=c.H(d.getId());e&&_.gK(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.wf.tl(b,1,a.originalRequest,!0)},rEc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.UI(_.KI(new _.JI,c));a.context.wf.Po([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new mEc(c))})};
nEc.prototype.handleError=function(a){var b=new vL(a.Qg,_.Vj(this.context.Mc.eg(),1,1));this.context.wf.CB(this.request,b);this.dispatchEvent(b);this.ke.reject(a)};
var sEc=function(a,b,c,d){MM.call(this,a);this.Kg=b;this.request=c;this.Hd={};this.H=null;this.O=_.PI(a.Mc)||new _.Bgc;d&&this.tl(d,!0)};_.K(sEc,MM);
sEc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Ap=6;if(_.S(this.request,5,!1))return this.dC(1),_.Wh();var b=!this.VBa&&_.S(this.O,3,!1)?!1:!noc(_.tK(this.Kg),this.request.O()),c=[],d=this.context.Zn();this.request.jn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Hd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.qv()||b)l=l&&l.Om(),k=!(l&&_.Q(l,2));k&&c.push(h)}});if(0===c.length)return this.tl([],!1),_.Wh();this.H=_.Zh();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.AA(e,c);var f=new nEc(e,this.context,this.request);this.context.Jj().Ue()?(this.Sc.listen(this.context.Jj(),"Fb",function(h){h.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),tEc(a,f,a.H))}),this.Ap=0<Object.values(this.Hd).length?1:2):(this.context.tk().Ue()&&(this.Ap=0<Object.values(this.Hd).length?1:2),tEc(this,f,this.H));return this.H.promise};var tEc=function(a,b,c){a.Sc.listen(b,"Ba",function(d){a.Hd[d.id]=null});a.sA();b.$g().then(function(){c.resolve()},c.reject)};
_.g=sEc.prototype;_.g.wha=function(a){var b=this;if(this.context.tm.equals(a,this.request,!0)){if(noc(_.tK(this.Kg),a.O()))return!0;if(noc(this.request.O(),a.O(),_.tK(this.Kg))){if(this.VBa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.jn().every(function(c){return(c=b.Hd[c])&&_.Q(c.getItem(),31)})}}return!1};
_.g.Zj=function(a){var b=new _.BK;_.FI(this.context.Mc)?b.Dc(Aoc(Object.values(this.Hd))?6:this.Ap):b.Dc(this.Ap);b.Li(this.Ze());gtc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));jEc(this,a.O(),b.eq());return b};_.g.resize=function(){};_.g.qd=function(){return this.request};_.g.Ed=function(){return Object.values(this.Hd).length};_.g.Lu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.xs=function(a){return!!a&&_.oa(this.request.jn(),a.getId())};
var uEc=function(a,b){_.ri.call(this,a);this.changes=b};_.K(uEc,_.ri);
var vEc=function(a){var b=new Qxc;if(a.Zf()){var c=a.Zf();b.H=!1;b.suggestionSessionId=c}a instanceof _.CK&&_.Qj(a,_.Kk,6).length?(a=_.Qj(a,_.Kk,6),b.H=!1,b.V=a):a instanceof _.rB&&(a.O5()||a.Ora()||a.Sja().length)&&(c=a.O5(),b.H=!1,b.W=c,c=a.Ora()||!1,b.H=!1,b.incompleteSearch=c,a=a.Sja(),b.H=!1,b.O=a);return b};
var NM=function(a,b,c,d,e){e=void 0===e?"":e;_.zi.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ka=a.Rf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.KFa(b);this.ha=new Qxc};_.K(NM,_.zi);var wEc=function(a){return!a.va||""!==a.nextPageToken},yEc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&wEc(a)?xEc(a):_.hi()};NM.prototype.$b=function(){return this.V.length};NM.prototype.H=function(){return this.V.slice()};
var xEc=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 _.ai;d.addCallback(function(f){return void zEc(a,c,f)});var e=_.ehc(_.fhc(new _.GI,a.Fa),c);b=_.chc(new _.agc,b);a.Ha&&_.w(b,10,!0);_.dhc(e,b);a.va=!0;a.O=!0;a.context.Qm().then(function(f){return f.Re(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
NM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.CK)var c=b;else c=b.jd(),this.nextPageToken=b.Xn()||"";this.ha=vEc(c);this.ha.vc()||this.dispatchEvent("Ca");a.callback(c.wd())};
NM.prototype.handleError=function(a,b,c){c=_.DB(c);this.O=!1;if(5===c.Qg.$s())a.callback([]);else{if(10===c.Qg.$s()&&(_.chc(b,Math.ceil(_.Vj(b,1,1E3)/2-2E-15)),1<_.Vj(b,1,1E3))){var d=_.dhc(_.ehc(_.fhc(new _.GI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Qm().then(function(e){return e.Re(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new vL(c.Qg,_.Vj(this.context.Mc.eg(),1,1));this.NLa(b);this.dispatchEvent(b);a.Id(c)}};
var zEc=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: ")+(_.kkc(a.request)+" paginationToken: ")+b;b=_.iq(_.gq(_.MI(_.LI(new _.oc,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())_.TI(b.value,
a.ma?2:1);c=[];b=_.m(a.k1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.KI(new _.JI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new uEc("Aa",c));if(a.V.length<a.W&&a.nextPageToken)return xEc(a);a.dispatchEvent("Da")};_.g=NM.prototype;_.g.k1a=function(a){return a};_.g.NLa=function(){};_.g.qd=function(){return this.request};_.g.KFa=function(a){a=a.clone();this.ma&&_.w(a,46,!0);return a};_.g.log=function(a){this.Ka.info("drive.ds.sync.query.QueryRunner",a)};
var AEc=function(a,b,c,d){NM.call(this,a,b,void 0,c,d)};_.K(AEc,NM);AEc.prototype.k1a=function(a){a=this.context.cfa.K8(a);this.context.wf.tl(a,1,this.request,wEc(this));return a};AEc.prototype.NLa=function(a){this.context.wf.CB(this.request,a)};AEc.prototype.KFa=function(a){var b=a=NM.prototype.KFa.call(this,a),c=_.Gl(b);0===_.Td(b,33).length&&1===c.length&&(c=this.context.wf.rm.H(c[0].Za()))&&(c=c.yc())&&(_.Il(b,[c]),_.Jl(b,2));BEc(this,a);return a};
var BEc=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.wf.rm.H(d.Za()))&&_.Q(d,108)})){var c=b.ve();c||(c=new _.wf,_.Hl(b,c));_.xf(c,937)}};
var CEc=function(a,b,c,d){this.context=a;this.Kg=b;this.W=d;this.vna=0;this.H=c},GEc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.hf,[b]),_.tK(a.Kg)),1),d=_.xf(new _.wf,306);_.Hl(c,d);DEc(a);c=new AEc(a.context,c);yEc(c,5E3).addCallback(a.V.bind(a,c));EEc(a);FEc(a,b)}},EEc=function(a){var b=_.Qa(a.H);b=b.filter(function(d){return d instanceof sEc});var c=new Set;b.forEach(function(d){d.qd().jn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.xf(new _.wf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.qO([].concat(_.nd(c)),b)},FEc=function(a,b){var c=[];(a.context.wf.TFa.oQ[b||"subscribed"]||[]).forEach(function(d){_.La(a.H,function(e){_.Uj(e.qd(),d)&&c.push(e)})});_.Da(c);0<c.length&&(DEc(a),c.forEach(function(d){d=xL(a.context.tm,d.qd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.$h(_.Yh(c.map(function(d){return d.refresh().Gg(_.Of)})),a.O.bind(a)))};
CEc.prototype.qO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ie(f)});if(0===a.length)return _.Wh({});a=_.w(_.zA(_.AA(new _.yA,a),d||_.tK(this.Kg)),7,!0);_.BA(a,b);e&&e.length&&_.Mj(a,11,e);DEc(this);b=new nEc(a,this.context,void 0,c);return _.$h(b.$g(),this.V.bind(this,b))};CEc.prototype.V=function(a){a.dispose();this.O()};var DEc=function(a){a.vna++;a.context.Ns.setActive(!1)};CEc.prototype.O=function(){this.vna--;0===this.vna&&this.context.Ns.setActive(!0)};
CEc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CacheRefresher",a)};
var HEc=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ke=null;a=new _.wf;_.yf(a,!1);_.xf(a,305);_.Hl(this.request,a);this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K(HEc,_.N);
HEc.prototype.$g=function(){if(!this.ke){this.ke=_.Zh();if(_.S(this.request,48,!1))return this.H.Li(9),this.ke.resolve(this.H),this.ke.promise;this.O=new NM(this.context,this.request,!0);this.Sc.listen(this.O,"Aa",this.W);this.Sc.listen(this.O,"Da",this.V.bind(this));this.Sc.listen(this.O,"Ea",this.ke.reject.bind(this.ke));yEc(this.O,this.request.Ei())}return this.ke.promise};HEc.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(YL(new NL(b)))};
HEc.prototype.V=function(){this.H instanceof bM?this.H.H=!wEc(this.O):wEc(this.O)&&aM(this.H,!1);this.H.Li(5);this.ke.resolve(this.H)};
var JEc=function(a,b){_.ri.call(this,IEc);this.cache=a;this.changes=b};_.K(JEc,_.ri);var IEc="Rb";
var KEc=function(a,b){return new _.Vh(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.ly()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();Ioc(k.getItem());f.set(l,bvc(new NL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.Cc(),l=f.get(l)||null,k.uk()?l&&a.update(new Mwc(l.getId(),l,null)):(k=k.getItem(),Ioc(k),a.update(Nwc(l,bvc(new NL(k),null===l||void 0===l?void 0:l.H))));a.WW();c(e.FKb)},d)})};
var LEc=function(a,b){_.N.call(this);this.context=a;this.Kg=b};_.K(LEc,_.N);
LEc.prototype.$g=function(a){this.log("Running initial view populator (IVDP).");try{var b=new LL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.aJ(l));return}a=_.AI(this.context.Mc);if(!_.ZI(a)){var c=b.kf();if(c){var d=c.getUser();d&&d.getId()===_.C(a,6,"")&&cEc(this.context.UP,c,4)}(a=b.Zn())&&this.context.Eu(a,6)}var e=_.y(b,3)||void 0;e&&MEc(this.context,e,!0);if((a=_.Qj(b,_.np,9))&&a.length){c=(c=this.context.Mc.eg())&&_.Td(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.op(l))&&f.add(l)});this.context.kE.dQ(a,4,[].concat(_.nd(f.values())))}a=b.wd();a.forEach(function(l){_.vhc(l);_.TI(l,6)});if(c=_.Qj(b,KL,5)[0])if(b=this.context.tm,uoc(_.tK(this.Kg),c.getQuery().O(),_.mK(this.context.Mc)))if((d=c.getQuery().wc())&&4===d.getType()&&!_.udc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=RL(b,c.getQuery());b=_.y(c,2)||void 0;d.ui(b);b=a.map(function(l){return new NL(l,void 0,1,e)});var h=_.B(c,_.el,3);
if(h&&_.y(c,2)){var k=b[b.length-1];_.TI(h,6);if(!_.Uj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(h=_.PI(this.context.Mc))&&_.S(h,2,!1)&&c.Xn()||"";k=new bM(this.context.vt,this.context.xv,this.context.tm,d,k,c);k.Li(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(YL(h.value))?c++:d++;NEc(this.context.wf,k);b=k.qd();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.QM());
k=new _.GI;_.fhc(k,b);k=_.tlc(this.context.XA,k,"IVDP");_.ulc(k,a);$L(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+Hvc(b,c.getQuery().O()));else this.handleError("No initial query found")};LEc.prototype.handleError=function(a,b){var c=b?void 0:_.iq(_.MI(_.LI(new _.oc,2),6));b=new _.qc(a,c,b);this.context.mJ(b.Qg);this.log("Initial view dump population failed. Message: "+a);$L(this.context.Oj,"DEJoH")};
LEc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var OEc=function(a){_.zi.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new eM(a.vt,a.xv,a.Oj,function(){return a.Zn()});this.H=this.context.Mc;this.ta=new dM(a.vt,a.xv)};_.K(OEc,_.zi);
var PEc=function(a,b){var c=_.Vj(a.H,31,2E4);("number"===typeof _.y(b,3)?_.y(b,3):c+1)>c?(aM(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.XA.Jb("CachedCorpusType",b)};OEc.prototype.log=function(a,b){this.context.Rf().log(this.W,a,b||"info")};var QEc=function(a,b){0===a.V&&(a.V=b)};
var REc=function(a,b){var c;if(c=!!b&&!!b.wg())a=_.Q(a,4),c=null==a||!!_.Q(b.wg(),7)==a;return c};
var SEc=function(a,b){_.zi.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.K(SEc,_.zi);SEc.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?_.hi():TEc(this)};SEc.prototype.$b=function(){return this.V.length};
var TEc=function(a){a.O=!0;a.H=!0;var b=Zrc($rc(new _.VJ,a.request),a.nextPageToken),c=_.tlc(a.context.XA,b);return _.ii(a.context.Qm().then(function(d){return d.Re(b)}).then(function(d){var e=d.jd().wd();a.nextPageToken=d.Xn()||"";UEc(a,c,e)},function(d){return void a.handleError(d)}))},UEc=function(a,b,c){_.ulc(b,c);for(b=0;b<c.length;b++)_.TI(c[b],1);a.context.wf.tl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ia(c,function(e){this.V.push(e.getId());e=_.KI(new _.JI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new uEc("Aa",d));a.nextPageToken?TEc(a):(a.H=!1,a.dispatchEvent("Da"))};SEc.prototype.handleError=function(a){this.H=!1;a=new vL(_.NI(a),_.Vj(this.context.Mc.eg(),1,1));this.dispatchEvent(a)};SEc.prototype.qd=function(){return this.request};
var VEc=function(a){this.H=_.vdc(a,{numeric:!0})};VEc.prototype.sort=function(a){_.Ga(a,this.compare.bind(this))};VEc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ea(a.getId(),b.getId()):c};
var WEc=function(a,b,c,d){d=void 0===d?!1:d;MM.call(this,a);this.Kg=b;this.Hd=[];this.ke=null;this.request=c.clone();this.Ev=new SEc(a,this.request);this.pPb=new VEc(nL(_.AI(a.Mc)));this.fCa=null!=_.Q(this.request,6);_.Fe(this,this.lmb,this);d&&(this.ke=_.Zh(),this.ke.resolve())};_.K(WEc,MM);_.g=WEc.prototype;_.g.refresh=function(){3===this.Ap&&(this.Ap=6,this.ke=null);return this.eca()};_.g.isInitialized=function(){return!!this.ke};
_.g.eca=function(){var a=this;if(this.isInitialized())return this.ke.promise;this.ke=_.Zh();this.context.Jj().Ue()?this.Sc.listen(this.context.Jj(),"Fb",function(b){b.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),a.sA(),a.Ev.$g().jg(a.ke.resolve,a.ke.reject,a.ke))}):this.context.tk().Ue()?this.Sc.$c(this.context.tk(),[_.EB.CL,_.EB.iU],function(){a.sA();a.Ev.$g().jg(a.ke.resolve,a.ke.reject,a.ke)}):(this.sA(),this.Ev.$g().jg(this.ke.resolve,this.ke.reject,this.ke));return this.ke.promise};_.g.resize=function(){};
_.g.qd=function(){return this.request};_.g.ly=function(){return this.Hd};_.g.wha=function(a){return this.context.tm.equals(a,this.request)};_.g.Zj=function(a){a=a.Ei();this.pPb.sort(this.Hd);var b=kpc(_.za(this.Hd,0,Math.min(a,this.Hd.length)));jEc(this,Csc(this.Kg),b);var c=new _.rB;c.Uw(b);c.Dc(this.dwa(a));c.Li(this.Ze());Arc(c,a<this.Hd.length||!(this.context.Jj().Ue()||this.context.tk().Ue())&&1!==this.Ap);return c};
_.g.dwa=function(a){return 1===this.Ap||a<=this.Hd.length?1:this.context.Jj().Ue()||this.context.tk().Ue()?0<this.Hd.length?1:2:6};_.g.tl=function(a,b){this.isInitialized()&&MM.prototype.tl.call(this,a,b)};_.g.Lu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ma(this.Hd,function(h){return h.getId()===c}),e=!!d;b=this.xs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.MJa(f,a.H):this.iJ(f):this.sR(a.H);else return!1;return!0};_.g.sR=function(a){this.Hd.push(a);a.count++};
_.g.iJ=function(a){_.ua(this.Hd,a);a.count--};_.g.pya=function(a){return _.na(this.Hd,a)};_.g.MJa=function(a,b){this.Hd[this.pya(a)]=b;b.count++;a.count--};_.g.xs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.fCa&&null!=_.Q(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Hd.find(function(d){return c===d.getId()},this);a=PL(a.getItem())&&REc(this.request,a.getItem());return b&&a}return PL(a.getItem())&&REc(this.request,a.getItem())};_.g.lmb=function(){this.Hd.forEach(function(a){a.count--})};
_.g.GYa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ed=function(){return this.Hd.length};_.g.WW=function(){this.Ap=1};
var XEc=function(a){this.H=a},YEc=function(a,b,c,d,e){if(0===e||null===b){var f=new sCc;_.w(f,2,b);_.w(f,1,d);return _.Wh(f)}var h=awc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.Re(h)}).then(function(k){var l,p=null!==(l=k.qy())&&void 0!==l?l:null;k=d+_.y(k,1);return YEc(a,p,c,k,e-1)})};
var ZEc=function(a,b){OEc.call(this,a);this.Kg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.HD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.K(ZEc,OEc);ZEc.prototype.handleError=function(){this.log("Local dump population failed.");$L(this.context.Oj,"mrK8ic")};
ZEc.prototype.$g=function(){var a=this;if(this.ka)return this.ka;if(this.context.vQ){var b=new _.ai;this.ka=b;this.initialize().then(function(){var c=_.Qj(_.oL(a.H),mL,11);c=c[0]&&c[0].getKey()||"";return $Ec(a,a.context.vQ,c,4)}).then(null,function(c){if(_.S(a.H,8,!0))return aFc(a);throw c;}).then(function(){_.FI(a.H)||a.context.wf.sq.H.clear();$L(a.context.Oj,"zaOY7");b.callback()},function(c){QEc(a,8);a.handleError();b.Id(c)});return b}this.handleError();return _.ji(Error("gg"))};
ZEc.prototype.initialize=function(){var a=this;return _.Wh(this.context.vQ.initialize()).then(function(){if(!_.nK(a.H)){var b=_.Vj(_.oL(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Vh(function(c,d){dAc(a.context.zD).then(function(e){e?c():d(Error("hg"))})})}})};
var $Ec=function(a,b,c,d){return _.Uf(a,function f(){var h=this,k;return _.If(f,function(l){return 1==l.H?(k=h.ha,bFc(h,b,c,k),cFc(h,b,c,k),dFc(h,b,c,k),_.Cf(l,eFc(h,b,c,k),2)):_.Cf(l,Promise.all([fFc(h,b,c,d,k),gFc(h,b,c,d,k),hFc(h,b,c,d,k),iFc(h,b,c,d,k)]),0)})})},bFc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};lM(b,c,0,void 0,d,a.HD).then(function(f){f[0]?cEc(a.context.UP,f[0],a.Ze(),_.nK(a.H)):e()},function(){return e()})},cFc=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};lM(b,c,1,void 0,d,a.HD).then(function(f){f[0]?a.context.EZ.dQ(f[0],a.Ze(),_.nK(a.H)):e()},function(){return e()})},dFc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};lM(b,c,5,void 0,d,a.HD).then(function(f){if(f[0]){f=f[0];var h=_.Qj(f,_.np,1);h.length&&a.context.kE.dQ(h,a.Ze(),_.Td(f,2),_.nK(a.H))}else e()},function(){return e()})},fFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,1,e,a.HD).then(function(h){return jFc(a,
h[0])}).then(function(h){if(h){b!==a.context.vQ||uoc(_.Td(h,12),_.tK(a.Kg),_.mK(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ns.iS());var k=_.y(h,3);if(!k||0>k)throw Error("kg");a.context.Eu(h.Zn(),d);k=_.y(h,3);"number"===typeof k&&MEc(a.context,Number(k));_.nK(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.oDa());a.tl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},gFc=function(a,
b,c,d,e){var f=new _.En;lM(b,c,3,2,e,a.HD).then(function(h){h[0]?(a.tl(h[0],d),f.resolve()):f.reject(Error("ig"))},function(h){return f.reject(h)});return f.promise},hFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,4,e,a.HD).then(function(h){h.forEach(function(k){a.tl(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},iFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,3,e,a.HD).then(function(h){h.length?h.forEach(function(k){a.tl(k,d)}):$L(a.context.Oj,"rVezo");f.resolve()},function(h){return f.reject(h)});
return f.promise},eFc=function(a,b,c,d){var e=new _.En;lM(b,c,6,void 0,d,a.HD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.Qj(h,WL,1).length&&(a.log("Importing "+_.Qj(h,WL,1).length+" people into the PeopleCache."),h=_.Qj(h,WL,1),mxc(a.context.wf.sq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},jFc=function(a,b){var c=_.y(b,3);if(c&&!_.nK(a.H)){var d=new XEc(a.context.Qm()),e=_.Vj(_.oL(a.H),13,5);return YEc(d,c,null,0,e).then(function(f){return _.P(f,
2)?(a.log("Encrypted dump too stale."),a.context.vk().O(106007),QEc(a,9),null):b},function(){return b})}return _.Wh(b)},aFc=function(a){var b=mM(a.context.IL.hj()),c=_.Qj(_.oL(a.H),mL,11).filter(function(d){return d.lt()});return Wzc(_.lK(_.AI(a.H)),_.mK(a.H),_.Vj(_.oL(a.H),10,0)||0,_.tK(a.Kg),a.ha||0,c.map(function(d){return _.y(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.y(k,1)}),f=new nM(_.Wh(d),a.context.Rf(),null,!0),h=new Uyc(f,a.H,function(k){a.context.mJ(k)});
h.initialize();a.ma=!0;return $Ec(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([aAc])}).then(function(k){k[0]?(k=k[0].Za(),k=a.context.zD.set(aAc,k)):k=Promise.resolve();return k}).then(function(){f.close()})}return _.Xh(Error("jg"))})},nFc=function(a,b,c){switch(b.Wn()){case 1:return kFc(a,b,c);case 2:var d;b=_.B(b,tpc,11);if(!b)throw Error("lg");PEc(a,b);(b=a.O.XG?a.O:(null===(d=_.PI(a.H))||void 0===d?0:_.S(d,17,!1))?a.ta:null)?(b.Li(a.Ze()),a=[{cache:b,changes:kM(a.context.Cz,
null)}]):a=[];return a;case 3:return lFc(a,b);case 4:return mFc(a,b);default:return null}},kFc=function(a,b,c){var d=[];_.Qj(b,KL,5).forEach(function(e){var f=void 0,h=_.B(e,_.el,3);h&&(_.vhc(h),_.Q(a.H,67)&&ioc(h,xoc),_.TI(h,c),f=new NL(h));var k=e.getQuery();if(!_.S(k,48,!1)||_.Qj(a.H,_.hf,44).some(function(l){if(!_.S(l,48,!1))return!1;l=RL(a.context.tm,l,!0);return _.Uj(l,k)}))e=new bM(a.context.vt,a.context.xv,a.context.tm,k,f),e.Li(a.Ze()),d.push({cache:e,changes:kM(a.context.Cz,null)})});return d},
mFc=function(a,b){return _.Qj(b,KL,5).map(function(c){c=new WEc(a.context,a.Kg,_.B(c,_.uI,5),!0);c.Li(a.Ze());return{cache:c,changes:kM(a.context.Cz,null)}})},lFc=function(a,b){var c=_.Td(_.Qj(b,KL,5)[0].getQuery(),33)[0],d=_.y(b,3)||void 0;b=kM(a.context.Cz,c);OM(a.context).addCallback(function(f){f.Iua(c,d)});var e=new gM(a.context.vt,a.context.xv,c);e.Li(a.Ze());return[{cache:e,changes:b}]};
ZEc.prototype.tl=function(a,b){var c=this,d=nFc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.wd()),f=e.next();!f.done;f=e.next()){var h=f.value;_.vhc(h);_.Q(this.H,67)&&ioc(h,xoc);_.TI(h,b);_.FI(this.H)||this.context.wf.sq.H.vc()||Ixc(this.context.wf.sq,[h]);f=new NL(h);_.Td(a,14).includes(h.getId())&&bvc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(YL(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new JEc(l,k.changes));c.log("Imported "+l.Ed()+" items into the "+l.getType());var p=null;
l instanceof gM&&(p=l.yc());c.context.N$.promise.then(function(){pyc(c.context.Cz,p)})});1===a.Wn()&&$L(this.context.Oj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Wn()+".")};ZEc.prototype.Ze=function(){return this.ma?7:3};
var oFc=function(a){_.N.call(this);this.context=a};_.K(oFc,_.N);oFc.prototype.$g=function(a){try{pFc(this,new lCc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var pFc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:qFc(a,b);break;case 4:rFc(a,b);break;case 6:sFc(a,b);break;case 2:tFc(a,b);break;case 7:uFc(a,b);break;case 5:_.Qj(_.B(b,nCc,7),lCc,1).forEach(function(c){pFc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},qFc=function(a,b){var c=_.B(b,_.hf,2);b=JSON.parse(_.y(b,3)||"{}");var d=new _.GI;_.fhc(d,c);b=a.context.bR().csa.FE(d,{headers:{},text:"",json:b}).jd();
vFc(a,c,b)},sFc=function(a,b){vFc(a,_.B(b,_.hf,2),_.B(b,_.rB,9))},vFc=function(a,b,c){for(var d=c.wd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.TI(f.value,7);c=vEc(c);a=a.context.wf;b=RL(a.context.tm,b);e=PM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new QM(a.context,b),f.Li(2),wFc(a,e,f));c.vc()||f.bsa(c);a.tl(d,1,b)},tFc=function(a,b){b=_.B(b,_.bA,5);var c=a.context.Mc.eg();c=c&&_.Td(c,30)||[];var d=new Set(c);_.Qj(b,_.np,3).forEach(function(e){(e=(e=
e.getKey())&&_.op(e))&&d.add(e)});a.context.kE.dQ(_.Qj(b,_.np,3),2,[].concat(_.nd(d.values())))},rFc=function(a,b){a.context.dfa.s2(_.B(b,XL,8).ql(),_.B(b,_.fA,6),2,!1)},uFc=function(a,b){var c=_.B(b,_.dA,10);b=JSON.parse(_.y(b,3)||"{}");b=a.context.bR().csa.FE(c,{headers:{},text:"",json:b});KDc(a.context).s2([b],c,2,!1)};oFc.prototype.handleError=function(a,b){var c=b?void 0:_.iq(_.MI(_.LI(new _.oc,2),6));this.context.dispatchEvent(new _.rc(new _.qc(a,c,b)));this.log("Prefetched request population failed.")};
oFc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var RM=function(a){OEc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.va=Math.ceil(1.1*_.Vj(a.Mc,31,2E4))};_.K(RM,OEc);RM.prototype.$g=function(){if(!_.S(this.H,45,!1))return QEc(this,5),this.handleError(),_.ji(Error("mg"));this.log("Drive SDK cache population initiated.");return this.context.aVa().addCallback(this.Fa,this).addCallback(this.Ba,this).Pg(this.handleError,this)};
RM.prototype.Fa=function(){var a=this;$L(this.context.Oj,"L6uQWd");OM(this.context).addCallback(function(b){b.tda()});if(_.S(this.H,46,!1))return spc(this.context.Qm(),this.context.Rf()).addCallback(function(b){if(!b)throw QEc(a,4),Error("ng");PEc(a,b)});this.log("Subscribed corpus cache population disabled.");aM(this.O,!1);return _.hi()};
RM.prototype.Ba=function(){this.context.oDa();var a=new _.ai;if(this.O.XG){this.log("Starting subscribed corpus cache population.");var b=this.O.qd();b.ui(this.va);this.O.Li(5);xFc(this,this.O,b)}b=_.Qj(this.H,_.hf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new bM(this.context.vt,this.context.xv,this.context.tm,c.value),c.Li(5),xFc(this,c,c.qd()),c=xL(this.context.tm,c.qd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Yh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var xFc=function(a,b,c){var d=kM(a.context.Cz,null);b=new HEc(a.context,b,c);a.ha.push(b);b=_.$h(b.$g().then(function(e){!e.XG&&e instanceof eM&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.XA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new JEc(e,d))}),function(){a.context.N$.promise.then(function(){pyc(a.context.Cz,null)})});a.ka.push(b)};
RM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();QEc(this,7);c=b;b instanceof vL?c=_.aJ(b.error):_.EI(b)||(c=Error("og`"+b));a.Id(c)};RM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");$L(this.context.Oj,"Gv4zef")};RM.prototype.Ze=function(){return 5};
var yFc=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Sc=new _.Ne(this);this.impression=null;this.W=[];this.Ma(this.Sc);this.H=new ZEc(this.context,this.context.Kg);this.Ma(this.H);this.O=new RM(this.context);this.Ma(this.O)};_.K(yFc,_.N);
yFc.prototype.$g=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.vk().H(106002);_.n._DRIVE_dsp&&zFc(this);_.n._DRIVE_dspc=function(c){zFc(a,c)};kM(this.context.Cz,null);_.S(this.context.Mc,24,!1)&&!_.nK(this.context.Mc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?AFc(this):_.n._DRIVE_ivdc=function(){AFc(a)});var b=this.context.vQ;if(b)return this.Sc.listen(this.H,IEc,this.ha),this.Sc.listen(this.O,IEc,this.ha),(!_.S(this.context.Mc,10,!1)&&_.Q(this.context.Mc,
69)?this.context.tX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.HD=a.impression);return a.H.$g().jg(function(){return BFc(a,a.H.Ze())},function(){CFc(a,a.H.Ze(),a.H.V);return _.nK(a.context.Mc)?a.handleError(Error("pg")):a.O.$g().then(function(){return BFc(a,a.O.Ze())},function(c){CFc(a,a.O.Ze(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.EI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var zFc=function(a,b){var c=new oFc(a.context);(_.n._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e===b)}).forEach(function(d){c.$g(d)});c.dispose()};yFc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(DFc(this,b,a.changes))};
var BFc=function(a,b){pyc(a.context.Cz,null);$L(a.context.Oj,"L6uQWd");OM(a.context).addCallback(function(c){c.tda()});return Promise.all(a.W).then(function(){EFc(a,b)})},EFc=function(a,b){if(!a.isDisposed()){_.nK(a.context.Mc)||FFc(a.V,_.Qj(a.context.Mc,_.hf,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ns.pDa():dAc(a.context.zD).then(function(d){d&&a.context.Ns.pDa()},function(){});$L(c,"rVezo");$L(c,"BNEDtc");a.impression&&(b=_.AK(_.pgc,
b),wsc(Esc(a.impression),b),vsc(Esc(a.impression),!0),xsc(Esc(a.impression),wvc(a.V.rm)),ysc(Esc(a.impression),a.context.wf.Wn()),a.impression.yj());a.dispose()}},CFc=function(a,b,c){a.impression&&(b=_.AK(_.pgc,b),wsc(Esc(a.impression),b),a=Esc(a.impression),_.Oj(a,3,c,void 0))};
yFc.prototype.handleError=function(a,b){b=void 0===b?!1:b;pyc(this.context.Cz,null);var c=this.context.Oj;$L(c,"L6uQWd");OM(this.context).addCallback(function(d){d.tda()});$L(c,"mrK8ic");$L(c,"Gv4zef");$L(c,"rVezo");$L(c,"BNEDtc");this.context.XA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.vQ||_.S(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.EI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.qc(b,void 0,c),c=a.Qg,_.LI(c,_.nK(this.context.Mc)?3:1),_.MI(c,
6),_.gq(c,b),_.iq(c),this.context.dispatchEvent(new _.rc(a))):this.log("Corpus population skipped");this.impression&&(vsc(Esc(this.impression),!1),this.impression.yj());this.dispose()};var DFc=function(a,b,c){return KEc(b,c).then(function(d){d.some(function(e){return b instanceof gM&&e.uk()&&e.Cc()===b.yc()})||NEc(a.V,b,d)},function(){return a.handleError(Error("qg"))})},AFc=function(a){if(_.n._DRIVE_ivd){var b=new LEc(a.context,a.context.Kg);a.Ma(b);b.$g(_.n._DRIVE_ivd)}else $L(a.context.Oj,"DEJoH")};
yFc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var GFc=function(){cM.apply(this,arguments)};_.K(GFc,cM);_.g=GFc.prototype;_.g.xs=function(a){var b;if(b=cM.prototype.xs.call(this,a))a=a&&a.getItem()&&a.getItem().Om(),b=!(!a||!_.Q(a,3));return b};_.g.qd=function(){};_.g.QM=function(){return null};_.g.getType=function(){};_.g.FN=function(){};
var HFc=function(a,b){this.context=a;this.H=b;this.oQ={}},JFc=function(a,b){if(!_.yJ(b)){var c=_.Td(b,33);if(1===c.length)IFc(a,c[0],b);else{c=_.Gl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Za();c=a.H.get(d);if(!c){c=a.context.wf.vI;var e=_.xf(new _.wf,310);c.qO([d],e).then(function(f){if((f=f[d])&&f.yc()){var h=f.getCapabilities();h&&_.re(h)&&(f=f.yc(),IFc(a,f,b))}else IFc(a,null,b)});return}if(c.getItem().yc()&&_.re(c.getItem().getCapabilities())){c=c.getItem().yc();IFc(a,c,b);return}}IFc(a,
null,b)}}},IFc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!PL(d.getItem()))return}d=b||"subscribed";a.oQ[d]||(a.oQ[d]=[]);a.oQ[d].push(c);b&&(OM(a.context).addCallback(function(e){e.Iua(b)}),KFc(a.context.RIa,b))},LFc=function(a,b){if(!_.yJ(b)){var c={},d;for(d in a.oQ){c.vT=d;for(var e=0;e<a.oQ[c.vT].length;e++)if(_.Uj(b,a.oQ[c.vT][e])){_.sa(a.oQ[c.vT],e);"subscribed"!==c.vT&&OM(a.context).addCallback(function(f){return function(h){h.xGa(f.vT,!1)}}(c));return}c={vT:c.vT}}}};
var MFc=function(){this.H=new Map;this.O=[];this.V=[]};
MFc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();eL(e)&&(a?(e=a.getItem().Hf())&&_.y(e,1)&&(1===_.$d(e)||3===_.$d(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Uj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var NFc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},OFc=function(a){a.O=[];a.V=[]};
var PFc=function(a,b){tyc.call(this,a.clone(),b.Qm(),b.Mc,b.Rf());this.context=b};_.K(PFc,tyc);PFc.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.GWb(a.clone(),[c]);b.set(c,d)});return b};PFc.prototype.V=function(a){a=a.wd()[0];this.context.wf.tl([a],1,void 0,!0,this.request.O())};PFc.prototype.ha=function(a){this.context.wf.tl([],1,a,!1,this.request.O())};PFc.prototype.ka=function(a){a=_.UI(_.KI(new _.JI,a));this.context.wf.Po([a])};
var QFc=function(a,b,c,d){MM.call(this,a);this.Kg=b;this.request=c;this.Hd={};d&&this.tl(d,!0)};_.K(QFc,MM);_.g=QFc.prototype;
_.g.refresh=function(){var a=this;this.Ap=6;var b=OL(this.context.Mc)!==OL(this.context.Mc,this.request.O()),c=[];this.request.jn().forEach(function(h){var k=a.Hd[h];k&&k.getItem().wg()&&!b||c.push(h)});if(0===c.length)return this.tl([],!1),_.Wh();var d=this.request.clone();_.GWb(d,c);var e=new PFc(d,this.context),f=_.Zh();this.context.Jj().Ue()?(this.Sc.listen(this.context.Jj(),"Fb",function(h){h.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),a.sA(),e.$g().then(f.resolve,f.reject,f))}),this.Ap=0<_.Pa(this.Hd)?
1:2):(this.context.tk().Ue()&&(this.Ap=0<_.Pa(this.Hd)?1:2),this.sA(),e.$g().then(f.resolve,f.reject,f));return f.promise};_.g.wha=function(a){return this.context.tm.equals(a,this.request)&&noc(_.tK(this.Kg),a.O())};_.g.Zj=function(a){var b=new _.BK;b.Dc(this.Ap);b.Li(this.Ze());gtc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));jEc(this,a.O(),b.eq());return b};_.g.resize=function(){};_.g.qd=function(){return this.request};_.g.Ed=function(){return _.Pa(this.Hd)};
_.g.Lu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};_.g.xs=function(a){return!!a&&this.request.jn().includes(a.getId())};
var QM=function(a,b,c,d,e){MM.call(this,a);var f=this;this.V=0;this.Hd=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.ta=Date.now();this.request=b.clone();this.Fa=xL(this.context.tm,b);this.Ev=new AEc(this.context,this.request,!1,e);b=this.request.wc()&&yvc(this.request.wc());var h=this.context.xv;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.fCa=!b||!qvc(this.request)||_.ZI(_.AI(a.Mc));
this.Ha=Vwc(this.request);c&&this.tl(c,!d);this.va=_.Vj(a.Mc.eg(),16,36E5);_.ZJ(this.request)&&this.Sc.listen(this.context.Jga,"Hb",this.Ka);_.Fe(this,function(){_.aa(f.Ev);f.clear()})};_.K(QM,MM);QM.prototype.refresh=function(){this.log(this.QM()+" | Refresh called, currently "+this.Ed()+" items cached");return RFc(this,!1)};
var RFc=function(a,b){a.Ap=6;if(_.S(a.request,48,!1))return a.Ap=1,_.Wh();if(_.ZJ(a.request)){var c=SFc,d=a.context.Jga.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return TFc(a,b)};QM.prototype.initialize=function(){return this.count>=this.request.Ei()||1===this.Ap?_.Wh():this.refresh()};QM.prototype.clear=function(){UFc(this)};
var UFc=function(a){a.Hd.forEach(function(b){b.count--});a.count=0;a.Hd=[];a.O.clear()},SFc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return RFc(a,!0)},b)};QM.prototype.Ka=function(){Date.now()-this.ta>this.va&&SFc(this,0)};
var TFc=function(a,b){a.Ev&&(a.Sc.Yc(a.Ev,"Ca",a.bsa),a.Sc.Yc(a.Ev,"Da",a.OLa),a.Ev.dispose());var c=a.request.ve();c&&_.yf(c,!1);a.Ev=new AEc(a.context,a.request,b);a.V=0;a.Sc.listen(a.Ev,"Ca",function(){return a.bsa(a.Ev.ha)});a.Sc.listen(a.Ev,"Da",a.OLa);return a.eca()};
QM.prototype.eca=function(){var a=this,b=_.Zh();this.context.Jj().Ue()?this.Sc.listen(this.context.Jj(),"Fb",function(c){c.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),VFc(a,b))}):this.context.tk().Ue()?this.Sc.$c(this.context.tk(),[_.EB.CL,_.EB.iU],function(){VFc(a,b)}):VFc(this,b);return b.promise};var VFc=function(a,b){a.sA();var c=a.request.Ei()+a.V;_.gka(yEc(a.Ev,c).jg(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=QM.prototype;
_.g.resize=function(a){this.log(this.QM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.nd(this.Gy)))),d=c.next();!d.done;d=c.next())d=d.value,d=lEc(this.context).gka(d),b=Math.max(b,d.Ei());_.ZJ(this.request)?(this.request.ui(b),2!==this.Ze()&&!this.Ev.O&&(b>this.count||a)?this.refresh():this.rJ()):this.request.Ei()!==b&&(this.request.ui(b),b>this.count?this.eca():this.rJ())};_.g.qd=function(){return this.request};_.g.QM=function(){return this.Fa};_.g.Ed=function(){return this.Hd.length};
_.g.wha=function(a){return this.context.tm.equals(a,this.request)};
_.g.Zj=function(a){var b=a.Ei(),c,d=!1;if(_.zJ(this.request)){var e=this.Hd.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.il(k.getItem()).filter(function(l){return h.includes(_.B(l,_.Kk,1).getId())});k=k.clone();roc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.il(l.getItem()).length})}d=Aoc(e);c=new _.CK;_.w(c,4,!1);ktc(c,f)}else e=this.Hd.slice(0,b),c=new _.rB,Arc(c,b<this.Hd.length||!(this.context.Jj().Ue()||
this.context.tk().Ue())&&1!==this.Ap),_.I(c,7,this.ka),_.w(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=Aoc(e);e=kpc(e);jEc(this,a.O(),e);c.Uw(e);c.Dc(d?6:this.dwa(b));c.Li(this.Ze());c.sP(this.suggestionSessionId);return c};_.g.dwa=function(a){return 1===this.Ap||a<=this.count?1:this.context.Jj().Ue()||this.context.tk().Ue()?0<this.Hd.length?1:2:6};_.g.bsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.Iza();this.W=a.V;this.suggestionSessionId=a.Zf()};
_.g.OLa=function(){var a=this.request.Ei()-this.count;0<a&&wEc(this.Ev)&&(this.V+=a,this.eca())};_.g.tl=function(a,b){_.ZJ(this.request)&&UFc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=YL(d.value),c=this.Lu(d,!0)||c;b||(1!==this.Ap&&(c=!0),this.Ap=1);if(a=this.H){a:{a=this.Hd;d=this.H||_.Ea;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.eo("ViewCache unsorted after import"),this.context.xv.sort(this.request,this.Hd));c&&(this.EX(),WFc(this,b))};
var WFc=function(a,b){_.Gl(a.request).length&&a.Hd.length&&a.context.DZ.then(function(c){var d=tL(a.context.vk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Za(),f=_.B(_.zK(d),nsc,18);if(!f){f=new nsc;var h=_.zK(d);_.I(h,18,f)}f=_.w(f,1,!b);c=_.w(f,2,c===e).Dt(a.Hd.length);e=a.context.wf.Wn();_.w(c,4,e);a.ma=d;d.yj()}})};_.g=QM.prototype;
_.g.Lu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.xs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.eo("Updating different wrapper from the existing one"):this.eo("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.MJa(f,a.H):(this.iJ(f),_.ZJ(this.request)&&SFc(this,0));else{if(_.ZJ(this.request)&&!b)return!1;this.sR(a.H)}else return!1;return!0};_.g.sR=function(a){this.H?coc(this.Hd,a,this.H):this.Hd.push(a);a.count++;XFc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.iJ=function(a){if(this.H){var b=this.Hd,c=_.Fa(b,a,this.H);0<=c&&_.sa(b,c)}else _.ua(this.Hd,a);a.count--;XFc(a)&&this.count--;this.O.delete(a.getId())};_.g.pya=function(a){return this.H?_.Fa(this.Hd,a,this.H):_.na(this.Hd,a)};_.g.MJa=function(a,b){this.H&&0!==this.H(a,b)?(this.iJ(a),this.sR(b)):(this.Hd[this.pya(a)]=b,b.count++,XFc(b)&&this.count++,a.count--,XFc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.xs=function(a,b){if(!a)return!1;if(this.fCa&&!_.ZJ(this.request)){if(b)return!0;if(!this.Ha){var c=a.getId();b=!!this.Hd.find(function(e){return c===e.getId()},this);a=QL(this.context.vt,this.request,a.getItem());return b&&a}}if(!QL(this.context.vt,this.request,a.getItem()))return!1;var d=1.2*this.request.Ei();if(1===this.Ap||!this.H||$uc(a.V,2)||this.count<d||b||Joc(a.getItem()))return!0;b=0===this.Hd.length?null:this.Hd[this.Hd.length-1];return!!b&&0>=this.H(a,b)};
_.g.rJ=function(){this.log(this.QM()+" | Evict called");if(1!==this.Ap&&!this.context.Jj().Ue()&&!this.context.tk().Ue()){var a=1.2*this.request.Ei();if(!(a>=this.count||this.Ev&&a>=this.Ev.$b())){a=this.count-this.request.Ei();for(var b=this.Hd.length-1;0<=b&&0<a;b--){var c=this.Hd[b];$uc(c.V,2)||Joc(c.getItem())||(c.count--,XFc(c)&&this.count--,this.O.delete(c.getId()),_.sa(this.Hd,b),a--)}TFc(this,!1)}}};
_.g.eo=function(a){var b=new _.oc;_.LI(b,2);_.MI(b,6);_.iq(b);this.context.dispatchEvent(new _.rc(new _.qc(a,b)))};var XFc=function(a){return!$uc(a.V,2)&&3!==a.getItem().qv()};QM.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};QM.prototype.KQa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.wf.rm.H(d.Za()))&&_.Q(d,108)}),nwc(this.context.afa,a,c))};QM.prototype.JQa=function(){this.rJ()};
QM.prototype.TXa=function(a){return 1!==this.Ap&&a.Ei()>this.count&&this.Ev.O};
var SM=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new MFc;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.context=a;this.Kg=b;this.mr=new Zwc(a.tm,a.Rf());this.context.vk().W.H=this.mr;if(null===(c=_.PI(this.context.Mc))||void 0===c?0:_.S(c,15,!1))b=new dM(a.vt,a.xv),this.mr.add(b),a.bfa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.mr)||void 0===e?void 0:e.O)||void 0===f?void 0:aM(f,!(null===(k=null===(h=d.mr)||void 0===h?void 0:h.H)||void 0===k?0:k.XG))});this.H=new pvc(a.DZ,
a.vt,a.xv);_.Q(a.Mc,60)&&(this.va=new GFc(a.vt,a.xv));this.V=new jvc(a.Rf(),_.tK(this.Kg));YFc(this,_.Td(this.context.Mc,28));this.rm=new svc(this.Kg,this.context.tm,this.H,this.V);this.context.vk().W.V=this.rm;this.vI=new CEc(this.context,this.Kg,this.O,this.H);this.TFa=new HFc(this.context,this.H);this.ka=new yFc(this.context,this);_.Fe(this.ka,function(){d.ka=null});this.ta=_.rhc(_.tK(this.Kg),ZFc);ZL(this.context.Oj,["NSockf"],function(){return d.initialize()});ZL(this.context.Oj,["NSockf","jroI5d"],
function(){var e=d.context.Mc;if(_.B(e,_.el,12))e=_.B(e,_.el,12);else{var f=_.bic(_.dic(new _.Kk,_.lK(_.AI(e))),!0);f=_.w(f,6,1);var h=_.C(_.AI(e),6,"");h&&f.Pb(h);f=_.LWb(_.Iic(_.Jic(_.tG((new _.el).Pb(d.context.Zn()).setTitle(_.C(e,38,"My Drive")),"application/vnd.google-apps.folder").Kn(!1),f),[f]),1);f=_.w(f,29,!0);f=_.w(f,63,!0);e=_.eic(new _.Zk,_.S(e,6,!0));e=_.w(e,2,!1);e=_.hK(f,_.ric(_.kic(_.jic(_.nic(_.oic(_.mic(_.lic(_.iic(_.hic(_.gic(_.fic(_.w(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),
!1),!1))}d.tl([e],1);$L(d.context.Oj,"hVFf7")});this.ha=_.Zh();ZL(this.context.Oj,["BNEDtc"],function(){d.ha.resolve()});this.sq=new yxc(this.context.Mc,this.context.Rf(),a.Qm(),a.afa,this.context.vk(),this.context.tX.promise);_.FI(this.context.Mc)&&this.Sc.listen(this.sq,"Kb",this.ma);this.PLa=new _.flc(this.context.Mc,this.rm)};_.K(SM,_.N);
SM.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.y(d.value,1);for(var e=this.sq.Gd(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.sq.H.get(d),e=!(!d||1!==d.Ze()&&4!==d.Ze()||3===ixc(d));e&&a.add(h)}b=[];c=_.m(c);for(h=c.next();!h.done;h=c.next())h=h.value,(d=this.H.get(h))?(h=d.getItem().clone(),$Fc(this,h),b.push(Nwc(d,new NL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");aGc(this,b,[]);this.context.Ns.update(6);a.size&&this.vI.qO([].concat(_.nd(a)),_.xf(new _.wf,311))};SM.prototype.initialize=function(){this.ka.$g()};
SM.prototype.ki=function(a,b){if(b instanceof _.hf)b=RL(this.context.tm,b),bGc(this,b.O()),JFc(this.TFa,b),b=cGc(this,b),b.cache.ki(a);else if(b instanceof _.yA)b=dGc(this,b),bGc(this,b.O()),b=eGc(this,b),b.cache.ki(a);else if(b instanceof _.uI){var c=PM(this,b),d=this.O[c];d?(3==d.BJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,vv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new WEc(this.context,this.Kg,b),d.refresh().Gg(_.Of),wFc(this,c,d),b={cache:d,vv:!0});b.cache.ki(a)}else if(b instanceof _.qG)c=b.O(),d=this.V,kvc(d,d.H,d.O,c),b=eGc(this,b),b.cache.ki(a);else throw Error("rg");return b.vv};SM.prototype.fk=function(a,b){if(b instanceof _.hf)b=RL(this.context.tm,b),LFc(this.TFa,b);else if(b instanceof _.yA)b=dGc(this,b);else if(!(b instanceof _.uI||b instanceof _.qG))throw Error("rg");b=PM(this,b);var c=this.O[b];c&&(c.fk(a),c.isDisposed()&&delete this.O[b])};
var PM=function(a,b){return xL(a.context.tm,b,2)},cGc=function(a,b){var c,d,e=PM(a,b),f=a.O[e];if(f)return 3==f.BJ()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,vv:!1};var h=[],k=5;f=!1;for(var l=$wc(a.mr),p=0;p<l.length;p++){var q=l[p];k=q.CE(b);if(5!=k){l=1==k?void 0:b.Ei();if((null===(c=_.PI(a.context.Mc))||void 0===c?0:_.S(c,18,!1))&&q instanceof dM){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.vka(b,l);var r=q.Ze();var v=q instanceof bM?q.qy():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.Ed()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Jj().Ue()||a.context.tk().Ue())h=h.concat(a.H.query(b,1)),_.Da(h,void 0,function(A){return A.getId()}),k=(k=a.mr.H)&&k.S7&&5!=k.CE(b)?k.CE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new QM(a.context,b,h,1==k,v);r&&z.Li(r);z.tl(a.H.query(b,
2),1!=k);r=z.initialize();(null===(d=_.PI(a.context.Mc))||void 0===d?0:_.S(d,18,!1))&&f&&r.then(function(){return OM(a.context)}).then(function(A){return A.SVa().HSb()}).then(function(){var A,D;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var F=z.Zj(b).wd().map(function(R){return R.getId()}),H=(null===(D=null===(A=a.mr)||void 0===A?void 0:A.O)||void 0===D?void 0:D.Zj(b,b.Ei()).wd().map(function(R){return R.getId()}))||[],L=_.Ha(F.sort(),
H.sort()),O=tL(a.context.vk(),106030);O&&(ssc(rsc(qsc(Isc(O),F.length),H.length),L),O.yj());L?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+F.length+".  Cache: ")+(H.length+".\nNetwork: ")+(F+".\nCache: ")+(H+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.Gg(function(A){A=_.NI(A);_.iq(A);a.context.dispatchEvent(new _.rc(new _.qc("Error during view cache init",
A)))});wFc(a,e,z);return{cache:z,vv:!0}},eGc=function(a,b){var c=PM(a,b),d=!1,e=a.O[c];if(e&&e.wha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.jn()),h;b instanceof _.yA?h=new sEc(a.context,a.Kg,b,f):h=new QFc(a.context,a.Kg,b,f);f.length&&h.Li(8);h.refresh().Gg(_.Of);b=h;d=!0;wFc(a,c,b);e?(fGc(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,
vv:d}};SM.prototype.VV=function(){return Object.values(this.O).filter(function(a){return a.qd()instanceof _.uI})};
SM.prototype.C1a=function(a){for(var b=_.xf(new _.wf,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=Hvc(this.context.tm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.vI.qO([a],b,!1,c))};
var iEc=function(a,b,c){c&&c.length&&mvc(a.V,b,c);_.FI(a.context.Mc)&&Ixc(a.sq,b)},NEc=function(a,b,c){var d,e,f;if(b instanceof WEc){var h=PM(a,b.qd());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof Qwc&&a.mr.remove(b);h=new Map;var k=a.H.ly(),l=new Map(k);k=[];for(var p=_.m(b.ly()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.H.get(r);if(v){var z=v.getItem().qv();(null===(d=_.PI(a.context.Mc))||void 0===d?0:_.S(d,15,!1))&&!0===q.H&&bvc(v,
q.H);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new Mwc(q.getId(),q,v));l.delete(r)}else{r=YL(q);if(null===(e=_.PI(a.context.Mc))||void 0===e?0:_.S(e,15,!1))null===(f=a.mr.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.FI(a.context.Mc)&&a.sq.$O(r)}_.FI(a.context.Mc)&&$Fc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(YL(q.value));a.log("Applying "+k.length+" updates to newly added CorpusCache");k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);
b instanceof WEc?(k=PM(a,b.qd()),wFc(a,k,b)):a.mr.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.JI,_.KI(p,l.getId()),p.setItem(l),k.push(p);a.Po(k);a.log("Merged cache: "+b.getType());b instanceof gM&&c.forEach(function(A){gGc(a.context.dsa,A)});a.context.Ns.update(3)},fGc=function(a,b){(new Set([].concat(_.nd(a.Gy)))).forEach(function(c){b.ki(c);a.fk(c)})};
SM.prototype.tl=function(a,b,c,d,e){var f=this,h;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.nd(c.O().filter(function(D){return!_.tK(f.Kg).includes(D)}))):[]);c&&c instanceof _.hf&&_.ZJ(c)&&hGc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new NL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=iGc(this,v,r);if(null!=A)r.$y(A),jGc(this,z,q),Ioc(q),q=hvc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.FI(this.context.Mc)&&$Fc(this,q);!v||kGc(this,
z,q,e)?(l.push(Nwc(v,r)),k.push(r)):k.push(v)}a=null;if(c){if(c instanceof _.hf){if(null===(h=_.PI(this.context.Mc))||void 0===h?0:_.S(h,15,!1))a=_.Gl(c),1==a.length&&(a=a[0].Za(),(a=this.H.get(a))&&!a.H&&bvc(a,!d));(a=cxc(this.mr,c))&&a.tl(k,!!d)}c=PM(this,c);(a=this.O[c])&&a.tl(k,!!d)}0<l.length&&(_.FI(this.context.Mc)&&l.forEach(function(D){return f.sq.$O(D)}),aGc(this,l,e,a?[a]:[]),lGc(this,k));lEc(this.context).O8()};
var $Fc=function(a,b){Lxc(a.sq,b)||5!=b.qv()||_.Qic(b,1)},kGc=function(a,b,c,d){(b=b?_.qb(b.clone(),82):null)&&iEc(a,[b],d);c=_.qb(c.clone(),82);iEc(a,[c],[]);return!_.Uj(b,c)},hGc=function(a,b,c){mGc(a,b,c);b.forEach(function(d,e){var f=a.rm.H(d.getId());f&&(dL(f,d,[1002]),dL(f,d,[1003]),dL(f,d,[1005]),b[e]=f);_.yJ(c)&&0<_.Td(c,33).length&&_.Ric(d,_.Td(c,33)[0])})},mGc=function(a,b,c){var d;_.yJ(c)?d="quick access":_.zJ(c)?d="people predict":_.AJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" ItemSuggest items for "+d+": "+c)},WDc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.V)||c.set(d.V,[]),c.get(d.V).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.tl(kpc(d),b)};SM.prototype.ala=function(a){this.PLa.ala(a)};
SM.prototype.Po=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.uk()?null:e.getItem(),h=e.Cc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new NL(f,void 0,void 0,_.y(e,1)||void 0);var p=iGc(this,h,l);if(null==p)continue;l.$y(p);jGc(this,k,f);_.S(e,5,!1)&&ioc(f,xoc);Ioc(f);f=hvc(f,k);l.setItem(f);_.FI(this.context.Mc)&&$Fc(this,f)}if(k&&!f||f&&kGc(this,k,f,[]))this.context.RIa.xy(e),c.push(Nwc(h,l))}_.FI(this.context.Mc)&&c.forEach(function(q){return b.sq.$O(q)});aGc(this,
c,[])};var jGc=function(a,b,c){b&&!c.Om()&&dL(c,b,a.ta);var d=b?b.Hf():null,e=c.Hf();e=e?_.Yd(e):null;d&&e&&jGc(a,_.Yd(d),e);b&&!_.hl(c)&&dL(c,b,[1002]);b&&!_.il(c).length&&dL(c,b,[1003]);b&&!_.jl(c).length&&dL(c,b,[1005]);b&&null==c.u1()&&dL(c,b,[71]);b&&null==_.y(c,79)&&dL(c,b,[73]);b&&_.Q(b,31)&&!_.Q(c,31)&&(ioc(c,xoc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
SM.prototype.CB=function(a,b){if(a instanceof _.hf||a instanceof _.yA||a instanceof _.uI)a=PM(this,a),(a=this.O[a])&&a.DX(b);else throw Error("rg");};var iGc=function(a,b,c){var d=c.getItem();if(gyc(a.context.cfa,d))return null;if(b){a=b.V;var e=c.V;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=a.qv()&&!PL(a)&&!PL(d)&&a.yc()==d.yc())if(a.hj()&&d.hj()){if(a.hj()>d.hj())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.vq()>d.vq())return null}return avc(b&&b.V,c.V)};
SM.prototype.VH=function(a,b){(a=this.H.get(a))&&a.$y(avc(a.V,b))};
var aGc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.PI(a.context.Mc))||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&&bvc(h.H,h.O.H);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.ua(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())kEc(h.value,b);h=$wc(a.mr);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 gM&&f.Ed()>=1.2*f.limit&&nGc(a.context.RIa,f.yc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.Q(a.context.Mc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.rJ(h.id),a.W.update(h);0<d&&a.context.Ns.Qma(d);oGc(a)},oGc=function(a){var b=a.W.O.slice(0),c=NFc(a.W);OFc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.wf;_.xf(d,308);a.vI.qO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=tvc(a.rm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Hf(),k=_.y(h,1);if(k=a.rm.H(k))_.I(h,5,k),_.w(h,4,1),e.push(f)});WDc(a,e)}},pGc=function(a){lEc(a.context).O8();a.H.rJ()},dGc=function(a,b){_.Ga(b.O());var c=_.na(b.jn(),"root");if(0>c)return b;b=b.clone();b.jn()[c]=a.context.Zn();return b},YFc=function(a,b){var c;null!==(c=_.PI(a.context.Mc))&&void 0!==c&&_.S(c,1,!1)||(b=Dsc(a.Kg,b),a=a.V,kvc(a,a.items,a.fields,b))},bGc=function(a,b){var c;if(null===(c=_.PI(a.context.Mc))||
void 0===c?0:_.S(c,1,!1))b=Dsc(a.Kg,b),a=a.V,kvc(a,a.items,a.fields,b)},lGc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().qv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.xf(new _.wf,311);a.vI.qO(c,d)}})},FFc=function(a,b){a.ha.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={e5:c.e5,vqa:c.vqa},e=d.next()){e=e.value;if(cxc(a.mr,e))break;a.log("Adding new cache hint for "+
PM(a,e));c.e5=new bM(a.context.vt,a.context.xv,a.context.tm,e);e=new HEc(a.context,c.e5,e);c.vqa=kM(a.context.Cz,null);_.$h(e.$g().then(function(f){return function(){KEc(f.e5,f.vqa).then(function(h){NEc(a,f.e5,h)})}}(c)),function(){pyc(a.context.Cz,null)})}})};SM.prototype.Wn=function(){var a=this.mr.H;return a&&a.XG?1:2};SM.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};
var wFc=function(a,b,c){a.O[b]=c;a.log(b+" | Set cache with "+c.Ed()+" items")},ZFc=[50];
var rGc=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ol;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Zh();this.va=c.promise;eAc(this.context.zD).then(function(d){b.H=d||[];c.resolve();qGc(b)},function(){return c.resolve()});ZL(this.context.Oj,["rVezo"],(0,_.M)(this.W,this))};_.K(rGc,_.N);
var KFc=function(a,b){_.S(a.context.Mc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(ivc(a.context.wf.rm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Aa(a.H,0,0,b);a.H.length>2*_.Vj(a.context.Mc,47,5);)a.H.pop();a.context.zD.set(Zzc,a.H)}a.context.wf.mr.VV().length+a.O.size<_.Vj(a.context.Mc,47,5)&&(qGc(a),a.W())})},sGc=function(a,b){_.ua(a.H,b)&&a.context.zD.set(Zzc,a.H)};
rGc.prototype.xy=function(a){gGc(this.context.dsa,a);if(PL(a)){var b=a.yc();a.uk()?nGc(this,b,!0):(a=a.getItem(),ivc(a)&&sGc(this,b))}};var nGc=function(a,b,c){sGc(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.wf.mr;for(var e=d.VV(),f=0;f<e.length;f++){var h=e[f];if(h.yc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ns.update(3);break}}OM(a.context).addCallback(function(k){k.xGa(b,c)});a.W()};
rGc.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.wf.mr;tGc(this);for(var b={};this.V.$b()&&!(this.ha>=_.Vj(this.context.Mc,47,5));){var c=_.pl(this.V);this.ha++;bxc(a,c)||this.O.has(c)||(this.O.set(c,null),b.wea=new _.Nhc,_.w(b.wea,1,c),this.context.Qm().then(function(d){return function(e){return e.Re(d.wea)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={wea:b.wea}}}};
var qGc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},tGc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){qGc(a);a.W()},36E5)};rGc.prototype.ta=function(a,b){var c=_.y(b,1);c&&c>_.Vj(this.context.Mc,48,1E3)?(this.log(a,"Too large to backfill: "+_.y(b,1)),uGc(this,a,!1)):vGc(this,a)};
rGc.prototype.ma=function(a,b){(b=_.NI(b).rk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.UI(_.Sgc(_.KI(new _.JI,a),a)),this.context.wf.Po([a])):vGc(this,a)};
var vGc=function(a,b){var c=new gM(a.context.vt,a.context.xv,b),d=c.qd().clone();d.ui(_.Vj(a.context.Mc,48,1E3));d=new HEc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=kM(a.context.Cz,b);OM(a.context).addCallback(function(f){f.Iua(b)});_.$h(d.$g().then(function(){wGc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;uGc(a,b,!0)}),function(){pyc(a.context.Cz,b)})},wGc=function(a,b,c,d){c.XG?(c.WW(),KEc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ed());NEc(a.context.wf,
c,e);uGc(a,b,!1)},function(){a.log(b,"Backfill changes failed");uGc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),uGc(a,b,!0))},uGc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&OM(a.context).addCallback(function(e){e.xGa(b,!1)});a.W();0<a.O.size||a.context.wf.mr.VV().map(function(e){return e.yc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){nGc(a,e,!0)})};
rGc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var xGc=function(){_.N.apply(this,arguments)};_.K(xGc,_.N);
var AGc=function(a,b){b=yGc(b);var c=a.getItem(),d=zGc(c.getCapabilities());b.J3.forEach(function(e){_.LWb(e.getItem(),c.Yo());_.hK(e.getItem(),d.clone())});return b},DGc=function(a,b,c){var d=BGc(c);c=c.find(function(e){return e.getId()===b.getId()});c={oK:c?c:new NL(b),children:[]};CGc(a,d,c);return c},BGc=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().mk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},CGc=
function(a,b,c){var d=c.oK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(CGc(a,b,{oK:e,parent:c,children:[]}))});return c},FGc=function(a,b){b=b.children.filter(function(l){return!_.gl(l.oK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.oK.getItem();if(!c.has(f.getId())){_.LWb(f,a.Yo());EGc(a,f,e.parent?e.parent.oK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.gl(k.oK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.oK)}}return d},
GGc=function(a){a=a.children.filter(function(h){return!_.gl(h.oK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.oK.getItem();if(!b.has(e.getId())){c.push(_.UI(_.KI(new _.JI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.gl(f.oK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},yGc=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();_.gl(e)||_.Q(e,137)?c.push(e):b.push(d)}return{sQ:c,J3:b}},zGc=
function(a){a=a.clone();var b=null!=_.Q(a,34)?_.Q(a,34):_.Q(a,7),c=null!=_.Q(a,35)?_.Q(a,35):_.Q(a,7);_.w(a,45,c);_.xic(a,b);_.w(a,30,c);_.sic(a,b);_.yic(a,c);_.tic(a,c);_.uic(a,b);_.fic(a,b);_.kic(a,c);_.qic(a,b);_.pic(a,_.Q(a,7));_.jic(a,_.Q(a,10)||_.Q(a,11));_.ric(a,_.$k(a));_.qb(a,18);_.qb(a,13);_.qb(a,10);_.vic(a,_.Q(a,42));_.wic(a,_.Q(a,43));_.zic(a,_.Q(a,48));return a},EGc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.Q(d,30);_.w(e,30,f);_.sic(e,_.Q(d,31));_.yic(e,_.Q(d,
47));_.tic(e,_.Q(d,32));_.uic(e,_.Q(d,33));_.fic(e,_.Q(d,4));_.kic(e,_.Q(d,9));_.ric(e,_.Q(d,21));_.qic(e,_.Q(d,20));_.pic(e,_.Q(d,17));_.eic(e,_.$k(d));_.iic(e,_.Q(d,7));_.lic(e,_.Q(d,10));_.mic(e,_.Q(d,11));f=_.Q(d,45);_.w(e,45,f);_.xic(e,_.Q(d,46));_.zic(e,_.Q(d,48));a=_.gl(a);_.w(b,137,a);c&&(c=c.getCapabilities(),fL(b)?(_.jic(e,_.Q(c,43)),_.wic(e,_.Q(c,43)),_.vic(e,_.Q(c,42))):_.jic(e,_.Q(c,42)))};
var HGc=function(a){this.context=a;this.V=new xGc;this.O=_.xf(new _.wf,306);this.H=a.wf},gGc=function(a,b){if(PL(b))b.uk()?IGc(a,b):JGc(a,b);else if(_.S(a.context.Mc,86,!1)){var c=b.Cc(),d=a.H.rm.H(c);var e=d&&d.yc();var f=b.getItem()&&b.getItem().yc();if(!d||!e||!fL(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.gl(d),!b.uk()){var h=b.getItem();f=_.gl(d)!==_.gl(h);h=h.Yo()!==d.Yo();e=f||e&&h}if(e)if(b.uk()){if(b=KGc(a,d.yc()),d=a.V,e=(new _.el).Pb(c),b=(b=DGc(d,e,b))?GGc(b):[],a.context.wf.Po(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=tL(a.context.vk(),106009))c=Fsc(a),_.w(c,2,b.length),a.yj()}else if(c=b.getItem(),d=KGc(a,c.yc()),e=a.V,c=b.getItem(),c=(d=DGc(e,c,d))?FGc(c,d):[],WDc(a.context.wf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=tL(a.context.vk(),106010))b=Fsc(a),_.w(b,1,c.length),a.yj()}},IGc=function(a,b){var c=b.Cc();b=KGc(a,c);b=yGc(b);var d=_.ef(b.J3,function(e){return _.UI(_.KI(new _.JI,e.getId()))});a.context.wf.Po(d);a.H.vI.qO(b.sQ.map(function(e){return e.getId()}),
a.O,void 0,void 0,b.sQ.map(function(e){return _.Dl((new _.Cl).Pb(e.getId()),_.ll(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.sQ.length+" divergent items"));if(a=tL(a.context.vk(),106016))c=Gsc(a),_.w(c,1,b.sQ.length),_.w(c,2,b.J3.length),a.yj()},JGc=function(a,b){var c=b.Cc(),d=KGc(a,c),e=a.H.rm.H(c);b=AGc(b,d);WDc(a.context.wf,b.J3);a.H.vI.qO(b.sQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.sQ.map(function(h){return _.Dl((new _.Cl).Pb(h.getId()),_.ll(h))}));a.log(c,"SD update | Update "+
b.J3.length+" item(s), "+(b.sQ.length+" divergent items"));if(d=tL(a.context.vk(),106017)){var f=Gsc(d);_.w(f,1,b.sQ.length);_.w(f,2,b.J3.length);d.yj()}e||GEc(a.H.vI,c)},KGc=function(a,b){var c=new _.hf;_.Il(c,[b]);_.Jl(c,2);return vvc(a.H.rm,c)};HGc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var LGc=function(a,b,c){this.H=a;this.V=b;this.mJ=c};
LGc.prototype.Zw=function(a,b){var c=this;if(a.zV().length){var d=cyc(this.H,a.Cc());if(d){var e=d?dyc(this.H,a):[];for(var f={},h=_.m(a.zV()),k=h.next();!k.done;f={vL:f.vL},k=h.next())if(k=k.value,f.vL=MGc(e,k.Lm(),a.Cc()),_.Q(k,3))jyc(this.H,f.vL),_.$h(b,function(r){return function(){c.H.O.W(Txc(r.vL))}}(f));else{for(var l=_.m(_.Qj(k,_.mG,2)),p=l.next();!p.done;p=l.next())NGc(this,f.vL,p.value);k=_.m(_.Td(k,4));for(l=k.next();!l.done;l=k.next())OGc(f.vL,l.value);this.H.rD([f.vL],!1,-1);b.then(function(r){return function(){return void c.H.VH(r.vL.getName(),
-2)}}(f),function(r){return function(){c.H.VH(r.vL.getName(),-2)}}(f))}e=this.jd(d.Zj().response)}}e=e?e:this.jd();var q=e.g3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.DB(r));c.handleError(a.Cc(),r)});return e};LGc.prototype.jd=function(a){a=void 0===a?new GL:a;return new cvc(a.Dc(1))};var MGc=function(a,b,c){var d=a.find(function(e){return Sxc(e.getName(),b)});d||(d=ztc((new BL).hd(b),c),a.push(d));return d};
LGc.prototype.handleError=function(a,b){lyc(this.V,a);a=_.NI(b);_.w(a,21,"Server error updating metadata after optimistic application.");this.mJ(a)};
var NGc=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new zL,d.Pb(c.getId()),ytc(b,b.O().concat([d])),PGc(d,c));if(1===AL(d))d.setBooleanValue(_.Q(c,3));else if(12===AL(d))d.setDateStringValue(_.y(c,17));else if(2===AL(d))d.setTextValue(_.y(c,4));else if(3===AL(d))_.Td(c,6).length?d.Doa(_.Td(c,6)):_.Td(c,5).length&&(a=_.Td(d,7).concat(_.Td(c,5)),d.Doa(a));else if(4===AL(d))d.setLongTextValue(_.y(c,7));else if(5===AL(d))d.setSelectionValue(_.y(c,8));else if(6===
AL(d))_.Td(c,10).length?d.zoa(_.Td(c,10)):_.Td(c,9).length&&(a=d.CLa().concat(_.Td(c,9)),d.zoa(a));else if(7===AL(d))d.setIntegerValue(_.y(c,11));else if(8===AL(d))_.Td(c,13).length?d.roa(_.Td(c,13)):_.Td(c,12).length&&(a=_.Td(d,12).concat(_.Td(c,12)),d.roa(a));else if(10===AL(d))d.setUserValue(a.O(_.y(c,14)));else if(11===AL(d))_.Td(c,16).length?vtc(d,_.Td(c,16).map(a.O)):_.Td(c,15).length&&vtc(d,d.bWa().concat(_.Td(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(AL(d)+
"."),new _.qc(d,new _.oc);},OGc=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===AL(a))_.qb(a,5);else if(12===AL(a))_.qb(a,17);else if(2===AL(a))_.qb(a,6);else if(3===AL(a))_.hI(a,7);else if(4===AL(a))_.qb(a,8);else if(5===AL(a))_.qb(a,9);else if(6===AL(a))_.hI(a,10);else if(7===AL(a))_.qb(a,11);else if(8===AL(a))_.hI(a,12);else if(10===AL(a))_.Lj(a,15);else if(11===AL(a))_.Nj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(AL(a)+"."),new _.qc(a,new _.oc);
},PGc=function(a,b){_.P(b,3)?a.WA(1):_.P(b,17)?a.WA(12):_.P(b,4)?a.WA(2):_.Td(b,6).length||_.Td(b,5).length?a.WA(3):_.P(b,7)?a.WA(4):_.P(b,8)?a.WA(5):_.Td(b,10).length||_.Td(b,9).length?a.WA(6):_.P(b,11)?a.WA(7):_.Td(b,13).length||_.Td(b,12).length?a.WA(8):_.P(b,14)?a.WA(10):(_.Td(b,16).length||_.Td(b,15).length)&&a.WA(11)};LGc.prototype.O=function(a){return _.cic(_.aic(1),a)};
var QGc=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.Kg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};QGc.prototype.apply=function(a,b){var c=this;if(!_.YJ(a))return b;var d=null;a instanceof _.mJ?d=RGc(this,a,b):a instanceof _.tJ?d=SGc(this,a,b):a instanceof _.QI?d=this.Zw(a,b):a instanceof _.hJ?d=TGc(this,a,b):a instanceof _.NJ&&(d=this.va.Zw(a,b));d&&(this.W++,this.ha.setActive(!1),_.$h(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Wh(d):b};
var RGc=function(a,b,c){fyc(a.O,b.getId());var d=a.H.rm.H(b.getId());_.$h(c.then(function(){return void a.ma("VMiG2e")},a.ta.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.NI(e);_.w(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.XJ).Dc(1)},SGc=function(a,b,c){var d=_.y(b,2);d&&a.O.H.push(d);c.then(function(){d&&hyc(a.O,d)&&_.$h(UGc(a,d,new _.elc(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=_.NI(e);_.w(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.XJ).Dc(1)},UGc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Wh();var f=_.Zh(),h=c.Za();_.cI(c);setTimeout(function(){a.ka.then(function(k){var l=_.xf(new _.wf,1425);l=jpc(!0,1,l);return k.Re(l).then(function(p){if(p=p.jd())if(p=p.wd()[0],!p||(p.Zv()||0)>b){f.resolve();return}_.$h(UGc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.$h(UGc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},TGc=function(a,b,c){var d=b.yc(),e=a.H.rm.H(d);if(!e)return null;e=e.clone();iEc(a.H,[e],[157]);var f=e.wg();VGc(f,_.Qj(b,_.dl,2));WGc(f,_.Qj(b,_.dl,3));a.H.tl([e],-1,void 0,void 0,[157]);_.$h(c,function(){a.H.VH(d,-2)}).then(function(h){a.H.tl([_.B(h,_.el,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.NI(h);_.w(h,21,"Server error updating item after optimistic application.");a.V(h)});return wuc(new vuc,e).Dc(1)},
VGc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={nea:c.nea},d=b.next())c.nea=d.value,_.Qj(a,_.dl,8).some(function(e){return function(f){return f.Lm()==e.nea.Lm()}}(c))||_.Sj(a,8,c.nea,_.dl,void 0)},WGc=function(a,b){var c=b.map(function(d){return d.Lm()});b=_.Qj(a,_.dl,8).filter(function(d){return!c.includes(d.Lm())});qoc(a,b)};
QGc.prototype.Zw=function(a,b){var c=this,d=this.H.rm.H(a.getId());if(!d||d.yc()&&0==a.Xh()||null!=_.Q(a,40))return null;var e=_.Td(a,10),f=_.Td(a,9);if(0<e.length&&0<f.length&&(e=Object.values(uvc(this.H.rm,e.concat(f))).map(function(k){return k.yc()||"root"}),_.Da(e),1<e.length))return null;var h=d.clone();XGc(this,a,h);this.H.tl([h],-1,void 0,void 0,Bsc(this.Kg));b.then(function(){return c.H.VH(a.getId(),-2)},function(){c.H.VH(a.getId(),-2);c.ta(a.getId(),d)});b.then(null,function(k){k=_.NI(k);
if(63==k.rk()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.Ijc((new _.XJ).setItem(h),h.getId()).Dc(1)};
var XGc=function(a,b,c){null!=b.Te()&&c.Wl(b.Te());null!=b.Yi()&&_.Nic(c,b.Yi());null!=b.getMimeType()&&_.tG(c,b.getMimeType());null!=_.y(b,7)&&_.KWb(c,_.y(b,7));null!=_.Q(b,11)&&_.Hic(c,_.Q(b,11));null!=_.Q(b,4)&&c.Hv(_.Q(b,4));null!=_.Q(b,16)&&_.Mic(c,_.Q(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Xh()&&(c.Kn(b.Xh()),_.Lic(c,b.Xh()));null!=_.Q(b,18)&&_.aL(Hoc(c,!0),_.Q(b,18));_.Td(b,8).length&&_.gK(c,_.Td(b,8));if(_.Td(b,9).length){var d=new Set(c.mk());_.Td(b,9).forEach(function(p){return d.add(p)});
_.gK(c,[].concat(_.nd(d)))}if(_.Td(b,10).length){var e=new Set(c.mk());_.Td(b,10).forEach(function(p){return e.delete(p)});_.gK(c,[].concat(_.nd(e)));var f=c.Cw();f&&_.Td(b,10).includes(f)&&_.qb(c,46)}if(!c.Cw()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.rm.H(p);return q&&!!q.Cw()||p==h});_.w(c,46,f||void 0)}c.mk().length&&(f=a.H.rm.H(c.mk()[0]))&&_.Ric(c,f.yc());if(f=_.B(b,_.al,25)){var k=_.B(c,_.al,111)||new _.al;null!=_.Q(f,1)&&_.Bic(k,_.Q(f,1));null!=_.y(f,2)&&_.Cic(k,_.y(f,2));_.I(c,111,
k)}var l=_.Td(c,120);_.Td(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Td(b,32).forEach(function(p){_.ua(l,p)});_.Kj(c,120,l)};QGc.prototype.ta=function(a,b){var c=this,d=_.AA(new _.yA,[a]);this.ka.then(function(e){return e.Re(d)}).then(function(e){e=e.jd().wd()[0];c.H.tl([e.clone()],1)},function(){b&&c.H.tl([b.clone()],1)})};
var YGc=function(a){this.H=a};_.K(YGc,_.Mmc);YGc.prototype.execute=function(a,b,c){var d=_.Mmc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.fKa||b instanceof _.GI&&_.ZJ(b.qd()))if(c=Usc(this.H))return c;return b instanceof _.tJ?(c=_.xf(new _.wf,1424),a.Re(jpc(!1,1,c)).then(function(e){(e=e.jd())&&(e=e.wd()[0])&&_.P(e,96)&&b.Fca(e.Zv())},function(){})):null};
var wpc=function(a,b){return[ZGc,$Gc,aHc,bHc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ea(d(a),d(b));return e},0)},ZGc=function(a){return cHc[a.zf()]},$Gc=function(a){return dHc[a.getType()]},aHc=function(a){return a.getName()||""},bHc=function(a){return a.getId()||""},TM={},cHc=(TM[5]=0,TM[7]=1,TM[1]=2,TM[3]=3,TM[4]=4,TM[2]=5,TM[6]=6,TM),eHc={},dHc=(eHc[1]=0,eHc[2]=1,eHc[3]=2,eHc[4]=3,eHc);
var fHc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.ta=k;this.Kg=l};
fHc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.XJ&&8===b.Bb()))if(a instanceof _.gJ||a instanceof _.iJ||a instanceof _.Dhc||a instanceof _.FJ||a instanceof _.QI||a instanceof _.PJ||a instanceof _.Lhc||a instanceof _.UJ||a instanceof _.hL){var d=_.TI(b.getItem().clone(),9);this.H.tl([d],1);Iyc(this.ta,b.getItem(),_.tK(this.Kg))}else if(a instanceof _.mJ)b=_.UI(_.KI(new _.JI,a.getId())),this.H.Po([b]);else if(a instanceof _.pJ)b=_.UI(_.Sgc(_.KI(new _.JI,a.getId()),a.getId())),this.H.Po([b]),
gGc(this.ma,b);else if(a instanceof _.tJ)b=jpc(!0).qd(),b=this.H.rm.query(b).map(function(e){return _.UI(_.KI(new _.JI,e.getId()))}),this.H.Po(b);else if(a instanceof _.kJ)this.O.remove(a.Bh());else if(a instanceof _.wJ||a instanceof _.MJ)this.O.put(b.xr());else if(a instanceof _.nJ)vpc(this.H,a);else if(a instanceof _.KD)this.W.remove(a.getKey());else if(a instanceof _.xJ)xpc(this.H,a,_.B(b,_.Kk,2));else if(a instanceof _.LD)this.W.put(b.LLa());else if(a instanceof _.jJ||a instanceof _.QJ)this.ha.rD([b.ln()],
!1);else if(a instanceof _.qJ)this.ha.rD([vyc(a.getId())],!1);else if(a instanceof _.Chc)this.V.rD(b.response.O(),!1,1);else if(a instanceof _.NJ)a.zV().filter(function(e){return _.Q(e,3)}).forEach(function(e){return c.V.removeItem(e.Lm()||"",a.Cc())}),lyc(this.ka,a.Cc()),this.H.C1a(a.Cc());else if(a instanceof _.yK)for(b=_.m(_.Qj(a,_.juc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.B(d,_.FL,2),d.getType()){case 1:case 2:if(d=this.H.rm.H(d.Cc()))d=
_.KI(asc(),d.getId()).setItem(d.clone()),this.H.Po([d])}}};
var gHc=function(a){this.H=a};
gHc.prototype.translate=function(a){if(a instanceof _.JJ){var b=this.H.H(a.getId());if(!b)return new _.oc;var c=(new _.QI).Pb(a.getId());if(b.yc()){var d=b.getCapabilities();_.re(d)||_.Q(d,9)?c.Kn(!0):_.RI(c,!1)}else d=a.getParent(),1===b.Yo()?c.Kn(!0):d?(b=this.H.H(d),!b||_.Q(b.getCapabilities(),7)?Wrc(c,[d]):_.RI(c,!1)):_.RI(c,!1);return c}if(a instanceof _.KJ)return Yrc(Xrc(Wrc(Vrc((new _.QI).Pb(a.getId()),_.Td(a,2)),_.Td(a,3)),_.Q(a,6)),_.Qj(a,_.Cl,8));if(a instanceof _.LJ){b=this.H.H(a.getId());
if(!b)return new _.oc;c=(new _.QI).Pb(a.getId());b.yc()?(d=b.getCapabilities(),_.re(d)||_.Q(d,9)?c.Kn(!1):_.RI(c,!0)):(d=a.getParent(),1===b.Yo()?c.Kn(!1):d?(b=this.H.H(d),!b||_.$k(b.getCapabilities())?Vrc(c,[d]):_.RI(c,!0)):_.RI(c,!0));return c}if(a instanceof _.LK)return new _.Dhc(a);if(a instanceof _.EM)return _.Td(a,1).map(function(f){var h=new _.NJ;f=_.w(h,1,f);h=a.zV();f=_.Mj(f,2,h);h=a.ve();return _.I(f,3,h)});if(a instanceof _.sJ){c=jpc(!1,1).qd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Zv())&&(e=Math.max(e,f))});return Osc(new _.tJ,a).Fca(e)}return a};
var hHc=function(){};hHc.prototype.validate=function(a){var b=null;a instanceof _.BJ?(a=a.getId()||"",_.ie(a)&&(b="Tried to request backup with no id.")):a instanceof _.lJ&&(a=a.getId()||"",_.ie(a)&&(b="Tried to delete backup with no id."));return b?_.NI(b):null};
var iHc=function(a,b){this.H=a;this.O=b},mHc=function(a,b){_.SK(["drive#about"],b);var c=new _.FM,d=new _.CB;if(b.user){var e=_.UK(a.H,b.user);_.I(d,1,e)}a=jHc(a,b);a=Prc(Orc(_.Nrc(new _.Evb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.Rrc(a,_.Crc(_.Brc((new _.BB).Dc(kHc[e.status]),Number(e.trialMillisRemaining)),_.TK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.Src(a,_.Erc(_.Drc(new _.zvb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&Qrc(a,b.importFormats.map(function(f){var h=new _.Mrc;h=_.w(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.w(a,10,lHc[b.adminSecureLinkSetting]);_.I(d,3,a);_.LCc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},jHc=function(a,b){var c;var d=new _.Dvb;d=_.w(d,1,Number(b.quotaBytesTotal));d=_.w(d,2,Number(b.quotaBytesUsed));d=_.w(d,3,Number(b.quotaBytesUsedAggregate));d=_.w(d,4,Number(b.quotaBytesUsedInTrash));d=_.Irc(_.Hrc(_.Grc(_.Frc(d,
zpc(b.quotaBytesByService||[])),nHc[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-Bpc(b);d=_.w(d,9,e);d=_.Jrc(d,Number(b.quotaBytesUsedAggregate));d=_.w(d,11,Number(b.quotaBytesUsedInTrash));d=_.w(d,13,_.Doc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.Krc(d,oHc[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Cvb;var f=
_.u4a(new Date(b.graceQuotaInfo.endDate));e=_.I(e,1,f);e=_.w(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.I(d,12,e)}if(null===(c=_.PI(a.O))||void 0===c?0:_.S(c,16,!1)){var h;(a=d.HJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);h=_.w(d,16,Number(b.individualQuotaBytesTotal));h=_.w(h,17,_.Doc(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal)));b=_.w(h,9,Number(b.individualQuotaBytesUsedAggregate))}else b=
d;return b},oHc={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},Apc=new Set(["POOLED_STORAGE","FAMILY"]),kHc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},ypc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},nHc={LIMITED:1,UNLIMITED:2,POOLED:3},lHc={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var pHc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},qHc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},rHc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},sHc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},tHc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},uHc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},vHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},wHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},xHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},yHc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},zHc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},AHc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},BHc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},CHc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},DHc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},EHc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},FHc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},GHc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},HHc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},IHc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},JHc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},KHc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},RHc=function(a){return a.map(function(b){var c=new _.TCc;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=LHc(e);_.I(c,2,d);break;case "actors":d=MHc(e);_.Mj(c,3,d);break;case "actions":d=NHc(e);_.Mj(c,
4,d);break;case "targets":d=OHc(e);_.Mj(c,5,d);break;case "timestamp":c.O(PHc(e));break;case "timeRange":d=QHc(e),_.Rj(c,7,SCc[0],d)}}return c})},NHc=function(a){return a.map(function(b){var c=new _.QCc;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=LHc(e);_.I(c,1,d);break;case "source":d=new PBc;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":_.ck(d,2,pHc[h]);break;case "appId":_.bk(d,1,h)}}_.I(c,2,d);break;case "actor":d=SHc(e);_.I(c,3,d);break;case "target":d=THc(e);_.I(c,4,d);break;case "timestamp":c.O(PHc(e));break;case "timeRange":d=QHc(e),_.Rj(c,6,PCc[0],d)}}return c})},OHc=function(a){return a.map(function(b){return THc(b)})},VHc=function(a){return a.map(function(b){return UHc(b)})},WHc=function(a){return a.map(function(b){var c=new _.tBc;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.Dg(UHc(e));break;case "shortcut":d=UHc(e),_.I(c,2,d)}}return c})},THc=function(a){var b=new _.TBc;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=XHc(d);_.Rj(b,1,_.SBc[0],c);break;case "drive":c=new _.QBc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.hd(f);
break;case "title":c.setTitle(f);break;case "root":e=XHc(f),_.I(c,3,e)}}_.Rj(b,5,_.SBc[0],c);break;case "fileComment":c=new _.RBc;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":_.bk(c,1,f);break;case "legacyDiscussionId":_.bk(c,2,f);break;case "linkToDiscussion":_.bk(c,3,f);break;case "parent":c.Dg(XHc(f))}_.Rj(b,3,_.SBc[0],c)}}return b},UHc=function(a){var b=new _.rM;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 cBc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.hd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new aBc;_.Rj(e,8,bBc[0],f);break;case "driveFolder":e=YHc(f);_.Rj(c,9,bBc[0],e);break;case "driveShortcut":e=ZHc(f),_.Rj(c,10,bBc[0],e)}}_.Rj(b,1,dBc[0],c);break;case "drive":c=$Hc(d),_.Rj(b,3,
dBc[0],c)}}return b},XHc=function(a){var b=new _.$Ac;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.hd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.bk(b,6,d);break;case "version":_.ak(b,5,d);break;case "owner":c=new WAc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=aIc(f);_.I(c,3,e);break;case "user":e=
UM(f);_.Rj(c,1,VAc[0],e);break;case "drive":e=$Hc(f),_.Rj(c,4,VAc[0],e)}}_.I(b,7,c);break;case "driveFile":c=new aBc;_.Rj(b,8,XAc[0],c);break;case "driveFolder":c=YHc(d);_.Rj(b,9,XAc[0],c);break;case "driveShortcut":c=ZHc(d),_.Rj(b,10,XAc[0],c)}}return b},$Hc=function(a){var b=new UAc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.hd(d);break;case "title":b.setTitle(d)}}return b},YHc=function(a){var b=new YAc;
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":_.ck(b,6,qHc[d])}}return b},ZHc=function(a){var b=new ZAc;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":_.bk(b,1,d);break;case "targetMimeType":_.bk(b,2,d)}}return b},MHc=function(a){return a.map(function(b){return SHc(b)})},SHc=function(a){var b=new _.OBc;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=UM(d);_.Rj(b,1,_.NBc[0],c);break;case "anonymous":c=new KBc;_.Rj(b,2,_.NBc[0],c);break;case "impersonation":c=new _.LBc;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=UM(f),_.I(c,1,e)}}_.Rj(b,3,_.NBc[0],c);break;case "system":c=new _.MBc;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":_.ck(c,1,rHc[f])}_.Rj(b,4,_.NBc[0],c);break;case "administrator":c=new _.JBc,_.Rj(b,5,_.NBc[0],c)}}return b},bIc=function(a){return a.map(function(b){return UM(b)})},UM=function(a){var b=new _.BAc;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 _.pM;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":_.bk(c,1,f);break;case "isCurrentUser":_.Zj(c,2,f);break;case "displayName":_.bk(c,3,f);break;case "photoUrl":c.Jn(f)}}_.Rj(b,2,_.zAc[0],c);break;case "unknownUser":c=new CAc;_.Rj(b,4,_.zAc[0],c);break;case "deletedUser":c=new _.AAc,_.Rj(b,3,_.zAc[0],c)}}return b},PHc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.t4a((new _.dy).setSeconds(a),b)},QHc=function(a){var b=new _.GM;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.kY(PHc(d));break;case "endTime":b.GO(PHc(d))}}return b},aIc=function(a){var b=new _.TAc;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.hd(d);break;case "legacyId":_.bk(b,3,d);break;case "audienceDisplayName":_.bk(b,4,d)}}return b},LHc=function(a){for(var b=new _.wM,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 _.gBc,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,v=q.next().value;switch(r){case "new":var z=k,A=new hBc;_.Rj(z,1,_.eBc[0],A);break;case "upload":var D=k,F=new iBc;_.Rj(D,2,_.eBc[0],F);break;case "copy":for(var H=v,L=new _.fBc,O=_.m(Object.entries(H)),R=O.next();!R.done;R=O.next()){var X=_.m(R.value),la=X.next().value,ha=X.next().value;
switch(la){case "originalObject":var ta=UHc(ha);_.I(L,1,ta)}}_.Rj(k,3,_.eBc[0],L)}}_.Rj(b,1,_.vM[0],k);break;case "edit":var ea=new nBc;_.Rj(b,2,_.vM[0],ea);break;case "move":for(var Ua=new _.vBc,Ja=_.m(Object.entries(h)),nb=Ja.next();!nb.done;nb=Ja.next()){var $a=_.m(nb.value),yb=$a.next().value,Zb=$a.next().value;switch(yb){case "addedParents":var Gc=VHc(Zb);_.Mj(Ua,1,Gc);break;case "removedParents":var ke=VHc(Zb);_.Mj(Ua,2,ke);break;case "fromOwnershipTransfer":_.Zj(Ua,3,Zb);break;case "reparents":var Rd=
Zb.map(cIc);_.Mj(Ua,4,Rd);break;case "multiparentingMigration":for(var Gd=Zb,sf=new _.uBc,pd=_.m(Object.entries(Gd)),Bb=pd.next();!Bb.done;Bb=pd.next()){var le=_.m(Bb.value),lg=le.next().value,Ee=le.next().value;switch(lg){case "removedParents":var ei=VHc(Ee);_.Mj(sf,2,ei);break;case "migratedParents":var $e=WHc(Ee);_.Mj(sf,1,$e)}}_.I(Ua,5,sf)}}_.Rj(b,3,_.vM[0],Ua);break;case "rename":for(var Ai=new _.BBc,ah=_.m(Object.entries(h)),pm=ah.next();!pm.done;pm=ah.next()){var gf=_.m(pm.value),ve=gf.next().value,
Tf=gf.next().value;switch(ve){case "oldTitle":_.bk(Ai,1,Tf);break;case "newTitle":_.bk(Ai,2,Tf)}}_.Rj(b,4,_.vM[0],Ai);break;case "delete":for(var qi=new _.lBc,Wj=_.m(Object.entries(h)),qm=Wj.next();!qm.done;qm=Wj.next()){var Fo=_.m(qm.value),rm=Fo.next().value,Fh=Fo.next().value;switch(rm){case "type":_.ck(qi,1,sHc[Fh])}}_.Rj(b,5,_.vM[0],qi);break;case "restore":for(var Pl=new _.CBc,Gj=_.m(Object.entries(h)),Tg=Gj.next();!Tg.done;Tg=Gj.next()){var kj=_.m(Tg.value),Hj=kj.next().value,Xj=kj.next().value;
switch(Hj){case "type":_.ck(Pl,1,tHc[Xj])}}_.Rj(b,6,_.vM[0],Pl);break;case "permissionChange":for(var Ph=new _.yBc,Zi=_.m(Object.entries(h)),Ij=Zi.next();!Ij.done;Ij=Zi.next()){var $i=_.m(Ij.value),Yj=$i.next().value,Qh=$i.next().value;switch(Yj){case "addedPermissions":var sm=dIc(Qh);_.Mj(Ph,1,sm);break;case "removedPermissions":var lj=dIc(Qh);_.Mj(Ph,2,lj);break;case "resharedPermissions":var ok=dIc(Qh);_.Mj(Ph,3,ok);break;case "otherActivePermissions":var Ql=dIc(Qh);_.Mj(Ph,4,Ql)}}_.Rj(b,7,_.vM[0],
Ph);break;case "comment":for(var pk=new _.SAc,nn=_.m(Object.entries(h)),Ok=nn.next();!Ok.done;Ok=nn.next()){var qk=_.m(Ok.value),tf=qk.next().value,Jj=qk.next().value;switch(tf){case "post":for(var Rl=Jj,Pk=new _.PAc,Sl=_.m(Object.entries(Rl)),pc=Sl.next();!pc.done;pc=Sl.next()){var mj=_.m(pc.value),Gh=mj.next().value,rk=mj.next().value;switch(Gh){case "subtype":_.ck(Pk,1,vHc[rk])}}_.Rj(pk,1,_.OAc[0],Pk);break;case "assignment":for(var Rh=Jj,fi=new _.QAc,bg=_.m(Object.entries(Rh)),sk=bg.next();!sk.done;sk=
bg.next()){var xp=_.m(sk.value),Hh=xp.next().value,Ih=xp.next().value;switch(Hh){case "subtype":_.ck(fi,1,wHc[Ih]);break;case "assignedUser":var on=UM(Ih);_.I(fi,7,on)}}_.Rj(pk,2,_.OAc[0],fi);break;case "suggestion":for(var nj=Jj,pn=new _.RAc,Tl=_.m(Object.entries(nj)),tk=Tl.next();!tk.done;tk=Tl.next()){var tm=_.m(tk.value),Go=tm.next().value,Pn=tm.next().value;switch(Go){case "subtype":_.ck(pn,1,xHc[Pn])}}_.Rj(pk,3,_.OAc[0],pn);break;case "mentionedUsers":var nq=bIc(Jj);_.Mj(pk,7,nq)}}_.Rj(b,8,
_.vM[0],pk);break;case "dlpChange":for(var $l=new _.kBc,am=_.m(Object.entries(h)),Ck=am.next();!Ck.done;Ck=am.next()){var Vo=_.m(Ck.value),Gq=Vo.next().value,Hq=Vo.next().value;switch(Gq){case "type":_.ck($l,1,yHc[Hq])}}_.Rj(b,9,_.vM[0],$l);break;case "view":for(var Iq=new IBc,Cv=_.m(Object.entries(h)),Cr=Cv.next();!Cr.done;Cr=Cv.next()){var bu=_.m(Cr.value),bB=bu.next().value,cB=bu.next().value;switch(bB){case "type":_.ck(Iq,1,zHc[cB]);break;case "viewHistoryVisibility":for(var Cy=cB,Ns=new HBc,
Jp=_.m(Object.entries(Cy)),Jq=Jp.next();!Jq.done;Jq=Jp.next()){var dB=_.m(Jq.value),BD=dB.next().value,bx=dB.next().value;switch(BD){case "domainPolicyVisibilityState":_.ck(Ns,1,AHc[bx]);break;case "namedPartyState":_.ck(Ns,2,BHc[bx])}}_.I(Iq,2,Ns)}}_.Rj(b,10,_.vM[0],Iq);break;case "download":for(var cx=new mBc,dx=_.m(Object.entries(h)),Dy=dx.next();!Dy.done;Dy=dx.next()){var Ey=_.m(Dy.value),Dv=Ey.next().value,Os=Ey.next().value;switch(Dv){case "type":_.ck(cx,1,CHc[Os])}}_.Rj(b,11,_.vM[0],cx);break;
case "reference":for(var Vk=new _.uAc,Dr=_.m(Object.entries(h)),Xm=Dr.next();!Xm.done;Xm=Dr.next()){var lO=_.m(Xm.value),RJ=lO.next().value,CD=lO.next().value;switch(RJ){case "type":_.ck(Vk,1,DHc[CD]);break;case "context":for(var cj=CD,DD=new tAc,cu=_.m(Object.entries(cj)),Ps=cu.next();!Ps.done;Ps=cu.next()){var SS=_.m(Ps.value),E7=SS.next().value,SJ=SS.next().value;switch(E7){case "description":DD.Wl(SJ);break;case "url":_.bk(DD,2,SJ)}}_.I(Vk,2,DD)}}_.Rj(b,12,_.vM[0],Vk);break;case "settingsChange":for(var Jg=
new _.FBc,TS=_.m(Object.entries(h)),ex=TS.next();!ex.done;ex=TS.next()){var bm=_.m(ex.value),eB=bm.next().value,US=bm.next().value;switch(eB){case "restrictionChanges":var mO=eIc(US);_.Mj(Jg,1,mO)}}_.Rj(b,13,_.vM[0],Jg);break;case "approvalChange":for(var co=new _.FAc,PZ=_.m(Object.entries(h)),nO=PZ.next();!nO.done;nO=PZ.next()){var du=_.m(nO.value),ED=du.next().value,Fy=du.next().value;switch(ED){case "approvalName":_.bk(co,2,Fy);break;case "approvalEventNames":_.Kj(co,3,Fy);break;case "initiator":var VS=
UM(Fy);_.I(co,4,VS);break;case "reviewers":var F7=bIc(Fy);_.Mj(co,5,F7);break;case "status":co.Dc(GHc[Fy]);break;case "dueTime":var QZ=PHc(Fy);_.I(co,7,QZ);break;case "approvalRequested":var Gy=co,fx=new GAc;_.Rj(Gy,8,_.qM[0],fx);break;case "approvalCancelled":var TJ=co,G7=new HAc;_.Rj(TJ,9,_.qM[0],G7);break;case "reviewerResponded":for(var WS=Fy,oO=new _.EAc,RZ=_.m(Object.entries(WS)),fB=RZ.next();!fB.done;fB=RZ.next()){var SZ=_.m(fB.value),TZ=SZ.next().value,UZ=SZ.next().value;switch(TZ){case "reviewerDecision":_.ck(oO,
1,HHc[UZ])}}_.Rj(co,10,_.qM[0],oO);break;case "commentAdded":var jB=co,My=new IAc;_.Rj(jB,11,_.qM[0],My);break;case "reviewersChanged":for(var zO=Fy,BG=new KAc,sT=_.m(Object.entries(zO)),$J=sT.next();!$J.done;$J=sT.next()){var m8=_.m($J.value),rza=m8.next().value,n8=m8.next().value;switch(rza){case "reviewerChanges":var o8=fIc(n8);_.Mj(BG,1,o8)}}_.Rj(co,12,_.qM[0],BG);break;case "dueTimeChanged":for(var Wpc=Fy,Qzb=new MAc,sza=_.m(Object.entries(Wpc)),tza=sza.next();!tza.done;tza=sza.next()){var Rzb=
_.m(tza.value),Szb=Rzb.next().value,oZa=Rzb.next().value;switch(Szb){case "oldDueTime":var ID=PHc(oZa);_.I(Qzb,1,ID)}}_.Rj(co,13,_.qM[0],Qzb)}}_.Rj(b,18,_.vM[0],co);break;case "lock":var Tzb=new pBc;_.Rj(b,15,_.vM[0],Tzb);break;case "unlock":var Uzb=new GBc;_.Rj(b,16,_.vM[0],Uzb);break;case "appliedLabelChange":for(var pZa=new _.yAc,qZa=_.m(Object.entries(h)),uza=qZa.next();!uza.done;uza=qZa.next()){var rZa=_.m(uza.value),sZa=rZa.next().value,Vzb=rZa.next().value;switch(sZa){case "changes":var Wzb=
gIc(Vzb);_.Mj(pZa,1,Wzb)}}_.Rj(b,19,_.vM[0],pZa);break;case "publishChange":for(var vza=new _.ABc,Xzb=_.m(Object.entries(h)),m_=Xzb.next();!m_.done;m_=Xzb.next()){var xia=_.m(m_.value),tT=xia.next().value,Yzb=xia.next().value;switch(tT){case "oldPublishState":var Xpc=hIc(Yzb);_.I(vza,1,Xpc);break;case "newPublishState":var Ypc=hIc(Yzb);_.I(vza,2,Ypc)}}_.Rj(b,20,_.vM[0],vza);break;case "linkShareMetadataChange":for(var tZa=new _.oBc,aK=_.m(Object.entries(h)),uZa=aK.next();!uZa.done;uZa=aK.next()){var wza=
_.m(uZa.value),Zzb=wza.next().value,vZa=wza.next().value;switch(Zzb){case "securityUpdateEnabled":_.Zj(tZa,1,vZa)}}_.Rj(b,21,_.vM[0],tZa)}}return b},cIc=function(a){var b=new _.rBc;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":_.ck(b,1,KHc[d])}}return b},dIc=function(a){return a.map(function(b){var c=new _.uM;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":_.ck(c,1,uHc[e]);break;case "user":d=UM(e);_.Rj(c,2,_.tM[0],d);break;case "group":d=new _.sM;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":_.bk(d,1,h);break;case "title":d.setTitle(h)}}_.Rj(c,3,_.tM[0],d);break;case "domain":d=aIc(e);_.Rj(c,4,_.tM[0],d);break;case "anyone":d=new wBc;_.Rj(c,5,_.tM[0],d);break;case "allowDiscovery":_.Zj(c,6,e)}}return c})},eIc=function(a){return a.map(function(b){var c=
new _.EBc;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":_.ck(c,1,EHc[e]);break;case "newRestriction":_.ck(c,2,FHc[e])}}return c})},fIc=function(a){return a.map(function(b){var c=new LAc;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=UM(e);_.I(c,3,d);break;case "addedReviewer":d=UM(e),_.I(c,4,d)}}return c})},
gIc=function(a){return a.map(function(b){var c=new _.xAc;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":_.bk(c,1,e);break;case "types":d=iIc(e),_.Kj(c,2,d)}}return c})},iIc=function(a){return a.map(function(b){return IHc[b]})},hIc=function(a){var b=new _.zBc;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":_.ck(b,
1,JHc[d]);break;case "signinRequired":_.Zj(b,2,d);break;case "publishedTime":c=PHc(d),_.I(b,3,c)}}return b};
var kIc=function(a,b){var c=new iCc;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=jIc(a),_.I(b,2,a));return b},jIc=function(a){_.SK(["drive#app"],a);var b=(new _.HL).Pb(a.id);b=_.w(b,3,a.useByDefault).hd(a.name);b=_.w(b,7,a.openUrlTemplate);b=Guc(Fuc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.w(b,8,a.createUrl);b=_.w(b,9,a.createInFolderTemplate);b=_.w(b,10,a.objectType);b=_.w(b,11,a.supportsCreate);b=_.w(b,12,a.supportsImport);b=_.w(b,13,a.supportsMultiOpen);b=_.w(b,27,a.supportsOfflineCreate);b=
_.w(b,14,a.installed);b=_.w(b,15,a.authorized);b=_.w(b,16,a.productUrl);b=_.Kj(b,17,a.primaryFileExtensions);b=_.Kj(b,18,a.secondaryFileExtensions);b=_.w(b,19,a.shortDescription);b=_.w(b,20,a.longDescription);b=_.w(b,21,a.productId);b=_.w(b,22,a.removable);b=_.w(b,23,lIc[a.type]);b=_.w(b,25,a.hasAppData);b=_.w(b,26,a.appDataQuotaBytesUsed);b=_.w(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.w(b,30,a.hasDriveWideScope);b=_.w(b,31,a.driveSource);b=_.w(b,32,a.driveBranded);b=_.w(b,33,a.hidden);b=_.w(b,
34,a.supportsMobileBrowser);b=_.w(b,35,a.supportsTeamDrives);b=_.w(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.Auc;l=_.w(l,3,k.iconUrl).setSize(k.size);k.category&&_.w(l,1,mIc[k.category]);h.call(f,l)}_.Mj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Kj(b,24,d);c=a.rankingInfo||{};a=new _.Duc;d=c.absoluteScore;null!=d&&_.w(a,1,Number(d));d=nIc(c.mimeTypeScores||[]);_.Mj(a,2,d);c=nIc(c.fileExtensionScores||[]);
_.Mj(a,3,c);_.I(b,29,a);return b},nIc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.Buc;d=_.w(d,1,a[c].type);d=_.w(d,2,Number(a[c].score));b.push(d)}return b},lIc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},mIc={application:1,document:2,documentShared:3};
var pIc=function(a){var b=new jDc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.xM).Pb(c.id).setTitle(c.title);d=_.w(d,3,_.TK(c.updateTime));d=_.w(d,4,oIc[c.backupSource]);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.TK(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.jz()){var e=new VBc;e=_.w(e,1,c.whatsappOngoingBackupEnabled);c=_.w(e,2,c.whatsappPhoneNumber);_.I(d,6,c)}else 2===d.jz()&&(e=new _.UBc,e=_.w(e,1,c.deviceName),e=_.w(e,2,c.deviceModelName),
e=_.w(e,3,c.shouldIncludeSpecialSyncItems),c=_.w(e,4,c.deviceAndroidId),_.I(d,7,c));return d});_.Mj(b,2,a);return b},rIc=function(a){var b=new fDc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.yM).Pb(c.id);d=_.w(d,1,qIc[c.type]).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.WBc(d.setSize(c.size),_.TK(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).Wl(c.description);return _.w(d,9,c.ongoingSyncEnabled)});_.Mj(b,1,a);return b},oIc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},qIc={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 sIc=function(a,b){this.H=a;this.O=b};
var tIc={read:2,write:3,comment:4},uIc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.tG((new _.el).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.hK(d,_.Smc(c.userCapabilities));_.tK(b).includes(19)&&_.Oic(d,!0);Iyc(a,d,_.tK(b));_.Qic(d,4);return d},xIc=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=vIc(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=uIc(a,b,l),d.push(q));l=prc(orc(nrc(new _.Sna,k.clone()),wIc(l)),l.url);_.Sj(q,107,l,_.Sna,void 0)})}});return ktc((new _.CK).Uw(d),e).sP(c.suggestionSessionId)},vIc=function(a){return _.cic((new _.Kk).Pb(a.id).hd(a.displayName),a.emailAddress).Jn(a.photoUrl)},zIc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=uIc(a,b,e);e=yIc(e);f=_.Mj(f,117,e);d.push(f)}});c=(new _.rB).Uw(d).sP(c.suggestionSessionId);return _.vlc(new _.MK,c)},yIc=function(a){var b=a.action;
return b?b.map(function(c){var d=new _.zna,e=AIc(c);e&&_.Rj(d,2,_.Qk[0],e);(e=BIc(c))&&eqc(d,e);(e=CIc(c))&&_.Rj(d,4,_.Qk[0],e);(e=DIc(c))&&_.Rj(d,5,_.Qk[0],e);(e=EIc(c))&&_.Rj(d,6,_.Qk[0],e);(e=FIc(c))&&_.Rj(d,7,_.Qk[0],e);(e=GIc(c))&&_.Rj(d,8,_.Qk[0],e);(e=HIc(c))&&_.Rj(d,9,_.Qk[0],e);(e=IIc(c))&&_.Rj(d,10,_.Qk[0],e);(c=JIc(c))&&_.Rj(d,11,_.Qk[0],c);return d}):(a=VM(a),a=Qqc([a]),[eqc(new _.zna,a)])},LIc=function(a){return(a.justification||[]).map(function(b){return KIc(b)})},VM=function(a){return(a=
a.justification)?KIc(a):null},KIc=function(a){var b=aqc(new _.Nk,MIc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=vIc(c),_.Rj(b,3,_.yna[0],c),bqc(b,[c])):d?(c=(d.person||[]).map(function(e){return vIc(e)}),d=$pc(c),_.Rj(b,4,_.yna[0],d),bqc(b,c)):(c=(a.person||[]).map(function(e){return vIc(e)}),c.length&&(d=$pc(c),_.Rj(b,4,_.yna[0],d),bqc(b,c)));_.w(b,5,_.TK(a.eventTime));cqc(b,MIc(a.justificationDescription));dqc(b,MIc(a.unstructuredJustificationDescription));return b},MIc=function(a){if(!a)return null;
a=a.textSegment||[];return Upc(new _.Hk,a.map(function(b){var c=(new _.Ik).mh(b.text),d=b.link;if(d){var e=new _.Jk;d=_.w(e,1,d.url)}else d=null;c=_.I(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},AIc=function(a){a=a.documentDocosAction;if(!a)return null;var b=Eqc(new _.Fna,VM(a));Dqc(b,(a.subAction||[]).map(function(c){var d=new _.Hna;c.reply?(c=new _.Bna,_.Rj(d,1,_.Gna[0],c)):c.resolve?(c=new mqc,_.Rj(d,2,_.Gna[0],c)):c.reassign?(c=new kqc,_.Rj(d,3,_.Gna[0],c)):c.acceptSuggestion?(c=new fqc,
_.Rj(d,4,_.Gna[0],c)):c.rejectSuggestion?(c=new lqc,_.Rj(d,5,_.Gna[0],c)):c.openThread&&(c=new _.Ana,_.Rj(d,6,_.Gna[0],c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);Fqc(b,MIc(a.anchorText));return b},CIc=function(a){a=a.documentShareAction;if(!a)return null;var b=Iqc(new _.Tk,VM(a));Hqc(b,(a.subAction||[]).map(function(c){var d=new Kqc;c.suggestedShare?(c=new qqc,_.Rj(d,1,Jqc[0],c)):c.responseToRequest&&(c=new nqc,_.Rj(d,2,Jqc[0],c));return d}));Gqc(b,(a.sharee||[]).map(function(c){return vIc(c)}));
_.w(b,3,tIc[a.shareeRole]);return b},BIc=function(a){a=a.documentViewAction;if(!a)return null;var b=Qqc(LIc(a));Pqc(b,(a.subAction||[]).map(function(c){var d=new Sqc;c.open?d.Ag(new hqc):c.reviewEdits&&(c=new oqc,_.Rj(d,2,Rqc[0],c));return d}));return b},DIc=function(a){a=a.emailViewAction;if(!a)return null;var b=crc(new arc,VM(a));brc(b,(a.subAction||[]).map(function(c){var d=new erc;c.openEmail&&d.Ag(new iqc);return d}));return b},EIc=function(a){a=a.calendarEventAction;if(!a)return null;var b=
wqc(vqc(uqc(new _.Rk,a.eventId),VM(a)),a.guestCount);tqc(b,(a.subAction||[]).map(function(c){var d=new yqc;if(c.viewCalendarEvent){var e=new rqc;_.Rj(d,1,xqc[0],e)}c.shareWithAttendees&&(e=new pqc,_.Rj(d,2,xqc[0],e));c.present&&(e=new jqc,_.Rj(d,3,xqc[0],e));c.openDocument&&(c=new hqc,_.Rj(d,4,xqc[0],c));return d}));return b},FIc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=Xqc(Wqc(new Uqc,a.workspaceId),VM(a));Vqc(b,(a.subAction||[]).map(function(c){var d=new Zqc;c.addToWorkspace&&
(c=new gqc,_.Rj(d,1,Yqc[0],c));return d}));return b},GIc=function(a){a=a.documentTopicAction;if(!a)return null;var b=Mqc(new _.Uk,VM(a));Lqc(b,(a.subAction||[]).map(function(c){var d=new Oqc;c.openDocument&&(c=new hqc,_.Rj(d,1,Nqc[0],c));return d}));return b},HIc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=krc(new _.Yk,VM(a));jrc(b,(a.subAction||[]).map(function(c){var d=new mrc;c.openDocument&&(c=new hqc,_.Rj(d,1,lrc[0],c));return d}));return b},IIc=function(a){a=a.collaboratorActivityAction;
if(!a)return null;var b=Aqc(new _.Sk,VM(a));zqc(b,(a.subAction||[]).map(function(c){var d=new Cqc;c.openDocument&&(c=new hqc,_.Rj(d,1,Bqc[0],c));return d}));return b},JIc=function(a){a=a.formResponseAction;if(!a)return null;var b=grc(new _.Xk,LIc(a));frc(b,(a.subAction||[]).map(function(c){var d=new irc;c.openDocument?(c=new hqc,_.Rj(d,1,hrc[0],c)):c.viewResponses&&(c=new sqc,_.Rj(d,2,hrc[0],c));return d}));return b},wIc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<
a.length?(a[0]||{}).text||"":""};
var NIc=function(a,b){this.H=a;this.O=b},PIc=function(a,b,c){_.SK(["drive#categoryMetadataList"],c);var d=new GL,e=Object.values(c.categoryMetadata||{});uuc(d,e.map(function(f){return OIc(a,f,b.Cc())}));d.Dc(1);return new _.FK(d,jAc(c))},RIc=function(a,b){var c=new CM;qCc(c,(b.categories||[]).map(function(d){return QIc(a,d)}));c.Dc(1);return new dvc(c,jAc(b))},OIc=function(a,b,c){_.SK(["drive#categoryMetadata"],b);c=ztc((new BL).hd(b.categoryName),c);b=Object.values(b.attributeValues||[]);ytc(c,b.map(function(d){return SIc(a,
d)}).filter(function(d){return d}));return c},QIc=function(a,b){var c,d=huc(Ztc(euc(duc(cuc(Ytc(Xtc((new EL).hd(b.name),b.categoryName),b.latestName).setTitle(b.title).Wl(b.description),_.TK(b.createTime)),_.TK(b.updateTime)),_.TK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new Utc).Pb(e.id);h=_.w(h,2,e.queryGuid);h=_.w(h,3,e.helpText);h=_.w(h,4,e.displayName);if(e.attributeDisplayHints){var k=TIc(e.attributeDisplayHints);_.I(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new Ctc;l=_.w(l,1,k.canSearch);k=_.w(l,2,k.canWrite);_.I(h,6,k)}_.w(h,7,UIc[f]);e=e[VIc(f)+"Options"];return WIc(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&$tc(d,XIc(b.createdBy));b.updatedBy&&auc(d,XIc(b.updatedBy));b.publishedBy&&buc(d,XIc(b.publishedBy));b.displayHints&&fuc(d,TIc(b.displayHints));b.capabilities&&guc(d,YIc(b.capabilities));b.learnMoreUri&&_.w(d,15,b.learnMoreUri);return d},SIc=function(a,b){_.SK(["drive#categoryAttributeValue"],
b);var c=(new zL).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),wtc(c,b.map(function(d){_.SK(["drive#userScopedAttributeValue"],d);var e=new ttc,f=_.UK(a.H,d.scopedUser);e=_.I(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.WA(9);else if(!a.Jb(c,b))return null;return c},TIc=function(a){var b=new Btc;b=_.w(b,1,a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},YIc=function(a){var b=new Wtc;b=_.w(b,1,a.canSearch);b=_.w(b,2,a.canApply);
b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},WIc=function(a,b,c,d){return ZIc(a,function(){$Ic(a)[c](b,d)},c,b)},aJc=function(a){a=void 0===a?{}:a;var b=new Ftc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},cJc=function(a){var b=new Ltc;Mtc(b,(a.choices||[]).map(function(c){var d=new Ktc;d=_.w(d,1,c.label).Jb(c.value);c.description&&d.Wl(c.description);if(c.capabilities){var e=c.capabilities;var f=new Itc;f=_.w(f,1,e.canSearch);e=_.w(f,2,e.canSelect);_.I(d,3,e)}c.displayHints&&
(c=c.displayHints,e=new Jtc,e=_.w(e,1,c.disabled),e=_.w(e,2,c.hidden),c.badgePriority&&_.w(e,5,c.badgePriority),c.badgeColors&&(f=bJc(c.badgeColors),_.I(e,3,f)),c.darkBadgeColors&&(c=bJc(c.darkBadgeColors),_.I(e,4,c)),_.I(d,4,e));return d}));return b},bJc=function(a){var b=new Atc;var c=dJc(a.backgroundColor);b=_.I(b,1,c);c=dJc(a.foregroundColor);b=_.I(b,2,c);a=dJc(a.soloColor);return _.I(b,3,a)},dJc=function(a){var b=new _.aD;b=_.rb(b,1,a.red,0);b=_.rb(b,2,a.green,0);b=_.rb(b,3,a.blue,0);a.alpha&&
(a=(new Trc).Jb(a.alpha),_.I(b,4,a));return b},eJc=function(a){var b=new Ptc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,a.minValue);return _.w(b,3,a.maxValue)},fJc=function(a){var b=(new _.moa).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)};NIc.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.WA(UIc[d]);return ZIc(this,function(){gJc(c)[d](a,b[b.valueType])},b.valueType)};
var ZIc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof Rtc))return Asc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},XIc=function(a){return _.aic(1).Pb(a.personName.split("/")[1])},VIc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},$Ic=function(a){return{BOOLEAN:function(b,c){var d=b.k3a;var e=new Gtc;e=_.w(e,1,c.trueLabel);c=_.w(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.Dca(aJc(c))},TEXT_LIST:function(b,c){var d=b.i4a;var e=new Otc;e=_.w(e,1,c.maxEntries);c=aJc(c.options);c=_.I(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new Etc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Rj(b,10,CL[0],c)},SELECTION:function(b,c){return b.W3a(cJc(c))},SELECTION_LIST:function(b,c){var d=b.V3a;var e=new Ntc;e=_.w(e,1,c.maxEntries);c=cJc(c.options);c=_.I(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.x3a(eJc(c))},INTEGER_LIST:function(b,
c){var d=b.w3a;var e=new Qtc;e=_.w(e,1,c.maxEntries);c=eJc(c.options);c=_.I(e,2,c);return d.call(b,c)},USER:function(b){return b.n4a(new Stc)},USER_LIST:function(b,c){var d=b.Foa,e=new Ttc;c=_.w(e,1,c.maxEntries);e=new Stc;c=_.I(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.noa;var e=new Dtc;e=_.w(e,4,c.dateFormat);var f=fJc(c.minValue);e=_.I(e,2,f);c=fJc(c.maxValue);c=_.I(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new Rtc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.w(d,2,UIc[e]);c=c[VIc(e)+"Options"];WIc(a,d,e,c);return _.Rj(b,16,CL[0],d)}}},gJc=function(a){return{BOOLEAN:function(b,c){return b.setBooleanValue(c)},TEXT:function(b,c){return b.setTextValue(c)},TEXT_LIST:function(b,c){return b.Doa(c)},LONG_TEXT:function(b,c){return b.setLongTextValue(c)},SELECTION:function(b,c){return b.setSelectionValue(c)},SELECTION_LIST:function(b,c){return b.zoa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.roa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.UK(a.H,c))},USER_LIST:function(b,c){vtc(b,c.map(function(d){return _.UK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},UIc={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 iJc=function(a){a=a.personResponse;return Awc(new zwc,a.map(function(b){var c=b.person;b=wwc(new WL,b.personId);var d=b.hd,e=c;e=void 0===e?{}:e;e=e.metadata;b=xwc(d.call(b,e?e.bestDisplayName.displayName:""),hJc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new vwc;c=_.w(d,1,c&&!c.isDefault?c.url:null);return _.I(b,4,c)}))},hJc=function(a){a=void 0===a?{}:a;return(a=(a.email||[]).find(function(b){return"SIGNUP_EMAIL"===b.classification&&!0===b.metadata.primary}))?a.value:""};
var jJc=function(a){this.H=a},lJc=function(a,b){_.SK(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return kJc(a,c)})},kJc=function(a,b){_.SK(["drive#teamDrive","drive#drive"],b);var c=new _.Xna,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);_.w(c,7,b.hidden);_.w(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
qoc(c,d.map(function(e){_.SK(["drive#driveCategoryReference"],e);var f=new _.dl;return _.w(f,1,e.category)}));c=_.Xic(_.Vic(_.Uic(_.Qic(_.Ric(poc(_.tG((new _.el).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.oic(_.Smc(b.capabilities),!0),_.hK(c,d));b.permissionsSummary&&_.Sic(c,Xsc(a.H,b.permissionsSummary));b.restrictions&&soc(c,mJc(b.restrictions));return c},mJc=function(a){var b=new trc;
b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);return _.w(b,4,a.teamMembersOnly)};
var nJc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},Gpc=_.Za(nJc);
var oJc=function(a){_.SK(["drive#setting"],a);var b=new _.Tb;b=_.w(b,2,a.key);b=_.w(b,1,nJc[a.namespace]);return _.uBa(new _.np,b).Jb(a.value)};
var qJc=function(a){_.SK(["drive#workspaceList"],a);var b=a.items||[];b=Dwc(new XL,b.map(function(c){return pJc(c)}));return new _.IK(b,jAc(a))},pJc=function(a){_.SK(["drive#workspace"],a);var b=(new _.rG).Pb(a.id).setTitle(a.title);b=_.w(b,3,_.TK(a.createdDate));return _.w(b,4,_.TK(a.modifiedDate)).Kd(rJc[a.state])},sJc=function(a,b,c){var d=c.item||[];return _.Wnc(_.Vnc(new _.$K,d.map(function(e){return uIc(a,b,e)})),c.suggestionSessionId)},uJc=function(a,b,c){var d=c.item||[];return Ouc(Nuc(new JL,
d.map(function(e){return tJc(a,b,e)})),c.suggestionSessionId)},tJc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return Luc(Juc(Kuc(Iuc(new IL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return uIc(a,b,f)})),VM(c))},vJc=function(a){var b=new _.qtc;a.kind&&(a=pJc(a),_.I(b,2,a));b.Dc(1);return b},rJc={active:1,archived:2};
var Cpc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var wJc=function(a,b,c,d){_.qnc.call(this,b);this.Kg=a;this.ka=c;this.O=d;this.W=null;this.ma=new iHc(this.V,b);this.H=new jJc(this.rF);this.ta=new sIc(this.rF,this.H)};_.K(wJc,_.qnc);var xJc=function(a){a.W||(a.W=new NIc(a.V,a.ka));return a.W};
wJc.prototype.ha=function(a,b){if(a instanceof _.dJ)var c=_.Zmc(_.unc(a));else{if(a instanceof _.eJ)var d=_.VK(this,a,b);else{if(a instanceof _.Chc)var e=yJc(this,a.request,b);else{if(a instanceof _.fJ)var f=_.VK(this,a,b);else{if(a instanceof _.hJ){if(!b.json)throw _.WK();var h=wuc((new vuc).Dc(1),kJc(this.H,b.json))}else{if(a instanceof _.gJ)var k=_.VK(this,a,b);else{if(a instanceof _.yK)var l=new muc;else{if(a instanceof _.jJ)var p=zJc(a,b);else{if(a instanceof _.kJ)var q=kIc(void 0,a.Bh());else{if(a instanceof
_.lJ)var r=new kDc;else{if(a instanceof _.mJ)var v=_.Zmc(_.unc(a));else{if(a instanceof _.nJ)var z=new BM;else{if(a instanceof _.oJ)var A=_.Zmc(_.unc(a));else{if(a instanceof _.pJ)var D=_.Zmc(_.unc(a));else{if(a instanceof _.KD){var F=new jCc,H=a.getKey();var L=_.I(F,4,H)}else{if(a instanceof _.qJ)var O=zJc(a,b);else{if(a instanceof _.tJ)var R=_.Zmc(_.unc(a));else{if(a instanceof _.zhc){if(!b.json)throw _.WK();var X=new NDc(b.json.exportJob.id)}else{if(a instanceof _.vJ){if(!b.json)throw _.WK();var la=
b.json,ha=new eCc,ta=jIc(la);var ea=_.I(ha,2,ta).Dc(1)}else{if(a instanceof _.wJ)var Ua=AJc(a,b);else{if(a instanceof _.xJ){if(!b.json)throw _.WK();var Ja=(new BM).Dc(1),nb=_.bnc(this.rF,b.json);var $a=_.I(Ja,2,nb)}else{if(a instanceof _.GI)a:{if(!b.json)throw _.WK();if(a instanceof _.GI){var yb=a.qd();if(yb&&_.yJ(yb)){for(var Zb=this.O,Gc=this.Kg,ke=b.json,Rd=[],Gd=_.m(ke.item||[]),sf=Gd.next();!sf.done;sf=Gd.next()){var pd=sf.value;if(pd.driveItem){var Bb=new _.Vna,le=_.w(Bb,2,wIc(pd));_.S(yb,74,
!1)?_.w(le,4,!0):_.w(le,3,!0);var lg=uIc(Zb,Gc,pd);var Ee=_.I(lg,100,le);Rd.push(Ee)}}var ei=(new _.rB).Uw(Rd).sP(ke.suggestionSessionId);var $e=_.vlc(new _.MK,ei);break a}if(yb&&_.zJ(yb)){$e=xIc(this.O,this.Kg,b.json);break a}if(yb&&_.AJ(yb)){$e=zIc(this.O,this.Kg,b.json);break a}}$e=_.Wmc(this.rF,b.json,b.headers)}else{if(a instanceof _.BJ){if(!b.json)throw _.WK();var Ai=rIc(b.json)}else{if(a instanceof _.CJ){if(!b.json)throw _.WK();var ah=b.json;_.SK(["drive#appList"],ah);for(var pm=new VL,gf=
[],ve=ah.items||[],Tf=0;Tf<ve.length;Tf++)gf.push(jIc(ve[Tf]));var qi=_.Mj(pm,2,gf);var Wj=_.Kj(qi,4,ah.defaultAppIds).Dc(1)}else{if(a instanceof _.Ahc){if(!b.json)throw _.WK();var qm=pIc(b.json)}else{if(a instanceof _.SI)var Fo=BJc(this,b);else{if(a instanceof _.DJ){if(!b.json)throw _.WK();var rm=new hCc,Fh=Wsc(this.rF,b.json);var Pl=_.I(rm,1,Fh);var Gj=_.w(Pl,2,jAc(b.json))}else{if(a instanceof _.EJ){if(!b.json)throw _.WK();var Tg=this.rF,kj=b.json,Hj=new Tsc;_.SK(["drive#revisionList"],kj);for(var Xj=
[],Ph=kj.items||[],Zi=0;Zi<Ph.length;Zi++){var Ij=_.Xmc(Tg,Ph[Zi]);Xj.push(Ij)}var $i=_.Mj(Hj,2,Xj)}else{if(a instanceof _.FJ)var Yj=_.VK(this,a,b);else{if(a instanceof _.jI)var Qh=CJc(a,b);else{if(a instanceof _.HJ){if(!b.json)throw _.WK();var sm=iJc(b.json)}else{if(a instanceof _.Ihc){if(!b.json)throw _.WK();var lj=RIc(xJc(this),b.json)}else{if(a instanceof _.oG){if(!b.json)throw _.WK();var ok=xJc(this),Ql=b.json,pk=new rCc,nn=QIc(ok,Ql);var Ok=_.I(pk,2,nn).Dc(1)}else{if(a instanceof _.IJ){if(!b.json)throw _.WK();
var qk=b.json;_.SK(["drive#remainingCount"],qk);var tf=new sCc,Jj=qk.nextPageToken;null!=Jj&&_.w(tf,2,Number(Jj));_.w(tf,1,Number(qk.remainingCount));var Rl=tf}else{if(a instanceof _.qG){if(!b.json)throw _.WK();var Pk=(new _.rB).Uw([kJc(this.H,b.json)])}else{if(a instanceof _.VJ){if(!b.json)throw _.WK();var Sl=(new _.rB).Uw(lJc(this.H,b.json)),pc=_.vlc(new _.MK,Sl);var mj=_.w(pc,3,jAc(b.json))}else{if(a instanceof _.MJ)var Gh=AJc(a,b);else{if(a instanceof _.NJ)var rk=yJc(this,a,b);else{if(a instanceof
_.QI)var Rh=_.VK(this,a,b);else{if(a instanceof _.OJ)var fi=_.VK(this,a,b);else{if(a instanceof _.PJ)var bg=DJc(this,b);else{if(a instanceof _.LD){if(!b.json)throw _.WK();var sk=oJc(b.json),xp=new jCc;var Hh=_.I(xp,3,sk);var Ih=sk.getKey();var on=_.I(Hh,4,Ih)}else{if(a instanceof _.QJ)var nj=zJc(a,b);else{if(a instanceof _.BI){if(!b.json)throw _.WK();var pn=mHc(this.ma,b.json)}else{if(a instanceof _.sG){if(!b.json)throw _.WK();var Tl=pJc(b.json),tk=new _.DK;tk.IT().set(Tl.getId(),Tl);var tm=tk}else{if(a instanceof
_.Bhc){if(!b.json)throw _.WK();for(var Go=b.json,Pn=new pDc,nq=_.m(Object.entries(Go)),$l=nq.next();!$l.done;$l=nq.next()){var am=_.m($l.value),Ck=am.next().value,Vo=am.next().value;switch(Ck){case "nextPageToken":_.bk(Pn,2,Vo);break;case "activities":var Gq=RHc(Vo);_.Mj(Pn,1,Gq)}}var Hq=Pn}else{if(a instanceof _.Dhc)var Iq=DJc(this,b);else{if("undefined"!=typeof _.Hhc&&a instanceof _.Hhc)var Cv=BJc(this,b);else{if(a instanceof _.Ehc){if(!b.json)throw _.WK();var Cr=new MDc}else{if(a instanceof _.Fhc){if(!b.json)throw _.WK();
var bu=Fpc(b)}else{if(a instanceof _.JD){if(!b.json)throw _.WK();var bB=b.json,cB=new _.bA;_.SK(["drive#settingList"],bB);for(var Cy=[],Ns=bB.items||[],Jp=0;Jp<Ns.length;Jp++){var Jq=oJc(Ns[Jp]);Jq&&Cy.push(Jq)}var dB=_.dlb(cB,Cy)}else{if(a instanceof _.dA){if(!b.json)throw _.WK();var BD=uJc(this.O,this.Kg,b.json).Dc(1)}else{if(a instanceof _.pG){if(!b.json)throw _.WK();var bx=sJc(this.O,this.Kg,b.json)}else{if(a instanceof _.Nhc){if(!b.json)throw _.WK();var cx=b.json;_.SK(["drive#teamDrive"],cx);
var dx=cx.recursiveFolderCount,Dy=cx.recursiveFileCount,Ey=new XBc;var Dv=_.w(Ey,1,Dy);var Os=_.w(Dv,2,dx)}else{if(a instanceof _.Mhc)var Vk=EJc(b);else{if(a instanceof _.Phc){if(!b.json)throw _.WK();var Dr=qJc(b.json)}else Dr=a instanceof _.hL?DJc(this,b):null;Vk=Dr}Os=Vk}bx=Os}BD=bx}dB=BD}bu=dB}Cr=bu}Cv=Cr}Iq=Cv}Hq=Iq}tm=Hq}pn=tm}nj=pn}on=nj}bg=on}fi=bg}Rh=fi}rk=Rh}Gh=rk}mj=Gh}Pk=mj}Rl=Pk}Ok=Rl}lj=Ok}sm=lj}Qh=sm}Yj=Qh}$i=Yj}Gj=$i}Fo=Gj}qm=Fo}Wj=qm}Ai=Wj}$e=Ai}$a=$e}Ua=$a}ea=Ua}X=ea}R=X}O=R}L=O}D=
L}A=D}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var zJc=function(a,b){if(!b.json){if(a instanceof _.qJ)return vJc({});throw _.WK();}return vJc(b.json)},DJc=function(a,b){if(!b.json)throw _.WK();a=kJc(a.H,b.json);return(new _.XJ).Dc(1).setItem(a)},yJc=function(a,b,c){if(!c.json)throw _.WK();return PIc(xJc(a),b,c.json)},AJc=function(a,b){if(!b.json)throw _.WK();return kIc(b.json,a.Bh())},BJc=function(a,b){if(!b.json)throw _.WK();a=a.ta;var c=b.json;_.SK(["drive#about","drive#changeList"],c);b=new twc;var d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));if("drive#changeList"==c.kind){_.SK(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.SK(["drive#change"],h);var k=new _.JI;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.Sgc(k,h.teamDriveId),_.KI(k,h.teamDriveId)):_.KI(k,h.fileId);h.file?k.setItem(_.Umc(f.H,h.file)):h.teamDrive&&k.setItem(kJc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.UI(k);d.push(k)}_.Mj(b,4,d)}return b},EJc=function(a){var b,c;if(!a.json)throw _.WK();
a=a.json;var d=a.result&&a.result.status;d=d&&FJc[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 JCc(ICc(HCc(new _.GCc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.ECc;p=_.w(p,1,l.unmovableReason);return _.w(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return DCc(CCc(BCc(ACc(new DM,jAc(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},CJc=function(a,b){var c=new mDc;if(_.Td(a,6).length){var d=[];Eoc(_.Td(a,6),b.headers).forEach(function(e,f){var h=new _.fec;e=_.w(h,1,f).Jb(e);d.push(e)});_.Mj(c,1,d)}nDc(c,b.json?JSON.stringify(b.json):b.text);return c},FJc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var HJc=function(a){var b=new _.Wo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(GJc[a]);_.vK(b,c.join(" "))}return b.toString()},IJc={},GJc=(IJc[1]="active",IJc[2]="archived",IJc);
var JJc=function(a,b,c,d){_.XK.call(this,b,c,a.PLa,d);this.ma=a;this.ha=new Gvc(_.tK(c),b)};_.K(JJc,_.XK);
JJc.prototype.V=function(a,b,c){var d=this,e,f;try{return _.XK.prototype.V.call(this,a,b,c)}catch(X){}var h=0,k={},l="GET",p={},q=!1,r=!1;if(a instanceof _.eJ){l="POST";var v="admin/files/"+a.getId()+"/migrateToTeamDrive";_.Q(a,3)&&(p.useDomainAdminAccess=!0);p.fields="kind,id,parentId,teamDriveId";p.fileId=a.getId();_.P(a,4)&&(p.preFlightValidationToken=_.y(a,4));var z=kAc(a);k["content-type"]="application/json";q=r=!0;_.bK(this.H,[],[a.getId(),a.wk()],this.O,k)}else if(a instanceof _.fJ){l="POST";
v="files/"+a.Cc()+"/authorize";p.appId=a.Bh();_.Q(a,3)&&(p.propagate=!0);var A=a.ve();r=!0;_.sK(p);_.bK(this.H,[],[a.Cc()],this.O,k)}else if(a instanceof _.hL)v="drives/"+a.getId(),l="PUT",z={},z=(z.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),z),k["content-type"]="application/json",p.fields=OL(this.H,[],!0),A=a.ve(),r=!0;else if(a instanceof _.Dhc)l="POST",v="teamdrives/"+a.requestId,p.fields=OL(this.H),z={},z=(z.name=a.request.getTitle(),z),k["content-type"]="application/json",A=a.request.ve(),
r=!0;else if(a instanceof _.jJ)l="POST",v="workspaces",p.fields="kind,id,title,createdDate,modifiedDate,state",z=nAc(a),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.gJ)l="POST",v="files/"+a.getId()+"/copy",p.fields=_.qhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)}),p.convert=_.S(a,4,!1),z=mAc(a),k["content-type"]="application/json",A=a.ve(),a=_.Td(a,3).concat([a.getId()]),_.bK(this.H,[],a,this.O,k),r=!0,_.sK(p),_.Gnc(this.H,p);else if(a instanceof _.kJ)l=
"DELETE",v="apps/"+a.Bh(),p.appId=a.Bh(),p.deleteAppData=!!_.Q(a,2),A=a.ve(),r=!0;else if(a instanceof _.lJ)l="DELETE",v="backups/"+a.getId(),h=9;else if(a instanceof _.mJ)l="DELETE",v="files/"+a.getId(),A=a.ve(),r=!0,_.sK(p),_.Gnc(this.H,p),_.bK(this.H,[],[a.getId()],this.O,k);else if(a instanceof _.nJ)l="DELETE",v="files/"+a.Cc()+"/permissions/"+_.y(a,2),A=a.ve(),r=!0,_.sK(p);else if(a instanceof _.oJ)l="DELETE",v="files/"+a.Cc()+"/revisions/"+_.y(a,2),A=a.ve(),r=!0,_.bK(this.H,[],[a.Cc()],this.O,
k);else if(a instanceof _.pJ)l="DELETE",v="teamdrives/"+a.getId(),A=a.ve(),r=!0;else if(a instanceof _.KD)l="DELETE",A=a.getKey(),v="settings/"+_.y(A,2),_.op(A)&&(p.namespace=Gpc[_.op(A)]),A=a.ve(),r=!0;else if(a instanceof _.qJ)l="DELETE",v="workspaces/"+a.getId(),A=a.ve(),r=!0;else if(a instanceof _.tJ)l="DELETE",v="files/trash",A=a.qd().ve(),r=!0,_.Gnc(this.H,p);else if(a instanceof _.vJ)v="apps/"+a.Bh(),A=a.ve(),r=!0,p.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.BJ)v="backups/"+a.getId()+"/items",h=9,p.languageCode=nL(_.AI(this.H));else if(a instanceof _.wJ)l="POST",v="apps",p.appId=a.Bh(),A=a.ve(),r=!0;else if(a instanceof _.xJ)l="POST",v="files/"+a.Cc()+"/permissions",p.fields=_.FI(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",p.emailMessage=
_.y(a,5)||"",p.sendNotificationEmail=!_.S(a,6,!1),z={},1==a.zf()?z.role="owner":3==a.zf()?z.role="writer":4==a.zf()?(z.role="reader",z.additionalRoles=["commenter"]):2==a.zf()&&(z.role="reader"),1==a.getType()?z.type="user":2==a.getType()?z.type="group":3==a.getType()?z.type="domain":4==a.getType()?z.type="anyone":5==a.getType()&&(z.type="audience"),a.Za()&&(z.value=a.Za()),z.withLink=!_.S(a,8,!1),k["content-type"]="application/json",A=a.ve(),r=!0,_.sK(p);else if(a instanceof _.zhc)h=8,l="POST",v=
"/v1/exports",k["content-type"]="application/json",z=_.Td(a,1).map(function(X){if(_.S(d.H,89,!1)){var la=_.glc(d.O,X);if(null!==la)return{id:X,resource_key:{resource_key:la}}}return{id:X}}),z={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:z,locale:null};else if(a instanceof _.GI||a instanceof _.yK||a instanceof _.dA||a instanceof _.pG)if(b=a instanceof _.GI?a.qd():a,_.ZJ(b)){h=10;l="POST";v="/v1/items";k["content-type"]="application/json";z={};var D=9==_.mK(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",F={};F.applicationType=Ovc(this.H);F.platformType=D;F.languageCode=nL(_.AI(this.H));F.timeZone=(new _.Kt).c$();F.requestType="LIVE_REQUEST";a instanceof _.GI&&(D=a.getOptions())&&_.S(D,10,!1)&&(F.requestType="BACKGROUND_REQUEST");if(b instanceof _.hf)if(_.yJ(b)){if(Lvc(this.ha)){F.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.B(b,urc,75))||void 0===e?void 0:_.B(e,vrc,1))||void 0===f?void 0:_.y(f,1))F.clientTags=F.clientTags||[],F.clientTags.push({name:a});this.Od.O(106026)}else _.S(b,
74,!1)?F.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":F.scenarioType="QUICK_ACCESS";2==_.kK(b)&&(Lvc(this.ha)||(F.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),z.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Td(b,33)[0]});_.Fl(b).length&&(z.itemType=Nvc(b))}else _.zJ(b)?F.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.AJ(b)&&(F.scenarioType="DRIVE_PRIORITY");else b instanceof _.yK?(v="/v1/userfeedback",z.userFeedback=_.Qj(b,_.juc,1).map(function(X){var la=_.B(X,_.FL,2),ha={},ta={};ta.feedbackType=
xuc[la.getType()];ha.item=ta;ha.clientInfo=F;switch(X.getFeature()){case 1:F.scenarioType="DRIVE_PRIORITY";ta.itemId=la.Cc();break;case 3:F.scenarioType="QUICK_ACCESS";ta.itemId=la.Cc();break;case 4:F.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";ta.itemId=la.Cc();break;case 2:F.scenarioType="DRIVE_WORKSPACES",ta.itemId=la.Cc(),ta.childItem=_.Qj(la,_.FL,3).map(function(ea){var Ua={};Ua.itemId=ea.Cc();return Ua})}return ha})):b instanceof _.dA?F.scenarioType="DRIVE_WORKSPACES":b instanceof _.pG?(F.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",z.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Jp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.Q(b,5)}]):_.Jnc(a);b instanceof _.yK||(z.maxSuggestions=b.Ei(),z.clientInfo=F)}else{A=b.ve();r=!0;v="files";p.q=_.jkc(b);D=[];var H;(H=_.PI(this.H))&&_.S(H,4,!1)?(H=_.wa(this.Lg(c),this.Lg(c,b.O())),_.Da(H)):H=_.xa(this.Lg(c));var L=void 0,O=!1;0<_.Qj(b,_.Al,5).length&&(L=_.y(this.H.eg(),50),O=!0);p.fields=hoc({fields:H,
xq:_.ZI(_.AI(this.H)),X6:L||void 0,ME:_.FI(this.H),cAb:O});p.appDataFilter="NO_APP_DATA";0<_.Qj(b,_.jK,25).length&&(p.sources=_.bkc(b));0<b.AB().length&&(p.spaces=_.ckc(b));a.Xn()&&(p.pageToken=a.Xn());(a=a.getOptions())&&_.Vj(a,1,1E3)&&(p.maxResults=_.Vj(a,1,1E3));_.S(b,36,!1)&&(p.includeUnsubscribed=!0);_.y(b,43)&&(p.rawUserQuery=_.y(b,43));_.sK(p);p.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Td(b,33).length&&2==_.kK(b)&&(a=_.Td(b,33)[0],p.teamDriveId=a,D.push(a));p.corpora=_.Njc[_.kK(b)];_.Q(b,
18)&&(_.Va(p,"corpora"),p.corpus="DOMAIN");a=_.Gl(b);H=_.Qj(b,_.vl,35);L=_.Qj(b,_.vl,38);D=D.concat(a.filter(function(X){return!_.S(X,2,!1)}).map(function(X){return X.Za()})).concat(H.map(function(X){return X.Za()})).concat(L.map(function(X){return X.Za()}));_.bK(this.H,_.Qj(b,_.Cl,63),D,this.O,k);Goc(p,b.wc());_.Hnc(this.H,p);_.Inc(this.H,p);_.B(b,_.Cea,64)&&(a=wrc(_.B(b,_.Cea,64)),a=_.mb(a,4),p.searchSessionData=a)}else if(a instanceof _.CJ){v="apps";switch(a.getType()){case 1:p.fields=KJc;break;
case 2:p.fields=LJc;break;case 4:p.fields=MJc;break;case 3:h=5,v="apps",p.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",p.appQueryScope="all_webstore",b.ru=!0}p.languageCode=nL(_.AI(this.H));0<_.Td(a,3).length&&(p.appFilterExtensions=_.Td(a,3).join(","));0<_.Td(a,4).length&&(p.appFilterMimeTypes=_.Td(a,4).join(","));A=a.ve();r=!0}else if(a instanceof
_.Ahc)v="backups",h=9,p.languageCode=nL(_.AI(this.H));else if(a instanceof _.SI)v="changes",p.includeDeleted=_.S(a,3,!0),p.includeSubscribed=_.S(a,4,!0),p.maxResults=a.SQ(),p.startChangeId=_.y(a,1),p.fields=goc({fields:this.Lg(c),X6:OL(this.H,_.Td(a,5)),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)}),p.appDataFilter="NO_APP_DATA",a.yc()||(p.filters="DRIVE_DATASERVICE"),A=_.Td(this.H.eg(),31),A.length&&(p.spaces=_.ef(A,function(X){return _.iec[X]}).join(",")),_.sK(p),p.includeCorpusRemovals=!0,p.includeItemsFromAllDrives=
!0,a.yc()&&(p.teamDriveId=a.yc()),A=a.ve(),r=!0;else if(a instanceof _.DJ)b=a.qd(),v="files/"+b.getId()+"/permissions",p.fields=_.FI(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.Xn()&&(p.pageToken=a.Xn()),_.y(a,1)&&(p.maxResults=_.y(a,1)),A=b.ve(),r=!0,_.sK(p),
_.Hnc(this.H,p),_.Inc(this.H,p),_.bK(this.H,[],[b.getId()],this.O,k);else if(a instanceof _.EJ)p.fields=_.FI(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",p.maxResults=a.Ei(),v="files/"+a.Cc()+"/revisions",A=a.ve(),r=!0,
_.bK(this.H,[],[a.Cc()],this.O,k);else if(a instanceof _.FJ)l="POST",v="files/"+(_.y(a,1)||"")+"/migrateToDrive",_.Q(a,3)&&(p.useDomainAdminAccess=!0),p.fields=_.qhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)}),p.fileId=_.y(a,1),_.P(a,4)&&(p.preFlightValidationToken=_.y(a,4)),z=lAc(a),k["content-type"]="application/json",q=r=!0,_.bK(this.H,[],[_.y(a,1)||"",_.y(a,2)||""],this.O,k);else if(a instanceof _.qG)v="teamdrives/"+a.jn()[0],p.fields=OL(this.H,a.O()),A=a.ve(),r=!0;else if(a instanceof
_.Mhc)l="POST",v="admin/files/migrateToTeamDrivePreFlight",_.Q(a.request,3)&&(p.useDomainAdminAccess=!0),z=oAc(a),k["content-type"]="application/json",r=q=!0,_.bK(this.H,[],_.Td(a.request,1),this.O,k);else if(a instanceof _.VJ)A=a.qd(),v="teamdrives",p.fields=fvc(this.H,A.O()),p.q=xvc(A),a.Xn()&&(p.pageToken=a.Xn()),(A=(A=a.getOptions())&&_.Vj(A,1,1E3))&&(p.maxResults=A),A=a.qd().ve(),r=!0;else if(a instanceof _.Nhc)v="teamdrives/"+a.yc(),p.fields="kind,id,recursiveFileCount,recursiveFolderCount",
r=q=!0;else if(a instanceof _.MJ)l="PUT",v="apps/"+a.Bh(),p.appId=a.Bh(),z={},z.useByDefault=_.Q(a,2),_.Q(a,3)&&(z.hasAppData=!1),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.QI)l="PUT",v="files/"+a.getId(),p.fields=_.qhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),ME:_.FI(this.H)}),p.modifiedDateBehavior="DRIVE_UI",p.updateViewedDate=!!_.Q(a,15),p.fileId=a.getId(),_.Td(a,9).length&&(p.addParents=_.Td(a,9).join(",")),_.Td(a,10).length&&(p.removeParents=_.Td(a,10).join(",")),
_.Td(a,31).length&&(p.addWorkspaces=_.Td(a,31).join(",")),_.Td(a,32).length&&(p.removeWorkspaces=_.Td(a,32).join(",")),null!=_.Q(a,24)&&(p.confirmed=_.Q(a,24)),p.languageCode=nL(_.AI(this.H)),z=pAc(a),k["content-type"]="application/json",A=a.ve(),r=!0,_.sK(p),this.W(a.getId(),p),_.Q(a,36)?p.bypassMultiparentingCheck=!0:_.Gnc(this.H,p),b=_.Td(a,9).concat(_.Td(a,10)),b.push(a.getId()),_.bK(this.H,_.Qj(a,_.Cl,38),b,this.O,k);else if(a instanceof _.OJ)l="PUT",v="files/"+a.Cc()+"/revisions/"+_.y(a,2),
z=qAc(a),k["content-type"]="application/json",A=a.ve(),_.bK(this.H,[],[a.Cc()],this.O,k);else if(a instanceof _.PJ)v="teamdrives/"+a.getId(),null!=_.Q(a,15)?(l="POST",v+="/"+(_.Q(a,15)?"hide":"unhide")):(l="PUT",z=rAc(a),k["content-type"]="application/json"),p.fields=OL(this.H),A=a.ve(),r=!0;else if(a instanceof _.QJ)l="PUT",v="workspaces/"+a.getId(),p.fields="kind,id,title,createdDate,modifiedDate,state",z=sAc(a),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.LD)l="PUT",
z=_.B(a,_.np,1),A=z.getKey(),v="settings/"+_.y(A,2),(A=_.op(A))&&(p.namespace=Gpc[A]),z=Hpc(z),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.BI)v="about",p.fields=_.FI(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",p.fields=Kpc(p.fields,this.H),p.fields=Lpc(p.fields,this.H),A=a.ve(),r=!0;else if(a instanceof _.jI){h=11;l=a.Xz();v=a.getUrl();var R=_.y(a,5)||"";_.Qj(a,_.fec,2).forEach(function(X){k[X.getKey()]=
X.Za()});_.Qj(a,_.fec,4).forEach(function(X){p[X.getKey()]=X.Za()});_.Q(a,7)&&(b.MJb=!0);_.Q(a,8)&&(b.ru=!0);_.Q(a,9)&&(b.eEa=!0)}else a instanceof _.Chc?(b=a.request.Cc(),v="files/"+b+"/listCategoryMetadata",A=a.request.ve(),a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),p.fields="kind,nextPageToken,categoryMetadata",_.bK(this.H,[],[b],this.O,k)):a instanceof _.NJ?(k["content-type"]="application/json",l="POST",b=a.Cc(),v="files/"+b+"/updateCategoryMetadata",
A=a.ve(),z={categoryMetadata:a.zV().map(function(X){var la=_.Qj(X,_.mG,2).map(function(ta){return{id:ta.getId(),userId:ta.ts(),setBooleanValue:_.Q(ta,3),setTextValue:_.y(ta,4),setTextValues:_.Td(ta,6),addTextValues:_.Td(ta,5),setLongTextValue:_.y(ta,7),setSelectionValue:_.y(ta,8),setSelectionValues:_.Td(ta,10),addSelectionValues:_.Td(ta,9),setIntegerValue:_.y(ta,11),setIntegerValues:_.Td(ta,13),addIntegerValues:_.Td(ta,12),setUserValue:_.y(ta,14),setUserValues:_.Td(ta,16),addUserValues:_.Td(ta,15),
setDateStringValue:_.y(ta,17)}}),ha={categoryName:X.Lm()};la.length?ha.categoryAttributeValueDeltas=la:_.Td(X,4).length?ha.revertAttributeIds=_.Td(X,4):_.Q(X,3)&&(ha.removeCategory=_.Q(X,3));return ha})},_.bK(this.H,[],[b],this.O,k)):a instanceof _.HJ?(h=13,v=_.ZI(_.AI(this.H))?"/v2/people/public":"/v2/people",p.person_id=a.jn(),p["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],p["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],
p["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.ZI(_.AI(this.H))||(p["core_id_params.enable_private_names"]=!0)):a instanceof _.Ihc?(h=12,v="/v1/categories/-/published",k["content-type"]="application/json",a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),a.request.getCustomer()&&(p.customer=a.request.getCustomer()),p.$outputDefaults=!0,p.languageCode=nL(_.AI(this.H))):a instanceof _.oG?(h=12,v="/v1/"+a.getName(),k["content-type"]=
"application/json",p.$outputDefaults=!0,p.languageCode=nL(_.AI(this.H))):a instanceof _.hJ?(k["content-type"]="application/json",l="POST",v="drives/"+a.yc()+"/changeCategoryReferences",A=a.ve(),r=!0,p.fields=OL(this.H,[157],!0),z={},b=_.Qj(a,_.dl,2),b.length&&(z.addCategoryReferences=b.map(function(X){return{category:X.Lm()}})),a=_.Qj(a,_.dl,3),a.length&&(z.removeCategoryReferences=a.map(function(X){return X.Lm()}))):a instanceof _.sG?(v="workspaces/"+a.jn()[0],p.fields="kind,id,title,createdDate,modifiedDate,state",
A=a.ve(),r=!0):a instanceof _.Bhc?(h=7,l="POST",v="/v2/activity:query",k["content-type"]="application/json",z={},z.pageSize=a.pageSize,a.pageToken&&(z.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?z.ancestorName=b:z.itemName=b,z.consolidationStrategy={legacy:{}},(a=_.PI(this.H))&&_.S(a,13,!1)&&(z.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.Ehc?(h=8,l="POST",v="/v1/exports/"+a.H+":cancel"):
a instanceof _.Fhc?(h=8,v="/v1/exports/"+a.H):"undefined"!=typeof _.Hhc&&a instanceof _.Hhc?(v="changes",p.fields="kind,largestChangeId",_.sK(p),p.includeItemsFromAllDrives=!0,a.teamDriveId&&(p.teamDriveId=a.teamDriveId),A=a.H,r=!0):a instanceof _.JD?(v="settings",A=_.Td(a,3),p.namespace=Ipc(A),A=a.ve(),r=!0):a instanceof _.Phc?(v="workspaces",p.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),
p.q=HJc(a.request),(A=a.request.Dw())&&1==A.getType()&&(p.orderBy="title"),A=a.request.ve(),r=!0):a instanceof _.IJ?(v="changes/getRemainingCount",p.pageToken=_.y(a,2),_.P(a,3)&&(p.supportsTeamDrives=!0,p.includeItemsFromAllDrives=!0,p.teamDriveId=a.yc()),A=a.ve()):a instanceof _.dJ?(k["content-type"]="application/json",l="POST",v="files/"+a.Cc()+"/sendAccessRequest",z={},q=!0):_.Jnc(a);r&&_.Knc(c,p);0!=h||q||A&&_.y(A,1)||_.JK(this.Od,74438989);return _.Lnc(this,h,v,p,k,l,A,z,R)};
JJc.prototype.W=function(a,b){a=this.ma.rm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var KJc=Jpc("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"),LJc=
Jpc("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"),
MJc=Jpc("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 NJc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,D,F,H,L,O,R,X,la){this.coa=_.Zh();this.$ea=new _.Wkc;var ha=new _.xlc(this.cK.bind(this),function(){return R("w8KrJc")}),ta=new gHc(b.rm),ea=new YGc(ha);c=new QGc(b,f,new LGc(d,e,c),h,this.coa.promise,k,l,c,R);d=new fHc(b,p,q,r,v,d,e,D,k);this.O=new _.Zkc(a,z);z=new JJc(b,a,k,X);this.csa=new wJc(k,a,A,D);this.H=iAc(a,new _.Lmc(this.O,this.$ea,z,this.csa,F,H,L),H,A,O,b.rm,this.$ea,this.coa.promise,L||void 0);this.coa.resolve(la?la:new _.jmc(new hHc,ta,
ea,this.H,ha,c,d,a))};NJc.prototype.cK=function(){return _.Oa(this.H,function(a){return a.cK()})};var SDc=function(a){var b=new Map,c=Date.now();_.La(a.H,function(d,e){d=Vsc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var OJc=function(a,b){var c=this;this.context=a;this.Kg=b;this.ha=null;this.zR=0;this.ka=this.active=!1;this.H=this.ta=null;this.V={};this.Fa=this.Ba=!1;this.Od=a.vk();this.W=_.Zh();this.O=a.Mc;this.Ha=_.PI(this.O)||new _.Bgc;b=_.oL(this.O);this.va=new _.elc(_.Vj(b,2,37500),_.Vj(b,3,6E5));this.ma=a.vQ;_.La($vc,function(d){c.V[d]=[]});ZL(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});ZL(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});ZL(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.lL().Gg(_.Of)})};_.g=OJc.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,OM(this.context).addCallback(function(b){a.ma.initialize().jg(function(){a.ha=b;a.setActive(!0)},function(c){c&&Asc(a.context.Rf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.aJ(c));a.log("Error initializing dump storage");a.iS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Qma=function(a){this.active&&(this.zR+=a,this.zR>_.Vj(_.oL(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.bR().cK()||0<b.wf.vI.vna||b.Jj().Ue()||b.tk().Ue())||((this.active=a)?(this.W.resolve(),this.H||this.lL().Gg(_.Of)):(this.W=_.Zh(),_.n.clearTimeout(this.ta)))}};_.g.iS=function(){this.ka=!0};_.g.aWa=function(){return this.H?this.H.promise:_.Wh()};
_.g.lL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.Zh();_.$h(this.H.promise,function(){a.H=null});var b=this.Od.H(106021)||void 0;this.W.promise.then(function(){return cAc(a.context.zD)}).then(function(c){var d=!c;return a.ka?d:_.Yh([PJc(a,3,d,void 0,void 0,b),PJc(a,0,d,void 0,!0,b),PJc(a,1,d,void 0,!0,b),PJc(a,5,d,void 0,!0,b),PJc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.qc("Failed to update dump",void 0,_.aJ(e));return _.Xh(e)})},function(){return _.Xh(Error("sg"))}).then(function(c){a.H.resolve(c);
b&&(c=Hsc(b),_.w(c,2,!0),b.yj())},function(c){a.H.reject(c);b&&(c=Hsc(b),_.w(c,2,!1),b.yj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.ai,e=this.Od.H(106021)||void 0;e&&(msc(Hsc(e),_.AK(_.vgc,a)),d.then(function(){var f=Hsc(e);_.w(f,2,!0);e.yj()},function(){var f=Hsc(e);_.w(f,2,!1);e.yj()}));this.W.promise.then(function(){return cAc(c.context.zD)}).then(function(f){f=!f;c.ka?d.callback():_.di(PJc(c,a,f,b,void 0,e),d)});return d};
var PJc=function(a,b,c,d,e,f){var h=_.ia(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.If.Ym();var k=new _.ai;_.ci(h.If,function(){_.di(a.Lu(b,c,d,e,f),k)})}else k=a.Lu(b,c,d,e,f);var l={encrypt:c,If:k};a.V[b].push(l);_.ci(k,function(){_.va(a.V[b],function(p){return l===p})});k.Pg(function(p){a.ma.O.Sf()?a.iS():p instanceof _.qc&&(p=p.O||null,p instanceof _.wI&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.iS());return null});
return k};
OJc.prototype.Lu=function(a,b,c,d,e){var f=this,h=new _.ai;this.W.promise.then(function(){if(3===a)_.di(QJc(f,c||!1,b,e),h);else{switch(a){case 0:var k=bEc(f.context.UP);break;case 1:k=f.context.EZ.yr();break;case 5:k=RJc(f.context.kE);break;case 6:k=Mxc(f.context.wf.sq);break;default:h.Id("Invalid data type to write to storage.");return}if(k){var l=_.Qj(_.oL(f.O),mL,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):$yc(f.ma,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Id(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Id("Failed to get data to write to dump.")}});return h};
var QJc=function(a,b,c,d){_.n.clearTimeout(a.ta);a.ta=_.n.setTimeout((0,_.M)(a.Ka,a),a.va.Za());if(b&&0===a.zR)return _.hi();a.zR=0;var e=_.Qj(_.oL(a.O),mL,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),_.hi();var f=[];_.La(Zuc,function(k){0<k&&(k=SJc(a,k),k.length&&f.push($yc(a.ma,c?e:null,k,d)))});var h=new _.ai;Promise.all(f).then(function(){a.Fa&&a.context.zD.set(aAc,!0);h.callback()},function(k){return void h.Id(k)});return h};
OJc.prototype.Ka=function(){_.cI(this.va);this.update(3,!0)};
var SJc=function(a,b){switch(b){case 1:return[TJc(a)];case 2:var c;b=null===(c=_.PI(a.context.Mc))||void 0===c?void 0:_.S(c,17,!1);c=a.context.wf.mr;var d=c.H;c=(b=!b||d&&d.XG?d:c.O)?b.ly():[];c=UJc(a,_.Qa(lpc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Vj(_.oL(a.O),5,2E4)&&(b&&aM(b,!1),c=[]);c=Tuc(new LL,VJc(c));d=a.context.wf.mr;a=new tpc;(d=d.H)&&d.XG&&(d=d.ly(),_.w(a,3,d.length));a=_.I(c,11,a);a=Yuc(a,2);b&&Wuc(a,b.FN());b instanceof dM&&(b=Swc(b),_.Kj(a,14,b));return[a];
case 3:return WJc(a);case 4:return XJc(a);default:throw new _.qc("Unsupported CacheType");}},TJc=function(a){for(var b={},c=[],d=axc(a.context.wf.mr,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.ly(),l=UJc(a,kpc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ia(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=Quc(new KL,h.qd()),h.H||(_.w(l,2,k),_.I(l,3,p),e=!1),c.push(l)}d=_.Qa(b);a.log("Exporting "+d.length+" initial dump items.");return Wuc(Yuc(Vuc(Tuc(Uuc(Xuc((new LL).Eu(a.context.Zn()),_.tK(a.Kg)),a.ha.ZQ(null)),
VJc(d)),c),1),!e)},WJc=function(a){var b=[],c=a.ha;a.context.wf.mr.VV().forEach(function(d){var e=c.ZQ(d.yc());if(e){var f=UJc(a,kpc(d.ly()));a.log("Exporting "+f.length+" TD dump items for: "+d.yc());e=Wuc(Yuc(Uuc(Tuc(new LL,VJc(f)),e),3),d.FN(d.qd()));d=Quc(new KL,d.qd());Vuc(e,[d]);b.push(e)}});return b},XJc=function(a){var b={},c=[];a.context.wf.VV().forEach(function(d){1===d.BJ()&&null==_.Q(d.qd(),6)&&(kpc(d.ly()).forEach(function(e){b[e.getId()]=e}),d=Ruc(Quc(new KL,new _.hf),d.qd()),c.push(d))});
return[Wuc(Yuc(Vuc(Tuc(new LL,VJc(Object.values(b))),c),4),!1)]},UJc=function(a,b){b=Koc(b);_.Q(a.O,67)&&(b=YJc(b));_.FI(a.O)&&(_.S(a.Ha,9,!1)?Pxc(a.context.wf.sq,b)&&(_.JK(a.Od,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Nxc(a.context.wf.sq,b)):b=Nxc(a.context.wf.sq,b));return b.filter(function(c){return 4!==c.qv()})},YJc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,yoc(c)?(c=c.clone(),ioc(c,xoc),b.push(c)):b.push(c);
return b},VJc=function(a){return a.map(function(b){return b.clone()})};OJc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};OJc.prototype.pDa=function(){this.Fa=!0};
var ZJc=function(){};_.g=ZJc.prototype;_.g.setActive=function(){};_.g.iS=function(){};_.g.update=function(){return _.hi()};_.g.aWa=function(){return _.Wh()};_.g.lL=function(){return _.Wh()};_.g.Qma=function(){};_.g.pDa=function(){};
var kL=function(a,b,c,d){_.zi.call(this);var e=this;this.Aa=a;this.jw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.Tjc;this.Mc=b.clone();(a=_.PI(this.Mc))&&_.S(a,1,!1)&&_.hI(this.Mc,28);this.Kg=new _.Yjc(this.Mc);this.tm=new Gvc(_.tK(this.Kg),this.Mc);$Jc(this);this.tX=new _.En;this.rb=_.n.setTimeout(function(){e.Rf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.tX.resolve();e.vk().O(106020)},1E4);this.DZ=new _.ai;this.Ba=new _.zkc(_.nK(this.Mc),_.S(this.Mc.eg(),
52,!1));this.connectionState=new _.skc(_.nK(this.Mc)?3:1,!_.S(this.Mc.eg(),52,!1));this.Od=_.Pkc(this.Mc,this.Ba,this.connectionState,this.va,this.tX.promise,this.jw);this.afa=new lwc(this.Od);this.cQ=new _.ai;aKc(this)};_.K(kL,_.zi);kL.prototype.getEnvironment=function(){return this.jw};kL.prototype.$R=function(){this.Rf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.rb);this.tX.resolve()};
var aKc=function(a){var b=function(){a.Gu().Gg(_.Of)},c=a.Aa;(c=c&&_.lc(c,_.em))?_.Te(c,"w",b):_.Agc()||_.Te(_.n,"unload",b)};kL.prototype.Gu=function(){this.Od.O(106005);Lsc(this.Od);var a=this.ma.map(function(b){return b()});_.qa(this.ma);return _.mI(a).then()};var bKc=function(a,b){a.ma.push(b)};_.g=kL.prototype;_.g.Rf=function(){return this.va};_.g.Eu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.DZ.callback(a),a.length&&this.R3a(a,b||null))};_.g.R3a=function(){};
_.g.Zn=function(){return this.rootId};_.g.vk=function(){return this.Od};var cKc=function(a){if(!a.ha)throw Error("tg");return a.ha},dKc=function(a,b){a.ha=b};kL.prototype.IB=function(){return this.Fa||this.connectionState.isConnected()};kL.prototype.Jj=function(){return this.Ba};kL.prototype.tk=function(){return this.connectionState};kL.prototype.gNb=function(a){this.cQ.callback(a)};
var $Jc=function(a){var b=a.Mc.eg();0===_.Td(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.C(b,37,""))throw Error("ug");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.S(_.oL(a.Mc),9,!1))if(b=_.Qj(_.oL(a.Mc),mL,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.nK(a.Mc)&&!_.S(a.Mc,10,!1))throw Error("vg");}else _.w(_.oL(a.Mc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.oL(a.Mc),9,!1)&&(_.nK(a.Mc)||_.S(a.Mc,10,!1)))throw Error("wg");var c=_.AI(a.Mc);b=!(!c||!_.ZI(c));c=c&&_.lK(c)||"";if(!b&&!c)throw Error("xg");b&&_.Nj(a.Mc,44);_.Qj(a.Mc,_.hf,44).forEach(function(d){try{Jvc(a.tm,d)}catch(e){if(e instanceof _.qc&&(d=e.Qg)&&3===d.$s())throw Error("yg");throw e;}})};kL.prototype.mJ=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,a)))};kL.prototype.log=function(a){this.Rf().info("drive.ds.sync.ThinContext",a)};
var eKc=function(a,b){this.H=a;this.Ke=b};
var fKc=new Set([5,4,1,6,2]),gKc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),hKc=function(a,b,c){_.zi.call(this);this.ha=a;this.V=b;this.W=c;this.IF=new Map;this.O=new Map;this.status=6;this.H=null};_.K(hKc,_.zi);
hKc.prototype.dQ=function(a,b,c,d){var e=this;if((d=void 0===d?!1:d)&&!c.length){var f=new Set;a.forEach(function(q){(q=(q=q.getKey())&&_.op(q))&&f.add(q)});[].concat(_.nd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=fKc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.op(r);r=r&&_.y(r,2);v=k.get(v);r&&v&&v.set(r,iKc(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),v=e.IF.get(q);v?h&&
(r.forEach(function(z){var A=z.getKey();(A=v.get(A&&_.y(A,2)))&&_.Uj(z,A)||l++}),[].concat(_.nd(v.values())).forEach(function(z){z=z.getKey();r.has(_.y(z,2))||p++}),e.IF.set(q,r),e.O.set(q,b)):(l+=r.size,e.IF.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,$L(this.V,"px2C2c");$L(this.V,"rkYxSd")}(l||p)&&jKc(this,!h)}};
hKc.prototype.QG=function(){return 0<this.IF.size};var jKc=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 _.ri("WPi0i"))};hKc.prototype.put=function(a){var b=a.getKey(),c=b&&_.op(b);b=b&&_.y(b,2);if(c&&b&&(c=this.IF.get(c))){var d=c.get(b);a=iKc(a);d&&_.Uj(a,d)||(c.set(b,a),jKc(this))}};hKc.prototype.remove=function(a){var b=a&&_.op(a);a=a&&_.y(a,2);b&&a&&(b=this.IF.get(b))&&b.delete(a)&&jKc(this)};
var RJc=function(a,b){var c=[];(b||[].concat(_.nd(a.IF.keys()))).forEach(function(e){(e=a.IF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.IF.has(e)}):[].concat(_.nd(a.IF.keys()));var d=new ptc;_.Mj(d,1,c);_.Kj(d,2,b);return d};
hKc.prototype.KG=function(a){var b=this,c=RJc(this,a),d=new _.bA;d.Dc(this.status);_.dlb(d,_.Qj(c,_.np,1));_.I(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);gKc.has(f)&&Infinity>gKc.get(f)&&(e=f)});return new eKc(d,e)};var iKc=function(a){a=a.clone();a.jh()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var kKc=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},mKc=function(a,b){return lKc(a[b])+(lKc(a[b+1])<<8)+(lKc(a[b+2])<<16)+(lKc(a[b+3])<<24)},lKc=function(a){return 127<a?a-256:a};
var lL=function(a,b,c,d,e,f){kL.call(this,a,b,c,d);var h=this;this.Ta=_.Zh();this.vt=new fM;this.W=null;this.O=_.Zh();this.Ha=new _.ai;this.S5=null;this.cfa=new eyc;this.V=null;this.$a=_.Zh();this.ta=new _.ai;this.RF=new Kyc;this.Cz=new myc;this.Jga=new Pwc;this.N$=new _.En;this.Ka=!1;this.bfa=new _.En;this.H={};this.ka=null;this.Ib=new _.Ne;this.Ma(this.Ib);this.Oj=e?e:new Owc(this.Rf());this.vk().W.O=this.Oj;this.IL=_.S(_.oL(b),9,!1)&&Mpc()?nKc(this,b):null;this.xv=new zvc(nL(_.AI(b)));this.zD=
oKc(this,this.IL);this.vQ=pKc(this,this.IL,b);this.Ns=qKc(this);this.wf=new SM(this,this.Kg);(a=(a=_.B(this.Mc,_.el,12))&&a.getId())&&this.Eu(a,6);this.UP=new aEc(this.Mc,this.wf.sq,this.Oj,this.Rf(),this.Ns);this.EZ=new gEc(this.Rf(),this.Oj,this.Ns);this.kE=new hKc(this.Rf(),this.Oj,this.Ns);this.wI=new dwc(this.Qm(),this.Rf(),function(k){return void h.mJ(k)});this.kz=_.S(this.Mc.eg(),52,!1)?new _.KK(this.tk(),this.Qm(),this.Rf(),this.vk()):null;ZL(this.Oj,["mrK8ic"],function(){h.$a.promise.then(function(){MEc(h,
h.V)})});this.QLa=new Gyc(this.Mc);this.XA=new _.qlc(this.Mc,this.wf.rm);this.dsa=new HGc(this);this.R5=new iyc(this.O.promise,this.Qm());this.kb=new kyc(this.Qm(),this.R5);this.dfa=new Cyc(this.O.promise,this.Qm(),this.Rf(),this.Mc);this.Qa=new NJc(this.Mc,this.wf,this.mJ.bind(this),this.R5,this.kb,this.Ns,this.cfa,this.Kg,this.Zn.bind(this),this.dsa,this.EZ,this.kE,this.dfa,this.RF,this.Rf(),this.QLa,this.XA,this.wI,this.kz,this.Jj(),this.Kob.bind(this),this.vk(),f);this.Ta.resolve(this.Qa);this.RIa=
new rGc(this);ZL(this.Oj,["BNEDtc"],function(){return h.bfa.resolve()});bKc(this,function(){h.Ns.iS();return _.Wh()})};_.K(lL,kL);
var nKc=function(a,b){var c=_.lK(_.AI(b)),d=_.mK(b),e=function(){},f=_.Qj(_.oL(b),mL,11);f=f[0]&&_.y(f[0],1);var h=new vzc(c,d,_.Vj(_.oL(b),10,0)||0,f||"",_.tK(a.Kg));_.nK(b)?c=Qzc(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.Vj(_.oL(b),8,432E6)?(b=rKc(a,c),c=Qzc(c,d,b).then(function(l){return l&&(e=function(p){return p.Ml(h).Gg(function(){return null})},!l.ha)?l:h})):c=_.Wh(h);var k=new nM(c,a.Rf(),a.vk());k.initialize().then(function(){return e(k)},function(){return null});return k},rKc=
function(a,b){var c=_.Vj(_.oL(a.Mc),8,432E6);if(!_.nK(a.Mc)&&0<c){a=Math;var d=a.abs;b=_.yma(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+=mKc(b,e),h.b+=mKc(b,e+4),h.c+=mKc(b,e+8),kKc(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+=mKc(b,e+4);h.a+=mKc(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+=mKc(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=kKc(h);return d.call(a,b)%c}};lL.prototype.Xy=function(a){var b=this;return this.IL?this.IL.Sf()?_.Xh(Error("zg`"+Czc(this.IL))):cAc(this.zD).then(function(c){var d=b.IL,e=[];e.push(b.Ns.aWa());e.push(a?d.Ml():Mzc(d));if(a===c)return _.Yh(e).then(function(){return!1});!1===a&&(e.push(Bzc(d)),(c=b.Zn())&&e.push(b.zD.Eu(c)));return _.Yh(e).then(function(){return b.zD.Xy(a)},function(){return!1})}):_.Xh(Error("Ag"))};
var pKc=function(a,b,c){var d=null;b&&(d=new Uyc(b,c,function(e){a.mJ(e)},a.vk()),d.initialize());return d},oKc=function(a,b){var c=new bAc(b||void 0);c.Zn().then(function(d){d&&a.Eu(d,5)});b&&(cAc(c).then(function(d){a.Jj().Xy(d)}),_.Yh([b.initialize(),a.tX.promise]).then(function(){sKc(a,c)},function(){}));return c},sKc=function(a,b){fAc(b).then(function(c){(!c||c<Date.now()-864E5)&&Tzc(_.lK(_.AI(a.Mc)),_.mK(a.Mc),a.Rf()).then(function(d){d&&(d=Date.now(),b.set($zc,d))},function(){})})},qKc=function(a){if(!a.vQ)return new ZJc;
var b=new OJc(a,a.Kg);a.Ib.listen(a.Jj(),"Fb",function(c){return void b.setActive(!c.Ue())});a.Ib.listen(a.tk(),[].concat(_.nd(Object.values(_.EB))),function(){return void b.setActive(a.tk().isConnected())});return b};lL.prototype.cY=function(a){this.S5=a;this.Ha.callback(a)};var OM=function(a){return a.Ha.Ym()},RDc=function(a){return a.IL?a.IL.Sf():null},tKc=function(a,b){a.Oj.H("NSockf")?$L(a.Oj,b):ZL(a.Oj,["NSockf"],function(){$L(a.Oj,b)})};
lL.prototype.R3a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.vt.Eu(a),this.tm.Eu(a),6!==b&&1!==b||this.zD.Eu(a),tKc(this,"jroI5d"))};lL.prototype.aVa=function(){return this.ta.Ym()};var MEc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.ta.hg()||(a.ta.callback(b),tKc(a,"T8oKm")))},lEc=function(a){if(!a.W)throw Error("Bg");return a.W};_.g=lL.prototype;_.g.bR=function(){return this.Qa};_.g.Qm=function(){return this.Ta.promise.then(function(a){return a.coa.promise})};
_.g.oDa=function(){this.Ka||(this.Ka=!0,this.N$.resolve(),$L(this.Oj,"aU7Ts"))};_.g.IB=function(){throw Error("Cg");};_.g.Kob=function(a){this.dispatchEvent(a)};var uKc=function(a,b){YFc(a.wf,b)},vKc=function(a,b,c){a.H[b]=c},KDc=function(a){a.ka||(a.ka=new syc(a.O.promise,a.Qm(),a.Rf()));return a.ka};
var WM=function(a,b,c){_.zi.call(this);var d=this;this.Fa=a;this.rb=b;this.va=_.Zh();this.Ba=this.channel=this.clientId=null;c.then(function(e){return wKc(d,e)})};_.K(WM,_.zi);var wKc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;SL(a.channel,a.Fa,function(c){c=Yvc(c);a.v$(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.va.resolve()};WM.prototype.v$=function(){};
WM.prototype.send=function(a,b,c,d){var e=this,f=_.Zh();this.va.promise.then(function(){var h=e.channel;TL(h,e.Fa,Uvc(new Tvc(e.clientId,a,b,d),h.W),function(k){return void xKc(k,a,f,c||function(){})})});return f.promise};var xKc=function(a,b,c,d){a=Yvc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.oc,_.LI(d,2),_.MI(d,6),_.w(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.qc(void 0,d)))};WM.prototype.log=function(a){this.Ba&&this.Ba.info(this.rb,a)};
var yKc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var XM=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ka=this.LU()};_.K(XM,_.N);XM.prototype.registerService=function(a){var b=this;SL(a,this.V,function(c){return b.Fw(c)})};
XM.prototype.Fw=function(a){var b=this;a=Vvc(a);var c=a.H,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof Wvc)return Xvc(f,c);if(f.then)return f.then(function(h){return Xvc(h,c)},function(h){h=_.NI(h);return Xvc(b.jd(void 0,h),c)})}catch(h){e=_.aJ(h)}f=new _.oc;_.LI(f,2);_.MI(f,3);_.gq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.w(f,20,e.stack);return Xvc(this.jd(void 0,f),c)};
XM.prototype.jd=function(a,b,c){if(a&&!b)return new Wvc(a,void 0,c);a=_.NI(b);return new Wvc(void 0,a,c)};XM.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&TL(a,this.V,Xvc(this.jd(c,d,b),a.W))};
var zKc=function(){this.channels={};this.H=this.O=this.V=0},AKc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Pa(a.channels));return c},BKc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var CKc=function(a,b){XM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.wf;this.O=this.context.dfa;this.W=KDc(this.context);this.ka=this.context.R5};_.K(CKc,XM);
CKc.prototype.LU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.hf);return a.ki(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.uI);return a.ki(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.yA);return a.ki(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.qG);return a.ki(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=jL(c.args[0],!!c.H,_.hf);return a.fk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.uI);return a.fk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.yA);return a.fk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.qG);return a.fk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=jL(c.args[0],!!c.H,_.yA);c=jL(c.args[1],!!c.H,_.yA);return a.PY(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=jL(c.args[0],!!c.H,_.qG);c=jL(c.args[1],!!c.H,_.qG);return a.PY(d,e,c)},b["4.7"]=function(c){return a.HF(c)},b["4.8"]=function(c){return a.HF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.fA);return a.ki(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.sG);return a.ki(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.fA);return a.fk(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=jL(c.args[0],!!c.H,_.sG);return a.fk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.AG);return a.ki(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.AG);return a.fk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.dA);return a.ki(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.dA);return a.fk(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.dA){var d=a.W;cyc(d,d.getKey(c)).refresh()}return a.jd([])},b};CKc.prototype.ki=function(a,b){var c=this,d=new _.En;this.H[a]={query:b,qSb:d.promise};b instanceof _.fA?d.resolve(this.O.ki(a,b)):b instanceof _.sG?d.resolve(ayc(this.O,a,b)):b instanceof _.dA?d.resolve(this.W.ki(a,b)):b instanceof _.AG?d.resolve(this.ka.ki(a,b)):d.resolve(this.ha.ki(a,b));return d.promise.then(function(){return c.jd([])})};CKc.prototype.fk=function(a,b){DKc(this,a,b);return this.jd([])};
var DKc=function(a,b,c){delete a.H[b];c instanceof _.fA?a.O.fk(b,c):c instanceof _.sG?byc(a.O,b,c):c instanceof _.dA?a.W.fk(b,c):c instanceof _.AG?a.ka.fk(b,c):a.ha.fk(b,c)};_.g=CKc.prototype;_.g.PY=function(a,b,c){DKc(this,a,b);return this.ki(a,c)};_.g.HF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.ui(a.args[0]);c instanceof _.fA?this.O.ki(b,c):c instanceof _.sG?ayc(this.O,b,c):c instanceof _.dA?this.W.ki(b,c):c instanceof _.AG?this.ka.ki(b,c):this.ha.ki(b,c);return this.jd([])};
_.g.oO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Vg(a[0]),f=a[1];d.qSb.then(function(h){b instanceof _.IK||b instanceof _.FK?c.update(e,f,[b.response,b.pageToken,b.H,b.Ke,h]):(d.query instanceof _.hf?koc(d.query.O(),b.wd().filter(function(k){return!PL(k)})):d.query instanceof _.yA&&koc(d.query.O(),Object.values(b.eq()).filter(function(k){return k&&!PL(k)})),c.update(e,f,[b,h]))})}};
_.g.DX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Vg(c[0]);c=c[1];var d=b.error;d.Zea(b.H);this.update(a,c,void 0,d)}};_.g.sA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Vg(a[0]),a[1],["cacheRefresh"]))};_.g.O8=function(){};_.g.gka=function(a){if(!this.H[a])throw Error("dg`"+a);return this.H[a].query};var EKc=function(a,b){_.La(a.H,function(c,d){_.Vg(d.split(":")[0])===b&&DKc(a,d,c.query)})};
var FKc=function(a,b,c){WM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.K(FKc,WM);FKc.prototype.Dwa=function(a){var b=this;a=new wDc(this.context.tm,this.context.cQ,this.context.Rf(),this.context.Mc,function(c,d){return b.HF(c,d)},a,this.context.vk());GKc(this,a);return a};FKc.prototype.Gwa=function(a){var b=this;a=new ADc(this.context.tm,this.context.cQ,this.context.Rf(),function(c,d){return b.HF(c,d)},a,this.context.Mc);GKc(this,a);return a};
var GKc=function(a,b){a.ki(b);_.Fe(b,function(){a.fk(b);a.send("4.3",[b.qd()],void 0,b.Ai())});a.send("4.1",[b.qd()],void 0,b.Ai())};_.g=FKc.prototype;_.g.Awa=function(a){var b=this,c=new yL(this.context.Mc,this.context.tm,this.context.Rf(),this.context.DZ,this.PY.bind(this),a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.4",[c.qd()],void 0,c.Ai())});this.send("4.2",[c.qd()],void 0,c.Ai());return c};
_.g.Jwa=function(a){var b=this,c=new EDc(a,this,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.11",[c.qd()],void 0,c.Ai())});this.send("4.9",[c.qd()],void 0,c.Ai());return c};_.g.Kwa=function(a){var b=this,c=new FDc(this.context,this,a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.12",[c.qd()],void 0,c.Ai())});this.send("4.10",[c.qd()],void 0,c.Ai());return c};
_.g.Nwa=function(a){var b=this,c=new IDc(this.context,a,this);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.15",[c.qd()],void 0,c.Ai())});this.send("4.13",[c.qd()],void 0,c.Ai());return c};_.g.Owa=function(a){var b=this,c=new zDc(this.context,a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.16",[c.qd()],void 0,c.Ai())});this.send("4.14",[c.qd()],void 0,c.Ai());return c};
_.g.Hwa=function(a){var b=this,c=new DDc(this.context,a,function(){b.send("4.21",[],void 0,c.Ai())});this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.23",[c.qd()],void 0,c.Ai())});this.send("4.22",[c.qd()],void 0,c.Ai());return c};_.g.wwa=function(a){var b=this,c=new uDc(this.context.Jj(),this.context.tk(),this.context.Rf(),function(d,e){return b.HF(d,e)},a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.19",[c.qd()],void 0,c.Ai())});this.send("4.18",[c.qd()],void 0,c.Ai());return c};
_.g.ki=function(a){this.H.create(a.Ai(),a.qd());this.O[a.Ai()]=a};_.g.fk=function(a){UL(this.H,a.Ai(),4);delete this.O[a.Ai()]};_.g.PY=function(a,b,c){if(b instanceof _.yA&&c instanceof _.yA)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.qG&&c instanceof _.qG)this.send("4.6",[b,c],void 0,a);else throw Error("Dg");};
_.g.HF=function(a,b){if(!this.O[a])throw Error("dg`"+a);var c=this.O[a];if(c.qd()instanceof _.hf)var d="4.7";else if(c.qd()instanceof _.uI)d="4.8";else if(c.qd()instanceof _.AG)d="4.20";else if(c.qd()instanceof _.fA)d="4.17";else throw Error("Eg");c.qd().ui(b);this.send(d,[b],void 0,a)};
_.g.v$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new vL(d,d.K6()),a.CB(b),UL(this.H,a.Ai(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.dW();return}var h=a.qd();if(h instanceof _.hf||h instanceof _.uI)h instanceof _.hf&&_.zJ(h)?e=jL(d,b,_.CK):e=jL(d,b,_.rB);else if(h instanceof _.yA||h instanceof _.qG)b?(e=new _.BK,htc(e,function(k){return new _.el(JSON.parse(k))},d)):e=d;else if(h instanceof _.AG)e=new _.FK(jL(d,b,GL),c[f++],c[f++],c[f++]);else if(h instanceof _.fA)e=new _.IK(jL(d,
b,XL),c[f++],c[f++],c[f++]);else if(h instanceof _.sG)e=jL(d,b,_.DK);else if(h instanceof _.dA)e=jL(d,b,JL);else throw Error("Fg");}e&&(b=f,c&&"boolean"===typeof c[b]&&mwc(this.H,a.Ai(),!!c[b]),pwc(this.H,a.Ai(),e),a.update(e))}};
var YM=function(){_.zi.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.np=!1};_.K(YM,_.zi);YM.prototype.initialize=function(){this.np||(this.np=!0,this.V(),this.setActive(!0))};YM.prototype.V=function(){};YM.prototype.setActive=function(a){this.active=a;HKc(this)};var HKc=function(a){if(a.active&&!a.ha){var b=_.pl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.pl(a.commands))}else a.ha=!0,_.$h(a.Ba(b),function(){a.ha=!1;HKc(a)})}};YM.prototype.ka=function(){};
YM.prototype.Ba=function(){};YM.prototype.va=function(){return!0};YM.prototype.enqueue=function(a){try{var b=new _.ai;this.commands.enqueue(new IKc(a,b));HKc(this);return b}catch(c){return _.ji(_.aJ(c))}};var IKc=function(a,b){this.H=a;this.If=b};IKc.prototype.getCommand=function(){return this.H};IKc.prototype.BG=function(){return this.If};
var LKc=function(a){YM.call(this);var b=this;this.context=a;this.O=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context,"VMiG2e",function(){return void JKc(b)});this.H=this.context.wf.sq;_.FI(this.context.Mc)&&this.Sc.listen(this.H,"Kb",this.W);var c=a.Oj;ZL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Dj(a.Mc.eg(),17,1)&&(d.push("iuEtc"),ZL(c,["mrK8ic"],function(){$L(c,"iuEtc")}));ZL(c,d,function(){KKc(b)})};_.K(LKc,YM);LKc.prototype.V=function(){MKc(this)};
var KKc=function(a){if(1===a.context.UP.kf().Bb())Promise.resolve();else{var b=_.xf(_.yf(new _.wf,!0),301);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(c){c=_.NI(c);_.w(c,21,"Initial account request failed.");a.context.mJ(c)})}},JKc=function(a){var b=_.xf(new _.wf,304);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(){})};
LKc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.$h(this.context.Qm().then(function(d){return d.Re(a,b)}).then(function(d){var e=d.kf(),f=e.getUser();if(f&&!1===_.Lk(f))d=_.OI(_.AI(c.context.Mc)),d=Error("Gg`"+d+"`"+bL(f)),_.zb(d),_.JK(c.context.vk(),73301807),d=Promise.reject(d);else{f=c.context.UP;var h=0===f.Ze()?1:6;_.FI(c.context.Mc)&&Fxc(c.H,e);h=cEc(f,e,h);(e=e.getMetadata())&&c.context.Eu(_.y(e,2),1);(d=_.y(d,4))&&MEc(c.context,d,!0);h&&c.dispatchEvent(new _.ri("WPi0i"));d=
Promise.resolve(new _.HK(f.kf(),f.Ze(),!1))}return d}).then(function(d){return d},function(d){d=_.NI(d);_.w(d,5,1);return Promise.reject(new _.qc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
LKc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.GD&&(c.GD=b.GD);this.refresh(b.request,c).then(function(e){return a.BG().callback(e)},function(e){return void a.BG().Id(e)})}else if(b=this.context.UP,c=b.kf(),_.FI(this.context.Mc)){c=c.kf();var d=c.getUser();d=Kxc(this.H,bL(d));Fxc(this.H,c);cEc(b,c,b.Ze())&&this.dispatchEvent(new _.ri("WPi0i"));a.BG().callback(new _.HK(b.kf(),b.Ze(),d))}else c.Bb(),b=new _.HK(c,b.Ze(),!0),a.BG().callback(b)};
var MKc=function(a){var b=a.context.Mc.eg();_.n.setTimeout(function(){var c=_.xf(new _.wf,306);c=_.CI(new _.BI,c);a.refresh(c).then(function(){MKc(a)},function(){MKc(a)})},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,3,72E5))};LKc.prototype.W=function(a){var b=this.context.UP,c=b.kf().kf();c&&a.getPeople().find(function(d){return _.y(d,1)===bL(c.getUser())})&&(Fxc(this.H,c),cEc(b,c,b.Ze())&&this.dispatchEvent(new _.ri("WPi0i")))};var NKc=function(a,b,c){this.request=a;this.H=!!b;this.GD=c||null};
var PKc=function(a){YM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.EZ,"Qb",_.Db(this.dispatchEvent,new _.ri("Qb",this)));OKc(this)};_.K(PKc,YM);
var OKc=function(a){var b=a.context.Oj;ZL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.nK(a.context.Mc)){var c=_.Dj(a.context.Mc.eg(),18,1);ZL(b,["NSockf"],function(){1===c?QKc(a):a.setActive(!0)});2===c&&ZL(b,["mrK8ic"],function(){a.W||QKc(a)})}},QKc=function(a){var b=new _.wf;_.yf(b,!0);_.xf(b,301);var c=new _.CJ;_.zsc(c,b);_.w(c,1,1);a.refresh(c).Gg(function(){return null})};
PKc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Zh();this.O=d.promise;_.$h(this.O,function(){c.O=null;RKc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.CJ;_.w(h,1,this.H);_.zsc(h,a.ve());this.context.Qm().then(function(k){return k.Re(h,b)}).then(function(k){c.error=null;var l=c.context.EZ;l.dQ(k,l.QG()?6:1);d.resolve()},function(k){c.H=e;k=_.DB(k);var l=k.Qg;_.w(l,5,2);f?(_.LI(l,1),k.message="Initial app settings refresh failed.",
_.w(k.Qg,21,"Initial app settings refresh failed."),c.context.mJ(l),c.setActive(!0)):(_.LI(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Qg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};PKc.prototype.va=function(){return!1};
PKc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Via,f=c.GD?{GD:c.GD}:void 0;if(!SKc(d))return this.context.Qm().then(function(l){return l.Re(d,f)}).then(function(l){a.BG().callback(new _.EK(l,1,!1))},function(l){a.BG().Id(_.aJ(l))}),_.Wh();c=_.Wh();var h=!1;this.O?TKc(this,d.getType())?e=this.O:c=e=new _.Vh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&TKc(this,d.getType())&&!this.error?(h=!0,e=_.Wh()):e=this.refresh(d,f);
var k=a.BG();e.then(function(){var l=b.context.EZ;k.callback(new _.EK(l.yr(),l.Ze(),h))},function(l){k.Id(l)});return c.then()};
var SKc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Td(a,4),a=_.Td(a,3),!(b&&b.length)&&!(a&&a.length)):!1},TKc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},RKc=function(a){var b=a.context.Mc.eg(),c=new _.wf;_.xf(c,306);var d=new _.CJ;_.w(d,1,1);_.zsc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,4,72E5))},UKc=function(a,b,c){this.request=a;this.Via=!!b;this.GD=c||null};
var WKc=function(a){YM.call(this);var b=this;this.context=a;this.error=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.kE,"WPi0i",function(){return b.dispatchEvent(new _.ri("WPi0i"))});this.H=_.Zh();this.O=_.Td(this.context.Mc.eg(),30);VKc(this)};_.K(WKc,YM);
var VKc=function(a){var b=a.context.Oj;ZL(b,["rkYxSd"],function(){return a.initialize()});ZL(b,["px2C2c"],function(){a.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Dj(a.context.Mc.eg(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&ZL(b,["mrK8ic"],function(){$L(b,"OZvrNc")}));!_.S(a.context.Mc,11,!1)&&_.S(a.context.Mc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Qj(RJc(a.context.kE),_.np,1).length||(b.H("NSockf")?
$L(b,"DEJoH"):ZL(b,["NSockf"],function(){$L(b,"DEJoH")}))},12E3));ZL(b,c,function(){if(!b.H("px2C2c")){var e=new _.wf;_.yf(e,!0);_.xf(e,301);var f=new _.JD;_.I(f,1,e);qpc(f,XKc(a));a.query(f).Gg(function(){a.initialize()})}})};WKc.prototype.V=function(){var a="User prefs detected: "+_.Qj(RJc(this.context.kE),_.np,1).length;this.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager",a);YKc(this)};
WKc.prototype.query=function(a,b){var c=this,d=b?{GD:b}:void 0;return this.context.Qm().then(function(e){return e.Re(a,d)}).then(function(e){c.error=null;var f=c.context.kE;f.dQ(_.Qj(e,_.np,3),f.QG()?6:1,_.Td(a,3))}).then(null,function(e){e=_.DB(e);_.w(e.Qg,5,4);0<c.commands.$b()||c.context.mJ(e.Qg);c.error=e;throw e;})};
WKc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.BG(),e=new Set([].concat(_.nd(this.context.kE.IF.keys()))),f=_.Td(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Via=!0);this.error?d.Id(this.error):c.Via?(qpc(c.request,XKc(this,f)),_.$h(this.H?this.H.promise:this.query(c.request,c.GD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var XKc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.kE.IF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
WKc.prototype.getData=function(a,b,c){b=this.context.kE.KG(b);a.callback(new _.GK(b.H,b.Ke,c))};var YKc=function(a){var b=a.context.Mc.eg();_.n.setTimeout(function(){var c=new _.JD,d=new _.wf;_.xf(d,306);_.I(c,1,d);qpc(c,XKc(a));_.$h(a.query(c).Gg(_.Of),function(){YKc(a)})},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,5,72E5))},ZKc=function(a,b,c){this.request=a;this.Via=!!b;this.GD=c||null};
var $Kc=function(a,b,c,d){XM.call(this,"IS",b);this.context=a;this.Sc=new _.Ne(this);this.Ba=_.Zh();this.O=null;this.ha=!1;this.W=null;this.Fa=new QDc(a);ppc(this.Fa);this.Ma(this.Sc);this.ka=new LKc(a);this.Ma(this.ka);this.Sc.listen(this.ka,"WPi0i",function(){return c(new qDc(1))});this.ma=new PKc(a);this.Ma(this.ma);this.Sc.listen(this.ma,"Qb",function(){return c(new qDc(2))});this.ta=new WKc(a);this.Ma(this.ta);this.Sc.listen(this.ta,"WPi0i",function(){return c(new qDc(4))});this.Ha=d;this.H=
this.context.Qm()};_.K($Kc,XM);_.g=$Kc.prototype;
_.g.LU=function(){var a={};return a["3.43"]=this.o_.bind(this),a["3.42"]=this.v7.bind(this),a["3.1"]=this.qN.bind(this),a["3.2"]=this.KG.bind(this),a["3.3"]=this.ld.bind(this),a["3.35"]=this.RN.bind(this),a["3.4"]=this.Bz.bind(this),a["3.5"]=this.yr.bind(this),a["3.6"]=this.YR.bind(this),a["3.8"]=this.Ml.bind(this),a["3.36"]=this.Xy.bind(this),a["3.9"]=this.mF.bind(this),a["3.10"]=this.xr.bind(this),a["3.11"]=this.S$.bind(this),a["3.12"]=this.f8.bind(this),a["3.13"]=this.aT.bind(this),a["3.14"]=this.Q$.bind(this),
a["3.15"]=this.h8.bind(this),a["3.16"]=this.lu.bind(this),a["3.17"]=this.ICb.bind(this),a["3.18"]=this.MCb.bind(this),a["3.19"]=this.iQ.bind(this),a["3.20"]=this.KCb.bind(this),a["3.25"]=this.JCb.bind(this),a["3.22"]=this.g8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.tna.bind(this),a["3.29"]=this.Swb.bind(this),a["3.40"]=this.OCb.bind(this),a["3.33"]=this.PCb.bind(this),a["3.39"]=this.ZO.bind(this),a["3.37"]=this.NCb.bind(this),a["3.38"]=this.O9a.bind(this),a["3.41"]=this.$R.bind(this),
a["3.44"]=this.U_.bind(this),a["3.45"]=this.Po.bind(this),a["3.46"]=this.A7.bind(this),a};_.g.qN=function(a){var b=this,c=jL(a.args[0],!!a.H,_.BI);a=new NKc(c,a.args[1],this.context.H[a.clientId]);$L(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.G_])},function(d){return b.jd(void 0,d)})};
_.g.KG=function(a){var b=this,c=jL(a.args[0],!!a.H,_.JD);a=new ZKc(c,a.args[1],this.context.H[a.clientId]);$L(this.context.Oj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.G_])},function(d){return b.jd(void 0,d)})};
_.g.ld=function(a){var b=this,c=jL(a.args[0],!!a.H,Woc),d=_.B(c,_.dJ,16)||_.B(c,_.eJ,1)||_.B(c,_.fJ,2)||_.B(c,_.iJ,3)||_.B(c,_.LK,4)||_.B(c,_.gJ,5)||_.B(c,_.mJ,6)||_.B(c,_.oJ,7)||_.B(c,_.pJ,8)||_.B(c,_.sJ,9)||_.B(c,_.FJ,18)||_.B(c,_.JJ,10)||_.B(c,_.KJ,11)||_.B(c,_.LJ,12)||_.B(c,_.QI,13)||_.B(c,_.OJ,14)||_.B(c,_.PJ,15)||_.B(c,_.hL,17),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.RN=function(a){var b=this,c=jL(a.args[0],!!a.H,epc),d=_.B(c,_.jJ,1)||_.B(c,_.qJ,2)||_.B(c,_.QJ,3),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.Bz=function(a){var b=this,c=jL(a.args[0],!!a.H,Zoc),d=ZM(this,a),e=[],f=[];apc(c).forEach(function(h){h instanceof _.dJ?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Re(h,d)}))});a=_.mI(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.$h(a,function(){return void pGc(b.context.wf)});return a.then(function(h){return b.jd([new Loc(e,h)])})};
_.g.yr=function(a){var b=this,c=jL(a.args[0],!!a.H,_.CJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=ZM(this,a);a=this.H.then(function(f){return f.Re(c,e)}).then(function(f){return new _.EK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.EK(f.response,f.Ke,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new UKc(c,d,this.context.H[a.clientId]),$L(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.jd([f.response,f.Ke,f.G_])},function(f){return b.jd(void 0,
f)})};_.g.YR=function(a){var b=this,c=jL(a.args[0],!!a.H,bpc),d=_.B(c,_.KD,1)||_.B(c,_.LD,2),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};_.g.Ml=function(a){a=a.args[0];if(this.context.kz)a?_.klc(this.context.kz,!0):this.context.tk().Ue()&&this.context.kz.oM(!0).then(null,function(){});else try{this.context.Jj().Ml(a)}catch(b){return this.jd(void 0,b)}return this.jd([])};
_.g.Xy=function(a){var b=this,c=a.args[0];return this.context.Xy(c).then(function(d){return d?(b.context.Jj().Xy(c),b.Ha(c),b.context.Ns.lL().Gg(function(){return!c})):_.Wh(!c)}).then(function(d){return b.jd([d])},function(d){return b.jd(void 0,d)})};_.g.sync=function(){var a=this;return _.Yh([this.context.N$.promise,this.context.bfa.promise]).then(function(){return a.context.Ns.lL()}).then(function(){return a.jd([])},function(b){return a.jd(void 0,b)})};
_.g.mF=function(){try{var a=this.context.S5;a&&a.Xna();this.context.Jga.mF();return this.jd([])}catch(b){return this.jd(void 0,b)}};_.g.$R=function(){this.context.$R();return this.jd([])};_.g.xr=function(a){var b=this,c=jL(a.args[0],!!a.H,_.vJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.S$=function(a){var b=this,c=jL(a.args[0],!!a.H,_.wJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.f8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.kJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.aT=function(a){var b=this,c=jL(a.args[0],!!a.H,_.MJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.Q$=function(a){var b=this,c=jL(a.args[0],!!a.H,_.xJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return _.FI(b.context.Mc)?Jxc(b.context.wf.sq,[_.B(e,_.Kk,2)],c.Cc()).then(function(){return e}):e}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.h8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.nJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.lu=function(a){var b=this,c=jL(a.args[0],!!a.H,_.EJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.FI(b.context.Mc)?Hxc(b.context.wf.sq,f):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.ICb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.YCc),d=new _.Bhc(c,a.args[1],a.args[2]||void 0),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.MCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.DJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.FI(b.context.Mc)?Jxc(b.context.wf.sq,_.Qj(f.jd(),_.Kk,2),c.qd().getId()).then(function(){return f}):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.iQ=function(){var a=this;return(_.S(this.context.Mc.eg(),52,!1)?_.Wh(cwc(new bwc,0)):this.context.wI.iQ()).then(function(b){return a.jd([b])},function(b){return a.jd(void 0,b)})};
_.g.KCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.Ahc),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.JCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.BJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.g8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.lJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.tna=function(a){var b=this,c=jL(a.args[0],!!a.H,_.jI),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e,null])},function(e){return b.jd([null,_.NI(e)])})};_.g.Swb=function(){return this.jd([!0])};
_.g.OCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.pG),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.PCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.dA),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.o_=function(a){a=jL(a.args[0],!!a.H,_.hf);FFc(this.context.wf,[a]);return this.jd([])};
_.g.v7=function(a){var b=this,c=jL(a.args[0],!!a.H,_.hJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.ZO=function(a){var b=this,c=jL(a.args[0],!!a.H,_.EM),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return Uxc(c,e)}).then(function(e){return b.jd(e)},function(e){return b.jd(void 0,e)})};
_.g.NCb=function(a){var b=this,c=new _.Ihc(jL(a.args[0],!!a.H,_.MWb),a.args[1]),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e.response,e.pageToken])},function(e){return b.jd(void 0,e)})};_.g.O9a=function(a){var b=this,c=jL(a.args[0],!!a.H,_.oG),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.U_=function(a){var b=this,c=jL(a.args[0],!!a.H,_.yK),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.Po=function(a){var b=a.args.map(function(c){return jL(c,!!a.H,_.JI)});this.context.wf.Po(b);pGc(this.context.wf);return this.jd([])};_.g.A7=function(){var a=this,b=this.context.kz;return(b?b.oM():_.Wh(_.Ukc(0))).then(function(c){return a.jd([c])},function(c){return a.jd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Zh();this.context.Rf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Mc.Wi());this.Sc.listen(this.context,_.Bc,function(e){e=e.error;var f=e.Qg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):Asc(a.context.Rf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.nK(this.context.Mc)&&c.push("BNEDtc");ZL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});ZL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){OM(a.context).then(function(e){return void e.start()})};ZL(b,["T8oKm","ZA9qG"],function(){return void d()});ZL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();$L(b,"NSockf")}return this.O.promise};_.g.iba=function(){return this.Ba.promise};_.g.Gu=function(){var a=this.context.S5;a&&a.dispose();return this.context.Gu()};
var ZM=function(a,b){return(a=a.context.H[b.clientId])?{GD:a}:{}};
var aLc=function(a,b,c){XM.call(this,"DU",b);this.context=a;this.O=c;this.H=new QDc(a)};_.K(aLc,XM);_.g=aLc.prototype;
_.g.LU=function(){var a=this,b={};return b["5.1"]=function(){return a.zha()},b["5.2"]=function(c){return a.KM(c)},b["5.4"]=function(c){return a.Oz(c)},b["5.5"]=function(){return a.cR()},b["5.10"]=function(){return a.lN()},b["5.6"]=function(){return a.Xca()},b["5.7"]=function(){return a.OS()},b["5.9"]=function(c){return a.ypa(c)},b["5.8"]=function(c){return a.N4(c)},b["5.11"]=function(){return a.Voa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Ml(c)},b};
_.g.zha=function(){var a=this;this.context.Ns.iS();var b=this.context.Mc;return Uzc(_.lK(_.AI(b)),_.mK(b),this.context.Rf()).Gg(function(){}).then(function(){return a.jd([])})};_.g.KM=function(a){a=this.context.wf.rm.H(a.args[0]);return this.jd([a])};_.g.Oz=function(a){var b=this;return this.context.XA.Oz(a.args[0]).then(function(c){return b.jd([c])})};_.g.cR=function(){return this.jd(this.context.XA.cR())};
_.g.N4=function(a){var b=this,c=jL(a.args[0],!!a.H,_.bgc),d=a.args[1],e=a.args[2];if(_.B(c,_.GI,3)||_.B(c,_.VJ,4)||_.B(c,_.LK,5)||_.B(c,_.PJ,6)||_.B(c,_.pJ,7)||_.B(c,_.iJ,8)||_.B(c,_.mJ,9)||_.B(c,_.QI,10)){var f=jwc(c);return this.context.Qm().then(function(h){return h.Re(f,{V5a:d,W5a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.MK){k=h.jd().wd();var p=_.y(h,2);l=h.Xn()}else if(h instanceof _.XJ)h.getItem()&&k.push(h.getItem()),p=h.UM();else{h=b.jd(void 0,Error("fg"));break a}h=b.jd([p,
l].concat(_.nd(k)))}return h},function(h){return b.jd(void 0,h)})}return _.Wh(this.jd(void 0,Error("eg")))};_.g.ypa=function(){var a=this.context.Mc,b=a.eg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a);return this.jd([])};_.g.Xca=function(){this.context.RF.H=new Jyc(_.Ug().substring(0,8));return this.jd([])};_.g.OS=function(){var a=this.context.RF.lN();if(a){var b=Lyc(this.context.RF);a=[a.H,a.startTime].concat(_.nd(b))}else a=[];b=this.context.RF;b.H=null;b.wY=[];return this.jd(a)};
_.g.lN=function(){var a=this.context.RF.lN();return this.jd(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.jd([b])})};_.g.Voa=function(){var a=[this.O.Gu(),_.Ei(3E4)];_.$h(_.Sja(a),function(){_.n.setTimeout(function(){self.close()})});return this.jd([])};_.g.Ml=function(a){this.H.Ml(a.args[0]);return this.jd([])};
var bLc=function(a,b,c,d,e,f,h){_.YK.call(this,a,b,c,d,f,h);this.H=e;this.Od=null};_.K(bLc,_.YK);bLc.prototype.vM=function(a,b){var c=this;return _.ii(this.H.then(function(d){return d.i2a(aoc(c.O,c.va,a,b,c.kj,c.ha))},null))};bLc.prototype.ma=function(a,b){var c=this.qd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Oz();e&&(d=_.y(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.wlc(a,b,d))}};
var cLc=function(a,b,c,d,e,f,h,k){XM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Od=h;this.H={};this.O={};this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K(cLc,XM);_.g=cLc.prototype;
_.g.LU=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.hG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.vM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.jd([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.jd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=jL(a.args[0],!!a.H,_.iJ),e=a.args[1];if(!this.H[c]){var f=new bLc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Od);this.Sc.listen(f,"Lb",_.Db(this.P9a,a.clientId,a.requestId));this.Ma(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.fj(),r=_.Zh();b.O[q]=r;b.update(l,p,dLc(3,q,[h,k]));return r.promise}).then(function(h){return b.jd([h])},function(h){return b.jd(void 0,h)})};
_.g.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.jd([])};_.g.hG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].hG();return this.jd([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ia(f,function(p){k[p]=h[l++]});_.La(k,function(p,q){p.jg(function(r){b.update(a.clientId,c,dLc(0,e,[q,r]))},function(r){b.update(a.clientId,c,dLc(1,e,[q,r.Qg]))})});return this.jd([])}return this.jd(void 0,_.NI("Could not retry upload."))};
_.g.vM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=aoc(b.O,b.va,c,a,b.kj,b.ha),this.jd([hpc(c)])):this.jd(void 0,_.NI("FileUploader not found."))};_.g.P9a=function(a,b,c){this.update(a,b,dLc(2,c.requestId,[c.progress,c.totalBytes]))};var dLc=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var eLc=function(a,b){XM.call(this,"IE",b);this.O=a;this.H=new Map};_.K(eLc,XM);eLc.prototype.LU=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};
eLc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=jL(a.args[0],!!a.H,_.zhc);e=new JM(this.O,e);var f=_.Ce(e,"Pb",function(h){b.update(a.clientId,c,[h.zOa,h.Dta])});_.Fe(e,function(){_.xi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.jd([h])},function(h){return b.jd(void 0,h)})};eLc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.jd([])};
var fLc=function(a,b){XM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Zh();this.O=new VDc(a,a.Kg)};_.K(fLc,XM);fLc.prototype.LU=function(){var a=this,b={};return b["6.1"]=function(c){return gLc(a,c)},b["6.2"]=function(c){return hLc(a,c)},b["6.3"]=function(){a.H&&(YDc(a.O),a.H=!1,a.W=_.Zh());return a.jd([])},b};
var gLc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return jL(d,!!b.H,_.el)});a.O.tl(c);$L(a.context.Oj,"GZTDpc");a.W.resolve()}return a.jd([])},hLc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return jL(d,!!b.H,_.JI)});XDc(a.O,c);return a.jd([])})};
var iLc=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Hg`"+b);a.services.set(b,new _.ai)})};iLc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.hg())b.callback(a);else throw Error("Ig`"+a.V);};var jLc=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)})};iLc.prototype.Ao=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.hg()})};
var kLc=function(){},lLc={0:2E3,1:3E3,2:5E3},mLc=function(a,b){this.request=a;this.ha=b;this.O=_.Zh();this.continuationToken="";this.V=0;this.EE=this.W=!1;this.H=kLc};mLc.prototype.$g=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=kLc;b.V=0;return c},function(c){b.H=kLc;b.V=0;return Promise.reject(c)})};
mLc.prototype.sendRequest=function(){var a=this;if(this.EE)this.O.resolve((new DM).Dc(8));else{var b=new _.Mhc(this.request,this.continuationToken);this.ha.then(function(c){return c.Re(b)}).then(function(c){nLc(a,c)},function(c){a.handleError(c)})}};var nLc=function(a,b){var c;a.continuationToken=null!==(c=b.Xn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},oLc(a.V++,a.ka)):a.O.resolve(b)};mLc.prototype.handleError=function(a){a=_.DB(a);this.O.reject(a)};
mLc.prototype.cancel=function(){this.EE=!0};var oLc=function(a,b){return b?b:(a=lLc[a])?a:1E4};
var pLc=function(a,b){XM.call(this,"TM",b);this.O=a;this.H=new Map};_.K(pLc,XM);pLc.prototype.LU=function(){var a=this,b={};return b["10.1"]=function(c){return qLc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var qLc=function(a,b){var c=b.clientId+":"+b.requestId,d=jL(b.args[0],!!b.H,_.yCc);d=new mLc(d,a.O);a.H.set(c,d);return _.$h(d.$g(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.jd([e])},function(e){return a.jd(void 0,e)}),function(){a.H.delete(c)})};pLc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.jd([])};
var $M=function(a,b,c){_.N.call(this);this.H=a;this.jw=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ka=_.Zh();this.W=!1;this.Ba=_.Zh();this.O=_.Zh();this.ta=null;this.va=this.Ta=!1;this.Ab=_.Zh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.az=Date.now();this.services=new iLc;this.Ib=new _.Ne(this);this.Ma(this.Ib)};_.K($M,_.N);$M.prototype.cY=function(a){this.O.promise.then(function(b){b.S5||a.fMa(b)})};
var uLc=function(a,b){var c=AKc(a.H,b),d=a.Rb.bind(a,c);SL(b,"8.1",d);b.registerService("8.1",d);SL(b,"8.4",a.Qa.bind(a,c));b.registerService("8.5",function(f){return rLc(a,c,f)});SL(b,"8.2",a.Gb.bind(a,c));SL(b,"8.3",a.Nb.bind(a,c));jLc(a.services,b);b.start();sLc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Yh([a.Ka.promise,a.Ba.promise]).then((0,_.M)(a.initialize,a)));e.push(a.ta);_.Yh(e).then(function(){return void tLc(a,c,b)},function(f){a.Ta=!0;TL(b,"2.2",{err:_.NI(f).Lc()},d)})},vLc=function(a){return Math.floor((Date.now()-
a.az)/1E3)},wLc=function(a,b,c){var d=function(e){TL(b,"2.8",{au:"nb"===e.type})};a.Ib.listen(c.wI,["nb","ob"],d);_.Fe(b,a.Ib.Yc.bind(a.Ib,c.wI,["nb","ob"],d))},xLc=function(a,b,c){var d=c.tk(),e=[].concat(_.nd(Object.values(_.EB))),f=function(h){TL(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.Fe(b,function(){a.Ib.Yc(d,e,f)})};
$M.prototype.Rb=function(a){var b=BKc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){EKc(d,a)}),b.dispose(),this.log(_.zt("Client %d disconnected (num clients remaining: %d)",a,_.Pa(this.H.channels))),0===_.Pa(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.$h(d.Gu(),c)})}};
$M.prototype.Qa=function(a,b){if(this.ha.has(a))return _.Wh();var c=new _.Xb(JSON.parse(b.dsc));_.w(c,24,!1);this.Ha||(this.Ha=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){vKc(d,a,_.C(c.eg(),37,""));uKc(d,_.Td(c,28));d.wf.ala(_.Qj(c,_.Cl,91));return d.tX.promise.then(function(){FFc(d.wf,_.Qj(c,_.hf,44))})},function(){})};
$M.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 LEc(e,e.Kg);e.$g(d);e.dispose();(e=c.H.channels[a]||null)&&TL(e,"2.16")})}};$M.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){yLc(new oFc(h),e);(h=c.H.channels[a]||null)&&TL(h,"2.17",{t:f})})}};
var yLc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.$g(c)});a.dispose()};$M.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Qa(this.H.channels)),d=c.next();!d.done;b={Sda:b.Sda,uea:b.uea},d=c.next())b.Sda=d.value,b.uea=_.Zh(),TL(b.Sda,"2.12",void 0,function(e){return function(){e.Sda.dispose();e.uea.resolve()}}(b)),a.push(b.uea.promise);return _.Yh(a).then()};
$M.prototype.initialize=function(a){var b=this;a=a[0];_.ejc(a,this.fields);var c=_.B(a,_.WI,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new lL(null,a,this.jw,c,void 0,void 0),e=d.vk().H(106E3);bKc(d,this.$a.bind(this));this.Ib.listen(d.Jj(),"Fb",function(k){k={os:k.Ue()};for(var l=_.m(_.Qa(b.H.channels)),p=l.next();!p.done;p=l.next())TL(p.value,"2.6",k)});this.Ib.listen(d,_.Bc,this.rb);this.Ib.listen(d,"w8KrJc",this.Ic);gwc(d.wI,this.ka.bind(this));var f=d.kz;f&&Psc(f,function(){return b.ka()});
this.O.resolve(d);var h=zLc(this,d,new $Kc(d,this.H,(0,_.M)(this.oc,this),(0,_.M)(this.zc,this)));e&&h.then(function(){return e&&e.yj()});return h}catch(k){return _.Xh(k)}};
var zLc=function(a,b,c){a.services.activate(c);a.services.activate(new CKc(b,a.H));a.services.activate(new aLc(b,a.H,c));a.services.activate(new fLc(b,a.H));a.services.activate(new cLc(b.Mc,b.XA,b.bR().$ea,b.Qm(),b.cQ,b.Rf(),b.vk(),a.H));a.services.activate(new eLc(b.Qm(),a.H));a.services.activate(new pLc(b.Qm(),a.H));return c.initialize()},tLc=function(a,b,c){var d=_.Pa(a.H.channels);a.log(_.zt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));TL(c,"2.2",{id:b,
clients:d,uptimeSec:vLc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.DZ.addCallback(function(f){c.isDisposed()||TL(c,"2.5",{id:f})});1<d&&OM(e).addCallback(function(f){return f.Sva()});(a.services.services.get("IS")||null).addCallback(function(f){f.iba().then(function(){c.isDisposed()||TL(c,"2.14")})});wLc(a,c,e);xLc(a,c,e)})};$M.prototype.oc=function(a){a={dt:a.dataType};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())TL(c.value,"2.15",a)};
$M.prototype.zc=function(a){var b={oois:a};_.Qa(this.H.channels).forEach(function(c){TL(c,"2.18",b)})};$M.prototype.rb=function(a){a={p:a.error.Qg.Lc()};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())TL(c.value,"2.10",a)};$M.prototype.Ic=function(){for(var a=_.m(_.Qa(this.H.channels)),b=a.next();!b.done;b=a.next())TL(b.value,"2.7")};var sLc=function(a,b,c){a.ha.has(b)?_.Wh():new _.Vh(function(d){TL(c,"2.1",void 0,function(e){d(a.Qa(b,e))})})};
$M.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Xh(Error("Jg"));if(this.W&&this.Fa.has(a))return _.Wh()}b=b||_.Qa(this.H.channels)[0];if(!b)return _.Xh(Error("Kg"));var d=_.Zh();b.send("1.1",void 0,function(e){rLc(c,a,e);d.resolve()});return d.promise};var rLc=function(a,b,c){_.La(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.Ab.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
$M.prototype.log=function(a){this.O.promise.then(function(b){return b.Rf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var ALc=function(a,b){WM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.K(ALc,WM);_.g=ALc.prototype;_.g.La=function(){return _.B(this.context.Mc,_.WI,58)};_.g.getContext=function(){return this.context};_.g.Oz=function(){return _.ii(this.send("5.4",[this.H],function(a,b){return jL(a[0],b,_.Sjc)}))};_.g.Rf=function(){return this.context.Rf()};_.g.KM=function(a){return _.ii(this.send("5.2",[a],function(b,c){return b[0]?jL(b[0],c,_.el):null}))};
_.g.cR=function(){return _.ii(this.send("5.5",[],function(a,b){return a.map(function(c){return jL(c,b,_.bgc)})}))};_.g.N4=function(a,b,c){return _.ii(this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return jL(k,e,_.el)}),Yha:f,pageToken:h}}))};_.g.ypa=function(){this.send("5.9",[])};_.g.zha=function(){this.send("5.1",[])};_.g.Z8=function(){return _.Fgc[_.Dj(this.context.Mc.eg(),8,0)]};_.g.Xca=function(){this.send("5.6",[])};
_.g.OS=function(){return _.ii(this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return jL(e,b,kwc)});return{traceId:new Jyc(c,d),spanRecs:a}}))};_.g.lN=function(){return _.ii(this.send("5.10",[],function(a){return 0===a.length?null:new Jyc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.ii(this.send("5.12",[],function(a){return a[0]}))};_.g.Voa=function(){this.send("5.11",[])};_.g.Ml=function(a){this.send("5.13",[a])};
var BLc=function(a,b){WM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ca(this))};_.K(BLc,WM);BLc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return jL(b[0],c,dDc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};BLc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
BLc.prototype.v$=function(a,b,c){this.dispatchEvent(new rDc(c[0],c[1]))};
var CLc=function(a){WM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(CLc,WM);CLc.prototype.fY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.pV().jg(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.q_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var DLc=function(a,b){iM.call(this,a,b)};_.K(DLc,iM);DLc.prototype.Nha=function(a,b,c){return new _.Ihc(a,c)};DLc.prototype.aka=function(a){return a.pageToken||""};DLc.prototype.pja=function(a){return a.response.O()};DLc.prototype.Q5=function(){};
var ELc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new DLc(this.request,this.ka)};_.K(ELc,IM);_.g=ELc.prototype;_.g.MG=function(){this.V.$g().then(this.Q9a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return qCc(new CM,this.O).Dc(this.status)};_.g.zr=function(){return new oCc};_.g.Rj=function(){return!this.Ue()&&(!this.H||Wxc(this.V))};_.g.Q9a=function(a){this.changed=this.H=!0;this.O=a;this.Xt()};
_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};_.g.$b=function(){return this.O.length};
var FLc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.W7a;this.suggestionSessionId=null;this.ka=c};_.K(FLc,IM);_.g=FLc.prototype;_.g.MG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.Di();a.suggestionSessionId=b.Zf();a.Xt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.Wnc(_.Vnc((new _.$K).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new uCc).Dc(this.status);return _.Mj(b,2,a)};_.g.XO=function(){};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};
var GLc=function(){};_.g=GLc.prototype;_.g.xM=function(a,b){b=VCc(1).setPosition(b);_.I(b,2,a);return b};_.g.wM=function(a,b){b=VCc(2).setPosition(b);_.I(b,2,a);return b};_.g.GE=function(a,b,c){b=VCc(3).Yy(b).setPosition(c);_.I(b,2,a);return b};_.g.qQ=function(a,b){b=VCc(4).setPosition(b);_.I(b,2,a);return b};_.g.WM=function(a){return _.B(a,_.TCc,2)};
var ILc=function(){_.Ky.call(this,new GLc,function(a){return HLc(a)})};_.K(ILc,_.Ky);var HLc=function(a){switch(_.Bj(a,SCc[0])){case 6:return _.ey(_.B(a,_.dy,6)).getTime().toString();case 7:var b=_.B(a,_.GM,7);a=_.B(b,_.dy,1);b=b.kv();return a&&b?(a=_.ey(a).getTime(),_.ey(b).getTime()+"--"+a):"";default:return""}},KLc=function(){JLc||(JLc=new ILc);return JLc},JLc;
var LLc=function(a,b,c,d){IM.call(this,b.Jj(),b.tk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.elc(_.Vj(b.Mc.eg(),6,1E3));this.ta=c};_.K(LLc,IM);_.g=LLc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.MG=function(){_.Q(this.request,3)?this.page():this.poll()};_.g.Ir=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;IM.prototype.Ir.call(this,a)};
_.g.getData=function(){var a=(new $Cc).Dc(this.status);_.Mj(a,2,this.O.slice(0,this.limit));this.ka=_.xa(this.O);return a};_.g.zr=function(){var a=KLc().my(this.ka,this.O),b=new XCc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.O);return a};_.g.Rj=function(){return!this.Ue()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.qd=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.V=!0,this.Rj()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).then(function(c){b.H=!0;var d=_.Qj(c,_.TCc,1);b.O=b.O.concat(d);b.token=c.qy()||"";0<d.length&&(b.changed=!0);b.Xt();b.page(a)},function(c){b.dispatchEvent(new _.rc(c));b.V=!1}):(this.V=!1,a&&a.callback(),MLc(this))):this.V=!1};
_.g.poll=function(){var a=this;this.active&&(this.V=!0,this.ta(this.request,this.limit).then(function(b){var c=KLc();a.H=!0;var d=_.Qj(b,_.TCc,1);pL(c,a.O.slice(0,d.length),d)?(a.O=d,a.token=b.qy()||"",a.changed=!0,a.Xt(),a.page()):(a.V=!1,MLc(a))},function(b){a.dispatchEvent(new _.rc(b));a.V=!1}))};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};
_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.XO=function(){this.active&&this.Rj()&&!this.V&&this.page(new _.ai)};var MLc=function(a){_.Q(a.request,3)||(_.cI(a.ma),_.n.setTimeout((0,_.M)(a.poll,a),a.ma.Za()))};LLc.prototype.$b=function(){return this.O.length};
var NLc=function(){};_.g=NLc.prototype;_.g.xM=function(a,b){return bDc(aDc(1),a).setPosition(b)};_.g.wM=function(a,b){return bDc(aDc(2).setPosition(b),a)};_.g.GE=function(a,b,c){return bDc(aDc(3).Yy(b).setPosition(c),a)};_.g.qQ=function(a,b){return bDc(aDc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,_.xM,2)};
var OLc=function(){_.Ky.call(this,new NLc,function(a){return a.getId()})};_.K(OLc,_.Ky);var QLc=function(){PLc||(PLc=new OLc);return PLc},PLc;
var RLc=function(a,b,c){IM.call(this,b.Jj(),b.tk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.elc(_.Vj(b.Mc.eg(),54,1E3));this.ma=c};_.K(RLc,IM);_.g=RLc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.MG=function(){this.poll()};_.g.getData=function(){var a=new jDc;a=_.Mj(a,2,this.O).Dc(this.status);this.ka=_.xa(this.O);return a};_.g.zr=function(){var a=QLc().my(this.ka,this.O),b=new hDc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.O);return a};
_.g.Rj=function(){return!this.Ue()&&!this.H};_.g.poll=function(){var a=this,b=new _.ai;this.ma(this.request).then(function(c){a.H=!0;c=_.Qj(c,_.xM,2);pL(QLc(),a.O,c)&&(a.changed=!0,a.O=c,a.V.reset());a.Xt();b.callback();SLc(a)},function(c){a.dispatchEvent(new _.rc(c));b.Id(c);SLc(a)});return b};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};_.g.XO=function(){};
var SLc=function(a){a.active&&(_.n.setTimeout((0,_.M)(a.poll,a),a.V.Za()),_.cI(a.V))};RLc.prototype.$b=function(){return this.O.length};
var TLc=function(){};_.g=TLc.prototype;_.g.xM=function(a,b){return $Bc(ZBc(1),a).setPosition(b)};_.g.wM=function(a,b){return $Bc(ZBc(2).setPosition(b),a)};_.g.GE=function(a,b,c){return $Bc(ZBc(3).Yy(b).setPosition(c),a)};_.g.qQ=function(a,b){return $Bc(ZBc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,_.Kk,2)};
var ULc=function(){_.Ky.call(this,new TLc,function(a){return a.getId()})};_.K(ULc,_.Ky);_.Pf(ULc);
var aN=function(a,b,c){_.zi.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.K(aN,_.zi);aN.prototype.ui=function(a){this.limit=a};aN.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():VLc(this)};aN.prototype.cka=function(){return this.permissions};
var VLc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.DJ;c=_.I(c,3,a.request);c=_.w(c,2,a.nextPageToken);b=_.w(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};aN.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Xn()||"";a=_.Qj(a.jd(),_.Kk,2);this.permissions=_.wa(this.permissions,a);a.length&&this.dispatchEvent("Aa");if(this.nextPageToken&&this.permissions.length<this.limit)return VLc(this);this.dispatchEvent("Da")};
aN.prototype.handleError=function(a){this.H=!1;a=new vL(_.NI(a),_.Vj(this.context.Mc.eg(),1,1));this.dispatchEvent(a)};
var WLc=function(a,b,c,d){IM.call(this,b.Jj(),b.tk(),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 aN(b,this.request,this.ma);_.Fe(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.K(WLc,IM);_.g=WLc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.MG=function(){this.query()};_.g.Ir=function(a){IM.prototype.Ir.call(this,a||100)};
_.g.getData=function(){var a=Rsc(new uL,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.zr=function(){var a=ULc.tb().my(this.ka,this.permissions),b=new gCc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.Rj=function(){var a;(a=!this.Ue())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.qd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new aN(this.context,this.request,this.ma);this.O.ui(this.limit);return this.O.$g().then(function(){return XLc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){IM.prototype.handleError.call(this,a);YLc(this)};var XLc=function(a){a.H=!0;var b=a.O.cka();pL(ULc.tb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Xt();YLc(a)};
WLc.prototype.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};WLc.prototype.XO=function(){var a=this;this.O.ui(this.limit);this.O.$g().then(function(){return XLc(a)},function(b){return a.handleError(b)})};var YLc=function(a){if(a.active){var b=a.context.Mc.eg();a.V=_.n.setTimeout((0,_.M)(a.query,a),Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,15,36E5))}};WLc.prototype.$b=function(){return this.permissions.length};
var ZLc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.ri(_.Cc,a))},0)};
var $Lc=function(){},aMc=function(a,b){WM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=$Lc;this.H=null;this.id=String(_.Ca(this))};_.K(aMc,WM);aMc.prototype.v$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(jL(a,b,DM)))};aMc.prototype.$g=function(a){a=void 0===a?$Lc:a;if(!this.H){this.O=a;var b=_.Zh();this.H=b;this.send("10.1",[this.request],function(c,d){return jL(c[0],d,DM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
aMc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var bMc=function(a,b,c){_.zi.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Au={};this.O={};_.Fe(this,function(){d.H("7.6",[])})};_.K(bMc,_.zi);_.g=bMc.prototype;_.g.getId=function(){return this.instanceId};_.g.pQ=function(){return _.lI()};
_.g.upload=function(a,b){!_.y(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.jjc;_.w(d,1,b.size);_.I(a,15,d);this.O[a.fj()]=b}return _.ii(this.H("7.1",[a,c],function(e,f){return jL(e[0],f,_.XJ)}))};_.g.cancel=function(a){this.H("7.2",[a])};_.g.hG=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 _.ai;c=this.pQ();this.Au[c]=b;b=_.Qa(b);this.H("7.4",[c].concat(_.nd(a)));return b};_.g.vM=function(a,b){var c=this;return _.ii(this.H("7.5",[a].concat(_.nd(b)),function(d){return ipc(d[0])}).then(function(d){return c.V.addCallback(function(e){return e.i2a(d)})}))};var cMc=function(a,b,c,d){if(a.Au[b]&&a.Au[b][c]){var e=a.Au[b][c];d instanceof _.XJ?e.callback(d):e.Id(d);delete a.Au[b][c];_.Ta(a.Au[b])&&delete a.Au[b]}};
var dMc=function(a,b){WM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.K(dMc,WM);var eMc=function(a){var b=_.lI(),c=new bMc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.Fe(c,function(){return void a.H.delete(b)});return c};
dMc.prototype.v$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.O[d];a.H("7.7",[d,_.mhc(c,b,Math.min(c.size,b+e))]);break;case 0:b=jL(e[1],b,_.XJ);cMc(a,d,e[0],b);break;case 1:b=new _.qc(void 0,jL(e[1],b,_.oc));cMc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.wlc(d,e[0],e[1]));break;default:throw Error("Lg");}}};
var fMc=function(a,b){if(0===a.length)throw new _.qc("mutateUserPref requires a namespace.",_.$I(3));var c=null;b instanceof _.LD?c=(b=(b=_.B(b,_.np,1))&&b.getKey())&&_.op(b)||null:b instanceof _.KD&&(c=(b=b.getKey())&&_.op(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.qc("mutateUserPref unsupported for namespace: "+c,_.$I(3));};
var gMc=function(a){this.H=a};
var Npc=function(a){WM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(hMc=_.Zh()).promise);var b=this;this.ta=null;this.Qa=this.Ta=this.$a=this.ma=!1;this.ha=this.ka=this.W=null;this.kb=new _.En;this.Ka=new _.En;this.V=hMc;hMc=void 0;this.context=a;dKc(this.context,new CLc(this.V.promise));Dsc(this.context.Kg,_.Td(this.context.Mc,28));this.H=this.context.afa;this.O=new FKc(this.V.promise,this.context,this.H);this.Ab=new dMc(this.V.promise,this.context.cQ);this.Ha=new ALc(this.V.promise,this.context);
this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.tk(),[].concat(_.nd(Object.values(_.EB))),function(c){return void b.dispatchEvent(c)})},hMc;_.K(Npc,WM);
Npc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.va.promise;var b=this.context.vk().H(106E3);this.ta.then(function(){b&&b.yj();a.Y0a()},function(){_.JK(a.context.vk(),181008852)});var c=_.nK(this.context.Mc)?"(coldstart) ":"";this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Mc.Wi());var d=Voc(this.context.Mc,this.Ai(),_.tK(this.context.Kg));iMc(this,d);2===d.H?(c=new $M(new zKc,6,this.context.Rf()),uLc(c,d.O),this.Ka.resolve(c)):
ppc(this.Ha);this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();bKc(this.context,function(){return jMc(d.channel)})}return this.ta};
var jMc=function(a){return _.Sja([new _.Vh(function(b){a.isDisposed()||TL(a,"8.1",void 0,function(){a.dispose();b()})}),_.Ei(1E4)])},iMc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Ai(),fds:_.tK(a.context.Kg)}}):c.registerService("1.1",function(){return kMc(a,b)});2===b.H?a.Ka.promise.then(function(){return void lMc(a,b)}):lMc(a,b);SL(c,"2.1",function(){return{dsc:a.context.Mc.Lc()}});SL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new yKc(d.id,
c,a.context.Rf(),d.clients)),d.dsp&&mMc(c),d.ivd&&nMc(a,c)):(d=new _.oc(JSON.parse(d.err)),a.va.reject(new _.qc("Unable to initialize dataservice.",d)))});SL(c,"2.15",function(d){a.dispatchEvent(new qDc(d.dt))});SL(c,"2.5",function(d){a.context.Eu(d.id)});SL(c,"2.6",function(d){a.context.Jj().Ml(d.os)});SL(c,"2.18",function(d){a.context.Jj().Xy(d.oois)});SL(c,"2.7",function(){a.ma=!1});SL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new rtc(d.au?"nb":"ob"))});SL(c,"2.19",function(d){a.context.tk().update(d.cs)});
SL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.zt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Rf().config(e,d);break;case "fine":_.rK(a.context.Rf(),e,d,"fine");break;case "finer":_.rK(a.context.Rf(),e,d,"finer");break;case "finest":_.rK(a.context.Rf(),e,d,"finest");break;case "info":a.context.Rf().info(e,d);break;case "warning":case "severe":Asc(a.context.Rf(),e,d);break;default:Asc(a.context.Rf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),Asc(a.context.Rf(),
e,d)}});SL(c,"2.10",function(d){return void a.s$(d)});SL(c,"2.12",function(){a.Qa=!0;bN(a)});SL(c,"2.14",function(){return a.kb.resolve()});SL(c,"2.16",function(){return a.$a=!0});SL(c,"2.17",function(d){a.context.Rf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},lMc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",kMc(a,b));TL(b.channel,"8.4",{dsc:a.context.Mc.Lc()});mMc(b.channel);nMc(a,b.channel)},mMc=function(a){_.n._DRIVE_dsp&&TL(a,"8.3",{dsp:oMc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];TL(a,"8.3",{dsp:oMc(c)})}}},nMc=function(a,b){_.S(a.context.Mc,24,!1)&&(_.n._DRIVE_ivd?TL(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&TL(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},kMc=function(a,b){var c={};if(1===b.H){var d=new _.bQa(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.Mc.Wi(),
ufds:b.V}};Npc.prototype.Ai=function(){var a=_.Nj(_.Nj(_.hI(this.context.Mc.clone(),28),44),91),b=new _.sI;b.update(_.lK(_.AI(a)));b.update(String(_.OI(_.AI(a))));b.update(a.Lc());return _.pec(b.digest())};var oMc=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=Npc.prototype;_.g.s$=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,new _.oc(JSON.parse(a.p)))))};
_.g.query=function(a){bN(this);Jvc(this.context.tm,a,Bsc(this.context.Kg));this.mF();var b=this.O.Dwa(a);this.Ta||(a=a.ve(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Cc,this.RLa)));return b};_.g.RLa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Ha.H=this.$a,this.Sc.Yc(a,_.Cc,this.RLa))};_.g.Bq=function(a){bN(this);mtc(a);this.mF();return this.O.Awa(a)};
_.g.zua=function(a,b){var c=this;bN(this);if(this.ka&&_.Uj(this.ka.qd(),a))return this.ka;this.ka=new LLc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return jL(h[0],k,pDc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.uFa=function(a,b){var c=this;bN(this);if(this.ha&&_.Uj(this.ha.qd(),a))return ZLc(this.ha),this.ha;this.ha=new WLc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return jL(e[0],f,hCc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.Q$=function(a){bN(this);return _.ii(this.send("3.14",[a],function(b,c){return jL(b[0],c,BM)}))};_.g.h8=function(a){bN(this);return _.ii(this.send("3.15",[a],function(b,c){return jL(b[0],c,BM)}))};
_.g.ld=function(a){bN(this);!this.ma&&_.YJ(a)&&(this.ma=!0);a=Xoc(a);return _.ii(this.send("3.3",[a],function(b,c){return jL(b[0],c,_.XJ)}))};_.g.RN=function(a){bN(this);a=gpc(a);return this.send("3.35",[a],function(b,c){return jL(b[0],c,_.qtc)})};_.g.Bz=function(a){bN(this);for(var b=0;b<a.length;b++)!this.ma&&_.YJ(a[b])&&(this.ma=!0);a=$oc(a);return _.ii(this.send("3.4",[a],function(c,d){return Zvc(c[0],d).get()}))};_.g.zwa=function(){bN(this);return eMc(this.Ab)};
_.g.LRa=function(a){bN(this);return new BLc(this.V.promise,a)};_.g.yr=function(a,b){var c=this;bN(this);var d=_.Ug();this.H.create(d,a);return _.ii(this.send("3.5",[a,!!b],function(e,f){f=jL(e[0],f,VL);return new _.EK(f,e[1],e[2])})).addCallback(function(e){qwc(c.H,d,e);return e.response}).Pg(function(e){UL(c.H,d);return e})};_.g.xr=function(a){bN(this);return this.send("3.10",[a],function(b,c){return jL(b[0],c,eCc)})};
_.g.S$=function(a){bN(this);return _.ii(this.send("3.11",[a],function(b,c){return jL(b[0],c,iCc)}))};_.g.f8=function(a){bN(this);return _.ii(this.send("3.12",[a],function(b,c){return jL(b[0],c,iCc)}))};_.g.aT=function(a){bN(this);return _.ii(this.send("3.13",[a],function(b,c){return jL(b[0],c,iCc)}))};
_.g.qN=function(a,b){var c=this;bN(this);var d=_.Ug();this.H.create(d,a);return _.ii(this.send("3.1",[a,!!b],function(e,f){f=jL(e[0],f,_.FM);return new _.HK(f,e[1],e[2])})).addCallback(function(e){qwc(c.H,d,e);return e.response}).Pg(function(e){UL(c.H,d);return e})};
_.g.KG=function(a,b){var c=this,d=_.Td(this.context.Mc.eg(),30);if(!d||0===d.length)return _.ji(new _.qc("getUserPrefs requires a namespace.",_.$I(3)));0===_.Td(a,3).length&&qpc(a,d);bN(this);var e=_.Ug();this.H.create(e,a);return _.ii(this.send("3.2",[a,!!b],function(f,h){h=jL(f[0],h,_.bA);return new _.GK(h,f[1],f[2])})).addCallback(function(f){qwc(c.H,e,f);return f.response}).Pg(function(f){UL(c.H,e);return f})};
_.g.YR=function(a){bN(this);fMc(_.Td(this.context.Mc.eg(),30),a);a=dpc(a);return this.send("3.6",[a],function(b,c){return jL(b[0],c,jCc)})};_.g.lu=function(a){bN(this);return _.ii(this.send("3.16",[a],function(b,c){return jL(b[0],c,Tsc)}))};_.g.eBa=function(){return this.ma};_.g.Ml=function(a){bN(this);this.send("3.8",[a])};_.g.Xy=function(a){bN(this);return _.Wh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.fY=function(a){bN(this);cKc(this.context).fY(a);this.Xy(!!a)};
_.g.mF=function(){bN(this);this.send("3.9",[])};_.g.$R=function(){bN(this);this.send("3.41",[]);this.context.$R();var a=tL(this.context.vk(),106006);a&&this.V.promise.then(function(b){var c=_.B(_.zK(a),csc,6);if(!c){c=new csc;var d=_.zK(a);_.I(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.O);a.yj()},function(){})};_.g.IB=function(){bN(this);return this.context.IB()};_.g.iQ=function(){bN(this);return _.Wh(this.send("3.19",[],function(a,b){return jL(a[0],b,bwc)}))};_.g.isConnected=function(){return this.context.tk().isConnected()};
_.g.A7=function(){return this.send("3.46",[],function(a,b){return jL(a[0],b,_.Tkc)})};_.g.q9=function(){return this.Ha};_.g.sync=function(){bN(this);return _.Wh(this.send("3.28",[]))};_.g.Gu=function(){return this.context.Gu()};_.g.cY=function(a){this.Ka.promise.then(function(b){return void b.cY(a)})};_.g.eda=function(a){bN(this);return this.O.Kwa(a)};_.g.DY=function(a){bN(this);return this.O.Jwa(a)};_.g.rFa=function(a){bN(this);Mvc(this.context.tm,a,Bsc(this.context.Kg));return this.O.Gwa(a)};
_.g.qpa=function(a){bN(this);return new aMc(this.V.promise,a)};_.g.lva=function(a){var b=this;bN(this);if(!this.W||this.W.isDisposed())this.W=new RLc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return jL(d[0],e,jDc)})});return this.W};_.g.cGa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Wh()};_.g.g8=function(a){bN(this);return _.ii(this.send("3.22",[a],function(b,c){return jL(b[0],c,kDc)}))};
_.g.qV=function(a){bN(this);return _.ii(this.send("3.25",[a],function(b,c){return jL(b[0],c,fDc)}))};_.g.iba=function(){return this.kb.promise};_.g.tna=function(a){var b=_.Zh();_.ii(this.send("3.30",[a],function(c,d){c[0]?b.resolve(jL(c[0],d,mDc)):b.reject(new _.qc(void 0,jL(c[1],d,_.oc)))})).Pg(function(c){return void b.reject(c)});return b.promise};_.g.Nva=function(a){bN(this);return this.O.wwa(a)};_.g.v7=function(a){bN(this);return this.send("3.42",[a],function(b,c){return jL(b[0],c,vuc)})};
_.g.ZO=function(a){bN(this);var b=new _.En;this.send("3.39",[a],function(c,d){return c.map(function(e){return jL(e,d,Bwc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new gMc(b.promise))};_.g.NFa=function(a){var b=this;bN(this);return new ELc(this.context,a,function(c){return _.Wh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new dvc(jL(d[0],e,CM),d[1])}))})};
_.g.OFa=function(a){bN(this);return this.send("3.38",[a],function(b,c){return jL(b[0],c,rCc)})};_.g.pKa=function(a){bN(this);return this.O.Owa(a)};_.g.lqa=function(a){bN(this);return this.O.Nwa(a)};_.g.GIa=function(a){var b=this;bN(this);return new FLc(this.context,a,function(){return _.Wh(b.send("3.40",[a],function(c,d){return jL(c[0],d,_.$K)}))})};_.g.HIa=function(a){bN(this);return this.O.Hwa(a)};_.g.o_=function(a){bN(this);this.send("3.43",[a])};
_.g.U_=function(a){bN(this);return _.Wh(this.send("3.44",[a],function(b,c){return jL(b[0],c,muc)}))};_.g.Po=function(a){bN(this);if(1!==_.mK(this.context.Mc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Ng"));if(!c.uk()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",a))};
_.g.Y0a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Ei(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Sja(b).then(function(c){c?_.Ci(a.Y0a.bind(a),6E4):(a.Qa=!0,bN(a))})}};var bN=function(a){a.Qa&&a.dispatchEvent(new PDc)};
var Ppc=function(a){KM.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.Zh();this.H=a.Qm()};_.K(Ppc,KM);Ppc.prototype.xRa=function(){this.Ha=new LKc(this.context);this.Ma(this.Ha);this.Ka=new PKc(this.context);this.Ma(this.Ka);this.Qa=new WKc(this.context);this.Ma(this.Qa)};
Ppc.prototype.$a=function(){var a=this,b=["hVFf7"];_.nK(this.context.Mc)&&b.push("BNEDtc");ZL(this.O,b,function(){return void a.tWa()});ZL(this.O,["T8oKm","ZA9qG"],function(){return void pMc(a)});ZL(this.O,["T8oKm","mrK8ic"],function(){return void pMc(a)});this.Sc.listen(this.Ha,"WPi0i",this.esa.bind(this,1));this.Sc.listen(this.Ka,"Qb",this.esa.bind(this,2));this.Sc.listen(this.Qa,"WPi0i",this.esa.bind(this,4));ZL(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var pMc=function(a){OM(a.context).addCallback(function(b){b.start()})};
_.g=Ppc.prototype;_.g.esa=function(a){_.oa(nuc,a)&&this.dispatchEvent(new qDc(a))};_.g.DY=function(a){return this.V.Jwa(a.clone())};_.g.rFa=function(a){Mvc(this.context.tm,a,Bsc(this.context.Kg));return this.V.Gwa(a.clone())};_.g.eda=function(a){return this.V.Kwa(a.clone())};_.g.qpa=function(a){return new mLc(a,this.context.Qm())};
_.g.zua=function(a,b){var c=this;if(this.ta&&_.Uj(this.ta.qd(),a))return this.ta;this.ta=new LLc(a.clone(),this.context,this.njb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.njb=function(a,b,c){var d=new _.Bhc(a,b,c);return _.ii(this.H.then(function(e){return e.Re(d)}).Gg(function(e){return _.bJ(e)}))};_.g.lva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new RLc(a,this.context,function(c){return qMc(b,c)});return this.ha};var qMc=function(a,b){return _.ii(a.H.then(function(c){return c.Re(b)}).Gg(function(c){return _.bJ(c)}))};
_.g=Ppc.prototype;_.g.cGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Wh()};_.g.qV=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}))};_.g.g8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}))};_.g.uFa=function(a,b){var c=this;if(this.ka&&_.Uj(this.ka.qd(),a))return ZLc(this.ka),this.ka;this.ka=new WLc(a.clone(),this.context,this.aKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.aKb=function(a){var b=this;return this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Jxc(b.context.wf.sq,_.Qj(c.jd(),_.Kk,2),a.qd().getId()).then(function(){return c}):c},_.bJ)};_.g.Q$=function(a){var b=this;return _.ii(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Jxc(b.context.wf.sq,[_.B(c,_.Kk,2)],a.Cc()).then(function(){return c}):c},_.bJ))};
_.g.h8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.Nva=function(a){return this.V.wwa(a.clone())};_.g.v7=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.ZO=function(a){return this.H.then(function(b){return b.Re(a)}).then(function(b){var c=new _.En;Uxc(a,b).then(function(d){return c.resolve(d)});return new gMc(c.promise)},function(b){return void _.bJ(b)})};_.g.NFa=function(a){var b=this;return new ELc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Gg(function(d){return _.bJ(d)})})};
_.g.OFa=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.ld=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.RN=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.Bz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.dJ?c.push(String(f.Cc())):c.push(String(f.getId()));d.push(b.ld(f))});a=new _.to(d);var e=new _.ai;a.addCallback(this.Vlb.bind(this,e,c));return e};
_.g.zwa=function(){return new bLc(this.context.Mc,this.context.XA,this.context.bR().$ea,this.context.Qm(),this.context.cQ,this.context.Rf(),this.context.vk())};_.g.yr=function(a,b){var c=this,d=_.Ug();this.W.create(d,a);3===a.getType()?a=KM.prototype.yr.call(this,a).addCallback(function(e){return new _.EK(e,1,!1)}):($L(this.O,"Qubz4b"),a=this.Ka.enqueue(new UKc(a,b)));return a.addCallback(function(e){qwc(c.W,d,e);return e.response}).Pg(function(){UL(c.W,d)})};
_.g.xr=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.S$=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.f8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.aT=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};
_.g.qN=function(a,b){var c=this;$L(this.O,"iuEtc");var d=_.Ug();this.W.create(d,a);return this.Ha.enqueue(new NKc(a,b)).addCallback(function(e){qwc(c.W,d,e);return e.response}).Pg(function(){UL(c.W,d)})};
_.g.KG=function(a,b){var c=this,d=_.Td(this.context.Mc.eg(),30);if(!d||0===d.length)return _.ji(new _.qc("getUserPrefs requires a namespace.",_.$I(3)));0===_.Td(a,3).length&&qpc(a,d);var e=_.Ug();this.W.create(e,a);$L(this.O,"OZvrNc");return this.Qa.enqueue(new ZKc(a,b)).addCallback(function(f){qwc(c.W,e,f);return f.response}).Pg(function(){UL(c.W,e)})};_.g.YR=function(a){fMc(_.Td(this.context.Mc.eg(),30),a);return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};
_.g.lu=function(a){var b=this;return _.ii(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Hxc(b.context.wf.sq,c):c},_.bJ))};_.g.pKa=function(a){return this.V.Owa(a.clone())};_.g.lqa=function(a){return this.V.Nwa(a.clone())};_.g.GIa=function(a){var b=this;return new FLc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Gg(function(d){return _.bJ(d)})})};_.g.HIa=function(a){return this.V.Hwa(a.clone())};
_.g.o_=function(a){FFc(this.context.wf,[a])};_.g.U_=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.Po=function(a){if(1!==_.mK(this.context.Mc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Ng"));if(!c.uk()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.wf.Po(a);pGc(this.context.wf);return Promise.resolve()};_.g.eBa=function(){return this.context.bR().cK()};
_.g.Xy=function(a){var b=this;return this.context.Xy(a).then(function(c){return c?(b.context.Jj().Xy(a),b.context.Ns.lL()):_.Wh(!a)})};_.g.fY=function(a){cKc(this.context).fY(a);this.Xy(!!a)};_.g.mF=function(){OM(this.context).addCallback(function(a){a&&a.Xna()});this.context.Jga.mF()};_.g.cY=function(a){a.fMa(this.context)};_.g.Vlb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];pGc(this.context.wf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Yh([this.context.N$.promise,this.context.bfa.promise]).then(function(){return a.context.Ns.lL()}).then()};_.g.Gu=function(){OM(this.context).addCallback(function(a){a&&a.dispose()});return KM.prototype.Gu.call(this)};_.g.iba=function(){return this.kb.promise};
var rMc=function(){var a='<div class="'+_.E("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.E("la-Y-A")+" "+_.E("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.Cn({id:_.fm,callback:function(a){var b=_.Ync(a),c=Spc(a),d=_.B(a.get(_.Xc),_.Xb,10);_.ejc(d,b);_.Kj(d,28,c);b=Qpc(a,d);a.registerService(_.gm,b.q9());_.Te(b,"VbxEwf",function(){var e={};_.zc(_.Qt.getService(a),new _.rq(new _.qq(rMc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.u();

}catch(e){_._DumpException(e)}
try{
_.sMc=function(a,b){return _.I(a,17,b)};_.tMc=function(a,b){return _.w(a,2,b)};_.uMc=function(a,b){return _.w(a,1,b)};_.vMc=function(a,b){return _.I(a,2,b)};_.wMc=function(a,b){return _.Mj(a,1,b)};_.xMc=function(a,b){return _.Kj(a,1,b)};_.yMc=function(a,b){return _.Mj(a,2,b)};_.zMc=function(a,b){return _.I(a,3,b)};_.t("RsR2Mc");

_.u();

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