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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.$sb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.btb=function(a,b,c,d){var e=_.Ge.getService(a);a=e.mg(a,c);_.atb(a.H.Ek,b,d);e.Zf(a)};_.atb=function(a,b,c){var d=new _.ctb;b.NU&&_.A(d,2,b.NU);b.hG&&0<=b.hG&&_.A(d,1,b.hG);b.quotaType&&_.A(d,3,b.quotaType);_.dtb(a,d);c&&(b=new _.etb,_.A(b,1,c),_.ftb(a,b))};_.gtb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.htb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.dtb=function(a,b){b&&(a=a.ad(),_.J(a,29,b))};_.ftb=function(a,b){b&&(a=a.ad(),_.J(a,38,b))};_.ctb=function(a){_.O(this,a,-1,null,null)};_.L(_.ctb,_.K);_.etb=function(a){_.O(this,a,-1,null,null)};_.L(_.etb,_.K);_.etb.prototype.Nh=function(){return _.B(this,1)};_.itb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Pn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Es:e,size:f,Xd:h},a))};_.t("sy11r");
_.ktb=function(a,b,c){var d=_.E(a.get(_.cDa),1,""),e=_.$sb(b);d=new _.bj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.gj(_.ij(_.ij(_.ij(_.ij(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.jtb(a,e,c)),-1!=parseInt(String(_.C(b,_.Cx,2)),10)?"upgrade":"")};
_.jtb=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"}}};
_.ltb=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"};

_.w();

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

var Xzb=_.jtb,Yzb=_.ktb,Zzb=_.ltb;_.jtb=function(a,b,c){return"over"==b&&_.Rl(a.get(_.Xb))?"widget_trial":Xzb(a,b,c)};_.ktb=function(a,b,c){c=Yzb(a,b,c);"over"===_.$sb(b)&&_.Rl(a.get(_.Xb))&&_.ij(c,"eft","1");return c};_.ltb=function(a,b,c){b=Zzb(a,b,c);a=_.Rl(a.get(_.Xb));return"g1_settings_oos"===b&&a?"g1_settings_trial":"g1_widget_oos"===b&&a?"g1_widget_trial":b};

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var Rsb,Usb;Rsb=[4,5,6,7];_.YA=function(a){_.O(this,a,-1,null,null)};_.L(_.YA,_.K);_.YA.prototype.Ab=function(){return _.B(this,1)};_.YA.prototype.Dc=function(a){return _.A(this,1,a)};_.YA.prototype.z$=function(){return _.B(this,2)};_.YA.prototype.Xb="JmcaR";_.Ssb=function(a){_.O(this,a,-1,null,null)};_.L(_.Ssb,_.K);_.Ssb.prototype.O=function(){return _.R(this,1)};_.Ssb.prototype.Xb="dvhrqe";_.Tsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Tsb,_.K);_.Tsb.prototype.cu=function(){return _.B(this,2)};
_.Tsb.prototype.FWa=function(){return _.B(this,3)};Usb=[5];_.Vsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Vsb,_.K);_.Vsb.prototype.setActive=function(a){return _.A(this,4,a)};_.Wsb=function(a){_.O(this,a,-1,Usb,null)};_.L(_.Wsb,_.K);_.g=_.Wsb.prototype;_.g.a_=function(){return _.B(this,1)};_.g.QT=function(){return _.B(this,3)};_.g.cR=function(){return _.Uj(this,_.Tsb,5)};_.g.un=function(){return _.B(this,6)};_.g.gv=function(){return _.B(this,7)};_.g.hy=function(){return _.B(this,10)};
_.g.xAb=function(){return _.P(this,16)};_.g.Xb="dzR11e";_.Xsb=function(a){_.O(this,a,-1,Rsb,null)};_.L(_.Xsb,_.K);_.Xsb.prototype.O=function(){return _.C(this,_.Wsb,1)};_.Xsb.prototype.gN=function(){return _.C(this,_.YA,8)};_.Xsb.prototype.V=function(){return _.C(this,_.Ssb,9)};_.t("sy11n");
_.ZA=function(a){_.O(this,a,-1,Ysb,null)};_.L(_.ZA,_.K);_.ZA.prototype.getUser=function(){return _.C(this,_.Fk,1)};_.ZA.prototype.getMetadata=function(){return _.C(this,_.Xsb,3)};_.ZA.prototype.To=function(){return _.P(this,3)};var Ysb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11o");
var Glb;_.Zz=function(a){_.O(this,a,-1,Glb,null)};_.L(_.Zz,_.K);_.Zz.prototype.O=function(){return _.Md(this,1)};_.$z=function(a,b){return _.Kj(a,1,b)};_.Zz.prototype.hn=function(){return _.Md(this,2)};_.aA=function(a,b){return _.Kj(a,2,b)};_.Zz.prototype.xe=function(){return _.C(this,_.lf,3)};_.bA=function(a,b){return _.J(a,3,b)};_.Hlb=function(a,b){return _.A(a,5,b)};Glb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.$A=function(a){return a instanceof _.lc?a:a instanceof _.kc?new _.lc(void 0,a):a instanceof Error?new _.lc(a.message,void 0,a):new _.lc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.Zsb=function(a){return a instanceof Error?_.$A(a).Pg:a instanceof _.lc?a.Pg:a};_.t("sy11q");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11s");
_.aB={AL:"eb",jha:"fb",rU:"gb",qU:"hb"};_.mtb=new Map([[_.aB.AL,1],[_.aB.jha,2],[_.aB.rU,2],[_.aB.qU,3]]);

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var $wb;_.Zwb=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")};$wb=function(a){var b=_.paa(_.nEa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.axb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.nEa[a.name]):(this.code=a=a.code,this.name=$wb(a));_.ea.call(this,_.Zwb("%s %s",this.name,b))};_.If(_.axb,_.ea);var bxb=function(a,b){_.gi.call(this,a.type,b)};
_.If(bxb,_.gi);_.t("sy15g");
/*

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy168");
_.vC=function(a){_.O(this,a,-1,null,null)};_.L(_.vC,_.K);_.vC.prototype.ka=function(){return _.Hj(this,1)};_.vC.prototype.V=function(){return _.Hj(this,2)};_.vC.prototype.O=function(){return _.Hj(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Crb=function(a){_.O(this,a,-1,null,null)};_.L(_.Crb,_.K);_.Crb.prototype.O=function(){return _.B(this,1)};_.Crb.prototype.Ab=function(){return _.B(this,2)};_.Crb.prototype.Dc=function(a){return _.A(this,2,a)};_.Crb.prototype.V=function(){return _.B(this,3)};_.t("sy17s");
_.Erb=function(a){_.O(this,a,-1,Drb,null)};_.L(_.Erb,_.K);_.Erb.prototype.O=function(){return _.Md(this,1)};var Drb=[1];
_.Grb=function(a){_.O(this,a,-1,Frb,null)};_.L(_.Grb,_.K);_.Grb.prototype.O=function(){return _.Uj(this,_.Crb,1)};var Frb=[1];
_.Irb=function(a){_.O(this,a,-1,Hrb,null)};_.L(_.Irb,_.K);_.Irb.prototype.O=function(){return _.Uj(this,_.Grb,1)};var Hrb=[1];
_.Jrb=function(a){_.O(this,a,-1,null,null)};_.L(_.Jrb,_.K);_.Jrb.prototype.V=function(){return _.C(this,_.Irb,1)};_.Jrb.prototype.O=function(){return _.C(this,_.Erb,2)};
_.QA=function(a){_.O(this,a,-1,Krb,null)};_.L(_.QA,_.K);_.g=_.QA.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Fd=function(){return _.Uj(this,_.Yk,2)};_.g.Qw=function(a){return _.Nj(this,2,a)};_.g.lh=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.g.$j=function(){return _.B(this,3)};_.g.jl=function(){return _.S(this,5,!0)};_.g.l6=function(){return _.C(this,_.Jrb,7)};_.g.Asa=function(){return _.R(this,8)};_.g.Vf=function(){return _.B(this,17)};
_.g.CP=function(a){return _.A(this,17,a)};_.g.jf=function(){return _.B(this,12)};_.g.kj=function(a){return _.A(this,12,a)};_.g.Un=function(){return _.B(this,15)};_.g.Aka=function(){return _.Md(this,18)};var Krb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18z");
_.jD=function(a){_.O(this,a,-1,null,null)};_.L(_.jD,_.K);_.jD.prototype.getKey=function(){return _.C(this,_.Ob,1)};_.jD.prototype.ws=function(){return _.P(this,1)};_.jD.prototype.xe=function(){return _.C(this,_.lf,2)};
_.kD=function(a){_.O(this,a,-1,null,null)};_.L(_.kD,_.K);_.kD.prototype.xe=function(){return _.C(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy190");
_.iD=function(a){_.O(this,a,-1,tBb,null)};_.L(_.iD,_.K);_.iD.prototype.xe=function(){return _.C(this,_.lf,1)};var tBb=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.AD=function(a,b,c){_.N.call(this);this.Hn=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Ig=(0,_.v)(this.I$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.If(_.AD,_.N);_.g=_.AD.prototype;_.g.ve=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Gf()+this.ka:this.H=_.ti(this.Ig,this.ka)};_.g.stop=function(){this.H&&(_.ui(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Hn.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.AD.ub.Xa.call(this)};_.g.I$a=function(){this.H&&(_.ui(this.H),this.H=null);this.W?(this.H=_.ti(this.Ig,this.W-_.Gf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Hn.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bi");
_.GF=function(a){_.O(this,a,-1,null,null)};_.L(_.GF,_.K);_.GF.prototype.getName=function(){return _.B(this,1)};_.GF.prototype.jd=function(a){return _.A(this,1,a)};_.GF.prototype.xe=function(){return _.C(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bj");
_.HF=function(a){_.O(this,a,-1,null,null)};_.L(_.HF,_.K);_.g=_.HF.prototype;_.g.Mi=function(){return _.B(this,1)};_.g.xi=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.xe=function(){return _.C(this,_.lf,3)};_.g.Pp=function(){return _.B(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bk");
_.IF=function(a){_.O(this,a,-1,null,null)};_.L(_.IF,_.K);_.IF.prototype.Mi=function(){return _.B(this,1)};_.IF.prototype.xi=function(a){return _.A(this,1,a)};_.IF.prototype.xe=function(){return _.C(this,_.lf,2)};_.IF.prototype.Xb="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bl");
var HTb;_.JF=function(a){_.O(this,a,-1,HTb,null)};_.L(_.JF,_.K);_.JF.prototype.O=function(){return _.Md(this,1)};_.JF.prototype.hn=function(){return _.Md(this,2)};_.ITb=function(a,b){return _.Kj(a,2,b)};_.JF.prototype.xe=function(){return _.C(this,_.lf,3)};_.JTb=function(a,b){return _.J(a,3,b)};HTb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.KF=function(a){_.O(this,a,-1,null,null)};_.L(_.KF,_.K);_.g=_.KF.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.B(this,5)};_.g.Nd=function(a){return _.A(this,5,a)};_.g.ot=function(){return _.P(this,5)};_.t("sy1bm");
_.LF=function(a){_.O(this,a,-1,KTb,null)};_.L(_.LF,_.K);_.LF.prototype.hn=function(){return _.Md(this,1)};_.LTb=function(a,b){return _.Kj(a,1,b)};_.LF.prototype.xe=function(){return _.C(this,_.lf,2)};var KTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.PF=function(a,b){return _.A(a,4,b)};_.MTb=function(a,b){_.A(a,11,b)};_.NTb=function(a,b){return _.A(a,25,b)};_.t("sy1bn");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.VF=function(a){return _.B(a,11)};_.t("sy1bq");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1br");
_.WF=function(a){_.O(this,a,-1,null,null)};_.L(_.WF,_.K);_.WF.prototype.Cc=function(){return _.B(this,1)};_.HUb=function(a){var b=new _.WF;return _.A(b,1,a)};_.WF.prototype.Mi=function(){return _.B(this,2)};_.WF.prototype.xi=function(a){return _.A(this,2,a)};_.WF.prototype.xe=function(){return _.C(this,_.lf,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.fbc=function(a,b,c){_.Zi(a.url,function(d){d=d.target;d.ru()?b(d.Tk()):c(d.Ab())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.gbc=function(a,b,c,d){return _.E(a,1).split("/").pop()==d?(d=_.B(a,2),Array.isArray(d)?new b(d):c(_.ob(a.Ya()))):null};_.t("sy1f8");
_.ibc=function(a){_.O(this,a,-1,hbc,null)};_.L(_.ibc,_.K);var hbc=[2];
_.jbc=function(a){_.O(this,a,-1,null,null)};_.L(_.jbc,_.K);var kbc=function(){var a=new _.jbc,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.jbc.prototype.Ki=function(){return _.B(this,7)};
_.lbc=function(a){_.O(this,a,-1,null,null)};_.L(_.lbc,_.K);
var mbc;_.sH=function(a){_.O(this,a,31,mbc,null)};_.L(_.sH,_.K);_.tH=function(a,b){return _.A(a,8,b)};mbc=[3,20,27];
var obc=function(a){_.O(this,a,17,nbc,null)};_.L(obc,_.K);var pbc=function(a){var b=Date.now().toString();return _.A(a,4,b)},qbc=function(a,b){return _.Nj(a,3,b)},rbc=function(a,b){return _.A(a,14,b)},nbc=[3,5];
var tbc=function(a){_.O(this,a,6,sbc,null)};_.L(tbc,_.K);var sbc=[5];
var ubc=function(a){_.O(this,a,-1,null,null)};_.L(ubc,_.K);
var vbc=new _.tk(175237375,ubc);
_.uH=function(a,b,c,d,e,f,h,k,l,p,q){_.ri.call(this);var r=this;this.Ja="";this.O=[];this.Lc="";this.Mb=this.Sb=this.ha=!1;this.Uc=this.kb=-1;this.uc=!1;this.Fa=this.V=null;this.va=0;this.te=1;this.nb=!1;_.ri.call(this);this.Xc=a;this.yb=b||_.Ef;this.ka=new obc;this.Bd=d;this.Gb=q;this.Ae=_.wb(_.Ria,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Yd=!k;this.Ec=f||!1;this.ne=!this.Ec&&(_.rj.rn&&_.yb(65)||_.rj.Pw&&_.yb(45)||_.rj.Tv&&_.yb(12)||_.Tg()&&0<=_.dg(_.oia(),12))&&!!_.jf()&&
!!_.jf().navigator&&!!_.jf().navigator.sendBeacon;a=_.A(new _.lbc,1,1);f||(f=kbc(),_.J(a,11,f));_.J(this.ka,1,a);_.A(this.ka,2,this.Xc);this.ma=new _.qH(1E4,3E5,.1);this.H=new _.si(this.ma.Ya());this.Ma(this.H);_.ue(this.H,"tick",_.Wfa(wbc(this,p)),!1,this);this.Ta=new _.si(6E5);this.Ma(this.Ta);_.ue(this.Ta,"tick",_.Wfa(wbc(this,p)),!1,this);this.Oa||this.Ta.start();this.Ec||(_.ue(_.jf(),"beforeunload",this.oa,!1,this),_.ue(_.jf(),"unload",this.oa,!1,this),_.ue(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&r.oa()}),_.ue(document,"pagehide",this.oa,!1,this))};_.L(_.uH,_.ri);var wbc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.uH.prototype.Xa=function(){this.oa();_.ri.prototype.Xa.call(this)};var xbc=function(a){a.Ba||(a.Ba=.01>a.Ae()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.uH.prototype.W=function(a){a instanceof _.sH?this.log(a):(a=_.tH(new _.sH,a.kc()),this.log(a))};
_.ybc=function(a,b){b?(a.V||(a.V=new _.ibc),b=b.kc(),_.A(a.V,4,b)):a.V&&_.Lj(a.V,4)};_.zbc=function(a){a.Sb=a.ne};_.Abc=function(a,b){a.ma=new _.qH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.uH.prototype.log=function(a){a=a.clone();var b=this.te++;_.A(a,21,b);this.Ja&&_.A(a,26,this.Ja);if(!_.B(a,1)){b=a;var c=Date.now().toString();_.A(b,1,c)}_.P(a,15)||_.A(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.J(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Bbc(a));this.Oa||this.H.enabled||this.H.start()};
_.uH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Cbc(this);else{var d=Date.now();if(this.Uc>d&&this.kb<d)b&&b("throttled");else{var e=rbc(qbc(pbc(this.ka.clone()),this.O),this.va);d={};var f=this.yb();f&&(d.Authorization=f);var h=xbc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Ui(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Ui(h,"pageId",this.$a));if(f&&this.Lc===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.kc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.A8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Yd,timeoutMillis:0},q=function(y){c.ma.reset();c.H.setInterval(c.ma.Ya());if(y){var z=null;try{var D=JSON.parse(y.replace(")]}'\n",""));z=new tbc(D)}catch(H){}z&&(y=Number(_.Tma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Uc=c.kb+y),z=_.lb(z,vbc))&&(z=_.bk(z,1,-1),-1!=z&&(c.uc||_.Abc(c,z)))}a&&a()},r=function(y){var z=_.Uj(e,_.sH,3);
_.rH(c.ma);c.H.setInterval(c.ma.Ya());401===y&&f&&(c.Lc=f);if(500<=y&&600>y||401===y||0===y)c.O=z.concat(c.O),c.Oa||c.H.enabled||c.H.start();b&&b("net-send-failed",y)},u=function(){c.Gb?c.Gb.send(p,q,r):c.Bd(p,q,r)};l?l.then(function(y){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=y;p.H=2;u()},function(){u()}):u()}}}};_.uH.prototype.oa=function(){this.ha||(this.Sb&&Cbc(this),this.Mb&&Dbc(this),this.flush())};
var Cbc=function(a){Ebc(a,32,10,function(b,c){b=_.Ui(b,"format","json");b=_.jf().navigator.sendBeacon(b,c.kc());a.nb&&!b&&(a.nb=!1);return b})},Dbc=function(a){Ebc(a,6,5,function(b,c){b=_.Si(b,"format","base64json","p",_.sj(c.kc(),3));_.wg(new Image,b);return!0})},Ebc=function(a,b,c,d){if(0!==a.O.length){var e=_.Lla(xbc(a),"format");e=_.Si(e,"auth",a.yb(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=qbc(pbc(a.ka.clone()),h);0===f&&rbc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Bbc=function(){_.gi.call(this,"event-logged",void 0)};_.L(Bbc,_.gi);

_.w();

}catch(e){_._DumpException(e)}
try{
var ccc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var u=h,y=0;64>y;y+=4)u[y/4]=r[y]<<24|r[y+1]<<16|r[y+2]<<8|r[y+3];for(y=16;80>y;y++)r=u[y-3]^u[y-8]^u[y-14]^u[y-16],u[y]=(r<<1|r>>>31)&4294967295;r=e[0];var z=e[1],D=e[2],H=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var M=H^z&(D^H);var Q=1518500249}else M=z^D^H,Q=1859775393;else 60>y?(M=z&D|H&(z|D),Q=2400959708):(M=z^D^H,Q=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+I+Q+u[y]&4294967295;I=H;H=D;D=(z<<30|z>>>2)&4294967295;z=r;r=M}e[0]=e[0]+r&4294967295;e[1]=e[1]+z&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+H&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var y=[],z=0,D=r.length;z<D;++z)y.push(r.charCodeAt(z));r=y}u||(u=r.length);y=0;if(0==p)for(;y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64;for(;y<u;)if(f[p++]=r[y++],q++,64==p)for(p=0,b(f);y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64}function d(){var r=[],
u=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var y=63;56<=y;y--)f[y]=u&255,u>>>=8;b(f);for(y=u=0;5>y;y++)for(var z=24;0<=z;z-=8)r[u++]=e[y]>>z&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),u="",y=0;y<r.length;y++)u+="0123456789ABCDEF".charAt(Math.floor(r[y]/16))+"0123456789ABCDEF".charAt(r[y]%16);return u}}};_.t("sy1fa");
var dcc=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("De`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==
c&&"devtools"!==c)throw Error("Ee`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
var fcc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,ecc(dcc(d),a,c||null)].join(" "):null},ecc=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)}),gcc(e.join(" "));var f=[],h=[];_.Ka(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.oa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=gcc(e.join(" "));a=[c,a];_.oa(h)||a.push(h.join(""));return a.join("_")},gcc=function(a){var b=
ccc();b.update(a);return b.digestString().toLowerCase()};
var hcc={};
var icc,kcc;icc=function(a){return!!hcc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.jcc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;icc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.jPa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");icc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};kcc=function(a,b,c,d){(a=_.n[a])||(a=(new _.jPa(document)).get(b));return a?fcc(a,c,d):null};
_.lcc=function(a,b){b=void 0===b?!1:b;var c=dcc(String(_.n.location.href)),d=[];if(_.jcc(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 _.jPa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?fcc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&icc(b)&&((b=kcc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=kcc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.LH=function(a,b){a.H=b;a.ka=0};_.MH=function(a,b){return _.A(a,b,_.jb([]))};_.t("sy1fg");
_.NH=function(a,b,c,d,e,f,h){_.uH.call(this,a,_.lcc,b,_.fbc,c,d,e,void 0,f,h)};_.L(_.NH,_.uH);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ii");
_.jSc=function(a){_.O(this,a,-1,null,null)};_.L(_.jSc,_.K);_.g=_.jSc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.ws=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.Ai=function(){return _.Lj(this,2)};_.g.ih=function(){return _.P(this,2)};
_.kL=function(a){_.O(this,a,-1,kSc,null)};_.L(_.kL,_.K);_.kL.prototype.Kz=function(){return _.B(this,1)};_.kL.prototype.getUrl=function(){return _.B(this,3)};var kSc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k2");
var nSc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};nSc.prototype.get=function(a){return oSc(this)[a]||null};nSc.prototype.set=function(a){oSc(this)[this.V(a)]=a;this.O=null};var oSc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.lL=function(a,b){this.H=a;this.bB=b};
_.lL.prototype.Ez=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!pSc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.xM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.yM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&pSc(this,a[d],b[e]);d--,e--);e=a.length-1-d;var f=a.length-e;d=a.slice(c,f);f=b.length-e;e=
b.slice(c,f);var h,k=[];for(f=0;f<d.length+1;f++)k[f]=[],k[f][0]=0;for(h=0;h<e.length+1;h++)k[0][h]=0;for(f=1;f<=d.length;f++)for(h=1;h<=e.length;h++)pSc(this,d[f-1],e[h-1])?k[f][h]=k[f-1][h-1]+1:k[f][h]=Math.max(k[f-1][h],k[f][h-1]);var l=[];f=d.length;for(h=e.length;0<f||0<h;)0<f&&0<h&&pSc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.yM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.xM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.bB(this.H.aN(d[f])),void 0!==e[h]){h=e[h];l=d[h];var p=d[f];k=1==l.getType()?l:p;l=2==l.getType()?l:p;if(k=this.EE(l,k))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];p=l.Ni()||0;var q=l.ny()||0;l.setPosition((l.Ni()||0)+qSc(e,l.Ni()||0));d[f].setPosition((d[f].Ni()||0)+c);3==d[f].getType()&&(l.Py((l.ny()||0)+qSc(e,l.ny()||0)),d[f].Py((d[f].ny()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,
start:p,end:Number.MAX_VALUE};break b;case 3:l=p>q?{offset:-1,start:q,end:p}:{offset:1,start:p,end:q};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new nSc(a,this.bB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.bB(f)))&&!_.ak(h||void 0,f||void 0)&&d.push(this.H.rQ(f,e));return c.concat(d)};var qSc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};
_.lL.prototype.EE=function(a,b){var c=b.Ni()||0;c>(a.Ni()||0)&&--c;return this.H.EE(this.H.aN(b),a.Ni()||0,c)};var pSc=function(a,b,c){return a.bB(b)==a.bB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.rSc=function(a){_.O(this,a,-1,null,null)};_.L(_.rSc,_.K);_.g=_.rSc.prototype;_.g.getType=function(){return _.B(this,1)};_.g.getItem=function(){return _.C(this,_.Yk,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.ny=function(){return _.B(this,3)};_.g.Py=function(a){return _.A(this,3,a)};_.g.Ni=function(){return _.B(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.sSc=function(a){var b=new _.rSc;return _.A(b,1,a)};_.t("sy1k3");
var tSc=function(){};_.g=tSc.prototype;_.g.yM=function(a,b){return _.sSc(1).setItem(a).setPosition(b)};_.g.xM=function(a,b){return _.sSc(2).setPosition(b).setItem(a)};_.g.EE=function(a,b,c){return _.sSc(3).Py(b).setPosition(c).setItem(a)};_.g.rQ=function(a,b){return _.sSc(4).setItem(a).setPosition(b)};_.g.aN=function(a){return a.getItem()};
var vSc;_.uSc=function(){_.lL.call(this,new tSc,function(a){return a.getId()})};_.L(_.uSc,_.lL);_.wSc=function(){vSc||(vSc=new _.uSc);return vSc};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mL=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ela)(a)};_.nL=function(a,b){a.V.remove(b);return a};_.oL=function(){return"goog_"+_.hia++};_.zSc=function(a,b,c,d,e,f){var h=new _.bj(null,void 0);a&&_.cj(h,a);b&&_.bma(h,b);c&&_.dj(h,c);d&&_.ej(h,d);e&&h.yi(e);f&&_.fj(h,f);return h};
_.pL=function(a){return new _.Oh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{o9:!0,value:p}:{o9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Ija(h,_.wb(e,f,!0),_.wb(e,f,!1));else b(d)})};_.qL=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 _.xq(c,e,d-c,a-e)}return null};
_.rL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.rL.prototype.clone=function(){return new _.rL(this.start,this.end)};_.tL=function(a){return a.end-a.start};_.t("sy1kk");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var BSc,ESc;BSc=[3,42];_.CSc=function(a){_.O(this,a,-1,BSc,null)};_.L(_.CSc,_.K);_.CSc.prototype.getMimeType=function(){return _.B(this,27)};_.DSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};ESc=function(a,b){if(b&&a in b)return a;var c=_.iFa();return c?(c=c.toLowerCase(),a=c+_.kia(a),void 0===b||a in b?a:null):null};_.t("sy1kl");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var FSc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(FSc,_.gi);
_.GSc=function(a){_.ri.call(this);this.ld=a||_.kh();if(this.zz=this.Csb())this.H=_.ue(this.ld.Vb(),this.zz,(0,_.v)(this.zab,this))};_.If(_.GSc,_.ri);_.g=_.GSc.prototype;_.g.Csb=_.Lca(function(){var a=this.uu(),b="hidden"!=this.kAa();if(a){var c;b?c=((_.iFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.kAa=_.Lca(function(){return ESc("hidden",this.ld.Vb())});_.g.lub=_.Lca(function(){return ESc("visibilityState",this.ld.Vb())});_.g.uu=function(){return!!this.kAa()};
_.g.wB=function(){return!!this.ld.Vb()[this.kAa()]};_.g.zab=function(){var a=this.uu()?this.ld.Vb()[this.lub()]:null;a=new FSc(this.wB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.mi(this.H);_.GSc.ub.Xa.call(this)};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var ISc;ISc=[2];_.JSc=function(a){_.O(this,a,-1,ISc,null)};_.L(_.JSc,_.K);_.JSc.prototype.Ab=function(){return _.B(this,1)};_.JSc.prototype.Dc=function(a){return _.A(this,1,a)};_.JSc.prototype.$j=function(){return _.B(this,3)};_.t("sy1le");
var KSc;_.wL=function(a){_.O(this,a,-1,KSc,null)};_.L(_.wL,_.K);_.wL.prototype.O=function(){return _.Md(this,1)};_.wL.prototype.xe=function(){return _.C(this,_.lf,2)};_.LSc=function(a,b){return _.J(a,2,b)};_.wL.prototype.Mi=function(){return _.bk(this,3,20)};_.wL.prototype.xi=function(a){return _.A(this,3,a)};_.wL.prototype.Dm=function(){return _.R(this,4)};_.MSc=function(a,b){return _.A(a,4,b)};KSc=[1];

_.w();

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

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var RSc,zL,TSc,SSc;_.yL=function(a,b,c){if("number"===typeof a)var d={name:SSc(a)};else d=a,a=TSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.If(_.yL,_.ea);_.yL.prototype.getName=function(){return this.O.name||""};zL={Vjb:1,gjb:2,NOT_FOUND_ERR:3,C9a:4,H9a:5,ijb:6,Qjb:7,ABORT_ERR:8,vjb:9,I6b:10,TIMEOUT_ERR:11,sjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.USc=(_.n.tI||_.n.sL||zL).Vjb;_.VSc=(_.n.tI||_.n.sL||zL).gjb;_.WSc=(_.n.tI||_.n.sL||zL).NOT_FOUND_ERR;
_.XSc=(_.n.tI||_.n.sL||zL).C9a;_.YSc=(_.n.tI||_.n.sL||zL).H9a;_.ZSc=(_.n.tI||_.n.sL||zL).ijb;_.$Sc=(_.n.tI||_.n.sL||zL).Qjb;_.aTc=(_.n.tI||_.n.sL||zL).ABORT_ERR;_.bTc=(_.n.tI||_.n.sL||zL).vjb;_.cTc=(_.n.tI||_.n.sL||zL).TIMEOUT_ERR;_.dTc=(_.n.tI||_.n.sL||zL).sjb;_.eTc=(_.n.DOMException||zL).INVALID_ACCESS_ERR;_.fTc=(_.n.DOMException||zL).INVALID_STATE_ERR;
TSc=function(a){switch(a){case "UnknownError":return _.USc;case "NotFoundError":return _.WSc;case "ConstraintError":return _.XSc;case "DataError":return _.YSc;case "TransactionInactiveError":return _.$Sc;case "AbortError":return _.aTc;case "ReadOnlyError":return _.bTc;case "TimeoutError":return _.cTc;case "QuotaExceededError":return _.dTc;case "InvalidAccessError":return _.eTc;case "InvalidStateError":return _.fTc;default:return _.USc}};
SSc=function(a){switch(a){case _.USc:return"UnknownError";case _.WSc:return"NotFoundError";case _.XSc:return"ConstraintError";case _.YSc:return"DataError";case _.$Sc:return"TransactionInactiveError";case _.aTc:return"AbortError";case _.bTc:return"ReadOnlyError";case _.cTc:return"TimeoutError";case _.dTc:return"QuotaExceededError";case _.eTc:return"InvalidAccessError";case _.fTc:return"InvalidStateError";default:return"UnknownError"}};
_.AL=function(a,b){return"error"in a?new _.yL(a.error,b):new _.yL({name:"UnknownError"},b)};_.BL=function(a,b){if("name"in a)return b=b+": "+a.message,new _.yL(a,b);if("code"in a){var c=SSc(a.code);b=b+": "+a.message;return new _.yL({name:c},b)}return new _.yL({name:"UnknownError"},b)};
_.gTc=function(a){this.H=a};_.hTc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.gTc.prototype.range=function(){return this.H};
var iTc=function(a){this.H=a};iTc.prototype.getName=function(){return this.H.name};var jTc=function(a,b,c,d){var e=new _.Vh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+xL(d),e.Pd(_.BL(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+xL(d);e.Pd(_.AL(h.target,c))};return e};iTc.prototype.get=function(a){return jTc(this,"get","getting from index "+this.getName(),a)};
iTc.prototype.getKey=function(a){return jTc(this,"getKey","getting key from index "+this.getName(),a)};iTc.prototype.getAll=function(a,b){return _.kTc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.kTc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.gTc?d.range():(new _.gTc(_.hTc.only(d))).range();var h=new _.Vh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?xL(f):"<all>"),h.Pd(_.BL(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?xL(f):"<all>");h.Pd(_.AL(l.target,c))};return h};
var lTc=function(a){this.H=a};lTc.prototype.getName=function(){return this.H.name};var mTc=function(a,b,c,d,e){var f=new _.Vh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=xL(d),e&&(c+=", with key "+xL(e)),f.Pd(_.BL(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=xL(d);e&&(c+=", with key "+xL(e));f.Pd(_.AL(k.target,c))};return f};_.g=lTc.prototype;_.g.put=function(a,b){return mTc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return mTc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.Vh;try{var c=this.H["delete"](a instanceof _.gTc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+xL(a),b.Pd(_.BL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+xL(a);b.Pd(_.AL(e.target,f))};return b};
_.g.get=function(a){var b=new _.Vh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+xL(a),b.Pd(_.BL(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 "+xL(a);b.Pd(_.AL(e.target,f))};return b};_.g.getAll=function(a,b){return nTc(this,"getting all from index "+this.getName(),a,b)};
var nTc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.gTc?c.range():(new _.gTc(_.hTc.only(c))).range();var f=new _.Vh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?xL(e):"<all>"),f.Pd(_.BL(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?xL(e):"<all>");f.Pd(_.AL(k.target,b))};return f};
lTc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Vh;try{var c=this.H.clear()}catch(d){return b.Pd(_.BL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Pd(_.AL(d.target,a))};return b};lTc.prototype.getIndex=function(a){try{return new iTc(this.H.index(a))}catch(b){throw _.BL(b,"getting index "+a);}};
lTc.prototype.count=function(a){var b=new _.Vh;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Pd(_.AL(e.target,d.getName()))}}catch(e){b.Pd(_.BL(e,this.getName()))}return b};
var oTc=function(a,b){_.ri.call(this);this.H=a;this.O=b;this.Bb=new _.Ee(this);this.Bb.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.Aab)};_.If(oTc,_.ri);_.g=oTc.prototype;_.g.Aab=function(a){a.target instanceof _.yL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.AL(a.target,"in transaction")})};_.g.Hh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new lTc(this.H.objectStore(a))}catch(b){throw _.BL(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.BL(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Vh;_.Ke(this,"complete",(0,_.v)(a.callback,a));var b=_.Ke(this,"abort",function(){_.mi(c);a.Pd(new _.yL(_.aTc,"waiting for transaction to complete"))});var c=_.Ke(this,"error",function(e){_.mi(b);a.Pd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Xa=function(){oTc.ub.Xa.call(this);this.Bb.dispose()};
var pTc=function(a){_.ri.call(this);this.H=a;this.Bb=new _.Ee(this);this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.Bab);this.Bb.listen(this.H,"versionchange",this.Ppb);this.Bb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.If(pTc,_.ri);_.g=pTc.prototype;_.g.Nsa=!0;_.g.Bab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Ppb=function(a){this.dispatchEvent(new qTc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Nsa&&(this.H.close(),this.Nsa=!1)};_.g.Fg=function(){return this.Nsa};_.g.getName=function(){return this.H.name};_.g.Di=function(){return Number(this.H.version)};_.rTc=function(a,b,c){try{return new lTc(a.H.createObjectStore(b,c))}catch(d){throw _.BL(d,"creating object store "+b);}};
_.sTc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new oTc(d,a)}catch(e){throw _.BL(e,"creating transaction");}};pTc.prototype.Xa=function(){pTc.ub.Xa.call(this);this.Bb.dispose()};var qTc=function(a,b){_.gi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.If(qTc,_.gi);
_.tTc=function(){void 0==RSc&&(RSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return RSc};
_.uTc=function(a,b,c,d){var e=new _.Vh;b=b?_.tTc().open(a,b):_.tTc().open(a);b.onsuccess=function(f){f=new pTc(f.target.result);e.callback(f)};b.onerror=function(f){e.Pd(_.AL(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new pTc(f.target.result);c(new qTc(f.oldVersion,f.newVersion),h,new oTc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new qTc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.vTc=function(a,b){this.ma=a;this.Ba=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.oa=_.fbc;this.H=""};_.t("sy1lv");
_.vTc.prototype.build=function(){var a=new _.uH(this.ma,this.ha?this.ha:_.lcc,this.Ba,this.oa,this.V,this.W,!1,void 0,void 0,void 0,this.va?this.va:void 0);if(this.Ha){var b=this.Ha;_.B(b,1)||_.A(b,1,1);_.J(a.ka,1,b)}if(this.O){b=this.O;var c=_.C(a.ka,_.lbc,1),d=_.C(c,_.jbc,11);d||(d=new _.jbc);_.A(d,7,b);_.J(c,11,d);_.B(c,1)||_.A(c,1,1);_.J(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.Ja=this.H);this.Fa&&_.ybc(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.ibc),_.Kj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.Abc(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.wTc=function(a,b){var c=_.C(a.H,_.gya,9);null==c&&(c=new _.gya);var d=_.B(b.H,10);d=_.A(c,5,d);b=_.B(b.H,12);_.A(d,2,b);_.J(a.H,9,c)};_.xTc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lw");
_.yTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.yTc.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=_.tH(new _.sH,a.kc());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.zTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.zbc(this.O)};_.zTc.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=_.tH(new _.sH,a.kc());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var ATc=function(a){_.O(this,a,-1,null,null)};_.L(ATc,_.K);ATc.prototype.getEmail=function(){return _.E(this,3,"")};ATc.prototype.xp=function(){return _.P(this,3)};_.CL=function(a){return _.S(a,5,!1)};_.DL=function(a){return _.C(a,ATc,36,1)};_.BTc=function(a){var b=_.mla(a);if("undefined"==typeof b)throw Error("X");var c=new _.hj(null,void 0);a=_.lla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.kma(c,e,f):c.add(e,f)}return c};_.t("sy1lg");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lf");
_.EL=function(a){_.O(this,a,-1,null,null)};_.L(_.EL,_.K);_.EL.prototype.xe=function(){return _.C(this,_.lf,1)};_.FL=function(a,b){return _.J(a,1,b)};_.EL.prototype.Lg=function(){return _.B(this,4)};_.EL.prototype.bpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var CTc=function(a){_.O(this,a,-1,null,null)},HTc;_.L(CTc,_.K);var DTc=function(a){_.O(this,a,-1,null,null)};_.L(DTc,_.K);_.GL=function(a){_.O(this,a,-1,null,null)};_.L(_.GL,_.K);_.GL.prototype.Q4=function(a){_.A(this,3,a)};_.GL.prototype.Jl=function(a){return _.J(this,5,a)};_.GL.prototype.getMimeType=function(){return _.B(this,7)};var ETc=[2],FTc=function(a){_.O(this,a,-1,ETc,null)};_.L(FTc,_.K);var GTc=function(a){_.O(this,a,-1,null,null)};_.L(GTc,_.K);HTc=function(a){this.H=a};
_.ITc=function(a){this.ud=a};_.ITc.prototype.getId=function(){return this.ud};var JTc=function(a){_.O(this,a,-1,null,null)};_.L(JTc,_.K);JTc.prototype.Di=function(){return _.B(this,1)};var KTc=function(a){_.O(this,a,-1,null,null)};_.L(KTc,_.K);
var MTc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.BAa.length;a++){var b=_.BAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;LTc(this,b);break}}},LTc=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})};
MTc.prototype.rA=function(a){if(this.ha&&this.O){var b=_.C(a,_.Kb,2)||new _.Kb,c=_.C(a,_.Uo,5)||new _.Uo,d=_.C(a,_.GL,3)||new _.GL;a=_.Uj(a,_.Dya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.kc(),session_info:b.kc(),session_invariants:c.kc(),client_info:d.kc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy1lj");
var NTc=function(){_.Mo.call(this)};_.L(NTc,_.Mo);NTc.prototype.sv=function(){return 1==_.B(_.C(this.H,CTc,7),1)};var OTc=new _.Io("high_frequency_builder");
var PTc=function(a,b,c){a=new _.si(a);c.Ma(a);var d=new _.Ee(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var QTc=function(){_.Mo.call(this)};_.L(QTc,_.Mo);var RTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.zo;var e=new _.eya;e=_.A(e,1,d);_.J(b,1,e);_.A(b,3,1);_.J(a.H,8,b);_.A(a.H,12,c);_.A(a.H,13,c);_.A(a.H,4,d);_.A(a.H,3,c)}else 1==b&&(b=new _.zo,e=new _.fya,d=_.A(e,1,d),_.J(b,2,d),_.A(b,3,2),_.J(a.H,8,b),_.A(a.H,12,c),_.A(a.H,3,c));return a},STc=new _.Io("system_builder");
var TTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.GSc(b);this.Ma(this.H);this.Bb=new _.Ee(this);this.Ma(this.Bb);this.H.uu()&&this.Bb.listen(this.H,"visibilitychange",this.V)};_.L(TTc,_.N);TTc.prototype.V=function(){if(this.O.BP()){var a=this.H.wB()?102001:102E3;a=this.O.OF(a,0);this.O.qq(a)}};
var UTc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.L(UTc,_.N);_.g=UTc.prototype;_.g.qq=function(a){var b=this.H;_.A(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.$b()&&b.O.ve();return new HTc(a)};_.g.OF=function(a,b){a=RTc(VTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.GL=function(){return this.H.O};
_.g.KM=function(a){var b=this.H,c=_.No(a,STc),d=b.ha++,e=_.C(_.C(c.H,_.zo,8),_.fya,2),f=1E3*Date.now();_.A(e,2,f);_.A(c.H,13,d);b.ka.remove(_.B(a.H,12))};_.g.b_=function(){var a=this.O;if(!a.ha||a.H.V){var b=WTc(a.H,691).build();b=XTc(a.H,[b]);a.ka.rA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.c_=function(){var a=this.H,b=WTc(a,716);YTc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.ve();this.W&&(this.V=new TTc(this))};_.g.Aja=function(){this.O.W();return _.pL(Array.from(this.O.V)).then()};
_.g.BP=function(){var a=this.H;return a.va&&a.ma&&!0};
var ZTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.uL(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(ZTc,_.N);ZTc.prototype.initialize=function(){PTc(this.ma,this.O.ve,this.O);PTc(36E5,this.va,this)};ZTc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=$Tc(this.H),c=this.oa.rA(b);c&&(_.Uh(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
ZTc.prototype.va=function(){var a=this.H,b=WTc(a,1153).build();a.H.add(b);this.O.ve()};
var aUc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(aUc,_.N);_.g=aUc.prototype;_.g.qq=function(a){a=this.H.qq(a);this.Aja();return a};_.g.OF=function(a,b){return this.H.OF(a,b)};_.g.GL=function(){return this.H.GL()};_.g.KM=function(a){return this.H.KM(a)};_.g.b_=function(){return this.H.b_()};_.g.c_=function(){return this.H.c_()};_.g.Aja=function(){return this.H.Aja()};_.g.BP=function(){return this.H.BP()};
var bUc=function(){};bUc.prototype.KQ=function(){return new NTc};
var cUc=function(){this.H=[]};cUc.prototype.add=function(a){this.H.push(a)};cUc.prototype.$b=function(){return this.H.length};
var dUc=function(){this.H={}};dUc.prototype.add=function(a){var b=_.B(a.H,12);this.H[b]=a};dUc.prototype.remove=function(a){delete this.H[a]};
var eUc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new dUc;this.H=new cUc;this.ma=this.va=this.V=!1},VTc=function(a,b){a=_.No((new _.Mo).initialize(new _.Dya,a.Ba),STc);_.A(a.H,10,b);return a},$Tc=function(a){var b=a.H,c=b.H;b.H=[];return XTc(a,c)},XTc=function(a,b){var c=new _.Mza;var d=a.O.W.clone();c=_.J(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.J(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.C(b[h],_.Go,5);if(k&&_.C(k,_.CSc,1)){k=_.C(k,_.CSc,1);_.P(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.C(k,DTc,20);if(void 0!==k&&void 0===f){f=new KTc;var l=_.R(k,2);void 0!==l&&_.A(f,2,l);k=_.R(k,1);void 0!==k&&_.A(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.GL),void 0!==e&&_.A(d,6,e),void 0!==f&&_.J(d,13,f);(e=d)&&_.J(c,3,e);a=a.O.ha.clone();_.J(c,4,a);_.Nj(c,1,b);return c},WTc=function(a,b){var c=RTc(VTc(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 GTc;k=_.A(p,1,k);l=_.B(l.H,10);l=_.A(k,2,l);f.push(l)}d=f}716!=b&&(b=a.oa,_.A(c.H,6,a.W),e=new FTc,b=_.A(e,1,b),d&&_.Nj(b,2,d),d=_.Oo(c),_.J(d,3,b));YTc(a,c);return c},YTc=function(a,b){a.W=_.B(b.H,12);a.oa=_.B(_.C(_.C(b.H,_.zo,8),_.eya,1),1)};
var fUc=function(){};fUc.prototype.KQ=function(){return new QTc};
var gUc=function(){this.H=this.O=null};gUc.prototype.build=function(){null==this.H&&(this.H=new _.fza);_.Qo(this.H,STc,new fUc);_.Qo(this.H,OTc,new bUc);var a=this.H;var b=this.O;if(!_.P(_.hUc(b),1)){var c=_.hUc(b),d=new _.xza;_.J(c,1,d)}b=_.C(_.hUc(b),_.xza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new eUc(this.O,this.H)};
var iUc=function(){this.W=new _.Kb;this.O=null;this.ha=new JTc;_.A(this.ha,1,6);this.H=this.V=null};iUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.jUc=function(a,b){_.A(a.W,2,b);return a};_.kUc=function(a,b){if(null==a.V){a.V=new _.Kza;var c=_.hUc(a);_.J(c,2,a.V)}_.A(a.V,1,b)};_.hUc=function(a){null==a.O&&(a.O=new _.Uo);return a.O};_.lUc=function(a){null==a.H&&(a.H=new _.GL);return a.H};
_.mUc=function(){this.H=this.ha=null;this.W=new iUc;this.V=null;this.ka=this.ma=!1;this.O=null};_.nUc=function(a,b){a.ha=b;return a};_.oUc=function(a,b){a.H=b;return a};_.pUc=function(a,b){a.V=b;return a};_.mUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.qUc=function(a,b){_.A(a.W.W,6,b);return a};
_.mUc.prototype.build=function(){var a=new gUc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new MTc;this.H=this.ha=b}b=new ZTc(a,this.ha,this.H,this.ma,this.O);a=new UTc(a,b,!1);this.ka&&(a=new aUc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.HL=function(a){return a instanceof Error};_.IL=function(a){return _.S(a,84,!1)};_.t("sy1l8");
_.rUc=function(a){_.O(this,a,-1,null,null)};_.L(_.rUc,_.K);
_.JL=function(a){_.O(this,a,-1,null,null)};_.L(_.JL,_.K);_.JL.prototype.getOptions=function(){return _.C(this,_.rUc,1)};_.JL.prototype.Un=function(){return _.B(this,2)};_.JL.prototype.wd=function(){return _.C(this,_.Ye,3)};
_.sUc=function(a){_.O(this,a,-1,null,_.KL)};_.L(_.sUc,_.K);_.KL=[[3,4,5,6,7,8,9,10]];
var LL,uUc;LL={};_.tUc=(LL[1]="modifiedDate",LL[2]="modifiedByMeDate",LL[3]="quotaBytesUsed",LL[4]="title",LL[6]="lastViewedByMeDate",LL[10]="createdDate",LL[7]="sharedWithMeDate",LL[9]="starred",LL[11]="recency",LL[5]="relevance",LL[12]="trashedDate",LL[13]="lastViewedByMeDate",LL);uUc={};_.vUc=(uUc[1]="asc",uUc[2]="desc",uUc);
_.wUc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.xUc=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():_.Gf();this.date=new Date(a)};_.If(_.xUc,_.Ft);_.g=_.xUc.prototype;_.g.clone=function(){var a=new _.xUc(this.date);a.DG=this.DG;a.rV=this.rV;return a};_.g.add=function(a){(a.W||a.V)&&_.Et.prototype.add.call(this,new _.Dt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.aw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Ft.prototype.getUTCFullYear;
_.g.getMonth=_.Ft.prototype.getUTCMonth;_.g.getDate=_.Ft.prototype.getUTCDate;_.g.getHours=_.Ft.prototype.getUTCHours;_.g.getMinutes=_.Ft.prototype.getUTCMinutes;_.g.getSeconds=_.Ft.prototype.p$a;_.g.getMilliseconds=_.Ft.prototype.o$a;_.g.getDay=_.Ft.prototype.getUTCDay;_.g.setFullYear=_.Ft.prototype.setUTCFullYear;_.g.setMonth=_.Ft.prototype.setUTCMonth;_.g.setDate=_.Ft.prototype.setUTCDate;_.g.setHours=_.Ft.prototype.gMa;_.g.setMinutes=_.Ft.prototype.hMa;_.g.setSeconds=_.Ft.prototype.iMa;
_.g.setMilliseconds=_.Ft.prototype.q$a;
var yUc,AUc;yUc={};_.zUc=(yUc[1]="0",yUc[2]="1",yUc[3]="2",yUc);AUc={};_.BUc=(AUc[1]="asc",AUc[2]="desc",AUc);
_.CUc=new _.Io("drive_dataservice_builder");
_.DUc=_.Yg&&0>_.dg(_.ah,"533");
_.EUc=new _.ITc("drive_dataservice_invariants");
_.FUc=new Map([[[1],1],[[6],7],[[2],2]]);_.GUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.HUc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.IL(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.IUc=new Map([[36,function(a){return _.S(a,11,!1)}],[34,function(a){return _.S(a,9,!1)}],[25,function(a){return _.S(a,1,!1)}],[33,function(a){return _.S(a,8,!1)}],[26,function(a){return _.S(a,2,!1)}],[27,function(a){return _.S(a,3,!1)}],[29,function(a){return _.S(a,4,!1)}],[32,function(a){return _.S(a,7,!1)}],[40,function(a){return _.S(a,15,!1)}],[42,function(a){return _.S(a,17,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,function(a){return _.S(a,10,!1)}],[38,
function(a){return _.S(a,13,!1)}],[39,function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.JUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.KUc=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]]);_.LUc=new Map([[[2],3],[[1],2],[[0],1]]);_.MUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.NUc=new Map([[[_.VSc],1],[[_.WSc],2],[[_.XSc],3],[[_.YSc],4],[[_.ZSc],5],[[_.$Sc],6],[[_.aTc],7],[[_.bTc],8],[[_.cTc],10],[[_.dTc],11],[[_.eTc],12],[[_.fTc],13]]);_.OUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ld");
_.ML=function(a){_.O(this,a,-1,PUc,null)};_.L(_.ML,_.K);_.ML.prototype.Cc=function(){return _.B(this,2)};_.NL=function(a,b){return _.A(a,2,b)};_.g=_.ML.prototype;_.g.tk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.C(this,_.Yk,4)};_.g.setItem=function(a){return _.J(this,4,a)};_.g.Bc=function(){return _.B(this,7)};_.g.e$=function(){return _.B(this,13)};_.g.aIa=function(a){_.A(this,13,a)};var PUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lb");
_.EF=function(a){_.O(this,a,-1,uTb,null)};_.L(_.EF,_.K);_.EF.prototype.getId=function(){return _.B(this,1)};_.EF.prototype.Pb=function(a){return _.A(this,1,a)};_.EF.prototype.Qz=function(){return _.B(this,2)};var uTb=[5,6,9,10,12,13,15,16];
var vTb;_.FF=function(a){_.O(this,a,-1,vTb,null)};_.L(_.FF,_.K);_.FF.prototype.an=function(){return _.B(this,1)};_.wTb=function(a,b){return _.A(a,1,b)};vTb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var TUc;_.QL=function(a){if(a instanceof _.kc)return a;if(_.HL(a)){if(a=_.Zsb(a))return a}else a="string"===typeof a?_.dEa(a):_.dEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.OL(a,2);_.PL(a,6);return a};_.QUc=function(a){var b=a.nk();a=a.$F();return 15===b||32===b||33===b||401===a};_.RUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.SUc=function(a){_.O(this,a,-1,null,null)};_.L(_.SUc,_.K);
_.RL=function(a){return _.bk(a,1,0)};_.SL=function(a){return _.C(a,_.SUc,4)};_.OL=function(a,b){return _.A(a,1,b)};_.PL=function(a,b){return _.A(a,2,b)};TUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.TL=function(a){_.O(this,a,-1,TUc,null)};_.L(_.TL,_.K);_.g=_.TL.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Qe=function(){return _.B(this,3)};
_.g.om=function(a){return _.A(this,3,a)};_.g.Bv=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Ln=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.sE=function(a,b){_.Sj(this,8,a,b)};_.g.Ti=function(){return _.B(this,12)};_.g.xe=function(){return _.C(this,_.lf,17)};_.g.Di=function(){return _.B(this,20)};_.g.Bc=function(){return _.B(this,21)};_.UL=function(a,b){return _.A(a,16,b)};_.t("sy1lc");
_.VL=function(a){_.O(this,a,-1,UUc,null)};_.L(_.VL,_.K);_.VL.prototype.RQ=function(){return _.bk(this,2,100)};_.VL.prototype.IS=function(a){return _.A(this,2,a)};_.VL.prototype.xe=function(){return _.C(this,_.lf,6)};_.VL.prototype.Bc=function(){return _.B(this,8)};var UUc=[5];
var VUc;VUc={};_.WUc=(VUc[0]="/drive/v2internal",VUc[1]="/drive/v2internal.corp",VUc[2]="/drive/v2internal.scary",VUc[4]="/drive/v2internal.scary",VUc[5]="/drive/v2beta",VUc[6]="/drive/v2.1beta",VUc);
_.XUc=new Set([0,1,2,3]);
_.YUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.ZUc=_.A(new _.TL,15,!0);_.$Uc=_.UL(new _.TL,!0);_.aVc=_.UL(new _.TL,!1);
_.bVc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (full, partial)."],["InitialChanges","Status of initial catchup changelog requests."],["SdkBackfillEnabled","Whether backfill via Drive SDK is enabled."],["UploadFailureCount","Number of failed uploads."],["UploadSuccessCount","Number of successful uploads."],["UploadTotalCount","Number of initiated uploads."],["InitialViewDataLoaded",
"Whether initial view data was loaded before the initial query."]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.dVc=function(a){for(var b in a)delete a[b]};_.eVc=function(a){a=_.Pf(a);return 0===a.length?_.tha:new _.jg(a,_.rha)};_.fVc=function(a,b){a=_.Hi(a);b=_.Hi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy1ly");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.WL=function(a,b){return _.A(a,82,b)};_.XL=function(a){return _.A(a,3,!0)};_.kVc=function(a,b){return _.A(a,7,b)};_.t("sy1l9");
_.lVc=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
*/
_.YL={K_:"Versions",j7:"Metadata",Z5:"Data",qU:"Offline"};_.mVc=new Map([[_.YL.K_,"versionKey"],[_.YL.j7,"k"]]);_.nVc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var rVc;_.oVc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.pVc=function(a){return(a=a&&_.oVc(a))&&a["x-guploader-uploadid"]};_.qVc=function(a){return(a=a&&_.oVc(a))&&a["x-google-trace"]};rVc=[6];_.ZL=function(a){_.O(this,a,-1,rVc,null)};_.L(_.ZL,_.K);_.$L=function(a,b){return _.A(a,14,b)};_.t("sy1m0");
var sVc,uVc;
_.tVc=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=sVc(e)||new _.kc;_.A(e,8,!0);k&&(k=_.fj(new _.bj(k),void 0).toString(),_.A(e,19,k));e.$F()||_.A(e,15,a||f);e.getMessage()||_.$p(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.B(e,4)||_.aq(e,d);e.nk()||(5===f?_.$L(e,7):0!==a||d?403===a?_.$L(e,22):503===a||429===a?_.$L(e,24):(_.Lj(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.$L(e,2));e.bda(_.pVc(c));e.Sca(_.qVc(c));
return e};sVc=function(a){if(!_.Ca(a))return null;var b=new _.kc,c=a.error;if(!c)return _.aq(b,JSON.stringify(a)),null;_.A(b,15,c.code);_.$p(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=uVc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.aq(b,a);return b};
uVc={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};

_.w();

}catch(e){_._DumpException(e)}
try{
_.vVc=function(a,b){return _.A(a,1,b)};_.wVc=function(a,b){return _.J(a,1,b)};_.xVc=function(a,b){return _.A(a,2,b)};_.yVc=function(a,b){return _.J(a,3,b)};_.t("sy1m1");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.zVc=function(a,b,c){c&&(a=_.Eg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Dg(a));return a};_.AVc=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};_.t("sy1mc");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var CVc,DVc,HVc,LVc,MVc,NVc,eWc,TM,fWc,gWc,nWc,JVc,VWc,IVc,kXc,lXc,sXc,uXc,wXc,yXc,zXc,AXc,CXc,TXc,UXc,XXc,YXc,ZXc,aYc,bYc,dYc,gYc,YVc,kYc,ZVc,lYc,mYc,nYc,pN,rN,pYc,rYc,uYc,vYc,wYc,xYc,yYc,zYc,CYc,EYc,FYc,HYc,IYc,XYc,WYc,$Yc,bZc,cZc,dZc,iZc,lZc,nZc,oZc,uZc,tZc,sZc,qZc,rZc,oWc,CZc,DZc,yZc,EZc,zZc,hWc,FZc,iWc,jWc,kWc,lWc,mWc,GZc,IZc;_.aM=function(a,b,c){var d=new _.kc,e=_.kka(_.aM);_.A(d,20,e);_.PL(d,a);_.OL(d,b?b:2);c&&_.$L(d,c);return d};
_.bM=function(a){var b;a instanceof _.kc?b=new _.lc(null,a):_.HL(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("ob`"+a);b.stack||(b.stack=_.kka(_.bM));return b};_.cM=function(a){throw _.$A(a);};CVc=function(a){return 7===a.nk()||24===a.Kp()&&(a=a.$F(),503===a||429===a)?!0:!1};DVc=function(a,b){return b?b+"("+a+")":a};
_.dM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.pBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.EVc.includes(p)){var q=_.ubb.get(p);if(q){var r=_.xbb[p];a.BG&&r&&(q=r);a.lr&&(a.BG?(p=_.wbb[p])&&(q=p):(p=_.vbb[p])&&(q=p));q.split(",").forEach(function(u){var y=_.lia(u,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={S5:f.S5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.S5=[];l.forEach(function(p){return function(q){p.S5.push(q)}}(f));"owners"==k&&b&&f.S5.push("kind");e.push(DVc(f.S5.join(","),k))}return DVc(e.join(","),c)};_.FVc=function(a){var b=new _.Po;b.append(_.dM(a,!0));return b.toString()};_.GVc=function(a,b){return a.filter(function(c){return b.includes(c)})};HVc=function(a){a=a.filter(function(b){return!_.ubb.has(b)});if(a.length)throw Error("Oc`"+a.join(", "));};
_.KVc=function(a){if(a){var b=a.getMimeType();b&&_.PF(a,b.toLowerCase());IVc(a,_.Uj(a,JVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};LVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};MVc=function(a,b){b&&(_.ij(a,"openDrive",!!_.S(b,2,!1)),_.ij(a,"reason",_.B(b,1)||0),_.ij(a,"syncType",_.B(b,3)||0),_.ij(a,"errorRecovery",!!_.S(b,4,!1)))};
NVc=function(a){a=_.$p(_.$L(_.OL(new _.kc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.$A(a);};
eWc=function(a){if(a instanceof _.eM)return"request access";if(a instanceof _.fM)return"admin migrate to TD";if(a instanceof _.gM)return"authorize app";if(a instanceof _.hM)return"copy item";if(a instanceof _.iM)return"change category links";if(a instanceof _.jM)return"create item";if(a instanceof _.kM)return"create ws";if("undefined"!=typeof _.lM&&a instanceof _.lM)return"delete app";if("undefined"!=typeof _.mM&&a instanceof _.mM)return"delete backup";if(a instanceof _.nM)return"delete item";if("undefined"!=
typeof _.oM&&a instanceof _.oM)return"delete permission";if(a instanceof _.pM)return"delete revision";if(a instanceof _.qM)return"delete TD";if(a instanceof _.jD)return"delete pref";if(a instanceof _.rM)return"delete ws";if(a instanceof _.sM)return"download item";if(a instanceof _.tM||a instanceof _.uM)return"empty trash";if(a instanceof _.vM)return"find by ID";if(a instanceof _.Zz)return"find by IDs";if(a instanceof _.OVc)return"item export start";if("undefined"!=typeof _.wM&&a instanceof _.wM)return"get app";
if("undefined"!=typeof _.xM&&a instanceof _.xM)return"insert app";if("undefined"!=typeof _.yM&&a instanceof _.yM)return"insert permission";if(a instanceof _.JL)return a=a.wd(),_.zM(a)?"quick access item query":_.AM(a)?"people predict item query":_.BM(a)?"drive priority query":"item query";if("undefined"!=typeof _.CM&&a instanceof _.CM)return"list android backup items request";if(a instanceof _.DM){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 _.PVc&&a instanceof _.PVc?"list backups":a instanceof _.VL?"list changes":a instanceof _.EM?"list permissions":"undefined"!=typeof _.FM&&a instanceof _.FM?"list revisions":a instanceof _.GM?"partial download item":a instanceof _.HM?"people api":a instanceof _.GF?"get published category":"undefined"!=typeof _.IM&&a instanceof _.IM?"get remaining changes":a instanceof _.JM?"remove item":
"undefined"!=typeof _.KM&&a instanceof _.KM?"reparent item":a instanceof _.LM?"restore item":a instanceof _.HF?"list suggested workspace items":a instanceof _.IF?"list suggested workspaces":"undefined"!=typeof _.MM&&a instanceof _.MM?"update app":a instanceof _.NM?"update category metadata":a instanceof _.TL?"update item":a instanceof _.OM?"update revision":a instanceof _.PM?"update TD":a instanceof _.kD?"update pref":a instanceof _.QM?"update ws":a instanceof _.EL?"get account":a instanceof _.LF?
"get workspace":a instanceof _.QVc?"list activity":a instanceof _.RVc?"list category metadata":a instanceof _.SVc?"create TD":"undefined"!=typeof _.TVc&&a instanceof _.TVc?"item export cancel":"undefined"!=typeof _.UVc&&a instanceof _.UVc?"item export status":"undefined"!=typeof _.VVc&&a instanceof _.VVc?"generate cse token":"undefined"!=typeof _.WVc&&a instanceof _.WVc?"get largest change ID":a instanceof _.iD?"list prefs":a instanceof _.RM?"multipart upload":a instanceof _.XVc?"list published categories":
a instanceof YVc?"init resumable upload":a instanceof ZVc?"resumable upload chunk":a instanceof _.$Vc?"resumable upload":a instanceof _.JF?"get TD":"undefined"!=typeof _.aWc&&a instanceof _.aWc?"move TD preflight":a instanceof _.SM?"list TDs":"undefined"!=typeof _.bWc&&a instanceof _.bWc?"get TD stats":a instanceof _.cWc?"test connection":"undefined"!=typeof _.dWc&&a instanceof _.dWc?"list workspaces":"unknown"};
TM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};fWc=function(a){if(a instanceof _.jM||a instanceof _.RM||a instanceof _.$Vc||a instanceof YVc||a instanceof ZVc)return(new _.UM).Dc(8);throw Error("af");};gWc=function(a){if(a instanceof _.TL){var b=_.Mj(_.Lj(a.clone(),1),17);b=_.ak(b,_.ZUc)}else b=!1;b||(a instanceof _.TL?(a=_.Mj(_.Lj(a.clone(),1),17),b=_.ak(a,_.$Uc)||_.ak(a,_.aVc)):b=!1);return b?!1:!0};
_.VM=function(a){return hWc.includes(a.constructor)?gWc(a):!1};nWc=function(a,b){if(iWc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&jWc.includes(a.constructor))return!0;var c=_.SL(b);if(c&&!_.S(c,7,!1)&&kWc.includes(a.constructor)&&!_.WM(a)||_.S(b,56,!1)&&_.WM(a)||_.S(b,57,!1)&&lWc.includes(a.constructor)||!(!_.S(b,53,!1)||jWc.includes(a.constructor)||kWc.includes(a.constructor)||_.WM(a)||lWc.includes(a.constructor)||mWc.includes(a.constructor)))return!0}return!1};
_.XM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(oWc(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)!==_.B(d,2)&&NVc(h):(a.set(h,_.B(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.Qz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.pWc=function(a){var b=new _.Fk;return _.A(b,1,a)};_.qWc=function(a,b){return _.A(a,7,b)};_.rWc=function(a,b){return _.A(a,8,b)};
_.sWc=function(a,b){return _.A(a,11,b)};_.tWc=function(a,b){return _.A(a,1,b)};_.uWc=function(a,b){return _.A(a,4,b)};_.vWc=function(a,b){return _.A(a,5,b)};_.wWc=function(a,b){return _.A(a,6,b)};_.xWc=function(a,b){return _.A(a,7,b)};_.yWc=function(a,b){return _.A(a,8,b)};_.zWc=function(a,b){return _.A(a,9,b)};_.AWc=function(a,b){return _.A(a,10,b)};_.BWc=function(a,b){return _.A(a,11,b)};_.CWc=function(a,b){return _.A(a,12,b)};_.DWc=function(a,b){return _.A(a,16,b)};
_.EWc=function(a,b){return _.A(a,17,b)};_.FWc=function(a,b){return _.A(a,20,b)};_.GWc=function(a,b){return _.A(a,21,b)};_.HWc=function(a,b){return _.A(a,31,b)};_.IWc=function(a,b){return _.A(a,32,b)};_.JWc=function(a,b){return _.A(a,33,b)};_.KWc=function(a,b){return _.A(a,42,b)};_.LWc=function(a,b){return _.A(a,43,b)};_.MWc=function(a,b){return _.A(a,46,b)};_.NWc=function(a,b){return _.A(a,47,b)};_.OWc=function(a,b){return _.A(a,48,b)};_.YM=function(a){_.O(this,a,-1,null,null)};_.L(_.YM,_.K);
_.PWc=function(a){_.O(this,a,-1,null,null)};_.L(_.PWc,_.K);_.QWc=function(a,b){return _.A(a,1,b)};_.RWc=function(a,b){return _.A(a,2,b)};JVc=function(a){_.O(this,a,-1,null,null)};_.L(JVc,_.K);JVc.prototype.getMimeType=function(){return _.B(this,1)};JVc.prototype.getUrl=function(){return _.B(this,2)};_.ZM=function(a){_.O(this,a,-1,null,null)};_.L(_.ZM,_.K);_.ZM.prototype.Ne=function(){return _.B(this,2)};_.ZM.prototype.wh=function(a){return _.A(this,2,a)};
_.ZM.prototype.uh=function(a){return _.A(this,3,a)};_.SWc=function(a,b){return _.A(a,1,b)};_.TWc=function(a,b){return _.Nj(a,2,b)};_.UWc=function(a,b){return _.Nj(a,3,b)};VWc=[2];_.$M=function(a){_.O(this,a,-1,VWc,null)};_.L(_.$M,_.K);_.$M.prototype.Qe=function(){return _.B(this,1)};_.$M.prototype.om=function(a){return _.A(this,1,a)};_.$M.prototype.uva=function(a,b){return _.Sj(this,2,a,b)};_.aN=function(a){_.O(this,a,-1,null,null)};_.L(_.aN,_.K);_.aN.prototype.Ne=function(){return _.B(this,1)};
_.aN.prototype.wh=function(a){return _.A(this,1,a)};_.aN.prototype.uh=function(a){return _.A(this,2,a)};_.bN=function(a,b){return _.Kj(a,2,b)};_.WWc=function(a,b){_.A(a,8,b)};_.XWc=function(a,b){return _.Nj(a,15,b)};_.YWc=function(a,b){return _.J(a,17,b)};_.ZWc=function(a,b){return _.A(a,19,b)};_.$Wc=function(a,b){_.A(a,26,b)};_.aXc=function(a,b){_.A(a,31,b)};_.bXc=function(a,b){_.A(a,34,b)};_.cXc=function(a,b){return _.A(a,44,b)};_.dXc=function(a,b){return _.A(a,52,b)};
IVc=function(a,b){_.Nj(a,58,b)};_.eXc=function(a,b){return _.A(a,72,b)};_.cN=function(a,b){return _.J(a,84,b)};_.fXc=function(a,b){_.J(a,85,b)};_.gXc=function(a,b){return _.A(a,92,b)};_.hXc=function(a,b){return _.A(a,93,b)};_.iXc=function(a,b){return _.A(a,136,b)};_.jXc=function(a){_.O(this,a,-1,null,null)};_.L(_.jXc,_.K);_.dN=function(a){return _.S(a,2,!1)};kXc=[3];lXc=function(a){_.O(this,a,-1,kXc,null)};_.L(lXc,_.K);
lXc.prototype.Vi=function(){var a=_.B(this,3);this.Ta||(this.Ta={});if(!this.Ta[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ta[3]=!0}_.hb(this)&&_.ib(a);return a};var mXc=[3],nXc=function(a){_.O(this,a,-1,mXc,null)};_.L(nXc,_.K);nXc.prototype.Vi=function(){return _.Md(this,3)};var oXc=[3],pXc=function(a){_.O(this,a,-1,oXc,null)};_.L(pXc,_.K);pXc.prototype.Vi=function(){return _.Md(this,3)};_.eN=function(a){_.O(this,a,-1,null,null)};_.L(_.eN,_.K);_.eN.prototype.Ya=function(){return _.B(this,1)};
_.eN.prototype.Lb=function(a){return _.A(this,1,a)};_.eN.prototype.Ai=function(){return _.Lj(this,1)};_.eN.prototype.ih=function(){return _.P(this,1)};_.fN=function(a){return _.Gj(a,45,1)};_.zM=function(a){return _.S(a,47,!1)};_.AM=function(a){return _.S(a,49,!1)};_.BM=function(a){return _.S(a,52,!1)};_.gN=function(a){return _.E(a,2,"")};_.qXc=function(a,b){return _.Kj(a,27,b)};_.hN=function(a){return _.Gj(a,39,0)};_.iN=function(a){return _.S(a,40,!1)};
_.rXc=function(a){return _.Et.prototype.aP.call(a,!0)+"T"+_.Kg(a.getHours(),2)+":"+_.Kg(a.getMinutes(),2)+":"+_.Kg(a.getSeconds(),2)+a.x$()};sXc=function(a,b){return _.kTc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.tXc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.BL(c,"deleting object store "+b);}};uXc=function(){var a=new _.mUc;a.O=12E4;a.ma=!0;return a};_.vXc=function(a){_.O(this,a,-1,null,null)};_.L(_.vXc,_.K);wXc=[3,4,10,18,19,28];
_.jM=function(a){_.O(this,a,-1,wXc,null)};_.L(_.jM,_.K);_.g=_.jM.prototype;_.g.getMimeType=function(){return _.B(this,1)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.sE=function(a,b){_.Sj(this,3,a,b)};_.g.xe=function(){return _.C(this,_.lf,7)};_.g.fj=function(){return _.B(this,9)};_.g.Bc=function(){return _.B(this,14)};_.g.Dz=function(){return _.C(this,_.vXc,15)};_.g.c2=function(){return _.B(this,21)};_.g.Cc=function(){return _.B(this,23)};
_.jN=function(a,b){return _.A(a,1,b)};_.kN=function(a,b){return _.Kj(a,3,b)};_.xXc=function(a,b){return _.A(a,12,b)};_.nM=function(a){_.O(this,a,-1,null,null)};_.L(_.nM,_.K);_.nM.prototype.getId=function(){return _.B(this,1)};_.nM.prototype.Pb=function(a){return _.A(this,1,a)};_.nM.prototype.xe=function(){return _.C(this,_.lf,3)};_.qM=function(a){_.O(this,a,-1,null,null)};_.L(_.qM,_.K);_.qM.prototype.getId=function(){return _.B(this,1)};_.qM.prototype.Pb=function(a){return _.A(this,1,a)};
_.qM.prototype.xe=function(){return _.C(this,_.lf,2)};yXc=[7,8];_.PM=function(a){_.O(this,a,-1,yXc,null)};_.L(_.PM,_.K);_.g=_.PM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.xe=function(){return _.C(this,_.lf,4)};_.g.Dm=function(){return _.R(this,15)};_.SM=function(a){_.O(this,a,-1,null,null)};_.L(_.SM,_.K);
_.SM.prototype.getOptions=function(){return _.C(this,_.rUc,1)};_.SM.prototype.Un=function(){return _.B(this,2)};_.SM.prototype.wd=function(){return _.C(this,_.wL,3)};zXc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};AXc=null;_.BXc=function(a){if(_.uma)return _.n.atob(a);var b="";_.wma(a,function(c){b+=String.fromCharCode(c)});return b};CXc=function(){this.O=0;this.H=[]};_.g=CXc.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=DXc(this,a);return this.H[a]};_.g.set=function(a,b){a=DXc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.Eg=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.kf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.Be=function(a){return a<this.$b()};
_.g.Eq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var DXc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},EXc=function(a){_.O(this,a,-1,null,null)};_.L(EXc,_.K);_.FXc=function(a){_.O(this,a,-1,null,null)};_.L(_.FXc,_.K);_.FXc.prototype.jf=function(){return _.B(this,1)};_.FXc.prototype.kj=function(a){return _.A(this,1,a)};_.FXc.prototype.Ab=function(){return _.B(this,4)};
_.FXc.prototype.Dc=function(a){return _.A(this,4,a)};var GXc=function(a){_.O(this,a,-1,null,null)};_.L(GXc,_.K);GXc.prototype.wo=function(){return _.B(this,5)};var HXc=function(a,b){_.A(a,6,b)},IXc=function(a){_.O(this,a,-1,null,null)};_.L(IXc,_.K);_.g=IXc.prototype;_.g.dib=function(a){_.A(this,1,a)};_.g.MOb=function(a){_.A(this,2,a)};_.g.py=function(){return _.R(this,3)};_.g.eib=function(a){_.A(this,3,a)};_.g.tOb=function(a){_.A(this,4,a)};var JXc=function(a){_.O(this,a,-1,null,null)};_.L(JXc,_.K);
JXc.prototype.py=function(){return _.R(this,2)};var KXc=function(a,b){return _.A(a,2,b)},LXc=function(a,b){_.A(a,3,b)};JXc.prototype.kB=function(){return _.B(this,6)};var MXc=function(a,b){return _.A(a,8,b)},NXc=function(a){_.O(this,a,-1,null,null)};_.L(NXc,_.K);var OXc=function(a){_.O(this,a,-1,null,null)};_.L(OXc,_.K);OXc.prototype.py=function(){return _.R(this,1)};OXc.prototype.wo=function(){return _.B(this,5)};OXc.prototype.Om=function(){return _.B(this,6)};
OXc.prototype.Dt=function(a){return _.A(this,6,a)};var PXc=function(a){_.O(this,a,-1,null,null)};_.L(PXc,_.K);var QXc=function(a,b){_.A(a,4,b)},RXc=function(a){_.O(this,a,-1,null,null)};_.L(RXc,_.K);_.g=RXc.prototype;_.g.wd=function(){return _.C(this,_.FXc,1)};_.g.getState=function(){return _.C(this,GXc,2)};_.g.Nd=function(a){return _.J(this,2,a)};_.g.ot=function(){return _.P(this,2)};_.g.QE=function(){return _.C(this,OXc,16)};var SXc=function(a){_.O(this,a,-1,null,null)};_.L(SXc,_.K);
SXc.prototype.getEnvironment=function(){return _.B(this,2)};SXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.EVc=[42,1005,20,50,18,1003,1002];TXc=[73,71];_.lN=function(a){_.O(this,a,-1,null,null)};_.L(_.lN,_.K);_.lN.prototype.getId=function(){return _.B(this,1)};_.lN.prototype.Pb=function(a){return _.A(this,1,a)};_.lN.prototype.getMimeType=function(){return _.B(this,2)};_.lN.prototype.TF=function(){return _.B(this,8)};UXc=[22];_.UM=function(a){_.O(this,a,-1,UXc,null)};_.L(_.UM,_.K);
_.g=_.UM.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.getItem=function(){return _.C(this,_.Yk,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.$j=function(){return _.B(this,3)};_.g.Cc=function(){return _.B(this,5)};_.VXc=function(a,b){return _.A(a,5,b)};_.g=_.UM.prototype;_.g.ZJ=function(){return _.B(this,7)};_.g.bda=function(a){return _.A(this,7,a)};_.g.Kfa=function(a){_.A(this,9,a)};_.g.LMa=function(a){_.A(this,10,a)};
_.g.ZM=function(){return _.B(this,16)};_.g.Sca=function(a){return _.A(this,16,a)};var WXc=function(a){_.gi.call(this,a);this.connectionState=_.mtb.get(a)};_.L(WXc,_.gi);XXc=function(a){var b=new _.Vh;a.listen("loadend",_.wb(function(c,d){var e=d.ak(),f=d.getError();null==e||f?c.Pd(f):c.callback(e);d.dispose()},b,a));return b};_.eM=function(a){_.O(this,a,-1,null,null)};_.L(_.eM,_.K);_.eM.prototype.Cc=function(){return _.B(this,1)};_.fM=function(a){_.O(this,a,-1,null,null)};_.L(_.fM,_.K);
_.fM.prototype.getId=function(){return _.B(this,1)};_.fM.prototype.Pb=function(a){return _.A(this,1,a)};_.fM.prototype.Ik=function(){return _.B(this,2)};_.gM=function(a){_.O(this,a,-1,null,null)};_.L(_.gM,_.K);_.gM.prototype.zh=function(){return _.B(this,1)};_.gM.prototype.Cc=function(){return _.B(this,2)};_.gM.prototype.xe=function(){return _.C(this,_.lf,4)};YXc=[3,7];_.hM=function(a){_.O(this,a,-1,YXc,null)};_.L(_.hM,_.K);_.g=_.hM.prototype;_.g.getId=function(){return _.B(this,1)};
_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.sE=function(a,b){_.Sj(this,3,a,b)};_.g.xe=function(){return _.C(this,_.lf,5)};_.kM=function(a){_.O(this,a,-1,null,null)};_.L(_.kM,_.K);_.kM.prototype.getTitle=function(){return _.B(this,1)};_.kM.prototype.setTitle=function(a){return _.A(this,1,a)};_.kM.prototype.xe=function(){return _.C(this,_.lf,2)};_.pM=function(a){_.O(this,a,-1,null,null)};_.L(_.pM,_.K);
_.pM.prototype.Cc=function(){return _.B(this,1)};_.pM.prototype.xe=function(){return _.C(this,_.lf,3)};_.rM=function(a){_.O(this,a,-1,null,null)};_.L(_.rM,_.K);_.rM.prototype.getId=function(){return _.B(this,1)};_.rM.prototype.Pb=function(a){return _.A(this,1,a)};_.rM.prototype.xe=function(){return _.C(this,_.lf,3)};_.tM=function(a){_.O(this,a,-1,null,null)};_.L(_.tM,_.K);_.tM.prototype.xe=function(){return _.C(this,_.lf,1)};_.JM=function(a){_.O(this,a,-1,null,null)};_.L(_.JM,_.K);_.g=_.JM.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.A(this,2,a)};_.g.xe=function(){return _.C(this,_.lf,3)};_.LM=function(a){_.O(this,a,-1,null,null)};_.L(_.LM,_.K);_.g=_.LM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.yg=function(a){return _.A(this,2,a)};_.g.xe=function(){return _.C(this,_.lf,3)};
_.OM=function(a){_.O(this,a,-1,null,null)};_.L(_.OM,_.K);_.OM.prototype.Cc=function(){return _.B(this,1)};_.OM.prototype.xe=function(){return _.C(this,_.lf,4)};_.QM=function(a){_.O(this,a,-1,null,null)};_.L(_.QM,_.K);_.g=_.QM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.B(this,3)};_.g.Nd=function(a){return _.A(this,3,a)};
_.g.ot=function(){return _.P(this,3)};_.g.xe=function(){return _.C(this,_.lf,5)};ZXc=[2,3];_.iM=function(a){_.O(this,a,-1,ZXc,null)};_.L(_.iM,_.K);_.iM.prototype.Bc=function(){return _.B(this,1)};_.iM.prototype.xe=function(){return _.C(this,_.lf,4)};_.$Xc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};aYc=[3,4];_.DM=function(a){_.O(this,a,-1,aYc,null)};_.L(_.DM,_.K);_.DM.prototype.getType=function(){return _.B(this,1)};_.DM.prototype.xe=function(){return _.C(this,_.lf,2)};bYc=[1];
_.HM=function(a){_.O(this,a,-1,bYc,null)};_.L(_.HM,_.K);_.HM.prototype.hn=function(){return _.Md(this,1)};_.cYc=function(a){_.O(this,a,-1,null,null)};_.L(_.cYc,_.K);_.g=_.cYc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.ws=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.Ai=function(){return _.Lj(this,2)};_.g.ih=function(){return _.P(this,2)};_.g.Qe=function(){return _.B(this,3)};_.g.om=function(a){return _.A(this,3,a)};
_.g.getType=function(){return _.B(this,4)};dYc=[1];_.eYc=function(a){_.O(this,a,-1,dYc,null)};_.L(_.eYc,_.K);_.fYc=function(){var a=void 0===a?1E3:a;this.O=new _.ol;this.H=new _.ol;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.hYc=function(a){var b=a.O.Eg();a.V&&b.push(gYc("...","...","...","..."));_.za(b,a.H.Eg());return b};
_.iYc=function(a){var b=[];a=_.hYc(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")};_.fYc.prototype.info=function(a,b){_.mN(this,a,b,"info")};_.fYc.prototype.config=function(a,b){_.mN(this,a,b,"config")};_.fYc.prototype.log=function(a,b,c){if(!AXc){AXc={};for(var d=0,e;e=_.pka[d];d++)AXc[e.value]=e,AXc[e.name]=e}_.mN(this,a,b,c)};
_.mN=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=gYc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};gYc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.QVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.SVc=function(a){this.request=a;this.requestId=_.Mg()};
_.jYc=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};_.RM=function(a,b,c,d){this.request=a;this.file=b;this.lQ=void 0===c?null:c;this.metadata=d};_.$Vc=function(a,b,c,d){this.request=a;this.file=b;this.lQ=void 0===c?null:c;this.metadata=d};YVc=function(a,b){this.request=a;this.metadata=b};kYc=function(a,b,c){this.O=a;this.H=b;this.V=c};
ZVc=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};_.cWc=function(){this.H=_.mf(new _.lf,312)};lYc=function(){};_.RVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.XVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};mYc=function(a,b){this.H=a;this.O=b};nYc=function(a){_.gi.call(this,"Ab");this.H=a};_.L(nYc,_.gi);nYc.prototype.Ue=function(){return this.H};_.nN=function(a){a.supportsTeamDrives=!0};
_.oYc=function(a){this.O=new Set;this.H=[].concat(_.jd(_.Md(a,27)));this.initialize(a)};_.oYc.prototype.initialize=function(a){var b=_.GVc(this.H,_.Md(a,28));if(0<b.length)throw Error("Me`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.CL(_.DL(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();HVc(this.H)};_.oN=function(a){return[].concat(_.jd(a.H))};
pN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.qN=function(a,b,c){0!==b.length&&(a.NI.length&&a.append(" "+(c||"and")+" "),a.append(b))};rN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(pN(c));e.push("in");e.push(b);_.qN(a,e.join(" "))}};_.sN=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());_.qN(a,e.join(" "),d)}};
pYc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.qN(a,d.join(""))}};_.qYc=function(a){var b=new _.xUc;b.setTime(a);return b};rYc=function(a,b){b=_.Md(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(pN(b));_.qN(a,c.join(" "))}};_.sYc=function(a){a=_.Uj(a,_.eN,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(",")};
_.tYc=function(a){a=a.mB();return null==a||0==a.length?"":a.map(function(b){b=_.B(b,1);if(0==b)throw Error("Ne");return _.mSc[b]}).join(",")};uYc=function(a,b){if(a.length){var c=new _.Po;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(pN(d.Ya()));_.qN(c,e.join(" "),"or")}return c.toString()}return""};
vYc=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 pN(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};wYc=function(a){if(_.R(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};xYc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
yYc=function(a,b,c){if(null!=_.B(c,2)){var d=xYc(_.B(c,1));c=pN(_.rXc(_.qYc(_.B(c,2)||0)));_.qN(a,[b,d,c].join(" "))}};zYc=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""};
_.AYc=function(a){for(var b=new _.Po,c=_.Uj(a,_.Bl,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.B(e,1),k=_.S(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(pN(f));_.qN(b,l.join(" "))}}for(var p=_.Uj(a,_.Al,5),q=0;q<p.length;q++){var r=p[q],u=r.Ya();if(u){var y=[];_.S(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(pN(u));_.qN(b,y.join(" "))}}var z=_.Fl(a);if(z&&0!=z.length){for(var D=[],H=[],I=[],M=[],Q=[],W=[],pa=0;pa<
z.length;pa++){var ia=z[pa];ia.Ya()&&(1===_.Gj(ia,3,0)?_.R(ia,4)?H.push(ia):D.push(ia):_.R(ia,4)?_.S(ia,2,!1)?W.push(ia):Q.push(ia):_.S(ia,2,!1)?M.push(ia):I.push(ia))}var na=uYc(D,!1),qa=uYc(H,!0),ua=vYc(I,!1,!1),Wa=vYc(M,!0,!1),Ea=vYc(Q,!1,!0),Pa=vYc(W,!0,!0),dc=new _.Po;if(ua||Ea||na||qa)_.qN(dc,ua,"or"),_.qN(dc,Ea,"or"),_.qN(dc,na,"or"),_.qN(dc,qa,"or");dc.NI.length&&_.qN(b,"("+dc.toString()+")","and");var pb=new _.Po;if(Wa||Pa)_.qN(pb,Wa,"and"),_.qN(pb,Pa,"and");pb.NI.length&&_.qN(b,"("+pb.toString()+
")","and")}for(var Zb=_.Uj(a,_.yl,7),Jc=0;Jc<Zb.length;Jc++)yYc(b,"modifiedDate",Zb[Jc]);for(var ne=_.Uj(a,_.yl,8),oe=0;oe<ne.length;oe++)yYc(b,"lastViewedByMeDate",ne[oe]);_.sN(b,"trashed",a.Sh());_.sN(b,"explicitlyTrashed",_.R(a,17));_.sN(b,"starred",_.R(a,10));_.sN(b,"hidden",a.Dm());for(var Id=_.Gl(a),ff=0;ff<Id.length;ff++){var Dc=Id[ff];rN(b,"parents",Dc.Ya(),_.S(Dc,2,!1))}for(var Bb=_.Uj(a,_.af,13),Og=0;Og<Bb.length;Og++){var Ag=Bb[Og];rN(b,"owners",Ag.Ya(),_.S(Ag,2,!1))}for(var Ve=_.Uj(a,
_.af,14),Cj=0;Cj<Ve.length;Cj++){var Zf=Ve[Cj];rN(b,"writers",Zf.Ya(),_.S(Zf,2,!1))}for(var ni=_.Uj(a,_.af,15),Fg=0;Fg<ni.length;Fg++){var im=ni[Fg];rN(b,"readers",im.Ya(),_.S(im,2,!1))}_.R(a,16)&&_.qN(b,"sharedWithMe");_.sN(b,"unparented",_.R(a,34));for(var pf=_.Uj(a,_.vl,35)||[],$e=_.m(pf),eh=$e.next();!eh.done;eh=$e.next())rN(b,"ancestors",eh.value.Ya(),!1);for(var oi=_.Uj(a,_.vl,38)||[],aj=_.m(oi),Ml=aj.next();!Ml.done;Ml=aj.next())rN(b,"descendants",Ml.value.Ya(),!1);for(var ik=_.Uj(a,_.zl,37)||
[],Qj=_.m(ik),fh=Qj.next();!fh.done;fh=Qj.next())rN(b,"folderFeatures",fh.value.Ya(),!1);for(var gl=_.Md(a,39),hl=_.m(gl),Gg=hl.next();!Gg.done;Gg=hl.next()){var il=Gg.value,jm=[];jm.push("templateData.description");jm.push("contains");jm.push(pN(il));_.qN(b,jm.join(" "))}for(var jl=_.Md(a,40),Wh=0;Wh<jl.length;Wh++){var Dj=[];0==Wh&&Dj.push("(");Dj.push(pN(jl[Wh]));Dj.push("in");Dj.push("templateData.categories");Wh==jl.length-1&&Dj.push(")");_.qN(b,Dj.join(" "),0==Wh?"and":"or")}var oj=_.B(a,41);
if(null!=oj){var pj=[];pj.push("templateData.galleryState");pj.push("=");pj.push(pN(_.zUc[oj]||""));_.qN(b,pj.join(" "))}var Rj=_.B(a,42);if(null!=Rj){var Jh=[];Jh.push("visibility");Jh.push("=");Jh.push(pN(zYc(Rj)));_.qN(b,Jh.join(" "))}for(var Nl=_.Uj(a,_.ul,44),qj=0;qj<Nl.length;++qj){var jk=Nl[qj];rN(b,"actionItems",wYc(jk),_.S(jk,3,!1))}if(_.P(a,50)){var km=[];km.push("pairedDocType");var kl=_.S(a,50,!1)?"!=":"=";km.push(kl);km.push(pN("NONE"));_.qN(b,km.join(" "))}rN(b,"workspaceIds",a.Pp(),
!1);for(var Im=_.Uj(a,_.wl,57),kk=0;kk<Im.length;kk++){var Kk=[];0==kk&&Kk.push("(");Kk.push(pN(Im[kk].Ya()));Kk.push("in");Kk.push("approvals");kk==Im.length-1&&Kk.push(")");_.qN(b,Kk.join(" "),0==kk?"and":"or")}if(_.P(a,58)){var uf=a.Mq(),Bi=uf.Ya(),lk=_.S(uf,2,!1);if(Bi){var Fc=[];lk&&Fc.push("not");Fc.push("creator");Fc.push("=");Fc.push(pN(Bi));_.qN(b,Fc.join(" "))}}var Lk=_.C(a,_.xoa,59);if(Lk)for(var Pg=_.m(_.Uj(Lk,_.uoa,1)),mk=Pg.next();!mk.done;mk=Pg.next()){var Mi=mk.value;rN(b,"categoryMetadata",
Mi.an());for(var Ln=_.m(_.Uj(Mi,_.soa,2)),nk=Ln.next();!nk.done;nk=Ln.next()){var xh=nk.value,Qg=_.B(xh,1),Mk=_.Ej(xh,_.xl[0]);if(10==Mk){_.C(xh,_.loa,10);var ll=_.R(xh,15);(void 0===ll?0:ll)?_.qN(b,Qg+" is null"):_.qN(b,"not ("+Qg+" is null)")}else{var Qh=new _.Po,Ni=void 0;switch(Mk){case 3:Ni=_.C(xh,lXc,3);for(var jn=_.m(Ni.Vi()),pi=jn.next();!pi.done;pi=jn.next())_.sN(Qh,Qg,pi.value,"or");break;case 14:for(var ml=Ni=_.C(xh,_.eoa,14),Mn=new Map([[1,"="],[2,">"],[3,"<"]]),kn=_.m(ml.Vi()),Jm=kn.next();!Jm.done;Jm=
kn.next()){var Nn=Jm.value,Ol=Mn.get(_.B(ml,2));if(!Ol)throw Error("Oe");var Km=[Qg,Ol,pN(Nn.getYear()+"-"+Nn.getMonth()+"-"+Nn.getDay())];_.qN(Qh,Km.join(" "),"or")}break;case 8:for(var ln=Ni=_.C(xh,_.koa,8),On=new Map([[1,"="],[2,">"],[3,"<"]]),xk=_.m(ln.Vi()),To=xk.next();!To.done;To=xk.next()){var Fp=To.value,Gp=On.get(_.B(ln,2));if(!Gp)throw Error("Oe");_.qN(Qh,[Qg,Gp,Fp].join(" "),"or")}break;case 9:for(var Js=Ni=_.C(xh,nXc,9),Pw=new Map([[1,"in"]]),Ks=_.m(Js.Vi()),Yn=Ks.next();!Yn.done;Yn=
Ks.next()){var Iq=Yn.value,Ut=Pw.get(_.B(Js,2));if(!Ut)throw Error("Oe");_.qN(Qh,[Iq,Ut,Qg].join(" "),"or")}break;case 6:for(var $C=Ni=_.C(xh,_.poa,6),DA=new Map([[1,"="]]),aD=_.m($C.Vi()),Vt=aD.next();!Vt.done;Vt=aD.next()){var Tw=Vt.value,Uw=DA.get(_.B($C,2));if(!Uw)throw Error("Oe");_.qN(Qh,[Qg,Uw,pN(Tw)].join(" "),"or")}break;case 7:for(var Vw=Ni=_.C(xh,_.noa,7),oJ=new Map([[1,"in"]]),wy=_.m(Vw.Vi()),Wt=wy.next();!Wt.done;Wt=wy.next()){var xn=Wt.value,xy=oJ.get(_.B(Vw,2));if(!xy)throw Error("Oe");
_.qN(Qh,[pN(xn),xy,Qg].join(" "),"or")}break;case 4:for(var Jq=Ni=_.C(xh,_.roa,4),pS=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),MF=_.m(Jq.Vi()),Ww=MF.next();!Ww.done;Ww=MF.next()){var vi=Ww.value,NF=pS.get(_.B(Jq,2));if(!NF)throw Error("Oe");_.qN(Qh,[Qg,NF,pN(vi)].join(" "),"or")}break;case 5:for(var Xw=Ni=_.C(xh,pXc,5),EA=new Map([[1,"in"]]),jZ=_.m(Xw.Vi()),kZ=jZ.next();!kZ.done;kZ=jZ.next()){var Sg=kZ.value,bD=EA.get(_.B(Xw,2));if(!bD)throw Error("Oe");_.qN(Qh,[pN(Sg),bD,Qg].join(" "),
"or")}break;case 12:for(var cD=Ni=_.C(xh,_.ioa,12),Er=new Map([[1,"="]]),ao=_.m(cD.Vi()),OF=ao.next();!OF.done;OF=ao.next()){var RN=OF.value,pJ=Er.get(_.B(cD,2));if(!pJ)throw Error("Oe");_.qN(Qh,[Qg,pJ,pN(RN)].join(" "),"or")}break;case 11:for(var qJ=Ni=_.C(xh,_.goa,11),lZ=new Map([[1,"in"]]),yy=_.m(qJ.Vi()),zy=yy.next();!zy.done;zy=yy.next()){var Sha=zy.value,Ns=lZ.get(_.B(qJ,2));if(!Ns)throw Error("Oe");_.qN(Qh,[pN(Sha),Ns,Qg].join(" "),"or")}}_.R(xh,15)?_.qN(b,"not ("+Qh+")"):_.qN(b,1<Ni.Vi().length?
"("+Qh+")":""+Qh)}}}null!=_.R(a,60)&&_.sN(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var SN=_.R(a,65);if(null!=SN){var rJ=[];rJ.push("clientEncryptionDetails.encryptionState");rJ.push("=");rJ.push(pN(SN?"encrypted":"unencrypted"));_.qN(b,rJ.join(" "))}var Yw=_.Uj(a,_.af,68);if(Yw.length){for(var sJ=[],Fr=[],tJ=_.m(Yw),mZ=tJ.next();!mZ.done;mZ=tJ.next()){var qS=mZ.value,rS="sharedFrom = "+pN(qS.Ya());_.S(qS,2,!1)?Fr.push(rS):sJ.push(rS)}pYc(b,sJ,!1);pYc(b,Fr,!0)}var u7=_.Uj(a,_.af,67);
if(u7.length){for(var uJ=[],nZ=[],sS=_.m(u7),FA=sS.next();!FA.done;FA=sS.next()){var Ip=FA.value,Kq="sharedTo = "+pN(Ip.Ya());_.S(Ip,2,!1)?nZ.push(Kq):uJ.push(Kq)}pYc(b,uJ,!1);pYc(b,nZ,!0)}null!=_.R(a,69)&&_.sN(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.sN(b,"canAcceptOwnership",_.R(a,72));1==_.fN(a)&&rYc(b,a);return b.toString()};
_.BYc=function(a){var b=new _.Po(_.AYc(a));_.zM(a)?_.qN(b,"isQuickAccessRequest"):_.AM(a)?_.qN(b,"isPeoplePredictRequest"):_.BM(a)&&_.qN(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.tUc[c.getType()]);d.push(_.BUc[c.zf()]);_.R(c,3)&&d.push("foldersFirst");_.qN(b,d.join(" "))}_.sN(b,"domainSearch",_.R(a,18));_.sN(b,"offline",_.R(a,19));_.Uj(a,_.eN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.sYc(a)),_.qN(b,c.join(" ")));a.mB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.tYc(a)),_.qN(b,c.join(" ")));if(c=_.fN(a))d=[],d.push("corpora"),d.push("="),d.push(pN(_.$Xc[c])),_.qN(b,d.join(" "));_.S(a,66,!0)||_.sN(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.fN(a)&&rYc(b,a);_.S(a,48,!1)&&_.qN(b,"cachedOnly");return b.toString()};_.WM=function(a){if(a instanceof _.JL)a=a.wd();else if(!a)return!1;return a instanceof _.IF||a instanceof _.HF||"undefined"!=typeof _.tN&&a instanceof _.tN||a instanceof _.Ye&&(_.zM(a)||_.AM(a)||_.BM(a))};
CYc=function(){_.Mo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(CYc,_.Mo);_.DYc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};EYc=function(a,b){a.V||(a.V=b)};CYc.prototype.Zj=function(){_.DYc(this);(0,this.ha)()};FYc=function(a,b){a.ha||(a.ha=b)};_.uN=function(a){if(!a.O){a.O=new RXc;var b=_.Oo(a);_.J(b,56,a.O)}return a.O};CYc.prototype.getState=function(){var a=_.uN(this).getState();a||(a=new GXc,_.uN(this).Nd(a));return a};
var GYc=function(a,b){var c=new EXc;_.A(c,1,b);a=_.Oo(a);_.J(a,12,c)};CYc.prototype.QE=function(){var a=_.uN(this).QE();if(!a){a=new OXc;var b=_.uN(this);_.J(b,16,a)}return a};CYc.prototype.ma=function(){var a=_.C(_.uN(this),IXc,4);if(!a){a=new IXc;var b=_.uN(this);_.J(b,4,a)}return a};HYc=function(a){var b=_.C(_.uN(a),JXc,8);b||(b=new JXc,a=_.uN(a),_.J(a,8,b));return b};IYc=function(a){var b=_.C(_.uN(a),PXc,19);b||(b=new PXc,a=_.uN(a),_.J(a,19,b));return b};
_.JYc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.ri.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.L(_.JYc,_.ri);_.g=_.JYc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Hl=function(){return 1===this.connectionState||2===this.connectionState};_.g.Ue=function(){return 3===this.connectionState};_.g.get=function(){return this.connectionState};
_.g.update=function(a){if(this.V)return!1;if(this.connectionState!==a||this.H&&1===a){if(2===a)var b=3===this.connectionState?_.aB.rU:_.aB.jha;else 1===a?(b=_.aB.AL,this.O=!0):3===a&&(b=_.aB.qU);if(b)return b=new WXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var KYc=function(a,b){this.userId=a;this.H=b;this.db=null},MYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return LYc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ue"))},function(d){return a.handleError(d)})},"readwrite")};KYc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.nBb=_.Yj(b),d)).then(null,function(e){c.handleError(e)})};
var NYc=function(a){return new _.Oh(function(b){var c=new Map;LYc(a,function(d){return sXc(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={xra:f.xra},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.xra=k;l.then(function(p){return function(q){q&&c.set(p.xra,new _.Mza(q.nBb))}}(f))}return _.pL([].concat(_.jd(e.values()))).then(function(){return b(c)})})})})},OYc=function(a,b){return LYc(a,
function(c){return c.remove(b)},"readwrite")},LYc=function(a,b,c){c=void 0===c?"readonly":c;return PYc(a).then(function(d){try{var e=_.sTc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.bM(f):void 0)}},function(d){return a.handleError(d)})},PYc=function(a){return a.db?_.Ph(a.db):_.uTc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.tXc(c,"OfflineImpressions");b=_.rTc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.BL(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ve"))}).then(function(b){return a.db=b},function(b){return _.Rh(_.bM(b))})};KYc.prototype.handleError=function(a){a||(a=Error("We"));_.mN(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Ph()};
_.QYc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.ri.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.L(_.QYc,_.ri);_.QYc.prototype.Ue=function(){return this.H};_.QYc.prototype.Jl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new nYc(a)))};_.QYc.prototype.Oy=function(a){this.O=a};
var SYc=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Jb=new _.Ee(this);this.Jb.listen(b,"Ab",function(k){k.Ue()||RYc(h)});this.Jb.listen(c,[_.aB.AL,_.aB.rU],function(){return void RYc(h)});this.W=e;f.then(function(){return RYc(h)})};_.L(SYc,_.ri);SYc.prototype.rA=function(a){return(this.H.Ue()||this.connectionState.Ue())&&this.H.O?MYc(this.O,a):this.V.rA(a)};
var RYc=function(a){return a.H.O?NYc(a.O).then(function(b){b.forEach(function(c,d){a.V.rA(c).then(function(){return TYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},TYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return OYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
SYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var UYc=function(){};UYc.prototype.KQ=function(){return new CYc};var VYc=function(){this.H=new SXc};VYc.prototype.O=function(a){_.J(a,13,this.H)};VYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
XYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.$r=d;this.O=this.H=null;this.client=_.vN(_.KUc,_.hN(a));this.W=_.B(a,94);this.ka=_.vN(_.OUc,_.Gj(a.$f(),8,0));this.kxa=_.vN(_.LUc,_.Gj(a.$f(),9,2));this.ma=_.S(a,10,!1);this.mu=_.CL(_.DL(a));this.BCa=_.iN(a);this.ha=WYc(a);this.buildLabel=a.Ki()};WYc=function(a){var b=[].concat(_.jd(_.HUc.keys())),c=[].concat(_.jd(_.IUc.keys())),d=_.SL(a);return b.filter(function(e){return _.HUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.IUc.get(e)(d)}))};
_.vN=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};XYc.prototype.wo=function(a){return null==a?0:a?2:1};var YYc=function(a){if(a.O)return a.O.H("aU7Ts")};
XYc.prototype.Ab=function(a){return a instanceof _.QA||"undefined"!=typeof _.wN&&a instanceof _.wN||"undefined"!=typeof _.xN&&a instanceof _.xN||"undefined"!=typeof _.yN&&a instanceof _.yN?a.Ab():"undefined"!=typeof _.zN&&a instanceof _.zN||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN?a.response?a.response.Ab():null:null};XYc.prototype.Ki=function(){return this.buildLabel};
var ZYc=function(a){return a.V.Ue()||a.connectionState.Ue()?2:1};XYc.prototype.getEnvironment=function(){return this.$r};$Yc=function(a,b){this.H=a;var c=new _.rya;_.sya(c,b.ha);a=this.H.GL();var d=_.lUc(a);_.J(d,10,c);(c=b.Ki())&&_.kUc(a,c);this.H.c_();this.O=b};
_.aZc=function(a,b,c){var d=_.No(a.H.OF(b,c),_.CUc);GYc(d,ZYc(a.O));b=YYc(a.O);"boolean"===typeof b&&HXc(d.getState(),b);1===c&&EYc(d,function(){return void a.H.KM(d)});FYc(d,function(){var e=a.O;e=e.H?e.H.Ld():void 0;var f=d.getState();_.A(f,1,e);a.H.qq(d)});return d};
bZc=function(a){var b=new _.fza,c=new VYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.kxa);_.A(c.H,5,a.ma);_.A(c.H,6,a.mu);_.A(c.H,7,a.BCa);a=c.setEnvironment(a.getEnvironment());_.xTc(b,_.EUc,a);_.Qo(b,_.CUc,new UYc);return b};
cZc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.NH(906,b,void 0,_.RUc());l.ha=!1;var p=new _.yTc(l);b=new Date;l=_.qUc(_.pUc(_.oUc(uXc(),new _.zTc(l)),bZc(c)),109).setSessionId(b.getTime()+"_"+_.Mg());if(k){a=new SYc(p,d,e,new KYc(a,f),f,h);_.nUc(l,a);d=l.build();_.jUc(d.GL(),1E3*b.getTime());var q=new $Yc(d,c);(new _.Ee).listen(a,"Bb",function(){_.aZc(q,106008,0).Zj()});return q}_.nUc(l,p);a=l.build();_.jUc(a.GL(),1E3*b.getTime());return new $Yc(a,c)};
dZc=function(a,b){this.V=a;this.W=b};dZc.prototype.O=function(a,b){this.V&&_.eZc(this)&&(a=_.aZc(this.V,a,0),b&&_.wTc(a,b),a.Zj())};_.EN=function(a,b){if(a.V&&_.eZc(a)){a=_.aZc(a.V,106018,0);var c=_.C(_.uN(a),NXc,15);if(!c){c=new NXc;var d=_.uN(a);_.J(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Zj()}};dZc.prototype.H=function(a,b){return this.V&&_.eZc(this)?(a=_.aZc(this.V,a,1),b&&_.wTc(a,b),a):null};_.eZc=function(a){return!(!a.V||!a.V.H.BP())};
_.fZc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.RL(_.DL(a)).toString(),l=_.gN(_.DL(a));f=new XYc(a,b,c,f);a=h?cZc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new dZc(a,f)};_.vM=function(a){_.O(this,a,-1,null,null)};_.L(_.vM,_.K);_.gZc=function(a){_.O(this,a,-1,null,null)};_.L(_.gZc,_.K);_.gZc.prototype.getId=function(){return _.B(this,1)};_.gZc.prototype.Pb=function(a){return _.A(this,1,a)};_.gZc.prototype.xe=function(){return _.C(this,_.lf,2)};_.EM=function(a){_.O(this,a,-1,null,null)};_.L(_.EM,_.K);
_.EM.prototype.Un=function(){return _.B(this,2)};_.EM.prototype.wd=function(){return _.C(this,_.gZc,3)};_.uM=function(a){_.O(this,a,-1,null,null)};_.L(_.uM,_.K);_.uM.prototype.wd=function(){return _.C(this,_.tM,1)};_.uM.prototype.ida=function(a){return _.A(this,2,a)};_.sM=function(a){_.O(this,a,-1,null,null)};_.L(_.sM,_.K);_.sM.prototype.getId=function(){return _.B(this,1)};_.sM.prototype.Pb=function(a){return _.A(this,1,a)};_.hZc=function(a,b){return _.A(a,2,b)};
_.GM=function(a){_.O(this,a,-1,null,null)};_.L(_.GM,_.K);_.GM.prototype.wd=function(){return _.C(this,_.sM,1)};iZc=[2];_.NM=function(a){_.O(this,a,-1,iZc,null)};_.L(_.NM,_.K);_.NM.prototype.Cc=function(){return _.B(this,1)};_.NM.prototype.JV=function(){return _.Uj(this,_.FF,2)};_.NM.prototype.xe=function(){return _.C(this,_.lf,3)};_.jZc=function(a){_.O(this,a,-1,null,null)};_.L(_.jZc,_.K);_.jZc.prototype.rk=function(){return _.B(this,1)};_.kZc=function(a){var b=new _.jZc;return _.A(b,1,a)};lZc=[1];
_.OVc=function(a){_.O(this,a,-1,lZc,null)};_.L(_.OVc,_.K);_.mZc=function(){this.H={}};nZc=function(a,b,c){if(a.H[b])throw Error("Xe");a.H[b]=c};_.mZc.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)}};oZc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.pZc=function(a,b){this.H=a;this.V=b;this.O=_.WUc[_.Gj(a.$f(),8,0)];this.W=_.WUc[_.Gj(a.$f(),51,5)];this.nonce=_.Mg()};
_.pZc.prototype.tc=function(a,b){if(b.NN)qZc(this,a,b),rZc(this,a,b);else if(11===a.Xm){if(b.BKb){var c=b.yD||_.E(this.H.$f(),37,"");_.ij(a.uri,"key",c)}qZc(this,a,b);sZc(this,a,b)}else switch(a.uri=tZc(this,a.Xm,a.uri),a.Xm){case 1:sZc(this,a,b);qZc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.mu||_.CL(_.DL(this.H))||_.ij(a.uri,"dsNonce",this.nonce));sZc(this,a,b);rZc(this,a,b);qZc(this,a,b);break;case 2:case 3:case 4:case 5:sZc(this,a,b);rZc(this,a,b);qZc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:sZc(this,
a,b);rZc(this,a,b);break;default:throw Error("Ye`"+a.Xm);}};uZc=function(a,b){var c=tZc(a,b,new _.bj);if(!c.H)throw Error("$e");return _.ej(_.dj(_.cj(new _.bj,c.O),c.H),c.W).yi(_.XUc.has(b)?"/batch"+a.O:"/batch")};
tZc=function(a,b,c){var d=_.B(a.H.$f(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.E(a.H.$f(),62,"");break;case 8:a=_.B(a.H.$f(),53);break;case 9:a=_.B(a.H.$f(),56);break;case 10:a=_.B(a.H.$f(),22);break;case 13:a=_.B(a.H.$f(),55);break;case 12:a=_.B(a.H.$f(),43);break;default:throw Error("Ye`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.bj(a);
_.Ad(c,"/")&&(c=c.slice(1));return new _.bj(a+"/"+c)};sZc=function(a,b,c){a=_.DL(a.H);c.mu||_.CL(a)||(c=[{key:"u",value:_.gN(a)}],b.headers.authorization=_.lcc(c)||"",c=_.RL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
qZc=function(a,b,c){var d=_.DL(a.H),e=a.H.$f(),f=c.H7a||!!_.B(e,13);c=c.I7a||_.S(e,14,!1);var h=11===b.Xm;f&&((f=_.B(e,13))&&_.Ad(f,"email:")?_.ij(b.uri,"trace",f):f&&"trace:true"===f?_.ij(b.uri,"$trace","true"):f?_.ij(b.uri,"trace","token:"+f):_.ij(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.ij(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Gj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
rZc=function(a,b,c){c.mu||_.CL(_.DL(a.H))?_.ij(b.uri,"key",_.E(a.H.$f(),36,"")):(a=c.yD||_.E(a.H.$f(),37,""),_.ij(b.uri,"key",a))};_.vZc=function(a,b){_.qH.call(this,a?a:500,b?b:6E5)};_.L(_.vZc,_.qH);_.wZc=function(a,b){this.O=b;this.H=new Map;this.Ila(_.Uj(a,_.Cl,91))};_.wZc.prototype.Ila=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.B(c,2);if(!b||!c)break;var d=_.xZc(this,b);if(d){d!==c&&NVc(b);break}this.H.set(b,c)}};
oWc=function(a,b){return[].concat(_.jd(new Set(b))).map(function(c){var d=(new _.Cl).Pb(c);a.H.has(c)?_.Dl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Dl(d,_.el(c));return d}).filter(function(c){return _.P(c,2)})};_.xZc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.P(a,140)?_.el(a):null};_.FN=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Cd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.FN.prototype.getState=function(){return this.state};
_.FN.prototype.pM=function(a){var b=this;if(this.W)return this.W;var c=_.Th();this.W=c.promise.then(function(){return _.kZc(1)},function(d){d=_.$A(d).Pg;var e=0;2===d.Kp()?e=3:_.QUc(d)&&(e=2);return _.kZc(e)});a&&this.W.then(function(d){3===d.rk()&&_.EN(b.Cd,186469046)});this.H&&(a=_.B(IYc(this.H),4)||0,QXc(IYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);yZc(this,c);return this.W};_.BZc=function(a,b){zZc(a,3)&&_.AZc(a,b)};_.FN.prototype.reset=function(){this.O=null;CZc(this)};
CZc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.AZc=function(a,b){if(!a.O&&!a.V){a.H=a.Cd.H(106025);if(a.H){var c=IYc(a.H);var d=!(!a.state.isConnected()&&a.state.Hl());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.vZc(5E3,6E4);DZc(a)}};DZc=function(a){CZc(a);yZc(a);a.O&&(a.timeout=setTimeout(function(){return void DZc(a)},a.O.Ya()),_.rH(a.O))};
yZc=function(a,b){_.Uh((a.ha?a.ha():_.Ph()).then(null,function(){return null}),function(){if(a.H){var c=_.B(IYc(a.H),3)||0,d=IYc(a.H);_.A(d,3,c+1)}EZc(a,b)})};EZc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Te(new _.cWc)}).then(null,function(d){d=_.$A(d);_.QUc(d.Pg)&&zZc(a,2);return _.Rh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.FN.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
zZc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.YUc.get(b)),!0):!1};hWc=[_.eM,_.gM,_.fM,_.iM,_.hM,_.jM,_.kM,_.nM,_.pM,_.qM,_.rM,_.tM,_.uM,_.JM,_.LM,_.NM,_.TL,_.OM,_.PM,_.QM,_.SVc,_.RM];FZc=[_.VL];iWc=[_.GF,_.XVc];jWc=[_.EM,_.EL,_.iD,_.SM];kWc=[_.JL,_.vM,_.Zz,_.VL,_.RVc];lWc=[_.SM,_.JF];mWc=[_.sM,_.OVc,_.DM,_.GM,_.HM,_.QVc,_.RM,ZVc,YVc];
GZc=function(a){return a instanceof _.JL||a instanceof _.SM||"undefined"!=typeof _.GN&&a instanceof _.GN||a instanceof _.PM||a instanceof _.qM||a instanceof _.jM||a instanceof _.nM||a instanceof _.TL&&_.VM(a)};_.HZc=function(a,b){this.O=b;this.H={};this.jj=new CXc;b=_.dM({fields:_.Md(a,28),lr:_.CL(_.DL(a))});this.Lb("SecondaryFields",b);this.Lb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.HZc.prototype.Lb=function(a,b){this.H[a]=IZc(a,b)};
var JZc=function(a,b){var c=a.H[b];c||(c=IZc(b,0,2),a.H[b]=c);c.Lb(String(Number(c.Ya())+1))};_.HZc.prototype.Dz=function(a){var b=_.Sa(this.H);this.O&&b.push(IZc("CacheSize",this.O.Ld()));b.push(IZc("InitialViewDataLoaded",a));a=new _.eYc;_.Nj(a,1,b);return _.Zh(a)};IZc=function(a,b,c){var d=new _.cYc;_.A(d,1,a);_.A(d,4,c||1);d.Lb(String(b));d.om(_.bVc.get(a));return d};
_.KZc=function(a,b,c){var d=new _.sUc;_.A(d,2,"Pending...");b instanceof _.JL?_.Wj(d,3,_.KL[0],b):b instanceof _.SM?_.Wj(d,4,_.KL[0],b):"undefined"!=typeof _.GN&&b instanceof _.GN?_.Wj(d,5,_.KL[0],b):b instanceof _.PM?_.Wj(d,6,_.KL[0],b):b instanceof _.qM?_.Wj(d,7,_.KL[0],b):b instanceof _.jM?_.Wj(d,8,_.KL[0],b):b instanceof _.nM?_.Wj(d,9,_.KL[0],b):b instanceof _.TL&&_.Wj(d,10,_.KL[0],b);var e=eWc(b),f=[];if(b instanceof _.fM)TM(f,"ID",b.getId()),TM(f,"Parent ID",b.Ik());else if(b instanceof _.qM)TM(f,
"TD ID",b.getId());else if(b instanceof _.JL)b=_.BYc(b.wd()),TM(f,"Query",b);else if(b instanceof _.SM)TM(f,"Query","All");else if(b instanceof _.PM)TM(f,"TD ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.jM)TM(f,"MimeType",b.getMimeType()),TM(f,"Title",b.getTitle()),TM(f,"Parents",_.Md(b,3)),TM(f,"Convert",_.R(b,8)),TM(f,"Request ID",b.fj()),TM(f,"Parent Request IDs",_.Md(b,10)),TM(f,"Revision Item ID",_.B(b,12)),TM(f,"Pinned",_.R(b,8));else if(b instanceof
_.kM)TM(f,"Title",b.getTitle());else if(b instanceof _.nM)TM(f,"ID",b.getId());else if(b instanceof _.rM)TM(f,"WS ID",b.getId());else if(b instanceof _.TL){if(TM(f,"ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Description",b.Qe()),TM(f,"Starred",_.R(b,4)),TM(f,"Trashed",b.Sh()),TM(f,"MimeType",b.getMimeType()),TM(f,"Parents",_.Md(b,8)),TM(f,"Parents to add",_.Md(b,9)),TM(f,"Parents to remove",_.Md(b,10)),TM(f,"Restricted",_.R(b,11)),TM(f,"Folder Color",b.Ti()),TM(f,"Update Last Viewed",_.R(b,15)),
TM(f,"Subscribed",_.R(b,16)),TM(f,"Available Offline",_.R(b,18)),TM(f,"Wksp to add",_.Md(b,31)),TM(f,"Wksp to remove",_.Md(b,32)),b=_.C(b,_.Vk,25))TM(f,"Read Only",_.R(b,1)),TM(f,"Reason",_.B(b,2))}else b instanceof _.QM?(TM(f,"WS ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"State",b.getState())):b instanceof _.SVc&&TM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.jj.add(d);return d};
_.LZc=function(a,b){for(var c=new _.Po,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.zVc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.HZc.prototype.aR=function(){return this.jj.Eg()};_.t("sy1m4");
_.HN=function(a){_.O(this,a,-1,null,null)};_.L(_.HN,_.K);_.HN.prototype.qd=function(){return _.C(this,_.QA,1)};_.MZc=function(a,b){return _.J(a,1,b)};_.HN.prototype.Un=function(){return _.B(this,3)};
_.NZc=function(a,b,c){_.gi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.NZc,_.gi);
_.OZc=function(a,b){this.O=a;this.V=b;this.H=null};
var IN=function(a){_.ri.call(this);this.name=a};_.L(IN,_.ri);_.g=IN.prototype;_.g.j4=function(){};_.g.UEa=function(){};_.g.T0a=function(){};_.g.KMa=function(){};_.g.S0a=function(){};_.g.PF=function(){this.dispatchEvent(new _.gi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var PZc=function(a,b){IN.call(this,"Online");var c=this;this.O=a;this.H=b;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.O,"Ab",function(d){d.Ue()||c.PF()});this.Mc.listen(this.H,"ib",this.PF)};_.L(PZc,IN);PZc.prototype.max=function(){var a=this.O.Ue(),b=this.H.vB();return!a&&b?Infinity:0};PZc.prototype.j4=function(){this.PF()};
var QZc=function(a){IN.call(this,"Online");var b=this;this.connectionState=a;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.connectionState,[_.aB.AL,_.aB.jha,_.aB.rU],function(){return b.PF()})};_.L(QZc,IN);QZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};QZc.prototype.j4=function(){this.PF()};
_.RZc=function(a,b){this.H=a;this.O=b};_.SZc=function(a){return a.H instanceof _.FN?new QZc(a.H.getState()):new PZc(a.O,a.H)};_.RZc.prototype.Jj=function(){return this.H instanceof _.FN?this.H.getState():this.O};
var UZc;_.TZc=function(a,b,c){this.AK=c;this.O=!0;this.V=0;this.H=new _.qH(a,b,.5)};UZc=function(a){return a.H.O+a.V};
_.JN=function(a,b){IN.call(this,"Backoff");this.H=a;this.O=b};_.L(_.JN,IN);_.JN.prototype.max=function(){return this.H.O?Infinity:0};_.JN.prototype.KMa=function(){var a=this.H;a.V=0;a.H.reset()};_.JN.prototype.S0a=function(a){var b=this;VZc(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.PF()},a),_.rH(this.H.H))};
var VZc=function(a){var b;return(a=null===(b=_.fa(a.ED))||void 0===b?void 0:b.response)?CVc(_.Zsb(a)):!1};_.JN.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.WZc=function(a,b){IN.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.WZc,IN);_.WZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.WZc.prototype.j4=function(a){a>=this.O?this.PF():null==this.H&&XZc(this)};_.WZc.prototype.UEa=function(a,b){0<b?XZc(this):this.H=null};var XZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.PF.bind(a),a.V)};
_.KN=function(){this.jj=[]};_.g=_.KN.prototype;_.g.add=function(a,b){b?this.jj.unshift(a):this.jj.push(a);return!0};_.g.Osa=function(a){return _.Ba(this.jj,0,a)};_.g.Ld=function(){return this.jj.length};_.g.cancel=function(a){return _.wa(this.jj,function(b){return b.zv.config.requestId===a?(b.le.resolve(fWc(b.zv.request)),!0):!1})};_.g.fK=function(){return _.ag(this.jj,function(a){return _.VM(a.zv.request)})};
var YZc=function(){IN.call(this,"Immediate")};_.L(YZc,IN);YZc.prototype.max=function(){return Infinity};YZc.prototype.j4=function(){this.PF()};
var ZZc=function(){IN.call(this,"One Request")};_.L(ZZc,IN);ZZc.prototype.max=function(){return 1};
_.LN=function(a){IN.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.LN,IN);_.LN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.LN.prototype.j4=function(){this.H<this.limit&&this.PF()};_.LN.prototype.UEa=function(a){this.H+=a.length};_.LN.prototype.T0a=function(a){this.H-=a.length;this.H<this.limit&&this.PF()};
var $Zc=function(){_.ri.apply(this,arguments)};_.L($Zc,_.ri);var b_c=function(a,b){a.dispatchEvent(new a_c(b))};$Zc.prototype.O=function(){};var a_c=function(a){_.gi.call(this,"Nb");this.request=a};_.L(a_c,_.gi);
_.MN=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ma=0;this.W=new Map;this.Mc=new _.Ee(this);this.Ma(this.Mc);for(a=0;a<this.H.length;a++)this.Mc.listen(this.H[a],"Mb",this.O_a);for(a=0;a<this.O.length;a++)this.Mc.listen(this.O[a],"Nb",function(k){c_c(h,!0,k.request)});this.ka=_.tt("drive.ds.network.queue.Queue [%s]",f)};_.L(_.MN,_.ri);_.MN.prototype.add=function(a){return c_c(this,!1,{zv:a,le:_.Th(),ED:[]})};
_.MN.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};_.MN.prototype.fK=function(){return this.V.fK()?!0:this.buckets.some(function(a){return a.fK()})};
var c_c=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.$p(new _.kc,"No queue bucket accepted request."),_.Rh(_.$A(a));for(var d=d_c(a),e=0;e<a.H.length;e++)a.H[e].j4(d);return c.le.promise};_.g=_.MN.prototype;
_.g.O_a=function(){var a=d_c(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].Osa(b);0<c.length&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),this.execute(c))}};
_.g.execute=function(a){var b=this,c=String(this.ma++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.pwb.bind(this,a[e]),this.owb.bind(this,a[e]));e=d_c(this);for(var f=0;f<this.H.length;f++)this.H[f].UEa(a,e);_.Uh(_.pL(d).then(this.nwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.O_a.bind(this),0)};
_.g.pwb=function(a,b){var c=a.zv.config;this.log(eWc(a.zv.request)+" request completed successfully. xd4: "+!(!c||!c.NN));this.H.forEach(function(d){return d.KMa()});this.O.forEach(function(d){return d.O(a)});a.le.resolve(b)};
_.g.owb=function(a,b){b=_.$A(b);this.log(eWc(a.zv.request)+(" request failed with error: "+b.ha+"."));a.ED.push({response:b,rRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].S0a(a);a.zv.config.QEa||!this.O.some(function(d){return d.intercept(a)})?a.le.reject(b):this.log(eWc(a.zv.request)+" encountered an error, but was intercepted to be retried.")};_.g.nwb=function(a){d_c(this);for(var b=0;b<this.H.length;b++)this.H[b].T0a(a)};
var d_c=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ld()){b=a.buckets[c].Ld();break}return b};_.MN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.e_c=function(a,b,c,d){$Zc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.bk(a,21,1E3);this.oa=_.bk(a,1,1);this.ma=function(){return new _.TZc(_.bk(a,63,1E3),_.bk(a,64,3E5),_.bk(a,65,10))}};_.L(_.e_c,$Zc);
_.e_c.prototype.intercept=function(a){var b=a.ED.length,c=0<b&&_.fa(a.ED).response||null;if(c){c=_.QL(c);if(2===c.Kp())return f_c(this,a);if(_.QUc(c))return 2>=b?(b_c(this,a),a=!0):a=!1,a;var d=c.nk();if(3===d||31===d||13===d||9===d)return g_c(this,a,b);if(CVc(c))return b=UZc(this.V),c=this.V,UZc(c)<c.AK?(this.log("Backoff number "+b+" for a User Rate Limit error."),b_c(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var f_c=function(a,b){var c=h_c(a,b),d=UZc(c);if(UZc(c)<c.AK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Ue()?(d=c.H.Ya(),_.n.setTimeout(function(){return b_c(a,b)},d),_.rH(c.H)):(_.n.setTimeout(function(){return b_c(a,b)}),c.V++),!0;a.H.delete(b);return!1},h_c=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},g_c=function(a,b,c){var d=a.oa;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return b_c(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.e_c.prototype.O=function(a){this.H.delete(a)};_.e_c.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var i_c=function(a){try{if("undefined"!==typeof FileReaderSync&&_.RUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.cxb,d=XXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.axb(_.bM(e),"reading data"))}},j_c=function(a){return i_c(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var k_c=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ja=c;this.W=d;this.Oa=e;this.request=f;this.config=h;this.O=this.oa=this.progress=0;this.Fa=this.va=this.ha=null;this.le=_.Th();this.finished=!1;this.Ba=this.Bu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Dz();a=_.RUc()&&a?_.B(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.tO="progress_"+this.requestId;h.tO=this.tO;this.ma=!!f.metadata};
k_c.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};k_c.prototype.start=function(){var a=this,b=new YVc(this.request.request,this.request.metadata),c=l_c(this);this.Ha.then(function(d){return d.Te(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;m_c(a)},function(d){return void a.le.reject(d)});return _.Uh(this.le.promise.then(function(d){n_c(a,d);return d},function(d){d=_.$A(d);n_c(a,d.Pg);return _.Rh(d)}),function(){oZc(a.H,[a.tO])})};
var l_c=function(a){var b=_.$a(a.config);nZc(a.H,a.tO,zXc(function(){return void a.H.notify([a.requestId],0)}));return b};k_c.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.le.resolve(fWc(this.request)),!0)};
var m_c=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),o_c(a,4))},o_c=function(a,b){p_c(a).then(function(c){if(c){var d=q_c(a,c.blob.size);a.Ha.then(function(f){return f.Te(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.oa+=h;a.Ba++;f.ZJ()&&(a.va=f.ZJ());f.ZM()&&(a.Fa=f.ZM());a.progress<a.fileSize?m_c(a):a.le.resolve(f)},function(f){if(d.QEa)a.cancel();else{var h=_.QL(f);h.YBa()||h.xla()||a.ma?r_c(a,b,h,!1):j_c(c.blob).then(function(k){k=k?_.oEa.get(k)||
25:38;_.$L(h,k);k=38===h.Kp();var l=38!==h.Kp()&&25!==h.Kp();r_c(a,b,h,k,l)},function(){})}})}else{var e=_.$A(_.$L(_.$p(new _.kc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.le.reject(e)}})},r_c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Kfa(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+"."));o_c(a,b)},a.Oa*Math.pow(1.5,f))):a.le.reject(_.$A(c))},p_c=function(a,b){return a.ma&&a.V?_.Ph(a.V):s_c(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return p_c(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 ZVc(a.ha,c,a.oa,a.oa+c.size-1,a.finished,a.request.request.getMimeType(),_.B(a.request.request,
12)||void 0);return a.V})},s_c=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.lQ?a.request.lQ(b,a.O):_.Ph(_.BVc(a.request.file,b,b+a.O))},q_c=function(a,b){var c=_.$a(a.config);c.CRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;oZc(a.H,[a.tO]);nZc(a.H,a.tO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},n_c=function(a,b){b.LMa(3);b.Kfa(a.Bu);b.ZJ()||b.bda(a.va);b.ZM()||b.Sca(a.Fa)};
_.t_c=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.t_c.prototype.create=function(a,b){return new k_c(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.u_c=function(a){this.O=a;this.H={}};_.u_c.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].zv.request instanceof _.$Vc)b.push(v_c(this,a[c].zv));else{var d=_.$p(new _.kc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.$A(d)))}return b};_.u_c.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.u_c.prototype.fK=function(){return!_.Va(this.H)};
var v_c=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Uh(d,function(){delete a.H[e]})};
_.w_c=function(a,b){return new _.MN(b,a,[new YZc],[new _.KN],[],"immediate")};_.x_c=function(a,b,c,d,e){return new _.MN(e,a,[_.SZc(d),new _.JN(c,e),new ZZc],[new _.KN],[new _.e_c(b,c,d.Jj(),e)],"connected")};_.y_c=function(a,b,c,d,e,f,h){h=void 0===h?_.bk(b,10,50):h;return new _.MN(e,a,[_.SZc(d),new _.WZc(h,_.bk(b,12,10)),new _.LN(3*h),new _.JN(c,e)],[new _.KN],[new _.e_c(b,c,d.Jj(),e)],f)};_.z_c=function(a,b,c){b=_.bk(b,46,1);return new _.MN(c,a,[new _.LN(b)],[new _.KN],[],"resumable_upload")};
_.A_c=function(a,b,c,d,e,f,h,k){this.mI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.A_c.prototype.Te=function(a,b){return B_c(this,a,b).then(null,function(c){c=_.$A(c);var d=c.Pg;gWc(a)||_.bq(d);return _.Rh(c)})};
var B_c=function(a,b,c){c=void 0===c?{}:c;var d=a.mI.validate(b);if(d)return _.Rh(_.$A(d));var e=a.ma.translate(b);e instanceof _.kc?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.V.execute(a,f,c)}).filter(function(f){return!!f}),d=0<d.length?Promise.all(d):void 0):d=a.V.execute(a,e,c)||void 0;return _.Ph(d).then(function(){if(e instanceof _.kc)return _.Rh(_.$A(e));if(Array.isArray(e)){var f=e.map(function(h){return C_c(a,b,h,c)});return _.pL(f)}return C_c(a,b,e,c)},function(f){return _.Rh(_.$A(f))})},
C_c=function(a,b,c,d){var e=D_c(a,c);if(!e)return b=_.$L(_.$p(new _.kc,"Failed to choose a queue for server request."),18),_.Rh(_.$A(b));if(e===a.H[7]||e===a.H[8])d.NN=!0;d=e.add({request:c,config:d});(_.VM(b)||_.VM(c))&&_.Uh(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};_.A_c.prototype.cancel=function(a){return _.Qa(this.H,function(b){return b.cancel(a)})};
var D_c=function(a,b){var c,d=!1;b instanceof _.vM?d=!(null===(c=_.C(b,_.Zz,2))||void 0===c||!_.R(c,7)):b instanceof _.Zz?d=!!_.R(b,7):b instanceof _.JL&&(d=(d=b.wd())&&!!_.R(d,46));return(b instanceof _.cWc||b instanceof _.kL&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.$Vc&&a.H[5]?a.H[5]:d&&nWc(b,a.O)&&a.H[7]?a.H[7]:nWc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.vM||b instanceof _.Zz)&&a.H[6]?a.H[6]:(d||FZc.includes(b.constructor))&&a.H[3]?a.H[3]:hWc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var E_c=function(a){this.H=a};E_c.prototype.build=function(a,b){var c="====="+_.Mg()+"=====",d=a[0].Xm,e=b.every(function(l){return l.NN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=uZc(this.H,a[0].Xm);_.ij(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=F_c[d],h=G_c[d]||{},h["content-type"]=_.tt('multipart/mixed; boundary="%s"',c),d=H_c[d],k=new _.bj("");a=I_c(this,a,b,c,e);return{Xm:f,body:a,headers:h,method:d,uri:k}};
var I_c=function(a,b,c,d,e){for(var f=LVc(J_c[b[0].Xm]||{}),h="",k=0;k<b.length;k++){e&&sZc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=tZc(p,q.Xm,q.uri);switch(q.Xm){case 0:case 5:rZc(p,q,r);qZc(p,q,r);break;case 2:sZc(p,q,r);rZc(p,q,r);var u=q,y=_.B(p.H.$f(),57);u.headers.host=_.mj(y).H;u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;qZc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ze`"+q.Xm);default:throw Error("Ye`"+
q.Xm);}p=l;q=p.uri.clone();_.cj(q,"");_.dj(q,"");_.ej(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+LVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},K_c={},F_c=(K_c[0]=1,K_c[2]=3,K_c),L_c={},H_c=(L_c[0]="POST",L_c[2]="PUT",L_c[12]="POST",L_c),M_c={},N_c={},G_c=(N_c[2]=(M_c["x-goog-upload-protocol"]="batch",M_c),N_c),O_c={},P_c={},Q_c={},R_c={},J_c=(R_c[0]=(O_c["content-type"]="application/http",O_c["content-transfer-encoding"]="binary",O_c),R_c[12]=
(P_c["content-type"]="application/http",P_c["content-transfer-encoding"]="binary",P_c),R_c[2]=(Q_c["content-type"]="application/http",Q_c),R_c);
var S_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,T_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var U_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.jj=new Map};U_c.prototype.add=function(a,b){var c="DEFAULT";b.NN&&(c=uZc(this.V,a.Xm).toString());this.jj.has(c)||this.jj.set(c,[]);c=this.jj.get(c);if(1<=c.length&&!b.NN&&!F_c[a.Xm])return a=_.$p(new _.kc,"Unsupported batch API: "+a.Xm),_.Rh(_.$A(a));var d=_.Th();c.push({request:a,config:b,le:d});return d.promise};
U_c.prototype.send=function(){var a=this;this.jj.forEach(function(b,c){try{V_c(a,b)}catch(f){var d=_.aq(_.$p(new _.kc,"Error executing XHR: "+f.message),f.stack),e=_.$A(d);b.forEach(function(h){h.le.reject(e)});a.jj.delete(c)}})};
var V_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.yCa&&!c.config.NN){var d=!1;if(F_c[c.request.Xm]){var e={Xm:c.request.Xm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.tc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){W_c(a,c);return}}}X_c(a,b)},W_c=function(a,b){var c=b.le;a.W.Yg(b.request,b.config).then(function(d){c.resolve(d);Y_c(a,b)},function(d){a.handleError(b,d);c.reject(_.$A(d))})},X_c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.Yg(a.ha.build(c,d),{yCa:!0,NN:d.every(function(e){return e.NN})}).then(function(e){e.headers=_.oVc(e.headers);var f=T_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.lc("Could not extract batch boundary.",_.$L(_.aq(new _.kc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Ad(_.cia(h[0]),f)&&_.ae(h[1]))h=_.cia(h[0]).substring(f.length);else throw new _.lc("Could not parse batch response; did not begin and end with boundary.",
_.$L(_.aq(new _.kc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var u=void 0;var y,z=e.headers,D=f[l],H=p&&p.uri,I=D.split("\r\n\r\n");if(2>I.length)u=new _.lc("Individual batch response contained too few parts.",_.$L(_.aq(new _.kc,D),17));else{var M=I[1].split("\r\n");if(y=S_c.exec(M[0])){p=_.Rg(y[1]);y=y[2];M.shift();z=_.$a(z);for(var Q=Object,W=Q.assign,pa={},ia=0;ia<M.length;ia++){var na=_.lia(M[ia],":",1);na&&2===
na.length&&(pa[(0,_.cg)(na[0])]=(0,_.cg)(na[1]))}M=_.oVc(pa);W.call(Q,z,M);try{u=_.ae(_.Lg(I[2]))?void 0:JSON.parse(I[2])}catch(qa){}u=(p=_.tVc(p,y,z,D,u,void 0,void 0,H&&H.toString()))?_.$A(p):{headers:z,text:D,json:u||void 0}}else u=new _.lc("Could not extract HTTP status code and text.",_.$L(_.aq(new _.kc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.$A(e);return _.xSc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].le,l=e[h];l instanceof _.kc||l instanceof
_.lc?(l=_.$A(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Y_c(a,b[0])})},Y_c=function(a,b){var c=b.request.Xm;b=!b.config.mu&&_.ma(Z_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=zZc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.Zj(),a.H=null)}else a.O&&b&&a.O.va()};
U_c.prototype.handleError=function(a,b){a=_.Zsb(b);if(2===a.Kp()){if(this.H)return _.BZc(this.H),!0}else if(_.QUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.AZc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var Z_c=[0,2,4,7,8];
var $_c=function(){_.Yi.apply(this,arguments)};_.L($_c,_.Yi);$_c.prototype.getAllResponseHeaders=function(){return _.cia(_.Yi.prototype.getAllResponseHeaders.call(this))};
var a0c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=a0c.prototype;_.g.Yg=function(a,b){try{this.W.tc(a,b);var c=new $_c;c.qC=!0;var d=b.requestId||"",e=_.Th();c.listen("complete",this.Cab.bind(this,c,e,d,b.yCa,4===a.Xm));d&&b.tO&&!b.NN&&(this.O[d]=c,this.H[d]=b,c.Gb=!0,c.listen("uploadprogress",(0,_.v)(this.$zb,this,b)),b.CRa||c.listen("downloadprogress",(0,_.v)(this.Zvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.Rh(_.$A(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.QEa=!0,b.abort(),!0):!1};_.g.Cab=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.O[c],delete this.H[c]);c={headers:_.Zla(a),text:a.Tk()};if(!d)try{c.json=_.mL(a)}catch(f){}d=_.tVc(a.Ab(),_.Wla(a),c.headers,c.text,c.json,a.O,_.$la(a),String(a.oa),e);a.dispose();d?b.reject(_.$A(d)):b.resolve(c)};_.g.$zb=function(a,b){b.lengthComputable&&this.V.notify([a.tO],a.CRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Zvb=function(a,b){b.lengthComputable&&this.V.notify([a.tO],b.loaded/b.total/2+.5)};
_.b0c=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.oa=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new E_c(this.O);this.W=new a0c(this.O,this.va)};_.g=_.b0c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].zv;this.V.push(e);b.push(this.Ba.DE(e,a[d].ED));c.push(GZc(e.request)?_.KZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.$A(_.tVc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new U_c(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={nra:e.nra},k++){e.nra=a[k].zv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.nra)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].zv,l=d[e].then(this.eob.bind(this,k.request,c[e],a[e].ED)).then(null,function(p){return Promise.reject(_.$A(p))}),l.then(this.MMa.bind(this,k),this.MMa.bind(this,k)),b.push(l);return b};_.g.eob=function(a,b,c,d){a=this.oa.DE(a,d,c);b&&(c=a.Fd?a.Fd():[],_.LZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.fK=function(){return this.V.some(function(a){return _.VM(a.request)})};
_.g.MMa=function(a){_.va(this.V,a)};
_.c0c=function(){};_.c0c.prototype.execute=function(){return null};
var d0c;d0c=function(a){this.H=a};_.NN=function(a,b){if(!_.Ca(b))throw new _.lc("Expected an object, but got a "+_.Lfa(b)+".",_.aM(11,void 0,8));var c=b.kind;if(!c)throw new _.lc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.aM(11,void 0,21));if(!a.includes(c))throw new _.lc("Expected "+a.join(" or ")+" but got a "+c+".",_.aM(11,void 0,9));};_.ON=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.e0c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.tWc(new _.Tk,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.CWc(_.xWc(_.DWc(_.EWc(_.FWc(_.BWc(_.AWc(_.wWc(_.vWc(_.uWc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.A(b,13,a.canRenameTeamDrive);b=_.GWc(_.zWc(_.yWc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.JWc(_.IWc(_.HWc(_.A(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.A(b,34,a.canDeleteChildren);b=_.A(b,35,a.canTrashChildren);b=_.A(b,36,a.canRequestApproval);b=_.A(b,37,a.canReadCategoryMetadata);b=_.A(b,38,a.canEditCategoryMetadata);b=_.A(b,39,a.canChangeCategoryReferences);b=_.A(b,49,a.canSetMissingRequiredFields);
b=_.A(b,40,a.canAddMyDriveParent);b=_.A(b,41,a.canRemoveMyDriveParent);b=_.LWc(_.KWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.OWc(_.NWc(_.MWc(_.A(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.A(b,50,a.canChangeSecurityUpdateEnabled);b=_.A(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.A(b,52,a.canCreateDecryptedCopy);b=_.A(b,53,a.canCreateEncryptedCopy);b=_.A(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.A(b,55,a.canBlockOwner)};_.PN=function(a,b){_.NN(["drive#user"],b);var c=_.rWc(_.sWc(_.pWc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.jo(b.picture.url);_.IL(a.H)&&_.rWc(c,b.emailAddressFromAccount||b.emailAddress);_.qWc(c,a.Of(b.id));_.A(c,9,b.domain);return c};d0c.prototype.Of=function(a){if(a)return _.gN(_.DL(this.H))==a};
var f0c,l0c,A0c,i0c,q0c,p0c,r0c,t0c,v0c,h0c,x0c,w0c,y0c,z0c,C0c,D0c,B0c,s0c;f0c=function(a,b){this.H=a;this.O=b};
_.j0c=function(a,b,c){var d=new _.HN,e=new _.QA,f=e.Qw;_.NN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.g0c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.g0c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.NN(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=h.spellCorrections;for(h=0;h<q.length;h++){k=q[h].spellFragments;a=[];for(l=0;l<k.length;l++){p=k[l];var r=(new _.Crb).Dc(h0c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.Grb;a=_.Nj(k,1,a);f.push(a)}q=new _.Irb;_.Nj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.Erb;_.Kj(u,1,f)}q||u?(f=new _.Jrb,q&&_.J(f,1,q),u&&_.J(f,2,u),u=f):u=null;_.J(e,7,u);u=i0c(b);_.Kj(e,18,u)}d=_.MZc(d,e);c=_.qVc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
l0c=function(a,b,c,d,e){_.NN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.VXc(new _.UM,c);"drive#adminFile"==b.kind?(_.NN(["drive#adminFile"],b),c=(new _.Yk).Pb(b.id),b.parentId&&_.bN(c,[b.parentId]),_.eXc(c,b.teamDriveId),f.setItem(c),_.VXc(f,c.getId())):"drive#file"==b.kind?(b=_.g0c(a,b),f.setItem(b),c||_.VXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.k0c(a,b),_.J(f,4,b));f.bda(_.pVc(d));f.Sca(_.qVc(d));(d=(d=d&&_.oVc(d))&&d["x-server-object-version"])&&e&&(e=(new _.lN).Pb(d),
_.J(f,4,e));f.Dc(1);return f};_.m0c=function(a,b){return _.VXc(new _.UM,a).Dc(1).bda(_.pVc(b)).Sca(_.qVc(b))};_.o0c=function(a,b,c,d){d||_.NN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.n0c(a,b[c],d);f&&e.push(f)}return e};
_.n0c=function(a,b,c){c||_.NN(["drive#permission"],b);c=_.qWc(_.sWc(_.pWc(p0c[b.type]).Pb(b.id),b.userId),a.H.Of(b.userId));c=_.A(c,4,b.withLink);c=_.rWc(c.jd(b.name).jo(b.photoLink),b.emailAddress);c=_.A(c,9,b.domain);c=_.A(c,10,b.deleted);c=_.A(c,12,b.audienceId);c=_.A(c,13,b.customerId);c.getId()||c.Pb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.IL(a.O)&&c.jd(b.nameIfNotUser);a=q0c[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.A(c,6,a);
return c};
_.g0c=function(a,b){_.NN(["drive#file"],b);var c=b.title,d=(new _.Yk).Pb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.cXc(_.ZWc(_.PF(_.bN(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.A(c,90,Number(b.thumbnailVersion));_.A(c,21,b.iconLink);c.om(b.description);_.$Wc(c,b.explicitlyTrashed);_.A(c,22,b.shared);null!=b.quotaBytesUsed&&_.A(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.A(c,14,Number(b.fileSize));_.A(c,
30,b.copyable);b.labels&&(d=b.labels,c.Bv(d.starred),_.A(c,6,d.hidden),c.Ln(d.trashed),_.WWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.ON(b.createdDate));_.A(c,69,_.ON(b.serverCreatedDate));_.MTb(c,_.ON(b.modifiedDate));_.A(c,12,_.ON(b.modifiedByMeDate));_.A(c,13,_.ON(b.lastViewedByMeDate));_.A(c,23,_.ON(b.sharedWithMeDate));_.A(c,62,_.ON(b.subscribedDate));_.A(c,70,_.ON(b.recency));b.recencyReason&&_.A(c,71,r0c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.PN(a.H,
e[f]))&&d.push(h);_.XWc(c,d);b.lastModifyingUser&&(d=_.PN(a.H,b.lastModifyingUser),_.YWc(c,d));b.userPermission&&_.NTb(c,q0c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.ZM).wh(e.width).uh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.xUc,f.setMilliseconds(0),s0c.parse(e,f),_.A(d,1,f.getTime())),_.J(c,27,d));null!=b.folderColor&&_.bXc(c,Number(b.folderColor));_.aXc(c,b.subscribed);_.A(c,45,b.fileExtension);_.Kj(c,50,b.folderFeatures);_.A(c,36,b.flaggedForAbuse);
_.A(c,53,b.gplusMedia);_.A(c,46,b.primarySyncParentId||void 0);_.A(c,35,b.hasChildFolders);b.source&&(_.A(c,42,b.source.client_service_id),_.A(c,43,b.source.value));b.sharingUser&&(d=_.PN(a.H,b.sharingUser),_.J(c,47,d));b.sources?_.Kj(c,56,b.sources):b.gplusMedia&&_.Kj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.lSc[h]&&(h=_.Ue(new _.Te,_.lSc[h]),e.push(h));c.tA(e)}_.A(c,63,b.ownedByMe);_.A(c,29,b.shareable);b.sourceAppId&&_.A(c,61,b.sourceAppId);_.A(c,74,
b.changed);null!=b.recursiveFileSize&&_.A(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.A(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.Ena).Pb(h.id);h=_.A(k,2,t0c[h.type]);e.push(h)}_.Nj(c,83,e)}b.capabilities&&_.cN(c,_.e0c(b.capabilities));b.permissionsSummary&&_.fXc(c,_.u0c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.$M).om(d.description),
e=_.A(e,3,v0c[d.galleryState]),d=_.Kj(e,2,d.category),_.J(c,86,d));_.eXc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.PN(a.H,b.creator),_.J(c,91,d));_.gXc(c,b.primaryDomainName);_.hXc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.PN(a.H,b.trashingUser),_.J(c,95,d));c.ida(_.ON(b.trashedDate));b.version&&_.A(c,75,Number(b.version));_.A(c,98,b.hasVisitorPermissions);_.A(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.A(c,101,w0c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.aN).wh(d.width).uh(d.height),d.durationMillis&&_.A(e,3,Number(d.durationMillis)),_.J(c,103,e));_.Kj(c,104,b.detectors);_.A(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.RWc(_.QWc(new _.Vk,f.readOnly),f.reason),d.push(f);_.Nj(c,125,d)}if(d=b.publishingInfo)_.A(c,118,d.published),_.A(c,119,d.publishedUrl);_.Kj(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.A(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Gna).Pb(f.approvalId).Dc(x0c[f.status]),d.push(f);_.Nj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Qna,e=_.A(e,1,d.targetId),e=_.A(e,3,d.targetMimeType),e=_.A(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.A(e,4,y0c[d.targetLookupStatus]||0),d.targetFile&&(d=_.g0c(a,d.targetFile),_.J(e,5,d)),_.J(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.YM,e=_.A(e,1,z0c[d.encryptionState]),d.decryptionMetadata&&(d=A0c(d.decryptionMetadata),_.J(e,2,d)),_.J(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Hna,e=_.A(e,2,d.securityUpdateEligible),e=_.A(e,3,d.securityUpdateEnabled),d=_.A(e,5,d.securityUpdateExplicitlySet),_.J(c,139,d));_.A(c,140,b.resourceKey);_.Kj(c,135,b.authorizedAppIds);
_.iXc(c,b.customerId);_.A(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&_.A(c,145,B0c[b.abuseNoticeReason]);_.KVc(c);_.IL(a.O)&&_.dXc(c,5);return c};
_.k0c=function(a,b){_.NN(["drive#revision"],b);var c=(new _.lN).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.ON(b.modifiedDate));c=_.A(c,4,b.pinned);c=_.A(c,5,b.downloadUrl);c=_.A(c,7,b.originalFilename);null!=b.fileSize&&_.A(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.PN(a.H,b.lastModifyingUser),_.J(c,9,a));b.decryptionMetadata&&(b=A0c(b.decryptionMetadata),_.J(c,10,b));return c};
_.u0c=function(a,b){a=_.UWc(_.TWc(_.SWc(new _.Lna,b.entryCount),_.o0c(a,b,"visibility",!0)),_.o0c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};A0c=function(a){var b=a.wrappedKey;var c=new _.PWc;b=b?_.BXc(b):void 0;c=_.A(c,1,b);c=_.A(c,2,Number(a.kaclsId));c=_.A(c,5,a.kaclsName);c=_.A(c,3,C0c[a.aes256GcmChunkSize]);c=_.A(c,6,D0c[a.keyFormat]);return _.A(c,4,a.jwt)};
i0c=function(a){_.NN(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};q0c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};p0c={anyone:4,audience:5,domain:3,group:2,user:1};r0c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};t0c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};v0c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};h0c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
x0c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};w0c={docs:1,sheets:2,slides:3};y0c={ok:1,notFound:2,permissionDenied:3};z0c={unencrypted:1,encrypted:2};C0c={unset:0,"default":1,small:2,size16kb:3};D0c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};B0c={UNKNOWN_REASON:0,ACCESSIBLE_ONLY_TO_OWNER:1,ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER:2,SUSPICIOUS_OTHER:3,SUSPICIOUS_PHISHING:4,SUSPICIOUS_MALWARE:5};s0c=new _.BVa("yyyy:MM:dd HH:mm:ss");
var H0c;_.E0c=function(a){this.V=new d0c(a);this.nF=new f0c(this.V,a)};_.E0c.prototype.DE=function(a,b,c){c=void 0===c?[]:c;try{return F0c(this,a,b,c)}catch(d){_.cM(d)}};
var F0c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.jM)return _.G0c(a,b,c);if(b instanceof _.sM)return H0c(0,c,d);if(b instanceof _.Zz||b instanceof _.vM){if(!c.json)throw _.QN();return _.j0c(a.nF,c.json,c.headers)}if(b instanceof _.RM)return _.G0c(a,b,c);if("undefined"!=typeof _.VVc&&b instanceof _.VVc){if(!c.json)throw _.QN();a=c.json;return new _.jYc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.I0c&&b instanceof _.I0c){if(!c.json)throw _.QN();
return _.k0c(a.nF,c.json)}if(b instanceof _.GM)return H0c(b.wd(),c,d);if(b instanceof ZVc){if(b.V){if(!c.json)throw _.QN();a=l0c(a.nF,c.json,null,c.headers,!!b.revisionId)}else a=_.m0c(null,c.headers);return a}if(b instanceof YVc){a=_.oVc(c.headers);b=a.location;if(!b)throw a=_.$L(new _.kc,10),new _.lc("No upload session URI included.",a);return new kYc(b,_.pVc(a),_.qVc(a))}if(b instanceof _.cWc)return new lYc;throw new _.lc("FromXhrConverter: Unsupported request type.",new _.kc);};
_.E0c.prototype.ha=function(){return null};H0c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new mYc(_.Eaa(b.text),c.length):new mYc(new Uint8Array(_.oma(b.text)),c.length)};_.G0c=function(a,b,c){if(!c.json){if(b instanceof _.TL)return _.m0c(_.J0c(b));throw _.QN();}var d=!1;b instanceof _.RM&&(d=!!_.B(b.request,12));return l0c(a.nF,c.json,_.J0c(b),c.headers,d)};_.QN=function(){var a=_.$L(new _.kc,11);return new _.lc("FromXhrConverter: JSON required, but none found",a)};
_.J0c=function(a){return a.getId?a.getId():a.Cc?a.Cc():null};
var N0c,O0c,Q0c,K0c,R0c,L0c;
N0c=function(a,b){var c={};_.ae(_.Lg(a.getTitle()))||(_.B(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Cc()&&_.Lea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.sj(b.ka()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=K0c[d?d.O():0],h.keyFormat=L0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.M0c(c,_.Md(a,3));(b=a.Cc())&&(c.id=b);_.B(a,16)&&(c.embeddingParent=_.B(a,16));a.c2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.c2());"number"===typeof _.B(a,26)&&(c.modifiedDate=_.rXc(_.qYc(_.B(a,26)||0)));return c};_.M0c=function(a,b){if(b.length){a.parents=[];for(var c=0;c<b.length;c++){var d={};d.id=b[c];a.parents.push(d)}}};O0c={};_.P0c=(O0c[1]="active",O0c[2]="archived",O0c);Q0c={};K0c=(Q0c[0]="unset",Q0c[1]="default",Q0c[2]="small",Q0c[3]="size16kb",Q0c);R0c={};L0c=(R0c[0]="unsetKeyFormat",R0c[1]="tinkKeyset",R0c[2]="tinkAesGcmKey",R0c);
var U0c=function(a,b,c){return(a.lQ?a.lQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return i_c(d)}).then(function(d){return S0c(a,b,d,c)},T0c)},S0c=function(a,b,c,d){var e=!!_.B(a.request,12),f="files";e&&(f+="/"+_.B(a.request,12));f=new _.bj(f);_.ij(f,"uploadType","multipart");_.ij(f,"supportsTeamDrives",!0);_.ij(f,"pinned",!!_.S(a.request,13,!1));null!=_.R(a.request,8)&&_.ij(f,"convert",_.R(a.request,8));_.ij(f,"fields",_.FVc({fields:_.oN(b).filter(function(q){return 194!=q}),lr:!1}));
MVc(f,a.request.xe());var h=N0c(a.request,a.metadata),k=_.Mg();b={};b=(b["content-type"]=_.tt('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());_.XM(d,_.Uj(a.request,_.Cl,28),[],null,b);a="--"+k;a=a+"\r\n"+LVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+LVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Xm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},T0c=function(a){if(a instanceof _.axb){var b=new _.kc;_.$p(b,"fs.Error: "+a.message);a=(a=a.name)?_.oEa.get(a)||25:38;_.$L(b,a);b=_.$A(b)}else b=_.bM(a);return Promise.reject(b)};
_.TN=function(a,b,c,d){this.H=a;this.Jg=b;this.O=c;this.Cd=d;this.ka=_.SL(a)||new _.SUc};_.TN.prototype.DE=function(a,b){try{return a.request instanceof _.RM?U0c(a.request,this.Jg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.lc?a=c.Pg:(a=new _.kc,_.$p(a,"Error converting XHR: "+c.message),_.aq(a,c.stack),_.$L(a,4)),Promise.reject(a)}};
_.TN.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.jM){h=(e=!!_.B(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.B(a,12),k.pinned=!!_.S(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.FVc({fields:this.Lg(c),lr:_.CL(_.DL(this.H)),BG:_.IL(this.H)});e=N0c(a);f["content-type"]="application/json";var r=a.xe();p=!0;_.nN(k);_.V0c(this.H,k);_.XM(this.H,_.Uj(a,_.Cl,28),_.Md(a,3).concat([_.B(a,16),a.c2(),a.Cc()]),this.O,f)}else if(a instanceof _.sM||a instanceof
_.GM)a instanceof _.GM?(l=a.wd(),_.P(a,2)&&(q="bytes="+_.B(a,2)+"-",_.P(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",_.XM(this.H,[_.Dl((new _.Cl).Pb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.vM||a instanceof _.Zz){if(a instanceof _.vM)q=_.B(a,1),a=_.C(a,_.Zz,2);else if(a instanceof _.Zz)q=0,_.EN(this.Cd,190196159);else throw Error("Xf");p=a.hn()[q];q="files/"+
p;r=_.xa(this.Lg(c),this.Lg(c,a.O()));_.Fa(r);k.fields=_.FVc({fields:r,lr:_.CL(_.DL(this.H)),BG:_.IL(this.H)});_.nN(k);_.W0c(this.H,k);_.X0c(this.H,k);this.W(p,k);r=a.xe();p=!0;_.R(a,7)&&(b.yCa=!0);_.XM(this.H,_.Uj(a,_.Cl,11),a.hn(),this.O,f)}else if("undefined"!=typeof _.VVc&&a instanceof _.VVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.I0c&&a instanceof _.I0c)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",
q="files/"+a.id+"/revisions/"+a.revisionId,p=l=!0;else if(a instanceof ZVc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var u=a.H;b=a.O;f["content-range"]=a.V?_.tt("bytes %d-%d/%d",u,b,b+1):_.tt("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof YVc?(d=2,h=(e=!!_.B(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.B(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.R(a.request,8)&&(k.convert=_.R(a.request,8)),k.fields=_.FVc({fields:this.Lg(c).filter(function(y){return 194!=
y}),lr:_.CL(_.DL(this.H)),BG:_.IL(this.H)}),_.nN(k),e=N0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.XM(this.H,[],_.Md(a.request,3),this.O,f),r=a.request.xe(),p=!0):a instanceof _.cWc?(q="about",k.fields="kind",r=a.H,p=!0):_.Y0c(a);p&&_.Z0c(c,k);0!=d||l||r&&_.B(r,1)||_.EN(this.Cd,74438989);return _.$0c(this,d,q,k,f,h,r,e,u)};
_.$0c=function(a,b,c,d,e,f,h,k,l){c=new _.bj(c);[10,12,13].includes(b)||MVc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Ki())&&(e["X-Goog-Drive-Client-Version"]=a);d=_.m(Object.entries(d));for(a=d.next();!a.done;a=d.next())h=_.m(a.value),a=h.next().value,h=h.next().value,_.jj(c,a,h);return{Xm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.W0c=function(a,b){_.S(a.$f(),23,!1)&&(b.includePermissionsForView="published")};_.TN.prototype.W=function(){};
_.X0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.V0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.Z0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).rRb):b.retryCount=0};_.TN.prototype.Lg=function(a,b){b||(b=_.oN(this.Jg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return TXc.includes(c)}));return b};_.Y0c=function(a){var b=_.$L(new _.kc,4);throw new _.lc("ToXhrConverter: Unsupported request type: "+eWc(a),b);};
_.UN=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.oa=f;this.jj={};this.ha={};this.Cd=null;_.we(this,function(){h.jG()})};_.L(_.UN,_.ri);_.UN.prototype.qQ=function(){return _.oL()};
_.UN.prototype.upload=function(a,b,c,d){JZc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.jj[e])throw new _.lc("Upload requested with a duplicate request ID.");var f=_.Md(a,10);if(f&&f.length){if(1!==f.length)throw new _.lc("Multi-parented uploads are not supported.");var h=this.jj[f[0]];if(!h)throw new _.lc("The parent upload request must precede this request.");}!_.B(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);e||(e=this.qQ(),_.A(a,9,e));a=a.clone();f=a1c(this,e);this.jj[e]={request:a,
file:b,Bg:f,LM:!1,Bu:0,success:!1,AE:!1,children:[],metadata:c,Jla:void 0,lQ:d};h?b1c(this,e,h):this.ka(e);return f.xn()};
var a1c=function(a,b){var c=new _.Vh;c.Tf(_.wb(a.Fa,b),_.wb(a.Ha,b),a);return c},b1c=function(a,b,c,d){var e=a.jj[b];c.children.push(b);_.Fa(c.children);c.Bg.then(function(f){if(1===f.Ab()&&(f=f.Cc(),_.Md(e.request,3).push(f),_.MH(e.request,10),!c.AE||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.Bg.Pd(_.HL(f)?f:Error(f))})};
_.UN.prototype.Fa=function(a,b){JZc(this.V,"UploadSuccessCount");a=this.jj[a];a.success=1===b.Ab();(b=a.Jla)&&!a.AE&&(KXc(MXc(HYc(b),a.Bu),!0),b.Zj())};_.UN.prototype.Ha=function(a,b){var c=_.C(this.O,_.ZL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);JZc(this.V,"UploadFailureCount");c=this.jj[a];(a=c.Jla)&&!c.AE&&(KXc(MXc(HYc(a),c.Bu),!1),b=(c=b&&b.Pg)&&c.nk(),c=c&&c.Kp(),b?LXc(HYc(a),c1c.get(b)||13):c&&LXc(HYc(a),d1c.get(c)||0),a.Zj())};
_.UN.prototype.ka=function(a){var b=this.jj[a];if(!b.LM){b.LM=!0;a=this.jj[a];var c=a.request,d=_.C(this.O,_.ZL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(e1c))&&(!d[1]||a.Bu<Number(d[1].substr(1)))&&(c=c.clone(),_.sa(_.Md(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Dz())?_.B(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.$f();d=_.bk(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.oa&&3!==d){var f=this.oa.H(106012);if(f){b.Jla=f;f=HYc(f);f=_.A(f,1,2===d?2:1);f=_.A(f,4,!!b.metadata);
var h=!!_.B(a,12);f=_.A(f,5,h);e=_.A(f,6,e);c=_.bk(c,32,1073741824);_.A(e,7,c)}}switch(d){case 2:b.file&&f1c(this,new _.$Vc(a,b.file,b.lQ,b.metadata),b.Bg,a.fj());break;case 1:b.file&&(c=b.Bg,d=b.file,e=b.metadata,b=b.lQ,f=_.C(this.O,_.jXc,2),f1c(this,new _.RM(a,d,b,f&&_.dN(f)?e:void 0),c,a.fj()));break;case 3:f1c(this,a,b.Bg,a.fj());break;default:throw new _.lc("Upload type ${uploadType} not supported.");}}};
var f1c=function(a,b,c,d){nZc(a.Ba,d,a.ma.bind(a,d));_.Uh(a.W.then(function(e){return e.Te(b,{requestId:d})}).then(null,function(e){return g1c(a,b,e)}),function(){oZc(a.Ba,[d])}).then(c.callback,c.Pd,c)},g1c=function(a,b,c){var d=_.$A(c),e=b instanceof _.RM&&b.request.Cc()||"";c=d.Pg;if(e&&8===c.nk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.aA(new _.Zz,[e]);return _.$h(a.W.then(function(h){return h.Te(f)}).then(function(h){h=h.qd().Fd()[0];var k=b.request;if(h&&!h.Sh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.VXc((new _.UM).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Rh(d)}))}return _.ai(d)};_.g=_.UN.prototype;
_.g.cancel=function(a){var b=this,c=this.jj[a];if(c&&(!c.AE||0!==c.children.length))if(c.AE=!0,c.Bg.dg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.Jla;d&&(LXc(KXc(MXc(HYc(d),c.Bu),!1),2),d.Zj());var e=_.Th();c.LM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.LM=!0,c.Bg.callback(fWc(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.jG=function(){var a=this;_.Ma(this.jj,function(b,c){a.cancel(c)})};
_.g.retry=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.jj[f]){var h=[];do{h.push(f);var k=(_.Md(b.jj[f].request,10)||[])[0];if(k){var l=b.jj[k];if(l.success||!l.Bg.dg()||e[k])break;else if(!c.has(k)){e[f]=new _.lc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ha(h,function(p){var q=b.jj[p];q.Bu++;if(!e[p])if(!q.Bg.dg()||q.success)e[p]=new _.lc("Unable to retry request.");else{var r=(_.Md(q.request,10)||[])[0];e[r]instanceof _.lc?
e[p]=e[r]:(q.Bg=a1c(b,p),q.LM=!1,q.AE=!1,(r=r?b.jj[r]:null)?b1c(b,p,r,!0):d.push(p),e[p]=q.Bg.xn())}})}else e[f]=new _.lc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Vh?f:_.ai(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.wd=function(a){return this.jj[a]};var e1c=/^uploadTestFailMe(\.[1-9])?$/,d1c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),c1c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mc=function(a){_.gi.call(this,_.wc);this.error=a};_.L(_.mc,_.gi);_.t("sy1mb");
_.h1c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var i1c;i1c=[1];_.VN=function(a){_.O(this,a,-1,i1c,null)};_.L(_.VN,_.K);_.VN.prototype.O=function(){return _.Md(this,1)};_.t("sy1m7");
var j1c;_.WN=function(a){_.O(this,a,-1,j1c,null)};_.L(_.WN,_.K);_.WN.prototype.Ab=function(){return _.B(this,1)};_.WN.prototype.Dc=function(a){return _.A(this,1,a)};_.WN.prototype.zj=function(){return _.Uj(this,_.Yk,2)};_.k1c=function(a,b){return _.Nj(a,2,b)};_.WN.prototype.kr=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.WN.prototype.Vf=function(){return _.B(this,4)};_.l1c=function(a,b){return _.A(a,4,b)};j1c=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1m6");
_.OTb=function(a){_.O(this,a,-1,null,null)};_.L(_.OTb,_.K);_.OTb.prototype.Mi=function(){return _.B(this,3)};_.OTb.prototype.xi=function(a){return _.A(this,3,a)};_.OTb.prototype.xe=function(){return _.C(this,_.lf,5)};_.OTb.prototype.getCustomer=function(){return _.B(this,6)};

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var o1c,p1c,q1c,r1c,s1c,t1c,u1c,v1c,w1c,x1c,z1c,A1c,B1c,C1c,D1c,ZN,I1c,J1c,$N,aO,K1c,L1c,N1c,O1c,P1c,R1c,S1c,T1c,U1c,V1c,W1c,X1c,Z1c,a2c,g2c,i2c,l2c,m2c,p2c,s2c,hO,t2c,u2c,v2c,w2c,x2c,y2c,z2c,B2c,C2c,D2c,E2c,H2c,G2c,K2c,M2c,O2c,Q2c,U2c,W2c,X2c,Y2c,Z2c,$2c,a3c,e3c,g3c,h3c,i3c,j3c,k3c,F1c,bO,E1c,G1c,H1c,B4c,C4c,mO,F4c,Q4c,T4c,U4c,V4c,Y4c,F2c,oO,u5c,v5c,w5c,x5c,z5c,A5c,B5c,C5c,pO,D5c,E5c,F5c,G5c,H5c,I5c,J5c,K5c,L5c,M5c,N5c,O5c,P5c,qO,S5c,T5c,U5c,A2c,V5c,W5c,X5c,S6c,T6c,V6c,W6c,a7c,o7c,p7c,w7c,G7c,Y7c,
d8c,k8c,m8c,r8c,x8c,O8c,P8c,U8c,W8c,f9c,r9c,t9c,u9c,A9c,B9c,T2c,C9c,x$c,d2c,y$c,B$c,Hdd,Idd,Jdd,Kdd,Ldd,Mdd,Ndd,Odd,Pdd,Qdd;o1c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Md(a,3),Convert:_.R(a,8),ID:a.fj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
p1c=function(a){var b=[];b.push(o1c(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.LM?a.Bg.dg()?a.Bg.Tf(function(){d="Completed successfully."},function(e){d=e instanceof _.Xh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
q1c=function(a,b,c,d,e,f){var h=_.tt("Drive Upload Report: %d/%d failed",_.Ra(f),_.Ra(e));a=a.$f();d.push("Batch query interval: "+_.bk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.bk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.bk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.bk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.bk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(p1c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.iYc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.tt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var u=p.Pg;u=u?_.B(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,aQ:k,yd:152391,l9:c,C0:361003}};r1c=function(a){return Array.prototype.concat.apply([],arguments)};s1c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
t1c=function(a){return String.fromCharCode(10>a?48+a:87+a)};u1c=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]=t1c(d>>4);b[2*c+3]=t1c(d&15)}return b.join("")};v1c=function(a){var b=new _.Po;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.dM(a,!0,"file"));a.v7&&(b.append(",teamDriveId,teamDrive("),b.append(a.v7),b.append(")"));b.append(")");return b.toString()};
w1c=function(a){var b=new _.Po;b.append("kind,nextPageToken,items(");b.append(_.dM(a,!0));b.append("),incompleteSearch");a.v7&&(b.append(","),b.append(a.v7));return b.toString()};
x1c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.YM,138),k=_.C(d,_.Vk,111),l=_.C(d,_.ZM,27),p=_.dl(d),q=d.Pf(),r=d.hh(),u=_.C(d,_.aN,103);switch(e){case 227:_.Lj(d,144);break;case 228:_.Lj(d,145);break;case 74:_.Oj(d,83);break;case 188:_.Lj(d,137);break;case 149:_.MH(d,128);break;case 148:_.Oj(d,127);break;case 138:_.Lj(d,126);break;case 184:_.MH(d,135);break;case 76:f&&_.Lj(f,1);break;case 223:f&&_.Lj(f,54);break;case 208:f&&_.Lj(f,48);break;case 185:f&&
_.Lj(f,40);break;case 224:f&&_.Lj(f,55);break;case 213:f&&_.Lj(f,50);break;case 156:f&&_.Lj(f,39);break;case 61:f&&_.Lj(f,2);break;case 216:f&&_.Lj(f,52);break;case 217:f&&_.Lj(f,53);break;case 77:f&&_.Lj(f,4);break;case 134:f&&_.Lj(f,34);break;case 147:f&&_.Lj(f,38);break;case 81:f&&_.Lj(f,10);break;case 82:f&&_.Lj(f,11);break;case 114:f&&_.Lj(f,27);break;case 133:f&&_.Lj(f,33);break;case 202:f&&_.Lj(f,47);break;case 132:f&&_.Lj(f,32);break;case 101:f&&_.Lj(f,20);break;case 201:f&&_.Lj(f,46);break;
case 131:f&&_.Lj(f,31);break;case 200:f&&_.Lj(f,45);break;case 130:f&&_.Lj(f,30);break;case 93:f&&_.Lj(f,17);break;case 191:f&&_.Lj(f,44);break;case 146:f&&_.Lj(f,37);break;case 90:f&&_.Lj(f,16);break;case 78:f&&_.Lj(f,7);break;case 186:f&&_.Lj(f,41);break;case 222:f&&_.Lj(f,51);break;case 85:f&&_.Lj(f,12);break;case 137:f&&_.Lj(f,36);break;case 209:f&&_.Lj(f,49);break;case 79:f&&_.Lj(f,8);break;case 189:f&&_.Lj(f,42);break;case 190:f&&_.Lj(f,43);break;case 80:f&&_.Lj(f,9);break;case 135:f&&_.Lj(f,
35);break;case 102:f&&_.Lj(f,21);break;case 69:_.Lj(d,74);break;case 194:h&&_.Mj(h,2);break;case 193:h&&_.Lj(h,1);break;case 1004:_.Lj(d,108);break;case 136:_.Oj(d,125);break;case 115:k&&_.Lj(k,1);break;case 116:k&&_.Lj(k,2);break;case 34:_.Lj(d,30);f&&_.Lj(f,3);break;case 9:_.Lj(d,10);break;case 91:_.Mj(d,91);break;case 43:_.Lj(d,42);_.Lj(d,43);break;case 187:_.Lj(d,136);break;case 26:_.Lj(d,24);break;case 108:_.MH(d,104);break;case 41:_.Lj(d,40);f&&_.Lj(f,5);break;case 42:_.Lj(d,41);break;case 1005:_.Oj(d,
117);break;case 59:f&&_.Lj(f,6);break;case 28:_.Lj(d,26);break;case 44:_.Lj(d,45);break;case 13:_.Lj(d,14);break;case 48:_.Lj(d,36);break;case 38:_.Lj(d,34);break;case 49:_.MH(d,50);break;case 51:_.Lj(d,53);break;case 104:_.Lj(d,102);break;case 39:_.Lj(d,35);break;case 87:_.Lj(d,76);break;case 100:_.Lj(d,98);break;case 72:_.Lj(d,78);break;case 5:_.Lj(d,6);break;case 20:_.Lj(d,21);break;case 21:break;case 29:l&&_.Lj(l,1);break;case 31:l&&_.Lj(l,3);break;case 92:l&&_.Lj(l,4);break;case 30:l&&_.Lj(l,
2);break;case 16:_.Mj(d,17);break;case 12:_.Lj(d,13);break;case 211:p&&_.Lj(p,2);break;case 212:p&&_.Lj(p,3);break;case 220:p&&_.Lj(p,5);break;case 157:r&&_.Oj(r,8);break;case 3:_.Lj(d,4);break;case 11:_.Lj(d,12);break;case 10:_.Lj(d,11);break;case 50:_.Lj(d,49);_.Lj(d,51);_.Mj(d,81);break;case 18:_.Lj(d,19);break;case 95:_.Lj(d,93);break;case 58:_.Lj(d,63);break;case 14:_.Oj(d,15);break;case 103:_.Lj(d,101);break;case 1:_.MH(d,2);break;case 96:_.Lj(d,94);break;case 1003:_.Oj(d,107);break;case 75:_.Mj(d,
85);break;case 94:_.Lj(d,92);break;case 45:_.Lj(d,46);break;case 124:_.Lj(d,118);break;case 125:_.Lj(d,119);break;case 1002:_.Mj(d,100);break;case 32:_.Lj(d,28);break;case 67:_.Lj(d,70);break;case 68:_.Lj(d,71);break;case 73:_.Lj(d,79);break;case 71:_.Lj(d,77);break;case 221:r&&_.Lj(r,9);break;case 210:_.Lj(d,140);break;case 7:_.Lj(d,8);break;case 122:_.Mj(d,109);break;case 66:_.Lj(d,69);break;case 33:_.Lj(d,29);break;case 24:_.Lj(d,22);break;case 25:_.Lj(d,23);break;case 46:_.Mj(d,47);break;case 192:q&&
_.Lj(q,6);break;case 159:q&&_.Mj(q,5);break;case 154:q&&_.Lj(q,1);break;case 158:q&&_.Lj(q,4);break;case 155:q&&_.Lj(q,3);break;case 52:_.MH(d,56);break;case 56:_.Lj(d,61);break;case 55:_.Oj(d,60);break;case 4:_.Lj(d,5);break;case 35:_.Lj(d,31);break;case 57:_.Lj(d,62);break;case 83:_.Lj(d,72);break;case 84:_.Mj(d,86);break;case 19:_.Lj(d,20);_.Lj(d,44);_.Lj(d,90);break;case 2:_.Lj(d,3);break;case 6:_.Lj(d,7);break;case 98:_.Lj(d,96);break;case 97:_.Mj(d,95);break;case 27:_.Lj(d,25);break;case 70:_.Lj(d,
75);break;case 107:u&&_.Lj(u,3);break;case 106:u&&_.Lj(u,2);break;case 105:u&&_.Lj(u,1);break;case 8:_.Lj(d,9);break;case 126:_.MH(d,120);break;default:throw Error("Lc`"+e);}}};z1c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.jd(a),_.jd(y1c)));a=[].concat(_.jd(_.ubb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)x1c(b[d],a)}};
A1c=function(a,b){var c=a.getCapabilities()||new _.Tk,d=_.C(a,_.YM,138),e=_.C(a,_.Vk,111),f=_.C(a,_.ZM,27),h=_.dl(a),k=a.Pf(),l=a.hh(),p=_.C(a,_.aN,103);switch(b){case 227:return null!=_.R(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.$t().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Md(a,128).length;case 148:return 0<a.ka().length;case 138:return null!=a.V();case 184:return 0<_.Md(a,135).length;case 76:return null!=_.Uk(c);case 223:return null!=_.R(c,54);case 208:return null!=
_.R(c,48);case 185:return null!=_.R(c,40);case 224:return null!=_.R(c,55);case 213:return null!=_.R(c,50);case 156:return null!=_.R(c,39);case 61:return null!=_.R(c,2);case 216:return null!=_.R(c,52);case 217:return null!=_.R(c,53);case 77:return null!=_.R(c,4);case 134:return null!=_.R(c,34);case 147:return null!=_.R(c,38);case 81:return null!=_.R(c,10);case 82:return null!=_.R(c,11);case 114:return null!=_.R(c,27);case 133:return null!=_.R(c,33);case 202:return null!=_.R(c,47);case 132:return null!=
_.R(c,32);case 101:return null!=_.R(c,20);case 201:return null!=_.R(c,46);case 131:return null!=_.R(c,31);case 200:return null!=_.R(c,45);case 130:return null!=_.R(c,30);case 93:return null!=_.R(c,17);case 191:return null!=_.R(c,44);case 146:return null!=_.R(c,37);case 90:return null!=_.he(c);case 78:return null!=_.R(c,7);case 186:return null!=_.R(c,41);case 222:return null!=_.R(c,51);case 85:return null!=_.R(c,12);case 137:return null!=_.R(c,36);case 209:return null!=_.R(c,49);case 79:return null!=
_.R(c,8);case 189:return null!=_.R(c,42);case 190:return null!=_.R(c,43);case 80:return null!=_.R(c,9);case 135:return null!=_.R(c,35);case 102:return null!=_.R(c,21);case 69:return null!=_.R(a,74);case 194:return null!=d&&null!=_.C(d,_.PWc,2);case 193:return null!=d&&null!=_.B(d,1);case 1004:return null!=_.R(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.R(e,1);case 116:return null!=e&&null!=_.B(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.SC();
case 91:return null!=a.Mq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=_.B(a,136);case 26:return null!=a.Qe();case 108:return 0<_.Md(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.cl(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.MI();case 44:return null!=_.B(a,45);case 13:return null!=a.TF();case 48:return null!=_.R(a,36);case 38:return null!=a.Ti();case 49:return 0<_.Md(a,50).length;case 51:return null!=
_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.nka();case 87:return null!=_.$k(a);case 100:return null!=_.R(a,98);case 72:return null!=_.B(a,78);case 5:return null!=a.Dm();case 20:return null!=a.$e();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.Ne());case 16:return null!=a.zm();case 12:return null!=a.cz();case 211:return null!=h&&null!=_.R(h,2);case 212:return null!=
h&&null!=_.R(h,3);case 220:return null!=h&&null!=_.R(h,5);case 157:return!(!l||!_.Uj(l,_.Xk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.eB();case 10:return null!=a.Bq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Pm();case 18:return null!=a.Qq();case 14:return 0<_.Zk(a).length;case 95:return null!=a.jn();case 58:return null!=_.R(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.bl(a).length;case 75:return null!=
a.Vw();case 94:return null!=a.mN();case 45:return null!=a.mw();case 124:return null!=_.R(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.al(a);case 32:return null!=a.Ou();case 67:return null!=a.WJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.X1();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.el(a);case 7:return null!=a.f7();case 122:return null!=_.YN(a);case 66:return null!=_.B(a,69);case 33:return null!=_.R(a,29);case 24:return null!=
a.Gj();case 25:return null!=a.oy();case 46:return null!=a.Rv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Qd(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.Sd(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.Md(a,56).length;case 55:return 0<a.mB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.PA();case 35:return null!=_.R(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.Bc();case 84:return null!=_.C(a,
_.$M,86);case 2:return null!=a.getTitle();case 19:return null!=a.Px()||null!=_.R(a,44)||null!=_.B(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Sv();case 97:return null!=a.gD();case 27:return null!=a.hp();case 70:return null!=a.Di();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.Ne();case 8:return null!=_.R(a,9);case 126:return 0<_.Md(a,120).length;default:throw Error("Mc`"+b);}};
B1c=function(a,b){return b.every(function(c){return A1c(a,c)})};C1c=function(a,b,c){c=void 0===c?[]:c;var d=a.concat(c);return b.every(function(e){return(new Set(d)).has(e)})};D1c=function(a,b){var c=new Set(b.concat(_.EVc));return a.filter(function(d){return!c.has(d)})};
ZN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(A1c(b,e))if(_.ybb.has(e)){if(d){var f=a.getCapabilities()||new _.Tk;_.cN(a,f);switch(e){case 76:_.tWc(f,_.Uk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.OWc(f,_.R(d,48));break;case 185:var k=_.R(d,40);_.A(f,40,k);break;case 224:var l=_.R(d,55);_.A(f,55,l);break;case 213:var p=_.R(d,50);_.A(f,50,p);break;case 156:var q=_.R(d,39);_.A(f,39,q);break;case 61:var r=_.R(d,2);_.A(f,2,r);break;case 216:var u=
_.R(d,52);_.A(f,52,u);break;case 217:var y=_.R(d,53);_.A(f,53,y);break;case 77:_.uWc(f,_.R(d,4));break;case 134:var z=_.R(d,34);_.A(f,34,z);break;case 147:var D=_.R(d,38);_.A(f,38,D);break;case 81:_.AWc(f,_.R(d,10));break;case 82:_.BWc(f,_.R(d,11));break;case 114:var H=_.R(d,27);_.A(f,27,H);break;case 133:_.JWc(f,_.R(d,33));break;case 202:_.NWc(f,_.R(d,47));_.IWc(f,_.R(d,32));break;case 132:_.IWc(f,_.R(d,32));break;case 101:_.FWc(f,_.R(d,20));break;case 201:_.MWc(f,_.R(d,46));break;case 131:_.HWc(f,
_.R(d,31));break;case 200:var I=_.R(d,45);_.A(f,45,I);break;case 130:var M=_.R(d,30);_.A(f,30,M);break;case 93:_.EWc(f,_.R(d,17));break;case 191:var Q=_.R(d,44);_.A(f,44,Q);break;case 146:var W=_.R(d,37);_.A(f,37,W);break;case 90:_.DWc(f,_.he(d));break;case 78:_.xWc(f,_.R(d,7));break;case 186:var pa=_.R(d,41);_.A(f,41,pa);break;case 222:var ia=_.R(d,51);_.A(f,51,ia);break;case 85:_.CWc(f,_.R(d,12));break;case 137:var na=_.R(d,36);_.A(f,36,na);break;case 209:var qa=_.R(d,49);_.A(f,49,qa);break;case 79:_.yWc(f,
_.R(d,8));break;case 189:_.KWc(f,_.R(d,42));break;case 190:_.LWc(f,_.R(d,43));break;case 80:_.zWc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.GWc(f,_.R(d,21));break;case 34:var Wa=_.R(b,30);_.A(a,30,Wa);var Ea=_.R(d,3);_.A(f,3,Ea);break;case 41:var Pa=_.R(b,40);_.A(a,40,Pa);_.vWc(f,_.R(d,5));break;case 59:_.wWc(f,_.R(d,6))}}}else if(_.zbb.has(e)){var dc=_.C(b,_.YM,138);if(dc){var pb=_.C(a,_.YM,138)||new _.YM;_.J(a,138,pb);switch(e){case 194:var Zb=_.C(dc,_.PWc,2);_.J(pb,
2,Zb);break;case 193:var Jc=_.B(dc,1);_.A(pb,1,Jc)}}}else if(_.Abb.has(e)){var ne=_.C(b,_.Vk,111);if(ne){var oe=_.C(a,_.Vk,111)||new _.Vk;_.J(a,111,oe);switch(e){case 115:_.QWc(oe,_.R(ne,1));break;case 116:_.RWc(oe,_.B(ne,2))}}}else if(_.Bbb.has(e)){var Id=_.C(b,_.ZM,27);if(Id){var ff=_.C(a,_.ZM,27)||new _.ZM;_.J(a,27,ff);switch(e){case 29:var Dc=_.B(Id,1);_.A(ff,1,Dc);break;case 31:ff.uh(_.B(Id,3));break;case 92:var Bb=_.B(Id,4);_.A(ff,4,Bb);break;case 30:ff.wh(Id.Ne())}}}else if(_.Cbb.has(e)){var Og=
_.dl(b);if(Og){var Ag=_.dl(a)||new _.Hna;_.J(a,139,Ag);switch(e){case 211:var Ve=_.R(Og,2);_.A(Ag,2,Ve);break;case 212:var Cj=_.R(Og,3);_.A(Ag,3,Cj);break;case 220:var Zf=_.R(Og,5);_.A(Ag,5,Zf)}}}else if(_.Dbb.has(e)){var ni=b.Pf();if(ni){var Fg=a.Pf()||new _.Qna;_.J(a,132,Fg);switch(e){case 192:var im=_.R(ni,6);_.A(Fg,6,im);break;case 159:var pf=_.Qd(ni);_.J(Fg,5,pf);break;case 154:var $e=_.B(ni,1);_.A(Fg,1,$e);break;case 158:var eh=_.Sd(ni);_.A(Fg,4,eh);break;case 155:var oi=_.B(ni,3);_.A(Fg,3,
oi)}}}else if(_.Ebb.has(e)){var aj=b.hh();switch(e){case 157:if(aj){var Ml=a.hh()||new _.Ona;E1c(a,Ml);F1c(Ml,_.Uj(aj,_.Xk,8))}break;case 221:if(aj){var ik=a.hh()||new _.Ona;E1c(a,ik);var Qj=_.R(aj,9);_.A(ik,9,Qj)}}}else if(_.Fbb.has(e)){var fh=_.C(b,_.aN,103);if(fh){var gl=_.C(a,_.aN,103)||new _.aN;_.J(a,103,gl);switch(e){case 107:var hl=_.B(fh,3);_.A(gl,3,hl);break;case 106:gl.uh(_.B(fh,2));break;case 105:gl.wh(fh.Ne())}}}else switch(e){case 227:var Gg=_.R(b,144);_.A(a,144,Gg);break;case 228:var il=
_.B(b,145);_.A(a,145,il);break;case 74:var jm=b.$t();_.Nj(a,83,jm);break;case 188:var jl=_.R(b,137);_.A(a,137,jl);break;case 149:var Wh=_.Md(b,128);_.Kj(a,128,Wh);break;case 148:var Dj=b.ka();_.Nj(a,127,Dj);break;case 138:var oj=b.V();_.A(a,126,oj);break;case 184:var pj=_.Md(b,135);_.Kj(a,135,pj);break;case 69:var Rj=_.R(b,74);_.A(a,74,Rj);break;case 1004:var Jh=_.R(b,108);_.A(a,108,Jh);break;case 136:var Nl=b.O();_.Nj(a,125,Nl);break;case 9:var qj=b.SC();_.A(a,10,qj);break;case 91:var jk=b.Mq();
_.J(a,91,jk);break;case 43:var km=_.B(b,42);_.A(a,42,km);var kl=_.B(b,43);_.A(a,43,kl);break;case 187:_.iXc(a,_.B(b,136));break;case 26:a.om(b.Qe());break;case 108:var Im=_.Md(b,104);_.Kj(a,104,Im);break;case 42:var kk=_.B(b,41);_.A(a,41,kk);break;case 1005:var Kk=_.cl(b);_.Nj(a,117,Kk);break;case 28:_.$Wc(a,b.MI());break;case 44:var uf=_.B(b,45);_.A(a,45,uf);break;case 13:var Bi=b.TF();_.A(a,14,Bi);break;case 48:var lk=_.R(b,36);_.A(a,36,lk);break;case 38:_.bXc(a,b.Ti());break;case 49:var Fc=_.Md(b,
50);_.Kj(a,50,Fc);break;case 51:var Lk=_.R(b,53);_.A(a,53,Lk);break;case 104:var Pg=_.R(b,102);_.A(a,102,Pg);break;case 39:var mk=b.nka();_.A(a,35,mk);break;case 87:var Mi=_.$k(b);_.A(a,76,Mi);break;case 100:var Ln=_.R(b,98);_.A(a,98,Ln);break;case 72:var nk=_.B(b,78);_.A(a,78,nk);break;case 5:var xh=b.Dm();_.A(a,6,xh);break;case 20:var Qg=b.$e();_.A(a,21,Qg);break;case 21:a.Pb(b.getId());break;case 16:_.YWc(a,b.zm());break;case 12:var Mk=b.cz();_.A(a,13,Mk);break;case 3:_.PF(a,b.getMimeType());break;
case 11:var ll=b.eB();_.A(a,12,ll);break;case 10:_.MTb(a,b.Bq());break;case 50:var Qh=_.R(b,49);_.A(a,49,Qh);var Ni=_.R(b,51);_.A(a,51,Ni);var jn=b.Pm();_.J(a,81,jn);break;case 95:_.hXc(a,b.jn());break;case 18:_.ZWc(a,b.Qq());break;case 58:var pi=_.R(b,63);_.A(a,63,pi);break;case 14:_.XWc(a,_.Zk(b));break;case 1:_.bN(a,b.mk());break;case 96:var ml=_.R(b,94);_.A(a,94,ml);break;case 103:var Mn=_.B(b,101);_.A(a,101,Mn);break;case 1003:G1c(a,_.bl(b));break;case 75:_.fXc(a,b.Vw());break;case 94:_.gXc(a,
b.mN());break;case 45:var kn=b.mw();_.A(a,46,kn);break;case 124:var Jm=_.R(b,118);_.A(a,118,Jm);break;case 125:var Nn=_.B(b,119);_.A(a,119,Nn);break;case 1002:var Ol=_.al(b);_.J(a,100,Ol);break;case 32:var Km=b.Ou();_.A(a,28,Km);break;case 67:var ln=b.WJ();_.A(a,70,ln);break;case 68:var On=_.B(b,71);_.A(a,71,On);break;case 73:var xk=_.B(b,79);_.A(a,79,xk);break;case 71:var To=b.X1();_.A(a,77,To);break;case 210:var Fp=_.el(b);_.A(a,140,Fp);break;case 7:_.WWc(a,b.f7());break;case 122:H1c(a,_.YN(b));
break;case 66:var Gp=_.B(b,69);_.A(a,69,Gp);break;case 33:var Js=_.R(b,29);_.A(a,29,Js);break;case 24:var Pw=b.Gj();_.A(a,22,Pw);break;case 25:var Ks=b.oy();_.A(a,23,Ks);break;case 46:var Yn=b.Rv();_.J(a,47,Yn);break;case 52:var Iq=_.Md(b,56);_.Kj(a,56,Iq);break;case 56:var Ut=_.B(b,61);_.A(a,61,Ut);break;case 55:a.tA(b.mB());break;case 4:a.Bv(b.PA());break;case 35:_.aXc(a,_.R(b,31));break;case 57:var $C=_.B(b,62);_.A(a,62,$C);break;case 83:_.eXc(a,b.Bc());break;case 84:var DA=_.C(b,_.$M,86);_.J(a,
86,DA);break;case 98:a.ida(b.Sv());break;case 97:var aD=b.gD();_.J(a,95,aD);break;case 19:var Vt=b.Px();_.A(a,20,Vt);_.cXc(a,_.R(b,44));var Tw=_.B(b,90);_.A(a,90,Tw);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Ln(b.Sh());break;case 27:_.NTb(a,b.hp());break;case 70:var Uw=b.Di();_.A(a,75,Uw);break;case 8:var Vw=_.R(b,9);_.A(a,9,Vw);break;case 126:var oJ=_.Md(b,120);_.Kj(a,120,oJ);break;default:throw Error("Nc`"+e);}})};
I1c=function(a,b){var c=_.Ty[a];return b.filter(function(d){return!c||!c.has(d)})};J1c=function(a,b,c){a=I1c(c,a);return C1c(b,a,_.EVc)};$N=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};aO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&$N(a)?(a=a.Pf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};K1c=function(a){var b=a&&a.getId()||null;a&&$N(a)&&(a=(a=a.Pf())&&_.B(a,1))&&(b=a);return b};
L1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};N1c=function(a){return M1c.some(function(b){return A1c(a,b)})};O1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(bO(b))})};P1c=function(a){return O1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.Q1c=function(a,b){a=0===b?1:a/b;return 1<=a?6:.95<=a?5:.9<=a?4:.8<=a?3:.7<=a?2:1};R1c=function(a,b){var c=_.oVc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};
S1c=function(a,b){return 0<=b?!a||a<=b:!0};T1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.hSc()&&4===b.getType()?"title_natural":_.tUc[b.getType()];b=_.vUc[b.zf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};U1c=function(a,b){var c=a.Pm();c||(c=new _.Ina,b&&_.J(a,81,c));return c};V1c=function(a){if(aO(a))_.XN(U1c(a,!0),!0);else if(aO(a,!0)){var b=a.Pf();if(b=b&&_.Qd(b))_.XN(U1c(b,!0),!0),_.XN(U1c(a,!0),!0)}};W1c=function(a){return!!a.Pm()&&!aO(a)};
X1c=function(a){var b=[];_.Ka(a,function(c){if(3!=bO(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Pm())c=c.clone(),_.Lj(c,49),_.Lj(c,51),_.Mj(c,81);b.push(c)}});return b};Z1c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.kc():c&&c instanceof _.wN?a[b]=c.kc(function(d){return d?d.kc():null}):c&&c instanceof Y1c&&(a[b]=c.kc())}};a2c=function(a){var b=a.slice(0),c=new Set(b);$1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
g2c=function(a,b,c){var d=_.C(a,b2c,66);if(d){var e=_.B(d,1),f=_.iN(a);a=_.RL(_.DL(a));e=new _.bj(e);var h=new _.bj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.sj(k,3);_.ij(e,"co",h);h=e.Me();!f&&0<a&&(h+="u/"+a+"/");e.yi(h+"_/dataservice/cacheproxy");f=_.B(d,5)||"";if(_.fVc(window.location.href,e.toString())&&f)return e=a2c(c),c=_.B(d,6),b="#"+b+"_",d=new _.vL,d.update(e.join(",")),b+=_.DSc(d.digest()),c&&(b+="&jobset="+c),b=_.by(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new c2c(c.port),c.port.start()):b=new c2c(new Worker(_.zga(b),void 0)),new d2c(new cO(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.oL();c=_.rh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.sha(_.eVc(_.Qf("display: none;")));document.body.appendChild(c);c=_.zSc(e.O,void 0,e.H,e.W).toString();return new d2c(new cO(e2c(window.frames[b],c),!1,!0),0,e.toString())}b=new f2c;return new d2c(new cO(b.O,!1,!1),2,"inline",c,new cO(b.H,!1,!1))};
i2c=function(a){var b=new h2c;if(a instanceof _.eM)_.Wj(b,16,eO[0],a);else if(a instanceof _.fM)_.Wj(b,1,eO[0],a);else if(a instanceof _.gM)_.Wj(b,2,eO[0],a);else if(a instanceof _.fO)_.Wj(b,17,eO[0],a);else if(a instanceof _.jM)_.Wj(b,3,eO[0],a);else if(a instanceof _.GN)_.Wj(b,4,eO[0],a);else if(a instanceof _.hM)_.Wj(b,5,eO[0],a);else if(a instanceof _.nM)_.Wj(b,6,eO[0],a);else if(a instanceof _.pM)_.Wj(b,7,eO[0],a);else if(a instanceof _.qM)_.Wj(b,8,eO[0],a);else if(a instanceof _.tM)_.Wj(b,9,
eO[0],a);else if(a instanceof _.JM)_.Wj(b,10,eO[0],a);else if(a instanceof _.KM)_.Wj(b,11,eO[0],a);else if(a instanceof _.LM)_.Wj(b,12,eO[0],a);else if(a instanceof _.TL)_.Wj(b,13,eO[0],a);else if(a instanceof _.OM)_.Wj(b,14,eO[0],a);else if(a instanceof _.PM)_.Wj(b,15,eO[0],a);else throw new _.lc("Unsupported request type");return b};
l2c=function(a){a=a.map(function(c){var d=new j2c;if(c instanceof _.eM)_.Wj(d,6,gO[0],c);else if(c instanceof _.fO)_.Wj(d,7,gO[0],c);else if(c instanceof _.nM)_.Wj(d,1,gO[0],c);else if(c instanceof _.JM)_.Wj(d,2,gO[0],c);else if(c instanceof _.KM)_.Wj(d,3,gO[0],c);else if(c instanceof _.TL)_.Wj(d,4,gO[0],c);else if(c instanceof _.PM)_.Wj(d,5,gO[0],c);else throw new _.lc("Unsupported request type");return d});var b=new k2c;_.Nj(b,1,a);return b};
m2c=function(a){return _.Uj(a,j2c,1).map(function(b){return _.C(b,_.eM,6)||_.C(b,_.nM,1)||_.C(b,_.JM,2)||_.C(b,_.KM,3)||_.C(b,_.TL,4)||_.C(b,_.PM,5)||_.C(b,_.fO,7)})};p2c=function(a){var b=new n2c;if(a instanceof _.jD)_.Wj(b,1,o2c[0],a);else if(a instanceof _.kD)_.Wj(b,2,o2c[0],a);else throw new _.lc("Unsupported request type");return b};
s2c=function(a){var b=new q2c;if(a instanceof _.kM)_.Wj(b,1,r2c[0],a);else if(a instanceof _.rM)_.Wj(b,2,r2c[0],a);else if(a instanceof _.QM)_.Wj(b,3,r2c[0],a);else throw new _.lc("Unsupported request type");return b};hO=function(a,b,c){return b?new c(JSON.parse(a)):a};t2c=function(a){a={t:a.title,d:a.description,c:a.yd,fi:a.l9,dti:a.C0,a:a.aQ?a.aQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.W8})}):void 0};return JSON.stringify(a)};
u2c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,yd:a.c,l9:a.fi,C0:a.dti,aQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,W8:b.ec}}):void 0}};v2c=function(a,b,c){a=a?1:2;a=_.$c(_.Zc(new _.Yc,12),a);var d=(new _.Ye).Ln(!0);d=_.A(d,17,!0);a=_.Ze(d,a);c&&_.Hl(a,c);c=new _.rUc;b&&_.vVc(c,b);return _.wVc(_.yVc(new _.JL,a),c)};w2c=function(a){return a.map(function(b){return b.getItem()})};
x2c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};y2c=function(a,b){var c=new _.bj(_.E(b,16,"")+"/open"),d=a.getId();$N(a)&&(d=K1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.RL(_.DL(b)));_.S(b,89,!1)&&_.P(a,140)&&_.ij(c,"resourcekey",_.el(a));return c.toString()};
z2c=function(a){_.Hf("drive.DebugUtil.printFindById",function(c){a.PM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Hf("drive.DebugUtil.getLogs",function(){return _.iYc(a.Sf())});_.Hf("drive.DebugUtil.printLogs",function(){window.console.log(_.iYc(a.Sf()))});_.Hf("drive.DebugUtil.printRequestHistory",function(){a.aR().addCallback(function(c){c.forEach(function(d){window.console.log(_.B(d,1));window.console.log(_.B(d,2))})})});_.Hf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.Hf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Hf("drive.DebugUtil.setOffline",function(c){return void a.Jl(c)}))};B2c=function(a,b){var c=new _.VN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.h1c.get(bO(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}A2c(c,[].concat(_.jd(d)));return c};
C2c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={jfa:c.jfa},d=a.next())if(d=d.value){c.jfa=new Map;[].concat(_.jd(_.Zk(d)),[d.zm(),d.Rv(),d.Mq()]).forEach(function(p){return function(q){q&&p.jfa.set(_.VF(q),q)}}(c));for(var e=[],f=_.m(c.jfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(_.VF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Gj(h,16,0))}b.push(d.getId()+","+bO(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};D2c=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.ak(d,f)||(d=_.sSc(4).setItem(f),c[e]=d):(d=_.sSc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.sSc(1).setItem(d),c[e]=d)});return c};E2c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(D2c(a,b))};
H2c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.lf;_.mf(b,305);_.nf(b,!0);_.A(b,3,2);var c=new _.iD;_.J(c,1,b);F2c(c,[7]);a=a.then(function(d){return d.Te(c)}).then(G2c);return _.$h(a)};G2c=function(a){a=_.Uj(a,_.hp,3);var b=new I2c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.B(d,2))&&(c=_.Rg(c.Ya()),_.A(b,3,c))});return"number"===typeof _.B(b,3)?b:null};
K2c=function(a,b){var c=J2c(a.xm,b.Cc());if(c){var d=c.getItem(),e=d.Vw();if(e){var f=e.gR(),h=_.wa(f,function(k){return k.getId()===_.B(b,2)});_.TWc(e,f);h||(f=_.Uj(e,_.Fk,3),_.wa(f,function(k){return k.getId()===_.B(b,2)}),_.UWc(e,f));_.SWc(e,(_.B(e,1)||1)-1);a.ol([d],c.H)}}};
M2c=function(a,b,c){if(b=J2c(a.xm,b.Cc())){var d=b.getItem(),e=d.Vw();if(e){if(1===c.getType()||2===c.getType()){var f=_.Uj(e,_.Fk,3);f.push(c);_.Ia(f,L2c);_.UWc(e,f)}else f=e.gR(),f.push(c),_.Ia(f,L2c),_.TWc(e,f);_.SWc(e,(_.B(e,1)||0)+1);a.ol([d],b.H)}}};O2c=function(a){return a.map(function(b){var c=new _.Tsb;c=_.A(c,3,N2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
Q2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return P2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
U2c=function(a){var b=a.json.exportJob,c=R2c[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||0;var f=0,h=0,k=_.We(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.We(b.failedItemInfos||[],function(l){var p=_.PF((new _.Yk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.S2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new T2c(c,d,k,f,h,e,a,b)};
W2c=function(a){var b={},c=a.getKey(),d=c&&_.B(c,2);b.key=d;b.value=a.Ya();(a=c&&_.ip(c))&&(b.namespace=V2c[a]);return b};X2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(V2c[a[c]]);return b};Y2c=function(a){return"kind,defaultAppIds,items("+a+")"};Z2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};$2c=function(a,b){var c;return(null===(c=_.SL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
a3c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
e3c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.SL(b),e=!!d&&_.S(d,10,!1);if(_.CL(_.DL(b))||!c&&!e)_.A(b,61,!1),_.Mj(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.C(b,b2c,66);f&&_.B(f,1)||(c=!1);_.iN(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.Mj(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new iO(a,b,c),new b3c(b);c=_.CL(_.DL(b))?2:1;a=new jO(a,b,c,void 0,void 0,void 0);return _.CL(_.DL(b))?new c3c(a):new d3c(a)};
g3c=function(a){return _.me(a).Lg(_.S(a.get(_.$o),19,!1)?f3c:_.MUa)};h3c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};i3c=function(a,b){return _.Nj(a,1,b)};j3c=[1];k3c=function(a){_.O(this,a,-1,j3c,null)};_.L(k3c,_.K);k3c.prototype.yha=function(a){_.Xj(this,1,a,_.Fk,void 0)};
var l3c=function(a){var b=new k3c;return _.Nj(b,1,a)},m3c=function(a,b){return _.J(a,1,b)},n3c=function(a,b){_.Nj(a,2,b)},o3c=function(a,b){_.J(a,6,b)},p3c=function(a,b){return _.Wj(a,3,_.Ik[0],b)},q3c=function(a){_.O(this,a,-1,null,null)};_.L(q3c,_.K);var r3c=function(a){_.O(this,a,-1,null,null)};_.L(r3c,_.K);var kO=function(a){_.O(this,a,-1,null,null)};_.L(kO,_.K);var s3c=function(a){_.O(this,a,-1,null,null)};_.L(s3c,_.K);var t3c=function(a){_.O(this,a,-1,null,null)};_.L(t3c,_.K);
var u3c=function(a){_.O(this,a,-1,null,null)};_.L(u3c,_.K);var v3c=function(a){_.O(this,a,-1,null,null)};_.L(v3c,_.K);var w3c=function(a){_.O(this,a,-1,null,null)};_.L(w3c,_.K);var x3c=function(a){_.O(this,a,-1,null,null)};_.L(x3c,_.K);var y3c=function(a){_.O(this,a,-1,null,null)};_.L(y3c,_.K);var z3c=function(a){_.O(this,a,-1,null,null)};_.L(z3c,_.K);var A3c=function(a){_.O(this,a,-1,null,null)};_.L(A3c,_.K);var B3c=function(a){_.O(this,a,-1,null,null)};_.L(B3c,_.K);
var C3c=function(a){_.O(this,a,-1,null,null)};_.L(C3c,_.K);var D3c=function(a,b){_.Nj(a,1,b)},E3c=function(a,b){return _.A(a,2,b)},F3c=function(a,b){return _.J(a,3,b)},G3c=function(a,b){return _.A(a,4,b)},H3c=[[1,2,3,4]],I3c=function(a){_.O(this,a,-1,null,H3c)};_.L(I3c,_.K);var J3c=function(a,b){_.Nj(a,1,b)},K3c=function(a,b){return _.J(a,2,b)},L3c=[[1]],M3c=function(a){_.O(this,a,-1,null,L3c)};_.L(M3c,_.K);
var N3c=function(a,b){_.Nj(a,1,b)},O3c=function(a,b){return _.J(a,4,b)},P3c=function(a,b){_.J(a,5,b)},Q3c=function(a,b){_.Nj(a,2,b)},R3c=function(a,b){_.Nj(a,4,b)},S3c=function(a,b){return _.J(a,5,b)},T3c=[[1,2]],U3c=function(a){_.O(this,a,-1,null,T3c)};_.L(U3c,_.K);var V3c=function(a,b){_.Nj(a,1,b)},W3c=function(a,b){return _.J(a,2,b)},X3c=[[1]],Y3c=function(a){_.O(this,a,-1,null,X3c)};_.L(Y3c,_.K);
var Z3c=function(a,b){_.Nj(a,2,b)},$3c=function(a){var b=new _.Qk;return _.Nj(b,3,a)},a4c=[[1,2]],b4c=function(a){_.O(this,a,-1,null,a4c)};_.L(b4c,_.K);b4c.prototype.OG=function(){return _.C(this,kO,1)};b4c.prototype.tg=function(a){return _.Wj(this,1,a4c[0],a)};var c4c=[1],d4c=function(a){_.O(this,a,-1,c4c,null)};_.L(d4c,_.K);d4c.prototype.Pp=function(){return _.B(this,2)};
var e4c=function(a,b){_.Nj(a,1,b)},f4c=function(a,b){return _.A(a,2,b)},g4c=function(a,b){return _.J(a,3,b)},h4c=[[1]],i4c=function(a){_.O(this,a,-1,null,h4c)};_.L(i4c,_.K);var j4c=[2],k4c=function(a){_.O(this,a,-1,j4c,null)};_.L(k4c,_.K);var l4c=function(a,b){_.Nj(a,2,b)},m4c=function(a,b){return _.J(a,3,b)},n4c=[[1]],o4c=function(a){_.O(this,a,-1,null,n4c)};_.L(o4c,_.K);o4c.prototype.OG=function(){return _.C(this,s3c,1)};o4c.prototype.tg=function(a){return _.Wj(this,1,n4c[0],a)};
var p4c=function(a,b){_.Nj(a,1,b)},q4c=function(a,b){return _.Nj(a,2,b)},r4c=[[1,2]],s4c=function(a){_.O(this,a,-1,null,r4c)};_.L(s4c,_.K);var t4c=function(a,b){_.Nj(a,1,b)},u4c=function(a,b){return _.J(a,2,b)},v4c=[[1]],w4c=function(a){_.O(this,a,-1,null,v4c)};_.L(w4c,_.K);var x4c=function(a,b){return _.J(a,1,b)},y4c=function(a,b){return _.A(a,2,b)},z4c=function(a,b){return _.A(a,3,b)},A4c=function(a){_.O(this,a,-1,null,null)};_.L(A4c,_.K);F1c=function(a,b){_.Nj(a,8,b)};
bO=function(a){return _.Gj(a,52,1)};E1c=function(a,b){return _.J(a,73,b)};G1c=function(a,b){_.Nj(a,107,b)};_.YN=function(a){return _.C(a,A4c,109)};H1c=function(a,b){_.J(a,109,b)};B4c=function(a){var b=new _.gk;var c=_.B(a,1);null!=c&&_.rk(b,1,c);c=_.B(a,2);null!=c&&_.rk(b,2,c);return _.ok(b)};C4c=function(a){_.O(this,a,-1,null,null)};_.L(C4c,_.K);var b2c=function(a){_.O(this,a,-1,null,null)};_.L(b2c,_.K);var D4c=[11],E4c=function(a){_.O(this,a,-1,D4c,null)};_.L(E4c,_.K);
var lO=function(a){_.O(this,a,-1,null,null)};_.L(lO,_.K);lO.prototype.getKey=function(){return _.B(this,2)};lO.prototype.ws=function(){return _.P(this,2)};mO=function(a){return _.E(a,4,"en")};_.nO=function(a){return _.C(a,E4c,34,1)};F4c=function(a,b){return _.A(a,5,b)};_.G4c=function(a,b){return _.A(a,2,b)};_.H4c=function(a,b){return _.A(a,3,b)};_.I4c=function(a,b){return _.A(a,1,b)};_.J4c=function(a,b){return _.A(a,2,b)};_.K4c=function(a,b){return _.Nj(a,5,b)};
_.L4c=function(a,b){return _.A(a,6,b)};_.M4c=function(a,b){return _.A(a,7,b)};_.N4c=function(a,b){return _.A(a,8,b)};_.O4c=function(a,b){return _.A(a,10,b)};_.P4c=function(a,b){return _.A(a,15,b)};Q4c=[2];_.R4c=function(a){_.O(this,a,-1,Q4c,null)};_.L(_.R4c,_.K);_.R4c.prototype.Nh=function(){return _.B(this,1)};_.S4c=function(a,b){return _.J(a,1,b)};T4c=function(a,b){return _.A(a,2,b)};U4c=function(a,b){return _.A(a,3,b)};V4c=function(a,b){_.Nj(a,4,b)};_.W4c=function(a,b){_.J(a,8,b)};
_.X4c=function(a,b){_.J(a,9,b)};Y4c=function(a){_.O(this,a,-1,null,null)};_.L(Y4c,_.K);Y4c.prototype.Ya=function(){return _.Hj(this,1)};Y4c.prototype.Lb=function(a){return _.Pj(this,1,a,0)};F2c=function(a,b){_.Kj(a,3,b)};oO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ak(b[a]||void 0,c[a]||void 0))return!0;return!1};_.Z4c=function(a){_.O(this,a,-1,null,null)};_.L(_.Z4c,_.K);_.Z4c.prototype.getId=function(){return _.B(this,1)};
_.Z4c.prototype.Pb=function(a){return _.A(this,1,a)};_.Z4c.prototype.Ne=function(){return _.B(this,4)};_.Z4c.prototype.wh=function(a){return _.A(this,4,a)};_.GN=function(a){_.O(this,a,-1,null,null)};_.L(_.GN,_.K);_.GN.prototype.getTitle=function(){return _.B(this,1)};_.GN.prototype.setTitle=function(a){return _.A(this,1,a)};_.GN.prototype.xe=function(){return _.C(this,_.lf,2)};
var $4c=function(a,b){return _.Kj(a,9,b)},a5c=function(a,b){return _.Kj(a,10,b)},b5c=function(a,b){return _.A(a,36,b)},c5c=function(a,b){return _.Nj(a,38,b)},d5c=function(a,b){return _.A(a,2,b)},e5c=function(a,b){return _.J(a,3,b)},f5c=function(a){_.O(this,a,-1,null,null)};_.L(f5c,_.K);var g5c=function(a){_.O(this,a,-1,null,null)};_.L(g5c,_.K);var h5c=function(a){_.O(this,a,-1,null,null)};_.L(h5c,_.K);var i5c=function(a){_.O(this,a,-1,null,null)};_.L(i5c,_.K);
var j5c=function(a){_.O(this,a,-1,null,null)};_.L(j5c,_.K);var k5c=function(a,b){return _.A(a,1,b)},l5c=function(a,b){return _.A(a,3,b)},m5c=function(a,b){return _.A(a,4,b)},n5c=function(a,b){_.A(a,7,b)},o5c=function(a){_.O(this,a,-1,null,null)};_.L(o5c,_.K);o5c.prototype.py=function(){return _.R(this,2)};var p5c=function(a,b){_.A(a,1,b)},q5c=function(a){_.O(this,a,-1,null,null)};_.L(q5c,_.K);q5c.prototype.Om=function(){return _.B(this,3)};q5c.prototype.Dt=function(a){return _.A(this,3,a)};
q5c.prototype.wo=function(){return _.B(this,4)};var r5c=function(a){_.O(this,a,-1,null,null)};_.L(r5c,_.K);var s5c=[1,3,5],t5c=function(a){_.O(this,a,-1,s5c,null)};_.L(t5c,_.K);t5c.prototype.SE=function(){return _.Md(this,1)};t5c.prototype.py=function(){return _.R(this,2)};t5c.prototype.wo=function(){return _.B(this,7)};u5c=function(a,b){_.A(a,2,b)};v5c=function(a,b){_.Sj(a,5,b,void 0)};w5c=function(a,b){_.A(a,6,b)};x5c=function(a,b){_.A(a,7,b)};_.y5c=function(a,b){_.J(a,2,b)};
z5c=function(a,b,c){_.mN(a,b,c,"warning")};A5c=function(a){return[].concat(_.jd(a.O))};B5c=function(a){return a.H.concat([].concat(_.jd(a.O)))};C5c=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))};pO=function(a){var b=_.uN(a).wd();b||(b=new _.FXc,a=_.uN(a),_.J(a,1,b));return b};D5c=function(a){var b=_.C(_.uN(a),t5c,3);b||(b=new t5c,a=_.uN(a),_.J(a,3,b));return b};
E5c=function(a){var b=_.C(_.uN(a),h5c,7);b||(b=new h5c,a=_.uN(a),_.J(a,7,b));return b};F5c=function(a){var b=_.C(_.uN(a),j5c,12);b||(b=new j5c,a=_.uN(a),_.J(a,12,b));return b};G5c=function(a){var b=_.C(_.uN(a),o5c,17);b||(b=new o5c,a=_.uN(a),_.J(a,17,b));return b};
H5c=function(a){if(a instanceof _.wL)return 2;if(a instanceof _.JF)return 10;if(a instanceof _.Ye)return _.zM(a)?3:_.AM(a)?7:_.BM(a)?8:1;if(a instanceof _.Zz)return 9;if(a instanceof _.WF)return 11;if(a instanceof _.HM)return 15;if(a instanceof _.EL)return 6;if(a instanceof _.DM){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 _.iD)return 4;if(a instanceof _.Jz)return 12;if(a instanceof _.LF)return 13}return 0};
I5c=function(a){var b=null;a instanceof _.QA||"undefined"!=typeof _.wN&&a instanceof _.wN||"undefined"!=typeof _.xN&&a instanceof _.xN?b=a.jf()||0:"undefined"!=typeof _.zN&&a instanceof _.zN||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN?b=a.Pe:"undefined"!=typeof _.yN&&a instanceof _.yN&&(b=a.jf());return b||0};
J5c=function(a,b,c){return a.V&&_.eZc(a)?(a=_.aZc(a.V,b,0),c&&_.wTc(a,c),a):null};K5c=function(a){a.V&&_.eZc(a)&&(a=a.V,a.H.BP()&&a.H.b_())};L5c=function(a){var b=new _.vM;return _.A(b,1,a)};M5c=function(a,b){return _.J(a,2,b)};N5c=function(a,b){return _.J(a,1,b)};O5c=function(a,b){a.ha=b};P5c=[2];qO=function(a){_.O(this,a,-1,P5c,null)};_.L(qO,_.K);qO.prototype.Ab=function(){return _.B(this,1)};qO.prototype.Dc=function(a){return _.A(this,1,a)};qO.prototype.yha=function(a){_.Xj(this,2,a,_.Fk,void 0)};
qO.prototype.$j=function(){return _.B(this,3)};var Q5c=[2],R5c=function(a){_.O(this,a,-1,Q5c,null)};_.L(R5c,_.K);R5c.prototype.Ab=function(){return _.B(this,1)};R5c.prototype.Dc=function(a){return _.A(this,1,a)};R5c.prototype.$j=function(){return _.B(this,3)};S5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.yn,a.H.promise):null};T5c=function(a){var b=[];a.jj.forEach(function(c){(c=c.zv.config.timestamp)&&b.push(c)});return b};
U5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.zv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,T5c(c))});return b};A2c=function(a,b){return _.Kj(a,1,b)};V5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ca");var c=_.Vj(a,!0);b=_.Vj(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.Qma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
W5c={SUCCESS:1,S6b:2,WYb:3,EUb:4,e7b:5,y1b:6,p1b:7,lVb:8,Q5b:9,e6b:10,R6b:11,QWb:12,uWb:13,WZb:14,pYb:15,yWb:16,xWb:17,DWb:18,AWb:19,BWb:20,v6b:21,a7b:22,Q1b:23,W0b:24,eVb:25,PERMISSION_DENIED:26,n0b:27,qVb:28,pVb:29,INTERRUPTED:30,p2b:31,I2b:32,eXb:33,kXb:34,X5b:35,rXb:36,qYb:37,jXb:38,o1b:39,YVb:40,k2b:41,K2b:42,O5b:43,JVb:44,XVb:45,nYb:46,i0b:47,m1b:48,H1b:49,l2b:50,H5b:51,vWb:52,P5b:53,N5b:54,PVb:55,MVb:56,CXb:57,G0b:58,m2b:59,I_b:60,$3b:61,O4b:62,u5b:63,k_b:64,Y0b:65,h7b:66,tXb:67,rYb:68,Q6b:69,
p_b:70,oVb:71,BVb:72,W4b:73,v5b:74,r5b:75,p5b:76,K4b:190,o5b:191,X4b:192,c5b:126,Z4b:128,$4b:129,a5b:130,b5b:131,d5b:132,e5b:133,i4b:127,f4b:134,g4b:135,k4b:136,l4b:137,m4b:138,h4b:194,j4b:195,n4b:196,e4b:197,N4b:189,Z3b:139,a4b:140,o4b:141,p4b:142,B4b:143,E4b:144,F4b:145,G4b:146,H4b:147,I4b:148,J4b:149,M4b:150,S4b:151,U4b:152,V4b:153,Y4b:154,f5b:155,h5b:156,i5b:157,j5b:158,k5b:159,l5b:160,m5b:161,q5b:162,t5b:163,w5b:164,b4b:165,c4b:166,d4b:167,X3b:168,Y3b:169,s4b:170,q4b:171,r4b:172,t4b:173,u4b:174,
v4b:175,w4b:176,x4b:177,y4b:178,z4b:179,A4b:180,C4b:181,D4b:182,L4b:106,T4b:183,g5b:184,n5b:185,P4b:186,Q4b:187,R4b:188,s5b:244,j2b:77,V6b:78,$6b:79,u0b:80,a_b:81,c_b:82,BXb:83,mYb:84,o0b:85,o6b:86,iXb:87,r_b:88,q_b:89,z5b:90,x5b:91,y5b:92,W6b:93,kWb:94,jWb:95,gWb:96,iWb:97,hWb:98,g7b:99,J3b:100,GWb:101,zWb:102,EWb:103,CWb:104,FWb:105,sYb:107,b6b:108,D3b:109,K6b:110,vYb:111,uYb:112,N_b:113,O_b:114,O2b:115,QVb:116,V_b:117,LXb:118,X6b:119,u1b:120,v1b:121,XZb:193,wWb:122,ZWb:123,$Zb:124,S0b:125,s_b:198,
u2b:199,h_b:200,hUb:201,n_b:202,l_b:203,rVb:204,F7b:205,b0b:206,dWb:207,r1b:208,J2b:209,F3b:210,IUb:211,L_b:212,S_b:213,S5b:214,R5b:215,j_b:216,VZb:217,i_b:218,vXb:219,f6b:220,wXb:221,J_b:222,Z5b:223,q7b:224,b1b:225,Y5b:226,aXb:227,a0b:228,AXb:229,$Vb:230,m6b:231,T0b:232,FILE_TOO_LARGE:233,o_b:234,uXb:235,jYb:236,F2b:237,Z0b:238,TTb:239,aWb:240,f1b:241,P3b:242,gXb:243,fUb:245,d_b:246,J1b:247,b_b:248,t0b:249,X0b:250,oYb:251,cZb:252,M_b:253,NVb:254,tYb:255,f7b:256,PYb:257,D0b:258,V2b:259,t2b:260,z_b:261,
LWb:262,hXb:263,dVb:264,m0b:265,d7b:266,XTb:267,WUb:268,VUb:269,n1b:270};X5c=[2,6];_.xN=function(a){_.O(this,a,-1,X5c,null)};_.L(_.xN,_.K);_.g=_.xN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Fd=function(){return _.Uj(this,_.Yk,2)};_.g.Qw=function(a){return _.Nj(this,2,a)};_.g.lh=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.g.$j=function(){return _.B(this,3)};_.g.jl=function(){return _.S(this,4,!0)};var Y5c=function(a,b){return _.Nj(a,6,b)};
_.xN.prototype.Vf=function(){return _.B(this,10)};_.xN.prototype.CP=function(a){return _.A(this,10,a)};_.xN.prototype.jf=function(){return _.B(this,9)};_.xN.prototype.kj=function(a){return _.A(this,9,a)};var y1c=[1004,1005,1002,1003],M1c=[1002,1003,1005],Z5c=[1,2],$5c=function(a){_.O(this,a,-1,Z5c,null)};_.L($5c,_.K);_.a6c=function(a){_.O(this,a,-1,null,null)};_.L(_.a6c,_.K);_.a6c.prototype.Ab=function(){return _.B(this,1)};_.a6c.prototype.Dc=function(a){return _.A(this,1,a)};
_.a6c.prototype.ln=function(){return _.C(this,_.KF,2)};var b6c=function(a){_.gi.call(this,a)};_.L(b6c,_.gi);var c6c=[5,7,9],d6c=function(a){_.O(this,a,-1,c6c,null)};_.L(d6c,_.K);_.g=d6c.prototype;_.g.getUser=function(){return _.C(this,_.Fk,1)};_.g.KA=function(a){_.A(this,2,a)};_.g.setBooleanValue=function(a){return _.A(this,3,a)};_.g.setTextValue=function(a){return _.A(this,4,a)};_.g.opa=function(a){return _.Kj(this,5,a)};_.g.addTextValues=function(a,b){return _.Sj(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.A(this,6,a)};_.g.kpa=function(a){return _.Kj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Sj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.A(this,8,a)};_.g.cpa=function(a){return _.Kj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,9,a,b)};var e6c=[7,10,12,16,13,3],rO=function(a){_.O(this,a,-1,e6c,null)};_.L(rO,_.K);var sO=function(a){return _.B(a,4)};_.g=rO.prototype;_.g.KA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.T$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.opa=function(a){return _.Kj(this,7,a)};_.g.addTextValues=function(a,b){return _.Sj(this,7,a,b)};_.g.R$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.S$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.xMa=function(){return _.Md(this,10)};
_.g.kpa=function(a){return _.Kj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Sj(this,10,a,b)};_.g.Q$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.cpa=function(a){return _.Kj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,12,a,b)};_.g.yMa=function(){return _.C(this,_.Fk,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.nBa=function(){return _.Uj(this,_.Fk,16)};var f6c=function(a,b){_.Nj(a,16,b)};
rO.prototype.addUserValues=function(a,b){return _.Xj(this,16,a,_.Fk,b)};rO.prototype.O=function(){return _.B(this,17)};rO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};rO.prototype.V=function(){return _.P(this,17)};var g6c=function(a,b){_.Nj(a,13,b)};rO.prototype.getId=function(){return _.B(this,14)};rO.prototype.Pb=function(a){return _.A(this,14,a)};rO.prototype.getName=function(){return _.B(this,1)};rO.prototype.jd=function(a){return _.A(this,1,a)};
var h6c=[2],tO=function(a){_.O(this,a,-1,h6c,null)};_.L(tO,_.K);tO.prototype.getName=function(){return _.B(this,1)};tO.prototype.jd=function(a){return _.A(this,1,a)};tO.prototype.O=function(){return _.Uj(this,rO,2)};var i6c=function(a,b){_.Nj(a,2,b)};tO.prototype.Cc=function(){return _.B(this,3)};var j6c=function(a,b){return _.A(a,3,b)},k6c=function(a){_.O(this,a,-1,null,null)};_.L(k6c,_.K);k6c.prototype.O=function(){return _.C(this,_.vC,1)};k6c.prototype.V=function(){return _.C(this,_.vC,2)};
k6c.prototype.ka=function(){return _.C(this,_.vC,3)};var l6c=function(a){_.O(this,a,-1,null,null)};_.L(l6c,_.K);_.g=l6c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Dm=function(){return _.R(this,2)};_.g.U$a=function(){return _.R(this,3)};_.g.V$a=function(){return _.R(this,4)};var uO=[[13,19,12,11,10,15,14,9,8,18,17,16]],m6c=function(a){_.O(this,a,-1,null,null)};_.L(m6c,_.K);m6c.prototype.O=function(){return _.R(this,1)};
m6c.prototype.V=function(){return _.R(this,2)};var n6c=function(a){_.O(this,a,-1,null,null)};_.L(n6c,_.K);n6c.prototype.sVa=function(){return _.B(this,1)};n6c.prototype.O=function(){return _.B(this,4)};var o6c=function(a){_.O(this,a,-1,null,null)};_.L(o6c,_.K);o6c.prototype.V=function(){return _.B(this,1)};o6c.prototype.O=function(){return _.B(this,2)};var p6c=function(a){_.O(this,a,-1,null,null)};_.L(p6c,_.K);p6c.prototype.V=function(){return _.B(this,1)};
p6c.prototype.O=function(){return _.B(this,2)};var q6c=function(a){_.O(this,a,-1,null,null)};_.L(q6c,_.K);var r6c=[1],s6c=function(a){_.O(this,a,-1,null,null)};_.L(s6c,_.K);s6c.prototype.O=function(){return _.R(this,1)};s6c.prototype.V=function(){return _.R(this,2)};var t6c=function(a){_.O(this,a,-1,null,null)};_.L(t6c,_.K);_.g=t6c.prototype;_.g.Vn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Dm=function(){return _.R(this,2)};_.g.fab=function(){return _.C(this,k6c,3)};
_.g.iab=function(){return _.P(this,3)};_.g.hab=function(){return _.C(this,k6c,4)};_.g.kab=function(){return _.P(this,4)};_.g.gab=function(){return _.B(this,5)};_.g.jab=function(){return _.P(this,5)};var u6c=function(a){_.O(this,a,-1,null,null)};_.L(u6c,_.K);_.g=u6c.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Dr=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.Ai=function(){return _.Lj(this,2)};
_.g.ih=function(){return _.P(this,2)};_.g.Qe=function(){return _.B(this,5)};_.g.om=function(a){return _.A(this,5,a)};_.g.eab=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.C(this,s6c,3)};_.g.dab=function(){return _.C(this,t6c,4)};var v6c=function(a){_.O(this,a,-1,r6c,null)};_.L(v6c,_.K);v6c.prototype.O=function(){return _.Uj(this,u6c,1)};var w6c=function(a,b){_.Nj(a,1,b)},x6c=function(a){_.O(this,a,-1,null,null)};_.L(x6c,_.K);x6c.prototype.kv=function(){return _.B(this,1)};
x6c.prototype.pW=function(){return _.P(this,1)};x6c.prototype.getOptions=function(){return _.C(this,v6c,2)};var y6c=function(a){_.O(this,a,-1,null,null)};_.L(y6c,_.K);y6c.prototype.kv=function(){return _.B(this,1)};y6c.prototype.pW=function(){return _.P(this,1)};y6c.prototype.getOptions=function(){return _.C(this,p6c,2)};var z6c=function(a){_.O(this,a,-1,null,null)};_.L(z6c,_.K);var A6c=function(a){_.O(this,a,-1,null,null)};_.L(A6c,_.K);A6c.prototype.kv=function(){return _.B(this,1)};
A6c.prototype.pW=function(){return _.P(this,1)};A6c.prototype.getOptions=function(){return _.C(this,z6c,2)};var vO=[[3,4,5,6,7,8,9,10,11,12]],B6c=function(a){_.O(this,a,-1,null,vO)};_.L(B6c,_.K);_.g=B6c.prototype;_.g.gda=function(a){return _.Wj(this,3,vO[0],a)};_.g.e5a=function(a){return _.Wj(this,4,vO[0],a)};_.g.r4a=function(a){return _.Wj(this,5,vO[0],a)};_.g.q4a=function(a){return _.Wj(this,6,vO[0],a)};_.g.e4a=function(a){return _.Wj(this,7,vO[0],a)};
_.g.S4a=function(a){return _.Wj(this,8,vO[0],a)};_.g.R4a=function(a){return _.Wj(this,9,vO[0],a)};_.g.j5a=function(a){return _.Wj(this,10,vO[0],a)};_.g.spa=function(a){return _.Wj(this,11,vO[0],a)};_.g.Zoa=function(a){return _.Wj(this,12,vO[0],a)};var C6c=function(a){_.O(this,a,-1,null,null)};_.L(C6c,_.K);var D6c=function(a){_.O(this,a,-1,null,null)};_.L(D6c,_.K);D6c.prototype.kv=function(){return _.B(this,1)};D6c.prototype.pW=function(){return _.P(this,1)};
D6c.prototype.getOptions=function(){return _.C(this,C6c,2)};var E6c=function(a){_.O(this,a,-1,null,uO)};_.L(E6c,_.K);_.g=E6c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Y$a=function(){return _.B(this,2)};_.g.ze=function(){return _.B(this,4)};_.g.X$a=function(){return _.C(this,l6c,5)};_.g.getCapabilities=function(){return _.C(this,m6c,6)};_.g.cab=function(){return _.B(this,7)};_.g.e4a=function(a){return _.Wj(this,13,uO[0],a)};
_.g.W$a=function(){return _.C(this,n6c,19)};_.g.Zoa=function(a){return _.Wj(this,19,uO[0],a)};_.g.q4a=function(a){return _.Wj(this,12,uO[0],a)};_.g.r4a=function(a){return _.Wj(this,11,uO[0],a)};_.g.stb=function(){return _.C(this,o6c,10)};_.g.Z$a=function(){return _.C(this,x6c,15)};_.g.R4a=function(a){return _.Wj(this,15,uO[0],a)};_.g.$$a=function(){return _.C(this,v6c,14)};_.g.S4a=function(a){return _.Wj(this,14,uO[0],a)};_.g.e5a=function(a){return _.Wj(this,9,uO[0],a)};
_.g.aab=function(){return _.C(this,p6c,8)};_.g.gda=function(a){return _.Wj(this,8,uO[0],a)};_.g.bab=function(){return _.C(this,D6c,18)};_.g.spa=function(a){return _.Wj(this,18,uO[0],a)};_.g.j5a=function(a){return _.Wj(this,17,uO[0],a)};var F6c=[5],G6c=function(a){_.O(this,a,-1,null,null)};_.L(G6c,_.K);G6c.prototype.ka=function(){return _.R(this,1)};G6c.prototype.O=function(){return _.R(this,2)};G6c.prototype.ma=function(){return _.R(this,3)};G6c.prototype.V=function(){return _.R(this,4)};
var wO=function(a){_.O(this,a,-1,F6c,null)};_.L(wO,_.K);wO.prototype.getName=function(){return _.B(this,1)};wO.prototype.jd=function(a){return _.A(this,1,a)};wO.prototype.an=function(){return _.B(this,2)};var H6c=function(a,b){return _.A(a,2,b)};wO.prototype.V=function(){return _.B(this,14)};var I6c=function(a,b){return _.A(a,14,b)};_.g=wO.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Qe=function(){return _.B(this,4)};
_.g.om=function(a){return _.A(this,4,a)};_.g.mab=function(){return _.B(this,15)};_.g.lab=function(){return _.Uj(this,E6c,5)};var J6c=function(a,b){return _.Nj(a,5,b)},K6c=function(a,b){_.J(a,6,b)},L6c=function(a,b){_.J(a,7,b)},M6c=function(a,b){_.J(a,8,b)},N6c=function(a,b){return _.A(a,9,b)},O6c=function(a,b){return _.A(a,10,b)},P6c=function(a,b){return _.A(a,11,b)};wO.prototype.O=function(){return _.C(this,l6c,12)};var Q6c=function(a,b){_.J(a,12,b)};
wO.prototype.getCapabilities=function(){return _.C(this,G6c,13)};var R6c=function(a,b){_.J(a,13,b)};wO.prototype.getCustomer=function(){return _.B(this,16)};S6c=function(a,b){return _.A(a,16,b)};T6c=[3];_.xO=function(a){_.O(this,a,-1,T6c,null)};_.L(_.xO,_.K);_.xO.prototype.getType=function(){return _.B(this,1)};_.xO.prototype.Cc=function(){return _.B(this,2)};_.fO=function(a){_.O(this,a,-1,null,null)};_.L(_.fO,_.K);_.fO.prototype.getId=function(){return _.B(this,1)};
_.fO.prototype.Pb=function(a){return _.A(this,1,a)};_.fO.prototype.xe=function(){return _.C(this,_.lf,3)};_.U6c=function(a){_.O(this,a,-1,null,null)};_.L(_.U6c,_.K);_.U6c.prototype.getFeature=function(){return _.B(this,1)};V6c=[1];_.tN=function(a){_.O(this,a,-1,V6c,null)};_.L(_.tN,_.K);W6c=[2,3,8];_.KM=function(a){_.O(this,a,-1,W6c,null)};_.L(_.KM,_.K);_.KM.prototype.getId=function(){return _.B(this,1)};_.KM.prototype.Pb=function(a){return _.A(this,1,a)};
_.KM.prototype.xe=function(){return _.C(this,_.lf,4)};_.KM.prototype.Bc=function(){return _.B(this,5)};var X6c=function(a){_.O(this,a,-1,null,null)};_.L(X6c,_.K);var Y6c=[1,2,4],Z6c={Y6b:0,E0b:1,S1b:2,F1b:3,u_b:4,FUb:5,F0b:6,G1b:7,CZb:8,cVb:9,D1b:10},yO=function(){this.map={};this.status=6;this.Pe=null};yO.prototype.Ab=function(){return this.status};yO.prototype.Dc=function(a){this.status=a};yO.prototype.jf=function(){return this.Pe};yO.prototype.kj=function(a){this.Pe=a};
var $6c=function(a,b){a.map=b};yO.prototype.kc=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Pe,me:b})};a7c=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.kj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.wN=function(){yO.apply(this,arguments)};_.L(_.wN,yO);var b7c=function(){yO.apply(this,arguments)};_.L(b7c,yO);var c7c=function(a){_.O(this,a,-1,null,null)};_.L(c7c,_.K);
c7c.prototype.getType=function(){return _.B(this,1)};var d7c=function(a){var b=new c7c;return _.A(b,1,a)},e7c=function(a,b){return _.J(a,2,b)};c7c.prototype.ny=function(){return _.B(this,3)};c7c.prototype.Py=function(a){return _.A(this,3,a)};c7c.prototype.Ni=function(){return _.B(this,4)};c7c.prototype.setPosition=function(a){return _.A(this,4,a)};var f7c=[2],g7c=function(a){_.O(this,a,-1,f7c,null)};_.L(g7c,_.K);g7c.prototype.Ab=function(){return _.B(this,1)};
g7c.prototype.Dc=function(a){return _.A(this,1,a)};var h7c=[2],zO=function(a){_.O(this,a,-1,h7c,null)};_.L(zO,_.K);zO.prototype.Ab=function(){return _.B(this,1)};zO.prototype.Dc=function(a){return _.A(this,1,a)};zO.prototype.O=function(){return _.Uj(this,tO,2)};var i7c=function(a,b){return _.Nj(a,2,b)};zO.prototype.$j=function(){return _.B(this,3)};var j7c=function(a){_.O(this,a,-1,null,null)};_.L(j7c,_.K);j7c.prototype.Ab=function(){return _.B(this,1)};
j7c.prototype.Dc=function(a){return _.A(this,1,a)};var k7c=function(a,b){return _.J(a,2,b)},l7c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},m7c=function(a){_.O(this,a,-1,null,null)};_.L(m7c,_.K);m7c.prototype.Qe=function(){return _.E(this,1)};m7c.prototype.om=function(a){return _.ek(this,1,a)};m7c.prototype.getUrl=function(){return _.E(this,2)};_.n7c=function(a){_.O(this,a,-1,null,null)};_.L(_.n7c,_.K);_.n7c.prototype.getType=function(){return _.Gj(this,1,0)};
_.n7c.prototype.getContext=function(){return _.C(this,m7c,2)};_.n7c.prototype.Yi=function(a){return _.J(this,2,a)};o7c=[1];p7c=[2,4];_.q7c=function(a){_.O(this,a,-1,p7c,null)};_.L(_.q7c,_.K);_.q7c.prototype.getLabel=function(){return _.E(this,1)};_.q7c.prototype.getTitle=function(){return _.E(this,3)};_.q7c.prototype.setTitle=function(a){return _.ek(this,3,a)};_.r7c=function(a){_.O(this,a,-1,o7c,null)};_.L(_.r7c,_.K);_.s7c=[[2,3,4]];_.AO=function(a){_.O(this,a,-1,null,null)};_.L(_.AO,_.K);
_.AO.prototype.ze=function(){return _.E(this,3)};_.AO.prototype.jo=function(a){return _.ek(this,4,a)};_.t7c=function(a){_.O(this,a,-1,null,null)};_.L(_.t7c,_.K);_.u7c=function(a){_.O(this,a,-1,null,_.s7c)};_.L(_.u7c,_.K);var v7c=function(a){_.O(this,a,-1,null,null)};_.L(v7c,_.K);w7c=[3,5];_.BO=[[8,9,10,11,12,13,14]];_.x7c=function(a){_.O(this,a,-1,null,null)};_.L(_.x7c,_.K);_.y7c=function(a){_.O(this,a,-1,w7c,_.BO)};_.L(_.y7c,_.K);_.y7c.prototype.Ab=function(){return _.Gj(this,6,0)};
_.y7c.prototype.Dc=function(a){return _.fk(this,6,a)};var z7c=function(a){_.O(this,a,-1,null,null)};_.L(z7c,_.K);var A7c=function(a){_.O(this,a,-1,null,null)};_.L(A7c,_.K);var B7c=function(a){_.O(this,a,-1,null,null)};_.L(B7c,_.K);var C7c=[1],D7c=function(a){_.O(this,a,-1,C7c,null)};_.L(D7c,_.K);var E7c=function(a){_.O(this,a,-1,null,null)};_.L(E7c,_.K);var F7c=function(a){_.O(this,a,-1,null,null)};_.L(F7c,_.K);G7c=[7];_.H7c=[[1,2,3]];_.I7c=function(a){_.O(this,a,-1,null,null)};_.L(_.I7c,_.K);
_.J7c=function(a){_.O(this,a,-1,null,null)};_.L(_.J7c,_.K);_.K7c=function(a){_.O(this,a,-1,null,null)};_.L(_.K7c,_.K);_.L7c=function(a){_.O(this,a,-1,G7c,_.H7c)};_.L(_.L7c,_.K);_.M7c=function(a){_.O(this,a,-1,null,null)};_.L(_.M7c,_.K);_.M7c.prototype.getName=function(){return _.E(this,1)};_.M7c.prototype.jd=function(a){return _.ek(this,1,a)};var N7c=function(a){_.O(this,a,-1,null,null)};_.L(N7c,_.K);N7c.prototype.getName=function(){return _.E(this,1)};
N7c.prototype.jd=function(a){return _.ek(this,1,a)};N7c.prototype.getTitle=function(){return _.E(this,2)};N7c.prototype.setTitle=function(a){return _.ek(this,2,a)};var O7c=[[1,4]],P7c=function(a){_.O(this,a,-1,null,O7c)};_.L(P7c,_.K);P7c.prototype.getUser=function(){return _.C(this,_.u7c,1)};var Q7c=[[8,9,10]],R7c=function(a){_.O(this,a,-1,null,null)};_.L(R7c,_.K);var S7c=function(a){_.O(this,a,-1,null,null)};_.L(S7c,_.K);S7c.prototype.getType=function(){return _.Gj(this,6,0)};
var T7c=function(a){_.O(this,a,-1,null,null)};_.L(T7c,_.K);_.U7c=function(a){_.O(this,a,-1,null,Q7c)};_.L(_.U7c,_.K);_.g=_.U7c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.getFile=function(){return _.C(this,R7c,3)};_.g.dka=function(){return _.C(this,S7c,9)};_.g.Yza=function(){return _.C(this,T7c,10)};_.g.Di=function(){return _.bk(this,5)};
_.g.getMimeType=function(){return _.E(this,6)};_.g.$C=function(){return _.C(this,P7c,7)};var V7c=function(a){_.O(this,a,-1,null,null)};_.L(V7c,_.K);var W7c=[[8,9,10]],X7c=function(a){_.O(this,a,-1,null,W7c)};_.L(X7c,_.K);_.g=X7c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.getFile=function(){return _.C(this,R7c,3)};
_.g.dka=function(){return _.C(this,S7c,9)};_.g.Yza=function(){return _.C(this,T7c,10)};Y7c=[[1,3]];_.CO=function(a){_.O(this,a,-1,null,Y7c)};_.L(_.CO,_.K);_.CO.prototype.mi=function(){return _.C(this,X7c,1)};_.Z7c=[[1,2,3]];_.$7c=function(a){_.O(this,a,-1,null,null)};_.L(_.$7c,_.K);_.a8c=function(a){_.O(this,a,-1,null,_.Z7c)};_.L(_.a8c,_.K);var b8c=function(a){_.O(this,a,-1,null,null)};_.L(b8c,_.K);var c8c=function(a){_.O(this,a,-1,null,null)};_.L(c8c,_.K);d8c=[2,3];
_.e8c=function(a){_.O(this,a,-1,d8c,null)};_.L(_.e8c,_.K);_.e8c.prototype.getType=function(){return _.Gj(this,1,0)};_.f8c=function(a){_.O(this,a,-1,null,null)};_.L(_.f8c,_.K);_.f8c.prototype.getType=function(){return _.Gj(this,1,0)};var g8c=function(a){_.O(this,a,-1,null,null)};_.L(g8c,_.K);g8c.prototype.getType=function(){return _.Gj(this,1,0)};var h8c=function(a){_.O(this,a,-1,null,null)};_.L(h8c,_.K);_.i8c=function(a){_.O(this,a,-1,null,null)};_.L(_.i8c,_.K);
_.i8c.prototype.O=function(){return _.S(this,1)};var j8c=function(a){_.O(this,a,-1,null,null)};_.L(j8c,_.K);k8c=[1,2,4];_.l8c=function(a){_.O(this,a,-1,null,null)};_.L(_.l8c,_.K);m8c=[1,2];_.n8c=function(a){_.O(this,a,-1,null,null)};_.L(_.n8c,_.K);_.n8c.prototype.getParent=function(){return _.C(this,_.CO,1)};_.n8c.prototype.yg=function(a){return _.J(this,1,a)};_.o8c=function(a){_.O(this,a,-1,m8c,null)};_.L(_.o8c,_.K);_.p8c=function(a){_.O(this,a,-1,k8c,null)};_.L(_.p8c,_.K);
_.DO=function(a){_.O(this,a,-1,null,null)};_.L(_.DO,_.K);_.DO.prototype.getEmail=function(){return _.E(this,1)};_.DO.prototype.getTitle=function(){return _.E(this,2)};_.DO.prototype.setTitle=function(a){return _.ek(this,2,a)};_.EO=[[2,3,4,5]];_.FO=function(a){_.O(this,a,-1,null,_.EO)};_.L(_.FO,_.K);_.FO.prototype.Af=function(){return _.Gj(this,1,0)};_.FO.prototype.getUser=function(){return _.C(this,_.u7c,2)};var q8c=function(a){_.O(this,a,-1,null,null)};_.L(q8c,_.K);r8c=[1,2,3,4];
_.s8c=function(a){_.O(this,a,-1,r8c,null)};_.L(_.s8c,_.K);_.t8c=function(a){_.O(this,a,-1,null,null)};_.L(_.t8c,_.K);_.u8c=function(a){_.O(this,a,-1,null,null)};_.L(_.u8c,_.K);_.v8c=function(a){_.O(this,a,-1,null,null)};_.L(_.v8c,_.K);_.w8c=function(a){_.O(this,a,-1,null,null)};_.L(_.w8c,_.K);_.w8c.prototype.getType=function(){return _.Gj(this,1,0)};x8c=[1];_.y8c=function(a){_.O(this,a,-1,null,null)};_.L(_.y8c,_.K);_.y8c.prototype.getFeature=function(){return _.Gj(this,1,0)};
_.z8c=function(a){_.O(this,a,-1,x8c,null)};_.L(_.z8c,_.K);var A8c=function(a){_.O(this,a,-1,null,null)};_.L(A8c,_.K);var B8c=function(a){_.O(this,a,-1,null,null)};_.L(B8c,_.K);var C8c=function(a){_.O(this,a,-1,null,null)};_.L(C8c,_.K);C8c.prototype.getType=function(){return _.Gj(this,1,0)};_.GO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.HO=function(a){_.O(this,a,-1,null,_.GO)};_.L(_.HO,_.K);_.HO.prototype.Rz=function(){return _.C(this,C8c,10)};_.D8c=function(a){_.O(this,a,-1,null,null)};
_.L(_.D8c,_.K);var E8c=function(a){_.O(this,a,-1,null,null)};_.L(E8c,_.K);_.F8c=function(a){_.O(this,a,-1,null,null)};_.L(_.F8c,_.K);_.G8c=function(a){_.O(this,a,-1,null,null)};_.L(_.G8c,_.K);_.G8c.prototype.getType=function(){return _.Gj(this,1,0)};_.H8c=[[1,2,3,4,5]];_.I8c=function(a){_.O(this,a,-1,null,_.H8c)};_.L(_.I8c,_.K);_.I8c.prototype.getUser=function(){return _.C(this,_.u7c,1)};var J8c=function(a){_.O(this,a,-1,null,null)};_.L(J8c,_.K);
J8c.prototype.getType=function(){return _.Gj(this,2,0)};J8c.prototype.zh=function(){return _.E(this,1)};_.K8c=function(a){_.O(this,a,-1,null,null)};_.L(_.K8c,_.K);_.g=_.K8c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.Na=function(){return _.C(this,_.U7c,3)};_.L8c=function(a){_.O(this,a,-1,null,null)};_.L(_.L8c,_.K);
_.L8c.prototype.getParent=function(){return _.C(this,_.U7c,4)};_.L8c.prototype.yg=function(a){return _.J(this,4,a)};_.M8c=[[1,5,3]];_.N8c=function(a){_.O(this,a,-1,null,_.M8c)};_.L(_.N8c,_.K);_.N8c.prototype.mi=function(){return _.C(this,_.U7c,1)};O8c=function(a,b){return new _.gTc(_.hTc.bound(a,b,void 0,void 0))};
P8c=function(){var a=new _.Vh,b=_.tTc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.AL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.Q8c=function(a){_.O(this,a,-1,null,null)};_.L(_.Q8c,_.K);_.Q8c.prototype.Jq=function(){return _.B(this,1)};_.Q8c.prototype.Ld=function(){return _.B(this,2)};_.Q8c.prototype.setSize=function(a){return _.A(this,2,a)};_.Q8c.prototype.getUrl=function(){return _.B(this,3)};
_.T8c=function(a){_.O(this,a,-1,null,null)};_.L(_.T8c,_.K);_.T8c.prototype.getType=function(){return _.B(this,1)};U8c=[2,3];_.V8c=function(a){_.O(this,a,-1,U8c,null)};_.L(_.V8c,_.K);W8c=[4,5,6,17,18,24];_.IO=function(a){_.O(this,a,-1,W8c,null)};_.L(_.IO,_.K);_.IO.prototype.getId=function(){return _.B(this,1)};_.IO.prototype.Pb=function(a){return _.A(this,1,a)};_.IO.prototype.getName=function(){return _.B(this,2)};_.IO.prototype.jd=function(a){return _.A(this,2,a)};
var X8c=function(a,b){return _.Kj(a,4,b)},Y8c=function(a,b){return _.Kj(a,5,b)};_.IO.prototype.LQ=function(){return _.B(this,8)};_.IO.prototype.SAa=function(){return _.R(this,22)};_.IO.prototype.getType=function(){return _.B(this,23)};_.IO.prototype.Dm=function(){return _.R(this,33)};var I2c=function(a){_.O(this,a,-1,null,null)};_.L(I2c,_.K);var Z8c=[3],JO=function(a){_.O(this,a,-1,Z8c,null)};_.L(JO,_.K);JO.prototype.kq=function(){return _.B(this,1)};var $8c=function(a,b){return _.A(a,1,b)};
JO.prototype.getTitle=function(){return _.B(this,2)};JO.prototype.setTitle=function(a){return _.A(this,2,a)};JO.prototype.Fd=function(){return _.Uj(this,_.Yk,3)};var a9c=function(a,b){return _.Nj(a,3,b)};JO.prototype.lh=function(a,b){return _.Xj(this,3,a,_.Yk,b)};JO.prototype.V=function(){return _.B(this,4)};var b9c=function(a,b){return _.A(a,4,b)};JO.prototype.O=function(){return _.C(this,_.Hk,5)};var c9c=function(a,b){return _.J(a,5,b)},d9c=[2],KO=function(a){_.O(this,a,-1,d9c,null)};_.L(KO,_.K);
KO.prototype.Ab=function(){return _.B(this,1)};KO.prototype.Dc=function(a){return _.A(this,1,a)};KO.prototype.ll=function(){return _.Uj(this,JO,2)};var e9c=function(a,b){return _.Nj(a,2,b)};KO.prototype.Vf=function(){return _.B(this,4)};f9c=function(a,b){return _.A(a,4,b)};_.yN=function(a){_.O(this,a,-1,null,null)};_.L(_.yN,_.K);_.g=_.yN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.RT=function(){return _.Ij(this,2,_.KF)};
_.g.$j=function(){return _.B(this,3)};_.g.jf=function(){return _.B(this,5)};_.g.kj=function(a){return _.A(this,5,a)};var g9c=[1],gO=[[1,2,3,4,5,6,7]],j2c=function(a){_.O(this,a,-1,null,gO)};_.L(j2c,_.K);var k2c=function(a){_.O(this,a,-1,g9c,null)};_.L(k2c,_.K);var LO=function(a){_.O(this,a,-1,null,null)};_.L(LO,_.K);LO.prototype.getQuery=function(){return _.C(this,_.Ye,1,1)};var h9c=function(a,b){return _.J(a,1,b)};LO.prototype.Un=function(){return _.B(this,4)};
var i9c=function(a,b){return _.J(a,5,b)},j9c=[1,2,5,7,9,10,12],MO=function(a){_.O(this,a,-1,j9c,null)};_.L(MO,_.K);MO.prototype.Fd=function(){return _.Uj(this,_.Yk,1)};var k9c=function(a,b){return _.Nj(a,1,b)};MO.prototype.lh=function(a,b){return _.Xj(this,1,a,_.Yk,b)};MO.prototype.yha=function(a){_.Xj(this,2,a,_.Fk,void 0)};var l9c=function(a,b){return _.A(a,3,b)};MO.prototype.Wn=function(){return _.B(this,4)};MO.prototype.Fu=function(a){return _.A(this,4,a)};
var m9c=function(a,b){return _.Nj(a,5,b)},n9c=function(a,b){return _.A(a,6,b)};MO.prototype.Fh=function(){return _.C(this,_.ZA,8)};var o9c=function(a,b){return _.Kj(a,12,b)};MO.prototype.wo=function(){return _.Gj(this,13,0)};var p9c=function(a,b){return _.A(a,13,b)},q9c={gVb:0,fVb:1,U_b:2,$5b:3,c6b:4},eO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],h2c=function(a){_.O(this,a,-1,null,eO)};_.L(h2c,_.K);var o2c=[[1,2]],n2c=function(a){_.O(this,a,-1,null,o2c)};_.L(n2c,_.K);
var r2c=[[1,2,3]],q2c=function(a){_.O(this,a,-1,null,r2c)};_.L(q2c,_.K);_.NO=function(a){_.O(this,a,-1,null,null)};_.L(_.NO,_.K);_.NO.prototype.wY=function(a){_.J(this,1,a)};_.NO.prototype.zr=function(){return _.C(this,_.Ax,2)};_.NO.prototype.vF=function(a){_.J(this,2,a)};r9c=[[5,6]];_.s9c=function(a){_.O(this,a,-1,null,r9c)};_.L(_.s9c,_.K);_.s9c.prototype.Nh=function(){return _.C(this,J8c,2)};_.s9c.prototype.O=function(a){_.Wj(this,5,r9c[0],a)};t9c=[3,4,5];u9c=[[6,7]];
_.v9c=function(a){_.O(this,a,-1,t9c,u9c)};_.L(_.v9c,_.K);_.v9c.prototype.O=function(a){_.Wj(this,6,u9c[0],a)};var w9c=[1],x9c=function(a){_.O(this,a,-1,w9c,null)};_.L(x9c,_.K);x9c.prototype.my=function(){return _.E(this,2)};var y9c=function(a,b){return 1<a?2===b:a===b},z9c=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1===b)return!a||1>=a?2:a+1;if(-2===b)return!a||2>=a?1:a-1;throw Error("Le");},OO=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d;this.O=e};
_.g=OO.prototype;_.g.clone=function(){return new OO(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};_.g.setItem=function(a){this.item=a};_.g.LD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.$b()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ak(this.item,a.getItem())};
_.zN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.TVc=function(a){this.H=a;this.type=1};A9c=function(){};B9c=function(a){this.H=a};_.UVc=function(a){this.H=a;this.type=0};T2c=function(a,b,c,d,e,f,h,k){this.status=a;this.O=b;this.V=c;this.ka=d;this.ha=e;this.gA=f;this.H=h;this.W=k};_.BN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.aWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.dWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.CN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.DN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};_.AN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};C9c=function(a){_.AN.call(this,a,void 0,void 0,void 0);this.b4a=new _.yn};_.L(C9c,_.AN);
var D9c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},E9c=function(a){return[].concat(_.jd(new Set(a.map(function(b){return _.wUc.get(b)}).filter(function(b){return b})))).join(",")},PO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.jd(b));b=E9c(b);var d=_.IL(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.S(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},F9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+PO(a,b,!1)+")"},QO=function(a){return a instanceof _.Yk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Cc()&&a.Cc()==a.Bc()},G9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.hh();null!=e&&E1c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Tk,h=_.R(e,13);_.A(f,13,h);_.cN(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Tk,e=_.R(e,18),_.A(f,18,e),_.cN(a,f));ZN(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,34,91,41,59,95,75,94,221,122,2]);d.hh()&&ZN(a,d,c)},H9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!QO(a)&&!QO(b))return a;if(2==bO(a)){c=_.B(a,82);var d=b.clone();G9c(d,a);_.dXc(d,bO(b));_.WL(d,c);return d}a=a.clone();G9c(a,b,c);return a},I9c=function(a){return(a=a?a.hh():null)&&a.Dm()||!1},J9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},K9c=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]={}})},M9c=function(a,b,c){b.every(function(d){return QO(d)})?L9c(b,c,a.H,a.O):b.every(function(d){return!QO(d)})&&L9c(b,c,a.items,a.fields)},L9c=function(a,b,c,d){var e=_.GVc(b,[].concat(_.jd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&ZN(f,k,[h])})})};J9c.prototype.update=function(a,b,c){b&&QO(b)?N9c(a,b,this.H,this.O,c):N9c(a,b,this.items,this.fields,c)};J9c.prototype.zJ=function(a){var b=this;_.Ma(this.items,function(c,d){_.Xa(b.items[d],a)});_.Ma(this.H,function(c,d){_.Xa(b.H[d],a)})};var N9c=function(a,b,c,d,e){_.Ma(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Xa(f,a);else if(b&&B1c(b,[h])){var k=new _.Yk;k.Pb(b.getId());ZN(k,b,[h]);f[a]=k}});b&&x1c(b,[].concat(_.jd(d)))};
J9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};J9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var O9c=function(a,b,c){var d=this;this.wu=b;this.zw=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=O9c.prototype;_.g.gy=function(){return this.Od};
_.g.uk=function(a){var b=new Map;a=_.m(a.hn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Od.has(c)&&b.set(c,this.Od.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(P9c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&(void 0===b||y9c(e.H,b))&&c.push(e);this.zw.sort(a,c)}return c};_.g.get=function(a){return this.Od.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Od.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,Q9c(this,a.H)?(this.Od.delete(a.id),a.H.count--):this.Od.set(a.id,a.H)):(this.Od.delete(a.id),a.O.count--)};var Q9c=function(a,b){return 1<b.$b()||y9c(b.H,2)||b.getItem().MI()||W1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
O9c.prototype.zJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,Q9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var R9c=function(a,b,c,d){this.Jg=a;this.W=b;this.O=c;this.V=d},J2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),M9c(a.V,[b.getItem()],B5c(a.Jg)),b):null};R9c.prototype.H=function(a){return(a=J2c(this,a))?a.getItem():null};
var S9c=function(a,b){var c={};b.forEach(function(d){var e=J2c(a,d);e&&(c[d]=e)});return c},T9c=function(a,b){return _.Oa(S9c(a,b),function(c){return c.getItem()})},U9c=function(a,b){b=SO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};R9c.prototype.query=function(a){return U9c(this,a).map(function(b){return b.getItem()})};R9c.prototype.Ld=function(){return this.O.gy().size};
var V9c=function(a){var b=new Set;a=_.m(a.O.gy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Zk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.VF(e));(d=c.zm())&&b.add(d.getId()||_.VF(d));(d=c.Rv())&&b.add(d.getId()||_.VF(d));(d=c.Mq())&&b.add(d.getId()||_.VF(d));(c=c.gD())&&b.add(c.getId()||_.VF(c))}return b.size},W9c=function(a){var b=new _.Po;_.sN(b,"hidden",a.Dm());a=_.R(a,6);null!=a&&_.sN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
X9c=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}},Y9c=function(a){var b=_.hSc(),c={};b&&(c.numeric=b);this.H=_.iSc(a,c)};Y9c.prototype.compare=function(a,b,c){b=Z9c(b);c=Z9c(c);a=a.Ac();var d=X9c(a);if(a&&d){d=$9c(this,a);var e=4===a.getType()?this.H:_.Ga;return a$c(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};
Y9c.prototype.sort=function(a,b,c){a=a.Ac();var d=X9c(a);a&&d&&(d=$9c(this,a),d=b$c(b,d),_.Ia(b,c$c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var Z9c=function(a){return a instanceof _.Yk?a:a.getItem()},$9c=function(a,b){b=X9c(b);return _.v(a.O,a,b,_.Ga)},b$c=function(a,b){var c={};a.forEach(function(d){d=Z9c(d);var e=d.getId();c[e]=b(d)});return c},c$c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=Z9c(d);e=Z9c(e);return a$c(b,function(h){return c[h.getId()]},f,d,e)}},a$c=function(a,b,c,d,e){var f=1===a.zf()?1:-1;if(_.R(a,3)){a=aO(d,!0);var h=aO(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()))};Y9c.prototype.O=function(a,b,c){for(var d=d$c(a[0],c),e=1;e<a.length;e++){var f=d$c(a[e],c);d=1===b(f,d)?f:d}return d};
var d$c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.PA()||!1;case 12:return b.cz()||0;case 11:return b.eB()||0;case 10:return b.Bq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.oy()||0;case 57:return _.B(b,62)||0;case 32:return b.Ou()||0;case 9:return b.SC()||0;case 67:return b.WJ()||0;case 98:return b.Sv()||0;default:return""}},e$c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.lr=_.CL(_.DL(b));
a=_.SL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};e$c.prototype.Fu=function(a){this.rootId=a||""};
var SO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Gl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Lb(a.rootId)});_.ef(b,_.Fl(b).map(function(d){d.Lb(d.Ya().toLowerCase());return d}));c&&_.El(b,a.fields);b.O().sort();return b},TO=function(a,b,c){if(b instanceof _.Ye){b=SO(a,b);var d=_.BYc(b)}else if(b instanceof _.Zz)d=b.hn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.wL)return d=W9c(b),d+"|tdList";if(b instanceof _.JF)return d=
b.hn().sort().join(","),b.O().length&&(d+="|"+E9c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+f$c(a,b.O(),2===c)},f$c=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+" - "+_.dM({fields:[].concat(_.jd(f)),lr:a.lr}));e.size&&(d=d+" + "+_.dM({fields:[].concat(_.jd(e)),lr:a.lr}));
return d};e$c.prototype.equals=function(a,b,c){var d;c&&(d=3);return TO(this,a,d)===TO(this,b,d)};
var g$c=function(a){if(!a.hn().every(function(b){return!_.ae(b)}))throw new _.lc("Invalid ids for FindByIdsRequest");},i$c=function(a,b,c){if(_.AM(b))throw new _.lc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");h$c(a,b,c)},h$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(b.getId())throw new _.lc("Use findByIds() for find by id queries.",d?d:_.aM(3));if(!b.Mi()||0>=b.Mi())throw new _.lc("A positive limit is required on an ItemQueryRequest.",d?d:_.aM(3));
_.Md(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),j$c(a,d,b.O()));if(c=(c=b.Ac())&&X9c(c))d=b.O().length?b.O():a.fields,j$c(a,d,c);if(_.zM(b)){if(a.lr)throw new _.lc("User must be authenticated for a Quick Access request.");if(!k$c(a)&&20<b.Mi())throw new _.lc("Limit must be in the range [1, 20].");c=2===_.fN(b);d=_.Md(b,33).length;if(c&&1!==d||d&&!c)throw new _.lc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Oj(_.Lj(_.Lj(_.Lj(_.MH(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.Ye;if(!_.ak(c,d))throw new _.lc("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: "+V5c(d,c));}if(_.BM(b)){if(a.lr)throw new _.lc("User must be authenticated for a DrivePriority request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),1),30),32),45),52);
b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+V5c(b,a));}},l$c=function(a,b,c){if(!_.AM(b))throw new _.lc("Expected a PeoplePredict request.");h$c(a,b,c);if(a.lr)throw new _.lc("User must be authenticated for a People Predict request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a People Predict request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),45),49);b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+V5c(b,a));},j$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(!C1c(b,c,_.EVc)){var e=_.dM({fields:c,lr:a.lr}),f=_.dM({fields:b,lr:a.lr});a=_.dM({fields:D1c(c,b),lr:a.lr});throw new _.lc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.aM(3));
}},k$c=function(a){return 200<=_.hN(a.H)&&300>_.hN(a.H)},m$c=function(a){var b=new Set;_.Fl(a).forEach(function(c){switch(_.LNa(c.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("FORM_ALL")}});return[].concat(_.jd(b))},n$c=function(a){switch(_.hN(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"}},o$c=function(a){_.N.call(this);this.H=a};_.If(o$c,_.N);_.g=o$c.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.yO=function(a){this.H.addCallback(function(b){b.yO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Xa=function(){this.cancel();o$c.ub.Xa.call(this)};var c2c=function(a){_.hy.call(this);this.H=a;this.V=_.ue(this.H,"message",this.npb,!1,this)};_.If(c2c,_.hy);_.g=c2c.prototype;_.g.Cd=null;
_.g.send=function(a,b){var c=[];b=this.Sya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.DUc&&(a=(0,_.xi)(a));this.H.postMessage(a,c)};_.g.npb=function(a){a=a.De;var b=a.data;if(_.DUc)try{b=JSON.parse(b)}catch(e){return}if(_.Ca(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.sCa(a.ports||[],b),d.$Ea),null!=b&&d.callback(b))}};
_.g.Sya=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.v)(this.Sya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.Sya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.sCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.sCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.sCa(a,"_port"==d?c.val:c)},this):b};_.g.Xa=function(){_.mi(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;c2c.ub.Xa.call(this)};
var e2c=function(a,b){if("*"==b)return new o$c(_.ai(Error("Qe")));var c=new _.si(50),d=_.wb(_.aa,c),e=new _.Vh(d);_.Yja(e,d);c.start();_.ue(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new c2c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new o$c(e)},p$c=function(a){_.N.call(this);this.H=new _.NSc(a);this.V={};this.O=_.PSc(this.H,
"private");this.W=_.PSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Lmb,this),!0)};_.If(p$c,_.N);_.g=p$c.prototype;_.g.UFb=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.UFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Lmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.v)(this.Kmb,this,b),!0)};
_.g.Kmb=function(a,b){a=a(b.data);var c=b.signature;_.Ph(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var cO=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.NSc(a);this.Ma(this.H);this.O=new p$c(_.PSc(this.H,"direct"));this.Ma(this.O);a=_.PSc(this.H,"passthrough");this.V=b?a:new p$c(a);this.Ma(this.V);this.LW=b};_.L(cO,_.N);cO.prototype.registerService=function(a,b){this.O.registerService(a,b)};
cO.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ef)};var UO=function(a,b,c){if(a.LW)throw Error("Re");a.V.registerService(b,c,!0)},VO=function(a,b,c,d){if(a.LW)throw Error("Se");a.V.send(b,c||{},d||_.Ef)};cO.prototype.start=function(){this.started||(this.started=!0);if(this.LW)throw Error("Te");};var $1c=[],q$c=function(){_.hy.call(this);this.H=null};_.L(q$c,_.hy);q$c.prototype.send=function(a,b){_.r6a(this.H,a,b)};
var f2c=function(){this.O=new q$c;this.H=new q$c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},r$c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.kc=null},s$c=function(a,b){b=void 0===b?!1:b;null==a.kc&&(a.kc=b)&&Z1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.kc}},t$c=function(a){var b=new r$c(a.c,a.m,a.a,a.req);b.kc=a.s;return b},u$c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.kc=null},v$c=function(a,
b){b=void 0===b?!1:b;null==a.kc&&a.data&&(a.kc=b)&&Z1c(a.data);return{d:a.data,err:a.error&&b?a.error.kc():a.error,uid:a.H,s:b}},w$c=function(a){var b=a.s,c=a.err&&b?new _.kc(JSON.parse(a.err)):a.err;a=new u$c(c?void 0:a.d,c,a.uid);c||(a.kc=b);return a},Y1c=function(a,b){this.H=a;this.ED=b};Y1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.ED[b];return a};
Y1c.prototype.kc=function(){for(var a={},b={},c=0;c<this.ED.length;c++){var d=this.ED[c],e=this.H[c];d instanceof Error?b[e]=_.QL(d).kc():a[e]=d.kc()}return{r:a,e:b}};x$c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.UM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.kc(JSON.parse(e));d.push(_.bM(e))});return new Y1c(c,d)}return a};d2c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
y$c={STb:0,lUb:1,f_b:3,r7b:5,pjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.lM=function(a){_.O(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.zh=function(){return _.B(this,1)};_.lM.prototype.xe=function(){return _.C(this,_.lf,3)};_.oM=function(a){_.O(this,a,-1,null,null)};_.L(_.oM,_.K);_.oM.prototype.Cc=function(){return _.B(this,1)};_.oM.prototype.xe=function(){return _.C(this,_.lf,3)};_.wM=function(a){_.O(this,a,-1,null,null)};_.L(_.wM,_.K);
_.wM.prototype.zh=function(){return _.B(this,1)};_.wM.prototype.xe=function(){return _.C(this,_.lf,2)};_.xM=function(a){_.O(this,a,-1,null,null)};_.L(_.xM,_.K);_.xM.prototype.zh=function(){return _.B(this,1)};_.xM.prototype.xe=function(){return _.C(this,_.lf,2)};_.yM=function(a){_.O(this,a,-1,null,null)};_.L(_.yM,_.K);_.g=_.yM.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.Af=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};
_.g.Lb=function(a){return _.A(this,4,a)};_.g.Ai=function(){return _.Lj(this,4)};_.g.ih=function(){return _.P(this,4)};_.g.xe=function(){return _.C(this,_.lf,7)};_.FM=function(a){_.O(this,a,-1,null,null)};_.L(_.FM,_.K);_.FM.prototype.Cc=function(){return _.B(this,1)};_.FM.prototype.xe=function(){return _.C(this,_.lf,2)};_.FM.prototype.Mi=function(){return _.bk(this,3,1E3)};_.FM.prototype.xi=function(a){return _.A(this,3,a)};_.IM=function(a){_.O(this,a,-1,null,null)};_.L(_.IM,_.K);
_.IM.prototype.xe=function(){return _.C(this,_.lf,1)};var z$c=function(){var a=new _.IM,b=_.mf(new _.lf,301);return _.J(a,1,b)};_.IM.prototype.Bc=function(){return _.B(this,3)};_.bWc=function(a){_.O(this,a,-1,null,null)};_.L(_.bWc,_.K);_.bWc.prototype.Bc=function(){return _.B(this,1)};_.MM=function(a){_.O(this,a,-1,null,null)};_.L(_.MM,_.K);_.MM.prototype.zh=function(){return _.B(this,1)};_.MM.prototype.xe=function(){return _.C(this,_.lf,4)};var A$c=function(a){_.O(this,a,-1,null,null)};_.L(A$c,_.K);
B$c=function(a,b){return _.A(a,1,b)};_.mM=function(a){_.O(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.getId=function(){return _.B(this,1)};_.mM.prototype.Pb=function(a){return _.A(this,1,a)};_.CM=function(a){_.O(this,a,-1,null,null)};_.L(_.CM,_.K);_.CM.prototype.getId=function(){return _.B(this,1)};_.CM.prototype.Pb=function(a){return _.A(this,1,a)};_.PVc=function(a){_.O(this,a,-1,null,null)};_.L(_.PVc,_.K);
var C$c=function(a,b,c){_.ri.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.L(C$c,_.ri);C$c.prototype.vB=function(){return this.O};C$c.prototype.jQ=function(){var a=this;if(this.W)return this.W;var b=_.Th();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);D$c(this,b);return b.promise};C$c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,E$c(this))};
C$c.prototype.va=function(){!1===this.O&&(this.log("Became authenticated."),this.O=!0,this.H=null,this.V=!1,this.timeout&&(_.n.clearTimeout(this.timeout),this.timeout=null),this.dispatchEvent(new b6c("ib")))};
var F$c=function(a,b){a.ha=b},E$c=function(a){a.H||(a.H=new _.vZc(5E3),a.timeout=_.n.setTimeout(function(){return G$c(a)},a.H.Ya()))},G$c=function(a){D$c(a);a.H&&(_.rH(a.H),a.timeout=_.n.setTimeout(function(){return G$c(a)},a.H.Ya()))},D$c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return H$c(a,b)})},H$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Te(new _.cWc)});b?c.then(function(){b.resolve(B$c(new A$c,1))},function(d){var e=_.$A(d).Pg;
d=0;_.QUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.bq(e),_.A(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new A$c;B$c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.$A(d);_.QUc(d.Pg)&&a.V&&(a.dispatchEvent(new b6c("jb")),a.V=!1)})};C$c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var I$c=function(a){return _.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)},J$c=function(a){_.O(this,a,-1,null,null)};_.L(J$c,_.K);_.g=J$c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Kz=function(){return _.B(this,3)};_.g.Me=function(){return _.B(this,4)};_.g.yi=function(a){return _.A(this,4,a)};var K$c=function(a){this.Cd=a;this.H=new Map;this.O=this.Cd.W};
K$c.prototype.create=function(a,b){if(0!=H5c(b)){var c=this.Cd.H(106001);if(c){var d=H5c(b),e=pO(c);_.A(e,2,d);d=pO(c);e=null;if(b instanceof _.WF||b instanceof _.Zz||b instanceof _.Ye||b instanceof _.DM||b instanceof _.iD||b instanceof _.JF||b instanceof _.wL||b instanceof _.EL||b instanceof _.LF||b instanceof _.Jz)e=b.xe();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=pO(c);b=b instanceof _.Ye?0<_.Gl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var L$c=function(a,b,c){if(a=a.H.get(b))a=pO(a),_.A(a,5,c)},M$c=function(a,b,c){(a=a.H.get(b))&&_.R(pO(a),8)&&(a=pO(a),_.A(a,9,c))},N$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(pO(f).Dc(c),pO(f).kj(d),null!=e&&(c=pO(f),_.A(c,6,e)),f.Zj(),a.H.delete(b))},O$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Ab(c);c=I5c(c);if(1==e||2==c)e=_.vN(_.GUc,c),d=pO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.cVc.has(e):null,N$c(a,b,1,e,d)}},P$c=function(a,b,c){var d=a.O.Ab(c);d=_.vN(_.FUc,d||22);var e=I5c(c);e=_.vN(_.GUc,
e);N$c(a,b,d,e,"undefined"!=typeof _.zN&&c instanceof _.zN||"undefined"!=typeof _.BN&&c instanceof _.BN||"undefined"!=typeof _.CN&&c instanceof _.CN?c.i0:null)},WO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(pO(d).Dc(c),d.Zj(),a.H.delete(b))},XO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(XO,_.gi);var Q$c=[2,4],YO=function(a){_.O(this,a,-1,Q$c,null)};_.L(YO,_.K);YO.prototype.Ab=function(){return _.B(this,1)};YO.prototype.Dc=function(a){return _.A(this,1,a)};
YO.prototype.$j=function(){return _.B(this,3)};var R$c=[4,9],S$c=function(a){_.O(this,a,-1,R$c,null)};_.L(S$c,_.K);_.g=S$c.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.gWa=function(){return _.B(this,2)};_.g.HMa=function(){return _.B(this,3)};_.g.htb=function(){return _.Uj(this,_.ML,4)};var T$c={Z6b:0,B1b:1,E1b:2,C1b:4,m_b:5,zXb:6,t_b:7,R1b:8},U$c=function(a){_.O(this,a,-1,null,null)};_.L(U$c,_.K);U$c.prototype.getUrl=function(){return _.B(this,1)};
var ZO=function(a){_.O(this,a,-1,null,null)};_.L(ZO,_.K);var V$c=function(a,b){return _.A(a,1,b)};ZO.prototype.getName=function(){return _.B(this,2)};ZO.prototype.jd=function(a){return _.A(this,2,a)};ZO.prototype.getEmail=function(){return _.B(this,3)};var W$c=function(a,b){return _.A(a,3,b)};ZO.prototype.xp=function(){return _.P(this,3)};var X$c=[1],Y$c=function(a){_.O(this,a,-1,X$c,null)};_.L(Y$c,_.K);var Z$c=function(a,b){return _.Nj(a,1,b)},$$c=function(a){_.O(this,a,-1,null,null)};_.L($$c,_.K);
_.g=$$c.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.Ab=function(){return _.B(this,2)};_.g.Dc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.C(this,_.kc,3)};_.g.Se=function(a){return _.J(this,3,a)};_.g.Fn=function(){return _.P(this,3)};var aad=[2],$O=function(a){_.O(this,a,-1,aad,null)};_.L($O,_.K);$O.prototype.Ab=function(){return _.B(this,1)};$O.prototype.Dc=function(a){return _.A(this,1,a)};$O.prototype.ll=function(){return _.Uj(this,_.KF,2)};
var bad=function(a,b){return _.Nj(a,2,b)};$O.prototype.$j=function(){return _.B(this,3)};var cad=[1],dad=function(a){_.O(this,a,-1,cad,null)};_.L(dad,_.K);var ead=function(a,b){return _.Kj(a,1,b)},fad=function(a,b){this.O=a|0;this.H=b|0};fad.prototype.equals=function(a){return this===a?!0:a instanceof fad?this.O===a.O&&this.H===a.H:!1};fad.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var gad=function(a,b){return new fad(a,b)},had=function(a,b){b=~b;a?a=~a+1:b+=1;return gad(a,b)},iad=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?had:gad)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},jad=function(){this.H=this.W=this.O=this.V=null},kad=function(a,b,c){this.id=a;this.O=b;this.H=c},lad=function(a,b){return new kad((a?a:b).getId(),a,b)},aP=function(a){return new kad(a.getId(),null,a)},mad=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},bP=function(a,b,c){if(a.started)throw Error("bf");c={Eo: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)}},cP=function(a,b){if(!a.started)throw Error("cf");if(!a.enabled)throw Error("df`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.Eo.delete(b);if(0===e.Eo.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.bM(f):null,f;}}}};mad.prototype.H=function(a){return this.V.has(a)};mad.prototype.start=function(){this.started=!0};mad.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var nad=function(){_.ri.call(this);this.H=Date.now()};_.L(nad,_.ri);nad.prototype.iF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var oad=function(a,b){this.wu=a;this.zw=b;this.iK=!0;this.k8=!1;this.Pe=0},dP=function(a,b){(a.iK=b)||a.zJ()};_.g=oad.prototype;
_.g.bla=function(a,b){if(5===this.yE(a))throw Error("ef");for(var c=[],d=_.m(this.gy()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&c.push(e);this.zw.sort(a,c,b);return c};_.g.Ld=function(){return this.gy().length};_.g.uk=function(a){var b=this.bla(a,void 0);b=w2c(b);var c=new _.QA;c.Qw(b);c.Dc(this.KN(a)?6:1);return c};_.g.update=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(!b&&!c)return!1;b&&this.qJ(a.O);c&&this.tR(a.H);return!0};
_.g.yE=function(a){return this.iK&&this.k8?P9c(a)?1:5:5};_.g.gX=function(){this.k8=!0};_.g.Bs=function(a){return!!a&&this.iK};_.g.kj=function(a){this.Pe=a};_.g.jf=function(){return this.Pe};var eP=function(a,b,c,d,e,f){f=void 0===f?"":f;oad.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=SO(c,d,!0);this.H=!e;pad(this,e);this.V=function(k,l){return h.zw.compare(h.request,k,l)}};_.L(eP,oad);_.g=eP.prototype;_.g.wd=function(){return this.request};
_.g.tR=function(a){var b=this.O[a.getId()];b&&this.qJ(b);s1c(this.Od,a,this.V);this.O[a.getId()]=a;a.count++;this.Od.length>this.request.Mi()&&(this.qJ(_.fa(this.Od)),this.H=!1)};_.g.qJ=function(a){var b=this.Od,c=_.Ha(b,a,this.V);0<=c&&_.ta(b,c);_.Xa(this.O,a.getId());a.count--};_.g.zJ=function(){this.Od.forEach(function(a){a.count--});this.Od=[];this.O={}};_.g.gy=function(){return this.Od};
_.g.yE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=C1c(b,a,_.EVc);return b?this.H?1:6:5};_.g.bla=function(a,b){if(5===this.yE(a))throw Error("ef");b=b?Math.min(b,this.Od.length):this.Od.length;return _.Aa(this.Od,0,b)};_.g.Bs=function(a){if(!oad.prototype.Bs.call(this,a)||!RO(this.wu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.fa(this.Od);return!!b&&0>=this.V(a,b)};_.g.KN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.ol=function(a,b){var c=this,d=_.fa(this.Od);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.qJ(d),pad(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(aP(e))})};var pad=function(a,b){b&&RO(a.wu,a.request,b.getItem())&&a.tR(b)};eP.prototype.my=function(){return this.nextPageToken};var fP=function(a,b){oad.call(this,a,b);this.Od=new Map};_.L(fP,oad);fP.prototype.tR=function(a){this.Od.set(a.getId(),a);a.count++};
fP.prototype.qJ=function(a){this.Od.delete(a.getId());a.count--};fP.prototype.zJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Od=new Map};fP.prototype.gy=function(){return Array.from(this.Od.values())};var qad=function(a,b){fP.call(this,a,b);this.gX()};_.L(qad,fP);_.g=qad.prototype;
_.g.yE=function(a){var b=this,c=fP.prototype.yE.call(this,a);if(5===c)return c;if(0<_.Md(a,33).length)return 5;a=_.Gl(a);return 0<a.length?a.every(function(d){return(d=b.Od.get(d.Ya()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Bs=function(a){return fP.prototype.Bs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.bla=function(a,b){for(var c=[],d=_.m(this.gy()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.wu,a,e.getItem())&&c.push(e);this.zw.sort(a,c,b);return c};_.g.wd=function(){return new _.Ye};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.KN=function(){return!1};var gP=function(a,b,c,d){fP.call(this,a,b);var e=this;this.H=d;bP(c,["aU7Ts","BNEDtc"],function(){return e.gX()})};_.L(gP,fP);gP.prototype.yE=function(a){var b=this,c=fP.prototype.yE.call(this,a);if(5==c)return c;if(0<_.Md(a,33).length)return 5;a=_.Gl(a);return 0<a.length&&!a.every(function(d){d=b.Od.get(d.Ya());return null!=d&&!d.getItem().Bc()&&L1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
gP.prototype.Bs=function(a){return fP.prototype.Bs.call(this,a)&&rad(this,a.getItem())};var rad=function(a,b){if(_.R(b,31)||!a.k8)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Od.get(d);return d==c||null!=e&&L1c(e.getItem())})};gP.prototype.gX=function(){fP.prototype.gX.call(this);for(var a=_.m(this.Od),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;rad(this,c.getItem())||(c.count--,this.Od.delete(b))}};gP.prototype.wd=function(){return new _.Ye};
gP.prototype.getType=function(){return"SubscribedCorpusCache"};gP.prototype.KN=function(){return!1};var sad=/^[\x00-\x7F]*$/,tad=function(){this.rootId=""};tad.prototype.Fu=function(a){this.rootId=a||""};
var P9c=function(a){return uad(a)&&0==_.Md(a,40).length&&void 0==_.B(a,41)},uad=function(a){var b=!0;_.Uj(a,_.af,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.Uj(a,_.Al,5).length&&0==_.Uj(a,_.af,14).length&&0==_.Uj(a,_.af,15).length&&!_.P(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.Uj(a,_.vl,35).length&&0==_.Uj(a,_.vl,38).length&&c&&b&&0==_.Md(a,39).length&&!_.B(a,42)&&0==_.Uj(a,_.ul,44).length&&!_.zM(a)&&!_.AM(a)&&!_.BM(a)&&0==_.Uj(a,_.wl,57).length&&vad(a)&&
!_.C(a,_.xoa,59)&&null==_.R(a,60)&&0==_.Uj(a,_.af,68).length&&0==_.Uj(a,_.af,67).length&&null==_.R(a,69)},vad=function(a){return _.Uj(a,_.Bl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&sad.test(b)})};tad.prototype.e9=function(a,b){var c=this;return b.filter(function(d){return RO(c,a,d)})};
var RO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!QO(c);if(d){d=!0;var e=_.Uj(b,_.Bl,4);if(vad(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Ya()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Ya().toLowerCase();if(2==_.B(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.jd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.cg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Ig(q)+"($|[^\\w])|(^|[ ])"+_.Ig(q)):new RegExp(_.Ig(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Fl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Ya()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Pf())&&_.B(p,3)||""),p=_.S(h,2,!1),r=h.Ya(),_.WM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Gj(h,3,0)?r===q:q.includes(r),p?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Uj(b,_.yl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Bq(),d=d&&wad(k,f);if(d)for(d=!0,e=_.Uj(b,_.yl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.cz(),d=d&&wad(k,f);d&&(d=b.Sh(),e=(e=_.fN(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.hp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.PA());d&&(d=null==b.Dm()||b.Dm()==!!c.Dm());if(d)a:{d=_.Gl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Ya()&&(f="root"==e.Ya()&&a.rootId||e.Ya(),f=c.mk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.Uj(b,_.af,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Ya()&&(e=1==c.hp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.oy():!0));a&&(a=_.R(b,17),d=(d=_.fN(b))&&(2==d||3==d),a=null==a||a==!!c.MI()&&(!a||1==c.hp()||!!d));a&&(a=U1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Wk(a));a&&(a=!0);if(a=a&&xad(b,c)&&yad(b,c))a=_.Md(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&zad(b,c))_.B(b,41)?(a=_.C(c,_.$M,86),a=null!=a&&
_.B(b,41)==_.B(a,3)):a=!0;if(a=a&&Aad(b,c))a=_.fN(b),1==a?(a=_.R(c,31),a=!!_.Gl(b).length||!!_.Uj(b,_.vl,35).length||1==_.R(b,18)||_.zM(b)||_.AM(b)||_.BM(b)||!!b.Pp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.zM(b)?!!_.al(c)&&!c.Sh():!0);a&&(a=_.AM(b)?!!_.bl(c).length&&!c.Sh():!0);a&&(a=_.BM(b)?!!_.cl(c).length&&!c.Sh():!0);a&&(a=_.P(b,50)?_.S(b,50,!1)?_.P(c,101)&&0!==_.B(c,101):!_.P(c,101):!0);a&&(a=b.Pp(),a=!a||_.Md(c,120).includes(a));a&&(c=_.C(c,_.YM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.B(c,
1),a=_.R(b,65)==c));return a},wad=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},xad=function(a,b){var c=_.cb(_.Md(b,56));a=_.Uj(a,_.eN,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},yad=function(a,b){if(0==a.mB().length)return!0;var c=_.cb(b.mB().map(function(d){return _.B(d,1)}));a=_.cb(a.mB().map(function(d){return _.B(d,
1)}));return _.Qa(a,function(d,e){return c[e]})},zad=function(a,b){var c=_.cb(_.Md(b,50));a=_.Uj(a,_.zl,37);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Aad=function(a,b){if(_.Md(a,40).length){if(b=_.C(b,_.$M,86)){var c=_.cb(_.Md(b,2));return _.Md(a,40).some(function(d){return c[d]})}return!1}return!0},hP=function(a,b,c,d){d=void 0===d?5E3:d;fP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(hP,fP);_.g=hP.prototype;
_.g.yE=function(a){var b=this,c=fP.prototype.yE.call(this,a);if(5==c)return c;c=_.Gl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Od.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Md(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Bs=function(a){return fP.prototype.Bs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!QO(a.getItem())};_.g.KN=function(){return!1};_.g.wd=function(){var a=new _.Ye;_.Il(a,[this.teamDriveId]);_.Jl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Bad=function(a,b){this.V=a;this.ka=b;this.W=[];this.ha=this.H=null;this.O=[];a=new _.Ye;_.A(a,48,!0);b=new _.Yc;_.Zc(b,11);_.$c(b,2);_.Ze(a,b);this.ma=SO(this.V,a,!0)};Bad.prototype.add=function(a){a instanceof gP?this.H=a:a instanceof qad?this.ha=a:a instanceof eP?(this.log("Adding new cache hint for "+TO(this.V,a.wd(),2)),this.W.push(a)):a instanceof hP&&this.O.push(a)};
Bad.prototype.remove=function(a){var b=this;if(a instanceof gP)this.H&&(dP(this.H,!1),this.H=null);else if(a instanceof qad)this.ha&&(dP(this.ha,!1),this.ha=null);else if(a instanceof eP){var c=_.ja(this.W,function(d){return b.V.equals(d.wd(),a.wd())});0<=c&&(dP(this.W[c],!1),_.ta(this.W,c))}else a instanceof hP&&(c=_.ja(this.O,function(d){return b.V.equals(d.wd(),a.wd())}),0<=c&&(dP(this.O[c],!1),_.ta(this.O,c)))};
var Cad=function(a){var b=[];a.H&&b.push(a.H);a.ha&&b.push(a.ha);_.za(b,_.ya(a.W));_.za(b,_.ya(a.O));return b},Dad=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=c.wd().clone(),_.Lj(c,32),_.Oj(c,26),!_.ak(a.ma,c)):!0})};Bad.prototype.dW=function(){return _.ya(this.O)};var Ead=function(a,b){return _.ag(a.O,function(c){return c.Bc()===b})},Fad=function(a,b){return Dad(a).find(function(c){return a.V.equals(c.wd(),SO(a.V,b,!0))})};
Bad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var Gad=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L(Gad,_.gi);Gad.prototype.getError=function(){return this.error};Gad.prototype.H=function(){return this.ids};var Had=function(a){_.gi.call(this,"Jb");this.people=a};_.L(Had,_.gi);Had.prototype.getPeople=function(){return this.people};var Iad=function(a){_.gi.call(this,"Kb");this.people=a};_.L(Iad,_.gi);
Iad.prototype.getPeople=function(){return this.people};var Kad=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Pe=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);Jad(this)};Kad.prototype.jf=function(){return this.Pe};
var Lad=function(a){return 0===a.Pe?1:2===a.Pe||(1===a.Pe||4===a.Pe)&&(a.person.xp()||a.O)?3:2},Mad=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=Lad(a),e=a.jf();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=W$c(b.clone(),a.getEmail(b)),e=!_.ak(a.person,b),a.person=b,a.Pe=c,Jad(a),e||d!==Lad(a);if(4===c)return a.Pe=c,Jad(a),d!==Lad(a);c=b;return!a.person.getEmail()&&c.getEmail()?(W$c(a.person,a.getEmail(b)),!0):!1};
Kad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var Jad=function(a){1===a.Pe?(a.W=Date.now(),a.V=null):4===a.Pe&&(a.V=Date.now())},Oad=function(a,b,c,d){_.ri.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.uL(function(){return Nad(e)},100,this)};_.L(Oad,_.ri);Oad.prototype.Yg=function(a){a&&_.IL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ve())};
var Nad=function(a){a.ha.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};Oad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Te;var e=new _.HM;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Uj(c,ZO,1);b.dispatchEvent(new Had(c))},function(c){c=_.$A(c);b.dispatchEvent(new Gad(a,c))})};
Oad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var Rad=function(a,b,c,d,e){_.ri.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.ka=b;this.ha=d;this.oa=_.bk(_.C(a,C4c,85)||new C4c,1,864E5);this.W=new Oad(a,b,c,e);this.ma=new _.AD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:J5c(h,106015);if(k){h=_.C(_.uN(k),i5c,11);if(!h){h=new i5c;var l=_.uN(k);_.J(l,11,h)}h=_.A(h,1,f.H.size);_.A(h,2,f.O.size);k.Zj()}},500,this);this.Mc.listen(this.W,"Jb",function(h){h=h.getPeople();Pad(f,
h,1);f.ma.ve()});this.Mc.listen(this.W,"Ib",function(h){Qad(f,h)})};_.L(Rad,_.ri);Rad.prototype.get=function(a){var b=this.H.get(a);return b?(Sad(this,b)&&Tad(this,a),b):null};var Tad=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.Yg(b);var c=new _.yn;a.V.set(b,c);return c.promise};Rad.prototype.Tb=function(a){var b=this;return Uad(this,a)?Promise.resolve(this.H.get(a)):Tad(this,a).then(function(){return b.H.get(a)})};
Rad.prototype.wc=function(){return 0===this.H.size};Rad.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var Vad=function(a){return[].concat(_.jd(a.H.values())).filter(function(b){return 3===Lad(b)&&4!==b.jf()}).map(function(b){return b.person.clone()})},Wad=function(a,b){return(a=a.H.get(b))?[].concat(_.jd(a.H)):[]},Xad=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)))}},Pad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(T$c)[c]+".")),Yad(a,b,c))},$ad=function(a,b,c,d){0!==b.length&&Zad(a,b,c,void 0===d?0:d)},Uad=function(a,b){b=a.H.get(b);return!(!b||3!==Lad(b)||Sad(a,b))},Zad=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)Mad(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&&Tad(k,_.B(f,1));l=new Kad(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},Sad=function(a,
b){switch(b.jf()){case 1:return Date.now()-Number(b.W)>a.oa;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};Rad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var Qad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():V$c(new ZO,c)});Yad(a,b,4)},Yad=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))}Zad(a,b,void 0,c)&&a.dispatchEvent(new Iad(b))},abd=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.H=new Rad(a,b,c,e,f);this.O=_.SL(a)||new _.SUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(abd,_.ri);abd.prototype.gP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=bbd(this,[c]).map(function(e){return cbd(b,e)});$ad(this.H,d,a.H.getId(),this.jf(_.B(c,82)))}a.O&&Xad(this.H,a.id,dbd(this,a))};abd.prototype.jf=function(a){return _.lVc.get(a)||0};
var dbd=function(a,b){var c=ebd(a,b.O),d=ebd(a,b.H);return c.filter(function(e){return!d.includes(e)})},ebd=function(a,b){return b?fbd(a,[b.getItem()]):[]},hbd=function(a,b){b=b.getUser();$ad(a.H,[cbd(a,b)],"ACCOUNT");gbd(a,b)},jbd=function(a,b){var c=_.Uj(b,_.lN,2).map(function(d){var e=_.C(d,_.Fk,9,1);return a.H.Tb(_.VF(e)).then(function(){return void ibd(a,[e])})});return Promise.all(c).then(function(){return b})},ibd=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.VF(c)&&
gbd(a,c)},kbd=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.VF(f)&&(d.add(_.VF(f)),$ad(a.H,[cbd(a,f)],c));return Promise.all([].concat(_.jd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return ibd(a,b)})},mbd=function(a,b){return fbd(a,[b]).some(function(c){return!lbd(a,c)})},lbd=function(a,b){return Uad(a.H,b)},fbd=function(a,b){var c=new Set;a=bbd(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.VF(b.value))&&c.add(b);return[].concat(_.jd(c))},
bbd=function(a,b){return b.map(function(c){var d=c.Vw();d=d?[].concat(_.jd(d.gR()),_.jd(_.Uj(d,_.Fk,3))):[];var e=c.Pf();e=(e=e&&_.Qd(e))?bbd(a,[e]):[];return[].concat(_.jd(_.Zk(c)),[c.zm(),c.Rv(),c.Mq(),c.gD()],_.jd(d),_.jd(e))}).flat().filter(function(c){return c&&!!_.VF(c)})};abd.prototype.Gd=function(a){return Wad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var nbd=function(a,b){return b.map(function(c){c=c.clone();var d=bbd(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Lj(e,3),_.Lj(e,8),_.Lj(e,5);return c})},pbd=function(a,b){return b.some(function(c){return obd(a,c)})},obd=function(a,b){return bbd(a,[b]).some(function(c){return _.P(c,3)||c.xp()||_.P(c,5)})},gbd=function(a,b){var c=a.H.get(_.VF(b));if(c){a=c.person.clone();var d=_.rWc(b.jd(a.getName()),a.getEmail());c=Lad(c);_.A(d,16,c);(a=_.C(a,U$c,4))&&b.jo(a.getUrl())}},cbd=function(a,
b){var c=_.VF(b);c=W$c(V$c(new ZO,c).jd(b.getName()),b.getEmail());var d=new U$c;var e=_.B(b,5);d=_.A(d,1,e);c=_.J(c,4,d);_.S(a.O,9,!1)&&(_.Lj(b,3),_.Lj(b,8),_.Lj(b,5));return c},qbd=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};qbd.prototype.Vf=function(){return this.suggestionSessionId};qbd.prototype.CAa=function(){return this.O};qbd.prototype.wc=function(){return this.H};
var rbd=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},sbd=function(a,b){a=rbd(a);b=rbd(b);return!(!a||!b||a!==b)},tbd=function(a){return a.Cc()+"_"+rbd(a.getName())},ubd=function(a,b){var c=_.Md(a,1).map(function(d,e){return b[Number(e)].value.b4a.promise});return Promise.allSettled(c).then(function(d){return _.Md(a,1).map(function(e,f){e=e.toString();var h=new $$c;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Se(f.reason.Pg));return e})})},iP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.yy=new Set;this.status=6;this.V=new Map;this.Pe=0};_.L(iP,_.N);_.g=iP.prototype;_.g.ai=function(a){var b=this;this.yy.add(a);return this.resize().then(function(){return b.vO(a)})};_.g.ik=function(a){this.yy.delete(a);0===this.yy.size&&this.dispose()};_.g.jf=function(){return this.Pe};_.g.kj=function(a){this.Pe=a};
_.g.nD=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.PX():_.Ph([])};_.g.PX=function(){for(var a=[],b=_.m(this.yy.values()),c=b.next();!c.done;c=b.next())a.push(this.vO(c.value));return _.Sh(a)};
_.g.OX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={rra:c.rra},e=d.next())c.rra=e.value,b.push(this.O.then(function(f){return function(h){return void h.OX(f.rra,a)}}(c)));return _.Sh(b)};_.g.jA=function(){for(var a=this,b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={sra:c.sra},e=d.next())c.sra=e.value,b.push(this.O.then(function(f){return function(h){return void h.jA(f.sra)}}(c)));return _.Sh(b).then(function(){a.kj(0===a.jf()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.yy.forEach(function(d){d=b.Pka(d);c=Math.max(c,d.Mi?d.Mi()||0:0)});a.Jfa(c)})};var vbd=function(a,b){return b?a.V.get(a.uka(b))||null:null};_.g=iP.prototype;_.g.bI=function(a,b){var c=vbd(this,a);b=z9c(c,b);this.V.set(this.uka(a),b)};_.g.uka=function(a){return a};_.g.IMa=function(){return[]};_.g.vO=function(a){var b=this;return this.O.then(function(c){return void c.vO(a,b.uk())})};_.g.removeItem=function(){};
var jP=function(a,b){_.ri.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(jP,_.ri);var wbd=function(a){return!a.O||""!==a.pageToken};jP.prototype.Yg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&wbd(this)?xbd(this):_.Ph()};
var xbd=function(a){a.O=!0;a.H=!0;var b=a.via(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return ybd(a,c)},function(c){return a.handleError(c)})},ybd=function(a,b){a.H=!1;a.pageToken=a.Jka(b);b=a.Wja(b);b.forEach(function(c){return a.data.push(c)});a.m6(b);return a.data.length<a.limit&&wbd(a)?_.Sh([_.Ph(b),xbd(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
jP.prototype.handleError=function(a){this.H=!1;a=_.QL(a);var b=new XO(a);this.JMa(b);this.dispatchEvent(b);return _.Rh(a)};jP.prototype.m6=function(){};jP.prototype.JMa=function(){};var zbd=function(a,b,c){jP.call(this,c,function(d){return a.then(function(e){return e.Te(d)}).Gg(function(e){return void _.cM(e)})});this.V=b};_.L(zbd,jP);_.g=zbd.prototype;_.g.via=function(a,b,c){a=a.clone();a.xi(b);return new _.RVc(a,c)};_.g.Jka=function(a){return a.pageToken||""};_.g.Wja=function(a){return a.response.O()};
_.g.m6=function(a){this.V.nD(a,!1,1)};_.g.JMa=function(a){this.V.oB(this.request,a)};var Abd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Abd,iP);_.g=Abd.prototype;_.g.refresh=function(){this.jA();this.H=new zbd(this.ha,this.W,this.request);return this.H.Yg(this.request.Mi()||100)};_.g.Jq=function(a){return this.data.find(function(b){return sbd(b.getName(),a)})};
_.g.Jfa=function(a){this.H&&a===this.request.Mi()||(this.request.xi(a),this.H?this.H.Yg(a):this.refresh())};_.g.uk=function(){var a=this,b=i7c((new zO).Dc(this.status),this.data.filter(function(c){return a.W.sDa(c)}).map(function(c){return c.clone()}));return new _.AN(b,void 0,void 0,this.jf())};_.g.nD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Cc()===d.request.Cc()});return iP.prototype.nD.call(this,a,b,c)};
_.g.Ju=function(a,b){b=void 0===b?1:b;if(!S1c(vbd(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return sbd(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.bI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return sbd(b.getName(),a)})&&(this.V.delete(this.uka(a)),this.PX())};_.g.uka=function(a){return rbd(a)};_.g.bI=function(a,b){this.Jq(a)&&iP.prototype.bI.call(this,a,b)};
_.g.IMa=function(a){var b=this;return a instanceof _.NM&&a.Cc()===this.request.Cc()?a.JV().map(function(c){return b.Jq(c.an())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var kP=function(){this.H=new Map};kP.prototype.ai=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.xia(b),this.H.set(c,d));d.ai(a);return e};var Bbd=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.rxa(c),a.H.set(d,e));e.ai(b);return f};
kP.prototype.ik=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.ik(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Cbd=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ik(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Dbd=function(a,b){return a.H.get(b)};kP.prototype.nD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.sDa(f)});this.H.forEach(function(f){f.nD(e,b,c)})};kP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Ebd=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.IMa(b)});return[].concat.apply([],_.jd(a))};kP.prototype.bI=function(a,b){this.H.forEach(function(c){c.bI(a,b)})};kP.prototype.sDa=function(){return!0};kP.prototype.oB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.OX(b)};kP.prototype.T2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.xia(b),f.kj(c),this.H.set(e,f),this.nD(a,d))};var Fbd=function(){this.V=new Set;this.O=0;this.H=[]},Gbd=function(a,b){a.V.add(b)};
Fbd.prototype.W=function(a){this.V.delete(a)};var Hbd=function(a,b){var c;if(c=b instanceof _.Yk)c=b.Sv(),c=!!(b.Sh()&&c&&c<=Math.max.apply(Math,_.jd([a.O].concat(_.jd(a.H)))));if(c)return!0;b=b instanceof _.Yk?b.getId():b;return a.V.has(b)},Ibd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Fbd.prototype.e9=function(a){var b=this;return a.filter(function(c){return!Hbd(b,c)})};var Jbd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Fbd};_.L(Jbd,kP);
var Kbd=function(a,b){Gbd(a.O,tbd(b));(a=Dbd(a,b.Cc()))&&a.PX()};_.g=Jbd.prototype;_.g.getKey=function(a){return a.Cc()};_.g.xia=function(a){return new Abd(this.V,this.W,this,a)};_.g.rxa=function(a){return new Abd(this.V,this.W,this,a)};_.g.So=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Dbd(this,b.getId()))&&b.refresh()};_.g.sDa=function(a){return!Hbd(this.O,tbd(a))};
var Lbd=function(a,b){this.O=a;this.H=b},Mbd=function(a,b){b=_.HUb(b);var c=new zbd(a.O,a.H,b);new Promise(function(d,e){return c.Yg(100).then(d,e)})},Nbd=function(){this.Od={}},lP=function(a,b){Obd(a,"subscribed");b&&Obd(a,b);return a.Od[b||"subscribed"].le.promise},Obd=function(a,b){a.Od[b]||(a.Od[b]={count:0,zR:[],f2a:[],le:_.Th()});a.Od[b].count++},Qbd=function(a,b){b&&!Pbd(a,b)||Pbd(a,"subscribed")},Pbd=function(a,b){if(!a.Od[b])return!1;a.Od[b].count--;0===a.Od[b].count&&(a.Od[b].le.resolve({items:a.Od[b].zR,
sLb:a.Od[b].f2a}),_.Xa(a.Od,b));return!0};Nbd.prototype.So=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Cc()&&c.Od[f]&&c.Od[f].f2a.push(e);c.Od[d]&&c.Od[d].zR.push(e)})};var Rbd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(Rbd,jP);Rbd.prototype.via=function(a,b){return a.clone().xi(b)};Rbd.prototype.Jka=function(){return""};Rbd.prototype.Wja=function(a){return[a]};Rbd.prototype.m6=function(a){this.V(a)};
var Sbd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.H=this.WS=null;this.W=c};_.L(Sbd,iP);Sbd.prototype.refresh=function(){var a=this;this.jA();this.H=new Rbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};Sbd.prototype.Jfa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.xi(a),this.H?this.H.Yg(a):this.refresh())};
Sbd.prototype.uk=function(){if(this.WS)return this.WS;var a=new KO;a.Dc(this.status);return a};Sbd.prototype.Ju=function(a){this.WS=a;return!0};var Tbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(Tbd,kP);_.g=Tbd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.xia=function(a){var b=this;return new Sbd(this.O,this.W,function(c){b.nD(c,!1)},a)};_.g.rxa=function(){throw Error("gf");};
_.g.T2=function(a,b,c,d){var e=a[0].ll();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.kq()}).join(", "));kP.prototype.T2.call(this,a,b,c,d)};var mP=function(a,b,c,d){_.ri.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.le=null;this.O=new Set};_.L(mP,_.ri);
mP.prototype.Yg=function(){var a=this;if(this.le)return this.le.promise;this.le=_.Th();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Te(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.le.promise};mP.prototype.va=function(a,b){this.V(b);Ubd(this,a)};var Ubd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.le.resolve()):a.dispatchEvent("Cb")};
mP.prototype.handleError=function(a,b){b=_.$A(b);var c=b.Pg;5===c.ht()||4===c.nk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Ubd(this,a)):(a=new XO(c,_.bk(this.oa.$f(),1,1)),this.dispatchEvent(a),this.le.reject(b))};var Vbd=function(a){var b=new _.KF;b.Pb(a);return b},Wbd=function(a,b,c,d,e){mP.call(this,a.clone(),c,d,e);this.H=b};_.L(Wbd,mP);
Wbd.prototype.W=function(a){var b=new Map;a.hn().forEach(function(c){var d=_.LTb(a.clone(),[c]);b.set(c,d)});return b};Wbd.prototype.V=function(a){var b=[];a.RT().forEach(function(c){b.push(c)});this.H(b,!0)};Wbd.prototype.ha=function(){this.H([],!1)};Wbd.prototype.ka=function(a){this.H([Vbd(a)],!0)};var Xbd=function(a,b,c,d,e,f){iP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Yk={};this.H=null};_.L(Xbd,iP);
Xbd.prototype.refresh=function(){this.H=new Wbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Yg()};Xbd.prototype.Jfa=function(){this.H||this.refresh()};Xbd.prototype.uk=function(){var a=new _.yN;a.Dc(this.status);_.Ma(this.Yk,function(b,c){a.RT().set(c,b||new _.KF)});a.kj(this.jf());return a};Xbd.prototype.Ju=function(a){var b=a.getId();if(_.ak(a,Vbd(a.getId()))){if(this.Yk[b])return delete this.Yk[b],!0}else if(0<=this.request.hn().indexOf(b))return this.Yk[b]=a,!0;return!1};
var Ybd=function(a,b){a=a.getState();return null==a||b.getState()==a},Zbd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(Zbd,jP);Zbd.prototype.via=function(a,b,c){a=a.clone();a.xi(b);return new _.dWc(a,c)};Zbd.prototype.Jka=function(a){return a.pageToken||""};Zbd.prototype.Wja=function(a){return a.response.ll()};Zbd.prototype.m6=function(a){this.V(a)};var $bd=function(a){this.H=_.iSc(a,{numeric:!0})};
$bd.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};$bd.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 acd=function(a,b,c,d,e){iP.call(this,a,e.clone());this.ha=b;this.Yk=[];this.H=null;this.W=d;a=new $bd(c);b=(c=this.request.qw())?c.getType():0;c=c?c.zf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(acd,iP);acd.prototype.refresh=function(){var a=this;this.jA();this.H=new Zbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};acd.prototype.Jfa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.xi(a),this.H?this.H.Yg(a):this.refresh())};acd.prototype.uk=function(){var a=new $O;a.Dc(this.status);bad(a,this.Yk.map(function(b){return b.clone()}));return new _.DN(a,void 0,1!==this.status&&wbd(this.H),this.jf())};
acd.prototype.Ju=function(a){var b=_.wa(this.Yk,function(c){return c.getId()===a.getId()});return a&&Ybd(this.request,a)&&!_.ak(a,Vbd(a.getId()))?s1c(this.Yk,a,this.ka):b};var bcd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(bcd,kP);_.g=bcd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.xia=function(a){var b=this;return new acd(this.V,this.ha,mO(_.DL(this.O)),function(c){return void b.nD(c,!1)},a)};_.g.rxa=function(a){var b=this;return new Xbd(this.V,this.ha,this.O,this.W,function(c,d){return b.nD(c,d)},a)};_.g.T2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));kP.prototype.T2.call(this,a,b,c,d)};
var ccd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();$N(a)&&(c=(c=a.Pf())?_.B(c,3):"");aO(a)&&(a.Ti()&&(c+="+"+String(a.Ti())),a.Gj()&&(c+="+shared"));return _.fTa(c,b?"32":"16")},dcd=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("&")},ecd=function(a,b){var c=_.R(a,44),d=a.Pf();if(d){if(1!==_.Sd(d))return null;c=(c=_.Qd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();$N(a)&&(d=K1c(a));
d=[_.E(b,65,"https://lh3.google.com"),"u",_.RL(_.DL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.el(a));return d=dcd(d,c)},fcd=function(a){this.H=a},hcd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=ccd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.ZWc(b,y2c(b,a.H));c.includes(19)&&(d=ecd(b,a.H),_.A(b,20,d));gcd(a,b,c);if($N(b)){if(d=(d=b.Pf())&&_.Qd(d)){if(c.includes(20)&&c.includes(3)){var e=ccd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.ZWc(d,y2c(d,
a.H));c.includes(19)&&(e=ecd(d,a.H),_.A(d,20,e));gcd(a,d,c)}_.cXc(b,!!b.Px())}},gcd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!aO(b)&&!$N(b)&&!_.zd(e)&&(!b.f7()||2!==b.hp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),$N(b)&&(d=K1c(b)),c=new _.bj(_.E(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.RL(_.DL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.ij(c,"resourcekey",_.el(b)),_.A(b,41,c.toString())))}},icd=function(a,b){this.Fia="";
this.startTime=b||new Date;this.dea=a;this.Z$=u1c(a)};icd.prototype.clone=function(){return new icd(this.dea,this.startTime)};var jcd=function(){this.H=null;this.IY=[]},kcd=function(a){return _.We(a.IY,function(b){return _.$a(b)})};jcd.prototype.qN=function(){return this.H};
jcd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new jad;e.V=iad(d.Z$);var f=_.Mg().substring(0,8);d=u1c(f);f=(new J$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).yi(c);this.IY.push(b);e.O=iad(d);e.H=gad(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;h3c(k,f);h3c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.hk(d,2,1),k=d.O,h3c(k,f),h3c(k,h));f=e.W;null!=f&&(_.hk(d,3,5),h3c(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.hk(d,4,1),h=d.O,h3c(h,f),h3c(h,e));e=_.ok(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var lcd=function(){this.Cb=[];this.O=this.H=0};lcd.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Cb,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.O=c};
var mcd=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Cb,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.O=e},ncd=function(a){this.key=a;this.H=new _.iVc;this.O=new _.gVc(new _.iVc,_.oma(a))};ncd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.pma(b);c=ocd(this,a);return b.concat(c,pcd(this,b,a,!0))};
var qcd=function(a,b){var c=pcd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=ocd(a,c);if(b!==a)throw Error("hf");return c},ocd=function(a,b){a=_.hVc(a.O,_.AVc(b));return _.pma(a)},pcd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new lcd;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Cb,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.AVc(c.substring(8192*
e,8192*(e+1))),mcd(b,a),d+=_.pma(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;mcd(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("jf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=rcd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=rcd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=rcd(d,e++),k=rcd(d,e++),l=rcd(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=rcd(d,e++),k=rcd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},rcd=function(a,b){return a[Math.floor(b/8192)][b%8192]},scd=function(a,b,c){this.data=a;this.OZa=b;this.H=c;this.isEncrypted=!1};scd.prototype.getData=function(){return this.data};
scd.prototype.Om=function(){return this.OZa};var tcd=function(a,b,c,d){this.O=a;this.H=_.Th();this.zp=!1;this.V=_.E(b,7,"");this.W=_.bk(_.nO(b),6,2E7);this.BG=_.IL(b);this.ha=_.bk(_.nO(b),12,0);this.ka=c;this.Cd=d||null};tcd.prototype.initialize=function(){var a=this;this.zp||(this.zp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
tcd.prototype.VC=function(a){if(a instanceof _.ZA)return 0;if(a instanceof YO)return 1;if(a instanceof $5c)return 5;if(a instanceof MO)return 3;if(a instanceof Y$c)return 6;throw new _.lc("Unsupported dataShard in getDataType");};var ucd=function(a){if(0==a)return _.ZA;if(1==a)return YO;if(5==a)return $5c;if(3==a)return MO;if(6==a)return Y$c;throw new _.lc("Unsupported dataType:"+a+" in getDataTypeCtor");};tcd.prototype.wo=function(a){if(a instanceof MO)return a.wo()};
tcd.prototype.Om=function(a){if(a instanceof MO)return a.Fd().length};
var zcd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.VC(c[0]);c.forEach(function(){});var f=a.wo(c[0]),h=0;3==e&&vcd(a,c);var k=!!b;return wcd(a,c).then(function(l){if(k){var p=a.Cd?a.Cd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Om()},0);var q=xcd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.Rh(Error("kf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(n5c(m5c(l5c(p.QE(),_.vN(_.MUc,e)),_.vN(_.JUc,f)),!0),
q.then(function(){var r=h;k5c(p.QE(),!0).Dt(r);p.Zj()},function(){var r=h;k5c(p.QE(),!1).Dt(r);p.Zj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return ycd(a.O,l,e,f,k,d)})})},wcd=function(a,b){return new _.Oh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.kc();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Om(l);l instanceof MO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new scd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.kc;_.OL(k,2);_.$L(k,23);
_.A(k,21,h.message);_.bq(k);a.ka(k);d(h)}c(f)})},vcd=function(a,b){a.wo(b[0]);b.forEach(function(){});a.BG||Acd(b);Bcd(a,b)},nP=function(a,b,c,d,e,f){var h=_.Th(),k;_.Uh(a.H.promise.then(function(){return Ccd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.Vh;if(l[0]&&l[0].V0){if(k=a.Cd?a.Cd.H(106022,f):null)n5c(m5c(l5c(k.QE(),_.vN(_.MUc,c)),_.vN(_.JUc,d)),!0),q.xn().then(function(r){var u=k;r=void 0!=r;k5c(u.QE(),r);_.DYc(u)});Dcd(a,q,b,p)}else q.callback(p);return q.then()},
function(){}).then(function(l){var p=[];if(l){var q=0;l.forEach(function(r){r=new (ucd(c))(JSON.parse(r));q+=a.Om(r);p.push(r)});3==c&&(a.BG||Ecd(p),Fcd(p));k&&k.QE().Dt(q)}h.resolve(p)}),function(){k&&k.Zj()}).Gg(h.reject,h);return h.promise},Acd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Uj(a[b],_.Fk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Fd()||[]).forEach(function(h){_.XWc(h,Gcd(_.Zk(h),c,d));_.YWc(h,Gcd([h.zm()],c,d)[0]);var k=Gcd([h.Rv()],c,d)[0];_.J(h,
47,k);k=Gcd([h.Mq()],c,d)[0];_.J(h,91,k);k=Gcd([h.gD()],c,d)[0];_.J(h,95,k);if(h=h.Vw())_.TWc(h,Gcd(h.gR(),c,d)),_.UWc(h,Gcd(_.Uj(h,_.Fk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Nj(a[0],2,e)}},Gcd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.ak(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Fk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},Ecd=function(a){var b=new Map,c=new Map;a[0]&&_.Uj(a[0],
_.Fk,2)&&_.Uj(a[0],_.Fk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Fk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Fd()||[]).forEach(function(e){_.XWc(e,Hcd(_.Zk(e),b,c));_.YWc(e,Hcd([e.zm()],b,c)[0]);var f=Hcd([e.Rv()],b,c)[0];_.J(e,47,f);f=Hcd([e.Mq()],b,c)[0];_.J(e,91,f);f=Hcd([e.gD()],b,c)[0];_.J(e,95,f);if(e=e.Vw())_.TWc(e,Hcd(e.gR(),b,c)),_.UWc(e,Hcd(_.Uj(e,_.Fk,3),b,c))});_.Oj(d,2)})},Hcd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.ak(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Bcd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].wo()){for(var d=[],e=b[c].Fd();e.length>a;){var f=_.Ba(e,a-1,a);f=k9c(new MO,f);d.push(f)}k9c(b[c],e);d.length&&_.wb(_.Ba,b,c+1,0).apply(null,d)}}},Fcd=function(a){for(var b={},c=1;c<a.length;b={Eea:b.Eea},c++)if(!a[c].wo()){for(var d=0,e=c;e<a.length&&!a[e].wo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.Eea=e.Fd();d.forEach(function(f){return function(h){_.za(f.Eea,
h.Fd())}}(b));k9c(e,b.Eea)}},xcd=function(a,b,c){if(!_.RUc()&&a.V){var d=new Worker(_.zga(_.by(a.V)),void 0),e=new _.Vh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Pd(Error(String(k)))},!1);c=ead(new dad,c);d.postMessage({command:"encrypt",data:{request:c.kc(),key:b}});return e}try{a=[];var f=new ncd(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Zh(a)}catch(k){h=_.ai(k)}return h},Dcd=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(!_.RUc()&&a.V){var f=new Worker(_.zga(_.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 ncd(c);for(c=0;c<d.length;c++)a.push(qcd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Icd=function(a,b,c){return[a.Qz(),
a.clientId,b?"#":oP(a)].join(":")+":"+(c||"")},Jcd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Jcd.prototype.getKey=function(){return this.key};Jcd.prototype.Ya=function(){return this.value};
var Kcd=function(a,b){a=Icd(a,b);return O8c(a+"A",a+"z")},Lcd=function(a,b){this.H=a;this.O=b},Mcd=function(a){return a?new Lcd(a.versionKey,a.versionChangeTimestamp):null},Ncd=function(a,b){return a+":"+b},Ocd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.V0=void 0===e?null:e},Pcd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.V0}},Qcd=function(a,b,c,d){a=oP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.tt(":%02d",c)},Rcd=function(a,b,
c,d){c=Qcd(a,b,void 0===c?0:c,d);a=oP(a)+"_"+b;3===b&&(a+="_"+d);return O8c(c,a+":a")},Scd=function(a){var b=oP(a)+"_";a=oP(a)+"_A";return O8c(b,a)},Tcd=function(a){return a?new Ocd(a.data,a.index,a.size,a.timestamp,a.e):null},Ucd=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.ya(e);_.Ia(this.fields);_.Fa(this.fields);this.H=f};Ucd.prototype.Qz=function(){return this.userId};
Ucd.prototype.Lg=function(){return _.ya(this.fields)};
var oP=function(a){if(!a.O){var b=new _.vL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.DSc(b.digest())}return a.O},Vcd=function(a){return{versionKey:oP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},Wcd=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 Ucd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:oP(a)!==d&&(a=null);return a},pP=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Cd=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Oa=a.then(function(f){e.version=f});this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(pP,_.N);pP.prototype.initialize=function(){return Xcd(this)};
var Xcd=function(a,b){a.V||(a.V=_.Th(),a.Oa.then(function(){b?(a.va=!1,Ycd(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)"),_.uTc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Tf(a.Ja.bind(a),a.oa.bind(a)),_.wi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.lc("Database version error",void 0,_.HL(c)?c:void 0))}));return a.V.promise},Ycd=function(a,b){a.H=b;a.Jb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Jb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};pP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.tXc(b,c)});_.Ma(_.YL,function(c){var d=_.mVc.get(c);_.rTc(b,c,d?{keyPath:d}:void 0)})};
pP.prototype.oa=function(a){var b;a&&a instanceof _.yL&&"InvalidStateError"==a.getName()&&_.rj.Pw?b=Error("mf"):_.HL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);Zcd(this,!1)};pP.prototype.Ja=function(a){this.ka?a.dispose():(Ycd(this,a),this.Ma(this.H),this.readOnly||$cd(this).Gg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),Zcd(this,!0))};
var Zcd=function(a,b){if(a.ma){var c=a.ma,d=_.C(_.uN(c),f5c,5);d||(d=new f5c,c=_.uN(c),_.J(c,5,d));d=_.A(d,1,2);c=a.Di().W;d=_.A(d,2,c);c=a.Di().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Di().ma;_.A(b,6,d);a.ma.Zj();a.ma=null}};pP.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};pP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};pP.prototype.Jf=function(){return this.ka};
var add=function(a){return a.ka?a.O:null};pP.prototype.Di=function(){return this.version};
var qP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.sTc(a,[b],c)}catch(d){return null}},$cd=function(a){var b=_.YL.K_,c=qP(a,b,"readwrite");if(!c)return _.Rh(Error("of"));c.objectStore(b).put(Vcd(a.Di()));return c.wait().then(function(){})},bdd=function(a){if(!a.H)return _.Rh(Error("pf"));if(a.Jf())return _.Rh(Error(a.O));var b=_.YL.K_,c=qP(a,b,"readwrite");return c?c.objectStore(b).remove(oP(a.Di())).then():_.Rh(Error("qf"))},cdd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Tcd(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("rf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("sf")),0;var e=d[0].size;if(!e)return b.reject(Error("tf")),0;if(e>d.length)return b.reject(Error("uf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("vf`"+e)),0;if(c&&a<c)return b.reject(Error("wf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},Ccd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Rh(Error("xf"));if(a.Jf())return _.Rh(Error(a.O));var e=Rcd(a.Di(),b,0,c),f=_.YL.Z5,h=qP(a,f);if(!h)return _.Rh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Th();e.Tf(function(l){l=cdd(l,k,d);a.readOnly||null==l||ddd(a,b,c,l).Gg(function(){})},k.reject);return k.promise},ycd=function(a,b,c,d,e,f){if(a.H){if(a.Jf())return _.Rh(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.Rh(Error("zf"))}else return _.Rh(Error("Af"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:Qcd(a.Di(),c,u,d),data:new Ocd(r.getData(),u,k,h,e),metadata:r}});var l=_.YL.Z5,p=qP(a,l,"readwrite");if(!p)return _.Rh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=edd(a,c,d,r.metadata,f);q.put(Pcd(r.data),r.key).then(function(){u&&(k5c(u.QE(),!0),u.Zj())},function(y){var z=y instanceof _.yL?y.code:_.USc;u&&a.W&&(y=k5c(u.QE(),!1),z=_.vN(_.NUc,z),_.A(y,2,z),u.Zj())})});return p.wait().then(function(){})},edd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=m5c(l5c(a.QE(),_.vN(_.MUc,b)),_.vN(_.JUc,c)),f=f.wo(d.H),f=_.A(b,5,f),n5c(f,d.isEncrypted),void 0!=d.Om()&&a.QE().Dt(d.Om());return a}return null},ddd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Jf())return _.Rh(Error(a.O));if(3==b&&void 0==c)return _.Rh(Error("Cf"))}else return _.Rh(Error("Df"));b=Rcd(a.Di(),b,d,c);c=_.YL.Z5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},fdd=
function(a){if(!a.H)return _.Rh(Error("Ff"));if(a.Jf())return _.Rh(Error(a.O));var b=Scd(a.Di()),c=_.YL.Z5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
pP.prototype.getMetadata=function(a){if(this.H){if(this.Jf())return _.Rh(Error(this.O));if(a&&0==a.length)return _.Rh(Error("Hf"))}else return _.Rh(Error("If"));var b=this.Di(),c=_.YL.j7,d=qP(this,c);if(!d)return _.Rh(Error("Jf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(Icd(b,k.global,k.key)).then())});a=_.Sh(f)}else a=_.Sh([e.getAll(Kcd(b,!1)).then(),e.getAll(Kcd(b,!0)).then()]).then(function(k){return r1c(k[0],k[1])});var h=_.Th();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==oP(b)||p[0]!==b.Qz()||p[1]!==String(b.clientId)?null:new Jcd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var gdd=function(a,b){if(a.H){if(a.Jf())return _.Rh(Error(a.O));if(0==b.length)return _.Rh(Error("Kf"))}else return _.Rh(Error("Lf"));var c=_.YL.j7,d=qP(a,c,"readwrite");if(!d)return _.Rh(Error("Mf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Di();h={k:Icd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Sh(f).then(function(){})},hdd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Jf())return _.Rh(Error(a.O))}else return _.Rh(Error("Of"));var c=a.Di(),
d=_.YL.j7;a=qP(a,d,"readwrite");if(!a)return _.Rh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(Kcd(c,!1)).then());b&&a.push(d.remove(Kcd(c,!0)).then());return _.Sh(a).then(function(){})},idd=function(a){if(!a.H)return _.Rh(Error("Qf"));if(a.Jf())return _.Rh(Error(a.O));var b=Ncd(a.Di().Qz(),a.Di().clientId),c=_.YL.qU;return(a=qP(a,c))?a.objectStore(c).get(b).then(function(d){return Mcd(d)}):_.Rh(Error("Rf"))},jdd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Rh(Error("Sf"));if(a.Jf())return _.Rh(Error(a.O));
var c=a.Di(),d=Ncd(c.Qz(),c.clientId);b=new Lcd(oP(c),b?Date.now():void 0);c=_.YL.qU;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Tf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
pP.prototype.Jl=function(a){var b=this;return this.H?this.Jf()?_.Rh(Error(this.O)):idd(this).then(function(c){var d=oP(b.Di());if(c)if(a){if(!c.O&&d==c.H&&d!=oP(a))return jdd(b,!0);if(c.O&&d==oP(a))return jdd(b)}else{if(d!=c.H)return jdd(b)}else if(!a)return jdd(b)}):_.Rh(Error("Uf"))};var kdd=function(a){if(!a.H)return _.Rh(Error("Vf"));if(a.Jf())return _.Rh(Error(a.O));var b=a.Di(),c=Ncd(b.Qz(),b.clientId);return idd(a).then(function(d){if(d){d=_.YL.qU;var e=qP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
pP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.Rh(Error(this.O)):idd(this).then(function(c){var d=c&&c.H==oP(b.Di());return d&&!a?!1:(c&&d?kdd(b):_.Ph()).then(function(){return _.Sh([hdd(b,a),fdd(b),bdd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Rh(Error("Wf"))};pP.prototype.close=function(){this.ha("Closing database")};pP.prototype.log=function(a){this.Cd.info("drive.ds.sync.storage.VersionedDb",a)};
var ldd=function(a){if(1>=a.Di())return!1;var b=a.H.objectStoreNames;return _.Sa(_.YL).every(function(c){return b&&b.contains(c)})},mdd=function(){var a=_.Th();_.uTc("GoogleDriveDs").Tf(function(b){b?ldd(b)?a.resolve(b):(b.close(),_.Uh(P8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},ndd=function(a,b,c){var d=_.Th();a?_.sTc(a,[_.YL.K_],"readonly").objectStore(_.YL.K_).getAll().Tf(function(e){e=_.Sa(e).map(function(f){return Wcd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Qz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},odd=function(a,b,c){var d=_.Th();mdd().then(function(e){if(e){var f=_.YL.qU;_.sTc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Mcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.YL.K_,p=_.sTc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=Wcd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Yja(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},pdd=function(a,b,c){var d=_.Th(),e=new pP(_.Ph(a),b);Xcd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},qdd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=pdd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Sh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+oP(l)))});d.resolve(k)})},rdd=function(a,b,c){var d=Date.now()-12096E5,e=_.Th();mdd().then(function(f){f?(_.Uh(e.promise,function(){f.close()}),ndd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){qdd(h,c,f,e)})):e.resolve([])});return e.promise},sdd=function(a,b,c){var d=_.Th();mdd().then(function(e){e?(_.Uh(d.promise,function(){e.close()}),
ndd(e,a,b).then(function(f){qdd(f,c,e,d,!0)})):d.resolve([])});return d.promise},tdd=function(a,b,c,d){if(a.length){var e=_.YL.Z5,f=a.shift(),h=Qcd(f,3,0,1);try{_.sTc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Tcd(k))&&(!k.V0||k.V0&&d.has(f.V))?b.resolve(f):tdd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},udd=function(a,b,c,d,e,f,h){var k=_.Th();mdd().then(function(l){l?(_.Uh(k.promise,function(){l.close()}),ndd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=oP(q))&&q.W==c&&q.H>=e&&J1c(d.filter(function(r){return!_.nVc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),tdd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},vdd={key:"rid",global:!0},wdd={key:"ooi",global:!0},xdd={key:"rtds",global:!1},ydd={key:"dct",global:!1},zdd={key:"pc",global:!1},Add=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Add.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Jf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};Add.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?gdd(c,[new Jcd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Add.prototype.Wn=function(){return this.get(vdd).then(function(a){return a?a:null})};Add.prototype.Fu=function(a){return this.set(vdd,a)};
var Bdd=function(a){return a.get(wdd).then(function(b){return"boolean"===typeof b?b:null})};Add.prototype.Oy=function(a){return this.set(wdd,a)};var Cdd=function(a){return a.get(zdd).then(function(b){return"boolean"===typeof b?b:null})},Ddd=function(a){return a.get(xdd).then(function(b){return Array.isArray(b)?b:null})},Edd=function(a){return a.get(ydd).then(function(b){return"number"===typeof b?b:null})},Fdd=function(){this.jj=[]};_.L(Fdd,_.KN);
Fdd.prototype.add=function(a,b){var c=a.zv.request;return c instanceof _.RM&&_.B(c.request,12)?_.KN.prototype.add.call(this,a,b):!1};Fdd.prototype.Osa=function(a){return this.jj.splice(0,Math.min(a,1))};var Gdd=function(a,b){this.jj=[];this.H=b};_.L(Gdd,_.KN);Gdd.prototype.add=function(a,b){return a.zv.request instanceof _.RM?!1:_.KN.prototype.add.call(this,a,b)};
Gdd.prototype.Osa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.jj.length&&b.length<a;f++){var h=this.jj[f],k=h.zv.request;k instanceof _.lM||k instanceof _.xM||k instanceof _.MM?k="app|"+k.zh():k instanceof _.gM||k instanceof _.hM||k instanceof _.nM||k instanceof _.TL?k="item|"+(k instanceof _.gM?k.Cc():k.getId()):k instanceof _.oM||k instanceof _.yM?k="item|"+k.Cc():k instanceof _.pM||k instanceof _.OM?k="item|"+k.Cc():k instanceof _.kD||k instanceof _.jD?(k=k instanceof _.kD?_.C(k,_.hp,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.ip(k)):k=k instanceof _.qM?"td|"+k.getId():null;var l=h.zv.request;if(l instanceof _.jM)l=!!_.R(l,8);else if(l instanceof _.hM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Gbb.has(l.getMimeType()));l=p}else l=!1;if(k&&d[k]||l&&5===e)break;b.push(h);c.unshift(f);k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.ta(this.jj,c[a]);return b};
Hdd=function(a,b,c,d,e,f,h,k,l){a=a.$f();h=new _.t_c(k,h,d,_.bk(a,32,1073741824),_.bk(a,21,1E3));h=new _.u_c(h);k=new _.TZc(_.bk(a,59,2E3),_.bk(a,60,2E4),_.bk(a,61,6));c=new _.RZc(l?l:c,l?void 0:e);e={};e[1]=_.w_c(b,d);e[2]=_.x_c(b,a,k,c,d);e[3]=_.y_c(b,a,k,c,d,"batch");l=_.bk(a,10,50);f=new _.MN(d,b,[_.SZc(c),new _.WZc(l,_.bk(a,11,100)),new _.LN(l),new _.JN(k,d)],[new Gdd(a,f),new Fdd,new _.KN],[new _.e_c(a,k,c.Jj(),d)],"mutation");return e[4]=f,e[5]=_.z_c(h,a,d),e[6]=_.y_c(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.y_c(b,a,k,c,d,"xd4_batch"),e[8]=_.y_c(b,a,k,c,d,"xd4_batch_one",1),e};Idd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Jdd=function(a){var b={};return b.parentId=a.Ik(),b};Kdd=function(a){var b={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());_.M0c(b,_.Md(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Ldd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b};Mdd=function(a){var b={};b.sourceIds=_.Md(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Ndd=function(a){var b={},c={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());null!=a.Qe()&&(b.description=a.Qe());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Sh()&&(c.trashed=a.Sh());_.ae(_.Lg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.B(a,7)&&(b.modifiedDate=_.rXc(_.qYc(_.B(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Ra(c)&&(b.labels=c);null!=a.Ti()&&(b.folderColor=a.Ti());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.C(a,_.Vk,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.B(c,2)&&(d.reason=_.B(c,2));b.contentRestrictions.push(d)}_.M0c(b,_.Md(a,8));return b};Odd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
Pdd=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,_.Jg)("0",6-c.length)+c);c=_.C(a,_.Z4c,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.Ne())&&(a.width=c);b.backgroundImageFile=a}}return b};
Qdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.P0c[a.getState()])&&(b.state=a);return b};_.Rdd=function(a){_.O(this,a,-1,null,null)};_.L(_.Rdd,_.K);_.Rdd.prototype.O=function(){return _.B(this,1)};var Sdd=function(a){_.O(this,a,-1,null,null)};_.L(Sdd,_.K);Sdd.prototype.O=function(){return _.R(this,1)};Sdd.prototype.V=function(){return _.B(this,2)};_.rP=function(a){_.O(this,a,-1,null,null)};_.L(_.rP,_.K);_.g=_.rP.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Qsa=function(){return _.B(this,3)};_.g.Yy=function(){return _.B(this,4)};_.g.C$=function(){return _.C(this,Sdd,6)};_.g.ysb=function(){return _.C(this,_.Rdd,7)};_.g.DVa=function(){return _.B(this,8)};_.g.Psa=function(){return _.R(this,9)};_.sP=function(a){_.O(this,a,-1,null,null)};_.L(_.sP,_.K);_.g=_.sP.prototype;
_.g.getType=function(){return _.B(this,1)};_.g.getId=function(){return _.B(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Ld=function(){return _.B(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.Dab=function(){return _.B(this,6)};_.Tdd=function(a,b){return _.A(a,6,b)};_.sP.prototype.Qe=function(){return _.B(this,8)};_.sP.prototype.om=function(a){return _.A(this,8,a)};
_.sP.prototype.O=function(){return _.R(this,9)};_.tP=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.V=a;this.va=b;this.Fa=c;this.request=e;this.Ba=f;this.H=[];this.items=[];this.ha=!0;this.O=!1;this.suggestionSessionId=null;this.Ha=d;this.status=6;this.ka=A2c(new _.VN,[1]);this.limit=e.Mi();this.Pe=0;_.we(this,function(){h.O=!1;h.H=[]})};_.L(_.tP,_.ri);_.g=_.tP.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.oa(this.items)&&6===this.Ab()&&this.Tj()||Udd(this)};_.g.wd=function(){return this.request};_.g.Mi=function(){return this.limit};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.ka};_.g.Tj=function(){return this.ha};_.g.ds=function(){var a=_.wSc().Ez(this.H,this.items),b=(new _.JSc).Dc(this.Ab());a=_.Nj(b,2,a);this.H=this.items;return a};_.g.Gr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.wi(),this.limit))};
var Vdd=function(a,b){return a.Ab()!==b.Ab()||oO(_.wSc(),a.items,b.Fd())},Wdd=function(a,b){a.items=b.Fd();a.status=b.Ab();_.IL(a.Ba)&&(a.ka=B2c(a.status,a.items));a.ha=b.jl();a.Pe=b.jf()};_.tP.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.tP.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
_.tP.prototype.Au=function(a,b){var c=this;b+="\n\n\nQuery:\n"+TO(this.V,this.wd());return _.$h(this.va.then(function(d){return d.wMb(a,b,c.wd(),c.Mi(),c.items)}))};
var Udd=function(a){a.isActive()&&(a.log("Livelist "+a.wi()+" returning "+a.items.length+". Status: "+(_.ab(W5c)[a.Ab()]+". Datasource: ")+(_.ab(Z6c)[a.Pe]+". Query: ")+(TO(a.V,a.request)+" ")+C2c(a.items)),Xdd(a,a.items,a.request),a.dispatchEvent(new _.gi(_.xc,a)))},Xdd=function(a,b,c){if(_.zM(c))c="quick access";else if(_.AM(c))c="people predict";else if(_.BM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.wi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.tP.prototype.refresh=function(){};_.tP.prototype.log=function(a){this.Fa.info(this.W,a)};var f3c=[90,59,75];_.t("sy1m3");
var Ydd=function(a){_.O(this,a,-1,null,null)};_.L(Ydd,_.K);
var Zdd=function(a){_.O(this,a,-1,null,null)};_.L(Zdd,_.K);Zdd.prototype.getType=function(){return _.B(this,1)};var $dd=function(a){var b=new Zdd;return _.A(b,1,a)},aed=function(a,b){return _.J(a,2,b)};Zdd.prototype.ny=function(){return _.B(this,3)};Zdd.prototype.Py=function(a){return _.A(this,3,a)};Zdd.prototype.Ni=function(){return _.B(this,4)};Zdd.prototype.setPosition=function(a){return _.A(this,4,a)};
var uP=function(a){_.O(this,a,-1,null,null)};_.L(uP,_.K);uP.prototype.getType=function(){return _.B(this,1)};var bed=function(a){var b=new uP;return _.A(b,1,a)};uP.prototype.ln=function(){return _.C(this,JO,2)};var ced=function(a,b){return _.J(a,2,b)};uP.prototype.ny=function(){return _.B(this,3)};uP.prototype.Py=function(a){return _.A(this,3,a)};uP.prototype.Ni=function(){return _.B(this,4)};uP.prototype.setPosition=function(a){return _.A(this,4,a)};
var vP=function(a){_.O(this,a,-1,null,null)};_.L(vP,_.K);vP.prototype.getType=function(){return _.B(this,1)};var ded=function(a){var b=new vP;return _.A(b,1,a)};vP.prototype.ln=function(){return _.C(this,_.KF,2)};var eed=function(a,b){return _.J(a,2,b)};vP.prototype.ny=function(){return _.B(this,3)};vP.prototype.Py=function(a){return _.A(this,3,a)};vP.prototype.Ni=function(){return _.B(this,4)};vP.prototype.setPosition=function(a){return _.A(this,4,a)};
var fed=function(a){_.O(this,a,-1,null,null)};_.L(fed,_.K);fed.prototype.Ab=function(){return _.B(this,1)};fed.prototype.Dc=function(a){return _.A(this,1,a)};fed.prototype.ur=function(){return _.C(this,_.IO,2)};
var hed=function(a){_.O(this,a,-1,ged,null)};_.L(hed,_.K);hed.prototype.Ab=function(){return _.B(this,1)};hed.prototype.Dc=function(a){return _.A(this,1,a)};hed.prototype.$j=function(){return _.B(this,3)};var ged=[2];
var ied=function(a){_.O(this,a,-1,null,null)};_.L(ied,_.K);ied.prototype.qd=function(){return _.C(this,qO,1)};ied.prototype.Un=function(){return _.B(this,2)};
var jed=function(a){_.O(this,a,-1,null,null)};_.L(jed,_.K);_.g=jed.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.ur=function(){return _.C(this,_.IO,2)};_.g.$j=function(){return _.B(this,3)};_.g.zh=function(){return _.B(this,4)};
var wP=function(a){_.O(this,a,-1,null,null)};_.L(wP,_.K);wP.prototype.Ab=function(){return _.B(this,1)};wP.prototype.Dc=function(a){return _.A(this,1,a)};wP.prototype.$j=function(){return _.B(this,3)};
var ked=function(a){_.O(this,a,-1,null,null)};_.L(ked,_.K);_.g=ked.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.$j=function(){return _.B(this,2)};_.g.NMa=function(){return _.C(this,_.hp,3)};_.g.getKey=function(){return _.C(this,_.Ob,4)};_.g.ws=function(){return _.P(this,4)};
var med=function(a){_.O(this,a,-1,null,led)};_.L(med,_.K);med.prototype.getKey=function(){return _.B(this,1)};med.prototype.ws=function(){return _.P(this,1)};var oed=function(a){_.O(this,a,-1,ned,null)};_.L(oed,_.K);var led=[[2,4,6,10],[3,5,7,8,9]],ned=[1];
var ped=function(a){_.O(this,a,-1,null,null)};_.L(ped,_.K);
var xP=function(a){_.O(this,a,-1,qed,null)};_.L(xP,_.K);xP.prototype.Ab=function(){return _.B(this,1)};xP.prototype.Dc=function(a){return _.A(this,1,a)};xP.prototype.O=function(){return _.Uj(this,wO,2)};var red=function(a,b){return _.Nj(a,2,b)};xP.prototype.$j=function(){return _.B(this,3)};var qed=[2];
var sed=function(a){_.O(this,a,-1,null,null)};_.L(sed,_.K);sed.prototype.Ab=function(){return _.B(this,1)};sed.prototype.Dc=function(a){return _.A(this,1,a)};sed.prototype.O=function(){return _.C(this,wO,2)};sed.prototype.$j=function(){return _.B(this,3)};
var ted=function(a){_.O(this,a,-1,null,null)};_.L(ted,_.K);ted.prototype.my=function(){return _.B(this,2)};
var ved=function(a){_.O(this,a,-1,ued,null)};_.L(ved,_.K);ved.prototype.Ab=function(){return _.B(this,1)};ved.prototype.Dc=function(a){return _.A(this,1,a)};ved.prototype.zj=function(){return _.Uj(this,_.rSc,2)};ved.prototype.kr=function(a,b){return _.Xj(this,2,a,_.rSc,b)};var ued=[2];
var xed=function(a){_.O(this,a,-1,wed,null)};_.L(xed,_.K);xed.prototype.Ab=function(){return _.B(this,1)};xed.prototype.Dc=function(a){return _.A(this,1,a)};xed.prototype.ll=function(){return _.Uj(this,uP,2)};var wed=[2];
_.zed=function(a){_.O(this,a,-1,yed,null)};_.L(_.zed,_.K);var yed=[1];
var yP=function(a){_.O(this,a,-1,Aed,null)},Ded,Eed;_.L(yP,_.K);yP.prototype.Un=function(){return _.B(this,1)};var Bed=function(a,b){return _.A(a,1,b)},Ced=function(a,b){return _.A(a,2,b)};yP.prototype.Ab=function(){return _.B(this,3)};yP.prototype.Dc=function(a){return _.A(this,3,a)};Ded=function(a,b){return _.A(a,4,b)};Eed=function(a,b){return _.Nj(a,5,b)};_.Fed=function(a){_.O(this,a,-1,null,null)};_.L(_.Fed,_.K);_.Fed.prototype.$b=function(){return _.B(this,2)};
_.Hed=function(a){_.O(this,a,-1,Ged,null)};_.L(_.Hed,_.K);var Ied=function(a,b){return _.A(a,1,b)},Jed=function(a,b){return _.A(a,2,b)},Ked=function(a,b){return _.Nj(a,3,b)},Aed=[5],Ged=[3];
_.zP=function(a){_.O(this,a,-1,Led,null)};_.L(_.zP,_.K);_.zP.prototype.JV=function(){return _.Uj(this,_.FF,2)};_.zP.prototype.xe=function(){return _.C(this,_.lf,3)};var Led=[1,2];
_.AP=function(a){_.O(this,a,-1,null,null)};_.L(_.AP,_.K);_.AP.prototype.Ab=function(){return _.B(this,1)};_.AP.prototype.Dc=function(a){return _.A(this,1,a)};_.AP.prototype.Fh=function(){return _.C(this,_.ZA,2)};_.Med=function(a,b){return _.J(a,2,b)};_.AP.prototype.$j=function(){return _.B(this,3)};
var Ned=function(a){_.O(this,a,-1,null,null)};_.L(Ned,_.K);Ned.prototype.Ab=function(){return _.B(this,1)};Ned.prototype.Dc=function(a){return _.A(this,1,a)};
var Ped=function(a){_.O(this,a,-1,Oed,null)};_.L(Ped,_.K);Ped.prototype.Ab=function(){return _.B(this,1)};Ped.prototype.Dc=function(a){return _.A(this,1,a)};Ped.prototype.ll=function(){return _.Uj(this,vP,2)};var Oed=[2];
var Qed=function(a){_.O(this,a,-1,null,null)};_.L(Qed,_.K);Qed.prototype.getType=function(){return _.B(this,1)};var Red=function(a){var b=new Qed;return _.A(b,1,a)};Qed.prototype.ny=function(){return _.B(this,3)};Qed.prototype.Py=function(a){return _.A(this,3,a)};Qed.prototype.Ni=function(){return _.B(this,4)};Qed.prototype.setPosition=function(a){return _.A(this,4,a)};
var Ted=function(a){_.O(this,a,-1,Sed,null)};_.L(Ted,_.K);Ted.prototype.Ab=function(){return _.B(this,1)};Ted.prototype.Dc=function(a){return _.A(this,1,a)};Ted.prototype.$j=function(){return _.B(this,3)};var Sed=[2];
_.Ued=function(a){_.O(this,a,-1,null,null)};_.L(_.Ued,_.K);_.Ued.prototype.getId=function(){return _.B(this,1)};_.Ued.prototype.Pb=function(a){return _.A(this,1,a)};_.Ued.prototype.xe=function(){return _.C(this,_.lf,4)};
var Wed=function(a){_.O(this,a,-1,Ved,null)};_.L(Wed,_.K);Wed.prototype.Ab=function(){return _.B(this,1)};Wed.prototype.Dc=function(a){return _.A(this,1,a)};Wed.prototype.$j=function(){return _.B(this,3)};var Ved=[2,4];
_.BP=function(a){_.O(this,a,-1,null,null)};_.L(_.BP,_.K);_.BP.prototype.getType=function(){return _.B(this,1)};var Xed=function(a){var b=new _.BP;return _.A(b,1,a)},Yed=function(a,b){return _.J(a,2,b)};_.BP.prototype.ny=function(){return _.B(this,3)};_.BP.prototype.Py=function(a){return _.A(this,3,a)};_.BP.prototype.Ni=function(){return _.B(this,4)};_.BP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.S2c=function(a){_.O(this,a,-1,null,null)};_.L(_.S2c,_.K);_.g=_.S2c.prototype;_.g.getItem=function(){return _.C(this,_.Yk,1)};_.g.setItem=function(a){return _.J(this,1,a)};_.g.getError=function(){return _.C(this,_.kc,2)};_.g.Se=function(a){return _.J(this,2,a)};_.g.Fn=function(){return _.P(this,2)};_.g.ht=function(){return _.B(this,4)};
var $ed=function(a){_.O(this,a,-1,Zed,null)};_.L($ed,_.K);var Zed=[2,4];
var bfd=function(a){_.O(this,a,-1,afd,null)};_.L(bfd,_.K);var afd=[1];
var dfd=function(a){_.O(this,a,-1,cfd,null)};_.L(dfd,_.K);dfd.prototype.Ab=function(){return _.B(this,1)};dfd.prototype.Dc=function(a){return _.A(this,1,a)};dfd.prototype.$j=function(){return _.B(this,3)};var cfd=[2];
var ffd=function(a){_.O(this,a,-1,efd,null)};_.L(ffd,_.K);ffd.prototype.Ab=function(){return _.B(this,1)};ffd.prototype.Dc=function(a){return _.A(this,1,a)};ffd.prototype.$j=function(){return _.B(this,3)};var efd=[2];
var gfd=function(a){_.O(this,a,-1,null,null)};_.L(gfd,_.K);
var ifd=function(a){_.O(this,a,-1,hfd,null)};_.L(ifd,_.K);ifd.prototype.O=function(){return _.B(this,2)};var jfd=function(a,b){_.A(a,2,b)},hfd=[1];
var kfd=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(kfd,_.gi);
var lfd=function(a,b){_.gi.call(this,"Pb");this.xPa=a;this.qua=b};_.L(lfd,_.gi);
var mfd=function(){};_.g=mfd.prototype;_.g.yM=function(a,b){return e7c(d7c(1),a).setPosition(b)};_.g.xM=function(a,b){return e7c(d7c(2).setPosition(b),a)};_.g.EE=function(a,b,c){return e7c(d7c(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return e7c(d7c(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,tO,2)};
var nfd=function(){_.lL.call(this,new mfd,function(a){return a&&a.getName()})};_.L(nfd,_.lL);
var CP=function(a,b,c){c=void 0===c?50:c;_.ri.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=A2c(new _.VN,[1]);this.ha=this.H=!1;this.Mc=new _.Ee(this);this.Ma(this.Mc);_.we(this,function(){d.active=!1;d.Mc.removeAll()})};_.L(CP,_.ri);_.g=CP.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.Ue=function(){return this.W.Ue()||this.connectionState.Ue()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Mc.listen(this.W,"Ab",_.wb(this.Ut)),this.Mc.listen(this.connectionState,[].concat(_.jd(Object.values(_.aB))),_.wb(this.Ut)),this.W.Ue()?this.Mc.od(this.W,"Ab",function(b){b.Ue()||(a.WG(),a.dispatchEvent(new _.gi(_.gq)))}):this.connectionState.Ue()?this.Mc.od(this.connectionState,[_.aB.AL,_.aB.rU],function(){a.WG();a.dispatchEvent(new _.gi(_.gq))}):(this.WG(),this.dispatchEvent(new _.gi(_.gq))))};_.g.WG=function(){};
_.g.Gr=function(a){var b=this;if(this.Tj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Ut();this.W.Ue()?this.Mc.od(this.W,"Ab",function(d){d.Ue()||b.dP()}):this.dP()}};_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.mc(a))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.g.Tj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Mc.removeAll();this.activate()};_.g.dP=function(){};
var ofd=function(a,b,c,d,e){CP.call(this,a,b,e.Mi()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new nfd;this.ma=d};_.L(ofd,CP);_.g=ofd.prototype;_.g.WG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){return i7c(new zO,this.data).Dc(this.status)};_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new g7c).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ma(this.wi(),this.limit)};_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,pfd(this)}};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.O()))this.H=!0,this.status=b.Ab(),this.data=b.O(),this.ha=a.H,pfd(this)};
var pfd=function(a){a.log("Livelist "+a.wi()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.ab(W5c)[a.Ab()]+"."));a.dispatchEvent(new _.gi(_.xc,a))};ofd.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};ofd.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var qfd=function(a,b,c,d,e,f,h){_.tP.call(this,a,b,c,e,f,d);this.Cd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(qfd,_.tP);qfd.prototype.getData=function(){this.H=this.items;var a=F4c((new _.QA).Dc(this.Ab()).Qw(this.items),this.Tj());a=_.J(a,7,this.oa).CP(this.suggestionSessionId).kj(this.Pe);return _.Kj(a,18,this.ma)};
qfd.prototype.update=function(a){if(Vdd(this,a)&&(Wdd(this,a),this.oa=a.l6(),this.suggestionSessionId=a.Vf(),this.ma=a.Aka(),Udd(this),this.suggestionSessionId&&k$c(this.V)&&(a=this.Cd.H(106027)))){var b=_.C(_.uN(a),r5c,20);if(!b){b=new r5c;var c=_.uN(a);_.J(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Zj()}};
var rfd=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.ak(d,f)||(d=eed(ded(4),f),c[e]=d):(d=eed(ded(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=eed(ded(1),d),c[e]=d)});return c},sfd=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(rfd(a,b))};
var tfd=function(a,b){_.ri.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(tfd,_.ri);_.g=tfd.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.gi(_.xc,this)))};_.g.Ab=function(){return this.status};_.g.Sq=function(){return new _.VN};_.g.getData=function(){this.H=this.data;var a=(new _.yN).Dc(this.status);_.Ma(this.data,function(b,c){a.RT().set(c,b||new _.KF)});return a};
_.g.ds=function(){var a=rfd(this.H,this.data);this.H=this.data;var b=(new Ned).Dc(this.status);_.Ma(a,function(c,d){_.Ij(b,2,vP).set(d,c)});return b};_.g.lT=function(){throw Error("Yf");};_.g.wi=function(){return String(_.Da(this))};_.g.wd=function(){return this.request};_.g.update=function(a){var b={};a.RT().forEach(function(c,d){c||(c=Vbd(d));b[d]=c});if(this.status!==a.Ab()||sfd(this.H,b))this.status=a.Ab(),this.data=b,this.active&&this.dispatchEvent(new _.gi(_.xc,this))};
_.g.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var ufd=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.oa=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=A2c(new _.VN,[1]);this.log("Creating find by ids live map: "+this.request.hn().join(", "));_.we(this,function(){h.O=!1;h.H=[]})};_.L(ufd,_.ri);_.g=ufd.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||vfd(this)};_.g.wd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.wN;_.IL(this.V)?a.Dc(O1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.ds=function(){var a=D2c(this.H,this.items),b=new b7c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.W};_.g.lT=function(a){g$c(a);var b=this.request;this.request=a;this.oa(this.wi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.wd().hn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);wfd(b,a)}):wfd(this,a)};var wfd=function(a,b){if(a.status!==b.Ab()||E2c(a.items,b.map))a.status=b.Ab(),a.items=b.map,_.IL(a.V)&&(a.W=B2c(a.status,Object.values(a.items))),vfd(a)};ufd.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};ufd.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var vfd=function(a){a.O&&(a.log("Livelist "+a.wi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(W5c)[a.Ab()]+". Query: ")+(TO(a.ka,a.request)+" ")+C2c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.xc,a)))};ufd.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var xfd=function(a,b,c,d,e,f){_.tP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(xfd,_.tP);xfd.prototype.getData=function(){this.H=this.items;var a=(new _.xN).Dc(this.Ab()).Qw(this.items);var b=this.Tj();a=_.A(a,4,b);return Y5c(a,this.ma).CP(this.suggestionSessionId).kj(this.Pe)};xfd.prototype.update=function(a){Vdd(this,a)&&(Wdd(this,a),this.ma=_.Uj(a,_.Fk,6),this.suggestionSessionId=a.Vf(),Udd(this))};
var yfd=function(){};_.g=yfd.prototype;_.g.yM=function(a,b){return ced(bed(1),a).setPosition(b)};_.g.xM=function(a,b){return ced(bed(2).setPosition(b),a)};_.g.EE=function(a,b,c){return ced(bed(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return ced(bed(4),a).setPosition(b)};_.g.aN=function(a){return a.ln()};
var zfd=function(){_.lL.call(this,new yfd,function(a){return a&&a.kq()})};_.L(zfd,_.lL);
var Afd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new zfd;this.suggestionSessionId=null;this.ka=c};_.L(Afd,CP);_.g=Afd.prototype;_.g.WG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return f9c(e9c((new KO).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new xed).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Ab()||oO(0,this.data,a.ll())){this.changed=this.H=!0;this.data=a.ll();if(a=a.Vf())this.suggestionSessionId=a;this.Ut()}};_.g.refresh=function(){this.ka()};_.g.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Bfd=function(a,b,c){_.ri.call(this);var d=this;this.request=a;this.ka=b;this.ha=c;this.V=[];this.items=[];this.H=!1;this.status=6;this.W=A2c(new _.VN,[1]);this.O=!0;this.limit=a.Mi();_.we(this,function(){d.H=!1;d.V=[]})};_.L(Bfd,_.ri);_.g=Bfd.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.oa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.Ab=function(){return this.status};
_.g.Sq=function(){return this.W};_.g.Tj=function(){return this.O};_.g.getData=function(){this.V=this.items;return F4c((new _.QA).Dc(this.status).Qw(this.items),this.O)};_.g.ds=function(){var a=_.wSc().Ez(this.V,this.items),b=(new _.JSc).Dc(this.status);a=_.Nj(b,2,a);this.V=this.items;return a};_.g.Gr=function(a){this.H&&(this.limit+=a||20,this.ka.EF(this.wi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Ab()||oO(_.wSc(),this.items,a.Fd()))this.items=a.Fd(),this.status=a.Ab(),_.IL(this.ha)&&(this.W=B2c(this.status,this.items)),this.O=a.jl(),this.H&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.g.Au=function(){throw Error("Zf");};_.g.refresh=function(){};
var Cfd=function(a,b,c){_.ri.call(this);var d=this;this.context=a;this.ha=b;this.request=c;this.V=!1;this.O={};this.H={};this.status=6;this.W=A2c(new _.VN,[1]);this.context.Sf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.hn().join(", "));_.we(this,function(){d.V=!1;d.O=[]})};_.L(Cfd,_.ri);_.g=Cfd.prototype;_.g.wi=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.wN;a.Dc(this.status);a.map=this.H;return a};_.g.ds=function(){var a=D2c(this.O,this.H),b=new b7c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Ab=function(){return this.status};_.g.Sq=function(){return this.W};
_.g.lT=function(a){var b=this.request;this.request=a;this.ha.kZ(this.wi(),b,a)};_.g.update=function(a){if(this.status!==a.Ab()||E2c(this.H,a.map))this.status=a.Ab(),this.H=a.map,_.IL(this.context.Oc)&&(this.W=B2c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var Dfd=function(){};_.g=Dfd.prototype;_.g.yM=function(a,b){return eed(ded(1),a).setPosition(b)};_.g.xM=function(a,b){return eed(ded(2).setPosition(b),a)};_.g.EE=function(a,b,c){return eed(ded(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return eed(ded(4),a).setPosition(b)};_.g.aN=function(a){return a.ln()};
var Efd=function(){_.lL.call(this,new Dfd,function(a){return a&&a.getId()})};_.L(Efd,_.lL);
var Ffd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Efd};_.L(Ffd,CP);_.g=Ffd.prototype;_.g.WG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return bad((new $O).Dc(this.status),this.data.slice(0))};_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new Ped).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ka.EF(this.wi(),this.limit)};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.ll()))this.H=!0,this.status=b.Ab(),this.data=b.ll(),this.ha=a.H,this.dispatchEvent(new _.gi(_.xc,this))};
_.g.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var Gfd=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.uf;this.O=this.context.Pfa;this.oa=this.context.n6};_.g=Gfd.prototype;_.g.sxa=function(a){var b=this,c=new qfd(this.context.Hm,this.context.fQ,this.context.Sf(),this.context.Oc,function(d,e){b.EF(d,e)},a,this.context.Sk());this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.vxa=function(a){var b=this,c=new xfd(this.context.Hm,this.context.fQ,this.context.Sf(),function(d,e){b.EF(d,e)},a,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.pxa=function(a){var b=this,c=new ufd(this.context.Oc,this.context.Hm,this.context.Sf(),this.context.d_,this.kZ.bind(this),a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.yxa=function(a){var b=this,c=new Bfd(a,this,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.zxa=function(a){var b=this,c=new Cfd(this.context,this,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.Cxa=function(a){var b=this,c=new Ffd(this.context,a,this);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.wxa=function(a){var b=this,c=new Afd(this.context,a,function(){if(a instanceof _.IF){var d=Hfd(b.context);Dbd(d,d.getKey(a)).refresh()}});this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.Dxa=function(a){var b=this,c=new tfd(this.context,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.mxa=function(a){var b=this,c=new ofd(this.context.Jj(),this.context.rk(),this.context.Sf(),function(d,e){b.EF(d,e)},a);this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.ai=function(a){var b=a.wi();this.H[b]=a;this.ha.create(b,a.wd());if(a.wd()instanceof _.Jz)a=this.O.ai(b,a.wd());else if(a.wd()instanceof _.LF)a=Bbd(this.O,b,a.wd());else if(a.wd()instanceof _.IF)a=Hfd(this.context).ai(b,a.wd());else if(a.wd()instanceof _.WF)a=this.oa.ai(b,a.wd());else{var c=a.wd(),d=TO(this.context.Hm,c,2);this.log("Registering LiveList "+a.wi()+" "+d);a=this.W.ai(b,c)}"boolean"===typeof a&&L$c(this.ha,b,a)};
_.g.ik=function(a){if(a.wd()instanceof _.Jz)this.O.ik(a.wi(),a.wd());else if(a.wd()instanceof _.LF)Cbd(this.O,a.wi(),a.wd());else if(a.wd()instanceof _.IF)Hfd(this.context).ik(a.wi(),a.wd());else if(a.wd()instanceof _.WF)this.oa.ik(a.wi(),a.wd());else{var b=a.wd(),c=TO(this.context.Hm,b,2);this.log("Unregistering LiveList "+a.wi()+" "+c);this.W.ik(a.wi(),b)}WO(this.ha,a.wi(),4);delete this.H[a.wi()]};_.g.kZ=function(a,b,c){this.W.ik(a,b);this.W.ai(a,c)};
_.g.EF=function(a,b){var c=Ifd(this,a).wd();c.xi(b);c instanceof _.Jz?this.O.ai(a,c):c instanceof _.LF?Bbd(this.O,a,c):c instanceof _.WF?this.oa.ai(a,c):this.W.ai(a,c)};_.g.vO=function(a,b){var c=this.H[a]&&this.H[a].wd();c&&(c instanceof _.Ye?z1c(c.O(),b.Fd().filter(function(d){return!QO(d)})):c instanceof _.Zz&&z1c(c.O(),Object.values(b.map).filter(function(d){return d&&!QO(d)})));this.ka[a]=b;this.V||(this.V=_.ti(this.i9,50,this))};
_.g.OX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ti(this.i9,50,this))};_.g.jA=function(a){(a=this.H[a])&&a.nW()};_.g.i9=function(){_.ui(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&&(O$c(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])WO(this.ha,a,3),d.oB(c)};
_.g.Pka=function(a){return Ifd(this,a).wd()};var Ifd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};Gfd.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var DP=function(a,b){_.ri.call(this);this.O=a;this.request=b;this.le=_.Th();this.complete=!1;this.H=""};_.L(DP,_.ri);DP.prototype.start=function(){var a=this;this.O.then(function(b){return b.Te(a.request)}).then(this.W.bind(this)).Gg(this.handleError.bind(this));return this.le.promise};DP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new lfd(0,this.H));Jfd(this)};
var Jfd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Te(new _.UVc(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 $ed;c=_.Kj(c,2,b.V);c=_.A(c,3,a.H);c=_.A(c,5,b.ka);c=_.A(c,6,b.ha);c=_.A(c,7,b.gA);c=_.A(c,8,b.H);b=_.Nj(c,4,b.W);a.le.resolve(b)}else b=_.PL(_.aq(_.$p(new _.kc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new lfd(b.O,
a.H)),Jfd(a)}).Gg(function(b){a.handleError(b)})},5E3)};DP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Te(new _.TVc(a.H))}).then(this.V.bind(this)).Gg(this.handleError.bind(this))};DP.prototype.V=function(){if(!this.complete){var a=new $ed;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.le.resolve(a);this.complete=!0;this.dispose()}};DP.prototype.handleError=function(a){this.complete=!0;this.le.reject(_.bM(a));this.dispose()};
var Kfd=function(){_.gi.call(this,"VbxEwf")};_.L(Kfd,_.gi);
var Lfd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=Lfd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Dz=function(){return this.context.LA.Dz(this.H)};_.g.Sf=function(){return this.context.Sf()};_.g.PM=function(a){return _.Zh(this.context.uf.xm.H(a))};_.g.aR=function(){return _.Zh(this.context.LA.aR())};
_.g.k5=function(a,b,c){var d=new _.Vh;if(_.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)){var e=I$c(a);this.context.Rm().then(function(f){return f.Te(e,{H7a:b,I7a:c})}).then(this.Eab.bind(this,d),d.Pd,d);return d}throw Error("ag");};
_.g.Eab=function(a,b){var c=[],d="";if(b instanceof _.HN){c=b.qd().Fd();var e=_.B(b,2);d=b.Un()}else if(b instanceof _.UM)b.getItem()&&c.push(b.getItem()),e=b.ZM();else throw Error("bg");a.callback({items:c,Fia:e,pageToken:d})};_.g.oqa=function(){var a=this.context.Oc,b=a.$f();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.gia=function(){this.context.Ts.iS();var a=this.context.Oc;sdd(_.gN(_.DL(a)),_.hN(a),this.context.Sf()).Gg(function(){})};
_.g.s9=function(){return _.WUc[_.Gj(this.context.Oc.$f(),8,0)]};_.g.Dda=function(){this.context.QF.H=new icd(_.Mg().substring(0,8))};_.g.US=function(){var a=this.context.QF.qN(),b=null;a&&(b=kcd(this.context.QF),b={traceId:a,spanRecs:b});a=this.context.QF;a.H=null;a.IY=[];return _.Zh(b)};_.g.qN=function(){return _.Zh(this.context.QF.qN())};
_.g.getState=function(a){var b=this.context.Qj,c=b.H.bind(b);b={};b.b=this.context.Oc.Ki();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.uf.xm.Ld();c=this.context.uf.Vu;var d=c.H;d&&(b.cs_sutd=d.k8,b.cs_ss=d.Ld());b.cs_ch=Dad(c).length;b.cs_td=c.dW().length;(c=this.context.o6)&&(b.t_cps=c.aub().join(","));b.t_id=Mfd(this.context);var e=
[];Nfd(this.context.$Q()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.Zy?this.context.rk().isConnected():this.context.AI.vB();b.n_o=this.context.Zy?this.context.rk().Ue():this.context.Jj().Ue();b.n_csm=!!this.context.Zy;a&&(b.csw_cc=_.Ra(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.Zh(JSON.stringify(b))};_.g.Epa=function(){this.vc&&(this.vc.dispatchEvent(new Kfd),this.vc.Hu())};
_.g.Jl=function(a){var b=this.context.Zy;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.AZc(b))};
var Qfd=function(a,b){this.context=a;this.Jg=b;this.H=_.GVc(_.oN(this.Jg),Ofd);this.O=_.GVc(_.oN(this.Jg),Pfd)};
Qfd.prototype.ol=function(a){var b=this,c=this.context.XP.Fh().Fh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.KVc(h);var k=h.getId(),l=b.context.Wn();_.dXc(h,3);_.WL(h,5);var p=U1c(h,!0);h.getCapabilities()||_.cN(h,new _.Tk);_.R(p,2)&&((p=h.mk())&&p.length?_.A(h,46,p[0]):(_.bN(h,[l]),_.A(h,46,l)),l=h.Bq(),_.A(h,12,l),l=new _.Fk,l.Pb(d),_.A(l,6,1),_.qWc(l,!0),_.YWc(h,l),_.XWc(h,[l]),_.NTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.uf;var f=S9c(c.xm,a);_.Ma(f,function(h,
k){ZN(h.getItem(),e[k],b.H);(b.context.Jj().Ue()||b.context.rk().Ue()||3===bO(h.getItem()))&&ZN(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Wk(h.Pm())&&(f[h.getId()]=new OO(h))});Rfd(c,Object.values(f))};
var Sfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ol(c)},Tfd=function(a){a=a.context.uf;var b=new _.Ye;b.Jl(!0);b=U9c(a.xm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===bO(f)){var h=new _.ML;_.NL(h,f.getId());_.XL(h);d.push(h)}else h=new _.Ina,_.XN(h,!1),_.A(h,2,!1),_.J(f,81,h),c.push(b[e])}Rfd(a,c);a.So(d)},Ofd=[50],Pfd=[12,11,10,67,68];
var Ufd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Qfd(a,a.Jg)};_.g=Ufd.prototype;_.g.pY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Gab.bind(this);var b=this.Fab.bind(this);this.log("Querying all offline items.");this.H.zV().Tf(a,b);this.V||(this.H.T_((0,_.v)(this.Mxb,this)),this.V=!0)}}else Tfd(this.O)};_.g.Gab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ol(a);cP(this.context.Qj,"GZTDpc")};_.g.Fab=function(){this.log("Error fetching offline items.")};
_.g.Mxb=function(a){this.log("Handling offline change(s): "+a.length);Sfd(this.O,a)};_.g.log=function(a){this.context.Sf().info("drive.ds.sync.offline.LocalDataService",a)};
var EP=function(a){_.ri.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Mc=new _.Ee(this);this.ma=null;this.Ta=this.va=!1;var b=new Ufd(a);this.context.ha=b;this.Fa=new Lfd(a,this);z2c(this.Fa);(b=_.C(a.Oc,_.ZL,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Qj;this.W=a.Mfa;this.V=new Gfd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.pSa()};_.L(EP,_.ri);_.g=EP.prototype;_.g.pSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Th();var b=this.context.Sk().H(106E3);this.ma.promise.then(function(){b&&b.Zj()},function(){_.EN(a.context.Sk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Sf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Oc.Ki());this.Mc.listen(this.context,_.wc,this.pvb);this.Mc.listen(this.context.AI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Mc.listen(this.context.rk(),[].concat(_.jd(Object.values(_.aB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();cP(this.O,"NSockf")}return this.ma.promise};_.g.hXa=function(){this.context.Sf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.pvb=function(a){var b=a.error,c=b.Pg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.YY=function(){throw FP("teamDriveQuery");};_.g.Sda=function(){throw FP("teamDriveFindByIds");};
_.g.hqa=function(){throw FP("teamDriveMovePreflight");};_.g.ZFa=function(){throw FP("peoplePredictQuery");};_.g.query=function(a){i$c(this.context.Hm,a,A5c(this.context.Jg));this.iF();var b=a.clone();b=this.V.sxa(b);this.Ta||(a=a.xe(),a&&121===_.B(a,1)||(this.Ta=!0,this.Mc.listen(b,_.xc,this.OMa)));return b};_.g.OMa=function(a){a=a.currentTarget;if(1===a.Ab()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Mc.Yc(a,_.xc,this.OMa)}};_.g.Hq=function(a){this.iF();g$c(a);return this.V.pxa(a.clone())};
_.g.sva=function(){throw FP("activityQuery");};_.g.gwa=function(){throw FP("backupsQuery");};_.g.IGa=function(){throw FP("refreshBackups");};_.g.AV=function(){throw FP("getAndroidBackupItems");};_.g.z8=function(){throw FP("deleteBackup");};_.g.bGa=function(){throw FP("permissionQuery");};_.g.kaa=function(){throw FP("insertPermission");};_.g.A8=function(){throw FP("deletePermission");};_.g.xd=function(){throw FP("mutate");};_.g.XN=function(){throw FP("mutateWorkspace");};
_.g.oz=function(){throw FP("bulkMutate");};_.g.oxa=function(){throw FP("createFileUploader");};_.g.DSa=function(a){return new DP(this.context.Rm(),a)};_.g.Iq=function(a){if(3===a.getType())return _.$h(this.context.Rm().then(function(b){return b.Te(a)}).then(null,_.cM));throw FP("getApps with type "+a.getType());};_.g.ur=function(){throw FP("getApp");};_.g.maa=function(){throw FP("installApp");};_.g.y8=function(){throw FP("deleteApp");};_.g.iT=function(){throw FP("updateApp");};
_.g.uN=function(){throw FP("getUserAccount");};_.g.UG=function(){throw FP("getUserPrefs");};_.g.XR=function(){throw FP("mutateUserPref");};_.g.iu=function(){throw FP("getRevisions");};_.g.aCa=function(){return!1};_.g.Jl=function(a){this.context.Zy?a?_.BZc(this.context.Zy,!0):this.context.rk().Ue()&&this.context.Zy.pM(!0).then(null,function(){}):this.context.Jj().Jl(a)};_.g.Oy=function(){throw FP("setOfflineOptIn");};_.g.pY=function(){throw FP("setLocalItemService");};_.g.iF=function(){};
_.g.ZR=function(){this.context.ZR();this.context.Sk().O(106006)};_.g.K9=function(){return this.Fa};_.g.nY=function(){};_.g.vB=function(){return this.context.AI.vB()};_.g.jQ=function(){return _.S(this.context.Oc.$f(),52,!1)?_.Ph(B$c(new A$c,0)):this.context.AI.jQ()};_.g.isConnected=function(){return 1===this.context.rk().get()};_.g.V7=function(){var a=this.context.Zy;return a?a.pM():_.Ph(_.kZc(0))};_.g.sync=function(){throw FP("sync");};_.g.Hu=function(){return this.context.Hu()};
_.g.Fba=function(){throw FP("offlineDataLoaded");};_.g.boa=function(a){return this.context.Rm().then(function(b){return b.Te(a)}).then(function(b){return b})};_.g.Iwa=function(){throw FP("categoryMetadataQuery");};_.g.U7=function(){throw FP("changeCategoryLinks");};_.g.fP=function(){throw FP("updateCategoryMetadata");};_.g.tGa=function(){throw FP("publishedCategoriesQuery");};_.g.noa=function(){throw FP("publishedCategoryQuery");};_.g.pLa=function(){throw FP("workspaceFindByIdsRequest");};
_.g.cra=function(){throw FP("workspaceQueryRequest");};_.g.EJa=function(){throw FP("suggestedWorkspaceItemQueryRequest");};_.g.FJa=function(){throw FP("suggestedWorkspaceQueryRequest");};_.g.Q_=function(){throw FP("addCacheHint");};_.g.x0=function(){throw FP("createUserFeedback");};_.g.So=function(){throw FP("handleChanges");};var FP=function(a){return new _.lc(a+" is unsupported",_.aM(3))};
var c3c=function(a){EP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Fu("")};_.L(c3c,EP);c3c.prototype.$a=function(){bP(this.O,["NSockf"],this.hXa.bind(this))};
var Vfd=new Set([1,2,4,5,6]),Wfd=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.Pe=0};Wfd.prototype.Fh=function(){var a=new _.AP;a.Dc(this.status);this.H&&_.Med(a,this.H?this.H.clone():null);return a};
var Xfd=function(a,b,c,d){d=void 0===d?!1:d;var e=Vfd.has(c);if(1===a.status&&!e)return!1;a.Pe=c;var f=a.status;c=!a.H;if(_.IL(a.O)){var h=(h=b&&b.getUser())&&_.VF(h);h=!(!h||!lbd(a.ka,h));a.status=h&&e||d?1:6}f=!_.ak(a.H,b)||(_.IL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.IL(a.O)||(a.status=e||d?1:6);c&&(cP(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};Wfd.prototype.jf=function(){return this.Pe};
var Yfd=function(a){_.ri.call(this);this.ha=a;this.Pe=0};_.L(Yfd,_.ri);var Zfd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};X8c(a,_.Md(a,4).map(b));Y8c(a,_.Md(a,5).map(b));return a};_.g=Yfd.prototype;_.g.Iq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.gQ=function(){};_.g.lD=function(){return 0!==this.Pe};_.g.jf=function(){return this.Pe};
var $fd=new Set([1,2,4,5,6]),agd=function(a,b,c){Yfd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.zp=!1};_.L(agd,Yfd);agd.prototype.Iq=function(){var a=new YO;if(!_.Va(this.H)){_.Kj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Nj(a,2,b)}a.Dc(this.status);return a};agd.prototype.put=function(a){this.H[a.getId()]=Zfd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};agd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
agd.prototype.gQ=function(a,b,c){c=void 0===c?!1:c;var d=!$fd.has(b);1===this.status&&d||(this.Pe=b,bgd(this,a,!d||c),d||this.V.update(1),this.zp||(this.zp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),cP(this.ha,"nVUlO")))};
var bgd=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Md(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Fa(f);d=f.length!==a.O.length}a.O=e;var h=_.$a(a.H);_.dVc(a.H);b=_.Uj(b,_.IO,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=Zfd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ak(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.gi("Qb",a))};
var GP=function(a){_.N.call(this);this.context=a;this.yy=new Set;this.Ip=6;this.NCa=!0;this.Pe=0;this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(GP,_.N);_.g=GP.prototype;_.g.ai=function(a){this.BRa(a);this.yy.add(a);this.resize(!0);this.vO(a)};_.g.BRa=function(){};_.g.ik=function(a){this.yy.delete(a);0!=this.yy.size||this.sZa()?this.resize(!1):this.dispose()};_.g.jf=function(){return this.Pe};_.g.kj=function(a){this.Pe=a};_.g.SB=function(a){this.NCa=!1;this.Ip=a};_.g.HJ=function(){return this.Ip};
_.g.refresh=function(){};_.g.uk=function(){};
var dgd=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)}}cgd(a.context.uf,d,b);d.forEach(function(k){hcd(a.context.SMa,k,b);if(k.Bc()){var l=k.getCapabilities();QO(k)?l&&(_.CWc(l,_.R(l,13)),_.zWc(l,!1),_.GWc(l,!1)):aO(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.KWc(l,!1),_.LWc(l,!1))}k.getCapabilities()||_.cN(k,
new _.Tk)})};GP.prototype.resize=function(){};GP.prototype.wd=function(){};GP.prototype.ol=function(a,b){var c=this,d=!1;a.forEach(function(e){e=aP(e);d=c.Ju(e,!0)||d});b||(1!=this.HJ()&&(d=!0),this.SB(1));d&&this.PX()};var egd=function(a,b){var c=!1;b.forEach(function(d){c=a.Ju(d)||c});c&&a.PX();return c};_.g=GP.prototype;_.g.update=function(a){return egd(this,[a])};_.g.Ju=function(){};_.g.PX=function(){var a=this;this.ARa();this.yy.forEach(function(b){a.vO(b)})};_.g.ARa=function(){};
_.g.vO=function(a){var b=fgd(this.context).Pka(a);this.EYa(b)||(b=this.uk(b),fgd(this.context).vO(a,b))};_.g.OX=function(a){var b=this;this.SB(3);this.yy.forEach(function(c){fgd(b.context).OX(c,a)})};_.g.jA=function(){var a=this;this.yy.forEach(function(b){fgd(a.context).jA(b)});this.kj(0==this.jf()?1:6)};_.g.sZa=function(){return!1};_.g.EYa=function(){return!1};
var ggd=function(a){_.gi.call(this,"Db");this.id=a};_.L(ggd,_.gi);
var hgd=function(a,b,c,d){d=void 0===d?!1:d;_.ri.call(this);this.request=a;this.context=b;this.fLa=d;this.le=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(hgd,_.ri);
hgd.prototype.Yg=function(){var a=this;if(this.le)return this.le.promise;this.le=_.Th();for(var b={},c=_.m(this.request.hn().entries()),d=c.next();!d.done;b={Gra:b.Gra,Nea:b.Nea,tra:b.tra},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.tra=e;b.Gra=M5c(L5c(d),this.request);b.Nea=void 0;this.fLa&&(b.Nea={fLa:!0});this.context.Rm().then(function(f){return function(h){return h.Te(f.Gra,f.Nea)}}(b)).then(function(f){return void igd(a,f)},function(f){return function(h){var k=f.tra;h=
_.$A(h);5===h.Pg.ht()||4===h.Pg.nk()?(a.context.Sf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),jgd(a)):a.handleError(h)}}(b))}return this.le.promise};var igd=function(a,b){b.qd().Fd().forEach(function(c){_.WL(c,1);a.W.push(c)});jgd(a)},jgd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
hgd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;kgd(this);lgd(this);this.O.size===this.request.hn().length?(this.context.uf.ol([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.le.resolve(this.items)):this.dispatchEvent("Cb")};
var kgd=function(a){var b=a.W;a.W=[];b=a.context.Ofa.e9(b);if(_.CL(_.DL(a.context.Oc))){var c=a.context.uf.xm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.bN(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.uf.ol(b,1,a.originalRequest,!0)},lgd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.XL(_.NL(new _.ML,c));a.context.uf.So([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new ggd(c))})};
hgd.prototype.handleError=function(a){var b=new XO(a.Pg,_.bk(this.context.Oc.$f(),1,1));this.context.uf.oB(this.request,b);this.dispatchEvent(b);this.le.reject(a)};
var mgd=function(a,b,c,d){GP.call(this,a);this.Jg=b;this.request=c;this.Od={};this.H=null;this.O=_.SL(a.Oc)||new _.SUc;d&&this.ol(d,!0)};_.L(mgd,GP);
mgd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Ip=6;if(_.S(this.request,5,!1))return this.SB(1),_.Ph();var b=!this.NCa&&_.S(this.O,3,!1)?!1:!C1c(_.oN(this.Jg),this.request.O()),c=[],d=this.context.Wn();this.request.hn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==bO(l)||b)l=l&&l.Pm(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.ol([],!1),_.Ph();this.H=_.Th();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.aA(e,c);var f=new hgd(e,this.context,this.request);this.context.Jj().Ue()?(this.Mc.listen(this.context.Jj(),"Ab",function(h){h.Ue()||(a.Mc.Yc(a.context.Jj(),"Ab"),ngd(a,f,a.H))}),this.Ip=0<Object.values(this.Od).length?1:2):(this.context.rk().Ue()&&(this.Ip=0<Object.values(this.Od).length?1:2),ngd(this,f,this.H));return this.H.promise};var ngd=function(a,b,c){a.Mc.listen(b,"Db",function(d){a.Od[d.id]=null});a.jA();b.Yg().then(function(){c.resolve()},c.reject)};
_.g=mgd.prototype;_.g.cia=function(a){var b=this;if(this.context.Hm.equals(a,this.request,!0)){if(C1c(_.oN(this.Jg),a.O()))return!0;if(C1c(this.request.O(),a.O(),_.oN(this.Jg))){if(this.NCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.hn().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.uk=function(a){var b=new _.wN;_.IL(this.context.Oc)?b.Dc(P1c(Object.values(this.Od))?6:this.Ip):b.Dc(this.Ip);b.kj(this.jf());$6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));dgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};_.g.Ju=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Bs=function(a){return!!a&&_.ma(this.request.hn(),a.getId())};
var ogd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(ogd,_.gi);
var pgd=function(a){var b=new qbd;if(a.Vf()){var c=a.Vf();b.H=!1;b.suggestionSessionId=c}a instanceof _.xN&&_.Uj(a,_.Fk,6).length?(a=_.Uj(a,_.Fk,6),b.H=!1,b.V=a):a instanceof _.QA&&(a.l6()||a.Asa()||a.Aka().length)&&(c=a.l6(),b.H=!1,b.W=c,c=a.Asa()||!1,b.H=!1,b.incompleteSearch=c,a=a.Aka(),b.H=!1,b.O=a);return b};
var HP=function(a,b,c,d,e){e=void 0===e?"":e;_.ri.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ja=a.Sf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.qGa(b);this.ha=new qbd};_.L(HP,_.ri);var qgd=function(a){return!a.va||""!==a.nextPageToken},sgd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&qgd(a)?rgd(a):_.Zh()};HP.prototype.$b=function(){return this.V.length};HP.prototype.H=function(){return this.V.slice()};
var rgd=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 _.Vh;d.addCallback(function(f){return void tgd(a,c,f)});var e=_.xVc(_.yVc(new _.JL,a.Fa),c);b=_.vVc(new _.rUc,b);a.Ha&&_.A(b,10,!0);_.wVc(e,b);a.va=!0;a.O=!0;a.context.Rm().then(function(f){return f.Te(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
HP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.xN)var c=b;else c=b.qd(),this.nextPageToken=b.Un()||"";this.ha=pgd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Fd())};
HP.prototype.handleError=function(a,b,c){c=_.$A(c);this.O=!1;if(5===c.Pg.ht())a.callback([]);else{if(10===c.Pg.ht()&&(_.vVc(b,Math.ceil(_.bk(b,1,1E3)/2-2E-15)),1<_.bk(b,1,1E3))){var d=_.wVc(_.xVc(_.yVc(new _.JL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Rm().then(function(e){return e.Te(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new XO(c.Pg,_.bk(this.context.Oc.$f(),1,1));this.PMa(b);this.dispatchEvent(b);a.Pd(c)}};
var tgd=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: ")+(_.BYc(a.request)+" paginationToken: ")+b;b=_.bq(_.$p(_.PL(_.OL(new _.kc,2),9),f));a.context.dispatchEvent(new _.mc(new _.lc(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())_.WL(b.value,
a.ma?2:1);c=[];b=_.m(a.e2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.NL(new _.ML,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new ogd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return rgd(a);a.dispatchEvent("Fb")};_.g=HP.prototype;_.g.e2a=function(a){return a};_.g.PMa=function(){};_.g.wd=function(){return this.request};_.g.qGa=function(a){a=a.clone();this.ma&&_.A(a,46,!0);return a};_.g.log=function(a){this.Ja.info("drive.ds.sync.query.QueryRunner",a)};
var ugd=function(a,b,c,d){HP.call(this,a,b,void 0,c,d)};_.L(ugd,HP);ugd.prototype.e2a=function(a){a=this.context.Ofa.e9(a);this.context.uf.ol(a,1,this.request,qgd(this));return a};ugd.prototype.PMa=function(a){this.context.uf.oB(this.request,a)};ugd.prototype.qGa=function(a){var b=a=HP.prototype.qGa.call(this,a),c=_.Gl(b);0===_.Md(b,33).length&&1===c.length&&(c=this.context.uf.xm.H(c[0].Ya()))&&(c=c.Bc())&&(_.Il(b,[c]),_.Jl(b,2));vgd(this,a);return a};
var vgd=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.uf.xm.H(d.Ya()))&&_.R(d,108)})){var c=b.xe();c||(c=new _.lf,_.Hl(b,c));_.mf(c,937)}};
var wgd=function(a,b,c,d){this.context=a;this.Jg=b;this.W=d;this.doa=0;this.H=c},Agd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.Ye,[b]),_.oN(a.Jg)),1),d=_.mf(new _.lf,306);_.Hl(c,d);xgd(a);c=new ugd(a.context,c);sgd(c,5E3).addCallback(a.V.bind(a,c));ygd(a);zgd(a,b)}},ygd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof mgd});var c=new Set;b.forEach(function(d){d.wd().hn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.mf(new _.lf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.xO([].concat(_.jd(c)),b)},zgd=function(a,b){var c=[];(a.context.uf.yGa.pQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ak(e.wd(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(xgd(a),c.forEach(function(d){d=TO(a.context.Hm,d.wd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Uh(_.Sh(c.map(function(d){return d.refresh().Gg(_.Ef)})),a.O.bind(a)))};
wgd.prototype.xO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ae(f)});if(0===a.length)return _.Ph({});a=_.A(_.$z(_.aA(new _.Zz,a),d||_.oN(this.Jg)),7,!0);_.bA(a,b);e&&e.length&&_.Nj(a,11,e);xgd(this);b=new hgd(a,this.context,void 0,c);return _.Uh(b.Yg(),this.V.bind(this,b))};wgd.prototype.V=function(a){a.dispose();this.O()};var xgd=function(a){a.doa++;a.context.Ts.setActive(!1)};wgd.prototype.O=function(){this.doa--;0===this.doa&&this.context.Ts.setActive(!0)};
wgd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Bgd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.le=null;a=new _.lf;_.nf(a,!1);_.mf(a,305);_.Hl(this.request,a);this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(Bgd,_.N);
Bgd.prototype.Yg=function(){if(!this.le){this.le=_.Th();if(_.S(this.request,48,!1))return this.H.kj(9),this.le.resolve(this.H),this.le.promise;this.O=new HP(this.context,this.request,!0);this.Mc.listen(this.O,"Cb",this.W);this.Mc.listen(this.O,"Fb",this.V.bind(this));this.Mc.listen(this.O,"Gb",this.le.reject.bind(this.le));sgd(this.O,this.request.Mi())}return this.le.promise};Bgd.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(aP(new OO(b)))};
Bgd.prototype.V=function(){this.H instanceof eP?this.H.H=!qgd(this.O):qgd(this.O)&&dP(this.H,!1);this.H.kj(5);this.le.resolve(this.H)};
var Dgd=function(a,b){_.gi.call(this,Cgd);this.cache=a;this.changes=b};_.L(Dgd,_.gi);var Cgd="Rb";
var Egd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.gy().forEach(function(h){var k=h.getId();V1c(h.getItem());f[k]=new OO(h.getItem())});e.items.forEach(function(h){var k=h.Cc();k=f[k];h.tk()?k&&a.update(new kad(k.getId(),k,null)):(h=h.getItem(),V1c(h),a.update(lad(k,new OO(h))))});a.gX();c(e.sLb)},d)})};
var Fgd=function(a,b){_.N.call(this);this.context=a;this.Jg=b};_.L(Fgd,_.N);
Fgd.prototype.Yg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new MO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.bM(q));return}a=_.DL(this.context.Oc);if(!_.CL(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.E(a,6,"")&&Xfd(this.context.XP,c,4)}(a=b.Wn())&&this.context.Fu(a,6)}var e=_.B(b,3)||void 0;e&&Ggd(this.context,e,!0);if((a=_.Uj(b,_.hp,9))&&a.length){c=(c=this.context.Oc.$f())&&_.Md(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.ip(q))&&f.add(q)});this.context.gE.gQ(a,4,[].concat(_.jd(f.values())))}a=b.Fd();a.forEach(function(q){_.KVc(q);_.WL(q,6)});if(c=_.Uj(b,LO,5)[0])if(b=this.context.Hm,J1c(_.oN(this.Jg),c.getQuery().O(),_.hN(this.context.Oc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.hSc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=SO(b,c.getQuery());var h=_.B(c,2)||void 0;d.xi(h);h=a.map(function(q){return new OO(q,void 0,1,e)});var k=_.C(c,_.Yk,
3);if(k&&_.B(c,2)){var l=h[h.length-1];_.WL(k,6);if(!_.ak(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.SL(this.context.Oc))&&_.S(k,2,!1)&&c.Un()||"";var p=new eP(this.context.wu,this.context.zw,this.context.Hm,d,l,c);p.kj(4);h.forEach(function(q){p.update(aP(q))});Hgd(this.context.uf,p);l=p.wd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+TO(b,l));b=new _.JL;_.yVc(b,l);l=_.KZc(this.context.LA,
b,"IVDP");_.LZc(l,a);cP(this.context.Qj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+f$c(b,c.getQuery().O()));else this.handleError("No initial query found")};Fgd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));b=new _.lc(a,c,b);this.context.uJ(b.Pg);this.log("Initial view dump population failed. Message: "+a);cP(this.context.Qj,"DEJoH")};Fgd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var Igd=function(a){_.ri.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new gP(a.wu,a.zw,a.Qj,function(){return a.Wn()})};_.L(Igd,_.ri);var Jgd=function(a,b){var c=_.bk(a.context.Oc,31,2E4);("number"===typeof _.B(b,3)?_.B(b,3):c+1)>c?(dP(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.LA.Lb("CachedCorpusType",b)};
Igd.prototype.log=function(a,b){this.context.Sf().log(this.W,a,b||"info")};var Kgd=function(a,b){0===a.V&&(a.V=b)};
var Lgd=function(a,b){var c;if(c=!!b&&!!b.hh())a=a.Dm(),c=null==a||!!b.hh().Dm()==a;return c};
var Mgd=function(a,b){_.ri.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(Mgd,_.ri);Mgd.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():Ngd(this)};Mgd.prototype.$b=function(){return this.V.length};
var Ngd=function(a){a.O=!0;a.H=!0;var b=d5c(e5c(new _.SM,a.request),a.nextPageToken),c=_.KZc(a.context.LA,b);return _.$h(a.context.Rm().then(function(d){return d.Te(b)}).then(function(d){var e=d.qd().Fd();a.nextPageToken=d.Un()||"";Ogd(a,c,e)},function(d){return void a.handleError(d)}))},Ogd=function(a,b,c){_.LZc(b,c);for(b=0;b<c.length;b++)_.WL(c[b],1);a.context.uf.ol(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.NL(new _.ML,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new ogd("Cb",d));a.nextPageToken?Ngd(a):(a.H=!1,a.dispatchEvent("Fb"))};Mgd.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};Mgd.prototype.wd=function(){return this.request};
var Pgd=function(a){this.H=_.iSc(a,{numeric:!0})};Pgd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Pgd.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 Qgd=function(a,b,c,d){d=void 0===d?!1:d;GP.call(this,a);this.Jg=b;this.Od=[];this.le=null;this.request=c.clone();this.xv=new Mgd(a,this.request);this.fQb=new Pgd(mO(_.DL(a.Oc)));this.LW=null!=_.R(this.request,6);_.we(this,this.rnb,this);d&&(this.le=_.Th(),this.le.resolve())};_.L(Qgd,GP);_.g=Qgd.prototype;_.g.refresh=function(){3===this.Ip&&(this.Ip=6,this.le=null);return this.Gca()};_.g.isInitialized=function(){return!!this.le};
_.g.Gca=function(){var a=this;if(this.isInitialized())return this.le.promise;this.le=_.Th();this.context.Jj().Ue()?this.Mc.listen(this.context.Jj(),"Ab",function(b){b.Ue()||(a.Mc.Yc(a.context.Jj(),"Ab"),a.jA(),a.xv.Yg().Tf(a.le.resolve,a.le.reject,a.le))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.aB.AL,_.aB.rU],function(){a.jA();a.xv.Yg().Tf(a.le.resolve,a.le.reject,a.le)}):(this.jA(),this.xv.Yg().Tf(this.le.resolve,this.le.reject,this.le));return this.le.promise};_.g.resize=function(){};
_.g.wd=function(){return this.request};_.g.gy=function(){return this.Od};_.g.cia=function(a){return this.context.Hm.equals(a,this.request)};_.g.uk=function(a){a=a.Mi();this.fQb.sort(this.Od);var b=w2c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));dgd(this,B5c(this.Jg),b);var c=new _.QA;c.Qw(b);c.Dc(this.Xwa(a));c.kj(this.jf());F4c(c,a<this.Od.length||!(this.context.Jj().Ue()||this.context.rk().Ue())&&1!==this.Ip);return c};
_.g.Xwa=function(a){return 1===this.Ip||a<=this.Od.length?1:this.context.Jj().Ue()||this.context.rk().Ue()?0<this.Od.length?1:2:6};_.g.ol=function(a,b){this.isInitialized()&&GP.prototype.ol.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=_.ka(this.Od,function(h){return h.getId()===c}),e=!!d;b=this.Bs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.OKa(f,a.H):this.qJ(f):this.tR(a.H);else return!1;return!0};_.g.tR=function(a){this.Od.push(a);a.count++};
_.g.qJ=function(a){_.va(this.Od,a);a.count--};_.g.aza=function(a){return _.la(this.Od,a)};_.g.OKa=function(a,b){this.Od[this.aza(a)]=b;b.count++;a.count--};_.g.Bs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.LW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Od.find(function(d){return c===d.getId()},this);a=QO(a.getItem())&&Lgd(this.request,a.getItem());return b&&a}return QO(a.getItem())&&Lgd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.sZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Od.length};_.g.gX=function(){this.Ip=1};
var Rgd=function(a){this.H=a},Sgd=function(a,b,c,d,e){if(0===e||null===b){var f=new ted;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=z$c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.Te(h)}).then(function(k){var l,p=null!==(l=k.my())&&void 0!==l?l:null;k=d+_.B(k,1);return Sgd(a,p,c,k,e-1)})};
var Tgd=function(a,b){Igd.call(this,a);this.Jg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.zD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Oc};_.L(Tgd,Igd);Tgd.prototype.handleError=function(){this.log("Local dump population failed.");cP(this.context.Qj,"mrK8ic")};
Tgd.prototype.Yg=function(){var a=this;if(this.ka)return this.ka;if(this.context.wQ){var b=new _.Vh;this.ka=b;this.initialize().then(function(){var c=_.Uj(_.nO(a.H),lO,11);c=c[0]&&c[0].getKey()||"";return Ugd(a,a.context.wQ,c,4)}).Gg(function(c){if(_.S(a.H,8,!0))return Vgd(a);throw c;}).then(function(){_.IL(a.H)||a.context.uf.xq.H.clear();cP(a.context.Qj,"zaOY7");b.callback()},function(c){Kgd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ai(Error("cg"))};
Tgd.prototype.initialize=function(){var a=this;return this.context.wQ.initialize().then(function(){if(!_.iN(a.H)){var b=_.bk(_.nO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Cdd(a.context.tD).then(function(e){e?c():d(Error("dg"))})})}})};
var Ugd=function(a,b,c,d){var e=a.ha;Wgd(a,b,c,e);Xgd(a,b,c,e);Ygd(a,b,c,e);return Zgd(a,b,c,e).then(function(){return Promise.all([$gd(a,b,c,d,e),ahd(a,b,c,d,e),bhd(a,b,c,d,e),chd(a,b,c,d,e)])})},Wgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};nP(b,c,0,void 0,d,a.zD).then(function(f){f[0]?Xfd(a.context.XP,f[0],a.jf(),_.iN(a.H)):e()},function(){return e()})},Xgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};nP(b,
c,1,void 0,d,a.zD).then(function(f){f[0]?a.context.e_.gQ(f[0],a.jf(),_.iN(a.H)):e()},function(){return e()})},Ygd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};nP(b,c,5,void 0,d,a.zD).then(function(f){if(f[0]){f=f[0];var h=_.Uj(f,_.hp,1);h.length&&a.context.gE.gQ(h,a.jf(),_.Md(f,2),_.iN(a.H))}else e()},function(){return e()})},$gd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,1,e,a.zD).then(function(h){return dhd(a,h[0])}).then(function(h){if(h){b!==a.context.wQ||
J1c(_.Md(h,12),_.oN(a.Jg),_.hN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ts.iS());var k=_.B(h,3);if(!k||0>k)throw Error("gg");a.context.Fu(h.Wn(),d);k=_.B(h,3);"number"===typeof k&&Ggd(a.context,Number(k));_.iN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.dEa());a.ol(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},ahd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,2,e,a.zD).then(function(h){h[0]?
(a.ol(h[0],d),f.resolve()):f.reject(Error("eg"))},f.reject,f);return f.promise},bhd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,4,e,a.zD).then(function(h){h.forEach(function(k){a.ol(k,d)});f.resolve()},f.reject,f);return f.promise},chd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,3,e,a.zD).then(function(h){h.length?h.forEach(function(k){a.ol(k,d)}):cP(a.context.Qj,"rVezo");f.resolve()},f.reject,f);return f.promise},Zgd=function(a,b,c,d){var e=new _.yn;nP(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,_.Uj(h,ZO,1).length&&(a.log("Importing "+_.Uj(h,ZO,1).length+" people into the PeopleCache."),h=_.Uj(h,ZO,1),Pad(a.context.uf.xq.H,h,2));e.resolve()},e.reject,e);return e.promise},dhd=function(a,b){var c=_.B(b,3);if(c&&!_.iN(a.H)){var d=new Rgd(a.context.Rm()),e=_.bk(_.nO(a.context.Oc),13,5);return Sgd(d,c,null,0,e).then(function(f){return _.P(f,2)?(a.log("Encrypted dump too stale."),a.context.Sk().O(106007),Kgd(a,9),null):b},function(){return b})}return _.Ph(b)},
Vgd=function(a){var b=oP(a.context.IL.Di()),c=_.Uj(_.nO(a.H),lO,11).filter(function(d){return d.ws()});return udd(_.gN(_.DL(a.H)),_.hN(a.H),_.bk(_.nO(a.H),10,0)||0,_.oN(a.Jg),a.ha||0,c.map(function(d){return _.B(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.B(k,1)}),f=new pP(_.Ph(d),a.context.Sf(),null,!0),h=new tcd(f,a.H,function(k){a.context.uJ(k)});h.initialize();a.ma=!0;return Ugd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([zdd])}).then(function(k){if(k[0])return k=
k[0].Ya(),a.context.tD.set(zdd,k)}).then(function(){f.close()})}return _.Rh(Error("fg"))})},hhd=function(a,b,c){switch(b.wo()){case 1:return ehd(a,b,c);case 2:b=_.C(b,I2c,11);if(!b)throw Error("hg");Jgd(a,b);a.O.iK?(a.O.kj(a.jf()),a=[{cache:a.O,changes:lP(a.context.pz,null)}]):a=[];return a;case 3:return fhd(a,b);case 4:return ghd(a,b);default:return null}},ehd=function(a,b,c){var d=[];_.Uj(b,LO,5).forEach(function(e){var f=void 0,h=_.C(e,_.Yk,3);h&&(_.KVc(h),_.R(a.H,67)&&x1c(h,M1c),_.WL(h,c),f=new OO(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.Uj(a.H,_.Ye,44).some(function(l){if(!_.S(l,48,!1))return!1;l=SO(a.context.Hm,l,!0);return _.ak(l,k)}))e=new eP(a.context.wu,a.context.zw,a.context.Hm,k,f),e.kj(a.jf()),d.push({cache:e,changes:lP(a.context.pz,null)})});return d},ghd=function(a,b){return _.Uj(b,LO,5).map(function(c){c=new Qgd(a.context,a.Jg,_.C(c,_.wL,5),!0);c.kj(a.jf());return{cache:c,changes:lP(a.context.pz,null)}})},fhd=function(a,b){var c=_.Md(_.Uj(b,LO,5)[0].getQuery(),33)[0],d=_.B(b,3)||
void 0;b=lP(a.context.pz,c);IP(a.context).addCallback(function(f){f.Cva(c,d)});var e=new hP(a.context.wu,a.context.zw,c);e.kj(a.jf());return[{cache:e,changes:b}]};
Tgd.prototype.ol=function(a,b){var c=this,d=hhd(this,a,b);d&&0!==d.length?(a.Fd().forEach(function(e){_.KVc(e);_.R(c.H,67)&&x1c(e,M1c);_.WL(e,b);if(!_.IL(c.H)&&!c.context.uf.xq.H.wc()){var f=c.context.uf.xq;ibd(f,bbd(f,[e]))}e=new OO(e);for(f=0;f<d.length;f++)d[f].cache.update(aP(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Dgd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof hP&&(h=f.Bc());c.context.iaa.promise.then(function(){Qbd(c.context.pz,
h)})}),1===a.wo()&&cP(this.context.Qj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.wo()+".")};Tgd.prototype.jf=function(){return this.ma?7:3};
var ihd=function(a){_.N.call(this);this.context=a};_.L(ihd,_.N);ihd.prototype.Yg=function(a){try{jhd(this,new med(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var jhd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:khd(a,b);break;case 4:lhd(a,b);break;case 6:mhd(a,b);break;case 2:nhd(a,b);break;case 7:ohd(a,b);break;case 5:_.Uj(_.C(b,oed,7),med,1).forEach(function(c){jhd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},khd=function(a,b){var c=_.C(b,_.Ye,2);b=JSON.parse(_.B(b,3)||"{}");var d=new _.JL;_.yVc(d,c);b=a.context.$Q().Ssa.DE(d,{headers:{},text:"",json:b}).qd();
phd(a,c,b)},mhd=function(a,b){phd(a,_.C(b,_.Ye,2),_.C(b,_.QA,9))},phd=function(a,b,c){for(var d=c.Fd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.WL(f.value,7);c=pgd(c);a=a.context.uf;b=SO(a.context.Hm,b);e=JP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new KP(a.context,b),f.kj(2),a.O[e]=f);c.wc()||f.Rsa(c);a.ol(d,1,b)},nhd=function(a,b){b=_.C(b,_.sz,5);var c=a.context.Oc.$f();c=c&&_.Md(c,30)||[];var d=new Set(c);_.Uj(b,_.hp,3).forEach(function(e){(e=(e=e.getKey())&&
_.ip(e))&&d.add(e)});a.context.gE.gQ(_.Uj(b,_.hp,3),2,[].concat(_.jd(d.values())))},lhd=function(a,b){a.context.Pfa.T2(_.C(b,$O,8).ll(),_.C(b,_.Jz,6),2,!1)},ohd=function(a,b){var c=_.C(b,_.IF,10);b=JSON.parse(_.B(b,3)||"{}");b=a.context.$Q().Ssa.DE(c,{headers:{},text:"",json:b});Hfd(a.context).T2([b],c,2,!1)};ihd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));this.context.dispatchEvent(new _.mc(new _.lc(a,c,b)));this.log("Prefetched request population failed.")};
ihd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var LP=function(a){Igd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.bk(a.Oc,31,2E4))};_.L(LP,Igd);LP.prototype.Yg=function(){if(!_.S(this.context.Oc,45,!1))return Kgd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.NVa().addCallback(this.va,this).addCallback(this.oa,this).Hg(this.handleError,this)};
LP.prototype.va=function(){var a=this;cP(this.context.Qj,"L6uQWd");IP(this.context).addCallback(function(b){b.jea()});if(_.S(this.context.Oc,46,!1))return H2c(this.context.Rm(),this.context.Sf()).addCallback(function(b){if(!b)throw Kgd(a,4),Error("jg");Jgd(a,b)});this.log("Subscribed corpus cache population disabled.");dP(this.O,!1);return _.Zh()};
LP.prototype.oa=function(){this.context.dEa();var a=new _.Vh;if(this.O.iK){this.log("Starting subscribed corpus cache population.");var b=this.O.wd();b.xi(this.ma);this.O.kj(5);qhd(this,this.O,b)}b=_.Uj(this.context.Oc,_.Ye,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new eP(this.context.wu,this.context.zw,this.context.Hm,c.value),c.kj(5),qhd(this,c,c.wd()),c=TO(this.context.Hm,c.wd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Sh(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var qhd=function(a,b,c){var d=lP(a.context.pz,null);b=new Bgd(a.context,b,c);a.H.push(b);b=_.Uh(b.Yg().then(function(e){!e.iK&&e instanceof gP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.LA.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Dgd(e,d))}),function(){a.context.iaa.promise.then(function(){Qbd(a.context.pz,null)})});a.ha.push(b)};
LP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();Kgd(this,7);c=b;b instanceof XO?c=_.bM(b.error):_.HL(b)||(c=Error("kg`"+b));a.Pd(c)};LP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");cP(this.context.Qj,"Gv4zef")};LP.prototype.jf=function(){return 5};
var rhd=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Mc=new _.Ee(this);this.impression=null;this.W=[];this.Ma(this.Mc);this.H=new Tgd(this.context,this.context.Jg);this.Ma(this.H);this.O=new LP(this.context);this.Ma(this.O)};_.L(rhd,_.N);
rhd.prototype.Yg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Sk().H(106002);_.n._DRIVE_dsp&&shd(this);_.n._DRIVE_dspc=function(c){shd(a,c)};lP(this.context.pz,null);_.S(this.context.Oc,24,!1)&&!_.iN(this.context.Oc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?thd(this):_.n._DRIVE_ivdc=function(){thd(a)});var b=this.context.wQ;if(b)return this.Mc.listen(this.H,Cgd,this.ha),this.Mc.listen(this.O,Cgd,this.ha),(!_.S(this.context.Oc,10,!1)&&_.R(this.context.Oc,
69)?this.context.DX.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.Yg().Tf(function(){return uhd(a,a.H.jf())},function(){vhd(a,a.H.jf(),a.H.V);return _.iN(a.context.Oc)?a.handleError(Error("lg")):a.O.Yg().then(function(){return uhd(a,a.O.jf())},function(c){vhd(a,a.O.jf(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.HL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var shd=function(a,b){var c=new ihd(a.context);(_.n._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e===b)}).forEach(function(d){c.Yg(d)});c.dispose()};rhd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(whd(this,b,a.changes))};
var uhd=function(a,b){Qbd(a.context.pz,null);cP(a.context.Qj,"L6uQWd");IP(a.context).addCallback(function(c){c.jea()});return Promise.all(a.W).then(function(){xhd(a,b)})},xhd=function(a,b){if(!a.isDisposed()){_.iN(a.context.Oc)||yhd(a.V,_.Uj(a.context.Oc,_.Ye,44));a.log("Corpus cache population complete.");var c=a.context.Qj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ts.eEa():Cdd(a.context.tD).then(function(d){d&&a.context.Ts.eEa()},function(){});cP(c,"rVezo");cP(c,"BNEDtc");a.impression&&(b=_.vN(_.GUc,
b),v5c(D5c(a.impression),b),u5c(D5c(a.impression),!0),w5c(D5c(a.impression),V9c(a.V.xm)),x5c(D5c(a.impression),a.context.uf.wo()),a.impression.Zj());a.dispose()}},vhd=function(a,b,c){a.impression&&(b=_.vN(_.GUc,b),v5c(D5c(a.impression),b),a=D5c(a.impression),_.Sj(a,3,c,void 0))};
rhd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Qbd(this.context.pz,null);var c=this.context.Qj;cP(c,"L6uQWd");IP(this.context).addCallback(function(d){d.jea()});cP(c,"mrK8ic");cP(c,"Gv4zef");cP(c,"rVezo");cP(c,"BNEDtc");this.context.LA.Lb("CachedCorpusType","partialCorpus");c=!!this.H.context.wQ||_.S(this.O.context.Oc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.HL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.lc(b,void 0,c),c=a.Pg,_.OL(c,_.iN(this.context.Oc)?3:
1),_.PL(c,6),_.$p(c,b),_.bq(c),this.context.dispatchEvent(new _.mc(a))):this.log("Corpus population skipped");this.impression&&(u5c(D5c(this.impression),!1),this.impression.Zj());this.dispose()};
var whd=function(a,b,c){return Egd(b,c).then(function(d){d.some(function(e){return b instanceof hP&&e.tk()&&e.Cc()===b.Bc()})||Hgd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},thd=function(a){if(_.n._DRIVE_ivd){var b=new Fgd(a.context,a.context.Jg);a.Ma(b);b.Yg(_.n._DRIVE_ivd)}else cP(a.context.Qj,"DEJoH")};rhd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var zhd=function(){fP.apply(this,arguments)};_.L(zhd,fP);zhd.prototype.Bs=function(a){var b;if(b=fP.prototype.Bs.call(this,a))a=a&&a.getItem()&&a.getItem().Pm(),b=!(!a||!_.R(a,3));return b};zhd.prototype.wd=function(){};zhd.prototype.getType=function(){};zhd.prototype.KN=function(){};
var Ahd=function(a,b){this.context=a;this.H=b;this.pQ={}},Chd=function(a,b){if(!_.zM(b)){var c=_.Md(b,33);if(1===c.length)Bhd(a,c[0],b);else{c=_.Gl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.uf.zI;var e=_.mf(new _.lf,310);c.xO([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.he(h)&&(f=f.Bc(),Bhd(a,f,b))}else Bhd(a,null,b)});return}if(c.getItem().Bc()&&_.he(c.getItem().getCapabilities())){c=c.getItem().Bc();Bhd(a,c,b);return}}Bhd(a,
null,b)}}},Bhd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!QO(d.getItem()))return}d=b||"subscribed";a.pQ[d]||(a.pQ[d]=[]);a.pQ[d].push(c);b&&(IP(a.context).addCallback(function(e){e.Cva(b)}),Dhd(a.context.QJa,b))},Ehd=function(a,b){if(!_.zM(b)){var c={},d;for(d in a.pQ){c.ET=d;for(var e=0;e<a.pQ[c.ET].length;e++)if(_.ak(b,a.pQ[c.ET][e])){_.ta(a.pQ[c.ET],e);"subscribed"!==c.ET&&IP(a.context).addCallback(function(f){return function(h){h.aHa(f.ET,!1)}}(c));return}c={ET:c.ET}}}};
var Fhd=function(){this.H=new Map;this.O=[];this.V=[]};
Fhd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();$N(e)&&(a?(e=a.getItem().Pf())&&_.B(e,1)&&(1===_.Sd(e)||3===_.Sd(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&&!_.ak(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var Ghd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},Hhd=function(a){a.O=[];a.V=[]};
var Ihd=function(a,b){mP.call(this,a.clone(),b.Rm(),b.Oc,b.Sf());this.context=b};_.L(Ihd,mP);Ihd.prototype.W=function(a){var b=new Map;a.hn().forEach(function(c){var d=_.ITb(a.clone(),[c]);b.set(c,d)});return b};Ihd.prototype.V=function(a){a=a.Fd()[0];this.context.uf.ol([a],1,void 0,!0,this.request.O())};Ihd.prototype.ha=function(a){this.context.uf.ol([],1,a,!1,this.request.O())};Ihd.prototype.ka=function(a){a=_.XL(_.NL(new _.ML,a));this.context.uf.So([a])};
var Jhd=function(a,b,c,d){GP.call(this,a);this.Jg=b;this.request=c;this.Od={};d&&this.ol(d,!0)};_.L(Jhd,GP);_.g=Jhd.prototype;
_.g.refresh=function(){var a=this;this.Ip=6;var b=PO(this.context.Oc)!==PO(this.context.Oc,this.request.O()),c=[];this.request.hn().forEach(function(h){var k=a.Od[h];k&&k.getItem().hh()&&!b||c.push(h)});if(0===c.length)return this.ol([],!1),_.Ph();var d=this.request.clone();_.ITb(d,c);var e=new Ihd(d,this.context),f=_.Th();this.context.Jj().Ue()?(this.Mc.listen(this.context.Jj(),"Ab",function(h){h.Ue()||(a.Mc.Yc(a.context.Jj(),"Ab"),a.jA(),e.Yg().then(f.resolve,f.reject,f))}),this.Ip=0<_.Ra(this.Od)?
1:2):(this.context.rk().Ue()&&(this.Ip=0<_.Ra(this.Od)?1:2),this.jA(),e.Yg().then(f.resolve,f.reject,f));return f.promise};_.g.cia=function(a){return this.context.Hm.equals(a,this.request)&&C1c(_.oN(this.Jg),a.O())};_.g.uk=function(a){var b=new _.wN;b.Dc(this.Ip);b.kj(this.jf());$6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));dgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};
_.g.Ju=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};_.g.Bs=function(a){return!!a&&this.request.hn().includes(a.getId())};
var KP=function(a,b,c,d,e){GP.call(this,a);var f=this;this.V=0;this.Od=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.oa=Date.now();this.request=b.clone();this.xv=new ugd(this.context,this.request,!1,e);b=this.request.Ac()&&X9c(this.request.Ac());var h=this.context.zw;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.LW=!b||!P9c(this.request)||_.CL(_.DL(a.Oc));this.Fa=uad(this.request);
c&&this.ol(c,!d);this.va=_.bk(a.Oc.$f(),16,36E5);_.WM(this.request)&&this.Mc.listen(this.context.sha,"Hb",this.Ha);_.we(this,function(){_.aa(f.xv);f.clear()})};_.L(KP,GP);KP.prototype.refresh=function(){return Khd(this,!1)};var Khd=function(a,b){a.Ip=6;if(_.S(a.request,48,!1))return a.Ip=1,_.Ph();if(_.WM(a.request)){var c=Lhd,d=a.context.sha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return Mhd(a,b)};
KP.prototype.initialize=function(){return this.count>=this.request.Mi()||1===this.Ip?_.Ph():this.refresh()};KP.prototype.clear=function(){Nhd(this)};var Nhd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},Lhd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return Khd(a,!0)},b)};KP.prototype.Ha=function(){Date.now()-this.oa>this.va&&Lhd(this,0)};
var Mhd=function(a,b){a.xv&&(a.Mc.Yc(a.xv,"Eb",a.Rsa),a.Mc.Yc(a.xv,"Fb",a.QMa),a.xv.dispose());var c=a.request.xe();c&&_.nf(c,!1);a.xv=new ugd(a.context,a.request,b);a.V=0;a.Mc.listen(a.xv,"Eb",function(){return a.Rsa(a.xv.ha)});a.Mc.listen(a.xv,"Fb",a.QMa);return a.Gca()};
KP.prototype.Gca=function(){var a=this,b=_.Th();this.context.Jj().Ue()?this.Mc.listen(this.context.Jj(),"Ab",function(c){c.Ue()||(a.Mc.Yc(a.context.Jj(),"Ab"),Ohd(a,b))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.aB.AL,_.aB.rU],function(){Ohd(a,b)}):Ohd(this,b);return b.promise};var Ohd=function(a,b){a.jA();var c=a.request.Mi()+a.V;_.Zja(sgd(a.xv,c).Tf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=KP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.jd(this.yy)))),d=c.next();!d.done;d=c.next())d=d.value,d=fgd(this.context).Pka(d),b=Math.max(b,d.Mi());_.WM(this.request)?(this.request.xi(b),2!==this.jf()&&!this.xv.O&&(b>this.count||a)?this.refresh():this.zJ()):this.request.Mi()!==b&&(this.request.xi(b),b>this.count?this.Gca():this.zJ())};_.g.wd=function(){return this.request};_.g.cia=function(a){return this.context.Hm.equals(a,this.request)};
_.g.uk=function(a){var b=a.Mi(),c,d=!1;if(_.AM(this.request)){var e=this.Od.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.bl(k.getItem()).filter(function(l){return h.includes(_.C(l,_.Fk,1).getId())});k=k.clone();G1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.bl(l.getItem()).length})}d=P1c(e);c=new _.xN;_.A(c,4,!1);Y5c(c,f)}else e=this.Od.slice(0,b),c=new _.QA,F4c(c,b<this.Od.length||!(this.context.Jj().Ue()||
this.context.rk().Ue())&&1!==this.Ip),_.J(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=P1c(e);e=w2c(e);dgd(this,a.O(),e);c.Qw(e);c.Dc(d?6:this.Xwa(b));c.kj(this.jf());c.CP(this.suggestionSessionId);return c};_.g.Xwa=function(a){return 1===this.Ip||a<=this.count?1:this.context.Jj().Ue()||this.context.rk().Ue()?0<this.Od.length?1:2:6};_.g.Rsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.CAa();this.W=a.V;this.suggestionSessionId=a.Vf()};
_.g.QMa=function(){var a=this.request.Mi()-this.count;0<a&&qgd(this.xv)&&(this.V+=a,this.Gca())};_.g.ol=function(a,b){_.WM(this.request)&&Nhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=aP(d.value),c=this.Ju(d,!0)||c;b||(1!==this.Ip&&(c=!0),this.Ip=1);if(a=this.H){a:{a=this.Od;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.In("ViewCache unsorted after import"),this.context.zw.sort(this.request,this.Od));c&&(this.PX(),Phd(this,b))};
var Phd=function(a,b){_.Gl(a.request).length&&a.Od.length&&a.context.d_.then(function(c){var d=J5c(a.context.Sk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Ya(),f=_.C(_.uN(d),q5c,18);if(!f){f=new q5c;var h=_.uN(d);_.J(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Dt(a.Od.length);e=a.context.uf.wo();_.A(c,4,e);a.ma=d;d.Zj()}})};_.g=KP.prototype;
_.g.Ju=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Bs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.In("Updating different wrapper from the existing one"):this.In("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.OKa(f,a.H):(this.qJ(f),_.WM(this.request)&&Lhd(this,0));else{if(_.WM(this.request)&&!b)return!1;this.tR(a.H)}else return!1;return!0};_.g.tR=function(a){this.H?s1c(this.Od,a,this.H):this.Od.push(a);a.count++;Qhd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.qJ=function(a){if(this.H){var b=this.Od,c=_.Ha(b,a,this.H);0<=c&&_.ta(b,c)}else _.va(this.Od,a);a.count--;Qhd(a)&&this.count--;this.O.delete(a.getId())};_.g.aza=function(a){return this.H?_.Ha(this.Od,a,this.H):_.la(this.Od,a)};_.g.OKa=function(a,b){this.H&&0!==this.H(a,b)?(this.qJ(a),this.tR(b)):(this.Od[this.aza(a)]=b,b.count++,Qhd(b)&&this.count++,a.count--,Qhd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Bs=function(a,b){if(!a)return!1;if(this.LW&&!_.WM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Od.find(function(e){return c===e.getId()},this);a=RO(this.context.wu,this.request,a.getItem());return b&&a}}if(!RO(this.context.wu,this.request,a.getItem()))return!1;var d=1.2*this.request.Mi();if(1===this.Ip||!this.H||y9c(a.H,2)||this.count<d||b||W1c(a.getItem()))return!0;b=0===this.Od.length?null:this.Od[this.Od.length-1];return!!b&&0>=this.H(a,b)};
_.g.zJ=function(){if(1!==this.Ip&&!this.context.Jj().Ue()&&!this.context.rk().Ue()){var a=1.2*this.request.Mi();if(!(a>=this.count||this.xv&&a>=this.xv.$b())){a=this.count-this.request.Mi();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];y9c(c.H,2)||W1c(c.getItem())||(c.count--,Qhd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Od,b),a--)}Mhd(this,!1)}}};_.g.In=function(a){var b=new _.kc;_.OL(b,2);_.PL(b,6);_.bq(b);this.context.dispatchEvent(new _.mc(new _.lc(a,b)))};
var Qhd=function(a){return!y9c(a.H,2)&&3!==bO(a.getItem())};KP.prototype.BRa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.uf.xm.H(d.Ya()))&&_.R(d,108)}),M$c(this.context.Mfa,a,c))};KP.prototype.ARa=function(){this.zJ()};KP.prototype.EYa=function(a){return 1!==this.Ip&&a.Mi()>this.count&&this.xv.O};
var MP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Fhd;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.context=a;this.Jg=b;this.Vu=new Bad(a.Hm,a.Sf());if(null===(c=_.SL(this.context.Oc))||void 0===c?0:_.S(c,15,!1)){var e=new qad(a.wu,a.zw);this.Vu.add(e);a.Nfa.promise.then(function(){var f,h;dP(e,!(null===(h=null===(f=d.Vu)||void 0===f?void 0:f.H)||void 0===h?0:h.iK))})}this.H=new O9c(a.d_,a.wu,a.zw);_.R(a.Oc,60)&&(this.va=new zhd(a.wu,a.zw));this.V=new J9c(a.Sf(),_.oN(this.Jg));
Rhd(this,_.Md(this.context.Oc,28));this.xm=new R9c(this.Jg,this.context.Hm,this.H,this.V);this.context.Sk().W.H=this.xm;this.zI=new wgd(this.context,this.Jg,this.O,this.H);this.yGa=new Ahd(this.context,this.H);this.ka=new rhd(this.context,this);_.we(this.ka,function(){d.ka=null});this.oa=_.GVc(_.oN(this.Jg),Shd);bP(this.context.Qj,["NSockf"],function(){return d.initialize()});bP(this.context.Qj,["NSockf","jroI5d"],function(){var f=d.context.Oc;if(_.C(f,_.Yk,12))f=_.C(f,_.Yk,12);else{var h=_.qWc(_.sWc(new _.Fk,
_.gN(_.DL(f))),!0);h=_.A(h,6,1);var k=_.E(_.DL(f),6,"");k&&h.Pb(k);h=_.NTb(_.XWc(_.YWc(_.PF((new _.Yk).Pb(d.context.Wn()).setTitle(_.E(f,38,"My Drive")),"application/vnd.google-apps.folder").Ln(!1),h),[h]),1);h=_.A(h,29,!0);h=_.A(h,63,!0);f=_.tWc(new _.Tk,_.S(f,6,!0));f=_.A(f,2,!1);f=_.cN(h,_.GWc(_.zWc(_.yWc(_.CWc(_.DWc(_.BWc(_.AWc(_.xWc(_.wWc(_.vWc(_.uWc(_.A(f,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ol([f],1);cP(d.context.Qj,"hVFf7")});this.ha=_.Th();bP(this.context.Qj,["BNEDtc"],function(){d.ha.resolve()});
this.xq=new abd(this.context.Oc,this.context.Sf(),a.Rm(),a.Mfa,this.context.Sk(),this.context.DX.promise);_.IL(this.context.Oc)&&this.Mc.listen(this.xq,"Kb",this.ma);this.RMa=new _.wZc(this.context.Oc,this.xm)};_.L(MP,_.N);
MP.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.xq.Gd(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.xq.H.get(d),e=!(!d||1!==d.jf()&&4!==d.jf()||3===Lad(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(),Thd(this,h),b.push(lad(d,new OO(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");Uhd(this,b,[]);this.context.Ts.update(6);a.size&&this.zI.xO([].concat(_.jd(a)),_.mf(new _.lf,311))};MP.prototype.initialize=function(){this.ka.Yg()};
MP.prototype.ai=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Hm,b),Vhd(this,b.O()),Chd(this.yGa,b),b=Whd(this,b),b.cache.ai(a);else if(b instanceof _.Zz)b=Xhd(this,b),Vhd(this,b.O()),b=Yhd(this,b),b.cache.ai(a);else if(b instanceof _.wL){var c=JP(this,b),d=this.O[c];d?(3==d.HJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,sv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new Qgd(this.context,this.Jg,b),d.refresh().Gg(_.Ef),this.O[c]=d,b={cache:d,sv:!0});b.cache.ai(a)}else if(b instanceof _.JF)c=b.O(),d=this.V,K9c(d,d.H,d.O,c),b=Yhd(this,b),b.cache.ai(a);else throw Error("ng");return b.sv};MP.prototype.ik=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Hm,b),Ehd(this.yGa,b);else if(b instanceof _.Zz)b=Xhd(this,b);else if(!(b instanceof _.wL||b instanceof _.JF))throw Error("ng");b=JP(this,b);var c=this.O[b];c&&(c.ik(a),c.isDisposed()&&delete this.O[b])};
var JP=function(a,b){return TO(a.context.Hm,b,2)},Whd=function(a,b){var c=JP(a,b),d=a.O[c];if(d)return 3==d.HJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,sv:!1};d=[];for(var e=5,f,h,k=Cad(a.Vu),l=0;l<k.length;l++){var p=k[l];e=p.yE(b);if(5!=e){f=1==e?void 0:b.Mi();d=p.bla(b,f);f=p.jf();h=p instanceof eP?p.my():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Ld()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Jj().Ue()||a.context.rk().Ue())d=d.concat(a.H.query(b,1)),_.Fa(d,void 0,function(q){return q.getId()}),e=(e=a.Vu.H)&&e.k8&&5!=e.yE(b)?e.yE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new KP(a.context,b,d,1==e,h);f&&d.kj(f);d.ol(a.H.query(b,2),1!=e);d.initialize().Gg(function(q){q=_.QL(q);_.bq(q);a.context.dispatchEvent(new _.mc(new _.lc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
sv:!0}},Yhd=function(a,b){var c=JP(a,b),d=!1,e=a.O[c];if(e&&e.cia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.hn()),h;b instanceof _.Zz?h=new mgd(a.context,a.Jg,b,f):h=new Jhd(a.context,a.Jg,b,f);f.length&&h.kj(8);h.refresh().Gg(_.Ef);b=h;d=!0;a.O[c]=b;e?(Zhd(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,sv:d}};
MP.prototype.dW=function(){return Object.values(this.O).filter(function(a){return a.wd()instanceof _.wL})};
MP.prototype.w2a=function(a){for(var b=_.mf(new _.lf,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=f$c(this.context.Hm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.zI.xO([a],b,!1,c))};
var cgd=function(a,b,c){c&&c.length&&M9c(a.V,b,c);_.IL(a.context.Oc)&&(a=a.xq,ibd(a,bbd(a,b)))},Hgd=function(a,b,c){if(b instanceof Qgd){var d=JP(a,b.wd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof oad&&a.Vu.remove(b);var e={},f=new Map;d=a.H.gy();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.gy().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=bO(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new kad(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=aP(q),a.H.update(r),a.W.update(r),_.IL(a.context.Oc)&&a.xq.gP(r);_.IL(a.context.Oc)&&Thd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(aP(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Qgd?(d=JP(a,b.wd()),a.O[d]=b):a.Vu.add(b);var p=[];_.Ma(e,function(q){var r=new _.ML;_.NL(r,q.getId());r.setItem(q);p.push(r)});a.So(p);a.log("Merged cache: "+b.getType());b instanceof
hP&&c.forEach(function(q){$hd(a.context.Tsa,q)});a.context.Ts.update(3)},Zhd=function(a,b){(new Set([].concat(_.jd(a.yy)))).forEach(function(c){b.ai(c);a.ik(c)})};
MP.prototype.ol=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.jd(c.O().filter(function(D){return!_.oN(f.Jg).includes(D)}))):[]);c&&c instanceof _.Ye&&_.WM(c)&&aid(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new OO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=bid(this,u,r);if(null!=z)r.LD(z),cid(this,y,q),V1c(q),q=H9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.IL(this.context.Oc)&&Thd(this,q);!u||did(this,y,q,e)?(l.push(lad(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.Ye){if(null===(h=_.SL(this.context.Oc))||void 0===h?0:_.S(h,15,!1))a=_.Gl(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=Fad(this.Vu,c))&&a.ol(k,!!d)}c=JP(this,c);(a=this.O[c])&&a.ol(k,!!d)}0<l.length&&(_.IL(this.context.Oc)&&l.forEach(function(D){return f.xq.gP(D)}),Uhd(this,l,e,a?[a]:[]),eid(this,k));fgd(this.context).i9()};
var Thd=function(a,b){mbd(a.xq,b)||5!=bO(b)||_.dXc(b,1)},did=function(a,b,c,d){(b=b?_.Lj(b.clone(),82):null)&&cgd(a,[b],d);c=_.Lj(c.clone(),82);cgd(a,[c],[]);return!_.ak(b,c)},aid=function(a,b,c){fid(a,b,c);b.forEach(function(d,e){var f=a.xm.H(d.getId());f&&(ZN(f,d,[1002]),ZN(f,d,[1003]),ZN(f,d,[1005]),b[e]=f);_.zM(c)&&0<_.Md(c,33).length&&_.eXc(d,_.Md(c,33)[0])})},fid=function(a,b,c){var d;_.zM(c)?d="quick access":_.AM(c)?d="people predict":_.BM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Rfd=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Ma(c,function(d,e){e=Number(e);a.ol(w2c(d),e)})};MP.prototype.Ila=function(a){this.RMa.Ila(a)};
MP.prototype.So=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.tk()?null:e.getItem(),h=e.Cc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new OO(f,void 0,void 0,_.B(e,1)||void 0);var p=bid(this,h,l);if(null==p)continue;l.LD(p);cid(this,k,f);_.S(e,5,!1)&&x1c(f,M1c);V1c(f);f=H9c(f,k);l.setItem(f);_.IL(this.context.Oc)&&Thd(this,f)}if(k&&!f||f&&did(this,k,f,[]))this.context.QJa.qy(e),c.push(lad(h,l))}_.IL(this.context.Oc)&&c.forEach(function(q){return b.xq.gP(q)});Uhd(this,
c,[])};var cid=function(a,b,c){b&&!c.Pm()&&ZN(c,b,a.oa);var d=b?b.Pf():null,e=c.Pf();e=e?_.Qd(e):null;d&&e&&cid(a,_.Qd(d),e);b&&!_.al(c)&&ZN(c,b,[1002]);b&&!_.bl(c).length&&ZN(c,b,[1003]);b&&!_.cl(c).length&&ZN(c,b,[1005]);b&&null==c.X1()&&ZN(c,b,[71]);b&&null==_.B(c,79)&&ZN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(x1c(c,M1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
MP.prototype.oB=function(a,b){if(a instanceof _.Ye||a instanceof _.Zz||a instanceof _.wL)a=JP(this,a),(a=this.O[a])&&a.OX(b);else throw Error("ng");};var bid=function(a,b,c){var d=c.getItem();if(Hbd(a.context.Ofa,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=bO(a)&&!QO(a)&&!QO(d)&&a.Bc()==d.Bc())if(a.Di()&&d.Di()){if(a.Di()>d.Di())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Bq()>d.Bq())return null}return z9c(b&&b.H,c.H)};
MP.prototype.bI=function(a,b){(a=this.H.get(a))&&a.LD(z9c(a.H,b))};
var Uhd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.SL(a.context.Oc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&(h.H.O=h.O.O);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=_.Sa(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.va(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())egd(h.value,b);h=Cad(a.Vu);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 hP&&f.Ld()>=1.2*f.limit&&gid(a.context.QJa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Oc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.zJ(h.id),a.W.update(h);0<d&&a.context.Ts.yna(d);hid(a)},hid=function(a){var b=a.W.O.slice(0),c=Ghd(a.W);Hhd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.lf;_.mf(d,308);a.zI.xO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=S9c(a.xm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Pf(),k=_.B(h,1);if(k=a.xm.H(k))_.J(h,5,k),_.A(h,4,1),e.push(f)});Rfd(a,e)}},iid=function(a){fgd(a.context).i9();a.H.zJ()},Xhd=function(a,b){_.Ia(b.O());var c=_.la(b.hn(),"root");if(0>c)return b;b=b.clone();b.hn()[c]=a.context.Wn();return b},Rhd=function(a,b){var c;null!==(c=_.SL(a.context.Oc))&&void 0!==c&&_.S(c,1,!1)||(b=C5c(a.Jg,b),a=a.V,K9c(a,a.items,a.fields,b))},Vhd=function(a,b){var c;if(null===(c=_.SL(a.context.Oc))||
void 0===c?0:_.S(c,1,!1))b=C5c(a.Jg,b),a=a.V,K9c(a,a.items,a.fields,b)},eid=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==bO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.mf(new _.lf,311);a.zI.xO(c,d)}})},yhd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Fad(a.Vu,c)){a.log("Adding new cache hint for "+JP(a,c));var d=new eP(a.context.wu,a.context.zw,a.context.Hm,
c);c=new Bgd(a.context,d,c);var e=lP(a.context.pz,null);_.Uh(c.Yg().then(function(){Egd(d,e).then(function(f){Hgd(a,d,f)})}),function(){Qbd(a.context.pz,null)})}})})};MP.prototype.wo=function(){var a=this.Vu.H;return a&&a.iK?1:2};MP.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Shd=[50];
var kid=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ol;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Th();this.va=c.promise;Ddd(this.context.tD).then(function(d){b.H=d||[];c.resolve();jid(b)},function(){return c.resolve()});bP(this.context.Qj,["rVezo"],(0,_.v)(this.W,this))};_.L(kid,_.N);
var Dhd=function(a,b){_.S(a.context.Oc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(I9c(a.context.uf.xm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.bk(a.context.Oc,47,5);)a.H.pop();a.context.tD.set(xdd,a.H)}a.context.uf.Vu.dW().length+a.O.size<_.bk(a.context.Oc,47,5)&&(jid(a),a.W())})},lid=function(a,b){_.va(a.H,b)&&a.context.tD.set(xdd,a.H)};
kid.prototype.qy=function(a){$hd(this.context.Tsa,a);if(QO(a)){var b=a.Bc();a.tk()?gid(this,b,!0):(a=a.getItem(),I9c(a)&&lid(this,b))}};var gid=function(a,b,c){lid(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.uf.Vu;for(var e=d.dW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ts.update(3);break}}IP(a.context).addCallback(function(k){k.aHa(b,c)});a.W()};
kid.prototype.W=function(){if(this.context.Qj.H("rVezo")){var a=this.context.uf.Vu;mid(this);for(var b={};this.V.$b()&&!(this.ha>=_.bk(this.context.Oc,47,5));){var c=_.pl(this.V);this.ha++;Ead(a,c)||this.O.has(c)||(this.O.set(c,null),b.ifa=new _.bWc,_.A(b.ifa,1,c),this.context.Rm().then(function(d){return function(e){return e.Te(d.ifa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={ifa:b.ifa}}}};
var jid=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},mid=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){jid(a);a.W()},36E5)};kid.prototype.oa=function(a,b){var c=_.B(b,1);c&&c>_.bk(this.context.Oc,48,1E3)?(this.log(a,"Too large to backfill: "+_.B(b,1)),nid(this,a,!1)):oid(this,a)};
kid.prototype.ma=function(a,b){(b=_.QL(b).nk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.XL(_.kVc(_.NL(new _.ML,a),a)),this.context.uf.So([a])):oid(this,a)};
var oid=function(a,b){var c=new hP(a.context.wu,a.context.zw,b),d=c.wd().clone();d.xi(_.bk(a.context.Oc,48,1E3));d=new Bgd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=lP(a.context.pz,b);IP(a.context).addCallback(function(f){f.Cva(b)});_.Uh(d.Yg().then(function(){pid(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;nid(a,b,!0)}),function(){Qbd(a.context.pz,b)})},pid=function(a,b,c,d){c.iK?(c.gX(),Egd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());Hgd(a.context.uf,
c,e);nid(a,b,!1)},function(){a.log(b,"Backfill changes failed");nid(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),nid(a,b,!0))},nid=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&IP(a.context).addCallback(function(e){e.aHa(b,!1)});a.W();0<a.O.size||a.context.uf.Vu.dW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){gid(a,e,!0)})};
kid.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var qid=function(){_.N.apply(this,arguments)};_.L(qid,_.N);
var tid=function(a,b){b=rid(b);var c=a.getItem(),d=sid(c.getCapabilities());b.h4.forEach(function(e){_.NTb(e.getItem(),c.hp());_.cN(e.getItem(),d.clone())});return b},wid=function(a,b,c){var d=uid(c);c=c.find(function(e){return e.getId()===b.getId()});c={rK:c?c:new OO(b),children:[]};vid(a,d,c);return c},uid=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().mk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},vid=
function(a,b,c){var d=c.rK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(vid(a,b,{rK:e,parent:c,children:[]}))});return c},yid=function(a,b){b=b.children.filter(function(l){return!_.$k(l.rK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.rK.getItem();if(!c.has(f.getId())){_.NTb(f,a.hp());xid(a,f,e.parent?e.parent.rK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.$k(k.rK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.rK)}}return d},
zid=function(a){a=a.children.filter(function(h){return!_.$k(h.rK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.rK.getItem();if(!b.has(e.getId())){c.push(_.XL(_.NL(new _.ML,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.$k(f.rK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},rid=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();_.$k(e)||_.R(e,137)?c.push(e):b.push(d)}return{tQ:c,h4:b}},sid=
function(a){a=a.clone();var b=null!=_.R(a,34)?_.R(a,34):_.R(a,7),c=null!=_.R(a,35)?_.R(a,35):_.R(a,7);_.A(a,45,c);_.MWc(a,b);_.A(a,30,c);_.HWc(a,b);_.NWc(a,c);_.IWc(a,c);_.JWc(a,b);_.uWc(a,b);_.zWc(a,c);_.FWc(a,b);_.EWc(a,_.R(a,7));_.yWc(a,_.R(a,10)||_.R(a,11));_.GWc(a,_.Uk(a));_.Lj(a,18);_.Lj(a,13);_.Lj(a,10);_.KWc(a,_.R(a,42));_.LWc(a,_.R(a,43));_.OWc(a,_.R(a,48));return a},xid=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.HWc(e,_.R(d,31));_.NWc(e,_.R(d,
47));_.IWc(e,_.R(d,32));_.JWc(e,_.R(d,33));_.uWc(e,_.R(d,4));_.zWc(e,_.R(d,9));_.GWc(e,_.R(d,21));_.FWc(e,_.R(d,20));_.EWc(e,_.R(d,17));_.tWc(e,_.Uk(d));_.xWc(e,_.R(d,7));_.AWc(e,_.R(d,10));_.BWc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.MWc(e,_.R(d,46));_.OWc(e,_.R(d,48));a=_.$k(a);_.A(b,137,a);c&&(c=c.getCapabilities(),aO(b)?(_.yWc(e,_.R(c,43)),_.LWc(e,_.R(c,43)),_.KWc(e,_.R(c,42))):_.yWc(e,_.R(c,42)))};
var Aid=function(a){this.context=a;this.V=new qid;this.O=_.mf(new _.lf,306);this.H=a.uf},$hd=function(a,b){if(QO(b))b.tk()?Bid(a,b):Cid(a,b);else if(_.S(a.context.Oc,86,!1)){var c=b.Cc(),d=a.H.xm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!aO(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.$k(d),!b.tk()){var h=b.getItem();f=_.$k(d)!==_.$k(h);h=h.hp()!==d.hp();e=f||e&&h}if(e)if(b.tk()){if(b=Did(a,d.Bc()),d=a.V,e=(new _.Yk).Pb(c),b=(b=wid(d,e,b))?zid(b):[],a.context.uf.So(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=J5c(a.context.Sk(),106009))c=E5c(a),_.A(c,2,b.length),a.Zj()}else if(c=b.getItem(),d=Did(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=wid(e,c,d))?yid(c,d):[],Rfd(a.context.uf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=J5c(a.context.Sk(),106010))b=E5c(a),_.A(b,1,c.length),a.Zj()}},Bid=function(a,b){var c=b.Cc();b=Did(a,c);b=rid(b);var d=_.We(b.h4,function(e){return _.XL(_.NL(new _.ML,e.getId()))});a.context.uf.So(d);
a.H.zI.xO(b.tQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.tQ.map(function(e){return _.Dl((new _.Cl).Pb(e.getId()),_.el(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.tQ.length+" divergent items"));if(a=J5c(a.context.Sk(),106016))c=F5c(a),_.A(c,1,b.tQ.length),_.A(c,2,b.h4.length),a.Zj()},Cid=function(a,b){var c=b.Cc(),d=Did(a,c),e=a.H.xm.H(c);b=tid(b,d);Rfd(a.context.uf,b.h4);a.H.zI.xO(b.tQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.tQ.map(function(h){return _.Dl((new _.Cl).Pb(h.getId()),
_.el(h))}));a.log(c,"SD update | Update "+b.h4.length+" item(s), "+(b.tQ.length+" divergent items"));if(d=J5c(a.context.Sk(),106017)){var f=F5c(d);_.A(f,1,b.tQ.length);_.A(f,2,b.h4.length);d.Zj()}e||Agd(a.H.zI,c)},Did=function(a,b){var c=new _.Ye;_.Il(c,[b]);_.Jl(c,2);return U9c(a.H.xm,c)};Aid.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Eid=function(a,b,c){this.H=a;this.V=b;this.uJ=c};
Eid.prototype.Xw=function(a,b){var c=this;if(a.JV().length){var d=Dbd(this.H,a.Cc());if(d){var e=d?Ebd(this.H,a):[];for(var f={},h=_.m(a.JV()),k=h.next();!k.done;f={wL:f.wL},k=h.next())if(k=k.value,f.wL=Fid(e,k.an(),a.Cc()),_.R(k,3))Kbd(this.H,f.wL),_.Uh(b,function(r){return function(){c.H.O.W(tbd(r.wL))}}(f));else{for(var l=_.m(_.Uj(k,_.EF,2)),p=l.next();!p.done;p=l.next())Gid(this,f.wL,p.value);k=_.m(_.Md(k,4));for(l=k.next();!l.done;l=k.next())Hid(f.wL,l.value);this.H.nD([f.wL],!1,-1);b.then(function(r){return function(){return void c.H.bI(r.wL.getName(),
-2)}}(f),function(r){return function(){c.H.bI(r.wL.getName(),-2)}}(f))}e=this.qd(d.uk().response)}}e=e?e:this.qd();var q=e.b4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.$A(r));c.handleError(a.Cc(),r)});return e};Eid.prototype.qd=function(a){a=void 0===a?new zO:a;return new C9c(a.Dc(1))};var Fid=function(a,b,c){var d=a.find(function(e){return sbd(e.getName(),b)});d||(d=j6c((new tO).jd(b),c),a.push(d));return d};
Eid.prototype.handleError=function(a,b){Mbd(this.V,a);a=_.QL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.uJ(a)};
var Gid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new rO,d.Pb(c.getId()),i6c(b,b.O().concat([d])),Iid(d,c));if(1===sO(d))d.setBooleanValue(_.R(c,3));else if(12===sO(d))d.setDateStringValue(_.B(c,17));else if(2===sO(d))d.setTextValue(_.B(c,4));else if(3===sO(d))_.Md(c,6).length?d.opa(_.Md(c,6)):_.Md(c,5).length&&(a=_.Md(d,7).concat(_.Md(c,5)),d.opa(a));else if(4===sO(d))d.setLongTextValue(_.B(c,7));else if(5===sO(d))d.setSelectionValue(_.B(c,8));else if(6===
sO(d))_.Md(c,10).length?d.kpa(_.Md(c,10)):_.Md(c,9).length&&(a=d.xMa().concat(_.Md(c,9)),d.kpa(a));else if(7===sO(d))d.setIntegerValue(_.B(c,11));else if(8===sO(d))_.Md(c,13).length?d.cpa(_.Md(c,13)):_.Md(c,12).length&&(a=_.Md(d,12).concat(_.Md(c,12)),d.cpa(a));else if(10===sO(d))d.setUserValue(a.O(_.B(c,14)));else if(11===sO(d))_.Md(c,16).length?f6c(d,_.Md(c,16).map(a.O)):_.Md(c,15).length&&f6c(d,d.nBa().concat(_.Md(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(sO(d)+
"."),new _.lc(d,new _.kc);},Hid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===sO(a))_.Lj(a,5);else if(12===sO(a))_.Lj(a,17);else if(2===sO(a))_.Lj(a,6);else if(3===sO(a))_.MH(a,7);else if(4===sO(a))_.Lj(a,8);else if(5===sO(a))_.Lj(a,9);else if(6===sO(a))_.MH(a,10);else if(7===sO(a))_.Lj(a,11);else if(8===sO(a))_.MH(a,12);else if(10===sO(a))_.Mj(a,15);else if(11===sO(a))_.Oj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(sO(a)+"."),new _.lc(a,new _.kc);
},Iid=function(a,b){_.P(b,3)?a.KA(1):_.P(b,17)?a.KA(12):_.P(b,4)?a.KA(2):_.Md(b,6).length||_.Md(b,5).length?a.KA(3):_.P(b,7)?a.KA(4):_.P(b,8)?a.KA(5):_.Md(b,10).length||_.Md(b,9).length?a.KA(6):_.P(b,11)?a.KA(7):_.Md(b,13).length||_.Md(b,12).length?a.KA(8):_.P(b,14)?a.KA(10):(_.Md(b,16).length||_.Md(b,15).length)&&a.KA(11)};Eid.prototype.O=function(a){return _.rWc(_.pWc(1),a)};
var Jid=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.va=c;this.O=d;this.ka=e;this.Jg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};Jid.prototype.apply=function(a,b){var c=this;if(!_.VM(a))return b;var d=null;a instanceof _.nM?d=Kid(this,a,b):a instanceof _.uM?d=Lid(this,a,b):a instanceof _.TL?d=this.Xw(a,b):a instanceof _.iM?d=Mid(this,a,b):a instanceof _.NM&&(d=this.va.Xw(a,b));d&&(this.W++,this.ha.setActive(!1),_.Uh(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Ph(d):b};
var Kid=function(a,b,c){Gbd(a.O,b.getId());var d=a.H.xm.H(b.getId());_.Uh(c.then(function(){return void a.ma("VMiG2e")},a.oa.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.QL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Lid=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&Ibd(a.O,d)&&_.Uh(Nid(a,d,new _.vZc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.va(a.O.H,
d)});c.then(null,function(e){e=_.QL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Nid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Th(),h=c.Ya();_.rH(c);setTimeout(function(){a.ka.then(function(k){var l=_.mf(new _.lf,1425);l=v2c(!0,1,l);return k.Te(l).then(function(p){if(p=p.qd())if(p=p.Fd()[0],!p||(p.Sv()||0)>b){f.resolve();return}_.Uh(Nid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Uh(Nid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},Mid=function(a,b,c){var d=b.Bc(),e=a.H.xm.H(d);if(!e)return null;e=e.clone();cgd(a.H,[e],[157]);var f=e.hh();Oid(f,_.Uj(b,_.Xk,2));Pid(f,_.Uj(b,_.Xk,3));a.H.ol([e],-1,void 0,void 0,[157]);_.Uh(c,function(){a.H.bI(d,-2)}).then(function(h){a.H.ol([_.C(h,_.Yk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.QL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return k7c(new j7c,e).Dc(1)},
Oid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={$ea:c.$ea},d=b.next())c.$ea=d.value,_.Uj(a,_.Xk,8).some(function(e){return function(f){return f.an()==e.$ea.an()}}(c))||_.Xj(a,8,c.$ea,_.Xk,void 0)},Pid=function(a,b){var c=b.map(function(d){return d.an()});b=_.Uj(a,_.Xk,8).filter(function(d){return!c.includes(d.an())});F1c(a,b)};
Jid.prototype.Xw=function(a,b){var c=this,d=this.H.xm.H(a.getId());if(!d||d.Bc()&&0==a.Sh()||null!=_.R(a,40))return null;var e=_.Md(a,10),f=_.Md(a,9);if(0<e.length&&0<f.length&&(e=Object.values(T9c(this.H.xm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();Qid(this,a,h);this.H.ol([h],-1,void 0,void 0,A5c(this.Jg));b.then(function(){return c.H.bI(a.getId(),-2)},function(){c.H.bI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.QL(k);
if(63==k.nk()){var l=h.getId();_.A(k,22,l);_.A(k,23,f[0])}_.A(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.VXc((new _.UM).setItem(h),h.getId()).Dc(1)};
var Qid=function(a,b,c){null!=b.Qe()&&c.om(b.Qe());null!=b.Ti()&&_.bXc(c,b.Ti());null!=b.getMimeType()&&_.PF(c,b.getMimeType());null!=_.B(b,7)&&_.MTb(c,_.B(b,7));null!=_.R(b,11)&&_.WWc(c,_.R(b,11));null!=_.R(b,4)&&c.Bv(_.R(b,4));null!=_.R(b,16)&&_.aXc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Ln(b.Sh()),_.$Wc(c,b.Sh()));null!=_.R(b,18)&&_.XN(U1c(c,!0),_.R(b,18));_.Md(b,8).length&&_.bN(c,_.Md(b,8));if(_.Md(b,9).length){var d=new Set(c.mk());_.Md(b,9).forEach(function(p){return d.add(p)});
_.bN(c,[].concat(_.jd(d)))}if(_.Md(b,10).length){var e=new Set(c.mk());_.Md(b,10).forEach(function(p){return e.delete(p)});_.bN(c,[].concat(_.jd(e)));var f=c.mw();f&&_.Md(b,10).includes(f)&&_.Lj(c,46)}if(!c.mw()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.xm.H(p);return q&&!!q.mw()||p==h});_.A(c,46,f||void 0)}c.mk().length&&(f=a.H.xm.H(c.mk()[0]))&&_.eXc(c,f.Bc());if(f=_.C(b,_.Vk,25)){var k=_.C(c,_.Vk,111)||new _.Vk;null!=_.R(f,1)&&_.QWc(k,_.R(f,1));null!=_.B(f,2)&&_.RWc(k,_.B(f,2));_.J(c,111,
k)}var l=_.Md(c,120);_.Md(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Md(b,32).forEach(function(p){_.va(l,p)});_.Kj(c,120,l)};Jid.prototype.oa=function(a,b){var c=this,d=_.aA(new _.Zz,[a]);this.ka.then(function(e){return e.Te(d)}).then(function(e){e=e.qd().Fd()[0];c.H.ol([e.clone()],1)},function(){b&&c.H.ol([b.clone()],1)})};
var Rid=function(a){this.H=a};_.L(Rid,_.c0c);Rid.prototype.execute=function(a,b,c){var d=_.c0c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.fLa||b instanceof _.JL&&_.WM(b.wd()))if(c=S5c(this.H))return c;return b instanceof _.uM?(c=_.mf(new _.lf,1424),a.Te(v2c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Fd()[0])&&_.P(e,96)&&b.ida(e.Sv())},function(){})):null};
var L2c=function(a,b){return[Sid,Tid,Uid,Vid].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},Sid=function(a){return Wid[a.Af()]},Tid=function(a){return Xid[a.getType()]},Uid=function(a){return a.getName()||""},Vid=function(a){return a.getId()||""},NP={},Wid=(NP[5]=0,NP[7]=1,NP[1]=2,NP[3]=3,NP[4]=4,NP[2]=5,NP[6]=6,NP),Yid={},Xid=(Yid[1]=0,Yid[2]=1,Yid[3]=2,Yid[4]=3,Yid);
var Zid=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.oa=k;this.Jg=l};
Zid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.UM&&8===b.Ab()))if(a instanceof _.hM||a instanceof _.jM||a instanceof _.SVc||a instanceof _.TL||a instanceof _.PM||a instanceof _.$Vc||a instanceof _.RM||a instanceof _.fO){var d=_.WL(b.getItem().clone(),9);this.H.ol([d],1);hcd(this.oa,b.getItem(),_.oN(this.Jg))}else a instanceof _.nM?(b=_.XL(_.NL(new _.ML,a.getId())),this.H.So([b])):a instanceof _.qM?(b=_.XL(_.kVc(_.NL(new _.ML,a.getId()),a.getId())),this.H.So([b]),$hd(this.ma,b)):
a instanceof _.uM?(b=v2c(!0).wd(),b=this.H.xm.query(b).map(function(e){return _.XL(_.NL(new _.ML,e.getId()))}),this.H.So(b)):a instanceof _.lM?this.O.remove(a.zh()):a instanceof _.xM||a instanceof _.MM?this.O.put(b.ur()):a instanceof _.oM?K2c(this.H,a):a instanceof _.jD?this.W.remove(a.getKey()):a instanceof _.yM?M2c(this.H,a,_.C(b,_.Fk,2)):a instanceof _.kD?this.W.put(b.NMa()):a instanceof _.kM||a instanceof _.QM?this.ha.nD([b.ln()],!1):a instanceof _.rM?this.ha.nD([Vbd(a.getId())],!1):a instanceof
_.RVc?this.V.nD(b.response.O(),!1,1):a instanceof _.NM?(a.JV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.an()||"",a.Cc())}),Mbd(this.ka,a.Cc()),this.H.w2a(a.Cc())):a instanceof _.tN&&_.Uj(a,_.U6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.C(e,_.xO,2),e.getType()){case 1:case 2:if(e=c.H.xm.H(e.Cc())){var f=new _.ML;f=_.A(f,5,!0);e=_.NL(f,e.getId()).setItem(e.clone());c.H.So([e])}}}})};
var $id=function(a){this.H=a};
$id.prototype.translate=function(a){if(a instanceof _.JM){var b=this.H.H(a.getId());if(!b)return new _.kc;var c=(new _.TL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.he(d)||_.R(d,9)?c.Ln(!0):_.UL(c,!1)}else d=a.getParent(),1===b.hp()?c.Ln(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?a5c(c,[d]):_.UL(c,!1)):_.UL(c,!1);return c}if(a instanceof _.KM)return c5c(b5c(a5c($4c((new _.TL).Pb(a.getId()),_.Md(a,2)),_.Md(a,3)),_.R(a,6)),_.Uj(a,_.Cl,8));if(a instanceof _.LM){b=this.H.H(a.getId());
if(!b)return new _.kc;c=(new _.TL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.he(d)||_.R(d,9)?c.Ln(!1):_.UL(c,!0)):(d=a.getParent(),1===b.hp()?c.Ln(!1):d?(b=this.H.H(d),!b||_.Uk(b.getCapabilities())?$4c(c,[d]):_.UL(c,!0)):_.UL(c,!0));return c}if(a instanceof _.GN)return new _.SVc(a);if(a instanceof _.zP)return _.Md(a,1).map(function(f){var h=new _.NM;f=_.A(h,1,f);h=a.JV();f=_.Nj(f,2,h);h=a.xe();return _.J(f,3,h)});if(a instanceof _.tM){c=v2c(!1,1).wd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Sv())&&(e=Math.max(e,f))});return N5c(new _.uM,a).ida(e)}return a};
var ajd=function(){};ajd.prototype.validate=function(a){var b=null;a instanceof _.CM?(a=a.getId()||"",_.ae(a)&&(b="Tried to request backup with no id.")):a instanceof _.mM&&(a=a.getId()||"",_.ae(a)&&(b="Tried to delete backup with no id."));return b?_.QL(b):null};
var bjd=function(a,b){this.O=a;this.H=b},fjd=function(a,b){_.NN(["drive#about"],b);var c=new _.AP,d=new _.ZA;if(b.user){var e=_.PN(a.O,b.user);_.J(d,1,e)}a=cjd(a,b);a=U4c(T4c(_.S4c(new _.Xsb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.W4c(a,_.H4c(_.G4c((new _.YA).Dc(djd[e.status]),Number(e.trialMillisRemaining)),_.ON(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.X4c(a,_.J4c(_.I4c(new _.Ssb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&V4c(a,b.importFormats.map(function(f){var h=new _.R4c;h=_.A(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,ejd[b.adminSecureLinkSetting]);_.J(d,3,a);_.Med(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},cjd=function(a,b){var c;var d=new _.Wsb;d=_.A(d,1,Number(b.quotaBytesTotal));d=_.A(d,2,Number(b.quotaBytesUsed));d=_.A(d,3,Number(b.quotaBytesUsedAggregate));d=_.A(d,4,Number(b.quotaBytesUsedInTrash));d=_.N4c(_.M4c(_.L4c(_.K4c(d,
O2c(b.quotaBytesByService||[])),gjd[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-Q2c(b);d=_.A(d,9,e);d=_.O4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.Q1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.P4c(d,hjd[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Vsb;var f=
_.B2a(new Date(b.graceQuotaInfo.endDate));e=_.J(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.J(d,12,e)}(null===(c=_.SL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.Q1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},hjd={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},P2c=new Set(["POOLED_STORAGE","FAMILY"]),djd={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},N2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},gjd={LIMITED:1,UNLIMITED:2,POOLED:3},ejd={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var ijd={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},jjd={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},kjd={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},ljd={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},mjd={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},njd={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},ojd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},pjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},qjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},rjd={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},sjd={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},tjd={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},ujd={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},vjd={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},wjd={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},xjd={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},yjd={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},zjd={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Ajd={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Bjd={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Cjd={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Djd={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},Kjd=function(a){return a.map(function(b){var c=new _.v9c;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=Ejd(e);_.J(c,2,d);break;case "actors":d=Fjd(e);_.Nj(c,3,d);break;case "actions":d=Gjd(e);_.Nj(c,
4,d);break;case "targets":d=Hjd(e);_.Nj(c,5,d);break;case "timestamp":c.O(Ijd(e));break;case "timeRange":d=Jjd(e),_.Wj(c,7,u9c[0],d)}}return c})},Gjd=function(a){return a.map(function(b){var c=new _.s9c;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=Ejd(e);_.J(c,1,d);break;case "source":d=new J8c;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":_.fk(d,2,ijd[h]);break;case "appId":_.ek(d,1,h)}}_.J(c,2,d);break;case "actor":d=Ljd(e);_.J(c,3,d);break;case "target":d=Mjd(e);_.J(c,4,d);break;case "timestamp":c.O(Ijd(e));break;case "timeRange":d=Jjd(e),_.Wj(c,6,r9c[0],d)}}return c})},Hjd=function(a){return a.map(function(b){return Mjd(b)})},Ojd=function(a){return a.map(function(b){return Njd(b)})},Pjd=function(a){return a.map(function(b){var c=new _.n8c;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(Njd(e));break;case "shortcut":d=Njd(e),_.J(c,2,d)}}return c})},Mjd=function(a){var b=new _.N8c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=Qjd(d);_.Wj(b,1,_.M8c[0],c);break;case "drive":c=new _.K8c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);
break;case "title":c.setTitle(f);break;case "root":e=Qjd(f),_.J(c,3,e)}}_.Wj(b,5,_.M8c[0],c);break;case "fileComment":c=new _.L8c;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":_.ek(c,1,f);break;case "legacyDiscussionId":_.ek(c,2,f);break;case "linkToDiscussion":_.ek(c,3,f);break;case "parent":c.yg(Qjd(f))}_.Wj(b,3,_.M8c[0],c)}}return b},Njd=function(a){var b=new _.CO;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 X7c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new V7c;_.Wj(e,8,W7c[0],f);break;case "driveFolder":e=Rjd(f);_.Wj(c,9,W7c[0],e);break;case "driveShortcut":e=Sjd(f),_.Wj(c,10,W7c[0],e)}}_.Wj(b,1,Y7c[0],c);break;case "drive":c=Tjd(d),_.Wj(b,3,
Y7c[0],c)}}return b},Qjd=function(a){var b=new _.U7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.ek(b,6,d);break;case "version":_.dk(b,5,d);break;case "owner":c=new P7c;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=Ujd(f);_.J(c,3,e);break;case "user":e=
OP(f);_.Wj(c,1,O7c[0],e);break;case "drive":e=Tjd(f),_.Wj(c,4,O7c[0],e)}}_.J(b,7,c);break;case "driveFile":c=new V7c;_.Wj(b,8,Q7c[0],c);break;case "driveFolder":c=Rjd(d);_.Wj(b,9,Q7c[0],c);break;case "driveShortcut":c=Sjd(d),_.Wj(b,10,Q7c[0],c)}}return b},Tjd=function(a){var b=new N7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d)}}return b},Rjd=function(a){var b=new S7c;
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":_.fk(b,6,jjd[d])}}return b},Sjd=function(a){var b=new T7c;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":_.ek(b,1,d);break;case "targetMimeType":_.ek(b,2,d)}}return b},Fjd=function(a){return a.map(function(b){return Ljd(b)})},Ljd=function(a){var b=new _.I8c;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=OP(d);_.Wj(b,1,_.H8c[0],c);break;case "anonymous":c=new E8c;_.Wj(b,2,_.H8c[0],c);break;case "impersonation":c=new _.F8c;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=OP(f),_.J(c,1,e)}}_.Wj(b,3,_.H8c[0],c);break;case "system":c=new _.G8c;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":_.fk(c,1,kjd[f])}_.Wj(b,4,_.H8c[0],c);break;case "administrator":c=new _.D8c,_.Wj(b,5,_.H8c[0],c)}}return b},Vjd=function(a){return a.map(function(b){return OP(b)})},OP=function(a){var b=new _.u7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.AO;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":_.ek(c,1,f);break;case "isCurrentUser":_.ck(c,2,f);break;case "displayName":_.ek(c,3,f);break;case "photoUrl":c.jo(f)}}_.Wj(b,2,_.s7c[0],c);break;case "unknownUser":c=new v7c;_.Wj(b,4,_.s7c[0],c);break;case "deletedUser":c=new _.t7c,_.Wj(b,3,_.s7c[0],c)}}return b},Ijd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.A2a((new _.Ax).setSeconds(a),b)},Jjd=function(a){var b=new _.NO;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.wY(Ijd(d));break;case "endTime":b.vF(Ijd(d))}}return b},Ujd=function(a){var b=new _.M7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "legacyId":_.ek(b,3,d);break;case "audienceDisplayName":_.ek(b,4,d)}}return b},Ejd=function(a){for(var b=new _.HO,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 _.a8c,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,u=q.next().value;switch(r){case "new":var y=k,z=new b8c;_.Wj(y,1,_.Z7c[0],z);break;case "upload":var D=k,H=new c8c;_.Wj(D,2,_.Z7c[0],H);break;case "copy":for(var I=u,M=new _.$7c,Q=_.m(Object.entries(I)),W=Q.next();!W.done;W=Q.next()){var pa=_.m(W.value),ia=pa.next().value,na=pa.next().value;
switch(ia){case "originalObject":var qa=Njd(na);_.J(M,1,qa)}}_.Wj(k,3,_.Z7c[0],M)}}_.Wj(b,1,_.GO[0],k);break;case "edit":var ua=new h8c;_.Wj(b,2,_.GO[0],ua);break;case "move":for(var Wa=new _.p8c,Ea=_.m(Object.entries(h)),Pa=Ea.next();!Pa.done;Pa=Ea.next()){var dc=_.m(Pa.value),pb=dc.next().value,Zb=dc.next().value;switch(pb){case "addedParents":var Jc=Ojd(Zb);_.Nj(Wa,1,Jc);break;case "removedParents":var ne=Ojd(Zb);_.Nj(Wa,2,ne);break;case "fromOwnershipTransfer":_.ck(Wa,3,Zb);break;case "reparents":var oe=
Zb.map(Wjd);_.Nj(Wa,4,oe);break;case "multiparentingMigration":for(var Id=Zb,ff=new _.o8c,Dc=_.m(Object.entries(Id)),Bb=Dc.next();!Bb.done;Bb=Dc.next()){var Og=_.m(Bb.value),Ag=Og.next().value,Ve=Og.next().value;switch(Ag){case "removedParents":var Cj=Ojd(Ve);_.Nj(ff,2,Cj);break;case "migratedParents":var Zf=Pjd(Ve);_.Nj(ff,1,Zf)}}_.J(Wa,5,ff)}}_.Wj(b,3,_.GO[0],Wa);break;case "rename":for(var ni=new _.v8c,Fg=_.m(Object.entries(h)),im=Fg.next();!im.done;im=Fg.next()){var pf=_.m(im.value),$e=pf.next().value,
eh=pf.next().value;switch($e){case "oldTitle":_.ek(ni,1,eh);break;case "newTitle":_.ek(ni,2,eh)}}_.Wj(b,4,_.GO[0],ni);break;case "delete":for(var oi=new _.f8c,aj=_.m(Object.entries(h)),Ml=aj.next();!Ml.done;Ml=aj.next()){var ik=_.m(Ml.value),Qj=ik.next().value,fh=ik.next().value;switch(Qj){case "type":_.fk(oi,1,ljd[fh])}}_.Wj(b,5,_.GO[0],oi);break;case "restore":for(var gl=new _.w8c,hl=_.m(Object.entries(h)),Gg=hl.next();!Gg.done;Gg=hl.next()){var il=_.m(Gg.value),jm=il.next().value,jl=il.next().value;
switch(jm){case "type":_.fk(gl,1,mjd[jl])}}_.Wj(b,6,_.GO[0],gl);break;case "permissionChange":for(var Wh=new _.s8c,Dj=_.m(Object.entries(h)),oj=Dj.next();!oj.done;oj=Dj.next()){var pj=_.m(oj.value),Rj=pj.next().value,Jh=pj.next().value;switch(Rj){case "addedPermissions":var Nl=Xjd(Jh);_.Nj(Wh,1,Nl);break;case "removedPermissions":var qj=Xjd(Jh);_.Nj(Wh,2,qj);break;case "resharedPermissions":var jk=Xjd(Jh);_.Nj(Wh,3,jk);break;case "otherActivePermissions":var km=Xjd(Jh);_.Nj(Wh,4,km)}}_.Wj(b,7,_.GO[0],
Wh);break;case "comment":for(var kl=new _.L7c,Im=_.m(Object.entries(h)),kk=Im.next();!kk.done;kk=Im.next()){var Kk=_.m(kk.value),uf=Kk.next().value,Bi=Kk.next().value;switch(uf){case "post":for(var lk=Bi,Fc=new _.I7c,Lk=_.m(Object.entries(lk)),Pg=Lk.next();!Pg.done;Pg=Lk.next()){var mk=_.m(Pg.value),Mi=mk.next().value,Ln=mk.next().value;switch(Mi){case "subtype":_.fk(Fc,1,ojd[Ln])}}_.Wj(kl,1,_.H7c[0],Fc);break;case "assignment":for(var nk=Bi,xh=new _.J7c,Qg=_.m(Object.entries(nk)),Mk=Qg.next();!Mk.done;Mk=
Qg.next()){var ll=_.m(Mk.value),Qh=ll.next().value,Ni=ll.next().value;switch(Qh){case "subtype":_.fk(xh,1,pjd[Ni]);break;case "assignedUser":var jn=OP(Ni);_.J(xh,7,jn)}}_.Wj(kl,2,_.H7c[0],xh);break;case "suggestion":for(var pi=Bi,ml=new _.K7c,Mn=_.m(Object.entries(pi)),kn=Mn.next();!kn.done;kn=Mn.next()){var Jm=_.m(kn.value),Nn=Jm.next().value,Ol=Jm.next().value;switch(Nn){case "subtype":_.fk(ml,1,qjd[Ol])}}_.Wj(kl,3,_.H7c[0],ml);break;case "mentionedUsers":var Km=Vjd(Bi);_.Nj(kl,7,Km)}}_.Wj(b,8,
_.GO[0],kl);break;case "dlpChange":for(var ln=new _.e8c,On=_.m(Object.entries(h)),xk=On.next();!xk.done;xk=On.next()){var To=_.m(xk.value),Fp=To.next().value,Gp=To.next().value;switch(Fp){case "type":_.fk(ln,1,rjd[Gp])}}_.Wj(b,9,_.GO[0],ln);break;case "view":for(var Js=new C8c,Pw=_.m(Object.entries(h)),Ks=Pw.next();!Ks.done;Ks=Pw.next()){var Yn=_.m(Ks.value),Iq=Yn.next().value,Ut=Yn.next().value;switch(Iq){case "type":_.fk(Js,1,sjd[Ut]);break;case "viewHistoryVisibility":for(var $C=Ut,DA=new B8c,
aD=_.m(Object.entries($C)),Vt=aD.next();!Vt.done;Vt=aD.next()){var Tw=_.m(Vt.value),Uw=Tw.next().value,Vw=Tw.next().value;switch(Uw){case "domainPolicyVisibilityState":_.fk(DA,1,tjd[Vw]);break;case "namedPartyState":_.fk(DA,2,ujd[Vw])}}_.J(Js,2,DA)}}_.Wj(b,10,_.GO[0],Js);break;case "download":for(var oJ=new g8c,wy=_.m(Object.entries(h)),Wt=wy.next();!Wt.done;Wt=wy.next()){var xn=_.m(Wt.value),xy=xn.next().value,Jq=xn.next().value;switch(xy){case "type":_.fk(oJ,1,vjd[Jq])}}_.Wj(b,11,_.GO[0],oJ);break;
case "reference":for(var pS=new _.n7c,MF=_.m(Object.entries(h)),Ww=MF.next();!Ww.done;Ww=MF.next()){var vi=_.m(Ww.value),NF=vi.next().value,Xw=vi.next().value;switch(NF){case "type":_.fk(pS,1,wjd[Xw]);break;case "context":for(var EA=pS,jZ=EA.Yi,kZ=Xw,Sg=new m7c,bD=_.m(Object.entries(kZ)),cD=bD.next();!cD.done;cD=bD.next()){var Er=_.m(cD.value),ao=Er.next().value,OF=Er.next().value;switch(ao){case "description":Sg.om(OF);break;case "url":_.ek(Sg,2,OF)}}jZ.call(EA,Sg)}}_.Wj(b,12,_.GO[0],pS);break;case "settingsChange":for(var RN=
new _.z8c,pJ=_.m(Object.entries(h)),qJ=pJ.next();!qJ.done;qJ=pJ.next()){var lZ=_.m(qJ.value),yy=lZ.next().value,zy=lZ.next().value;switch(yy){case "restrictionChanges":var Sha=Yjd(zy);_.Nj(RN,1,Sha)}}_.Wj(b,13,_.GO[0],RN);break;case "approvalChange":for(var Ns=new _.y7c,SN=_.m(Object.entries(h)),rJ=SN.next();!rJ.done;rJ=SN.next()){var Yw=_.m(rJ.value),sJ=Yw.next().value,Fr=Yw.next().value;switch(sJ){case "approvalName":_.ek(Ns,2,Fr);break;case "approvalEventNames":_.Kj(Ns,3,Fr);break;case "initiator":var tJ=
OP(Fr);_.J(Ns,4,tJ);break;case "reviewers":var mZ=Vjd(Fr);_.Nj(Ns,5,mZ);break;case "status":Ns.Dc(zjd[Fr]);break;case "dueTime":var qS=Ijd(Fr);_.J(Ns,7,qS);break;case "approvalRequested":var rS=Ns,u7=new z7c;_.Wj(rS,8,_.BO[0],u7);break;case "approvalCancelled":var uJ=Ns,nZ=new A7c;_.Wj(uJ,9,_.BO[0],nZ);break;case "reviewerResponded":for(var sS=Fr,FA=new _.x7c,Ip=_.m(Object.entries(sS)),Kq=Ip.next();!Kq.done;Kq=Ip.next()){var dO=_.m(Kq.value),Mia=dO.next().value,S0a=dO.next().value;switch(Mia){case "reviewerDecision":_.fk(FA,
1,Ajd[S0a])}}_.Wj(Ns,10,_.BO[0],FA);break;case "commentAdded":var OS=Ns,T0a=new B7c;_.Wj(OS,11,_.BO[0],T0a);break;case "reviewersChanged":for(var BCb=Fr,HZ=new D7c,IZ=_.m(Object.entries(BCb)),U0a=IZ.next();!U0a.done;U0a=IZ.next()){var CCb=_.m(U0a.value),V0a=CCb.next().value,DCb=CCb.next().value;switch(V0a){case "reviewerChanges":var jxc=Zjd(DCb);_.Nj(HZ,1,jxc)}}_.Wj(Ns,12,_.BO[0],HZ);break;case "dueTimeChanged":for(var ECb=Fr,aAa=new F7c,MA=_.m(Object.entries(ECb)),bAa=MA.next();!bAa.done;bAa=MA.next()){var W0a=
_.m(bAa.value),FCb=W0a.next().value,GCb=W0a.next().value;switch(FCb){case "oldDueTime":var HCb=Ijd(GCb);_.J(aAa,1,HCb)}}_.Wj(Ns,13,_.BO[0],aAa)}}_.Wj(b,18,_.GO[0],Ns);break;case "lock":var ICb=new j8c;_.Wj(b,15,_.GO[0],ICb);break;case "unlock":var X0a=new A8c;_.Wj(b,16,_.GO[0],X0a);break;case "appliedLabelChange":for(var Y0a=new _.r7c,Z0a=_.m(Object.entries(h)),cAa=Z0a.next();!cAa.done;cAa=Z0a.next()){var JCb=_.m(cAa.value),Nia=JCb.next().value,dAa=JCb.next().value;switch(Nia){case "changes":var PS=
$jd(dAa);_.Nj(Y0a,1,PS)}}_.Wj(b,19,_.GO[0],Y0a);break;case "publishChange":for(var $0a=new _.u8c,KCb=_.m(Object.entries(h)),a1a=KCb.next();!a1a.done;a1a=KCb.next()){var BJ=_.m(a1a.value),LCb=BJ.next().value,b1a=BJ.next().value;switch(LCb){case "oldPublishState":var MCb=akd(b1a);_.J($0a,1,MCb);break;case "newPublishState":var NCb=akd(b1a);_.J($0a,2,NCb)}}_.Wj(b,20,_.GO[0],$0a);break;case "linkShareMetadataChange":for(var OCb=new _.i8c,c1a=_.m(Object.entries(h)),JZ=c1a.next();!JZ.done;JZ=c1a.next()){var KZ=
_.m(JZ.value),Oia=KZ.next().value,d1a=KZ.next().value;switch(Oia){case "securityUpdateEnabled":_.ck(OCb,1,d1a)}}_.Wj(b,21,_.GO[0],OCb)}}return b},Wjd=function(a){var b=new _.l8c;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":_.fk(b,1,Djd[d])}}return b},Xjd=function(a){return a.map(function(b){var c=new _.FO;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":_.fk(c,1,njd[e]);break;case "user":d=OP(e);_.Wj(c,2,_.EO[0],d);break;case "group":d=new _.DO;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":_.ek(d,1,h);break;case "title":d.setTitle(h)}}_.Wj(c,3,_.EO[0],d);break;case "domain":d=Ujd(e);_.Wj(c,4,_.EO[0],d);break;case "anyone":d=new q8c;_.Wj(c,5,_.EO[0],d);break;case "allowDiscovery":_.ck(c,6,e)}}return c})},Yjd=function(a){return a.map(function(b){var c=
new _.y8c;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":_.fk(c,1,xjd[e]);break;case "newRestriction":_.fk(c,2,yjd[e])}}return c})},Zjd=function(a){return a.map(function(b){var c=new E7c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=OP(e);_.J(c,3,d);break;case "addedReviewer":d=OP(e),_.J(c,4,d)}}return c})},
$jd=function(a){return a.map(function(b){var c=new _.q7c;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":_.ek(c,1,e);break;case "types":d=bkd(e),_.Kj(c,2,d)}}return c})},bkd=function(a){return a.map(function(b){return Bjd[b]})},akd=function(a){var b=new _.t8c;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":_.fk(b,
1,Cjd[d]);break;case "signinRequired":_.ck(b,2,d);break;case "publishedTime":c=Ijd(d),_.J(b,3,c)}}return b};
var dkd=function(a,b){var c=new jed;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=ckd(a),_.J(b,2,a));return b},ckd=function(a){_.NN(["drive#app"],a);var b=(new _.IO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=Y8c(X8c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.A(b,8,a.createUrl);b=_.A(b,9,a.createInFolderTemplate);b=_.A(b,10,a.objectType);b=_.A(b,11,a.supportsCreate);b=_.A(b,12,a.supportsImport);b=_.A(b,13,a.supportsMultiOpen);b=_.A(b,27,a.supportsOfflineCreate);b=
_.A(b,14,a.installed);b=_.A(b,15,a.authorized);b=_.A(b,16,a.productUrl);b=_.Kj(b,17,a.primaryFileExtensions);b=_.Kj(b,18,a.secondaryFileExtensions);b=_.A(b,19,a.shortDescription);b=_.A(b,20,a.longDescription);b=_.A(b,21,a.productId);b=_.A(b,22,a.removable);b=_.A(b,23,ekd[a.type]);b=_.A(b,25,a.hasAppData);b=_.A(b,26,a.appDataQuotaBytesUsed);b=_.A(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.A(b,30,a.hasDriveWideScope);b=_.A(b,31,a.driveSource);b=_.A(b,32,a.driveBranded);b=_.A(b,33,a.hidden);b=_.A(b,
34,a.supportsMobileBrowser);b=_.A(b,35,a.supportsTeamDrives);b=_.A(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.Q8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,fkd[k.category]);h.call(f,l)}_.Nj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Kj(b,24,d);c=a.rankingInfo||{};a=new _.V8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=gkd(c.mimeTypeScores||[]);_.Nj(a,2,d);c=gkd(c.fileExtensionScores||[]);
_.Nj(a,3,c);_.J(b,29,a);return b},gkd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.T8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},ekd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},fkd={application:1,document:2,documentShared:3};
var ikd=function(a){var b=new ffd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.rP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.ON(c.updateTime));d=_.A(d,4,hkd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.ON(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.Yy()){var e=new Sdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2===d.Yy()&&(e=new _.Rdd,e=_.A(e,1,c.deviceName),e=_.A(e,2,c.deviceModelName),
e=_.A(e,3,c.shouldIncludeSpecialSyncItems),c=_.A(e,4,c.deviceAndroidId),_.J(d,7,c));return d});_.Nj(b,2,a);return b},kkd=function(a){var b=new bfd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.sP).Pb(c.id);d=_.A(d,1,jkd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.Tdd(d.setSize(c.size),_.ON(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).om(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Nj(b,1,a);return b},hkd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},jkd={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 lkd=function(a,b){this.H=a;this.O=b};
var mkd={read:2,write:3,comment:4},nkd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.PF((new _.Yk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.cN(d,_.e0c(c.userCapabilities));_.oN(b).includes(19)&&_.cXc(d,!0);hcd(a,d,_.oN(b));_.dXc(d,4);return d},pkd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Mna;f=_.A(f,2,okd(e));e=nkd(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.QA).Qw(d).CP(c.suggestionSessionId);return _.MZc(new _.HN,c)},rkd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=qkd(f.person).Pb(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()===h})||e.push(k);var p=l.itemId,q=d.find(function(r){return r.getId()===p});q||(q=nkd(a,b,l),d.push(q));l=z4c(y4c(x4c(new _.Jna,k.clone()),okd(l)),l.url);_.Xj(q,107,l,_.Jna,void 0)})}});return Y5c((new _.xN).Qw(d),e).CP(c.suggestionSessionId)},qkd=function(a){return _.rWc((new _.Fk).Pb(a.id).jd(a.displayName),a.emailAddress).jo(a.photoUrl)},
tkd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=nkd(a,b,e);e=skd(e);f=_.Nj(f,117,e);d.push(f)}});c=(new _.QA).Qw(d).CP(c.suggestionSessionId);return _.MZc(new _.HN,c)},skd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.qna,e=ukd(c);e&&_.Wj(d,2,_.Ik[0],e);(e=vkd(c))&&p3c(d,e);(e=wkd(c))&&_.Wj(d,4,_.Ik[0],e);(e=xkd(c))&&_.Wj(d,5,_.Ik[0],e);(e=ykd(c))&&_.Wj(d,6,_.Ik[0],e);(e=zkd(c))&&_.Wj(d,7,_.Ik[0],e);(e=Akd(c))&&_.Wj(d,8,_.Ik[0],e);(e=Bkd(c))&&
_.Wj(d,9,_.Ik[0],e);(e=Ckd(c))&&_.Wj(d,10,_.Ik[0],e);(c=Dkd(c))&&_.Wj(d,11,_.Ik[0],c);return d}):(a=PP(a),a=$3c([a]),[p3c(new _.qna,a)])},Fkd=function(a){return(a.justification||[]).map(function(b){return Ekd(b)})},PP=function(a){return(a=a.justification)?Ekd(a):null},Ekd=function(a){var b=m3c(new _.Hk,Gkd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=qkd(c),_.Wj(b,3,_.pna[0],c),n3c(b,[c])):d?(c=(d.person||[]).map(function(e){return qkd(e)}),d=l3c(c),_.Wj(b,4,_.pna[0],d),n3c(b,c)):(c=(a.person||
[]).map(function(e){return qkd(e)}),c.length&&(d=l3c(c),_.Wj(b,4,_.pna[0],d),n3c(b,c)));_.A(b,5,_.ON(a.eventTime));o3c(b,Gkd(a.justificationDescription));return b},Gkd=function(a){if(!a)return null;a=a.textSegment||[];return i3c(new _.nna,a.map(function(b){var c=(new _.Dk).oh(b.text),d=b.link;if(d){var e=new _.Ek;d=_.A(e,1,d.url)}else d=null;c=_.J(c,2,d);c=_.A(c,3,b.bold);return _.A(c,4,b.italic)}))},ukd=function(a){a=a.documentDocosAction;if(!a)return null;var b=O3c(new _.wna,PP(a));N3c(b,(a.subAction||
[]).map(function(c){var d=new _.yna;c.reply?(c=new _.sna,_.Wj(d,1,_.xna[0],c)):c.resolve?(c=new w3c,_.Wj(d,2,_.xna[0],c)):c.reassign?(c=new u3c,_.Wj(d,3,_.xna[0],c)):c.acceptSuggestion?(c=new q3c,_.Wj(d,4,_.xna[0],c)):c.rejectSuggestion?(c=new v3c,_.Wj(d,5,_.xna[0],c)):c.openThread&&(c=new _.rna,_.Wj(d,6,_.xna[0],c));return d}));_.A(b,2,a.discussionId);_.A(b,3,a.postId);P3c(b,Gkd(a.anchorText));return b},wkd=function(a){a=a.documentShareAction;if(!a)return null;var b=S3c(new _.Ok,PP(a));R3c(b,(a.subAction||
[]).map(function(c){var d=new U3c;c.suggestedShare?(c=new A3c,_.Wj(d,1,T3c[0],c)):c.responseToRequest&&(c=new x3c,_.Wj(d,2,T3c[0],c));return d}));Q3c(b,(a.sharee||[]).map(function(c){return qkd(c)}));_.A(b,3,mkd[a.shareeRole]);return b},vkd=function(a){a=a.documentViewAction;if(!a)return null;var b=$3c(Fkd(a));Z3c(b,(a.subAction||[]).map(function(c){var d=new b4c;c.open?d.tg(new kO):c.reviewEdits&&(c=new y3c,_.Wj(d,2,a4c[0],c));return d}));return b},xkd=function(a){a=a.emailViewAction;if(!a)return null;
var b=m4c(new k4c,PP(a));l4c(b,(a.subAction||[]).map(function(c){var d=new o4c;c.openEmail&&d.tg(new s3c);return d}));return b},ykd=function(a){a=a.calendarEventAction;if(!a)return null;var b=G3c(F3c(E3c(new _.Jk,a.eventId),PP(a)),a.guestCount);D3c(b,(a.subAction||[]).map(function(c){var d=new I3c;if(c.viewCalendarEvent){var e=new B3c;_.Wj(d,1,H3c[0],e)}c.shareWithAttendees&&(e=new z3c,_.Wj(d,2,H3c[0],e));c.present&&(e=new t3c,_.Wj(d,3,H3c[0],e));c.openDocument&&(c=new kO,_.Wj(d,4,H3c[0],c));return d}));
return b},zkd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=g4c(f4c(new d4c,a.workspaceId),PP(a));e4c(b,(a.subAction||[]).map(function(c){var d=new i4c;c.addToWorkspace&&(c=new r3c,_.Wj(d,1,h4c[0],c));return d}));return b},Akd=function(a){a=a.documentTopicAction;if(!a)return null;var b=W3c(new _.Pk,PP(a));V3c(b,(a.subAction||[]).map(function(c){var d=new Y3c;c.openDocument&&(c=new kO,_.Wj(d,1,X3c[0],c));return d}));return b},Bkd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=u4c(new _.Sk,PP(a));t4c(b,(a.subAction||[]).map(function(c){var d=new w4c;c.openDocument&&(c=new kO,_.Wj(d,1,v4c[0],c));return d}));return b},Ckd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=K3c(new _.Nk,PP(a));J3c(b,(a.subAction||[]).map(function(c){var d=new M3c;c.openDocument&&(c=new kO,_.Wj(d,1,L3c[0],c));return d}));return b},Dkd=function(a){a=a.formResponseAction;if(!a)return null;var b=q4c(new _.Rk,Fkd(a));p4c(b,(a.subAction||[]).map(function(c){var d=new s4c;c.openDocument?
(c=new kO,_.Wj(d,1,r4c[0],c)):c.viewResponses&&(c=new C3c,_.Wj(d,2,r4c[0],c));return d}));return b},okd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var Hkd=function(a,b){this.H=a;this.O=b},Jkd=function(a,b,c){_.NN(["drive#categoryMetadataList"],c);var d=new zO,e=Object.values(c.categoryMetadata||{});i7c(d,e.map(function(f){return Ikd(a,f,b.Cc())}));d.Dc(1);return new _.AN(d,Idd(c))},Lkd=function(a,b){var c=new xP;red(c,(b.categories||[]).map(function(d){return Kkd(a,d)}));c.Dc(1);return new D9c(c,Idd(b))},Ikd=function(a,b,c){_.NN(["drive#categoryMetadata"],b);c=j6c((new tO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);i6c(c,b.map(function(d){return Mkd(a,
d)}).filter(function(d){return d}));return c},Kkd=function(a,b){var c,d=S6c(J6c(P6c(O6c(N6c(I6c(H6c((new wO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).om(b.description),_.ON(b.createTime)),_.ON(b.updateTime)),_.ON(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new E6c).Pb(e.id);h=_.A(h,2,e.queryGuid);h=_.A(h,3,e.helpText);h=_.A(h,4,e.displayName);if(e.attributeDisplayHints){var k=Nkd(e.attributeDisplayHints);_.J(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new m6c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.J(h,6,k)}_.A(h,7,Okd[f]);e=e[Pkd(f)+"Options"];return Qkd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&K6c(d,Rkd(b.createdBy));b.updatedBy&&L6c(d,Rkd(b.updatedBy));b.publishedBy&&M6c(d,Rkd(b.publishedBy));b.displayHints&&Q6c(d,Nkd(b.displayHints));b.capabilities&&R6c(d,Skd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},Mkd=function(a,b){_.NN(["drive#categoryAttributeValue"],
b);var c=(new rO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),g6c(c,b.map(function(d){_.NN(["drive#userScopedAttributeValue"],d);var e=new d6c,f=_.PN(a.H,d.scopedUser);e=_.J(e,1,f);return a.Lb(e,d)?e:null}).filter(function(d){return d})),c.KA(9);else if(!a.Lb(c,b))return null;return c},Nkd=function(a){var b=(new l6c).hk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},Skd=function(a){var b=new G6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},Qkd=function(a,b,c,d){return Tkd(a,function(){Ukd(a)[c](b,d)},c,b)},Vkd=function(a){a=void 0===a?{}:a;var b=new p6c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},Xkd=function(a){var b=new v6c;w6c(b,(a.choices||[]).map(function(c){var d=new u6c;d=_.A(d,1,c.label).Lb(c.value);c.description&&d.om(c.description);if(c.capabilities){var e=c.capabilities;var f=new s6c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.J(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new t6c).hk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=Wkd(c.badgeColors),_.J(e,3,f)),c.darkBadgeColors&&(c=Wkd(c.darkBadgeColors),_.J(e,4,c)),_.J(d,4,e));return d}));return b},Wkd=function(a){var b=new k6c;var c=Ykd(a.backgroundColor);b=_.J(b,1,c);c=Ykd(a.foregroundColor);b=_.J(b,2,c);a=Ykd(a.soloColor);return _.J(b,3,a)},Ykd=function(a){var b=new _.vC;b=_.Pj(b,1,a.red,0);b=_.Pj(b,2,a.green,0);b=_.Pj(b,3,a.blue,0);a.alpha&&(a=
(new Y4c).Lb(a.alpha),_.J(b,4,a));return b},Zkd=function(a){var b=new z6c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},$kd=function(a){var b=(new _.coa).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};Hkd.prototype.Lb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.KA(Okd[d]);return Tkd(this,function(){ald(c)[d](a,b[b.valueType])},b.valueType)};
var Tkd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof B6c))return z5c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Rkd=function(a){return _.pWc(1).Pb(a.personName.split("/")[1])},Pkd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Ukd=function(a){return{BOOLEAN:function(b,c){var d=b.e4a;var e=new q6c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.gda(Vkd(c))},TEXT_LIST:function(b,c){var d=b.e5a;var e=new y6c;e=_.A(e,1,c.maxEntries);c=Vkd(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new o6c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.Wj(b,10,uO[0],c)},SELECTION:function(b,c){return b.S4a(Xkd(c))},SELECTION_LIST:function(b,c){var d=b.R4a;var e=new x6c;e=_.A(e,1,c.maxEntries);c=Xkd(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.r4a(Zkd(c))},INTEGER_LIST:function(b,
c){var d=b.q4a;var e=new A6c;e=_.A(e,1,c.maxEntries);c=Zkd(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.j5a(new C6c)},USER_LIST:function(b,c){var d=b.spa,e=new D6c;c=_.A(e,1,c.maxEntries);e=new C6c;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Zoa;var e=new n6c;e=_.A(e,4,c.dateFormat);var f=$kd(c.minValue);e=_.J(e,2,f);c=$kd(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new B6c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,Okd[e]);c=c[Pkd(e)+"Options"];Qkd(a,d,e,c);return _.Wj(b,16,uO[0],d)}}},ald=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.opa(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.kpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.cpa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.PN(a.H,c))},USER_LIST:function(b,c){f6c(b,c.map(function(d){return _.PN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Okd={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 bld=function(a){a=a.personResponse;return Z$c(new Y$c,a.map(function(b){var c=b.person;b=V$c(new ZO,b.personId);var d=b.jd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=W$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new U$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))};
var cld=function(a){this.H=a},eld=function(a,b){_.NN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return dld(a,c)})},dld=function(a,b){_.NN(["drive#teamDrive","drive#drive"],b);var c=new _.Ona,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.A(c,2,d);_.A(c,1,b.backgroundImageLink);_.A(c,3,b.trusted);_.A(c,5,b.backgroundImageGridViewLink);_.A(c,6,b.backgroundImageListViewLink);_.A(c,7,b.hidden);_.A(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
F1c(c,d.map(function(e){_.NN(["drive#driveCategoryReference"],e);var f=new _.Xk;return _.A(f,1,e.category)}));c=_.iXc(_.hXc(_.gXc(_.dXc(_.eXc(E1c(_.PF((new _.Yk).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.DWc(_.e0c(b.capabilities),!0),_.cN(c,d));b.permissionsSummary&&_.fXc(c,_.u0c(a.H,b.permissionsSummary));b.restrictions&&H1c(c,fld(b.restrictions));return c},fld=function(a){var b=new A4c;
b=_.A(b,1,a.copyRequiresWriterPermission);b=_.A(b,2,a.disallowDriveFileStream);b=_.A(b,3,a.domainUsersOnly);return _.A(b,4,a.teamMembersOnly)};
var gld={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},V2c=_.ab(gld);
var hld=function(a){_.NN(["drive#setting"],a);var b=new _.Ob;b=_.A(b,2,a.key);b=_.A(b,1,gld[a.namespace]);return _.WAa(new _.hp,b).Lb(a.value)};
var jld=function(a){_.NN(["drive#workspaceList"],a);var b=a.items||[];b=bad(new $O,b.map(function(c){return ild(c)}));return new _.DN(b,Idd(a))},ild=function(a){_.NN(["drive#workspace"],a);var b=(new _.KF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.ON(a.createdDate));return _.A(b,4,_.ON(a.modifiedDate)).Nd(kld[a.state])},lld=function(a,b,c){var d=c.item||[];return _.l1c(_.k1c(new _.WN,d.map(function(e){return nkd(a,b,e)})),c.suggestionSessionId)},nld=function(a,b,c){var d=c.item||[];return f9c(e9c(new KO,
d.map(function(e){return mld(a,b,e)})),c.suggestionSessionId)},mld=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return c9c(a9c(b9c($8c(new JO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return nkd(a,b,f)})),PP(c))},old=function(a){var b=new _.a6c;a.kind&&(a=ild(a),_.J(b,2,a));b.Dc(1);return b},kld={active:1,archived:2};
var R2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var pld=function(a,b,c,d){_.E0c.call(this,b);this.Jg=a;this.ka=c;this.O=d;this.W=null;this.ma=new bjd(this.V,b);this.H=new cld(this.nF);this.oa=new lkd(this.nF,this.H)};_.L(pld,_.E0c);var qld=function(a){a.W||(a.W=new Hkd(a.V,a.ka));return a.W};
pld.prototype.ha=function(a,b){if(a instanceof _.eM)var c=_.m0c(_.J0c(a));else{if(a instanceof _.fM)var d=_.G0c(this,a,b);else{if(a instanceof _.RVc)var e=rld(this,a.request,b);else{if(a instanceof _.gM)var f=_.G0c(this,a,b);else{if(a instanceof _.iM){if(!b.json)throw _.QN();var h=k7c((new j7c).Dc(1),dld(this.H,b.json))}else{if(a instanceof _.hM)var k=_.G0c(this,a,b);else{if(a instanceof _.tN)var l=new X6c;else{if(a instanceof _.kM)var p=sld(a,b);else{if(a instanceof _.lM)var q=dkd(void 0,a.zh());
else{if(a instanceof _.mM)var r=new gfd;else{if(a instanceof _.nM)var u=_.m0c(_.J0c(a));else{if(a instanceof _.oM)var y=new wP;else{if(a instanceof _.pM)var z=_.m0c(_.J0c(a));else{if(a instanceof _.qM)var D=_.m0c(_.J0c(a));else{if(a instanceof _.jD){var H=new ked,I=a.getKey();var M=_.J(H,4,I)}else{if(a instanceof _.rM)var Q=sld(a,b);else{if(a instanceof _.uM)var W=_.m0c(_.J0c(a));else{if(a instanceof _.OVc){if(!b.json)throw _.QN();var pa=new B9c(b.json.exportJob.id)}else{if(a instanceof _.wM){if(!b.json)throw _.QN();
var ia=b.json,na=new fed,qa=ckd(ia);var ua=_.J(na,2,qa).Dc(1)}else{if(a instanceof _.xM)var Wa=tld(a,b);else{if(a instanceof _.yM){if(!b.json)throw _.QN();var Ea=(new wP).Dc(1),Pa=_.n0c(this.nF,b.json);var dc=_.J(Ea,2,Pa)}else{if(a instanceof _.JL)a:{if(!b.json)throw _.QN();if(a instanceof _.JL){var pb=a.wd();if(pb&&_.zM(pb)){var Zb=pkd(this.O,this.Jg,b.json);break a}if(pb&&_.AM(pb)){Zb=rkd(this.O,this.Jg,b.json);break a}if(pb&&_.BM(pb)){Zb=tkd(this.O,this.Jg,b.json);break a}}Zb=_.j0c(this.nF,b.json,
b.headers)}else{if(a instanceof _.CM){if(!b.json)throw _.QN();var Jc=kkd(b.json)}else{if(a instanceof _.DM){if(!b.json)throw _.QN();var ne=b.json;_.NN(["drive#appList"],ne);for(var oe=new YO,Id=[],ff=ne.items||[],Dc=0;Dc<ff.length;Dc++)Id.push(ckd(ff[Dc]));var Bb=_.Nj(oe,2,Id);var Og=_.Kj(Bb,4,ne.defaultAppIds).Dc(1)}else{if(a instanceof _.PVc){if(!b.json)throw _.QN();var Ag=ikd(b.json)}else{if(a instanceof _.VL)var Ve=uld(this,b);else{if(a instanceof _.EM){if(!b.json)throw _.QN();var Cj=new ied,
Zf=this.nF,ni=b.json,Fg=new qO,im=_.o0c(Zf,ni,"items");var pf=_.Nj(Fg,2,im);var $e=_.J(Cj,1,pf);var eh=_.A($e,2,Idd(b.json))}else{if(a instanceof _.FM){if(!b.json)throw _.QN();var oi=this.nF,aj=b.json,Ml=new R5c;_.NN(["drive#revisionList"],aj);for(var ik=[],Qj=aj.items||[],fh=0;fh<Qj.length;fh++){var gl=_.k0c(oi,Qj[fh]);ik.push(gl)}var hl=_.Nj(Ml,2,ik)}else{if(a instanceof _.kL)var Gg=vld(a,b);else{if(a instanceof _.HM){if(!b.json)throw _.QN();var il=bld(b.json)}else{if(a instanceof _.XVc){if(!b.json)throw _.QN();
var jm=Lkd(qld(this),b.json)}else{if(a instanceof _.GF){if(!b.json)throw _.QN();var jl=qld(this),Wh=b.json,Dj=new sed,oj=Kkd(jl,Wh);var pj=_.J(Dj,2,oj).Dc(1)}else{if(a instanceof _.IM){if(!b.json)throw _.QN();var Rj=b.json;_.NN(["drive#remainingCount"],Rj);var Jh=new ted,Nl=Rj.nextPageToken;null!=Nl&&_.A(Jh,2,Number(Nl));_.A(Jh,1,Number(Rj.remainingCount));var qj=Jh}else{if(a instanceof _.JF){if(!b.json)throw _.QN();var jk=(new _.QA).Qw([dld(this.H,b.json)])}else{if(a instanceof _.SM){if(!b.json)throw _.QN();
var km=(new _.QA).Qw(eld(this.H,b.json)),kl=_.MZc(new _.HN,km);var Im=_.A(kl,3,Idd(b.json))}else{if(a instanceof _.MM)var kk=tld(a,b);else{if(a instanceof _.NM)var Kk=rld(this,a,b);else{if(a instanceof _.TL)var uf=_.G0c(this,a,b);else{if(a instanceof _.OM)var Bi=_.G0c(this,a,b);else{if(a instanceof _.PM)var lk=wld(this,b);else{if(a instanceof _.kD){if(!b.json)throw _.QN();var Fc=hld(b.json),Lk=new ked;var Pg=_.J(Lk,3,Fc);var mk=Fc.getKey();var Mi=_.J(Pg,4,mk)}else{if(a instanceof _.QM)var Ln=sld(a,
b);else{if(a instanceof _.EL){if(!b.json)throw _.QN();var nk=fjd(this.ma,b.json)}else{if(a instanceof _.LF){if(!b.json)throw _.QN();var xh=ild(b.json),Qg=new _.yN;Qg.RT().set(xh.getId(),xh);var Mk=Qg}else{if(a instanceof _.QVc){if(!b.json)throw _.QN();for(var ll=b.json,Qh=new x9c,Ni=_.m(Object.entries(ll)),jn=Ni.next();!jn.done;jn=Ni.next()){var pi=_.m(jn.value),ml=pi.next().value,Mn=pi.next().value;switch(ml){case "nextPageToken":_.ek(Qh,2,Mn);break;case "activities":var kn=Kjd(Mn);_.Nj(Qh,1,kn)}}var Jm=
Qh}else{if(a instanceof _.SVc)var Nn=wld(this,b);else{if("undefined"!=typeof _.WVc&&a instanceof _.WVc)var Ol=uld(this,b);else{if(a instanceof _.TVc){if(!b.json)throw _.QN();var Km=new A9c}else{if(a instanceof _.UVc){if(!b.json)throw _.QN();var ln=U2c(b)}else{if(a instanceof _.iD){if(!b.json)throw _.QN();var On=b.json,xk=new _.sz;_.NN(["drive#settingList"],On);for(var To=[],Fp=On.items||[],Gp=0;Gp<Fp.length;Gp++){var Js=hld(Fp[Gp]);Js&&To.push(Js)}var Pw=_.Vhb(xk,To)}else{if(a instanceof _.IF){if(!b.json)throw _.QN();
var Ks=nld(this.O,this.Jg,b.json).Dc(1)}else{if(a instanceof _.HF){if(!b.json)throw _.QN();var Yn=lld(this.O,this.Jg,b.json)}else{if(a instanceof _.bWc){if(!b.json)throw _.QN();var Iq=b.json;_.NN(["drive#teamDrive"],Iq);var Ut=Iq.recursiveFolderCount,$C=Iq.recursiveFileCount,DA=new Ydd;var aD=_.A(DA,1,$C);var Vt=_.A(aD,2,Ut)}else{if(a instanceof _.aWc)var Tw=xld(b);else{if(a instanceof _.dWc){if(!b.json)throw _.QN();var Uw=jld(b.json)}else Uw=a instanceof _.fO?wld(this,b):null;Tw=Uw}Vt=Tw}Yn=Vt}Ks=
Yn}Pw=Ks}ln=Pw}Km=ln}Ol=Km}Nn=Ol}Jm=Nn}Mk=Jm}nk=Mk}Ln=nk}Mi=Ln}lk=Mi}Bi=lk}uf=Bi}Kk=uf}kk=Kk}Im=kk}jk=Im}qj=jk}pj=qj}jm=pj}il=jm}Gg=il}hl=Gg}eh=hl}Ve=eh}Ag=Ve}Og=Ag}Jc=Og}Zb=Jc}dc=Zb}Wa=dc}ua=Wa}pa=ua}W=pa}Q=W}M=Q}D=M}z=D}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var sld=function(a,b){if(!b.json){if(a instanceof _.rM)return old({});throw _.QN();}return old(b.json)},wld=function(a,b){if(!b.json)throw _.QN();a=dld(a.H,b.json);return(new _.UM).Dc(1).setItem(a)},rld=function(a,b,c){if(!c.json)throw _.QN();return Jkd(qld(a),b,c.json)},tld=function(a,b){if(!b.json)throw _.QN();return dkd(b.json,a.zh())},uld=function(a,b){if(!b.json)throw _.QN();a=a.oa;var c=b.json;_.NN(["drive#about","drive#changeList"],c);b=new S$c;var d=c.nextPageToken;null!=d&&_.A(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.A(b,3,Number(d));if("drive#changeList"==c.kind){_.NN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.NN(["drive#change"],h);var k=new _.ML;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.kVc(k,h.teamDriveId),_.NL(k,h.teamDriveId)):_.NL(k,h.fileId);h.file?k.setItem(_.g0c(f.H,h.file)):h.teamDrive&&k.setItem(dld(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.XL(k);d.push(k)}_.Nj(b,4,d)}return b},xld=function(a){var b,c;if(!a.json)throw _.QN();
a=a.json;var d=a.result&&a.result.status;d=d&&yld[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 Ked(Jed(Ied(new _.Hed,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Fed;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Eed(Ded(Ced(Bed(new yP,Idd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},vld=function(a,b){var c=new ifd;if(_.Md(a,6).length){var d=[];R1c(_.Md(a,6),b.headers).forEach(function(e,f){var h=new _.jSc;e=_.A(h,1,f).Lb(e);d.push(e)});_.Nj(c,1,d)}jfd(c,b.json?JSON.stringify(b.json):b.text);return c},yld={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Ald=function(a){var b=new _.Po;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(zld[a]);_.qN(b,c.join(" "))}return b.toString()},Bld={},zld=(Bld[1]="active",Bld[2]="archived",Bld);
var Cld=function(a,b,c,d){_.TN.call(this,b,c,a.RMa,d);this.ma=a;this.ha=new e$c(_.oN(c),b)};_.L(Cld,_.TN);
Cld.prototype.V=function(a,b,c){var d=this;try{return _.TN.prototype.V.call(this,a,b,c)}catch(Q){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.fM){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.R(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.P(a,4)&&(k.preflightValidationToken=_.B(a,4));var r=Jdd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.gM){h="POST";q="files/"+a.Cc()+"/authorize";k.appId=a.zh();
_.R(a,3)&&(k.propagate=!0);var u=a.xe();p=!0;_.nN(k);_.XM(this.H,[],[a.Cc()],this.O,f)}else if(a instanceof _.fO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=PO(this.H,[],!0),u=a.xe(),p=!0;else if(a instanceof _.SVc)h="POST",q="teamdrives/"+a.requestId,k.fields=PO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.xe(),p=!0;else if(a instanceof _.kM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Ldd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.hM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.FVc({fields:this.Lg(c),lr:_.CL(_.DL(this.H)),BG:_.IL(this.H)}),k.convert=_.S(a,4,!1),r=Kdd(a),f["content-type"]="application/json",u=a.xe(),a=_.Md(a,3).concat([a.getId()]),_.XM(this.H,[],a,this.O,f),p=!0,_.nN(k),_.V0c(this.H,k);else if(a instanceof _.lM)h="DELETE",q="apps/"+a.zh(),k.appId=a.zh(),k.deleteAppData=
!!_.R(a,2),u=a.xe(),p=!0;else if(a instanceof _.mM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.nM)h="DELETE",q="files/"+a.getId(),u=a.xe(),p=!0,_.nN(k),_.V0c(this.H,k),_.XM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.oM)h="DELETE",q="files/"+a.Cc()+"/permissions/"+_.B(a,2),u=a.xe(),p=!0,_.nN(k);else if(a instanceof _.pM)h="DELETE",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),u=a.xe(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.qM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.xe(),p=!0;else if(a instanceof _.jD)h="DELETE",u=a.getKey(),q="settings/"+_.B(u,2),_.ip(u)&&(k.namespace=V2c[_.ip(u)]),u=a.xe(),p=!0;else if(a instanceof _.rM)h="DELETE",q="workspaces/"+a.getId(),u=a.xe(),p=!0;else if(a instanceof _.uM)h="DELETE",q="files/trash",u=a.wd().xe(),p=!0,_.V0c(this.H,k);else if(a instanceof _.wM)q="apps/"+a.zh(),u=a.xe(),p=!0,k.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.CM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.xM)h="POST",q="apps",k.appId=a.zh(),u=a.xe(),p=!0;else if(a instanceof _.yM)h="POST",q="files/"+a.Cc()+"/permissions",k.fields=_.IL(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.B(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.Af()?r.role="owner":3==a.Af()?r.role="writer":4==a.Af()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Af()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Ya()&&(r.value=a.Ya()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.xe(),p=!0,_.nN(k);else if(a instanceof _.OVc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Md(a,1).map(function(Q){if(_.S(d.H,89,!1)){var W=_.xZc(d.O,Q);if(null!==W)return{id:Q,resource_key:{resource_key:W}}}return{id:Q}}),r={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.JL||a instanceof _.tN||a instanceof _.IF||a instanceof _.HF)if(b=a instanceof _.JL?a.wd():a,_.WM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.hN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=n$c(this.H);z.platformType=y;z.languageCode=mO(_.DL(this.H));z.timeZone=(new _.Et).x$();z.requestType="LIVE_REQUEST";a instanceof _.JL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ye?_.zM(b)?(k$c(this.ha)?(z.scenarioType="ONE_PICK",this.Cd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.fN(b)&&(k$c(this.ha)||(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Md(b,33)[0]}),_.Fl(b).length&&
(r.itemType=m$c(b))):_.AM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.BM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.tN?(q="/v1/userfeedback",r.userFeedback=_.Uj(b,_.U6c,1).map(function(Q){var W=_.C(Q,_.xO,2),pa={},ia={};ia.feedbackType=l7c[W.getType()];pa.item=ia;pa.clientInfo=z;switch(Q.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ia.itemId=W.Cc();break;case 3:z.scenarioType="QUICK_ACCESS";ia.itemId=W.Cc();break;case 2:z.scenarioType="DRIVE_WORKSPACES",ia.itemId=W.Cc(),ia.childItem=
_.Uj(W,_.xO,3).map(function(na){var qa={};qa.itemId=na.Cc();return qa})}return pa})):b instanceof _.IF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.HF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Pp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.Y0c(a);b instanceof _.tN||(r.maxSuggestions=b.Mi(),r.clientInfo=z)}else{u=b.xe();p=!0;q="files";k.q=_.AYc(b);y=[];var D;(D=_.SL(this.H))&&
_.S(D,4,!1)?(D=_.xa(this.Lg(c),this.Lg(c,b.O())),_.Fa(D)):D=_.ya(this.Lg(c));var H=void 0,I=!1;0<_.Uj(b,_.Al,5).length&&(H=_.B(this.H.$f(),50),I=!0);k.fields=w1c({fields:D,lr:_.CL(_.DL(this.H)),v7:H||void 0,BG:_.IL(this.H),pBb:I});k.appDataFilter="NO_APP_DATA";0<_.Uj(b,_.eN,25).length&&(k.sources=_.sYc(b));0<b.mB().length&&(k.spaces=_.tYc(b));a.Un()&&(k.pageToken=a.Un());(a=a.getOptions())&&_.bk(a,1,1E3)&&(k.maxResults=_.bk(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.B(b,43)&&(k.rawUserQuery=
_.B(b,43));_.nN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Md(b,33).length&&2==_.fN(b)&&(a=_.Md(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.$Xc[_.fN(b)];_.R(b,18)&&(_.Xa(k,"corpora"),k.corpus="DOMAIN");a=_.Gl(b);D=_.Uj(b,_.vl,35);H=_.Uj(b,_.vl,38);y=y.concat(a.filter(function(Q){return!_.S(Q,2,!1)}).map(function(Q){return Q.Ya()})).concat(D.map(function(Q){return Q.Ya()})).concat(H.map(function(Q){return Q.Ya()}));_.XM(this.H,_.Uj(b,_.Cl,63),y,this.O,f);T1c(k,b.Ac());_.W0c(this.H,k);_.X0c(this.H,
k);_.C(b,_.dea,64)&&(a=B4c(_.C(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.DM){q="apps";switch(a.getType()){case 1:k.fields=Dld;break;case 2:k.fields=Eld;break;case 4:k.fields=Fld;break;case 3:e=5,q="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",k.appQueryScope="all_webstore",b.mu=!0}k.languageCode=mO(_.DL(this.H));
0<_.Md(a,3).length&&(k.appFilterExtensions=_.Md(a,3).join(","));0<_.Md(a,4).length&&(k.appFilterMimeTypes=_.Md(a,4).join(","));u=a.xe();p=!0}else if(a instanceof _.PVc)q="backups",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.VL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.RQ(),k.startChangeId=_.B(a,1),k.fields=v1c({fields:this.Lg(c),v7:PO(this.H,_.Md(a,5)),lr:_.CL(_.DL(this.H)),BG:_.IL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Md(this.H.$f(),31),u.length&&(k.spaces=_.We(u,function(Q){return _.mSc[Q]}).join(",")),_.nN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.xe(),p=!0;else if(a instanceof _.EM)b=a.wd(),q="files/"+b.getId()+"/permissions",k.fields=_.IL(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",
a.Un()&&(k.pageToken=a.Un()),_.B(a,1)&&(k.maxResults=_.B(a,1)),u=b.xe(),p=!0,_.nN(k),_.W0c(this.H,k),_.X0c(this.H,k),_.XM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.FM)k.fields=_.IL(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
k.maxResults=a.Mi(),q="files/"+a.Cc()+"/revisions",u=a.xe(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.JF)q="teamdrives/"+a.hn()[0],k.fields=PO(this.H,a.O()),u=a.xe(),p=!0;else if(a instanceof _.aWc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=Mdd(a),f["content-type"]="application/json",p=l=!0,_.XM(this.H,[],_.Md(a.request,1),this.O,f);else if(a instanceof _.SM)u=a.wd(),q="teamdrives",k.fields=F9c(this.H,u.O()),k.q=W9c(u),
a.Un()&&(k.pageToken=a.Un()),(u=(u=a.getOptions())&&_.bk(u,1,1E3))&&(k.maxResults=u),u=a.wd().xe(),p=!0;else if(a instanceof _.bWc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.MM)h="PUT",q="apps/"+a.zh(),k.appId=a.zh(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.TL)h="PUT",q="files/"+a.getId(),k.fields=_.FVc({fields:this.Lg(c),lr:_.CL(_.DL(this.H)),
BG:_.IL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Md(a,9).length&&(k.addParents=_.Md(a,9).join(",")),_.Md(a,10).length&&(k.removeParents=_.Md(a,10).join(",")),_.Md(a,31).length&&(k.addWorkspaces=_.Md(a,31).join(",")),_.Md(a,32).length&&(k.removeWorkspaces=_.Md(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=mO(_.DL(this.H)),r=Ndd(a),f["content-type"]="application/json",u=a.xe(),p=!0,_.nN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.V0c(this.H,k),b=_.Md(a,9).concat(_.Md(a,10)),b.push(a.getId()),_.XM(this.H,_.Uj(a,_.Cl,38),b,this.O,f);else if(a instanceof _.OM)h="PUT",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),r=Odd(a),f["content-type"]="application/json",u=a.xe(),_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.PM)q="teamdrives/"+a.getId(),null!=a.Dm()?(h="POST",q+="/"+(a.Dm()?"hide":"unhide")):(h="PUT",r=Pdd(a),f["content-type"]="application/json"),k.fields=PO(this.H),u=a.xe(),p=!0;else if(a instanceof
_.QM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Qdd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.kD)h="PUT",r=_.C(a,_.hp,1),u=r.getKey(),q="settings/"+_.B(u,2),(u=_.ip(u))&&(k.namespace=V2c[u]),r=W2c(r),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.EL)q="about",k.fields=_.IL(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",k.fields=Z2c(k.fields,this.H),k.fields=$2c(k.fields,this.H),u=a.xe(),p=!0;else if(a instanceof _.kL){e=11;h=a.Kz();q=a.getUrl();var M=_.B(a,5)||"";_.Uj(a,_.jSc,2).forEach(function(Q){f[Q.getKey()]=
Q.Ya()});_.Uj(a,_.jSc,4).forEach(function(Q){k[Q.getKey()]=Q.Ya()});_.R(a,7)&&(b.BKb=!0);_.R(a,8)&&(b.mu=!0);_.R(a,9)&&(b.QEa=!0)}else a instanceof _.RVc?(b=a.request.Cc(),q="files/"+b+"/listCategoryMetadata",u=a.request.xe(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),k.fields="kind,nextPageToken,categoryMetadata",_.XM(this.H,[],[b],this.O,f)):a instanceof _.NM?(f["content-type"]="application/json",h="POST",b=a.Cc(),q="files/"+b+"/updateCategoryMetadata",
u=a.xe(),r={categoryMetadata:a.JV().map(function(Q){var W=_.Uj(Q,_.EF,2).map(function(ia){return{id:ia.getId(),userId:ia.Qz(),setBooleanValue:_.R(ia,3),setTextValue:_.B(ia,4),setTextValues:_.Md(ia,6),addTextValues:_.Md(ia,5),setLongTextValue:_.B(ia,7),setSelectionValue:_.B(ia,8),setSelectionValues:_.Md(ia,10),addSelectionValues:_.Md(ia,9),setIntegerValue:_.B(ia,11),setIntegerValues:_.Md(ia,13),addIntegerValues:_.Md(ia,12),setUserValue:_.B(ia,14),setUserValues:_.Md(ia,16),addUserValues:_.Md(ia,15),
setDateStringValue:_.B(ia,17)}}),pa={categoryName:Q.an()};W.length?pa.categoryAttributeValueDeltas=W:_.Md(Q,4).length?pa.revertAttributeIds=_.Md(Q,4):_.R(Q,3)&&(pa.removeCategory=_.R(Q,3));return pa})},_.XM(this.H,[],[b],this.O,f)):a instanceof _.HM?(e=13,q=_.CL(_.DL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.hn(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=
["DASHER_ADMIN_DISABLED"],_.CL(_.DL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.XVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=mO(_.DL(this.H))):a instanceof _.GF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
mO(_.DL(this.H))):a instanceof _.iM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.xe(),p=!0,k.fields=PO(this.H,[157],!0),r={},b=_.Uj(a,_.Xk,2),b.length&&(r.addCategoryReferences=b.map(function(Q){return{category:Q.an()}})),a=_.Uj(a,_.Xk,3),a.length&&(r.removeCategoryReferences=a.map(function(Q){return Q.an()}))):a instanceof _.LF?(q="workspaces/"+a.hn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.xe(),p=!0):a instanceof _.QVc?
(e=7,h="POST",q="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.SL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.TVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.UVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.WVc&&a instanceof _.WVc?(q="changes",k.fields="kind,largestChangeId",_.nN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.iD?(q="settings",u=_.Md(a,3),k.namespace=X2c(u),u=a.xe(),p=!0):a instanceof _.dWc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),k.q=Ald(a.request),(u=a.request.qw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.xe(),p=!0):a instanceof _.IM?(q="changes/getRemainingCount",k.pageToken=_.B(a,2),_.P(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.xe()):a instanceof _.eM?(f["content-type"]="application/json",h="POST",q="files/"+a.Cc()+"/sendAccessRequest",r={},l=!0):_.Y0c(a);p&&_.Z0c(c,k);0!=e||l||u&&_.B(u,1)||_.EN(this.Cd,74438989);return _.$0c(this,e,q,k,f,h,u,r,M)};
Cld.prototype.W=function(a,b){a=this.ma.xm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var Dld=Y2c("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing"),Eld=
Y2c("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData"),
Fld=Y2c("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData,appDataQuotaBytesUsed");
var Gld=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,D,H,I,M,Q,W,pa,ia){this.Loa=_.Th();this.Lfa=new _.mZc;var na=new _.OZc(this.fK.bind(this),function(){return W("w8KrJc")}),qa=new $id(b.xm),ua=new Rid(na);c=new Jid(b,f,new Eid(d,e,c),h,this.Loa.promise,k,l,c,W);d=new Zid(b,p,q,r,u,d,e,D,k);this.O=new _.pZc(a,y);y=new Cld(b,a,k,pa);this.Ssa=new pld(k,a,z,D);this.H=Hdd(a,new _.b0c(this.O,this.Lfa,y,this.Ssa,H,I,M),I,z,Q,b.xm,this.Lfa,this.Loa.promise,M||void 0);this.Loa.resolve(ia?ia:new _.A_c(new ajd,
qa,ua,this.H,na,c,d,a))};Gld.prototype.fK=function(){return _.Qa(this.H,function(a){return a.fK()})};var Nfd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=U5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var Hld=function(a,b){var c=this;this.context=a;this.Jg=b;this.ha=null;this.zR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Cd=a.Sk();this.W=new _.yn;this.O=a.Oc;this.Ha=_.SL(this.O)||new _.SUc;b=_.nO(this.O);this.va=new _.vZc(_.bk(b,2,37500),_.bk(b,3,6E5));this.ma=a.wQ;_.Ma(y$c,function(d){c.V[d]=[]});bP(a.Qj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});bP(a.Qj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});bP(a.Qj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.lL().catch(_.Ef)})};_.g=Hld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,IP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&z5c(a.context.Sf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.bM(c));a.log("Error initializing dump storage");a.iS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.yna=function(a){this.active&&(this.zR+=a,this.zR>_.bk(_.nO(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.$Q().fK()||0<b.uf.zI.doa||b.Jj().Ue()||b.rk().Ue())||((this.active=a)?(this.W.resolve(),this.H||this.lL().catch(_.Ef)):(this.W=new _.yn,_.n.clearTimeout(this.oa)))}};_.g.iS=function(){this.ka=!0};_.g.PWa=function(){return this.H?this.H.promise:(new _.yn).resolve()};
_.g.lL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.yn;this.H.promise.finally(function(){a.H=null});var b=this.Cd.H(106021)||void 0;this.W.promise.then(function(){return Bdd(a.context.tD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([Ild(a,3,d,void 0,void 0,b),Ild(a,0,d,void 0,!0,b),Ild(a,1,d,void 0,!0,b),Ild(a,5,d,void 0,!0,b),Ild(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.lc("Failed to update dump",void 0,_.bM(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=G5c(b),_.A(c,2,!0),b.Zj())},function(c){a.H.reject(c);b&&(c=G5c(b),_.A(c,2,!1),b.Zj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.yn,e=this.Cd.H(106021)||void 0;e&&(p5c(G5c(e),_.vN(_.MUc,a)),d.promise.then(function(){var f=G5c(e);_.A(f,2,!0);e.Zj()},function(){var f=G5c(e);_.A(f,2,!1);e.Zj()}));this.W.promise.then(function(){return Bdd(c.context.tD)}).then(function(f){f=!f;c.ka?d.resolve():Ild(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var Ild=function(a,b,c,d,e,f){var h=_.fa(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.yn;h.promise.finally(function(){a.Ju(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Ju(b,c,d,e,f);var l={encrypt:c,promise:k.promise};a.V[b].push(l);return k.promise.catch(function(p){a.ma.O.Jf()?a.iS():p instanceof _.lc&&(p=p.O||null,p instanceof _.yL&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.iS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
Hld.prototype.Ju=function(a,b,c,d,e){var f=this,h=new _.yn;this.W.promise.then(function(){if(3===a)Jld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.XP;k=k.H?k.H.clone():null;break;case 1:k=f.context.e_.Iq();break;case 5:k=Kld(f.context.gE);break;case 6:k=f.context.uf.xq;k=Z$c(new Y$c,Vad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.Uj(_.nO(f.O),lO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):zcd(f.ma,b?l:null,
[k],e).then(h.resolve,h.reject)}else d?(f.log("Skipping dump update: "+a),h.resolve()):h.reject(Error("qg"))}});return h};
var Jld=function(a,b,c,d){_.n.clearTimeout(a.oa);a.oa=_.n.setTimeout((0,_.v)(a.Ja,a),a.va.Ya());if(b&&0===a.zR)return Promise.resolve();a.zR=0;var e=_.Uj(_.nO(a.O),lO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(q9c,function(k){0<k&&(k=Lld(a,k),k.length&&f.push(zcd(a.ma,c?e:null,k,d)))});var h=new _.yn;Promise.all(f).then(function(){a.Fa&&a.context.tD.set(zdd,!0);h.resolve()},h.reject);return h.promise};
Hld.prototype.Ja=function(){_.rH(this.va);this.update(3,!0)};
var Lld=function(a,b){switch(b){case 1:return[Mld(a)];case 2:var c=(b=a.context.uf.Vu.H)?b.gy():[];c=Nld(a,_.Sa(x2c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.bk(_.nO(a.O),5,2E4)&&(b&&dP(b,!1),c=[]);c=k9c(new MO,Old(c));var d=a.context.uf.Vu;a=new I2c;(d=d.H)&&d.iK&&(d=d.gy(),_.A(a,3,d.length));c=_.J(c,11,a);c=p9c(c,2);b&&n9c(c,b.KN());return[c];case 3:return Pld(a);case 4:return Qld(a);default:throw new _.lc("Unsupported CacheType");}},Mld=function(a){for(var b={},c=[],
d=Dad(a.context.uf.Vu,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.gy(),l=Nld(a,w2c(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=h9c(new LO,h.wd()),h.H||(_.A(l,2,k),_.J(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return n9c(p9c(m9c(k9c(l9c(o9c((new MO).Fu(a.context.Wn()),_.oN(a.Jg)),a.ha.XQ(null)),Old(d)),c),1),!e)},Pld=function(a){var b=[],c=a.ha;a.context.uf.Vu.dW().forEach(function(d){var e=c.XQ(d.Bc());if(e){var f=
Nld(a,w2c(d.gy()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=n9c(p9c(l9c(k9c(new MO,Old(f)),e),3),d.KN(d.wd()));d=h9c(new LO,d.wd());m9c(e,[d]);b.push(e)}});return b},Qld=function(a){var b={},c=[];a.context.uf.dW().forEach(function(d){1===d.HJ()&&null==_.R(d.wd(),6)&&(w2c(d.gy()).forEach(function(e){b[e.getId()]=e}),d=i9c(h9c(new LO,new _.Ye),d.wd()),c.push(d))});return[n9c(p9c(m9c(k9c(new MO,Old(Object.values(b))),c),4),!1)]},Nld=function(a,b){b=X1c(b);_.R(a.O,67)&&(b=Rld(b));
_.IL(a.O)&&(_.S(a.Ha,9,!1)?pbd(a.context.uf.xq,b)&&(_.EN(a.Cd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=nbd(a.context.uf.xq,b)):b=nbd(a.context.uf.xq,b));return b.filter(function(c){return 4!==bO(c)})},Rld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,N1c(c)?(c=c.clone(),x1c(c,M1c),b.push(c)):b.push(c);return b},Old=function(a){return a.map(function(b){return b.clone()})};
Hld.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};Hld.prototype.eEa=function(){this.Fa=!0};
var Sld=function(){};_.g=Sld.prototype;_.g.setActive=function(){};_.g.iS=function(){};_.g.update=function(){return Promise.resolve()};_.g.PWa=function(){return Promise.resolve()};_.g.lL=function(){return Promise.resolve()};_.g.yna=function(){};_.g.eEa=function(){};
var iO=function(a,b,c,d){_.ri.call(this);var e=this;this.Aa=a;this.$r=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.fYc;this.Oc=b.clone();(a=_.SL(this.Oc))&&_.S(a,1,!1)&&_.MH(this.Oc,28);this.Jg=new _.oYc(this.Oc);this.Hm=new e$c(_.oN(this.Jg),this.Oc);Tld(this);this.DX=new _.yn;this.nb=_.n.setTimeout(function(){e.Sf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.DX.resolve();e.Sk().O(106020)},1E4);this.d_=new _.Vh;this.Ba=new _.QYc(_.iN(this.Oc),_.S(this.Oc.$f(),
52,!1));this.connectionState=new _.JYc(_.iN(this.Oc)?3:1,!_.S(this.Oc.$f(),52,!1));this.Cd=_.fZc(this.Oc,this.Ba,this.connectionState,this.va,this.DX.promise,this.$r);this.Mfa=new K$c(this.Cd);this.fQ=new _.Vh;Uld(this)};_.L(iO,_.ri);iO.prototype.getEnvironment=function(){return this.$r};iO.prototype.ZR=function(){this.Sf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.nb);this.DX.resolve()};
var Uld=function(a){var b=function(){a.Hu().Gg(_.Ef)},c=a.Aa;(c=c&&_.hc(c,_.$l))?_.Ke(c,"w",b):_.RUc()||_.Ke(_.n,"unload",b)};iO.prototype.Hu=function(){this.Cd.O(106005);K5c(this.Cd);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.pL(a).then()};var Vld=function(a,b){a.ma.push(b)};_.g=iO.prototype;_.g.Sf=function(){return this.va};_.g.Fu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.d_.callback(a),a.length&&this.N4a(a,b||null))};_.g.N4a=function(){};
_.g.Wn=function(){return this.rootId};_.g.Sk=function(){return this.Cd};var Wld=function(a){if(!a.ha)throw Error("rg");return a.ha},Xld=function(a,b){a.ha=b};iO.prototype.vB=function(){return this.Fa||this.connectionState.isConnected()};iO.prototype.Jj=function(){return this.Ba};iO.prototype.rk=function(){return this.connectionState};iO.prototype.VNb=function(a){this.fQ.callback(a)};
var Tld=function(a){var b=a.Oc.$f();0===_.Md(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.E(b,37,""))throw Error("sg");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.nO(a.Oc),9,!1))if(b=_.Uj(_.nO(a.Oc),lO,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.iN(a.Oc)&&!_.S(a.Oc,10,!1))throw Error("tg");}else _.A(_.nO(a.Oc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.nO(a.Oc),9,!1)&&(_.iN(a.Oc)||_.S(a.Oc,10,!1)))throw Error("ug");var c=_.DL(a.Oc);b=!(!c||!_.CL(c));c=c&&_.gN(c)||"";if(!b&&!c)throw Error("vg");b&&_.Oj(a.Oc,44);_.Uj(a.Oc,_.Ye,44).forEach(function(d){try{i$c(a.Hm,d)}catch(e){if(e instanceof _.lc&&(d=e.Pg)&&3===d.ht())throw Error("wg");throw e;}})};iO.prototype.uJ=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,a)))};iO.prototype.log=function(a){this.Sf().info("drive.ds.sync.ThinContext",a)};
var Yld=function(a,b){this.H=a;this.Pe=b};
var Zld=new Set([5,4,1,6,2]),$ld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),amd=function(a,b,c){_.ri.call(this);this.ha=a;this.V=b;this.W=c;this.GF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(amd,_.ri);
amd.prototype.gQ=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())&&_.ip(q))&&f.add(q)});[].concat(_.jd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=Zld.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&_.ip(r);r=r&&_.B(r,2);u=k.get(u);r&&u&&u.set(r,bmd(q))});var l=0,p=0;[].concat(_.jd(k.keys())).forEach(function(q){var r=k.get(q),u=e.GF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.B(z,2)))&&_.ak(y,z)||l++}),[].concat(_.jd(u.values())).forEach(function(y){y=y.getKey();r.has(_.B(y,2))||p++}),e.GF.set(q,r),e.O.set(q,b)):(l+=r.size,e.GF.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,cP(this.V,"px2C2c");cP(this.V,"rkYxSd")}(l||p)&&cmd(this,!h)}};
amd.prototype.lD=function(){return 0<this.GF.size};var cmd=function(a,b){b||a.H||(a.H=_.n.setTimeout(function(){_.n.clearTimeout(a.H);a.H=null;a.W.update(5)},1E3));a.dispatchEvent(new _.gi("WPi0i"))};amd.prototype.put=function(a){var b=a.getKey(),c=b&&_.ip(b);b=b&&_.B(b,2);if(c&&b&&(c=this.GF.get(c))){var d=c.get(b);a=bmd(a);d&&_.ak(a,d)||(c.set(b,a),cmd(this))}};amd.prototype.remove=function(a){var b=a&&_.ip(a);a=a&&_.B(a,2);b&&a&&(b=this.GF.get(b))&&b.delete(a)&&cmd(this)};
var Kld=function(a,b){var c=[];(b||[].concat(_.jd(a.GF.keys()))).forEach(function(e){(e=a.GF.get(e))&&[].concat(_.jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.GF.has(e)}):[].concat(_.jd(a.GF.keys()));var d=new $5c;_.Nj(d,1,c);_.Kj(d,2,b);return d};
amd.prototype.UG=function(a){var b=this,c=Kld(this,a),d=new _.sz;d.Dc(this.status);_.Vhb(d,_.Uj(c,_.hp,1));_.J(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);$ld.has(f)&&Infinity>$ld.get(f)&&(e=f)});return new Yld(d,e)};var bmd=function(a){a=a.clone();a.ih()||a.Lb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var dmd=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},fmd=function(a,b){return emd(a[b])+(emd(a[b+1])<<8)+(emd(a[b+2])<<16)+(emd(a[b+3])<<24)},emd=function(a){return 127<a?a-256:a};
var jO=function(a,b,c,d,e,f){iO.call(this,a,b,c,d);var h=this;this.Ta=_.Th();this.wu=new tad;this.W=null;this.O=_.Th();this.Ha=new _.Vh;this.o6=null;this.Ofa=new Fbd;this.V=null;this.$a=_.Th();this.oa=new _.Vh;this.QF=new jcd;this.pz=new Nbd;this.sha=new nad;this.iaa=new _.yn;this.Ja=!1;this.Nfa=new _.yn;this.H={};this.ka=null;this.Jb=new _.Ee;this.Ma(this.Jb);this.Qj=e?e:new mad(this.Sf());this.Sk().W.O=this.Qj;this.IL=_.S(_.nO(b),9,!1)&&a3c()?gmd(this,b):null;this.zw=new Y9c(mO(_.DL(b)));this.tD=
hmd(this,this.IL);this.wQ=imd(this,this.IL,b);this.Ts=jmd(this);this.uf=new MP(this,this.Jg);(a=(a=_.C(this.Oc,_.Yk,12))&&a.getId())&&this.Fu(a,6);this.XP=new Wfd(this.Oc,this.uf.xq,this.Qj,this.Sf(),this.Ts);this.e_=new agd(this.Sf(),this.Qj,this.Ts);this.gE=new amd(this.Sf(),this.Qj,this.Ts);this.AI=new C$c(this.Rm(),this.Sf(),function(k){return void h.uJ(k)});this.Zy=_.S(this.Oc.$f(),52,!1)?new _.FN(this.rk(),this.Rm(),this.Sf(),this.Sk()):null;bP(this.Qj,["mrK8ic"],function(){h.$a.promise.then(function(){Ggd(h,
h.V)})});this.SMa=new fcd(this.Oc);this.LA=new _.HZc(this.Oc,this.uf.xm);this.Tsa=new Aid(this);this.n6=new Jbd(this.O.promise,this.Rm());this.kb=new Lbd(this.Rm(),this.n6);this.Pfa=new bcd(this.O.promise,this.Rm(),this.Sf(),this.Oc);this.Oa=new Gld(this.Oc,this.uf,this.uJ.bind(this),this.n6,this.kb,this.Ts,this.Ofa,this.Jg,this.Wn.bind(this),this.Tsa,this.e_,this.gE,this.Pfa,this.QF,this.Sf(),this.SMa,this.LA,this.AI,this.Zy,this.Jj(),this.Opb.bind(this),this.Sk(),f);this.Ta.resolve(this.Oa);this.QJa=
new kid(this);bP(this.Qj,["BNEDtc"],function(){return h.Nfa.resolve()});Vld(this,function(){h.Ts.iS();return _.Ph()})};_.L(jO,iO);
var gmd=function(a,b){var c=_.gN(_.DL(b)),d=_.hN(b),e=function(){},f=_.Uj(_.nO(b),lO,11);f=f[0]&&_.B(f[0],1);var h=new Ucd(c,d,_.bk(_.nO(b),10,0)||0,f||"",_.oN(a.Jg));_.iN(b)?c=odd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.bk(_.nO(b),8,432E6)?(b=kmd(a,c),c=odd(c,d,b).then(function(l){return l&&(e=function(p){return p.Jl(h).Gg(function(){return null})},!l.ha)?l:h})):c=_.Ph(h);var k=new pP(c,a.Sf(),a.Sk());k.initialize().then(function(){return e(k)},function(){return null});return k},kmd=
function(a,b){var c=_.bk(_.nO(a.Oc),8,432E6);if(!_.iN(a.Oc)&&0<c){a=Math;var d=a.abs;b=_.oma(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+=fmd(b,e),h.b+=fmd(b,e+4),h.c+=fmd(b,e+8),dmd(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+=fmd(b,e+4);h.a+=fmd(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+=fmd(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=dmd(h);return d.call(a,b)%c}};jO.prototype.Oy=function(a){var b=this;return this.IL?this.IL.Jf()?_.Rh(Error("xg`"+add(this.IL))):Bdd(this.tD).then(function(c){var d=b.IL,e=[];e.push(b.Ts.PWa());e.push(a?d.Jl():kdd(d));if(a===c)return _.Sh(e).then(function(){return!1});!1===a&&(e.push($cd(d)),(c=b.Wn())&&e.push(b.tD.Fu(c)));return _.Sh(e).then(function(){return b.tD.Oy(a)},function(){return!1})}):_.Rh(Error("yg"))};
var imd=function(a,b,c){var d=null;b&&(d=new tcd(b,c,function(e){a.uJ(e)},a.Sk()),d.initialize());return d},hmd=function(a,b){var c=new Add(b||void 0);c.Wn().then(function(d){d&&a.Fu(d,5)});b&&(Bdd(c).then(function(d){a.Jj().Oy(d)}),_.Sh([b.initialize(),a.DX.promise]).then(function(){lmd(a,c)},function(){}));return c},lmd=function(a,b){Edd(b).then(function(c){(!c||c<Date.now()-864E5)&&rdd(_.gN(_.DL(a.Oc)),_.hN(a.Oc),a.Sf()).then(function(d){d&&(d=Date.now(),b.set(ydd,d))},function(){})})},jmd=function(a){if(!a.wQ)return new Sld;
var b=new Hld(a,a.Jg);a.Jb.listen(a.Jj(),"Ab",function(c){return void b.setActive(!c.Ue())});a.Jb.listen(a.rk(),[].concat(_.jd(Object.values(_.aB))),function(){return void b.setActive(a.rk().isConnected())});return b};jO.prototype.nY=function(a){this.o6=a;this.Ha.callback(a)};var IP=function(a){return a.Ha.xn()},Mfd=function(a){return a.IL?a.IL.Jf():null},mmd=function(a,b){a.Qj.H("NSockf")?cP(a.Qj,b):bP(a.Qj,["NSockf"],function(){cP(a.Qj,b)})};
jO.prototype.N4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.wu.Fu(a),this.Hm.Fu(a),6!==b&&1!==b||this.tD.Fu(a),mmd(this,"jroI5d"))};jO.prototype.NVa=function(){return this.oa.xn()};var Ggd=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.oa.dg()||(a.oa.callback(b),mmd(a,"T8oKm")))},fgd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=jO.prototype;_.g.$Q=function(){return this.Oa};_.g.Rm=function(){return this.Ta.promise.then(function(a){return a.Loa.promise})};
_.g.dEa=function(){this.Ja||(this.Ja=!0,this.iaa.resolve(),cP(this.Qj,"aU7Ts"))};_.g.vB=function(){throw Error("Ag");};_.g.Opb=function(a){this.dispatchEvent(a)};var nmd=function(a,b){Rhd(a.uf,b)},omd=function(a,b,c){a.H[b]=c},Hfd=function(a){a.ka||(a.ka=new Tbd(a.O.promise,a.Rm(),a.Sf()));return a.ka};
var QP=function(a,b,c){_.ri.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.Vh;this.va=this.channel=this.clientId=null;c.then(function(e){return pmd(d,e)})};_.L(QP,_.ri);var pmd=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;UO(a.channel,a.Ba,function(c){c=w$c(c);a.P$(c.H,!(!c.data||!c.kc),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};QP.prototype.P$=function(){};
QP.prototype.send=function(a,b,c,d){var e=this,f=new _.Vh;this.oa.addCallback(function(){var h=e.channel;VO(h,e.Ba,s$c(new r$c(e.clientId,a,b,d),h.W),function(k){return void qmd(k,a,f,c||function(){})})});return f};var qmd=function(a,b,c,d){a=w$c(a);a.data?c.callback(d(a.data,a.kc)):(a.error?d=a.error:(d=new _.kc,_.OL(d,2),_.PL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.lc(void 0,d)))};QP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var rmd=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var RP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.WU()};_.L(RP,_.N);RP.prototype.registerService=function(a){UO(a,this.V,(0,_.v)(this.uw,this))};
RP.prototype.uw=function(a){var b=this;a=t$c(a);var c=a.kc,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof u$c)return v$c(f,c);if(f.then)return f.then(function(h){return v$c(h,c)},function(h){h=_.QL(h);return v$c(b.qd(void 0,h),c)})}catch(h){e=_.bM(h)}f=new _.kc;_.OL(f,2);_.PL(f,3);_.$p(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return v$c(this.qd(void 0,f),c)};
RP.prototype.qd=function(a,b,c){if(a&&!b)return new u$c(a,void 0,c);a=_.QL(b);return new u$c(void 0,a,c)};RP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&VO(a,this.V,v$c(this.qd(c,d,b),a.W))};
var smd=function(){this.channels={};this.H=this.O=this.V=0},tmd=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},umd=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var vmd=function(a,b){RP.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.uf;this.O=this.context.Pfa;this.W=Hfd(this.context);this.ka=this.context.n6};_.L(vmd,RP);
vmd.prototype.WU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Ye);return a.ai(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.ai(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.ai(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.ai(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=hO(c.args[0],!!c.kc,_.Ye);return a.ik(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.ik(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.ik(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.ik(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.Zz);c=hO(c.args[1],!!c.kc,_.Zz);return a.kZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.JF);c=hO(c.args[1],!!c.kc,_.JF);return a.kZ(d,e,c)},b["4.7"]=function(c){return a.EF(c)},b["4.8"]=function(c){return a.EF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.ai(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.ai(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.ik(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.ik(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.ai(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.ik(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.ai(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.ik(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.IF){var d=a.W;Dbd(d,d.getKey(c)).refresh()}return a.qd([])},b};vmd.prototype.ai=function(a,b){var c=this,d=new _.yn;this.H[a]={query:b,gTb:d.promise};b instanceof _.Jz?d.resolve(this.O.ai(a,b)):b instanceof _.LF?d.resolve(Bbd(this.O,a,b)):b instanceof _.IF?d.resolve(this.W.ai(a,b)):b instanceof _.WF?d.resolve(this.ka.ai(a,b)):d.resolve(this.ha.ai(a,b));return d.promise.then(function(){return c.qd([])})};
vmd.prototype.ik=function(a,b){wmd(this,a,b);return this.qd([])};var wmd=function(a,b,c){delete a.H[b];c instanceof _.Jz?a.O.ik(b,c):c instanceof _.LF?Cbd(a.O,b,c):c instanceof _.IF?a.W.ik(b,c):c instanceof _.WF?a.ka.ik(b,c):a.ha.ik(b,c)};_.g=vmd.prototype;_.g.kZ=function(a,b,c){wmd(this,a,b);return this.ai(a,c)};
_.g.EF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.xi(a.args[0]);c instanceof _.Jz?this.O.ai(b,c):c instanceof _.LF?Bbd(this.O,b,c):c instanceof _.IF?this.W.ai(b,c):c instanceof _.WF?this.ka.ai(b,c):this.ha.ai(b,c);return this.qd([])};
_.g.vO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Ng(a[0]),f=a[1];d.gTb.then(function(h){b instanceof _.DN||b instanceof _.AN?c.update(e,f,[b.response,b.pageToken,b.H,b.Pe,h]):(d.query instanceof _.Ye?z1c(d.query.O(),b.Fd().filter(function(k){return!QO(k)})):d.query instanceof _.Zz&&z1c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!QO(k)})),c.update(e,f,[b,h]))})}};
_.g.OX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Ng(c[0]);c=c[1];var d=b.error;d.Kfa(b.H);this.update(a,c,void 0,d)}};_.g.jA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Ng(a[0]),a[1],["cacheRefresh"]))};_.g.i9=function(){};_.g.Pka=function(a){if(!this.H[a])throw Error("$f`"+a);return this.H[a].query};var xmd=function(a,b){_.Ma(a.H,function(c,d){_.Ng(d.split(":")[0])===b&&wmd(a,d,c.query)})};
var ymd=function(a,b,c){QP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(ymd,QP);ymd.prototype.sxa=function(a){var b=this;a=new qfd(this.context.Hm,this.context.fQ,this.context.Sf(),this.context.Oc,function(c,d){return b.EF(c,d)},a,this.context.Sk());zmd(this,a);return a};ymd.prototype.vxa=function(a){var b=this;a=new xfd(this.context.Hm,this.context.fQ,this.context.Sf(),function(c,d){return b.EF(c,d)},a,this.context.Oc);zmd(this,a);return a};
var zmd=function(a,b){a.ai(b);_.we(b,function(){a.ik(b);a.send("4.3",[b.wd()],void 0,b.wi())});a.send("4.1",[b.wd()],void 0,b.wi())};_.g=ymd.prototype;_.g.pxa=function(a){var b=this,c=new ufd(this.context.Oc,this.context.Hm,this.context.Sf(),this.context.d_,this.kZ.bind(this),a);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.4",[c.wd()],void 0,c.wi())});this.send("4.2",[c.wd()],void 0,c.wi());return c};
_.g.yxa=function(a){var b=this,c=new Bfd(a,this,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.11",[c.wd()],void 0,c.wi())});this.send("4.9",[c.wd()],void 0,c.wi());return c};_.g.zxa=function(a){var b=this,c=new Cfd(this.context,this,a);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.12",[c.wd()],void 0,c.wi())});this.send("4.10",[c.wd()],void 0,c.wi());return c};
_.g.Cxa=function(a){var b=this,c=new Ffd(this.context,a,this);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.15",[c.wd()],void 0,c.wi())});this.send("4.13",[c.wd()],void 0,c.wi());return c};_.g.Dxa=function(a){var b=this,c=new tfd(this.context,a);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.16",[c.wd()],void 0,c.wi())});this.send("4.14",[c.wd()],void 0,c.wi());return c};
_.g.wxa=function(a){var b=this,c=new Afd(this.context,a,function(){b.send("4.21",[],void 0,c.wi())});this.ai(c);_.we(c,function(){b.ik(c);b.send("4.23",[c.wd()],void 0,c.wi())});this.send("4.22",[c.wd()],void 0,c.wi());return c};_.g.mxa=function(a){var b=this,c=new ofd(this.context.Jj(),this.context.rk(),this.context.Sf(),function(d,e){return b.EF(d,e)},a);this.ai(c);_.we(c,function(){b.ik(c);b.send("4.19",[c.wd()],void 0,c.wi())});this.send("4.18",[c.wd()],void 0,c.wi());return c};
_.g.ai=function(a){this.H.create(a.wi(),a.wd());this.O[a.wi()]=a};_.g.ik=function(a){WO(this.H,a.wi(),4);delete this.O[a.wi()]};_.g.kZ=function(a,b,c){if(b instanceof _.Zz&&c instanceof _.Zz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.JF&&c instanceof _.JF)this.send("4.6",[b,c],void 0,a);else throw Error("Bg");};
_.g.EF=function(a,b){if(!this.O[a])throw Error("$f`"+a);var c=this.O[a];if(c.wd()instanceof _.Ye)var d="4.7";else if(c.wd()instanceof _.wL)d="4.8";else if(c.wd()instanceof _.WF)d="4.20";else if(c.wd()instanceof _.Jz)d="4.17";else throw Error("Cg");c.wd().xi(b);this.send(d,[b],void 0,a)};
_.g.P$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new XO(d,d.h7()),a.oB(b),WO(this.H,a.wi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.nW();return}var h=a.wd();if(h instanceof _.Ye||h instanceof _.wL)h instanceof _.Ye&&_.AM(h)?e=hO(d,b,_.xN):e=hO(d,b,_.QA);else if(h instanceof _.Zz||h instanceof _.JF)b?(e=new _.wN,a7c(e,function(k){return new _.Yk(JSON.parse(k))},d)):e=d;else if(h instanceof _.WF)e=new _.AN(hO(d,b,zO),c[f++],c[f++],c[f++]);else if(h instanceof _.Jz)e=new _.DN(hO(d,
b,$O),c[f++],c[f++],c[f++]);else if(h instanceof _.LF)e=hO(d,b,_.yN);else if(h instanceof _.IF)e=hO(d,b,KO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&L$c(this.H,a.wi(),!!c[b]),O$c(this.H,a.wi(),e),a.update(e))}};
var SP=function(){_.ri.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.zp=!1};_.L(SP,_.ri);SP.prototype.initialize=function(){this.zp||(this.zp=!0,this.V(),this.setActive(!0))};SP.prototype.V=function(){};SP.prototype.setActive=function(a){this.active=a;Amd(this)};var Amd=function(a){if(a.active&&!a.ha){var b=_.pl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.pl(a.commands))}else a.ha=!0,_.Uh(a.Ba(b),function(){a.ha=!1;Amd(a)})}};SP.prototype.ka=function(){};
SP.prototype.Ba=function(){};SP.prototype.va=function(){return!0};SP.prototype.enqueue=function(a){try{var b=new _.Vh;this.commands.enqueue(new Bmd(a,b));Amd(this);return b}catch(c){return _.ai(_.bM(c))}};var Bmd=function(a,b){this.H=a;this.Bg=b};Bmd.prototype.getCommand=function(){return this.H};Bmd.prototype.GG=function(){return this.Bg};
var Emd=function(a){SP.call(this);var b=this;this.context=a;this.O=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context,"VMiG2e",function(){return void Cmd(b)});this.H=this.context.uf.xq;_.IL(this.context.Oc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Qj;bP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Gj(a.Oc.$f(),17,1)&&(d.push("iuEtc"),bP(c,["mrK8ic"],function(){cP(c,"iuEtc")}));bP(c,d,function(){Dmd(b)})};_.L(Emd,SP);Emd.prototype.V=function(){Fmd(this)};
var Dmd=function(a){if(1===a.context.XP.Fh().Ab())Promise.resolve();else{var b=_.mf(_.nf(new _.lf,!0),301);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(c){c=_.QL(c);_.A(c,21,"Initial account request failed.");a.context.uJ(c)})}},Cmd=function(a){var b=_.mf(new _.lf,304);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(){})};
Emd.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Uh(this.context.Rm().then(function(d){return d.Te(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Gk(f))d=_.RL(_.DL(c.context.Oc)),d=Error("Eg`"+d+"`"+_.VF(f)),_.tb(d),_.EN(c.context.Sk(),73301807),d=Promise.reject(d);else{f=c.context.XP;var h=0===f.jf()?1:6;_.IL(c.context.Oc)&&hbd(c.H,e);h=Xfd(f,e,h);(e=e.getMetadata())&&c.context.Fu(_.B(e,2),1);(d=_.B(d,4))&&Ggd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.CN(f.Fh(),f.jf(),!1))}return d}).then(function(d){return d},function(d){d=_.QL(d);_.A(d,5,1);return Promise.reject(new _.lc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Emd.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.GG().callback(e)},function(e){return void a.GG().Pd(e)})}else if(b=this.context.XP,c=b.Fh(),_.IL(this.context.Oc)){c=c.Fh();var d=c.getUser();d=lbd(this.H,_.VF(d));hbd(this.H,c);Xfd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i"));a.GG().callback(new _.CN(b.Fh(),b.jf(),d))}else c.Ab(),b=new _.CN(c,b.jf(),!0),a.GG().callback(b)};
var Fmd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=_.mf(new _.lf,306);c=_.FL(new _.EL,c);a.refresh(c).then(function(){Fmd(a)},function(){Fmd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,3,72E5))};Emd.prototype.W=function(a){var b=this.context.XP,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.B(d,1)===_.VF(c.getUser())})&&(hbd(this.H,c),Xfd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i")))};var Gmd=function(a,b,c){this.request=a;this.H=!!b;this.yD=c||null};
var Imd=function(a){SP.call(this);this.context=a;this.oa=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.e_,"Qb",_.wb(this.dispatchEvent,new _.gi("Qb",this)));Hmd(this)};_.L(Imd,SP);
var Hmd=function(a){var b=a.context.Qj;bP(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.iN(a.context.Oc)){var c=_.Gj(a.context.Oc.$f(),18,1);bP(b,["NSockf"],function(){1===c?Jmd(a):a.setActive(!0)});2===c&&bP(b,["mrK8ic"],function(){a.W||Jmd(a)})}},Jmd=function(a){var b=new _.lf;_.nf(b,!0);_.mf(b,301);var c=new _.DM;_.y5c(c,b);_.A(c,1,1);a.refresh(c).Gg(function(){return null})};
Imd.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Th();this.O=d.promise;_.Uh(this.O,function(){c.O=null;Kmd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.DM;_.A(h,1,this.H);_.y5c(h,a.xe());this.context.Rm().then(function(k){return k.Te(h,b)}).then(function(k){c.error=null;var l=c.context.e_;l.gQ(k,l.lD()?6:1);d.resolve()},function(k){c.H=e;k=_.$A(k);var l=k.Pg;_.A(l,5,2);f?(_.OL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Pg,21,"Initial app settings refresh failed."),c.context.uJ(l),c.setActive(!0)):(_.OL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Pg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};Imd.prototype.va=function(){return!1};
Imd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Bja,f=c.yD?{yD:c.yD}:void 0;if(!Lmd(d))return this.context.Rm().then(function(l){return l.Te(d,f)}).then(function(l){a.GG().callback(new _.zN(l,1,!1))},function(l){a.GG().Pd(_.bM(l))}),_.Ph();c=_.Ph();var h=!1;this.O?Mmd(this,d.getType())?e=this.O:c=e=new _.Oh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.oa&&Mmd(this,d.getType())&&!this.error?(h=!0,e=_.Ph()):e=this.refresh(d,f);
var k=a.GG();e.then(function(){var l=b.context.e_;k.callback(new _.zN(l.Iq(),l.jf(),h))},function(l){k.Pd(l)});return c.then()};
var Lmd=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Md(a,4),a=_.Md(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Mmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},Kmd=function(a){var b=a.context.Oc.$f(),c=new _.lf;_.mf(c,306);var d=new _.DM;_.A(d,1,1);_.y5c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,4,72E5))},Nmd=function(a,b,c){this.request=a;this.Bja=!!b;this.yD=c||null};
var Pmd=function(a){SP.call(this);var b=this;this.context=a;this.error=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.gE,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.H=_.Th();this.O=_.Md(this.context.Oc.$f(),30);Omd(this)};_.L(Pmd,SP);
var Omd=function(a){var b=a.context.Qj;bP(b,["rkYxSd"],function(){return a.initialize()});bP(b,["px2C2c"],function(){a.context.Sf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Gj(a.context.Oc.$f(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&bP(b,["mrK8ic"],function(){cP(b,"OZvrNc")}));!_.S(a.context.Oc,11,!1)&&_.S(a.context.Oc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Uj(Kld(a.context.gE),_.hp,1).length||(b.H("NSockf")?
cP(b,"DEJoH"):bP(b,["NSockf"],function(){cP(b,"DEJoH")}))},12E3));bP(b,c,function(){if(!b.H("px2C2c")){var e=new _.lf;_.nf(e,!0);_.mf(e,301);var f=new _.iD;_.J(f,1,e);F2c(f,Qmd(a));a.query(f).Gg(function(){a.initialize()})}})};Pmd.prototype.V=function(){var a="User prefs detected: "+_.Uj(Kld(this.context.gE),_.hp,1).length;this.context.Sf().info("drive.ds.sync.userprefs.UserPrefsManager",a);Rmd(this)};
Pmd.prototype.query=function(a,b){var c=this,d=b?{yD:b}:void 0;return this.context.Rm().then(function(e){return e.Te(a,d)}).then(function(e){c.error=null;var f=c.context.gE;f.gQ(_.Uj(e,_.hp,3),f.lD()?6:1,_.Md(a,3))}).then(null,function(e){e=_.$A(e);_.A(e.Pg,5,4);0<c.commands.$b()||c.context.uJ(e.Pg);c.error=e;throw e;})};
Pmd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.GG(),e=new Set([].concat(_.jd(this.context.gE.GF.keys()))),f=_.Md(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Bja=!0);this.error?d.Pd(this.error):c.Bja?(F2c(c.request,Qmd(this,f)),_.Uh(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 Qmd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.jd(a.O),_.jd([].concat(_.jd(a.context.gE.GF.keys()))),_.jd(b)));return[].concat(_.jd(a.values()))};
Pmd.prototype.getData=function(a,b,c){b=this.context.gE.UG(b);a.callback(new _.BN(b.H,b.Pe,c))};var Rmd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=new _.iD,d=new _.lf;_.mf(d,306);_.J(c,1,d);F2c(c,Qmd(a));_.Uh(a.query(c).Gg(_.Ef),function(){Rmd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,5,72E5))},Smd=function(a,b,c){this.request=a;this.Bja=!!b;this.yD=c||null};
var Tmd=function(a,b,c,d){RP.call(this,"IS",b);this.context=a;this.Mc=new _.Ee(this);this.Ba=_.Th();this.O=null;this.ha=!1;this.W=null;this.Fa=new Lfd(a);z2c(this.Fa);this.Ma(this.Mc);this.ka=new Emd(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new kfd(1))});this.ma=new Imd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new kfd(2))});this.oa=new Pmd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new kfd(4))});this.Ha=d;this.H=
this.context.Rm()};_.L(Tmd,RP);_.g=Tmd.prototype;
_.g.WU=function(){var a={};return a["3.43"]=this.Q_.bind(this),a["3.42"]=this.U7.bind(this),a["3.1"]=this.uN.bind(this),a["3.2"]=this.UG.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.XN.bind(this),a["3.4"]=this.oz.bind(this),a["3.5"]=this.Iq.bind(this),a["3.6"]=this.XR.bind(this),a["3.8"]=this.Jl.bind(this),a["3.36"]=this.Oy.bind(this),a["3.9"]=this.iF.bind(this),a["3.10"]=this.ur.bind(this),a["3.11"]=this.maa.bind(this),a["3.12"]=this.y8.bind(this),a["3.13"]=this.iT.bind(this),a["3.14"]=
this.kaa.bind(this),a["3.15"]=this.A8.bind(this),a["3.16"]=this.iu.bind(this),a["3.17"]=this.UDb.bind(this),a["3.18"]=this.YDb.bind(this),a["3.19"]=this.jQ.bind(this),a["3.20"]=this.WDb.bind(this),a["3.25"]=this.VDb.bind(this),a["3.22"]=this.z8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.boa.bind(this),a["3.29"]=this.fyb.bind(this),a["3.40"]=this.$Db.bind(this),a["3.33"]=this.aEb.bind(this),a["3.39"]=this.fP.bind(this),a["3.37"]=this.ZDb.bind(this),a["3.38"]=this.Hab.bind(this),a["3.41"]=
this.ZR.bind(this),a["3.44"]=this.x0.bind(this),a["3.45"]=this.So.bind(this),a["3.46"]=this.V7.bind(this),a};_.g.uN=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EL);a=new Gmd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Qj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.qd([d.response,d.Pe,d.i0])},function(d){return b.qd(void 0,d)})};
_.g.UG=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iD);a=new Smd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Qj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.qd([d.response,d.Pe,d.i0])},function(d){return b.qd(void 0,d)})};
_.g.xd=function(a){var b=this,c=hO(a.args[0],!!a.kc,h2c),d=_.C(c,_.eM,16)||_.C(c,_.fM,1)||_.C(c,_.gM,2)||_.C(c,_.jM,3)||_.C(c,_.GN,4)||_.C(c,_.hM,5)||_.C(c,_.nM,6)||_.C(c,_.pM,7)||_.C(c,_.qM,8)||_.C(c,_.tM,9)||_.C(c,_.JM,10)||_.C(c,_.KM,11)||_.C(c,_.LM,12)||_.C(c,_.TL,13)||_.C(c,_.OM,14)||_.C(c,_.PM,15)||_.C(c,_.fO,17),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.XN=function(a){var b=this,c=hO(a.args[0],!!a.kc,q2c),d=_.C(c,_.kM,1)||_.C(c,_.rM,2)||_.C(c,_.QM,3),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.oz=function(a){var b=this,c=hO(a.args[0],!!a.kc,k2c),d=TP(this,a),e=[],f=[];m2c(c).forEach(function(h){h instanceof _.eM?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Te(h,d)}))});a=_.pL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Uh(a,function(){return void iid(b.context.uf)});return a.then(function(h){return b.qd([new Y1c(e,h)])})};
_.g.Iq=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.DM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=TP(this,a);a=this.H.then(function(f){return f.Te(c,e)}).then(function(f){return new _.zN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.zN(f.response,f.Pe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Nmd(c,d,this.context.H[a.clientId]),cP(this.context.Qj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.qd([f.response,f.Pe,f.i0])},function(f){return b.qd(void 0,
f)})};_.g.XR=function(a){var b=this,c=hO(a.args[0],!!a.kc,n2c),d=_.C(c,_.jD,1)||_.C(c,_.kD,2),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};_.g.Jl=function(a){a=a.args[0];if(this.context.Zy)a?_.BZc(this.context.Zy,!0):this.context.rk().Ue()&&this.context.Zy.pM(!0).then(null,function(){});else try{this.context.Jj().Jl(a)}catch(b){return this.qd(void 0,b)}return this.qd([])};
_.g.Oy=function(a){var b=this,c=a.args[0];return this.context.Oy(c).then(function(d){return d?(b.context.Jj().Oy(c),b.Ha(c),b.context.Ts.lL().catch(function(){return!c})):_.Ph(!c)}).then(function(d){return b.qd([d])},function(d){return b.qd(void 0,d)})};_.g.sync=function(){var a=this;return _.Sh([this.context.iaa.promise,this.context.Nfa.promise]).then(function(){return a.context.Ts.lL()}).then(function(){return a.qd([])},function(b){return a.qd(void 0,b)})};
_.g.iF=function(){try{var a=this.context.o6;a&&a.Eoa();this.context.sha.iF();return this.qd([])}catch(b){return this.qd(void 0,b)}};_.g.ZR=function(){this.context.ZR();return this.qd([])};_.g.ur=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.wM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.maa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.xM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.y8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.lM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.iT=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.MM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.kaa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.yM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return _.IL(b.context.Oc)?kbd(b.context.uf.xq,[_.C(e,_.Fk,2)],c.Cc()).then(function(){return e}):e}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.A8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.oM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.iu=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.FM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.IL(b.context.Oc)?jbd(b.context.uf.xq,f):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.UDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.Ued),d=new _.QVc(c,a.args[1],a.args[2]||void 0),e=TP(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.YDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.IL(b.context.Oc)?kbd(b.context.uf.xq,_.Uj(f.qd(),_.Fk,2),c.wd().getId()).then(function(){return f}):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.jQ=function(){var a=this;return(_.S(this.context.Oc.$f(),52,!1)?_.Ph(B$c(new A$c,0)):this.context.AI.jQ()).then(function(b){return a.qd([b])},function(b){return a.qd(void 0,b)})};_.g.WDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.PVc),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.VDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.CM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.z8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.mM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.boa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.kL),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e,null])},function(e){return b.qd([null,_.QL(e)])})};_.g.fyb=function(){return this.qd([!0])};_.g.$Db=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.HF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.aEb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.IF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.Q_=function(a){a=hO(a.args[0],!!a.kc,_.Ye);yhd(this.context.uf,[a]);return this.qd([])};_.g.U7=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iM),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.fP=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.zP),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return ubd(c,e)}).then(function(e){return b.qd(e)},function(e){return b.qd(void 0,e)})};_.g.ZDb=function(a){var b=this,c=new _.XVc(hO(a.args[0],!!a.kc,_.OTb),a.args[1]),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e.response,e.pageToken])},function(e){return b.qd(void 0,e)})};
_.g.Hab=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.GF),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.x0=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.tN),d=TP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.So=function(a){var b=a.args.map(function(c){return hO(c,!!a.kc,_.ML)});this.context.uf.So(b);iid(this.context.uf);return this.qd([])};_.g.V7=function(){var a=this,b=this.context.Zy;return(b?b.pM():_.Ph(_.kZc(0))).then(function(c){return a.qd([c])},function(c){return a.qd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Th();this.context.Sf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Oc.Ki());this.Mc.listen(this.context,_.wc,function(e){e=e.error;var f=e.Pg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):z5c(a.context.Sf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Qj,c=["hVFf7"];_.iN(this.context.Oc)&&c.push("BNEDtc");bP(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});bP(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){IP(a.context).then(function(e){return void e.start()})};bP(b,["T8oKm","ZA9qG"],function(){return void d()});bP(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();cP(b,"NSockf")}return this.O.promise};_.g.Fba=function(){return this.Ba.promise};_.g.Hu=function(){var a=this.context.o6;a&&a.dispose();return this.context.Hu()};
var TP=function(a,b){return(a=a.context.H[b.clientId])?{yD:a}:{}};
var Umd=function(a,b,c){RP.call(this,"DU",b);this.context=a;this.O=c;this.H=new Lfd(a)};_.L(Umd,RP);_.g=Umd.prototype;
_.g.WU=function(){var a=this,b={};return b["5.1"]=function(){return a.gia()},b["5.2"]=function(c){return a.PM(c)},b["5.4"]=function(c){return a.Dz(c)},b["5.5"]=function(){return a.aR()},b["5.10"]=function(){return a.qN()},b["5.6"]=function(){return a.Dda()},b["5.7"]=function(){return a.US()},b["5.9"]=function(c){return a.oqa(c)},b["5.8"]=function(c){return a.k5(c)},b["5.11"]=function(){return a.Epa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Jl(c)},b};
_.g.gia=function(){var a=this;this.context.Ts.iS();var b=this.context.Oc;return sdd(_.gN(_.DL(b)),_.hN(b),this.context.Sf()).Gg(function(){}).then(function(){return a.qd([])})};_.g.PM=function(a){a=this.context.uf.xm.H(a.args[0]);return this.qd([a?a.kc():JSON.stringify(null)])};_.g.Dz=function(a){var b=this;return this.context.LA.Dz(a.args[0]).then(function(c){return b.qd([c.kc()])})};_.g.aR=function(){for(var a=this.context.LA.aR(),b=[],c=0;c<a.length;c++)b.push(_.Yj(a[c]));return this.qd([JSON.stringify(b)])};
_.g.k5=function(a){var b=this,c=new _.sUc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.C(c,_.JL,3)||_.C(c,_.SM,4)||_.C(c,_.GN,5)||_.C(c,_.PM,6)||_.C(c,_.qM,7)||_.C(c,_.jM,8)||_.C(c,_.nM,9)||_.C(c,_.TL,10)){var f=I$c(c);return this.context.Rm().then(function(h){return h.Te(f,{H7a:d,I7a:e})}).then(this.Iab.bind(this,a),function(h){return b.qd(void 0,h)})}return _.Ph(this.qd(void 0,Error("ag")))};
_.g.Iab=function(a,b){a=[];var c="";if(b instanceof _.HN){a=b.qd().Fd();var d=_.B(b,2);c=b.Un()}else if(b instanceof _.UM)b.getItem()&&a.push(b.getItem()),d=b.ZM();else return this.qd(void 0,Error("bg"));b=[];for(var e=0;e<a.length;e++)b.push(_.Yj(a[e]));return this.qd([JSON.stringify(b),d,c])};_.g.oqa=function(){var a=this.context.Oc,b=a.$f();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Dda=function(){this.context.QF.H=new icd(_.Mg().substring(0,8));return this.qd([])};
_.g.US=function(){var a=this.context.QF.qN();if(a){for(var b=[],c=kcd(this.context.QF),d=0;d<c.length;d++)b.push(_.Yj(c[d]));a=[a.dea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.QF;b.H=null;b.IY=[];return this.qd(a)};_.g.qN=function(){var a=this.context.QF.qN();return this.qd(a?[a.dea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.qd([b])})};
_.g.Epa=function(){var a=[this.O.Hu(),_.wi(3E4)];_.Uh(_.Jja(a),function(){_.n.setTimeout(function(){self.close()})});return this.qd([])};_.g.Jl=function(a){this.H.Jl(a.args[0]);return this.qd([])};
var Vmd=function(a,b,c,d,e,f,h){_.UN.call(this,a,b,c,d,f,h);this.H=e;this.Cd=null};_.L(Vmd,_.UN);Vmd.prototype.wM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.b3a(q1c(c.O,c.va,a,b,c.jj,c.ha))},null))};Vmd.prototype.ma=function(a,b){var c=this.wd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Dz();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.NZc(a,b,d))}};
var Wmd=function(a,b,c,d,e,f,h,k){RP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Cd=h;this.H={};this.O={};this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(Wmd,RP);_.g=Wmd.prototype;
_.g.WU=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.jG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.wM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.qd([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.qd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=hO(a.args[0],!!a.kc,_.jM),e=a.args[1];if(!this.H[c]){var f=new Vmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Cd);this.Mc.listen(f,"Lb",_.wb(this.Jab,a.clientId,a.requestId));this.Ma(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.fj(),r=_.Th();b.O[q]=r;b.update(l,p,Xmd(3,q,[h,k]));return r.promise}).then(function(h){return b.qd([h])},function(h){return b.qd(void 0,h)})};
_.g.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.qd([])};_.g.jG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].jG();return this.qd([])};
_.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++]});_.Ma(k,function(p,q){p.Tf(function(r){b.update(a.clientId,c,Xmd(0,e,[q,r]))},function(r){b.update(a.clientId,c,Xmd(1,e,[q,r.Pg]))})});return this.qd([])}return this.qd(void 0,_.QL("Could not retry upload."))};
_.g.wM=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=q1c(b.O,b.va,c,a,b.jj,b.ha),this.qd([t2c(c)])):this.qd(void 0,_.QL("FileUploader not found."))};_.g.Jab=function(a,b,c){this.update(a,b,Xmd(2,c.requestId,[c.progress,c.totalBytes]))};var Xmd=function(a,b,c){return[Number(a),b].concat(_.jd(c))};
var Ymd=function(a,b){RP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(Ymd,RP);Ymd.prototype.WU=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};
Ymd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=hO(a.args[0],!!a.kc,_.OVc);e=new DP(this.O,e);var f=_.ue(e,"Pb",function(h){b.update(a.clientId,c,[h.xPa,h.qua])});_.we(e,function(){_.mi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.qd([h])},function(h){return b.qd(void 0,h)})};Ymd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var Zmd=function(a,b){RP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Th();this.O=new Qfd(a,a.Jg)};_.L(Zmd,RP);Zmd.prototype.WU=function(){var a=this,b={};return b["6.1"]=function(c){return $md(a,c)},b["6.2"]=function(c){return and(a,c)},b["6.3"]=function(){a.H&&(Tfd(a.O),a.H=!1,a.W=_.Th());return a.qd([])},b};
var $md=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return hO(d,!!b.kc,_.Yk)});a.O.ol(c);cP(a.context.Qj,"GZTDpc");a.W.resolve()}return a.qd([])},and=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return hO(d,!!b.kc,_.ML)});Sfd(a.O,c);return a.qd([])})};
var bnd=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Fg`"+b);a.services.set(b,new _.Vh)})};bnd.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.dg())b.callback(a);else throw Error("Gg`"+a.V);};var cnd=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)})};bnd.prototype.Bo=function(){return[].concat(_.jd(this.services.values())).every(function(a){return a.dg()})};
var dnd=function(){},end={0:2E3,1:3E3,2:5E3},fnd=function(a,b){this.request=a;this.ha=b;this.O=_.Th();this.continuationToken="";this.V=0;this.AE=this.W=!1;this.H=dnd};fnd.prototype.Yg=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=dnd;b.V=0;return c},function(c){b.H=dnd;b.V=0;return Promise.reject(c)})};
fnd.prototype.sendRequest=function(){var a=this;if(this.AE)this.O.resolve((new yP).Dc(8));else{var b=new _.aWc(this.request,this.continuationToken);this.ha.then(function(c){return c.Te(b)}).then(function(c){gnd(a,c)},function(c){a.handleError(c)})}};var gnd=function(a,b){var c;a.continuationToken=null!==(c=b.Un())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},hnd(a.V++,a.ka)):a.O.resolve(b)};fnd.prototype.handleError=function(a){a=_.$A(a);this.O.reject(a)};
fnd.prototype.cancel=function(){this.AE=!0};var hnd=function(a,b){return b?b:(a=end[a])?a:1E4};
var ind=function(a,b){RP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(ind,RP);ind.prototype.WU=function(){var a=this,b={};return b["10.1"]=function(c){return jnd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var jnd=function(a,b){var c=b.clientId+":"+b.requestId,d=hO(b.args[0],!!b.kc,_.zed);d=new fnd(d,a.O);a.H.set(c,d);return _.Uh(d.Yg(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.qd([e])},function(e){return a.qd(void 0,e)}),function(){a.H.delete(c)})};ind.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var UP=function(a,b,c){_.N.call(this);this.H=a;this.$r=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ja=_.Th();this.W=!1;this.Ba=_.Th();this.O=_.Th();this.oa=null;this.va=this.Ta=!1;this.yb=_.Th();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.VB=Date.now();this.services=new bnd;this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(UP,_.N);UP.prototype.nY=function(a){this.O.promise.then(function(b){b.o6||a.Yi(b)})};
var nnd=function(a,b){var c=tmd(a.H,b),d=a.Sb.bind(a,c);UO(b,"8.1",d);b.registerService("8.1",d);UO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return knd(a,c,f)});UO(b,"8.2",a.Gb.bind(a,c));UO(b,"8.3",a.Mb.bind(a,c));cnd(a.services,b);b.start();lnd(a,c,b);a.ka(c,b);var e=[];a.oa||(a.oa=_.Sh([a.Ja.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.oa);_.Sh(e).then(function(){return void mnd(a,c,b)},function(f){a.Ta=!0;VO(b,"2.2",{err:_.QL(f).kc()},d)})},ond=function(a){return Math.floor((Date.now()-
a.VB)/1E3)},pnd=function(a,b,c){var d=function(e){VO(b,"2.8",{au:"ib"===e.type})};a.Jb.listen(c.AI,["ib","jb"],d);_.we(b,a.Jb.Yc.bind(a.Jb,c.AI,["ib","jb"],d))},qnd=function(a,b,c){var d=c.rk(),e=[].concat(_.jd(Object.values(_.aB))),f=function(h){VO(b,"2.19",{cs:h.connectionState})};a.Jb.listen(d,e,f);_.we(b,function(){a.Jb.Yc(d,e,f)})};
UP.prototype.Sb=function(a){var b=umd(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){xmd(d,a)}),b.dispose(),this.log(_.tt("Client %d disconnected (num clients remaining: %d)",a,_.Ra(this.H.channels))),0===_.Ra(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.Uh(d.Hu(),c)})}};
UP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.Ph();var c=new _.Sb(JSON.parse(b.dsc));_.A(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){omd(d,a,_.E(c.$f(),37,""));nmd(d,_.Md(c,28));d.uf.Ila(_.Uj(c,_.Cl,91));return d.DX.promise.then(function(){yhd(d.uf,_.Uj(c,_.Ye,44))})},function(){})};
UP.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new Fgd(e,e.Jg);e.Yg(d);e.dispose();(e=c.H.channels[a]||null)&&VO(e,"2.16")})}};UP.prototype.Mb=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){rnd(new ihd(h),e);(h=c.H.channels[a]||null)&&VO(h,"2.17",{t:f})})}};
var rnd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Yg(c)});a.dispose()};UP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={Hea:b.Hea,gfa:b.gfa},d=c.next())b.Hea=d.value,b.gfa=_.Th(),VO(b.Hea,"2.12",void 0,function(e){return function(){e.Hea.dispose();e.gfa.resolve()}}(b)),a.push(b.gfa.promise);return _.Sh(a).then()};
UP.prototype.initialize=function(a){var b=this;a=a[0];_.qXc(a,this.fields);var c=_.C(a,_.ZL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new jO(null,a,this.$r,c,void 0,void 0),e=d.Sk().H(106E3);Vld(d,this.$a.bind(this));this.Jb.listen(d.Jj(),"Ab",function(k){k={os:k.Ue()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())VO(p.value,"2.6",k)});this.Jb.listen(d,_.wc,this.nb);this.Jb.listen(d,"w8KrJc",this.Lc);F$c(d.AI,this.ka.bind(this));var f=d.Zy;f&&O5c(f,function(){return b.ka()});
this.O.resolve(d);var h=snd(this,d,new Tmd(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Ec,this)));e&&h.then(function(){return e&&e.Zj()});return h}catch(k){return _.Rh(k)}};
var snd=function(a,b,c){a.services.activate(c);a.services.activate(new vmd(b,a.H));a.services.activate(new Umd(b,a.H,c));a.services.activate(new Zmd(b,a.H));a.services.activate(new Wmd(b.Oc,b.LA,b.$Q().Lfa,b.Rm(),b.fQ,b.Sf(),b.Sk(),a.H));a.services.activate(new Ymd(b.Rm(),a.H));a.services.activate(new ind(b.Rm(),a.H));return c.initialize()},mnd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.tt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));VO(c,"2.2",{id:b,
clients:d,uptimeSec:ond(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.d_.addCallback(function(f){c.isDisposed()||VO(c,"2.5",{id:f})});1<d&&IP(e).addCallback(function(f){return f.Mwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Fba().then(function(){c.isDisposed()||VO(c,"2.14")})});pnd(a,c,e);qnd(a,c,e)})};UP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.15",a)};
UP.prototype.Ec=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){VO(c,"2.18",b)})};UP.prototype.nb=function(a){a={p:a.error.Pg.kc()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.10",a)};UP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())VO(b.value,"2.7")};var lnd=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){VO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
UP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Rh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Ph()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.Rh(Error("Ig"));var d=_.Th();b.send("1.1",void 0,function(e){knd(c,a,e);d.resolve()});return d.promise};var knd=function(a,b,c){_.Ma(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
UP.prototype.log=function(a){this.O.promise.then(function(b){return b.Sf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var tnd=function(a,b){QP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(tnd,QP);_.g=tnd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Dz=function(){return this.send("5.4",[this.H],function(a){return new _.eYc(JSON.parse(a[0]))})};_.g.Sf=function(){return this.context.Sf()};_.g.PM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Yk(b)})};
_.g.aR=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.sUc(a[c]));return b})};_.g.k5=function(a,b,c){return this.send("5.8",[a.kc(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.Yk(e[k]));return{items:h,Fia:f,pageToken:d}})};_.g.oqa=function(){this.send("5.9",[])};_.g.gia=function(){this.send("5.1",[])};_.g.s9=function(){return _.WUc[_.Gj(this.context.Oc.$f(),8,0)]};
_.g.Dda=function(){this.send("5.6",[])};_.g.US=function(){return this.send("5.7",[],function(a){if(0===a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new J$c(a[e]));return{traceId:new icd(b,c),spanRecs:d}})};_.g.qN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new icd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.Epa=function(){this.send("5.11",[])};
_.g.Jl=function(a){this.send("5.13",[a])};
var und=function(a,b){QP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(und,QP);und.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return hO(b[0],c,$ed)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};und.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
und.prototype.P$=function(a,b,c){this.dispatchEvent(new lfd(c[0],c[1]))};
var vnd=function(a){QP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(vnd,QP);vnd.prototype.pY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.zV().Tf(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.T_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var wnd=function(a,b){jP.call(this,a,b)};_.L(wnd,jP);wnd.prototype.via=function(a,b,c){return new _.XVc(a,c)};wnd.prototype.Jka=function(a){return a.pageToken||""};wnd.prototype.Wja=function(a){return a.response.O()};wnd.prototype.m6=function(){};
var xnd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new wnd(this.request,this.ka)};_.L(xnd,CP);_.g=xnd.prototype;_.g.WG=function(){this.V.Yg().then(this.Kab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return red(new xP,this.O).Dc(this.status)};_.g.ds=function(){return new ped};_.g.Tj=function(){return!this.Ue()&&(!this.H||wbd(this.V))};_.g.Kab=function(a){this.changed=this.H=!0;this.O=a;this.Ut()};
_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.$b=function(){return this.O.length};
var ynd=function(a,b,c){CP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.uSc;this.suggestionSessionId=null;this.ka=c};_.L(ynd,CP);_.g=ynd.prototype;_.g.WG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.zj();a.suggestionSessionId=b.Vf();a.Ut()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.l1c(_.k1c((new _.WN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new ved).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Ut=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};
var znd=function(){};_.g=znd.prototype;_.g.yM=function(a,b){b=Red(1).setPosition(b);_.J(b,2,a);return b};_.g.xM=function(a,b){b=Red(2).setPosition(b);_.J(b,2,a);return b};_.g.EE=function(a,b,c){b=Red(3).Py(b).setPosition(c);_.J(b,2,a);return b};_.g.rQ=function(a,b){b=Red(4).setPosition(b);_.J(b,2,a);return b};_.g.aN=function(a){return _.C(a,_.v9c,2)};
var Bnd=function(){_.lL.call(this,new znd,function(a){return And(a)})};_.L(Bnd,_.lL);var And=function(a){switch(_.Ej(a,u9c[0])){case 6:return _.Bx(_.C(a,_.Ax,6)).getTime().toString();case 7:var b=_.C(a,_.NO,7);a=_.C(b,_.Ax,1);b=b.zr();return a&&b?(a=_.Bx(a).getTime(),_.Bx(b).getTime()+"--"+a):"";default:return""}},Dnd=function(){Cnd||(Cnd=new Bnd);return Cnd},Cnd;
var End=function(a,b,c,d){CP.call(this,b.Jj(),b.rk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.vZc(_.bk(b.Oc.$f(),6,1E3));this.oa=c};_.L(End,CP);_.g=End.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.WG=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Gr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;CP.prototype.Gr.call(this,a)};
_.g.getData=function(){var a=(new Wed).Dc(this.status);_.Nj(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ds=function(){var a=Dnd().Ez(this.ka,this.O),b=new Ted;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.Tj=function(){return!this.Ue()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.wd=function(){return this.request};_.g.TMa=function(a){this.dispatchEvent(new _.mc(a));this.V=!1};
_.g.Uxb=function(a,b){this.H=!0;var c=_.Uj(b,_.v9c,1);this.O=this.O.concat(c);this.token=b.my()||"";0<c.length&&(this.changed=!0);this.Ut();this.page(a)};_.g.myb=function(a){Dnd();this.H=!0;var b=_.Uj(a,_.v9c,1);oO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.my()||"",this.changed=!0,this.Ut(),this.page()):(this.V=!1,Fnd(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Tj()&&this.O.length<this.limit?this.oa(this.request,this.limit-this.O.length,this.token).Tf(_.wb(this.Uxb,a),this.TMa,this):(this.V=!1,a&&a.callback(),Fnd(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Tf(this.myb,this.TMa,this))};_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};
_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.dP=function(){this.active&&this.Tj()&&!this.V&&this.page(new _.Vh)};var Fnd=function(a){_.R(a.request,3)||(_.rH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Ya()))};End.prototype.$b=function(){return this.O.length};
var Gnd=function(){};_.g=Gnd.prototype;_.g.yM=function(a,b){return Yed(Xed(1),a).setPosition(b)};_.g.xM=function(a,b){return Yed(Xed(2).setPosition(b),a)};_.g.EE=function(a,b,c){return Yed(Xed(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return Yed(Xed(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,_.rP,2)};
var Hnd=function(){_.lL.call(this,new Gnd,function(a){return a.getId()})};_.L(Hnd,_.lL);var Jnd=function(){Ind||(Ind=new Hnd);return Ind},Ind;
var Knd=function(a,b,c){CP.call(this,b.Jj(),b.rk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.vZc(_.bk(b.Oc.$f(),54,1E3));this.ma=c};_.L(Knd,CP);_.g=Knd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.WG=function(){this.poll()};_.g.getData=function(){var a=new ffd;a=_.Nj(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.ds=function(){var a=Jnd().Ez(this.ka,this.O),b=new dfd;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};
_.g.Tj=function(){return!this.Ue()&&!this.H};_.g.poll=function(){var a=new _.Vh;this.ma(this.request).Tf(_.wb(this.Mab,a),_.wb(this.Lab,a),this);return a};_.g.Lab=function(a,b){this.dispatchEvent(new _.mc(b));a.Pd(b);Lnd(this)};_.g.Mab=function(a,b){this.H=!0;b=_.Uj(b,_.rP,2);oO(Jnd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Ut();a.callback();Lnd(this)};
_.g.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.dP=function(){};var Lnd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Ya()),_.rH(a.V))};Knd.prototype.$b=function(){return this.O.length};
var Mnd=function(){};_.g=Mnd.prototype;_.g.yM=function(a,b){return aed($dd(1),a).setPosition(b)};_.g.xM=function(a,b){return aed($dd(2).setPosition(b),a)};_.g.EE=function(a,b,c){return aed($dd(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return aed($dd(4),a).setPosition(b)};_.g.aN=function(a){return _.C(a,_.Fk,2)};
var Nnd=function(){_.lL.call(this,new Mnd,function(a){return a.getId()})};_.L(Nnd,_.lL);_.Ff(Nnd);
var VP=function(a,b,c){_.ri.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(VP,_.ri);VP.prototype.xi=function(a){this.limit=a};VP.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Ond(this)};VP.prototype.Lka=function(){return this.permissions};
var Ond=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.EM;c=_.J(c,3,a.request);c=_.A(c,2,a.nextPageToken);b=_.A(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};VP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Un()||"";a=_.Uj(a.qd(),_.Fk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return Ond(this);this.dispatchEvent("Fb")};
VP.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};
var Pnd=function(a,b,c,d){CP.call(this,b.Jj(),b.rk(),d||100);var e=this;this.request=a;this.context=b;this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new VP(b,this.request,this.ma);_.we(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(Pnd,CP);_.g=Pnd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.Ut()};_.g.WG=function(){this.query()};_.g.Gr=function(a){CP.prototype.Gr.call(this,a||100)};
_.g.getData=function(){var a=new qO;a=_.Nj(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ds=function(){var a=Nnd.Db().Ez(this.ka,this.permissions),b=new hed;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Tj=function(){var a;(a=!this.Ue())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.wd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new VP(this.context,this.request,this.ma);this.O.xi(this.limit);return this.O.Yg().then(function(){return Qnd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){CP.prototype.handleError.call(this,a);Rnd(this)};var Qnd=function(a){a.H=!0;var b=a.O.Lka();oO(Nnd.Db(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Ut();Rnd(a)};
Pnd.prototype.Ut=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};Pnd.prototype.dP=function(){var a=this;this.O.xi(this.limit);this.O.Yg().then(function(){return Qnd(a)},function(b){return a.handleError(b)})};var Rnd=function(a){if(a.active){var b=a.context.Oc.$f();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,15,36E5))}};Pnd.prototype.$b=function(){return this.permissions.length};
var Snd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.xc,a))},0)};
var Tnd=function(){},Und=function(a,b){QP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=Tnd;this.H=null;this.id=String(_.Da(this))};_.L(Und,QP);Und.prototype.P$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(hO(a,b,yP)))};Und.prototype.Yg=function(a){a=void 0===a?Tnd:a;if(!this.H){this.O=a;var b=_.Th();this.H=b;this.send("10.1",[this.request],function(c,d){return hO(c[0],d,yP)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
Und.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var Vnd=function(a,b,c){_.ri.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Bu={};this.O={};_.we(this,function(){d.H("7.6",[])})};_.L(Vnd,_.ri);_.g=Vnd.prototype;_.g.getId=function(){return this.instanceId};_.g.qQ=function(){return _.oL()};
_.g.upload=function(a,b){!_.B(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.vXc;_.A(d,1,b.size);_.J(a,15,d);this.O[a.fj()]=b}return this.H("7.1",[a,c],function(e,f){return hO(e[0],f,_.UM)})};_.g.cancel=function(a){this.H("7.2",[a])};_.g.jG=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 _.Vh;c=this.qQ();this.Bu[c]=b;b=_.Sa(b);this.H("7.4",[c].concat(_.jd(a)));return b};_.g.wM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.jd(b)),function(d){return u2c(d[0])}).addCallback(function(d){return c.V.addCallback(function(e){return e.b3a(d)})})};var Wnd=function(a,b,c,d){if(a.Bu[b]&&a.Bu[b][c]){var e=a.Bu[b][c];d instanceof _.UM?e.callback(d):e.Pd(d);delete a.Bu[b][c];_.Va(a.Bu[b])&&delete a.Bu[b]}};
var Xnd=function(a,b){QP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(Xnd,QP);var Ynd=function(a){var b=_.oL(),c=new Vnd(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.we(c,function(){return void a.H.delete(b)});return c};
Xnd.prototype.P$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.O[d];a.H("7.7",[d,_.BVc(c,b,Math.min(c.size,b+e))]);break;case 0:b=hO(e[1],b,_.UM);Wnd(a,d,e[0],b);break;case 1:b=new _.lc(void 0,hO(e[1],b,_.kc));Wnd(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.NZc(d,e[0],e[1]));break;default:throw Error("Jg");}}};
var Znd=function(a,b){if(0===a.length)throw new _.lc("mutateUserPref requires a namespace.",_.aM(3));var c=null;b instanceof _.kD?c=(b=(b=_.C(b,_.hp,1))&&b.getKey())&&_.ip(b)||null:b instanceof _.jD&&(c=(b=b.getKey())&&_.ip(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.lc("mutateUserPref unsupported for namespace: "+c,_.aM(3));};
var $nd=function(a){this.H=a};
var b3c=function(a){QP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(aod=_.Th()).promise);var b=this;this.Zn=null;this.Ja=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.yn;this.Ha=new _.yn;this.V=aod;aod=void 0;this.context=a;Xld(this.context,new vnd(this.V.promise));C5c(this.context.Jg,_.Md(this.context.Oc,28));this.H=this.context.Mfa;this.O=new ymd(this.V.promise,this.context,this.H);this.nb=new Xnd(this.V.promise,this.context.fQ);this.Fa=new tnd(this.V.promise,this.context);
this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.rk(),[].concat(_.jd(Object.values(_.aB))),function(c){return void b.dispatchEvent(c)})},aod;_.L(b3c,QP);
b3c.prototype.initialize=function(){var a=this;if(!this.Zn){this.Zn=_.Ph(this.oa);var b=this.context.Sk().H(106E3);this.Zn.then(function(){b&&b.Zj();a.S1a()},function(){_.EN(a.context.Sk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Oc.Ki());var d=g2c(this.context.Oc,this.wi(),_.oN(this.context.Jg));bod(this,d);2===d.H?(c=new UP(new smd,6,this.context.Sf()),nnd(c,d.O),this.Ha.resolve(c)):
z2c(this.Fa);this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();Vld(this.context,function(){return cod(d.channel)})}return this.Zn};
var cod=function(a){return _.Jja([new _.Oh(function(b){a.isDisposed()||VO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},bod=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",(0,_.v)(a.yb,a)):c.registerService("1.1",function(){return dod(a,b)});2===b.H?a.Ha.promise.then(function(){return void eod(a,b)}):eod(a,b);UO(c,"2.1",function(){return{dsc:a.context.Oc.kc()}});UO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new rmd(d.id,c,a.context.Sf(),d.clients)),d.dsp&&fod(c),
d.ivd&&god(a,c)):(d=new _.kc(JSON.parse(d.err)),a.oa.Pd(new _.lc("Unable to initialize dataservice.",d)))});UO(c,"2.15",function(d){a.dispatchEvent(new kfd(d.dt))});UO(c,"2.5",function(d){a.context.Fu(d.id)});UO(c,"2.6",function(d){a.context.Jj().Jl(d.os)});UO(c,"2.18",function(d){a.context.Jj().Oy(d.oois)});UO(c,"2.7",function(){a.ma=!1});UO(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new b6c(d.au?"ib":"jb"))});UO(c,"2.19",function(d){a.context.rk().update(d.cs)});UO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.tt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Sf().config(e,d);break;case "fine":_.mN(a.context.Sf(),e,d,"fine");break;case "finer":_.mN(a.context.Sf(),e,d,"finer");break;case "finest":_.mN(a.context.Sf(),e,d,"finest");break;case "info":a.context.Sf().info(e,d);break;case "warning":case "severe":z5c(a.context.Sf(),e,d);break;default:z5c(a.context.Sf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),z5c(a.context.Sf(),e,d)}});UO(c,"2.10",
function(d){return void a.N$(d)});UO(c,"2.12",function(){a.Ja=!0;WP(a)});UO(c,"2.14",function(){return a.$a.resolve()});UO(c,"2.16",function(){return a.Ta=!0});UO(c,"2.17",function(d){a.context.Sf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},eod=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",dod(a,b));VO(b.channel,"8.4",{dsc:a.context.Oc.kc()});fod(b.channel);god(a,b.channel)},fod=function(a){_.n._DRIVE_dsp&&VO(a,"8.3",{dsp:hod(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];VO(a,"8.3",{dsp:hod(c)})}}},god=function(a,b){_.S(a.context.Oc,24,!1)&&(_.n._DRIVE_ivd?VO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&VO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},dod=function(a,b){var c={};if(1===b.H){var d=new _.jPa(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.Oc.Ki(),
ufds:b.V}};b3c.prototype.yb=function(){return{uid:this.wi(),fds:_.oN(this.context.Jg)}};b3c.prototype.wi=function(){var a=_.Oj(_.Oj(_.MH(this.context.Oc.clone(),28),44),91),b=new _.vL;b.update(_.gN(_.DL(a)));b.update(String(_.RL(_.DL(a))));b.update(a.kc());return _.DSc(b.digest())};var hod=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=b3c.prototype;_.g.N$=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,new _.kc(JSON.parse(a.p)))))};
_.g.query=function(a){WP(this);i$c(this.context.Hm,a,A5c(this.context.Jg));this.iF();var b=this.O.sxa(a);this.Oa||(a=a.xe(),a&&121===_.B(a,1)||(this.Oa=!0,this.Mc.listen(b,_.xc,this.UMa)));return b};_.g.UMa=function(a){a=a.currentTarget;1===a.Ab()&&(this.Fa.H=this.Ta,this.Mc.Yc(a,_.xc,this.UMa))};_.g.Hq=function(a){WP(this);g$c(a);this.iF();return this.O.pxa(a)};
_.g.sva=function(a,b){var c=this;WP(this);if(this.ka&&_.ak(this.ka.wd(),a))return this.ka;this.ka=new End(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return hO(h[0],k,x9c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.bGa=function(a,b){var c=this;WP(this);if(this.ha&&_.ak(this.ha.wd(),a))return Snd(this.ha),this.ha;this.ha=new Pnd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return hO(e[0],f,ied)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.kaa=function(a){WP(this);return this.send("3.14",[a],function(b,c){return hO(b[0],c,wP)})};_.g.A8=function(a){WP(this);return this.send("3.15",[a],function(b,c){return hO(b[0],c,wP)})};
_.g.xd=function(a){WP(this);!this.ma&&_.VM(a)&&(this.ma=!0);a=i2c(a);return this.send("3.3",[a],function(b,c){return hO(b[0],c,_.UM)})};_.g.XN=function(a){WP(this);a=s2c(a);return this.send("3.35",[a],function(b,c){return hO(b[0],c,_.a6c)}).then()};_.g.oz=function(a){WP(this);for(var b=0;b<a.length;b++)!this.ma&&_.VM(a[b])&&(this.ma=!0);a=l2c(a);return this.send("3.4",[a],function(c,d){return x$c(c[0],d).get()})};_.g.oxa=function(){WP(this);return Ynd(this.nb)};
_.g.DSa=function(a){WP(this);return new und(this.V.promise,a)};_.g.Iq=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=hO(e[0],f,YO);return new _.zN(f,e[1],e[2])}).addCallback(function(e){P$c(c.H,d,e);return e.response}).Hg(function(e){WO(c.H,d);return e})};_.g.ur=function(a){WP(this);return this.send("3.10",[a],function(b,c){return hO(b[0],c,fed)})};
_.g.maa=function(a){WP(this);return this.send("3.11",[a],function(b,c){return hO(b[0],c,jed)})};_.g.y8=function(a){WP(this);return this.send("3.12",[a],function(b,c){return hO(b[0],c,jed)})};_.g.iT=function(a){WP(this);return this.send("3.13",[a],function(b,c){return hO(b[0],c,jed)})};
_.g.uN=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=hO(e[0],f,_.AP);return new _.CN(f,e[1],e[2])}).addCallback(function(e){P$c(c.H,d,e);return e.response}).Hg(function(e){WO(c.H,d);return e})};
_.g.UG=function(a,b){var c=this,d=_.Md(this.context.Oc.$f(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&F2c(a,d);WP(this);var e=_.Mg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=hO(f[0],h,_.sz);return new _.BN(h,f[1],f[2])}).addCallback(function(f){P$c(c.H,e,f);return f.response}).Hg(function(f){WO(c.H,e);return f})};
_.g.XR=function(a){WP(this);Znd(_.Md(this.context.Oc.$f(),30),a);a=p2c(a);return this.send("3.6",[a],function(b,c){return hO(b[0],c,ked)})};_.g.iu=function(a){WP(this);return this.send("3.16",[a],function(b,c){return hO(b[0],c,R5c)})};_.g.aCa=function(){return this.ma};_.g.Jl=function(a){WP(this);this.send("3.8",[a])};_.g.Oy=function(a){WP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.pY=function(a){WP(this);Wld(this.context).pY(a);this.Oy(!!a)};
_.g.iF=function(){WP(this);this.send("3.9",[])};_.g.ZR=function(){WP(this);this.send("3.41",[]);this.context.ZR();var a=J5c(this.context.Sk(),106006);a&&this.V.promise.then(function(b){var c=_.C(_.uN(a),g5c,6);if(!c){c=new g5c;var d=_.uN(a);_.J(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Zj()},function(){})};_.g.vB=function(){WP(this);return this.context.vB()};_.g.jQ=function(){WP(this);return _.Ph(this.send("3.19",[],function(a,b){return hO(a[0],b,A$c)}))};_.g.isConnected=function(){return this.context.rk().isConnected()};
_.g.V7=function(){return this.send("3.46",[],function(a,b){return hO(a[0],b,_.jZc)}).then()};_.g.K9=function(){return this.Fa};_.g.sync=function(){WP(this);return this.send("3.28",[]).then()};_.g.Hu=function(){return this.context.Hu()};_.g.nY=function(a){this.Ha.promise.then(function(b){return void b.nY(a)})};_.g.Sda=function(a){WP(this);return this.O.zxa(a)};_.g.YY=function(a){WP(this);return this.O.yxa(a)};_.g.ZFa=function(a){WP(this);l$c(this.context.Hm,a,A5c(this.context.Jg));return this.O.vxa(a)};
_.g.hqa=function(a){WP(this);return new Und(this.V.promise,a)};_.g.gwa=function(a){var b=this;WP(this);if(!this.W||this.W.isDisposed())this.W=new Knd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return hO(d[0],e,ffd)})});return this.W};_.g.IGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.z8=function(a){WP(this);return this.send("3.22",[a],function(b,c){return hO(b[0],c,gfd)})};
_.g.AV=function(a){WP(this);return this.send("3.25",[a],function(b,c){return hO(b[0],c,bfd)})};_.g.Fba=function(){return this.$a.promise};_.g.boa=function(a){var b=_.Th();this.send("3.30",[a],function(c,d){c[0]?b.resolve(hO(c[0],d,ifd)):b.reject(new _.lc(void 0,hO(c[1],d,_.kc)))}).Hg(function(c){return void b.reject(c)});return b.promise};_.g.Iwa=function(a){WP(this);return this.O.mxa(a)};_.g.U7=function(a){WP(this);return this.send("3.42",[a],function(b,c){return hO(b[0],c,j7c)}).then()};
_.g.fP=function(a){WP(this);var b=new _.yn;this.send("3.39",[a],function(c,d){return c.map(function(e){return hO(e,d,$$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new $nd(b.promise))};_.g.tGa=function(a){var b=this;WP(this);return new xnd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new D9c(hO(d[0],e,xP),d[1])}).then()})};
_.g.noa=function(a){WP(this);return this.send("3.38",[a],function(b,c){return hO(b[0],c,sed)}).then()};_.g.pLa=function(a){WP(this);return this.O.Dxa(a)};_.g.cra=function(a){WP(this);return this.O.Cxa(a)};_.g.EJa=function(a){var b=this;WP(this);return new ynd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return hO(c[0],d,_.WN)}).then()})};_.g.FJa=function(a){WP(this);return this.O.wxa(a)};_.g.Q_=function(a){WP(this);this.send("3.43",[a])};
_.g.x0=function(a){WP(this);return this.send("3.44",[a],function(b,c){return hO(b[0],c,X6c)}).then()};_.g.So=function(a){WP(this);if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.tk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.S1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.wi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Jja(b).then(function(c){c?_.ti(a.S1a.bind(a),6E4):(a.Ja=!0,WP(a))})}};var WP=function(a){a.Ja&&a.dispatchEvent(new Kfd)};
var d3c=function(a){EP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Th();this.H=a.Rm()};_.L(d3c,EP);d3c.prototype.pSa=function(){this.Ha=new Emd(this.context);this.Ma(this.Ha);this.Ja=new Imd(this.context);this.Ma(this.Ja);this.Oa=new Pmd(this.context);this.Ma(this.Oa)};
d3c.prototype.$a=function(){var a=this,b=["hVFf7"];_.iN(this.context.Oc)&&b.push("BNEDtc");bP(this.O,b,function(){return void a.hXa()});bP(this.O,["T8oKm","ZA9qG"],function(){return void iod(a)});bP(this.O,["T8oKm","mrK8ic"],function(){return void iod(a)});this.Mc.listen(this.Ha,"WPi0i",this.Usa.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.Usa.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.Usa.bind(this,4));bP(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var iod=function(a){IP(a.context).addCallback(function(b){b.start()})};
_.g=d3c.prototype;_.g.Usa=function(a){_.ma(Y6c,a)&&this.dispatchEvent(new kfd(a))};_.g.YY=function(a){return this.V.yxa(a.clone())};_.g.ZFa=function(a){l$c(this.context.Hm,a,A5c(this.context.Jg));return this.V.vxa(a.clone())};_.g.Sda=function(a){return this.V.zxa(a.clone())};_.g.hqa=function(a){return new fnd(a,this.context.Rm())};
_.g.sva=function(a,b){var c=this;if(this.oa&&_.ak(this.oa.wd(),a))return this.oa;this.oa=new End(a.clone(),this.context,this.Ekb.bind(this),b);_.n.setTimeout(function(){c.oa=null},3E3);return this.oa};_.g.Ekb=function(a,b,c){var d=new _.QVc(a,b,c);return _.$h(this.H.then(function(e){return e.Te(d)}).Gg(function(e){return _.cM(e)}))};_.g.gwa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new Knd(a,this.context,function(c){return jod(b,c)});return this.ha};var jod=function(a,b){return _.$h(a.H.then(function(c){return c.Te(b)}).Gg(function(c){return _.cM(c)}))};
_.g=d3c.prototype;_.g.IGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Ph()};_.g.AV=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}))};_.g.z8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}))};_.g.bGa=function(a,b){var c=this;if(this.ka&&_.ak(this.ka.wd(),a))return Snd(this.ka),this.ka;this.ka=new Pnd(a.clone(),this.context,this.OKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.OKb=function(a){var b=this;return this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?kbd(b.context.uf.xq,_.Uj(c.qd(),_.Fk,2),a.wd().getId()).then(function(){return c}):c},_.cM)};_.g.kaa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?kbd(b.context.uf.xq,[_.C(c,_.Fk,2)],a.Cc()).then(function(){return c}):c},_.cM))};
_.g.A8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.Iwa=function(a){return this.V.mxa(a.clone())};_.g.U7=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.fP=function(a){return this.H.then(function(b){return b.Te(a)}).then(function(b){var c=new _.yn;ubd(a,b).then(function(d){return c.resolve(d)});return new $nd(c.promise)},function(b){return void _.cM(b)})};_.g.tGa=function(a){var b=this;return new xnd(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).Gg(function(d){return _.cM(d)})})};
_.g.noa=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.XN=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.oz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.eM?c.push(String(f.Cc())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.po(d);var e=new _.Vh;a.addCallback(this.anb.bind(this,e,c));return e};
_.g.oxa=function(){return new Vmd(this.context.Oc,this.context.LA,this.context.$Q().Lfa,this.context.Rm(),this.context.fQ,this.context.Sf(),this.context.Sk())};_.g.Iq=function(a,b){var c=this,d=_.Mg();this.W.create(d,a);3===a.getType()?a=EP.prototype.Iq.call(this,a).addCallback(function(e){return new _.zN(e,1,!1)}):(cP(this.O,"Qubz4b"),a=this.Ja.enqueue(new Nmd(a,b)));return a.addCallback(function(e){P$c(c.W,d,e);return e.response}).Hg(function(){WO(c.W,d)})};
_.g.ur=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.maa=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.y8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};_.g.iT=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};
_.g.uN=function(a,b){var c=this;cP(this.O,"iuEtc");var d=_.Mg();this.W.create(d,a);return this.Ha.enqueue(new Gmd(a,b)).addCallback(function(e){P$c(c.W,d,e);return e.response}).Hg(function(){WO(c.W,d)})};
_.g.UG=function(a,b){var c=this,d=_.Md(this.context.Oc.$f(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&F2c(a,d);var e=_.Mg();this.W.create(e,a);cP(this.O,"OZvrNc");return this.Oa.enqueue(new Smd(a,b)).addCallback(function(f){P$c(c.W,e,f);return f.response}).Hg(function(){WO(c.W,e)})};_.g.XR=function(a){Znd(_.Md(this.context.Oc.$f(),30),a);return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.cM))};
_.g.iu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.IL(b.context.Oc)?jbd(b.context.uf.xq,c):c},_.cM))};_.g.pLa=function(a){return this.V.Dxa(a.clone())};_.g.cra=function(a){return this.V.Cxa(a.clone())};_.g.EJa=function(a){var b=this;return new ynd(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).Gg(function(d){return _.cM(d)})})};_.g.FJa=function(a){return this.V.wxa(a.clone())};
_.g.Q_=function(a){yhd(this.context.uf,[a])};_.g.x0=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.cM)};_.g.So=function(a){if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.tk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.uf.So(a);iid(this.context.uf);return Promise.resolve()};_.g.aCa=function(){return this.context.$Q().fK()};
_.g.Oy=function(a){var b=this;return this.context.Oy(a).then(function(c){return c?(b.context.Jj().Oy(a),b.context.Ts.lL()):_.Ph(!a)})};_.g.pY=function(a){Wld(this.context).pY(a);this.Oy(!!a)};_.g.iF=function(){IP(this.context).addCallback(function(a){a&&a.Eoa()});this.context.sha.iF()};_.g.nY=function(a){a.Yi(this.context)};_.g.anb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];iid(this.context.uf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Sh([this.context.iaa.promise,this.context.Nfa.promise]).then(function(){return a.context.Ts.lL()}).then()};_.g.Hu=function(){IP(this.context).addCallback(function(a){a&&a.dispose()});return EP.prototype.Hu.call(this)};_.g.Fba=function(){return this.kb.promise};
var kod=function(){var a='<div class="'+_.F("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.F("la-Y-A")+" "+_.F("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.vn({id:_.am,callback:function(a){var b=_.n1c(a),c=g3c(a),d=_.C(a.get(_.Uc),_.Sb,10);_.qXc(d,b);_.Kj(d,28,c);b=e3c(a,d);a.registerService(_.bm,b.K9());_.Ke(b,"VbxEwf",function(){var e={};_.uc(_.Kt.getService(a),new _.jq(new _.iq(kod,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.lod=function(a,b){return _.J(a,17,b)};_.mod=function(a,b){return _.A(a,2,b)};_.nod=function(a,b){return _.A(a,1,b)};_.ood=function(a,b){return _.J(a,2,b)};_.pod=function(a,b){return _.Nj(a,1,b)};_.qod=function(a,b){return _.Kj(a,1,b)};_.rod=function(a,b){return _.Nj(a,2,b)};_.sod=function(a,b){return _.J(a,3,b)};_.t("RsR2Mc");


_.w();

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