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{
_.Zsb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.atb=function(a,b,c,d){var e=_.Ge.getService(a);a=e.mg(a,c);_.$sb(a.H.Ek,b,d);e.Zf(a)};_.$sb=function(a,b,c){var d=new _.btb;b.NU&&_.A(d,2,b.NU);b.hG&&0<=b.hG&&_.A(d,1,b.hG);b.quotaType&&_.A(d,3,b.quotaType);_.ctb(a,d);c&&(b=new _.dtb,_.A(b,1,c),_.etb(a,b))};_.ftb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.gtb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.ctb=function(a,b){b&&(a=a.ad(),_.J(a,29,b))};_.etb=function(a,b){b&&(a=a.ad(),_.J(a,38,b))};_.btb=function(a){_.O(this,a,-1,null,null)};_.L(_.btb,_.K);_.dtb=function(a){_.O(this,a,-1,null,null)};_.L(_.dtb,_.K);_.dtb.prototype.Nh=function(){return _.B(this,1)};_.htb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Pn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Ds:e,size:f,Xd:h},a))};_.t("sy11r");
_.jtb=function(a,b,c){var d=_.E(a.get(_.cDa),1,""),e=_.Zsb(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",_.itb(a,e,c)),-1!=parseInt(String(_.C(b,_.Dx,2)),10)?"upgrade":"")};
_.itb=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"}}};
_.ktb=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 Wzb=_.itb,Xzb=_.jtb,Yzb=_.ktb;_.itb=function(a,b,c){return"over"==b&&_.Rl(a.get(_.Xb))?"widget_trial":Wzb(a,b,c)};_.jtb=function(a,b,c){c=Xzb(a,b,c);"over"===_.Zsb(b)&&_.Rl(a.get(_.Xb))&&_.ij(c,"eft","1");return c};_.ktb=function(a,b,c){b=Yzb(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 Qsb,Tsb;Qsb=[4,5,6,7];_.ZA=function(a){_.O(this,a,-1,null,null)};_.L(_.ZA,_.K);_.ZA.prototype.Ab=function(){return _.B(this,1)};_.ZA.prototype.Dc=function(a){return _.A(this,1,a)};_.ZA.prototype.z$=function(){return _.B(this,2)};_.ZA.prototype.Xb="JmcaR";_.Rsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Rsb,_.K);_.Rsb.prototype.O=function(){return _.R(this,1)};_.Rsb.prototype.Xb="dvhrqe";_.Ssb=function(a){_.O(this,a,-1,null,null)};_.L(_.Ssb,_.K);_.Ssb.prototype.bu=function(){return _.B(this,2)};
_.Ssb.prototype.GWa=function(){return _.B(this,3)};Tsb=[5];_.Usb=function(a){_.O(this,a,-1,null,null)};_.L(_.Usb,_.K);_.Usb.prototype.setActive=function(a){return _.A(this,4,a)};_.Vsb=function(a){_.O(this,a,-1,Tsb,null)};_.L(_.Vsb,_.K);_.g=_.Vsb.prototype;_.g.a_=function(){return _.B(this,1)};_.g.QT=function(){return _.B(this,3)};_.g.cR=function(){return _.Uj(this,_.Ssb,5)};_.g.tn=function(){return _.B(this,6)};_.g.ev=function(){return _.B(this,7)};_.g.gy=function(){return _.B(this,10)};
_.g.xAb=function(){return _.P(this,16)};_.g.Xb="dzR11e";_.Wsb=function(a){_.O(this,a,-1,Qsb,null)};_.L(_.Wsb,_.K);_.Wsb.prototype.O=function(){return _.C(this,_.Vsb,1)};_.Wsb.prototype.fN=function(){return _.C(this,_.ZA,8)};_.Wsb.prototype.V=function(){return _.C(this,_.Rsb,9)};_.t("sy11n");
_.$A=function(a){_.O(this,a,-1,Xsb,null)};_.L(_.$A,_.K);_.$A.prototype.getUser=function(){return _.C(this,_.Fk,1)};_.$A.prototype.getMetadata=function(){return _.C(this,_.Wsb,3)};_.$A.prototype.So=function(){return _.P(this,3)};var Xsb=[2];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.aB=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)))};_.Ysb=function(a){return a instanceof Error?_.aB(a).Pg:a instanceof _.lc?a.Pg:a};_.t("sy11q");

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.bxb=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(_.bxb,_.ri);_.g=_.bxb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.$wb(a,"aborting read");}};_.g.ak=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.$wb(this.H.error,"reading file")};_.g.I0=function(a){this.dispatchEvent(new axb(a,this))};_.g.Xa=function(){_.bxb.ub.Xa.call(this);delete this.H};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy168");
_.wC=function(a){_.O(this,a,-1,null,null)};_.L(_.wC,_.K);_.wC.prototype.ka=function(){return _.Hj(this,1)};_.wC.prototype.V=function(){return _.Hj(this,2)};_.wC.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{
_.Brb=function(a){_.O(this,a,-1,null,null)};_.L(_.Brb,_.K);_.Brb.prototype.O=function(){return _.B(this,1)};_.Brb.prototype.Ab=function(){return _.B(this,2)};_.Brb.prototype.Dc=function(a){return _.A(this,2,a)};_.Brb.prototype.V=function(){return _.B(this,3)};_.t("sy17s");
_.Drb=function(a){_.O(this,a,-1,Crb,null)};_.L(_.Drb,_.K);_.Drb.prototype.O=function(){return _.Md(this,1)};var Crb=[1];
_.Frb=function(a){_.O(this,a,-1,Erb,null)};_.L(_.Frb,_.K);_.Frb.prototype.O=function(){return _.Uj(this,_.Brb,1)};var Erb=[1];
_.Hrb=function(a){_.O(this,a,-1,Grb,null)};_.L(_.Hrb,_.K);_.Hrb.prototype.O=function(){return _.Uj(this,_.Frb,1)};var Grb=[1];
_.Irb=function(a){_.O(this,a,-1,null,null)};_.L(_.Irb,_.K);_.Irb.prototype.V=function(){return _.C(this,_.Hrb,1)};_.Irb.prototype.O=function(){return _.C(this,_.Drb,2)};
_.RA=function(a){_.O(this,a,-1,Jrb,null)};_.L(_.RA,_.K);_.g=_.RA.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.Pw=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,_.Irb,7)};_.g.Bsa=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.Tn=function(){return _.B(this,15)};_.g.Aka=function(){return _.Md(this,18)};var Jrb=[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");
_.kD=function(a){_.O(this,a,-1,null,null)};_.L(_.kD,_.K);_.kD.prototype.getKey=function(){return _.C(this,_.Ob,1)};_.kD.prototype.vs=function(){return _.P(this,1)};_.kD.prototype.xe=function(){return _.C(this,_.lf,2)};
_.lD=function(a){_.O(this,a,-1,null,null)};_.L(_.lD,_.K);_.lD.prototype.xe=function(){return _.C(this,_.lf,2)};

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.BD=function(a,b,c){_.N.call(this);this.Gn=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(_.BD,_.N);_.g=_.BD.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.Gn.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.BD.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.Gn.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");
_.HF=function(a){_.O(this,a,-1,null,null)};_.L(_.HF,_.K);_.HF.prototype.getName=function(){return _.B(this,1)};_.HF.prototype.jd=function(a){return _.A(this,1,a)};_.HF.prototype.xe=function(){return _.C(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bj");
_.IF=function(a){_.O(this,a,-1,null,null)};_.L(_.IF,_.K);_.g=_.IF.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.Op=function(){return _.B(this,4)};

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.LF=function(a){_.O(this,a,-1,null,null)};_.L(_.LF,_.K);_.g=_.LF.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.nt=function(){return _.P(this,5)};_.t("sy1bm");
_.MF=function(a){_.O(this,a,-1,JTb,null)};_.L(_.MF,_.K);_.MF.prototype.en=function(){return _.Md(this,1)};_.KTb=function(a,b){return _.Kj(a,1,b)};_.MF.prototype.xe=function(){return _.C(this,_.lf,2)};var JTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.QF=function(a,b){return _.A(a,4,b)};_.LTb=function(a,b){_.A(a,11,b)};_.MTb=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{
_.WF=function(a){return _.B(a,11)};_.t("sy1bq");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.dUb=function(a){_.O(this,a,-1,null,null)};_.L(_.dUb,_.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
*/
_.rH=function(a,b,c,d){this.ha=a;this.W=b;this.H=this.V=a;this.ka=c||0;this.ma=d||2};_.rH.prototype.O=0;_.rH.prototype.reset=function(){this.H=this.V=this.ha;this.O=0};_.rH.prototype.Ya=function(){return this.V};_.sH=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{
_.ebc=function(a,b,c){_.Zi(a.url,function(d){d=d.target;d.ou()?b(d.Tk()):c(d.Ab())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.fbc=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");
_.hbc=function(a){_.O(this,a,-1,gbc,null)};_.L(_.hbc,_.K);var gbc=[2];
_.ibc=function(a){_.O(this,a,-1,null,null)};_.L(_.ibc,_.K);var jbc=function(){var a=new _.ibc,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.ibc.prototype.Ki=function(){return _.B(this,7)};
_.kbc=function(a){_.O(this,a,-1,null,null)};_.L(_.kbc,_.K);
var lbc;_.tH=function(a){_.O(this,a,31,lbc,null)};_.L(_.tH,_.K);_.uH=function(a,b){return _.A(a,8,b)};lbc=[3,20,27];
var nbc=function(a){_.O(this,a,17,mbc,null)};_.L(nbc,_.K);var obc=function(a){var b=Date.now().toString();return _.A(a,4,b)},pbc=function(a,b){return _.Nj(a,3,b)},qbc=function(a,b){return _.A(a,14,b)},mbc=[3,5];
var sbc=function(a){_.O(this,a,6,rbc,null)};_.L(sbc,_.K);var rbc=[5];
var tbc=function(a){_.O(this,a,-1,null,null)};_.L(tbc,_.K);
var ubc=new _.tk(175237375,tbc);
_.vH=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 nbc;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.qn&&_.yb(65)||_.rj.Ow&&_.yb(45)||_.rj.Sv&&_.yb(12)||_.Tg()&&0<=_.dg(_.oia(),12))&&!!_.jf()&&
!!_.jf().navigator&&!!_.jf().navigator.sendBeacon;a=_.A(new _.kbc,1,1);f||(f=jbc(),_.J(a,11,f));_.J(this.ka,1,a);_.A(this.ka,2,this.Xc);this.ma=new _.rH(1E4,3E5,.1);this.H=new _.si(this.ma.Ya());this.Ma(this.H);_.ue(this.H,"tick",_.Wfa(vbc(this,p)),!1,this);this.Ta=new _.si(6E5);this.Ma(this.Ta);_.ue(this.Ta,"tick",_.Wfa(vbc(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(_.vH,_.ri);var vbc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.vH.prototype.Xa=function(){this.oa();_.ri.prototype.Xa.call(this)};var wbc=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};_.vH.prototype.W=function(a){a instanceof _.tH?this.log(a):(a=_.uH(new _.tH,a.kc()),this.log(a))};
_.xbc=function(a,b){b?(a.V||(a.V=new _.hbc),b=b.kc(),_.A(a.V,4,b)):a.V&&_.Lj(a.V,4)};_.ybc=function(a){a.Sb=a.ne};_.zbc=function(a,b){a.ma=new _.rH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.vH.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 Abc(a));this.Oa||this.H.enabled||this.H.start()};
_.vH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Bbc(this);else{var d=Date.now();if(this.Uc>d&&this.kb<d)b&&b("throttled");else{var e=qbc(pbc(obc(this.ka.clone()),this.O),this.va);d={};var f=this.yb();f&&(d.Authorization=f);var h=wbc(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.ru(k.length)&&(l=this.Fa.B8b(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 sbc(D)}catch(H){}z&&(y=Number(_.Tma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Uc=c.kb+y),z=_.lb(z,ubc))&&(z=_.bk(z,1,-1),-1!=z&&(c.uc||_.zbc(c,z)))}a&&a()},r=function(y){var z=_.Uj(e,_.tH,3);
_.sH(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()}}}};_.vH.prototype.oa=function(){this.ha||(this.Sb&&Bbc(this),this.Mb&&Cbc(this),this.flush())};
var Bbc=function(a){Dbc(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})},Cbc=function(a){Dbc(a,6,5,function(b,c){b=_.Si(b,"format","base64json","p",_.sj(c.kc(),3));_.wg(new Image,b);return!0})},Dbc=function(a,b,c,d){if(0!==a.O.length){var e=_.Lla(wbc(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=pbc(obc(a.ka.clone()),h);0===f&&qbc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Abc=function(){_.gi.call(this,"event-logged",void 0)};_.L(Abc,_.gi);

_.w();

}catch(e){_._DumpException(e)}
try{
var bcc=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 ccc=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 ecc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,dcc(ccc(d),a,c||null)].join(" "):null},dcc=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)}),fcc(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=fcc(e.join(" "));a=[c,a];_.oa(h)||a.push(h.join(""));return a.join("_")},fcc=function(a){var b=
bcc();b.update(a);return b.digestString().toLowerCase()};
var gcc={};
var hcc,jcc;hcc=function(a){return!!gcc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.icc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;hcc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.kPa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");hcc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};jcc=function(a,b,c,d){(a=_.n[a])||(a=(new _.kPa(document)).get(b));return a?ecc(a,c,d):null};
_.kcc=function(a,b){b=void 0===b?!1:b;var c=ccc(String(_.n.location.href)),d=[];if(_.icc(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 _.kPa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?ecc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&hcc(b)&&((b=jcc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=jcc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ii");
_.iSc=function(a){_.O(this,a,-1,null,null)};_.L(_.iSc,_.K);_.g=_.iSc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.vs=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)};
_.lL=function(a){_.O(this,a,-1,jSc,null)};_.L(_.lL,_.K);_.lL.prototype.Kz=function(){return _.B(this,1)};_.lL.prototype.getUrl=function(){return _.B(this,3)};var jSc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k2");
var mSc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};mSc.prototype.get=function(a){return nSc(this)[a]||null};mSc.prototype.set=function(a){nSc(this)[this.V(a)]=a;this.O=null};var nSc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.mL=function(a,b){this.H=a;this.bB=b};
_.mL.prototype.Ez=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!oSc(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.wM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.xM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&oSc(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++)oSc(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&&oSc(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.xM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.wM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.bB(this.H.$M(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.my()||0;l.setPosition((l.Ni()||0)+pSc(e,l.Ni()||0));d[f].setPosition((d[f].Ni()||0)+c);3==d[f].getType()&&(l.Py((l.my()||0)+pSc(e,l.my()||0)),d[f].Py((d[f].my()||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 mSc(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 pSc=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};
_.mL.prototype.EE=function(a,b){var c=b.Ni()||0;c>(a.Ni()||0)&&--c;return this.H.EE(this.H.$M(b),a.Ni()||0,c)};var oSc=function(a,b,c){return a.bB(b)==a.bB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.qSc=function(a){_.O(this,a,-1,null,null)};_.L(_.qSc,_.K);_.g=_.qSc.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.my=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)};_.rSc=function(a){var b=new _.qSc;return _.A(b,1,a)};_.t("sy1k3");
var sSc=function(){};_.g=sSc.prototype;_.g.xM=function(a,b){return _.rSc(1).setItem(a).setPosition(b)};_.g.wM=function(a,b){return _.rSc(2).setPosition(b).setItem(a)};_.g.EE=function(a,b,c){return _.rSc(3).Py(b).setPosition(c).setItem(a)};_.g.rQ=function(a,b){return _.rSc(4).setItem(a).setPosition(b)};_.g.$M=function(a){return a.getItem()};
var uSc;_.tSc=function(){_.mL.call(this,new sSc,function(a){return a.getId()})};_.L(_.tSc,_.mL);_.vSc=function(){uSc||(uSc=new _.tSc);return uSc};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.nL=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ela)(a)};_.oL=function(a,b){a.V.remove(b);return a};_.pL=function(){return"goog_"+_.hia++};_.ySc=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};
_.qL=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)})};_.sL=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};
_.tL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.tL.prototype.clone=function(){return new _.tL(this.start,this.end)};_.uL=function(a){return a.end-a.start};_.t("sy1kk");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var ASc,DSc;ASc=[3,42];_.BSc=function(a){_.O(this,a,-1,ASc,null)};_.L(_.BSc,_.K);_.BSc.prototype.getMimeType=function(){return _.B(this,27)};_.CSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};DSc=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 ESc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(ESc,_.gi);
_.FSc=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(_.FSc,_.ri);_.g=_.FSc.prototype;_.g.Csb=_.Lca(function(){var a=this.ru(),b="hidden"!=this.lAa();if(a){var c;b?c=((_.iFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.lAa=_.Lca(function(){return DSc("hidden",this.ld.Vb())});_.g.lub=_.Lca(function(){return DSc("visibilityState",this.ld.Vb())});_.g.ru=function(){return!!this.lAa()};
_.g.wB=function(){return!!this.ld.Vb()[this.lAa()]};_.g.zab=function(){var a=this.ru()?this.ld.Vb()[this.lub()]:null;a=new ESc(this.wB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.mi(this.H);_.FSc.ub.Xa.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.wL=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.If(_.wL,_.xSc);_.wL.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 GSc=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};
_.wL.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;)GSc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){GSc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){GSc(this,d);e=0;break}}this.O=e;this.V+=b};
_.wL.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 HSc;HSc=[2];_.ISc=function(a){_.O(this,a,-1,HSc,null)};_.L(_.ISc,_.K);_.ISc.prototype.Ab=function(){return _.B(this,1)};_.ISc.prototype.Dc=function(a){return _.A(this,1,a)};_.ISc.prototype.$j=function(){return _.B(this,3)};_.t("sy1le");
var JSc;_.xL=function(a){_.O(this,a,-1,JSc,null)};_.L(_.xL,_.K);_.xL.prototype.O=function(){return _.Md(this,1)};_.xL.prototype.xe=function(){return _.C(this,_.lf,2)};_.KSc=function(a,b){return _.J(a,2,b)};_.xL.prototype.Mi=function(){return _.bk(this,3,20)};_.xL.prototype.xi=function(a){return _.A(this,3,a)};_.xL.prototype.Cm=function(){return _.R(this,4)};_.LSc=function(a,b){return _.A(a,4,b)};JSc=[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
*/
_.MSc=function(a){_.N.call(this);this.O=a;this.H={};this.O.yO((0,_.v)(this.V,this))};_.If(_.MSc,_.N);_.OSc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ie`"+b);if(b in a.H)throw Error("Je`"+b);var c=new NSc(a,b);return a.H[b]=c};_.MSc.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)}};_.MSc.prototype.Xa=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var NSc=function(a,b){_.N.call(this);this.Ng=a;this.H=b};_.If(NSc,_.N);_.g=NSc.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.DTa,this,b),c)};_.g.yO=function(a){this.O=(0,_.v)(this.DTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Ke");this.Ng.O.send(this.H+":"+a,b)};_.g.DTa=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 PSc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Mfa);try{delete a[_.Mfa]}catch(b){}},yL=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++)PSc(c[a]);return b.join("")};_.t("sy1lu");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.uTc=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=_.ebc;this.H=""};_.t("sy1lv");
_.uTc.prototype.build=function(){var a=new _.vH(this.ma,this.ha?this.ha:_.kcc,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,_.kbc,1),d=_.C(c,_.ibc,11);d||(d=new _.ibc);_.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&&_.xbc(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.hbc),_.Kj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.zbc(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.vTc=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)};_.wTc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lw");
_.xTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.xTc.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=_.uH(new _.tH,a.kc());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.yTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.ybc(this.O)};_.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=_.uH(new _.tH,a.kc());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var zTc=function(a){_.O(this,a,-1,null,null)};_.L(zTc,_.K);zTc.prototype.getEmail=function(){return _.E(this,3,"")};zTc.prototype.wp=function(){return _.P(this,3)};_.DL=function(a){return _.S(a,5,!1)};_.EL=function(a){return _.C(a,zTc,36,1)};_.ATc=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");
_.FL=function(a){_.O(this,a,-1,null,null)};_.L(_.FL,_.K);_.FL.prototype.xe=function(){return _.C(this,_.lf,1)};_.GL=function(a,b){return _.J(a,1,b)};_.FL.prototype.Lg=function(){return _.B(this,4)};_.FL.prototype.bpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var BTc=function(a){_.O(this,a,-1,null,null)},GTc;_.L(BTc,_.K);var CTc=function(a){_.O(this,a,-1,null,null)};_.L(CTc,_.K);_.HL=function(a){_.O(this,a,-1,null,null)};_.L(_.HL,_.K);_.HL.prototype.Q4=function(a){_.A(this,3,a)};_.HL.prototype.Jl=function(a){return _.J(this,5,a)};_.HL.prototype.getMimeType=function(){return _.B(this,7)};var DTc=[2],ETc=function(a){_.O(this,a,-1,DTc,null)};_.L(ETc,_.K);var FTc=function(a){_.O(this,a,-1,null,null)};_.L(FTc,_.K);GTc=function(a){this.H=a};
_.HTc=function(a){this.ud=a};_.HTc.prototype.getId=function(){return this.ud};var ITc=function(a){_.O(this,a,-1,null,null)};_.L(ITc,_.K);ITc.prototype.Di=function(){return _.B(this,1)};var JTc=function(a){_.O(this,a,-1,null,null)};_.L(JTc,_.K);
var LTc=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;KTc(this,b);break}}},KTc=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})};
LTc.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,_.HL,3)||new _.HL;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 MTc=function(){_.Mo.call(this)};_.L(MTc,_.Mo);MTc.prototype.rv=function(){return 1==_.B(_.C(this.H,BTc,7),1)};var NTc=new _.Io("high_frequency_builder");
var OTc=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 PTc=function(){_.Mo.call(this)};_.L(PTc,_.Mo);var QTc=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},RTc=new _.Io("system_builder");
var STc=function(a,b){_.N.call(this);this.O=a;this.H=new _.FSc(b);this.Ma(this.H);this.Bb=new _.Ee(this);this.Ma(this.Bb);this.H.ru()&&this.Bb.listen(this.H,"visibilitychange",this.V)};_.L(STc,_.N);STc.prototype.V=function(){if(this.O.BP()){var a=this.H.wB()?102001:102E3;a=this.O.OF(a,0);this.O.pq(a)}};
var TTc=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(TTc,_.N);_.g=TTc.prototype;_.g.pq=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 GTc(a)};_.g.OF=function(a,b){a=QTc(UTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.FL=function(){return this.H.O};
_.g.JM=function(a){var b=this.H,c=_.No(a,RTc),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=VTc(a.H,691).build();b=WTc(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=VTc(a,716);XTc(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 STc(this))};_.g.Aja=function(){this.O.W();return _.qL(Array.from(this.O.V)).then()};
_.g.BP=function(){var a=this.H;return a.va&&a.ma&&!0};
var YTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.vL(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(YTc,_.N);YTc.prototype.initialize=function(){OTc(this.ma,this.O.ve,this.O);OTc(36E5,this.va,this)};YTc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=ZTc(this.H),c=this.oa.rA(b);c&&(_.Uh(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
YTc.prototype.va=function(){var a=this.H,b=VTc(a,1153).build();a.H.add(b);this.O.ve()};
var $Tc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L($Tc,_.N);_.g=$Tc.prototype;_.g.pq=function(a){a=this.H.pq(a);this.Aja();return a};_.g.OF=function(a,b){return this.H.OF(a,b)};_.g.FL=function(){return this.H.FL()};_.g.JM=function(a){return this.H.JM(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 aUc=function(){};aUc.prototype.KQ=function(){return new MTc};
var bUc=function(){this.H=[]};bUc.prototype.add=function(a){this.H.push(a)};bUc.prototype.$b=function(){return this.H.length};
var cUc=function(){this.H={}};cUc.prototype.add=function(a){var b=_.B(a.H,12);this.H[b]=a};cUc.prototype.remove=function(a){delete this.H[a]};
var dUc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new cUc;this.H=new bUc;this.ma=this.va=this.V=!1},UTc=function(a,b){a=_.No((new _.Mo).initialize(new _.Dya,a.Ba),RTc);_.A(a.H,10,b);return a},ZTc=function(a){var b=a.H,c=b.H;b.H=[];return WTc(a,c)},WTc=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,_.BSc,1)){k=_.C(k,_.BSc,1);_.P(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.C(k,CTc,20);if(void 0!==k&&void 0===f){f=new JTc;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 _.HL),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},VTc=function(a,b){var c=QTc(UTc(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 FTc;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 ETc,b=_.A(e,1,b),d&&_.Nj(b,2,d),d=_.Oo(c),_.J(d,3,b));XTc(a,c);return c},XTc=function(a,b){a.W=_.B(b.H,12);a.oa=_.B(_.C(_.C(b.H,_.zo,8),_.eya,1),1)};
var eUc=function(){};eUc.prototype.KQ=function(){return new PTc};
var fUc=function(){this.H=this.O=null};fUc.prototype.build=function(){null==this.H&&(this.H=new _.fza);_.Qo(this.H,RTc,new eUc);_.Qo(this.H,NTc,new aUc);var a=this.H;var b=this.O;if(!_.P(_.gUc(b),1)){var c=_.gUc(b),d=new _.xza;_.J(c,1,d)}b=_.C(_.gUc(b),_.xza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new dUc(this.O,this.H)};
var hUc=function(){this.W=new _.Kb;this.O=null;this.ha=new ITc;_.A(this.ha,1,6);this.H=this.V=null};hUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.iUc=function(a,b){_.A(a.W,2,b);return a};_.jUc=function(a,b){if(null==a.V){a.V=new _.Kza;var c=_.gUc(a);_.J(c,2,a.V)}_.A(a.V,1,b)};_.gUc=function(a){null==a.O&&(a.O=new _.Uo);return a.O};_.kUc=function(a){null==a.H&&(a.H=new _.HL);return a.H};
_.lUc=function(){this.H=this.ha=null;this.W=new hUc;this.V=null;this.ka=this.ma=!1;this.O=null};_.mUc=function(a,b){a.ha=b;return a};_.nUc=function(a,b){a.H=b;return a};_.oUc=function(a,b){a.V=b;return a};_.lUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.pUc=function(a,b){_.A(a.W.W,6,b);return a};
_.lUc.prototype.build=function(){var a=new fUc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new LTc;this.H=this.ha=b}b=new YTc(a,this.ha,this.H,this.ma,this.O);a=new TTc(a,b,!1);this.ka&&(a=new $Tc(a));return a};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.wUc=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(_.wUc,_.Gt);_.g=_.wUc.prototype;_.g.clone=function(){var a=new _.wUc(this.date);a.DG=this.DG;a.rV=this.rV;return a};_.g.add=function(a){(a.W||a.V)&&_.Ft.prototype.add.call(this,new _.Et(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.$v))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Gt.prototype.getUTCFullYear;
_.g.getMonth=_.Gt.prototype.getUTCMonth;_.g.getDate=_.Gt.prototype.getUTCDate;_.g.getHours=_.Gt.prototype.getUTCHours;_.g.getMinutes=_.Gt.prototype.getUTCMinutes;_.g.getSeconds=_.Gt.prototype.p$a;_.g.getMilliseconds=_.Gt.prototype.o$a;_.g.getDay=_.Gt.prototype.getUTCDay;_.g.setFullYear=_.Gt.prototype.setUTCFullYear;_.g.setMonth=_.Gt.prototype.setUTCMonth;_.g.setDate=_.Gt.prototype.setUTCDate;_.g.setHours=_.Gt.prototype.hMa;_.g.setMinutes=_.Gt.prototype.iMa;_.g.setSeconds=_.Gt.prototype.jMa;
_.g.setMilliseconds=_.Gt.prototype.q$a;
var xUc,zUc;xUc={};_.yUc=(xUc[1]="0",xUc[2]="1",xUc[3]="2",xUc);zUc={};_.AUc=(zUc[1]="asc",zUc[2]="desc",zUc);
_.BUc=new _.Io("drive_dataservice_builder");
_.CUc=_.Yg&&0>_.dg(_.ah,"533");
_.DUc=new _.HTc("drive_dataservice_invariants");
_.EUc=new Map([[[1],1],[[6],7],[[2],2]]);_.FUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.GUc=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 _.JL(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}]]);
_.HUc=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)}]]);_.IUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.JUc=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]]);_.KUc=new Map([[[2],3],[[1],2],[[0],1]]);_.LUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.MUc=new Map([[[_.USc],1],[[_.VSc],2],[[_.WSc],3],[[_.XSc],4],[[_.YSc],5],[[_.ZSc],6],[[_.$Sc],7],[[_.aTc],8],[[_.bTc],10],[[_.cTc],11],[[_.dTc],12],[[_.eTc],13]]);_.NUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ld");
_.NL=function(a){_.O(this,a,-1,OUc,null)};_.L(_.NL,_.K);_.NL.prototype.Cc=function(){return _.B(this,2)};_.OL=function(a,b){return _.A(a,2,b)};_.g=_.NL.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.bIa=function(a){_.A(this,13,a)};var OUc=[8,17];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var SUc;_.RL=function(a){if(a instanceof _.kc)return a;if(_.IL(a)){if(a=_.Ysb(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);_.PL(a,2);_.QL(a,6);return a};_.PUc=function(a){var b=a.nk();a=a.$F();return 15===b||32===b||33===b||401===a};_.QUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.RUc=function(a){_.O(this,a,-1,null,null)};_.L(_.RUc,_.K);
_.SL=function(a){return _.bk(a,1,0)};_.TL=function(a){return _.C(a,_.RUc,4)};_.PL=function(a,b){return _.A(a,1,b)};_.QL=function(a,b){return _.A(a,2,b)};SUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.UL=function(a){_.O(this,a,-1,SUc,null)};_.L(_.UL,_.K);_.g=_.UL.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.nm=function(a){return _.A(this,3,a)};_.g.Av=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Kn=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)};_.VL=function(a,b){return _.A(a,16,b)};_.t("sy1lc");
_.WL=function(a){_.O(this,a,-1,TUc,null)};_.L(_.WL,_.K);_.WL.prototype.RQ=function(){return _.bk(this,2,100)};_.WL.prototype.IS=function(a){return _.A(this,2,a)};_.WL.prototype.xe=function(){return _.C(this,_.lf,6)};_.WL.prototype.Bc=function(){return _.B(this,8)};var TUc=[5];
var UUc;UUc={};_.VUc=(UUc[0]="/drive/v2internal",UUc[1]="/drive/v2internal.corp",UUc[2]="/drive/v2internal.scary",UUc[4]="/drive/v2internal.scary",UUc[5]="/drive/v2beta",UUc[6]="/drive/v2.1beta",UUc);
_.WUc=new Set([0,1,2,3]);
_.XUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.YUc=_.A(new _.UL,15,!0);_.ZUc=_.VL(new _.UL,!0);_.$Uc=_.VL(new _.UL,!1);
_.aVc=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");
_.bVc=new Set([7,4,5,9,6,10,11,12]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.cVc=function(a){for(var b in a)delete a[b]};_.dVc=function(a){a=_.Pf(a);return 0===a.length?_.tha:new _.jg(a,_.rha)};_.eVc=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
*/
_.fVc=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(_.fVc,_.xSc);_.fVc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.fVc.prototype.update=function(a,b){this.H.update(a,b)};
_.fVc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.gVc=function(a,b){a.reset();a.update(b);return a.digest()};
_.hVc=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(_.hVc,_.xSc);_.hVc.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 iVc=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};
_.hVc.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;)iVc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){iVc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){iVc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.hVc.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;iVc(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{
_.XL=function(a,b){return _.A(a,82,b)};_.YL=function(a){return _.A(a,3,!0)};_.jVc=function(a,b){return _.A(a,7,b)};_.t("sy1l9");
_.kVc=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
*/
_.ZL={K_:"Versions",j7:"Metadata",Z5:"Data",qU:"Offline"};_.lVc=new Map([[_.ZL.K_,"versionKey"],[_.ZL.j7,"k"]]);_.mVc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var qVc;_.nVc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.oVc=function(a){return(a=a&&_.nVc(a))&&a["x-guploader-uploadid"]};_.pVc=function(a){return(a=a&&_.nVc(a))&&a["x-google-trace"]};qVc=[6];_.$L=function(a){_.O(this,a,-1,qVc,null)};_.L(_.$L,_.K);_.aM=function(a,b){return _.A(a,14,b)};_.t("sy1m0");
var rVc,tVc;
_.sVc=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=rVc(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?_.aM(e,7):0!==a||d?403===a?_.aM(e,22):503===a||429===a?_.aM(e,24):(_.Lj(e,14),_.A(e,10,1),_.A(e,8,!0)):l||_.aM(e,2));e.bda(_.oVc(c));e.Sca(_.pVc(c));
return e};rVc=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=tVc[c];d?_.A(b,10,d):c&&!d&&_.A(b,10,2);(a=a.debugInfo)&&_.aq(b,a);return b};
tVc={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{
_.uVc=function(a,b){return _.A(a,1,b)};_.vVc=function(a,b){return _.J(a,1,b)};_.wVc=function(a,b){return _.A(a,2,b)};_.xVc=function(a,b){return _.J(a,3,b)};_.t("sy1m1");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.yVc=function(a,b,c){c&&(a=_.Eg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Dg(a));return a};_.zVc=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
*/
_.AVc=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 BVc,CVc,GVc,KVc,LVc,MVc,dWc,UM,eWc,fWc,mWc,IVc,UWc,HVc,jXc,kXc,rXc,tXc,vXc,xXc,yXc,zXc,BXc,SXc,TXc,WXc,XXc,YXc,$Xc,aYc,cYc,fYc,XVc,jYc,YVc,kYc,lYc,mYc,qN,sN,oYc,qYc,tYc,uYc,vYc,wYc,xYc,yYc,BYc,DYc,EYc,GYc,HYc,WYc,VYc,ZYc,aZc,bZc,cZc,hZc,kZc,mZc,nZc,tZc,sZc,rZc,pZc,qZc,nWc,BZc,CZc,xZc,DZc,yZc,gWc,EZc,hWc,iWc,jWc,kWc,lWc,FZc,HZc;_.bM=function(a,b,c){var d=new _.kc,e=_.kka(_.bM);_.A(d,20,e);_.QL(d,a);_.PL(d,b?b:2);c&&_.aM(d,c);return d};
_.cM=function(a){var b;a instanceof _.kc?b=new _.lc(null,a):_.IL(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(_.cM));return b};_.dM=function(a){throw _.aB(a);};BVc=function(a){return 7===a.nk()||24===a.Jp()&&(a=a.$F(),503===a||429===a)?!0:!1};CVc=function(a,b){return b?b+"("+a+")":a};
_.eM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.pBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.DVc.includes(p)){var q=_.tbb.get(p);if(q){var r=_.wbb[p];a.BG&&r&&(q=r);a.kr&&(a.BG?(p=_.vbb[p])&&(q=p):(p=_.ubb[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(CVc(f.S5.join(","),k))}return CVc(e.join(","),c)};_.EVc=function(a){var b=new _.Po;b.append(_.eM(a,!0));return b.toString()};_.FVc=function(a,b){return a.filter(function(c){return b.includes(c)})};GVc=function(a){a=a.filter(function(b){return!_.tbb.has(b)});if(a.length)throw Error("Oc`"+a.join(", "));};
_.JVc=function(a){if(a){var b=a.getMimeType();b&&_.QF(a,b.toLowerCase());HVc(a,_.Uj(a,IVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};KVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};LVc=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)))};
MVc=function(a){a=_.$p(_.aM(_.PL(new _.kc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.aB(a);};
dWc=function(a){if(a instanceof _.fM)return"request access";if(a instanceof _.gM)return"admin migrate to TD";if(a instanceof _.hM)return"authorize app";if(a instanceof _.iM)return"copy item";if(a instanceof _.jM)return"change category links";if(a instanceof _.kM)return"create item";if(a instanceof _.lM)return"create ws";if("undefined"!=typeof _.mM&&a instanceof _.mM)return"delete app";if("undefined"!=typeof _.nM&&a instanceof _.nM)return"delete backup";if(a instanceof _.oM)return"delete item";if("undefined"!=
typeof _.pM&&a instanceof _.pM)return"delete permission";if(a instanceof _.qM)return"delete revision";if(a instanceof _.rM)return"delete TD";if(a instanceof _.kD)return"delete pref";if(a instanceof _.sM)return"delete ws";if(a instanceof _.tM)return"download item";if(a instanceof _.uM||a instanceof _.vM)return"empty trash";if(a instanceof _.wM)return"find by ID";if(a instanceof _.$z)return"find by IDs";if(a instanceof _.NVc)return"item export start";if("undefined"!=typeof _.xM&&a instanceof _.xM)return"get app";
if("undefined"!=typeof _.yM&&a instanceof _.yM)return"insert app";if("undefined"!=typeof _.zM&&a instanceof _.zM)return"insert permission";if(a instanceof _.KL)return a=a.wd(),_.AM(a)?"quick access item query":_.BM(a)?"people predict item query":_.CM(a)?"drive priority query":"item query";if("undefined"!=typeof _.DM&&a instanceof _.DM)return"list android backup items request";if(a instanceof _.EM){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 _.OVc&&a instanceof _.OVc?"list backups":a instanceof _.WL?"list changes":a instanceof _.FM?"list permissions":"undefined"!=typeof _.GM&&a instanceof _.GM?"list revisions":a instanceof _.HM?"partial download item":a instanceof _.IM?"people api":a instanceof _.HF?"get published category":"undefined"!=typeof _.JM&&a instanceof _.JM?"get remaining changes":a instanceof _.KM?"remove item":
"undefined"!=typeof _.LM&&a instanceof _.LM?"reparent item":a instanceof _.MM?"restore item":a instanceof _.IF?"list suggested workspace items":a instanceof _.JF?"list suggested workspaces":"undefined"!=typeof _.NM&&a instanceof _.NM?"update app":a instanceof _.OM?"update category metadata":a instanceof _.UL?"update item":a instanceof _.PM?"update revision":a instanceof _.QM?"update TD":a instanceof _.lD?"update pref":a instanceof _.RM?"update ws":a instanceof _.FL?"get account":a instanceof _.MF?
"get workspace":a instanceof _.PVc?"list activity":a instanceof _.QVc?"list category metadata":a instanceof _.RVc?"create TD":"undefined"!=typeof _.SVc&&a instanceof _.SVc?"item export cancel":"undefined"!=typeof _.TVc&&a instanceof _.TVc?"item export status":"undefined"!=typeof _.UVc&&a instanceof _.UVc?"generate cse token":"undefined"!=typeof _.VVc&&a instanceof _.VVc?"get largest change ID":a instanceof _.jD?"list prefs":a instanceof _.SM?"multipart upload":a instanceof _.WVc?"list published categories":
a instanceof XVc?"init resumable upload":a instanceof YVc?"resumable upload chunk":a instanceof _.ZVc?"resumable upload":a instanceof _.KF?"get TD":"undefined"!=typeof _.$Vc&&a instanceof _.$Vc?"move TD preflight":a instanceof _.TM?"list TDs":"undefined"!=typeof _.aWc&&a instanceof _.aWc?"get TD stats":a instanceof _.bWc?"test connection":"undefined"!=typeof _.cWc&&a instanceof _.cWc?"list workspaces":"unknown"};
UM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};eWc=function(a){if(a instanceof _.kM||a instanceof _.SM||a instanceof _.ZVc||a instanceof XVc||a instanceof YVc)return(new _.VM).Dc(8);throw Error("af");};fWc=function(a){if(a instanceof _.UL){var b=_.Mj(_.Lj(a.clone(),1),17);b=_.ak(b,_.YUc)}else b=!1;b||(a instanceof _.UL?(a=_.Mj(_.Lj(a.clone(),1),17),b=_.ak(a,_.ZUc)||_.ak(a,_.$Uc)):b=!1);return b?!1:!0};
_.WM=function(a){return gWc.includes(a.constructor)?fWc(a):!1};mWc=function(a,b){if(hWc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&iWc.includes(a.constructor))return!0;var c=_.TL(b);if(c&&!_.S(c,7,!1)&&jWc.includes(a.constructor)&&!_.XM(a)||_.S(b,56,!1)&&_.XM(a)||_.S(b,57,!1)&&kWc.includes(a.constructor)||!(!_.S(b,53,!1)||iWc.includes(a.constructor)||jWc.includes(a.constructor)||_.XM(a)||kWc.includes(a.constructor)||lWc.includes(a.constructor)))return!0}return!1};
_.YM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(nWc(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)&&MVc(h):(a.set(h,_.B(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.Rz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.oWc=function(a){var b=new _.Fk;return _.A(b,1,a)};_.pWc=function(a,b){return _.A(a,7,b)};_.qWc=function(a,b){return _.A(a,8,b)};
_.rWc=function(a,b){return _.A(a,11,b)};_.sWc=function(a,b){return _.A(a,1,b)};_.tWc=function(a,b){return _.A(a,4,b)};_.uWc=function(a,b){return _.A(a,5,b)};_.vWc=function(a,b){return _.A(a,6,b)};_.wWc=function(a,b){return _.A(a,7,b)};_.xWc=function(a,b){return _.A(a,8,b)};_.yWc=function(a,b){return _.A(a,9,b)};_.zWc=function(a,b){return _.A(a,10,b)};_.AWc=function(a,b){return _.A(a,11,b)};_.BWc=function(a,b){return _.A(a,12,b)};_.CWc=function(a,b){return _.A(a,16,b)};
_.DWc=function(a,b){return _.A(a,17,b)};_.EWc=function(a,b){return _.A(a,20,b)};_.FWc=function(a,b){return _.A(a,21,b)};_.GWc=function(a,b){return _.A(a,31,b)};_.HWc=function(a,b){return _.A(a,32,b)};_.IWc=function(a,b){return _.A(a,33,b)};_.JWc=function(a,b){return _.A(a,42,b)};_.KWc=function(a,b){return _.A(a,43,b)};_.LWc=function(a,b){return _.A(a,46,b)};_.MWc=function(a,b){return _.A(a,47,b)};_.NWc=function(a,b){return _.A(a,48,b)};_.ZM=function(a){_.O(this,a,-1,null,null)};_.L(_.ZM,_.K);
_.OWc=function(a){_.O(this,a,-1,null,null)};_.L(_.OWc,_.K);_.PWc=function(a,b){return _.A(a,1,b)};_.QWc=function(a,b){return _.A(a,2,b)};IVc=function(a){_.O(this,a,-1,null,null)};_.L(IVc,_.K);IVc.prototype.getMimeType=function(){return _.B(this,1)};IVc.prototype.getUrl=function(){return _.B(this,2)};_.$M=function(a){_.O(this,a,-1,null,null)};_.L(_.$M,_.K);_.$M.prototype.Ne=function(){return _.B(this,2)};_.$M.prototype.wh=function(a){return _.A(this,2,a)};
_.$M.prototype.uh=function(a){return _.A(this,3,a)};_.RWc=function(a,b){return _.A(a,1,b)};_.SWc=function(a,b){return _.Nj(a,2,b)};_.TWc=function(a,b){return _.Nj(a,3,b)};UWc=[2];_.aN=function(a){_.O(this,a,-1,UWc,null)};_.L(_.aN,_.K);_.aN.prototype.Qe=function(){return _.B(this,1)};_.aN.prototype.nm=function(a){return _.A(this,1,a)};_.aN.prototype.vva=function(a,b){return _.Sj(this,2,a,b)};_.bN=function(a){_.O(this,a,-1,null,null)};_.L(_.bN,_.K);_.bN.prototype.Ne=function(){return _.B(this,1)};
_.bN.prototype.wh=function(a){return _.A(this,1,a)};_.bN.prototype.uh=function(a){return _.A(this,2,a)};_.cN=function(a,b){return _.Kj(a,2,b)};_.VWc=function(a,b){_.A(a,8,b)};_.WWc=function(a,b){return _.Nj(a,15,b)};_.XWc=function(a,b){return _.J(a,17,b)};_.YWc=function(a,b){return _.A(a,19,b)};_.ZWc=function(a,b){_.A(a,26,b)};_.$Wc=function(a,b){_.A(a,31,b)};_.aXc=function(a,b){_.A(a,34,b)};_.bXc=function(a,b){return _.A(a,44,b)};_.cXc=function(a,b){return _.A(a,52,b)};
HVc=function(a,b){_.Nj(a,58,b)};_.dXc=function(a,b){return _.A(a,72,b)};_.dN=function(a,b){return _.J(a,84,b)};_.eXc=function(a,b){_.J(a,85,b)};_.fXc=function(a,b){return _.A(a,92,b)};_.gXc=function(a,b){return _.A(a,93,b)};_.hXc=function(a,b){return _.A(a,136,b)};_.iXc=function(a){_.O(this,a,-1,null,null)};_.L(_.iXc,_.K);_.eN=function(a){return _.S(a,2,!1)};jXc=[3];kXc=function(a){_.O(this,a,-1,jXc,null)};_.L(kXc,_.K);
kXc.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 lXc=[3],mXc=function(a){_.O(this,a,-1,lXc,null)};_.L(mXc,_.K);mXc.prototype.Vi=function(){return _.Md(this,3)};var nXc=[3],oXc=function(a){_.O(this,a,-1,nXc,null)};_.L(oXc,_.K);oXc.prototype.Vi=function(){return _.Md(this,3)};_.fN=function(a){_.O(this,a,-1,null,null)};_.L(_.fN,_.K);_.fN.prototype.Ya=function(){return _.B(this,1)};
_.fN.prototype.Lb=function(a){return _.A(this,1,a)};_.fN.prototype.Ai=function(){return _.Lj(this,1)};_.fN.prototype.ih=function(){return _.P(this,1)};_.gN=function(a){return _.Gj(a,45,1)};_.AM=function(a){return _.S(a,47,!1)};_.BM=function(a){return _.S(a,49,!1)};_.CM=function(a){return _.S(a,52,!1)};_.hN=function(a){return _.E(a,2,"")};_.pXc=function(a,b){return _.Kj(a,27,b)};_.iN=function(a){return _.Gj(a,39,0)};_.jN=function(a){return _.S(a,40,!1)};
_.qXc=function(a){return _.Ft.prototype.aP.call(a,!0)+"T"+_.Kg(a.getHours(),2)+":"+_.Kg(a.getMinutes(),2)+":"+_.Kg(a.getSeconds(),2)+a.x$()};rXc=function(a,b){return _.jTc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.sXc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.CL(c,"deleting object store "+b);}};tXc=function(){var a=new _.lUc;a.O=12E4;a.ma=!0;return a};_.uXc=function(a){_.O(this,a,-1,null,null)};_.L(_.uXc,_.K);vXc=[3,4,10,18,19,28];
_.kM=function(a){_.O(this,a,-1,vXc,null)};_.L(_.kM,_.K);_.g=_.kM.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,_.uXc,15)};_.g.c2=function(){return _.B(this,21)};_.g.Cc=function(){return _.B(this,23)};
_.kN=function(a,b){return _.A(a,1,b)};_.lN=function(a,b){return _.Kj(a,3,b)};_.wXc=function(a,b){return _.A(a,12,b)};_.oM=function(a){_.O(this,a,-1,null,null)};_.L(_.oM,_.K);_.oM.prototype.getId=function(){return _.B(this,1)};_.oM.prototype.Pb=function(a){return _.A(this,1,a)};_.oM.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,2)};xXc=[7,8];_.QM=function(a){_.O(this,a,-1,xXc,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.xe=function(){return _.C(this,_.lf,4)};_.g.Cm=function(){return _.R(this,15)};_.TM=function(a){_.O(this,a,-1,null,null)};_.L(_.TM,_.K);
_.TM.prototype.getOptions=function(){return _.C(this,_.qUc,1)};_.TM.prototype.Tn=function(){return _.B(this,2)};_.TM.prototype.wd=function(){return _.C(this,_.xL,3)};yXc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};zXc=null;_.AXc=function(a){if(_.uma)return _.n.atob(a);var b="";_.wma(a,function(c){b+=String.fromCharCode(c)});return b};BXc=function(){this.O=0;this.H=[]};_.g=BXc.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=CXc(this,a);return this.H[a]};_.g.set=function(a,b){a=CXc(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.Dq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var CXc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},DXc=function(a){_.O(this,a,-1,null,null)};_.L(DXc,_.K);_.EXc=function(a){_.O(this,a,-1,null,null)};_.L(_.EXc,_.K);_.EXc.prototype.jf=function(){return _.B(this,1)};_.EXc.prototype.kj=function(a){return _.A(this,1,a)};_.EXc.prototype.Ab=function(){return _.B(this,4)};
_.EXc.prototype.Dc=function(a){return _.A(this,4,a)};var FXc=function(a){_.O(this,a,-1,null,null)};_.L(FXc,_.K);FXc.prototype.vo=function(){return _.B(this,5)};var GXc=function(a,b){_.A(a,6,b)},HXc=function(a){_.O(this,a,-1,null,null)};_.L(HXc,_.K);_.g=HXc.prototype;_.g.dib=function(a){_.A(this,1,a)};_.g.MOb=function(a){_.A(this,2,a)};_.g.oy=function(){return _.R(this,3)};_.g.eib=function(a){_.A(this,3,a)};_.g.tOb=function(a){_.A(this,4,a)};var IXc=function(a){_.O(this,a,-1,null,null)};_.L(IXc,_.K);
IXc.prototype.oy=function(){return _.R(this,2)};var JXc=function(a,b){return _.A(a,2,b)},KXc=function(a,b){_.A(a,3,b)};IXc.prototype.kB=function(){return _.B(this,6)};var LXc=function(a,b){return _.A(a,8,b)},MXc=function(a){_.O(this,a,-1,null,null)};_.L(MXc,_.K);var NXc=function(a){_.O(this,a,-1,null,null)};_.L(NXc,_.K);NXc.prototype.oy=function(){return _.R(this,1)};NXc.prototype.vo=function(){return _.B(this,5)};NXc.prototype.Nm=function(){return _.B(this,6)};
NXc.prototype.Ct=function(a){return _.A(this,6,a)};var OXc=function(a){_.O(this,a,-1,null,null)};_.L(OXc,_.K);var PXc=function(a,b){_.A(a,4,b)},QXc=function(a){_.O(this,a,-1,null,null)};_.L(QXc,_.K);_.g=QXc.prototype;_.g.wd=function(){return _.C(this,_.EXc,1)};_.g.getState=function(){return _.C(this,FXc,2)};_.g.Nd=function(a){return _.J(this,2,a)};_.g.nt=function(){return _.P(this,2)};_.g.QE=function(){return _.C(this,NXc,16)};var RXc=function(a){_.O(this,a,-1,null,null)};_.L(RXc,_.K);
RXc.prototype.getEnvironment=function(){return _.B(this,2)};RXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.DVc=[42,1005,20,50,18,1003,1002];SXc=[73,71];_.mN=function(a){_.O(this,a,-1,null,null)};_.L(_.mN,_.K);_.mN.prototype.getId=function(){return _.B(this,1)};_.mN.prototype.Pb=function(a){return _.A(this,1,a)};_.mN.prototype.getMimeType=function(){return _.B(this,2)};_.mN.prototype.TF=function(){return _.B(this,8)};TXc=[22];_.VM=function(a){_.O(this,a,-1,TXc,null)};_.L(_.VM,_.K);
_.g=_.VM.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)};_.UXc=function(a,b){return _.A(a,5,b)};_.g=_.VM.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.MMa=function(a){_.A(this,10,a)};
_.g.YM=function(){return _.B(this,16)};_.g.Sca=function(a){return _.A(this,16,a)};var VXc=function(a){_.gi.call(this,a);this.connectionState=_.ltb.get(a)};_.L(VXc,_.gi);WXc=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};_.fM=function(a){_.O(this,a,-1,null,null)};_.L(_.fM,_.K);_.fM.prototype.Cc=function(){return _.B(this,1)};_.gM=function(a){_.O(this,a,-1,null,null)};_.L(_.gM,_.K);
_.gM.prototype.getId=function(){return _.B(this,1)};_.gM.prototype.Pb=function(a){return _.A(this,1,a)};_.gM.prototype.Ik=function(){return _.B(this,2)};_.hM=function(a){_.O(this,a,-1,null,null)};_.L(_.hM,_.K);_.hM.prototype.zh=function(){return _.B(this,1)};_.hM.prototype.Cc=function(){return _.B(this,2)};_.hM.prototype.xe=function(){return _.C(this,_.lf,4)};XXc=[3,7];_.iM=function(a){_.O(this,a,-1,XXc,null)};_.L(_.iM,_.K);_.g=_.iM.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)};_.lM=function(a){_.O(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.getTitle=function(){return _.B(this,1)};_.lM.prototype.setTitle=function(a){return _.A(this,1,a)};_.lM.prototype.xe=function(){return _.C(this,_.lf,2)};_.qM=function(a){_.O(this,a,-1,null,null)};_.L(_.qM,_.K);
_.qM.prototype.Cc=function(){return _.B(this,1)};_.qM.prototype.xe=function(){return _.C(this,_.lf,3)};_.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)};_.sM.prototype.xe=function(){return _.C(this,_.lf,3)};_.uM=function(a){_.O(this,a,-1,null,null)};_.L(_.uM,_.K);_.uM.prototype.xe=function(){return _.C(this,_.lf,1)};_.KM=function(a){_.O(this,a,-1,null,null)};_.L(_.KM,_.K);_.g=_.KM.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)};_.MM=function(a){_.O(this,a,-1,null,null)};_.L(_.MM,_.K);_.g=_.MM.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)};
_.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,4)};_.RM=function(a){_.O(this,a,-1,null,null)};_.L(_.RM,_.K);_.g=_.RM.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.nt=function(){return _.P(this,3)};_.g.xe=function(){return _.C(this,_.lf,5)};YXc=[2,3];_.jM=function(a){_.O(this,a,-1,YXc,null)};_.L(_.jM,_.K);_.jM.prototype.Bc=function(){return _.B(this,1)};_.jM.prototype.xe=function(){return _.C(this,_.lf,4)};_.ZXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};$Xc=[3,4];_.EM=function(a){_.O(this,a,-1,$Xc,null)};_.L(_.EM,_.K);_.EM.prototype.getType=function(){return _.B(this,1)};_.EM.prototype.xe=function(){return _.C(this,_.lf,2)};aYc=[1];
_.IM=function(a){_.O(this,a,-1,aYc,null)};_.L(_.IM,_.K);_.IM.prototype.en=function(){return _.Md(this,1)};_.bYc=function(a){_.O(this,a,-1,null,null)};_.L(_.bYc,_.K);_.g=_.bYc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.vs=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.nm=function(a){return _.A(this,3,a)};
_.g.getType=function(){return _.B(this,4)};cYc=[1];_.dYc=function(a){_.O(this,a,-1,cYc,null)};_.L(_.dYc,_.K);_.eYc=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)};_.gYc=function(a){var b=a.O.Eg();a.V&&b.push(fYc("...","...","...","..."));_.za(b,a.H.Eg());return b};
_.hYc=function(a){var b=[];a=_.gYc(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")};_.eYc.prototype.info=function(a,b){_.nN(this,a,b,"info")};_.eYc.prototype.config=function(a,b){_.nN(this,a,b,"config")};_.eYc.prototype.log=function(a,b,c){if(!zXc){zXc={};for(var d=0,e;e=_.pka[d];d++)zXc[e.value]=e,zXc[e.name]=e}_.nN(this,a,b,c)};
_.nN=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=fYc(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)};fYc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.PVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.RVc=function(a){this.request=a;this.requestId=_.Mg()};
_.iYc=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};_.SM=function(a,b,c,d){this.request=a;this.file=b;this.lQ=void 0===c?null:c;this.metadata=d};_.ZVc=function(a,b,c,d){this.request=a;this.file=b;this.lQ=void 0===c?null:c;this.metadata=d};XVc=function(a,b){this.request=a;this.metadata=b};jYc=function(a,b,c){this.O=a;this.H=b;this.V=c};
YVc=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};_.bWc=function(){this.H=_.mf(new _.lf,312)};kYc=function(){};_.QVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.WVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};lYc=function(a,b){this.H=a;this.O=b};mYc=function(a){_.gi.call(this,"Ab");this.H=a};_.L(mYc,_.gi);mYc.prototype.Ue=function(){return this.H};_.oN=function(a){a.supportsTeamDrives=!0};
_.nYc=function(a){this.O=new Set;this.H=[].concat(_.jd(_.Md(a,27)));this.initialize(a)};_.nYc.prototype.initialize=function(a){var b=_.FVc(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);_.DL(_.EL(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();GVc(this.H)};_.pN=function(a){return[].concat(_.jd(a.H))};
qN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.rN=function(a,b,c){0!==b.length&&(a.NI.length&&a.append(" "+(c||"and")+" "),a.append(b))};sN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(qN(c));e.push("in");e.push(b);_.rN(a,e.join(" "))}};_.tN=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());_.rN(a,e.join(" "),d)}};
oYc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.rN(a,d.join(""))}};_.pYc=function(a){var b=new _.wUc;b.setTime(a);return b};qYc=function(a,b){b=_.Md(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(qN(b));_.rN(a,c.join(" "))}};_.rYc=function(a){a=_.Uj(a,_.fN,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(",")};
_.sYc=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 _.lSc[b]}).join(",")};tYc=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(qN(d.Ya()));_.rN(c,e.join(" "),"or")}return c.toString()}return""};
uYc=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 qN(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};vYc=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""}};wYc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
xYc=function(a,b,c){if(null!=_.B(c,2)){var d=wYc(_.B(c,1));c=qN(_.qXc(_.pYc(_.B(c,2)||0)));_.rN(a,[b,d,c].join(" "))}};yYc=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""};
_.zYc=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(qN(f));_.rN(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(qN(u));_.rN(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=tYc(D,!1),qa=tYc(H,!0),ua=uYc(I,!1,!1),Wa=uYc(M,!0,!1),Ea=uYc(Q,!1,!0),Pa=uYc(W,!0,!0),dc=new _.Po;if(ua||Ea||na||qa)_.rN(dc,ua,"or"),_.rN(dc,Ea,"or"),_.rN(dc,na,"or"),_.rN(dc,qa,"or");dc.NI.length&&_.rN(b,"("+dc.toString()+")","and");var pb=new _.Po;if(Wa||Pa)_.rN(pb,Wa,"and"),_.rN(pb,Pa,"and");pb.NI.length&&_.rN(b,"("+pb.toString()+
")","and")}for(var Zb=_.Uj(a,_.yl,7),Jc=0;Jc<Zb.length;Jc++)xYc(b,"modifiedDate",Zb[Jc]);for(var ne=_.Uj(a,_.yl,8),oe=0;oe<ne.length;oe++)xYc(b,"lastViewedByMeDate",ne[oe]);_.tN(b,"trashed",a.Sh());_.tN(b,"explicitlyTrashed",_.R(a,17));_.tN(b,"starred",_.R(a,10));_.tN(b,"hidden",a.Cm());for(var Id=_.Gl(a),ff=0;ff<Id.length;ff++){var Dc=Id[ff];sN(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];sN(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];sN(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];sN(b,"readers",im.Ya(),_.S(im,2,!1))}_.R(a,16)&&_.rN(b,"sharedWithMe");_.tN(b,"unparented",_.R(a,34));for(var pf=_.Uj(a,_.vl,35)||[],$e=_.m(pf),eh=$e.next();!eh.done;eh=$e.next())sN(b,"ancestors",eh.value.Ya(),!1);for(var oi=_.Uj(a,_.vl,38)||[],aj=_.m(oi),Ml=aj.next();!Ml.done;Ml=aj.next())sN(b,"descendants",Ml.value.Ya(),!1);for(var ik=_.Uj(a,_.zl,37)||
[],Qj=_.m(ik),fh=Qj.next();!fh.done;fh=Qj.next())sN(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(qN(il));_.rN(b,jm.join(" "))}for(var jl=_.Md(a,40),Wh=0;Wh<jl.length;Wh++){var Dj=[];0==Wh&&Dj.push("(");Dj.push(qN(jl[Wh]));Dj.push("in");Dj.push("templateData.categories");Wh==jl.length-1&&Dj.push(")");_.rN(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(qN(_.yUc[oj]||""));_.rN(b,pj.join(" "))}var Rj=_.B(a,42);if(null!=Rj){var Jh=[];Jh.push("visibility");Jh.push("=");Jh.push(qN(yYc(Rj)));_.rN(b,Jh.join(" "))}for(var Nl=_.Uj(a,_.ul,44),qj=0;qj<Nl.length;++qj){var jk=Nl[qj];sN(b,"actionItems",vYc(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(qN("NONE"));_.rN(b,km.join(" "))}sN(b,"workspaceIds",a.Op(),
!1);for(var Im=_.Uj(a,_.wl,57),kk=0;kk<Im.length;kk++){var Kk=[];0==kk&&Kk.push("(");Kk.push(qN(Im[kk].Ya()));Kk.push("in");Kk.push("approvals");kk==Im.length-1&&Kk.push(")");_.rN(b,Kk.join(" "),0==kk?"and":"or")}if(_.P(a,58)){var uf=a.Lq(),Bi=uf.Ya(),lk=_.S(uf,2,!1);if(Bi){var Fc=[];lk&&Fc.push("not");Fc.push("creator");Fc.push("=");Fc.push(qN(Bi));_.rN(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;sN(b,"categoryMetadata",
Mi.$m());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)?_.rN(b,Qg+" is null"):_.rN(b,"not ("+Qg+" is null)")}else{var Qh=new _.Po,Ni=void 0;switch(Mk){case 3:Ni=_.C(xh,kXc,3);for(var jn=_.m(Ni.Vi()),pi=jn.next();!pi.done;pi=jn.next())_.tN(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,qN(Nn.getYear()+"-"+Nn.getMonth()+"-"+Nn.getDay())];_.rN(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");_.rN(Qh,[Qg,Gp,Fp].join(" "),"or")}break;case 9:for(var Js=Ni=_.C(xh,mXc,9),Qw=new Map([[1,"in"]]),Ks=_.m(Js.Vi()),Yn=Ks.next();!Yn.done;Yn=
Ks.next()){var Iq=Yn.value,Ut=Qw.get(_.B(Js,2));if(!Ut)throw Error("Oe");_.rN(Qh,[Iq,Ut,Qg].join(" "),"or")}break;case 6:for(var aD=Ni=_.C(xh,_.poa,6),EA=new Map([[1,"="]]),bD=_.m(aD.Vi()),Vt=bD.next();!Vt.done;Vt=bD.next()){var Uw=Vt.value,Vw=EA.get(_.B(aD,2));if(!Vw)throw Error("Oe");_.rN(Qh,[Qg,Vw,qN(Uw)].join(" "),"or")}break;case 7:for(var Ww=Ni=_.C(xh,_.noa,7),pJ=new Map([[1,"in"]]),xy=_.m(Ww.Vi()),Wt=xy.next();!Wt.done;Wt=xy.next()){var xn=Wt.value,yy=pJ.get(_.B(Ww,2));if(!yy)throw Error("Oe");
_.rN(Qh,[qN(xn),yy,Qg].join(" "),"or")}break;case 4:for(var Jq=Ni=_.C(xh,_.roa,4),qS=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),NF=_.m(Jq.Vi()),Xw=NF.next();!Xw.done;Xw=NF.next()){var vi=Xw.value,OF=qS.get(_.B(Jq,2));if(!OF)throw Error("Oe");_.rN(Qh,[Qg,OF,qN(vi)].join(" "),"or")}break;case 5:for(var Yw=Ni=_.C(xh,oXc,5),FA=new Map([[1,"in"]]),kZ=_.m(Yw.Vi()),lZ=kZ.next();!lZ.done;lZ=kZ.next()){var Sg=lZ.value,cD=FA.get(_.B(Yw,2));if(!cD)throw Error("Oe");_.rN(Qh,[qN(Sg),cD,Qg].join(" "),
"or")}break;case 12:for(var dD=Ni=_.C(xh,_.ioa,12),Er=new Map([[1,"="]]),ao=_.m(dD.Vi()),PF=ao.next();!PF.done;PF=ao.next()){var SN=PF.value,qJ=Er.get(_.B(dD,2));if(!qJ)throw Error("Oe");_.rN(Qh,[Qg,qJ,qN(SN)].join(" "),"or")}break;case 11:for(var rJ=Ni=_.C(xh,_.goa,11),mZ=new Map([[1,"in"]]),zy=_.m(rJ.Vi()),Ay=zy.next();!Ay.done;Ay=zy.next()){var Tha=Ay.value,Ns=mZ.get(_.B(rJ,2));if(!Ns)throw Error("Oe");_.rN(Qh,[qN(Tha),Ns,Qg].join(" "),"or")}}_.R(xh,15)?_.rN(b,"not ("+Qh+")"):_.rN(b,1<Ni.Vi().length?
"("+Qh+")":""+Qh)}}}null!=_.R(a,60)&&_.tN(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var TN=_.R(a,65);if(null!=TN){var sJ=[];sJ.push("clientEncryptionDetails.encryptionState");sJ.push("=");sJ.push(qN(TN?"encrypted":"unencrypted"));_.rN(b,sJ.join(" "))}var Zw=_.Uj(a,_.af,68);if(Zw.length){for(var tJ=[],Fr=[],uJ=_.m(Zw),nZ=uJ.next();!nZ.done;nZ=uJ.next()){var rS=nZ.value,sS="sharedFrom = "+qN(rS.Ya());_.S(rS,2,!1)?Fr.push(sS):tJ.push(sS)}oYc(b,tJ,!1);oYc(b,Fr,!0)}var v7=_.Uj(a,_.af,67);
if(v7.length){for(var vJ=[],oZ=[],tS=_.m(v7),GA=tS.next();!GA.done;GA=tS.next()){var Ip=GA.value,Kq="sharedTo = "+qN(Ip.Ya());_.S(Ip,2,!1)?oZ.push(Kq):vJ.push(Kq)}oYc(b,vJ,!1);oYc(b,oZ,!0)}null!=_.R(a,69)&&_.tN(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.tN(b,"canAcceptOwnership",_.R(a,72));1==_.gN(a)&&qYc(b,a);return b.toString()};
_.AYc=function(a){var b=new _.Po(_.zYc(a));_.AM(a)?_.rN(b,"isQuickAccessRequest"):_.BM(a)?_.rN(b,"isPeoplePredictRequest"):_.CM(a)&&_.rN(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.sUc[c.getType()]);d.push(_.AUc[c.zf()]);_.R(c,3)&&d.push("foldersFirst");_.rN(b,d.join(" "))}_.tN(b,"domainSearch",_.R(a,18));_.tN(b,"offline",_.R(a,19));_.Uj(a,_.fN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.rYc(a)),_.rN(b,c.join(" ")));a.mB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.sYc(a)),_.rN(b,c.join(" ")));if(c=_.gN(a))d=[],d.push("corpora"),d.push("="),d.push(qN(_.ZXc[c])),_.rN(b,d.join(" "));_.S(a,66,!0)||_.tN(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.gN(a)&&qYc(b,a);_.S(a,48,!1)&&_.rN(b,"cachedOnly");return b.toString()};_.XM=function(a){if(a instanceof _.KL)a=a.wd();else if(!a)return!1;return a instanceof _.JF||a instanceof _.IF||"undefined"!=typeof _.uN&&a instanceof _.uN||a instanceof _.Ye&&(_.AM(a)||_.BM(a)||_.CM(a))};
BYc=function(){_.Mo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(BYc,_.Mo);_.CYc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};DYc=function(a,b){a.V||(a.V=b)};BYc.prototype.Zj=function(){_.CYc(this);(0,this.ha)()};EYc=function(a,b){a.ha||(a.ha=b)};_.vN=function(a){if(!a.O){a.O=new QXc;var b=_.Oo(a);_.J(b,56,a.O)}return a.O};BYc.prototype.getState=function(){var a=_.vN(this).getState();a||(a=new FXc,_.vN(this).Nd(a));return a};
var FYc=function(a,b){var c=new DXc;_.A(c,1,b);a=_.Oo(a);_.J(a,12,c)};BYc.prototype.QE=function(){var a=_.vN(this).QE();if(!a){a=new NXc;var b=_.vN(this);_.J(b,16,a)}return a};BYc.prototype.ma=function(){var a=_.C(_.vN(this),HXc,4);if(!a){a=new HXc;var b=_.vN(this);_.J(b,4,a)}return a};GYc=function(a){var b=_.C(_.vN(a),IXc,8);b||(b=new IXc,a=_.vN(a),_.J(a,8,b));return b};HYc=function(a){var b=_.C(_.vN(a),OXc,19);b||(b=new OXc,a=_.vN(a),_.J(a,19,b));return b};
_.IYc=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(_.IYc,_.ri);_.g=_.IYc.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?_.bB.rU:_.bB.jha;else 1===a?(b=_.bB.zL,this.O=!0):3===a&&(b=_.bB.qU);if(b)return b=new VXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var JYc=function(a,b){this.userId=a;this.H=b;this.db=null},LYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return KYc(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")};JYc.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 MYc=function(a){return new _.Oh(function(b){var c=new Map;KYc(a,function(d){return rXc(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 _.qL([].concat(_.jd(e.values()))).then(function(){return b(c)})})})})},NYc=function(a,b){return KYc(a,
function(c){return c.remove(b)},"readwrite")},KYc=function(a,b,c){c=void 0===c?"readonly":c;return OYc(a).then(function(d){try{var e=_.rTc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.cM(f):void 0)}},function(d){return a.handleError(d)})},OYc=function(a){return a.db?_.Ph(a.db):_.tTc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.sXc(c,"OfflineImpressions");b=_.qTc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.CL(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(_.cM(b))})};JYc.prototype.handleError=function(a){a||(a=Error("We"));_.nN(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Ph()};
_.PYc=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(_.PYc,_.ri);_.PYc.prototype.Ue=function(){return this.H};_.PYc.prototype.Jl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new mYc(a)))};_.PYc.prototype.Oy=function(a){this.O=a};
var RYc=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()||QYc(h)});this.Jb.listen(c,[_.bB.zL,_.bB.rU],function(){return void QYc(h)});this.W=e;f.then(function(){return QYc(h)})};_.L(RYc,_.ri);RYc.prototype.rA=function(a){return(this.H.Ue()||this.connectionState.Ue())&&this.H.O?LYc(this.O,a):this.V.rA(a)};
var QYc=function(a){return a.H.O?MYc(a.O).then(function(b){b.forEach(function(c,d){a.V.rA(c).then(function(){return SYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},SYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return NYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
RYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var TYc=function(){};TYc.prototype.KQ=function(){return new BYc};var UYc=function(){this.H=new RXc};UYc.prototype.O=function(a){_.J(a,13,this.H)};UYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
WYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.Zr=d;this.O=this.H=null;this.client=_.wN(_.JUc,_.iN(a));this.W=_.B(a,94);this.ka=_.wN(_.NUc,_.Gj(a.$f(),8,0));this.lxa=_.wN(_.KUc,_.Gj(a.$f(),9,2));this.ma=_.S(a,10,!1);this.lu=_.DL(_.EL(a));this.CCa=_.jN(a);this.ha=VYc(a);this.buildLabel=a.Ki()};VYc=function(a){var b=[].concat(_.jd(_.GUc.keys())),c=[].concat(_.jd(_.HUc.keys())),d=_.TL(a);return b.filter(function(e){return _.GUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.HUc.get(e)(d)}))};
_.wN=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};WYc.prototype.vo=function(a){return null==a?0:a?2:1};var XYc=function(a){if(a.O)return a.O.H("aU7Ts")};
WYc.prototype.Ab=function(a){return a instanceof _.RA||"undefined"!=typeof _.xN&&a instanceof _.xN||"undefined"!=typeof _.yN&&a instanceof _.yN||"undefined"!=typeof _.zN&&a instanceof _.zN?a.Ab():"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN||"undefined"!=typeof _.EN&&a instanceof _.EN?a.response?a.response.Ab():null:null};WYc.prototype.Ki=function(){return this.buildLabel};
var YYc=function(a){return a.V.Ue()||a.connectionState.Ue()?2:1};WYc.prototype.getEnvironment=function(){return this.Zr};ZYc=function(a,b){this.H=a;var c=new _.rya;_.sya(c,b.ha);a=this.H.FL();var d=_.kUc(a);_.J(d,10,c);(c=b.Ki())&&_.jUc(a,c);this.H.c_();this.O=b};
_.$Yc=function(a,b,c){var d=_.No(a.H.OF(b,c),_.BUc);FYc(d,YYc(a.O));b=XYc(a.O);"boolean"===typeof b&&GXc(d.getState(),b);1===c&&DYc(d,function(){return void a.H.JM(d)});EYc(d,function(){var e=a.O;e=e.H?e.H.Ld():void 0;var f=d.getState();_.A(f,1,e);a.H.pq(d)});return d};
aZc=function(a){var b=new _.fza,c=new UYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.lxa);_.A(c.H,5,a.ma);_.A(c.H,6,a.lu);_.A(c.H,7,a.CCa);a=c.setEnvironment(a.getEnvironment());_.wTc(b,_.DUc,a);_.Qo(b,_.BUc,new TYc);return b};
bZc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.OH(906,b,void 0,_.QUc());l.ha=!1;var p=new _.xTc(l);b=new Date;l=_.pUc(_.oUc(_.nUc(tXc(),new _.yTc(l)),aZc(c)),109).setSessionId(b.getTime()+"_"+_.Mg());if(k){a=new RYc(p,d,e,new JYc(a,f),f,h);_.mUc(l,a);d=l.build();_.iUc(d.FL(),1E3*b.getTime());var q=new ZYc(d,c);(new _.Ee).listen(a,"Bb",function(){_.$Yc(q,106008,0).Zj()});return q}_.mUc(l,p);a=l.build();_.iUc(a.FL(),1E3*b.getTime());return new ZYc(a,c)};
cZc=function(a,b){this.V=a;this.W=b};cZc.prototype.O=function(a,b){this.V&&_.dZc(this)&&(a=_.$Yc(this.V,a,0),b&&_.vTc(a,b),a.Zj())};_.FN=function(a,b){if(a.V&&_.dZc(a)){a=_.$Yc(a.V,106018,0);var c=_.C(_.vN(a),MXc,15);if(!c){c=new MXc;var d=_.vN(a);_.J(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Zj()}};cZc.prototype.H=function(a,b){return this.V&&_.dZc(this)?(a=_.$Yc(this.V,a,1),b&&_.vTc(a,b),a):null};_.dZc=function(a){return!(!a.V||!a.V.H.BP())};
_.eZc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.SL(_.EL(a)).toString(),l=_.hN(_.EL(a));f=new WYc(a,b,c,f);a=h?bZc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new cZc(a,f)};_.wM=function(a){_.O(this,a,-1,null,null)};_.L(_.wM,_.K);_.fZc=function(a){_.O(this,a,-1,null,null)};_.L(_.fZc,_.K);_.fZc.prototype.getId=function(){return _.B(this,1)};_.fZc.prototype.Pb=function(a){return _.A(this,1,a)};_.fZc.prototype.xe=function(){return _.C(this,_.lf,2)};_.FM=function(a){_.O(this,a,-1,null,null)};_.L(_.FM,_.K);
_.FM.prototype.Tn=function(){return _.B(this,2)};_.FM.prototype.wd=function(){return _.C(this,_.fZc,3)};_.vM=function(a){_.O(this,a,-1,null,null)};_.L(_.vM,_.K);_.vM.prototype.wd=function(){return _.C(this,_.uM,1)};_.vM.prototype.ida=function(a){return _.A(this,2,a)};_.tM=function(a){_.O(this,a,-1,null,null)};_.L(_.tM,_.K);_.tM.prototype.getId=function(){return _.B(this,1)};_.tM.prototype.Pb=function(a){return _.A(this,1,a)};_.gZc=function(a,b){return _.A(a,2,b)};
_.HM=function(a){_.O(this,a,-1,null,null)};_.L(_.HM,_.K);_.HM.prototype.wd=function(){return _.C(this,_.tM,1)};hZc=[2];_.OM=function(a){_.O(this,a,-1,hZc,null)};_.L(_.OM,_.K);_.OM.prototype.Cc=function(){return _.B(this,1)};_.OM.prototype.JV=function(){return _.Uj(this,_.GF,2)};_.OM.prototype.xe=function(){return _.C(this,_.lf,3)};_.iZc=function(a){_.O(this,a,-1,null,null)};_.L(_.iZc,_.K);_.iZc.prototype.rk=function(){return _.B(this,1)};_.jZc=function(a){var b=new _.iZc;return _.A(b,1,a)};kZc=[1];
_.NVc=function(a){_.O(this,a,-1,kZc,null)};_.L(_.NVc,_.K);_.lZc=function(){this.H={}};mZc=function(a,b,c){if(a.H[b])throw Error("Xe");a.H[b]=c};_.lZc.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)}};nZc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.oZc=function(a,b){this.H=a;this.V=b;this.O=_.VUc[_.Gj(a.$f(),8,0)];this.W=_.VUc[_.Gj(a.$f(),51,5)];this.nonce=_.Mg()};
_.oZc.prototype.tc=function(a,b){if(b.NN)pZc(this,a,b),qZc(this,a,b);else if(11===a.Wm){if(b.BKb){var c=b.yD||_.E(this.H.$f(),37,"");_.ij(a.uri,"key",c)}pZc(this,a,b);rZc(this,a,b)}else switch(a.uri=sZc(this,a.Wm,a.uri),a.Wm){case 1:rZc(this,a,b);pZc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.lu||_.DL(_.EL(this.H))||_.ij(a.uri,"dsNonce",this.nonce));rZc(this,a,b);qZc(this,a,b);pZc(this,a,b);break;case 2:case 3:case 4:case 5:rZc(this,a,b);qZc(this,a,b);pZc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:rZc(this,
a,b);qZc(this,a,b);break;default:throw Error("Ye`"+a.Wm);}};tZc=function(a,b){var c=sZc(a,b,new _.bj);if(!c.H)throw Error("$e");return _.ej(_.dj(_.cj(new _.bj,c.O),c.H),c.W).yi(_.WUc.has(b)?"/batch"+a.O:"/batch")};
sZc=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)};rZc=function(a,b,c){a=_.EL(a.H);c.lu||_.DL(a)||(c=[{key:"u",value:_.hN(a)}],b.headers.authorization=_.kcc(c)||"",c=_.SL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
pZc=function(a,b,c){var d=_.EL(a.H),e=a.H.$f(),f=c.I7a||!!_.B(e,13);c=c.J7a||_.S(e,14,!1);var h=11===b.Wm;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())};
qZc=function(a,b,c){c.lu||_.DL(_.EL(a.H))?_.ij(b.uri,"key",_.E(a.H.$f(),36,"")):(a=c.yD||_.E(a.H.$f(),37,""),_.ij(b.uri,"key",a))};_.uZc=function(a,b){_.rH.call(this,a?a:500,b?b:6E5)};_.L(_.uZc,_.rH);_.vZc=function(a,b){this.O=b;this.H=new Map;this.Ila(_.Uj(a,_.Cl,91))};_.vZc.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=_.wZc(this,b);if(d){d!==c&&MVc(b);break}this.H.set(b,c)}};
nWc=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)})};_.wZc=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};_.GN=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};_.GN.prototype.getState=function(){return this.state};
_.GN.prototype.oM=function(a){var b=this;if(this.W)return this.W;var c=_.Th();this.W=c.promise.then(function(){return _.jZc(1)},function(d){d=_.aB(d).Pg;var e=0;2===d.Jp()?e=3:_.PUc(d)&&(e=2);return _.jZc(e)});a&&this.W.then(function(d){3===d.rk()&&_.FN(b.Cd,186469046)});this.H&&(a=_.B(HYc(this.H),4)||0,PXc(HYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);xZc(this,c);return this.W};_.AZc=function(a,b){yZc(a,3)&&_.zZc(a,b)};_.GN.prototype.reset=function(){this.O=null;BZc(this)};
BZc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.zZc=function(a,b){if(!a.O&&!a.V){a.H=a.Cd.H(106025);if(a.H){var c=HYc(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 _.uZc(5E3,6E4);CZc(a)}};CZc=function(a){BZc(a);xZc(a);a.O&&(a.timeout=setTimeout(function(){return void CZc(a)},a.O.Ya()),_.sH(a.O))};
xZc=function(a,b){_.Uh((a.ha?a.ha():_.Ph()).then(null,function(){return null}),function(){if(a.H){var c=_.B(HYc(a.H),3)||0,d=HYc(a.H);_.A(d,3,c+1)}DZc(a,b)})};DZc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Te(new _.bWc)}).then(null,function(d){d=_.aB(d);_.PUc(d.Pg)&&yZc(a,2);return _.Rh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.GN.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
yZc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.XUc.get(b)),!0):!1};gWc=[_.fM,_.hM,_.gM,_.jM,_.iM,_.kM,_.lM,_.oM,_.qM,_.rM,_.sM,_.uM,_.vM,_.KM,_.MM,_.OM,_.UL,_.PM,_.QM,_.RM,_.RVc,_.SM];EZc=[_.WL];hWc=[_.HF,_.WVc];iWc=[_.FM,_.FL,_.jD,_.TM];jWc=[_.KL,_.wM,_.$z,_.WL,_.QVc];kWc=[_.TM,_.KF];lWc=[_.tM,_.NVc,_.EM,_.HM,_.IM,_.PVc,_.SM,YVc,XVc];
FZc=function(a){return a instanceof _.KL||a instanceof _.TM||"undefined"!=typeof _.HN&&a instanceof _.HN||a instanceof _.QM||a instanceof _.rM||a instanceof _.kM||a instanceof _.oM||a instanceof _.UL&&_.WM(a)};_.GZc=function(a,b){this.O=b;this.H={};this.jj=new BXc;b=_.eM({fields:_.Md(a,28),kr:_.DL(_.EL(a))});this.Lb("SecondaryFields",b);this.Lb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.GZc.prototype.Lb=function(a,b){this.H[a]=HZc(a,b)};
var IZc=function(a,b){var c=a.H[b];c||(c=HZc(b,0,2),a.H[b]=c);c.Lb(String(Number(c.Ya())+1))};_.GZc.prototype.Dz=function(a){var b=_.Sa(this.H);this.O&&b.push(HZc("CacheSize",this.O.Ld()));b.push(HZc("InitialViewDataLoaded",a));a=new _.dYc;_.Nj(a,1,b);return _.Zh(a)};HZc=function(a,b,c){var d=new _.bYc;_.A(d,1,a);_.A(d,4,c||1);d.Lb(String(b));d.nm(_.aVc.get(a));return d};
_.JZc=function(a,b,c){var d=new _.rUc;_.A(d,2,"Pending...");b instanceof _.KL?_.Wj(d,3,_.LL[0],b):b instanceof _.TM?_.Wj(d,4,_.LL[0],b):"undefined"!=typeof _.HN&&b instanceof _.HN?_.Wj(d,5,_.LL[0],b):b instanceof _.QM?_.Wj(d,6,_.LL[0],b):b instanceof _.rM?_.Wj(d,7,_.LL[0],b):b instanceof _.kM?_.Wj(d,8,_.LL[0],b):b instanceof _.oM?_.Wj(d,9,_.LL[0],b):b instanceof _.UL&&_.Wj(d,10,_.LL[0],b);var e=dWc(b),f=[];if(b instanceof _.gM)UM(f,"ID",b.getId()),UM(f,"Parent ID",b.Ik());else if(b instanceof _.rM)UM(f,
"TD ID",b.getId());else if(b instanceof _.KL)b=_.AYc(b.wd()),UM(f,"Query",b);else if(b instanceof _.TM)UM(f,"Query","All");else if(b instanceof _.QM)UM(f,"TD ID",b.getId()),UM(f,"Title",b.getTitle()),UM(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.kM)UM(f,"MimeType",b.getMimeType()),UM(f,"Title",b.getTitle()),UM(f,"Parents",_.Md(b,3)),UM(f,"Convert",_.R(b,8)),UM(f,"Request ID",b.fj()),UM(f,"Parent Request IDs",_.Md(b,10)),UM(f,"Revision Item ID",_.B(b,12)),UM(f,"Pinned",_.R(b,8));else if(b instanceof
_.lM)UM(f,"Title",b.getTitle());else if(b instanceof _.oM)UM(f,"ID",b.getId());else if(b instanceof _.sM)UM(f,"WS ID",b.getId());else if(b instanceof _.UL){if(UM(f,"ID",b.getId()),UM(f,"Title",b.getTitle()),UM(f,"Description",b.Qe()),UM(f,"Starred",_.R(b,4)),UM(f,"Trashed",b.Sh()),UM(f,"MimeType",b.getMimeType()),UM(f,"Parents",_.Md(b,8)),UM(f,"Parents to add",_.Md(b,9)),UM(f,"Parents to remove",_.Md(b,10)),UM(f,"Restricted",_.R(b,11)),UM(f,"Folder Color",b.Ti()),UM(f,"Update Last Viewed",_.R(b,15)),
UM(f,"Subscribed",_.R(b,16)),UM(f,"Available Offline",_.R(b,18)),UM(f,"Wksp to add",_.Md(b,31)),UM(f,"Wksp to remove",_.Md(b,32)),b=_.C(b,_.Vk,25))UM(f,"Read Only",_.R(b,1)),UM(f,"Reason",_.B(b,2))}else b instanceof _.RM?(UM(f,"WS ID",b.getId()),UM(f,"Title",b.getTitle()),UM(f,"State",b.getState())):b instanceof _.RVc&&UM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.jj.add(d);return d};
_.KZc=function(a,b){for(var c=new _.Po,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.yVc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.GZc.prototype.aR=function(){return this.jj.Eg()};_.t("sy1m4");
_.IN=function(a){_.O(this,a,-1,null,null)};_.L(_.IN,_.K);_.IN.prototype.qd=function(){return _.C(this,_.RA,1)};_.LZc=function(a,b){return _.J(a,1,b)};_.IN.prototype.Tn=function(){return _.B(this,3)};
_.MZc=function(a,b,c){_.gi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.MZc,_.gi);
_.NZc=function(a,b){this.O=a;this.V=b;this.H=null};
var JN=function(a){_.ri.call(this);this.name=a};_.L(JN,_.ri);_.g=JN.prototype;_.g.j4=function(){};_.g.VEa=function(){};_.g.U0a=function(){};_.g.LMa=function(){};_.g.T0a=function(){};_.g.PF=function(){this.dispatchEvent(new _.gi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var OZc=function(a,b){JN.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(OZc,JN);OZc.prototype.max=function(){var a=this.O.Ue(),b=this.H.vB();return!a&&b?Infinity:0};OZc.prototype.j4=function(){this.PF()};
var PZc=function(a){JN.call(this,"Online");var b=this;this.connectionState=a;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.connectionState,[_.bB.zL,_.bB.jha,_.bB.rU],function(){return b.PF()})};_.L(PZc,JN);PZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};PZc.prototype.j4=function(){this.PF()};
_.QZc=function(a,b){this.H=a;this.O=b};_.RZc=function(a){return a.H instanceof _.GN?new PZc(a.H.getState()):new OZc(a.O,a.H)};_.QZc.prototype.Jj=function(){return this.H instanceof _.GN?this.H.getState():this.O};
var TZc;_.SZc=function(a,b,c){this.zK=c;this.O=!0;this.V=0;this.H=new _.rH(a,b,.5)};TZc=function(a){return a.H.O+a.V};
_.KN=function(a,b){JN.call(this,"Backoff");this.H=a;this.O=b};_.L(_.KN,JN);_.KN.prototype.max=function(){return this.H.O?Infinity:0};_.KN.prototype.LMa=function(){var a=this.H;a.V=0;a.H.reset()};_.KN.prototype.T0a=function(a){var b=this;UZc(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),_.sH(this.H.H))};
var UZc=function(a){var b;return(a=null===(b=_.fa(a.ED))||void 0===b?void 0:b.response)?BVc(_.Ysb(a)):!1};_.KN.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.VZc=function(a,b){JN.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.VZc,JN);_.VZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.VZc.prototype.j4=function(a){a>=this.O?this.PF():null==this.H&&WZc(this)};_.VZc.prototype.VEa=function(a,b){0<b?WZc(this):this.H=null};var WZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.PF.bind(a),a.V)};
_.LN=function(){this.jj=[]};_.g=_.LN.prototype;_.g.add=function(a,b){b?this.jj.unshift(a):this.jj.push(a);return!0};_.g.Psa=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.yv.config.requestId===a?(b.le.resolve(eWc(b.yv.request)),!0):!1})};_.g.fK=function(){return _.ag(this.jj,function(a){return _.WM(a.yv.request)})};
var XZc=function(){JN.call(this,"Immediate")};_.L(XZc,JN);XZc.prototype.max=function(){return Infinity};XZc.prototype.j4=function(){this.PF()};
var YZc=function(){JN.call(this,"One Request")};_.L(YZc,JN);YZc.prototype.max=function(){return 1};
_.MN=function(a){JN.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.MN,JN);_.MN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.MN.prototype.j4=function(){this.H<this.limit&&this.PF()};_.MN.prototype.VEa=function(a){this.H+=a.length};_.MN.prototype.U0a=function(a){this.H-=a.length;this.H<this.limit&&this.PF()};
var ZZc=function(){_.ri.apply(this,arguments)};_.L(ZZc,_.ri);var a_c=function(a,b){a.dispatchEvent(new $Zc(b))};ZZc.prototype.O=function(){};var $Zc=function(a){_.gi.call(this,"Nb");this.request=a};_.L($Zc,_.gi);
_.NN=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.P_a);for(a=0;a<this.O.length;a++)this.Mc.listen(this.O[a],"Nb",function(k){b_c(h,!0,k.request)});this.ka=_.ut("drive.ds.network.queue.Queue [%s]",f)};_.L(_.NN,_.ri);_.NN.prototype.add=function(a){return b_c(this,!1,{yv:a,le:_.Th(),ED:[]})};
_.NN.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};_.NN.prototype.fK=function(){return this.V.fK()?!0:this.buckets.some(function(a){return a.fK()})};
var b_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(_.aB(a));for(var d=c_c(a),e=0;e<a.H.length;e++)a.H[e].j4(d);return c.le.promise};_.g=_.NN.prototype;
_.g.P_a=function(){var a=c_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].Psa(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=c_c(this);for(var f=0;f<this.H.length;f++)this.H[f].VEa(a,e);_.Uh(_.qL(d).then(this.nwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.P_a.bind(this),0)};
_.g.pwb=function(a,b){var c=a.yv.config;this.log(dWc(a.yv.request)+" request completed successfully. xd4: "+!(!c||!c.NN));this.H.forEach(function(d){return d.LMa()});this.O.forEach(function(d){return d.O(a)});a.le.resolve(b)};
_.g.owb=function(a,b){b=_.aB(b);this.log(dWc(a.yv.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].T0a(a);a.yv.config.REa||!this.O.some(function(d){return d.intercept(a)})?a.le.reject(b):this.log(dWc(a.yv.request)+" encountered an error, but was intercepted to be retried.")};_.g.nwb=function(a){c_c(this);for(var b=0;b<this.H.length;b++)this.H[b].U0a(a)};
var c_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};_.NN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.d_c=function(a,b,c,d){ZZc.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 _.SZc(_.bk(a,63,1E3),_.bk(a,64,3E5),_.bk(a,65,10))}};_.L(_.d_c,ZZc);
_.d_c.prototype.intercept=function(a){var b=a.ED.length,c=0<b&&_.fa(a.ED).response||null;if(c){c=_.RL(c);if(2===c.Jp())return e_c(this,a);if(_.PUc(c))return 2>=b?(a_c(this,a),a=!0):a=!1,a;var d=c.nk();if(3===d||31===d||13===d||9===d)return f_c(this,a,b);if(BVc(c))return b=TZc(this.V),c=this.V,TZc(c)<c.zK?(this.log("Backoff number "+b+" for a User Rate Limit error."),a_c(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var e_c=function(a,b){var c=g_c(a,b),d=TZc(c);if(TZc(c)<c.zK)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 a_c(a,b)},d),_.sH(c.H)):(_.n.setTimeout(function(){return a_c(a,b)}),c.V++),!0;a.H.delete(b);return!1},g_c=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},f_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 a_c(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.d_c.prototype.O=function(a){this.H.delete(a)};_.d_c.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var h_c=function(a){try{if("undefined"!==typeof FileReaderSync&&_.QUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.bxb,d=WXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.$wb(_.cM(e),"reading data"))}},i_c=function(a){return h_c(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var j_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.Au=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Dz();a=_.QUc()&&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};
j_c.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};j_c.prototype.start=function(){var a=this,b=new XVc(this.request.request,this.request.metadata),c=k_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;l_c(a)},function(d){return void a.le.reject(d)});return _.Uh(this.le.promise.then(function(d){m_c(a,d);return d},function(d){d=_.aB(d);m_c(a,d.Pg);return _.Rh(d)}),function(){nZc(a.H,[a.tO])})};
var k_c=function(a){var b=_.$a(a.config);mZc(a.H,a.tO,yXc(function(){return void a.H.notify([a.requestId],0)}));return b};j_c.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.le.resolve(eWc(this.request)),!0)};
var l_c=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),n_c(a,4))},n_c=function(a,b){o_c(a).then(function(c){if(c){var d=p_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.YM()&&(a.Fa=f.YM());a.progress<a.fileSize?l_c(a):a.le.resolve(f)},function(f){if(d.REa)a.cancel();else{var h=_.RL(f);h.ZBa()||h.xla()||a.ma?q_c(a,b,h,!1):i_c(c.blob).then(function(k){k=k?_.oEa.get(k)||
25:38;_.aM(h,k);k=38===h.Jp();var l=38!==h.Jp()&&25!==h.Jp();q_c(a,b,h,k,l)},function(){})}})}else{var e=_.aB(_.aM(_.$p(new _.kc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.le.reject(e)}})},q_c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Kfa(f);!e&&0<b?(a.Au++,d&&(a.W=Math.max(262144*Math.floor(a.W/262144/2),8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.W+" bytes "):
"")+"for ")+(a.ha+"."));n_c(a,b)},a.Oa*Math.pow(1.5,f))):a.le.reject(_.aB(c))},o_c=function(a,b){return a.ma&&a.V?_.Ph(a.V):r_c(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return o_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 YVc(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})},r_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(_.AVc(a.request.file,b,b+a.O))},p_c=function(a,b){var c=_.$a(a.config);c.DRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;nZc(a.H,[a.tO]);mZc(a.H,a.tO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},m_c=function(a,b){b.MMa(3);b.Kfa(a.Au);b.ZJ()||b.bda(a.va);b.YM()||b.Sca(a.Fa)};
_.s_c=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.s_c.prototype.create=function(a,b){return new j_c(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.t_c=function(a){this.O=a;this.H={}};_.t_c.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].yv.request instanceof _.ZVc)b.push(u_c(this,a[c].yv));else{var d=_.$p(new _.kc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.aB(d)))}return b};_.t_c.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.t_c.prototype.fK=function(){return!_.Va(this.H)};
var u_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]})};
_.v_c=function(a,b){return new _.NN(b,a,[new XZc],[new _.LN],[],"immediate")};_.w_c=function(a,b,c,d,e){return new _.NN(e,a,[_.RZc(d),new _.KN(c,e),new YZc],[new _.LN],[new _.d_c(b,c,d.Jj(),e)],"connected")};_.x_c=function(a,b,c,d,e,f,h){h=void 0===h?_.bk(b,10,50):h;return new _.NN(e,a,[_.RZc(d),new _.VZc(h,_.bk(b,12,10)),new _.MN(3*h),new _.KN(c,e)],[new _.LN],[new _.d_c(b,c,d.Jj(),e)],f)};_.y_c=function(a,b,c){b=_.bk(b,46,1);return new _.NN(c,a,[new _.MN(b)],[new _.LN],[],"resumable_upload")};
_.z_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};_.z_c.prototype.Te=function(a,b){return A_c(this,a,b).then(null,function(c){c=_.aB(c);var d=c.Pg;fWc(a)||_.bq(d);return _.Rh(c)})};
var A_c=function(a,b,c){c=void 0===c?{}:c;var d=a.mI.validate(b);if(d)return _.Rh(_.aB(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(_.aB(e));if(Array.isArray(e)){var f=e.map(function(h){return B_c(a,b,h,c)});return _.qL(f)}return B_c(a,b,e,c)},function(f){return _.Rh(_.aB(f))})},
B_c=function(a,b,c,d){var e=C_c(a,c);if(!e)return b=_.aM(_.$p(new _.kc,"Failed to choose a queue for server request."),18),_.Rh(_.aB(b));if(e===a.H[7]||e===a.H[8])d.NN=!0;d=e.add({request:c,config:d});(_.WM(b)||_.WM(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};_.z_c.prototype.cancel=function(a){return _.Qa(this.H,function(b){return b.cancel(a)})};
var C_c=function(a,b){var c,d=!1;b instanceof _.wM?d=!(null===(c=_.C(b,_.$z,2))||void 0===c||!_.R(c,7)):b instanceof _.$z?d=!!_.R(b,7):b instanceof _.KL&&(d=(d=b.wd())&&!!_.R(d,46));return(b instanceof _.bWc||b instanceof _.lL&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.ZVc&&a.H[5]?a.H[5]:d&&mWc(b,a.O)&&a.H[7]?a.H[7]:mWc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.wM||b instanceof _.$z)&&a.H[6]?a.H[6]:(d||EZc.includes(b.constructor))&&a.H[3]?a.H[3]:gWc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var D_c=function(a){this.H=a};D_c.prototype.build=function(a,b){var c="====="+_.Mg()+"=====",d=a[0].Wm,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=tZc(this.H,a[0].Wm);_.ij(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=E_c[d],h=F_c[d]||{},h["content-type"]=_.ut('multipart/mixed; boundary="%s"',c),d=G_c[d],k=new _.bj("");a=H_c(this,a,b,c,e);return{Wm:f,body:a,headers:h,method:d,uri:k}};
var H_c=function(a,b,c,d,e){for(var f=KVc(I_c[b[0].Wm]||{}),h="",k=0;k<b.length;k++){e&&rZc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=sZc(p,q.Wm,q.uri);switch(q.Wm){case 0:case 5:qZc(p,q,r);pZc(p,q,r);break;case 2:rZc(p,q,r);qZc(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;pZc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ze`"+q.Wm);default:throw Error("Ye`"+
q.Wm);}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")+KVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},J_c={},E_c=(J_c[0]=1,J_c[2]=3,J_c),K_c={},G_c=(K_c[0]="POST",K_c[2]="PUT",K_c[12]="POST",K_c),L_c={},M_c={},F_c=(M_c[2]=(L_c["x-goog-upload-protocol"]="batch",L_c),M_c),N_c={},O_c={},P_c={},Q_c={},I_c=(Q_c[0]=(N_c["content-type"]="application/http",N_c["content-transfer-encoding"]="binary",N_c),Q_c[12]=
(O_c["content-type"]="application/http",O_c["content-transfer-encoding"]="binary",O_c),Q_c[2]=(P_c["content-type"]="application/http",P_c),Q_c);
var R_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,S_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var T_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};T_c.prototype.add=function(a,b){var c="DEFAULT";b.NN&&(c=tZc(this.V,a.Wm).toString());this.jj.has(c)||this.jj.set(c,[]);c=this.jj.get(c);if(1<=c.length&&!b.NN&&!E_c[a.Wm])return a=_.$p(new _.kc,"Unsupported batch API: "+a.Wm),_.Rh(_.aB(a));var d=_.Th();c.push({request:a,config:b,le:d});return d.promise};
T_c.prototype.send=function(){var a=this;this.jj.forEach(function(b,c){try{U_c(a,b)}catch(f){var d=_.aq(_.$p(new _.kc,"Error executing XHR: "+f.message),f.stack),e=_.aB(d);b.forEach(function(h){h.le.reject(e)});a.jj.delete(c)}})};
var U_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.zCa&&!c.config.NN){var d=!1;if(E_c[c.request.Wm]){var e={Wm:c.request.Wm,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){V_c(a,c);return}}}W_c(a,b)},V_c=function(a,b){var c=b.le;a.W.Yg(b.request,b.config).then(function(d){c.resolve(d);X_c(a,b)},function(d){a.handleError(b,d);c.reject(_.aB(d))})},W_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),{zCa:!0,NN:d.every(function(e){return e.NN})}).then(function(e){e.headers=_.nVc(e.headers);var f=S_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.lc("Could not extract batch boundary.",_.aM(_.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.",
_.aM(_.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.",_.aM(_.aq(new _.kc,D),17));else{var M=I[1].split("\r\n");if(y=R_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=_.nVc(pa);W.call(Q,z,M);try{u=_.ae(_.Lg(I[2]))?void 0:JSON.parse(I[2])}catch(qa){}u=(p=_.sVc(p,y,z,D,u,void 0,void 0,H&&H.toString()))?_.aB(p):{headers:z,text:D,json:u||void 0}}else u=new _.lc("Could not extract HTTP status code and text.",_.aM(_.aq(new _.kc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.aB(e);return _.wSc(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=_.aB(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||X_c(a,b[0])})},X_c=function(a,b){var c=b.request.Wm;b=!b.config.lu&&_.ma(Y_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=yZc(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()};
T_c.prototype.handleError=function(a,b){a=_.Ysb(b);if(2===a.Jp()){if(this.H)return _.AZc(this.H),!0}else if(_.PUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.zZc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var Y_c=[0,2,4,7,8];
var Z_c=function(){_.Yi.apply(this,arguments)};_.L(Z_c,_.Yi);Z_c.prototype.getAllResponseHeaders=function(){return _.cia(_.Yi.prototype.getAllResponseHeaders.call(this))};
var $_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=$_c.prototype;_.g.Yg=function(a,b){try{this.W.tc(a,b);var c=new Z_c;c.qC=!0;var d=b.requestId||"",e=_.Th();c.listen("complete",this.Cab.bind(this,c,e,d,b.zCa,4===a.Wm));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.DRa||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(_.aB(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.REa=!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=_.nL(a)}catch(f){}d=_.sVc(a.Ab(),_.Wla(a),c.headers,c.text,c.json,a.O,_.$la(a),String(a.oa),e);a.dispose();d?b.reject(_.aB(d)):b.resolve(c)};_.g.$zb=function(a,b){b.lengthComputable&&this.V.notify([a.tO],a.DRa?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)};
_.a0c=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 D_c(this.O);this.W=new $_c(this.O,this.va)};_.g=_.a0c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].yv;this.V.push(e);b.push(this.Ba.DE(e,a[d].ED));c.push(FZc(e.request)?_.JZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.aB(_.sVc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new T_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].yv.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].yv,l=d[e].then(this.eob.bind(this,k.request,c[e],a[e].ED)).then(null,function(p){return Promise.reject(_.aB(p))}),l.then(this.NMa.bind(this,k),this.NMa.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():[],_.KZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.fK=function(){return this.V.some(function(a){return _.WM(a.request)})};
_.g.NMa=function(a){_.va(this.V,a)};
_.b0c=function(){};_.b0c.prototype.execute=function(){return null};
var c0c;c0c=function(a){this.H=a};_.ON=function(a,b){if(!_.Ca(b))throw new _.lc("Expected an object, but got a "+_.Lfa(b)+".",_.bM(11,void 0,8));var c=b.kind;if(!c)throw new _.lc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.bM(11,void 0,21));if(!a.includes(c))throw new _.lc("Expected "+a.join(" or ")+" but got a "+c+".",_.bM(11,void 0,9));};_.PN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.d0c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.sWc(new _.Tk,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.BWc(_.wWc(_.CWc(_.DWc(_.EWc(_.AWc(_.zWc(_.vWc(_.uWc(_.tWc(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=_.FWc(_.yWc(_.xWc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.IWc(_.HWc(_.GWc(_.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=_.KWc(_.JWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.NWc(_.MWc(_.LWc(_.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)};_.QN=function(a,b){_.ON(["drive#user"],b);var c=_.qWc(_.rWc(_.oWc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.io(b.picture.url);_.JL(a.H)&&_.qWc(c,b.emailAddressFromAccount||b.emailAddress);_.pWc(c,a.Of(b.id));_.A(c,9,b.domain);return c};c0c.prototype.Of=function(a){if(a)return _.hN(_.EL(this.H))==a};
var e0c,k0c,z0c,h0c,p0c,o0c,q0c,s0c,u0c,g0c,w0c,v0c,x0c,y0c,B0c,C0c,A0c,r0c;e0c=function(a,b){this.H=a;this.O=b};
_.i0c=function(a,b,c){var d=new _.IN,e=new _.RA,f=e.Pw;_.ON(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.f0c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.f0c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.ON(["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 _.Brb).Dc(g0c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.Frb;a=_.Nj(k,1,a);f.push(a)}q=new _.Hrb;_.Nj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.Drb;_.Kj(u,1,f)}q||u?(f=new _.Irb,q&&_.J(f,1,q),u&&_.J(f,2,u),u=f):u=null;_.J(e,7,u);u=h0c(b);_.Kj(e,18,u)}d=_.LZc(d,e);c=_.pVc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
k0c=function(a,b,c,d,e){_.ON(["drive#adminFile","drive#file","drive#revision"],b);var f=_.UXc(new _.VM,c);"drive#adminFile"==b.kind?(_.ON(["drive#adminFile"],b),c=(new _.Yk).Pb(b.id),b.parentId&&_.cN(c,[b.parentId]),_.dXc(c,b.teamDriveId),f.setItem(c),_.UXc(f,c.getId())):"drive#file"==b.kind?(b=_.f0c(a,b),f.setItem(b),c||_.UXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.j0c(a,b),_.J(f,4,b));f.bda(_.oVc(d));f.Sca(_.pVc(d));(d=(d=d&&_.nVc(d))&&d["x-server-object-version"])&&e&&(e=(new _.mN).Pb(d),
_.J(f,4,e));f.Dc(1);return f};_.l0c=function(a,b){return _.UXc(new _.VM,a).Dc(1).bda(_.oVc(b)).Sca(_.pVc(b))};_.n0c=function(a,b,c,d){d||_.ON(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.m0c(a,b[c],d);f&&e.push(f)}return e};
_.m0c=function(a,b,c){c||_.ON(["drive#permission"],b);c=_.pWc(_.rWc(_.oWc(o0c[b.type]).Pb(b.id),b.userId),a.H.Of(b.userId));c=_.A(c,4,b.withLink);c=_.qWc(c.jd(b.name).io(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);_.JL(a.O)&&c.jd(b.nameIfNotUser);a=p0c[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};
_.f0c=function(a,b){_.ON(["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=_.bXc(_.YWc(_.QF(_.cN(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.nm(b.description);_.ZWc(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.Av(d.starred),_.A(c,6,d.hidden),c.Kn(d.trashed),_.VWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.PN(b.createdDate));_.A(c,69,_.PN(b.serverCreatedDate));_.LTb(c,_.PN(b.modifiedDate));_.A(c,12,_.PN(b.modifiedByMeDate));_.A(c,13,_.PN(b.lastViewedByMeDate));_.A(c,23,_.PN(b.sharedWithMeDate));_.A(c,62,_.PN(b.subscribedDate));_.A(c,70,_.PN(b.recency));b.recencyReason&&_.A(c,71,q0c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.QN(a.H,
e[f]))&&d.push(h);_.WWc(c,d);b.lastModifyingUser&&(d=_.QN(a.H,b.lastModifyingUser),_.XWc(c,d));b.userPermission&&_.MTb(c,p0c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.$M).wh(e.width).uh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.wUc,f.setMilliseconds(0),r0c.parse(e,f),_.A(d,1,f.getTime())),_.J(c,27,d));null!=b.folderColor&&_.aXc(c,Number(b.folderColor));_.$Wc(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=_.QN(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],_.kSc[h]&&(h=_.Ue(new _.Te,_.kSc[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,s0c[h.type]);e.push(h)}_.Nj(c,83,e)}b.capabilities&&_.dN(c,_.d0c(b.capabilities));b.permissionsSummary&&_.eXc(c,_.t0c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.aN).nm(d.description),
e=_.A(e,3,u0c[d.galleryState]),d=_.Kj(e,2,d.category),_.J(c,86,d));_.dXc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.QN(a.H,b.creator),_.J(c,91,d));_.fXc(c,b.primaryDomainName);_.gXc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.QN(a.H,b.trashingUser),_.J(c,95,d));c.ida(_.PN(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,v0c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.bN).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=_.QWc(_.PWc(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(w0c[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,x0c[d.targetLookupStatus]||0),d.targetFile&&(d=_.f0c(a,d.targetFile),_.J(e,5,d)),_.J(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.ZM,e=_.A(e,1,y0c[d.encryptionState]),d.decryptionMetadata&&(d=z0c(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);
_.hXc(c,b.customerId);_.A(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&_.A(c,145,A0c[b.abuseNoticeReason]);_.JVc(c);_.JL(a.O)&&_.cXc(c,5);return c};
_.j0c=function(a,b){_.ON(["drive#revision"],b);var c=(new _.mN).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.PN(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=_.QN(a.H,b.lastModifyingUser),_.J(c,9,a));b.decryptionMetadata&&(b=z0c(b.decryptionMetadata),_.J(c,10,b));return c};
_.t0c=function(a,b){a=_.TWc(_.SWc(_.RWc(new _.Lna,b.entryCount),_.n0c(a,b,"visibility",!0)),_.n0c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};z0c=function(a){var b=a.wrappedKey;var c=new _.OWc;b=b?_.AXc(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,B0c[a.aes256GcmChunkSize]);c=_.A(c,6,C0c[a.keyFormat]);return _.A(c,4,a.jwt)};
h0c=function(a){_.ON(["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};p0c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};o0c={anyone:4,audience:5,domain:3,group:2,user:1};q0c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};s0c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};u0c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};g0c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
w0c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};v0c={docs:1,sheets:2,slides:3};x0c={ok:1,notFound:2,permissionDenied:3};y0c={unencrypted:1,encrypted:2};B0c={unset:0,"default":1,small:2,size16kb:3};C0c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};A0c={UNKNOWN_REASON:0,ACCESSIBLE_ONLY_TO_OWNER:1,ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER:2,SUSPICIOUS_OTHER:3,SUSPICIOUS_PHISHING:4,SUSPICIOUS_MALWARE:5};r0c=new _.CVa("yyyy:MM:dd HH:mm:ss");
var G0c;_.D0c=function(a){this.V=new c0c(a);this.nF=new e0c(this.V,a)};_.D0c.prototype.DE=function(a,b,c){c=void 0===c?[]:c;try{return E0c(this,a,b,c)}catch(d){_.dM(d)}};
var E0c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.kM)return _.F0c(a,b,c);if(b instanceof _.tM)return G0c(0,c,d);if(b instanceof _.$z||b instanceof _.wM){if(!c.json)throw _.RN();return _.i0c(a.nF,c.json,c.headers)}if(b instanceof _.SM)return _.F0c(a,b,c);if("undefined"!=typeof _.UVc&&b instanceof _.UVc){if(!c.json)throw _.RN();a=c.json;return new _.iYc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.H0c&&b instanceof _.H0c){if(!c.json)throw _.RN();
return _.j0c(a.nF,c.json)}if(b instanceof _.HM)return G0c(b.wd(),c,d);if(b instanceof YVc){if(b.V){if(!c.json)throw _.RN();a=k0c(a.nF,c.json,null,c.headers,!!b.revisionId)}else a=_.l0c(null,c.headers);return a}if(b instanceof XVc){a=_.nVc(c.headers);b=a.location;if(!b)throw a=_.aM(new _.kc,10),new _.lc("No upload session URI included.",a);return new jYc(b,_.oVc(a),_.pVc(a))}if(b instanceof _.bWc)return new kYc;throw new _.lc("FromXhrConverter: Unsupported request type.",new _.kc);};
_.D0c.prototype.ha=function(){return null};G0c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new lYc(_.Eaa(b.text),c.length):new lYc(new Uint8Array(_.oma(b.text)),c.length)};_.F0c=function(a,b,c){if(!c.json){if(b instanceof _.UL)return _.l0c(_.I0c(b));throw _.RN();}var d=!1;b instanceof _.SM&&(d=!!_.B(b.request,12));return k0c(a.nF,c.json,_.I0c(b),c.headers,d)};_.RN=function(){var a=_.aM(new _.kc,11);return new _.lc("FromXhrConverter: JSON required, but none found",a)};
_.I0c=function(a){return a.getId?a.getId():a.Cc?a.Cc():null};
var M0c,N0c,P0c,J0c,Q0c,K0c;
M0c=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=J0c[d?d.O():0],h.keyFormat=K0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.L0c(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=_.qXc(_.pYc(_.B(a,26)||0)));return c};_.L0c=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)}}};N0c={};_.O0c=(N0c[1]="active",N0c[2]="archived",N0c);P0c={};J0c=(P0c[0]="unset",P0c[1]="default",P0c[2]="small",P0c[3]="size16kb",P0c);Q0c={};K0c=(Q0c[0]="unsetKeyFormat",Q0c[1]="tinkKeyset",Q0c[2]="tinkAesGcmKey",Q0c);
var T0c=function(a,b,c){return(a.lQ?a.lQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return h_c(d)}).then(function(d){return R0c(a,b,d,c)},S0c)},R0c=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",_.EVc({fields:_.pN(b).filter(function(q){return 194!=q}),kr:!1}));
LVc(f,a.request.xe());var h=M0c(a.request,a.metadata),k=_.Mg();b={};b=(b["content-type"]=_.ut('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());_.YM(d,_.Uj(a.request,_.Cl,28),[],null,b);a="--"+k;a=a+"\r\n"+KVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+KVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Wm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},S0c=function(a){if(a instanceof _.$wb){var b=new _.kc;_.$p(b,"fs.Error: "+a.message);a=(a=a.name)?_.oEa.get(a)||25:38;_.aM(b,a);b=_.aB(b)}else b=_.cM(a);return Promise.reject(b)};
_.UN=function(a,b,c,d){this.H=a;this.Jg=b;this.O=c;this.Cd=d;this.ka=_.TL(a)||new _.RUc};_.UN.prototype.DE=function(a,b){try{return a.request instanceof _.SM?T0c(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),_.aM(a,4)),Promise.reject(a)}};
_.UN.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.kM){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=_.EVc({fields:this.Lg(c),kr:_.DL(_.EL(this.H)),BG:_.JL(this.H)});e=M0c(a);f["content-type"]="application/json";var r=a.xe();p=!0;_.oN(k);_.U0c(this.H,k);_.YM(this.H,_.Uj(a,_.Cl,28),_.Md(a,3).concat([_.B(a,16),a.c2(),a.Cc()]),this.O,f)}else if(a instanceof _.tM||a instanceof
_.HM)a instanceof _.HM?(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",_.YM(this.H,[_.Dl((new _.Cl).Pb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.wM||a instanceof _.$z){if(a instanceof _.wM)q=_.B(a,1),a=_.C(a,_.$z,2);else if(a instanceof _.$z)q=0,_.FN(this.Cd,190196159);else throw Error("Xf");p=a.en()[q];q="files/"+
p;r=_.xa(this.Lg(c),this.Lg(c,a.O()));_.Fa(r);k.fields=_.EVc({fields:r,kr:_.DL(_.EL(this.H)),BG:_.JL(this.H)});_.oN(k);_.V0c(this.H,k);_.W0c(this.H,k);this.W(p,k);r=a.xe();p=!0;_.R(a,7)&&(b.zCa=!0);_.YM(this.H,_.Uj(a,_.Cl,11),a.en(),this.O,f)}else if("undefined"!=typeof _.UVc&&a instanceof _.UVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.H0c&&a instanceof _.H0c)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 YVc){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?_.ut("bytes %d-%d/%d",u,b,b+1):_.ut("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof XVc?(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=_.EVc({fields:this.Lg(c).filter(function(y){return 194!=
y}),kr:_.DL(_.EL(this.H)),BG:_.JL(this.H)}),_.oN(k),e=M0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.YM(this.H,[],_.Md(a.request,3),this.O,f),r=a.request.xe(),p=!0):a instanceof _.bWc?(q="about",k.fields="kind",r=a.H,p=!0):_.X0c(a);p&&_.Y0c(c,k);0!=d||l||r&&_.B(r,1)||_.FN(this.Cd,74438989);return _.Z0c(this,d,q,k,f,h,r,e,u)};
_.Z0c=function(a,b,c,d,e,f,h,k,l){c=new _.bj(c);[10,12,13].includes(b)||LVc(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{Wm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.V0c=function(a,b){_.S(a.$f(),23,!1)&&(b.includePermissionsForView="published")};_.UN.prototype.W=function(){};
_.W0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.U0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.Y0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).rRb):b.retryCount=0};_.UN.prototype.Lg=function(a,b){b||(b=_.pN(this.Jg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return SXc.includes(c)}));return b};_.X0c=function(a){var b=_.aM(new _.kc,4);throw new _.lc("ToXhrConverter: Unsupported request type: "+dWc(a),b);};
_.VN=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(_.VN,_.ri);_.VN.prototype.qQ=function(){return _.pL()};
_.VN.prototype.upload=function(a,b,c,d){IZc(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=$0c(this,e);this.jj[e]={request:a,
file:b,Bg:f,KM:!1,Au:0,success:!1,AE:!1,children:[],metadata:c,Jla:void 0,lQ:d};h?a1c(this,e,h):this.ka(e);return f.wn()};
var $0c=function(a,b){var c=new _.Vh;c.Tf(_.wb(a.Fa,b),_.wb(a.Ha,b),a);return c},a1c=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),_.NH(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(_.IL(f)?f:Error(f))})};
_.VN.prototype.Fa=function(a,b){IZc(this.V,"UploadSuccessCount");a=this.jj[a];a.success=1===b.Ab();(b=a.Jla)&&!a.AE&&(JXc(LXc(GYc(b),a.Au),!0),b.Zj())};_.VN.prototype.Ha=function(a,b){var c=_.C(this.O,_.$L,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);IZc(this.V,"UploadFailureCount");c=this.jj[a];(a=c.Jla)&&!c.AE&&(JXc(LXc(GYc(a),c.Au),!1),b=(c=b&&b.Pg)&&c.nk(),c=c&&c.Jp(),b?KXc(GYc(a),b1c.get(b)||13):c&&KXc(GYc(a),c1c.get(c)||0),a.Zj())};
_.VN.prototype.ka=function(a){var b=this.jj[a];if(!b.KM){b.KM=!0;a=this.jj[a];var c=a.request,d=_.C(this.O,_.$L,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(d1c))&&(!d[1]||a.Au<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=GYc(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&&e1c(this,new _.ZVc(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,_.iXc,2),e1c(this,new _.SM(a,d,b,f&&_.eN(f)?e:void 0),c,a.fj()));break;case 3:e1c(this,a,b.Bg,a.fj());break;default:throw new _.lc("Upload type ${uploadType} not supported.");}}};
var e1c=function(a,b,c,d){mZc(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 f1c(a,b,e)}),function(){nZc(a.Ba,[d])}).then(c.callback,c.Pd,c)},f1c=function(a,b,c){var d=_.aB(c),e=b instanceof _.SM&&b.request.Cc()||"";c=d.Pg;if(e&&8===c.nk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.bA(new _.$z,[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),_.UXc((new _.VM).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Rh(d)}))}return _.ai(d)};_.g=_.VN.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&&(KXc(JXc(LXc(GYc(d),c.Au),!1),2),d.Zj());var e=_.Th();c.KM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.KM=!0,c.Bg.callback(eWc(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.Au++;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=$0c(b,p),q.KM=!1,q.AE=!1,(r=r?b.jj[r]:null)?a1c(b,p,r,!0):d.push(p),e[p]=q.Bg.wn())}})}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 d1c=/^uploadTestFailMe(\.[1-9])?$/,c1c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),b1c=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");
_.g1c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.m1c=function(a){return _.me(a).Lg(_.S(a.get(_.$o),19,!1)?l1c:_.ke)};_.t("sy1mf");
var l1c=[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 n1c,o1c,p1c,q1c,r1c,s1c,t1c,u1c,v1c,w1c,y1c,z1c,A1c,B1c,C1c,$N,H1c,I1c,aO,bO,J1c,K1c,M1c,N1c,O1c,Q1c,R1c,S1c,T1c,U1c,V1c,W1c,Y1c,$1c,f2c,h2c,k2c,l2c,o2c,r2c,iO,s2c,t2c,u2c,v2c,w2c,x2c,y2c,A2c,B2c,C2c,D2c,G2c,F2c,J2c,L2c,N2c,P2c,T2c,V2c,W2c,X2c,Y2c,Z2c,$2c,d3c,f3c,g3c,h3c,i3c,j3c,E1c,cO,D1c,F1c,G1c,A4c,B4c,nO,E4c,P4c,S4c,T4c,U4c,X4c,E2c,pO,t5c,u5c,v5c,w5c,y5c,z5c,A5c,B5c,qO,C5c,D5c,E5c,F5c,G5c,H5c,I5c,J5c,K5c,L5c,M5c,N5c,O5c,rO,R5c,S5c,T5c,z2c,U5c,V5c,W5c,R6c,S6c,U6c,V6c,$6c,n7c,o7c,v7c,F7c,X7c,
c8c,j8c,l8c,q8c,w8c,N8c,O8c,R8c,V8c,e9c,q9c,s9c,t9c,z9c,A9c,S2c,B9c,w$c,c2c,x$c,A$c,Gdd,Hdd,Idd,Jdd,Kdd,Ldd,Mdd,Ndd,Odd,Pdd;n1c=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("; ")};
o1c=function(a){var b=[];b.push(n1c(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.Au&&b.push("# of retries by client: "+a.Au);var d="";a.KM?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")};
p1c=function(a,b,c,d,e,f){var h=_.ut("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(o1c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.hYc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.ut('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}};q1c=function(a){return Array.prototype.concat.apply([],arguments)};r1c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
s1c=function(a){return String.fromCharCode(10>a?48+a:87+a)};t1c=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]=s1c(d>>4);b[2*c+3]=s1c(d&15)}return b.join("")};u1c=function(a){var b=new _.Po;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.eM(a,!0,"file"));a.v7&&(b.append(",teamDriveId,teamDrive("),b.append(a.v7),b.append(")"));b.append(")");return b.toString()};
v1c=function(a){var b=new _.Po;b.append("kind,nextPageToken,items(");b.append(_.eM(a,!0));b.append("),incompleteSearch");a.v7&&(b.append(","),b.append(a.v7));return b.toString()};
w1c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.ZM,138),k=_.C(d,_.Vk,111),l=_.C(d,_.$M,27),p=_.dl(d),q=d.Pf(),r=d.hh(),u=_.C(d,_.bN,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:_.NH(d,128);break;case 148:_.Oj(d,127);break;case 138:_.Lj(d,126);break;case 184:_.NH(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:_.NH(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:_.NH(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:_.NH(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:_.NH(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:_.NH(d,120);break;default:throw Error("Lc`"+e);}}};y1c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.jd(a),_.jd(x1c)));a=[].concat(_.jd(_.tbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)w1c(b[d],a)}};
z1c=function(a,b){var c=a.getCapabilities()||new _.Tk,d=_.C(a,_.ZM,138),e=_.C(a,_.Vk,111),f=_.C(a,_.$M,27),h=_.dl(a),k=a.Pf(),l=a.hh(),p=_.C(a,_.bN,103);switch(b){case 227:return null!=_.R(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.Zt().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,_.OWc,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.Lq();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.Cm();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.ym();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.Aq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Om();case 18:return null!=a.Pq();case 14:return 0<_.Zk(a).length;case 95:return null!=a.hn();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.Uw();case 94:return null!=a.lN();case 45:return null!=a.lw();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.Nu();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!=_.ZN(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.ny();case 46:return null!=a.Qv();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,
_.aN,86);case 2:return null!=a.getTitle();case 19:return null!=a.Ox()||null!=_.R(a,44)||null!=_.B(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Rv();case 97:return null!=a.gD();case 27:return null!=a.gp();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);}};
A1c=function(a,b){return b.every(function(c){return z1c(a,c)})};B1c=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)})};C1c=function(a,b){var c=new Set(b.concat(_.DVc));return a.filter(function(d){return!c.has(d)})};
$N=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(z1c(b,e))if(_.xbb.has(e)){if(d){var f=a.getCapabilities()||new _.Tk;_.dN(a,f);switch(e){case 76:_.sWc(f,_.Uk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.NWc(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:_.tWc(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:_.zWc(f,_.R(d,10));break;case 82:_.AWc(f,_.R(d,11));break;case 114:var H=_.R(d,27);_.A(f,27,H);break;case 133:_.IWc(f,_.R(d,33));break;case 202:_.MWc(f,_.R(d,47));_.HWc(f,_.R(d,32));break;case 132:_.HWc(f,_.R(d,32));break;case 101:_.EWc(f,_.R(d,20));break;case 201:_.LWc(f,_.R(d,46));break;case 131:_.GWc(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:_.DWc(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:_.CWc(f,_.he(d));break;case 78:_.wWc(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:_.BWc(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:_.xWc(f,
_.R(d,8));break;case 189:_.JWc(f,_.R(d,42));break;case 190:_.KWc(f,_.R(d,43));break;case 80:_.yWc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.FWc(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);_.uWc(f,_.R(d,5));break;case 59:_.vWc(f,_.R(d,6))}}}else if(_.ybb.has(e)){var dc=_.C(b,_.ZM,138);if(dc){var pb=_.C(a,_.ZM,138)||new _.ZM;_.J(a,138,pb);switch(e){case 194:var Zb=_.C(dc,_.OWc,2);_.J(pb,
2,Zb);break;case 193:var Jc=_.B(dc,1);_.A(pb,1,Jc)}}}else if(_.zbb.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:_.PWc(oe,_.R(ne,1));break;case 116:_.QWc(oe,_.B(ne,2))}}}else if(_.Abb.has(e)){var Id=_.C(b,_.$M,27);if(Id){var ff=_.C(a,_.$M,27)||new _.$M;_.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(_.Bbb.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(_.Cbb.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(_.Dbb.has(e)){var aj=b.hh();switch(e){case 157:if(aj){var Ml=a.hh()||new _.Ona;D1c(a,Ml);E1c(Ml,_.Uj(aj,_.Xk,8))}break;case 221:if(aj){var ik=a.hh()||new _.Ona;D1c(a,ik);var Qj=_.R(aj,9);_.A(ik,9,Qj)}}}else if(_.Ebb.has(e)){var fh=_.C(b,_.bN,103);if(fh){var gl=_.C(a,_.bN,103)||new _.bN;_.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.Zt();_.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.Lq();
_.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:_.hXc(a,_.B(b,136));break;case 26:a.nm(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:_.ZWc(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:_.aXc(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.Cm();_.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:_.XWc(a,b.ym());break;case 12:var Mk=b.cz();_.A(a,13,Mk);break;case 3:_.QF(a,b.getMimeType());break;
case 11:var ll=b.eB();_.A(a,12,ll);break;case 10:_.LTb(a,b.Aq());break;case 50:var Qh=_.R(b,49);_.A(a,49,Qh);var Ni=_.R(b,51);_.A(a,51,Ni);var jn=b.Om();_.J(a,81,jn);break;case 95:_.gXc(a,b.hn());break;case 18:_.YWc(a,b.Pq());break;case 58:var pi=_.R(b,63);_.A(a,63,pi);break;case 14:_.WWc(a,_.Zk(b));break;case 1:_.cN(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:F1c(a,_.bl(b));break;case 75:_.eXc(a,b.Uw());break;case 94:_.fXc(a,
b.lN());break;case 45:var kn=b.lw();_.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.Nu();_.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:_.VWc(a,b.f7());break;case 122:G1c(a,_.ZN(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 Qw=b.Gj();_.A(a,22,Qw);break;case 25:var Ks=b.ny();_.A(a,23,Ks);break;case 46:var Yn=b.Qv();_.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.Av(b.PA());break;case 35:_.$Wc(a,_.R(b,31));break;case 57:var aD=_.B(b,62);_.A(a,62,aD);break;case 83:_.dXc(a,b.Bc());break;case 84:var EA=_.C(b,_.aN,86);_.J(a,
86,EA);break;case 98:a.ida(b.Rv());break;case 97:var bD=b.gD();_.J(a,95,bD);break;case 19:var Vt=b.Ox();_.A(a,20,Vt);_.bXc(a,_.R(b,44));var Uw=_.B(b,90);_.A(a,90,Uw);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Kn(b.Sh());break;case 27:_.MTb(a,b.gp());break;case 70:var Vw=b.Di();_.A(a,75,Vw);break;case 8:var Ww=_.R(b,9);_.A(a,9,Ww);break;case 126:var pJ=_.Md(b,120);_.Kj(a,120,pJ);break;default:throw Error("Nc`"+e);}})};
H1c=function(a,b){var c=_.Uy[a];return b.filter(function(d){return!c||!c.has(d)})};I1c=function(a,b,c){a=H1c(c,a);return B1c(b,a,_.DVc)};aO=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};bO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&aO(a)?(a=a.Pf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};J1c=function(a){var b=a&&a.getId()||null;a&&aO(a)&&(a=(a=a.Pf())&&_.B(a,1))&&(b=a);return b};
K1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};M1c=function(a){return L1c.some(function(b){return z1c(a,b)})};N1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(cO(b))})};O1c=function(a){return N1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.P1c=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};Q1c=function(a,b){var c=_.nVc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};
R1c=function(a,b){return 0<=b?!a||a<=b:!0};S1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.gSc()&&4===b.getType()?"title_natural":_.sUc[b.getType()];b=_.uUc[b.zf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};T1c=function(a,b){var c=a.Om();c||(c=new _.Ina,b&&_.J(a,81,c));return c};U1c=function(a){if(bO(a))_.YN(T1c(a,!0),!0);else if(bO(a,!0)){var b=a.Pf();if(b=b&&_.Qd(b))_.YN(T1c(b,!0),!0),_.YN(T1c(a,!0),!0)}};V1c=function(a){return!!a.Om()&&!bO(a)};
W1c=function(a){var b=[];_.Ka(a,function(c){if(3!=cO(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Om())c=c.clone(),_.Lj(c,49),_.Lj(c,51),_.Mj(c,81);b.push(c)}});return b};Y1c=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 _.xN?a[b]=c.kc(function(d){return d?d.kc():null}):c&&c instanceof X1c&&(a[b]=c.kc())}};$1c=function(a){var b=a.slice(0),c=new Set(b);Z1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
f2c=function(a,b,c){var d=_.C(a,a2c,66);if(d){var e=_.B(d,1),f=_.jN(a);a=_.SL(_.EL(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(_.eVc(window.location.href,e.toString())&&f)return e=$1c(c),c=_.B(d,6),b="#"+b+"_",d=new _.wL,d.update(e.join(",")),b+=_.CSc(d.digest()),c&&(b+="&jobset="+c),b=_.cy(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new b2c(c.port),c.port.start()):b=new b2c(new Worker(_.zga(b),void 0)),new c2c(new dO(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.pL();c=_.rh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.sha(_.dVc(_.Qf("display: none;")));document.body.appendChild(c);c=_.ySc(e.O,void 0,e.H,e.W).toString();return new c2c(new dO(d2c(window.frames[b],c),!1,!0),0,e.toString())}b=new e2c;return new c2c(new dO(b.O,!1,!1),2,"inline",c,new dO(b.H,!1,!1))};
h2c=function(a){var b=new g2c;if(a instanceof _.fM)_.Wj(b,16,fO[0],a);else if(a instanceof _.gM)_.Wj(b,1,fO[0],a);else if(a instanceof _.hM)_.Wj(b,2,fO[0],a);else if(a instanceof _.gO)_.Wj(b,17,fO[0],a);else if(a instanceof _.kM)_.Wj(b,3,fO[0],a);else if(a instanceof _.HN)_.Wj(b,4,fO[0],a);else if(a instanceof _.iM)_.Wj(b,5,fO[0],a);else if(a instanceof _.oM)_.Wj(b,6,fO[0],a);else if(a instanceof _.qM)_.Wj(b,7,fO[0],a);else if(a instanceof _.rM)_.Wj(b,8,fO[0],a);else if(a instanceof _.uM)_.Wj(b,9,
fO[0],a);else if(a instanceof _.KM)_.Wj(b,10,fO[0],a);else if(a instanceof _.LM)_.Wj(b,11,fO[0],a);else if(a instanceof _.MM)_.Wj(b,12,fO[0],a);else if(a instanceof _.UL)_.Wj(b,13,fO[0],a);else if(a instanceof _.PM)_.Wj(b,14,fO[0],a);else if(a instanceof _.QM)_.Wj(b,15,fO[0],a);else throw new _.lc("Unsupported request type");return b};
k2c=function(a){a=a.map(function(c){var d=new i2c;if(c instanceof _.fM)_.Wj(d,6,hO[0],c);else if(c instanceof _.gO)_.Wj(d,7,hO[0],c);else if(c instanceof _.oM)_.Wj(d,1,hO[0],c);else if(c instanceof _.KM)_.Wj(d,2,hO[0],c);else if(c instanceof _.LM)_.Wj(d,3,hO[0],c);else if(c instanceof _.UL)_.Wj(d,4,hO[0],c);else if(c instanceof _.QM)_.Wj(d,5,hO[0],c);else throw new _.lc("Unsupported request type");return d});var b=new j2c;_.Nj(b,1,a);return b};
l2c=function(a){return _.Uj(a,i2c,1).map(function(b){return _.C(b,_.fM,6)||_.C(b,_.oM,1)||_.C(b,_.KM,2)||_.C(b,_.LM,3)||_.C(b,_.UL,4)||_.C(b,_.QM,5)||_.C(b,_.gO,7)})};o2c=function(a){var b=new m2c;if(a instanceof _.kD)_.Wj(b,1,n2c[0],a);else if(a instanceof _.lD)_.Wj(b,2,n2c[0],a);else throw new _.lc("Unsupported request type");return b};
r2c=function(a){var b=new p2c;if(a instanceof _.lM)_.Wj(b,1,q2c[0],a);else if(a instanceof _.sM)_.Wj(b,2,q2c[0],a);else if(a instanceof _.RM)_.Wj(b,3,q2c[0],a);else throw new _.lc("Unsupported request type");return b};iO=function(a,b,c){return b?new c(JSON.parse(a)):a};s2c=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)};
t2c=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}};u2c=function(a,b,c){a=a?1:2;a=_.$c(_.Zc(new _.Yc,12),a);var d=(new _.Ye).Kn(!0);d=_.A(d,17,!0);a=_.Ze(d,a);c&&_.Hl(a,c);c=new _.qUc;b&&_.uVc(c,b);return _.vVc(_.xVc(new _.KL,a),c)};v2c=function(a){return a.map(function(b){return b.getItem()})};
w2c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};x2c=function(a,b){var c=new _.bj(_.E(b,16,"")+"/open"),d=a.getId();aO(a)&&(d=J1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.SL(_.EL(b)));_.S(b,89,!1)&&_.P(a,140)&&_.ij(c,"resourcekey",_.el(a));return c.toString()};
y2c=function(a){_.Hf("drive.DebugUtil.printFindById",function(c){a.OM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Hf("drive.DebugUtil.getLogs",function(){return _.hYc(a.Sf())});_.Hf("drive.DebugUtil.printLogs",function(){window.console.log(_.hYc(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)}))};A2c=function(a,b){var c=new _.WN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.g1c.get(cO(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}z2c(c,[].concat(_.jd(d)));return c};
B2c=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.ym(),d.Qv(),d.Lq()]).forEach(function(p){return function(q){q&&p.jfa.set(_.WF(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(_.WF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Gj(h,16,0))}b.push(d.getId()+","+cO(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};C2c=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=_.rSc(4).setItem(f),c[e]=d):(d=_.rSc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.rSc(1).setItem(d),c[e]=d)});return c};D2c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(C2c(a,b))};
G2c=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 _.jD;_.J(c,1,b);E2c(c,[7]);a=a.then(function(d){return d.Te(c)}).then(F2c);return _.$h(a)};F2c=function(a){a=_.Uj(a,_.hp,3);var b=new H2c;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};
J2c=function(a,b){var c=I2c(a.wm,b.Cc());if(c){var d=c.getItem(),e=d.Uw();if(e){var f=e.gR(),h=_.wa(f,function(k){return k.getId()===_.B(b,2)});_.SWc(e,f);h||(f=_.Uj(e,_.Fk,3),_.wa(f,function(k){return k.getId()===_.B(b,2)}),_.TWc(e,f));_.RWc(e,(_.B(e,1)||1)-1);a.ol([d],c.H)}}};
L2c=function(a,b,c){if(b=I2c(a.wm,b.Cc())){var d=b.getItem(),e=d.Uw();if(e){if(1===c.getType()||2===c.getType()){var f=_.Uj(e,_.Fk,3);f.push(c);_.Ia(f,K2c);_.TWc(e,f)}else f=e.gR(),f.push(c),_.Ia(f,K2c),_.SWc(e,f);_.RWc(e,(_.B(e,1)||0)+1);a.ol([d],b.H)}}};N2c=function(a){return a.map(function(b){var c=new _.Ssb;c=_.A(c,3,M2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
P2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return O2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
T2c=function(a){var b=a.json.exportJob,c=Q2c[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=_.QF((new _.Yk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.R2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new S2c(c,d,k,f,h,e,a,b)};
V2c=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=U2c[a]);return b};W2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(U2c[a[c]]);return b};X2c=function(a){return"kind,defaultAppIds,items("+a+")"};Y2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};Z2c=function(a,b){var c;return(null===(c=_.TL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
$2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
d3c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.TL(b),e=!!d&&_.S(d,10,!1);if(_.DL(_.EL(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,a2c,66);f&&_.B(f,1)||(c=!1);_.jN(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 jO(a,b,c),new a3c(b);c=_.DL(_.EL(b))?2:1;a=new kO(a,b,c,void 0,void 0,void 0);return _.DL(_.EL(b))?new b3c(a):new c3c(a)};
f3c=function(a){return _.me(a).Lg(_.S(a.get(_.$o),19,!1)?e3c:_.NUa)};g3c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};h3c=function(a,b){return _.Nj(a,1,b)};i3c=[1];j3c=function(a){_.O(this,a,-1,i3c,null)};_.L(j3c,_.K);j3c.prototype.yha=function(a){_.Xj(this,1,a,_.Fk,void 0)};
var k3c=function(a){var b=new j3c;return _.Nj(b,1,a)},l3c=function(a,b){return _.J(a,1,b)},m3c=function(a,b){_.Nj(a,2,b)},n3c=function(a,b){_.J(a,6,b)},o3c=function(a,b){return _.Wj(a,3,_.Ik[0],b)},p3c=function(a){_.O(this,a,-1,null,null)};_.L(p3c,_.K);var q3c=function(a){_.O(this,a,-1,null,null)};_.L(q3c,_.K);var lO=function(a){_.O(this,a,-1,null,null)};_.L(lO,_.K);var r3c=function(a){_.O(this,a,-1,null,null)};_.L(r3c,_.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,b){_.Nj(a,1,b)},D3c=function(a,b){return _.A(a,2,b)},E3c=function(a,b){return _.J(a,3,b)},F3c=function(a,b){return _.A(a,4,b)},G3c=[[1,2,3,4]],H3c=function(a){_.O(this,a,-1,null,G3c)};_.L(H3c,_.K);var I3c=function(a,b){_.Nj(a,1,b)},J3c=function(a,b){return _.J(a,2,b)},K3c=[[1]],L3c=function(a){_.O(this,a,-1,null,K3c)};_.L(L3c,_.K);
var M3c=function(a,b){_.Nj(a,1,b)},N3c=function(a,b){return _.J(a,4,b)},O3c=function(a,b){_.J(a,5,b)},P3c=function(a,b){_.Nj(a,2,b)},Q3c=function(a,b){_.Nj(a,4,b)},R3c=function(a,b){return _.J(a,5,b)},S3c=[[1,2]],T3c=function(a){_.O(this,a,-1,null,S3c)};_.L(T3c,_.K);var U3c=function(a,b){_.Nj(a,1,b)},V3c=function(a,b){return _.J(a,2,b)},W3c=[[1]],X3c=function(a){_.O(this,a,-1,null,W3c)};_.L(X3c,_.K);
var Y3c=function(a,b){_.Nj(a,2,b)},Z3c=function(a){var b=new _.Qk;return _.Nj(b,3,a)},$3c=[[1,2]],a4c=function(a){_.O(this,a,-1,null,$3c)};_.L(a4c,_.K);a4c.prototype.OG=function(){return _.C(this,lO,1)};a4c.prototype.tg=function(a){return _.Wj(this,1,$3c[0],a)};var b4c=[1],c4c=function(a){_.O(this,a,-1,b4c,null)};_.L(c4c,_.K);c4c.prototype.Op=function(){return _.B(this,2)};
var d4c=function(a,b){_.Nj(a,1,b)},e4c=function(a,b){return _.A(a,2,b)},f4c=function(a,b){return _.J(a,3,b)},g4c=[[1]],h4c=function(a){_.O(this,a,-1,null,g4c)};_.L(h4c,_.K);var i4c=[2],j4c=function(a){_.O(this,a,-1,i4c,null)};_.L(j4c,_.K);var k4c=function(a,b){_.Nj(a,2,b)},l4c=function(a,b){return _.J(a,3,b)},m4c=[[1]],n4c=function(a){_.O(this,a,-1,null,m4c)};_.L(n4c,_.K);n4c.prototype.OG=function(){return _.C(this,r3c,1)};n4c.prototype.tg=function(a){return _.Wj(this,1,m4c[0],a)};
var o4c=function(a,b){_.Nj(a,1,b)},p4c=function(a,b){return _.Nj(a,2,b)},q4c=[[1,2]],r4c=function(a){_.O(this,a,-1,null,q4c)};_.L(r4c,_.K);var s4c=function(a,b){_.Nj(a,1,b)},t4c=function(a,b){return _.J(a,2,b)},u4c=[[1]],v4c=function(a){_.O(this,a,-1,null,u4c)};_.L(v4c,_.K);var w4c=function(a,b){return _.J(a,1,b)},x4c=function(a,b){return _.A(a,2,b)},y4c=function(a,b){return _.A(a,3,b)},z4c=function(a){_.O(this,a,-1,null,null)};_.L(z4c,_.K);E1c=function(a,b){_.Nj(a,8,b)};
cO=function(a){return _.Gj(a,52,1)};D1c=function(a,b){return _.J(a,73,b)};F1c=function(a,b){_.Nj(a,107,b)};_.ZN=function(a){return _.C(a,z4c,109)};G1c=function(a,b){_.J(a,109,b)};A4c=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)};B4c=function(a){_.O(this,a,-1,null,null)};_.L(B4c,_.K);var a2c=function(a){_.O(this,a,-1,null,null)};_.L(a2c,_.K);var C4c=[11],D4c=function(a){_.O(this,a,-1,C4c,null)};_.L(D4c,_.K);
var mO=function(a){_.O(this,a,-1,null,null)};_.L(mO,_.K);mO.prototype.getKey=function(){return _.B(this,2)};mO.prototype.vs=function(){return _.P(this,2)};nO=function(a){return _.E(a,4,"en")};_.oO=function(a){return _.C(a,D4c,34,1)};E4c=function(a,b){return _.A(a,5,b)};_.F4c=function(a,b){return _.A(a,2,b)};_.G4c=function(a,b){return _.A(a,3,b)};_.H4c=function(a,b){return _.A(a,1,b)};_.I4c=function(a,b){return _.A(a,2,b)};_.J4c=function(a,b){return _.Nj(a,5,b)};
_.K4c=function(a,b){return _.A(a,6,b)};_.L4c=function(a,b){return _.A(a,7,b)};_.M4c=function(a,b){return _.A(a,8,b)};_.N4c=function(a,b){return _.A(a,10,b)};_.O4c=function(a,b){return _.A(a,15,b)};P4c=[2];_.Q4c=function(a){_.O(this,a,-1,P4c,null)};_.L(_.Q4c,_.K);_.Q4c.prototype.Nh=function(){return _.B(this,1)};_.R4c=function(a,b){return _.J(a,1,b)};S4c=function(a,b){return _.A(a,2,b)};T4c=function(a,b){return _.A(a,3,b)};U4c=function(a,b){_.Nj(a,4,b)};_.V4c=function(a,b){_.J(a,8,b)};
_.W4c=function(a,b){_.J(a,9,b)};X4c=function(a){_.O(this,a,-1,null,null)};_.L(X4c,_.K);X4c.prototype.Ya=function(){return _.Hj(this,1)};X4c.prototype.Lb=function(a){return _.Pj(this,1,a,0)};E2c=function(a,b){_.Kj(a,3,b)};pO=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};_.Y4c=function(a){_.O(this,a,-1,null,null)};_.L(_.Y4c,_.K);_.Y4c.prototype.getId=function(){return _.B(this,1)};
_.Y4c.prototype.Pb=function(a){return _.A(this,1,a)};_.Y4c.prototype.Ne=function(){return _.B(this,4)};_.Y4c.prototype.wh=function(a){return _.A(this,4,a)};_.HN=function(a){_.O(this,a,-1,null,null)};_.L(_.HN,_.K);_.HN.prototype.getTitle=function(){return _.B(this,1)};_.HN.prototype.setTitle=function(a){return _.A(this,1,a)};_.HN.prototype.xe=function(){return _.C(this,_.lf,2)};
var Z4c=function(a,b){return _.Kj(a,9,b)},$4c=function(a,b){return _.Kj(a,10,b)},a5c=function(a,b){return _.A(a,36,b)},b5c=function(a,b){return _.Nj(a,38,b)},c5c=function(a,b){return _.A(a,2,b)},d5c=function(a,b){return _.J(a,3,b)},e5c=function(a){_.O(this,a,-1,null,null)};_.L(e5c,_.K);var 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,b){return _.A(a,1,b)},k5c=function(a,b){return _.A(a,3,b)},l5c=function(a,b){return _.A(a,4,b)},m5c=function(a,b){_.A(a,7,b)},n5c=function(a){_.O(this,a,-1,null,null)};_.L(n5c,_.K);n5c.prototype.oy=function(){return _.R(this,2)};var o5c=function(a,b){_.A(a,1,b)},p5c=function(a){_.O(this,a,-1,null,null)};_.L(p5c,_.K);p5c.prototype.Nm=function(){return _.B(this,3)};p5c.prototype.Ct=function(a){return _.A(this,3,a)};
p5c.prototype.vo=function(){return _.B(this,4)};var q5c=function(a){_.O(this,a,-1,null,null)};_.L(q5c,_.K);var r5c=[1,3,5],s5c=function(a){_.O(this,a,-1,r5c,null)};_.L(s5c,_.K);s5c.prototype.SE=function(){return _.Md(this,1)};s5c.prototype.oy=function(){return _.R(this,2)};s5c.prototype.vo=function(){return _.B(this,7)};t5c=function(a,b){_.A(a,2,b)};u5c=function(a,b){_.Sj(a,5,b,void 0)};v5c=function(a,b){_.A(a,6,b)};w5c=function(a,b){_.A(a,7,b)};_.x5c=function(a,b){_.J(a,2,b)};
y5c=function(a,b,c){_.nN(a,b,c,"warning")};z5c=function(a){return[].concat(_.jd(a.O))};A5c=function(a){return a.H.concat([].concat(_.jd(a.O)))};B5c=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))};qO=function(a){var b=_.vN(a).wd();b||(b=new _.EXc,a=_.vN(a),_.J(a,1,b));return b};C5c=function(a){var b=_.C(_.vN(a),s5c,3);b||(b=new s5c,a=_.vN(a),_.J(a,3,b));return b};
D5c=function(a){var b=_.C(_.vN(a),g5c,7);b||(b=new g5c,a=_.vN(a),_.J(a,7,b));return b};E5c=function(a){var b=_.C(_.vN(a),i5c,12);b||(b=new i5c,a=_.vN(a),_.J(a,12,b));return b};F5c=function(a){var b=_.C(_.vN(a),n5c,17);b||(b=new n5c,a=_.vN(a),_.J(a,17,b));return b};
G5c=function(a){if(a instanceof _.xL)return 2;if(a instanceof _.KF)return 10;if(a instanceof _.Ye)return _.AM(a)?3:_.BM(a)?7:_.CM(a)?8:1;if(a instanceof _.$z)return 9;if(a instanceof _.XF)return 11;if(a instanceof _.IM)return 15;if(a instanceof _.FL)return 6;if(a instanceof _.EM){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.jD)return 4;if(a instanceof _.Kz)return 12;if(a instanceof _.MF)return 13}return 0};
H5c=function(a){var b=null;a instanceof _.RA||"undefined"!=typeof _.xN&&a instanceof _.xN||"undefined"!=typeof _.yN&&a instanceof _.yN?b=a.jf()||0:"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN||"undefined"!=typeof _.EN&&a instanceof _.EN?b=a.Pe:"undefined"!=typeof _.zN&&a instanceof _.zN&&(b=a.jf());return b||0};
I5c=function(a,b,c){return a.V&&_.dZc(a)?(a=_.$Yc(a.V,b,0),c&&_.vTc(a,c),a):null};J5c=function(a){a.V&&_.dZc(a)&&(a=a.V,a.H.BP()&&a.H.b_())};K5c=function(a){var b=new _.wM;return _.A(b,1,a)};L5c=function(a,b){return _.J(a,2,b)};M5c=function(a,b){return _.J(a,1,b)};N5c=function(a,b){a.ha=b};O5c=[2];rO=function(a){_.O(this,a,-1,O5c,null)};_.L(rO,_.K);rO.prototype.Ab=function(){return _.B(this,1)};rO.prototype.Dc=function(a){return _.A(this,1,a)};rO.prototype.yha=function(a){_.Xj(this,2,a,_.Fk,void 0)};
rO.prototype.$j=function(){return _.B(this,3)};var P5c=[2],Q5c=function(a){_.O(this,a,-1,P5c,null)};_.L(Q5c,_.K);Q5c.prototype.Ab=function(){return _.B(this,1)};Q5c.prototype.Dc=function(a){return _.A(this,1,a)};Q5c.prototype.$j=function(){return _.B(this,3)};R5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.yn,a.H.promise):null};S5c=function(a){var b=[];a.jj.forEach(function(c){(c=c.yv.config.timestamp)&&b.push(c)});return b};
T5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.yv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,S5c(c))});return b};z2c=function(a,b){return _.Kj(a,1,b)};U5c=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)};
V5c={SUCCESS:1,T6b:2,WYb:3,EUb:4,f7b:5,z1b:6,q1b:7,lVb:8,R5b:9,f6b:10,S6b:11,QWb:12,uWb:13,WZb:14,pYb:15,yWb:16,xWb:17,DWb:18,AWb:19,BWb:20,w6b:21,b7b:22,R1b:23,X0b:24,eVb:25,PERMISSION_DENIED:26,n0b:27,qVb:28,pVb:29,INTERRUPTED:30,q2b:31,J2b:32,eXb:33,kXb:34,Y5b:35,rXb:36,qYb:37,jXb:38,p1b:39,YVb:40,l2b:41,L2b:42,P5b:43,JVb:44,XVb:45,nYb:46,i0b:47,n1b:48,I1b:49,m2b:50,I5b:51,vWb:52,Q5b:53,O5b:54,PVb:55,MVb:56,CXb:57,H0b:58,n2b:59,I_b:60,a4b:61,P4b:62,v5b:63,k_b:64,Z0b:65,i7b:66,tXb:67,rYb:68,R6b:69,
p_b:70,oVb:71,BVb:72,X4b:73,w5b:74,s5b:75,q5b:76,L4b:190,p5b:191,Y4b:192,d5b:126,$4b:128,a5b:129,b5b:130,c5b:131,e5b:132,f5b:133,j4b:127,g4b:134,h4b:135,l4b:136,m4b:137,n4b:138,i4b:194,k4b:195,o4b:196,f4b:197,O4b:189,$3b:139,b4b:140,p4b:141,q4b:142,C4b:143,F4b:144,G4b:145,H4b:146,I4b:147,J4b:148,K4b:149,N4b:150,T4b:151,V4b:152,W4b:153,Z4b:154,g5b:155,i5b:156,j5b:157,k5b:158,l5b:159,m5b:160,n5b:161,r5b:162,u5b:163,x5b:164,c4b:165,d4b:166,e4b:167,Y3b:168,Z3b:169,t4b:170,r4b:171,s4b:172,u4b:173,v4b:174,
w4b:175,x4b:176,y4b:177,z4b:178,A4b:179,B4b:180,D4b:181,E4b:182,M4b:106,U4b:183,h5b:184,o5b:185,Q4b:186,R4b:187,S4b:188,t5b:244,k2b:77,W6b:78,a7b:79,u0b:80,a_b:81,c_b:82,BXb:83,mYb:84,o0b:85,p6b:86,iXb:87,r_b:88,q_b:89,A5b:90,y5b:91,z5b:92,X6b:93,kWb:94,jWb:95,gWb:96,iWb:97,hWb:98,h7b:99,K3b:100,GWb:101,zWb:102,EWb:103,CWb:104,FWb:105,sYb:107,c6b:108,E3b:109,L6b:110,vYb:111,uYb:112,N_b:113,O_b:114,P2b:115,QVb:116,V_b:117,LXb:118,Y6b:119,v1b:120,w1b:121,XZb:193,wWb:122,ZWb:123,$Zb:124,T0b:125,s_b:198,
v2b:199,h_b:200,hUb:201,n_b:202,l_b:203,rVb:204,G7b:205,b0b:206,dWb:207,s1b:208,K2b:209,G3b:210,IUb:211,L_b:212,S_b:213,T5b:214,S5b:215,j_b:216,VZb:217,i_b:218,vXb:219,g6b:220,wXb:221,J_b:222,$5b:223,r7b:224,c1b:225,Z5b:226,aXb:227,a0b:228,AXb:229,$Vb:230,n6b:231,U0b:232,FILE_TOO_LARGE:233,o_b:234,uXb:235,jYb:236,G2b:237,$0b:238,TTb:239,aWb:240,g1b:241,Q3b:242,gXb:243,fUb:245,d_b:246,K1b:247,b_b:248,t0b:249,Y0b:250,oYb:251,cZb:252,M_b:253,NVb:254,tYb:255,g7b:256,PYb:257,E0b:258,W2b:259,u2b:260,z_b:261,
LWb:262,hXb:263,dVb:264,m0b:265,e7b:266,XTb:267,WUb:268,VUb:269,o1b:270};W5c=[2,6];_.yN=function(a){_.O(this,a,-1,W5c,null)};_.L(_.yN,_.K);_.g=_.yN.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.Pw=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 X5c=function(a,b){return _.Nj(a,6,b)};
_.yN.prototype.Vf=function(){return _.B(this,10)};_.yN.prototype.CP=function(a){return _.A(this,10,a)};_.yN.prototype.jf=function(){return _.B(this,9)};_.yN.prototype.kj=function(a){return _.A(this,9,a)};var x1c=[1004,1005,1002,1003],L1c=[1002,1003,1005],Y5c=[1,2],Z5c=function(a){_.O(this,a,-1,Y5c,null)};_.L(Z5c,_.K);_.$5c=function(a){_.O(this,a,-1,null,null)};_.L(_.$5c,_.K);_.$5c.prototype.Ab=function(){return _.B(this,1)};_.$5c.prototype.Dc=function(a){return _.A(this,1,a)};
_.$5c.prototype.jn=function(){return _.C(this,_.LF,2)};var a6c=function(a){_.gi.call(this,a)};_.L(a6c,_.gi);var b6c=[5,7,9],c6c=function(a){_.O(this,a,-1,b6c,null)};_.L(c6c,_.K);_.g=c6c.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 d6c=[7,10,12,16,13,3],sO=function(a){_.O(this,a,-1,d6c,null)};_.L(sO,_.K);var tO=function(a){return _.B(a,4)};_.g=sO.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.yMa=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.zMa=function(){return _.C(this,_.Fk,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.oBa=function(){return _.Uj(this,_.Fk,16)};var e6c=function(a,b){_.Nj(a,16,b)};
sO.prototype.addUserValues=function(a,b){return _.Xj(this,16,a,_.Fk,b)};sO.prototype.O=function(){return _.B(this,17)};sO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};sO.prototype.V=function(){return _.P(this,17)};var f6c=function(a,b){_.Nj(a,13,b)};sO.prototype.getId=function(){return _.B(this,14)};sO.prototype.Pb=function(a){return _.A(this,14,a)};sO.prototype.getName=function(){return _.B(this,1)};sO.prototype.jd=function(a){return _.A(this,1,a)};
var g6c=[2],uO=function(a){_.O(this,a,-1,g6c,null)};_.L(uO,_.K);uO.prototype.getName=function(){return _.B(this,1)};uO.prototype.jd=function(a){return _.A(this,1,a)};uO.prototype.O=function(){return _.Uj(this,sO,2)};var h6c=function(a,b){_.Nj(a,2,b)};uO.prototype.Cc=function(){return _.B(this,3)};var i6c=function(a,b){return _.A(a,3,b)},j6c=function(a){_.O(this,a,-1,null,null)};_.L(j6c,_.K);j6c.prototype.O=function(){return _.C(this,_.wC,1)};j6c.prototype.V=function(){return _.C(this,_.wC,2)};
j6c.prototype.ka=function(){return _.C(this,_.wC,3)};var k6c=function(a){_.O(this,a,-1,null,null)};_.L(k6c,_.K);_.g=k6c.prototype;_.g.Un=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Cm=function(){return _.R(this,2)};_.g.U$a=function(){return _.R(this,3)};_.g.V$a=function(){return _.R(this,4)};var vO=[[13,19,12,11,10,15,14,9,8,18,17,16]],l6c=function(a){_.O(this,a,-1,null,null)};_.L(l6c,_.K);l6c.prototype.O=function(){return _.R(this,1)};
l6c.prototype.V=function(){return _.R(this,2)};var m6c=function(a){_.O(this,a,-1,null,null)};_.L(m6c,_.K);m6c.prototype.tVa=function(){return _.B(this,1)};m6c.prototype.O=function(){return _.B(this,4)};var n6c=function(a){_.O(this,a,-1,null,null)};_.L(n6c,_.K);n6c.prototype.V=function(){return _.B(this,1)};n6c.prototype.O=function(){return _.B(this,2)};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);var q6c=[1],r6c=function(a){_.O(this,a,-1,null,null)};_.L(r6c,_.K);r6c.prototype.O=function(){return _.R(this,1)};r6c.prototype.V=function(){return _.R(this,2)};var s6c=function(a){_.O(this,a,-1,null,null)};_.L(s6c,_.K);_.g=s6c.prototype;_.g.Un=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Cm=function(){return _.R(this,2)};_.g.fab=function(){return _.C(this,j6c,3)};
_.g.iab=function(){return _.P(this,3)};_.g.hab=function(){return _.C(this,j6c,4)};_.g.kab=function(){return _.P(this,4)};_.g.gab=function(){return _.B(this,5)};_.g.jab=function(){return _.P(this,5)};var t6c=function(a){_.O(this,a,-1,null,null)};_.L(t6c,_.K);_.g=t6c.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Cr=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.nm=function(a){return _.A(this,5,a)};_.g.eab=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.C(this,r6c,3)};_.g.dab=function(){return _.C(this,s6c,4)};var u6c=function(a){_.O(this,a,-1,q6c,null)};_.L(u6c,_.K);u6c.prototype.O=function(){return _.Uj(this,t6c,1)};var v6c=function(a,b){_.Nj(a,1,b)},w6c=function(a){_.O(this,a,-1,null,null)};_.L(w6c,_.K);w6c.prototype.jv=function(){return _.B(this,1)};
w6c.prototype.pW=function(){return _.P(this,1)};w6c.prototype.getOptions=function(){return _.C(this,u6c,2)};var x6c=function(a){_.O(this,a,-1,null,null)};_.L(x6c,_.K);x6c.prototype.jv=function(){return _.B(this,1)};x6c.prototype.pW=function(){return _.P(this,1)};x6c.prototype.getOptions=function(){return _.C(this,o6c,2)};var y6c=function(a){_.O(this,a,-1,null,null)};_.L(y6c,_.K);var z6c=function(a){_.O(this,a,-1,null,null)};_.L(z6c,_.K);z6c.prototype.jv=function(){return _.B(this,1)};
z6c.prototype.pW=function(){return _.P(this,1)};z6c.prototype.getOptions=function(){return _.C(this,y6c,2)};var wO=[[3,4,5,6,7,8,9,10,11,12]],A6c=function(a){_.O(this,a,-1,null,wO)};_.L(A6c,_.K);_.g=A6c.prototype;_.g.gda=function(a){return _.Wj(this,3,wO[0],a)};_.g.f5a=function(a){return _.Wj(this,4,wO[0],a)};_.g.s4a=function(a){return _.Wj(this,5,wO[0],a)};_.g.r4a=function(a){return _.Wj(this,6,wO[0],a)};_.g.f4a=function(a){return _.Wj(this,7,wO[0],a)};
_.g.T4a=function(a){return _.Wj(this,8,wO[0],a)};_.g.S4a=function(a){return _.Wj(this,9,wO[0],a)};_.g.k5a=function(a){return _.Wj(this,10,wO[0],a)};_.g.spa=function(a){return _.Wj(this,11,wO[0],a)};_.g.Zoa=function(a){return _.Wj(this,12,wO[0],a)};var B6c=function(a){_.O(this,a,-1,null,null)};_.L(B6c,_.K);var C6c=function(a){_.O(this,a,-1,null,null)};_.L(C6c,_.K);C6c.prototype.jv=function(){return _.B(this,1)};C6c.prototype.pW=function(){return _.P(this,1)};
C6c.prototype.getOptions=function(){return _.C(this,B6c,2)};var D6c=function(a){_.O(this,a,-1,null,vO)};_.L(D6c,_.K);_.g=D6c.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,k6c,5)};_.g.getCapabilities=function(){return _.C(this,l6c,6)};_.g.cab=function(){return _.B(this,7)};_.g.f4a=function(a){return _.Wj(this,13,vO[0],a)};
_.g.W$a=function(){return _.C(this,m6c,19)};_.g.Zoa=function(a){return _.Wj(this,19,vO[0],a)};_.g.r4a=function(a){return _.Wj(this,12,vO[0],a)};_.g.s4a=function(a){return _.Wj(this,11,vO[0],a)};_.g.stb=function(){return _.C(this,n6c,10)};_.g.Z$a=function(){return _.C(this,w6c,15)};_.g.S4a=function(a){return _.Wj(this,15,vO[0],a)};_.g.$$a=function(){return _.C(this,u6c,14)};_.g.T4a=function(a){return _.Wj(this,14,vO[0],a)};_.g.f5a=function(a){return _.Wj(this,9,vO[0],a)};
_.g.aab=function(){return _.C(this,o6c,8)};_.g.gda=function(a){return _.Wj(this,8,vO[0],a)};_.g.bab=function(){return _.C(this,C6c,18)};_.g.spa=function(a){return _.Wj(this,18,vO[0],a)};_.g.k5a=function(a){return _.Wj(this,17,vO[0],a)};var E6c=[5],F6c=function(a){_.O(this,a,-1,null,null)};_.L(F6c,_.K);F6c.prototype.ka=function(){return _.R(this,1)};F6c.prototype.O=function(){return _.R(this,2)};F6c.prototype.ma=function(){return _.R(this,3)};F6c.prototype.V=function(){return _.R(this,4)};
var xO=function(a){_.O(this,a,-1,E6c,null)};_.L(xO,_.K);xO.prototype.getName=function(){return _.B(this,1)};xO.prototype.jd=function(a){return _.A(this,1,a)};xO.prototype.$m=function(){return _.B(this,2)};var G6c=function(a,b){return _.A(a,2,b)};xO.prototype.V=function(){return _.B(this,14)};var H6c=function(a,b){return _.A(a,14,b)};_.g=xO.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.nm=function(a){return _.A(this,4,a)};_.g.mab=function(){return _.B(this,15)};_.g.lab=function(){return _.Uj(this,D6c,5)};var I6c=function(a,b){return _.Nj(a,5,b)},J6c=function(a,b){_.J(a,6,b)},K6c=function(a,b){_.J(a,7,b)},L6c=function(a,b){_.J(a,8,b)},M6c=function(a,b){return _.A(a,9,b)},N6c=function(a,b){return _.A(a,10,b)},O6c=function(a,b){return _.A(a,11,b)};xO.prototype.O=function(){return _.C(this,k6c,12)};var P6c=function(a,b){_.J(a,12,b)};
xO.prototype.getCapabilities=function(){return _.C(this,F6c,13)};var Q6c=function(a,b){_.J(a,13,b)};xO.prototype.getCustomer=function(){return _.B(this,16)};R6c=function(a,b){return _.A(a,16,b)};S6c=[3];_.yO=function(a){_.O(this,a,-1,S6c,null)};_.L(_.yO,_.K);_.yO.prototype.getType=function(){return _.B(this,1)};_.yO.prototype.Cc=function(){return _.B(this,2)};_.gO=function(a){_.O(this,a,-1,null,null)};_.L(_.gO,_.K);_.gO.prototype.getId=function(){return _.B(this,1)};
_.gO.prototype.Pb=function(a){return _.A(this,1,a)};_.gO.prototype.xe=function(){return _.C(this,_.lf,3)};_.T6c=function(a){_.O(this,a,-1,null,null)};_.L(_.T6c,_.K);_.T6c.prototype.getFeature=function(){return _.B(this,1)};U6c=[1];_.uN=function(a){_.O(this,a,-1,U6c,null)};_.L(_.uN,_.K);V6c=[2,3,8];_.LM=function(a){_.O(this,a,-1,V6c,null)};_.L(_.LM,_.K);_.LM.prototype.getId=function(){return _.B(this,1)};_.LM.prototype.Pb=function(a){return _.A(this,1,a)};
_.LM.prototype.xe=function(){return _.C(this,_.lf,4)};_.LM.prototype.Bc=function(){return _.B(this,5)};var W6c=function(a){_.O(this,a,-1,null,null)};_.L(W6c,_.K);var X6c=[1,2,4],Y6c={Z6b:0,F0b:1,T1b:2,G1b:3,u_b:4,FUb:5,G0b:6,H1b:7,CZb:8,cVb:9,E1b:10},zO=function(){this.map={};this.status=6;this.Pe=null};zO.prototype.Ab=function(){return this.status};zO.prototype.Dc=function(a){this.status=a};zO.prototype.jf=function(){return this.Pe};zO.prototype.kj=function(a){this.Pe=a};
var Z6c=function(a,b){a.map=b};zO.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})};$6c=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};_.xN=function(){zO.apply(this,arguments)};_.L(_.xN,zO);var a7c=function(){zO.apply(this,arguments)};_.L(a7c,zO);var b7c=function(a){_.O(this,a,-1,null,null)};_.L(b7c,_.K);
b7c.prototype.getType=function(){return _.B(this,1)};var c7c=function(a){var b=new b7c;return _.A(b,1,a)},d7c=function(a,b){return _.J(a,2,b)};b7c.prototype.my=function(){return _.B(this,3)};b7c.prototype.Py=function(a){return _.A(this,3,a)};b7c.prototype.Ni=function(){return _.B(this,4)};b7c.prototype.setPosition=function(a){return _.A(this,4,a)};var e7c=[2],f7c=function(a){_.O(this,a,-1,e7c,null)};_.L(f7c,_.K);f7c.prototype.Ab=function(){return _.B(this,1)};
f7c.prototype.Dc=function(a){return _.A(this,1,a)};var g7c=[2],AO=function(a){_.O(this,a,-1,g7c,null)};_.L(AO,_.K);AO.prototype.Ab=function(){return _.B(this,1)};AO.prototype.Dc=function(a){return _.A(this,1,a)};AO.prototype.O=function(){return _.Uj(this,uO,2)};var h7c=function(a,b){return _.Nj(a,2,b)};AO.prototype.$j=function(){return _.B(this,3)};var i7c=function(a){_.O(this,a,-1,null,null)};_.L(i7c,_.K);i7c.prototype.Ab=function(){return _.B(this,1)};
i7c.prototype.Dc=function(a){return _.A(this,1,a)};var j7c=function(a,b){return _.J(a,2,b)},k7c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},l7c=function(a){_.O(this,a,-1,null,null)};_.L(l7c,_.K);l7c.prototype.Qe=function(){return _.E(this,1)};l7c.prototype.nm=function(a){return _.ek(this,1,a)};l7c.prototype.getUrl=function(){return _.E(this,2)};_.m7c=function(a){_.O(this,a,-1,null,null)};_.L(_.m7c,_.K);_.m7c.prototype.getType=function(){return _.Gj(this,1,0)};
_.m7c.prototype.getContext=function(){return _.C(this,l7c,2)};_.m7c.prototype.Yi=function(a){return _.J(this,2,a)};n7c=[1];o7c=[2,4];_.p7c=function(a){_.O(this,a,-1,o7c,null)};_.L(_.p7c,_.K);_.p7c.prototype.getLabel=function(){return _.E(this,1)};_.p7c.prototype.getTitle=function(){return _.E(this,3)};_.p7c.prototype.setTitle=function(a){return _.ek(this,3,a)};_.q7c=function(a){_.O(this,a,-1,n7c,null)};_.L(_.q7c,_.K);_.r7c=[[2,3,4]];_.BO=function(a){_.O(this,a,-1,null,null)};_.L(_.BO,_.K);
_.BO.prototype.ze=function(){return _.E(this,3)};_.BO.prototype.io=function(a){return _.ek(this,4,a)};_.s7c=function(a){_.O(this,a,-1,null,null)};_.L(_.s7c,_.K);_.t7c=function(a){_.O(this,a,-1,null,_.r7c)};_.L(_.t7c,_.K);var u7c=function(a){_.O(this,a,-1,null,null)};_.L(u7c,_.K);v7c=[3,5];_.CO=[[8,9,10,11,12,13,14]];_.w7c=function(a){_.O(this,a,-1,null,null)};_.L(_.w7c,_.K);_.x7c=function(a){_.O(this,a,-1,v7c,_.CO)};_.L(_.x7c,_.K);_.x7c.prototype.Ab=function(){return _.Gj(this,6,0)};
_.x7c.prototype.Dc=function(a){return _.fk(this,6,a)};var y7c=function(a){_.O(this,a,-1,null,null)};_.L(y7c,_.K);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=[1],C7c=function(a){_.O(this,a,-1,B7c,null)};_.L(C7c,_.K);var D7c=function(a){_.O(this,a,-1,null,null)};_.L(D7c,_.K);var E7c=function(a){_.O(this,a,-1,null,null)};_.L(E7c,_.K);F7c=[7];_.G7c=[[1,2,3]];_.H7c=function(a){_.O(this,a,-1,null,null)};_.L(_.H7c,_.K);
_.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,F7c,_.G7c)};_.L(_.K7c,_.K);_.L7c=function(a){_.O(this,a,-1,null,null)};_.L(_.L7c,_.K);_.L7c.prototype.getName=function(){return _.E(this,1)};_.L7c.prototype.jd=function(a){return _.ek(this,1,a)};var 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)};M7c.prototype.getTitle=function(){return _.E(this,2)};M7c.prototype.setTitle=function(a){return _.ek(this,2,a)};var N7c=[[1,4]],O7c=function(a){_.O(this,a,-1,null,N7c)};_.L(O7c,_.K);O7c.prototype.getUser=function(){return _.C(this,_.t7c,1)};var P7c=[[8,9,10]],Q7c=function(a){_.O(this,a,-1,null,null)};_.L(Q7c,_.K);var R7c=function(a){_.O(this,a,-1,null,null)};_.L(R7c,_.K);R7c.prototype.getType=function(){return _.Gj(this,6,0)};
var S7c=function(a){_.O(this,a,-1,null,null)};_.L(S7c,_.K);_.T7c=function(a){_.O(this,a,-1,null,P7c)};_.L(_.T7c,_.K);_.g=_.T7c.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,Q7c,3)};_.g.dka=function(){return _.C(this,R7c,9)};_.g.Zza=function(){return _.C(this,S7c,10)};_.g.Di=function(){return _.bk(this,5)};
_.g.getMimeType=function(){return _.E(this,6)};_.g.$C=function(){return _.C(this,O7c,7)};var U7c=function(a){_.O(this,a,-1,null,null)};_.L(U7c,_.K);var V7c=[[8,9,10]],W7c=function(a){_.O(this,a,-1,null,V7c)};_.L(W7c,_.K);_.g=W7c.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,Q7c,3)};
_.g.dka=function(){return _.C(this,R7c,9)};_.g.Zza=function(){return _.C(this,S7c,10)};X7c=[[1,3]];_.DO=function(a){_.O(this,a,-1,null,X7c)};_.L(_.DO,_.K);_.DO.prototype.mi=function(){return _.C(this,W7c,1)};_.Y7c=[[1,2,3]];_.Z7c=function(a){_.O(this,a,-1,null,null)};_.L(_.Z7c,_.K);_.$7c=function(a){_.O(this,a,-1,null,_.Y7c)};_.L(_.$7c,_.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);c8c=[2,3];
_.d8c=function(a){_.O(this,a,-1,c8c,null)};_.L(_.d8c,_.K);_.d8c.prototype.getType=function(){return _.Gj(this,1,0)};_.e8c=function(a){_.O(this,a,-1,null,null)};_.L(_.e8c,_.K);_.e8c.prototype.getType=function(){return _.Gj(this,1,0)};var 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);_.h8c=function(a){_.O(this,a,-1,null,null)};_.L(_.h8c,_.K);
_.h8c.prototype.O=function(){return _.S(this,1)};var i8c=function(a){_.O(this,a,-1,null,null)};_.L(i8c,_.K);j8c=[1,2,4];_.k8c=function(a){_.O(this,a,-1,null,null)};_.L(_.k8c,_.K);l8c=[1,2];_.m8c=function(a){_.O(this,a,-1,null,null)};_.L(_.m8c,_.K);_.m8c.prototype.getParent=function(){return _.C(this,_.DO,1)};_.m8c.prototype.yg=function(a){return _.J(this,1,a)};_.n8c=function(a){_.O(this,a,-1,l8c,null)};_.L(_.n8c,_.K);_.o8c=function(a){_.O(this,a,-1,j8c,null)};_.L(_.o8c,_.K);
_.EO=function(a){_.O(this,a,-1,null,null)};_.L(_.EO,_.K);_.EO.prototype.getEmail=function(){return _.E(this,1)};_.EO.prototype.getTitle=function(){return _.E(this,2)};_.EO.prototype.setTitle=function(a){return _.ek(this,2,a)};_.FO=[[2,3,4,5]];_.GO=function(a){_.O(this,a,-1,null,_.FO)};_.L(_.GO,_.K);_.GO.prototype.Af=function(){return _.Gj(this,1,0)};_.GO.prototype.getUser=function(){return _.C(this,_.t7c,2)};var p8c=function(a){_.O(this,a,-1,null,null)};_.L(p8c,_.K);q8c=[1,2,3,4];
_.r8c=function(a){_.O(this,a,-1,q8c,null)};_.L(_.r8c,_.K);_.s8c=function(a){_.O(this,a,-1,null,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);_.v8c.prototype.getType=function(){return _.Gj(this,1,0)};w8c=[1];_.x8c=function(a){_.O(this,a,-1,null,null)};_.L(_.x8c,_.K);_.x8c.prototype.getFeature=function(){return _.Gj(this,1,0)};
_.y8c=function(a){_.O(this,a,-1,w8c,null)};_.L(_.y8c,_.K);var z8c=function(a){_.O(this,a,-1,null,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);B8c.prototype.getType=function(){return _.Gj(this,1,0)};_.HO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.IO=function(a){_.O(this,a,-1,null,_.HO)};_.L(_.IO,_.K);_.IO.prototype.Rz=function(){return _.C(this,B8c,10)};_.C8c=function(a){_.O(this,a,-1,null,null)};
_.L(_.C8c,_.K);var D8c=function(a){_.O(this,a,-1,null,null)};_.L(D8c,_.K);_.E8c=function(a){_.O(this,a,-1,null,null)};_.L(_.E8c,_.K);_.F8c=function(a){_.O(this,a,-1,null,null)};_.L(_.F8c,_.K);_.F8c.prototype.getType=function(){return _.Gj(this,1,0)};_.G8c=[[1,2,3,4,5]];_.H8c=function(a){_.O(this,a,-1,null,_.G8c)};_.L(_.H8c,_.K);_.H8c.prototype.getUser=function(){return _.C(this,_.t7c,1)};var I8c=function(a){_.O(this,a,-1,null,null)};_.L(I8c,_.K);
I8c.prototype.getType=function(){return _.Gj(this,2,0)};I8c.prototype.zh=function(){return _.E(this,1)};_.J8c=function(a){_.O(this,a,-1,null,null)};_.L(_.J8c,_.K);_.g=_.J8c.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,_.T7c,3)};_.K8c=function(a){_.O(this,a,-1,null,null)};_.L(_.K8c,_.K);
_.K8c.prototype.getParent=function(){return _.C(this,_.T7c,4)};_.K8c.prototype.yg=function(a){return _.J(this,4,a)};_.L8c=[[1,5,3]];_.M8c=function(a){_.O(this,a,-1,null,_.L8c)};_.L(_.M8c,_.K);_.M8c.prototype.mi=function(){return _.C(this,_.T7c,1)};N8c=function(a,b){return new _.fTc(_.gTc.bound(a,b,void 0,void 0))};
O8c=function(){var a=new _.Vh,b=_.sTc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.BL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.P8c=function(a){_.O(this,a,-1,null,null)};_.L(_.P8c,_.K);_.P8c.prototype.Iq=function(){return _.B(this,1)};_.P8c.prototype.Ld=function(){return _.B(this,2)};_.P8c.prototype.setSize=function(a){return _.A(this,2,a)};_.P8c.prototype.getUrl=function(){return _.B(this,3)};
_.Q8c=function(a){_.O(this,a,-1,null,null)};_.L(_.Q8c,_.K);_.Q8c.prototype.getType=function(){return _.B(this,1)};R8c=[2,3];_.S8c=function(a){_.O(this,a,-1,R8c,null)};_.L(_.S8c,_.K);V8c=[4,5,6,17,18,24];_.JO=function(a){_.O(this,a,-1,V8c,null)};_.L(_.JO,_.K);_.JO.prototype.getId=function(){return _.B(this,1)};_.JO.prototype.Pb=function(a){return _.A(this,1,a)};_.JO.prototype.getName=function(){return _.B(this,2)};_.JO.prototype.jd=function(a){return _.A(this,2,a)};
var W8c=function(a,b){return _.Kj(a,4,b)},X8c=function(a,b){return _.Kj(a,5,b)};_.JO.prototype.LQ=function(){return _.B(this,8)};_.JO.prototype.TAa=function(){return _.R(this,22)};_.JO.prototype.getType=function(){return _.B(this,23)};_.JO.prototype.Cm=function(){return _.R(this,33)};var H2c=function(a){_.O(this,a,-1,null,null)};_.L(H2c,_.K);var Y8c=[3],KO=function(a){_.O(this,a,-1,Y8c,null)};_.L(KO,_.K);KO.prototype.jq=function(){return _.B(this,1)};var Z8c=function(a,b){return _.A(a,1,b)};
KO.prototype.getTitle=function(){return _.B(this,2)};KO.prototype.setTitle=function(a){return _.A(this,2,a)};KO.prototype.Fd=function(){return _.Uj(this,_.Yk,3)};var $8c=function(a,b){return _.Nj(a,3,b)};KO.prototype.lh=function(a,b){return _.Xj(this,3,a,_.Yk,b)};KO.prototype.V=function(){return _.B(this,4)};var a9c=function(a,b){return _.A(a,4,b)};KO.prototype.O=function(){return _.C(this,_.Hk,5)};var b9c=function(a,b){return _.J(a,5,b)},c9c=[2],LO=function(a){_.O(this,a,-1,c9c,null)};_.L(LO,_.K);
LO.prototype.Ab=function(){return _.B(this,1)};LO.prototype.Dc=function(a){return _.A(this,1,a)};LO.prototype.ll=function(){return _.Uj(this,KO,2)};var d9c=function(a,b){return _.Nj(a,2,b)};LO.prototype.Vf=function(){return _.B(this,4)};e9c=function(a,b){return _.A(a,4,b)};_.zN=function(a){_.O(this,a,-1,null,null)};_.L(_.zN,_.K);_.g=_.zN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.RT=function(){return _.Ij(this,2,_.LF)};
_.g.$j=function(){return _.B(this,3)};_.g.jf=function(){return _.B(this,5)};_.g.kj=function(a){return _.A(this,5,a)};var f9c=[1],hO=[[1,2,3,4,5,6,7]],i2c=function(a){_.O(this,a,-1,null,hO)};_.L(i2c,_.K);var j2c=function(a){_.O(this,a,-1,f9c,null)};_.L(j2c,_.K);var MO=function(a){_.O(this,a,-1,null,null)};_.L(MO,_.K);MO.prototype.getQuery=function(){return _.C(this,_.Ye,1,1)};var g9c=function(a,b){return _.J(a,1,b)};MO.prototype.Tn=function(){return _.B(this,4)};
var h9c=function(a,b){return _.J(a,5,b)},i9c=[1,2,5,7,9,10,12],NO=function(a){_.O(this,a,-1,i9c,null)};_.L(NO,_.K);NO.prototype.Fd=function(){return _.Uj(this,_.Yk,1)};var j9c=function(a,b){return _.Nj(a,1,b)};NO.prototype.lh=function(a,b){return _.Xj(this,1,a,_.Yk,b)};NO.prototype.yha=function(a){_.Xj(this,2,a,_.Fk,void 0)};var k9c=function(a,b){return _.A(a,3,b)};NO.prototype.Vn=function(){return _.B(this,4)};NO.prototype.Eu=function(a){return _.A(this,4,a)};
var l9c=function(a,b){return _.Nj(a,5,b)},m9c=function(a,b){return _.A(a,6,b)};NO.prototype.Fh=function(){return _.C(this,_.$A,8)};var n9c=function(a,b){return _.Kj(a,12,b)};NO.prototype.vo=function(){return _.Gj(this,13,0)};var o9c=function(a,b){return _.A(a,13,b)},p9c={gVb:0,fVb:1,U_b:2,a6b:3,d6b:4},fO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],g2c=function(a){_.O(this,a,-1,null,fO)};_.L(g2c,_.K);var n2c=[[1,2]],m2c=function(a){_.O(this,a,-1,null,n2c)};_.L(m2c,_.K);
var q2c=[[1,2,3]],p2c=function(a){_.O(this,a,-1,null,q2c)};_.L(p2c,_.K);_.OO=function(a){_.O(this,a,-1,null,null)};_.L(_.OO,_.K);_.OO.prototype.wY=function(a){_.J(this,1,a)};_.OO.prototype.yr=function(){return _.C(this,_.Bx,2)};_.OO.prototype.vF=function(a){_.J(this,2,a)};q9c=[[5,6]];_.r9c=function(a){_.O(this,a,-1,null,q9c)};_.L(_.r9c,_.K);_.r9c.prototype.Nh=function(){return _.C(this,I8c,2)};_.r9c.prototype.O=function(a){_.Wj(this,5,q9c[0],a)};s9c=[3,4,5];t9c=[[6,7]];
_.u9c=function(a){_.O(this,a,-1,s9c,t9c)};_.L(_.u9c,_.K);_.u9c.prototype.O=function(a){_.Wj(this,6,t9c[0],a)};var v9c=[1],w9c=function(a){_.O(this,a,-1,v9c,null)};_.L(w9c,_.K);w9c.prototype.ly=function(){return _.E(this,2)};var x9c=function(a,b){return 1<a?2===b:a===b},y9c=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");},PO=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=PO.prototype;_.g.clone=function(){return new PO(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())};
_.AN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.SVc=function(a){this.H=a;this.type=1};z9c=function(){};A9c=function(a){this.H=a};_.TVc=function(a){this.H=a;this.type=0};S2c=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};_.CN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.$Vc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.cWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.DN=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.i0=void 0===c?null:c};_.EN=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};_.BN=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};B9c=function(a){_.BN.call(this,a,void 0,void 0,void 0);this.c4a=new _.yn};_.L(B9c,_.BN);
var C9c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},D9c=function(a){return[].concat(_.jd(new Set(a.map(function(b){return _.vUc.get(b)}).filter(function(b){return b})))).join(",")},QO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.jd(b));b=D9c(b);var d=_.JL(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+")"},E9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+QO(a,b,!1)+")"},RO=function(a){return a instanceof _.Yk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Cc()&&a.Cc()==a.Bc()},F9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.hh();null!=e&&D1c(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);_.dN(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Tk,e=_.R(e,18),_.A(f,18,e),_.dN(a,f));$N(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()&&$N(a,d,c)},G9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!RO(a)&&!RO(b))return a;if(2==cO(a)){c=_.B(a,82);var d=b.clone();F9c(d,a);_.cXc(d,cO(b));_.XL(d,c);return d}a=a.clone();F9c(a,b,c);return a},H9c=function(a){return(a=a?a.hh():null)&&a.Cm()||!1},I9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},J9c=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]={}})},L9c=function(a,b,c){b.every(function(d){return RO(d)})?K9c(b,c,a.H,a.O):b.every(function(d){return!RO(d)})&&K9c(b,c,a.items,a.fields)},K9c=function(a,b,c,d){var e=_.FVc(b,[].concat(_.jd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&$N(f,k,[h])})})};I9c.prototype.update=function(a,b,c){b&&RO(b)?M9c(a,b,this.H,this.O,c):M9c(a,b,this.items,this.fields,c)};I9c.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 M9c=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&&A1c(b,[h])){var k=new _.Yk;k.Pb(b.getId());$N(k,b,[h]);f[a]=k}});b&&w1c(b,[].concat(_.jd(d)))};
I9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};I9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var N9c=function(a,b,c){var d=this;this.vu=b;this.yw=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=N9c.prototype;_.g.ey=function(){return this.Od};
_.g.uk=function(a){var b=new Map;a=_.m(a.en());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(O9c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,SO(this.vu,a,e.getItem())&&(void 0===b||x9c(e.H,b))&&c.push(e);this.yw.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--,P9c(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 P9c=function(a,b){return 1<b.$b()||x9c(b.H,2)||b.getItem().MI()||V1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
N9c.prototype.zJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,P9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var Q9c=function(a,b,c,d){this.Jg=a;this.W=b;this.O=c;this.V=d},I2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),L9c(a.V,[b.getItem()],A5c(a.Jg)),b):null};Q9c.prototype.H=function(a){return(a=I2c(this,a))?a.getItem():null};
var R9c=function(a,b){var c={};b.forEach(function(d){var e=I2c(a,d);e&&(c[d]=e)});return c},S9c=function(a,b){return _.Oa(R9c(a,b),function(c){return c.getItem()})},T9c=function(a,b){b=TO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};Q9c.prototype.query=function(a){return T9c(this,a).map(function(b){return b.getItem()})};Q9c.prototype.Ld=function(){return this.O.ey().size};
var U9c=function(a){var b=new Set;a=_.m(a.O.ey().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()||_.WF(e));(d=c.ym())&&b.add(d.getId()||_.WF(d));(d=c.Qv())&&b.add(d.getId()||_.WF(d));(d=c.Lq())&&b.add(d.getId()||_.WF(d));(c=c.gD())&&b.add(c.getId()||_.WF(c))}return b.size},V9c=function(a){var b=new _.Po;_.tN(b,"hidden",a.Cm());a=_.R(a,6);null!=a&&_.tN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
W9c=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}},X9c=function(a){var b=_.gSc(),c={};b&&(c.numeric=b);this.H=_.hSc(a,c)};X9c.prototype.compare=function(a,b,c){b=Y9c(b);c=Y9c(c);a=a.Ac();var d=W9c(a);if(a&&d){d=Z9c(this,a);var e=4===a.getType()?this.H:_.Ga;return $9c(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};
X9c.prototype.sort=function(a,b,c){a=a.Ac();var d=W9c(a);a&&d&&(d=Z9c(this,a),d=a$c(b,d),_.Ia(b,b$c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var Y9c=function(a){return a instanceof _.Yk?a:a.getItem()},Z9c=function(a,b){b=W9c(b);return _.v(a.O,a,b,_.Ga)},a$c=function(a,b){var c={};a.forEach(function(d){d=Y9c(d);var e=d.getId();c[e]=b(d)});return c},b$c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=Y9c(d);e=Y9c(e);return $9c(b,function(h){return c[h.getId()]},f,d,e)}},$9c=function(a,b,c,d,e){var f=1===a.zf()?1:-1;if(_.R(a,3)){a=bO(d,!0);var h=bO(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()))};X9c.prototype.O=function(a,b,c){for(var d=c$c(a[0],c),e=1;e<a.length;e++){var f=c$c(a[e],c);d=1===b(f,d)?f:d}return d};
var c$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.Aq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.ny()||0;case 57:return _.B(b,62)||0;case 32:return b.Nu()||0;case 9:return b.SC()||0;case 67:return b.WJ()||0;case 98:return b.Rv()||0;default:return""}},d$c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.kr=_.DL(_.EL(b));
a=_.TL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};d$c.prototype.Eu=function(a){this.rootId=a||""};
var TO=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},UO=function(a,b,c){if(b instanceof _.Ye){b=TO(a,b);var d=_.AYc(b)}else if(b instanceof _.$z)d=b.en().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.xL)return d=V9c(b),d+"|tdList";if(b instanceof _.KF)return d=
b.en().sort().join(","),b.O().length&&(d+="|"+D9c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+e$c(a,b.O(),2===c)},e$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+" - "+_.eM({fields:[].concat(_.jd(f)),kr:a.kr}));e.size&&(d=d+" + "+_.eM({fields:[].concat(_.jd(e)),kr:a.kr}));
return d};d$c.prototype.equals=function(a,b,c){var d;c&&(d=3);return UO(this,a,d)===UO(this,b,d)};
var f$c=function(a){if(!a.en().every(function(b){return!_.ae(b)}))throw new _.lc("Invalid ids for FindByIdsRequest");},h$c=function(a,b,c){if(_.BM(b))throw new _.lc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");g$c(a,b,c)},g$c=function(a,b,c){var d;a.O||(d=_.bM(3));if(b.getId())throw new _.lc("Use findByIds() for find by id queries.",d?d:_.bM(3));if(!b.Mi()||0>=b.Mi())throw new _.lc("A positive limit is required on an ItemQueryRequest.",d?d:_.bM(3));
_.Md(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),i$c(a,d,b.O()));if(c=(c=b.Ac())&&W9c(c))d=b.O().length?b.O():a.fields,i$c(a,d,c);if(_.AM(b)){if(a.kr)throw new _.lc("User must be authenticated for a Quick Access request.");if(!j$c(a)&&20<b.Mi())throw new _.lc("Limit must be in the range [1, 20].");c=2===_.gN(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(_.NH(_.Lj(_.Mj(_.NH(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: "+U5c(d,c));}if(_.CM(b)){if(a.kr)throw new _.lc("User must be authenticated for a DrivePriority request.");if(2===_.gN(b))throw new _.lc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.NH(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: "+U5c(b,a));}},k$c=function(a,b,c){if(!_.BM(b))throw new _.lc("Expected a PeoplePredict request.");g$c(a,b,c);if(a.kr)throw new _.lc("User must be authenticated for a People Predict request.");if(2===_.gN(b))throw new _.lc("Team Drive corpora is not valid for a People Predict request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.NH(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: "+U5c(b,a));},i$c=function(a,b,c){var d;a.O||(d=_.bM(3));if(!B1c(b,c,_.DVc)){var e=_.eM({fields:c,kr:a.kr}),f=_.eM({fields:b,kr:a.kr});a=_.eM({fields:C1c(c,b),kr:a.kr});throw new _.lc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.bM(3));
}},j$c=function(a){return 200<=_.iN(a.H)&&300>_.iN(a.H)},l$c=function(a){var b=new Set;_.Fl(a).forEach(function(c){switch(_.MNa(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))},m$c=function(a){switch(_.iN(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"}},n$c=function(a){_.N.call(this);this.H=a};_.If(n$c,_.N);_.g=n$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();n$c.ub.Xa.call(this)};var b2c=function(a){_.iy.call(this);this.H=a;this.V=_.ue(this.H,"message",this.npb,!1,this)};_.If(b2c,_.iy);_.g=b2c.prototype;_.g.Cd=null;
_.g.send=function(a,b){var c=[];b=this.Tya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.CUc&&(a=(0,_.xi)(a));this.H.postMessage(a,c)};_.g.npb=function(a){a=a.De;var b=a.data;if(_.CUc)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.tCa(a.ports||[],b),d.aFa),null!=b&&d.callback(b))}};
_.g.Tya=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.Tya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.Tya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.tCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.tCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.tCa(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;b2c.ub.Xa.call(this)};
var d2c=function(a,b){if("*"==b)return new n$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 b2c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new n$c(e)},o$c=function(a){_.N.call(this);this.H=new _.MSc(a);this.V={};this.O=_.OSc(this.H,
"private");this.W=_.OSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Lmb,this),!0)};_.If(o$c,_.N);_.g=o$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 dO=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.MSc(a);this.Ma(this.H);this.O=new o$c(_.OSc(this.H,"direct"));this.Ma(this.O);a=_.OSc(this.H,"passthrough");this.V=b?a:new o$c(a);this.Ma(this.V);this.LW=b};_.L(dO,_.N);dO.prototype.registerService=function(a,b){this.O.registerService(a,b)};
dO.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ef)};var VO=function(a,b,c){if(a.LW)throw Error("Re");a.V.registerService(b,c,!0)},WO=function(a,b,c,d){if(a.LW)throw Error("Se");a.V.send(b,c||{},d||_.Ef)};dO.prototype.start=function(){this.started||(this.started=!0);if(this.LW)throw Error("Te");};var Z1c=[],p$c=function(){_.iy.call(this);this.H=null};_.L(p$c,_.iy);p$c.prototype.send=function(a,b){_.q6a(this.H,a,b)};
var e2c=function(){this.O=new p$c;this.H=new p$c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},q$c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.kc=null},r$c=function(a,b){b=void 0===b?!1:b;null==a.kc&&(a.kc=b)&&Y1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.kc}},s$c=function(a){var b=new q$c(a.c,a.m,a.a,a.req);b.kc=a.s;return b},t$c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.kc=null},u$c=function(a,
b){b=void 0===b?!1:b;null==a.kc&&a.data&&(a.kc=b)&&Y1c(a.data);return{d:a.data,err:a.error&&b?a.error.kc():a.error,uid:a.H,s:b}},v$c=function(a){var b=a.s,c=a.err&&b?new _.kc(JSON.parse(a.err)):a.err;a=new t$c(c?void 0:a.d,c,a.uid);c||(a.kc=b);return a},X1c=function(a,b){this.H=a;this.ED=b};X1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.ED[b];return a};
X1c.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]=_.RL(d).kc():a[e]=d.kc()}return{r:a,e:b}};w$c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.VM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.kc(JSON.parse(e));d.push(_.cM(e))});return new X1c(c,d)}return a};c2c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
x$c={STb:0,lUb:1,f_b:3,s7b:5,pjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.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,3)};_.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)};_.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);_.yM.prototype.zh=function(){return _.B(this,1)};_.yM.prototype.xe=function(){return _.C(this,_.lf,2)};_.zM=function(a){_.O(this,a,-1,null,null)};_.L(_.zM,_.K);_.g=_.zM.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)};_.GM=function(a){_.O(this,a,-1,null,null)};_.L(_.GM,_.K);_.GM.prototype.Cc=function(){return _.B(this,1)};_.GM.prototype.xe=function(){return _.C(this,_.lf,2)};_.GM.prototype.Mi=function(){return _.bk(this,3,1E3)};_.GM.prototype.xi=function(a){return _.A(this,3,a)};_.JM=function(a){_.O(this,a,-1,null,null)};_.L(_.JM,_.K);
_.JM.prototype.xe=function(){return _.C(this,_.lf,1)};var y$c=function(){var a=new _.JM,b=_.mf(new _.lf,301);return _.J(a,1,b)};_.JM.prototype.Bc=function(){return _.B(this,3)};_.aWc=function(a){_.O(this,a,-1,null,null)};_.L(_.aWc,_.K);_.aWc.prototype.Bc=function(){return _.B(this,1)};_.NM=function(a){_.O(this,a,-1,null,null)};_.L(_.NM,_.K);_.NM.prototype.zh=function(){return _.B(this,1)};_.NM.prototype.xe=function(){return _.C(this,_.lf,4)};var z$c=function(a){_.O(this,a,-1,null,null)};_.L(z$c,_.K);
A$c=function(a,b){return _.A(a,1,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)};_.DM=function(a){_.O(this,a,-1,null,null)};_.L(_.DM,_.K);_.DM.prototype.getId=function(){return _.B(this,1)};_.DM.prototype.Pb=function(a){return _.A(this,1,a)};_.OVc=function(a){_.O(this,a,-1,null,null)};_.L(_.OVc,_.K);
var B$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(B$c,_.ri);B$c.prototype.vB=function(){return this.O};B$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);C$c(this,b);return b.promise};B$c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,D$c(this))};
B$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 a6c("ib")))};
var E$c=function(a,b){a.ha=b},D$c=function(a){a.H||(a.H=new _.uZc(5E3),a.timeout=_.n.setTimeout(function(){return F$c(a)},a.H.Ya()))},F$c=function(a){C$c(a);a.H&&(_.sH(a.H),a.timeout=_.n.setTimeout(function(){return F$c(a)},a.H.Ya()))},C$c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return G$c(a,b)})},G$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Te(new _.bWc)});b?c.then(function(){b.resolve(A$c(new z$c,1))},function(d){var e=_.aB(d).Pg;
d=0;_.PUc(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 z$c;A$c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.aB(d);_.PUc(d.Pg)&&a.V&&(a.dispatchEvent(new a6c("jb")),a.V=!1)})};B$c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var H$c=function(a){return _.C(a,_.KL,3)||_.C(a,_.TM,4)||_.C(a,_.HN,5)||_.C(a,_.QM,6)||_.C(a,_.rM,7)||_.C(a,_.kM,8)||_.C(a,_.oM,9)||_.C(a,_.UL,10)},I$c=function(a){_.O(this,a,-1,null,null)};_.L(I$c,_.K);_.g=I$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 J$c=function(a){this.Cd=a;this.H=new Map;this.O=this.Cd.W};
J$c.prototype.create=function(a,b){if(0!=G5c(b)){var c=this.Cd.H(106001);if(c){var d=G5c(b),e=qO(c);_.A(e,2,d);d=qO(c);e=null;if(b instanceof _.XF||b instanceof _.$z||b instanceof _.Ye||b instanceof _.EM||b instanceof _.jD||b instanceof _.KF||b instanceof _.xL||b instanceof _.FL||b instanceof _.MF||b instanceof _.Kz)e=b.xe();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=qO(c);b=b instanceof _.Ye?0<_.Gl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var K$c=function(a,b,c){if(a=a.H.get(b))a=qO(a),_.A(a,5,c)},L$c=function(a,b,c){(a=a.H.get(b))&&_.R(qO(a),8)&&(a=qO(a),_.A(a,9,c))},M$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(qO(f).Dc(c),qO(f).kj(d),null!=e&&(c=qO(f),_.A(c,6,e)),f.Zj(),a.H.delete(b))},N$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Ab(c);c=H5c(c);if(1==e||2==c)e=_.wN(_.FUc,c),d=qO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.bVc.has(e):null,M$c(a,b,1,e,d)}},O$c=function(a,b,c){var d=a.O.Ab(c);d=_.wN(_.EUc,d||22);var e=H5c(c);e=_.wN(_.FUc,
e);M$c(a,b,d,e,"undefined"!=typeof _.AN&&c instanceof _.AN||"undefined"!=typeof _.CN&&c instanceof _.CN||"undefined"!=typeof _.DN&&c instanceof _.DN?c.i0:null)},XO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(qO(d).Dc(c),d.Zj(),a.H.delete(b))},YO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(YO,_.gi);var P$c=[2,4],ZO=function(a){_.O(this,a,-1,P$c,null)};_.L(ZO,_.K);ZO.prototype.Ab=function(){return _.B(this,1)};ZO.prototype.Dc=function(a){return _.A(this,1,a)};
ZO.prototype.$j=function(){return _.B(this,3)};var Q$c=[4,9],R$c=function(a){_.O(this,a,-1,Q$c,null)};_.L(R$c,_.K);_.g=R$c.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.hWa=function(){return _.B(this,2)};_.g.IMa=function(){return _.B(this,3)};_.g.htb=function(){return _.Uj(this,_.NL,4)};var S$c={$6b:0,C1b:1,F1b:2,D1b:4,m_b:5,zXb:6,t_b:7,S1b:8},T$c=function(a){_.O(this,a,-1,null,null)};_.L(T$c,_.K);T$c.prototype.getUrl=function(){return _.B(this,1)};
var $O=function(a){_.O(this,a,-1,null,null)};_.L($O,_.K);var U$c=function(a,b){return _.A(a,1,b)};$O.prototype.getName=function(){return _.B(this,2)};$O.prototype.jd=function(a){return _.A(this,2,a)};$O.prototype.getEmail=function(){return _.B(this,3)};var V$c=function(a,b){return _.A(a,3,b)};$O.prototype.wp=function(){return _.P(this,3)};var W$c=[1],X$c=function(a){_.O(this,a,-1,W$c,null)};_.L(X$c,_.K);var Y$c=function(a,b){return _.Nj(a,1,b)},Z$c=function(a){_.O(this,a,-1,null,null)};_.L(Z$c,_.K);
_.g=Z$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.En=function(){return _.P(this,3)};var $$c=[2],aP=function(a){_.O(this,a,-1,$$c,null)};_.L(aP,_.K);aP.prototype.Ab=function(){return _.B(this,1)};aP.prototype.Dc=function(a){return _.A(this,1,a)};aP.prototype.ll=function(){return _.Uj(this,_.LF,2)};
var aad=function(a,b){return _.Nj(a,2,b)};aP.prototype.$j=function(){return _.B(this,3)};var bad=[1],cad=function(a){_.O(this,a,-1,bad,null)};_.L(cad,_.K);var dad=function(a,b){return _.Kj(a,1,b)},ead=function(a,b){this.O=a|0;this.H=b|0};ead.prototype.equals=function(a){return this===a?!0:a instanceof ead?this.O===a.O&&this.H===a.H:!1};ead.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var fad=function(a,b){return new ead(a,b)},gad=function(a,b){b=~b;a?a=~a+1:b+=1;return fad(a,b)},had=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?gad:fad)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},iad=function(){this.H=this.W=this.O=this.V=null},jad=function(a,b,c){this.id=a;this.O=b;this.H=c},kad=function(a,b){return new jad((a?a:b).getId(),a,b)},bP=function(a){return new jad(a.getId(),null,a)},lad=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},cP=function(a,b,c){if(a.started)throw Error("bf");c={Do:new Set(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.O.get(d)||[];e.push(c);a.O.set(d,e)}},dP=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.Do.delete(b);if(0===e.Do.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.cM(f):null,f;}}}};lad.prototype.H=function(a){return this.V.has(a)};lad.prototype.start=function(){this.started=!0};lad.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var mad=function(){_.ri.call(this);this.H=Date.now()};_.L(mad,_.ri);mad.prototype.iF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var nad=function(a,b){this.vu=a;this.yw=b;this.iK=!0;this.k8=!1;this.Pe=0},eP=function(a,b){(a.iK=b)||a.zJ()};_.g=nad.prototype;
_.g.bla=function(a,b){if(5===this.yE(a))throw Error("ef");for(var c=[],d=_.m(this.ey()),e=d.next();!e.done;e=d.next())e=e.value,SO(this.vu,a,e.getItem())&&c.push(e);this.yw.sort(a,c,b);return c};_.g.Ld=function(){return this.ey().length};_.g.uk=function(a){var b=this.bla(a,void 0);b=v2c(b);var c=new _.RA;c.Pw(b);c.Dc(this.KN(a)?6:1);return c};_.g.update=function(a){var b=this.As(a.O),c=this.As(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?O9c(a)?1:5:5};_.g.gX=function(){this.k8=!0};_.g.As=function(a){return!!a&&this.iK};_.g.kj=function(a){this.Pe=a};_.g.jf=function(){return this.Pe};var fP=function(a,b,c,d,e,f){f=void 0===f?"":f;nad.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=TO(c,d,!0);this.H=!e;oad(this,e);this.V=function(k,l){return h.yw.compare(h.request,k,l)}};_.L(fP,nad);_.g=fP.prototype;_.g.wd=function(){return this.request};
_.g.tR=function(a){var b=this.O[a.getId()];b&&this.qJ(b);r1c(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.ey=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=B1c(b,a,_.DVc);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.As=function(a){if(!nad.prototype.As.call(this,a)||!SO(this.vu,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),oad(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(bP(e))})};var oad=function(a,b){b&&SO(a.vu,a.request,b.getItem())&&a.tR(b)};fP.prototype.ly=function(){return this.nextPageToken};var gP=function(a,b){nad.call(this,a,b);this.Od=new Map};_.L(gP,nad);gP.prototype.tR=function(a){this.Od.set(a.getId(),a);a.count++};
gP.prototype.qJ=function(a){this.Od.delete(a.getId());a.count--};gP.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};gP.prototype.ey=function(){return Array.from(this.Od.values())};var pad=function(a,b){gP.call(this,a,b);this.gX()};_.L(pad,gP);_.g=pad.prototype;
_.g.yE=function(a){var b=this,c=gP.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.As=function(a){return gP.prototype.As.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.bla=function(a,b){for(var c=[],d=_.m(this.ey()),e=d.next();!e.done;e=d.next())e=e.value,SO(this.vu,a,e.getItem())&&c.push(e);this.yw.sort(a,c,b);return c};_.g.wd=function(){return new _.Ye};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.KN=function(){return!1};var hP=function(a,b,c,d){gP.call(this,a,b);var e=this;this.H=d;cP(c,["aU7Ts","BNEDtc"],function(){return e.gX()})};_.L(hP,gP);hP.prototype.yE=function(a){var b=this,c=gP.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()&&K1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
hP.prototype.As=function(a){return gP.prototype.As.call(this,a)&&qad(this,a.getItem())};var qad=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&&K1c(e.getItem())})};hP.prototype.gX=function(){gP.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;qad(this,c.getItem())||(c.count--,this.Od.delete(b))}};hP.prototype.wd=function(){return new _.Ye};
hP.prototype.getType=function(){return"SubscribedCorpusCache"};hP.prototype.KN=function(){return!1};var rad=/^[\x00-\x7F]*$/,sad=function(){this.rootId=""};sad.prototype.Eu=function(a){this.rootId=a||""};
var O9c=function(a){return tad(a)&&0==_.Md(a,40).length&&void 0==_.B(a,41)},tad=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&&!_.AM(a)&&!_.BM(a)&&!_.CM(a)&&0==_.Uj(a,_.wl,57).length&&uad(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)},uad=function(a){return _.Uj(a,_.Bl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&rad.test(b)})};sad.prototype.e9=function(a,b){var c=this;return b.filter(function(d){return SO(c,a,d)})};
var SO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!RO(c);if(d){d=!0;var e=_.Uj(b,_.Bl,4);if(uad(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(),_.XM(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.Aq(),d=d&&vad(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&&vad(k,f);d&&(d=b.Sh(),e=(e=_.gN(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.gp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.PA());d&&(d=null==b.Cm()||b.Cm()==!!c.Cm());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.gp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.ny():!0));a&&(a=_.R(b,17),d=(d=_.gN(b))&&(2==d||3==d),a=null==a||a==!!c.MI()&&(!a||1==c.gp()||!!d));a&&(a=T1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Wk(a));a&&(a=!0);if(a=a&&wad(b,c)&&xad(b,c))a=_.Md(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&yad(b,c))_.B(b,41)?(a=_.C(c,_.aN,86),a=null!=a&&
_.B(b,41)==_.B(a,3)):a=!0;if(a=a&&zad(b,c))a=_.gN(b),1==a?(a=_.R(c,31),a=!!_.Gl(b).length||!!_.Uj(b,_.vl,35).length||1==_.R(b,18)||_.AM(b)||_.BM(b)||_.CM(b)||!!b.Op()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.AM(b)?!!_.al(c)&&!c.Sh():!0);a&&(a=_.BM(b)?!!_.bl(c).length&&!c.Sh():!0);a&&(a=_.CM(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.Op(),a=!a||_.Md(c,120).includes(a));a&&(c=_.C(c,_.ZM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.B(c,
1),a=_.R(b,65)==c));return a},vad=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},wad=function(a,b){var c=_.cb(_.Md(b,56));a=_.Uj(a,_.fN,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},xad=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]})},yad=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()]})},zad=function(a,b){if(_.Md(a,40).length){if(b=_.C(b,_.aN,86)){var c=_.cb(_.Md(b,2));return _.Md(a,40).some(function(d){return c[d]})}return!1}return!0},iP=function(a,b,c,d){d=void 0===d?5E3:d;gP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(iP,gP);_.g=iP.prototype;
_.g.yE=function(a){var b=this,c=gP.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.As=function(a){return gP.prototype.As.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!RO(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 Aad=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=TO(this.V,a,!0)};Aad.prototype.add=function(a){a instanceof hP?this.H=a:a instanceof pad?this.ha=a:a instanceof fP?(this.log("Adding new cache hint for "+UO(this.V,a.wd(),2)),this.W.push(a)):a instanceof iP&&this.O.push(a)};
Aad.prototype.remove=function(a){var b=this;if(a instanceof hP)this.H&&(eP(this.H,!1),this.H=null);else if(a instanceof pad)this.ha&&(eP(this.ha,!1),this.ha=null);else if(a instanceof fP){var c=_.ja(this.W,function(d){return b.V.equals(d.wd(),a.wd())});0<=c&&(eP(this.W[c],!1),_.ta(this.W,c))}else a instanceof iP&&(c=_.ja(this.O,function(d){return b.V.equals(d.wd(),a.wd())}),0<=c&&(eP(this.O[c],!1),_.ta(this.O,c)))};
var Bad=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},Cad=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})};Aad.prototype.dW=function(){return _.ya(this.O)};var Dad=function(a,b){return _.ag(a.O,function(c){return c.Bc()===b})},Ead=function(a,b){return Cad(a).find(function(c){return a.V.equals(c.wd(),TO(a.V,b,!0))})};
Aad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var Fad=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L(Fad,_.gi);Fad.prototype.getError=function(){return this.error};Fad.prototype.H=function(){return this.ids};var Gad=function(a){_.gi.call(this,"Jb");this.people=a};_.L(Gad,_.gi);Gad.prototype.getPeople=function(){return this.people};var Had=function(a){_.gi.call(this,"Kb");this.people=a};_.L(Had,_.gi);
Had.prototype.getPeople=function(){return this.people};var Jad=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);Iad(this)};Jad.prototype.jf=function(){return this.Pe};
var Kad=function(a){return 0===a.Pe?1:2===a.Pe||(1===a.Pe||4===a.Pe)&&(a.person.wp()||a.O)?3:2},Lad=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=Kad(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=V$c(b.clone(),a.getEmail(b)),e=!_.ak(a.person,b),a.person=b,a.Pe=c,Iad(a),e||d!==Kad(a);if(4===c)return a.Pe=c,Iad(a),d!==Kad(a);c=b;return!a.person.getEmail()&&c.getEmail()?(V$c(a.person,a.getEmail(b)),!0):!1};
Jad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var Iad=function(a){1===a.Pe?(a.W=Date.now(),a.V=null):4===a.Pe&&(a.V=Date.now())},Nad=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 _.vL(function(){return Mad(e)},100,this)};_.L(Nad,_.ri);Nad.prototype.Yg=function(a){a&&_.JL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ve())};
var Mad=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)}})};Nad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Te;var e=new _.IM;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Uj(c,$O,1);b.dispatchEvent(new Gad(c))},function(c){c=_.aB(c);b.dispatchEvent(new Fad(a,c))})};
Nad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var Qad=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,B4c,85)||new B4c,1,864E5);this.W=new Nad(a,b,c,e);this.ma=new _.BD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:I5c(h,106015);if(k){h=_.C(_.vN(k),h5c,11);if(!h){h=new h5c;var l=_.vN(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();Oad(f,
h,1);f.ma.ve()});this.Mc.listen(this.W,"Ib",function(h){Pad(f,h)})};_.L(Qad,_.ri);Qad.prototype.get=function(a){var b=this.H.get(a);return b?(Rad(this,b)&&Sad(this,a),b):null};var Sad=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};Qad.prototype.Tb=function(a){var b=this;return Tad(this,a)?Promise.resolve(this.H.get(a)):Sad(this,a).then(function(){return b.H.get(a)})};
Qad.prototype.wc=function(){return 0===this.H.size};Qad.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var Uad=function(a){return[].concat(_.jd(a.H.values())).filter(function(b){return 3===Kad(b)&&4!==b.jf()}).map(function(b){return b.person.clone()})},Vad=function(a,b){return(a=a.H.get(b))?[].concat(_.jd(a.H)):[]},Wad=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)))}},Oad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(S$c)[c]+".")),Xad(a,b,c))},Zad=function(a,b,c,d){0!==b.length&&Yad(a,b,c,void 0===d?0:d)},Tad=function(a,b){b=a.H.get(b);return!(!b||3!==Kad(b)||Rad(a,b))},Yad=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)Lad(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&&Sad(k,_.B(f,1));l=new Jad(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},Rad=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}};Qad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var Pad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():U$c(new $O,c)});Xad(a,b,4)},Xad=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))}Yad(a,b,void 0,c)&&a.dispatchEvent(new Had(b))},$ad=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 Qad(a,b,c,e,f);this.O=_.TL(a)||new _.RUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L($ad,_.ri);$ad.prototype.gP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=abd(this,[c]).map(function(e){return bbd(b,e)});Zad(this.H,d,a.H.getId(),this.jf(_.B(c,82)))}a.O&&Wad(this.H,a.id,cbd(this,a))};$ad.prototype.jf=function(a){return _.kVc.get(a)||0};
var cbd=function(a,b){var c=dbd(a,b.O),d=dbd(a,b.H);return c.filter(function(e){return!d.includes(e)})},dbd=function(a,b){return b?ebd(a,[b.getItem()]):[]},gbd=function(a,b){b=b.getUser();Zad(a.H,[bbd(a,b)],"ACCOUNT");fbd(a,b)},ibd=function(a,b){var c=_.Uj(b,_.mN,2).map(function(d){var e=_.C(d,_.Fk,9,1);return a.H.Tb(_.WF(e)).then(function(){return void hbd(a,[e])})});return Promise.all(c).then(function(){return b})},hbd=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.WF(c)&&
fbd(a,c)},jbd=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.WF(f)&&(d.add(_.WF(f)),Zad(a.H,[bbd(a,f)],c));return Promise.all([].concat(_.jd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return hbd(a,b)})},lbd=function(a,b){return ebd(a,[b]).some(function(c){return!kbd(a,c)})},kbd=function(a,b){return Tad(a.H,b)},ebd=function(a,b){var c=new Set;a=abd(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.WF(b.value))&&c.add(b);return[].concat(_.jd(c))},
abd=function(a,b){return b.map(function(c){var d=c.Uw();d=d?[].concat(_.jd(d.gR()),_.jd(_.Uj(d,_.Fk,3))):[];var e=c.Pf();e=(e=e&&_.Qd(e))?abd(a,[e]):[];return[].concat(_.jd(_.Zk(c)),[c.ym(),c.Qv(),c.Lq(),c.gD()],_.jd(d),_.jd(e))}).flat().filter(function(c){return c&&!!_.WF(c)})};$ad.prototype.Gd=function(a){return Vad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var mbd=function(a,b){return b.map(function(c){c=c.clone();var d=abd(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})},obd=function(a,b){return b.some(function(c){return nbd(a,c)})},nbd=function(a,b){return abd(a,[b]).some(function(c){return _.P(c,3)||c.wp()||_.P(c,5)})},fbd=function(a,b){var c=a.H.get(_.WF(b));if(c){a=c.person.clone();var d=_.qWc(b.jd(a.getName()),a.getEmail());c=Kad(c);_.A(d,16,c);(a=_.C(a,T$c,4))&&b.io(a.getUrl())}},bbd=function(a,
b){var c=_.WF(b);c=V$c(U$c(new $O,c).jd(b.getName()),b.getEmail());var d=new T$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},pbd=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};pbd.prototype.Vf=function(){return this.suggestionSessionId};pbd.prototype.DAa=function(){return this.O};pbd.prototype.wc=function(){return this.H};
var qbd=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},rbd=function(a,b){a=qbd(a);b=qbd(b);return!(!a||!b||a!==b)},sbd=function(a){return a.Cc()+"_"+qbd(a.getName())},tbd=function(a,b){var c=_.Md(a,1).map(function(d,e){return b[Number(e)].value.c4a.promise});return Promise.allSettled(c).then(function(d){return _.Md(a,1).map(function(e,f){e=e.toString();var h=new Z$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})})},jP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.xy=new Set;this.status=6;this.V=new Map;this.Pe=0};_.L(jP,_.N);_.g=jP.prototype;_.g.ai=function(a){var b=this;this.xy.add(a);return this.resize().then(function(){return b.vO(a)})};_.g.ik=function(a){this.xy.delete(a);0===this.xy.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.Iu(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.xy.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.xy.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.xy.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.xy.forEach(function(d){d=b.Pka(d);c=Math.max(c,d.Mi?d.Mi()||0:0)});a.Jfa(c)})};var ubd=function(a,b){return b?a.V.get(a.uka(b))||null:null};_.g=jP.prototype;_.g.bI=function(a,b){var c=ubd(this,a);b=y9c(c,b);this.V.set(this.uka(a),b)};_.g.uka=function(a){return a};_.g.JMa=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 kP=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(kP,_.ri);var vbd=function(a){return!a.O||""!==a.pageToken};kP.prototype.Yg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&vbd(this)?wbd(this):_.Ph()};
var wbd=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 xbd(a,c)},function(c){return a.handleError(c)})},xbd=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&&vbd(a)?_.Sh([_.Ph(b),wbd(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
kP.prototype.handleError=function(a){this.H=!1;a=_.RL(a);var b=new YO(a);this.KMa(b);this.dispatchEvent(b);return _.Rh(a)};kP.prototype.m6=function(){};kP.prototype.KMa=function(){};var ybd=function(a,b,c){kP.call(this,c,function(d){return a.then(function(e){return e.Te(d)}).Gg(function(e){return void _.dM(e)})});this.V=b};_.L(ybd,kP);_.g=ybd.prototype;_.g.via=function(a,b,c){a=a.clone();a.xi(b);return new _.QVc(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.KMa=function(a){this.V.oB(this.request,a)};var zbd=function(a,b,c,d){jP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(zbd,jP);_.g=zbd.prototype;_.g.refresh=function(){this.jA();this.H=new ybd(this.ha,this.W,this.request);return this.H.Yg(this.request.Mi()||100)};_.g.Iq=function(a){return this.data.find(function(b){return rbd(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=h7c((new AO).Dc(this.status),this.data.filter(function(c){return a.W.tDa(c)}).map(function(c){return c.clone()}));return new _.BN(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 jP.prototype.nD.call(this,a,b,c)};
_.g.Iu=function(a,b){b=void 0===b?1:b;if(!R1c(ubd(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return rbd(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 rbd(b.getName(),a)})&&(this.V.delete(this.uka(a)),this.PX())};_.g.uka=function(a){return qbd(a)};_.g.bI=function(a,b){this.Iq(a)&&jP.prototype.bI.call(this,a,b)};
_.g.JMa=function(a){var b=this;return a instanceof _.OM&&a.Cc()===this.request.Cc()?a.JV().map(function(c){return b.Iq(c.$m())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var lP=function(){this.H=new Map};lP.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 Abd=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.sxa(c),a.H.set(d,e));e.ai(b);return f};
lP.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 Bbd=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ik(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Cbd=function(a,b){return a.H.get(b)};lP.prototype.nD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.tDa(f)});this.H.forEach(function(f){f.nD(e,b,c)})};lP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Dbd=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.JMa(b)});return[].concat.apply([],_.jd(a))};lP.prototype.bI=function(a,b){this.H.forEach(function(c){c.bI(a,b)})};lP.prototype.tDa=function(){return!0};lP.prototype.oB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.OX(b)};lP.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 Ebd=function(){this.V=new Set;this.O=0;this.H=[]},Fbd=function(a,b){a.V.add(b)};
Ebd.prototype.W=function(a){this.V.delete(a)};var Gbd=function(a,b){var c;if(c=b instanceof _.Yk)c=b.Rv(),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)},Hbd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Ebd.prototype.e9=function(a){var b=this;return a.filter(function(c){return!Gbd(b,c)})};var Ibd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Ebd};_.L(Ibd,lP);
var Jbd=function(a,b){Fbd(a.O,sbd(b));(a=Cbd(a,b.Cc()))&&a.PX()};_.g=Ibd.prototype;_.g.getKey=function(a){return a.Cc()};_.g.xia=function(a){return new zbd(this.V,this.W,this,a)};_.g.sxa=function(a){return new zbd(this.V,this.W,this,a)};_.g.Ro=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Cbd(this,b.getId()))&&b.refresh()};_.g.tDa=function(a){return!Gbd(this.O,sbd(a))};
var Kbd=function(a,b){this.O=a;this.H=b},Lbd=function(a,b){b=_.GUb(b);var c=new ybd(a.O,a.H,b);new Promise(function(d,e){return c.Yg(100).then(d,e)})},Mbd=function(){this.Od={}},mP=function(a,b){Nbd(a,"subscribed");b&&Nbd(a,b);return a.Od[b||"subscribed"].le.promise},Nbd=function(a,b){a.Od[b]||(a.Od[b]={count:0,zR:[],g2a:[],le:_.Th()});a.Od[b].count++},Pbd=function(a,b){b&&!Obd(a,b)||Obd(a,"subscribed")},Obd=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].g2a}),_.Xa(a.Od,b));return!0};Mbd.prototype.Ro=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].g2a.push(e);c.Od[d]&&c.Od[d].zR.push(e)})};var Qbd=function(a,b,c){kP.call(this,a,c);this.V=b};_.L(Qbd,kP);Qbd.prototype.via=function(a,b){return a.clone().xi(b)};Qbd.prototype.Jka=function(){return""};Qbd.prototype.Wja=function(a){return[a]};Qbd.prototype.m6=function(a){this.V(a)};
var Rbd=function(a,b,c,d){jP.call(this,a,d.clone());this.ha=b;this.H=this.WS=null;this.W=c};_.L(Rbd,jP);Rbd.prototype.refresh=function(){var a=this;this.jA();this.H=new Qbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};Rbd.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())};
Rbd.prototype.uk=function(){if(this.WS)return this.WS;var a=new LO;a.Dc(this.status);return a};Rbd.prototype.Iu=function(a){this.WS=a;return!0};var Sbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(Sbd,lP);_.g=Sbd.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 Rbd(this.O,this.W,function(c){b.nD(c,!1)},a)};_.g.sxa=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.jq()}).join(", "));lP.prototype.T2.call(this,a,b,c,d)};var nP=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(nP,_.ri);
nP.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};nP.prototype.va=function(a,b){this.V(b);Tbd(this,a)};var Tbd=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")};
nP.prototype.handleError=function(a,b){b=_.aB(b);var c=b.Pg;5===c.gt()||4===c.nk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Tbd(this,a)):(a=new YO(c,_.bk(this.oa.$f(),1,1)),this.dispatchEvent(a),this.le.reject(b))};var Ubd=function(a){var b=new _.LF;b.Pb(a);return b},Vbd=function(a,b,c,d,e){nP.call(this,a.clone(),c,d,e);this.H=b};_.L(Vbd,nP);
Vbd.prototype.W=function(a){var b=new Map;a.en().forEach(function(c){var d=_.KTb(a.clone(),[c]);b.set(c,d)});return b};Vbd.prototype.V=function(a){var b=[];a.RT().forEach(function(c){b.push(c)});this.H(b,!0)};Vbd.prototype.ha=function(){this.H([],!1)};Vbd.prototype.ka=function(a){this.H([Ubd(a)],!0)};var Wbd=function(a,b,c,d,e,f){jP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Yk={};this.H=null};_.L(Wbd,jP);
Wbd.prototype.refresh=function(){this.H=new Vbd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Yg()};Wbd.prototype.Jfa=function(){this.H||this.refresh()};Wbd.prototype.uk=function(){var a=new _.zN;a.Dc(this.status);_.Ma(this.Yk,function(b,c){a.RT().set(c,b||new _.LF)});a.kj(this.jf());return a};Wbd.prototype.Iu=function(a){var b=a.getId();if(_.ak(a,Ubd(a.getId()))){if(this.Yk[b])return delete this.Yk[b],!0}else if(0<=this.request.en().indexOf(b))return this.Yk[b]=a,!0;return!1};
var Xbd=function(a,b){a=a.getState();return null==a||b.getState()==a},Ybd=function(a,b,c){kP.call(this,a,c);this.V=b};_.L(Ybd,kP);Ybd.prototype.via=function(a,b,c){a=a.clone();a.xi(b);return new _.cWc(a,c)};Ybd.prototype.Jka=function(a){return a.pageToken||""};Ybd.prototype.Wja=function(a){return a.response.ll()};Ybd.prototype.m6=function(a){this.V(a)};var Zbd=function(a){this.H=_.hSc(a,{numeric:!0})};
Zbd.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};Zbd.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 $bd=function(a,b,c,d,e){jP.call(this,a,e.clone());this.ha=b;this.Yk=[];this.H=null;this.W=d;a=new Zbd(c);b=(c=this.request.mw())?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($bd,jP);$bd.prototype.refresh=function(){var a=this;this.jA();this.H=new Ybd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.Yg(this.request.Mi()||0)};$bd.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())};$bd.prototype.uk=function(){var a=new aP;a.Dc(this.status);aad(a,this.Yk.map(function(b){return b.clone()}));return new _.EN(a,void 0,1!==this.status&&vbd(this.H),this.jf())};
$bd.prototype.Iu=function(a){var b=_.wa(this.Yk,function(c){return c.getId()===a.getId()});return a&&Xbd(this.request,a)&&!_.ak(a,Ubd(a.getId()))?r1c(this.Yk,a,this.ka):b};var acd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(acd,lP);_.g=acd.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 $bd(this.V,this.ha,nO(_.EL(this.O)),function(c){return void b.nD(c,!1)},a)};_.g.sxa=function(a){var b=this;return new Wbd(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(", "));lP.prototype.T2.call(this,a,b,c,d)};
var bcd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();aO(a)&&(c=(c=a.Pf())?_.B(c,3):"");bO(a)&&(a.Ti()&&(c+="+"+String(a.Ti())),a.Gj()&&(c+="+shared"));return _.gTa(c,b?"32":"16")},ccd=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("&")},dcd=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();aO(a)&&(d=J1c(a));
d=[_.E(b,65,"https://lh3.google.com"),"u",_.SL(_.EL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.el(a));return d=ccd(d,c)},ecd=function(a){this.H=a},gcd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=bcd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.YWc(b,x2c(b,a.H));c.includes(19)&&(d=dcd(b,a.H),_.A(b,20,d));fcd(a,b,c);if(aO(b)){if(d=(d=b.Pf())&&_.Qd(d)){if(c.includes(20)&&c.includes(3)){var e=bcd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.YWc(d,x2c(d,
a.H));c.includes(19)&&(e=dcd(d,a.H),_.A(d,20,e));fcd(a,d,c)}_.bXc(b,!!b.Ox())}},fcd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!bO(b)&&!aO(b)&&!_.zd(e)&&(!b.f7()||2!==b.gp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),aO(b)&&(d=J1c(b)),c=new _.bj(_.E(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.SL(_.EL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.ij(c,"resourcekey",_.el(b)),_.A(b,41,c.toString())))}},hcd=function(a,b){this.Fia="";
this.startTime=b||new Date;this.dea=a;this.Z$=t1c(a)};hcd.prototype.clone=function(){return new hcd(this.dea,this.startTime)};var icd=function(){this.H=null;this.IY=[]},jcd=function(a){return _.We(a.IY,function(b){return _.$a(b)})};icd.prototype.pN=function(){return this.H};
icd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new iad;e.V=had(d.Z$);var f=_.Mg().substring(0,8);d=t1c(f);f=(new I$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).yi(c);this.IY.push(b);e.O=had(d);e.H=fad(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;g3c(k,f);g3c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.hk(d,2,1),k=d.O,g3c(k,f),g3c(k,h));f=e.W;null!=f&&(_.hk(d,3,5),g3c(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.hk(d,4,1),h=d.O,g3c(h,f),g3c(h,e));e=_.ok(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var kcd=function(){this.Cb=[];this.O=this.H=0};kcd.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 lcd=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},mcd=function(a){this.key=a;this.H=new _.hVc;this.O=new _.fVc(new _.hVc,_.oma(a))};mcd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.pma(b);c=ncd(this,a);return b.concat(c,ocd(this,b,a,!0))};
var pcd=function(a,b){var c=ocd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=ncd(a,c);if(b!==a)throw Error("hf");return c},ncd=function(a,b){a=_.gVc(a.O,_.zVc(b));return _.pma(a)},ocd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new kcd;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=_.zVc(c.substring(8192*
e,8192*(e+1))),lcd(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;lcd(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=qcd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=qcd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=qcd(d,e++),k=qcd(d,e++),l=qcd(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=qcd(d,e++),k=qcd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},qcd=function(a,b){return a[Math.floor(b/8192)][b%8192]},rcd=function(a,b,c){this.data=a;this.PZa=b;this.H=c;this.isEncrypted=!1};rcd.prototype.getData=function(){return this.data};
rcd.prototype.Nm=function(){return this.PZa};var scd=function(a,b,c,d){this.O=a;this.H=_.Th();this.yp=!1;this.V=_.E(b,7,"");this.W=_.bk(_.oO(b),6,2E7);this.BG=_.JL(b);this.ha=_.bk(_.oO(b),12,0);this.ka=c;this.Cd=d||null};scd.prototype.initialize=function(){var a=this;this.yp||(this.yp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
scd.prototype.VC=function(a){if(a instanceof _.$A)return 0;if(a instanceof ZO)return 1;if(a instanceof Z5c)return 5;if(a instanceof NO)return 3;if(a instanceof X$c)return 6;throw new _.lc("Unsupported dataShard in getDataType");};var tcd=function(a){if(0==a)return _.$A;if(1==a)return ZO;if(5==a)return Z5c;if(3==a)return NO;if(6==a)return X$c;throw new _.lc("Unsupported dataType:"+a+" in getDataTypeCtor");};scd.prototype.vo=function(a){if(a instanceof NO)return a.vo()};
scd.prototype.Nm=function(a){if(a instanceof NO)return a.Fd().length};
var ycd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.VC(c[0]);c.forEach(function(){});var f=a.vo(c[0]),h=0;3==e&&ucd(a,c);var k=!!b;return vcd(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.Nm()},0);var q=wcd(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&&(m5c(l5c(k5c(p.QE(),_.wN(_.LUc,e)),_.wN(_.IUc,f)),!0),
q.then(function(){var r=h;j5c(p.QE(),!0).Ct(r);p.Zj()},function(){var r=h;j5c(p.QE(),!1).Ct(r);p.Zj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return xcd(a.O,l,e,f,k,d)})})},vcd=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.Nm(l);l instanceof NO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new rcd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.kc;_.PL(k,2);_.aM(k,23);
_.A(k,21,h.message);_.bq(k);a.ka(k);d(h)}c(f)})},ucd=function(a,b){a.vo(b[0]);b.forEach(function(){});a.BG||zcd(b);Acd(a,b)},oP=function(a,b,c,d,e,f){var h=_.Th(),k;_.Uh(a.H.promise.then(function(){return Bcd(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)m5c(l5c(k5c(k.QE(),_.wN(_.LUc,c)),_.wN(_.IUc,d)),!0),q.wn().then(function(r){var u=k;r=void 0!=r;j5c(u.QE(),r);_.CYc(u)});Ccd(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 (tcd(c))(JSON.parse(r));q+=a.Nm(r);p.push(r)});3==c&&(a.BG||Dcd(p),Ecd(p));k&&k.QE().Ct(q)}h.resolve(p)}),function(){k&&k.Zj()}).Gg(h.reject,h);return h.promise},zcd=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){_.WWc(h,Fcd(_.Zk(h),c,d));_.XWc(h,Fcd([h.ym()],c,d)[0]);var k=Fcd([h.Qv()],c,d)[0];_.J(h,
47,k);k=Fcd([h.Lq()],c,d)[0];_.J(h,91,k);k=Fcd([h.gD()],c,d)[0];_.J(h,95,k);if(h=h.Uw())_.SWc(h,Fcd(h.gR(),c,d)),_.TWc(h,Fcd(_.Uj(h,_.Fk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Nj(a[0],2,e)}},Fcd=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},Dcd=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){_.WWc(e,Gcd(_.Zk(e),b,c));_.XWc(e,Gcd([e.ym()],b,c)[0]);var f=Gcd([e.Qv()],b,c)[0];_.J(e,47,f);f=Gcd([e.Lq()],b,c)[0];_.J(e,91,f);f=Gcd([e.gD()],b,c)[0];_.J(e,95,f);if(e=e.Uw())_.SWc(e,Gcd(e.gR(),b,c)),_.TWc(e,Gcd(_.Uj(e,_.Fk,3),b,c))});_.Oj(d,2)})},Gcd=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},Acd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].vo()){for(var d=[],e=b[c].Fd();e.length>a;){var f=_.Ba(e,a-1,a);f=j9c(new NO,f);d.push(f)}j9c(b[c],e);d.length&&_.wb(_.Ba,b,c+1,0).apply(null,d)}}},Ecd=function(a){for(var b={},c=1;c<a.length;b={Eea:b.Eea},c++)if(!a[c].vo()){for(var d=0,e=c;e<a.length&&!a[e].vo();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));j9c(e,b.Eea)}},wcd=function(a,b,c){if(!_.QUc()&&a.V){var d=new Worker(_.zga(_.cy(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=dad(new cad,c);d.postMessage({command:"encrypt",data:{request:c.kc(),key:b}});return e}try{a=[];var f=new mcd(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},Ccd=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(!_.QUc()&&a.V){var f=new Worker(_.zga(_.cy(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 mcd(c);for(c=0;c<d.length;c++)a.push(pcd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Hcd=function(a,b,c){return[a.Qz(),
a.clientId,b?"#":pP(a)].join(":")+":"+(c||"")},Icd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Icd.prototype.getKey=function(){return this.key};Icd.prototype.Ya=function(){return this.value};
var Jcd=function(a,b){a=Hcd(a,b);return N8c(a+"A",a+"z")},Kcd=function(a,b){this.H=a;this.O=b},Lcd=function(a){return a?new Kcd(a.versionKey,a.versionChangeTimestamp):null},Mcd=function(a,b){return a+":"+b},Ncd=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},Ocd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.V0}},Pcd=function(a,b,c,d){a=pP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.ut(":%02d",c)},Qcd=function(a,b,
c,d){c=Pcd(a,b,void 0===c?0:c,d);a=pP(a)+"_"+b;3===b&&(a+="_"+d);return N8c(c,a+":a")},Rcd=function(a){var b=pP(a)+"_";a=pP(a)+"_A";return N8c(b,a)},Scd=function(a){return a?new Ncd(a.data,a.index,a.size,a.timestamp,a.e):null},Tcd=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};Tcd.prototype.Qz=function(){return this.userId};
Tcd.prototype.Lg=function(){return _.ya(this.fields)};
var pP=function(a){if(!a.O){var b=new _.wL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.CSc(b.digest())}return a.O},Ucd=function(a){return{versionKey:pP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},Vcd=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 Tcd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:pP(a)!==d&&(a=null);return a},qP=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(qP,_.N);qP.prototype.initialize=function(){return Wcd(this)};
var Wcd=function(a,b){a.V||(a.V=_.Th(),a.Oa.then(function(){b?(a.va=!1,Xcd(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)"),_.tTc("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,_.IL(c)?c:void 0))}));return a.V.promise},Xcd=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"))};qP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.sXc(b,c)});_.Ma(_.ZL,function(c){var d=_.lVc.get(c);_.qTc(b,c,d?{keyPath:d}:void 0)})};
qP.prototype.oa=function(a){var b;a&&a instanceof _.zL&&"InvalidStateError"==a.getName()&&_.rj.Ow?b=Error("mf"):_.IL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);Ycd(this,!1)};qP.prototype.Ja=function(a){this.ka?a.dispose():(Xcd(this,a),this.Ma(this.H),this.readOnly||Zcd(this).Gg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),Ycd(this,!0))};
var Ycd=function(a,b){if(a.ma){var c=a.ma,d=_.C(_.vN(c),e5c,5);d||(d=new e5c,c=_.vN(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}};qP.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};qP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};qP.prototype.Jf=function(){return this.ka};
var $cd=function(a){return a.ka?a.O:null};qP.prototype.Di=function(){return this.version};
var rP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.rTc(a,[b],c)}catch(d){return null}},Zcd=function(a){var b=_.ZL.K_,c=rP(a,b,"readwrite");if(!c)return _.Rh(Error("of"));c.objectStore(b).put(Ucd(a.Di()));return c.wait().then(function(){})},add=function(a){if(!a.H)return _.Rh(Error("pf"));if(a.Jf())return _.Rh(Error(a.O));var b=_.ZL.K_,c=rP(a,b,"readwrite");return c?c.objectStore(b).remove(pP(a.Di())).then():_.Rh(Error("qf"))},bdd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Scd(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},Bcd=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=Qcd(a.Di(),b,0,c),f=_.ZL.Z5,h=rP(a,f);if(!h)return _.Rh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Th();e.Tf(function(l){l=bdd(l,k,d);a.readOnly||null==l||cdd(a,b,c,l).Gg(function(){})},k.reject);return k.promise},xcd=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:Pcd(a.Di(),c,u,d),data:new Ncd(r.getData(),u,k,h,e),metadata:r}});var l=_.ZL.Z5,p=rP(a,l,"readwrite");if(!p)return _.Rh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=ddd(a,c,d,r.metadata,f);q.put(Ocd(r.data),r.key).then(function(){u&&(j5c(u.QE(),!0),u.Zj())},function(y){var z=y instanceof _.zL?y.code:_.TSc;u&&a.W&&(y=j5c(u.QE(),!1),z=_.wN(_.MUc,z),_.A(y,2,z),u.Zj())})});return p.wait().then(function(){})},ddd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=l5c(k5c(a.QE(),_.wN(_.LUc,b)),_.wN(_.IUc,c)),f=f.vo(d.H),f=_.A(b,5,f),m5c(f,d.isEncrypted),void 0!=d.Nm()&&a.QE().Ct(d.Nm());return a}return null},cdd=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=Qcd(a.Di(),b,d,c);c=_.ZL.Z5;a=rP(a,c,"readwrite");if(!a)return _.Rh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},edd=
function(a){if(!a.H)return _.Rh(Error("Ff"));if(a.Jf())return _.Rh(Error(a.O));var b=Rcd(a.Di()),c=_.ZL.Z5;a=rP(a,c,"readwrite");if(!a)return _.Rh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
qP.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=_.ZL.j7,d=rP(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(Hcd(b,k.global,k.key)).then())});a=_.Sh(f)}else a=_.Sh([e.getAll(Jcd(b,!1)).then(),e.getAll(Jcd(b,!0)).then()]).then(function(k){return q1c(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]!==pP(b)||p[0]!==b.Qz()||p[1]!==String(b.clientId)?null:new Icd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var fdd=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=_.ZL.j7,d=rP(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:Hcd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Sh(f).then(function(){})},gdd=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=_.ZL.j7;a=rP(a,d,"readwrite");if(!a)return _.Rh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(Jcd(c,!1)).then());b&&a.push(d.remove(Jcd(c,!0)).then());return _.Sh(a).then(function(){})},hdd=function(a){if(!a.H)return _.Rh(Error("Qf"));if(a.Jf())return _.Rh(Error(a.O));var b=Mcd(a.Di().Qz(),a.Di().clientId),c=_.ZL.qU;return(a=rP(a,c))?a.objectStore(c).get(b).then(function(d){return Lcd(d)}):_.Rh(Error("Rf"))},idd=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=Mcd(c.Qz(),c.clientId);b=new Kcd(pP(c),b?Date.now():void 0);c=_.ZL.qU;a=rP(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(){})};
qP.prototype.Jl=function(a){var b=this;return this.H?this.Jf()?_.Rh(Error(this.O)):hdd(this).then(function(c){var d=pP(b.Di());if(c)if(a){if(!c.O&&d==c.H&&d!=pP(a))return idd(b,!0);if(c.O&&d==pP(a))return idd(b)}else{if(d!=c.H)return idd(b)}else if(!a)return idd(b)}):_.Rh(Error("Uf"))};var jdd=function(a){if(!a.H)return _.Rh(Error("Vf"));if(a.Jf())return _.Rh(Error(a.O));var b=a.Di(),c=Mcd(b.Qz(),b.clientId);return hdd(a).then(function(d){if(d){d=_.ZL.qU;var e=rP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
qP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.Rh(Error(this.O)):hdd(this).then(function(c){var d=c&&c.H==pP(b.Di());return d&&!a?!1:(c&&d?jdd(b):_.Ph()).then(function(){return _.Sh([gdd(b,a),edd(b),add(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Rh(Error("Wf"))};qP.prototype.close=function(){this.ha("Closing database")};qP.prototype.log=function(a){this.Cd.info("drive.ds.sync.storage.VersionedDb",a)};
var kdd=function(a){if(1>=a.Di())return!1;var b=a.H.objectStoreNames;return _.Sa(_.ZL).every(function(c){return b&&b.contains(c)})},ldd=function(){var a=_.Th();_.tTc("GoogleDriveDs").Tf(function(b){b?kdd(b)?a.resolve(b):(b.close(),_.Uh(O8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},mdd=function(a,b,c){var d=_.Th();a?_.rTc(a,[_.ZL.K_],"readonly").objectStore(_.ZL.K_).getAll().Tf(function(e){e=_.Sa(e).map(function(f){return Vcd(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},ndd=function(a,b,c){var d=_.Th();ldd().then(function(e){if(e){var f=_.ZL.qU;_.rTc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Lcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.ZL.K_,p=_.rTc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=Vcd(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},odd=function(a,b,c){var d=_.Th(),e=new qP(_.Ph(a),b);Wcd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},pdd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=odd(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: "+pP(l)))});d.resolve(k)})},qdd=function(a,b,c){var d=Date.now()-12096E5,e=_.Th();ldd().then(function(f){f?(_.Uh(e.promise,function(){f.close()}),mdd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){pdd(h,c,f,e)})):e.resolve([])});return e.promise},rdd=function(a,b,c){var d=_.Th();ldd().then(function(e){e?(_.Uh(d.promise,function(){e.close()}),
mdd(e,a,b).then(function(f){pdd(f,c,e,d,!0)})):d.resolve([])});return d.promise},sdd=function(a,b,c,d){if(a.length){var e=_.ZL.Z5,f=a.shift(),h=Pcd(f,3,0,1);try{_.rTc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Scd(k))&&(!k.V0||k.V0&&d.has(f.V))?b.resolve(f):sdd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},tdd=function(a,b,c,d,e,f,h){var k=_.Th();ldd().then(function(l){l?(_.Uh(k.promise,function(){l.close()}),mdd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=pP(q))&&q.W==c&&q.H>=e&&I1c(d.filter(function(r){return!_.mVc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),sdd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},udd={key:"rid",global:!0},vdd={key:"ooi",global:!0},wdd={key:"rtds",global:!1},xdd={key:"dct",global:!1},ydd={key:"pc",global:!1},zdd=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
zdd.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(){})})};zdd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?fdd(c,[new Icd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};zdd.prototype.Vn=function(){return this.get(udd).then(function(a){return a?a:null})};zdd.prototype.Eu=function(a){return this.set(udd,a)};
var Add=function(a){return a.get(vdd).then(function(b){return"boolean"===typeof b?b:null})};zdd.prototype.Oy=function(a){return this.set(vdd,a)};var Bdd=function(a){return a.get(ydd).then(function(b){return"boolean"===typeof b?b:null})},Cdd=function(a){return a.get(wdd).then(function(b){return Array.isArray(b)?b:null})},Ddd=function(a){return a.get(xdd).then(function(b){return"number"===typeof b?b:null})},Edd=function(){this.jj=[]};_.L(Edd,_.LN);
Edd.prototype.add=function(a,b){var c=a.yv.request;return c instanceof _.SM&&_.B(c.request,12)?_.LN.prototype.add.call(this,a,b):!1};Edd.prototype.Psa=function(a){return this.jj.splice(0,Math.min(a,1))};var Fdd=function(a,b){this.jj=[];this.H=b};_.L(Fdd,_.LN);Fdd.prototype.add=function(a,b){return a.yv.request instanceof _.SM?!1:_.LN.prototype.add.call(this,a,b)};
Fdd.prototype.Psa=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.yv.request;k instanceof _.mM||k instanceof _.yM||k instanceof _.NM?k="app|"+k.zh():k instanceof _.hM||k instanceof _.iM||k instanceof _.oM||k instanceof _.UL?k="item|"+(k instanceof _.hM?k.Cc():k.getId()):k instanceof _.pM||k instanceof _.zM?k="item|"+k.Cc():k instanceof _.qM||k instanceof _.PM?k="item|"+k.Cc():k instanceof _.lD||k instanceof _.kD?(k=k instanceof _.lD?_.C(k,_.hp,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.ip(k)):k=k instanceof _.rM?"td|"+k.getId():null;var l=h.yv.request;if(l instanceof _.kM)l=!!_.R(l,8);else if(l instanceof _.iM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Fbb.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};
Gdd=function(a,b,c,d,e,f,h,k,l){a=a.$f();h=new _.s_c(k,h,d,_.bk(a,32,1073741824),_.bk(a,21,1E3));h=new _.t_c(h);k=new _.SZc(_.bk(a,59,2E3),_.bk(a,60,2E4),_.bk(a,61,6));c=new _.QZc(l?l:c,l?void 0:e);e={};e[1]=_.v_c(b,d);e[2]=_.w_c(b,a,k,c,d);e[3]=_.x_c(b,a,k,c,d,"batch");l=_.bk(a,10,50);f=new _.NN(d,b,[_.RZc(c),new _.VZc(l,_.bk(a,11,100)),new _.MN(l),new _.KN(k,d)],[new Fdd(a,f),new Edd,new _.LN],[new _.d_c(a,k,c.Jj(),d)],"mutation");return e[4]=f,e[5]=_.y_c(h,a,d),e[6]=_.x_c(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.x_c(b,a,k,c,d,"xd4_batch"),e[8]=_.x_c(b,a,k,c,d,"xd4_batch_one",1),e};Hdd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Idd=function(a){var b={};return b.parentId=a.Ik(),b};Jdd=function(a){var b={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());_.L0c(b,_.Md(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Kdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b};Ldd=function(a){var b={};b.sourceIds=_.Md(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Mdd=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=_.qXc(_.pYc(_.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)}_.L0c(b,_.Md(a,8));return b};Ndd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
Odd=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,_.Y4c,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};
Pdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.O0c[a.getState()])&&(b.state=a);return b};_.Qdd=function(a){_.O(this,a,-1,null,null)};_.L(_.Qdd,_.K);_.Qdd.prototype.O=function(){return _.B(this,1)};var Rdd=function(a){_.O(this,a,-1,null,null)};_.L(Rdd,_.K);Rdd.prototype.O=function(){return _.R(this,1)};Rdd.prototype.V=function(){return _.B(this,2)};_.sP=function(a){_.O(this,a,-1,null,null)};_.L(_.sP,_.K);_.g=_.sP.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.Rsa=function(){return _.B(this,3)};_.g.Yy=function(){return _.B(this,4)};_.g.C$=function(){return _.C(this,Rdd,6)};_.g.ysb=function(){return _.C(this,_.Qdd,7)};_.g.EVa=function(){return _.B(this,8)};_.g.Qsa=function(){return _.R(this,9)};_.tP=function(a){_.O(this,a,-1,null,null)};_.L(_.tP,_.K);_.g=_.tP.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)};_.Sdd=function(a,b){return _.A(a,6,b)};_.tP.prototype.Qe=function(){return _.B(this,8)};_.tP.prototype.nm=function(a){return _.A(this,8,a)};
_.tP.prototype.O=function(){return _.R(this,9)};_.uP=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=z2c(new _.WN,[1]);this.limit=e.Mi();this.Pe=0;_.we(this,function(){h.O=!1;h.H=[]})};_.L(_.uP,_.ri);_.g=_.uP.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()||Tdd(this)};_.g.wd=function(){return this.request};_.g.Mi=function(){return this.limit};_.g.Ab=function(){return this.status};_.g.Rq=function(){return this.ka};_.g.Tj=function(){return this.ha};_.g.bs=function(){var a=_.vSc().Ez(this.H,this.items),b=(new _.ISc).Dc(this.Ab());a=_.Nj(b,2,a);this.H=this.items;return a};_.g.Fr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.wi(),this.limit))};
var Udd=function(a,b){return a.Ab()!==b.Ab()||pO(_.vSc(),a.items,b.Fd())},Vdd=function(a,b){a.items=b.Fd();a.status=b.Ab();_.JL(a.Ba)&&(a.ka=A2c(a.status,a.items));a.ha=b.jl();a.Pe=b.jf()};_.uP.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.uP.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
_.uP.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+UO(this.V,this.wd());return _.$h(this.va.then(function(d){return d.wMb(a,b,c.wd(),c.Mi(),c.items)}))};
var Tdd=function(a){a.isActive()&&(a.log("Livelist "+a.wi()+" returning "+a.items.length+". Status: "+(_.ab(V5c)[a.Ab()]+". Datasource: ")+(_.ab(Y6c)[a.Pe]+". Query: ")+(UO(a.V,a.request)+" ")+B2c(a.items)),Wdd(a,a.items,a.request),a.dispatchEvent(new _.gi(_.xc,a)))},Wdd=function(a,b,c){if(_.AM(c))c="quick access";else if(_.BM(c))c="people predict";else if(_.CM(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))};_.uP.prototype.refresh=function(){};_.uP.prototype.log=function(a){this.Fa.info(this.W,a)};var e3c=[90,59,75];_.t("sy1m3");
var Xdd=function(a){_.O(this,a,-1,null,null)};_.L(Xdd,_.K);
var Ydd=function(a){_.O(this,a,-1,null,null)};_.L(Ydd,_.K);Ydd.prototype.getType=function(){return _.B(this,1)};var Zdd=function(a){var b=new Ydd;return _.A(b,1,a)},$dd=function(a,b){return _.J(a,2,b)};Ydd.prototype.my=function(){return _.B(this,3)};Ydd.prototype.Py=function(a){return _.A(this,3,a)};Ydd.prototype.Ni=function(){return _.B(this,4)};Ydd.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 aed=function(a){var b=new vP;return _.A(b,1,a)};vP.prototype.jn=function(){return _.C(this,KO,2)};var bed=function(a,b){return _.J(a,2,b)};vP.prototype.my=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 wP=function(a){_.O(this,a,-1,null,null)};_.L(wP,_.K);wP.prototype.getType=function(){return _.B(this,1)};var ced=function(a){var b=new wP;return _.A(b,1,a)};wP.prototype.jn=function(){return _.C(this,_.LF,2)};var ded=function(a,b){return _.J(a,2,b)};wP.prototype.my=function(){return _.B(this,3)};wP.prototype.Py=function(a){return _.A(this,3,a)};wP.prototype.Ni=function(){return _.B(this,4)};wP.prototype.setPosition=function(a){return _.A(this,4,a)};
var eed=function(a){_.O(this,a,-1,null,null)};_.L(eed,_.K);eed.prototype.Ab=function(){return _.B(this,1)};eed.prototype.Dc=function(a){return _.A(this,1,a)};eed.prototype.tr=function(){return _.C(this,_.JO,2)};
var ged=function(a){_.O(this,a,-1,fed,null)};_.L(ged,_.K);ged.prototype.Ab=function(){return _.B(this,1)};ged.prototype.Dc=function(a){return _.A(this,1,a)};ged.prototype.$j=function(){return _.B(this,3)};var fed=[2];
var hed=function(a){_.O(this,a,-1,null,null)};_.L(hed,_.K);hed.prototype.qd=function(){return _.C(this,rO,1)};hed.prototype.Tn=function(){return _.B(this,2)};
var ied=function(a){_.O(this,a,-1,null,null)};_.L(ied,_.K);_.g=ied.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.tr=function(){return _.C(this,_.JO,2)};_.g.$j=function(){return _.B(this,3)};_.g.zh=function(){return _.B(this,4)};
var xP=function(a){_.O(this,a,-1,null,null)};_.L(xP,_.K);xP.prototype.Ab=function(){return _.B(this,1)};xP.prototype.Dc=function(a){return _.A(this,1,a)};xP.prototype.$j=function(){return _.B(this,3)};
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.$j=function(){return _.B(this,2)};_.g.OMa=function(){return _.C(this,_.hp,3)};_.g.getKey=function(){return _.C(this,_.Ob,4)};_.g.vs=function(){return _.P(this,4)};
var led=function(a){_.O(this,a,-1,null,ked)};_.L(led,_.K);led.prototype.getKey=function(){return _.B(this,1)};led.prototype.vs=function(){return _.P(this,1)};var ned=function(a){_.O(this,a,-1,med,null)};_.L(ned,_.K);var ked=[[2,4,6,10],[3,5,7,8,9]],med=[1];
var oed=function(a){_.O(this,a,-1,null,null)};_.L(oed,_.K);
var yP=function(a){_.O(this,a,-1,ped,null)};_.L(yP,_.K);yP.prototype.Ab=function(){return _.B(this,1)};yP.prototype.Dc=function(a){return _.A(this,1,a)};yP.prototype.O=function(){return _.Uj(this,xO,2)};var qed=function(a,b){return _.Nj(a,2,b)};yP.prototype.$j=function(){return _.B(this,3)};var ped=[2];
var red=function(a){_.O(this,a,-1,null,null)};_.L(red,_.K);red.prototype.Ab=function(){return _.B(this,1)};red.prototype.Dc=function(a){return _.A(this,1,a)};red.prototype.O=function(){return _.C(this,xO,2)};red.prototype.$j=function(){return _.B(this,3)};
var sed=function(a){_.O(this,a,-1,null,null)};_.L(sed,_.K);sed.prototype.ly=function(){return _.B(this,2)};
var ued=function(a){_.O(this,a,-1,ted,null)};_.L(ued,_.K);ued.prototype.Ab=function(){return _.B(this,1)};ued.prototype.Dc=function(a){return _.A(this,1,a)};ued.prototype.zj=function(){return _.Uj(this,_.qSc,2)};ued.prototype.jr=function(a,b){return _.Xj(this,2,a,_.qSc,b)};var ted=[2];
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.ll=function(){return _.Uj(this,vP,2)};var ved=[2];
_.yed=function(a){_.O(this,a,-1,xed,null)};_.L(_.yed,_.K);var xed=[1];
var zP=function(a){_.O(this,a,-1,zed,null)},Ced,Ded;_.L(zP,_.K);zP.prototype.Tn=function(){return _.B(this,1)};var Aed=function(a,b){return _.A(a,1,b)},Bed=function(a,b){return _.A(a,2,b)};zP.prototype.Ab=function(){return _.B(this,3)};zP.prototype.Dc=function(a){return _.A(this,3,a)};Ced=function(a,b){return _.A(a,4,b)};Ded=function(a,b){return _.Nj(a,5,b)};_.Eed=function(a){_.O(this,a,-1,null,null)};_.L(_.Eed,_.K);_.Eed.prototype.$b=function(){return _.B(this,2)};
_.Ged=function(a){_.O(this,a,-1,Fed,null)};_.L(_.Ged,_.K);var Hed=function(a,b){return _.A(a,1,b)},Ied=function(a,b){return _.A(a,2,b)},Jed=function(a,b){return _.Nj(a,3,b)},zed=[5],Fed=[3];
_.AP=function(a){_.O(this,a,-1,Ked,null)};_.L(_.AP,_.K);_.AP.prototype.JV=function(){return _.Uj(this,_.GF,2)};_.AP.prototype.xe=function(){return _.C(this,_.lf,3)};var Ked=[1,2];
_.BP=function(a){_.O(this,a,-1,null,null)};_.L(_.BP,_.K);_.BP.prototype.Ab=function(){return _.B(this,1)};_.BP.prototype.Dc=function(a){return _.A(this,1,a)};_.BP.prototype.Fh=function(){return _.C(this,_.$A,2)};_.Led=function(a,b){return _.J(a,2,b)};_.BP.prototype.$j=function(){return _.B(this,3)};
var Med=function(a){_.O(this,a,-1,null,null)};_.L(Med,_.K);Med.prototype.Ab=function(){return _.B(this,1)};Med.prototype.Dc=function(a){return _.A(this,1,a)};
var Oed=function(a){_.O(this,a,-1,Ned,null)};_.L(Oed,_.K);Oed.prototype.Ab=function(){return _.B(this,1)};Oed.prototype.Dc=function(a){return _.A(this,1,a)};Oed.prototype.ll=function(){return _.Uj(this,wP,2)};var Ned=[2];
var Ped=function(a){_.O(this,a,-1,null,null)};_.L(Ped,_.K);Ped.prototype.getType=function(){return _.B(this,1)};var Qed=function(a){var b=new Ped;return _.A(b,1,a)};Ped.prototype.my=function(){return _.B(this,3)};Ped.prototype.Py=function(a){return _.A(this,3,a)};Ped.prototype.Ni=function(){return _.B(this,4)};Ped.prototype.setPosition=function(a){return _.A(this,4,a)};
var Sed=function(a){_.O(this,a,-1,Red,null)};_.L(Sed,_.K);Sed.prototype.Ab=function(){return _.B(this,1)};Sed.prototype.Dc=function(a){return _.A(this,1,a)};Sed.prototype.$j=function(){return _.B(this,3)};var Red=[2];
_.Ted=function(a){_.O(this,a,-1,null,null)};_.L(_.Ted,_.K);_.Ted.prototype.getId=function(){return _.B(this,1)};_.Ted.prototype.Pb=function(a){return _.A(this,1,a)};_.Ted.prototype.xe=function(){return _.C(this,_.lf,4)};
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.$j=function(){return _.B(this,3)};var Ued=[2,4];
_.CP=function(a){_.O(this,a,-1,null,null)};_.L(_.CP,_.K);_.CP.prototype.getType=function(){return _.B(this,1)};var Wed=function(a){var b=new _.CP;return _.A(b,1,a)},Xed=function(a,b){return _.J(a,2,b)};_.CP.prototype.my=function(){return _.B(this,3)};_.CP.prototype.Py=function(a){return _.A(this,3,a)};_.CP.prototype.Ni=function(){return _.B(this,4)};_.CP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.R2c=function(a){_.O(this,a,-1,null,null)};_.L(_.R2c,_.K);_.g=_.R2c.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.En=function(){return _.P(this,2)};_.g.gt=function(){return _.B(this,4)};
var Zed=function(a){_.O(this,a,-1,Yed,null)};_.L(Zed,_.K);var Yed=[2,4];
var afd=function(a){_.O(this,a,-1,$ed,null)};_.L(afd,_.K);var $ed=[1];
var cfd=function(a){_.O(this,a,-1,bfd,null)};_.L(cfd,_.K);cfd.prototype.Ab=function(){return _.B(this,1)};cfd.prototype.Dc=function(a){return _.A(this,1,a)};cfd.prototype.$j=function(){return _.B(this,3)};var bfd=[2];
var efd=function(a){_.O(this,a,-1,dfd,null)};_.L(efd,_.K);efd.prototype.Ab=function(){return _.B(this,1)};efd.prototype.Dc=function(a){return _.A(this,1,a)};efd.prototype.$j=function(){return _.B(this,3)};var dfd=[2];
var ffd=function(a){_.O(this,a,-1,null,null)};_.L(ffd,_.K);
var hfd=function(a){_.O(this,a,-1,gfd,null)};_.L(hfd,_.K);hfd.prototype.O=function(){return _.B(this,2)};var ifd=function(a,b){_.A(a,2,b)},gfd=[1];
var jfd=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(jfd,_.gi);
var kfd=function(a,b){_.gi.call(this,"Pb");this.yPa=a;this.rua=b};_.L(kfd,_.gi);
var lfd=function(){};_.g=lfd.prototype;_.g.xM=function(a,b){return d7c(c7c(1),a).setPosition(b)};_.g.wM=function(a,b){return d7c(c7c(2).setPosition(b),a)};_.g.EE=function(a,b,c){return d7c(c7c(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return d7c(c7c(4),a).setPosition(b)};_.g.$M=function(a){return _.C(a,uO,2)};
var mfd=function(){_.mL.call(this,new lfd,function(a){return a&&a.getName()})};_.L(mfd,_.mL);
var DP=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=z2c(new _.WN,[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(DP,_.ri);_.g=DP.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.Tt)),this.Mc.listen(this.connectionState,[].concat(_.jd(Object.values(_.bB))),_.wb(this.Tt)),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,[_.bB.zL,_.bB.rU],function(){a.WG();a.dispatchEvent(new _.gi(_.gq))}):(this.WG(),this.dispatchEvent(new _.gi(_.gq))))};_.g.WG=function(){};
_.g.Fr=function(a){var b=this;if(this.Tj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Tt();this.W.Ue()?this.Mc.od(this.W,"Ab",function(d){d.Ue()||b.dP()}):this.dP()}};_.g.GL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ab=function(){return this.status};_.g.Rq=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 nfd=function(a,b,c,d,e){DP.call(this,a,b,e.Mi()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new mfd;this.ma=d};_.L(nfd,DP);_.g=nfd.prototype;_.g.WG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){return h7c(new AO,this.data).Dc(this.status)};_.g.bs=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new f7c).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ma(this.wi(),this.limit)};_.g.Tt=function(){if(this.active){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,ofd(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()||pO(0,this.data,b.O()))this.H=!0,this.status=b.Ab(),this.data=b.O(),this.ha=a.H,ofd(this)};
var ofd=function(a){a.log("Livelist "+a.wi()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.ab(V5c)[a.Ab()]+"."));a.dispatchEvent(new _.gi(_.xc,a))};nfd.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};nfd.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var pfd=function(a,b,c,d,e,f,h){_.uP.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(pfd,_.uP);pfd.prototype.getData=function(){this.H=this.items;var a=E4c((new _.RA).Dc(this.Ab()).Pw(this.items),this.Tj());a=_.J(a,7,this.oa).CP(this.suggestionSessionId).kj(this.Pe);return _.Kj(a,18,this.ma)};
pfd.prototype.update=function(a){if(Udd(this,a)&&(Vdd(this,a),this.oa=a.l6(),this.suggestionSessionId=a.Vf(),this.ma=a.Aka(),Tdd(this),this.suggestionSessionId&&j$c(this.V)&&(a=this.Cd.H(106027)))){var b=_.C(_.vN(a),q5c,20);if(!b){b=new q5c;var c=_.vN(a);_.J(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Zj()}};
var qfd=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=ded(ced(4),f),c[e]=d):(d=ded(ced(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=ded(ced(1),d),c[e]=d)});return c},rfd=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(qfd(a,b))};
var sfd=function(a,b){_.ri.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(sfd,_.ri);_.g=sfd.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.Rq=function(){return new _.WN};_.g.getData=function(){this.H=this.data;var a=(new _.zN).Dc(this.status);_.Ma(this.data,function(b,c){a.RT().set(c,b||new _.LF)});return a};
_.g.bs=function(){var a=qfd(this.H,this.data);this.H=this.data;var b=(new Med).Dc(this.status);_.Ma(a,function(c,d){_.Ij(b,2,wP).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=Ubd(d));b[d]=c});if(this.status!==a.Ab()||rfd(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 tfd=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=z2c(new _.WN,[1]);this.log("Creating find by ids live map: "+this.request.en().join(", "));_.we(this,function(){h.O=!1;h.H=[]})};_.L(tfd,_.ri);_.g=tfd.prototype;_.g.wi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||ufd(this)};_.g.wd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.xN;_.JL(this.V)?a.Dc(N1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.bs=function(){var a=C2c(this.H,this.items),b=new a7c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Ab=function(){return this.status};_.g.Rq=function(){return this.W};_.g.lT=function(a){f$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().en(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);vfd(b,a)}):vfd(this,a)};var vfd=function(a,b){if(a.status!==b.Ab()||D2c(a.items,b.map))a.status=b.Ab(),a.items=b.map,_.JL(a.V)&&(a.W=A2c(a.status,Object.values(a.items))),ufd(a)};tfd.prototype.oB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};tfd.prototype.nW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var ufd=function(a){a.O&&(a.log("Livelist "+a.wi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(V5c)[a.Ab()]+". Query: ")+(UO(a.ka,a.request)+" ")+B2c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.xc,a)))};tfd.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var wfd=function(a,b,c,d,e,f){_.uP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(wfd,_.uP);wfd.prototype.getData=function(){this.H=this.items;var a=(new _.yN).Dc(this.Ab()).Pw(this.items);var b=this.Tj();a=_.A(a,4,b);return X5c(a,this.ma).CP(this.suggestionSessionId).kj(this.Pe)};wfd.prototype.update=function(a){Udd(this,a)&&(Vdd(this,a),this.ma=_.Uj(a,_.Fk,6),this.suggestionSessionId=a.Vf(),Tdd(this))};
var xfd=function(){};_.g=xfd.prototype;_.g.xM=function(a,b){return bed(aed(1),a).setPosition(b)};_.g.wM=function(a,b){return bed(aed(2).setPosition(b),a)};_.g.EE=function(a,b,c){return bed(aed(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return bed(aed(4),a).setPosition(b)};_.g.$M=function(a){return a.jn()};
var yfd=function(){_.mL.call(this,new xfd,function(a){return a&&a.jq()})};_.L(yfd,_.mL);
var zfd=function(a,b,c){DP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new yfd;this.suggestionSessionId=null;this.ka=c};_.L(zfd,DP);_.g=zfd.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 e9c(d9c((new LO).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.bs=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new wed).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Tt=function(){var a=this.status;this.GL();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()||pO(0,this.data,a.ll())){this.changed=this.H=!0;this.data=a.ll();if(a=a.Vf())this.suggestionSessionId=a;this.Tt()}};_.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 Afd=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=z2c(new _.WN,[1]);this.O=!0;this.limit=a.Mi();_.we(this,function(){d.H=!1;d.V=[]})};_.L(Afd,_.ri);_.g=Afd.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.Rq=function(){return this.W};_.g.Tj=function(){return this.O};_.g.getData=function(){this.V=this.items;return E4c((new _.RA).Dc(this.status).Pw(this.items),this.O)};_.g.bs=function(){var a=_.vSc().Ez(this.V,this.items),b=(new _.ISc).Dc(this.status);a=_.Nj(b,2,a);this.V=this.items;return a};_.g.Fr=function(a){this.H&&(this.limit+=a||20,this.ka.EF(this.wi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Ab()||pO(_.vSc(),this.items,a.Fd()))this.items=a.Fd(),this.status=a.Ab(),_.JL(this.ha)&&(this.W=A2c(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.zu=function(){throw Error("Zf");};_.g.refresh=function(){};
var Bfd=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=z2c(new _.WN,[1]);this.context.Sf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.en().join(", "));_.we(this,function(){d.V=!1;d.O=[]})};_.L(Bfd,_.ri);_.g=Bfd.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 _.xN;a.Dc(this.status);a.map=this.H;return a};_.g.bs=function(){var a=C2c(this.O,this.H),b=new a7c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Ab=function(){return this.status};_.g.Rq=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()||D2c(this.H,a.map))this.status=a.Ab(),this.H=a.map,_.JL(this.context.Oc)&&(this.W=A2c(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 Cfd=function(){};_.g=Cfd.prototype;_.g.xM=function(a,b){return ded(ced(1),a).setPosition(b)};_.g.wM=function(a,b){return ded(ced(2).setPosition(b),a)};_.g.EE=function(a,b,c){return ded(ced(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return ded(ced(4),a).setPosition(b)};_.g.$M=function(a){return a.jn()};
var Dfd=function(){_.mL.call(this,new Cfd,function(a){return a&&a.getId()})};_.L(Dfd,_.mL);
var Efd=function(a,b,c){DP.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 Dfd};_.L(Efd,DP);_.g=Efd.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 aad((new aP).Dc(this.status),this.data.slice(0))};_.g.bs=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new Oed).Dc(this.status);return _.Nj(b,2,a)};
_.g.dP=function(){this.ka.EF(this.wi(),this.limit)};_.g.Tt=function(){var a=this.status;this.GL();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()||pO(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 Ffd=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=Ffd.prototype;_.g.txa=function(a){var b=this,c=new pfd(this.context.Gm,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.wxa=function(a){var b=this,c=new wfd(this.context.Gm,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.qxa=function(a){var b=this,c=new tfd(this.context.Oc,this.context.Gm,this.context.Sf(),this.context.d_,this.kZ.bind(this),a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.zxa=function(a){var b=this,c=new Afd(a,this,this.context.Oc);this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.Axa=function(a){var b=this,c=new Bfd(this.context,this,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.Dxa=function(a){var b=this,c=new Efd(this.context,a,this);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.xxa=function(a){var b=this,c=new zfd(this.context,a,function(){if(a instanceof _.JF){var d=Gfd(b.context);Cbd(d,d.getKey(a)).refresh()}});this.ai(c);_.we(c,function(){b.ik(c)});return c};
_.g.Exa=function(a){var b=this,c=new sfd(this.context,a);this.ai(c);_.we(c,function(){b.ik(c)});return c};_.g.nxa=function(a){var b=this,c=new nfd(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 _.Kz)a=this.O.ai(b,a.wd());else if(a.wd()instanceof _.MF)a=Abd(this.O,b,a.wd());else if(a.wd()instanceof _.JF)a=Gfd(this.context).ai(b,a.wd());else if(a.wd()instanceof _.XF)a=this.oa.ai(b,a.wd());else{var c=a.wd(),d=UO(this.context.Gm,c,2);this.log("Registering LiveList "+a.wi()+" "+d);a=this.W.ai(b,c)}"boolean"===typeof a&&K$c(this.ha,b,a)};
_.g.ik=function(a){if(a.wd()instanceof _.Kz)this.O.ik(a.wi(),a.wd());else if(a.wd()instanceof _.MF)Bbd(this.O,a.wi(),a.wd());else if(a.wd()instanceof _.JF)Gfd(this.context).ik(a.wi(),a.wd());else if(a.wd()instanceof _.XF)this.oa.ik(a.wi(),a.wd());else{var b=a.wd(),c=UO(this.context.Gm,b,2);this.log("Unregistering LiveList "+a.wi()+" "+c);this.W.ik(a.wi(),b)}XO(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=Hfd(this,a).wd();c.xi(b);c instanceof _.Kz?this.O.ai(a,c):c instanceof _.MF?Abd(this.O,a,c):c instanceof _.XF?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?y1c(c.O(),b.Fd().filter(function(d){return!RO(d)})):c instanceof _.$z&&y1c(c.O(),Object.values(b.map).filter(function(d){return d&&!RO(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&&(N$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])XO(this.ha,a,3),d.oB(c)};
_.g.Pka=function(a){return Hfd(this,a).wd()};var Hfd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};Ffd.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var EP=function(a,b){_.ri.call(this);this.O=a;this.request=b;this.le=_.Th();this.complete=!1;this.H=""};_.L(EP,_.ri);EP.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};EP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new kfd(0,this.H));Ifd(this)};
var Ifd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Te(new _.TVc(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 Zed;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=_.QL(_.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 kfd(b.O,
a.H)),Ifd(a)}).Gg(function(b){a.handleError(b)})},5E3)};EP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Te(new _.SVc(a.H))}).then(this.V.bind(this)).Gg(this.handleError.bind(this))};EP.prototype.V=function(){if(!this.complete){var a=new Zed;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.le.resolve(a);this.complete=!0;this.dispose()}};EP.prototype.handleError=function(a){this.complete=!0;this.le.reject(_.cM(a));this.dispose()};
var Jfd=function(){_.gi.call(this,"VbxEwf")};_.L(Jfd,_.gi);
var Kfd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=Kfd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.$L,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.OM=function(a){return _.Zh(this.context.uf.wm.H(a))};_.g.aR=function(){return _.Zh(this.context.LA.aR())};
_.g.k5=function(a,b,c){var d=new _.Vh;if(_.C(a,_.KL,3)||_.C(a,_.TM,4)||_.C(a,_.HN,5)||_.C(a,_.QM,6)||_.C(a,_.rM,7)||_.C(a,_.kM,8)||_.C(a,_.oM,9)||_.C(a,_.UL,10)){var e=H$c(a);this.context.Qm().then(function(f){return f.Te(e,{I7a:b,J7a: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 _.IN){c=b.qd().Fd();var e=_.B(b,2);d=b.Tn()}else if(b instanceof _.VM)b.getItem()&&c.push(b.getItem()),e=b.YM();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:"+_.EL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.gia=function(){this.context.Ss.iS();var a=this.context.Oc;rdd(_.hN(_.EL(a)),_.iN(a),this.context.Sf()).Gg(function(){})};
_.g.s9=function(){return _.VUc[_.Gj(this.context.Oc.$f(),8,0)]};_.g.Dda=function(){this.context.QF.H=new hcd(_.Mg().substring(0,8))};_.g.US=function(){var a=this.context.QF.pN(),b=null;a&&(b=jcd(this.context.QF),b={traceId:a,spanRecs:b});a=this.context.QF;a.H=null;a.IY=[];return _.Zh(b)};_.g.pN=function(){return _.Zh(this.context.QF.pN())};
_.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.wm.Ld();c=this.context.uf.Uu;var d=c.H;d&&(b.cs_sutd=d.k8,b.cs_ss=d.Ld());b.cs_ch=Cad(c).length;b.cs_td=c.dW().length;(c=this.context.o6)&&(b.t_cps=c.aub().join(","));b.t_id=Lfd(this.context);var e=
[];Mfd(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 Jfd),this.vc.Gu())};
_.g.Jl=function(a){var b=this.context.Zy;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.zZc(b))};
var Pfd=function(a,b){this.context=a;this.Jg=b;this.H=_.FVc(_.pN(this.Jg),Nfd);this.O=_.FVc(_.pN(this.Jg),Ofd)};
Pfd.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){_.JVc(h);var k=h.getId(),l=b.context.Vn();_.cXc(h,3);_.XL(h,5);var p=T1c(h,!0);h.getCapabilities()||_.dN(h,new _.Tk);_.R(p,2)&&((p=h.mk())&&p.length?_.A(h,46,p[0]):(_.cN(h,[l]),_.A(h,46,l)),l=h.Aq(),_.A(h,12,l),l=new _.Fk,l.Pb(d),_.A(l,6,1),_.pWc(l,!0),_.XWc(h,l),_.WWc(h,[l]),_.MTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.uf;var f=R9c(c.wm,a);_.Ma(f,function(h,
k){$N(h.getItem(),e[k],b.H);(b.context.Jj().Ue()||b.context.rk().Ue()||3===cO(h.getItem()))&&$N(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Wk(h.Om())&&(f[h.getId()]=new PO(h))});Qfd(c,Object.values(f))};
var Rfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ol(c)},Sfd=function(a){a=a.context.uf;var b=new _.Ye;b.Jl(!0);b=T9c(a.wm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===cO(f)){var h=new _.NL;_.OL(h,f.getId());_.YL(h);d.push(h)}else h=new _.Ina,_.YN(h,!1),_.A(h,2,!1),_.J(f,81,h),c.push(b[e])}Qfd(a,c);a.Ro(d)},Nfd=[50],Ofd=[12,11,10,67,68];
var Tfd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Pfd(a,a.Jg)};_.g=Tfd.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 Sfd(this.O)};_.g.Gab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ol(a);dP(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);Rfd(this.O,a)};_.g.log=function(a){this.context.Sf().info("drive.ds.sync.offline.LocalDataService",a)};
var FP=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 Tfd(a);this.context.ha=b;this.Fa=new Kfd(a,this);y2c(this.Fa);(b=_.C(a.Oc,_.$L,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Qj;this.W=a.Mfa;this.V=new Ffd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.qSa()};_.L(FP,_.ri);_.g=FP.prototype;_.g.qSa=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(){_.FN(a.context.Sk(),181008852)});var c=_.jN(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(_.bB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();dP(this.O,"NSockf")}return this.ma.promise};_.g.iXa=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 GP("teamDriveQuery");};_.g.Sda=function(){throw GP("teamDriveFindByIds");};
_.g.hqa=function(){throw GP("teamDriveMovePreflight");};_.g.$Fa=function(){throw GP("peoplePredictQuery");};_.g.query=function(a){h$c(this.context.Gm,a,z5c(this.context.Jg));this.iF();var b=a.clone();b=this.V.txa(b);this.Ta||(a=a.xe(),a&&121===_.B(a,1)||(this.Ta=!0,this.Mc.listen(b,_.xc,this.PMa)));return b};_.g.PMa=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.PMa)}};_.g.Gq=function(a){this.iF();f$c(a);return this.V.qxa(a.clone())};
_.g.tva=function(){throw GP("activityQuery");};_.g.hwa=function(){throw GP("backupsQuery");};_.g.JGa=function(){throw GP("refreshBackups");};_.g.AV=function(){throw GP("getAndroidBackupItems");};_.g.z8=function(){throw GP("deleteBackup");};_.g.cGa=function(){throw GP("permissionQuery");};_.g.kaa=function(){throw GP("insertPermission");};_.g.A8=function(){throw GP("deletePermission");};_.g.xd=function(){throw GP("mutate");};_.g.XN=function(){throw GP("mutateWorkspace");};
_.g.oz=function(){throw GP("bulkMutate");};_.g.pxa=function(){throw GP("createFileUploader");};_.g.ESa=function(a){return new EP(this.context.Qm(),a)};_.g.Hq=function(a){if(3===a.getType())return _.$h(this.context.Qm().then(function(b){return b.Te(a)}).then(null,_.dM));throw GP("getApps with type "+a.getType());};_.g.tr=function(){throw GP("getApp");};_.g.maa=function(){throw GP("installApp");};_.g.y8=function(){throw GP("deleteApp");};_.g.iT=function(){throw GP("updateApp");};
_.g.tN=function(){throw GP("getUserAccount");};_.g.UG=function(){throw GP("getUserPrefs");};_.g.XR=function(){throw GP("mutateUserPref");};_.g.hu=function(){throw GP("getRevisions");};_.g.bCa=function(){return!1};_.g.Jl=function(a){this.context.Zy?a?_.AZc(this.context.Zy,!0):this.context.rk().Ue()&&this.context.Zy.oM(!0).then(null,function(){}):this.context.Jj().Jl(a)};_.g.Oy=function(){throw GP("setOfflineOptIn");};_.g.pY=function(){throw GP("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(A$c(new z$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.oM():_.Ph(_.jZc(0))};_.g.sync=function(){throw GP("sync");};_.g.Gu=function(){return this.context.Gu()};
_.g.Fba=function(){throw GP("offlineDataLoaded");};_.g.boa=function(a){return this.context.Qm().then(function(b){return b.Te(a)}).then(function(b){return b})};_.g.Jwa=function(){throw GP("categoryMetadataQuery");};_.g.U7=function(){throw GP("changeCategoryLinks");};_.g.fP=function(){throw GP("updateCategoryMetadata");};_.g.uGa=function(){throw GP("publishedCategoriesQuery");};_.g.noa=function(){throw GP("publishedCategoryQuery");};_.g.qLa=function(){throw GP("workspaceFindByIdsRequest");};
_.g.cra=function(){throw GP("workspaceQueryRequest");};_.g.FJa=function(){throw GP("suggestedWorkspaceItemQueryRequest");};_.g.GJa=function(){throw GP("suggestedWorkspaceQueryRequest");};_.g.Q_=function(){throw GP("addCacheHint");};_.g.x0=function(){throw GP("createUserFeedback");};_.g.Ro=function(){throw GP("handleChanges");};var GP=function(a){return new _.lc(a+" is unsupported",_.bM(3))};
var b3c=function(a){FP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Eu("")};_.L(b3c,FP);b3c.prototype.$a=function(){cP(this.O,["NSockf"],this.iXa.bind(this))};
var Ufd=new Set([1,2,4,5,6]),Vfd=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};Vfd.prototype.Fh=function(){var a=new _.BP;a.Dc(this.status);this.H&&_.Led(a,this.H?this.H.clone():null);return a};
var Wfd=function(a,b,c,d){d=void 0===d?!1:d;var e=Ufd.has(c);if(1===a.status&&!e)return!1;a.Pe=c;var f=a.status;c=!a.H;if(_.JL(a.O)){var h=(h=b&&b.getUser())&&_.WF(h);h=!(!h||!kbd(a.ka,h));a.status=h&&e||d?1:6}f=!_.ak(a.H,b)||(_.JL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.JL(a.O)||(a.status=e||d?1:6);c&&(dP(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};Vfd.prototype.jf=function(){return this.Pe};
var Xfd=function(a){_.ri.call(this);this.ha=a;this.Pe=0};_.L(Xfd,_.ri);var Yfd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};W8c(a,_.Md(a,4).map(b));X8c(a,_.Md(a,5).map(b));return a};_.g=Xfd.prototype;_.g.Hq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.gQ=function(){};_.g.lD=function(){return 0!==this.Pe};_.g.jf=function(){return this.Pe};
var Zfd=new Set([1,2,4,5,6]),$fd=function(a,b,c){Xfd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.yp=!1};_.L($fd,Xfd);$fd.prototype.Hq=function(){var a=new ZO;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};$fd.prototype.put=function(a){this.H[a.getId()]=Yfd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};$fd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
$fd.prototype.gQ=function(a,b,c){c=void 0===c?!1:c;var d=!Zfd.has(b);1===this.status&&d||(this.Pe=b,agd(this,a,!d||c),d||this.V.update(1),this.yp||(this.yp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),dP(this.ha,"nVUlO")))};
var agd=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);_.cVc(a.H);b=_.Uj(b,_.JO,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=Yfd(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 HP=function(a){_.N.call(this);this.context=a;this.xy=new Set;this.Hp=6;this.OCa=!0;this.Pe=0;this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(HP,_.N);_.g=HP.prototype;_.g.ai=function(a){this.CRa(a);this.xy.add(a);this.resize(!0);this.vO(a)};_.g.CRa=function(){};_.g.ik=function(a){this.xy.delete(a);0!=this.xy.size||this.tZa()?this.resize(!1):this.dispose()};_.g.jf=function(){return this.Pe};_.g.kj=function(a){this.Pe=a};_.g.SB=function(a){this.OCa=!1;this.Hp=a};_.g.HJ=function(){return this.Hp};
_.g.refresh=function(){};_.g.uk=function(){};
var cgd=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)}}bgd(a.context.uf,d,b);d.forEach(function(k){gcd(a.context.TMa,k,b);if(k.Bc()){var l=k.getCapabilities();RO(k)?l&&(_.BWc(l,_.R(l,13)),_.yWc(l,!1),_.FWc(l,!1)):bO(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.JWc(l,!1),_.KWc(l,!1))}k.getCapabilities()||_.dN(k,
new _.Tk)})};HP.prototype.resize=function(){};HP.prototype.wd=function(){};HP.prototype.ol=function(a,b){var c=this,d=!1;a.forEach(function(e){e=bP(e);d=c.Iu(e,!0)||d});b||(1!=this.HJ()&&(d=!0),this.SB(1));d&&this.PX()};var dgd=function(a,b){var c=!1;b.forEach(function(d){c=a.Iu(d)||c});c&&a.PX();return c};_.g=HP.prototype;_.g.update=function(a){return dgd(this,[a])};_.g.Iu=function(){};_.g.PX=function(){var a=this;this.BRa();this.xy.forEach(function(b){a.vO(b)})};_.g.BRa=function(){};
_.g.vO=function(a){var b=egd(this.context).Pka(a);this.FYa(b)||(b=this.uk(b),egd(this.context).vO(a,b))};_.g.OX=function(a){var b=this;this.SB(3);this.xy.forEach(function(c){egd(b.context).OX(c,a)})};_.g.jA=function(){var a=this;this.xy.forEach(function(b){egd(a.context).jA(b)});this.kj(0==this.jf()?1:6)};_.g.tZa=function(){return!1};_.g.FYa=function(){return!1};
var fgd=function(a){_.gi.call(this,"Db");this.id=a};_.L(fgd,_.gi);
var ggd=function(a,b,c,d){d=void 0===d?!1:d;_.ri.call(this);this.request=a;this.context=b;this.gLa=d;this.le=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(ggd,_.ri);
ggd.prototype.Yg=function(){var a=this;if(this.le)return this.le.promise;this.le=_.Th();for(var b={},c=_.m(this.request.en().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=L5c(K5c(d),this.request);b.Nea=void 0;this.gLa&&(b.Nea={gLa:!0});this.context.Qm().then(function(f){return function(h){return h.Te(f.Gra,f.Nea)}}(b)).then(function(f){return void hgd(a,f)},function(f){return function(h){var k=f.tra;h=
_.aB(h);5===h.Pg.gt()||4===h.Pg.nk()?(a.context.Sf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),igd(a)):a.handleError(h)}}(b))}return this.le.promise};var hgd=function(a,b){b.qd().Fd().forEach(function(c){_.XL(c,1);a.W.push(c)});igd(a)},igd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
ggd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;jgd(this);kgd(this);this.O.size===this.request.en().length?(this.context.uf.ol([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.le.resolve(this.items)):this.dispatchEvent("Cb")};
var jgd=function(a){var b=a.W;a.W=[];b=a.context.Ofa.e9(b);if(_.DL(_.EL(a.context.Oc))){var c=a.context.uf.wm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.cN(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)},kgd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.YL(_.OL(new _.NL,c));a.context.uf.Ro([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new fgd(c))})};
ggd.prototype.handleError=function(a){var b=new YO(a.Pg,_.bk(this.context.Oc.$f(),1,1));this.context.uf.oB(this.request,b);this.dispatchEvent(b);this.le.reject(a)};
var lgd=function(a,b,c,d){HP.call(this,a);this.Jg=b;this.request=c;this.Od={};this.H=null;this.O=_.TL(a.Oc)||new _.RUc;d&&this.ol(d,!0)};_.L(lgd,HP);
lgd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Hp=6;if(_.S(this.request,5,!1))return this.SB(1),_.Ph();var b=!this.OCa&&_.S(this.O,3,!1)?!1:!B1c(_.pN(this.Jg),this.request.O()),c=[],d=this.context.Vn();this.request.en().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==cO(l)||b)l=l&&l.Om(),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();_.bA(e,c);var f=new ggd(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"),mgd(a,f,a.H))}),this.Hp=0<Object.values(this.Od).length?1:2):(this.context.rk().Ue()&&(this.Hp=0<Object.values(this.Od).length?1:2),mgd(this,f,this.H));return this.H.promise};var mgd=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=lgd.prototype;_.g.cia=function(a){var b=this;if(this.context.Gm.equals(a,this.request,!0)){if(B1c(_.pN(this.Jg),a.O()))return!0;if(B1c(this.request.O(),a.O(),_.pN(this.Jg))){if(this.OCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.en().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.uk=function(a){var b=new _.xN;_.JL(this.context.Oc)?b.Dc(O1c(Object.values(this.Od))?6:this.Hp):b.Dc(this.Hp);b.kj(this.jf());Z6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));cgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};_.g.Iu=function(a){var b=this.As(a.O),c=this.As(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.As=function(a){return!!a&&_.ma(this.request.en(),a.getId())};
var ngd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(ngd,_.gi);
var ogd=function(a){var b=new pbd;if(a.Vf()){var c=a.Vf();b.H=!1;b.suggestionSessionId=c}a instanceof _.yN&&_.Uj(a,_.Fk,6).length?(a=_.Uj(a,_.Fk,6),b.H=!1,b.V=a):a instanceof _.RA&&(a.l6()||a.Bsa()||a.Aka().length)&&(c=a.l6(),b.H=!1,b.W=c,c=a.Bsa()||!1,b.H=!1,b.incompleteSearch=c,a=a.Aka(),b.H=!1,b.O=a);return b};
var IP=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.rGa(b);this.ha=new pbd};_.L(IP,_.ri);var pgd=function(a){return!a.va||""!==a.nextPageToken},rgd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&pgd(a)?qgd(a):_.Zh()};IP.prototype.$b=function(){return this.V.length};IP.prototype.H=function(){return this.V.slice()};
var qgd=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 sgd(a,c,f)});var e=_.wVc(_.xVc(new _.KL,a.Fa),c);b=_.uVc(new _.qUc,b);a.Ha&&_.A(b,10,!0);_.vVc(e,b);a.va=!0;a.O=!0;a.context.Qm().then(function(f){return f.Te(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
IP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.yN)var c=b;else c=b.qd(),this.nextPageToken=b.Tn()||"";this.ha=ogd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Fd())};
IP.prototype.handleError=function(a,b,c){c=_.aB(c);this.O=!1;if(5===c.Pg.gt())a.callback([]);else{if(10===c.Pg.gt()&&(_.uVc(b,Math.ceil(_.bk(b,1,1E3)/2-2E-15)),1<_.bk(b,1,1E3))){var d=_.vVc(_.wVc(_.xVc(new _.KL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Qm().then(function(e){return e.Te(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new YO(c.Pg,_.bk(this.context.Oc.$f(),1,1));this.QMa(b);this.dispatchEvent(b);a.Pd(c)}};
var sgd=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: ")+(_.AYc(a.request)+" paginationToken: ")+b;b=_.bq(_.$p(_.QL(_.PL(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())_.XL(b.value,
a.ma?2:1);c=[];b=_.m(a.f2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.OL(new _.NL,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new ngd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return qgd(a);a.dispatchEvent("Fb")};_.g=IP.prototype;_.g.f2a=function(a){return a};_.g.QMa=function(){};_.g.wd=function(){return this.request};_.g.rGa=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 tgd=function(a,b,c,d){IP.call(this,a,b,void 0,c,d)};_.L(tgd,IP);tgd.prototype.f2a=function(a){a=this.context.Ofa.e9(a);this.context.uf.ol(a,1,this.request,pgd(this));return a};tgd.prototype.QMa=function(a){this.context.uf.oB(this.request,a)};tgd.prototype.rGa=function(a){var b=a=IP.prototype.rGa.call(this,a),c=_.Gl(b);0===_.Md(b,33).length&&1===c.length&&(c=this.context.uf.wm.H(c[0].Ya()))&&(c=c.Bc())&&(_.Il(b,[c]),_.Jl(b,2));ugd(this,a);return a};
var ugd=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.uf.wm.H(d.Ya()))&&_.R(d,108)})){var c=b.xe();c||(c=new _.lf,_.Hl(b,c));_.mf(c,937)}};
var vgd=function(a,b,c,d){this.context=a;this.Jg=b;this.W=d;this.doa=0;this.H=c},zgd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.Ye,[b]),_.pN(a.Jg)),1),d=_.mf(new _.lf,306);_.Hl(c,d);wgd(a);c=new tgd(a.context,c);rgd(c,5E3).addCallback(a.V.bind(a,c));xgd(a);ygd(a,b)}},xgd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof lgd});var c=new Set;b.forEach(function(d){d.wd().en().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)},ygd=function(a,b){var c=[];(a.context.uf.zGa.pQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ak(e.wd(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(wgd(a),c.forEach(function(d){d=UO(a.context.Gm,d.wd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Uh(_.Sh(c.map(function(d){return d.refresh().Gg(_.Ef)})),a.O.bind(a)))};
vgd.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(_.aA(_.bA(new _.$z,a),d||_.pN(this.Jg)),7,!0);_.cA(a,b);e&&e.length&&_.Nj(a,11,e);wgd(this);b=new ggd(a,this.context,void 0,c);return _.Uh(b.Yg(),this.V.bind(this,b))};vgd.prototype.V=function(a){a.dispose();this.O()};var wgd=function(a){a.doa++;a.context.Ss.setActive(!1)};vgd.prototype.O=function(){this.doa--;0===this.doa&&this.context.Ss.setActive(!0)};
vgd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Agd=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(Agd,_.N);
Agd.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 IP(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));rgd(this.O,this.request.Mi())}return this.le.promise};Agd.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(bP(new PO(b)))};
Agd.prototype.V=function(){this.H instanceof fP?this.H.H=!pgd(this.O):pgd(this.O)&&eP(this.H,!1);this.H.kj(5);this.le.resolve(this.H)};
var Cgd=function(a,b){_.gi.call(this,Bgd);this.cache=a;this.changes=b};_.L(Cgd,_.gi);var Bgd="Rb";
var Dgd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.ey().forEach(function(h){var k=h.getId();U1c(h.getItem());f[k]=new PO(h.getItem())});e.items.forEach(function(h){var k=h.Cc();k=f[k];h.tk()?k&&a.update(new jad(k.getId(),k,null)):(h=h.getItem(),U1c(h),a.update(kad(k,new PO(h))))});a.gX();c(e.sLb)},d)})};
var Egd=function(a,b){_.N.call(this);this.context=a;this.Jg=b};_.L(Egd,_.N);
Egd.prototype.Yg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new NO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.cM(q));return}a=_.EL(this.context.Oc);if(!_.DL(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.E(a,6,"")&&Wfd(this.context.XP,c,4)}(a=b.Vn())&&this.context.Eu(a,6)}var e=_.B(b,3)||void 0;e&&Fgd(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){_.JVc(q);_.XL(q,6)});if(c=_.Uj(b,MO,5)[0])if(b=this.context.Gm,I1c(_.pN(this.Jg),c.getQuery().O(),_.iN(this.context.Oc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.gSc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=TO(b,c.getQuery());var h=_.B(c,2)||void 0;d.xi(h);h=a.map(function(q){return new PO(q,void 0,1,e)});var k=_.C(c,_.Yk,
3);if(k&&_.B(c,2)){var l=h[h.length-1];_.XL(k,6);if(!_.ak(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.TL(this.context.Oc))&&_.S(k,2,!1)&&c.Tn()||"";var p=new fP(this.context.vu,this.context.yw,this.context.Gm,d,l,c);p.kj(4);h.forEach(function(q){p.update(bP(q))});Ggd(this.context.uf,p);l=p.wd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+UO(b,l));b=new _.KL;_.xVc(b,l);l=_.JZc(this.context.LA,
b,"IVDP");_.KZc(l,a);dP(this.context.Qj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+e$c(b,c.getQuery().O()));else this.handleError("No initial query found")};Egd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.QL(_.PL(new _.kc,2),6));b=new _.lc(a,c,b);this.context.uJ(b.Pg);this.log("Initial view dump population failed. Message: "+a);dP(this.context.Qj,"DEJoH")};Egd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var Hgd=function(a){_.ri.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new hP(a.vu,a.yw,a.Qj,function(){return a.Vn()})};_.L(Hgd,_.ri);var Igd=function(a,b){var c=_.bk(a.context.Oc,31,2E4);("number"===typeof _.B(b,3)?_.B(b,3):c+1)>c?(eP(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)};
Hgd.prototype.log=function(a,b){this.context.Sf().log(this.W,a,b||"info")};var Jgd=function(a,b){0===a.V&&(a.V=b)};
var Kgd=function(a,b){var c;if(c=!!b&&!!b.hh())a=a.Cm(),c=null==a||!!b.hh().Cm()==a;return c};
var Lgd=function(a,b){_.ri.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(Lgd,_.ri);Lgd.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():Mgd(this)};Lgd.prototype.$b=function(){return this.V.length};
var Mgd=function(a){a.O=!0;a.H=!0;var b=c5c(d5c(new _.TM,a.request),a.nextPageToken),c=_.JZc(a.context.LA,b);return _.$h(a.context.Qm().then(function(d){return d.Te(b)}).then(function(d){var e=d.qd().Fd();a.nextPageToken=d.Tn()||"";Ngd(a,c,e)},function(d){return void a.handleError(d)}))},Ngd=function(a,b,c){_.KZc(b,c);for(b=0;b<c.length;b++)_.XL(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=_.OL(new _.NL,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new ngd("Cb",d));a.nextPageToken?Mgd(a):(a.H=!1,a.dispatchEvent("Fb"))};Lgd.prototype.handleError=function(a){this.H=!1;a=new YO(_.RL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};Lgd.prototype.wd=function(){return this.request};
var Ogd=function(a){this.H=_.hSc(a,{numeric:!0})};Ogd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Ogd.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 Pgd=function(a,b,c,d){d=void 0===d?!1:d;HP.call(this,a);this.Jg=b;this.Od=[];this.le=null;this.request=c.clone();this.wv=new Lgd(a,this.request);this.fQb=new Ogd(nO(_.EL(a.Oc)));this.LW=null!=_.R(this.request,6);_.we(this,this.rnb,this);d&&(this.le=_.Th(),this.le.resolve())};_.L(Pgd,HP);_.g=Pgd.prototype;_.g.refresh=function(){3===this.Hp&&(this.Hp=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.wv.Yg().Tf(a.le.resolve,a.le.reject,a.le))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.bB.zL,_.bB.rU],function(){a.jA();a.wv.Yg().Tf(a.le.resolve,a.le.reject,a.le)}):(this.jA(),this.wv.Yg().Tf(this.le.resolve,this.le.reject,this.le));return this.le.promise};_.g.resize=function(){};
_.g.wd=function(){return this.request};_.g.ey=function(){return this.Od};_.g.cia=function(a){return this.context.Gm.equals(a,this.request)};_.g.uk=function(a){a=a.Mi();this.fQb.sort(this.Od);var b=v2c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));cgd(this,A5c(this.Jg),b);var c=new _.RA;c.Pw(b);c.Dc(this.Ywa(a));c.kj(this.jf());E4c(c,a<this.Od.length||!(this.context.Jj().Ue()||this.context.rk().Ue())&&1!==this.Hp);return c};
_.g.Ywa=function(a){return 1===this.Hp||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()&&HP.prototype.ol.call(this,a,b)};_.g.Iu=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.As(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.PKa(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.bza=function(a){return _.la(this.Od,a)};_.g.PKa=function(a,b){this.Od[this.bza(a)]=b;b.count++;a.count--};_.g.As=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=RO(a.getItem())&&Kgd(this.request,a.getItem());return b&&a}return RO(a.getItem())&&Kgd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.tZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Od.length};_.g.gX=function(){this.Hp=1};
var Qgd=function(a){this.H=a},Rgd=function(a,b,c,d,e){if(0===e||null===b){var f=new sed;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=y$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.ly())&&void 0!==l?l:null;k=d+_.B(k,1);return Rgd(a,p,c,k,e-1)})};
var Sgd=function(a,b){Hgd.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(Sgd,Hgd);Sgd.prototype.handleError=function(){this.log("Local dump population failed.");dP(this.context.Qj,"mrK8ic")};
Sgd.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(_.oO(a.H),mO,11);c=c[0]&&c[0].getKey()||"";return Tgd(a,a.context.wQ,c,4)}).Gg(function(c){if(_.S(a.H,8,!0))return Ugd(a);throw c;}).then(function(){_.JL(a.H)||a.context.uf.wq.H.clear();dP(a.context.Qj,"zaOY7");b.callback()},function(c){Jgd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ai(Error("cg"))};
Sgd.prototype.initialize=function(){var a=this;return this.context.wQ.initialize().then(function(){if(!_.jN(a.H)){var b=_.bk(_.oO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Bdd(a.context.tD).then(function(e){e?c():d(Error("dg"))})})}})};
var Tgd=function(a,b,c,d){var e=a.ha;Vgd(a,b,c,e);Wgd(a,b,c,e);Xgd(a,b,c,e);return Ygd(a,b,c,e).then(function(){return Promise.all([Zgd(a,b,c,d,e),$gd(a,b,c,d,e),ahd(a,b,c,d,e),bhd(a,b,c,d,e)])})},Vgd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};oP(b,c,0,void 0,d,a.zD).then(function(f){f[0]?Wfd(a.context.XP,f[0],a.jf(),_.jN(a.H)):e()},function(){return e()})},Wgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};oP(b,
c,1,void 0,d,a.zD).then(function(f){f[0]?a.context.e_.gQ(f[0],a.jf(),_.jN(a.H)):e()},function(){return e()})},Xgd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};oP(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),_.jN(a.H))}else e()},function(){return e()})},Zgd=function(a,b,c,d,e){var f=new _.yn;oP(b,c,3,1,e,a.zD).then(function(h){return chd(a,h[0])}).then(function(h){if(h){b!==a.context.wQ||
I1c(_.Md(h,12),_.pN(a.Jg),_.iN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ss.iS());var k=_.B(h,3);if(!k||0>k)throw Error("gg");a.context.Eu(h.Vn(),d);k=_.B(h,3);"number"===typeof k&&Fgd(a.context,Number(k));_.jN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.eEa());a.ol(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},$gd=function(a,b,c,d,e){var f=new _.yn;oP(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},ahd=function(a,b,c,d,e){var f=new _.yn;oP(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},bhd=function(a,b,c,d,e){var f=new _.yn;oP(b,c,3,3,e,a.zD).then(function(h){h.length?h.forEach(function(k){a.ol(k,d)}):dP(a.context.Qj,"rVezo");f.resolve()},f.reject,f);return f.promise},Ygd=function(a,b,c,d){var e=new _.yn;oP(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,$O,1).length&&(a.log("Importing "+_.Uj(h,$O,1).length+" people into the PeopleCache."),h=_.Uj(h,$O,1),Oad(a.context.uf.wq.H,h,2));e.resolve()},e.reject,e);return e.promise},chd=function(a,b){var c=_.B(b,3);if(c&&!_.jN(a.H)){var d=new Qgd(a.context.Qm()),e=_.bk(_.oO(a.context.Oc),13,5);return Rgd(d,c,null,0,e).then(function(f){return _.P(f,2)?(a.log("Encrypted dump too stale."),a.context.Sk().O(106007),Jgd(a,9),null):b},function(){return b})}return _.Ph(b)},
Ugd=function(a){var b=pP(a.context.HL.Di()),c=_.Uj(_.oO(a.H),mO,11).filter(function(d){return d.vs()});return tdd(_.hN(_.EL(a.H)),_.iN(a.H),_.bk(_.oO(a.H),10,0)||0,_.pN(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 qP(_.Ph(d),a.context.Sf(),null,!0),h=new scd(f,a.H,function(k){a.context.uJ(k)});h.initialize();a.ma=!0;return Tgd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([ydd])}).then(function(k){if(k[0])return k=
k[0].Ya(),a.context.tD.set(ydd,k)}).then(function(){f.close()})}return _.Rh(Error("fg"))})},ghd=function(a,b,c){switch(b.vo()){case 1:return dhd(a,b,c);case 2:b=_.C(b,H2c,11);if(!b)throw Error("hg");Igd(a,b);a.O.iK?(a.O.kj(a.jf()),a=[{cache:a.O,changes:mP(a.context.pz,null)}]):a=[];return a;case 3:return ehd(a,b);case 4:return fhd(a,b);default:return null}},dhd=function(a,b,c){var d=[];_.Uj(b,MO,5).forEach(function(e){var f=void 0,h=_.C(e,_.Yk,3);h&&(_.JVc(h),_.R(a.H,67)&&w1c(h,L1c),_.XL(h,c),f=new PO(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=TO(a.context.Gm,l,!0);return _.ak(l,k)}))e=new fP(a.context.vu,a.context.yw,a.context.Gm,k,f),e.kj(a.jf()),d.push({cache:e,changes:mP(a.context.pz,null)})});return d},fhd=function(a,b){return _.Uj(b,MO,5).map(function(c){c=new Pgd(a.context,a.Jg,_.C(c,_.xL,5),!0);c.kj(a.jf());return{cache:c,changes:mP(a.context.pz,null)}})},ehd=function(a,b){var c=_.Md(_.Uj(b,MO,5)[0].getQuery(),33)[0],d=_.B(b,3)||
void 0;b=mP(a.context.pz,c);JP(a.context).addCallback(function(f){f.Dva(c,d)});var e=new iP(a.context.vu,a.context.yw,c);e.kj(a.jf());return[{cache:e,changes:b}]};
Sgd.prototype.ol=function(a,b){var c=this,d=ghd(this,a,b);d&&0!==d.length?(a.Fd().forEach(function(e){_.JVc(e);_.R(c.H,67)&&w1c(e,L1c);_.XL(e,b);if(!_.JL(c.H)&&!c.context.uf.wq.H.wc()){var f=c.context.uf.wq;hbd(f,abd(f,[e]))}e=new PO(e);for(f=0;f<d.length;f++)d[f].cache.update(bP(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Cgd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof iP&&(h=f.Bc());c.context.iaa.promise.then(function(){Pbd(c.context.pz,
h)})}),1===a.vo()&&dP(this.context.Qj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.vo()+".")};Sgd.prototype.jf=function(){return this.ma?7:3};
var hhd=function(a){_.N.call(this);this.context=a};_.L(hhd,_.N);hhd.prototype.Yg=function(a){try{ihd(this,new led(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var ihd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:jhd(a,b);break;case 4:khd(a,b);break;case 6:lhd(a,b);break;case 2:mhd(a,b);break;case 7:nhd(a,b);break;case 5:_.Uj(_.C(b,ned,7),led,1).forEach(function(c){ihd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},jhd=function(a,b){var c=_.C(b,_.Ye,2);b=JSON.parse(_.B(b,3)||"{}");var d=new _.KL;_.xVc(d,c);b=a.context.$Q().Tsa.DE(d,{headers:{},text:"",json:b}).qd();
ohd(a,c,b)},lhd=function(a,b){ohd(a,_.C(b,_.Ye,2),_.C(b,_.RA,9))},ohd=function(a,b,c){for(var d=c.Fd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.XL(f.value,7);c=ogd(c);a=a.context.uf;b=TO(a.context.Gm,b);e=KP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new LP(a.context,b),f.kj(2),a.O[e]=f);c.wc()||f.Ssa(c);a.ol(d,1,b)},mhd=function(a,b){b=_.C(b,_.tz,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())))},khd=function(a,b){a.context.Pfa.T2(_.C(b,aP,8).ll(),_.C(b,_.Kz,6),2,!1)},nhd=function(a,b){var c=_.C(b,_.JF,10);b=JSON.parse(_.B(b,3)||"{}");b=a.context.$Q().Tsa.DE(c,{headers:{},text:"",json:b});Gfd(a.context).T2([b],c,2,!1)};hhd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.QL(_.PL(new _.kc,2),6));this.context.dispatchEvent(new _.mc(new _.lc(a,c,b)));this.log("Prefetched request population failed.")};
hhd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var MP=function(a){Hgd.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(MP,Hgd);MP.prototype.Yg=function(){if(!_.S(this.context.Oc,45,!1))return Jgd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.OVa().addCallback(this.va,this).addCallback(this.oa,this).Hg(this.handleError,this)};
MP.prototype.va=function(){var a=this;dP(this.context.Qj,"L6uQWd");JP(this.context).addCallback(function(b){b.jea()});if(_.S(this.context.Oc,46,!1))return G2c(this.context.Qm(),this.context.Sf()).addCallback(function(b){if(!b)throw Jgd(a,4),Error("jg");Igd(a,b)});this.log("Subscribed corpus cache population disabled.");eP(this.O,!1);return _.Zh()};
MP.prototype.oa=function(){this.context.eEa();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);phd(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 fP(this.context.vu,this.context.yw,this.context.Gm,c.value),c.kj(5),phd(this,c,c.wd()),c=UO(this.context.Gm,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 phd=function(a,b,c){var d=mP(a.context.pz,null);b=new Agd(a.context,b,c);a.H.push(b);b=_.Uh(b.Yg().then(function(e){!e.iK&&e instanceof hP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.LA.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Cgd(e,d))}),function(){a.context.iaa.promise.then(function(){Pbd(a.context.pz,null)})});a.ha.push(b)};
MP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();Jgd(this,7);c=b;b instanceof YO?c=_.cM(b.error):_.IL(b)||(c=Error("kg`"+b));a.Pd(c)};MP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");dP(this.context.Qj,"Gv4zef")};MP.prototype.jf=function(){return 5};
var qhd=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 Sgd(this.context,this.context.Jg);this.Ma(this.H);this.O=new MP(this.context);this.Ma(this.O)};_.L(qhd,_.N);
qhd.prototype.Yg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Sk().H(106002);_.n._DRIVE_dsp&&rhd(this);_.n._DRIVE_dspc=function(c){rhd(a,c)};mP(this.context.pz,null);_.S(this.context.Oc,24,!1)&&!_.jN(this.context.Oc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?shd(this):_.n._DRIVE_ivdc=function(){shd(a)});var b=this.context.wQ;if(b)return this.Mc.listen(this.H,Bgd,this.ha),this.Mc.listen(this.O,Bgd,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 thd(a,a.H.jf())},function(){uhd(a,a.H.jf(),a.H.V);return _.jN(a.context.Oc)?a.handleError(Error("lg")):a.O.Yg().then(function(){return thd(a,a.O.jf())},function(c){uhd(a,a.O.jf(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.IL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var rhd=function(a,b){var c=new hhd(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()};qhd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(vhd(this,b,a.changes))};
var thd=function(a,b){Pbd(a.context.pz,null);dP(a.context.Qj,"L6uQWd");JP(a.context).addCallback(function(c){c.jea()});return Promise.all(a.W).then(function(){whd(a,b)})},whd=function(a,b){if(!a.isDisposed()){_.jN(a.context.Oc)||xhd(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.Ss.fEa():Bdd(a.context.tD).then(function(d){d&&a.context.Ss.fEa()},function(){});dP(c,"rVezo");dP(c,"BNEDtc");a.impression&&(b=_.wN(_.FUc,
b),u5c(C5c(a.impression),b),t5c(C5c(a.impression),!0),v5c(C5c(a.impression),U9c(a.V.wm)),w5c(C5c(a.impression),a.context.uf.vo()),a.impression.Zj());a.dispose()}},uhd=function(a,b,c){a.impression&&(b=_.wN(_.FUc,b),u5c(C5c(a.impression),b),a=C5c(a.impression),_.Sj(a,3,c,void 0))};
qhd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Pbd(this.context.pz,null);var c=this.context.Qj;dP(c,"L6uQWd");JP(this.context).addCallback(function(d){d.jea()});dP(c,"mrK8ic");dP(c,"Gv4zef");dP(c,"rVezo");dP(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: ",_.IL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.lc(b,void 0,c),c=a.Pg,_.PL(c,_.jN(this.context.Oc)?3:
1),_.QL(c,6),_.$p(c,b),_.bq(c),this.context.dispatchEvent(new _.mc(a))):this.log("Corpus population skipped");this.impression&&(t5c(C5c(this.impression),!1),this.impression.Zj());this.dispose()};
var vhd=function(a,b,c){return Dgd(b,c).then(function(d){d.some(function(e){return b instanceof iP&&e.tk()&&e.Cc()===b.Bc()})||Ggd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},shd=function(a){if(_.n._DRIVE_ivd){var b=new Egd(a.context,a.context.Jg);a.Ma(b);b.Yg(_.n._DRIVE_ivd)}else dP(a.context.Qj,"DEJoH")};qhd.prototype.log=function(a){this.context.Sf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var yhd=function(){gP.apply(this,arguments)};_.L(yhd,gP);yhd.prototype.As=function(a){var b;if(b=gP.prototype.As.call(this,a))a=a&&a.getItem()&&a.getItem().Om(),b=!(!a||!_.R(a,3));return b};yhd.prototype.wd=function(){};yhd.prototype.getType=function(){};yhd.prototype.KN=function(){};
var zhd=function(a,b){this.context=a;this.H=b;this.pQ={}},Bhd=function(a,b){if(!_.AM(b)){var c=_.Md(b,33);if(1===c.length)Ahd(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(),Ahd(a,f,b))}else Ahd(a,null,b)});return}if(c.getItem().Bc()&&_.he(c.getItem().getCapabilities())){c=c.getItem().Bc();Ahd(a,c,b);return}}Ahd(a,
null,b)}}},Ahd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!RO(d.getItem()))return}d=b||"subscribed";a.pQ[d]||(a.pQ[d]=[]);a.pQ[d].push(c);b&&(JP(a.context).addCallback(function(e){e.Dva(b)}),Chd(a.context.RJa,b))},Dhd=function(a,b){if(!_.AM(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&&JP(a.context).addCallback(function(f){return function(h){h.bHa(f.ET,!1)}}(c));return}c={ET:c.ET}}}};
var Ehd=function(){this.H=new Map;this.O=[];this.V=[]};
Ehd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();aO(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 Fhd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},Ghd=function(a){a.O=[];a.V=[]};
var Hhd=function(a,b){nP.call(this,a.clone(),b.Qm(),b.Oc,b.Sf());this.context=b};_.L(Hhd,nP);Hhd.prototype.W=function(a){var b=new Map;a.en().forEach(function(c){var d=_.HTb(a.clone(),[c]);b.set(c,d)});return b};Hhd.prototype.V=function(a){a=a.Fd()[0];this.context.uf.ol([a],1,void 0,!0,this.request.O())};Hhd.prototype.ha=function(a){this.context.uf.ol([],1,a,!1,this.request.O())};Hhd.prototype.ka=function(a){a=_.YL(_.OL(new _.NL,a));this.context.uf.Ro([a])};
var Ihd=function(a,b,c,d){HP.call(this,a);this.Jg=b;this.request=c;this.Od={};d&&this.ol(d,!0)};_.L(Ihd,HP);_.g=Ihd.prototype;
_.g.refresh=function(){var a=this;this.Hp=6;var b=QO(this.context.Oc)!==QO(this.context.Oc,this.request.O()),c=[];this.request.en().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();_.HTb(d,c);var e=new Hhd(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.Hp=0<_.Ra(this.Od)?
1:2):(this.context.rk().Ue()&&(this.Hp=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.Gm.equals(a,this.request)&&B1c(_.pN(this.Jg),a.O())};_.g.uk=function(a){var b=new _.xN;b.Dc(this.Hp);b.kj(this.jf());Z6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));cgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};
_.g.Iu=function(a){var b=this.As(a.O),c=this.As(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.As=function(a){return!!a&&this.request.en().includes(a.getId())};
var LP=function(a,b,c,d,e){HP.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.wv=new tgd(this.context,this.request,!1,e);b=this.request.Ac()&&W9c(this.request.Ac());var h=this.context.yw;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.LW=!b||!O9c(this.request)||_.DL(_.EL(a.Oc));this.Fa=tad(this.request);
c&&this.ol(c,!d);this.va=_.bk(a.Oc.$f(),16,36E5);_.XM(this.request)&&this.Mc.listen(this.context.sha,"Hb",this.Ha);_.we(this,function(){_.aa(f.wv);f.clear()})};_.L(LP,HP);LP.prototype.refresh=function(){return Jhd(this,!1)};var Jhd=function(a,b){a.Hp=6;if(_.S(a.request,48,!1))return a.Hp=1,_.Ph();if(_.XM(a.request)){var c=Khd,d=a.context.sha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return Lhd(a,b)};
LP.prototype.initialize=function(){return this.count>=this.request.Mi()||1===this.Hp?_.Ph():this.refresh()};LP.prototype.clear=function(){Mhd(this)};var Mhd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},Khd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return Jhd(a,!0)},b)};LP.prototype.Ha=function(){Date.now()-this.oa>this.va&&Khd(this,0)};
var Lhd=function(a,b){a.wv&&(a.Mc.Yc(a.wv,"Eb",a.Ssa),a.Mc.Yc(a.wv,"Fb",a.RMa),a.wv.dispose());var c=a.request.xe();c&&_.nf(c,!1);a.wv=new tgd(a.context,a.request,b);a.V=0;a.Mc.listen(a.wv,"Eb",function(){return a.Ssa(a.wv.ha)});a.Mc.listen(a.wv,"Fb",a.RMa);return a.Gca()};
LP.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"),Nhd(a,b))}):this.context.rk().Ue()?this.Mc.od(this.context.rk(),[_.bB.zL,_.bB.rU],function(){Nhd(a,b)}):Nhd(this,b);return b.promise};var Nhd=function(a,b){a.jA();var c=a.request.Mi()+a.V;_.Zja(rgd(a.wv,c).Tf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=LP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.jd(this.xy)))),d=c.next();!d.done;d=c.next())d=d.value,d=egd(this.context).Pka(d),b=Math.max(b,d.Mi());_.XM(this.request)?(this.request.xi(b),2!==this.jf()&&!this.wv.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.Gm.equals(a,this.request)};
_.g.uk=function(a){var b=a.Mi(),c,d=!1;if(_.BM(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();F1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.bl(l.getItem()).length})}d=O1c(e);c=new _.yN;_.A(c,4,!1);X5c(c,f)}else e=this.Od.slice(0,b),c=new _.RA,E4c(c,b<this.Od.length||!(this.context.Jj().Ue()||
this.context.rk().Ue())&&1!==this.Hp),_.J(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=O1c(e);e=v2c(e);cgd(this,a.O(),e);c.Pw(e);c.Dc(d?6:this.Ywa(b));c.kj(this.jf());c.CP(this.suggestionSessionId);return c};_.g.Ywa=function(a){return 1===this.Hp||a<=this.count?1:this.context.Jj().Ue()||this.context.rk().Ue()?0<this.Od.length?1:2:6};_.g.Ssa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.DAa();this.W=a.V;this.suggestionSessionId=a.Vf()};
_.g.RMa=function(){var a=this.request.Mi()-this.count;0<a&&pgd(this.wv)&&(this.V+=a,this.Gca())};_.g.ol=function(a,b){_.XM(this.request)&&Mhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=bP(d.value),c=this.Iu(d,!0)||c;b||(1!==this.Hp&&(c=!0),this.Hp=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.Hn("ViewCache unsorted after import"),this.context.yw.sort(this.request,this.Od));c&&(this.PX(),Ohd(this,b))};
var Ohd=function(a,b){_.Gl(a.request).length&&a.Od.length&&a.context.d_.then(function(c){var d=I5c(a.context.Sk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Ya(),f=_.C(_.vN(d),p5c,18);if(!f){f=new p5c;var h=_.vN(d);_.J(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Ct(a.Od.length);e=a.context.uf.vo();_.A(c,4,e);a.ma=d;d.Zj()}})};_.g=LP.prototype;
_.g.Iu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.As(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Hn("Updating different wrapper from the existing one"):this.Hn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.PKa(f,a.H):(this.qJ(f),_.XM(this.request)&&Khd(this,0));else{if(_.XM(this.request)&&!b)return!1;this.tR(a.H)}else return!1;return!0};_.g.tR=function(a){this.H?r1c(this.Od,a,this.H):this.Od.push(a);a.count++;Phd(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--;Phd(a)&&this.count--;this.O.delete(a.getId())};_.g.bza=function(a){return this.H?_.Ha(this.Od,a,this.H):_.la(this.Od,a)};_.g.PKa=function(a,b){this.H&&0!==this.H(a,b)?(this.qJ(a),this.tR(b)):(this.Od[this.bza(a)]=b,b.count++,Phd(b)&&this.count++,a.count--,Phd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.As=function(a,b){if(!a)return!1;if(this.LW&&!_.XM(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=SO(this.context.vu,this.request,a.getItem());return b&&a}}if(!SO(this.context.vu,this.request,a.getItem()))return!1;var d=1.2*this.request.Mi();if(1===this.Hp||!this.H||x9c(a.H,2)||this.count<d||b||V1c(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.Hp&&!this.context.Jj().Ue()&&!this.context.rk().Ue()){var a=1.2*this.request.Mi();if(!(a>=this.count||this.wv&&a>=this.wv.$b())){a=this.count-this.request.Mi();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];x9c(c.H,2)||V1c(c.getItem())||(c.count--,Phd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Od,b),a--)}Lhd(this,!1)}}};_.g.Hn=function(a){var b=new _.kc;_.PL(b,2);_.QL(b,6);_.bq(b);this.context.dispatchEvent(new _.mc(new _.lc(a,b)))};
var Phd=function(a){return!x9c(a.H,2)&&3!==cO(a.getItem())};LP.prototype.CRa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.uf.wm.H(d.Ya()))&&_.R(d,108)}),L$c(this.context.Mfa,a,c))};LP.prototype.BRa=function(){this.zJ()};LP.prototype.FYa=function(a){return 1!==this.Hp&&a.Mi()>this.count&&this.wv.O};
var NP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Ehd;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.context=a;this.Jg=b;this.Uu=new Aad(a.Gm,a.Sf());if(null===(c=_.TL(this.context.Oc))||void 0===c?0:_.S(c,15,!1)){var e=new pad(a.vu,a.yw);this.Uu.add(e);a.Nfa.promise.then(function(){var f,h;eP(e,!(null===(h=null===(f=d.Uu)||void 0===f?void 0:f.H)||void 0===h?0:h.iK))})}this.H=new N9c(a.d_,a.vu,a.yw);_.R(a.Oc,60)&&(this.va=new yhd(a.vu,a.yw));this.V=new I9c(a.Sf(),_.pN(this.Jg));
Qhd(this,_.Md(this.context.Oc,28));this.wm=new Q9c(this.Jg,this.context.Gm,this.H,this.V);this.context.Sk().W.H=this.wm;this.zI=new vgd(this.context,this.Jg,this.O,this.H);this.zGa=new zhd(this.context,this.H);this.ka=new qhd(this.context,this);_.we(this.ka,function(){d.ka=null});this.oa=_.FVc(_.pN(this.Jg),Rhd);cP(this.context.Qj,["NSockf"],function(){return d.initialize()});cP(this.context.Qj,["NSockf","jroI5d"],function(){var f=d.context.Oc;if(_.C(f,_.Yk,12))f=_.C(f,_.Yk,12);else{var h=_.pWc(_.rWc(new _.Fk,
_.hN(_.EL(f))),!0);h=_.A(h,6,1);var k=_.E(_.EL(f),6,"");k&&h.Pb(k);h=_.MTb(_.WWc(_.XWc(_.QF((new _.Yk).Pb(d.context.Vn()).setTitle(_.E(f,38,"My Drive")),"application/vnd.google-apps.folder").Kn(!1),h),[h]),1);h=_.A(h,29,!0);h=_.A(h,63,!0);f=_.sWc(new _.Tk,_.S(f,6,!0));f=_.A(f,2,!1);f=_.dN(h,_.FWc(_.yWc(_.xWc(_.BWc(_.CWc(_.AWc(_.zWc(_.wWc(_.vWc(_.uWc(_.tWc(_.A(f,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ol([f],1);dP(d.context.Qj,"hVFf7")});this.ha=_.Th();cP(this.context.Qj,["BNEDtc"],function(){d.ha.resolve()});
this.wq=new $ad(this.context.Oc,this.context.Sf(),a.Qm(),a.Mfa,this.context.Sk(),this.context.DX.promise);_.JL(this.context.Oc)&&this.Mc.listen(this.wq,"Kb",this.ma);this.SMa=new _.vZc(this.context.Oc,this.wm)};_.L(NP,_.N);
NP.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.wq.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.wq.H.get(d),e=!(!d||1!==d.jf()&&4!==d.jf()||3===Kad(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(),Shd(this,h),b.push(kad(d,new PO(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");Thd(this,b,[]);this.context.Ss.update(6);a.size&&this.zI.xO([].concat(_.jd(a)),_.mf(new _.lf,311))};NP.prototype.initialize=function(){this.ka.Yg()};
NP.prototype.ai=function(a,b){if(b instanceof _.Ye)b=TO(this.context.Gm,b),Uhd(this,b.O()),Bhd(this.zGa,b),b=Vhd(this,b),b.cache.ai(a);else if(b instanceof _.$z)b=Whd(this,b),Uhd(this,b.O()),b=Xhd(this,b),b.cache.ai(a);else if(b instanceof _.xL){var c=KP(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,rv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new Pgd(this.context,this.Jg,b),d.refresh().Gg(_.Ef),this.O[c]=d,b={cache:d,rv:!0});b.cache.ai(a)}else if(b instanceof _.KF)c=b.O(),d=this.V,J9c(d,d.H,d.O,c),b=Xhd(this,b),b.cache.ai(a);else throw Error("ng");return b.rv};NP.prototype.ik=function(a,b){if(b instanceof _.Ye)b=TO(this.context.Gm,b),Dhd(this.zGa,b);else if(b instanceof _.$z)b=Whd(this,b);else if(!(b instanceof _.xL||b instanceof _.KF))throw Error("ng");b=KP(this,b);var c=this.O[b];c&&(c.ik(a),c.isDisposed()&&delete this.O[b])};
var KP=function(a,b){return UO(a.context.Gm,b,2)},Vhd=function(a,b){var c=KP(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,rv:!1};d=[];for(var e=5,f,h,k=Bad(a.Uu),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 fP?p.ly():"";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.Uu.H)&&e.k8&&5!=e.yE(b)?e.yE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new LP(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=_.RL(q);_.bq(q);a.context.dispatchEvent(new _.mc(new _.lc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
rv:!0}},Xhd=function(a,b){var c=KP(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.en()),h;b instanceof _.$z?h=new lgd(a.context,a.Jg,b,f):h=new Ihd(a.context,a.Jg,b,f);f.length&&h.kj(8);h.refresh().Gg(_.Ef);b=h;d=!0;a.O[c]=b;e?(Yhd(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,rv:d}};
NP.prototype.dW=function(){return Object.values(this.O).filter(function(a){return a.wd()instanceof _.xL})};
NP.prototype.x2a=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=e$c(this.context.Gm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.zI.xO([a],b,!1,c))};
var bgd=function(a,b,c){c&&c.length&&L9c(a.V,b,c);_.JL(a.context.Oc)&&(a=a.wq,hbd(a,abd(a,b)))},Ggd=function(a,b,c){if(b instanceof Pgd){var d=KP(a,b.wd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof nad&&a.Uu.remove(b);var e={},f=new Map;d=a.H.ey();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.ey().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=cO(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new jad(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=bP(q),a.H.update(r),a.W.update(r),_.JL(a.context.Oc)&&a.wq.gP(r);_.JL(a.context.Oc)&&Shd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(bP(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Pgd?(d=KP(a,b.wd()),a.O[d]=b):a.Uu.add(b);var p=[];_.Ma(e,function(q){var r=new _.NL;_.OL(r,q.getId());r.setItem(q);p.push(r)});a.Ro(p);a.log("Merged cache: "+b.getType());b instanceof
iP&&c.forEach(function(q){Zhd(a.context.Usa,q)});a.context.Ss.update(3)},Yhd=function(a,b){(new Set([].concat(_.jd(a.xy)))).forEach(function(c){b.ai(c);a.ik(c)})};
NP.prototype.ol=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.jd(c.O().filter(function(D){return!_.pN(f.Jg).includes(D)}))):[]);c&&c instanceof _.Ye&&_.XM(c)&&$hd(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new PO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=aid(this,u,r);if(null!=z)r.LD(z),bid(this,y,q),U1c(q),q=G9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.JL(this.context.Oc)&&Shd(this,q);!u||cid(this,y,q,e)?(l.push(kad(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.Ye){if(null===(h=_.TL(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=Ead(this.Uu,c))&&a.ol(k,!!d)}c=KP(this,c);(a=this.O[c])&&a.ol(k,!!d)}0<l.length&&(_.JL(this.context.Oc)&&l.forEach(function(D){return f.wq.gP(D)}),Thd(this,l,e,a?[a]:[]),did(this,k));egd(this.context).i9()};
var Shd=function(a,b){lbd(a.wq,b)||5!=cO(b)||_.cXc(b,1)},cid=function(a,b,c,d){(b=b?_.Lj(b.clone(),82):null)&&bgd(a,[b],d);c=_.Lj(c.clone(),82);bgd(a,[c],[]);return!_.ak(b,c)},$hd=function(a,b,c){eid(a,b,c);b.forEach(function(d,e){var f=a.wm.H(d.getId());f&&($N(f,d,[1002]),$N(f,d,[1003]),$N(f,d,[1005]),b[e]=f);_.AM(c)&&0<_.Md(c,33).length&&_.dXc(d,_.Md(c,33)[0])})},eid=function(a,b,c){var d;_.AM(c)?d="quick access":_.BM(c)?d="people predict":_.CM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Qfd=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(v2c(d),e)})};NP.prototype.Ila=function(a){this.SMa.Ila(a)};
NP.prototype.Ro=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 PO(f,void 0,void 0,_.B(e,1)||void 0);var p=aid(this,h,l);if(null==p)continue;l.LD(p);bid(this,k,f);_.S(e,5,!1)&&w1c(f,L1c);U1c(f);f=G9c(f,k);l.setItem(f);_.JL(this.context.Oc)&&Shd(this,f)}if(k&&!f||f&&cid(this,k,f,[]))this.context.RJa.py(e),c.push(kad(h,l))}_.JL(this.context.Oc)&&c.forEach(function(q){return b.wq.gP(q)});Thd(this,
c,[])};var bid=function(a,b,c){b&&!c.Om()&&$N(c,b,a.oa);var d=b?b.Pf():null,e=c.Pf();e=e?_.Qd(e):null;d&&e&&bid(a,_.Qd(d),e);b&&!_.al(c)&&$N(c,b,[1002]);b&&!_.bl(c).length&&$N(c,b,[1003]);b&&!_.cl(c).length&&$N(c,b,[1005]);b&&null==c.X1()&&$N(c,b,[71]);b&&null==_.B(c,79)&&$N(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(w1c(c,L1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
NP.prototype.oB=function(a,b){if(a instanceof _.Ye||a instanceof _.$z||a instanceof _.xL)a=KP(this,a),(a=this.O[a])&&a.OX(b);else throw Error("ng");};var aid=function(a,b,c){var d=c.getItem();if(Gbd(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!=cO(a)&&!RO(a)&&!RO(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.Aq()>d.Aq())return null}return y9c(b&&b.H,c.H)};
NP.prototype.bI=function(a,b){(a=this.H.get(a))&&a.LD(y9c(a.H,b))};
var Thd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.TL(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())dgd(h.value,b);h=Bad(a.Uu);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 iP&&f.Ld()>=1.2*f.limit&&fid(a.context.RJa,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.Ss.yna(d);gid(a)},gid=function(a){var b=a.W.O.slice(0),c=Fhd(a.W);Ghd(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=R9c(a.wm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Pf(),k=_.B(h,1);if(k=a.wm.H(k))_.J(h,5,k),_.A(h,4,1),e.push(f)});Qfd(a,e)}},hid=function(a){egd(a.context).i9();a.H.zJ()},Whd=function(a,b){_.Ia(b.O());var c=_.la(b.en(),"root");if(0>c)return b;b=b.clone();b.en()[c]=a.context.Vn();return b},Qhd=function(a,b){var c;null!==(c=_.TL(a.context.Oc))&&void 0!==c&&_.S(c,1,!1)||(b=B5c(a.Jg,b),a=a.V,J9c(a,a.items,a.fields,b))},Uhd=function(a,b){var c;if(null===(c=_.TL(a.context.Oc))||
void 0===c?0:_.S(c,1,!1))b=B5c(a.Jg,b),a=a.V,J9c(a,a.items,a.fields,b)},did=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==cO(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)}})},xhd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Ead(a.Uu,c)){a.log("Adding new cache hint for "+KP(a,c));var d=new fP(a.context.vu,a.context.yw,a.context.Gm,
c);c=new Agd(a.context,d,c);var e=mP(a.context.pz,null);_.Uh(c.Yg().then(function(){Dgd(d,e).then(function(f){Ggd(a,d,f)})}),function(){Pbd(a.context.pz,null)})}})})};NP.prototype.vo=function(){var a=this.Uu.H;return a&&a.iK?1:2};NP.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Rhd=[50];
var jid=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;Cdd(this.context.tD).then(function(d){b.H=d||[];c.resolve();iid(b)},function(){return c.resolve()});cP(this.context.Qj,["rVezo"],(0,_.v)(this.W,this))};_.L(jid,_.N);
var Chd=function(a,b){_.S(a.context.Oc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(H9c(a.context.uf.wm.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(wdd,a.H)}a.context.uf.Uu.dW().length+a.O.size<_.bk(a.context.Oc,47,5)&&(iid(a),a.W())})},kid=function(a,b){_.va(a.H,b)&&a.context.tD.set(wdd,a.H)};
jid.prototype.py=function(a){Zhd(this.context.Usa,a);if(RO(a)){var b=a.Bc();a.tk()?fid(this,b,!0):(a=a.getItem(),H9c(a)&&kid(this,b))}};var fid=function(a,b,c){kid(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.Uu;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.Ss.update(3);break}}JP(a.context).addCallback(function(k){k.bHa(b,c)});a.W()};
jid.prototype.W=function(){if(this.context.Qj.H("rVezo")){var a=this.context.uf.Uu;lid(this);for(var b={};this.V.$b()&&!(this.ha>=_.bk(this.context.Oc,47,5));){var c=_.pl(this.V);this.ha++;Dad(a,c)||this.O.has(c)||(this.O.set(c,null),b.ifa=new _.aWc,_.A(b.ifa,1,c),this.context.Qm().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 iid=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},lid=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){iid(a);a.W()},36E5)};jid.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)),mid(this,a,!1)):nid(this,a)};
jid.prototype.ma=function(a,b){(b=_.RL(b).nk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.YL(_.jVc(_.OL(new _.NL,a),a)),this.context.uf.Ro([a])):nid(this,a)};
var nid=function(a,b){var c=new iP(a.context.vu,a.context.yw,b),d=c.wd().clone();d.xi(_.bk(a.context.Oc,48,1E3));d=new Agd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=mP(a.context.pz,b);JP(a.context).addCallback(function(f){f.Dva(b)});_.Uh(d.Yg().then(function(){oid(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;mid(a,b,!0)}),function(){Pbd(a.context.pz,b)})},oid=function(a,b,c,d){c.iK?(c.gX(),Dgd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());Ggd(a.context.uf,
c,e);mid(a,b,!1)},function(){a.log(b,"Backfill changes failed");mid(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),mid(a,b,!0))},mid=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&JP(a.context).addCallback(function(e){e.bHa(b,!1)});a.W();0<a.O.size||a.context.uf.Uu.dW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){fid(a,e,!0)})};
jid.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var pid=function(){_.N.apply(this,arguments)};_.L(pid,_.N);
var sid=function(a,b){b=qid(b);var c=a.getItem(),d=rid(c.getCapabilities());b.h4.forEach(function(e){_.MTb(e.getItem(),c.gp());_.dN(e.getItem(),d.clone())});return b},vid=function(a,b,c){var d=tid(c);c=c.find(function(e){return e.getId()===b.getId()});c={qK:c?c:new PO(b),children:[]};uid(a,d,c);return c},tid=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},uid=
function(a,b,c){var d=c.qK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(uid(a,b,{qK:e,parent:c,children:[]}))});return c},xid=function(a,b){b=b.children.filter(function(l){return!_.$k(l.qK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.qK.getItem();if(!c.has(f.getId())){_.MTb(f,a.gp());wid(a,f,e.parent?e.parent.qK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.$k(k.qK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.qK)}}return d},
yid=function(a){a=a.children.filter(function(h){return!_.$k(h.qK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.qK.getItem();if(!b.has(e.getId())){c.push(_.YL(_.OL(new _.NL,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.$k(f.qK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},qid=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}},rid=
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);_.LWc(a,b);_.A(a,30,c);_.GWc(a,b);_.MWc(a,c);_.HWc(a,c);_.IWc(a,b);_.tWc(a,b);_.yWc(a,c);_.EWc(a,b);_.DWc(a,_.R(a,7));_.xWc(a,_.R(a,10)||_.R(a,11));_.FWc(a,_.Uk(a));_.Lj(a,18);_.Lj(a,13);_.Lj(a,10);_.JWc(a,_.R(a,42));_.KWc(a,_.R(a,43));_.NWc(a,_.R(a,48));return a},wid=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.GWc(e,_.R(d,31));_.MWc(e,_.R(d,
47));_.HWc(e,_.R(d,32));_.IWc(e,_.R(d,33));_.tWc(e,_.R(d,4));_.yWc(e,_.R(d,9));_.FWc(e,_.R(d,21));_.EWc(e,_.R(d,20));_.DWc(e,_.R(d,17));_.sWc(e,_.Uk(d));_.wWc(e,_.R(d,7));_.zWc(e,_.R(d,10));_.AWc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.LWc(e,_.R(d,46));_.NWc(e,_.R(d,48));a=_.$k(a);_.A(b,137,a);c&&(c=c.getCapabilities(),bO(b)?(_.xWc(e,_.R(c,43)),_.KWc(e,_.R(c,43)),_.JWc(e,_.R(c,42))):_.xWc(e,_.R(c,42)))};
var zid=function(a){this.context=a;this.V=new pid;this.O=_.mf(new _.lf,306);this.H=a.uf},Zhd=function(a,b){if(RO(b))b.tk()?Aid(a,b):Bid(a,b);else if(_.S(a.context.Oc,86,!1)){var c=b.Cc(),d=a.H.wm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!bO(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.gp()!==d.gp();e=f||e&&h}if(e)if(b.tk()){if(b=Cid(a,d.Bc()),d=a.V,e=(new _.Yk).Pb(c),b=(b=vid(d,e,b))?yid(b):[],a.context.uf.Ro(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=I5c(a.context.Sk(),106009))c=D5c(a),_.A(c,2,b.length),a.Zj()}else if(c=b.getItem(),d=Cid(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=vid(e,c,d))?xid(c,d):[],Qfd(a.context.uf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=I5c(a.context.Sk(),106010))b=D5c(a),_.A(b,1,c.length),a.Zj()}},Aid=function(a,b){var c=b.Cc();b=Cid(a,c);b=qid(b);var d=_.We(b.h4,function(e){return _.YL(_.OL(new _.NL,e.getId()))});a.context.uf.Ro(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=I5c(a.context.Sk(),106016))c=E5c(a),_.A(c,1,b.tQ.length),_.A(c,2,b.h4.length),a.Zj()},Bid=function(a,b){var c=b.Cc(),d=Cid(a,c),e=a.H.wm.H(c);b=sid(b,d);Qfd(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=I5c(a.context.Sk(),106017)){var f=E5c(d);_.A(f,1,b.tQ.length);_.A(f,2,b.h4.length);d.Zj()}e||zgd(a.H.zI,c)},Cid=function(a,b){var c=new _.Ye;_.Il(c,[b]);_.Jl(c,2);return T9c(a.H.wm,c)};zid.prototype.log=function(a,b){this.context.Sf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Did=function(a,b,c){this.H=a;this.V=b;this.uJ=c};
Did.prototype.Ww=function(a,b){var c=this;if(a.JV().length){var d=Cbd(this.H,a.Cc());if(d){var e=d?Dbd(this.H,a):[];for(var f={},h=_.m(a.JV()),k=h.next();!k.done;f={vL:f.vL},k=h.next())if(k=k.value,f.vL=Eid(e,k.$m(),a.Cc()),_.R(k,3))Jbd(this.H,f.vL),_.Uh(b,function(r){return function(){c.H.O.W(sbd(r.vL))}}(f));else{for(var l=_.m(_.Uj(k,_.FF,2)),p=l.next();!p.done;p=l.next())Fid(this,f.vL,p.value);k=_.m(_.Md(k,4));for(l=k.next();!l.done;l=k.next())Gid(f.vL,l.value);this.H.nD([f.vL],!1,-1);b.then(function(r){return function(){return void c.H.bI(r.vL.getName(),
-2)}}(f),function(r){return function(){c.H.bI(r.vL.getName(),-2)}}(f))}e=this.qd(d.uk().response)}}e=e?e:this.qd();var q=e.c4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.aB(r));c.handleError(a.Cc(),r)});return e};Did.prototype.qd=function(a){a=void 0===a?new AO:a;return new B9c(a.Dc(1))};var Eid=function(a,b,c){var d=a.find(function(e){return rbd(e.getName(),b)});d||(d=i6c((new uO).jd(b),c),a.push(d));return d};
Did.prototype.handleError=function(a,b){Lbd(this.V,a);a=_.RL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.uJ(a)};
var Fid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new sO,d.Pb(c.getId()),h6c(b,b.O().concat([d])),Hid(d,c));if(1===tO(d))d.setBooleanValue(_.R(c,3));else if(12===tO(d))d.setDateStringValue(_.B(c,17));else if(2===tO(d))d.setTextValue(_.B(c,4));else if(3===tO(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===tO(d))d.setLongTextValue(_.B(c,7));else if(5===tO(d))d.setSelectionValue(_.B(c,8));else if(6===
tO(d))_.Md(c,10).length?d.kpa(_.Md(c,10)):_.Md(c,9).length&&(a=d.yMa().concat(_.Md(c,9)),d.kpa(a));else if(7===tO(d))d.setIntegerValue(_.B(c,11));else if(8===tO(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===tO(d))d.setUserValue(a.O(_.B(c,14)));else if(11===tO(d))_.Md(c,16).length?e6c(d,_.Md(c,16).map(a.O)):_.Md(c,15).length&&e6c(d,d.oBa().concat(_.Md(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(tO(d)+
"."),new _.lc(d,new _.kc);},Gid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===tO(a))_.Lj(a,5);else if(12===tO(a))_.Lj(a,17);else if(2===tO(a))_.Lj(a,6);else if(3===tO(a))_.NH(a,7);else if(4===tO(a))_.Lj(a,8);else if(5===tO(a))_.Lj(a,9);else if(6===tO(a))_.NH(a,10);else if(7===tO(a))_.Lj(a,11);else if(8===tO(a))_.NH(a,12);else if(10===tO(a))_.Mj(a,15);else if(11===tO(a))_.Oj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(tO(a)+"."),new _.lc(a,new _.kc);
},Hid=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)};Did.prototype.O=function(a){return _.qWc(_.oWc(1),a)};
var Iid=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};Iid.prototype.apply=function(a,b){var c=this;if(!_.WM(a))return b;var d=null;a instanceof _.oM?d=Jid(this,a,b):a instanceof _.vM?d=Kid(this,a,b):a instanceof _.UL?d=this.Ww(a,b):a instanceof _.jM?d=Lid(this,a,b):a instanceof _.OM&&(d=this.va.Ww(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 Jid=function(a,b,c){Fbd(a.O,b.getId());var d=a.H.wm.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=_.RL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.VM).Dc(1)},Kid=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&Hbd(a.O,d)&&_.Uh(Mid(a,d,new _.uZc(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=_.RL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.VM).Dc(1)},Mid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Th(),h=c.Ya();_.sH(c);setTimeout(function(){a.ka.then(function(k){var l=_.mf(new _.lf,1425);l=u2c(!0,1,l);return k.Te(l).then(function(p){if(p=p.qd())if(p=p.Fd()[0],!p||(p.Rv()||0)>b){f.resolve();return}_.Uh(Mid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Uh(Mid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},Lid=function(a,b,c){var d=b.Bc(),e=a.H.wm.H(d);if(!e)return null;e=e.clone();bgd(a.H,[e],[157]);var f=e.hh();Nid(f,_.Uj(b,_.Xk,2));Oid(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=_.RL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return j7c(new i7c,e).Dc(1)},
Nid=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.$m()==e.$ea.$m()}}(c))||_.Xj(a,8,c.$ea,_.Xk,void 0)},Oid=function(a,b){var c=b.map(function(d){return d.$m()});b=_.Uj(a,_.Xk,8).filter(function(d){return!c.includes(d.$m())});E1c(a,b)};
Iid.prototype.Ww=function(a,b){var c=this,d=this.H.wm.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(S9c(this.H.wm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();Pid(this,a,h);this.H.ol([h],-1,void 0,void 0,z5c(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=_.RL(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 _.UXc((new _.VM).setItem(h),h.getId()).Dc(1)};
var Pid=function(a,b,c){null!=b.Qe()&&c.nm(b.Qe());null!=b.Ti()&&_.aXc(c,b.Ti());null!=b.getMimeType()&&_.QF(c,b.getMimeType());null!=_.B(b,7)&&_.LTb(c,_.B(b,7));null!=_.R(b,11)&&_.VWc(c,_.R(b,11));null!=_.R(b,4)&&c.Av(_.R(b,4));null!=_.R(b,16)&&_.$Wc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Kn(b.Sh()),_.ZWc(c,b.Sh()));null!=_.R(b,18)&&_.YN(T1c(c,!0),_.R(b,18));_.Md(b,8).length&&_.cN(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)});
_.cN(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)});_.cN(c,[].concat(_.jd(e)));var f=c.lw();f&&_.Md(b,10).includes(f)&&_.Lj(c,46)}if(!c.lw()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.wm.H(p);return q&&!!q.lw()||p==h});_.A(c,46,f||void 0)}c.mk().length&&(f=a.H.wm.H(c.mk()[0]))&&_.dXc(c,f.Bc());if(f=_.C(b,_.Vk,25)){var k=_.C(c,_.Vk,111)||new _.Vk;null!=_.R(f,1)&&_.PWc(k,_.R(f,1));null!=_.B(f,2)&&_.QWc(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)};Iid.prototype.oa=function(a,b){var c=this,d=_.bA(new _.$z,[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 Qid=function(a){this.H=a};_.L(Qid,_.b0c);Qid.prototype.execute=function(a,b,c){var d=_.b0c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.gLa||b instanceof _.KL&&_.XM(b.wd()))if(c=R5c(this.H))return c;return b instanceof _.vM?(c=_.mf(new _.lf,1424),a.Te(u2c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Fd()[0])&&_.P(e,96)&&b.ida(e.Rv())},function(){})):null};
var K2c=function(a,b){return[Rid,Sid,Tid,Uid].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},Rid=function(a){return Vid[a.Af()]},Sid=function(a){return Wid[a.getType()]},Tid=function(a){return a.getName()||""},Uid=function(a){return a.getId()||""},OP={},Vid=(OP[5]=0,OP[7]=1,OP[1]=2,OP[3]=3,OP[4]=4,OP[2]=5,OP[6]=6,OP),Xid={},Wid=(Xid[1]=0,Xid[2]=1,Xid[3]=2,Xid[4]=3,Xid);
var Yid=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};
Yid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.VM&&8===b.Ab()))if(a instanceof _.iM||a instanceof _.kM||a instanceof _.RVc||a instanceof _.UL||a instanceof _.QM||a instanceof _.ZVc||a instanceof _.SM||a instanceof _.gO){var d=_.XL(b.getItem().clone(),9);this.H.ol([d],1);gcd(this.oa,b.getItem(),_.pN(this.Jg))}else a instanceof _.oM?(b=_.YL(_.OL(new _.NL,a.getId())),this.H.Ro([b])):a instanceof _.rM?(b=_.YL(_.jVc(_.OL(new _.NL,a.getId()),a.getId())),this.H.Ro([b]),Zhd(this.ma,b)):
a instanceof _.vM?(b=u2c(!0).wd(),b=this.H.wm.query(b).map(function(e){return _.YL(_.OL(new _.NL,e.getId()))}),this.H.Ro(b)):a instanceof _.mM?this.O.remove(a.zh()):a instanceof _.yM||a instanceof _.NM?this.O.put(b.tr()):a instanceof _.pM?J2c(this.H,a):a instanceof _.kD?this.W.remove(a.getKey()):a instanceof _.zM?L2c(this.H,a,_.C(b,_.Fk,2)):a instanceof _.lD?this.W.put(b.OMa()):a instanceof _.lM||a instanceof _.RM?this.ha.nD([b.jn()],!1):a instanceof _.sM?this.ha.nD([Ubd(a.getId())],!1):a instanceof
_.QVc?this.V.nD(b.response.O(),!1,1):a instanceof _.OM?(a.JV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.$m()||"",a.Cc())}),Lbd(this.ka,a.Cc()),this.H.x2a(a.Cc())):a instanceof _.uN&&_.Uj(a,_.T6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.C(e,_.yO,2),e.getType()){case 1:case 2:if(e=c.H.wm.H(e.Cc())){var f=new _.NL;f=_.A(f,5,!0);e=_.OL(f,e.getId()).setItem(e.clone());c.H.Ro([e])}}}})};
var Zid=function(a){this.H=a};
Zid.prototype.translate=function(a){if(a instanceof _.KM){var b=this.H.H(a.getId());if(!b)return new _.kc;var c=(new _.UL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.he(d)||_.R(d,9)?c.Kn(!0):_.VL(c,!1)}else d=a.getParent(),1===b.gp()?c.Kn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?$4c(c,[d]):_.VL(c,!1)):_.VL(c,!1);return c}if(a instanceof _.LM)return b5c(a5c($4c(Z4c((new _.UL).Pb(a.getId()),_.Md(a,2)),_.Md(a,3)),_.R(a,6)),_.Uj(a,_.Cl,8));if(a instanceof _.MM){b=this.H.H(a.getId());
if(!b)return new _.kc;c=(new _.UL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.he(d)||_.R(d,9)?c.Kn(!1):_.VL(c,!0)):(d=a.getParent(),1===b.gp()?c.Kn(!1):d?(b=this.H.H(d),!b||_.Uk(b.getCapabilities())?Z4c(c,[d]):_.VL(c,!0)):_.VL(c,!0));return c}if(a instanceof _.HN)return new _.RVc(a);if(a instanceof _.AP)return _.Md(a,1).map(function(f){var h=new _.OM;f=_.A(h,1,f);h=a.JV();f=_.Nj(f,2,h);h=a.xe();return _.J(f,3,h)});if(a instanceof _.uM){c=u2c(!1,1).wd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Rv())&&(e=Math.max(e,f))});return M5c(new _.vM,a).ida(e)}return a};
var $id=function(){};$id.prototype.validate=function(a){var b=null;a instanceof _.DM?(a=a.getId()||"",_.ae(a)&&(b="Tried to request backup with no id.")):a instanceof _.nM&&(a=a.getId()||"",_.ae(a)&&(b="Tried to delete backup with no id."));return b?_.RL(b):null};
var ajd=function(a,b){this.O=a;this.H=b},ejd=function(a,b){_.ON(["drive#about"],b);var c=new _.BP,d=new _.$A;if(b.user){var e=_.QN(a.O,b.user);_.J(d,1,e)}a=bjd(a,b);a=T4c(S4c(_.R4c(new _.Wsb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.V4c(a,_.G4c(_.F4c((new _.ZA).Dc(cjd[e.status]),Number(e.trialMillisRemaining)),_.PN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.W4c(a,_.I4c(_.H4c(new _.Rsb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&U4c(a,b.importFormats.map(function(f){var h=new _.Q4c;h=_.A(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,djd[b.adminSecureLinkSetting]);_.J(d,3,a);_.Led(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},bjd=function(a,b){var c;var d=new _.Vsb;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=_.M4c(_.L4c(_.K4c(_.J4c(d,
N2c(b.quotaBytesByService||[])),fjd[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-P2c(b);d=_.A(d,9,e);d=_.N4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.P1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.O4c(d,gjd[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Usb;var f=
_.A2a(new Date(b.graceQuotaInfo.endDate));e=_.J(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.J(d,12,e)}(null===(c=_.TL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.P1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},gjd={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},O2c=new Set(["POOLED_STORAGE","FAMILY"]),cjd={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},M2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},fjd={LIMITED:1,UNLIMITED:2,POOLED:3},djd={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var hjd={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},ijd={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},jjd={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},kjd={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},ljd={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},mjd={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},njd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},ojd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},pjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},qjd={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},rjd={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},sjd={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},tjd={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},ujd={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},vjd={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},wjd={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},xjd={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},yjd={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},zjd={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Ajd={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Bjd={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Cjd={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},Jjd=function(a){return a.map(function(b){var c=new _.u9c;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=Djd(e);_.J(c,2,d);break;case "actors":d=Ejd(e);_.Nj(c,3,d);break;case "actions":d=Fjd(e);_.Nj(c,
4,d);break;case "targets":d=Gjd(e);_.Nj(c,5,d);break;case "timestamp":c.O(Hjd(e));break;case "timeRange":d=Ijd(e),_.Wj(c,7,t9c[0],d)}}return c})},Fjd=function(a){return a.map(function(b){var c=new _.r9c;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=Djd(e);_.J(c,1,d);break;case "source":d=new I8c;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,hjd[h]);break;case "appId":_.ek(d,1,h)}}_.J(c,2,d);break;case "actor":d=Kjd(e);_.J(c,3,d);break;case "target":d=Ljd(e);_.J(c,4,d);break;case "timestamp":c.O(Hjd(e));break;case "timeRange":d=Ijd(e),_.Wj(c,6,q9c[0],d)}}return c})},Gjd=function(a){return a.map(function(b){return Ljd(b)})},Njd=function(a){return a.map(function(b){return Mjd(b)})},Ojd=function(a){return a.map(function(b){var c=new _.m8c;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(Mjd(e));break;case "shortcut":d=Mjd(e),_.J(c,2,d)}}return c})},Ljd=function(a){var b=new _.M8c;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=Pjd(d);_.Wj(b,1,_.L8c[0],c);break;case "drive":c=new _.J8c;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=Pjd(f),_.J(c,3,e)}}_.Wj(b,5,_.L8c[0],c);break;case "fileComment":c=new _.K8c;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(Pjd(f))}_.Wj(b,3,_.L8c[0],c)}}return b},Mjd=function(a){var b=new _.DO;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 W7c;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 U7c;_.Wj(e,8,V7c[0],f);break;case "driveFolder":e=Qjd(f);_.Wj(c,9,V7c[0],e);break;case "driveShortcut":e=Rjd(f),_.Wj(c,10,V7c[0],e)}}_.Wj(b,1,X7c[0],c);break;case "drive":c=Sjd(d),_.Wj(b,3,
X7c[0],c)}}return b},Pjd=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 "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 O7c;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=Tjd(f);_.J(c,3,e);break;case "user":e=
PP(f);_.Wj(c,1,N7c[0],e);break;case "drive":e=Sjd(f),_.Wj(c,4,N7c[0],e)}}_.J(b,7,c);break;case "driveFile":c=new U7c;_.Wj(b,8,P7c[0],c);break;case "driveFolder":c=Qjd(d);_.Wj(b,9,P7c[0],c);break;case "driveShortcut":c=Rjd(d),_.Wj(b,10,P7c[0],c)}}return b},Sjd=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 "title":b.setTitle(d)}}return b},Qjd=function(a){var b=new R7c;
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,ijd[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 "targetName":_.ek(b,1,d);break;case "targetMimeType":_.ek(b,2,d)}}return b},Ejd=function(a){return a.map(function(b){return Kjd(b)})},Kjd=function(a){var b=new _.H8c;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=PP(d);_.Wj(b,1,_.G8c[0],c);break;case "anonymous":c=new D8c;_.Wj(b,2,_.G8c[0],c);break;case "impersonation":c=new _.E8c;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=PP(f),_.J(c,1,e)}}_.Wj(b,3,_.G8c[0],c);break;case "system":c=new _.F8c;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,jjd[f])}_.Wj(b,4,_.G8c[0],c);break;case "administrator":c=new _.C8c,_.Wj(b,5,_.G8c[0],c)}}return b},Ujd=function(a){return a.map(function(b){return PP(b)})},PP=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 "knownUser":c=new _.BO;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.io(f)}}_.Wj(b,2,_.r7c[0],c);break;case "unknownUser":c=new u7c;_.Wj(b,4,_.r7c[0],c);break;case "deletedUser":c=new _.s7c,_.Wj(b,3,_.r7c[0],c)}}return b},Hjd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.z2a((new _.Bx).setSeconds(a),b)},Ijd=function(a){var b=new _.OO;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(Hjd(d));break;case "endTime":b.vF(Hjd(d))}}return b},Tjd=function(a){var b=new _.L7c;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},Djd=function(a){for(var b=new _.IO,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 _.$7c,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 a8c;_.Wj(y,1,_.Y7c[0],z);break;case "upload":var D=k,H=new b8c;_.Wj(D,2,_.Y7c[0],H);break;case "copy":for(var I=u,M=new _.Z7c,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=Mjd(na);_.J(M,1,qa)}}_.Wj(k,3,_.Y7c[0],M)}}_.Wj(b,1,_.HO[0],k);break;case "edit":var ua=new g8c;_.Wj(b,2,_.HO[0],ua);break;case "move":for(var Wa=new _.o8c,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=Njd(Zb);_.Nj(Wa,1,Jc);break;case "removedParents":var ne=Njd(Zb);_.Nj(Wa,2,ne);break;case "fromOwnershipTransfer":_.ck(Wa,3,Zb);break;case "reparents":var oe=
Zb.map(Vjd);_.Nj(Wa,4,oe);break;case "multiparentingMigration":for(var Id=Zb,ff=new _.n8c,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=Njd(Ve);_.Nj(ff,2,Cj);break;case "migratedParents":var Zf=Ojd(Ve);_.Nj(ff,1,Zf)}}_.J(Wa,5,ff)}}_.Wj(b,3,_.HO[0],Wa);break;case "rename":for(var ni=new _.u8c,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,_.HO[0],ni);break;case "delete":for(var oi=new _.e8c,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,kjd[fh])}}_.Wj(b,5,_.HO[0],oi);break;case "restore":for(var gl=new _.v8c,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,ljd[jl])}}_.Wj(b,6,_.HO[0],gl);break;case "permissionChange":for(var Wh=new _.r8c,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=Wjd(Jh);_.Nj(Wh,1,Nl);break;case "removedPermissions":var qj=Wjd(Jh);_.Nj(Wh,2,qj);break;case "resharedPermissions":var jk=Wjd(Jh);_.Nj(Wh,3,jk);break;case "otherActivePermissions":var km=Wjd(Jh);_.Nj(Wh,4,km)}}_.Wj(b,7,_.HO[0],
Wh);break;case "comment":for(var kl=new _.K7c,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 _.H7c,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,njd[Ln])}}_.Wj(kl,1,_.G7c[0],Fc);break;case "assignment":for(var nk=Bi,xh=new _.I7c,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,ojd[Ni]);break;case "assignedUser":var jn=PP(Ni);_.J(xh,7,jn)}}_.Wj(kl,2,_.G7c[0],xh);break;case "suggestion":for(var pi=Bi,ml=new _.J7c,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,pjd[Ol])}}_.Wj(kl,3,_.G7c[0],ml);break;case "mentionedUsers":var Km=Ujd(Bi);_.Nj(kl,7,Km)}}_.Wj(b,8,
_.HO[0],kl);break;case "dlpChange":for(var ln=new _.d8c,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,qjd[Gp])}}_.Wj(b,9,_.HO[0],ln);break;case "view":for(var Js=new B8c,Qw=_.m(Object.entries(h)),Ks=Qw.next();!Ks.done;Ks=Qw.next()){var Yn=_.m(Ks.value),Iq=Yn.next().value,Ut=Yn.next().value;switch(Iq){case "type":_.fk(Js,1,rjd[Ut]);break;case "viewHistoryVisibility":for(var aD=Ut,EA=new A8c,
bD=_.m(Object.entries(aD)),Vt=bD.next();!Vt.done;Vt=bD.next()){var Uw=_.m(Vt.value),Vw=Uw.next().value,Ww=Uw.next().value;switch(Vw){case "domainPolicyVisibilityState":_.fk(EA,1,sjd[Ww]);break;case "namedPartyState":_.fk(EA,2,tjd[Ww])}}_.J(Js,2,EA)}}_.Wj(b,10,_.HO[0],Js);break;case "download":for(var pJ=new f8c,xy=_.m(Object.entries(h)),Wt=xy.next();!Wt.done;Wt=xy.next()){var xn=_.m(Wt.value),yy=xn.next().value,Jq=xn.next().value;switch(yy){case "type":_.fk(pJ,1,ujd[Jq])}}_.Wj(b,11,_.HO[0],pJ);break;
case "reference":for(var qS=new _.m7c,NF=_.m(Object.entries(h)),Xw=NF.next();!Xw.done;Xw=NF.next()){var vi=_.m(Xw.value),OF=vi.next().value,Yw=vi.next().value;switch(OF){case "type":_.fk(qS,1,vjd[Yw]);break;case "context":for(var FA=qS,kZ=FA.Yi,lZ=Yw,Sg=new l7c,cD=_.m(Object.entries(lZ)),dD=cD.next();!dD.done;dD=cD.next()){var Er=_.m(dD.value),ao=Er.next().value,PF=Er.next().value;switch(ao){case "description":Sg.nm(PF);break;case "url":_.ek(Sg,2,PF)}}kZ.call(FA,Sg)}}_.Wj(b,12,_.HO[0],qS);break;case "settingsChange":for(var SN=
new _.y8c,qJ=_.m(Object.entries(h)),rJ=qJ.next();!rJ.done;rJ=qJ.next()){var mZ=_.m(rJ.value),zy=mZ.next().value,Ay=mZ.next().value;switch(zy){case "restrictionChanges":var Tha=Xjd(Ay);_.Nj(SN,1,Tha)}}_.Wj(b,13,_.HO[0],SN);break;case "approvalChange":for(var Ns=new _.x7c,TN=_.m(Object.entries(h)),sJ=TN.next();!sJ.done;sJ=TN.next()){var Zw=_.m(sJ.value),tJ=Zw.next().value,Fr=Zw.next().value;switch(tJ){case "approvalName":_.ek(Ns,2,Fr);break;case "approvalEventNames":_.Kj(Ns,3,Fr);break;case "initiator":var uJ=
PP(Fr);_.J(Ns,4,uJ);break;case "reviewers":var nZ=Ujd(Fr);_.Nj(Ns,5,nZ);break;case "status":Ns.Dc(yjd[Fr]);break;case "dueTime":var rS=Hjd(Fr);_.J(Ns,7,rS);break;case "approvalRequested":var sS=Ns,v7=new y7c;_.Wj(sS,8,_.CO[0],v7);break;case "approvalCancelled":var vJ=Ns,oZ=new z7c;_.Wj(vJ,9,_.CO[0],oZ);break;case "reviewerResponded":for(var tS=Fr,GA=new _.w7c,Ip=_.m(Object.entries(tS)),Kq=Ip.next();!Kq.done;Kq=Ip.next()){var eO=_.m(Kq.value),Nia=eO.next().value,T0a=eO.next().value;switch(Nia){case "reviewerDecision":_.fk(GA,
1,zjd[T0a])}}_.Wj(Ns,10,_.CO[0],GA);break;case "commentAdded":var PS=Ns,U0a=new A7c;_.Wj(PS,11,_.CO[0],U0a);break;case "reviewersChanged":for(var CCb=Fr,IZ=new C7c,JZ=_.m(Object.entries(CCb)),V0a=JZ.next();!V0a.done;V0a=JZ.next()){var DCb=_.m(V0a.value),W0a=DCb.next().value,ECb=DCb.next().value;switch(W0a){case "reviewerChanges":var kxc=Yjd(ECb);_.Nj(IZ,1,kxc)}}_.Wj(Ns,12,_.CO[0],IZ);break;case "dueTimeChanged":for(var FCb=Fr,bAa=new E7c,NA=_.m(Object.entries(FCb)),cAa=NA.next();!cAa.done;cAa=NA.next()){var X0a=
_.m(cAa.value),GCb=X0a.next().value,HCb=X0a.next().value;switch(GCb){case "oldDueTime":var ICb=Hjd(HCb);_.J(bAa,1,ICb)}}_.Wj(Ns,13,_.CO[0],bAa)}}_.Wj(b,18,_.HO[0],Ns);break;case "lock":var JCb=new i8c;_.Wj(b,15,_.HO[0],JCb);break;case "unlock":var Y0a=new z8c;_.Wj(b,16,_.HO[0],Y0a);break;case "appliedLabelChange":for(var Z0a=new _.q7c,$0a=_.m(Object.entries(h)),dAa=$0a.next();!dAa.done;dAa=$0a.next()){var KCb=_.m(dAa.value),Oia=KCb.next().value,eAa=KCb.next().value;switch(Oia){case "changes":var QS=
Zjd(eAa);_.Nj(Z0a,1,QS)}}_.Wj(b,19,_.HO[0],Z0a);break;case "publishChange":for(var a1a=new _.t8c,LCb=_.m(Object.entries(h)),b1a=LCb.next();!b1a.done;b1a=LCb.next()){var CJ=_.m(b1a.value),MCb=CJ.next().value,c1a=CJ.next().value;switch(MCb){case "oldPublishState":var NCb=$jd(c1a);_.J(a1a,1,NCb);break;case "newPublishState":var OCb=$jd(c1a);_.J(a1a,2,OCb)}}_.Wj(b,20,_.HO[0],a1a);break;case "linkShareMetadataChange":for(var PCb=new _.h8c,d1a=_.m(Object.entries(h)),KZ=d1a.next();!KZ.done;KZ=d1a.next()){var LZ=
_.m(KZ.value),Pia=LZ.next().value,e1a=LZ.next().value;switch(Pia){case "securityUpdateEnabled":_.ck(PCb,1,e1a)}}_.Wj(b,21,_.HO[0],PCb)}}return b},Vjd=function(a){var b=new _.k8c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.fk(b,1,Cjd[d])}}return b},Wjd=function(a){return a.map(function(b){var c=new _.GO;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,mjd[e]);break;case "user":d=PP(e);_.Wj(c,2,_.FO[0],d);break;case "group":d=new _.EO;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,_.FO[0],d);break;case "domain":d=Tjd(e);_.Wj(c,4,_.FO[0],d);break;case "anyone":d=new p8c;_.Wj(c,5,_.FO[0],d);break;case "allowDiscovery":_.ck(c,6,e)}}return c})},Xjd=function(a){return a.map(function(b){var c=
new _.x8c;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,wjd[e]);break;case "newRestriction":_.fk(c,2,xjd[e])}}return c})},Yjd=function(a){return a.map(function(b){var c=new D7c;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=PP(e);_.J(c,3,d);break;case "addedReviewer":d=PP(e),_.J(c,4,d)}}return c})},
Zjd=function(a){return a.map(function(b){var c=new _.p7c;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=akd(e),_.Kj(c,2,d)}}return c})},akd=function(a){return a.map(function(b){return Ajd[b]})},$jd=function(a){var b=new _.s8c;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,Bjd[d]);break;case "signinRequired":_.ck(b,2,d);break;case "publishedTime":c=Hjd(d),_.J(b,3,c)}}return b};
var ckd=function(a,b){var c=new ied;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=bkd(a),_.J(b,2,a));return b},bkd=function(a){_.ON(["drive#app"],a);var b=(new _.JO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=X8c(W8c(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,dkd[a.type]);b=_.A(b,25,a.hasAppData);b=_.A(b,26,a.appDataQuotaBytesUsed);b=_.A(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.A(b,30,a.hasDriveWideScope);b=_.A(b,31,a.driveSource);b=_.A(b,32,a.driveBranded);b=_.A(b,33,a.hidden);b=_.A(b,
34,a.supportsMobileBrowser);b=_.A(b,35,a.supportsTeamDrives);b=_.A(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.P8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,ekd[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 _.S8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=fkd(c.mimeTypeScores||[]);_.Nj(a,2,d);c=fkd(c.fileExtensionScores||[]);
_.Nj(a,3,c);_.J(b,29,a);return b},fkd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.Q8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},dkd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},ekd={application:1,document:2,documentShared:3};
var hkd=function(a){var b=new efd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.sP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.PN(c.updateTime));d=_.A(d,4,gkd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.PN(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.Yy()){var e=new Rdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2===d.Yy()&&(e=new _.Qdd,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},jkd=function(a){var b=new afd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.tP).Pb(c.id);d=_.A(d,1,ikd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.Sdd(d.setSize(c.size),_.PN(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).nm(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Nj(b,1,a);return b},gkd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},ikd={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 kkd=function(a,b){this.H=a;this.O=b};
var lkd={read:2,write:3,comment:4},mkd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.QF((new _.Yk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.dN(d,_.d0c(c.userCapabilities));_.pN(b).includes(19)&&_.bXc(d,!0);gcd(a,d,_.pN(b));_.cXc(d,4);return d},okd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Mna;f=_.A(f,2,nkd(e));e=mkd(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.RA).Pw(d).CP(c.suggestionSessionId);return _.LZc(new _.IN,c)},qkd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=pkd(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=mkd(a,b,l),d.push(q));l=y4c(x4c(w4c(new _.Jna,k.clone()),nkd(l)),l.url);_.Xj(q,107,l,_.Jna,void 0)})}});return X5c((new _.yN).Pw(d),e).CP(c.suggestionSessionId)},pkd=function(a){return _.qWc((new _.Fk).Pb(a.id).jd(a.displayName),a.emailAddress).io(a.photoUrl)},
skd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=mkd(a,b,e);e=rkd(e);f=_.Nj(f,117,e);d.push(f)}});c=(new _.RA).Pw(d).CP(c.suggestionSessionId);return _.LZc(new _.IN,c)},rkd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.qna,e=tkd(c);e&&_.Wj(d,2,_.Ik[0],e);(e=ukd(c))&&o3c(d,e);(e=vkd(c))&&_.Wj(d,4,_.Ik[0],e);(e=wkd(c))&&_.Wj(d,5,_.Ik[0],e);(e=xkd(c))&&_.Wj(d,6,_.Ik[0],e);(e=ykd(c))&&_.Wj(d,7,_.Ik[0],e);(e=zkd(c))&&_.Wj(d,8,_.Ik[0],e);(e=Akd(c))&&
_.Wj(d,9,_.Ik[0],e);(e=Bkd(c))&&_.Wj(d,10,_.Ik[0],e);(c=Ckd(c))&&_.Wj(d,11,_.Ik[0],c);return d}):(a=QP(a),a=Z3c([a]),[o3c(new _.qna,a)])},Ekd=function(a){return(a.justification||[]).map(function(b){return Dkd(b)})},QP=function(a){return(a=a.justification)?Dkd(a):null},Dkd=function(a){var b=l3c(new _.Hk,Fkd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=pkd(c),_.Wj(b,3,_.pna[0],c),m3c(b,[c])):d?(c=(d.person||[]).map(function(e){return pkd(e)}),d=k3c(c),_.Wj(b,4,_.pna[0],d),m3c(b,c)):(c=(a.person||
[]).map(function(e){return pkd(e)}),c.length&&(d=k3c(c),_.Wj(b,4,_.pna[0],d),m3c(b,c)));_.A(b,5,_.PN(a.eventTime));n3c(b,Fkd(a.justificationDescription));return b},Fkd=function(a){if(!a)return null;a=a.textSegment||[];return h3c(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)}))},tkd=function(a){a=a.documentDocosAction;if(!a)return null;var b=N3c(new _.wna,QP(a));M3c(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 v3c,_.Wj(d,2,_.xna[0],c)):c.reassign?(c=new t3c,_.Wj(d,3,_.xna[0],c)):c.acceptSuggestion?(c=new p3c,_.Wj(d,4,_.xna[0],c)):c.rejectSuggestion?(c=new u3c,_.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);O3c(b,Fkd(a.anchorText));return b},vkd=function(a){a=a.documentShareAction;if(!a)return null;var b=R3c(new _.Ok,QP(a));Q3c(b,(a.subAction||
[]).map(function(c){var d=new T3c;c.suggestedShare?(c=new z3c,_.Wj(d,1,S3c[0],c)):c.responseToRequest&&(c=new w3c,_.Wj(d,2,S3c[0],c));return d}));P3c(b,(a.sharee||[]).map(function(c){return pkd(c)}));_.A(b,3,lkd[a.shareeRole]);return b},ukd=function(a){a=a.documentViewAction;if(!a)return null;var b=Z3c(Ekd(a));Y3c(b,(a.subAction||[]).map(function(c){var d=new a4c;c.open?d.tg(new lO):c.reviewEdits&&(c=new x3c,_.Wj(d,2,$3c[0],c));return d}));return b},wkd=function(a){a=a.emailViewAction;if(!a)return null;
var b=l4c(new j4c,QP(a));k4c(b,(a.subAction||[]).map(function(c){var d=new n4c;c.openEmail&&d.tg(new r3c);return d}));return b},xkd=function(a){a=a.calendarEventAction;if(!a)return null;var b=F3c(E3c(D3c(new _.Jk,a.eventId),QP(a)),a.guestCount);C3c(b,(a.subAction||[]).map(function(c){var d=new H3c;if(c.viewCalendarEvent){var e=new A3c;_.Wj(d,1,G3c[0],e)}c.shareWithAttendees&&(e=new y3c,_.Wj(d,2,G3c[0],e));c.present&&(e=new s3c,_.Wj(d,3,G3c[0],e));c.openDocument&&(c=new lO,_.Wj(d,4,G3c[0],c));return d}));
return b},ykd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=f4c(e4c(new c4c,a.workspaceId),QP(a));d4c(b,(a.subAction||[]).map(function(c){var d=new h4c;c.addToWorkspace&&(c=new q3c,_.Wj(d,1,g4c[0],c));return d}));return b},zkd=function(a){a=a.documentTopicAction;if(!a)return null;var b=V3c(new _.Pk,QP(a));U3c(b,(a.subAction||[]).map(function(c){var d=new X3c;c.openDocument&&(c=new lO,_.Wj(d,1,W3c[0],c));return d}));return b},Akd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=t4c(new _.Sk,QP(a));s4c(b,(a.subAction||[]).map(function(c){var d=new v4c;c.openDocument&&(c=new lO,_.Wj(d,1,u4c[0],c));return d}));return b},Bkd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=J3c(new _.Nk,QP(a));I3c(b,(a.subAction||[]).map(function(c){var d=new L3c;c.openDocument&&(c=new lO,_.Wj(d,1,K3c[0],c));return d}));return b},Ckd=function(a){a=a.formResponseAction;if(!a)return null;var b=p4c(new _.Rk,Ekd(a));o4c(b,(a.subAction||[]).map(function(c){var d=new r4c;c.openDocument?
(c=new lO,_.Wj(d,1,q4c[0],c)):c.viewResponses&&(c=new B3c,_.Wj(d,2,q4c[0],c));return d}));return b},nkd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var Gkd=function(a,b){this.H=a;this.O=b},Ikd=function(a,b,c){_.ON(["drive#categoryMetadataList"],c);var d=new AO,e=Object.values(c.categoryMetadata||{});h7c(d,e.map(function(f){return Hkd(a,f,b.Cc())}));d.Dc(1);return new _.BN(d,Hdd(c))},Kkd=function(a,b){var c=new yP;qed(c,(b.categories||[]).map(function(d){return Jkd(a,d)}));c.Dc(1);return new C9c(c,Hdd(b))},Hkd=function(a,b,c){_.ON(["drive#categoryMetadata"],b);c=i6c((new uO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);h6c(c,b.map(function(d){return Lkd(a,
d)}).filter(function(d){return d}));return c},Jkd=function(a,b){var c,d=R6c(I6c(O6c(N6c(M6c(H6c(G6c((new xO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).nm(b.description),_.PN(b.createTime)),_.PN(b.updateTime)),_.PN(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new D6c).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=Mkd(e.attributeDisplayHints);_.J(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new l6c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.J(h,6,k)}_.A(h,7,Nkd[f]);e=e[Okd(f)+"Options"];return Pkd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&J6c(d,Qkd(b.createdBy));b.updatedBy&&K6c(d,Qkd(b.updatedBy));b.publishedBy&&L6c(d,Qkd(b.publishedBy));b.displayHints&&P6c(d,Mkd(b.displayHints));b.capabilities&&Q6c(d,Rkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},Lkd=function(a,b){_.ON(["drive#categoryAttributeValue"],
b);var c=(new sO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),f6c(c,b.map(function(d){_.ON(["drive#userScopedAttributeValue"],d);var e=new c6c,f=_.QN(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},Mkd=function(a){var b=(new k6c).hk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},Rkd=function(a){var b=new F6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},Pkd=function(a,b,c,d){return Skd(a,function(){Tkd(a)[c](b,d)},c,b)},Ukd=function(a){a=void 0===a?{}:a;var b=new o6c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},Wkd=function(a){var b=new u6c;v6c(b,(a.choices||[]).map(function(c){var d=new t6c;d=_.A(d,1,c.label).Lb(c.value);c.description&&d.nm(c.description);if(c.capabilities){var e=c.capabilities;var f=new r6c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.J(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new s6c).hk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=Vkd(c.badgeColors),_.J(e,3,f)),c.darkBadgeColors&&(c=Vkd(c.darkBadgeColors),_.J(e,4,c)),_.J(d,4,e));return d}));return b},Vkd=function(a){var b=new j6c;var c=Xkd(a.backgroundColor);b=_.J(b,1,c);c=Xkd(a.foregroundColor);b=_.J(b,2,c);a=Xkd(a.soloColor);return _.J(b,3,a)},Xkd=function(a){var b=new _.wC;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 X4c).Lb(a.alpha),_.J(b,4,a));return b},Ykd=function(a){var b=new y6c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},Zkd=function(a){var b=(new _.coa).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};Gkd.prototype.Lb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.KA(Nkd[d]);return Skd(this,function(){$kd(c)[d](a,b[b.valueType])},b.valueType)};
var Skd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof A6c))return y5c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Qkd=function(a){return _.oWc(1).Pb(a.personName.split("/")[1])},Okd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Tkd=function(a){return{BOOLEAN:function(b,c){var d=b.f4a;var e=new p6c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.gda(Ukd(c))},TEXT_LIST:function(b,c){var d=b.f5a;var e=new x6c;e=_.A(e,1,c.maxEntries);c=Ukd(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new n6c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.Wj(b,10,vO[0],c)},SELECTION:function(b,c){return b.T4a(Wkd(c))},SELECTION_LIST:function(b,c){var d=b.S4a;var e=new w6c;e=_.A(e,1,c.maxEntries);c=Wkd(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.s4a(Ykd(c))},INTEGER_LIST:function(b,
c){var d=b.r4a;var e=new z6c;e=_.A(e,1,c.maxEntries);c=Ykd(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.k5a(new B6c)},USER_LIST:function(b,c){var d=b.spa,e=new C6c;c=_.A(e,1,c.maxEntries);e=new B6c;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Zoa;var e=new m6c;e=_.A(e,4,c.dateFormat);var f=Zkd(c.minValue);e=_.J(e,2,f);c=Zkd(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new A6c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,Nkd[e]);c=c[Okd(e)+"Options"];Pkd(a,d,e,c);return _.Wj(b,16,vO[0],d)}}},$kd=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(_.QN(a.H,c))},USER_LIST:function(b,c){e6c(b,c.map(function(d){return _.QN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Nkd={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 ald=function(a){a=a.personResponse;return Y$c(new X$c,a.map(function(b){var c=b.person;b=U$c(new $O,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=V$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new T$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))};
var bld=function(a){this.H=a},dld=function(a,b){_.ON(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return cld(a,c)})},cld=function(a,b){_.ON(["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)&&
E1c(c,d.map(function(e){_.ON(["drive#driveCategoryReference"],e);var f=new _.Xk;return _.A(f,1,e.category)}));c=_.hXc(_.gXc(_.fXc(_.cXc(_.dXc(D1c(_.QF((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=_.CWc(_.d0c(b.capabilities),!0),_.dN(c,d));b.permissionsSummary&&_.eXc(c,_.t0c(a.H,b.permissionsSummary));b.restrictions&&G1c(c,eld(b.restrictions));return c},eld=function(a){var b=new z4c;
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 fld={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},U2c=_.ab(fld);
var gld=function(a){_.ON(["drive#setting"],a);var b=new _.Ob;b=_.A(b,2,a.key);b=_.A(b,1,fld[a.namespace]);return _.WAa(new _.hp,b).Lb(a.value)};
var ild=function(a){_.ON(["drive#workspaceList"],a);var b=a.items||[];b=aad(new aP,b.map(function(c){return hld(c)}));return new _.EN(b,Hdd(a))},hld=function(a){_.ON(["drive#workspace"],a);var b=(new _.LF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.PN(a.createdDate));return _.A(b,4,_.PN(a.modifiedDate)).Nd(jld[a.state])},kld=function(a,b,c){var d=c.item||[];return _.k1c(_.j1c(new _.XN,d.map(function(e){return mkd(a,b,e)})),c.suggestionSessionId)},mld=function(a,b,c){var d=c.item||[];return e9c(d9c(new LO,
d.map(function(e){return lld(a,b,e)})),c.suggestionSessionId)},lld=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return b9c($8c(a9c(Z8c(new KO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return mkd(a,b,f)})),QP(c))},nld=function(a){var b=new _.$5c;a.kind&&(a=hld(a),_.J(b,2,a));b.Dc(1);return b},jld={active:1,archived:2};
var Q2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var old=function(a,b,c,d){_.D0c.call(this,b);this.Jg=a;this.ka=c;this.O=d;this.W=null;this.ma=new ajd(this.V,b);this.H=new bld(this.nF);this.oa=new kkd(this.nF,this.H)};_.L(old,_.D0c);var pld=function(a){a.W||(a.W=new Gkd(a.V,a.ka));return a.W};
old.prototype.ha=function(a,b){if(a instanceof _.fM)var c=_.l0c(_.I0c(a));else{if(a instanceof _.gM)var d=_.F0c(this,a,b);else{if(a instanceof _.QVc)var e=qld(this,a.request,b);else{if(a instanceof _.hM)var f=_.F0c(this,a,b);else{if(a instanceof _.jM){if(!b.json)throw _.RN();var h=j7c((new i7c).Dc(1),cld(this.H,b.json))}else{if(a instanceof _.iM)var k=_.F0c(this,a,b);else{if(a instanceof _.uN)var l=new W6c;else{if(a instanceof _.lM)var p=rld(a,b);else{if(a instanceof _.mM)var q=ckd(void 0,a.zh());
else{if(a instanceof _.nM)var r=new ffd;else{if(a instanceof _.oM)var u=_.l0c(_.I0c(a));else{if(a instanceof _.pM)var y=new xP;else{if(a instanceof _.qM)var z=_.l0c(_.I0c(a));else{if(a instanceof _.rM)var D=_.l0c(_.I0c(a));else{if(a instanceof _.kD){var H=new jed,I=a.getKey();var M=_.J(H,4,I)}else{if(a instanceof _.sM)var Q=rld(a,b);else{if(a instanceof _.vM)var W=_.l0c(_.I0c(a));else{if(a instanceof _.NVc){if(!b.json)throw _.RN();var pa=new A9c(b.json.exportJob.id)}else{if(a instanceof _.xM){if(!b.json)throw _.RN();
var ia=b.json,na=new eed,qa=bkd(ia);var ua=_.J(na,2,qa).Dc(1)}else{if(a instanceof _.yM)var Wa=sld(a,b);else{if(a instanceof _.zM){if(!b.json)throw _.RN();var Ea=(new xP).Dc(1),Pa=_.m0c(this.nF,b.json);var dc=_.J(Ea,2,Pa)}else{if(a instanceof _.KL)a:{if(!b.json)throw _.RN();if(a instanceof _.KL){var pb=a.wd();if(pb&&_.AM(pb)){var Zb=okd(this.O,this.Jg,b.json);break a}if(pb&&_.BM(pb)){Zb=qkd(this.O,this.Jg,b.json);break a}if(pb&&_.CM(pb)){Zb=skd(this.O,this.Jg,b.json);break a}}Zb=_.i0c(this.nF,b.json,
b.headers)}else{if(a instanceof _.DM){if(!b.json)throw _.RN();var Jc=jkd(b.json)}else{if(a instanceof _.EM){if(!b.json)throw _.RN();var ne=b.json;_.ON(["drive#appList"],ne);for(var oe=new ZO,Id=[],ff=ne.items||[],Dc=0;Dc<ff.length;Dc++)Id.push(bkd(ff[Dc]));var Bb=_.Nj(oe,2,Id);var Og=_.Kj(Bb,4,ne.defaultAppIds).Dc(1)}else{if(a instanceof _.OVc){if(!b.json)throw _.RN();var Ag=hkd(b.json)}else{if(a instanceof _.WL)var Ve=tld(this,b);else{if(a instanceof _.FM){if(!b.json)throw _.RN();var Cj=new hed,
Zf=this.nF,ni=b.json,Fg=new rO,im=_.n0c(Zf,ni,"items");var pf=_.Nj(Fg,2,im);var $e=_.J(Cj,1,pf);var eh=_.A($e,2,Hdd(b.json))}else{if(a instanceof _.GM){if(!b.json)throw _.RN();var oi=this.nF,aj=b.json,Ml=new Q5c;_.ON(["drive#revisionList"],aj);for(var ik=[],Qj=aj.items||[],fh=0;fh<Qj.length;fh++){var gl=_.j0c(oi,Qj[fh]);ik.push(gl)}var hl=_.Nj(Ml,2,ik)}else{if(a instanceof _.lL)var Gg=uld(a,b);else{if(a instanceof _.IM){if(!b.json)throw _.RN();var il=ald(b.json)}else{if(a instanceof _.WVc){if(!b.json)throw _.RN();
var jm=Kkd(pld(this),b.json)}else{if(a instanceof _.HF){if(!b.json)throw _.RN();var jl=pld(this),Wh=b.json,Dj=new red,oj=Jkd(jl,Wh);var pj=_.J(Dj,2,oj).Dc(1)}else{if(a instanceof _.JM){if(!b.json)throw _.RN();var Rj=b.json;_.ON(["drive#remainingCount"],Rj);var Jh=new sed,Nl=Rj.nextPageToken;null!=Nl&&_.A(Jh,2,Number(Nl));_.A(Jh,1,Number(Rj.remainingCount));var qj=Jh}else{if(a instanceof _.KF){if(!b.json)throw _.RN();var jk=(new _.RA).Pw([cld(this.H,b.json)])}else{if(a instanceof _.TM){if(!b.json)throw _.RN();
var km=(new _.RA).Pw(dld(this.H,b.json)),kl=_.LZc(new _.IN,km);var Im=_.A(kl,3,Hdd(b.json))}else{if(a instanceof _.NM)var kk=sld(a,b);else{if(a instanceof _.OM)var Kk=qld(this,a,b);else{if(a instanceof _.UL)var uf=_.F0c(this,a,b);else{if(a instanceof _.PM)var Bi=_.F0c(this,a,b);else{if(a instanceof _.QM)var lk=vld(this,b);else{if(a instanceof _.lD){if(!b.json)throw _.RN();var Fc=gld(b.json),Lk=new jed;var Pg=_.J(Lk,3,Fc);var mk=Fc.getKey();var Mi=_.J(Pg,4,mk)}else{if(a instanceof _.RM)var Ln=rld(a,
b);else{if(a instanceof _.FL){if(!b.json)throw _.RN();var nk=ejd(this.ma,b.json)}else{if(a instanceof _.MF){if(!b.json)throw _.RN();var xh=hld(b.json),Qg=new _.zN;Qg.RT().set(xh.getId(),xh);var Mk=Qg}else{if(a instanceof _.PVc){if(!b.json)throw _.RN();for(var ll=b.json,Qh=new w9c,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=Jjd(Mn);_.Nj(Qh,1,kn)}}var Jm=
Qh}else{if(a instanceof _.RVc)var Nn=vld(this,b);else{if("undefined"!=typeof _.VVc&&a instanceof _.VVc)var Ol=tld(this,b);else{if(a instanceof _.SVc){if(!b.json)throw _.RN();var Km=new z9c}else{if(a instanceof _.TVc){if(!b.json)throw _.RN();var ln=T2c(b)}else{if(a instanceof _.jD){if(!b.json)throw _.RN();var On=b.json,xk=new _.tz;_.ON(["drive#settingList"],On);for(var To=[],Fp=On.items||[],Gp=0;Gp<Fp.length;Gp++){var Js=gld(Fp[Gp]);Js&&To.push(Js)}var Qw=_.Uhb(xk,To)}else{if(a instanceof _.JF){if(!b.json)throw _.RN();
var Ks=mld(this.O,this.Jg,b.json).Dc(1)}else{if(a instanceof _.IF){if(!b.json)throw _.RN();var Yn=kld(this.O,this.Jg,b.json)}else{if(a instanceof _.aWc){if(!b.json)throw _.RN();var Iq=b.json;_.ON(["drive#teamDrive"],Iq);var Ut=Iq.recursiveFolderCount,aD=Iq.recursiveFileCount,EA=new Xdd;var bD=_.A(EA,1,aD);var Vt=_.A(bD,2,Ut)}else{if(a instanceof _.$Vc)var Uw=wld(b);else{if(a instanceof _.cWc){if(!b.json)throw _.RN();var Vw=ild(b.json)}else Vw=a instanceof _.gO?vld(this,b):null;Uw=Vw}Vt=Uw}Yn=Vt}Ks=
Yn}Qw=Ks}ln=Qw}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 rld=function(a,b){if(!b.json){if(a instanceof _.sM)return nld({});throw _.RN();}return nld(b.json)},vld=function(a,b){if(!b.json)throw _.RN();a=cld(a.H,b.json);return(new _.VM).Dc(1).setItem(a)},qld=function(a,b,c){if(!c.json)throw _.RN();return Ikd(pld(a),b,c.json)},sld=function(a,b){if(!b.json)throw _.RN();return ckd(b.json,a.zh())},tld=function(a,b){if(!b.json)throw _.RN();a=a.oa;var c=b.json;_.ON(["drive#about","drive#changeList"],c);b=new R$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){_.ON(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.ON(["drive#change"],h);var k=new _.NL;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.jVc(k,h.teamDriveId),_.OL(k,h.teamDriveId)):_.OL(k,h.fileId);h.file?k.setItem(_.f0c(f.H,h.file)):h.teamDrive&&k.setItem(cld(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.YL(k);d.push(k)}_.Nj(b,4,d)}return b},wld=function(a){var b,c;if(!a.json)throw _.RN();
a=a.json;var d=a.result&&a.result.status;d=d&&xld[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 Jed(Ied(Hed(new _.Ged,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Eed;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Ded(Ced(Bed(Aed(new zP,Hdd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},uld=function(a,b){var c=new hfd;if(_.Md(a,6).length){var d=[];Q1c(_.Md(a,6),b.headers).forEach(function(e,f){var h=new _.iSc;e=_.A(h,1,f).Lb(e);d.push(e)});_.Nj(c,1,d)}ifd(c,b.json?JSON.stringify(b.json):b.text);return c},xld={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var zld=function(a){var b=new _.Po;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(yld[a]);_.rN(b,c.join(" "))}return b.toString()},Ald={},yld=(Ald[1]="active",Ald[2]="archived",Ald);
var Bld=function(a,b,c,d){_.UN.call(this,b,c,a.SMa,d);this.ma=a;this.ha=new d$c(_.pN(c),b)};_.L(Bld,_.UN);
Bld.prototype.V=function(a,b,c){var d=this;try{return _.UN.prototype.V.call(this,a,b,c)}catch(Q){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.gM){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=Idd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.hM){h="POST";q="files/"+a.Cc()+"/authorize";k.appId=a.zh();
_.R(a,3)&&(k.propagate=!0);var u=a.xe();p=!0;_.oN(k);_.YM(this.H,[],[a.Cc()],this.O,f)}else if(a instanceof _.gO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=QO(this.H,[],!0),u=a.xe(),p=!0;else if(a instanceof _.RVc)h="POST",q="teamdrives/"+a.requestId,k.fields=QO(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 _.lM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Kdd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.iM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.EVc({fields:this.Lg(c),kr:_.DL(_.EL(this.H)),BG:_.JL(this.H)}),k.convert=_.S(a,4,!1),r=Jdd(a),f["content-type"]="application/json",u=a.xe(),a=_.Md(a,3).concat([a.getId()]),_.YM(this.H,[],a,this.O,f),p=!0,_.oN(k),_.U0c(this.H,k);else if(a instanceof _.mM)h="DELETE",q="apps/"+a.zh(),k.appId=a.zh(),k.deleteAppData=
!!_.R(a,2),u=a.xe(),p=!0;else if(a instanceof _.nM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.oM)h="DELETE",q="files/"+a.getId(),u=a.xe(),p=!0,_.oN(k),_.U0c(this.H,k),_.YM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.pM)h="DELETE",q="files/"+a.Cc()+"/permissions/"+_.B(a,2),u=a.xe(),p=!0,_.oN(k);else if(a instanceof _.qM)h="DELETE",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),u=a.xe(),p=!0,_.YM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.rM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.xe(),p=!0;else if(a instanceof _.kD)h="DELETE",u=a.getKey(),q="settings/"+_.B(u,2),_.ip(u)&&(k.namespace=U2c[_.ip(u)]),u=a.xe(),p=!0;else if(a instanceof _.sM)h="DELETE",q="workspaces/"+a.getId(),u=a.xe(),p=!0;else if(a instanceof _.vM)h="DELETE",q="files/trash",u=a.wd().xe(),p=!0,_.U0c(this.H,k);else if(a instanceof _.xM)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 _.DM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=nO(_.EL(this.H));else if(a instanceof _.yM)h="POST",q="apps",k.appId=a.zh(),u=a.xe(),p=!0;else if(a instanceof _.zM)h="POST",q="files/"+a.Cc()+"/permissions",k.fields=_.JL(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,_.oN(k);else if(a instanceof _.NVc)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=_.wZc(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 _.KL||a instanceof _.uN||a instanceof _.JF||a instanceof _.IF)if(b=a instanceof _.KL?a.wd():a,_.XM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.iN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=m$c(this.H);z.platformType=y;z.languageCode=nO(_.EL(this.H));z.timeZone=(new _.Ft).x$();z.requestType="LIVE_REQUEST";a instanceof _.KL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ye?_.AM(b)?(j$c(this.ha)?(z.scenarioType="ONE_PICK",this.Cd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.gN(b)&&(j$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=l$c(b))):_.BM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.CM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.uN?(q="/v1/userfeedback",r.userFeedback=_.Uj(b,_.T6c,1).map(function(Q){var W=_.C(Q,_.yO,2),pa={},ia={};ia.feedbackType=k7c[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,_.yO,3).map(function(na){var qa={};qa.itemId=na.Cc();return qa})}return pa})):b instanceof _.JF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.IF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Op()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.X0c(a);b instanceof _.uN||(r.maxSuggestions=b.Mi(),r.clientInfo=z)}else{u=b.xe();p=!0;q="files";k.q=_.zYc(b);y=[];var D;(D=_.TL(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=v1c({fields:D,kr:_.DL(_.EL(this.H)),v7:H||void 0,BG:_.JL(this.H),pBb:I});k.appDataFilter="NO_APP_DATA";0<_.Uj(b,_.fN,25).length&&(k.sources=_.rYc(b));0<b.mB().length&&(k.spaces=_.sYc(b));a.Tn()&&(k.pageToken=a.Tn());(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));_.oN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Md(b,33).length&&2==_.gN(b)&&(a=_.Md(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.ZXc[_.gN(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()}));_.YM(this.H,_.Uj(b,_.Cl,63),y,this.O,f);S1c(k,b.Ac());_.V0c(this.H,k);_.W0c(this.H,
k);_.C(b,_.dea,64)&&(a=A4c(_.C(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.EM){q="apps";switch(a.getType()){case 1:k.fields=Cld;break;case 2:k.fields=Dld;break;case 4:k.fields=Eld;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.lu=!0}k.languageCode=nO(_.EL(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 _.OVc)q="backups",e=9,k.languageCode=nO(_.EL(this.H));else if(a instanceof _.WL)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=u1c({fields:this.Lg(c),v7:QO(this.H,_.Md(a,5)),kr:_.DL(_.EL(this.H)),BG:_.JL(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 _.lSc[Q]}).join(",")),_.oN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.xe(),p=!0;else if(a instanceof _.FM)b=a.wd(),q="files/"+b.getId()+"/permissions",k.fields=_.JL(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.Tn()&&(k.pageToken=a.Tn()),_.B(a,1)&&(k.maxResults=_.B(a,1)),u=b.xe(),p=!0,_.oN(k),_.V0c(this.H,k),_.W0c(this.H,k),_.YM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.GM)k.fields=_.JL(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,_.YM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.KF)q="teamdrives/"+a.en()[0],k.fields=QO(this.H,a.O()),u=a.xe(),p=!0;else if(a instanceof _.$Vc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=Ldd(a),f["content-type"]="application/json",p=l=!0,_.YM(this.H,[],_.Md(a.request,1),this.O,f);else if(a instanceof _.TM)u=a.wd(),q="teamdrives",k.fields=E9c(this.H,u.O()),k.q=V9c(u),
a.Tn()&&(k.pageToken=a.Tn()),(u=(u=a.getOptions())&&_.bk(u,1,1E3))&&(k.maxResults=u),u=a.wd().xe(),p=!0;else if(a instanceof _.aWc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.NM)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 _.UL)h="PUT",q="files/"+a.getId(),k.fields=_.EVc({fields:this.Lg(c),kr:_.DL(_.EL(this.H)),
BG:_.JL(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=nO(_.EL(this.H)),r=Mdd(a),f["content-type"]="application/json",u=a.xe(),p=!0,_.oN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.U0c(this.H,k),b=_.Md(a,9).concat(_.Md(a,10)),b.push(a.getId()),_.YM(this.H,_.Uj(a,_.Cl,38),b,this.O,f);else if(a instanceof _.PM)h="PUT",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),r=Ndd(a),f["content-type"]="application/json",u=a.xe(),_.YM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.QM)q="teamdrives/"+a.getId(),null!=a.Cm()?(h="POST",q+="/"+(a.Cm()?"hide":"unhide")):(h="PUT",r=Odd(a),f["content-type"]="application/json"),k.fields=QO(this.H),u=a.xe(),p=!0;else if(a instanceof
_.RM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Pdd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.lD)h="PUT",r=_.C(a,_.hp,1),u=r.getKey(),q="settings/"+_.B(u,2),(u=_.ip(u))&&(k.namespace=U2c[u]),r=V2c(r),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.FL)q="about",k.fields=_.JL(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=Y2c(k.fields,this.H),k.fields=Z2c(k.fields,this.H),u=a.xe(),p=!0;else if(a instanceof _.lL){e=11;h=a.Kz();q=a.getUrl();var M=_.B(a,5)||"";_.Uj(a,_.iSc,2).forEach(function(Q){f[Q.getKey()]=
Q.Ya()});_.Uj(a,_.iSc,4).forEach(function(Q){k[Q.getKey()]=Q.Ya()});_.R(a,7)&&(b.BKb=!0);_.R(a,8)&&(b.lu=!0);_.R(a,9)&&(b.REa=!0)}else a instanceof _.QVc?(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",_.YM(this.H,[],[b],this.O,f)):a instanceof _.OM?(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,_.FF,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.$m()};W.length?pa.categoryAttributeValueDeltas=W:_.Md(Q,4).length?pa.revertAttributeIds=_.Md(Q,4):_.R(Q,3)&&(pa.removeCategory=_.R(Q,3));return pa})},_.YM(this.H,[],[b],this.O,f)):a instanceof _.IM?(e=13,q=_.DL(_.EL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.en(),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"],_.DL(_.EL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.WVc?(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=nO(_.EL(this.H))):a instanceof _.HF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
nO(_.EL(this.H))):a instanceof _.jM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.xe(),p=!0,k.fields=QO(this.H,[157],!0),r={},b=_.Uj(a,_.Xk,2),b.length&&(r.addCategoryReferences=b.map(function(Q){return{category:Q.$m()}})),a=_.Uj(a,_.Xk,3),a.length&&(r.removeCategoryReferences=a.map(function(Q){return Q.$m()}))):a instanceof _.MF?(q="workspaces/"+a.en()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.xe(),p=!0):a instanceof _.PVc?
(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=_.TL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.SVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.TVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.VVc&&a instanceof _.VVc?(q="changes",k.fields="kind,largestChangeId",_.oN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.jD?(q="settings",u=_.Md(a,3),k.namespace=W2c(u),u=a.xe(),p=!0):a instanceof _.cWc?(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=zld(a.request),(u=a.request.mw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.xe(),p=!0):a instanceof _.JM?(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 _.fM?(f["content-type"]="application/json",h="POST",q="files/"+a.Cc()+"/sendAccessRequest",r={},l=!0):_.X0c(a);p&&_.Y0c(c,k);0!=e||l||u&&_.B(u,1)||_.FN(this.Cd,74438989);return _.Z0c(this,e,q,k,f,h,u,r,M)};
Bld.prototype.W=function(a,b){a=this.ma.wm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var Cld=X2c("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"),Dld=
X2c("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"),
Eld=X2c("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 Fld=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 _.lZc;var na=new _.NZc(this.fK.bind(this),function(){return W("w8KrJc")}),qa=new Zid(b.wm),ua=new Qid(na);c=new Iid(b,f,new Did(d,e,c),h,this.Loa.promise,k,l,c,W);d=new Yid(b,p,q,r,u,d,e,D,k);this.O=new _.oZc(a,y);y=new Bld(b,a,k,pa);this.Tsa=new old(k,a,z,D);this.H=Gdd(a,new _.a0c(this.O,this.Lfa,y,this.Tsa,H,I,M),I,z,Q,b.wm,this.Lfa,this.Loa.promise,M||void 0);this.Loa.resolve(ia?ia:new _.z_c(new $id,
qa,ua,this.H,na,c,d,a))};Fld.prototype.fK=function(){return _.Qa(this.H,function(a){return a.fK()})};var Mfd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=T5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var Gld=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=_.TL(this.O)||new _.RUc;b=_.oO(this.O);this.va=new _.uZc(_.bk(b,2,37500),_.bk(b,3,6E5));this.ma=a.wQ;_.Ma(x$c,function(d){c.V[d]=[]});cP(a.Qj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});cP(a.Qj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});cP(a.Qj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.kL().catch(_.Ef)})};_.g=Gld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,JP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&y5c(a.context.Sf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.cM(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(_.oO(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.kL().catch(_.Ef)):(this.W=new _.yn,_.n.clearTimeout(this.oa)))}};_.g.iS=function(){this.ka=!0};_.g.QWa=function(){return this.H?this.H.promise:(new _.yn).resolve()};
_.g.kL=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 Add(a.context.tD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([Hld(a,3,d,void 0,void 0,b),Hld(a,0,d,void 0,!0,b),Hld(a,1,d,void 0,!0,b),Hld(a,5,d,void 0,!0,b),Hld(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.lc("Failed to update dump",void 0,_.cM(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=F5c(b),_.A(c,2,!0),b.Zj())},function(c){a.H.reject(c);b&&(c=F5c(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&&(o5c(F5c(e),_.wN(_.LUc,a)),d.promise.then(function(){var f=F5c(e);_.A(f,2,!0);e.Zj()},function(){var f=F5c(e);_.A(f,2,!1);e.Zj()}));this.W.promise.then(function(){return Add(c.context.tD)}).then(function(f){f=!f;c.ka?d.resolve():Hld(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var Hld=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.Iu(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Iu(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 _.zL&&"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})})};
Gld.prototype.Iu=function(a,b,c,d,e){var f=this,h=new _.yn;this.W.promise.then(function(){if(3===a)Ild(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_.Hq();break;case 5:k=Jld(f.context.gE);break;case 6:k=f.context.uf.wq;k=Y$c(new X$c,Uad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.Uj(_.oO(f.O),mO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):ycd(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 Ild=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(_.oO(a.O),mO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(p9c,function(k){0<k&&(k=Kld(a,k),k.length&&f.push(ycd(a.ma,c?e:null,k,d)))});var h=new _.yn;Promise.all(f).then(function(){a.Fa&&a.context.tD.set(ydd,!0);h.resolve()},h.reject);return h.promise};
Gld.prototype.Ja=function(){_.sH(this.va);this.update(3,!0)};
var Kld=function(a,b){switch(b){case 1:return[Lld(a)];case 2:var c=(b=a.context.uf.Uu.H)?b.ey():[];c=Mld(a,_.Sa(w2c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.bk(_.oO(a.O),5,2E4)&&(b&&eP(b,!1),c=[]);c=j9c(new NO,Nld(c));var d=a.context.uf.Uu;a=new H2c;(d=d.H)&&d.iK&&(d=d.ey(),_.A(a,3,d.length));c=_.J(c,11,a);c=o9c(c,2);b&&m9c(c,b.KN());return[c];case 3:return Old(a);case 4:return Pld(a);default:throw new _.lc("Unsupported CacheType");}},Lld=function(a){for(var b={},c=[],
d=Cad(a.context.uf.Uu,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.ey(),l=Mld(a,v2c(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=g9c(new MO,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 m9c(o9c(l9c(j9c(k9c(n9c((new NO).Eu(a.context.Vn()),_.pN(a.Jg)),a.ha.XQ(null)),Nld(d)),c),1),!e)},Old=function(a){var b=[],c=a.ha;a.context.uf.Uu.dW().forEach(function(d){var e=c.XQ(d.Bc());if(e){var f=
Mld(a,v2c(d.ey()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=m9c(o9c(k9c(j9c(new NO,Nld(f)),e),3),d.KN(d.wd()));d=g9c(new MO,d.wd());l9c(e,[d]);b.push(e)}});return b},Pld=function(a){var b={},c=[];a.context.uf.dW().forEach(function(d){1===d.HJ()&&null==_.R(d.wd(),6)&&(v2c(d.ey()).forEach(function(e){b[e.getId()]=e}),d=h9c(g9c(new MO,new _.Ye),d.wd()),c.push(d))});return[m9c(o9c(l9c(j9c(new NO,Nld(Object.values(b))),c),4),!1)]},Mld=function(a,b){b=W1c(b);_.R(a.O,67)&&(b=Qld(b));
_.JL(a.O)&&(_.S(a.Ha,9,!1)?obd(a.context.uf.wq,b)&&(_.FN(a.Cd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=mbd(a.context.uf.wq,b)):b=mbd(a.context.uf.wq,b));return b.filter(function(c){return 4!==cO(c)})},Qld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,M1c(c)?(c=c.clone(),w1c(c,L1c),b.push(c)):b.push(c);return b},Nld=function(a){return a.map(function(b){return b.clone()})};
Gld.prototype.log=function(a,b){this.context.Sf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};Gld.prototype.fEa=function(){this.Fa=!0};
var Rld=function(){};_.g=Rld.prototype;_.g.setActive=function(){};_.g.iS=function(){};_.g.update=function(){return Promise.resolve()};_.g.QWa=function(){return Promise.resolve()};_.g.kL=function(){return Promise.resolve()};_.g.yna=function(){};_.g.fEa=function(){};
var jO=function(a,b,c,d){_.ri.call(this);var e=this;this.Aa=a;this.Zr=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.eYc;this.Oc=b.clone();(a=_.TL(this.Oc))&&_.S(a,1,!1)&&_.NH(this.Oc,28);this.Jg=new _.nYc(this.Oc);this.Gm=new d$c(_.pN(this.Jg),this.Oc);Sld(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 _.PYc(_.jN(this.Oc),_.S(this.Oc.$f(),
52,!1));this.connectionState=new _.IYc(_.jN(this.Oc)?3:1,!_.S(this.Oc.$f(),52,!1));this.Cd=_.eZc(this.Oc,this.Ba,this.connectionState,this.va,this.DX.promise,this.Zr);this.Mfa=new J$c(this.Cd);this.fQ=new _.Vh;Tld(this)};_.L(jO,_.ri);jO.prototype.getEnvironment=function(){return this.Zr};jO.prototype.ZR=function(){this.Sf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.nb);this.DX.resolve()};
var Tld=function(a){var b=function(){a.Gu().Gg(_.Ef)},c=a.Aa;(c=c&&_.hc(c,_.$l))?_.Ke(c,"w",b):_.QUc()||_.Ke(_.n,"unload",b)};jO.prototype.Gu=function(){this.Cd.O(106005);J5c(this.Cd);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.qL(a).then()};var Uld=function(a,b){a.ma.push(b)};_.g=jO.prototype;_.g.Sf=function(){return this.va};_.g.Eu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.d_.callback(a),a.length&&this.O4a(a,b||null))};_.g.O4a=function(){};
_.g.Vn=function(){return this.rootId};_.g.Sk=function(){return this.Cd};var Vld=function(a){if(!a.ha)throw Error("rg");return a.ha},Wld=function(a,b){a.ha=b};jO.prototype.vB=function(){return this.Fa||this.connectionState.isConnected()};jO.prototype.Jj=function(){return this.Ba};jO.prototype.rk=function(){return this.connectionState};jO.prototype.VNb=function(a){this.fQ.callback(a)};
var Sld=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(_.oO(a.Oc),9,!1))if(b=_.Uj(_.oO(a.Oc),mO,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.jN(a.Oc)&&!_.S(a.Oc,10,!1))throw Error("tg");}else _.A(_.oO(a.Oc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.oO(a.Oc),9,!1)&&(_.jN(a.Oc)||_.S(a.Oc,10,!1)))throw Error("ug");var c=_.EL(a.Oc);b=!(!c||!_.DL(c));c=c&&_.hN(c)||"";if(!b&&!c)throw Error("vg");b&&_.Oj(a.Oc,44);_.Uj(a.Oc,_.Ye,44).forEach(function(d){try{h$c(a.Gm,d)}catch(e){if(e instanceof _.lc&&(d=e.Pg)&&3===d.gt())throw Error("wg");throw e;}})};jO.prototype.uJ=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,a)))};jO.prototype.log=function(a){this.Sf().info("drive.ds.sync.ThinContext",a)};
var Xld=function(a,b){this.H=a;this.Pe=b};
var Yld=new Set([5,4,1,6,2]),Zld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),$ld=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($ld,_.ri);
$ld.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=Yld.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,amd(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,dP(this.V,"px2C2c");dP(this.V,"rkYxSd")}(l||p)&&bmd(this,!h)}};
$ld.prototype.lD=function(){return 0<this.GF.size};var bmd=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"))};$ld.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=amd(a);d&&_.ak(a,d)||(c.set(b,a),bmd(this))}};$ld.prototype.remove=function(a){var b=a&&_.ip(a);a=a&&_.B(a,2);b&&a&&(b=this.GF.get(b))&&b.delete(a)&&bmd(this)};
var Jld=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 Z5c;_.Nj(d,1,c);_.Kj(d,2,b);return d};
$ld.prototype.UG=function(a){var b=this,c=Jld(this,a),d=new _.tz;d.Dc(this.status);_.Uhb(d,_.Uj(c,_.hp,1));_.J(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);Zld.has(f)&&Infinity>Zld.get(f)&&(e=f)});return new Xld(d,e)};var amd=function(a){a=a.clone();a.ih()||a.Lb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var cmd=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},emd=function(a,b){return dmd(a[b])+(dmd(a[b+1])<<8)+(dmd(a[b+2])<<16)+(dmd(a[b+3])<<24)},dmd=function(a){return 127<a?a-256:a};
var kO=function(a,b,c,d,e,f){jO.call(this,a,b,c,d);var h=this;this.Ta=_.Th();this.vu=new sad;this.W=null;this.O=_.Th();this.Ha=new _.Vh;this.o6=null;this.Ofa=new Ebd;this.V=null;this.$a=_.Th();this.oa=new _.Vh;this.QF=new icd;this.pz=new Mbd;this.sha=new mad;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 lad(this.Sf());this.Sk().W.O=this.Qj;this.HL=_.S(_.oO(b),9,!1)&&$2c()?fmd(this,b):null;this.yw=new X9c(nO(_.EL(b)));this.tD=
gmd(this,this.HL);this.wQ=hmd(this,this.HL,b);this.Ss=imd(this);this.uf=new NP(this,this.Jg);(a=(a=_.C(this.Oc,_.Yk,12))&&a.getId())&&this.Eu(a,6);this.XP=new Vfd(this.Oc,this.uf.wq,this.Qj,this.Sf(),this.Ss);this.e_=new $fd(this.Sf(),this.Qj,this.Ss);this.gE=new $ld(this.Sf(),this.Qj,this.Ss);this.AI=new B$c(this.Qm(),this.Sf(),function(k){return void h.uJ(k)});this.Zy=_.S(this.Oc.$f(),52,!1)?new _.GN(this.rk(),this.Qm(),this.Sf(),this.Sk()):null;cP(this.Qj,["mrK8ic"],function(){h.$a.promise.then(function(){Fgd(h,
h.V)})});this.TMa=new ecd(this.Oc);this.LA=new _.GZc(this.Oc,this.uf.wm);this.Usa=new zid(this);this.n6=new Ibd(this.O.promise,this.Qm());this.kb=new Kbd(this.Qm(),this.n6);this.Pfa=new acd(this.O.promise,this.Qm(),this.Sf(),this.Oc);this.Oa=new Fld(this.Oc,this.uf,this.uJ.bind(this),this.n6,this.kb,this.Ss,this.Ofa,this.Jg,this.Vn.bind(this),this.Usa,this.e_,this.gE,this.Pfa,this.QF,this.Sf(),this.TMa,this.LA,this.AI,this.Zy,this.Jj(),this.Opb.bind(this),this.Sk(),f);this.Ta.resolve(this.Oa);this.RJa=
new jid(this);cP(this.Qj,["BNEDtc"],function(){return h.Nfa.resolve()});Uld(this,function(){h.Ss.iS();return _.Ph()})};_.L(kO,jO);
var fmd=function(a,b){var c=_.hN(_.EL(b)),d=_.iN(b),e=function(){},f=_.Uj(_.oO(b),mO,11);f=f[0]&&_.B(f[0],1);var h=new Tcd(c,d,_.bk(_.oO(b),10,0)||0,f||"",_.pN(a.Jg));_.jN(b)?c=ndd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.bk(_.oO(b),8,432E6)?(b=jmd(a,c),c=ndd(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 qP(c,a.Sf(),a.Sk());k.initialize().then(function(){return e(k)},function(){return null});return k},jmd=
function(a,b){var c=_.bk(_.oO(a.Oc),8,432E6);if(!_.jN(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+=emd(b,e),h.b+=emd(b,e+4),h.c+=emd(b,e+8),cmd(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+=emd(b,e+4);h.a+=emd(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+=emd(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=cmd(h);return d.call(a,b)%c}};kO.prototype.Oy=function(a){var b=this;return this.HL?this.HL.Jf()?_.Rh(Error("xg`"+$cd(this.HL))):Add(this.tD).then(function(c){var d=b.HL,e=[];e.push(b.Ss.QWa());e.push(a?d.Jl():jdd(d));if(a===c)return _.Sh(e).then(function(){return!1});!1===a&&(e.push(Zcd(d)),(c=b.Vn())&&e.push(b.tD.Eu(c)));return _.Sh(e).then(function(){return b.tD.Oy(a)},function(){return!1})}):_.Rh(Error("yg"))};
var hmd=function(a,b,c){var d=null;b&&(d=new scd(b,c,function(e){a.uJ(e)},a.Sk()),d.initialize());return d},gmd=function(a,b){var c=new zdd(b||void 0);c.Vn().then(function(d){d&&a.Eu(d,5)});b&&(Add(c).then(function(d){a.Jj().Oy(d)}),_.Sh([b.initialize(),a.DX.promise]).then(function(){kmd(a,c)},function(){}));return c},kmd=function(a,b){Ddd(b).then(function(c){(!c||c<Date.now()-864E5)&&qdd(_.hN(_.EL(a.Oc)),_.iN(a.Oc),a.Sf()).then(function(d){d&&(d=Date.now(),b.set(xdd,d))},function(){})})},imd=function(a){if(!a.wQ)return new Rld;
var b=new Gld(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(_.bB))),function(){return void b.setActive(a.rk().isConnected())});return b};kO.prototype.nY=function(a){this.o6=a;this.Ha.callback(a)};var JP=function(a){return a.Ha.wn()},Lfd=function(a){return a.HL?a.HL.Jf():null},lmd=function(a,b){a.Qj.H("NSockf")?dP(a.Qj,b):cP(a.Qj,["NSockf"],function(){dP(a.Qj,b)})};
kO.prototype.O4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.vu.Eu(a),this.Gm.Eu(a),6!==b&&1!==b||this.tD.Eu(a),lmd(this,"jroI5d"))};kO.prototype.OVa=function(){return this.oa.wn()};var Fgd=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),lmd(a,"T8oKm")))},egd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=kO.prototype;_.g.$Q=function(){return this.Oa};_.g.Qm=function(){return this.Ta.promise.then(function(a){return a.Loa.promise})};
_.g.eEa=function(){this.Ja||(this.Ja=!0,this.iaa.resolve(),dP(this.Qj,"aU7Ts"))};_.g.vB=function(){throw Error("Ag");};_.g.Opb=function(a){this.dispatchEvent(a)};var mmd=function(a,b){Qhd(a.uf,b)},nmd=function(a,b,c){a.H[b]=c},Gfd=function(a){a.ka||(a.ka=new Sbd(a.O.promise,a.Qm(),a.Sf()));return a.ka};
var RP=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 omd(d,e)})};_.L(RP,_.ri);var omd=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;VO(a.channel,a.Ba,function(c){c=v$c(c);a.P$(c.H,!(!c.data||!c.kc),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};RP.prototype.P$=function(){};
RP.prototype.send=function(a,b,c,d){var e=this,f=new _.Vh;this.oa.addCallback(function(){var h=e.channel;WO(h,e.Ba,r$c(new q$c(e.clientId,a,b,d),h.W),function(k){return void pmd(k,a,f,c||function(){})})});return f};var pmd=function(a,b,c,d){a=v$c(a);a.data?c.callback(d(a.data,a.kc)):(a.error?d=a.error:(d=new _.kc,_.PL(d,2),_.QL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.lc(void 0,d)))};RP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var qmd=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var SP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.WU()};_.L(SP,_.N);SP.prototype.registerService=function(a){VO(a,this.V,(0,_.v)(this.tw,this))};
SP.prototype.tw=function(a){var b=this;a=s$c(a);var c=a.kc,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof t$c)return u$c(f,c);if(f.then)return f.then(function(h){return u$c(h,c)},function(h){h=_.RL(h);return u$c(b.qd(void 0,h),c)})}catch(h){e=_.cM(h)}f=new _.kc;_.PL(f,2);_.QL(f,3);_.$p(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return u$c(this.qd(void 0,f),c)};
SP.prototype.qd=function(a,b,c){if(a&&!b)return new t$c(a,void 0,c);a=_.RL(b);return new t$c(void 0,a,c)};SP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&WO(a,this.V,u$c(this.qd(c,d,b),a.W))};
var rmd=function(){this.channels={};this.H=this.O=this.V=0},smd=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},tmd=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var umd=function(a,b){SP.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=Gfd(this.context);this.ka=this.context.n6};_.L(umd,SP);
umd.prototype.WU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.Ye);return a.ai(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.xL);return a.ai(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.$z);return a.ai(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.KF);return a.ai(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=iO(c.args[0],!!c.kc,_.Ye);return a.ik(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.xL);return a.ik(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.$z);return a.ik(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.KF);return a.ik(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=iO(c.args[0],!!c.kc,_.$z);c=iO(c.args[1],!!c.kc,_.$z);return a.kZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=iO(c.args[0],!!c.kc,_.KF);c=iO(c.args[1],!!c.kc,_.KF);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=iO(c.args[0],!!c.kc,_.Kz);return a.ai(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.MF);return a.ai(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.Kz);return a.ik(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.MF);return a.ik(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.XF);return a.ai(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.XF);return a.ik(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.JF);return a.ai(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=iO(c.args[0],!!c.kc,_.JF);return a.ik(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.JF){var d=a.W;Cbd(d,d.getKey(c)).refresh()}return a.qd([])},b};umd.prototype.ai=function(a,b){var c=this,d=new _.yn;this.H[a]={query:b,gTb:d.promise};b instanceof _.Kz?d.resolve(this.O.ai(a,b)):b instanceof _.MF?d.resolve(Abd(this.O,a,b)):b instanceof _.JF?d.resolve(this.W.ai(a,b)):b instanceof _.XF?d.resolve(this.ka.ai(a,b)):d.resolve(this.ha.ai(a,b));return d.promise.then(function(){return c.qd([])})};
umd.prototype.ik=function(a,b){vmd(this,a,b);return this.qd([])};var vmd=function(a,b,c){delete a.H[b];c instanceof _.Kz?a.O.ik(b,c):c instanceof _.MF?Bbd(a.O,b,c):c instanceof _.JF?a.W.ik(b,c):c instanceof _.XF?a.ka.ik(b,c):a.ha.ik(b,c)};_.g=umd.prototype;_.g.kZ=function(a,b,c){vmd(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 _.Kz?this.O.ai(b,c):c instanceof _.MF?Abd(this.O,b,c):c instanceof _.JF?this.W.ai(b,c):c instanceof _.XF?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 _.EN||b instanceof _.BN?c.update(e,f,[b.response,b.pageToken,b.H,b.Pe,h]):(d.query instanceof _.Ye?y1c(d.query.O(),b.Fd().filter(function(k){return!RO(k)})):d.query instanceof _.$z&&y1c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!RO(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 wmd=function(a,b){_.Ma(a.H,function(c,d){_.Ng(d.split(":")[0])===b&&vmd(a,d,c.query)})};
var xmd=function(a,b,c){RP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(xmd,RP);xmd.prototype.txa=function(a){var b=this;a=new pfd(this.context.Gm,this.context.fQ,this.context.Sf(),this.context.Oc,function(c,d){return b.EF(c,d)},a,this.context.Sk());ymd(this,a);return a};xmd.prototype.wxa=function(a){var b=this;a=new wfd(this.context.Gm,this.context.fQ,this.context.Sf(),function(c,d){return b.EF(c,d)},a,this.context.Oc);ymd(this,a);return a};
var ymd=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=xmd.prototype;_.g.qxa=function(a){var b=this,c=new tfd(this.context.Oc,this.context.Gm,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.zxa=function(a){var b=this,c=new Afd(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.Axa=function(a){var b=this,c=new Bfd(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.Dxa=function(a){var b=this,c=new Efd(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.Exa=function(a){var b=this,c=new sfd(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.xxa=function(a){var b=this,c=new zfd(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.nxa=function(a){var b=this,c=new nfd(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){XO(this.H,a.wi(),4);delete this.O[a.wi()]};_.g.kZ=function(a,b,c){if(b instanceof _.$z&&c instanceof _.$z)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.KF&&c instanceof _.KF)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 _.xL)d="4.8";else if(c.wd()instanceof _.XF)d="4.20";else if(c.wd()instanceof _.Kz)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 YO(d,d.h7()),a.oB(b),XO(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 _.xL)h instanceof _.Ye&&_.BM(h)?e=iO(d,b,_.yN):e=iO(d,b,_.RA);else if(h instanceof _.$z||h instanceof _.KF)b?(e=new _.xN,$6c(e,function(k){return new _.Yk(JSON.parse(k))},d)):e=d;else if(h instanceof _.XF)e=new _.BN(iO(d,b,AO),c[f++],c[f++],c[f++]);else if(h instanceof _.Kz)e=new _.EN(iO(d,
b,aP),c[f++],c[f++],c[f++]);else if(h instanceof _.MF)e=iO(d,b,_.zN);else if(h instanceof _.JF)e=iO(d,b,LO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&K$c(this.H,a.wi(),!!c[b]),N$c(this.H,a.wi(),e),a.update(e))}};
var TP=function(){_.ri.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.yp=!1};_.L(TP,_.ri);TP.prototype.initialize=function(){this.yp||(this.yp=!0,this.V(),this.setActive(!0))};TP.prototype.V=function(){};TP.prototype.setActive=function(a){this.active=a;zmd(this)};var zmd=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;zmd(a)})}};TP.prototype.ka=function(){};
TP.prototype.Ba=function(){};TP.prototype.va=function(){return!0};TP.prototype.enqueue=function(a){try{var b=new _.Vh;this.commands.enqueue(new Amd(a,b));zmd(this);return b}catch(c){return _.ai(_.cM(c))}};var Amd=function(a,b){this.H=a;this.Bg=b};Amd.prototype.getCommand=function(){return this.H};Amd.prototype.GG=function(){return this.Bg};
var Dmd=function(a){TP.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 Bmd(b)});this.H=this.context.uf.wq;_.JL(this.context.Oc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Qj;cP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Gj(a.Oc.$f(),17,1)&&(d.push("iuEtc"),cP(c,["mrK8ic"],function(){dP(c,"iuEtc")}));cP(c,d,function(){Cmd(b)})};_.L(Dmd,TP);Dmd.prototype.V=function(){Emd(this)};
var Cmd=function(a){if(1===a.context.XP.Fh().Ab())Promise.resolve();else{var b=_.mf(_.nf(new _.lf,!0),301);b=_.GL(new _.FL,b);a.refresh(b).then(null,function(c){c=_.RL(c);_.A(c,21,"Initial account request failed.");a.context.uJ(c)})}},Bmd=function(a){var b=_.mf(new _.lf,304);b=_.GL(new _.FL,b);a.refresh(b).then(null,function(){})};
Dmd.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Uh(this.context.Qm().then(function(d){return d.Te(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Gk(f))d=_.SL(_.EL(c.context.Oc)),d=Error("Eg`"+d+"`"+_.WF(f)),_.tb(d),_.FN(c.context.Sk(),73301807),d=Promise.reject(d);else{f=c.context.XP;var h=0===f.jf()?1:6;_.JL(c.context.Oc)&&gbd(c.H,e);h=Wfd(f,e,h);(e=e.getMetadata())&&c.context.Eu(_.B(e,2),1);(d=_.B(d,4))&&Fgd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.DN(f.Fh(),f.jf(),!1))}return d}).then(function(d){return d},function(d){d=_.RL(d);_.A(d,5,1);return Promise.reject(new _.lc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Dmd.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(),_.JL(this.context.Oc)){c=c.Fh();var d=c.getUser();d=kbd(this.H,_.WF(d));gbd(this.H,c);Wfd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i"));a.GG().callback(new _.DN(b.Fh(),b.jf(),d))}else c.Ab(),b=new _.DN(c,b.jf(),!0),a.GG().callback(b)};
var Emd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=_.mf(new _.lf,306);c=_.GL(new _.FL,c);a.refresh(c).then(function(){Emd(a)},function(){Emd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,3,72E5))};Dmd.prototype.W=function(a){var b=this.context.XP,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.B(d,1)===_.WF(c.getUser())})&&(gbd(this.H,c),Wfd(b,c,b.jf())&&this.dispatchEvent(new _.gi("WPi0i")))};var Fmd=function(a,b,c){this.request=a;this.H=!!b;this.yD=c||null};
var Hmd=function(a){TP.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)));Gmd(this)};_.L(Hmd,TP);
var Gmd=function(a){var b=a.context.Qj;cP(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.jN(a.context.Oc)){var c=_.Gj(a.context.Oc.$f(),18,1);cP(b,["NSockf"],function(){1===c?Imd(a):a.setActive(!0)});2===c&&cP(b,["mrK8ic"],function(){a.W||Imd(a)})}},Imd=function(a){var b=new _.lf;_.nf(b,!0);_.mf(b,301);var c=new _.EM;_.x5c(c,b);_.A(c,1,1);a.refresh(c).Gg(function(){return null})};
Hmd.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;Jmd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.EM;_.A(h,1,this.H);_.x5c(h,a.xe());this.context.Qm().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=_.aB(k);var l=k.Pg;_.A(l,5,2);f?(_.PL(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)):(_.PL(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};Hmd.prototype.va=function(){return!1};
Hmd.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(!Kmd(d))return this.context.Qm().then(function(l){return l.Te(d,f)}).then(function(l){a.GG().callback(new _.AN(l,1,!1))},function(l){a.GG().Pd(_.cM(l))}),_.Ph();c=_.Ph();var h=!1;this.O?Lmd(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&&Lmd(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 _.AN(l.Hq(),l.jf(),h))},function(l){k.Pd(l)});return c.then()};
var Kmd=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},Lmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},Jmd=function(a){var b=a.context.Oc.$f(),c=new _.lf;_.mf(c,306);var d=new _.EM;_.A(d,1,1);_.x5c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,4,72E5))},Mmd=function(a,b,c){this.request=a;this.Bja=!!b;this.yD=c||null};
var Omd=function(a){TP.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);Nmd(this)};_.L(Omd,TP);
var Nmd=function(a){var b=a.context.Qj;cP(b,["rkYxSd"],function(){return a.initialize()});cP(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&&cP(b,["mrK8ic"],function(){dP(b,"OZvrNc")}));!_.S(a.context.Oc,11,!1)&&_.S(a.context.Oc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Uj(Jld(a.context.gE),_.hp,1).length||(b.H("NSockf")?
dP(b,"DEJoH"):cP(b,["NSockf"],function(){dP(b,"DEJoH")}))},12E3));cP(b,c,function(){if(!b.H("px2C2c")){var e=new _.lf;_.nf(e,!0);_.mf(e,301);var f=new _.jD;_.J(f,1,e);E2c(f,Pmd(a));a.query(f).Gg(function(){a.initialize()})}})};Omd.prototype.V=function(){var a="User prefs detected: "+_.Uj(Jld(this.context.gE),_.hp,1).length;this.context.Sf().info("drive.ds.sync.userprefs.UserPrefsManager",a);Qmd(this)};
Omd.prototype.query=function(a,b){var c=this,d=b?{yD:b}:void 0;return this.context.Qm().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=_.aB(e);_.A(e.Pg,5,4);0<c.commands.$b()||c.context.uJ(e.Pg);c.error=e;throw e;})};
Omd.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?(E2c(c.request,Pmd(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 Pmd=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()))};
Omd.prototype.getData=function(a,b,c){b=this.context.gE.UG(b);a.callback(new _.CN(b.H,b.Pe,c))};var Qmd=function(a){var b=a.context.Oc.$f();_.n.setTimeout(function(){var c=new _.jD,d=new _.lf;_.mf(d,306);_.J(c,1,d);E2c(c,Pmd(a));_.Uh(a.query(c).Gg(_.Ef),function(){Qmd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,5,72E5))},Rmd=function(a,b,c){this.request=a;this.Bja=!!b;this.yD=c||null};
var Smd=function(a,b,c,d){SP.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 Kfd(a);y2c(this.Fa);this.Ma(this.Mc);this.ka=new Dmd(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new jfd(1))});this.ma=new Hmd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new jfd(2))});this.oa=new Omd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new jfd(4))});this.Ha=d;this.H=
this.context.Qm()};_.L(Smd,SP);_.g=Smd.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.tN.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.Hq.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.tr.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.hu.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.Ro.bind(this),a["3.46"]=this.V7.bind(this),a};_.g.tN=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.FL);a=new Fmd(c,a.args[1],this.context.H[a.clientId]);dP(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=iO(a.args[0],!!a.kc,_.jD);a=new Rmd(c,a.args[1],this.context.H[a.clientId]);dP(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=iO(a.args[0],!!a.kc,g2c),d=_.C(c,_.fM,16)||_.C(c,_.gM,1)||_.C(c,_.hM,2)||_.C(c,_.kM,3)||_.C(c,_.HN,4)||_.C(c,_.iM,5)||_.C(c,_.oM,6)||_.C(c,_.qM,7)||_.C(c,_.rM,8)||_.C(c,_.uM,9)||_.C(c,_.KM,10)||_.C(c,_.LM,11)||_.C(c,_.MM,12)||_.C(c,_.UL,13)||_.C(c,_.PM,14)||_.C(c,_.QM,15)||_.C(c,_.gO,17),e=UP(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=iO(a.args[0],!!a.kc,p2c),d=_.C(c,_.lM,1)||_.C(c,_.sM,2)||_.C(c,_.RM,3),e=UP(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=iO(a.args[0],!!a.kc,j2c),d=UP(this,a),e=[],f=[];l2c(c).forEach(function(h){h instanceof _.fM?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Te(h,d)}))});a=_.qL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Uh(a,function(){return void hid(b.context.uf)});return a.then(function(h){return b.qd([new X1c(e,h)])})};
_.g.Hq=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.EM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=UP(this,a);a=this.H.then(function(f){return f.Te(c,e)}).then(function(f){return new _.AN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.AN(f.response,f.Pe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Mmd(c,d,this.context.H[a.clientId]),dP(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=iO(a.args[0],!!a.kc,m2c),d=_.C(c,_.kD,1)||_.C(c,_.lD,2),e=UP(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?_.AZc(this.context.Zy,!0):this.context.rk().Ue()&&this.context.Zy.oM(!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.Ss.kL().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.Ss.kL()}).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.tr=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.xM),d=UP(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=iO(a.args[0],!!a.kc,_.yM),d=UP(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=iO(a.args[0],!!a.kc,_.mM),d=UP(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=iO(a.args[0],!!a.kc,_.NM),d=UP(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=iO(a.args[0],!!a.kc,_.zM),d=UP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return _.JL(b.context.Oc)?jbd(b.context.uf.wq,[_.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=iO(a.args[0],!!a.kc,_.pM),d=UP(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.hu=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.GM),d=UP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.JL(b.context.Oc)?ibd(b.context.uf.wq,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=iO(a.args[0],!!a.kc,_.Ted),d=new _.PVc(c,a.args[1],a.args[2]||void 0),e=UP(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=iO(a.args[0],!!a.kc,_.FM),d=UP(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.JL(b.context.Oc)?jbd(b.context.uf.wq,_.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(A$c(new z$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=iO(a.args[0],!!a.kc,_.OVc),d=UP(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=iO(a.args[0],!!a.kc,_.DM),d=UP(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=iO(a.args[0],!!a.kc,_.nM),d=UP(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=iO(a.args[0],!!a.kc,_.lL),d=UP(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,_.RL(e)])})};_.g.fyb=function(){return this.qd([!0])};_.g.$Db=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.IF),d=UP(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=iO(a.args[0],!!a.kc,_.JF),d=UP(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=iO(a.args[0],!!a.kc,_.Ye);xhd(this.context.uf,[a]);return this.qd([])};_.g.U7=function(a){var b=this,c=iO(a.args[0],!!a.kc,_.jM),d=UP(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=iO(a.args[0],!!a.kc,_.AP),d=UP(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return tbd(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 _.WVc(iO(a.args[0],!!a.kc,_.NTb),a.args[1]),d=UP(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=iO(a.args[0],!!a.kc,_.HF),d=UP(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=iO(a.args[0],!!a.kc,_.uN),d=UP(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.Ro=function(a){var b=a.args.map(function(c){return iO(c,!!a.kc,_.NL)});this.context.uf.Ro(b);hid(this.context.uf);return this.qd([])};_.g.V7=function(){var a=this,b=this.context.Zy;return(b?b.oM():_.Ph(_.jZc(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)):y5c(a.context.Sf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Qj,c=["hVFf7"];_.jN(this.context.Oc)&&c.push("BNEDtc");cP(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});cP(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){JP(a.context).then(function(e){return void e.start()})};cP(b,["T8oKm","ZA9qG"],function(){return void d()});cP(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();dP(b,"NSockf")}return this.O.promise};_.g.Fba=function(){return this.Ba.promise};_.g.Gu=function(){var a=this.context.o6;a&&a.dispose();return this.context.Gu()};
var UP=function(a,b){return(a=a.context.H[b.clientId])?{yD:a}:{}};
var Tmd=function(a,b,c){SP.call(this,"DU",b);this.context=a;this.O=c;this.H=new Kfd(a)};_.L(Tmd,SP);_.g=Tmd.prototype;
_.g.WU=function(){var a=this,b={};return b["5.1"]=function(){return a.gia()},b["5.2"]=function(c){return a.OM(c)},b["5.4"]=function(c){return a.Dz(c)},b["5.5"]=function(){return a.aR()},b["5.10"]=function(){return a.pN()},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.Ss.iS();var b=this.context.Oc;return rdd(_.hN(_.EL(b)),_.iN(b),this.context.Sf()).Gg(function(){}).then(function(){return a.qd([])})};_.g.OM=function(a){a=this.context.uf.wm.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 _.rUc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.C(c,_.KL,3)||_.C(c,_.TM,4)||_.C(c,_.HN,5)||_.C(c,_.QM,6)||_.C(c,_.rM,7)||_.C(c,_.kM,8)||_.C(c,_.oM,9)||_.C(c,_.UL,10)){var f=H$c(c);return this.context.Qm().then(function(h){return h.Te(f,{I7a:d,J7a: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 _.IN){a=b.qd().Fd();var d=_.B(b,2);c=b.Tn()}else if(b instanceof _.VM)b.getItem()&&a.push(b.getItem()),d=b.YM();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:"+_.EL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Dda=function(){this.context.QF.H=new hcd(_.Mg().substring(0,8));return this.qd([])};
_.g.US=function(){var a=this.context.QF.pN();if(a){for(var b=[],c=jcd(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.pN=function(){var a=this.context.QF.pN();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.Gu(),_.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 Umd=function(a,b,c,d,e,f,h){_.VN.call(this,a,b,c,d,f,h);this.H=e;this.Cd=null};_.L(Umd,_.VN);Umd.prototype.vM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.c3a(p1c(c.O,c.va,a,b,c.jj,c.ha))},null))};Umd.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 _.MZc(a,b,d))}};
var Vmd=function(a,b,c,d,e,f,h,k){SP.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(Vmd,SP);_.g=Vmd.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.vM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.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=iO(a.args[0],!!a.kc,_.kM),e=a.args[1];if(!this.H[c]){var f=new Umd(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,Wmd(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,Wmd(0,e,[q,r]))},function(r){b.update(a.clientId,c,Wmd(1,e,[q,r.Pg]))})});return this.qd([])}return this.qd(void 0,_.RL("Could not retry upload."))};
_.g.vM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=p1c(b.O,b.va,c,a,b.jj,b.ha),this.qd([s2c(c)])):this.qd(void 0,_.RL("FileUploader not found."))};_.g.Jab=function(a,b,c){this.update(a,b,Wmd(2,c.requestId,[c.progress,c.totalBytes]))};var Wmd=function(a,b,c){return[Number(a),b].concat(_.jd(c))};
var Xmd=function(a,b){SP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(Xmd,SP);Xmd.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};
Xmd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=iO(a.args[0],!!a.kc,_.NVc);e=new EP(this.O,e);var f=_.ue(e,"Pb",function(h){b.update(a.clientId,c,[h.yPa,h.rua])});_.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)})};Xmd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var Ymd=function(a,b){SP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Th();this.O=new Pfd(a,a.Jg)};_.L(Ymd,SP);Ymd.prototype.WU=function(){var a=this,b={};return b["6.1"]=function(c){return Zmd(a,c)},b["6.2"]=function(c){return $md(a,c)},b["6.3"]=function(){a.H&&(Sfd(a.O),a.H=!1,a.W=_.Th());return a.qd([])},b};
var Zmd=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return iO(d,!!b.kc,_.Yk)});a.O.ol(c);dP(a.context.Qj,"GZTDpc");a.W.resolve()}return a.qd([])},$md=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return iO(d,!!b.kc,_.NL)});Rfd(a.O,c);return a.qd([])})};
var and=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)})};and.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 bnd=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)})};and.prototype.Ao=function(){return[].concat(_.jd(this.services.values())).every(function(a){return a.dg()})};
var cnd=function(){},dnd={0:2E3,1:3E3,2:5E3},end=function(a,b){this.request=a;this.ha=b;this.O=_.Th();this.continuationToken="";this.V=0;this.AE=this.W=!1;this.H=cnd};end.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=cnd;b.V=0;return c},function(c){b.H=cnd;b.V=0;return Promise.reject(c)})};
end.prototype.sendRequest=function(){var a=this;if(this.AE)this.O.resolve((new zP).Dc(8));else{var b=new _.$Vc(this.request,this.continuationToken);this.ha.then(function(c){return c.Te(b)}).then(function(c){fnd(a,c)},function(c){a.handleError(c)})}};var fnd=function(a,b){var c;a.continuationToken=null!==(c=b.Tn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},gnd(a.V++,a.ka)):a.O.resolve(b)};end.prototype.handleError=function(a){a=_.aB(a);this.O.reject(a)};
end.prototype.cancel=function(){this.AE=!0};var gnd=function(a,b){return b?b:(a=dnd[a])?a:1E4};
var hnd=function(a,b){SP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(hnd,SP);hnd.prototype.WU=function(){var a=this,b={};return b["10.1"]=function(c){return ind(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var ind=function(a,b){var c=b.clientId+":"+b.requestId,d=iO(b.args[0],!!b.kc,_.yed);d=new end(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)})};hnd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var VP=function(a,b,c){_.N.call(this);this.H=a;this.Zr=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 and;this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(VP,_.N);VP.prototype.nY=function(a){this.O.promise.then(function(b){b.o6||a.Yi(b)})};
var mnd=function(a,b){var c=smd(a.H,b),d=a.Sb.bind(a,c);VO(b,"8.1",d);b.registerService("8.1",d);VO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return jnd(a,c,f)});VO(b,"8.2",a.Gb.bind(a,c));VO(b,"8.3",a.Mb.bind(a,c));bnd(a.services,b);b.start();knd(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 lnd(a,c,b)},function(f){a.Ta=!0;WO(b,"2.2",{err:_.RL(f).kc()},d)})},nnd=function(a){return Math.floor((Date.now()-
a.VB)/1E3)},ond=function(a,b,c){var d=function(e){WO(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))},pnd=function(a,b,c){var d=c.rk(),e=[].concat(_.jd(Object.values(_.bB))),f=function(h){WO(b,"2.19",{cs:h.connectionState})};a.Jb.listen(d,e,f);_.we(b,function(){a.Jb.Yc(d,e,f)})};
VP.prototype.Sb=function(a){var b=tmd(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){wmd(d,a)}),b.dispose(),this.log(_.ut("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.Gu(),c)})}};
VP.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){nmd(d,a,_.E(c.$f(),37,""));mmd(d,_.Md(c,28));d.uf.Ila(_.Uj(c,_.Cl,91));return d.DX.promise.then(function(){xhd(d.uf,_.Uj(c,_.Ye,44))})},function(){})};
VP.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 Egd(e,e.Jg);e.Yg(d);e.dispose();(e=c.H.channels[a]||null)&&WO(e,"2.16")})}};VP.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){qnd(new hhd(h),e);(h=c.H.channels[a]||null)&&WO(h,"2.17",{t:f})})}};
var qnd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Yg(c)});a.dispose()};VP.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(),WO(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()};
VP.prototype.initialize=function(a){var b=this;a=a[0];_.pXc(a,this.fields);var c=_.C(a,_.$L,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new kO(null,a,this.Zr,c,void 0,void 0),e=d.Sk().H(106E3);Uld(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())WO(p.value,"2.6",k)});this.Jb.listen(d,_.wc,this.nb);this.Jb.listen(d,"w8KrJc",this.Lc);E$c(d.AI,this.ka.bind(this));var f=d.Zy;f&&N5c(f,function(){return b.ka()});
this.O.resolve(d);var h=rnd(this,d,new Smd(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 rnd=function(a,b,c){a.services.activate(c);a.services.activate(new umd(b,a.H));a.services.activate(new Tmd(b,a.H,c));a.services.activate(new Ymd(b,a.H));a.services.activate(new Vmd(b.Oc,b.LA,b.$Q().Lfa,b.Qm(),b.fQ,b.Sf(),b.Sk(),a.H));a.services.activate(new Xmd(b.Qm(),a.H));a.services.activate(new hnd(b.Qm(),a.H));return c.initialize()},lnd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.ut("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));WO(c,"2.2",{id:b,
clients:d,uptimeSec:nnd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.d_.addCallback(function(f){c.isDisposed()||WO(c,"2.5",{id:f})});1<d&&JP(e).addCallback(function(f){return f.Nwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Fba().then(function(){c.isDisposed()||WO(c,"2.14")})});ond(a,c,e);pnd(a,c,e)})};VP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())WO(c.value,"2.15",a)};
VP.prototype.Ec=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){WO(c,"2.18",b)})};VP.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())WO(c.value,"2.10",a)};VP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())WO(b.value,"2.7")};var knd=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){WO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
VP.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){jnd(c,a,e);d.resolve()});return d.promise};var jnd=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())};
VP.prototype.log=function(a){this.O.promise.then(function(b){return b.Sf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var snd=function(a,b){RP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(snd,RP);_.g=snd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.$L,58)};_.g.getContext=function(){return this.context};_.g.Dz=function(){return this.send("5.4",[this.H],function(a){return new _.dYc(JSON.parse(a[0]))})};_.g.Sf=function(){return this.context.Sf()};_.g.OM=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 _.rUc(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 _.VUc[_.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 I$c(a[e]));return{traceId:new hcd(b,c),spanRecs:d}})};_.g.pN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new hcd(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 tnd=function(a,b){RP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(tnd,RP);tnd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return iO(b[0],c,Zed)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};tnd.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
tnd.prototype.P$=function(a,b,c){this.dispatchEvent(new kfd(c[0],c[1]))};
var und=function(a){RP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(und,RP);und.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 vnd=function(a,b){kP.call(this,a,b)};_.L(vnd,kP);vnd.prototype.via=function(a,b,c){return new _.WVc(a,c)};vnd.prototype.Jka=function(a){return a.pageToken||""};vnd.prototype.Wja=function(a){return a.response.O()};vnd.prototype.m6=function(){};
var wnd=function(a,b,c){DP.call(this,a.Jj(),a.rk(),b.Mi()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new vnd(this.request,this.ka)};_.L(wnd,DP);_.g=wnd.prototype;_.g.WG=function(){this.V.Yg().then(this.Kab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return qed(new yP,this.O).Dc(this.status)};_.g.bs=function(){return new oed};_.g.Tj=function(){return!this.Ue()&&(!this.H||vbd(this.V))};_.g.Kab=function(a){this.changed=this.H=!0;this.O=a;this.Tt()};
_.g.Tt=function(){if(this.active){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.$b=function(){return this.O.length};
var xnd=function(a,b,c){DP.call(this,a.Jj(),a.rk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.tSc;this.suggestionSessionId=null;this.ka=c};_.L(xnd,DP);_.g=xnd.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.Tt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.k1c(_.j1c((new _.XN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.bs=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new ued).Dc(this.status);return _.Nj(b,2,a)};_.g.dP=function(){};_.g.Tt=function(){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};
var ynd=function(){};_.g=ynd.prototype;_.g.xM=function(a,b){b=Qed(1).setPosition(b);_.J(b,2,a);return b};_.g.wM=function(a,b){b=Qed(2).setPosition(b);_.J(b,2,a);return b};_.g.EE=function(a,b,c){b=Qed(3).Py(b).setPosition(c);_.J(b,2,a);return b};_.g.rQ=function(a,b){b=Qed(4).setPosition(b);_.J(b,2,a);return b};_.g.$M=function(a){return _.C(a,_.u9c,2)};
var And=function(){_.mL.call(this,new ynd,function(a){return znd(a)})};_.L(And,_.mL);var znd=function(a){switch(_.Ej(a,t9c[0])){case 6:return _.Cx(_.C(a,_.Bx,6)).getTime().toString();case 7:var b=_.C(a,_.OO,7);a=_.C(b,_.Bx,1);b=b.yr();return a&&b?(a=_.Cx(a).getTime(),_.Cx(b).getTime()+"--"+a):"";default:return""}},Cnd=function(){Bnd||(Bnd=new And);return Bnd},Bnd;
var Dnd=function(a,b,c,d){DP.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 _.uZc(_.bk(b.Oc.$f(),6,1E3));this.oa=c};_.L(Dnd,DP);_.g=Dnd.prototype;_.g.activate=function(){DP.prototype.activate.call(this);this.Tt()};_.g.WG=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Fr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;DP.prototype.Fr.call(this,a)};
_.g.getData=function(){var a=(new Ved).Dc(this.status);_.Nj(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.bs=function(){var a=Cnd().Ez(this.ka,this.O),b=new Sed;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.UMa=function(a){this.dispatchEvent(new _.mc(a));this.V=!1};
_.g.Uxb=function(a,b){this.H=!0;var c=_.Uj(b,_.u9c,1);this.O=this.O.concat(c);this.token=b.ly()||"";0<c.length&&(this.changed=!0);this.Tt();this.page(a)};_.g.myb=function(a){Cnd();this.H=!0;var b=_.Uj(a,_.u9c,1);pO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ly()||"",this.changed=!0,this.Tt(),this.page()):(this.V=!1,End(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.UMa,this):(this.V=!1,a&&a.callback(),End(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Tf(this.myb,this.UMa,this))};_.g.Tt=function(){if(this.active){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};
_.g.GL=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 End=function(a){_.R(a.request,3)||(_.sH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Ya()))};Dnd.prototype.$b=function(){return this.O.length};
var Fnd=function(){};_.g=Fnd.prototype;_.g.xM=function(a,b){return Xed(Wed(1),a).setPosition(b)};_.g.wM=function(a,b){return Xed(Wed(2).setPosition(b),a)};_.g.EE=function(a,b,c){return Xed(Wed(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return Xed(Wed(4),a).setPosition(b)};_.g.$M=function(a){return _.C(a,_.sP,2)};
var Gnd=function(){_.mL.call(this,new Fnd,function(a){return a.getId()})};_.L(Gnd,_.mL);var Ind=function(){Hnd||(Hnd=new Gnd);return Hnd},Hnd;
var Jnd=function(a,b,c){DP.call(this,b.Jj(),b.rk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.uZc(_.bk(b.Oc.$f(),54,1E3));this.ma=c};_.L(Jnd,DP);_.g=Jnd.prototype;_.g.activate=function(){DP.prototype.activate.call(this);this.Tt()};_.g.WG=function(){this.poll()};_.g.getData=function(){var a=new efd;a=_.Nj(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.bs=function(){var a=Ind().Ez(this.ka,this.O),b=new cfd;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);Knd(this)};_.g.Mab=function(a,b){this.H=!0;b=_.Uj(b,_.sP,2);pO(Ind(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Tt();a.callback();Knd(this)};
_.g.Tt=function(){if(this.active){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.dP=function(){};var Knd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Ya()),_.sH(a.V))};Jnd.prototype.$b=function(){return this.O.length};
var Lnd=function(){};_.g=Lnd.prototype;_.g.xM=function(a,b){return $dd(Zdd(1),a).setPosition(b)};_.g.wM=function(a,b){return $dd(Zdd(2).setPosition(b),a)};_.g.EE=function(a,b,c){return $dd(Zdd(3).Py(b).setPosition(c),a)};_.g.rQ=function(a,b){return $dd(Zdd(4),a).setPosition(b)};_.g.$M=function(a){return _.C(a,_.Fk,2)};
var Mnd=function(){_.mL.call(this,new Lnd,function(a){return a.getId()})};_.L(Mnd,_.mL);_.Ff(Mnd);
var WP=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(WP,_.ri);WP.prototype.xi=function(a){this.limit=a};WP.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Nnd(this)};WP.prototype.Lka=function(){return this.permissions};
var Nnd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.FM;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))};WP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Tn()||"";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 Nnd(this);this.dispatchEvent("Fb")};
WP.prototype.handleError=function(a){this.H=!1;a=new YO(_.RL(a),_.bk(this.context.Oc.$f(),1,1));this.dispatchEvent(a)};
var Ond=function(a,b,c,d){DP.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 WP(b,this.request,this.ma);_.we(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(Ond,DP);_.g=Ond.prototype;_.g.activate=function(){DP.prototype.activate.call(this);this.Tt()};_.g.WG=function(){this.query()};_.g.Fr=function(a){DP.prototype.Fr.call(this,a||100)};
_.g.getData=function(){var a=new rO;a=_.Nj(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.bs=function(){var a=Mnd.Db().Ez(this.ka,this.permissions),b=new ged;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 WP(this.context,this.request,this.ma);this.O.xi(this.limit);return this.O.Yg().then(function(){return Pnd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){DP.prototype.handleError.call(this,a);Qnd(this)};var Pnd=function(a){a.H=!0;var b=a.O.Lka();pO(Mnd.Db(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Tt();Qnd(a)};
Ond.prototype.Tt=function(){if(this.active){var a=this.status;this.GL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};Ond.prototype.dP=function(){var a=this;this.O.xi(this.limit);this.O.Yg().then(function(){return Pnd(a)},function(b){return a.handleError(b)})};var Qnd=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))}};Ond.prototype.$b=function(){return this.permissions.length};
var Rnd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.xc,a))},0)};
var Snd=function(){},Tnd=function(a,b){RP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=Snd;this.H=null;this.id=String(_.Da(this))};_.L(Tnd,RP);Tnd.prototype.P$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(iO(a,b,zP)))};Tnd.prototype.Yg=function(a){a=void 0===a?Snd:a;if(!this.H){this.O=a;var b=_.Th();this.H=b;this.send("10.1",[this.request],function(c,d){return iO(c[0],d,zP)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
Tnd.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var Und=function(a,b,c){_.ri.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Au={};this.O={};_.we(this,function(){d.H("7.6",[])})};_.L(Und,_.ri);_.g=Und.prototype;_.g.getId=function(){return this.instanceId};_.g.qQ=function(){return _.pL()};
_.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 _.uXc;_.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 iO(e[0],f,_.VM)})};_.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.Au[c]=b;b=_.Sa(b);this.H("7.4",[c].concat(_.jd(a)));return b};_.g.vM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.jd(b)),function(d){return t2c(d[0])}).addCallback(function(d){return c.V.addCallback(function(e){return e.c3a(d)})})};var Vnd=function(a,b,c,d){if(a.Au[b]&&a.Au[b][c]){var e=a.Au[b][c];d instanceof _.VM?e.callback(d):e.Pd(d);delete a.Au[b][c];_.Va(a.Au[b])&&delete a.Au[b]}};
var Wnd=function(a,b){RP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(Wnd,RP);var Xnd=function(a){var b=_.pL(),c=new Und(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};
Wnd.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,_.AVc(c,b,Math.min(c.size,b+e))]);break;case 0:b=iO(e[1],b,_.VM);Vnd(a,d,e[0],b);break;case 1:b=new _.lc(void 0,iO(e[1],b,_.kc));Vnd(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.MZc(d,e[0],e[1]));break;default:throw Error("Jg");}}};
var Ynd=function(a,b){if(0===a.length)throw new _.lc("mutateUserPref requires a namespace.",_.bM(3));var c=null;b instanceof _.lD?c=(b=(b=_.C(b,_.hp,1))&&b.getKey())&&_.ip(b)||null:b instanceof _.kD&&(c=(b=b.getKey())&&_.ip(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.lc("mutateUserPref unsupported for namespace: "+c,_.bM(3));};
var Znd=function(a){this.H=a};
var a3c=function(a){RP.call(this,"IS","drive.ds.sync.ItemServiceProxy",($nd=_.Th()).promise);var b=this;this.Yn=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=$nd;$nd=void 0;this.context=a;Wld(this.context,new und(this.V.promise));B5c(this.context.Jg,_.Md(this.context.Oc,28));this.H=this.context.Mfa;this.O=new xmd(this.V.promise,this.context,this.H);this.nb=new Wnd(this.V.promise,this.context.fQ);this.Fa=new snd(this.V.promise,this.context);
this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.rk(),[].concat(_.jd(Object.values(_.bB))),function(c){return void b.dispatchEvent(c)})},$nd;_.L(a3c,RP);
a3c.prototype.initialize=function(){var a=this;if(!this.Yn){this.Yn=_.Ph(this.oa);var b=this.context.Sk().H(106E3);this.Yn.then(function(){b&&b.Zj();a.T1a()},function(){_.FN(a.context.Sk(),181008852)});var c=_.jN(this.context.Oc)?"(coldstart) ":"";this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Oc.Ki());var d=f2c(this.context.Oc,this.wi(),_.pN(this.context.Jg));aod(this,d);2===d.H?(c=new VP(new rmd,6,this.context.Sf()),mnd(c,d.O),this.Ha.resolve(c)):
y2c(this.Fa);this.context.Sf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();Uld(this.context,function(){return bod(d.channel)})}return this.Yn};
var bod=function(a){return _.Jja([new _.Oh(function(b){a.isDisposed()||WO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},aod=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 cod(a,b)});2===b.H?a.Ha.promise.then(function(){return void dod(a,b)}):dod(a,b);VO(c,"2.1",function(){return{dsc:a.context.Oc.kc()}});VO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new qmd(d.id,c,a.context.Sf(),d.clients)),d.dsp&&eod(c),
d.ivd&&fod(a,c)):(d=new _.kc(JSON.parse(d.err)),a.oa.Pd(new _.lc("Unable to initialize dataservice.",d)))});VO(c,"2.15",function(d){a.dispatchEvent(new jfd(d.dt))});VO(c,"2.5",function(d){a.context.Eu(d.id)});VO(c,"2.6",function(d){a.context.Jj().Jl(d.os)});VO(c,"2.18",function(d){a.context.Jj().Oy(d.oois)});VO(c,"2.7",function(){a.ma=!1});VO(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new a6c(d.au?"ib":"jb"))});VO(c,"2.19",function(d){a.context.rk().update(d.cs)});VO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.ut("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Sf().config(e,d);break;case "fine":_.nN(a.context.Sf(),e,d,"fine");break;case "finer":_.nN(a.context.Sf(),e,d,"finer");break;case "finest":_.nN(a.context.Sf(),e,d,"finest");break;case "info":a.context.Sf().info(e,d);break;case "warning":case "severe":y5c(a.context.Sf(),e,d);break;default:y5c(a.context.Sf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),y5c(a.context.Sf(),e,d)}});VO(c,"2.10",
function(d){return void a.N$(d)});VO(c,"2.12",function(){a.Ja=!0;XP(a)});VO(c,"2.14",function(){return a.$a.resolve()});VO(c,"2.16",function(){return a.Ta=!0});VO(c,"2.17",function(d){a.context.Sf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},dod=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",cod(a,b));WO(b.channel,"8.4",{dsc:a.context.Oc.kc()});eod(b.channel);fod(a,b.channel)},eod=function(a){_.n._DRIVE_dsp&&WO(a,"8.3",{dsp:god(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];WO(a,"8.3",{dsp:god(c)})}}},fod=function(a,b){_.S(a.context.Oc,24,!1)&&(_.n._DRIVE_ivd?WO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&WO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},cod=function(a,b){var c={};if(1===b.H){var d=new _.kPa(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}};a3c.prototype.yb=function(){return{uid:this.wi(),fds:_.pN(this.context.Jg)}};a3c.prototype.wi=function(){var a=_.Oj(_.Oj(_.NH(this.context.Oc.clone(),28),44),91),b=new _.wL;b.update(_.hN(_.EL(a)));b.update(String(_.SL(_.EL(a))));b.update(a.kc());return _.CSc(b.digest())};var god=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=a3c.prototype;_.g.N$=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,new _.kc(JSON.parse(a.p)))))};
_.g.query=function(a){XP(this);h$c(this.context.Gm,a,z5c(this.context.Jg));this.iF();var b=this.O.txa(a);this.Oa||(a=a.xe(),a&&121===_.B(a,1)||(this.Oa=!0,this.Mc.listen(b,_.xc,this.VMa)));return b};_.g.VMa=function(a){a=a.currentTarget;1===a.Ab()&&(this.Fa.H=this.Ta,this.Mc.Yc(a,_.xc,this.VMa))};_.g.Gq=function(a){XP(this);f$c(a);this.iF();return this.O.qxa(a)};
_.g.tva=function(a,b){var c=this;XP(this);if(this.ka&&_.ak(this.ka.wd(),a))return this.ka;this.ka=new Dnd(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return iO(h[0],k,w9c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.cGa=function(a,b){var c=this;XP(this);if(this.ha&&_.ak(this.ha.wd(),a))return Rnd(this.ha),this.ha;this.ha=new Ond(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return iO(e[0],f,hed)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.kaa=function(a){XP(this);return this.send("3.14",[a],function(b,c){return iO(b[0],c,xP)})};_.g.A8=function(a){XP(this);return this.send("3.15",[a],function(b,c){return iO(b[0],c,xP)})};
_.g.xd=function(a){XP(this);!this.ma&&_.WM(a)&&(this.ma=!0);a=h2c(a);return this.send("3.3",[a],function(b,c){return iO(b[0],c,_.VM)})};_.g.XN=function(a){XP(this);a=r2c(a);return this.send("3.35",[a],function(b,c){return iO(b[0],c,_.$5c)}).then()};_.g.oz=function(a){XP(this);for(var b=0;b<a.length;b++)!this.ma&&_.WM(a[b])&&(this.ma=!0);a=k2c(a);return this.send("3.4",[a],function(c,d){return w$c(c[0],d).get()})};_.g.pxa=function(){XP(this);return Xnd(this.nb)};
_.g.ESa=function(a){XP(this);return new tnd(this.V.promise,a)};_.g.Hq=function(a,b){var c=this;XP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=iO(e[0],f,ZO);return new _.AN(f,e[1],e[2])}).addCallback(function(e){O$c(c.H,d,e);return e.response}).Hg(function(e){XO(c.H,d);return e})};_.g.tr=function(a){XP(this);return this.send("3.10",[a],function(b,c){return iO(b[0],c,eed)})};
_.g.maa=function(a){XP(this);return this.send("3.11",[a],function(b,c){return iO(b[0],c,ied)})};_.g.y8=function(a){XP(this);return this.send("3.12",[a],function(b,c){return iO(b[0],c,ied)})};_.g.iT=function(a){XP(this);return this.send("3.13",[a],function(b,c){return iO(b[0],c,ied)})};
_.g.tN=function(a,b){var c=this;XP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=iO(e[0],f,_.BP);return new _.DN(f,e[1],e[2])}).addCallback(function(e){O$c(c.H,d,e);return e.response}).Hg(function(e){XO(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.",_.bM(3)));0===_.Md(a,3).length&&E2c(a,d);XP(this);var e=_.Mg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=iO(f[0],h,_.tz);return new _.CN(h,f[1],f[2])}).addCallback(function(f){O$c(c.H,e,f);return f.response}).Hg(function(f){XO(c.H,e);return f})};
_.g.XR=function(a){XP(this);Ynd(_.Md(this.context.Oc.$f(),30),a);a=o2c(a);return this.send("3.6",[a],function(b,c){return iO(b[0],c,jed)})};_.g.hu=function(a){XP(this);return this.send("3.16",[a],function(b,c){return iO(b[0],c,Q5c)})};_.g.bCa=function(){return this.ma};_.g.Jl=function(a){XP(this);this.send("3.8",[a])};_.g.Oy=function(a){XP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.pY=function(a){XP(this);Vld(this.context).pY(a);this.Oy(!!a)};
_.g.iF=function(){XP(this);this.send("3.9",[])};_.g.ZR=function(){XP(this);this.send("3.41",[]);this.context.ZR();var a=I5c(this.context.Sk(),106006);a&&this.V.promise.then(function(b){var c=_.C(_.vN(a),f5c,6);if(!c){c=new f5c;var d=_.vN(a);_.J(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Zj()},function(){})};_.g.vB=function(){XP(this);return this.context.vB()};_.g.jQ=function(){XP(this);return _.Ph(this.send("3.19",[],function(a,b){return iO(a[0],b,z$c)}))};_.g.isConnected=function(){return this.context.rk().isConnected()};
_.g.V7=function(){return this.send("3.46",[],function(a,b){return iO(a[0],b,_.iZc)}).then()};_.g.K9=function(){return this.Fa};_.g.sync=function(){XP(this);return this.send("3.28",[]).then()};_.g.Gu=function(){return this.context.Gu()};_.g.nY=function(a){this.Ha.promise.then(function(b){return void b.nY(a)})};_.g.Sda=function(a){XP(this);return this.O.Axa(a)};_.g.YY=function(a){XP(this);return this.O.zxa(a)};_.g.$Fa=function(a){XP(this);k$c(this.context.Gm,a,z5c(this.context.Jg));return this.O.wxa(a)};
_.g.hqa=function(a){XP(this);return new Tnd(this.V.promise,a)};_.g.hwa=function(a){var b=this;XP(this);if(!this.W||this.W.isDisposed())this.W=new Jnd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return iO(d[0],e,efd)})});return this.W};_.g.JGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.z8=function(a){XP(this);return this.send("3.22",[a],function(b,c){return iO(b[0],c,ffd)})};
_.g.AV=function(a){XP(this);return this.send("3.25",[a],function(b,c){return iO(b[0],c,afd)})};_.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(iO(c[0],d,hfd)):b.reject(new _.lc(void 0,iO(c[1],d,_.kc)))}).Hg(function(c){return void b.reject(c)});return b.promise};_.g.Jwa=function(a){XP(this);return this.O.nxa(a)};_.g.U7=function(a){XP(this);return this.send("3.42",[a],function(b,c){return iO(b[0],c,i7c)}).then()};
_.g.fP=function(a){XP(this);var b=new _.yn;this.send("3.39",[a],function(c,d){return c.map(function(e){return iO(e,d,Z$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new Znd(b.promise))};_.g.uGa=function(a){var b=this;XP(this);return new wnd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new C9c(iO(d[0],e,yP),d[1])}).then()})};
_.g.noa=function(a){XP(this);return this.send("3.38",[a],function(b,c){return iO(b[0],c,red)}).then()};_.g.qLa=function(a){XP(this);return this.O.Exa(a)};_.g.cra=function(a){XP(this);return this.O.Dxa(a)};_.g.FJa=function(a){var b=this;XP(this);return new xnd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return iO(c[0],d,_.XN)}).then()})};_.g.GJa=function(a){XP(this);return this.O.xxa(a)};_.g.Q_=function(a){XP(this);this.send("3.43",[a])};
_.g.x0=function(a){XP(this);return this.send("3.44",[a],function(b,c){return iO(b[0],c,W6c)}).then()};_.g.Ro=function(a){XP(this);if(1!==_.iN(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.T1a=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.T1a.bind(a),6E4):(a.Ja=!0,XP(a))})}};var XP=function(a){a.Ja&&a.dispatchEvent(new Jfd)};
var c3c=function(a){FP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Th();this.H=a.Qm()};_.L(c3c,FP);c3c.prototype.qSa=function(){this.Ha=new Dmd(this.context);this.Ma(this.Ha);this.Ja=new Hmd(this.context);this.Ma(this.Ja);this.Oa=new Omd(this.context);this.Ma(this.Oa)};
c3c.prototype.$a=function(){var a=this,b=["hVFf7"];_.jN(this.context.Oc)&&b.push("BNEDtc");cP(this.O,b,function(){return void a.iXa()});cP(this.O,["T8oKm","ZA9qG"],function(){return void hod(a)});cP(this.O,["T8oKm","mrK8ic"],function(){return void hod(a)});this.Mc.listen(this.Ha,"WPi0i",this.Vsa.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.Vsa.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.Vsa.bind(this,4));cP(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var hod=function(a){JP(a.context).addCallback(function(b){b.start()})};
_.g=c3c.prototype;_.g.Vsa=function(a){_.ma(X6c,a)&&this.dispatchEvent(new jfd(a))};_.g.YY=function(a){return this.V.zxa(a.clone())};_.g.$Fa=function(a){k$c(this.context.Gm,a,z5c(this.context.Jg));return this.V.wxa(a.clone())};_.g.Sda=function(a){return this.V.Axa(a.clone())};_.g.hqa=function(a){return new end(a,this.context.Qm())};
_.g.tva=function(a,b){var c=this;if(this.oa&&_.ak(this.oa.wd(),a))return this.oa;this.oa=new Dnd(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 _.PVc(a,b,c);return _.$h(this.H.then(function(e){return e.Te(d)}).Gg(function(e){return _.dM(e)}))};_.g.hwa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new Jnd(a,this.context,function(c){return iod(b,c)});return this.ha};var iod=function(a,b){return _.$h(a.H.then(function(c){return c.Te(b)}).Gg(function(c){return _.dM(c)}))};
_.g=c3c.prototype;_.g.JGa=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.cGa=function(a,b){var c=this;if(this.ka&&_.ak(this.ka.wd(),a))return Rnd(this.ka),this.ka;this.ka=new Ond(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 _.JL(b.context.Oc)?jbd(b.context.uf.wq,_.Uj(c.qd(),_.Fk,2),a.wd().getId()).then(function(){return c}):c},_.dM)};_.g.kaa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.JL(b.context.Oc)?jbd(b.context.uf.wq,[_.C(c,_.Fk,2)],a.Cc()).then(function(){return c}):c},_.dM))};
_.g.A8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};_.g.Jwa=function(a){return this.V.nxa(a.clone())};_.g.U7=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.dM)};_.g.fP=function(a){return this.H.then(function(b){return b.Te(a)}).then(function(b){var c=new _.yn;tbd(a,b).then(function(d){return c.resolve(d)});return new Znd(c.promise)},function(b){return void _.dM(b)})};_.g.uGa=function(a){var b=this;return new wnd(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).Gg(function(d){return _.dM(d)})})};
_.g.noa=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.dM)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};_.g.XN=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.dM)};_.g.oz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.fM?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.pxa=function(){return new Umd(this.context.Oc,this.context.LA,this.context.$Q().Lfa,this.context.Qm(),this.context.fQ,this.context.Sf(),this.context.Sk())};_.g.Hq=function(a,b){var c=this,d=_.Mg();this.W.create(d,a);3===a.getType()?a=FP.prototype.Hq.call(this,a).addCallback(function(e){return new _.AN(e,1,!1)}):(dP(this.O,"Qubz4b"),a=this.Ja.enqueue(new Mmd(a,b)));return a.addCallback(function(e){O$c(c.W,d,e);return e.response}).Hg(function(){XO(c.W,d)})};
_.g.tr=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};_.g.maa=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};_.g.y8=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};_.g.iT=function(a){return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};
_.g.tN=function(a,b){var c=this;dP(this.O,"iuEtc");var d=_.Mg();this.W.create(d,a);return this.Ha.enqueue(new Fmd(a,b)).addCallback(function(e){O$c(c.W,d,e);return e.response}).Hg(function(){XO(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.",_.bM(3)));0===_.Md(a,3).length&&E2c(a,d);var e=_.Mg();this.W.create(e,a);dP(this.O,"OZvrNc");return this.Oa.enqueue(new Rmd(a,b)).addCallback(function(f){O$c(c.W,e,f);return f.response}).Hg(function(){XO(c.W,e)})};_.g.XR=function(a){Ynd(_.Md(this.context.Oc.$f(),30),a);return _.$h(this.H.then(function(b){return b.Te(a)}).then(null,_.dM))};
_.g.hu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.JL(b.context.Oc)?ibd(b.context.uf.wq,c):c},_.dM))};_.g.qLa=function(a){return this.V.Exa(a.clone())};_.g.cra=function(a){return this.V.Dxa(a.clone())};_.g.FJa=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 _.dM(d)})})};_.g.GJa=function(a){return this.V.xxa(a.clone())};
_.g.Q_=function(a){xhd(this.context.uf,[a])};_.g.x0=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.dM)};_.g.Ro=function(a){if(1!==_.iN(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.Ro(a);hid(this.context.uf);return Promise.resolve()};_.g.bCa=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.Ss.kL()):_.Ph(!a)})};_.g.pY=function(a){Vld(this.context).pY(a);this.Oy(!!a)};_.g.iF=function(){JP(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];hid(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.Ss.kL()}).then()};_.g.Gu=function(){JP(this.context).addCallback(function(a){a&&a.dispose()});return FP.prototype.Gu.call(this)};_.g.Fba=function(){return this.kb.promise};
var jod=function(){var a='<div class="'+_.F("la-r")+'">';a=a+'Er is iets misgegaan. Laad opnieuw.</div><button class="'+(_.F("la-Y-A")+" "+_.F("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Opnieuw laden</button>")};
_.vn({id:_.am,callback:function(a){var b=_.m1c(a),c=f3c(a),d=_.C(a.get(_.Uc),_.Sb,10);_.pXc(d,b);_.Kj(d,28,c);b=d3c(a,d);a.registerService(_.bm,b.K9());_.Ke(b,"VbxEwf",function(){var e={};_.uc(_.Lt.getService(a),new _.jq(new _.iq(jod,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

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


_.w();

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