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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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


_.u();

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

_.Zz=function(a){if(Array.isArray(a))return a.map(_.Zz).join("");if(_.Al(a)){if(!a.getId())throw Error("rd");return a.getId()+"/"+_.Al(a)+","}return""};

_.u();

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

/*

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var BIb;_.AIb=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")};BIb=function(a){var b=_.qaa(_.IEa,function(c){return a==c});if(void 0===b)throw Error("pb`"+a);return b};_.CIb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.IEa[a.name]):(this.code=a=a.code,this.name=BIb(a));_.ha.call(this,_.AIb("%s %s",this.name,b))};_.hg(_.CIb,_.ha);var DIb=function(a,b){_.oi.call(this,a.type,b)};
_.hg(DIb,_.oi);_.EIb=function(){_.yi.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.M)(this.l0,this);this.H.onprogress=(0,_.M)(this.l0,this);this.H.onload=(0,_.M)(this.l0,this);this.H.onabort=(0,_.M)(this.l0,this);this.H.onerror=(0,_.M)(this.l0,this);this.H.onloadend=(0,_.M)(this.l0,this)};_.hg(_.EIb,_.yi);_.g=_.EIb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.CIb(a,"aborting read");}};_.g.lk=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.CIb(this.H.error,"reading file")};_.g.l0=function(a){this.dispatchEvent(new DIb(a,this))};_.g.Xa=function(){_.EIb.wb.Xa.call(this);delete this.H};

_.u();

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

var KJb,NJb;KJb=[4,5,6,7];_.JB=function(a){_.J.call(this,a)};_.K(_.JB,_.J);_.JB.prototype.Cb=function(){return _.B(this,1)};_.JB.prototype.Ac=function(a){return _.w(this,1,a)};_.JB.prototype.q$=function(){return _.B(this,2)};_.JB.prototype.Ub="JmcaR";_.LJb=function(a){_.J.call(this,a)};_.K(_.LJb,_.J);_.LJb.prototype.H=function(){return _.P(this,1)};_.LJb.prototype.Ub="dvhrqe";_.MJb=function(a){_.J.call(this,a)};_.K(_.MJb,_.J);_.MJb.prototype.Eo=function(){return _.B(this,2)};
_.MJb.prototype.I1=function(){return _.B(this,3)};NJb=[5];_.OJb=function(a){_.J.call(this,a)};_.K(_.OJb,_.J);_.OJb.prototype.H=function(){return _.P(this,4)};_.OJb.prototype.setActive=function(a){return _.w(this,4,a)};_.PJb=function(a){_.J.call(this,a,-1,NJb)};_.K(_.PJb,_.J);_.g=_.PJb.prototype;_.g.HZ=function(){return _.B(this,1)};_.g.KT=function(){return _.B(this,3)};_.g.ZJ=function(){return _.Ab(this,_.MJb,5)};_.g.yk=function(){return _.B(this,6)};_.g.$p=function(){return _.B(this,7)};
_.g.HM=function(){return _.B(this,9)};_.g.Pr=function(){return _.B(this,10)};_.g.KJ=function(){return _.x(this,_.OJb,12)};_.g.Ok=function(){return _.B(this,13)};_.g.yw=function(){return _.B(this,16)};_.g.xAb=function(){return _.yj(this,16)};_.g.rv=function(){return _.B(this,17)};_.g.Ub="dzR11e";_.QJb=function(a){_.J.call(this,a,-1,KJb)};_.K(_.QJb,_.J);_.QJb.prototype.ul=function(){return _.x(this,_.PJb,1)};_.QJb.prototype.UM=function(){return _.x(this,_.JB,8)};
_.QJb.prototype.H=function(){return _.x(this,_.LJb,9)};_.KB=function(a){_.J.call(this,a,-1,RJb)};_.K(_.KB,_.J);_.KB.prototype.getUser=function(){return _.x(this,_.tk,1)};_.KB.prototype.getMetadata=function(){return _.x(this,_.QJb,3)};_.KB.prototype.to=function(){return _.yj(this,3)};var RJb=[2];

_.u();

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


_.u();

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

_.LB={yL:"lb",Pga:"mb",nU:"nb",mU:"ob"};_.SJb=new Map([[_.LB.yL,1],[_.LB.Pga,2],[_.LB.nU,2],[_.LB.mU,3]]);

_.u();

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

_.RB=function(a){_.J.call(this,a)};_.K(_.RB,_.J);
_.WJb=function(a){_.J.call(this,a,-1,VJb)};_.K(_.WJb,_.J);var VJb=[4];

_.u();

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


_.u();

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

_.jMb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.lMb=function(a,b,c,d){var e=_.lf.getService(a);a=e.ig(a,c);_.kMb(a.H.dk,b,d);e.Uf(a)};_.kMb=function(a,b,c){var d=new _.mMb;b.cQ&&_.w(d,2,b.cQ);b.vE&&0<=b.vE&&_.w(d,1,b.vE);b.quotaType&&_.w(d,3,b.quotaType);_.nMb(a,d);c&&(b=new _.oMb,_.w(b,1,c),_.pMb(a,b))};_.qMb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.nMb=function(a,b){b&&(a=a.Pc(),_.I(a,29,b))};
_.pMb=function(a,b){b&&(a=a.Pc(),_.I(a,38,b))};_.mMb=function(a){_.J.call(this,a)};_.K(_.mMb,_.J);_.mMb.prototype.yk=function(){return _.B(this,3)};_.oMb=function(a){_.J.call(this,a)};_.K(_.oMb,_.J);_.oMb.prototype.mi=function(){return _.B(this,1)};
_.sMb=function(a,b,c){var d=_.D(a.get(_.xDa),1,""),e=_.jMb(b);d=new _.ej(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.jj(_.lj(_.lj(_.lj(_.lj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.rMb(a,e,c)),-1!=parseInt(String(_.x(b,_.RB,2)),10)?"upgrade":"")};
_.rMb=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"}}};
_.tMb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.B(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.u();

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


_.u();

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

_.IC=function(a){_.J.call(this,a)};_.K(_.IC,_.J);_.IC.prototype.wa=function(){return _.Cj(this,1)};_.IC.prototype.V=function(){return _.Cj(this,2)};_.IC.prototype.H=function(){return _.Cj(this,3)};

_.u();

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


_.u();

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


_.u();

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


_.u();

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

_.UA=function(a){_.J.call(this,a)};_.K(_.UA,_.J);_.g=_.UA.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.B(this,5)};_.g.Id=function(a){return _.w(this,5,a)};_.g.et=function(){return _.yj(this,5)};_.Dsb=function(a){_.J.call(this,a)};_.K(_.Dsb,_.J);_.Dsb.prototype.H=function(){return _.B(this,1)};
_.Dsb.prototype.Cb=function(){return _.B(this,2)};_.Dsb.prototype.Ac=function(a){return _.w(this,2,a)};_.Dsb.prototype.V=function(){return _.B(this,3)};_.Fsb=function(a){_.J.call(this,a,-1,Esb)};_.K(_.Fsb,_.J);_.Fsb.prototype.H=function(){return _.ie(this,1)};var Esb=[1];
_.Hsb=function(a){_.J.call(this,a,-1,Gsb)};_.K(_.Hsb,_.J);_.Hsb.prototype.H=function(){return _.Ab(this,_.Dsb,1)};var Gsb=[1];
_.Jsb=function(a){_.J.call(this,a,-1,Isb)};_.K(_.Jsb,_.J);_.Jsb.prototype.H=function(){return _.Ab(this,_.Hsb,1)};var Isb=[1];
_.Ksb=function(a){_.J.call(this,a)};_.K(_.Ksb,_.J);_.Ksb.prototype.V=function(){return _.x(this,_.Jsb,1)};_.Ksb.prototype.H=function(){return _.x(this,_.Fsb,2)};
_.VA=function(a){_.J.call(this,a,-1,Lsb)};_.K(_.VA,_.J);_.g=_.VA.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Ad=function(){return _.Ab(this,_.Gk,2)};_.g.KA=function(a){return _.Fj(this,2,a)};_.g.hh=function(a,b){return _.Mj(this,2,a,_.Gk,b)};_.g.Wj=function(){return _.B(this,3)};_.g.Ql=function(){return _.Q(this,5,!0)};_.g.Y5=function(){return _.x(this,_.Ksb,7)};_.g.osa=function(){return _.P(this,8)};_.g.Rf=function(){return _.B(this,17)};
_.g.lP=function(a){return _.w(this,17,a)};_.g.Qe=function(){return _.B(this,12)};_.g.yi=function(a){return _.w(this,12,a)};_.g.Vn=function(){return _.B(this,15)};_.g.lka=function(){return _.ie(this,18)};var Lsb=[2,14,18];

_.u();

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


_.u();

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


_.u();

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

_.fD=function(a){_.J.call(this,a)};_.K(_.fD,_.J);_.fD.prototype.getKey=function(){return _.x(this,_.gc,1)};_.fD.prototype.bt=function(){return _.yj(this,1)};_.fD.prototype.se=function(){return _.x(this,_.Kf,2)};
_.gD=function(a){_.J.call(this,a)};_.K(_.gD,_.J);_.gD.prototype.se=function(){return _.x(this,_.Kf,2)};

_.u();

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

_.eD=function(a){_.J.call(this,a,-1,PPb)};_.K(_.eD,_.J);_.eD.prototype.se=function(){return _.x(this,_.Kf,1)};var PPb=[3];

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vD=function(a,b,c){_.N.call(this);this.Rm=null!=c?(0,_.M)(a,c):a;this.ka=b;this.Dg=(0,_.M)(this.k$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.hg(_.vD,_.N);_.g=_.vD.prototype;_.g.le=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.fg()+this.ka:this.H=_.Ai(this.Dg,this.ka)};_.g.stop=function(){this.H&&(_.Bi(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.Rm.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.vD.wb.Xa.call(this)};_.g.k$a=function(){this.H&&(_.Bi(this.H),this.H=null);this.W?(this.H=_.Ai(this.Dg,this.W-_.fg()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Rm.apply(null,this.ha))};

_.u();

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


_.u();

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

_.QF=function(a){_.J.call(this,a,-1,e7b)};_.K(_.QF,_.J);_.QF.prototype.getId=function(){return _.B(this,1)};_.QF.prototype.Nb=function(a){return _.w(this,1,a)};_.QF.prototype.Yr=function(){return _.B(this,2)};_.QF.prototype.fK=function(){return _.yj(this,2)};var e7b=[5,6,9,10,12,13,15,16];
var f7b;_.RF=function(a){_.J.call(this,a,-1,f7b)};_.K(_.RF,_.J);_.RF.prototype.Cm=function(){return _.B(this,1)};_.g7b=function(a,b){return _.w(a,1,b)};f7b=[2,4];

_.u();

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


_.u();

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

_.SF=function(a){_.J.call(this,a)};_.K(_.SF,_.J);_.SF.prototype.getName=function(){return _.B(this,1)};_.SF.prototype.$c=function(a){return _.w(this,1,a)};_.SF.prototype.se=function(){return _.x(this,_.Kf,2)};

_.u();

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

var n7b;_.Oc=function(a){_.oi.call(this,_.Yc);this.error=a};_.K(_.Oc,_.oi);_.TF=function(a){_.J.call(this,a,-1,n7b)};_.K(_.TF,_.J);_.TF.prototype.H=function(){return _.ie(this,1)};_.UF=function(a,b){return _.Dj(a,1,b)};_.TF.prototype.ln=function(){return _.ie(this,2)};_.VF=function(a,b){return _.Dj(a,2,b)};_.TF.prototype.se=function(){return _.x(this,_.Kf,3)};_.WF=function(a,b){return _.I(a,3,b)};_.o7b=function(a,b){return _.w(a,5,b)};n7b=[1,2,6,11];

_.u();

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

_.XF=function(a){_.J.call(this,a)};_.K(_.XF,_.J);_.g=_.XF.prototype;_.g.vi=function(){return _.B(this,1)};_.g.Hi=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,3)};_.g.Dp=function(){return _.B(this,4)};

_.u();

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

_.YF=function(a){_.J.call(this,a,-1,p7b)};_.K(_.YF,_.J);_.YF.prototype.H=function(){return _.ie(this,1)};_.YF.prototype.ln=function(){return _.ie(this,2)};_.YF.prototype.se=function(){return _.x(this,_.Kf,3)};var p7b=[1,2];

_.u();

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

_.ZF=function(a){_.J.call(this,a,-1,q7b)};_.K(_.ZF,_.J);_.ZF.prototype.ln=function(){return _.ie(this,1)};_.r7b=function(a,b){return _.Dj(a,1,b)};_.ZF.prototype.se=function(){return _.x(this,_.Kf,2)};var q7b=[1,3];

_.u();

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

_.$F=function(a,b){return _.w(a,4,b)};_.s7b=function(a,b){return _.w(a,25,b)};

_.u();

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


_.u();

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

_.t7b=function(a){_.J.call(this,a)};_.K(_.t7b,_.J);_.t7b.prototype.vi=function(){return _.B(this,3)};_.t7b.prototype.Hi=function(a){return _.w(this,3,a)};_.t7b.prototype.se=function(){return _.x(this,_.Kf,5)};_.t7b.prototype.getCustomer=function(){return _.B(this,6)};

_.u();

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

_.fG=function(a){_.J.call(this,a)};_.K(_.fG,_.J);_.fG.prototype.qc=function(){return _.B(this,1)};_.m8b=function(a){var b=new _.fG;return _.w(b,1,a)};_.fG.prototype.vi=function(){return _.B(this,2)};_.fG.prototype.Hi=function(a){return _.w(this,2,a)};_.fG.prototype.se=function(){return _.x(this,_.Kf,3)};

_.u();

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

_.KH=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.tla)(a)};_.LH=function(a){return _.Q(a,5,!1)};_.ipc=function(a,b){var c=_.x(a.H,_.Bya,9);null==c&&(c=new _.Bya);var d=_.w(c,5,_.B(b.H,10));_.w(d,2,_.B(b.H,12));_.I(a.H,9,c)};_.jpc=function(a){var b=_.Bla(a);if("undefined"==typeof b)throw Error("X");var c=new _.kj(null,void 0);a=_.Ala(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Ama(c,e,f):c.add(e,f)}return c};

_.u();

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

var kpc;_.MH=function(a){_.J.call(this,a,-1,kpc)};_.K(_.MH,_.J);_.MH.prototype.H=function(){return _.ie(this,1)};_.MH.prototype.se=function(){return _.x(this,_.Kf,2)};_.lpc=function(a,b){return _.I(a,2,b)};_.MH.prototype.vi=function(){return _.Pj(this,3,20)};_.MH.prototype.Hi=function(a){return _.w(this,3,a)};_.mpc=function(a,b){return _.w(a,4,b)};kpc=[1];

_.u();

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

_.npc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.opc=_.db(_.npc);

_.u();

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

/*

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rpc=function(a){_.N.call(this);this.O=a;this.H={};this.O.nO((0,_.M)(this.V,this))};_.hg(_.rpc,_.N);_.tpc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ne`"+b);if(b in a.H)throw Error("Oe`"+b);var c=new spc(a,b);return a.H[b]=c};_.rpc.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)}};_.rpc.prototype.Xa=function(){_.Qa(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var spc=function(a,b){_.N.call(this);this.Ig=a;this.H=b};_.hg(spc,_.N);_.g=spc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ig.O.registerService(this.H+":"+a,(0,_.M)(this.NTa,this,b),c)};_.g.nO=function(a){this.O=(0,_.M)(this.NTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Pe");this.Ig.O.send(this.H+":"+a,b)};_.g.NTa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Xa=function(){this.Ig=this.Ig.H[this.H]=null};

_.u();

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

/*

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

_.u();

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

/*

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var xpc,OH,ypc,QH,Apc,zpc;xpc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.wga);try{delete a[_.wga]}catch(b){}};
OH=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(_.Da(f)){f[_.wga]||c.push(f);var l=_.Ea(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++)xpc(c[a]);return b.join("")};_.PH=function(a,b,c){if("number"===typeof a)var d={name:zpc(a)};else d=a,a=Apc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ha.call(this,b)};_.hg(_.PH,_.ha);_.PH.prototype.getName=function(){return this.O.name||""};
QH={Ajb:1,Kib:2,NOT_FOUND_ERR:3,J8a:4,O8a:5,Mib:6,vjb:7,ABORT_ERR:8,Zib:9,O7b:10,TIMEOUT_ERR:11,Wib:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.Bpc=(_.n.oI||_.n.nL||QH).Ajb;_.Cpc=(_.n.oI||_.n.nL||QH).Kib;_.Dpc=(_.n.oI||_.n.nL||QH).NOT_FOUND_ERR;_.Epc=(_.n.oI||_.n.nL||QH).J8a;_.Fpc=(_.n.oI||_.n.nL||QH).O8a;_.Gpc=(_.n.oI||_.n.nL||QH).Mib;_.Hpc=(_.n.oI||_.n.nL||QH).vjb;_.Ipc=(_.n.oI||_.n.nL||QH).ABORT_ERR;_.Jpc=(_.n.oI||_.n.nL||QH).Zib;_.Kpc=(_.n.oI||_.n.nL||QH).TIMEOUT_ERR;
_.Lpc=(_.n.oI||_.n.nL||QH).Wib;_.Mpc=(_.n.DOMException||QH).INVALID_ACCESS_ERR;_.Npc=(_.n.DOMException||QH).INVALID_STATE_ERR;
Apc=function(a){switch(a){case "UnknownError":return _.Bpc;case "NotFoundError":return _.Dpc;case "ConstraintError":return _.Epc;case "DataError":return _.Fpc;case "TransactionInactiveError":return _.Hpc;case "AbortError":return _.Ipc;case "ReadOnlyError":return _.Jpc;case "TimeoutError":return _.Kpc;case "QuotaExceededError":return _.Lpc;case "InvalidAccessError":return _.Mpc;case "InvalidStateError":return _.Npc;default:return _.Bpc}};
zpc=function(a){switch(a){case _.Bpc:return"UnknownError";case _.Dpc:return"NotFoundError";case _.Epc:return"ConstraintError";case _.Fpc:return"DataError";case _.Hpc:return"TransactionInactiveError";case _.Ipc:return"AbortError";case _.Jpc:return"ReadOnlyError";case _.Kpc:return"TimeoutError";case _.Lpc:return"QuotaExceededError";case _.Mpc:return"InvalidAccessError";case _.Npc:return"InvalidStateError";default:return"UnknownError"}};
_.RH=function(a,b){return"error"in a?new _.PH(a.error,b):new _.PH({name:"UnknownError"},b)};_.SH=function(a,b){if("name"in a)return b=b+": "+a.message,new _.PH(a,b);if("code"in a){var c=zpc(a.code);b=b+": "+a.message;return new _.PH({name:c},b)}return new _.PH({name:"UnknownError"},b)};
_.Opc=function(a){this.H=a};_.Ppc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.Opc.prototype.range=function(){return this.H};
var Qpc=function(a){this.H=a};Qpc.prototype.getName=function(){return this.H.name};var Rpc=function(a,b,c,d){var e=new _.ai;try{var f=a.H[b](d)}catch(h){return c+=" with key "+OH(d),e.Gd(_.SH(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+OH(d);e.Gd(_.RH(h.target,c))};return e};Qpc.prototype.get=function(a){return Rpc(this,"get","getting from index "+this.getName(),a)};
Qpc.prototype.getKey=function(a){return Rpc(this,"getKey","getting key from index "+this.getName(),a)};Qpc.prototype.getAll=function(a,b){return _.Spc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.Spc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.Opc?d.range():(new _.Opc(_.Ppc.only(d))).range();var h=new _.ai;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?OH(f):"<all>"),h.Gd(_.SH(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?OH(f):"<all>");h.Gd(_.RH(l.target,c))};return h};
var Tpc=function(a){this.H=a};Tpc.prototype.getName=function(){return this.H.name};var Upc=function(a,b,c,d,e){var f=new _.ai;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=OH(d),e&&(c+=", with key "+OH(e)),f.Gd(_.SH(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=OH(d);e&&(c+=", with key "+OH(e));f.Gd(_.RH(k.target,c))};return f};_.g=Tpc.prototype;_.g.put=function(a,b){return Upc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return Upc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.ai;try{var c=this.H["delete"](a instanceof _.Opc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+OH(a),b.Gd(_.SH(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+OH(a);b.Gd(_.RH(e.target,f))};return b};
_.g.get=function(a){var b=new _.ai;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+OH(a),b.Gd(_.SH(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 "+OH(a);b.Gd(_.RH(e.target,f))};return b};_.g.getAll=function(a,b){return Vpc(this,"getting all from index "+this.getName(),a,b)};
var Vpc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.Opc?c.range():(new _.Opc(_.Ppc.only(c))).range();var f=new _.ai;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?OH(e):"<all>"),f.Gd(_.SH(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?OH(e):"<all>");f.Gd(_.RH(k.target,b))};return f};
Tpc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.ai;try{var c=this.H.clear()}catch(d){return b.Gd(_.SH(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Gd(_.RH(d.target,a))};return b};Tpc.prototype.getIndex=function(a){try{return new Qpc(this.H.index(a))}catch(b){throw _.SH(b,"getting index "+a);}};
Tpc.prototype.count=function(a){var b=new _.ai;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Gd(_.RH(e.target,d.getName()))}}catch(e){b.Gd(_.SH(e,this.getName()))}return b};
var Wpc=function(a,b){_.yi.call(this);this.H=a;this.O=b;this.Ab=new _.jf(this);this.Ab.listen(this.H,"complete",(0,_.M)(this.dispatchEvent,this,"complete"));this.Ab.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.P$a)};_.hg(Wpc,_.yi);_.g=Wpc.prototype;_.g.P$a=function(a){a.target instanceof _.PH?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.RH(a.target,"in transaction")})};_.g.Hg=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new Tpc(this.H.objectStore(a))}catch(b){throw _.SH(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.SH(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.ai;_.si(this,"complete",(0,_.M)(a.callback,a));var b=_.si(this,"abort",function(){_.wi(c);a.Gd(new _.PH(_.Ipc,"waiting for transaction to complete"))});var c=_.si(this,"error",function(e){_.wi(b);a.Gd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Xa=function(){Wpc.wb.Xa.call(this);this.Ab.dispose()};
var Xpc=function(a){_.yi.call(this);this.H=a;this.Ab=new _.jf(this);this.Ab.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.Q$a);this.Ab.listen(this.H,"versionchange",this.Kpb);this.Ab.listen(this.H,"close",(0,_.M)(this.dispatchEvent,this,"close"))};_.hg(Xpc,_.yi);_.g=Xpc.prototype;_.g.Bsa=!0;_.g.Q$a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Kpb=function(a){this.dispatchEvent(new Ypc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Bsa&&(this.H.close(),this.Bsa=!1)};_.g.Mg=function(){return this.Bsa};_.g.getName=function(){return this.H.name};_.g.Yi=function(){return Number(this.H.version)};_.Zpc=function(a,b,c){try{return new Tpc(a.H.createObjectStore(b,c))}catch(d){throw _.SH(d,"creating object store "+b);}};
_.$pc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new Wpc(d,a)}catch(e){throw _.SH(e,"creating transaction");}};Xpc.prototype.Xa=function(){Xpc.wb.Xa.call(this);this.Ab.dispose()};var Ypc=function(a,b){_.oi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.hg(Ypc,_.oi);
_.aqc=function(){void 0==ypc&&(ypc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return ypc};
_.bqc=function(a,b,c,d){var e=new _.ai;b=b?_.aqc().open(a,b):_.aqc().open(a);b.onsuccess=function(f){f=new Xpc(f.target.result);e.callback(f)};b.onerror=function(f){e.Gd(_.RH(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new Xpc(f.target.result);c(new Ypc(f.oldVersion,f.newVersion),h,new Wpc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new Ypc(f.oldVersion,f.newVersion))};return e};

_.u();

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

/*

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

_.u();

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

_.cqc=function(a,b,c){_.cj(a.url,function(d){d=d.target;d.Ay()?b(d.wl()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.dqc=function(a,b,c,d){return _.D(a,1).split("/").pop()==d?(d=_.B(a,2),Array.isArray(d)?new b(d):c(_.vb(a.Ya()))):null};_.fqc=function(a){_.J.call(this,a,-1,eqc)};_.K(_.fqc,_.J);var eqc=[2];
_.gqc=function(a){_.J.call(this,a)};_.K(_.gqc,_.J);var hqc=function(){var a=new _.gqc,b=document.documentElement.getAttribute("lang");return _.w(a,5,b)};_.gqc.prototype.Oi=function(){return _.B(this,7)};
_.iqc=function(a){_.J.call(this,a)};_.K(_.iqc,_.J);
var jqc;_.VH=function(a){_.J.call(this,a,31,jqc)};_.K(_.VH,_.J);_.WH=function(a,b){return _.w(a,8,b)};jqc=[3,20,27];
var lqc=function(a){_.J.call(this,a,17,kqc)};_.K(lqc,_.J);var mqc=function(a){var b=Date.now().toString();return _.w(a,4,b)},nqc=function(a,b){return _.Fj(a,3,b)},oqc=function(a,b){return _.w(a,14,b)},kqc=[3,5];
var qqc=function(a){_.J.call(this,a,6,pqc)};_.K(qqc,_.J);var pqc=[5];
var rqc=function(a){_.J.call(this,a)};_.K(rqc,_.J);
var sqc=new _.xj(175237375,rqc);
_.XH=function(a,b,c,d,e,f,h,k,l,p,q){_.yi.call(this);var r=this;this.Ja="";this.O=[];this.Ec="";this.Fb=this.Lb=this.ha=!1;this.Oc=this.ob=-1;this.Qb=!1;this.Fa=this.V=null;this.wa=0;this.be=1;this.timeoutMillis=0;this.hb=!1;_.yi.call(this);this.Xc=a;this.jc=b||_.dg;this.ka=new lqc;this.xd=d;this.yb=q;this.ke=_.gb(_.gja,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Zf=null;this.withCredentials=!k;this.tc=f||!1;this.Ld=!this.tc&&(_.rj.Mn&&_.Rb(65)||_.rj.Lu&&_.Rb(45)||_.rj.Wx&&
_.Rb(12)||_.nb()&&0<=_.hb(_.Naa(),12))&&!!_.If()&&!!_.If().navigator&&!!_.If().navigator.sendBeacon;a=_.w(new _.iqc,1,1);f||(f=hqc(),_.I(a,11,f));_.I(this.ka,1,a);_.w(this.ka,2,this.Xc);this.ma=new _.TH(1E4,3E5,.1);this.H=new _.zi(this.ma.Ya());this.La(this.H);_.Ye(this.H,"tick",_.Fga(tqc(this,p)),!1,this);this.Pa=new _.zi(6E5);this.La(this.Pa);_.Ye(this.Pa,"tick",_.Fga(tqc(this,p)),!1,this);this.Ta||this.Pa.start();this.tc||(_.Ye(_.If(),"beforeunload",this.ta,!1,this),_.Ye(_.If(),"unload",this.ta,
!1,this),_.Ye(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.Ye(document,"pagehide",this.ta,!1,this))};_.K(_.XH,_.yi);var tqc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.XH.prototype.Xa=function(){this.ta();_.yi.prototype.Xa.call(this)};var uqc=function(a){a.Ba||(a.Ba=.01>a.ke()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.XH.prototype.W=function(a){a instanceof _.VH?this.log(a):(a=_.WH(new _.VH,a.Gc()),this.log(a))};_.vqc=function(a,b){b?(a.V||(a.V=new _.fqc),b=b.Gc(),_.w(a.V,4,b)):a.V&&_.xb(a.V,4)};_.wqc=function(a){a.Lb=a.Ld};_.xqc=function(a,b){a.ma=new _.TH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.XH.prototype.log=function(a){a=a.clone();var b=this.be++;_.w(a,21,b);this.Ja&&_.w(a,26,this.Ja);if(!_.B(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.yj(a,15)||_.w(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.I(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.wa;this.O.push(a);this.dispatchEvent(new yqc(a));this.Ta||this.H.enabled||this.H.start()};
_.XH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.hb)zqc(this);else{var d=Date.now();if(this.Oc>d&&this.ob<d)b&&b("throttled");else{var e=oqc(nqc(mqc(this.ka.clone()),this.O),this.wa);d={};var f=this.jc();f&&(d.Authorization=f);var h=uqc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Xi(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Xi(h,"pageId",this.$a));if(f&&this.Ec===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.wa=0,this.ha)a&&a();else{var k=e.Gc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.G9b(k));var p={url:h,body:k,Mlb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Ya());if(z){var A=null;try{var C=JSON.parse(z.replace(")]}'\n",""));A=new qqc(C)}catch(G){}A&&(z=Number(_.Wma(A,1,"-1")),0<z&&(c.ob=Date.now(),c.Oc=c.ob+z),A=_.Gb(A,sqc))&&(A=_.Pj(A,1,-1),-1!=A&&(c.Qb||_.xqc(c,A)))}a&&a()},r=
function(z){var A=_.Ab(e,_.VH,3);_.UH(c.ma);c.H.setInterval(c.ma.Ya());401===z&&f&&(c.Ec=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Ta||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.yb?c.yb.send(p,q,r):c.xd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Mlb=2;v()},function(){v()}):v()}}}};_.XH.prototype.ta=function(){this.ha||(this.Lb&&zqc(this),this.Fb&&Aqc(this),this.flush())};
var zqc=function(a){Bqc(a,32,10,function(b,c){b=_.Xi(b,"format","json");b=_.If().navigator.sendBeacon(b,c.Gc());a.hb&&!b&&(a.hb=!1);return b})},Aqc=function(a){Bqc(a,6,5,function(b,c){b=_.Vi(b,"format","base64json","p",_.wj(c.Gc(),3));if(15360<b.length)return!1;_.Qg(new Image,b);return!0})},Bqc=function(a,b,c,d){if(0!==a.O.length){var e=_.ama(uqc(a),"format");e=_.Vi(e,"auth",a.jc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=nqc(mqc(a.ka.clone()),h);0===f&&oqc(k,
a.wa);if(!d(e,k))break;a.O=a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.wa=0}},yqc=function(){_.oi.call(this,"event-logged",void 0)};_.K(yqc,_.oi);

_.u();

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

var Cqc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],C=e[2],G=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=G^A&(C^G);var O=1518500249}else L=A^C^G,O=1859775393;else 60>z?(L=A&C|G&(A|C),O=2400959708):(L=A^C^G,O=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+O+v[z]&4294967295;H=G;G=C;C=(A<<30|A>>>2)&4294967295;A=r;r=L}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+C&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+H&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,C=r.length;A<C;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}},Dqc=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("Qe`"+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("Re`"+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 Fqc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Eqc(Dqc(d),a,c||null)].join(" "):null},Eqc=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)}),Gqc(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=_.pa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=Gqc(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},Gqc=function(a){var b=
Cqc();b.update(a);return b.digestString().toLowerCase()};
var Hqc={};
var Iqc,Kqc;Iqc=function(a){return!!Hqc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Jqc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Iqc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.LNa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Iqc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Kqc=function(a,b,c,d){(a=_.n[a])||(a=(new _.LNa(document)).get(b));return a?Fqc(a,c,d):null};
_.Lqc=function(a,b){b=void 0===b?!1:b;var c=Dqc(String(_.n.location.href)),d=[];if(_.Jqc(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 _.LNa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Fqc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Iqc(b)&&((b=Kqc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Kqc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.u();

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

_.Mqc=function(a,b){this.ka=a;this.wa=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.cqc;this.H=""};
_.Mqc.prototype.build=function(){var a=new _.XH(this.ka,this.Ja?this.Ja:_.Lqc,this.wa,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.B(b,1)||_.w(b,1,1);_.I(a.ka,1,b)}if(this.O){b=this.O;var c=_.x(a.ka,_.iqc,1),d=_.x(c,_.gqc,11);d||(d=new _.gqc);_.w(d,7,b);_.I(c,11,d);_.B(c,1)||_.w(c,1,1);_.I(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ja=this.H);this.Ba&&_.vqc(a,this.Ba);this.Pa&&(b=this.Pa,a.V||(a.V=new _.fqc),_.Dj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Qb=!0,_.xqc(a,b));return a};

_.u();

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

_.Nqc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.Oqc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.Oqc.prototype.rA=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=_.WH(new _.VH,a.Gc());b(a);return new _.Uh(function(d){c(d,function(){d()})}.bind(this))};
_.Pqc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.wqc(this.O)};_.Pqc.prototype.rA=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=_.WH(new _.VH,a.Gc());b(a);c()};

_.u();

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

var Qqc=function(a){_.J.call(this,a)};_.K(Qqc,_.J);Qqc.prototype.getEmail=function(){return _.D(this,3,"")};Qqc.prototype.hq=function(){return _.yj(this,3)};_.YH=function(a){return _.x(a,Qqc,36,1)};

_.u();

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

_.ZH=function(a){_.J.call(this,a)};_.K(_.ZH,_.J);_.ZH.prototype.se=function(){return _.x(this,_.Kf,1)};_.$H=function(a,b){return _.I(a,1,b)};_.ZH.prototype.Lg=function(){return _.B(this,4)};_.ZH.prototype.qIa=function(a){return _.w(this,4,a)};

_.u();

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


_.u();

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

_.aI=function(a,b){a.H=b;a.ka=0};_.bI=function(a,b){return _.w(a,b,_.tb([]))};_.Rqc=function(a){if(_.Jma)return _.n.atob(a);var b="";_.Lma(a,function(c){b+=String.fromCharCode(c)});return b};_.cI=function(a,b,c,d,e,f,h){_.XH.call(this,a,_.Lqc,b,_.cqc,c,d,e,void 0,f,h)};_.K(_.cI,_.XH);

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Sqc,Vqc;Sqc=[3,42];_.Tqc=function(a){_.J.call(this,a,-1,Sqc)};_.K(_.Tqc,_.J);_.Tqc.prototype.getMimeType=function(){return _.B(this,27)};_.Uqc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};Vqc=function(a,b){if(b&&a in b)return a;var c=_.BFa();return c?(c=c.toLowerCase(),a=c+_.Jia(a),void 0===b||a in b?a:null):null};
var Wqc=function(a){_.oi.call(this,"visibilitychange");this.hidden=a};_.K(Wqc,_.oi);
_.Xqc=function(a){_.yi.call(this);this.Wc=a||_.xc();if(this.zz=this.xsb())this.H=_.Ye(this.Wc.Vb(),this.zz,(0,_.M)(this.R$a,this))};_.hg(_.Xqc,_.yi);_.g=_.Xqc.prototype;_.g.xsb=_.Eda(function(){var a=this.uu(),b="hidden"!=this.Yza();if(a){var c;b?c=((_.BFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Yza=_.Eda(function(){return Vqc("hidden",this.Wc.Vb())});_.g.lub=_.Eda(function(){return Vqc("visibilityState",this.Wc.Vb())});_.g.uu=function(){return!!this.Yza()};
_.g.yB=function(){return!!this.Wc.Vb()[this.Yza()]};_.g.R$a=function(){var a=this.uu()?this.Wc.Vb()[this.lub()]:null;a=new Wqc(this.yB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.wi(this.H);_.Xqc.wb.Xa.call(this)};

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dI=function(a,b){a.V.remove(b);return a};_.Yqc=function(a,b,c){return _.N2a(a,b,c).At()};_.eI=function(){return"goog_"+_.Gia++};_.Zqc=function(a,b,c,d,e,f){var h=new _.ej(null,void 0);a&&_.fj(h,a);b&&_.rma(h,b);c&&_.gj(h,c);d&&_.hj(h,d);e&&h.zi(e);f&&_.ij(h,f);return h};_.fI=function(a){return new _.Uh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{d9:!0,value:p}:{d9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Wja(h,_.gb(e,f,!0),_.gb(e,f,!1));else b(d)})};
_.gI=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 _.zq(c,e,d-c,a-e)}return null};_.hI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.hI.prototype.clone=function(){return new _.hI(this.start,this.end)};_.iI=function(a){return a.end-a.start};_.jI=function(a,b,c){_.N.call(this);this.Rm=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};
_.K(_.jI,_.N);_.g=_.jI.prototype;_.g.le=function(a){this.W=arguments;this.H||this.V?this.O=!0:$qc(this)};_.g.stop=function(){this.H&&(_.Bi(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,$qc(this))};_.g.Xa=function(){_.N.prototype.Xa.call(this);this.stop()};var $qc=function(a){a.H=_.Ai(function(){a.H=null;a.O&&!a.V&&(a.O=!1,$qc(a))},a.ha);var b=a.W;a.W=null;a.Rm.apply(null,b)};

_.u();

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

var arc=function(a){_.J.call(this,a)},frc;_.K(arc,_.J);var brc=function(a){_.J.call(this,a)};_.K(brc,_.J);_.kI=function(a){_.J.call(this,a)};_.K(_.kI,_.J);_.kI.prototype.y4=function(a){_.w(this,3,a)};_.kI.prototype.Jl=function(a){return _.I(this,5,a)};_.kI.prototype.getMimeType=function(){return _.B(this,7)};var crc=[2],drc=function(a){_.J.call(this,a,-1,crc)};_.K(drc,_.J);var erc=function(a){_.J.call(this,a)};_.K(erc,_.J);frc=function(a){this.H=a};_.grc=function(a){this.Jd=a};
_.grc.prototype.getId=function(){return this.Jd};var hrc=function(a){_.J.call(this,a)};_.K(hrc,_.J);hrc.prototype.Yi=function(){return _.B(this,1)};var irc=function(a){_.J.call(this,a)};_.K(irc,_.J);
var krc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.XAa.length;a++){var b=_.XAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;jrc(this,b);break}}},jrc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.O=!0;a.H.onDisconnect.addListener(function(){a.O=!1});document.addEventListener("mousemove",function(c){a.V=c.clientX;a.W=c.clientY})};
krc.prototype.rA=function(a){if(this.ha&&this.O){var b=_.x(a,_.dc,2)||new _.dc,c=_.x(a,_.Jo,5)||new _.Jo,d=_.x(a,_.kI,3)||new _.kI;a=_.Ab(a,_.eza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Gc(),session_info:b.Gc(),session_invariants:c.Gc(),client_info:d.Gc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};
var lrc=function(){_.Co.call(this)};_.K(lrc,_.Co);lrc.prototype.zv=function(){return 1==_.B(_.x(this.H,arc,7),1)};var mrc=new _.yo("high_frequency_builder");
var nrc=function(a,b,c){a=new _.zi(a);c.La(a);var d=new _.jf(c);c.La(d);d.listen(a,"tick",b);a.start()};
var orc=function(){_.Co.call(this)};_.K(orc,_.Co);var prc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.po;var e=new _.zya;e=_.w(e,1,d);_.I(b,1,e);_.w(b,3,1);_.I(a.H,8,b);_.w(a.H,12,c);_.w(a.H,13,c);_.w(a.H,4,d);_.w(a.H,3,c)}else 1==b&&(b=new _.po,e=new _.Aya,d=_.w(e,1,d),_.I(b,2,d),_.w(b,3,2),_.I(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},qrc=new _.yo("system_builder");
var rrc=function(a,b){_.N.call(this);this.O=a;this.H=new _.Xqc(b);this.La(this.H);this.Ab=new _.jf(this);this.La(this.Ab);this.H.uu()&&this.Ab.listen(this.H,"visibilitychange",this.V)};_.K(rrc,_.N);rrc.prototype.V=function(){if(this.O.pP()){var a=this.H.yB()?102001:102E3;a=this.O.KF(a,0);this.O.Lp(a)}};
var src=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.La(this.O);this.W=c;this.V=null};_.K(src,_.N);_.g=src.prototype;_.g.Lp=function(a){var b=this.H;_.w(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.Zb()&&b.O.le();return new frc(a)};_.g.KF=function(a,b){a=prc(trc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.CL=function(){return this.H.O};
_.g.iw=function(a){var b=this.H,c=_.Do(a,qrc),d=b.ha++,e=_.x(_.x(c.H,_.po,8),_.Aya,2),f=1E3*Date.now();_.w(e,2,f);_.w(c.H,13,d);b.ka.remove(_.B(a.H,12))};_.g.KZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=urc(a.H,691).build();b=vrc(a.H,[b]);a.ka.rA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.LZ=function(){var a=this.H,b=urc(a,716);wrc(a,b);b=b.build();a.H.add(b);a.wa=!0;a.ma=!0;this.O.initialize();this.O.O.le();this.W&&(this.V=new rrc(this))};_.g.pja=function(){this.O.W();return _.fI(Array.from(this.O.V)).then()};
_.g.pP=function(){var a=this.H;return a.wa&&a.ma&&!0};
var xrc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.jI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.K(xrc,_.N);xrc.prototype.initialize=function(){nrc(this.ma,this.O.le,this.O);nrc(36E5,this.wa,this)};xrc.prototype.W=function(){var a=this;if(0!=this.H.H.Zb()&&(!this.ha||this.H.V)){var b=yrc(this.H),c=this.ta.rA(b);c&&(_.$h(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
xrc.prototype.wa=function(){var a=this.H,b=urc(a,1153).build();a.H.add(b);this.O.le()};
var zrc=function(a){_.N.call(this);this.H=a;this.La(this.H)};_.K(zrc,_.N);_.g=zrc.prototype;_.g.Lp=function(a){a=this.H.Lp(a);this.pja();return a};_.g.KF=function(a,b){return this.H.KF(a,b)};_.g.CL=function(){return this.H.CL()};_.g.iw=function(a){return this.H.iw(a)};_.g.KZ=function(){return this.H.KZ()};_.g.LZ=function(){return this.H.LZ()};_.g.pja=function(){return this.H.pja()};_.g.pP=function(){return this.H.pP()};
var Arc=function(){};Arc.prototype.JQ=function(){return new lrc};
var Brc=function(){this.H=[]};Brc.prototype.add=function(a){this.H.push(a)};Brc.prototype.Zb=function(){return this.H.length};
var Crc=function(){this.H={}};Crc.prototype.add=function(a){this.H[_.B(a.H,12)]=a};Crc.prototype.remove=function(a){delete this.H[a]};
var Drc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new Crc;this.H=new Brc;this.ma=this.wa=this.V=!1},trc=function(a,b){a=_.Do((new _.Co).initialize(new _.eza,a.Ba),qrc);_.w(a.H,10,b);return a},yrc=function(a){var b=a.H,c=b.H;b.H=[];return vrc(a,c)},vrc=function(a,b){var c=new _.lAa;var d=a.O.W.clone();c=_.I(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.I(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.x(b[h],_.wo,5);if(k&&_.x(k,_.Tqc,1)){k=_.x(k,_.Tqc,1);_.yj(k,
12)&&void 0===e&&(e=_.P(k,12));k=_.x(k,brc,20);if(void 0!==k&&void 0===f){f=new irc;var l=_.P(k,2);void 0!==l&&_.w(f,2,l);k=_.P(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.kI),void 0!==e&&_.w(d,6,e),void 0!==f&&_.I(d,13,f);(e=d)&&_.I(c,3,e);a=a.O.ha.clone();_.I(c,4,a);_.Fj(c,1,b);return c},urc=function(a,b){var c=prc(trc(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 erc;k=_.w(p,1,k);l=_.w(k,2,_.B(l.H,10));f.push(l)}d=f}716!=b&&(b=a.ta,_.w(c.H,6,a.W),e=new drc,b=_.w(e,1,b),d&&_.Fj(b,2,d),d=_.Eo(c),_.I(d,3,b));wrc(a,c);return c},wrc=function(a,b){a.W=_.B(b.H,12);a.ta=_.B(_.x(_.x(b.H,_.po,8),_.zya,1),1)};
var Erc=function(){};Erc.prototype.JQ=function(){return new orc};
var Frc=function(){this.H=this.O=null};Frc.prototype.build=function(){null==this.H&&(this.H=new _.Iza);_.Go(this.H,qrc,new Erc);_.Go(this.H,mrc,new Arc);var a=this.H;var b=this.O;if(!_.yj(_.Grc(b),1)){var c=_.Grc(b),d=new _.Yza;_.I(c,1,d)}b=_.x(_.Grc(b),_.Yza,1);a.H=b;b=_.Va(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new Drc(this.O,this.H)};
var Hrc=function(){this.W=new _.dc;this.O=null;this.ha=new hrc;_.w(this.ha,1,6);this.H=this.V=null};Hrc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Irc=function(a,b){_.w(a.W,2,b);return a};_.Jrc=function(a,b){if(null==a.V){a.V=new _.jAa;var c=_.Grc(a);_.I(c,2,a.V)}_.w(a.V,1,b)};_.Grc=function(a){null==a.O&&(a.O=new _.Jo);return a.O};_.Krc=function(a){null==a.H&&(a.H=new _.kI);return a.H};
_.Lrc=function(){this.H=this.ha=null;this.W=new Hrc;this.V=null;this.ka=this.ma=!1;this.O=null};_.Mrc=function(a,b){a.ha=b;return a};_.Nrc=function(a,b){a.H=b;return a};_.Orc=function(a,b){a.V=b;return a};_.Lrc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Prc=function(a,b){_.w(a.W.W,6,b);return a};
_.Lrc.prototype.build=function(){var a=new Frc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new krc;this.H=this.ha=b}b=new xrc(a,this.ha,this.H,this.ma,this.O);a=new src(a,b,!1);this.ka&&(a=new zrc(a));return a};

_.u();

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

_.lI=function(a){return a instanceof Error};_.mI=function(a){return _.Q(a,84,!1)};
_.Qrc=function(a){_.J.call(this,a)};_.K(_.Qrc,_.J);
_.nI=function(a){_.J.call(this,a)};_.K(_.nI,_.J);_.nI.prototype.getOptions=function(){return _.x(this,_.Qrc,1)};_.nI.prototype.Vn=function(){return _.B(this,2)};_.nI.prototype.ld=function(){return _.x(this,_.yf,3)};
_.Rrc=function(a){_.J.call(this,a)};_.K(_.Rrc,_.J);_.pI=[3,4,5,6,7,8,9,10];
_.Src=new Map([[157,"categoryReferences"],[5,"hidden"]]);
var qI,Urc;qI={};_.Trc=(qI[1]="modifiedDate",qI[2]="modifiedByMeDate",qI[3]="quotaBytesUsed",qI[4]="title",qI[6]="lastViewedByMeDate",qI[10]="createdDate",qI[7]="sharedWithMeDate",qI[9]="starred",qI[11]="recency",qI[5]="relevance",qI[12]="trashedDate",qI[13]="lastViewedByMeDate",qI);Urc={};_.Vrc=(Urc[1]="asc",Urc[2]="desc",Urc);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Wrc=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():_.fg();this.date=new Date(a)};_.hg(_.Wrc,_.zt);_.g=_.Wrc.prototype;_.g.clone=function(){var a=new _.Wrc(this.date);a.tG=this.tG;a.kV=this.kV;return a};_.g.add=function(a){(a.W||a.V)&&_.yt.prototype.add.call(this,new _.xt(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=_.zt.prototype.getUTCFullYear;
_.g.getMonth=_.zt.prototype.getUTCMonth;_.g.getDate=_.zt.prototype.getUTCDate;_.g.getHours=_.zt.prototype.getUTCHours;_.g.getMinutes=_.zt.prototype.getUTCMinutes;_.g.getSeconds=_.zt.prototype.M9a;_.g.getMilliseconds=_.zt.prototype.L9a;_.g.getDay=_.zt.prototype.getUTCDay;_.g.setFullYear=_.zt.prototype.setUTCFullYear;_.g.setMonth=_.zt.prototype.setUTCMonth;_.g.setDate=_.zt.prototype.setUTCDate;_.g.setHours=_.zt.prototype.eMa;_.g.setMinutes=_.zt.prototype.fMa;_.g.setSeconds=_.zt.prototype.gMa;
_.g.setMilliseconds=_.zt.prototype.N9a;
var Xrc,Zrc;Xrc={};_.Yrc=(Xrc[1]="0",Xrc[2]="1",Xrc[3]="2",Xrc);Zrc={};_.$rc=(Zrc[1]="asc",Zrc[2]="desc",Zrc);
_.asc=new _.yo("drive_dataservice_builder");
_.bsc=_.ih&&0>_.hb(_.lh,"533");
_.csc=new _.grc("drive_dataservice_invariants");
_.dsc=new Map([[[1],1],[[6],7],[[2],2]]);_.esc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.fsc=new Map([[12,function(a){return _.P(a,69)}],[24,function(a){return _.Q(a,3,!1)}],[9,function(a){return _.Q(a,17,!1)}],[21,function(a){return _.mI(a)}],[13,function(a){return _.P(a,60)}],[2,function(a){return _.Q(a,8,!0)}],[6,function(a){return _.Q(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.Q(a,56,!1)}],[17,function(a){return _.Q(a,57,!1)}],[18,function(a){return _.Q(a,54,!1)}],[19,function(a){return _.Q(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.gsc=new Map([[36,function(a){return _.Q(a,11,!1)}],[34,function(a){return _.Q(a,9,!1)}],[25,function(a){return _.Q(a,1,!1)}],[33,function(a){return _.Q(a,8,!1)}],[26,function(a){return _.Q(a,2,!1)}],[29,function(a){return _.Q(a,4,!1)}],[32,function(a){return _.Q(a,7,!1)}],[40,function(a){return _.Q(a,15,!1)}],[43,function(a){return _.Q(a,18,!1)}],[42,function(a){return _.Q(a,17,!1)}],[44,function(a){return _.Q(a,19,!1)}],[45,function(a){return _.Q(a,20,!1)}],[30,function(a){return _.Q(a,5,!1)}],
[31,function(a){return _.Q(a,6,!1)}],[35,function(a){return _.Q(a,10,!1)}],[38,function(a){return _.Q(a,13,!1)}],[39,function(a){return _.Q(a,14,!1)}],[41,function(a){return _.Q(a,16,!1)}],[46,function(a){return _.Q(a,21,!1)}]]);_.hsc=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]);
_.isc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252],[[253],253],[[254],254],[[255],255],[[256],256]]);_.jsc=new Map([[[2],3],[[1],2],[[0],1]]);_.ksc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.lsc=new Map([[[_.Cpc],1],[[_.Dpc],2],[[_.Epc],3],[[_.Fpc],4],[[_.Gpc],5],[[_.Hpc],6],[[_.Ipc],7],[[_.Jpc],8],[[_.Kpc],10],[[_.Lpc],11],[[_.Mpc],12],[[_.Npc],13]]);_.msc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.u();

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

_.rI=function(a){_.J.call(this,a,-1,nsc)};_.K(_.rI,_.J);_.rI.prototype.qc=function(){return _.B(this,2)};_.sI=function(a,b){return _.w(a,2,b)};_.g=_.rI.prototype;_.g.Wk=function(){return _.Q(this,3,!1)};_.g.getItem=function(){return _.x(this,_.Gk,4)};_.g.setItem=function(a){return _.I(this,4,a)};_.g.wc=function(){return _.B(this,7)};_.g.hka=function(){return _.B(this,13)};_.g.uIa=function(a){_.w(this,13,a)};var nsc=[8,17];

_.u();

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

var osc;osc="Y Z E P T G M K  m u n".split(" ");_.psc=function(a,b){var c=a;a=c;var d="",e=1;0>c&&(c=-c);if(Infinity===c)b=(Infinity*Math.sign(a)).toString();else{for(var f=0;f<osc.length;f++){var h=osc[f];e=_.vva[h];if(c>=e||1>=e&&c>.1*e){d=h;break}}d||(e=1);b=Math.pow(10,void 0!==b?b:2);b=Math.round(a/e*b)/b+""+d}return b};_.qsc=function(a){return _.$d().get(a,16,void 0)};

_.u();

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

var tsc;_.vI=function(a){if(a instanceof _.Lc)return a;if(_.lI(a)){if(a=_.Tca(a))return a}else a="string"===typeof a?_.yEa(a):_.yEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.tI(a,2);_.uI(a,6);return a};_.rsc=function(a){var b=a.hk();a=a.IF();return 15===b||32===b||33===b||401===a};_.ssc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.wI=function(a){return _.Pj(a,1,0)};
_.tI=function(a,b){return _.w(a,1,b)};_.uI=function(a,b){return _.w(a,2,b)};tsc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.xI=function(a){_.J.call(this,a,-1,tsc)};_.K(_.xI,_.J);_.g=_.xI.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.qf=function(){return _.B(this,3)};_.g.Vl=function(a){return _.w(this,3,a)};_.g.Lv=function(a){return _.w(this,4,a)};
_.g.Qh=function(){return _.P(this,5)};_.g.Kn=function(a){return _.w(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.sE=function(a,b){_.Hj(this,8,a,b)};_.g.Pi=function(){return _.B(this,12)};_.g.se=function(){return _.x(this,_.Kf,17)};_.g.Yi=function(){return _.B(this,20)};_.g.wc=function(){return _.B(this,21)};_.yI=function(a,b){return _.w(a,16,b)};
_.zI=function(a){_.J.call(this,a,-1,usc)};_.K(_.zI,_.J);_.zI.prototype.QQ=function(){return _.Pj(this,2,100)};_.zI.prototype.EO=function(a){return _.w(this,2,a)};_.zI.prototype.se=function(){return _.x(this,_.Kf,6)};_.zI.prototype.wc=function(){return _.B(this,8)};var usc=[5];
_.vsc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
var wsc;wsc={};_.xsc=(wsc[0]="/drive/v2internal",wsc[1]="/drive/v2internal.corp",wsc[2]="/drive/v2internal.scary",wsc[4]="/drive/v2internal.scary",wsc[5]="/drive/v2beta",wsc[6]="/drive/v2.1beta",wsc);
_.ysc=new Set([0,1,2,3]);
_.zsc=_.w(new _.xI,15,!0);_.Asc=_.yI(new _.xI,!0);_.Bsc=_.yI(new _.xI,!1);
_.Csc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (full, partial)."],["InitialChanges","Status of initial catchup changelog requests."],["SdkBackfillEnabled","Whether backfill via Drive SDK is enabled."],["UploadFailureCount","Number of failed uploads."],["UploadSuccessCount","Number of successful uploads."],["UploadTotalCount","Number of initiated uploads."],["InitialViewDataLoaded",
"Whether initial view data was loaded before the initial query."]]);

_.u();

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

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

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Esc=function(a){for(var b in a)delete a[b]};_.Fsc=function(a){a=_.lb(a);return 0===a.length?_.$ha:new _.Cg(a,_.Yha)};_.Gsc=function(a,b){a=_.Mi(a);b=_.Mi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.Hsc=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)};_.hg(_.Hsc,_.vpc);_.Hsc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.Hsc.prototype.update=function(a,b){this.H.update(a,b)};
_.Hsc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.Isc=function(a,b){a.reset();a.update(b);return a.digest()};
_.Jsc=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()};_.hg(_.Jsc,_.vpc);_.Jsc.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 Ksc=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};
_.Jsc.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;)Ksc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){Ksc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){Ksc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.Jsc.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;Ksc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.u();

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

_.AI=function(a,b){return _.w(a,82,b)};_.BI=function(a){return _.w(a,3,!0)};_.Lsc=function(a,b){return _.w(a,7,b)};
_.Msc=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
*/
_.CI={p_:"Versions",U6:"Metadata",K5:"Data",mU:"Offline"};_.Nsc=new Map([[_.CI.p_,"versionKey"],[_.CI.U6,"k"]]);_.Osc=new Set([1004]);

_.u();

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Psc=function(a,b,c){c&&(a=_.Xg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Wg(a));return a};_.Qsc=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};
_.Rsc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.u();

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

_.Ssc=function(a){_.J.call(this,a)};_.K(_.Ssc,_.J);_.g=_.Ssc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.bt=function(){return _.yj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.yj(this,2)};
_.DI=function(a){_.J.call(this,a,-1,Tsc)};_.K(_.DI,_.J);_.DI.prototype.Lz=function(){return _.B(this,1)};_.DI.prototype.getUrl=function(){return _.B(this,3)};var Tsc=[2,4,6];

_.u();

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

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

_.u();

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

var atc,btc,ftc,jtc,ktc,ltc,Dtc,CJ,Etc,Ftc,Mtc,htc,Ztc,gtc,wuc,yuc,Auc,Cuc,Yuc,Zuc,cvc,dvc,fvc,gvc,ivc,$J,bK,lvc,nvc,qvc,rvc,svc,tvc,uvc,vvc,yvc,Avc,Bvc,Tvc,Xvc,Zvc,$vc,awc,fwc,iwc,Ntc,qwc,rwc,mwc,swc,nwc,uwc,vwc,Bwc,Awc,zwc,xwc,ywc,wtc,xtc,Gtc,Cwc,Htc,Itc,Jtc,Ktc,Ltc,Dwc,Fwc;_.GI=function(a,b,c){var d=new _.Lc,e=_.wka(_.GI);_.w(d,20,e);_.uI(d,a);_.tI(d,b?b:2);c&&_.FI(d,c);return d};
_.HI=function(a){var b;a instanceof _.Lc?b=new _.Nc(null,a):_.lI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("qb`"+a);b.stack||(b.stack=_.wka(_.HI));return b};_.II=function(a){throw _.Rc(a);};atc=function(a){return 7===a.hk()||24===a.zp()&&(a=a.IF(),503===a||429===a)?!0:!1};btc=function(a,b){return b?b+"("+a+")":a};
_.JI=function(a,b,c){var d={},e=[];b&&e.push("kind");a.wBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.ctc.includes(p)){var q=_.ydb.get(p);if(q){var r=_.Bdb[p];a.IE&&r&&(q=r);a.yq&&(a.IE?(p=_.Adb[p])&&(q=p):(p=_.zdb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.Kia(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={B5:f.B5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.B5=[];l.forEach(function(p){return function(q){p.B5.push(q)}}(f));"owners"==k&&b&&f.B5.push("kind");e.push(btc(f.B5.join(","),k))}return btc(e.join(","),c)};_.dtc=function(a){var b=new _.Fo;b.append(_.JI(a,!0));return b.toString()};_.etc=function(a,b){return a.filter(function(c){return b.includes(c)})};ftc=function(a){a=a.filter(function(b){return!_.ydb.has(b)});if(a.length)throw Error("Sc`"+a.join(", "));};
_.itc=function(a){if(a){var b=a.getMimeType();b&&_.$F(a,b.toLowerCase());gtc(a,_.Ab(a,htc,58).map(function(c){var d=c.getMimeType();d&&_.w(c,1,d.toLowerCase());return c}))}};jtc=function(a,b){b&&(_.lj(a,"openDrive",!!_.Q(b,2,!1)),_.lj(a,"reason",_.B(b,1)||0),_.lj(a,"syncType",_.B(b,3)||0),_.lj(a,"errorRecovery",!!_.Q(b,4,!1)))};ktc=function(a){if(_.Za(a))return"\r\n";var b="";_.Qa(a,function(c,d){b+=d+": "+c+"\r\n"});return b};
ltc=function(a){a=_.dq(_.FI(_.tI(new _.Lc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.Rc(a);};
Dtc=function(a){if(a instanceof _.KI)return"request access";if(a instanceof _.LI)return"admin migrate to TD";if(a instanceof _.MI)return"authorize app";if(a instanceof _.NI)return"copy item";if(a instanceof _.OI)return"change category links";if(a instanceof _.PI)return"create item";if(a instanceof _.QI)return"create ws";if("undefined"!=typeof _.RI&&a instanceof _.RI)return"delete app";if("undefined"!=typeof _.SI&&a instanceof _.SI)return"delete backup";if(a instanceof _.TI)return"delete item";if("undefined"!=
typeof _.UI&&a instanceof _.UI)return"delete permission";if(a instanceof _.VI)return"delete revision";if(a instanceof _.WI)return"delete TD";if(a instanceof _.fD)return"delete pref";if(a instanceof _.XI)return"delete ws";if(a instanceof _.YI)return"download item";if(a instanceof _.ZI||a instanceof _.$I)return"empty trash";if(a instanceof _.aJ)return"find by ID";if(a instanceof _.TF)return"find by IDs";if(a instanceof _.mtc)return"item export start";if("undefined"!=typeof _.bJ&&a instanceof _.bJ)return"get app";
if("undefined"!=typeof _.cJ&&a instanceof _.cJ)return"insert app";if("undefined"!=typeof _.gJ&&a instanceof _.gJ)return"insert permission";if(a instanceof _.nI)return a=a.ld(),_.hJ(a)?"quick access item query":_.iJ(a)?"people predict item query":_.jJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.kJ&&a instanceof _.kJ)return"list android backup items request";if(a instanceof _.lJ){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 _.ntc&&a instanceof _.ntc?"list backups":a instanceof _.zI?"list changes":a instanceof _.mJ?"list permissions":"undefined"!=typeof _.nJ&&a instanceof _.nJ?"list revisions":a instanceof _.oJ?"migrate to shared drive":a instanceof _.pJ?"partial download item":a instanceof _.qJ?"people api":a instanceof _.SF?"get published category":"undefined"!=typeof _.rJ&&a instanceof _.rJ?"get remaining changes":
a instanceof _.sJ?"remove item":"undefined"!=typeof _.tJ&&a instanceof _.tJ?"reparent item":a instanceof _.uJ?"restore item":a instanceof _.XF?"list suggested workspace items":a instanceof _.Pz?"list suggested workspaces":"undefined"!=typeof _.vJ&&a instanceof _.vJ?"update app":a instanceof _.wJ?"update category metadata":a instanceof _.xI?"update item":a instanceof _.xJ?"update revision":a instanceof _.yJ?"update TD":a instanceof _.gD?"update pref":a instanceof _.zJ?"update ws":a instanceof _.ZH?
"get account":a instanceof _.ZF?"get workspace":a instanceof _.otc?"list activity":a instanceof _.ptc?"list category metadata":a instanceof _.qtc?"create TD":"undefined"!=typeof _.rtc&&a instanceof _.rtc?"item export cancel":"undefined"!=typeof _.stc&&a instanceof _.stc?"item export status":"undefined"!=typeof _.ttc&&a instanceof _.ttc?"generate cse token":"undefined"!=typeof _.utc&&a instanceof _.utc?"get largest change ID":a instanceof _.eD?"list prefs":a instanceof _.AJ?"multipart upload":a instanceof
_.vtc?"list published categories":a instanceof wtc?"init resumable upload":a instanceof xtc?"resumable upload chunk":a instanceof _.ytc?"resumable upload":a instanceof _.YF?"get TD":"undefined"!=typeof _.ztc&&a instanceof _.ztc?"move TD preflight":a instanceof _.BJ?"list TDs":"undefined"!=typeof _.Atc&&a instanceof _.Atc?"get TD stats":a instanceof _.Btc?"test connection":"undefined"!=typeof _.Ctc&&a instanceof _.Ctc?"list workspaces":"unknown"};
CJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};Etc=function(a){if(a instanceof _.PI||a instanceof _.AJ||a instanceof _.ytc||a instanceof wtc||a instanceof xtc)return(new _.DJ).Ac(8);throw Error("ef");};Ftc=function(a){if(a instanceof _.xI){var b=_.Ej(_.xb(a.clone(),1),17);b=_.Oj(b,_.zsc)}else b=!1;b||(a instanceof _.xI?(a=_.Ej(_.xb(a.clone(),1),17),b=_.Oj(a,_.Asc)||_.Oj(a,_.Bsc)):b=!1);return b?!1:!0};
_.EJ=function(a){return Gtc.includes(a.constructor)?Ftc(a):!1};Mtc=function(a,b){if(Htc.includes(a.constructor))return!0;if(b){if(_.Q(b,54,!1)&&Itc.includes(a.constructor))return!0;var c=_.FJ(b);if(c&&!_.Q(c,7,!1)&&Jtc.includes(a.constructor)&&!_.GJ(a)||_.Q(b,56,!1)&&_.GJ(a)||_.Q(b,57,!1)&&Ktc.includes(a.constructor)||!(!_.Q(b,53,!1)||Itc.includes(a.constructor)||Jtc.includes(a.constructor)||_.GJ(a)||Ktc.includes(a.constructor)||Ltc.includes(a.constructor)))return!0}return!1};
_.HJ=function(a,b,c,d,e){if(_.Q(a,89,!1)){if(c&&c.length&&d){c=b.concat(Ntc(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)!==_.Al(d)&&ltc(h):(a.set(h,_.Al(d)),b.push(d))}f=b}else f=b;f.length&&(f=_.Zz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.Otc=function(a){var b=new _.tk;return _.w(b,1,a)};_.Ptc=function(a,b){return _.w(a,7,b)};_.Qtc=function(a,b){return _.w(a,8,b)};
_.Rtc=function(a,b){return _.w(a,11,b)};_.Stc=function(a,b){return _.w(a,16,b)};_.IJ=function(a){_.J.call(this,a)};_.K(_.IJ,_.J);_.Ttc=function(a){_.J.call(this,a)};_.K(_.Ttc,_.J);_.Utc=function(a,b){return _.w(a,1,b)};htc=function(a){_.J.call(this,a)};_.K(htc,_.J);htc.prototype.getMimeType=function(){return _.B(this,1)};htc.prototype.getUrl=function(){return _.B(this,2)};_.JJ=function(a){_.J.call(this,a)};_.K(_.JJ,_.J);_.JJ.prototype.De=function(){return _.B(this,2)};
_.JJ.prototype.qh=function(a){return _.w(this,2,a)};_.JJ.prototype.oh=function(a){return _.w(this,3,a)};_.Vtc=function(a){_.J.call(this,a)};_.K(_.Vtc,_.J);_.Wtc=function(a,b){return _.w(a,1,b)};_.Xtc=function(a,b){return _.Fj(a,2,b)};_.Ytc=function(a,b){return _.Fj(a,3,b)};Ztc=[2];_.KJ=function(a){_.J.call(this,a,-1,Ztc)};_.K(_.KJ,_.J);_.KJ.prototype.qf=function(){return _.B(this,1)};_.KJ.prototype.Vl=function(a){return _.w(this,1,a)};_.KJ.prototype.jva=function(a,b){return _.Hj(this,2,a,b)};
_.LJ=function(a){_.J.call(this,a)};_.K(_.LJ,_.J);_.LJ.prototype.De=function(){return _.B(this,1)};_.LJ.prototype.qh=function(a){return _.w(this,1,a)};_.LJ.prototype.oh=function(a){return _.w(this,2,a)};_.MJ=function(a,b){return _.Dj(a,2,b)};_.$tc=function(a,b){return _.Fj(a,15,b)};_.auc=function(a,b){return _.I(a,17,b)};_.buc=function(a,b){return _.w(a,19,b)};_.cuc=function(a,b){_.w(a,34,b)};_.duc=function(a,b){_.I(a,47,b)};_.euc=function(a,b){return _.w(a,52,b)};gtc=function(a,b){_.Fj(a,58,b)};
_.fuc=function(a,b){return _.w(a,72,b)};_.NJ=function(a,b){return _.I(a,84,b)};_.guc=function(a,b){_.I(a,85,b)};_.huc=function(a,b){_.I(a,91,b)};_.iuc=function(a,b){return _.w(a,92,b)};_.juc=function(a,b){return _.w(a,93,b)};_.kuc=function(a,b){_.I(a,95,b)};_.luc=function(a,b){return _.w(a,136,b)};_.muc=function(a){_.J.call(this,a)};_.K(_.muc,_.J);_.OJ=function(a){return _.Q(a,2,!1)};_.nuc=function(a){_.J.call(this,a)};_.K(_.nuc,_.J);var ouc=[3],puc=function(a){_.J.call(this,a,-1,ouc)};_.K(puc,_.J);
puc.prototype.wi=function(){var a=_.ie(this,3,!1);this.ka||(this.ka={});if(!this.ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.ka[3]=!0}_.rb(this)&&_.sb(a);return a};var quc=[3],ruc=function(a){_.J.call(this,a,-1,quc)};_.K(ruc,_.J);ruc.prototype.wi=function(){return _.ie(this,3)};var suc=[3],tuc=function(a){_.J.call(this,a,-1,suc)};_.K(tuc,_.J);tuc.prototype.wi=function(){return _.ie(this,3)};_.PJ=function(a){_.J.call(this,a)};_.K(_.PJ,_.J);_.PJ.prototype.Ya=function(){return _.B(this,1)};
_.PJ.prototype.Hb=function(a){return _.w(this,1,a)};_.PJ.prototype.Ci=function(){return _.xb(this,1)};_.PJ.prototype.Sg=function(){return _.yj(this,1)};_.QJ=function(a){return _.Bj(a,45,1)};_.hJ=function(a){return _.Q(a,47,!1)};_.iJ=function(a){return _.Q(a,49,!1)};_.jJ=function(a){return _.Q(a,52,!1)};_.RJ=function(a){return _.D(a,2,"")};_.FJ=function(a){return _.x(a,_.nuc,4)};_.uuc=function(a,b){return _.Dj(a,27,b)};_.SJ=function(a){return _.Bj(a,39,0)};_.TJ=function(a){return _.Q(a,40,!1)};
_.vuc=function(a){return _.yt.prototype.PO.call(a,!0)+"T"+_.ah(a.getHours(),2)+":"+_.ah(a.getMinutes(),2)+":"+_.ah(a.getSeconds(),2)+a.n$()};wuc=function(a,b){return _.Spc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.xuc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.SH(c,"deleting object store "+b);}};yuc=function(){var a=new _.Lrc;a.O=12E4;a.ma=!0;return a};_.zuc=function(a){_.J.call(this,a)};_.K(_.zuc,_.J);Auc=[3,4,10,18,19,28];
_.PI=function(a){_.J.call(this,a,-1,Auc)};_.K(_.PI,_.J);_.g=_.PI.prototype;_.g.getMimeType=function(){return _.B(this,1)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.sE=function(a,b){_.Hj(this,3,a,b)};_.g.se=function(){return _.x(this,_.Kf,7)};_.g.ij=function(){return _.B(this,9)};_.g.wc=function(){return _.B(this,14)};_.g.Fz=function(){return _.x(this,_.zuc,15)};_.g.K1=function(){return _.B(this,21)};_.g.qc=function(){return _.B(this,23)};
_.g.Xi=function(){return _.B(this,33)};_.UJ=function(a,b){return _.w(a,1,b)};_.VJ=function(a,b){return _.Dj(a,3,b)};_.Buc=function(a,b){return _.w(a,12,b)};_.TI=function(a){_.J.call(this,a)};_.K(_.TI,_.J);_.TI.prototype.getId=function(){return _.B(this,1)};_.TI.prototype.Nb=function(a){return _.w(this,1,a)};_.TI.prototype.se=function(){return _.x(this,_.Kf,3)};_.WI=function(a){_.J.call(this,a)};_.K(_.WI,_.J);_.WI.prototype.getId=function(){return _.B(this,1)};
_.WI.prototype.Nb=function(a){return _.w(this,1,a)};_.WI.prototype.se=function(){return _.x(this,_.Kf,2)};Cuc=[7,8];_.yJ=function(a){_.J.call(this,a,-1,Cuc)};_.K(_.yJ,_.J);_.g=_.yJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,4)};_.BJ=function(a){_.J.call(this,a)};_.K(_.BJ,_.J);
_.BJ.prototype.getOptions=function(){return _.x(this,_.Qrc,1)};_.BJ.prototype.Vn=function(){return _.B(this,2)};_.BJ.prototype.ld=function(){return _.x(this,_.MH,3)};var Duc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}},Euc=null,Fuc=function(){this.O=0;this.H=[]};_.g=Fuc.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=Guc(this,a);return this.H[a]};_.g.set=function(a,b){a=Guc(this,a);this.H[a]=b};_.g.Zb=function(){return this.H.length};
_.g.lc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.jh=function(){var a=this.Zb(),b=this.Zb(),c=[];for(a=this.Zb()-a;a<b;a++)c.push(this.get(a));return c};_.g.xf=function(){for(var a=[],b=this.Zb(),c=0;c<b;c++)a[c]=c;return a};_.g.af=function(a){return a<this.Zb()};_.g.Aq=function(a){for(var b=this.Zb(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};
var Guc=function(a,b){if(b>=a.H.length)throw Error("ga");return 40>a.H.length?b:(a.O+Number(b))%40},Huc=function(a){_.J.call(this,a)};_.K(Huc,_.J);_.Iuc=function(a){_.J.call(this,a)};_.K(_.Iuc,_.J);_.Iuc.prototype.Qe=function(){return _.B(this,1)};_.Iuc.prototype.yi=function(a){return _.w(this,1,a)};_.Iuc.prototype.Cb=function(){return _.B(this,4)};_.Iuc.prototype.Ac=function(a){return _.w(this,4,a)};var Juc=function(a){_.J.call(this,a)};_.K(Juc,_.J);Juc.prototype.Fo=function(){return _.B(this,5)};
var Kuc=function(a,b){_.w(a,6,b)},Luc=function(a){_.J.call(this,a)};_.K(Luc,_.J);_.g=Luc.prototype;_.g.Vhb=function(a){_.w(this,1,a)};_.g.CPb=function(a){_.w(this,2,a)};_.g.uy=function(){return _.P(this,3)};_.g.Whb=function(a){_.w(this,3,a)};_.g.hPb=function(a){_.w(this,4,a)};var Muc=function(a){_.J.call(this,a)};_.K(Muc,_.J);Muc.prototype.uy=function(){return _.P(this,2)};var Nuc=function(a,b){return _.w(a,2,b)},Ouc=function(a,b){_.w(a,3,b)};Muc.prototype.oB=function(){return _.B(this,6)};
var Puc=function(a,b){return _.w(a,8,b)},Quc=function(a){_.J.call(this,a)};_.K(Quc,_.J);var Ruc=function(a){_.J.call(this,a)};_.K(Ruc,_.J);var Suc=function(a,b){_.w(a,4,b)},Tuc=function(a){_.J.call(this,a)};_.K(Tuc,_.J);Tuc.prototype.ld=function(){return _.x(this,_.Iuc,1)};Tuc.prototype.getState=function(){return _.x(this,Juc,2)};Tuc.prototype.Id=function(a){return _.I(this,2,a)};Tuc.prototype.et=function(){return _.yj(this,2)};var Uuc=function(a){_.J.call(this,a)};_.K(Uuc,_.J);
Uuc.prototype.Ej=function(){return _.B(this,1)};Uuc.prototype.getEnvironment=function(){return _.B(this,2)};Uuc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.Vuc=function(){var a=void 0===a?3E3:a;this.O=new _.Uk;this.H=new _.Uk;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.Wuc=function(a){var b=a.O.jh();a.V&&b.push({logName:"...",message:"...",level:"...",totalTime:"..."});_.Ba(b,a.H.jh());return b};
_.Xuc=function(a){var b=[];a=_.Wuc(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")};_.Vuc.prototype.info=function(a,b){_.WJ(this,a,b,"info")};_.Vuc.prototype.config=function(a,b){_.WJ(this,a,b,"config")};_.Vuc.prototype.log=function(a,b,c){if(!Euc){Euc={};for(var d=0,e;e=_.Bka[d];d++)Euc[e.value]=e,Euc[e.name]=e}_.WJ(this,a,b,c)};
_.WJ=function(a,b,c,d){a.H.Zb()>=a.ha&&(a.V=!0,_.Zk(a.H));var e=Date.now()-a.startTime;b={logName:b,message:c,level:d,totalTime:1E3<e?(e/1E3).toFixed(1)+"s":e+"ms"};a.O.Zb()<a.W?a.O.enqueue(b):a.H.enqueue(b)};_.ctc=[42,1005,20,50,18,1003,1002];Yuc=[73,71];_.XJ=function(a){_.J.call(this,a)};_.K(_.XJ,_.J);_.XJ.prototype.getId=function(){return _.B(this,1)};_.XJ.prototype.Nb=function(a){return _.w(this,1,a)};_.XJ.prototype.getMimeType=function(){return _.B(this,2)};Zuc=[22];
_.DJ=function(a){_.J.call(this,a,-1,Zuc)};_.K(_.DJ,_.J);_.g=_.DJ.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.x(this,_.Gk,2)};_.g.setItem=function(a){return _.I(this,2,a)};_.g.Wj=function(){return _.B(this,3)};_.g.qc=function(){return _.B(this,5)};_.$uc=function(a,b){return _.w(a,5,b)};_.g=_.DJ.prototype;_.g.XJ=function(){return _.B(this,7)};_.g.Jca=function(a){return _.w(this,7,a)};_.g.ofa=function(a){_.w(this,9,a)};
_.g.HMa=function(a){_.w(this,10,a)};_.g.MM=function(){return _.B(this,16)};_.g.Aca=function(a){return _.w(this,16,a)};var avc=function(a){var b=new _.ai;a.listen("loadend",_.gb(function(c,d){var e=d.lk(),f=d.getError();null==e||f?c.Gd(f):c.callback(e);d.dispose()},b,a));return b},bvc=function(a){_.oi.call(this,a);this.connectionState=_.SJb.get(a)};_.K(bvc,_.oi);_.KI=function(a){_.J.call(this,a)};_.K(_.KI,_.J);_.KI.prototype.qc=function(){return _.B(this,1)};_.LI=function(a){_.J.call(this,a)};
_.K(_.LI,_.J);_.LI.prototype.getId=function(){return _.B(this,1)};_.LI.prototype.Nb=function(a){return _.w(this,1,a)};_.LI.prototype.xk=function(){return _.B(this,2)};_.LI.prototype.H=function(a){_.w(this,4,a)};_.MI=function(a){_.J.call(this,a)};_.K(_.MI,_.J);_.MI.prototype.Jh=function(){return _.B(this,1)};_.MI.prototype.qc=function(){return _.B(this,2)};_.MI.prototype.se=function(){return _.x(this,_.Kf,4)};cvc=[3,7];_.NI=function(a){_.J.call(this,a,-1,cvc)};_.K(_.NI,_.J);_.g=_.NI.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.sE=function(a,b){_.Hj(this,3,a,b)};_.g.se=function(){return _.x(this,_.Kf,5)};_.QI=function(a){_.J.call(this,a)};_.K(_.QI,_.J);_.QI.prototype.getTitle=function(){return _.B(this,1)};_.QI.prototype.setTitle=function(a){return _.w(this,1,a)};_.QI.prototype.se=function(){return _.x(this,_.Kf,2)};
_.VI=function(a){_.J.call(this,a)};_.K(_.VI,_.J);_.VI.prototype.qc=function(){return _.B(this,1)};_.VI.prototype.se=function(){return _.x(this,_.Kf,3)};_.XI=function(a){_.J.call(this,a)};_.K(_.XI,_.J);_.XI.prototype.getId=function(){return _.B(this,1)};_.XI.prototype.Nb=function(a){return _.w(this,1,a)};_.XI.prototype.se=function(){return _.x(this,_.Kf,3)};_.ZI=function(a){_.J.call(this,a)};_.K(_.ZI,_.J);_.ZI.prototype.se=function(){return _.x(this,_.Kf,1)};_.sJ=function(a){_.J.call(this,a)};
_.K(_.sJ,_.J);_.g=_.sJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.w(this,2,a)};_.g.se=function(){return _.x(this,_.Kf,3)};_.uJ=function(a){_.J.call(this,a)};_.K(_.uJ,_.J);_.g=_.uJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.w(this,2,a)};
_.g.se=function(){return _.x(this,_.Kf,3)};_.xJ=function(a){_.J.call(this,a)};_.K(_.xJ,_.J);_.xJ.prototype.qc=function(){return _.B(this,1)};_.xJ.prototype.se=function(){return _.x(this,_.Kf,4)};_.zJ=function(a){_.J.call(this,a)};_.K(_.zJ,_.J);_.g=_.zJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.B(this,3)};
_.g.Id=function(a){return _.w(this,3,a)};_.g.et=function(){return _.yj(this,3)};_.g.se=function(){return _.x(this,_.Kf,5)};dvc=[2,3];_.OI=function(a){_.J.call(this,a,-1,dvc)};_.K(_.OI,_.J);_.OI.prototype.wc=function(){return _.B(this,1)};_.OI.prototype.se=function(){return _.x(this,_.Kf,4)};_.evc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};fvc=[3,4];_.lJ=function(a){_.J.call(this,a,-1,fvc)};_.K(_.lJ,_.J);_.lJ.prototype.getType=function(){return _.B(this,1)};
_.lJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.oJ=function(a){_.J.call(this,a)};_.K(_.oJ,_.J);_.oJ.prototype.H=function(a){_.w(this,4,a)};gvc=[1];_.qJ=function(a){_.J.call(this,a,-1,gvc)};_.K(_.qJ,_.J);_.qJ.prototype.ln=function(){return _.ie(this,1)};_.hvc=function(a){_.J.call(this,a)};_.K(_.hvc,_.J);_.g=_.hvc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.bt=function(){return _.yj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};
_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.yj(this,2)};_.g.qf=function(){return _.B(this,3)};_.g.Vl=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.B(this,4)};ivc=[1];_.jvc=function(a){_.J.call(this,a,-1,ivc)};_.K(_.jvc,_.J);_.YJ=function(a){a.supportsTeamDrives=!0};_.kvc=function(a){this.O=new Set;this.H=[].concat(_.Jd(_.ie(a,27)));this.initialize(a)};
_.kvc.prototype.initialize=function(a){var b=_.etc(this.H,_.ie(a,28));if(0<b.length)throw Error("Te`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.LH(_.YH(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));_.Fa(this.H);this.H.sort();ftc(this.H)};_.ZJ=function(a){return[].concat(_.Jd(a.H))};$J=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.aK=function(a,b,c){0!==b.length&&(a.pI.length&&a.append(" "+(c||"and")+" "),a.append(b))};bK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push($J(c));e.push("in");e.push(b);_.aK(a,e.join(" "))}};_.cK=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());_.aK(a,e.join(" "),d)}};lvc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.aK(a,d.join(""))}};
_.mvc=function(a){var b=new _.Wrc;b.setTime(a);return b};nvc=function(a,b){b=_.ie(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push($J(b));_.aK(a,c.join(" "))}};_.ovc=function(a){a=_.Ab(a,_.PJ,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Ya());return b.join(",")};_.pvc=function(a){a=a.qB();return null==a||0==a.length?"":a.map(function(b){b=b.cR();if(0==b)throw Error("Ue");return _.opc[b]}).join(",")};
qvc=function(a,b){if(a.length){var c=new _.Fo;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($J(d.Ya()));_.aK(c,e.join(" "),"or")}return c.toString()}return""};rvc=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 $J(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};
svc=function(a){if(_.P(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};tvc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};uvc=function(a,b,c){if(null!=_.B(c,2)){var d=tvc(_.B(c,1));c=$J(_.vuc(_.mvc(_.B(c,2)||0)));_.aK(a,[b,d,c].join(" "))}};
vvc=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""};
_.wvc=function(a){for(var b=new _.Fo,c=_.Ab(a,_.vl,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.B(e,1),k=_.Q(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push($J(f));_.aK(b,l.join(" "))}}for(var p=_.Ab(a,_.ul,5),q=0;q<p.length;q++){var r=p[q],v=r.Ya();if(v){var z=[];_.Q(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push($J(v));_.aK(b,z.join(" "))}}var A=_.Dl(a);if(A&&0!=A.length){for(var C=[],G=[],H=[],L=[],O=[],T=[],U=0;U<A.length;U++){var ca=
A[U];ca.Ya()&&(1===_.Bj(ca,3,0)?_.P(ca,4)?G.push(ca):C.push(ca):_.P(ca,4)?_.Q(ca,2,!1)?T.push(ca):O.push(ca):_.Q(ca,2,!1)?L.push(ca):H.push(ca))}var ba=qvc(C,!1),ma=qvc(G,!0),ta=rvc(H,!1,!1),za=rvc(L,!0,!1),Na=rvc(O,!1,!0),ob=rvc(T,!0,!0),Wa=new _.Fo;if(ta||Na||ba||ma)_.aK(Wa,ta,"or"),_.aK(Wa,Na,"or"),_.aK(Wa,ba,"or"),_.aK(Wa,ma,"or");Wa.pI.length&&_.aK(b,"("+Wa.toString()+")","and");var Ub=new _.Fo;if(za||ob)_.aK(Ub,za,"and"),_.aK(Ub,ob,"and");Ub.pI.length&&_.aK(b,"("+Ub.toString()+")","and")}for(var Ac=
_.Ab(a,_.sl,7),Mc=0;Mc<Ac.length;Mc++)uvc(b,"modifiedDate",Ac[Mc]);for(var xd=_.Ab(a,_.sl,8),Ae=0;Ae<xd.length;Ae++)uvc(b,"lastViewedByMeDate",xd[Ae]);_.cK(b,"trashed",a.Qh());_.cK(b,"explicitlyTrashed",_.P(a,17));_.cK(b,"starred",_.P(a,10));_.cK(b,"hidden",_.P(a,11));for(var oe=_.El(a),Vg=0;Vg<oe.length;Vg++){var ee=oe[Vg];bK(b,"parents",ee.Ya(),_.Q(ee,2,!1))}for(var Db=_.Ab(a,_.Af,13),Qe=0;Qe<Db.length;Qe++){var sj=Db[Qe];bK(b,"owners",sj.Ya(),_.Q(sj,2,!1))}for(var bf=_.Ab(a,_.Af,14),tj=0;tj<bf.length;tj++){var dk=
bf[tj];bK(b,"writers",dk.Ya(),_.Q(dk,2,!1))}for(var Pg=_.Ab(a,_.Af,15),Ql=0;Ql<Pg.length;Ql++){var ui=Pg[Ql];bK(b,"readers",ui.Ya(),_.Q(ui,2,!1))}_.P(a,16)&&_.aK(b,"sharedWithMe");_.cK(b,"unparented",_.P(a,34));for(var Fe=_.Ab(a,_.pl,35)||[],Pf=_.m(Fe),Kj=Pf.next();!Kj.done;Kj=Pf.next())bK(b,"ancestors",Kj.value.Ya(),!1);for(var Di=_.Ab(a,_.pl,38)||[],uj=_.m(Di),Vk=uj.next();!Vk.done;Vk=uj.next())bK(b,"descendants",Vk.value.Ya(),!1);for(var Ip=_.Ab(a,_.tl,37)||[],Lm=_.m(Ip),Kq=Lm.next();!Kq.done;Kq=
Lm.next())bK(b,"folderFeatures",Kq.value.Ya(),!1);for(var Yr=_.ie(a,39),Zr=_.m(Yr),Yh=Zr.next();!Yh.done;Yh=Zr.next()){var Lq=Yh.value,mm=[];mm.push("templateData.description");mm.push("contains");mm.push($J(Lq));_.aK(b,mm.join(" "))}for(var Zn=_.ie(a,40),xl=0;xl<Zn.length;xl++){var nm=[];0==xl&&nm.push("(");nm.push($J(Zn[xl]));nm.push("in");nm.push("templateData.categories");xl==Zn.length-1&&nm.push(")");_.aK(b,nm.join(" "),0==xl?"and":"or")}var Jp=_.B(a,41);if(null!=Jp){var Rl=[];Rl.push("templateData.galleryState");
Rl.push("=");Rl.push($J(_.Yrc[Jp]||""));_.aK(b,Rl.join(" "))}var Wk=_.B(a,42);if(null!=Wk){var Lj=[];Lj.push("visibility");Lj.push("=");Lj.push($J(vvc(Wk)));_.aK(b,Lj.join(" "))}for(var Ic=_.Ab(a,_.ol,44),Mm=0;Mm<Ic.length;++Mm){var Kp=Ic[Mm];bK(b,"actionItems",svc(Kp),_.Q(Kp,3,!1))}if(_.yj(a,50)){var Qo=[];Qo.push("pairedDocType");Qo.push(_.Q(a,50,!1)?"!=":"=");Qo.push($J("NONE"));_.aK(b,Qo.join(" "))}bK(b,"workspaceIds",a.Dp(),!1);for(var Sl=_.Ab(a,_.ql,57),Lp=0;Lp<Sl.length;Lp++){var yl=[];0==
Lp&&yl.push("(");yl.push($J(Sl[Lp].Ya()));yl.push("in");yl.push("approvals");Lp==Sl.length-1&&yl.push(")");_.aK(b,yl.join(" "),0==Lp?"and":"or")}if(_.yj(a,58)){var zl=a.aq(),$n=zl.Ya();if($n){var Tl=[];_.Q(zl,2,!1)&&Tl.push("not");Tl.push("creator");Tl.push("=");Tl.push($J($n));_.aK(b,Tl.join(" "))}}var Mp=_.x(a,_.kpa,59);if(Mp)for(var Ju=_.m(_.Ab(Mp,_.hpa,1)),Mq=Ju.next();!Mq.done;Mq=Ju.next()){var Ro=Mq.value;bK(b,"categoryMetadata",Ro.Cm());for(var Ku=_.m(Ro.vk()),Np=Ku.next();!Np.done;Np=Ku.next()){var Zi=
Np.value,vj=_.B(Zi,1),Op=_.Eb(Zi,_.rl);if(10==Op){_.Sj(Zi,_.Zoa,10,_.rl);var Ul=_.P(Zi,15);(void 0===Ul?0:Ul)?_.aK(b,vj+" is null"):_.aK(b,"not ("+vj+" is null)")}else{var yh=new _.Fo,Xk=void 0;switch(Op){case 3:Xk=_.Sj(Zi,puc,3,_.rl);for(var ao=_.m(Xk.wi()),Kg=ao.next();!Kg.done;Kg=ao.next())_.cK(yh,vj,Kg.value,"or");break;case 14:for(var om=Xk=_.Sj(Zi,_.Soa,14,_.rl),Pp=new Map([[1,"="],[2,">"],[3,"<"]]),Nq=_.m(om.wi()),pm=Nq.next();!pm.done;pm=Nq.next()){var Yk=pm.value,Oq=Pp.get(_.B(om,2));if(!Oq)throw Error("Ve");
_.aK(yh,[vj,Oq,$J(Yk.getYear()+"-"+Yk.getMonth()+"-"+Yk.getDay())].join(" "),"or")}break;case 8:for(var $r=Xk=_.Sj(Zi,_.Yoa,8,_.rl),tw=new Map([[1,"="],[2,">"],[3,"<"]]),Qp=_.m($r.wi()),dp=Qp.next();!dp.done;dp=Qp.next()){var ir=dp.value,Um=tw.get(_.B($r,2));if(!Um)throw Error("Ve");_.aK(yh,[vj,Um,ir].join(" "),"or")}break;case 9:for(var Lt=Xk=_.Sj(Zi,ruc,9,_.rl),ly=new Map([[1,"in"]]),jr=_.m(Lt.wi()),EA=jr.next();!EA.done;EA=jr.next()){var Yf=EA.value,Tw=ly.get(_.B(Lt,2));if(!Tw)throw Error("Ve");
_.aK(yh,[Yf,Tw,vj].join(" "),"or")}break;case 6:for(var PC=Xk=_.Sj(Zi,_.cpa,6,_.rl),gq=new Map([[1,"="]]),QC=_.m(PC.wi()),jN=QC.next();!jN.done;jN=QC.next()){var BF=jN.value,dJ=gq.get(_.B(PC,2));if(!dJ)throw Error("Ve");_.aK(yh,[vj,dJ,$J(BF)].join(" "),"or")}break;case 7:for(var vs=Xk=_.Sj(Zi,_.apa,7,_.rl),eJ=new Map([[1,"in"]]),CF=_.m(vs.wi()),DF=CF.next();!DF.done;DF=CF.next()){var EF=DF.value,FF=eJ.get(_.B(vs,2));if(!FF)throw Error("Ve");_.aK(yh,[$J(EF),FF,vj].join(" "),"or")}break;case 4:for(var Uw=
Xk=_.Sj(Zi,_.epa,4,_.rl),kN=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),lN=_.m(Uw.wi()),my=lN.next();!my.done;my=lN.next()){var Mt=my.value,GF=kN.get(_.B(Uw,2));if(!GF)throw Error("Ve");_.aK(yh,[vj,GF,$J(Mt)].join(" "),"or")}break;case 5:for(var HF=Xk=_.Sj(Zi,tuc,5,_.rl),mN=new Map([[1,"in"]]),IF=_.m(HF.wi()),fS=IF.next();!fS.done;fS=IF.next()){var rZ=fS.value,nN=mN.get(_.B(HF,2));if(!nN)throw Error("Ve");_.aK(yh,[$J(rZ),nN,vj].join(" "),"or")}break;case 12:for(var oN=Xk=_.Sj(Zi,_.Woa,12,
_.rl),pN=new Map([[1,"="]]),gS=_.m(oN.wi()),hS=gS.next();!hS.done;hS=gS.next()){var U6=hS.value,V6=pN.get(_.B(oN,2));if(!V6)throw Error("Ve");_.aK(yh,[vj,V6,$J(U6)].join(" "),"or")}break;case 11:for(var ny=Xk=_.Sj(Zi,_.Uoa,11,_.rl),Uga=new Map([[1,"in"]]),Vga=_.m(ny.wi()),fJ=Vga.next();!fJ.done;fJ=Vga.next()){var Nt=fJ.value,iS=Uga.get(_.B(ny,2));if(!iS)throw Error("Ve");_.aK(yh,[$J(Nt),iS,vj].join(" "),"or")}}_.P(Zi,15)?_.aK(b,"not ("+yh+")"):_.aK(b,1<Xk.wi().length?"("+yh+")":""+yh)}}}null!=_.P(a,
60)&&_.cK(b,"linkShareMetadata.securityUpdateEligible",_.P(a,60));var kr=_.P(a,65);if(null!=kr){var FA=[];FA.push("clientEncryptionDetails.encryptionState");FA.push("=");FA.push($J(kr?"encrypted":"unencrypted"));_.aK(b,FA.join(" "))}var jS=_.Ab(a,_.Af,68);if(jS.length){for(var W6=[],kS=[],RC=_.m(jS),lS=RC.next();!lS.done;lS=RC.next()){var lxa=lS.value,mxa="sharedFrom = "+$J(lxa.Ya());_.Q(lxa,2,!1)?kS.push(mxa):W6.push(mxa)}lvc(b,W6,!1);lvc(b,kS,!0)}var nxa=_.Ab(a,_.Af,67);if(nxa.length){for(var oxa=
[],X6=[],pxa=_.m(nxa),qN=pxa.next();!qN.done;qN=pxa.next()){var mS=qN.value,rN="sharedTo = "+$J(mS.Ya());_.Q(mS,2,!1)?X6.push(rN):oxa.push(rN)}lvc(b,oxa,!1);lvc(b,X6,!0)}null!=_.P(a,69)&&_.cK(b,"linkShareMetadata.securityUpdateEnabled",_.P(a,69));null!=_.P(a,72)&&_.cK(b,"canAcceptOwnership",_.P(a,72));if(_.P(a,73)){var Y6=(new _.Cf).Hb("application/vnd.google-apps.shortcut");_.cK(b,"impactedByMultiparentingMigration",!0);_.aK(b,rvc([Y6],!1,!1))}1==_.QJ(a)&&nvc(b,a);return b.toString()};
_.xvc=function(a){var b=new _.Fo(_.wvc(a));_.Q(a,74,!1)?_.aK(b,"isQuickAccessForSharedFilesRequest"):_.hJ(a)?_.aK(b,"isQuickAccessRequest"):_.iJ(a)?_.aK(b,"isPeoplePredictRequest"):_.jJ(a)&&_.aK(b,"isDrivePriorityRequest");var c=a.Kc();if(c){var d=[];d.push("sortBy");d.push(_.Trc[c.getType()]);d.push(_.$rc[c.Xf()]);_.P(c,3)&&d.push("foldersFirst");_.aK(b,d.join(" "))}_.cK(b,"domainSearch",_.P(a,18));_.cK(b,"offline",_.P(a,19));_.Ab(a,_.PJ,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.ovc(a)),
_.aK(b,c.join(" ")));a.qB().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.pvc(a)),_.aK(b,c.join(" ")));if(c=_.QJ(a))d=[],d.push("corpora"),d.push("="),d.push($J(_.evc[c])),_.aK(b,d.join(" "));_.Q(a,66,!0)||_.cK(b,"includeItemsFromAllDrives",_.Q(a,66,!0));1!=_.QJ(a)&&nvc(b,a);_.Q(a,48,!1)&&_.aK(b,"cachedOnly");return b.toString()};
_.GJ=function(a){if(a instanceof _.nI)a=a.ld();else if(!a)return!1;return a instanceof _.Pz||a instanceof _.XF||"undefined"!=typeof _.dK&&a instanceof _.dK||a instanceof _.yf&&(_.hJ(a)||_.iJ(a)||_.jJ(a))};yvc=function(){_.Co.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.K(yvc,_.Co);_.zvc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};Avc=function(a,b){a.V||(a.V=b)};yvc.prototype.vj=function(){_.zvc(this);(0,this.ha)()};Bvc=function(a,b){a.ha||(a.ha=b)};
_.eK=function(a){if(!a.O){a.O=new Tuc;var b=_.Eo(a);_.I(b,56,a.O)}return a.O};yvc.prototype.getState=function(){var a=_.eK(this).getState();a||(a=new Juc,_.eK(this).Id(a));return a};var Cvc=function(a,b){var c=new Huc;_.w(c,1,b);a=_.Eo(a);_.I(a,12,c)};yvc.prototype.ma=function(){var a=_.x(_.eK(this),Luc,4);if(!a){a=new Luc;var b=_.eK(this);_.I(b,4,a)}return a};
var Dvc=function(a){var b=_.x(_.eK(a),Muc,8);b||(b=new Muc,a=_.eK(a),_.I(a,8,b));return b},Evc=function(a){var b=_.x(_.eK(a),Ruc,19);b||(b=new Ruc,a=_.eK(a),_.I(a,19,b));return b},Fvc=function(a){_.oi.call(this,"Bb");this.H=a};_.K(Fvc,_.oi);Fvc.prototype.Oe=function(){return this.H};_.Gvc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.yi.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.K(_.Gvc,_.yi);_.g=_.Gvc.prototype;
_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Ik=function(){return 1===this.connectionState||2===this.connectionState};_.g.Oe=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?_.LB.nU:_.LB.Pga;else 1===a?(b=_.LB.yL,this.O=!0):3===a&&(b=_.LB.mU);if(b)return b=new bvc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var Hvc=function(a,b){this.userId=a;this.H=b;this.db=null},Jvc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return Ivc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ye"))},function(d){return a.handleError(d)})},"readwrite")};Hvc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.tBb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var Kvc=function(a){return new _.Uh(function(b){var c=new Map;Ivc(a,function(d){return wuc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Zqa:f.Zqa},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Zqa=k;l.then(function(p){return function(q){q&&c.set(p.Zqa,new _.lAa(q.tBb))}}(f))}return _.fI([].concat(_.Jd(e.values()))).then(function(){return b(c)})})})})},Lvc=function(a,b){return Ivc(a,
function(c){return c.remove(b)},"readwrite")},Ivc=function(a,b,c){c=void 0===c?"readonly":c;return Mvc(a).then(function(d){try{var e=_.$pc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.HI(f):void 0)}},function(d){return a.handleError(d)})},Mvc=function(a){return a.db?_.Vh(a.db):_.bqc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.xuc(c,"OfflineImpressions");b=_.Zpc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.SH(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ze"))}).then(function(b){return a.db=b},function(b){return _.Wh(_.HI(b))})};Hvc.prototype.handleError=function(a){a||(a=Error("$e"));_.WJ(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Vh()};
_.Nvc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.yi.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.K(_.Nvc,_.yi);_.Nvc.prototype.Oe=function(){return this.H};_.Nvc.prototype.Jl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new Fvc(a)))};_.Nvc.prototype.Uy=function(a){this.O=a};
var Pvc=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.jf(this);this.Ib.listen(b,"Bb",function(k){k.Oe()||Ovc(h)});this.Ib.listen(c,[_.LB.yL,_.LB.nU],function(){return void Ovc(h)});this.W=e;f.then(function(){return Ovc(h)})};_.K(Pvc,_.yi);Pvc.prototype.rA=function(a){return(this.H.Oe()||this.connectionState.Oe())&&this.H.O?Jvc(this.O,a):this.V.rA(a)};
var Ovc=function(a){return a.H.O?Kvc(a.O).then(function(b){b.forEach(function(c,d){a.V.rA(c).then(function(){return Qvc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},Qvc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Cb");return Lvc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
Pvc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var Rvc=function(){};Rvc.prototype.JQ=function(){return new yvc};var Svc=function(){this.H=new Uuc};Svc.prototype.O=function(a){_.I(a,13,this.H)};Svc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
var Uvc=function(a,b,c,d){this.ha=b;this.connectionState=c;this.jw=d;this.O=this.H=this.V=null;this.client=_.fK(_.isc,_.SJ(a));this.ka=_.B(a,94);this.ma=_.fK(_.msc,_.Bj(a.Vf(),8,0));this.Xwa=_.fK(_.jsc,_.Bj(a.Vf(),9,2));this.ta=_.Q(a,10,!1);this.ru=_.LH(_.YH(a));this.wCa=_.TJ(a);this.W=Tvc(a);this.buildLabel=a.Oi()};Uvc.prototype.Ej=function(){return this.client};
Tvc=function(a){var b=[].concat(_.Jd(_.fsc.keys())),c=[].concat(_.Jd(_.gsc.keys())),d=_.FJ(a);return b.filter(function(e){return _.fsc.get(e)(a)}).concat(c.filter(function(e){return d&&_.gsc.get(e)(d)}))};_.fK=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};Uvc.prototype.Fo=function(a){return null==a?0:a?2:1};var Vvc=function(a){if(a.O)return a.O.H("aU7Ts")};
Uvc.prototype.Cb=function(a){return a instanceof _.VA||"undefined"!=typeof _.gK&&a instanceof _.gK||"undefined"!=typeof _.hK&&a instanceof _.hK||"undefined"!=typeof _.iK&&a instanceof _.iK?a.Cb():"undefined"!=typeof _.jK&&a instanceof _.jK||"undefined"!=typeof _.kK&&a instanceof _.kK||"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK||"undefined"!=typeof _.nK&&a instanceof _.nK?a.response?a.response.Cb():null:null};Uvc.prototype.Oi=function(){return this.buildLabel};
var Wvc=function(a){return a.ha.Oe()||a.connectionState.Oe()?2:1};Uvc.prototype.getEnvironment=function(){return this.jw};Xvc=function(a,b){this.H=a;var c=new _.Tya;_.Uya(c,b.W);a=this.H.CL();var d=_.Krc(a);_.I(d,10,c);(c=b.Oi())&&_.Jrc(a,c);this.H.LZ();this.O=b};
_.Yvc=function(a,b,c){var d=_.Do(a.H.KF(b,c),_.asc);Cvc(d,Wvc(a.O));b=Vvc(a.O);"boolean"===typeof b&&Kuc(d.getState(),b);1===c&&Avc(d,function(){return void a.H.iw(d)});Bvc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.zd();e=d.getState();_.w(e,1,f);var h,k;f=null===(k=null===(h=a.O.H)||void 0===h?void 0:h.H)||void 0===k?void 0:k.zd();h=d.getState();_.w(h,2,f);var l,p;h=null===(p=null===(l=a.O.H)||void 0===l?void 0:l.O)||void 0===p?void 0:p.zd();l=d.getState();_.w(l,7,h);a.H.Lp(d)});
return d};Zvc=function(a){var b=new _.Iza,c=new Svc,d=a.Ej();_.w(c.H,1,d);_.w(c.H,8,a.ka);_.w(c.H,3,a.ma);_.w(c.H,4,a.Xwa);_.w(c.H,5,a.ta);_.w(c.H,6,a.ru);_.w(c.H,7,a.wCa);a=c.setEnvironment(a.getEnvironment());_.Nqc(b,_.csc,a);_.Go(b,_.asc,new Rvc);return b};
$vc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.cI(906,b,void 0,_.ssc());l.ha=!1;var p=new _.Oqc(l);b=new Date;l=_.Prc(_.Orc(_.Nrc(yuc(),new _.Pqc(l)),Zvc(c)),109).setSessionId(b.getTime()+"_"+_.ch());if(k){a=new Pvc(p,d,e,new Hvc(a,f),f,h);_.Mrc(l,a);d=l.build();_.Irc(d.CL(),1E3*b.getTime());var q=new Xvc(d,c);(new _.jf).listen(a,"Cb",function(){_.Yvc(q,106008,0).vj()});return q}_.Mrc(l,p);a=l.build();_.Irc(a.CL(),1E3*b.getTime());return new Xvc(a,c)};
awc=function(a,b){this.V=a;this.W=b};awc.prototype.O=function(a,b){this.V&&_.bwc(this)&&(a=_.Yvc(this.V,a,0),b&&_.ipc(a,b),a.vj())};_.oK=function(a,b){if(a.V&&_.bwc(a)){a=_.Yvc(a.V,106018,0);var c=_.x(_.eK(a),Quc,15);if(!c){c=new Quc;var d=_.eK(a);_.I(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.vj()}};awc.prototype.H=function(a,b){return this.V&&_.bwc(this)?(a=_.Yvc(this.V,a,1),b&&_.ipc(a,b),a):null};_.bwc=function(a){return!(!a.V||!a.V.H.pP())};
_.cwc=function(a,b,c,d,e,f){var h=_.P(a,59),k=_.wI(_.YH(a)).toString(),l=_.RJ(_.YH(a));f=new Uvc(a,b,c,f);a=h?$vc(l,k,f,b,c,d,e,_.Q(a,17,!1)):null;return new awc(a,f)};_.aJ=function(a){_.J.call(this,a)};_.K(_.aJ,_.J);_.dwc=function(a){_.J.call(this,a)};_.K(_.dwc,_.J);_.dwc.prototype.getId=function(){return _.B(this,1)};_.dwc.prototype.Nb=function(a){return _.w(this,1,a)};_.dwc.prototype.se=function(){return _.x(this,_.Kf,2)};_.mJ=function(a){_.J.call(this,a)};_.K(_.mJ,_.J);
_.mJ.prototype.Vn=function(){return _.B(this,2)};_.mJ.prototype.ld=function(){return _.x(this,_.dwc,3)};_.$I=function(a){_.J.call(this,a)};_.K(_.$I,_.J);_.$I.prototype.ld=function(){return _.x(this,_.ZI,1)};_.$I.prototype.Nca=function(a){return _.w(this,2,a)};_.YI=function(a){_.J.call(this,a)};_.K(_.YI,_.J);_.YI.prototype.getId=function(){return _.B(this,1)};_.YI.prototype.Nb=function(a){return _.w(this,1,a)};_.ewc=function(a,b){return _.w(a,2,b)};_.pJ=function(a){_.J.call(this,a)};_.K(_.pJ,_.J);
_.pJ.prototype.ld=function(){return _.x(this,_.YI,1)};fwc=[2];_.wJ=function(a){_.J.call(this,a,-1,fwc)};_.K(_.wJ,_.J);_.wJ.prototype.qc=function(){return _.B(this,1)};_.wJ.prototype.FV=function(){return _.Ab(this,_.RF,2)};_.wJ.prototype.se=function(){return _.x(this,_.Kf,3)};_.gwc=function(a){_.J.call(this,a)};_.K(_.gwc,_.J);_.gwc.prototype.wk=function(){return _.B(this,1)};_.hwc=function(a){var b=new _.gwc;return _.w(b,1,a)};iwc=[1];_.mtc=function(a){_.J.call(this,a,-1,iwc)};_.K(_.mtc,_.J);
_.jwc=function(a,b){this.O=b;this.H=new Map;this.Ala(_.Ab(a,_.wl,91))};_.jwc.prototype.Ala=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.Al(c);if(!b||!c)break;var d=_.kwc(this,b);if(d){d!==c&&ltc(b);break}this.H.set(b,c)}};Ntc=function(a,b){return[].concat(_.Jd(new Set(b))).map(function(c){var d=(new _.wl).Nb(c);a.H.has(c)?_.Bl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Bl(d,_.Mk(c));return d}).filter(function(c){return _.yj(c,2)})};
_.kwc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.yj(a,140)?_.Mk(a):null};_.ptc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.vtc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Btc=function(){this.H=_.Lf(new _.Kf,312)};_.lwc=function(a,b){_.TH.call(this,a?a:500,b?b:6E5)};_.K(_.lwc,_.TH);_.pK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Zf=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};
_.pK.prototype.getState=function(){return this.state};_.pK.prototype.iM=function(a){var b=this;if(this.W)return this.W;var c=_.Zh();this.W=c.promise.then(function(){return _.hwc(1)},function(d){d=_.Rc(d).Fg;var e=0;2===d.zp()?e=3:_.rsc(d)&&(e=2);return _.hwc(e)});a&&this.W.then(function(d){3===d.wk()&&_.oK(b.Zf,186469046)});this.H&&(a=_.B(Evc(this.H),4)||0,Suc(Evc(this.H),a+1));setTimeout(function(){b.W=null},5E3);mwc(this,c);return this.W};_.pwc=function(a,b){nwc(a,3)&&_.owc(a,b)};
_.pK.prototype.reset=function(){this.O=null;qwc(this)};qwc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.owc=function(a,b){if(!a.O&&!a.V){a.H=a.Zf.H(106025);if(a.H){var c=Evc(a.H);var d=!(!a.state.isConnected()&&a.state.Ik());c=_.w(c,1,d);c=_.w(c,2,a.state.O);_.w(c,5,!!b)}a.O=new _.lwc(5E3,6E4);rwc(a)}};rwc=function(a){qwc(a);mwc(a);a.O&&(a.timeout=setTimeout(function(){return void rwc(a)},a.O.Ya()),_.UH(a.O))};
mwc=function(a,b){_.$h((a.ha?a.ha():_.Vh()).then(null,function(){return null}),function(){if(a.H){var c=_.B(Evc(a.H),3)||0,d=Evc(a.H);_.w(d,3,c+1)}swc(a,b)})};swc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Pe(new _.Btc)}).then(null,function(d){d=_.Rc(d);_.rsc(d.Fg)&&nwc(a,2);return _.Wh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.pK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
nwc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.vsc.get(b)),!0):!1};_.twc=function(){this.H={}};uwc=function(a,b,c){if(a.H[b])throw Error("af");a.H[b]=c};_.twc.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)}};vwc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};
_.wwc=function(a,b){this.H=a;this.V=b;this.O=_.xsc[_.Bj(a.Vf(),8,0)];this.W=_.xsc[_.Bj(a.Vf(),51,5)];this.nonce=_.ch()};
_.wwc.prototype.hc=function(a,b){if(b.zN)xwc(this,a,b),ywc(this,a,b);else if(11===a.Zm){if(b.nLb){var c=b.yD||_.D(this.H.Vf(),37,"");_.lj(a.uri,"key",c)}xwc(this,a,b);zwc(this,a,b)}else switch(a.uri=Awc(this,a.Zm,a.uri),a.Zm){case 1:zwc(this,a,b);xwc(this,a,b);break;case 0:b.ru||_.LH(_.YH(this.H))||_.Q(this.H,83,!1)&&_.lj(a.uri,"dsNonce",this.nonce);zwc(this,a,b);ywc(this,a,b);xwc(this,a,b);break;case 2:case 3:case 4:case 5:zwc(this,a,b);ywc(this,a,b);xwc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:zwc(this,
a,b);ywc(this,a,b);break;default:throw Error("bf`"+a.Zm);}};Bwc=function(a,b){var c=Awc(a,b,new _.ej);if(!c.H)throw Error("df");return _.hj(_.gj(_.fj(new _.ej,c.O),c.H),c.W).zi(_.ysc.has(b)?"/batch"+a.O:"/batch")};
Awc=function(a,b,c){var d=_.B(a.H.Vf(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.D(a.H.Vf(),62,"");break;case 8:a=_.B(a.H.Vf(),53);break;case 9:a=_.B(a.H.Vf(),56);break;case 10:a=_.B(a.H.Vf(),22);break;case 13:a=_.B(a.H.Vf(),55);break;case 12:a=_.B(a.H.Vf(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.ej(a);
_.Wd(c,"/")&&(c=c.slice(1));return new _.ej(a+"/"+c)};zwc=function(a,b,c){a=_.YH(a.H);c.ru||_.LH(a)||(b.headers.authorization=_.Lqc([{key:"u",value:_.RJ(a)}])||"",c=_.wI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
xwc=function(a,b,c){var d=_.YH(a.H),e=a.H.Vf(),f=c.T6a||_.Q(e,14,!1),h=11===b.Zm;if(c.S6a||_.B(e,13))(c=_.B(e,13))&&_.Wd(c,"email:")?_.lj(b.uri,"trace",c):c&&"trace:true"===c?_.lj(b.uri,"$trace","true"):c?_.lj(b.uri,"trace","token:"+c):_.lj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.lj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Bj(e,9,2)?"":",cospel:3:all,DriveService:3:all"));f&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
ywc=function(a,b,c){c.ru||_.LH(_.YH(a.H))?_.lj(b.uri,"key",_.D(a.H.Vf(),36,"")):(a=c.yD||_.D(a.H.Vf(),37,""),_.lj(b.uri,"key",a))};_.otc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.qtc=function(a){this.request=a;this.requestId=_.ch()};_.ytc=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};wtc=function(a,b){this.request=a;this.metadata=b};
xtc=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};_.AJ=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};Gtc=[_.KI,_.MI,_.LI,_.OI,_.NI,_.PI,_.QI,_.TI,_.VI,_.WI,_.XI,_.ZI,_.$I,_.oJ,_.sJ,_.uJ,_.wJ,_.xI,_.xJ,_.yJ,_.zJ,_.qtc,_.AJ];Cwc=[_.zI];Htc=[_.SF,_.vtc];Itc=[_.mJ,_.ZH,_.eD,_.BJ];Jtc=[_.nI,_.aJ,_.TF,_.zI,_.ptc];Ktc=[_.BJ,_.YF];Ltc=[_.YI,_.mtc,_.lJ,_.pJ,_.qJ,_.otc,_.AJ,xtc,wtc];
Dwc=function(a){return a instanceof _.nI||a instanceof _.BJ||"undefined"!=typeof _.qK&&a instanceof _.qK||a instanceof _.yJ||a instanceof _.WI||a instanceof _.PI||a instanceof _.TI||a instanceof _.xI&&_.EJ(a)};_.Ewc=function(a,b){this.H=b;this.d4={};this.aj=new Fuc;b=_.JI({fields:_.ie(a,28),yq:_.LH(_.YH(a))});this.Hb("SecondaryFields",b);this.Hb("SdkBackfillEnabled",!!_.Q(a,45,!1)+" (Include corpus cache: "+!!_.Q(a,46,!1)+")")};_.Ewc.prototype.Hb=function(a,b){this.d4[a]=Fwc(a,b)};
var Gwc=function(a,b){var c=a.d4[b];c||(c=Fwc(b,0,2),a.d4[b]=c);c.Hb(String(Number(c.Ya())+1))};_.Ewc.prototype.Fz=function(a){var b=_.Va(this.d4);this.H&&b.push(Fwc("CacheSize",this.H.zd()));b.push(Fwc("InitialViewDataLoaded",a));a=new _.jvc;_.Fj(a,1,b);return _.fi(a)};Fwc=function(a,b,c){var d=new _.hvc;_.w(d,1,a);_.w(d,4,c||1);d.Hb(String(b));d.Vl(_.Csc.get(a));return d};
_.Hwc=function(a,b,c){var d=new _.Rrc;_.w(d,2,"Pending...");b instanceof _.nI?_.Jj(d,3,_.pI,b):b instanceof _.BJ?_.Jj(d,4,_.pI,b):"undefined"!=typeof _.qK&&b instanceof _.qK?_.Jj(d,5,_.pI,b):b instanceof _.yJ?_.Jj(d,6,_.pI,b):b instanceof _.WI?_.Jj(d,7,_.pI,b):b instanceof _.PI?_.Jj(d,8,_.pI,b):b instanceof _.TI?_.Jj(d,9,_.pI,b):b instanceof _.xI&&_.Jj(d,10,_.pI,b);var e=Dtc(b),f=[];if(b instanceof _.LI)CJ(f,"ID",b.getId()),CJ(f,"Parent ID",b.xk());else if(b instanceof _.WI)CJ(f,"TD ID",b.getId());
else if(b instanceof _.nI)b=_.xvc(b.ld()),CJ(f,"Query",b);else if(b instanceof _.BJ)CJ(f,"Query","All");else if(b instanceof _.yJ)CJ(f,"TD ID",b.getId()),CJ(f,"Title",b.getTitle()),CJ(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.PI)CJ(f,"MimeType",b.getMimeType()),CJ(f,"Title",b.getTitle()),CJ(f,"Parents",_.ie(b,3)),CJ(f,"Convert",_.P(b,8)),CJ(f,"Request ID",b.ij()),CJ(f,"Parent Request IDs",_.ie(b,10)),CJ(f,"Revision Item ID",_.B(b,12)),CJ(f,"Pinned",_.P(b,8));else if(b instanceof _.QI)CJ(f,
"Title",b.getTitle());else if(b instanceof _.TI)CJ(f,"ID",b.getId());else if(b instanceof _.XI)CJ(f,"WS ID",b.getId());else if(b instanceof _.oJ)CJ(f,"Source ID",_.B(b,1)),CJ(f,"Destination Parent ID",_.B(b,2)),CJ(f,"validation token",_.B(b,4));else if(b instanceof _.xI){if(CJ(f,"ID",b.getId()),CJ(f,"Title",b.getTitle()),CJ(f,"Description",b.qf()),CJ(f,"Starred",_.P(b,4)),CJ(f,"Trashed",b.Qh()),CJ(f,"MimeType",b.getMimeType()),CJ(f,"Parents",_.ie(b,8)),CJ(f,"Parents to add",_.ie(b,9)),CJ(f,"Parents to remove",
_.ie(b,10)),CJ(f,"Restricted",_.P(b,11)),CJ(f,"Folder Color",b.Pi()),CJ(f,"Update Last Viewed",_.P(b,15)),CJ(f,"Subscribed",_.P(b,16)),CJ(f,"Available Offline",_.P(b,18)),CJ(f,"Wksp to add",_.ie(b,31)),CJ(f,"Wksp to remove",_.ie(b,32)),b=_.x(b,_.Bk,25))CJ(f,"Read Only",_.P(b,1)),CJ(f,"Reason",_.B(b,2))}else b instanceof _.zJ?(CJ(f,"WS ID",b.getId()),CJ(f,"Title",b.getTitle()),CJ(f,"State",b.getState())):b instanceof _.qtc&&CJ(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+e+(c?" ("+c+")":"")+
"\n"+f.join("\n"));a.aj.add(d);return d};_.Iwc=function(a,b){for(var c=new _.Fo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.Psc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};_.Ewc.prototype.bR=function(){return this.aj.jh()};_.rK=function(a){_.J.call(this,a)};_.K(_.rK,_.J);_.rK.prototype.ad=function(){return _.x(this,_.VA,1)};_.Jwc=function(a,b){return _.I(a,1,b)};_.rK.prototype.Vn=function(){return _.B(this,3)};
_.Kwc=function(a,b,c){_.oi.call(this,"Hb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.Kwc,_.oi);
_.Lwc=function(a,b){this.O=a;this.V=b;this.H=null};
var sK=function(a){_.yi.call(this);this.name=a};_.K(sK,_.yi);_.g=sK.prototype;_.g.T3=function(){};_.g.eFa=function(){};_.g.g1a=function(){};_.g.GMa=function(){};_.g.f1a=function(){};_.g.LF=function(){this.dispatchEvent(new _.oi("Ib"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var Mwc=function(a,b){sK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.O,"Bb",function(d){d.Oe()||c.LF()});this.Rc.listen(this.H,"pb",this.LF)};_.K(Mwc,sK);Mwc.prototype.max=function(){var a=this.O.Oe(),b=this.H.xB();return!a&&b?Infinity:0};Mwc.prototype.T3=function(){this.LF()};
var Nwc=function(a){sK.call(this,"Online");var b=this;this.connectionState=a;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.connectionState,[_.LB.yL,_.LB.Pga,_.LB.nU],function(){return b.LF()})};_.K(Nwc,sK);Nwc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};Nwc.prototype.T3=function(){this.LF()};
_.Owc=function(a,b){this.H=a;this.O=b};_.Pwc=function(a){return a.H instanceof _.pK?new Nwc(a.H.getState()):new Mwc(a.O,a.H)};_.Owc.prototype.Fj=function(){return this.H instanceof _.pK?this.H.getState():this.O};
var Rwc;_.Qwc=function(a,b,c){this.yK=c;this.O=!0;this.V=0;this.H=new _.TH(a,b,.5)};Rwc=function(a){return a.H.O+a.V};
_.tK=function(a,b){sK.call(this,"Backoff");this.H=a;this.O=b};_.K(_.tK,sK);_.tK.prototype.max=function(){return this.H.O?Infinity:0};_.tK.prototype.GMa=function(){var a=this.H;a.V=0;a.H.reset()};_.tK.prototype.f1a=function(a){var b=this;Swc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Ya(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.LF()},a),_.UH(this.H.H))};
var Swc=function(a){var b;return(a=null===(b=_.ia(a.CD))||void 0===b?void 0:b.response)?atc(_.Tca(a)):!1};_.tK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.Twc=function(a,b){sK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.K(_.Twc,sK);_.Twc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.Twc.prototype.T3=function(a){a>=this.O?this.LF():null==this.H&&Uwc(this)};_.Twc.prototype.eFa=function(a,b){0<b?Uwc(this):this.H=null};var Uwc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.LF.bind(a),a.V)};
_.uK=function(){this.aj=[]};_.g=_.uK.prototype;_.g.add=function(a,b){b?this.aj.unshift(a):this.aj.push(a);return!0};_.g.Csa=function(a){return _.sa(this.aj,0,a)};_.g.zd=function(){return this.aj.length};_.g.cancel=function(a){return _.xa(this.aj,function(b){return b.Dv.config.requestId===a?(b.ie.resolve(Etc(b.Dv.Iw)),!0):!1})};_.g.eK=function(){return _.xg(this.aj,function(a){return _.EJ(a.Dv.Iw)})};
var Vwc=function(){sK.call(this,"Immediate")};_.K(Vwc,sK);Vwc.prototype.max=function(){return Infinity};Vwc.prototype.T3=function(){this.LF()};
var Wwc=function(){sK.call(this,"One Request")};_.K(Wwc,sK);Wwc.prototype.max=function(){return 1};
_.vK=function(a){sK.call(this,"Parallel");this.limit=a;this.H=0};_.K(_.vK,sK);_.vK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.vK.prototype.T3=function(){this.H<this.limit&&this.LF()};_.vK.prototype.eFa=function(a){this.H+=a.length};_.vK.prototype.g1a=function(a){this.H-=a.length;this.H<this.limit&&this.LF()};
var Xwc=function(){_.yi.apply(this,arguments)};_.K(Xwc,_.yi);var Zwc=function(a,b){a.dispatchEvent(new Ywc(b))};Xwc.prototype.O=function(){};var Ywc=function(a){_.oi.call(this,"Jb");this.request=a};_.K(Ywc,_.oi);
_.wK=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ka=0;this.W=new Map;this.Rc=new _.jf(this);this.La(this.Rc);for(a=0;a<this.H.length;a++)this.Rc.listen(this.H[a],"Ib",this.f0a);for(a=0;a<this.O.length;a++)this.Rc.listen(this.O[a],"Jb",function(k){$wc(h,!0,k.request)});this.logName=_.ot("drive.ds.network.queue.Queue [%s]",f)};_.K(_.wK,_.yi);_.wK.prototype.add=function(a){return $wc(this,!1,{Dv:a,ie:_.Zh(),CD:[]})};
_.wK.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};_.wK.prototype.eK=function(){return this.V.eK()?!0:this.buckets.some(function(a){return a.eK()})};
var $wc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.dq(new _.Lc,"No queue bucket accepted request."),_.Wh(_.Rc(a));for(var d=axc(a),e=0;e<a.H.length;e++)a.H[e].T3(d);return c.ie.promise};_.g=_.wK.prototype;
_.g.f0a=function(){var a=axc(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].Csa(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.ka++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.qwb.bind(this,a[e]),this.pwb.bind(this,a[e]));e=axc(this);for(var f=0;f<this.H.length;f++)this.H[f].eFa(a,e);_.$h(_.fI(d).then(this.owb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.f0a.bind(this),0)};
_.g.qwb=function(a,b){var c=a.Dv.config;this.log(Dtc(a.Dv.Iw)+" request completed successfully. xd4: "+!(!c||!c.zN));this.H.forEach(function(d){return d.GMa()});this.O.forEach(function(d){return d.O(a)});a.ie.resolve(b)};
_.g.pwb=function(a,b){b=_.Rc(b);this.log(Dtc(a.Dv.Iw)+(" request failed with error: "+b.ha+"."));a.CD.push({response:b,jSb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].f1a(a);a.Dv.config.aFa||!this.O.some(function(d){return d.intercept(a)})?a.ie.reject(b):this.log(Dtc(a.Dv.Iw)+" encountered an error, but was intercepted to be retried.")};_.g.owb=function(a){axc(this);for(var b=0;b<this.H.length;b++)this.H[b].g1a(a)};
var axc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].zd()){b=a.buckets[c].zd();break}return b};_.wK.prototype.log=function(a){this.ha.info(this.logName,a)};
_.bxc=function(a,b,c,d){Xwc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Pj(a,21,1E3);this.ta=_.Pj(a,1,1);this.ma=function(){return new _.Qwc(_.Pj(a,63,1E3),_.Pj(a,64,3E5),_.Pj(a,65,10))}};_.K(_.bxc,Xwc);
_.bxc.prototype.intercept=function(a){var b=a.CD.length,c=0<b&&_.ia(a.CD).response||null;if(c){c=_.vI(c);if(2===c.zp())return cxc(this,a);if(_.rsc(c))return 2>=b?(Zwc(this,a),a=!0):a=!1,a;var d=c.hk();if(3===d||31===d||13===d||9===d)return dxc(this,a,b);if(atc(c))return b=Rwc(this.V),c=this.V,Rwc(c)<c.yK?(this.log("Backoff number "+b+" for a User Rate Limit error."),Zwc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var cxc=function(a,b){var c=exc(a,b),d=Rwc(c);if(Rwc(c)<c.yK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Oe()?(d=c.H.Ya(),_.n.setTimeout(function(){return Zwc(a,b)},d),_.UH(c.H)):(_.n.setTimeout(function(){return Zwc(a,b)}),c.V++),!0;a.H.delete(b);return!1},exc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},dxc=function(a,b,c){var d=a.ta;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return Zwc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.bxc.prototype.O=function(a){this.H.delete(a)};_.bxc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var fxc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.ssc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.EIb,d=avc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.CIb(_.HI(e),"reading data"))}},gxc=function(a){return fxc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var hxc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ja=c;this.W=d;this.Pa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.wa=this.ha=null;this.ie=_.Zh();this.finished=!1;this.Ba=this.Bu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Fz();a=_.ssc()&&a?_.B(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.jO="progress_"+this.requestId;h.jO=this.jO;this.ma=!!f.metadata};
hxc.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};hxc.prototype.start=function(){var a=this,b=new wtc(this.request.request,this.request.metadata),c=ixc(this);this.Ha.then(function(d){return d.Pe(b,c)}).then(function(d){a.ha=d.O;a.wa=d.H;a.Fa=d.V;jxc(a)},function(d){return void a.ie.reject(d)});return _.$h(this.ie.promise.then(function(d){kxc(a,d);return d},function(d){d=_.Rc(d);kxc(a,d.Fg);return _.Wh(d)}),function(){vwc(a.H,[a.jO])})};
var ixc=function(a){var b=_.cb(a.config);uwc(a.H,a.jO,Duc(function(){return void a.H.notify([a.requestId],0)}));return b};hxc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ie.resolve(Etc(this.request)),!0)};
var jxc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),lxc(a,4))},lxc=function(a,b){mxc(a).then(function(c){if(c){var d=nxc(a,c.blob.size);a.Ha.then(function(f){return f.Pe(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.XJ()&&(a.wa=f.XJ());f.MM()&&(a.Fa=f.MM());a.progress<a.fileSize?jxc(a):a.ie.resolve(f)},function(f){if(d.aFa)a.cancel();else{var h=_.vI(f);h.PBa()||h.rla()||a.ma?oxc(a,b,h,!1):gxc(c.blob).then(function(k){k=k?_.JEa.get(k)||
25:38;_.FI(h,k);oxc(a,b,h,38===h.zp(),38!==h.zp()&&25!==h.zp())},function(){})}})}else{var e=_.Rc(_.FI(_.dq(new _.Lc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ie.reject(e)}})},oxc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.ofa(f);!e&&0<b?(a.Bu++,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+"."));lxc(a,b)},a.Pa*Math.pow(1.5,f))):a.ie.reject(_.Rc(c))},mxc=function(a,b){return a.ma&&a.V?_.Vh(a.V):pxc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return mxc(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 xtc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.B(a.request.request,12)||
void 0);return a.V})},pxc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.jQ?a.request.jQ(b,a.O):_.Vh(_.Rsc(a.request.file,b,b+a.O))},nxc=function(a,b){var c=_.cb(a.config);c.JRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;vwc(a.H,[a.jO]);uwc(a.H,a.jO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},kxc=function(a,b){b.HMa(3);b.ofa(a.Bu);b.XJ()||b.Jca(a.wa);b.MM()||b.Aca(a.Fa)};
_.qxc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.qxc.prototype.create=function(a,b){return new hxc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.rxc=function(a){this.O=a;this.H={}};_.rxc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Dv.Iw instanceof _.ytc)b.push(sxc(this,a[c].Dv));else{var d=_.dq(new _.Lc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.Rc(d)))}return b};_.rxc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.rxc.prototype.eK=function(){return!_.Za(this.H)};
var sxc=function(a,b){var c=a.O.create(b.Iw,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.$h(d,function(){delete a.H[e]})};
_.txc=function(a,b){return new _.wK(b,a,[new Vwc],[new _.uK],[],"immediate")};_.uxc=function(a,b,c,d,e){return new _.wK(e,a,[_.Pwc(d),new _.tK(c,e),new Wwc],[new _.uK],[new _.bxc(b,c,d.Fj(),e)],"connected")};_.vxc=function(a,b,c,d,e,f,h){h=void 0===h?_.Pj(b,10,50):h;return new _.wK(e,a,[_.Pwc(d),new _.Twc(h,_.Pj(b,12,10)),new _.vK(3*h),new _.tK(c,e)],[new _.uK],[new _.bxc(b,c,d.Fj(),e)],f)};_.wxc=function(a,b,c){return new _.wK(c,a,[new _.vK(_.Pj(b,46,1))],[new _.uK],[],"resumable_upload")};
_.xxc=function(a,b,c,d,e,f,h,k){this.eI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.xxc.prototype.Pe=function(a,b){return yxc(this,a,b).then(null,function(c){c=_.Rc(c);var d=c.Fg;Ftc(a)||_.fq(d);return _.Wh(c)})};
var yxc=function(a,b,c){c=void 0===c?{}:c;var d=a.eI.validate(b);if(d)return _.Wh(_.Rc(d));var e=a.ma.translate(b);e instanceof _.Lc?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 _.Vh(d).then(function(){if(e instanceof _.Lc)return _.Wh(_.Rc(e));if(Array.isArray(e)){var f=e.map(function(h){return zxc(a,b,h,c)});return _.fI(f)}return zxc(a,b,e,c)},function(f){return _.Wh(_.Rc(f))})},
zxc=function(a,b,c,d){var e=Axc(a,c);if(!e)return b=_.FI(_.dq(new _.Lc,"Failed to choose a queue for server request."),18),_.Wh(_.Rc(b));if(e===a.H[7]||e===a.H[8])d.zN=!0;d=e.add({Iw:c,config:d});(_.EJ(b)||_.EJ(c))&&_.$h(d,function(){var f=a.W;f.O()||(f.H&&(f.H.resolve(),f.H=null),f.V())});b=a.ha.apply(c,d);d.then(function(f){a.ka.apply(c,f)},function(){});return b};_.xxc.prototype.cancel=function(a){return _.Ta(this.H,function(b){return b.cancel(a)})};
var Axc=function(a,b){var c,d=!1;b instanceof _.aJ?d=!(null===(c=_.x(b,_.TF,2))||void 0===c||!_.P(c,7)):b instanceof _.TF?d=!!_.P(b,7):b instanceof _.nI&&(d=(d=b.ld())&&!!_.P(d,46));return(b instanceof _.Btc||b instanceof _.DI&&_.P(b,9))&&a.H[1]?a.H[1]:b instanceof _.ytc&&a.H[5]?a.H[5]:d&&Mtc(b,a.O)&&a.H[7]?a.H[7]:Mtc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.aJ||b instanceof _.TF)&&a.H[6]?a.H[6]:(d||Cwc.includes(b.constructor))&&a.H[3]?a.H[3]:Gtc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var Bxc=function(a){this.H=a};Bxc.prototype.build=function(a,b){var c="====="+_.ch()+"=====",d=a[0].Zm,e=b.every(function(l){return l.zN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=Bwc(this.H,a[0].Zm);_.lj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=Cxc[d],h=Dxc[d]||{},h["content-type"]=_.ot('multipart/mixed; boundary="%s"',c),d=Exc[d],k=new _.ej("");a=Fxc(this,a,b,c,e);return{Zm:f,body:a,headers:h,method:d,uri:k}};
var Fxc=function(a,b,c,d,e){for(var f=ktc(Gxc[b[0].Zm]||{}),h="",k=0;k<b.length;k++){e&&zwc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=Awc(p,q.Zm,q.uri);switch(q.Zm){case 0:case 5:ywc(p,q,r);xwc(p,q,r);break;case 2:zwc(p,q,r);ywc(p,q,r);var v=q,z=_.B(p.H.Vf(),57);v.headers.host=_.pj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;xwc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.Zm);default:throw Error("bf`"+
q.Zm);}p=l;q=p.uri.clone();_.fj(q,"");_.gj(q,"");_.hj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+ktc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},Hxc={},Cxc=(Hxc[0]=1,Hxc[2]=3,Hxc),Ixc={},Exc=(Ixc[0]="POST",Ixc[2]="PUT",Ixc[12]="POST",Ixc),Jxc={},Kxc={},Dxc=(Kxc[2]=(Jxc["x-goog-upload-protocol"]="batch",Jxc),Kxc),Lxc={},Mxc={},Nxc={},Oxc={},Gxc=(Oxc[0]=(Lxc["content-type"]="application/http",Lxc["content-transfer-encoding"]="binary",Lxc),Oxc[12]=
(Mxc["content-type"]="application/http",Mxc["content-transfer-encoding"]="binary",Mxc),Oxc[2]=(Nxc["content-type"]="application/http",Nxc),Oxc);
var Pxc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,Qxc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Rxc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.aj=new Map};Rxc.prototype.add=function(a,b){var c="DEFAULT";b.zN&&(c=Bwc(this.V,a.Zm).toString());this.aj.has(c)||this.aj.set(c,[]);c=this.aj.get(c);if(1<=c.length&&!b.zN&&!Cxc[a.Zm])return a=_.dq(new _.Lc,"Unsupported batch API: "+a.Zm),_.Wh(_.Rc(a));var d=_.Zh();c.push({request:a,config:b,ie:d});return d.promise};
Rxc.prototype.send=function(){for(var a={},b=_.m(this.aj.entries()),c=b.next();!c.done;a={ira:a.ira},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{Sxc(this,d)}catch(f){var e=_.HI(f);e=_.eq(_.dq(new _.Lc,"Error executing XHR: "+e.message),e.stack);a.ira=_.Rc(e);d.forEach(function(h){return function(k){k.ie.reject(h.ira)}}(a));this.aj.delete(c)}}};
var Sxc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.tCa&&!c.config.zN){var d=!1;if(Cxc[c.request.Zm]){var e={Zm:c.request.Zm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.hc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){Txc(a,c);return}}}Uxc(a,b)},Txc=function(a,b){var c=b.ie;a.W.nh(b.request,b.config).then(function(d){c.resolve(d);Vxc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},Uxc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.nh(a.ha.build(c,d),{tCa:!0,zN:d.every(function(e){return e.zN})}).then(function(e){e.headers=_.Usc(e.headers);var f=Qxc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Nc("Could not extract batch boundary.",_.FI(_.eq(new _.Lc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Wd(_.Bia(h[0]),f)&&_.Me(h[1]))h=_.Bia(h[0]).substring(f.length);else throw new _.Nc("Could not parse batch response; did not begin and end with boundary.",
_.FI(_.eq(new _.Lc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,C=f[l],G=p&&p.uri,H=C.split("\r\n\r\n");if(2>H.length)v=new _.Nc("Individual batch response contained too few parts.",_.FI(_.eq(new _.Lc,C),17));else{var L=H[1].split("\r\n");if(z=Pxc.exec(L[0])){p=_.eh(z[1]);z=z[2];L.shift();A=_.cb(A);for(var O=Object,T=O.assign,U={},ca=0;ca<L.length;ca++){var ba=_.Kia(L[ca],":",1);ba&&2===
ba.length&&(U[(0,_.zg)(ba[0])]=(0,_.zg)(ba[1]))}L=_.Usc(U);T.call(O,A,L);try{v=_.Me(_.bh(H[2]))?void 0:JSON.parse(H[2])}catch(ma){}v=(p=_.Zsc(p,z,A,C,v,void 0,void 0,G&&G.toString()))?_.Rc(p):{headers:A,text:C,json:v||void 0}}else v=new _.Nc("Could not extract HTTP status code and text.",_.FI(_.eq(new _.Lc,C),16))}r.call(q,v)}return k}).then(null,function(e){e=_.Rc(e);return _.upc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ie,l=e[h];l instanceof _.Lc||l instanceof _.Nc?
(l=_.Rc(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Vxc(a,b[0])})},Vxc=function(a,b){var c=b.request.Zm;b=!b.config.ru&&_.oa(Wxc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=nwc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.vj(),a.H=null)}else a.O&&b&&a.O.wa()};
Rxc.prototype.handleError=function(a,b){a=_.Tca(b);if(2===a.zp()){if(this.H)return _.pwc(this.H),!0}else if(_.rsc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.owc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var Wxc=[0,2,4,7,8];
var Xxc=function(){_.bj.apply(this,arguments)};_.K(Xxc,_.bj);Xxc.prototype.getAllResponseHeaders=function(){return _.Bia(_.bj.prototype.getAllResponseHeaders.call(this))};
var Yxc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
Yxc.prototype.nh=function(a,b){var c=this;try{this.W.hc(a,b);var d=new Xxc;d.jC=!0;var e=b.requestId||"",f=_.Zh();d.listen("complete",function(){var h=b.tCa,k=4===a.Zm;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.oma(d),text:d.wl()};if(!h)try{l.json=_.KH(d)}catch(p){}h=_.Zsc(d.Cb(),_.lma(d),l.headers,l.text,l.json,d.O,_.pma(d),String(d.ta),k);d.dispose();h?f.reject(_.Rc(h)):f.resolve(l)});e&&b.jO&&!b.zN&&(this.O[e]=d,this.H[e]=b,d.Fb=!0,d.listen("uploadprogress",
function(h){h.lengthComputable&&c.V.notify([b.jO],b.JRa?h.loaded/h.total:h.loaded/h.total/2)}),b.JRa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.jO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Wh(_.Rc(h))}};Yxc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.aFa=!0,b.abort(),!0):!1};
_.Zxc=function(a,b,c,d,e,f,h){this.O=a;this.wa=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new Bxc(this.O);this.W=new Yxc(this.O,this.wa)};_.g=_.Zxc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Dv;this.V.push(e);b.push(this.Ba.CE(e,a[d].CD));c.push(Dwc(e.Iw)?_.Hwc(this.ma,e.Iw):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.Rc(_.Zsc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Rxc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={Oqa:e.Oqa},k++){e.Oqa=a[k].Dv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Oqa)}}(e));d.push(l)}Promise.allSettled(b).then(function(){h.send()});
b=[];for(e=0;e<a.length;e++)k=a[e].Dv,l=d[e].then(this.Vnb.bind(this,k.Iw,c[e],a[e].CD)).then(null,function(p){return Promise.reject(_.Rc(p))}),l.then(this.IMa.bind(this,k),this.IMa.bind(this,k)),b.push(l);return b};_.g.Vnb=function(a,b,c,d){a=this.ta.CE(a,d,c);b&&(c=a.Ad?a.Ad():[],_.Iwc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.eK=function(){return this.V.some(function(a){return _.EJ(a.Iw)})};_.g.IMa=function(a){_.wa(this.V,a)};
_.$xc=function(){};_.$xc.prototype.execute=function(){return null};
var ayc=function(){};
var byc=function(a,b){this.H=a;this.O=b};
_.cyc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};
var dyc=function(a){return"drive#fileList"===a.kind};
var eyc;eyc=function(a){this.H=a};_.xK=function(a,b){if(!_.Da(b))throw new _.Nc("Expected an object, but got a "+_.vga(b)+".",_.GI(11,void 0,8));var c=b.kind;if(!c)throw new _.Nc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.GI(11,void 0,21));if(!a.includes(c))throw new _.Nc("Expected "+a.join(" or ")+" but got a "+c+".",_.GI(11,void 0,9));};_.yK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.fyc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=new _.zk;c=_.w(c,1,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);c=_.w(c,2,a.canComment);c=_.w(c,3,a.canCopy);b=_.w(c,4,b);b=_.w(b,5,a.canDownload);b=_.w(b,6,a.canEdit);b=_.w(b,10,a.canManageMembers);b=_.w(b,11,a.canManageVisitors);b=_.w(b,20,a.canMoveItemIntoTeamDrive);b=_.w(b,17,a.canMoveTeamDriveItem);b=_.Stc(b,a.canReadTeamDrive);b=_.w(b,7,a.canRemoveChildren);b=_.w(b,12,a.canRename);b=_.w(b,13,a.canRenameTeamDrive);
b=_.w(b,8,a.canShare);b=_.w(b,9,a.canTrash);b=_.w(b,21,a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.w(b,30,a.canMoveItemWithinTeamDrive);b=_.w(b,31,a.canMoveItemOutOfTeamDrive);b=_.w(b,32,a.canMoveChildrenWithinTeamDrive);b=_.w(b,33,a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);
b=_.w(b,49,a.canSetMissingRequiredFields);b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.w(b,42,a.canShareChildFiles);b=_.w(b,43,a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.w(b,45,a.canMoveItemWithinDrive);b=_.w(b,46,a.canMoveItemOutOfDrive);b=_.w(b,47,a.canMoveChildrenWithinDrive);b=_.w(b,48,a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);b=_.w(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.w(b,52,a.canCreateDecryptedCopy);b=_.w(b,
53,a.canCreateEncryptedCopy);b=_.w(b,54,void 0===a.canAddEncryptedChildren?a.canAddChildren:a.canAddEncryptedChildren);return _.w(b,55,a.canBlockOwner)};_.zK=function(a,b){_.xK(["drive#user"],b);var c=_.Qtc(_.Rtc(_.Otc(1).Nb(b.permissionId),b.id).$c(b.displayName),b.emailAddress);b.picture&&c.Jn(b.picture.url);_.mI(a.H)&&_.Qtc(c,b.emailAddressFromAccount||b.emailAddress);_.Ptc(c,a.zf(b.id));_.w(c,9,b.domain);return c};eyc.prototype.zf=function(a){if(a)return _.RJ(_.YH(this.H))==a};
var gyc,lyc,tyc,zyc,oyc,nyc,qyc,syc,uyc,iyc,wyc,vyc,xyc,yyc,Byc,Cyc,Ayc,ryc;gyc=function(a,b){this.H=a;this.O=b};
_.jyc=function(a,b,c){var d=new _.rK,e=new _.VA,f=e.KA;_.xK(["drive#fileList","drive#file"],b);var h=[];if("drive#file"===b.kind)(a=_.hyc(a,b))&&h.push(a);else if(dyc(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.hyc(a,k[l]);h.push(p)}e=f.call(e,h);if(dyc(b)){_.w(e,8,b.incompleteSearch);_.xK(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=_.m(h.spellCorrections);for(a=q.next();!a.done;a=q.next()){h=[];a=_.m(a.value.spellFragments);for(k=a.next();!k.done;k=a.next())k=k.value,l=(new _.Dsb).Ac(iyc.get(k.status)),
l=_.w(l,1,k.original),k=_.w(l,3,k.correction),h.push(k);a=new _.Hsb;h=_.Fj(a,1,h);f.push(h)}q=new _.Jsb;_.Fj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.Fsb;_.Dj(r,1,f)}q||r?(f=new _.Ksb,q&&_.I(f,1,q),r&&_.I(f,2,r),r=f):r=null;_.I(e,7,r);_.xK(["drive#fileList"],b);r=[];f=_.m(b.items||[]);for(q=f.next();!q.done;q=f.next())q=q.value,h=q.id,!h||"1"!=q.searchResultSource&&"3"!=q.searchResultSource||r.push(h);_.Dj(e,18,r)}d=_.Jwc(d,e);c=_.Wsc(c);c=_.w(d,2,c);dyc(b)&&b.nextPageToken&&_.w(c,
3,b.nextPageToken);return c};
lyc=function(a,b,c,d,e){_.xK(["drive#adminFile","drive#file","drive#revision"],b);var f=_.$uc(new _.DJ,c);"drive#adminFile"===b.kind?(_.xK(["drive#adminFile"],b),c=(new _.Gk).Nb(b.id),b.parentId&&_.MJ(c,[b.parentId]),_.fuc(c,b.teamDriveId),f.setItem(c),_.$uc(f,c.getId())):"drive#file"===b.kind?(b=_.hyc(a,b),f.setItem(b),c||_.$uc(f,b.getId())):"drive#revision"===b.kind&&(b=_.kyc(a,b),_.I(f,4,b));f.Jca(_.Vsc(d));f.Aca(_.Wsc(d));(d=(d=d&&_.Usc(d))&&d["x-server-object-version"])&&e&&(e=(new _.XJ).Nb(d),
_.I(f,4,e));f.Ac(1);return f};_.myc=function(a,b){return _.$uc(new _.DJ,a).Ac(1).Jca(_.Vsc(b)).Aca(_.Wsc(b))};
_.pyc=function(a,b){_.xK(["drive#permission"],b);var c=_.Ptc(_.Rtc(_.Otc(nyc.get(b.type)).Nb(b.id),b.userId),a.H.zf(b.userId));c=_.w(c,4,b.withLink);c=_.Qtc(c.$c(b.name).Jn(b.photoLink),b.emailAddress);c=_.w(c,9,b.domain);c=_.w(c,10,b.deleted);c=_.w(c,12,b.audienceId);c=_.w(c,13,b.customerId);_.mI(a.O)&&c.$c(b.nameIfNotUser);b.role&&(a=oyc.get(b.role),2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6),_.w(c,6,a));return c};
_.hyc=function(a,b){_.xK(["drive#file"],b);var c=b.title,d=(new _.Gk).Nb(b.id),e=[];if(b&&b.parents)for(var f=_.m(b.parents),h=f.next();!h.done;h=f.next())e.push(h.value.id);c=_.buc(_.$F(_.MJ(d,e).setTitle(c),b.mimeType),b.alternateLink);c=_.w(c,44,b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.Vl(b.description);_.w(c,26,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,
14,Number(b.fileSize));_.w(c,30,b.copyable);b.labels&&(d=b.labels,c.Lv(d.starred),_.w(c,6,d.hidden),c.Kn(d.trashed),_.w(c,8,d.restricted),_.w(c,9,d.viewed));_.w(c,10,_.yK(b.createdDate));_.w(c,69,_.yK(b.serverCreatedDate));_.w(c,11,_.yK(b.modifiedDate));_.w(c,12,_.yK(b.modifiedByMeDate));_.w(c,13,_.yK(b.lastViewedByMeDate));_.w(c,23,_.yK(b.sharedWithMeDate));_.w(c,62,_.yK(b.Ebc));_.w(c,70,_.yK(b.recency));b.recencyReason&&(d=qyc.get(b.recencyReason)||0,_.w(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,
f=0;f<e.length;f++)(h=_.zK(a.H,e[f]))&&d.push(h);_.$tc(c,d);b.lastModifyingUser&&(d=_.zK(a.H,b.lastModifyingUser),_.auc(c,d));b.userPermission&&(d=oyc.get(b.userPermission.role),_.s7b(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.JJ).qh(e.width).oh(e.height),d=_.w(d,4,e.rotation),e.date&&(e=e.date,f=new _.Wrc,f.setMilliseconds(0),ryc.parse(e,f),_.w(d,1,f.getTime())),_.I(c,27,d));null!=b.folderColor&&_.cuc(c,Number(b.folderColor));_.w(c,31,b.subscribed);_.w(c,45,b.fileExtension);_.Dj(c,
50,b.folderFeatures);_.w(c,36,b.flaggedForAbuse);_.w(c,53,b.gplusMedia);_.w(c,46,b.primarySyncParentId||void 0);_.w(c,35,b.hasChildFolders);b.source&&(_.w(c,42,b.source.client_service_id),_.w(c,43,b.source.value));b.sharingUser&&(d=_.zK(a.H,b.sharingUser),_.duc(c,d));b.sources?_.Dj(c,56,b.sources):b.gplusMedia&&_.Dj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.npc[h]&&(h=_.vf(new _.uf,_.npc[h]),e.push(h));c.vA(e)}_.w(c,63,b.ownedByMe);_.w(c,29,b.shareable);
b.sourceAppId&&_.w(c,61,b.sourceAppId);_.w(c,74,b.changed);null!=b.recursiveFileSize&&_.w(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.w(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++){var k=d[f];k.id&&k.type&&(h=(new _.Sna).Nb(k.id),k=syc.get(k.type),h=_.w(h,2,k),e.push(h))}_.Fj(c,83,e)}b.capabilities&&_.NJ(c,_.fyc(b.capabilities));b.permissionsSummary&&_.guc(c,tyc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);
b.templateData&&(d=b.templateData,e=(new _.KJ).Vl(d.description),f=uyc.get(d.galleryState),e=_.w(e,3,f),d=_.Dj(e,2,d.category),_.I(c,86,d));_.fuc(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.zK(a.H,b.creator),_.huc(c,d));_.iuc(c,b.primaryDomainName);_.juc(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&_.kuc(c,_.zK(a.H,b.trashingUser));c.Nca(_.yK(b.trashedDate));b.version&&_.w(c,75,Number(b.version));
_.w(c,98,b.hasVisitorPermissions);_.w(c,102,b.hasAppsScriptAddOn);if(d=b.pairedDocType)d=vyc.get(d),_.w(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.LJ).qh(d.width).oh(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.I(c,103,e));_.Dj(c,104,b.detectors);_.w(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,h=_.Utc(new _.Bk,f.readOnly),f=_.w(h,2,f.reason),d.push(f);_.Fj(c,125,
d)}if(d=b.publishingInfo)_.w(c,118,d.published),_.w(c,119,d.publishedUrl);_.Dj(c,120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.w(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Una).Nb(f.approvalId).Ac(wyc.get(f.status)),d.push(f);_.Fj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.coa,e=_.w(e,1,d.targetId),
e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&(f=xyc.get(d.targetLookupStatus)||0,_.w(e,4,f)),d.targetFile&&(d=_.hyc(a,d.targetFile),_.I(e,5,d)),_.I(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.IJ,f=yyc.get(d.encryptionState),e=_.w(e,1,f),d.decryptionMetadata&&(d=zyc(d.decryptionMetadata),_.I(e,2,d)),_.I(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Vtc,e=_.w(e,2,d.securityUpdateEligible),e=_.w(e,3,d.securityUpdateEnabled),
d=_.w(e,5,d.securityUpdateExplicitlySet),_.I(c,139,d));_.w(c,140,b.resourceKey);_.Dj(c,135,b.authorizedAppIds);_.luc(c,b.customerId);_.w(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=Ayc.get(b.abuseNoticeReason)||0,_.w(c,145,b));_.itc(c);_.mI(a.O)&&_.euc(c,5);return c};
_.kyc=function(a,b){_.xK(["drive#revision"],b);var c=(new _.XJ).Nb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.yK(b.modifiedDate));c=_.w(c,4,b.pinned);c=_.w(c,5,b.downloadUrl);c=_.w(c,7,b.originalFilename);null!=b.fileSize&&_.w(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.zK(a.H,b.lastModifyingUser),_.I(c,9,a));b.decryptionMetadata&&(b=zyc(b.decryptionMetadata),_.I(c,10,b));return c};
tyc=function(a,b){return _.Ytc(_.Xtc(_.Wtc(new _.Yna,b.entryCount),(b.visibility||[]).map(function(c){var d=_.Otc(nyc.get(c.type));d=_.w(d,9,c.domain);d=_.w(d,4,c.withLink).Nb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=oyc.get(c.role);2==e&&c.additionalRoles&&"commenter"==c.additionalRoles[0]&&(e=4);_.w(d,6,e)}return d})),(b.selectPermissions||[]).map(function(c){return _.pyc(a,c)}))};
zyc=function(a){var b=a.wrappedKey;var c=new _.Ttc;b=b?_.Rqc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);b=Byc.get(a.aes256GcmChunkSize);c=_.w(c,3,b);b=Cyc.get(a.keyFormat);c=_.w(c,6,b);return _.w(c,4,a.jwt)};oyc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);nyc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);qyc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
syc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);uyc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);iyc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);wyc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);vyc=new Map([["docs",1],["sheets",2],["slides",3]]);xyc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);yyc=new Map([["unencrypted",1],["encrypted",2]]);Byc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
Cyc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);Ayc=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",8]]);ryc=new _.QVa("yyyy:MM:dd HH:mm:ss");
var Dyc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var Gyc;_.Eyc=function(a){this.ka=a;this.V=new eyc(a);this.lF=new gyc(this.V,a)};_.Eyc.prototype.CE=function(a,b,c){c=void 0===c?[]:c;try{return Fyc(this,a,b,c)}catch(d){_.II(d)}};
var Fyc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.PI)return _.AK(a,b,c);if(b instanceof _.YI)return Gyc(0,c,d);if(b instanceof _.TF||b instanceof _.aJ){if(!c.json)throw _.BK();return _.jyc(a.lF,c.json,c.headers)}if(b instanceof _.AJ)return _.AK(a,b,c);if("undefined"!=typeof _.ttc&&b instanceof _.ttc){if(!c.json)throw _.BK();a=c.json;return new _.cyc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.Hyc&&b instanceof _.Hyc){if(!c.json)throw _.BK();
return _.kyc(a.lF,c.json)}if(b instanceof _.pJ)return Gyc(b.ld(),c,d);if(b instanceof xtc){if(b.V){if(!c.json)throw _.BK();a=lyc(a.lF,c.json,null,c.headers,!!b.revisionId)}else a=_.myc(null,c.headers);return a}if(b instanceof wtc){a=_.Usc(c.headers);b=a.location;if(!b)throw a=_.FI(new _.Lc,10),new _.Nc("No upload session URI included.",a);return new Dyc(b,_.Vsc(a),_.Wsc(a))}if(b instanceof _.Btc)return new ayc;throw new _.Nc("FromXhrConverter: Unsupported request type.",new _.Lc);};
_.Eyc.prototype.ha=function(){return null};Gyc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new byc(_.aba(b.text),c.length):new byc(new Uint8Array(_.Ema(b.text)),c.length)};_.AK=function(a,b,c){if(!c.json){if(b instanceof _.xI)return _.myc(_.Iyc(b));throw _.BK();}var d=!1;b instanceof _.AJ&&(d=!!_.B(b.request,12));return lyc(a.lF,c.json,_.Iyc(b),c.headers,d)};_.BK=function(){var a=_.FI(new _.Lc,11);return new _.Nc("FromXhrConverter: JSON required, but none found",a)};
_.Iyc=function(a){return a.getId?a.getId():a.qc?a.qc():null};
var Myc,Nyc,Pyc,Jyc,Qyc,Kyc;
Myc=function(a,b){var c={};_.Me(_.bh(a.getTitle()))||(_.B(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.qc()&&_.wfa(a.getMimeType())&&b)){var d=b.o$(),e=b.H(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.wj(b.V()),h.kaclsId=b.wa(),h.aes256GcmChunkSize=Jyc[d?d.H():0],h.keyFormat=Kyc[e?e.H():0],h);c.clientEncryptionDetails=f}_.Lyc(c,_.ie(a,3));(b=a.qc())&&(c.id=b);_.B(a,16)&&(c.embeddingParent=_.B(a,16));a.K1()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.K1());"number"===typeof _.B(a,26)&&(c.modifiedDate=_.vuc(_.mvc(_.B(a,26)||0)));return c};_.Lyc=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)}}};Nyc={};_.Oyc=(Nyc[1]="active",Nyc[2]="archived",Nyc);Pyc={};Jyc=(Pyc[0]="unset",Pyc[1]="default",Pyc[2]="small",Pyc[3]="size16kb",Pyc);Qyc={};Kyc=(Qyc[0]="unsetKeyFormat",Qyc[1]="tinkKeyset",Qyc[2]="tinkAesGcmKey",Qyc);
var Tyc=function(a,b,c){return(a.jQ?a.jQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return fxc(d)}).then(function(d){return Ryc(a,b,d,c)},Syc)},Ryc=function(a,b,c,d){var e=!!_.B(a.request,12),f="files";e&&(f+="/"+_.B(a.request,12));f=new _.ej(f);_.lj(f,"uploadType","multipart");_.lj(f,"supportsTeamDrives",!0);_.lj(f,"pinned",!!_.Q(a.request,13,!1));null!=_.P(a.request,8)&&_.lj(f,"convert",_.P(a.request,8));_.lj(f,"fields",_.dtc({fields:_.ZJ(b).filter(function(q){return 194!=q}),yq:!1}));
jtc(f,a.request.se());var h=Myc(a.request,a.metadata),k=_.ch();b={};b=(b["content-type"]=_.ot('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());_.HJ(d,_.Ab(a.request,_.wl,28),[],null,b);a="--"+k;a=a+"\r\n"+ktc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+ktc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Zm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},Syc=function(a){if(a instanceof _.CIb){var b=new _.Lc;_.dq(b,"fs.Error: "+a.message);a=(a=a.name)?_.JEa.get(a)||25:38;_.FI(b,a);b=_.Rc(b)}else b=_.HI(a);return Promise.reject(b)};
_.CK=function(a,b,c,d){this.H=a;this.Gg=b;this.O=c;this.Zf=d;this.ka=_.FJ(a)||new _.nuc};_.CK.prototype.CE=function(a,b){try{return a.Iw instanceof _.AJ?Tyc(a.Iw,this.Gg,this.H):Promise.resolve(this.V(a.Iw,a.config,b))}catch(c){return c instanceof _.Nc?a=c.Fg:(a=new _.Lc,_.dq(a,"Error converting XHR: "+c.message),_.eq(a,c.stack),_.FI(a,4)),Promise.reject(a)}};
_.CK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.PI){h=(e=!!_.B(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.B(a,12),k.pinned=!!_.Q(a,13,!1));null!=_.P(a,8)&&(k.convert=_.P(a,8));k.fields=_.dtc({fields:this.Lg(c),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)});e=Myc(a);f["content-type"]="application/json";var r=a.se();p=!0;_.YJ(k);_.Uyc(this.H,k);_.HJ(this.H,_.Ab(a,_.wl,28),_.ie(a,3).concat([_.B(a,16),a.K1(),a.qc()]),this.O,f)}else if(a instanceof _.YI||a instanceof
_.pJ)a instanceof _.pJ?(l=a.ld(),_.yj(a,2)&&(q="bytes="+_.B(a,2)+"-",_.yj(a,3)&&(q+=_.B(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.B(l,2)&&(k.revisionId=_.B(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.HJ(this.H,[_.Bl((new _.wl).Nb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.aJ||a instanceof _.TF){if(a instanceof _.aJ)q=_.B(a,1),a=_.x(a,_.TF,2);else if(a instanceof _.TF)q=0,_.oK(this.Zf,190196159);else throw Error("ag");p=a.ln()[q];q="files/"+
p;r=_.ya(this.Lg(c),this.Lg(c,a.H()));_.Fa(r);k.fields=_.dtc({fields:r,yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)});_.YJ(k);_.Vyc(this.H,k);_.Wyc(this.H,k);this.W(p,k);r=a.se();p=!0;_.P(a,7)&&(b.tCa=!0);_.HJ(this.H,_.Ab(a,_.wl,11),a.ln(),this.O,f)}else if("undefined"!=typeof _.ttc&&a instanceof _.ttc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.Hyc&&a instanceof _.Hyc)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 xtc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var v=a.H;b=a.O;f["content-range"]=a.V?_.ot("bytes %d-%d/%d",v,b,b+1):_.ot("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof wtc?(d=2,h=(e=!!_.B(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.B(a.request,12)),k.uploadType="resumable",k.pinned=!!_.Q(a.request,13,!1),null!=_.P(a.request,8)&&(k.convert=_.P(a.request,8)),k.fields=_.dtc({fields:this.Lg(c).filter(function(z){return 194!=
z}),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)}),_.YJ(k),e=Myc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.HJ(this.H,[],_.ie(a.request,3),this.O,f),r=a.request.se(),p=!0):a instanceof _.Btc?(q="about",k.fields="kind",r=a.H,p=!0):_.Xyc(a);p&&_.Yyc(c,k);0!=d||l||r&&_.B(r,1)||_.oK(this.Zf,74438989);return _.Zyc(this,d,q,k,f,h,r,e,v)};
_.Zyc=function(a,b,c,d,e,f,h,k,l){c=new _.ej(c);[10,12,13].includes(b)||jtc(c,h);_.Q(a.ka,11,!1)&&(a=a.H.Oi())&&(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,_.mj(c,a,h);return{Zm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.Vyc=function(a,b){_.Q(a.Vf(),23,!1)&&(b.includePermissionsForView="published")};_.CK.prototype.W=function(){};
_.Wyc=function(a,b){_.Q(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.Uyc=function(a,b){_.Q(a,3,!1)&&(b.enforceSingleParent=!0)};_.Yyc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).jSb):b.retryCount=0};_.CK.prototype.Lg=function(a,b){b||(b=_.ZJ(this.Gg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return Yuc.includes(c)}));return b};_.Xyc=function(a){var b=_.FI(new _.Lc,4);throw new _.Nc("ToXhrConverter: Unsupported request type: "+Dtc(a),b);};
_.DK=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.wa=e;this.ta=f;this.aj={};this.ha={};this.Zf=null;_.$e(this,function(){h.bG()})};_.K(_.DK,_.yi);_.DK.prototype.oQ=function(){return _.eI()};
_.DK.prototype.upload=function(a,b,c,d){Gwc(this.V,"UploadTotalCount");var e=a.ij();if(e&&this.aj[e])throw new _.Nc("Upload requested with a duplicate request ID.");var f=_.ie(a,10);if(f&&f.length){if(1!==f.length)throw new _.Nc("Multi-parented uploads are not supported.");var h=this.aj[f[0]];if(!h)throw new _.Nc("The parent upload request must precede this request.");}!_.B(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);e||(e=this.oQ(),_.w(a,9,e));a=a.clone();f=$yc(this,e);this.aj[e]={request:a,
file:b,jf:f,BM:!1,Bu:0,success:!1,zE:!1,children:[],metadata:c,Bla:void 0,jQ:d};h?azc(this,e,h):this.ka(e);return f.$m()};
var $yc=function(a,b){var c=new _.ai;c.Wf(_.gb(a.Fa,b),_.gb(a.Ha,b),a);return c},azc=function(a,b,c,d){var e=a.aj[b];c.children.push(b);_.Fa(c.children);c.jf.then(function(f){if(1===f.Cb()&&(f=f.qc(),_.ie(e.request,3).push(f),_.bI(e.request,10),!c.zE||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.jf.Gd(_.lI(f)?f:Error(f))})};
_.DK.prototype.Fa=function(a,b){Gwc(this.V,"UploadSuccessCount");a=this.aj[a];a.success=1===b.Cb();(b=a.Bla)&&!a.zE&&(Nuc(Puc(Dvc(b),a.Bu),!0),b.vj())};_.DK.prototype.Ha=function(a,b){var c=_.x(this.O,_.EI,58);c&&_.Q(c,1,!1)&&(this.ha[a]=b);Gwc(this.V,"UploadFailureCount");c=this.aj[a];(a=c.Bla)&&!c.zE&&(Nuc(Puc(Dvc(a),c.Bu),!1),b=(c=b&&b.Fg)&&c.hk(),c=c&&c.zp(),b?Ouc(Dvc(a),bzc.get(b)||13):c&&Ouc(Dvc(a),czc.get(c)||0),a.vj())};
_.DK.prototype.ka=function(a){var b=this.aj[a];if(!b.BM){b.BM=!0;a=this.aj[a];var c=a.request,d=_.x(this.O,_.EI,58);d&&_.Q(d,4,!1)&&(d=c.getTitle().match(dzc))&&(!d[1]||a.Bu<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.ie(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Fz())?_.B(c,1)||0:0;d=b.file&&b.file.size||c;c=this.O.Vf();var e=_.Pj(c,33,1048576);e=b.file&&b.file&&d>e?2:b.file?1:3;if(this.ta&&3!==e){var f=this.ta.H(106012);f&&(b.Bla=f,f=Dvc(f),f=_.w(f,1,2===e?2:1),f=_.w(f,4,!!b.metadata),
f=_.w(f,5,!!_.B(a,12)),d=_.w(f,6,d),_.w(d,7,_.Pj(c,32,1073741824)))}switch(e){case 2:b.file&&ezc(this,new _.ytc(a,b.file,b.jQ,b.metadata),b.jf,a.ij());break;case 1:b.file&&(c=b.jf,d=b.file,e=b.metadata,b=b.jQ,f=_.x(this.O,_.muc,2),ezc(this,new _.AJ(a,d,b,f&&_.OJ(f)?e:void 0),c,a.ij()));break;case 3:ezc(this,a,b.jf,a.ij());break;default:throw new _.Nc("Upload type ${uploadType} not supported.");}}};
var ezc=function(a,b,c,d){uwc(a.Ba,d,a.ma.bind(a,d));_.$h(a.W.then(function(e){return e.Pe(b,{requestId:d})}).then(null,function(e){return fzc(a,b,e)}),function(){vwc(a.Ba,[d])}).then(c.callback,c.Gd,c)},fzc=function(a,b,c){var d=_.Rc(c),e=b instanceof _.AJ&&b.request.qc()||"";c=d.Fg;if(e&&8===c.hk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.VF(new _.TF,[e]);return _.gi(a.W.then(function(h){return h.Pe(f)}).then(function(h){h=h.ad().Ad()[0];var k=b.request;if(h&&!h.Qh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.$uc((new _.DJ).setItem(h),e).Ac(1);a.log("No matching item found for: "+e);return _.Wh(d)}))}return _.hi(d)};_.g=_.DK.prototype;
_.g.cancel=function(a){var b=this,c=this.aj[a];if(c&&(!c.zE||0!==c.children.length))if(c.zE=!0,c.jf.Yf())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.Bla;d&&(Ouc(Nuc(Puc(Dvc(d),c.Bu),!1),2),d.vj());var e=_.Zh();c.BM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.BM=!0,c.jf.callback(Etc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.bG=function(){var a=this;_.Qa(this.aj,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.aj[f]){var h=[];do{h.push(f);var k=(_.ie(b.aj[f].request,10)||[])[0];if(k){var l=b.aj[k];if(l.success||!l.jf.Yf()||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);_.ja(h,function(p){var q=b.aj[p];q.Bu++;if(!e[p])if(!q.jf.Yf()||q.success)e[p]=new _.Nc("Unable to retry request.");else{var r=(_.ie(q.request,10)||[])[0];e[r]instanceof _.Nc?
e[p]=e[r]:(q.jf=$yc(b,p),q.BM=!1,q.zE=!1,(r=r?b.aj[r]:null)?azc(b,p,r,!0):d.push(p),e[p]=q.jf.$m())}})}else e[f]=new _.Nc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.ai?f:_.hi(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.ld=function(a){return this.aj[a]};var dzc=/^uploadTestFailMe(\.[1-9])?$/,czc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),bzc=new Map([[3,14]]);

_.u();

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


_.u();

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


_.u();

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


_.u();

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

_.gzc=function(a,b){return _.w(a,1,b)};_.hzc=function(a,b){return _.I(a,1,b)};_.izc=function(a,b){return _.w(a,2,b)};_.jzc=function(a,b){return _.I(a,3,b)};

_.u();

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


_.u();

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

var kzc,lzc;kzc=[1];_.EK=function(a){_.J.call(this,a,-1,kzc)};_.K(_.EK,_.J);_.EK.prototype.H=function(){return _.ie(this,1)};_.FK=function(a){_.J.call(this,a,-1,lzc)};_.K(_.FK,_.J);_.FK.prototype.Cb=function(){return _.B(this,1)};_.FK.prototype.Ac=function(a){return _.w(this,1,a)};_.FK.prototype.ui=function(){return _.Ab(this,_.Gk,2)};_.mzc=function(a,b){return _.Fj(a,2,b)};_.FK.prototype.xq=function(a,b){return _.Mj(this,2,a,_.Gk,b)};_.FK.prototype.Rf=function(){return _.B(this,4)};
_.nzc=function(a,b){return _.w(a,4,b)};lzc=[2];

_.u();

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

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

_.u();

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

var ozc;_.pzc=function(a){return _.Se(a).Lg(_.Q(a.get(_.Po),19,!1)?ozc:_.Pe)};ozc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,210,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

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

var qzc,rzc,szc,tzc,uzc,wzc,xzc,yzc,zzc,Azc,Czc,Dzc,Ezc,Fzc,Gzc,JK,Lzc,Mzc,KK,LK,Nzc,Ozc,Qzc,Rzc,Szc,Tzc,Uzc,Wzc,Xzc,Yzc,Zzc,$zc,aAc,bAc,dAc,fAc,mAc,oAc,rAc,sAc,vAc,yAc,PK,zAc,AAc,BAc,CAc,DAc,EAc,FAc,GAc,HAc,KAc,JAc,NAc,PAc,RAc,TAc,XAc,ZAc,$Ac,aBc,bBc,cBc,dBc,hBc,jBc,kBc,lBc,HK,mBc,nBc,Izc,Hzc,Jzc,Kzc,KCc,TK,VK,QCc,aDc,dDc,eDc,fDc,iDc,jDc,IAc,MDc,NDc,ODc,PDc,QDc,SDc,TDc,UDc,WK,VDc,XK,WDc,XDc,YDc,ZDc,$Dc,aEc,YK,bEc,cEc,dEc,eEc,fEc,gEc,ZK,sEc,REc,TEc,UEc,WEc,XEc,YEc,ZEc,bFc,dFc,nFc,wGc,iAc,xGc,yGc,
zGc,CGc,JGc,KGc,$Kc,aLc,iLc,sLc,BLc,JLc,PLc,WLc,YLc,cMc,iMc;qzc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.ie(a,3),Convert:_.P(a,8),ID:a.ij()};var b=[];_.Qa(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
rzc=function(a){var b=[];b.push(qzc(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.Bu&&b.push("# of retries by client: "+a.Bu);var d="";a.BM?a.jf.Yf()?a.jf.Wf(function(){d="Completed successfully."},function(e){d=e instanceof _.bi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
szc=function(a,b,c,d,e,f){var h=_.ot("Drive Upload Report: %d/%d failed",_.Ua(f),_.Ua(e));a=a.Vf();d.push("Batch query interval: "+_.Pj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Pj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Pj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Pj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Pj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Qa(e,function(p){l.push(rzc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.Xuc(b)});_.Qa(f,function(p,q){var r=k.push;q=e[q].request;q=_.ot('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.ij()||"");var v=p.Fg;r.call(k,{name:q,content:p.toString()+"\n"+(v?_.B(v,4):"No detail.")})});return{title:h,description:d,WP:k,Dd:152391,a9:c,f0:361003}};tzc=function(a){return Array.prototype.concat.apply([],arguments)};uzc=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.ua(a,b,-(c+1)),!0):!1};
wzc=function(a,b){var c=new _.EK,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.y7a.get(b.tv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}vzc(c,[].concat(_.Jd(d)));return c};
xzc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Kea:c.Kea},d=a.next())if(d=d.value){c.Kea=new Map;[].concat(_.Jd(_.Hk(d)),[d.ym(),d.Jr(),d.aq()]).forEach(function(p){return function(q){q&&p.Kea.set(HK(q),q)}}(c));for(var e=[],f=_.m(c.Kea.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(HK(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.vk(h))}b.push(d.getId()+","+d.tv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};yzc=function(a){var b=new _.Fo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.JI(a,!0,"file"));a.h7&&(b.append(",teamDriveId,teamDrive("),b.append(a.h7),b.append(")"));b.append(")");return b.toString()};zzc=function(a){var b=new _.Fo;b.append("kind,nextPageToken,items(");b.append(_.JI(a,!0));b.append("),incompleteSearch");a.h7&&(b.append(","),b.append(a.h7));return b.toString()};
Azc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.x(d,_.IJ,138),k=_.x(d,_.Bk,111),l=_.x(d,_.JJ,27),p=_.x(d,_.Vtc,139),q=d.wf(),r=d.Oh(),v=_.x(d,_.LJ,103);switch(e){case 227:_.xb(d,144);break;case 228:_.xb(d,145);break;case 74:_.Gj(d,83);break;case 188:_.xb(d,137);break;case 149:_.bI(d,128);break;case 148:_.Gj(d,127);break;case 138:_.xb(d,126);break;case 184:_.bI(d,135);break;case 76:f&&_.xb(f,1);break;case 223:f&&_.xb(f,54);break;case 208:f&&_.xb(f,48);break;case 185:f&&
_.xb(f,40);break;case 224:f&&_.xb(f,55);break;case 213:f&&_.xb(f,50);break;case 156:f&&_.xb(f,39);break;case 61:f&&_.xb(f,2);break;case 216:f&&_.xb(f,52);break;case 217:f&&_.xb(f,53);break;case 77:f&&_.xb(f,4);break;case 134:f&&_.xb(f,34);break;case 147:f&&_.xb(f,38);break;case 81:f&&_.xb(f,10);break;case 82:f&&_.xb(f,11);break;case 114:f&&_.xb(f,27);break;case 133:f&&_.xb(f,33);break;case 202:f&&_.xb(f,47);break;case 132:f&&_.xb(f,32);break;case 101:f&&_.xb(f,20);break;case 201:f&&_.xb(f,46);break;
case 131:f&&_.xb(f,31);break;case 200:f&&_.xb(f,45);break;case 130:f&&_.xb(f,30);break;case 93:f&&_.xb(f,17);break;case 191:f&&_.xb(f,44);break;case 146:f&&_.xb(f,37);break;case 90:f&&_.xb(f,16);break;case 78:f&&_.xb(f,7);break;case 186:f&&_.xb(f,41);break;case 222:f&&_.xb(f,51);break;case 85:f&&_.xb(f,12);break;case 137:f&&_.xb(f,36);break;case 209:f&&_.xb(f,49);break;case 79:f&&_.xb(f,8);break;case 189:f&&_.xb(f,42);break;case 190:f&&_.xb(f,43);break;case 80:f&&_.xb(f,9);break;case 135:f&&_.xb(f,
35);break;case 102:f&&_.xb(f,21);break;case 69:_.xb(d,74);break;case 194:h&&_.Ej(h,2);break;case 193:h&&_.xb(h,1);break;case 1004:_.xb(d,108);break;case 136:_.Gj(d,125);break;case 115:k&&_.xb(k,1);break;case 116:k&&_.xb(k,2);break;case 34:_.xb(d,30);f&&_.xb(f,3);break;case 9:_.xb(d,10);break;case 91:_.Ej(d,91);break;case 43:_.xb(d,42);_.xb(d,43);break;case 187:_.xb(d,136);break;case 26:_.xb(d,24);break;case 108:_.bI(d,104);break;case 41:_.xb(d,40);f&&_.xb(f,5);break;case 42:_.xb(d,41);break;case 1005:_.Gj(d,
117);break;case 59:f&&_.xb(f,6);break;case 28:_.xb(d,26);break;case 44:_.xb(d,45);break;case 13:_.xb(d,14);break;case 48:_.xb(d,36);break;case 38:_.xb(d,34);break;case 49:_.bI(d,50);break;case 51:_.xb(d,53);break;case 104:_.xb(d,102);break;case 39:_.xb(d,35);break;case 87:_.xb(d,76);break;case 100:_.xb(d,98);break;case 72:_.xb(d,78);break;case 5:_.xb(d,6);break;case 20:_.xb(d,21);break;case 21:break;case 29:l&&_.xb(l,1);break;case 31:l&&_.xb(l,3);break;case 92:l&&_.xb(l,4);break;case 30:l&&_.xb(l,
2);break;case 16:_.Ej(d,17);break;case 12:_.xb(d,13);break;case 211:p&&_.xb(p,2);break;case 212:p&&_.xb(p,3);break;case 220:p&&_.xb(p,5);break;case 157:r&&_.Gj(r,8);break;case 3:_.xb(d,4);break;case 11:_.xb(d,12);break;case 10:_.xb(d,11);break;case 50:_.xb(d,49);_.xb(d,51);_.Ej(d,81);break;case 18:_.xb(d,19);break;case 95:_.xb(d,93);break;case 58:_.xb(d,63);break;case 14:_.Gj(d,15);break;case 103:_.xb(d,101);break;case 1:_.bI(d,2);break;case 96:_.xb(d,94);break;case 1003:_.Gj(d,107);break;case 75:_.Ej(d,
85);break;case 94:_.xb(d,92);break;case 45:_.xb(d,46);break;case 124:_.xb(d,118);break;case 125:_.xb(d,119);break;case 1002:_.Ej(d,100);break;case 32:_.xb(d,28);break;case 67:_.xb(d,70);break;case 68:_.xb(d,71);break;case 73:_.xb(d,79);break;case 71:_.xb(d,77);break;case 221:r&&_.xb(r,9);break;case 210:_.xb(d,140);break;case 7:_.xb(d,8);break;case 122:_.Ej(d,109);break;case 66:_.xb(d,69);break;case 33:_.xb(d,29);break;case 24:_.xb(d,22);break;case 25:_.xb(d,23);break;case 46:_.Ej(d,47);break;case 192:q&&
_.xb(q,6);break;case 159:q&&_.Ej(q,5);break;case 154:q&&_.xb(q,1);break;case 158:q&&_.xb(q,4);break;case 155:q&&_.xb(q,3);break;case 52:_.bI(d,56);break;case 56:_.xb(d,61);break;case 55:_.Gj(d,60);break;case 4:_.xb(d,5);break;case 35:_.xb(d,31);break;case 57:_.xb(d,62);break;case 83:_.xb(d,72);break;case 84:_.Ej(d,86);break;case 19:_.xb(d,20);_.xb(d,44);_.xb(d,90);break;case 2:_.xb(d,3);break;case 6:_.xb(d,7);break;case 98:_.xb(d,96);break;case 97:_.Ej(d,95);break;case 27:_.xb(d,25);break;case 70:_.xb(d,
75);break;case 107:v&&_.xb(v,3);break;case 106:v&&_.xb(v,2);break;case 105:v&&_.xb(v,1);break;case 8:_.xb(d,9);break;case 126:_.bI(d,120);break;default:throw Error("Pc`"+e);}}};Czc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Jd(a),_.Jd(Bzc)));a=[].concat(_.Jd(_.ydb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Azc(b[d],a)}};
Dzc=function(a,b){var c=a.getCapabilities()||new _.zk,d=_.x(a,_.IJ,138),e=_.x(a,_.Bk,111),f=_.x(a,_.JJ,27),h=_.x(a,_.Vtc,139),k=a.wf(),l=a.Oh(),p=_.x(a,_.LJ,103);switch(b){case 227:return null!=_.P(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.bu().length;case 188:return null!=_.P(a,137);case 149:return 0<_.ie(a,128).length;case 148:return 0<a.oza().length;case 138:return null!=a.j9();case 184:return 0<_.ie(a,135).length;case 76:return null!=_.Ak(c);case 223:return null!=_.P(c,54);case 208:return null!=
_.P(c,48);case 185:return null!=_.P(c,40);case 224:return null!=_.P(c,55);case 213:return null!=_.P(c,50);case 156:return null!=_.P(c,39);case 61:return null!=_.P(c,2);case 216:return null!=_.P(c,52);case 217:return null!=_.P(c,53);case 77:return null!=_.P(c,4);case 134:return null!=_.P(c,34);case 147:return null!=_.P(c,38);case 81:return null!=_.P(c,10);case 82:return null!=_.P(c,11);case 114:return null!=_.P(c,27);case 133:return null!=_.P(c,33);case 202:return null!=_.P(c,47);case 132:return null!=
_.P(c,32);case 101:return null!=_.P(c,20);case 201:return null!=_.P(c,46);case 131:return null!=_.P(c,31);case 200:return null!=_.P(c,45);case 130:return null!=_.P(c,30);case 93:return null!=_.P(c,17);case 191:return null!=_.P(c,44);case 146:return null!=_.P(c,37);case 90:return null!=_.Je(c);case 78:return null!=_.P(c,7);case 186:return null!=_.P(c,41);case 222:return null!=_.P(c,51);case 85:return null!=_.P(c,12);case 137:return null!=_.P(c,36);case 209:return null!=_.P(c,49);case 79:return null!=
_.P(c,8);case 189:return null!=_.P(c,42);case 190:return null!=_.P(c,43);case 80:return null!=_.P(c,9);case 135:return null!=_.P(c,35);case 102:return null!=_.P(c,21);case 69:return null!=_.P(a,74);case 194:return null!=d&&null!=_.x(d,_.Ttc,2);case 193:return null!=d&&null!=_.B(d,1);case 1004:return null!=_.P(a,108);case 136:return 0<a.W0().length;case 115:return null!=e&&null!=_.P(e,1);case 116:return null!=e&&null!=_.B(e,2);case 34:return null!=_.P(a,30)||null!=_.P(c,3);case 9:return null!=a.OC();
case 91:return null!=a.aq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=a.Xi();case 26:return null!=a.qf();case 108:return 0<_.ie(a,104).length;case 41:return null!=_.P(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.Lk(a).length;case 59:return null!=_.P(c,6);case 28:return null!=a.JI();case 44:return null!=_.B(a,45);case 13:return null!=a.SL();case 48:return null!=_.P(a,36);case 38:return null!=a.Pi();case 49:return 0<_.ie(a,50).length;case 51:return null!=_.P(a,
53);case 104:return null!=_.P(a,102);case 39:return null!=a.aka();case 87:return null!=_.Ik(a);case 100:return null!=_.P(a,98);case 72:return null!=_.B(a,78);case 5:return null!=_.P(a,6);case 20:return null!=a.ef();case 21:return null!=a.getId();case 29:return!(!f||null==_.B(f,1));case 31:return!(!f||null==_.B(f,3));case 92:return!(!f||null==_.B(f,4));case 30:return!(!f||null==f.De());case 16:return null!=a.ym();case 12:return null!=a.iz();case 211:return null!=h&&null!=_.P(h,2);case 212:return null!=
h&&null!=_.P(h,3);case 220:return null!=h&&null!=_.P(h,5);case 157:return!(!l||!_.Ab(l,_.Ek,8));case 3:return null!=a.getMimeType();case 11:return null!=a.hB();case 10:return null!=a.wq();case 50:return null!=_.P(a,49)||null!=_.P(a,51)||null!=a.Om();case 18:return null!=a.Bp();case 14:return 0<_.Hk(a).length;case 95:return null!=a.El();case 58:return null!=_.P(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.rk().length;case 96:return null!=_.P(a,94);case 1003:return 0<_.Kk(a).length;case 75:return null!=
a.Zv();case 94:return null!=a.$M();case 45:return null!=a.Cw();case 124:return null!=_.P(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.Jk(a);case 32:return null!=a.Tu();case 67:return null!=a.UJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.A1();case 221:return null!=l&&null!=_.P(l,9);case 210:return null!=_.Mk(a);case 7:return null!=a.T6();case 122:return null!=_.IK(a);case 66:return null!=_.B(a,69);case 33:return null!=_.P(a,29);case 24:return null!=
a.sj();case 25:return null!=a.ty();case 46:return null!=a.Jr();case 192:return null!=k&&null!=_.P(k,6);case 159:return null!=k&&null!=_.ne(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.qe(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.ie(a,56).length;case 55:return 0<a.qB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.TA();case 35:return null!=_.P(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.wc();case 84:return null!=_.x(a,
_.KJ,86);case 2:return null!=a.getTitle();case 19:return null!=a.jz()||null!=_.P(a,44)||null!=_.B(a,90);case 6:return null!=a.Qh();case 98:return null!=a.$v();case 97:return null!=a.dD();case 27:return null!=a.To();case 70:return null!=a.Yi();case 107:return null!=p&&null!=_.B(p,3);case 106:return null!=p&&null!=_.B(p,2);case 105:return null!=p&&null!=p.De();case 8:return null!=_.P(a,9);case 126:return 0<_.ie(a,120).length;default:throw Error("Qc`"+b);}};
Ezc=function(a,b){return b.every(function(c){return Dzc(a,c)})};Fzc=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)})};Gzc=function(a,b){var c=new Set(b.concat(_.ctc));return a.filter(function(d){return!c.has(d)})};
JK=function(a,b,c){var d,e;b=b.clone();var f=b.getCapabilities();c=_.m(c);for(var h=c.next();!h.done;h=c.next())if(h=h.value,Dzc(b,h))if(_.Cdb.has(h)){if(f){var k=a.getCapabilities()||new _.zk;_.NJ(a,k);switch(h){case 76:_.w(k,1,_.Ak(f));break;case 223:_.w(k,54,_.P(f,54));break;case 208:_.w(k,48,_.P(f,48));break;case 185:_.w(k,40,_.P(f,40));break;case 224:_.w(k,55,_.P(f,55));break;case 213:_.w(k,50,_.P(f,50));break;case 156:_.w(k,39,_.P(f,39));break;case 61:_.w(k,2,_.P(f,2));break;case 216:_.w(k,
52,_.P(f,52));break;case 217:_.w(k,53,_.P(f,53));break;case 77:_.w(k,4,_.P(f,4));break;case 134:_.w(k,34,_.P(f,34));break;case 147:_.w(k,38,_.P(f,38));break;case 81:_.w(k,10,_.P(f,10));break;case 82:_.w(k,11,_.P(f,11));break;case 114:_.w(k,27,_.P(f,27));break;case 133:_.w(k,33,_.P(f,33));break;case 202:_.w(k,47,_.P(f,47));_.w(k,32,_.P(f,32));break;case 132:_.w(k,32,_.P(f,32));break;case 101:_.w(k,20,_.P(f,20));break;case 201:_.w(k,46,_.P(f,46));break;case 131:_.w(k,31,_.P(f,31));break;case 200:_.w(k,
45,_.P(f,45));break;case 130:_.w(k,30,_.P(f,30));break;case 93:_.w(k,17,_.P(f,17));break;case 191:_.w(k,44,_.P(f,44));break;case 146:_.w(k,37,_.P(f,37));break;case 90:_.Stc(k,_.Je(f));break;case 78:_.w(k,7,_.P(f,7));break;case 186:_.w(k,41,_.P(f,41));break;case 222:_.w(k,51,_.P(f,51));break;case 85:_.w(k,12,_.P(f,12));break;case 137:_.w(k,36,_.P(f,36));break;case 209:_.w(k,49,_.P(f,49));break;case 79:_.w(k,8,_.P(f,8));break;case 189:_.w(k,42,_.P(f,42));break;case 190:_.w(k,43,_.P(f,43));break;case 80:_.w(k,
9,_.P(f,9));break;case 135:_.w(k,35,_.P(f,35));break;case 102:_.w(k,21,_.P(f,21));break;case 34:_.w(a,30,_.P(b,30));_.w(k,3,_.P(f,3));break;case 41:_.w(a,40,_.P(b,40));_.w(k,5,_.P(f,5));break;case 59:_.w(k,6,_.P(f,6))}}}else if(_.Ddb.has(h)){var l=_.x(b,_.IJ,138);if(l)switch(k=_.x(a,_.IJ,138)||new _.IJ,_.I(a,138,k),h){case 194:h=_.x(l,_.Ttc,2);_.I(k,2,h);break;case 193:_.w(k,1,_.B(l,1))}}else if(_.Edb.has(h)){if(k=_.x(b,_.Bk,111))switch(l=_.x(a,_.Bk,111)||new _.Bk,_.I(a,111,l),h){case 115:_.Utc(l,
_.P(k,1));break;case 116:_.w(l,2,_.B(k,2))}}else if(_.Fdb.has(h)){if(k=_.x(b,_.JJ,27))switch(l=_.x(a,_.JJ,27)||new _.JJ,_.I(a,27,l),h){case 29:_.w(l,1,_.B(k,1));break;case 31:l.oh(_.B(k,3));break;case 92:_.w(l,4,_.B(k,4));break;case 30:l.qh(k.De())}}else if(_.Gdb.has(h)){if(k=_.x(b,_.Vtc,139))switch(l=_.x(a,_.Vtc,139)||new _.Vtc,_.I(a,139,l),h){case 211:_.w(l,2,_.P(k,2));break;case 212:_.w(l,3,_.P(k,3));break;case 220:_.w(l,5,_.P(k,5))}}else if(_.Hdb.has(h)){if(l=b.wf())switch(k=a.wf()||new _.coa,
_.I(a,132,k),h){case 192:_.w(k,6,_.P(l,6));break;case 159:h=_.ne(l);_.I(k,5,h);break;case 154:_.w(k,1,_.B(l,1));break;case 158:_.w(k,4,_.qe(l));break;case 155:_.w(k,3,_.B(l,3))}}else if(_.Idb.has(h))switch(k=b.Oh(),h){case 157:k&&(h=a.Oh()||new _.aoa,Hzc(a,h),Izc(h,_.Ab(k,_.Ek,8)));break;case 221:k&&(h=a.Oh()||new _.aoa,Hzc(a,h),_.w(h,9,_.P(k,9)))}else if(_.Jdb.has(h)){if(k=_.x(b,_.LJ,103))switch(l=_.x(a,_.LJ,103)||new _.LJ,_.I(a,103,l),h){case 107:_.w(l,3,_.B(k,3));break;case 106:l.oh(_.B(k,2));
break;case 105:l.qh(k.De())}}else switch(h){case 227:_.w(a,144,_.P(b,144));break;case 228:_.w(a,145,_.B(b,145));break;case 74:h=b.bu();_.Fj(a,83,h);break;case 188:_.w(a,137,_.P(b,137));break;case 149:h=_.ie(b,128);_.Dj(a,128,h);break;case 148:h=b.oza();_.Fj(a,127,h);break;case 138:_.w(a,126,b.j9());break;case 184:h=_.ie(b,135);_.Dj(a,135,h);break;case 69:_.w(a,74,_.P(b,74));break;case 1004:_.w(a,108,_.P(b,108));break;case 136:h=b.W0();_.Fj(a,125,h);break;case 9:_.w(a,10,b.OC());break;case 91:_.huc(a,
b.aq());break;case 43:_.w(a,42,_.B(b,42));_.w(a,43,_.B(b,43));break;case 187:_.luc(a,b.Xi());break;case 26:a.Vl(b.qf());break;case 108:h=_.ie(b,104);_.Dj(a,104,h);break;case 42:_.w(a,41,_.B(b,41));break;case 1005:h=_.Lk(b);_.Fj(a,117,h);break;case 28:_.w(a,26,b.JI());break;case 44:_.w(a,45,_.B(b,45));break;case 13:_.w(a,14,b.SL());break;case 48:_.w(a,36,_.P(b,36));break;case 38:_.cuc(a,b.Pi());break;case 49:h=_.ie(b,50);_.Dj(a,50,h);break;case 51:_.w(a,53,_.P(b,53));break;case 104:_.w(a,102,_.P(b,
102));break;case 39:_.w(a,35,b.aka());break;case 87:_.w(a,76,_.Ik(b));break;case 100:_.w(a,98,_.P(b,98));break;case 72:_.w(a,78,_.B(b,78));break;case 5:_.w(a,6,_.P(b,6));break;case 20:h=b.ef();_.w(a,21,h);break;case 21:a.Nb(b.getId());break;case 16:_.auc(a,b.ym());break;case 12:_.w(a,13,b.iz());break;case 3:_.$F(a,b.getMimeType());break;case 11:_.w(a,12,b.hB());break;case 10:_.w(a,11,b.wq());break;case 50:_.w(a,49,_.P(b,49));_.w(a,51,_.P(b,51));h=b.Om();_.I(a,81,h);break;case 95:_.juc(a,b.El());break;
case 18:_.buc(a,b.Bp());break;case 58:_.w(a,63,_.P(b,63));break;case 14:_.$tc(a,_.Hk(b));break;case 1:_.MJ(a,b.rk());break;case 96:_.w(a,94,_.P(b,94));break;case 103:_.w(a,101,_.B(b,101));break;case 1003:Jzc(a,_.Kk(b));break;case 75:_.guc(a,b.Zv());break;case 94:_.iuc(a,b.$M());break;case 45:_.w(a,46,b.Cw());break;case 124:_.w(a,118,_.P(b,118));break;case 125:_.w(a,119,_.B(b,119));break;case 1002:h=_.Jk(b).clone();(null===(d=_.Jk(a))||void 0===d?0:_.P(d,3))&&_.w(h,3,!0);(null===(e=_.Jk(a))||void 0===
e?0:_.P(e,4))&&_.w(h,4,!0);_.I(a,100,h);break;case 32:_.w(a,28,b.Tu());break;case 67:_.w(a,70,b.UJ());break;case 68:_.w(a,71,_.B(b,71));break;case 73:_.w(a,79,_.B(b,79));break;case 71:_.w(a,77,b.A1());break;case 210:_.w(a,140,_.Mk(b));break;case 7:_.w(a,8,b.T6());break;case 122:Kzc(a,_.IK(b));break;case 66:_.w(a,69,_.B(b,69));break;case 33:_.w(a,29,_.P(b,29));break;case 24:_.w(a,22,b.sj());break;case 25:_.w(a,23,b.ty());break;case 46:_.duc(a,b.Jr());break;case 52:h=_.ie(b,56);_.Dj(a,56,h);break;case 56:_.w(a,
61,_.B(b,61));break;case 55:a.vA(b.qB());break;case 4:a.Lv(b.TA());break;case 35:_.w(a,31,_.P(b,31));break;case 57:_.w(a,62,_.B(b,62));break;case 83:_.fuc(a,b.wc());break;case 84:h=_.x(b,_.KJ,86);_.I(a,86,h);break;case 98:a.Nca(b.$v());break;case 97:_.kuc(a,b.dD());break;case 19:_.w(a,20,b.jz());_.w(a,44,_.P(b,44));_.w(a,90,_.B(b,90));break;case 2:a.setTitle(b.getTitle());break;case 6:a.Kn(b.Qh());break;case 27:_.s7b(a,b.To());break;case 70:h=b.Yi();_.w(a,75,h);break;case 8:_.w(a,9,_.P(b,9));break;
case 126:h=_.ie(b,120);_.Dj(a,120,h);break;default:throw Error("Rc`"+h);}};Lzc=function(a,b){var c=_.nz[a];return b.filter(function(d){return!c||!c.has(d)})};Mzc=function(a,b,c){a=Lzc(c,a);return Fzc(b,a,_.ctc)};KK=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};LK=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&KK(a)?(a=a.wf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};
Nzc=function(a){var b=a&&a.getId()||null;a&&KK(a)&&(a=(a=a.wf())&&_.B(a,1))&&(b=a);return b};Ozc=function(a){return!!_.P(a,31)&&!_.P(a,94)};Qzc=function(a){return Pzc.some(function(b){return Dzc(a,b)})};Rzc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(b.tv())})};Szc=function(a){return Rzc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
Tzc=function(a,b){var c={};a=_.Ra(a,function(d){return!!d});b=_.Ra(b,function(d){return!!d});_.Qa(a,function(d,e){var f=b[e];f?_.Oj(d,f)||(d=_.dEa(4).setItem(f),c[e]=d):(d=_.dEa(2).setItem(d),c[e]=d)});_.Qa(b,function(d,e){a[e]||(d=_.dEa(1).setItem(d),c[e]=d)});return c};Uzc=function(a,b){return _.Ua(a)!==_.Ua(b)||!_.Za(Tzc(a,b))};_.Vzc=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};
Wzc=function(a,b){var c=_.Usc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};Xzc=function(a,b){return 0<=b?!a||a<=b:!0};Yzc=function(a,b){var c=a.Om();c||(c=new _.Vna,b&&_.I(a,81,c));return c};Zzc=function(a){if(LK(a))_.GK(Yzc(a,!0),!0);else if(LK(a,!0)){var b=a.wf();if(b=b&&_.ne(b))_.GK(Yzc(b,!0),!0),_.GK(Yzc(a,!0),!0)}};$zc=function(a){return!!a.Om()&&!LK(a)};
aAc=function(a){var b=[];_.Ka(a,function(c){if(3!=c.tv()){if(null!=_.P(c,49)||null!=_.P(c,51)||null!=c.Om())c=c.clone(),_.xb(c,49),_.xb(c,51),_.Ej(c,81);b.push(c)}});return b};bAc=function(a,b){if(b){var c=[];_.P(b,3)&&c.push("folder");var d=_.ppc()&&4===b.getType()?"title_natural":_.Trc[b.getType()];b=_.Vrc[b.Xf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
dAc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.J?a[b]=c.Gc():c&&c instanceof _.gK?a[b]=c.Gc(function(d){return d?d.Gc():null}):c&&c instanceof cAc&&(a[b]=c.Gc())}};fAc=function(a){var b=a.slice(0),c=new Set(b);eAc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
mAc=function(a,b,c){var d=_.x(a,gAc,66);if(d){var e=_.TJ(a),f=_.wI(_.YH(a));a=new _.ej(_.B(d,1));var h=new _.ej(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.wj(k,3);_.lj(a,"co",h);h=a.Ie();!e&&0<f&&(h+="u/"+f+"/");a.zi(h+"_/dataservice/cacheproxy");e=_.B(d,5)||"";if(_.Gsc(window.location.href,a.toString())&&e)return a=fAc(c),c=_.B(d,6),b="#"+b+"_",d=new _.NH,d.update(a.join(",")),b+=_.Uqc(d.digest()),c&&(b+="&jobset="+c),b=_.By(e+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.Xba(b),
void 0),b=new hAc(c.port),c.port.start()):b=new hAc(new Worker(_.Xba(b),void 0)),new iAc(new jAc(b,!0),1,e,a);c=a.toString();b="cpiframe_"+_.eI();c=_.Ah("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Zha(_.Fsc(_.ng("display: none;")));document.body.appendChild(c);c=_.Zqc(a.O,void 0,a.H,a.W).toString();return new iAc(new jAc(kAc(window.frames[b],c),!0),0,a.toString())}a=new lAc;return new iAc(new jAc(a.O,!1),2,"inline",c,new jAc(a.H,!1))};
oAc=function(a){var b=new nAc;if(a instanceof _.KI)_.Jj(b,16,MK,a);else if(a instanceof _.LI)_.Jj(b,1,MK,a);else if(a instanceof _.MI)_.Jj(b,2,MK,a);else if(a instanceof NK)_.Jj(b,17,MK,a);else if(a instanceof _.PI)_.Jj(b,3,MK,a);else if(a instanceof _.qK)_.Jj(b,4,MK,a);else if(a instanceof _.NI)_.Jj(b,5,MK,a);else if(a instanceof _.TI)_.Jj(b,6,MK,a);else if(a instanceof _.VI)_.Jj(b,7,MK,a);else if(a instanceof _.WI)_.Jj(b,8,MK,a);else if(a instanceof _.ZI)_.Jj(b,9,MK,a);else if(a instanceof _.oJ)_.Jj(b,
18,MK,a);else if(a instanceof _.sJ)_.Jj(b,10,MK,a);else if(a instanceof _.tJ)_.Jj(b,11,MK,a);else if(a instanceof _.uJ)_.Jj(b,12,MK,a);else if(a instanceof _.xI)_.Jj(b,13,MK,a);else if(a instanceof _.xJ)_.Jj(b,14,MK,a);else if(a instanceof _.yJ)_.Jj(b,15,MK,a);else throw new _.Nc("Unsupported request type");return b};
rAc=function(a){a=a.map(function(c){var d=new pAc;if(c instanceof _.KI)_.Jj(d,6,OK,c);else if(c instanceof NK)_.Jj(d,7,OK,c);else if(c instanceof _.TI)_.Jj(d,1,OK,c);else if(c instanceof _.sJ)_.Jj(d,2,OK,c);else if(c instanceof _.tJ)_.Jj(d,3,OK,c);else if(c instanceof _.xI)_.Jj(d,4,OK,c);else if(c instanceof _.yJ)_.Jj(d,5,OK,c);else throw new _.Nc("Unsupported request type");return d});var b=new qAc;_.Fj(b,1,a);return b};
sAc=function(a){return _.Ab(a,pAc,1).map(function(b){return _.Sj(b,_.KI,6,OK)||_.Sj(b,_.TI,1,OK)||_.Sj(b,_.sJ,2,OK)||_.Sj(b,_.tJ,3,OK)||_.Sj(b,_.xI,4,OK)||_.Sj(b,_.yJ,5,OK)||_.Sj(b,NK,7,OK)})};vAc=function(a){var b=new tAc;if(a instanceof _.fD)_.Jj(b,1,uAc,a);else if(a instanceof _.gD)_.Jj(b,2,uAc,a);else throw new _.Nc("Unsupported request type");return b};
yAc=function(a){var b=new wAc;if(a instanceof _.QI)_.Jj(b,1,xAc,a);else if(a instanceof _.XI)_.Jj(b,2,xAc,a);else if(a instanceof _.zJ)_.Jj(b,3,xAc,a);else throw new _.Nc("Unsupported request type");return b};PK=function(a,b,c){return b?new c(JSON.parse(a)):a};zAc=function(a){a={t:a.title,d:a.description,c:a.Dd,fi:a.a9,dti:a.f0,a:a.WP?a.WP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.I8})}):void 0};return JSON.stringify(a)};
AAc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Dd:a.c,a9:a.fi,f0:a.dti,WP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,I8:b.ec}}):void 0}};BAc=function(a,b,c){a=a?1:2;a=_.zd(_.yd(new _.wd,12),a);var d=(new _.yf).Kn(!0);d=_.w(d,17,!0);a=_.zf(d,a);c&&_.Fl(a,c);c=new _.Qrc;b&&_.gzc(c,b);return _.hzc(_.jzc(new _.nI,a),c)};CAc=function(a){return a.map(function(b){return b.getItem()})};
DAc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};EAc=function(a,b){var c=new _.ej(_.D(b,16,"")+"/open"),d=a.getId();KK(a)&&(d=Nzc(a));_.lj(c,"id",d);_.lj(c,"authuser",_.wI(_.YH(b)));_.Q(b,89,!1)&&_.yj(a,140)&&_.lj(c,"resourcekey",_.Mk(a));return c.toString()};FAc=function(a){return String.fromCharCode(10>a?48+a:87+a)};GAc=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]=FAc(d>>4);b[2*c+3]=FAc(d&15)}return b.join("")};
HAc=function(a){_.gg("drive.DebugUtil.printFindById",function(c){a.GM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.gg("drive.DebugUtil.getLogs",function(){return _.Xuc(a.He())});_.gg("drive.DebugUtil.printLogs",function(){window.console.log(_.Xuc(a.He()))});_.gg("drive.DebugUtil.printRequestHistory",function(){a.bR().then(function(c){c.forEach(function(d){window.console.log(_.B(d,1));window.console.log(_.B(d,2))})})});_.gg("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.Ka();b&&_.Q(b,1,!1)&&(_.gg("drive.DebugUtil.getContext",function(){return a.getContext()}),_.gg("drive.DebugUtil.setOffline",function(c){return void a.Jl(c)}))};KAc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Kf;_.Lf(b,305);_.Mf(b,!0);_.w(b,3,2);var c=new _.eD;_.I(c,1,b);IAc(c,[7]);a=a.then(function(d){return d.Pe(c)}).then(JAc);return _.gi(a)};
JAc=function(a){a=_.Ab(a,_.Zo,3);var b=new LAc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.B(d,2))&&(c=_.eh(c.Ya()),_.w(b,3,c))});return"number"===typeof _.B(b,3)?b:null};NAc=function(a,b){var c=MAc(a.um,b.qc());if(c){var d=c.getItem(),e=d.Zv();if(e){var f=e.fR(),h=_.xa(f,function(k){return k.getId()===_.B(b,2)});_.Xtc(e,f);h||(f=_.Ab(e,_.tk,3),_.xa(f,function(k){return k.getId()===_.B(b,2)}),_.Ytc(e,f));_.Wtc(e,(_.B(e,1)||1)-1);a.jl([d],c.V)}}};
PAc=function(a,b,c){if(b=MAc(a.um,b.qc())){var d=b.getItem(),e=d.Zv();if(e){if(1===c.getType()||2===c.getType()){var f=_.Ab(e,_.tk,3);f.push(c);_.Ia(f,OAc);_.Ytc(e,f)}else f=e.fR(),f.push(c),_.Ia(f,OAc),_.Xtc(e,f);_.Wtc(e,(_.B(e,1)||0)+1);a.jl([d],b.V)}}};RAc=function(a){return a.map(function(b){var c=new _.MJb;var d=b.serviceName?QAc.get(b.serviceName):void 0;c=_.w(c,3,d);return _.w(c,2,Number(b.bytesUsed))})};
TAc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return c.serviceName&&SAc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
XAc=function(a){var b=a.json.exportJob,c=UAc[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=_.wf(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.wf(b.failedItemInfos||[],function(l){var p=_.$F((new _.Gk).Nb(l.docId).setTitle(l.title),l.mediaType);p=(new _.VAc).setItem(p);p=_.w(p,3,l.relativePath);return _.w(p,4,l.cause)});return new WAc(c,d,k,f,h,e,a,b)};
ZAc=function(a){var b={},c=a.getKey();b.key=c&&_.B(c,2);b.value=a.Ya();(a=c&&_.$o(c))&&(b.namespace=YAc[a]);return b};$Ac=function(a){for(var b=[],c=0;c<a.length;c++)b.push(YAc[a[c]]);return b};aBc=function(a){return"kind,defaultAppIds,items("+a+")"};bBc=function(a,b){return _.Q(b,93,!1)?a+",adminSecureLinkSetting":a};cBc=function(a,b){var c;return(null===(c=_.FJ(b))||void 0===c?0:_.Q(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
dBc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
hBc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.FJ(b))||void 0===c?0:_.Q(c,18,!1))||(null===(d=_.FJ(b))||void 0===d?0:_.Q(d,17,!1)))null===(e=_.FJ(b))||void 0===e?void 0:_.w(e,15,!0);_.w(b,75,1<_.n.devicePixelRatio);var f=b;var h=_.Q(f,61,!1),k=_.FJ(f),l=!!k&&_.Q(k,10,!1);if(_.LH(_.YH(f))||!h&&!l)_.w(f,61,!1),_.Ej(f,66),k&&_.w(k,10,!1),f=!1;else{if(h){_.n.SharedWorker||(h=!1);var p=_.x(f,gAc,66);p&&_.B(p,1)||(h=!1);_.TJ(f)&&!_.Q(f,52,!1)&&(h=!1)}h?k&&_.w(k,10,!1):(_.w(f,61,!1),_.Ej(f,66));
f=h||l}if(f)return b=new QK(a,b,_.Q(b,61,!1)?3:5),new eBc(b);f=_.LH(_.YH(b))?2:1;a=new RK(a,b,f,void 0,void 0,void 0);return _.LH(_.YH(b))?new fBc(a):new gBc(a)};jBc=function(a){return _.Se(a).Lg(_.Q(a.get(_.Po),19,!1)?iBc:_.bVa)};kBc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};lBc=function(a,b){return _.Fj(a,1,b)};HK=function(a){return _.B(a,11)};mBc=[1];nBc=function(a){_.J.call(this,a,-1,mBc)};_.K(nBc,_.J);
nBc.prototype.fha=function(a){_.Mj(this,1,a,_.tk,void 0)};var oBc=function(a){var b=new nBc;return _.Fj(b,1,a)},pBc=function(a,b){return _.I(a,1,b)},qBc=function(a,b){_.Fj(a,2,b)},rBc=function(a,b){_.I(a,6,b)},sBc=function(a,b){_.I(a,7,b)},tBc=function(a,b){return _.Jj(a,3,_.xk,b)},uBc=function(a){_.J.call(this,a)};_.K(uBc,_.J);var vBc=function(a){_.J.call(this,a)};_.K(vBc,_.J);var wBc=function(a){_.J.call(this,a)};_.K(wBc,_.J);var xBc=function(a){_.J.call(this,a)};_.K(xBc,_.J);
var yBc=function(a){_.J.call(this,a)};_.K(yBc,_.J);var zBc=function(a){_.J.call(this,a)};_.K(zBc,_.J);var ABc=function(a){_.J.call(this,a)};_.K(ABc,_.J);var BBc=function(a){_.J.call(this,a)};_.K(BBc,_.J);var CBc=function(a){_.J.call(this,a)};_.K(CBc,_.J);var DBc=function(a){_.J.call(this,a)};_.K(DBc,_.J);var EBc=function(a){_.J.call(this,a)};_.K(EBc,_.J);var FBc=function(a){_.J.call(this,a)};_.K(FBc,_.J);var GBc=function(a){_.J.call(this,a)};_.K(GBc,_.J);var HBc=function(a){_.J.call(this,a)};
_.K(HBc,_.J);var IBc=function(a,b){_.Fj(a,1,b)},JBc=function(a,b){return _.w(a,2,b)},KBc=function(a,b){return _.I(a,3,b)},LBc=function(a,b){return _.w(a,4,b)},MBc=function(a){_.J.call(this,a)};_.K(MBc,_.J);var NBc=function(a,b){_.Fj(a,1,b)},OBc=function(a,b){return _.I(a,2,b)},PBc=function(a){_.J.call(this,a)};_.K(PBc,_.J);
var QBc=function(a,b){_.Fj(a,1,b)},RBc=function(a,b){return _.I(a,4,b)},SBc=function(a,b){_.I(a,5,b)},TBc=function(a,b){_.Fj(a,2,b)},UBc=function(a,b){_.w(a,3,b)},VBc=function(a,b){_.Fj(a,4,b)},WBc=function(a,b){return _.I(a,5,b)},XBc=function(a){_.J.call(this,a)};_.K(XBc,_.J);var YBc=function(a,b){_.Fj(a,1,b)},ZBc=function(a,b){return _.I(a,2,b)},$Bc=function(a){_.J.call(this,a)};_.K($Bc,_.J);
var aCc=function(a,b){_.Fj(a,2,b)},bCc=function(a){var b=new _.Nna;return _.Fj(b,3,a)},cCc=[1,2],dCc=function(a){_.J.call(this,a)};_.K(dCc,_.J);dCc.prototype.Nf=function(a){return _.Jj(this,1,cCc,a)};var eCc=[1],fCc=function(a){_.J.call(this,a,-1,eCc)};_.K(fCc,_.J);fCc.prototype.Dp=function(){return _.B(this,2)};var gCc=function(a,b){_.Fj(a,1,b)},hCc=function(a,b){return _.w(a,2,b)},iCc=function(a,b){return _.I(a,3,b)},jCc=function(a){_.J.call(this,a)};_.K(jCc,_.J);
var kCc=[2],lCc=function(a){_.J.call(this,a,-1,kCc)};_.K(lCc,_.J);var mCc=function(a,b){_.Fj(a,2,b)},nCc=function(a,b){return _.I(a,3,b)},oCc=[1],pCc=function(a){_.J.call(this,a)};_.K(pCc,_.J);pCc.prototype.Nf=function(a){return _.Jj(this,1,oCc,a)};var qCc=function(a,b){_.Fj(a,1,b)},rCc=function(a,b){return _.Fj(a,2,b)},sCc=function(a){_.J.call(this,a)};_.K(sCc,_.J);var tCc=function(a,b){_.Fj(a,1,b)},uCc=function(a,b){return _.I(a,2,b)},vCc=function(a){_.J.call(this,a)};_.K(vCc,_.J);
var wCc=[1,2,3,4],xCc=[1],yCc=[1,2],zCc=[1],ACc=[1],BCc=[1,2],CCc=[1],DCc=function(a,b){return _.I(a,1,b)},ECc=function(a,b){return _.w(a,2,b)},FCc=function(a,b){return _.w(a,3,b)},GCc=function(a,b){return _.w(a,4,b)},HCc=function(a,b){return _.w(a,5,b)},ICc=function(a,b){return _.w(a,6,b)},JCc=function(a){_.J.call(this,a)};_.K(JCc,_.J);Izc=function(a,b){_.Fj(a,8,b)};Hzc=function(a,b){return _.I(a,73,b)};Jzc=function(a,b){_.Fj(a,107,b)};_.IK=function(a){return _.x(a,JCc,109)};
Kzc=function(a,b){_.I(a,109,b)};KCc=function(a){_.J.call(this,a)};_.K(KCc,_.J);var LCc=function(a){_.J.call(this,a)};_.K(LCc,_.J);var MCc=function(a){var b=new _.gk;_.mk(b,1,_.B(a,1));_.mk(b,2,_.B(a,2));_.Hb(a,b);return _.ik(b)},NCc=function(a){_.J.call(this,a)};_.K(NCc,_.J);var gAc=function(a){_.J.call(this,a)};_.K(gAc,_.J);var OCc=[11],PCc=function(a){_.J.call(this,a,-1,OCc)};_.K(PCc,_.J);var SK=function(a){_.J.call(this,a)};_.K(SK,_.J);SK.prototype.getKey=function(){return _.B(this,2)};
SK.prototype.bt=function(){return _.yj(this,2)};TK=function(a){return _.D(a,4,"en")};_.UK=function(a){return _.x(a,PCc,34,1)};VK=function(a,b,c){if(b.length!=c.length)return!0;for(var d=0;d<b.length;d++)if(!a.O(b[d]||void 0,c[d]||void 0))return!0;return!1};QCc=function(a,b){return _.w(a,5,b)};_.RCc=function(a,b){return _.w(a,2,b)};_.SCc=function(a,b){return _.w(a,3,b)};_.TCc=function(a,b){return _.w(a,1,b)};_.UCc=function(a,b){return _.w(a,2,b)};_.VCc=function(a,b){return _.Fj(a,5,b)};
_.WCc=function(a,b){return _.w(a,6,b)};_.XCc=function(a,b){return _.w(a,7,b)};_.YCc=function(a,b){return _.w(a,8,b)};_.ZCc=function(a,b){return _.w(a,10,b)};_.$Cc=function(a,b){return _.w(a,15,b)};aDc=[2];_.bDc=function(a){_.J.call(this,a,-1,aDc)};_.K(_.bDc,_.J);_.bDc.prototype.mi=function(){return _.B(this,1)};_.cDc=function(a,b){return _.I(a,1,b)};dDc=function(a,b){return _.w(a,2,b)};eDc=function(a,b){return _.w(a,3,b)};fDc=function(a,b){_.Fj(a,4,b)};_.gDc=function(a,b){_.I(a,8,b)};
_.hDc=function(a,b){_.I(a,9,b)};iDc=function(a,b){_.w(a,10,b)};jDc=function(a){_.J.call(this,a)};_.K(jDc,_.J);jDc.prototype.Ya=function(){return _.Cj(this,1)};jDc.prototype.Hb=function(a){return _.yb(this,1,a,0)};IAc=function(a,b){_.Dj(a,3,b)};_.kDc=function(a){_.J.call(this,a)};_.K(_.kDc,_.J);_.kDc.prototype.getId=function(){return _.B(this,1)};_.kDc.prototype.Nb=function(a){return _.w(this,1,a)};_.kDc.prototype.De=function(){return _.B(this,4)};_.kDc.prototype.qh=function(a){return _.w(this,4,a)};
_.qK=function(a){_.J.call(this,a)};_.K(_.qK,_.J);_.qK.prototype.getTitle=function(){return _.B(this,1)};_.qK.prototype.setTitle=function(a){return _.w(this,1,a)};_.qK.prototype.se=function(){return _.x(this,_.Kf,2)};
var lDc=function(a,b){return _.Dj(a,9,b)},mDc=function(a,b){return _.Dj(a,10,b)},nDc=function(a,b){return _.w(a,36,b)},oDc=function(a,b){return _.Fj(a,38,b)},pDc=function(a,b){return _.w(a,2,b)},qDc=function(a,b){return _.I(a,3,b)},rDc=function(){var a=new _.rI;return _.w(a,5,!0)},sDc=function(a){_.J.call(this,a)};_.K(sDc,_.J);var tDc=function(a){_.J.call(this,a)};_.K(tDc,_.J);var uDc=function(a){_.J.call(this,a)};_.K(uDc,_.J);var vDc=function(a){_.J.call(this,a)};_.K(vDc,_.J);
var wDc=function(a){_.J.call(this,a)};_.K(wDc,_.J);var xDc=function(a){_.J.call(this,a)};_.K(xDc,_.J);xDc.prototype.uy=function(){return _.P(this,1)};xDc.prototype.Fo=function(){return _.B(this,5)};xDc.prototype.Nm=function(){return _.B(this,6)};xDc.prototype.Kv=function(a){return _.w(this,6,a)};var yDc=function(a,b){return _.w(a,1,b)},zDc=function(a,b){return _.w(a,3,b)},ADc=function(a,b){return _.w(a,4,b)},BDc=function(a,b){_.w(a,7,b)},CDc=function(a){_.J.call(this,a)};_.K(CDc,_.J);
CDc.prototype.uy=function(){return _.P(this,2)};var DDc=function(a,b){_.w(a,1,b)},EDc=function(a){_.J.call(this,a)};_.K(EDc,_.J);EDc.prototype.Nm=function(){return _.B(this,3)};EDc.prototype.Kv=function(a){return _.w(this,3,a)};EDc.prototype.Fo=function(){return _.B(this,4)};var FDc=function(a){_.J.call(this,a)};_.K(FDc,_.J);var GDc=function(a){_.J.call(this,a)};_.K(GDc,_.J);
var HDc=function(a,b){return _.w(a,1,b)},IDc=function(a,b){return _.w(a,2,b)},JDc=function(a,b){_.w(a,3,b)},KDc=[1,3,5],LDc=function(a){_.J.call(this,a,-1,KDc)};_.K(LDc,_.J);LDc.prototype.$C=function(){return _.ie(this,1)};LDc.prototype.uy=function(){return _.P(this,2)};LDc.prototype.Fo=function(){return _.B(this,7)};MDc=function(a,b){_.w(a,2,b)};NDc=function(a,b){_.Hj(a,5,b,void 0)};ODc=function(a,b){_.w(a,6,b)};PDc=function(a,b){_.w(a,7,b)};QDc=function(a,b,c){_.WJ(a,b,c,"warning")};
_.RDc=function(a,b){_.I(a,2,b)};SDc=function(a){return[].concat(_.Jd(a.O))};TDc=function(a){return a.H.concat([].concat(_.Jd(a.O)))};UDc=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(_.Jd(c))};WK=function(a){var b=_.eK(a).ld();b||(b=new _.Iuc,a=_.eK(a),_.I(a,1,b));return b};VDc=function(a){var b=_.x(_.eK(a),LDc,3);b||(b=new LDc,a=_.eK(a),_.I(a,3,b));return b};
XK=function(a){var b=_.x(_.eK(a),xDc,16);b||(b=new xDc,a=_.eK(a),_.I(a,16,b));return b};WDc=function(a){var b=_.x(_.eK(a),uDc,7);b||(b=new uDc,a=_.eK(a),_.I(a,7,b));return b};XDc=function(a){var b=_.x(_.eK(a),wDc,12);b||(b=new wDc,a=_.eK(a),_.I(a,12,b));return b};YDc=function(a){var b=_.x(_.eK(a),CDc,17);b||(b=new CDc,a=_.eK(a),_.I(a,17,b));return b};ZDc=function(a){var b=_.x(_.eK(a),GDc,21);b||(b=new GDc,a=_.eK(a),_.I(a,21,b));return b};
$Dc=function(a){if(a instanceof _.MH)return 2;if(a instanceof _.YF)return 10;if(a instanceof _.yf)return _.hJ(a)?3:_.iJ(a)?7:_.jJ(a)?8:1;if(a instanceof _.TF)return 9;if(a instanceof _.fG)return 11;if(a instanceof _.qJ)return 15;if(a instanceof _.ZH)return 6;if(a instanceof _.lJ){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 _.eD)return 4;if(a instanceof _.Rz)return 12;if(a instanceof _.ZF)return 13}return 0};
aEc=function(a){var b=null;a instanceof _.VA||"undefined"!=typeof _.gK&&a instanceof _.gK||"undefined"!=typeof _.hK&&a instanceof _.hK?b=a.Qe()||0:"undefined"!=typeof _.jK&&a instanceof _.jK||"undefined"!=typeof _.kK&&a instanceof _.kK||"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK||"undefined"!=typeof _.nK&&a instanceof _.nK?b=a.Fe:"undefined"!=typeof _.iK&&a instanceof _.iK&&(b=a.Qe());return b||0};
YK=function(a,b,c){return a.V&&_.bwc(a)?(a=_.Yvc(a.V,b,0),c&&_.ipc(a,c),a):null};bEc=function(a){a.V&&_.bwc(a)&&(a=a.V,a.H.pP()&&a.H.KZ())};cEc=function(a){var b=new _.aJ;return _.w(b,1,a)};dEc=function(a,b){return _.I(a,2,b)};eEc=function(a,b){return _.I(a,1,b)};fEc=function(a,b){a.ha=b};gEc=[2];ZK=function(a){_.J.call(this,a,-1,gEc)};_.K(ZK,_.J);ZK.prototype.Cb=function(){return _.B(this,1)};ZK.prototype.Ac=function(a){return _.w(this,1,a)};ZK.prototype.fha=function(a){_.Mj(this,2,a,_.tk,void 0)};
ZK.prototype.Wj=function(){return _.B(this,3)};var hEc=function(a,b){return _.Fj(a,2,b)},iEc=[2],jEc=function(a){_.J.call(this,a,-1,iEc)};_.K(jEc,_.J);jEc.prototype.Cb=function(){return _.B(this,1)};jEc.prototype.Ac=function(a){return _.w(this,1,a)};jEc.prototype.Wj=function(){return _.B(this,3)};
var kEc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.pn,a.H.promise):null},lEc=function(a){for(var b=[],c=_.m(a.W),d=c.next();!d.done;d=c.next()){d=_.m(d.value);d.next();d=d.next().value;d=_.m(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Dv.config.timestamp)&&b.push(e)}a=_.m(a.buckets);for(d=a.next();!d.done;d=a.next()){c=[];d=_.m(d.value.aj);for(e=d.next();!e.done;e=d.next())(e=e.value.Dv.config.timestamp)&&c.push(e);_.Ba(b,c)}return b},mEc=function(a,b){_.xK(["drive#permissionList"],
b);return hEc(new ZK,(b.items||[]).map(function(c){return _.pyc(a,c)}))},nEc=function(a,b){return ICc(HCc(GCc(_.Ytc(_.Wtc(new _.Yna,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.pyc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},vzc=function(a,b){return _.Dj(a,1,b)},oEc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},pEc=function(a,
b){if(!(a instanceof b.constructor))throw Error("aa");var c=a.ys(!1);b=b.ys(!1);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.bba(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)},qEc=[2],rEc=function(a){_.J.call(this,a,-1,qEc)};_.K(rEc,_.J);rEc.prototype.Cb=function(){return _.B(this,1)};rEc.prototype.Ac=function(a){return _.w(this,1,a)};rEc.prototype.HVa=function(){return _.Ab(this,_.cEa,2)};
rEc.prototype.Wj=function(){return _.B(this,3)};sEc=[2,6];_.hK=function(a){_.J.call(this,a,-1,sEc)};_.K(_.hK,_.J);_.g=_.hK.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Ad=function(){return _.Ab(this,_.Gk,2)};_.g.KA=function(a){return _.Fj(this,2,a)};_.g.hh=function(a,b){return _.Mj(this,2,a,_.Gk,b)};_.g.Wj=function(){return _.B(this,3)};_.g.Ql=function(){return _.Q(this,4,!0)};var tEc=function(a,b){return _.Fj(a,6,b)};
_.hK.prototype.Rf=function(){return _.B(this,10)};_.hK.prototype.lP=function(a){return _.w(this,10,a)};_.hK.prototype.Qe=function(){return _.B(this,9)};_.hK.prototype.yi=function(a){return _.w(this,9,a)};
var uEc={SUCCESS:1,Y7b:2,WZb:3,zVb:4,k8b:5,E2b:6,t2b:7,lWb:8,W6b:9,k7b:10,X7b:11,NXb:12,rXb:13,Y_b:14,oZb:15,vXb:16,uXb:17,AXb:18,xXb:19,yXb:20,B7b:21,g8b:22,X2b:23,c2b:24,dWb:25,PERMISSION_DENIED:26,s1b:27,qWb:28,pWb:29,INTERRUPTED:30,w3b:31,R3b:32,bYb:33,hYb:34,c7b:35,oYb:36,pZb:37,gYb:38,s2b:39,UWb:40,r3b:41,T3b:42,U6b:43,GWb:44,TWb:45,mZb:46,n1b:47,q2b:48,O2b:49,s3b:50,N6b:51,sXb:52,V6b:53,T6b:54,MWb:55,JWb:56,zYb:57,L1b:58,t3b:59,M0b:60,g5b:61,V5b:62,B6b:63,n0b:64,e2b:65,n8b:66,qYb:67,qZb:68,
W7b:69,s0b:70,oWb:71,BWb:72,c6b:73,C6b:74,y6b:75,w6b:76,R5b:190,v6b:191,d6b:192,j6b:126,f6b:128,g6b:129,h6b:130,i6b:131,k6b:132,l6b:133,p5b:127,m5b:134,n5b:135,r5b:136,s5b:137,t5b:138,o5b:194,q5b:195,u5b:196,l5b:197,U5b:189,f5b:139,h5b:140,v5b:141,w5b:142,I5b:143,L5b:144,M5b:145,N5b:146,O5b:147,P5b:148,Q5b:149,T5b:150,Z5b:151,a6b:152,b6b:153,e6b:154,m6b:155,o6b:156,p6b:157,q6b:158,r6b:159,s6b:160,t6b:161,x6b:162,A6b:163,D6b:164,i5b:165,j5b:166,k5b:167,d5b:168,e5b:169,z5b:170,x5b:171,y5b:172,A5b:173,
B5b:174,C5b:175,D5b:176,E5b:177,F5b:178,G5b:179,H5b:180,J5b:181,K5b:182,S5b:106,$5b:183,n6b:184,u6b:185,W5b:186,X5b:187,Y5b:188,z6b:244,q3b:77,a8b:78,f8b:79,z1b:80,c0b:81,e0b:82,yYb:83,lZb:84,t1b:85,u7b:86,fYb:87,u0b:88,t0b:89,G6b:90,E6b:91,F6b:92,b8b:93,hXb:94,gXb:95,dXb:96,fXb:97,eXb:98,m8b:99,Q4b:100,DXb:101,wXb:102,BXb:103,zXb:104,CXb:105,rZb:107,h7b:108,K4b:109,Q7b:110,uZb:111,tZb:112,R0b:113,S0b:114,X3b:115,NWb:116,Z0b:117,KYb:118,c8b:119,y2b:120,z2b:121,Z_b:193,tXb:122,WXb:123,b0b:124,Y1b:125,
v0b:198,B3b:199,k0b:200,cVb:201,q0b:202,o0b:203,rWb:204,L8b:205,g1b:206,aXb:207,v2b:208,S3b:209,M4b:210,DVb:211,P0b:212,W0b:213,Y6b:214,X6b:215,m0b:216,X_b:217,l0b:218,sYb:219,l7b:220,tYb:221,N0b:222,e7b:223,w8b:224,i2b:225,d7b:226,YXb:227,e1b:228,xYb:229,WWb:230,s7b:231,$1b:232,FILE_TOO_LARGE:233,r0b:234,rYb:235,iZb:236,N3b:237,f2b:238,OUb:239,XWb:240,m2b:241,X4b:242,dYb:243,aVb:245,f0b:246,Q2b:247,d0b:248,y1b:249,d2b:250,nZb:251,c_b:252,Q0b:253,KWb:254,sZb:255,l8b:256,PZb:257,I1b:258,d4b:259,A3b:260,
C0b:261,IXb:262,eYb:263,cWb:264,r1b:265,j8b:266,SUb:267,TVb:268,SVb:269,r2b:270,MUb:271,NUb:272,fWb:273,$Wb:274,VVb:275,UVb:276,f1b:277,vZb:278,h0b:279},$K=function(a,b){_.oi.call(this,"Aa");this.error=a;this.H=b};_.K($K,_.oi);var vEc={d8b:0,J1b:1,Z2b:2,M2b:3,x0b:4,AVb:5,K1b:6,N2b:7,E_b:8,bWb:9,K2b:10},wEc=function(){this.map={};this.status=6;this.Fe=null};_.g=wEc.prototype;_.g.Cb=function(){return this.status};_.g.Ac=function(a){this.status=a};_.g.Qe=function(){return this.Fe};
_.g.yi=function(a){this.Fe=a};_.g.Qr=function(){return this.map};var xEc=function(a,b){a.map=b};wEc.prototype.Gc=function(a){var b=[];_.Qa(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Fe,me:b})};var yEc=function(a,b,c){c=JSON.parse(c);a.Ac(c.s);a.yi(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},zEc=function(){wEc.apply(this,arguments)};_.K(zEc,wEc);_.gK=function(){wEc.apply(this,arguments)};_.K(_.gK,wEc);
var aL=function(a){_.yi.call(this);var b=this;this.wa=a;this.active=!1;_.$e(this,function(){b.active=!1})};_.K(aL,_.yi);aL.prototype.Qi=function(){return String(_.Ea(this))};aL.prototype.activate=function(){this.active||(this.log("livelist "+this.Qi()+" activated."),this.active=!0)};aL.prototype.isActive=function(){return this.active};aL.prototype.log=function(a,b){this.wa.log(this.logName,a,void 0===b?"info":b)};
_.bL=function(a,b,c,d,e,f){aL.call(this,c);var h=this;this.O=a;this.ma=b;this.request=e;this.ta=f;this.H=[];this.items=[];this.V=!0;this.suggestionSessionId=null;this.Ba=d;this.status=6;this.W=vzc(new _.EK,[1]);this.limit=e.vi();this.Fe=0;_.$e(this,function(){h.H=[]});_.z7a++};_.K(_.bL,aL);_.g=_.bL.prototype;_.g.activate=function(){aL.prototype.activate.call(this);_.pa(this.items)&&6===this.Cb()&&this.nk()||AEc(this)};_.g.ld=function(){return this.request};_.g.vi=function(){return this.limit};
_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.W};_.g.nk=function(){return this.V};_.g.Rr=function(){var a=_.x7a().ky(this.H,this.items),b=(new rEc).Ac(this.Cb());a=_.Fj(b,2,a);this.H=this.items;return a};_.g.ou=function(a){this.isActive()&&(this.limit+=a||50,this.log("incrementMaxCount with "+a+" called on Livelist "+(this.Qi()+". New limit is ")+(this.limit+".")),this.Ba(this.Qi(),this.limit))};
var BEc=function(a,b){return a.Cb()!==b.Cb()||VK(_.x7a(),a.items,b.Ad())},CEc=function(a,b){a.items=b.Ad();a.status=b.Cb();_.mI(a.ta)&&(a.W=wzc(a.status,a.items));a.V=b.Ql();a.Fe=b.Qe()};_.bL.prototype.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.bL.prototype.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};
_.bL.prototype.Au=function(a,b){var c=this;b+="\n\n\nQuery:\n"+cL(this.O,this.ld());return _.gi(this.ma.then(function(d){return d.lNb(a,b,c.ld(),c.vi(),c.items)}))};
var AEc=function(a){if(a.isActive()){var b=a.Iq().H();a.log("Livelist "+a.Qi()+" returning "+a.items.length+". Status: "+(_.db(uEc)[a.Cb()]+". ")+(6===a.Cb()?"MissingTypes: "+b.join(",")+". ":"")+("Datasource: "+_.db(vEc)[a.Fe]+". Query: ")+(cL(a.O,a.request)+" ")+xzc(a.items));DEc(a,a.items,a.request);a.dispatchEvent(new _.oi(_.Zc,a))}},DEc=function(a,b,c){if(_.hJ(c))c="quick access";else if(_.iJ(c))c="people predict";else if(_.jJ(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");
a.log("Livelist "+a.Qi()+" returning "+a.items.length+" for "+(c+": "+b))};_.bL.prototype.refresh=function(){};_.bL.prototype.Xa=function(){_.A7a++;aL.prototype.Xa.call(this)};
var Bzc=[1004,1005,1002,1003],Pzc=[1002,1003,1005],EEc=function(a,b,c,d,e,f){aL.call(this,c);var h=this;this.O=a;this.W=b;this.ha=d;this.ka=e;this.request=f;this.logName="drive.ds.sync.IdViewCacheLiveMap";this.H={};this.items={};this.status=6;this.V=vzc(new _.EK,[1]);this.log("Creating find by ids live map: "+this.request.ln().join(", "));_.$e(this,function(){h.H=[]});_.bkb++};_.K(EEc,aL);_.g=EEc.prototype;
_.g.activate=function(){aL.prototype.activate.call(this);_.Za(this.items)&&6===this.status||FEc(this)};_.g.ld=function(){return this.request};_.g.getData=function(){this.H=this.items;var a=new _.gK;_.mI(this.O)?a.Ac(Rzc(Object.values(this.items))?6:this.status):a.Ac(this.status);a.map=this.items;return a};_.g.Rr=function(){var a=Tzc(this.H,this.items),b=new zEc;b.Ac(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.V};
_.g.fT=function(a){GEc(a);var b=this.request;this.request=a;this.ka(this.Qi(),b,a)};_.g.update=function(a){var b=this;0<=_.na(this.ld().ln(),"root")?this.ha.addCallback(function(c){var d=a.Qr()[c];d&&(_.$a(a.map,c),a.map.root=d);HEc(b,a)}):HEc(this,a)};var HEc=function(a,b){if(a.status!==b.Cb()||Uzc(a.items,b.Qr()))a.status=b.Cb(),a.items=b.Qr(),_.mI(a.O)&&(a.V=wzc(a.status,Object.values(a.items))),FEc(a)};
EEc.prototype.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};EEc.prototype.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};var FEc=function(a){a.isActive()&&(a.log("Livelist "+a.Qi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.db(uEc)[a.Cb()]+". Query: ")+(cL(a.W,a.request)+" ")+xzc(Object.values(a.items))),a.dispatchEvent(new _.oi(_.Zc,a)))};EEc.prototype.Xa=function(){_.ckb++;aL.prototype.Xa.call(this)};
var IEc=[1,2],JEc=function(a){_.J.call(this,a,-1,IEc)};_.K(JEc,_.J);_.KEc=function(a){_.J.call(this,a)};_.K(_.KEc,_.J);_.KEc.prototype.Cb=function(){return _.B(this,1)};_.KEc.prototype.Ac=function(a){return _.w(this,1,a)};_.KEc.prototype.mn=function(){return _.x(this,_.UA,2)};var LEc=function(a){_.oi.call(this,a)};_.K(LEc,_.oi);var MEc=[5,7,9],NEc=function(a){_.J.call(this,a,-1,MEc)};_.K(NEc,_.J);_.g=NEc.prototype;_.g.getUser=function(){return _.x(this,_.tk,1)};_.g.MA=function(a){_.w(this,2,a)};
_.g.setBooleanValue=function(a){return _.w(this,3,a)};_.g.setTextValue=function(a){return _.w(this,4,a)};_.g.$oa=function(a){return _.Dj(this,5,a)};_.g.addTextValues=function(a,b){return _.Hj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.w(this,6,a)};_.g.Woa=function(a){return _.Dj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Hj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.Moa=function(a){return _.Dj(this,9,a)};
_.g.addIntegerValues=function(a,b){return _.Hj(this,9,a,b)};var OEc=[7,10,12,16,13,3],dL=function(a){_.J.call(this,a,-1,OEc)};_.K(dL,_.J);var eL=function(a){return _.B(a,4)};_.g=dL.prototype;_.g.MA=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};_.g.v$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.$oa=function(a){return _.Dj(this,7,a)};_.g.addTextValues=function(a,b){return _.Hj(this,7,a,b)};
_.g.t$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.u$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};_.g.yMa=function(){return _.ie(this,10)};_.g.Woa=function(a){return _.Dj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Hj(this,10,a,b)};_.g.s$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.Moa=function(a){return _.Dj(this,12,a)};
_.g.addIntegerValues=function(a,b){return _.Hj(this,12,a,b)};_.g.w$a=function(){return _.x(this,_.tk,15)};_.g.setUserValue=function(a){return _.I(this,15,a)};_.g.fXa=function(){return _.Ab(this,_.tk,16)};var PEc=function(a,b){_.Fj(a,16,b)};dL.prototype.addUserValues=function(a,b){return _.Mj(this,16,a,_.tk,b)};dL.prototype.H=function(){return _.B(this,17)};dL.prototype.setDateStringValue=function(a){return _.w(this,17,a)};dL.prototype.V=function(){return _.yj(this,17)};
var QEc=function(a,b){_.Fj(a,13,b)};dL.prototype.getId=function(){return _.B(this,14)};dL.prototype.Nb=function(a){return _.w(this,14,a)};dL.prototype.getName=function(){return _.B(this,1)};dL.prototype.$c=function(a){return _.w(this,1,a)};var NK=function(a){_.J.call(this,a)};_.K(NK,_.J);NK.prototype.getId=function(){return _.B(this,1)};NK.prototype.Nb=function(a){return _.w(this,1,a)};NK.prototype.se=function(){return _.x(this,_.Kf,3)};REc=[3];_.fL=function(a){_.J.call(this,a,-1,REc)};_.K(_.fL,_.J);
_.fL.prototype.getType=function(){return _.B(this,1)};_.fL.prototype.qc=function(){return _.B(this,2)};_.SEc=function(a){_.J.call(this,a)};_.K(_.SEc,_.J);_.SEc.prototype.getFeature=function(){return _.B(this,1)};TEc=[1];_.dK=function(a){_.J.call(this,a,-1,TEc)};_.K(_.dK,_.J);UEc=[2,3,8];_.tJ=function(a){_.J.call(this,a,-1,UEc)};_.K(_.tJ,_.J);_.tJ.prototype.getId=function(){return _.B(this,1)};_.tJ.prototype.Nb=function(a){return _.w(this,1,a)};_.tJ.prototype.se=function(){return _.x(this,_.Kf,4)};
_.tJ.prototype.wc=function(){return _.B(this,5)};var VEc=function(a){_.J.call(this,a)};_.K(VEc,_.J);WEc=[1,2,4];XEc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};YEc=function(a,b){return new _.Opc(_.Ppc.bound(a,b,void 0,void 0))};ZEc=function(){var a=new _.ai,b=_.aqc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Gd(_.RH(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};
_.$Ec=function(a){_.J.call(this,a)};_.K(_.$Ec,_.J);_.$Ec.prototype.yp=function(){return _.B(this,1)};_.$Ec.prototype.zd=function(){return _.B(this,2)};_.$Ec.prototype.setSize=function(a){return _.w(this,2,a)};_.$Ec.prototype.getUrl=function(){return _.B(this,3)};_.aFc=function(a){_.J.call(this,a)};_.K(_.aFc,_.J);_.aFc.prototype.getType=function(){return _.B(this,1)};bFc=[2,3];_.cFc=function(a){_.J.call(this,a,-1,bFc)};_.K(_.cFc,_.J);dFc=[4,5,6,17,18,24];_.gL=function(a){_.J.call(this,a,-1,dFc)};
_.K(_.gL,_.J);_.gL.prototype.getId=function(){return _.B(this,1)};_.gL.prototype.Nb=function(a){return _.w(this,1,a)};_.gL.prototype.getName=function(){return _.B(this,2)};_.gL.prototype.$c=function(a){return _.w(this,2,a)};var eFc=function(a,b){return _.Dj(a,4,b)},fFc=function(a,b){return _.Dj(a,5,b)};_.gL.prototype.LQ=function(){return _.B(this,8)};_.gL.prototype.getType=function(){return _.B(this,23)};var gFc=[3],hL=function(a){_.J.call(this,a,-1,gFc)};_.K(hL,_.J);
hL.prototype.eq=function(){return _.B(this,1)};var hFc=function(a,b){return _.w(a,1,b)};hL.prototype.getTitle=function(){return _.B(this,2)};hL.prototype.setTitle=function(a){return _.w(this,2,a)};hL.prototype.Ad=function(){return _.Ab(this,_.Gk,3)};var iFc=function(a,b){return _.Fj(a,3,b)};hL.prototype.hh=function(a,b){return _.Mj(this,3,a,_.Gk,b)};hL.prototype.V=function(){return _.B(this,4)};var jFc=function(a,b){return _.w(a,4,b)};hL.prototype.H=function(){return _.x(this,_.wk,5)};
var kFc=function(a,b){return _.I(a,5,b)},LAc=function(a){_.J.call(this,a)};_.K(LAc,_.J);var lFc=[2],iL=function(a){_.J.call(this,a,-1,lFc)};_.K(iL,_.J);iL.prototype.Cb=function(){return _.B(this,1)};iL.prototype.Ac=function(a){return _.w(this,1,a)};iL.prototype.Zk=function(){return _.Ab(this,hL,2)};var mFc=function(a,b){return _.Fj(a,2,b)};iL.prototype.Rf=function(){return _.B(this,4)};nFc=function(a,b){return _.w(a,4,b)};_.iK=function(a){_.J.call(this,a)};_.K(_.iK,_.J);_.g=_.iK.prototype;
_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.MT=function(){return _.Cb(this,2,void 0,_.UA)};_.g.Wj=function(){return _.B(this,3)};_.g.Qe=function(){return _.B(this,5)};_.g.yi=function(a){return _.w(this,5,a)};var oFc=[1],OK=[1,2,3,4,5,6,7],pAc=function(a){_.J.call(this,a)};_.K(pAc,_.J);var qAc=function(a){_.J.call(this,a,-1,oFc)};_.K(qAc,_.J);var jL=function(a){_.J.call(this,a)};_.K(jL,_.J);jL.prototype.getQuery=function(){return _.x(this,_.yf,1,1)};
var pFc=function(a,b){return _.I(a,1,b)};jL.prototype.Vn=function(){return _.B(this,4)};var qFc=function(a,b){return _.I(a,5,b)},rFc=[1,2,5,7,9,10,12,14],kL=function(a){_.J.call(this,a,-1,rFc)};_.K(kL,_.J);kL.prototype.Ad=function(){return _.Ab(this,_.Gk,1)};var sFc=function(a,b){return _.Fj(a,1,b)};kL.prototype.hh=function(a,b){return _.Mj(this,1,a,_.Gk,b)};kL.prototype.fha=function(a){_.Mj(this,2,a,_.tk,void 0)};var tFc=function(a,b){return _.w(a,3,b)};
kL.prototype.ju=function(){return _.B(this,4)};kL.prototype.Xy=function(a){return _.w(this,4,a)};var uFc=function(a,b){return _.Fj(a,5,b)};kL.prototype.tv=function(){return _.P(this,6)};var vFc=function(a,b){return _.w(a,6,b)};kL.prototype.Cf=function(){return _.x(this,_.KB,8)};var wFc=function(a,b){return _.Dj(a,12,b)};kL.prototype.Fo=function(){return _.Bj(this,13,0)};
var xFc=function(a,b){return _.w(a,13,b)},yFc={gWb:0,eWb:1,Y0b:2,f7b:3,i7b:4,D2b:5},MK=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],nAc=function(a){_.J.call(this,a)};_.K(nAc,_.J);var uAc=[1,2],tAc=function(a){_.J.call(this,a)};_.K(tAc,_.J);var xAc=[1,2,3],wAc=function(a){_.J.call(this,a)};_.K(wAc,_.J);
var zFc=function(a,b){return 1<a?2===b:a===b},AFc=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1===b)return!a||1>=a?2:a+1;if(-2===b)return!a||2>=a?1:a-1;throw Error("Se");},lL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.V=void 0===c?1:c;this.O=d;this.H=e};_.g=lL.prototype;_.g.clone=function(){return new lL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.Zb=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.Mw=function(a){this.V=a};_.g.equals=function(a){return this.count===a.Zb()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Oj(this.item,a.getItem())};
var BFc=function(a,b){a.H=b;return a},mL=function(a){return a instanceof _.Gk?null!=a.getId()&&a.getId()==a.wc():null!=a.qc()&&a.qc()==a.wc()},CFc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.Oh();null!=e&&Hzc(a,e.clone());if((e=b.getCapabilities())&&null!=_.P(e,13)){var f=a.getCapabilities()||new _.zk;_.w(f,13,_.P(e,13));_.NJ(a,f)}e&&null!=_.P(e,18)&&(f=a.getCapabilities()||new _.zk,_.w(f,18,_.P(e,18)),_.NJ(a,f));JK(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.Oh()&&JK(a,d,c)},DFc=function(a,b,c){c=void 0===c?[]:c;if(!b||!mL(a)&&!mL(b))return a;if(2==a.tv()){c=_.B(a,82);var d=b.clone();CFc(d,a);_.euc(d,b.tv());_.AI(d,c);return d}a=a.clone();CFc(a,b,c);return a},EFc=function(a){return(a=a?a.Oh():null)&&_.P(a,7)||!1},FFc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},GFc=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]={}})},IFc=function(a,b,c){b.every(function(d){return mL(d)})?HFc(b,c,a.H,a.O):b.every(function(d){return!mL(d)})&&HFc(b,c,a.items,a.fields)},HFc=function(a,b,c,d){b=_.etc(b,[].concat(_.Jd(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.wf();e=e?_.ne(e):null;for(var f=_.m(b),h=f.next();!h.done;h=f.next()){h=h.value;var k=c[h][d.getId()];k&&JK(d,k,[h]);e&&(k=c[h][e.getId()])&&JK(e,k,[h])}}};
FFc.prototype.update=function(a,b,c){b&&mL(b)?JFc(a,b,this.H,this.O,c):JFc(a,b,this.items,this.fields,c)};FFc.prototype.rJ=function(a){var b=this;_.Qa(this.items,function(c,d){_.$a(b.items[d],a)});_.Qa(this.H,function(c,d){_.$a(b.H[d],a)})};
var JFc=function(a,b,c,d,e){_.Qa(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.$a(f,a):b&&Ezc(b,[h])&&(f[a]=KFc(b,h)),b)){var k=b.wf();(k=k?_.ne(k):null)&&Ezc(k,[h])&&(f[k.getId()]=KFc(k,h))}});b&&Azc(b,[].concat(_.Jd(d)))},KFc=function(a,b){var c=new _.Gk;c.Nb(a.getId());JK(c,a,[b]);return c};FFc.prototype.clear=function(){var a=this;_.Qa(this.items,function(b,c){a.items[c]={}});_.Qa(this.H,function(b,c){a.H[c]={}})};
FFc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var LFc=function(a,b,c){var d=this;this.lt=b;this.Av=c;this.Cd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=LFc.prototype;_.g.iy=function(){return this.Cd};_.g.Xj=function(a){var b=new Map;a=_.m(a.ln());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Cd.has(c)&&b.set(c,this.Cd.get(c).getItem());return b};
_.g.query=function(a,b){var c=[];if(MFc(a)){for(var d=_.m(this.Cd.values()),e=d.next();!e.done;e=d.next())e=e.value,oL(this.lt,a,e.getItem())&&(void 0===b||zFc(e.V,b))&&c.push(e);this.Av.sort(a,c)}return c};_.g.get=function(a){return this.Cd.get(a)||null};_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Cd.get(c.value))&&b.push(c);return b};
_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,NFc(this,a.H)?(this.Cd.delete(a.id),a.H.count--):this.Cd.set(a.id,a.H)):(this.Cd.delete(a.id),a.O.count--)};var NFc=function(a,b){return 1<b.Zb()||zFc(b.V,2)||b.getItem().JI()||$zc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};LFc.prototype.rJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b=b.value,NFc(this,b)&&(this.Cd.delete(b.getId()),b.count--)};
var OFc=function(a,b,c,d){this.Gg=a;this.W=b;this.O=c;this.V=d},MAc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),IFc(a.V,[b.getItem()],TDc(a.Gg)),b):null};OFc.prototype.H=function(a){return(a=MAc(this,a))?a.getItem():null};var PFc=function(a,b){var c={};b.forEach(function(d){var e=MAc(a,d);e&&(c[d]=e)});return c},QFc=function(a,b){return _.Sa(PFc(a,b),function(c){return c.getItem()})},RFc=function(a,b){b=pL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};
OFc.prototype.query=function(a){return RFc(this,a).map(function(b){return b.getItem()})};OFc.prototype.zd=function(){return this.O.iy().size};
var SFc=function(a){var b=new Set;a=_.m(a.O.iy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Hk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||HK(e));(d=c.ym())&&b.add(d.getId()||HK(d));(d=c.Jr())&&b.add(d.getId()||HK(d));(d=c.aq())&&b.add(d.getId()||HK(d));(c=c.dD())&&b.add(c.getId()||HK(c))}return b.size},TFc=function(a){return[].concat(_.Jd(new Set(a.map(function(b){return _.Src.get(b)}).filter(function(b){return b})))).join(",")},qL=function(a,
b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Jd(b));b=TFc(b);var d=_.mI(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.Q(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.Q(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.Q(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},UFc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+qL(a,b,!1)+")"},VFc=function(a){var b=new _.Fo;_.cK(b,"hidden",_.P(a,4));a=_.P(a,6);null!=a&&_.cK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},WFc=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}},XFc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.TA()||!1;case 12:return b.iz()||0;case 11:return b.hB()||0;case 10:return b.wq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.ty()||0;case 57:return _.B(b,62)||0;case 32:return b.Tu()||0;case 9:return b.OC()||0;case 67:return b.UJ()||0;case 98:return b.$v()||0;
default:return""}},YFc=function(a){var b=_.ppc(),c={};b&&(c.numeric=b);this.H=_.qpc(a,c)};YFc.prototype.compare=function(a,b,c){b=ZFc(b);c=ZFc(c);a=a.Kc();var d=WFc(a);if(a&&d){d=$Fc(this,a);var e=4===a.getType()?this.H:_.Ga;return aGc(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};YFc.prototype.sort=function(a,b,c){a=a.Kc();var d=WFc(a);a&&d&&(d=$Fc(this,a),d=bGc(b,d),_.Ia(b,cGc(this,a,d)));c&&0<c&&_.sa(b,c,b.length-c)};
var ZFc=function(a){return a instanceof _.Gk?a:a.getItem()},$Fc=function(a,b){b=WFc(b);return _.M(a.O,a,b,_.Ga)},bGc=function(a,b){var c={};a.forEach(function(d){d=ZFc(d);var e=d.getId();c[e]=b(d)});return c},cGc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=ZFc(d);e=ZFc(e);return aGc(b,function(h){return c[h.getId()]},f,d,e)}},aGc=function(a,b,c,d,e){var f=1===a.Xf()?1:-1;if(_.P(a,3)){a=LK(d,!0);var h=LK(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ga(d.getId(),
e.getId()))};YFc.prototype.O=function(a,b,c){for(var d=XFc(a[0],c),e=1;e<a.length;e++){var f=XFc(a[e],c);d=1===b(f,d)?f:d}return d};var dGc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.yq=_.LH(_.YH(b));a=_.FJ(b);this.V=!(!a||!_.Q(a,1,!1));this.O=!(!a||!_.Q(a,8,!1))};dGc.prototype.Xy=function(a){this.rootId=a||""};
var pL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Nb(a.rootId);_.El(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Hb(a.rootId)});_.Ef(b,_.Dl(b).map(function(d){d.Hb(d.Ya().toLowerCase());return d}));c&&_.Cl(b,a.fields);b.H().sort();return b},cL=function(a,b,c){if(b instanceof _.yf){b=pL(a,b);var d=_.xvc(b)}else if(b instanceof _.TF)d=b.ln().sort().join(","),_.Q(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.MH)return d=VFc(b),d+"|tdList";if(b instanceof _.YF)return d=
b.ln().sort().join(","),b.H().length&&(d+="|"+TFc(b.H())),d+"|tdMap";throw Error("We");}return 3===c?d:d+"|"+eGc(a,b.H(),2===c)},eGc=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(_.Jd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.JI({fields:[].concat(_.Jd(f)),yq:a.yq}));e.size&&(d=d+" + "+_.JI({fields:[].concat(_.Jd(e)),yq:a.yq}));
return d};dGc.prototype.equals=function(a,b,c){var d;c&&(d=3);return cL(this,a,d)===cL(this,b,d)};
var GEc=function(a){if(!a.ln().every(function(b){return!_.Me(b)}))throw new _.Nc("Invalid ids for FindByIdsRequest");},gGc=function(a,b,c){if(_.iJ(b))throw new _.Nc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");fGc(a,b,c)},fGc=function(a,b,c){var d;a.O||(d=_.GI(3));if(b.getId())throw new _.Nc("Use findByIds() for find by id queries.",d?d:_.GI(3));if(!b.vi()||0>=b.vi())throw new _.Nc("A positive limit is required on an ItemQueryRequest.",d?d:_.GI(3));
_.ie(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),hGc(a,d,b.H()));if(c=(c=b.Kc())&&WFc(c))d=b.H().length?b.H():a.fields,hGc(a,d,c);if(_.hJ(b)){if(a.yq)throw new _.Nc("User must be authenticated for a Quick Access request.");if(!iGc(a)&&20<b.vi())throw new _.Nc("Limit must be in the range [1, 20].");c=2===_.QJ(b);d=_.ie(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=_.Gj(_.xb(_.Ej(_.xb(_.xb(_.xb(_.bI(_.xb(_.Ej(_.bI(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.yf;if(!_.Oj(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: "+pEc(d,c));}else if(_.Q(b,74,!1))throw new _.Nc("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.jJ(b)){if(a.yq)throw new _.Nc("User must be authenticated for a DrivePriority request.");if(2===
_.QJ(b))throw new _.Nc("Team Drive corpora is not valid for a Drive Priority request.");a=_.xb(_.xb(_.xb(_.Ej(_.bI(b.clone(),1),30),32),45),52);b=new _.yf;if(!_.Oj(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: "+pEc(b,a));}},jGc=function(a,b,c){if(!_.iJ(b))throw new _.Nc("Expected a PeoplePredict request.");fGc(a,b,c);if(a.yq)throw new _.Nc("User must be authenticated for a People Predict request.");
if(2===_.QJ(b))throw new _.Nc("Team Drive corpora is not valid for a People Predict request.");a=_.xb(_.xb(_.xb(_.Ej(_.bI(b.clone(),1),30),32),45),49);b=new _.yf;if(!_.Oj(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: "+pEc(b,a));},hGc=function(a,b,c){var d;a.O||(d=_.GI(3));if(!Fzc(b,c,_.ctc)){var e=_.JI({fields:c,yq:a.yq}),f=_.JI({fields:b,yq:a.yq});a=_.JI({fields:Gzc(c,
b),yq:a.yq});throw new _.Nc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.GI(3));}},iGc=function(a){return 200<=_.SJ(a.H)&&300>_.SJ(a.H)},kGc=function(a){var b=new Set;a=_.m(_.Dl(a));for(var c=a.next();!c.done;c=a.next())switch(_.wMa(c.value.Ya())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");
break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("DRIVE_FORM")}return[].concat(_.Jd(b))},lGc=function(a){switch(_.SJ(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"}},mGc=function(a){_.N.call(this);this.H=a};_.hg(mGc,_.N);_.g=mGc.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.nO=function(a){this.H.addCallback(function(b){b.nO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Xa=function(){this.cancel();mGc.wb.Xa.call(this)};
var hAc=function(a){_.Hy.call(this);this.H=a;this.V=_.Ye(this.H,"message",this.gpb,!1,this)};_.hg(hAc,_.Hy);_.g=hAc.prototype;_.g.Zf=null;_.g.send=function(a,b){var c=[];b=this.Jya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.bsc&&(a=(0,_.Ei)(a));this.H.postMessage(a,c)};
_.g.gpb=function(a){a=a.xe;var b=a.data;if(_.bsc)try{b=JSON.parse(b)}catch(e){return}if(_.Da(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.nCa(a.ports||[],b),d.kFa),null!=b&&d.callback(b))}};
_.g.Jya=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.M)(this.Jya,this,a)):b&&b.constructor==Object?_.Sa(b,function(c,d){c=this.Jya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.nCa=function(a,b){return Array.isArray(b)?b.map((0,_.M)(this.nCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Sa(b,function(c,d){return this.nCa(a,"_port"==d?c.val:c)},this):b};_.g.Xa=function(){_.wi(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;hAc.wb.Xa.call(this)};
var kAc=function(a,b){if("*"==b)return new mGc(_.hi(Error("Xe")));var c=new _.zi(50),d=_.gb(_.aa,c),e=new _.ai(d);_.ci(e,d);c.start();_.Ye(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new hAc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new mGc(e)},nGc=function(a){_.N.call(this);this.H=new _.rpc(a);this.V={};this.O=_.tpc(this.H,
"private");this.W=_.tpc(this.H,"public");this.O.registerService("mics",(0,_.M)(this.wmb,this),!0)};_.hg(nGc,_.N);_.g=nGc.prototype;_.g.AGb=0;_.g.Xa=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.AGb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.wmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.M)(this.vmb,this,b),!0)};
_.g.vmb=function(a,b){a=a(b.data);var c=b.signature;_.Vh(a).then((0,_.M)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var oGc=function(a,b){_.N.call(this);this.W=b;this.started=!1;this.V=new _.rpc(a);this.La(this.V);this.H=new nGc(_.tpc(this.V,"direct"));this.La(this.H)};_.K(oGc,_.N);oGc.prototype.registerService=function(a,b){this.H.registerService(a,b)};oGc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.dg)(d)})};
var jAc=function(a,b){oGc.call(this,a,b);this.O=new nGc(_.tpc(this.V,"passthrough"));this.La(this.O)};_.K(jAc,oGc);var rL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},sL=function(a,b,c,d){a.O.send(b,c||{},d||_.dg)};jAc.prototype.start=function(){this.started||(this.started=!0)};var eAc=[],pGc=function(){_.Hy.call(this);this.H=null};_.K(pGc,_.Hy);pGc.prototype.send=function(a,b){_.y8a(this.H,a,b)};
var lAc=function(){this.O=new pGc;this.H=new pGc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},qGc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},rGc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&dAc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},sGc=function(a){var b=new qGc(a.c,a.m,a.a,a.req);b.H=a.s;return b},tGc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},uGc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&dAc(a.data);return{d:a.data,err:a.error&&b?a.error.Gc():a.error,uid:a.O,s:b}},vGc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.Lc(JSON.parse(a.err)):c;a=new tGc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},cAc=function(a,b){this.H=a;this.CD=b};cAc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.CD[b];return a};
cAc.prototype.Gc=function(){for(var a={},b={},c=0;c<this.CD.length;c++){var d=this.CD[c],e=this.H[c];d instanceof Error?b[e]=_.vI(d).Gc():a[e]=d.Gc()}return{r:a,e:b}};wGc=function(a,b){if(b){var c=[],d=[];_.Qa(a.r,function(e,f){c.push(f);d.push(new _.DJ(JSON.parse(e)))});_.Qa(a.e,function(e,f){c.push(f);e=new _.Lc(JSON.parse(e));d.push(_.HI(e))});return new cAc(c,d)}return a};iAc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
_.jK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.P_=void 0===c?null:c};_.kK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fe=void 0===d?0:d};xGc=function(a){_.kK.call(this,a,void 0,void 0,void 0);this.l4a=new _.pn};_.K(xGc,_.kK);yGc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.mK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.P_=void 0===c?null:c};
_.lK=function(a,b,c){this.response=a;this.Fe=void 0===b?0:b;this.P_=void 0===c?null:c};_.nK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fe=void 0===d?0:d};zGc={LUb:0,gVb:1,i0b:3,x8b:5,Tib:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.RI=function(a){_.J.call(this,a)};_.K(_.RI,_.J);_.RI.prototype.Jh=function(){return _.B(this,1)};_.RI.prototype.se=function(){return _.x(this,_.Kf,3)};_.UI=function(a){_.J.call(this,a)};_.K(_.UI,_.J);
_.UI.prototype.qc=function(){return _.B(this,1)};_.UI.prototype.se=function(){return _.x(this,_.Kf,3)};_.bJ=function(a){_.J.call(this,a)};_.K(_.bJ,_.J);_.bJ.prototype.Jh=function(){return _.B(this,1)};_.bJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.cJ=function(a){_.J.call(this,a)};_.K(_.cJ,_.J);_.cJ.prototype.Jh=function(){return _.B(this,1)};_.cJ.prototype.se=function(){return _.x(this,_.Kf,2)};_.gJ=function(a){_.J.call(this,a)};_.K(_.gJ,_.J);_.g=_.gJ.prototype;
_.g.qc=function(){return _.B(this,1)};_.g.kf=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};_.g.Hb=function(a){return _.w(this,4,a)};_.g.Ci=function(){return _.xb(this,4)};_.g.Sg=function(){return _.yj(this,4)};_.g.se=function(){return _.x(this,_.Kf,7)};_.nJ=function(a){_.J.call(this,a)};_.K(_.nJ,_.J);_.nJ.prototype.qc=function(){return _.B(this,1)};_.nJ.prototype.se=function(){return _.x(this,_.Kf,2)};
_.nJ.prototype.vi=function(){return _.Pj(this,3,1E3)};_.nJ.prototype.Hi=function(a){return _.w(this,3,a)};_.rJ=function(a){_.J.call(this,a)};_.K(_.rJ,_.J);_.rJ.prototype.se=function(){return _.x(this,_.Kf,1)};var AGc=function(){var a=new _.rJ,b=_.Lf(new _.Kf,301);return _.I(a,1,b)};_.rJ.prototype.wc=function(){return _.B(this,3)};_.Atc=function(a){_.J.call(this,a)};_.K(_.Atc,_.J);_.Atc.prototype.wc=function(){return _.B(this,1)};_.vJ=function(a){_.J.call(this,a)};_.K(_.vJ,_.J);
_.vJ.prototype.Jh=function(){return _.B(this,1)};_.vJ.prototype.se=function(){return _.x(this,_.Kf,4)};var BGc=function(a){_.J.call(this,a)};_.K(BGc,_.J);CGc=function(a,b){return _.w(a,1,b)};_.SI=function(a){_.J.call(this,a)};_.K(_.SI,_.J);_.SI.prototype.getId=function(){return _.B(this,1)};_.SI.prototype.Nb=function(a){return _.w(this,1,a)};_.kJ=function(a){_.J.call(this,a)};_.K(_.kJ,_.J);_.kJ.prototype.getId=function(){return _.B(this,1)};_.kJ.prototype.Nb=function(a){return _.w(this,1,a)};
_.ntc=function(a){_.J.call(this,a)};_.K(_.ntc,_.J);var DGc=function(a,b,c){_.yi.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.K(DGc,_.yi);DGc.prototype.xB=function(){return this.O};DGc.prototype.hQ=function(){var a=this;if(this.W)return this.W;var b=_.Zh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);EGc(this,b);return b.promise};
DGc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,FGc(this))};DGc.prototype.wa=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 LEc("pb")))};
var GGc=function(a,b){a.ha=b},FGc=function(a){a.H||(a.H=new _.lwc(5E3),a.timeout=_.n.setTimeout(function(){return HGc(a)},a.H.Ya()))},HGc=function(a){EGc(a);a.H&&(_.UH(a.H),a.timeout=_.n.setTimeout(function(){return HGc(a)},a.H.Ya()))},EGc=function(a,b){var c=_.Vh();a.ha&&(c=a.ha());c.then(function(){return IGc(a,b)})},IGc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Pe(new _.Btc)});b?c.then(function(){b.resolve(CGc(new BGc,1))},function(d){var e=_.Rc(d).Fg;
d=0;_.rsc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.fq(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new BGc;CGc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.Rc(d);_.rsc(d.Fg)&&a.V&&(a.dispatchEvent(new LEc("qb")),a.V=!1)})};DGc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};_.Ctc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.rtc=function(a){this.H=a;this.type=1};_.stc=function(a){this.H=a;this.type=0};_.ztc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};JGc=function(a){return _.Sj(a,_.nI,3,_.pI)||_.Sj(a,_.BJ,4,_.pI)||_.Sj(a,_.qK,5,_.pI)||_.Sj(a,_.yJ,6,_.pI)||_.Sj(a,_.WI,7,_.pI)||_.Sj(a,_.PI,8,_.pI)||_.Sj(a,_.TI,9,_.pI)||_.Sj(a,_.xI,10,_.pI)};KGc=function(a){_.J.call(this,a)};_.K(KGc,_.J);_.g=KGc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};
_.g.Lz=function(){return _.B(this,3)};_.g.Ie=function(){return _.B(this,4)};_.g.zi=function(a){return _.w(this,4,a)};var LGc=function(a){this.Zf=a;this.H=new Map;this.O=this.Zf.W};
LGc.prototype.create=function(a,b){if(0!=$Dc(b)){var c=this.Zf.H(106001);if(c){var d=$Dc(b),e=WK(c);_.w(e,2,d);d=WK(c);e=null;if(b instanceof _.fG||b instanceof _.TF||b instanceof _.yf||b instanceof _.lJ||b instanceof _.eD||b instanceof _.YF||b instanceof _.MH||b instanceof _.ZH||b instanceof _.ZF||b instanceof _.Rz)e=b.se();e=e&&_.Q(e,2,!1);_.w(d,7,"boolean"==typeof e?e:void 0);d=WK(c);b=b instanceof _.yf?0<_.El(b).length:void 0;_.w(d,8,b);this.H.set(a,c)}}};
var MGc=function(a,b,c){if(a=a.H.get(b))a=WK(a),_.w(a,5,c)},NGc=function(a,b,c){(a=a.H.get(b))&&_.P(WK(a),8)&&(a=WK(a),_.w(a,9,c))},OGc=function(a,b,c,d,e){var f=a.H.get(b);f&&(WK(f).Ac(c),WK(f).yi(d),null!=e&&(c=WK(f),_.w(c,6,e)),f.vj(),a.H.delete(b))},PGc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=aEc(c);if(1==e||2==c)e=_.fK(_.esc,c),d=WK(d),d=3==e||8==e?!_.P(d,5):0!=e?_.Dsc.has(e):null,OGc(a,b,1,e,d)}},QGc=function(a,b,c){var d=a.O.Cb(c);d=_.fK(_.dsc,d||22);var e=aEc(c);e=_.fK(_.esc,
e);OGc(a,b,d,e,"undefined"!=typeof _.jK&&c instanceof _.jK||"undefined"!=typeof _.lK&&c instanceof _.lK||"undefined"!=typeof _.mK&&c instanceof _.mK?c.P_:null)},tL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(WK(d).Ac(c),d.vj(),a.H.delete(b))},RGc=[2,4],uL=function(a){_.J.call(this,a,-1,RGc)};_.K(uL,_.J);uL.prototype.Cb=function(){return _.B(this,1)};uL.prototype.Ac=function(a){return _.w(this,1,a)};uL.prototype.Wj=function(){return _.B(this,3)};
var SGc=[2],vL=function(a){_.J.call(this,a,-1,SGc)};_.K(vL,_.J);vL.prototype.getName=function(){return _.B(this,1)};vL.prototype.$c=function(a){return _.w(this,1,a)};vL.prototype.H=function(){return _.Ab(this,dL,2)};var TGc=function(a,b){_.Fj(a,2,b)};vL.prototype.qc=function(){return _.B(this,3)};var UGc=function(a,b){return _.w(a,3,b)},VGc=[2],wL=function(a){_.J.call(this,a,-1,VGc)};_.K(wL,_.J);wL.prototype.Cb=function(){return _.B(this,1)};wL.prototype.Ac=function(a){return _.w(this,1,a)};
wL.prototype.H=function(){return _.Ab(this,vL,2)};var WGc=function(a,b){return _.Fj(a,2,b)};wL.prototype.Wj=function(){return _.B(this,3)};var XGc=[4,9],YGc=function(a){_.J.call(this,a,-1,XGc)};_.K(YGc,_.J);_.g=YGc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.vWa=function(){return _.B(this,2)};_.g.DMa=function(){return _.B(this,3)};_.g.gtb=function(){return _.Ab(this,_.rI,4)};
var ZGc={e8b:0,I2b:1,L2b:2,J2b:4,p0b:5,wYb:6,w0b:7,Y2b:8},$Gc=function(a){_.J.call(this,a)};_.K($Gc,_.J);$Gc.prototype.getUrl=function(){return _.B(this,1)};var xL=function(a){_.J.call(this,a)};_.K(xL,_.J);var aHc=function(a,b){return _.w(a,1,b)};xL.prototype.getName=function(){return _.B(this,2)};xL.prototype.$c=function(a){return _.w(this,2,a)};xL.prototype.getEmail=function(){return _.B(this,3)};var bHc=function(a,b){return _.w(a,3,b)};xL.prototype.hq=function(){return _.yj(this,3)};
var cHc=[1],dHc=function(a){_.J.call(this,a,-1,cHc)};_.K(dHc,_.J);var eHc=function(a,b){return _.Fj(a,1,b)},fHc=[2],yL=function(a){_.J.call(this,a,-1,fHc)};_.K(yL,_.J);yL.prototype.Cb=function(){return _.B(this,1)};yL.prototype.Ac=function(a){return _.w(this,1,a)};yL.prototype.Zk=function(){return _.Ab(this,_.UA,2)};var gHc=function(a,b){return _.Fj(a,2,b)};yL.prototype.Wj=function(){return _.B(this,3)};var hHc=function(a){_.J.call(this,a)};_.K(hHc,_.J);_.g=hHc.prototype;
_.g.qc=function(){return _.B(this,1)};_.g.Cb=function(){return _.B(this,2)};_.g.Ac=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.x(this,_.Lc,3)};_.g.Me=function(a){return _.I(this,3,a)};_.g.Yn=function(){return _.yj(this,3)};var iHc=[1],jHc=function(a){_.J.call(this,a,-1,iHc)};_.K(jHc,_.J);var kHc=function(a,b){return _.Dj(a,1,b)},lHc=function(a,b){this.O=a|0;this.H=b|0};lHc.prototype.equals=function(a){return this===a?!0:a instanceof lHc?this.O===a.O&&this.H===a.H:!1};
lHc.prototype.zc=function(){return 31*this.O+17*this.H|0};
var mHc=function(a,b){return new lHc(a,b)},nHc=function(a,b){b=~b;a?a=~a+1:b+=1;return mHc(a,b)},oHc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?nHc:mHc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},pHc=function(){this.H=this.W=this.O=this.V=null},qHc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=null;this.started=!1},zL=function(a,b,c){if(a.started)throw Error("ff");c={zo: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)}},AL=function(a,b){if(!a.started)throw Error("gf");if(!a.enabled)throw Error("hf`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.zo.delete(b);if(0===e.zo.size)try{e.callback()}catch(f){throw a.enabled=!1,a.error=f?_.HI(f):null,f;}}}};qHc.prototype.H=function(a){return this.V.has(a)};
qHc.prototype.start=function(){this.started=!0};qHc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var rHc=function(a,b,c){this.id=a;this.O=b;this.H=c},sHc=function(a,b){return new rHc((a?a:b).getId(),a,b)},BL=function(a){return new rHc(a.getId(),null,a)},tHc=function(a,b){this.lt=a;this.Av=b;this.lD=!0;this.Y7=!1;this.Fe=0},CL=function(a,b){(a.lD=b)||a.rJ()};_.g=tHc.prototype;
_.g.Uka=function(a,b){if(5===this.xE(a))throw Error("jf");for(var c=[],d=_.m(this.iy()),e=d.next();!e.done;e=d.next())e=e.value,oL(this.lt,a,e.getItem())&&c.push(e);this.Av.sort(a,c,b);return c};_.g.zd=function(){return this.iy().length};_.g.Xj=function(a,b){a=this.Uka(a,b);a=CAc(a);b=new _.VA;b.KA(a);b.Ac(this.xN()?6:1);return b};_.g.update=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(!b&&!c)return!1;b&&this.iJ(a.O);c&&this.sR(a.H);return!0};
_.g.xE=function(a){return this.lD&&this.Y7?MFc(a)?1:5:5};_.g.aX=function(){this.Y7=!0};_.g.ds=function(a){return!!a&&this.lD};_.g.yi=function(a){this.Fe=a};_.g.Qe=function(){return this.Fe};var DL=function(a,b,c,d,e,f){f=void 0===f?"":f;tHc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Cd=[];this.O={};this.request=pL(c,d,!0);this.W=cL(c,d);this.H=!e;uHc(this,e);this.V=function(k,l){return h.Av.compare(h.request,k,l)}};_.K(DL,tHc);_.g=DL.prototype;_.g.ld=function(){return this.request};
_.g.IM=function(){return this.W};_.g.sR=function(a){var b=this.O[a.getId()];b&&this.iJ(b);uzc(this.Cd,a,this.V);this.O[a.getId()]=a;a.count++;this.Cd.length>this.request.vi()&&(this.iJ(_.ia(this.Cd)),this.H=!1)};_.g.iJ=function(a){var b=this.Cd,c=_.Ha(b,a,this.V);0<=c&&_.va(b,c);_.$a(this.O,a.getId());a.count--};_.g.rJ=function(){this.Cd.forEach(function(a){a.count--});this.Cd=[];this.O={}};_.g.iy=function(){return this.Cd};
_.g.xE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.H(),b=this.request.H(),b=Fzc(b,a,_.ctc);return b?this.H?1:6:5};_.g.Uka=function(a,b){if(5===this.xE(a))throw Error("jf");b=b?Math.min(b,this.Cd.length):this.Cd.length;return _.Ca(this.Cd,0,b)};_.g.ds=function(a){if(!tHc.prototype.ds.call(this,a)||!oL(this.lt,this.request,a.getItem()))return!1;if(this.H||_.Q(this.request,48,!1))return!0;var b=_.ia(this.Cd);return!!b&&0>=this.V(a,b)};_.g.xN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.jl=function(a,b){var c=this,d=_.ia(this.Cd);!this.H&&d&&_.la(a,function(e){return e.getId()===d.getId()})&&(b?(this.iJ(d),uHc(this,_.ia(a))):this.H=!0);_.Ka(a,function(e){c.update(BL(e))})};var uHc=function(a,b){b&&oL(a.lt,a.request,b.getItem())&&a.sR(b)};DL.prototype.py=function(){return this.nextPageToken};var EL=function(a,b){tHc.call(this,a,b);this.Cd=new Map};_.K(EL,tHc);EL.prototype.sR=function(a){this.Cd.set(a.getId(),a);a.count++};
EL.prototype.iJ=function(a){this.Cd.delete(a.getId());a.count--};EL.prototype.rJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Cd=new Map};EL.prototype.iy=function(){return Array.from(this.Cd.values())};var vHc=function(a,b){EL.call(this,a,b);this.aX()};_.K(vHc,EL);_.g=vHc.prototype;
_.g.xE=function(a){var b=this,c=EL.prototype.xE.call(this,a);if(5===c)return c;if(0<_.ie(a,33).length)return 5;a=_.El(a);return 0<a.length?a.every(function(d){return(d=b.Cd.get(d.Ya()))&&!d.getItem().wc()&&d.H})?1:5:5};_.g.ds=function(a){return EL.prototype.ds.call(this,a)&&!(null===a||void 0===a?0:a.getItem().wc())};_.g.Uka=function(a,b){for(var c=[],d=_.m(this.iy()),e=d.next();!e.done;e=d.next())e=e.value,oL(this.lt,a,e.getItem())&&c.push(e);this.Av.sort(a,c,b);return c};_.g.ld=function(){return new _.yf};
_.g.IM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.xN=function(){return!1};var wHc=function(a){return[].concat(_.Jd(a.Cd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},FL=function(a,b,c,d){EL.call(this,a,b);var e=this;this.H=d;zL(c,["aU7Ts","BNEDtc"],function(){return e.aX()})};_.K(FL,EL);
FL.prototype.xE=function(a){var b=this,c=EL.prototype.xE.call(this,a);if(5==c)return c;if(0<_.ie(a,33).length)return 5;a=_.El(a);return 0<a.length&&!a.every(function(d){d=b.Cd.get(d.Ya());return null!=d&&!d.getItem().wc()&&Ozc(d.getItem())&&!_.P(d.getItem(),108)})?5:1};FL.prototype.ds=function(a){return EL.prototype.ds.call(this,a)&&xHc(this,a.getItem())};var xHc=function(a,b){if(_.P(b,31)||!a.Y7)return!0;var c=a.H();return b.rk().some(function(d){var e=a.Cd.get(d);return d==c||null!=e&&Ozc(e.getItem())})};
_.g=FL.prototype;_.g.aX=function(){EL.prototype.aX.call(this);for(var a=_.m(this.Cd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;xHc(this,c.getItem())||(c.count--,this.Cd.delete(b))}};_.g.ld=function(){return new _.yf};_.g.IM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.xN=function(){return!1};
var yHc=/^[\x00-\x7F]*$/,GL=function(){this.H=[this.W,this.O,this.V,this.ha,this.CFb,this.yFb,this.oFb,this.rFb,this.qFb,this.vFb,this.mFb,this.pFb,this.wFb,this.xFb,this.zFb,this.nFb,this.BFb,this.AFb,this.jFb,this.tFb,this.sFb,this.kFb,this.uFb,this.DFb,this.lFb];this.rootId=""};GL.prototype.Xy=function(a){this.rootId=a||""};
var MFc=function(a){return zHc(a)&&0==_.ie(a,40).length&&void 0==_.B(a,41)},zHc=function(a){var b=!0;_.Ab(a,_.Af,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Kc();c=!c||5!=c.getType();return 0==_.Ab(a,_.ul,5).length&&0==_.Ab(a,_.Af,14).length&&0==_.Ab(a,_.Af,15).length&&!_.yj(a,58)&&!_.P(a,18)&&!_.P(a,34)&&0==_.Ab(a,_.pl,35).length&&0==_.Ab(a,_.pl,38).length&&c&&b&&0==_.ie(a,39).length&&!_.B(a,42)&&0==_.Ab(a,_.ol,44).length&&!_.hJ(a)&&!_.iJ(a)&&!_.jJ(a)&&0==_.Ab(a,_.ql,57).length&&AHc(a)&&
!_.x(a,_.kpa,59)&&null==_.P(a,60)&&0==_.Ab(a,_.Af,68).length&&0==_.Ab(a,_.Af,67).length&&null==_.P(a,69)&&!_.P(a,73)},AHc=function(a){return _.Ab(a,_.vl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&yHc.test(b)})};GL.prototype.T8=function(a,b){var c=this;return b.filter(function(d){return oL(c,a,d)})};var oL=function(a,b,c){return!!c&&BHc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},BHc=function(a,b){return b.getId()!=a.rootId&&!mL(b)};
GL.prototype.W=function(a,b){var c=!0,d=_.Ab(a,_.vl,4);if(!AHc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Ya()){var f=_.Q(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Ya().toLowerCase();if(2==_.B(e,1))h=k==h,c=c&&(f?!h:h);else{e=[];if(0<=k.indexOf("-"))for(var l=RegExp("\\w*-[\\w-]*"),p=_.m(k.match(l)||[]),q=p.next();!q.done;q=p.next())e.push(q.value),k=k.replace(l,"");e.push.apply(e,_.Jd(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.zg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.Zg(l)+"($|[^\\w])|(^|[ ])"+_.Zg(l)):new RegExp(_.Zg(l))),c=c&&(f?!l:l))}}}return c};
GL.prototype.O=function(a,b){var c=_.Dl(a),d=0,e=0,f=!1,h=!1;c=_.m(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.Ya()){var l=b.getMimeType()||"";if(_.P(k,4)){var p=b.wf();l=p&&_.B(p,3)||""}p=_.Q(k,2,!1);var q=k.Ya();_.GJ(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.Bj(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
GL.prototype.V=function(a,b){var c=!0;a=_.Ab(a,_.sl,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.wq();c=c&&CHc(e,d)}return c};GL.prototype.ha=function(a,b){var c=!0;a=_.Ab(a,_.sl,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.iz();c=c&&CHc(e,d)}return c};var CHc=function(a,b){if(null!=_.B(b,2))switch(_.B(b,1)){case 1:return a<=_.B(b,2);case 2:return a<_.B(b,2);case 3:return a==_.B(b,2);case 4:return a>_.B(b,2);case 5:return a>=_.B(b,2);default:return!1}return!0};
_.g=GL.prototype;_.g.CFb=function(a,b){var c=a.Qh();a=_.QJ(a);return null==c||c==!!b.Qh()&&(!c||1==b.To()||!(!a||2!=a&&3!=a))};_.g.yFb=function(a,b){return null==_.P(a,10)||_.P(a,10)==!!b.TA()};_.g.oFb=function(a,b){return null==_.P(a,11)||_.P(a,11)==!!_.P(b,6)};_.g.rFb=function(a,b){a=_.El(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ya()){var d="root"==c.Ya()&&this.rootId||c.Ya();d=b.rk().includes(d);if(_.Q(c,2,!1)?d:!d)return!1}return!0};
_.g.qFb=function(a,b){a=_.Ab(a,_.Af,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Ya()){var d=1==b.To();if(_.Q(c,2,!1)?d:!d)return!1}return!0};_.g.vFb=function(a,b){return null==_.P(a,16)||(_.P(a,16)?null!=b.ty():!0)};_.g.mFb=function(a,b){var c=_.P(a,17);a=_.QJ(a);return null==c||c==!!b.JI()&&(!c||1==b.To()||!(!a||2!=a&&3!=a))};_.g.pFb=function(a,b){b=Yzc(b);return null==_.P(a,19)||_.P(a,19)==!!_.Ck(b)};
_.g.wFb=function(a,b){var c=_.fb(_.ie(b,56));a=_.Ab(a,_.PJ,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})};_.g.xFb=function(a,b){if(0==a.qB().length)return!0;var c=_.fb(b.qB().map(function(d){return d.cR()}));a=_.fb(a.qB().map(function(d){return d.cR()}));return _.Ta(a,function(d,e){return c[e]})};_.g.zFb=function(a,b){a=_.ie(a,33);return!a.length||a.includes(b.wc()||"")};_.g.nFb=function(a,b){var c=_.fb(_.ie(b,50));a=_.Ab(a,_.tl,37);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})};
_.g.BFb=function(a,b){return _.B(a,41)?(b=_.x(b,_.KJ,86),null!=b&&_.B(a,41)==_.B(b,3)):!0};_.g.AFb=function(a,b){if(_.ie(a,40).length){if(b=_.x(b,_.KJ,86)){var c=_.fb(_.ie(b,2));return _.ie(a,40).some(function(d){return c[d]})}return!1}return!0};_.g.jFb=function(a,b){var c=_.QJ(a);return 1==c?(b=_.P(b,31),!!_.El(a).length||!!_.Ab(a,_.pl,35).length||1==_.P(a,18)||_.hJ(a)||_.iJ(a)||_.jJ(a)||!!a.Dp()||null==b||b):2==c?!!b.wc():!0};
_.g.tFb=function(a,b){return _.hJ(a)?!_.yj(b,100)||b.Qh()?!1:_.Q(a,74,!1)?!!_.P(_.Jk(b),4):!!_.P(_.Jk(b),3):!0};_.g.sFb=function(a,b){return _.iJ(a)?!!_.Kk(b).length&&!b.Qh():!0};_.g.kFb=function(a,b){return _.jJ(a)?!!_.Lk(b).length&&!b.Qh():!0};_.g.uFb=function(a,b){return _.yj(a,50)?_.Q(a,50,!1)?_.yj(b,101)&&0!==_.B(b,101):!_.yj(b,101):!0};_.g.DFb=function(a,b){a=a.Dp();return!a||_.ie(b,120).includes(a)};
_.g.lFb=function(a,b){b=_.x(b,_.IJ,138);return null==_.P(a,65)||null==b?!0:_.P(a,65)==(2==_.B(b,1))};var HL=function(a,b,c,d){d=void 0===d?5E3:d;EL.call(this,a,b);this.teamDriveId=c;this.limit=d};_.K(HL,EL);_.g=HL.prototype;
_.g.xE=function(a){var b=this,c=EL.prototype.xE.call(this,a);if(5==c)return c;c=_.El(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Cd.get(f)||b.teamDriveId==f)&&!_.Q(e,2,!1)});if(0<c.length&&d)return 1;a=_.ie(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.ds=function(a){return EL.prototype.ds.call(this,a)&&!!a&&a.getItem().wc()==this.teamDriveId&&!mL(a.getItem())};_.g.xN=function(){return!1};_.g.ld=function(){var a=new _.yf;_.Gl(a,[this.teamDriveId]);_.Hl(a,2);return a};
_.g.IM=function(){return null};_.g.wc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var DHc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.yf;_.w(a,48,!0);b=new _.wd;_.yd(b,11);_.zd(b,2);_.zf(a,b);this.ma=pL(this.W,a,!0)};
DHc.prototype.add=function(a){a instanceof FL?this.H=a:a instanceof vHc?this.O=a:a instanceof DL?(this.log("Adding new cache hint for "+cL(this.W,a.ld(),2)),this.ha.push(a)):a instanceof HL&&this.V.push(a)};
DHc.prototype.remove=function(a){var b=this;if(a instanceof FL)this.H&&(CL(this.H,!1),this.H=null);else if(a instanceof vHc)this.O&&(CL(this.O,!1),this.O=null);else if(a instanceof DL){var c=_.ka(this.ha,function(d){return b.W.equals(d.ld(),a.ld())});0<=c&&(CL(this.ha[c],!1),_.va(this.ha,c))}else a instanceof HL&&(c=_.ka(this.V,function(d){return b.W.equals(d.ld(),a.ld())}),0<=c&&(CL(this.V[c],!1),_.va(this.V,c)))};
var EHc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.Ba(b,_.Aa(a.ha));_.Ba(b,_.Aa(a.V));return b},FHc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.ld().clone(),_.xb(c,32),_.Gj(c,26),!_.Oj(a.ma,c)):!0})};DHc.prototype.ZV=function(){return _.Aa(this.V)};var GHc=function(a,b){return _.xg(a.V,function(c){return c.wc()===b})},HHc=function(a,b){return FHc(a).find(function(c){return a.W.equals(c.ld(),pL(a.W,b,!0))})};
DHc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var IHc=function(a,b){_.oi.call(this,"Db");this.ids=a;this.error=b};_.K(IHc,_.oi);IHc.prototype.getError=function(){return this.error};IHc.prototype.H=function(){return this.ids};var JHc=function(a){_.oi.call(this,"Eb");this.people=a};_.K(JHc,_.oi);JHc.prototype.getPeople=function(){return this.people};var KHc=function(a){_.oi.call(this,"Fb");this.people=a};_.K(KHc,_.oi);
KHc.prototype.getPeople=function(){return this.people};var MHc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Fe=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);LHc(this)};MHc.prototype.Qe=function(){return this.Fe};
var NHc=function(a){return 0===a.Fe?1:2===a.Fe||(1===a.Fe||4===a.Fe)&&(a.person.hq()||a.O)?3:2},OHc=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=NHc(a),e=a.Qe();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=bHc(b.clone(),a.getEmail(b)),e=!_.Oj(a.person,b),a.person=b,a.Fe=c,LHc(a),e||d!==NHc(a);if(4===c)return a.Fe=c,LHc(a),d!==NHc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(bHc(a.person,a.getEmail(b)),!0):!1};
MHc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var LHc=function(a){1===a.Fe?(a.W=Date.now(),a.V=null):4===a.Fe&&(a.V=Date.now())},QHc=function(a,b,c,d){var e;_.yi.call(this);var f=this;this.O=a;this.V=b;this.W=c;this.ka=d;this.H=[];this.ha=(null===(e=_.FJ(a))||void 0===e?0:_.Q(e,20,!1))?500:50;this.ma=new _.jI(function(){return PHc(f)},100,this)};_.K(QHc,_.yi);
QHc.prototype.nh=function(a){a&&_.mI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ma.le())};var PHc=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,a.ha);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};
QHc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Pe;var e=new _.qJ;e=_.Dj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Ab(c,xL,1);b.dispatchEvent(new JHc(c))},function(c){c=_.Rc(c);b.dispatchEvent(new IHc(a,c))})};QHc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var THc=function(a,b,c,d,e){_.yi.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Rc=new _.jf(this);this.La(this.Rc);this.ka=b;this.ha=d;this.ta=_.Pj(_.x(a,NCc,85)||new NCc,1,864E5);this.W=new QHc(a,b,c,e);this.ma=new _.vD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:YK(h,106015);if(k){h=_.x(_.eK(k),vDc,11);if(!h){h=new vDc;var l=_.eK(k);_.I(l,11,h)}h=_.w(h,1,f.H.size);_.w(h,2,f.O.size);k.vj()}},500,this);this.Rc.listen(this.W,"Eb",function(h){h=h.getPeople();RHc(f,
h,1);f.ma.le()});this.Rc.listen(this.W,"Db",function(h){SHc(f,h)})};_.K(THc,_.yi);THc.prototype.get=function(a){var b=this.H.get(a);return b?(UHc(this,b)&&VHc(this,a),b):null};var VHc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.nh(b);var c=new _.pn;a.V.set(b,c);return c.promise};THc.prototype.Sb=function(a){var b=this;return WHc(this,a)?Promise.resolve(this.H.get(a)):VHc(this,a).then(function(){return b.H.get(a)})};
THc.prototype.lc=function(){return 0===this.H.size};THc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var XHc=function(a){return[].concat(_.Jd(a.H.values())).filter(function(b){return 3===NHc(b)&&4!==b.Qe()}).map(function(b){return b.person.clone()})},YHc=function(a,b){return(a=a.H.get(b))?[].concat(_.Jd(a.H)):[]},ZHc=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(_.Jd(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},RHc=function(a,b,c){if(![1,2].includes(c))throw Error("kf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(ZGc)[c]+".")),$Hc(a,b,c))},bIc=function(a,b,c,d){0!==b.length&&aIc(a,b,c,void 0===d?0:d)},WHc=function(a,b){b=a.H.get(b);return!(!b||3!==NHc(b)||UHc(a,b))},aIc=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=_.B(f,1),k=a.H.get(h);if(k)OHc(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&&VHc(k,_.B(f,1));l=new MHc(f,p,l);k.H.set(_.B(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},UHc=function(a,
b){switch(b.Qe()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};THc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var SHc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():aHc(new xL,c)});$Hc(a,b,4)},$Hc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.B(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}aIc(a,b,void 0,c)&&a.dispatchEvent(new KHc(b))},cIc=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.Rc=new _.jf(this);this.La(this.Rc);this.H=new THc(a,b,c,e,f);this.O=_.FJ(a)||new _.nuc;this.Rc.listen(this.H,"Fb",function(k){return h.dispatchEvent(k)})};
_.K(cIc,_.yi);cIc.prototype.VO=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=dIc(this,[c]).map(function(e){return eIc(b,e)});bIc(this.H,d,a.H.getId(),this.Qe(_.B(c,82)))}a.O&&ZHc(this.H,a.id,fIc(this,a))};cIc.prototype.Qe=function(a){return _.Msc.get(a)||0};
var fIc=function(a,b){var c=gIc(a,b.O),d=gIc(a,b.H);return c.filter(function(e){return!d.includes(e)})},gIc=function(a,b){return b?hIc(a,[b.getItem()]):[]},jIc=function(a,b){b=b.getUser();bIc(a.H,[eIc(a,b)],"ACCOUNT");iIc(a,b)},lIc=function(a,b){var c=_.Ab(b,_.XJ,2).map(function(d){var e=_.x(d,_.tk,9,1);return a.H.Sb(HK(e)).then(function(){return void kIc(a,[e])})});return Promise.all(c).then(function(){return b})},mIc=function(a,b){kIc(a,dIc(a,b))},kIc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,HK(c)&&iIc(a,c)},nIc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,HK(f)&&(d.add(HK(f)),bIc(a.H,[eIc(a,f)],c));return Promise.all([].concat(_.Jd(d)).map(function(h){return a.H.Sb(h)})).then(function(){return kIc(a,b)})},oIc=function(a,b){return hIc(a,[b]).some(function(c){return!WHc(a.H,c)})},hIc=function(a,b){var c=new Set;a=dIc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=HK(b.value))&&c.add(b);return[].concat(_.Jd(c))},dIc=function(a,
b){return b.map(function(c){var d=c.Zv();d=d?[].concat(_.Jd(d.fR()),_.Jd(_.Ab(d,_.tk,3))):[];var e=c.wf();e=(e=e&&_.ne(e))?dIc(a,[e]):[];return[].concat(_.Jd(_.Hk(c)),[c.ym(),c.Jr(),c.aq(),c.dD()],_.Jd(d),_.Jd(e))}).flat().filter(function(c){return c&&!!HK(c)})};cIc.prototype.Ed=function(a){return YHc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var pIc=function(a){return eHc(new dHc,XHc(a.H))},qIc=function(a,b){return b.map(function(c){c=c.clone();var d=dIc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.xb(e,3),_.xb(e,8),_.xb(e,5);return c})},sIc=function(a,b){return b.some(function(c){return rIc(a,c)})},rIc=function(a,b){return dIc(a,[b]).some(function(c){return _.yj(c,3)||c.hq()||_.yj(c,5)})},iIc=function(a,b){var c=a.H.get(HK(b));if(c){a=c.person.clone();var d=_.Qtc(b.$c(a.getName()),a.getEmail());c=NHc(c);_.w(d,16,
c);(a=_.x(a,$Gc,4))&&b.Jn(a.getUrl())}},eIc=function(a,b){var c=HK(b);c=bHc(aHc(new xL,c).$c(b.getName()),b.getEmail());var d=new $Gc;d=_.w(d,1,_.B(b,5));c=_.I(c,4,d);_.Q(a.O,9,!1)&&(_.xb(b,3),_.xb(b,8),_.xb(b,5));return c},tIc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};tIc.prototype.Rf=function(){return this.suggestionSessionId};tIc.prototype.mAa=function(){return this.O};tIc.prototype.lc=function(){return this.H};
var uIc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},vIc=function(a,b){a=uIc(a);b=uIc(b);return!(!a||!b||a!==b)},wIc=function(a){return a.qc()+"_"+uIc(a.getName())},xIc=function(a,b){var c=_.ie(a,1).map(function(d,e){return b[Number(e)].value.l4a.promise});return Promise.allSettled(c).then(function(d){return _.ie(a,1).map(function(e,f){e=e.toString();var h=new hHc;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Ac(1):(e.Ac(3),e.Me(f.reason.Fg));return e})})},IL=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Fy=new Set;this.status=6;this.V=new Map;this.Fe=0};_.K(IL,_.N);_.g=IL.prototype;_.g.Yh=function(a){var b=this;this.Fy.add(a);return this.resize().then(function(){return b.lO(a)})};_.g.Zj=function(a){this.Fy.delete(a);0===this.Fy.size&&this.dispose()};_.g.Qe=function(){return this.Fe};_.g.yi=function(a){this.Fe=a};
_.g.iD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Ju(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.JX():_.Vh([])};_.g.JX=function(){for(var a=[],b=_.m(this.Fy.values()),c=b.next();!c.done;c=b.next())a.push(this.lO(c.value));return _.Xh(a)};
_.g.IX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Fy.values()),e=d.next();!e.done;c={Sqa:c.Sqa},e=d.next())c.Sqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.IX(f.Sqa,a)}}(c)));return _.Xh(b)};_.g.kA=function(){for(var a=this,b=[],c={},d=_.m(this.Fy.values()),e=d.next();!e.done;c={Tqa:c.Tqa},e=d.next())c.Tqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.kA(f.Tqa)}}(c)));return _.Xh(b).then(function(){a.yi(0===a.Qe()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Fy.forEach(function(d){d=b.Cka(d);c=Math.max(c,d.vi?d.vi()||0:0)});a.nfa(c)})};var yIc=function(a,b){return b?a.V.get(a.eka(b))||null:null};_.g=IL.prototype;_.g.VH=function(a,b){var c=yIc(this,a);b=AFc(c,b);this.V.set(this.eka(a),b)};_.g.eka=function(a){return a};_.g.EMa=function(){return[]};_.g.lO=function(a){var b=this;return this.O.then(function(c){return void c.lO(a,b.Xj())})};_.g.removeItem=function(){};
var JL=function(a,b){_.yi.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.K(JL,_.yi);var zIc=function(a){return!a.O||""!==a.pageToken};JL.prototype.nh=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&zIc(this)?AIc(this):_.Vh()};
var AIc=function(a){a.O=!0;a.H=!0;var b=a.jia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return BIc(a,c)},function(c){return a.handleError(c)})},BIc=function(a,b){a.H=!1;a.pageToken=a.vka(b);b=a.Ija(b);b.forEach(function(c){return a.data.push(c)});a.a6(b);return a.data.length<a.limit&&zIc(a)?_.Xh([_.Vh(b),AIc(a)]).then(function(c){return c[0].concat(c[1])}):_.Vh(b)};
JL.prototype.handleError=function(a){this.H=!1;a=_.vI(a);var b=new $K(a);this.FMa(b);this.dispatchEvent(b);return _.Wh(a)};JL.prototype.a6=function(){};JL.prototype.FMa=function(){};var CIc=function(a,b,c){JL.call(this,c,function(d){return a.then(function(e){return e.Pe(d)}).tg(function(e){return void _.II(e)})});this.V=b};_.K(CIc,JL);_.g=CIc.prototype;_.g.jia=function(a,b,c){a=a.clone();a.Hi(b);return new _.ptc(a,c)};_.g.vka=function(a){return a.pageToken||""};_.g.Ija=function(a){return a.response.H()};
_.g.a6=function(a){this.V.iD(a,!1,1)};_.g.FMa=function(a){this.V.sB(this.request,a)};var DIc=function(a,b,c,d){IL.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.K(DIc,IL);_.g=DIc.prototype;_.g.refresh=function(){this.kA();this.H=new CIc(this.ha,this.W,this.request);return this.H.nh(this.request.vi()||100)};_.g.yp=function(a){return this.data.find(function(b){return vIc(b.getName(),a)})};
_.g.nfa=function(a){this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};_.g.Xj=function(){var a=this,b=WGc((new wL).Ac(this.status),this.data.filter(function(c){return a.W.qDa(c)}).map(function(c){return c.clone()}));return new _.kK(b,void 0,void 0,this.Qe())};_.g.iD=function(a,b,c){var d=this;a=a.filter(function(e){return e.qc()===d.request.qc()});return IL.prototype.iD.call(this,a,b,c)};
_.g.Ju=function(a,b){b=void 0===b?1:b;if(!Xzc(yIc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return vIc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.VH(a.getName(),b);return!0};_.g.removeItem=function(a){_.xa(this.data,function(b){return vIc(b.getName(),a)})&&(this.V.delete(this.eka(a)),this.JX())};_.g.eka=function(a){return uIc(a)};_.g.VH=function(a,b){this.yp(a)&&IL.prototype.VH.call(this,a,b)};
_.g.EMa=function(a){var b=this;return a instanceof _.wJ&&a.qc()===this.request.qc()?a.FV().map(function(c){return b.yp(c.Cm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var KL=function(){this.H=new Map};KL.prototype.Yh=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.mia(b),this.H.set(c,d));d.Yh(a);return e};var EIc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.fxa(c),a.H.set(d,e));e.Yh(b);return f};
KL.prototype.Zj=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.Zj(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var FIc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.Zj(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},GIc=function(a,b){return a.H.get(b)};KL.prototype.iD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.qDa(f)});this.H.forEach(function(f){f.iD(e,b,c)})};KL.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var HIc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.EMa(b)});return[].concat.apply([],_.Jd(a))};KL.prototype.VH=function(a,b){this.H.forEach(function(c){c.VH(a,b)})};KL.prototype.qDa=function(){return!0};KL.prototype.sB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.IX(b)};KL.prototype.B2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.mia(b),f.yi(c),this.H.set(e,f),this.iD(a,d))};var IIc=function(){this.V=new Set;this.O=0;this.H=[]},JIc=function(a,b){a.V.add(b)};
IIc.prototype.W=function(a){this.V.delete(a)};var KIc=function(a,b){var c;if(c=b instanceof _.Gk)c=b.$v(),c=!!(b.Qh()&&c&&c<=Math.max.apply(Math,_.Jd([a.O].concat(_.Jd(a.H)))));if(c)return!0;b=b instanceof _.Gk?b.getId():b;return a.V.has(b)},LIc=function(a,b){return _.xa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};IIc.prototype.T8=function(a){var b=this;return a.filter(function(c){return!KIc(b,c)})};var MIc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new IIc};_.K(MIc,KL);
var NIc=function(a,b){JIc(a.O,wIc(b));(a=GIc(a,b.qc()))&&a.JX()};_.g=MIc.prototype;_.g.getKey=function(a){return a.qc()};_.g.mia=function(a){return new DIc(this.V,this.W,this,a)};_.g.fxa=function(a){return new DIc(this.V,this.W,this,a)};_.g.Jo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=GIc(this,b.getId()))&&b.refresh()};_.g.qDa=function(a){return!KIc(this.O,wIc(a))};
var OIc=function(a){var b=new _.UA;b.Nb(a);return b},PIc=function(){_.yi.call(this);this.H=Date.now()};_.K(PIc,_.yi);PIc.prototype.iF=function(){this.H=Date.now();this.dispatchEvent("Gb")};
var QIc=function(a,b){this.O=a;this.H=b},RIc=function(a,b){b=_.m8b(b);var c=new CIc(a.O,a.H,b);new Promise(function(d,e){return c.nh(100).then(d,e)})},SIc=function(){this.Cd={}},LL=function(a,b){TIc(a,"subscribed");b&&TIc(a,b);return a.Cd[b||"subscribed"].ie.promise},TIc=function(a,b){a.Cd[b]||(a.Cd[b]={count:0,CR:[],q2a:[],ie:_.Zh()});a.Cd[b].count++},VIc=function(a,b){b&&!UIc(a,b)||UIc(a,"subscribed")},UIc=function(a,b){if(!a.Cd[b])return!1;a.Cd[b].count--;0===a.Cd[b].count&&(a.Cd[b].ie.resolve({items:a.Cd[b].CR,
hMb:a.Cd[b].q2a}),_.$a(a.Cd,b));return!0};SIc.prototype.Jo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.wc();f&&f===e.qc()&&c.Cd[f]&&c.Cd[f].q2a.push(e);c.Cd[d]&&c.Cd[d].CR.push(e)})};var WIc=function(a,b,c){JL.call(this,a,c);this.V=b};_.K(WIc,JL);WIc.prototype.jia=function(a,b){return a.clone().Hi(b)};WIc.prototype.vka=function(){return""};WIc.prototype.Ija=function(a){return[a]};WIc.prototype.a6=function(a){this.V(a)};
var XIc=function(a,b,c,d){IL.call(this,a,d.clone());this.ha=b;this.H=this.TS=null;this.W=c};_.K(XIc,IL);XIc.prototype.refresh=function(){var a=this;this.kA();this.H=new WIc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Pe(b)})});return this.H.nh(this.request.vi()||0)};XIc.prototype.nfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};
XIc.prototype.Xj=function(){if(this.TS)return this.TS;var a=new iL;a.Ac(this.status);return a};XIc.prototype.Ju=function(a){this.TS=a;return!0};var YIc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.K(YIc,KL);_.g=YIc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.mia=function(a){var b=this;return new XIc(this.O,this.W,function(c){b.iD(c,!1)},a)};_.g.fxa=function(){throw Error("lf");};
_.g.B2=function(a,b,c,d){var e=a[0].Zk();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.eq()}).join(", "));KL.prototype.B2.call(this,a,b,c,d)};var ZIc=function(a,b,c,d){_.yi.call(this);this.request=a;this.Ba=b;this.ta=c;this.wa=d;this.ma=0;this.ie=null;this.O=new Set};_.K(ZIc,_.yi);
ZIc.prototype.nh=function(){var a=this;if(this.ie)return this.ie.promise;this.ie=_.Zh();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={jra:b.jra,rea:b.rea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.rea=d;b.jra=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Pe(f.jra)}}(b)).then(function(f){return function(h){var k=f.rea;a.V(h);$Ic(a,k)}}(b),function(f){return function(h){return void a.handleError(f.rea,h)}}(b))}return this.ie.promise};
var $Ic=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("za"),a.ie.resolve()):a.dispatchEvent("wa")};ZIc.prototype.handleError=function(a,b){b=_.Rc(b);var c=b.Fg;5===c.kv()||4===c.hk()?(this.wa.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),$Ic(this,a)):(a=new $K(c,_.Pj(this.ta.Vf(),1,1)),this.dispatchEvent(a),this.ie.reject(b))};var aJc=function(a,b,c,d,e){ZIc.call(this,a.clone(),c,d,e);this.H=b};_.K(aJc,ZIc);
aJc.prototype.W=function(a){var b=new Map;a.ln().forEach(function(c){var d=_.r7b(a.clone(),[c]);b.set(c,d)});return b};aJc.prototype.V=function(a){var b=[];a.MT().forEach(function(c){b.push(c)});this.H(b,!0)};aJc.prototype.ha=function(){this.H([],!1)};aJc.prototype.ka=function(a){this.H([OIc(a)],!0)};var bJc=function(a,b,c,d,e,f){IL.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Tk={};this.H=null};_.K(bJc,IL);
bJc.prototype.refresh=function(){this.H=new aJc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.nh()};bJc.prototype.nfa=function(){this.H||this.refresh()};bJc.prototype.Xj=function(){var a=new _.iK;a.Ac(this.status);_.Qa(this.Tk,function(b,c){a.MT().set(c,b||new _.UA)});a.yi(this.Qe());return a};bJc.prototype.Ju=function(a){var b=a.getId();if(_.Oj(a,OIc(a.getId()))){if(this.Tk[b])return delete this.Tk[b],!0}else if(0<=this.request.ln().indexOf(b))return this.Tk[b]=a,!0;return!1};
var cJc=function(a,b){a=a.getState();return null==a||b.getState()==a},dJc=function(a,b,c){JL.call(this,a,c);this.V=b};_.K(dJc,JL);dJc.prototype.jia=function(a,b,c){a=a.clone();a.Hi(b);return new _.Ctc(a,c)};dJc.prototype.vka=function(a){return a.pageToken||""};dJc.prototype.Ija=function(a){return a.response.Zk()};dJc.prototype.a6=function(a){this.V(a)};var eJc=function(a){this.H=_.qpc(a,{numeric:!0})};
eJc.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=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};eJc.prototype.V=function(a,b,c){var d=_.B(b,4),e=_.B(c,4),f;d!==e?f=_.Ga(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};var fJc=function(a,b,c,d,e){IL.call(this,a,e.clone());this.ha=b;this.Tk=[];this.H=null;this.W=d;a=new eJc(c);b=(c=this.request.lx())?c.getType():0;c=c?c.Xf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.K(fJc,IL);fJc.prototype.refresh=function(){var a=this;this.kA();this.H=new dJc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Pe(b)})});return this.H.nh(this.request.vi()||0)};fJc.prototype.nfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Hi(a),this.H?this.H.nh(a):this.refresh())};fJc.prototype.Xj=function(){var a=new yL;a.Ac(this.status);gHc(a,this.Tk.map(function(b){return b.clone()}));return new _.nK(a,void 0,1!==this.status&&zIc(this.H),this.Qe())};
fJc.prototype.Ju=function(a){var b=_.xa(this.Tk,function(c){return c.getId()===a.getId()});return a&&cJc(this.request,a)&&!_.Oj(a,OIc(a.getId()))?uzc(this.Tk,a,this.ka):b};var gJc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d;this.logName="drive.ds.sync.cache.WorkspaceCacheManager"};_.K(gJc,KL);_.g=gJc.prototype;_.g.log=function(a){this.W.info(this.logName,a)};_.g.getKey=function(a){return a.toString()};
_.g.mia=function(a){var b=this;return new fJc(this.V,this.ha,TK(_.YH(this.O)),function(c){return void b.iD(c,!1)},a)};_.g.fxa=function(a){var b=this;return new bJc(this.V,this.ha,this.O,this.W,function(c,d){return b.iD(c,d)},a)};_.g.B2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));KL.prototype.B2.call(this,a,b,c,d)};
var hJc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();KK(a)&&(c=(c=a.wf())?_.B(c,3):"");LK(a)&&(a.Pi()&&(c+="+"+String(a.Pi())),a.sj()&&(c+="+shared"));return _.aSa(c,b?"32":"16")},iJc=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("&")},jJc=function(a,b){var c=_.P(a,44),d=a.wf();if(d){if(1!==_.qe(d))return null;c=(c=_.ne(d))?_.P(c,44):!0}if(!c)return null;c={};d=a.getId();KK(a)&&(d=Nzc(a));
d=[_.D(b,65,"https://lh3.google.com"),"u",_.wI(_.YH(b)),"d",d].join("/");_.Q(b,89,!1)&&_.yj(a,140)&&(c.resourcekey=_.Mk(a));return d=iJc(d+"={size}",c)},kJc=function(a){this.H=a},mJc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=hJc(b,_.Q(a.H,75,!1));_.w(b,21,d)}c.includes(18)&&_.buc(b,EAc(b,a.H));c.includes(19)&&(d=jJc(b,a.H),_.w(b,20,d));lJc(a,b,c);if(KK(b)){if(d=(d=b.wf())&&_.ne(d)){if(c.includes(20)&&c.includes(3)){var e=hJc(d,_.Q(a.H,75,!1));_.w(d,21,e)}c.includes(18)&&_.buc(d,EAc(d,
a.H));c.includes(19)&&(e=jJc(d,a.H),_.w(d,20,e));lJc(a,d,c)}_.w(b,44,!!b.jz())}},lJc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!LK(b)&&!KK(b)&&!_.Vd(e)&&(!b.T6()||2!==b.To()),d&&_.w(b,40,e),e&&c&&(a=a.H,d=b.getId(),KK(b)&&(d=Nzc(b)),c=new _.ej(_.D(a,16,"")+"/uc"),_.lj(c,"id",d),_.lj(c,"authuser",_.wI(_.YH(a))),_.lj(c,"export","download"),_.Q(a,89,!1)&&_.yj(b,140)&&_.lj(c,"resourcekey",_.Mk(b)),_.w(b,41,c.toString())))}},nJc=function(a,b){this.via="";
this.startTime=b||new Date;this.H=a;this.O$=GAc(a)};nJc.prototype.clone=function(){return new nJc(this.H,this.startTime)};var oJc=function(){this.H=null;this.xY=[]},pJc=function(a){return _.wf(a.xY,function(b){return _.cb(b)})};oJc.prototype.dN=function(){return this.H};
oJc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new pHc;e.V=oHc(d.O$);var f=_.ch().substring(0,8);d=GAc(f);f=(new KGc).Nb(f);f=_.w(f,2,d);b=_.w(f,3,b).zi(c);this.xY.push(b);e.O=oHc(d);e.H=mHc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.gk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.hk(d,1,1);var k=d.O;kBc(k,f);kBc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.hk(d,2,1),k=d.O,kBc(k,f),kBc(k,h));f=e.W;null!=f&&(_.hk(d,3,5),kBc(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.hk(d,4,1),h=d.O,kBc(h,f),kBc(h,e));e=_.ik(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var qJc=function(){this.Eb=[];this.O=this.H=0};qJc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Eb,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 rJc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Eb,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},sJc=function(a){this.key=a;this.H=new _.Jsc;this.O=new _.Hsc(new _.Jsc,_.Ema(a))};sJc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=oEc(b);c=tJc(this,a);return b.concat(c,uJc(this,b,a,!0))};
var vJc=function(a,b){var c=uJc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=tJc(a,c);if(b!==a)throw Error("mf");return c},tJc=function(a,b){a=_.Isc(a.O,_.Qsc(b));return oEc(a)},uJc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new qJc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Eb,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=_.Qsc(c.substring(8192*
e,8192*(e+1))),rJc(b,a),d+=oEc(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;rJc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("nf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=wJc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=wJc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=wJc(d,e++),k=wJc(d,e++),l=wJc(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=wJc(d,e++),k=wJc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},wJc=function(a,b){return a[Math.floor(b/8192)][b%8192]},xJc=function(a,b,c){this.data=a;this.e_a=b;this.H=c;this.isEncrypted=!1};xJc.prototype.getData=function(){return this.data};
xJc.prototype.Nm=function(){return this.e_a};var yJc=function(a,b,c,d){this.O=a;this.H=_.Zh();this.ep=!1;this.V=_.D(b,7,"");this.W=_.Pj(_.UK(b),6,2E7);this.IE=_.mI(b);this.ha=_.Pj(_.UK(b),12,0);this.ka=c;this.Zf=d||null};yJc.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 _.gi(this.H.promise)};
yJc.prototype.fB=function(a){if(a instanceof _.KB)return 0;if(a instanceof uL)return 1;if(a instanceof JEc)return 5;if(a instanceof kL)return 3;if(a instanceof dHc)return 6;throw new _.Nc("Unsupported dataShard in getDataType");};var zJc=function(a){if(0==a)return _.KB;if(1==a)return uL;if(5==a)return JEc;if(3==a)return kL;if(6==a)return dHc;throw new _.Nc("Unsupported dataType:"+a+" in getDataTypeCtor");};yJc.prototype.Fo=function(a){if(a instanceof kL)return a.Fo()};
yJc.prototype.Nm=function(a){if(a instanceof kL)return a.Ad().length};yJc.prototype.tv=function(a){if(a instanceof kL)return a=a.tv(),null!=a?a:void 0};
var EJc=function(a,b,c,d){if(0==c.length)return _.Vh();for(var e=a.fB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.fB(h.value);var k=a.Fo(c[0]),l=0;3==e&&AJc(a,c);var p=!!b;return BJc(a,c).then(function(q){if(p){var r=a.Zf?a.Zf.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Nm())&&(z+=A);return z},0);var v=CJc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Wh(Error("of"));z=_.m(z.entries());for(var A=z.next();!A.done;A=z.next()){var C=_.m(A.value);A=
C.next().value;C=C.next().value;A=q[A];A.data=C;A.isEncrypted=!0}return q});r&&(BDc(ADc(zDc(XK(r),_.fK(_.ksc,e)),_.fK(_.hsc,k)),!0),v.then(function(){var z=l;yDc(XK(r),!0).Kv(z);r.vj()},function(){var z=l;yDc(XK(r),!1).Kv(z);r.vj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return DJc(a.O,q,e,k,p,d)})})},BJc=function(a,b){return new _.Uh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Gc();p.length>a.W?e=!0:f.push(new xJc(p,a.Nm(l),a.tv(l)))}});if(e){var h=
Error("pf"),k=new _.Lc;_.tI(k,2);_.FI(k,23);_.w(k,21,h.message);_.fq(k);a.ka(k);d(h)}c(f)})},AJc=function(a,b){for(var c=_.m(b),d=c.next();!d.done;d=c.next());a.IE||FJc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Fo()){d=[];for(var e=b[c].Ad();e.length>a;){var f=_.sa(e,a-1,a);f=sFc(new kL,f);d.push(f)}sFc(b[c],e);d.length&&_.gb(_.sa,b,c+1,0).apply(null,d)}},ML=function(a,b,c,d,e,f){var h=_.Zh(),k;_.$h(a.H.promise.then(function(){return GJc(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),
q=new _.ai;if(l[0]&&l[0].z0){if(k=a.Zf?a.Zf.H(106022,f):null)BDc(ADc(zDc(XK(k),_.fK(_.ksc,c)),_.fK(_.hsc,d)),!0),q.$m().then(function(r){var v=k;r=void 0!=r;yDc(XK(v),r);_.zvc(v)});HJc(a,q,b,p)}else q.callback(p);return _.Vh(q)},function(){}).then(function(l){var p=[];if(l){var q=0;l=_.m(l);for(var r=l.next();!r.done;r=l.next())r=r.value,r=new (zJc(c))(JSON.parse(r)),q+=a.Nm(r),p.push(r);3==c&&(a.IE||IJc(p),JJc(p));k&&XK(k).Kv(q)}h.resolve(p)}),function(){k&&k.vj()}).tg(h.reject,h);return h.promise},
FJc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Ab(a[b],_.tk,2).length)return;b=new Map;for(var c=new Map,d=_.m(a),e=d.next();!e.done;e=d.next()){e=e.value.Ad()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.$tc(f,KJc(_.Hk(f),b,c)),_.auc(f,KJc([f.ym()],b,c)[0]),_.duc(f,KJc([f.Jr()],b,c)[0]),_.huc(f,KJc([f.aq()],b,c)[0]),_.kuc(f,KJc([f.dD()],b,c)[0]),f=f.Zv())_.Xtc(f,KJc(f.fR(),b,c)),_.Ytc(f,KJc(_.Ab(f,_.tk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});_.Fj(a[0],
2,h)}},KJc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;f&&f.getId()?(e=f.getId(),b.has(e)?_.Oj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.tk,f.Nb(e),c.set(e,f),d.push(f))):d.push(f)}return d},IJc=function(a){var b=new Map,c=new Map;a[0]&&_.Ab(a[0],_.tk,2)&&_.Ab(a[0],_.tk,2).forEach(function(h){b.set(h.getId(),h);h=(new _.tk).Nb(h.getId());c.set(h.getId(),h)});if(b.size){a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=
d.value;var e=d.Ad()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.$tc(f,LJc(_.Hk(f),b,c)),_.auc(f,LJc([f.ym()],b,c)[0]),_.duc(f,LJc([f.Jr()],b,c)[0]),_.huc(f,LJc([f.aq()],b,c)[0]),_.kuc(f,LJc([f.dD()],b,c)[0]),f=f.Zv())_.Xtc(f,LJc(f.fR(),b,c)),_.Ytc(f,LJc(_.Ab(f,_.tk,3),b,c));_.Gj(d,2)}}},LJc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&e.getId()){var f=e.getId();_.Oj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);
return d},JJc=function(a){for(var b={},c=1;c<a.length;b={$da:b.$da},c++)if(!a[c].Fo()){for(var d=0,e=c;e<a.length&&!a[e].Fo();e++)d++;e=a[c-1];d=_.sa(a,c,d);b.$da=e.Ad();d.forEach(function(f){return function(h){_.Ba(f.$da,h.Ad())}}(b));sFc(e,b.$da)}},CJc=function(a,b,c){if(!_.ssc()&&a.V){var d=new Worker(_.Xba(_.By(a.V)),void 0),e=new _.ai;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Gd(Error(String(k)))},!1);
c=kHc(new jHc,c);d.postMessage({command:"encrypt",data:{request:c.Gc(),key:b}});return e}try{a=[];var f=new sJc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.fi(a)}catch(k){h=_.hi(k)}return h},HJc=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(!_.ssc()&&a.V){var f=new Worker(_.Xba(_.By(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 sJc(c);for(c=0;c<d.length;c++)a.push(vJc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},MJc=/^[\w]+$/,NJc=function(a,b,c){return[a.Yr(),a.clientId,b?"#":NL(a)].join(":")+":"+(c||"")},OJc=function(a,b,c){this.global=void 0===c?!1:c;a.match(MJc);this.key=a;this.value=b};OJc.prototype.getKey=function(){return this.key};OJc.prototype.Ya=function(){return this.value};
var PJc=function(a,b){return{k:NJc(b,a.global,a.key),v:a.value}},QJc=function(a,b){a=NJc(a,b);return YEc(a+"A",a+"z")},RJc=function(a,b){this.H=a;this.O=b},SJc=function(a){return a?new RJc(a.versionKey,a.versionChangeTimestamp):null},TJc=function(a,b){return a+":"+b},UJc=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},VJc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.z0}},WJc=function(a,b,c,d){a=NL(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.ot(":%02d",c)},XJc=function(a,b,c,d){c=WJc(a,b,void 0===c?0:c,d);a=NL(a)+"_"+b;3===b&&(a+="_"+d);return YEc(c,a+":a")},YJc=function(a){var b=NL(a)+"_";a=NL(a)+"_A";return YEc(b,a)},ZJc=function(a){return a?new UJc(a.data,a.index,a.size,a.timestamp,a.e):null},$Jc=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=_.Aa(e);_.Ia(this.fields);_.Fa(this.fields);this.H=f};
$Jc.prototype.Yr=function(){return this.userId};$Jc.prototype.Lg=function(){return _.Aa(this.fields)};
var NL=function(a){if(!a.O){var b=new _.NH;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.Uqc(b.digest())}return a.O},aKc=function(a){return{versionKey:NL(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},bKc=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 $Jc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:NL(a)!==d&&(a=null);return a},OL=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Zf=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.wa=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Pa=a.then(function(f){e.version=f});this.Ib=new _.jf(this);this.La(this.Ib)};_.K(OL,_.N);OL.prototype.initialize=function(){return cKc(this)};
var cKc=function(a,b){a.V||(a.V=_.Zh(),a.Pa.then(function(){b?(a.wa=!1,dKc(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)"),_.bqc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).Wf(a.Ja.bind(a),a.ta.bind(a)),_.Ci(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.Nc("Database version error",void 0,_.lI(c)?c:void 0))}));return a.V.promise},dKc=function(a,b){a.H=b;a.Ib.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Ib.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};OL.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.xuc(b,c)});_.Qa(_.CI,function(c){var d=_.Nsc.get(c);_.Zpc(b,c,d?{keyPath:d}:void 0)})};
OL.prototype.ta=function(a){var b;a&&a instanceof _.PH&&"InvalidStateError"==a.getName()&&_.rj.Lu?b=Error("qf"):_.lI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);eKc(this,!1)};OL.prototype.Ja=function(a){this.ka?a.dispose():(dKc(this,a),this.La(this.H),this.readOnly||fKc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),eKc(this,!0))};
var eKc=function(a,b){if(a.ma){var c=a.ma,d=_.x(_.eK(c),sDc,5);d||(d=new sDc,c=_.eK(c),_.I(c,5,d));d=_.w(d,1,2);c=a.Yi().W;d=_.w(d,2,c);c=a.Yi().ka;d=_.w(d,5,c);b=_.w(d,3,b);b=_.w(b,4,a.Ba);d=a.Yi().ma;_.w(b,6,d);a.ma.vj();a.ma=null}};OL.prototype.Ha=function(){this.H||this.Gf()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("rf")))};OL.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.wa&&this.H.close())};OL.prototype.Gf=function(){return this.ka};
var gKc=function(a){return a.ka?a.O:null};OL.prototype.Yi=function(){return this.version};
var PL=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.$pc(a,[b],c)}catch(d){return null}},fKc=function(a){var b=_.CI.p_,c=PL(a,b,"readwrite");if(!c)return _.Wh(Error("sf"));c.objectStore(b).put(aKc(a.Yi()));return _.Vh(c.wait()).then(function(){})},hKc=function(a){if(!a.H)return _.Wh(Error("tf"));if(a.Gf())return _.Wh(Error(a.O));var b=_.CI.p_,c=PL(a,b,"readwrite");if(!c)return _.Wh(Error("uf"));b=c.objectStore(b);return _.Vh(b.remove(NL(a.Yi())))},
iKc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())(e=ZJc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("vf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("wf")),0;e=d[0].size;if(!e)return b.reject(Error("xf")),0;if(e>d.length)return b.reject(Error("yf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("zf`"+e)),0;if(c&&a<c)return b.reject(Error("Af`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},GJc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Wh(Error("Bf"));if(a.Gf())return _.Wh(Error(a.O));var e=XJc(a.Yi(),b,0,c),f=_.CI.K5,h=PL(a,f);if(!h)return _.Wh(Error("Cf"));e=h.objectStore(f).getAll(e);var k=_.Zh();e.Wf(function(l){l=iKc(l,k,d);a.readOnly||null==l||jKc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},DJc=function(a,b,c,d,e,f){if(a.H){if(a.Gf())return _.Wh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Wh(Error("Df"))}else return _.Wh(Error("Ef"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:WJc(a.Yi(),c,z,d),data:new UJc(v.getData(),z,k,h,e),metadata:v}}),p=_.CI.K5;b=PL(a,p,"readwrite");if(!b)return _.Wh(Error("Ff"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={sea:q.sea},r=l.next())r=r.value,q.sea=kKc(a,c,d,r.metadata,f),p.put(VJc(r.data),r.key).then(function(v){return function(){var z=v.sea;z&&(yDc(XK(z),!0),z.vj())}}(q),function(v){return function(z){var A=
v.sea,C=z instanceof _.PH?z.code:_.Bpc;A&&a.W&&(z=yDc(XK(A),!1),C=_.fK(_.lsc,C),_.w(z,2,C),A.vj())}}(q));return _.Vh(b.wait()).then(function(){})},kKc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=ADc(zDc(XK(a),_.fK(_.ksc,b)),_.fK(_.hsc,c)),f=_.w(b,5,f.Fo(d.H)),BDc(f,d.isEncrypted),void 0!=d.Nm()&&XK(a).Kv(d.Nm());return a}return null},jKc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Gf())return _.Wh(Error(a.O));if(3==b&&void 0==c)return _.Wh(Error("Gf"))}else return _.Wh(Error("Hf"));
b=XJc(a.Yi(),b,d,c);c=_.CI.K5;a=PL(a,c,"readwrite");if(!a)return _.Wh(Error("If"));a.objectStore(c).remove(b);return _.Vh(a.wait()).then(function(){})},lKc=function(a){if(!a.H)return _.Wh(Error("Jf"));if(a.Gf())return _.Wh(Error(a.O));var b=YJc(a.Yi()),c=_.CI.K5;a=PL(a,c,"readwrite");if(!a)return _.Wh(Error("Kf"));a.objectStore(c).remove(b);return _.Vh(a.wait()).then(function(){})};
OL.prototype.getMetadata=function(a){if(this.H){if(this.Gf())return _.Wh(Error(this.O));if(a&&0==a.length)return _.Wh(Error("Lf"))}else return _.Wh(Error("Mf"));var b=this.Yi(),c=_.CI.U6,d=PL(this,c);if(!d)return _.Wh(Error("Nf"));c=d.objectStore(c);if(a){d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.Vh(c.get(NJc(b,e.global,e.key))));c=_.Xh(d)}else c=_.Xh([c.getAll(QJc(b,!1)).then(),c.getAll(QJc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return tzc(f,h)});return c.then(function(f){return f.map(function(h){a:{if(h){var k=h.k.split(":"),l="#"===k[2];if(4===k.length&&(l||k[2]===NL(b))){h=k[0]!==b.Yr()||k[1]!==String(b.clientId)?void 0:new OJc(k[3],h.v,l);break a}}h=void 0}return h})})};
var mKc=function(a,b){if(a.H){if(a.Gf())return _.Wh(Error(a.O));if(0==b.length)return _.Wh(Error("Of"))}else return _.Wh(Error("Pf"));var c=_.CI.U6,d=PL(a,c,"readwrite");if(!d)return _.Wh(Error("Qf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(PJc(e.value,a.Yi())).then());return _.Xh(d).then(function(){})},nKc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Gf())return _.Wh(Error(a.O))}else return _.Wh(Error("Sf"));var c=a.Yi(),d=_.CI.U6;a=PL(a,d,"readwrite");
if(!a)return _.Wh(Error("Tf"));d=a.objectStore(d);a=[];a.push(d.remove(QJc(c,!1)).then());b&&a.push(d.remove(QJc(c,!0)).then());return _.Xh(a).then(function(){})},oKc=function(a){if(!a.H)return _.Wh(Error("Uf"));if(a.Gf())return _.Wh(Error(a.O));var b=TJc(a.Yi().Yr(),a.Yi().clientId),c=_.CI.mU;a=PL(a,c);if(!a)return _.Wh(Error("Vf"));c=a.objectStore(c);return _.Vh(c.get(b)).then(function(d){return SJc(d)})},pKc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Wh(Error("Wf"));if(a.Gf())return _.Wh(Error(a.O));
var c=a.Yi(),d=TJc(c.Yr(),c.clientId);b=new RJc(NL(c),b?Date.now():void 0);c=_.CI.mU;a=PL(a,c,"readwrite");if(!a)return _.Wh(Error("Xf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Vh(a.wait())};OL.prototype.Jl=function(a){var b=this;return this.H?this.Gf()?_.Wh(Error(this.O)):oKc(this).then(function(c){var d=NL(b.Yi());if(c)if(a){if(!c.O&&d==c.H&&d!=NL(a))return pKc(b,!0);if(c.O&&d==NL(a))return pKc(b)}else{if(d!=c.H)return pKc(b)}else if(!a)return pKc(b)}):_.Wh(Error("Yf"))};
var qKc=function(a){if(!a.H)return _.Wh(Error("Zf"));if(a.Gf())return _.Wh(Error(a.O));var b=a.Yi(),c=TJc(b.Yr(),b.clientId);return oKc(a).then(function(d){if(d){d=_.CI.mU;var e=PL(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
OL.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Gf()?_.Wh(Error(this.O)):oKc(this).then(function(c){var d=c&&c.H==NL(b.Yi());return d&&!a?!1:(c&&d?qKc(b):_.Vh()).then(function(){return _.Xh([nKc(b,a),lKc(b),hKc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Wh(Error("$f"))};OL.prototype.close=function(){this.ha("Closing database")};OL.prototype.log=function(a){this.Zf.info("drive.ds.sync.storage.VersionedDb",a)};
var rKc=function(a){if(1>=a.Yi())return!1;var b=a.H.objectStoreNames;return _.Va(_.CI).every(function(c){return b&&b.contains(c)})},sKc=function(){var a=_.Zh();_.bqc("GoogleDriveDs").Wf(function(b){b?rKc(b)?a.resolve(b):(b.close(),_.Vh(ZEc()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},tKc=function(a,b,c){var d=_.Zh();a?_.$pc(a,[_.CI.p_],"readonly").objectStore(_.CI.p_).getAll().Wf(function(e){e=
_.Va(e).map(function(f){return bKc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Yr()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},uKc=function(a,b,c){var d=_.Zh();sKc().then(function(e){if(e){var f=_.CI.mU;_.$pc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return SJc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.CI.p_,p=_.$pc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
bKc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.ci(p.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(h){d.reject(h);e.close()})}else d.resolve(null)},d.reject);return d.promise},vKc=function(a,b,c){var d=_.Zh(),e=new OL(_.Vh(a),b);cKc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},wKc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=vKc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Xh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+NL(l)))});d.resolve(k)})},xKc=function(a,b,c){var d=Date.now()-12096E5,e=_.Zh();sKc().then(function(f){f?(_.$h(e.promise,function(){f.close()}),tKc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){wKc(h,c,f,e)})):e.resolve([])});return e.promise},yKc=function(a,b,c){var d=_.Zh();sKc().then(function(e){e?
(_.$h(d.promise,function(){e.close()}),tKc(e,a,b).then(function(f){wKc(f,c,e,d,!0)})):d.resolve([])});return d.promise},zKc=function(a,b,c,d){if(a.length){var e=_.CI.K5,f=a.shift(),h=WJc(f,3,0,1);try{_.$pc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=ZJc(k))&&(!k.z0||k.z0&&d.has(f.V))?b.resolve(f):zKc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},AKc=function(a,b,c,d,e,f,h){var k=_.Zh();sKc().then(function(l){l?(_.$h(k.promise,function(){l.close()}),
tKc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=NL(q))&&q.W==c&&q.H>=e&&Mzc(d.filter(function(r){return!_.Osc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),zKc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},BKc={key:"rid",global:!0},CKc={key:"ooi",global:!0},DKc={key:"rtds",global:!1},EKc={key:"dct",global:!1},FKc={key:"pc",global:!1},GKc=function(a){this.H=new _.Uh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};GKc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Gf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};GKc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Gf()?mKc(c,[new OJc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};GKc.prototype.ju=function(){return this.get(BKc).then(function(a){return a?a:null})};
GKc.prototype.Xy=function(a){return this.set(BKc,a)};var HKc=function(a){return a.get(CKc).then(function(b){return"boolean"===typeof b?b:null})};GKc.prototype.Uy=function(a){return this.set(CKc,a)};var IKc=function(a){return a.get(FKc).then(function(b){return"boolean"===typeof b?b:null})},JKc=function(a){return a.get(DKc).then(function(b){return Array.isArray(b)?b:null})},KKc=function(a){return a.get(EKc).then(function(b){return"number"===typeof b?b:null})},LKc=function(){this.aj=[]};_.K(LKc,_.uK);
LKc.prototype.add=function(a,b){var c=a.Dv.Iw;return c instanceof _.AJ&&_.B(c.request,12)?_.uK.prototype.add.call(this,a,b):!1};LKc.prototype.Csa=function(a){return this.aj.splice(0,Math.min(a,1))};var MKc=function(a,b){this.aj=[];this.H=b};_.K(MKc,_.uK);MKc.prototype.add=function(a,b){return a.Dv.Iw instanceof _.AJ?!1:_.uK.prototype.add.call(this,a,b)};
MKc.prototype.Csa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.aj.length&&b.length<a;f++){var h=this.aj[f],k=h.Dv.Iw;k instanceof _.RI||k instanceof _.cJ||k instanceof _.vJ?k="app|"+k.Jh():k instanceof _.MI||k instanceof _.NI||k instanceof _.TI||k instanceof _.xI?k="item|"+(k instanceof _.MI?k.qc():k.getId()):k instanceof _.UI||k instanceof _.gJ?k="item|"+k.qc():k instanceof _.VI||k instanceof _.xJ?k="item|"+k.qc():k instanceof _.gD||k instanceof _.fD?(k=k instanceof _.gD?_.x(k,_.Zo,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.$o(k)):k=k instanceof _.WI?"td|"+k.getId():null;var l=h.Dv.Iw;if(l instanceof _.PI)l=!!_.P(l,8);else if(l instanceof _.NI){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Kdb.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++)_.va(this.aj,c[a]);return b};
var NKc=function(a,b,c,d,e,f,h,k,l){a=a.Vf();h=new _.rxc(new _.qxc(k,h,d,_.Pj(a,32,1073741824),_.Pj(a,21,1E3)));k=new _.Qwc(_.Pj(a,59,2E3),_.Pj(a,60,2E4),_.Pj(a,61,6));c=new _.Owc(l?l:c,l?void 0:e);e={};e[1]=_.txc(b,d);e[2]=_.uxc(b,a,k,c,d);e[3]=_.vxc(b,a,k,c,d,"batch");l=_.Pj(a,10,50);f=new _.wK(d,b,[_.Pwc(c),new _.Twc(l,_.Pj(a,11,100)),new _.vK(l),new _.tK(k,d)],[new MKc(a,f),new LKc,new _.uK],[new _.bxc(a,k,c.Fj(),d)],"mutation");return e[4]=f,e[5]=_.wxc(h,a,d),e[6]=_.vxc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.vxc(b,a,k,c,d,"xd4_batch"),e[8]=_.vxc(b,a,k,c,d,"xd4_batch_one",1),e},OKc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},PKc=function(a){var b={};return b.parentId=a.xk(),b},QKc=function(a){var b={};_.Lyc(b,[_.B(a,2)||""]);return b},RKc=function(a){var b={};_.Me(_.bh(a.getTitle()))||(b.title=a.getTitle());_.Lyc(b,_.ie(a,3));_.P(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b},SKc=function(a){var b={};null!=a.getTitle()&&(b.title=
a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b},TKc=function(a){var b={};b.sourceIds=_.ie(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b},UKc=function(a){var b={},c={};_.Me(_.bh(a.getTitle()))||(b.title=a.getTitle());null!=a.qf()&&(b.description=a.qf());null!=_.P(a,4)&&(c.starred=_.P(a,4));null!=a.Qh()&&(c.trashed=a.Qh());_.Me(_.bh(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.B(a,7)&&(b.modifiedDate=
_.vuc(_.mvc(_.B(a,7)||0)));null!=_.P(a,11)&&(c.restricted=_.P(a,11));_.Ua(c)&&(b.labels=c);null!=a.Pi()&&(b.folderColor=a.Pi());null!=_.P(a,16)&&(b.subscribed=_.P(a,16));null!=_.P(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=_.P(a,40),c));if(c=_.x(a,_.Bk,25)){b.contentRestrictions=[];var d={};null!=_.P(c,1)&&(d.readOnly=_.P(c,1));null!=_.B(c,2)&&(d.reason=_.B(c,2));b.contentRestrictions.push(d)}_.Lyc(b,_.ie(a,8));return b},VKc=function(a){var b={};null!=_.P(a,3)&&(b.pinned=_.P(a,3));
return b},WKc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.B(a,3))b.backgroundImageId=_.B(a,3);else{var c=_.B(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.$g)("0",6-c.length)+c);c=_.x(a,_.kDc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.B(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.B(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.De())&&(a.width=c);b.backgroundImageFile=a}}return b},XKc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());
null!=a.getState()&&(a=_.Oyc[a.getState()])&&(b.state=a);return b},YKc=function(a){_.J.call(this,a)};_.K(YKc,_.J);YKc.prototype.qf=function(){return _.D(this,1)};YKc.prototype.Vl=function(a){return _.Vj(this,1,a)};YKc.prototype.getUrl=function(){return _.D(this,2)};_.ZKc=function(a){_.J.call(this,a)};_.K(_.ZKc,_.J);_.ZKc.prototype.getType=function(){return _.Bj(this,1,0)};_.ZKc.prototype.getContext=function(){return _.x(this,YKc,2)};$Kc=[1];aLc=[2,4];_.bLc=function(a){_.J.call(this,a,-1,aLc)};
_.K(_.bLc,_.J);_.bLc.prototype.getLabel=function(){return _.D(this,1)};_.bLc.prototype.getTitle=function(){return _.D(this,3)};_.bLc.prototype.setTitle=function(a){return _.Vj(this,3,a)};_.cLc=function(a){_.J.call(this,a,-1,$Kc)};_.K(_.cLc,_.J);_.dLc=[2,3,4];_.eLc=function(a){_.J.call(this,a)};_.K(_.eLc,_.J);_.eLc.prototype.re=function(){return _.D(this,3)};_.eLc.prototype.Jn=function(a){return _.Vj(this,4,a)};_.fLc=function(a){_.J.call(this,a)};_.K(_.fLc,_.J);_.gLc=function(a){_.J.call(this,a)};
_.K(_.gLc,_.J);var hLc=function(a){_.J.call(this,a)};_.K(hLc,_.J);iLc=[3,5];_.QL=[8,9,10,11,12,13,14];_.jLc=function(a){_.J.call(this,a)};_.K(_.jLc,_.J);_.kLc=function(a){_.J.call(this,a,-1,iLc)};_.K(_.kLc,_.J);_.kLc.prototype.Cb=function(){return _.Bj(this,6,0)};_.kLc.prototype.Ac=function(a){return _.Wj(this,6,a)};var lLc=function(a){_.J.call(this,a)};_.K(lLc,_.J);var mLc=function(a){_.J.call(this,a)};_.K(mLc,_.J);var nLc=function(a){_.J.call(this,a)};_.K(nLc,_.J);
var oLc=[1],pLc=function(a){_.J.call(this,a,-1,oLc)};_.K(pLc,_.J);var qLc=function(a){_.J.call(this,a)};_.K(qLc,_.J);var rLc=function(a){_.J.call(this,a)};_.K(rLc,_.J);sLc=[7];_.tLc=[1,2,3];_.uLc=function(a){_.J.call(this,a)};_.K(_.uLc,_.J);_.vLc=function(a){_.J.call(this,a)};_.K(_.vLc,_.J);_.wLc=function(a){_.J.call(this,a)};_.K(_.wLc,_.J);_.xLc=function(a){_.J.call(this,a,-1,sLc)};_.K(_.xLc,_.J);_.yLc=function(a){_.J.call(this,a)};_.K(_.yLc,_.J);
_.yLc.prototype.getName=function(){return _.D(this,1)};_.yLc.prototype.$c=function(a){return _.Vj(this,1,a)};var zLc=function(a){_.J.call(this,a)};_.K(zLc,_.J);zLc.prototype.getName=function(){return _.D(this,1)};zLc.prototype.$c=function(a){return _.Vj(this,1,a)};zLc.prototype.getTitle=function(){return _.D(this,2)};zLc.prototype.setTitle=function(a){return _.Vj(this,2,a)};_.ALc=[1,4];BLc=function(a){_.J.call(this,a)};_.K(BLc,_.J);BLc.prototype.getUser=function(){return _.Sj(this,_.gLc,1,_.ALc)};
var CLc=[8,9,10],DLc=function(a){_.J.call(this,a)};_.K(DLc,_.J);DLc.prototype.getType=function(){return _.Bj(this,6,0)};var ELc=function(a){_.J.call(this,a)};_.K(ELc,_.J);_.FLc=function(a){_.J.call(this,a)};_.K(_.FLc,_.J);_.g=_.FLc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Vj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Vj(this,2,a)};_.g.Qja=function(){return _.Sj(this,DLc,9,CLc)};
_.g.OVa=function(){return _.Sj(this,ELc,10,CLc)};_.g.Yi=function(){return _.Pj(this,5)};_.g.getMimeType=function(){return _.D(this,6)};_.g.iB=function(){return _.x(this,BLc,7)};var GLc=function(a){_.J.call(this,a)};_.K(GLc,_.J);var HLc=[8,9,10],ILc=function(a){_.J.call(this,a)};_.K(ILc,_.J);_.g=ILc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Vj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Vj(this,2,a)};
_.g.Qja=function(){return _.Sj(this,DLc,9,HLc)};_.g.OVa=function(){return _.Sj(this,ELc,10,HLc)};JLc=[1,3];_.RL=function(a){_.J.call(this,a)};_.K(_.RL,_.J);_.RL.prototype.Ah=function(){return _.Sj(this,ILc,1,JLc)};_.KLc=[1,2,3];_.LLc=function(a){_.J.call(this,a)};_.K(_.LLc,_.J);_.MLc=function(a){_.J.call(this,a)};_.K(_.MLc,_.J);var NLc=function(a){_.J.call(this,a)};_.K(NLc,_.J);var OLc=function(a){_.J.call(this,a)};_.K(OLc,_.J);PLc=[2,3];_.QLc=function(a){_.J.call(this,a,-1,PLc)};_.K(_.QLc,_.J);
_.QLc.prototype.getType=function(){return _.Bj(this,1,0)};_.RLc=function(a){_.J.call(this,a)};_.K(_.RLc,_.J);_.RLc.prototype.getType=function(){return _.Bj(this,1,0)};var SLc=function(a){_.J.call(this,a)};_.K(SLc,_.J);SLc.prototype.getType=function(){return _.Bj(this,1,0)};var TLc=function(a){_.J.call(this,a)};_.K(TLc,_.J);_.ULc=function(a){_.J.call(this,a)};_.K(_.ULc,_.J);_.ULc.prototype.H=function(){return _.Q(this,1)};var VLc=function(a){_.J.call(this,a)};_.K(VLc,_.J);WLc=[1,2,4];
_.XLc=function(a){_.J.call(this,a)};_.K(_.XLc,_.J);YLc=[1,2];_.ZLc=function(a){_.J.call(this,a)};_.K(_.ZLc,_.J);_.ZLc.prototype.getParent=function(){return _.x(this,_.RL,1)};_.ZLc.prototype.yg=function(a){return _.I(this,1,a)};_.$Lc=function(a){_.J.call(this,a,-1,YLc)};_.K(_.$Lc,_.J);_.aMc=function(a){_.J.call(this,a,-1,WLc)};_.K(_.aMc,_.J);_.SL=function(a){_.J.call(this,a)};_.K(_.SL,_.J);_.SL.prototype.getEmail=function(){return _.D(this,1)};_.SL.prototype.getTitle=function(){return _.D(this,2)};
_.SL.prototype.setTitle=function(a){return _.Vj(this,2,a)};_.TL=[2,3,4,5];_.UL=function(a){_.J.call(this,a)};_.K(_.UL,_.J);_.UL.prototype.kf=function(){return _.Bj(this,1,0)};_.UL.prototype.getUser=function(){return _.Sj(this,_.gLc,2,_.TL)};var bMc=function(a){_.J.call(this,a)};_.K(bMc,_.J);cMc=[1,2,3,4];_.dMc=function(a){_.J.call(this,a,-1,cMc)};_.K(_.dMc,_.J);_.eMc=function(a){_.J.call(this,a)};_.K(_.eMc,_.J);_.fMc=function(a){_.J.call(this,a)};_.K(_.fMc,_.J);_.gMc=function(a){_.J.call(this,a)};
_.K(_.gMc,_.J);_.hMc=function(a){_.J.call(this,a)};_.K(_.hMc,_.J);_.hMc.prototype.getType=function(){return _.Bj(this,1,0)};iMc=[1];_.jMc=function(a){_.J.call(this,a)};_.K(_.jMc,_.J);_.jMc.prototype.getFeature=function(){return _.Bj(this,1,0)};_.kMc=function(a){_.J.call(this,a,-1,iMc)};_.K(_.kMc,_.J);var lMc=function(a){_.J.call(this,a)};_.K(lMc,_.J);var mMc=function(a){_.J.call(this,a)};_.K(mMc,_.J);var nMc=function(a){_.J.call(this,a)};_.K(nMc,_.J);
nMc.prototype.getType=function(){return _.Bj(this,1,0)};_.VL=[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21];_.WL=function(a){_.J.call(this,a)};_.K(_.WL,_.J);_.WL.prototype.Oz=function(){return _.Sj(this,nMc,10,_.VL)};_.oMc=function(a){_.J.call(this,a)};_.K(_.oMc,_.J);var pMc=function(a){_.J.call(this,a)};_.K(pMc,_.J);_.qMc=function(a){_.J.call(this,a)};_.K(_.qMc,_.J);_.rMc=function(a){_.J.call(this,a)};_.K(_.rMc,_.J);_.rMc.prototype.getType=function(){return _.Bj(this,1,0)};_.XL=[1,2,3,4,5];
_.sMc=function(a){_.J.call(this,a)};_.K(_.sMc,_.J);_.sMc.prototype.getUser=function(){return _.Sj(this,_.gLc,1,_.XL)};var tMc=function(a){_.J.call(this,a)};_.K(tMc,_.J);tMc.prototype.getType=function(){return _.Bj(this,2,0)};tMc.prototype.Jh=function(){return _.D(this,1)};_.uMc=function(a){_.J.call(this,a)};_.K(_.uMc,_.J);_.g=_.uMc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Vj(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};
_.g.setTitle=function(a){return _.Vj(this,2,a)};_.g.Ma=function(){return _.x(this,_.FLc,3)};_.vMc=function(a){_.J.call(this,a)};_.K(_.vMc,_.J);_.vMc.prototype.getParent=function(){return _.x(this,_.FLc,4)};_.vMc.prototype.yg=function(a){return _.I(this,4,a)};_.YL=[1,5,3];_.wMc=function(a){_.J.call(this,a)};_.K(_.wMc,_.J);_.wMc.prototype.Ah=function(){return _.Sj(this,_.FLc,1,_.YL)};_.xMc=function(a){_.J.call(this,a)};_.K(_.xMc,_.J);_.xMc.prototype.H=function(){return _.B(this,1)};
var yMc=function(a){_.J.call(this,a)};_.K(yMc,_.J);yMc.prototype.H=function(){return _.P(this,1)};yMc.prototype.V=function(){return _.B(this,2)};_.ZL=function(a){_.J.call(this,a)};_.K(_.ZL,_.J);_.g=_.ZL.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Esa=function(){return _.B(this,3)};_.g.ez=function(){return _.B(this,4)};
_.g.s$=function(){return _.x(this,yMc,6)};_.g.ssb=function(){return _.x(this,_.xMc,7)};_.g.TVa=function(){return _.B(this,8)};_.g.Dsa=function(){return _.P(this,9)};_.$L=function(a){_.J.call(this,a)};_.K(_.$L,_.J);_.g=_.$L.prototype;_.g.getType=function(){return _.B(this,1)};_.g.getId=function(){return _.B(this,2)};_.g.Nb=function(a){return _.w(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.zd=function(){return _.B(this,5)};
_.g.setSize=function(a){return _.w(this,5,a)};_.g.S$a=function(){return _.B(this,6)};_.zMc=function(a,b){return _.w(a,6,b)};_.$L.prototype.qf=function(){return _.B(this,8)};_.$L.prototype.Vl=function(a){return _.w(this,8,a)};_.$L.prototype.H=function(){return _.P(this,9)};var AMc=function(a){_.J.call(this,a)};_.K(AMc,_.J);AMc.prototype.Cb=function(){return _.B(this,1)};AMc.prototype.Ac=function(a){return _.w(this,1,a)};
var BMc=function(a,b){return _.I(a,2,b)},iBc=[90,59,75],CMc=function(a){_.J.call(this,a)};_.K(CMc,_.J);CMc.prototype.H=function(){return _.x(this,_.IC,1)};CMc.prototype.V=function(){return _.x(this,_.IC,2)};CMc.prototype.wa=function(){return _.x(this,_.IC,3)};
var DMc=function(a){_.J.call(this,a)};_.K(DMc,_.J);DMc.prototype.H=function(){return _.P(this,1)};DMc.prototype.V=function(){return _.P(this,3)};DMc.prototype.wa=function(){return _.P(this,4)};
var EMc=function(a){_.J.call(this,a)};_.K(EMc,_.J);_.g=EMc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Nb=function(a){return _.w(this,1,a)};_.g.V$a=function(){return _.B(this,2)};_.g.re=function(){return _.B(this,4)};_.g.U$a=function(){return _.x(this,DMc,5)};_.g.getCapabilities=function(){return _.x(this,FMc,6)};_.g.$$a=function(){return _.B(this,7)};_.g.o4a=function(a){return _.Jj(this,13,aM,a)};_.g.T$a=function(){return _.Sj(this,GMc,19,aM)};
_.g.OMa=function(a){return _.Jj(this,19,aM,a)};_.g.A4a=function(a){return _.Jj(this,12,aM,a)};_.g.B4a=function(a){return _.Jj(this,11,aM,a)};_.g.rtb=function(){return _.Sj(this,HMc,10,aM)};_.g.W$a=function(){return _.Sj(this,IMc,15,aM)};_.g.Z4a=function(a){return _.Jj(this,15,aM,a)};_.g.X$a=function(){return _.Sj(this,JMc,14,aM)};_.g.$4a=function(a){return _.Jj(this,14,aM,a)};_.g.n5a=function(a){return _.Jj(this,9,aM,a)};_.g.Y$a=function(){return _.Sj(this,KMc,8,aM)};
_.g.PMa=function(a){return _.Jj(this,8,aM,a)};_.g.Z$a=function(){return _.Sj(this,LMc,18,aM)};_.g.QMa=function(a){return _.Jj(this,18,aM,a)};_.g.s5a=function(a){return _.Jj(this,17,aM,a)};var FMc=function(a){_.J.call(this,a)};_.K(FMc,_.J);FMc.prototype.H=function(){return _.P(this,1)};FMc.prototype.V=function(){return _.P(this,2)};var MMc=function(a){_.J.call(this,a)};_.K(MMc,_.J);var JMc=function(a){_.J.call(this,a,-1,NMc)};_.K(JMc,_.J);JMc.prototype.H=function(){return _.Ab(this,OMc,1)};
var PMc=function(a,b){_.Fj(a,1,b)},OMc=function(a){_.J.call(this,a)};_.K(OMc,_.J);_.g=OMc.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Fp=function(){return _.yj(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Hb=function(a){return _.w(this,2,a)};_.g.Ci=function(){return _.xb(this,2)};_.g.Sg=function(){return _.yj(this,2)};_.g.qf=function(){return _.B(this,5)};_.g.Vl=function(a){return _.w(this,5,a)};_.g.bab=function(){return _.yj(this,5)};
_.g.getCapabilities=function(){return _.x(this,QMc,3)};_.g.aab=function(){return _.x(this,RMc,4)};var QMc=function(a){_.J.call(this,a)};_.K(QMc,_.J);QMc.prototype.H=function(){return _.P(this,1)};QMc.prototype.V=function(){return _.P(this,2)};var RMc=function(a){_.J.call(this,a)};_.K(RMc,_.J);_.g=RMc.prototype;_.g.fab=function(){return _.P(this,1)};_.g.gab=function(){return _.P(this,2)};_.g.cab=function(){return _.x(this,CMc,3)};_.g.hab=function(){return _.yj(this,3)};
_.g.eab=function(){return _.x(this,CMc,4)};_.g.jab=function(){return _.yj(this,4)};_.g.dab=function(){return _.B(this,5)};_.g.iab=function(){return _.yj(this,5)};var IMc=function(a){_.J.call(this,a)};_.K(IMc,_.J);IMc.prototype.H=function(){return _.B(this,1)};IMc.prototype.kW=function(){return _.yj(this,1)};IMc.prototype.getOptions=function(){return _.x(this,JMc,2)};var KMc=function(a){_.J.call(this,a)};_.K(KMc,_.J);KMc.prototype.V=function(){return _.B(this,1)};
KMc.prototype.H=function(){return _.B(this,2)};var SMc=function(a){_.J.call(this,a)};_.K(SMc,_.J);SMc.prototype.kW=function(){return _.yj(this,1)};SMc.prototype.getOptions=function(){return _.x(this,KMc,2)};var HMc=function(a){_.J.call(this,a)};_.K(HMc,_.J);HMc.prototype.V=function(){return _.B(this,1)};HMc.prototype.H=function(){return _.B(this,2)};var TMc=function(a){_.J.call(this,a)};_.K(TMc,_.J);var UMc=function(a){_.J.call(this,a)};_.K(UMc,_.J);UMc.prototype.kW=function(){return _.yj(this,1)};
UMc.prototype.getOptions=function(){return _.x(this,TMc,2)};var VMc=function(a){_.J.call(this,a)};_.K(VMc,_.J);_.g=VMc.prototype;_.g.PMa=function(a){return _.Jj(this,3,bM,a)};_.g.n5a=function(a){return _.Jj(this,4,bM,a)};_.g.B4a=function(a){return _.Jj(this,5,bM,a)};_.g.A4a=function(a){return _.Jj(this,6,bM,a)};_.g.o4a=function(a){return _.Jj(this,7,bM,a)};_.g.$4a=function(a){return _.Jj(this,8,bM,a)};_.g.Z4a=function(a){return _.Jj(this,9,bM,a)};_.g.s5a=function(a){return _.Jj(this,10,bM,a)};
_.g.QMa=function(a){return _.Jj(this,11,bM,a)};_.g.OMa=function(a){return _.Jj(this,12,bM,a)};var WMc=function(a){_.J.call(this,a)};_.K(WMc,_.J);var LMc=function(a){_.J.call(this,a)};_.K(LMc,_.J);LMc.prototype.H=function(){return _.B(this,1)};LMc.prototype.kW=function(){return _.yj(this,1)};LMc.prototype.getOptions=function(){return _.x(this,WMc,2)};var GMc=function(a){_.J.call(this,a)};_.K(GMc,_.J);GMc.prototype.H=function(){return _.B(this,4)};
var aM=[13,19,12,11,10,15,14,9,8,18,17,16],NMc=[1],bM=[3,4,5,6,7,8,9,10,11,12];
var XMc=function(a){_.J.call(this,a)};_.K(XMc,_.J);XMc.prototype.getType=function(){return _.B(this,1)};var YMc=function(a){var b=new XMc;return _.w(b,1,a)},ZMc=function(a,b){return _.I(a,2,b)};XMc.prototype.qy=function(){return _.B(this,3)};XMc.prototype.Vy=function(a){return _.w(this,3,a)};XMc.prototype.Ei=function(){return _.B(this,4)};XMc.prototype.setPosition=function(a){return _.w(this,4,a)};
var aNc=function(a){_.J.call(this,a,-1,$Mc)};_.K(aNc,_.J);aNc.prototype.Cb=function(){return _.B(this,1)};aNc.prototype.Ac=function(a){return _.w(this,1,a)};var $Mc=[2];
var bNc=function(a){_.J.call(this,a)};_.K(bNc,_.J);
var cNc=function(a){_.J.call(this,a)};_.K(cNc,_.J);cNc.prototype.getType=function(){return _.B(this,1)};var dNc=function(a){var b=new cNc;return _.w(b,1,a)},eNc=function(a,b){return _.I(a,2,b)};cNc.prototype.qy=function(){return _.B(this,3)};cNc.prototype.Vy=function(a){return _.w(this,3,a)};cNc.prototype.Ei=function(){return _.B(this,4)};cNc.prototype.setPosition=function(a){return _.w(this,4,a)};
var cM=function(a){_.J.call(this,a)};_.K(cM,_.J);cM.prototype.getType=function(){return _.B(this,1)};var fNc=function(a){var b=new cM;return _.w(b,1,a)};cM.prototype.mn=function(){return _.x(this,hL,2)};var gNc=function(a,b){return _.I(a,2,b)};cM.prototype.qy=function(){return _.B(this,3)};cM.prototype.Vy=function(a){return _.w(this,3,a)};cM.prototype.Ei=function(){return _.B(this,4)};cM.prototype.setPosition=function(a){return _.w(this,4,a)};
var dM=function(a){_.J.call(this,a)};_.K(dM,_.J);dM.prototype.getType=function(){return _.B(this,1)};var hNc=function(a){var b=new dM;return _.w(b,1,a)};dM.prototype.mn=function(){return _.x(this,_.UA,2)};var iNc=function(a,b){return _.I(a,2,b)};dM.prototype.qy=function(){return _.B(this,3)};dM.prototype.Vy=function(a){return _.w(this,3,a)};dM.prototype.Ei=function(){return _.B(this,4)};dM.prototype.setPosition=function(a){return _.w(this,4,a)};
var jNc=function(a){_.J.call(this,a)};_.K(jNc,_.J);jNc.prototype.Cb=function(){return _.B(this,1)};jNc.prototype.Ac=function(a){return _.w(this,1,a)};jNc.prototype.jr=function(){return _.x(this,_.gL,2)};
var lNc=function(a){_.J.call(this,a,-1,kNc)};_.K(lNc,_.J);lNc.prototype.Cb=function(){return _.B(this,1)};lNc.prototype.Ac=function(a){return _.w(this,1,a)};lNc.prototype.Wj=function(){return _.B(this,3)};var kNc=[2];
var mNc=function(a){_.J.call(this,a)};_.K(mNc,_.J);mNc.prototype.ad=function(){return _.x(this,ZK,1)};mNc.prototype.Vn=function(){return _.B(this,2)};
var nNc=function(a){_.J.call(this,a)};_.K(nNc,_.J);_.g=nNc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.jr=function(){return _.x(this,_.gL,2)};_.g.Wj=function(){return _.B(this,3)};_.g.Jh=function(){return _.B(this,4)};
var eM=function(a){_.J.call(this,a)};_.K(eM,_.J);eM.prototype.Cb=function(){return _.B(this,1)};eM.prototype.Ac=function(a){return _.w(this,1,a)};eM.prototype.Wj=function(){return _.B(this,3)};
var oNc=function(a){_.J.call(this,a)};_.K(oNc,_.J);_.g=oNc.prototype;_.g.Cb=function(){return _.B(this,1)};_.g.Ac=function(a){return _.w(this,1,a)};_.g.Wj=function(){return _.B(this,2)};_.g.JMa=function(){return _.x(this,_.Zo,3)};_.g.getKey=function(){return _.x(this,_.gc,4)};_.g.bt=function(){return _.yj(this,4)};
var pNc=function(a){_.J.call(this,a)};_.K(pNc,_.J);pNc.prototype.getKey=function(){return _.B(this,1)};pNc.prototype.bt=function(){return _.yj(this,1)};var rNc=function(a){_.J.call(this,a,-1,qNc)};_.K(rNc,_.J);var sNc=[2,4,6,10],tNc=[3,5,7,8,9],qNc=[1];
var uNc=function(a){_.J.call(this,a)};_.K(uNc,_.J);
var fM=function(a){_.J.call(this,a,-1,vNc)};_.K(fM,_.J);fM.prototype.getName=function(){return _.B(this,1)};fM.prototype.$c=function(a){return _.w(this,1,a)};fM.prototype.Cm=function(){return _.B(this,2)};var wNc=function(a,b){return _.w(a,2,b)};fM.prototype.V=function(){return _.B(this,14)};var xNc=function(a,b){return _.w(a,14,b)};_.g=fM.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.qf=function(){return _.B(this,4)};
_.g.Vl=function(a){return _.w(this,4,a)};_.g.kab=function(){return _.B(this,15)};_.g.vk=function(){return _.Ab(this,EMc,5)};var yNc=function(a,b){return _.Fj(a,5,b)},zNc=function(a,b){_.I(a,6,b)},ANc=function(a,b){_.I(a,7,b)},BNc=function(a,b){_.I(a,8,b)},CNc=function(a,b){return _.w(a,9,b)},DNc=function(a,b){return _.w(a,10,b)},ENc=function(a,b){return _.w(a,11,b)};fM.prototype.H=function(){return _.x(this,DMc,12)};var FNc=function(a,b){_.I(a,12,b)};
fM.prototype.getCapabilities=function(){return _.x(this,GNc,13)};var HNc=function(a,b){_.I(a,13,b)};fM.prototype.getCustomer=function(){return _.B(this,16)};var INc=function(a,b){return _.w(a,16,b)},GNc=function(a){_.J.call(this,a)};_.K(GNc,_.J);GNc.prototype.wa=function(){return _.P(this,1)};GNc.prototype.H=function(){return _.P(this,2)};GNc.prototype.Ba=function(){return _.P(this,3)};GNc.prototype.V=function(){return _.P(this,4)};var vNc=[5];
var gM=function(a){_.J.call(this,a,-1,JNc)};_.K(gM,_.J);gM.prototype.Cb=function(){return _.B(this,1)};gM.prototype.Ac=function(a){return _.w(this,1,a)};gM.prototype.H=function(){return _.Ab(this,fM,2)};var KNc=function(a,b){return _.Fj(a,2,b)};gM.prototype.Wj=function(){return _.B(this,3)};var JNc=[2];
var LNc=function(a){_.J.call(this,a)};_.K(LNc,_.J);LNc.prototype.Cb=function(){return _.B(this,1)};LNc.prototype.Ac=function(a){return _.w(this,1,a)};LNc.prototype.H=function(){return _.x(this,fM,2)};LNc.prototype.Wj=function(){return _.B(this,3)};
var MNc=function(a){_.J.call(this,a)};_.K(MNc,_.J);MNc.prototype.py=function(){return _.B(this,2)};
var ONc=function(a){_.J.call(this,a,-1,NNc)};_.K(ONc,_.J);ONc.prototype.Cb=function(){return _.B(this,1)};ONc.prototype.Ac=function(a){return _.w(this,1,a)};ONc.prototype.ui=function(){return _.Ab(this,_.cEa,2)};ONc.prototype.xq=function(a,b){return _.Mj(this,2,a,_.cEa,b)};var NNc=[2];
var QNc=function(a){_.J.call(this,a,-1,PNc)};_.K(QNc,_.J);QNc.prototype.Cb=function(){return _.B(this,1)};QNc.prototype.Ac=function(a){return _.w(this,1,a)};QNc.prototype.Zk=function(){return _.Ab(this,cM,2)};var PNc=[2];
_.SNc=function(a){_.J.call(this,a,-1,RNc)};_.K(_.SNc,_.J);var RNc=[1];
var hM=function(a){_.J.call(this,a,-1,TNc)},WNc,XNc;_.K(hM,_.J);hM.prototype.Vn=function(){return _.B(this,1)};var UNc=function(a,b){return _.w(a,1,b)},VNc=function(a,b){return _.w(a,2,b)};hM.prototype.Cb=function(){return _.B(this,3)};hM.prototype.Ac=function(a){return _.w(this,3,a)};WNc=function(a,b){return _.w(a,4,b)};XNc=function(a,b){return _.Fj(a,5,b)};_.YNc=function(a){_.J.call(this,a)};_.K(_.YNc,_.J);_.YNc.prototype.Zb=function(){return _.B(this,2)};_.$Nc=function(a){_.J.call(this,a,-1,ZNc)};
_.K(_.$Nc,_.J);var aOc=function(a,b){return _.w(a,1,b)},bOc=function(a,b){return _.w(a,2,b)},cOc=function(a,b){return _.Fj(a,3,b)},TNc=[5],ZNc=[3];
_.iM=function(a){_.J.call(this,a,-1,dOc)};_.K(_.iM,_.J);_.iM.prototype.FV=function(){return _.Ab(this,_.RF,2)};_.iM.prototype.se=function(){return _.x(this,_.Kf,3)};var dOc=[1,2];
_.jM=function(a){_.J.call(this,a)};_.K(_.jM,_.J);_.jM.prototype.Cb=function(){return _.B(this,1)};_.jM.prototype.Ac=function(a){return _.w(this,1,a)};_.jM.prototype.Cf=function(){return _.x(this,_.KB,2)};_.eOc=function(a,b){return _.I(a,2,b)};_.jM.prototype.Wj=function(){return _.B(this,3)};
var fOc=function(a){_.J.call(this,a)};_.K(fOc,_.J);fOc.prototype.Cb=function(){return _.B(this,1)};fOc.prototype.Ac=function(a){return _.w(this,1,a)};
var hOc=function(a){_.J.call(this,a,-1,gOc)};_.K(hOc,_.J);hOc.prototype.Cb=function(){return _.B(this,1)};hOc.prototype.Ac=function(a){return _.w(this,1,a)};hOc.prototype.Zk=function(){return _.Ab(this,dM,2)};var gOc=[2];
_.kM=function(a){_.J.call(this,a)};_.K(_.kM,_.J);_.kM.prototype.nY=function(a){_.I(this,1,a)};_.kM.prototype.qv=function(){return _.x(this,_.xy,2)};_.kM.prototype.BO=function(a){_.I(this,2,a)};
_.iOc=function(a){_.J.call(this,a)};_.K(_.iOc,_.J);_.iOc.prototype.mi=function(){return _.x(this,tMc,2)};_.iOc.prototype.V=function(a){_.Jj(this,5,_.jOc,a)};_.jOc=[5,6];
var kOc;_.lOc=function(a){_.J.call(this,a,-1,kOc)};_.K(_.lOc,_.J);_.lOc.prototype.V=function(a){_.Jj(this,6,_.lM,a)};kOc=[3,4,5];_.lM=[6,7];
var mOc=function(a){_.J.call(this,a)};_.K(mOc,_.J);mOc.prototype.getType=function(){return _.B(this,1)};var nOc=function(a){var b=new mOc;return _.w(b,1,a)};mOc.prototype.qy=function(){return _.B(this,3)};mOc.prototype.Vy=function(a){return _.w(this,3,a)};mOc.prototype.Ei=function(){return _.B(this,4)};mOc.prototype.setPosition=function(a){return _.w(this,4,a)};
var pOc=function(a){_.J.call(this,a,-1,oOc)};_.K(pOc,_.J);pOc.prototype.Cb=function(){return _.B(this,1)};pOc.prototype.Ac=function(a){return _.w(this,1,a)};pOc.prototype.Wj=function(){return _.B(this,3)};var oOc=[2];
_.qOc=function(a){_.J.call(this,a)};_.K(_.qOc,_.J);_.qOc.prototype.getId=function(){return _.B(this,1)};_.qOc.prototype.Nb=function(a){return _.w(this,1,a)};_.qOc.prototype.se=function(){return _.x(this,_.Kf,4)};
var sOc=function(a){_.J.call(this,a,-1,rOc)};_.K(sOc,_.J);sOc.prototype.Cb=function(){return _.B(this,1)};sOc.prototype.Ac=function(a){return _.w(this,1,a)};sOc.prototype.Wj=function(){return _.B(this,3)};var rOc=[2];
_.mM=function(a){_.J.call(this,a)};_.K(_.mM,_.J);_.mM.prototype.getType=function(){return _.B(this,1)};var tOc=function(a){var b=new _.mM;return _.w(b,1,a)},uOc=function(a,b){return _.I(a,2,b)};_.mM.prototype.qy=function(){return _.B(this,3)};_.mM.prototype.Vy=function(a){return _.w(this,3,a)};_.mM.prototype.Ei=function(){return _.B(this,4)};_.mM.prototype.setPosition=function(a){return _.w(this,4,a)};
_.VAc=function(a){_.J.call(this,a)};_.K(_.VAc,_.J);_.g=_.VAc.prototype;_.g.getItem=function(){return _.x(this,_.Gk,1)};_.g.setItem=function(a){return _.I(this,1,a)};_.g.getError=function(){return _.x(this,_.Lc,2)};_.g.Me=function(a){return _.I(this,2,a)};_.g.Yn=function(){return _.yj(this,2)};_.g.kv=function(){return _.B(this,4)};
var wOc=function(a){_.J.call(this,a,-1,vOc)};_.K(wOc,_.J);var vOc=[2,4];
var yOc=function(a){_.J.call(this,a,-1,xOc)};_.K(yOc,_.J);var xOc=[1];
var AOc=function(a){_.J.call(this,a,-1,zOc)};_.K(AOc,_.J);AOc.prototype.Cb=function(){return _.B(this,1)};AOc.prototype.Ac=function(a){return _.w(this,1,a)};AOc.prototype.Wj=function(){return _.B(this,3)};var zOc=[2];
var COc=function(a){_.J.call(this,a,-1,BOc)};_.K(COc,_.J);COc.prototype.Cb=function(){return _.B(this,1)};COc.prototype.Ac=function(a){return _.w(this,1,a)};COc.prototype.Wj=function(){return _.B(this,3)};var BOc=[2];
var DOc=function(a){_.J.call(this,a)};_.K(DOc,_.J);
var FOc=function(a){_.J.call(this,a,-1,EOc)};_.K(FOc,_.J);FOc.prototype.H=function(){return _.B(this,2)};var GOc=function(a,b){_.w(a,2,b)},EOc=[1];
var IOc=function(a){_.J.call(this,a,-1,HOc)};_.K(IOc,_.J);IOc.prototype.py=function(){return _.D(this,2)};var HOc=[1];
var JOc=function(a){_.oi.call(this,"Kb");this.dataType=a};_.K(JOc,_.oi);
var KOc=function(a,b){_.oi.call(this,"Lb");this.APa=a;this.gua=b};_.K(KOc,_.oi);
var LOc=function(){};_.g=LOc.prototype;_.g.sM=function(a,b){return ZMc(YMc(1),a).setPosition(b)};_.g.rM=function(a,b){return ZMc(YMc(2).setPosition(b),a)};_.g.DE=function(a,b,c){return ZMc(YMc(3).Vy(b).setPosition(c),a)};_.g.pQ=function(a,b){return ZMc(YMc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,vL,2)};
var MOc=function(){_.zy.call(this,new LOc,function(a){return a&&a.getName()})};_.K(MOc,_.zy);
var nM=function(a,b,c,d){d=void 0===d?50:d;aL.call(this,a);var e=this;this.W=b;this.connectionState=c;this.limit=d;this.active=!1;this.status=6;this.Ba=vzc(new _.EK,[1]);this.ha=this.H=!1;this.Rc=new _.jf(this);this.La(this.Rc);_.$e(this,function(){e.Rc.removeAll()})};_.K(nM,aL);_.g=nM.prototype;_.g.Oe=function(){return this.W.Oe()||this.connectionState.Oe()};
_.g.activate=function(){var a=this;aL.prototype.activate.call(this);this.Rc.listen(this.W,"Bb",function(){return void a.Ut()});this.Rc.listen(this.connectionState,[].concat(_.Jd(Object.values(_.LB))),function(){return void a.Ut()});this.W.Oe()?this.Rc.Zc(this.W,"Bb",function(b){b.Oe()||(a.LG(),a.dispatchEvent(new _.oi(_.lq)))}):this.connectionState.Oe()?this.Rc.Zc(this.connectionState,[_.LB.yL,_.LB.nU],function(){a.LG();a.dispatchEvent(new _.oi(_.lq))}):(this.LG(),this.dispatchEvent(new _.oi(_.lq)))};
_.g.LG=function(){};_.g.ou=function(a){var b=this;if(this.nk()){var c=this.limit;this.limit+=a||50;this.Zb()>c&&this.Ut();this.W.Oe()?this.Rc.Zc(this.W,"Bb",function(d){d.Oe()||b.SO()}):this.SO()}};_.g.EL=function(){this.Oe()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.Ba};_.g.handleError=function(a){this.dispatchEvent(new _.Oc(a))};_.g.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};_.g.nk=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rc.removeAll();this.activate()};_.g.SO=function(){};
var NOc=function(a,b,c,d,e){nM.call(this,c,a,b,e.vi()||void 0);this.request=e;this.logName="drive.ds.sync.CategoryMetadataLiveList";this.V=[];this.data=[];this.changed=!1;this.O=new MOc;this.ka=d};_.K(NOc,nM);_.g=NOc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.getData=function(){return WGc(new wL,this.data).Ac(this.status)};
_.g.Rr=function(){var a=this.O.ky(this.V,this.data);this.V=this.data;var b=(new aNc).Ac(this.status);return _.Fj(b,2,a)};_.g.SO=function(){this.ka(this.Qi(),this.limit)};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,OOc(this)}};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||VK(this.O,this.data,b.H()))this.H=!0,this.status=b.Cb(),this.data=b.H(),this.ha=a.H,OOc(this)};var OOc=function(a){a.log("Livelist "+a.Qi()+" returning "+a.data.length+" for "+(a.request.qc()+". Status: ")+(_.db(uEc)[a.Cb()]+"."));a.dispatchEvent(new _.oi(_.Zc,a))};NOc.prototype.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};
var POc=function(a,b,c,d,e,f,h){_.bL.call(this,a,b,c,e,f,d);this.Zf=h;this.logName="drive.ds.sync.ViewCacheLiveList";this.ka=null;this.ha=void 0};_.K(POc,_.bL);POc.prototype.getData=function(){this.H=this.items;var a=QCc((new _.VA).Ac(this.Cb()).KA(this.items),this.nk());a=_.I(a,7,this.ka).lP(this.suggestionSessionId).yi(this.Fe);return _.Dj(a,18,this.ha)};
POc.prototype.update=function(a){if(BEc(this,a)&&(CEc(this,a),this.ka=a.Y5(),this.suggestionSessionId=a.Rf(),this.ha=a.lka(),AEc(this),this.suggestionSessionId&&iGc(this.O)&&(a=this.Zf.H(106027)))){var b=_.x(_.eK(a),FDc,20);if(!b){b=new FDc;var c=_.eK(a);_.I(c,20,b)}_.w(b,1,this.suggestionSessionId);a.vj()}};
var QOc=function(a,b){var c={};a=_.Ra(a,function(d){return!!d});b=_.Ra(b,function(d){return!!d});_.Qa(a,function(d,e){var f=b[e];f?_.Oj(d,f)||(d=iNc(hNc(4),f),c[e]=d):(d=iNc(hNc(2),d),c[e]=d)});_.Qa(b,function(d,e){a[e]||(d=iNc(hNc(1),d),c[e]=d)});return c},ROc=function(a,b){return _.Ua(a)!==_.Ua(b)||!_.Za(QOc(a,b))};
var SOc=function(a,b){aL.call(this,a);this.request=b;this.logName="drive.ds.sync.WorkspaceFindByIdsLiveMap";this.status=6;this.H={};this.data={}};_.K(SOc,aL);_.g=SOc.prototype;_.g.activate=function(){aL.prototype.activate.call(this);_.Za(this.data)&&6===this.status||this.dispatchEvent(new _.oi(_.Zc,this))};_.g.Cb=function(){return this.status};_.g.Iq=function(){return new _.EK};
_.g.getData=function(){this.H=this.data;var a=(new _.iK).Ac(this.status);_.Qa(this.data,function(b,c){a.MT().set(c,b||new _.UA)});return a};_.g.Rr=function(){var a=QOc(this.H,this.data);this.H=this.data;var b=(new fOc).Ac(this.status);_.Qa(a,function(c,d){_.Cb(b,2,void 0,dM).set(d,c)});return b};_.g.fT=function(){throw Error("bg");};_.g.ld=function(){return this.request};
_.g.update=function(a){var b={};a.MT().forEach(function(c,d){c||(c=OIc(d));b[d]=c});if(this.status!==a.Cb()||ROc(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};
var TOc=function(a,b,c,d,e,f){_.bL.call(this,a,b,c,d,e,f);this.ha=[];this.logName="drive.ds.sync.PeoplePredictLiveList"};_.K(TOc,_.bL);TOc.prototype.getData=function(){this.H=this.items;var a=(new _.hK).Ac(this.Cb()).KA(this.items);var b=this.nk();a=_.w(a,4,b);return tEc(a,this.ha).lP(this.suggestionSessionId).yi(this.Fe)};TOc.prototype.update=function(a){BEc(this,a)&&(CEc(this,a),this.ha=_.Ab(a,_.tk,6),this.suggestionSessionId=a.Rf(),AEc(this))};
var UOc=function(){};_.g=UOc.prototype;_.g.sM=function(a,b){return gNc(fNc(1),a).setPosition(b)};_.g.rM=function(a,b){return gNc(fNc(2).setPosition(b),a)};_.g.DE=function(a,b,c){return gNc(fNc(3).Vy(b).setPosition(c),a)};_.g.pQ=function(a,b){return gNc(fNc(4),a).setPosition(b)};_.g.OM=function(a){return a.mn()};
var VOc=function(){_.zy.call(this,new UOc,function(a){return a&&a.eq()})};_.K(VOc,_.zy);
var WOc=function(a,b,c){nM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new VOc;this.suggestionSessionId=null;this.ka=c};_.K(WOc,nM);_.g=WOc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.getData=function(){this.O=this.data;return nFc(mFc((new iL).Ac(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new QNc).Ac(this.status);return _.Fj(b,2,a)};_.g.SO=function(){};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Cb()||VK(this.V,this.data,a.Zk())){this.changed=this.H=!0;this.data=a.Zk();if(a=a.Rf())this.suggestionSessionId=a;this.Ut()}};_.g.refresh=function(){this.ka()};_.g.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var XOc=function(a,b,c,d){aL.call(this,a);var e=this;this.request=b;this.ha=c;this.W=d;this.logName="drive.ds.sync.TeamDriveLiveList";this.O=[];this.items=[];this.status=6;this.V=vzc(new _.EK,[1]);this.H=!0;this.limit=b.vi();_.$e(this,function(){e.O=[]})};_.K(XOc,aL);_.g=XOc.prototype;_.g.activate=function(){aL.prototype.activate.call(this);_.pa(this.items)&&6===this.status&&this.H||this.dispatchEvent(new _.oi(_.Zc,this))};_.g.ld=function(){return this.request};_.g.Cb=function(){return this.status};
_.g.Iq=function(){return this.V};_.g.nk=function(){return this.H};_.g.getData=function(){this.O=this.items;return QCc((new _.VA).Ac(this.status).KA(this.items),this.H)};_.g.Rr=function(){var a=_.x7a().ky(this.O,this.items),b=(new rEc).Ac(this.status);a=_.Fj(b,2,a);this.O=this.items;return a};_.g.ou=function(a){this.isActive()&&(this.limit+=a||20,this.ha.BF(this.Qi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||VK(_.x7a(),this.items,a.Ad()))this.items=a.Ad(),this.status=a.Cb(),_.mI(this.W)&&(this.V=wzc(this.status,this.items)),this.H=a.Ql(),this.isActive()&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};_.g.Au=function(){throw Error("cg");};_.g.refresh=function(){};
var YOc=function(a,b,c){aL.call(this,a.He());var d=this;this.context=a;this.W=b;this.request=c;this.logName="drive.ds.sync.TeamDriveLiveMap";this.O={};this.H={};this.status=6;this.V=vzc(new _.EK,[1]);this.log("Creating TD find by ids live map: "+this.request.ln().join(", "));_.$e(this,function(){d.O=[]})};_.K(YOc,aL);_.g=YOc.prototype;_.g.activate=function(){aL.prototype.activate.call(this);(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.ld=function(){return this.request};
_.g.getData=function(){this.O=this.H;var a=new _.gK;a.Ac(this.status);a.map=this.H;return a};_.g.Rr=function(){var a=Tzc(this.O,this.H),b=new zEc;b.Ac(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.Iq=function(){return this.V};_.g.fT=function(a){var b=this.request;this.request=a;this.W.RY(this.Qi(),b,a)};
_.g.update=function(a){if(this.status!==a.Cb()||Uzc(this.H,a.Qr()))this.status=a.Cb(),this.H=a.Qr(),_.mI(this.context.Ic)&&(this.V=wzc(this.status,Object.values(this.H))),this.isActive()&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.sB=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.iW=function(){this.dispatchEvent(new _.oi(_.HEa))};
var ZOc=function(){};_.g=ZOc.prototype;_.g.sM=function(a,b){return iNc(hNc(1),a).setPosition(b)};_.g.rM=function(a,b){return iNc(hNc(2).setPosition(b),a)};_.g.DE=function(a,b,c){return iNc(hNc(3).Vy(b).setPosition(c),a)};_.g.pQ=function(a,b){return iNc(hNc(4),a).setPosition(b)};_.g.OM=function(a){return a.mn()};
var $Oc=function(){_.zy.call(this,new ZOc,function(a){return a&&a.getId()})};_.K($Oc,_.zy);
var aPc=function(a,b,c){nM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.ka=c;this.logName="drive.ds.sync.WorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new $Oc};_.K(aPc,nM);_.g=aPc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.oi(_.Zc,this))};_.g.getData=function(){this.O=this.data;return gHc((new yL).Ac(this.status),this.data.slice(0))};
_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new hOc).Ac(this.status);return _.Fj(b,2,a)};_.g.SO=function(){this.ka.BF(this.Qi(),this.limit)};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))};_.g.Zb=function(){return this.data.length};_.g.ld=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||VK(this.V,this.data,b.Zk()))this.H=!0,this.status=b.Cb(),this.data=b.Zk(),this.ha=a.H,this.dispatchEvent(new _.oi(_.Zc,this))};_.g.sB=function(a){this.dispatchEvent(new _.Oc(new _.Nc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var bPc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.Af;this.O=this.context.tfa;this.ta=this.context.b6};_.g=bPc.prototype;_.g.gxa=function(a){var b=this,c=new POc(this.context.wm,this.context.aQ,this.context.He(),this.context.Ic,function(d,e){b.BF(d,e)},a,this.context.jk());this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.jxa=function(a){var b=this,c=new TOc(this.context.wm,this.context.aQ,this.context.He(),function(d,e){b.BF(d,e)},a,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.dxa=function(a){var b=this,c=new EEc(this.context.Ic,this.context.wm,this.context.He(),this.context.MZ,this.RY.bind(this),a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.mxa=function(a){var b=this,c=new XOc(this.context.He(),a,this,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.nxa=function(a){var b=this,c=new YOc(this.context,this,a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.qxa=function(a){var b=this,c=new aPc(this.context,a,this);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.kxa=function(a){var b=this,c=new WOc(this.context,a,function(){if(a instanceof _.Pz){var d=cPc(b.context);GIc(d,d.getKey(a)).refresh()}});this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.rxa=function(a){var b=this,c=new SOc(this.context.He(),a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};_.g.$wa=function(a){var b=this,c=new NOc(this.context.Fj(),this.context.wk(),this.context.He(),function(d,e){b.BF(d,e)},a);this.Yh(c);_.$e(c,function(){b.Zj(c)});return c};
_.g.Yh=function(a){var b=a.Qi();this.H[b]=a;this.ha.create(b,a.ld());if(a.ld()instanceof _.Rz)a=this.O.Yh(b,a.ld());else if(a.ld()instanceof _.ZF)a=EIc(this.O,b,a.ld());else if(a.ld()instanceof _.Pz)a=cPc(this.context).Yh(b,a.ld());else if(a.ld()instanceof _.fG)a=this.ta.Yh(b,a.ld());else{var c=a.ld(),d=cL(this.context.wm,c,2);this.log("Registering LiveList "+a.Qi()+" "+d);a=this.W.Yh(b,c)}"boolean"===typeof a&&MGc(this.ha,b,a)};
_.g.Zj=function(a){if(a.ld()instanceof _.Rz)this.O.Zj(a.Qi(),a.ld());else if(a.ld()instanceof _.ZF)FIc(this.O,a.Qi(),a.ld());else if(a.ld()instanceof _.Pz)cPc(this.context).Zj(a.Qi(),a.ld());else if(a.ld()instanceof _.fG)this.ta.Zj(a.Qi(),a.ld());else{var b=a.ld(),c=cL(this.context.wm,b,2);this.log("Unregistering LiveList "+a.Qi()+" "+c);this.W.Zj(a.Qi(),b)}tL(this.ha,a.Qi(),4);delete this.H[a.Qi()]};_.g.RY=function(a,b,c){this.W.Zj(a,b);this.W.Yh(a,c)};
_.g.BF=function(a,b){var c=dPc(this,a).ld();c.Hi(b);c instanceof _.Rz?this.O.Yh(a,c):c instanceof _.ZF?EIc(this.O,a,c):c instanceof _.fG?this.ta.Yh(a,c):this.W.Yh(a,c)};_.g.lO=function(a,b){var c=this.H[a]&&this.H[a].ld();c&&(c instanceof _.yf?Czc(c.H(),b.Ad().filter(function(d){return!mL(d)})):c instanceof _.TF&&Czc(c.H(),Object.values(b.Qr()).filter(function(d){return d&&!mL(d)})));this.ka[a]=b;this.V||(this.V=_.Ai(this.X8,50,this))};
_.g.IX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ai(this.X8,50,this))};_.g.kA=function(a){(a=this.H[a])&&a.iW()};_.g.X8=function(){_.Bi(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&&(PGc(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])tL(this.ha,a,3),d.sB(c)};
_.g.Cka=function(a){return dPc(this,a).ld()};var dPc=function(a,b){if(!a.H[b])throw Error("dg`"+b);return a.H[b]};bPc.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var ePc=function(){},fPc=function(a){this.H=a},WAc=function(a,b,c,d,e,f,h,k){this.status=a;this.O=b;this.V=c;this.ka=d;this.ha=e;this.fA=f;this.H=h;this.W=k};
var oM=function(a,b){_.yi.call(this);this.O=a;this.request=b;this.ie=_.Zh();this.complete=!1;this.H=""};_.K(oM,_.yi);oM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Pe(a.request)}).then(this.W.bind(this)).tg(this.handleError.bind(this));return this.ie.promise};oM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new KOc(0,this.H));gPc(this)};
var gPc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Pe(new _.stc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new wOc;c=_.Dj(c,2,b.V);c=_.w(c,3,a.H);c=_.w(c,5,b.ka);c=_.w(c,6,b.ha);c=_.w(c,7,b.fA);c=_.w(c,8,b.H);b=_.Fj(c,4,b.W);a.ie.resolve(b)}else b=_.uI(_.eq(_.dq(new _.Lc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new KOc(b.O,
a.H)),gPc(a)}).tg(function(b){a.handleError(b)})},5E3)};oM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Pe(new _.rtc(a.H))}).then(this.V.bind(this)).tg(this.handleError.bind(this))};oM.prototype.V=function(){if(!this.complete){var a=new wOc;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.ie.resolve(a);this.complete=!0;this.dispose()}};oM.prototype.handleError=function(a){this.complete=!0;this.ie.reject(_.HI(a));this.dispose()};
var hPc=function(){_.oi.call(this,"VbxEwf")};_.K(hPc,_.oi);
var iPc=function(a,b){this.context=a;this.H=null;this.oc=b||null};_.g=iPc.prototype;_.g.Ka=function(){return _.x(this.context.Ic,_.EI,58)};_.g.getContext=function(){return this.context};_.g.Fz=function(){return this.context.NA.Fz(this.H)};_.g.He=function(){return this.context.He()};_.g.GM=function(a){return _.fi(this.context.Af.um.H(a))};_.g.bR=function(){return _.fi(this.context.NA.bR())};
_.g.V4=function(a,b,c){var d=new _.ai;if(_.Sj(a,_.nI,3,_.pI)||_.Sj(a,_.BJ,4,_.pI)||_.Sj(a,_.qK,5,_.pI)||_.Sj(a,_.yJ,6,_.pI)||_.Sj(a,_.WI,7,_.pI)||_.Sj(a,_.PI,8,_.pI)||_.Sj(a,_.TI,9,_.pI)||_.Sj(a,_.xI,10,_.pI)){var e=JGc(a);this.context.Pm().then(function(f){return f.Pe(e,{S6a:b,T6a:c})}).then(this.lab.bind(this,d),d.Gd,d);return d}throw Error("eg");};
_.g.lab=function(a,b){var c=[],d="";if(b instanceof _.rK){c=b.ad().Ad();var e=_.B(b,2);d=b.Vn()}else if(b instanceof _.DJ)b.getItem()&&c.push(b.getItem()),e=b.MM();else throw Error("fg");a.callback({items:c,via:e,pageToken:d})};_.g.Spa=function(){var a=this.context.Ic,b=a.Vf();a="email:"+_.YH(a).getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.Sha=function(){this.context.Hs.jS();var a=this.context.Ic;yKc(_.RJ(_.YH(a)),_.SJ(a),this.context.He()).tg(function(){})};
_.g.i9=function(){return _.xsc[_.Bj(this.context.Ic.Vf(),8,0)]};_.g.hda=function(){this.context.MF.H=new nJc(_.ch().substring(0,8))};_.g.RS=function(){var a=this.context.MF.dN(),b=null;a&&(b=pJc(this.context.MF),b={traceId:a,spanRecs:b});a=this.context.MF;a.H=null;a.xY=[];return _.fi(b)};_.g.dN=function(){return _.fi(this.context.MF.dN())};
_.g.getState=function(a){var b=this.context.Nj,c=b.H.bind(b);b={};b.b=this.context.Ic.Oi();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.Af.um.zd();c=this.context.Af.It;var d=c.H;d&&(b.cs_sutd=d.Y7,b.cs_ss=d.zd());b.cs_ch=FHc(c).length;b.cs_td=c.ZV().length;(c=this.context.c6)&&(b.t_cps=c.WWa().getStats().join(","));b.t_id=jPc(this.context);
var e=[];kPc(this.context.aR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.fz?this.context.wk().isConnected():this.context.xI.xB();b.n_o=this.context.fz?this.context.wk().Oe():this.context.Fj().Oe();b.n_csm=!!this.context.fz;a&&(b.csw_cc=_.Ua(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.fi(JSON.stringify(b))};_.g.opa=function(){this.oc&&(this.oc.dispatchEvent(new hPc),this.oc.Eu())};
_.g.Jl=function(a){var b=this.context.fz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.owc(b))};
var nPc=function(a,b){this.context=a;this.Gg=b;this.H=_.etc(_.ZJ(this.Gg),lPc);this.O=_.etc(_.ZJ(this.Gg),mPc)};
nPc.prototype.jl=function(a){var b=this,c=this.context.SP.Cf().Cf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.itc(h);var k=h.getId(),l=b.context.ju();_.euc(h,3);_.AI(h,5);var p=Yzc(h,!0);h.getCapabilities()||_.NJ(h,new _.zk);_.P(p,2)&&((p=h.rk())&&p.length?_.w(h,46,p[0]):(_.MJ(h,[l]),_.w(h,46,l)),_.w(h,12,h.wq()),l=new _.tk,l.Nb(d),_.w(l,6,1),_.Ptc(l,!0),_.auc(h,l),_.$tc(h,[l]),_.s7b(h,1));e[k]=h});a=Object.keys(e);c=this.context.Af;var f=PFc(c.um,a);_.Qa(f,function(h,k){JK(h.getItem(),
e[k],b.H);(b.context.Fj().Oe()||b.context.wk().Oe()||3===h.getItem().tv())&&JK(h.getItem(),e[k],b.O);_.$a(e,k)});_.Qa(e,function(h){_.Ck(h.Om())&&(f[h.getId()]=new lL(h))});oPc(c,Object.values(f))};
var pPc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.jl(c)},qPc=function(a){a=a.context.Af;var b=new _.yf;b.Jl(!0);b=RFc(a.um,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.tv()){var h=new _.rI;_.sI(h,f.getId());_.BI(h);d.push(h)}else h=new _.Vna,_.GK(h,!1),_.w(h,2,!1),_.I(f,81,h),c.push(b[e])}oPc(a,c);a.Jo(d)},lPc=[50],mPc=[12,11,10,67,68];
var rPc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new nPc(a,a.Gg)};_.g=rPc.prototype;_.g.iY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.nab.bind(this);var b=this.mab.bind(this);this.log("Querying all offline items.");this.H.tV().Wf(a,b);this.V||(this.H.z_((0,_.M)(this.Mxb,this)),this.V=!0)}}else qPc(this.O)};_.g.nab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.jl(a);AL(this.context.Nj,"GZTDpc")};_.g.mab=function(){this.log("Error fetching offline items.")};
_.g.Mxb=function(a){this.log("Handling offline change(s): "+a.length);pPc(this.O,a)};_.g.log=function(a){this.context.He().info("drive.ds.sync.offline.LocalDataService",a)};
var pM=function(a){_.yi.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Rc=new _.jf(this);this.ma=null;this.Ta=this.wa=!1;var b=new rPc(a);this.context.ha=b;this.Fa=new iPc(a,this);HAc(this.Fa);_.x(a.Ic,_.EI,58);this.La(this.Rc);this.O=this.context.Nj;this.W=a.qfa;this.V=new bPc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.wSa()};_.K(pM,_.yi);_.g=pM.prototype;_.g.wSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Zh();var b=this.context.jk().H(106E3);this.ma.promise.then(function(){b&&b.vj()},function(){_.oK(a.context.jk(),181008852)});this.context.He().info(this.Ba,"Initializing "+(_.TJ(this.context.Ic)?"(coldstart) ":"")+" with client build: "+this.context.Ic.Oi());this.Rc.listen(this.context,_.Yc,this.qvb);this.Rc.listen(this.context.xI,["pb","qb"],function(c){return void a.dispatchEvent(c)});this.Rc.listen(this.context.wk(),[].concat(_.Jd(Object.values(_.LB))),
function(c){return void a.dispatchEvent(c)});this.$a();this.O.start();AL(this.O,"NSockf")}return this.ma.promise};_.g.xXa=function(){this.context.He().info(this.Ba,"Ready to process requests.");this.wa||(this.wa=!0,this.ma.resolve())};_.g.qvb=function(a){var b=a.error,c=b.Fg;c&&3===c.getType()&&!this.wa?(this.wa=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.N4=function(){throw qM("teamDriveQuery");};_.g.Ipa=function(){throw qM("teamDriveFindByIds");};
_.g.Jpa=function(){throw qM("teamDriveMovePreflight");};_.g.mGa=function(){throw qM("peoplePredictQuery");};_.g.query=function(a){gGc(this.context.wm,a,SDc(this.context.Gg));this.iF();var b=a.clone();b=this.V.gxa(b);this.Ta||(a=a.se(),a&&121===_.B(a,1)||(this.Ta=!0,this.Rc.listen(b,_.Zc,this.KMa)));return b};_.g.KMa=function(a){a=a.currentTarget;if(1===a.Cb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Rc.Tc(a,_.Zc,this.KMa)}};_.g.Rs=function(a){this.iF();GEc(a);return this.V.dxa(a.clone())};
_.g.hva=function(){throw qM("activityQuery");};_.g.Tva=function(){throw qM("backupsQuery");};_.g.XGa=function(){throw qM("refreshBackups");};_.g.uV=function(){throw qM("getAndroidBackupItems");};_.g.m8=function(){throw qM("deleteBackup");};_.g.pGa=function(){throw qM("permissionQuery");};_.g.$$=function(){throw qM("insertPermission");};_.g.n8=function(){throw qM("deletePermission");};_.g.hd=function(){throw qM("mutate");};_.g.NN=function(){throw qM("mutateWorkspace");};
_.g.sC=function(){throw qM("bulkMutate");};_.g.cxa=function(){throw qM("createFileUploader");};_.g.LSa=function(a){return new oM(this.context.Pm(),a)};_.g.kr=function(a){if(3===a.getType())return _.gi(this.context.Pm().then(function(b){return b.Pe(a)}).then(null,_.II));throw qM("getApps with type "+a.getType());};_.g.jr=function(){throw qM("getApp");};_.g.baa=function(){throw qM("installApp");};_.g.l8=function(){throw qM("deleteApp");};_.g.cT=function(){throw qM("updateApp");};
_.g.jN=function(){throw qM("getUserAccount");};_.g.JG=function(){throw qM("getUserPrefs");};_.g.aS=function(){throw qM("mutateUserPref");};_.g.Vr=function(){throw qM("getRevisions");};_.g.SBa=function(){return!1};_.g.Jl=function(a){this.context.fz?a?_.pwc(this.context.fz,!0):this.context.wk().Oe()&&this.context.fz.iM(!0).then(null,function(){}):this.context.Fj().Jl(a)};_.g.Uy=function(){throw qM("setOfflineOptIn");};_.g.iY=function(){throw qM("setLocalItemService");};_.g.iF=function(){};
_.g.cS=function(){this.context.cS();this.context.jk().O(106006)};_.g.A9=function(){return this.Fa};_.g.fY=function(){};_.g.xB=function(){return this.context.xI.xB()};_.g.hQ=function(){return _.Q(this.context.Ic.Vf(),52,!1)?_.Vh(CGc(new BGc,0)):this.context.xI.hQ()};_.g.isConnected=function(){return 1===this.context.wk().get()};_.g.I7=function(){var a=this.context.fz;return a?a.iM():_.Vh(_.hwc(0))};_.g.sync=function(){throw qM("sync");};_.g.Eu=function(){return this.context.Eu()};
_.g.oba=function(){throw qM("offlineDataLoaded");};_.g.Pna=function(a){return this.context.Pm().then(function(b){return b.Pe(a)}).then(function(b){return b})};_.g.uwa=function(){throw qM("categoryMetadataQuery");};_.g.C7=function(){throw qM("changeCategoryLinks");};_.g.UO=function(){throw qM("updateCategoryMetadata");};_.g.HGa=function(){throw qM("publishedCategoriesQuery");};_.g.IGa=function(){throw qM("publishedCategoryQuery");};_.g.lLa=function(){throw qM("workspaceFindByIdsRequest");};
_.g.Dqa=function(){throw qM("workspaceQueryRequest");};_.g.KJa=function(){throw qM("suggestedWorkspaceItemQueryRequest");};_.g.LJa=function(){throw qM("suggestedWorkspaceQueryRequest");};_.g.x_=function(){throw qM("addCacheHint");};_.g.$_=function(){throw qM("createUserFeedback");};_.g.Jo=function(){throw qM("handleChanges");};var qM=function(a){return new _.Nc(a+" is unsupported",_.GI(3))};
var fBc=function(a){pM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Xy("")};_.K(fBc,pM);fBc.prototype.$a=function(){zL(this.O,["NSockf"],this.xXa.bind(this))};
var sPc=new Set([1,2,4,5,6]),tPc=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.Fe=0};tPc.prototype.Cf=function(){var a=new _.jM;a.Ac(this.status);this.H&&_.eOc(a,uPc(this));return a};
var vPc=function(a,b,c,d){d=void 0===d?!1:d;var e=sPc.has(c);if(1===a.status&&!e)return!1;a.Fe=c;var f=a.status;c=!a.H;if(_.mI(a.O)){var h=(h=b&&b.getUser())&&HK(h);h=!(!h||!WHc(a.ka.H,h));a.status=h&&e||d?1:6}f=!_.Oj(a.H,b)||(_.mI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.mI(a.O)||(a.status=e||d?1:6);c&&(AL(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};tPc.prototype.Qe=function(){return this.Fe};
var uPc=function(a){return a.H?a.H.clone():null};
var wPc=function(a){_.yi.call(this);this.W=a;this.Fe=0};_.K(wPc,_.yi);var xPc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};eFc(a,_.ie(a,4).map(b));fFc(a,_.ie(a,5).map(b));return a};_.g=wPc.prototype;_.g.kr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.bQ=function(){};_.g.PG=function(){return 0!==this.Fe};_.g.Qe=function(){return this.Fe};
var yPc=new Set([1,2,4,5,6]),zPc=function(a,b,c){wPc.call(this,b);this.V=a;this.O=c;this.apps={};this.H=[];this.status=6;this.ep=!1};_.K(zPc,wPc);zPc.prototype.kr=function(){var a=new uL;if(!_.Za(this.apps)){_.Dj(a,4,this.H);var b=[];_.Qa(this.apps,function(c){b.push(c.clone())});_.Fj(a,2,b)}a.Ac(this.status);return a};zPc.prototype.put=function(a){this.apps[a.getId()]=xPc(a);this.O.update(1);this.dispatchEvent(new _.oi("Mb",this))};zPc.prototype.remove=function(a){_.$a(this.apps,a)&&this.O.update(1)};
zPc.prototype.bQ=function(a,b,c){c=void 0===c?!1:c;var d=!yPc.has(b);1===this.status&&d||(this.Fe=b,APc(this,a,!d||c),d||this.O.update(1),this.ep||(this.ep=!0,this.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),AL(this.W,"nVUlO")))};
var APc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.ie(b,4);if(!d)if(e.length!==a.H.length)d=!0;else{var f=e.concat(a.H);_.Fa(f);d=f.length!==a.H.length}a.H=e;var h=_.cb(a.apps);_.Esc(a.apps);b=_.Ab(b,_.gL,2);d||(d=b.length!==_.Ua(h));b.forEach(function(k){var l=xPc(k);a.apps[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Oj(l,k))});a.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.oi("Mb",a))};
var rM=function(a){_.N.call(this);this.context=a;this.Fy=new Set;this.vp=6;this.KCa=!0;this.Fe=0;this.Rc=new _.jf(this);this.La(this.Rc)};_.K(rM,_.N);_.g=rM.prototype;_.g.Yh=function(a){this.IRa(a);this.Fy.add(a);this.resize(!0);this.lO(a)};_.g.IRa=function(){};_.g.Zj=function(a){this.Fy.delete(a);0!=this.Fy.size||this.IZa()?this.resize(!1):this.dispose()};_.g.Qe=function(){return this.Fe};_.g.yi=function(a){this.Fe=a};_.g.DS=function(a){this.KCa=!1;this.vp=a};_.g.AV=function(){return this.vp};
_.g.refresh=function(){};_.g.Xj=function(){};
var CPc=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)}}BPc(a.context.Af,d,b);d.forEach(function(k){mJc(a.context.RMa,k,b);if(k.wc()){var l=k.getCapabilities();mL(k)?l&&(_.w(l,12,_.P(l,13)),_.w(l,9,!1),_.w(l,21,!1)):LK(k)?(l&&_.w(l,3,!1),_.w(k,30,!1)):l&&(_.w(l,42,!1),_.w(l,43,!1))}k.getCapabilities()||
_.NJ(k,new _.zk)})};rM.prototype.resize=function(){};rM.prototype.ld=function(){};rM.prototype.jl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=BL(e);d=c.Ju(e,!0)||d});b||(1!=this.AV()&&(d=!0),this.DS(1));d&&this.JX()};var DPc=function(a,b){var c=!1;b.forEach(function(d){c=a.Ju(d)||c});c&&a.JX();return c};_.g=rM.prototype;_.g.update=function(a){return DPc(this,[a])};_.g.Ju=function(){};_.g.JX=function(){var a=this;this.HRa();this.Fy.forEach(function(b){a.lO(b)})};_.g.HRa=function(){};
_.g.lO=function(a){var b=EPc(this.context).Cka(a);this.VYa(b)||(b=this.Xj(b),EPc(this.context).lO(a,b))};_.g.IX=function(a){var b=this;this.DS(3);this.Fy.forEach(function(c){EPc(b.context).IX(c,a)})};_.g.kA=function(){var a=this;this.Fy.forEach(function(b){EPc(a.context).kA(b)});this.yi(0==this.Qe()?1:6)};_.g.IZa=function(){return!1};_.g.VYa=function(){return!1};
var FPc=function(a){_.oi.call(this,"xa");this.id=a};_.K(FPc,_.oi);
var GPc=function(a,b,c,d){d=void 0===d?!1:d;_.yi.call(this);this.request=a;this.context=b;this.cLa=d;this.ie=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.K(GPc,_.yi);
GPc.prototype.nh=function(){var a=this;if(this.ie)return this.ie.promise;this.ie=_.Zh();for(var b={},c=_.m(this.request.ln().entries()),d=c.next();!d.done;b={kra:b.kra,jea:b.jea,Uqa:b.Uqa},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Uqa=e;b.kra=dEc(cEc(d),this.request);b.jea=void 0;this.cLa&&(b.jea={cLa:!0});this.context.Pm().then(function(f){return function(h){return h.Pe(f.kra,f.jea)}}(b)).then(function(f){return void HPc(a,f)},function(f){return function(h){var k=f.Uqa;h=
_.Rc(h);5===h.Fg.kv()||4===h.Fg.hk()?(a.context.He().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),IPc(a)):a.handleError(h)}}(b))}return this.ie.promise};var HPc=function(a,b){b.ad().Ad().forEach(function(c){_.AI(c,1);a.W.push(c)});IPc(a)},IPc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
GPc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;JPc(this);KPc(this);this.O.size===this.request.ln().length?(this.context.Af.jl([],1,this.originalRequest,!1),this.dispatchEvent("za"),this.ie.resolve(this.items)):this.dispatchEvent("wa")};
var JPc=function(a){var b=a.W;a.W=[];b=a.context.sfa.T8(b);if(_.LH(_.YH(a.context.Ic))){var c=a.context.Af.um;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.MJ(d,e.rk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.Af.jl(b,1,a.originalRequest,!0)},KPc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.BI(_.sI(new _.rI,c));a.context.Af.Jo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new FPc(c))})};
GPc.prototype.handleError=function(a){var b=new $K(a.Fg,_.Pj(this.context.Ic.Vf(),1,1));this.context.Af.sB(this.request,b);this.dispatchEvent(b);this.ie.reject(a)};
var LPc=function(a,b,c,d){rM.call(this,a);this.Gg=b;this.request=c;this.Cd={};this.H=null;this.O=_.FJ(a.Ic)||new _.nuc;d&&this.jl(d,!0)};_.K(LPc,rM);
LPc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.vp=6;if(_.Q(this.request,5,!1))return this.DS(1),_.Vh();var b=this.KCa?!Fzc(_.ZJ(this.Gg),this.request.H()):!1,c=[],d=this.context.ju();this.request.ln().forEach(function(h){if("root"!==h&&h!==d){var k=a.Cd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.tv()||b)l=l&&l.Om(),k=!(l&&_.P(l,2));k&&c.push(h)}});if(0===c.length)return this.jl([],!1),_.Vh();this.H=_.Zh();this.H.promise.then(function(){a.H=null},function(){a.H=null});
var e=this.request.clone();_.VF(e,c);var f=new GPc(e,this.context,this.request);this.context.Fj().Oe()?(this.Rc.listen(this.context.Fj(),"Bb",function(h){h.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),MPc(a,f,a.H))}),this.vp=0<Object.values(this.Cd).length?1:2):(this.context.wk().Oe()&&(this.vp=0<Object.values(this.Cd).length?1:2),MPc(this,f,this.H));return this.H.promise};var MPc=function(a,b,c){a.Rc.listen(b,"xa",function(d){a.Cd[d.id]=null});a.kA();b.nh().then(function(){c.resolve()},c.reject)};_.g=LPc.prototype;
_.g.Pha=function(a){var b=this;if(this.context.wm.equals(a,this.request,!0)){if(Fzc(_.ZJ(this.Gg),a.H()))return!0;if(Fzc(this.request.H(),a.H(),_.ZJ(this.Gg))){if(this.KCa)return!0;if(_.Q(this.O,5,!1))return this.request.ln().every(function(c){return(c=b.Cd[c])&&_.P(c.getItem(),31)})}}return!1};
_.g.Xj=function(a){var b=new _.gK;_.mI(this.context.Ic)?b.Ac(Szc(Object.values(this.Cd))?6:this.vp):b.Ac(this.vp);b.yi(this.Qe());xEc(b,_.Sa(this.Cd,function(c){return c?c.getItem():null}));CPc(this,a.H(),b.Qr());return b};_.g.resize=function(){};_.g.ld=function(){return this.request};_.g.zd=function(){return Object.values(this.Cd).length};_.g.Ju=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.ds=function(a){return!!a&&_.oa(this.request.ln(),a.getId())};
var NPc=function(a,b){_.oi.call(this,a);this.changes=b};_.K(NPc,_.oi);
var OPc=function(a){var b=new tIc;if(a.Rf()){var c=a.Rf();b.H=!1;b.suggestionSessionId=c}a instanceof _.hK&&_.Ab(a,_.tk,6).length?(a=_.Ab(a,_.tk,6),b.H=!1,b.V=a):a instanceof _.VA&&(a.Y5()||a.osa()||a.lka().length)&&(c=a.Y5(),b.H=!1,b.W=c,c=a.osa()||!1,b.H=!1,b.incompleteSearch=c,a=a.lka(),b.H=!1,b.O=a);return b};
var sM=function(a,b,c,d,e){e=void 0===e?"":e;_.yi.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.wa=!1;this.V=[];this.O=!1;this.ka=0;this.Ja=a.He();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.EGa(b);this.ha=new tIc};_.K(sM,_.yi);var PPc=function(a){return!a.wa||""!==a.nextPageToken},RPc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&PPc(a)?QPc(a):_.fi()};sM.prototype.Zb=function(){return this.V.length};sM.prototype.H=function(){return this.V.slice()};
var QPc=function(a){var b=a.W-a.V.length+a.ka;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.ai;d.addCallback(function(f){return void SPc(a,c,f)});var e=_.izc(_.jzc(new _.nI,a.Fa),c);b=_.gzc(new _.Qrc,b);a.Ha&&_.w(b,10,!0);_.hzc(e,b);a.wa=!0;a.O=!0;a.context.Pm().then(function(f){return f.Pe(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
sM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.hK)var c=b;else c=b.ad(),this.nextPageToken=b.Vn()||"";this.ha=OPc(c);this.ha.lc()||this.dispatchEvent("ya");a.callback(c.Ad())};
sM.prototype.handleError=function(a,b,c){c=_.Rc(c);this.O=!1;if(5===c.Fg.kv())a.callback([]);else{if(10===c.Fg.kv()&&(_.gzc(b,Math.ceil(_.Pj(b,1,1E3)/2-2E-15)),1<_.Pj(b,1,1E3))){var d=_.hzc(_.izc(_.jzc(new _.nI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Pm().then(function(e){return e.Pe(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new $K(c.Fg,_.Pj(this.context.Ic.Vf(),1,1));this.LMa(b);this.dispatchEvent(b);a.Gd(c)}};
var SPc=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: ")+(_.xvc(a.request)+" paginationToken: ")+b;b=_.fq(_.dq(_.uI(_.tI(new _.Lc,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())_.AI(b.value,
a.ma?2:1);c=[];b=_.m(a.p2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.sI(new _.rI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new NPc("wa",c));if(a.V.length<a.W&&a.nextPageToken)return QPc(a);a.dispatchEvent("za")};_.g=sM.prototype;_.g.p2a=function(a){return a};_.g.LMa=function(){};_.g.ld=function(){return this.request};_.g.EGa=function(a){a=a.clone();this.ma&&_.w(a,46,!0);return a};_.g.log=function(a){this.Ja.info("drive.ds.sync.query.QueryRunner",a)};
var TPc=function(a,b,c,d){sM.call(this,a,b,void 0,c,d)};_.K(TPc,sM);TPc.prototype.p2a=function(a){a=this.context.sfa.T8(a);this.context.Af.jl(a,1,this.request,PPc(this));return a};TPc.prototype.LMa=function(a){this.context.Af.sB(this.request,a)};TPc.prototype.EGa=function(a){var b=a=sM.prototype.EGa.call(this,a),c=_.El(b);0===_.ie(b,33).length&&1===c.length&&(c=this.context.Af.um.H(c[0].Ya()))&&(c=c.wc())&&(_.Gl(b,[c]),_.Hl(b,2));UPc(this,a);return a};
var UPc=function(a,b){if(_.El(b).some(function(d){return(d=a.context.Af.um.H(d.Ya()))&&_.P(d,108)})){var c=b.se();c||(c=new _.Kf,_.Fl(b,c));_.Lf(c,937)}};
var VPc=function(a,b,c,d){this.context=a;this.Gg=b;this.W=d;this.Rna=0;this.H=c},ZPc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Hl(_.Cl(_.Gl(new _.yf,[b]),_.ZJ(a.Gg)),1),d=_.Lf(new _.Kf,306);_.Fl(c,d);WPc(a);c=new TPc(a.context,c);RPc(c,5E3).addCallback(a.V.bind(a,c));XPc(a);YPc(a,b)}},XPc=function(a){var b=_.Va(a.H);b=b.filter(function(d){return d instanceof LPc});var c=new Set;b.forEach(function(d){d.ld().ln().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.Lf(new _.Kf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.mO([].concat(_.Jd(c)),b)},YPc=function(a,b){var c=[];(a.context.Af.NGa.nQ[b||"subscribed"]||[]).forEach(function(d){_.Qa(a.H,function(e){_.Oj(e.ld(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(WPc(a),c.forEach(function(d){d=cL(a.context.wm,d.ld(),3);a.log("Refreshing "+b+" cache: "+d)}),_.$h(_.Xh(c.map(function(d){return d.refresh().tg(_.dg)})),a.O.bind(a)))};
VPc.prototype.mO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.Me(f)});if(0===a.length)return _.Vh({});a=_.w(_.UF(_.VF(new _.TF,a),d||_.ZJ(this.Gg)),7,!0);_.WF(a,b);e&&e.length&&_.Fj(a,11,e);WPc(this);b=new GPc(a,this.context,void 0,c);return _.$h(b.nh(),this.V.bind(this,b))};VPc.prototype.V=function(a){a.dispose();this.O()};var WPc=function(a){a.Rna++;a.context.Hs.setActive(!1)};VPc.prototype.O=function(){this.Rna--;0===this.Rna&&this.context.Hs.setActive(!0)};
VPc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.CacheRefresher",a)};
var $Pc=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ie=null;a=new _.Kf;_.Mf(a,!1);_.Lf(a,305);_.Fl(this.request,a);this.Rc=new _.jf(this);this.La(this.Rc)};_.K($Pc,_.N);
$Pc.prototype.nh=function(){if(!this.ie){this.ie=_.Zh();if(_.Q(this.request,48,!1))return this.H.yi(9),this.ie.resolve(this.H),this.ie.promise;this.O=new sM(this.context,this.request,!0);this.Rc.listen(this.O,"wa",this.W);this.Rc.listen(this.O,"za",this.V.bind(this));this.Rc.listen(this.O,"Aa",this.ie.reject.bind(this.ie));RPc(this.O,this.request.vi())}return this.ie.promise};$Pc.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(BL(new lL(b)))};
$Pc.prototype.V=function(){this.H instanceof DL?this.H.H=!PPc(this.O):PPc(this.O)&&CL(this.H,!1);this.H.yi(5);this.ie.resolve(this.H)};
var bQc=function(a,b){_.oi.call(this,aQc);this.cache=a;this.changes=b};_.K(bQc,_.oi);var aQc="Nb";
var cQc=function(a,b){return new _.Uh(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.iy()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();Zzc(k.getItem());f.set(l,BFc(new lL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.qc(),l=f.get(l)||null,k.Wk()?l&&a.update(new rHc(l.getId(),l,null)):(k=k.getItem(),Zzc(k),a.update(sHc(l,BFc(new lL(k),null===l||void 0===l?void 0:l.H))));a.aX();c(e.hMb)},d)})};
var dQc=function(a,b){_.N.call(this);this.context=a;this.Gg=b};_.K(dQc,_.N);
dQc.prototype.nh=function(a){this.log("Running initial view populator (IVDP).");try{var b=new kL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.HI(l));return}a=_.YH(this.context.Ic);if(!_.LH(a)){var c=b.Cf();if(c){var d=c.getUser();d&&d.getId()===_.D(a,6,"")&&vPc(this.context.SP,c,4)}(a=b.ju())&&this.context.Xy(a,6)}var e=_.B(b,3)||void 0;e&&eQc(this.context,e,!0);if((a=_.Ab(b,_.Zo,9))&&a.length){c=(c=this.context.Ic.Vf())&&_.ie(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.$o(l))&&f.add(l)});this.context.dE.bQ(a,4,[].concat(_.Jd(f.values())))}a=b.Ad();a.forEach(function(l){_.itc(l);_.AI(l,6)});if(c=_.Ab(b,jL,5)[0])if(b=this.context.wm,Mzc(_.ZJ(this.Gg),c.getQuery().H(),_.SJ(this.context.Ic)))if((d=c.getQuery().Kc())&&4===d.getType()&&!_.ppc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=pL(b,c.getQuery());d.Hi(_.B(c,2)||void 0);b=a.map(function(l){return new lL(l,void 0,1,e)});var h=_.x(c,_.Gk,3);if(h&&
_.B(c,2)){var k=b[b.length-1];_.AI(h,6);if(!_.Oj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}h=_.FJ(this.context.Ic);k=new DL(this.context.lt,this.context.Av,this.context.wm,d,k,h&&_.Q(h,2,!1)&&c.Vn()||"");k.yi(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(BL(h.value))?c++:d++;fQc(this.context.Af,k);b=k.ld();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.IM());k=new _.nI;
_.jzc(k,b);k=_.Hwc(this.context.NA,k,"IVDP");_.Iwc(k,a);AL(this.context.Nj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+eGc(b,c.getQuery().H()));else this.handleError("No initial query found")};dQc.prototype.handleError=function(a,b){var c=b?void 0:_.fq(_.uI(_.tI(new _.Lc,2),6));b=new _.Nc(a,c,b);this.context.mJ(b.Fg);this.log("Initial view dump population failed. Message: "+a);AL(this.context.Nj,"DEJoH")};
dQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var gQc=function(a){_.yi.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new FL(a.lt,a.Av,a.Nj,function(){return a.ju()});this.H=this.context.Ic;this.ta=new vHc(a.lt,a.Av)};_.K(gQc,_.yi);
var hQc=function(a,b){var c=_.Pj(a.H,31,2E4);b="number"===typeof _.B(b,3)?_.B(b,3):c+1;b>c?(CL(a.O,!1),c="partialCorpus",a.log("Too many subscribed items at "+b+"; skipping subscribed cache.")):(c="fullCorpus",a.log("Caching all subscribed items."));a.context.NA.Hb("CachedCorpusType",c)};gQc.prototype.log=function(a,b){this.context.He().log(this.W,a,b||"info")};var iQc=function(a,b){0===a.V&&(a.V=b)};
var jQc=function(a,b){var c;if(c=!!b&&!!b.Oh())a=_.P(a,4),c=null==a||!!_.P(b.Oh(),7)==a;return c};
var kQc=function(a,b){_.yi.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.K(kQc,_.yi);kQc.prototype.nh=function(){return this.H||this.O&&""===this.nextPageToken?_.fi():lQc(this)};kQc.prototype.Zb=function(){return this.V.length};
var lQc=function(a){a.O=!0;a.H=!0;var b=pDc(qDc(new _.BJ,a.request),a.nextPageToken),c=_.Hwc(a.context.NA,b);return _.gi(a.context.Pm().then(function(d){return d.Pe(b)}).then(function(d){var e=d.ad().Ad();a.nextPageToken=d.Vn()||"";mQc(a,c,e)},function(d){return void a.handleError(d)}))},mQc=function(a,b,c){_.Iwc(b,c);for(b=0;b<c.length;b++)_.AI(c[b],1);a.context.Af.jl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.sI(new _.rI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new NPc("wa",d));a.nextPageToken?lQc(a):(a.H=!1,a.dispatchEvent("za"))};kQc.prototype.handleError=function(a){this.H=!1;a=new $K(_.vI(a),_.Pj(this.context.Ic.Vf(),1,1));this.dispatchEvent(a)};kQc.prototype.ld=function(){return this.request};
var nQc=function(a){this.H=_.qpc(a,{numeric:!0})};nQc.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};nQc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ga(a.getId(),b.getId()):c};
var oQc=function(a,b,c,d){d=void 0===d?!1:d;rM.call(this,a);this.Gg=b;this.Cd=[];this.ie=null;this.request=c.clone();this.Gv=new kQc(a,this.request);this.ZQb=new nQc(TK(_.YH(a.Ic)));this.WCa=null!=_.P(this.request,6);_.$e(this,this.cnb,this);d&&(this.ie=_.Zh(),this.ie.resolve())};_.K(oQc,rM);_.g=oQc.prototype;_.g.refresh=function(){3===this.vp&&(this.vp=6,this.ie=null);return this.nca()};_.g.isInitialized=function(){return!!this.ie};
_.g.nca=function(){var a=this;if(this.isInitialized())return this.ie.promise;this.ie=_.Zh();this.context.Fj().Oe()?this.Rc.listen(this.context.Fj(),"Bb",function(b){b.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),a.kA(),a.Gv.nh().Wf(a.ie.resolve,a.ie.reject,a.ie))}):this.context.wk().Oe()?this.Rc.Zc(this.context.wk(),[_.LB.yL,_.LB.nU],function(){a.kA();a.Gv.nh().Wf(a.ie.resolve,a.ie.reject,a.ie)}):(this.kA(),this.Gv.nh().Wf(this.ie.resolve,this.ie.reject,this.ie));return this.ie.promise};_.g.resize=function(){};
_.g.ld=function(){return this.request};_.g.iy=function(){return this.Cd};_.g.Pha=function(a){return this.context.wm.equals(a,this.request)};_.g.Xj=function(a){a=a.vi();this.ZQb.sort(this.Cd);var b=CAc(_.Ca(this.Cd,0,Math.min(a,this.Cd.length)));CPc(this,TDc(this.Gg),b);var c=new _.VA;c.KA(b);c.Ac(this.Lwa(a));c.yi(this.Qe());QCc(c,a<this.Cd.length||!(this.context.Fj().Oe()||this.context.wk().Oe())&&1!==this.vp);return c};
_.g.Lwa=function(a){return 1===this.vp||a<=this.Cd.length?1:this.context.Fj().Oe()||this.context.wk().Oe()?0<this.Cd.length?1:2:6};_.g.jl=function(a,b){this.isInitialized()&&rM.prototype.jl.call(this,a,b)};_.g.Ju=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.la(this.Cd,function(h){return h.getId()===c}),e=!!d;b=this.ds(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.KKa(f,a.H):this.iJ(f):this.sR(a.H);else return!1;return!0};_.g.sR=function(a){this.Cd.push(a);a.count++};
_.g.iJ=function(a){_.wa(this.Cd,a);a.count--};_.g.Sya=function(a){return _.na(this.Cd,a)};_.g.KKa=function(a,b){this.Cd[this.Sya(a)]=b;b.count++;a.count--};_.g.ds=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.WCa&&null!=_.P(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Cd.find(function(d){return c===d.getId()},this);a=mL(a.getItem())&&jQc(this.request,a.getItem());return b&&a}return mL(a.getItem())&&jQc(this.request,a.getItem())};_.g.cnb=function(){this.Cd.forEach(function(a){a.count--})};
_.g.IZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.zd=function(){return this.Cd.length};_.g.aX=function(){this.vp=1};
var pQc=function(a){this.H=a},qQc=function(a,b,c,d,e){if(0===e||null===b){var f=new MNc;_.w(f,2,b);_.w(f,1,d);return _.Vh(f)}var h=AGc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.Pe(h)}).then(function(k){var l,p=null!==(l=k.py())&&void 0!==l?l:null;return qQc(a,p,c,d+_.B(k,1),e-1)})};
var rQc=function(a,b){gQc.call(this,a);this.Gg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.zD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.K(rQc,gQc);rQc.prototype.handleError=function(){this.log("Local dump population failed.");AL(this.context.Nj,"mrK8ic")};
rQc.prototype.nh=function(){var a=this;if(this.ka)return this.ka;if(this.context.uQ){var b=new _.ai;this.ka=b;this.initialize().then(function(){var c=_.Ab(_.UK(a.H),SK,11);c=c[0]&&c[0].getKey()||"";return sQc(a,a.context.uQ,c,4)}).then(null,function(c){if(_.Q(a.H,8,!0))return tQc(a,c);throw c;}).then(function(){_.mI(a.H)||a.context.Af.tq.H.clear();AL(a.context.Nj,"zaOY7");b.callback()},function(c){iQc(a,8);a.handleError();b.Gd(c)});return b}this.handleError();return _.hi(Error("gg"))};
rQc.prototype.initialize=function(){var a=this;return _.Vh(this.context.uQ.initialize()).then(function(){if(!_.TJ(a.H)){var b=_.Pj(_.UK(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Uh(function(c,d){IKc(a.context.sD).then(function(e){e?c():d(Error("hg"))})})}})};
var sQc=function(a,b,c,d){return _.ig(a,function f(){var h=this,k;return _.Zf(f,function(l){return 1==l.H?(k=h.ha,uQc(h,b,c,k),vQc(h,b,c,k),wQc(h,b,c,k),_.Sf(l,xQc(h,b,c,k),2)):_.Sf(l,Promise.all([yQc(h,b,c,d,k),zQc(h,b,c,d,k),AQc(h,b,c,d,k),BQc(h,b,c,d,k)]),0)})})},uQc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};ML(b,c,0,void 0,d,a.zD).then(function(f){f[0]?vPc(a.context.SP,f[0],a.Qe(),_.TJ(a.H)):e()},function(){return e()})},vQc=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};ML(b,c,1,void 0,d,a.zD).then(function(f){f[0]?a.context.NZ.bQ(f[0],a.Qe(),_.TJ(a.H)):e()},function(){return e()})},wQc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};ML(b,c,5,void 0,d,a.zD).then(function(f){if(f[0]){f=f[0];var h=_.Ab(f,_.Zo,1);h.length&&a.context.dE.bQ(h,a.Qe(),_.ie(f,2),_.TJ(a.H))}else e()},function(){return e()})},yQc=function(a,b,c,d,e){var f=new _.pn;ML(b,c,3,1,e,a.zD).then(function(h){return CQc(a,
h[0])}).then(function(h){if(h){b!==a.context.uQ||Mzc(_.ie(h,12),_.ZJ(a.Gg),_.SJ(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Hs.jS());var k=_.B(h,3);if(!k||0>k)throw Error("kg");a.context.Xy(h.ju(),d);k=_.B(h,3);"number"===typeof k&&eQc(a.context,Number(k));_.TJ(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.iEa());a.jl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},zQc=function(a,
b,c,d,e){return DQc(a,2,b,c,d,e).then(function(){var f,h;return null===(f=_.FJ(a.H))||void 0===f||!_.Q(f,17,!1)||null!==(h=a.O)&&void 0!==h&&h.lD?Promise.resolve():DQc(a,5,b,c,d,e)},function(){var f;return(null===(f=_.FJ(a.H))||void 0===f?0:_.Q(f,17,!1))?DQc(a,5,b,c,d,e):Promise.reject(Error("ig"))})},DQc=function(a,b,c,d,e,f){var h=new _.pn;ML(c,d,3,b,f,a.zD).then(function(k){k[0]?(a.jl(k[0],e),h.resolve()):h.reject(Error("jg"))},function(k){return h.reject(k)});return h.promise},AQc=function(a,
b,c,d,e){var f=new _.pn;ML(b,c,3,4,e,a.zD).then(function(h){h.forEach(function(k){a.jl(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},BQc=function(a,b,c,d,e){var f=new _.pn;ML(b,c,3,3,e,a.zD).then(function(h){h.length?h.forEach(function(k){a.jl(k,d)}):AL(a.context.Nj,"rVezo");f.resolve()},function(h){return f.reject(h)});return f.promise},xQc=function(a,b,c,d){var e=new _.pn;ML(b,c,6,void 0,d,a.zD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.Ab(h,
xL,1).length&&(a.log("Importing "+_.Ab(h,xL,1).length+" people into the PeopleCache."),h=_.Ab(h,xL,1),RHc(a.context.Af.tq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},CQc=function(a,b){var c=_.B(b,3);if(c&&!_.TJ(a.H)){var d=new pQc(a.context.Pm()),e=_.Pj(_.UK(a.H),13,5);return qQc(d,c,null,0,e).then(function(f){return _.yj(f,2)?(a.log("Encrypted dump too stale."),a.context.jk().O(106007),iQc(a,9),null):b},function(){return b})}return _.Vh(b)},tQc=function(a,b){var c=NL(a.context.FL.Yi()),
d=_.Ab(_.UK(a.H),SK,11).filter(function(e){return e.bt()});return AKc(_.RJ(_.YH(a.H)),_.SJ(a.H),_.Pj(_.UK(a.H),10,0)||0,_.ZJ(a.Gg),a.ha||0,d.map(function(e){return _.B(e,1)}),c).then(function(e){if(e){var f=d.find(function(l){return e.V===_.B(l,1)}),h=new OL(_.Vh(e),a.context.He(),null,!0),k=new yJc(h,a.H,function(l){a.context.mJ(l)});k.initialize();a.ma=!0;return sQc(a,k,f?f.getKey():null,8).then(function(){return h.getMetadata([FKc])}).then(function(l){l[0]?(l=l[0].Ya(),l=a.context.sD.set(FKc,l)):
l=Promise.resolve();return l}).then(function(){h.close()})}return _.Wh(new _.Nc("No compatible dumps to forklift were found.",null,b))})},IQc=function(a,b,c){var d;switch(b.Fo()){case 1:return EQc(a,b,c);case 2:return FQc(a,b,a.O);case 5:return(null===(d=_.FJ(a.H))||void 0===d?0:_.Q(d,17,!1))?FQc(a,b,a.ta):null;case 3:return GQc(a,b);case 4:return HQc(a,b);default:return null}},EQc=function(a,b,c){var d=[];_.Ab(b,jL,5).forEach(function(e){var f=void 0,h=_.x(e,_.Gk,3);h&&(_.itc(h),_.P(a.H,67)&&Azc(h,
Pzc),_.AI(h,c),f=new lL(h));var k=e.getQuery();if(!_.Q(k,48,!1)||_.Ab(a.H,_.yf,44).some(function(l){if(!_.Q(l,48,!1))return!1;l=pL(a.context.wm,l,!0);return _.Oj(l,k)}))e=new DL(a.context.lt,a.context.Av,a.context.wm,k,f),e.yi(a.Qe()),d.push({cache:e,changes:LL(a.context.vz,null)})});return d},FQc=function(a,b,c){b=_.x(b,LAc,11);if(!b)throw Error("lg");hQc(a,b);return c.lD?(c.yi(a.Qe()),[{cache:c,changes:LL(a.context.vz,null)}]):[]},HQc=function(a,b){return _.Ab(b,jL,5).map(function(c){c=new oQc(a.context,
a.Gg,_.x(c,_.MH,5),!0);c.yi(a.Qe());return{cache:c,changes:LL(a.context.vz,null)}})},GQc=function(a,b){var c=_.ie(_.Ab(b,jL,5)[0].getQuery(),33)[0],d=_.B(b,3)||void 0;b=LL(a.context.vz,c);tM(a.context).addCallback(function(f){f.qva(c,d)});var e=new HL(a.context.lt,a.context.Av,c);e.yi(a.Qe());return[{cache:e,changes:b}]};
rQc.prototype.jl=function(a,b){var c=this,d=IQc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.Ad()),f=e.next();!f.done;f=e.next()){var h=f.value;_.itc(h);_.P(this.H,67)&&Azc(h,Pzc);_.AI(h,b);_.mI(this.H)||this.context.Af.tq.H.lc()||mIc(this.context.Af.tq,[h]);f=new lL(h);_.ie(a,14).includes(h.getId())&&BFc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(BL(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new bQc(l,k.changes));c.log("Imported "+l.zd()+" items into the "+l.getType());var p=null;
l instanceof HL&&(p=l.wc());c.context.X$.promise.then(function(){VIc(c.context.vz,p)})});1===a.Fo()&&AL(this.context.Nj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Fo()+".")};rQc.prototype.Qe=function(){return this.ma?7:3};
var JQc=function(a){_.N.call(this);this.context=a};_.K(JQc,_.N);JQc.prototype.nh=function(a){try{KQc(this,new pNc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var KQc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:LQc(a,b);break;case 4:MQc(a,b);break;case 6:NQc(a,b);break;case 2:OQc(a,b);break;case 7:PQc(a,b);break;case 5:_.Ab(_.Sj(b,rNc,7,tNc),pNc,1).forEach(function(c){KQc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},LQc=function(a,b){var c=_.Sj(b,_.yf,2,sNc);b=JSON.parse(_.Rj(b,3,tNc)||"{}");var d=new _.nI;_.jzc(d,c);b=a.context.aR().Gsa.CE(d,{headers:{},text:"",
json:b}).ad();QQc(a,c,b)},NQc=function(a,b){QQc(a,_.Sj(b,_.yf,2,sNc),_.Sj(b,_.VA,9,tNc))},QQc=function(a,b,c){for(var d=c.Ad(),e=_.m(d),f=e.next();!f.done;f=e.next())_.AI(f.value,7);c=OPc(c);a=a.context.Af;b=pL(a.context.wm,b);e=uM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new vM(a.context,b),f.yi(2),RQc(a,e,f));c.lc()||f.Fsa(c);a.jl(d,1,b)},OQc=function(a,b){b=_.Sj(b,_.Nz,5,tNc);var c=a.context.Ic.Vf();c=c&&_.ie(c,30)||[];var d=new Set(c);_.Ab(b,_.Zo,
3).forEach(function(e){(e=(e=e.getKey())&&_.$o(e))&&d.add(e)});a.context.dE.bQ(_.Ab(b,_.Zo,3),2,[].concat(_.Jd(d.values())))},MQc=function(a,b){a.context.tfa.B2(_.Sj(b,yL,8,tNc).Zk(),_.Sj(b,_.Rz,6,sNc),2,!1)},PQc=function(a,b){var c=_.Sj(b,_.Pz,10,sNc);b=JSON.parse(_.Rj(b,3,tNc)||"{}");b=a.context.aR().Gsa.CE(c,{headers:{},text:"",json:b});cPc(a.context).B2([b],c,2,!1)};
JQc.prototype.handleError=function(a,b){var c=b?void 0:_.fq(_.uI(_.tI(new _.Lc,2),6));this.context.dispatchEvent(new _.Oc(new _.Nc(a,c,b)));this.log("Prefetched request population failed.")};JQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var wM=function(a){gQc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.wa=Math.ceil(1.1*_.Pj(a.Ic,31,2E4))};_.K(wM,gQc);wM.prototype.nh=function(){if(!_.Q(this.H,45,!1))return iQc(this,5),this.handleError(),_.hi(Error("mg"));this.log("Drive SDK cache population initiated.");return this.context.eWa().addCallback(this.Fa,this).addCallback(this.Ba,this).Cg(this.handleError,this)};
wM.prototype.Fa=function(){var a=this;AL(this.context.Nj,"L6uQWd");tM(this.context).addCallback(function(b){b.Fda()});if(_.Q(this.H,46,!1))return KAc(this.context.Pm(),this.context.He()).addCallback(function(b){if(!b)throw iQc(a,4),Error("ng");hQc(a,b)});this.log("Subscribed corpus cache population disabled.");CL(this.O,!1);return _.fi()};
wM.prototype.Ba=function(){this.context.iEa();var a=new _.ai;if(this.O.lD){this.log("Starting subscribed corpus cache population.");var b=this.O.ld();b.Hi(this.wa);this.O.yi(5);SQc(this,this.O,b)}b=_.Ab(this.H,_.yf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new DL(this.context.lt,this.context.Av,this.context.wm,c.value),c.yi(5),SQc(this,c,c.ld()),c=cL(this.context.wm,c.ld()),this.log("Starting "+c+" cache hint corpus cache population.");_.Xh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var SQc=function(a,b,c){var d=LL(a.context.vz,null);b=new $Pc(a.context,b,c);a.ha.push(b);b=_.$h(b.nh().then(function(e){!e.lD&&e instanceof FL&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.NA.Hb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new bQc(e,d))}),function(){a.context.X$.promise.then(function(){VIc(a.context.vz,null)})});a.ka.push(b)};
wM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();iQc(this,7);c=b;b instanceof $K?c=_.HI(b.error):_.lI(b)||(c=Error("og`"+b));a.Gd(c)};wM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");AL(this.context.Nj,"Gv4zef")};wM.prototype.Qe=function(){return 5};
var TQc=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Rc=new _.jf(this);this.impression=null;this.W=[];this.La(this.Rc);this.H=new rQc(this.context,this.context.Gg);this.La(this.H);this.O=new wM(this.context);this.La(this.O)};_.K(TQc,_.N);
TQc.prototype.nh=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.jk().H(106002);_.n._DRIVE_dsp&&UQc(this);_.n._DRIVE_dspc=function(c){UQc(a,c)};LL(this.context.vz,null);_.Q(this.context.Ic,24,!1)&&!_.TJ(this.context.Ic)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?VQc(this):_.n._DRIVE_ivdc=function(){VQc(a)});var b=this.context.uQ;if(b)return this.Rc.listen(this.H,aQc,this.ha),this.Rc.listen(this.O,aQc,this.ha),(!_.Q(this.context.Ic,10,!1)&&_.P(this.context.Ic,
69)?this.context.xX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.zD=a.impression);return a.H.nh().Wf(function(){return WQc(a,a.H.Qe())},function(){XQc(a,a.H.Qe(),a.H.V);return _.TJ(a.context.Ic)?a.handleError(Error("pg")):a.O.nh().then(function(){return WQc(a,a.O.Qe())},function(c){XQc(a,a.O.Qe(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.lI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var UQc=function(a,b){var c=new JQc(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.nh(d)});c.dispose()};TQc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(YQc(this,b,a.changes))};
var WQc=function(a,b){VIc(a.context.vz,null);AL(a.context.Nj,"L6uQWd");tM(a.context).addCallback(function(c){c.Fda()});return Promise.all(a.W).then(function(){ZQc(a,b)})},ZQc=function(a,b){if(!a.isDisposed()){_.TJ(a.context.Ic)||$Qc(a.V,_.Ab(a.context.Ic,_.yf,44));a.log("Corpus cache population complete.");var c=a.context.Nj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Hs.jEa():IKc(a.context.sD).then(function(d){d&&a.context.Hs.jEa()},function(){});AL(c,"rVezo");AL(c,"BNEDtc");a.impression&&(b=_.fK(_.esc,
b),NDc(VDc(a.impression),b),MDc(VDc(a.impression),!0),ODc(VDc(a.impression),SFc(a.V.um)),PDc(VDc(a.impression),a.context.Af.Fo()),a.impression.vj());a.dispose()}},XQc=function(a,b,c){a.impression&&(b=_.fK(_.esc,b),NDc(VDc(a.impression),b),a=VDc(a.impression),_.Hj(a,3,c,void 0))};
TQc.prototype.handleError=function(a,b){b=void 0===b?!1:b;VIc(this.context.vz,null);var c=this.context.Nj;AL(c,"L6uQWd");tM(this.context).addCallback(function(d){d.Fda()});AL(c,"mrK8ic");AL(c,"Gv4zef");AL(c,"rVezo");AL(c,"BNEDtc");this.context.NA.Hb("CachedCorpusType","partialCorpus");c=!!this.H.context.uQ||_.Q(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.lI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.Nc(b,void 0,c),c=a.Fg,_.tI(c,_.TJ(this.context.Ic)?3:1),_.uI(c,
6),_.dq(c,b),_.fq(c),this.context.dispatchEvent(new _.Oc(a))):this.log("Corpus population skipped");this.impression&&(MDc(VDc(this.impression),!1),this.impression.vj());this.dispose()};var YQc=function(a,b,c){return cQc(b,c).then(function(d){d.some(function(e){return b instanceof HL&&e.Wk()&&e.qc()===b.wc()})||fQc(a.V,b,d)},function(){return a.handleError(Error("qg"))})},VQc=function(a){if(_.n._DRIVE_ivd){var b=new dQc(a.context,a.context.Gg);a.La(b);b.nh(_.n._DRIVE_ivd)}else AL(a.context.Nj,"DEJoH")};
TQc.prototype.log=function(a){this.context.He().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var aRc=function(){EL.apply(this,arguments)};_.K(aRc,EL);_.g=aRc.prototype;_.g.ds=function(a){var b;if(b=EL.prototype.ds.call(this,a))a=a&&a.getItem()&&a.getItem().Om(),b=!(!a||!_.P(a,3));return b};_.g.ld=function(){};_.g.IM=function(){return null};_.g.getType=function(){};_.g.xN=function(){};
var bRc=function(a,b){this.context=a;this.H=b;this.nQ={}},dRc=function(a,b){if(!_.hJ(b)){var c=_.ie(b,33);if(1===c.length)cRc(a,c[0],b);else{c=_.El(b);if(1===c.length&&!_.Q(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.Af.wI;var e=_.Lf(new _.Kf,310);c.mO([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.Je(h)&&(f=f.wc(),cRc(a,f,b))}else cRc(a,null,b)});return}if(c.getItem().wc()&&_.Je(c.getItem().getCapabilities())){c=c.getItem().wc();cRc(a,c,b);return}}cRc(a,
null,b)}}},cRc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!mL(d.getItem()))return}d=b||"subscribed";a.nQ[d]||(a.nQ[d]=[]);a.nQ[d].push(c);b&&(tM(a.context).addCallback(function(e){e.qva(b)}),eRc(a.context.VJa,b))},fRc=function(a,b){if(!_.hJ(b)){var c={},d;for(d in a.nQ){c.xT=d;for(var e=0;e<a.nQ[c.xT].length;e++)if(_.Oj(b,a.nQ[c.xT][e])){_.va(a.nQ[c.xT],e);"subscribed"!==c.xT&&tM(a.context).addCallback(function(f){return function(h){h.rHa(f.xT,!1)}}(c));return}c={xT:c.xT}}}};
var gRc=function(){this.H=new Map;this.O=[];this.V=[]};
gRc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();KK(e)&&(a?(e=a.getItem().wf())&&_.B(e,1)&&(1===_.qe(e)||3===_.qe(e))&&(e=_.B(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&&!_.Oj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var hRc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},iRc=function(a){a.O=[];a.V=[]};
var jRc=function(a,b){ZIc.call(this,a.clone(),b.Pm(),b.Ic,b.He());this.context=b};_.K(jRc,ZIc);jRc.prototype.W=function(a){var b=new Map;a.ln().forEach(function(c){var d=a.clone();d=_.Dj(d,2,[c]);b.set(c,d)});return b};jRc.prototype.V=function(a){a=a.Ad()[0];this.context.Af.jl([a],1,void 0,!0,this.request.H())};jRc.prototype.ha=function(a){this.context.Af.jl([],1,a,!1,this.request.H())};jRc.prototype.ka=function(a){a=_.BI(_.sI(new _.rI,a));this.context.Af.Jo([a])};
var kRc=function(a,b,c,d){rM.call(this,a);this.Gg=b;this.request=c;this.Cd={};d&&this.jl(d,!0)};_.K(kRc,rM);_.g=kRc.prototype;
_.g.refresh=function(){var a=this;this.vp=6;var b=qL(this.context.Ic)!==qL(this.context.Ic,this.request.H()),c=[];this.request.ln().forEach(function(h){var k=a.Cd[h];k&&k.getItem().Oh()&&!b||c.push(h)});if(0===c.length)return this.jl([],!1),_.Vh();var d=this.request.clone();_.Dj(d,2,c);var e=new jRc(d,this.context),f=_.Zh();this.context.Fj().Oe()?(this.Rc.listen(this.context.Fj(),"Bb",function(h){h.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),a.kA(),e.nh().then(f.resolve,f.reject,f))}),this.vp=0<_.Ua(this.Cd)?
1:2):(this.context.wk().Oe()&&(this.vp=0<_.Ua(this.Cd)?1:2),this.kA(),e.nh().then(f.resolve,f.reject,f));return f.promise};_.g.Pha=function(a){return this.context.wm.equals(a,this.request)&&Fzc(_.ZJ(this.Gg),a.H())};_.g.Xj=function(a){var b=new _.gK;b.Ac(this.vp);b.yi(this.Qe());xEc(b,_.Sa(this.Cd,function(c){return c?c.getItem():null}));CPc(this,a.H(),b.Qr());return b};_.g.resize=function(){};_.g.ld=function(){return this.request};_.g.zd=function(){return _.Ua(this.Cd)};
_.g.Ju=function(a){var b=this.ds(a.O),c=this.ds(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};_.g.ds=function(a){return!!a&&this.request.ln().includes(a.getId())};
var vM=function(a,b,c,d,e){rM.call(this,a);var f=this;this.V=0;this.Cd=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.ta=Date.now();this.request=b.clone();this.Fa=cL(this.context.wm,b);this.Gv=new TPc(this.context,this.request,!1,e);b=this.request.Kc()&&WFc(this.request.Kc());var h=this.context.Av;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.WCa=!b||!MFc(this.request)||_.LH(_.YH(a.Ic));
this.Ha=zHc(this.request);c&&this.jl(c,!d);this.wa=_.Pj(a.Ic.Vf(),16,36E5);_.GJ(this.request)&&this.Rc.listen(this.context.$ga,"Gb",this.Ja);_.$e(this,function(){_.aa(f.Gv);f.clear()})};_.K(vM,rM);vM.prototype.refresh=function(){this.log(this.IM()+" | Refresh called, currently "+this.zd()+" items cached");return lRc(this,!1)};
var lRc=function(a,b){a.vp=6;if(_.Q(a.request,48,!1))return a.vp=1,_.Vh();if(_.GJ(a.request)){var c=mRc,d=a.context.$ga.H;d=Math.max(Date.now()-d,a.wa);c(a,Math.min(d,2592E5))}return nRc(a,b)};vM.prototype.initialize=function(){return this.count>=this.request.vi()||1===this.vp?_.Vh():this.refresh()};vM.prototype.clear=function(){oRc(this)};
var oRc=function(a){a.Cd.forEach(function(b){b.count--});a.count=0;a.Cd=[];a.O.clear()},mRc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return lRc(a,!0)},b)};vM.prototype.Ja=function(){Date.now()-this.ta>this.wa&&mRc(this,0)};
var nRc=function(a,b){a.Gv&&(a.Rc.Tc(a.Gv,"ya",a.Fsa),a.Rc.Tc(a.Gv,"za",a.MMa),a.Gv.dispose());var c=a.request.se();c&&_.Mf(c,!1);a.Gv=new TPc(a.context,a.request,b);a.V=0;a.Rc.listen(a.Gv,"ya",function(){return a.Fsa(a.Gv.ha)});a.Rc.listen(a.Gv,"za",a.MMa);return a.nca()};
vM.prototype.nca=function(){var a=this,b=_.Zh();this.context.Fj().Oe()?this.Rc.listen(this.context.Fj(),"Bb",function(c){c.Oe()||(a.Rc.Tc(a.context.Fj(),"Bb"),pRc(a,b))}):this.context.wk().Oe()?this.Rc.Zc(this.context.wk(),[_.LB.yL,_.LB.nU],function(){pRc(a,b)}):pRc(this,b);return b.promise};var pRc=function(a,b){a.kA();_.lka(RPc(a.Gv,a.request.vi()+a.V).Wf(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=vM.prototype;
_.g.resize=function(a){this.log(this.IM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.Jd(this.Fy)))),d=c.next();!d.done;d=c.next())d=d.value,d=EPc(this.context).Cka(d),b=Math.max(b,d.vi());_.GJ(this.request)?(this.request.Hi(b),2!==this.Qe()&&!this.Gv.O&&(b>this.count||a)?this.refresh():this.rJ()):this.request.vi()!==b&&(this.request.Hi(b),b>this.count?this.nca():this.rJ())};_.g.ld=function(){return this.request};_.g.IM=function(){return this.Fa};_.g.zd=function(){return this.Cd.length};
_.g.Pha=function(a){return this.context.wm.equals(a,this.request)};
_.g.Xj=function(a){var b=a.vi(),c,d=!1;if(_.iJ(this.request)){var e=this.Cd.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=_.Kk(k.getItem()).filter(function(l){return h.includes(_.x(l,_.tk,1).getId())});k=k.clone();Jzc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Kk(l.getItem()).length})}d=Szc(e);c=new _.hK;_.w(c,4,!1);tEc(c,f)}else e=this.Cd.slice(0,b),c=new _.VA,QCc(c,b<this.Cd.length||!(this.context.Fj().Oe()||
this.context.wk().Oe())&&1!==this.vp),_.I(c,7,this.ka),_.w(c,8,this.incompleteSearch),_.Dj(c,18,this.ha),d=Szc(e);e=CAc(e);CPc(this,a.H(),e);c.KA(e);c.Ac(d?6:this.Lwa(b));c.yi(this.Qe());c.lP(this.suggestionSessionId);return c};_.g.Lwa=function(a){return 1===this.vp||a<=this.count?1:this.context.Fj().Oe()||this.context.wk().Oe()?0<this.Cd.length?1:2:6};_.g.Fsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.mAa();this.W=a.V;this.suggestionSessionId=a.Rf()};
_.g.MMa=function(){var a=this.request.vi()-this.count;0<a&&PPc(this.Gv)&&(this.V+=a,this.nca())};_.g.jl=function(a,b){_.GJ(this.request)&&oRc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=BL(d.value),c=this.Ju(d,!0)||c;b||(1!==this.vp&&(c=!0),this.vp=1);if(a=this.H){a:{a=this.Cd;d=this.H||_.Ga;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.gp("ViewCache unsorted after import"),this.context.Av.sort(this.request,this.Cd));c&&(this.JX(),qRc(this,b))};
var qRc=function(a,b){_.El(a.request).length&&a.Cd.length&&a.context.MZ.then(function(c){var d=YK(a.context.jk(),106024,a.ma);if(d){var e=_.El(a.request)[0].Ya(),f=_.x(_.eK(d),EDc,18);if(!f){f=new EDc;var h=_.eK(d);_.I(h,18,f)}f=_.w(f,1,!b);c=_.w(f,2,c===e).Kv(a.Cd.length);_.w(c,4,a.context.Af.Fo());a.ma=d;d.vj()}})};_.g=vM.prototype;
_.g.Ju=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.ds(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.gp("Updating different wrapper from the existing one"):this.gp("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.KKa(f,a.H):(this.iJ(f),_.GJ(this.request)&&mRc(this,0));else{if(_.GJ(this.request)&&!b)return!1;this.sR(a.H)}else return!1;return!0};_.g.sR=function(a){this.H?uzc(this.Cd,a,this.H):this.Cd.push(a);a.count++;rRc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.iJ=function(a){if(this.H){var b=this.Cd,c=_.Ha(b,a,this.H);0<=c&&_.va(b,c)}else _.wa(this.Cd,a);a.count--;rRc(a)&&this.count--;this.O.delete(a.getId())};_.g.Sya=function(a){return this.H?_.Ha(this.Cd,a,this.H):_.na(this.Cd,a)};_.g.KKa=function(a,b){this.H&&0!==this.H(a,b)?(this.iJ(a),this.sR(b)):(this.Cd[this.Sya(a)]=b,b.count++,rRc(b)&&this.count++,a.count--,rRc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.ds=function(a,b){if(!a)return!1;if(this.WCa&&!_.GJ(this.request)){if(b)return!0;if(!this.Ha){var c=a.getId();b=!!this.Cd.find(function(e){return c===e.getId()},this);a=oL(this.context.lt,this.request,a.getItem());return b&&a}}if(!oL(this.context.lt,this.request,a.getItem()))return!1;var d=1.2*this.request.vi();if(1===this.vp||!this.H||zFc(a.V,2)||this.count<d||b||$zc(a.getItem()))return!0;b=0===this.Cd.length?null:this.Cd[this.Cd.length-1];return!!b&&0>=this.H(a,b)};
_.g.rJ=function(){this.log(this.IM()+" | Evict called");if(1!==this.vp&&!this.context.Fj().Oe()&&!this.context.wk().Oe()){var a=1.2*this.request.vi();if(!(a>=this.count||this.Gv&&a>=this.Gv.Zb())){a=this.count-this.request.vi();for(var b=this.Cd.length-1;0<=b&&0<a;b--){var c=this.Cd[b];zFc(c.V,2)||$zc(c.getItem())||(c.count--,rRc(c)&&this.count--,this.O.delete(c.getId()),_.va(this.Cd,b),a--)}nRc(this,!1)}}};
_.g.gp=function(a){var b=new _.Lc;_.tI(b,2);_.uI(b,6);_.fq(b);this.context.dispatchEvent(new _.Oc(new _.Nc(a,b)))};var rRc=function(a){return!zFc(a.V,2)&&3!==a.getItem().tv()};vM.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};vM.prototype.IRa=function(a){var b=this,c=_.El(this.request);c.length&&(c=c.some(function(d){return(d=b.context.Af.um.H(d.Ya()))&&_.P(d,108)}),NGc(this.context.qfa,a,c))};vM.prototype.HRa=function(){this.rJ()};
vM.prototype.VYa=function(a){return 1!==this.vp&&a.vi()>this.count&&this.Gv.O};
var xM=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new gRc;this.Rc=new _.jf(this);this.La(this.Rc);this.context=a;this.Gg=b;this.It=new DHc(a.wm,a.He());this.context.jk().W.H=this.It;if(null===(c=_.FJ(this.context.Ic))||void 0===c?0:_.Q(c,15,!1))b=new vHc(a.lt,a.Av),this.It.add(b),a.rfa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.It)||void 0===e?void 0:e.O)||void 0===f?void 0:CL(f,!(null===(k=null===(h=d.It)||void 0===h?void 0:h.H)||void 0===k?0:k.lD))});this.H=new LFc(a.MZ,
a.lt,a.Av);_.P(a.Ic,60)&&(this.wa=new aRc(a.lt,a.Av));this.V=new FFc(a.He(),_.ZJ(this.Gg));sRc(this,_.ie(this.context.Ic,28));this.um=new OFc(this.Gg,this.context.wm,this.H,this.V);this.context.jk().W.V=this.um;this.wI=new VPc(this.context,this.Gg,this.O,this.H);this.NGa=new bRc(this.context,this.H);this.ka=new TQc(this.context,this);_.$e(this.ka,function(){d.ka=null});this.ta=_.etc(_.ZJ(this.Gg),tRc);zL(this.context.Nj,["NSockf"],function(){return d.initialize()});zL(this.context.Nj,["NSockf","jroI5d"],
function(){var e=d.context.Ic;if(_.x(e,_.Gk,12))var f=_.x(e,_.Gk,12);else{f=_.Ptc(_.Rtc(new _.tk,_.RJ(_.YH(e))),!0);f=_.w(f,6,1);var h=_.D(_.YH(e),6,"");h&&f.Nb(h);f=_.s7b(_.$tc(_.auc(_.$F((new _.Gk).Nb(d.context.ju()).setTitle(_.D(e,38,"My Drive")),"application/vnd.google-apps.folder").Kn(!1),f),[f]),1);f=_.w(f,29,!0);f=_.w(f,63,!0);h=new _.zk;e=_.w(h,1,_.Q(e,6,!0));e=_.w(e,2,!1);e=_.w(e,3,!1);e=_.w(e,4,!1);e=_.w(e,5,!1);e=_.w(e,6,!0);e=_.w(e,7,!0);e=_.w(e,10,!1);e=_.w(e,11,!1);e=_.Stc(e,!1);e=_.w(e,
12,!1);e=_.w(e,8,!1);e=_.w(e,9,!1);e=_.w(e,21,!1);f=_.NJ(f,e)}d.jl([f],1);AL(d.context.Nj,"hVFf7")});this.ha=_.Zh();zL(this.context.Nj,["BNEDtc"],function(){d.ha.resolve()});this.tq=new cIc(this.context.Ic,this.context.He(),a.Pm(),a.qfa,this.context.jk(),this.context.xX.promise);_.mI(this.context.Ic)&&this.Rc.listen(this.tq,"Fb",this.ma);this.NMa=new _.jwc(this.context.Ic,this.um)};_.K(xM,_.N);
xM.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=_.B(d.value,1);for(var e=this.tq.Ed(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.tq.H.get(d),e=!(!d||1!==d.Qe()&&4!==d.Qe()||3===NHc(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(),uRc(this,h),b.push(sHc(d,new lL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");vRc(this,b,[]);this.context.Hs.update(6);a.size&&this.wI.mO([].concat(_.Jd(a)),_.Lf(new _.Kf,311))};xM.prototype.initialize=function(){this.ka.nh()};
xM.prototype.Yh=function(a,b){if(b instanceof _.yf)b=pL(this.context.wm,b),wRc(this,b.H()),dRc(this.NGa,b),b=xRc(this,b),b.cache.Yh(a);else if(b instanceof _.TF)b=yRc(this,b),wRc(this,b.H()),b=zRc(this,b),b.cache.Yh(a);else if(b instanceof _.MH){var c=uM(this,b),d=this.O[c];d?(3==d.AV()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,zv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new oQc(this.context,this.Gg,b),d.refresh().tg(_.dg),RQc(this,c,d),b={cache:d,zv:!0});b.cache.Yh(a)}else if(b instanceof _.YF)c=b.H(),d=this.V,GFc(d,d.H,d.O,c),b=zRc(this,b),b.cache.Yh(a);else throw Error("rg");return b.zv};xM.prototype.Zj=function(a,b){if(b instanceof _.yf)b=pL(this.context.wm,b),fRc(this.NGa,b);else if(b instanceof _.TF)b=yRc(this,b);else if(!(b instanceof _.MH||b instanceof _.YF))throw Error("rg");b=uM(this,b);var c=this.O[b];c&&(c.Zj(a),c.isDisposed()&&delete this.O[b])};
var uM=function(a,b){return cL(a.context.wm,b,2)},xRc=function(a,b){var c,d,e=uM(a,b),f=a.O[e];if(f)return 3==f.AV()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,zv:!1};var h=[],k=5;f=!1;for(var l=EHc(a.It),p=0;p<l.length;p++){var q=l[p];k=q.xE(b);if(5!=k){l=1==k?void 0:b.vi();if((null===(c=_.FJ(a.context.Ic))||void 0===c?0:_.Q(c,18,!1))&&q instanceof vHc){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.Uka(b,l);var r=q.Qe();var v=q instanceof DL?q.py():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.zd()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Fj().Oe()||a.context.wk().Oe())h=h.concat(a.H.query(b,1)),_.Fa(h,void 0,function(A){return A.getId()}),k=(k=a.It.H)&&k.Y7&&5!=k.xE(b)?k.xE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new vM(a.context,b,h,1==k,v);r&&z.yi(r);z.jl(a.H.query(b,
2),1!=k);r=z.initialize();(null===(d=_.FJ(a.context.Ic))||void 0===d?0:_.Q(d,18,!1))&&f&&r.then(function(){return tM(a.context)}).then(function(A){return A.WWa().nUb()}).then(function(){var A,C;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var G=z.Xj(b).Ad().map(function(T){return T.getId()}),H=(null===(C=null===(A=a.It)||void 0===A?void 0:A.O)||void 0===C?void 0:C.Xj(b,b.vi()).Ad().map(function(T){return T.getId()}))||[],L=_.Ja(G.sort(),
H.sort()),O=YK(a.context.jk(),106030);O&&(JDc(IDc(HDc(ZDc(O),G.length),H.length),L),O.vj());L?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+G.length+".  Cache: ")+(H.length+".\nNetwork: ")+(G+".\nCache: ")+(H+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.tg(function(A){A=_.vI(A);_.fq(A);a.context.dispatchEvent(new _.Oc(new _.Nc("Error during view cache init",
A)))});RQc(a,e,z);return{cache:z,zv:!0}},zRc=function(a,b){var c=uM(a,b),d=!1,e=a.O[c];if(e&&e.Pha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.ln()),h;b instanceof _.TF?h=new LPc(a.context,a.Gg,b,f):h=new kRc(a.context,a.Gg,b,f);f.length&&h.yi(8);h.refresh().tg(_.dg);b=h;d=!0;RQc(a,c,b);e?(ARc(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,
zv:d}};xM.prototype.ZV=function(){return Object.values(this.O).filter(function(a){return a.ld()instanceof _.MH})};
xM.prototype.H2a=function(a){for(var b=_.Lf(new _.Kf,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=eGc(this.context.wm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.wI.mO([a],b,!1,c))};
var BPc=function(a,b,c){c&&c.length&&IFc(a.V,b,c);_.mI(a.context.Ic)&&mIc(a.tq,b)},fQc=function(a,b,c){var d,e,f;if(b instanceof oQc){var h=uM(a,b.ld());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof tHc&&a.It.remove(b);h=new Map;var k=a.H.iy(),l=new Map(k);k=[];for(var p=_.m(b.iy()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.H.get(r);if(v){var z=v.getItem().tv();(null===(d=_.FJ(a.context.Ic))||void 0===d?0:_.Q(d,15,!1))&&!0===q.H&&BFc(v,
q.H);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new rHc(q.getId(),q,v));l.delete(r)}else{r=BL(q);if(null===(e=_.FJ(a.context.Ic))||void 0===e?0:_.Q(e,15,!1))null===(f=a.It.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.mI(a.context.Ic)&&a.tq.VO(r)}_.mI(a.context.Ic)&&uRc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(BL(q.value));a.log("Applying "+k.length+" updates to newly added CorpusCache");k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);
b instanceof oQc?(k=uM(a,b.ld()),RQc(a,k,b)):a.It.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.rI,_.sI(p,l.getId()),p.setItem(l),k.push(p);a.Jo(k);a.log("Merged cache: "+b.getType());b instanceof HL&&c.forEach(function(A){BRc(a.context.Hsa,A)});a.context.Hs.update(3)},ARc=function(a,b){(new Set([].concat(_.Jd(a.Fy)))).forEach(function(c){b.Yh(c);a.Zj(c)})};
xM.prototype.jl=function(a,b,c,d,e){var f=this,h;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.Jd(c.H().filter(function(C){return!_.ZJ(f.Gg).includes(C)}))):[]);c&&c instanceof _.yf&&_.GJ(c)&&CRc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new lL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=DRc(this,v,r);if(null!=A)r.Mw(A),ERc(this,z,q),Zzc(q),q=DFc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.mI(this.context.Ic)&&uRc(this,q);!v||FRc(this,
z,q,e)?(l.push(sHc(v,r)),k.push(r)):k.push(v)}a=null;if(c){if(c instanceof _.yf){if(null===(h=_.FJ(this.context.Ic))||void 0===h?0:_.Q(h,15,!1))a=_.El(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.H&&(d||this.log("Setting setHasAllImmediateChildren for "+a.getItem().getId()),BFc(a,!d)));(a=HHc(this.It,c))&&a.jl(k,!!d)}c=uM(this,c);(a=this.O[c])&&a.jl(k,!!d)}0<l.length&&(_.mI(this.context.Ic)&&l.forEach(function(C){return f.tq.VO(C)}),vRc(this,l,e,a?[a]:[]),GRc(this,k));EPc(this.context).X8()};
var uRc=function(a,b){oIc(a.tq,b)||5!=b.tv()||_.euc(b,1)},FRc=function(a,b,c,d){(b=b?_.xb(b.clone(),82):null)&&BPc(a,[b],d);c=_.xb(c.clone(),82);BPc(a,[c],[]);return!_.Oj(b,c)},CRc=function(a,b,c){HRc(a,b,c);b.forEach(function(d,e){var f=a.um.H(d.getId());f&&(JK(f,d,[1002]),JK(f,d,[1003]),JK(f,d,[1005]),b[e]=f);_.hJ(c)&&0<_.ie(c,33).length&&_.fuc(d,_.ie(c,33)[0])})},HRc=function(a,b,c){var d;_.hJ(c)?d="quick access":_.iJ(c)?d="people predict":_.jJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" ItemSuggest items for "+d+": "+c)},oPc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.V)||c.set(d.V,[]),c.get(d.V).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.jl(CAc(d),b)};xM.prototype.Ala=function(a){this.NMa.Ala(a)};
xM.prototype.Jo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Wk()?null:e.getItem(),h=e.qc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new lL(f,void 0,void 0,_.B(e,1)||void 0);var p=DRc(this,h,l);if(null==p)continue;l.Mw(p);ERc(this,k,f);_.Q(e,5,!1)&&Azc(f,Pzc);Zzc(f);f=DFc(f,k);l.setItem(f);_.mI(this.context.Ic)&&uRc(this,f)}if(k&&!f||f&&FRc(this,k,f,[]))this.context.VJa.vy(e),c.push(sHc(h,l))}_.mI(this.context.Ic)&&c.forEach(function(q){return b.tq.VO(q)});vRc(this,
c,[])};var ERc=function(a,b,c){b&&!c.Om()&&JK(c,b,a.ta);var d=b?b.wf():null,e=c.wf();e=e?_.ne(e):null;d&&e&&ERc(a,_.ne(d),e);b&&!_.Jk(c)&&JK(c,b,[1002]);b&&!_.Kk(c).length&&JK(c,b,[1003]);b&&!_.Lk(c).length&&JK(c,b,[1005]);b&&null==c.A1()&&JK(c,b,[71]);b&&null==_.B(c,79)&&JK(c,b,[73]);b&&_.P(b,31)&&!_.P(c,31)&&(Azc(c,Pzc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
xM.prototype.sB=function(a,b){if(a instanceof _.yf||a instanceof _.TF||a instanceof _.MH)a=uM(this,a),(a=this.O[a])&&a.IX(b);else throw Error("rg");};var DRc=function(a,b,c){var d=c.getItem();if(KIc(a.context.sfa,d))return null;if(b){a=b.V;var e=c.V;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=a.tv()&&!mL(a)&&!mL(d)&&a.wc()==d.wc())if(a.Yi()&&d.Yi()){if(a.Yi()>d.Yi())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.wq()>d.wq())return null}return AFc(b&&b.V,c.V)};
xM.prototype.VH=function(a,b){(a=this.H.get(a))&&a.Mw(AFc(a.V,b))};
var vRc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.FJ(a.context.Ic))||void 0===e?0:_.Q(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&BFc(h.H,h.O.H);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.wa(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())DPc(h.value,b);h=EHc(a.It);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 HL&&f.zd()>=1.2*f.limit&&IRc(a.context.VJa,f.wc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.P(a.context.Ic,60)&&a.wa.update(h),a.H.update(h),a.H.get(h.id)||a.V.rJ(h.id),a.W.update(h);0<d&&a.context.Hs.mna(d);JRc(a)},JRc=function(a){var b=a.W.O.slice(0),c=hRc(a.W);iRc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Kf;_.Lf(d,308);a.wI.mO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=PFc(a.um,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().wf(),k=a.um.H(_.B(h,1));k&&(_.I(h,5,k),_.w(h,4,1),e.push(f))});oPc(a,e)}},KRc=function(a){EPc(a.context).X8();a.H.rJ()},yRc=function(a,b){_.Ia(b.H());var c=_.na(b.ln(),"root");if(0>c)return b;b=b.clone();b.ln()[c]=a.context.ju();return b},sRc=function(a,b){var c;null!==(c=_.FJ(a.context.Ic))&&void 0!==c&&_.Q(c,1,!1)||(b=UDc(a.Gg,b),a=a.V,GFc(a,a.items,a.fields,b))},wRc=function(a,b){var c;if(null===(c=_.FJ(a.context.Ic))||
void 0===c?0:_.Q(c,1,!1))b=UDc(a.Gg,b),a=a.V,GFc(a,a.items,a.fields,b)},GRc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().tv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.Lf(new _.Kf,311);a.wI.mO(c,d)}})},$Qc=function(a,b){a.ha.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={m5:c.m5,Nqa:c.Nqa},e=d.next()){e=e.value;if(HHc(a.It,e))break;c.m5=new DL(a.context.lt,a.context.Av,
a.context.wm,e);e=new $Pc(a.context,c.m5,e);c.Nqa=LL(a.context.vz,null);_.$h(e.nh().then(function(f){return function(){cQc(f.m5,f.Nqa).then(function(h){fQc(a,f.m5,h)})}}(c)),function(){VIc(a.context.vz,null)})}})};xM.prototype.Fo=function(){var a=this.It.H;return a&&a.lD?1:2};xM.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var RQc=function(a,b,c){a.O[b]=c;a.log(b+" | Set cache with "+c.zd()+" items")},tRc=[50];
var MRc=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.Uk;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Zh();this.wa=c.promise;JKc(this.context.sD).then(function(d){b.H=d||[];c.resolve();LRc(b)},function(){return c.resolve()});zL(this.context.Nj,["rVezo"],(0,_.M)(this.W,this))};_.K(MRc,_.N);
var eRc=function(a,b){_.Q(a.context.Ic,46,!1)&&a.wa.then(function(){if(a.H[0]!==b){_.wa(a.H,b);for(EFc(a.context.Af.um.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.ua(a.H,b,0);a.H.length>2*_.Pj(a.context.Ic,47,5);)a.H.pop();a.context.sD.set(DKc,a.H)}a.context.Af.It.ZV().length+a.O.size<_.Pj(a.context.Ic,47,5)&&(LRc(a),a.W())})},NRc=function(a,b){_.wa(a.H,b)&&a.context.sD.set(DKc,a.H)};
MRc.prototype.vy=function(a){BRc(this.context.Hsa,a);if(mL(a)){var b=a.wc();a.Wk()?IRc(this,b,!0):(a=a.getItem(),EFc(a)&&NRc(this,b))}};var IRc=function(a,b,c){NRc(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.Af.It;for(var e=d.ZV(),f=0;f<e.length;f++){var h=e[f];if(h.wc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Hs.update(3);break}}tM(a.context).addCallback(function(k){k.rHa(b,c)});a.W()};
MRc.prototype.W=function(){if(this.context.Nj.H("rVezo")){var a=this.context.Af.It;ORc(this);for(var b={};this.V.Zb()&&!(this.ha>=_.Pj(this.context.Ic,47,5));){var c=_.Zk(this.V);this.ha++;GHc(a,c)||this.O.has(c)||(this.O.set(c,null),b.Jea=new _.Atc,_.w(b.Jea,1,c),this.context.Pm().then(function(d){return function(e){return e.Pe(d.Jea)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={Jea:b.Jea}}}};
var LRc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},ORc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){LRc(a);a.W()},36E5)};MRc.prototype.ta=function(a,b){var c=_.B(b,1);c&&c>_.Pj(this.context.Ic,48,1E3)?(this.log(a,"Too large to backfill: "+_.B(b,1)),PRc(this,a,!1)):QRc(this,a)};
MRc.prototype.ma=function(a,b){(b=_.vI(b).hk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.BI(_.Lsc(_.sI(new _.rI,a),a)),this.context.Af.Jo([a])):QRc(this,a)};
var QRc=function(a,b){var c=new HL(a.context.lt,a.context.Av,b),d=c.ld().clone();d.Hi(_.Pj(a.context.Ic,48,1E3));d=new $Pc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=LL(a.context.vz,b);tM(a.context).addCallback(function(f){f.qva(b)});_.$h(d.nh().then(function(){RRc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;PRc(a,b,!0)}),function(){VIc(a.context.vz,b)})},RRc=function(a,b,c,d){c.lD?(c.aX(),cQc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.zd());fQc(a.context.Af,
c,e);PRc(a,b,!1)},function(){a.log(b,"Backfill changes failed");PRc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),PRc(a,b,!0))},PRc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&tM(a.context).addCallback(function(e){e.rHa(b,!1)});a.W();0<a.O.size||a.context.Af.It.ZV().map(function(e){return e.wc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){IRc(a,e,!0)})};
MRc.prototype.log=function(a,b){this.context.He().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var SRc=function(){_.N.apply(this,arguments)};_.K(SRc,_.N);
var VRc=function(a,b){b=TRc(b);var c=a.getItem(),d=URc(c.getCapabilities());b.Q3.forEach(function(e){_.s7b(e.getItem(),c.To());_.NJ(e.getItem(),d.clone())});return b},YRc=function(a,b,c){var d=WRc(c);c=c.find(function(e){return e.getId()===b.getId()});c={pK:c?c:new lL(b),children:[]};XRc(a,d,c);return c},WRc=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().rk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},XRc=
function(a,b,c){var d=c.pK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(XRc(a,b,{pK:e,parent:c,children:[]}))});return c},$Rc=function(a,b){b=b.children.filter(function(l){return!_.Ik(l.pK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.pK.getItem();if(!c.has(f.getId())){_.s7b(f,a.To());ZRc(a,f,e.parent?e.parent.pK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.Ik(k.pK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.pK)}}return d},
aSc=function(a){a=a.children.filter(function(h){return!_.Ik(h.pK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.pK.getItem();if(!b.has(e.getId())){c.push(_.BI(_.sI(new _.rI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.Ik(f.pK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},TRc=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();_.Ik(e)||_.P(e,137)?c.push(e):b.push(d)}return{rQ:c,Q3:b}},URc=
function(a){a=a.clone();var b=null!=_.P(a,34)?_.P(a,34):_.P(a,7),c=null!=_.P(a,35)?_.P(a,35):_.P(a,7);_.w(a,45,c);_.w(a,46,b);_.w(a,30,c);_.w(a,31,b);_.w(a,47,c);_.w(a,32,c);_.w(a,33,b);_.w(a,4,b);_.w(a,9,c);_.w(a,20,b);_.w(a,17,_.P(a,7));_.w(a,8,_.P(a,10)||_.P(a,11));_.w(a,21,_.Ak(a));_.xb(a,18);_.xb(a,13);_.xb(a,10);_.w(a,42,_.P(a,42));_.w(a,43,_.P(a,43));_.w(a,48,_.P(a,48));return a},ZRc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities();_.w(e,30,_.P(d,30));_.w(e,31,_.P(d,31));_.w(e,
47,_.P(d,47));_.w(e,32,_.P(d,32));_.w(e,33,_.P(d,33));_.w(e,4,_.P(d,4));_.w(e,9,_.P(d,9));_.w(e,21,_.P(d,21));_.w(e,20,_.P(d,20));_.w(e,17,_.P(d,17));_.w(e,1,_.Ak(d));_.w(e,7,_.P(d,7));_.w(e,10,_.P(d,10));_.w(e,11,_.P(d,11));_.w(e,45,_.P(d,45));_.w(e,46,_.P(d,46));_.w(e,48,_.P(d,48));_.w(b,137,_.Ik(a));c&&(a=c.getCapabilities(),LK(b)?(_.w(e,8,_.P(a,43)),_.w(e,43,_.P(a,43)),_.w(e,42,_.P(a,42))):_.w(e,8,_.P(a,42)))};
var bSc=function(a){this.context=a;this.V=new SRc;this.logName="drive.ds.sync.change.TdChangeProcessor";this.O=_.Lf(new _.Kf,306);this.H=a.Af},BRc=function(a,b){if(mL(b))b.Wk()?cSc(a,b):dSc(a,b);else if(_.Q(a.context.Ic,86,!1)){var c=b.qc(),d=a.H.um.H(c);var e=d&&d.wc();var f=b.getItem()&&b.getItem().wc();if(!d||!e||!LK(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.Ik(d),!b.Wk()){f=b.getItem();var h=f.To()!==d.To();e=_.Ik(d)!==_.Ik(f)||e&&h}if(e)if(b.Wk()){if(b=eSc(a,d.wc()),d=a.V,e=(new _.Gk).Nb(c),
b=(b=YRc(d,e,b))?aSc(b):[],a.context.Af.Jo(b),a.log(c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=YK(a.context.jk(),106009))c=WDc(a),_.w(c,2,b.length),a.vj()}else if(c=b.getItem(),d=eSc(a,c.wc()),e=a.V,c=b.getItem(),c=(d=YRc(e,c,d))?$Rc(c,d):[],oPc(a.context.Af,c),a.log(b.qc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=YK(a.context.jk(),106010))b=WDc(a),_.w(b,1,c.length),a.vj()}},cSc=function(a,b){var c=b.qc();b=eSc(a,c);b=TRc(b);var d=_.wf(b.Q3,function(e){return _.BI(_.sI(new _.rI,
e.getId()))});a.context.Af.Jo(d);a.H.wI.mO(b.rQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.rQ.map(function(e){return _.Bl((new _.wl).Nb(e.getId()),_.Mk(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.rQ.length+" divergent items"));if(a=YK(a.context.jk(),106016))c=XDc(a),_.w(c,1,b.rQ.length),_.w(c,2,b.Q3.length),a.vj()},dSc=function(a,b){var c=b.qc(),d=eSc(a,c),e=a.H.um.H(c);b=VRc(b,d);oPc(a.context.Af,b.Q3);a.H.wI.mO(b.rQ.map(function(h){return h.getId()}),a.O,void 0,void 0,
b.rQ.map(function(h){return _.Bl((new _.wl).Nb(h.getId()),_.Mk(h))}));a.log(c,"SD update | Update "+b.Q3.length+" item(s), "+(b.rQ.length+" divergent items"));if(d=YK(a.context.jk(),106017)){var f=XDc(d);_.w(f,1,b.rQ.length);_.w(f,2,b.Q3.length);d.vj()}e||ZPc(a.H.wI,c)},eSc=function(a,b){var c=new _.yf;_.Gl(c,[b]);_.Hl(c,2);return RFc(a.H.um,c)};bSc.prototype.log=function(a,b){this.context.He().info(this.logName,a+": "+b)};
var fSc=function(a,b,c){this.H=a;this.V=b;this.mJ=c},jSc=function(a,b,c){if(b.FV().length){var d=GIc(a.H,b.qc());if(d){var e=d?HIc(a.H,b):[];for(var f={},h=_.m(b.FV()),k=h.next();!k.done;f={rL:f.rL},k=h.next())if(k=k.value,f.rL=gSc(e,k.Cm(),b.qc()),_.P(k,3))NIc(a.H,f.rL),_.$h(c,function(r){return function(){a.H.O.W(wIc(r.rL))}}(f));else{for(var l=_.m(_.Ab(k,_.QF,2)),p=l.next();!p.done;p=l.next())hSc(a,f.rL,p.value);k=_.m(_.ie(k,4));for(l=k.next();!l.done;l=k.next())iSc(f.rL,l.value);a.H.iD([f.rL],
!1,-1);c.then(function(r){return function(){return void a.H.VH(r.rL.getName(),-2)}}(f),function(r){return function(){a.H.VH(r.rL.getName(),-2)}}(f))}e=a.ad(d.Xj().response)}}e=e?e:a.ad();var q=e.l4a;c.then(function(r){q.resolve(r)},function(r){q.reject(_.Rc(r));a.handleError(b.qc(),r)});return e};fSc.prototype.ad=function(a){a=void 0===a?new wL:a;return new xGc(a.Ac(1))};var gSc=function(a,b,c){var d=a.find(function(e){return vIc(e.getName(),b)});d||(d=UGc((new vL).$c(b),c),a.push(d));return d};
fSc.prototype.handleError=function(a,b){RIc(this.V,a);a=_.vI(b);_.w(a,21,"Server error updating metadata after optimistic application.");this.mJ(a)};
var hSc=function(a,b,c){var d=b.H().find(function(e){return e.getId()===c.getId()});d||(d=new dL,d.Nb(c.getId()),TGc(b,b.H().concat([d])),kSc(d,c));if(1===eL(d))d.setBooleanValue(_.P(c,3));else if(12===eL(d))d.setDateStringValue(_.B(c,17));else if(2===eL(d))d.setTextValue(_.B(c,4));else if(3===eL(d))_.ie(c,6).length?d.$oa(_.ie(c,6)):_.ie(c,5).length&&(a=_.ie(d,7).concat(_.ie(c,5)),d.$oa(a));else if(4===eL(d))d.setLongTextValue(_.B(c,7));else if(5===eL(d))d.setSelectionValue(_.B(c,8));else if(6===
eL(d))_.ie(c,10).length?d.Woa(_.ie(c,10)):_.ie(c,9).length&&(a=d.yMa().concat(_.ie(c,9)),d.Woa(a));else if(7===eL(d))d.setIntegerValue(_.B(c,11));else if(8===eL(d))_.ie(c,13).length?d.Moa(_.ie(c,13)):_.ie(c,12).length&&(a=_.ie(d,12).concat(_.ie(c,12)),d.Moa(a));else if(10===eL(d))d.setUserValue(a.O(_.B(c,14)));else if(11===eL(d))_.ie(c,16).length?PEc(d,_.ie(c,16).map(a.O)):_.ie(c,15).length&&PEc(d,d.fXa().concat(_.ie(c,15).map(a.O)));else throw new _.Nc("Optimistic Applier: Unsupported value type "+
(eL(d)+"."),new _.Lc);},iSc=function(a,b){if(a=a.H().find(function(c){return c.getId()===b}))if(1===eL(a))_.xb(a,5);else if(12===eL(a))_.xb(a,17);else if(2===eL(a))_.xb(a,6);else if(3===eL(a))_.bI(a,7);else if(4===eL(a))_.xb(a,8);else if(5===eL(a))_.xb(a,9);else if(6===eL(a))_.bI(a,10);else if(7===eL(a))_.xb(a,11);else if(8===eL(a))_.bI(a,12);else if(10===eL(a))_.Ej(a,15);else if(11===eL(a))_.Gj(a,16);else throw new _.Nc("Optimistic Applier: Unsupported value type "+(eL(a)+"."),new _.Lc);},kSc=function(a,
b){_.yj(b,3)?a.MA(1):_.yj(b,17)?a.MA(12):_.yj(b,4)?a.MA(2):_.ie(b,6).length||_.ie(b,5).length?a.MA(3):_.yj(b,7)?a.MA(4):_.yj(b,8)?a.MA(5):_.ie(b,10).length||_.ie(b,9).length?a.MA(6):_.yj(b,11)?a.MA(7):_.ie(b,13).length||_.ie(b,12).length?a.MA(8):_.yj(b,14)?a.MA(10):(_.ie(b,16).length||_.ie(b,15).length)&&a.MA(11)};fSc.prototype.O=function(a){return _.Qtc(_.Otc(1),a)};
var lSc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.wa=c;this.O=d;this.ka=e;this.Gg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};lSc.prototype.apply=function(a,b){var c=this;if(!_.EJ(a))return b;var d=null;a instanceof _.TI?d=mSc(this,a,b):a instanceof _.$I?d=nSc(this,a,b):a instanceof _.xI?d=oSc(this,a,b):a instanceof _.OI?d=pSc(this,a,b):a instanceof _.wJ&&(d=jSc(this.wa,a,b));d&&(this.W++,this.ha.setActive(!1),_.$h(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Vh(d):b};
var mSc=function(a,b,c){JIc(a.O,b.getId());var d=a.H.um.H(b.getId());_.$h(c.then(function(){return void a.ma("VMiG2e")},a.ta.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.vI(e);_.w(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.DJ).Ac(1)},nSc=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&LIc(a.O,d)&&_.$h(qSc(a,d,new _.lwc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.wa(a.O.H,
d)});c.then(null,function(e){e=_.vI(e);_.w(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.DJ).Ac(1)},qSc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Vh();var f=_.Zh(),h=c.Ya();_.UH(c);setTimeout(function(){a.ka.then(function(k){var l=_.Lf(new _.Kf,1425);l=BAc(!0,1,l);return k.Pe(l).then(function(p){if(p=p.ad())if(p=p.Ad()[0],!p||(p.$v()||0)>b){f.resolve();return}_.$h(qSc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.$h(qSc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},pSc=function(a,b,c){var d=b.wc(),e=a.H.um.H(d);if(!e)return null;e=e.clone();BPc(a.H,[e],[157]);var f=e.Oh();rSc(f,_.Ab(b,_.Ek,2));sSc(f,_.Ab(b,_.Ek,3));a.H.jl([e],-1,void 0,void 0,[157]);_.$h(c,function(){a.H.VH(d,-2)}).then(function(h){a.H.jl([_.x(h,_.Gk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.vI(h);_.w(h,21,"Server error updating item after optimistic application.");a.V(h)});return BMc(new AMc,e).Ac(1)},
rSc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={zea:c.zea},d=b.next())c.zea=d.value,_.Ab(a,_.Ek,8).some(function(e){return function(f){return f.Cm()==e.zea.Cm()}}(c))||_.Mj(a,8,c.zea,_.Ek,void 0)},sSc=function(a,b){var c=b.map(function(d){return d.Cm()});b=_.Ab(a,_.Ek,8).filter(function(d){return!c.includes(d.Cm())});Izc(a,b)},oSc=function(a,b,c){var d=a.H.um.H(b.getId());if(!d||d.wc()&&0==b.Qh()||null!=_.P(b,40))return null;var e=_.ie(b,10),f=_.ie(b,9);if(0<e.length&&0<f.length&&
(e=Object.values(QFc(a.H.um,e.concat(f))).map(function(k){return k.wc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();tSc(a,b,h);a.H.jl([h],-1,void 0,void 0,SDc(a.Gg));c.then(function(){return a.H.VH(b.getId(),-2)},function(){a.H.VH(b.getId(),-2);a.ta(b.getId(),d)});c.then(null,function(k){k=_.vI(k);if(63==k.hk()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");a.V(k)});return _.$uc((new _.DJ).setItem(h),h.getId()).Ac(1)},
tSc=function(a,b,c){null!=b.qf()&&c.Vl(b.qf());null!=b.Pi()&&_.cuc(c,b.Pi());null!=b.getMimeType()&&_.$F(c,b.getMimeType());null!=_.B(b,7)&&_.w(c,11,_.B(b,7));null!=_.P(b,11)&&_.w(c,8,_.P(b,11));null!=_.P(b,4)&&c.Lv(_.P(b,4));null!=_.P(b,16)&&_.w(c,31,_.P(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Qh()&&(c.Kn(b.Qh()),_.w(c,26,b.Qh()));null!=_.P(b,18)&&_.GK(Yzc(c,!0),_.P(b,18));_.ie(b,8).length&&_.MJ(c,_.ie(b,8));if(_.ie(b,9).length){var d=new Set(c.rk());_.ie(b,9).forEach(function(p){return d.add(p)});
_.MJ(c,[].concat(_.Jd(d)))}if(_.ie(b,10).length){var e=new Set(c.rk());_.ie(b,10).forEach(function(p){return e.delete(p)});_.MJ(c,[].concat(_.Jd(e)));var f=c.Cw();f&&_.ie(b,10).includes(f)&&_.xb(c,46)}if(!c.Cw()){var h=a.Ba();f=c.rk().find(function(p){var q=a.H.um.H(p);return q&&!!q.Cw()||p==h});_.w(c,46,f||void 0)}c.rk().length&&(f=a.H.um.H(c.rk()[0]))&&_.fuc(c,f.wc());if(f=_.x(b,_.Bk,25)){var k=_.x(c,_.Bk,111)||new _.Bk;null!=_.P(f,1)&&_.Utc(k,_.P(f,1));null!=_.B(f,2)&&_.w(k,2,_.B(f,2));_.I(c,111,
k)}var l=_.ie(c,120);_.ie(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.ie(b,32).forEach(function(p){_.wa(l,p)});_.Dj(c,120,l)};lSc.prototype.ta=function(a,b){var c=this,d=_.VF(new _.TF,[a]);this.ka.then(function(e){return e.Pe(d)}).then(function(e){e=e.ad().Ad()[0];c.H.jl([e.clone()],1)},function(){b&&c.H.jl([b.clone()],1)})};
var uSc=function(a){this.H=a};_.K(uSc,_.$xc);uSc.prototype.execute=function(a,b,c){var d=_.$xc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.cLa||b instanceof _.nI&&_.GJ(b.ld()))if(c=kEc(this.H))return c;return b instanceof _.$I?(c=_.Lf(new _.Kf,1424),a.Pe(BAc(!1,1,c)).then(function(e){(e=e.ad())&&(e=e.Ad()[0])&&_.yj(e,96)&&b.Nca(e.$v())},function(){})):null};
var OAc=function(a,b){return[vSc,wSc,xSc,ySc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},vSc=function(a){return zSc[a.kf()]},wSc=function(a){return ASc[a.getType()]},xSc=function(a){return a.getName()||""},ySc=function(a){return a.getId()||""},yM={},zSc=(yM[5]=0,yM[7]=1,yM[1]=2,yM[3]=3,yM[4]=4,yM[2]=5,yM[6]=6,yM),BSc={},ASc=(BSc[1]=0,BSc[2]=1,BSc[3]=2,BSc[4]=3,BSc);
var CSc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.ta=k;this.Gg=l};
CSc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.DJ&&8===b.Cb()))if(a instanceof _.NI||a instanceof _.PI||a instanceof _.qtc||a instanceof _.oJ||a instanceof _.xI||a instanceof _.yJ||a instanceof _.ytc||a instanceof _.AJ||a instanceof NK){var d=_.AI(b.getItem().clone(),9);this.H.jl([d],1);mJc(this.ta,b.getItem(),_.ZJ(this.Gg))}else if(a instanceof _.TI)b=_.BI(_.sI(new _.rI,a.getId())),this.H.Jo([b]);else if(a instanceof _.WI)b=_.BI(_.Lsc(_.sI(new _.rI,a.getId()),a.getId())),this.H.Jo([b]),
BRc(this.ma,b);else if(a instanceof _.$I)b=BAc(!0).ld(),b=this.H.um.query(b).map(function(e){return _.BI(_.sI(new _.rI,e.getId()))}),this.H.Jo(b);else if(a instanceof _.RI)this.O.remove(a.Jh());else if(a instanceof _.cJ||a instanceof _.vJ)this.O.put(b.jr());else if(a instanceof _.UI)NAc(this.H,a);else if(a instanceof _.fD)this.W.remove(a.getKey());else if(a instanceof _.gJ)PAc(this.H,a,_.x(b,_.tk,2));else if(a instanceof _.gD)this.W.put(b.JMa());else if(a instanceof _.QI||a instanceof _.zJ)this.ha.iD([b.mn()],
!1);else if(a instanceof _.XI)this.ha.iD([OIc(a.getId())],!1);else if(a instanceof _.ptc)this.V.iD(b.response.H(),!1,1);else if(a instanceof _.wJ)a.FV().filter(function(e){return _.P(e,3)}).forEach(function(e){return c.V.removeItem(e.Cm()||"",a.qc())}),RIc(this.ka,a.qc()),this.H.H2a(a.qc());else if(a instanceof _.dK)for(b=_.m(_.Ab(a,_.SEc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.x(d,_.fL,2),d.getType()){case 1:case 2:if(d=this.H.um.H(d.qc()))d=
_.sI(rDc(),d.getId()).setItem(d.clone()),this.H.Jo([d])}}};
var DSc=function(a){this.H=a};
DSc.prototype.translate=function(a){if(a instanceof _.sJ){var b=this.H.H(a.getId());if(!b)return new _.Lc;var c=(new _.xI).Nb(a.getId());if(b.wc()){var d=b.getCapabilities();_.Je(d)||_.P(d,9)?c.Kn(!0):_.yI(c,!1)}else d=a.getParent(),1===b.To()?c.Kn(!0):d?(b=this.H.H(d),!b||_.P(b.getCapabilities(),7)?mDc(c,[d]):_.yI(c,!1)):_.yI(c,!1);return c}if(a instanceof _.tJ)return oDc(nDc(mDc(lDc((new _.xI).Nb(a.getId()),_.ie(a,2)),_.ie(a,3)),_.P(a,6)),_.Ab(a,_.wl,8));if(a instanceof _.uJ){b=this.H.H(a.getId());
if(!b)return new _.Lc;c=(new _.xI).Nb(a.getId());b.wc()?(d=b.getCapabilities(),_.Je(d)||_.P(d,9)?c.Kn(!1):_.yI(c,!0)):(d=a.getParent(),1===b.To()?c.Kn(!1):d?(b=this.H.H(d),!b||_.Ak(b.getCapabilities())?lDc(c,[d]):_.yI(c,!0)):_.yI(c,!0));return c}if(a instanceof _.qK)return new _.qtc(a);if(a instanceof _.iM)return _.ie(a,1).map(function(f){var h=new _.wJ;f=_.w(h,1,f);h=a.FV();f=_.Fj(f,2,h);h=a.se();return _.I(f,3,h)});if(a instanceof _.ZI){c=BAc(!1,1).ld();var e=0;this.H.query(c).forEach(function(f){(f=
f.$v())&&(e=Math.max(e,f))});return eEc(new _.$I,a).Nca(e)}return a};
var ESc=function(){};ESc.prototype.validate=function(a){var b=null;a instanceof _.kJ?(a=a.getId()||"",_.Me(a)&&(b="Tried to request backup with no id.")):a instanceof _.SI&&(a=a.getId()||"",_.Me(a)&&(b="Tried to delete backup with no id."));return b?_.vI(b):null};
var FSc=function(a,b){this.H=a;this.O=b},JSc=function(a,b){_.xK(["drive#about"],b);var c=new _.jM,d=new _.KB;if(b.user){var e=_.zK(a.H,b.user);_.I(d,1,e)}a=GSc(a,b);a=eDc(dDc(_.cDc(new _.QJb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.gDc(a,_.SCc(_.RCc((new _.JB).Ac(HSc.get(e.status)),Number(e.trialMillisRemaining)),_.yK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.hDc(a,_.UCc(_.TCc(new _.LJb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&fDc(a,b.importFormats.map(function(f){var h=new _.bDc;h=_.w(h,1,f.source);return _.Dj(h,2,f.targets)}));b.adminSecureLinkSetting&&iDc(a,ISc.get(b.adminSecureLinkSetting));_.I(d,3,a);_.eOc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},GSc=function(a,b){var c;var d=new _.PJb;d=_.w(d,1,Number(b.quotaBytesTotal));d=_.w(d,2,Number(b.quotaBytesUsed));d=_.w(d,3,Number(b.quotaBytesUsedAggregate));d=_.w(d,4,Number(b.quotaBytesUsedInTrash));d=_.YCc(_.XCc(_.WCc(_.VCc(d,
RAc(b.quotaBytesByService||[])),b.quotaType?KSc.get(b.quotaType):void 0),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-TAc(b);d=_.w(d,9,e);d=_.ZCc(d,Number(b.quotaBytesUsedAggregate));d=_.w(d,11,Number(b.quotaBytesUsedInTrash));d=_.w(d,13,_.Vzc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.$Cc(d,LSc.get(b.quotaStatus)||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=
new _.OJb;var f=_.p7a(new Date(b.graceQuotaInfo.endDate));e=_.I(e,1,f);e=_.w(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.I(d,12,e)}if(null===(c=_.FJ(a.O))||void 0===c?0:_.Q(c,16,!1)){var h;(a=d.KJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);isNaN(Number(b.individualQuotaBytesTotal))||(h=_.w(d,16,Number(b.individualQuotaBytesTotal)),_.w(h,17,_.Vzc(Number(b.individualQuotaBytesUsedAggregate),
Number(b.individualQuotaBytesTotal))));b=_.w(d,9,Number(b.individualQuotaBytesUsedAggregate))}else b=d;return b},LSc=new Map([["softLimitExceeded",2],["hardLimitExceeded",3],["underLimit",1]]),SAc=new Set(["POOLED_STORAGE","FAMILY"]),HSc=new Map([["isInTrial",1],["hasPaidContract",2],["noSubscription",3],["trialExpired",4]]),QAc=new Map([["DRIVE",1],["FAMILY",4],["GMAIL",2],["PHOTOS",3],["POOLED_STORAGE",5]]),KSc=new Map([["LIMITED",1],["UNLIMITED",2],["POOLED",3]]),ISc=new Map([["unknown",0],["requireLessSecureLinks",
1],["removeLessSecureLinks",2],["userCanChoose",3]]);
var MSc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},NSc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},OSc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},PSc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},QSc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},RSc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},SSc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},TSc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},USc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},VSc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},WSc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},XSc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},YSc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},ZSc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},$Sc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},aTc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},bTc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},cTc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},dTc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},eTc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},fTc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},gTc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},nTc=function(a){return a.map(function(b){var c=new _.lOc;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=hTc(e);_.I(c,2,d);break;case "actors":d=iTc(e);_.Fj(c,3,d);break;case "actions":d=jTc(e);_.Fj(c,
4,d);break;case "targets":d=kTc(e);_.Fj(c,5,d);break;case "timestamp":c.V(lTc(e));break;case "timeRange":d=mTc(e),_.Jj(c,7,_.lM,d)}}return c})},jTc=function(a){return a.map(function(b){var c=new _.iOc;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=hTc(e);_.I(c,1,d);break;case "source":d=new tMc;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":_.Wj(d,2,MSc[h]);break;case "appId":_.Vj(d,1,h)}}_.I(c,2,d);break;case "actor":d=oTc(e);_.I(c,3,d);break;case "target":d=pTc(e);_.I(c,4,d);break;case "timestamp":c.V(lTc(e));break;case "timeRange":d=mTc(e),_.Jj(c,6,_.jOc,d)}}return c})},kTc=function(a){return a.map(function(b){return pTc(b)})},rTc=function(a){return a.map(function(b){return qTc(b)})},sTc=function(a){return a.map(function(b){var c=new _.ZLc;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.yg(qTc(e));break;case "shortcut":d=qTc(e),_.I(c,2,d)}}return c})},pTc=function(a){var b=new _.wMc;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=tTc(d);_.Jj(b,1,_.YL,c);break;case "drive":c=new _.uMc;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.$c(f);
break;case "title":c.setTitle(f);break;case "root":e=tTc(f),_.I(c,3,e)}}_.Jj(b,5,_.YL,c);break;case "fileComment":c=new _.vMc;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":_.Vj(c,1,f);break;case "legacyDiscussionId":_.Vj(c,2,f);break;case "linkToDiscussion":_.Vj(c,3,f);break;case "parent":c.yg(tTc(f))}_.Jj(b,3,_.YL,c)}}return b},qTc=function(a){var b=new _.RL;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 ILc;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.$c(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new GLc;_.Jj(e,8,HLc,f);break;case "driveFolder":e=uTc(f);_.Jj(c,9,HLc,e);break;case "driveShortcut":e=vTc(f),_.Jj(c,10,HLc,e)}}_.Jj(b,1,JLc,c);break;case "drive":c=wTc(d),_.Jj(b,3,JLc,c)}}return b},
tTc=function(a){var b=new _.FLc;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.$c(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Vj(b,6,d);break;case "version":_.Uj(b,5,d);break;case "owner":c=new BLc;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=xTc(f);_.I(c,3,e);break;case "user":e=zM(f);_.Jj(c,
1,_.ALc,e);break;case "drive":e=wTc(f),_.Jj(c,4,_.ALc,e)}}_.I(b,7,c);break;case "driveFile":c=new GLc;_.Jj(b,8,CLc,c);break;case "driveFolder":c=uTc(d);_.Jj(b,9,CLc,c);break;case "driveShortcut":c=vTc(d),_.Jj(b,10,CLc,c)}}return b},wTc=function(a){var b=new zLc;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.$c(d);break;case "title":b.setTitle(d)}}return b},uTc=function(a){var b=new DLc;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":_.Wj(b,6,NSc[d])}}return b},vTc=function(a){var b=new ELc;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":_.Vj(b,1,d);break;case "targetMimeType":_.Vj(b,2,d)}}return b},iTc=function(a){return a.map(function(b){return oTc(b)})},oTc=function(a){var b=new _.sMc;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=zM(d);_.Jj(b,1,_.XL,c);break;case "anonymous":c=new pMc;_.Jj(b,2,_.XL,c);break;case "impersonation":c=new _.qMc;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=zM(f),_.I(c,1,e)}}_.Jj(b,3,_.XL,c);break;case "system":c=new _.rMc;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":_.Wj(c,1,OSc[f])}_.Jj(b,4,_.XL,c);break;case "administrator":c=new _.oMc,_.Jj(b,5,_.XL,c)}}return b},yTc=function(a){return a.map(function(b){return zM(b)})},zM=function(a){var b=new _.gLc;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 _.eLc;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":_.Vj(c,1,f);break;case "isCurrentUser":_.Tj(c,2,f);break;case "displayName":_.Vj(c,3,f);break;case "photoUrl":c.Jn(f)}}_.Jj(b,2,_.dLc,c);break;case "unknownUser":c=new hLc;_.Jj(b,4,_.dLc,c);break;case "deletedUser":c=new _.fLc,_.Jj(b,3,_.dLc,c)}}return b},lTc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.o7a((new _.xy).setSeconds(a),b)},mTc=function(a){var b=new _.kM;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.nY(lTc(d));break;case "endTime":b.BO(lTc(d))}}return b},xTc=function(a){var b=new _.yLc;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.$c(d);break;case "legacyId":_.Vj(b,3,d);break;case "audienceDisplayName":_.Vj(b,4,d)}}return b},hTc=function(a){for(var b=new _.WL,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 _.MLc,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,v=q.next().value;switch(r){case "new":var z=k,A=new NLc;_.Jj(z,1,_.KLc,A);break;case "upload":var C=k,G=new OLc;_.Jj(C,2,_.KLc,G);break;case "copy":for(var H=v,L=new _.LLc,O=_.m(Object.entries(H)),T=O.next();!T.done;T=O.next()){var U=_.m(T.value),ca=U.next().value,ba=U.next().value;switch(ca){case "originalObject":var ma=
qTc(ba);_.I(L,1,ma)}}_.Jj(k,3,_.KLc,L)}}_.Jj(b,1,_.VL,k);break;case "edit":var ta=new TLc;_.Jj(b,2,_.VL,ta);break;case "move":for(var za=new _.aMc,Na=_.m(Object.entries(h)),ob=Na.next();!ob.done;ob=Na.next()){var Wa=_.m(ob.value),Ub=Wa.next().value,Ac=Wa.next().value;switch(Ub){case "addedParents":var Mc=rTc(Ac);_.Fj(za,1,Mc);break;case "removedParents":var xd=rTc(Ac);_.Fj(za,2,xd);break;case "fromOwnershipTransfer":_.Tj(za,3,Ac);break;case "reparents":var Ae=Ac.map(zTc);_.Fj(za,4,Ae);break;case "multiparentingMigration":for(var oe=
Ac,Vg=new _.$Lc,ee=_.m(Object.entries(oe)),Db=ee.next();!Db.done;Db=ee.next()){var Qe=_.m(Db.value),sj=Qe.next().value,bf=Qe.next().value;switch(sj){case "removedParents":var tj=rTc(bf);_.Fj(Vg,2,tj);break;case "migratedParents":var dk=sTc(bf);_.Fj(Vg,1,dk)}}_.I(za,5,Vg)}}_.Jj(b,3,_.VL,za);break;case "rename":for(var Pg=new _.gMc,Ql=_.m(Object.entries(h)),ui=Ql.next();!ui.done;ui=Ql.next()){var Fe=_.m(ui.value),Pf=Fe.next().value,Kj=Fe.next().value;switch(Pf){case "oldTitle":_.Vj(Pg,1,Kj);break;case "newTitle":_.Vj(Pg,
2,Kj)}}_.Jj(b,4,_.VL,Pg);break;case "delete":for(var Di=new _.RLc,uj=_.m(Object.entries(h)),Vk=uj.next();!Vk.done;Vk=uj.next()){var Ip=_.m(Vk.value),Lm=Ip.next().value,Kq=Ip.next().value;switch(Lm){case "type":_.Wj(Di,1,PSc[Kq])}}_.Jj(b,5,_.VL,Di);break;case "restore":for(var Yr=new _.hMc,Zr=_.m(Object.entries(h)),Yh=Zr.next();!Yh.done;Yh=Zr.next()){var Lq=_.m(Yh.value),mm=Lq.next().value,Zn=Lq.next().value;switch(mm){case "type":_.Wj(Yr,1,QSc[Zn])}}_.Jj(b,6,_.VL,Yr);break;case "permissionChange":for(var xl=
new _.dMc,nm=_.m(Object.entries(h)),Jp=nm.next();!Jp.done;Jp=nm.next()){var Rl=_.m(Jp.value),Wk=Rl.next().value,Lj=Rl.next().value;switch(Wk){case "addedPermissions":var Ic=ATc(Lj);_.Fj(xl,1,Ic);break;case "removedPermissions":var Mm=ATc(Lj);_.Fj(xl,2,Mm);break;case "resharedPermissions":var Kp=ATc(Lj);_.Fj(xl,3,Kp);break;case "otherActivePermissions":var Qo=ATc(Lj);_.Fj(xl,4,Qo)}}_.Jj(b,7,_.VL,xl);break;case "comment":for(var Sl=new _.xLc,Lp=_.m(Object.entries(h)),yl=Lp.next();!yl.done;yl=Lp.next()){var zl=
_.m(yl.value),$n=zl.next().value,Tl=zl.next().value;switch($n){case "post":for(var Mp=Tl,Ju=new _.uLc,Mq=_.m(Object.entries(Mp)),Ro=Mq.next();!Ro.done;Ro=Mq.next()){var Ku=_.m(Ro.value),Np=Ku.next().value,Zi=Ku.next().value;switch(Np){case "subtype":_.Wj(Ju,1,SSc[Zi])}}_.Jj(Sl,1,_.tLc,Ju);break;case "assignment":for(var vj=Tl,Op=new _.vLc,Ul=_.m(Object.entries(vj)),yh=Ul.next();!yh.done;yh=Ul.next()){var Xk=_.m(yh.value),ao=Xk.next().value,Kg=Xk.next().value;switch(ao){case "subtype":_.Wj(Op,1,TSc[Kg]);
break;case "assignedUser":var om=zM(Kg);_.I(Op,7,om)}}_.Jj(Sl,2,_.tLc,Op);break;case "suggestion":for(var Pp=Tl,Nq=new _.wLc,pm=_.m(Object.entries(Pp)),Yk=pm.next();!Yk.done;Yk=pm.next()){var Oq=_.m(Yk.value),$r=Oq.next().value,tw=Oq.next().value;switch($r){case "subtype":_.Wj(Nq,1,USc[tw])}}_.Jj(Sl,3,_.tLc,Nq);break;case "mentionedUsers":var Qp=yTc(Tl);_.Fj(Sl,7,Qp)}}_.Jj(b,8,_.VL,Sl);break;case "dlpChange":for(var dp=new _.QLc,ir=_.m(Object.entries(h)),Um=ir.next();!Um.done;Um=ir.next()){var Lt=
_.m(Um.value),ly=Lt.next().value,jr=Lt.next().value;switch(ly){case "type":_.Wj(dp,1,VSc[jr])}}_.Jj(b,9,_.VL,dp);break;case "view":for(var EA=new nMc,Yf=_.m(Object.entries(h)),Tw=Yf.next();!Tw.done;Tw=Yf.next()){var PC=_.m(Tw.value),gq=PC.next().value,QC=PC.next().value;switch(gq){case "type":_.Wj(EA,1,WSc[QC]);break;case "viewHistoryVisibility":for(var jN=QC,BF=new mMc,dJ=_.m(Object.entries(jN)),vs=dJ.next();!vs.done;vs=dJ.next()){var eJ=_.m(vs.value),CF=eJ.next().value,DF=eJ.next().value;switch(CF){case "domainPolicyVisibilityState":_.Wj(BF,
1,XSc[DF]);break;case "namedPartyState":_.Wj(BF,2,YSc[DF])}}_.I(EA,2,BF)}}_.Jj(b,10,_.VL,EA);break;case "download":for(var EF=new SLc,FF=_.m(Object.entries(h)),Uw=FF.next();!Uw.done;Uw=FF.next()){var kN=_.m(Uw.value),lN=kN.next().value,my=kN.next().value;switch(lN){case "type":_.Wj(EF,1,ZSc[my])}}_.Jj(b,11,_.VL,EF);break;case "reference":for(var Mt=new _.ZKc,GF=_.m(Object.entries(h)),HF=GF.next();!HF.done;HF=GF.next()){var mN=_.m(HF.value),IF=mN.next().value,fS=mN.next().value;switch(IF){case "type":_.Wj(Mt,
1,$Sc[fS]);break;case "context":for(var rZ=fS,nN=new YKc,oN=_.m(Object.entries(rZ)),pN=oN.next();!pN.done;pN=oN.next()){var gS=_.m(pN.value),hS=gS.next().value,U6=gS.next().value;switch(hS){case "description":nN.Vl(U6);break;case "url":_.Vj(nN,2,U6)}}_.I(Mt,2,nN)}}_.Jj(b,12,_.VL,Mt);break;case "settingsChange":for(var V6=new _.kMc,ny=_.m(Object.entries(h)),Uga=ny.next();!Uga.done;Uga=ny.next()){var Vga=_.m(Uga.value),fJ=Vga.next().value,Nt=Vga.next().value;switch(fJ){case "restrictionChanges":var iS=
BTc(Nt);_.Fj(V6,1,iS)}}_.Jj(b,13,_.VL,V6);break;case "approvalChange":for(var kr=new _.kLc,FA=_.m(Object.entries(h)),jS=FA.next();!jS.done;jS=FA.next()){var W6=_.m(jS.value),kS=W6.next().value,RC=W6.next().value;switch(kS){case "approvalName":_.Vj(kr,2,RC);break;case "approvalEventNames":_.Dj(kr,3,RC);break;case "initiator":var lS=zM(RC);_.I(kr,4,lS);break;case "reviewers":var lxa=yTc(RC);_.Fj(kr,5,lxa);break;case "status":kr.Ac(cTc[RC]);break;case "dueTime":var mxa=lTc(RC);_.I(kr,7,mxa);break;case "approvalRequested":var nxa=
kr,oxa=new lLc;_.Jj(nxa,8,_.QL,oxa);break;case "approvalCancelled":var X6=kr,pxa=new mLc;_.Jj(X6,9,_.QL,pxa);break;case "reviewerResponded":for(var qN=RC,mS=new _.jLc,rN=_.m(Object.entries(qN)),Y6=rN.next();!Y6.done;Y6=rN.next()){var Byb=_.m(Y6.value),B7=Byb.next().value,roc=Byb.next().value;switch(B7){case "reviewerDecision":_.Wj(mS,1,dTc[roc])}}_.Jj(kr,10,_.QL,mS);break;case "commentAdded":var soc=kr,Cyb=new nLc;_.Jj(soc,11,_.QL,Cyb);break;case "reviewersChanged":for(var vYa=RC,Eya=new pLc,Dyb=
_.m(Object.entries(vYa)),ty=Dyb.next();!ty.done;ty=Dyb.next()){var Fya=_.m(ty.value),toc=Fya.next().value,Eyb=Fya.next().value;switch(toc){case "reviewerChanges":var Fyb=CTc(Eyb);_.Fj(Eya,1,Fyb)}}_.Jj(kr,12,_.QL,Eya);break;case "dueTimeChanged":for(var Gyb=RC,Hyb=new rLc,Iyb=_.m(Object.entries(Gyb)),wYa=Iyb.next();!wYa.done;wYa=Iyb.next()){var xYa=_.m(wYa.value),Jyb=xYa.next().value,Kyb=xYa.next().value;switch(Jyb){case "oldDueTime":var Gya=lTc(Kyb);_.I(Hyb,1,Gya)}}_.Jj(kr,13,_.QL,Hyb)}}_.Jj(b,18,
_.VL,kr);break;case "lock":var uoc=new VLc;_.Jj(b,15,_.VL,uoc);break;case "unlock":var voc=new lMc;_.Jj(b,16,_.VL,voc);break;case "appliedLabelChange":for(var Lyb=new _.cLc,yYa=_.m(Object.entries(h)),Hya=yYa.next();!Hya.done;Hya=yYa.next()){var zYa=_.m(Hya.value),Iya=zYa.next().value,woc=zYa.next().value;switch(Iya){case "changes":var Myb=DTc(woc);_.Fj(Lyb,1,Myb)}}_.Jj(b,19,_.VL,Lyb);break;case "publishChange":for(var Jya=new _.fMc,Nyb=_.m(Object.entries(h)),AYa=Nyb.next();!AYa.done;AYa=Nyb.next()){var BYa=
_.m(AYa.value),Oyb=BYa.next().value,CYa=BYa.next().value;switch(Oyb){case "oldPublishState":var xoc=ETc(CYa);_.I(Jya,1,xoc);break;case "newPublishState":var Pyb=ETc(CYa);_.I(Jya,2,Pyb)}}_.Jj(b,20,_.VL,Jya);break;case "linkShareMetadataChange":for(var DYa=new _.ULc,EYa=_.m(Object.entries(h)),FYa=EYa.next();!FYa.done;FYa=EYa.next()){var GYa=_.m(FYa.value),Qyb=GYa.next().value,yoc=GYa.next().value;switch(Qyb){case "securityUpdateEnabled":_.Tj(DYa,1,yoc)}}_.Jj(b,21,_.VL,DYa)}}return b},zTc=function(a){var b=
new _.XLc;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":_.Wj(b,1,gTc[d])}}return b},ATc=function(a){return a.map(function(b){var c=new _.UL;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":_.Wj(c,1,RSc[e]);break;case "user":d=zM(e);_.Jj(c,2,_.TL,d);break;case "group":d=new _.SL;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":_.Vj(d,1,h);break;case "title":d.setTitle(h)}}_.Jj(c,3,_.TL,d);break;case "domain":d=xTc(e);_.Jj(c,4,_.TL,d);break;case "anyone":d=new bMc;_.Jj(c,5,_.TL,d);break;case "allowDiscovery":_.Tj(c,6,e)}}return c})},BTc=function(a){return a.map(function(b){var c=new _.jMc;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":_.Wj(c,
1,aTc[e]);break;case "newRestriction":_.Wj(c,2,bTc[e])}}return c})},CTc=function(a){return a.map(function(b){var c=new qLc;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=zM(e);_.I(c,3,d);break;case "addedReviewer":d=zM(e),_.I(c,4,d)}}return c})},DTc=function(a){return a.map(function(b){var c=new _.bLc;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":_.Vj(c,1,e);break;case "types":d=FTc(e),_.Dj(c,2,d)}}return c})},FTc=function(a){return a.map(function(b){return eTc[b]})},ETc=function(a){var b=new _.eMc;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":_.Wj(b,1,fTc[d]);break;case "signinRequired":_.Tj(b,2,d);break;case "publishedTime":c=lTc(d),_.I(b,3,c)}}return b};
var HTc=function(a){return(a.items||[]).map(function(b){return GTc(b)})},ITc=function(a,b){var c=new nNc;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=GTc(a),_.I(b,2,a));return b},GTc=function(a){_.xK(["drive#app"],a);var b=(new _.gL).Nb(a.id);b=_.w(b,3,a.useByDefault).$c(a.name);b=_.w(b,7,a.openUrlTemplate);b=fFc(eFc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.w(b,8,a.createUrl);b=_.w(b,9,a.createInFolderTemplate);b=_.w(b,10,a.objectType);b=_.w(b,11,a.supportsCreate);b=_.w(b,12,a.supportsImport);b=
_.w(b,13,a.supportsMultiOpen);b=_.w(b,27,a.supportsOfflineCreate);b=_.w(b,14,a.installed);b=_.w(b,15,a.authorized);b=_.w(b,16,a.productUrl);b=_.Dj(b,17,a.primaryFileExtensions);b=_.Dj(b,18,a.secondaryFileExtensions);b=_.w(b,19,a.shortDescription);b=_.w(b,20,a.longDescription);b=_.w(b,21,a.productId);b=_.w(b,22,a.removable);var c=JTc.get(a.type);b=_.w(b,23,c);b=_.w(b,25,a.hasAppData);b=_.w(b,26,Number(a.appDataQuotaBytesUsed));b=_.w(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.w(b,30,a.hasDriveWideScope);
b=_.w(b,31,a.driveSource);b=_.w(b,32,a.driveBranded);b=_.w(b,33,a.hidden);b=_.w(b,34,a.supportsMobileBrowser);b=_.w(b,35,a.supportsTeamDrives);b=_.w(b,36,a.hasGsmListing);c=a.icons||[];for(var d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.$Ec;l=_.w(l,3,k.iconUrl).setSize(k.size);k.category&&(k=KTc.get(k.category),_.w(l,1,k));h.call(f,l)}_.Fj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Dj(b,24,d);c=a.rankingInfo||{};a=new _.cFc;d=c.absoluteScore;null!=d&&
_.w(a,1,Number(d));d=LTc(c.mimeTypeScores||[]);_.Fj(a,2,d);c=LTc(c.fileExtensionScores||[]);_.Fj(a,3,c);_.I(b,29,a);return b},LTc=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new _.aFc;c=_.w(d,1,c);return _.w(c,2,Number(b))})},JTc=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),KTc=new Map([["application",1],["document",2],["documentShared",3]]);
var NTc=function(a){var b=new COc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.ZL).Nb(c.id).setTitle(c.title);d=_.w(d,3,_.yK(c.updateTime));var e=MTc.get(c.backupSource);d=_.w(d,4,e);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.yK(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.ez())e=new yMc,e=_.w(e,1,c.whatsappOngoingBackupEnabled),c=_.w(e,2,c.whatsappPhoneNumber),_.I(d,6,c);else if(2===d.ez()){e=Number(c.deviceAndroidId);var f=new _.xMc;
f=_.w(f,1,c.deviceName);f=_.w(f,2,c.deviceModelName);c=_.w(f,3,c.shouldIncludeSpecialSyncItems);c=_.w(c,4,isNaN(e)?void 0:e);_.I(d,7,c)}return d});_.Fj(b,2,a);return b},PTc=function(a){var b=new yOc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.$L).Nb(c.id);var e=OTc.get(c.type);d=_.w(d,1,e).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.zMc(d.setSize(c.size?Number(c.size):void 0),_.yK(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).Vl(c.description);return _.w(d,9,c.ongoingSyncEnabled)});
_.Fj(b,1,a);return b},MTc=new Map([["BACKUP_SOURCE_UNSPECIFIED",0],["BACKUP_SOURCE_WHATSAPP",1],["BACKUP_SOURCE_ANDROID",2]]),OTc=new Map([["TYPE_UNSPECIFIED",0],["TYPE_UNSPECIFIED",0],["TYPE_APP",1],["TYPE_SYNC_CALENDAR",2],["TYPE_SYNC_CONTACTS",3],["TYPE_SYNC_PHOTOS_AND_VIDEOS",4],["TYPE_CALL_HISTORY",5],["TYPE_DEVICE_SETTINGS",6],["TYPE_SMS",7],["TYPE_MMS",8]]);
var QTc=function(a,b){this.H=a;this.O=b};
var RTc=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),STc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=(new _.Gk).Nb(d);c&&(_.$F(d.setTitle(c.title),c.mimeType),c.userCapabilities&&_.NJ(d,_.fyc(c.userCapabilities)));_.ZJ(b).includes(19)&&_.w(d,44,!0);mJc(a,d,_.ZJ(b));_.euc(d,4);return d},VTc=function(a,b,c){for(var d=[],e=[],f={},h=_.m(c.item||[]),k=h.next();!k.done;f={Fea:f.Fea},k=h.next()){var l=k.value;if(l.person){f.Fea=l.itemId;k=TTc(l.person).Nb(f.Fea);var p={};l=_.m(l.childItem||[]);for(var q=
l.next();!q.done;p={Xqa:p.Xqa},q=l.next()){var r=q.value;e.some(function(v){return function(z){return z.getId()===v.Fea}}(f))||e.push(k);p.Xqa=r.itemId;q=d.find(function(v){return function(z){return z.getId()===v.Xqa}}(p));void 0===q&&(q=STc(a,b,r),d.push(q));r=FCc(ECc(DCc(new _.Wna,k.clone()),UTc(r)),r.url);_.Mj(q,107,r,_.Wna,void 0)}}}return tEc((new _.hK).KA(d),e).lP(c.suggestionSessionId)},TTc=function(a){return _.Qtc((new _.tk).Nb(a.id).$c(a.displayName),a.emailAddress).Jn(a.photoUrl)},fUc=function(a){var b=
a.action;return b?b.map(function(c){var d=new _.yna,e=WTc(c);e&&_.Jj(d,2,_.xk,e);(e=XTc(c))&&tBc(d,e);(e=YTc(c))&&_.Jj(d,4,_.xk,e);(e=ZTc(c))&&_.Jj(d,5,_.xk,e);(e=$Tc(c))&&_.Jj(d,6,_.xk,e);(e=aUc(c))&&_.Jj(d,7,_.xk,e);(e=bUc(c))&&_.Jj(d,8,_.xk,e);(e=cUc(c))&&_.Jj(d,9,_.xk,e);(e=dUc(c))&&_.Jj(d,10,_.xk,e);(c=eUc(c))&&_.Jj(d,11,_.xk,c);return d}):(a=AM(a),a=bCc([a]),[tBc(new _.yna,a)])},hUc=function(a){return(a.justification||[]).map(function(b){return gUc(b)})},AM=function(a){return(a=a.justification)?
gUc(a):null},gUc=function(a){var b=pBc(new _.wk,iUc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=TTc(c),_.Jj(b,3,_.xna,c),qBc(b,[c])):d?(c=(d.person||[]).map(function(e){return TTc(e)}),d=oBc(c),_.Jj(b,4,_.xna,d),qBc(b,c)):(c=(a.person||[]).map(function(e){return TTc(e)}),c.length&&(d=oBc(c),_.Jj(b,4,_.xna,d),qBc(b,c)));_.w(b,5,_.yK(a.eventTime));rBc(b,iUc(a.justificationDescription));sBc(b,iUc(a.unstructuredJustificationDescription));return b},iUc=function(a){if(!a)return null;a=a.textSegment||
[];return lBc(new _.qk,a.map(function(b){var c=(new _.rk).eh(b.text),d=b.link;if(d){var e=new _.sk;d=_.w(e,1,d.url)}else d=null;c=_.I(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},WTc=function(a){a=a.documentDocosAction;if(!a)return null;var b=RBc(new _.Gna,AM(a));QBc(b,(a.subAction||[]).map(function(c){var d=new _.Hna;c.reply?(c=new _.Ana,_.Jj(d,1,_.yk,c)):c.resolve?(c=new BBc,_.Jj(d,2,_.yk,c)):c.reassign?(c=new zBc,_.Jj(d,3,_.yk,c)):c.acceptSuggestion?(c=new uBc,_.Jj(d,4,_.yk,c)):c.rejectSuggestion?
(c=new ABc,_.Jj(d,5,_.yk,c)):c.openThread&&(c=new _.zna,_.Jj(d,6,_.yk,c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);SBc(b,iUc(a.anchorText));return b},YTc=function(a){a=a.documentShareAction;if(!a)return null;var b=WBc(new _.Jna,AM(a));VBc(b,(a.subAction||[]).map(function(c){var d=new XBc;c.suggestedShare?(c=new FBc,_.Jj(d,1,yCc,c)):c.responseToRequest&&(c=new CBc,_.Jj(d,2,yCc,c));return d}));TBc(b,(a.sharee||[]).map(function(c){return TTc(c)}));UBc(b,RTc.get(a.shareeRole));return b},
XTc=function(a){a=a.documentViewAction;if(!a)return null;var b=bCc(hUc(a));aCc(b,(a.subAction||[]).map(function(c){var d=new dCc;c.open?d.Nf(new wBc):c.reviewEdits&&(c=new DBc,_.Jj(d,2,cCc,c));return d}));return b},ZTc=function(a){a=a.emailViewAction;if(!a)return null;var b=nCc(new lCc,AM(a));mCc(b,(a.subAction||[]).map(function(c){var d=new pCc;c.open&&d.Nf(new xBc);return d}));return b},$Tc=function(a){a=a.calendarEventAction;if(!a)return null;var b=LBc(KBc(JBc(new _.Cna,a.eventId),AM(a)),a.guestCount);
IBc(b,(a.subAction||[]).map(function(c){var d=new MBc;if(c.viewCalendarEvent){var e=new GBc;_.Jj(d,1,wCc,e)}c.shareWithAttendees&&(e=new EBc,_.Jj(d,2,wCc,e));c.present&&(e=new yBc,_.Jj(d,3,wCc,e));c.openDocument&&(c=new wBc,_.Jj(d,4,wCc,c));return d}));return b},aUc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=iCc(hCc(new fCc,a.workspaceId),AM(a));gCc(b,(a.subAction||[]).map(function(c){var d=new jCc;c.addToWorkspace&&(c=new vBc,_.Jj(d,1,ACc,c));return d}));return b},bUc=function(a){a=
a.documentTopicAction;if(!a)return null;var b=ZBc(new _.Lna,AM(a));YBc(b,(a.subAction||[]).map(function(c){var d=new $Bc;c.openDocument&&(c=new wBc,_.Jj(d,1,zCc,c));return d}));return b},cUc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=uCc(new _.Rna,AM(a));tCc(b,(a.subAction||[]).map(function(c){var d=new vCc;c.openDocument&&(c=new wBc,_.Jj(d,1,CCc,c));return d}));return b},dUc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=OBc(new _.Ena,AM(a));NBc(b,(a.subAction||
[]).map(function(c){var d=new PBc;c.openDocument&&(c=new wBc,_.Jj(d,1,xCc,c));return d}));return b},eUc=function(a){a=a.formResponseAction;if(!a)return null;var b=rCc(new _.Pna,hUc(a));qCc(b,(a.subAction||[]).map(function(c){var d=new sCc;c.openDocument?(c=new wBc,_.Jj(d,1,BCc,c)):c.viewResponses&&(c=new HBc,_.Jj(d,2,BCc,c));return d}));return b},UTc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var jUc=function(a,b){this.H=a;this.O=b},lUc=function(a,b,c){_.xK(["drive#categoryMetadataList"],c);var d=new wL,e=Object.values(c.categoryMetadata||{});WGc(d,e.map(function(f){return kUc(a,f,b.qc())}));d.Ac(1);return new _.kK(d,OKc(c))},nUc=function(a,b){var c=new gM;KNc(c,(b.categories||[]).map(function(d){return mUc(a,d)}));c.Ac(1);return new yGc(c,OKc(b))},kUc=function(a,b,c){_.xK(["drive#categoryMetadata"],b);c=UGc((new vL).$c(b.categoryName),c);b=Object.values(b.attributeValues||[]);TGc(c,b.map(function(d){return oUc(a,
d)}).filter(function(d){return null!==d}));return c},mUc=function(a,b){var c,d=INc(yNc(ENc(DNc(CNc(xNc(wNc((new fM).$c(b.name),b.categoryName),b.latestName).setTitle(b.title).Vl(b.description),_.yK(b.createTime)),_.yK(b.updateTime)),_.yK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){a:{var f=e.type;var h=(new EMc).Nb(e.id);h=_.w(h,2,e.queryGuid);h=_.w(h,3,e.helpText);h=_.w(h,4,e.displayName);if(e.attributeDisplayHints){var k=pUc(e.attributeDisplayHints);_.I(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new FMc;l=_.w(l,1,k.canSearch);k=_.w(l,2,k.canWrite);_.I(h,6,k)}if(f&&(_.w(h,7,qUc[f]),e=e[rUc(f)+"Options"],!sUc(a,h,f,e))){f=null;break a}f=h}return f}).filter(function(e){return null!==e})),b.customer);b.createdBy&&zNc(d,tUc(b.createdBy));b.FTb&&ANc(d,tUc(b.FTb));b.publishedBy&&BNc(d,tUc(b.publishedBy));b.displayHints&&FNc(d,pUc(b.displayHints));b.capabilities&&HNc(d,uUc(b.capabilities));b.learnMoreUri&&_.w(d,15,b.learnMoreUri);return d},oUc=function(a,b){_.xK(["drive#categoryAttributeValue"],
b);var c=(new dL).Nb(b.id);if(b.userScoped)b=Object.values(b.userScoped),QEc(c,b.map(function(d){_.xK(["drive#userScopedAttributeValue"],d);var e=new NEc,f=_.zK(a.H,d.scopedUser);e=_.I(e,1,f);return a.Hb(e,d)?e:null}).filter(function(d){return null!==d})),c.MA(9);else if(!a.Hb(c,b))return null;return c},pUc=function(a){var b=new DMc;b=_.w(b,1,a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},uUc=function(a){var b=new GNc;b=_.w(b,1,a.canSearch);b=_.w(b,
2,a.canApply);b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},sUc=function(a,b,c,d){return vUc(a,function(){wUc(a)[c](b,d)},c,b)},xUc=function(a){a=void 0===a?{}:a;var b=new KMc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},zUc=function(a){var b=new JMc;PMc(b,(a.choices||[]).map(function(c){var d=new OMc;d=_.w(d,1,c.label).Hb(c.value);c.description&&d.Vl(c.description);if(c.capabilities){var e=c.capabilities;var f=new QMc;f=_.w(f,1,e.canSearch);e=_.w(f,2,e.canSelect);_.I(d,
3,e)}c.displayHints&&(c=c.displayHints,e=new RMc,e=_.w(e,1,c.disabled),e=_.w(e,2,c.hidden),c.badgePriority&&_.w(e,5,c.badgePriority),c.badgeColors&&(f=yUc(c.badgeColors),_.I(e,3,f)),c.darkBadgeColors&&(c=yUc(c.darkBadgeColors),_.I(e,4,c)),_.I(d,4,e));return d}));return b},yUc=function(a){var b=new CMc;var c=AUc(a.backgroundColor);b=_.I(b,1,c);c=AUc(a.foregroundColor);b=_.I(b,2,c);a=AUc(a.soloColor);return _.I(b,3,a)},AUc=function(a){var b=new _.IC;b=_.yb(b,1,a.red,0);b=_.yb(b,2,a.green,0);b=_.yb(b,
3,a.blue,0);a.alpha&&(a=(new jDc).Hb(a.alpha),_.I(b,4,a));return b},BUc=function(a){var b=new TMc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,Number(a.minValue));return _.w(b,3,Number(a.maxValue))},CUc=function(a){var b=(new _.Qoa).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)};jUc.prototype.Hb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.MA(qUc[d]);return vUc(this,function(){DUc(c)[d](a,b[b.valueType])},b.valueType)};
var vUc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof VMc))return QDc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},tUc=function(a){return _.Otc(1).Nb(a.personName.split("/")[1])},rUc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},wUc=function(a){return{BOOLEAN:function(b,c){var d=b.o4a;var e=new MMc;e=_.w(e,1,c.trueLabel);c=_.w(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.PMa(xUc(c))},TEXT_LIST:function(b,c){var d=b.n5a;var e=new SMc;e=_.w(e,1,c.maxEntries);c=xUc(c.options);c=_.I(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new HMc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Jj(b,10,aM,c)},SELECTION:function(b,c){return b.$4a(zUc(c))},SELECTION_LIST:function(b,c){var d=b.Z4a;var e=new IMc;e=_.w(e,1,c.maxEntries);c=zUc(c.options);c=_.I(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.B4a(BUc(c))},INTEGER_LIST:function(b,
c){var d=b.A4a;var e=new UMc;e=_.w(e,1,c.maxEntries);c=BUc(c.options);c=_.I(e,2,c);return d.call(b,c)},USER:function(b){return b.s5a(new WMc)},USER_LIST:function(b,c){var d=b.QMa,e=new LMc;c=_.w(e,1,c.maxEntries);e=new WMc;c=_.I(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.OMa;var e=new GMc;e=_.w(e,4,c.dateFormat);var f=CUc(c.minValue);e=_.I(e,2,f);c=CUc(c.maxValue);c=_.I(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new VMc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.w(d,2,qUc[e]);var f=rUc(e)+"Options";sUc(a,d,e,c[f]);return _.Jj(b,16,aM,d)}}},DUc=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.$oa(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.Woa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Moa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.zK(a.H,c))},USER_LIST:function(b,c){PEc(b,c.map(function(d){return _.zK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},qUc={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 FUc=function(a){a=a.personResponse||[];return eHc(new dHc,a.map(function(b){var c=b.person;b=aHc(new xL,b.personId);var d=b.$c;var e=c;e=void 0===e?{}:e;var f,h;e=e.metadata;e=null!==(h=null===(f=null===e||void 0===e?void 0:e.bestDisplayName)||void 0===f?void 0:f.displayName)&&void 0!==h?h:"";f=bHc(d.call(b,e),EUc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;h=new $Gc;c=_.w(h,1,c&&!c.isDefault?c.url:null);return _.I(f,4,c)}))},EUc=function(a){a=void 0===a?{}:a;var b;a=(a.email||[]).find(function(c){return"SIGNUP_EMAIL"===
c.classification&&!0===c.metadata.primary});return null!==(b=null===a||void 0===a?void 0:a.value)&&void 0!==b?b:""};
var GUc=function(a){this.H=a},IUc=function(a,b){_.xK(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return HUc(a,c)})},HUc=function(a,b){_.xK(["drive#teamDrive","drive#drive"],b);var c=new _.aoa,d=b.colorRgb;d?(d=d.substring(1),d=/^[a-fA-F0-9]+$/.test(d)?parseInt(d,16):0):d=0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);_.w(c,7,b.hidden);_.w(c,9,b.removeSecureLinkUpdateForAllFiles);
(d=b.categoryReferences)&&Izc(c,d.map(function(e){_.xK(["drive#driveCategoryReference"],e);var f=new _.Ek;return _.w(f,1,e.category)}));c=_.luc(_.juc(_.iuc(_.euc(_.fuc(Hzc(_.$F((new _.Gk).Nb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.Stc(_.fyc(b.capabilities),!0),_.NJ(c,d));b.permissionsSummary&&_.guc(c,nEc(a.H,b.permissionsSummary));b.restrictions&&Kzc(c,JUc(b.restrictions));return c},
JUc=function(a){var b=new JCc;b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);"teamMembersOnly"in a&&_.w(b,4,a.teamMembersOnly);return b};
var KUc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},YAc=_.db(KUc);
var LUc=function(a){_.xK(["drive#setting"],a);var b=new _.gc;b=_.w(b,2,a.key);b=_.w(b,1,a.namespace?KUc[a.namespace]:void 0);return _.qBa(new _.Zo,b).Hb(a.value)};
var NUc=function(a){_.xK(["drive#workspaceList"],a);var b=a.items||[];b=gHc(new yL,b.map(function(c){return MUc(c)}));return new _.nK(b,OKc(a))},MUc=function(a){_.xK(["drive#workspace"],a);var b=(new _.UA).Nb(a.id).setTitle(a.title);b=_.w(b,3,_.yK(a.createdDate));return _.w(b,4,_.yK(a.modifiedDate)).Id(a.state?OUc[a.state]:void 0)},PUc=function(a,b,c){var d=c.item||[];return _.nzc(_.mzc(new _.FK,d.map(function(e){return STc(a,b,e)})),c.suggestionSessionId)},RUc=function(a,b,c){var d=c.item||[];return nFc(mFc(new iL,
d.map(function(e){return QUc(a,b,e)})),c.suggestionSessionId)},QUc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return kFc(iFc(jFc(hFc(new hL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return STc(a,b,f)})),AM(c))},SUc=function(a){var b=new _.KEc;a.kind&&(a=MUc(a),_.I(b,2,a));b.Ac(1);return b},OUc={active:1,archived:2};
var UAc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var TUc=function(a,b,c,d){_.Eyc.call(this,b);this.Gg=a;this.ma=c;this.O=d;this.W=null;this.ta=new FSc(this.V,b);this.H=new GUc(this.lF);this.wa=new QTc(this.lF,this.H)};_.K(TUc,_.Eyc);var UUc=function(a){a.W||(a.W=new jUc(a.V,a.ma));return a.W};
TUc.prototype.ha=function(a,b){if(a instanceof _.KI)var c=_.myc(_.Iyc(a));else{if(a instanceof _.LI)var d=_.AK(this,a,b);else{if(a instanceof _.ptc)var e=VUc(this,a.request,b);else{if(a instanceof _.MI)var f=_.AK(this,a,b);else{if(a instanceof _.OI){if(!b.json)throw _.BK();var h=BMc((new AMc).Ac(1),HUc(this.H,b.json))}else{if(a instanceof _.NI)var k=_.AK(this,a,b);else{if(a instanceof _.dK)var l=new VEc;else{if(a instanceof _.QI)var p=WUc(a,b);else{if(a instanceof _.RI)var q=ITc(void 0,a.Jh());else{if(a instanceof
_.SI)var r=new DOc;else{if(a instanceof _.TI)var v=_.myc(_.Iyc(a));else{if(a instanceof _.UI)var z=new eM;else{if(a instanceof _.VI)var A=_.myc(_.Iyc(a));else{if(a instanceof _.WI)var C=_.myc(_.Iyc(a));else{if(a instanceof _.fD){var G=new oNc,H=a.getKey();var L=_.I(G,4,H)}else{if(a instanceof _.XI)var O=WUc(a,b);else{if(a instanceof _.$I)var T=_.myc(_.Iyc(a));else{if(a instanceof _.mtc){if(!b.json)throw _.BK();var U=new fPc(b.json.exportJob.id)}else{if(a instanceof _.bJ){if(!b.json)throw _.BK();var ca=
b.json,ba=new jNc,ma=GTc(ca);var ta=_.I(ba,2,ma).Ac(1)}else{if(a instanceof _.cJ)var za=XUc(a,b);else{if(a instanceof _.gJ){if(!b.json)throw _.BK();var Na=(new eM).Ac(1),ob=_.pyc(this.lF,b.json);var Wa=_.I(Na,2,ob)}else{if(a instanceof _.nI)a:{if(!b.json)throw _.BK();if(a instanceof _.nI){var Ub=a.ld();if(Ub&&_.hJ(Ub)){for(var Ac=this.O,Mc=this.Gg,xd=b.json,Ae=[],oe=_.m(xd.item||[]),Vg=oe.next();!Vg.done;Vg=oe.next()){var ee=Vg.value;if(ee.driveItem){var Db=new _.Zna,Qe=_.w(Db,2,UTc(ee));_.Q(Ub,74,
!1)?_.w(Qe,4,!0):_.w(Qe,3,!0);var sj=STc(Ac,Mc,ee);var bf=_.I(sj,100,Qe);Ae.push(bf)}}var tj=(new _.VA).KA(Ae).lP(xd.suggestionSessionId);var dk=_.Jwc(new _.rK,tj);break a}if(Ub&&_.iJ(Ub)){dk=VTc(this.O,this.Gg,b.json);break a}if(Ub&&_.jJ(Ub)){for(var Pg=this.O,Ql=this.Gg,ui=b.json,Fe=[],Pf=_.m(ui.item||[]),Kj=Pf.next();!Kj.done;Kj=Pf.next()){var Di=Kj.value;if(Di.driveItem){var uj=STc(Pg,Ql,Di),Vk=fUc(Di);var Ip=_.Fj(uj,117,Vk);Fe.push(Ip)}}var Lm=(new _.VA).KA(Fe).lP(ui.suggestionSessionId);dk=
_.Jwc(new _.rK,Lm);break a}}dk=_.jyc(this.lF,b.json,b.headers)}else{if(a instanceof _.kJ){if(!b.json)throw _.BK();var Kq=PTc(b.json)}else{if(a instanceof _.lJ){if(!b.json)throw _.BK();var Yr=b.json;_.xK(["drive#appList"],Yr);var Zr=new uL,Yh=HTc(Yr);var Lq=_.Fj(Zr,2,Yh);var mm=_.Dj(Lq,4,Yr.defaultAppIds).Ac(1)}else{if(a instanceof _.ntc){if(!b.json)throw _.BK();var Zn=NTc(b.json)}else{if(a instanceof _.zI)var xl=YUc(this,b);else{if(a instanceof _.mJ){if(!b.json)throw _.BK();var nm=new mNc,Jp=mEc(this.lF,
b.json);var Rl=_.I(nm,1,Jp);var Wk=_.w(Rl,2,OKc(b.json))}else{if(a instanceof _.nJ){if(!b.json)throw _.BK();var Lj=this.lF,Ic=b.json,Mm=new jEc;_.xK(["drive#revisionList"],Ic);for(var Kp=[],Qo=Ic.items||[],Sl=0;Sl<Qo.length;Sl++){var Lp=_.kyc(Lj,Qo[Sl]);Kp.push(Lp)}var yl=_.Fj(Mm,2,Kp)}else{if(a instanceof _.oJ)var zl=_.AK(this,a,b);else{if(a instanceof _.DI)var $n=ZUc(a,b);else{if(a instanceof _.qJ){if(!b.json)throw _.BK();var Tl=FUc(b.json)}else{if(a instanceof _.vtc){if(!b.json)throw _.BK();var Mp=
nUc(UUc(this),b.json)}else{if(a instanceof _.SF){if(!b.json)throw _.BK();var Ju=UUc(this),Mq=b.json,Ro=new LNc,Ku=mUc(Ju,Mq);var Np=_.I(Ro,2,Ku).Ac(1)}else{if(a instanceof _.rJ){if(!b.json)throw _.BK();var Zi=b.json;_.xK(["drive#remainingCount"],Zi);var vj=new MNc,Op=Zi.nextPageToken;null!=Op&&_.w(vj,2,Number(Op));_.w(vj,1,Number(Zi.remainingCount));var Ul=vj}else{if(a instanceof _.YF){if(!b.json)throw _.BK();var yh=(new _.VA).KA([HUc(this.H,b.json)])}else{if(a instanceof _.BJ){if(!b.json)throw _.BK();
var Xk=(new _.VA).KA(IUc(this.H,b.json)),ao=_.Jwc(new _.rK,Xk);var Kg=_.w(ao,3,OKc(b.json))}else{if(a instanceof _.vJ)var om=XUc(a,b);else{if(a instanceof _.wJ)var Pp=VUc(this,a,b);else{if(a instanceof _.xI)var Nq=_.AK(this,a,b);else{if(a instanceof _.xJ)var pm=_.AK(this,a,b);else{if(a instanceof _.yJ)var Yk=$Uc(this,b);else{if(a instanceof _.gD){if(!b.json)throw _.BK();var Oq=LUc(b.json),$r=new oNc;var tw=_.I($r,3,Oq);var Qp=Oq.getKey();var dp=_.I(tw,4,Qp)}else{if(a instanceof _.zJ)var ir=WUc(a,
b);else{if(a instanceof _.ZH){if(!b.json)throw _.BK();var Um=JSc(this.ta,b.json)}else{if(a instanceof _.ZF){if(!b.json)throw _.BK();var Lt=MUc(b.json),ly=new _.iK;ly.MT().set(Lt.getId(),Lt);var jr=ly}else{if(a instanceof _.otc){if(!b.json)throw _.BK();var EA=b.json,Yf;null!==(Yf=_.FJ(this.ka))&&void 0!==Yf&&_.Q(Yf,21,!1)&&(OSc.HIERARCHY_RECONCILIATION=3,gTc.UNMOVABLE_ITEM_REPARENTED=3);for(var Tw=new IOc,PC=_.m(Object.entries(EA)),gq=PC.next();!gq.done;gq=PC.next()){var QC=_.m(gq.value),jN=QC.next().value,
BF=QC.next().value;switch(jN){case "nextPageToken":_.Vj(Tw,2,BF);break;case "activities":var dJ=nTc(BF);_.Fj(Tw,1,dJ)}}var vs=Tw}else{if(a instanceof _.qtc)var eJ=$Uc(this,b);else{if("undefined"!=typeof _.utc&&a instanceof _.utc)var CF=YUc(this,b);else{if(a instanceof _.rtc){if(!b.json)throw _.BK();var DF=new ePc}else{if(a instanceof _.stc){if(!b.json)throw _.BK();var EF=XAc(b)}else{if(a instanceof _.eD){if(!b.json)throw _.BK();var FF=b.json,Uw=new _.Nz;_.xK(["drive#settingList"],FF);for(var kN=[],
lN=FF.items||[],my=0;my<lN.length;my++){var Mt=LUc(lN[my]);Mt&&kN.push(Mt)}var GF=_.ekb(Uw,kN)}else{if(a instanceof _.Pz){if(!b.json)throw _.BK();var HF=RUc(this.O,this.Gg,b.json).Ac(1)}else{if(a instanceof _.XF){if(!b.json)throw _.BK();var mN=PUc(this.O,this.Gg,b.json)}else{if(a instanceof _.Atc){if(!b.json)throw _.BK();var IF=b.json;_.xK(["drive#teamDrive"],IF);var fS=IF.recursiveFolderCount,rZ=IF.recursiveFileCount,nN=new bNc;var oN=_.w(nN,1,rZ);var pN=_.w(oN,2,fS)}else{if(a instanceof _.ztc)var gS=
aVc(b);else{if(a instanceof _.Ctc){if(!b.json)throw _.BK();var hS=NUc(b.json)}else hS=a instanceof NK?$Uc(this,b):null;gS=hS}pN=gS}mN=pN}HF=mN}GF=HF}EF=GF}DF=EF}CF=DF}eJ=CF}vs=eJ}jr=vs}Um=jr}ir=Um}dp=ir}Yk=dp}pm=Yk}Nq=pm}Pp=Nq}om=Pp}Kg=om}yh=Kg}Ul=yh}Np=Ul}Mp=Np}Tl=Mp}$n=Tl}zl=$n}yl=zl}Wk=yl}xl=Wk}Zn=xl}mm=Zn}Kq=mm}dk=Kq}Wa=dk}za=Wa}ta=za}U=ta}T=U}O=T}L=O}C=L}A=C}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var WUc=function(a,b){if(!b.json){if(a instanceof _.XI)return SUc({});throw _.BK();}return SUc(b.json)},$Uc=function(a,b){if(!b.json)throw _.BK();a=HUc(a.H,b.json);return(new _.DJ).Ac(1).setItem(a)},VUc=function(a,b,c){if(!c.json)throw _.BK();return lUc(UUc(a),b,c.json)},XUc=function(a,b){if(!b.json)throw _.BK();return ITc(b.json,a.Jh())},YUc=function(a,b){if(!b.json)throw _.BK();a=a.wa;var c=b.json;_.xK(["drive#about","drive#changeList"],c);b=new YGc;var d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));
if("drive#changeList"===c.kind){d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));_.xK(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.xK(["drive#change"],h);var k=new _.rI;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.Lsc(k,h.teamDriveId),_.sI(k,h.teamDriveId)):_.sI(k,h.fileId);h.file?k.setItem(_.hyc(f.H,h.file)):h.teamDrive&&k.setItem(HUc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.BI(k);d.push(k)}_.Fj(b,4,d)}return b},aVc=function(a){var b,c;if(!a.json)throw _.BK();
a=a.json;var d=a.result&&a.result.status;d=d&&bVc[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 cOc(bOc(aOc(new _.$Nc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.YNc;p=_.w(p,1,l.unmovableReason);return _.w(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return XNc(WNc(VNc(UNc(new hM,OKc(a)),a.processedFileCount).Ac(d),a.result&&a.result.validationToken),
e)},ZUc=function(a,b){var c=new FOc;if(_.ie(a,6).length){var d=[];Wzc(_.ie(a,6),b.headers).forEach(function(e,f){var h=new _.Ssc;e=_.w(h,1,f).Hb(e);d.push(e)});_.Fj(c,1,d)}GOc(c,b.json?JSON.stringify(b.json):b.text);return c},bVc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var dVc=function(a){var b=new _.Fo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(cVc[a]);_.aK(b,c.join(" "))}return b.toString()},eVc={},cVc=(eVc[1]="active",eVc[2]="archived",eVc);
var fVc=function(a,b,c,d){_.CK.call(this,b,c,a.NMa,d);this.ma=a;this.ha=new dGc(_.ZJ(c),b)};_.K(fVc,_.CK);
fVc.prototype.V=function(a,b,c){var d=this,e,f;try{return _.CK.prototype.V.call(this,a,b,c)}catch(U){}var h=0,k={},l="GET",p={},q=!1,r=!1;if(a instanceof _.LI){l="POST";var v="admin/files/"+a.getId()+"/migrateToTeamDrive";_.P(a,3)&&(p.useDomainAdminAccess=!0);p.fields="kind,id,parentId,teamDriveId";p.fileId=a.getId();_.yj(a,4)&&(p.preFlightValidationToken=_.B(a,4));var z=PKc(a);k["content-type"]="application/json";q=r=!0;_.HJ(this.H,[],[a.getId(),a.xk()],this.O,k)}else if(a instanceof _.MI){l="POST";
v="files/"+a.qc()+"/authorize";p.appId=a.Jh();_.P(a,3)&&(p.propagate=!0);var A=a.se();r=!0;_.YJ(p);_.HJ(this.H,[],[a.qc()],this.O,k)}else if(a instanceof NK)v="drives/"+a.getId(),l="PUT",z={},z=(z.removeSecureLinkUpdateForAllFiles=_.Q(a,2,!1),z),k["content-type"]="application/json",p.fields=qL(this.H,[],!0),A=a.se(),r=!0;else if(a instanceof _.qtc)l="POST",v="teamdrives/"+a.requestId,p.fields=qL(this.H),z={},z=(z.name=a.request.getTitle(),z),k["content-type"]="application/json",A=a.request.se(),r=
!0;else if(a instanceof _.QI)l="POST",v="workspaces",p.fields="kind,id,title,createdDate,modifiedDate,state",z=SKc(a),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.NI)l="POST",v="files/"+a.getId()+"/copy",p.fields=_.dtc({fields:this.Lg(c),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)}),p.convert=_.Q(a,4,!1),z=RKc(a),k["content-type"]="application/json",A=a.se(),a=_.ie(a,3).concat([a.getId()]),_.HJ(this.H,[],a,this.O,k),r=!0,_.YJ(p),_.Uyc(this.H,p);else if(a instanceof _.RI)l="DELETE",
v="apps/"+a.Jh(),p.appId=a.Jh(),p.deleteAppData=!!_.P(a,2),A=a.se(),r=!0;else if(a instanceof _.SI)l="DELETE",v="backups/"+a.getId(),h=9;else if(a instanceof _.TI)l="DELETE",v="files/"+a.getId(),A=a.se(),r=!0,_.YJ(p),_.Uyc(this.H,p),_.HJ(this.H,[],[a.getId()],this.O,k);else if(a instanceof _.UI)l="DELETE",v="files/"+a.qc()+"/permissions/"+_.B(a,2),A=a.se(),r=!0,_.YJ(p);else if(a instanceof _.VI)l="DELETE",v="files/"+a.qc()+"/revisions/"+_.B(a,2),A=a.se(),r=!0,_.HJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof
_.WI)l="DELETE",v="teamdrives/"+a.getId(),A=a.se(),r=!0;else if(a instanceof _.fD)l="DELETE",A=a.getKey(),v="settings/"+_.B(A,2),_.$o(A)&&(p.namespace=YAc[_.$o(A)]),A=a.se(),r=!0;else if(a instanceof _.XI)l="DELETE",v="workspaces/"+a.getId(),A=a.se(),r=!0;else if(a instanceof _.$I)l="DELETE",v="files/trash",A=a.ld().se(),r=!0,_.Uyc(this.H,p);else if(a instanceof _.bJ)v="apps/"+a.Jh(),A=a.se(),r=!0,p.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.kJ)v="backups/"+a.getId()+"/items",h=9,p.languageCode=TK(_.YH(this.H));else if(a instanceof _.cJ)l="POST",v="apps",p.appId=a.Jh(),A=a.se(),r=!0;else if(a instanceof _.gJ)l="POST",v="files/"+a.qc()+"/permissions",p.fields=_.mI(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",p.emailMessage=
_.B(a,5)||"",p.sendNotificationEmail=!_.Q(a,6,!1),z={},1==a.kf()?z.role="owner":3==a.kf()?z.role="writer":4==a.kf()?(z.role="reader",z.additionalRoles=["commenter"]):2==a.kf()&&(z.role="reader"),1==a.getType()?z.type="user":2==a.getType()?z.type="group":3==a.getType()?z.type="domain":4==a.getType()?z.type="anyone":5==a.getType()&&(z.type="audience"),a.Ya()&&(z.value=a.Ya()),z.withLink=!_.Q(a,8,!1),k["content-type"]="application/json",A=a.se(),r=!0,_.YJ(p);else if(a instanceof _.mtc)h=8,l="POST",v=
"/v1/exports",k["content-type"]="application/json",z=_.ie(a,1).map(function(U){if(_.Q(d.H,89,!1)){var ca=_.kwc(d.O,U);if(null!==ca)return{id:U,resource_key:{resource_key:ca}}}return{id:U}}),z={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:z,locale:null};else if(a instanceof _.nI||a instanceof _.dK||a instanceof _.Pz||a instanceof _.XF)if(b=a instanceof _.nI?a.ld():a,_.GJ(b)){h=10;l="POST";v="/v1/items";k["content-type"]="application/json";z={};var C=9==_.SJ(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",G={};G.applicationType=lGc(this.H);G.platformType=C;G.languageCode=TK(_.YH(this.H));G.timeZone=(new _.yt).n$();G.requestType="LIVE_REQUEST";a instanceof _.nI&&(C=a.getOptions())&&_.Q(C,10,!1)&&(G.requestType="BACKGROUND_REQUEST");if(b instanceof _.yf)if(_.hJ(b)){if(iGc(this.ha)){G.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.x(b,KCc,75))||void 0===e?void 0:_.x(e,LCc,1))||void 0===f?void 0:_.B(f,1))G.clientTags=G.clientTags||[],G.clientTags.push({name:a});this.Zf.O(106026)}else _.Q(b,
74,!1)?G.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":G.scenarioType="QUICK_ACCESS";2==_.QJ(b)&&(iGc(this.ha)||(G.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),z.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.ie(b,33)[0]});_.Dl(b).length&&(z.itemType=kGc(b))}else _.iJ(b)?G.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.jJ(b)&&(G.scenarioType="DRIVE_PRIORITY");else b instanceof _.dK?(v="/v1/userfeedback",z.userFeedback=_.Ab(b,_.SEc,1).map(function(U){var ca=_.x(U,_.fL,2),ba={},ma={};ma.feedbackType=
XEc[ca.getType()];ba.item=ma;ba.clientInfo=G;switch(U.getFeature()){case 1:G.scenarioType="DRIVE_PRIORITY";ma.itemId=ca.qc();break;case 3:G.scenarioType="QUICK_ACCESS";ma.itemId=ca.qc();break;case 4:G.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";ma.itemId=ca.qc();break;case 2:G.scenarioType="DRIVE_WORKSPACES",ma.itemId=ca.qc(),ma.childItem=_.Ab(ca,_.fL,3).map(function(ta){var za={};za.itemId=ta.qc();return za})}return ba})):b instanceof _.Pz?G.scenarioType="DRIVE_WORKSPACES":b instanceof _.XF?(G.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",z.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Dp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.P(b,5)}]):_.Xyc(a);b instanceof _.dK||(z.maxSuggestions=b.vi(),z.clientInfo=G)}else{A=b.se();r=!0;v="files";p.q=_.wvc(b);C=[];var H;(H=_.FJ(this.H))&&_.Q(H,4,!1)?(H=_.ya(this.Lg(c),this.Lg(c,b.H())),_.Fa(H)):H=_.Aa(this.Lg(c));var L=void 0,O=!1;0<_.Ab(b,_.ul,5).length&&(L=_.B(this.H.Vf(),50),O=!0);p.fields=zzc({fields:H,
yq:_.LH(_.YH(this.H)),h7:L||void 0,IE:_.mI(this.H),wBb:O});p.appDataFilter="NO_APP_DATA";0<_.Ab(b,_.PJ,25).length&&(p.sources=_.ovc(b));0<b.qB().length&&(p.spaces=_.pvc(b));a.Vn()&&(p.pageToken=a.Vn());(a=a.getOptions())&&_.Pj(a,1,1E3)&&(p.maxResults=_.Pj(a,1,1E3));_.Q(b,36,!1)&&(p.includeUnsubscribed=!0);_.B(b,43)&&(p.rawUserQuery=_.B(b,43));_.YJ(p);p.includeItemsFromAllDrives=_.Q(b,66,!0);0<_.ie(b,33).length&&2==_.QJ(b)&&(a=_.ie(b,33)[0],p.teamDriveId=a,C.push(a));p.corpora=_.evc[_.QJ(b)];_.P(b,
18)&&(_.$a(p,"corpora"),p.corpus="DOMAIN");a=_.El(b);H=_.Ab(b,_.pl,35);L=_.Ab(b,_.pl,38);C=C.concat(a.filter(function(U){return!_.Q(U,2,!1)}).map(function(U){return U.Ya()})).concat(H.map(function(U){return U.Ya()})).concat(L.map(function(U){return U.Ya()}));_.HJ(this.H,_.Ab(b,_.wl,63),C,this.O,k);bAc(p,b.Kc());_.Vyc(this.H,p);_.Wyc(this.H,p);_.x(b,_.mpa,64)&&(a=MCc(_.x(b,_.mpa,64)),a=_.ub(a,4),p.searchSessionData=a)}else if(a instanceof _.lJ){v="apps";switch(a.getType()){case 1:p.fields=gVc;break;
case 2:p.fields=hVc;break;case 4:p.fields=iVc;break;case 3:h=5,v="apps",p.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",p.appQueryScope="all_webstore",b.ru=!0}p.languageCode=TK(_.YH(this.H));0<_.ie(a,3).length&&(p.appFilterExtensions=_.ie(a,3).join(","));0<_.ie(a,4).length&&(p.appFilterMimeTypes=_.ie(a,4).join(","));A=a.se();r=!0}else if(a instanceof
_.ntc)v="backups",h=9,p.languageCode=TK(_.YH(this.H));else if(a instanceof _.zI)v="changes",p.includeDeleted=_.Q(a,3,!0),p.includeSubscribed=_.Q(a,4,!0),p.maxResults=a.QQ(),p.startChangeId=_.B(a,1),p.fields=yzc({fields:this.Lg(c),h7:qL(this.H,_.ie(a,5)),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)}),p.appDataFilter="NO_APP_DATA",a.wc()||(p.filters="DRIVE_DATASERVICE"),A=_.ie(this.H.Vf(),31),A.length&&(p.spaces=_.wf(A,function(U){return _.opc[U]}).join(",")),_.YJ(p),p.includeCorpusRemovals=!0,p.includeItemsFromAllDrives=
!0,a.wc()&&(p.teamDriveId=a.wc()),A=a.se(),r=!0;else if(a instanceof _.mJ)b=a.ld(),v="files/"+b.getId()+"/permissions",p.fields=_.mI(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.Vn()&&(p.pageToken=a.Vn()),_.B(a,1)&&(p.maxResults=_.B(a,1)),A=b.se(),r=!0,_.YJ(p),
_.Vyc(this.H,p),_.Wyc(this.H,p),_.HJ(this.H,[],[b.getId()],this.O,k);else if(a instanceof _.nJ)p.fields=_.mI(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",p.maxResults=a.vi(),v="files/"+a.qc()+"/revisions",A=a.se(),r=!0,
_.HJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof _.oJ)l="POST",v="files/"+(_.B(a,1)||"")+"/migrateToDrive",_.P(a,3)&&(p.useDomainAdminAccess=!0),p.fields=_.dtc({fields:this.Lg(c),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)}),p.fileId=_.B(a,1),_.yj(a,4)&&(p.preFlightValidationToken=_.B(a,4)),z=QKc(a),k["content-type"]="application/json",q=r=!0,_.HJ(this.H,[],[_.B(a,1)||"",_.B(a,2)||""],this.O,k);else if(a instanceof _.YF)v="teamdrives/"+a.ln()[0],p.fields=qL(this.H,a.H()),A=a.se(),r=!0;else if(a instanceof
_.ztc)l="POST",v="admin/files/migrateToTeamDrivePreFlight",_.P(a.request,3)&&(p.useDomainAdminAccess=!0),z=TKc(a),k["content-type"]="application/json",r=q=!0,_.HJ(this.H,[],_.ie(a.request,1),this.O,k);else if(a instanceof _.BJ)A=a.ld(),v="teamdrives",p.fields=UFc(this.H,A.H()),p.q=VFc(A),a.Vn()&&(p.pageToken=a.Vn()),(A=(A=a.getOptions())&&_.Pj(A,1,1E3))&&(p.maxResults=A),A=a.ld().se(),r=!0;else if(a instanceof _.Atc)v="teamdrives/"+a.wc(),p.fields="kind,id,recursiveFileCount,recursiveFolderCount",
r=q=!0;else if(a instanceof _.vJ)l="PUT",v="apps/"+a.Jh(),p.appId=a.Jh(),z={},z.useByDefault=_.P(a,2),_.P(a,3)&&(z.hasAppData=!1),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.xI)l="PUT",v="files/"+a.getId(),p.fields=_.dtc({fields:this.Lg(c),yq:_.LH(_.YH(this.H)),IE:_.mI(this.H)}),p.modifiedDateBehavior="DRIVE_UI",p.updateViewedDate=!!_.P(a,15),p.fileId=a.getId(),_.ie(a,9).length&&(p.addParents=_.ie(a,9).join(",")),_.ie(a,10).length&&(p.removeParents=_.ie(a,10).join(",")),
_.ie(a,31).length&&(p.addWorkspaces=_.ie(a,31).join(",")),_.ie(a,32).length&&(p.removeWorkspaces=_.ie(a,32).join(",")),null!=_.P(a,24)&&(p.confirmed=_.P(a,24)),p.languageCode=TK(_.YH(this.H)),z=UKc(a),k["content-type"]="application/json",A=a.se(),r=!0,_.YJ(p),this.W(a.getId(),p),_.P(a,36)?p.bypassMultiparentingCheck=!0:_.Uyc(this.H,p),b=_.ie(a,9).concat(_.ie(a,10)),b.push(a.getId()),_.HJ(this.H,_.Ab(a,_.wl,38),b,this.O,k);else if(a instanceof _.xJ)l="PUT",v="files/"+a.qc()+"/revisions/"+_.B(a,2),
z=VKc(a),k["content-type"]="application/json",A=a.se(),_.HJ(this.H,[],[a.qc()],this.O,k);else if(a instanceof _.yJ)v="teamdrives/"+a.getId(),null!=_.P(a,15)?(l="POST",v+="/"+(_.P(a,15)?"hide":"unhide")):(l="PUT",z=WKc(a),k["content-type"]="application/json"),p.fields=qL(this.H),A=a.se(),r=!0;else if(a instanceof _.zJ)l="PUT",v="workspaces/"+a.getId(),p.fields="kind,id,title,createdDate,modifiedDate,state",z=XKc(a),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.gD)l="PUT",
z=_.x(a,_.Zo,1),A=z.getKey(),v="settings/"+_.B(A,2),(A=_.$o(A))&&(p.namespace=YAc[A]),z=ZAc(z),k["content-type"]="application/json",A=a.se(),r=!0;else if(a instanceof _.ZH)v="about",p.fields=_.mI(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",p.fields=bBc(p.fields,this.H),p.fields=cBc(p.fields,this.H),A=a.se(),r=!0;else if(a instanceof _.DI){h=11;l=a.Lz();v=a.getUrl();var T=_.B(a,5)||"";_.Ab(a,_.Ssc,2).forEach(function(U){k[U.getKey()]=
U.Ya()});_.Ab(a,_.Ssc,4).forEach(function(U){p[U.getKey()]=U.Ya()});_.P(a,7)&&(b.nLb=!0);_.P(a,8)&&(b.ru=!0);_.P(a,9)&&(b.aFa=!0)}else if(a instanceof _.ptc)b=a.request.qc(),v="files/"+b+"/listCategoryMetadata",A=a.request.se(),a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),p.fields="kind,nextPageToken,categoryMetadata",_.HJ(this.H,[],[b],this.O,k);else if(a instanceof _.wJ)k["content-type"]="application/json",l="POST",b=a.qc(),v="files/"+b+"/updateCategoryMetadata",
A=a.se(),z={categoryMetadata:a.FV().map(function(U){var ca=_.Ab(U,_.QF,2).map(function(ma){return{id:ma.getId(),userId:ma.Yr(),setBooleanValue:_.P(ma,3),setTextValue:_.B(ma,4),setTextValues:_.ie(ma,6),addTextValues:_.ie(ma,5),setLongTextValue:_.B(ma,7),setSelectionValue:_.B(ma,8),setSelectionValues:_.ie(ma,10),addSelectionValues:_.ie(ma,9),setIntegerValue:_.B(ma,11),setIntegerValues:_.ie(ma,13),addIntegerValues:_.ie(ma,12),setUserValue:_.B(ma,14),setUserValues:_.ie(ma,16),addUserValues:_.ie(ma,15),
setDateStringValue:_.B(ma,17)}}),ba={categoryName:U.Cm()};ca.length?ba.categoryAttributeValueDeltas=ca:_.ie(U,4).length?ba.revertAttributeIds=_.ie(U,4):_.P(U,3)&&(ba.removeCategory=_.P(U,3));return ba})},_.HJ(this.H,[],[b],this.O,k);else if(a instanceof _.qJ)h=13,v=_.LH(_.YH(this.H))?"/v2/people/public":"/v2/people",p.person_id=a.ln(),p["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],p["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],
p["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.LH(_.YH(this.H))||(p["core_id_params.enable_private_names"]=!0);else if(a instanceof _.vtc)h=12,v="/v1/categories/-/published",k["content-type"]="application/json",a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),a.request.getCustomer()&&(p.customer=a.request.getCustomer()),p.$outputDefaults=!0,p.languageCode=TK(_.YH(this.H));else if(a instanceof _.SF)h=12,v="/v1/"+a.getName(),
k["content-type"]="application/json",p.$outputDefaults=!0,p.languageCode=TK(_.YH(this.H));else if(a instanceof _.OI)k["content-type"]="application/json",l="POST",v="drives/"+a.wc()+"/changeCategoryReferences",A=a.se(),r=!0,p.fields=qL(this.H,[157],!0),z={},b=_.Ab(a,_.Ek,2),b.length&&(z.addCategoryReferences=b.map(function(U){return{category:U.Cm()}})),a=_.Ab(a,_.Ek,3),a.length&&(z.removeCategoryReferences=a.map(function(U){return U.Cm()}));else if(a instanceof _.ZF)v="workspaces/"+a.ln()[0],p.fields=
"kind,id,title,createdDate,modifiedDate,state",A=a.se(),r=!0;else if(a instanceof _.otc){if(h=7,l="POST",v="/v2/activity:query",k["content-type"]="application/json",z={},z.pageSize=a.pageSize,a.pageToken&&(z.pageToken=a.pageToken),b="items/"+a.request.getId(),_.Q(a.request,2,!1)?z.ancestorName=b:z.itemName=b,z.consolidationStrategy={legacy:{}},a=_.FJ(this.H),(null===a||void 0===a?0:_.Q(a,13,!1))||(null===a||void 0===a?0:_.Q(a,21,!1)))b=[],(null===a||void 0===a?0:_.Q(a,13,!1))&&b.push("MULTIPARENTING_MIGRATION"),
(null===a||void 0===a?0:_.Q(a,21,!1))&&b.push("HIERARCHY_RECONCILIATION"),z.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:("+(b.join(" ")+")")}else a instanceof _.rtc?(h=8,l="POST",v="/v1/exports/"+a.H+":cancel"):a instanceof _.stc?(h=8,v="/v1/exports/"+a.H):"undefined"!=typeof _.utc&&a instanceof _.utc?(v="changes",p.fields="kind,largestChangeId",_.YJ(p),p.includeItemsFromAllDrives=!0,a.teamDriveId&&(p.teamDriveId=a.teamDriveId),A=a.H,r=!0):a instanceof _.eD?
(v="settings",A=_.ie(a,3),p.namespace=$Ac(A),A=a.se(),r=!0):a instanceof _.Ctc?(v="workspaces",p.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(p.pageToken=a.pageToken),a.request.vi()&&(p.maxResults=a.request.vi()),p.q=dVc(a.request),(A=a.request.lx())&&1==A.getType()&&(p.orderBy="title"),A=a.request.se(),r=!0):a instanceof _.rJ?(v="changes/getRemainingCount",p.pageToken=_.B(a,2),_.yj(a,3)&&(p.supportsTeamDrives=!0,p.includeItemsFromAllDrives=!0,p.teamDriveId=
a.wc()),A=a.se()):a instanceof _.KI?(k["content-type"]="application/json",l="POST",v="files/"+a.qc()+"/sendAccessRequest",z={},q=!0):_.Xyc(a);r&&_.Yyc(c,p);0!=h||q||A&&_.B(A,1)||_.oK(this.Zf,74438989);return _.Zyc(this,h,v,p,k,l,A,z,T)};fVc.prototype.W=function(a,b){a=this.ma.um.H(a);b.expectedParentIds=a?a.rk().join(","):[]};
var gVc=aBc("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"),hVc=
aBc("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"),
iVc=aBc("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 jVc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,C,G,H,L,O,T,U,ca){this.Aoa=_.Zh();this.pfa=new _.twc;var ba=new _.Lwc(this.eK.bind(this),function(){return T("w8KrJc")}),ma=new DSc(b.um),ta=new uSc(ba);c=new lSc(b,f,new fSc(d,e,c),h,this.Aoa.promise,k,l,c,T);d=new CSc(b,p,q,r,v,d,e,C,k);this.O=new _.wwc(a,z);z=new fVc(b,a,k,U);this.Gsa=new TUc(k,a,A,C);this.H=NKc(a,new _.Zxc(this.O,this.pfa,z,this.Gsa,G,H,L),H,A,O,b.um,this.pfa,this.Aoa.promise,L||void 0);this.Aoa.resolve(ca?ca:new _.xxc(new ESc,ma,
ta,this.H,ba,c,d,a))};jVc.prototype.eK=function(){return _.Ta(this.H,function(a){return a.eK()})};var kPc=function(a){var b=new Map,c=Date.now();_.Qa(a.H,function(d,e){d=lEc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var kVc=function(a,b){var c=this;this.context=a;this.Gg=b;this.ka=null;this.CR=0;this.ma=this.active=!1;this.H=this.wa=null;this.W={};this.Ha=this.Fa=!1;this.Zf=a.jk();this.ha=_.Zh();this.O=a.Ic;this.Ja=_.FJ(this.O)||new _.nuc;b=_.UK(this.O);this.Ba=new _.lwc(_.Pj(b,2,37500),_.Pj(b,3,6E5));this.ta=a.uQ;_.Qa(zGc,function(d){c.W[d]=[]});this.V=a.Af.It;zL(a.Nj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});zL(a.Nj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});zL(a.Nj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.hL().tg(_.dg)})};_.g=kVc.prototype;_.g.initialize=function(){var a=this;this.Fa||(this.Fa=!0,tM(this.context).addCallback(function(b){a.ta.initialize().Wf(function(){a.ka=b;a.setActive(!0)},function(c){c&&QDc(a.context.He(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.HI(c));a.log("Error initializing dump storage");a.jS()})}))};
_.g.isInitialized=function(){return!!this.ka||this.ma};_.g.mna=function(a){this.active&&(this.CR+=a,this.CR>_.Pj(_.UK(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.aR().eK()||0<b.Af.wI.Rna||b.Fj().Oe()||b.wk().Oe())||((this.active=a)?(this.ha.resolve(),this.H||this.hL().tg(_.dg)):(this.ha=_.Zh(),_.n.clearTimeout(this.wa)))}};_.g.jS=function(){this.ma=!0};_.g.eXa=function(){return this.H?this.H.promise:_.Vh()};
_.g.hL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.Zh();_.$h(this.H.promise,function(){a.H=null});var b=this.Zf.H(106021)||void 0;this.ha.promise.then(function(){return HKc(a.context.sD)}).then(function(c){var d=!c;return a.ma?d:_.Xh([lVc(a,3,d,void 0,void 0,b),lVc(a,0,d,void 0,!0,b),lVc(a,1,d,void 0,!0,b),lVc(a,5,d,void 0,!0,b),lVc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Nc("Failed to update dump",void 0,_.HI(e));return _.Wh(e)})},function(){return _.Wh(Error("sg"))}).then(function(c){a.H.resolve(c);
b&&(c=YDc(b),_.w(c,2,!0),b.vj())},function(c){a.H.reject(c);b&&(c=YDc(b),_.w(c,2,!1),b.vj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.ai,e=this.Zf.H(106021)||void 0;e&&(DDc(YDc(e),_.fK(_.ksc,a)),d.then(function(){var f=YDc(e);_.w(f,2,!0);e.vj()},function(){var f=YDc(e);_.w(f,2,!1);e.vj()}));this.ha.promise.then(function(){return HKc(c.context.sD)}).then(function(f){f=!f;c.ma?d.callback():_.di(lVc(c,a,f,b,void 0,e),d)});return d};
var lVc=function(a,b,c,d,e,f){var h=_.ia(a.W[b]);if(h){if(h.encrypt===c&&1<a.W[b].length)return h.jf.$m();var k=new _.ai;_.ci(h.jf,function(){_.di(a.Ju(b,c,d,e,f),k)})}else k=a.Ju(b,c,d,e,f);var l={encrypt:c,jf:k};a.W[b].push(l);_.ci(k,function(){_.xa(a.W[b],function(p){return l===p})});k.Cg(function(p){a.ta.O.Gf()?a.jS():p instanceof _.Nc&&(p=p.O||null,p instanceof _.PH&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.jS());return null});
return k};
kVc.prototype.Ju=function(a,b,c,d,e){var f=this,h=new _.ai;this.ha.promise.then(function(){if(3===a)_.di(mVc(f,c||!1,b,e),h);else{switch(a){case 0:var k=uPc(f.context.SP);break;case 1:k=f.context.NZ.kr();break;case 5:k=nVc(f.context.dE);break;case 6:k=pIc(f.context.Af.tq);break;default:h.Gd("Invalid data type to write to storage.");return}if(k){var l=_.Ab(_.UK(f.O),SK,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):EJc(f.ta,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Gd(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Gd("Failed to get data to write to dump.")}});return h};
var mVc=function(a,b,c,d){_.n.clearTimeout(a.wa);a.wa=_.n.setTimeout((0,_.M)(a.Pa,a),a.Ba.Ya());if(b&&0===a.CR)return _.fi();a.CR=0;b=_.Ab(_.UK(a.O),SK,11)[0].getKey();if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),_.fi();for(var e=[],f=_.m(oVc(a)),h=f.next();!h.done;h=f.next())h=pVc(a,h.value),h.length&&e.push(EJc(a.ta,c?b:null,h,d));var k=new _.ai;Promise.all(e).then(function(){a.Ha&&a.context.sD.set(FKc,!0);k.callback()},function(l){return void k.Gd(l)});return k},oVc=function(a){var b,
c,d,e=Object.values(yFc).filter(function(f){return 0<f&&!qVc.includes(f)});(null===(b=_.FJ(a.context.Ic))||void 0===b?0:_.Q(b,17,!1))?(null===(c=a.V.H)||void 0===c?0:c.lD)||null===(d=a.V.O)||void 0===d||!d.lD?e.push(2):e.push(5):e.push(2);return e};kVc.prototype.Pa=function(){_.UH(this.Ba);this.update(3,!0)};
var pVc=function(a,b){switch(b){case 1:return[rVc(a)];case 2:return b=a.V.H,a=xFc(sVc(a,b),2),b&&vFc(a,b.xN()),[a];case 5:return b=a.V.O,a=xFc(sVc(a,b),5),b&&(vFc(a,b.xN()),b=wHc(b),_.Dj(a,14,b)),[a];case 3:return tVc(a);case 4:return uVc(a);default:throw new _.Nc("Unsupported CacheType");}},rVc=function(a){for(var b={},c=[],d=FHc(a.V,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.iy(),l=vVc(a,CAc(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=pFc(new jL,h.ld()),
h.H||(_.w(l,2,k),_.I(l,3,p),e=!1),c.push(l)}d=_.Va(b);a.log("Exporting "+d.length+" initial dump items.");return vFc(xFc(uFc(sFc(tFc(wFc((new kL).Xy(a.context.ju()),_.ZJ(a.Gg)),a.ka.XQ(null)),wVc(d)),c),1),!e)},sVc=function(a,b){var c=b?b.iy():[];c=vVc(a,_.Va(DAc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Pj(_.UK(a.O),5,2E4)&&(b&&CL(b,!1),c=[]);c=sFc(new kL,wVc(c));var d=new LAc;(a=a.V.H)&&a.lD&&(a=a.iy(),_.w(d,3,a.length));a=_.I(c,11,d);b&&vFc(a,b.xN());return a},tVc=function(a){var b=
[],c=a.ka;a.V.ZV().forEach(function(d){var e=c.XQ(d.wc());if(e){var f=vVc(a,CAc(d.iy()));a.log("Exporting "+f.length+" TD dump items for: "+d.wc());e=vFc(xFc(tFc(sFc(new kL,wVc(f)),e),3),d.xN());d=pFc(new jL,d.ld());uFc(e,[d]);b.push(e)}});return b},uVc=function(a){var b={},c=[];a.context.Af.ZV().forEach(function(d){1===d.AV()&&null==_.P(d.ld(),6)&&(CAc(d.iy()).forEach(function(e){b[e.getId()]=e}),d=qFc(pFc(new jL,new _.yf),d.ld()),c.push(d))});return[vFc(xFc(uFc(sFc(new kL,wVc(Object.values(b))),
c),4),!1)]},vVc=function(a,b){b=aAc(b);_.P(a.O,67)&&(b=xVc(b));_.mI(a.O)&&(_.Q(a.Ja,9,!1)?sIc(a.context.Af.tq,b)&&(_.oK(a.Zf,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=qIc(a.context.Af.tq,b)):b=qIc(a.context.Af.tq,b));return b.filter(function(c){return 4!==c.tv()})},xVc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Qzc(c)?(c=c.clone(),Azc(c,Pzc),b.push(c)):b.push(c);return b},wVc=function(a){return a.map(function(b){return b.clone()})};
kVc.prototype.log=function(a,b){this.context.He().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};kVc.prototype.jEa=function(){this.Ha=!0};var qVc=[2,5];
var yVc=function(){};_.g=yVc.prototype;_.g.setActive=function(){};_.g.jS=function(){};_.g.update=function(){return _.fi()};_.g.eXa=function(){return _.Vh()};_.g.hL=function(){return _.Vh()};_.g.mna=function(){};_.g.jEa=function(){};
var QK=function(a,b,c,d){_.yi.call(this);var e=this;this.Aa=a;this.jw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.wa=d||new _.Vuc;this.Ic=b.clone();(a=_.FJ(this.Ic))&&_.Q(a,1,!1)&&_.bI(this.Ic,28);this.Gg=new _.kvc(this.Ic);this.wm=new dGc(_.ZJ(this.Gg),this.Ic);zVc(this);this.xX=new _.pn;this.ob=_.n.setTimeout(function(){e.He().info("drive.ds.sync.ThinContext","Page stable timed out.");e.xX.resolve();e.jk().O(106020)},1E4);this.MZ=new _.ai;this.Ba=new _.Nvc(_.TJ(this.Ic),_.Q(this.Ic.Vf(),
52,!1));this.connectionState=new _.Gvc(_.TJ(this.Ic)?3:1,!_.Q(this.Ic.Vf(),52,!1));this.Zf=_.cwc(this.Ic,this.Ba,this.connectionState,this.wa,this.xX.promise,this.jw);this.qfa=new LGc(this.Zf);this.aQ=new _.ai;this.log("Enabled experiments: "+this.jk().W.W);AVc(this)};_.K(QK,_.yi);QK.prototype.getEnvironment=function(){return this.jw};QK.prototype.cS=function(){this.He().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.ob);this.xX.resolve()};
var AVc=function(a){var b=function(){a.Eu().tg(_.dg)},c=a.Aa;(c=c&&_.Hc(c,_.hl))?_.si(c,"w",b):_.ssc()||_.si(_.n,"unload",b)};QK.prototype.Eu=function(){this.Zf.O(106005);bEc(this.Zf);var a=this.ma.map(function(b){return b()});_.qa(this.ma);return _.fI(a).then()};var BVc=function(a,b){a.ma.push(b)};_.g=QK.prototype;_.g.He=function(){return this.wa};_.g.Xy=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.MZ.callback(a),a.length&&this.V4a(a,b||null))};_.g.V4a=function(){};
_.g.ju=function(){return this.rootId};_.g.jk=function(){return this.Zf};var CVc=function(a){if(!a.ha)throw Error("tg");return a.ha},DVc=function(a,b){a.ha=b};QK.prototype.xB=function(){return this.Fa||this.connectionState.isConnected()};QK.prototype.Fj=function(){return this.Ba};QK.prototype.wk=function(){return this.connectionState};QK.prototype.KOb=function(a){this.aQ.callback(a)};
var zVc=function(a){var b=a.Ic.Vf();0===_.ie(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.D(b,37,""))throw Error("ug");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.Q(_.UK(a.Ic),9,!1))if(b=_.Ab(_.UK(a.Ic),SK,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.TJ(a.Ic)&&!_.Q(a.Ic,10,!1))throw Error("vg");}else _.w(_.UK(a.Ic),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.Q(_.UK(a.Ic),9,!1)&&(_.TJ(a.Ic)||_.Q(a.Ic,10,!1)))throw Error("wg");var c=_.YH(a.Ic);b=!(!c||!_.LH(c));c=c&&_.RJ(c)||"";if(!b&&!c)throw Error("xg");b&&_.Gj(a.Ic,44);_.Ab(a.Ic,_.yf,44).forEach(function(d){try{gGc(a.wm,d)}catch(e){if(e instanceof _.Nc&&(d=e.Fg)&&3===d.kv())throw Error("yg");throw e;}})};QK.prototype.mJ=function(a){this.dispatchEvent(new _.Oc(new _.Nc(void 0,a)))};QK.prototype.log=function(a){this.He().info("drive.ds.sync.ThinContext",a)};
var EVc=function(a,b){this.H=a;this.Fe=b};
var FVc=new Set([5,4,1,6,2]),GVc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),HVc=function(a,b,c){_.yi.call(this);this.ha=a;this.V=b;this.W=c;this.CF=new Map;this.O=new Map;this.status=6;this.H=null};_.K(HVc,_.yi);
HVc.prototype.bQ=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())&&_.$o(q))&&f.add(q)});[].concat(_.Jd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=FVc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.B(r,2);r=k.get(r&&_.$o(r));v&&r&&r.set(v,IVc(q))});var l=0,p=0;[].concat(_.Jd(k.keys())).forEach(function(q){var r=k.get(q),v=e.CF.get(q);v?h&&(r.forEach(function(z){var A=
z.getKey();(A=v.get(A&&_.B(A,2)))&&_.Oj(z,A)||l++}),[].concat(_.Jd(v.values())).forEach(function(z){z=z.getKey();r.has(_.B(z,2))||p++}),e.CF.set(q,r),e.O.set(q,b)):(l+=r.size,e.CF.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,AL(this.V,"px2C2c");AL(this.V,"rkYxSd")}(l||p)&&JVc(this,!h)}};HVc.prototype.PG=function(){return 0<this.CF.size};
var JVc=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 _.oi("WPi0i"))};HVc.prototype.put=function(a){var b=a.getKey(),c=b&&_.$o(b);b=b&&_.B(b,2);if(c&&b&&(c=this.CF.get(c))){var d=c.get(b);a=IVc(a);d&&_.Oj(a,d)||(c.set(b,a),JVc(this))}};HVc.prototype.remove=function(a){var b=a&&_.$o(a);a=a&&_.B(a,2);b&&a&&(b=this.CF.get(b))&&b.delete(a)&&JVc(this)};
var nVc=function(a,b){var c=[];(b||[].concat(_.Jd(a.CF.keys()))).forEach(function(e){(e=a.CF.get(e))&&[].concat(_.Jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.CF.has(e)}):[].concat(_.Jd(a.CF.keys()));var d=new JEc;_.Fj(d,1,c);_.Dj(d,2,b);return d};
HVc.prototype.JG=function(a){var b=this,c=nVc(this,a),d=new _.Nz;d.Ac(this.status);_.ekb(d,_.Ab(c,_.Zo,1));_.I(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);GVc.has(f)&&Infinity>GVc.get(f)&&(e=f)});return new EVc(d,e)};var IVc=function(a){a=a.clone();a.Sg()||a.Hb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var KVc=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},MVc=function(a,b){return LVc(a[b])+(LVc(a[b+1])<<8)+(LVc(a[b+2])<<16)+(LVc(a[b+3])<<24)},LVc=function(a){return 127<a?a-256:a};
var RK=function(a,b,c,d,e,f){QK.call(this,a,b,c,d);var h=this;this.Ta=_.Zh();this.lt=new GL;this.W=null;this.O=_.Zh();this.Ha=new _.ai;this.c6=null;this.sfa=new IIc;this.V=null;this.$a=_.Zh();this.ta=new _.ai;this.MF=new oJc;this.vz=new SIc;this.$ga=new PIc;this.X$=new _.pn;this.Ja=!1;this.rfa=new _.pn;this.H={};this.ka=null;this.Ib=new _.jf;this.La(this.Ib);this.Nj=e?e:new qHc(this.He());this.jk().W.O=this.Nj;this.FL=_.Q(_.UK(b),9,!1)&&dBc()?NVc(this,b):null;this.Av=new YFc(TK(_.YH(b)));this.sD=
OVc(this,this.FL);this.uQ=PVc(this,this.FL,b);this.Af=new xM(this,this.Gg);this.Hs=QVc(this);(a=(a=_.x(this.Ic,_.Gk,12))&&a.getId())&&this.Xy(a,6);this.SP=new tPc(this.Ic,this.Af.tq,this.Nj,this.He(),this.Hs);this.NZ=new zPc(this.He(),this.Nj,this.Hs);this.dE=new HVc(this.He(),this.Nj,this.Hs);this.xI=new DGc(this.Pm(),this.He(),function(k){return void h.mJ(k)});this.fz=_.Q(this.Ic.Vf(),52,!1)?new _.pK(this.wk(),this.Pm(),this.He(),this.jk()):null;zL(this.Nj,["mrK8ic"],function(){h.$a.promise.then(function(){eQc(h,
h.V)})});this.RMa=new kJc(this.Ic);this.NA=new _.Ewc(this.Ic,this.Af.um);this.Hsa=new bSc(this);this.b6=new MIc(this.O.promise,this.Pm());this.hb=new QIc(this.Pm(),this.b6);this.tfa=new gJc(this.O.promise,this.Pm(),this.He(),this.Ic);this.Pa=new jVc(this.Ic,this.Af,this.mJ.bind(this),this.b6,this.hb,this.Hs,this.sfa,this.Gg,this.ju.bind(this),this.Hsa,this.NZ,this.dE,this.tfa,this.MF,this.He(),this.RMa,this.NA,this.xI,this.fz,this.Fj(),this.Jpb.bind(this),this.jk(),f);this.Ta.resolve(this.Pa);this.VJa=
new MRc(this);zL(this.Nj,["BNEDtc"],function(){return h.rfa.resolve()});BVc(this,function(){h.Hs.jS();return _.Vh()})};_.K(RK,QK);
var NVc=function(a,b){var c=_.RJ(_.YH(b)),d=_.SJ(b),e=function(){},f=_.Ab(_.UK(b),SK,11);f=f[0]&&_.B(f[0],1);var h=new $Jc(c,d,_.Pj(_.UK(b),10,0)||0,f||"",_.ZJ(a.Gg));_.TJ(b)?c=uKc(c,d).then(function(l){return l?l:h}):_.Q(b,10,!1)&&0<_.Pj(_.UK(b),8,432E6)?(b=RVc(a,c),c=uKc(c,d,b).then(function(l){return l&&(e=function(p){return p.Jl(h).tg(function(){return null})},!l.ha)?l:h})):c=_.Vh(h);var k=new OL(c,a.He(),a.jk());k.initialize().then(function(){return e(k)},function(){return null});return k},RVc=
function(a,b){var c=_.Pj(_.UK(a.Ic),8,432E6);if(!_.TJ(a.Ic)&&0<c){a=Math;var d=a.abs;b=_.Ema(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+=MVc(b,e),h.b+=MVc(b,e+4),h.c+=MVc(b,e+8),KVc(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+=MVc(b,e+4);h.a+=MVc(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+=MVc(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=KVc(h);return d.call(a,b)%c}};RK.prototype.Uy=function(a){var b=this;return this.FL?this.FL.Gf()?_.Wh(Error("zg`"+gKc(this.FL))):HKc(this.sD).then(function(c){var d=b.FL,e=[];e.push(b.Hs.eXa());e.push(a?d.Jl():qKc(d));if(a===c)return _.Xh(e).then(function(){return!1});!1===a&&(e.push(fKc(d)),(c=b.ju())&&e.push(b.sD.Xy(c)));return _.Xh(e).then(function(){return b.sD.Uy(a)},function(){return!1})}):_.Wh(Error("Ag"))};
var PVc=function(a,b,c){var d=null;b&&(d=new yJc(b,c,function(e){a.mJ(e)},a.jk()),d.initialize());return d},OVc=function(a,b){var c=new GKc(b||void 0);c.ju().then(function(d){d&&a.Xy(d,5)});b&&(HKc(c).then(function(d){a.Fj().Uy(d)}),_.Xh([b.initialize(),a.xX.promise]).then(function(){SVc(a,c)},function(){}));return c},SVc=function(a,b){KKc(b).then(function(c){(!c||c<Date.now()-864E5)&&xKc(_.RJ(_.YH(a.Ic)),_.SJ(a.Ic),a.He()).then(function(d){d&&(d=Date.now(),b.set(EKc,d))},function(){})})},QVc=function(a){if(!a.uQ)return new yVc;
var b=new kVc(a,a.Gg);a.Ib.listen(a.Fj(),"Bb",function(c){return void b.setActive(!c.Oe())});a.Ib.listen(a.wk(),[].concat(_.Jd(Object.values(_.LB))),function(){return void b.setActive(a.wk().isConnected())});return b};RK.prototype.fY=function(a){this.c6=a;this.Ha.callback(a)};var tM=function(a){return a.Ha.$m()},jPc=function(a){return a.FL?a.FL.Gf():null},TVc=function(a,b){a.Nj.H("NSockf")?AL(a.Nj,b):zL(a.Nj,["NSockf"],function(){AL(a.Nj,b)})};
RK.prototype.V4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.lt.Xy(a),this.wm.Xy(a),6!==b&&1!==b||this.sD.Xy(a),TVc(this,"jroI5d"))};RK.prototype.eWa=function(){return this.ta.$m()};var eQc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.ta.Yf()||(a.ta.callback(b),TVc(a,"T8oKm")))},EPc=function(a){if(!a.W)throw Error("Bg");return a.W};_.g=RK.prototype;_.g.aR=function(){return this.Pa};_.g.Pm=function(){return this.Ta.promise.then(function(a){return a.Aoa.promise})};
_.g.iEa=function(){this.Ja||(this.Ja=!0,this.X$.resolve(),AL(this.Nj,"aU7Ts"))};_.g.xB=function(){throw Error("Cg");};_.g.Jpb=function(a){this.dispatchEvent(a)};var UVc=function(a,b){sRc(a.Af,b)},VVc=function(a,b,c){a.H[b]=c},cPc=function(a){a.ka||(a.ka=new YIc(a.O.promise,a.Pm(),a.He()));return a.ka};
var BM=function(a,b,c){_.yi.call(this);var d=this;this.Fa=a;this.logName=b;this.wa=_.Zh();this.Ba=this.channel=this.clientId=null;c.then(function(e){return WVc(d,e)})};_.K(BM,_.yi);var WVc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;rL(a.channel,a.Fa,function(c){c=vGc(c);a.E$(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.wa.resolve()};BM.prototype.E$=function(){};
BM.prototype.send=function(a,b,c,d){var e=this,f=_.Zh();this.wa.promise.then(function(){var h=e.channel;sL(h,e.Fa,rGc(new qGc(e.clientId,a,b,d),h.W),function(k){return void XVc(k,a,f,c||function(){})})});return f.promise};var XVc=function(a,b,c,d){a=vGc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.Lc,_.tI(d,2),_.uI(d,6),_.w(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.Nc(void 0,d)))};BM.prototype.log=function(a){this.Ba&&this.Ba.info(this.logName,a)};
var YVc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var CM=function(a,b){_.N.call(this);this.V=a;this.wa=b;this.Ja=this.OU()};_.K(CM,_.N);CM.prototype.registerService=function(a){var b=this;rL(a,this.V,function(c){return b.Ew(c)})};
CM.prototype.Ew=function(a){var b=this;a=sGc(a);var c=a.H,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof tGc)return uGc(f,c);if(f.then)return f.then(function(h){return uGc(h,c)},function(h){h=_.vI(h);return uGc(b.ad(void 0,h),c)})}catch(h){e=_.HI(h)}f=new _.Lc;_.tI(f,2);_.uI(f,3);_.dq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.w(f,20,e.stack);return uGc(this.ad(void 0,f),c)};
CM.prototype.ad=function(a,b,c){if(a&&!b)return new tGc(a,void 0,c);a=_.vI(b);return new tGc(void 0,a,c)};CM.prototype.update=function(a,b,c,d){(a=this.wa.channels[a]||null)&&sL(a,this.V,uGc(this.ad(c,d,b),a.W))};
var ZVc=function(){this.channels={};this.H=this.O=this.V=0},$Vc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ua(a.channels));return c},aWc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var bWc=function(a,b){CM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.Af;this.O=this.context.tfa;this.W=cPc(this.context);this.ka=this.context.b6};_.K(bWc,CM);
bWc.prototype.OU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.yf);return a.Yh(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.MH);return a.Yh(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.TF);return a.Yh(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.YF);return a.Yh(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=PK(c.args[0],!!c.H,_.yf);return a.Zj(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.MH);return a.Zj(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.TF);return a.Zj(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.YF);return a.Zj(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=PK(c.args[0],!!c.H,_.TF);c=PK(c.args[1],!!c.H,_.TF);return a.RY(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=PK(c.args[0],!!c.H,_.YF);c=PK(c.args[1],!!c.H,_.YF);return a.RY(d,e,c)},b["4.7"]=function(c){return a.BF(c)},b["4.8"]=function(c){return a.BF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.Rz);return a.Yh(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.ZF);return a.Yh(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.Rz);return a.Zj(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=PK(c.args[0],!!c.H,_.ZF);return a.Zj(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.fG);return a.Yh(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.fG);return a.Zj(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.Pz);return a.Yh(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=PK(c.args[0],!!c.H,_.Pz);return a.Zj(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.Pz){var d=a.W;GIc(d,d.getKey(c)).refresh()}return a.ad([])},b};bWc.prototype.Yh=function(a,b){var c=this,d=new _.pn;this.H[a]={query:b,YTb:d.promise};b instanceof _.Rz?d.resolve(this.O.Yh(a,b)):b instanceof _.ZF?d.resolve(EIc(this.O,a,b)):b instanceof _.Pz?d.resolve(this.W.Yh(a,b)):b instanceof _.fG?d.resolve(this.ka.Yh(a,b)):d.resolve(this.ha.Yh(a,b));return d.promise.then(function(){return c.ad([])})};bWc.prototype.Zj=function(a,b){cWc(this,a,b);return this.ad([])};
var cWc=function(a,b,c){delete a.H[b];c instanceof _.Rz?a.O.Zj(b,c):c instanceof _.ZF?FIc(a.O,b,c):c instanceof _.Pz?a.W.Zj(b,c):c instanceof _.fG?a.ka.Zj(b,c):a.ha.Zj(b,c)};_.g=bWc.prototype;_.g.RY=function(a,b,c){cWc(this,a,b);return this.Yh(a,c)};_.g.BF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.Hi(a.args[0]);c instanceof _.Rz?this.O.Yh(b,c):c instanceof _.ZF?EIc(this.O,b,c):c instanceof _.Pz?this.W.Yh(b,c):c instanceof _.fG?this.ka.Yh(b,c):this.ha.Yh(b,c);return this.ad([])};
_.g.lO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.dh(a[0]),f=a[1];d.YTb.then(function(h){b instanceof _.nK||b instanceof _.kK?c.update(e,f,[b.response,b.pageToken,b.H,b.Fe,h]):(d.query instanceof _.yf?Czc(d.query.H(),b.Ad().filter(function(k){return!mL(k)})):d.query instanceof _.TF&&Czc(d.query.H(),Object.values(b.Qr()).filter(function(k){return k&&!mL(k)})),c.update(e,f,[b,h]))})}};
_.g.IX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.dh(c[0]);c=c[1];var d=b.error;d.ofa(b.H);this.update(a,c,void 0,d)}};_.g.kA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.dh(a[0]),a[1],["cacheRefresh"]))};_.g.X8=function(){};_.g.Cka=function(a){if(!this.H[a])throw Error("dg`"+a);return this.H[a].query};var dWc=function(a,b){_.Qa(a.H,function(c,d){_.dh(d.split(":")[0])===b&&cWc(a,d,c.query)})};
var eWc=function(a,b,c){BM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.K(eWc,BM);eWc.prototype.gxa=function(a){var b=this;a=new POc(this.context.wm,this.context.aQ,this.context.He(),this.context.Ic,function(c,d){return b.BF(c,d)},a,this.context.jk());fWc(this,a);return a};eWc.prototype.jxa=function(a){var b=this;a=new TOc(this.context.wm,this.context.aQ,this.context.He(),function(c,d){return b.BF(c,d)},a,this.context.Ic);fWc(this,a);return a};
var fWc=function(a,b){a.Yh(b);_.$e(b,function(){a.Zj(b);a.send("4.3",[b.ld()],void 0,b.Qi())});a.send("4.1",[b.ld()],void 0,b.Qi())};_.g=eWc.prototype;_.g.dxa=function(a){var b=this,c=new EEc(this.context.Ic,this.context.wm,this.context.He(),this.context.MZ,this.RY.bind(this),a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.4",[c.ld()],void 0,c.Qi())});this.send("4.2",[c.ld()],void 0,c.Qi());return c};
_.g.mxa=function(a){var b=this,c=new XOc(this.context.He(),a,this,this.context.Ic);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.11",[c.ld()],void 0,c.Qi())});this.send("4.9",[c.ld()],void 0,c.Qi());return c};_.g.nxa=function(a){var b=this,c=new YOc(this.context,this,a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.12",[c.ld()],void 0,c.Qi())});this.send("4.10",[c.ld()],void 0,c.Qi());return c};
_.g.qxa=function(a){var b=this,c=new aPc(this.context,a,this);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.15",[c.ld()],void 0,c.Qi())});this.send("4.13",[c.ld()],void 0,c.Qi());return c};_.g.rxa=function(a){var b=this,c=new SOc(this.context.He(),a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.16",[c.ld()],void 0,c.Qi())});this.send("4.14",[c.ld()],void 0,c.Qi());return c};
_.g.kxa=function(a){var b=this,c=new WOc(this.context,a,function(){b.send("4.21",[],void 0,c.Qi())});this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.23",[c.ld()],void 0,c.Qi())});this.send("4.22",[c.ld()],void 0,c.Qi());return c};_.g.$wa=function(a){var b=this,c=new NOc(this.context.Fj(),this.context.wk(),this.context.He(),function(d,e){return b.BF(d,e)},a);this.Yh(c);_.$e(c,function(){b.Zj(c);b.send("4.19",[c.ld()],void 0,c.Qi())});this.send("4.18",[c.ld()],void 0,c.Qi());return c};
_.g.Yh=function(a){this.H.create(a.Qi(),a.ld());this.O[a.Qi()]=a};_.g.Zj=function(a){tL(this.H,a.Qi(),4);delete this.O[a.Qi()]};_.g.RY=function(a,b,c){if(b instanceof _.TF&&c instanceof _.TF)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.YF&&c instanceof _.YF)this.send("4.6",[b,c],void 0,a);else throw Error("Dg");};
_.g.BF=function(a,b){if(!this.O[a])throw Error("dg`"+a);var c=this.O[a];if(c.ld()instanceof _.yf)var d="4.7";else if(c.ld()instanceof _.MH)d="4.8";else if(c.ld()instanceof _.fG)d="4.20";else if(c.ld()instanceof _.Rz)d="4.17";else throw Error("Eg");c.ld().Hi(b);this.send(d,[b],void 0,a)};
_.g.E$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)a.sB(new $K(d,d.Q5())),tL(this.H,a.Qi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.iW();return}var h=a.ld();if(h instanceof _.yf||h instanceof _.MH)h instanceof _.yf&&_.iJ(h)?e=PK(d,b,_.hK):e=PK(d,b,_.VA);else if(h instanceof _.TF||h instanceof _.YF)b?(e=new _.gK,yEc(e,function(k){return new _.Gk(JSON.parse(k))},d)):e=d;else if(h instanceof _.fG)e=new _.kK(PK(d,b,wL),c[f++],c[f++],c[f++]);else if(h instanceof _.Rz)e=new _.nK(PK(d,
b,yL),c[f++],c[f++],c[f++]);else if(h instanceof _.ZF)e=PK(d,b,_.iK);else if(h instanceof _.Pz)e=PK(d,b,iL);else throw Error("Fg");}e&&(b=f,c&&"boolean"===typeof c[b]&&MGc(this.H,a.Qi(),!!c[b]),PGc(this.H,a.Qi(),e),a.update(e))}};
var DM=function(){_.yi.apply(this,arguments);this.commands=new _.Uk;this.ha=this.active=this.ep=!1};_.K(DM,_.yi);DM.prototype.initialize=function(){this.ep||(this.ep=!0,this.V(),this.setActive(!0))};DM.prototype.V=function(){};DM.prototype.setActive=function(a){this.active=a;gWc(this)};var gWc=function(a){if(a.active&&!a.ha){var b=_.Zk(a.commands);if(b)if(a.wa()){do a.ka(b);while(b=_.Zk(a.commands))}else a.ha=!0,_.$h(a.Ba(b),function(){a.ha=!1;gWc(a)})}};DM.prototype.ka=function(){};
DM.prototype.Ba=function(){};DM.prototype.wa=function(){return!0};DM.prototype.enqueue=function(a){try{var b=new _.ai;this.commands.enqueue(new hWc(a,b));gWc(this);return b}catch(c){return _.hi(_.HI(c))}};var hWc=function(a,b){this.H=a;this.jf=b};hWc.prototype.getCommand=function(){return this.H};hWc.prototype.wG=function(){return this.jf};
var kWc=function(a){DM.call(this);var b=this;this.context=a;this.O=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context,"VMiG2e",function(){return void iWc(b)});this.H=this.context.Af.tq;_.mI(this.context.Ic)&&this.Rc.listen(this.H,"Fb",this.W);var c=a.Nj;zL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Bj(a.Ic.Vf(),17,1)&&(d.push("iuEtc"),zL(c,["mrK8ic"],function(){AL(c,"iuEtc")}));zL(c,d,function(){jWc(b)})};_.K(kWc,DM);kWc.prototype.V=function(){lWc(this)};
var jWc=function(a){if(1===a.context.SP.Cf().Cb())Promise.resolve();else{var b=_.Lf(_.Mf(new _.Kf,!0),301);b=_.$H(new _.ZH,b);a.refresh(b).then(null,function(c){c=_.vI(c);_.w(c,21,"Initial account request failed.");a.context.mJ(c)})}},iWc=function(a){var b=_.Lf(new _.Kf,304);b=_.$H(new _.ZH,b);a.refresh(b).then(null,function(){})};
kWc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.$h(this.context.Pm().then(function(d){return d.Pe(a,b)}).then(function(d){var e=d.Cf(),f=e.getUser();if(f&&!1===_.uk(f))d=_.wI(_.YH(c.context.Ic)),d=Error("Gg`"+d+"`"+HK(f)),_.Nb(d),_.oK(c.context.jk(),73301807),d=Promise.reject(d);else{f=c.context.SP;var h=0===f.Qe()?1:6;_.mI(c.context.Ic)&&jIc(c.H,e);h=vPc(f,e,h);(e=e.getMetadata())&&c.context.Xy(_.B(e,2),1);(d=_.B(d,4))&&eQc(c.context,d,!0);h&&c.dispatchEvent(new _.oi("WPi0i"));d=
Promise.resolve(new _.mK(f.Cf(),f.Qe(),!1))}return d}).then(function(d){return d},function(d){d=_.vI(d);_.w(d,5,1);return Promise.reject(new _.Nc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
kWc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.yD&&(c.yD=b.yD);this.refresh(b.request,c).then(function(e){return a.wG().callback(e)},function(e){return void a.wG().Gd(e)})}else if(b=this.context.SP,c=b.Cf(),_.mI(this.context.Ic)){c=c.Cf();var d=c.getUser();d=WHc(this.H.H,HK(d));jIc(this.H,c);vPc(b,c,b.Qe())&&this.dispatchEvent(new _.oi("WPi0i"));a.wG().callback(new _.mK(b.Cf(),b.Qe(),d))}else c.Cb(),b=new _.mK(c,b.Qe(),!0),a.wG().callback(b)};
var lWc=function(a){var b=a.context.Ic.Vf();_.n.setTimeout(function(){var c=_.Lf(new _.Kf,306);c=_.$H(new _.ZH,c);a.refresh(c).then(function(){lWc(a)},function(){lWc(a)})},Math.ceil(_.Pj(b,7,9E5)*Math.random())+_.Pj(b,3,72E5))};kWc.prototype.W=function(a){var b=this.context.SP,c=b.Cf().Cf();c&&a.getPeople().find(function(d){return _.B(d,1)===HK(c.getUser())})&&(jIc(this.H,c),vPc(b,c,b.Qe())&&this.dispatchEvent(new _.oi("WPi0i")))};var mWc=function(a,b,c){this.request=a;this.H=!!b;this.yD=c||null};
var oWc=function(a){DM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.NZ,"Mb",_.gb(this.dispatchEvent,new _.oi("Mb",this)));nWc(this)};_.K(oWc,DM);
var nWc=function(a){var b=a.context.Nj;zL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.TJ(a.context.Ic)){var c=_.Bj(a.context.Ic.Vf(),18,1);zL(b,["NSockf"],function(){1===c?pWc(a):a.setActive(!0)});2===c&&zL(b,["mrK8ic"],function(){a.W||pWc(a)})}},pWc=function(a){var b=new _.Kf;_.Mf(b,!0);_.Lf(b,301);var c=new _.lJ;_.RDc(c,b);_.w(c,1,1);a.refresh(c).tg(function(){return null})};
oWc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Zh();this.O=d.promise;_.$h(this.O,function(){c.O=null;qWc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.lJ;_.w(h,1,this.H);_.RDc(h,a.se());this.context.Pm().then(function(k){return k.Pe(h,b)}).then(function(k){c.error=null;var l=c.context.NZ;l.bQ(k,l.PG()?6:1);d.resolve()},function(k){c.H=e;k=_.Rc(k);var l=k.Fg;_.w(l,5,2);f?(_.tI(l,1),k.message="Initial app settings refresh failed.",
_.w(k.Fg,21,"Initial app settings refresh failed."),c.context.mJ(l),c.setActive(!0)):(_.tI(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Fg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};oWc.prototype.wa=function(){return!1};
oWc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.qja,f=c.yD?{yD:c.yD}:void 0;if(!rWc(d))return this.context.Pm().then(function(l){return l.Pe(d,f)}).then(function(l){a.wG().callback(new _.jK(l,1,!1))},function(l){a.wG().Gd(_.HI(l))}),_.Vh();c=_.Vh();var h=!1;this.O?sWc(this,d.getType())?e=this.O:c=e=new _.Uh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&sWc(this,d.getType())&&!this.error?(h=!0,e=_.Vh()):e=this.refresh(d,f);
var k=a.wG();e.then(function(){var l=b.context.NZ;k.callback(new _.jK(l.kr(),l.Qe(),h))},function(l){k.Gd(l)});return c.then()};
var rWc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.ie(a,4),a=_.ie(a,3),!(b&&b.length)&&!(a&&a.length)):!1},sWc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},qWc=function(a){var b=a.context.Ic.Vf(),c=new _.Kf;_.Lf(c,306);var d=new _.lJ;_.w(d,1,1);_.RDc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Pj(b,7,9E5)*Math.random())+_.Pj(b,4,72E5))},tWc=function(a,b,c){this.request=a;this.qja=!!b;this.yD=c||null};
var vWc=function(a){DM.call(this);var b=this;this.context=a;this.error=null;this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.dE,"WPi0i",function(){return b.dispatchEvent(new _.oi("WPi0i"))});this.H=_.Zh();this.O=_.ie(this.context.Ic.Vf(),30);uWc(this)};_.K(vWc,DM);
var uWc=function(a){var b=a.context.Nj;zL(b,["rkYxSd"],function(){return a.initialize()});zL(b,["px2C2c"],function(){a.context.He().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Bj(a.context.Ic.Vf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&zL(b,["mrK8ic"],function(){AL(b,"OZvrNc")}));!_.Q(a.context.Ic,11,!1)&&_.Q(a.context.Ic,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Ab(nVc(a.context.dE),_.Zo,1).length||(b.H("NSockf")?
AL(b,"DEJoH"):zL(b,["NSockf"],function(){AL(b,"DEJoH")}))},12E3));zL(b,c,function(){if(!b.H("px2C2c")){var e=new _.Kf;_.Mf(e,!0);_.Lf(e,301);var f=new _.eD;_.I(f,1,e);IAc(f,wWc(a));a.query(f).tg(function(){a.initialize()})}})};vWc.prototype.V=function(){var a="User prefs detected: "+_.Ab(nVc(this.context.dE),_.Zo,1).length;this.context.He().info("drive.ds.sync.userprefs.UserPrefsManager",a);xWc(this)};
vWc.prototype.query=function(a,b){var c=this,d=b?{yD:b}:void 0;return this.context.Pm().then(function(e){return e.Pe(a,d)}).then(function(e){c.error=null;var f=c.context.dE;f.bQ(_.Ab(e,_.Zo,3),f.PG()?6:1,_.ie(a,3))}).then(null,function(e){e=_.Rc(e);_.w(e.Fg,5,4);0<c.commands.Zb()||c.context.mJ(e.Fg);c.error=e;throw e;})};
vWc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.wG(),e=new Set([].concat(_.Jd(this.context.dE.CF.keys()))),f=_.ie(c.request,3);f.find(function(h){return!e.has(h)})&&(c.qja=!0);this.error?d.Gd(this.error):c.qja?(IAc(c.request,wWc(this,f)),_.$h(this.H?this.H.promise:this.query(c.request,c.yD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var wWc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Jd(a.O),_.Jd([].concat(_.Jd(a.context.dE.CF.keys()))),_.Jd(b)));return[].concat(_.Jd(a.values()))};
vWc.prototype.getData=function(a,b,c){b=this.context.dE.JG(b);a.callback(new _.lK(b.H,b.Fe,c))};var xWc=function(a){var b=a.context.Ic.Vf();_.n.setTimeout(function(){var c=new _.eD,d=new _.Kf;_.Lf(d,306);_.I(c,1,d);IAc(c,wWc(a));_.$h(a.query(c).tg(_.dg),function(){xWc(a)})},Math.ceil(_.Pj(b,7,9E5)*Math.random())+_.Pj(b,5,72E5))},yWc=function(a,b,c){this.request=a;this.qja=!!b;this.yD=c||null};
var zWc=function(a,b,c,d){CM.call(this,"IS",b);this.context=a;this.Rc=new _.jf(this);this.Ba=_.Zh();this.O=null;this.ha=!1;this.W=null;this.Fa=new iPc(a);HAc(this.Fa);this.La(this.Rc);this.ka=new kWc(a);this.La(this.ka);this.Rc.listen(this.ka,"WPi0i",function(){return c(new JOc(1))});this.ma=new oWc(a);this.La(this.ma);this.Rc.listen(this.ma,"Mb",function(){return c(new JOc(2))});this.ta=new vWc(a);this.La(this.ta);this.Rc.listen(this.ta,"WPi0i",function(){return c(new JOc(4))});this.Ha=d;this.H=
this.context.Pm()};_.K(zWc,CM);_.g=zWc.prototype;
_.g.OU=function(){var a={};return a["3.43"]=this.x_.bind(this),a["3.42"]=this.C7.bind(this),a["3.1"]=this.jN.bind(this),a["3.2"]=this.JG.bind(this),a["3.3"]=this.hd.bind(this),a["3.35"]=this.NN.bind(this),a["3.4"]=this.sC.bind(this),a["3.5"]=this.kr.bind(this),a["3.6"]=this.aS.bind(this),a["3.8"]=this.Jl.bind(this),a["3.36"]=this.Uy.bind(this),a["3.9"]=this.iF.bind(this),a["3.10"]=this.jr.bind(this),a["3.11"]=this.baa.bind(this),a["3.12"]=this.l8.bind(this),a["3.13"]=this.cT.bind(this),a["3.14"]=
this.$$.bind(this),a["3.15"]=this.n8.bind(this),a["3.16"]=this.Vr.bind(this),a["3.17"]=this.hEb.bind(this),a["3.18"]=this.lEb.bind(this),a["3.19"]=this.hQ.bind(this),a["3.20"]=this.jEb.bind(this),a["3.25"]=this.iEb.bind(this),a["3.22"]=this.m8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Pna.bind(this),a["3.29"]=this.eyb.bind(this),a["3.40"]=this.nEb.bind(this),a["3.33"]=this.oEb.bind(this),a["3.39"]=this.UO.bind(this),a["3.37"]=this.mEb.bind(this),a["3.38"]=this.oab.bind(this),a["3.41"]=
this.cS.bind(this),a["3.44"]=this.$_.bind(this),a["3.45"]=this.Jo.bind(this),a["3.46"]=this.I7.bind(this),a};_.g.jN=function(a){var b=this,c=PK(a.args[0],!!a.H,_.ZH);a=new mWc(c,a.args[1],this.context.H[a.clientId]);AL(this.context.Nj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.ad([d.response,d.Fe,d.P_])},function(d){return b.ad(void 0,d)})};
_.g.JG=function(a){var b=this,c=PK(a.args[0],!!a.H,_.eD);a=new yWc(c,a.args[1],this.context.H[a.clientId]);AL(this.context.Nj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.ad([d.response,d.Fe,d.P_])},function(d){return b.ad(void 0,d)})};
_.g.hd=function(a){var b=this,c=PK(a.args[0],!!a.H,nAc),d=_.Sj(c,_.KI,16,MK)||_.Sj(c,_.LI,1,MK)||_.Sj(c,_.MI,2,MK)||_.Sj(c,_.PI,3,MK)||_.Sj(c,_.qK,4,MK)||_.Sj(c,_.NI,5,MK)||_.Sj(c,_.TI,6,MK)||_.Sj(c,_.VI,7,MK)||_.Sj(c,_.WI,8,MK)||_.Sj(c,_.ZI,9,MK)||_.Sj(c,_.oJ,18,MK)||_.Sj(c,_.sJ,10,MK)||_.Sj(c,_.tJ,11,MK)||_.Sj(c,_.uJ,12,MK)||_.Sj(c,_.xI,13,MK)||_.Sj(c,_.xJ,14,MK)||_.Sj(c,_.yJ,15,MK)||_.Sj(c,NK,17,MK),e=EM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},
function(f){return b.ad(void 0,f)})};_.g.NN=function(a){var b=this,c=PK(a.args[0],!!a.H,wAc),d=_.Sj(c,_.QI,1,xAc)||_.Sj(c,_.XI,2,xAc)||_.Sj(c,_.zJ,3,xAc),e=EM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.sC=function(a){var b=this,c=PK(a.args[0],!!a.H,qAc),d=EM(this,a),e=[],f=[];sAc(c).forEach(function(h){h instanceof _.KI?e.push(String(h.qc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Pe(h,d)}))});a=_.fI(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.$h(a,function(){return void KRc(b.context.Af)});return a.then(function(h){return b.ad([new cAc(e,h)])})};
_.g.kr=function(a){var b=this,c=PK(a.args[0],!!a.H,_.lJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=EM(this,a);a=this.H.then(function(f){return f.Pe(c,e)}).then(function(f){return new _.jK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.jK(f.response,f.Fe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new tWc(c,d,this.context.H[a.clientId]),AL(this.context.Nj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.ad([f.response,f.Fe,f.P_])},function(f){return b.ad(void 0,
f)})};_.g.aS=function(a){var b=this,c=PK(a.args[0],!!a.H,tAc),d=_.Sj(c,_.fD,1,uAc)||_.Sj(c,_.gD,2,uAc),e=EM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};_.g.Jl=function(a){a=a.args[0];if(this.context.fz)a?_.pwc(this.context.fz,!0):this.context.wk().Oe()&&this.context.fz.iM(!0).then(null,function(){});else try{this.context.Fj().Jl(a)}catch(b){return this.ad(void 0,b)}return this.ad([])};
_.g.Uy=function(a){var b=this,c=a.args[0];return this.context.Uy(c).then(function(d){return d?(b.context.Fj().Uy(c),b.Ha(c),b.context.Hs.hL().tg(function(){return!c})):_.Vh(!c)}).then(function(d){return b.ad([d])},function(d){return b.ad(void 0,d)})};_.g.sync=function(){var a=this;return _.Xh([this.context.X$.promise,this.context.rfa.promise]).then(function(){return a.context.Hs.hL()}).then(function(){return a.ad([])},function(b){return a.ad(void 0,b)})};
_.g.iF=function(){try{var a=this.context.c6;a&&a.toa();this.context.$ga.iF();return this.ad([])}catch(b){return this.ad(void 0,b)}};_.g.cS=function(){this.context.cS();return this.ad([])};_.g.jr=function(a){var b=this,c=PK(a.args[0],!!a.H,_.bJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.baa=function(a){var b=this,c=PK(a.args[0],!!a.H,_.cJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.l8=function(a){var b=this,c=PK(a.args[0],!!a.H,_.RI),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.cT=function(a){var b=this,c=PK(a.args[0],!!a.H,_.vJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.$$=function(a){var b=this,c=PK(a.args[0],!!a.H,_.gJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return _.mI(b.context.Ic)?nIc(b.context.Af.tq,[_.x(e,_.tk,2)],c.qc()).then(function(){return e}):e}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.n8=function(a){var b=this,c=PK(a.args[0],!!a.H,_.UI),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Vr=function(a){var b=this,c=PK(a.args[0],!!a.H,_.nJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d).then(function(f){return _.mI(b.context.Ic)?lIc(b.context.Af.tq,f):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.hEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.qOc),d=new _.otc(c,a.args[1],a.args[2]||void 0),e=EM(this,a);return this.H.then(function(f){return f.Pe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.lEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.mJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d).then(function(f){return _.mI(b.context.Ic)?nIc(b.context.Af.tq,_.Ab(f.ad(),_.tk,2),c.ld().getId()).then(function(){return f}):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.hQ=function(){var a=this;return(_.Q(this.context.Ic.Vf(),52,!1)?_.Vh(CGc(new BGc,0)):this.context.xI.hQ()).then(function(b){return a.ad([b])},function(b){return a.ad(void 0,b)})};
_.g.jEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.ntc),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.iEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.kJ),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.m8=function(a){var b=this,c=PK(a.args[0],!!a.H,_.SI),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Pna=function(a){var b=this,c=PK(a.args[0],!!a.H,_.DI),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e,null])},function(e){return b.ad([null,_.vI(e)])})};_.g.eyb=function(){return this.ad([!0])};
_.g.nEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.XF),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.oEb=function(a){var b=this,c=PK(a.args[0],!!a.H,_.Pz),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.x_=function(a){a=PK(a.args[0],!!a.H,_.yf);$Qc(this.context.Af,[a]);return this.ad([])};
_.g.C7=function(a){var b=this,c=PK(a.args[0],!!a.H,_.OI),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.UO=function(a){var b=this,c=PK(a.args[0],!!a.H,_.iM),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return xIc(c,e)}).then(function(e){return b.ad(e)},function(e){return b.ad(void 0,e)})};
_.g.mEb=function(a){var b=this,c=new _.vtc(PK(a.args[0],!!a.H,_.t7b),a.args[1]),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e.response,e.pageToken])},function(e){return b.ad(void 0,e)})};_.g.oab=function(a){var b=this,c=PK(a.args[0],!!a.H,_.SF),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.$_=function(a){var b=this,c=PK(a.args[0],!!a.H,_.dK),d=EM(this,a);return this.H.then(function(e){return e.Pe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Jo=function(a){var b=a.args.map(function(c){return PK(c,!!a.H,_.rI)});this.context.Af.Jo(b);KRc(this.context.Af);return this.ad([])};_.g.I7=function(){var a=this,b=this.context.fz;return(b?b.iM():_.Vh(_.hwc(0))).then(function(c){return a.ad([c])},function(c){return a.ad(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Zh();this.context.He().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Ic.Oi());this.Rc.listen(this.context,_.Yc,function(e){e=e.error;var f=e.Fg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):QDc(a.context.He(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Nj,c=["hVFf7"];_.TJ(this.context.Ic)&&c.push("BNEDtc");zL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});zL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){tM(a.context).then(function(e){return void e.start()})};zL(b,["T8oKm","ZA9qG"],function(){return void d()});zL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();AL(b,"NSockf")}return this.O.promise};_.g.oba=function(){return this.Ba.promise};_.g.Eu=function(){var a=this.context.c6;a&&a.dispose();return this.context.Eu()};
var EM=function(a,b){return(a=a.context.H[b.clientId])?{yD:a}:{}};
var AWc=function(a,b,c){CM.call(this,"DU",b);this.context=a;this.O=c;this.H=new iPc(a)};_.K(AWc,CM);_.g=AWc.prototype;
_.g.OU=function(){var a=this,b={};return b["5.1"]=function(){return a.Sha()},b["5.2"]=function(c){return a.GM(c)},b["5.4"]=function(c){return a.Fz(c)},b["5.5"]=function(){return a.bR()},b["5.10"]=function(){return a.dN()},b["5.6"]=function(){return a.hda()},b["5.7"]=function(){return a.RS()},b["5.9"]=function(c){return a.Spa(c)},b["5.8"]=function(c){return a.V4(c)},b["5.11"]=function(){return a.opa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Jl(c)},b};
_.g.Sha=function(){var a=this;this.context.Hs.jS();var b=this.context.Ic;return yKc(_.RJ(_.YH(b)),_.SJ(b),this.context.He()).tg(function(){}).then(function(){return a.ad([])})};_.g.GM=function(a){a=this.context.Af.um.H(a.args[0]);return this.ad([a])};_.g.Fz=function(a){var b=this;return this.context.NA.Fz(a.args[0]).then(function(c){return b.ad([c])})};_.g.bR=function(){return this.ad(this.context.NA.bR())};
_.g.V4=function(a){var b=this,c=PK(a.args[0],!!a.H,_.Rrc),d=a.args[1],e=a.args[2];if(_.Sj(c,_.nI,3,_.pI)||_.Sj(c,_.BJ,4,_.pI)||_.Sj(c,_.qK,5,_.pI)||_.Sj(c,_.yJ,6,_.pI)||_.Sj(c,_.WI,7,_.pI)||_.Sj(c,_.PI,8,_.pI)||_.Sj(c,_.TI,9,_.pI)||_.Sj(c,_.xI,10,_.pI)){var f=JGc(c);return this.context.Pm().then(function(h){return h.Pe(f,{S6a:d,T6a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.rK){k=h.ad().Ad();var p=_.B(h,2);l=h.Vn()}else if(h instanceof _.DJ)h.getItem()&&k.push(h.getItem()),p=h.MM();
else{h=b.ad(void 0,Error("fg"));break a}h=b.ad([p,l].concat(_.Jd(k)))}return h},function(h){return b.ad(void 0,h)})}return _.Vh(this.ad(void 0,Error("eg")))};_.g.Spa=function(){var a=this.context.Ic,b=a.Vf();a="email:"+_.YH(a).getEmail().replace(/@.*$/,"");_.w(b,13,a);return this.ad([])};_.g.hda=function(){this.context.MF.H=new nJc(_.ch().substring(0,8));return this.ad([])};
_.g.RS=function(){var a=this.context.MF.dN();if(a){var b=pJc(this.context.MF);a=[a.H,a.startTime].concat(_.Jd(b))}else a=[];b=this.context.MF;b.H=null;b.xY=[];return this.ad(a)};_.g.dN=function(){var a=this.context.MF.dN();return this.ad(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.wa).then(function(b){return a.ad([b])})};_.g.opa=function(){var a=[this.O.Eu(),_.Ci(3E4)];_.$h(_.Xja(a),function(){_.n.setTimeout(function(){self.close()})});return this.ad([])};
_.g.Jl=function(a){this.H.Jl(a.args[0]);return this.ad([])};
var BWc=function(a,b,c,d,e,f,h){_.DK.call(this,a,b,c,d,f,h);this.H=e;this.Zf=null};_.K(BWc,_.DK);BWc.prototype.qM=function(a,b){var c=this;return _.gi(this.H.then(function(d){return d.m3a(szc(c.O,c.wa,a,b,c.aj,c.ha))},null))};BWc.prototype.ma=function(a,b){var c=this.ld(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Fz();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.Kwc(a,b,d))}};
var CWc=function(a,b,c,d,e,f,h,k){CM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Zf=h;this.H={};this.O={};this.Rc=new _.jf(this);this.La(this.Rc)};_.K(CWc,CM);_.g=CWc.prototype;
_.g.OU=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.bG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.qM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.ad([])},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.ad([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=PK(a.args[0],!!a.H,_.PI),e=a.args[1];if(!this.H[c]){var f=new BWc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Zf);this.Rc.listen(f,"Hb",_.gb(this.pab,a.clientId,a.requestId));this.La(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.ij(),r=_.Zh();b.O[q]=r;b.update(l,p,DWc(3,q,[h,k]));return r.promise}).then(function(h){return b.ad([h])},function(h){return b.ad(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.ad([])};_.g.bG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].bG();return this.ad([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ka(f,function(p){k[p]=h[l++]});_.Qa(k,function(p,q){p.Wf(function(r){b.update(a.clientId,c,DWc(0,e,[q,r]))},function(r){b.update(a.clientId,c,DWc(1,e,[q,r.Fg]))})});return this.ad([])}return this.ad(void 0,_.vI("Could not retry upload."))};
_.g.qM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=szc(b.O,b.wa,c,a,b.aj,b.ha),this.ad([zAc(c)])):this.ad(void 0,_.vI("FileUploader not found."))};_.g.pab=function(a,b,c){this.update(a,b,DWc(2,c.requestId,[c.progress,c.totalBytes]))};var DWc=function(a,b,c){return[Number(a),b].concat(_.Jd(c))};
var EWc=function(a,b){CM.call(this,"IE",b);this.O=a;this.H=new Map};_.K(EWc,CM);EWc.prototype.OU=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};
EWc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=PK(a.args[0],!!a.H,_.mtc);e=new oM(this.O,e);var f=_.Ye(e,"Lb",function(h){b.update(a.clientId,c,[h.APa,h.gua])});_.$e(e,function(){_.wi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.ad([h])},function(h){return b.ad(void 0,h)})};EWc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.ad([])};
var FWc=function(a,b){CM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Zh();this.O=new nPc(a,a.Gg)};_.K(FWc,CM);FWc.prototype.OU=function(){var a=this,b={};return b["6.1"]=function(c){return GWc(a,c)},b["6.2"]=function(c){return HWc(a,c)},b["6.3"]=function(){a.H&&(qPc(a.O),a.H=!1,a.W=_.Zh());return a.ad([])},b};
var GWc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return PK(d,!!b.H,_.Gk)});a.O.jl(c);AL(a.context.Nj,"GZTDpc");a.W.resolve()}return a.ad([])},HWc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return PK(d,!!b.H,_.rI)});pPc(a.O,c);return a.ad([])})};
var IWc=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Hg`"+b);a.services.set(b,new _.ai)})};IWc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.Yf())b.callback(a);else throw Error("Ig`"+a.V);};var JWc=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)})};IWc.prototype.wo=function(){return[].concat(_.Jd(this.services.values())).every(function(a){return a.Yf()})};
var KWc=function(){},LWc={0:2E3,1:3E3,2:5E3},MWc=function(a,b){this.request=a;this.ha=b;this.O=_.Zh();this.continuationToken="";this.V=0;this.zE=this.W=!1;this.H=KWc};MWc.prototype.nh=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=KWc;b.V=0;return c},function(c){b.H=KWc;b.V=0;return Promise.reject(c)})};
MWc.prototype.sendRequest=function(){var a=this;if(this.zE)this.O.resolve((new hM).Ac(8));else{var b=new _.ztc(this.request,this.continuationToken);this.ha.then(function(c){return c.Pe(b)}).then(function(c){NWc(a,c)},function(c){a.handleError(c)})}};var NWc=function(a,b){var c;a.continuationToken=null!==(c=b.Vn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},OWc(a.V++,a.ka)):a.O.resolve(b)};MWc.prototype.handleError=function(a){a=_.Rc(a);this.O.reject(a)};
MWc.prototype.cancel=function(){this.zE=!0};var OWc=function(a,b){return b?b:(a=LWc[a])?a:1E4};
var PWc=function(a,b){CM.call(this,"TM",b);this.O=a;this.H=new Map};_.K(PWc,CM);PWc.prototype.OU=function(){var a=this,b={};return b["10.1"]=function(c){return QWc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var QWc=function(a,b){var c=b.clientId+":"+b.requestId,d=PK(b.args[0],!!b.H,_.SNc);d=new MWc(d,a.O);a.H.set(c,d);return _.$h(d.nh(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.ad([e])},function(e){return a.ad(void 0,e)}),function(){a.H.delete(c)})};PWc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.ad([])};
var FM=function(a,b,c){_.N.call(this);this.H=a;this.jw=b;this.hb=c;this.fields=null;this.Ha=!1;this.Ja=_.Zh();this.W=!1;this.Ba=_.Zh();this.O=_.Zh();this.ta=null;this.wa=this.Ta=!1;this.yb=_.Zh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.Yy=Date.now();this.services=new IWc;this.Ib=new _.jf(this);this.La(this.Ib)};_.K(FM,_.N);FM.prototype.fY=function(a){this.O.promise.then(function(b){b.c6||a.fNa(b)})};
var UWc=function(a,b){var c=$Vc(a.H,b),d=a.Qb.bind(a,c);rL(b,"8.1",d);b.registerService("8.1",d);rL(b,"8.4",a.Pa.bind(a,c));b.registerService("8.5",function(f){return RWc(a,c,f)});rL(b,"8.2",a.Fb.bind(a,c));rL(b,"8.3",a.Lb.bind(a,c));JWc(a.services,b);b.start();SWc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Xh([a.Ja.promise,a.Ba.promise]).then((0,_.M)(a.initialize,a)));e.push(a.ta);_.Xh(e).then(function(){return void TWc(a,c,b)},function(f){a.Ta=!0;sL(b,"2.2",{err:_.vI(f).Gc()},d)})},VWc=function(a){return Math.floor((Date.now()-
a.Yy)/1E3)},WWc=function(a,b,c){var d=function(e){sL(b,"2.8",{au:"pb"===e.type})};a.Ib.listen(c.xI,["pb","qb"],d);_.$e(b,a.Ib.Tc.bind(a.Ib,c.xI,["pb","qb"],d))},XWc=function(a,b,c){var d=c.wk(),e=[].concat(_.Jd(Object.values(_.LB))),f=function(h){sL(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.$e(b,function(){a.Ib.Tc(d,e,f)})};
FM.prototype.Qb=function(a){var b=aWc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){dWc(d,a)}),b.dispose(),this.log(_.ot("Client %d disconnected (num clients remaining: %d)",a,_.Ua(this.H.channels))),0===_.Ua(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.$h(d.Eu(),c)})}};
FM.prototype.Pa=function(a,b){if(this.ha.has(a))return _.Vh();var c=new _.kc(JSON.parse(b.dsc));_.w(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){VVc(d,a,_.D(c.Vf(),37,""));UVc(d,_.ie(c,28));d.Af.Ala(_.Ab(c,_.wl,91));return d.xX.promise.then(function(){$Qc(d.Af,_.Ab(c,_.yf,44))})},function(){})};
FM.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 dQc(e,e.Gg);e.nh(d);e.dispose();(e=c.H.channels[a]||null)&&sL(e,"2.16")})}};FM.prototype.Lb=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){YWc(new JQc(h),e);(h=c.H.channels[a]||null)&&sL(h,"2.17",{t:f})})}};
var YWc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.nh(c)});a.dispose()};FM.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Va(this.H.channels)),d=c.next();!d.done;b={dea:b.dea,Hea:b.Hea},d=c.next())b.dea=d.value,b.Hea=_.Zh(),sL(b.dea,"2.12",void 0,function(e){return function(){e.dea.dispose();e.Hea.resolve()}}(b)),a.push(b.Hea.promise);return _.Xh(a).then()};
FM.prototype.initialize=function(a){var b=this;a=a[0];_.uuc(a,this.fields);var c=_.x(a,_.EI,58);c=c&&_.Q(c,1,!1)?this.hb:void 0;try{var d=new RK(null,a,this.jw,c,void 0,void 0),e=d.jk().H(106E3);BVc(d,this.$a.bind(this));this.Ib.listen(d.Fj(),"Bb",function(k){k={os:k.Oe()};for(var l=_.m(_.Va(b.H.channels)),p=l.next();!p.done;p=l.next())sL(p.value,"2.6",k)});this.Ib.listen(d,_.Yc,this.ob);this.Ib.listen(d,"w8KrJc",this.Ec);GGc(d.xI,this.ka.bind(this));var f=d.fz;f&&fEc(f,function(){return b.ka()});
this.O.resolve(d);var h=ZWc(this,d,new zWc(d,this.H,(0,_.M)(this.jc,this),(0,_.M)(this.tc,this)));e&&h.then(function(){return e&&e.vj()});return h}catch(k){return _.Wh(k)}};
var ZWc=function(a,b,c){a.services.activate(c);a.services.activate(new bWc(b,a.H));a.services.activate(new AWc(b,a.H,c));a.services.activate(new FWc(b,a.H));a.services.activate(new CWc(b.Ic,b.NA,b.aR().pfa,b.Pm(),b.aQ,b.He(),b.jk(),a.H));a.services.activate(new EWc(b.Pm(),a.H));a.services.activate(new PWc(b.Pm(),a.H));return c.initialize()},TWc=function(a,b,c){var d=_.Ua(a.H.channels);a.log(_.ot("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));sL(c,"2.2",{id:b,
clients:d,uptimeSec:VWc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.MZ.addCallback(function(f){c.isDisposed()||sL(c,"2.5",{id:f})});1<d&&tM(e).addCallback(function(f){return f.zwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.oba().then(function(){c.isDisposed()||sL(c,"2.14")})});WWc(a,c,e);XWc(a,c,e)})};FM.prototype.jc=function(a){a={dt:a.dataType};for(var b=_.m(_.Va(this.H.channels)),c=b.next();!c.done;c=b.next())sL(c.value,"2.15",a)};
FM.prototype.tc=function(a){var b={oois:a};_.Va(this.H.channels).forEach(function(c){sL(c,"2.18",b)})};FM.prototype.ob=function(a){a={p:a.error.Fg.Gc()};for(var b=_.m(_.Va(this.H.channels)),c=b.next();!c.done;c=b.next())sL(c.value,"2.10",a)};FM.prototype.Ec=function(){for(var a=_.m(_.Va(this.H.channels)),b=a.next();!b.done;b=a.next())sL(b.value,"2.7")};var SWc=function(a,b,c){a.ha.has(b)?_.Vh():new _.Uh(function(d){sL(c,"2.1",void 0,function(e){d(a.Pa(b,e))})})};
FM.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Wh(Error("Jg"));if(this.W&&this.Fa.has(a))return _.Vh()}b=b||_.Va(this.H.channels)[0];if(!b)return _.Wh(Error("Kg"));var d=_.Zh();b.send("1.1",void 0,function(e){RWc(c,a,e);d.resolve()});return d.promise};var RWc=function(a,b,c){_.Qa(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.wa&&(a.wa=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
FM.prototype.log=function(a){this.O.promise.then(function(b){return b.He().info("drive.ds.sync.cacheproxy.Worker",a)})};
var $Wc=function(a,b){BM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.K($Wc,BM);_.g=$Wc.prototype;_.g.Ka=function(){return _.x(this.context.Ic,_.EI,58)};_.g.getContext=function(){return this.context};_.g.Fz=function(){return _.gi(this.send("5.4",[this.H],function(a,b){return PK(a[0],b,_.jvc)}))};_.g.He=function(){return this.context.He()};_.g.GM=function(a){return _.gi(this.send("5.2",[a],function(b,c){return b[0]?PK(b[0],c,_.Gk):null}))};
_.g.bR=function(){return _.gi(this.send("5.5",[],function(a,b){return a.map(function(c){return PK(c,b,_.Rrc)})}))};_.g.V4=function(a,b,c){return _.gi(this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return PK(k,e,_.Gk)}),via:f,pageToken:h}}))};_.g.Spa=function(){this.send("5.9",[])};_.g.Sha=function(){this.send("5.1",[])};_.g.i9=function(){return _.xsc[_.Bj(this.context.Ic.Vf(),8,0)]};_.g.hda=function(){this.send("5.6",[])};
_.g.RS=function(){return _.gi(this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return PK(e,b,KGc)});return{traceId:new nJc(c,d),spanRecs:a}}))};_.g.dN=function(){return _.gi(this.send("5.10",[],function(a){return 0===a.length?null:new nJc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.gi(this.send("5.12",[],function(a){return a[0]}))};_.g.opa=function(){this.send("5.11",[])};_.g.Jl=function(a){this.send("5.13",[a])};
var aXc=function(a,b){BM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ea(this))};_.K(aXc,BM);aXc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return PK(b[0],c,wOc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};aXc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
aXc.prototype.E$=function(a,b,c){this.dispatchEvent(new KOc(c[0],c[1]))};
var bXc=function(a){BM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(bXc,BM);bXc.prototype.iY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.tV().Wf(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.z_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var cXc=function(a,b){JL.call(this,a,b)};_.K(cXc,JL);cXc.prototype.jia=function(a,b,c){return new _.vtc(a,c)};cXc.prototype.vka=function(a){return a.pageToken||""};cXc.prototype.Ija=function(a){return a.response.H()};cXc.prototype.a6=function(){};
var dXc=function(a,b,c){nM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||void 0);this.request=b;this.logName="drive.ds.sync.PublishedCategoriesLiveList";this.O=[];this.changed=!1;this.ka=c;this.V=new cXc(this.request,this.ka)};_.K(dXc,nM);_.g=dXc.prototype;_.g.LG=function(){this.V.nh().then(this.qab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return KNc(new gM,this.O).Ac(this.status)};_.g.Rr=function(){return new uNc};_.g.nk=function(){return!this.Oe()&&(!this.H||zIc(this.V))};
_.g.qab=function(a){this.changed=this.H=!0;this.O=a;this.Ut()};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))}};_.g.Zb=function(){return this.O.length};
var eXc=function(a,b,c){nM.call(this,a.He(),a.Fj(),a.wk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceItemQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.V=new _.v7a;this.suggestionSessionId=null;this.ka=c};_.K(eXc,nM);_.g=eXc.prototype;_.g.LG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.ui();a.suggestionSessionId=b.Rf();a.Ut()},this.handleError.bind(this))};
_.g.getData=function(){this.O=this.data;return _.nzc(_.mzc((new _.FK).Ac(this.status),this.data.slice(0)),this.suggestionSessionId)};_.g.Rr=function(){var a=this.V.ky(this.O,this.data);this.O=this.data;var b=(new ONc).Ac(this.status);return _.Fj(b,2,a)};_.g.SO=function(){};_.g.Ut=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))};_.g.Zb=function(){return this.data.length};
var fXc=function(){};_.g=fXc.prototype;_.g.sM=function(a,b){b=nOc(1).setPosition(b);_.I(b,2,a);return b};_.g.rM=function(a,b){b=nOc(2).setPosition(b);_.I(b,2,a);return b};_.g.DE=function(a,b,c){b=nOc(3).Vy(b).setPosition(c);_.I(b,2,a);return b};_.g.pQ=function(a,b){b=nOc(4).setPosition(b);_.I(b,2,a);return b};_.g.OM=function(a){return _.x(a,_.lOc,2)};
var gXc=function(){_.zy.call(this,new fXc,function(a){a:switch(_.Eb(a,_.lM)){case 6:a=_.yy(_.Sj(a,_.xy,6,_.lM)).getTime().toString();break a;case 7:var b=_.Sj(a,_.kM,7,_.lM);a=_.x(b,_.xy,1);b=b.qv();a=a&&b?_.yy(b).getTime()+"--"+_.yy(a).getTime():"";break a;default:a=""}return a})};_.K(gXc,_.zy);var iXc=function(){hXc||(hXc=new gXc);return hXc},hXc;
var jXc=function(a,b,c,d){nM.call(this,b.He(),b.Fj(),b.wk(),d);this.request=a;this.logName="drive.ds.sync.SyncedActivityQueryLiveList";this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.lwc(_.Pj(b.Ic.Vf(),6,1E3));this.ta=c};_.K(jXc,nM);_.g=jXc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.Ut()};_.g.LG=function(){_.P(this.request,3)?this.page():this.poll()};
_.g.ou=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;nM.prototype.ou.call(this,a)};_.g.getData=function(){var a=(new sOc).Ac(this.status);_.Fj(a,2,this.O.slice(0,this.limit));this.ka=_.Aa(this.O);return a};_.g.Rr=function(){var a=iXc().ky(this.ka,this.O),b=new pOc;a=_.Fj(b,2,a).Ac(this.status);this.ka=_.Aa(this.O);return a};_.g.nk=function(){return!this.Oe()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.ld=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.V=!0,this.nk()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).then(function(c){b.H=!0;var d=_.Ab(c,_.lOc,1);b.O=b.O.concat(d);b.token=c.py()||"";0<d.length&&(b.changed=!0);b.Ut();b.page(a)},function(c){b.dispatchEvent(new _.Oc(c));b.V=!1}):(this.V=!1,a&&a.callback(),kXc(this))):this.V=!1};
_.g.poll=function(){var a=this;this.active&&(this.V=!0,this.ta(this.request,this.limit).then(function(b){var c=iXc();a.H=!0;var d=_.Ab(b,_.lOc,1);VK(c,a.O.slice(0,d.length),d)?(a.O=d,a.token=b.py()||"",a.changed=!0,a.Ut(),a.page()):(a.V=!1,kXc(a))},function(b){a.dispatchEvent(new _.Oc(b));a.V=!1}))};_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))}};
_.g.EL=function(){this.Oe()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.SO=function(){this.active&&this.nk()&&!this.V&&this.page(new _.ai)};var kXc=function(a){_.P(a.request,3)||(_.UH(a.ma),_.n.setTimeout((0,_.M)(a.poll,a),a.ma.Ya()))};jXc.prototype.Zb=function(){return this.O.length};
var lXc=function(){};_.g=lXc.prototype;_.g.sM=function(a,b){return uOc(tOc(1),a).setPosition(b)};_.g.rM=function(a,b){return uOc(tOc(2).setPosition(b),a)};_.g.DE=function(a,b,c){return uOc(tOc(3).Vy(b).setPosition(c),a)};_.g.pQ=function(a,b){return uOc(tOc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,_.ZL,2)};
var mXc=function(){_.zy.call(this,new lXc,function(a){return a.getId()})};_.K(mXc,_.zy);var oXc=function(){nXc||(nXc=new mXc);return nXc},nXc;
var pXc=function(a,b,c){nM.call(this,b.He(),b.Fj(),b.wk());this.request=a;this.logName="drive.ds.sync.SyncedBackupsQueryLiveList";this.V=[];this.backups=[];this.changed=!1;this.O=new _.lwc(_.Pj(b.Ic.Vf(),54,1E3));this.ka=c};_.K(pXc,nM);_.g=pXc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.Ut()};_.g.LG=function(){this.poll()};_.g.getData=function(){var a=new COc;a=_.Fj(a,2,this.backups).Ac(this.status);this.V=_.Aa(this.backups);return a};
_.g.Rr=function(){var a=oXc().ky(this.V,this.backups),b=new AOc;a=_.Fj(b,2,a).Ac(this.status);this.V=_.Aa(this.backups);return a};_.g.nk=function(){return!this.Oe()&&!this.H};_.g.poll=function(){var a=this,b=new _.ai;this.ka(this.request).then(function(c){a.H=!0;c=_.Ab(c,_.ZL,2);VK(oXc(),a.backups,c)&&(a.changed=!0,a.backups=c,a.O.reset());a.Ut();b.callback();qXc(a)},function(c){a.dispatchEvent(new _.Oc(c));b.Gd(c);qXc(a)});return b};
_.g.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))}};_.g.SO=function(){};var qXc=function(a){a.active&&(_.n.setTimeout((0,_.M)(a.poll,a),a.O.Ya()),_.UH(a.O))};pXc.prototype.Zb=function(){return this.backups.length};
var rXc=function(){};_.g=rXc.prototype;_.g.sM=function(a,b){return eNc(dNc(1),a).setPosition(b)};_.g.rM=function(a,b){return eNc(dNc(2).setPosition(b),a)};_.g.DE=function(a,b,c){return eNc(dNc(3).Vy(b).setPosition(c),a)};_.g.pQ=function(a,b){return eNc(dNc(4),a).setPosition(b)};_.g.OM=function(a){return _.x(a,_.tk,2)};
var sXc=function(){_.zy.call(this,new rXc,function(a){return a.getId()})};_.K(sXc,_.zy);_.eg(sXc);
var GM=function(a,b,c){_.yi.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.K(GM,_.yi);GM.prototype.Hi=function(a){this.limit=a};GM.prototype.nh=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():tXc(this)};GM.prototype.xka=function(){return this.permissions};
var tXc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.mJ;c=_.I(c,3,a.request);c=_.w(c,2,a.nextPageToken);b=_.w(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};GM.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Vn()||"";a=_.Ab(a.ad(),_.tk,2);this.permissions=_.ya(this.permissions,a);a.length&&this.dispatchEvent("wa");if(this.nextPageToken&&this.permissions.length<this.limit)return tXc(this);this.dispatchEvent("za")};
GM.prototype.handleError=function(a){this.H=!1;a=new $K(_.vI(a),_.Pj(this.context.Ic.Vf(),1,1));this.dispatchEvent(a)};
var uXc=function(a,b,c,d){nM.call(this,b.He(),b.Fj(),b.wk(),d||100);var e=this;this.request=a;this.context=b;this.logName="drive.ds.sync.SyncedPermissionQueryLiveList";this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new GM(b,this.request,this.ma);_.$e(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.K(uXc,nM);_.g=uXc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.Ut()};_.g.LG=function(){this.query()};
_.g.ou=function(a){nM.prototype.ou.call(this,a||100)};_.g.getData=function(){var a=hEc(new ZK,this.permissions.slice(0,this.limit)).Ac(this.status);this.ka=_.Aa(this.permissions);return a};_.g.Rr=function(){var a=sXc.rb().ky(this.ka,this.permissions),b=new lNc;a=_.Fj(b,2,a).Ac(this.status);this.ka=_.Aa(this.permissions);return a};_.g.nk=function(){var a;(a=!this.Oe())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.ld=function(){return this.request};
_.g.query=function(){var a=this;this.O=new GM(this.context,this.request,this.ma);this.O.Hi(this.limit);return this.O.nh().then(function(){return vXc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){nM.prototype.handleError.call(this,a);wXc(this)};var vXc=function(a){a.H=!0;var b=a.O.xka();VK(sXc.rb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Ut();wXc(a)};
uXc.prototype.Ut=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.oi(_.Zc,this))}};uXc.prototype.SO=function(){var a=this;this.O.Hi(this.limit);this.O.nh().then(function(){return vXc(a)},function(b){return a.handleError(b)})};var wXc=function(a){if(a.active){var b=a.context.Ic.Vf();a.V=_.n.setTimeout((0,_.M)(a.query,a),Math.ceil(_.Pj(b,7,9E5)*Math.random())+_.Pj(b,15,36E5))}};uXc.prototype.Zb=function(){return this.permissions.length};
var xXc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.oi(_.Zc,a))},0)};
var yXc=function(){},zXc=function(a,b){BM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=yXc;this.H=null;this.id=String(_.Ea(this))};_.K(zXc,BM);zXc.prototype.E$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(PK(a,b,hM)))};zXc.prototype.nh=function(a){a=void 0===a?yXc:a;if(!this.H){this.O=a;var b=_.Zh();this.H=b;this.send("10.1",[this.request],function(c,d){return PK(c[0],d,hM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
zXc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var AXc=function(a,b,c){_.yi.call(this);var d=this;this.instanceId=a;this.H=b;this.O=c;this.Bu={};this.files={};_.$e(this,function(){d.H("7.6",[])})};_.K(AXc,_.yi);_.g=AXc.prototype;_.g.getId=function(){return this.instanceId};_.g.oQ=function(){return _.eI()};
_.g.upload=function(a,b){!_.B(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.zuc;_.w(d,1,b.size);_.I(a,15,d);this.files[a.ij()]=b}return _.gi(this.H("7.1",[a,c],function(e,f){return PK(e[0],f,_.DJ)}))};_.g.cancel=function(a){this.H("7.2",[a])};_.g.bG=function(){this.H("7.3",[])};
_.g.retry=function(a){for(var b={},c=_.m(a),d=c.next();!d.done;d=c.next())b[d.value]=new _.ai;c=this.oQ();this.Bu[c]=b;b=_.Va(b);this.H("7.4",[c].concat(_.Jd(a)));return b};_.g.qM=function(a,b){var c=this;return _.gi(this.H("7.5",[a].concat(_.Jd(b)),function(d){return AAc(d[0])}).then(function(d){return c.O.addCallback(function(e){return e.m3a(d)})}))};var BXc=function(a,b,c,d){if(a.Bu[b]&&a.Bu[b][c]){var e=a.Bu[b][c];d instanceof _.DJ?e.callback(d):e.Gd(d);delete a.Bu[b][c];_.Za(a.Bu[b])&&delete a.Bu[b]}};
var CXc=function(a,b){BM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.K(CXc,BM);var DXc=function(a){var b=_.eI(),c=new AXc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.$e(c,function(){return void a.H.delete(b)});return c};
CXc.prototype.E$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.files[d];a.H("7.7",[d,_.Rsc(c,b,Math.min(c.size,b+e))]);break;case 0:b=PK(e[1],b,_.DJ);BXc(a,d,e[0],b);break;case 1:b=new _.Nc(void 0,PK(e[1],b,_.Lc));BXc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.Kwc(d,e[0],e[1]));break;default:throw Error("Lg");}}};
var EXc=function(a,b){if(0===a.length)throw new _.Nc("mutateUserPref requires a namespace.",_.GI(3));var c=null;b instanceof _.gD?c=(b=(b=_.x(b,_.Zo,1))&&b.getKey())&&_.$o(b)||null:b instanceof _.fD&&(c=(b=b.getKey())&&_.$o(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.Nc("mutateUserPref unsupported for namespace: "+c,_.GI(3));};
var FXc=function(a){this.H=a};
var eBc=function(a){BM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(GXc=_.Zh()).promise);var b=this;this.ta=null;this.Pa=this.Ta=this.$a=this.ma=!1;this.ha=this.ka=this.W=null;this.hb=new _.pn;this.Ja=new _.pn;this.V=GXc;GXc=void 0;this.context=a;DVc(this.context,new bXc(this.V.promise));UDc(this.context.Gg,_.ie(this.context.Ic,28));this.H=this.context.qfa;this.O=new eWc(this.V.promise,this.context,this.H);this.ob=new CXc(this.V.promise,this.context.aQ);this.Ha=new $Wc(this.V.promise,this.context);
this.Rc=new _.jf(this);this.La(this.Rc);this.Rc.listen(this.context.wk(),[].concat(_.Jd(Object.values(_.LB))),function(c){return void b.dispatchEvent(c)})},GXc;_.K(eBc,BM);
eBc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.wa.promise;var b=this.context.jk().H(106E3);this.ta.then(function(){b&&b.vj();a.c2a()},function(){_.oK(a.context.jk(),181008852)});this.context.He().info("drive.ds.sync.ItemServiceProxy","Initializing "+(_.TJ(this.context.Ic)?"(coldstart) ":"")+"with client build: "+this.context.Ic.Oi());var c=mAc(this.context.Ic,this.Qi(),_.ZJ(this.context.Gg));HXc(this,c);if(2===c.H){var d=new FM(new ZVc,6,this.context.He());UWc(d,c.O);this.Ja.resolve(d)}else HAc(this.Ha);
this.context.He().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+c.endpoint);c.channel.start();BVc(this.context,function(){return IXc(c.channel)})}return this.ta};
var IXc=function(a){return _.Xja([new _.Uh(function(b){a.isDisposed()||sL(a,"8.1",void 0,function(){a.dispose();b()})}),_.Ci(1E4)])},HXc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Qi(),fds:_.ZJ(a.context.Gg)}}):c.registerService("1.1",function(){return JXc(a,b)});2===b.H?a.Ja.promise.then(function(){return void KXc(a,b)}):KXc(a,b);rL(c,"2.1",function(){return{dsc:a.context.Ic.Gc()}});rL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new YVc(d.id,
c,a.context.He(),d.clients)),d.dsp&&LXc(c),d.ivd&&MXc(a,c)):(d=new _.Lc(JSON.parse(d.err)),a.wa.reject(new _.Nc("Unable to initialize dataservice.",d)))});rL(c,"2.15",function(d){a.dispatchEvent(new JOc(d.dt))});rL(c,"2.5",function(d){a.context.Xy(d.id)});rL(c,"2.6",function(d){a.context.Fj().Jl(d.os)});rL(c,"2.18",function(d){a.context.Fj().Uy(d.oois)});rL(c,"2.7",function(){a.ma=!1});rL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new LEc(d.au?"pb":"qb"))});rL(c,"2.19",function(d){a.context.wk().update(d.cs)});
rL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.ot("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.He().config(e,d);break;case "fine":_.WJ(a.context.He(),e,d,"fine");break;case "finer":_.WJ(a.context.He(),e,d,"finer");break;case "finest":_.WJ(a.context.He(),e,d,"finest");break;case "info":a.context.He().info(e,d);break;case "warning":case "severe":QDc(a.context.He(),e,d);break;default:QDc(a.context.He(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),QDc(a.context.He(),
e,d)}});rL(c,"2.10",function(d){return void a.B$(d)});rL(c,"2.12",function(){a.Pa=!0;HM(a)});rL(c,"2.14",function(){return a.hb.resolve()});rL(c,"2.16",function(){return a.$a=!0});rL(c,"2.17",function(d){a.context.He().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},KXc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",JXc(a,b));sL(b.channel,"8.4",{dsc:a.context.Ic.Gc()});LXc(b.channel);MXc(a,b.channel)},LXc=function(a){_.n._DRIVE_dsp&&sL(a,"8.3",{dsp:NXc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];sL(a,"8.3",{dsp:NXc(c)})}}},MXc=function(a,b){_.Q(a.context.Ic,24,!1)&&(_.n._DRIVE_ivd?sL(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&sL(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},JXc=function(a,b){var c={};if(1===b.H){var d=new _.LNa(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.Ic.Oi(),
ufds:b.V}};eBc.prototype.Qi=function(){var a=_.Gj(_.Gj(_.bI(this.context.Ic.clone(),28),44),91),b=new _.NH;b.update(_.RJ(_.YH(a)));b.update(String(_.wI(_.YH(a))));b.update(a.Gc());return _.Uqc(b.digest())};var NXc=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=eBc.prototype;_.g.B$=function(a){this.dispatchEvent(new _.Oc(new _.Nc(void 0,new _.Lc(JSON.parse(a.p)))))};
_.g.query=function(a){HM(this);gGc(this.context.wm,a,SDc(this.context.Gg));this.iF();var b=this.O.gxa(a);this.Ta||(a=a.se(),a&&121===_.B(a,1)||(this.Ta=!0,this.Rc.listen(b,_.Zc,this.SMa)));return b};_.g.SMa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Ha.H=this.$a,this.Rc.Tc(a,_.Zc,this.SMa))};_.g.Rs=function(a){HM(this);GEc(a);this.iF();return this.O.dxa(a)};
_.g.hva=function(a,b){var c=this;HM(this);if(this.ka&&_.Oj(this.ka.ld(),a))return this.ka;this.ka=new jXc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return PK(h[0],k,IOc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.pGa=function(a,b){var c=this;HM(this);if(this.ha&&_.Oj(this.ha.ld(),a))return xXc(this.ha),this.ha;this.ha=new uXc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return PK(e[0],f,mNc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.$$=function(a){HM(this);return _.gi(this.send("3.14",[a],function(b,c){return PK(b[0],c,eM)}))};_.g.n8=function(a){HM(this);return _.gi(this.send("3.15",[a],function(b,c){return PK(b[0],c,eM)}))};
_.g.hd=function(a){HM(this);!this.ma&&_.EJ(a)&&(this.ma=!0);a=oAc(a);return _.gi(this.send("3.3",[a],function(b,c){return PK(b[0],c,_.DJ)}))};_.g.NN=function(a){HM(this);a=yAc(a);return this.send("3.35",[a],function(b,c){return PK(b[0],c,_.KEc)})};_.g.sC=function(a){HM(this);for(var b=0;b<a.length;b++)!this.ma&&_.EJ(a[b])&&(this.ma=!0);a=rAc(a);return _.gi(this.send("3.4",[a],function(c,d){return wGc(c[0],d).get()}))};_.g.cxa=function(){HM(this);return DXc(this.ob)};
_.g.LSa=function(a){HM(this);return new aXc(this.V.promise,a)};_.g.kr=function(a,b){var c=this;HM(this);var d=_.ch();this.H.create(d,a);return _.gi(this.send("3.5",[a,!!b],function(e,f){f=PK(e[0],f,uL);return new _.jK(f,e[1],e[2])})).addCallback(function(e){QGc(c.H,d,e);return e.response}).Cg(function(e){tL(c.H,d);return e})};_.g.jr=function(a){HM(this);return this.send("3.10",[a],function(b,c){return PK(b[0],c,jNc)})};
_.g.baa=function(a){HM(this);return _.gi(this.send("3.11",[a],function(b,c){return PK(b[0],c,nNc)}))};_.g.l8=function(a){HM(this);return _.gi(this.send("3.12",[a],function(b,c){return PK(b[0],c,nNc)}))};_.g.cT=function(a){HM(this);return _.gi(this.send("3.13",[a],function(b,c){return PK(b[0],c,nNc)}))};
_.g.jN=function(a,b){var c=this;HM(this);var d=_.ch();this.H.create(d,a);return _.gi(this.send("3.1",[a,!!b],function(e,f){f=PK(e[0],f,_.jM);return new _.mK(f,e[1],e[2])})).addCallback(function(e){QGc(c.H,d,e);return e.response}).Cg(function(e){tL(c.H,d);return e})};
_.g.JG=function(a,b){var c=this,d=_.ie(this.context.Ic.Vf(),30);if(!d||0===d.length)return _.hi(new _.Nc("getUserPrefs requires a namespace.",_.GI(3)));0===_.ie(a,3).length&&IAc(a,d);HM(this);var e=_.ch();this.H.create(e,a);return _.gi(this.send("3.2",[a,!!b],function(f,h){h=PK(f[0],h,_.Nz);return new _.lK(h,f[1],f[2])})).addCallback(function(f){QGc(c.H,e,f);return f.response}).Cg(function(f){tL(c.H,e);return f})};
_.g.aS=function(a){HM(this);EXc(_.ie(this.context.Ic.Vf(),30),a);a=vAc(a);return this.send("3.6",[a],function(b,c){return PK(b[0],c,oNc)})};_.g.Vr=function(a){HM(this);return _.gi(this.send("3.16",[a],function(b,c){return PK(b[0],c,jEc)}))};_.g.SBa=function(){return this.ma};_.g.Jl=function(a){HM(this);this.send("3.8",[a])};_.g.Uy=function(a){HM(this);return _.Vh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.iY=function(a){HM(this);CVc(this.context).iY(a);this.Uy(!!a)};
_.g.iF=function(){HM(this);this.send("3.9",[])};_.g.cS=function(){HM(this);this.send("3.41",[]);this.context.cS();var a=YK(this.context.jk(),106006);a&&this.V.promise.then(function(b){var c=_.x(_.eK(a),tDc,6);if(!c){c=new tDc;var d=_.eK(a);_.I(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.O);a.vj()},function(){})};_.g.xB=function(){HM(this);return this.context.xB()};_.g.hQ=function(){HM(this);return _.Vh(this.send("3.19",[],function(a,b){return PK(a[0],b,BGc)}))};_.g.isConnected=function(){return this.context.wk().isConnected()};
_.g.I7=function(){return this.send("3.46",[],function(a,b){return PK(a[0],b,_.gwc)})};_.g.A9=function(){return this.Ha};_.g.sync=function(){HM(this);return _.Vh(this.send("3.28",[]))};_.g.Eu=function(){return this.context.Eu()};_.g.fY=function(a){this.Ja.promise.then(function(b){return void b.fY(a)})};_.g.Ipa=function(a){HM(this);return this.O.nxa(a)};_.g.N4=function(a){HM(this);return this.O.mxa(a)};_.g.mGa=function(a){HM(this);jGc(this.context.wm,a,SDc(this.context.Gg));return this.O.jxa(a)};
_.g.Jpa=function(a){HM(this);return new zXc(this.V.promise,a)};_.g.Tva=function(a){var b=this;HM(this);if(!this.W||this.W.isDisposed())this.W=new pXc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return PK(d[0],e,COc)})});return this.W};_.g.XGa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Vh()};_.g.m8=function(a){HM(this);return _.gi(this.send("3.22",[a],function(b,c){return PK(b[0],c,DOc)}))};
_.g.uV=function(a){HM(this);return _.gi(this.send("3.25",[a],function(b,c){return PK(b[0],c,yOc)}))};_.g.oba=function(){return this.hb.promise};_.g.Pna=function(a){var b=_.Zh();_.gi(this.send("3.30",[a],function(c,d){c[0]?b.resolve(PK(c[0],d,FOc)):b.reject(new _.Nc(void 0,PK(c[1],d,_.Lc)))})).Cg(function(c){return void b.reject(c)});return b.promise};_.g.uwa=function(a){HM(this);return this.O.$wa(a)};_.g.C7=function(a){HM(this);return this.send("3.42",[a],function(b,c){return PK(b[0],c,AMc)})};
_.g.UO=function(a){HM(this);var b=new _.pn;this.send("3.39",[a],function(c,d){return c.map(function(e){return PK(e,d,hHc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new FXc(b.promise))};_.g.HGa=function(a){var b=this;HM(this);return new dXc(this.context,a,function(c){return _.Vh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new yGc(PK(d[0],e,gM),d[1])}))})};
_.g.IGa=function(a){HM(this);return this.send("3.38",[a],function(b,c){return PK(b[0],c,LNc)})};_.g.lLa=function(a){HM(this);return this.O.rxa(a)};_.g.Dqa=function(a){HM(this);return this.O.qxa(a)};_.g.KJa=function(a){var b=this;HM(this);return new eXc(this.context,a,function(){return _.Vh(b.send("3.40",[a],function(c,d){return PK(c[0],d,_.FK)}))})};_.g.LJa=function(a){HM(this);return this.O.kxa(a)};_.g.x_=function(a){HM(this);this.send("3.43",[a])};
_.g.$_=function(a){HM(this);return _.Vh(this.send("3.44",[a],function(b,c){return PK(b[0],c,VEc)}))};_.g.Jo=function(a){HM(this);if(1!==_.SJ(this.context.Ic))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Ng"));if(!c.Wk()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",a))};
_.g.c2a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Ci(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Xja(b).then(function(c){c?_.Ai(a.c2a.bind(a),6E4):(a.Pa=!0,HM(a))})}};var HM=function(a){a.Pa&&a.dispatchEvent(new hPc)};
var gBc=function(a){pM.call(this,a);this.ha=this.ka=this.ta=null;this.hb=_.Zh();this.logName="drive.ds.sync.SyncedItemService";this.H=a.Pm()};_.K(gBc,pM);gBc.prototype.wSa=function(){this.Ha=new kWc(this.context);this.La(this.Ha);this.Ja=new oWc(this.context);this.La(this.Ja);this.Pa=new vWc(this.context);this.La(this.Pa)};
gBc.prototype.$a=function(){var a=this,b=["hVFf7"];_.TJ(this.context.Ic)&&b.push("BNEDtc");zL(this.O,b,function(){return void a.xXa()});zL(this.O,["T8oKm","ZA9qG"],function(){return void OXc(a)});zL(this.O,["T8oKm","mrK8ic"],function(){return void OXc(a)});this.Rc.listen(this.Ha,"WPi0i",this.Isa.bind(this,1));this.Rc.listen(this.Ja,"Mb",this.Isa.bind(this,2));this.Rc.listen(this.Pa,"WPi0i",this.Isa.bind(this,4));zL(this.O,["GZTDpc"],function(){return a.hb.resolve()})};var OXc=function(a){tM(a.context).addCallback(function(b){b.start()})};
_.g=gBc.prototype;_.g.Isa=function(a){_.oa(WEc,a)&&this.dispatchEvent(new JOc(a))};_.g.N4=function(a){return this.V.mxa(a.clone())};_.g.mGa=function(a){jGc(this.context.wm,a,SDc(this.context.Gg));return this.V.jxa(a.clone())};_.g.Ipa=function(a){return this.V.nxa(a.clone())};_.g.Jpa=function(a){return new MWc(a,this.context.Pm())};
_.g.hva=function(a,b){var c=this;if(this.ta&&_.Oj(this.ta.ld(),a))return this.ta;this.ta=new jXc(a.clone(),this.context,this.ikb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.ikb=function(a,b,c){var d=new _.otc(a,b,c);return _.gi(this.H.then(function(e){return e.Pe(d)}).tg(function(e){return _.II(e)}))};_.g.Tva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new pXc(a,this.context,function(c){return PXc(b,c)});return this.ha};var PXc=function(a,b){return _.gi(a.H.then(function(c){return c.Pe(b)}).tg(function(c){return _.II(c)}))};
_.g=gBc.prototype;_.g.XGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Vh()};_.g.uV=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}))};_.g.m8=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}))};_.g.pGa=function(a,b){var c=this;if(this.ka&&_.Oj(this.ka.ld(),a))return xXc(this.ka),this.ka;this.ka=new uXc(a.clone(),this.context,this.CLb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.CLb=function(a){var b=this;return this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.mI(b.context.Ic)?nIc(b.context.Af.tq,_.Ab(c.ad(),_.tk,2),a.ld().getId()).then(function(){return c}):c},_.II)};_.g.$$=function(a){var b=this;return _.gi(this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.mI(b.context.Ic)?nIc(b.context.Af.tq,[_.x(c,_.tk,2)],a.qc()).then(function(){return c}):c},_.II))};
_.g.n8=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};_.g.uwa=function(a){return this.V.$wa(a.clone())};_.g.C7=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.II)};_.g.UO=function(a){return this.H.then(function(b){return b.Pe(a)}).then(function(b){var c=new _.pn;xIc(a,b).then(function(d){return c.resolve(d)});return new FXc(c.promise)},function(b){return void _.II(b)})};_.g.HGa=function(a){var b=this;return new dXc(this.context,a,function(c){return b.H.then(function(d){return d.Pe(c)}).tg(function(d){return _.II(d)})})};
_.g.IGa=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.II)};_.g.hd=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};_.g.NN=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.II)};_.g.sC=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.KI?c.push(String(f.qc())):c.push(String(f.getId()));d.push(b.hd(f))});a=new _.fo(d);var e=new _.ai;a.addCallback(this.Mmb.bind(this,e,c));return e};
_.g.cxa=function(){return new BWc(this.context.Ic,this.context.NA,this.context.aR().pfa,this.context.Pm(),this.context.aQ,this.context.He(),this.context.jk())};_.g.kr=function(a,b){var c=this,d=_.ch();this.W.create(d,a);3===a.getType()?a=pM.prototype.kr.call(this,a).addCallback(function(e){return new _.jK(e,1,!1)}):(AL(this.O,"Qubz4b"),a=this.Ja.enqueue(new tWc(a,b)));return a.addCallback(function(e){QGc(c.W,d,e);return e.response}).Cg(function(){tL(c.W,d)})};
_.g.jr=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};_.g.baa=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};_.g.l8=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};_.g.cT=function(a){return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};
_.g.jN=function(a,b){var c=this;AL(this.O,"iuEtc");var d=_.ch();this.W.create(d,a);return this.Ha.enqueue(new mWc(a,b)).addCallback(function(e){QGc(c.W,d,e);return e.response}).Cg(function(){tL(c.W,d)})};
_.g.JG=function(a,b){var c=this,d=_.ie(this.context.Ic.Vf(),30);if(!d||0===d.length)return _.hi(new _.Nc("getUserPrefs requires a namespace.",_.GI(3)));0===_.ie(a,3).length&&IAc(a,d);var e=_.ch();this.W.create(e,a);AL(this.O,"OZvrNc");return this.Pa.enqueue(new yWc(a,b)).addCallback(function(f){QGc(c.W,e,f);return f.response}).Cg(function(){tL(c.W,e)})};_.g.aS=function(a){EXc(_.ie(this.context.Ic.Vf(),30),a);return _.gi(this.H.then(function(b){return b.Pe(a)}).then(null,_.II))};
_.g.Vr=function(a){var b=this;return _.gi(this.H.then(function(c){return c.Pe(a)}).then(function(c){return _.mI(b.context.Ic)?lIc(b.context.Af.tq,c):c},_.II))};_.g.lLa=function(a){return this.V.rxa(a.clone())};_.g.Dqa=function(a){return this.V.qxa(a.clone())};_.g.KJa=function(a){var b=this;return new eXc(this.context,a,function(c){return b.H.then(function(d){return d.Pe(c)}).tg(function(d){return _.II(d)})})};_.g.LJa=function(a){return this.V.kxa(a.clone())};
_.g.x_=function(a){$Qc(this.context.Af,[a])};_.g.$_=function(a){return this.H.then(function(b){return b.Pe(a)}).then(null,_.II)};_.g.Jo=function(a){if(1!==_.SJ(this.context.Ic))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Ng"));if(!c.Wk()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.Af.Jo(a);KRc(this.context.Af);return Promise.resolve()};_.g.SBa=function(){return this.context.aR().eK()};
_.g.Uy=function(a){var b=this;return this.context.Uy(a).then(function(c){return c?(b.context.Fj().Uy(a),b.context.Hs.hL()):_.Vh(!a)})};_.g.iY=function(a){CVc(this.context).iY(a);this.Uy(!!a)};_.g.iF=function(){tM(this.context).addCallback(function(a){a&&a.toa()});this.context.$ga.iF()};_.g.fY=function(a){a.fNa(this.context)};_.g.Mmb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];KRc(this.context.Af);a.callback(d)};
_.g.sync=function(){var a=this;return _.Xh([this.context.X$.promise,this.context.rfa.promise]).then(function(){return a.context.Hs.hL()}).then()};_.g.Eu=function(){tM(this.context).addCallback(function(a){a&&a.dispose()});return pM.prototype.Eu.call(this)};_.g.oba=function(){return this.hb.promise};
var QXc=function(){var a='<div class="'+_.E("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.E("la-Y-A")+" "+_.E("kc-A")+'" data-target="reload">');return(0,_.F)(a+"Reload</button>")};
_.nn({id:_.il,callback:function(a){var b=_.pzc(a),c=jBc(a),d=_.x(a.get(_.rd),_.kc,10);_.uuc(d,b);_.Dj(d,28,c);b=hBc(a,d);a.registerService(_.jl,b.A9());_.si(b,"VbxEwf",function(){var e={};_.Wc(_.Br.getService(a),new _.oq(new _.nq(QXc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.u();

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

_.RXc=function(a,b){return _.w(a,2,b)};_.SXc=function(a,b){return _.w(a,1,b)};_.TXc=function(a,b){return _.I(a,2,b)};_.UXc=function(a,b){return _.Fj(a,1,b)};_.VXc=function(a,b){return _.Dj(a,1,b)};_.WXc=function(a,b){return _.Fj(a,2,b)};_.XXc=function(a,b){return _.I(a,3,b)};

_.u();

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