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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Nsb=function(a){a=parseInt(_.C(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.Psb=function(a,b,c,d){var e=_.Je.getService(a);a=e.mg(a,c);_.Osb(a.H.Sk,b,d);e.eg(a)};_.Osb=function(a,b,c){var d=new _.Qsb;b.aV&&_.A(d,2,b.aV);b.uG&&0<=b.uG&&_.A(d,1,b.uG);b.quotaType&&_.A(d,3,b.quotaType);_.Rsb(a,d);c&&(b=new _.Ssb,_.A(b,1,c),_.Tsb(a,b))};_.Usb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.Vsb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.Rsb=function(a,b){b&&(a=a.ad(),_.x(a,29,b))};_.Tsb=function(a,b){b&&(a=a.ad(),_.x(a,38,b))};_.Qsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Qsb,_.K);_.Ssb=function(a){_.P(this,a,-1,null,null)};_.L(_.Ssb,_.K);_.Ssb.prototype.Oh=function(){return _.C(this,1)};_.Wsb=function(a,b,c,d,e,f,h){return(0,_.J)(_.Gn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Js:e,size:f,Xd:h},a))};_.t("sy11m");
_.Ysb=function(a,b,c){var d=_.F(a.get(_.VCa),1,""),e=_.Nsb(b);d=new _.aj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.cj(_.ij(_.ij(_.ij(_.ij(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.Xsb(a,e,c)),-1!=parseInt(String(_.E(b,_.vx,2)),10)?"upgrade":"")};
_.Xsb=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"}}};
_.Zsb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.C(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.w();

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

var Fzb=_.Xsb,Gzb=_.Ysb,Hzb=_.Zsb;_.Xsb=function(a,b,c){return"over"==b&&_.Pl(a.get(_.ac))?"widget_trial":Fzb(a,b,c)};_.Ysb=function(a,b,c){c=Gzb(a,b,c);"over"===_.Nsb(b)&&_.Pl(a.get(_.ac))&&_.ij(c,"eft","1");return c};_.Zsb=function(a,b,c){b=Hzb(a,b,c);a=_.Pl(a.get(_.ac));return"g1_settings_oos"===b&&a?"g1_settings_trial":"g1_widget_oos"===b&&a?"g1_widget_trial":b};

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var Bsb,Esb;Bsb=[4,5,6,7];_.SA=function(a){_.P(this,a,-1,null,null)};_.L(_.SA,_.K);_.SA.prototype.Bb=function(){return _.C(this,1)};_.SA.prototype.Cc=function(a){return _.A(this,1,a)};_.SA.prototype.L$=function(){return _.C(this,2)};_.SA.prototype.Xb="JmcaR";_.Csb=function(a){_.P(this,a,-1,null,null)};_.L(_.Csb,_.K);_.Csb.prototype.O=function(){return _.R(this,1)};_.Csb.prototype.Xb="dvhrqe";_.Dsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Dsb,_.K);_.Dsb.prototype.fu=function(){return _.C(this,2)};
_.Dsb.prototype.sWa=function(){return _.C(this,3)};Esb=[5];_.Fsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Fsb,_.K);_.Gsb=function(a){_.P(this,a,-1,Esb,null)};_.L(_.Gsb,_.K);_.g=_.Gsb.prototype;_.g.d_=function(){return _.C(this,1)};_.g.gU=function(){return _.C(this,3)};_.g.qR=function(){return _.ck(this,_.Dsb,5)};_.g.wn=function(){return _.C(this,6)};_.g.kv=function(){return _.C(this,7)};_.g.ny=function(){return _.C(this,10)};_.g.vAb=function(){return _.Q(this,16)};_.g.Xb="dzR11e";
_.Hsb=function(a){_.P(this,a,-1,Bsb,null)};_.L(_.Hsb,_.K);_.Hsb.prototype.O=function(){return _.E(this,_.Gsb,1)};_.Hsb.prototype.pN=function(){return _.E(this,_.SA,8)};_.Hsb.prototype.V=function(){return _.E(this,_.Csb,9)};_.t("sy11i");
_.TA=function(a){_.P(this,a,-1,Isb,null)};_.L(_.TA,_.K);_.TA.prototype.getUser=function(){return _.E(this,_.Dk,1)};_.TA.prototype.getMetadata=function(){return _.E(this,_.Hsb,3)};_.TA.prototype.$o=function(){return _.Q(this,3)};var Isb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11j");
var qlb;_.Sz=function(a){_.P(this,a,-1,qlb,null)};_.L(_.Sz,_.K);_.Sz.prototype.O=function(){return _.Pd(this,1)};_.Tz=function(a,b){return _.Pj(a,1,b)};_.Sz.prototype.jn=function(){return _.Pd(this,2)};_.Uz=function(a,b){return _.Pj(a,2,b)};_.Sz.prototype.we=function(){return _.E(this,_.of,3)};_.Vz=function(a,b){return _.x(a,3,b)};_.rlb=function(a,b){return _.A(a,5,b)};qlb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.UA=function(a){return a instanceof _.nc?a:a instanceof _.mc?new _.nc(void 0,a):a instanceof Error?new _.nc(a.message,void 0,a):new _.nc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.Jsb=function(a){return a instanceof Error?_.UA(a).Qg:a instanceof _.nc?a.Qg:a};_.Ksb=function(a){var b;(b="true"==_.Hr(_.vd(a),"isAdd"))||(a=_.vd(a),b=_.ah?a.altKey:a.ctrlKey);return b};
_.Lsb=function(a){if("ja"==a.type)return _.Ksb(a)?"copy":"move";var b=_.vd(a),c=_.UHa(b);return"drop"==b.type&&c?"copy"==c.dropEffect||"link"==c.dropEffect||"move"==c.dropEffect?c.dropEffect:_.Ksb(a)?"copy":"move":"none"};_.Msb=function(a,b){_.OHa=a;_.PHa=new _.om(b)};_.VA=function(a){switch(a.type){case "dragstart":case "ia":return"start";case "dragend":case "ea":return"end";case "dragenter":case "fa":return"enter";case "dragleave":case "ga":return"leave";case "dragover":case "ha":return"over";case "drop":case "ja":return"drop"}};
_.t("sy11l");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11n");
_.WA={HL:"eb",sha:"fb",GU:"gb",FU:"hb"};_.$sb=new Map([[_.WA.HL,1],[_.WA.sha,2],[_.WA.GU,2],[_.WA.FU,3]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.Jz=function(a){if(Array.isArray(a))return a.map(_.Jz).join("");if(_.C(a,2)){if(!a.getId())throw Error("md");return a.getId()+"/"+_.C(a,2)+","}return""};_.t("sy12x");

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var Iwb;_.Hwb=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")};Iwb=function(a){var b=_.paa(_.gEa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.Jwb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.gEa[a.name]):(this.code=a=a.code,this.name=Iwb(a));_.ea.call(this,_.Hwb("%s %s",this.name,b))};_.Kf(_.Jwb,_.ea);var Kwb=function(a,b){_.gi.call(this,a.type,b)};
_.Kf(Kwb,_.gi);_.t("sy15b");
/*

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mrb=function(a){_.P(this,a,-1,null,null)};_.L(_.mrb,_.K);_.mrb.prototype.O=function(){return _.C(this,1)};_.mrb.prototype.Bb=function(){return _.C(this,2)};_.mrb.prototype.Cc=function(a){return _.A(this,2,a)};_.mrb.prototype.V=function(){return _.C(this,3)};_.t("sy17o");
_.orb=function(a){_.P(this,a,-1,nrb,null)};_.L(_.orb,_.K);_.orb.prototype.O=function(){return _.Pd(this,1)};var nrb=[1];
_.qrb=function(a){_.P(this,a,-1,prb,null)};_.L(_.qrb,_.K);_.qrb.prototype.O=function(){return _.ck(this,_.mrb,1)};var prb=[1];
_.srb=function(a){_.P(this,a,-1,rrb,null)};_.L(_.srb,_.K);_.srb.prototype.O=function(){return _.ck(this,_.qrb,1)};var rrb=[1];
_.trb=function(a){_.P(this,a,-1,null,null)};_.L(_.trb,_.K);_.trb.prototype.V=function(){return _.E(this,_.srb,1)};_.trb.prototype.O=function(){return _.E(this,_.orb,2)};
_.KA=function(a){_.P(this,a,-1,urb,null)};_.L(_.KA,_.K);_.g=_.KA.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Gd=function(){return _.ck(this,_.Wk,2)};_.g.Vw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.g.$j=function(){return _.C(this,3)};_.g.kl=function(){return _.S(this,5,!0)};_.g.u6=function(){return _.E(this,_.trb,7)};_.g.Esa=function(){return _.R(this,8)};_.g.Uf=function(){return _.C(this,17)};
_.g.QP=function(a){return _.A(this,17,a)};_.g.We=function(){return _.C(this,12)};_.g.kj=function(a){return _.A(this,12,a)};_.g.Yn=function(){return _.C(this,15)};_.g.Hka=function(){return _.Pd(this,18)};var urb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18v");
_.eD=function(a){_.P(this,a,-1,null,null)};_.L(_.eD,_.K);_.eD.prototype.getKey=function(){return _.E(this,_.Rb,1)};_.eD.prototype.Bs=function(){return _.Q(this,1)};_.eD.prototype.we=function(){return _.E(this,_.of,2)};
_.fD=function(a){_.P(this,a,-1,null,null)};_.L(_.fD,_.K);_.fD.prototype.we=function(){return _.E(this,_.of,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18w");
_.dD=function(a){_.P(this,a,-1,bBb,null)};_.L(_.dD,_.K);_.dD.prototype.we=function(){return _.E(this,_.of,1)};var bBb=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vD=function(a,b,c){_.N.call(this);this.Ln=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Ig=(0,_.v)(this.v$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Kf(_.vD,_.N);_.g=_.vD.prototype;_.g.ye=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Hf()+this.ka:this.H=_.ui(this.Ig,this.ka)};_.g.stop=function(){this.H&&(_.vi(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.Ln.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.vD.ub.Ya.call(this)};_.g.v$a=function(){this.H&&(_.vi(this.H),this.H=null);this.W?(this.H=_.ui(this.Ig,this.W-_.Hf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Ln.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1be");
_.GF=function(a){_.P(this,a,-1,null,null)};_.L(_.GF,_.K);_.GF.prototype.getName=function(){return _.C(this,1)};_.GF.prototype.jd=function(a){return _.A(this,1,a)};_.GF.prototype.we=function(){return _.E(this,_.of,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bf");
_.HF=function(a){_.P(this,a,-1,null,null)};_.L(_.HF,_.K);_.g=_.HF.prototype;_.g.Li=function(){return _.C(this,1)};_.g.wi=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};_.g.Xp=function(){return _.C(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bg");
_.IF=function(a){_.P(this,a,-1,null,null)};_.L(_.IF,_.K);_.IF.prototype.Li=function(){return _.C(this,1)};_.IF.prototype.wi=function(a){return _.A(this,1,a)};_.IF.prototype.we=function(){return _.E(this,_.of,2)};_.IF.prototype.Xb="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bh");
_.JF=function(a){_.P(this,a,-1,jTb,null)};_.L(_.JF,_.K);_.JF.prototype.O=function(){return _.Pd(this,1)};_.JF.prototype.jn=function(){return _.Pd(this,2)};_.JF.prototype.we=function(){return _.E(this,_.of,3)};var jTb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.KF=function(a){_.P(this,a,-1,null,null)};_.L(_.KF,_.K);_.g=_.KF.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.C(this,5)};_.g.Nd=function(a){return _.A(this,5,a)};_.g.vt=function(){return _.Q(this,5)};_.t("sy1bi");
_.LF=function(a){_.P(this,a,-1,kTb,null)};_.L(_.LF,_.K);_.LF.prototype.jn=function(){return _.Pd(this,1)};_.lTb=function(a,b){return _.Pj(a,1,b)};_.LF.prototype.we=function(){return _.E(this,_.of,2)};var kTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.MF=function(a,b){return _.A(a,4,b)};_.mTb=function(a,b){_.A(a,11,b)};_.nTb=function(a,b){return _.A(a,25,b)};_.t("sy1bj");

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bn");
_.SF=function(a){_.P(this,a,-1,null,null)};_.L(_.SF,_.K);_.SF.prototype.Ic=function(){return _.C(this,1)};_.dUb=function(a){var b=new _.SF;return _.A(b,1,a)};_.SF.prototype.Li=function(){return _.C(this,2)};_.SF.prototype.wi=function(a){return _.A(this,2,a)};_.SF.prototype.we=function(){return _.E(this,_.of,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Dac=function(a,b,c){_.Zi(a.url,function(d){d=d.target;d.wu()?b(d.Uk()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.Eac=function(a,b,c,d){return _.F(a,1).split("/").pop()==d?(d=_.C(a,2),Array.isArray(d)?new b(d):c(_.lb(a.Xa()))):null};_.t("sy1f3");
_.Gac=function(a){_.P(this,a,-1,Fac,null)};_.L(_.Gac,_.K);var Fac=[2];
_.Hac=function(a){_.P(this,a,-1,null,null)};_.L(_.Hac,_.K);var Iac=function(){var a=new _.Hac,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.Hac.prototype.Ji=function(){return _.C(this,7)};
_.Jac=function(a){_.P(this,a,-1,null,null)};_.L(_.Jac,_.K);
var Kac;_.nH=function(a){_.P(this,a,31,Kac,null)};_.L(_.nH,_.K);_.oH=function(a,b){return _.A(a,8,b)};Kac=[3,20,27];
var Mac=function(a){_.P(this,a,17,Lac,null)};_.L(Mac,_.K);var Nac=function(a){var b=Date.now().toString();return _.A(a,4,b)},Oac=function(a,b){return _.Cb(a,3,b)},Pac=function(a,b){return _.A(a,14,b)},Lac=[3,5];
var Rac=function(a){_.P(this,a,6,Qac,null)};_.L(Rac,_.K);var Qac=[5];
var Sac=function(a){_.P(this,a,-1,null,null)};_.L(Sac,_.K);
var Tac=new _.sk(175237375,Sac);
_.pH=function(a,b,c,d,e,f,h,k,l,p,q){_.si.call(this);var r=this;this.Ja="";this.O=[];this.Lc="";this.Nb=this.Sb=this.ha=!1;this.Vc=this.kb=-1;this.uc=!1;this.Fa=this.V=null;this.va=0;this.te=1;this.nb=!1;_.si.call(this);this.Yc=a;this.yb=b||_.Ff;this.ka=new Mac;this.Cd=d;this.Fb=q;this.Be=_.tb(_.Nia,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Yd=!k;this.Dc=f||!1;this.oe=!this.Dc&&(_.nj.un&&_.wb(65)||_.nj.Uw&&_.wb(45)||_.nj.Wv&&_.wb(12)||_.Tg()&&0<=_.hg(_.mia(),12))&&!!_.lf()&&
!!_.lf().navigator&&!!_.lf().navigator.sendBeacon;a=_.A(new _.Jac,1,1);f||(f=Iac(),_.x(a,11,f));_.x(this.ka,1,a);_.A(this.ka,2,this.Yc);this.ma=new _.lH(1E4,3E5,.1);this.H=new _.ti(this.ma.Xa());this.Ma(this.H);_.xe(this.H,"tick",_.Wfa(Uac(this,p)),!1,this);this.Ta=new _.ti(6E5);this.Ma(this.Ta);_.xe(this.Ta,"tick",_.Wfa(Uac(this,p)),!1,this);this.Oa||this.Ta.start();this.Dc||(_.xe(_.lf(),"beforeunload",this.oa,!1,this),_.xe(_.lf(),"unload",this.oa,!1,this),_.xe(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&r.oa()}),_.xe(document,"pagehide",this.oa,!1,this))};_.L(_.pH,_.si);var Uac=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.pH.prototype.Ya=function(){this.oa();_.si.prototype.Ya.call(this)};var Vac=function(a){a.Ba||(a.Ba=.01>a.Be()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.pH.prototype.W=function(a){a instanceof _.nH?this.log(a):(a=_.oH(new _.nH,a.Zb()),this.log(a))};
_.Wac=function(a,b){b?(a.V||(a.V=new _.Gac),b=b.Zb(),_.A(a.V,4,b)):a.V&&_.Qj(a.V,4)};_.Xac=function(a,b){a.ma=new _.lH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Xa())};
_.pH.prototype.log=function(a){a=a.clone();var b=this.te++;_.A(a,21,b);this.Ja&&_.A(a,26,this.Ja);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.A(b,1,c)}_.Q(a,15)||_.A(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.x(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Yac(a));this.Oa||this.H.enabled||this.H.start()};
_.pH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Zac(this);else{var d=Date.now();if(this.Vc>d&&this.kb<d)b&&b("throttled");else{var e=Pac(Oac(Nac(this.ka.clone()),this.O),this.va);d={};var f=this.yb();f&&(d.Authorization=f);var h=Vac(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Ui(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Ui(h,"pageId",this.$a));if(f&&this.Lc===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.Zb(),l;this.Fa&&this.Fa.xu(k.length)&&(l=this.Fa.s8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Yd,timeoutMillis:0},q=function(y){c.ma.reset();c.H.setInterval(c.ma.Xa());if(y){var z=null;try{var D=JSON.parse(y.replace(")]}'\n",""));z=new Rac(D)}catch(G){}z&&(y=Number(_.Gma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Vc=c.kb+y),z=_.gk(z,Tac))&&(z=_.Lj(z,1,-1),-1!=z&&(c.uc||_.Xac(c,z)))}a&&a()},r=function(y){var z=_.ck(e,_.nH,3);
_.mH(c.ma);c.H.setInterval(c.ma.Xa());401===y&&f&&(c.Lc=f);if(500<=y&&600>y||401===y||0===y)c.O=z.concat(c.O),c.Oa||c.H.enabled||c.H.start();b&&b("net-send-failed",y)},u=function(){c.Fb?c.Fb.send(p,q,r):c.Cd(p,q,r)};l?l.then(function(y){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=y;p.H=2;u()},function(){u()}):u()}}}};_.pH.prototype.oa=function(){this.ha||(this.Sb&&Zac(this),this.Nb&&$ac(this),this.flush())};
var Zac=function(a){abc(a,32,10,function(b,c){b=_.Ui(b,"format","json");b=_.lf().navigator.sendBeacon(b,c.Zb());a.nb&&!b&&(a.nb=!1);return b})},$ac=function(a){abc(a,6,5,function(b,c){b=_.Qi(b,"format","base64json","p",_.oj(c.Zb(),3));_.Bg(new Image,b);return!0})},abc=function(a,b,c,d){if(0!==a.O.length){var e=_.Hla(Vac(a),"format");e=_.Qi(e,"auth",a.yb(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Oac(Nac(a.ka.clone()),h);0===f&&Pac(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Yac=function(){_.gi.call(this,"event-logged",void 0)};_.L(Yac,_.gi);

_.w();

}catch(e){_._DumpException(e)}
try{
var zbc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var u=h,y=0;64>y;y+=4)u[y/4]=r[y]<<24|r[y+1]<<16|r[y+2]<<8|r[y+3];for(y=16;80>y;y++)r=u[y-3]^u[y-8]^u[y-14]^u[y-16],u[y]=(r<<1|r>>>31)&4294967295;r=e[0];var z=e[1],D=e[2],G=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var M=G^z&(D^G);var O=1518500249}else M=z^D^G,O=1859775393;else 60>y?(M=z&D|G&(z|D),O=2400959708):(M=z^D^G,O=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+I+O+u[y]&4294967295;I=G;G=D;D=(z<<30|z>>>2)&4294967295;z=r;r=M}e[0]=e[0]+r&4294967295;e[1]=e[1]+z&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var y=[],z=0,D=r.length;z<D;++z)y.push(r.charCodeAt(z));r=y}u||(u=r.length);y=0;if(0==p)for(;y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64;for(;y<u;)if(f[p++]=r[y++],q++,64==p)for(p=0,b(f);y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64}function d(){var r=[],
u=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var y=63;56<=y;y--)f[y]=u&255,u>>>=8;b(f);for(y=u=0;5>y;y++)for(var z=24;0<=z;z-=8)r[u++]=e[y]>>z&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),u="",y=0;y<r.length;y++)u+="0123456789ABCDEF".charAt(Math.floor(r[y]/16))+"0123456789ABCDEF".charAt(r[y]%16);return u}}};_.t("sy1f5");
var Abc=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("De`"+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("Ee`"+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 Cbc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Bbc(Abc(d),a,c||null)].join(" "):null},Bbc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ka(d,function(k){e.push(k)}),Dbc(e.join(" "));var f=[],h=[];_.Ka(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.oa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=Dbc(e.join(" "));a=[c,a];_.oa(h)||a.push(h.join(""));return a.join("_")},Dbc=function(a){var b=
zbc();b.update(a);return b.digestString().toLowerCase()};
var Ebc={};
var Fbc,Hbc;Fbc=function(a){return!!Ebc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Gbc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Fbc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.OOa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Fbc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Hbc=function(a,b,c,d){(a=_.n[a])||(a=(new _.OOa(document)).get(b));return a?Cbc(a,c,d):null};
_.Ibc=function(a,b){b=void 0===b?!1:b;var c=Abc(String(_.n.location.href)),d=[];if(_.Gbc(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.n.__SAPISID:_.n.__APISID;e||(e=new _.OOa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Cbc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Fbc(b)&&((b=Hbc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Hbc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.GH=function(a,b){a.H=b;a.ka=0};_.HH=function(a,b){return _.A(a,b,_.jb([]))};_.odc=function(a){a.Sb=a.oe};_.t("sy1fb");
_.IH=function(a,b,c,d,e,f,h){_.pH.call(this,a,_.Ibc,b,_.Dac,c,d,e,void 0,f,h)};_.L(_.IH,_.pH);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ie");
_.HRc=function(a){_.P(this,a,-1,null,null)};_.L(_.HRc,_.K);_.g=_.HRc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bs=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};
_.eL=function(a){_.P(this,a,-1,IRc,null)};_.L(_.eL,_.K);_.eL.prototype.Rz=function(){return _.C(this,1)};_.eL.prototype.getUrl=function(){return _.C(this,3)};var IRc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jy");
var LRc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};LRc.prototype.get=function(a){return MRc(this)[a]||null};LRc.prototype.set=function(a){MRc(this)[this.V(a)]=a;this.O=null};var MRc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.fL=function(a,b){this.H=a;this.iB=b};
_.fL.prototype.Lz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!NRc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.FM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.GM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&NRc(this,a[d],b[e]);d--,e--);e=a.length-1-d;var f=a.length-e;d=a.slice(c,f);f=b.length-e;e=
b.slice(c,f);var h,k=[];for(f=0;f<d.length+1;f++)k[f]=[],k[f][0]=0;for(h=0;h<e.length+1;h++)k[0][h]=0;for(f=1;f<=d.length;f++)for(h=1;h<=e.length;h++)NRc(this,d[f-1],e[h-1])?k[f][h]=k[f-1][h-1]+1:k[f][h]=Math.max(k[f-1][h],k[f][h-1]);var l=[];f=d.length;for(h=e.length;0<f||0<h;)0<f&&0<h&&NRc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.GM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.FM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.iB(this.H.jN(d[f])),void 0!==e[h]){h=e[h];l=d[h];var p=d[f];k=1==l.getType()?l:p;l=2==l.getType()?l:p;if(k=this.QE(l,k))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];p=l.Mi()||0;var q=l.wy()||0;l.setPosition((l.Mi()||0)+ORc(e,l.Mi()||0));d[f].setPosition((d[f].Mi()||0)+c);3==d[f].getType()&&(l.Xy((l.wy()||0)+ORc(e,l.wy()||0)),d[f].Xy((d[f].wy()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,
start:p,end:Number.MAX_VALUE};break b;case 3:l=p>q?{offset:-1,start:q,end:p}:{offset:1,start:p,end:q};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new LRc(a,this.iB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.iB(f)))&&!_.ik(h||void 0,f||void 0)&&d.push(this.H.FQ(f,e));return c.concat(d)};var ORc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};
_.fL.prototype.QE=function(a,b){var c=b.Mi()||0;c>(a.Mi()||0)&&--c;return this.H.QE(this.H.jN(b),a.Mi()||0,c)};var NRc=function(a,b,c){return a.iB(b)==a.iB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.PRc=function(a){_.P(this,a,-1,null,null)};_.L(_.PRc,_.K);_.g=_.PRc.prototype;_.g.getType=function(){return _.C(this,1)};_.g.getItem=function(){return _.E(this,_.Wk,2)};_.g.setItem=function(a){return _.x(this,2,a)};_.g.wy=function(){return _.C(this,3)};_.g.Xy=function(a){return _.A(this,3,a)};_.g.Mi=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.QRc=function(a){var b=new _.PRc;return _.A(b,1,a)};_.t("sy1jz");
var RRc=function(){};_.g=RRc.prototype;_.g.GM=function(a,b){return _.QRc(1).setItem(a).setPosition(b)};_.g.FM=function(a,b){return _.QRc(2).setPosition(b).setItem(a)};_.g.QE=function(a,b,c){return _.QRc(3).Xy(b).setPosition(c).setItem(a)};_.g.FQ=function(a,b){return _.QRc(4).setItem(a).setPosition(b)};_.g.jN=function(a){return a.getItem()};
var TRc;_.SRc=function(){_.fL.call(this,new RRc,function(a){return a.getId()})};_.L(_.SRc,_.fL);_.URc=function(){TRc||(TRc=new _.SRc);return TRc};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.gL=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ala)(a)};_.hL=function(){return"goog_"+_.fia++};_.XRc=function(a,b,c,d,e,f){var h=new _.aj(null,void 0);a&&h.qn(a);b&&h.KF(b);c&&h.nn(c);d&&h.BA(d);e&&h.xi(e);f&&_.bj(h,f);return h};_.iL=function(a){return new _.Oh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{x9:!0,value:p}:{x9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Eja(h,_.tb(e,f,!0),_.tb(e,f,!1));else b(d)})};
_.jL=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 _.rq(c,e,d-c,a-e)}return null};_.kL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.kL.prototype.clone=function(){return new _.kL(this.start,this.end)};_.lL=function(a){return a.end-a.start};_.t("sy1kg");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var ZRc,bSc;ZRc=[3,42];_.$Rc=function(a){_.P(this,a,-1,ZRc,null)};_.L(_.$Rc,_.K);_.$Rc.prototype.getMimeType=function(){return _.C(this,27)};_.aSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};bSc=function(a,b){if(b&&a in b)return a;var c=_.bFa();return c?(c=c.toLowerCase(),a=c+_.iia(a),void 0===b||a in b?a:null):null};_.t("sy1kh");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var cSc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(cSc,_.gi);
_.dSc=function(a){_.si.call(this);this.ld=a||_.kh();if(this.Gz=this.Asb())this.H=_.xe(this.ld.Vb(),this.Gz,(0,_.v)(this.lab,this))};_.Kf(_.dSc,_.si);_.g=_.dSc.prototype;_.g.Asb=_.Lca(function(){var a=this.xu(),b="hidden"!=this.$za();if(a){var c;b?c=((_.bFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.$za=_.Lca(function(){return bSc("hidden",this.ld.Vb())});_.g.jub=_.Lca(function(){return bSc("visibilityState",this.ld.Vb())});_.g.xu=function(){return!!this.$za()};
_.g.DB=function(){return!!this.ld.Vb()[this.$za()]};_.g.lab=function(){var a=this.xu()?this.ld.Vb()[this.jub()]:null;a=new cSc(this.DB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.oi(this.H);_.dSc.ub.Ya.call(this)};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var fSc;fSc=[2];_.gSc=function(a){_.P(this,a,-1,fSc,null)};_.L(_.gSc,_.K);_.gSc.prototype.Bb=function(){return _.C(this,1)};_.gSc.prototype.Cc=function(a){return _.A(this,1,a)};_.gSc.prototype.$j=function(){return _.C(this,3)};_.t("sy1l9");
var hSc;_.oL=function(a){_.P(this,a,-1,hSc,null)};_.L(_.oL,_.K);_.oL.prototype.O=function(){return _.Pd(this,1)};_.oL.prototype.we=function(){return _.E(this,_.of,2)};_.iSc=function(a,b){return _.x(a,2,b)};_.oL.prototype.Li=function(){return _.Lj(this,3,20)};_.oL.prototype.wi=function(a){return _.A(this,3,a)};_.oL.prototype.Fm=function(){return _.R(this,4)};_.jSc=function(a,b){return _.A(a,4,b)};hSc=[1];

_.w();

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

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var oSc,rL,qSc,pSc;_.qL=function(a,b,c){if("number"===typeof a)var d={name:pSc(a)};else d=a,a=qSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Kf(_.qL,_.ea);_.qL.prototype.getName=function(){return this.O.name||""};rL={Qjb:1,Wib:2,NOT_FOUND_ERR:3,p9a:4,v9a:5,Yib:6,Ljb:7,ABORT_ERR:8,mjb:9,B6b:10,TIMEOUT_ERR:11,jjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.rSc=(_.n.DI||_.n.yL||rL).Qjb;_.sSc=(_.n.DI||_.n.yL||rL).Wib;_.tSc=(_.n.DI||_.n.yL||rL).NOT_FOUND_ERR;
_.uSc=(_.n.DI||_.n.yL||rL).p9a;_.vSc=(_.n.DI||_.n.yL||rL).v9a;_.wSc=(_.n.DI||_.n.yL||rL).Yib;_.xSc=(_.n.DI||_.n.yL||rL).Ljb;_.ySc=(_.n.DI||_.n.yL||rL).ABORT_ERR;_.zSc=(_.n.DI||_.n.yL||rL).mjb;_.ASc=(_.n.DI||_.n.yL||rL).TIMEOUT_ERR;_.BSc=(_.n.DI||_.n.yL||rL).jjb;_.CSc=(_.n.DOMException||rL).INVALID_ACCESS_ERR;_.DSc=(_.n.DOMException||rL).INVALID_STATE_ERR;
qSc=function(a){switch(a){case "UnknownError":return _.rSc;case "NotFoundError":return _.tSc;case "ConstraintError":return _.uSc;case "DataError":return _.vSc;case "TransactionInactiveError":return _.xSc;case "AbortError":return _.ySc;case "ReadOnlyError":return _.zSc;case "TimeoutError":return _.ASc;case "QuotaExceededError":return _.BSc;case "InvalidAccessError":return _.CSc;case "InvalidStateError":return _.DSc;default:return _.rSc}};
pSc=function(a){switch(a){case _.rSc:return"UnknownError";case _.tSc:return"NotFoundError";case _.uSc:return"ConstraintError";case _.vSc:return"DataError";case _.xSc:return"TransactionInactiveError";case _.ySc:return"AbortError";case _.zSc:return"ReadOnlyError";case _.ASc:return"TimeoutError";case _.BSc:return"QuotaExceededError";case _.CSc:return"InvalidAccessError";case _.DSc:return"InvalidStateError";default:return"UnknownError"}};
_.sL=function(a,b){return"error"in a?new _.qL(a.error,b):new _.qL({name:"UnknownError"},b)};_.tL=function(a,b){if("name"in a)return b=b+": "+a.message,new _.qL(a,b);if("code"in a){var c=pSc(a.code);b=b+": "+a.message;return new _.qL({name:c},b)}return new _.qL({name:"UnknownError"},b)};
_.ESc=function(a){this.H=a};_.FSc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.ESc.prototype.range=function(){return this.H};
var GSc=function(a){this.H=a};GSc.prototype.getName=function(){return this.H.name};var HSc=function(a,b,c,d){var e=new _.Wh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+pL(d),e.Pd(_.tL(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+pL(d);e.Pd(_.sL(h.target,c))};return e};GSc.prototype.get=function(a){return HSc(this,"get","getting from index "+this.getName(),a)};
GSc.prototype.getKey=function(a){return HSc(this,"getKey","getting key from index "+this.getName(),a)};GSc.prototype.getAll=function(a,b){return _.ISc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.ISc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.ESc?d.range():(new _.ESc(_.FSc.only(d))).range();var h=new _.Wh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?pL(f):"<all>"),h.Pd(_.tL(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?pL(f):"<all>");h.Pd(_.sL(l.target,c))};return h};
var JSc=function(a){this.H=a};JSc.prototype.getName=function(){return this.H.name};var KSc=function(a,b,c,d,e){var f=new _.Wh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=pL(d),e&&(c+=", with key "+pL(e)),f.Pd(_.tL(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=pL(d);e&&(c+=", with key "+pL(e));f.Pd(_.sL(k.target,c))};return f};_.g=JSc.prototype;_.g.put=function(a,b){return KSc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return KSc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.Wh;try{var c=this.H["delete"](a instanceof _.ESc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+pL(a),b.Pd(_.tL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+pL(a);b.Pd(_.sL(e.target,f))};return b};
_.g.get=function(a){var b=new _.Wh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+pL(a),b.Pd(_.tL(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 "+pL(a);b.Pd(_.sL(e.target,f))};return b};_.g.getAll=function(a,b){return LSc(this,"getting all from index "+this.getName(),a,b)};
var LSc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.ESc?c.range():(new _.ESc(_.FSc.only(c))).range();var f=new _.Wh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?pL(e):"<all>"),f.Pd(_.tL(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?pL(e):"<all>");f.Pd(_.sL(k.target,b))};return f};
JSc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Wh;try{var c=this.H.clear()}catch(d){return b.Pd(_.tL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Pd(_.sL(d.target,a))};return b};JSc.prototype.getIndex=function(a){try{return new GSc(this.H.index(a))}catch(b){throw _.tL(b,"getting index "+a);}};
JSc.prototype.count=function(a){var b=new _.Wh;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Pd(_.sL(e.target,d.getName()))}}catch(e){b.Pd(_.tL(e,this.getName()))}return b};
var MSc=function(a,b){_.si.call(this);this.H=a;this.O=b;this.Ab=new _.He(this);this.Ab.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.mab)};_.Kf(MSc,_.si);_.g=MSc.prototype;_.g.mab=function(a){a.target instanceof _.qL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.sL(a.target,"in transaction")})};_.g.Hh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new JSc(this.H.objectStore(a))}catch(b){throw _.tL(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.tL(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Wh;_.Ne(this,"complete",(0,_.v)(a.callback,a));var b=_.Ne(this,"abort",function(){_.oi(c);a.Pd(new _.qL(_.ySc,"waiting for transaction to complete"))});var c=_.Ne(this,"error",function(e){_.oi(b);a.Pd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){MSc.ub.Ya.call(this);this.Ab.dispose()};
var NSc=function(a){_.si.call(this);this.H=a;this.Ab=new _.He(this);this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.nab);this.Ab.listen(this.H,"versionchange",this.Opb);this.Ab.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.Kf(NSc,_.si);_.g=NSc.prototype;_.g.Rsa=!0;_.g.nab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Opb=function(a){this.dispatchEvent(new OSc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Rsa&&(this.H.close(),this.Rsa=!1)};_.g.Hg=function(){return this.Rsa};_.g.getName=function(){return this.H.name};_.g.Ci=function(){return Number(this.H.version)};_.PSc=function(a,b,c){try{return new JSc(a.H.createObjectStore(b,c))}catch(d){throw _.tL(d,"creating object store "+b);}};
_.QSc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new MSc(d,a)}catch(e){throw _.tL(e,"creating transaction");}};NSc.prototype.Ya=function(){NSc.ub.Ya.call(this);this.Ab.dispose()};var OSc=function(a,b){_.gi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Kf(OSc,_.gi);
_.RSc=function(){void 0==oSc&&(oSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return oSc};
_.SSc=function(a,b,c,d){var e=new _.Wh;b=b?_.RSc().open(a,b):_.RSc().open(a);b.onsuccess=function(f){f=new NSc(f.target.result);e.callback(f)};b.onerror=function(f){e.Pd(_.sL(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new NSc(f.target.result);c(new OSc(f.oldVersion,f.newVersion),h,new MSc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new OSc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.TSc=function(a,b){this.ma=a;this.Ba=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.oa=_.Dac;this.H=""};_.t("sy1lq");
_.TSc.prototype.build=function(){var a=new _.pH(this.ma,this.ha?this.ha:_.Ibc,this.Ba,this.oa,this.V,this.W,!1,void 0,void 0,void 0,this.va?this.va:void 0);if(this.Ha){var b=this.Ha;_.C(b,1)||_.A(b,1,1);_.x(a.ka,1,b)}if(this.O){b=this.O;var c=_.E(a.ka,_.Jac,1),d=_.E(c,_.Hac,11);d||(d=new _.Hac);_.A(d,7,b);_.x(c,11,d);_.C(c,1)||_.A(c,1,1);_.x(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.Ja=this.H);this.Fa&&_.Wac(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.Gac),_.Pj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.Xac(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.USc=function(a,b){var c=_.E(a.H,_.Zxa,9);null==c&&(c=new _.Zxa);var d=_.C(b.H,10);d=_.A(c,5,d);b=_.C(b.H,12);_.A(d,2,b);_.x(a.H,9,c)};_.VSc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lr");
_.WSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.WSc.prototype.zA=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=_.oH(new _.nH,a.Zb());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.XSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.odc(this.O)};_.XSc.prototype.zA=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=_.oH(new _.nH,a.Zb());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var YSc=function(a){_.P(this,a,-1,null,null)};_.L(YSc,_.K);YSc.prototype.getEmail=function(){return _.F(this,3,"")};YSc.prototype.Dp=function(){return _.Q(this,3)};_.uL=function(a){return _.S(a,5,!1)};_.vL=function(a){return _.E(a,YSc,36,1)};_.ZSc=function(a){var b=_.ila(a);if("undefined"==typeof b)throw Error("X");var c=new _.gj(null,void 0);a=_.hla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.ema(c,e,f):c.add(e,f)}return c};_.t("sy1lb");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1la");
_.wL=function(a){_.P(this,a,-1,null,null)};_.L(_.wL,_.K);_.wL.prototype.we=function(){return _.E(this,_.of,1)};_.xL=function(a,b){return _.x(a,1,b)};_.wL.prototype.Mg=function(){return _.C(this,4)};_.wL.prototype.hpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var $Sc=function(a){_.P(this,a,-1,null,null)},eTc;_.L($Sc,_.K);var aTc=function(a){_.P(this,a,-1,null,null)};_.L(aTc,_.K);_.zL=function(a){_.P(this,a,-1,null,null)};_.L(_.zL,_.K);_.zL.prototype.a5=function(a){_.A(this,3,a)};_.zL.prototype.Kl=function(a){return _.x(this,5,a)};_.zL.prototype.getMimeType=function(){return _.C(this,7)};var bTc=[2],cTc=function(a){_.P(this,a,-1,bTc,null)};_.L(cTc,_.K);var dTc=function(a){_.P(this,a,-1,null,null)};_.L(dTc,_.K);eTc=function(a){this.H=a};
_.fTc=function(a){this.ud=a};_.fTc.prototype.getId=function(){return this.ud};var gTc=function(a){_.P(this,a,-1,null,null)};_.L(gTc,_.K);gTc.prototype.Ci=function(){return _.C(this,1)};var hTc=function(a){_.P(this,a,-1,null,null)};_.L(hTc,_.K);
var jTc=function(){this.H=this.W=!1;this.Oo=null;for(var a=this.V=this.O=0;a<_.vAa.length;a++){var b=_.vAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.W=!0;iTc(this,b);break}}},iTc=function(a,b){a.Oo=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.H=!0;a.Oo.onDisconnect.addListener(function(){a.H=!1});document.addEventListener("mousemove",function(c){a.O=c.clientX;a.V=c.clientY})};
jTc.prototype.zA=function(a){if(this.W&&this.H){var b=_.E(a,_.Nb,2)||new _.Nb,c=_.E(a,_.Mo,5)||new _.Mo,d=_.E(a,_.zL,3)||new _.zL;a=_.ck(a,_.vya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.Oo.postMessage({detail:{impression:e.value.Zb(),session_info:b.Zb(),session_invariants:c.Zb(),client_info:d.Zb()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.O,clientY:this.V}}))}};_.t("sy1le");
var kTc=function(){_.Fo.call(this)};_.L(kTc,_.Fo);kTc.prototype.uv=function(){return 1==_.C(_.E(this.H,$Sc,7),1)};var lTc=new _.Bo("high_frequency_builder");
var mTc=function(a,b,c){a=new _.ti(a);c.Ma(a);var d=new _.He(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var nTc=function(){_.Fo.call(this)};_.L(nTc,_.Fo);var oTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.qo;var e=new _.Xxa;e=_.A(e,1,d);_.x(b,1,e);_.A(b,3,1);_.x(a.H,8,b);_.A(a.H,12,c);_.A(a.H,13,c);_.A(a.H,4,d);_.A(a.H,3,c)}else 1==b&&(b=new _.qo,e=new _.Yxa,d=_.A(e,1,d),_.x(b,2,d),_.A(b,3,2),_.x(a.H,8,b),_.A(a.H,12,c),_.A(a.H,3,c));return a},pTc=new _.Bo("system_builder");
var qTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.dSc(b);this.Ma(this.H);this.Ab=new _.He(this);this.Ma(this.Ab);this.H.xu()&&this.Ab.listen(this.H,"visibilitychange",this.V)};_.L(qTc,_.N);qTc.prototype.V=function(){if(this.O.PP()){var a=this.H.DB()?102001:102E3;a=this.O.$F(a,0);this.O.xq(a)}};
var rTc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.L(rTc,_.N);_.g=rTc.prototype;_.g.xq=function(a){var b=this.H;_.A(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.jc()&&b.O.ye();return new eTc(a)};_.g.$F=function(a,b){a=oTc(sTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.ML=function(){return this.H.O};
_.g.SM=function(a){var b=this.H,c=_.Go(a,pTc),d=b.ha++,e=_.E(_.E(c.H,_.qo,8),_.Yxa,2),f=1E3*Date.now();_.A(e,2,f);_.A(c.H,13,d);b.ka.remove(_.C(a.H,12))};_.g.e_=function(){var a=this.O;if(!a.ha||a.H.V){var b=tTc(a.H,691).build();b=uTc(a.H,[b]);a.ka.zA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.f_=function(){var a=this.H,b=tTc(a,716);vTc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.ye();this.W&&(this.V=new qTc(this))};_.g.Jja=function(){this.O.W();return _.iL(Array.from(this.O.V)).then()};
_.g.PP=function(){var a=this.H;return a.va&&a.ma&&!0};
var wTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.mL(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(wTc,_.N);wTc.prototype.initialize=function(){mTc(this.ma,this.O.ye,this.O);mTc(36E5,this.va,this)};wTc.prototype.W=function(){var a=this;if(0!=this.H.H.jc()&&(!this.ha||this.H.V)){var b=xTc(this.H),c=this.oa.zA(b);c&&(_.Th(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
wTc.prototype.va=function(){var a=this.H,b=tTc(a,1153).build();a.H.add(b);this.O.ye()};
var yTc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(yTc,_.N);_.g=yTc.prototype;_.g.xq=function(a){a=this.H.xq(a);this.Jja();return a};_.g.$F=function(a,b){return this.H.$F(a,b)};_.g.ML=function(){return this.H.ML()};_.g.SM=function(a){return this.H.SM(a)};_.g.e_=function(){return this.H.e_()};_.g.f_=function(){return this.H.f_()};_.g.Jja=function(){return this.H.Jja()};_.g.PP=function(){return this.H.PP()};
var zTc=function(){};zTc.prototype.YQ=function(){return new kTc};
var ATc=function(){this.H=[]};ATc.prototype.add=function(a){this.H.push(a)};ATc.prototype.jc=function(){return this.H.length};
var BTc=function(){this.H={}};BTc.prototype.add=function(a){var b=_.C(a.H,12);this.H[b]=a};BTc.prototype.remove=function(a){delete this.H[a]};
var CTc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new BTc;this.H=new ATc;this.ma=this.va=this.V=!1},sTc=function(a,b){a=_.Go((new _.Fo).initialize(new _.vya,a.Ba),pTc);_.A(a.H,10,b);return a},xTc=function(a){var b=a.H,c=b.H;b.H=[];return uTc(a,c)},uTc=function(a,b){var c=new _.Eza;var d=a.O.W.clone();c=_.x(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.x(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.E(b[h],_.zo,5);if(k&&_.E(k,_.$Rc,1)){k=_.E(k,_.$Rc,1);_.Q(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.E(k,aTc,20);if(void 0!==k&&void 0===f){f=new hTc;var l=_.R(k,2);void 0!==l&&_.A(f,2,l);k=_.R(k,1);void 0!==k&&_.A(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.zL),void 0!==e&&_.A(d,6,e),void 0!==f&&_.x(d,13,f);(e=d)&&_.x(c,3,e);a=a.O.ha.clone();_.x(c,4,a);_.Cb(c,1,b);return c},tTc=function(a,b){var c=oTc(sTc(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 dTc;k=_.A(p,1,k);l=_.C(l.H,10);l=_.A(k,2,l);f.push(l)}d=f}716!=b&&(b=a.oa,_.A(c.H,6,a.W),e=new cTc,b=_.A(e,1,b),d&&_.Cb(b,2,d),d=_.Ho(c),_.x(d,3,b));vTc(a,c);return c},vTc=function(a,b){a.W=_.C(b.H,12);a.oa=_.C(_.E(_.E(b.H,_.qo,8),_.Xxa,1),1)};
var DTc=function(){};DTc.prototype.YQ=function(){return new nTc};
var ETc=function(){this.H=this.O=null};ETc.prototype.build=function(){null==this.H&&(this.H=new _.Yya);_.Jo(this.H,pTc,new DTc);_.Jo(this.H,lTc,new zTc);var a=this.H;var b=this.O;if(!_.Q(_.FTc(b),1)){var c=_.FTc(b),d=new _.pza;_.x(c,1,d)}b=_.E(_.FTc(b),_.pza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new CTc(this.O,this.H)};
var GTc=function(){this.W=new _.Nb;this.O=null;this.ha=new gTc;_.A(this.ha,1,6);this.H=this.V=null};GTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.HTc=function(a,b){_.A(a.W,2,b);return a};_.ITc=function(a,b){if(null==a.V){a.V=new _.Cza;var c=_.FTc(a);_.x(c,2,a.V)}_.A(a.V,1,b)};_.FTc=function(a){null==a.O&&(a.O=new _.Mo);return a.O};_.JTc=function(a){null==a.H&&(a.H=new _.zL);return a.H};
_.KTc=function(){this.H=this.ha=null;this.W=new GTc;this.V=null;this.ka=this.ma=!1;this.O=null};_.LTc=function(a,b){a.ha=b;return a};_.MTc=function(a,b){a.H=b;return a};_.NTc=function(a,b){a.V=b;return a};_.KTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.OTc=function(a,b){_.A(a.W.W,6,b);return a};
_.KTc.prototype.build=function(){var a=new ETc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new jTc;this.H=this.ha=b}b=new wTc(a,this.ha,this.H,this.ma,this.O);a=new rTc(a,b,!1);this.ka&&(a=new yTc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.AL=function(a){return a instanceof Error};_.BL=function(a){return _.S(a,84,!1)};_.t("sy1l3");
_.PTc=function(a){_.P(this,a,-1,null,null)};_.L(_.PTc,_.K);
_.CL=function(a){_.P(this,a,-1,null,null)};_.L(_.CL,_.K);_.CL.prototype.getOptions=function(){return _.E(this,_.PTc,1)};_.CL.prototype.Yn=function(){return _.C(this,2)};_.CL.prototype.yd=function(){return _.E(this,_.bf,3)};
_.QTc=function(a){_.P(this,a,-1,null,_.DL)};_.L(_.QTc,_.K);_.DL=[[3,4,5,6,7,8,9,10]];
var EL,STc;EL={};_.RTc=(EL[1]="modifiedDate",EL[2]="modifiedByMeDate",EL[3]="quotaBytesUsed",EL[4]="title",EL[6]="lastViewedByMeDate",EL[10]="createdDate",EL[7]="sharedWithMeDate",EL[9]="starred",EL[11]="recency",EL[5]="relevance",EL[12]="trashedDate",EL[13]="lastViewedByMeDate",EL);STc={};_.TTc=(STc[1]="asc",STc[2]="desc",STc);
_.UTc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VTc=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():_.Hf();this.date=new Date(a)};_.Kf(_.VTc,_.xt);_.g=_.VTc.prototype;_.g.clone=function(){var a=new _.VTc(this.date);a.OG=this.OG;a.EV=this.EV;return a};_.g.add=function(a){(a.W||a.V)&&_.wt.prototype.add.call(this,new _.vt(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=_.xt.prototype.getUTCFullYear;
_.g.getMonth=_.xt.prototype.getUTCMonth;_.g.getDate=_.xt.prototype.getUTCDate;_.g.getHours=_.xt.prototype.getUTCHours;_.g.getMinutes=_.xt.prototype.getUTCMinutes;_.g.getSeconds=_.xt.prototype.e$a;_.g.getMilliseconds=_.xt.prototype.d$a;_.g.getDay=_.xt.prototype.getUTCDay;_.g.setFullYear=_.xt.prototype.setUTCFullYear;_.g.setMonth=_.xt.prototype.setUTCMonth;_.g.setDate=_.xt.prototype.setUTCDate;_.g.setHours=_.xt.prototype.$La;_.g.setMinutes=_.xt.prototype.aMa;_.g.setSeconds=_.xt.prototype.bMa;
_.g.setMilliseconds=_.xt.prototype.f$a;
var WTc,YTc;WTc={};_.XTc=(WTc[1]="0",WTc[2]="1",WTc[3]="2",WTc);YTc={};_.ZTc=(YTc[1]="asc",YTc[2]="desc",YTc);
_.$Tc=new _.Bo("drive_dataservice_builder");
_.aUc=_.$g&&0>_.hg(_.ch,"533");
_.bUc=new _.fTc("drive_dataservice_invariants");
_.cUc=new Map([[[1],1],[[6],7],[[2],2]]);_.dUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.eUc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.BL(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.fUc=new Map([[36,function(a){return _.S(a,11,!1)}],[34,function(a){return _.S(a,9,!1)}],[25,function(a){return _.S(a,1,!1)}],[33,function(a){return _.S(a,8,!1)}],[26,function(a){return _.S(a,2,!1)}],[27,function(a){return _.S(a,3,!1)}],[29,function(a){return _.S(a,4,!1)}],[32,function(a){return _.S(a,7,!1)}],[40,function(a){return _.S(a,15,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,function(a){return _.S(a,10,!1)}],[38,function(a){return _.S(a,13,!1)}],[39,
function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.gUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.hUc=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]]);_.iUc=new Map([[[2],3],[[1],2],[[0],1]]);_.jUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.kUc=new Map([[[_.sSc],1],[[_.tSc],2],[[_.uSc],3],[[_.vSc],4],[[_.wSc],5],[[_.xSc],6],[[_.ySc],7],[[_.zSc],8],[[_.ASc],10],[[_.BSc],11],[[_.CSc],12],[[_.DSc],13]]);_.lUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1l8");
_.FL=function(a){_.P(this,a,-1,mUc,null)};_.L(_.FL,_.K);_.FL.prototype.Ic=function(){return _.C(this,2)};_.GL=function(a,b){return _.A(a,2,b)};_.g=_.FL.prototype;_.g.qk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.E(this,_.Wk,4)};_.g.setItem=function(a){return _.x(this,4,a)};_.g.Bc=function(){return _.C(this,7)};_.g.q$=function(){return _.C(this,13)};_.g.RHa=function(a){_.A(this,13,a)};var mUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1l6");
_.EF=function(a){_.P(this,a,-1,XSb,null)};_.L(_.EF,_.K);_.EF.prototype.getId=function(){return _.C(this,1)};_.EF.prototype.Pb=function(a){return _.A(this,1,a)};_.EF.prototype.Wz=function(){return _.C(this,2)};var XSb=[5,6,9,10,12,13,15,16];
var YSb;_.FF=function(a){_.P(this,a,-1,YSb,null)};_.L(_.FF,_.K);_.FF.prototype.en=function(){return _.C(this,1)};_.ZSb=function(a,b){return _.A(a,1,b)};YSb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var qUc;_.JL=function(a){if(a instanceof _.mc)return a;if(_.AL(a)){if(a=_.Jsb(a))return a}else a="string"===typeof a?_.XDa(a):_.XDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.HL(a,2);_.IL(a,6);return a};_.nUc=function(a){var b=a.Fk();a=a.lG();return 15===b||32===b||33===b||401===a};_.oUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.pUc=function(a){_.P(this,a,-1,null,null)};_.L(_.pUc,_.K);
_.KL=function(a){return _.Lj(a,1,0)};_.LL=function(a){return _.E(a,_.pUc,4)};_.HL=function(a,b){return _.A(a,1,b)};_.IL=function(a,b){return _.A(a,2,b)};qUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.ML=function(a){_.P(this,a,-1,qUc,null)};_.L(_.ML,_.K);_.g=_.ML.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Se=function(){return _.C(this,3)};
_.g.um=function(a){return _.A(this,3,a)};_.g.Ev=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Pn=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.C(this,6)};_.g.EE=function(a,b){_.ak(this,8,a,b)};_.g.Ti=function(){return _.C(this,12)};_.g.we=function(){return _.E(this,_.of,17)};_.g.Ci=function(){return _.C(this,20)};_.g.Bc=function(){return _.C(this,21)};_.NL=function(a,b){return _.A(a,16,b)};_.t("sy1l7");
_.OL=function(a){_.P(this,a,-1,rUc,null)};_.L(_.OL,_.K);_.OL.prototype.eR=function(){return _.Lj(this,2,100)};_.OL.prototype.VS=function(a){return _.A(this,2,a)};_.OL.prototype.we=function(){return _.E(this,_.of,6)};_.OL.prototype.Bc=function(){return _.C(this,8)};var rUc=[5];
var sUc;sUc={};_.tUc=(sUc[0]="/drive/v2internal",sUc[1]="/drive/v2internal.corp",sUc[2]="/drive/v2internal.scary",sUc[4]="/drive/v2internal.scary",sUc[5]="/drive/v2beta",sUc[6]="/drive/v2.1beta",sUc);
_.uUc=new Set([0,1,2,3]);
_.vUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.wUc=_.A(new _.ML,15,!0);_.xUc=_.NL(new _.ML,!0);_.yUc=_.NL(new _.ML,!1);
_.zUc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (full, partial)."],["InitialChanges","Status of initial catchup changelog requests."],["SdkBackfillEnabled","Whether backfill via Drive SDK is enabled."],["UploadFailureCount","Number of failed uploads."],["UploadSuccessCount","Number of successful uploads."],["UploadTotalCount","Number of initiated uploads."],["InitialViewDataLoaded",
"Whether initial view data was loaded before the initial query."]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.BUc=function(a){for(var b in a)delete a[b]};_.CUc=function(a){a=_.Sf(a);return 0===a.length?_.sha:new _.og(a,_.qha)};_.DUc=function(a,b){a=_.Ii(a);b=_.Ii(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy1lt");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.PL=function(a,b){return _.A(a,82,b)};_.QL=function(a){return _.A(a,3,!0)};_.IUc=function(a,b){return _.A(a,7,b)};_.t("sy1l4");
_.JUc=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
*/
_.RL={N_:"Versions",s7:"Metadata",i6:"Data",FU:"Offline"};_.KUc=new Map([[_.RL.N_,"versionKey"],[_.RL.s7,"k"]]);_.LUc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var PUc;_.MUc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.NUc=function(a){return(a=a&&_.MUc(a))&&a["x-guploader-uploadid"]};_.OUc=function(a){return(a=a&&_.MUc(a))&&a["x-google-trace"]};PUc=[6];_.SL=function(a){_.P(this,a,-1,PUc,null)};_.L(_.SL,_.K);_.TL=function(a,b){return _.A(a,14,b)};_.t("sy1lv");
var QUc,SUc;
_.RUc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200===a||204===a||308===a||206===a)return null;e=QUc(e)||new _.mc;_.A(e,8,!0);k&&(k=_.bj(new _.aj(k),void 0).toString(),_.A(e,19,k));e.lG()||_.A(e,15,a||f);e.getMessage()||_.Tp(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.C(e,4)||_.Up(e,d);e.Fk()||(5===f?_.TL(e,7):0!==a||d?403===a?_.TL(e,22):503===a||429===a?_.TL(e,24):(_.Qj(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.TL(e,2));e.mda(_.NUc(c));e.cda(_.OUc(c));
return e};QUc=function(a){if(!_.Ca(a))return null;var b=new _.mc,c=a.error;if(!c)return _.Up(b,JSON.stringify(a)),null;_.A(b,15,c.code);_.Tp(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=SUc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.Up(b,a);return b};
SUc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,expiredMoveValidationToken:66,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,
teamDriveFileLimitExceeded:40,teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.w();

}catch(e){_._DumpException(e)}
try{
_.TUc=function(a,b){return _.A(a,1,b)};_.UUc=function(a,b){return _.x(a,1,b)};_.VUc=function(a,b){return _.A(a,2,b)};_.WUc=function(a,b){return _.x(a,3,b)};_.t("sy1lw");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.XUc=function(a,b,c){c&&(a=_.Lg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Kg(a));return a};_.YUc=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("sy1m7");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var $Uc,aVc,eVc,iVc,jVc,kVc,CVc,MM,DVc,EVc,LVc,gVc,rWc,fVc,HWc,IWc,PWc,RWc,TWc,VWc,WWc,XWc,ZWc,pXc,qXc,tXc,uXc,vXc,xXc,yXc,AXc,DXc,vVc,HXc,wVc,IXc,JXc,KXc,iN,kN,MXc,OXc,RXc,SXc,TXc,UXc,VXc,WXc,ZXc,aYc,bYc,dYc,eYc,tYc,sYc,wYc,yYc,zYc,AYc,FYc,IYc,KYc,LYc,RYc,QYc,PYc,NYc,OYc,MVc,ZYc,$Yc,VYc,aZc,WYc,FVc,bZc,GVc,HVc,IVc,JVc,KVc,cZc,eZc;_.UL=function(a,b,c){var d=new _.mc,e=_.gka(_.UL);_.A(d,20,e);_.IL(d,a);_.HL(d,b?b:2);c&&_.TL(d,c);return d};
_.VL=function(a){var b;a instanceof _.mc?b=new _.nc(null,a):_.AL(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("ob`"+a);b.stack||(b.stack=_.gka(_.VL));return b};_.WL=function(a){throw _.UA(a);};$Uc=function(a){return 7===a.Fk()||24===a.Qp()&&(a=a.lG(),503===a||429===a)?!0:!1};aVc=function(a,b){return b?b+"("+a+")":a};
_.XL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.nBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.bVc.includes(p)){var q=_.dbb.get(p);if(q){var r=_.gbb[p];a.MG&&r&&(q=r);a.tr&&(a.MG?(p=_.fbb[p])&&(q=p):(p=_.ebb[p])&&(q=p));q.split(",").forEach(function(u){var y=_.jia(u,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={b6:f.b6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.b6=[];l.forEach(function(p){return function(q){p.b6.push(q)}}(f));"owners"==k&&b&&f.b6.push("kind");e.push(aVc(f.b6.join(","),k))}return aVc(e.join(","),c)};_.cVc=function(a){var b=new _.Io;b.append(_.XL(a,!0));return b.toString()};_.dVc=function(a,b){return a.filter(function(c){return b.includes(c)})};eVc=function(a){a=a.filter(function(b){return!_.dbb.has(b)});if(a.length)throw Error("Oc`"+a.join(", "));};
_.hVc=function(a){if(a){var b=a.getMimeType();b&&_.MF(a,b.toLowerCase());fVc(a,_.ck(a,gVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};iVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};jVc=function(a,b){b&&(_.ij(a,"openDrive",!!_.S(b,2,!1)),_.ij(a,"reason",_.C(b,1)||0),_.ij(a,"syncType",_.C(b,3)||0),_.ij(a,"errorRecovery",!!_.S(b,4,!1)))};
kVc=function(a){a=_.Tp(_.TL(_.HL(new _.mc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.UA(a);};
CVc=function(a){if(a instanceof _.YL)return"request access";if(a instanceof _.ZL)return"admin migrate to TD";if(a instanceof _.$L)return"authorize app";if(a instanceof _.aM)return"copy item";if(a instanceof _.bM)return"change category links";if(a instanceof _.cM)return"create item";if(a instanceof _.dM)return"create ws";if("undefined"!=typeof _.eM&&a instanceof _.eM)return"delete app";if("undefined"!=typeof _.fM&&a instanceof _.fM)return"delete backup";if(a instanceof _.gM)return"delete item";if("undefined"!=
typeof _.hM&&a instanceof _.hM)return"delete permission";if(a instanceof _.iM)return"delete revision";if(a instanceof _.jM)return"delete TD";if(a instanceof _.eD)return"delete pref";if(a instanceof _.kM)return"delete ws";if(a instanceof _.lM)return"download item";if(a instanceof _.mM||a instanceof _.nM)return"empty trash";if(a instanceof _.oM)return"find by ID";if(a instanceof _.Sz)return"find by IDs";if(a instanceof _.lVc)return"item export start";if("undefined"!=typeof _.pM&&a instanceof _.pM)return"get app";
if("undefined"!=typeof _.qM&&a instanceof _.qM)return"insert app";if("undefined"!=typeof _.rM&&a instanceof _.rM)return"insert permission";if(a instanceof _.CL)return a=a.yd(),_.sM(a)?"quick access item query":_.tM(a)?"people predict item query":_.uM(a)?"drive priority query":"item query";if("undefined"!=typeof _.vM&&a instanceof _.vM)return"list android backup items request";if(a instanceof _.wM){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 _.mVc&&a instanceof _.mVc?"list backups":a instanceof _.OL?"list changes":a instanceof _.xM?"list permissions":"undefined"!=typeof _.yM&&a instanceof _.yM?"list revisions":a instanceof _.zM?"partial download item":a instanceof _.AM?"people api":a instanceof _.GF?"get published category":"undefined"!=typeof _.BM&&a instanceof _.BM?"get remaining changes":a instanceof _.CM?"remove item":
"undefined"!=typeof _.DM&&a instanceof _.DM?"reparent item":a instanceof _.EM?"restore item":a instanceof _.HF?"list suggested workspace items":a instanceof _.IF?"list suggested workspaces":"undefined"!=typeof _.FM&&a instanceof _.FM?"update app":a instanceof _.GM?"update category metadata":a instanceof _.ML?"update item":a instanceof _.HM?"update revision":a instanceof _.IM?"update TD":a instanceof _.fD?"update pref":a instanceof _.JM?"update ws":a instanceof _.wL?"get account":a instanceof _.LF?
"get workspace":a instanceof _.nVc?"list activity":a instanceof _.oVc?"list category metadata":a instanceof _.pVc?"create TD":"undefined"!=typeof _.qVc&&a instanceof _.qVc?"item export cancel":"undefined"!=typeof _.rVc&&a instanceof _.rVc?"item export status":"undefined"!=typeof _.sVc&&a instanceof _.sVc?"generate cse token":"undefined"!=typeof _.tVc&&a instanceof _.tVc?"get largest change ID":a instanceof _.dD?"list prefs":a instanceof _.KM?"multipart upload":a instanceof _.uVc?"list published categories":
a instanceof vVc?"init resumable upload":a instanceof wVc?"resumable upload chunk":a instanceof _.xVc?"resumable upload":a instanceof _.JF?"get TD":"undefined"!=typeof _.yVc&&a instanceof _.yVc?"move TD preflight":a instanceof _.LM?"list TDs":"undefined"!=typeof _.zVc&&a instanceof _.zVc?"get TD stats":a instanceof _.AVc?"test connection":"undefined"!=typeof _.BVc&&a instanceof _.BVc?"list workspaces":"unknown"};
MM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};DVc=function(a){if(a instanceof _.cM||a instanceof _.KM||a instanceof _.xVc||a instanceof vVc||a instanceof wVc)return(new _.NM).Cc(8);throw Error("af");};EVc=function(a){if(a instanceof _.ML){var b=_.Rj(_.Qj(a.clone(),1),17);b=_.ik(b,_.wUc)}else b=!1;b||(a instanceof _.ML?(a=_.Rj(_.Qj(a.clone(),1),17),b=_.ik(a,_.xUc)||_.ik(a,_.yUc)):b=!1);return b?!1:!0};
_.OM=function(a){return FVc.includes(a.constructor)?EVc(a):!1};LVc=function(a,b){if(GVc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&HVc.includes(a.constructor))return!0;var c=_.LL(b);if(c&&!_.S(c,7,!1)&&IVc.includes(a.constructor)&&!_.PM(a)||_.S(b,56,!1)&&_.PM(a)||_.S(b,57,!1)&&JVc.includes(a.constructor)||!(!_.S(b,53,!1)||HVc.includes(a.constructor)||IVc.includes(a.constructor)||_.PM(a)||JVc.includes(a.constructor)||KVc.includes(a.constructor)))return!0}return!1};
_.QM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(MVc(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)!==_.C(d,2)&&kVc(h):(a.set(h,_.C(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.Jz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.NVc=function(a){var b=new _.Dk;return _.A(b,1,a)};_.OVc=function(a,b){return _.A(a,7,b)};_.PVc=function(a,b){return _.A(a,8,b)};
_.QVc=function(a,b){return _.A(a,11,b)};_.RVc=function(a,b){return _.A(a,1,b)};_.SVc=function(a,b){return _.A(a,4,b)};_.TVc=function(a,b){return _.A(a,5,b)};_.UVc=function(a,b){return _.A(a,6,b)};_.VVc=function(a,b){return _.A(a,7,b)};_.WVc=function(a,b){return _.A(a,8,b)};_.XVc=function(a,b){return _.A(a,9,b)};_.YVc=function(a,b){return _.A(a,10,b)};_.ZVc=function(a,b){return _.A(a,11,b)};_.$Vc=function(a,b){return _.A(a,12,b)};_.aWc=function(a,b){return _.A(a,16,b)};
_.bWc=function(a,b){return _.A(a,17,b)};_.cWc=function(a,b){return _.A(a,20,b)};_.dWc=function(a,b){return _.A(a,21,b)};_.eWc=function(a,b){return _.A(a,31,b)};_.fWc=function(a,b){return _.A(a,32,b)};_.gWc=function(a,b){return _.A(a,33,b)};_.hWc=function(a,b){return _.A(a,42,b)};_.iWc=function(a,b){return _.A(a,43,b)};_.jWc=function(a,b){return _.A(a,46,b)};_.kWc=function(a,b){return _.A(a,47,b)};_.lWc=function(a,b){return _.A(a,48,b)};_.RM=function(a){_.P(this,a,-1,null,null)};_.L(_.RM,_.K);
_.mWc=function(a){_.P(this,a,-1,null,null)};_.L(_.mWc,_.K);_.nWc=function(a,b){return _.A(a,2,b)};gVc=function(a){_.P(this,a,-1,null,null)};_.L(gVc,_.K);gVc.prototype.getMimeType=function(){return _.C(this,1)};gVc.prototype.getUrl=function(){return _.C(this,2)};_.SM=function(a){_.P(this,a,-1,null,null)};_.L(_.SM,_.K);_.SM.prototype.Pe=function(){return _.C(this,2)};_.SM.prototype.xh=function(a){return _.A(this,2,a)};_.SM.prototype.wh=function(a){return _.A(this,3,a)};
_.oWc=function(a,b){return _.A(a,1,b)};_.pWc=function(a,b){return _.Cb(a,2,b)};_.qWc=function(a,b){return _.Cb(a,3,b)};rWc=[2];_.TM=function(a){_.P(this,a,-1,rWc,null)};_.L(_.TM,_.K);_.TM.prototype.Se=function(){return _.C(this,1)};_.TM.prototype.um=function(a){return _.A(this,1,a)};_.TM.prototype.lva=function(a,b){return _.ak(this,2,a,b)};_.UM=function(a){_.P(this,a,-1,null,null)};_.L(_.UM,_.K);_.UM.prototype.Pe=function(){return _.C(this,1)};_.UM.prototype.xh=function(a){return _.A(this,1,a)};
_.UM.prototype.wh=function(a){return _.A(this,2,a)};_.VM=function(a,b){return _.Pj(a,2,b)};_.sWc=function(a,b){_.A(a,8,b)};_.tWc=function(a,b){return _.Cb(a,15,b)};_.uWc=function(a,b){return _.x(a,17,b)};_.vWc=function(a,b){return _.A(a,19,b)};_.wWc=function(a,b){_.A(a,26,b)};_.xWc=function(a,b){_.A(a,31,b)};_.yWc=function(a,b){_.A(a,34,b)};_.zWc=function(a,b){return _.A(a,44,b)};_.AWc=function(a,b){return _.A(a,52,b)};fVc=function(a,b){_.Cb(a,58,b)};_.BWc=function(a,b){return _.A(a,72,b)};
_.WM=function(a,b){return _.x(a,84,b)};_.CWc=function(a,b){_.x(a,85,b)};_.DWc=function(a,b){return _.A(a,92,b)};_.EWc=function(a,b){return _.A(a,93,b)};_.FWc=function(a,b){return _.A(a,136,b)};_.GWc=function(a){_.P(this,a,-1,null,null)};_.L(_.GWc,_.K);_.XM=function(a){return _.S(a,2,!1)};HWc=[3];IWc=function(a){_.P(this,a,-1,HWc,null)};_.L(IWc,_.K);
IWc.prototype.Vi=function(){var a=_.C(this,3);this.Ta||(this.Ta={});if(!this.Ta[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ta[3]=!0}_.hb(this)&&_.ib(a);return a};var JWc=[3],KWc=function(a){_.P(this,a,-1,JWc,null)};_.L(KWc,_.K);KWc.prototype.Vi=function(){return _.Pd(this,3)};var LWc=[3],MWc=function(a){_.P(this,a,-1,LWc,null)};_.L(MWc,_.K);MWc.prototype.Vi=function(){return _.Pd(this,3)};_.YM=function(a){_.P(this,a,-1,null,null)};_.L(_.YM,_.K);_.YM.prototype.Xa=function(){return _.C(this,1)};
_.YM.prototype.Jb=function(a){return _.A(this,1,a)};_.YM.prototype.zi=function(){return _.Qj(this,1)};_.YM.prototype.ih=function(){return _.Q(this,1)};_.ZM=function(a){return _.Hj(a,45,1)};_.sM=function(a){return _.S(a,47,!1)};_.tM=function(a){return _.S(a,49,!1)};_.uM=function(a){return _.S(a,52,!1)};_.$M=function(a){return _.F(a,2,"")};_.NWc=function(a,b){return _.Pj(a,27,b)};_.aN=function(a){return _.Hj(a,39,0)};_.bN=function(a){return _.S(a,40,!1)};
_.OWc=function(a){return _.wt.prototype.qP.call(a,!0)+"T"+_.Pg(a.getHours(),2)+":"+_.Pg(a.getMinutes(),2)+":"+_.Pg(a.getSeconds(),2)+a.J$()};PWc=function(a,b){return _.ISc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.QWc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.tL(c,"deleting object store "+b);}};RWc=function(){var a=new _.KTc;a.O=12E4;a.ma=!0;return a};_.SWc=function(a){_.P(this,a,-1,null,null)};_.L(_.SWc,_.K);TWc=[3,4,10,18,19,28];
_.cM=function(a){_.P(this,a,-1,TWc,null)};_.L(_.cM,_.K);_.g=_.cM.prototype;_.g.getMimeType=function(){return _.C(this,1)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.EE=function(a,b){_.ak(this,3,a,b)};_.g.we=function(){return _.E(this,_.of,7)};_.g.fj=function(){return _.C(this,9)};_.g.Bc=function(){return _.C(this,14)};_.g.Kz=function(){return _.E(this,_.SWc,15)};_.g.i2=function(){return _.C(this,21)};_.g.Ic=function(){return _.C(this,23)};
_.cN=function(a,b){return _.A(a,1,b)};_.dN=function(a,b){return _.Pj(a,3,b)};_.UWc=function(a,b){return _.A(a,12,b)};_.gM=function(a){_.P(this,a,-1,null,null)};_.L(_.gM,_.K);_.gM.prototype.getId=function(){return _.C(this,1)};_.gM.prototype.Pb=function(a){return _.A(this,1,a)};_.gM.prototype.we=function(){return _.E(this,_.of,3)};_.jM=function(a){_.P(this,a,-1,null,null)};_.L(_.jM,_.K);_.jM.prototype.getId=function(){return _.C(this,1)};_.jM.prototype.Pb=function(a){return _.A(this,1,a)};
_.jM.prototype.we=function(){return _.E(this,_.of,2)};VWc=[7,8];_.IM=function(a){_.P(this,a,-1,VWc,null)};_.L(_.IM,_.K);_.g=_.IM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,4)};_.g.Fm=function(){return _.R(this,15)};_.LM=function(a){_.P(this,a,-1,null,null)};_.L(_.LM,_.K);
_.LM.prototype.getOptions=function(){return _.E(this,_.PTc,1)};_.LM.prototype.Yn=function(){return _.C(this,2)};_.LM.prototype.yd=function(){return _.E(this,_.oL,3)};WWc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};XWc=null;_.YWc=function(a){if(_.oma)return _.n.atob(a);var b="";_.qma(a,function(c){b+=String.fromCharCode(c)});return b};ZWc=function(){this.O=0;this.H=[]};_.g=ZWc.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=$Wc(this,a);return this.H[a]};_.g.set=function(a,b){a=$Wc(this,a);this.H[a]=b};_.g.jc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.Fg=function(){var a=this.jc(),b=this.jc(),c=[];for(a=this.jc()-a;a<b;a++)c.push(this.get(a));return c};_.g.kf=function(){for(var a=[],b=this.jc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ce=function(a){return a<this.jc()};
_.g.Lq=function(a){for(var b=this.jc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var $Wc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},aXc=function(a){_.P(this,a,-1,null,null)};_.L(aXc,_.K);_.bXc=function(a){_.P(this,a,-1,null,null)};_.L(_.bXc,_.K);_.bXc.prototype.We=function(){return _.C(this,1)};_.bXc.prototype.kj=function(a){return _.A(this,1,a)};_.bXc.prototype.Bb=function(){return _.C(this,4)};
_.bXc.prototype.Cc=function(a){return _.A(this,4,a)};var cXc=function(a){_.P(this,a,-1,null,null)};_.L(cXc,_.K);cXc.prototype.Bo=function(){return _.C(this,5)};var dXc=function(a,b){_.A(a,6,b)},eXc=function(a){_.P(this,a,-1,null,null)};_.L(eXc,_.K);_.g=eXc.prototype;_.g.Shb=function(a){_.A(this,1,a)};_.g.GOb=function(a){_.A(this,2,a)};_.g.yy=function(){return _.R(this,3)};_.g.Thb=function(a){_.A(this,3,a)};_.g.nOb=function(a){_.A(this,4,a)};var fXc=function(a){_.P(this,a,-1,null,null)};_.L(fXc,_.K);
fXc.prototype.yy=function(){return _.R(this,2)};var gXc=function(a,b){return _.A(a,2,b)},hXc=function(a,b){_.A(a,3,b)};fXc.prototype.rB=function(){return _.C(this,6)};var iXc=function(a,b){return _.A(a,8,b)},jXc=function(a){_.P(this,a,-1,null,null)};_.L(jXc,_.K);var kXc=function(a){_.P(this,a,-1,null,null)};_.L(kXc,_.K);kXc.prototype.yy=function(){return _.R(this,1)};kXc.prototype.Bo=function(){return _.C(this,5)};kXc.prototype.Pm=function(){return _.C(this,6)};
kXc.prototype.Gt=function(a){return _.A(this,6,a)};var lXc=function(a){_.P(this,a,-1,null,null)};_.L(lXc,_.K);var mXc=function(a,b){_.A(a,4,b)},nXc=function(a){_.P(this,a,-1,null,null)};_.L(nXc,_.K);_.g=nXc.prototype;_.g.yd=function(){return _.E(this,_.bXc,1)};_.g.getState=function(){return _.E(this,cXc,2)};_.g.Nd=function(a){return _.x(this,2,a)};_.g.vt=function(){return _.Q(this,2)};_.g.aF=function(){return _.E(this,kXc,16)};var oXc=function(a){_.P(this,a,-1,null,null)};_.L(oXc,_.K);
oXc.prototype.getEnvironment=function(){return _.C(this,2)};oXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.bVc=[42,1005,20,50,18,1003,1002];pXc=[73,71];_.eN=function(a){_.P(this,a,-1,null,null)};_.L(_.eN,_.K);_.eN.prototype.getId=function(){return _.C(this,1)};_.eN.prototype.Pb=function(a){return _.A(this,1,a)};_.eN.prototype.getMimeType=function(){return _.C(this,2)};_.eN.prototype.eG=function(){return _.C(this,8)};qXc=[22];_.NM=function(a){_.P(this,a,-1,qXc,null)};_.L(_.NM,_.K);
_.g=_.NM.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.getItem=function(){return _.E(this,_.Wk,2)};_.g.setItem=function(a){return _.x(this,2,a)};_.g.$j=function(){return _.C(this,3)};_.g.Ic=function(){return _.C(this,5)};_.rXc=function(a,b){return _.A(a,5,b)};_.g=_.NM.prototype;_.g.dK=function(){return _.C(this,7)};_.g.mda=function(a){return _.A(this,7,a)};_.g.Ufa=function(a){_.A(this,9,a)};_.g.EMa=function(a){_.A(this,10,a)};
_.g.hN=function(){return _.C(this,16)};_.g.cda=function(a){return _.A(this,16,a)};var sXc=function(a){_.gi.call(this,a);this.connectionState=_.$sb.get(a)};_.L(sXc,_.gi);tXc=function(a){var b=new _.Wh;a.listen("loadend",_.tb(function(c,d){var e=d.ak(),f=d.getError();null==e||f?c.Pd(f):c.callback(e);d.dispose()},b,a));return b};_.YL=function(a){_.P(this,a,-1,null,null)};_.L(_.YL,_.K);_.YL.prototype.Ic=function(){return _.C(this,1)};_.ZL=function(a){_.P(this,a,-1,null,null)};_.L(_.ZL,_.K);
_.ZL.prototype.getId=function(){return _.C(this,1)};_.ZL.prototype.Pb=function(a){return _.A(this,1,a)};_.ZL.prototype.Ik=function(){return _.C(this,2)};_.$L=function(a){_.P(this,a,-1,null,null)};_.L(_.$L,_.K);_.$L.prototype.Ah=function(){return _.C(this,1)};_.$L.prototype.Ic=function(){return _.C(this,2)};_.$L.prototype.we=function(){return _.E(this,_.of,4)};uXc=[3,7];_.aM=function(a){_.P(this,a,-1,uXc,null)};_.L(_.aM,_.K);_.g=_.aM.prototype;_.g.getId=function(){return _.C(this,1)};
_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.EE=function(a,b){_.ak(this,3,a,b)};_.g.we=function(){return _.E(this,_.of,5)};_.dM=function(a){_.P(this,a,-1,null,null)};_.L(_.dM,_.K);_.dM.prototype.getTitle=function(){return _.C(this,1)};_.dM.prototype.setTitle=function(a){return _.A(this,1,a)};_.dM.prototype.we=function(){return _.E(this,_.of,2)};_.iM=function(a){_.P(this,a,-1,null,null)};_.L(_.iM,_.K);
_.iM.prototype.Ic=function(){return _.C(this,1)};_.iM.prototype.we=function(){return _.E(this,_.of,3)};_.kM=function(a){_.P(this,a,-1,null,null)};_.L(_.kM,_.K);_.kM.prototype.getId=function(){return _.C(this,1)};_.kM.prototype.Pb=function(a){return _.A(this,1,a)};_.kM.prototype.we=function(){return _.E(this,_.of,3)};_.mM=function(a){_.P(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.we=function(){return _.E(this,_.of,1)};_.CM=function(a){_.P(this,a,-1,null,null)};_.L(_.CM,_.K);_.g=_.CM.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Ag=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};_.EM=function(a){_.P(this,a,-1,null,null)};_.L(_.EM,_.K);_.g=_.EM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Ag=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};
_.HM=function(a){_.P(this,a,-1,null,null)};_.L(_.HM,_.K);_.HM.prototype.Ic=function(){return _.C(this,1)};_.HM.prototype.we=function(){return _.E(this,_.of,4)};_.JM=function(a){_.P(this,a,-1,null,null)};_.L(_.JM,_.K);_.g=_.JM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.C(this,3)};_.g.Nd=function(a){return _.A(this,3,a)};
_.g.vt=function(){return _.Q(this,3)};_.g.we=function(){return _.E(this,_.of,5)};vXc=[2,3];_.bM=function(a){_.P(this,a,-1,vXc,null)};_.L(_.bM,_.K);_.bM.prototype.Bc=function(){return _.C(this,1)};_.bM.prototype.we=function(){return _.E(this,_.of,4)};_.wXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};xXc=[3,4];_.wM=function(a){_.P(this,a,-1,xXc,null)};_.L(_.wM,_.K);_.wM.prototype.getType=function(){return _.C(this,1)};_.wM.prototype.we=function(){return _.E(this,_.of,2)};yXc=[1];
_.AM=function(a){_.P(this,a,-1,yXc,null)};_.L(_.AM,_.K);_.AM.prototype.jn=function(){return _.Pd(this,1)};_.zXc=function(a){_.P(this,a,-1,null,null)};_.L(_.zXc,_.K);_.g=_.zXc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bs=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};_.g.Se=function(){return _.C(this,3)};_.g.um=function(a){return _.A(this,3,a)};
_.g.getType=function(){return _.C(this,4)};AXc=[1];_.BXc=function(a){_.P(this,a,-1,AXc,null)};_.L(_.BXc,_.K);_.CXc=function(){var a=void 0===a?1E3:a;this.O=new _.kl;this.H=new _.kl;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.EXc=function(a){var b=a.O.Fg();a.V&&b.push(DXc("...","...","...","..."));_.za(b,a.H.Fg());return b};
_.FXc=function(a){var b=[];a=_.EXc(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")};_.CXc.prototype.info=function(a,b){_.fN(this,a,b,"info")};_.CXc.prototype.config=function(a,b){_.fN(this,a,b,"config")};_.CXc.prototype.log=function(a,b,c){if(!XWc){XWc={};for(var d=0,e;e=_.lka[d];d++)XWc[e.value]=e,XWc[e.name]=e}_.fN(this,a,b,c)};
_.fN=function(a,b,c,d){a.H.jc()>=a.ha&&(a.V=!0,_.ll(a.H));var e=Date.now()-a.startTime;b=DXc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.jc()<a.W?a.O.enqueue(b):a.H.enqueue(b)};DXc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.nVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.pVc=function(a){this.request=a;this.requestId=_.Rg()};
_.GXc=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};_.KM=function(a,b,c,d){this.request=a;this.file=b;this.zQ=void 0===c?null:c;this.metadata=d};_.xVc=function(a,b,c,d){this.request=a;this.file=b;this.zQ=void 0===c?null:c;this.metadata=d};vVc=function(a,b){this.request=a;this.metadata=b};HXc=function(a,b,c){this.O=a;this.H=b;this.V=c};
wVc=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};_.AVc=function(){this.H=_.pf(new _.of,312)};IXc=function(){};_.oVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.uVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};JXc=function(a,b){this.H=a;this.O=b};KXc=function(a){_.gi.call(this,"Ab");this.H=a};_.L(KXc,_.gi);KXc.prototype.Xe=function(){return this.H};_.gN=function(a){a.supportsTeamDrives=!0};
_.LXc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Pd(a,27)));this.initialize(a)};_.LXc.prototype.initialize=function(a){var b=_.dVc(this.H,_.Pd(a,28));if(0<b.length)throw Error("Me`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.uL(_.vL(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Ea(this.H);this.H.sort();eVc(this.H)};_.hN=function(a){return[].concat(_.nd(a.H))};
iN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.jN=function(a,b,c){0!==b.length&&(a.YI.length&&a.append(" "+(c||"and")+" "),a.append(b))};kN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(iN(c));e.push("in");e.push(b);_.jN(a,e.join(" "))}};_.lN=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());_.jN(a,e.join(" "),d)}};
MXc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.jN(a,d.join(""))}};_.NXc=function(a){var b=new _.VTc;b.setTime(a);return b};OXc=function(a,b){b=_.Pd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(iN(b));_.jN(a,c.join(" "))}};_.PXc=function(a){a=_.ck(a,_.YM,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Xa());return b.join(",")};
_.QXc=function(a){a=a.tB();return null==a||0==a.length?"":a.map(function(b){b=_.C(b,1);if(0==b)throw Error("Ne");return _.KRc[b]}).join(",")};RXc=function(a,b){if(a.length){var c=new _.Io;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(iN(d.Xa()));_.jN(c,e.join(" "),"or")}return c.toString()}return""};
SXc=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 iN(e.Xa())});d.push(a.join(", "));return d.join(" ")}return""};TXc=function(a){if(_.R(a,2))return"any";switch(a.Xa()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};UXc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
VXc=function(a,b,c){if(null!=_.C(c,2)){var d=UXc(_.C(c,1));c=iN(_.OWc(_.NXc(_.C(c,2)||0)));_.jN(a,[b,d,c].join(" "))}};WXc=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""};
_.XXc=function(a){for(var b=new _.Io,c=_.ck(a,_.yl,4),d=0;d<c.length;d++){var e=c[d],f=e.Xa();if(f){var h=_.C(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(iN(f));_.jN(b,l.join(" "))}}for(var p=_.ck(a,_.xl,5),q=0;q<p.length;q++){var r=p[q],u=r.Xa();if(u){var y=[];_.S(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(iN(u));_.jN(b,y.join(" "))}}var z=_.Cl(a);if(z&&0!=z.length){for(var D=[],G=[],I=[],M=[],O=[],X=[],ra=0;ra<
z.length;ra++){var fa=z[ra];fa.Xa()&&(1===_.Hj(fa,3,0)?_.R(fa,4)?G.push(fa):D.push(fa):_.R(fa,4)?_.S(fa,2,!1)?X.push(fa):O.push(fa):_.S(fa,2,!1)?M.push(fa):I.push(fa))}var na=RXc(D,!1),sa=RXc(G,!0),ua=SXc(I,!1,!1),Wa=SXc(M,!0,!1),Ia=SXc(O,!1,!0),Ra=SXc(X,!0,!0),Zb=new _.Io;if(ua||Ia||na||sa)_.jN(Zb,ua,"or"),_.jN(Zb,Ia,"or"),_.jN(Zb,na,"or"),_.jN(Zb,sa,"or");Zb.YI.length&&_.jN(b,"("+Zb.toString()+")","and");var ub=new _.Io;if(Wa||Ra)_.jN(ub,Wa,"and"),_.jN(ub,Ra,"and");ub.YI.length&&_.jN(b,"("+ub.toString()+
")","and")}for(var wc=_.ck(a,_.vl,7),Sc=0;Sc<wc.length;Sc++)VXc(b,"modifiedDate",wc[Sc]);for(var gd=_.ck(a,_.vl,8),ve=0;ve<gd.length;ve++)VXc(b,"lastViewedByMeDate",gd[ve]);_.lN(b,"trashed",a.Sh());_.lN(b,"explicitlyTrashed",_.R(a,17));_.lN(b,"starred",_.R(a,10));_.lN(b,"hidden",a.Fm());for(var be=_.Dl(a),Jf=0;Jf<be.length;Jf++){var yc=be[Jf];kN(b,"parents",yc.Xa(),_.S(yc,2,!1))}for(var yb=_.ck(a,_.df,13),Dg=0;Dg<yb.length;Dg++){var Ug=yb[Dg];kN(b,"owners",Ug.Xa(),_.S(Ug,2,!1))}for(var Ve=_.ck(a,
_.df,14),dj=0;dj<Ve.length;dj++){var $f=Ve[dj];kN(b,"writers",$f.Xa(),_.S($f,2,!1))}for(var Bi=_.ck(a,_.df,15),Gg=0;Gg<Bi.length;Gg++){var el=Bi[Gg];kN(b,"readers",el.Xa(),_.S(el,2,!1))}_.R(a,16)&&_.jN(b,"sharedWithMe");_.lN(b,"unparented",_.R(a,34));for(var $e=_.ck(a,_.rl,35)||[],af=_.m($e),mh=af.next();!mh.done;mh=af.next())kN(b,"ancestors",mh.value.Xa(),!1);for(var Uh=_.ck(a,_.rl,38)||[],sj=_.m(Uh),Lk=sj.next();!Lk.done;Lk=sj.next())kN(b,"descendants",Lk.value.Xa(),!1);for(var Ln=_.ck(a,_.wl,37)||
[],vp=_.m(Ln),Ri=vp.next();!Ri.done;Ri=vp.next())kN(b,"folderFeatures",Ri.value.Xa(),!1);for(var pi=_.Pd(a,39),fl=_.m(pi),Rf=fl.next();!Rf.done;Rf=fl.next()){var Kl=Rf.value,tj=[];tj.push("templateData.description");tj.push("contains");tj.push(iN(Kl));_.jN(b,tj.join(" "))}for(var pk=_.Pd(a,40),ej=0;ej<pk.length;ej++){var Ll=[];0==ej&&Ll.push("(");Ll.push(iN(pk[ej]));Ll.push("in");Ll.push("templateData.categories");ej==pk.length-1&&Ll.push(")");_.jN(b,Ll.join(" "),0==ej?"and":"or")}var Im=_.C(a,41);
if(null!=Im){var Mk=[];Mk.push("templateData.galleryState");Mk.push("=");Mk.push(iN(_.XTc[Im]||""));_.jN(b,Mk.join(" "))}var Ml=_.C(a,42);if(null!=Ml){var Vg=[];Vg.push("visibility");Vg.push("=");Vg.push(iN(WXc(Ml)));_.jN(b,Vg.join(" "))}for(var Nl=_.ck(a,_.ql,44),Ci=0;Ci<Nl.length;++Ci){var Ij=Nl[Ci];kN(b,"actionItems",TXc(Ij),_.S(Ij,3,!1))}if(_.Q(a,50)){var Jj=[];Jj.push("pairedDocType");var uj=_.S(a,50,!1)?"!=":"=";Jj.push(uj);Jj.push(iN("NONE"));_.jN(b,Jj.join(" "))}kN(b,"workspaceIds",a.Xp(),
!1);for(var gl=_.ck(a,_.sl,57),vj=0;vj<gl.length;vj++){var hl=[];0==vj&&hl.push("(");hl.push(iN(gl[vj].Xa()));hl.push("in");hl.push("approvals");vj==gl.length-1&&hl.push(")");_.jN(b,hl.join(" "),0==vj?"and":"or")}if(_.Q(a,58)){var mf=a.Tq(),Kj=mf.Xa(),hm=_.S(mf,2,!1);if(Kj){var im=[];hm&&im.push("not");im.push("creator");im.push("=");im.push(iN(Kj));_.jN(b,im.join(" "))}}var jm=_.E(a,_.roa,59);if(jm)for(var Si=_.m(_.ck(jm,_.ooa,1)),Gc=Si.next();!Gc.done;Gc=Si.next()){var Wj=Gc.value;kN(b,"categoryMetadata",
Wj.en());for(var Vh=_.m(_.ck(Wj,_.moa,2)),wj=Vh.next();!wj.done;wj=Vh.next()){var mg=wj.value,Hg=_.C(mg,1),Nk=_.Fj(mg,_.ul[0]);if(10==Nk){_.E(mg,_.foa,10);var km=_.R(mg,15);(void 0===km?0:km)?_.jN(b,Hg+" is null"):_.jN(b,"not ("+Hg+" is null)")}else{var hi=new _.Io,qi=void 0;switch(Nk){case 3:qi=_.E(mg,IWc,3);for(var qk=_.m(qi.Vi()),fj=qk.next();!fj.done;fj=qk.next())_.lN(hi,Hg,fj.value,"or");break;case 14:for(var wo=qi=_.E(mg,_.Zna,14),jn=new Map([[1,"="],[2,">"],[3,"<"]]),il=_.m(wo.Vi()),Xj=il.next();!Xj.done;Xj=
il.next()){var Mn=Xj.value,xo=jn.get(_.C(wo,2));if(!xo)throw Error("Oe");var jq=[Hg,xo,iN(Mn.getYear()+"-"+Mn.getMonth()+"-"+Mn.getDay())];_.jN(hi,jq.join(" "),"or")}break;case 8:for(var Po=qi=_.E(mg,_.eoa,8),Rm=new Map([[1,"="],[2,">"],[3,"<"]]),Bj=_.m(Po.Vi()),Qo=Bj.next();!Qo.done;Qo=Bj.next()){var Dp=Qo.value,Ep=Rm.get(_.C(Po,2));if(!Ep)throw Error("Oe");_.jN(hi,[Hg,Ep,Dp].join(" "),"or")}break;case 9:for(var ur=qi=_.E(mg,KWc,9),Qw=new Map([[1,"in"]]),vr=_.m(ur.Vi()),Gs=vr.next();!Gs.done;Gs=
vr.next()){var wA=Gs.value,TC=Qw.get(_.C(ur,2));if(!TC)throw Error("Oe");_.jN(hi,[wA,TC,Hg].join(" "),"or")}break;case 6:for(var mv=qi=_.E(mg,_.joa,6),zr=new Map([[1,"="]]),Ar=_.m(mv.Vi()),Qt=Ar.next();!Qt.done;Qt=Ar.next()){var xA=Qt.value,yA=zr.get(_.C(mv,2));if(!yA)throw Error("Oe");_.jN(hi,[Hg,yA,iN(xA)].join(" "),"or")}break;case 7:for(var IN=qi=_.E(mg,_.hoa,7),tS=new Map([[1,"in"]]),yF=_.m(IN.Vi()),nv=yF.next();!nv.done;nv=yF.next()){var JN=nv.value,uS=tS.get(_.C(IN,2));if(!uS)throw Error("Oe");
_.jN(hi,[iN(JN),uS,Hg].join(" "),"or")}break;case 4:for(var vS=qi=_.E(mg,_.loa,4),qy=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),ov=_.m(vS.Vi()),tl=ov.next();!tl.done;tl=ov.next()){var UC=tl.value,Js=qy.get(_.C(vS,2));if(!Js)throw Error("Oe");_.jN(hi,[Hg,Js,iN(UC)].join(" "),"or")}break;case 5:for(var KN=qi=_.E(mg,MWc,5),ry=new Map([[1,"in"]]),pv=_.m(KN.Vi()),ii=pv.next();!ii.done;ii=pv.next()){var hZ=ii.value,zF=ry.get(_.C(KN,2));if(!zF)throw Error("Oe");_.jN(hi,[iN(hZ),zF,Hg].join(" "),
"or")}break;case 12:for(var Uw=qi=_.E(mg,_.coa,12),Ch=new Map([[1,"="]]),o7=_.m(Uw.Vi()),qv=o7.next();!qv.done;qv=o7.next()){var Fq=qv.value,zA=Ch.get(_.C(Uw,2));if(!zA)throw Error("Oe");_.jN(hi,[Hg,zA,iN(Fq)].join(" "),"or")}break;case 11:for(var sy=qi=_.E(mg,_.aoa,11),Br=new Map([[1,"in"]]),LN=_.m(sy.Vi()),wS=LN.next();!wS.done;wS=LN.next()){var p7=wS.value,Sl=Br.get(_.C(sy,2));if(!Sl)throw Error("Oe");_.jN(hi,[iN(p7),Sl,Hg].join(" "),"or")}}_.R(mg,15)?_.jN(b,"not ("+hi+")"):_.jN(b,1<qi.Vi().length?
"("+hi+")":""+hi)}}}null!=_.R(a,60)&&_.lN(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var VC=_.R(a,65);if(null!=VC){var AF=[];AF.push("clientEncryptionDetails.encryptionState");AF.push("=");AF.push(iN(VC?"encrypted":"unencrypted"));_.jN(b,AF.join(" "))}var hJ=_.ck(a,_.df,68);if(hJ.length){for(var q7=[],ty=[],Vw=_.m(hJ),BF=Vw.next();!BF.done;BF=Vw.next()){var iZ=BF.value,r7="sharedFrom = "+iN(iZ.Xa());_.S(iZ,2,!1)?ty.push(r7):q7.push(r7)}MXc(b,q7,!1);MXc(b,ty,!0)}var CF=_.ck(a,_.df,67);
if(CF.length){for(var iJ=[],s7=[],xS=_.m(CF),jJ=xS.next();!jJ.done;jJ=xS.next()){var yS=jJ.value,AA="sharedTo = "+iN(yS.Xa());_.S(yS,2,!1)?s7.push(AA):iJ.push(AA)}MXc(b,iJ,!1);MXc(b,s7,!0)}null!=_.R(a,69)&&_.lN(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.lN(b,"canAcceptOwnership",_.R(a,72));1==_.ZM(a)&&OXc(b,a);return b.toString()};
_.YXc=function(a){var b=new _.Io(_.XXc(a));_.sM(a)?_.jN(b,"isQuickAccessRequest"):_.tM(a)?_.jN(b,"isPeoplePredictRequest"):_.uM(a)&&_.jN(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.RTc[c.getType()]);d.push(_.ZTc[c.Bf()]);_.R(c,3)&&d.push("foldersFirst");_.jN(b,d.join(" "))}_.lN(b,"domainSearch",_.R(a,18));_.lN(b,"offline",_.R(a,19));_.ck(a,_.YM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.PXc(a)),_.jN(b,c.join(" ")));a.tB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.QXc(a)),_.jN(b,c.join(" ")));if(c=_.ZM(a))d=[],d.push("corpora"),d.push("="),d.push(iN(_.wXc[c])),_.jN(b,d.join(" "));_.S(a,66,!0)||_.lN(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.ZM(a)&&OXc(b,a);_.S(a,48,!1)&&_.jN(b,"cachedOnly");return b.toString()};_.PM=function(a){if(a instanceof _.CL)a=a.yd();else if(!a)return!1;return a instanceof _.IF||a instanceof _.HF||"undefined"!=typeof _.mN&&a instanceof _.mN||a instanceof _.bf&&(_.sM(a)||_.tM(a)||_.uM(a))};
ZXc=function(){_.Fo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(ZXc,_.Fo);_.$Xc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};aYc=function(a,b){a.V||(a.V=b)};ZXc.prototype.Yj=function(){_.$Xc(this);(0,this.ha)()};bYc=function(a,b){a.ha||(a.ha=b)};_.nN=function(a){if(!a.O){a.O=new nXc;var b=_.Ho(a);_.x(b,56,a.O)}return a.O};ZXc.prototype.getState=function(){var a=_.nN(this).getState();a||(a=new cXc,_.nN(this).Nd(a));return a};
var cYc=function(a,b){var c=new aXc;_.A(c,1,b);a=_.Ho(a);_.x(a,12,c)};ZXc.prototype.aF=function(){var a=_.nN(this).aF();if(!a){a=new kXc;var b=_.nN(this);_.x(b,16,a)}return a};ZXc.prototype.ma=function(){var a=_.E(_.nN(this),eXc,4);if(!a){a=new eXc;var b=_.nN(this);_.x(b,4,a)}return a};dYc=function(a){var b=_.E(_.nN(a),fXc,8);b||(b=new fXc,a=_.nN(a),_.x(a,8,b));return b};eYc=function(a){var b=_.E(_.nN(a),lXc,19);b||(b=new lXc,a=_.nN(a),_.x(a,19,b));return b};
_.fYc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.si.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.L(_.fYc,_.si);_.g=_.fYc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Il=function(){return 1===this.connectionState||2===this.connectionState};_.g.Xe=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?_.WA.GU:_.WA.sha;else 1===a?(b=_.WA.HL,this.O=!0):3===a&&(b=_.WA.FU);if(b)return b=new sXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var gYc=function(a,b){this.userId=a;this.H=b;this.db=null},iYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return hYc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ue"))},function(d){return a.handleError(d)})},"readwrite")};gYc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.lBb=b.je(),d)).then(null,function(e){c.handleError(e)})};
var jYc=function(a){return new _.Oh(function(b){var c=new Map;hYc(a,function(d){return PWc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Era:f.Era},k=h.next())k=_.m(k.value),f.Era=k.next().value,k.next().value.then(function(l){return function(p){p&&c.set(l.Era,new _.Eza(p.lBb))}}(f));return _.iL([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},kYc=function(a,b){return hYc(a,function(c){return c.remove(b)},
"readwrite")},hYc=function(a,b,c){c=void 0===c?"readonly":c;return lYc(a).then(function(d){try{var e=_.QSc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.VL(f):void 0)}},function(d){return a.handleError(d)})},lYc=function(a){return a.db?_.Ph(a.db):_.SSc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.QWc(c,"OfflineImpressions");b=_.PSc(c,"OfflineImpressions",{autoIncrement:!0});try{b.H.createIndex("userId",
"userId",void 0)}catch(d){throw _.tL(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ve"))}).then(function(b){return a.db=b},function(b){return _.Qh(_.VL(b))})};gYc.prototype.handleError=function(a){a||(a=Error("We"));_.fN(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Ph()};_.mYc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.si.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.L(_.mYc,_.si);_.mYc.prototype.Xe=function(){return this.H};
_.mYc.prototype.Kl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new KXc(a)))};_.mYc.prototype.Wy=function(a){this.O=a};var oYc=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Lb=new _.He(this);this.Lb.listen(b,"Ab",function(k){k.Xe()||nYc(h)});this.Lb.listen(c,[_.WA.HL,_.WA.GU],function(){return void nYc(h)});this.W=e;f.then(function(){return nYc(h)})};_.L(oYc,_.si);
oYc.prototype.zA=function(a){return(this.H.Xe()||this.connectionState.Xe())&&this.H.O?iYc(this.O,a):this.V.zA(a)};
var nYc=function(a){return a.H.O?jYc(a.O).then(function(b){b.forEach(function(c,d){a.V.zA(c).then(function(){return pYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},pYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return kYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
oYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var qYc=function(){};qYc.prototype.YQ=function(){return new ZXc};var rYc=function(){this.H=new oXc};rYc.prototype.O=function(a){_.x(a,13,this.H)};rYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
tYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.hs=d;this.O=this.H=null;this.client=_.oN(_.hUc,_.aN(a));this.W=_.C(a,94);this.ka=_.oN(_.lUc,_.Hj(a.Yf(),8,0));this.axa=_.oN(_.iUc,_.Hj(a.Yf(),9,2));this.ma=_.S(a,10,!1);this.uu=_.uL(_.vL(a));this.pCa=_.bN(a);this.ha=sYc(a);this.buildLabel=a.Ji()};sYc=function(a){var b=[].concat(_.nd(_.eUc.keys())),c=[].concat(_.nd(_.fUc.keys())),d=_.LL(a);return b.filter(function(e){return _.eUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.fUc.get(e)(d)}))};
_.oN=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};tYc.prototype.Bo=function(a){return null==a?0:a?2:1};var uYc=function(a){if(a.O)return a.O.H("aU7Ts")};
tYc.prototype.Bb=function(a){return a instanceof _.KA||"undefined"!=typeof _.pN&&a instanceof _.pN||"undefined"!=typeof _.qN&&a instanceof _.qN||"undefined"!=typeof _.rN&&a instanceof _.rN?a.Bb():"undefined"!=typeof _.sN&&a instanceof _.sN||"undefined"!=typeof _.tN&&a instanceof _.tN||"undefined"!=typeof _.uN&&a instanceof _.uN||"undefined"!=typeof _.vN&&a instanceof _.vN||"undefined"!=typeof _.wN&&a instanceof _.wN?a.response?a.response.Bb():null:null};tYc.prototype.Ji=function(){return this.buildLabel};
var vYc=function(a){return a.V.Xe()||a.connectionState.Xe()?2:1};tYc.prototype.getEnvironment=function(){return this.hs};wYc=function(a,b){this.H=a;var c=new _.jya;_.kya(c,b.ha);a=this.H.ML();var d=_.JTc(a);_.x(d,10,c);(c=b.Ji())&&_.ITc(a,c);this.H.f_();this.O=b};
_.xYc=function(a,b,c){var d=_.Go(a.H.$F(b,c),_.$Tc);cYc(d,vYc(a.O));b=uYc(a.O);"boolean"===typeof b&&dXc(d.getState(),b);1===c&&aYc(d,function(){return void a.H.SM(d)});bYc(d,function(){var e=a.O;e=e.H?e.H.Ld():void 0;var f=d.getState();_.A(f,1,e);a.H.xq(d)});return d};
yYc=function(a){var b=new _.Yya,c=new rYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.axa);_.A(c.H,5,a.ma);_.A(c.H,6,a.uu);_.A(c.H,7,a.pCa);a=c.setEnvironment(a.getEnvironment());_.VSc(b,_.bUc,a);_.Jo(b,_.$Tc,new qYc);return b};
zYc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.IH(906,b,void 0,_.oUc());l.ha=!1;var p=new _.WSc(l);b=new Date;l=_.OTc(_.NTc(_.MTc(RWc(),new _.XSc(l)),yYc(c)),109).setSessionId(b.getTime()+"_"+_.Rg());if(k){a=new oYc(p,d,e,new gYc(a,f),f,h);_.LTc(l,a);d=l.build();_.HTc(d.ML(),1E3*b.getTime());var q=new wYc(d,c);(new _.He).listen(a,"Bb",function(){_.xYc(q,106008,0).Yj()});return q}_.LTc(l,p);a=l.build();_.HTc(a.ML(),1E3*b.getTime());return new wYc(a,c)};
AYc=function(a,b){this.V=a;this.W=b};AYc.prototype.O=function(a,b){this.V&&_.BYc(this)&&(a=_.xYc(this.V,a,0),b&&_.USc(a,b),a.Yj())};_.xN=function(a,b){if(a.V&&_.BYc(a)){a=_.xYc(a.V,106018,0);var c=_.E(_.nN(a),jXc,15);if(!c){c=new jXc;var d=_.nN(a);_.x(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Yj()}};AYc.prototype.H=function(a,b){return this.V&&_.BYc(this)?(a=_.xYc(this.V,a,1),b&&_.USc(a,b),a):null};_.BYc=function(a){return!(!a.V||!a.V.H.PP())};
_.CYc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.KL(_.vL(a)).toString(),l=_.$M(_.vL(a));f=new tYc(a,b,c,f);a=h?zYc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new AYc(a,f)};_.oM=function(a){_.P(this,a,-1,null,null)};_.L(_.oM,_.K);_.DYc=function(a){_.P(this,a,-1,null,null)};_.L(_.DYc,_.K);_.DYc.prototype.getId=function(){return _.C(this,1)};_.DYc.prototype.Pb=function(a){return _.A(this,1,a)};_.DYc.prototype.we=function(){return _.E(this,_.of,2)};_.xM=function(a){_.P(this,a,-1,null,null)};_.L(_.xM,_.K);
_.xM.prototype.Yn=function(){return _.C(this,2)};_.xM.prototype.yd=function(){return _.E(this,_.DYc,3)};_.nM=function(a){_.P(this,a,-1,null,null)};_.L(_.nM,_.K);_.nM.prototype.yd=function(){return _.E(this,_.mM,1)};_.nM.prototype.tda=function(a){return _.A(this,2,a)};_.lM=function(a){_.P(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.getId=function(){return _.C(this,1)};_.lM.prototype.Pb=function(a){return _.A(this,1,a)};_.EYc=function(a,b){return _.A(a,2,b)};
_.zM=function(a){_.P(this,a,-1,null,null)};_.L(_.zM,_.K);_.zM.prototype.yd=function(){return _.E(this,_.lM,1)};FYc=[2];_.GM=function(a){_.P(this,a,-1,FYc,null)};_.L(_.GM,_.K);_.GM.prototype.Ic=function(){return _.C(this,1)};_.GM.prototype.UV=function(){return _.ck(this,_.FF,2)};_.GM.prototype.we=function(){return _.E(this,_.of,3)};_.GYc=function(a){_.P(this,a,-1,null,null)};_.L(_.GYc,_.K);_.GYc.prototype.nk=function(){return _.C(this,1)};_.HYc=function(a){var b=new _.GYc;return _.A(b,1,a)};IYc=[1];
_.lVc=function(a){_.P(this,a,-1,IYc,null)};_.L(_.lVc,_.K);_.JYc=function(){this.H={}};KYc=function(a,b,c){if(a.H[b])throw Error("Xe");a.H[b]=c};_.JYc.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)}};LYc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.MYc=function(a,b){this.H=a;this.V=b;this.O=_.tUc[_.Hj(a.Yf(),8,0)];this.W=_.tUc[_.Hj(a.Yf(),51,5)];this.nonce=_.Rg()};
_.MYc.prototype.tc=function(a,b){if(b.$N)NYc(this,a,b),OYc(this,a,b);else if(11===a.Zm){if(b.AKb){var c=b.ND||_.F(this.H.Yf(),37,"");_.ij(a.uri,"key",c)}NYc(this,a,b);PYc(this,a,b)}else switch(a.uri=QYc(this,a.Zm,a.uri),a.Zm){case 1:PYc(this,a,b);NYc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.uu||_.uL(_.vL(this.H))||_.ij(a.uri,"dsNonce",this.nonce));PYc(this,a,b);OYc(this,a,b);NYc(this,a,b);break;case 2:case 3:case 4:case 5:PYc(this,a,b);OYc(this,a,b);NYc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:PYc(this,
a,b);OYc(this,a,b);break;default:throw Error("Ye`"+a.Zm);}};RYc=function(a,b){var c=QYc(a,b,new _.aj);if(!c.jH())throw Error("$e");return(new _.aj).qn(c.Co()).nn(c.Aj()).BA(c.vy()).xi(_.uUc.has(b)?"/batch"+a.O:"/batch")};
QYc=function(a,b,c){var d=_.C(a.H.Yf(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.F(a.H.Yf(),62,"");break;case 8:a=_.C(a.H.Yf(),53);break;case 9:a=_.C(a.H.Yf(),56);break;case 10:a=_.C(a.H.Yf(),22);break;case 13:a=_.C(a.H.Yf(),55);break;case 12:a=_.C(a.H.Yf(),43);break;default:throw Error("Ye`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.aj(a);
_.Ed(c,"/")&&(c=c.slice(1));return new _.aj(a+"/"+c)};PYc=function(a,b,c){a=_.vL(a.H);c.uu||_.uL(a)||(c=[{key:"u",value:_.$M(a)}],b.headers.authorization=_.Ibc(c)||"",c=_.KL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
NYc=function(a,b,c){var d=_.vL(a.H),e=a.H.Yf(),f=c.u7a||!!_.C(e,13);c=c.v7a||_.S(e,14,!1);var h=11===b.Zm;f&&((f=_.C(e,13))&&_.Ed(f,"email:")?_.ij(b.uri,"trace",f):f&&"trace:true"===f?_.ij(b.uri,"$trace","true"):f?_.ij(b.uri,"trace","token:"+f):_.ij(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.ij(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Hj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
OYc=function(a,b,c){c.uu||_.uL(_.vL(a.H))?_.ij(b.uri,"key",_.F(a.H.Yf(),36,"")):(a=c.ND||_.F(a.H.Yf(),37,""),_.ij(b.uri,"key",a))};_.SYc=function(a,b){_.lH.call(this,a?a:500,b?b:6E5)};_.L(_.SYc,_.lH);_.TYc=function(a,b){this.O=b;this.H=new Map;this.Rla(_.ck(a,_.zl,91))};_.TYc.prototype.Rla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.C(c,2);if(!b||!c)break;var d=_.UYc(this,b);if(d){d!==c&&kVc(b);break}this.H.set(b,c)}};
MVc=function(a,b){return[].concat(_.nd(new Set(b))).map(function(c){var d=(new _.zl).Pb(c);a.H.has(c)?_.Al(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Al(d,_.cl(c));return d}).filter(function(c){return _.Q(c,2)})};_.UYc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.Q(a,140)?_.cl(a):null};_.yN=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Dd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.yN.prototype.getState=function(){return this.state};
_.yN.prototype.wM=function(a){var b=this;if(this.W)return this.W;var c=_.Sh();this.W=c.promise.then(function(){return _.HYc(1)},function(d){d=_.UA(d).Qg;var e=0;2===d.Qp()?e=3:_.nUc(d)&&(e=2);return _.HYc(e)});a&&this.W.then(function(d){3===d.nk()&&_.xN(b.Dd,186469046)});this.H&&(a=_.C(eYc(this.H),4)||0,mXc(eYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);VYc(this,c);return this.W};_.YYc=function(a,b){WYc(a,3)&&_.XYc(a,b)};_.yN.prototype.reset=function(){this.O=null;ZYc(this)};
ZYc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.XYc=function(a,b){if(!a.O&&!a.V){a.H=a.Dd.H(106025);if(a.H){var c=eYc(a.H);var d=!(!a.state.isConnected()&&a.state.Il());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.SYc(5E3,6E4);$Yc(a)}};$Yc=function(a){ZYc(a);VYc(a);a.O&&(a.timeout=setTimeout(function(){return void $Yc(a)},a.O.Xa()),_.mH(a.O))};
VYc=function(a,b){_.Th((a.ha?a.ha():_.Ph()).then(null,function(){return null}),function(){if(a.H){var c=_.C(eYc(a.H),3)||0,d=eYc(a.H);_.A(d,3,c+1)}aZc(a,b)})};aZc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Ve(new _.AVc)}).then(null,function(d){d=_.UA(d);_.nUc(d.Qg)&&WYc(a,2);return _.Qh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.yN.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
WYc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.vUc.get(b)),!0):!1};FVc=[_.YL,_.$L,_.ZL,_.bM,_.aM,_.cM,_.dM,_.gM,_.iM,_.jM,_.kM,_.mM,_.nM,_.CM,_.EM,_.GM,_.ML,_.HM,_.IM,_.JM,_.pVc,_.KM];bZc=[_.OL];GVc=[_.GF,_.uVc];HVc=[_.xM,_.wL,_.dD,_.LM];IVc=[_.CL,_.oM,_.Sz,_.OL,_.oVc];JVc=[_.LM,_.JF];KVc=[_.lM,_.lVc,_.wM,_.zM,_.AM,_.nVc,_.KM,wVc,vVc];
cZc=function(a){return a instanceof _.CL||a instanceof _.LM||"undefined"!=typeof _.zN&&a instanceof _.zN||a instanceof _.IM||a instanceof _.jM||a instanceof _.cM||a instanceof _.gM||a instanceof _.ML&&_.OM(a)};_.dZc=function(a,b){this.O=b;this.H={};this.jj=new ZWc;b=_.XL({fields:_.Pd(a,28),tr:_.uL(_.vL(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.dZc.prototype.Jb=function(a,b){this.H[a]=eZc(a,b)};
var fZc=function(a,b){var c=a.H[b];c||(c=eZc(b,0,2),a.H[b]=c);c.Jb(String(Number(c.Xa())+1))};_.dZc.prototype.Kz=function(a){var b=_.Sa(this.H);this.O&&b.push(eZc("CacheSize",this.O.Ld()));b.push(eZc("InitialViewDataLoaded",a));a=new _.BXc;_.Cb(a,1,b);return _.Zh(a)};eZc=function(a,b,c){var d=new _.zXc;_.A(d,1,a);_.A(d,4,c||1);d.Jb(String(b));d.um(_.zUc.get(a));return d};
_.gZc=function(a,b,c){var d=new _.QTc;_.A(d,2,"Pending...");b instanceof _.CL?_.dk(d,3,_.DL[0],b):b instanceof _.LM?_.dk(d,4,_.DL[0],b):"undefined"!=typeof _.zN&&b instanceof _.zN?_.dk(d,5,_.DL[0],b):b instanceof _.IM?_.dk(d,6,_.DL[0],b):b instanceof _.jM?_.dk(d,7,_.DL[0],b):b instanceof _.cM?_.dk(d,8,_.DL[0],b):b instanceof _.gM?_.dk(d,9,_.DL[0],b):b instanceof _.ML&&_.dk(d,10,_.DL[0],b);var e=CVc(b),f=[];if(b instanceof _.ZL)MM(f,"ID",b.getId()),MM(f,"Parent ID",b.Ik());else if(b instanceof _.jM)MM(f,
"TD ID",b.getId());else if(b instanceof _.CL)b=_.YXc(b.yd()),MM(f,"Query",b);else if(b instanceof _.LM)MM(f,"Query","All");else if(b instanceof _.IM)MM(f,"TD ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.cM)MM(f,"MimeType",b.getMimeType()),MM(f,"Title",b.getTitle()),MM(f,"Parents",_.Pd(b,3)),MM(f,"Convert",_.R(b,8)),MM(f,"Request ID",b.fj()),MM(f,"Parent Request IDs",_.Pd(b,10)),MM(f,"Revision Item ID",_.C(b,12)),MM(f,"Pinned",_.R(b,8));else if(b instanceof
_.dM)MM(f,"Title",b.getTitle());else if(b instanceof _.gM)MM(f,"ID",b.getId());else if(b instanceof _.kM)MM(f,"WS ID",b.getId());else if(b instanceof _.ML){if(MM(f,"ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"Description",b.Se()),MM(f,"Starred",_.R(b,4)),MM(f,"Trashed",b.Sh()),MM(f,"MimeType",b.getMimeType()),MM(f,"Parents",_.Pd(b,8)),MM(f,"Parents to add",_.Pd(b,9)),MM(f,"Parents to remove",_.Pd(b,10)),MM(f,"Restricted",_.R(b,11)),MM(f,"Folder Color",b.Ti()),MM(f,"Update Last Viewed",_.R(b,15)),
MM(f,"Subscribed",_.R(b,16)),MM(f,"Available Offline",_.R(b,18)),MM(f,"Wksp to add",_.Pd(b,31)),MM(f,"Wksp to remove",_.Pd(b,32)),b=_.E(b,_.Tk,25))MM(f,"Read Only",_.R(b,1)),MM(f,"Reason",_.C(b,2))}else b instanceof _.JM?(MM(f,"WS ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"State",b.getState())):b instanceof _.pVc&&MM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.jj.add(d);return d};
_.hZc=function(a,b){for(var c=new _.Io,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.XUc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.dZc.prototype.oR=function(){return this.jj.Fg()};_.t("sy1m0");
_.AN=function(a){_.P(this,a,-1,null,null)};_.L(_.AN,_.K);_.AN.prototype.qd=function(){return _.E(this,_.KA,1)};_.iZc=function(a,b){return _.x(a,1,b)};_.AN.prototype.Yn=function(){return _.C(this,3)};
_.jZc=function(a,b,c){_.gi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.jZc,_.gi);
_.kZc=function(a,b){this.O=a;this.V=b;this.H=null};
var BN=function(a){_.si.call(this);this.name=a};_.L(BN,_.si);_.g=BN.prototype;_.g.s4=function(){};_.g.JEa=function(){};_.g.G0a=function(){};_.g.DMa=function(){};_.g.F0a=function(){};_.g.aG=function(){this.dispatchEvent(new _.gi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var lZc=function(a,b){BN.call(this,"Online");var c=this;this.O=a;this.H=b;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.O,"Ab",function(d){d.Xe()||c.aG()});this.Mc.listen(this.H,"ib",this.aG)};_.L(lZc,BN);lZc.prototype.max=function(){var a=this.O.Xe(),b=this.H.CB();return!a&&b?Infinity:0};lZc.prototype.s4=function(){this.aG()};
var mZc=function(a){BN.call(this,"Online");var b=this;this.connectionState=a;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.connectionState,[_.WA.HL,_.WA.sha,_.WA.GU],function(){return b.aG()})};_.L(mZc,BN);mZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};mZc.prototype.s4=function(){this.aG()};
_.nZc=function(a,b){this.H=a;this.O=b};_.oZc=function(a){return a.H instanceof _.yN?new mZc(a.H.getState()):new lZc(a.O,a.H)};_.nZc.prototype.Ij=function(){return this.H instanceof _.yN?this.H.getState():this.O};
var qZc;_.pZc=function(a,b,c){this.DK=c;this.O=!0;this.V=0;this.H=new _.lH(a,b,.5)};qZc=function(a){return a.H.O+a.V};
_.CN=function(a,b){BN.call(this,"Backoff");this.H=a;this.O=b};_.L(_.CN,BN);_.CN.prototype.max=function(){return this.H.O?Infinity:0};_.CN.prototype.DMa=function(){var a=this.H;a.V=0;a.H.reset()};_.CN.prototype.F0a=function(a){var b=this;rZc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Xa(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.aG()},a),_.mH(this.H.H))};
var rZc=function(a){var b;return(a=null===(b=_.ha(a.SD))||void 0===b?void 0:b.response)?$Uc(_.Jsb(a)):!1};_.CN.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.sZc=function(a,b){BN.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.sZc,BN);_.sZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.sZc.prototype.s4=function(a){a>=this.O?this.aG():null==this.H&&tZc(this)};_.sZc.prototype.JEa=function(a,b){0<b?tZc(this):this.H=null};var tZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.aG.bind(a),a.V)};
_.DN=function(){this.jj=[]};_.g=_.DN.prototype;_.g.add=function(a,b){b?this.jj.unshift(a):this.jj.push(a);return!0};_.g.Ssa=function(a){return _.Ba(this.jj,0,a)};_.g.Ld=function(){return this.jj.length};_.g.cancel=function(a){return _.wa(this.jj,function(b){return b.Cv.config.requestId===a?(b.ne.resolve(DVc(b.Cv.request)),!0):!1})};_.g.kK=function(){return _.dg(this.jj,function(a){return _.OM(a.Cv.request)})};
var uZc=function(){BN.call(this,"Immediate")};_.L(uZc,BN);uZc.prototype.max=function(){return Infinity};uZc.prototype.s4=function(){this.aG()};
var vZc=function(){BN.call(this,"One Request")};_.L(vZc,BN);vZc.prototype.max=function(){return 1};
_.EN=function(a){BN.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.EN,BN);_.EN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.EN.prototype.s4=function(){this.H<this.limit&&this.aG()};_.EN.prototype.JEa=function(a){this.H+=a.length};_.EN.prototype.G0a=function(a){this.H-=a.length;this.H<this.limit&&this.aG()};
var wZc=function(){_.si.apply(this,arguments)};_.L(wZc,_.si);var yZc=function(a,b){a.dispatchEvent(new xZc(b))};wZc.prototype.O=function(){};var xZc=function(a){_.gi.call(this,"Nb");this.request=a};_.L(xZc,_.gi);
_.FN=function(a,b,c,d,e,f){_.si.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.Mc=new _.He(this);this.Ma(this.Mc);for(a=0;a<this.H.length;a++)this.Mc.listen(this.H[a],"Mb",this.B_a);for(a=0;a<this.O.length;a++)this.Mc.listen(this.O[a],"Nb",function(k){zZc(h,!0,k.request)});this.ka=_.lt("drive.ds.network.queue.Queue [%s]",f)};_.L(_.FN,_.si);_.FN.prototype.add=function(a){return zZc(this,!1,{Cv:a,ne:_.Sh(),SD:[]})};
_.FN.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};_.FN.prototype.kK=function(){return this.V.kK()?!0:this.buckets.some(function(a){return a.kK()})};
var zZc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.Tp(new _.mc,"No queue bucket accepted request."),_.Qh(_.UA(a));for(var d=AZc(a),e=0;e<a.H.length;e++)a.H[e].s4(d);return c.ne.promise};_.g=_.FN.prototype;
_.g.B_a=function(){var a=AZc(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].Ssa(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.nwb.bind(this,a[e]),this.mwb.bind(this,a[e]));e=AZc(this);for(var f=0;f<this.H.length;f++)this.H[f].JEa(a,e);_.Th(_.iL(d).then(this.lwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.B_a.bind(this),0)};
_.g.nwb=function(a,b){var c=a.Cv.config;this.log(CVc(a.Cv.request)+" request completed successfully. xd4: "+!(!c||!c.$N));this.H.forEach(function(d){return d.DMa()});this.O.forEach(function(d){return d.O(a)});a.ne.resolve(b)};
_.g.mwb=function(a,b){b=_.UA(b);this.log(CVc(a.Cv.request)+(" request failed with error: "+b.ha+"."));a.SD.push({response:b,kRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].F0a(a);a.Cv.config.Fna||!this.O.some(function(d){return d.intercept(a)})?a.ne.reject(b):this.log(CVc(a.Cv.request)+" encountered an error, but was intercepted to be retried.")};_.g.lwb=function(a){AZc(this);for(var b=0;b<this.H.length;b++)this.H[b].G0a(a)};
var AZc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ld()){b=a.buckets[c].Ld();break}return b};_.FN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.BZc=function(a,b,c,d){wZc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Lj(a,21,1E3);this.oa=_.Lj(a,1,1);this.ma=function(){return new _.pZc(_.Lj(a,63,1E3),_.Lj(a,64,3E5),_.Lj(a,65,10))}};_.L(_.BZc,wZc);
_.BZc.prototype.intercept=function(a){var b=a.SD.length,c=0<b&&_.ha(a.SD).response||null;if(c){c=_.JL(c);if(2===c.Qp())return CZc(this,a);if(_.nUc(c))return 2>=b?(yZc(this,a),a=!0):a=!1,a;var d=c.Fk();if(3===d||31===d||13===d||9===d)return DZc(this,a,b);if($Uc(c))return b=qZc(this.V),c=this.V,qZc(c)<c.DK?(this.log("Backoff number "+b+" for a User Rate Limit error."),yZc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var CZc=function(a,b){var c=EZc(a,b),d=qZc(c);if(qZc(c)<c.DK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Xe()?(d=c.H.Xa(),_.n.setTimeout(function(){return yZc(a,b)},d),_.mH(c.H)):(_.n.setTimeout(function(){return yZc(a,b)}),c.V++),!0;a.H.delete(b);return!1},EZc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},DZc=function(a,b,c){var d=a.oa;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return yZc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.BZc.prototype.O=function(a){this.H.delete(a)};_.BZc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var FZc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.oUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Lwb,d=tXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Jwb(_.VL(e),"reading data"))}},GZc=function(a){return FZc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var HZc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ja=c;this.W=d;this.Oa=e;this.request=f;this.config=h;this.O=this.oa=this.progress=0;this.Fa=this.va=this.ha=null;this.ne=_.Sh();this.finished=!1;this.Ba=this.Du=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Kz();a=_.oUc()&&a?_.C(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.FO="progress_"+this.requestId;h.FO=this.FO;this.ma=!!f.metadata};
HZc.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};HZc.prototype.start=function(){var a=this,b=new vVc(this.request.request,this.request.metadata),c=IZc(this);this.Ha.then(function(d){return d.Ve(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;JZc(a)},function(d){return void a.ne.reject(d)});return _.Th(this.ne.promise.then(function(d){KZc(a,d);return d},function(d){d=_.UA(d);KZc(a,d.Qg);return _.Qh(d)}),function(){LYc(a.H,[a.FO])})};
var IZc=function(a){var b=_.$a(a.config);KYc(a.H,a.FO,WWc(function(){return void a.H.notify([a.requestId],0)}));return b};HZc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ne.resolve(DVc(this.request)),!0)};
var JZc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),LZc(a,4))},LZc=function(a,b){MZc(a).then(function(c){if(c){var d=NZc(a,c.blob.size);a.Ha.then(function(f){return f.Ve(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.oa+=h;a.Ba++;f.dK()&&(a.va=f.dK());f.hN()&&(a.Fa=f.hN());a.progress<a.fileSize?JZc(a):a.ne.resolve(f)},function(f){if(d.Fna)a.cancel();else{var h=_.JL(f);h.MBa()||h.Fla()||a.ma?OZc(a,b,h,!1):GZc(c.blob).then(function(k){k=k?_.hEa.get(k)||
25:38;_.TL(h,k);k=38===h.Qp();var l=38!==h.Qp()&&25!==h.Qp();OZc(a,b,h,k,l)},function(){})}})}else{var e=_.UA(_.TL(_.Tp(new _.mc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ne.reject(e)}})},OZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Ufa(f);!e&&0<b?(a.Du++,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+"."));LZc(a,b)},a.Oa*Math.pow(1.5,f))):a.ne.reject(_.UA(c))},MZc=function(a,b){return a.ma&&a.V?_.Ph(a.V):PZc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return MZc(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 wVc(a.ha,c,a.oa,a.oa+c.size-1,a.finished,a.request.request.getMimeType(),_.C(a.request.request,
12)||void 0);return a.V})},PZc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.zQ?a.request.zQ(b,a.O):_.Ph(_.ZUc(a.request.file,b,b+a.O))},NZc=function(a,b){var c=_.$a(a.config);c.yRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;LYc(a.H,[a.FO]);KYc(a.H,a.FO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},KZc=function(a,b){b.EMa(3);b.Ufa(a.Du);b.dK()||b.mda(a.va);b.hN()||b.cda(a.Fa)};
_.QZc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.QZc.prototype.create=function(a,b){return new HZc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.RZc=function(a){this.O=a;this.H={}};_.RZc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Cv.request instanceof _.xVc)b.push(SZc(this,a[c].Cv));else{var d=_.Tp(new _.mc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.UA(d)))}return b};_.RZc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.RZc.prototype.kK=function(){return!_.Va(this.H)};
var SZc=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Th(d,function(){delete a.H[e]})};
_.TZc=function(a,b){return new _.FN(b,a,[new uZc],[new _.DN],[],"immediate")};_.UZc=function(a,b,c,d,e){return new _.FN(e,a,[_.oZc(d),new _.CN(c,e),new vZc],[new _.DN],[new _.BZc(b,c,d.Ij(),e)],"connected")};_.VZc=function(a,b,c,d,e,f,h){h=void 0===h?_.Lj(b,10,50):h;return new _.FN(e,a,[_.oZc(d),new _.sZc(h,_.Lj(b,12,10)),new _.EN(3*h),new _.CN(c,e)],[new _.DN],[new _.BZc(b,c,d.Ij(),e)],f)};_.WZc=function(a,b,c){b=_.Lj(b,46,1);return new _.FN(c,a,[new _.EN(b)],[new _.DN],[],"resumable_upload")};
_.XZc=function(a,b,c,d,e,f,h,k){this.wI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.XZc.prototype.Ve=function(a,b){return YZc(this,a,b).then(null,function(c){c=_.UA(c);var d=c.Qg;EVc(a)||_.Vp(d);return _.Qh(c)})};
var YZc=function(a,b,c){c=void 0===c?{}:c;var d=a.wI.validate(b);if(d)return _.Qh(_.UA(d));var e=a.ma.translate(b);e instanceof _.mc?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 _.Ph(d).then(function(){if(e instanceof _.mc)return _.Qh(_.UA(e));if(Array.isArray(e)){var f=e.map(function(h){return ZZc(a,b,h,c)});return _.iL(f)}return ZZc(a,b,e,c)},function(f){return _.Qh(_.UA(f))})},
ZZc=function(a,b,c,d){var e=$Zc(a,c);if(!e)return b=_.TL(_.Tp(new _.mc,"Failed to choose a queue for server request."),18),_.Qh(_.UA(b));if(e===a.H[7]||e===a.H[8])d.$N=!0;d=e.add({request:c,config:d});(_.OM(b)||_.OM(c))&&_.Th(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};_.XZc.prototype.cancel=function(a){return _.Pa(this.H,function(b){return b.cancel(a)})};
var $Zc=function(a,b){var c,d=!1;b instanceof _.oM?d=!(null===(c=_.E(b,_.Sz,2))||void 0===c||!_.R(c,7)):b instanceof _.Sz?d=!!_.R(b,7):b instanceof _.CL&&(d=(d=b.yd())&&!!_.R(d,46));return(b instanceof _.AVc||b instanceof _.eL&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.xVc&&a.H[5]?a.H[5]:d&&LVc(b,a.O)&&a.H[7]?a.H[7]:LVc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.oM||b instanceof _.Sz)&&a.H[6]?a.H[6]:(d||bZc.includes(b.constructor))&&a.H[3]?a.H[3]:FVc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var a_c=function(a){this.H=a};a_c.prototype.build=function(a,b){var c="====="+_.Rg()+"=====",d=a[0].Zm,e=b.every(function(l){return l.$N});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=RYc(this.H,a[0].Zm);_.ij(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=b_c[d],h=c_c[d]||{},h["content-type"]=_.lt('multipart/mixed; boundary="%s"',c),d=d_c[d],k=new _.aj("");a=e_c(this,a,b,c,e);return{Zm:f,body:a,headers:h,method:d,uri:k}};
var e_c=function(a,b,c,d,e){for(var f=iVc(f_c[b[0].Zm]||{}),h="",k=0;k<b.length;k++){e&&PYc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=QYc(p,q.Zm,q.uri);switch(q.Zm){case 0:case 5:OYc(p,q,r);NYc(p,q,r);break;case 2:PYc(p,q,r);OYc(p,q,r);var u=q,y=_.C(p.H.Yf(),57);u.headers.host=_.lj(y).Aj();u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;NYc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ze`"+q.Zm);default:throw Error("Ye`"+
q.Zm);}p=l;q=p.uri.clone();q.qn("");q.nn("");q.BA(null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+iVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},g_c={},b_c=(g_c[0]=1,g_c[2]=3,g_c),h_c={},d_c=(h_c[0]="POST",h_c[2]="PUT",h_c[12]="POST",h_c),i_c={},j_c={},c_c=(j_c[2]=(i_c["x-goog-upload-protocol"]="batch",i_c),j_c),k_c={},l_c={},m_c={},n_c={},f_c=(n_c[0]=(k_c["content-type"]="application/http",k_c["content-transfer-encoding"]="binary",k_c),n_c[12]=
(l_c["content-type"]="application/http",l_c["content-transfer-encoding"]="binary",l_c),n_c[2]=(m_c["content-type"]="application/http",m_c),n_c);
var o_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,p_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var q_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.jj=new Map};q_c.prototype.add=function(a,b){var c="DEFAULT";b.$N&&(c=RYc(this.V,a.Zm).toString());this.jj.has(c)||this.jj.set(c,[]);c=this.jj.get(c);if(1<=c.length&&!b.$N&&!b_c[a.Zm])return a=_.Tp(new _.mc,"Unsupported batch API: "+a.Zm),_.Qh(_.UA(a));var d=_.Sh();c.push({request:a,config:b,ne:d});return d.promise};
q_c.prototype.send=function(){var a=this;this.jj.forEach(function(b,c){try{r_c(a,b)}catch(f){var d=_.Up(_.Tp(new _.mc,"Error executing XHR: "+f.message),f.stack),e=_.UA(d);b.forEach(function(h){h.ne.reject(e)});a.jj.delete(c)}})};
var r_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.mCa&&!c.config.$N){var d=!1;if(b_c[c.request.Zm]){var e={Zm:c.request.Zm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.tc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){s_c(a,c);return}}}t_c(a,b)},s_c=function(a,b){var c=b.ne;a.W.Yg(b.request,b.config).then(function(d){c.resolve(d);u_c(a,b)},function(d){a.handleError(b,d);c.reject(_.UA(d))})},t_c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.Yg(a.ha.build(c,d),{mCa:!0,$N:d.every(function(e){return e.$N})}).then(function(e){e.headers=_.MUc(e.headers);var f=p_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.nc("Could not extract batch boundary.",_.TL(_.Up(new _.mc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Ed(_.aia(h[0]),f)&&_.ee(h[1]))h=_.aia(h[0]).substring(f.length);else throw new _.nc("Could not parse batch response; did not begin and end with boundary.",
_.TL(_.Up(new _.mc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var u=void 0;var y,z=e.headers,D=f[l],G=p&&p.uri,I=D.split("\r\n\r\n");if(2>I.length)u=new _.nc("Individual batch response contained too few parts.",_.TL(_.Up(new _.mc,D),17));else{var M=I[1].split("\r\n");if(y=o_c.exec(M[0])){p=_.Db(y[1]);y=y[2];M.shift();z=_.$a(z);for(var O=Object,X=O.assign,ra={},fa=0;fa<M.length;fa++){var na=_.jia(M[fa],":",1);na&&2===
na.length&&(ra[(0,_.gg)(na[0])]=(0,_.gg)(na[1]))}M=_.MUc(ra);X.call(O,z,M);try{u=_.ee(_.Qg(I[2]))?void 0:JSON.parse(I[2])}catch(sa){}u=(p=_.RUc(p,y,z,D,u,void 0,void 0,G&&G.toString()))?_.UA(p):{headers:z,text:D,json:u||void 0}}else u=new _.nc("Could not extract HTTP status code and text.",_.TL(_.Up(new _.mc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.UA(e);return _.VRc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ne,l=e[h];l instanceof _.mc||l instanceof
_.nc?(l=_.UA(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||u_c(a,b[0])})},u_c=function(a,b){var c=b.request.Zm;b=!b.config.uu&&_.ma(v_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=WYc(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()};
q_c.prototype.handleError=function(a,b){a=_.Jsb(b);if(2===a.Qp()){if(this.H)return _.YYc(this.H),!0}else if(_.nUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.XYc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var v_c=[0,2,4,7,8];
var w_c=function(){_.Yi.apply(this,arguments)};_.L(w_c,_.Yi);w_c.prototype.getAllResponseHeaders=function(){return _.aia(_.Yi.prototype.getAllResponseHeaders.call(this))};
var x_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=x_c.prototype;_.g.Yg=function(a,b){try{this.W.tc(a,b);var c=new w_c;c.xC=!0;var d=b.requestId||"",e=_.Sh();c.listen("complete",this.oab.bind(this,c,e,d,b.mCa,4===a.Zm));d&&b.FO&&!b.$N&&(this.O[d]=c,this.H[d]=b,c.Fb=!0,c.listen("uploadprogress",(0,_.v)(this.Yzb,this,b)),b.yRa||c.listen("downloadprogress",(0,_.v)(this.Xvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.Qh(_.UA(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.Fna=!0,b.abort(),!0):!1};_.g.oab=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.O[c],delete this.H[c]);c={headers:_.Vla(a),text:a.Uk()};if(!d)try{c.json=_.gL(a)}catch(f){}d=_.RUc(a.Bb(),_.Sla(a),c.headers,c.text,c.json,a.O,_.Wla(a),String(a.oa),e);a.dispose();d?b.reject(_.UA(d)):b.resolve(c)};_.g.Yzb=function(a,b){b.lengthComputable&&this.V.notify([a.FO],a.yRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Xvb=function(a,b){b.lengthComputable&&this.V.notify([a.FO],b.loaded/b.total/2+.5)};
_.y_c=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.oa=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new a_c(this.O);this.W=new x_c(this.O,this.va)};_.g=_.y_c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Cv;this.V.push(e);b.push(this.Ba.PE(e,a[d].SD));c.push(cZc(e.request)?_.gZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.UA(_.RUc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new q_c(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={ura:e.ura},k++){e.ura=a[k].Cv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.ura)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].Cv,l=d[e].then(this.eob.bind(this,k.request,c[e],a[e].SD)).then(null,function(p){return Promise.reject(_.UA(p))}),l.then(this.FMa.bind(this,k),this.FMa.bind(this,k)),b.push(l);return b};_.g.eob=function(a,b,c,d){a=this.oa.PE(a,d,c);b&&(c=a.Gd?a.Gd():[],_.hZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.kK=function(){return this.V.some(function(a){return _.OM(a.request)})};
_.g.FMa=function(a){_.va(this.V,a)};
_.z_c=function(){};_.z_c.prototype.execute=function(){return null};
var A_c;A_c=function(a){this.H=a};_.GN=function(a,b){if(!_.Ca(b))throw new _.nc("Expected an object, but got a "+_.Lfa(b)+".",_.UL(11,void 0,8));var c=b.kind;if(!c)throw new _.nc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.UL(11,void 0,21));if(!a.includes(c))throw new _.nc("Expected "+a.join(" or ")+" but got a "+c+".",_.UL(11,void 0,9));};_.HN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.B_c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.RVc(new _.Rk,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.$Vc(_.VVc(_.aWc(_.bWc(_.cWc(_.ZVc(_.YVc(_.UVc(_.TVc(_.SVc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.A(b,13,a.canRenameTeamDrive);b=_.dWc(_.XVc(_.WVc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.gWc(_.fWc(_.eWc(_.A(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.A(b,34,a.canDeleteChildren);b=_.A(b,35,a.canTrashChildren);b=_.A(b,36,a.canRequestApproval);b=_.A(b,37,a.canReadCategoryMetadata);b=_.A(b,38,a.canEditCategoryMetadata);b=_.A(b,39,a.canChangeCategoryReferences);b=_.A(b,49,a.canSetMissingRequiredFields);
b=_.A(b,40,a.canAddMyDriveParent);b=_.A(b,41,a.canRemoveMyDriveParent);b=_.iWc(_.hWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.lWc(_.kWc(_.jWc(_.A(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.A(b,50,a.canChangeSecurityUpdateEnabled);b=_.A(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.A(b,52,a.canCreateDecryptedCopy);b=_.A(b,53,a.canCreateEncryptedCopy);b=_.A(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.A(b,55,a.canBlockOwner)};_.MN=function(a,b){_.GN(["drive#user"],b);var c=_.PVc(_.QVc(_.NVc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.uo(b.picture.url);_.BL(a.H)&&_.PVc(c,b.emailAddressFromAccount||b.emailAddress);_.OVc(c,a.Nf(b.id));c.nn(b.domain);return c};A_c.prototype.Nf=function(a){if(a)return _.$M(_.vL(this.H))==a};
var C_c,I_c,X_c,F_c,N_c,M_c,O_c,Q_c,S_c,E_c,U_c,T_c,V_c,W_c,Y_c,Z_c,P_c;C_c=function(a,b){this.H=a;this.O=b};
_.G_c=function(a,b,c){var d=new _.AN,e=new _.KA,f=e.Vw;_.GN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.D_c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.D_c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.GN(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=h.spellCorrections;for(h=0;h<q.length;h++){k=q[h].spellFragments;a=[];for(l=0;l<k.length;l++){p=k[l];var r=(new _.mrb).Cc(E_c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.qrb;a=_.Cb(k,1,a);f.push(a)}q=new _.srb;_.Cb(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.orb;_.Pj(u,1,f)}q||u?(f=new _.trb,q&&_.x(f,1,q),u&&_.x(f,2,u),u=f):u=null;_.x(e,7,u);u=F_c(b);_.Pj(e,18,u)}d=_.iZc(d,e);c=_.OUc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
I_c=function(a,b,c,d,e){_.GN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.rXc(new _.NM,c);"drive#adminFile"==b.kind?(_.GN(["drive#adminFile"],b),c=(new _.Wk).Pb(b.id),b.parentId&&_.VM(c,[b.parentId]),_.BWc(c,b.teamDriveId),f.setItem(c),_.rXc(f,c.getId())):"drive#file"==b.kind?(b=_.D_c(a,b),f.setItem(b),c||_.rXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.H_c(a,b),_.x(f,4,b));f.mda(_.NUc(d));f.cda(_.OUc(d));(d=(d=d&&_.MUc(d))&&d["x-server-object-version"])&&e&&(e=(new _.eN).Pb(d),
_.x(f,4,e));f.Cc(1);return f};_.J_c=function(a,b){return _.rXc(new _.NM,a).Cc(1).mda(_.NUc(b)).cda(_.OUc(b))};_.L_c=function(a,b,c,d){d||_.GN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.K_c(a,b[c],d);f&&e.push(f)}return e};
_.K_c=function(a,b,c){c||_.GN(["drive#permission"],b);c=_.OVc(_.QVc(_.NVc(M_c[b.type]).Pb(b.id),b.userId),a.H.Nf(b.userId));c=_.A(c,4,b.withLink);c=_.PVc(c.jd(b.name).uo(b.photoLink),b.emailAddress).nn(b.domain);c=_.A(c,10,b.deleted);c=_.A(c,12,b.audienceId);c=_.A(c,13,b.customerId);c.getId()||c.Pb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.BL(a.O)&&c.jd(b.nameIfNotUser);a=N_c[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.A(c,6,a);return c};
_.D_c=function(a,b){_.GN(["drive#file"],b);var c=b.title,d=(new _.Wk).Pb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.zWc(_.vWc(_.MF(_.VM(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.A(c,90,Number(b.thumbnailVersion));_.A(c,21,b.iconLink);c.um(b.description);_.wWc(c,b.explicitlyTrashed);_.A(c,22,b.shared);null!=b.quotaBytesUsed&&_.A(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.A(c,14,Number(b.fileSize));_.A(c,
30,b.copyable);b.labels&&(d=b.labels,c.Ev(d.starred),_.A(c,6,d.hidden),c.Pn(d.trashed),_.sWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.HN(b.createdDate));_.A(c,69,_.HN(b.serverCreatedDate));_.mTb(c,_.HN(b.modifiedDate));_.A(c,12,_.HN(b.modifiedByMeDate));_.A(c,13,_.HN(b.lastViewedByMeDate));_.A(c,23,_.HN(b.sharedWithMeDate));_.A(c,62,_.HN(b.subscribedDate));_.A(c,70,_.HN(b.recency));b.recencyReason&&_.A(c,71,O_c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.MN(a.H,
e[f]))&&d.push(h);_.tWc(c,d);b.lastModifyingUser&&(d=_.MN(a.H,b.lastModifyingUser),_.uWc(c,d));b.userPermission&&_.nTb(c,N_c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.SM).xh(e.width).wh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.VTc,f.setMilliseconds(0),P_c.parse(e,f),_.A(d,1,f.getTime())),_.x(c,27,d));null!=b.folderColor&&_.yWc(c,Number(b.folderColor));_.xWc(c,b.subscribed);_.A(c,45,b.fileExtension);_.Pj(c,50,b.folderFeatures);_.A(c,36,b.flaggedForAbuse);
_.A(c,53,b.gplusMedia);_.A(c,46,b.primarySyncParentId||void 0);_.A(c,35,b.hasChildFolders);b.source&&(_.A(c,42,b.source.client_service_id),_.A(c,43,b.source.value));b.sharingUser&&(d=_.MN(a.H,b.sharingUser),_.x(c,47,d));b.sources?_.Pj(c,56,b.sources):b.gplusMedia&&_.Pj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.JRc[h]&&(h=_.Ye(new _.Xe,_.JRc[h]),e.push(h));c.CA(e)}_.A(c,63,b.ownedByMe);_.A(c,29,b.shareable);b.sourceAppId&&_.A(c,61,b.sourceAppId);_.A(c,74,
b.changed);null!=b.recursiveFileSize&&_.A(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.A(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.xna).Pb(h.id);h=_.A(k,2,Q_c[h.type]);e.push(h)}_.Cb(c,83,e)}b.capabilities&&_.WM(c,_.B_c(b.capabilities));b.permissionsSummary&&_.CWc(c,_.R_c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.TM).um(d.description),
e=_.A(e,3,S_c[d.galleryState]),d=_.Pj(e,2,d.category),_.x(c,86,d));_.BWc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.MN(a.H,b.creator),_.x(c,91,d));_.DWc(c,b.primaryDomainName);_.EWc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.MN(a.H,b.trashingUser),_.x(c,95,d));c.tda(_.HN(b.trashedDate));b.version&&_.A(c,75,Number(b.version));_.A(c,98,b.hasVisitorPermissions);_.A(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.A(c,101,T_c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.UM).xh(d.width).wh(d.height),d.durationMillis&&_.A(e,3,Number(d.durationMillis)),_.x(c,103,e));_.Pj(c,104,b.detectors);_.A(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.nWc((new _.Tk).dP(f.readOnly),f.reason),d.push(f);_.Cb(c,125,d)}if(d=b.publishingInfo)_.A(c,118,d.published),_.A(c,119,d.publishedUrl);_.Pj(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.A(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.zna).Pb(f.approvalId).Cc(U_c[f.status]),d.push(f);_.Cb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Jna,e=_.A(e,1,d.targetId),e=_.A(e,3,d.targetMimeType),e=_.A(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.A(e,4,V_c[d.targetLookupStatus]||0),d.targetFile&&(d=_.D_c(a,d.targetFile),_.x(e,5,d)),_.x(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.RM,e=_.A(e,1,W_c[d.encryptionState]),d.decryptionMetadata&&(d=X_c(d.decryptionMetadata),_.x(e,2,d)),_.x(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Ana,e=_.A(e,2,d.securityUpdateEligible),e=_.A(e,3,d.securityUpdateEnabled),d=_.A(e,5,d.securityUpdateExplicitlySet),_.x(c,139,d));_.A(c,140,b.resourceKey);_.Pj(c,135,b.authorizedAppIds);
_.FWc(c,b.customerId);_.hVc(c);_.BL(a.O)&&_.AWc(c,5);return c};_.H_c=function(a,b){_.GN(["drive#revision"],b);var c=(new _.eN).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.HN(b.modifiedDate));c=_.A(c,4,b.pinned);c=_.A(c,5,b.downloadUrl);c=_.A(c,7,b.originalFilename);null!=b.fileSize&&_.A(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.MN(a.H,b.lastModifyingUser),_.x(c,9,a));b.decryptionMetadata&&(b=X_c(b.decryptionMetadata),_.x(c,10,b));return c};
_.R_c=function(a,b){a=_.qWc(_.pWc(_.oWc(new _.Ena,b.entryCount),_.L_c(a,b,"visibility",!0)),_.L_c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};X_c=function(a){var b=a.wrappedKey;var c=new _.mWc;b=b?_.YWc(b):void 0;c=_.A(c,1,b);c=_.A(c,2,Number(a.kaclsId));c=_.A(c,5,a.kaclsName);c=_.A(c,3,Y_c[a.aes256GcmChunkSize]);c=_.A(c,6,Z_c[a.keyFormat]);return _.A(c,4,a.jwt)};
F_c=function(a){_.GN(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};N_c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};M_c={anyone:4,audience:5,domain:3,group:2,user:1};O_c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};Q_c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};S_c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};E_c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
U_c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};T_c={docs:1,sheets:2,slides:3};V_c={ok:1,notFound:2,permissionDenied:3};W_c={unencrypted:1,encrypted:2};Y_c={unset:0,"default":1,small:2,size16kb:3};Z_c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};P_c=new _.uVa("yyyy:MM:dd HH:mm:ss");
var c0c;_.$_c=function(a){this.V=new A_c(a);this.yF=new C_c(this.V,a)};_.$_c.prototype.PE=function(a,b,c){c=void 0===c?[]:c;try{return a0c(this,a,b,c)}catch(d){_.WL(d)}};
var a0c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.cM)return _.b0c(a,b,c);if(b instanceof _.lM)return c0c(0,c,d);if(b instanceof _.Sz||b instanceof _.oM){if(!c.json)throw _.NN();return _.G_c(a.yF,c.json,c.headers)}if(b instanceof _.KM)return _.b0c(a,b,c);if("undefined"!=typeof _.sVc&&b instanceof _.sVc){if(!c.json)throw _.NN();a=c.json;return new _.GXc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.d0c&&b instanceof _.d0c){if(!c.json)throw _.NN();
return _.H_c(a.yF,c.json)}if(b instanceof _.zM)return c0c(b.yd(),c,d);if(b instanceof wVc){if(b.V){if(!c.json)throw _.NN();a=I_c(a.yF,c.json,null,c.headers,!!b.revisionId)}else a=_.J_c(null,c.headers);return a}if(b instanceof vVc){a=_.MUc(c.headers);b=a.location;if(!b)throw a=_.TL(new _.mc,10),new _.nc("No upload session URI included.",a);return new HXc(b,_.NUc(a),_.OUc(a))}if(b instanceof _.AVc)return new IXc;throw new _.nc("FromXhrConverter: Unsupported request type.",new _.mc);};
_.$_c.prototype.ha=function(){return null};c0c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new JXc(_.Caa(b.text),c.length):new JXc(new Uint8Array(_.ima(b.text)),c.length)};_.b0c=function(a,b,c){if(!c.json){if(b instanceof _.ML)return _.J_c(_.e0c(b));throw _.NN();}var d=!1;b instanceof _.KM&&(d=!!_.C(b.request,12));return I_c(a.yF,c.json,_.e0c(b),c.headers,d)};_.NN=function(){var a=_.TL(new _.mc,11);return new _.nc("FromXhrConverter: JSON required, but none found",a)};
_.e0c=function(a){return a.getId?a.getId():a.Ic?a.Ic():null};
var i0c,j0c,l0c,f0c,m0c,g0c;
i0c=function(a,b){var c={};_.ee(_.Qg(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Ic()&&_.Lea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.oj(b.ha()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=f0c[d?d.O():0],h.keyFormat=g0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.h0c(c,_.Pd(a,3));(b=a.Ic())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));a.i2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.i2());"number"===typeof _.C(a,26)&&(c.modifiedDate=_.OWc(_.NXc(_.C(a,26)||0)));return c};_.h0c=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)}}};j0c={};_.k0c=(j0c[1]="active",j0c[2]="archived",j0c);l0c={};f0c=(l0c[0]="unset",l0c[1]="default",l0c[2]="small",l0c[3]="size16kb",l0c);m0c={};g0c=(m0c[0]="unsetKeyFormat",m0c[1]="tinkKeyset",m0c[2]="tinkAesGcmKey",m0c);
var p0c=function(a,b,c){return(a.zQ?a.zQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return FZc(d)}).then(function(d){return n0c(a,b,d,c)},o0c)},n0c=function(a,b,c,d){var e=!!_.C(a.request,12),f="files";e&&(f+="/"+_.C(a.request,12));f=new _.aj(f);_.ij(f,"uploadType","multipart");_.ij(f,"supportsTeamDrives",!0);_.ij(f,"pinned",!!_.S(a.request,13,!1));null!=_.R(a.request,8)&&_.ij(f,"convert",_.R(a.request,8));_.ij(f,"fields",_.cVc({fields:_.hN(b).filter(function(q){return 194!=q}),tr:!1}));
jVc(f,a.request.we());var h=i0c(a.request,a.metadata),k=_.Rg();b={};b=(b["content-type"]=_.lt('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());_.QM(d,_.ck(a.request,_.zl,28),[],null,b);a="--"+k;a=a+"\r\n"+iVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+iVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Zm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},o0c=function(a){if(a instanceof _.Jwb){var b=new _.mc;_.Tp(b,"fs.Error: "+a.message);a=(a=a.name)?_.hEa.get(a)||25:38;_.TL(b,a);b=_.UA(b)}else b=_.VL(a);return Promise.reject(b)};
_.ON=function(a,b,c,d){this.H=a;this.Kg=b;this.O=c;this.Dd=d;this.ka=_.LL(a)||new _.pUc};_.ON.prototype.PE=function(a,b){try{return a.request instanceof _.KM?p0c(a.request,this.Kg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.nc?a=c.Qg:(a=new _.mc,_.Tp(a,"Error converting XHR: "+c.message),_.Up(a,c.stack),_.TL(a,4)),Promise.reject(a)}};
_.ON.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.cM){h=(e=!!_.C(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.C(a,12),k.pinned=!!_.S(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.cVc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),MG:_.BL(this.H)});e=i0c(a);f["content-type"]="application/json";var r=a.we();p=!0;_.gN(k);_.q0c(this.H,k);_.QM(this.H,_.ck(a,_.zl,28),_.Pd(a,3).concat([_.C(a,16),a.i2(),a.Ic()]),this.O,f)}else if(a instanceof _.lM||a instanceof
_.zM)a instanceof _.zM?(l=a.yd(),_.Q(a,2)&&(q="bytes="+_.C(a,2)+"-",_.Q(a,3)&&(q+=_.C(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.C(l,2)&&(k.revisionId=_.C(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.QM(this.H,[_.Al((new _.zl).Pb(l.getId()),_.C(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.oM||a instanceof _.Sz){if(a instanceof _.oM)q=_.C(a,1),a=_.E(a,_.Sz,2);else if(a instanceof _.Sz)q=0,_.xN(this.Dd,190196159);else throw Error("Xf");p=a.jn()[q];q="files/"+
p;r=_.xa(this.Mg(c),this.Mg(c,a.O()));_.Ea(r);k.fields=_.cVc({fields:r,tr:_.uL(_.vL(this.H)),MG:_.BL(this.H)});_.gN(k);_.r0c(this.H,k);_.s0c(this.H,k);this.W(p,k);r=a.we();p=!0;_.R(a,7)&&(b.mCa=!0);_.QM(this.H,_.ck(a,_.zl,11),a.jn(),this.O,f)}else if("undefined"!=typeof _.sVc&&a instanceof _.sVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.d0c&&a instanceof _.d0c)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 wVc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var u=a.H;b=a.O;f["content-range"]=a.V?_.lt("bytes %d-%d/%d",u,b,b+1):_.lt("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof vVc?(d=2,h=(e=!!_.C(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.C(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.R(a.request,8)&&(k.convert=_.R(a.request,8)),k.fields=_.cVc({fields:this.Mg(c).filter(function(y){return 194!=
y}),tr:_.uL(_.vL(this.H)),MG:_.BL(this.H)}),_.gN(k),e=i0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.QM(this.H,[],_.Pd(a.request,3),this.O,f),r=a.request.we(),p=!0):a instanceof _.AVc?(q="about",k.fields="kind",r=a.H,p=!0):_.t0c(a);p&&_.u0c(c,k);0!=d||l||r&&_.C(r,1)||_.xN(this.Dd,74438989);return _.v0c(this,d,q,k,f,h,r,e,u)};
_.v0c=function(a,b,c,d,e,f,h,k,l){c=new _.aj(c);[10,12,13].includes(b)||jVc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Ji())&&(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,_.jj(c,a,h);return{Zm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.r0c=function(a,b){_.S(a.Yf(),23,!1)&&(b.includePermissionsForView="published")};_.ON.prototype.W=function(){};
_.s0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.q0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.u0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ha(a).kRb):b.retryCount=0};_.ON.prototype.Mg=function(a,b){b||(b=_.hN(this.Kg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return pXc.includes(c)}));return b};_.t0c=function(a){var b=_.TL(new _.mc,4);throw new _.nc("ToXhrConverter: Unsupported request type: "+CVc(a),b);};
_.PN=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.oa=f;this.jj={};this.ha={};this.Dd=null;_.ze(this,function(){h.wG()})};_.L(_.PN,_.si);_.PN.prototype.EQ=function(){return _.hL()};
_.PN.prototype.upload=function(a,b,c,d){fZc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.jj[e])throw new _.nc("Upload requested with a duplicate request ID.");var f=_.Pd(a,10);if(f&&f.length){if(1!==f.length)throw new _.nc("Multi-parented uploads are not supported.");var h=this.jj[f[0]];if(!h)throw new _.nc("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);e||(e=this.EQ(),_.A(a,9,e));a=a.clone();f=w0c(this,e);this.jj[e]={request:a,
file:b,Jg:f,TM:!1,Du:0,success:!1,ME:!1,children:[],metadata:c,Sla:void 0,zQ:d};h?x0c(this,e,h):this.ka(e);return f.An()};
var w0c=function(a,b){var c=new _.Wh;c.Sf(_.tb(a.Fa,b),_.tb(a.Ha,b),a);return c},x0c=function(a,b,c,d){var e=a.jj[b];c.children.push(b);_.Ea(c.children);c.Jg.then(function(f){if(1===f.Bb()&&(f=f.Ic(),_.Pd(e.request,3).push(f),_.HH(e.request,10),!c.ME||d)){a.ka(b);return}a.log('[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Jg.Pd(_.AL(f)?f:Error(f))})};
_.PN.prototype.Fa=function(a,b){fZc(this.V,"UploadSuccessCount");a=this.jj[a];a.success=1===b.Bb();(b=a.Sla)&&!a.ME&&(gXc(iXc(dYc(b),a.Du),!0),b.Yj())};_.PN.prototype.Ha=function(a,b){var c=_.E(this.O,_.SL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);fZc(this.V,"UploadFailureCount");c=this.jj[a];(a=c.Sla)&&!c.ME&&(gXc(iXc(dYc(a),c.Du),!1),b=(c=b&&b.Qg)&&c.Fk(),c=c&&c.Qp(),b?hXc(dYc(a),y0c.get(b)||13):c&&hXc(dYc(a),z0c.get(c)||0),a.Yj())};
_.PN.prototype.ka=function(a){var b=this.jj[a];if(!b.TM){b.TM=!0;a=this.jj[a];var c=a.request,d=_.E(this.O,_.SL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(A0c))&&(!d[1]||a.Du<Number(d[1].substr(1)))&&(c=c.clone(),_.qa(_.Pd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Kz())?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.Yf();d=_.Lj(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.oa&&3!==d){var f=this.oa.H(106012);if(f){b.Sla=f;f=dYc(f);f=_.A(f,1,2===d?2:1);f=_.A(f,4,!!b.metadata);
var h=!!_.C(a,12);f=_.A(f,5,h);e=_.A(f,6,e);c=_.Lj(c,32,1073741824);_.A(e,7,c)}}switch(d){case 2:b.file&&B0c(this,new _.xVc(a,b.file,b.zQ,b.metadata),b.Jg,a.fj());break;case 1:b.file&&(c=b.Jg,d=b.file,e=b.metadata,b=b.zQ,f=_.E(this.O,_.GWc,2),B0c(this,new _.KM(a,d,b,f&&_.XM(f)?e:void 0),c,a.fj()));break;case 3:B0c(this,a,b.Jg,a.fj());break;default:throw new _.nc("Upload type ${uploadType} not supported.");}}};
var B0c=function(a,b,c,d){KYc(a.Ba,d,a.ma.bind(a,d));_.Th(a.W.then(function(e){return e.Ve(b,{requestId:d})}).then(null,function(e){return C0c(a,b,e)}),function(){LYc(a.Ba,[d])}).then(c.callback,c.Pd,c)},C0c=function(a,b,c){var d=_.UA(c),e=b instanceof _.KM&&b.request.Ic()||"";c=d.Qg;if(e&&8===c.Fk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.Uz(new _.Sz,[e]);return _.$h(a.W.then(function(h){return h.Ve(f)}).then(function(h){h=h.qd().Gd()[0];var k=b.request;if(h&&!h.Sh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.rXc((new _.NM).setItem(h),e).Cc(1);a.log("No matching item found for: "+e);return _.Qh(d)}))}return _.ai(d)};_.g=_.PN.prototype;
_.g.cancel=function(a){var b=this,c=this.jj[a];if(c&&(!c.ME||0!==c.children.length))if(c.ME=!0,c.Jg.ag())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.Sla;d&&(hXc(gXc(iXc(dYc(d),c.Du),!1),2),d.Yj());var e=_.Sh();c.TM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.TM=!0,d=new _.NM,d.Cc(8),c.Jg.callback(d),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.wG=function(){var a=this;_.Ma(this.jj,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.jj[f]){var h=[];do{h.push(f);var k=(_.Pd(b.jj[f].request,10)||[])[0];if(k){var l=b.jj[k];if(l.success||!l.Jg.ag()||e[k])break;else if(!c.has(k)){e[f]=new _.nc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ia(h,function(p){var q=b.jj[p];q.Du++;if(!e[p])if(!q.Jg.ag()||q.success)e[p]=new _.nc("Unable to retry request.");else{var r=(_.Pd(q.request,10)||[])[0];e[r]instanceof _.nc?
e[p]=e[r]:(q.Jg=w0c(b,p),q.TM=!1,q.ME=!1,(r=r?b.jj[r]:null)?x0c(b,p,r,!0):d.push(p),e[p]=q.Jg.An())}})}else e[f]=new _.nc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Wh?f:_.ai(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.yd=function(a){return this.jj[a]};var A0c=/^uploadTestFailMe(\.[1-9])?$/,z0c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),y0c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.oc=function(a){_.gi.call(this,_.Ac);this.error=a};_.L(_.oc,_.gi);_.t("sy1m6");
_.D0c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var E0c;E0c=[1];_.QN=function(a){_.P(this,a,-1,E0c,null)};_.L(_.QN,_.K);_.QN.prototype.O=function(){return _.Pd(this,1)};_.t("sy1m2");
var F0c;_.RN=function(a){_.P(this,a,-1,F0c,null)};_.L(_.RN,_.K);_.RN.prototype.Bb=function(){return _.C(this,1)};_.RN.prototype.Cc=function(a){return _.A(this,1,a)};_.RN.prototype.rk=function(){return _.ck(this,_.Wk,2)};_.G0c=function(a,b){return _.Cb(a,2,b)};_.RN.prototype.sr=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.RN.prototype.Uf=function(){return _.C(this,4)};_.H0c=function(a,b){return _.A(a,4,b)};F0c=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1m1");
_.oTb=function(a){_.P(this,a,-1,null,null)};_.L(_.oTb,_.K);_.oTb.prototype.Li=function(){return _.C(this,3)};_.oTb.prototype.wi=function(a){return _.A(this,3,a)};_.oTb.prototype.we=function(){return _.E(this,_.of,5)};_.oTb.prototype.getCustomer=function(){return _.C(this,6)};

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var K0c,L0c,M0c,N0c,O0c,P0c,Q0c,R0c,S0c,T0c,V0c,W0c,X0c,Y0c,Z0c,UN,d1c,e1c,VN,WN,f1c,g1c,i1c,j1c,k1c,m1c,n1c,o1c,p1c,q1c,r1c,s1c,u1c,w1c,C1c,E1c,H1c,I1c,L1c,O1c,dO,P1c,Q1c,R1c,S1c,T1c,U1c,V1c,X1c,Y1c,Z1c,$1c,c2c,b2c,f2c,h2c,j2c,l2c,p2c,r2c,s2c,t2c,u2c,v2c,w2c,A2c,C2c,D2c,E2c,F2c,G2c,a1c,ZN,$0c,b1c,c1c,X3c,Y3c,iO,a4c,l4c,o4c,p4c,q4c,t4c,a2c,kO,Q4c,R4c,S4c,T4c,V4c,W4c,X4c,Y4c,Z4c,lO,$4c,a5c,b5c,c5c,d5c,e5c,f5c,g5c,h5c,i5c,j5c,k5c,l5c,mO,o5c,p5c,q5c,W1c,r5c,s5c,t5c,o6c,p6c,r6c,s6c,x6c,L6c,M6c,T6c,c7c,
u7c,A7c,H7c,J7c,O7c,U7c,n8c,o8c,r8c,t8c,D8c,O8c,Q8c,R8c,X8c,Y8c,o2c,Z8c,U9c,z1c,V9c,Y9c,cdd,ddd,edd,fdd,gdd,hdd,idd,jdd,kdd,ldd;K0c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Pd(a,3),Convert:_.R(a,8),ID:a.fj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
L0c=function(a){var b=[];b.push(K0c(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.Du&&b.push("# of retries by client: "+a.Du);var d="";a.TM?a.Jg.ag()?a.Jg.Sf(function(){d="Completed successfully."},function(e){d=e instanceof _.Xh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
M0c=function(a,b,c,d,e,f){var h=_.lt("Drive Upload Report: %d/%d failed",_.Qa(f),_.Qa(e));a=a.Yf();d.push("Batch query interval: "+_.Lj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Lj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Lj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Lj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Lj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(L0c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.FXc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.lt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var u=p.Qg;u=u?_.C(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,oQ:k,zd:152391,u9:c,F0:361003}};N0c=function(a){return Array.prototype.concat.apply([],arguments)};O0c=function(a,b,c){c=_.Ga(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
P0c=function(a){return String.fromCharCode(10>a?48+a:87+a)};Q0c=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]=P0c(d>>4);b[2*c+3]=P0c(d&15)}return b.join("")};R0c=function(a){var b=new _.Io;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.XL(a,!0,"file"));a.E7&&(b.append(",teamDriveId,teamDrive("),b.append(a.E7),b.append(")"));b.append(")");return b.toString()};
S0c=function(a){var b=new _.Io;b.append("kind,nextPageToken,items(");b.append(_.XL(a,!0));b.append("),incompleteSearch");a.E7&&(b.append(","),b.append(a.E7));return b.toString()};
T0c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.E(d,_.RM,138),k=_.E(d,_.Tk,111),l=_.E(d,_.SM,27),p=_.bl(d),q=d.Of(),r=d.hh(),u=_.E(d,_.UM,103);switch(e){case 74:_.Sj(d,83);break;case 188:_.Qj(d,137);break;case 149:_.HH(d,128);break;case 148:_.Sj(d,127);break;case 138:_.Qj(d,126);break;case 184:_.HH(d,135);break;case 76:f&&_.Qj(f,1);break;case 223:f&&_.Qj(f,54);break;case 208:f&&_.Qj(f,48);break;case 185:f&&_.Qj(f,40);break;case 224:f&&_.Qj(f,55);break;case 213:f&&
_.Qj(f,50);break;case 156:f&&_.Qj(f,39);break;case 61:f&&_.Qj(f,2);break;case 216:f&&_.Qj(f,52);break;case 217:f&&_.Qj(f,53);break;case 77:f&&_.Qj(f,4);break;case 134:f&&_.Qj(f,34);break;case 147:f&&_.Qj(f,38);break;case 81:f&&_.Qj(f,10);break;case 82:f&&_.Qj(f,11);break;case 114:f&&_.Qj(f,27);break;case 133:f&&_.Qj(f,33);break;case 202:f&&_.Qj(f,47);break;case 132:f&&_.Qj(f,32);break;case 101:f&&_.Qj(f,20);break;case 201:f&&_.Qj(f,46);break;case 131:f&&_.Qj(f,31);break;case 200:f&&_.Qj(f,45);break;
case 130:f&&_.Qj(f,30);break;case 93:f&&_.Qj(f,17);break;case 191:f&&_.Qj(f,44);break;case 146:f&&_.Qj(f,37);break;case 90:f&&_.Qj(f,16);break;case 78:f&&_.Qj(f,7);break;case 186:f&&_.Qj(f,41);break;case 222:f&&_.Qj(f,51);break;case 85:f&&_.Qj(f,12);break;case 137:f&&_.Qj(f,36);break;case 209:f&&_.Qj(f,49);break;case 79:f&&_.Qj(f,8);break;case 189:f&&_.Qj(f,42);break;case 190:f&&_.Qj(f,43);break;case 80:f&&_.Qj(f,9);break;case 135:f&&_.Qj(f,35);break;case 102:f&&_.Qj(f,21);break;case 69:_.Qj(d,74);
break;case 194:h&&_.Rj(h,2);break;case 193:h&&_.Qj(h,1);break;case 1004:_.Qj(d,108);break;case 136:_.Sj(d,125);break;case 115:k&&_.Qj(k,1);break;case 116:k&&_.Qj(k,2);break;case 34:_.Qj(d,30);f&&_.Qj(f,3);break;case 9:_.Qj(d,10);break;case 91:_.Rj(d,91);break;case 43:_.Qj(d,42);_.Qj(d,43);break;case 187:_.Qj(d,136);break;case 26:_.Qj(d,24);break;case 108:_.HH(d,104);break;case 41:_.Qj(d,40);f&&_.Qj(f,5);break;case 42:_.Qj(d,41);break;case 1005:_.Sj(d,117);break;case 59:f&&_.Qj(f,6);break;case 28:_.Qj(d,
26);break;case 44:_.Qj(d,45);break;case 13:_.Qj(d,14);break;case 48:_.Qj(d,36);break;case 38:_.Qj(d,34);break;case 49:_.HH(d,50);break;case 51:_.Qj(d,53);break;case 104:_.Qj(d,102);break;case 39:_.Qj(d,35);break;case 87:_.Qj(d,76);break;case 100:_.Qj(d,98);break;case 72:_.Qj(d,78);break;case 5:_.Qj(d,6);break;case 20:_.Qj(d,21);break;case 21:break;case 29:l&&_.Qj(l,1);break;case 31:l&&_.Qj(l,3);break;case 92:l&&_.Qj(l,4);break;case 30:l&&_.Qj(l,2);break;case 16:_.Rj(d,17);break;case 12:_.Qj(d,13);
break;case 211:p&&_.Qj(p,2);break;case 212:p&&_.Qj(p,3);break;case 220:p&&_.Qj(p,5);break;case 157:r&&_.Sj(r,8);break;case 3:_.Qj(d,4);break;case 11:_.Qj(d,12);break;case 10:_.Qj(d,11);break;case 50:_.Qj(d,49);_.Qj(d,51);_.Rj(d,81);break;case 18:_.Qj(d,19);break;case 95:_.Qj(d,93);break;case 58:_.Qj(d,63);break;case 14:_.Sj(d,15);break;case 103:_.Qj(d,101);break;case 1:_.HH(d,2);break;case 96:_.Qj(d,94);break;case 1003:_.Sj(d,107);break;case 75:_.Rj(d,85);break;case 94:_.Qj(d,92);break;case 45:_.Qj(d,
46);break;case 124:_.Qj(d,118);break;case 125:_.Qj(d,119);break;case 1002:_.Rj(d,100);break;case 32:_.Qj(d,28);break;case 67:_.Qj(d,70);break;case 68:_.Qj(d,71);break;case 73:_.Qj(d,79);break;case 71:_.Qj(d,77);break;case 221:r&&_.Qj(r,9);break;case 210:_.Qj(d,140);break;case 7:_.Qj(d,8);break;case 122:_.Rj(d,109);break;case 66:_.Qj(d,69);break;case 33:_.Qj(d,29);break;case 24:_.Qj(d,22);break;case 25:_.Qj(d,23);break;case 46:_.Rj(d,47);break;case 192:q&&_.Qj(q,6);break;case 159:q&&_.Rj(q,5);break;
case 154:q&&_.Qj(q,1);break;case 158:q&&_.Qj(q,4);break;case 155:q&&_.Qj(q,3);break;case 52:_.HH(d,56);break;case 56:_.Qj(d,61);break;case 55:_.Sj(d,60);break;case 4:_.Qj(d,5);break;case 35:_.Qj(d,31);break;case 57:_.Qj(d,62);break;case 83:_.Qj(d,72);break;case 84:_.Rj(d,86);break;case 19:_.Qj(d,20);_.Qj(d,44);_.Qj(d,90);break;case 2:_.Qj(d,3);break;case 6:_.Qj(d,7);break;case 98:_.Qj(d,96);break;case 97:_.Rj(d,95);break;case 27:_.Qj(d,25);break;case 70:_.Qj(d,75);break;case 107:u&&_.Qj(u,3);break;
case 106:u&&_.Qj(u,2);break;case 105:u&&_.Qj(u,1);break;case 8:_.Qj(d,9);break;case 126:_.HH(d,120);break;default:throw Error("Lc`"+e);}}};V0c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(U0c)));a=[].concat(_.nd(_.dbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)T0c(b[d],a)}};
W0c=function(a,b){var c=a.getCapabilities()||new _.Rk,d=_.E(a,_.RM,138),e=_.E(a,_.Tk,111),f=_.E(a,_.SM,27),h=_.bl(a),k=a.Of(),l=a.hh(),p=_.E(a,_.UM,103);switch(b){case 74:return 0<a.cu().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Pd(a,128).length;case 148:return 0<a.ha().length;case 138:return null!=a.V();case 184:return 0<_.Pd(a,135).length;case 76:return null!=_.Sk(c);case 223:return null!=_.R(c,54);case 208:return null!=_.R(c,48);case 185:return null!=_.R(c,40);case 224:return null!=
_.R(c,55);case 213:return null!=_.R(c,50);case 156:return null!=_.R(c,39);case 61:return null!=_.R(c,2);case 216:return null!=_.R(c,52);case 217:return null!=_.R(c,53);case 77:return null!=_.R(c,4);case 134:return null!=_.R(c,34);case 147:return null!=_.R(c,38);case 81:return null!=_.R(c,10);case 82:return null!=_.R(c,11);case 114:return null!=_.R(c,27);case 133:return null!=_.R(c,33);case 202:return null!=_.R(c,47);case 132:return null!=_.R(c,32);case 101:return null!=_.R(c,20);case 201:return null!=
_.R(c,46);case 131:return null!=_.R(c,31);case 200:return null!=_.R(c,45);case 130:return null!=_.R(c,30);case 93:return null!=_.R(c,17);case 191:return null!=_.R(c,44);case 146:return null!=_.R(c,37);case 90:return null!=_.le(c);case 78:return null!=_.R(c,7);case 186:return null!=_.R(c,41);case 222:return null!=_.R(c,51);case 85:return null!=_.R(c,12);case 137:return null!=_.R(c,36);case 209:return null!=_.R(c,49);case 79:return null!=_.R(c,8);case 189:return null!=_.R(c,42);case 190:return null!=
_.R(c,43);case 80:return null!=_.R(c,9);case 135:return null!=_.R(c,35);case 102:return null!=_.R(c,21);case 69:return null!=_.R(a,74);case 194:return null!=d&&null!=_.E(d,_.mWc,2);case 193:return null!=d&&null!=_.C(d,1);case 1004:return null!=_.R(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.R(e,1);case 116:return null!=e&&null!=_.C(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.$C();case 91:return null!=a.Tq();case 43:return null!=_.C(a,42)||null!=
_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=a.Se();case 108:return 0<_.Pd(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.al(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.XI();case 44:return null!=_.C(a,45);case 13:return null!=a.eG();case 48:return null!=_.R(a,36);case 38:return null!=a.Ti();case 49:return 0<_.Pd(a,50).length;case 51:return null!=_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.vka();
case 87:return null!=_.Yk(a);case 100:return null!=_.R(a,98);case 72:return null!=_.C(a,78);case 5:return null!=a.Fm();case 20:return null!=a.ef();case 21:return null!=a.getId();case 29:return!(!f||null==_.C(f,1));case 31:return!(!f||null==_.C(f,3));case 92:return!(!f||null==_.C(f,4));case 30:return!(!f||null==f.Pe());case 16:return null!=a.Bm();case 12:return null!=a.kz();case 211:return null!=h&&null!=_.R(h,2);case 212:return null!=h&&null!=_.R(h,3);case 220:return null!=h&&null!=_.R(h,5);case 157:return!(!l||
!_.ck(l,_.Vk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.lB();case 10:return null!=a.Iq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Qm();case 18:return null!=a.Xq();case 14:return 0<_.Xk(a).length;case 95:return null!=a.ln();case 58:return null!=_.R(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.$k(a).length;case 75:return null!=a.$w();case 94:return null!=a.wN();case 45:return null!=a.ww();
case 124:return null!=_.R(a,118);case 125:return null!=_.C(a,119);case 1002:return null!=_.Zk(a);case 32:return null!=a.Tu();case 67:return null!=a.bK();case 68:return null!=_.C(a,71);case 73:return null!=_.C(a,79);case 71:return null!=a.d2();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.cl(a);case 7:return null!=a.o7();case 122:return null!=_.TN(a);case 66:return null!=_.C(a,69);case 33:return null!=_.R(a,29);case 24:return null!=a.Hj();case 25:return null!=a.xy();case 46:return null!=
a.Uv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Td(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=_.Vd(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Pd(a,56).length;case 55:return 0<a.tB().length;case 56:return null!=_.C(a,61);case 4:return null!=a.XA();case 35:return null!=_.R(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Bc();case 84:return null!=_.E(a,_.TM,86);case 2:return null!=a.getTitle();case 19:return null!=
a.Vx()||null!=_.R(a,44)||null!=_.C(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Vv();case 97:return null!=a.sD();case 27:return null!=a.wp();case 70:return null!=a.Ci();case 107:return null!=p&&null!=_.C(p,3);case 106:return null!=p&&null!=_.C(p,2);case 105:return null!=p&&null!=p.Pe();case 8:return null!=_.R(a,9);case 126:return 0<_.Pd(a,120).length;default:throw Error("Mc`"+b);}};X0c=function(a,b){return b.every(function(c){return W0c(a,c)})};
Y0c=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)})};Z0c=function(a,b){var c=new Set(b.concat(_.bVc));return a.filter(function(d){return!c.has(d)})};
UN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(W0c(b,e))if(_.hbb.has(e)){if(d){var f=a.getCapabilities()||new _.Rk;_.WM(a,f);switch(e){case 76:_.RVc(f,_.Sk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.lWc(f,_.R(d,48));break;case 185:var k=_.R(d,40);_.A(f,40,k);break;case 224:var l=_.R(d,55);_.A(f,55,l);break;case 213:var p=_.R(d,50);_.A(f,50,p);break;case 156:var q=_.R(d,39);_.A(f,39,q);break;case 61:var r=_.R(d,2);_.A(f,2,r);break;case 216:var u=
_.R(d,52);_.A(f,52,u);break;case 217:var y=_.R(d,53);_.A(f,53,y);break;case 77:_.SVc(f,_.R(d,4));break;case 134:var z=_.R(d,34);_.A(f,34,z);break;case 147:var D=_.R(d,38);_.A(f,38,D);break;case 81:_.YVc(f,_.R(d,10));break;case 82:_.ZVc(f,_.R(d,11));break;case 114:var G=_.R(d,27);_.A(f,27,G);break;case 133:_.gWc(f,_.R(d,33));break;case 202:_.kWc(f,_.R(d,47));_.fWc(f,_.R(d,32));break;case 132:_.fWc(f,_.R(d,32));break;case 101:_.cWc(f,_.R(d,20));break;case 201:_.jWc(f,_.R(d,46));break;case 131:_.eWc(f,
_.R(d,31));break;case 200:var I=_.R(d,45);_.A(f,45,I);break;case 130:var M=_.R(d,30);_.A(f,30,M);break;case 93:_.bWc(f,_.R(d,17));break;case 191:var O=_.R(d,44);_.A(f,44,O);break;case 146:var X=_.R(d,37);_.A(f,37,X);break;case 90:_.aWc(f,_.le(d));break;case 78:_.VVc(f,_.R(d,7));break;case 186:var ra=_.R(d,41);_.A(f,41,ra);break;case 222:var fa=_.R(d,51);_.A(f,51,fa);break;case 85:_.$Vc(f,_.R(d,12));break;case 137:var na=_.R(d,36);_.A(f,36,na);break;case 209:var sa=_.R(d,49);_.A(f,49,sa);break;case 79:_.WVc(f,
_.R(d,8));break;case 189:_.hWc(f,_.R(d,42));break;case 190:_.iWc(f,_.R(d,43));break;case 80:_.XVc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.dWc(f,_.R(d,21));break;case 34:var Wa=_.R(b,30);_.A(a,30,Wa);var Ia=_.R(d,3);_.A(f,3,Ia);break;case 41:var Ra=_.R(b,40);_.A(a,40,Ra);_.TVc(f,_.R(d,5));break;case 59:_.UVc(f,_.R(d,6))}}}else if(_.ibb.has(e)){var Zb=_.E(b,_.RM,138);if(Zb){var ub=_.E(a,_.RM,138)||new _.RM;_.x(a,138,ub);switch(e){case 194:var wc=_.E(Zb,_.mWc,2);_.x(ub,
2,wc);break;case 193:var Sc=_.C(Zb,1);_.A(ub,1,Sc)}}}else if(_.jbb.has(e)){var gd=_.E(b,_.Tk,111);if(gd){var ve=_.E(a,_.Tk,111)||new _.Tk;_.x(a,111,ve);switch(e){case 115:ve.dP(_.R(gd,1));break;case 116:_.nWc(ve,_.C(gd,2))}}}else if(_.kbb.has(e)){var be=_.E(b,_.SM,27);if(be){var Jf=_.E(a,_.SM,27)||new _.SM;_.x(a,27,Jf);switch(e){case 29:var yc=_.C(be,1);_.A(Jf,1,yc);break;case 31:Jf.wh(_.C(be,3));break;case 92:var yb=_.C(be,4);_.A(Jf,4,yb);break;case 30:Jf.xh(be.Pe())}}}else if(_.lbb.has(e)){var Dg=
_.bl(b);if(Dg){var Ug=_.bl(a)||new _.Ana;_.x(a,139,Ug);switch(e){case 211:var Ve=_.R(Dg,2);_.A(Ug,2,Ve);break;case 212:var dj=_.R(Dg,3);_.A(Ug,3,dj);break;case 220:var $f=_.R(Dg,5);_.A(Ug,5,$f)}}}else if(_.mbb.has(e)){var Bi=b.Of();if(Bi){var Gg=a.Of()||new _.Jna;_.x(a,132,Gg);switch(e){case 192:var el=_.R(Bi,6);_.A(Gg,6,el);break;case 159:var $e=_.Td(Bi);_.x(Gg,5,$e);break;case 154:var af=_.C(Bi,1);_.A(Gg,1,af);break;case 158:var mh=_.Vd(Bi);_.A(Gg,4,mh);break;case 155:var Uh=_.C(Bi,3);_.A(Gg,3,
Uh)}}}else if(_.nbb.has(e)){var sj=b.hh();switch(e){case 157:if(sj){var Lk=a.hh()||new _.Hna;$0c(a,Lk);a1c(Lk,_.ck(sj,_.Vk,8))}break;case 221:if(sj){var Ln=a.hh()||new _.Hna;$0c(a,Ln);var vp=_.R(sj,9);_.A(Ln,9,vp)}}}else if(_.obb.has(e)){var Ri=_.E(b,_.UM,103);if(Ri){var pi=_.E(a,_.UM,103)||new _.UM;_.x(a,103,pi);switch(e){case 107:var fl=_.C(Ri,3);_.A(pi,3,fl);break;case 106:pi.wh(_.C(Ri,2));break;case 105:pi.xh(Ri.Pe())}}}else switch(e){case 74:var Rf=b.cu();_.Cb(a,83,Rf);break;case 188:var Kl=
_.R(b,137);_.A(a,137,Kl);break;case 149:var tj=_.Pd(b,128);_.Pj(a,128,tj);break;case 148:var pk=b.ha();_.Cb(a,127,pk);break;case 138:var ej=b.V();_.A(a,126,ej);break;case 184:var Ll=_.Pd(b,135);_.Pj(a,135,Ll);break;case 69:var Im=_.R(b,74);_.A(a,74,Im);break;case 1004:var Mk=_.R(b,108);_.A(a,108,Mk);break;case 136:var Ml=b.O();_.Cb(a,125,Ml);break;case 9:var Vg=b.$C();_.A(a,10,Vg);break;case 91:var Nl=b.Tq();_.x(a,91,Nl);break;case 43:var Ci=_.C(b,42);_.A(a,42,Ci);var Ij=_.C(b,43);_.A(a,43,Ij);break;
case 187:_.FWc(a,_.C(b,136));break;case 26:a.um(b.Se());break;case 108:var Jj=_.Pd(b,104);_.Pj(a,104,Jj);break;case 42:var uj=_.C(b,41);_.A(a,41,uj);break;case 1005:var gl=_.al(b);_.Cb(a,117,gl);break;case 28:_.wWc(a,b.XI());break;case 44:var vj=_.C(b,45);_.A(a,45,vj);break;case 13:var hl=b.eG();_.A(a,14,hl);break;case 48:var mf=_.R(b,36);_.A(a,36,mf);break;case 38:_.yWc(a,b.Ti());break;case 49:var Kj=_.Pd(b,50);_.Pj(a,50,Kj);break;case 51:var hm=_.R(b,53);_.A(a,53,hm);break;case 104:var im=_.R(b,
102);_.A(a,102,im);break;case 39:var jm=b.vka();_.A(a,35,jm);break;case 87:var Si=_.Yk(b);_.A(a,76,Si);break;case 100:var Gc=_.R(b,98);_.A(a,98,Gc);break;case 72:var Wj=_.C(b,78);_.A(a,78,Wj);break;case 5:var Vh=b.Fm();_.A(a,6,Vh);break;case 20:var wj=b.ef();_.A(a,21,wj);break;case 21:a.Pb(b.getId());break;case 16:_.uWc(a,b.Bm());break;case 12:var mg=b.kz();_.A(a,13,mg);break;case 3:_.MF(a,b.getMimeType());break;case 11:var Hg=b.lB();_.A(a,12,Hg);break;case 10:_.mTb(a,b.Iq());break;case 50:var Nk=
_.R(b,49);_.A(a,49,Nk);var km=_.R(b,51);_.A(a,51,km);var hi=b.Qm();_.x(a,81,hi);break;case 95:_.EWc(a,b.ln());break;case 18:_.vWc(a,b.Xq());break;case 58:var qi=_.R(b,63);_.A(a,63,qi);break;case 14:_.tWc(a,_.Xk(b));break;case 1:_.VM(a,b.mk());break;case 96:var qk=_.R(b,94);_.A(a,94,qk);break;case 103:var fj=_.C(b,101);_.A(a,101,fj);break;case 1003:b1c(a,_.$k(b));break;case 75:_.CWc(a,b.$w());break;case 94:_.DWc(a,b.wN());break;case 45:var wo=b.ww();_.A(a,46,wo);break;case 124:var jn=_.R(b,118);_.A(a,
118,jn);break;case 125:var il=_.C(b,119);_.A(a,119,il);break;case 1002:var Xj=_.Zk(b);_.x(a,100,Xj);break;case 32:var Mn=b.Tu();_.A(a,28,Mn);break;case 67:var xo=b.bK();_.A(a,70,xo);break;case 68:var jq=_.C(b,71);_.A(a,71,jq);break;case 73:var Po=_.C(b,79);_.A(a,79,Po);break;case 71:var Rm=b.d2();_.A(a,77,Rm);break;case 210:var Bj=_.cl(b);_.A(a,140,Bj);break;case 7:_.sWc(a,b.o7());break;case 122:c1c(a,_.TN(b));break;case 66:var Qo=_.C(b,69);_.A(a,69,Qo);break;case 33:var Dp=_.R(b,29);_.A(a,29,Dp);
break;case 24:var Ep=b.Hj();_.A(a,22,Ep);break;case 25:var ur=b.xy();_.A(a,23,ur);break;case 46:var Qw=b.Uv();_.x(a,47,Qw);break;case 52:var vr=_.Pd(b,56);_.Pj(a,56,vr);break;case 56:var Gs=_.C(b,61);_.A(a,61,Gs);break;case 55:a.CA(b.tB());break;case 4:a.Ev(b.XA());break;case 35:_.xWc(a,_.R(b,31));break;case 57:var wA=_.C(b,62);_.A(a,62,wA);break;case 83:_.BWc(a,b.Bc());break;case 84:var TC=_.E(b,_.TM,86);_.x(a,86,TC);break;case 98:a.tda(b.Vv());break;case 97:var mv=b.sD();_.x(a,95,mv);break;case 19:var zr=
b.Vx();_.A(a,20,zr);_.zWc(a,_.R(b,44));var Ar=_.C(b,90);_.A(a,90,Ar);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Pn(b.Sh());break;case 27:_.nTb(a,b.wp());break;case 70:var Qt=b.Ci();_.A(a,75,Qt);break;case 8:var xA=_.R(b,9);_.A(a,9,xA);break;case 126:var yA=_.Pd(b,120);_.Pj(a,120,yA);break;default:throw Error("Nc`"+e);}})};d1c=function(a,b){var c=_.My[a];return b.filter(function(d){return!c||!c.has(d)})};e1c=function(a,b,c){a=d1c(c,a);return Y0c(b,a,_.bVc)};
VN=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};WN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&VN(a)?(a=a.Of(),!!a&&"application/vnd.google-apps.folder"===_.C(a,3)):"application/vnd.google-apps.folder"===c};f1c=function(a){var b=a&&a.getId()||null;a&&VN(a)&&(a=(a=a.Of())&&_.C(a,1))&&(b=a);return b};g1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};i1c=function(a){return h1c.some(function(b){return W0c(a,b)})};
j1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(ZN(b))})};k1c=function(a){return j1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.l1c=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};m1c=function(a,b){var c=_.MUc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};n1c=function(a,b){return 0<=b?!a||a<=b:!0};
o1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.FRc()&&4===b.getType()?"title_natural":_.RTc[b.getType()];b=_.TTc[b.Bf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};p1c=function(a,b){var c=a.Qm();c||(c=new _.Bna,b&&_.x(a,81,c));return c};q1c=function(a){if(WN(a))_.SN(p1c(a,!0),!0);else if(WN(a,!0)){var b=a.Of();if(b=b&&_.Td(b))_.SN(p1c(b,!0),!0),_.SN(p1c(a,!0),!0)}};r1c=function(a){return!!a.Qm()&&!WN(a)};
s1c=function(a){var b=[];_.Ka(a,function(c){if(3!=ZN(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Qm())c=c.clone(),_.Qj(c,49),_.Qj(c,51),_.Rj(c,81);b.push(c)}});return b};u1c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.Zb():c&&c instanceof _.pN?a[b]=c.Zb(function(d){return d?d.Zb():null}):c&&c instanceof t1c&&(a[b]=c.Zb())}};w1c=function(a){var b=a.slice(0),c=new Set(b);v1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
C1c=function(a,b,c){var d=_.E(a,x1c,66);if(d){var e=_.C(d,1),f=_.bN(a);a=_.KL(_.vL(a));e=new _.aj(e);var h=new _.aj(window.location);var k=h.Co()+"://"+h.Aj();null!=h.Oo&&(k+=":"+h.vy());h=_.oj(k,3);_.ij(e,"co",h);h=e.Oe();!f&&0<a&&(h+="u/"+a+"/");e.xi(h+"_/dataservice/cacheproxy");f=_.C(d,5)||"";if(_.DUc(window.location.href,e.toString())&&f)return e=w1c(c),c=_.C(d,6),b="#"+b+"_",d=new _.nL,d.update(e.join(",")),b+=_.aSc(d.digest()),c&&(b+="&jobset="+c),b=_.Vx(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new y1c(c.port),c.port.start()):b=new y1c(new Worker(_.zga(b),void 0)),new z1c(new $N(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.hL();c=_.sh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.rha(_.CUc(_.Tf("display: none;")));document.body.appendChild(c);c=_.XRc(e.Co(),void 0,e.Aj(),e.vy()).toString();return new z1c(new $N(A1c(window.frames[b],c),!1,!0),0,e.toString())}b=new B1c;return new z1c(new $N(b.O,!1,!1),2,"inline",c,new $N(b.H,!1,!1))};
E1c=function(a){var b=new D1c;if(a instanceof _.YL)_.dk(b,16,aO[0],a);else if(a instanceof _.ZL)_.dk(b,1,aO[0],a);else if(a instanceof _.$L)_.dk(b,2,aO[0],a);else if(a instanceof _.bO)_.dk(b,17,aO[0],a);else if(a instanceof _.cM)_.dk(b,3,aO[0],a);else if(a instanceof _.zN)_.dk(b,4,aO[0],a);else if(a instanceof _.aM)_.dk(b,5,aO[0],a);else if(a instanceof _.gM)_.dk(b,6,aO[0],a);else if(a instanceof _.iM)_.dk(b,7,aO[0],a);else if(a instanceof _.jM)_.dk(b,8,aO[0],a);else if(a instanceof _.mM)_.dk(b,9,
aO[0],a);else if(a instanceof _.CM)_.dk(b,10,aO[0],a);else if(a instanceof _.DM)_.dk(b,11,aO[0],a);else if(a instanceof _.EM)_.dk(b,12,aO[0],a);else if(a instanceof _.ML)_.dk(b,13,aO[0],a);else if(a instanceof _.HM)_.dk(b,14,aO[0],a);else if(a instanceof _.IM)_.dk(b,15,aO[0],a);else throw new _.nc("Unsupported request type");return b};
H1c=function(a){a=a.map(function(c){var d=new F1c;if(c instanceof _.YL)_.dk(d,6,cO[0],c);else if(c instanceof _.bO)_.dk(d,7,cO[0],c);else if(c instanceof _.gM)_.dk(d,1,cO[0],c);else if(c instanceof _.CM)_.dk(d,2,cO[0],c);else if(c instanceof _.DM)_.dk(d,3,cO[0],c);else if(c instanceof _.ML)_.dk(d,4,cO[0],c);else if(c instanceof _.IM)_.dk(d,5,cO[0],c);else throw new _.nc("Unsupported request type");return d});var b=new G1c;_.Cb(b,1,a);return b};
I1c=function(a){return _.ck(a,F1c,1).map(function(b){return _.E(b,_.YL,6)||_.E(b,_.gM,1)||_.E(b,_.CM,2)||_.E(b,_.DM,3)||_.E(b,_.ML,4)||_.E(b,_.IM,5)||_.E(b,_.bO,7)})};L1c=function(a){var b=new J1c;if(a instanceof _.eD)_.dk(b,1,K1c[0],a);else if(a instanceof _.fD)_.dk(b,2,K1c[0],a);else throw new _.nc("Unsupported request type");return b};
O1c=function(a){var b=new M1c;if(a instanceof _.dM)_.dk(b,1,N1c[0],a);else if(a instanceof _.kM)_.dk(b,2,N1c[0],a);else if(a instanceof _.JM)_.dk(b,3,N1c[0],a);else throw new _.nc("Unsupported request type");return b};dO=function(a,b,c){return b?new c(JSON.parse(a)):a};P1c=function(a){a={t:a.title,d:a.description,c:a.zd,fi:a.u9,dti:a.F0,a:a.oQ?a.oQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.f9})}):void 0};return JSON.stringify(a)};
Q1c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,zd:a.c,u9:a.fi,F0:a.dti,oQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,f9:b.ec}}):void 0}};R1c=function(a,b,c){a=a?1:2;a=_.cd(_.bd(new _.ad,12),a);var d=(new _.bf).Pn(!0);d=_.A(d,17,!0);a=_.cf(d,a);c&&_.El(a,c);c=new _.PTc;b&&_.TUc(c,b);return _.UUc(_.WUc(new _.CL,a),c)};S1c=function(a){return a.map(function(b){return b.getItem()})};
T1c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};U1c=function(a,b){var c=new _.aj(_.F(b,16,"")+"/open"),d=a.getId();VN(a)&&(d=f1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.KL(_.vL(b)));_.S(b,89,!1)&&_.Q(a,140)&&_.ij(c,"resourcekey",_.cl(a));return c.toString()};
V1c=function(a){_.If("drive.DebugUtil.printFindById",function(c){a.XM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.If("drive.DebugUtil.getLogs",function(){return _.FXc(a.Zf())});_.If("drive.DebugUtil.printLogs",function(){window.console.log(_.FXc(a.Zf()))});_.If("drive.DebugUtil.printRequestHistory",function(){a.oR().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.If("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.If("drive.DebugUtil.getContext",function(){return a.getContext()}),_.If("drive.DebugUtil.setOffline",function(c){return void a.Kl(c)}))};X1c=function(a,b){var c=new _.QN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.D0c.get(ZN(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}W1c(c,[].concat(_.nd(d)));return c};
Y1c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={ufa:c.ufa},d=a.next())if(d=d.value){c.ufa=new Map;[].concat(_.nd(_.Xk(d)),[d.Bm(),d.Uv(),d.Tq()]).forEach(function(p){return function(q){q&&p.ufa.set(_.RF(q),q)}}(c));for(var e=[],f=_.m(c.ufa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(_.RF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Hj(h,16,0))}b.push(d.getId()+","+ZN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};Z1c=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.ik(d,f)||(d=_.QRc(4).setItem(f),c[e]=d):(d=_.QRc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.QRc(1).setItem(d),c[e]=d)});return c};$1c=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Va(Z1c(a,b))};
c2c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.of;_.pf(b,305);_.qf(b,!0);_.A(b,3,2);var c=new _.dD;_.x(c,1,b);a2c(c,[7]);a=a.then(function(d){return d.Ve(c)}).then(b2c);return _.$h(a)};b2c=function(a){a=_.ck(a,_.bp,3);var b=new d2c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.C(d,2))&&(c=_.Db(c.Xa()),_.A(b,3,c))});return"number"===typeof _.C(b,3)?b:null};
f2c=function(a,b){var c=e2c(a.zm,b.Ic());if(c){var d=c.getItem(),e=d.$w();if(e){var f=e.uR(),h=_.wa(f,function(k){return k.getId()===_.C(b,2)});_.pWc(e,f);h||(f=_.ck(e,_.Dk,3),_.wa(f,function(k){return k.getId()===_.C(b,2)}),_.qWc(e,f));_.oWc(e,(_.C(e,1)||1)-1);a.ql([d],c.H)}}};
h2c=function(a,b,c){if(b=e2c(a.zm,b.Ic())){var d=b.getItem(),e=d.$w();if(e){if(1===c.getType()||2===c.getType()){var f=_.ck(e,_.Dk,3);f.push(c);_.Ha(f,g2c);_.qWc(e,f)}else f=e.uR(),f.push(c),_.Ha(f,g2c),_.pWc(e,f);_.oWc(e,(_.C(e,1)||0)+1);a.ql([d],b.H)}}};j2c=function(a){return a.map(function(b){var c=new _.Dsb;c=_.A(c,3,i2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
l2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return k2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
p2c=function(a){var b=a.json.exportJob,c=m2c[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||0;var f=0,h=0,k=_.Bb(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.Bb(b.failedItemInfos||[],function(l){var p=_.MF((new _.Wk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.n2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new o2c(c,d,k,f,h,e,a,b)};
r2c=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.Xa();(a=c&&_.cp(c))&&(b.namespace=q2c[a]);return b};s2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(q2c[a[c]]);return b};t2c=function(a){return"kind,defaultAppIds,items("+a+")"};u2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};v2c=function(a,b){var c;return(null===(c=_.LL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
w2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
A2c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.LL(b),e=!!d&&_.S(d,10,!1);if(_.uL(_.vL(b))||!c&&!e)_.A(b,61,!1),_.Rj(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.E(b,x1c,66);f&&_.C(f,1)||(c=!1);_.bN(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.Rj(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new eO(a,b,c),new x2c(b);c=_.uL(_.vL(b))?2:1;a=new fO(a,b,c,void 0,void 0,void 0);return _.uL(_.vL(b))?new y2c(a):new z2c(a)};
C2c=function(a){return _.qe(a).Mg(_.S(a.get(_.Uo),19,!1)?B2c:_.FUa)};D2c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};E2c=function(a,b){return _.Cb(a,1,b)};F2c=[1];G2c=function(a){_.P(this,a,-1,F2c,null)};_.L(G2c,_.K);G2c.prototype.Gha=function(a){_.ek(this,1,a,_.Dk,void 0)};
var H2c=function(a){var b=new G2c;return _.Cb(b,1,a)},I2c=function(a,b){return _.x(a,1,b)},J2c=function(a,b){_.Cb(a,2,b)},K2c=function(a,b){_.x(a,6,b)},L2c=function(a,b){return _.dk(a,3,_.Gk[0],b)},M2c=function(a){_.P(this,a,-1,null,null)};_.L(M2c,_.K);var N2c=function(a){_.P(this,a,-1,null,null)};_.L(N2c,_.K);var gO=function(a){_.P(this,a,-1,null,null)};_.L(gO,_.K);var O2c=function(a){_.P(this,a,-1,null,null)};_.L(O2c,_.K);var P2c=function(a){_.P(this,a,-1,null,null)};_.L(P2c,_.K);
var Q2c=function(a){_.P(this,a,-1,null,null)};_.L(Q2c,_.K);var R2c=function(a){_.P(this,a,-1,null,null)};_.L(R2c,_.K);var S2c=function(a){_.P(this,a,-1,null,null)};_.L(S2c,_.K);var T2c=function(a){_.P(this,a,-1,null,null)};_.L(T2c,_.K);var U2c=function(a){_.P(this,a,-1,null,null)};_.L(U2c,_.K);var V2c=function(a){_.P(this,a,-1,null,null)};_.L(V2c,_.K);var W2c=function(a){_.P(this,a,-1,null,null)};_.L(W2c,_.K);var X2c=function(a){_.P(this,a,-1,null,null)};_.L(X2c,_.K);
var Y2c=function(a){_.P(this,a,-1,null,null)};_.L(Y2c,_.K);var Z2c=function(a,b){_.Cb(a,1,b)},$2c=function(a,b){return _.A(a,2,b)},a3c=function(a,b){return _.x(a,3,b)},b3c=function(a,b){return _.A(a,4,b)},c3c=[[1,2,3,4]],d3c=function(a){_.P(this,a,-1,null,c3c)};_.L(d3c,_.K);var e3c=function(a,b){_.Cb(a,1,b)},f3c=function(a,b){return _.x(a,2,b)},g3c=[[1]],h3c=function(a){_.P(this,a,-1,null,g3c)};_.L(h3c,_.K);
var i3c=function(a,b){_.Cb(a,1,b)},j3c=function(a,b){return _.x(a,4,b)},k3c=function(a,b){_.x(a,5,b)},l3c=function(a,b){_.Cb(a,2,b)},m3c=function(a,b){_.Cb(a,4,b)},n3c=function(a,b){return _.x(a,5,b)},o3c=[[1,2]],p3c=function(a){_.P(this,a,-1,null,o3c)};_.L(p3c,_.K);var q3c=function(a,b){_.Cb(a,1,b)},r3c=function(a,b){return _.x(a,2,b)},s3c=[[1]],t3c=function(a){_.P(this,a,-1,null,s3c)};_.L(t3c,_.K);
var u3c=function(a,b){_.Cb(a,2,b)},v3c=function(a){var b=new _.Ok;return _.Cb(b,3,a)},w3c=[[1,2]],x3c=function(a){_.P(this,a,-1,null,w3c)};_.L(x3c,_.K);x3c.prototype.ZG=function(){return _.E(this,gO,1)};x3c.prototype.ug=function(a){return _.dk(this,1,w3c[0],a)};var y3c=[1],z3c=function(a){_.P(this,a,-1,y3c,null)};_.L(z3c,_.K);z3c.prototype.Xp=function(){return _.C(this,2)};
var A3c=function(a,b){_.Cb(a,1,b)},B3c=function(a,b){return _.A(a,2,b)},C3c=function(a,b){return _.x(a,3,b)},D3c=[[1]],E3c=function(a){_.P(this,a,-1,null,D3c)};_.L(E3c,_.K);var F3c=[2],G3c=function(a){_.P(this,a,-1,F3c,null)};_.L(G3c,_.K);var H3c=function(a,b){_.Cb(a,2,b)},I3c=function(a,b){return _.x(a,3,b)},J3c=[[1]],K3c=function(a){_.P(this,a,-1,null,J3c)};_.L(K3c,_.K);K3c.prototype.ZG=function(){return _.E(this,O2c,1)};K3c.prototype.ug=function(a){return _.dk(this,1,J3c[0],a)};
var L3c=function(a,b){_.Cb(a,1,b)},M3c=function(a,b){return _.Cb(a,2,b)},N3c=[[1,2]],O3c=function(a){_.P(this,a,-1,null,N3c)};_.L(O3c,_.K);var P3c=function(a,b){_.Cb(a,1,b)},Q3c=function(a,b){return _.x(a,2,b)},R3c=[[1]],S3c=function(a){_.P(this,a,-1,null,R3c)};_.L(S3c,_.K);var T3c=function(a,b){return _.x(a,1,b)},U3c=function(a,b){return _.A(a,2,b)},V3c=function(a,b){return _.A(a,3,b)},W3c=function(a){_.P(this,a,-1,null,null)};_.L(W3c,_.K);a1c=function(a,b){_.Cb(a,8,b)};
ZN=function(a){return _.Hj(a,52,1)};$0c=function(a,b){return _.x(a,73,b)};b1c=function(a,b){_.Cb(a,107,b)};_.TN=function(a){return _.E(a,W3c,109)};c1c=function(a,b){_.x(a,109,b)};X3c=function(a){var b=new _.jk;var c=_.C(a,1);null!=c&&_.ok(b,1,c);c=_.C(a,2);null!=c&&_.ok(b,2,c);return _.lk(b)};Y3c=function(a){_.P(this,a,-1,null,null)};_.L(Y3c,_.K);var x1c=function(a){_.P(this,a,-1,null,null)};_.L(x1c,_.K);var Z3c=[11],$3c=function(a){_.P(this,a,-1,Z3c,null)};_.L($3c,_.K);
var hO=function(a){_.P(this,a,-1,null,null)};_.L(hO,_.K);hO.prototype.getKey=function(){return _.C(this,2)};hO.prototype.Bs=function(){return _.Q(this,2)};iO=function(a){return _.F(a,4,"en")};_.jO=function(a){return _.E(a,$3c,34,1)};a4c=function(a,b){return _.A(a,5,b)};_.b4c=function(a,b){return _.A(a,2,b)};_.c4c=function(a,b){return _.A(a,3,b)};_.d4c=function(a,b){return _.A(a,1,b)};_.e4c=function(a,b){return _.A(a,2,b)};_.f4c=function(a,b){return _.Cb(a,5,b)};
_.g4c=function(a,b){return _.A(a,6,b)};_.h4c=function(a,b){return _.A(a,7,b)};_.i4c=function(a,b){return _.A(a,8,b)};_.j4c=function(a,b){return _.A(a,10,b)};_.k4c=function(a,b){return _.A(a,15,b)};l4c=[2];_.m4c=function(a){_.P(this,a,-1,l4c,null)};_.L(_.m4c,_.K);_.m4c.prototype.Oh=function(){return _.C(this,1)};_.n4c=function(a,b){return _.x(a,1,b)};o4c=function(a,b){return _.A(a,2,b)};p4c=function(a,b){return _.A(a,3,b)};q4c=function(a,b){_.Cb(a,4,b)};_.r4c=function(a,b){_.x(a,8,b)};
_.s4c=function(a,b){_.x(a,9,b)};t4c=function(a){_.P(this,a,-1,null,null)};_.L(t4c,_.K);t4c.prototype.Xa=function(){return _.Mj(this,1)};t4c.prototype.Jb=function(a){return _.Tj(this,1,a,0)};a2c=function(a,b){_.Pj(a,3,b)};kO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ik(b[a]||void 0,c[a]||void 0))return!0;return!1};_.u4c=function(a){_.P(this,a,-1,null,null)};_.L(_.u4c,_.K);_.u4c.prototype.getId=function(){return _.C(this,1)};
_.u4c.prototype.Pb=function(a){return _.A(this,1,a)};_.u4c.prototype.Pe=function(){return _.C(this,4)};_.u4c.prototype.xh=function(a){return _.A(this,4,a)};_.zN=function(a){_.P(this,a,-1,null,null)};_.L(_.zN,_.K);_.zN.prototype.getTitle=function(){return _.C(this,1)};_.zN.prototype.setTitle=function(a){return _.A(this,1,a)};_.zN.prototype.we=function(){return _.E(this,_.of,2)};
var v4c=function(a,b){return _.Pj(a,9,b)},w4c=function(a,b){return _.Pj(a,10,b)},x4c=function(a,b){return _.A(a,36,b)},y4c=function(a,b){return _.Cb(a,38,b)},z4c=function(a,b){return _.A(a,2,b)},A4c=function(a,b){return _.x(a,3,b)},B4c=function(a){_.P(this,a,-1,null,null)};_.L(B4c,_.K);var C4c=function(a){_.P(this,a,-1,null,null)};_.L(C4c,_.K);var D4c=function(a){_.P(this,a,-1,null,null)};_.L(D4c,_.K);var E4c=function(a){_.P(this,a,-1,null,null)};_.L(E4c,_.K);
var F4c=function(a){_.P(this,a,-1,null,null)};_.L(F4c,_.K);var G4c=function(a,b){return _.A(a,1,b)},H4c=function(a,b){return _.A(a,3,b)},I4c=function(a,b){return _.A(a,4,b)},J4c=function(a,b){_.A(a,7,b)},K4c=function(a){_.P(this,a,-1,null,null)};_.L(K4c,_.K);K4c.prototype.yy=function(){return _.R(this,2)};var L4c=function(a,b){_.A(a,1,b)},M4c=function(a){_.P(this,a,-1,null,null)};_.L(M4c,_.K);M4c.prototype.Pm=function(){return _.C(this,3)};M4c.prototype.Gt=function(a){return _.A(this,3,a)};
M4c.prototype.Bo=function(){return _.C(this,4)};var N4c=function(a){_.P(this,a,-1,null,null)};_.L(N4c,_.K);var O4c=[1,3,5],P4c=function(a){_.P(this,a,-1,O4c,null)};_.L(P4c,_.K);P4c.prototype.bF=function(){return _.Pd(this,1)};P4c.prototype.yy=function(){return _.R(this,2)};P4c.prototype.Bo=function(){return _.C(this,7)};Q4c=function(a,b){_.A(a,2,b)};R4c=function(a,b){_.ak(a,5,b,void 0)};S4c=function(a,b){_.A(a,6,b)};T4c=function(a,b){_.A(a,7,b)};_.U4c=function(a,b){_.x(a,2,b)};
V4c=function(a,b){return _.Pj(a,1,b)};W4c=function(a,b,c){_.fN(a,b,c,"warning")};X4c=function(a){return[].concat(_.nd(a.O))};Y4c=function(a){return a.H.concat([].concat(_.nd(a.O)))};Z4c=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))};lO=function(a){var b=_.nN(a).yd();b||(b=new _.bXc,a=_.nN(a),_.x(a,1,b));return b};
$4c=function(a){var b=_.E(_.nN(a),P4c,3);b||(b=new P4c,a=_.nN(a),_.x(a,3,b));return b};a5c=function(a){var b=_.E(_.nN(a),D4c,7);b||(b=new D4c,a=_.nN(a),_.x(a,7,b));return b};b5c=function(a){var b=_.E(_.nN(a),F4c,12);b||(b=new F4c,a=_.nN(a),_.x(a,12,b));return b};c5c=function(a){var b=_.E(_.nN(a),K4c,17);b||(b=new K4c,a=_.nN(a),_.x(a,17,b));return b};
d5c=function(a){if(a instanceof _.oL)return 2;if(a instanceof _.JF)return 10;if(a instanceof _.bf)return _.sM(a)?3:_.tM(a)?7:_.uM(a)?8:1;if(a instanceof _.Sz)return 9;if(a instanceof _.SF)return 11;if(a instanceof _.AM)return 15;if(a instanceof _.wL)return 6;if(a instanceof _.wM){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.dD)return 4;if(a instanceof _.Cz)return 12;if(a instanceof _.LF)return 13}return 0};
e5c=function(a){var b=null;a instanceof _.KA||"undefined"!=typeof _.pN&&a instanceof _.pN||"undefined"!=typeof _.qN&&a instanceof _.qN?b=a.We()||0:"undefined"!=typeof _.sN&&a instanceof _.sN||"undefined"!=typeof _.tN&&a instanceof _.tN||"undefined"!=typeof _.uN&&a instanceof _.uN||"undefined"!=typeof _.vN&&a instanceof _.vN||"undefined"!=typeof _.wN&&a instanceof _.wN?b=a.Re:"undefined"!=typeof _.rN&&a instanceof _.rN&&(b=a.We());return b||0};
f5c=function(a,b,c){return a.V&&_.BYc(a)?(a=_.xYc(a.V,b,0),c&&_.USc(a,c),a):null};g5c=function(a){a.V&&_.BYc(a)&&(a=a.V,a.H.PP()&&a.H.e_())};h5c=function(a){var b=new _.oM;return _.A(b,1,a)};i5c=function(a,b){return _.x(a,2,b)};j5c=function(a,b){return _.x(a,1,b)};k5c=function(a,b){a.ha=b};l5c=[2];mO=function(a){_.P(this,a,-1,l5c,null)};_.L(mO,_.K);mO.prototype.Bb=function(){return _.C(this,1)};mO.prototype.Cc=function(a){return _.A(this,1,a)};mO.prototype.Gha=function(a){_.ek(this,2,a,_.Dk,void 0)};
mO.prototype.$j=function(){return _.C(this,3)};var m5c=[2],n5c=function(a){_.P(this,a,-1,m5c,null)};_.L(n5c,_.K);n5c.prototype.Bb=function(){return _.C(this,1)};n5c.prototype.Cc=function(a){return _.A(this,1,a)};n5c.prototype.$j=function(){return _.C(this,3)};o5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.tn,a.H.promise):null};p5c=function(a){var b=[];a.jj.forEach(function(c){(c=c.Cv.config.timestamp)&&b.push(c)});return b};
q5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.Cv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,p5c(c))});return b};W1c=function(a,b){return _.Pj(a,1,b)};r5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ca");var c=_.mb(a,!0);b=_.mb(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.Jma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
s5c={SUCCESS:1,L6b:2,PYb:3,xUb:4,Y6b:5,r1b:6,i1b:7,eVb:8,J5b:9,Y5b:10,K6b:11,JWb:12,nWb:13,PZb:14,iYb:15,rWb:16,qWb:17,wWb:18,tWb:19,uWb:20,o6b:21,U6b:22,J1b:23,Q0b:24,YUb:25,PERMISSION_DENIED:26,g0b:27,jVb:28,iVb:29,INTERRUPTED:30,i2b:31,B2b:32,YWb:33,dXb:34,Q5b:35,kXb:36,jYb:37,cXb:38,h1b:39,RVb:40,d2b:41,D2b:42,H5b:43,CVb:44,QVb:45,gYb:46,b0b:47,g1b:48,A1b:49,e2b:50,A5b:51,oWb:52,I5b:53,G5b:54,IVb:55,FVb:56,vXb:57,A0b:58,f2b:59,B_b:60,T3b:61,H4b:62,n5b:63,d_b:64,S0b:65,a7b:66,mXb:67,kYb:68,J6b:69,
i_b:70,hVb:71,uVb:72,P4b:73,o5b:74,k5b:75,i5b:76,D4b:190,h5b:191,Q4b:192,W4b:126,S4b:128,T4b:129,U4b:130,V4b:131,X4b:132,Y4b:133,b4b:127,Z3b:134,$3b:135,d4b:136,e4b:137,f4b:138,a4b:194,c4b:195,g4b:196,Y3b:197,G4b:189,S3b:139,U3b:140,h4b:141,i4b:142,u4b:143,x4b:144,y4b:145,z4b:146,A4b:147,B4b:148,C4b:149,F4b:150,L4b:151,N4b:152,O4b:153,R4b:154,Z4b:155,a5b:156,b5b:157,c5b:158,d5b:159,e5b:160,f5b:161,j5b:162,m5b:163,p5b:164,V3b:165,W3b:166,X3b:167,Q3b:168,R3b:169,l4b:170,j4b:171,k4b:172,m4b:173,n4b:174,
o4b:175,p4b:176,q4b:177,r4b:178,s4b:179,t4b:180,v4b:181,w4b:182,E4b:106,M4b:183,$4b:184,g5b:185,I4b:186,J4b:187,K4b:188,l5b:244,c2b:77,O6b:78,T6b:79,o0b:80,UZb:81,WZb:82,uXb:83,fYb:84,h0b:85,h6b:86,bXb:87,k_b:88,j_b:89,s5b:90,q5b:91,r5b:92,P6b:93,dWb:94,cWb:95,$Vb:96,bWb:97,aWb:98,$6b:99,C3b:100,zWb:101,sWb:102,xWb:103,vWb:104,yWb:105,lYb:107,V5b:108,w3b:109,D6b:110,oYb:111,nYb:112,G_b:113,H_b:114,H2b:115,JVb:116,O_b:117,EXb:118,Q6b:119,n1b:120,o1b:121,QZb:193,pWb:122,SWb:123,TZb:124,M0b:125,l_b:198,
n2b:199,a_b:200,aUb:201,g_b:202,e_b:203,kVb:204,y7b:205,V_b:206,XVb:207,k1b:208,C2b:209,y3b:210,BUb:211,E_b:212,L_b:213,L5b:214,K5b:215,c_b:216,OZb:217,b_b:218,oXb:219,Z5b:220,pXb:221,C_b:222,S5b:223,j7b:224,W0b:225,R5b:226,UWb:227,U_b:228,tXb:229,TVb:230,f6b:231,N0b:232,FILE_TOO_LARGE:233,h_b:234,nXb:235,cYb:236,y2b:237,T0b:238,MTb:239,UVb:240,$0b:241,I3b:242,$Wb:243,ZTb:245,XZb:246,C1b:247,VZb:248,n0b:249,R0b:250,hYb:251,WYb:252,F_b:253,GVb:254,mYb:255,Z6b:256,IYb:257,x0b:258,O2b:259,m2b:260,s_b:261,
EWb:262,aXb:263,XUb:264,f0b:265,X6b:266,QTb:267,PUb:268,OUb:269};t5c=[2,6];_.qN=function(a){_.P(this,a,-1,t5c,null)};_.L(_.qN,_.K);_.g=_.qN.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Gd=function(){return _.ck(this,_.Wk,2)};_.g.Vw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.g.$j=function(){return _.C(this,3)};_.g.kl=function(){return _.S(this,4,!0)};var u5c=function(a,b){return _.Cb(a,6,b)};
_.qN.prototype.Uf=function(){return _.C(this,10)};_.qN.prototype.QP=function(a){return _.A(this,10,a)};_.qN.prototype.We=function(){return _.C(this,9)};_.qN.prototype.kj=function(a){return _.A(this,9,a)};var U0c=[1004,1005,1002,1003],h1c=[1002,1003,1005],v5c=[1,2],w5c=function(a){_.P(this,a,-1,v5c,null)};_.L(w5c,_.K);_.x5c=function(a){_.P(this,a,-1,null,null)};_.L(_.x5c,_.K);_.x5c.prototype.Bb=function(){return _.C(this,1)};_.x5c.prototype.Cc=function(a){return _.A(this,1,a)};
_.x5c.prototype.mn=function(){return _.E(this,_.KF,2)};var y5c=function(a){_.gi.call(this,a)};_.L(y5c,_.gi);var z5c=[5,7,9],A5c=function(a){_.P(this,a,-1,z5c,null)};_.L(A5c,_.K);_.g=A5c.prototype;_.g.getUser=function(){return _.E(this,_.Dk,1)};_.g.TA=function(a){_.A(this,2,a)};_.g.setBooleanValue=function(a){return _.A(this,3,a)};_.g.setTextValue=function(a){return _.A(this,4,a)};_.g.upa=function(a){return _.Pj(this,5,a)};_.g.addTextValues=function(a,b){return _.ak(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.A(this,6,a)};_.g.qpa=function(a){return _.Pj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.ak(this,7,a,b)};_.g.setIntegerValue=function(a){return _.A(this,8,a)};_.g.ipa=function(a){return _.Pj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.ak(this,9,a,b)};var B5c=[7,10,12,16,13,3],nO=function(a){_.P(this,a,-1,B5c,null)};_.L(nO,_.K);var oO=function(a){return _.C(a,4)};_.g=nO.prototype;_.g.TA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.G$a=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.upa=function(a){return _.Pj(this,7,a)};_.g.addTextValues=function(a,b){return _.ak(this,7,a,b)};_.g.E$a=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.F$a=function(){return _.C(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.qMa=function(){return _.Pd(this,10)};
_.g.qpa=function(a){return _.Pj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.ak(this,10,a,b)};_.g.D$a=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.ipa=function(a){return _.Pj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.ak(this,12,a,b)};_.g.rMa=function(){return _.E(this,_.Dk,15)};_.g.setUserValue=function(a){return _.x(this,15,a)};_.g.aBa=function(){return _.ck(this,_.Dk,16)};var C5c=function(a,b){_.Cb(a,16,b)};
nO.prototype.addUserValues=function(a,b){return _.ek(this,16,a,_.Dk,b)};nO.prototype.O=function(){return _.C(this,17)};nO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};nO.prototype.V=function(){return _.Q(this,17)};var D5c=function(a,b){_.Cb(a,13,b)};nO.prototype.getId=function(){return _.C(this,14)};nO.prototype.Pb=function(a){return _.A(this,14,a)};nO.prototype.getName=function(){return _.C(this,1)};nO.prototype.jd=function(a){return _.A(this,1,a)};
var E5c=[2],pO=function(a){_.P(this,a,-1,E5c,null)};_.L(pO,_.K);pO.prototype.getName=function(){return _.C(this,1)};pO.prototype.jd=function(a){return _.A(this,1,a)};pO.prototype.O=function(){return _.ck(this,nO,2)};var F5c=function(a,b){_.Cb(a,2,b)};pO.prototype.Ic=function(){return _.C(this,3)};var G5c=function(a,b){return _.A(a,3,b)},H5c=function(a){_.P(this,a,-1,null,null)};_.L(H5c,_.K);H5c.prototype.O=function(){return _.E(this,_.qC,1)};H5c.prototype.V=function(){return _.E(this,_.qC,2)};
H5c.prototype.ha=function(){return _.E(this,_.qC,3)};var I5c=function(a){_.P(this,a,-1,null,null)};_.L(I5c,_.K);_.g=I5c.prototype;_.g.Zn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Fm=function(){return _.R(this,2)};_.g.H$a=function(){return _.R(this,3)};_.g.I$a=function(){return _.R(this,4)};var qO=[[13,19,12,11,10,15,14,9,8,18,17,16]],J5c=function(a){_.P(this,a,-1,null,null)};_.L(J5c,_.K);J5c.prototype.O=function(){return _.R(this,1)};
J5c.prototype.V=function(){return _.R(this,2)};var K5c=function(a){_.P(this,a,-1,null,null)};_.L(K5c,_.K);K5c.prototype.hVa=function(){return _.C(this,1)};K5c.prototype.O=function(){return _.C(this,4)};var L5c=function(a){_.P(this,a,-1,null,null)};_.L(L5c,_.K);L5c.prototype.V=function(){return _.C(this,1)};L5c.prototype.O=function(){return _.C(this,2)};var M5c=function(a){_.P(this,a,-1,null,null)};_.L(M5c,_.K);M5c.prototype.V=function(){return _.C(this,1)};
M5c.prototype.O=function(){return _.C(this,2)};var N5c=function(a){_.P(this,a,-1,null,null)};_.L(N5c,_.K);var O5c=[1],P5c=function(a){_.P(this,a,-1,null,null)};_.L(P5c,_.K);P5c.prototype.O=function(){return _.R(this,1)};P5c.prototype.V=function(){return _.R(this,2)};var Q5c=function(a){_.P(this,a,-1,null,null)};_.L(Q5c,_.K);_.g=Q5c.prototype;_.g.Zn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Fm=function(){return _.R(this,2)};_.g.T$a=function(){return _.E(this,H5c,3)};
_.g.W$a=function(){return _.Q(this,3)};_.g.V$a=function(){return _.E(this,H5c,4)};_.g.Y$a=function(){return _.Q(this,4)};_.g.U$a=function(){return _.C(this,5)};_.g.X$a=function(){return _.Q(this,5)};var R5c=function(a){_.P(this,a,-1,null,null)};_.L(R5c,_.K);_.g=R5c.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.wd=function(a){return _.A(this,1,a)};_.g.Jr=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};
_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};_.g.Se=function(){return _.C(this,5)};_.g.um=function(a){return _.A(this,5,a)};_.g.S$a=function(){return _.Q(this,5)};_.g.getCapabilities=function(){return _.E(this,P5c,3)};_.g.R$a=function(){return _.E(this,Q5c,4)};var S5c=function(a){_.P(this,a,-1,O5c,null)};_.L(S5c,_.K);S5c.prototype.O=function(){return _.ck(this,R5c,1)};var T5c=function(a,b){_.Cb(a,1,b)},U5c=function(a){_.P(this,a,-1,null,null)};_.L(U5c,_.K);
U5c.prototype.ju=function(){return _.C(this,1)};U5c.prototype.xW=function(){return _.Q(this,1)};U5c.prototype.getOptions=function(){return _.E(this,S5c,2)};var V5c=function(a){_.P(this,a,-1,null,null)};_.L(V5c,_.K);V5c.prototype.ju=function(){return _.C(this,1)};V5c.prototype.xW=function(){return _.Q(this,1)};V5c.prototype.getOptions=function(){return _.E(this,M5c,2)};var W5c=function(a){_.P(this,a,-1,null,null)};_.L(W5c,_.K);var X5c=function(a){_.P(this,a,-1,null,null)};_.L(X5c,_.K);
X5c.prototype.ju=function(){return _.C(this,1)};X5c.prototype.xW=function(){return _.Q(this,1)};X5c.prototype.getOptions=function(){return _.E(this,W5c,2)};var rO=[[3,4,5,6,7,8,9,10,11,12]],Y5c=function(a){_.P(this,a,-1,null,rO)};_.L(Y5c,_.K);_.g=Y5c.prototype;_.g.rda=function(a){return _.dk(this,3,rO[0],a)};_.g.U4a=function(a){return _.dk(this,4,rO[0],a)};_.g.g4a=function(a){return _.dk(this,5,rO[0],a)};_.g.f4a=function(a){return _.dk(this,6,rO[0],a)};
_.g.U3a=function(a){return _.dk(this,7,rO[0],a)};_.g.H4a=function(a){return _.dk(this,8,rO[0],a)};_.g.G4a=function(a){return _.dk(this,9,rO[0],a)};_.g.Z4a=function(a){return _.dk(this,10,rO[0],a)};_.g.ypa=function(a){return _.dk(this,11,rO[0],a)};_.g.epa=function(a){return _.dk(this,12,rO[0],a)};var Z5c=function(a){_.P(this,a,-1,null,null)};_.L(Z5c,_.K);var $5c=function(a){_.P(this,a,-1,null,null)};_.L($5c,_.K);$5c.prototype.ju=function(){return _.C(this,1)};
$5c.prototype.xW=function(){return _.Q(this,1)};$5c.prototype.getOptions=function(){return _.E(this,Z5c,2)};var a6c=function(a){_.P(this,a,-1,null,qO)};_.L(a6c,_.K);_.g=a6c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.L$a=function(){return _.C(this,2)};_.g.ze=function(){return _.C(this,4)};_.g.K$a=function(){return _.E(this,I5c,5)};_.g.getCapabilities=function(){return _.E(this,J5c,6)};_.g.Q$a=function(){return _.C(this,7)};
_.g.U3a=function(a){return _.dk(this,13,qO[0],a)};_.g.J$a=function(){return _.E(this,K5c,19)};_.g.epa=function(a){return _.dk(this,19,qO[0],a)};_.g.f4a=function(a){return _.dk(this,12,qO[0],a)};_.g.g4a=function(a){return _.dk(this,11,qO[0],a)};_.g.otb=function(){return _.E(this,L5c,10)};_.g.M$a=function(){return _.E(this,U5c,15)};_.g.G4a=function(a){return _.dk(this,15,qO[0],a)};_.g.N$a=function(){return _.E(this,S5c,14)};_.g.H4a=function(a){return _.dk(this,14,qO[0],a)};
_.g.U4a=function(a){return _.dk(this,9,qO[0],a)};_.g.O$a=function(){return _.E(this,M5c,8)};_.g.rda=function(a){return _.dk(this,8,qO[0],a)};_.g.P$a=function(){return _.E(this,$5c,18)};_.g.ypa=function(a){return _.dk(this,18,qO[0],a)};_.g.Z4a=function(a){return _.dk(this,17,qO[0],a)};var b6c=[5],c6c=function(a){_.P(this,a,-1,null,null)};_.L(c6c,_.K);c6c.prototype.ha=function(){return _.R(this,1)};c6c.prototype.O=function(){return _.R(this,2)};c6c.prototype.ma=function(){return _.R(this,3)};
c6c.prototype.V=function(){return _.R(this,4)};var sO=function(a){_.P(this,a,-1,b6c,null)};_.L(sO,_.K);sO.prototype.getName=function(){return _.C(this,1)};sO.prototype.jd=function(a){return _.A(this,1,a)};sO.prototype.en=function(){return _.C(this,2)};var d6c=function(a,b){return _.A(a,2,b)};sO.prototype.V=function(){return _.C(this,14)};var e6c=function(a,b){return _.A(a,14,b)};_.g=sO.prototype;_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};
_.g.Se=function(){return _.C(this,4)};_.g.um=function(a){return _.A(this,4,a)};_.g.$$a=function(){return _.C(this,15)};_.g.Z$a=function(){return _.ck(this,a6c,5)};var f6c=function(a,b){return _.Cb(a,5,b)},g6c=function(a,b){_.x(a,6,b)},h6c=function(a,b){_.x(a,7,b)},i6c=function(a,b){_.x(a,8,b)},j6c=function(a,b){return _.A(a,9,b)},k6c=function(a,b){return _.A(a,10,b)},l6c=function(a,b){return _.A(a,11,b)};sO.prototype.O=function(){return _.E(this,I5c,12)};var m6c=function(a,b){_.x(a,12,b)};
sO.prototype.getCapabilities=function(){return _.E(this,c6c,13)};var n6c=function(a,b){_.x(a,13,b)};sO.prototype.getCustomer=function(){return _.C(this,16)};o6c=function(a,b){return _.A(a,16,b)};p6c=[3];_.tO=function(a){_.P(this,a,-1,p6c,null)};_.L(_.tO,_.K);_.tO.prototype.getType=function(){return _.C(this,1)};_.tO.prototype.Ic=function(){return _.C(this,2)};_.bO=function(a){_.P(this,a,-1,null,null)};_.L(_.bO,_.K);_.bO.prototype.getId=function(){return _.C(this,1)};
_.bO.prototype.Pb=function(a){return _.A(this,1,a)};_.bO.prototype.we=function(){return _.E(this,_.of,3)};_.q6c=function(a){_.P(this,a,-1,null,null)};_.L(_.q6c,_.K);_.q6c.prototype.getFeature=function(){return _.C(this,1)};r6c=[1];_.mN=function(a){_.P(this,a,-1,r6c,null)};_.L(_.mN,_.K);s6c=[2,3,8];_.DM=function(a){_.P(this,a,-1,s6c,null)};_.L(_.DM,_.K);_.DM.prototype.getId=function(){return _.C(this,1)};_.DM.prototype.Pb=function(a){return _.A(this,1,a)};
_.DM.prototype.we=function(){return _.E(this,_.of,4)};_.DM.prototype.Bc=function(){return _.C(this,5)};var t6c=function(a){_.P(this,a,-1,null,null)};_.L(t6c,_.K);var u6c=[1,2,4],v6c={R6b:0,y0b:1,L1b:2,y1b:3,n_b:4,yUb:5,z0b:6,z1b:7,vZb:8,WUb:9,w1b:10},uO=function(){this.map={};this.status=6;this.Re=null};uO.prototype.Bb=function(){return this.status};uO.prototype.Cc=function(a){this.status=a};uO.prototype.We=function(){return this.Re};uO.prototype.kj=function(a){this.Re=a};
var w6c=function(a,b){a.map=b};uO.prototype.Zb=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Re,me:b})};x6c=function(a,b,c){c=JSON.parse(c);a.Cc(c.s);a.kj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.pN=function(){uO.apply(this,arguments)};_.L(_.pN,uO);var y6c=function(){uO.apply(this,arguments)};_.L(y6c,uO);var z6c=function(a){_.P(this,a,-1,null,null)};_.L(z6c,_.K);
z6c.prototype.getType=function(){return _.C(this,1)};var A6c=function(a){var b=new z6c;return _.A(b,1,a)},B6c=function(a,b){return _.x(a,2,b)};z6c.prototype.wy=function(){return _.C(this,3)};z6c.prototype.Xy=function(a){return _.A(this,3,a)};z6c.prototype.Mi=function(){return _.C(this,4)};z6c.prototype.setPosition=function(a){return _.A(this,4,a)};var C6c=[2],D6c=function(a){_.P(this,a,-1,C6c,null)};_.L(D6c,_.K);D6c.prototype.Bb=function(){return _.C(this,1)};
D6c.prototype.Cc=function(a){return _.A(this,1,a)};var E6c=[2],vO=function(a){_.P(this,a,-1,E6c,null)};_.L(vO,_.K);vO.prototype.Bb=function(){return _.C(this,1)};vO.prototype.Cc=function(a){return _.A(this,1,a)};vO.prototype.O=function(){return _.ck(this,pO,2)};var F6c=function(a,b){return _.Cb(a,2,b)};vO.prototype.$j=function(){return _.C(this,3)};var G6c=function(a){_.P(this,a,-1,null,null)};_.L(G6c,_.K);G6c.prototype.Bb=function(){return _.C(this,1)};
G6c.prototype.Cc=function(a){return _.A(this,1,a)};var H6c=function(a,b){return _.x(a,2,b)},I6c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},J6c=function(a){_.P(this,a,-1,null,null)};_.L(J6c,_.K);J6c.prototype.Se=function(){return _.F(this,1)};J6c.prototype.um=function(a){return _.Yj(this,1,a)};J6c.prototype.getUrl=function(){return _.F(this,2)};_.K6c=function(a){_.P(this,a,-1,null,null)};_.L(_.K6c,_.K);_.K6c.prototype.getType=function(){return _.Hj(this,1,0)};
_.K6c.prototype.getContext=function(){return _.E(this,J6c,2)};_.K6c.prototype.Yi=function(a){return _.x(this,2,a)};L6c=[1];M6c=[2,4];_.N6c=function(a){_.P(this,a,-1,M6c,null)};_.L(_.N6c,_.K);_.N6c.prototype.getLabel=function(){return _.F(this,1)};_.N6c.prototype.wd=function(a){return _.Yj(this,1,a)};_.N6c.prototype.getTitle=function(){return _.F(this,3)};_.N6c.prototype.setTitle=function(a){return _.Yj(this,3,a)};_.O6c=function(a){_.P(this,a,-1,L6c,null)};_.L(_.O6c,_.K);_.P6c=[[2,3,4]];
_.wO=function(a){_.P(this,a,-1,null,null)};_.L(_.wO,_.K);_.wO.prototype.ze=function(){return _.F(this,3)};_.wO.prototype.uo=function(a){return _.Yj(this,4,a)};_.Q6c=function(a){_.P(this,a,-1,null,null)};_.L(_.Q6c,_.K);_.R6c=function(a){_.P(this,a,-1,null,_.P6c)};_.L(_.R6c,_.K);var S6c=function(a){_.P(this,a,-1,null,null)};_.L(S6c,_.K);T6c=[3,5];_.xO=[[8,9,10,11,12,13,14]];_.U6c=function(a){_.P(this,a,-1,null,null)};_.L(_.U6c,_.K);_.V6c=function(a){_.P(this,a,-1,T6c,_.xO)};_.L(_.V6c,_.K);
_.V6c.prototype.Bb=function(){return _.Hj(this,6,0)};_.V6c.prototype.Cc=function(a){return _.Zj(this,6,a)};var W6c=function(a){_.P(this,a,-1,null,null)};_.L(W6c,_.K);var X6c=function(a){_.P(this,a,-1,null,null)};_.L(X6c,_.K);var Y6c=function(a){_.P(this,a,-1,null,null)};_.L(Y6c,_.K);var Z6c=[1],$6c=function(a){_.P(this,a,-1,Z6c,null)};_.L($6c,_.K);var a7c=function(a){_.P(this,a,-1,null,null)};_.L(a7c,_.K);var b7c=function(a){_.P(this,a,-1,null,null)};_.L(b7c,_.K);c7c=[7];_.d7c=[[1,2,3]];
_.e7c=function(a){_.P(this,a,-1,null,null)};_.L(_.e7c,_.K);_.f7c=function(a){_.P(this,a,-1,null,null)};_.L(_.f7c,_.K);_.g7c=function(a){_.P(this,a,-1,null,null)};_.L(_.g7c,_.K);_.h7c=function(a){_.P(this,a,-1,c7c,_.d7c)};_.L(_.h7c,_.K);var i7c=function(a){_.P(this,a,-1,null,null)};_.L(i7c,_.K);i7c.prototype.getName=function(){return _.F(this,1)};i7c.prototype.jd=function(a){return _.Yj(this,1,a)};var j7c=function(a){_.P(this,a,-1,null,null)};_.L(j7c,_.K);
j7c.prototype.getName=function(){return _.F(this,1)};j7c.prototype.jd=function(a){return _.Yj(this,1,a)};j7c.prototype.getTitle=function(){return _.F(this,2)};j7c.prototype.setTitle=function(a){return _.Yj(this,2,a)};var k7c=[[1,4]],l7c=function(a){_.P(this,a,-1,null,k7c)};_.L(l7c,_.K);l7c.prototype.getUser=function(){return _.E(this,_.R6c,1)};l7c.prototype.Aj=function(){return _.E(this,i7c,3)};l7c.prototype.nn=function(a){return _.x(this,3,a)};l7c.prototype.jH=function(){return _.Q(this,3)};
var m7c=[[8,9,10]],n7c=function(a){_.P(this,a,-1,null,null)};_.L(n7c,_.K);var o7c=function(a){_.P(this,a,-1,null,null)};_.L(o7c,_.K);o7c.prototype.getType=function(){return _.Hj(this,6,0)};var p7c=function(a){_.P(this,a,-1,null,null)};_.L(p7c,_.K);_.q7c=function(a){_.P(this,a,-1,null,m7c)};_.L(_.q7c,_.K);_.g=_.q7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.Yj(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};
_.g.getFile=function(){return _.E(this,n7c,3)};_.g.lka=function(){return _.E(this,o7c,9)};_.g.Oza=function(){return _.E(this,p7c,10)};_.g.Ci=function(){return _.Lj(this,5)};_.g.getMimeType=function(){return _.F(this,6)};_.g.jD=function(){return _.E(this,l7c,7)};var r7c=function(a){_.P(this,a,-1,null,null)};_.L(r7c,_.K);var s7c=[[8,9,10]],t7c=function(a){_.P(this,a,-1,null,s7c)};_.L(t7c,_.K);_.g=t7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.Yj(this,1,a)};
_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};_.g.getFile=function(){return _.E(this,n7c,3)};_.g.lka=function(){return _.E(this,o7c,9)};_.g.Oza=function(){return _.E(this,p7c,10)};u7c=[[1,3]];_.yO=function(a){_.P(this,a,-1,null,u7c)};_.L(_.yO,_.K);_.yO.prototype.Bi=function(){return _.E(this,t7c,1)};_.v7c=[[1,2,3]];_.w7c=function(a){_.P(this,a,-1,null,null)};_.L(_.w7c,_.K);_.x7c=function(a){_.P(this,a,-1,null,_.v7c)};_.L(_.x7c,_.K);
var y7c=function(a){_.P(this,a,-1,null,null)};_.L(y7c,_.K);var z7c=function(a){_.P(this,a,-1,null,null)};_.L(z7c,_.K);A7c=[2,3];_.B7c=function(a){_.P(this,a,-1,A7c,null)};_.L(_.B7c,_.K);_.B7c.prototype.getType=function(){return _.Hj(this,1,0)};_.C7c=function(a){_.P(this,a,-1,null,null)};_.L(_.C7c,_.K);_.C7c.prototype.getType=function(){return _.Hj(this,1,0)};var D7c=function(a){_.P(this,a,-1,null,null)};_.L(D7c,_.K);D7c.prototype.getType=function(){return _.Hj(this,1,0)};
var E7c=function(a){_.P(this,a,-1,null,null)};_.L(E7c,_.K);_.F7c=function(a){_.P(this,a,-1,null,null)};_.L(_.F7c,_.K);_.F7c.prototype.O=function(){return _.S(this,1)};var G7c=function(a){_.P(this,a,-1,null,null)};_.L(G7c,_.K);H7c=[1,2,4];_.I7c=function(a){_.P(this,a,-1,null,null)};_.L(_.I7c,_.K);J7c=[1,2];_.K7c=function(a){_.P(this,a,-1,null,null)};_.L(_.K7c,_.K);_.K7c.prototype.getParent=function(){return _.E(this,_.yO,1)};_.K7c.prototype.Ag=function(a){return _.x(this,1,a)};
_.L7c=function(a){_.P(this,a,-1,J7c,null)};_.L(_.L7c,_.K);_.M7c=function(a){_.P(this,a,-1,H7c,null)};_.L(_.M7c,_.K);_.zO=function(a){_.P(this,a,-1,null,null)};_.L(_.zO,_.K);_.zO.prototype.getEmail=function(){return _.F(this,1)};_.zO.prototype.getTitle=function(){return _.F(this,2)};_.zO.prototype.setTitle=function(a){return _.Yj(this,2,a)};_.AO=[[2,3,4,5]];_.BO=function(a){_.P(this,a,-1,null,_.AO)};_.L(_.BO,_.K);_.g=_.BO.prototype;_.g.$f=function(){return _.Hj(this,1,0)};
_.g.getUser=function(){return _.E(this,_.R6c,2)};_.g.Aj=function(){return _.E(this,i7c,4)};_.g.nn=function(a){return _.dk(this,4,_.AO[0],a)};_.g.jH=function(){return _.Q(this,4)};var N7c=function(a){_.P(this,a,-1,null,null)};_.L(N7c,_.K);O7c=[1,2,3,4];_.P7c=function(a){_.P(this,a,-1,O7c,null)};_.L(_.P7c,_.K);_.Q7c=function(a){_.P(this,a,-1,null,null)};_.L(_.Q7c,_.K);_.R7c=function(a){_.P(this,a,-1,null,null)};_.L(_.R7c,_.K);_.S7c=function(a){_.P(this,a,-1,null,null)};_.L(_.S7c,_.K);
_.T7c=function(a){_.P(this,a,-1,null,null)};_.L(_.T7c,_.K);_.T7c.prototype.getType=function(){return _.Hj(this,1,0)};U7c=[1];_.V7c=function(a){_.P(this,a,-1,null,null)};_.L(_.V7c,_.K);_.V7c.prototype.getFeature=function(){return _.Hj(this,1,0)};_.W7c=function(a){_.P(this,a,-1,U7c,null)};_.L(_.W7c,_.K);var X7c=function(a){_.P(this,a,-1,null,null)};_.L(X7c,_.K);var Y7c=function(a){_.P(this,a,-1,null,null)};_.L(Y7c,_.K);var Z7c=function(a){_.P(this,a,-1,null,null)};_.L(Z7c,_.K);
Z7c.prototype.getType=function(){return _.Hj(this,1,0)};_.CO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.DO=function(a){_.P(this,a,-1,null,_.CO)};_.L(_.DO,_.K);_.DO.prototype.Xz=function(){return _.E(this,Z7c,10)};_.$7c=function(a){_.P(this,a,-1,null,null)};_.L(_.$7c,_.K);var a8c=function(a){_.P(this,a,-1,null,null)};_.L(a8c,_.K);_.b8c=function(a){_.P(this,a,-1,null,null)};_.L(_.b8c,_.K);_.c8c=function(a){_.P(this,a,-1,null,null)};_.L(_.c8c,_.K);
_.c8c.prototype.getType=function(){return _.Hj(this,1,0)};_.d8c=[[1,2,3,4,5]];_.e8c=function(a){_.P(this,a,-1,null,_.d8c)};_.L(_.e8c,_.K);_.e8c.prototype.getUser=function(){return _.E(this,_.R6c,1)};var f8c=function(a){_.P(this,a,-1,null,null)};_.L(f8c,_.K);f8c.prototype.getType=function(){return _.Hj(this,2,0)};f8c.prototype.Ah=function(){return _.F(this,1)};_.g8c=function(a){_.P(this,a,-1,null,null)};_.L(_.g8c,_.K);_.g=_.g8c.prototype;_.g.getName=function(){return _.F(this,1)};
_.g.jd=function(a){return _.Yj(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};_.g.Na=function(){return _.E(this,_.q7c,3)};_.h8c=function(a){_.P(this,a,-1,null,null)};_.L(_.h8c,_.K);_.h8c.prototype.getParent=function(){return _.E(this,_.q7c,4)};_.h8c.prototype.Ag=function(a){return _.x(this,4,a)};_.i8c=[[1,5,3]];_.j8c=function(a){_.P(this,a,-1,null,_.i8c)};_.L(_.j8c,_.K);_.j8c.prototype.Bi=function(){return _.E(this,_.q7c,1)};
n8c=function(a,b){return new _.ESc(_.FSc.bound(a,b,void 0,void 0))};o8c=function(){var a=new _.Wh,b=_.RSc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.sL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.p8c=function(a){_.P(this,a,-1,null,null)};_.L(_.p8c,_.K);_.p8c.prototype.Qq=function(){return _.C(this,1)};_.p8c.prototype.Ld=function(){return _.C(this,2)};
_.p8c.prototype.setSize=function(a){return _.A(this,2,a)};_.p8c.prototype.getUrl=function(){return _.C(this,3)};_.q8c=function(a){_.P(this,a,-1,null,null)};_.L(_.q8c,_.K);_.q8c.prototype.getType=function(){return _.C(this,1)};r8c=[2,3];_.s8c=function(a){_.P(this,a,-1,r8c,null)};_.L(_.s8c,_.K);t8c=[4,5,6,17,18,24];_.EO=function(a){_.P(this,a,-1,t8c,null)};_.L(_.EO,_.K);_.EO.prototype.getId=function(){return _.C(this,1)};_.EO.prototype.Pb=function(a){return _.A(this,1,a)};
_.EO.prototype.getName=function(){return _.C(this,2)};_.EO.prototype.jd=function(a){return _.A(this,2,a)};var u8c=function(a,b){return _.Pj(a,4,b)},v8c=function(a,b){return _.Pj(a,5,b)};_.EO.prototype.ZQ=function(){return _.C(this,8)};_.EO.prototype.HAa=function(){return _.R(this,22)};_.EO.prototype.getType=function(){return _.C(this,23)};_.EO.prototype.Fm=function(){return _.R(this,33)};var d2c=function(a){_.P(this,a,-1,null,null)};_.L(d2c,_.K);var w8c=[3],FO=function(a){_.P(this,a,-1,w8c,null)};
_.L(FO,_.K);FO.prototype.qq=function(){return _.C(this,1)};var x8c=function(a,b){return _.A(a,1,b)};FO.prototype.getTitle=function(){return _.C(this,2)};FO.prototype.setTitle=function(a){return _.A(this,2,a)};FO.prototype.Gd=function(){return _.ck(this,_.Wk,3)};var y8c=function(a,b){return _.Cb(a,3,b)};FO.prototype.nh=function(a,b){return _.ek(this,3,a,_.Wk,b)};FO.prototype.V=function(){return _.C(this,4)};var z8c=function(a,b){return _.A(a,4,b)};FO.prototype.O=function(){return _.E(this,_.Fk,5)};
var A8c=function(a,b){return _.x(a,5,b)},B8c=[2],GO=function(a){_.P(this,a,-1,B8c,null)};_.L(GO,_.K);GO.prototype.Bb=function(){return _.C(this,1)};GO.prototype.Cc=function(a){return _.A(this,1,a)};GO.prototype.nl=function(){return _.ck(this,FO,2)};var C8c=function(a,b){return _.Cb(a,2,b)};GO.prototype.Uf=function(){return _.C(this,4)};D8c=function(a,b){return _.A(a,4,b)};_.rN=function(a){_.P(this,a,-1,null,null)};_.L(_.rN,_.K);_.g=_.rN.prototype;_.g.Bb=function(){return _.C(this,1)};
_.g.Cc=function(a){return _.A(this,1,a)};_.g.hU=function(){return _.Nj(this,2,_.KF)};_.g.$j=function(){return _.C(this,3)};_.g.We=function(){return _.C(this,5)};_.g.kj=function(a){return _.A(this,5,a)};var E8c=[1],cO=[[1,2,3,4,5,6,7]],F1c=function(a){_.P(this,a,-1,null,cO)};_.L(F1c,_.K);var G1c=function(a){_.P(this,a,-1,E8c,null)};_.L(G1c,_.K);var HO=function(a){_.P(this,a,-1,null,null)};_.L(HO,_.K);HO.prototype.getQuery=function(){return _.E(this,_.bf,1,1)};
HO.prototype.wg=function(a){return _.x(this,1,a)};HO.prototype.lK=function(){return _.Q(this,1)};HO.prototype.Yn=function(){return _.C(this,4)};var F8c=function(a,b){return _.x(a,5,b)},G8c=[1,2,5,7,9,10,12],IO=function(a){_.P(this,a,-1,G8c,null)};_.L(IO,_.K);IO.prototype.Gd=function(){return _.ck(this,_.Wk,1)};var H8c=function(a,b){return _.Cb(a,1,b)};IO.prototype.nh=function(a,b){return _.ek(this,1,a,_.Wk,b)};IO.prototype.Gha=function(a){_.ek(this,2,a,_.Dk,void 0)};
var I8c=function(a,b){return _.A(a,3,b)};IO.prototype.$n=function(){return _.C(this,4)};IO.prototype.Iu=function(a){return _.A(this,4,a)};var J8c=function(a,b){return _.Cb(a,5,b)},K8c=function(a,b){return _.A(a,6,b)};IO.prototype.Fh=function(){return _.E(this,_.TA,8)};var L8c=function(a,b){return _.Pj(a,12,b)};IO.prototype.Bo=function(){return _.Hj(this,13,0)};
var M8c=function(a,b){return _.A(a,13,b)},N8c={$Ub:0,ZUb:1,N_b:2,T5b:3,W5b:4},aO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],D1c=function(a){_.P(this,a,-1,null,aO)};_.L(D1c,_.K);var K1c=[[1,2]],J1c=function(a){_.P(this,a,-1,null,K1c)};_.L(J1c,_.K);var N1c=[[1,2,3]],M1c=function(a){_.P(this,a,-1,null,N1c)};_.L(M1c,_.K);_.JO=function(a){_.P(this,a,-1,null,null)};_.L(_.JO,_.K);_.JO.prototype.BY=function(a){_.x(this,1,a)};_.JO.prototype.Fr=function(){return _.E(this,_.tx,2)};
_.JO.prototype.GF=function(a){_.x(this,2,a)};O8c=[[5,6]];_.P8c=function(a){_.P(this,a,-1,null,O8c)};_.L(_.P8c,_.K);_.P8c.prototype.Oh=function(){return _.E(this,f8c,2)};_.P8c.prototype.O=function(a){_.dk(this,5,O8c[0],a)};Q8c=[3,4,5];R8c=[[6,7]];_.S8c=function(a){_.P(this,a,-1,Q8c,R8c)};_.L(_.S8c,_.K);_.S8c.prototype.O=function(a){_.dk(this,6,R8c[0],a)};var T8c=[1],U8c=function(a){_.P(this,a,-1,T8c,null)};_.L(U8c,_.K);U8c.prototype.ty=function(){return _.F(this,2)};
var V8c=function(a,b){return 1<a?2===b:a===b},W8c=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("Le");},KO=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d;this.O=e};_.g=KO.prototype;_.g.clone=function(){return new KO(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.jc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a};_.g.YD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.jc()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ik(this.item,a.getItem())};_.sN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.l0=void 0===c?null:c};_.qVc=function(a){this.H=a;this.type=1};X8c=function(){};Y8c=function(a){this.H=a};_.rVc=function(a){this.H=a;this.type=0};
o2c=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.mA=f;this.H=h;this.W=k};_.uN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.l0=void 0===c?null:c};_.yVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.BVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.vN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.l0=void 0===c?null:c};
_.wN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};_.tN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};Z8c=function(a){_.tN.call(this,a,void 0,void 0,void 0);this.R3a=new _.tn};_.L(Z8c,_.tN);
var $8c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},a9c=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.UTc.get(b)}).filter(function(b){return b})))).join(",")},LO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=a9c(b);var d=_.BL(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+")"},b9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+LO(a,b,!1)+")"},MO=function(a){return a instanceof _.Wk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Ic()&&a.Ic()==a.Bc()},c9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.hh();null!=e&&$0c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Rk,h=_.R(e,13);_.A(f,13,h);_.WM(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Rk,e=_.R(e,18),_.A(f,18,e),_.WM(a,f));UN(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.hh()&&UN(a,d,c)},d9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!MO(a)&&!MO(b))return a;if(2==ZN(a)){c=_.C(a,82);var d=b.clone();c9c(d,a);_.AWc(d,ZN(b));_.PL(d,c);return d}a=a.clone();c9c(a,b,c);return a},e9c=function(a){return(a=a?a.hh():null)&&a.Fm()||!1},f9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},g9c=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]={}})},i9c=function(a,b,c){b.every(function(d){return MO(d)})?h9c(b,c,a.H,a.O):b.every(function(d){return!MO(d)})&&h9c(b,c,a.items,a.fields)},h9c=function(a,b,c,d){var e=_.dVc(b,[].concat(_.nd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&UN(f,k,[h])})})};f9c.prototype.update=function(a,b,c){b&&MO(b)?j9c(a,b,this.H,this.O,c):j9c(a,b,this.items,this.fields,c)};f9c.prototype.HJ=function(a){var b=this;_.Ma(this.items,function(c,d){_.Xa(b.items[d],a)});_.Ma(this.H,function(c,d){_.Xa(b.H[d],a)})};var j9c=function(a,b,c,d,e){_.Ma(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Xa(f,a);else if(b&&X0c(b,[h])){var k=new _.Wk;k.Pb(b.getId());UN(k,b,[h]);f[a]=k}});b&&T0c(b,[].concat(_.nd(d)))};
f9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};f9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var k9c=function(a,b,c){var d=this;this.zu=b;this.Ew=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=k9c.prototype;_.g.my=function(){return this.Od};
_.g.tk=function(a){var b=new Map;a=_.m(a.jn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Od.has(c)&&b.set(c,this.Od.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(l9c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&(void 0===b||V8c(e.H,b))&&c.push(e);this.Ew.sort(a,c)}return c};_.g.get=function(a){return this.Od.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Od.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,m9c(this,a.H)?(this.Od.delete(a.id),a.H.count--):this.Od.set(a.id,a.H)):(this.Od.delete(a.id),a.O.count--)};var m9c=function(a,b){return 1<b.jc()||V8c(b.H,2)||b.getItem().XI()||r1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
k9c.prototype.HJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,m9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var n9c=function(a,b,c,d){this.Kg=a;this.W=b;this.O=c;this.V=d},e2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),i9c(a.V,[b.getItem()],Y4c(a.Kg)),b):null};n9c.prototype.H=function(a){return(a=e2c(this,a))?a.getItem():null};
var o9c=function(a,b){var c={};b.forEach(function(d){var e=e2c(a,d);e&&(c[d]=e)});return c},p9c=function(a,b){return _.Oa(o9c(a,b),function(c){return c.getItem()})},q9c=function(a,b){b=OO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};n9c.prototype.query=function(a){return q9c(this,a).map(function(b){return b.getItem()})};n9c.prototype.Ld=function(){return this.O.my().size};
var r9c=function(a){var b=new Set;a=_.m(a.O.my().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Xk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.RF(e));(d=c.Bm())&&b.add(d.getId()||_.RF(d));(d=c.Uv())&&b.add(d.getId()||_.RF(d));(d=c.Tq())&&b.add(d.getId()||_.RF(d));(c=c.sD())&&b.add(c.getId()||_.RF(c))}return b.size},s9c=function(a){var b=new _.Io;_.lN(b,"hidden",a.Fm());a=_.R(a,6);null!=a&&_.lN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
t9c=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}},u9c=function(a){var b=_.FRc(),c={};b&&(c.numeric=b);this.H=_.GRc(a,c)};u9c.prototype.compare=function(a,b,c){b=v9c(b);c=v9c(c);a=a.Ac();var d=t9c(a);if(a&&d){d=w9c(this,a);var e=4===a.getType()?this.H:_.Fa;return x9c(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
u9c.prototype.sort=function(a,b,c){a=a.Ac();var d=t9c(a);a&&d&&(d=w9c(this,a),d=y9c(b,d),_.Ha(b,z9c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var v9c=function(a){return a instanceof _.Wk?a:a.getItem()},w9c=function(a,b){b=t9c(b);return _.v(a.O,a,b,_.Fa)},y9c=function(a,b){var c={};a.forEach(function(d){d=v9c(d);var e=d.getId();c[e]=b(d)});return c},z9c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Fa;d=v9c(d);e=v9c(e);return x9c(b,function(h){return c[h.getId()]},f,d,e)}},x9c=function(a,b,c,d,e){var f=1===a.Bf()?1:-1;if(_.R(a,3)){a=WN(d,!0);var h=WN(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Fa(d.getId(),
e.getId()))};u9c.prototype.O=function(a,b,c){for(var d=A9c(a[0],c),e=1;e<a.length;e++){var f=A9c(a[e],c);d=1===b(f,d)?f:d}return d};
var A9c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.XA()||!1;case 12:return b.kz()||0;case 11:return b.lB()||0;case 10:return b.Iq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.xy()||0;case 57:return _.C(b,62)||0;case 32:return b.Tu()||0;case 9:return b.$C()||0;case 67:return b.bK()||0;case 98:return b.Vv()||0;default:return""}},B9c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.tr=_.uL(_.vL(b));
a=_.LL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};B9c.prototype.Iu=function(a){this.rootId=a||""};
var OO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Dl(b).filter(function(d){return"root"===d.Xa()}).forEach(function(d){return d.Jb(a.rootId)});_.hf(b,_.Cl(b).map(function(d){d.Jb(d.Xa().toLowerCase());return d}));c&&_.Bl(b,a.fields);b.O().sort();return b},PO=function(a,b,c){if(b instanceof _.bf){b=OO(a,b);var d=_.YXc(b)}else if(b instanceof _.Sz)d=b.jn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.oL)return d=s9c(b),d+"|tdList";if(b instanceof _.JF)return d=
b.jn().sort().join(","),b.O().length&&(d+="|"+a9c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+C9c(a,b.O(),2===c)},C9c=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+" - "+_.XL({fields:[].concat(_.nd(f)),tr:a.tr}));e.size&&(d=d+" + "+_.XL({fields:[].concat(_.nd(e)),tr:a.tr}));
return d};B9c.prototype.equals=function(a,b,c){var d;c&&(d=3);return PO(this,a,d)===PO(this,b,d)};
var D9c=function(a){if(!a.jn().every(function(b){return!_.ee(b)}))throw new _.nc("Invalid ids for FindByIdsRequest");},F9c=function(a,b,c){if(_.tM(b))throw new _.nc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");E9c(a,b,c)},E9c=function(a,b,c){var d;a.O||(d=_.UL(3));if(b.getId())throw new _.nc("Use findByIds() for find by id queries.",d?d:_.UL(3));if(!b.Li()||0>=b.Li())throw new _.nc("A positive limit is required on an ItemQueryRequest.",d?d:_.UL(3));
_.Pd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),G9c(a,d,b.O()));if(c=(c=b.Ac())&&t9c(c))d=b.O().length?b.O():a.fields,G9c(a,d,c);if(_.sM(b)){if(a.tr)throw new _.nc("User must be authenticated for a Quick Access request.");if(!H9c(a)&&20<b.Li())throw new _.nc("Limit must be in the range [1, 20].");c=2===_.ZM(b);d=_.Pd(b,33).length;if(c&&1!==d||d&&!c)throw new _.nc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Sj(_.Qj(_.Qj(_.Qj(_.HH(_.Qj(_.Rj(_.HH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.bf;if(!_.ik(c,d))throw new _.nc("Some fields specified are not valid for a Quick Access request. Valid: field, request_descriptor, limit, team_drive, corpora, is_quick_access_request and mime_type. Extra: "+r5c(d,c));}if(_.uM(b)){if(a.tr)throw new _.nc("User must be authenticated for a DrivePriority request.");if(2===_.ZM(b))throw new _.nc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Qj(_.Qj(_.Qj(_.Rj(_.HH(b.clone(),1),30),32),45),52);
b=new _.bf;if(!_.ik(a,b))throw new _.nc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+r5c(b,a));}},I9c=function(a,b,c){if(!_.tM(b))throw new _.nc("Expected a PeoplePredict request.");E9c(a,b,c);if(a.tr)throw new _.nc("User must be authenticated for a People Predict request.");if(2===_.ZM(b))throw new _.nc("Team Drive corpora is not valid for a People Predict request.");a=_.Qj(_.Qj(_.Qj(_.Rj(_.HH(b.clone(),
1),30),32),45),49);b=new _.bf;if(!_.ik(a,b))throw new _.nc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+r5c(b,a));},G9c=function(a,b,c){var d;a.O||(d=_.UL(3));if(!Y0c(b,c,_.bVc)){var e=_.XL({fields:c,tr:a.tr}),f=_.XL({fields:b,tr:a.tr});a=_.XL({fields:Z0c(c,b),tr:a.tr});throw new _.nc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.UL(3));
}},H9c=function(a){return 200<=_.aN(a.H)&&300>_.aN(a.H)},J9c=function(a){var b=new Set;_.Cl(a).forEach(function(c){switch(_.oNa(c.Xa())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.nd(b))},K9c=function(a){switch(_.aN(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"}},L9c=function(a){_.N.call(this);this.H=a};_.Kf(L9c,_.N);_.g=L9c.prototype;_.g.cancel=function(){this.H.cancel()};
_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.H.addCallback(function(d){d.registerService(a,b,c)})};_.g.LO=function(a){this.H.addCallback(function(b){b.LO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();L9c.ub.Ya.call(this)};var y1c=function(a){_.ay.call(this);this.Oo=a;this.H=_.xe(this.Oo,"message",this.mpb,!1,this)};_.Kf(y1c,_.ay);_.g=y1c.prototype;_.g.Dd=null;
_.g.send=function(a,b){var c=[];b=this.Iya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.aUc&&(a=(0,_.xi)(a));this.Oo.postMessage(a,c)};_.g.mpb=function(a){a=a.Fe;var b=a.data;if(_.aUc)try{b=JSON.parse(b)}catch(e){return}if(_.Ca(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.gCa(a.ports||[],b),d.PEa),null!=b&&d.callback(b))}};
_.g.Iya=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.v)(this.Iya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.Iya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.gCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.gCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.gCa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.oi(this.H);"[object MessagePort]"==Object.prototype.toString.call(this.Oo)?this.Oo.close():"[object Worker]"==Object.prototype.toString.call(this.Oo)&&this.Oo.terminate();delete this.Oo;y1c.ub.Ya.call(this)};
var A1c=function(a,b){if("*"==b)return new L9c(_.ai(Error("Qe")));var c=new _.ti(50),d=_.tb(_.aa,c),e=new _.Wh(d);_.Uja(e,d);c.start();_.xe(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new y1c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new L9c(e)},M9c=function(a){_.N.call(this);this.H=new _.kSc(a);this.V={};this.O=_.mSc(this.H,
"private");this.W=_.mSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Kmb,this),!0)};_.Kf(M9c,_.N);_.g=M9c.prototype;_.g.TFb=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.TFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Kmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.v)(this.Jmb,this,b),!0)};
_.g.Jmb=function(a,b){a=a(b.data);var c=b.signature;_.Ph(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var $N=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.kSc(a);this.Ma(this.H);this.O=new M9c(_.mSc(this.H,"direct"));this.Ma(this.O);a=_.mSc(this.H,"passthrough");this.V=b?a:new M9c(a);this.Ma(this.V);this.TW=b};_.L($N,_.N);$N.prototype.registerService=function(a,b){this.O.registerService(a,b)};
$N.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ff)};var QO=function(a,b,c){if(a.TW)throw Error("Re");a.V.registerService(b,c,!0)},RO=function(a,b,c,d){if(a.TW)throw Error("Se");a.V.send(b,c||{},d||_.Ff)};$N.prototype.start=function(){this.started||(this.started=!0);if(this.TW)throw Error("Te");};var v1c=[],N9c=function(){_.ay.call(this);this.H=null};_.L(N9c,_.ay);N9c.prototype.send=function(a,b){_.f6a(this.H,a,b)};
var B1c=function(){this.O=new N9c;this.H=new N9c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},O9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.Zb=null},P9c=function(a,b){b=void 0===b?!1:b;null==a.Zb&&(a.Zb=b)&&u1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.Zb}},Q9c=function(a){var b=new O9c(a.c,a.m,a.a,a.req);b.Zb=a.s;return b},R9c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.Zb=null},S9c=function(a,
b){b=void 0===b?!1:b;null==a.Zb&&a.data&&(a.Zb=b)&&u1c(a.data);return{d:a.data,err:a.error&&b?a.error.Zb():a.error,uid:a.H,s:b}},T9c=function(a){var b=a.s,c=a.err&&b?new _.mc(JSON.parse(a.err)):a.err;a=new R9c(c?void 0:a.d,c,a.uid);c||(a.Zb=b);return a},t1c=function(a,b){this.H=a;this.SD=b};t1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.SD[b];return a};
t1c.prototype.Zb=function(){for(var a={},b={},c=0;c<this.SD.length;c++){var d=this.SD[c],e=this.H[c];d instanceof Error?b[e]=_.JL(d).Zb():a[e]=d.Zb()}return{r:a,e:b}};U9c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.NM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.mc(JSON.parse(e));d.push(_.VL(e))});return new t1c(c,d)}return a};z1c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
V9c={LTb:0,eUb:1,ZZb:3,k7b:5,ejb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.eM=function(a){_.P(this,a,-1,null,null)};_.L(_.eM,_.K);_.eM.prototype.Ah=function(){return _.C(this,1)};_.eM.prototype.we=function(){return _.E(this,_.of,3)};_.hM=function(a){_.P(this,a,-1,null,null)};_.L(_.hM,_.K);_.hM.prototype.Ic=function(){return _.C(this,1)};_.hM.prototype.we=function(){return _.E(this,_.of,3)};_.pM=function(a){_.P(this,a,-1,null,null)};_.L(_.pM,_.K);
_.pM.prototype.Ah=function(){return _.C(this,1)};_.pM.prototype.we=function(){return _.E(this,_.of,2)};_.qM=function(a){_.P(this,a,-1,null,null)};_.L(_.qM,_.K);_.qM.prototype.Ah=function(){return _.C(this,1)};_.qM.prototype.we=function(){return _.E(this,_.of,2)};_.rM=function(a){_.P(this,a,-1,null,null)};_.L(_.rM,_.K);_.g=_.rM.prototype;_.g.Ic=function(){return _.C(this,1)};_.g.$f=function(){return _.C(this,2)};_.g.getType=function(){return _.C(this,3)};_.g.Xa=function(){return _.C(this,4)};
_.g.Jb=function(a){return _.A(this,4,a)};_.g.zi=function(){return _.Qj(this,4)};_.g.ih=function(){return _.Q(this,4)};_.g.we=function(){return _.E(this,_.of,7)};_.yM=function(a){_.P(this,a,-1,null,null)};_.L(_.yM,_.K);_.yM.prototype.Ic=function(){return _.C(this,1)};_.yM.prototype.we=function(){return _.E(this,_.of,2)};_.yM.prototype.Li=function(){return _.Lj(this,3,1E3)};_.yM.prototype.wi=function(a){return _.A(this,3,a)};_.BM=function(a){_.P(this,a,-1,null,null)};_.L(_.BM,_.K);
_.BM.prototype.we=function(){return _.E(this,_.of,1)};var W9c=function(){var a=new _.BM,b=_.pf(new _.of,301);return _.x(a,1,b)};_.BM.prototype.Bc=function(){return _.C(this,3)};_.zVc=function(a){_.P(this,a,-1,null,null)};_.L(_.zVc,_.K);_.zVc.prototype.Bc=function(){return _.C(this,1)};_.FM=function(a){_.P(this,a,-1,null,null)};_.L(_.FM,_.K);_.FM.prototype.Ah=function(){return _.C(this,1)};_.FM.prototype.we=function(){return _.E(this,_.of,4)};var X9c=function(a){_.P(this,a,-1,null,null)};_.L(X9c,_.K);
Y9c=function(a,b){return _.A(a,1,b)};_.fM=function(a){_.P(this,a,-1,null,null)};_.L(_.fM,_.K);_.fM.prototype.getId=function(){return _.C(this,1)};_.fM.prototype.Pb=function(a){return _.A(this,1,a)};_.vM=function(a){_.P(this,a,-1,null,null)};_.L(_.vM,_.K);_.vM.prototype.getId=function(){return _.C(this,1)};_.vM.prototype.Pb=function(a){return _.A(this,1,a)};_.mVc=function(a){_.P(this,a,-1,null,null)};_.L(_.mVc,_.K);
var Z9c=function(a,b,c){_.si.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.L(Z9c,_.si);Z9c.prototype.CB=function(){return this.O};Z9c.prototype.xQ=function(){var a=this;if(this.W)return this.W;var b=_.Sh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);$9c(this,b);return b.promise};Z9c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,a$c(this))};
Z9c.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 y5c("ib")))};
var b$c=function(a,b){a.ha=b},a$c=function(a){a.H||(a.H=new _.SYc(5E3),a.timeout=_.n.setTimeout(function(){return c$c(a)},a.H.Xa()))},c$c=function(a){$9c(a);a.H&&(_.mH(a.H),a.timeout=_.n.setTimeout(function(){return c$c(a)},a.H.Xa()))},$9c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return d$c(a,b)})},d$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Ve(new _.AVc)});b?c.then(function(){b.resolve(Y9c(new X9c,1))},function(d){var e=_.UA(d).Qg;
d=0;_.nUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.Vp(e),_.A(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new X9c;Y9c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.UA(d);_.nUc(d.Qg)&&a.V&&(a.dispatchEvent(new y5c("jb")),a.V=!1)})};Z9c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var e$c=function(a){return _.E(a,_.CL,3)||_.E(a,_.LM,4)||_.E(a,_.zN,5)||_.E(a,_.IM,6)||_.E(a,_.jM,7)||_.E(a,_.cM,8)||_.E(a,_.gM,9)||_.E(a,_.ML,10)},f$c=function(a){_.P(this,a,-1,null,null)};_.L(f$c,_.K);_.g=f$c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Rz=function(){return _.C(this,3)};_.g.Oe=function(){return _.C(this,4)};_.g.xi=function(a){return _.A(this,4,a)};_.g.Gla=function(){return _.Q(this,4)};
var g$c=function(a){this.Dd=a;this.H=new Map;this.O=this.Dd.W};
g$c.prototype.create=function(a,b){if(0!=d5c(b)){var c=this.Dd.H(106001);if(c){var d=d5c(b),e=lO(c);_.A(e,2,d);d=lO(c);e=null;if(b instanceof _.SF||b instanceof _.Sz||b instanceof _.bf||b instanceof _.wM||b instanceof _.dD||b instanceof _.JF||b instanceof _.oL||b instanceof _.wL||b instanceof _.LF||b instanceof _.Cz)e=b.we();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=lO(c);b=b instanceof _.bf?0<_.Dl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var h$c=function(a,b,c){if(a=a.H.get(b))a=lO(a),_.A(a,5,c)},i$c=function(a,b,c){(a=a.H.get(b))&&_.R(lO(a),8)&&(a=lO(a),_.A(a,9,c))},j$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(lO(f).Cc(c),lO(f).kj(d),null!=e&&(c=lO(f),_.A(c,6,e)),f.Yj(),a.H.delete(b))},k$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=e5c(c);if(1==e||2==c)e=_.oN(_.dUc,c),d=lO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.AUc.has(e):null,j$c(a,b,1,e,d)}},l$c=function(a,b,c){var d=a.O.Bb(c);d=_.oN(_.cUc,d||22);var e=e5c(c);e=_.oN(_.dUc,
e);j$c(a,b,d,e,"undefined"!=typeof _.sN&&c instanceof _.sN||"undefined"!=typeof _.uN&&c instanceof _.uN||"undefined"!=typeof _.vN&&c instanceof _.vN?c.l0:null)},SO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(lO(d).Cc(c),d.Yj(),a.H.delete(b))},TO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(TO,_.gi);var m$c=[2,4],UO=function(a){_.P(this,a,-1,m$c,null)};_.L(UO,_.K);UO.prototype.Bb=function(){return _.C(this,1)};UO.prototype.Cc=function(a){return _.A(this,1,a)};
UO.prototype.$j=function(){return _.C(this,3)};var n$c=[4,9],o$c=function(a){_.P(this,a,-1,n$c,null)};_.L(o$c,_.K);_.g=o$c.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.UVa=function(){return _.C(this,2)};_.g.AMa=function(){return _.C(this,3)};_.g.dtb=function(){return _.ck(this,_.FL,4)};var p$c={S6b:0,u1b:1,x1b:2,v1b:4,f_b:5,sXb:6,m_b:7,K1b:8},q$c=function(a){_.P(this,a,-1,null,null)};_.L(q$c,_.K);q$c.prototype.getUrl=function(){return _.C(this,1)};
var VO=function(a){_.P(this,a,-1,null,null)};_.L(VO,_.K);var r$c=function(a,b){return _.A(a,1,b)};VO.prototype.getName=function(){return _.C(this,2)};VO.prototype.jd=function(a){return _.A(this,2,a)};VO.prototype.getEmail=function(){return _.C(this,3)};var s$c=function(a,b){return _.A(a,3,b)};VO.prototype.Dp=function(){return _.Q(this,3)};var t$c=[1],u$c=function(a){_.P(this,a,-1,t$c,null)};_.L(u$c,_.K);var v$c=function(a,b){return _.Cb(a,1,b)},w$c=function(a){_.P(this,a,-1,null,null)};_.L(w$c,_.K);
_.g=w$c.prototype;_.g.Ic=function(){return _.C(this,1)};_.g.Bb=function(){return _.C(this,2)};_.g.Cc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.E(this,_.mc,3)};_.g.Ue=function(a){return _.x(this,3,a)};_.g.Jn=function(){return _.Q(this,3)};var x$c=[2],WO=function(a){_.P(this,a,-1,x$c,null)};_.L(WO,_.K);WO.prototype.Bb=function(){return _.C(this,1)};WO.prototype.Cc=function(a){return _.A(this,1,a)};WO.prototype.nl=function(){return _.ck(this,_.KF,2)};
var y$c=function(a,b){return _.Cb(a,2,b)};WO.prototype.$j=function(){return _.C(this,3)};var z$c=[1],A$c=function(a){_.P(this,a,-1,z$c,null)};_.L(A$c,_.K);var B$c=function(a,b){return _.Pj(a,1,b)},C$c=function(a,b){this.O=a|0;this.H=b|0};C$c.prototype.equals=function(a){return this===a?!0:a instanceof C$c?this.O===a.O&&this.H===a.H:!1};C$c.prototype.Hc=function(){return 31*this.O+17*this.H|0};
var D$c=function(a,b){return new C$c(a,b)},E$c=function(a,b){b=~b;a?a=~a+1:b+=1;return D$c(a,b)},F$c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?E$c:D$c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},G$c=function(){this.H=this.W=this.O=this.V=null},H$c=function(a,b,c){this.id=a;this.O=b;this.H=c},I$c=function(a,b){return new H$c((a?a:b).getId(),a,b)},XO=function(a){return new H$c(a.getId(),null,a)},J$c=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},YO=function(a,b,c){if(a.started)throw Error("bf");c={Ko: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)}},ZO=function(a,b){if(!a.started)throw Error("cf");if(!a.enabled)throw Error("df`"+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.Ko.delete(b);if(0===e.Ko.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.VL(f):null,f;}}}};J$c.prototype.H=function(a){return this.V.has(a)};J$c.prototype.start=function(){this.started=!0};J$c.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var K$c=function(){_.si.call(this);this.H=Date.now()};_.L(K$c,_.si);K$c.prototype.tF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var L$c=function(a,b){this.zu=a;this.Ew=b;this.TN=!0;this.t8=!1;this.Re=0},$O=function(a){a.TN=!1;a.HJ()};_.g=L$c.prototype;
_.g.jla=function(a,b){if(5===this.JE(a))throw Error("ef");for(var c=[],d=_.m(this.my()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.Ld=function(){return this.my().length};_.g.tk=function(a){var b=this.jla(a,void 0);b=S1c(b);var c=new _.KA;c.Vw(b);c.Cc(this.XN(a)?6:1);return c};_.g.update=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(!b&&!c)return!1;b&&this.yJ(a.O);c&&this.JR(a.H);return!0};
_.g.JE=function(a){return this.TN&&this.t8?l9c(a)?1:5:5};_.g.pX=function(){this.t8=!0};_.g.Gs=function(a){return!!a&&this.TN};_.g.kj=function(a){this.Re=a};_.g.We=function(){return this.Re};var aP=function(a,b,c,d,e,f){f=void 0===f?"":f;L$c.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=OO(c,d,!0);this.H=!e;M$c(this,e);this.V=function(k,l){return h.Ew.compare(h.request,k,l)}};_.L(aP,L$c);_.g=aP.prototype;_.g.yd=function(){return this.request};
_.g.JR=function(a){var b=this.O[a.getId()];b&&this.yJ(b);O0c(this.Od,a,this.V);this.O[a.getId()]=a;a.count++;this.Od.length>this.request.Li()&&(this.yJ(_.ha(this.Od)),this.H=!1)};_.g.yJ=function(a){var b=this.Od,c=_.Ga(b,a,this.V);0<=c&&_.ta(b,c);_.Xa(this.O,a.getId());a.count--};_.g.HJ=function(){this.Od.forEach(function(a){a.count--});this.Od=[];this.O={}};_.g.my=function(){return this.Od};
_.g.JE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=Y0c(b,a,_.bVc);return b?this.H?1:6:5};_.g.jla=function(a,b){if(5===this.JE(a))throw Error("ef");b=b?Math.min(b,this.Od.length):this.Od.length;return _.Aa(this.Od,0,b)};_.g.Gs=function(a){if(!L$c.prototype.Gs.call(this,a)||!NO(this.zu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.ha(this.Od);return!!b&&0>=this.V(a,b)};_.g.XN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.ql=function(a,b){var c=this,d=_.ha(this.Od);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.yJ(d),M$c(this,_.ha(a))):this.H=!0);_.Ka(a,function(e){c.update(XO(e))})};var M$c=function(a,b){b&&NO(a.zu,a.request,b.getItem())&&a.JR(b)};aP.prototype.ty=function(){return this.nextPageToken};var bP=function(a,b){L$c.call(this,a,b);this.Od=new Map};_.L(bP,L$c);bP.prototype.JR=function(a){this.Od.set(a.getId(),a);a.count++};
bP.prototype.yJ=function(a){this.Od.delete(a.getId());a.count--};bP.prototype.HJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Od=new Map};bP.prototype.my=function(){return Array.from(this.Od.values())};var N$c=function(a,b){bP.call(this,a,b);this.pX()};_.L(N$c,bP);_.g=N$c.prototype;
_.g.JE=function(a){var b=this,c=bP.prototype.JE.call(this,a);if(5===c)return c;if(0<_.Pd(a,33).length)return 5;a=_.Dl(a);return 0<a.length?a.every(function(d){return(d=b.Od.get(d.Xa()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Gs=function(a){return bP.prototype.Gs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.jla=function(a,b){for(var c=[],d=_.m(this.my()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.yd=function(){return new _.bf};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.XN=function(){return!1};var cP=function(a,b,c,d){bP.call(this,a,b);var e=this;this.H=d;YO(c,["aU7Ts","BNEDtc"],function(){return e.pX()})};_.L(cP,bP);cP.prototype.JE=function(a){var b=this,c=bP.prototype.JE.call(this,a);if(5==c)return c;if(0<_.Pd(a,33).length)return 5;a=_.Dl(a);return 0<a.length&&!a.every(function(d){d=b.Od.get(d.Xa());return null!=d&&!d.getItem().Bc()&&g1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
cP.prototype.Gs=function(a){return bP.prototype.Gs.call(this,a)&&O$c(this,a.getItem())};var O$c=function(a,b){if(_.R(b,31)||!a.t8)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Od.get(d);return d==c||null!=e&&g1c(e.getItem())})};cP.prototype.pX=function(){bP.prototype.pX.call(this);for(var a=_.m(this.Od),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;O$c(this,c.getItem())||(c.count--,this.Od.delete(b))}};cP.prototype.yd=function(){return new _.bf};
cP.prototype.getType=function(){return"SubscribedCorpusCache"};cP.prototype.XN=function(){return!1};var P$c=/^[\x00-\x7F]*$/,Q$c=function(){this.rootId=""};Q$c.prototype.Iu=function(a){this.rootId=a||""};
var l9c=function(a){return R$c(a)&&0==_.Pd(a,40).length&&void 0==_.C(a,41)},R$c=function(a){var b=!0;_.ck(a,_.df,13).forEach(function(d){"me"!=d.Xa()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.ck(a,_.xl,5).length&&0==_.ck(a,_.df,14).length&&0==_.ck(a,_.df,15).length&&!_.Q(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.ck(a,_.rl,35).length&&0==_.ck(a,_.rl,38).length&&c&&b&&0==_.Pd(a,39).length&&!_.C(a,42)&&0==_.ck(a,_.ql,44).length&&!_.sM(a)&&!_.tM(a)&&!_.uM(a)&&0==_.ck(a,_.sl,57).length&&S$c(a)&&
!_.E(a,_.roa,59)&&null==_.R(a,60)&&0==_.ck(a,_.df,68).length&&0==_.ck(a,_.df,67).length&&null==_.R(a,69)},S$c=function(a){return _.ck(a,_.yl,4).every(function(b){b=b.Xa();return!b||!b.includes("*")&&P$c.test(b)})};Q$c.prototype.n9=function(a,b){var c=this;return b.filter(function(d){return NO(c,a,d)})};
var NO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!MO(c);if(d){d=!0;var e=_.ck(b,_.yl,4);if(S$c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Xa()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Xa().toLowerCase();if(2==_.C(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.nd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.gg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Ng(q)+"($|[^\\w])|(^|[ ])"+_.Ng(q)):new RegExp(_.Ng(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Cl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Xa()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Of())&&_.C(p,3)||""),p=_.S(h,2,!1),r=h.Xa(),_.PM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Hj(h,3,0)?r===q:q.includes(r),p?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.ck(b,_.vl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Iq(),d=d&&T$c(k,f);if(d)for(d=!0,e=_.ck(b,_.vl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.kz(),d=d&&T$c(k,f);d&&(d=b.Sh(),e=(e=_.ZM(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.wp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.XA());d&&(d=null==b.Fm()||b.Fm()==!!c.Fm());if(d)a:{d=_.Dl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Xa()&&(f="root"==e.Xa()&&a.rootId||e.Xa(),f=c.mk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.ck(b,_.df,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Xa()&&(e=1==c.wp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.xy():!0));a&&(a=_.R(b,17),d=(d=_.ZM(b))&&(2==d||3==d),a=null==a||a==!!c.XI()&&(!a||1==c.wp()||!!d));a&&(a=p1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Uk(a));a&&(a=!0);if(a=a&&U$c(b,c)&&V$c(b,c))a=_.Pd(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&W$c(b,c))_.C(b,41)?(a=_.E(c,_.TM,86),a=null!=a&&
_.C(b,41)==_.C(a,3)):a=!0;if(a=a&&X$c(b,c))a=_.ZM(b),1==a?(a=_.R(c,31),a=!!_.Dl(b).length||!!_.ck(b,_.rl,35).length||1==_.R(b,18)||_.sM(b)||_.tM(b)||_.uM(b)||!!b.Xp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.sM(b)?!!_.Zk(c)&&!c.Sh():!0);a&&(a=_.tM(b)?!!_.$k(c).length&&!c.Sh():!0);a&&(a=_.uM(b)?!!_.al(c).length&&!c.Sh():!0);a&&(a=_.Q(b,50)?_.S(b,50,!1)?_.Q(c,101)&&0!==_.C(c,101):!_.Q(c,101):!0);a&&(a=b.Xp(),a=!a||_.Pd(c,120).includes(a));a&&(c=_.E(c,_.RM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.C(c,
1),a=_.R(b,65)==c));return a},T$c=function(a,b){if(null!=_.C(b,2))switch(_.C(b,1)){case 1:return a<=_.C(b,2);case 2:return a<_.C(b,2);case 3:return a==_.C(b,2);case 4:return a>_.C(b,2);case 5:return a>=_.C(b,2);default:return!1}return!0},U$c=function(a,b){var c=_.cb(_.Pd(b,56));a=_.ck(a,_.YM,25);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},V$c=function(a,b){if(0==a.tB().length)return!0;var c=_.cb(b.tB().map(function(d){return _.C(d,1)}));a=_.cb(a.tB().map(function(d){return _.C(d,
1)}));return _.Pa(a,function(d,e){return c[e]})},W$c=function(a,b){var c=_.cb(_.Pd(b,50));a=_.ck(a,_.wl,37);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},X$c=function(a,b){if(_.Pd(a,40).length){if(b=_.E(b,_.TM,86)){var c=_.cb(_.Pd(b,2));return _.Pd(a,40).some(function(d){return c[d]})}return!1}return!0},dP=function(a,b,c,d){d=void 0===d?5E3:d;bP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(dP,bP);_.g=dP.prototype;
_.g.JE=function(a){var b=this,c=bP.prototype.JE.call(this,a);if(5==c)return c;c=_.Dl(a);var d=c.every(function(e){var f=e.Xa();return(null!=b.Od.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Pd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Gs=function(a){return bP.prototype.Gs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!MO(a.getItem())};_.g.XN=function(){return!1};_.g.yd=function(){var a=new _.bf;_.Fl(a,[this.teamDriveId]);_.Gl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Y$c=function(a){this.ha=a;this.V=[];this.W=this.H=null;this.O=[];a=new _.bf;_.A(a,48,!0);var b=new _.ad;_.bd(b,11);_.cd(b,2);_.cf(a,b);this.ka=OO(this.ha,a,!0)};Y$c.prototype.add=function(a){a instanceof cP?this.H=a:a instanceof N$c?this.W=a:a instanceof aP?this.V.push(a):a instanceof dP&&this.O.push(a)};
Y$c.prototype.remove=function(a){var b=this;if(a instanceof cP)this.H&&($O(this.H),this.H=null);else if(a instanceof N$c)this.W&&($O(this.W),this.W=null);else if(a instanceof aP){var c=_.ja(this.V,function(d){return b.ha.equals(d.yd(),a.yd())});0<=c&&($O(this.V[c]),_.ta(this.V,c))}else a instanceof dP&&(c=_.ja(this.O,function(d){return b.ha.equals(d.yd(),a.yd())}),0<=c&&($O(this.O[c]),_.ta(this.O,c)))};
var Z$c=function(a){var b=[];a.H&&b.push(a.H);a.W&&b.push(a.W);_.za(b,_.ya(a.V));_.za(b,_.ya(a.O));return b},$$c=function(a,b){b=void 0===b?!1:b;return a.V.filter(function(c){return a.H&&b?(c=c.yd().clone(),_.Qj(c,32),_.Sj(c,26),!_.ik(a.ka,c)):!0})};Y$c.prototype.lW=function(){return _.ya(this.O)};
var aad=function(a,b){return _.dg(a.O,function(c){return c.Bc()===b})},bad=function(a,b){return $$c(a).find(function(c){return a.ha.equals(c.yd(),OO(a.ha,b,!0))})},cad=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L(cad,_.gi);cad.prototype.getError=function(){return this.error};cad.prototype.H=function(){return this.ids};var dad=function(a){_.gi.call(this,"Jb");this.people=a};_.L(dad,_.gi);dad.prototype.getPeople=function(){return this.people};
var ead=function(a){_.gi.call(this,"Kb");this.people=a};_.L(ead,_.gi);ead.prototype.getPeople=function(){return this.people};var gad=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Re=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);fad(this)};gad.prototype.We=function(){return this.Re};
var had=function(a){return 0===a.Re?1:2===a.Re||(1===a.Re||4===a.Re)&&(a.person.Dp()||a.O)?3:2},iad=function(a,b,c){if(_.C(b,1)!==_.C(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=had(a),e=a.We();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=s$c(b.clone(),a.getEmail(b)),e=!_.ik(a.person,b),a.person=b,a.Re=c,fad(a),e||d!==had(a);if(4===c)return a.Re=c,fad(a),d!==had(a);c=b;return!a.person.getEmail()&&c.getEmail()?(s$c(a.person,a.getEmail(b)),!0):!1};
gad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var fad=function(a){1===a.Re?(a.W=Date.now(),a.V=null):4===a.Re&&(a.V=Date.now())},kad=function(a,b,c,d){_.si.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.mL(function(){return jad(e)},100,this)};_.L(kad,_.si);kad.prototype.Yg=function(a){a&&_.BL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ye())};
var jad=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)}})};kad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){return c.Ve(V4c(new _.AM,a))}).then(function(c){c=_.ck(c,VO,1);b.dispatchEvent(new dad(c))},function(c){c=_.UA(c);b.dispatchEvent(new cad(a,c))})};kad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var eP=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.H=new Map;this.W=new Set;this.ha=new Map;this.Mc=new _.He(this);this.Ma(this.Mc);this.va=b;this.V=d;this.oa=e;this.O=!_.S(a,90,!1);this.ma=_.Lj(_.E(a,Y3c,85)||new Y3c,1,864E5);this.ka=new kad(a,b,c,f);this.Ba=new _.vD(function(){var k,l=null===(k=h.oa)||void 0===k?void 0:f5c(k,106015);if(l){k=_.E(_.nN(l),E4c,11);if(!k){k=new E4c;var p=_.nN(l);_.x(p,11,k)}k=_.A(k,1,h.H.size);_.A(k,2,h.W.size);l.Yj()}},500,this);this.Mc.listen(this.ka,"Jb",
function(k){k=k.getPeople();lad(h,k,1);h.Ba.ye()});this.Mc.listen(this.ka,"Ib",function(k){mad(h,k)})};_.L(eP,_.si);eP.prototype.get=function(a){var b=this.O?_.Rg():"";this.O&&this.V.create(b,V4c(new _.AM,[a]));var c=this.H.get(a);if(c)return nad(this,c)?(this.O&&SO(this.V,b,this.AD(c)?6:5),oad(this,a)):this.O&&j$c(this.V,b,1,_.oN(_.dUc,10),null),c;this.O&&SO(this.V,b,5);return null};
var oad=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ka.Yg(b);var c=new _.tn;a.ha.set(b,c);return c.promise};eP.prototype.Tb=function(a){var b=this,c=this.O?_.Rg():"";this.O&&this.V.create(c,V4c(new _.AM,[a]));return pad(this,a)?(this.O&&j$c(this.V,c,1,_.oN(_.dUc,10),null),Promise.resolve(this.H.get(a))):oad(this,a).then(function(){b.O&&(pad(b,a)?j$c(b.V,c,1,_.oN(_.dUc,1),null):SO(b.V,c,3));return b.H.get(a)})};eP.prototype.wc=function(){return 0===this.H.size};
eP.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.W.clear()};
var qad=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return 3===had(b)&&4!==b.We()}).map(function(b){return b.person.clone()})},rad=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},sad=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.nd(e.H)).length&&(a.H.delete(d),a.W.delete(d)))}},lad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(p$c)[c]+".")),tad(a,b,c))},vad=function(a,b,c,d){0!==b.length&&uad(a,b,c,void 0===d?0:d)},pad=function(a,b){b=a.H.get(b);return!(!b||3!==had(b)||nad(a,b))},uad=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=_.C(f,1),k=a.H.get(h);if(k)iad(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&&oad(k,_.C(f,1));l=new gad(f,p,l);k.H.set(_.C(f,1),l)}e&&1===d&&(f.getName()?a.W.delete(h):a.W.add(h))}return e};
eP.prototype.AD=function(a){return 1===a.We()&&Date.now()-Number(a.W)>this.ma};var nad=function(a,b){switch(b.We()){case 1:return Date.now()-Number(b.W)>a.ma;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};eP.prototype.log=function(a,b){this.va.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var mad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():r$c(new VO,c)});tad(a,b,4)},tad=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.C(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),a.ha.delete(e))}uad(a,b,void 0,c)&&a.dispatchEvent(new ead(b))},wad=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.Mc=new _.He(this);this.Ma(this.Mc);this.H=new eP(a,b,c,d,e,f);this.O=_.LL(a)||new _.pUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(wad,_.si);wad.prototype.wP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=xad(this,[c]).map(function(e){return yad(b,e)});vad(this.H,d,a.H.getId(),this.We(_.C(c,82)))}a.O&&sad(this.H,a.id,zad(this,a))};wad.prototype.We=function(a){return _.JUc.get(a)||0};
var zad=function(a,b){var c=Aad(a,b.O),d=Aad(a,b.H);return c.filter(function(e){return!d.includes(e)})},Aad=function(a,b){return b?Bad(a,[b.getItem()]):[]},Dad=function(a,b){b=b.getUser();vad(a.H,[yad(a,b)],"ACCOUNT");Cad(a,b)},Fad=function(a,b){var c=_.ck(b,_.eN,2).map(function(d){var e=_.E(d,_.Dk,9,1);return a.H.Tb(_.RF(e)).then(function(){return void Ead(a,[e])})});return Promise.all(c).then(function(){return b})},Ead=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.RF(c)&&
Cad(a,c)},Gad=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.RF(f)&&(d.add(_.RF(f)),vad(a.H,[yad(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return Ead(a,b)})},Iad=function(a,b){return Bad(a,[b]).some(function(c){return!Had(a,c)})},Had=function(a,b){return pad(a.H,b)},Bad=function(a,b){var c=new Set;a=xad(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.RF(b.value))&&c.add(b);return[].concat(_.nd(c))},
xad=function(a,b){return b.map(function(c){var d=c.$w();d=d?[].concat(_.nd(d.uR()),_.nd(_.ck(d,_.Dk,3))):[];var e=c.Of();e=(e=e&&_.Td(e))?xad(a,[e]):[];return[].concat(_.nd(_.Xk(c)),[c.Bm(),c.Uv(),c.Tq(),c.sD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!_.RF(c)})};wad.prototype.getItems=function(a){return rad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Jad=function(a,b){return b.map(function(c){c=c.clone();var d=xad(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Qj(e,3),_.Qj(e,8),_.Qj(e,5);return c})},Lad=function(a,b){return b.some(function(c){return Kad(a,c)})},Kad=function(a,b){return xad(a,[b]).some(function(c){return _.Q(c,3)||c.Dp()||_.Q(c,5)})},Cad=function(a,b){var c=a.H.get(_.RF(b));if(c){a=c.person.clone();var d=_.PVc(b.jd(a.getName()),a.getEmail());c=had(c);_.A(d,16,c);(a=_.E(a,q$c,4))&&b.uo(a.getUrl())}},yad=function(a,
b){var c=_.RF(b);c=s$c(r$c(new VO,c).jd(b.getName()),b.getEmail());var d=new q$c;var e=_.C(b,5);d=_.A(d,1,e);c=_.x(c,4,d);_.S(a.O,9,!1)&&(_.Qj(b,3),_.Qj(b,8),_.Qj(b,5));return c},Mad=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Mad.prototype.Uf=function(){return this.suggestionSessionId};Mad.prototype.tAa=function(){return this.O};Mad.prototype.wc=function(){return this.H};
var Nad=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Oad=function(a,b){a=Nad(a);b=Nad(b);return!(!a||!b||a!==b)},Pad=function(a){return a.Ic()+"_"+Nad(a.getName())},Qad=function(a,b){var c=_.Pd(a,1).map(function(d,e){return b[Number(e)].value.R3a.promise});return Promise.allSettled(c).then(function(d){return _.Pd(a,1).map(function(e,f){e=e.toString();var h=new w$c;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Cc(1):(e.Cc(3),e.Ue(f.reason.Qg));return e})})},fP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Gy=new Set;this.status=6;this.V=new Map;this.Re=0};_.L(fP,_.N);_.g=fP.prototype;_.g.Zh=function(a){var b=this;this.Gy.add(a);return this.resize().then(function(){return b.HO(a)})};_.g.ik=function(a){this.Gy.delete(a);0===this.Gy.size&&this.dispose()};_.g.We=function(){return this.Re};_.g.kj=function(a){this.Re=a};
_.g.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Nu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.WX():_.Ph([])};_.g.WX=function(){for(var a=[],b=_.m(this.Gy.values()),c=b.next();!c.done;c=b.next())a.push(this.HO(c.value));return _.Rh(a)};
_.g.VX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={yra:c.yra},e=d.next())c.yra=e.value,b.push(this.O.then(function(f){return function(h){return void h.VX(f.yra,a)}}(c)));return _.Rh(b)};_.g.pA=function(){for(var a=this,b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={zra:c.zra},e=d.next())c.zra=e.value,b.push(this.O.then(function(f){return function(h){return void h.pA(f.zra)}}(c)));return _.Rh(b).then(function(){a.kj(0===a.We()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Gy.forEach(function(d){d=b.Wka(d);c=Math.max(c,d.Li?d.Li()||0:0)});a.Tfa(c)})};var Rad=function(a,b){return b?a.V.get(a.Bka(b))||null:null};_.g=fP.prototype;_.g.lI=function(a,b){var c=Rad(this,a);b=W8c(c,b);this.V.set(this.Bka(a),b)};_.g.Bka=function(a){return a};_.g.BMa=function(){return[]};_.g.HO=function(a){var b=this;return this.O.then(function(c){return void c.HO(a,b.tk())})};_.g.removeItem=function(){};
var gP=function(a,b){_.si.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(gP,_.si);var Sad=function(a){return!a.O||""!==a.pageToken};gP.prototype.Yg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Sad(this)?Tad(this):_.Ph()};
var Tad=function(a){a.O=!0;a.H=!0;var b=a.Dia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Uad(a,c)},function(c){return a.handleError(c)})},Uad=function(a,b){a.H=!1;a.pageToken=a.Qka(b);b=a.dka(b);b.forEach(function(c){return a.data.push(c)});a.v6(b);return a.data.length<a.limit&&Sad(a)?_.Rh([_.Ph(b),Tad(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
gP.prototype.handleError=function(a){this.H=!1;a=_.JL(a);var b=new TO(a);this.CMa(b);this.dispatchEvent(b);return _.Qh(a)};gP.prototype.v6=function(){};gP.prototype.CMa=function(){};var Vad=function(a,b,c){gP.call(this,c,function(d){return a.then(function(e){return e.Ve(d)}).Sg(function(e){return void _.WL(e)})});this.V=b};_.L(Vad,gP);_.g=Vad.prototype;_.g.Dia=function(a,b,c){a=a.clone();a.wi(b);return new _.oVc(a,c)};_.g.Qka=function(a){return a.pageToken||""};_.g.dka=function(a){return a.response.O()};
_.g.v6=function(a){this.V.zD(a,!1,1)};_.g.CMa=function(a){this.V.vB(this.request,a)};var Wad=function(a,b,c,d){fP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Wad,fP);_.g=Wad.prototype;_.g.refresh=function(){this.pA();this.H=new Vad(this.ha,this.W,this.request);return this.H.Yg(this.request.Li()||100)};_.g.Qq=function(a){return this.data.find(function(b){return Oad(b.getName(),a)})};
_.g.Tfa=function(a){this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};_.g.tk=function(){var a=this,b=F6c((new vO).Cc(this.status),this.data.filter(function(c){return a.W.hDa(c)}).map(function(c){return c.clone()}));return new _.tN(b,void 0,void 0,this.We())};_.g.zD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Ic()===d.request.Ic()});return fP.prototype.zD.call(this,a,b,c)};
_.g.Nu=function(a,b){b=void 0===b?1:b;if(!n1c(Rad(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Oad(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.lI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return Oad(b.getName(),a)})&&(this.V.delete(this.Bka(a)),this.WX())};_.g.Bka=function(a){return Nad(a)};_.g.lI=function(a,b){this.Qq(a)&&fP.prototype.lI.call(this,a,b)};
_.g.BMa=function(a){var b=this;return a instanceof _.GM&&a.Ic()===this.request.Ic()?a.UV().map(function(c){return b.Qq(c.en())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var hP=function(){this.H=new Map};hP.prototype.Zh=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Fia(b),this.H.set(c,d));d.Zh(a);return e};var Xad=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.hxa(c),a.H.set(d,e));e.Zh(b);return f};
hP.prototype.ik=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.ik(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Yad=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ik(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Zad=function(a,b){return a.H.get(b)};hP.prototype.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.hDa(f)});this.H.forEach(function(f){f.zD(e,b,c)})};hP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var $ad=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.BMa(b)});return[].concat.apply([],_.nd(a))};hP.prototype.lI=function(a,b){this.H.forEach(function(c){c.lI(a,b)})};hP.prototype.hDa=function(){return!0};hP.prototype.vB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.VX(b)};hP.prototype.a3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Fia(b),f.kj(c),this.H.set(e,f),this.zD(a,d))};var abd=function(){this.V=new Set;this.O=0;this.H=[]},bbd=function(a,b){a.V.add(b)};
abd.prototype.W=function(a){this.V.delete(a)};var cbd=function(a,b){var c;if(c=b instanceof _.Wk)c=b.Vv(),c=!!(b.Sh()&&c&&c<=Math.max.apply(Math,_.nd([a.O].concat(_.nd(a.H)))));if(c)return!0;b=b instanceof _.Wk?b.getId():b;return a.V.has(b)},dbd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};abd.prototype.n9=function(a){var b=this;return a.filter(function(c){return!cbd(b,c)})};var ebd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new abd};_.L(ebd,hP);
var fbd=function(a,b){bbd(a.O,Pad(b));(a=Zad(a,b.Ic()))&&a.WX()};_.g=ebd.prototype;_.g.getKey=function(a){return a.Ic()};_.g.Fia=function(a){return new Wad(this.V,this.W,this,a)};_.g.hxa=function(a){return new Wad(this.V,this.W,this,a)};_.g.Zo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Zad(this,b.getId()))&&b.refresh()};_.g.hDa=function(a){return!cbd(this.O,Pad(a))};
var gbd=function(a,b){this.O=a;this.H=b},hbd=function(a,b){b=_.dUb(b);var c=new Vad(a.O,a.H,b);new Promise(function(d,e){return c.Yg(100).then(d,e)})},ibd=function(){this.Od={}},iP=function(a,b){jbd(a,"subscribed");b&&jbd(a,b);return a.Od[b||"subscribed"].ne.promise},jbd=function(a,b){a.Od[b]||(a.Od[b]={count:0,QR:[],V1a:[],ne:_.Sh()});a.Od[b].count++},lbd=function(a,b){b&&!kbd(a,b)||kbd(a,"subscribed")},kbd=function(a,b){if(!a.Od[b])return!1;a.Od[b].count--;0===a.Od[b].count&&(a.Od[b].ne.resolve({items:a.Od[b].QR,
pLb:a.Od[b].V1a}),_.Xa(a.Od,b));return!0};ibd.prototype.Zo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Ic()&&c.Od[f]&&c.Od[f].V1a.push(e);c.Od[d]&&c.Od[d].QR.push(e)})};var mbd=function(a,b,c){gP.call(this,a,c);this.V=b};_.L(mbd,gP);mbd.prototype.Dia=function(a,b){return a.clone().wi(b)};mbd.prototype.Qka=function(){return""};mbd.prototype.dka=function(a){return[a]};mbd.prototype.v6=function(a){this.V(a)};
var nbd=function(a,b,c,d){fP.call(this,a,d.clone());this.ha=b;this.H=this.iT=null;this.W=c};_.L(nbd,fP);nbd.prototype.refresh=function(){var a=this;this.pA();this.H=new mbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ve(b)})});return this.H.Yg(this.request.Li()||0)};nbd.prototype.Tfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};
nbd.prototype.tk=function(){if(this.iT)return this.iT;var a=new GO;a.Cc(this.status);return a};nbd.prototype.Nu=function(a){this.iT=a;return!0};var obd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(obd,hP);_.g=obd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Fia=function(a){var b=this;return new nbd(this.O,this.W,function(c){b.zD(c,!1)},a)};_.g.hxa=function(){throw Error("gf");};
_.g.a3=function(a,b,c,d){var e=a[0].nl();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.qq()}).join(", "));hP.prototype.a3.call(this,a,b,c,d)};var jP=function(a,b,c,d){_.si.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.ne=null;this.O=new Set};_.L(jP,_.si);
jP.prototype.Yg=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.Sh();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Ve(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.ne.promise};jP.prototype.va=function(a,b){this.V(b);pbd(this,a)};var pbd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.ne.resolve()):a.dispatchEvent("Cb")};
jP.prototype.handleError=function(a,b){b=_.UA(b);var c=b.Qg;5===c.nt()||4===c.Fk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),pbd(this,a)):(a=new TO(c,_.Lj(this.oa.Yf(),1,1)),this.dispatchEvent(a),this.ne.reject(b))};var qbd=function(a){var b=new _.KF;b.Pb(a);return b},rbd=function(a,b,c,d,e){jP.call(this,a.clone(),c,d,e);this.H=b};_.L(rbd,jP);
rbd.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.lTb(a.clone(),[c]);b.set(c,d)});return b};rbd.prototype.V=function(a){var b=[];a.hU().forEach(function(c){b.push(c)});this.H(b,!0)};rbd.prototype.ha=function(){this.H([],!1)};rbd.prototype.ka=function(a){this.H([qbd(a)],!0)};var sbd=function(a,b,c,d,e,f){fP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Yk={};this.H=null};_.L(sbd,fP);
sbd.prototype.refresh=function(){this.H=new rbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Yg()};sbd.prototype.Tfa=function(){this.H||this.refresh()};sbd.prototype.tk=function(){var a=new _.rN;a.Cc(this.status);_.Ma(this.Yk,function(b,c){a.hU().set(c,b||new _.KF)});a.kj(this.We());return a};sbd.prototype.Nu=function(a){var b=a.getId();if(_.ik(a,qbd(a.getId()))){if(this.Yk[b])return delete this.Yk[b],!0}else if(0<=this.request.jn().indexOf(b))return this.Yk[b]=a,!0;return!1};
var tbd=function(a,b){a=a.getState();return null==a||b.getState()==a},ubd=function(a,b,c){gP.call(this,a,c);this.V=b};_.L(ubd,gP);ubd.prototype.Dia=function(a,b,c){a=a.clone();a.wi(b);return new _.BVc(a,c)};ubd.prototype.Qka=function(a){return a.pageToken||""};ubd.prototype.dka=function(a){return a.response.nl()};ubd.prototype.v6=function(a){this.V(a)};var vbd=function(a){this.H=_.GRc(a,{numeric:!0})};
vbd.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};vbd.prototype.V=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!==e?f=_.Fa(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};var wbd=function(a,b,c,d,e){fP.call(this,a,e.clone());this.ha=b;this.Yk=[];this.H=null;this.W=d;a=new vbd(c);b=(c=this.request.yw())?c.getType():0;c=c?c.Bf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(wbd,fP);wbd.prototype.refresh=function(){var a=this;this.pA();this.H=new ubd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ve(b)})});return this.H.Yg(this.request.Li()||0)};wbd.prototype.Tfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};wbd.prototype.tk=function(){var a=new WO;a.Cc(this.status);y$c(a,this.Yk.map(function(b){return b.clone()}));return new _.wN(a,void 0,1!==this.status&&Sad(this.H),this.We())};
wbd.prototype.Nu=function(a){var b=_.wa(this.Yk,function(c){return c.getId()===a.getId()});return a&&tbd(this.request,a)&&!_.ik(a,qbd(a.getId()))?O0c(this.Yk,a,this.ka):b};var xbd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(xbd,hP);_.g=xbd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.Fia=function(a){var b=this;return new wbd(this.V,this.ha,iO(_.vL(this.O)),function(c){return void b.zD(c,!1)},a)};_.g.hxa=function(a){var b=this;return new sbd(this.V,this.ha,this.O,this.W,function(c,d){return b.zD(c,d)},a)};_.g.a3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));hP.prototype.a3.call(this,a,b,c,d)};
var ybd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();VN(a)&&(c=(c=a.Of())?_.C(c,3):"");WN(a)&&(a.Ti()&&(c+="+"+String(a.Ti())),a.Hj()&&(c+="+shared"));return _.ZSa(c,b?"32":"16")},zbd=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("&")},Abd=function(a,b){var c=_.R(a,44),d=a.Of();if(d){if(1!==_.Vd(d))return null;c=(c=_.Td(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();VN(a)&&(d=f1c(a));
d=[_.F(b,65,"https://lh3.google.com"),"u",_.KL(_.vL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.Q(a,140)&&(c.resourcekey=_.cl(a));return d=zbd(d,c)},Bbd=function(a){this.H=a},Dbd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=ybd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.vWc(b,U1c(b,a.H));c.includes(19)&&(d=Abd(b,a.H),_.A(b,20,d));Cbd(a,b,c);if(VN(b)){if(d=(d=b.Of())&&_.Td(d)){if(c.includes(20)&&c.includes(3)){var e=ybd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.vWc(d,U1c(d,
a.H));c.includes(19)&&(e=Abd(d,a.H),_.A(d,20,e));Cbd(a,d,c)}_.zWc(b,!!b.Vx())}},Cbd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!WN(b)&&!VN(b)&&!_.Dd(e)&&(!b.o7()||2!==b.wp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),VN(b)&&(d=f1c(b)),c=new _.aj(_.F(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.KL(_.vL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.Q(b,140)&&_.ij(c,"resourcekey",_.cl(b)),_.A(b,41,c.toString())))}},Ebd=function(a,b){this.Nia="";
this.startTime=b||new Date;this.nea=a;this.iaa=Q0c(a)};Ebd.prototype.clone=function(){return new Ebd(this.nea,this.startTime)};var Fbd=function(){this.H=null;this.NY=[]},Gbd=function(a){return _.Bb(a.NY,function(b){return _.$a(b)})};Fbd.prototype.BN=function(){return this.H};
Fbd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new G$c;e.V=F$c(d.iaa);var f=_.Rg().substring(0,8);d=Q0c(f);f=(new f$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).xi(c);this.NY.push(b);e.O=F$c(d);e.H=D$c(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.jk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.kk(d,1,1);var k=d.O;D2c(k,f);D2c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.kk(d,2,1),k=d.O,D2c(k,f),D2c(k,h));f=e.W;null!=f&&(_.kk(d,3,5),D2c(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.kk(d,4,1),h=d.O,D2c(h,f),D2c(h,e));e=_.lk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Hbd=function(){this.Cb=[];this.O=this.H=0};Hbd.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Cb,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.O=c};
var Ibd=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Cb,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.O=e},Jbd=function(a){this.key=a;this.H=new _.GUc;this.O=new _.EUc(new _.GUc,_.ima(a))};Jbd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.jma(b);c=Kbd(this,a);return b.concat(c,Lbd(this,b,a,!0))};
var Mbd=function(a,b){var c=Lbd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Kbd(a,c);if(b!==a)throw Error("hf");return c},Kbd=function(a,b){a=_.FUc(a.O,_.YUc(b));return _.jma(a)},Lbd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Hbd;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Cb,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.YUc(c.substring(8192*
e,8192*(e+1))),Ibd(b,a),d+=_.jma(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.n.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;Ibd(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("jf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=Nbd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Nbd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=Nbd(d,e++),k=Nbd(d,e++),l=Nbd(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=Nbd(d,e++),k=Nbd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Nbd=function(a,b){return a[Math.floor(b/8192)][b%8192]},Obd=function(a,b,c){this.data=a;this.BZa=b;this.H=c;this.isEncrypted=!1};Obd.prototype.getData=function(){return this.data};
Obd.prototype.Pm=function(){return this.BZa};var Pbd=function(a,b,c,d){this.O=a;this.H=_.Sh();this.Ep=!1;this.V=_.F(b,7,"");this.W=_.Lj(_.jO(b),6,2E7);this.MG=_.BL(b);this.ha=_.Lj(_.jO(b),12,0);this.ka=c;this.Dd=d||null};Pbd.prototype.initialize=function(){var a=this;this.Ep||(this.Ep=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
Pbd.prototype.cD=function(a){if(a instanceof _.TA)return 0;if(a instanceof UO)return 1;if(a instanceof w5c)return 5;if(a instanceof IO)return 3;if(a instanceof u$c)return 6;throw new _.nc("Unsupported dataShard in getDataType");};var Qbd=function(a){if(0==a)return _.TA;if(1==a)return UO;if(5==a)return w5c;if(3==a)return IO;if(6==a)return u$c;throw new _.nc("Unsupported dataType:"+a+" in getDataTypeCtor");};Pbd.prototype.Bo=function(a){if(a instanceof IO)return a.Bo()};
Pbd.prototype.Pm=function(a){if(a instanceof IO)return a.Gd().length};
var Vbd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.cD(c[0]);c.forEach(function(){});var f=a.Bo(c[0]),h=0;3==e&&Rbd(a,c);var k=!!b;return Sbd(a,c).then(function(l){if(k){var p=a.Dd?a.Dd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Pm()},0);var q=Tbd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.Qh(Error("kf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(J4c(I4c(H4c(p.aF(),_.oN(_.jUc,e)),_.oN(_.gUc,f)),!0),
q.then(function(){var r=h;G4c(p.aF(),!0).Gt(r);p.Yj()},function(){var r=h;G4c(p.aF(),!1).Gt(r);p.Yj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Ubd(a.O,l,e,f,k,d)})})},Sbd=function(a,b){return new _.Oh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Zb();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Pm(l);l instanceof IO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new Obd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.mc;_.HL(k,2);_.TL(k,23);
_.A(k,21,h.message);_.Vp(k);a.ka(k);d(h)}c(f)})},Rbd=function(a,b){a.Bo(b[0]);b.forEach(function(){});a.MG||Wbd(b);Xbd(a,b)},kP=function(a,b,c,d,e,f){var h=_.Sh(),k;_.Th(a.H.promise.then(function(){return Ybd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.Wh;if(l[0]&&l[0].Z0){if(k=a.Dd?a.Dd.H(106022,f):null)J4c(I4c(H4c(k.aF(),_.oN(_.jUc,c)),_.oN(_.gUc,d)),!0),q.An().then(function(r){var u=k;r=void 0!=r;G4c(u.aF(),r);_.$Xc(u)});Zbd(a,q,b,p)}else q.callback(p);return q.then()},
function(){}).then(function(l){var p=[];if(l){var q=0;l.forEach(function(r){r=new (Qbd(c))(JSON.parse(r));q+=a.Pm(r);p.push(r)});3==c&&(a.MG||$bd(p),acd(p));k&&k.aF().Gt(q)}h.resolve(p)}),function(){k&&k.Yj()}).Sg(h.reject,h);return h.promise},Wbd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.ck(a[b],_.Dk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Gd()||[]).forEach(function(h){_.tWc(h,bcd(_.Xk(h),c,d));_.uWc(h,bcd([h.Bm()],c,d)[0]);var k=bcd([h.Uv()],c,d)[0];_.x(h,
47,k);k=bcd([h.Tq()],c,d)[0];_.x(h,91,k);k=bcd([h.sD()],c,d)[0];_.x(h,95,k);if(h=h.$w())_.pWc(h,bcd(h.uR(),c,d)),_.qWc(h,bcd(_.ck(h,_.Dk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Cb(a[0],2,e)}},bcd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.ik(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Dk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},$bd=function(a){var b=new Map,c=new Map;a[0]&&_.ck(a[0],
_.Dk,2)&&_.ck(a[0],_.Dk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Dk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Gd()||[]).forEach(function(e){_.tWc(e,ccd(_.Xk(e),b,c));_.uWc(e,ccd([e.Bm()],b,c)[0]);var f=ccd([e.Uv()],b,c)[0];_.x(e,47,f);f=ccd([e.Tq()],b,c)[0];_.x(e,91,f);f=ccd([e.sD()],b,c)[0];_.x(e,95,f);if(e=e.$w())_.pWc(e,ccd(e.uR(),b,c)),_.qWc(e,ccd(_.ck(e,_.Dk,3),b,c))});_.Sj(d,2)})},ccd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.ik(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Xbd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].Bo()){for(var d=[],e=b[c].Gd();e.length>a;){var f=_.Ba(e,a-1,a);f=H8c(new IO,f);d.push(f)}H8c(b[c],e);d.length&&_.tb(_.Ba,b,c+1,0).apply(null,d)}}},acd=function(a){for(var b={},c=1;c<a.length;b={Pea:b.Pea},c++)if(!a[c].Bo()){for(var d=0,e=c;e<a.length&&!a[e].Bo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.Pea=e.Gd();d.forEach(function(f){return function(h){_.za(f.Pea,
h.Gd())}}(b));H8c(e,b.Pea)}},Tbd=function(a,b,c){if(!_.oUc()&&a.V){var d=new Worker(_.zga(_.Vx(a.V)),void 0),e=new _.Wh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Pd(Error(String(k)))},!1);c=B$c(new A$c,c);d.postMessage({command:"encrypt",data:{request:c.Zb(),key:b}});return e}try{a=[];var f=new Jbd(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Zh(a)}catch(k){h=_.ai(k)}return h},Zbd=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(!_.oUc()&&a.V){var f=new Worker(_.zga(_.Vx(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 Jbd(c);for(c=0;c<d.length;c++)a.push(Mbd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},dcd=function(a,b,c){return[a.Wz(),
a.clientId,b?"#":lP(a)].join(":")+":"+(c||"")},ecd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};ecd.prototype.getKey=function(){return this.key};ecd.prototype.Xa=function(){return this.value};
var fcd=function(a,b){a=dcd(a,b);return n8c(a+"A",a+"z")},gcd=function(a,b){this.H=a;this.O=b},hcd=function(a){return a?new gcd(a.versionKey,a.versionChangeTimestamp):null},icd=function(a,b){return a+":"+b},jcd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.Z0=void 0===e?null:e},kcd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.Z0}},lcd=function(a,b,c,d){a=lP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.lt(":%02d",c)},mcd=function(a,b,
c,d){c=lcd(a,b,void 0===c?0:c,d);a=lP(a)+"_"+b;3===b&&(a+="_"+d);return n8c(c,a+":a")},ncd=function(a){var b=lP(a)+"_";a=lP(a)+"_A";return n8c(b,a)},ocd=function(a){return a?new jcd(a.data,a.index,a.size,a.timestamp,a.e):null},pcd=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.ya(e);_.Ha(this.fields);_.Ea(this.fields);this.H=f};pcd.prototype.Wz=function(){return this.userId};
pcd.prototype.Mg=function(){return _.ya(this.fields)};
var lP=function(a){if(!a.O){var b=new _.nL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.aSc(b.digest())}return a.O},qcd=function(a){return{versionKey:lP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},rcd=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 pcd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:lP(a)!==d&&(a=null);return a},mP=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Dd=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Oa=a.then(function(f){e.version=f});this.Lb=new _.He(this);this.Ma(this.Lb)};_.L(mP,_.N);mP.prototype.initialize=function(){return scd(this)};
var scd=function(a,b){a.V||(a.V=_.Sh(),a.Oa.then(function(){b?(a.va=!1,tcd(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)"),_.SSc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Sf(a.Ja.bind(a),a.oa.bind(a)),_.wi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.nc("Database version error",void 0,_.AL(c)?c:void 0))}));return a.V.promise},tcd=function(a,b){a.H=b;a.Lb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Lb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};mP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.QWc(b,c)});_.Ma(_.RL,function(c){var d=_.KUc.get(c);_.PSc(b,c,d?{keyPath:d}:void 0)})};
mP.prototype.oa=function(a){var b;a&&a instanceof _.qL&&"InvalidStateError"==a.getName()&&_.nj.Uw?b=Error("mf"):_.AL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);ucd(this,!1)};mP.prototype.Ja=function(a){this.ka?a.dispose():(tcd(this,a),this.Ma(this.H),this.readOnly||vcd(this).Sg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),ucd(this,!0))};
var ucd=function(a,b){if(a.ma){var c=a.ma,d=_.E(_.nN(c),B4c,5);d||(d=new B4c,c=_.nN(c),_.x(c,5,d));d=_.A(d,1,2);c=a.Ci().W;d=_.A(d,2,c);c=a.Ci().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Ci().ma;_.A(b,6,d);a.ma.Yj();a.ma=null}};mP.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};mP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};mP.prototype.Jf=function(){return this.ka};
var wcd=function(a){return a.ka?a.O:null};mP.prototype.Ci=function(){return this.version};
var nP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.QSc(a,[b],c)}catch(d){return null}},vcd=function(a){var b=_.RL.N_,c=nP(a,b,"readwrite");if(!c)return _.Qh(Error("of"));c.objectStore(b).put(qcd(a.Ci()));return c.wait().then(function(){})},xcd=function(a){if(!a.H)return _.Qh(Error("pf"));if(a.Jf())return _.Qh(Error(a.O));var b=_.RL.N_,c=nP(a,b,"readwrite");return c?c.objectStore(b).remove(lP(a.Ci())).then():_.Qh(Error("qf"))},ycd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=ocd(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("rf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("sf")),0;var e=d[0].size;if(!e)return b.reject(Error("tf")),0;if(e>d.length)return b.reject(Error("uf`"+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("vf`"+e)),0;if(c&&a<c)return b.reject(Error("wf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},Ybd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Qh(Error("xf"));if(a.Jf())return _.Qh(Error(a.O));var e=mcd(a.Ci(),b,0,c),f=_.RL.i6,h=nP(a,f);if(!h)return _.Qh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Sh();e.Sf(function(l){l=ycd(l,k,d);a.readOnly||null==l||zcd(a,b,c,l).Sg(function(){})},k.reject);return k.promise},Ubd=function(a,b,c,d,e,f){if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.Qh(Error("zf"))}else return _.Qh(Error("Af"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:lcd(a.Ci(),c,u,d),data:new jcd(r.getData(),u,k,h,e),metadata:r}});var l=_.RL.i6,p=nP(a,l,"readwrite");if(!p)return _.Qh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=Acd(a,c,d,r.metadata,f);q.put(kcd(r.data),r.key).then(function(){u&&(G4c(u.aF(),!0),u.Yj())},function(y){var z=y instanceof _.qL?y.code:_.rSc;u&&a.W&&(y=G4c(u.aF(),!1),z=_.oN(_.kUc,z),_.A(y,2,z),u.Yj())})});return p.wait().then(function(){})},Acd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=I4c(H4c(a.aF(),_.oN(_.jUc,b)),_.oN(_.gUc,c)),f=f.Bo(d.H),f=_.A(b,5,f),J4c(f,d.isEncrypted),void 0!=d.Pm()&&a.aF().Gt(d.Pm());return a}return null},zcd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(3==b&&void 0==c)return _.Qh(Error("Cf"))}else return _.Qh(Error("Df"));b=mcd(a.Ci(),b,d,c);c=_.RL.i6;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},Bcd=
function(a){if(!a.H)return _.Qh(Error("Ff"));if(a.Jf())return _.Qh(Error(a.O));var b=ncd(a.Ci()),c=_.RL.i6;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
mP.prototype.getMetadata=function(a){if(this.H){if(this.Jf())return _.Qh(Error(this.O));if(a&&0==a.length)return _.Qh(Error("Hf"))}else return _.Qh(Error("If"));var b=this.Ci(),c=_.RL.s7,d=nP(this,c);if(!d)return _.Qh(Error("Jf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(dcd(b,k.global,k.key)).then())});a=_.Rh(f)}else a=_.Rh([e.getAll(fcd(b,!1)).then(),e.getAll(fcd(b,!0)).then()]).then(function(k){return N0c(k[0],k[1])});var h=_.Sh();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==lP(b)||p[0]!==b.Wz()||p[1]!==String(b.clientId)?null:new ecd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var Ccd=function(a,b){if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(0==b.length)return _.Qh(Error("Kf"))}else return _.Qh(Error("Lf"));var c=_.RL.s7,d=nP(a,c,"readwrite");if(!d)return _.Qh(Error("Mf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Ci();h={k:dcd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Rh(f).then(function(){})},Dcd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Jf())return _.Qh(Error(a.O))}else return _.Qh(Error("Of"));var c=a.Ci(),
d=_.RL.s7;a=nP(a,d,"readwrite");if(!a)return _.Qh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(fcd(c,!1)).then());b&&a.push(d.remove(fcd(c,!0)).then());return _.Rh(a).then(function(){})},Ecd=function(a){if(!a.H)return _.Qh(Error("Qf"));if(a.Jf())return _.Qh(Error(a.O));var b=icd(a.Ci().Wz(),a.Ci().clientId),c=_.RL.FU;return(a=nP(a,c))?a.objectStore(c).get(b).then(function(d){return hcd(d)}):_.Qh(Error("Rf"))},Fcd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Qh(Error("Sf"));if(a.Jf())return _.Qh(Error(a.O));
var c=a.Ci(),d=icd(c.Wz(),c.clientId);b=new gcd(lP(c),b?Date.now():void 0);c=_.RL.FU;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Tf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
mP.prototype.Kl=function(a){var b=this;return this.H?this.Jf()?_.Qh(Error(this.O)):Ecd(this).then(function(c){var d=lP(b.Ci());if(c)if(a){if(!c.O&&d==c.H&&d!=lP(a))return Fcd(b,!0);if(c.O&&d==lP(a))return Fcd(b)}else{if(d!=c.H)return Fcd(b)}else if(!a)return Fcd(b)}):_.Qh(Error("Uf"))};var Gcd=function(a){if(!a.H)return _.Qh(Error("Vf"));if(a.Jf())return _.Qh(Error(a.O));var b=a.Ci(),c=icd(b.Wz(),b.clientId);return Ecd(a).then(function(d){if(d){d=_.RL.FU;var e=nP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
mP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.Qh(Error(this.O)):Ecd(this).then(function(c){var d=c&&c.H==lP(b.Ci());return d&&!a?!1:(c&&d?Gcd(b):_.Ph()).then(function(){return _.Rh([Dcd(b,a),Bcd(b),xcd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Qh(Error("Wf"))};mP.prototype.close=function(){this.ha("Closing database")};mP.prototype.log=function(a){this.Dd.info("drive.ds.sync.storage.VersionedDb",a)};
var Hcd=function(a){if(1>=a.Ci())return!1;var b=a.H.objectStoreNames;return _.Sa(_.RL).every(function(c){return b&&b.contains(c)})},Icd=function(){var a=_.Sh();_.SSc("GoogleDriveDs").Sf(function(b){b?Hcd(b)?a.resolve(b):(b.close(),_.Th(o8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},Jcd=function(a,b,c){var d=_.Sh();a?_.QSc(a,[_.RL.N_],"readonly").objectStore(_.RL.N_).getAll().Sf(function(e){e=_.Sa(e).map(function(f){return rcd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Wz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Kcd=function(a,b,c){var d=_.Sh();Icd().then(function(e){if(e){var f=_.RL.FU;_.QSc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return hcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.RL.N_,p=_.QSc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=rcd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Uja(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},Lcd=function(a,b,c){var d=_.Sh(),e=new mP(_.Ph(a),b);scd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Mcd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Lcd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Rh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+lP(l)))});d.resolve(k)})},Ncd=function(a,b,c){var d=Date.now()-12096E5,e=_.Sh();Icd().then(function(f){f?(_.Th(e.promise,function(){f.close()}),Jcd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Mcd(h,c,f,e)})):e.resolve([])});return e.promise},Ocd=function(a,b,c){var d=_.Sh();Icd().then(function(e){e?(_.Th(d.promise,function(){e.close()}),
Jcd(e,a,b).then(function(f){Mcd(f,c,e,d,!0)})):d.resolve([])});return d.promise},Pcd=function(a,b,c,d){if(a.length){var e=_.RL.i6,f=a.shift(),h=lcd(f,3,0,1);try{_.QSc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=ocd(k))&&(!k.Z0||k.Z0&&d.has(f.V))?b.resolve(f):Pcd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Qcd=function(a,b,c,d,e,f,h){var k=_.Sh();Icd().then(function(l){l?(_.Th(k.promise,function(){l.close()}),Jcd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=lP(q))&&q.W==c&&q.H>=e&&e1c(d.filter(function(r){return!_.LUc.has(r)}),q.Mg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Pcd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Rcd={key:"rid",global:!0},Scd={key:"ooi",global:!0},Tcd={key:"rtds",global:!1},Ucd={key:"dct",global:!1},Vcd={key:"pc",global:!1},Wcd=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Wcd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Jf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Xa():void 0},function(){})})};Wcd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?Ccd(c,[new ecd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Wcd.prototype.$n=function(){return this.get(Rcd).then(function(a){return a?a:null})};Wcd.prototype.Iu=function(a){return this.set(Rcd,a)};
var Xcd=function(a){return a.get(Scd).then(function(b){return"boolean"===typeof b?b:null})};Wcd.prototype.Wy=function(a){return this.set(Scd,a)};var Ycd=function(a){return a.get(Vcd).then(function(b){return"boolean"===typeof b?b:null})},Zcd=function(a){return a.get(Tcd).then(function(b){return Array.isArray(b)?b:null})},$cd=function(a){return a.get(Ucd).then(function(b){return"number"===typeof b?b:null})},add=function(){this.jj=[]};_.L(add,_.DN);
add.prototype.add=function(a,b){var c=a.Cv.request;return c instanceof _.KM&&_.C(c.request,12)?_.DN.prototype.add.call(this,a,b):!1};add.prototype.Ssa=function(a){return this.jj.splice(0,Math.min(a,1))};var bdd=function(a,b){this.jj=[];this.H=b};_.L(bdd,_.DN);bdd.prototype.add=function(a,b){return a.Cv.request instanceof _.KM?!1:_.DN.prototype.add.call(this,a,b)};
bdd.prototype.Ssa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.jj.length&&b.length<a;f++){var h=this.jj[f],k=h.Cv.request;k instanceof _.eM||k instanceof _.qM||k instanceof _.FM?k="app|"+k.Ah():k instanceof _.$L||k instanceof _.aM||k instanceof _.gM||k instanceof _.ML?k="item|"+(k instanceof _.$L?k.Ic():k.getId()):k instanceof _.hM||k instanceof _.rM?k="item|"+k.Ic():k instanceof _.iM||k instanceof _.HM?k="item|"+k.Ic():k instanceof _.fD||k instanceof _.eD?(k=k instanceof _.fD?_.E(k,_.bp,1).getKey():
k.getKey(),k="pref|"+_.C(k,2)+"|"+_.cp(k)):k=k instanceof _.jM?"td|"+k.getId():null;var l=h.Cv.request;if(l instanceof _.cM)l=!!_.R(l,8);else if(l instanceof _.aM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.pbb.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++)_.ta(this.jj,c[a]);return b};
cdd=function(a,b,c,d,e,f,h,k,l){a=a.Yf();h=new _.QZc(k,h,d,_.Lj(a,32,1073741824),_.Lj(a,21,1E3));h=new _.RZc(h);k=new _.pZc(_.Lj(a,59,2E3),_.Lj(a,60,2E4),_.Lj(a,61,6));c=new _.nZc(l?l:c,l?void 0:e);e={};e[1]=_.TZc(b,d);e[2]=_.UZc(b,a,k,c,d);e[3]=_.VZc(b,a,k,c,d,"batch");l=_.Lj(a,10,50);f=new _.FN(d,b,[_.oZc(c),new _.sZc(l,_.Lj(a,11,100)),new _.EN(l),new _.CN(k,d)],[new bdd(a,f),new add,new _.DN],[new _.BZc(a,k,c.Ij(),d)],"mutation");return e[4]=f,e[5]=_.WZc(h,a,d),e[6]=_.VZc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.VZc(b,a,k,c,d,"xd4_batch"),e[8]=_.VZc(b,a,k,c,d,"xd4_batch_one",1),e};ddd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};edd=function(a){var b={};return b.parentId=a.Ik(),b};fdd=function(a){var b={};_.ee(_.Qg(a.getTitle()))||(b.title=a.getTitle());_.h0c(b,_.Pd(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
gdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};hdd=function(a){var b={};b.sourceIds=_.Pd(a.request,1);b.destinationFolderId=_.C(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
idd=function(a){var b={},c={};_.ee(_.Qg(a.getTitle()))||(b.title=a.getTitle());null!=a.Se()&&(b.description=a.Se());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Sh()&&(c.trashed=a.Sh());_.ee(_.Qg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.OWc(_.NXc(_.C(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Qa(c)&&(b.labels=c);null!=a.Ti()&&(b.folderColor=a.Ti());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.E(a,_.Tk,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.C(c,2)&&(d.reason=_.C(c,2));b.contentRestrictions.push(d)}_.h0c(b,_.Pd(a,8));return b};jdd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
kdd=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.C(a,3))b.backgroundImageId=_.C(a,3);else{var c=_.C(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Og)("0",6-c.length)+c);c=_.E(a,_.u4c,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.C(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.C(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Pe())&&(a.width=c);b.backgroundImageFile=a}}return b};
ldd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.k0c[a.getState()])&&(b.state=a);return b};_.mdd=function(a){_.P(this,a,-1,null,null)};_.L(_.mdd,_.K);_.mdd.prototype.O=function(){return _.C(this,1)};var ndd=function(a){_.P(this,a,-1,null,null)};_.L(ndd,_.K);ndd.prototype.O=function(){return _.R(this,1)};ndd.prototype.V=function(){return _.C(this,2)};_.oP=function(a){_.P(this,a,-1,null,null)};_.L(_.oP,_.K);_.g=_.oP.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Usa=function(){return _.C(this,3)};_.g.fz=function(){return _.C(this,4)};_.g.N$=function(){return _.E(this,ndd,6)};_.g.wsb=function(){return _.E(this,_.mdd,7)};_.g.sVa=function(){return _.C(this,8)};_.g.Tsa=function(){return _.R(this,9)};_.pP=function(a){_.P(this,a,-1,null,null)};_.L(_.pP,_.K);_.g=_.pP.prototype;
_.g.getType=function(){return _.C(this,1)};_.g.getId=function(){return _.C(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Ld=function(){return _.C(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.pab=function(){return _.C(this,6)};_.odd=function(a,b){return _.A(a,6,b)};_.pP.prototype.Se=function(){return _.C(this,8)};_.pP.prototype.um=function(a){return _.A(this,8,a)};
_.pP.prototype.O=function(){return _.R(this,9)};_.qP=function(a,b,c,d,e,f){_.si.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=W1c(new _.QN,[1]);this.limit=e.Li();this.Re=0;_.ze(this,function(){h.O=!1;h.H=[]})};_.L(_.qP,_.si);_.g=_.qP.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.oa(this.items)&&6===this.Bb()&&this.Sj()||pdd(this)};_.g.yd=function(){return this.request};_.g.Li=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.ka};_.g.Sj=function(){return this.ha};_.g.ms=function(){var a=_.URc().Lz(this.H,this.items),b=(new _.gSc).Cc(this.Bb());a=_.Cb(b,2,a);this.H=this.items;return a};_.g.Lr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Ni(),this.limit))};
var qdd=function(a,b){return a.Bb()!==b.Bb()||kO(_.URc(),a.items,b.Gd())},rdd=function(a,b){a.items=b.Gd();a.status=b.Bb();_.BL(a.Ba)&&(a.ka=X1c(a.status,a.items));a.ha=b.kl();a.Re=b.We()};_.qP.prototype.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.qP.prototype.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
_.qP.prototype.Cu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+PO(this.V,this.yd());return _.$h(this.va.then(function(d){return d.tMb(a,b,c.yd(),c.Li(),c.items)}))};
var pdd=function(a){a.isActive()&&(a.log("Livelist "+a.Ni()+" returning "+a.items.length+". Status: "+(_.ab(s5c)[a.Bb()]+". Datasource: ")+(_.ab(v6c)[a.Re]+". Query: ")+(PO(a.V,a.request)+" ")+Y1c(a.items)),sdd(a,a.items,a.request),a.dispatchEvent(new _.gi(_.Bc,a)))},sdd=function(a,b,c){if(_.sM(c))c="quick access";else if(_.tM(c))c="people predict";else if(_.uM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Ni()+" returning "+a.items.length+
" for "+(c+": "+b))};_.qP.prototype.refresh=function(){};_.qP.prototype.log=function(a){this.Fa.info(this.W,a)};var B2c=[90,59,75];_.t("sy1ly");
var tdd=function(a){_.P(this,a,-1,null,null)};_.L(tdd,_.K);
var udd=function(a){_.P(this,a,-1,null,null)};_.L(udd,_.K);udd.prototype.getType=function(){return _.C(this,1)};var vdd=function(a){var b=new udd;return _.A(b,1,a)},wdd=function(a,b){return _.x(a,2,b)};udd.prototype.wy=function(){return _.C(this,3)};udd.prototype.Xy=function(a){return _.A(this,3,a)};udd.prototype.Mi=function(){return _.C(this,4)};udd.prototype.setPosition=function(a){return _.A(this,4,a)};
var rP=function(a){_.P(this,a,-1,null,null)};_.L(rP,_.K);rP.prototype.getType=function(){return _.C(this,1)};var xdd=function(a){var b=new rP;return _.A(b,1,a)};rP.prototype.mn=function(){return _.E(this,FO,2)};var ydd=function(a,b){return _.x(a,2,b)};rP.prototype.wy=function(){return _.C(this,3)};rP.prototype.Xy=function(a){return _.A(this,3,a)};rP.prototype.Mi=function(){return _.C(this,4)};rP.prototype.setPosition=function(a){return _.A(this,4,a)};
var sP=function(a){_.P(this,a,-1,null,null)};_.L(sP,_.K);sP.prototype.getType=function(){return _.C(this,1)};var zdd=function(a){var b=new sP;return _.A(b,1,a)};sP.prototype.mn=function(){return _.E(this,_.KF,2)};var Add=function(a,b){return _.x(a,2,b)};sP.prototype.wy=function(){return _.C(this,3)};sP.prototype.Xy=function(a){return _.A(this,3,a)};sP.prototype.Mi=function(){return _.C(this,4)};sP.prototype.setPosition=function(a){return _.A(this,4,a)};
var Bdd=function(a){_.P(this,a,-1,null,null)};_.L(Bdd,_.K);Bdd.prototype.Bb=function(){return _.C(this,1)};Bdd.prototype.Cc=function(a){return _.A(this,1,a)};Bdd.prototype.Br=function(){return _.E(this,_.EO,2)};
var Ddd=function(a){_.P(this,a,-1,Cdd,null)};_.L(Ddd,_.K);Ddd.prototype.Bb=function(){return _.C(this,1)};Ddd.prototype.Cc=function(a){return _.A(this,1,a)};Ddd.prototype.$j=function(){return _.C(this,3)};var Cdd=[2];
var Edd=function(a){_.P(this,a,-1,null,null)};_.L(Edd,_.K);Edd.prototype.qd=function(){return _.E(this,mO,1)};Edd.prototype.Yn=function(){return _.C(this,2)};
var Fdd=function(a){_.P(this,a,-1,null,null)};_.L(Fdd,_.K);_.g=Fdd.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Br=function(){return _.E(this,_.EO,2)};_.g.$j=function(){return _.C(this,3)};_.g.Ah=function(){return _.C(this,4)};
var tP=function(a){_.P(this,a,-1,null,null)};_.L(tP,_.K);tP.prototype.Bb=function(){return _.C(this,1)};tP.prototype.Cc=function(a){return _.A(this,1,a)};tP.prototype.$j=function(){return _.C(this,3)};
var Gdd=function(a){_.P(this,a,-1,null,null)};_.L(Gdd,_.K);_.g=Gdd.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.$j=function(){return _.C(this,2)};_.g.GMa=function(){return _.E(this,_.bp,3)};_.g.getKey=function(){return _.E(this,_.Rb,4)};_.g.Bs=function(){return _.Q(this,4)};
var Idd=function(a){_.P(this,a,-1,null,Hdd)};_.L(Idd,_.K);Idd.prototype.getKey=function(){return _.C(this,1)};Idd.prototype.Bs=function(){return _.Q(this,1)};var Kdd=function(a){_.P(this,a,-1,Jdd,null)};_.L(Kdd,_.K);var Hdd=[[2,4,6,10],[3,5,7,8,9]],Jdd=[1];
var Ldd=function(a){_.P(this,a,-1,null,null)};_.L(Ldd,_.K);
var uP=function(a){_.P(this,a,-1,Mdd,null)};_.L(uP,_.K);uP.prototype.Bb=function(){return _.C(this,1)};uP.prototype.Cc=function(a){return _.A(this,1,a)};uP.prototype.O=function(){return _.ck(this,sO,2)};var Ndd=function(a,b){return _.Cb(a,2,b)};uP.prototype.$j=function(){return _.C(this,3)};var Mdd=[2];
var Odd=function(a){_.P(this,a,-1,null,null)};_.L(Odd,_.K);Odd.prototype.Bb=function(){return _.C(this,1)};Odd.prototype.Cc=function(a){return _.A(this,1,a)};Odd.prototype.O=function(){return _.E(this,sO,2)};Odd.prototype.$j=function(){return _.C(this,3)};
var Pdd=function(a){_.P(this,a,-1,null,null)};_.L(Pdd,_.K);Pdd.prototype.ty=function(){return _.C(this,2)};
var Rdd=function(a){_.P(this,a,-1,Qdd,null)};_.L(Rdd,_.K);Rdd.prototype.Bb=function(){return _.C(this,1)};Rdd.prototype.Cc=function(a){return _.A(this,1,a)};Rdd.prototype.rk=function(){return _.ck(this,_.PRc,2)};Rdd.prototype.sr=function(a,b){return _.ek(this,2,a,_.PRc,b)};var Qdd=[2];
var Tdd=function(a){_.P(this,a,-1,Sdd,null)};_.L(Tdd,_.K);Tdd.prototype.Bb=function(){return _.C(this,1)};Tdd.prototype.Cc=function(a){return _.A(this,1,a)};Tdd.prototype.nl=function(){return _.ck(this,rP,2)};var Sdd=[2];
_.Vdd=function(a){_.P(this,a,-1,Udd,null)};_.L(_.Vdd,_.K);var Udd=[1];
var vP=function(a){_.P(this,a,-1,Wdd,null)},Zdd,$dd;_.L(vP,_.K);vP.prototype.Yn=function(){return _.C(this,1)};var Xdd=function(a,b){return _.A(a,1,b)},Ydd=function(a,b){return _.A(a,2,b)};vP.prototype.Bb=function(){return _.C(this,3)};vP.prototype.Cc=function(a){return _.A(this,3,a)};Zdd=function(a,b){return _.A(a,4,b)};$dd=function(a,b){return _.Cb(a,5,b)};_.aed=function(a){_.P(this,a,-1,null,null)};_.L(_.aed,_.K);_.aed.prototype.jc=function(){return _.C(this,2)};
_.ced=function(a){_.P(this,a,-1,bed,null)};_.L(_.ced,_.K);var ded=function(a,b){return _.A(a,1,b)},eed=function(a,b){return _.A(a,2,b)},fed=function(a,b){return _.Cb(a,3,b)},Wdd=[5],bed=[3];
_.wP=function(a){_.P(this,a,-1,ged,null)};_.L(_.wP,_.K);_.wP.prototype.UV=function(){return _.ck(this,_.FF,2)};_.wP.prototype.we=function(){return _.E(this,_.of,3)};var ged=[1,2];
_.xP=function(a){_.P(this,a,-1,null,null)};_.L(_.xP,_.K);_.xP.prototype.Bb=function(){return _.C(this,1)};_.xP.prototype.Cc=function(a){return _.A(this,1,a)};_.xP.prototype.Fh=function(){return _.E(this,_.TA,2)};_.hed=function(a,b){return _.x(a,2,b)};_.xP.prototype.$j=function(){return _.C(this,3)};
var ied=function(a){_.P(this,a,-1,null,null)};_.L(ied,_.K);ied.prototype.Bb=function(){return _.C(this,1)};ied.prototype.Cc=function(a){return _.A(this,1,a)};
var ked=function(a){_.P(this,a,-1,jed,null)};_.L(ked,_.K);ked.prototype.Bb=function(){return _.C(this,1)};ked.prototype.Cc=function(a){return _.A(this,1,a)};ked.prototype.nl=function(){return _.ck(this,sP,2)};var jed=[2];
var led=function(a){_.P(this,a,-1,null,null)};_.L(led,_.K);led.prototype.getType=function(){return _.C(this,1)};var med=function(a){var b=new led;return _.A(b,1,a)};led.prototype.wy=function(){return _.C(this,3)};led.prototype.Xy=function(a){return _.A(this,3,a)};led.prototype.Mi=function(){return _.C(this,4)};led.prototype.setPosition=function(a){return _.A(this,4,a)};
var oed=function(a){_.P(this,a,-1,ned,null)};_.L(oed,_.K);oed.prototype.Bb=function(){return _.C(this,1)};oed.prototype.Cc=function(a){return _.A(this,1,a)};oed.prototype.$j=function(){return _.C(this,3)};var ned=[2];
_.ped=function(a){_.P(this,a,-1,null,null)};_.L(_.ped,_.K);_.ped.prototype.getId=function(){return _.C(this,1)};_.ped.prototype.Pb=function(a){return _.A(this,1,a)};_.ped.prototype.we=function(){return _.E(this,_.of,4)};
var red=function(a){_.P(this,a,-1,qed,null)};_.L(red,_.K);red.prototype.Bb=function(){return _.C(this,1)};red.prototype.Cc=function(a){return _.A(this,1,a)};red.prototype.$j=function(){return _.C(this,3)};var qed=[2,4];
_.yP=function(a){_.P(this,a,-1,null,null)};_.L(_.yP,_.K);_.yP.prototype.getType=function(){return _.C(this,1)};var sed=function(a){var b=new _.yP;return _.A(b,1,a)},ted=function(a,b){return _.x(a,2,b)};_.yP.prototype.wy=function(){return _.C(this,3)};_.yP.prototype.Xy=function(a){return _.A(this,3,a)};_.yP.prototype.Mi=function(){return _.C(this,4)};_.yP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.n2c=function(a){_.P(this,a,-1,null,null)};_.L(_.n2c,_.K);_.g=_.n2c.prototype;_.g.getItem=function(){return _.E(this,_.Wk,1)};_.g.setItem=function(a){return _.x(this,1,a)};_.g.getError=function(){return _.E(this,_.mc,2)};_.g.Ue=function(a){return _.x(this,2,a)};_.g.Jn=function(){return _.Q(this,2)};_.g.nt=function(){return _.C(this,4)};
var ved=function(a){_.P(this,a,-1,ued,null)};_.L(ved,_.K);var ued=[2,4];
var xed=function(a){_.P(this,a,-1,wed,null)};_.L(xed,_.K);var wed=[1];
var zed=function(a){_.P(this,a,-1,yed,null)};_.L(zed,_.K);zed.prototype.Bb=function(){return _.C(this,1)};zed.prototype.Cc=function(a){return _.A(this,1,a)};zed.prototype.$j=function(){return _.C(this,3)};var yed=[2];
var Bed=function(a){_.P(this,a,-1,Aed,null)};_.L(Bed,_.K);Bed.prototype.Bb=function(){return _.C(this,1)};Bed.prototype.Cc=function(a){return _.A(this,1,a)};Bed.prototype.$j=function(){return _.C(this,3)};var Aed=[2];
var Ced=function(a){_.P(this,a,-1,null,null)};_.L(Ced,_.K);
var Eed=function(a){_.P(this,a,-1,Ded,null)};_.L(Eed,_.K);Eed.prototype.O=function(){return _.C(this,2)};var Fed=function(a,b){_.A(a,2,b)},Ded=[1];
var Ged=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(Ged,_.gi);
var Hed=function(a,b){_.gi.call(this,"Pb");this.qPa=a;this.sua=b};_.L(Hed,_.gi);
var Ied=function(){};_.g=Ied.prototype;_.g.GM=function(a,b){return B6c(A6c(1),a).setPosition(b)};_.g.FM=function(a,b){return B6c(A6c(2).setPosition(b),a)};_.g.QE=function(a,b,c){return B6c(A6c(3).Xy(b).setPosition(c),a)};_.g.FQ=function(a,b){return B6c(A6c(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,pO,2)};
var Jed=function(){_.fL.call(this,new Ied,function(a){return a&&a.getName()})};_.L(Jed,_.fL);
var zP=function(a,b,c){c=void 0===c?50:c;_.si.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=W1c(new _.QN,[1]);this.ha=this.H=!1;this.Mc=new _.He(this);this.Ma(this.Mc);_.ze(this,function(){d.active=!1;d.Mc.removeAll()})};_.L(zP,_.si);_.g=zP.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.Xe=function(){return this.W.Xe()||this.connectionState.Xe()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Mc.listen(this.W,"Ab",_.tb(this.Wt)),this.Mc.listen(this.connectionState,[].concat(_.nd(Object.values(_.WA))),_.tb(this.Wt)),this.W.Xe()?this.Mc.od(this.W,"Ab",function(b){b.Xe()||(a.fH(),a.dispatchEvent(new _.gi(_.$p)))}):this.connectionState.Xe()?this.Mc.od(this.connectionState,[_.WA.HL,_.WA.GU],function(){a.fH();a.dispatchEvent(new _.gi(_.$p))}):(this.fH(),this.dispatchEvent(new _.gi(_.$p))))};_.g.fH=function(){};
_.g.Lr=function(a){var b=this;if(this.Sj()){var c=this.limit;this.limit+=a||50;this.jc()>c&&this.Wt();this.W.Xe()?this.Mc.od(this.W,"Ab",function(d){d.Xe()||b.tP()}):this.tP()}};_.g.NL=function(){this.Xe()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.oc(a))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};_.g.Sj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Mc.removeAll();this.activate()};_.g.tP=function(){};
var Ked=function(a,b,c,d,e){zP.call(this,a,b,e.Li()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new Jed;this.ma=d};_.L(Ked,zP);_.g=Ked.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){return F6c(new vO,this.data).Cc(this.status)};_.g.ms=function(){var a=this.V.Lz(this.O,this.data);this.O=this.data;var b=(new D6c).Cc(this.status);return _.Cb(b,2,a)};
_.g.tP=function(){this.ma(this.Ni(),this.limit)};_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,Led(this)}};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||kO(0,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,Led(this)};
var Led=function(a){a.log("Livelist "+a.Ni()+" returning "+a.data.length+" for "+(a.request.Ic()+". Status: ")+(_.ab(s5c)[a.Bb()]+"."));a.dispatchEvent(new _.gi(_.Bc,a))};Ked.prototype.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};Ked.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var Med=function(a,b,c,d,e,f,h){_.qP.call(this,a,b,c,e,f,d);this.Dd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(Med,_.qP);Med.prototype.getData=function(){this.H=this.items;var a=a4c((new _.KA).Cc(this.Bb()).Vw(this.items),this.Sj());a=_.x(a,7,this.oa).QP(this.suggestionSessionId).kj(this.Re);return _.Pj(a,18,this.ma)};
Med.prototype.update=function(a){if(qdd(this,a)&&(rdd(this,a),this.oa=a.u6(),this.suggestionSessionId=a.Uf(),this.ma=a.Hka(),pdd(this),this.suggestionSessionId&&H9c(this.V)&&(a=this.Dd.H(106027)))){var b=_.E(_.nN(a),N4c,20);if(!b){b=new N4c;var c=_.nN(a);_.x(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Yj()}};
var Ned=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.ik(d,f)||(d=Add(zdd(4),f),c[e]=d):(d=Add(zdd(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=Add(zdd(1),d),c[e]=d)});return c},Oed=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Va(Ned(a,b))};
var Ped=function(a,b){_.si.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(Ped,_.si);_.g=Ped.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.gi(_.Bc,this)))};_.g.Bb=function(){return this.status};_.g.Zq=function(){return new _.QN};_.g.getData=function(){this.H=this.data;var a=(new _.rN).Cc(this.status);_.Ma(this.data,function(b,c){a.hU().set(c,b||new _.KF)});return a};
_.g.ms=function(){var a=Ned(this.H,this.data);this.H=this.data;var b=(new ied).Cc(this.status);_.Ma(a,function(c,d){_.Nj(b,2,sP).set(d,c)});return b};_.g.zT=function(){throw Error("Yf");};_.g.Ni=function(){return String(_.Da(this))};_.g.yd=function(){return this.request};_.g.update=function(a){var b={};a.hU().forEach(function(c,d){c||(c=qbd(d));b[d]=c});if(this.status!==a.Bb()||Oed(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.gi(_.Bc,this))};
_.g.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Qed=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.oa=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=W1c(new _.QN,[1]);this.log("Creating find by ids live map: "+this.request.jn().join(", "));_.ze(this,function(){h.O=!1;h.H=[]})};_.L(Qed,_.si);_.g=Qed.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||Red(this)};_.g.yd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.pN;_.BL(this.V)?a.Cc(j1c(Object.values(this.items))?6:this.status):a.Cc(this.status);a.map=this.items;return a};_.g.ms=function(){var a=Z1c(this.H,this.items),b=new y6c;b.Cc(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.W};_.g.zT=function(a){D9c(a);var b=this.request;this.request=a;this.oa(this.Ni(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.yd().jn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);Sed(b,a)}):Sed(this,a)};var Sed=function(a,b){if(a.status!==b.Bb()||$1c(a.items,b.map))a.status=b.Bb(),a.items=b.map,_.BL(a.V)&&(a.W=X1c(a.status,Object.values(a.items))),Red(a)};Qed.prototype.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};Qed.prototype.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Red=function(a){a.O&&(a.log("Livelist "+a.Ni()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(s5c)[a.Bb()]+". Query: ")+(PO(a.ka,a.request)+" ")+Y1c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.Bc,a)))};Qed.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Ted=function(a,b,c,d,e,f){_.qP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Ted,_.qP);Ted.prototype.getData=function(){this.H=this.items;var a=(new _.qN).Cc(this.Bb()).Vw(this.items);var b=this.Sj();a=_.A(a,4,b);return u5c(a,this.ma).QP(this.suggestionSessionId).kj(this.Re)};Ted.prototype.update=function(a){qdd(this,a)&&(rdd(this,a),this.ma=_.ck(a,_.Dk,6),this.suggestionSessionId=a.Uf(),pdd(this))};
var Ued=function(){};_.g=Ued.prototype;_.g.GM=function(a,b){return ydd(xdd(1),a).setPosition(b)};_.g.FM=function(a,b){return ydd(xdd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return ydd(xdd(3).Xy(b).setPosition(c),a)};_.g.FQ=function(a,b){return ydd(xdd(4),a).setPosition(b)};_.g.jN=function(a){return a.mn()};
var Ved=function(){_.fL.call(this,new Ued,function(a){return a&&a.qq()})};_.L(Ved,_.fL);
var Wed=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Ved;this.suggestionSessionId=null;this.ka=c};_.L(Wed,zP);_.g=Wed.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){this.O=this.data;return D8c(C8c((new GO).Cc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Lz(this.O,this.data);this.O=this.data;var b=(new Tdd).Cc(this.status);return _.Cb(b,2,a)};_.g.tP=function(){};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||kO(0,this.data,a.nl())){this.changed=this.H=!0;this.data=a.nl();if(a=a.Uf())this.suggestionSessionId=a;this.Wt()}};_.g.refresh=function(){this.ka()};_.g.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Xed=function(a,b,c){_.si.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=W1c(new _.QN,[1]);this.O=!0;this.limit=a.Li();_.ze(this,function(){d.H=!1;d.V=[]})};_.L(Xed,_.si);_.g=Xed.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.oa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.gi(_.Bc,this))};_.g.yd=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Zq=function(){return this.W};_.g.Sj=function(){return this.O};_.g.getData=function(){this.V=this.items;return a4c((new _.KA).Cc(this.status).Vw(this.items),this.O)};_.g.ms=function(){var a=_.URc().Lz(this.V,this.items),b=(new _.gSc).Cc(this.status);a=_.Cb(b,2,a);this.V=this.items;return a};_.g.Lr=function(a){this.H&&(this.limit+=a||20,this.ka.QF(this.Ni(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||kO(_.URc(),this.items,a.Gd()))this.items=a.Gd(),this.status=a.Bb(),_.BL(this.ha)&&(this.W=X1c(this.status,this.items)),this.O=a.kl(),this.H&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};_.g.Cu=function(){throw Error("Zf");};_.g.refresh=function(){};
var Yed=function(a,b,c){_.si.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=W1c(new _.QN,[1]);this.context.Zf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.jn().join(", "));_.ze(this,function(){d.V=!1;d.O=[]})};_.L(Yed,_.si);_.g=Yed.prototype;_.g.Ni=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.yd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.pN;a.Cc(this.status);a.map=this.H;return a};_.g.ms=function(){var a=Z1c(this.O,this.H),b=new y6c;b.Cc(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.W};
_.g.zT=function(a){var b=this.request;this.request=a;this.ha.pZ(this.Ni(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||$1c(this.H,a.map))this.status=a.Bb(),this.H=a.map,_.BL(this.context.Pc)&&(this.W=X1c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Zed=function(){};_.g=Zed.prototype;_.g.GM=function(a,b){return Add(zdd(1),a).setPosition(b)};_.g.FM=function(a,b){return Add(zdd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return Add(zdd(3).Xy(b).setPosition(c),a)};_.g.FQ=function(a,b){return Add(zdd(4),a).setPosition(b)};_.g.jN=function(a){return a.mn()};
var $ed=function(){_.fL.call(this,new Zed,function(a){return a&&a.getId()})};_.L($ed,_.fL);
var afd=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new $ed};_.L(afd,zP);_.g=afd.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){this.O=this.data;return y$c((new WO).Cc(this.status),this.data.slice(0))};_.g.ms=function(){var a=this.V.Lz(this.O,this.data);this.O=this.data;var b=(new ked).Cc(this.status);return _.Cb(b,2,a)};
_.g.tP=function(){this.ka.QF(this.Ni(),this.limit)};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||kO(0,this.data,b.nl()))this.H=!0,this.status=b.Bb(),this.data=b.nl(),this.ha=a.H,this.dispatchEvent(new _.gi(_.Bc,this))};
_.g.vB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var bfd=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.Yfa;this.oa=this.context.w6};_.g=bfd.prototype;_.g.ixa=function(a){var b=this,c=new Med(this.context.yn,this.context.tQ,this.context.Zf(),this.context.Pc,function(d,e){b.QF(d,e)},a,this.context.Tk());this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.lxa=function(a){var b=this,c=new Ted(this.context.yn,this.context.tQ,this.context.Zf(),function(d,e){b.QF(d,e)},a,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.fxa=function(a){var b=this,c=new Qed(this.context.Pc,this.context.yn,this.context.Zf(),this.context.g_,this.pZ.bind(this),a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.oxa=function(a){var b=this,c=new Xed(a,this,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.pxa=function(a){var b=this,c=new Yed(this.context,this,a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.sxa=function(a){var b=this,c=new afd(this.context,a,this);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.mxa=function(a){var b=this,c=new Wed(this.context,a,function(){if(a instanceof _.IF){var d=cfd(b.context);Zad(d,d.getKey(a)).refresh()}});this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.txa=function(a){var b=this,c=new Ped(this.context,a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.cxa=function(a){var b=this,c=new Ked(this.context.Ij(),this.context.nk(),this.context.Zf(),function(d,e){b.QF(d,e)},a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.Zh=function(a){var b=a.Ni();this.H[b]=a;this.ha.create(b,a.yd());a=a.yd()instanceof _.Cz?this.O.Zh(b,a.yd()):a.yd()instanceof _.LF?Xad(this.O,b,a.yd()):a.yd()instanceof _.IF?cfd(this.context).Zh(b,a.yd()):a.yd()instanceof _.SF?this.oa.Zh(b,a.yd()):this.W.Zh(b,a.yd());"boolean"===typeof a&&h$c(this.ha,b,a)};
_.g.ik=function(a){a.yd()instanceof _.Cz?this.O.ik(a.Ni(),a.yd()):a.yd()instanceof _.LF?Yad(this.O,a.Ni(),a.yd()):a.yd()instanceof _.IF?cfd(this.context).ik(a.Ni(),a.yd()):a.yd()instanceof _.SF?this.oa.ik(a.Ni(),a.yd()):this.W.ik(a.Ni(),a.yd());SO(this.ha,a.Ni(),4);delete this.H[a.Ni()]};_.g.pZ=function(a,b,c){this.W.ik(a,b);this.W.Zh(a,c)};
_.g.QF=function(a,b){var c=dfd(this,a).yd();c.wi(b);c instanceof _.Cz?this.O.Zh(a,c):c instanceof _.LF?Xad(this.O,a,c):c instanceof _.SF?this.oa.Zh(a,c):this.W.Zh(a,c)};_.g.HO=function(a,b){var c=this.H[a]&&this.H[a].yd();c&&(c instanceof _.bf?V0c(c.O(),b.Gd().filter(function(d){return!MO(d)})):c instanceof _.Sz&&V0c(c.O(),Object.values(b.map).filter(function(d){return d&&!MO(d)})));this.ka[a]=b;this.V||(this.V=_.ui(this.r9,50,this))};
_.g.VX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ui(this.r9,50,this))};_.g.pA=function(a){(a=this.H[a])&&a.vW()};_.g.r9=function(){_.vi(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&&(k$c(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])SO(this.ha,a,3),d.vB(c)};
_.g.Wka=function(a){return dfd(this,a).yd()};var dfd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};
var AP=function(a,b){_.si.call(this);this.O=a;this.request=b;this.ne=_.Sh();this.complete=!1;this.H=""};_.L(AP,_.si);AP.prototype.start=function(){var a=this;this.O.then(function(b){return b.Ve(a.request)}).then(this.W.bind(this)).Sg(this.handleError.bind(this));return this.ne.promise};AP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new Hed(0,this.H));efd(this)};
var efd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Ve(new _.rVc(a.H))}).then(function(b){if(1===b.status||3===b.status||2===b.status)a.dispatchEvent(new Hed(b.O,a.H)),efd(a);else{a.complete=!0;if(4===b.status){var c=new ved;c=_.Pj(c,2,b.V);c=_.A(c,3,a.H);c=_.A(c,5,b.ka);c=_.A(c,6,b.ha);c=_.A(c,7,b.mA);c=_.A(c,8,b.H);b=_.Cb(c,4,b.W);a.ne.resolve(b)}else b=_.IL(_.Up(_.Tp(new _.mc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}}).Sg(function(b){a.handleError(b)})},
5E3)};AP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Ve(new _.qVc(a.H))}).then(this.V.bind(this)).Sg(this.handleError.bind(this))};AP.prototype.V=function(){if(!this.complete){var a=new ved;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.ne.resolve(a);this.complete=!0;this.dispose()}};AP.prototype.handleError=function(a){this.complete=!0;this.ne.reject(_.VL(a));this.dispose()};
var ffd=function(){_.gi.call(this,"VbxEwf")};_.L(ffd,_.gi);
var gfd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=gfd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.SL,58)};_.g.getContext=function(){return this.context};_.g.Kz=function(){return this.context.UA.Kz(this.H)};_.g.Zf=function(){return this.context.Zf()};_.g.XM=function(a){return _.Zh(this.context.wf.zm.H(a))};_.g.oR=function(){return _.Zh(this.context.UA.oR())};
_.g.u5=function(a,b,c){var d=new _.Wh;if(_.E(a,_.CL,3)||_.E(a,_.LM,4)||_.E(a,_.zN,5)||_.E(a,_.IM,6)||_.E(a,_.jM,7)||_.E(a,_.cM,8)||_.E(a,_.gM,9)||_.E(a,_.ML,10)){var e=e$c(a);this.context.Sm().then(function(f){return f.Ve(e,{u7a:b,v7a:c})}).then(this.qab.bind(this,d),d.Pd,d);return d}throw Error("ag");};
_.g.qab=function(a,b){var c=[],d="";if(b instanceof _.AN){c=b.qd().Gd();var e=_.C(b,2);d=b.Yn()}else if(b instanceof _.NM)b.getItem()&&c.push(b.getItem()),e=b.hN();else throw Error("bg");a.callback({items:c,Nia:e,pageToken:d})};_.g.vqa=function(){var a=this.context.Pc,b=a.Yf();a="email:"+_.vL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.oia=function(){this.context.Xs.vS();var a=this.context.Pc;Ocd(_.$M(_.vL(a)),_.aN(a),this.context.Zf()).Sg(function(){})};
_.g.D9=function(){return _.tUc[_.Hj(this.context.Pc.Yf(),8,0)]};_.g.Oda=function(){this.context.bG.H=new Ebd(_.Rg().substring(0,8))};_.g.gT=function(){var a=this.context.bG.BN(),b=null;a&&(b=Gbd(this.context.bG),b={traceId:a,spanRecs:b});a=this.context.bG;a.H=null;a.NY=[];return _.Zh(b)};_.g.BN=function(){return _.Zh(this.context.bG.BN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Pc.Ji();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.zm.Ld();c=this.context.wf.dw;var d=c.H;d&&(b.cs_sutd=d.t8,b.cs_ss=d.Ld());b.cs_ch=$$c(c).length;b.cs_td=c.lW().length;(c=this.context.x6)&&(b.t_cps=c.Ytb().join(","));b.t_id=hfd(this.context);var e=
[];ifd(this.context.nR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.gz?this.context.nk().isConnected():this.context.KI.CB();b.n_o=this.context.gz?this.context.nk().Xe():this.context.Ij().Xe();b.n_csm=!!this.context.gz;a&&(b.csw_cc=_.Qa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.Zh(JSON.stringify(b))};_.g.Kpa=function(){this.vc&&(this.vc.dispatchEvent(new ffd),this.vc.Ku())};
_.g.Kl=function(a){var b=this.context.gz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.XYc(b))};
var lfd=function(a,b){this.context=a;this.Kg=b;this.H=_.dVc(_.hN(this.Kg),jfd);this.O=_.dVc(_.hN(this.Kg),kfd)};
lfd.prototype.ql=function(a){var b=this,c=this.context.kQ.Fh().Fh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.hVc(h);var k=h.getId(),l=b.context.$n();_.AWc(h,3);_.PL(h,5);var p=p1c(h,!0);h.getCapabilities()||_.WM(h,new _.Rk);_.R(p,2)&&((p=h.mk())&&p.length?_.A(h,46,p[0]):(_.VM(h,[l]),_.A(h,46,l)),l=h.Iq(),_.A(h,12,l),l=new _.Dk,l.Pb(d),_.A(l,6,1),_.OVc(l,!0),_.uWc(h,l),_.tWc(h,[l]),_.nTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.wf;var f=o9c(c.zm,a);_.Ma(f,function(h,
k){UN(h.getItem(),e[k],b.H);(b.context.Ij().Xe()||b.context.nk().Xe()||3===ZN(h.getItem()))&&UN(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Uk(h.Qm())&&(f[h.getId()]=new KO(h))});mfd(c,Object.values(f))};
var nfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ql(c)},ofd=function(a){a=a.context.wf;var b=new _.bf;b.Kl(!0);b=q9c(a.zm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===ZN(f)){var h=new _.FL;_.GL(h,f.getId());_.QL(h);d.push(h)}else h=new _.Bna,_.SN(h,!1),_.A(h,2,!1),_.x(f,81,h),c.push(b[e])}mfd(a,c);a.Zo(d)},jfd=[50],kfd=[12,11,10,67,68];
var pfd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new lfd(a,a.Kg)};_.g=pfd.prototype;_.g.vY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.sab.bind(this);var b=this.rab.bind(this);this.log("Querying all offline items.");this.H.LV().Sf(a,b);this.V||(this.H.W_((0,_.v)(this.Kxb,this)),this.V=!0)}}else ofd(this.O)};_.g.sab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ql(a);ZO(this.context.Oj,"GZTDpc")};_.g.rab=function(){this.log("Error fetching offline items.")};
_.g.Kxb=function(a){this.log("Handling offline change(s): "+a.length);nfd(this.O,a)};_.g.log=function(a){this.context.Zf().info("drive.ds.sync.offline.LocalDataService",a)};
var BP=function(a){_.si.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Mc=new _.He(this);this.ma=null;this.Ta=this.va=!1;var b=new pfd(a);this.context.ha=b;this.Fa=new gfd(a,this);V1c(this.Fa);(b=_.E(a.Pc,_.SL,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Oj;this.W=a.Wfa;this.V=new bfd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.kSa()};_.L(BP,_.si);_.g=BP.prototype;_.g.kSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Sh();var b=this.context.Tk().H(106E3);this.ma.promise.then(function(){b&&b.Yj()},function(){_.xN(a.context.Tk(),181008852)});var c=_.bN(this.context.Pc)?"(coldstart) ":"";this.context.Zf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Pc.Ji());this.Mc.listen(this.context,_.Ac,this.nvb);this.Mc.listen(this.context.KI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Mc.listen(this.context.nk(),[].concat(_.nd(Object.values(_.WA))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();ZO(this.O,"NSockf")}return this.ma.promise};_.g.WWa=function(){this.context.Zf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.nvb=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.cZ=function(){throw CP("teamDriveQuery");};_.g.mqa=function(){throw CP("teamDriveFindByIds");};
_.g.nqa=function(){throw CP("teamDriveMovePreflight");};_.g.OFa=function(){throw CP("peoplePredictQuery");};_.g.query=function(a){F9c(this.context.yn,a,X4c(this.context.Kg));this.tF();var b=a.clone();b=this.V.ixa(b);this.Ta||(a=a.we(),a&&121===_.C(a,1)||(this.Ta=!0,this.Mc.listen(b,_.Bc,this.HMa)));return b};_.g.HMa=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Mc.Xc(a,_.Bc,this.HMa)}};_.g.Oq=function(a){this.tF();D9c(a);return this.V.fxa(a.clone())};
_.g.jva=function(){throw CP("activityQuery");};_.g.Xva=function(){throw CP("backupsQuery");};_.g.yGa=function(){throw CP("refreshBackups");};_.g.MV=function(){throw CP("getAndroidBackupItems");};_.g.J8=function(){throw CP("deleteBackup");};_.g.RFa=function(){throw CP("permissionQuery");};_.g.vaa=function(){throw CP("insertPermission");};_.g.K8=function(){throw CP("deletePermission");};_.g.xd=function(){throw CP("mutate");};_.g.jO=function(){throw CP("mutateWorkspace");};
_.g.wz=function(){throw CP("bulkMutate");};_.g.exa=function(){throw CP("createFileUploader");};_.g.ySa=function(a){return new AP(this.context.Sm(),a)};_.g.Pq=function(a){if(3===a.getType())return _.$h(this.context.Sm().then(function(b){return b.Ve(a)}).then(null,_.WL));throw CP("getApps with type "+a.getType());};_.g.Br=function(){throw CP("getApp");};_.g.xaa=function(){throw CP("installApp");};_.g.I8=function(){throw CP("deleteApp");};_.g.vT=function(){throw CP("updateApp");};
_.g.GN=function(){throw CP("getUserAccount");};_.g.dH=function(){throw CP("getUserPrefs");};_.g.jS=function(){throw CP("mutateUserPref");};_.g.lu=function(){throw CP("getRevisions");};_.g.PBa=function(){return!1};_.g.Kl=function(a){this.context.gz?a?_.YYc(this.context.gz,!0):this.context.nk().Xe()&&this.context.gz.wM(!0).then(null,function(){}):this.context.Ij().Kl(a)};_.g.Wy=function(){throw CP("setOfflineOptIn");};_.g.vY=function(){throw CP("setLocalItemService");};_.g.tF=function(){};
_.g.lS=function(){this.context.lS();this.context.Tk().O(106006)};_.g.W9=function(){return this.Fa};_.g.tY=function(){};_.g.CB=function(){return this.context.KI.CB()};_.g.xQ=function(){return _.S(this.context.Pc.Yf(),52,!1)?_.Ph(Y9c(new X9c,0)):this.context.KI.xQ()};_.g.isConnected=function(){return 1===this.context.nk().get()};_.g.e8=function(){var a=this.context.gz;return a?a.wM():_.Ph(_.HYc(0))};_.g.sync=function(){throw CP("sync");};_.g.Ku=function(){return this.context.Ku()};
_.g.Pba=function(){throw CP("offlineDataLoaded");};_.g.koa=function(a){return this.context.Sm().then(function(b){return b.Ve(a)}).then(function(b){return b})};_.g.ywa=function(){throw CP("categoryMetadataQuery");};_.g.d8=function(){throw CP("changeCategoryLinks");};_.g.vP=function(){throw CP("updateCategoryMetadata");};_.g.jGa=function(){throw CP("publishedCategoriesQuery");};_.g.woa=function(){throw CP("publishedCategoryQuery");};_.g.eLa=function(){throw CP("workspaceFindByIdsRequest");};
_.g.kra=function(){throw CP("workspaceQueryRequest");};_.g.uJa=function(){throw CP("suggestedWorkspaceItemQueryRequest");};_.g.vJa=function(){throw CP("suggestedWorkspaceQueryRequest");};_.g.T_=function(){throw CP("addCacheHint");};_.g.A0=function(){throw CP("createUserFeedback");};_.g.Zo=function(){throw CP("handleChanges");};var CP=function(a){return new _.nc(a+" is unsupported",_.UL(3))};
var y2c=function(a){BP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Iu("")};_.L(y2c,BP);y2c.prototype.$a=function(){YO(this.O,["NSockf"],this.WWa.bind(this))};
var qfd=new Set([1,2,4,5,6]),rfd=function(a,b,c,d,e){this.O=a;this.ka=b;this.ha=c;this.W=d;this.V=e;this.H=null;this.status=3;this.Re=0};rfd.prototype.Fh=function(){var a=new _.xP;a.Cc(this.status);this.H&&_.hed(a,this.H?this.H.clone():null);return a};
var sfd=function(a,b,c,d){d=void 0===d?!1:d;var e=qfd.has(c);if(1===a.status&&!e)return!1;a.Re=c;var f=a.status;c=!a.H;if(_.BL(a.O)){var h=(h=b&&b.getUser())&&_.RF(h);h=!(!h||!Had(a.ka,h));a.status=h&&e||d?1:6}f=!_.ik(a.H,b)||(_.BL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.BL(a.O)||(a.status=e||d?1:6);c&&(ZO(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};rfd.prototype.We=function(){return this.Re};
var tfd=function(a){_.si.call(this);this.ha=a;this.Re=0};_.L(tfd,_.si);var ufd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};u8c(a,_.Pd(a,4).map(b));v8c(a,_.Pd(a,5).map(b));return a};_.g=tfd.prototype;_.g.Pq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.uQ=function(){};_.g.xD=function(){return 0!==this.Re};_.g.We=function(){return this.Re};
var vfd=new Set([1,2,4,5,6]),wfd=function(a,b,c){tfd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Ep=!1};_.L(wfd,tfd);wfd.prototype.Pq=function(){var a=new UO;if(!_.Va(this.H)){_.Pj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Cb(a,2,b)}a.Cc(this.status);return a};wfd.prototype.put=function(a){this.H[a.getId()]=ufd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};wfd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
wfd.prototype.uQ=function(a,b,c){c=void 0===c?!1:c;var d=!vfd.has(b);1===this.status&&d||(this.Re=b,xfd(this,a,!d||c),d||this.V.update(1),this.Ep||(this.Ep=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),ZO(this.ha,"nVUlO")))};
var xfd=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Pd(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Ea(f);d=f.length!==a.O.length}a.O=e;var h=_.$a(a.H);_.BUc(a.H);b=_.ck(b,_.EO,2);d||(d=b.length!==_.Qa(h));b.forEach(function(k){var l=ufd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ik(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.gi("Qb",a))};
var DP=function(a){_.N.call(this);this.context=a;this.Gy=new Set;this.Op=6;this.BCa=!0;this.Re=0;this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(DP,_.N);_.g=DP.prototype;_.g.Zh=function(a){this.xRa(a);this.Gy.add(a);this.resize(!0);this.HO(a)};_.g.xRa=function(){};_.g.ik=function(a){this.Gy.delete(a);0!=this.Gy.size||this.gZa()?this.resize(!1):this.dispose()};_.g.We=function(){return this.Re};_.g.kj=function(a){this.Re=a};_.g.ZB=function(a){this.BCa=!1;this.Op=a};_.g.NJ=function(){return this.Op};
_.g.refresh=function(){};_.g.tk=function(){};
var zfd=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)}}yfd(a.context.wf,d,b);d.forEach(function(k){Dbd(a.context.LMa,k,b);if(k.Bc()){var l=k.getCapabilities();MO(k)?l&&(_.$Vc(l,_.R(l,13)),_.XVc(l,!1),_.dWc(l,!1)):WN(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.hWc(l,!1),_.iWc(l,!1))}k.getCapabilities()||_.WM(k,
new _.Rk)})};DP.prototype.resize=function(){};DP.prototype.yd=function(){};DP.prototype.ql=function(a,b){var c=this,d=!1;a.forEach(function(e){e=XO(e);d=c.Nu(e,!0)||d});b||(1!=this.NJ()&&(d=!0),this.ZB(1));d&&this.WX()};var Afd=function(a,b){var c=!1;b.forEach(function(d){c=a.Nu(d)||c});c&&a.WX();return c};_.g=DP.prototype;_.g.update=function(a){return Afd(this,[a])};_.g.Nu=function(){};_.g.WX=function(){var a=this;this.wRa();this.Gy.forEach(function(b){a.HO(b)})};_.g.wRa=function(){};
_.g.HO=function(a){var b=Bfd(this.context).Wka(a);this.tYa(b)||(b=this.tk(b),Bfd(this.context).HO(a,b))};_.g.VX=function(a){var b=this;this.ZB(3);this.Gy.forEach(function(c){Bfd(b.context).VX(c,a)})};_.g.pA=function(){var a=this;this.Gy.forEach(function(b){Bfd(a.context).pA(b)});this.kj(0==this.We()?1:6)};_.g.gZa=function(){return!1};_.g.tYa=function(){return!1};
var Cfd=function(a){_.gi.call(this,"Db");this.id=a};_.L(Cfd,_.gi);
var Dfd=function(a,b,c,d){d=void 0===d?!1:d;_.si.call(this);this.request=a;this.context=b;this.VKa=d;this.ne=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(Dfd,_.si);
Dfd.prototype.Yg=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.Sh();for(var b={},c=_.m(this.request.jn().entries()),d=c.next();!d.done;b={Nra:b.Nra,Yea:b.Yea,Ara:b.Ara},d=c.next()){d=_.m(d.value);var e=d.next().value;b.Ara=d.next().value;b.Nra=i5c(h5c(e),this.request);b.Yea=void 0;this.VKa&&(b.Yea={VKa:!0});this.context.Sm().then(function(f){return function(h){return h.Ve(f.Nra,f.Yea)}}(b)).then(function(f){return void Efd(a,f)},function(f){return function(h){var k=f.Ara;h=_.UA(h);
5===h.Qg.nt()||4===h.Qg.Fk()?(a.context.Zf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),Ffd(a)):a.handleError(h)}}(b))}return this.ne.promise};var Efd=function(a,b){b.qd().Gd().forEach(function(c){_.PL(c,1);a.W.push(c)});Ffd(a)},Ffd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
Dfd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;Gfd(this);Hfd(this);this.O.size===this.request.jn().length?(this.context.wf.ql([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.ne.resolve(this.items)):this.dispatchEvent("Cb")};
var Gfd=function(a){var b=a.W;a.W=[];b=a.context.Xfa.n9(b);if(_.uL(_.vL(a.context.Pc))){var c=a.context.wf.zm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.VM(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.wf.ql(b,1,a.originalRequest,!0)},Hfd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.QL(_.GL(new _.FL,c));a.context.wf.Zo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new Cfd(c))})};
Dfd.prototype.handleError=function(a){var b=new TO(a.Qg,_.Lj(this.context.Pc.Yf(),1,1));this.context.wf.vB(this.request,b);this.dispatchEvent(b);this.ne.reject(a)};
var Ifd=function(a,b,c,d){DP.call(this,a);this.Kg=b;this.request=c;this.Od={};this.H=null;this.O=_.LL(a.Pc)||new _.pUc;d&&this.ql(d,!0)};_.L(Ifd,DP);
Ifd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Op=6;if(_.S(this.request,5,!1))return this.ZB(1),_.Ph();var b=!this.BCa&&_.S(this.O,3,!1)?!1:!Y0c(_.hN(this.Kg),this.request.O()),c=[],d=this.context.$n();this.request.jn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==ZN(l)||b)l=l&&l.Qm(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.ql([],!1),_.Ph();this.H=_.Sh();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.Uz(e,c);var f=new Dfd(e,this.context,this.request);this.context.Ij().Xe()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),Jfd(a,f,a.H))}),this.Op=0<Object.values(this.Od).length?1:2):(this.context.nk().Xe()&&(this.Op=0<Object.values(this.Od).length?1:2),Jfd(this,f,this.H));return this.H.promise};var Jfd=function(a,b,c){a.Mc.listen(b,"Db",function(d){a.Od[d.id]=null});a.pA();b.Yg().then(function(){c.resolve()},c.reject)};
_.g=Ifd.prototype;_.g.kia=function(a){var b=this;if(this.context.yn.equals(a,this.request,!0)){if(Y0c(_.hN(this.Kg),a.O()))return!0;if(Y0c(this.request.O(),a.O(),_.hN(this.Kg))){if(this.BCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.jn().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.tk=function(a){var b=new _.pN;_.BL(this.context.Pc)?b.Cc(k1c(Object.values(this.Od))?6:this.Op):b.Cc(this.Op);b.kj(this.We());w6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));zfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.yd=function(){return this.request};_.g.Nu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Gs=function(a){return!!a&&_.ma(this.request.jn(),a.getId())};
var Kfd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(Kfd,_.gi);
var Lfd=function(a){var b=new Mad;if(a.Uf()){var c=a.Uf();b.H=!1;b.suggestionSessionId=c}a instanceof _.qN&&_.ck(a,_.Dk,6).length?(a=_.ck(a,_.Dk,6),b.H=!1,b.V=a):a instanceof _.KA&&(a.u6()||a.Esa()||a.Hka().length)&&(c=a.u6(),b.H=!1,b.W=c,c=a.Esa()||!1,b.H=!1,b.incompleteSearch=c,a=a.Hka(),b.H=!1,b.O=a);return b};
var EP=function(a,b,c,d,e){e=void 0===e?"":e;_.si.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.Ja=a.Zf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.gGa(b);this.ha=new Mad};_.L(EP,_.si);var Mfd=function(a){return!a.va||""!==a.nextPageToken},Ofd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&Mfd(a)?Nfd(a):_.Zh()};EP.prototype.jc=function(){return this.V.length};EP.prototype.H=function(){return this.V.slice()};
var Nfd=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 _.Wh;d.addCallback(function(f){return void Pfd(a,c,f)});var e=_.VUc(_.WUc(new _.CL,a.Fa),c);b=_.TUc(new _.PTc,b);a.Ha&&_.A(b,10,!0);_.UUc(e,b);a.va=!0;a.O=!0;a.context.Sm().then(function(f){return f.Ve(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
EP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.qN)var c=b;else c=b.qd(),this.nextPageToken=b.Yn()||"";this.ha=Lfd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Gd())};
EP.prototype.handleError=function(a,b,c){c=_.UA(c);this.O=!1;if(5===c.Qg.nt())a.callback([]);else{if(10===c.Qg.nt()&&(_.TUc(b,Math.ceil(_.Lj(b,1,1E3)/2-2E-15)),1<_.Lj(b,1,1E3))){var d=_.UUc(_.VUc(_.WUc(new _.CL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Sm().then(function(e){return e.Ve(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new TO(c.Qg,_.Lj(this.context.Pc.Yf(),1,1));this.IMa(b);this.dispatchEvent(b);a.Pd(c)}};
var Pfd=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: ")+(_.YXc(a.request)+" paginationToken: ")+b;b=_.Vp(_.Tp(_.IL(_.HL(new _.mc,2),9),f));a.context.dispatchEvent(new _.oc(new _.nc(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ba.has(h.getId());a.Ba.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.PL(b.value,
a.ma?2:1);c=[];b=_.m(a.U1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.GL(new _.FL,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new Kfd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return Nfd(a);a.dispatchEvent("Fb")};_.g=EP.prototype;_.g.U1a=function(a){return a};_.g.IMa=function(){};_.g.yd=function(){return this.request};_.g.gGa=function(a){a=a.clone();this.ma&&_.A(a,46,!0);return a};_.g.log=function(a){this.Ja.info("drive.ds.sync.query.QueryRunner",a)};
var Qfd=function(a,b,c,d){EP.call(this,a,b,void 0,c,d)};_.L(Qfd,EP);Qfd.prototype.U1a=function(a){a=this.context.Xfa.n9(a);this.context.wf.ql(a,1,this.request,Mfd(this));return a};Qfd.prototype.IMa=function(a){this.context.wf.vB(this.request,a)};Qfd.prototype.gGa=function(a){var b=a=EP.prototype.gGa.call(this,a),c=_.Dl(b);0===_.Pd(b,33).length&&1===c.length&&(c=this.context.wf.zm.H(c[0].Xa()))&&(c=c.Bc())&&(_.Fl(b,[c]),_.Gl(b,2));Rfd(this,a);return a};
var Rfd=function(a,b){if(_.Dl(b).some(function(d){return(d=a.context.wf.zm.H(d.Xa()))&&_.R(d,108)})){var c=b.we();c||(c=new _.of,_.El(b,c));_.pf(c,937)}};
var Sfd=function(a,b,c,d){this.context=a;this.Kg=b;this.W=d;this.moa=0;this.H=c},Wfd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Gl(_.Bl(_.Fl(new _.bf,[b]),_.hN(a.Kg)),1),d=_.pf(new _.of,306);_.El(c,d);Tfd(a);c=new Qfd(a.context,c);Ofd(c,5E3).addCallback(a.V.bind(a,c));Ufd(a);Vfd(a,b)}},Ufd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof Ifd});var c=new Set;b.forEach(function(d){d.yd().jn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.pf(new _.of,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.KO([].concat(_.nd(c)),b)},Vfd=function(a,b){var c=[];(a.context.wf.oGa.DQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ik(e.yd(),d)&&c.push(e)})});_.Ea(c);0<c.length&&(Tfd(a),c.forEach(function(d){d=PO(a.context.yn,d.yd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Th(_.Rh(c.map(function(d){return d.refresh().Sg(_.Ff)})),a.O.bind(a)))};
Sfd.prototype.KO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ee(f)});if(0===a.length)return _.Ph({});a=_.A(_.Tz(_.Uz(new _.Sz,a),d||_.hN(this.Kg)),7,!0);_.Vz(a,b);e&&e.length&&_.Cb(a,11,e);Tfd(this);b=new Dfd(a,this.context,void 0,c);return _.Th(b.Yg(),this.V.bind(this,b))};Sfd.prototype.V=function(a){a.dispose();this.O()};var Tfd=function(a){a.moa++;a.context.Xs.setActive(!1)};Sfd.prototype.O=function(){this.moa--;0===this.moa&&this.context.Xs.setActive(!0)};
Sfd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Xfd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ne=null;a=new _.of;_.qf(a,!1);_.pf(a,305);_.El(this.request,a);this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(Xfd,_.N);
Xfd.prototype.Yg=function(){if(!this.ne){this.ne=_.Sh();if(_.S(this.request,48,!1))return this.H.kj(9),this.ne.resolve(this.H),this.ne.promise;this.O=new EP(this.context,this.request,!0);this.Mc.listen(this.O,"Cb",this.W);this.Mc.listen(this.O,"Fb",this.V.bind(this));this.Mc.listen(this.O,"Gb",this.ne.reject.bind(this.ne));Ofd(this.O,this.request.Li())}return this.ne.promise};Xfd.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(XO(new KO(b)))};
Xfd.prototype.V=function(){this.H instanceof aP?this.H.H=!Mfd(this.O):Mfd(this.O)&&$O(this.H);this.H.kj(5);this.ne.resolve(this.H)};
var Zfd=function(a,b){_.gi.call(this,Yfd);this.cache=a;this.changes=b};_.L(Zfd,_.gi);var Yfd="Rb";
var $fd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.my().forEach(function(h){var k=h.getId();q1c(h.getItem());f[k]=new KO(h.getItem())});e.items.forEach(function(h){var k=h.Ic();k=f[k];h.qk()?k&&a.update(new H$c(k.getId(),k,null)):(h=h.getItem(),q1c(h),a.update(I$c(k,new KO(h))))});a.pX();c(e.pLb)},d)})};
var agd=function(a,b){_.N.call(this);this.context=a;this.Kg=b};_.L(agd,_.N);
agd.prototype.Yg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new IO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.VL(q));return}a=_.vL(this.context.Pc);if(!_.uL(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.F(a,6,"")&&sfd(this.context.kQ,c,4)}(a=b.$n())&&this.context.Iu(a,6)}var e=_.C(b,3)||void 0;e&&bgd(this.context,e,!0);if((a=_.ck(b,_.bp,9))&&a.length){c=(c=this.context.Pc.Yf())&&_.Pd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.cp(q))&&f.add(q)});this.context.sE.uQ(a,4,[].concat(_.nd(f.values())))}a=b.Gd();a.forEach(function(q){_.hVc(q);_.PL(q,6)});if(c=_.ck(b,HO,5)[0])if(b=this.context.yn,e1c(_.hN(this.Kg),c.getQuery().O(),_.aN(this.context.Pc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.FRc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=OO(b,c.getQuery());var h=_.C(c,2)||void 0;d.wi(h);h=a.map(function(q){return new KO(q,void 0,1,e)});var k=_.E(c,_.Wk,
3);if(k&&_.C(c,2)){var l=h[h.length-1];_.PL(k,6);if(!_.ik(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.LL(this.context.Pc))&&_.S(k,2,!1)&&c.Yn()||"";var p=new aP(this.context.zu,this.context.Ew,this.context.yn,d,l,c);p.kj(4);h.forEach(function(q){p.update(XO(q))});cgd(this.context.wf,p);l=p.yd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+PO(b,l));b=new _.CL;_.WUc(b,l);l=_.gZc(this.context.UA,
b,"IVDP");_.hZc(l,a);ZO(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+C9c(b,c.getQuery().O()));else this.handleError("No initial query found")};agd.prototype.handleError=function(a,b){var c=b?void 0:_.Vp(_.IL(_.HL(new _.mc,2),6));b=new _.nc(a,c,b);this.context.CJ(b.Qg);this.log("Initial view dump population failed. Message: "+a);ZO(this.context.Oj,"DEJoH")};agd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var dgd=function(a){_.si.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new cP(a.zu,a.Ew,a.Oj,function(){return a.$n()})};_.L(dgd,_.si);var egd=function(a,b){var c=_.Lj(a.context.Pc,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?($O(a.O),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.UA.Jb("CachedCorpusType",b)};
dgd.prototype.log=function(a,b){this.context.Zf().log(this.W,a,b||"info")};var fgd=function(a,b){0===a.V&&(a.V=b)};
var ggd=function(a,b){var c;if(c=!!b&&!!b.hh())a=a.Fm(),c=null==a||!!b.hh().Fm()==a;return c};
var hgd=function(a,b){_.si.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(hgd,_.si);hgd.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():igd(this)};hgd.prototype.jc=function(){return this.V.length};
var igd=function(a){a.O=!0;a.H=!0;var b=z4c(A4c(new _.LM,a.request),a.nextPageToken),c=_.gZc(a.context.UA,b);return _.$h(a.context.Sm().then(function(d){return d.Ve(b)}).then(function(d){var e=d.qd().Gd();a.nextPageToken=d.Yn()||"";jgd(a,c,e)},function(d){return void a.handleError(d)}))},jgd=function(a,b,c){_.hZc(b,c);for(b=0;b<c.length;b++)_.PL(c[b],1);a.context.wf.ql(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.GL(new _.FL,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new Kfd("Cb",d));a.nextPageToken?igd(a):(a.H=!1,a.dispatchEvent("Fb"))};hgd.prototype.handleError=function(a){this.H=!1;a=new TO(_.JL(a),_.Lj(this.context.Pc.Yf(),1,1));this.dispatchEvent(a)};hgd.prototype.yd=function(){return this.request};
var kgd=function(a){this.H=_.GRc(a,{numeric:!0})};kgd.prototype.sort=function(a){_.Ha(a,this.compare.bind(this))};kgd.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Fa(a.getId(),b.getId()):c};
var lgd=function(a,b,c,d){d=void 0===d?!1:d;DP.call(this,a);this.Kg=b;this.Od=[];this.ne=null;this.request=c.clone();this.Av=new hgd(a,this.request);this.$Pb=new kgd(iO(_.vL(a.Pc)));this.TW=null!=_.R(this.request,6);_.ze(this,this.rnb,this);d&&(this.ne=_.Sh(),this.ne.resolve())};_.L(lgd,DP);_.g=lgd.prototype;_.g.refresh=function(){3===this.Op&&(this.Op=6,this.ne=null);return this.Qca()};_.g.isInitialized=function(){return!!this.ne};
_.g.Qca=function(){var a=this;if(this.isInitialized())return this.ne.promise;this.ne=_.Sh();this.context.Ij().Xe()?this.Mc.listen(this.context.Ij(),"Ab",function(b){b.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),a.pA(),a.Av.Yg().Sf(a.ne.resolve,a.ne.reject,a.ne))}):this.context.nk().Xe()?this.Mc.od(this.context.nk(),[_.WA.HL,_.WA.GU],function(){a.pA();a.Av.Yg().Sf(a.ne.resolve,a.ne.reject,a.ne)}):(this.pA(),this.Av.Yg().Sf(this.ne.resolve,this.ne.reject,this.ne));return this.ne.promise};_.g.resize=function(){};
_.g.yd=function(){return this.request};_.g.my=function(){return this.Od};_.g.kia=function(a){return this.context.yn.equals(a,this.request)};_.g.tk=function(a){a=a.Li();this.$Pb.sort(this.Od);var b=S1c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));zfd(this,Y4c(this.Kg),b);var c=new _.KA;c.Vw(b);c.Cc(this.Nwa(a));c.kj(this.We());a4c(c,a<this.Od.length||!(this.context.Ij().Xe()||this.context.nk().Xe())&&1!==this.Op);return c};
_.g.Nwa=function(a){return 1===this.Op||a<=this.Od.length?1:this.context.Ij().Xe()||this.context.nk().Xe()?0<this.Od.length?1:2:6};_.g.ql=function(a,b){this.isInitialized()&&DP.prototype.ql.call(this,a,b)};_.g.Nu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Od,function(h){return h.getId()===c}),e=!!d;b=this.Gs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.DKa(f,a.H):this.yJ(f):this.JR(a.H);else return!1;return!0};_.g.JR=function(a){this.Od.push(a);a.count++};
_.g.yJ=function(a){_.va(this.Od,a);a.count--};_.g.Rya=function(a){return _.la(this.Od,a)};_.g.DKa=function(a,b){this.Od[this.Rya(a)]=b;b.count++;a.count--};_.g.Gs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.TW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Od.find(function(d){return c===d.getId()},this);a=MO(a.getItem())&&ggd(this.request,a.getItem());return b&&a}return MO(a.getItem())&&ggd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.gZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Od.length};_.g.pX=function(){this.Op=1};
var mgd=function(a){this.H=a},ngd=function(a,b,c,d,e){if(0===e||null===b){var f=new Pdd;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=W9c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.Ve(h)}).then(function(k){var l,p=null!==(l=k.ty())&&void 0!==l?l:null;k=d+_.C(k,1);return ngd(a,p,c,k,e-1)})};
var ogd=function(a,b){dgd.call(this,a);this.Kg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.OD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Pc};_.L(ogd,dgd);ogd.prototype.handleError=function(){this.log("Local dump population failed.");ZO(this.context.Oj,"mrK8ic")};
ogd.prototype.Yg=function(){var a=this;if(this.ka)return this.ka;if(this.context.KQ){var b=new _.Wh;this.ka=b;this.initialize().then(function(){var c=_.ck(_.jO(a.H),hO,11);c=c[0]&&c[0].getKey()||"";return pgd(a,a.context.KQ,c,4)}).Sg(function(c){if(_.S(a.H,8,!0))return qgd(a);throw c;}).then(function(){_.BL(a.H)||a.context.wf.Eq.H.clear();ZO(a.context.Oj,"zaOY7");b.callback()},function(c){fgd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ai(Error("cg"))};
ogd.prototype.initialize=function(){var a=this;return this.context.KQ.initialize().then(function(){if(!_.bN(a.H)){var b=_.Lj(_.jO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Ycd(a.context.HD).then(function(e){e?c():d(Error("dg"))})})}})};
var pgd=function(a,b,c,d){var e=a.ha;rgd(a,b,c,e);sgd(a,b,c,e);tgd(a,b,c,e);return ugd(a,b,c,e).then(function(){return Promise.all([vgd(a,b,c,d,e),wgd(a,b,c,d,e),xgd(a,b,c,d,e),ygd(a,b,c,d,e)])})},rgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};kP(b,c,0,void 0,d,a.OD).then(function(f){f[0]?sfd(a.context.kQ,f[0],a.We(),_.bN(a.H)):e()},function(){return e()})},sgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};kP(b,
c,1,void 0,d,a.OD).then(function(f){f[0]?a.context.h_.uQ(f[0],a.We(),_.bN(a.H)):e()},function(){return e()})},tgd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};kP(b,c,5,void 0,d,a.OD).then(function(f){if(f[0]){f=f[0];var h=_.ck(f,_.bp,1);h.length&&a.context.sE.uQ(h,a.We(),_.Pd(f,2),_.bN(a.H))}else e()},function(){return e()})},vgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,1,e,a.OD).then(function(h){return zgd(a,h[0])}).then(function(h){if(h){b!==a.context.KQ||
e1c(_.Pd(h,12),_.hN(a.Kg),_.aN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Xs.vS());var k=_.C(h,3);if(!k||0>k)throw Error("gg");a.context.Iu(h.$n(),d);k=_.C(h,3);"number"===typeof k&&bgd(a.context,Number(k));_.bN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.UDa());a.ql(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},wgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,2,e,a.OD).then(function(h){h[0]?
(a.ql(h[0],d),f.resolve()):f.reject(Error("eg"))},f.reject,f);return f.promise},xgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,4,e,a.OD).then(function(h){h.forEach(function(k){a.ql(k,d)});f.resolve()},f.reject,f);return f.promise},ygd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,3,e,a.OD).then(function(h){h.length?h.forEach(function(k){a.ql(k,d)}):ZO(a.context.Oj,"rVezo");f.resolve()},f.reject,f);return f.promise},ugd=function(a,b,c,d){var e=new _.tn;kP(b,c,6,void 0,d,a.OD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.ck(h,VO,1).length&&(a.log("Importing "+_.ck(h,VO,1).length+" people into the PeopleCache."),h=_.ck(h,VO,1),lad(a.context.wf.Eq.H,h,2));e.resolve()},e.reject,e);return e.promise},zgd=function(a,b){var c=_.C(b,3);if(c&&!_.bN(a.H)){var d=new mgd(a.context.Sm()),e=_.Lj(_.jO(a.context.Pc),13,5);return ngd(d,c,null,0,e).then(function(f){return _.Q(f,2)?(a.log("Encrypted dump too stale."),a.context.Tk().O(106007),fgd(a,9),null):b},function(){return b})}return _.Ph(b)},
qgd=function(a){var b=lP(a.context.PL.Ci()),c=_.ck(_.jO(a.H),hO,11).filter(function(d){return d.Bs()});return Qcd(_.$M(_.vL(a.H)),_.aN(a.H),_.Lj(_.jO(a.H),10,0)||0,_.hN(a.Kg),a.ha||0,c.map(function(d){return _.C(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.C(k,1)}),f=new mP(_.Ph(d),a.context.Zf(),null,!0),h=new Pbd(f,a.H,function(k){a.context.CJ(k)});h.initialize();a.ma=!0;return pgd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Vcd])}).then(function(k){if(k[0])return k=
k[0].Xa(),a.context.HD.set(Vcd,k)}).then(function(){f.close()})}return _.Qh(Error("fg"))})},Dgd=function(a,b,c){switch(b.Bo()){case 1:return Agd(a,b,c);case 2:b=_.E(b,d2c,11);if(!b)throw Error("hg");egd(a,b);a.O.TN?(a.O.kj(a.We()),a=[{cache:a.O,changes:iP(a.context.xz,null)}]):a=[];return a;case 3:return Bgd(a,b);case 4:return Cgd(a,b);default:return null}},Agd=function(a,b,c){var d=[];_.ck(b,HO,5).forEach(function(e){var f=void 0,h=_.E(e,_.Wk,3);h&&(_.hVc(h),_.R(a.H,67)&&T0c(h,h1c),_.PL(h,c),f=new KO(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.ck(a.H,_.bf,44).some(function(l){if(!_.S(l,48,!1))return!1;l=OO(a.context.yn,l,!0);return _.ik(l,k)}))e=new aP(a.context.zu,a.context.Ew,a.context.yn,k,f),e.kj(a.We()),d.push({cache:e,changes:iP(a.context.xz,null)})});return d},Cgd=function(a,b){return _.ck(b,HO,5).map(function(c){c=new lgd(a.context,a.Kg,_.E(c,_.oL,5),!0);c.kj(a.We());return{cache:c,changes:iP(a.context.xz,null)}})},Bgd=function(a,b){var c=_.Pd(_.ck(b,HO,5)[0].getQuery(),33)[0],d=_.C(b,3)||
void 0;b=iP(a.context.xz,c);FP(a.context).addCallback(function(f){f.sva(c,d)});var e=new dP(a.context.zu,a.context.Ew,c);e.kj(a.We());return[{cache:e,changes:b}]};
ogd.prototype.ql=function(a,b){var c=this,d=Dgd(this,a,b);d&&0!==d.length?(a.Gd().forEach(function(e){_.hVc(e);_.R(c.H,67)&&T0c(e,h1c);_.PL(e,b);if(!_.BL(c.H)&&!c.context.wf.Eq.H.wc()){var f=c.context.wf.Eq;Ead(f,xad(f,[e]))}e=new KO(e);for(f=0;f<d.length;f++)d[f].cache.update(XO(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Zfd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof dP&&(h=f.Bc());c.context.taa.promise.then(function(){lbd(c.context.xz,
h)})}),1===a.Bo()&&ZO(this.context.Oj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.Bo()+".")};ogd.prototype.We=function(){return this.ma?7:3};
var Egd=function(a){_.N.call(this);this.context=a};_.L(Egd,_.N);Egd.prototype.Yg=function(a){try{Fgd(this,new Idd(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var Fgd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:Ggd(a,b);break;case 4:Hgd(a,b);break;case 6:Igd(a,b);break;case 2:Jgd(a,b);break;case 7:Kgd(a,b);break;case 5:_.ck(_.E(b,Kdd,7),Idd,1).forEach(function(c){Fgd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},Ggd=function(a,b){var c=_.E(b,_.bf,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.CL;_.WUc(d,c);b=a.context.nR().Wsa.PE(d,{headers:{},text:"",json:b}).qd();
Lgd(a,c,b)},Igd=function(a,b){Lgd(a,_.E(b,_.bf,2),_.E(b,_.KA,9))},Lgd=function(a,b,c){for(var d=c.Gd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.PL(f.value,7);c=Lfd(c);a=a.context.wf;b=OO(a.context.yn,b);e=GP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new HP(a.context,b),f.kj(2),a.O[e]=f);c.wc()||f.Vsa(c);a.ql(d,1,b)},Jgd=function(a,b){b=_.E(b,_.lz,5);var c=a.context.Pc.Yf();c=c&&_.Pd(c,30)||[];var d=new Set(c);_.ck(b,_.bp,3).forEach(function(e){(e=(e=e.getKey())&&
_.cp(e))&&d.add(e)});a.context.sE.uQ(_.ck(b,_.bp,3),2,[].concat(_.nd(d.values())))},Hgd=function(a,b){a.context.Yfa.a3(_.E(b,WO,8).nl(),_.E(b,_.Cz,6),2,!1)},Kgd=function(a,b){var c=_.E(b,_.IF,10);b=JSON.parse(_.C(b,3)||"{}");b=a.context.nR().Wsa.PE(c,{headers:{},text:"",json:b});cfd(a.context).a3([b],c,2,!1)};Egd.prototype.handleError=function(a,b){var c=b?void 0:_.Vp(_.IL(_.HL(new _.mc,2),6));this.context.dispatchEvent(new _.oc(new _.nc(a,c,b)));this.log("Prefetched request population failed.")};
Egd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var IP=function(a){dgd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.Lj(a.Pc,31,2E4))};_.L(IP,dgd);IP.prototype.Yg=function(){if(!_.S(this.context.Pc,45,!1))return fgd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.BVa().addCallback(this.va,this).addCallback(this.oa,this).Gg(this.handleError,this)};
IP.prototype.va=function(){var a=this;ZO(this.context.Oj,"L6uQWd");FP(this.context).addCallback(function(b){b.tea()});if(_.S(this.context.Pc,46,!1))return c2c(this.context.Sm(),this.context.Zf()).addCallback(function(b){if(!b)throw fgd(a,4),Error("jg");egd(a,b)});this.log("Subscribed corpus cache population disabled.");$O(this.O);return _.Zh()};
IP.prototype.oa=function(){this.context.UDa();var a=new _.Wh;if(this.O.TN){this.log("Starting subscribed corpus cache population.");var b=this.O.yd();b.wi(this.ma);this.O.kj(5);Mgd(this,this.O,b)}b=_.ck(this.context.Pc,_.bf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new aP(this.context.zu,this.context.Ew,this.context.yn,c.value),c.kj(5),Mgd(this,c,c.yd()),c=PO(this.context.yn,c.yd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Rh(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var Mgd=function(a,b,c){var d=iP(a.context.xz,null);b=new Xfd(a.context,b,c);a.H.push(b);b=_.Th(b.Yg().then(function(e){!e.TN&&e instanceof cP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.UA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Zfd(e,d))}),function(){a.context.taa.promise.then(function(){lbd(a.context.xz,null)})});a.ha.push(b)};
IP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();fgd(this,7);c=b;b instanceof TO?c=_.VL(b.error):_.AL(b)||(c=Error("kg`"+b));a.Pd(c)};IP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");ZO(this.context.Oj,"Gv4zef")};IP.prototype.We=function(){return 5};
var Ngd=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Mc=new _.He(this);this.impression=null;this.W=[];this.Ma(this.Mc);this.H=new ogd(this.context,this.context.Kg);this.Ma(this.H);this.O=new IP(this.context);this.Ma(this.O)};_.L(Ngd,_.N);
Ngd.prototype.Yg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Tk().H(106002);_.n._DRIVE_dsp&&Ogd(this);_.n._DRIVE_dspc=function(c){Ogd(a,c)};iP(this.context.xz,null);_.S(this.context.Pc,24,!1)&&!_.bN(this.context.Pc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?Pgd(this):_.n._DRIVE_ivdc=function(){Pgd(a)});var b=this.context.KQ;if(b)return this.Mc.listen(this.H,Yfd,this.ha),this.Mc.listen(this.O,Yfd,this.ha),(!_.S(this.context.Pc,10,!1)&&_.R(this.context.Pc,
69)?this.context.LX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.OD=a.impression);return a.H.Yg().Sf(function(){return Qgd(a,a.H.We())},function(){Rgd(a,a.H.We(),a.H.V);return _.bN(a.context.Pc)?a.handleError(Error("lg")):a.O.Yg().then(function(){return Qgd(a,a.O.We())},function(c){Rgd(a,a.O.We(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.AL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var Ogd=function(a,b){var c=new Egd(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.Yg(d)});c.dispose()};Ngd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(Sgd(this,b,a.changes))};
var Qgd=function(a,b){lbd(a.context.xz,null);ZO(a.context.Oj,"L6uQWd");FP(a.context).addCallback(function(c){c.tea()});return Promise.all(a.W).then(function(){Tgd(a,b)})},Tgd=function(a,b){if(!a.isDisposed()){_.bN(a.context.Pc)||Ugd(a.V,_.ck(a.context.Pc,_.bf,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Xs.VDa():Ycd(a.context.HD).then(function(d){d&&a.context.Xs.VDa()},function(){});ZO(c,"rVezo");ZO(c,"BNEDtc");a.impression&&(b=_.oN(_.dUc,
b),R4c($4c(a.impression),b),Q4c($4c(a.impression),!0),S4c($4c(a.impression),r9c(a.V.zm)),T4c($4c(a.impression),a.context.wf.Bo()),a.impression.Yj());a.dispose()}},Rgd=function(a,b,c){a.impression&&(b=_.oN(_.dUc,b),R4c($4c(a.impression),b),a=$4c(a.impression),_.ak(a,3,c,void 0))};
Ngd.prototype.handleError=function(a,b){b=void 0===b?!1:b;lbd(this.context.xz,null);var c=this.context.Oj;ZO(c,"L6uQWd");FP(this.context).addCallback(function(d){d.tea()});ZO(c,"mrK8ic");ZO(c,"Gv4zef");ZO(c,"rVezo");ZO(c,"BNEDtc");this.context.UA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.KQ||_.S(this.O.context.Pc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.AL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.nc(b,void 0,c),c=a.Qg,_.HL(c,_.bN(this.context.Pc)?3:
1),_.IL(c,6),_.Tp(c,b),_.Vp(c),this.context.dispatchEvent(new _.oc(a))):this.log("Corpus population skipped");this.impression&&(Q4c($4c(this.impression),!1),this.impression.Yj());this.dispose()};
var Sgd=function(a,b,c){return $fd(b,c).then(function(d){d.some(function(e){return b instanceof dP&&e.qk()&&e.Ic()===b.Bc()})||cgd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},Pgd=function(a){if(_.n._DRIVE_ivd){var b=new agd(a.context,a.context.Kg);a.Ma(b);b.Yg(_.n._DRIVE_ivd)}else ZO(a.context.Oj,"DEJoH")};Ngd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Vgd=function(){bP.apply(this,arguments)};_.L(Vgd,bP);Vgd.prototype.Gs=function(a){var b;if(b=bP.prototype.Gs.call(this,a))a=a&&a.getItem()&&a.getItem().Qm(),b=!(!a||!_.R(a,3));return b};Vgd.prototype.yd=function(){};Vgd.prototype.getType=function(){};Vgd.prototype.XN=function(){};
var Wgd=function(a,b){this.context=a;this.H=b;this.DQ={}},Ygd=function(a,b){if(!_.sM(b)){var c=_.Pd(b,33);if(1===c.length)Xgd(a,c[0],b);else{c=_.Dl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Xa();c=a.H.get(d);if(!c){c=a.context.wf.JI;var e=_.pf(new _.of,310);c.KO([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.le(h)&&(f=f.Bc(),Xgd(a,f,b))}else Xgd(a,null,b)});return}if(c.getItem().Bc()&&_.le(c.getItem().getCapabilities())){c=c.getItem().Bc();Xgd(a,c,b);return}}Xgd(a,
null,b)}}},Xgd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!MO(d.getItem()))return}d=b||"subscribed";a.DQ[d]||(a.DQ[d]=[]);a.DQ[d].push(c);b&&(FP(a.context).addCallback(function(e){e.sva(b)}),Zgd(a.context.GJa,b))},$gd=function(a,b){if(!_.sM(b)){var c={},d;for(d in a.DQ){c.UT=d;for(var e=0;e<a.DQ[c.UT].length;e++)if(_.ik(b,a.DQ[c.UT][e])){_.ta(a.DQ[c.UT],e);"subscribed"!==c.UT&&FP(a.context).addCallback(function(f){return function(h){h.RGa(f.UT,!1)}}(c));return}c={UT:c.UT}}}};
var ahd=function(){this.H=new Map;this.O=[];this.V=[]};
ahd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();VN(e)&&(a?(e=a.getItem().Of())&&_.C(e,1)&&(1===_.Vd(e)||3===_.Vd(e))&&(e=_.C(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&&!_.ik(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var bhd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},chd=function(a){a.O=[];a.V=[]};
var dhd=function(a,b){jP.call(this,a.clone(),b.Sm(),b.Pc,b.Zf());this.context=b};_.L(dhd,jP);dhd.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=a.clone();d=_.Pj(d,2,[c]);b.set(c,d)});return b};dhd.prototype.V=function(a){a=a.Gd()[0];this.context.wf.ql([a],1,void 0,!0,this.request.O())};dhd.prototype.ha=function(a){this.context.wf.ql([],1,a,!1,this.request.O())};dhd.prototype.ka=function(a){a=_.QL(_.GL(new _.FL,a));this.context.wf.Zo([a])};
var ehd=function(a,b,c,d){DP.call(this,a);this.Kg=b;this.request=c;this.Od={};d&&this.ql(d,!0)};_.L(ehd,DP);_.g=ehd.prototype;
_.g.refresh=function(){var a=this;this.Op=6;var b=LO(this.context.Pc)!==LO(this.context.Pc,this.request.O()),c=[];this.request.jn().forEach(function(h){var k=a.Od[h];k&&k.getItem().hh()&&!b||c.push(h)});if(0===c.length)return this.ql([],!1),_.Ph();var d=this.request.clone();_.Pj(d,2,c);var e=new dhd(d,this.context),f=_.Sh();this.context.Ij().Xe()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),a.pA(),e.Yg().then(f.resolve,f.reject,f))}),this.Op=0<_.Qa(this.Od)?
1:2):(this.context.nk().Xe()&&(this.Op=0<_.Qa(this.Od)?1:2),this.pA(),e.Yg().then(f.resolve,f.reject,f));return f.promise};_.g.kia=function(a){return this.context.yn.equals(a,this.request)&&Y0c(_.hN(this.Kg),a.O())};_.g.tk=function(a){var b=new _.pN;b.Cc(this.Op);b.kj(this.We());w6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));zfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.yd=function(){return this.request};
_.g.Nu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};_.g.Gs=function(a){return!!a&&this.request.jn().includes(a.getId())};
var HP=function(a,b,c,d,e){DP.call(this,a);var f=this;this.V=0;this.Od=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.oa=Date.now();this.request=b.clone();this.Av=new Qfd(this.context,this.request,!1,e);b=this.request.Ac()&&t9c(this.request.Ac());var h=this.context.Ew;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.TW=!b||!l9c(this.request)||_.uL(_.vL(a.Pc));this.Fa=R$c(this.request);
c&&this.ql(c,!d);this.va=_.Lj(a.Pc.Yf(),16,36E5);_.PM(this.request)&&this.Mc.listen(this.context.Aha,"Hb",this.Ha);_.ze(this,function(){_.aa(f.Av);f.clear()})};_.L(HP,DP);HP.prototype.refresh=function(){return fhd(this,!1)};var fhd=function(a,b){a.Op=6;if(_.S(a.request,48,!1))return a.Op=1,_.Ph();if(_.PM(a.request)){var c=ghd,d=a.context.Aha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return hhd(a,b)};
HP.prototype.initialize=function(){return this.count>=this.request.Li()||1===this.Op?_.Ph():this.refresh()};HP.prototype.clear=function(){ihd(this)};var ihd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},ghd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return fhd(a,!0)},b)};HP.prototype.Ha=function(){Date.now()-this.oa>this.va&&ghd(this,0)};
var hhd=function(a,b){a.Av&&(a.Mc.Xc(a.Av,"Eb",a.Vsa),a.Mc.Xc(a.Av,"Fb",a.JMa),a.Av.dispose());var c=a.request.we();c&&_.qf(c,!1);a.Av=new Qfd(a.context,a.request,b);a.V=0;a.Mc.listen(a.Av,"Eb",function(){return a.Vsa(a.Av.ha)});a.Mc.listen(a.Av,"Fb",a.JMa);return a.Qca()};
HP.prototype.Qca=function(){var a=this,b=_.Sh();this.context.Ij().Xe()?this.Mc.listen(this.context.Ij(),"Ab",function(c){c.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),jhd(a,b))}):this.context.nk().Xe()?this.Mc.od(this.context.nk(),[_.WA.HL,_.WA.GU],function(){jhd(a,b)}):jhd(this,b);return b.promise};var jhd=function(a,b){a.pA();var c=a.request.Li()+a.V;_.Vja(Ofd(a.Av,c).Sf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=HP.prototype;
_.g.resize=function(a){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=Bfd(this.context).Wka(d),b=Math.max(b,d.Li());_.PM(this.request)?(this.request.wi(b),2!==this.We()&&!this.Av.O&&(b>this.count||a)?this.refresh():this.HJ()):this.request.Li()!==b&&(this.request.wi(b),b>this.count?this.Qca():this.HJ())};_.g.yd=function(){return this.request};_.g.kia=function(a){return this.context.yn.equals(a,this.request)};
_.g.tk=function(a){var b=a.Li(),c,d=!1;if(_.tM(this.request)){var e=this.Od.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.$k(k.getItem()).filter(function(l){return h.includes(_.E(l,_.Dk,1).getId())});k=k.clone();b1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.$k(l.getItem()).length})}d=k1c(e);c=new _.qN;_.A(c,4,!1);u5c(c,f)}else e=this.Od.slice(0,b),c=new _.KA,a4c(c,b<this.Od.length||!(this.context.Ij().Xe()||
this.context.nk().Xe())&&1!==this.Op),_.x(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Pj(c,18,this.ha),d=k1c(e);e=S1c(e);zfd(this,a.O(),e);c.Vw(e);c.Cc(d?6:this.Nwa(b));c.kj(this.We());c.QP(this.suggestionSessionId);return c};_.g.Nwa=function(a){return 1===this.Op||a<=this.count?1:this.context.Ij().Xe()||this.context.nk().Xe()?0<this.Od.length?1:2:6};_.g.Vsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.tAa();this.W=a.V;this.suggestionSessionId=a.Uf()};
_.g.JMa=function(){var a=this.request.Li()-this.count;0<a&&Mfd(this.Av)&&(this.V+=a,this.Qca())};_.g.ql=function(a,b){_.PM(this.request)&&ihd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=XO(d.value),c=this.Nu(d,!0)||c;b||(1!==this.Op&&(c=!0),this.Op=1);if(a=this.H){a:{a=this.Od;d=this.H||_.Fa;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.Mn("ViewCache unsorted after import"),this.context.Ew.sort(this.request,this.Od));c&&(this.WX(),khd(this,b))};
var khd=function(a,b){_.Dl(a.request).length&&a.Od.length&&a.context.g_.then(function(c){var d=f5c(a.context.Tk(),106024,a.ma);if(d){var e=_.Dl(a.request)[0].Xa(),f=_.E(_.nN(d),M4c,18);if(!f){f=new M4c;var h=_.nN(d);_.x(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Gt(a.Od.length);e=a.context.wf.Bo();_.A(c,4,e);a.ma=d;d.Yj()}})};_.g=HP.prototype;
_.g.Nu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Gs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Mn("Updating different wrapper from the existing one"):this.Mn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.DKa(f,a.H):(this.yJ(f),_.PM(this.request)&&ghd(this,0));else{if(_.PM(this.request)&&!b)return!1;this.JR(a.H)}else return!1;return!0};_.g.JR=function(a){this.H?O0c(this.Od,a,this.H):this.Od.push(a);a.count++;lhd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.yJ=function(a){if(this.H){var b=this.Od,c=_.Ga(b,a,this.H);0<=c&&_.ta(b,c)}else _.va(this.Od,a);a.count--;lhd(a)&&this.count--;this.O.delete(a.getId())};_.g.Rya=function(a){return this.H?_.Ga(this.Od,a,this.H):_.la(this.Od,a)};_.g.DKa=function(a,b){this.H&&0!==this.H(a,b)?(this.yJ(a),this.JR(b)):(this.Od[this.Rya(a)]=b,b.count++,lhd(b)&&this.count++,a.count--,lhd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Gs=function(a,b){if(!a)return!1;if(this.TW&&!_.PM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Od.find(function(e){return c===e.getId()},this);a=NO(this.context.zu,this.request,a.getItem());return b&&a}}if(!NO(this.context.zu,this.request,a.getItem()))return!1;var d=1.2*this.request.Li();if(1===this.Op||!this.H||V8c(a.H,2)||this.count<d||b||r1c(a.getItem()))return!0;b=0===this.Od.length?null:this.Od[this.Od.length-1];return!!b&&0>=this.H(a,b)};
_.g.HJ=function(){if(1!==this.Op&&!this.context.Ij().Xe()&&!this.context.nk().Xe()){var a=1.2*this.request.Li();if(!(a>=this.count||this.Av&&a>=this.Av.jc())){a=this.count-this.request.Li();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];V8c(c.H,2)||r1c(c.getItem())||(c.count--,lhd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Od,b),a--)}hhd(this,!1)}}};_.g.Mn=function(a){var b=new _.mc;_.HL(b,2);_.IL(b,6);_.Vp(b);this.context.dispatchEvent(new _.oc(new _.nc(a,b)))};
var lhd=function(a){return!V8c(a.H,2)&&3!==ZN(a.getItem())};HP.prototype.xRa=function(a){var b=this,c=_.Dl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.wf.zm.H(d.Xa()))&&_.R(d,108)}),i$c(this.context.Wfa,a,c))};HP.prototype.wRa=function(){this.HJ()};HP.prototype.tYa=function(a){return 1!==this.Op&&a.Li()>this.count&&this.Av.O};
var JP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new ahd;this.Mc=new _.He(this);this.Ma(this.Mc);this.context=a;this.Kg=b;this.dw=new Y$c(a.yn);if(null===(c=_.LL(this.context.Pc))||void 0===c?0:_.S(c,15,!1))b=new N$c(a.zu,a.Ew),this.dw.add(b);this.H=new k9c(a.g_,a.zu,a.Ew);_.R(a.Pc,60)&&(this.va=new Vgd(a.zu,a.Ew));this.V=new f9c(a.Zf(),_.hN(this.Kg));mhd(this,_.Pd(this.context.Pc,28));this.zm=new n9c(this.Kg,this.context.yn,this.H,this.V);this.context.Tk().W.H=this.zm;this.JI=
new Sfd(this.context,this.Kg,this.O,this.H);this.oGa=new Wgd(this.context,this.H);this.ka=new Ngd(this.context,this);_.ze(this.ka,function(){d.ka=null});this.oa=_.dVc(_.hN(this.Kg),nhd);YO(this.context.Oj,["NSockf"],function(){return d.initialize()});YO(this.context.Oj,["NSockf","jroI5d"],function(){var e=d.context.Pc;if(_.E(e,_.Wk,12))e=_.E(e,_.Wk,12);else{var f=_.OVc(_.QVc(new _.Dk,_.$M(_.vL(e))),!0);f=_.A(f,6,1);var h=_.F(_.vL(e),6,"");h&&f.Pb(h);f=_.nTb(_.tWc(_.uWc(_.MF((new _.Wk).Pb(d.context.$n()).setTitle(_.F(e,
38,"My Drive")),"application/vnd.google-apps.folder").Pn(!1),f),[f]),1);f=_.A(f,29,!0);f=_.A(f,63,!0);e=_.RVc(new _.Rk,_.S(e,6,!0));e=_.A(e,2,!1);e=_.WM(f,_.dWc(_.XVc(_.WVc(_.$Vc(_.aWc(_.ZVc(_.YVc(_.VVc(_.UVc(_.TVc(_.SVc(_.A(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ql([e],1);ZO(d.context.Oj,"hVFf7")});this.ha=_.Sh();YO(this.context.Oj,["BNEDtc"],function(){d.ha.resolve()});this.Eq=new wad(this.context.Pc,this.context.Zf(),a.Sm(),a.Wfa,this.context.Tk(),this.context.LX.promise);_.BL(this.context.Pc)&&
this.Mc.listen(this.Eq,"Kb",this.ma);this.KMa=new _.TYc(this.context.Pc,this.zm)};_.L(JP,_.N);
JP.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=_.C(d.value,1);for(var e=this.Eq.getItems(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.Eq.H.get(d),e=!(!d||1!==d.We()&&4!==d.We()||3===had(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(),ohd(this,h),b.push(I$c(d,
new KO(h,void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");phd(this,b,[]);this.context.Xs.update(6);a.size&&this.JI.KO([].concat(_.nd(a)),_.pf(new _.of,311))};JP.prototype.initialize=function(){this.ka.Yg()};
JP.prototype.Zh=function(a,b){if(b instanceof _.bf)b=OO(this.context.yn,b),qhd(this,b.O()),Ygd(this.oGa,b),b=rhd(this,b),b.cache.Zh(a);else if(b instanceof _.Sz)b=shd(this,b),qhd(this,b.O()),b=thd(this,b),b.cache.Zh(a);else if(b instanceof _.oL){var c=GP(this,b),d=this.O[c];d?(3==d.NJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,uv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new lgd(this.context,this.Kg,b),d.refresh().Sg(_.Ff),this.O[c]=d,b={cache:d,uv:!0});b.cache.Zh(a)}else if(b instanceof _.JF)c=b.O(),d=this.V,g9c(d,d.H,d.O,c),b=thd(this,b),b.cache.Zh(a);else throw Error("ng");return b.uv};
JP.prototype.ik=function(a,b){if(b instanceof _.bf)b=OO(this.context.yn,b),$gd(this.oGa,b);else if(b instanceof _.Sz)b=shd(this,b);else if(!(b instanceof _.oL||b instanceof _.JF))throw Error("ng");b=GP(this,b);var c=this.O[b];c&&(c.ik(a),this.log("Unregistering live request: "+b),c.isDisposed()&&delete this.O[b])};
var GP=function(a,b){return PO(a.context.yn,b,2)},rhd=function(a,b){var c=GP(a,b),d=a.O[c];if(d)return 3==d.NJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,uv:!1};d=[];for(var e=5,f,h,k=Z$c(a.dw),l=0;l<k.length;l++){var p=k[l];e=p.JE(b);if(5!=e){f=1==e?void 0:b.Li();d=p.jla(b,f);f=p.We();h=p instanceof aP?p.ty():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Ld()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Ij().Xe()||a.context.nk().Xe())d=d.concat(a.H.query(b,1)),_.Ea(d,void 0,function(q){return q.getId()}),e=(e=a.dw.H)&&e.t8&&5!=e.JE(b)?e.JE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new HP(a.context,b,d,1==e,h);f&&d.kj(f);d.ql(a.H.query(b,2),1!=e);d.initialize().Sg(function(q){q=_.JL(q);_.Vp(q);a.context.dispatchEvent(new _.oc(new _.nc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
uv:!0}},thd=function(a,b){var c=GP(a,b),d=!1,e=a.O[c];if(e&&e.kia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.jn()),h;b instanceof _.Sz?h=new Ifd(a.context,a.Kg,b,f):h=new ehd(a.context,a.Kg,b,f);f.length&&h.kj(8);h.refresh().Sg(_.Ff);b=h;d=!0;a.O[c]=b;e?(uhd(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,uv:d}};
JP.prototype.lW=function(){return Object.values(this.O).filter(function(a){return a.yd()instanceof _.oL})};
JP.prototype.l2a=function(a){for(var b=_.pf(new _.of,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=C9c(this.context.yn,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.JI.KO([a],b,!1,c))};
var yfd=function(a,b,c){c&&c.length&&i9c(a.V,b,c);_.BL(a.context.Pc)&&(a=a.Eq,Ead(a,xad(a,b)))},cgd=function(a,b,c){if(b instanceof lgd){var d=GP(a,b.yd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof L$c&&a.dw.remove(b);var e={},f=new Map;d=a.H.my();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.my().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=ZN(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new H$c(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=XO(q),a.H.update(r),a.W.update(r),_.BL(a.context.Pc)&&a.Eq.wP(r);_.BL(a.context.Pc)&&ohd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(XO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof lgd?(d=GP(a,b.yd()),a.O[d]=b):a.dw.add(b);var p=[];_.Ma(e,function(q){var r=new _.FL;_.GL(r,q.getId());r.setItem(q);p.push(r)});a.Zo(p);a.log("Merged cache: "+b.getType());b instanceof
dP&&c.forEach(function(q){vhd(a.context.Xsa,q)});a.context.Xs.update(3)},uhd=function(a,b){(new Set([].concat(_.nd(a.Gy)))).forEach(function(c){b.Zh(c);a.ik(c)})};
JP.prototype.ql=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.nd(c.O().filter(function(D){return!_.hN(f.Kg).includes(D)}))):[]);c&&c instanceof _.bf&&_.PM(c)&&whd(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new KO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=xhd(this,u,r);if(null!=z)r.YD(z),yhd(this,y,q),q1c(q),q=d9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.BL(this.context.Pc)&&ohd(this,q);!u||zhd(this,y,q,e)?(l.push(I$c(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.bf){if(null===(h=_.LL(this.context.Pc))||void 0===h?0:_.S(h,15,!1))a=_.Dl(c),1==a.length&&(a=a[0].Xa(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=bad(this.dw,c))&&a.ql(k,!!d)}c=GP(this,c);(a=this.O[c])&&a.ql(k,!!d)}0<l.length&&(_.BL(this.context.Pc)&&l.forEach(function(D){return f.Eq.wP(D)}),phd(this,l,e,a?[a]:[]),Ahd(this,k));Bfd(this.context).r9()};
var ohd=function(a,b){Iad(a.Eq,b)||5!=ZN(b)||_.AWc(b,1)},zhd=function(a,b,c,d){(b=b?_.Qj(b.clone(),82):null)&&yfd(a,[b],d);c=_.Qj(c.clone(),82);yfd(a,[c],[]);return!_.ik(b,c)},whd=function(a,b,c){Bhd(a,b,c);b.forEach(function(d,e){var f=a.zm.H(d.getId());f&&(UN(f,d,[1002]),UN(f,d,[1003]),UN(f,d,[1005]),b[e]=f);_.sM(c)&&0<_.Pd(c,33).length&&_.BWc(d,_.Pd(c,33)[0])})},Bhd=function(a,b,c){var d;_.sM(c)?d="quick access":_.tM(c)?d="people predict":_.uM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},mfd=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Ma(c,function(d,e){e=Number(e);a.ql(S1c(d),e)})};JP.prototype.Rla=function(a){this.KMa.Rla(a)};
JP.prototype.Zo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.qk()?null:e.getItem(),h=e.Ic(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new KO(f,void 0,void 0,_.C(e,1)||void 0);var p=xhd(this,h,l);if(null==p)continue;l.YD(p);yhd(this,k,f);_.S(e,5,!1)&&T0c(f,h1c);q1c(f);f=d9c(f,k);l.setItem(f);_.BL(this.context.Pc)&&ohd(this,f)}if(k&&!f||f&&zhd(this,k,f,[]))this.context.GJa.zy(e),c.push(I$c(h,l))}_.BL(this.context.Pc)&&c.forEach(function(q){return b.Eq.wP(q)});phd(this,
c,[])};var yhd=function(a,b,c){b&&!c.Qm()&&UN(c,b,a.oa);var d=b?b.Of():null,e=c.Of();e=e?_.Td(e):null;d&&e&&yhd(a,_.Td(d),e);b&&!_.Zk(c)&&UN(c,b,[1002]);b&&!_.$k(c).length&&UN(c,b,[1003]);b&&!_.al(c).length&&UN(c,b,[1005]);b&&null==c.d2()&&UN(c,b,[71]);b&&null==_.C(c,79)&&UN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(T0c(c,h1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
JP.prototype.vB=function(a,b){if(a instanceof _.bf||a instanceof _.Sz||a instanceof _.oL)a=GP(this,a),(a=this.O[a])&&a.VX(b);else throw Error("ng");};var xhd=function(a,b,c){var d=c.getItem();if(cbd(a.context.Xfa,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=ZN(a)&&!MO(a)&&!MO(d)&&a.Bc()==d.Bc())if(a.Ci()&&d.Ci()){if(a.Ci()>d.Ci())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Iq()>d.Iq())return null}return W8c(b&&b.H,c.H)};
JP.prototype.lI=function(a,b){(a=this.H.get(a))&&a.YD(W8c(a.H,b))};
var phd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.LL(a.context.Pc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&(h.H.O=h.O.O);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=_.Sa(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.va(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())Afd(h.value,b);h=Z$c(a.dw);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 dP&&f.Ld()>=1.2*f.limit&&Chd(a.context.GJa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Pc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.HJ(h.id),a.W.update(h);0<d&&a.context.Xs.Ina(d);Dhd(a)},Dhd=function(a){var b=a.W.O.slice(0),c=bhd(a.W);chd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.of;_.pf(d,308);a.JI.KO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=o9c(a.zm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Of(),k=_.C(h,1);if(k=a.zm.H(k))_.x(h,5,k),_.A(h,4,1),e.push(f)});mfd(a,e)}},Ehd=function(a){Bfd(a.context).r9();a.H.HJ()},shd=function(a,b){_.Ha(b.O());var c=_.la(b.jn(),"root");if(0>c)return b;b=b.clone();b.jn()[c]=a.context.$n();return b},mhd=function(a,b){var c;null!==(c=_.LL(a.context.Pc))&&void 0!==c&&_.S(c,1,!1)||(b=Z4c(a.Kg,b),a=a.V,g9c(a,a.items,a.fields,b))},qhd=function(a,b){var c;if(null===(c=_.LL(a.context.Pc))||
void 0===c?0:_.S(c,1,!1))b=Z4c(a.Kg,b),a=a.V,g9c(a,a.items,a.fields,b)},Ahd=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==ZN(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.pf(new _.of,311);a.JI.KO(c,d)}})},Ugd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!bad(a.dw,c)){a.log("Adding new cache hint for "+GP(a,c));var d=new aP(a.context.zu,a.context.Ew,a.context.yn,
c);c=new Xfd(a.context,d,c);var e=iP(a.context.xz,null);_.Th(c.Yg().then(function(){$fd(d,e).then(function(f){cgd(a,d,f)})}),function(){lbd(a.context.xz,null)})}})})};JP.prototype.Bo=function(){var a=this.dw.H;return a&&a.TN?1:2};JP.prototype.log=function(a,b){this.context.Zf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var nhd=[50];
var Ghd=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.kl;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Sh();this.va=c.promise;Zcd(this.context.HD).then(function(d){b.H=d||[];c.resolve();Fhd(b)},function(){return c.resolve()});YO(this.context.Oj,["rVezo"],(0,_.v)(this.W,this))};_.L(Ghd,_.N);
var Zgd=function(a,b){_.S(a.context.Pc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(e9c(a.context.wf.zm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.Lj(a.context.Pc,47,5);)a.H.pop();a.context.HD.set(Tcd,a.H)}a.context.wf.dw.lW().length+a.O.size<_.Lj(a.context.Pc,47,5)&&(Fhd(a),a.W())})},Hhd=function(a,b){_.va(a.H,b)&&a.context.HD.set(Tcd,a.H)};
Ghd.prototype.zy=function(a){vhd(this.context.Xsa,a);if(MO(a)){var b=a.Bc();a.qk()?Chd(this,b,!0):(a=a.getItem(),e9c(a)&&Hhd(this,b))}};var Chd=function(a,b,c){Hhd(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.dw;for(var e=d.lW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Xs.update(3);break}}FP(a.context).addCallback(function(k){k.RGa(b,c)});a.W()};
Ghd.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.wf.dw;Ihd(this);for(var b={};this.V.jc()&&!(this.ha>=_.Lj(this.context.Pc,47,5));){var c=_.ll(this.V);this.ha++;aad(a,c)||this.O.has(c)||(this.O.set(c,null),b.tfa=new _.zVc,_.A(b.tfa,1,c),this.context.Sm().then(function(d){return function(e){return e.Ve(d.tfa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={tfa:b.tfa}}}};
var Fhd=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},Ihd=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){Fhd(a);a.W()},36E5)};Ghd.prototype.oa=function(a,b){var c=_.C(b,1);c&&c>_.Lj(this.context.Pc,48,1E3)?(this.log(a,"Too large to backfill: "+_.C(b,1)),Jhd(this,a,!1)):Khd(this,a)};
Ghd.prototype.ma=function(a,b){(b=_.JL(b).Fk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.QL(_.IUc(_.GL(new _.FL,a),a)),this.context.wf.Zo([a])):Khd(this,a)};
var Khd=function(a,b){var c=new dP(a.context.zu,a.context.Ew,b),d=c.yd().clone();d.wi(_.Lj(a.context.Pc,48,1E3));d=new Xfd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=iP(a.context.xz,b);FP(a.context).addCallback(function(f){f.sva(b)});_.Th(d.Yg().then(function(){Lhd(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;Jhd(a,b,!0)}),function(){lbd(a.context.xz,b)})},Lhd=function(a,b,c,d){c.TN?(c.pX(),$fd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());cgd(a.context.wf,
c,e);Jhd(a,b,!1)},function(){a.log(b,"Backfill changes failed");Jhd(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),Jhd(a,b,!0))},Jhd=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&FP(a.context).addCallback(function(e){e.RGa(b,!1)});a.W();0<a.O.size||a.context.wf.dw.lW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){Chd(a,e,!0)})};
Ghd.prototype.log=function(a,b){this.context.Zf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var Mhd=function(){_.N.apply(this,arguments)};_.L(Mhd,_.N);
var Phd=function(a,b){b=Nhd(b);var c=a.getItem(),d=Ohd(c.getCapabilities());b.q4.forEach(function(e){_.nTb(e.getItem(),c.wp());_.WM(e.getItem(),d.clone())});return b},Shd=function(a,b,c){var d=Qhd(c);c=c.find(function(e){return e.getId()===b.getId()});c={uK:c?c:new KO(b),children:[]};Rhd(a,d,c);return c},Qhd=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},Rhd=
function(a,b,c){var d=c.uK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(Rhd(a,b,{uK:e,parent:c,children:[]}))});return c},Uhd=function(a,b){b=b.children.filter(function(l){return!_.Yk(l.uK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.uK.getItem();if(!c.has(f.getId())){_.nTb(f,a.wp());Thd(a,f,e.parent?e.parent.uK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.Yk(k.uK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.uK)}}return d},
Vhd=function(a){a=a.children.filter(function(h){return!_.Yk(h.uK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.uK.getItem();if(!b.has(e.getId())){c.push(_.QL(_.GL(new _.FL,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.Yk(f.uK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},Nhd=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();_.Yk(e)||_.R(e,137)?c.push(e):b.push(d)}return{HQ:c,q4:b}},Ohd=
function(a){a=a.clone();var b=null!=_.R(a,34)?_.R(a,34):_.R(a,7),c=null!=_.R(a,35)?_.R(a,35):_.R(a,7);_.A(a,45,c);_.jWc(a,b);_.A(a,30,c);_.eWc(a,b);_.kWc(a,c);_.fWc(a,c);_.gWc(a,b);_.SVc(a,b);_.XVc(a,c);_.cWc(a,b);_.bWc(a,_.R(a,7));_.WVc(a,_.R(a,10)||_.R(a,11));_.dWc(a,_.Sk(a));_.Qj(a,18);_.Qj(a,13);_.Qj(a,10);_.hWc(a,_.R(a,42));_.iWc(a,_.R(a,43));_.lWc(a,_.R(a,48));return a},Thd=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.eWc(e,_.R(d,31));_.kWc(e,_.R(d,
47));_.fWc(e,_.R(d,32));_.gWc(e,_.R(d,33));_.SVc(e,_.R(d,4));_.XVc(e,_.R(d,9));_.dWc(e,_.R(d,21));_.cWc(e,_.R(d,20));_.bWc(e,_.R(d,17));_.RVc(e,_.Sk(d));_.VVc(e,_.R(d,7));_.YVc(e,_.R(d,10));_.ZVc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.jWc(e,_.R(d,46));_.lWc(e,_.R(d,48));a=_.Yk(a);_.A(b,137,a);c&&(c=c.getCapabilities(),WN(b)?(_.WVc(e,_.R(c,43)),_.iWc(e,_.R(c,43)),_.hWc(e,_.R(c,42))):_.WVc(e,_.R(c,42)))};
var Whd=function(a){this.context=a;this.V=new Mhd;this.O=_.pf(new _.of,306);this.H=a.wf},vhd=function(a,b){if(MO(b))b.qk()?Xhd(a,b):Yhd(a,b);else if(_.S(a.context.Pc,86,!1)){var c=b.Ic(),d=a.H.zm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!WN(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.Yk(d),!b.qk()){var h=b.getItem();f=_.Yk(d)!==_.Yk(h);h=h.wp()!==d.wp();e=f||e&&h}if(e)if(b.qk()){if(b=Zhd(a,d.Bc()),d=a.V,e=(new _.Wk).Pb(c),b=(b=Shd(d,e,b))?Vhd(b):[],a.context.wf.Zo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=f5c(a.context.Tk(),106009))c=a5c(a),_.A(c,2,b.length),a.Yj()}else if(c=b.getItem(),d=Zhd(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=Shd(e,c,d))?Uhd(c,d):[],mfd(a.context.wf,c),a.log(b.Ic(),"SD shared folder update | Updated "+c.length+" item(s)"),a=f5c(a.context.Tk(),106010))b=a5c(a),_.A(b,1,c.length),a.Yj()}},Xhd=function(a,b){var c=b.Ic();b=Zhd(a,c);b=Nhd(b);var d=_.Bb(b.q4,function(e){return _.QL(_.GL(new _.FL,e.getId()))});a.context.wf.Zo(d);
a.H.JI.KO(b.HQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.HQ.map(function(e){return _.Al((new _.zl).Pb(e.getId()),_.cl(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.HQ.length+" divergent items"));if(a=f5c(a.context.Tk(),106016))c=b5c(a),_.A(c,1,b.HQ.length),_.A(c,2,b.q4.length),a.Yj()},Yhd=function(a,b){var c=b.Ic(),d=Zhd(a,c),e=a.H.zm.H(c);b=Phd(b,d);mfd(a.context.wf,b.q4);a.H.JI.KO(b.HQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.HQ.map(function(h){return _.Al((new _.zl).Pb(h.getId()),
_.cl(h))}));a.log(c,"SD update | Update "+b.q4.length+" item(s), "+(b.HQ.length+" divergent items"));if(d=f5c(a.context.Tk(),106017)){var f=b5c(d);_.A(f,1,b.HQ.length);_.A(f,2,b.q4.length);d.Yj()}e||Wfd(a.H.JI,c)},Zhd=function(a,b){var c=new _.bf;_.Fl(c,[b]);_.Gl(c,2);return q9c(a.H.zm,c)};Whd.prototype.log=function(a,b){this.context.Zf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var $hd=function(a,b,c){this.H=a;this.V=b;this.CJ=c};
$hd.prototype.bx=function(a,b){var c=this;if(a.UV().length){var d=Zad(this.H,a.Ic());if(d){var e=d?$ad(this.H,a):[];for(var f={},h=_.m(a.UV()),k=h.next();!k.done;f={CL:f.CL},k=h.next())if(k=k.value,f.CL=aid(e,k.en(),a.Ic()),_.R(k,3))fbd(this.H,f.CL),_.Th(b,function(r){return function(){c.H.O.W(Pad(r.CL))}}(f));else{for(var l=_.m(_.ck(k,_.EF,2)),p=l.next();!p.done;p=l.next())bid(this,f.CL,p.value);k=_.m(_.Pd(k,4));for(l=k.next();!l.done;l=k.next())cid(f.CL,l.value);this.H.zD([f.CL],!1,-1);b.then(function(r){return function(){return void c.H.lI(r.CL.getName(),
-2)}}(f),function(r){return function(){c.H.lI(r.CL.getName(),-2)}}(f))}e=this.qd(d.tk().response)}}e=e?e:this.qd();var q=e.R3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.UA(r));c.handleError(a.Ic(),r)});return e};$hd.prototype.qd=function(a){a=void 0===a?new vO:a;return new Z8c(a.Cc(1))};var aid=function(a,b,c){var d=a.find(function(e){return Oad(e.getName(),b)});d||(d=G5c((new pO).jd(b),c),a.push(d));return d};
$hd.prototype.handleError=function(a,b){hbd(this.V,a);a=_.JL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.CJ(a)};
var bid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new nO,d.Pb(c.getId()),F5c(b,b.O().concat([d])),did(d,c));if(1===oO(d))d.setBooleanValue(_.R(c,3));else if(12===oO(d))d.setDateStringValue(_.C(c,17));else if(2===oO(d))d.setTextValue(_.C(c,4));else if(3===oO(d))_.Pd(c,6).length?d.upa(_.Pd(c,6)):_.Pd(c,5).length&&(a=_.Pd(d,7).concat(_.Pd(c,5)),d.upa(a));else if(4===oO(d))d.setLongTextValue(_.C(c,7));else if(5===oO(d))d.setSelectionValue(_.C(c,8));else if(6===
oO(d))_.Pd(c,10).length?d.qpa(_.Pd(c,10)):_.Pd(c,9).length&&(a=d.qMa().concat(_.Pd(c,9)),d.qpa(a));else if(7===oO(d))d.setIntegerValue(_.C(c,11));else if(8===oO(d))_.Pd(c,13).length?d.ipa(_.Pd(c,13)):_.Pd(c,12).length&&(a=_.Pd(d,12).concat(_.Pd(c,12)),d.ipa(a));else if(10===oO(d))d.setUserValue(a.O(_.C(c,14)));else if(11===oO(d))_.Pd(c,16).length?C5c(d,_.Pd(c,16).map(a.O)):_.Pd(c,15).length&&C5c(d,d.aBa().concat(_.Pd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(oO(d)+
"."),new _.nc(d,new _.mc);},cid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===oO(a))_.Qj(a,5);else if(12===oO(a))_.Qj(a,17);else if(2===oO(a))_.Qj(a,6);else if(3===oO(a))_.HH(a,7);else if(4===oO(a))_.Qj(a,8);else if(5===oO(a))_.Qj(a,9);else if(6===oO(a))_.HH(a,10);else if(7===oO(a))_.Qj(a,11);else if(8===oO(a))_.HH(a,12);else if(10===oO(a))_.Rj(a,15);else if(11===oO(a))_.Sj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(oO(a)+"."),new _.nc(a,new _.mc);
},did=function(a,b){_.Q(b,3)?a.TA(1):_.Q(b,17)?a.TA(12):_.Q(b,4)?a.TA(2):_.Pd(b,6).length||_.Pd(b,5).length?a.TA(3):_.Q(b,7)?a.TA(4):_.Q(b,8)?a.TA(5):_.Pd(b,10).length||_.Pd(b,9).length?a.TA(6):_.Q(b,11)?a.TA(7):_.Pd(b,13).length||_.Pd(b,12).length?a.TA(8):_.Q(b,14)?a.TA(10):(_.Pd(b,16).length||_.Pd(b,15).length)&&a.TA(11)};$hd.prototype.O=function(a){return _.PVc(_.NVc(1),a)};
var eid=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};eid.prototype.apply=function(a,b){var c=this;if(!_.OM(a))return b;var d=null;a instanceof _.gM?d=fid(this,a,b):a instanceof _.nM?d=gid(this,a,b):a instanceof _.ML?d=this.bx(a,b):a instanceof _.bM?d=hid(this,a,b):a instanceof _.GM&&(d=this.va.bx(a,b));d&&(this.W++,this.ha.setActive(!1),_.Th(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Ph(d):b};
var fid=function(a,b,c){bbd(a.O,b.getId());var d=a.H.zm.H(b.getId());_.Th(c.then(function(){return void a.ma("VMiG2e")},a.oa.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.JL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.NM).Cc(1)},gid=function(a,b,c){var d=_.C(b,2);d&&a.O.H.push(d);c.then(function(){d&&dbd(a.O,d)&&_.Th(iid(a,d,new _.SYc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.va(a.O.H,
d)});c.then(null,function(e){e=_.JL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.NM).Cc(1)},iid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Sh(),h=c.Xa();_.mH(c);setTimeout(function(){a.ka.then(function(k){var l=_.pf(new _.of,1425);l=R1c(!0,1,l);return k.Ve(l).then(function(p){if(p=p.qd())if(p=p.Gd()[0],!p||(p.Vv()||0)>b){f.resolve();return}_.Th(iid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Th(iid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},hid=function(a,b,c){var d=b.Bc(),e=a.H.zm.H(d);if(!e)return null;e=e.clone();yfd(a.H,[e],[157]);var f=e.hh();jid(f,_.ck(b,_.Vk,2));kid(f,_.ck(b,_.Vk,3));a.H.ql([e],-1,void 0,void 0,[157]);_.Th(c,function(){a.H.lI(d,-2)}).then(function(h){a.H.ql([_.E(h,_.Wk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.JL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return H6c(new G6c,e).Cc(1)},
jid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={kfa:c.kfa},d=b.next())c.kfa=d.value,_.ck(a,_.Vk,8).some(function(e){return function(f){return f.en()==e.kfa.en()}}(c))||_.ek(a,8,c.kfa,_.Vk,void 0)},kid=function(a,b){var c=b.map(function(d){return d.en()});b=_.ck(a,_.Vk,8).filter(function(d){return!c.includes(d.en())});a1c(a,b)};
eid.prototype.bx=function(a,b){var c=this,d=this.H.zm.H(a.getId());if(!d||d.Bc()&&0==a.Sh()||null!=_.R(a,40))return null;var e=_.Pd(a,10),f=_.Pd(a,9);if(0<e.length&&0<f.length&&(e=Object.values(p9c(this.H.zm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Ea(e),1<e.length))return null;var h=d.clone();lid(this,a,h);this.H.ql([h],-1,void 0,void 0,X4c(this.Kg));b.then(function(){return c.H.lI(a.getId(),-2)},function(){c.H.lI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.JL(k);
if(63==k.Fk()){var l=h.getId();_.A(k,22,l);_.A(k,23,f[0])}_.A(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.rXc((new _.NM).setItem(h),h.getId()).Cc(1)};
var lid=function(a,b,c){null!=b.Se()&&c.um(b.Se());null!=b.Ti()&&_.yWc(c,b.Ti());null!=b.getMimeType()&&_.MF(c,b.getMimeType());null!=_.C(b,7)&&_.mTb(c,_.C(b,7));null!=_.R(b,11)&&_.sWc(c,_.R(b,11));null!=_.R(b,4)&&c.Ev(_.R(b,4));null!=_.R(b,16)&&_.xWc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Pn(b.Sh()),_.wWc(c,b.Sh()));null!=_.R(b,18)&&_.SN(p1c(c,!0),_.R(b,18));_.Pd(b,8).length&&_.VM(c,_.Pd(b,8));if(_.Pd(b,9).length){var d=new Set(c.mk());_.Pd(b,9).forEach(function(p){return d.add(p)});
_.VM(c,[].concat(_.nd(d)))}if(_.Pd(b,10).length){var e=new Set(c.mk());_.Pd(b,10).forEach(function(p){return e.delete(p)});_.VM(c,[].concat(_.nd(e)));var f=c.ww();f&&_.Pd(b,10).includes(f)&&_.Qj(c,46)}if(!c.ww()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.zm.H(p);return q&&!!q.ww()||p==h});_.A(c,46,f||void 0)}c.mk().length&&(f=a.H.zm.H(c.mk()[0]))&&_.BWc(c,f.Bc());if(f=_.E(b,_.Tk,25)){var k=_.E(c,_.Tk,111)||new _.Tk;null!=_.R(f,1)&&k.dP(_.R(f,1));null!=_.C(f,2)&&_.nWc(k,_.C(f,2));_.x(c,111,
k)}var l=_.Pd(c,120);_.Pd(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Pd(b,32).forEach(function(p){_.va(l,p)});_.Pj(c,120,l)};eid.prototype.oa=function(a,b){var c=this,d=_.Uz(new _.Sz,[a]);this.ka.then(function(e){return e.Ve(d)}).then(function(e){e=e.qd().Gd()[0];c.H.ql([e.clone()],1)},function(){b&&c.H.ql([b.clone()],1)})};
var mid=function(a){this.H=a};_.L(mid,_.z_c);mid.prototype.execute=function(a,b,c){var d=_.z_c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.VKa||b instanceof _.CL&&_.PM(b.yd()))if(c=o5c(this.H))return c;return b instanceof _.nM?(c=_.pf(new _.of,1424),a.Ve(R1c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Gd()[0])&&_.Q(e,96)&&b.tda(e.Vv())},function(){})):null};
var g2c=function(a,b){return[nid,oid,pid,qid].reduce(function(c,d){var e;0!==c?e=c:e=_.Fa(d(a),d(b));return e},0)},nid=function(a){return rid[a.$f()]},oid=function(a){return sid[a.getType()]},pid=function(a){return a.getName()||""},qid=function(a){return a.getId()||""},KP={},rid=(KP[5]=0,KP[7]=1,KP[1]=2,KP[3]=3,KP[4]=4,KP[2]=5,KP[6]=6,KP),tid={},sid=(tid[1]=0,tid[2]=1,tid[3]=2,tid[4]=3,tid);
var uid=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.oa=k;this.Kg=l};
uid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.NM&&8===b.Bb()))if(a instanceof _.aM||a instanceof _.cM||a instanceof _.pVc||a instanceof _.ML||a instanceof _.IM||a instanceof _.xVc||a instanceof _.KM||a instanceof _.bO){var d=_.PL(b.getItem().clone(),9);this.H.ql([d],1);Dbd(this.oa,b.getItem(),_.hN(this.Kg))}else a instanceof _.gM?(b=_.QL(_.GL(new _.FL,a.getId())),this.H.Zo([b])):a instanceof _.jM?(b=_.QL(_.IUc(_.GL(new _.FL,a.getId()),a.getId())),this.H.Zo([b]),vhd(this.ma,b)):
a instanceof _.nM?(b=R1c(!0).yd(),b=this.H.zm.query(b).map(function(e){return _.QL(_.GL(new _.FL,e.getId()))}),this.H.Zo(b)):a instanceof _.eM?this.O.remove(a.Ah()):a instanceof _.qM||a instanceof _.FM?this.O.put(b.Br()):a instanceof _.hM?f2c(this.H,a):a instanceof _.eD?this.W.remove(a.getKey()):a instanceof _.rM?h2c(this.H,a,_.E(b,_.Dk,2)):a instanceof _.fD?this.W.put(b.GMa()):a instanceof _.dM||a instanceof _.JM?this.ha.zD([b.mn()],!1):a instanceof _.kM?this.ha.zD([qbd(a.getId())],!1):a instanceof
_.oVc?this.V.zD(b.response.O(),!1,1):a instanceof _.GM?(a.UV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.en()||"",a.Ic())}),hbd(this.ka,a.Ic()),this.H.l2a(a.Ic())):a instanceof _.mN&&_.ck(a,_.q6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.E(e,_.tO,2),e.getType()){case 1:case 2:if(e=c.H.zm.H(e.Ic())){var f=new _.FL;f=_.A(f,5,!0);e=_.GL(f,e.getId()).setItem(e.clone());c.H.Zo([e])}}}})};
var vid=function(a){this.H=a};
vid.prototype.translate=function(a){if(a instanceof _.CM){var b=this.H.H(a.getId());if(!b)return new _.mc;var c=(new _.ML).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.le(d)||_.R(d,9)?c.Pn(!0):_.NL(c,!1)}else d=a.getParent(),1===b.wp()?c.Pn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?w4c(c,[d]):_.NL(c,!1)):_.NL(c,!1);return c}if(a instanceof _.DM)return y4c(x4c(w4c(v4c((new _.ML).Pb(a.getId()),_.Pd(a,2)),_.Pd(a,3)),_.R(a,6)),_.ck(a,_.zl,8));if(a instanceof _.EM){b=this.H.H(a.getId());
if(!b)return new _.mc;c=(new _.ML).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.le(d)||_.R(d,9)?c.Pn(!1):_.NL(c,!0)):(d=a.getParent(),1===b.wp()?c.Pn(!1):d?(b=this.H.H(d),!b||_.Sk(b.getCapabilities())?v4c(c,[d]):_.NL(c,!0)):_.NL(c,!0));return c}if(a instanceof _.zN)return new _.pVc(a);if(a instanceof _.wP)return _.Pd(a,1).map(function(f){var h=new _.GM;f=_.A(h,1,f);h=a.UV();f=_.Cb(f,2,h);h=a.we();return _.x(f,3,h)});if(a instanceof _.mM){c=R1c(!1,1).yd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Vv())&&(e=Math.max(e,f))});return j5c(new _.nM,a).tda(e)}return a};
var wid=function(){};wid.prototype.validate=function(a){var b=null;a instanceof _.vM?(a=a.getId()||"",_.ee(a)&&(b="Tried to request backup with no id.")):a instanceof _.fM&&(a=a.getId()||"",_.ee(a)&&(b="Tried to delete backup with no id."));return b?_.JL(b):null};
var xid=function(a,b){this.O=a;this.H=b},Bid=function(a,b){_.GN(["drive#about"],b);var c=new _.xP,d=new _.TA;if(b.user){var e=_.MN(a.O,b.user);_.x(d,1,e)}a=yid(a,b);a=p4c(o4c(_.n4c(new _.Hsb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.r4c(a,_.c4c(_.b4c((new _.SA).Cc(zid[e.status]),Number(e.trialMillisRemaining)),_.HN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.s4c(a,_.e4c(_.d4c(new _.Csb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&q4c(a,b.importFormats.map(function(f){var h=new _.m4c;h=_.A(h,1,f.source);return _.Pj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,Aid[b.adminSecureLinkSetting]);_.x(d,3,a);_.hed(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},yid=function(a,b){var c;var d=new _.Gsb;d=_.A(d,1,Number(b.quotaBytesTotal));d=_.A(d,2,Number(b.quotaBytesUsed));d=_.A(d,3,Number(b.quotaBytesUsedAggregate));d=_.A(d,4,Number(b.quotaBytesUsedInTrash));d=_.i4c(_.h4c(_.g4c(_.f4c(d,
j2c(b.quotaBytesByService||[])),Cid[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-l2c(b);d=_.A(d,9,e);d=_.j4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.l1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.k4c(d,Did[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Fsb;var f=
_.p2a(new Date(b.graceQuotaInfo.endDate));e=_.x(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.x(d,12,e)}(null===(c=_.LL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.l1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},Did={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},k2c=new Set(["POOLED_STORAGE","FAMILY"]),zid={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},i2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},Cid={LIMITED:1,UNLIMITED:2,POOLED:3},Aid={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var Eid={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},Fid={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},Gid={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},Hid={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},Iid={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},Jid={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},Kid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},Lid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},Mid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},Nid={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},Oid={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},Pid={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},Qid={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},Rid={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Sid={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Tid={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Uid={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Vid={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Wid={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Xid={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Yid={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Zid={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},fjd=function(a){return a.map(function(b){var c=new _.S8c;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=$id(e);_.x(c,2,d);break;case "actors":d=ajd(e);_.Cb(c,3,d);break;case "actions":d=bjd(e);_.Cb(c,
4,d);break;case "targets":d=cjd(e);_.Cb(c,5,d);break;case "timestamp":c.O(djd(e));break;case "timeRange":d=ejd(e),_.dk(c,7,R8c[0],d)}}return c})},bjd=function(a){return a.map(function(b){var c=new _.P8c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=$id(e);_.x(c,1,d);break;case "source":d=new f8c;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":_.Zj(d,2,Eid[h]);break;case "appId":_.Yj(d,1,h)}}_.x(c,2,d);break;case "actor":d=gjd(e);_.x(c,3,d);break;case "target":d=hjd(e);_.x(c,4,d);break;case "timestamp":c.O(djd(e));break;case "timeRange":d=ejd(e),_.dk(c,6,O8c[0],d)}}return c})},cjd=function(a){return a.map(function(b){return hjd(b)})},jjd=function(a){return a.map(function(b){return ijd(b)})},kjd=function(a){return a.map(function(b){var c=new _.K7c;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.Ag(ijd(e));break;case "shortcut":d=ijd(e),_.x(c,2,d)}}return c})},hjd=function(a){var b=new _.j8c;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=ljd(d);_.dk(b,1,_.i8c[0],c);break;case "drive":c=new _.g8c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);
break;case "title":c.setTitle(f);break;case "root":e=ljd(f),_.x(c,3,e)}}_.dk(b,5,_.i8c[0],c);break;case "fileComment":c=new _.h8c;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":_.Yj(c,1,f);break;case "legacyDiscussionId":_.Yj(c,2,f);break;case "linkToDiscussion":_.Yj(c,3,f);break;case "parent":c.Ag(ljd(f))}_.dk(b,3,_.i8c[0],c)}}return b},ijd=function(a){var b=new _.yO;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 t7c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new r7c;_.dk(e,8,s7c[0],f);break;case "driveFolder":e=mjd(f);_.dk(c,9,s7c[0],e);break;case "driveShortcut":e=njd(f),_.dk(c,10,s7c[0],e)}}_.dk(b,1,u7c[0],c);break;case "drive":c=ojd(d),_.dk(b,3,
u7c[0],c)}}return b},ljd=function(a){var b=new _.q7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Yj(b,6,d);break;case "version":_.Uj(b,5,d);break;case "owner":c=new l7c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":c.nn(pjd(f));break;case "user":e=
LP(f);_.dk(c,1,k7c[0],e);break;case "drive":e=ojd(f),_.dk(c,4,k7c[0],e)}}_.x(b,7,c);break;case "driveFile":c=new r7c;_.dk(b,8,m7c[0],c);break;case "driveFolder":c=mjd(d);_.dk(b,9,m7c[0],c);break;case "driveShortcut":c=njd(d),_.dk(b,10,m7c[0],c)}}return b},ojd=function(a){var b=new j7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d)}}return b},mjd=function(a){var b=new o7c;
a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "type":_.Zj(b,6,Fid[d])}}return b},njd=function(a){var b=new p7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.Yj(b,1,d);break;case "targetMimeType":_.Yj(b,2,d)}}return b},ajd=function(a){return a.map(function(b){return gjd(b)})},gjd=function(a){var b=new _.e8c;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=LP(d);_.dk(b,1,_.d8c[0],c);break;case "anonymous":c=new a8c;_.dk(b,2,_.d8c[0],c);break;case "impersonation":c=new _.b8c;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=LP(f),_.x(c,1,e)}}_.dk(b,3,_.d8c[0],c);break;case "system":c=new _.c8c;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":_.Zj(c,1,Gid[f])}_.dk(b,4,_.d8c[0],c);break;case "administrator":c=new _.$7c,_.dk(b,5,_.d8c[0],c)}}return b},qjd=function(a){return a.map(function(b){return LP(b)})},LP=function(a){var b=new _.R6c;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 _.wO;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":_.Yj(c,1,f);break;case "isCurrentUser":_.Vj(c,2,f);break;case "displayName":_.Yj(c,3,f);break;case "photoUrl":c.uo(f)}}_.dk(b,2,_.P6c[0],c);break;case "unknownUser":c=new S6c;_.dk(b,4,_.P6c[0],c);break;case "deletedUser":c=new _.Q6c,_.dk(b,3,_.P6c[0],c)}}return b},djd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.o2a((new _.tx).setSeconds(a),b)},ejd=function(a){var b=new _.JO;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.BY(djd(d));break;case "endTime":b.GF(djd(d))}}return b},pjd=function(a){var b=new i7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "legacyId":_.Yj(b,3,d);break;case "audienceDisplayName":_.Yj(b,4,d)}}return b},$id=function(a){for(var b=new _.DO,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 _.x7c,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,u=q.next().value;switch(r){case "new":var y=k,z=new y7c;_.dk(y,1,_.v7c[0],z);break;case "upload":var D=k,G=new z7c;_.dk(D,2,_.v7c[0],G);break;case "copy":for(var I=u,M=new _.w7c,O=_.m(Object.entries(I)),X=O.next();!X.done;X=O.next()){var ra=_.m(X.value),fa=ra.next().value,na=ra.next().value;
switch(fa){case "originalObject":var sa=ijd(na);_.x(M,1,sa)}}_.dk(k,3,_.v7c[0],M)}}_.dk(b,1,_.CO[0],k);break;case "edit":var ua=new E7c;_.dk(b,2,_.CO[0],ua);break;case "move":for(var Wa=new _.M7c,Ia=_.m(Object.entries(h)),Ra=Ia.next();!Ra.done;Ra=Ia.next()){var Zb=_.m(Ra.value),ub=Zb.next().value,wc=Zb.next().value;switch(ub){case "addedParents":var Sc=jjd(wc);_.Cb(Wa,1,Sc);break;case "removedParents":var gd=jjd(wc);_.Cb(Wa,2,gd);break;case "fromOwnershipTransfer":_.Vj(Wa,3,wc);break;case "reparents":var ve=
wc.map(rjd);_.Cb(Wa,4,ve);break;case "multiparentingMigration":for(var be=wc,Jf=new _.L7c,yc=_.m(Object.entries(be)),yb=yc.next();!yb.done;yb=yc.next()){var Dg=_.m(yb.value),Ug=Dg.next().value,Ve=Dg.next().value;switch(Ug){case "removedParents":var dj=jjd(Ve);_.Cb(Jf,2,dj);break;case "migratedParents":var $f=kjd(Ve);_.Cb(Jf,1,$f)}}_.x(Wa,5,Jf)}}_.dk(b,3,_.CO[0],Wa);break;case "rename":for(var Bi=new _.S7c,Gg=_.m(Object.entries(h)),el=Gg.next();!el.done;el=Gg.next()){var $e=_.m(el.value),af=$e.next().value,
mh=$e.next().value;switch(af){case "oldTitle":_.Yj(Bi,1,mh);break;case "newTitle":_.Yj(Bi,2,mh)}}_.dk(b,4,_.CO[0],Bi);break;case "delete":for(var Uh=new _.C7c,sj=_.m(Object.entries(h)),Lk=sj.next();!Lk.done;Lk=sj.next()){var Ln=_.m(Lk.value),vp=Ln.next().value,Ri=Ln.next().value;switch(vp){case "type":_.Zj(Uh,1,Hid[Ri])}}_.dk(b,5,_.CO[0],Uh);break;case "restore":for(var pi=new _.T7c,fl=_.m(Object.entries(h)),Rf=fl.next();!Rf.done;Rf=fl.next()){var Kl=_.m(Rf.value),tj=Kl.next().value,pk=Kl.next().value;
switch(tj){case "type":_.Zj(pi,1,Iid[pk])}}_.dk(b,6,_.CO[0],pi);break;case "permissionChange":for(var ej=new _.P7c,Ll=_.m(Object.entries(h)),Im=Ll.next();!Im.done;Im=Ll.next()){var Mk=_.m(Im.value),Ml=Mk.next().value,Vg=Mk.next().value;switch(Ml){case "addedPermissions":var Nl=sjd(Vg);_.Cb(ej,1,Nl);break;case "removedPermissions":var Ci=sjd(Vg);_.Cb(ej,2,Ci);break;case "resharedPermissions":var Ij=sjd(Vg);_.Cb(ej,3,Ij);break;case "otherActivePermissions":var Jj=sjd(Vg);_.Cb(ej,4,Jj)}}_.dk(b,7,_.CO[0],
ej);break;case "comment":for(var uj=new _.h7c,gl=_.m(Object.entries(h)),vj=gl.next();!vj.done;vj=gl.next()){var hl=_.m(vj.value),mf=hl.next().value,Kj=hl.next().value;switch(mf){case "post":for(var hm=Kj,im=new _.e7c,jm=_.m(Object.entries(hm)),Si=jm.next();!Si.done;Si=jm.next()){var Gc=_.m(Si.value),Wj=Gc.next().value,Vh=Gc.next().value;switch(Wj){case "subtype":_.Zj(im,1,Kid[Vh])}}_.dk(uj,1,_.d7c[0],im);break;case "assignment":for(var wj=Kj,mg=new _.f7c,Hg=_.m(Object.entries(wj)),Nk=Hg.next();!Nk.done;Nk=
Hg.next()){var km=_.m(Nk.value),hi=km.next().value,qi=km.next().value;switch(hi){case "subtype":_.Zj(mg,1,Lid[qi]);break;case "assignedUser":var qk=LP(qi);_.x(mg,7,qk)}}_.dk(uj,2,_.d7c[0],mg);break;case "suggestion":for(var fj=Kj,wo=new _.g7c,jn=_.m(Object.entries(fj)),il=jn.next();!il.done;il=jn.next()){var Xj=_.m(il.value),Mn=Xj.next().value,xo=Xj.next().value;switch(Mn){case "subtype":_.Zj(wo,1,Mid[xo])}}_.dk(uj,3,_.d7c[0],wo);break;case "mentionedUsers":var jq=qjd(Kj);_.Cb(uj,7,jq)}}_.dk(b,8,
_.CO[0],uj);break;case "dlpChange":for(var Po=new _.B7c,Rm=_.m(Object.entries(h)),Bj=Rm.next();!Bj.done;Bj=Rm.next()){var Qo=_.m(Bj.value),Dp=Qo.next().value,Ep=Qo.next().value;switch(Dp){case "type":_.Zj(Po,1,Nid[Ep])}}_.dk(b,9,_.CO[0],Po);break;case "view":for(var ur=new Z7c,Qw=_.m(Object.entries(h)),vr=Qw.next();!vr.done;vr=Qw.next()){var Gs=_.m(vr.value),wA=Gs.next().value,TC=Gs.next().value;switch(wA){case "type":_.Zj(ur,1,Oid[TC]);break;case "viewHistoryVisibility":for(var mv=TC,zr=new Y7c,
Ar=_.m(Object.entries(mv)),Qt=Ar.next();!Qt.done;Qt=Ar.next()){var xA=_.m(Qt.value),yA=xA.next().value,IN=xA.next().value;switch(yA){case "domainPolicyVisibilityState":_.Zj(zr,1,Pid[IN]);break;case "namedPartyState":_.Zj(zr,2,Qid[IN])}}_.x(ur,2,zr)}}_.dk(b,10,_.CO[0],ur);break;case "download":for(var tS=new D7c,yF=_.m(Object.entries(h)),nv=yF.next();!nv.done;nv=yF.next()){var JN=_.m(nv.value),uS=JN.next().value,vS=JN.next().value;switch(uS){case "type":_.Zj(tS,1,Rid[vS])}}_.dk(b,11,_.CO[0],tS);break;
case "reference":for(var qy=new _.K6c,ov=_.m(Object.entries(h)),tl=ov.next();!tl.done;tl=ov.next()){var UC=_.m(tl.value),Js=UC.next().value,KN=UC.next().value;switch(Js){case "type":_.Zj(qy,1,Sid[KN]);break;case "context":for(var ry=qy,pv=ry.Yi,ii=KN,hZ=new J6c,zF=_.m(Object.entries(ii)),Uw=zF.next();!Uw.done;Uw=zF.next()){var Ch=_.m(Uw.value),o7=Ch.next().value,qv=Ch.next().value;switch(o7){case "description":hZ.um(qv);break;case "url":_.Yj(hZ,2,qv)}}pv.call(ry,hZ)}}_.dk(b,12,_.CO[0],qy);break;case "settingsChange":for(var Fq=
new _.W7c,zA=_.m(Object.entries(h)),sy=zA.next();!sy.done;sy=zA.next()){var Br=_.m(sy.value),LN=Br.next().value,wS=Br.next().value;switch(LN){case "restrictionChanges":var p7=tjd(wS);_.Cb(Fq,1,p7)}}_.dk(b,13,_.CO[0],Fq);break;case "approvalChange":for(var Sl=new _.V6c,VC=_.m(Object.entries(h)),AF=VC.next();!AF.done;AF=VC.next()){var hJ=_.m(AF.value),q7=hJ.next().value,ty=hJ.next().value;switch(q7){case "approvalName":_.Yj(Sl,2,ty);break;case "approvalEventNames":_.Pj(Sl,3,ty);break;case "initiator":var Vw=
LP(ty);_.x(Sl,4,Vw);break;case "reviewers":var BF=qjd(ty);_.Cb(Sl,5,BF);break;case "status":Sl.Cc(Vid[ty]);break;case "dueTime":var iZ=djd(ty);_.x(Sl,7,iZ);break;case "approvalRequested":var r7=Sl,CF=new W6c;_.dk(r7,8,_.xO[0],CF);break;case "approvalCancelled":var iJ=Sl,s7=new X6c;_.dk(iJ,9,_.xO[0],s7);break;case "reviewerResponded":for(var xS=ty,jJ=new _.U6c,yS=_.m(Object.entries(xS)),AA=yS.next();!AA.done;AA=yS.next()){var RS=_.m(AA.value),XN=RS.next().value,YN=RS.next().value;switch(XN){case "reviewerDecision":_.Zj(jJ,
1,Wid[YN])}}_.dk(Sl,10,_.xO[0],jJ);break;case "commentAdded":var sv=Sl,qJ=new Y6c;_.dk(sv,11,_.xO[0],qJ);break;case "reviewersChanged":for(var Qza=ty,Y7=new $6c,QBb=_.m(Object.entries(Qza)),SS=QBb.next();!SS.done;SS=QBb.next()){var Rza=_.m(SS.value),RBb=Rza.next().value,Z7=Rza.next().value;switch(RBb){case "reviewerChanges":var $7=ujd(Z7);_.Cb(Y7,1,$7)}}_.dk(Sl,12,_.xO[0],Y7);break;case "dueTimeChanged":for(var Cwc=ty,SBb=new b7c,Sza=_.m(Object.entries(Cwc)),Tza=Sza.next();!Tza.done;Tza=Sza.next()){var TBb=
_.m(Tza.value),UBb=TBb.next().value,V0a=TBb.next().value;switch(UBb){case "oldDueTime":var YC=djd(V0a);_.x(SBb,1,YC)}}_.dk(Sl,13,_.xO[0],SBb)}}_.dk(b,18,_.CO[0],Sl);break;case "lock":var VBb=new G7c;_.dk(b,15,_.CO[0],VBb);break;case "unlock":var WBb=new X7c;_.dk(b,16,_.CO[0],WBb);break;case "appliedLabelChange":for(var W0a=new _.O6c,X0a=_.m(Object.entries(h)),Uza=X0a.next();!Uza.done;Uza=X0a.next()){var Y0a=_.m(Uza.value),Z0a=Y0a.next().value,XBb=Y0a.next().value;switch(Z0a){case "changes":var YBb=
vjd(XBb);_.Cb(W0a,1,YBb)}}_.dk(b,19,_.CO[0],W0a);break;case "publishChange":for(var Vza=new _.R7c,ZBb=_.m(Object.entries(h)),DZ=ZBb.next();!DZ.done;DZ=ZBb.next()){var Dia=_.m(DZ.value),TS=Dia.next().value,$Bb=Dia.next().value;switch(TS){case "oldPublishState":var Dwc=wjd($Bb);_.x(Vza,1,Dwc);break;case "newPublishState":var Ewc=wjd($Bb);_.x(Vza,2,Ewc)}}_.dk(b,20,_.CO[0],Vza);break;case "linkShareMetadataChange":for(var rJ=new _.F7c,$0a=_.m(Object.entries(h)),Wza=$0a.next();!Wza.done;Wza=$0a.next()){var a1a=
_.m(Wza.value),aCb=a1a.next().value,Fwc=a1a.next().value;switch(aCb){case "securityUpdateEnabled":_.Vj(rJ,1,Fwc)}}_.dk(b,21,_.CO[0],rJ)}}return b},rjd=function(a){var b=new _.I7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.Zj(b,1,Zid[d])}}return b},sjd=function(a){return a.map(function(b){var c=new _.BO;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":_.Zj(c,1,Jid[e]);break;case "user":d=LP(e);_.dk(c,2,_.AO[0],d);break;case "group":d=new _.zO;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":_.Yj(d,1,h);break;case "title":d.setTitle(h)}}_.dk(c,3,_.AO[0],d);break;case "domain":c.nn(pjd(e));break;case "anyone":d=new N7c;_.dk(c,5,_.AO[0],d);break;case "allowDiscovery":_.Vj(c,6,e)}}return c})},tjd=function(a){return a.map(function(b){var c=
new _.V7c;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":_.Zj(c,1,Tid[e]);break;case "newRestriction":_.Zj(c,2,Uid[e])}}return c})},ujd=function(a){return a.map(function(b){var c=new a7c;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=LP(e);_.x(c,3,d);break;case "addedReviewer":d=LP(e),_.x(c,4,d)}}return c})},
vjd=function(a){return a.map(function(b){var c=new _.N6c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.wd(e);break;case "types":d=xjd(e),_.Pj(c,2,d)}}return c})},xjd=function(a){return a.map(function(b){return Xid[b]})},wjd=function(a){var b=new _.Q7c;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":_.Zj(b,
1,Yid[d]);break;case "signinRequired":_.Vj(b,2,d);break;case "publishedTime":c=djd(d),_.x(b,3,c)}}return b};
var zjd=function(a,b){var c=new Fdd;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=yjd(a),_.x(b,2,a));return b},yjd=function(a){_.GN(["drive#app"],a);var b=(new _.EO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=v8c(u8c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.A(b,8,a.createUrl);b=_.A(b,9,a.createInFolderTemplate);b=_.A(b,10,a.objectType);b=_.A(b,11,a.supportsCreate);b=_.A(b,12,a.supportsImport);b=_.A(b,13,a.supportsMultiOpen);b=_.A(b,27,a.supportsOfflineCreate);b=
_.A(b,14,a.installed);b=_.A(b,15,a.authorized);b=_.A(b,16,a.productUrl);b=_.Pj(b,17,a.primaryFileExtensions);b=_.Pj(b,18,a.secondaryFileExtensions);b=_.A(b,19,a.shortDescription);b=_.A(b,20,a.longDescription);b=_.A(b,21,a.productId);b=_.A(b,22,a.removable);b=_.A(b,23,Ajd[a.type]);b=_.A(b,25,a.hasAppData);b=_.A(b,26,a.appDataQuotaBytesUsed);b=_.A(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.A(b,30,a.hasDriveWideScope);b=_.A(b,31,a.driveSource);b=_.A(b,32,a.driveBranded);b=_.A(b,33,a.hidden);b=_.A(b,
34,a.supportsMobileBrowser);b=_.A(b,35,a.supportsTeamDrives);b=_.A(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.p8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,Bjd[k.category]);h.call(f,l)}_.Cb(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Pj(b,24,d);c=a.rankingInfo||{};a=new _.s8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=Cjd(c.mimeTypeScores||[]);_.Cb(a,2,d);c=Cjd(c.fileExtensionScores||[]);
_.Cb(a,3,c);_.x(b,29,a);return b},Cjd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.q8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},Ajd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},Bjd={application:1,document:2,documentShared:3};
var Ejd=function(a){var b=new Bed;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.oP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.HN(c.updateTime));d=_.A(d,4,Djd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.HN(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.fz()){var e=new ndd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.x(d,6,c)}else 2===d.fz()&&(e=new _.mdd,e=_.A(e,1,c.deviceName),e=_.A(e,2,c.deviceModelName),
e=_.A(e,3,c.shouldIncludeSpecialSyncItems),c=_.A(e,4,c.deviceAndroidId),_.x(d,7,c));return d});_.Cb(b,2,a);return b},Gjd=function(a){var b=new xed;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.pP).Pb(c.id);d=_.A(d,1,Fjd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.odd(d.setSize(c.size),_.HN(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).um(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Cb(b,1,a);return b},Djd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Fjd={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 Hjd=function(a,b){this.H=a;this.O=b};
var Ijd={read:2,write:3,comment:4},Jjd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.MF((new _.Wk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.WM(d,_.B_c(c.userCapabilities));_.hN(b).includes(19)&&_.zWc(d,!0);Dbd(a,d,_.hN(b));_.AWc(d,4);return d},Ljd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Fna;f=_.A(f,2,Kjd(e));e=Jjd(a,b,e);e=_.x(e,100,f);d.push(e)}});c=(new _.KA).Vw(d).QP(c.suggestionSessionId);return _.iZc(new _.AN,c)},Njd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=Mjd(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=Jjd(a,b,l),d.push(q));l=V3c(U3c(T3c(new _.Cna,k.clone()),Kjd(l)),l.url);_.ek(q,107,l,_.Cna,void 0)})}});return u5c((new _.qN).Vw(d),e).QP(c.suggestionSessionId)},Mjd=function(a){return _.PVc((new _.Dk).Pb(a.id).jd(a.displayName),a.emailAddress).uo(a.photoUrl)},
Pjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=Jjd(a,b,e);e=Ojd(e);f=_.Cb(f,117,e);d.push(f)}});c=(new _.KA).Vw(d).QP(c.suggestionSessionId);return _.iZc(new _.AN,c)},Ojd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.jna,e=Qjd(c);e&&_.dk(d,2,_.Gk[0],e);(e=Rjd(c))&&L2c(d,e);(e=Sjd(c))&&_.dk(d,4,_.Gk[0],e);(e=Tjd(c))&&_.dk(d,5,_.Gk[0],e);(e=Ujd(c))&&_.dk(d,6,_.Gk[0],e);(e=Vjd(c))&&_.dk(d,7,_.Gk[0],e);(e=Wjd(c))&&_.dk(d,8,_.Gk[0],e);(e=Xjd(c))&&
_.dk(d,9,_.Gk[0],e);(e=Yjd(c))&&_.dk(d,10,_.Gk[0],e);(c=Zjd(c))&&_.dk(d,11,_.Gk[0],c);return d}):(a=MP(a),a=v3c([a]),[L2c(new _.jna,a)])},akd=function(a){return(a.justification||[]).map(function(b){return $jd(b)})},MP=function(a){return(a=a.justification)?$jd(a):null},$jd=function(a){var b=I2c(new _.Fk,bkd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=Mjd(c),_.dk(b,3,_.ina[0],c),J2c(b,[c])):d?(c=(d.person||[]).map(function(e){return Mjd(e)}),d=H2c(c),_.dk(b,4,_.ina[0],d),J2c(b,c)):(c=(a.person||
[]).map(function(e){return Mjd(e)}),c.length&&(d=H2c(c),_.dk(b,4,_.ina[0],d),J2c(b,c)));_.A(b,5,_.HN(a.eventTime));K2c(b,bkd(a.justificationDescription));return b},bkd=function(a){if(!a)return null;a=a.textSegment||[];return E2c(new _.gna,a.map(function(b){var c=(new _.Bk).kh(b.text),d=b.link;if(d){var e=new _.Ck;d=_.A(e,1,d.url)}else d=null;c=_.x(c,2,d);c=_.A(c,3,b.bold);return _.A(c,4,b.italic)}))},Qjd=function(a){a=a.documentDocosAction;if(!a)return null;var b=j3c(new _.pna,MP(a));i3c(b,(a.subAction||
[]).map(function(c){var d=new _.rna;c.reply?(c=new _.lna,_.dk(d,1,_.qna[0],c)):c.resolve?(c=new S2c,_.dk(d,2,_.qna[0],c)):c.reassign?(c=new Q2c,_.dk(d,3,_.qna[0],c)):c.acceptSuggestion?(c=new M2c,_.dk(d,4,_.qna[0],c)):c.rejectSuggestion?(c=new R2c,_.dk(d,5,_.qna[0],c)):c.openThread&&(c=new _.kna,_.dk(d,6,_.qna[0],c));return d}));_.A(b,2,a.discussionId);_.A(b,3,a.postId);k3c(b,bkd(a.anchorText));return b},Sjd=function(a){a=a.documentShareAction;if(!a)return null;var b=n3c(new _.Jk,MP(a));m3c(b,(a.subAction||
[]).map(function(c){var d=new p3c;c.suggestedShare?(c=new W2c,_.dk(d,1,o3c[0],c)):c.responseToRequest&&(c=new T2c,_.dk(d,2,o3c[0],c));return d}));l3c(b,(a.sharee||[]).map(function(c){return Mjd(c)}));_.A(b,3,Ijd[a.shareeRole]);return b},Rjd=function(a){a=a.documentViewAction;if(!a)return null;var b=v3c(akd(a));u3c(b,(a.subAction||[]).map(function(c){var d=new x3c;c.open?d.ug(new gO):c.reviewEdits&&(c=new U2c,_.dk(d,2,w3c[0],c));return d}));return b},Tjd=function(a){a=a.emailViewAction;if(!a)return null;
var b=I3c(new G3c,MP(a));H3c(b,(a.subAction||[]).map(function(c){var d=new K3c;c.openEmail&&d.ug(new O2c);return d}));return b},Ujd=function(a){a=a.calendarEventAction;if(!a)return null;var b=b3c(a3c($2c(new _.Hk,a.eventId),MP(a)),a.guestCount);Z2c(b,(a.subAction||[]).map(function(c){var d=new d3c;if(c.viewCalendarEvent){var e=new X2c;_.dk(d,1,c3c[0],e)}c.shareWithAttendees&&(e=new V2c,_.dk(d,2,c3c[0],e));c.present&&(e=new P2c,_.dk(d,3,c3c[0],e));c.openDocument&&(c=new gO,_.dk(d,4,c3c[0],c));return d}));
return b},Vjd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=C3c(B3c(new z3c,a.workspaceId),MP(a));A3c(b,(a.subAction||[]).map(function(c){var d=new E3c;c.addToWorkspace&&(c=new N2c,_.dk(d,1,D3c[0],c));return d}));return b},Wjd=function(a){a=a.documentTopicAction;if(!a)return null;var b=r3c(new _.Kk,MP(a));q3c(b,(a.subAction||[]).map(function(c){var d=new t3c;c.openDocument&&(c=new gO,_.dk(d,1,s3c[0],c));return d}));return b},Xjd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=Q3c(new _.Qk,MP(a));P3c(b,(a.subAction||[]).map(function(c){var d=new S3c;c.openDocument&&(c=new gO,_.dk(d,1,R3c[0],c));return d}));return b},Yjd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=f3c(new _.Ik,MP(a));e3c(b,(a.subAction||[]).map(function(c){var d=new h3c;c.openDocument&&(c=new gO,_.dk(d,1,g3c[0],c));return d}));return b},Zjd=function(a){a=a.formResponseAction;if(!a)return null;var b=M3c(new _.Pk,akd(a));L3c(b,(a.subAction||[]).map(function(c){var d=new O3c;c.openDocument?
(c=new gO,_.dk(d,1,N3c[0],c)):c.viewResponses&&(c=new Y2c,_.dk(d,2,N3c[0],c));return d}));return b},Kjd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var ckd=function(a,b){this.H=a;this.O=b},ekd=function(a,b,c){_.GN(["drive#categoryMetadataList"],c);var d=new vO,e=Object.values(c.categoryMetadata||{});F6c(d,e.map(function(f){return dkd(a,f,b.Ic())}));d.Cc(1);return new _.tN(d,ddd(c))},gkd=function(a,b){var c=new uP;Ndd(c,(b.categories||[]).map(function(d){return fkd(a,d)}));c.Cc(1);return new $8c(c,ddd(b))},dkd=function(a,b,c){_.GN(["drive#categoryMetadata"],b);c=G5c((new pO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);F5c(c,b.map(function(d){return hkd(a,
d)}).filter(function(d){return d}));return c},fkd=function(a,b){var c,d=o6c(f6c(l6c(k6c(j6c(e6c(d6c((new sO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).um(b.description),_.HN(b.createTime)),_.HN(b.updateTime)),_.HN(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new a6c).Pb(e.id);h=_.A(h,2,e.queryGuid);h=_.A(h,3,e.helpText);h=_.A(h,4,e.displayName);if(e.attributeDisplayHints){var k=ikd(e.attributeDisplayHints);_.x(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new J5c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.x(h,6,k)}_.A(h,7,jkd[f]);e=e[kkd(f)+"Options"];return lkd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&g6c(d,mkd(b.createdBy));b.updatedBy&&h6c(d,mkd(b.updatedBy));b.publishedBy&&i6c(d,mkd(b.publishedBy));b.displayHints&&m6c(d,ikd(b.displayHints));b.capabilities&&n6c(d,nkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},hkd=function(a,b){_.GN(["drive#categoryAttributeValue"],
b);var c=(new nO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),D5c(c,b.map(function(d){_.GN(["drive#userScopedAttributeValue"],d);var e=new A5c,f=_.MN(a.H,d.scopedUser);e=_.x(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.TA(9);else if(!a.Jb(c,b))return null;return c},ikd=function(a){var b=(new I5c).hk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},nkd=function(a){var b=new c6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},lkd=function(a,b,c,d){return okd(a,function(){pkd(a)[c](b,d)},c,b)},qkd=function(a){a=void 0===a?{}:a;var b=new M5c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},skd=function(a){var b=new S5c;T5c(b,(a.choices||[]).map(function(c){var d=(new R5c).wd(c.label).Jb(c.value);c.description&&d.um(c.description);if(c.capabilities){var e=c.capabilities;var f=new P5c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.x(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new Q5c).hk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=rkd(c.badgeColors),_.x(e,3,f)),c.darkBadgeColors&&(c=rkd(c.darkBadgeColors),_.x(e,4,c)),_.x(d,4,e));return d}));return b},rkd=function(a){var b=new H5c;var c=tkd(a.backgroundColor);b=_.x(b,1,c);c=tkd(a.foregroundColor);b=_.x(b,2,c);a=tkd(a.soloColor);return _.x(b,3,a)},tkd=function(a){var b=new _.qC;b=_.Tj(b,1,a.red,0);b=_.Tj(b,2,a.green,0);b=_.Tj(b,3,a.blue,0);a.alpha&&(a=
(new t4c).Jb(a.alpha),_.x(b,4,a));return b},ukd=function(a){var b=new W5c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},vkd=function(a){var b=(new _.Xna).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};ckd.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.TA(jkd[d]);return okd(this,function(){wkd(c)[d](a,b[b.valueType])},b.valueType)};
var okd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof Y5c))return W4c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},mkd=function(a){return _.NVc(1).Pb(a.personName.split("/")[1])},kkd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},pkd=function(a){return{BOOLEAN:function(b,c){var d=b.U3a;var e=new N5c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.rda(qkd(c))},TEXT_LIST:function(b,c){var d=b.U4a;var e=new V5c;e=_.A(e,1,c.maxEntries);c=qkd(c.options);c=_.x(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new L5c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.dk(b,10,qO[0],c)},SELECTION:function(b,c){return b.H4a(skd(c))},SELECTION_LIST:function(b,c){var d=b.G4a;var e=new U5c;e=_.A(e,1,c.maxEntries);c=skd(c.options);c=_.x(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.g4a(ukd(c))},INTEGER_LIST:function(b,
c){var d=b.f4a;var e=new X5c;e=_.A(e,1,c.maxEntries);c=ukd(c.options);c=_.x(e,2,c);return d.call(b,c)},USER:function(b){return b.Z4a(new Z5c)},USER_LIST:function(b,c){var d=b.ypa,e=new $5c;c=_.A(e,1,c.maxEntries);e=new Z5c;c=_.x(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.epa;var e=new K5c;e=_.A(e,4,c.dateFormat);var f=vkd(c.minValue);e=_.x(e,2,f);c=vkd(c.maxValue);c=_.x(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new Y5c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,jkd[e]);c=c[kkd(e)+"Options"];lkd(a,d,e,c);return _.dk(b,16,qO[0],d)}}},wkd=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.upa(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.qpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.ipa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.MN(a.H,c))},USER_LIST:function(b,c){C5c(b,c.map(function(d){return _.MN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},jkd={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 xkd=function(a){a=a.personResponse;return v$c(new u$c,a.map(function(b){var c=b.person;b=r$c(new VO,b.personId);var d=b.jd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=s$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new q$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.x(b,4,c)}))};
var ykd=function(a){this.H=a},Akd=function(a,b){_.GN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return zkd(a,c)})},zkd=function(a,b){_.GN(["drive#teamDrive","drive#drive"],b);var c=new _.Hna,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.A(c,2,d);_.A(c,1,b.backgroundImageLink);_.A(c,3,b.trusted);_.A(c,5,b.backgroundImageGridViewLink);_.A(c,6,b.backgroundImageListViewLink);_.A(c,7,b.hidden);_.A(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
a1c(c,d.map(function(e){_.GN(["drive#driveCategoryReference"],e);var f=new _.Vk;return _.A(f,1,e.category)}));c=_.FWc(_.EWc(_.DWc(_.AWc(_.BWc($0c(_.MF((new _.Wk).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.aWc(_.B_c(b.capabilities),!0),_.WM(c,d));b.permissionsSummary&&_.CWc(c,_.R_c(a.H,b.permissionsSummary));b.restrictions&&c1c(c,Bkd(b.restrictions));return c},Bkd=function(a){var b=new W3c;
b=_.A(b,1,a.copyRequiresWriterPermission);b=_.A(b,2,a.disallowDriveFileStream);b=_.A(b,3,a.domainUsersOnly);return _.A(b,4,a.teamMembersOnly)};
var Ckd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},q2c=_.ab(Ckd);
var Dkd=function(a){_.GN(["drive#setting"],a);var b=new _.Rb;b=_.A(b,2,a.key);b=_.A(b,1,Ckd[a.namespace]);return _.QAa(new _.bp,b).Jb(a.value)};
var Fkd=function(a){_.GN(["drive#workspaceList"],a);var b=a.items||[];b=y$c(new WO,b.map(function(c){return Ekd(c)}));return new _.wN(b,ddd(a))},Ekd=function(a){_.GN(["drive#workspace"],a);var b=(new _.KF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.HN(a.createdDate));return _.A(b,4,_.HN(a.modifiedDate)).Nd(Gkd[a.state])},Hkd=function(a,b,c){var d=c.item||[];return _.H0c(_.G0c(new _.RN,d.map(function(e){return Jjd(a,b,e)})),c.suggestionSessionId)},Jkd=function(a,b,c){var d=c.item||[];return D8c(C8c(new GO,
d.map(function(e){return Ikd(a,b,e)})),c.suggestionSessionId)},Ikd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return A8c(y8c(z8c(x8c(new FO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Jjd(a,b,f)})),MP(c))},Kkd=function(a){var b=new _.x5c;a.kind&&(a=Ekd(a),_.x(b,2,a));b.Cc(1);return b},Gkd={active:1,archived:2};
var m2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var Lkd=function(a,b,c,d){_.$_c.call(this,b);this.Kg=a;this.ka=c;this.O=d;this.W=null;this.ma=new xid(this.V,b);this.H=new ykd(this.yF);this.oa=new Hjd(this.yF,this.H)};_.L(Lkd,_.$_c);var Mkd=function(a){a.W||(a.W=new ckd(a.V,a.ka));return a.W};
Lkd.prototype.ha=function(a,b){if(a instanceof _.YL)var c=_.J_c(_.e0c(a));else{if(a instanceof _.ZL)var d=_.b0c(this,a,b);else{if(a instanceof _.oVc)var e=Nkd(this,a.request,b);else{if(a instanceof _.$L)var f=_.b0c(this,a,b);else{if(a instanceof _.bM){if(!b.json)throw _.NN();var h=H6c((new G6c).Cc(1),zkd(this.H,b.json))}else{if(a instanceof _.aM)var k=_.b0c(this,a,b);else{if(a instanceof _.mN)var l=new t6c;else{if(a instanceof _.dM)var p=Okd(a,b);else{if(a instanceof _.eM)var q=zjd(void 0,a.Ah());
else{if(a instanceof _.fM)var r=new Ced;else{if(a instanceof _.gM)var u=_.J_c(_.e0c(a));else{if(a instanceof _.hM)var y=new tP;else{if(a instanceof _.iM)var z=_.J_c(_.e0c(a));else{if(a instanceof _.jM)var D=_.J_c(_.e0c(a));else{if(a instanceof _.eD){var G=new Gdd,I=a.getKey();var M=_.x(G,4,I)}else{if(a instanceof _.kM)var O=Okd(a,b);else{if(a instanceof _.nM)var X=_.J_c(_.e0c(a));else{if(a instanceof _.lVc){if(!b.json)throw _.NN();var ra=new Y8c(b.json.exportJob.id)}else{if(a instanceof _.pM){if(!b.json)throw _.NN();
var fa=b.json,na=new Bdd,sa=yjd(fa);var ua=_.x(na,2,sa).Cc(1)}else{if(a instanceof _.qM)var Wa=Pkd(a,b);else{if(a instanceof _.rM){if(!b.json)throw _.NN();var Ia=(new tP).Cc(1),Ra=_.K_c(this.yF,b.json);var Zb=_.x(Ia,2,Ra)}else{if(a instanceof _.CL)a:{if(!b.json)throw _.NN();if(a instanceof _.CL){var ub=a.yd();if(ub&&_.sM(ub)){var wc=Ljd(this.O,this.Kg,b.json);break a}if(ub&&_.tM(ub)){wc=Njd(this.O,this.Kg,b.json);break a}if(ub&&_.uM(ub)){wc=Pjd(this.O,this.Kg,b.json);break a}}wc=_.G_c(this.yF,b.json,
b.headers)}else{if(a instanceof _.vM){if(!b.json)throw _.NN();var Sc=Gjd(b.json)}else{if(a instanceof _.wM){if(!b.json)throw _.NN();var gd=b.json;_.GN(["drive#appList"],gd);for(var ve=new UO,be=[],Jf=gd.items||[],yc=0;yc<Jf.length;yc++)be.push(yjd(Jf[yc]));var yb=_.Cb(ve,2,be);var Dg=_.Pj(yb,4,gd.defaultAppIds).Cc(1)}else{if(a instanceof _.mVc){if(!b.json)throw _.NN();var Ug=Ejd(b.json)}else{if(a instanceof _.OL)var Ve=Qkd(this,b);else{if(a instanceof _.xM){if(!b.json)throw _.NN();var dj=new Edd,
$f=this.yF,Bi=b.json,Gg=new mO,el=_.L_c($f,Bi,"items");var $e=_.Cb(Gg,2,el);var af=_.x(dj,1,$e);var mh=_.A(af,2,ddd(b.json))}else{if(a instanceof _.yM){if(!b.json)throw _.NN();var Uh=this.yF,sj=b.json,Lk=new n5c;_.GN(["drive#revisionList"],sj);for(var Ln=[],vp=sj.items||[],Ri=0;Ri<vp.length;Ri++){var pi=_.H_c(Uh,vp[Ri]);Ln.push(pi)}var fl=_.Cb(Lk,2,Ln)}else{if(a instanceof _.eL)var Rf=Rkd(a,b);else{if(a instanceof _.AM){if(!b.json)throw _.NN();var Kl=xkd(b.json)}else{if(a instanceof _.uVc){if(!b.json)throw _.NN();
var tj=gkd(Mkd(this),b.json)}else{if(a instanceof _.GF){if(!b.json)throw _.NN();var pk=Mkd(this),ej=b.json,Ll=new Odd,Im=fkd(pk,ej);var Mk=_.x(Ll,2,Im).Cc(1)}else{if(a instanceof _.BM){if(!b.json)throw _.NN();var Ml=b.json;_.GN(["drive#remainingCount"],Ml);var Vg=new Pdd,Nl=Ml.nextPageToken;null!=Nl&&_.A(Vg,2,Number(Nl));_.A(Vg,1,Number(Ml.remainingCount));var Ci=Vg}else{if(a instanceof _.JF){if(!b.json)throw _.NN();var Ij=(new _.KA).Vw([zkd(this.H,b.json)])}else{if(a instanceof _.LM){if(!b.json)throw _.NN();
var Jj=(new _.KA).Vw(Akd(this.H,b.json)),uj=_.iZc(new _.AN,Jj);var gl=_.A(uj,3,ddd(b.json))}else{if(a instanceof _.FM)var vj=Pkd(a,b);else{if(a instanceof _.GM)var hl=Nkd(this,a,b);else{if(a instanceof _.ML)var mf=_.b0c(this,a,b);else{if(a instanceof _.HM)var Kj=_.b0c(this,a,b);else{if(a instanceof _.IM)var hm=Skd(this,b);else{if(a instanceof _.fD){if(!b.json)throw _.NN();var im=Dkd(b.json),jm=new Gdd;var Si=_.x(jm,3,im);var Gc=im.getKey();var Wj=_.x(Si,4,Gc)}else{if(a instanceof _.JM)var Vh=Okd(a,
b);else{if(a instanceof _.wL){if(!b.json)throw _.NN();var wj=Bid(this.ma,b.json)}else{if(a instanceof _.LF){if(!b.json)throw _.NN();var mg=Ekd(b.json),Hg=new _.rN;Hg.hU().set(mg.getId(),mg);var Nk=Hg}else{if(a instanceof _.nVc){if(!b.json)throw _.NN();for(var km=b.json,hi=new U8c,qi=_.m(Object.entries(km)),qk=qi.next();!qk.done;qk=qi.next()){var fj=_.m(qk.value),wo=fj.next().value,jn=fj.next().value;switch(wo){case "nextPageToken":_.Yj(hi,2,jn);break;case "activities":var il=fjd(jn);_.Cb(hi,1,il)}}var Xj=
hi}else{if(a instanceof _.pVc)var Mn=Skd(this,b);else{if("undefined"!=typeof _.tVc&&a instanceof _.tVc)var xo=Qkd(this,b);else{if(a instanceof _.qVc){if(!b.json)throw _.NN();var jq=new X8c}else{if(a instanceof _.rVc){if(!b.json)throw _.NN();var Po=p2c(b)}else{if(a instanceof _.dD){if(!b.json)throw _.NN();var Rm=b.json,Bj=new _.lz;_.GN(["drive#settingList"],Rm);for(var Qo=[],Dp=Rm.items||[],Ep=0;Ep<Dp.length;Ep++){var ur=Dkd(Dp[Ep]);ur&&Qo.push(ur)}var Qw=_.Ghb(Bj,Qo)}else{if(a instanceof _.IF){if(!b.json)throw _.NN();
var vr=Jkd(this.O,this.Kg,b.json).Cc(1)}else{if(a instanceof _.HF){if(!b.json)throw _.NN();var Gs=Hkd(this.O,this.Kg,b.json)}else{if(a instanceof _.zVc){if(!b.json)throw _.NN();var wA=b.json;_.GN(["drive#teamDrive"],wA);var TC=wA.recursiveFolderCount,mv=wA.recursiveFileCount,zr=new tdd;var Ar=_.A(zr,1,mv);var Qt=_.A(Ar,2,TC)}else{if(a instanceof _.yVc)var xA=Tkd(b);else{if(a instanceof _.BVc){if(!b.json)throw _.NN();var yA=Fkd(b.json)}else yA=a instanceof _.bO?Skd(this,b):null;xA=yA}Qt=xA}Gs=Qt}vr=
Gs}Qw=vr}Po=Qw}jq=Po}xo=jq}Mn=xo}Xj=Mn}Nk=Xj}wj=Nk}Vh=wj}Wj=Vh}hm=Wj}Kj=hm}mf=Kj}hl=mf}vj=hl}gl=vj}Ij=gl}Ci=Ij}Mk=Ci}tj=Mk}Kl=tj}Rf=Kl}fl=Rf}mh=fl}Ve=mh}Ug=Ve}Dg=Ug}Sc=Dg}wc=Sc}Zb=wc}Wa=Zb}ua=Wa}ra=ua}X=ra}O=X}M=O}D=M}z=D}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var Okd=function(a,b){if(!b.json){if(a instanceof _.kM)return Kkd({});throw _.NN();}return Kkd(b.json)},Skd=function(a,b){if(!b.json)throw _.NN();a=zkd(a.H,b.json);return(new _.NM).Cc(1).setItem(a)},Nkd=function(a,b,c){if(!c.json)throw _.NN();return ekd(Mkd(a),b,c.json)},Pkd=function(a,b){if(!b.json)throw _.NN();return zjd(b.json,a.Ah())},Qkd=function(a,b){if(!b.json)throw _.NN();a=a.oa;var c=b.json;_.GN(["drive#about","drive#changeList"],c);b=new o$c;var d=c.nextPageToken;null!=d&&_.A(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.A(b,3,Number(d));if("drive#changeList"==c.kind){_.GN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.GN(["drive#change"],h);var k=new _.FL;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.IUc(k,h.teamDriveId),_.GL(k,h.teamDriveId)):_.GL(k,h.fileId);h.file?k.setItem(_.D_c(f.H,h.file)):h.teamDrive&&k.setItem(zkd(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.QL(k);d.push(k)}_.Cb(b,4,d)}return b},Tkd=function(a){var b,c;if(!a.json)throw _.NN();
a=a.json;var d=a.result&&a.result.status;d=d&&Ukd[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 fed(eed(ded(new _.ced,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.aed;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return $dd(Zdd(Ydd(Xdd(new vP,ddd(a)),a.processedFileCount).Cc(d),a.result&&a.result.validationToken),
e)},Rkd=function(a,b){var c=new Eed;if(_.Pd(a,6).length){var d=[];m1c(_.Pd(a,6),b.headers).forEach(function(e,f){var h=new _.HRc;e=_.A(h,1,f).Jb(e);d.push(e)});_.Cb(c,1,d)}Fed(c,b.json?JSON.stringify(b.json):b.text);return c},Ukd={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Wkd=function(a){var b=new _.Io;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Vkd[a]);_.jN(b,c.join(" "))}return b.toString()},Xkd={},Vkd=(Xkd[1]="active",Xkd[2]="archived",Xkd);
var Ykd=function(a,b,c,d){_.ON.call(this,b,c,a.KMa,d);this.ma=a;this.ha=new B9c(_.hN(c),b)};_.L(Ykd,_.ON);
Ykd.prototype.V=function(a,b,c){var d=this;try{return _.ON.prototype.V.call(this,a,b,c)}catch(O){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.ZL){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.R(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.Q(a,4)&&(k.preflightValidationToken=_.C(a,4));var r=edd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.$L){h="POST";q="files/"+a.Ic()+"/authorize";k.appId=a.Ah();
_.R(a,3)&&(k.propagate=!0);var u=a.we();p=!0;_.gN(k);_.QM(this.H,[],[a.Ic()],this.O,f)}else if(a instanceof _.bO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=LO(this.H,[],!0),u=a.we(),p=!0;else if(a instanceof _.pVc)h="POST",q="teamdrives/"+a.requestId,k.fields=LO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.we(),p=!0;else if(a instanceof _.dM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=gdd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.aM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.cVc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),MG:_.BL(this.H)}),k.convert=_.S(a,4,!1),r=fdd(a),f["content-type"]="application/json",u=a.we(),a=_.Pd(a,3).concat([a.getId()]),_.QM(this.H,[],a,this.O,f),p=!0,_.gN(k),_.q0c(this.H,k);else if(a instanceof _.eM)h="DELETE",q="apps/"+a.Ah(),k.appId=a.Ah(),k.deleteAppData=
!!_.R(a,2),u=a.we(),p=!0;else if(a instanceof _.fM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.gM)h="DELETE",q="files/"+a.getId(),u=a.we(),p=!0,_.gN(k),_.q0c(this.H,k),_.QM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.hM)h="DELETE",q="files/"+a.Ic()+"/permissions/"+_.C(a,2),u=a.we(),p=!0,_.gN(k);else if(a instanceof _.iM)h="DELETE",q="files/"+a.Ic()+"/revisions/"+_.C(a,2),u=a.we(),p=!0,_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.jM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.we(),p=!0;else if(a instanceof _.eD)h="DELETE",u=a.getKey(),q="settings/"+_.C(u,2),_.cp(u)&&(k.namespace=q2c[_.cp(u)]),u=a.we(),p=!0;else if(a instanceof _.kM)h="DELETE",q="workspaces/"+a.getId(),u=a.we(),p=!0;else if(a instanceof _.nM)h="DELETE",q="files/trash",u=a.yd().we(),p=!0,_.q0c(this.H,k);else if(a instanceof _.pM)q="apps/"+a.Ah(),u=a.we(),p=!0,k.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.vM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=iO(_.vL(this.H));else if(a instanceof _.qM)h="POST",q="apps",k.appId=a.Ah(),u=a.we(),p=!0;else if(a instanceof _.rM)h="POST",q="files/"+a.Ic()+"/permissions",k.fields=_.BL(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.C(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.$f()?r.role="owner":3==a.$f()?r.role="writer":4==a.$f()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.$f()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Xa()&&(r.value=a.Xa()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.we(),p=!0,_.gN(k);else if(a instanceof _.lVc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Pd(a,1).map(function(O){if(_.S(d.H,89,!1)){var X=_.UYc(d.O,O);if(null!==X)return{id:O,resource_key:{resource_key:X}}}return{id:O}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.CL||a instanceof _.mN||a instanceof _.IF||a instanceof _.HF)if(b=a instanceof _.CL?a.yd():a,_.PM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.aN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=K9c(this.H);z.platformType=y;z.languageCode=iO(_.vL(this.H));z.timeZone=(new _.wt).J$();z.requestType="LIVE_REQUEST";a instanceof _.CL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.bf?_.sM(b)?(H9c(this.ha)?(z.scenarioType="ONE_PICK",this.Dd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.ZM(b)&&(H9c(this.ha)||(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Pd(b,33)[0]}),_.Cl(b).length&&
(r.itemType=J9c(b))):_.tM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.uM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.mN?(q="/v1/userfeedback",r.userFeedback=_.ck(b,_.q6c,1).map(function(O){var X=_.E(O,_.tO,2),ra={},fa={};fa.feedbackType=I6c[X.getType()];ra.item=fa;ra.clientInfo=z;switch(O.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";fa.itemId=X.Ic();break;case 3:z.scenarioType="QUICK_ACCESS";fa.itemId=X.Ic();break;case 2:z.scenarioType="DRIVE_WORKSPACES",fa.itemId=X.Ic(),fa.childItem=
_.ck(X,_.tO,3).map(function(na){var sa={};sa.itemId=na.Ic();return sa})}return ra})):b instanceof _.IF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.HF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Xp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.t0c(a);b instanceof _.mN||(r.maxSuggestions=b.Li(),r.clientInfo=z)}else{u=b.we();p=!0;q="files";k.q=_.XXc(b);y=[];var D;(D=_.LL(this.H))&&
_.S(D,4,!1)?(D=_.xa(this.Mg(c),this.Mg(c,b.O())),_.Ea(D)):D=_.ya(this.Mg(c));var G=void 0,I=!1;0<_.ck(b,_.xl,5).length&&(G=_.C(this.H.Yf(),50),I=!0);k.fields=S0c({fields:D,tr:_.uL(_.vL(this.H)),E7:G||void 0,MG:_.BL(this.H),nBb:I});k.appDataFilter="NO_APP_DATA";0<_.ck(b,_.YM,25).length&&(k.sources=_.PXc(b));0<b.tB().length&&(k.spaces=_.QXc(b));a.Yn()&&(k.pageToken=a.Yn());(a=a.getOptions())&&_.Lj(a,1,1E3)&&(k.maxResults=_.Lj(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.C(b,43)&&(k.rawUserQuery=
_.C(b,43));_.gN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Pd(b,33).length&&2==_.ZM(b)&&(a=_.Pd(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.wXc[_.ZM(b)];_.R(b,18)&&(_.Xa(k,"corpora"),k.corpus="DOMAIN");a=_.Dl(b);D=_.ck(b,_.rl,35);G=_.ck(b,_.rl,38);y=y.concat(a.filter(function(O){return!_.S(O,2,!1)}).map(function(O){return O.Xa()})).concat(D.map(function(O){return O.Xa()})).concat(G.map(function(O){return O.Xa()}));_.QM(this.H,_.ck(b,_.zl,63),y,this.O,f);o1c(k,b.Ac());_.r0c(this.H,k);_.s0c(this.H,
k);_.E(b,_.dea,64)&&(a=X3c(_.E(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.wM){q="apps";switch(a.getType()){case 1:k.fields=Zkd;break;case 2:k.fields=$kd;break;case 4:k.fields=ald;break;case 3:e=5,q="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",k.appQueryScope="all_webstore",b.uu=!0}k.languageCode=iO(_.vL(this.H));
0<_.Pd(a,3).length&&(k.appFilterExtensions=_.Pd(a,3).join(","));0<_.Pd(a,4).length&&(k.appFilterMimeTypes=_.Pd(a,4).join(","));u=a.we();p=!0}else if(a instanceof _.mVc)q="backups",e=9,k.languageCode=iO(_.vL(this.H));else if(a instanceof _.OL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.eR(),k.startChangeId=_.C(a,1),k.fields=R0c({fields:this.Mg(c),E7:LO(this.H,_.Pd(a,5)),tr:_.uL(_.vL(this.H)),MG:_.BL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Pd(this.H.Yf(),31),u.length&&(k.spaces=_.Bb(u,function(O){return _.KRc[O]}).join(",")),_.gN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.we(),p=!0;else if(a instanceof _.xM)b=a.yd(),q="files/"+b.getId()+"/permissions",k.fields=_.BL(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.Yn()&&(k.pageToken=a.Yn()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.we(),p=!0,_.gN(k),_.r0c(this.H,k),_.s0c(this.H,k),_.QM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.yM)k.fields=_.BL(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
k.maxResults=a.Li(),q="files/"+a.Ic()+"/revisions",u=a.we(),p=!0,_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.JF)q="teamdrives/"+a.jn()[0],k.fields=LO(this.H,a.O()),u=a.we(),p=!0;else if(a instanceof _.yVc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=hdd(a),f["content-type"]="application/json",p=l=!0,_.QM(this.H,[],_.Pd(a.request,1),this.O,f);else if(a instanceof _.LM)u=a.yd(),q="teamdrives",k.fields=b9c(this.H,u.O()),k.q=s9c(u),
a.Yn()&&(k.pageToken=a.Yn()),(u=(u=a.getOptions())&&_.Lj(u,1,1E3))&&(k.maxResults=u),u=a.yd().we(),p=!0;else if(a instanceof _.zVc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.FM)h="PUT",q="apps/"+a.Ah(),k.appId=a.Ah(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.ML)h="PUT",q="files/"+a.getId(),k.fields=_.cVc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),
MG:_.BL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Pd(a,9).length&&(k.addParents=_.Pd(a,9).join(",")),_.Pd(a,10).length&&(k.removeParents=_.Pd(a,10).join(",")),_.Pd(a,31).length&&(k.addWorkspaces=_.Pd(a,31).join(",")),_.Pd(a,32).length&&(k.removeWorkspaces=_.Pd(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=iO(_.vL(this.H)),r=idd(a),f["content-type"]="application/json",u=a.we(),p=!0,_.gN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.q0c(this.H,k),b=_.Pd(a,9).concat(_.Pd(a,10)),b.push(a.getId()),_.QM(this.H,_.ck(a,_.zl,38),b,this.O,f);else if(a instanceof _.HM)h="PUT",q="files/"+a.Ic()+"/revisions/"+_.C(a,2),r=jdd(a),f["content-type"]="application/json",u=a.we(),_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.IM)q="teamdrives/"+a.getId(),null!=a.Fm()?(h="POST",q+="/"+(a.Fm()?"hide":"unhide")):(h="PUT",r=kdd(a),f["content-type"]="application/json"),k.fields=LO(this.H),u=a.we(),p=!0;else if(a instanceof
_.JM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=ldd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.fD)h="PUT",r=_.E(a,_.bp,1),u=r.getKey(),q="settings/"+_.C(u,2),(u=_.cp(u))&&(k.namespace=q2c[u]),r=r2c(r),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.wL)q="about",k.fields=_.BL(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",k.fields=u2c(k.fields,this.H),k.fields=v2c(k.fields,this.H),u=a.we(),p=!0;else if(a instanceof _.eL){e=11;h=a.Rz();q=a.getUrl();var M=_.C(a,5)||"";_.ck(a,_.HRc,2).forEach(function(O){f[O.getKey()]=
O.Xa()});_.ck(a,_.HRc,4).forEach(function(O){k[O.getKey()]=O.Xa()});_.R(a,7)&&(b.AKb=!0);_.R(a,8)&&(b.uu=!0);_.R(a,9)&&(b.Fna=!0)}else a instanceof _.oVc?(b=a.request.Ic(),q="files/"+b+"/listCategoryMetadata",u=a.request.we(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),k.fields="kind,nextPageToken,categoryMetadata",_.QM(this.H,[],[b],this.O,f)):a instanceof _.GM?(f["content-type"]="application/json",h="POST",b=a.Ic(),q="files/"+b+"/updateCategoryMetadata",
u=a.we(),r={categoryMetadata:a.UV().map(function(O){var X=_.ck(O,_.EF,2).map(function(fa){return{id:fa.getId(),userId:fa.Wz(),setBooleanValue:_.R(fa,3),setTextValue:_.C(fa,4),setTextValues:_.Pd(fa,6),addTextValues:_.Pd(fa,5),setLongTextValue:_.C(fa,7),setSelectionValue:_.C(fa,8),setSelectionValues:_.Pd(fa,10),addSelectionValues:_.Pd(fa,9),setIntegerValue:_.C(fa,11),setIntegerValues:_.Pd(fa,13),addIntegerValues:_.Pd(fa,12),setUserValue:_.C(fa,14),setUserValues:_.Pd(fa,16),addUserValues:_.Pd(fa,15),
setDateStringValue:_.C(fa,17)}}),ra={categoryName:O.en()};X.length?ra.categoryAttributeValueDeltas=X:_.Pd(O,4).length?ra.revertAttributeIds=_.Pd(O,4):_.R(O,3)&&(ra.removeCategory=_.R(O,3));return ra})},_.QM(this.H,[],[b],this.O,f)):a instanceof _.AM?(e=13,q=_.uL(_.vL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.jn(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=
["DASHER_ADMIN_DISABLED"],_.uL(_.vL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.uVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=iO(_.vL(this.H))):a instanceof _.GF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
iO(_.vL(this.H))):a instanceof _.bM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.we(),p=!0,k.fields=LO(this.H,[157],!0),r={},b=_.ck(a,_.Vk,2),b.length&&(r.addCategoryReferences=b.map(function(O){return{category:O.en()}})),a=_.ck(a,_.Vk,3),a.length&&(r.removeCategoryReferences=a.map(function(O){return O.en()}))):a instanceof _.LF?(q="workspaces/"+a.jn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.we(),p=!0):a instanceof _.nVc?
(e=7,h="POST",q="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.LL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.qVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.rVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.tVc&&a instanceof _.tVc?(q="changes",k.fields="kind,largestChangeId",_.gN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.dD?(q="settings",u=_.Pd(a,3),k.namespace=s2c(u),u=a.we(),p=!0):a instanceof _.BVc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),k.q=Wkd(a.request),(u=a.request.yw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.we(),p=!0):a instanceof _.BM?(q="changes/getRemainingCount",k.pageToken=_.C(a,2),_.Q(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.we()):a instanceof _.YL?(f["content-type"]="application/json",h="POST",q="files/"+a.Ic()+"/sendAccessRequest",r={},l=!0):_.t0c(a);p&&_.u0c(c,k);0!=e||l||u&&_.C(u,1)||_.xN(this.Dd,74438989);return _.v0c(this,e,q,k,f,h,u,r,M)};
Ykd.prototype.W=function(a,b){a=this.ma.zm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var Zkd=t2c("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"),$kd=
t2c("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"),
ald=t2c("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 bld=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,D,G,I,M,O,X,ra,fa){this.Toa=_.Sh();this.Vfa=new _.JYc;var na=new _.kZc(this.kK.bind(this),function(){return X("w8KrJc")}),sa=new vid(b.zm),ua=new mid(na);c=new eid(b,f,new $hd(d,e,c),h,this.Toa.promise,k,l,c,X);d=new uid(b,p,q,r,u,d,e,D,k);this.O=new _.MYc(a,y);y=new Ykd(b,a,k,ra);this.Wsa=new Lkd(k,a,z,D);this.H=cdd(a,new _.y_c(this.O,this.Vfa,y,this.Wsa,G,I,M),I,z,O,b.zm,this.Vfa,this.Toa.promise,M||void 0);this.Toa.resolve(fa?fa:new _.XZc(new wid,
sa,ua,this.H,na,c,d,a))};bld.prototype.kK=function(){return _.Pa(this.H,function(a){return a.kK()})};var ifd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=q5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var cld=function(a,b){var c=this;this.context=a;this.Kg=b;this.ha=null;this.QR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Dd=a.Tk();this.W=new _.tn;this.O=a.Pc;this.Ha=_.LL(this.O)||new _.pUc;b=_.jO(this.O);this.va=new _.SYc(_.Lj(b,2,37500),_.Lj(b,3,6E5));this.ma=a.KQ;_.Ma(V9c,function(d){c.V[d]=[]});YO(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});YO(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});YO(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.qL().catch(_.Ff)})};_.g=cld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,FP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&W4c(a.context.Zf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.VL(c));a.log("Error initializing dump storage");a.vS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Ina=function(a){this.active&&(this.QR+=a,this.QR>_.Lj(_.jO(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.nR().kK()||0<b.wf.JI.moa||b.Ij().Xe()||b.nk().Xe())||((this.active=a)?(this.W.resolve(),this.H||this.qL().catch(_.Ff)):(this.W=new _.tn,_.n.clearTimeout(this.oa)))}};_.g.vS=function(){this.ka=!0};_.g.DWa=function(){return this.H?this.H.promise:(new _.tn).resolve()};
_.g.qL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.tn;this.H.promise.finally(function(){a.H=null});var b=this.Dd.H(106021)||void 0;this.W.promise.then(function(){return Xcd(a.context.HD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([dld(a,3,d,void 0,void 0,b),dld(a,0,d,void 0,!0,b),dld(a,1,d,void 0,!0,b),dld(a,5,d,void 0,!0,b),dld(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.nc("Failed to update dump",void 0,_.VL(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=c5c(b),_.A(c,2,!0),b.Yj())},function(c){a.H.reject(c);b&&(c=c5c(b),_.A(c,2,!1),b.Yj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.tn,e=this.Dd.H(106021)||void 0;e&&(L4c(c5c(e),_.oN(_.jUc,a)),d.promise.then(function(){var f=c5c(e);_.A(f,2,!0);e.Yj()},function(){var f=c5c(e);_.A(f,2,!1);e.Yj()}));this.W.promise.then(function(){return Xcd(c.context.HD)}).then(function(f){f=!f;c.ka?d.resolve():dld(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var dld=function(a,b,c,d,e,f){var h=_.ha(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.tn;h.promise.finally(function(){a.Nu(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Nu(b,c,d,e,f);var l={encrypt:c,promise:k.promise};a.V[b].push(l);return k.promise.catch(function(p){a.ma.O.Jf()?a.vS():p instanceof _.nc&&(p=p.O||null,p instanceof _.qL&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.vS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
cld.prototype.Nu=function(a,b,c,d,e){var f=this,h=new _.tn;this.W.promise.then(function(){if(3===a)eld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.kQ;k=k.H?k.H.clone():null;break;case 1:k=f.context.h_.Pq();break;case 5:k=fld(f.context.sE);break;case 6:k=f.context.wf.Eq;k=v$c(new u$c,qad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.ck(_.jO(f.O),hO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Vbd(f.ma,b?l:null,
[k],e).then(h.resolve,h.reject)}else d?(f.log("Skipping dump update: "+a),h.resolve()):h.reject(Error("qg"))}});return h};
var eld=function(a,b,c,d){_.n.clearTimeout(a.oa);a.oa=_.n.setTimeout((0,_.v)(a.Ja,a),a.va.Xa());if(b&&0===a.QR)return Promise.resolve();a.QR=0;var e=_.ck(_.jO(a.O),hO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(N8c,function(k){0<k&&(k=gld(a,k),k.length&&f.push(Vbd(a.ma,c?e:null,k,d)))});var h=new _.tn;Promise.all(f).then(function(){a.Fa&&a.context.HD.set(Vcd,!0);h.resolve()},h.reject);return h.promise};
cld.prototype.Ja=function(){_.mH(this.va);this.update(3,!0)};
var gld=function(a,b){switch(b){case 1:return[hld(a)];case 2:var c=(b=a.context.wf.dw.H)?b.my():[];c=ild(a,_.Sa(T1c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Lj(_.jO(a.O),5,2E4)&&(b&&$O(b),c=[]);c=H8c(new IO,jld(c));var d=a.context.wf.dw;a=new d2c;(d=d.H)&&d.TN&&(d=d.my(),_.A(a,3,d.length));c=_.x(c,11,a);c=M8c(c,2);b&&K8c(c,b.XN());return[c];case 3:return kld(a);case 4:return lld(a);default:throw new _.nc("Unsupported CacheType");}},hld=function(a){for(var b={},c=[],d=
$$c(a.context.wf.dw,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.my(),l=ild(a,S1c(k));k=l.length;var p=0<k?l[k-1]:null;_.Ka(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=(new HO).wg(h.yd()),h.H||(_.A(l,2,k),_.x(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return K8c(M8c(J8c(H8c(I8c(L8c((new IO).Iu(a.context.$n()),_.hN(a.Kg)),a.ha.kR(null)),jld(d)),c),1),!e)},kld=function(a){var b=[],c=a.ha;a.context.wf.dw.lW().forEach(function(d){var e=c.kR(d.Bc());if(e){var f=
ild(a,S1c(d.my()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=K8c(M8c(I8c(H8c(new IO,jld(f)),e),3),d.XN(d.yd()));d=(new HO).wg(d.yd());J8c(e,[d]);b.push(e)}});return b},lld=function(a){var b={},c=[];a.context.wf.lW().forEach(function(d){1===d.NJ()&&null==_.R(d.yd(),6)&&(S1c(d.my()).forEach(function(e){b[e.getId()]=e}),d=F8c((new HO).wg(new _.bf),d.yd()),c.push(d))});return[K8c(M8c(J8c(H8c(new IO,jld(Object.values(b))),c),4),!1)]},ild=function(a,b){b=s1c(b);_.R(a.O,67)&&(b=mld(b));
_.BL(a.O)&&(_.S(a.Ha,9,!1)?Lad(a.context.wf.Eq,b)&&(_.xN(a.Dd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Jad(a.context.wf.Eq,b)):b=Jad(a.context.wf.Eq,b));return b.filter(function(c){return 4!==ZN(c)})},mld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,i1c(c)?(c=c.clone(),T0c(c,h1c),b.push(c)):b.push(c);return b},jld=function(a){return a.map(function(b){return b.clone()})};
cld.prototype.log=function(a,b){this.context.Zf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};cld.prototype.VDa=function(){this.Fa=!0};
var nld=function(){};_.g=nld.prototype;_.g.setActive=function(){};_.g.vS=function(){};_.g.update=function(){return Promise.resolve()};_.g.DWa=function(){return Promise.resolve()};_.g.qL=function(){return Promise.resolve()};_.g.Ina=function(){};_.g.VDa=function(){};
var eO=function(a,b,c,d){_.si.call(this);var e=this;this.Aa=a;this.hs=c;this.rootId=null;this.Ha=!0;this.ha=null;this.oa=[];this.Ba=d||new _.CXc;this.Pc=b.clone();(a=_.LL(this.Pc))&&_.S(a,1,!1)&&_.HH(this.Pc,28);this.Kg=new _.LXc(this.Pc);this.yn=new B9c(_.hN(this.Kg),this.Pc);old(this);this.LX=new _.tn;this.yb=_.n.setTimeout(function(){e.Zf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.LX.resolve();e.Tk().O(106020)},1E4);this.g_=new _.Wh;this.Fa=new _.mYc(_.bN(this.Pc),_.S(this.Pc.Yf(),
52,!1));this.connectionState=new _.fYc(_.bN(this.Pc)?3:1,!_.S(this.Pc.Yf(),52,!1));this.Dd=_.CYc(this.Pc,this.Fa,this.connectionState,this.Ba,this.LX.promise,this.hs);this.Wfa=new g$c(this.Dd);this.tQ=new _.Wh;pld(this)};_.L(eO,_.si);eO.prototype.getEnvironment=function(){return this.hs};eO.prototype.lS=function(){this.Zf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.yb);this.LX.resolve()};
var pld=function(a){var b=function(){a.Ku().Sg(_.Ff)},c=a.Aa;(c=c&&_.jc(c,_.Zl))?_.Ne(c,"w",b):_.oUc()||_.Ne(_.n,"unload",b)};eO.prototype.Ku=function(){this.Dd.O(106005);g5c(this.Dd);var a=this.oa.map(function(b){return b()});_.pa(this.oa);return _.iL(a).then()};var qld=function(a,b){a.oa.push(b)};_.g=eO.prototype;_.g.Zf=function(){return this.Ba};_.g.Iu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.g_.callback(a),a.length&&this.C4a(a,b||null))};_.g.C4a=function(){};
_.g.$n=function(){return this.rootId};_.g.Tk=function(){return this.Dd};var rld=function(a){if(!a.ha)throw Error("rg");return a.ha},sld=function(a,b){a.ha=b};eO.prototype.CB=function(){return this.Ha||this.connectionState.isConnected()};eO.prototype.Ij=function(){return this.Fa};eO.prototype.nk=function(){return this.connectionState};eO.prototype.PNb=function(a){this.tQ.callback(a)};
var old=function(a){var b=a.Pc.Yf();0===_.Pd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.F(b,37,""))throw Error("sg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.jO(a.Pc),9,!1))if(b=_.ck(_.jO(a.Pc),hO,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.bN(a.Pc)&&!_.S(a.Pc,10,!1))throw Error("tg");}else _.A(_.jO(a.Pc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.jO(a.Pc),9,!1)&&(_.bN(a.Pc)||_.S(a.Pc,10,!1)))throw Error("ug");var c=_.vL(a.Pc);b=!(!c||!_.uL(c));c=c&&_.$M(c)||"";if(!b&&!c)throw Error("vg");b&&_.Sj(a.Pc,44);_.ck(a.Pc,_.bf,44).forEach(function(d){try{F9c(a.yn,d)}catch(e){if(e instanceof _.nc&&(d=e.Qg)&&3===d.nt())throw Error("wg");throw e;}})};eO.prototype.CJ=function(a){this.dispatchEvent(new _.oc(new _.nc(void 0,a)))};eO.prototype.log=function(a){this.Zf().info("drive.ds.sync.ThinContext",a)};
var tld=function(a,b){this.H=a;this.Re=b};
var uld=new Set([5,4,1,6,2]),vld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),wld=function(a,b,c){_.si.call(this);this.ha=a;this.V=b;this.W=c;this.SF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(wld,_.si);
wld.prototype.uQ=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())&&_.cp(q))&&f.add(q)});[].concat(_.nd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=uld.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&_.cp(r);r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,xld(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),u=e.SF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.C(z,2)))&&_.ik(y,z)||l++}),[].concat(_.nd(u.values())).forEach(function(y){y=y.getKey();r.has(_.C(y,2))||p++}),e.SF.set(q,r),e.O.set(q,b)):(l+=r.size,e.SF.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,ZO(this.V,"px2C2c");ZO(this.V,"rkYxSd")}(l||p)&&yld(this,!h)}};
wld.prototype.xD=function(){return 0<this.SF.size};var yld=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 _.gi("WPi0i"))};wld.prototype.put=function(a){var b=a.getKey(),c=b&&_.cp(b);b=b&&_.C(b,2);if(c&&b&&(c=this.SF.get(c))){var d=c.get(b);a=xld(a);d&&_.ik(a,d)||(c.set(b,a),yld(this))}};wld.prototype.remove=function(a){var b=a&&_.cp(a);a=a&&_.C(a,2);b&&a&&(b=this.SF.get(b))&&b.delete(a)&&yld(this)};
var fld=function(a,b){var c=[];(b||[].concat(_.nd(a.SF.keys()))).forEach(function(e){(e=a.SF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.SF.has(e)}):[].concat(_.nd(a.SF.keys()));var d=new w5c;_.Cb(d,1,c);_.Pj(d,2,b);return d};
wld.prototype.dH=function(a){var b=this,c=fld(this,a),d=new _.lz;d.Cc(this.status);_.Ghb(d,_.ck(c,_.bp,1));_.x(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);vld.has(f)&&Infinity>vld.get(f)&&(e=f)});return new tld(d,e)};var xld=function(a){a=a.clone();a.ih()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var zld=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},Bld=function(a,b){return Ald(a[b])+(Ald(a[b+1])<<8)+(Ald(a[b+2])<<16)+(Ald(a[b+3])<<24)},Ald=function(a){return 127<a?a-256:a};
var fO=function(a,b,c,d,e,f){eO.call(this,a,b,c,d);var h=this;this.$a=_.Sh();this.zu=new Q$c;this.W=null;this.O=_.Sh();this.Ja=new _.Wh;this.x6=null;this.Xfa=new abd;this.V=null;this.kb=_.Sh();this.va=new _.Wh;this.bG=new Fbd;this.xz=new ibd;this.Aha=new K$c;this.taa=_.Sh();this.Oa=!1;this.ka=_.Sh();this.H={};this.ma=null;this.Lb=new _.He;this.Ma(this.Lb);this.Oj=e?e:new J$c(this.Zf());this.Tk().W.O=this.Oj;this.PL=_.S(_.jO(b),9,!1)&&w2c()?Cld(this,b):null;this.Ew=new u9c(iO(_.vL(b)));this.HD=Dld(this,
this.PL);this.KQ=Eld(this,this.PL,b);this.Xs=Fld(this);this.wf=new JP(this,this.Kg);(a=(a=_.E(this.Pc,_.Wk,12))&&a.getId())&&this.Iu(a,6);this.kQ=new rfd(this.Pc,this.wf.Eq,this.Oj,this.Zf(),this.Xs);this.h_=new wfd(this.Zf(),this.Oj,this.Xs);this.sE=new wld(this.Zf(),this.Oj,this.Xs);this.KI=new Z9c(this.Sm(),this.Zf(),function(k){return void h.CJ(k)});this.gz=_.S(this.Pc.Yf(),52,!1)?new _.yN(this.nk(),this.Sm(),this.Zf(),this.Tk()):null;YO(this.Oj,["mrK8ic"],function(){h.kb.promise.then(function(){bgd(h,
h.V)})});this.LMa=new Bbd(this.Pc);this.UA=new _.dZc(this.Pc,this.wf.zm);this.Xsa=new Whd(this);this.w6=new ebd(this.O.promise,this.Sm());this.nb=new gbd(this.Sm(),this.w6);this.Yfa=new xbd(this.O.promise,this.Sm(),this.Zf(),this.Pc);this.Ta=new bld(this.Pc,this.wf,this.CJ.bind(this),this.w6,this.nb,this.Xs,this.Xfa,this.Kg,this.$n.bind(this),this.Xsa,this.h_,this.sE,this.Yfa,this.bG,this.Zf(),this.LMa,this.UA,this.KI,this.gz,this.Ij(),this.Npb.bind(this),this.Tk(),f);this.$a.resolve(this.Ta);this.GJa=
new Ghd(this);YO(this.Oj,["BNEDtc"],function(){return h.ka.resolve()});qld(this,function(){h.Xs.vS();return _.Ph()})};_.L(fO,eO);
var Cld=function(a,b){var c=_.$M(_.vL(b)),d=_.aN(b),e=function(){},f=_.ck(_.jO(b),hO,11);f=f[0]&&_.C(f[0],1);var h=new pcd(c,d,_.Lj(_.jO(b),10,0)||0,f||"",_.hN(a.Kg));_.bN(b)?c=Kcd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.Lj(_.jO(b),8,432E6)?(b=Gld(a,c),c=Kcd(c,d,b).then(function(l){return l&&(e=function(p){return p.Kl(h).Sg(function(){return null})},!l.ha)?l:h})):c=_.Ph(h);var k=new mP(c,a.Zf(),a.Tk());k.initialize().then(function(){return e(k)},function(){return null});return k},Gld=
function(a,b){var c=_.Lj(_.jO(a.Pc),8,432E6);if(!_.bN(a.Pc)&&0<c){a=Math;var d=a.abs;b=_.ima(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=Bld(b,e),h.b+=Bld(b,e+4),h.c+=Bld(b,e+8),zld(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+=Bld(b,e+4);h.a+=Bld(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+=Bld(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=zld(h);return d.call(a,b)%c}};fO.prototype.Wy=function(a){var b=this;return this.PL?this.PL.Jf()?_.Qh(Error("xg`"+wcd(this.PL))):Xcd(this.HD).then(function(c){var d=b.PL,e=[];e.push(b.Xs.DWa());e.push(a?d.Kl():Gcd(d));if(a===c)return _.Rh(e).then(function(){return!1});!1===a&&(e.push(vcd(d)),(c=b.$n())&&e.push(b.HD.Iu(c)));return _.Rh(e).then(function(){return b.HD.Wy(a)},function(){return!1})}):_.Qh(Error("yg"))};
var Eld=function(a,b,c){var d=null;b&&(d=new Pbd(b,c,function(e){a.CJ(e)},a.Tk()),d.initialize());return d},Dld=function(a,b){var c=new Wcd(b||void 0);c.$n().then(function(d){d&&a.Iu(d,5)});b&&(Xcd(c).then(function(d){a.Ij().Wy(d)}),_.Rh([b.initialize(),a.LX.promise]).then(function(){Hld(a,c)},function(){}));return c},Hld=function(a,b){$cd(b).then(function(c){(!c||c<Date.now()-864E5)&&Ncd(_.$M(_.vL(a.Pc)),_.aN(a.Pc),a.Zf()).then(function(d){d&&(d=Date.now(),b.set(Ucd,d))},function(){})})},Fld=function(a){if(!a.KQ)return new nld;
var b=new cld(a,a.Kg);a.Lb.listen(a.Ij(),"Ab",function(c){return void b.setActive(!c.Xe())});a.Lb.listen(a.nk(),[].concat(_.nd(Object.values(_.WA))),function(){return void b.setActive(a.nk().isConnected())});return b};fO.prototype.tY=function(a){this.x6=a;this.Ja.callback(a)};var FP=function(a){return a.Ja.An()},hfd=function(a){return a.PL?a.PL.Jf():null},Ild=function(a,b){a.Oj.H("NSockf")?ZO(a.Oj,b):YO(a.Oj,["NSockf"],function(){ZO(a.Oj,b)})};
fO.prototype.C4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.zu.Iu(a),this.yn.Iu(a),6!==b&&1!==b||this.HD.Iu(a),Ild(this,"jroI5d"))};fO.prototype.BVa=function(){return this.va.An()};var bgd=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.kb.resolve()):a.va.ag()||(a.va.callback(b),Ild(a,"T8oKm")))},Bfd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=fO.prototype;_.g.nR=function(){return this.Ta};_.g.Sm=function(){return this.$a.promise.then(function(a){return a.Toa.promise})};
_.g.UDa=function(){this.Oa||(this.Oa=!0,this.taa.resolve(),ZO(this.Oj,"aU7Ts"))};_.g.CB=function(){throw Error("Ag");};_.g.Npb=function(a){this.dispatchEvent(a)};var Jld=function(a,b){mhd(a.wf,b)},Kld=function(a,b,c){a.H[b]=c},cfd=function(a){a.ma||(a.ma=new obd(a.O.promise,a.Sm(),a.Zf()));return a.ma};
var NP=function(a,b,c){_.si.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.Wh;this.va=this.channel=this.clientId=null;c.then(function(e){return Lld(d,e)})};_.L(NP,_.si);var Lld=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;QO(a.channel,a.Ba,function(c){c=T9c(c);a.Z$(c.H,!(!c.data||!c.Zb),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};NP.prototype.Z$=function(){};
NP.prototype.send=function(a,b,c,d){var e=this,f=new _.Wh;this.oa.addCallback(function(){var h=e.channel;RO(h,e.Ba,P9c(new O9c(e.clientId,a,b,d),h.W),function(k){return void Mld(k,a,f,c||function(){})})});return f};var Mld=function(a,b,c,d){a=T9c(a);a.data?c.callback(d(a.data,a.Zb)):(a.error?d=a.error:(d=new _.mc,_.HL(d,2),_.IL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.nc(void 0,d)))};NP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var Nld=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var OP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.jV()};_.L(OP,_.N);OP.prototype.registerService=function(a){QO(a,this.V,(0,_.v)(this.Aw,this))};
OP.prototype.Aw=function(a){var b=this;a=Q9c(a);var c=a.Zb,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof R9c)return S9c(f,c);if(f.then)return f.then(function(h){return S9c(h,c)},function(h){h=_.JL(h);return S9c(b.qd(void 0,h),c)})}catch(h){e=_.VL(h)}f=new _.mc;_.HL(f,2);_.IL(f,3);_.Tp(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return S9c(this.qd(void 0,f),c)};
OP.prototype.qd=function(a,b,c){if(a&&!b)return new R9c(a,void 0,c);a=_.JL(b);return new R9c(void 0,a,c)};OP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&RO(a,this.V,S9c(this.qd(c,d,b),a.W))};
var Old=function(){this.channels={};this.H=this.O=this.V=0},Pld=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Qa(a.channels));return c},Qld=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var Rld=function(a,b){OP.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.Yfa;this.W=cfd(this.context);this.ka=this.context.w6};_.L(Rld,OP);
Rld.prototype.jV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.bf);return a.Zh(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.oL);return a.Zh(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Sz);return a.Zh(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.JF);return a.Zh(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=dO(c.args[0],!!c.Zb,_.bf);return a.ik(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.oL);return a.ik(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Sz);return a.ik(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.JF);return a.ik(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=dO(c.args[0],!!c.Zb,_.Sz);c=dO(c.args[1],!!c.Zb,_.Sz);return a.pZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=dO(c.args[0],!!c.Zb,_.JF);c=dO(c.args[1],!!c.Zb,_.JF);return a.pZ(d,e,c)},b["4.7"]=function(c){return a.QF(c)},b["4.8"]=function(c){return a.QF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Cz);return a.Zh(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.LF);return a.Zh(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Cz);return a.ik(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.LF);return a.ik(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.SF);return a.Zh(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.SF);return a.ik(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.IF);return a.Zh(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.IF);return a.ik(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.IF){var d=a.W;Zad(d,d.getKey(c)).refresh()}return a.qd([])},b};Rld.prototype.Zh=function(a,b){var c=this,d=new _.tn;this.H[a]={query:b,$Sb:d.promise};b instanceof _.Cz?d.resolve(this.O.Zh(a,b)):b instanceof _.LF?d.resolve(Xad(this.O,a,b)):b instanceof _.IF?d.resolve(this.W.Zh(a,b)):b instanceof _.SF?d.resolve(this.ka.Zh(a,b)):d.resolve(this.ha.Zh(a,b));return d.promise.then(function(){return c.qd([])})};
Rld.prototype.ik=function(a,b){Sld(this,a,b);return this.qd([])};var Sld=function(a,b,c){delete a.H[b];c instanceof _.Cz?a.O.ik(b,c):c instanceof _.LF?Yad(a.O,b,c):c instanceof _.IF?a.W.ik(b,c):c instanceof _.SF?a.ka.ik(b,c):a.ha.ik(b,c)};_.g=Rld.prototype;_.g.pZ=function(a,b,c){Sld(this,a,b);return this.Zh(a,c)};
_.g.QF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.wi(a.args[0]);c instanceof _.Cz?this.O.Zh(b,c):c instanceof _.LF?Xad(this.O,b,c):c instanceof _.IF?this.W.Zh(b,c):c instanceof _.SF?this.ka.Zh(b,c):this.ha.Zh(b,c);return this.qd([])};
_.g.HO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Sg(a[0]),f=a[1];d.$Sb.then(function(h){b instanceof _.wN||b instanceof _.tN?c.update(e,f,[b.response,b.pageToken,b.H,b.Re,h]):(d.query instanceof _.bf?V0c(d.query.O(),b.Gd().filter(function(k){return!MO(k)})):d.query instanceof _.Sz&&V0c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!MO(k)})),c.update(e,f,[b,h]))})}};
_.g.VX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Sg(c[0]);c=c[1];var d=b.error;d.Ufa(b.H);this.update(a,c,void 0,d)}};_.g.pA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Sg(a[0]),a[1],["cacheRefresh"]))};_.g.r9=function(){};_.g.Wka=function(a){if(!this.H[a])throw Error("$f`"+a);return this.H[a].query};var Tld=function(a,b){_.Ma(a.H,function(c,d){_.Sg(d.split(":")[0])===b&&Sld(a,d,c.query)})};
var Uld=function(a,b,c){NP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Uld,NP);Uld.prototype.ixa=function(a){var b=this;a=new Med(this.context.yn,this.context.tQ,this.context.Zf(),this.context.Pc,function(c,d){return b.QF(c,d)},a,this.context.Tk());Vld(this,a);return a};Uld.prototype.lxa=function(a){var b=this;a=new Ted(this.context.yn,this.context.tQ,this.context.Zf(),function(c,d){return b.QF(c,d)},a,this.context.Pc);Vld(this,a);return a};
var Vld=function(a,b){a.Zh(b);_.ze(b,function(){a.ik(b);a.send("4.3",[b.yd()],void 0,b.Ni())});a.send("4.1",[b.yd()],void 0,b.Ni())};_.g=Uld.prototype;_.g.fxa=function(a){var b=this,c=new Qed(this.context.Pc,this.context.yn,this.context.Zf(),this.context.g_,this.pZ.bind(this),a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.4",[c.yd()],void 0,c.Ni())});this.send("4.2",[c.yd()],void 0,c.Ni());return c};
_.g.oxa=function(a){var b=this,c=new Xed(a,this,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.11",[c.yd()],void 0,c.Ni())});this.send("4.9",[c.yd()],void 0,c.Ni());return c};_.g.pxa=function(a){var b=this,c=new Yed(this.context,this,a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.12",[c.yd()],void 0,c.Ni())});this.send("4.10",[c.yd()],void 0,c.Ni());return c};
_.g.sxa=function(a){var b=this,c=new afd(this.context,a,this);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.15",[c.yd()],void 0,c.Ni())});this.send("4.13",[c.yd()],void 0,c.Ni());return c};_.g.txa=function(a){var b=this,c=new Ped(this.context,a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.16",[c.yd()],void 0,c.Ni())});this.send("4.14",[c.yd()],void 0,c.Ni());return c};
_.g.mxa=function(a){var b=this,c=new Wed(this.context,a,function(){b.send("4.21",[],void 0,c.Ni())});this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.23",[c.yd()],void 0,c.Ni())});this.send("4.22",[c.yd()],void 0,c.Ni());return c};_.g.cxa=function(a){var b=this,c=new Ked(this.context.Ij(),this.context.nk(),this.context.Zf(),function(d,e){return b.QF(d,e)},a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.19",[c.yd()],void 0,c.Ni())});this.send("4.18",[c.yd()],void 0,c.Ni());return c};
_.g.Zh=function(a){this.H.create(a.Ni(),a.yd());this.O[a.Ni()]=a};_.g.ik=function(a){SO(this.H,a.Ni(),4);delete this.O[a.Ni()]};_.g.pZ=function(a,b,c){if(b instanceof _.Sz&&c instanceof _.Sz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.JF&&c instanceof _.JF)this.send("4.6",[b,c],void 0,a);else throw Error("Bg");};
_.g.QF=function(a,b){if(!this.O[a])throw Error("$f`"+a);var c=this.O[a];if(c.yd()instanceof _.bf)var d="4.7";else if(c.yd()instanceof _.oL)d="4.8";else if(c.yd()instanceof _.SF)d="4.20";else if(c.yd()instanceof _.Cz)d="4.17";else throw Error("Cg");c.yd().wi(b);this.send(d,[b],void 0,a)};
_.g.Z$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new TO(d,d.q7()),a.vB(b),SO(this.H,a.Ni(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.vW();return}var h=a.yd();if(h instanceof _.bf||h instanceof _.oL)h instanceof _.bf&&_.tM(h)?e=dO(d,b,_.qN):e=dO(d,b,_.KA);else if(h instanceof _.Sz||h instanceof _.JF)b?(e=new _.pN,x6c(e,function(k){return new _.Wk(JSON.parse(k))},d)):e=d;else if(h instanceof _.SF)e=new _.tN(dO(d,b,vO),c[f++],c[f++],c[f++]);else if(h instanceof _.Cz)e=new _.wN(dO(d,
b,WO),c[f++],c[f++],c[f++]);else if(h instanceof _.LF)e=dO(d,b,_.rN);else if(h instanceof _.IF)e=dO(d,b,GO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&h$c(this.H,a.Ni(),!!c[b]),k$c(this.H,a.Ni(),e),a.update(e))}};
var PP=function(){_.si.apply(this,arguments);this.commands=new _.kl;this.ha=this.active=this.Ep=!1};_.L(PP,_.si);PP.prototype.initialize=function(){this.Ep||(this.Ep=!0,this.V(),this.setActive(!0))};PP.prototype.V=function(){};PP.prototype.setActive=function(a){this.active=a;Wld(this)};var Wld=function(a){if(a.active&&!a.ha){var b=_.ll(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.ll(a.commands))}else a.ha=!0,_.Th(a.Ba(b),function(){a.ha=!1;Wld(a)})}};PP.prototype.ka=function(){};
PP.prototype.Ba=function(){};PP.prototype.va=function(){return!0};PP.prototype.enqueue=function(a){try{var b=new _.Wh;this.commands.enqueue(new Xld(a,b));Wld(this);return b}catch(c){return _.ai(_.VL(c))}};var Xld=function(a,b){this.H=a;this.Jg=b};Xld.prototype.getCommand=function(){return this.H};Xld.prototype.TG=function(){return this.Jg};
var $ld=function(a){PP.call(this);var b=this;this.context=a;this.O=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context,"VMiG2e",function(){return void Yld(b)});this.H=this.context.wf.Eq;_.BL(this.context.Pc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Oj;YO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Hj(a.Pc.Yf(),17,1)&&(d.push("iuEtc"),YO(c,["mrK8ic"],function(){ZO(c,"iuEtc")}));YO(c,d,function(){Zld(b)})};_.L($ld,PP);$ld.prototype.V=function(){amd(this)};
var Zld=function(a){if(1===a.context.kQ.Fh().Bb())Promise.resolve();else{var b=_.pf(_.qf(new _.of,!0),301);b=_.xL(new _.wL,b);a.refresh(b).then(null,function(c){c=_.JL(c);_.A(c,21,"Initial account request failed.");a.context.CJ(c)})}},Yld=function(a){var b=_.pf(new _.of,304);b=_.xL(new _.wL,b);a.refresh(b).then(null,function(){})};
$ld.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Th(this.context.Sm().then(function(d){return d.Ve(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Ek(f))d=_.KL(_.vL(c.context.Pc)),d=Error("Eg`"+d+"`"+_.RF(f)),_.qb(d),_.xN(c.context.Tk(),73301807),d=Promise.reject(d);else{f=c.context.kQ;var h=0===f.We()?1:6;_.BL(c.context.Pc)&&Dad(c.H,e);h=sfd(f,e,h);(e=e.getMetadata())&&c.context.Iu(_.C(e,2),1);(d=_.C(d,4))&&bgd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.vN(f.Fh(),f.We(),!1))}return d}).then(function(d){return d},function(d){d=_.JL(d);_.A(d,5,1);return Promise.reject(new _.nc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
$ld.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.ND&&(c.ND=b.ND);this.refresh(b.request,c).then(function(e){return a.TG().callback(e)},function(e){return void a.TG().Pd(e)})}else if(b=this.context.kQ,c=b.Fh(),_.BL(this.context.Pc)){c=c.Fh();var d=c.getUser();d=Had(this.H,_.RF(d));Dad(this.H,c);sfd(b,c,b.We())&&this.dispatchEvent(new _.gi("WPi0i"));a.TG().callback(new _.vN(b.Fh(),b.We(),d))}else c.Bb(),b=new _.vN(c,b.We(),!0),a.TG().callback(b)};
var amd=function(a){var b=a.context.Pc.Yf();_.n.setTimeout(function(){var c=_.pf(new _.of,306);c=_.xL(new _.wL,c);a.refresh(c).then(function(){amd(a)},function(){amd(a)})},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,3,72E5))};$ld.prototype.W=function(a){var b=this.context.kQ,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.C(d,1)===_.RF(c.getUser())})&&(Dad(this.H,c),sfd(b,c,b.We())&&this.dispatchEvent(new _.gi("WPi0i")))};var bmd=function(a,b,c){this.request=a;this.H=!!b;this.ND=c||null};
var dmd=function(a){PP.call(this);this.context=a;this.oa=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.h_,"Qb",_.tb(this.dispatchEvent,new _.gi("Qb",this)));cmd(this)};_.L(dmd,PP);
var cmd=function(a){var b=a.context.Oj;YO(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.bN(a.context.Pc)){var c=_.Hj(a.context.Pc.Yf(),18,1);YO(b,["NSockf"],function(){1===c?emd(a):a.setActive(!0)});2===c&&YO(b,["mrK8ic"],function(){a.W||emd(a)})}},emd=function(a){var b=new _.of;_.qf(b,!0);_.pf(b,301);var c=new _.wM;_.U4c(c,b);_.A(c,1,1);a.refresh(c).Sg(function(){return null})};
dmd.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Sh();this.O=d.promise;_.Th(this.O,function(){c.O=null;fmd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.wM;_.A(h,1,this.H);_.U4c(h,a.we());this.context.Sm().then(function(k){return k.Ve(h,b)}).then(function(k){c.error=null;var l=c.context.h_;l.uQ(k,l.xD()?6:1);d.resolve()},function(k){c.H=e;k=_.UA(k);var l=k.Qg;_.A(l,5,2);f?(_.HL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Qg,21,"Initial app settings refresh failed."),c.context.CJ(l),c.setActive(!0)):(_.HL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Qg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};dmd.prototype.va=function(){return!1};
dmd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Kja,f=c.ND?{ND:c.ND}:void 0;if(!gmd(d))return this.context.Sm().then(function(l){return l.Ve(d,f)}).then(function(l){a.TG().callback(new _.sN(l,1,!1))},function(l){a.TG().Pd(_.VL(l))}),_.Ph();c=_.Ph();var h=!1;this.O?hmd(this,d.getType())?e=this.O:c=e=new _.Oh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.oa&&hmd(this,d.getType())&&!this.error?(h=!0,e=_.Ph()):e=this.refresh(d,f);
var k=a.TG();e.then(function(){var l=b.context.h_;k.callback(new _.sN(l.Pq(),l.We(),h))},function(l){k.Pd(l)});return c.then()};
var gmd=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Pd(a,4),a=_.Pd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},hmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},fmd=function(a){var b=a.context.Pc.Yf(),c=new _.of;_.pf(c,306);var d=new _.wM;_.A(d,1,1);_.U4c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,4,72E5))},imd=function(a,b,c){this.request=a;this.Kja=!!b;this.ND=c||null};
var kmd=function(a){PP.call(this);var b=this;this.context=a;this.error=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.sE,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.H=_.Sh();this.O=_.Pd(this.context.Pc.Yf(),30);jmd(this)};_.L(kmd,PP);
var jmd=function(a){var b=a.context.Oj;YO(b,["rkYxSd"],function(){return a.initialize()});YO(b,["px2C2c"],function(){a.context.Zf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Hj(a.context.Pc.Yf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&YO(b,["mrK8ic"],function(){ZO(b,"OZvrNc")}));!_.S(a.context.Pc,11,!1)&&_.S(a.context.Pc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.ck(fld(a.context.sE),_.bp,1).length||(b.H("NSockf")?
ZO(b,"DEJoH"):YO(b,["NSockf"],function(){ZO(b,"DEJoH")}))},12E3));YO(b,c,function(){if(!b.H("px2C2c")){var e=new _.of;_.qf(e,!0);_.pf(e,301);var f=new _.dD;_.x(f,1,e);a2c(f,lmd(a));a.query(f).Sg(function(){a.initialize()})}})};kmd.prototype.V=function(){var a="User prefs detected: "+_.ck(fld(this.context.sE),_.bp,1).length;this.context.Zf().info("drive.ds.sync.userprefs.UserPrefsManager",a);mmd(this)};
kmd.prototype.query=function(a,b){var c=this,d=b?{ND:b}:void 0;return this.context.Sm().then(function(e){return e.Ve(a,d)}).then(function(e){c.error=null;var f=c.context.sE;f.uQ(_.ck(e,_.bp,3),f.xD()?6:1,_.Pd(a,3))}).then(null,function(e){e=_.UA(e);_.A(e.Qg,5,4);0<c.commands.jc()||c.context.CJ(e.Qg);c.error=e;throw e;})};
kmd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.TG(),e=new Set([].concat(_.nd(this.context.sE.SF.keys()))),f=_.Pd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Kja=!0);this.error?d.Pd(this.error):c.Kja?(a2c(c.request,lmd(this,f)),_.Th(this.H?this.H.promise:this.query(c.request,c.ND||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var lmd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.sE.SF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
kmd.prototype.getData=function(a,b,c){b=this.context.sE.dH(b);a.callback(new _.uN(b.H,b.Re,c))};var mmd=function(a){var b=a.context.Pc.Yf();_.n.setTimeout(function(){var c=new _.dD,d=new _.of;_.pf(d,306);_.x(c,1,d);a2c(c,lmd(a));_.Th(a.query(c).Sg(_.Ff),function(){mmd(a)})},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,5,72E5))},nmd=function(a,b,c){this.request=a;this.Kja=!!b;this.ND=c||null};
var omd=function(a,b,c,d){OP.call(this,"IS",b);this.context=a;this.Mc=new _.He(this);this.Ba=_.Sh();this.O=null;this.ha=!1;this.W=null;this.Fa=new gfd(a);V1c(this.Fa);this.Ma(this.Mc);this.ka=new $ld(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new Ged(1))});this.ma=new dmd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new Ged(2))});this.oa=new kmd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new Ged(4))});this.Ha=d;this.H=
this.context.Sm()};_.L(omd,OP);_.g=omd.prototype;
_.g.jV=function(){var a={};return a["3.43"]=this.T_.bind(this),a["3.42"]=this.d8.bind(this),a["3.1"]=this.GN.bind(this),a["3.2"]=this.dH.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.jO.bind(this),a["3.4"]=this.wz.bind(this),a["3.5"]=this.Pq.bind(this),a["3.6"]=this.jS.bind(this),a["3.8"]=this.Kl.bind(this),a["3.36"]=this.Wy.bind(this),a["3.9"]=this.tF.bind(this),a["3.10"]=this.Br.bind(this),a["3.11"]=this.xaa.bind(this),a["3.12"]=this.I8.bind(this),a["3.13"]=this.vT.bind(this),a["3.14"]=
this.vaa.bind(this),a["3.15"]=this.K8.bind(this),a["3.16"]=this.lu.bind(this),a["3.17"]=this.SDb.bind(this),a["3.18"]=this.WDb.bind(this),a["3.19"]=this.xQ.bind(this),a["3.20"]=this.UDb.bind(this),a["3.25"]=this.TDb.bind(this),a["3.22"]=this.J8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.koa.bind(this),a["3.29"]=this.dyb.bind(this),a["3.40"]=this.YDb.bind(this),a["3.33"]=this.ZDb.bind(this),a["3.39"]=this.vP.bind(this),a["3.37"]=this.XDb.bind(this),a["3.38"]=this.uab.bind(this),a["3.41"]=
this.lS.bind(this),a["3.44"]=this.A0.bind(this),a["3.45"]=this.Zo.bind(this),a["3.46"]=this.e8.bind(this),a};_.g.GN=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wL);a=new bmd(c,a.args[1],this.context.H[a.clientId]);ZO(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.qd([d.response,d.Re,d.l0])},function(d){return b.qd(void 0,d)})};
_.g.dH=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.dD);a=new nmd(c,a.args[1],this.context.H[a.clientId]);ZO(this.context.Oj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.qd([d.response,d.Re,d.l0])},function(d){return b.qd(void 0,d)})};
_.g.xd=function(a){var b=this,c=dO(a.args[0],!!a.Zb,D1c),d=_.E(c,_.YL,16)||_.E(c,_.ZL,1)||_.E(c,_.$L,2)||_.E(c,_.cM,3)||_.E(c,_.zN,4)||_.E(c,_.aM,5)||_.E(c,_.gM,6)||_.E(c,_.iM,7)||_.E(c,_.jM,8)||_.E(c,_.mM,9)||_.E(c,_.CM,10)||_.E(c,_.DM,11)||_.E(c,_.EM,12)||_.E(c,_.ML,13)||_.E(c,_.HM,14)||_.E(c,_.IM,15)||_.E(c,_.bO,17),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.jO=function(a){var b=this,c=dO(a.args[0],!!a.Zb,M1c),d=_.E(c,_.dM,1)||_.E(c,_.kM,2)||_.E(c,_.JM,3),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.wz=function(a){var b=this,c=dO(a.args[0],!!a.Zb,G1c),d=QP(this,a),e=[],f=[];I1c(c).forEach(function(h){h instanceof _.YL?e.push(String(h.Ic())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Ve(h,d)}))});a=_.iL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Th(a,function(){return void Ehd(b.context.wf)});return a.then(function(h){return b.qd([new t1c(e,h)])})};
_.g.Pq=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=QP(this,a);a=this.H.then(function(f){return f.Ve(c,e)}).then(function(f){return new _.sN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.sN(f.response,f.Re,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new imd(c,d,this.context.H[a.clientId]),ZO(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.qd([f.response,f.Re,f.l0])},function(f){return b.qd(void 0,
f)})};_.g.jS=function(a){var b=this,c=dO(a.args[0],!!a.Zb,J1c),d=_.E(c,_.eD,1)||_.E(c,_.fD,2),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};_.g.Kl=function(a){a=a.args[0];if(this.context.gz)a?_.YYc(this.context.gz,!0):this.context.nk().Xe()&&this.context.gz.wM(!0).then(null,function(){});else try{this.context.Ij().Kl(a)}catch(b){return this.qd(void 0,b)}return this.qd([])};
_.g.Wy=function(a){var b=this,c=a.args[0];return this.context.Wy(c).then(function(d){return d?(b.context.Ij().Wy(c),b.Ha(c),b.context.Xs.qL().catch(function(){return!c})):_.Ph(!c)}).then(function(d){return b.qd([d])},function(d){return b.qd(void 0,d)})};_.g.sync=function(){var a=this;return _.Rh([this.context.taa.promise,this.context.ka.promise]).then(function(){return a.context.Xs.qL()}).then(function(){return a.qd([])},function(b){return a.qd(void 0,b)})};
_.g.tF=function(){try{var a=this.context.x6;a&&a.Moa();this.context.Aha.tF();return this.qd([])}catch(b){return this.qd(void 0,b)}};_.g.lS=function(){this.context.lS();return this.qd([])};_.g.Br=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.pM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.xaa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.qM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.I8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.eM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.vT=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.FM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.vaa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.rM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return _.BL(b.context.Pc)?Gad(b.context.wf.Eq,[_.E(e,_.Dk,2)],c.Ic()).then(function(){return e}):e}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.K8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.hM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.lu=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.yM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d).then(function(f){return _.BL(b.context.Pc)?Fad(b.context.wf.Eq,f):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.SDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.ped),d=new _.nVc(c,a.args[1],a.args[2]||void 0),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.WDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.xM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d).then(function(f){return _.BL(b.context.Pc)?Gad(b.context.wf.Eq,_.ck(f.qd(),_.Dk,2),c.yd().getId()).then(function(){return f}):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.xQ=function(){var a=this;return(_.S(this.context.Pc.Yf(),52,!1)?_.Ph(Y9c(new X9c,0)):this.context.KI.xQ()).then(function(b){return a.qd([b])},function(b){return a.qd(void 0,b)})};_.g.UDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.mVc),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.TDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.vM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.J8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.fM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.koa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.eL),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e,null])},function(e){return b.qd([null,_.JL(e)])})};_.g.dyb=function(){return this.qd([!0])};_.g.YDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.HF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.ZDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.IF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.T_=function(a){a=dO(a.args[0],!!a.Zb,_.bf);Ugd(this.context.wf,[a]);return this.qd([])};_.g.d8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.bM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.vP=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wP),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return Qad(c,e)}).then(function(e){return b.qd(e)},function(e){return b.qd(void 0,e)})};_.g.XDb=function(a){var b=this,c=new _.uVc(dO(a.args[0],!!a.Zb,_.oTb),a.args[1]),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e.response,e.pageToken])},function(e){return b.qd(void 0,e)})};
_.g.uab=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.GF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.A0=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.mN),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.Zo=function(a){var b=a.args.map(function(c){return dO(c,!!a.Zb,_.FL)});this.context.wf.Zo(b);Ehd(this.context.wf);return this.qd([])};_.g.e8=function(){var a=this,b=this.context.gz;return(b?b.wM():_.Ph(_.HYc(0))).then(function(c){return a.qd([c])},function(c){return a.qd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Sh();this.context.Zf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Pc.Ji());this.Mc.listen(this.context,_.Ac,function(e){e=e.error;var f=e.Qg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):W4c(a.context.Zf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.bN(this.context.Pc)&&c.push("BNEDtc");YO(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});YO(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){FP(a.context).then(function(e){return void e.start()})};YO(b,["T8oKm","ZA9qG"],function(){return void d()});YO(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();ZO(b,"NSockf")}return this.O.promise};_.g.Pba=function(){return this.Ba.promise};_.g.Ku=function(){var a=this.context.x6;a&&a.dispose();return this.context.Ku()};
var QP=function(a,b){return(a=a.context.H[b.clientId])?{ND:a}:{}};
var pmd=function(a,b,c){OP.call(this,"DU",b);this.context=a;this.O=c;this.H=new gfd(a)};_.L(pmd,OP);_.g=pmd.prototype;
_.g.jV=function(){var a=this,b={};return b["5.1"]=function(){return a.oia()},b["5.2"]=function(c){return a.XM(c)},b["5.4"]=function(c){return a.Kz(c)},b["5.5"]=function(){return a.oR()},b["5.10"]=function(){return a.BN()},b["5.6"]=function(){return a.Oda()},b["5.7"]=function(){return a.gT()},b["5.9"]=function(c){return a.vqa(c)},b["5.8"]=function(c){return a.u5(c)},b["5.11"]=function(){return a.Kpa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Kl(c)},b};
_.g.oia=function(){var a=this;this.context.Xs.vS();var b=this.context.Pc;return Ocd(_.$M(_.vL(b)),_.aN(b),this.context.Zf()).Sg(function(){}).then(function(){return a.qd([])})};_.g.XM=function(a){a=this.context.wf.zm.H(a.args[0]);return this.qd([a?a.Zb():JSON.stringify(null)])};_.g.Kz=function(a){var b=this;return this.context.UA.Kz(a.args[0]).then(function(c){return b.qd([c.Zb()])})};_.g.oR=function(){for(var a=this.context.UA.oR(),b=[],c=0;c<a.length;c++)b.push(a[c].je());return this.qd([JSON.stringify(b)])};
_.g.u5=function(a){var b=this,c=new _.QTc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.E(c,_.CL,3)||_.E(c,_.LM,4)||_.E(c,_.zN,5)||_.E(c,_.IM,6)||_.E(c,_.jM,7)||_.E(c,_.cM,8)||_.E(c,_.gM,9)||_.E(c,_.ML,10)){var f=e$c(c);return this.context.Sm().then(function(h){return h.Ve(f,{u7a:d,v7a:e})}).then(this.vab.bind(this,a),function(h){return b.qd(void 0,h)})}return _.Ph(this.qd(void 0,Error("ag")))};
_.g.vab=function(a,b){a=[];var c="";if(b instanceof _.AN){a=b.qd().Gd();var d=_.C(b,2);c=b.Yn()}else if(b instanceof _.NM)b.getItem()&&a.push(b.getItem()),d=b.hN();else return this.qd(void 0,Error("bg"));b=[];for(var e=0;e<a.length;e++)b.push(a[e].je());return this.qd([JSON.stringify(b),d,c])};_.g.vqa=function(){var a=this.context.Pc,b=a.Yf();a="email:"+_.vL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Oda=function(){this.context.bG.H=new Ebd(_.Rg().substring(0,8));return this.qd([])};
_.g.gT=function(){var a=this.context.bG.BN();if(a){for(var b=[],c=Gbd(this.context.bG),d=0;d<c.length;d++)b.push(c[d].je());a=[a.nea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.bG;b.H=null;b.NY=[];return this.qd(a)};_.g.BN=function(){var a=this.context.bG.BN();return this.qd(a?[a.nea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.qd([b])})};
_.g.Kpa=function(){var a=[this.O.Ku(),_.wi(3E4)];_.Th(_.Fja(a),function(){_.n.setTimeout(function(){self.close()})});return this.qd([])};_.g.Kl=function(a){this.H.Kl(a.args[0]);return this.qd([])};
var qmd=function(a,b,c,d,e,f,h){_.PN.call(this,a,b,c,d,f,h);this.H=e;this.Dd=null};_.L(qmd,_.PN);qmd.prototype.DM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.R2a(M0c(c.O,c.va,a,b,c.jj,c.ha))},null))};qmd.prototype.ma=function(a,b){var c=this.yd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Kz();e&&(d=_.C(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.jZc(a,b,d))}};
var rmd=function(a,b,c,d,e,f,h,k){OP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Dd=h;this.H={};this.O={};this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(rmd,OP);_.g=rmd.prototype;
_.g.jV=function(){var a=this,b={};return b["7.1"]=function(c){return a.upload(c)},b["7.2"]=function(c){return a.cancel(c)},b["7.3"]=function(c){return a.wG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.DM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.qd([])},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.qd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=new _.cM(JSON.parse(a.args[0])),e=a.args[1];if(!this.H[c]){var f=new qmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Dd);this.Mc.listen(f,"Lb",_.tb(this.wab,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=_.Sh();b.O[q]=r;b.update(l,p,smd(3,q,[h,k]));return r.promise}).then(function(h){return b.qd([h.Zb()])},function(h){return b.qd(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.qd([])};_.g.wG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].wG();return this.qd([])};
_.g.retry=function(a){var b=this,c=a.clientId+":"+a.requestId;if(this.H[c]){var d=a.args[0],e=a.args[1],f=this.H[c].retry(e),h={},k=0;_.Ka(e,function(l){h[l]=f[k++]});_.Ma(h,function(l,p){l.Sf(function(q){b.update(a.clientId,c,smd(0,d,[p,q.Zb()]))},function(q){b.update(a.clientId,c,smd(1,d,[p,q.Qg.Zb()]))})});return this.qd([])}return this.qd(void 0,_.JL("Could not retry upload."))};
_.g.DM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args[1];return this.H[b]?(b=this.H[b],c=M0c(b.O,b.va,c,a,b.jj,b.ha),this.qd([P1c(c)])):this.qd(void 0,_.JL("FileUploader not found."))};_.g.wab=function(a,b,c){this.update(a,b,smd(2,c.requestId,[c.progress,c.totalBytes]))};var smd=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var tmd=function(a,b){OP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(tmd,OP);tmd.prototype.jV=function(){var a=this,b={};return b["9.1"]=function(c){return a.export(c)},b["9.2"]=function(c){return a.cancel(c)},b};
tmd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=new _.lVc(JSON.parse(a.args[0]));e=new AP(this.O,e);var f=_.xe(e,"Pb",function(h){b.update(a.clientId,c,[h.qPa,h.sua])});_.ze(e,function(){_.oi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.qd([h.Zb()])},function(h){return b.qd(void 0,h)})};tmd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var umd=function(a,b){OP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Sh();this.O=new lfd(a,a.Kg)};_.L(umd,OP);umd.prototype.jV=function(){var a=this,b={};return b["6.1"]=function(c){return vmd(a,c)},b["6.2"]=function(c){return wmd(a,c)},b["6.3"]=function(){a.H&&(ofd(a.O),a.H=!1,a.W=_.Sh());return a.qd([])},b};
var vmd=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return dO(d,!!b.Zb,_.Wk)});a.O.ql(c);ZO(a.context.Oj,"GZTDpc");a.W.resolve()}return a.qd([])},wmd=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return dO(d,!!b.Zb,_.FL)});nfd(a.O,c);return a.qd([])})};
var xmd=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("Fg`"+b);a.services.set(b,new _.Wh)})};xmd.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.ag())b.callback(a);else throw Error("Gg`"+a.V);};var ymd=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)})};xmd.prototype.Io=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.ag()})};
var zmd=function(){},Amd={0:2E3,1:3E3,2:5E3},Bmd=function(a,b){this.request=a;this.ha=b;this.O=_.Sh();this.continuationToken="";this.V=0;this.ME=this.W=!1;this.H=zmd};Bmd.prototype.Yg=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=zmd;b.V=0;return c},function(c){b.H=zmd;b.V=0;return Promise.reject(c)})};
Bmd.prototype.sendRequest=function(){var a=this;if(this.ME)this.O.resolve((new vP).Cc(8));else{var b=new _.yVc(this.request,this.continuationToken);this.ha.then(function(c){return c.Ve(b)}).then(function(c){Cmd(a,c)},function(c){a.handleError(c)})}};var Cmd=function(a,b){var c;a.continuationToken=null!==(c=b.Yn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},Dmd(a.V++,a.ka)):a.O.resolve(b)};Bmd.prototype.handleError=function(a){a=_.UA(a);this.O.reject(a)};
Bmd.prototype.cancel=function(){this.ME=!0};var Dmd=function(a,b){return b?b:(a=Amd[a])?a:1E4};
var Emd=function(a,b){OP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(Emd,OP);Emd.prototype.jV=function(){var a=this,b={};return b["10.1"]=function(c){return Fmd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var Fmd=function(a,b){var c=b.clientId+":"+b.requestId,d=new _.Vdd(JSON.parse(b.args[0]));d=new Bmd(d,a.O);a.H.set(c,d);return _.Th(d.Yg(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.qd([e])},function(e){return a.qd(void 0,e)}),function(){a.H.delete(c)})};Emd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var RP=function(a,b,c){_.N.call(this);this.H=a;this.hs=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ja=_.Sh();this.W=!1;this.Ba=_.Sh();this.O=_.Sh();this.oa=null;this.va=this.Ta=!1;this.yb=_.Sh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.bC=Date.now();this.services=new xmd;this.Lb=new _.He(this);this.Ma(this.Lb)};_.L(RP,_.N);RP.prototype.tY=function(a){this.O.promise.then(function(b){b.x6||a.Yi(b)})};
var Jmd=function(a,b){var c=Pld(a.H,b),d=a.Sb.bind(a,c);QO(b,"8.1",d);b.registerService("8.1",d);QO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return Gmd(a,c,f)});QO(b,"8.2",a.Fb.bind(a,c));QO(b,"8.3",a.Nb.bind(a,c));ymd(a.services,b);b.start();Hmd(a,c,b);a.ka(c,b);var e=[];a.oa||(a.oa=_.Rh([a.Ja.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.oa);_.Rh(e).then(function(){return void Imd(a,c,b)},function(f){a.Ta=!0;RO(b,"2.2",{err:_.JL(f).Zb()},d)})},Kmd=function(a){return Math.floor((Date.now()-
a.bC)/1E3)},Lmd=function(a,b,c){var d=function(e){RO(b,"2.8",{au:"ib"===e.type})};a.Lb.listen(c.KI,["ib","jb"],d);_.ze(b,a.Lb.Xc.bind(a.Lb,c.KI,["ib","jb"],d))},Mmd=function(a,b,c){var d=c.nk(),e=[].concat(_.nd(Object.values(_.WA))),f=function(h){RO(b,"2.19",{cs:h.connectionState})};a.Lb.listen(d,e,f);_.ze(b,function(){a.Lb.Xc(d,e,f)})};
RP.prototype.Sb=function(a){var b=Qld(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Tld(d,a)}),b.dispose(),this.log(_.lt("Client %d disconnected (num clients remaining: %d)",a,_.Qa(this.H.channels))),0===_.Qa(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.Th(d.Ku(),c)})}};
RP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.Ph();var c=new _.Vb(JSON.parse(b.dsc));_.A(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){Kld(d,a,_.F(c.Yf(),37,""));Jld(d,_.Pd(c,28));d.wf.Rla(_.ck(c,_.zl,91));return d.LX.promise.then(function(){Ugd(d.wf,_.ck(c,_.bf,44))})},function(){})};
RP.prototype.Fb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new agd(e,e.Kg);e.Yg(d);e.dispose();(e=c.H.channels[a]||null)&&RO(e,"2.16")})}};RP.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){Nmd(new Egd(h),e);(h=c.H.channels[a]||null)&&RO(h,"2.17",{t:f})})}};
var Nmd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Yg(c)});a.dispose()};RP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={Sea:b.Sea,rfa:b.rfa},d=c.next())b.Sea=d.value,b.rfa=_.Sh(),RO(b.Sea,"2.12",void 0,function(e){return function(){e.Sea.dispose();e.rfa.resolve()}}(b)),a.push(b.rfa.promise);return _.Rh(a).then()};
RP.prototype.initialize=function(a){var b=this;a=a[0];_.NWc(a,this.fields);var c=_.E(a,_.SL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new fO(null,a,this.hs,c,void 0,void 0),e=d.Tk().H(106E3);qld(d,this.$a.bind(this));this.Lb.listen(d.Ij(),"Ab",function(k){k={os:k.Xe()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())RO(p.value,"2.6",k)});this.Lb.listen(d,_.Ac,this.nb);this.Lb.listen(d,"w8KrJc",this.Lc);b$c(d.KI,this.ka.bind(this));var f=d.gz;f&&k5c(f,function(){return b.ka()});
this.O.resolve(d);var h=Omd(this,d,new omd(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Dc,this)));e&&h.then(function(){return e&&e.Yj()});return h}catch(k){return _.Qh(k)}};
var Omd=function(a,b,c){a.services.activate(c);a.services.activate(new Rld(b,a.H));a.services.activate(new pmd(b,a.H,c));a.services.activate(new umd(b,a.H));a.services.activate(new rmd(b.Pc,b.UA,b.nR().Vfa,b.Sm(),b.tQ,b.Zf(),b.Tk(),a.H));a.services.activate(new tmd(b.Sm(),a.H));a.services.activate(new Emd(b.Sm(),a.H));return c.initialize()},Imd=function(a,b,c){var d=_.Qa(a.H.channels);a.log(_.lt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));RO(c,"2.2",{id:b,
clients:d,uptimeSec:Kmd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.g_.addCallback(function(f){c.isDisposed()||RO(c,"2.5",{id:f})});1<d&&FP(e).addCallback(function(f){return f.Cwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Pba().then(function(){c.isDisposed()||RO(c,"2.14")})});Lmd(a,c,e);Mmd(a,c,e)})};RP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())RO(c.value,"2.15",a)};
RP.prototype.Dc=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){RO(c,"2.18",b)})};RP.prototype.nb=function(a){a={p:a.error.Qg.Zb()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())RO(c.value,"2.10",a)};RP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())RO(b.value,"2.7")};var Hmd=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){RO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
RP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Qh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Ph()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.Qh(Error("Ig"));var d=_.Sh();b.send("1.1",void 0,function(e){Gmd(c,a,e);d.resolve()});return d.promise};var Gmd=function(a,b,c){_.Ma(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
RP.prototype.log=function(a){this.O.promise.then(function(b){return b.Zf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var Pmd=function(a,b){NP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(Pmd,NP);_.g=Pmd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.SL,58)};_.g.getContext=function(){return this.context};_.g.Kz=function(){return this.send("5.4",[this.H],function(a){return new _.BXc(JSON.parse(a[0]))})};_.g.Zf=function(){return this.context.Zf()};_.g.XM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Wk(b)})};
_.g.oR=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.QTc(a[c]));return b})};_.g.u5=function(a,b,c){return this.send("5.8",[a.Zb(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.Wk(e[k]));return{items:h,Nia:f,pageToken:d}})};_.g.vqa=function(){this.send("5.9",[])};_.g.oia=function(){this.send("5.1",[])};_.g.D9=function(){return _.tUc[_.Hj(this.context.Pc.Yf(),8,0)]};
_.g.Oda=function(){this.send("5.6",[])};_.g.gT=function(){return this.send("5.7",[],function(a){if(0===a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new f$c(a[e]));return{traceId:new Ebd(b,c),spanRecs:d}})};_.g.BN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new Ebd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.Kpa=function(){this.send("5.11",[])};
_.g.Kl=function(a){this.send("5.13",[a])};
var Qmd=function(a,b){NP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(Qmd,NP);Qmd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request.Zb()],function(b){return new ved(JSON.parse(b[0]))},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};
Qmd.prototype.cancel=function(){this.send("9.2",[this.request.Zb()],void 0,this.id)};Qmd.prototype.Z$=function(a,b,c){this.dispatchEvent(new Hed(c[0],c[1]))};
var Rmd=function(a){NP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(Rmd,NP);Rmd.prototype.vY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.LV().Sf(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.W_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var Smd=function(a,b){gP.call(this,a,b)};_.L(Smd,gP);Smd.prototype.Dia=function(a,b,c){return new _.uVc(a,c)};Smd.prototype.Qka=function(a){return a.pageToken||""};Smd.prototype.dka=function(a){return a.response.O()};Smd.prototype.v6=function(){};
var Tmd=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new Smd(this.request,this.ka)};_.L(Tmd,zP);_.g=Tmd.prototype;_.g.fH=function(){this.V.Yg().then(this.xab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return Ndd(new uP,this.O).Cc(this.status)};_.g.ms=function(){return new Ldd};_.g.Sj=function(){return!this.Xe()&&(!this.H||Sad(this.V))};_.g.xab=function(a){this.changed=this.H=!0;this.O=a;this.Wt()};
_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};_.g.jc=function(){return this.O.length};
var Umd=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.SRc;this.suggestionSessionId=null;this.ka=c};_.L(Umd,zP);_.g=Umd.prototype;_.g.fH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.rk();a.suggestionSessionId=b.Uf();a.Wt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.H0c(_.G0c((new _.RN).Cc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Lz(this.O,this.data);this.O=this.data;var b=(new Rdd).Cc(this.status);return _.Cb(b,2,a)};_.g.tP=function(){};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};
var Vmd=function(){};_.g=Vmd.prototype;_.g.GM=function(a,b){b=med(1).setPosition(b);_.x(b,2,a);return b};_.g.FM=function(a,b){b=med(2).setPosition(b);_.x(b,2,a);return b};_.g.QE=function(a,b,c){b=med(3).Xy(b).setPosition(c);_.x(b,2,a);return b};_.g.FQ=function(a,b){b=med(4).setPosition(b);_.x(b,2,a);return b};_.g.jN=function(a){return _.E(a,_.S8c,2)};
var Xmd=function(){_.fL.call(this,new Vmd,function(a){return Wmd(a)})};_.L(Xmd,_.fL);var Wmd=function(a){switch(_.Fj(a,R8c[0])){case 6:return _.ux(_.E(a,_.tx,6)).getTime().toString();case 7:var b=_.E(a,_.JO,7);a=_.E(b,_.tx,1);b=b.Fr();return a&&b?(a=_.ux(a).getTime(),_.ux(b).getTime()+"--"+a):"";default:return""}},Zmd=function(){Ymd||(Ymd=new Xmd);return Ymd},Ymd;
var $md=function(a,b,c,d){zP.call(this,b.Ij(),b.nk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.SYc(_.Lj(b.Pc.Yf(),6,1E3));this.oa=c};_.L($md,zP);_.g=$md.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.fH=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Lr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;zP.prototype.Lr.call(this,a)};
_.g.getData=function(){var a=(new red).Cc(this.status);_.Cb(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=Zmd().Lz(this.ka,this.O),b=new oed;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.O);return a};_.g.Sj=function(){return!this.Xe()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.yd=function(){return this.request};_.g.MMa=function(a){this.dispatchEvent(new _.oc(a));this.V=!1};
_.g.Sxb=function(a,b){this.H=!0;var c=_.ck(b,_.S8c,1);this.O=this.O.concat(c);this.token=b.ty()||"";0<c.length&&(this.changed=!0);this.Wt();this.page(a)};_.g.kyb=function(a){Zmd();this.H=!0;var b=_.ck(a,_.S8c,1);kO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ty()||"",this.changed=!0,this.Wt(),this.page()):(this.V=!1,and(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Sj()&&this.O.length<this.limit?this.oa(this.request,this.limit-this.O.length,this.token).Sf(_.tb(this.Sxb,a),this.MMa,this):(this.V=!1,a&&a.callback(),and(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Sf(this.kyb,this.MMa,this))};_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};
_.g.NL=function(){this.Xe()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.tP=function(){this.active&&this.Sj()&&!this.V&&this.page(new _.Wh)};var and=function(a){_.R(a.request,3)||(_.mH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Xa()))};$md.prototype.jc=function(){return this.O.length};
var bnd=function(){};_.g=bnd.prototype;_.g.GM=function(a,b){return ted(sed(1),a).setPosition(b)};_.g.FM=function(a,b){return ted(sed(2).setPosition(b),a)};_.g.QE=function(a,b,c){return ted(sed(3).Xy(b).setPosition(c),a)};_.g.FQ=function(a,b){return ted(sed(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,_.oP,2)};
var cnd=function(){_.fL.call(this,new bnd,function(a){return a.getId()})};_.L(cnd,_.fL);var end=function(){dnd||(dnd=new cnd);return dnd},dnd;
var fnd=function(a,b,c){zP.call(this,b.Ij(),b.nk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.SYc(_.Lj(b.Pc.Yf(),54,1E3));this.ma=c};_.L(fnd,zP);_.g=fnd.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.fH=function(){this.poll()};_.g.getData=function(){var a=new Bed;a=_.Cb(a,2,this.O).Cc(this.status);this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=end().Lz(this.ka,this.O),b=new zed;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.O);return a};
_.g.Sj=function(){return!this.Xe()&&!this.H};_.g.poll=function(){var a=new _.Wh;this.ma(this.request).Sf(_.tb(this.zab,a),_.tb(this.yab,a),this);return a};_.g.yab=function(a,b){this.dispatchEvent(new _.oc(b));a.Pd(b);gnd(this)};_.g.zab=function(a,b){this.H=!0;b=_.ck(b,_.oP,2);kO(end(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Wt();a.callback();gnd(this)};
_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};_.g.tP=function(){};var gnd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Xa()),_.mH(a.V))};fnd.prototype.jc=function(){return this.O.length};
var hnd=function(){};_.g=hnd.prototype;_.g.GM=function(a,b){return wdd(vdd(1),a).setPosition(b)};_.g.FM=function(a,b){return wdd(vdd(2).setPosition(b),a)};_.g.QE=function(a,b,c){return wdd(vdd(3).Xy(b).setPosition(c),a)};_.g.FQ=function(a,b){return wdd(vdd(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,_.Dk,2)};
var ind=function(){_.fL.call(this,new hnd,function(a){return a.getId()})};_.L(ind,_.fL);_.Gf(ind);
var SP=function(a,b,c){_.si.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(SP,_.si);SP.prototype.wi=function(a){this.limit=a};SP.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():jnd(this)};SP.prototype.Ska=function(){return this.permissions};
var jnd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.xM;c=_.x(c,3,a.request);c=_.A(c,2,a.nextPageToken);b=_.A(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};SP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Yn()||"";a=_.ck(a.qd(),_.Dk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return jnd(this);this.dispatchEvent("Fb")};
SP.prototype.handleError=function(a){this.H=!1;a=new TO(_.JL(a),_.Lj(this.context.Pc.Yf(),1,1));this.dispatchEvent(a)};
var knd=function(a,b,c,d){zP.call(this,b.Ij(),b.nk(),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 SP(b,this.request,this.ma);_.ze(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(knd,zP);_.g=knd.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.fH=function(){this.query()};_.g.Lr=function(a){zP.prototype.Lr.call(this,a||100)};
_.g.getData=function(){var a=new mO;a=_.Cb(a,2,this.permissions.slice(0,this.limit)).Cc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ms=function(){var a=ind.Hb().Lz(this.ka,this.permissions),b=new Ddd;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Sj=function(){var a;(a=!this.Xe())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.yd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new SP(this.context,this.request,this.ma);this.O.wi(this.limit);return this.O.Yg().then(function(){return lnd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){zP.prototype.handleError.call(this,a);mnd(this)};var lnd=function(a){a.H=!0;var b=a.O.Ska();kO(ind.Hb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Wt();mnd(a)};
knd.prototype.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};knd.prototype.tP=function(){var a=this;this.O.wi(this.limit);this.O.Yg().then(function(){return lnd(a)},function(b){return a.handleError(b)})};var mnd=function(a){if(a.active){var b=a.context.Pc.Yf();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,15,36E5))}};knd.prototype.jc=function(){return this.permissions.length};
var nnd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.Bc,a))},0)};
var ond=function(){},pnd=function(a,b){NP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=ond;this.H=null;this.id=String(_.Da(this))};_.L(pnd,NP);pnd.prototype.Z$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(dO(a,b,vP)))};pnd.prototype.Yg=function(a){var b=this;a=void 0===a?ond:a;this.H||(this.O=a,this.H=_.Sh(),this.send("10.1",[this.request.Zb()],function(c,d){c=dO(c[0],d,vP);b.H.resolve(c)},this.id).Gg(function(c){b.H.reject(c)}));return this.H.promise};
pnd.prototype.cancel=function(){this.send("10.2",[this.request.Zb()],void 0,this.id)};
var qnd=function(a,b,c){_.si.call(this);this.instanceId=a;this.H=b;this.V=c;this.Du={};this.O={};_.ze(this,(0,_.v)(this.Aab,this))};_.L(qnd,_.si);_.g=qnd.prototype;_.g.getId=function(){return this.instanceId};_.g.EQ=function(){return _.hL()};_.g.upload=function(a,b){!_.C(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.SWc;_.A(d,1,b.size);_.x(a,15,d);this.O[a.fj()]=b}return this.H("7.1",[a.Zb(),c],function(e){return new _.NM(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.H("7.2",[a])};_.g.wG=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 _.Wh;c=this.EQ();this.Du[c]=b;this.H("7.4",[c].concat(_.nd(a)));return _.Sa(b)};_.g.DM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.nd(b)),function(d){return Q1c(d[0])}).addCallback(function(d){return _.$h(c.V.then(function(e){return e.R2a(d)}))})};_.g.Aab=function(){this.H("7.6",[])};
var rnd=function(a,b,c,d){if(a.Du[b]&&a.Du[b][c]){var e=a.Du[b][c];d instanceof _.NM?e.callback(d):e.Pd(d);delete a.Du[b][c];_.Va(a.Du[b])&&delete a.Du[b]}};
var snd=function(a,b){NP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(snd,NP);var tnd=function(a){var b=_.hL(),c=new qnd(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.ze(c,function(){return void a.H.delete(b)});return c};
snd.prototype.Z$=function(a,b,c){if((a=this.H.get(a))&&c){b=c[1];var d=c.slice(2);switch(c[0]){case 3:c=d[0];d=d[1];d=Math.min(d,1073741824);var e=a.O[b];a.H("7.7",[b,_.ZUc(e,c,Math.min(e.size,c+d))]);break;case 0:c=new _.NM(JSON.parse(d[1]));rnd(a,b,d[0],c);break;case 1:c=new _.nc(void 0,new _.mc(JSON.parse(d[1])));rnd(a,b,d[0],c);break;case 2:a.dispatchEvent(new _.jZc(b,d[0],d[1]));break;default:throw Error("Jg");}}};
var und=function(a,b){if(0===a.length)throw new _.nc("mutateUserPref requires a namespace.",_.UL(3));var c=null;b instanceof _.fD?c=(b=(b=_.E(b,_.bp,1))&&b.getKey())&&_.cp(b)||null:b instanceof _.eD&&(c=(b=b.getKey())&&_.cp(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.nc("mutateUserPref unsupported for namespace: "+c,_.UL(3));};
var vnd=function(a){this.H=a};
var x2c=function(a){NP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(wnd=_.Sh()).promise);var b=this;this.co=null;this.Ja=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.tn;this.Ha=new _.tn;this.V=wnd;wnd=void 0;this.context=a;sld(this.context,new Rmd(this.V.promise));Z4c(this.context.Kg,_.Pd(this.context.Pc,28));this.H=this.context.Wfa;this.O=new Uld(this.V.promise,this.context,this.H);this.nb=new snd(this.V.promise,this.context.tQ);this.Fa=new Pmd(this.V.promise,this.context);
this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.nk(),[].concat(_.nd(Object.values(_.WA))),function(c){return void b.dispatchEvent(c)})},wnd;_.L(x2c,NP);
x2c.prototype.initialize=function(){var a=this;if(!this.co){this.co=_.Ph(this.oa);var b=this.context.Tk().H(106E3);this.co.then(function(){b&&b.Yj();a.H1a()},function(){_.xN(a.context.Tk(),181008852)});var c=_.bN(this.context.Pc)?"(coldstart) ":"";this.context.Zf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Pc.Ji());var d=C1c(this.context.Pc,this.Ni(),_.hN(this.context.Kg));xnd(this,d);2===d.H?(c=new RP(new Old,6,this.context.Zf()),Jmd(c,d.O),this.Ha.resolve(c)):
V1c(this.Fa);this.context.Zf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();qld(this.context,function(){return ynd(d.channel)})}return this.co};
var ynd=function(a){return _.Fja([new _.Oh(function(b){a.isDisposed()||RO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},xnd=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",(0,_.v)(a.yb,a)):c.registerService("1.1",function(){return znd(a,b)});2===b.H?a.Ha.promise.then(function(){return void And(a,b)}):And(a,b);QO(c,"2.1",function(){return{dsc:a.context.Pc.Zb()}});QO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new Nld(d.id,c,a.context.Zf(),d.clients)),d.dsp&&Bnd(c),
d.ivd&&Cnd(a,c)):(d=new _.mc(JSON.parse(d.err)),a.oa.Pd(new _.nc("Unable to initialize dataservice.",d)))});QO(c,"2.15",function(d){a.dispatchEvent(new Ged(d.dt))});QO(c,"2.5",function(d){a.context.Iu(d.id)});QO(c,"2.6",function(d){a.context.Ij().Kl(d.os)});QO(c,"2.18",function(d){a.context.Ij().Wy(d.oois)});QO(c,"2.7",function(){a.ma=!1});QO(c,"2.8",function(d){a.context.Ha=d.au;a.dispatchEvent(new y5c(d.au?"ib":"jb"))});QO(c,"2.19",function(d){a.context.nk().update(d.cs)});QO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.lt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Zf().config(e,d);break;case "fine":_.fN(a.context.Zf(),e,d,"fine");break;case "finer":_.fN(a.context.Zf(),e,d,"finer");break;case "finest":_.fN(a.context.Zf(),e,d,"finest");break;case "info":a.context.Zf().info(e,d);break;case "warning":case "severe":W4c(a.context.Zf(),e,d);break;default:W4c(a.context.Zf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),W4c(a.context.Zf(),e,d)}});QO(c,"2.10",
function(d){return void a.X$(d)});QO(c,"2.12",function(){a.Ja=!0;TP(a)});QO(c,"2.14",function(){return a.$a.resolve()});QO(c,"2.16",function(){return a.Ta=!0});QO(c,"2.17",function(d){a.context.Zf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},And=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",znd(a,b));RO(b.channel,"8.4",{dsc:a.context.Pc.Zb()});Bnd(b.channel);Cnd(a,b.channel)},Bnd=function(a){_.n._DRIVE_dsp&&RO(a,"8.3",{dsp:Dnd(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];RO(a,"8.3",{dsp:Dnd(c)})}}},Cnd=function(a,b){_.S(a.context.Pc,24,!1)&&(_.n._DRIVE_ivd?RO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&RO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},znd=function(a,b){var c={};if(1===b.H){var d=new _.OOa(document);c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=d.get("APISID")||d.get("__Secure-APISID")}return{ac:c,bl:a.context.Pc.Ji(),
ufds:b.V}};x2c.prototype.yb=function(){return{uid:this.Ni(),fds:_.hN(this.context.Kg)}};x2c.prototype.Ni=function(){var a=_.Sj(_.Sj(_.HH(this.context.Pc.clone(),28),44),91),b=new _.nL;b.update(_.$M(_.vL(a)));b.update(String(_.KL(_.vL(a))));b.update(a.Zb());return _.aSc(b.digest())};var Dnd=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=x2c.prototype;_.g.X$=function(a){this.dispatchEvent(new _.oc(new _.nc(void 0,new _.mc(JSON.parse(a.p)))))};
_.g.query=function(a){TP(this);F9c(this.context.yn,a,X4c(this.context.Kg));this.tF();var b=this.O.ixa(a);this.Oa||(a=a.we(),a&&121===_.C(a,1)||(this.Oa=!0,this.Mc.listen(b,_.Bc,this.NMa)));return b};_.g.NMa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Fa.H=this.Ta,this.Mc.Xc(a,_.Bc,this.NMa))};_.g.Oq=function(a){TP(this);D9c(a);this.tF();return this.O.fxa(a)};
_.g.jva=function(a,b){var c=this;TP(this);if(this.ka&&_.ik(this.ka.yd(),a))return this.ka;this.ka=new $md(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return dO(h[0],k,U8c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.RFa=function(a,b){var c=this;TP(this);if(this.ha&&_.ik(this.ha.yd(),a))return nnd(this.ha),this.ha;this.ha=new knd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return dO(e[0],f,Edd)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.vaa=function(a){TP(this);return this.send("3.14",[a],function(b,c){return dO(b[0],c,tP)})};_.g.K8=function(a){TP(this);return this.send("3.15",[a],function(b,c){return dO(b[0],c,tP)})};
_.g.xd=function(a){TP(this);!this.ma&&_.OM(a)&&(this.ma=!0);a=E1c(a);return this.send("3.3",[a],function(b,c){return dO(b[0],c,_.NM)})};_.g.jO=function(a){TP(this);a=O1c(a);return this.send("3.35",[a],function(b,c){return dO(b[0],c,_.x5c)}).then()};_.g.wz=function(a){TP(this);for(var b=0;b<a.length;b++)!this.ma&&_.OM(a[b])&&(this.ma=!0);a=H1c(a);return this.send("3.4",[a],function(c,d){return U9c(c[0],d).get()})};_.g.exa=function(){TP(this);return tnd(this.nb)};
_.g.ySa=function(a){TP(this);return new Qmd(this.V.promise,a)};_.g.Pq=function(a,b){var c=this;TP(this);var d=_.Rg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=dO(e[0],f,UO);return new _.sN(f,e[1],e[2])}).addCallback(function(e){l$c(c.H,d,e);return e.response}).Gg(function(e){SO(c.H,d);return e})};_.g.Br=function(a){TP(this);return this.send("3.10",[a],function(b,c){return dO(b[0],c,Bdd)})};
_.g.xaa=function(a){TP(this);return this.send("3.11",[a],function(b,c){return dO(b[0],c,Fdd)})};_.g.I8=function(a){TP(this);return this.send("3.12",[a],function(b,c){return dO(b[0],c,Fdd)})};_.g.vT=function(a){TP(this);return this.send("3.13",[a],function(b,c){return dO(b[0],c,Fdd)})};
_.g.GN=function(a,b){var c=this;TP(this);var d=_.Rg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=dO(e[0],f,_.xP);return new _.vN(f,e[1],e[2])}).addCallback(function(e){l$c(c.H,d,e);return e.response}).Gg(function(e){SO(c.H,d);return e})};
_.g.dH=function(a,b){var c=this,d=_.Pd(this.context.Pc.Yf(),30);if(!d||0===d.length)return _.ai(new _.nc("getUserPrefs requires a namespace.",_.UL(3)));0===_.Pd(a,3).length&&a2c(a,d);TP(this);var e=_.Rg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=dO(f[0],h,_.lz);return new _.uN(h,f[1],f[2])}).addCallback(function(f){l$c(c.H,e,f);return f.response}).Gg(function(f){SO(c.H,e);return f})};
_.g.jS=function(a){TP(this);und(_.Pd(this.context.Pc.Yf(),30),a);a=L1c(a);return this.send("3.6",[a],function(b,c){return dO(b[0],c,Gdd)})};_.g.lu=function(a){TP(this);return this.send("3.16",[a],function(b,c){return dO(b[0],c,n5c)})};_.g.PBa=function(){return this.ma};_.g.Kl=function(a){TP(this);this.send("3.8",[a])};_.g.Wy=function(a){TP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.vY=function(a){TP(this);rld(this.context).vY(a);this.Wy(!!a)};
_.g.tF=function(){TP(this);this.send("3.9",[])};_.g.lS=function(){TP(this);this.send("3.41",[]);this.context.lS();var a=f5c(this.context.Tk(),106006);a&&this.V.promise.then(function(b){var c=_.E(_.nN(a),C4c,6);if(!c){c=new C4c;var d=_.nN(a);_.x(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Yj()},function(){})};_.g.CB=function(){TP(this);return this.context.CB()};_.g.xQ=function(){TP(this);return _.Ph(this.send("3.19",[],function(a,b){return dO(a[0],b,X9c)}))};_.g.isConnected=function(){return this.context.nk().isConnected()};
_.g.e8=function(){return this.send("3.46",[],function(a,b){return dO(a[0],b,_.GYc)}).then()};_.g.W9=function(){return this.Fa};_.g.sync=function(){TP(this);return this.send("3.28",[]).then()};_.g.Ku=function(){return this.context.Ku()};_.g.tY=function(a){this.Ha.promise.then(function(b){return void b.tY(a)})};_.g.mqa=function(a){TP(this);return this.O.pxa(a)};_.g.cZ=function(a){TP(this);return this.O.oxa(a)};_.g.OFa=function(a){TP(this);I9c(this.context.yn,a,X4c(this.context.Kg));return this.O.lxa(a)};
_.g.nqa=function(a){TP(this);return new pnd(this.V.promise,a)};_.g.Xva=function(a){var b=this;TP(this);if(!this.W||this.W.isDisposed())this.W=new fnd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return dO(d[0],e,Bed)})});return this.W};_.g.yGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.J8=function(a){TP(this);return this.send("3.22",[a],function(b,c){return dO(b[0],c,Ced)})};
_.g.MV=function(a){TP(this);return this.send("3.25",[a],function(b,c){return dO(b[0],c,xed)})};_.g.Pba=function(){return this.$a.promise};_.g.koa=function(a){var b=_.Sh();this.send("3.30",[a],function(c,d){c[0]?b.resolve(dO(c[0],d,Eed)):b.reject(new _.nc(void 0,dO(c[1],d,_.mc)))}).Gg(function(c){return void b.reject(c)});return b.promise};_.g.ywa=function(a){TP(this);return this.O.cxa(a)};_.g.d8=function(a){TP(this);return this.send("3.42",[a],function(b,c){return dO(b[0],c,G6c)}).then()};
_.g.vP=function(a){TP(this);var b=new _.tn;this.send("3.39",[a],function(c,d){return c.map(function(e){return dO(e,d,w$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new vnd(b.promise))};_.g.jGa=function(a){var b=this;TP(this);return new Tmd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new $8c(dO(d[0],e,uP),d[1])}).then()})};
_.g.woa=function(a){TP(this);return this.send("3.38",[a],function(b,c){return dO(b[0],c,Odd)}).then()};_.g.eLa=function(a){TP(this);return this.O.txa(a)};_.g.kra=function(a){TP(this);return this.O.sxa(a)};_.g.uJa=function(a){var b=this;TP(this);return new Umd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return dO(c[0],d,_.RN)}).then()})};_.g.vJa=function(a){TP(this);return this.O.mxa(a)};_.g.T_=function(a){TP(this);this.send("3.43",[a])};
_.g.A0=function(a){TP(this);return this.send("3.44",[a],function(b,c){return dO(b[0],c,t6c)}).then()};_.g.Zo=function(a){TP(this);if(1!==_.aN(this.context.Pc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Ic())return Promise.reject(Error("Lg"));if(!c.qk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.H1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.wi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Fja(b).then(function(c){c?_.ui(a.H1a.bind(a),6E4):(a.Ja=!0,TP(a))})}};var TP=function(a){a.Ja&&a.dispatchEvent(new ffd)};
var z2c=function(a){BP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Sh();this.H=a.Sm()};_.L(z2c,BP);z2c.prototype.kSa=function(){this.Ha=new $ld(this.context);this.Ma(this.Ha);this.Ja=new dmd(this.context);this.Ma(this.Ja);this.Oa=new kmd(this.context);this.Ma(this.Oa)};
z2c.prototype.$a=function(){var a=this,b=["hVFf7"];_.bN(this.context.Pc)&&b.push("BNEDtc");YO(this.O,b,function(){return void a.WWa()});YO(this.O,["T8oKm","ZA9qG"],function(){return void End(a)});YO(this.O,["T8oKm","mrK8ic"],function(){return void End(a)});this.Mc.listen(this.Ha,"WPi0i",this.Ysa.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.Ysa.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.Ysa.bind(this,4));YO(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var End=function(a){FP(a.context).addCallback(function(b){b.start()})};
_.g=z2c.prototype;_.g.Ysa=function(a){_.ma(u6c,a)&&this.dispatchEvent(new Ged(a))};_.g.cZ=function(a){return this.V.oxa(a.clone())};_.g.OFa=function(a){I9c(this.context.yn,a,X4c(this.context.Kg));return this.V.lxa(a.clone())};_.g.mqa=function(a){return this.V.pxa(a.clone())};_.g.nqa=function(a){return new Bmd(a,this.context.Sm())};
_.g.jva=function(a,b){var c=this;if(this.oa&&_.ik(this.oa.yd(),a))return this.oa;this.oa=new $md(a.clone(),this.context,this.Dkb.bind(this),b);_.n.setTimeout(function(){c.oa=null},3E3);return this.oa};_.g.Dkb=function(a,b,c){var d=new _.nVc(a,b,c);return _.$h(this.H.then(function(e){return e.Ve(d)}).Sg(function(e){return _.WL(e)}))};_.g.Xva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new fnd(a,this.context,function(c){return Fnd(b,c)});return this.ha};var Fnd=function(a,b){return _.$h(a.H.then(function(c){return c.Ve(b)}).Sg(function(c){return _.WL(c)}))};
_.g=z2c.prototype;_.g.yGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Ph()};_.g.MV=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}))};_.g.J8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}))};_.g.RFa=function(a,b){var c=this;if(this.ka&&_.ik(this.ka.yd(),a))return nnd(this.ka),this.ka;this.ka=new knd(a.clone(),this.context,this.OKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.OKb=function(a){var b=this;return this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Gad(b.context.wf.Eq,_.ck(c.qd(),_.Dk,2),a.yd().getId()).then(function(){return c}):c},_.WL)};_.g.vaa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Gad(b.context.wf.Eq,[_.E(c,_.Dk,2)],a.Ic()).then(function(){return c}):c},_.WL))};
_.g.K8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.ywa=function(a){return this.V.cxa(a.clone())};_.g.d8=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.vP=function(a){return this.H.then(function(b){return b.Ve(a)}).then(function(b){var c=new _.tn;Qad(a,b).then(function(d){return c.resolve(d)});return new vnd(c.promise)},function(b){return void _.WL(b)})};_.g.jGa=function(a){var b=this;return new Tmd(this.context,a,function(c){return b.H.then(function(d){return d.Ve(c)}).Sg(function(d){return _.WL(d)})})};
_.g.woa=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.jO=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.wz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.YL?c.push(String(f.Ic())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.go(d);var e=new _.Wh;a.addCallback(this.$mb.bind(this,e,c));return e};
_.g.exa=function(){return new qmd(this.context.Pc,this.context.UA,this.context.nR().Vfa,this.context.Sm(),this.context.tQ,this.context.Zf(),this.context.Tk())};_.g.Pq=function(a,b){var c=this,d=_.Rg();this.W.create(d,a);3===a.getType()?a=BP.prototype.Pq.call(this,a).addCallback(function(e){return new _.sN(e,1,!1)}):(ZO(this.O,"Qubz4b"),a=this.Ja.enqueue(new imd(a,b)));return a.addCallback(function(e){l$c(c.W,d,e);return e.response}).Gg(function(){SO(c.W,d)})};
_.g.Br=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.xaa=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.I8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.vT=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};
_.g.GN=function(a,b){var c=this;ZO(this.O,"iuEtc");var d=_.Rg();this.W.create(d,a);return this.Ha.enqueue(new bmd(a,b)).addCallback(function(e){l$c(c.W,d,e);return e.response}).Gg(function(){SO(c.W,d)})};
_.g.dH=function(a,b){var c=this,d=_.Pd(this.context.Pc.Yf(),30);if(!d||0===d.length)return _.ai(new _.nc("getUserPrefs requires a namespace.",_.UL(3)));0===_.Pd(a,3).length&&a2c(a,d);var e=_.Rg();this.W.create(e,a);ZO(this.O,"OZvrNc");return this.Oa.enqueue(new nmd(a,b)).addCallback(function(f){l$c(c.W,e,f);return f.response}).Gg(function(){SO(c.W,e)})};_.g.jS=function(a){und(_.Pd(this.context.Pc.Yf(),30),a);return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};
_.g.lu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Fad(b.context.wf.Eq,c):c},_.WL))};_.g.eLa=function(a){return this.V.txa(a.clone())};_.g.kra=function(a){return this.V.sxa(a.clone())};_.g.uJa=function(a){var b=this;return new Umd(this.context,a,function(c){return b.H.then(function(d){return d.Ve(c)}).Sg(function(d){return _.WL(d)})})};_.g.vJa=function(a){return this.V.mxa(a.clone())};
_.g.T_=function(a){Ugd(this.context.wf,[a])};_.g.A0=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.Zo=function(a){if(1!==_.aN(this.context.Pc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Ic())return Promise.reject(Error("Lg"));if(!c.qk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.wf.Zo(a);Ehd(this.context.wf);return Promise.resolve()};_.g.PBa=function(){return this.context.nR().kK()};
_.g.Wy=function(a){var b=this;return this.context.Wy(a).then(function(c){return c?(b.context.Ij().Wy(a),b.context.Xs.qL()):_.Ph(!a)})};_.g.vY=function(a){rld(this.context).vY(a);this.Wy(!!a)};_.g.tF=function(){FP(this.context).addCallback(function(a){a&&a.Moa()});this.context.Aha.tF()};_.g.tY=function(a){a.Yi(this.context)};_.g.$mb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];Ehd(this.context.wf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Rh([this.context.taa.promise,this.context.ka.promise]).then(function(){return a.context.Xs.qL()}).then()};_.g.Ku=function(){FP(this.context).addCallback(function(a){a&&a.dispose()});return BP.prototype.Ku.call(this)};_.g.Pba=function(){return this.kb.promise};
var Gnd=function(){var a='<div class="'+_.H("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.H("la-Y-A")+" "+_.H("kc-A")+'" data-target="reload">');return(0,_.J)(a+"Reload</button>")};
_.rn({id:_.$l,callback:function(a){var b=_.J0c(a),c=C2c(a),d=_.E(a.get(_.Xc),_.Vb,10);_.NWc(d,b);_.Pj(d,28,c);b=A2c(a,d);a.registerService(_.am,b.W9());_.Ne(b,"VbxEwf",function(){var e={};_.xc(_.Ct.getService(a),new _.cq(new _.bq(Gnd,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

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


_.w();

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